browserstack-node-sdk 1.34.7 → 1.34.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a23_0x3c7600=a23_0x5539;(function(_0x3d80cd,_0x1c0e59){const _0x4c1ca1=a23_0x5539,_0x3076e3=_0x3d80cd();while(!![]){try{const _0x423aaa=parseInt(_0x4c1ca1(0x171))/0x1*(parseInt(_0x4c1ca1(0x17f))/0x2)+-parseInt(_0x4c1ca1(0x173))/0x3*(parseInt(_0x4c1ca1(0x176))/0x4)+-parseInt(_0x4c1ca1(0x165))/0x5*(-parseInt(_0x4c1ca1(0x16a))/0x6)+-parseInt(_0x4c1ca1(0x159))/0x7*(-parseInt(_0x4c1ca1(0x177))/0x8)+parseInt(_0x4c1ca1(0x183))/0x9+parseInt(_0x4c1ca1(0x168))/0xa+-parseInt(_0x4c1ca1(0x187))/0xb;if(_0x423aaa===_0x1c0e59)break;else _0x3076e3['push'](_0x3076e3['shift']());}catch(_0x41a75f){_0x3076e3['push'](_0x3076e3['shift']());}}}(a23_0x43bc,0x3ec9b));const fs=require('fs'),path=require(a23_0x3c7600(0x174)),{v4:uuidv4}=require(a23_0x3c7600(0x16e)),helper=require(a23_0x3c7600(0x15e)),testHubConstants=require(a23_0x3c7600(0x185));class TestDetails{static [a23_0x3c7600(0x182)]={};static [a23_0x3c7600(0x161)]=path['join'](helper['homedir'](),a23_0x3c7600(0x175),'jest-o11y-'+process[a23_0x3c7600(0x164)][testHubConstants['ENV_VAR'][a23_0x3c7600(0x17a)]]);static['setup'](){const _0x6645d2=a23_0x3c7600,_0x336bc4={};_0x336bc4[_0x6645d2(0x172)]=_0x6645d2(0x175);const _0x58be34=_0x336bc4;this[_0x6645d2(0x161)]=path[_0x6645d2(0x16f)](helper[_0x6645d2(0x15d)](),_0x58be34[_0x6645d2(0x172)],'jest-o11y-'+process[_0x6645d2(0x164)][testHubConstants[_0x6645d2(0x160)][_0x6645d2(0x17a)]]),this[_0x6645d2(0x15a)]();const _0x15055b={};_0x15055b[_0x6645d2(0x184)]=!![],fs[_0x6645d2(0x179)](this[_0x6645d2(0x161)],_0x15055b);}static[a23_0x3c7600(0x162)](_0x275b4a){const _0x333455=a23_0x3c7600,_0xac8c04={};_0xac8c04['Hksoy']=function(_0x243343,_0x4861c7){return _0x243343+_0x4861c7;},_0xac8c04['VVrzr']=_0x333455(0x166);const _0x2e83d7=_0xac8c04;return path[_0x333455(0x16f)](this[_0x333455(0x161)],_0x2e83d7[_0x333455(0x169)](_0x275b4a,_0x2e83d7['VVrzr']));}static['getTestRunIdFromTestInfo'](_0x5ec076){const _0x291d3a=a23_0x3c7600,_0x4f79e1={};_0x4f79e1[_0x291d3a(0x16b)]=function(_0x556df2,_0x220b5e){return _0x556df2+_0x220b5e;},_0x4f79e1[_0x291d3a(0x180)]=function(_0x4f4dbe,_0x58bf91){return _0x4f4dbe+_0x58bf91;};const _0x372bfc=_0x4f79e1;return _0x372bfc[_0x291d3a(0x16b)](_0x372bfc['lDuMI'](_0x372bfc[_0x291d3a(0x16b)](_0x372bfc[_0x291d3a(0x180)](_0x5ec076[_0x291d3a(0x17c)]['_projectId'],'-'),_0x5ec076[_0x291d3a(0x17c)]['id']),'-'),_0x5ec076[_0x291d3a(0x189)]);}static[a23_0x3c7600(0x17b)](_0x5b3c72){const _0x2d2d8c=a23_0x3c7600,_0x365502=this[_0x2d2d8c(0x162)](_0x5b3c72);if(fs[_0x2d2d8c(0x186)](_0x365502)){const _0x5c609e=JSON['parse'](fs[_0x2d2d8c(0x188)](_0x365502)[_0x2d2d8c(0x167)]());return this[_0x2d2d8c(0x182)][_0x5b3c72]=_0x5c609e,this[_0x2d2d8c(0x182)][_0x5b3c72][_0x2d2d8c(0x16e)];}}static['setTestData'](_0x5ea429){const _0x27de36=a23_0x3c7600,_0x36055c={};_0x36055c['BIMps']=_0x27de36(0x17e);const _0x120186=_0x36055c,_0x20e530=path['join'](this[_0x27de36(0x161)],_0x120186['BIMps']);fs['writeFileSync'](_0x20e530,JSON[_0x27de36(0x15f)](_0x5ea429));}static['getTestData'](){const _0x3faf92=a23_0x3c7600,_0x3516bf={};_0x3516bf[_0x3faf92(0x163)]='testData.json';const _0x646cc4=_0x3516bf,_0x5d29f1=path[_0x3faf92(0x16f)](this['dirPath'],_0x646cc4[_0x3faf92(0x163)]);let _0x5df38d={};try{return fs[_0x3faf92(0x186)](_0x5d29f1)&&(_0x5df38d=JSON[_0x3faf92(0x178)](fs[_0x3faf92(0x188)](_0x5d29f1)[_0x3faf92(0x167)]())),_0x5df38d;}catch(_0x39492f){return _0x5df38d;}}static[a23_0x3c7600(0x16c)](_0x236c2f){const _0x35198c=a23_0x3c7600,_0x595610={'lMMpK':function(_0x21d5cb){return _0x21d5cb();}},_0x52c95f=this[_0x35198c(0x162)](_0x236c2f);return this[_0x35198c(0x182)][_0x236c2f]={'uuid':_0x595610[_0x35198c(0x181)](uuidv4)},fs[_0x35198c(0x15b)](_0x52c95f,JSON['stringify'](this['tests'][_0x236c2f])),this['tests'][_0x236c2f][_0x35198c(0x16e)];}static[a23_0x3c7600(0x170)](_0x1b71de){const _0x2576af=a23_0x3c7600,_0x5624de=this[_0x2576af(0x162)](_0x1b71de);fs[_0x2576af(0x186)](_0x5624de)&&fs[_0x2576af(0x15c)](_0x5624de);}static[a23_0x3c7600(0x15a)](){const _0x1a5018=a23_0x3c7600,_0x51706f={};_0x51706f[_0x1a5018(0x184)]=!![],_0x51706f[_0x1a5018(0x17d)]=!![],fs['rmSync'](this['dirPath'],_0x51706f);}}function a23_0x5539(_0x27bb1c,_0x31ff4b){const _0x43bc82=a23_0x43bc();return a23_0x5539=function(_0x5539cb,_0x20711d){_0x5539cb=_0x5539cb-0x159;let _0x360156=_0x43bc82[_0x5539cb];return _0x360156;},a23_0x5539(_0x27bb1c,_0x31ff4b);}module[a23_0x3c7600(0x16d)]=TestDetails;function a23_0x43bc(){const _0x15d3dc=['env','1325vpSyWS','.json','toString','3060830FtsRII','Hksoy','9870AwOXNy','iIwFR','setTestUUID','exports','uuid','join','removeTestUUID','32bViGUN','ByRMR','3SYcJKA','path','.browserstack','1709228GZfoME','372184xqqzhf','parse','mkdirSync','BROWSERSTACK_TESTHUB_UUID','getTestUUID','_test','force','testData.json','21678DVucLM','lDuMI','lMMpK','tests','2551671SCjisN','recursive','../../../helpers/testhub/constants','existsSync','8590285UyodbJ','readFileSync','retry','14mYUdan','shutdown','writeFileSync','unlinkSync','homedir','../../../helpers/helper','stringify','ENV_VAR','dirPath','getFilePath','HouPG'];a23_0x43bc=function(){return _0x15d3dc;};return a23_0x43bc();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a24_0x50c8(_0x118aaf,_0x4f38bb){const _0xd899f2=a24_0xd899();return a24_0x50c8=function(_0x50c807,_0x5ddc32){_0x50c807=_0x50c807-0xdd;let _0x270d32=_0xd899f2[_0x50c807];return _0x270d32;},a24_0x50c8(_0x118aaf,_0x4f38bb);}const a24_0x3b7ed1=a24_0x50c8;(function(_0x41127c,_0x2caff3){const _0x2529ad=a24_0x50c8,_0x489b06=_0x41127c();while(!![]){try{const _0x491314=-parseInt(_0x2529ad(0xe1))/0x1+-parseInt(_0x2529ad(0xe9))/0x2+parseInt(_0x2529ad(0xe7))/0x3*(parseInt(_0x2529ad(0xea))/0x4)+parseInt(_0x2529ad(0xe2))/0x5+parseInt(_0x2529ad(0xde))/0x6+-parseInt(_0x2529ad(0xdf))/0x7*(-parseInt(_0x2529ad(0xe4))/0x8)+-parseInt(_0x2529ad(0xe3))/0x9*(-parseInt(_0x2529ad(0xe6))/0xa);if(_0x491314===_0x2caff3)break;else _0x489b06['push'](_0x489b06['shift']());}catch(_0x252344){_0x489b06['push'](_0x489b06['shift']());}}}(a24_0xd899,0xa2935));const {requireModule}=require('../../helpers/helper');require(a24_0x3b7ed1(0xe8))();function a24_0xd899(){const _0x58c887=['2144312AMtKdW','selenium-webdriver','5200rLLPGZ','9CHOBgR','../../helpers/setKeepAlive','2077528wKZgLR','806516WtxOig','__webdriver','3123348YzvOQn','21Sovdnn','keys','628986BzpVLZ','1773485IHKGYI','855ZLiYWM'];a24_0xd899=function(){return _0x58c887;};return a24_0xd899();}const __wd__=requireModule(a24_0x3b7ed1(0xe5));for(const key of Object[a24_0x3b7ed1(0xe0)](global['__webdriver'])){__wd__[key]=global[a24_0x3b7ed1(0xdd)][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a25_0x57df(_0x80f971,_0x54f85d){const _0x47d4e5=a25_0x47d4();return a25_0x57df=function(_0x57dfbc,_0x5ef135){_0x57dfbc=_0x57dfbc-0x18a;let _0x2dde5b=_0x47d4e5[_0x57dfbc];return _0x2dde5b;},a25_0x57df(_0x80f971,_0x54f85d);}const a25_0x2b9c8e=a25_0x57df;(function(_0x33aee3,_0x35f0bd){const _0x33bfe8=a25_0x57df,_0x53df62=_0x33aee3();while(!![]){try{const _0x2564d6=-parseInt(_0x33bfe8(0x1a9))/0x1*(parseInt(_0x33bfe8(0x18b))/0x2)+parseInt(_0x33bfe8(0x1af))/0x3*(-parseInt(_0x33bfe8(0x1a4))/0x4)+-parseInt(_0x33bfe8(0x192))/0x5*(parseInt(_0x33bfe8(0x198))/0x6)+parseInt(_0x33bfe8(0x191))/0x7*(-parseInt(_0x33bfe8(0x1b9))/0x8)+parseInt(_0x33bfe8(0x199))/0x9+-parseInt(_0x33bfe8(0x1a5))/0xa*(-parseInt(_0x33bfe8(0x1bc))/0xb)+parseInt(_0x33bfe8(0x1bb))/0xc*(parseInt(_0x33bfe8(0x18d))/0xd);if(_0x2564d6===_0x35f0bd)break;else _0x53df62['push'](_0x53df62['shift']());}catch(_0x30ebc7){_0x53df62['push'](_0x53df62['shift']());}}}(a25_0x47d4,0x96dec));const path=require(a25_0x2b9c8e(0x1a7)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x2b9c8e(0x1b0)),constants=require(a25_0x2b9c8e(0x1a0)),{isAccessibilityAutomationSession}=require(a25_0x2b9c8e(0x197)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{commandRepository}=require(a25_0x2b9c8e(0x18f));class Launcher{constructor(_0x1afe60,_0x48592f,_0xf39ed0,_0x1c088f=[]){const _0x3e501e=a25_0x2b9c8e,_0xc97c32={'rYaHj':_0x3e501e(0x1a6),'eROeh':function(_0x3ce9e1){return _0x3ce9e1();}},_0x439b66=_0xc97c32['rYaHj'][_0x3e501e(0x1b7)]('|');let _0x3ba8a0=0x0;while(!![]){switch(_0x439b66[_0x3ba8a0++]){case'0':global[_0x3e501e(0x18e)]=this['_configuration']['platform'];continue;case'1':this[_0x3e501e(0x1a1)]=_0x48592f[_0x3e501e(0x193)]||{};continue;case'2':global[_0x3e501e(0x1b6)]=0x0;continue;case'3':this[_0x3e501e(0x19a)]=_0x1afe60;continue;case'4':global[_0x3e501e(0x19e)]=0x0;continue;case'5':global[_0x3e501e(0x1b8)]=0x0;continue;case'6':global[_0x3e501e(0x1a8)]=0x0;continue;case'7':global[_0x3e501e(0x1ab)]=0x0;continue;case'8':global[_0x3e501e(0x1b3)]=this[_0x3e501e(0x1a1)][_0x3e501e(0x18a)]||{};continue;case'9':this[_0x3e501e(0x1ba)]=_0xc97c32[_0x3e501e(0x196)](isTestObservabilitySession);continue;case'10':global[_0x3e501e(0x1ae)]=0x0;continue;case'11':this[_0x3e501e(0x1a3)]=_0x48592f[_0x3e501e(0x1b4)];continue;case'12':global[_0x3e501e(0x1ac)]=0x0;continue;case'13':global[_0x3e501e(0x1aa)]={};continue;case'14':this[_0x3e501e(0x195)]=this[_0x3e501e(0x1a1)][_0x3e501e(0x190)];continue;case'15':global[_0x3e501e(0x19f)]=0x0;continue;case'16':this[_0x3e501e(0x1a2)]=_0x48592f['mochaOpts'];continue;case'17':this[_0x3e501e(0x1a1)][_0x3e501e(0x1b2)]=_0x1afe60;continue;case'18':this[_0x3e501e(0x19d)]=_0xf39ed0;continue;case'19':global[_0x3e501e(0x194)]=0x0;continue;case'20':this[_0x3e501e(0x1ad)]=_0x1c088f;continue;case'21':global[_0x3e501e(0x19c)]=0x0;continue;case'22':commandRepository[_0x3e501e(0x1b5)](_0x1afe60);continue;case'23':commandRepository['setConfig'](_0xf39ed0);continue;case'24':this[_0x3e501e(0x19b)]=_0xc97c32[_0x3e501e(0x196)](isAccessibilityAutomationSession);continue;}break;}}[a25_0x2b9c8e(0x18c)](_0xf50eb,_0x28ff6a,_0x2bb9a9){const _0x48df8c=a25_0x2b9c8e,_0x202f07=_0xf50eb[_0x48df8c(0x1b1)];_0xf50eb.resolvePaths=async function(){const pathResults=await _0x202f07.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2bb9a9));return pathResults;},_0x28ff6a.push('--format'),_0x28ff6a.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a25_0x47d4(){const _0x1c0250=['testSuitesFailed','_argv','totalTests','875370GZyrUC','../../helpers/helper','resolvePaths','framework','__platformCaps','formatter','setFramework','testsFailed','split','testSuites','24uRdYJW','_testObservability','336MdkkKp','2332APuAlz','platformCaps','14958ixWuIK','setupCucumber','197782YOEqFP','__platform__','../../helpers/ai-sdk/autoHealHelper','capability','2073323afcbcD','5RRLLeS','configuration','testsUndefined','_capability','eROeh','../../helpers/accessibility-automation/helper','1649514kVmSLR','4334733QgIuDI','_framework','_accessibilityAutomation','testsUnknown','_bsConfig','testsPassed','testsAmbiguous','../utils/constants','_configuration','_mochaOpts','_formatter','4QeAGMZ','56040tHaqQm','3|1|17|16|11|14|0|20|18|9|24|8|5|10|4|2|6|7|12|19|21|15|13|23|22','path','testsPending','3DfNxKJ','testsErrorMessage','testsSkipped'];a25_0x47d4=function(){return _0x1c0250;};return a25_0x47d4();}
|
|
1
|
+
function a25_0x17bd(){const _0x550a62=['totalTests','testSuitesFailed','5725752SQfTnq','_testObservability','__platformCaps','3260UvFuyx','testsSkipped','__platform__','platformCaps','mochaOpts','testsUnknown','4817939lpBiYA','_bsConfig','_capability','13697112ajDTdD','../utils/constants','../../helpers/ai-sdk/autoHealHelper','_configuration','1684347mGiNbW','path','15|21|13|9|18|12|17|20|7|16|4|10|5|14|8|1|2|19|23|22|6|3|0|24|11','zyOka','../../helpers/accessibility-automation/helper','sVtXa','testsFailed','100935PswhpP','../../helpers/test-observability/requestQueueHandler','testsErrorMessage','_argv','4SMDzvz','testSuites','_accessibilityAutomation','../../helpers/helper','resolvePaths','setFramework','platform','6QwxbKY','setupCucumber','_mochaOpts','423419zcmjaK','formatter','split','5325745VlbnIa','testsUndefined','framework'];a25_0x17bd=function(){return _0x550a62;};return a25_0x17bd();}const a25_0x1670f5=a25_0x46db;(function(_0x5f0af6,_0x794835){const _0x2bfd82=a25_0x46db,_0x220b78=_0x5f0af6();while(!![]){try{const _0x4657bf=parseInt(_0x2bfd82(0x79))/0x1*(-parseInt(_0x2bfd82(0x6f))/0x2)+parseInt(_0x2bfd82(0x91))/0x3+parseInt(_0x2bfd82(0x81))/0x4+parseInt(_0x2bfd82(0x7c))/0x5+parseInt(_0x2bfd82(0x76))/0x6*(parseInt(_0x2bfd82(0x8a))/0x7)+parseInt(_0x2bfd82(0x8d))/0x8+-parseInt(_0x2bfd82(0x6b))/0x9*(parseInt(_0x2bfd82(0x84))/0xa);if(_0x4657bf===_0x794835)break;else _0x220b78['push'](_0x220b78['shift']());}catch(_0x21c2c4){_0x220b78['push'](_0x220b78['shift']());}}}(a25_0x17bd,0xe9484));const path=require(a25_0x1670f5(0x92)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x1670f5(0x72)),constants=require(a25_0x1670f5(0x8e)),{isAccessibilityAutomationSession}=require(a25_0x1670f5(0x68)),RequestQueueHandler=require(a25_0x1670f5(0x6c)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require(a25_0x1670f5(0x72)),{commandRepository}=require(a25_0x1670f5(0x8f));function a25_0x46db(_0x3b2244,_0x54414c){const _0x17bdd8=a25_0x17bd();return a25_0x46db=function(_0x46dbe7,_0x4fe798){_0x46dbe7=_0x46dbe7-0x67;let _0x47a0a9=_0x17bdd8[_0x46dbe7];return _0x47a0a9;},a25_0x46db(_0x3b2244,_0x54414c);}class Launcher{constructor(_0x1415c3,_0x8989cc,_0x366735,_0x2a5d75=[]){const _0x528ca1=a25_0x1670f5,_0x461c83={'GMkrX':_0x528ca1(0x93),'sVtXa':function(_0x738572){return _0x738572();},'zyOka':function(_0xf57af7){return _0xf57af7();}},_0x460c11=_0x461c83['GMkrX'][_0x528ca1(0x7b)]('|');let _0x272baa=0x0;while(!![]){switch(_0x460c11[_0x272baa++]){case'0':global[_0x528ca1(0x6d)]={};continue;case'1':global[_0x528ca1(0x6a)]=0x0;continue;case'2':global['testsPending']=0x0;continue;case'3':global['testsAmbiguous']=0x0;continue;case'4':this[_0x528ca1(0x71)]=_0x461c83[_0x528ca1(0x69)](isAccessibilityAutomationSession);continue;case'5':global[_0x528ca1(0x70)]=0x0;continue;case'6':global[_0x528ca1(0x89)]=0x0;continue;case'7':this[_0x528ca1(0x8b)]=_0x366735;continue;case'8':global['testsPassed']=0x0;continue;case'9':this[_0x528ca1(0x78)]=_0x8989cc[_0x528ca1(0x88)];continue;case'10':global[_0x528ca1(0x83)]=this[_0x528ca1(0x90)][_0x528ca1(0x87)]||{};continue;case'11':commandRepository[_0x528ca1(0x74)](_0x1415c3);continue;case'12':this[_0x528ca1(0x8c)]=this['_configuration']['capability'];continue;case'13':this[_0x528ca1(0x90)][_0x528ca1(0x7e)]=_0x1415c3;continue;case'14':global[_0x528ca1(0x7f)]=0x0;continue;case'15':this['_framework']=_0x1415c3;continue;case'16':this[_0x528ca1(0x82)]=_0x461c83[_0x528ca1(0x67)](isTestObservabilitySession);continue;case'17':global[_0x528ca1(0x86)]=this[_0x528ca1(0x90)][_0x528ca1(0x75)];continue;case'18':this['_formatter']=_0x8989cc[_0x528ca1(0x7a)];continue;case'19':global[_0x528ca1(0x85)]=0x0;continue;case'20':this[_0x528ca1(0x6e)]=_0x2a5d75;continue;case'21':this['_configuration']=_0x8989cc['configuration']||{};continue;case'22':global[_0x528ca1(0x7d)]=0x0;continue;case'23':global[_0x528ca1(0x80)]=0x0;continue;case'24':commandRepository['setConfig'](_0x366735);continue;}break;}}[a25_0x1670f5(0x77)](_0x288d0f,_0x38d566,_0x482848){const _0x1d89a1=a25_0x1670f5,_0x26a751=_0x288d0f[_0x1d89a1(0x73)];_0x288d0f.resolvePaths=async function(){const pathResults=await _0x26a751.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x482848));return pathResults;},_0x38d566.push('--format'),_0x38d566.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(async output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};await RequestQueueHandler.getInstance().shutdown();resolve(_results);}).catch(async er=>{await RequestQueueHandler.getInstance().shutdown();reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a26_0xa85b85=a26_0x1aef;(function(_0x3f973c,_0x45df4e){const _0x4753c0=a26_0x1aef,_0x3765df=_0x3f973c();while(!![]){try{const _0x54017e=-parseInt(_0x4753c0(0x1fa))/0x1*(parseInt(_0x4753c0(0x1ce))/0x2)+parseInt(_0x4753c0(0x1dc))/0x3*(-parseInt(_0x4753c0(0x1d7))/0x4)+parseInt(_0x4753c0(0x202))/0x5*(parseInt(_0x4753c0(0x1ee))/0x6)+-parseInt(_0x4753c0(0x1fe))/0x7+parseInt(_0x4753c0(0x1e4))/0x8+-parseInt(_0x4753c0(0x214))/0x9+-parseInt(_0x4753c0(0x1c9))/0xa*(-parseInt(_0x4753c0(0x1fd))/0xb);if(_0x54017e===_0x45df4e)break;else _0x3765df['push'](_0x3765df['shift']());}catch(_0x13a75b){_0x3765df['push'](_0x3765df['shift']());}}}(a26_0x1000,0x73db3));const path=require(a26_0xa85b85(0x201)),os=require('os'),util=require(a26_0xa85b85(0x1e8)),bsSetupHelper=require(a26_0xa85b85(0x1da)),globals=require('../../../helpers/globals'),logger=require(a26_0xa85b85(0x1ec))[a26_0xa85b85(0x205)];function a26_0x1aef(_0xd8f656,_0x2f0358){const _0x1000b6=a26_0x1000();return a26_0x1aef=function(_0x1aefd8,_0x11fa74){_0x1aefd8=_0x1aefd8-0x1c8;let _0x51483a=_0x1000b6[_0x1aefd8];return _0x51483a;},a26_0x1aef(_0xd8f656,_0x2f0358);}exports[a26_0xa85b85(0x1e0)]=_0x1a02f1=>{const _0x5bf8f2=a26_0xa85b85,_0x1eac38={};_0x1eac38['cfOQX']=_0x5bf8f2(0x1e9),_0x1eac38[_0x5bf8f2(0x1d5)]=_0x5bf8f2(0x1dd),_0x1eac38['gtWkX']=_0x5bf8f2(0x1e1),_0x1eac38[_0x5bf8f2(0x216)]='browserstack.accessibilityOptions';const _0x1cdc09=_0x1eac38;try{const _0x51f86c=_0x1a02f1['capability']||{};if(_0x51f86c[_0x1cdc09['cfOQX']]&&_0x51f86c[_0x1cdc09['cfOQX']]['accessibility']||_0x1a02f1['capability'][_0x1cdc09['RYbkq']]){globals[_0x5bf8f2(0x210)](_0x1cdc09[_0x5bf8f2(0x1cc)],!![]);if(_0x51f86c[_0x1cdc09[_0x5bf8f2(0x1d6)]]){if(_0x51f86c[_0x1cdc09[_0x5bf8f2(0x1d6)]][_0x5bf8f2(0x1d0)])_0x51f86c[_0x1cdc09[_0x5bf8f2(0x1d6)]]['accessibilityOptions'][_0x5bf8f2(0x1c8)]=process[_0x5bf8f2(0x1f4)]['BS_A11Y_JWT'];else{const _0x5621c1={};_0x5621c1['authToken']=process[_0x5bf8f2(0x1f4)]['BS_A11Y_JWT'],_0x51f86c[_0x1cdc09[_0x5bf8f2(0x1d6)]]['accessibilityOptions']=_0x5621c1;}_0x51f86c[_0x1cdc09['cfOQX']][_0x5bf8f2(0x1d0)][_0x5bf8f2(0x1f6)]=JSON[_0x5bf8f2(0x1cd)](process[_0x5bf8f2(0x1f4)][_0x5bf8f2(0x219)])['scannerVersion'];}else{if(_0x1a02f1[_0x5bf8f2(0x20a)][_0x1cdc09[_0x5bf8f2(0x1d5)]]){if(_0x51f86c[_0x1cdc09[_0x5bf8f2(0x216)]])_0x51f86c[_0x1cdc09[_0x5bf8f2(0x216)]][_0x5bf8f2(0x1c8)]=process[_0x5bf8f2(0x1f4)][_0x5bf8f2(0x213)];else{const _0x278959={};_0x278959[_0x5bf8f2(0x1c8)]=process[_0x5bf8f2(0x1f4)][_0x5bf8f2(0x213)],_0x51f86c[_0x1cdc09[_0x5bf8f2(0x216)]]=_0x278959;}_0x51f86c[_0x1cdc09[_0x5bf8f2(0x216)]][_0x5bf8f2(0x1f6)]=JSON[_0x5bf8f2(0x1cd)](process[_0x5bf8f2(0x1f4)][_0x5bf8f2(0x219)])['scannerVersion'];}}}}catch(_0x2a5c8c){logger[_0x5bf8f2(0x1f9)](_0x5bf8f2(0x1d2)+_0x2a5c8c);}},exports[a26_0xa85b85(0x212)]=(_0x3829e7,_0x3ce2ce)=>{const _0x3a0f79=a26_0xa85b85,_0x13f350={};_0x13f350[_0x3a0f79(0x1ca)]=_0x3a0f79(0x1e9),_0x13f350[_0x3a0f79(0x1e5)]=function(_0x1d15f7,_0xc5188f){return _0x1d15f7!==_0xc5188f;},_0x13f350['NrwmB']=_0x3a0f79(0x1fc),_0x13f350['PaEKn']='chrome',_0x13f350[_0x3a0f79(0x1ff)]=_0x3a0f79(0x1db),_0x13f350[_0x3a0f79(0x1eb)]=function(_0x40d934,_0x471885){return _0x40d934===_0x471885;},_0x13f350[_0x3a0f79(0x1df)]='latest',_0x13f350['yBTpp']=function(_0xb45b26,_0x38ff5b){return _0xb45b26>_0x38ff5b;},_0x13f350[_0x3a0f79(0x1f0)]=_0x3a0f79(0x1e7),_0x13f350[_0x3a0f79(0x1f3)]=_0x3a0f79(0x1e3),_0x13f350[_0x3a0f79(0x206)]=_0x3a0f79(0x211),_0x13f350[_0x3a0f79(0x20c)]=_0x3a0f79(0x203),_0x13f350[_0x3a0f79(0x1e6)]=_0x3a0f79(0x1cf),_0x13f350[_0x3a0f79(0x1d8)]='--headless',_0x13f350[_0x3a0f79(0x1ed)]=_0x3a0f79(0x209);const _0x5c0cc4=_0x13f350;try{const _0x5a6881=_0x3ce2ce[_0x3a0f79(0x20a)]||{},_0x2f5c85=(_0x5a6881[_0x5c0cc4[_0x3a0f79(0x1ca)]]?_0x5a6881[_0x5c0cc4[_0x3a0f79(0x1ca)]][_0x3a0f79(0x217)]:_0x5a6881[_0x3a0f79(0x1de)])||'';if(_0x5c0cc4[_0x3a0f79(0x1e5)](_0x2f5c85,''))return logger['warn'](_0x5c0cc4[_0x3a0f79(0x1d3)]),![];const _0x4d9638=_0x5a6881[_0x3a0f79(0x207)]||_0x3829e7[_0x3a0f79(0x1f1)]['getBrowserName']();if(_0x5c0cc4[_0x3a0f79(0x1e5)](_0x4d9638[_0x3a0f79(0x218)](),_0x5c0cc4[_0x3a0f79(0x1f2)]))return logger[_0x3a0f79(0x1ea)](_0x5c0cc4[_0x3a0f79(0x1ff)]),![];const _0x4890b3=_0x5a6881[_0x3a0f79(0x20f)]||_0x5a6881[_0x3a0f79(0x20d)]||_0x3829e7[_0x3a0f79(0x1f1)]['getBrowserVersion']();if(!bsSetupHelper[_0x3a0f79(0x1d9)](_0x4890b3)&&!(_0x5c0cc4[_0x3a0f79(0x1eb)](_0x4890b3,_0x5c0cc4[_0x3a0f79(0x1df)])||_0x5c0cc4[_0x3a0f79(0x215)](_0x4890b3,0x5e)))return logger[_0x3a0f79(0x1ea)](_0x5c0cc4['LYDBn']),![];let _0x322039;try{_0x322039=bsSetupHelper[_0x3a0f79(0x1e2)](_0x5c0cc4[_0x3a0f79(0x1f3)]);}catch(_0x5cb6bd){return![];}const _0x4bdfcc=new _0x322039[(_0x3a0f79(0x208))](_0x3829e7[_0x3a0f79(0x1f5)]),_0xe41b7e=bsSetupHelper[_0x3a0f79(0x20e)](_0x4bdfcc,[_0x5c0cc4['yDeRm'],_0x5c0cc4['IuBDF']])||bsSetupHelper[_0x3a0f79(0x20e)](_0x3829e7[_0x3a0f79(0x1f1)][_0x3a0f79(0x1cb)](_0x5c0cc4['zXQvP']),[_0x5c0cc4[_0x3a0f79(0x1e6)],_0x5c0cc4['IuBDF']])||bsSetupHelper[_0x3a0f79(0x20e)](_0x3829e7['capabilities_'][_0x3a0f79(0x1cb)](_0x5c0cc4[_0x3a0f79(0x1e6)]),[_0x5c0cc4[_0x3a0f79(0x20c)]])||[];if(_0xe41b7e['includes'](_0x5c0cc4[_0x3a0f79(0x1d8)]))return logger[_0x3a0f79(0x1ea)](_0x5c0cc4['WIjye']),![];return!![];}catch(_0x3c027d){logger[_0x3a0f79(0x1f9)](_0x3a0f79(0x200)+util[_0x3a0f79(0x1f7)](_0x3c027d));}return![];},exports[a26_0xa85b85(0x1d4)]=async _0x2d308f=>{const _0x59b529=a26_0xa85b85,_0x51b9d6={};_0x51b9d6[_0x59b529(0x1d1)]=function(_0x552aac,_0x1ae2d0){return _0x552aac===_0x1ae2d0;},_0x51b9d6[_0x59b529(0x1f8)]=_0x59b529(0x204);const _0x2c3cd3=_0x51b9d6;let _0x39bc2b={};try{const _0x154980=await _0x2d308f[_0x59b529(0x1ef)]();_0x39bc2b={'os_name':_0x154980[_0x59b529(0x1fb)](),'os_version':bsSetupHelper[_0x59b529(0x20b)](_0x2c3cd3['AsAtk'](global['__cloud_provider___'],_0x2c3cd3['iVDlc'])),'browser_name':_0x154980[_0x59b529(0x21a)](),'browser_version':_0x154980['getBrowserVersion']()};}catch(_0x27aa4e){logger[_0x59b529(0x1f9)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x27aa4e);}return _0x39bc2b;};function a26_0x1000(){const _0x39e548=['fetchPlatformDetails','RYbkq','cfOQX','98008egfqVK','SupeO','isUndefined','../../../helpers/helper','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','27oAwGNC','browserstack.accessibility','device','HRnxv','setAccessibilityCapabilities','isAccessibilityPlatform','requireModule','selenium-webdriver/chrome.js','5213296KAFnGs','pAtEN','yctTo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','util','bstack:options','warn','WtbVX','../../../helpers/logger','WIjye','18komIdo','getCapabilities','LYDBn','capabilities_','PaEKn','ttGDW','env','chromeOptions_','scannerVersion','format','iVDlc','debug','164683VmIzED','getPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','629079EBPaAK','2849371umiDuF','GNsUs','Exception\x20in\x20setExtension\x20Error:\x20','path','752515Vuqcml','args','browserstack','winstonLogger','yDeRm','browserName','Options','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','capability','getPlatformVersion','IuBDF','browser_version','nestedKeyValue','browserVersion','setGlobal','options_','setExtension','BS_A11Y_JWT','5733144XqsQGM','yBTpp','LdwFv','deviceName','toLowerCase','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getBrowserName','authToken','140heBfUQ','zXQvP','get','gtWkX','parse','2hGWCZA','chromeOptions','accessibilityOptions','AsAtk','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','NrwmB'];a26_0x1000=function(){return _0x39e548;};return a26_0x1000();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a27_0x5dcb(_0x5684f0,_0x4e13e0){const _0x3b5a50=a27_0x3b5a();return a27_0x5dcb=function(_0x5dcbbb,_0x105f6a){_0x5dcbbb=_0x5dcbbb-0x9e;let _0x4574d0=_0x3b5a50[_0x5dcbbb];return _0x4574d0;},a27_0x5dcb(_0x5684f0,_0x4e13e0);}const a27_0x6cdd04=a27_0x5dcb;(function(_0x496149,_0x10ce54){const _0x2252fd=a27_0x5dcb,_0x4e9281=_0x496149();while(!![]){try{const _0x4d25c3=parseInt(_0x2252fd(0x10c))/0x1+parseInt(_0x2252fd(0xf7))/0x2+-parseInt(_0x2252fd(0x12f))/0x3+-parseInt(_0x2252fd(0x13c))/0x4*(parseInt(_0x2252fd(0x133))/0x5)+-parseInt(_0x2252fd(0xb7))/0x6*(parseInt(_0x2252fd(0x11c))/0x7)+-parseInt(_0x2252fd(0xe7))/0x8+parseInt(_0x2252fd(0x1b2))/0x9;if(_0x4d25c3===_0x10ce54)break;else _0x4e9281['push'](_0x4e9281['shift']());}catch(_0x18af7b){_0x4e9281['push'](_0x4e9281['shift']());}}}(a27_0x3b5a,0xd76de));const util=require(a27_0x6cdd04(0x1a2)),fs=require('fs'),path=require(a27_0x6cdd04(0x15f)),{requireModule}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x6cdd04(0x184)),color=Base[a27_0x6cdd04(0x115)],Mocha=requireModule(a27_0x6cdd04(0xc0)),Runnable=requireModule(a27_0x6cdd04(0x144)),{v4:uuidv4}=require(a27_0x6cdd04(0x191)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x6cdd04(0xd0)),testHubConstants=require(a27_0x6cdd04(0x17b)),{FRAMEWORKS}=require(a27_0x6cdd04(0x17c)),a27_0x4e07a6={};a27_0x4e07a6[a27_0x6cdd04(0x13a)]='BEFORE_ALL',a27_0x4e07a6[a27_0x6cdd04(0x120)]=a27_0x6cdd04(0x168),a27_0x4e07a6[a27_0x6cdd04(0x189)]='BEFORE_EACH',a27_0x4e07a6[a27_0x6cdd04(0x147)]=a27_0x6cdd04(0x172);const HOOK_TYPES_MAP=a27_0x4e07a6,{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_0x6cdd04(0x19f)][a27_0x6cdd04(0x152)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x6cdd04(0x152)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x6cdd04(0x149)),{consoleHolder}=require(a27_0x6cdd04(0x17c)),SessionHandler=require(a27_0x6cdd04(0x18d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x6cdd04(0x15a)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x2cf0a1,_0x2056dc){const _0x274610=a27_0x6cdd04,_0x3a18d9={'frbWU':function(_0x431cf2,_0xd1233e){return _0x431cf2===_0xd1233e;},'HJhuv':'spec','SlzTA':function(_0x3415b6,_0x1bc27e){return _0x3415b6===_0x1bc27e;},'FqXJt':function(_0x1d014f,_0x45d04b){return _0x1d014f+_0x45d04b;},'PwWio':function(_0x3f17cd,_0x36b8e5){return _0x3f17cd+_0x36b8e5;},'qKdRW':function(_0x1165d3,_0x424da2,_0x1c7be0){return _0x1165d3(_0x424da2,_0x1c7be0);},'nXktp':_0x274610(0xb3),'qpITa':_0x274610(0x13d),'nqBGw':_0x274610(0x177),'pLotl':'%s\x20-\x20%s','Bnlwh':'RUNNING','sQHRb':function(_0x2cc9f7,_0x48477e){return _0x2cc9f7===_0x48477e;},'ZwGdc':_0x274610(0x14f),'GsTpF':function(_0x1684a9){return _0x1684a9();},'yiTQz':function(_0x19b90c){return _0x19b90c();},'pxriD':_0x274610(0x1b7),'MsqUo':function(_0x57ed56,_0x1edf1c){return _0x57ed56===_0x1edf1c;},'vlziz':_0x274610(0x124),'UqhRT':function(_0x1f9d02,_0x1d0b44){return _0x1f9d02===_0x1d0b44;},'diXmq':'passed','cAjSK':function(_0x1575cc,_0x435ef3){return _0x1575cc===_0x435ef3;},'oPgaK':'fast','KphPz':function(_0x7935eb,_0x16ea9b){return _0x7935eb+_0x16ea9b;},'BgtwT':function(_0x537776,_0x591b5c,_0x80492a){return _0x537776(_0x591b5c,_0x80492a);},'NccnD':_0x274610(0x190),'XDAIA':function(_0x3dd726,_0x2256cb){return _0x3dd726+_0x2256cb;},'cmQPW':_0x274610(0x132),'CwmnL':_0x274610(0xac),'ZCIVm':function(_0x1a8532,_0x503569){return _0x1a8532+_0x503569;},'KEBze':function(_0x1a8027,_0x2185dd){return _0x1a8027+_0x2185dd;},'ciFqi':function(_0x45b9ca,_0x54febe,_0x40b55e){return _0x45b9ca(_0x54febe,_0x40b55e);},'dcvHk':function(_0x4ad32f,_0x5b254f,_0x216ca6){return _0x4ad32f(_0x5b254f,_0x216ca6);},'sytHI':'\x20(%dms)','IuWQD':'fail','OPtjd':_0x274610(0x131),'EEDWS':function(_0xab5028,_0x5967a6){return _0xab5028+_0x5967a6;},'IwLaR':function(_0x521582,_0x5b5e2a){return _0x521582+_0x5b5e2a;},'eXGJn':_0x274610(0x14e),'SoYqp':_0x274610(0x126),'mZotX':function(_0x3a3e92,_0x2efa5d){return _0x3a3e92===_0x2efa5d;},'uGzSy':'dot','GXrMi':function(_0x1f545f,_0x259af6){return _0x1f545f===_0x259af6;},'DKtBE':_0x274610(0x108),'fQjEJ':function(_0x22b31e,_0x522d97){return _0x22b31e===_0x522d97;},'YsuUf':_0x274610(0xd6),'oDRax':function(_0x34f5ae,_0x122396){return _0x34f5ae===_0x122396;},'rlzIK':_0x274610(0xee),'HqTqZ':_0x274610(0xa4),'NBysR':function(_0x38f49b,_0x538c0f){return _0x38f49b===_0x538c0f;},'ydkzG':function(_0x417670,_0x18f96a){return _0x417670(_0x18f96a);},'HRgjg':function(_0xe3e084){return _0xe3e084();},'cSvNp':function(_0x4b45f3,_0x1143bc){return _0x4b45f3===_0x1143bc;},'JxjgL':function(_0x5c5e94){return _0x5c5e94();},'BOFJp':'xunit','EyMhr':function(_0x3b5062,_0x2d03e1){return _0x3b5062(_0x2d03e1);},'myVQx':function(_0x4d0fec,_0x161e1d){return _0x4d0fec===_0x161e1d;},'AJHsL':function(_0xde46fa,_0x4fa341){return _0xde46fa(_0x4fa341);},'FxebS':function(_0x4d8bdb,_0x22921a){return _0x4d8bdb!==_0x22921a;}};this[_0x274610(0x169)]=_0x2056dc[_0x274610(0xfd)]['type'],this[_0x274610(0x198)]=_0x3a18d9[_0x274610(0x106)](isTestObservabilitySession),Base[_0x274610(0x19b)](this,_0x2cf0a1,_0x2056dc),this[_0x274610(0x1ba)]=0x0,this[_0x274610(0xef)]=0x0,this[_0x274610(0x1aa)]=[],this[_0x274610(0x1a5)]=[],this['suiteCount']=0x0,this[_0x274610(0x165)]=![],this[_0x274610(0x18c)]=[],this['_testEnv']=_0x3a18d9[_0x274610(0xce)](getTestEnv),this[_0x274610(0xdb)]=new PathHelper({'cwd':process[_0x274610(0x18a)]()},this['_testEnv']['location_prefix']),this[_0x274610(0x12e)]=_0x2056dc[_0x274610(0xfd)]['bsConfig'],this[_0x274610(0x11d)]();_0x3a18d9[_0x274610(0x100)](this[_0x274610(0x169)],_0x3a18d9['ZwGdc'])&&(this['docHtml']='',this['__indents']=0x2);_0x2cf0a1[_0x274610(0x137)](EVENT_RUN_BEGIN,async()=>{const _0xe4ffd3=_0x274610;_0x3a18d9[_0xe4ffd3(0x1ac)](this[_0xe4ffd3(0x169)],_0x3a18d9['HJhuv'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x311a12=>{const _0x1559ad=_0x274610;if(_0x311a12[_0x1559ad(0x101)])return;if(_0x3a18d9[_0x1559ad(0x188)](this['type'],_0x3a18d9['HJhuv']))this[_0x1559ad(0x17f)](),Base['consoleLog'](_0x3a18d9[_0x1559ad(0x1ad)](_0x3a18d9[_0x1559ad(0x10d)](this[_0x1559ad(0x18e)](),_0x3a18d9[_0x1559ad(0xd1)](color,_0x3a18d9[_0x1559ad(0xe0)],_0x3a18d9[_0x1559ad(0x158)])),_0x3a18d9['qKdRW'](color,_0x3a18d9[_0x1559ad(0x150)],_0x3a18d9['pLotl'])),_0x3a18d9[_0x1559ad(0x138)],_0x311a12[_0x1559ad(0x9e)],global[_0x1559ad(0xdd)]);else _0x3a18d9[_0x1559ad(0x100)](this[_0x1559ad(0x169)],_0x3a18d9['ZwGdc'])&&(this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+_0x1559ad(0x11f)),++this[_0x1559ad(0x1b8)],this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+'<h1>'+utils[_0x1559ad(0x117)](_0x311a12[_0x1559ad(0x9e)]+_0x1559ad(0x16b)+global[_0x1559ad(0xdd)])+'</h1>'),this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+_0x1559ad(0x1a7)));})['on'](EVENT_HOOK_BEGIN,async _0x205a17=>{const _0x80e3be=_0x274610;if(_0x3a18d9[_0x80e3be(0x188)](testhubUtils[_0x80e3be(0xbb)](testHubConstants['EVENT'][_0x80e3be(0x1a8)]),!![])){if(!_0x205a17[_0x80e3be(0x192)])_0x205a17[_0x80e3be(0x192)]=_0x3a18d9[_0x80e3be(0xf9)](uuidv4);else _0x205a17[_0x80e3be(0x186)]&&(_0x205a17[_0x80e3be(0x192)]=_0x3a18d9[_0x80e3be(0xaa)](uuidv4),delete _0x205a17[_0x80e3be(0x186)]);_0x205a17[_0x80e3be(0xde)]=new Date()[_0x80e3be(0xe6)](),this[_0x80e3be(0x1b0)]=_0x205a17,await this[_0x80e3be(0x15c)](_0x205a17,undefined,![],_0x3a18d9['pxriD']);}})['on'](EVENT_HOOK_END,async _0x4f60dd=>{const _0xbc2891=_0x274610;_0x3a18d9['MsqUo'](testhubUtils[_0xbc2891(0xbb)](testHubConstants[_0xbc2891(0x116)]['HookFinished']),!![])&&(!_0x4f60dd[_0xbc2891(0x186)]&&(_0x4f60dd['markedStatus']=!![],await this[_0xbc2891(0x15c)](_0x4f60dd,undefined,![],_0x3a18d9[_0xbc2891(0xd4)])));})['on'](EVENT_SUITE_END,_0x4be6e0=>{const _0x56ae09=_0x274610;if(_0x4be6e0[_0x56ae09(0x101)])return;if(_0x3a18d9[_0x56ae09(0x100)](this[_0x56ae09(0x169)],_0x3a18d9[_0x56ae09(0x170)]))Base[_0x56ae09(0x195)](),Base['consoleLog'](_0x3a18d9[_0x56ae09(0x185)](_0x3a18d9['IwLaR'](this[_0x56ae09(0x18e)](),_0x3a18d9[_0x56ae09(0x1a6)](color,_0x3a18d9['eXGJn'],_0x3a18d9[_0x56ae09(0x158)])),_0x3a18d9[_0x56ae09(0x182)](color,_0x3a18d9[_0x56ae09(0x150)],_0x3a18d9[_0x56ae09(0x105)])),_0x3a18d9[_0x56ae09(0xc9)],_0x4be6e0['title'],global[_0x56ae09(0xdd)]),this[_0x56ae09(0x1aa)][_0x56ae09(0xe5)](_0x4a8d3b=>{const _0x1ab69e=_0x56ae09;if(_0x3a18d9['UqhRT'](_0x4a8d3b[_0x1ab69e(0xba)],_0x3a18d9['diXmq'])){var _0x4fa01f;_0x3a18d9['cAjSK'](_0x4a8d3b[_0x1ab69e(0xdc)],_0x3a18d9['oPgaK'])?(_0x4fa01f=_0x3a18d9[_0x1ab69e(0x1ad)](_0x3a18d9[_0x1ab69e(0x130)](this[_0x1ab69e(0x18e)](),_0x3a18d9[_0x1ab69e(0x1a6)](color,_0x3a18d9['NccnD'],_0x3a18d9[_0x1ab69e(0xf3)]('\x20\x20',Base[_0x1ab69e(0xb8)]['ok']))),_0x3a18d9[_0x1ab69e(0xd1)](color,_0x3a18d9[_0x1ab69e(0xa3)],_0x3a18d9[_0x1ab69e(0x183)])),Base[_0x1ab69e(0x195)](_0x4fa01f,_0x4a8d3b[_0x1ab69e(0x9e)])):(_0x4fa01f=_0x3a18d9['ZCIVm'](_0x3a18d9['KEBze'](_0x3a18d9[_0x1ab69e(0x1ad)](this[_0x1ab69e(0x18e)](),_0x3a18d9[_0x1ab69e(0x182)](color,_0x3a18d9[_0x1ab69e(0xfc)],_0x3a18d9[_0x1ab69e(0xf3)]('\x20\x20',Base[_0x1ab69e(0xb8)]['ok']))),_0x3a18d9[_0x1ab69e(0xd1)](color,_0x3a18d9['cmQPW'],_0x3a18d9[_0x1ab69e(0x183)])),_0x3a18d9[_0x1ab69e(0x167)](color,_0x4a8d3b[_0x1ab69e(0xdc)],_0x3a18d9[_0x1ab69e(0xfa)])),Base[_0x1ab69e(0x195)](_0x4fa01f,_0x4a8d3b['title'],_0x4a8d3b['duration']));}else Base[_0x1ab69e(0x195)](_0x3a18d9[_0x1ab69e(0x142)](this['indent'](),_0x3a18d9[_0x1ab69e(0x1a6)](color,_0x3a18d9[_0x1ab69e(0xa5)],_0x3a18d9[_0x1ab69e(0xc3)])),++this[_0x1ab69e(0xef)],_0x4a8d3b[_0x1ab69e(0x9e)]);}),this['decreaseIndent']();else _0x3a18d9[_0x56ae09(0x193)](this[_0x56ae09(0x169)],_0x3a18d9[_0x56ae09(0x12c)])&&(this[_0x56ae09(0x199)](this[_0x56ae09(0x18e)]()+_0x56ae09(0x173)),--this[_0x56ae09(0x1b8)],this['docAppend'](this[_0x56ae09(0x18e)]()+_0x56ae09(0x114)),--this['__indents']);Array[_0x56ae09(0xa7)][_0x56ae09(0xe3)][_0x56ae09(0x14c)](this[_0x56ae09(0x1a5)],this[_0x56ae09(0x1aa)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x492443=>{const _0x2e6096=_0x274610;this[_0x2e6096(0x1aa)][_0x2e6096(0xe3)]({'speed':_0x492443[_0x2e6096(0xdc)],'suite':_0x492443[_0x2e6096(0x151)][_0x2e6096(0x9e)],'title':_0x492443[_0x2e6096(0x9e)],'fullTitle':_0x492443[_0x2e6096(0xc8)](),'duration':_0x492443[_0x2e6096(0xbe)],'state':_0x492443[_0x2e6096(0xba)],'err':{},'currentRetry':_0x492443[_0x2e6096(0xf2)](),'titlePathV':_0x492443[_0x2e6096(0x111)](),'isPending':_0x492443[_0x2e6096(0xc7)]()});if(_0x3a18d9[_0x2e6096(0x159)](this['type'],_0x3a18d9['uGzSy']))_0x3a18d9[_0x2e6096(0x164)](_0x492443[_0x2e6096(0xdc)],_0x3a18d9[_0x2e6096(0xed)])?process[_0x2e6096(0x155)][_0x2e6096(0x1b6)](Base[_0x2e6096(0x115)](_0x3a18d9['eXGJn'],Base['symbols'][_0x2e6096(0x163)])):process[_0x2e6096(0x155)][_0x2e6096(0x1b6)](Base[_0x2e6096(0x115)](_0x492443[_0x2e6096(0xdc)],Base[_0x2e6096(0xb8)][_0x2e6096(0x163)]));else{if(_0x3a18d9['MsqUo'](this[_0x2e6096(0x169)],_0x3a18d9[_0x2e6096(0x12c)])){this[_0x2e6096(0x199)](this['indent']()+'\x20\x20<dt>'+utils[_0x2e6096(0x117)](_0x492443[_0x2e6096(0x9e)])+_0x2e6096(0x107)),this[_0x2e6096(0x199)](this[_0x2e6096(0x18e)]()+_0x2e6096(0x16e)+utils[_0x2e6096(0x117)](_0x492443[_0x2e6096(0xe4)])+'</dt>');var _0x79214=utils[_0x2e6096(0x117)](utils[_0x2e6096(0x162)](_0x492443[_0x2e6096(0xa0)]));this[_0x2e6096(0x199)](this[_0x2e6096(0x18e)]()+_0x2e6096(0xc6)+_0x79214+_0x2e6096(0x123));}}_0x3a18d9[_0x2e6096(0x11e)](testhubUtils[_0x2e6096(0xbb)](),!![])&&(!_0x492443['markedStatus']&&(_0x492443[_0x2e6096(0x186)]=!![],await this[_0x2e6096(0x15c)](_0x492443)));})['on'](EVENT_TEST_FAIL,async(_0x97c98b,_0xc74b66)=>{const _0x406d39=_0x274610;this[_0x406d39(0x1aa)][_0x406d39(0xe3)]({'title':_0x97c98b[_0x406d39(0x9e)],'suite':_0x97c98b[_0x406d39(0x151)][_0x406d39(0x9e)],'state':_0x97c98b[_0x406d39(0xba)],'err':{'message':util[_0x406d39(0x141)](_0xc74b66)},'fullTitle':_0x97c98b['fullTitle'](),'speed':_0x97c98b['speed'],'currentRetry':_0x97c98b['currentRetry'](),'titlePathV':_0x97c98b[_0x406d39(0x111)]()});if(_0x3a18d9[_0x406d39(0x17e)](this[_0x406d39(0x169)],_0x3a18d9[_0x406d39(0x19e)]))process[_0x406d39(0x155)][_0x406d39(0x1b6)](Base[_0x406d39(0x115)](_0x3a18d9[_0x406d39(0xa5)],Base[_0x406d39(0xb8)][_0x406d39(0x175)]));else{if(_0x3a18d9['SlzTA'](this[_0x406d39(0x169)],_0x3a18d9['ZwGdc'])){const _0x1ba0c5=_0x3a18d9['YsuUf'][_0x406d39(0x160)]('|');let _0x1943a2=0x0;while(!![]){switch(_0x1ba0c5[_0x1943a2++]){case'0':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+_0x406d39(0x1a1)+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0xa9)])+_0x406d39(0xc2));continue;case'1':var _0x26778f=utils[_0x406d39(0x117)](utils[_0x406d39(0x162)](_0x97c98b[_0x406d39(0xa0)]));continue;case'2':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0x9e)])+_0x406d39(0x107));continue;case'3':this[_0x406d39(0x199)](this['indent']()+_0x406d39(0x11a)+_0x26778f+_0x406d39(0x123));continue;case'4':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0xe4)])+_0x406d39(0x107));continue;}break;}}}if(_0x3a18d9[_0x406d39(0xcb)](testhubUtils[_0x406d39(0xbb)](testHubConstants[_0x406d39(0x116)]['HookFinished']),!![])){if(!_0x97c98b[_0x406d39(0x186)]){_0x97c98b['markedStatus']=!![];if(_0x97c98b['testAnalyticsId'])await this[_0x406d39(0x15c)](_0x97c98b,_0xc74b66);else _0x97c98b[_0x406d39(0x192)]&&await this[_0x406d39(0x15c)](_0x97c98b,_0xc74b66,![],_0x3a18d9[_0x406d39(0xd4)]);}}})['on'](EVENT_TEST_PENDING,async _0x2f18fb=>{const _0x31b7eb=_0x274610;this['results'][_0x31b7eb(0xe3)]({'title':_0x2f18fb[_0x31b7eb(0x9e)],'suite':_0x2f18fb[_0x31b7eb(0x151)]['title'],'state':_0x2f18fb[_0x31b7eb(0xba)],'err':{},'fullTitle':_0x2f18fb[_0x31b7eb(0xc8)](),'speed':_0x2f18fb['speed'],'currentRetry':_0x2f18fb[_0x31b7eb(0xf2)](),'titlePathV':_0x2f18fb[_0x31b7eb(0x111)]()}),_0x3a18d9['MsqUo'](this[_0x31b7eb(0x169)],_0x3a18d9['uGzSy'])&&process[_0x31b7eb(0x155)][_0x31b7eb(0x1b6)](Base['color'](_0x3a18d9['rlzIK'],Base[_0x31b7eb(0xb8)][_0x31b7eb(0x1ae)])),_0x3a18d9['cAjSK'](testhubUtils[_0x31b7eb(0xbb)](),!![])&&(!_0x2f18fb['testAnalyticsId']&&(_0x2f18fb[_0x31b7eb(0xcd)]=_0x3a18d9['GsTpF'](uuidv4)),!_0x2f18fb['markedStatus']&&(_0x2f18fb['markedStatus']=!![],await this[_0x31b7eb(0x15c)](_0x2f18fb,undefined,![],_0x3a18d9[_0x31b7eb(0x1b3)])));})['on'](EVENT_TEST_BEGIN,async _0x5e43d7=>{const _0x1fb0c0=_0x274610;_0x3a18d9[_0x1fb0c0(0x11b)](testhubUtils[_0x1fb0c0(0xbb)](),!![])&&await this[_0x1fb0c0(0x176)](_0x5e43d7);})['on'](EVENT_TEST_END,async _0x27a59=>{const _0x3c3b26=_0x274610;_0x3a18d9[_0x3c3b26(0x11e)](testhubUtils[_0x3c3b26(0xbb)](),!![])&&(!_0x27a59['markedStatus']&&(_0x27a59[_0x3c3b26(0x186)]=!![],await this['sendTestRunEvent'](_0x27a59)));})[_0x274610(0x137)](EVENT_RUN_END,async()=>{const _0x52b1c4=_0x274610;try{if(_0x3a18d9[_0x52b1c4(0x1bb)](testhubUtils[_0x52b1c4(0xbb)](),!![])){const _0x286f1d=_0x3a18d9[_0x52b1c4(0xb6)](getHookSkippedTests,this[_0x52b1c4(0x178)]['suite']);for(const _0x5d784f of _0x286f1d){!_0x5d784f[_0x52b1c4(0xcd)]&&(_0x5d784f[_0x52b1c4(0xcd)]=_0x3a18d9[_0x52b1c4(0x106)](uuidv4)),await this['sendTestRunEvent'](_0x5d784f,undefined,![],_0x3a18d9[_0x52b1c4(0x1b3)]);}}}catch(_0x4538ad){_0x3a18d9[_0x52b1c4(0xb6)](debug,_0x52b1c4(0x171)+_0x4538ad);}await requestQueueHandler[_0x52b1c4(0x1bc)](),_0x3a18d9[_0x52b1c4(0xfe)](this[_0x52b1c4(0x169)],_0x3a18d9[_0x52b1c4(0x12c)])&&Base[_0x52b1c4(0x195)](this[_0x52b1c4(0x118)]);});if(this[_0x274610(0x169)]&&![_0x3a18d9[_0x274610(0x12c)],_0x3a18d9['BOFJp'],_0x3a18d9[_0x274610(0x170)],_0x3a18d9[_0x274610(0x19e)]][_0x274610(0x129)](this[_0x274610(0x169)])){const _0x5a8053=this[_0x274610(0x169)][_0x274610(0x153)]();this[_0x274610(0x174)]=null;try{this[_0x274610(0x174)]=_0x3a18d9[_0x274610(0x196)](requireModule,_0x274610(0xe2)+_0x5a8053+'.js');}catch{}if(_0x3a18d9[_0x274610(0xbc)](this['Reporter'],null))try{this['Reporter']=_0x3a18d9[_0x274610(0x18f)](require,_0x5a8053);}catch(_0x1b9487){console[_0x274610(0x19d)]('Failed\x20to\x20load\x20reporter\x20'+_0x5a8053);}if(_0x3a18d9[_0x274610(0x180)](this[_0x274610(0x174)],null)){const _0x16ab26={};_0x16ab26[_0x274610(0x12d)]=_0x2056dc[_0x274610(0xfd)],this[_0x274610(0x174)]=new this[(_0x274610(0x174))](_0x2cf0a1,_0x16ab26);}}}[a27_0x6cdd04(0x18e)](){const _0x595be1=a27_0x6cdd04,_0xe04276={'CpUtG':function(_0x526d84,_0x41a4fc){return _0x526d84(_0x41a4fc);}};return _0xe04276[_0x595be1(0x112)](Array,this[_0x595be1(0x1ba)])[_0x595be1(0x16f)]('\x20\x20');}['increaseIndent'](){const _0x567682=a27_0x6cdd04;this[_0x567682(0x1ba)]++;}[a27_0x6cdd04(0x16c)](){this['_indents']--;}[a27_0x6cdd04(0x199)](_0x5183db){const _0xf4d0b=a27_0x6cdd04;this[_0xf4d0b(0x118)]+=_0x5183db;}[a27_0x6cdd04(0x1bd)](_0x25dd5e,_0x428c16){const _0x2efb53=a27_0x6cdd04,_0x4e41f3={'HVYGi':function(_0x244195,_0x240980){return _0x244195(_0x240980);}},_0x1b108f={};_0x1b108f['failureCount']=_0x25dd5e,_0x1b108f[_0x2efb53(0x1aa)]=this[_0x2efb53(0x1a5)],_0x4e41f3['HVYGi'](_0x428c16,_0x1b108f);}['registerListeners'](){const _0x133c68=a27_0x6cdd04;process[_0x133c68(0xc5)]('bs:addLog:'+process[_0x133c68(0x113)]),process['on'](_0x133c68(0x135)+process['pid'],this[_0x133c68(0xb2)][_0x133c68(0xb9)](this)),process['removeAllListeners'](_0x133c68(0x9f)+process['pid']),process['on'](_0x133c68(0x9f)+process[_0x133c68(0x113)],this['appendTestPlatform'][_0x133c68(0xb9)](this));}[a27_0x6cdd04(0x176)]=async _0x3ab2bf=>{const _0x13a81c=a27_0x6cdd04,_0x5ba020={'OGPmX':function(_0x21f8cd){return _0x21f8cd();},'lQUJa':function(_0x5712e3,_0x172511){return _0x5712e3>_0x172511;},'PUJsM':function(_0x1b56a2,_0x4f6953){return _0x1b56a2===_0x4f6953;},'vDKwd':_0x13a81c(0xcf),'yOZEN':function(_0xe5313c,_0x292c46){return _0xe5313c(_0x292c46);}};try{const _0x1cc2a3=this[_0x13a81c(0x197)];this[_0x13a81c(0x197)]=_0x3ab2bf,_0x3ab2bf[_0x13a81c(0x12a)]=null,_0x3ab2bf[_0x13a81c(0xcd)]=_0x5ba020[_0x13a81c(0xc4)](uuidv4),_0x3ab2bf[_0x13a81c(0xde)]=new Date()[_0x13a81c(0xe6)](),_0x5ba020[_0x13a81c(0xfb)](_0x3ab2bf[_0x13a81c(0xae)],0x0)&&_0x1cc2a3&&_0x5ba020[_0x13a81c(0xaf)](_0x1cc2a3[_0x13a81c(0x9e)],_0x3ab2bf[_0x13a81c(0x9e)])?(_0x3ab2bf[_0x13a81c(0x12a)]=_0x1cc2a3[_0x13a81c(0xcd)],await this[_0x13a81c(0x15c)](_0x3ab2bf,undefined,![],_0x5ba020['vDKwd']),_0x1cc2a3[_0x13a81c(0xba)]=STATE_FAILED,await this['sendTestRunEvent'](_0x1cc2a3,undefined,!![])):await this[_0x13a81c(0x15c)](_0x3ab2bf,undefined,![],_0x5ba020[_0x13a81c(0x125)]);}catch(_0x160ba5){_0x5ba020['yOZEN'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x160ba5);}};[a27_0x6cdd04(0x15c)]=async(_0x288140,_0x4ed0e6=undefined,_0x25509a=![],_0x1ffc77='TestRunFinished')=>{const _0x12d5ac=a27_0x6cdd04,_0x2109d7={'mutcO':function(_0xd6cdbe,_0x39f4c6){return _0xd6cdbe===_0x39f4c6;},'yqCFt':function(_0x3587b6,_0x2e23e6){return _0x3587b6!==_0x2e23e6;},'itdqz':_0x12d5ac(0x14a),'zHlMa':_0x12d5ac(0xa9),'xMhep':function(_0x2e2717,_0x3f81e5){return _0x2e2717!==_0x3f81e5;},'KKYue':function(_0x302ef6,_0x385056){return _0x302ef6!==_0x385056;},'SuYtN':function(_0x52496e,_0x5d3695){return _0x52496e!==_0x5d3695;},'BFVuM':'File\x20path\x20could\x20not\x20be\x20found','RLVHu':_0x12d5ac(0x10a),'EluMs':_0x12d5ac(0xc1),'BGcIR':_0x12d5ac(0xa4),'jnMRi':_0x12d5ac(0x18b),'izEIo':function(_0x18157e,_0x42093c){return _0x18157e-_0x42093c;},'sPHAa':'AssertionError','zrzye':_0x12d5ac(0xf0),'ZnLrw':_0x12d5ac(0xde),'fRaiJ':_0x12d5ac(0x134),'oQUMe':function(_0x90d63,_0x118e6a){return _0x90d63(_0x118e6a);},'eOGfM':function(_0x1e11a8,_0x15026e){return _0x1e11a8===_0x15026e;},'UJbAF':_0x12d5ac(0x124),'uzIqp':'failed','SUBtX':_0x12d5ac(0x109),'qOTvn':_0x12d5ac(0x189),'zLZQN':function(_0x57c227,_0x22d709){return _0x57c227===_0x22d709;},'vZbAN':_0x12d5ac(0xa1),'emAfU':'failure_backtrace','gMLaz':_0x12d5ac(0xe8),'bGdet':_0x12d5ac(0xf1),'QPKSG':_0x12d5ac(0x13e),'ieBIh':_0x12d5ac(0xbf),'VHyyi':function(_0x40506e,_0x1774d4){return _0x40506e===_0x1774d4;},'ZMiYX':_0x12d5ac(0x17a),'kZJog':_0x12d5ac(0x15e),'zLVHD':_0x12d5ac(0x194),'RnZpe':function(_0x9fb247,_0x2ae1fc){return _0x9fb247(_0x2ae1fc);}};try{if(_0x288140['body']&&_0x288140[_0x12d5ac(0xa0)][_0x12d5ac(0x146)](/browserstack internal helper hook/))return;let _0x304476=[];if(_0x2109d7['mutcO'](_0x288140[_0x12d5ac(0xba)],STATE_FAILED)){if(_0x2109d7[_0x12d5ac(0x10f)](_0x288140[_0x12d5ac(0xa9)],undefined))_0x304476=_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x14b)]?[_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x14b)],_0x2109d7[_0x12d5ac(0xe1)]]:[_0x288140[_0x12d5ac(0xa9)],_0x2109d7[_0x12d5ac(0x148)]];else _0x2109d7[_0x12d5ac(0x102)](_0x4ed0e6,undefined)?_0x304476=[_0x4ed0e6,_0x2109d7['zHlMa']]:_0x304476=[];}const _0x26ae04=_0x2109d7[_0x12d5ac(0x1a3)](_0x288140[_0x12d5ac(0xa9)],undefined)?_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x13f)]():_0x2109d7['SuYtN'](_0x4ed0e6,undefined)?_0x4ed0e6[_0x12d5ac(0x13f)]():undefined;let _0x4ec4b5;try{_0x4ec4b5=this[_0x12d5ac(0x128)](_0x288140);}catch(_0x213695){_0x4ec4b5=null;}const _0x37afe6=_0x4ec4b5?this[_0x12d5ac(0xf5)](_0x4ec4b5):null,_0x325641=_0x4ec4b5?this[_0x12d5ac(0xdb)][_0x12d5ac(0x161)](this[_0x12d5ac(0x128)](_0x288140)):_0x2109d7[_0x12d5ac(0xf4)],_0x19e90c={'framework':_0x2109d7[_0x12d5ac(0xa8)],'uuid':_0x288140[_0x12d5ac(0xcd)]||_0x288140[_0x12d5ac(0x192)],'name':_0x288140[_0x12d5ac(0x9e)],'body':{'lang':_0x2109d7[_0x12d5ac(0xd8)],'code':_0x288140['body']},'scope':this[_0x12d5ac(0x187)](_0x288140),'scopes':this[_0x12d5ac(0x1b9)](_0x288140),'identifier':_0x288140[_0x12d5ac(0xc8)](),'file_name':_0x325641,'vc_filepath':_0x37afe6?path['relative'](_0x37afe6,_0x4ec4b5):null,'location':_0x325641,'result':_0x2109d7[_0x12d5ac(0x156)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x19a)])?_0x2109d7[_0x12d5ac(0x1b1)]:this[_0x12d5ac(0x10e)](_0x288140['state']),'failure_reason':_0x26ae04,'duration_in_ms':_0x288140['duration']||(_0x1ffc77[_0x12d5ac(0x146)](/Finished/)||_0x1ffc77['match'](/Skipped/)?_0x2109d7[_0x12d5ac(0xca)](Date['now'](),new Date(_0x288140[_0x12d5ac(0xde)])['getTime']()):null),'started_at':_0x288140['started_at'],'finished_at':_0x1ffc77[_0x12d5ac(0x146)](/Finished/)||_0x1ffc77[_0x12d5ac(0x146)](/Skipped/)?new Date()[_0x12d5ac(0xe6)]():null,'failure':failureData['apply'](null,_0x304476),'failure_type':!_0x26ae04?null:_0x26ae04['match'](/AssertionError/)?_0x2109d7[_0x12d5ac(0xb1)]:_0x2109d7[_0x12d5ac(0x1b4)],'retry_of':_0x288140['retryOf']};testhubUtils[_0x12d5ac(0xad)](_0x19e90c,_0x1ffc77,_0x288140,FRAMEWORKS[_0x12d5ac(0x103)]);_0x2109d7[_0x12d5ac(0x156)](_0x1ffc77,_0x2109d7['BGcIR'])&&!_0x19e90c[_0x2109d7[_0x12d5ac(0x136)]]&&(_0x19e90c[_0x2109d7[_0x12d5ac(0x136)]]=_0x19e90c[_0x2109d7[_0x12d5ac(0xeb)]]);if(_0x1ffc77[_0x12d5ac(0x146)](/HookRun/))[_0x19e90c[_0x12d5ac(0x17a)],_0x19e90c['name']]=_0x2109d7[_0x12d5ac(0x1ab)](getHookDetails,_0x288140[_0x12d5ac(0xc8)]()||_0x288140['originalTitle']||_0x288140[_0x12d5ac(0x9e)]),_0x2109d7[_0x12d5ac(0xd7)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x1a9)])&&(_0x2109d7[_0x12d5ac(0x102)](_0x19e90c[_0x12d5ac(0xdf)],_0x2109d7['uzIqp'])&&(_0x19e90c[_0x12d5ac(0xdf)]=_0x2109d7['SUBtX']),_0x2109d7[_0x12d5ac(0xd7)](_0x19e90c[_0x12d5ac(0x17a)],_0x2109d7['qOTvn'])&&_0x2109d7['zLZQN'](_0x19e90c[_0x12d5ac(0xdf)],_0x2109d7['uzIqp'])&&!_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)][_0x12d5ac(0x186)]&&(_0x288140['ctx']['currentTest'][_0x12d5ac(0x186)]=!![],_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)][_0x12d5ac(0xba)]=STATE_FAILED,await this[_0x12d5ac(0x15c)](_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)],undefined,!![])));else _0x1ffc77[_0x12d5ac(0x146)](/TestRun/)&&_0x2109d7[_0x12d5ac(0x1ab)](mapTestHooks,_0x288140);const _0x26ca97=_0x19e90c[_0x2109d7[_0x12d5ac(0xec)]][0x0];_0x26ca97&&(_0x19e90c[_0x2109d7[_0x12d5ac(0x145)]]=_0x26ca97[_0x2109d7[_0x12d5ac(0xea)]],_0x19e90c[_0x2109d7[_0x12d5ac(0xff)]]=_0x26ca97[_0x2109d7[_0x12d5ac(0x16a)]]);[_0x2109d7[_0x12d5ac(0x15b)],_0x2109d7[_0x12d5ac(0x19a)]][_0x12d5ac(0x129)](_0x1ffc77)&&(this[_0x12d5ac(0x18c)][_0x12d5ac(0xe3)](_0x19e90c),_0x19e90c[_0x12d5ac(0x166)]=_0x2109d7['oQUMe'](getHooksForTest,_0x288140));const _0x71f6ef={'event_type':_0x2109d7[_0x12d5ac(0x12b)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x19a)])?_0x2109d7[_0x12d5ac(0x15b)]:_0x1ffc77};_0x1ffc77[_0x12d5ac(0x146)](/HookRun/)?(_0x19e90c[_0x2109d7[_0x12d5ac(0x104)]]=HOOK_TYPES_MAP[_0x19e90c[_0x2109d7[_0x12d5ac(0x104)]]],_0x71f6ef[_0x2109d7[_0x12d5ac(0x15d)]]=_0x19e90c):_0x71f6ef[_0x2109d7['zLVHD']]=_0x19e90c,testhubUtils[_0x12d5ac(0xa2)](FRAMEWORKS['MOCHA'],_0x71f6ef),await SessionHandler['uploadEventData'](_0x71f6ef);}catch(_0x45d19b){_0x2109d7[_0x12d5ac(0x14d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1ffc77+_0x12d5ac(0x16d)+_0x45d19b);}};['findGitConfig'](_0x613a2e){const _0xaac76d=a27_0x6cdd04,_0x6c3bc2={};_0x6c3bc2['ylntq']=function(_0x4633a9,_0x5cd396){return _0x4633a9===_0x5cd396;},_0x6c3bc2[_0xaac76d(0x139)]=_0xaac76d(0x17d),_0x6c3bc2[_0xaac76d(0x157)]=_0xaac76d(0x110);const _0x2e7c39=_0x6c3bc2,_0x115fc5=path[_0xaac76d(0xb0)];if(_0x2e7c39[_0xaac76d(0x1a4)](_0x613a2e,null)||_0x2e7c39['ylntq'](_0x613a2e,'')||_0x2e7c39['ylntq'](_0x613a2e,_0x115fc5))return null;try{return fs[_0xaac76d(0x10b)](path[_0xaac76d(0x16f)](_0x613a2e,_0x2e7c39[_0xaac76d(0x139)],_0x2e7c39[_0xaac76d(0x157)])),_0x613a2e;}catch(_0x5d8e1b){const _0xd8e26e=path[_0xaac76d(0xd9)](_0x613a2e);return this['findGitConfig'](_0xd8e26e);}}['appendTestItemLog']=async _0x1dd740=>{const _0x53d22d=a27_0x6cdd04,_0x33babf={'TRveq':_0x53d22d(0x143),'OjZuT':function(_0x202a27,_0x1716d8){return _0x202a27(_0x1716d8);}};try{this[_0x53d22d(0x1b0)]&&!this[_0x53d22d(0x1b0)]['markedStatus']&&(_0x1dd740[_0x53d22d(0x181)]=this[_0x53d22d(0x1b0)][_0x53d22d(0x192)]);!_0x1dd740[_0x53d22d(0x181)]&&this[_0x53d22d(0x197)]&&!this[_0x53d22d(0x197)][_0x53d22d(0x186)]&&(_0x1dd740[_0x53d22d(0x122)]=this['current_test'][_0x53d22d(0xcd)]);if(_0x1dd740[_0x53d22d(0x181)]||_0x1dd740[_0x53d22d(0x122)]){const _0x418b6e={};_0x418b6e['event_type']=_0x33babf[_0x53d22d(0x1a0)],_0x418b6e[_0x53d22d(0x127)]=[_0x1dd740],await SessionHandler[_0x53d22d(0xcc)](_0x418b6e);}}catch(_0x1cf549){_0x33babf[_0x53d22d(0xb5)](debug,_0x53d22d(0x140)+_0x1cf549);}};['appendTestPlatform']=async _0x154d72=>{const _0x5a9ee4=a27_0x6cdd04,_0x48376c={'MzEzH':_0x5a9ee4(0x1b5),'vTmtA':_0x5a9ee4(0xa6),'LtPKn':function(_0x103e33,_0x7a3956){return _0x103e33(_0x7a3956);}};try{const _0x31f71a={};_0x31f71a[_0x5a9ee4(0x191)]=_0x154d72[_0x5a9ee4(0x191)]||this[_0x5a9ee4(0x197)]['testAnalyticsId'],_0x31f71a[_0x5a9ee4(0x1af)]=_0x154d72[_0x48376c['MzEzH']];const _0x185a9f=_0x31f71a,_0x39be2c={};_0x39be2c[_0x5a9ee4(0xd3)]=_0x48376c[_0x5a9ee4(0xf8)],_0x39be2c[_0x5a9ee4(0x194)]=_0x185a9f,await SessionHandler[_0x5a9ee4(0xcc)](_0x39be2c);}catch(_0x317897){_0x48376c[_0x5a9ee4(0x154)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x317897);}};['analyticsResult'](_0x5c274){const _0x131bff=a27_0x6cdd04,_0x57d21b={};_0x57d21b[_0x131bff(0x13b)]=_0x131bff(0x109),_0x57d21b[_0x131bff(0xd5)]=_0x131bff(0xee),_0x57d21b[_0x131bff(0xe9)]=_0x131bff(0x121);const _0x193eb1=_0x57d21b,_0x5e4bd2={};return _0x5e4bd2[STATE_PASSED]=_0x193eb1[_0x131bff(0x13b)],_0x5e4bd2[STATE_PENDING]=_0x193eb1[_0x131bff(0xd5)],_0x5e4bd2[STATE_FAILED]=_0x193eb1[_0x131bff(0xe9)],_0x5e4bd2[_0x5c274];}[a27_0x6cdd04(0x187)](_0x40970f){const _0x9809f1=a27_0x6cdd04,_0x15d85e={};_0x15d85e[_0x9809f1(0x19c)]=function(_0x5caee1,_0x5baffb){return _0x5caee1-_0x5baffb;};const _0x5bb927=_0x15d85e,_0x17d7cb=_0x40970f[_0x9809f1(0x111)]();return _0x17d7cb['slice'](0x0,_0x5bb927[_0x9809f1(0x19c)](_0x17d7cb[_0x9809f1(0x179)],0x1))[_0x9809f1(0x16f)]('\x20');}[a27_0x6cdd04(0x1b9)](_0xe7982f){const _0x3c7b78=a27_0x6cdd04,_0x6f40b1={};_0x6f40b1[_0x3c7b78(0xf6)]=function(_0x3ea1a5,_0x2e9426){return _0x3ea1a5-_0x2e9426;};const _0x23fa86=_0x6f40b1,_0x509e11=_0xe7982f[_0x3c7b78(0x111)]();return _0x509e11[_0x3c7b78(0xbd)](0x0,_0x23fa86['Ajhdl'](_0x509e11['length'],0x1));}['getRootParentFile'](_0x20d2da){const _0x88ce84=a27_0x6cdd04,_0x4753c3={};_0x4753c3[_0x88ce84(0xd2)]=function(_0x5790f6,_0x402b0){return _0x5790f6>_0x402b0;};const _0x62f469=_0x4753c3;if(_0x20d2da[_0x88ce84(0xe4)])return _0x20d2da['file'];if(_0x20d2da[_0x88ce84(0xda)]){const _0x3ba738=_0x20d2da['ctx'][_0x88ce84(0xb4)]?this['getRootParentFile'](_0x20d2da[_0x88ce84(0xda)][_0x88ce84(0xb4)]):null;if(_0x3ba738)return _0x3ba738;}if(_0x20d2da['parent']){const _0x324eb1=this['getRootParentFile'](_0x20d2da['parent'])||(_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)]&&_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)][_0x88ce84(0xb4)]?this['getRootParentFile'](_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)][_0x88ce84(0xb4)]):null);if(_0x324eb1)return _0x324eb1;_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0x119)]&&_0x62f469[_0x88ce84(0xd2)](_0x20d2da['parent'][_0x88ce84(0x119)]['length'],0x0)&&_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0x119)][_0x88ce84(0xe5)](_0x353a94=>{const _0x11a3f1=_0x88ce84,_0x450e7c=_0x353a94[_0x11a3f1(0xda)]?this[_0x11a3f1(0x128)](_0x353a94['ctx']):null;if(_0x450e7c)return _0x450e7c;});}return null;}}module[a27_0x6cdd04(0xab)]=MyReporter;function a27_0x3b5a(){const _0x2cbd68=['after\x20each','zHlMa','../test-observability/mochaUtils','test','multiple','apply','RnZpe','bright\x20yellow','doc','nqBGw','parent','constants','trim','LtPKn','stdout','mutcO','uGaKB','qpITa','mZotX','../../../helpers/test-observability/requestQueueHandler','ieBIh','sendTestRunEvent','kZJog','hook_run','path','split','prefixTestPath','clean','dot','GXrMi','_buildCreated','hooks','dcvHk','AFTER_ALL','type','QPKSG','\x20-\x20','decreaseIndent','\x20with\x20error\x20:\x20','\x20\x20<dt>','join','HJhuv','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','AFTER_EACH','</dl>','Reporter','bang','testStarted','light','runner','length','hook_type','../../../helpers/testhub/constants','../../../helpers/test-observability/constants','.git','fQjEJ','increaseIndent','FxebS','hook_run_uuid','ciFqi','CwmnL','mocha/lib/utils.js','EEDWS','markedStatus','scope','SlzTA','before\x20each','cwd','skipped','_testResults','../../../helpers/test-observability/sessionHandler','indent','AJHsL','checkmark','uuid','hookAnalyticsId','cAjSK','test_run','consoleLog','EyMhr','current_test','testObservability','docAppend','BGcIR','call','ONwRb','error','uGzSy','Runner','TRveq','\x20\x20<dd\x20class=\x22error\x22>','util','KKYue','ylntq','finalResults','BgtwT','<dl>','HookStarted','UJbAF','results','oQUMe','frbWU','FqXJt','comma','integrations','current_hook','jnMRi','15597666uuJmvQ','HqTqZ','zrzye','http_response','write','HookRunStarted','__indents','scopes','_indents','NBysR','shutdown','done','title','bs:addPlatformDetails:','body','failure','setCurrentTestData','cmQPW','TestRunSkipped','IuWQD','CBTSessionCreated','prototype','RLVHu','err','yiTQz','exports','\x20%s','appendTesthubParams','_currentRetry','PUJsM','sep','sPHAa','appendTestItemLog','green','currentTest','OjZuT','ydkzG','533382CowbrR','symbols','bind','state','shouldProcessEventForTesthub','myVQx','slice','duration','TestRunFinished','mocha','javascript','</dd>','OPtjd','OGPmX','removeAllListeners','\x20\x20<dd><pre><code>','isPending','fullTitle','SoYqp','izEIo','oDRax','uploadEventData','testAnalyticsId','JxjgL','TestRunStarted','../../../helpers/testhub/utils','qKdRW','EDvXC','event_type','vlziz','eaofC','2|4|1|3|0','eOGfM','EluMs','dirname','ctx','_paths','speed','__platform__','started_at','result','nXktp','itdqz','mocha/lib/reporters/','push','file','forEach','toISOString','2706368MYZsfc','backtrace','jPkNF','gMLaz','fRaiJ','vZbAN','DKtBE','pending','failCount','UnhandledError','failure_reason_expanded','currentRetry','XDAIA','BFVuM','findGitConfig','Ajhdl','225720oUhRkV','vTmtA','GsTpF','sytHI','lQUJa','NccnD','reporterOption','cSvNp','bGdet','sQHRb','root','xMhep','MOCHA','ZMiYX','pLotl','HRgjg','</dt>','slow','passed','Mocha','statSync','1629508gUfgvH','PwWio','analyticsResult','yqCFt','config','titlePath','CpUtG','pid','</section>','color','EVENT','escape','docHtml','suites','\x20\x20<dd\x20class=\x22error\x22><pre><code>','UqhRT','21zuWmLe','registerListeners','MsqUo','<section\x20class=\x22suite\x22>','after\x20all','failed','test_run_uuid','</code></pre></dd>','HookRunFinished','vDKwd','COMPLETED','logs','getRootParentFile','includes','retryOf','VHyyi','ZwGdc','reporterOptions','_upstreamConfig','3130173FmSbls','KphPz','\x20\x20%d)\x20%s','pass','10aWPrdR','finished_at','bs:addLog:','ZnLrw','once','Bnlwh','UHwkn','before\x20all','LcpRm','1889332SdnWur','%s\x20','expanded','toString','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','inspect','ZCIVm','LogCreated','mocha/lib/runnable.js','emAfU','match'];a27_0x3b5a=function(){return _0x2cbd68;};return a27_0x3b5a();}
|
|
1
|
+
'use strict';function a27_0x3faa(_0x414d0f,_0x3dc547){const _0x47e5bd=a27_0x47e5();return a27_0x3faa=function(_0x3faafc,_0x2cce8d){_0x3faafc=_0x3faafc-0x11c;let _0x26d4cc=_0x47e5bd[_0x3faafc];return _0x26d4cc;},a27_0x3faa(_0x414d0f,_0x3dc547);}const a27_0x14c4ea=a27_0x3faa;function a27_0x47e5(){const _0x596e9c=['CtJAn','QcWvv','current_test','1|0|3|2|4','length','BEFORE_ALL','RxHdi','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','multiple','suites','toString','UdiMJ','iipyL','after\x20all','finished_at','mocha/lib/reporters/base.js','SzDHP','path','iZmQM','expanded','event_type','failure_backtrace','</section>','isPending','HookFinished','util','before\x20each','File\x20path\x20could\x20not\x20be\x20found','pending','green','decreaseIndent','196KXWJvq','state','PgsID','apply','DEwpz','analyticsResult','titlePath','runner','HookStarted','VMsBE','mocha/lib/utils.js','docHtml','159802JpEOLw','HookRunFinished','SJpww','currentTest','NoGNX','kdEOk','failureCount','SJhpY','mViFc','</h1>','once','before\x20all','rFEDm','scope','mocha/lib/reporters/','duration','ouTqp','nbxlQ','WHMBj','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','hook_run_uuid','KGrSp','OpHjL','failure','AssertionError','fsUjf','pass','JyEBV','color','uploadEventData','location_prefix','mocha','indent','markedStatus','pid','GJCiV','speed','EzYou','after\x20each','CrCQh','testObservability','hook_type','getTime','forEach','err','clean','LxRAz','testAnalyticsId','bs:addPlatformDetails:','result','CrpQO','RovdJ','__platform__','kEyVB','passed','MRSmj','escape','setCurrentTestData','bs:addLog:','esPVK','UWXWd','Reporter','odXVU','test','RMaBq','RZTDl','BEFORE_EACH','qcRTz','test_run','Rlmad','wIEJO','hookAnalyticsId','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','PAXbd','RczXG','findGitConfig','pMgJI','SgJfJ','wwgUQ','integrations','getInstance','../../../helpers/test-observability/constants','failed','bind','ZnnYc','TestRunStarted','xunit','config','UyOXZ','sep','EVENT','<h1>','gwiZn','match','zBRYC','yXJkI','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','join','finalResults','\x20with\x20error\x20:\x20','Runner','prototype','suite','njGCw','reporterOptions','tcMIh','gvLrb','ctx','JLXGt','gOFCe','DpGDJ','\x20\x20<dt>','COMPLETED','UEDdj','symbols','LWTNz','NInfK','\x20\x20<dd\x20class=\x22error\x22>','</dt>','checkmark','JuVuR','uuid','MeUji','hSEAJ','FoNGW','jeCMx','HqriL','failure_reason_expanded','originalTitle','abcAk','kXlbO','body','file','DGOVD','CBTSessionCreated','8umnkrj','gYqhR','DLZeQ','logs','3417282OjHPgD','TestRunFinished','Uadkb','../test-observability/mochaUtils','6878259ovIFEP','_testEnv','BCJmW','tnFRi','</code></pre></dd>','current_hook','\x20%s','80805gixxqh','scopes','doc','sendTestRunEvent','KMDfd','root','fPynx','appendTestItemLog','toISOString','shouldProcessEventForTesthub','javascript','includes','../../../helpers/testhub/utils','tkoUO','aSjLG','mtbpX','</dl>','slice','bJFCK','docAppend','failCount','\x20\x20%d)\x20%s','WejEd','.git','increaseIndent','../../../helpers/testhub/constants','MOSRC','LogCreated','../../../helpers/test-observability/requestQueueHandler','AFTER_EACH','\x20(%dms)','cDuRF','.js','66626zBGDWb','dot','bright\x20yellow','lUGIZ','tJvGU','UnhandledError','../../../helpers/helper','HPFOD','light','push','PTVmg','comma','cwd','njVdU','trim','_indents','__indents','cTjaq','consoleLog','LxyrG','554661THdqSt','getRootParentFile','exports','hook_run','BrivN','stdout','eOGiG','3090510kYajoy','qfeJQ','xlrTK','HookRunStarted','title','pFHfQ','_paths','DjvCE','Failed\x20to\x20load\x20reporter\x20','retryOf','wHUoA','\x20\x20<dt\x20class=\x22error\x22>','statSync','_currentRetry','parent','HKvpq','PgkNi','kCihW','fail','constants','kgMOw','NrXga','shutdown','MOCHA','TestRunSkipped','spec','call','write','%s\x20-\x20%s','started_at','fullTitle','veaTq','testStarted','error','skipped','reporterOption','currentRetry','slow','bang','../../../helpers/test-observability/sessionHandler','results','Jhfwb','ipKDq','suiteCount','type','appendTesthubParams','appendTestPlatform','HqueG','test_run_uuid','gfkVn','HiQLb','czrDj','_testResults'];a27_0x47e5=function(){return _0x596e9c;};return a27_0x47e5();}(function(_0x103e99,_0x159067){const _0x215082=a27_0x3faa,_0x43c575=_0x103e99();while(!![]){try{const _0x412240=parseInt(_0x215082(0x16d))/0x1+-parseInt(_0x215082(0x1d4))/0x2+parseInt(_0x215082(0x12d))/0x3+parseInt(_0x215082(0x1c8))/0x4*(-parseInt(_0x215082(0x138))/0x5)+parseInt(_0x215082(0x174))/0x6+parseInt(_0x215082(0x159))/0x7+parseInt(_0x215082(0x129))/0x8*(-parseInt(_0x215082(0x131))/0x9);if(_0x412240===_0x159067)break;else _0x43c575['push'](_0x43c575['shift']());}catch(_0x44d4cc){_0x43c575['push'](_0x43c575['shift']());}}}(a27_0x47e5,0x8e2ad));const util=require(a27_0x14c4ea(0x1c2)),fs=require('fs'),path=require(a27_0x14c4ea(0x1ba)),{requireModule}=require(a27_0x14c4ea(0x15f)),Base=requireModule(a27_0x14c4ea(0x1b8)),utils=requireModule(a27_0x14c4ea(0x1d2)),color=Base['color'],Mocha=requireModule(a27_0x14c4ea(0x1f3)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require('uuid'),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x14c4ea(0x144)),testHubConstants=require(a27_0x14c4ea(0x151)),{FRAMEWORKS}=require(a27_0x14c4ea(0x225)),a27_0x2e13de={};a27_0x2e13de[a27_0x14c4ea(0x1df)]=a27_0x14c4ea(0x1ae),a27_0x2e13de[a27_0x14c4ea(0x1b6)]='AFTER_ALL',a27_0x2e13de[a27_0x14c4ea(0x1c3)]=a27_0x14c4ea(0x216),a27_0x2e13de[a27_0x14c4ea(0x1fa)]=a27_0x14c4ea(0x155);const HOOK_TYPES_MAP=a27_0x2e13de,{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_0x14c4ea(0x238)]['constants'],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x14c4ea(0x187)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x14c4ea(0x130)),{consoleHolder}=require(a27_0x14c4ea(0x225)),SessionHandler=require(a27_0x14c4ea(0x19b)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x14c4ea(0x154)),requestQueueHandler=RequestQueueHandler[a27_0x14c4ea(0x224)]();class MyReporter{constructor(_0x2c2457,_0x44777b){const _0x3d2424=a27_0x14c4ea,_0x414973={'hSEAJ':function(_0x438eba,_0x1f86f1){return _0x438eba===_0x1f86f1;},'aSjLG':_0x3d2424(0x18d),'PAXbd':function(_0x3ec1e2,_0x2c6d93){return _0x3ec1e2+_0x2c6d93;},'fPynx':function(_0x456cd1,_0x1dc5af,_0x50496c){return _0x456cd1(_0x1dc5af,_0x50496c);},'njGCw':_0x3d2424(0x1c6),'HTAto':'%s\x20','kCihW':_0x3d2424(0x161),'SYCmr':_0x3d2424(0x190),'HPFOD':'RUNNING','rFEDm':function(_0x547e09,_0x1fc0c3){return _0x547e09===_0x1fc0c3;},'qcRTz':_0x3d2424(0x13a),'yXJkI':function(_0xbfc35d){return _0xbfc35d();},'KMDfd':function(_0x183594){return _0x183594();},'FoNGW':_0x3d2424(0x177),'czrDj':_0x3d2424(0x1d5),'HqueG':function(_0xe7671c,_0x3bc674){return _0xe7671c===_0x3bc674;},'WHMBj':_0x3d2424(0x20a),'SzDHP':function(_0x40cdac,_0x53e198){return _0x40cdac===_0x53e198;},'HiQLb':'fast','EzYou':function(_0x57bc28,_0x44ec3f){return _0x57bc28+_0x44ec3f;},'wHUoA':_0x3d2424(0x24b),'SgJfJ':function(_0x416fa7,_0x2d65af,_0x41304b){return _0x416fa7(_0x2d65af,_0x41304b);},'PgsID':_0x3d2424(0x1ee),'iZmQM':_0x3d2424(0x137),'gYqhR':_0x3d2424(0x156),'mtbpX':function(_0x3dfd08,_0x4ad891,_0x4c05ed){return _0x3dfd08(_0x4ad891,_0x4c05ed);},'odXVU':_0x3d2424(0x186),'RovdJ':_0x3d2424(0x14d),'kXlbO':function(_0x568281,_0x35c22f,_0x106c66){return _0x568281(_0x35c22f,_0x106c66);},'ymmVU':_0x3d2424(0x15b),'HKvpq':_0x3d2424(0x244),'UWXWd':function(_0x5f0261,_0x4e890e){return _0x5f0261===_0x4e890e;},'NoGNX':_0x3d2424(0x15a),'AeHuO':_0x3d2424(0x199),'Uadkb':function(_0x1b0500,_0x4641d0){return _0x1b0500===_0x4641d0;},'CXYnr':function(_0x532ffa,_0x1ca2bc){return _0x532ffa===_0x1ca2bc;},'ouTqp':function(_0x1b8984,_0x3106e2){return _0x1b8984===_0x3106e2;},'VWiKg':_0x3d2424(0x1ac),'nbxlQ':function(_0x55b73f,_0x49d5cf){return _0x55b73f===_0x49d5cf;},'Jutbf':function(_0x1997f5,_0x5ab864){return _0x1997f5===_0x5ab864;},'MFYkf':_0x3d2424(0x1c5),'BxVVB':function(_0x203f2c){return _0x203f2c();},'kdEOk':_0x3d2424(0x18c),'fiHBd':function(_0x230b05,_0x4db8f4){return _0x230b05===_0x4db8f4;},'RczXG':function(_0x3c75d3,_0x58aa8a){return _0x3c75d3(_0x58aa8a);},'MeUji':function(_0x1a9165,_0x58af3b){return _0x1a9165(_0x58af3b);},'WejEd':function(_0x5cc7e5){return _0x5cc7e5();},'jeCMx':function(_0x267e68){return _0x267e68();},'tJvGU':function(_0x3e22cd,_0x501f61){return _0x3e22cd===_0x501f61;},'SJhpY':_0x3d2424(0x22a),'JyEBV':function(_0x3c2b16,_0xa3717b){return _0x3c2b16===_0xa3717b;},'NrXga':function(_0x410572,_0x1c187){return _0x410572!==_0x1c187;}};this[_0x3d2424(0x1a0)]=_0x44777b[_0x3d2424(0x197)]['type'],this[_0x3d2424(0x1fc)]=_0x414973[_0x3d2424(0x14e)](isTestObservabilitySession),Base[_0x3d2424(0x18e)](this,_0x2c2457,_0x44777b),this['_indents']=0x0,this[_0x3d2424(0x14c)]=0x0,this['results']=[],this[_0x3d2424(0x236)]=[],this[_0x3d2424(0x19f)]=0x0,this['_buildCreated']=![],this[_0x3d2424(0x1a8)]=[],this[_0x3d2424(0x132)]=_0x414973[_0x3d2424(0x11f)](getTestEnv),this[_0x3d2424(0x17a)]=new PathHelper({'cwd':process[_0x3d2424(0x165)]()},this[_0x3d2424(0x132)][_0x3d2424(0x1f2)]),this['_upstreamConfig']=_0x44777b[_0x3d2424(0x197)]['bsConfig'],this['registerListeners']();_0x414973[_0x3d2424(0x15d)](this[_0x3d2424(0x1a0)],_0x414973['qcRTz'])&&(this[_0x3d2424(0x1d3)]='',this['__indents']=0x2);_0x2c2457[_0x3d2424(0x1de)](EVENT_RUN_BEGIN,async()=>{const _0x34d2b2=_0x3d2424;_0x414973[_0x34d2b2(0x11d)](this[_0x34d2b2(0x1a0)],_0x414973['aSjLG'])&&Base[_0x34d2b2(0x16b)]();})['on'](EVENT_SUITE_BEGIN,_0x43ace8=>{const _0x513b99=_0x3d2424;if(_0x43ace8[_0x513b99(0x13d)])return;if(_0x414973[_0x513b99(0x11d)](this[_0x513b99(0x1a0)],_0x414973[_0x513b99(0x146)]))this[_0x513b99(0x150)](),Base[_0x513b99(0x16b)](_0x414973[_0x513b99(0x21d)](_0x414973[_0x513b99(0x21d)](this[_0x513b99(0x1f4)](),_0x414973[_0x513b99(0x13e)](color,_0x414973[_0x513b99(0x23b)],_0x414973['HTAto'])),_0x414973[_0x513b99(0x13e)](color,_0x414973[_0x513b99(0x185)],_0x414973['SYCmr'])),_0x414973[_0x513b99(0x160)],_0x43ace8[_0x513b99(0x178)],global[_0x513b99(0x208)]);else _0x414973[_0x513b99(0x1e0)](this[_0x513b99(0x1a0)],_0x414973['qcRTz'])&&(this[_0x513b99(0x14b)](this['indent']()+'<section\x20class=\x22suite\x22>'),++this[_0x513b99(0x169)],this['docAppend'](this[_0x513b99(0x1f4)]()+_0x513b99(0x22f)+utils[_0x513b99(0x20c)](_0x43ace8[_0x513b99(0x178)]+'\x20-\x20'+global[_0x513b99(0x208)])+_0x513b99(0x1dd)),this[_0x513b99(0x14b)](this['indent']()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x4ec7e7=>{const _0xc73de0=_0x3d2424;if(_0x414973[_0xc73de0(0x1e0)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0xc73de0(0x1d0)]),!![])){if(!_0x4ec7e7[_0xc73de0(0x21b)])_0x4ec7e7[_0xc73de0(0x21b)]=_0x414973[_0xc73de0(0x233)](uuidv4);else _0x4ec7e7['markedStatus']&&(_0x4ec7e7[_0xc73de0(0x21b)]=_0x414973[_0xc73de0(0x13c)](uuidv4),delete _0x4ec7e7[_0xc73de0(0x1f5)]);_0x4ec7e7['started_at']=new Date()[_0xc73de0(0x140)](),this[_0xc73de0(0x136)]=_0x4ec7e7,await this['sendTestRunEvent'](_0x4ec7e7,undefined,![],_0x414973[_0xc73de0(0x11e)]);}})['on'](EVENT_HOOK_END,async _0x4ea510=>{const _0x3dab97=_0x3d2424;_0x414973['rFEDm'](testhubUtils[_0x3dab97(0x141)](testHubConstants[_0x3dab97(0x22e)][_0x3dab97(0x1c1)]),!![])&&(!_0x4ea510[_0x3dab97(0x1f5)]&&(_0x4ea510['markedStatus']=!![],await this[_0x3dab97(0x13b)](_0x4ea510,undefined,![],_0x414973[_0x3dab97(0x1a7)])));})['on'](EVENT_SUITE_END,_0x585234=>{const _0x273197=_0x3d2424,_0x130376={'pFHfQ':function(_0x54d233,_0x2f43aa){const _0x2ad5d2=a27_0x3faa;return _0x414973[_0x2ad5d2(0x1a3)](_0x54d233,_0x2f43aa);},'HKACB':_0x414973[_0x273197(0x1e6)],'qfeJQ':function(_0x20ed63,_0x139206){const _0x4337a7=_0x273197;return _0x414973[_0x4337a7(0x1b9)](_0x20ed63,_0x139206);},'bHlso':_0x414973[_0x273197(0x1a6)],'Rlmad':function(_0x2c09c0,_0x272b53){const _0x4ae20a=_0x273197;return _0x414973[_0x4ae20a(0x1f9)](_0x2c09c0,_0x272b53);},'MRSmj':function(_0x3c0e64,_0x3aa850,_0x230eb9){const _0x49edd4=_0x273197;return _0x414973[_0x49edd4(0x13e)](_0x3c0e64,_0x3aa850,_0x230eb9);},'xlrTK':_0x414973[_0x273197(0x17e)],'FJwtc':function(_0xd941c8,_0x28acca,_0x42b58e){return _0x414973['SgJfJ'](_0xd941c8,_0x28acca,_0x42b58e);},'tnFRi':_0x414973[_0x273197(0x1ca)],'mViFc':_0x414973[_0x273197(0x1bb)],'lUGIZ':function(_0x8252eb,_0x1ef904){const _0xddf464=_0x273197;return _0x414973[_0xddf464(0x21d)](_0x8252eb,_0x1ef904);},'kEyVB':function(_0x5dca2a,_0x176dd3,_0x4eda33){const _0x635d2c=_0x273197;return _0x414973[_0x635d2c(0x221)](_0x5dca2a,_0x176dd3,_0x4eda33);},'bJFCK':_0x414973[_0x273197(0x12a)],'qQncv':function(_0x517438,_0x5f0465,_0x25e24e){const _0x2fb519=_0x273197;return _0x414973[_0x2fb519(0x147)](_0x517438,_0x5f0465,_0x25e24e);},'JLXGt':_0x414973[_0x273197(0x212)],'Inmtz':_0x414973[_0x273197(0x207)]};if(_0x585234[_0x273197(0x13d)])return;if(_0x414973[_0x273197(0x11d)](this[_0x273197(0x1a0)],_0x414973[_0x273197(0x146)]))Base['consoleLog'](),Base[_0x273197(0x16b)](_0x414973['EzYou'](_0x414973['PAXbd'](this[_0x273197(0x1f4)](),_0x414973[_0x273197(0x124)](color,_0x414973['ymmVU'],_0x414973['HTAto'])),_0x414973['SgJfJ'](color,_0x414973['kCihW'],_0x414973['SYCmr'])),_0x414973[_0x273197(0x183)],_0x585234[_0x273197(0x178)],global['__platform__']),this[_0x273197(0x19c)]['forEach'](_0x4e782d=>{const _0x5cb9b2=_0x273197;if(_0x130376[_0x5cb9b2(0x179)](_0x4e782d[_0x5cb9b2(0x1c9)],_0x130376['HKACB'])){var _0x4c62f9;_0x130376[_0x5cb9b2(0x175)](_0x4e782d[_0x5cb9b2(0x1f8)],_0x130376['bHlso'])?(_0x4c62f9=_0x130376[_0x5cb9b2(0x219)](_0x130376[_0x5cb9b2(0x219)](this[_0x5cb9b2(0x1f4)](),_0x130376['MRSmj'](color,_0x130376[_0x5cb9b2(0x176)],_0x130376['Rlmad']('\x20\x20',Base[_0x5cb9b2(0x246)]['ok']))),_0x130376['FJwtc'](color,_0x130376[_0x5cb9b2(0x134)],_0x130376[_0x5cb9b2(0x1dc)])),Base[_0x5cb9b2(0x16b)](_0x4c62f9,_0x4e782d['title'])):(_0x4c62f9=_0x130376[_0x5cb9b2(0x219)](_0x130376['Rlmad'](_0x130376[_0x5cb9b2(0x15c)](this['indent'](),_0x130376[_0x5cb9b2(0x20b)](color,_0x130376[_0x5cb9b2(0x176)],_0x130376[_0x5cb9b2(0x219)]('\x20\x20',Base[_0x5cb9b2(0x246)]['ok']))),_0x130376[_0x5cb9b2(0x209)](color,_0x130376['tnFRi'],_0x130376[_0x5cb9b2(0x1dc)])),_0x130376[_0x5cb9b2(0x20b)](color,_0x4e782d['speed'],_0x130376[_0x5cb9b2(0x14a)])),Base[_0x5cb9b2(0x16b)](_0x4c62f9,_0x4e782d[_0x5cb9b2(0x178)],_0x4e782d[_0x5cb9b2(0x1e3)]));}else Base[_0x5cb9b2(0x16b)](_0x130376['Rlmad'](this[_0x5cb9b2(0x1f4)](),_0x130376['qQncv'](color,_0x130376[_0x5cb9b2(0x240)],_0x130376['Inmtz'])),++this[_0x5cb9b2(0x14c)],_0x4e782d[_0x5cb9b2(0x178)]);}),this[_0x273197(0x1c7)]();else _0x414973[_0x273197(0x1e0)](this[_0x273197(0x1a0)],_0x414973[_0x273197(0x217)])&&(this[_0x273197(0x14b)](this[_0x273197(0x1f4)]()+_0x273197(0x148)),--this['__indents'],this[_0x273197(0x14b)](this[_0x273197(0x1f4)]()+_0x273197(0x1bf)),--this['__indents']);Array[_0x273197(0x239)]['push'][_0x273197(0x1cb)](this['finalResults'],this[_0x273197(0x19c)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x176f0f=>{const _0x4441bf=_0x3d2424;this[_0x4441bf(0x19c)][_0x4441bf(0x162)]({'speed':_0x176f0f[_0x4441bf(0x1f8)],'suite':_0x176f0f[_0x4441bf(0x182)][_0x4441bf(0x178)],'title':_0x176f0f[_0x4441bf(0x178)],'fullTitle':_0x176f0f[_0x4441bf(0x192)](),'duration':_0x176f0f[_0x4441bf(0x1e3)],'state':_0x176f0f[_0x4441bf(0x1c9)],'err':{},'currentRetry':_0x176f0f[_0x4441bf(0x198)](),'titlePathV':_0x176f0f['titlePath'](),'isPending':_0x176f0f[_0x4441bf(0x1c0)]()});if(_0x414973[_0x4441bf(0x210)](this[_0x4441bf(0x1a0)],_0x414973[_0x4441bf(0x1d8)]))_0x414973[_0x4441bf(0x1a3)](_0x176f0f[_0x4441bf(0x1f8)],_0x414973['AeHuO'])?process[_0x4441bf(0x172)][_0x4441bf(0x18f)](Base[_0x4441bf(0x1f0)](_0x414973['ymmVU'],Base[_0x4441bf(0x246)]['dot'])):process[_0x4441bf(0x172)][_0x4441bf(0x18f)](Base[_0x4441bf(0x1f0)](_0x176f0f['speed'],Base['symbols'][_0x4441bf(0x15a)]));else{if(_0x414973[_0x4441bf(0x12f)](this[_0x4441bf(0x1a0)],_0x414973['qcRTz'])){this['docAppend'](this[_0x4441bf(0x1f4)]()+_0x4441bf(0x243)+utils[_0x4441bf(0x20c)](_0x176f0f[_0x4441bf(0x178)])+_0x4441bf(0x24a)),this[_0x4441bf(0x14b)](this['indent']()+_0x4441bf(0x243)+utils[_0x4441bf(0x20c)](_0x176f0f[_0x4441bf(0x126)])+_0x4441bf(0x24a));var _0x190db0=utils[_0x4441bf(0x20c)](utils[_0x4441bf(0x201)](_0x176f0f['body']));this[_0x4441bf(0x14b)](this[_0x4441bf(0x1f4)]()+'\x20\x20<dd><pre><code>'+_0x190db0+'</code></pre></dd>');}}_0x414973[_0x4441bf(0x210)](testhubUtils[_0x4441bf(0x141)](),!![])&&(!_0x176f0f[_0x4441bf(0x1f5)]&&(_0x176f0f['markedStatus']=!![],await this[_0x4441bf(0x13b)](_0x176f0f)));})['on'](EVENT_TEST_FAIL,async(_0x29c31f,_0x266a0d)=>{const _0x373ad8=_0x3d2424;this[_0x373ad8(0x19c)]['push']({'title':_0x29c31f['title'],'suite':_0x29c31f[_0x373ad8(0x182)][_0x373ad8(0x178)],'state':_0x29c31f['state'],'err':{'message':util['inspect'](_0x266a0d)},'fullTitle':_0x29c31f[_0x373ad8(0x192)](),'speed':_0x29c31f[_0x373ad8(0x1f8)],'currentRetry':_0x29c31f[_0x373ad8(0x198)](),'titlePathV':_0x29c31f[_0x373ad8(0x1ce)]()});if(_0x414973['CXYnr'](this['type'],_0x414973[_0x373ad8(0x1d8)]))process['stdout']['write'](Base[_0x373ad8(0x1f0)](_0x414973['odXVU'],Base[_0x373ad8(0x246)][_0x373ad8(0x19a)]));else{if(_0x414973[_0x373ad8(0x1e4)](this[_0x373ad8(0x1a0)],_0x414973[_0x373ad8(0x217)])){const _0x525ddd=_0x414973['VWiKg']['split']('|');let _0x270d01=0x0;while(!![]){switch(_0x525ddd[_0x270d01++]){case'0':this[_0x373ad8(0x14b)](this['indent']()+_0x373ad8(0x17f)+utils['escape'](_0x29c31f[_0x373ad8(0x126)])+_0x373ad8(0x24a));continue;case'1':this[_0x373ad8(0x14b)](this['indent']()+_0x373ad8(0x17f)+utils[_0x373ad8(0x20c)](_0x29c31f['title'])+_0x373ad8(0x24a));continue;case'2':this[_0x373ad8(0x14b)](this[_0x373ad8(0x1f4)]()+'\x20\x20<dd\x20class=\x22error\x22><pre><code>'+_0x302f92+_0x373ad8(0x135));continue;case'3':var _0x302f92=utils[_0x373ad8(0x20c)](utils[_0x373ad8(0x201)](_0x29c31f[_0x373ad8(0x125)]));continue;case'4':this[_0x373ad8(0x14b)](this[_0x373ad8(0x1f4)]()+_0x373ad8(0x249)+utils[_0x373ad8(0x20c)](_0x29c31f['err'])+'</dd>');continue;}break;}}}if(_0x414973[_0x373ad8(0x1e5)](testhubUtils[_0x373ad8(0x141)](testHubConstants['EVENT'][_0x373ad8(0x1c1)]),!![])){if(!_0x29c31f[_0x373ad8(0x1f5)]){_0x29c31f[_0x373ad8(0x1f5)]=!![];if(_0x29c31f[_0x373ad8(0x203)])await this[_0x373ad8(0x13b)](_0x29c31f,_0x266a0d);else _0x29c31f[_0x373ad8(0x21b)]&&await this[_0x373ad8(0x13b)](_0x29c31f,_0x266a0d,![],_0x414973[_0x373ad8(0x1a7)]);}}})['on'](EVENT_TEST_PENDING,async _0x49e312=>{const _0x1ea43e=_0x3d2424;this[_0x1ea43e(0x19c)][_0x1ea43e(0x162)]({'title':_0x49e312[_0x1ea43e(0x178)],'suite':_0x49e312['parent'][_0x1ea43e(0x178)],'state':_0x49e312[_0x1ea43e(0x1c9)],'err':{},'fullTitle':_0x49e312[_0x1ea43e(0x192)](),'speed':_0x49e312[_0x1ea43e(0x1f8)],'currentRetry':_0x49e312[_0x1ea43e(0x198)](),'titlePathV':_0x49e312[_0x1ea43e(0x1ce)]()}),_0x414973['Jutbf'](this['type'],_0x414973[_0x1ea43e(0x1d8)])&&process['stdout'][_0x1ea43e(0x18f)](Base['color'](_0x414973['MFYkf'],Base[_0x1ea43e(0x246)][_0x1ea43e(0x164)])),_0x414973[_0x1ea43e(0x12f)](testhubUtils[_0x1ea43e(0x141)](),!![])&&(!_0x49e312[_0x1ea43e(0x203)]&&(_0x49e312[_0x1ea43e(0x203)]=_0x414973['BxVVB'](uuidv4)),!_0x49e312['markedStatus']&&(_0x49e312[_0x1ea43e(0x1f5)]=!![],await this['sendTestRunEvent'](_0x49e312,undefined,![],_0x414973[_0x1ea43e(0x1d9)])));})['on'](EVENT_TEST_BEGIN,async _0x3032d2=>{const _0x483444=_0x3d2424;_0x414973[_0x483444(0x1b9)](testhubUtils[_0x483444(0x141)](),!![])&&await this[_0x483444(0x194)](_0x3032d2);})['on'](EVENT_TEST_END,async _0xad4e09=>{const _0x47885b=_0x3d2424;_0x414973[_0x47885b(0x1e5)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0xad4e09[_0x47885b(0x1f5)]&&(_0xad4e09[_0x47885b(0x1f5)]=!![],await this[_0x47885b(0x13b)](_0xad4e09)));})[_0x3d2424(0x1de)](EVENT_RUN_END,async()=>{const _0x8eae2c=_0x3d2424;try{if(_0x414973['fiHBd'](testhubUtils[_0x8eae2c(0x141)](),!![])){const _0x2bf278=_0x414973[_0x8eae2c(0x21e)](getHookSkippedTests,this[_0x8eae2c(0x1cf)][_0x8eae2c(0x23a)]);for(const _0x3e4b10 of _0x2bf278){!_0x3e4b10[_0x8eae2c(0x203)]&&(_0x3e4b10[_0x8eae2c(0x203)]=_0x414973['BxVVB'](uuidv4)),await this[_0x8eae2c(0x13b)](_0x3e4b10,undefined,![],_0x414973['kdEOk']);}}}catch(_0x146d4e){_0x414973[_0x8eae2c(0x11c)](debug,_0x8eae2c(0x234)+_0x146d4e);}await requestQueueHandler[_0x8eae2c(0x18a)](),_0x414973['rFEDm'](this[_0x8eae2c(0x1a0)],_0x414973[_0x8eae2c(0x217)])&&Base[_0x8eae2c(0x16b)](this[_0x8eae2c(0x1d3)]);});if(this['type']&&![_0x414973[_0x3d2424(0x217)],_0x414973[_0x3d2424(0x1db)],_0x414973[_0x3d2424(0x146)],_0x414973['NoGNX']]['includes'](this[_0x3d2424(0x1a0)])){const _0x3eb450=this['type'][_0x3d2424(0x167)]();this['Reporter']=null;try{this[_0x3d2424(0x211)]=_0x414973[_0x3d2424(0x21e)](requireModule,_0x3d2424(0x1e2)+_0x3eb450+_0x3d2424(0x158));}catch{}if(_0x414973[_0x3d2424(0x1ef)](this[_0x3d2424(0x211)],null))try{this[_0x3d2424(0x211)]=_0x414973[_0x3d2424(0x11c)](require,_0x3eb450);}catch(_0x341851){console[_0x3d2424(0x195)](_0x3d2424(0x17c)+_0x3eb450);}if(_0x414973[_0x3d2424(0x189)](this[_0x3d2424(0x211)],null)){const _0x102d99={};_0x102d99[_0x3d2424(0x23c)]=_0x44777b[_0x3d2424(0x197)],this[_0x3d2424(0x211)]=new this['Reporter'](_0x2c2457,_0x102d99);}}}[a27_0x14c4ea(0x1f4)](){const _0x130bef=a27_0x14c4ea,_0x5b392f={'SJpww':function(_0x36f232,_0x505f77){return _0x36f232(_0x505f77);}};return _0x5b392f[_0x130bef(0x1d6)](Array,this['_indents'])[_0x130bef(0x235)]('\x20\x20');}[a27_0x14c4ea(0x150)](){const _0x4b2112=a27_0x14c4ea;this[_0x4b2112(0x168)]++;}[a27_0x14c4ea(0x1c7)](){const _0x24690a=a27_0x14c4ea;this[_0x24690a(0x168)]--;}[a27_0x14c4ea(0x14b)](_0x39d205){this['docHtml']+=_0x39d205;}['done'](_0x51f6a7,_0x5876dd){const _0x52482b=a27_0x14c4ea,_0x13a824={'DGOVD':function(_0x1790d9,_0x1daa71){return _0x1790d9(_0x1daa71);}},_0x33bdb3={};_0x33bdb3[_0x52482b(0x1da)]=_0x51f6a7,_0x33bdb3[_0x52482b(0x19c)]=this[_0x52482b(0x236)],_0x13a824[_0x52482b(0x127)](_0x5876dd,_0x33bdb3);}['registerListeners'](){const _0x565e6c=a27_0x14c4ea;process['removeAllListeners'](_0x565e6c(0x20e)+process[_0x565e6c(0x1f6)]),process['on'](_0x565e6c(0x20e)+process[_0x565e6c(0x1f6)],this['appendTestItemLog'][_0x565e6c(0x227)](this)),process['removeAllListeners'](_0x565e6c(0x204)+process['pid']),process['on'](_0x565e6c(0x204)+process['pid'],this['appendTestPlatform'][_0x565e6c(0x227)](this));}[a27_0x14c4ea(0x194)]=async _0x4001ba=>{const _0x2ae9fb=a27_0x14c4ea,_0x188a33={'JuVuR':function(_0x2b9b14){return _0x2b9b14();},'PTVmg':function(_0x4afad6,_0x1b2af6){return _0x4afad6>_0x1b2af6;},'njVdU':function(_0x3af2d9,_0x27918d){return _0x3af2d9===_0x27918d;},'LWTNz':_0x2ae9fb(0x229),'esPVK':function(_0x505d35,_0x32087a){return _0x505d35(_0x32087a);}};try{const _0xcfc7ba=this[_0x2ae9fb(0x1ab)];this[_0x2ae9fb(0x1ab)]=_0x4001ba,_0x4001ba[_0x2ae9fb(0x17d)]=null,_0x4001ba[_0x2ae9fb(0x203)]=_0x188a33[_0x2ae9fb(0x24c)](uuidv4),_0x4001ba['started_at']=new Date()[_0x2ae9fb(0x140)](),_0x188a33[_0x2ae9fb(0x163)](_0x4001ba[_0x2ae9fb(0x181)],0x0)&&_0xcfc7ba&&_0x188a33[_0x2ae9fb(0x166)](_0xcfc7ba[_0x2ae9fb(0x178)],_0x4001ba[_0x2ae9fb(0x178)])?(_0x4001ba['retryOf']=_0xcfc7ba[_0x2ae9fb(0x203)],await this['sendTestRunEvent'](_0x4001ba,undefined,![],_0x188a33[_0x2ae9fb(0x247)]),_0xcfc7ba[_0x2ae9fb(0x1c9)]=STATE_FAILED,await this['sendTestRunEvent'](_0xcfc7ba,undefined,!![])):await this[_0x2ae9fb(0x13b)](_0x4001ba,undefined,![],_0x188a33[_0x2ae9fb(0x247)]);}catch(_0x26d86d){_0x188a33[_0x2ae9fb(0x20f)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x26d86d);}};['sendTestRunEvent']=async(_0x6cd85d,_0x6f2501=undefined,_0x4e9b5b=![],_0x4bd980=a27_0x14c4ea(0x12e))=>{const _0x12ba3d=a27_0x14c4ea,_0x2a7975={'MOSRC':function(_0x270275,_0x14a6d9){return _0x270275===_0x14a6d9;},'QcWvv':function(_0x52201a,_0x5e8620){return _0x52201a!==_0x5e8620;},'NInfK':_0x12ba3d(0x213),'CrpQO':_0x12ba3d(0x200),'Jhfwb':function(_0x1d16db,_0x226cea){return _0x1d16db!==_0x226cea;},'PgkNi':function(_0x2f3960,_0xad2554){return _0x2f3960!==_0xad2554;},'UyOXZ':_0x12ba3d(0x1c4),'LxyrG':'Mocha','HqriL':_0x12ba3d(0x142),'ipKDq':function(_0x4bc237,_0x5962a7){return _0x4bc237===_0x5962a7;},'wwgUQ':_0x12ba3d(0x18c),'RxHdi':_0x12ba3d(0x196),'gOFCe':function(_0x627d7d,_0x5d801a){return _0x627d7d-_0x5d801a;},'eOGiG':_0x12ba3d(0x1ec),'UEDdj':_0x12ba3d(0x15e),'OpHjL':function(_0x2cc2e1,_0x44c58d){return _0x2cc2e1===_0x44c58d;},'iipyL':_0x12ba3d(0x191),'abcAk':_0x12ba3d(0x1b7),'CrCQh':function(_0x19c411,_0x313779){return _0x19c411(_0x313779);},'RMaBq':function(_0x53cd22,_0xfc9cd0){return _0x53cd22===_0xfc9cd0;},'VMsBE':_0x12ba3d(0x1d5),'CtJAn':function(_0xcd75e1,_0x14f81b){return _0xcd75e1!==_0x14f81b;},'kgMOw':_0x12ba3d(0x226),'BCJmW':_0x12ba3d(0x20a),'UdiMJ':_0x12ba3d(0x1c3),'zBRYC':function(_0x4469f7,_0x15d2c2){return _0x4469f7(_0x15d2c2);},'sKdZx':_0x12ba3d(0x1eb),'KGrSp':_0x12ba3d(0x1be),'BrivN':'backtrace','DLZeQ':_0x12ba3d(0x121),'wIEJO':_0x12ba3d(0x1bc),'VuAFS':_0x12ba3d(0x12e),'gvLrb':function(_0x4a8999,_0x21c92e){return _0x4a8999(_0x21c92e);},'veaTq':function(_0x1f763a,_0x5b2659){return _0x1f763a===_0x5b2659;},'RZTDl':_0x12ba3d(0x1fd),'gwiZn':_0x12ba3d(0x170),'ZnnYc':_0x12ba3d(0x218),'DEwpz':function(_0x2ff8e1,_0x5adf94){return _0x2ff8e1(_0x5adf94);}};try{if(_0x6cd85d[_0x12ba3d(0x125)]&&_0x6cd85d['body']['match'](/browserstack internal helper hook/))return;let _0x31a08d=[];if(_0x2a7975[_0x12ba3d(0x152)](_0x6cd85d[_0x12ba3d(0x1c9)],STATE_FAILED)){if(_0x2a7975[_0x12ba3d(0x1aa)](_0x6cd85d[_0x12ba3d(0x200)],undefined))_0x31a08d=_0x6cd85d['err']['multiple']?[_0x6cd85d[_0x12ba3d(0x200)][_0x12ba3d(0x1b1)],_0x2a7975[_0x12ba3d(0x248)]]:[_0x6cd85d[_0x12ba3d(0x200)],_0x2a7975[_0x12ba3d(0x206)]];else _0x2a7975[_0x12ba3d(0x1aa)](_0x6f2501,undefined)?_0x31a08d=[_0x6f2501,_0x2a7975[_0x12ba3d(0x206)]]:_0x31a08d=[];}const _0x24913d=_0x2a7975[_0x12ba3d(0x19d)](_0x6cd85d[_0x12ba3d(0x200)],undefined)?_0x6cd85d[_0x12ba3d(0x200)][_0x12ba3d(0x1b3)]():_0x2a7975[_0x12ba3d(0x184)](_0x6f2501,undefined)?_0x6f2501['toString']():undefined;let _0x49adb2;try{_0x49adb2=this[_0x12ba3d(0x16e)](_0x6cd85d);}catch(_0x245f3d){_0x49adb2=null;}const _0xb5b2e2=_0x49adb2?this[_0x12ba3d(0x21f)](_0x49adb2):null,_0x298de9=_0x49adb2?this[_0x12ba3d(0x17a)]['prefixTestPath'](this[_0x12ba3d(0x16e)](_0x6cd85d)):_0x2a7975[_0x12ba3d(0x22c)],_0x33bdb2={'framework':_0x2a7975[_0x12ba3d(0x16c)],'uuid':_0x6cd85d[_0x12ba3d(0x203)]||_0x6cd85d[_0x12ba3d(0x21b)],'name':_0x6cd85d[_0x12ba3d(0x178)],'body':{'lang':_0x2a7975[_0x12ba3d(0x120)],'code':_0x6cd85d[_0x12ba3d(0x125)]},'scope':this[_0x12ba3d(0x1e1)](_0x6cd85d),'scopes':this[_0x12ba3d(0x139)](_0x6cd85d),'identifier':_0x6cd85d[_0x12ba3d(0x192)](),'file_name':_0x298de9,'vc_filepath':_0xb5b2e2?path['relative'](_0xb5b2e2,_0x49adb2):null,'location':_0x298de9,'result':_0x2a7975[_0x12ba3d(0x19e)](_0x4bd980,_0x2a7975[_0x12ba3d(0x222)])?_0x2a7975[_0x12ba3d(0x1af)]:this[_0x12ba3d(0x1cd)](_0x6cd85d[_0x12ba3d(0x1c9)]),'failure_reason':_0x24913d,'duration_in_ms':_0x6cd85d[_0x12ba3d(0x1e3)]||(_0x4bd980[_0x12ba3d(0x231)](/Finished/)||_0x4bd980[_0x12ba3d(0x231)](/Skipped/)?_0x2a7975[_0x12ba3d(0x241)](Date['now'](),new Date(_0x6cd85d[_0x12ba3d(0x191)])[_0x12ba3d(0x1fe)]()):null),'started_at':_0x6cd85d['started_at'],'finished_at':_0x4bd980['match'](/Finished/)||_0x4bd980[_0x12ba3d(0x231)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x12ba3d(0x1cb)](null,_0x31a08d),'failure_type':!_0x24913d?null:_0x24913d[_0x12ba3d(0x231)](/AssertionError/)?_0x2a7975[_0x12ba3d(0x173)]:_0x2a7975[_0x12ba3d(0x245)],'retry_of':_0x6cd85d[_0x12ba3d(0x17d)]};testhubUtils[_0x12ba3d(0x1a1)](_0x33bdb2,_0x4bd980,_0x6cd85d,FRAMEWORKS[_0x12ba3d(0x18b)]);_0x2a7975[_0x12ba3d(0x1ea)](_0x4bd980,_0x2a7975[_0x12ba3d(0x222)])&&!_0x33bdb2[_0x2a7975[_0x12ba3d(0x1b5)]]&&(_0x33bdb2[_0x2a7975[_0x12ba3d(0x1b5)]]=_0x33bdb2[_0x2a7975[_0x12ba3d(0x123)]]);if(_0x4bd980[_0x12ba3d(0x231)](/HookRun/))[_0x33bdb2[_0x12ba3d(0x1fd)],_0x33bdb2['name']]=_0x2a7975[_0x12ba3d(0x1fb)](getHookDetails,_0x6cd85d['fullTitle']()||_0x6cd85d[_0x12ba3d(0x122)]||_0x6cd85d['title']),_0x2a7975[_0x12ba3d(0x214)](_0x4bd980,_0x2a7975[_0x12ba3d(0x1d1)])&&(_0x2a7975[_0x12ba3d(0x1a9)](_0x33bdb2['result'],_0x2a7975[_0x12ba3d(0x188)])&&(_0x33bdb2[_0x12ba3d(0x205)]=_0x2a7975[_0x12ba3d(0x133)]),_0x2a7975[_0x12ba3d(0x214)](_0x33bdb2[_0x12ba3d(0x1fd)],_0x2a7975[_0x12ba3d(0x1b4)])&&_0x2a7975[_0x12ba3d(0x1ea)](_0x33bdb2['result'],_0x2a7975[_0x12ba3d(0x188)])&&!_0x6cd85d[_0x12ba3d(0x23f)][_0x12ba3d(0x1d7)][_0x12ba3d(0x1f5)]&&(_0x6cd85d['ctx']['currentTest'][_0x12ba3d(0x1f5)]=!![],_0x6cd85d['ctx'][_0x12ba3d(0x1d7)][_0x12ba3d(0x1c9)]=STATE_FAILED,await this['sendTestRunEvent'](_0x6cd85d['ctx']['currentTest'],undefined,!![])));else _0x4bd980[_0x12ba3d(0x231)](/TestRun/)&&_0x2a7975[_0x12ba3d(0x232)](mapTestHooks,_0x6cd85d);const _0xf31d08=_0x33bdb2[_0x2a7975['sKdZx']][0x0];_0xf31d08&&(_0x33bdb2[_0x2a7975[_0x12ba3d(0x1e9)]]=_0xf31d08[_0x2a7975[_0x12ba3d(0x171)]],_0x33bdb2[_0x2a7975[_0x12ba3d(0x12b)]]=_0xf31d08[_0x2a7975[_0x12ba3d(0x21a)]]);[_0x2a7975['VuAFS'],_0x2a7975[_0x12ba3d(0x222)]][_0x12ba3d(0x143)](_0x4bd980)&&(this[_0x12ba3d(0x1a8)]['push'](_0x33bdb2),_0x33bdb2['hooks']=_0x2a7975[_0x12ba3d(0x23e)](getHooksForTest,_0x6cd85d));const _0x2ab3bd={'event_type':_0x2a7975[_0x12ba3d(0x193)](_0x4bd980,_0x2a7975[_0x12ba3d(0x222)])?_0x2a7975['VuAFS']:_0x4bd980};_0x4bd980[_0x12ba3d(0x231)](/HookRun/)?(_0x33bdb2[_0x2a7975[_0x12ba3d(0x215)]]=HOOK_TYPES_MAP[_0x33bdb2[_0x2a7975['RZTDl']]],_0x2ab3bd[_0x2a7975[_0x12ba3d(0x230)]]=_0x33bdb2):_0x2ab3bd[_0x2a7975[_0x12ba3d(0x228)]]=_0x33bdb2,testhubUtils[_0x12ba3d(0x20d)](FRAMEWORKS['MOCHA'],_0x2ab3bd),await SessionHandler['uploadEventData'](_0x2ab3bd);}catch(_0x2c0f1d){_0x2a7975[_0x12ba3d(0x1cc)](debug,_0x12ba3d(0x21c)+_0x4bd980+_0x12ba3d(0x237)+_0x2c0f1d);}};[a27_0x14c4ea(0x21f)](_0x392d16){const _0x1e5ca2=a27_0x14c4ea,_0x126347={};_0x126347[_0x1e5ca2(0x157)]=function(_0x3a2ef1,_0x107319){return _0x3a2ef1===_0x107319;},_0x126347['eiiTu']=_0x1e5ca2(0x14f),_0x126347[_0x1e5ca2(0x202)]=_0x1e5ca2(0x22b);const _0x5e1d18=_0x126347,_0x5da946=path[_0x1e5ca2(0x22d)];if(_0x5e1d18[_0x1e5ca2(0x157)](_0x392d16,null)||_0x5e1d18[_0x1e5ca2(0x157)](_0x392d16,'')||_0x5e1d18['cDuRF'](_0x392d16,_0x5da946))return null;try{return fs[_0x1e5ca2(0x180)](path[_0x1e5ca2(0x235)](_0x392d16,_0x5e1d18['eiiTu'],_0x5e1d18[_0x1e5ca2(0x202)])),_0x392d16;}catch(_0x1abb1b){const _0x231c33=path['dirname'](_0x392d16);return this[_0x1e5ca2(0x21f)](_0x231c33);}}[a27_0x14c4ea(0x13f)]=async _0x331358=>{const _0x4969e6=a27_0x14c4ea,_0x1f3410={'cTjaq':_0x4969e6(0x153),'DpGDJ':function(_0x3439d7,_0xb2df64){return _0x3439d7(_0xb2df64);}};try{this[_0x4969e6(0x136)]&&!this[_0x4969e6(0x136)][_0x4969e6(0x1f5)]&&(_0x331358[_0x4969e6(0x1e8)]=this['current_hook'][_0x4969e6(0x21b)]);!_0x331358[_0x4969e6(0x1e8)]&&this[_0x4969e6(0x1ab)]&&!this[_0x4969e6(0x1ab)][_0x4969e6(0x1f5)]&&(_0x331358[_0x4969e6(0x1a4)]=this[_0x4969e6(0x1ab)]['testAnalyticsId']);if(_0x331358[_0x4969e6(0x1e8)]||_0x331358[_0x4969e6(0x1a4)]){const _0x296744={};_0x296744[_0x4969e6(0x1bd)]=_0x1f3410[_0x4969e6(0x16a)],_0x296744[_0x4969e6(0x12c)]=[_0x331358],await SessionHandler['uploadEventData'](_0x296744);}}catch(_0x5bcef0){_0x1f3410[_0x4969e6(0x242)](debug,_0x4969e6(0x1b0)+_0x5bcef0);}};[a27_0x14c4ea(0x1a2)]=async _0x5eccc8=>{const _0x30619e=a27_0x14c4ea,_0x5c6b27={'fsUjf':'http_response','tkoUO':_0x30619e(0x128),'DjvCE':function(_0x150e2d,_0x3520f8){return _0x150e2d(_0x3520f8);}};try{const _0x1e7ff2={};_0x1e7ff2[_0x30619e(0x24d)]=_0x5eccc8[_0x30619e(0x24d)]||this[_0x30619e(0x1ab)]['testAnalyticsId'],_0x1e7ff2[_0x30619e(0x223)]=_0x5eccc8[_0x5c6b27[_0x30619e(0x1ed)]];const _0x106027=_0x1e7ff2,_0x3d8b5a={};_0x3d8b5a[_0x30619e(0x1bd)]=_0x5c6b27[_0x30619e(0x145)],_0x3d8b5a[_0x30619e(0x218)]=_0x106027,await SessionHandler[_0x30619e(0x1f1)](_0x3d8b5a);}catch(_0x455da3){_0x5c6b27[_0x30619e(0x17b)](debug,_0x30619e(0x1e7)+_0x455da3);}};[a27_0x14c4ea(0x1cd)](_0x66503c){const _0x12afae=a27_0x14c4ea,_0x250de9={};_0x250de9[_0x12afae(0x220)]=_0x12afae(0x20a),_0x250de9['iKkKh']='pending',_0x250de9[_0x12afae(0x23d)]='failed';const _0x1c63d8=_0x250de9,_0x5658f6={};return _0x5658f6[STATE_PASSED]=_0x1c63d8[_0x12afae(0x220)],_0x5658f6[STATE_PENDING]=_0x1c63d8['iKkKh'],_0x5658f6[STATE_FAILED]=_0x1c63d8[_0x12afae(0x23d)],_0x5658f6[_0x66503c];}[a27_0x14c4ea(0x1e1)](_0x5ca21e){const _0x4d8a4c=a27_0x14c4ea,_0xb53dda={};_0xb53dda[_0x4d8a4c(0x1a5)]=function(_0xd9d798,_0x494100){return _0xd9d798-_0x494100;};const _0x2b7294=_0xb53dda,_0x4fd12d=_0x5ca21e['titlePath']();return _0x4fd12d['slice'](0x0,_0x2b7294[_0x4d8a4c(0x1a5)](_0x4fd12d['length'],0x1))[_0x4d8a4c(0x235)]('\x20');}['scopes'](_0x4129e8){const _0x3803b6=a27_0x14c4ea,_0x43e057={};_0x43e057['FBEUc']=function(_0x19a4da,_0x26c0d6){return _0x19a4da-_0x26c0d6;};const _0x2ebe18=_0x43e057,_0x12a7dd=_0x4129e8['titlePath']();return _0x12a7dd[_0x3803b6(0x149)](0x0,_0x2ebe18['FBEUc'](_0x12a7dd[_0x3803b6(0x1ad)],0x1));}['getRootParentFile'](_0x3e9204){const _0x2dc6a7=a27_0x14c4ea,_0x3d800f={};_0x3d800f[_0x2dc6a7(0x1f7)]=function(_0x26527e,_0x22b25a){return _0x26527e>_0x22b25a;};const _0x2f4073=_0x3d800f;if(_0x3e9204[_0x2dc6a7(0x126)])return _0x3e9204[_0x2dc6a7(0x126)];if(_0x3e9204[_0x2dc6a7(0x23f)]){const _0x53bf0f=_0x3e9204['ctx']['currentTest']?this['getRootParentFile'](_0x3e9204[_0x2dc6a7(0x23f)]['currentTest']):null;if(_0x53bf0f)return _0x53bf0f;}if(_0x3e9204[_0x2dc6a7(0x182)]){const _0x2144d1=this['getRootParentFile'](_0x3e9204[_0x2dc6a7(0x182)])||(_0x3e9204['parent']['ctx']&&_0x3e9204[_0x2dc6a7(0x182)]['ctx']['currentTest']?this[_0x2dc6a7(0x16e)](_0x3e9204['parent'][_0x2dc6a7(0x23f)][_0x2dc6a7(0x1d7)]):null);if(_0x2144d1)return _0x2144d1;_0x3e9204[_0x2dc6a7(0x182)][_0x2dc6a7(0x1b2)]&&_0x2f4073['GJCiV'](_0x3e9204[_0x2dc6a7(0x182)][_0x2dc6a7(0x1b2)][_0x2dc6a7(0x1ad)],0x0)&&_0x3e9204[_0x2dc6a7(0x182)][_0x2dc6a7(0x1b2)][_0x2dc6a7(0x1ff)](_0x169d2a=>{const _0x3ced36=_0x2dc6a7,_0x279dc4=_0x169d2a[_0x3ced36(0x23f)]?this['getRootParentFile'](_0x169d2a['ctx']):null;if(_0x279dc4)return _0x279dc4;});}return null;}}module[a27_0x14c4ea(0x16f)]=MyReporter;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x4e3d6b=a28_0xe6a6;(function(_0x460f96,_0x2890a0){const _0x3b5ae4=a28_0xe6a6,_0x51c16f=_0x460f96();while(!![]){try{const _0x3abb55=parseInt(_0x3b5ae4(0xb1))/0x1*(-parseInt(_0x3b5ae4(0x12a))/0x2)+-parseInt(_0x3b5ae4(0x132))/0x3*(parseInt(_0x3b5ae4(0x165))/0x4)+-parseInt(_0x3b5ae4(0x15d))/0x5*(-parseInt(_0x3b5ae4(0x111))/0x6)+parseInt(_0x3b5ae4(0x145))/0x7+parseInt(_0x3b5ae4(0xa2))/0x8*(-parseInt(_0x3b5ae4(0xaf))/0x9)+parseInt(_0x3b5ae4(0xe6))/0xa+parseInt(_0x3b5ae4(0x90))/0xb*(parseInt(_0x3b5ae4(0xda))/0xc);if(_0x3abb55===_0x2890a0)break;else _0x51c16f['push'](_0x51c16f['shift']());}catch(_0x568229){_0x51c16f['push'](_0x51c16f['shift']());}}}(a28_0x2991,0x283da));const chalk=require('chalk'),logger=require('../../helpers/logger')[a28_0x4e3d6b(0xc8)],{default:BrowserStackSetup}=require(a28_0x4e3d6b(0xaa)),helper=require(a28_0x4e3d6b(0x11d)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4e3d6b(0xb7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4e3d6b(0x100)),{requireModule,nestedKeyValue}=require(a28_0x4e3d6b(0x11d)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x4e3d6b(0x92)),collectFiles=requireModule(a28_0x4e3d6b(0x148)),constants=require('../utils/constants');function tag(_0x39d99b,_0x3976b3,_0x21defa,_0x634a86){const _0x4522bd=a28_0x4e3d6b,_0x16ce4b={'KTfAi':function(_0x44fee4,_0x320141){return _0x44fee4+_0x320141;},'EHwkP':function(_0x34b31d,_0x41d9d8){return _0x34b31d(_0x41d9d8);},'RfxfY':function(_0x58509e,_0x272cbf){return _0x58509e+_0x272cbf;},'FrxSu':function(_0x4aad00,_0x4ca901){return _0x4aad00+_0x4ca901;},'elbjI':function(_0x32e57b,_0x57bc05){return _0x32e57b+_0x57bc05;},'EzNPA':function(_0x39811a,_0x1edd90){return _0x39811a+_0x1edd90;}},_0x5b8e53=_0x21defa?'/>':'>',_0x3da9c0=[];let _0x36ea41;for(const _0x2539a9 in _0x3976b3){Object[_0x4522bd(0x174)][_0x4522bd(0xb2)][_0x4522bd(0xa9)](_0x3976b3,_0x2539a9)&&_0x3da9c0[_0x4522bd(0xe7)](_0x16ce4b['KTfAi'](_0x16ce4b['KTfAi'](_0x16ce4b['KTfAi'](_0x2539a9,'=\x22'),_0x16ce4b[_0x4522bd(0x8a)](escape,_0x3976b3[_0x2539a9])),'\x22'));}return _0x36ea41=_0x16ce4b['RfxfY'](_0x16ce4b[_0x4522bd(0x13f)](_0x16ce4b['KTfAi']('<',_0x39d99b),_0x3da9c0[_0x4522bd(0xf8)]?_0x16ce4b[_0x4522bd(0x13f)]('\x20',_0x3da9c0[_0x4522bd(0x144)]('\x20')):''),_0x5b8e53),_0x634a86&&(_0x36ea41+=_0x16ce4b[_0x4522bd(0x87)](_0x16ce4b[_0x4522bd(0x13d)](_0x16ce4b[_0x4522bd(0xe8)](_0x634a86,'</'),_0x39d99b),_0x5b8e53)),_0x36ea41;}let xunitContent='';function xunitWrite(_0x30cfd2){xunitContent+=_0x30cfd2;}function a28_0xe6a6(_0x5e05d2,_0x37ad0f){const _0x29916b=a28_0x2991();return a28_0xe6a6=function(_0xe6a64,_0x4c0396){_0xe6a64=_0xe6a64-0x83;let _0x24ed2e=_0x29916b[_0xe6a64];return _0x24ed2e;},a28_0xe6a6(_0x5e05d2,_0x37ad0f);}function xunitTest(_0x447b84,_0x5b9c04){const _0x320b8b=a28_0x4e3d6b,_0x1fb073={'kIaso':function(_0x4e1229,_0x318807){return _0x4e1229/_0x318807;},'MWzKD':function(_0x209724,_0x59edb5){return _0x209724===_0x59edb5;},'CXJLC':'failed','xZYdM':function(_0x4675fb,_0x584a97){return _0x4675fb+_0x584a97;},'tvAxl':function(_0x441acd,_0x321ffd){return _0x441acd(_0x321ffd);},'PLaGA':function(_0x1c7f96,_0xa97fc1,_0x1f401d,_0x1adfb6,_0x3aaa0e){return _0x1c7f96(_0xa97fc1,_0x1f401d,_0x1adfb6,_0x3aaa0e);},'rwgZP':'testcase','cJALf':function(_0x1578b0,_0x3afa55,_0x35c964,_0x140836,_0x4aff9f){return _0x1578b0(_0x3afa55,_0x35c964,_0x140836,_0x4aff9f);},'PkatS':_0x320b8b(0x135),'JBovu':function(_0x4bd7fa,_0x51d425){return _0x4bd7fa(_0x51d425);},'uzpcc':function(_0x45a447,_0x1ba50c){return _0x45a447(_0x1ba50c);},'UGfpl':function(_0x4652b1,_0x3c80b1,_0x164d5a,_0x4a76a9,_0x36a78f){return _0x4652b1(_0x3c80b1,_0x164d5a,_0x4a76a9,_0x36a78f);},'qIcmd':function(_0x1d928c,_0x3b272a,_0x2f7a28,_0x42b221){return _0x1d928c(_0x3b272a,_0x2f7a28,_0x42b221);},'flmfS':_0x320b8b(0xbd),'APUeb':function(_0xed2d81,_0x32eb75,_0x4ea7c2,_0xdfecd4){return _0xed2d81(_0x32eb75,_0x4ea7c2,_0xdfecd4);}};Base[_0x320b8b(0x146)]=![];var _0x2ed3fb={'classname':_0x447b84[_0x320b8b(0xd5)],'name':_0x447b84['title'],'time':_0x1fb073['kIaso'](_0x447b84[_0x320b8b(0x14f)],0x3e8)||0x0,'platform':_0x5b9c04};if(_0x1fb073[_0x320b8b(0xab)](_0x447b84[_0x320b8b(0x102)],_0x1fb073['CXJLC'])){var _0x179c34=_0x447b84[_0x320b8b(0xff)],_0x40b617=!Base['hideDiff']&&Base[_0x320b8b(0x8d)](_0x179c34)?_0x1fb073[_0x320b8b(0xdb)]('\x0a',Base[_0x320b8b(0xc0)](_0x179c34[_0x320b8b(0xae)],_0x179c34['expected'])):'';_0x1fb073[_0x320b8b(0x125)](xunitWrite,_0x1fb073[_0x320b8b(0x149)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,![],_0x1fb073['cJALf'](tag,_0x1fb073[_0x320b8b(0x91)],{},![],_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0x125)](escape,_0x179c34[_0x320b8b(0xd3)]),_0x1fb073[_0x320b8b(0x125)](escape,_0x40b617)),'\x0a'),_0x1fb073[_0x320b8b(0xad)](escape,_0x179c34[_0x320b8b(0x94)])))));}else _0x447b84[_0x320b8b(0x170)]?_0x1fb073[_0x320b8b(0xee)](xunitWrite,_0x1fb073[_0x320b8b(0x12f)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,![],_0x1fb073[_0x320b8b(0xd0)](tag,_0x1fb073[_0x320b8b(0x95)],{},!![]))):_0x1fb073[_0x320b8b(0xee)](xunitWrite,_0x1fb073[_0x320b8b(0x178)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,!![]));};function getStats(_0x33e172){const _0x441663=a28_0x4e3d6b,_0xf19a94={};_0xf19a94['jxzoM']=_0x441663(0x12b),_0xf19a94[_0x441663(0x9c)]=_0x441663(0x12c),_0xf19a94[_0x441663(0x13b)]=_0x441663(0xfa),_0xf19a94[_0x441663(0xef)]=_0x441663(0xac);const _0xbf23b9=_0xf19a94,_0x5c9c82=Object[_0x441663(0xdf)](_0x33e172);let _0x480830=0x0,_0x4dc066=0x0,_0x48f658=0x0,_0x2f248f=0x0;const _0x56dcd0=new Set();_0x5c9c82[_0x441663(0x141)](_0x1a5194=>{const _0xc9692b=_0x441663,_0x29d0dc={};_0x29d0dc[_0xc9692b(0xeb)]=_0xbf23b9[_0xc9692b(0xcf)],_0x29d0dc[_0xc9692b(0x85)]=_0xbf23b9[_0xc9692b(0x9c)],_0x29d0dc[_0xc9692b(0xc4)]=_0xbf23b9[_0xc9692b(0x13b)];const _0x2623a1=_0x29d0dc;_0x33e172[_0x1a5194][_0xbf23b9[_0xc9692b(0xef)]][_0xc9692b(0x141)](_0x2a6f9e=>{const _0x41ff15=_0xc9692b;_0x56dcd0[_0x41ff15(0x16a)](_0x2a6f9e[_0x2623a1[_0x41ff15(0xeb)]]),_0x480830++;switch(_0x2a6f9e[_0x41ff15(0x102)]){case _0x2623a1[_0x41ff15(0x85)]:_0x48f658++;break;case _0x2623a1[_0x41ff15(0xc4)]:_0x4dc066++;break;default:_0x2f248f++;}});});const _0x2fc630={};return _0x2fc630[_0x441663(0xc7)]=_0x56dcd0[_0x441663(0x16c)],_0x2fc630[_0x441663(0x8f)]=_0x5c9c82,_0x2fc630[_0x441663(0x14a)]=_0x480830,_0x2fc630[_0x441663(0xb6)]=_0x4dc066,_0x2fc630['testsPassed']=_0x48f658,_0x2fc630[_0x441663(0x152)]=_0x2f248f,_0x2fc630;}function errorJSON(_0x3e5a17){const _0x28a3a0=a28_0x4e3d6b;var _0xd92a9b={};return Object[_0x28a3a0(0x131)](_0x3e5a17)[_0x28a3a0(0x141)](function(_0x4f2ae4){_0xd92a9b[_0x4f2ae4]=_0x3e5a17[_0x4f2ae4];},_0x3e5a17),_0xd92a9b;}function cleanCycles(_0x473b29){const _0x4d5b8a=a28_0x4e3d6b,_0x23831c={};_0x23831c[_0x4d5b8a(0xa7)]=function(_0x4c0950,_0x249f0d){return _0x4c0950===_0x249f0d;},_0x23831c['ChYIF']=_0x4d5b8a(0x84),_0x23831c[_0x4d5b8a(0x172)]=function(_0x1e2b25,_0x329095){return _0x1e2b25!==_0x329095;},_0x23831c[_0x4d5b8a(0x15e)]=function(_0x1df09b,_0x338427){return _0x1df09b!==_0x338427;},_0x23831c[_0x4d5b8a(0xfd)]=function(_0x5f0a9b,_0x39dde5){return _0x5f0a9b+_0x39dde5;};const _0x2ca175=_0x23831c;var _0x112fe3=[];return JSON[_0x4d5b8a(0x15a)](JSON[_0x4d5b8a(0x15f)](_0x473b29,function(_0x194da0,_0x29cbe4){const _0x4f6160=_0x4d5b8a;if(_0x2ca175[_0x4f6160(0xa7)](typeof _0x29cbe4,_0x2ca175['ChYIF'])&&_0x2ca175[_0x4f6160(0x172)](_0x29cbe4,null)){if(_0x2ca175[_0x4f6160(0x15e)](_0x112fe3['indexOf'](_0x29cbe4),-0x1))return _0x2ca175['QrWCp']('',_0x29cbe4);_0x112fe3['push'](_0x29cbe4);}return _0x29cbe4;}));}function clean(_0x31121d){const _0x143904=a28_0x4e3d6b,_0x179397={'UpgYp':function(_0x1d2de2,_0x1e7cba){return _0x1d2de2 instanceof _0x1e7cba;},'nQTRR':function(_0x222f53,_0x5cb2b1){return _0x222f53(_0x5cb2b1);}};var _0x54723a=_0x31121d[_0x143904(0xff)]||{};return _0x179397[_0x143904(0x10a)](_0x54723a,Error)&&(_0x54723a=_0x179397[_0x143904(0x13e)](errorJSON,_0x54723a)),{'title':_0x31121d[_0x143904(0x93)],'fullTitle':_0x31121d[_0x143904(0xd5)],'file':_0x31121d[_0x143904(0xc3)],'duration':_0x31121d['duration'],'currentRetry':_0x31121d[_0x143904(0x11a)],'speed':_0x31121d[_0x143904(0xf1)],'err':_0x179397[_0x143904(0x13e)](cleanCycles,_0x54723a)};}function printStats(_0x236ec0,_0xc15653=a28_0x4e3d6b(0xb3),_0x3f5e2f={}){const _0x4bf060=a28_0x4e3d6b,_0x2c2f4b={'fiMLG':function(_0x241b77,_0x40fb72){return _0x241b77(_0x40fb72);},'YhJHK':function(_0x3d936e,_0x47a6a7){return _0x3d936e===_0x47a6a7;},'MGjuj':_0x4bf060(0x12c),'hgQzo':_0x4bf060(0xba),'PYEdy':function(_0x350c26,_0x2536f4){return _0x350c26(_0x2536f4);},'qwwCy':function(_0xb4c152,_0x95629e){return _0xb4c152===_0x95629e;},'hrlAA':_0x4bf060(0xfa),'kbGWO':_0x4bf060(0x96),'LpgpW':function(_0xa3e2f,_0x2ebfb2){return _0xa3e2f(_0x2ebfb2);},'IYXRa':_0x4bf060(0x17f),'VdtGS':_0x4bf060(0xac),'ydweV':function(_0x1f388a,_0x1b1872){return _0x1f388a===_0x1b1872;},'nGbAU':function(_0x1a3b13,_0x7b5162){return _0x1a3b13===_0x7b5162;},'DetPj':function(_0x2c8fca,_0x129aa4){return _0x2c8fca*_0x129aa4;},'fLvSo':function(_0x22539b,_0xbebfc3,_0x2c46fc){return _0x22539b(_0xbebfc3,_0x2c46fc);},'hfFnn':function(_0x3d2735,_0xf54ecd){return _0x3d2735===_0xf54ecd;},'viZQq':function(_0xc9cf23,_0xb5ffbc){return _0xc9cf23>_0xb5ffbc;},'kDsaq':function(_0x1facdc){return _0x1facdc();},'ZlAdc':_0x4bf060(0x17c),'qKyeq':function(_0x121111,_0xd4f34c){return _0x121111(_0xd4f34c);},'BKhnz':function(_0x227513,_0x1c9de6){return _0x227513>_0x1c9de6;},'QCJpK':_0x4bf060(0x120),'aVeYa':'Printing\x20stats\x20of\x20tests','DamnE':function(_0x3fb893,_0x3a69bc){return _0x3fb893+_0x3a69bc;},'beVwy':_0x4bf060(0xe4),'dDzal':_0x4bf060(0x129),'fjTsy':_0x4bf060(0x15c),'uHztV':function(_0x1681cb,_0x30c65c){return _0x1681cb>_0x30c65c;},'kRrwU':function(_0x2c1676,_0x5e2ec8){return _0x2c1676+_0x5e2ec8;},'PeHJb':function(_0x4234bc,_0x263df9){return _0x4234bc+_0x263df9;},'nDIuI':_0x4bf060(0xd8),'mlZEM':function(_0x23ba7a,_0x3cb40b){return _0x23ba7a===_0x3cb40b;},'oCnnk':_0x4bf060(0x14d),'YvIrB':_0x4bf060(0x17e),'MsgCW':_0x4bf060(0xc9),'ZOmxs':_0x4bf060(0xf4),'wIklF':_0x4bf060(0x97),'iVFxW':_0x4bf060(0xf5),'fhUSr':function(_0x1c6eda,_0x10d7ec){return _0x1c6eda||_0x10d7ec;},'ONYuV':function(_0x3967f1,_0x3cbab3,_0x364310,_0x1ebf55){return _0x3967f1(_0x3cbab3,_0x364310,_0x1ebf55);},'BDbRq':_0x4bf060(0x183),'qnWLa':function(_0x1364eb,_0x1fd444){return _0x1364eb-_0x1fd444;},'WqsiZ':function(_0x1aeab6,_0x15f08b){return _0x1aeab6-_0x15f08b;},'tnXVR':function(_0x56cde4,_0x33ea2d){return _0x56cde4/_0x33ea2d;},'POcKb':function(_0xc7f93b,_0x580dfd){return _0xc7f93b(_0x580dfd);},'BoqDa':'</testsuite>','tgvJs':_0x4bf060(0x13a),'JkYoA':_0x4bf060(0x17a),'uviXo':_0x4bf060(0x156),'PsdlJ':_0x4bf060(0x166),'lcwLS':_0x4bf060(0x14b)};if(_0x2c2f4b[_0x4bf060(0x147)](_0xc15653,_0x2c2f4b[_0x4bf060(0x11e)]))return;const _0x9cbdc9=0x0,_0x2c66e3=()=>{const _0x5b4058=_0x4bf060;return _0x2c2f4b[_0x5b4058(0xb0)](Array,_0x9cbdc9)[_0x5b4058(0x144)]('\x20\x20');},{testSuites:_0x25636b,platforms:_0x18e31d,totalTests:_0x4dc435,testsFailed:_0x2b5bdc,testsPassed:_0x540dc3,testsPending:_0x586f60}=_0x2c2f4b[_0x4bf060(0x138)](getStats,_0x236ec0);_0x2c2f4b[_0x4bf060(0xf0)](_0x2b5bdc,0x0)&&(logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x12d)]),process[_0x4bf060(0x98)]=Math['min'](_0x2b5bdc,0xff));logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0xd2)]);const _0x2c4475=''+_0x2c2f4b['DamnE'](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0x182)]),_0x18e31d[_0x4bf060(0xf8)]),_0x261b6f=''+_0x2c2f4b[_0x4bf060(0x160)](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0xa4)]),_0x25636b),_0x5e725d=''+_0x2c2f4b[_0x4bf060(0x160)](_0x2c2f4b['DamnE'](_0x2c2f4b[_0x4bf060(0x160)](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0xd4)]),_0x2c2f4b[_0x4bf060(0x153)](_0x2b5bdc,0x0)?chalk['bold'][_0x4bf060(0x16d)](_0x2b5bdc+_0x4bf060(0x14e))+',\x20':''),_0x2c2f4b[_0x4bf060(0xfc)](_0x586f60,0x0)?chalk[_0x4bf060(0xe9)][_0x4bf060(0xb9)](_0x586f60+'\x20skipped')+',\x20':''),_0x2c2f4b[_0x4bf060(0x153)](_0x540dc3,0x0)?chalk[_0x4bf060(0xe9)][_0x4bf060(0x17d)](_0x540dc3+_0x4bf060(0x101))+',\x20':'')+_0x4dc435+'\x20total';console[_0x4bf060(0x107)](_0x2c2f4b[_0x4bf060(0x158)](_0x2c2f4b[_0x4bf060(0x16b)](_0x2c2f4b['DamnE'](_0x2c2f4b[_0x4bf060(0x16b)](_0x2c2f4b[_0x4bf060(0x160)](_0x2c2f4b[_0x4bf060(0x115)],_0x2c4475),'\x0a'),_0x261b6f),'\x0a'),_0x5e725d));if(_0x2c2f4b[_0x4bf060(0xa3)](_0xc15653,_0x2c2f4b[_0x4bf060(0xf6)])){const _0x327a5f={},_0x136e35={};_0x136e35[_0x4bf060(0xc7)]=_0x25636b,_0x136e35[_0x4bf060(0x8f)]=_0x18e31d,_0x136e35[_0x4bf060(0xb6)]=_0x2b5bdc,_0x136e35[_0x4bf060(0x103)]=_0x540dc3,_0x136e35[_0x4bf060(0x152)]=_0x586f60,_0x327a5f['stats']=_0x136e35,_0x18e31d[_0x4bf060(0x141)](_0x3c2992=>{const _0x2c8ca0=_0x4bf060;_0x327a5f[_0x3c2992]={'pending':[],'failures':[],'passes':[],'tests':_0x236ec0[_0x3c2992][_0x2c2f4b['VdtGS']][_0x2c8ca0(0x150)](clean)},_0x236ec0[_0x3c2992][_0x2c2f4b['VdtGS']][_0x2c8ca0(0x141)](_0x59e6af=>{const _0x592526=_0x2c8ca0;if(_0x2c2f4b[_0x592526(0xc6)](_0x59e6af[_0x592526(0x102)],_0x2c2f4b['MGjuj']))_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0x106)]][_0x592526(0xe7)](_0x2c2f4b[_0x592526(0x143)](clean,_0x59e6af));else _0x2c2f4b[_0x592526(0xf7)](_0x59e6af[_0x592526(0x102)],_0x2c2f4b[_0x592526(0x119)])?_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0x16e)]]['push'](_0x2c2f4b['LpgpW'](clean,_0x59e6af)):_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0xbc)]][_0x592526(0xe7)](_0x2c2f4b['fiMLG'](clean,_0x59e6af));});});if(_0x3f5e2f[_0x4bf060(0x173)])try{logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x139)],_0x3f5e2f['output']),fs[_0x4bf060(0xc1)](_0x3f5e2f[_0x4bf060(0x173)],JSON[_0x4bf060(0x15f)](_0x327a5f,null,0x3));}catch(_0x5b8d6a){logger[_0x4bf060(0x128)](_0x2c2f4b['MsgCW'],_0x3f5e2f['output']),logger[_0x4bf060(0x15b)](_0x5b8d6a);}else logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0xd9)]),console['log'](JSON['stringify'](_0x327a5f,null,0x3));}else{if(_0x2c2f4b[_0x4bf060(0x8b)](_0xc15653,_0x2c2f4b['wIklF'])){let _0x196004;const _0x528b41=_0x2c2f4b['iVFxW'];_0x3f5e2f&&(_0x196004=_0x3f5e2f[_0x4bf060(0x10c)]);_0x196004=_0x2c2f4b[_0x4bf060(0x11b)](_0x196004,_0x528b41);let _0x2db20d=0x0,_0x242caa=0x0,_0x179d22=0x0,_0x348fcb=0x0;_0x18e31d[_0x4bf060(0x141)](_0x220115=>{const _0x1e53ef=_0x4bf060,_0x1feec3={'zGyQS':function(_0x20409c,_0x1e9bf9){const _0xdf78d5=a28_0xe6a6;return _0x2c2f4b[_0xdf78d5(0x112)](_0x20409c,_0x1e9bf9);},'ZkPBO':_0x2c2f4b[_0x1e53ef(0xcb)],'uQMYH':function(_0x5b3cc1,_0x35cf98){return _0x2c2f4b['nGbAU'](_0x5b3cc1,_0x35cf98);},'LqVGq':_0x2c2f4b[_0x1e53ef(0x119)],'WNtvo':function(_0x3aac9f,_0x5ed985){return _0x2c2f4b['DetPj'](_0x3aac9f,_0x5ed985);}};_0x236ec0[_0x220115][_0x2c2f4b[_0x1e53ef(0x8c)]]['forEach'](_0x2a2e69=>{const _0x47b181=_0x1e53ef;if(_0x1feec3['zGyQS'](_0x2a2e69[_0x47b181(0x102)],_0x1feec3[_0x47b181(0x163)]))_0x2db20d++;else _0x1feec3[_0x47b181(0x8e)](_0x2a2e69[_0x47b181(0x102)],_0x1feec3[_0x47b181(0x10e)])&&_0x242caa++;_0x179d22++,_0x348fcb+=_0x1feec3['WNtvo'](_0x2a2e69[_0x47b181(0x14f)],0x1);});}),_0x2c2f4b[_0x4bf060(0x143)](xunitWrite,_0x2c2f4b[_0x4bf060(0xc2)](tag,_0x2c2f4b[_0x4bf060(0x86)],{'name':_0x196004,'tests':_0x179d22,'failures':0x0,'errors':_0x242caa,'skipped':_0x2c2f4b[_0x4bf060(0xec)](_0x2c2f4b['WqsiZ'](_0x179d22,_0x242caa),_0x2db20d),'timestamp':new Date()[_0x4bf060(0xe2)](),'time':_0x2c2f4b[_0x4bf060(0xe0)](_0x348fcb,0x3e8)||0x0},![])),_0x18e31d[_0x4bf060(0x141)](_0xcf33b7=>{const _0x38d345=_0x4bf060;_0x236ec0[_0xcf33b7][_0x2c2f4b[_0x38d345(0x8c)]][_0x38d345(0x141)](_0x2558c6=>{_0x2c2f4b['fLvSo'](xunitTest,_0x2558c6,_0xcf33b7);});}),_0x2c2f4b[_0x4bf060(0xc5)](xunitWrite,_0x2c2f4b[_0x4bf060(0xce)]);if(_0x3f5e2f[_0x4bf060(0x173)])try{logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x171)],_0x3f5e2f[_0x4bf060(0x173)]),fs[_0x4bf060(0xc1)](_0x3f5e2f[_0x4bf060(0x173)],xunitContent);}catch(_0x4355bc){logger['error'](_0x2c2f4b[_0x4bf060(0x127)],_0x3f5e2f['output']),logger[_0x4bf060(0x15b)](_0x4355bc);}else logger['debug'](_0x2c2f4b[_0x4bf060(0x9d)]),console[_0x4bf060(0x107)](xunitContent);}else{if(_0x2c2f4b[_0x4bf060(0x112)](_0x2b5bdc,0x0))return;console['log'](),logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x126)]),console[_0x4bf060(0x107)](chalk[_0x4bf060(0xe9)]['bgRedBright'](_0x2c2f4b[_0x4bf060(0x12e)])),_0x18e31d['forEach'](_0x163447=>{const _0x3ceb77=_0x4bf060,_0x135f96=[];_0x236ec0[_0x163447][_0x2c2f4b[_0x3ceb77(0x8c)]][_0x3ceb77(0x141)](_0x3555a9=>{const _0x52ada7=_0x3ceb77;_0x2c2f4b[_0x52ada7(0x147)](_0x3555a9[_0x52ada7(0x102)],_0x2c2f4b['hrlAA'])&&(_0x3555a9[_0x52ada7(0x9e)]=()=>_0x3555a9[_0x52ada7(0x181)],_0x135f96[_0x52ada7(0xe7)](_0x3555a9));}),_0x2c2f4b[_0x3ceb77(0x153)](_0x135f96[_0x3ceb77(0xf8)],0x0)&&(Base[_0x3ceb77(0x168)](),Base['consoleLog'](_0x2c2f4b['kDsaq'](_0x2c66e3),chalk[_0x3ceb77(0xe9)][_0x3ceb77(0x122)](_0x163447)),Base[_0x3ceb77(0x169)](_0x135f96));});}}}async function run(_0x5b55c3,_0x276fe8){const _0x57c7b1=a28_0x4e3d6b,_0x3769bb={'gPXVv':function(_0x293c59,_0x4300af,_0x469397,_0x29e7f2){return _0x293c59(_0x4300af,_0x469397,_0x29e7f2);},'eRNtb':'reporter-option','dAiVJ':_0x57c7b1(0x133),'YXokM':_0x57c7b1(0x137),'iuUmQ':_0x57c7b1(0xd1),'ZNadI':_0x57c7b1(0x162),'bEgSX':_0x57c7b1(0x121),'QKNRI':function(_0x723503,_0xbee5cb){return _0x723503!=_0xbee5cb;},'tExps':'cjs','SCJvr':_0x57c7b1(0xde),'CRXFf':'test','IhAEo':_0x57c7b1(0x180),'FQyjq':function(_0x56d692,_0x283dcd){return _0x56d692(_0x283dcd);},'cTULz':function(_0xca56a0,_0x494557,_0x214899){return _0xca56a0(_0x494557,_0x214899);},'KenmY':_0x57c7b1(0x9f),'ShXIO':_0x57c7b1(0xf9),'CRuRR':_0x57c7b1(0xa8),'bQRlU':function(_0x280c86,_0x5422b0,_0x593802,_0x3b630c){return _0x280c86(_0x5422b0,_0x593802,_0x3b630c);},'IkNbX':function(_0x5189de,_0x4e0fc5){return _0x5189de*_0x4e0fc5;},'ykKiZ':function(_0x56c329,_0x21b95a){return _0x56c329(_0x21b95a);},'xXERq':function(_0x53319d,_0x2fb69d){return _0x53319d!==_0x2fb69d;},'Twkfp':function(_0x18e2ac,_0x4e6f74,_0x538b59,_0x3364c2){return _0x18e2ac(_0x4e6f74,_0x538b59,_0x3364c2);}};process['argv'][_0x57c7b1(0xa1)](_0x3769bb['ZNadI'])&&(process[_0x57c7b1(0xea)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x57c7b1(0xfe)]['includes'](_0x3769bb[_0x57c7b1(0x116)])&&(process[_0x57c7b1(0xea)]['BROWSERSTACK_AUTOMATION']=![]);const _0x9e23a0=new BrowserStackSetup(_0x5b55c3,_0x3769bb[_0x57c7b1(0x142)]);helper['isBrowserstackInfra']()?(await _0x9e23a0[_0x57c7b1(0x118)](),await helper[_0x57c7b1(0x159)](_0x9e23a0[_0x57c7b1(0xb8)])):await _0x9e23a0[_0x57c7b1(0x176)]();const _0x1b0909=[];let _0x536901=[];if(!_0x9e23a0['config'])return;_0x3769bb[_0x57c7b1(0x10f)](_0x9e23a0['config'][_0x57c7b1(0x109)],null)&&(process[_0x57c7b1(0xea)][_0x57c7b1(0xdd)]=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0x109)]);!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xb4)])&&(process['env'][_0x57c7b1(0x10b)]=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xb4)]);!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xcc)])&&(process[_0x57c7b1(0xea)][_0x57c7b1(0x110)]=JSON['stringify'](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xcc)]));const {extension:extension=['js',_0x3769bb[_0x57c7b1(0x89)],_0x3769bb['SCJvr']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3769bb['CRXFf']]}=_0x5b55c3,_0x1d2f84={..._0x5b55c3};_0x1d2f84[_0x57c7b1(0xe1)]=null;const _0x47425b=_0x1d2f84;let _0x4d7513;if(testOpsHelper[_0x57c7b1(0xe5)]()&&testOpsHelper[_0x57c7b1(0x13c)]()){let _0x36a420=process[_0x57c7b1(0xea)][_0x57c7b1(0xd7)];!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0x104)])&&_0x9e23a0[_0x57c7b1(0x104)][_0x57c7b1(0xf2)](_0x3769bb[_0x57c7b1(0x179)])&&(_0x36a420=_0x9e23a0['cliConfig'][_0x57c7b1(0x124)](_0x3769bb['IhAEo'])),_0x4d7513=testOpsHelper[_0x57c7b1(0xbf)](_0x36a420);}if(helper['isUndefined'](_0x4d7513)){const _0x1031da={};_0x1031da[_0x57c7b1(0xe3)]=ignore,_0x1031da[_0x57c7b1(0x155)]=extension,_0x1031da[_0x57c7b1(0xc3)]=file,_0x1031da[_0x57c7b1(0x130)]=recursive,_0x1031da[_0x57c7b1(0x151)]=sort,_0x1031da[_0x57c7b1(0xb3)]=spec,_0x4d7513=_0x3769bb[_0x57c7b1(0x177)](collectFiles,_0x1031da),_0x3769bb[_0x57c7b1(0xfb)](nestedKeyValue,_0x4d7513,[_0x3769bb['KenmY']])&&(_0x4d7513=_0x4d7513[_0x57c7b1(0x9f)]);}helper['markSDKSetupComplete']();if(!helper[_0x57c7b1(0x10d)]()){const _0x49f374=0x1,_0x4e479e={..._0x47425b};_0x4e479e[_0x57c7b1(0xb3)]=[..._0x4d7513],_0x1b0909[_0x57c7b1(0xe7)]({'mochaOpts':_0x4e479e,'configuration':{'platform':os[_0x57c7b1(0x83)]()}}),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x117)]),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x105)]),_0x3769bb[_0x57c7b1(0x11f)](parallelTestRun,_0x1b0909,_0x49f374,_0x9e23a0)[_0x57c7b1(0x113)](_0x3c6f01=>{const _0x1039a5=_0x57c7b1;_0x3769bb[_0x1039a5(0xa6)](printStats,_0x3c6f01,_0x5b55c3[_0x1039a5(0xca)],_0x5b55c3['reporterOptions']||_0x5b55c3[_0x3769bb[_0x1039a5(0x99)]]);})[_0x57c7b1(0x164)](()=>{const _0x4d45ec=_0x57c7b1;try{const {browserstackFolderPath:_0x4b7f4d,tcgConfigPath:_0x319c23}=helper[_0x4d45ec(0xf3)]();fs[_0x4d45ec(0xcd)](_0x319c23),fs[_0x4d45ec(0xd6)](_0x4b7f4d);}catch(_0x5d64bf){logger['debug'](_0x3769bb[_0x4d45ec(0x9a)],_0x5d64bf);}try{utilities[_0x4d45ec(0xed)](_0x3769bb['YXokM'],{},_0x9e23a0[_0x4d45ec(0xb8)],_0x9e23a0['framework']);}catch(_0x5e9659){logger[_0x4d45ec(0x15b)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x5e9659);}try{helper[_0x4d45ec(0x175)]();}catch(_0x90d399){logger[_0x4d45ec(0x15b)](_0x4d45ec(0x114)+_0x90d399);}testOpsHelper['printBuildLink']();});}else{const _0x5cad7f=helper[_0x57c7b1(0xa5)](_0x9e23a0['config']),_0x7726b2=helper['getHubUrl'](_0x9e23a0[_0x57c7b1(0xb8)]);_0x536901=helper['prepareCapabilities'](_0x9e23a0[_0x57c7b1(0xb8)],_0x5cad7f,constants['FRAMEWORKS'][_0x57c7b1(0x154)]);let _0x388ef2;const _0x27003f=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xa0)]||helper[_0x57c7b1(0x108)](_0x5b55c3,_0x276fe8,_0x9e23a0[_0x57c7b1(0xb8)],constants[_0x57c7b1(0x16f)][_0x57c7b1(0x154)])||0x1;helper['validPlatformsPresent'](_0x9e23a0['config'])?_0x388ef2=_0x3769bb[_0x57c7b1(0x157)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0x8f)][_0x57c7b1(0xf8)],_0x27003f):_0x388ef2=_0x27003f;const _0x290bff=_0x3769bb['ykKiZ'](getPercyOptions,_0x9e23a0['config']);if(_0x3769bb[_0x57c7b1(0x14c)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xa0)],0x1))_0x4d7513[_0x57c7b1(0x141)](_0x1ccf91=>{const _0x3662ea=_0x57c7b1,_0x24f49a=[];_0x536901[_0x3662ea(0x141)]((_0x3c9fdd,_0x5a8c56)=>{const _0xc9ae08=_0x3662ea,_0x1638cc={};_0x1638cc[_0xc9ae08(0xb3)]=[_0x1ccf91],_0x24f49a[_0xc9ae08(0xe7)]({'mochaOpts':Object[_0xc9ae08(0x167)]({},_0x47425b,_0x1638cc),'configuration':{'server':_0x7726b2,'capability':_0x3c9fdd,'proxySettings':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x9b)],'platform':helper['getPlatformName'](_0x3c9fdd),'browserStackLogLevel':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x161)],'platformIndex':_0x5a8c56,'browserStackPercyOptions':_0x290bff,'platformCaps':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x8f)][_0x5a8c56]}});}),_0x1b0909[_0x3662ea(0xe7)](..._0x24f49a);});else{const _0xb93dc7=[];_0x536901[_0x57c7b1(0x141)]((_0x1f8249,_0x24375c)=>{const _0x516303=_0x57c7b1;let _0x45f509=Object[_0x516303(0x167)]({},_0x47425b);testOpsHelper[_0x516303(0xe5)]()&&testOpsHelper[_0x516303(0x13c)]()&&(_0x45f509={..._0x45f509,'spec':[..._0x4d7513]}),_0xb93dc7[_0x516303(0xe7)]({'mochaOpts':_0x45f509,'configuration':{'server':_0x7726b2,'capability':_0x1f8249,'proxySettings':_0x9e23a0[_0x516303(0xb8)][_0x516303(0x9b)],'platform':helper[_0x516303(0x136)](_0x1f8249),'browserStackLogLevel':_0x9e23a0['config']['logLevel'],'platformIndex':_0x24375c,'browserStackPercyOptions':_0x290bff,'platformCaps':_0x9e23a0['config'][_0x516303(0x8f)][_0x24375c]}});}),_0x1b0909['push'](..._0xb93dc7);}logger['info'](_0x57c7b1(0x17b)+_0x9e23a0['config'][_0x57c7b1(0x8f)]['length']+_0x57c7b1(0x123)),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x105)]);let _0x3e0298;_0x3769bb[_0x57c7b1(0xbe)](parallelTestRun,_0x1b0909,_0x388ef2,_0x9e23a0)[_0x57c7b1(0x113)](_0x4a137f=>{const _0x569361=_0x57c7b1;_0x3e0298=_0x4a137f,_0x3769bb['gPXVv'](printStats,_0x4a137f,_0x5b55c3[_0x569361(0xca)],_0x5b55c3[_0x569361(0xbb)]||_0x5b55c3[_0x3769bb[_0x569361(0x99)]]);})[_0x57c7b1(0x164)](async()=>{const _0x37705f=_0x57c7b1;_0x9e23a0[_0x37705f(0x134)]=helper['getErrorMessageFromResults'](_0x3e0298,_0x3769bb['iuUmQ']),await utilities[_0x37705f(0xdc)](_0x9e23a0),testOpsHelper['printBuildLink']();});}}module[a28_0x4e3d6b(0x11c)]=run;function a28_0x2991(){const _0x5b23c4=['CRuRR','hgQzo','log','getUserWorkerCount','testObservability','UpgYp','BROWSERSTACK_TEST_ACCESSIBILITY_YML','suiteName','isBrowserstackInfra','LqVGq','QKNRI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','103920lCUpWP','ydweV','then','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','nDIuI','bEgSX','ShXIO','initialize','hrlAA','currentRetry','fhUSr','exports','../../helpers/helper','ZlAdc','bQRlU','Setting\x20non\x20exit\x20code\x20for\x20failures','--disable-browserstack-automation','bgBlueBright','\x20platforms','get','tvAxl','PsdlJ','JkYoA','error','Total\x20Suites:\x20','10tapNuW','suite','passed','QCJpK','lcwLS','UGfpl','recursive','getOwnPropertyNames','36120LaSQjZ','error\x20removing\x20tcg\x20config\x20file','errorMessage','failure','getPlatformName','SDKTestSuccessful','qKyeq','YvIrB','Writing\x20xunit\x20result\x20to\x20file','vQaaC','shouldReRunObservabilityTests','elbjI','nQTRR','RfxfY','isUndefined','forEach','iuUmQ','PYEdy','join','1847209DiWcGN','useColors','hfFnn','mocha/lib/cli/collect-files.js','PLaGA','totalTests','****\x20FAILURES\x20****','xXERq','json','\x20failed','duration','map','sort','testsPending','viZQq','MOCHA','extension','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','IkNbX','kRrwU','handleApp','parse','debug','Tests:\x20\x20\x20\x20\x20\x20\x20','10fOFpxL','nWKQp','stringify','DamnE','logLevel','--disable-test-observability','ZkPBO','finally','56YDQmEV','Listing\x20all\x20the\x20failures','assign','consoleLog','list','add','PeHJb','size','red','kbGWO','FRAMEWORKS','isPending','tgvJs','BLaWB','output','prototype','notifyUpdate','setupTCGAuth','FQyjq','APUeb','IhAEo','Couldn\x27t\x20write\x20xunit\x20result\x20to','Running\x20your\x20mocha\x20tests\x20across\x20','doc','green','Writing\x20json\x20result\x20to\x20file','pending','rerunTests','titlePathV','beVwy','testsuite','platform','object','USWkS','BDbRq','FrxSu','rwgZP','tExps','EHwkP','nGbAU','VdtGS','showDiff','uQMYH','platforms','77PneZcG','PkatS','mocha/lib/reporters/base.js','title','stack','flmfS','failures','xunit','exitCode','eRNtb','dAiVJ','proxySettings','wIydY','uviXo','titlePath','files','parallelsPerPlatform','includes','136fwvqTx','mlZEM','dDzal','useW3C','gPXVv','FdgXb','Now,\x20showing\x20logs\x20from\x20mocha','call','../../helpers/BrowserStackSetup','MWzKD','results','JBovu','actual','115389dqhAsz','fiMLG','7871rwiGfm','hasOwnProperty','spec','accessibility','info','testsFailed','../../helpers/test-observability/utils','config','yellow','passes','reporterOptions','IYXRa','skipped','Twkfp','parseFileNames','generateDiff','writeFileSync','ONYuV','file','qjAMA','POcKb','YhJHK','testSuites','winstonLogger','Couldn\x27t\x20write\x20json\x20result\x20to','reporter','MGjuj','accessibilityOptions','unlinkSync','BoqDa','jxzoM','qIcmd','mocha','aVeYa','message','fjTsy','fullTitle','rmdirSync','BROWSERSTACK_RERUN_TESTS','\x0a\x0a\x0a','ZOmxs','365664kYPqTB','xZYdM','finalExecution','BROWSERSTACK_TEST_OBSERVABILITY_YML','mjs','keys','tnXVR','rootHooks','toUTCString','ignore','Total\x20Platforms:\x20','isTestObservabilitySession','788670tLipkb','push','EzNPA','bold','env','gnVeT','qnWLa','fireFunnelTestEvent','uzpcc','PjhEC','BKhnz','speed','has','getTCGConfigFilePaths','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','Mocha\x20Tests','oCnnk','qwwCy','length','Running\x20your\x20mocha\x20tests','failed','cTULz','uHztV','QrWCp','argv','err','../test-runner','\x20passed','state','testsPassed','cliConfig'];a28_0x2991=function(){return _0x5b23c4;};return a28_0x2991();}
|
|
2
|
+
'use strict';const a28_0xeb66db=a28_0x557c;(function(_0x4147c3,_0x3d7491){const _0x4b4380=a28_0x557c,_0x1cde08=_0x4147c3();while(!![]){try{const _0x2df9dc=-parseInt(_0x4b4380(0x1e0))/0x1*(parseInt(_0x4b4380(0x1d5))/0x2)+-parseInt(_0x4b4380(0x2ac))/0x3*(parseInt(_0x4b4380(0x1bc))/0x4)+parseInt(_0x4b4380(0x263))/0x5+-parseInt(_0x4b4380(0x1d2))/0x6+-parseInt(_0x4b4380(0x1ed))/0x7*(parseInt(_0x4b4380(0x2ab))/0x8)+-parseInt(_0x4b4380(0x29b))/0x9*(-parseInt(_0x4b4380(0x215))/0xa)+-parseInt(_0x4b4380(0x1cd))/0xb*(-parseInt(_0x4b4380(0x254))/0xc);if(_0x2df9dc===_0x3d7491)break;else _0x1cde08['push'](_0x1cde08['shift']());}catch(_0x2cf757){_0x1cde08['push'](_0x1cde08['shift']());}}}(a28_0x160c,0x23dbd));const chalk=require(a28_0xeb66db(0x269)),logger=require(a28_0xeb66db(0x27f))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0xeb66db(0x1e6)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0xeb66db(0x1b2)),{requireModule,nestedKeyValue}=require(a28_0xeb66db(0x213)),{getPercyOptions}=require(a28_0xeb66db(0x1f9)),Base=requireModule(a28_0xeb66db(0x246)),collectFiles=requireModule('mocha/lib/cli/collect-files.js'),constants=require(a28_0xeb66db(0x239));function tag(_0x10fe1c,_0x2c6578,_0x59775b,_0x14f712){const _0x1c390d=a28_0xeb66db,_0x3f2190={'sXUQy':function(_0x175556,_0x290a33){return _0x175556+_0x290a33;},'xfQWb':function(_0x3fe4e2,_0x152b58){return _0x3fe4e2+_0x152b58;},'DRSrv':function(_0xa1a98,_0x1ceda3){return _0xa1a98+_0x1ceda3;},'bVgUO':function(_0x26f45f,_0x36bd04){return _0x26f45f(_0x36bd04);},'DyxqV':function(_0x4c5940,_0x1d2f35){return _0x4c5940+_0x1d2f35;},'CrzFZ':function(_0x4fba30,_0x5c225e){return _0x4fba30+_0x5c225e;},'iYRhJ':function(_0x40d53d,_0x1ebf8e){return _0x40d53d+_0x1ebf8e;},'XQeir':function(_0x2e0340,_0x5e3527){return _0x2e0340+_0x5e3527;}},_0x4d63c7=_0x59775b?'/>':'>',_0x22ccab=[];let _0x287ce1;for(const _0x458a82 in _0x2c6578){Object[_0x1c390d(0x28b)]['hasOwnProperty'][_0x1c390d(0x1be)](_0x2c6578,_0x458a82)&&_0x22ccab['push'](_0x3f2190[_0x1c390d(0x1e3)](_0x3f2190[_0x1c390d(0x1c5)](_0x3f2190[_0x1c390d(0x284)](_0x458a82,'=\x22'),_0x3f2190[_0x1c390d(0x1f1)](escape,_0x2c6578[_0x458a82])),'\x22'));}return _0x287ce1=_0x3f2190[_0x1c390d(0x1cb)](_0x3f2190['CrzFZ'](_0x3f2190[_0x1c390d(0x1d6)]('<',_0x10fe1c),_0x22ccab['length']?_0x3f2190['XQeir']('\x20',_0x22ccab[_0x1c390d(0x1c1)]('\x20')):''),_0x4d63c7),_0x14f712&&(_0x287ce1+=_0x3f2190[_0x1c390d(0x1cb)](_0x3f2190['sXUQy'](_0x3f2190['sXUQy'](_0x14f712,'</'),_0x10fe1c),_0x4d63c7)),_0x287ce1;}let xunitContent='';function xunitWrite(_0xf0c516){xunitContent+=_0xf0c516;}function xunitTest(_0x26ea63,_0x7d4a43){const _0x17f643=a28_0xeb66db,_0x1296dd={'AqSXP':function(_0x298d23,_0x262252){return _0x298d23/_0x262252;},'QIloj':function(_0x1b7943,_0x5f194){return _0x1b7943===_0x5f194;},'kiCsc':_0x17f643(0x22b),'gTUTZ':function(_0x32e6e2,_0x3945b8){return _0x32e6e2+_0x3945b8;},'kVJLG':function(_0xf18f6a,_0x16b33c){return _0xf18f6a(_0x16b33c);},'yhxdF':function(_0x1ee912,_0x43bb48,_0x4a7d3a,_0x256c09,_0x185c6a){return _0x1ee912(_0x43bb48,_0x4a7d3a,_0x256c09,_0x185c6a);},'UGVan':_0x17f643(0x1f4),'ZdynS':_0x17f643(0x24d),'tGhln':function(_0x1e3627,_0xef07cb){return _0x1e3627+_0xef07cb;},'ubTDb':function(_0x374117,_0x3c287d){return _0x374117+_0x3c287d;},'DgRUN':function(_0x3a9cef,_0x44ad50){return _0x3a9cef+_0x44ad50;},'QMBtO':function(_0x3fc6dd,_0x5adb62){return _0x3fc6dd(_0x5adb62);},'qsEOE':function(_0x1c8fb4,_0x16adef){return _0x1c8fb4(_0x16adef);},'gnSDC':function(_0x347398,_0x1e79a4,_0x238870,_0x2e195b){return _0x347398(_0x1e79a4,_0x238870,_0x2e195b);},'ahAZE':_0x17f643(0x28a),'gXYLf':function(_0x29033b,_0x384e6c,_0x2bc5c6,_0x1d6eab){return _0x29033b(_0x384e6c,_0x2bc5c6,_0x1d6eab);}};Base[_0x17f643(0x20e)]=![];var _0x4944c6={'classname':_0x26ea63[_0x17f643(0x1de)],'name':_0x26ea63['title'],'time':_0x1296dd[_0x17f643(0x1ec)](_0x26ea63[_0x17f643(0x1b3)],0x3e8)||0x0,'platform':_0x7d4a43};if(_0x1296dd['QIloj'](_0x26ea63['state'],_0x1296dd[_0x17f643(0x28c)])){var _0x2d755d=_0x26ea63[_0x17f643(0x204)],_0x361a20=!Base[_0x17f643(0x293)]&&Base[_0x17f643(0x20f)](_0x2d755d)?_0x1296dd['gTUTZ']('\x0a',Base[_0x17f643(0x238)](_0x2d755d[_0x17f643(0x290)],_0x2d755d[_0x17f643(0x2a3)])):'';_0x1296dd['kVJLG'](xunitWrite,_0x1296dd[_0x17f643(0x26e)](tag,_0x1296dd[_0x17f643(0x243)],_0x4944c6,![],_0x1296dd[_0x17f643(0x26e)](tag,_0x1296dd[_0x17f643(0x22e)],{},![],_0x1296dd['tGhln'](_0x1296dd[_0x17f643(0x26f)](_0x1296dd[_0x17f643(0x26b)](_0x1296dd[_0x17f643(0x25c)](escape,_0x2d755d[_0x17f643(0x292)]),_0x1296dd[_0x17f643(0x25c)](escape,_0x361a20)),'\x0a'),_0x1296dd[_0x17f643(0x202)](escape,_0x2d755d[_0x17f643(0x1cc)])))));}else _0x26ea63[_0x17f643(0x21d)]?_0x1296dd[_0x17f643(0x1e2)](xunitWrite,_0x1296dd['yhxdF'](tag,_0x1296dd[_0x17f643(0x243)],_0x4944c6,![],_0x1296dd[_0x17f643(0x214)](tag,_0x1296dd[_0x17f643(0x27c)],{},!![]))):_0x1296dd[_0x17f643(0x25c)](xunitWrite,_0x1296dd[_0x17f643(0x1d4)](tag,_0x1296dd['UGVan'],_0x4944c6,!![]));};function getStats(_0x28948e){const _0xd3b8bc=a28_0xeb66db,_0x44d9d0={};_0x44d9d0[_0xd3b8bc(0x224)]=_0xd3b8bc(0x2a5),_0x44d9d0[_0xd3b8bc(0x1c4)]=_0xd3b8bc(0x211),_0x44d9d0['whMcJ']=_0xd3b8bc(0x22b),_0x44d9d0[_0xd3b8bc(0x249)]=_0xd3b8bc(0x268);const _0x2124b7=_0x44d9d0,_0x2bb0a4=Object[_0xd3b8bc(0x201)](_0x28948e);let _0x3c9dc4=0x0,_0x46f629=0x0,_0xaaffb=0x0,_0x12f804=0x0;const _0x15956=new Set();_0x2bb0a4['forEach'](_0xd3b3ac=>{const _0x96a6de=_0xd3b8bc;_0x28948e[_0xd3b3ac][_0x2124b7[_0x96a6de(0x249)]]['forEach'](_0x12156a=>{const _0x3c4b62=_0x96a6de;_0x15956[_0x3c4b62(0x1b6)](_0x12156a[_0x2124b7['dQkef']]),_0x3c9dc4++;switch(_0x12156a[_0x3c4b62(0x25f)]){case _0x2124b7['YmxjE']:_0xaaffb++;break;case _0x2124b7[_0x3c4b62(0x228)]:_0x46f629++;break;default:_0x12f804++;}});});const _0xb74b20={};return _0xb74b20[_0xd3b8bc(0x273)]=_0x15956[_0xd3b8bc(0x2aa)],_0xb74b20[_0xd3b8bc(0x1da)]=_0x2bb0a4,_0xb74b20[_0xd3b8bc(0x29a)]=_0x3c9dc4,_0xb74b20[_0xd3b8bc(0x1b5)]=_0x46f629,_0xb74b20[_0xd3b8bc(0x267)]=_0xaaffb,_0xb74b20[_0xd3b8bc(0x1c2)]=_0x12f804,_0xb74b20;}function a28_0x557c(_0x47a986,_0x442a39){const _0x160c27=a28_0x160c();return a28_0x557c=function(_0x557ce3,_0x44e091){_0x557ce3=_0x557ce3-0x1b1;let _0x5e1564=_0x160c27[_0x557ce3];return _0x5e1564;},a28_0x557c(_0x47a986,_0x442a39);}function errorJSON(_0x2b8d1b){const _0x1d89ab=a28_0xeb66db;var _0x1c64c5={};return Object[_0x1d89ab(0x287)](_0x2b8d1b)[_0x1d89ab(0x22c)](function(_0x56bfbe){_0x1c64c5[_0x56bfbe]=_0x2b8d1b[_0x56bfbe];},_0x2b8d1b),_0x1c64c5;}function cleanCycles(_0x165b22){const _0x20e4ad=a28_0xeb66db,_0x34dbaf={};_0x34dbaf[_0x20e4ad(0x1e7)]=function(_0x209596,_0x57fe13){return _0x209596===_0x57fe13;},_0x34dbaf['ZMMZl']=_0x20e4ad(0x299),_0x34dbaf[_0x20e4ad(0x1dd)]=function(_0x13196e,_0x4429be){return _0x13196e!==_0x4429be;},_0x34dbaf[_0x20e4ad(0x1fc)]=function(_0x9d0ede,_0x4792a5){return _0x9d0ede+_0x4792a5;};const _0x23f9e8=_0x34dbaf;var _0x2c1ba6=[];return JSON[_0x20e4ad(0x266)](JSON[_0x20e4ad(0x26c)](_0x165b22,function(_0x33164d,_0x57452a){const _0x823012=_0x20e4ad;if(_0x23f9e8['jntaF'](typeof _0x57452a,_0x23f9e8['ZMMZl'])&&_0x23f9e8[_0x823012(0x1dd)](_0x57452a,null)){if(_0x23f9e8[_0x823012(0x1dd)](_0x2c1ba6[_0x823012(0x1f6)](_0x57452a),-0x1))return _0x23f9e8['RtoAH']('',_0x57452a);_0x2c1ba6[_0x823012(0x207)](_0x57452a);}return _0x57452a;}));}function clean(_0x21fc51){const _0x3b5fec=a28_0xeb66db,_0x508b0d={'SXspt':function(_0x2f601a,_0x18c665){return _0x2f601a instanceof _0x18c665;},'hbyht':function(_0x582318,_0x25ac4a){return _0x582318(_0x25ac4a);},'broBM':function(_0x3b01a,_0x217681){return _0x3b01a(_0x217681);}};var _0x5d39d0=_0x21fc51[_0x3b5fec(0x204)]||{};return _0x508b0d[_0x3b5fec(0x1ef)](_0x5d39d0,Error)&&(_0x5d39d0=_0x508b0d['hbyht'](errorJSON,_0x5d39d0)),{'title':_0x21fc51[_0x3b5fec(0x288)],'fullTitle':_0x21fc51['fullTitle'],'file':_0x21fc51[_0x3b5fec(0x1ba)],'duration':_0x21fc51[_0x3b5fec(0x1b3)],'currentRetry':_0x21fc51['currentRetry'],'speed':_0x21fc51[_0x3b5fec(0x227)],'err':_0x508b0d['broBM'](cleanCycles,_0x5d39d0)};}function printStats(_0x5e62cf,_0x32d545=a28_0xeb66db(0x24f),_0x34488a={}){const _0x5076e5=a28_0xeb66db,_0x32c139={'Ssplz':function(_0x2bdd08,_0x21395c){return _0x2bdd08(_0x21395c);},'XrYyx':function(_0x595063,_0x47479d){return _0x595063===_0x47479d;},'EEslo':_0x5076e5(0x211),'TAXyd':_0x5076e5(0x275),'GbiUj':_0x5076e5(0x22b),'COpnL':_0x5076e5(0x241),'ZoFrQ':_0x5076e5(0x1fd),'muyWW':function(_0x36bfe9,_0x518817){return _0x36bfe9(_0x518817);},'AxCac':_0x5076e5(0x268),'FJnyc':function(_0x57b319,_0x4a66c0){return _0x57b319===_0x4a66c0;},'WBQVk':function(_0x142ddd,_0x2c0a72){return _0x142ddd*_0x2c0a72;},'mTkGn':function(_0x5224e9,_0x2b1ebb,_0x2bb218){return _0x5224e9(_0x2b1ebb,_0x2bb218);},'qlSPj':function(_0x16421b,_0x1849d4){return _0x16421b===_0x1849d4;},'XNkVF':function(_0x4fb8bf,_0x56fbc1){return _0x4fb8bf>_0x56fbc1;},'gAhHp':function(_0xfd7ad2){return _0xfd7ad2();},'GywGu':_0x5076e5(0x23f),'XbMLC':function(_0x283fb4,_0x41dbe2){return _0x283fb4(_0x41dbe2);},'utgEi':function(_0x28e60c,_0x39fd28){return _0x28e60c>_0x39fd28;},'rdsyo':_0x5076e5(0x223),'uHXSm':_0x5076e5(0x1ea),'freNT':function(_0x52f8aa,_0x10ad36){return _0x52f8aa+_0x10ad36;},'WySbd':_0x5076e5(0x281),'NNrxL':_0x5076e5(0x20b),'bagMK':_0x5076e5(0x21b),'kfmmz':function(_0x2d71a5,_0x430fc9){return _0x2d71a5>_0x430fc9;},'zhNVp':function(_0x2bff26,_0x51038d){return _0x2bff26>_0x51038d;},'dwwGN':function(_0x5314f1,_0x493a4a){return _0x5314f1>_0x493a4a;},'ghwhc':function(_0x5b9b74,_0x37a925){return _0x5b9b74+_0x37a925;},'vjJSl':_0x5076e5(0x1c3),'SXjtd':'json','epDFX':_0x5076e5(0x26d),'eXazX':_0x5076e5(0x217),'tvAnF':_0x5076e5(0x271),'zwrgY':function(_0x253539,_0x511bb4){return _0x253539===_0x511bb4;},'Gbcgr':_0x5076e5(0x231),'xYbcR':_0x5076e5(0x1d8),'dUYnP':function(_0x31b13d,_0xc0fc7b){return _0x31b13d||_0xc0fc7b;},'isHsR':function(_0x6017a4,_0x2360b8,_0x4dc50a,_0x118443){return _0x6017a4(_0x2360b8,_0x4dc50a,_0x118443);},'uycWB':'testsuite','YsTer':function(_0x2ae4a5,_0x39f36a){return _0x2ae4a5-_0x39f36a;},'nwNyT':function(_0x1b56f9,_0xb47578){return _0x1b56f9/_0xb47578;},'UJZJF':_0x5076e5(0x1fa),'ELjNd':'Writing\x20xunit\x20result\x20to\x20file','XymiS':_0x5076e5(0x1dc),'RuNAy':_0x5076e5(0x23b),'mILIZ':_0x5076e5(0x29c),'fMSNw':'****\x20FAILURES\x20****'};if(_0x32c139['XrYyx'](_0x32d545,_0x32c139[_0x5076e5(0x25d)]))return;const _0x26f9dc=0x0,_0x54a9f8=()=>{const _0x4911a9=_0x5076e5;return _0x32c139['Ssplz'](Array,_0x26f9dc)[_0x4911a9(0x1c1)]('\x20\x20');},{testSuites:_0x19806f,platforms:_0x3bb3d1,totalTests:_0x3b3611,testsFailed:_0x165f4d,testsPassed:_0x4adba3,testsPending:_0x5adf41}=_0x32c139[_0x5076e5(0x1df)](getStats,_0x5e62cf);_0x32c139[_0x5076e5(0x2a1)](_0x165f4d,0x0)&&(logger[_0x5076e5(0x1bf)](_0x32c139['rdsyo']),process[_0x5076e5(0x220)]=Math[_0x5076e5(0x28d)](_0x165f4d,0xff));logger[_0x5076e5(0x1bf)](_0x32c139['uHXSm']);const _0xdf3343=''+_0x32c139[_0x5076e5(0x296)](chalk[_0x5076e5(0x205)](_0x32c139[_0x5076e5(0x282)]),_0x3bb3d1['length']),_0x470ae1=''+_0x32c139['freNT'](chalk[_0x5076e5(0x205)](_0x32c139[_0x5076e5(0x1fe)]),_0x19806f),_0x24da9a=''+_0x32c139['freNT'](_0x32c139[_0x5076e5(0x296)](_0x32c139[_0x5076e5(0x296)](chalk[_0x5076e5(0x205)](_0x32c139[_0x5076e5(0x251)]),_0x32c139[_0x5076e5(0x1ce)](_0x165f4d,0x0)?chalk[_0x5076e5(0x205)][_0x5076e5(0x297)](_0x165f4d+_0x5076e5(0x257))+',\x20':''),_0x32c139['zhNVp'](_0x5adf41,0x0)?chalk[_0x5076e5(0x205)][_0x5076e5(0x29d)](_0x5adf41+_0x5076e5(0x1eb))+',\x20':''),_0x32c139['dwwGN'](_0x4adba3,0x0)?chalk[_0x5076e5(0x205)][_0x5076e5(0x1b7)](_0x4adba3+'\x20passed')+',\x20':'')+_0x3b3611+_0x5076e5(0x248);console[_0x5076e5(0x20c)](_0x32c139[_0x5076e5(0x296)](_0x32c139[_0x5076e5(0x296)](_0x32c139[_0x5076e5(0x296)](_0x32c139[_0x5076e5(0x296)](_0x32c139[_0x5076e5(0x24a)](_0x32c139[_0x5076e5(0x255)],_0xdf3343),'\x0a'),_0x470ae1),'\x0a'),_0x24da9a));if(_0x32c139[_0x5076e5(0x274)](_0x32d545,_0x32c139[_0x5076e5(0x286)])){const _0x1e789a={},_0x40ea8b={};_0x40ea8b[_0x5076e5(0x273)]=_0x19806f,_0x40ea8b['platforms']=_0x3bb3d1,_0x40ea8b[_0x5076e5(0x1b5)]=_0x165f4d,_0x40ea8b[_0x5076e5(0x267)]=_0x4adba3,_0x40ea8b[_0x5076e5(0x1c2)]=_0x5adf41,_0x1e789a['stats']=_0x40ea8b,_0x3bb3d1[_0x5076e5(0x22c)](_0x2c8ae7=>{const _0x1a0639=_0x5076e5,_0xe6c643={'Dydxr':function(_0x103a85,_0x1319da){const _0x16ca8f=a28_0x557c;return _0x32c139[_0x16ca8f(0x229)](_0x103a85,_0x1319da);},'WiBvb':_0x32c139['EEslo'],'tWwWc':_0x32c139['TAXyd'],'TIoii':function(_0x518774,_0x43430c){const _0x163989=a28_0x557c;return _0x32c139[_0x163989(0x22a)](_0x518774,_0x43430c);},'JanFc':_0x32c139[_0x1a0639(0x26a)],'BTZCX':_0x32c139[_0x1a0639(0x283)],'RWDSD':_0x32c139[_0x1a0639(0x2ad)],'ZSyBL':function(_0x450bad,_0xc5859c){const _0x51ac8c=_0x1a0639;return _0x32c139[_0x51ac8c(0x24c)](_0x450bad,_0xc5859c);}};_0x1e789a[_0x2c8ae7]={'pending':[],'failures':[],'passes':[],'tests':_0x5e62cf[_0x2c8ae7][_0x32c139[_0x1a0639(0x2a7)]][_0x1a0639(0x21c)](clean)},_0x5e62cf[_0x2c8ae7][_0x32c139['AxCac']]['forEach'](_0xf83ffa=>{const _0xaf8a29=_0x1a0639;if(_0xe6c643['Dydxr'](_0xf83ffa[_0xaf8a29(0x25f)],_0xe6c643[_0xaf8a29(0x1b4)]))_0x1e789a[_0x2c8ae7][_0xe6c643[_0xaf8a29(0x1c6)]][_0xaf8a29(0x207)](_0xe6c643[_0xaf8a29(0x216)](clean,_0xf83ffa));else _0xe6c643[_0xaf8a29(0x23d)](_0xf83ffa['state'],_0xe6c643[_0xaf8a29(0x28f)])?_0x1e789a[_0x2c8ae7][_0xe6c643[_0xaf8a29(0x23a)]][_0xaf8a29(0x207)](_0xe6c643[_0xaf8a29(0x216)](clean,_0xf83ffa)):_0x1e789a[_0x2c8ae7][_0xe6c643[_0xaf8a29(0x259)]][_0xaf8a29(0x207)](_0xe6c643[_0xaf8a29(0x226)](clean,_0xf83ffa));});});if(_0x34488a[_0x5076e5(0x27b)])try{logger[_0x5076e5(0x1bf)](_0x32c139[_0x5076e5(0x1d0)],_0x34488a[_0x5076e5(0x27b)]),fs[_0x5076e5(0x24b)](_0x34488a[_0x5076e5(0x27b)],JSON['stringify'](_0x1e789a,null,0x3));}catch(_0x2761bd){logger[_0x5076e5(0x20a)](_0x32c139[_0x5076e5(0x1c8)],_0x34488a[_0x5076e5(0x27b)]),logger[_0x5076e5(0x1bf)](_0x2761bd);}else logger[_0x5076e5(0x1bf)](_0x32c139['tvAnF']),console[_0x5076e5(0x20c)](JSON[_0x5076e5(0x26c)](_0x1e789a,null,0x3));}else{if(_0x32c139[_0x5076e5(0x1f8)](_0x32d545,_0x32c139[_0x5076e5(0x233)])){let _0x199a35;const _0x5839c0=_0x32c139[_0x5076e5(0x291)];_0x34488a&&(_0x199a35=_0x34488a[_0x5076e5(0x1bb)]);_0x199a35=_0x32c139[_0x5076e5(0x221)](_0x199a35,_0x5839c0);let _0x376d37=0x0,_0x423e1b=0x0,_0x80314c=0x0,_0x374fbd=0x0;_0x3bb3d1[_0x5076e5(0x22c)](_0xf0fa0f=>{const _0x2be7c1=_0x5076e5,_0x430844={'CnGVV':function(_0x358c07,_0x491e08){return _0x32c139['XrYyx'](_0x358c07,_0x491e08);},'nEgKv':_0x32c139['EEslo'],'MyaRr':function(_0x5712b8,_0x5a6a41){return _0x32c139['FJnyc'](_0x5712b8,_0x5a6a41);},'kQOHf':_0x32c139[_0x2be7c1(0x26a)],'KLsHb':function(_0x55e198,_0x49f20b){const _0x4e0ab9=_0x2be7c1;return _0x32c139[_0x4e0ab9(0x298)](_0x55e198,_0x49f20b);}};_0x5e62cf[_0xf0fa0f][_0x32c139['AxCac']][_0x2be7c1(0x22c)](_0x9ebd2e=>{const _0x1adaf0=_0x2be7c1;if(_0x430844['CnGVV'](_0x9ebd2e[_0x1adaf0(0x25f)],_0x430844[_0x1adaf0(0x2a6)]))_0x376d37++;else _0x430844[_0x1adaf0(0x1ff)](_0x9ebd2e[_0x1adaf0(0x25f)],_0x430844[_0x1adaf0(0x206)])&&_0x423e1b++;_0x80314c++,_0x374fbd+=_0x430844['KLsHb'](_0x9ebd2e[_0x1adaf0(0x1b3)],0x1);});}),_0x32c139['Ssplz'](xunitWrite,_0x32c139[_0x5076e5(0x1f3)](tag,_0x32c139['uycWB'],{'name':_0x199a35,'tests':_0x80314c,'failures':0x0,'errors':_0x423e1b,'skipped':_0x32c139['YsTer'](_0x32c139[_0x5076e5(0x234)](_0x80314c,_0x423e1b),_0x376d37),'timestamp':new Date()[_0x5076e5(0x222)](),'time':_0x32c139[_0x5076e5(0x22f)](_0x374fbd,0x3e8)||0x0},![])),_0x3bb3d1[_0x5076e5(0x22c)](_0x5a516c=>{const _0x50aa1f={'dsABA':function(_0x531161,_0x382ef4,_0x178020){const _0x3525de=a28_0x557c;return _0x32c139[_0x3525de(0x203)](_0x531161,_0x382ef4,_0x178020);}};_0x5e62cf[_0x5a516c][_0x32c139['AxCac']]['forEach'](_0x639d33=>{_0x50aa1f['dsABA'](xunitTest,_0x639d33,_0x5a516c);});}),_0x32c139[_0x5076e5(0x1df)](xunitWrite,_0x32c139[_0x5076e5(0x25b)]);if(_0x34488a[_0x5076e5(0x27b)])try{logger[_0x5076e5(0x1bf)](_0x32c139[_0x5076e5(0x24e)],_0x34488a[_0x5076e5(0x27b)]),fs['writeFileSync'](_0x34488a[_0x5076e5(0x27b)],xunitContent);}catch(_0x66137c){logger[_0x5076e5(0x20a)](_0x32c139['XymiS'],_0x34488a[_0x5076e5(0x27b)]),logger['debug'](_0x66137c);}else logger[_0x5076e5(0x1bf)](_0x32c139[_0x5076e5(0x258)]),console['log'](xunitContent);}else{if(_0x32c139[_0x5076e5(0x274)](_0x165f4d,0x0))return;console['log'](),logger[_0x5076e5(0x1bf)](_0x32c139[_0x5076e5(0x272)]),console[_0x5076e5(0x20c)](chalk[_0x5076e5(0x205)]['bgRedBright'](_0x32c139['fMSNw'])),_0x3bb3d1[_0x5076e5(0x22c)](_0x10b417=>{const _0x47865b=_0x5076e5,_0x134401=[];_0x5e62cf[_0x10b417][_0x32c139['AxCac']][_0x47865b(0x22c)](_0x46c163=>{const _0x5a6e8b=_0x47865b;_0x32c139[_0x5a6e8b(0x2af)](_0x46c163['state'],_0x32c139['GbiUj'])&&(_0x46c163[_0x5a6e8b(0x278)]=()=>_0x46c163['titlePathV'],_0x134401[_0x5a6e8b(0x207)](_0x46c163));}),_0x32c139['XNkVF'](_0x134401[_0x47865b(0x1c9)],0x0)&&(Base['consoleLog'](),Base[_0x47865b(0x1ee)](_0x32c139[_0x47865b(0x235)](_0x54a9f8),chalk['bold'][_0x47865b(0x230)](_0x10b417)),Base['list'](_0x134401));});}}}async function run(_0x56701b,_0x4691a8){const _0x289390=a28_0xeb66db,_0x2b67f6={'OVywl':function(_0x32c185,_0x5a6f38,_0x2fc9ef,_0x4f5783){return _0x32c185(_0x5a6f38,_0x2fc9ef,_0x4f5783);},'rMxBG':_0x289390(0x289),'EgdOg':_0x289390(0x1f2),'fZqxS':_0x289390(0x27a),'aAfre':_0x289390(0x252),'otfYC':_0x289390(0x261),'XZJoh':'--disable-browserstack-automation','QRHLJ':function(_0x269231,_0x225bd6){return _0x269231!=_0x225bd6;},'IwsWY':_0x289390(0x27e),'fvqzt':_0x289390(0x1ca),'LywbM':'test','avoWL':_0x289390(0x1c7),'YzKHt':function(_0x148124,_0x33941c){return _0x148124(_0x33941c);},'WXfKq':function(_0x242e67,_0x4f8bf1,_0xe02058){return _0x242e67(_0x4f8bf1,_0xe02058);},'PNyYd':_0x289390(0x1f7),'wHkyO':_0x289390(0x2a0),'XbYki':_0x289390(0x209),'nWjlF':function(_0x531f23,_0x53bff9){return _0x531f23*_0x53bff9;},'uOIcm':function(_0x3cf08b,_0x4e6cbf){return _0x3cf08b!==_0x4e6cbf;}};process[_0x289390(0x232)][_0x289390(0x245)](_0x2b67f6[_0x289390(0x1f0)])&&(process[_0x289390(0x2a8)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x289390(0x232)]['includes'](_0x2b67f6[_0x289390(0x1d1)])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x1db269=new BrowserStackSetup(_0x56701b,_0x2b67f6['aAfre']);helper['isBrowserstackInfra']()?(await _0x1db269[_0x289390(0x25e)](),await helper[_0x289390(0x29e)](_0x1db269[_0x289390(0x20d)])):await _0x1db269[_0x289390(0x237)]();const _0x18645f=[];let _0x153170=[];if(!_0x1db269[_0x289390(0x20d)])return;_0x2b67f6[_0x289390(0x285)](_0x1db269[_0x289390(0x20d)][_0x289390(0x1e8)],null)&&(process['env'][_0x289390(0x1fb)]=_0x1db269[_0x289390(0x20d)][_0x289390(0x1e8)]);!helper[_0x289390(0x218)](_0x1db269[_0x289390(0x20d)][_0x289390(0x21a)])&&(process[_0x289390(0x2a8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1db269['config']['accessibility']);!helper[_0x289390(0x218)](_0x1db269[_0x289390(0x20d)][_0x289390(0x2a4)])&&(process[_0x289390(0x2a8)][_0x289390(0x256)]=JSON[_0x289390(0x26c)](_0x1db269[_0x289390(0x20d)][_0x289390(0x2a4)]));const {extension:extension=['js',_0x2b67f6[_0x289390(0x1cf)],_0x2b67f6[_0x289390(0x23c)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x2b67f6[_0x289390(0x276)]]}=_0x56701b,_0x4fbad4={..._0x56701b};_0x4fbad4[_0x289390(0x208)]=null;const _0x30ac94=_0x4fbad4;let _0x548cfe;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x289390(0x1f5)]()){let _0xd8780e=process[_0x289390(0x2a8)][_0x289390(0x1db)];!helper[_0x289390(0x218)](_0x1db269[_0x289390(0x260)])&&_0x1db269['cliConfig'][_0x289390(0x2ae)](_0x2b67f6[_0x289390(0x28e)])&&(_0xd8780e=_0x1db269[_0x289390(0x260)][_0x289390(0x210)](_0x2b67f6[_0x289390(0x28e)])),_0x548cfe=testOpsHelper[_0x289390(0x21e)](_0xd8780e);}if(helper[_0x289390(0x218)](_0x548cfe)){const _0x577357={};_0x577357[_0x289390(0x225)]=ignore,_0x577357[_0x289390(0x240)]=extension,_0x577357[_0x289390(0x1ba)]=file,_0x577357[_0x289390(0x219)]=recursive,_0x577357[_0x289390(0x244)]=sort,_0x577357[_0x289390(0x24f)]=spec,_0x548cfe=_0x2b67f6[_0x289390(0x1e9)](collectFiles,_0x577357),_0x2b67f6['WXfKq'](nestedKeyValue,_0x548cfe,[_0x2b67f6[_0x289390(0x280)]])&&(_0x548cfe=_0x548cfe[_0x289390(0x1f7)]);}helper[_0x289390(0x277)]();if(!helper[_0x289390(0x29f)]()){const _0x23ae22=0x1,_0x467c62={..._0x30ac94};_0x467c62[_0x289390(0x24f)]=[..._0x548cfe],_0x18645f[_0x289390(0x207)]({'mochaOpts':_0x467c62,'configuration':{'platform':os[_0x289390(0x1b9)]()}}),logger[_0x289390(0x264)](_0x2b67f6[_0x289390(0x23e)]),logger[_0x289390(0x264)](_0x2b67f6[_0x289390(0x294)]),_0x2b67f6[_0x289390(0x2b0)](parallelTestRun,_0x18645f,_0x23ae22,_0x1db269)[_0x289390(0x1d9)](_0x3e0114=>{const _0x109c23=_0x289390;_0x2b67f6[_0x109c23(0x2b0)](printStats,_0x3e0114,_0x56701b['reporter'],_0x56701b[_0x109c23(0x27d)]||_0x56701b[_0x2b67f6['rMxBG']]);})[_0x289390(0x1b1)](()=>{const _0x253d0b=_0x289390;try{const {browserstackFolderPath:_0x403761,tcgConfigPath:_0x893964}=helper['getTCGConfigFilePaths']();fs[_0x253d0b(0x1d3)](_0x893964),fs['rmdirSync'](_0x403761);}catch(_0x39b93b){logger['debug'](_0x2b67f6[_0x253d0b(0x279)],_0x39b93b);}try{utilities[_0x253d0b(0x1d7)](_0x2b67f6[_0x253d0b(0x1e5)],{},_0x1db269[_0x253d0b(0x20d)],_0x1db269['framework']);}catch(_0x2bfdeb){logger[_0x253d0b(0x1bf)](_0x253d0b(0x270)+_0x2bfdeb);}try{helper['notifyUpdate']();}catch(_0x2dcb65){logger[_0x253d0b(0x1bf)](_0x253d0b(0x253)+_0x2dcb65);}testOpsHelper[_0x253d0b(0x262)]();});}else{const _0x5272d1=helper[_0x289390(0x1bd)](_0x1db269[_0x289390(0x20d)]),_0x4c9960=helper[_0x289390(0x295)](_0x1db269[_0x289390(0x20d)]);_0x153170=helper[_0x289390(0x25a)](_0x1db269['config'],_0x5272d1,constants[_0x289390(0x250)]['MOCHA']);let _0x409196;const _0x5b1784=_0x1db269['config'][_0x289390(0x242)]||helper['getUserWorkerCount'](_0x56701b,_0x4691a8,_0x1db269[_0x289390(0x20d)],constants[_0x289390(0x250)]['MOCHA'])||0x1;helper[_0x289390(0x1e4)](_0x1db269[_0x289390(0x20d)])?_0x409196=_0x2b67f6[_0x289390(0x236)](_0x1db269['config'][_0x289390(0x1da)][_0x289390(0x1c9)],_0x5b1784):_0x409196=_0x5b1784;const _0x1af486=_0x2b67f6[_0x289390(0x1e9)](getPercyOptions,_0x1db269[_0x289390(0x20d)]);if(_0x2b67f6[_0x289390(0x2a9)](_0x1db269[_0x289390(0x20d)]['parallelsPerPlatform'],0x1))_0x548cfe[_0x289390(0x22c)](_0x35f5c4=>{const _0x7571f1=_0x289390,_0x4ec2b1=[];_0x153170[_0x7571f1(0x22c)]((_0x24a99f,_0x3976a0)=>{const _0x47bf14=_0x7571f1,_0x19c2fc={};_0x19c2fc[_0x47bf14(0x24f)]=[_0x35f5c4],_0x4ec2b1[_0x47bf14(0x207)]({'mochaOpts':Object['assign']({},_0x30ac94,_0x19c2fc),'configuration':{'server':_0x4c9960,'capability':_0x24a99f,'proxySettings':_0x1db269[_0x47bf14(0x20d)][_0x47bf14(0x200)],'platform':helper['getPlatformName'](_0x24a99f),'browserStackLogLevel':_0x1db269[_0x47bf14(0x20d)]['logLevel'],'platformIndex':_0x3976a0,'browserStackPercyOptions':_0x1af486,'platformCaps':_0x1db269['config'][_0x47bf14(0x1da)][_0x3976a0]}});}),_0x18645f[_0x7571f1(0x207)](..._0x4ec2b1);});else{const _0x3d8ded=[];_0x153170['forEach']((_0x5a8dcb,_0x2d00a3)=>{const _0x13fd4c=_0x289390;let _0x51dd18=Object['assign']({},_0x30ac94);testOpsHelper[_0x13fd4c(0x212)]()&&testOpsHelper[_0x13fd4c(0x1f5)]()&&(_0x51dd18={..._0x51dd18,'spec':[..._0x548cfe]}),_0x3d8ded[_0x13fd4c(0x207)]({'mochaOpts':_0x51dd18,'configuration':{'server':_0x4c9960,'capability':_0x5a8dcb,'proxySettings':_0x1db269[_0x13fd4c(0x20d)][_0x13fd4c(0x200)],'platform':helper[_0x13fd4c(0x22d)](_0x5a8dcb),'browserStackLogLevel':_0x1db269[_0x13fd4c(0x20d)]['logLevel'],'platformIndex':_0x2d00a3,'browserStackPercyOptions':_0x1af486,'platformCaps':_0x1db269['config'][_0x13fd4c(0x1da)][_0x2d00a3]}});}),_0x18645f[_0x289390(0x207)](..._0x3d8ded);}logger[_0x289390(0x264)](_0x289390(0x1e1)+_0x1db269[_0x289390(0x20d)][_0x289390(0x1da)][_0x289390(0x1c9)]+_0x289390(0x2a2)),logger[_0x289390(0x264)](_0x2b67f6[_0x289390(0x294)]);let _0x543563;_0x2b67f6[_0x289390(0x2b0)](parallelTestRun,_0x18645f,_0x409196,_0x1db269)[_0x289390(0x1d9)](_0x1a0edf=>{const _0x1aad2a=_0x289390;_0x543563=_0x1a0edf,_0x2b67f6['OVywl'](printStats,_0x1a0edf,_0x56701b[_0x1aad2a(0x265)],_0x56701b['reporterOptions']||_0x56701b[_0x2b67f6['rMxBG']]);})['finally'](async()=>{const _0x3239da=_0x289390;_0x1db269[_0x3239da(0x247)]=helper[_0x3239da(0x1b8)](_0x543563,_0x2b67f6[_0x3239da(0x1c0)]),await utilities[_0x3239da(0x21f)](_0x1db269),testOpsHelper[_0x3239da(0x262)]();});}}function a28_0x160c(){const _0x344e0d=['spec','FRAMEWORKS','bagMK','mocha','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','264NpwLBZ','vjJSl','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x20failed','RuNAy','RWDSD','prepareCapabilities','UJZJF','kVJLG','GywGu','initialize','state','cliConfig','--disable-test-observability','printBuildLink','31085YKRaXH','info','reporter','parse','testsPassed','results','chalk','GbiUj','DgRUN','stringify','Writing\x20json\x20result\x20to\x20file','yhxdF','ubTDb','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','mILIZ','testSuites','FJnyc','passes','LywbM','markSDKSetupComplete','titlePath','EgdOg','SDKTestSuccessful','output','ahAZE','reporterOptions','cjs','../../helpers/logger','PNyYd','Total\x20Platforms:\x20','WySbd','COpnL','DRSrv','QRHLJ','SXjtd','getOwnPropertyNames','title','reporter-option','skipped','prototype','kiCsc','min','avoWL','JanFc','actual','xYbcR','message','hideDiff','XbYki','getHubUrl','freNT','red','WBQVk','object','totalTests','729774FWctjI','Listing\x20all\x20the\x20failures','yellow','handleApp','isBrowserstackInfra','Running\x20your\x20mocha\x20tests','utgEi','\x20platforms','expected','accessibilityOptions','suite','nEgKv','AxCac','env','uOIcm','size','28864GbdPim','36BVXKgy','ZoFrQ','has','qlSPj','OVywl','finally','../test-runner','duration','WiBvb','testsFailed','add','green','getErrorMessageFromResults','platform','file','suiteName','940bRlQwp','useW3C','call','debug','aAfre','join','testsPending','\x0a\x0a\x0a','YmxjE','xfQWb','tWwWc','rerunTests','eXazX','length','mjs','DyxqV','stack','263703EVBDro','kfmmz','IwsWY','epDFX','XZJoh','1322490RnfiOM','unlinkSync','gXYLf','134KrNXoc','iYRhJ','fireFunnelTestEvent','Mocha\x20Tests','then','platforms','BROWSERSTACK_RERUN_TESTS','Couldn\x27t\x20write\x20xunit\x20result\x20to','LwHPk','fullTitle','XbMLC','3543rQvlCb','Running\x20your\x20mocha\x20tests\x20across\x20','qsEOE','sXUQy','validPlatformsPresent','fZqxS','../../helpers/test-observability/utils','jntaF','testObservability','YzKHt','Printing\x20stats\x20of\x20tests','\x20skipped','AqSXP','14JgPYws','consoleLog','SXspt','otfYC','bVgUO','error\x20removing\x20tcg\x20config\x20file','isHsR','testcase','shouldReRunObservabilityTests','indexOf','files','zwrgY','../../helpers/percy/utils','</testsuite>','BROWSERSTACK_TEST_OBSERVABILITY_YML','RtoAH','pending','NNrxL','MyaRr','proxySettings','keys','QMBtO','mTkGn','err','bold','kQOHf','push','rootHooks','Now,\x20showing\x20logs\x20from\x20mocha','error','Total\x20Suites:\x20','log','config','useColors','showDiff','get','passed','isTestObservabilitySession','../../helpers/helper','gnSDC','10hlfQYE','TIoii','Couldn\x27t\x20write\x20json\x20result\x20to','isUndefined','recursive','accessibility','Tests:\x20\x20\x20\x20\x20\x20\x20','map','isPending','parseFileNames','finalExecution','exitCode','dUYnP','toUTCString','Setting\x20non\x20exit\x20code\x20for\x20failures','dQkef','ignore','ZSyBL','speed','whMcJ','XrYyx','Ssplz','failed','forEach','getPlatformName','ZdynS','nwNyT','bgBlueBright','xunit','argv','Gbcgr','YsTer','gAhHp','nWjlF','setupTCGAuth','generateDiff','../utils/constants','BTZCX','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','fvqzt','Dydxr','wHkyO','doc','extension','failures','parallelsPerPlatform','UGVan','sort','includes','mocha/lib/reporters/base.js','errorMessage','\x20total','TdBwY','ghwhc','writeFileSync','muyWW','failure','ELjNd'];a28_0x160c=function(){return _0x344e0d;};return a28_0x160c();}module['exports']=run;
|