browserstack-node-sdk 1.32.16 → 1.33.0
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/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.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/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/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a21_0x25e3f4=a21_0x452c;function a21_0x452c(_0x1f8a18,_0x21dd6b){const _0x3d2b7e=a21_0x3d2b();return a21_0x452c=function(_0x452cb1,_0x340fd7){_0x452cb1=_0x452cb1-0x1a0;let _0x3b8c26=_0x3d2b7e[_0x452cb1];return _0x3b8c26;},a21_0x452c(_0x1f8a18,_0x21dd6b);}(function(_0x3af53d,_0x38baa7){const _0x46e40b=a21_0x452c,_0x3e9412=_0x3af53d();while(!![]){try{const _0x3b5d18=parseInt(_0x46e40b(0x1b8))/0x1+-parseInt(_0x46e40b(0x1c4))/0x2+parseInt(_0x46e40b(0x1ce))/0x3*(parseInt(_0x46e40b(0x1c9))/0x4)+-parseInt(_0x46e40b(0x1ca))/0x5*(-parseInt(_0x46e40b(0x1d3))/0x6)+parseInt(_0x46e40b(0x1c8))/0x7+parseInt(_0x46e40b(0x1a5))/0x8+-parseInt(_0x46e40b(0x1be))/0x9;if(_0x3b5d18===_0x38baa7)break;else _0x3e9412['push'](_0x3e9412['shift']());}catch(_0x22050a){_0x3e9412['push'](_0x3e9412['shift']());}}}(a21_0x3d2b,0x91ced));const fs=require('fs'),path=require(a21_0x25e3f4(0x1c6)),{v4:uuidv4}=require(a21_0x25e3f4(0x1c2)),helper=require('../../../helpers/helper'),testHubConstants=require(a21_0x25e3f4(0x1bb));class TestDetails{static [a21_0x25e3f4(0x1cb)]={};static [a21_0x25e3f4(0x1aa)]=path[a21_0x25e3f4(0x1a1)](helper[a21_0x25e3f4(0x1ab)](),a21_0x25e3f4(0x1b9),a21_0x25e3f4(0x1a9)+process[a21_0x25e3f4(0x1af)][testHubConstants[a21_0x25e3f4(0x1ad)]['BROWSERSTACK_TESTHUB_UUID']]);static[a21_0x25e3f4(0x1b2)](){const _0xb443e8=a21_0x25e3f4,_0x14e8e1={};_0x14e8e1[_0xb443e8(0x1a4)]=_0xb443e8(0x1b9);const _0x1a10b0=_0x14e8e1;this[_0xb443e8(0x1aa)]=path[_0xb443e8(0x1a1)](helper[_0xb443e8(0x1ab)](),_0x1a10b0[_0xb443e8(0x1a4)],_0xb443e8(0x1a9)+process['env'][testHubConstants[_0xb443e8(0x1ad)][_0xb443e8(0x1b4)]]),this[_0xb443e8(0x1cf)]();const _0x5992e4={};_0x5992e4[_0xb443e8(0x1a7)]=!![],fs[_0xb443e8(0x1c7)](this[_0xb443e8(0x1aa)],_0x5992e4);}static[a21_0x25e3f4(0x1a2)](_0x284084){const _0x286334=a21_0x25e3f4,_0x4674d5={};_0x4674d5[_0x286334(0x1c3)]=function(_0x126a81,_0x1363a9){return _0x126a81+_0x1363a9;},_0x4674d5[_0x286334(0x1d6)]=_0x286334(0x1b1);const _0x165163=_0x4674d5;return path[_0x286334(0x1a1)](this[_0x286334(0x1aa)],_0x165163[_0x286334(0x1c3)](_0x284084,_0x165163[_0x286334(0x1d6)]));}static[a21_0x25e3f4(0x1cc)](_0x3cda7e){const _0x2c4a3a=a21_0x25e3f4,_0x5e475c={};_0x5e475c[_0x2c4a3a(0x1d1)]=function(_0x3fe417,_0x82ccb9){return _0x3fe417+_0x82ccb9;},_0x5e475c[_0x2c4a3a(0x1a0)]=function(_0x3e9800,_0x4f8cf4){return _0x3e9800+_0x4f8cf4;},_0x5e475c[_0x2c4a3a(0x1bd)]=function(_0x4db2f2,_0x1018ac){return _0x4db2f2+_0x1018ac;},_0x5e475c[_0x2c4a3a(0x1a3)]=function(_0x5302fa,_0x250a28){return _0x5302fa+_0x250a28;};const _0x35888b=_0x5e475c;return _0x35888b[_0x2c4a3a(0x1d1)](_0x35888b[_0x2c4a3a(0x1a0)](_0x35888b[_0x2c4a3a(0x1bd)](_0x35888b[_0x2c4a3a(0x1a3)](_0x3cda7e[_0x2c4a3a(0x1cd)][_0x2c4a3a(0x1a8)],'-'),_0x3cda7e[_0x2c4a3a(0x1cd)]['id']),'-'),_0x3cda7e[_0x2c4a3a(0x1bc)]);}static[a21_0x25e3f4(0x1b3)](_0x4afff4){const _0x125ca0=a21_0x25e3f4,_0x1860bb=this[_0x125ca0(0x1a2)](_0x4afff4);if(fs['existsSync'](_0x1860bb)){const _0x4381d1=JSON[_0x125ca0(0x1a6)](fs[_0x125ca0(0x1d5)](_0x1860bb)['toString']());return this[_0x125ca0(0x1cb)][_0x4afff4]=_0x4381d1,this[_0x125ca0(0x1cb)][_0x4afff4][_0x125ca0(0x1c2)];}}static[a21_0x25e3f4(0x1d2)](_0x2027bb){const _0x489a7b=a21_0x25e3f4,_0x53fb13={};_0x53fb13[_0x489a7b(0x1d0)]=_0x489a7b(0x1c1);const _0x146bf3=_0x53fb13,_0x3ecf57=path['join'](this['dirPath'],_0x146bf3['JHueh']);fs['writeFileSync'](_0x3ecf57,JSON[_0x489a7b(0x1b5)](_0x2027bb));}static[a21_0x25e3f4(0x1d4)](){const _0x4de4f6=a21_0x25e3f4,_0x177c7e={};_0x177c7e[_0x4de4f6(0x1ba)]=_0x4de4f6(0x1c1);const _0x253a7f=_0x177c7e,_0x5186c1=path['join'](this['dirPath'],_0x253a7f['oBdgL']);let _0x147d35={};try{return fs['existsSync'](_0x5186c1)&&(_0x147d35=JSON['parse'](fs[_0x4de4f6(0x1d5)](_0x5186c1)[_0x4de4f6(0x1b0)]())),_0x147d35;}catch(_0x3f09a6){return _0x147d35;}}static[a21_0x25e3f4(0x1bf)](_0x4d45cf){const _0x171dba=a21_0x25e3f4,_0x4a40fa={'egxQf':function(_0x3133c1){return _0x3133c1();}},_0x44a33f=this[_0x171dba(0x1a2)](_0x4d45cf);return this[_0x171dba(0x1cb)][_0x4d45cf]={'uuid':_0x4a40fa[_0x171dba(0x1c0)](uuidv4)},fs['writeFileSync'](_0x44a33f,JSON['stringify'](this[_0x171dba(0x1cb)][_0x4d45cf])),this[_0x171dba(0x1cb)][_0x4d45cf]['uuid'];}static[a21_0x25e3f4(0x1ac)](_0x34aa47){const _0x5f2026=a21_0x25e3f4,_0x387b7f=this[_0x5f2026(0x1a2)](_0x34aa47);fs[_0x5f2026(0x1b6)](_0x387b7f)&&fs[_0x5f2026(0x1c5)](_0x387b7f);}static[a21_0x25e3f4(0x1cf)](){const _0x2e45ed=a21_0x25e3f4,_0x333a64={};_0x333a64[_0x2e45ed(0x1a7)]=!![],_0x333a64[_0x2e45ed(0x1b7)]=!![],fs[_0x2e45ed(0x1ae)](this[_0x2e45ed(0x1aa)],_0x333a64);}}module['exports']=TestDetails;function a21_0x3d2b(){const _0x42eabb=['6103464YVAonz','parse','recursive','_projectId','jest-o11y-','dirPath','homedir','removeTestUUID','ENV_VAR','rmSync','env','toString','.json','setup','getTestUUID','BROWSERSTACK_TESTHUB_UUID','stringify','existsSync','force','95295SEQJhr','.browserstack','oBdgL','../../../helpers/testhub/constants','retry','ZeRUY','11851515LRlWcW','setTestUUID','egxQf','testData.json','uuid','Tsnlj','839490xaFUUQ','unlinkSync','path','mkdirSync','3848754VQbblG','104kemGym','959665CqfgjJ','tests','getTestRunIdFromTestInfo','_test','40380QaIHha','shutdown','JHueh','UJnmt','setTestData','18CRpwMm','getTestData','readFileSync','rPmMg','qbnDC','join','getFilePath','mnubM','EWZYs'];a21_0x3d2b=function(){return _0x42eabb;};return a21_0x3d2b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x1cba5c=a22_0x292a;(function(_0x25117e,_0x24cac7){const _0x5c18ce=a22_0x292a,_0x841197=_0x25117e();while(!![]){try{const _0x3e4931=parseInt(_0x5c18ce(0x19b))/0x1+parseInt(_0x5c18ce(0x19c))/0x2+parseInt(_0x5c18ce(0x19d))/0x3+-parseInt(_0x5c18ce(0x1a1))/0x4*(-parseInt(_0x5c18ce(0x196))/0x5)+parseInt(_0x5c18ce(0x19e))/0x6*(-parseInt(_0x5c18ce(0x198))/0x7)+-parseInt(_0x5c18ce(0x1a0))/0x8+-parseInt(_0x5c18ce(0x195))/0x9*(parseInt(_0x5c18ce(0x19f))/0xa);if(_0x3e4931===_0x24cac7)break;else _0x841197['push'](_0x841197['shift']());}catch(_0x5a2cb3){_0x841197['push'](_0x841197['shift']());}}}(a22_0x4a4b,0xbc52a));const {requireModule}=require('../../helpers/helper');require(a22_0x1cba5c(0x199))();function a22_0x292a(_0x528af,_0x3a244b){const _0x4a4bb8=a22_0x4a4b();return a22_0x292a=function(_0x292ab1,_0xaedb3b){_0x292ab1=_0x292ab1-0x195;let _0x561e1b=_0x4a4bb8[_0x292ab1];return _0x561e1b;},a22_0x292a(_0x528af,_0x3a244b);}const __wd__=requireModule(a22_0x1cba5c(0x19a));for(const key of Object['keys'](global[a22_0x1cba5c(0x197)])){__wd__[key]=global[a22_0x1cba5c(0x197)][key];}function a22_0x4a4b(){const _0x2fe49b=['195471SywGRT','10Zyttuo','__webdriver','356013tqqIff','../../helpers/setKeepAlive','selenium-webdriver','1486121LHalvk','251804gvpzHu','4095708PZepae','102cPWeDX','370ZzbYVs','10391880ffoxrp','1522604WsvSKN'];a22_0x4a4b=function(){return _0x2fe49b;};return a22_0x4a4b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x4bcbef=a23_0x3cd1;(function(_0x43f701,_0x300379){const _0x1edbeb=a23_0x3cd1,_0x16fdaa=_0x43f701();while(!![]){try{const _0x501381=parseInt(_0x1edbeb(0xfd))/0x1+parseInt(_0x1edbeb(0x11a))/0x2+parseInt(_0x1edbeb(0x10f))/0x3+parseInt(_0x1edbeb(0xff))/0x4+parseInt(_0x1edbeb(0x11f))/0x5+-parseInt(_0x1edbeb(0x115))/0x6*(-parseInt(_0x1edbeb(0x109))/0x7)+parseInt(_0x1edbeb(0x120))/0x8*(-parseInt(_0x1edbeb(0x108))/0x9);if(_0x501381===_0x300379)break;else _0x16fdaa['push'](_0x16fdaa['shift']());}catch(_0x4b613b){_0x16fdaa['push'](_0x16fdaa['shift']());}}}(a23_0x371a,0x1d6c7));const path=require(a23_0x4bcbef(0x119)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x4bcbef(0xfa)),constants=require(a23_0x4bcbef(0xf9)),{isAccessibilityAutomationSession}=require(a23_0x4bcbef(0x11e)),RequestQueueHandler=require(a23_0x4bcbef(0x118)),{isTestObservabilitySession}=require(a23_0x4bcbef(0xfc)),helper=require(a23_0x4bcbef(0xfa));class Launcher{constructor(_0x155c48,_0x322951,_0x5889dc,_0x2bc16d=[]){const _0x49913a=a23_0x4bcbef,_0x1b3b64={'eyWPz':_0x49913a(0x106),'WOUIw':function(_0x3443cf){return _0x3443cf();}},_0x40cbf1=_0x1b3b64['eyWPz'][_0x49913a(0x110)]('|');let _0x17a3bc=0x0;while(!![]){switch(_0x40cbf1[_0x17a3bc++]){case'0':global['testsFailed']=0x0;continue;case'1':global[_0x49913a(0x107)]=this['_configuration'][_0x49913a(0xf8)]||{};continue;case'2':this[_0x49913a(0x10b)]=this[_0x49913a(0x10e)][_0x49913a(0x11c)];continue;case'3':global[_0x49913a(0x103)]=0x0;continue;case'4':global[_0x49913a(0xfb)]=0x0;continue;case'5':global[_0x49913a(0x10c)]=0x0;continue;case'6':this[_0x49913a(0x10e)]=_0x322951[_0x49913a(0x114)]||{};continue;case'7':global[_0x49913a(0x117)]={};continue;case'8':global['testsSkipped']=0x0;continue;case'9':this[_0x49913a(0x112)]=_0x155c48;continue;case'10':this['_argv']=_0x2bc16d;continue;case'11':this[_0x49913a(0x11b)]=_0x1b3b64[_0x49913a(0xf7)](isAccessibilityAutomationSession);continue;case'12':global[_0x49913a(0x116)]=0x0;continue;case'13':global['testsUnknown']=0x0;continue;case'14':global[_0x49913a(0x100)]=0x0;continue;case'15':this[_0x49913a(0x10d)]=_0x1b3b64[_0x49913a(0xf7)](isTestObservabilitySession);continue;case'16':global[_0x49913a(0x102)]=0x0;continue;case'17':global[_0x49913a(0xfe)]=this[_0x49913a(0x10e)][_0x49913a(0x11d)];continue;case'18':this[_0x49913a(0x10a)]=_0x5889dc;continue;case'19':global[_0x49913a(0x113)]=0x0;continue;case'20':this[_0x49913a(0x111)]=_0x322951[_0x49913a(0x101)];continue;case'21':this[_0x49913a(0x105)]=_0x322951['formatter'];continue;}break;}}['setupCucumber'](_0x3c235e,_0x3c9adb,_0x2908d7){const _0xb80108=a23_0x4bcbef,_0x313fac=_0x3c235e[_0xb80108(0x104)];_0x3c235e.resolvePaths=async function(){const pathResults=await _0x313fac.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2908d7));return pathResults;},_0x3c9adb.push('--format'),_0x3c9adb.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;}}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a23_0x371a(){const _0xad8368=['../../helpers/test-observability/utils','67037BHaMgu','__platform__','837400XpkLpp','testSuitesFailed','mochaOpts','totalTests','testsPassed','resolvePaths','_formatter','9|6|20|21|2|17|10|18|15|11|1|5|16|3|0|4|8|14|19|13|12|7','__platformCaps','27GVaKxx','14oLdwzg','_bsConfig','_capability','testSuites','_testObservability','_configuration','102213LNWiNJ','split','_mochaOpts','_framework','testsUndefined','configuration','94602UGxGiG','testsAmbiguous','testsErrorMessage','../../helpers/test-observability/requestQueueHandler','path','355976GVbRNI','_accessibilityAutomation','capability','platform','../../helpers/accessibility-automation/helper','777815ZYRrxB','1480064RkXpZj','WOUIw','platformCaps','../utils/constants','../../helpers/helper','testsPending'];a23_0x371a=function(){return _0xad8368;};return a23_0x371a();}function a23_0x3cd1(_0x2434f0,_0x554383){const _0x371a27=a23_0x371a();return a23_0x3cd1=function(_0x3cd10f,_0x450ff3){_0x3cd10f=_0x3cd10f-0xf7;let _0x54e152=_0x371a27[_0x3cd10f];return _0x54e152;},a23_0x3cd1(_0x2434f0,_0x554383);}module.exports=Launcher;
|
|
1
|
+
const a23_0x5f2f41=a23_0x543d;(function(_0x3a44e3,_0x38c90a){const _0x19e2fe=a23_0x543d,_0x1589ec=_0x3a44e3();while(!![]){try{const _0x60d202=-parseInt(_0x19e2fe(0x19a))/0x1*(-parseInt(_0x19e2fe(0x17d))/0x2)+-parseInt(_0x19e2fe(0x18f))/0x3*(parseInt(_0x19e2fe(0x183))/0x4)+-parseInt(_0x19e2fe(0x17c))/0x5+parseInt(_0x19e2fe(0x185))/0x6*(-parseInt(_0x19e2fe(0x1a2))/0x7)+-parseInt(_0x19e2fe(0x189))/0x8*(-parseInt(_0x19e2fe(0x18e))/0x9)+-parseInt(_0x19e2fe(0x181))/0xa+parseInt(_0x19e2fe(0x17f))/0xb*(parseInt(_0x19e2fe(0x190))/0xc);if(_0x60d202===_0x38c90a)break;else _0x1589ec['push'](_0x1589ec['shift']());}catch(_0x23451e){_0x1589ec['push'](_0x1589ec['shift']());}}}(a23_0x18d9,0x80882));function a23_0x18d9(){const _0x289997=['totalTests','testsPending','testsSkipped','1649416bGALMJ','__platformCaps','_capability','testsAmbiguous','_testObservability','18kZcACY','1128iPHkBT','22872HvlohJ','mochaOpts','_configuration','setupCucumber','../../helpers/test-observability/utils','_framework','_argv','../utils/constants','resolvePaths','testsUndefined','91118ClZBIO','fWjXt','formatter','configuration','../../helpers/helper','testsErrorMessage','testSuitesFailed','_accessibilityAutomation','1043dSNigX','testsPassed','_formatter','__platform__','split','../../helpers/test-observability/requestQueueHandler','809560GPdoNG','4FUJKUf','platform','11121ovKPgf','_bsConfig','6842600QqOgzz','capability','8916cQZyIr','testsUnknown','12516IbcveJ'];a23_0x18d9=function(){return _0x289997;};return a23_0x18d9();}const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x5f2f41(0x19e)),constants=require(a23_0x5f2f41(0x197)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require(a23_0x5f2f41(0x17b)),{isTestObservabilitySession}=require(a23_0x5f2f41(0x194)),helper=require('../../helpers/helper');function a23_0x543d(_0x18639b,_0x372230){const _0x18d90b=a23_0x18d9();return a23_0x543d=function(_0x543da9,_0xb1cc22){_0x543da9=_0x543da9-0x17b;let _0xaf56a5=_0x18d90b[_0x543da9];return _0xaf56a5;},a23_0x543d(_0x18639b,_0x372230);}class Launcher{constructor(_0x30f377,_0x4fd95c,_0x99946b,_0x13d0b1=[]){const _0x16d3af=a23_0x5f2f41,_0x48df25={'gYGZr':'2|7|9|11|10|20|8|18|0|5|17|16|15|19|4|13|12|1|3|6|14|21','fWjXt':function(_0x1e1795){return _0x1e1795();},'DTsoF':function(_0x431df5){return _0x431df5();}},_0x563a77=_0x48df25['gYGZr'][_0x16d3af(0x1a6)]('|');let _0x549d98=0x0;while(!![]){switch(_0x563a77[_0x549d98++]){case'0':this[_0x16d3af(0x18d)]=_0x48df25[_0x16d3af(0x19b)](isTestObservabilitySession);continue;case'1':global[_0x16d3af(0x1a0)]=0x0;continue;case'2':this[_0x16d3af(0x195)]=_0x30f377;continue;case'3':global[_0x16d3af(0x199)]=0x0;continue;case'4':global['testsFailed']=0x0;continue;case'5':this[_0x16d3af(0x1a1)]=_0x48df25['DTsoF'](isAccessibilityAutomationSession);continue;case'6':global[_0x16d3af(0x184)]=0x0;continue;case'7':this['_configuration']=_0x4fd95c[_0x16d3af(0x19d)]||{};continue;case'8':this[_0x16d3af(0x196)]=_0x13d0b1;continue;case'9':this['_mochaOpts']=_0x4fd95c[_0x16d3af(0x191)];continue;case'10':this[_0x16d3af(0x18b)]=this[_0x16d3af(0x192)][_0x16d3af(0x182)];continue;case'11':this[_0x16d3af(0x1a4)]=_0x4fd95c[_0x16d3af(0x19c)];continue;case'12':global[_0x16d3af(0x188)]=0x0;continue;case'13':global[_0x16d3af(0x187)]=0x0;continue;case'14':global[_0x16d3af(0x18c)]=0x0;continue;case'15':global[_0x16d3af(0x186)]=0x0;continue;case'16':global['testSuites']=0x0;continue;case'17':global[_0x16d3af(0x18a)]=this[_0x16d3af(0x192)]['platformCaps']||{};continue;case'18':this[_0x16d3af(0x180)]=_0x99946b;continue;case'19':global[_0x16d3af(0x1a3)]=0x0;continue;case'20':global[_0x16d3af(0x1a5)]=this[_0x16d3af(0x192)][_0x16d3af(0x17e)];continue;case'21':global[_0x16d3af(0x19f)]={};continue;}break;}}[a23_0x5f2f41(0x193)](_0x261926,_0x58d8d7,_0x3c13ce){const _0x24b5ba=a23_0x5f2f41,_0x22f232=_0x261926[_0x24b5ba(0x198)];_0x261926.resolvePaths=async function(){const pathResults=await _0x22f232.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3c13ce));return pathResults;},_0x58d8d7.push('--format'),_0x58d8d7.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a24_0x2c9d90=a24_0x2e37;function a24_0x2e37(_0x4d8abf,_0x4737a0){const _0x4fb433=a24_0x4fb4();return a24_0x2e37=function(_0x2e3759,_0x4f98d4){_0x2e3759=_0x2e3759-0x165;let _0xdcc698=_0x4fb433[_0x2e3759];return _0xdcc698;},a24_0x2e37(_0x4d8abf,_0x4737a0);}(function(_0x525fa7,_0x31f3e8){const _0x31a17d=a24_0x2e37,_0x24784c=_0x525fa7();while(!![]){try{const _0xdd8c1=parseInt(_0x31a17d(0x197))/0x1+parseInt(_0x31a17d(0x185))/0x2*(parseInt(_0x31a17d(0x18a))/0x3)+-parseInt(_0x31a17d(0x1a8))/0x4+-parseInt(_0x31a17d(0x18c))/0x5+-parseInt(_0x31a17d(0x1aa))/0x6+parseInt(_0x31a17d(0x172))/0x7+-parseInt(_0x31a17d(0x19e))/0x8*(parseInt(_0x31a17d(0x17e))/0x9);if(_0xdd8c1===_0x31f3e8)break;else _0x24784c['push'](_0x24784c['shift']());}catch(_0x238ff6){_0x24784c['push'](_0x24784c['shift']());}}}(a24_0x4fb4,0xa3150));const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x2c9d90(0x1a0)),logger=require(a24_0x2c9d90(0x180))[a24_0x2c9d90(0x194)];function a24_0x4fb4(){const _0x30eb55=['browserstack','zKcJL','nTFsM','owsjU','latest','authToken','zpewh','__cloud_provider___','suzQp','--headless','KHDKN','get','toLowerCase','scannerVersion','PqfkZ','getPlatformVersion','DKjfw','setAccessibilityCapabilities','browser_version','OLyXj','8394232qHVZSh','env','BS_A11Y_JWT','PafkP','Eedvj','getBrowserName','apiWC','includes','options_','capability','accessibilityOptions','SeTCn','403461gGhHej','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../../helpers/logger','debug','format','chromeOptions_','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','2SDEnIG','getBrowserVersion','browserstack.accessibility','requireModule','KmzqU','3669861neNXuF','UiGBz','6544815SzDoEm','ipBAW','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','warn','chrome','NEzya','nestedKeyValue','winstonLogger','jcGhR','args','1063872YwVUlc','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Zpdzs','isUndefined','browserstack.accessibilityOptions','capabilities_','bstack:options','136UOtJcw','QMGyj','../../../helpers/globals','deviceName','Options','device','UOyUU','parse','accessibility','setGlobal','2198432UoFTsn','fetchPlatformDetails','1186122paUNrz'];a24_0x4fb4=function(){return _0x30eb55;};return a24_0x4fb4();}exports[a24_0x2c9d90(0x16f)]=_0x4dd56e=>{const _0x55d899=a24_0x2c9d90,_0x262196={};_0x262196[_0x55d899(0x189)]=_0x55d899(0x19d),_0x262196[_0x55d899(0x1ad)]=_0x55d899(0x187),_0x262196[_0x55d899(0x1b1)]='isAccessibilityPlatform',_0x262196[_0x55d899(0x175)]=_0x55d899(0x19b);const _0x2760a1=_0x262196;try{const _0x2db0c8=_0x4dd56e[_0x55d899(0x17b)]||{};if(_0x2db0c8[_0x2760a1['KmzqU']]&&_0x2db0c8[_0x2760a1[_0x55d899(0x189)]][_0x55d899(0x1a6)]||_0x4dd56e[_0x55d899(0x17b)][_0x2760a1[_0x55d899(0x1ad)]]){globals[_0x55d899(0x1a7)](_0x2760a1[_0x55d899(0x1b1)],!![]);if(_0x2db0c8[_0x2760a1[_0x55d899(0x189)]]){if(_0x2db0c8[_0x2760a1[_0x55d899(0x189)]][_0x55d899(0x17c)])_0x2db0c8[_0x2760a1[_0x55d899(0x189)]]['accessibilityOptions'][_0x55d899(0x1b0)]=process[_0x55d899(0x173)][_0x55d899(0x174)];else{const _0x480632={};_0x480632[_0x55d899(0x1b0)]=process[_0x55d899(0x173)][_0x55d899(0x174)],_0x2db0c8[_0x2760a1[_0x55d899(0x189)]]['accessibilityOptions']=_0x480632;}_0x2db0c8[_0x2760a1[_0x55d899(0x189)]][_0x55d899(0x17c)][_0x55d899(0x16b)]=JSON['parse'](process[_0x55d899(0x173)][_0x55d899(0x17f)])['scannerVersion'];}else{if(_0x4dd56e[_0x55d899(0x17b)][_0x2760a1[_0x55d899(0x1ad)]]){if(_0x2db0c8[_0x2760a1['PafkP']])_0x2db0c8[_0x2760a1['PafkP']]['authToken']=process[_0x55d899(0x173)][_0x55d899(0x174)];else{const _0x3176d0={};_0x3176d0['authToken']=process[_0x55d899(0x173)][_0x55d899(0x174)],_0x2db0c8[_0x2760a1[_0x55d899(0x175)]]=_0x3176d0;}_0x2db0c8[_0x2760a1[_0x55d899(0x175)]]['scannerVersion']=JSON[_0x55d899(0x1a5)](process[_0x55d899(0x173)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];}}}}catch(_0x2d9cac){logger[_0x55d899(0x181)](_0x55d899(0x18e)+_0x2d9cac);}},exports['setExtension']=(_0xd121eb,_0x42cd5b)=>{const _0x7d4a=a24_0x2c9d90,_0x59e871={};_0x59e871[_0x7d4a(0x16c)]=_0x7d4a(0x19d),_0x59e871[_0x7d4a(0x1a4)]=function(_0x1616b6,_0x38e291){return _0x1616b6!==_0x38e291;},_0x59e871[_0x7d4a(0x1ac)]=_0x7d4a(0x184),_0x59e871[_0x7d4a(0x192)]=_0x7d4a(0x191),_0x59e871[_0x7d4a(0x176)]=_0x7d4a(0x18f),_0x59e871[_0x7d4a(0x19f)]=function(_0x2ab754,_0x3134ed){return _0x2ab754===_0x3134ed;},_0x59e871[_0x7d4a(0x195)]=_0x7d4a(0x1af),_0x59e871['UiGBz']=function(_0x1263f3,_0x50d321){return _0x1263f3>_0x50d321;},_0x59e871[_0x7d4a(0x166)]=_0x7d4a(0x198),_0x59e871[_0x7d4a(0x178)]='selenium-webdriver/chrome.js',_0x59e871[_0x7d4a(0x168)]=_0x7d4a(0x17a),_0x59e871[_0x7d4a(0x18d)]=_0x7d4a(0x196),_0x59e871[_0x7d4a(0x199)]='chromeOptions',_0x59e871[_0x7d4a(0x17d)]=_0x7d4a(0x167),_0x59e871[_0x7d4a(0x171)]='Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.';const _0x492c65=_0x59e871;try{const _0x260645=_0x42cd5b[_0x7d4a(0x17b)]||{},_0x5379e8=(_0x260645[_0x492c65[_0x7d4a(0x16c)]]?_0x260645[_0x492c65[_0x7d4a(0x16c)]][_0x7d4a(0x1a1)]:_0x260645[_0x7d4a(0x1a3)])||'';if(_0x492c65['UOyUU'](_0x5379e8,''))return logger[_0x7d4a(0x190)](_0x492c65[_0x7d4a(0x1ac)]),![];const _0x306159=_0x260645['browserName'];if(_0x492c65[_0x7d4a(0x1a4)](_0x306159[_0x7d4a(0x16a)](),_0x492c65[_0x7d4a(0x192)]))return logger['warn'](_0x492c65[_0x7d4a(0x176)]),![];const _0x70c5da=_0x260645['browserVersion']||_0x260645[_0x7d4a(0x170)];if(!bsSetupHelper[_0x7d4a(0x19a)](_0x70c5da)&&!(_0x492c65[_0x7d4a(0x19f)](_0x70c5da,_0x492c65[_0x7d4a(0x195)])||_0x492c65[_0x7d4a(0x18b)](_0x70c5da,0x5e)))return logger[_0x7d4a(0x190)](_0x492c65['suzQp']),![];let _0x41bf4c;try{_0x41bf4c=bsSetupHelper[_0x7d4a(0x188)](_0x492c65[_0x7d4a(0x178)]);}catch(_0x54ea9e){return![];}const _0xaded15=new _0x41bf4c[(_0x7d4a(0x1a2))](_0xd121eb[_0x7d4a(0x183)]),_0x127445=bsSetupHelper['nestedKeyValue'](_0xaded15,[_0x492c65[_0x7d4a(0x168)],_0x492c65[_0x7d4a(0x18d)]])||bsSetupHelper[_0x7d4a(0x193)](_0xd121eb[_0x7d4a(0x19c)][_0x7d4a(0x169)](_0x492c65['PqfkZ']),[_0x492c65['Zpdzs'],_0x492c65[_0x7d4a(0x18d)]])||bsSetupHelper['nestedKeyValue'](_0xd121eb['capabilities_'][_0x7d4a(0x169)](_0x492c65[_0x7d4a(0x199)]),[_0x492c65[_0x7d4a(0x18d)]])||[];if(_0x127445[_0x7d4a(0x179)](_0x492c65[_0x7d4a(0x17d)]))return logger[_0x7d4a(0x190)](_0x492c65[_0x7d4a(0x171)]),![];return!![];}catch(_0x1d754c){logger[_0x7d4a(0x181)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x7d4a(0x182)](_0x1d754c));}return![];},exports[a24_0x2c9d90(0x1a9)]=async _0x23c4e1=>{const _0x303258=a24_0x2c9d90,_0xb7e0da={};_0xb7e0da['owsjU']=function(_0xc3531b,_0x23eced){return _0xc3531b===_0x23eced;},_0xb7e0da[_0x303258(0x16e)]=_0x303258(0x1ab);const _0x569331=_0xb7e0da;let _0x28cc64={};try{const _0x41daa0=await _0x23c4e1['getCapabilities']();_0x28cc64={'os_name':_0x41daa0['getPlatform'](),'os_version':bsSetupHelper[_0x303258(0x16d)](_0x569331[_0x303258(0x1ae)](global[_0x303258(0x165)],_0x569331[_0x303258(0x16e)])),'browser_name':_0x41daa0[_0x303258(0x177)](),'browser_version':_0x41daa0[_0x303258(0x186)]()};}catch(_0xfc7ed9){logger[_0x303258(0x181)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0xfc7ed9);}return _0x28cc64;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a25_0x22cd65=a25_0x5cf4;(function(_0x4e656b,_0xb2232e){const _0x1ebcf2=a25_0x5cf4,_0x5e4f36=_0x4e656b();while(!![]){try{const _0x40dff1=parseInt(_0x1ebcf2(0xe2))/0x1*(parseInt(_0x1ebcf2(0x19c))/0x2)+-parseInt(_0x1ebcf2(0x148))/0x3*(-parseInt(_0x1ebcf2(0x182))/0x4)+parseInt(_0x1ebcf2(0x1c0))/0x5*(parseInt(_0x1ebcf2(0x198))/0x6)+parseInt(_0x1ebcf2(0x1b3))/0x7*(parseInt(_0x1ebcf2(0x1b8))/0x8)+-parseInt(_0x1ebcf2(0x147))/0x9+parseInt(_0x1ebcf2(0xe7))/0xa*(-parseInt(_0x1ebcf2(0xff))/0xb)+parseInt(_0x1ebcf2(0x1c4))/0xc*(parseInt(_0x1ebcf2(0x13c))/0xd);if(_0x40dff1===_0xb2232e)break;else _0x5e4f36['push'](_0x5e4f36['shift']());}catch(_0x38d6eb){_0x5e4f36['push'](_0x5e4f36['shift']());}}}(a25_0x5f21,0xe6beb));const util=require(a25_0x22cd65(0x195)),fs=require('fs'),path=require(a25_0x22cd65(0x189)),{requireModule}=require('../../../helpers/helper'),Base=requireModule(a25_0x22cd65(0x116)),utils=requireModule(a25_0x22cd65(0xf5)),color=Base[a25_0x22cd65(0xdb)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0x22cd65(0x150)),{v4:uuidv4}=require(a25_0x22cd65(0x1d0)),bsSetupHelper=require(a25_0x22cd65(0xc2)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require('../../../helpers/testhub/constants'),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a25_0x39a315={};a25_0x39a315[a25_0x22cd65(0x1d7)]=a25_0x22cd65(0xf3),a25_0x39a315['after\x20all']=a25_0x22cd65(0x1cd),a25_0x39a315[a25_0x22cd65(0x12e)]='BEFORE_EACH',a25_0x39a315[a25_0x22cd65(0x1ea)]='AFTER_EACH';const HOOK_TYPES_MAP=a25_0x39a315,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a25_0x22cd65(0x1ef)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x22cd65(0x1ef)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0x22cd65(0x10a)),{consoleHolder}=require(a25_0x22cd65(0x1e8)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),requestQueueHandler=RequestQueueHandler[a25_0x22cd65(0x158)]();function a25_0x5f21(){const _0x12ff1d=['analyticsResult','WnMNr','TlVUY','0|4|2|1|3','13orysPf','green','hook_run','statSync','state','bs:addPlatformDetails:','UnhandledError','CjdzC','ChzHG','TestRunStarted','config','11779101EKVXvy','1533jXKYtu','gwrEO','fEANq','FsFGJ','jzbXR','eahiO','appendTestPlatform','rxwOQ','mocha/lib/runnable.js','\x20\x20<dt\x20class=\x22error\x22>','slow','speed','nluDE','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','EBGKs','_buildCreated','getInstance','zwxYD','Ipkmm','hGnMj','gKGpS','COMPLETED','apply','escape','join','current_hook','finalResults','CGWcI','rEedH','checkmark','shutdown','<section\x20class=\x22suite\x22>','ctx','pvNUK','multiple','title','RZEYZ','dot','fast','appendTesthubParams','sDFDG','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','bright\x20yellow','duration','SIoxa','light','appendTestItemLog','started_at','failure_backtrace','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','sendTestRunEvent','\x20\x20<dd\x20class=\x22error\x22><pre><code>','bEvNS','fcrxv','BgXPd','_paths','failure_reason_expanded','fullTitle','268mDjmEP','HookRunStarted','GdyPh','eZLdF','BLYWC','originalTitle','hookAnalyticsId','path','testObservability','pass','\x20with\x20error\x20:\x20','nMSiI','Tvhjx','scope','IgYPJ','test','skipped','hook_type','PZvQP','util','vJBVe','bind','12LCNtDi','body','</dt>','QeTnT','5482DUypRt','toISOString','Mocha','GUzDR','kAuXg','nziAm','EnCKY','iTgIT','dLjRJ','cwd','OYwKY','pending','<h1>','DzJxM','_indents','test_run_uuid','amfnK','results','mLvZG','oATwi','currentTest','symbols','getTime','1414PSecYv','zMXos','isPending','rySJg','nJREv','62344IZdnxJ','KNCzv','SyVJC','docHtml','KCUlc','findGitConfig','sbvNY','PVKyw','509410GdrYag','increaseIndent','xtByY','PldYE','5294316jqScQA','Reporter','write','ZYqSP','tkorv','</dl>','root','guQWN','RUNNING','AFTER_ALL','PmQny','\x20-\x20','uuid','err','length','odJRy','qBLOj','yjPXq','TestRunSkipped','before\x20all','\x20\x20<dt>','BIdrz','IYdds','Xyntd','PPUgV','prototype','error','fail','expanded','titlePath','markedStatus','decreaseIndent','call','file','exports','MLyKz','../../../helpers/test-observability/constants','finished_at','after\x20each','RcMHV','uqxNN','mHtVr','result','constants','ukJfv','qkNVc','spec','reporterOption','.git','../../../helpers/helper','IlFPE','match','sqIon','testAnalyticsId','AgWVF','parent','__indents','CInJC','VCEbO','LITCl','AssertionError','current_test','done','scopes','toString','javascript','\x20(%dms)','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','cJIEa','relative','xunit','mocha/lib/reporters/','kbizn','stdout','color','retryOf','dSgwD','failed','.js','once','PLBEl','327gYKBJU','integrations','<dl>','registerListeners','test_run','10auEnLf','TestRunFinished','wpwxp','push','EVENT','pid','RnGTc','bs:addLog:','ZPbYv','doc','__platform__','includes','BEFORE_ALL','forEach','mocha/lib/utils.js','now','</section>','hook_run_uuid','shouldProcessEventForTesthub','mFWVn','YDPVd','CBTSessionCreated','YcFCM','dirname','9853437lPAkCG','mtSyy','SUpEB','oSXlO','FNlVr','getRootParentFile','docAppend','removeAllListeners','GwfEj','slice','type','../test-observability/mochaUtils','event_type','</h1>','location_prefix','HYujx','</code></pre></dd>','\x20%s','sep','indent','%s\x20','passed','ZnwTZ','mocha/lib/reporters/base.js','dynjm','SkMLX','consoleLog','suiteCount','pPxBK','split','testStarted','HKLhm','suite','pVptY','nfixl','fMTKF','failCount','HookRunFinished','AzDkp','pSYmn','kenIK','ZsMDu','currentRetry','inspect','VADgI','uploadEventData','MOCHA','before\x20each','prefixTestPath','_testEnv','SHRiG','_testResults','FTlPy','AsjDx','pGgzb','EtPAQ','trim'];a25_0x5f21=function(){return _0x12ff1d;};return a25_0x5f21();}function a25_0x5cf4(_0x36b77,_0x103f5a){const _0x5f218a=a25_0x5f21();return a25_0x5cf4=function(_0x5cf497,_0x737b70){_0x5cf497=_0x5cf497-0xbd;let _0x29878f=_0x5f218a[_0x5cf497];return _0x29878f;},a25_0x5cf4(_0x36b77,_0x103f5a);}class MyReporter{constructor(_0x5a6d4a,_0x1f740a){const _0x31ce4e=a25_0x22cd65,_0x54c21f={'ZnwTZ':function(_0x4db32a,_0x488ea1){return _0x4db32a===_0x488ea1;},'dynjm':_0x31ce4e(0xbf),'SkMLX':function(_0x51e96d,_0x45776f){return _0x51e96d+_0x45776f;},'nluDE':function(_0x369fab,_0x43aadf,_0x51bac4){return _0x369fab(_0x43aadf,_0x51bac4);},'cJIEa':_0x31ce4e(0x13d),'sbvNY':_0x31ce4e(0x113),'PldYE':function(_0x9fc5f3,_0x32960e,_0x3dcb34){return _0x9fc5f3(_0x32960e,_0x3dcb34);},'guQWN':_0x31ce4e(0x175),'kenIK':'%s\x20-\x20%s','PLBEl':_0x31ce4e(0x1cc),'SUpEB':_0x31ce4e(0xf0),'EoiwW':function(_0x295f43){return _0x295f43();},'eZLdF':function(_0x146d1b){return _0x146d1b();},'ZYqSP':_0x31ce4e(0x183),'Ipkmm':function(_0x393439,_0x2d630f){return _0x393439===_0x2d630f;},'GUzDR':_0x31ce4e(0x124),'VCGVz':function(_0x5c97c1,_0x4ec89a){return _0x5c97c1===_0x4ec89a;},'VADgI':_0x31ce4e(0x114),'PmQny':_0x31ce4e(0x16e),'TlVUY':function(_0x25992f,_0x36392c){return _0x25992f+_0x36392c;},'wpwxp':function(_0xc1344b,_0x14421c){return _0xc1344b+_0x14421c;},'SyVJC':function(_0x6142f2,_0xc0d65d,_0x1f9d82){return _0x6142f2(_0xc0d65d,_0x1f9d82);},'qkNVc':_0x31ce4e(0x165),'qBLOj':_0x31ce4e(0x18b),'hGnMj':_0x31ce4e(0x110),'RnGTc':function(_0x37eb96,_0x3bb85b,_0x1134d5){return _0x37eb96(_0x3bb85b,_0x1134d5);},'pSYmn':function(_0x4fc74b,_0x5dbcd9){return _0x4fc74b+_0x5dbcd9;},'LITCl':_0x31ce4e(0xd3),'AsjDx':function(_0x1c9043,_0x5e1f51,_0x1d6f48){return _0x1c9043(_0x5e1f51,_0x1d6f48);},'bswJH':_0x31ce4e(0x1df),'rxwOQ':'\x20\x20%d)\x20%s','nJREv':function(_0x127b50,_0x5b7a01){return _0x127b50===_0x5b7a01;},'rEedH':function(_0x38f563,_0xb666fb){return _0x38f563+_0xb666fb;},'yjPXq':function(_0x520616,_0x36df19,_0x3120e4){return _0x520616(_0x36df19,_0x3120e4);},'gwrEO':_0x31ce4e(0x172),'CInJC':_0x31ce4e(0x15d),'EBGKs':function(_0x1e0945,_0x1a56cf){return _0x1e0945===_0x1a56cf;},'FNlVr':function(_0x334bfe,_0x41ab07){return _0x334bfe===_0x41ab07;},'pPxBK':_0x31ce4e(0x16d),'bEvNS':_0x31ce4e(0x152),'GdyPh':_0x31ce4e(0x13b),'xtByY':function(_0x9d1f08,_0x6c3ac8){return _0x9d1f08===_0x6c3ac8;},'kAuXg':_0x31ce4e(0x1a7),'zwxYD':_0x31ce4e(0x1d6),'MLyKz':function(_0xbabd08,_0x3885c0){return _0xbabd08===_0x3885c0;},'jzbXR':function(_0x1edad7,_0x392a8b){return _0x1edad7(_0x392a8b);},'PPUgV':function(_0x16801e){return _0x16801e();},'GwfEj':function(_0x4ab579,_0x2ecc42){return _0x4ab579===_0x2ecc42;},'tkorv':function(_0x50b31a){return _0x50b31a();},'BLYWC':function(_0x351075,_0x353b36){return _0x351075===_0x353b36;},'hXtau':_0x31ce4e(0xd7),'oATwi':function(_0x57db91,_0x27959f){return _0x57db91(_0x27959f);},'pGgzb':function(_0xc05cd9,_0x5bf3ac){return _0xc05cd9===_0x5bf3ac;},'KNCzv':function(_0x5aa3d3,_0x44cf77){return _0x5aa3d3!==_0x44cf77;}};this[_0x31ce4e(0x109)]=_0x1f740a[_0x31ce4e(0xc0)][_0x31ce4e(0x109)],this[_0x31ce4e(0x18a)]=_0x54c21f[_0x31ce4e(0x185)](isTestObservabilitySession),Base[_0x31ce4e(0x1e4)](this,_0x5a6d4a,_0x1f740a),this[_0x31ce4e(0x1aa)]=0x0,this[_0x31ce4e(0x123)]=0x0,this[_0x31ce4e(0x1ad)]=[],this[_0x31ce4e(0x162)]=[],this[_0x31ce4e(0x11a)]=0x0,this[_0x31ce4e(0x157)]=![],this[_0x31ce4e(0x132)]=[],this[_0x31ce4e(0x130)]=_0x54c21f[_0x31ce4e(0x1c8)](getTestEnv),this[_0x31ce4e(0x17f)]=new PathHelper({'cwd':process[_0x31ce4e(0x1a5)]()},this[_0x31ce4e(0x130)][_0x31ce4e(0x10d)]),this['_upstreamConfig']=_0x1f740a[_0x31ce4e(0xc0)]['bsConfig'],this['registerListeners']();_0x54c21f[_0x31ce4e(0x186)](this['type'],_0x54c21f[_0x31ce4e(0x101)])&&(this[_0x31ce4e(0x1bb)]='',this['__indents']=0x2);_0x5a6d4a[_0x31ce4e(0xe0)](EVENT_RUN_BEGIN,async()=>{const _0x5b5053=_0x31ce4e;_0x54c21f[_0x5b5053(0x115)](this['type'],_0x54c21f[_0x5b5053(0x117)])&&Base[_0x5b5053(0x119)]();})['on'](EVENT_SUITE_BEGIN,_0xdc7034=>{const _0x3b8856=_0x31ce4e;if(_0xdc7034[_0x3b8856(0x1ca)])return;if(_0x54c21f['ZnwTZ'](this[_0x3b8856(0x109)],_0x54c21f['dynjm']))this[_0x3b8856(0x1c1)](),Base['consoleLog'](_0x54c21f[_0x3b8856(0x118)](_0x54c21f[_0x3b8856(0x118)](this['indent'](),_0x54c21f[_0x3b8856(0x154)](color,_0x54c21f[_0x3b8856(0xd5)],_0x54c21f['sbvNY'])),_0x54c21f[_0x3b8856(0x1c3)](color,_0x54c21f[_0x3b8856(0x1cb)],_0x54c21f[_0x3b8856(0x127)])),_0x54c21f[_0x3b8856(0xe1)],_0xdc7034['title'],global[_0x3b8856(0xf1)]);else _0x54c21f[_0x3b8856(0x115)](this[_0x3b8856(0x109)],_0x54c21f[_0x3b8856(0x101)])&&(this[_0x3b8856(0x105)](this[_0x3b8856(0x112)]()+_0x3b8856(0x167)),++this[_0x3b8856(0xc9)],this[_0x3b8856(0x105)](this[_0x3b8856(0x112)]()+_0x3b8856(0x1a8)+utils[_0x3b8856(0x15f)](_0xdc7034[_0x3b8856(0x16b)]+_0x3b8856(0x1cf)+global[_0x3b8856(0xf1)])+_0x3b8856(0x10c)),this[_0x3b8856(0x105)](this['indent']()+_0x3b8856(0xe4)));})['on'](EVENT_HOOK_BEGIN,async _0xcddd03=>{const _0x372751=_0x31ce4e;if(_0x54c21f[_0x372751(0x115)](testhubUtils[_0x372751(0xf9)](testHubConstants[_0x372751(0xeb)]['HookStarted']),!![])){if(!_0xcddd03[_0x372751(0x188)])_0xcddd03[_0x372751(0x188)]=_0x54c21f['EoiwW'](uuidv4);else _0xcddd03[_0x372751(0x1e2)]&&(_0xcddd03['hookAnalyticsId']=_0x54c21f[_0x372751(0x185)](uuidv4),delete _0xcddd03['markedStatus']);_0xcddd03[_0x372751(0x177)]=new Date()[_0x372751(0x19d)](),this[_0x372751(0x161)]=_0xcddd03,await this[_0x372751(0x17a)](_0xcddd03,undefined,![],_0x54c21f[_0x372751(0x1c7)]);}})['on'](EVENT_HOOK_END,async _0x21c2e0=>{const _0x5cd7ef=_0x31ce4e;_0x54c21f['Ipkmm'](testhubUtils[_0x5cd7ef(0xf9)](testHubConstants[_0x5cd7ef(0xeb)]['HookFinished']),!![])&&(!_0x21c2e0['markedStatus']&&(_0x21c2e0['markedStatus']=!![],await this[_0x5cd7ef(0x17a)](_0x21c2e0,undefined,![],_0x54c21f[_0x5cd7ef(0x19f)])));})['on'](EVENT_SUITE_END,_0x3f453a=>{const _0x4b608b=_0x31ce4e,_0x1cbf25={'SIoxa':function(_0x52876f,_0x447445){return _0x54c21f['VCGVz'](_0x52876f,_0x447445);},'PZvQP':_0x54c21f[_0x4b608b(0x12b)],'ZPbYv':_0x54c21f[_0x4b608b(0x1ce)],'ChzHG':function(_0x559b21,_0xf977bb){return _0x54c21f['TlVUY'](_0x559b21,_0xf977bb);},'VCEbO':function(_0x3cea33,_0x4d572b){const _0x3f6c2a=_0x4b608b;return _0x54c21f[_0x3f6c2a(0xe9)](_0x3cea33,_0x4d572b);},'rHkqg':function(_0x1a9852,_0x46a9ac,_0x40c5fb){const _0xe8195b=_0x4b608b;return _0x54c21f[_0xe8195b(0x1ba)](_0x1a9852,_0x46a9ac,_0x40c5fb);},'kElhe':_0x54c21f[_0x4b608b(0xbe)],'HYujx':function(_0x5e0493,_0x2f7076){const _0x573e65=_0x4b608b;return _0x54c21f[_0x573e65(0x13a)](_0x5e0493,_0x2f7076);},'RZEYZ':function(_0x173e21,_0x33b460,_0x116225){return _0x54c21f['nluDE'](_0x173e21,_0x33b460,_0x116225);},'mFWVn':_0x54c21f[_0x4b608b(0x1d4)],'fEANq':_0x54c21f[_0x4b608b(0x15b)],'HKLhm':function(_0x5b984e,_0x23f524,_0x5da54f){const _0x4a9547=_0x4b608b;return _0x54c21f[_0x4a9547(0xed)](_0x5b984e,_0x23f524,_0x5da54f);},'OQIJw':function(_0x4841ac,_0x31ad10){const _0x52ad98=_0x4b608b;return _0x54c21f[_0x52ad98(0x126)](_0x4841ac,_0x31ad10);},'IgYPJ':function(_0x756f13,_0x5951f0,_0x286bb8){return _0x54c21f['SyVJC'](_0x756f13,_0x5951f0,_0x286bb8);},'SHRiG':function(_0x291b64,_0x333b49,_0x2dde0e){const _0x145a14=_0x4b608b;return _0x54c21f[_0x145a14(0x154)](_0x291b64,_0x333b49,_0x2dde0e);},'AgWVF':_0x54c21f[_0x4b608b(0xcc)],'nMSiI':function(_0x5ca8c,_0x1a26ec,_0x56f04e){const _0x490a66=_0x4b608b;return _0x54c21f[_0x490a66(0x134)](_0x5ca8c,_0x1a26ec,_0x56f04e);},'PVKyw':_0x54c21f['bswJH'],'gKGpS':_0x54c21f[_0x4b608b(0x14f)]};if(_0x3f453a[_0x4b608b(0x1ca)])return;if(_0x54c21f[_0x4b608b(0x1b7)](this[_0x4b608b(0x109)],_0x54c21f[_0x4b608b(0x117)]))Base[_0x4b608b(0x119)](),Base[_0x4b608b(0x119)](_0x54c21f[_0x4b608b(0x118)](_0x54c21f[_0x4b608b(0x164)](this[_0x4b608b(0x112)](),_0x54c21f[_0x4b608b(0x1d5)](color,_0x54c21f[_0x4b608b(0x149)],_0x54c21f[_0x4b608b(0x1be)])),_0x54c21f['PldYE'](color,_0x54c21f[_0x4b608b(0x1cb)],_0x54c21f[_0x4b608b(0x127)])),_0x54c21f[_0x4b608b(0xca)],_0x3f453a[_0x4b608b(0x16b)],global[_0x4b608b(0xf1)]),this[_0x4b608b(0x1ad)][_0x4b608b(0xf4)](_0x16b895=>{const _0x13a206=_0x4b608b;if(_0x1cbf25[_0x13a206(0x174)](_0x16b895['state'],_0x1cbf25[_0x13a206(0x194)])){var _0x1d9f0c;_0x1cbf25[_0x13a206(0x174)](_0x16b895['speed'],_0x1cbf25[_0x13a206(0xef)])?(_0x1d9f0c=_0x1cbf25['ChzHG'](_0x1cbf25[_0x13a206(0xcb)](this['indent'](),_0x1cbf25['rHkqg'](color,_0x1cbf25['kElhe'],_0x1cbf25[_0x13a206(0x10e)]('\x20\x20',Base[_0x13a206(0x1b1)]['ok']))),_0x1cbf25[_0x13a206(0x16c)](color,_0x1cbf25[_0x13a206(0xfa)],_0x1cbf25[_0x13a206(0x14a)])),Base['consoleLog'](_0x1d9f0c,_0x16b895[_0x13a206(0x16b)])):(_0x1d9f0c=_0x1cbf25[_0x13a206(0x10e)](_0x1cbf25[_0x13a206(0x144)](_0x1cbf25[_0x13a206(0x10e)](this[_0x13a206(0x112)](),_0x1cbf25[_0x13a206(0x11e)](color,_0x1cbf25['kElhe'],_0x1cbf25['OQIJw']('\x20\x20',Base[_0x13a206(0x1b1)]['ok']))),_0x1cbf25[_0x13a206(0x190)](color,_0x1cbf25[_0x13a206(0xfa)],_0x1cbf25[_0x13a206(0x14a)])),_0x1cbf25[_0x13a206(0x131)](color,_0x16b895[_0x13a206(0x153)],_0x1cbf25[_0x13a206(0xc7)])),Base['consoleLog'](_0x1d9f0c,_0x16b895[_0x13a206(0x16b)],_0x16b895['duration']));}else Base[_0x13a206(0x119)](_0x1cbf25[_0x13a206(0x10e)](this[_0x13a206(0x112)](),_0x1cbf25[_0x13a206(0x18d)](color,_0x1cbf25[_0x13a206(0x1bf)],_0x1cbf25[_0x13a206(0x15c)])),++this[_0x13a206(0x123)],_0x16b895[_0x13a206(0x16b)]);}),this[_0x4b608b(0x1e3)]();else _0x54c21f[_0x4b608b(0x156)](this[_0x4b608b(0x109)],_0x54c21f[_0x4b608b(0x101)])&&(this[_0x4b608b(0x105)](this[_0x4b608b(0x112)]()+_0x4b608b(0x1c9)),--this[_0x4b608b(0xc9)],this[_0x4b608b(0x105)](this['indent']()+_0x4b608b(0xf7)),--this[_0x4b608b(0xc9)]);Array[_0x4b608b(0x1dd)][_0x4b608b(0xea)][_0x4b608b(0x15e)](this[_0x4b608b(0x162)],this[_0x4b608b(0x1ad)]),this[_0x4b608b(0x1ad)]=[];})['on'](EVENT_TEST_PASS,async _0x551b8d=>{const _0x302d49=_0x31ce4e;this[_0x302d49(0x1ad)][_0x302d49(0xea)]({'speed':_0x551b8d['speed'],'suite':_0x551b8d[_0x302d49(0xc8)][_0x302d49(0x16b)],'title':_0x551b8d['title'],'fullTitle':_0x551b8d[_0x302d49(0x181)](),'duration':_0x551b8d[_0x302d49(0x173)],'state':_0x551b8d[_0x302d49(0x140)],'err':{},'currentRetry':_0x551b8d['currentRetry'](),'titlePathV':_0x551b8d['titlePath'](),'isPending':_0x551b8d[_0x302d49(0x1b5)]()});if(_0x54c21f[_0x302d49(0x103)](this[_0x302d49(0x109)],_0x54c21f['pPxBK']))_0x54c21f['nJREv'](_0x551b8d[_0x302d49(0x153)],_0x54c21f[_0x302d49(0x17c)])?process[_0x302d49(0xda)][_0x302d49(0x1c6)](Base[_0x302d49(0xdb)](_0x54c21f['gwrEO'],Base['symbols'][_0x302d49(0x16d)])):process[_0x302d49(0xda)][_0x302d49(0x1c6)](Base['color'](_0x551b8d[_0x302d49(0x153)],Base[_0x302d49(0x1b1)]['dot']));else{if(_0x54c21f[_0x302d49(0x103)](this[_0x302d49(0x109)],_0x54c21f[_0x302d49(0x101)])){this[_0x302d49(0x105)](this['indent']()+'\x20\x20<dt>'+utils[_0x302d49(0x15f)](_0x551b8d['title'])+_0x302d49(0x19a)),this[_0x302d49(0x105)](this[_0x302d49(0x112)]()+_0x302d49(0x1d8)+utils[_0x302d49(0x15f)](_0x551b8d[_0x302d49(0x1e5)])+'</dt>');var _0x2bc019=utils['escape'](utils['clean'](_0x551b8d[_0x302d49(0x199)]));this['docAppend'](this[_0x302d49(0x112)]()+'\x20\x20<dd><pre><code>'+_0x2bc019+'</code></pre></dd>');}}_0x54c21f['ZnwTZ'](testhubUtils[_0x302d49(0xf9)](),!![])&&(!_0x551b8d[_0x302d49(0x1e2)]&&(_0x551b8d['markedStatus']=!![],await this[_0x302d49(0x17a)](_0x551b8d)));})['on'](EVENT_TEST_FAIL,async(_0x2c8691,_0x2f8627)=>{const _0x72cc99=_0x31ce4e;this[_0x72cc99(0x1ad)][_0x72cc99(0xea)]({'title':_0x2c8691[_0x72cc99(0x16b)],'suite':_0x2c8691[_0x72cc99(0xc8)]['title'],'state':_0x2c8691['state'],'err':{'message':util[_0x72cc99(0x12a)](_0x2f8627)},'fullTitle':_0x2c8691[_0x72cc99(0x181)](),'speed':_0x2c8691[_0x72cc99(0x153)],'currentRetry':_0x2c8691[_0x72cc99(0x129)](),'titlePathV':_0x2c8691[_0x72cc99(0x1e1)]()});if(_0x54c21f[_0x72cc99(0x103)](this['type'],_0x54c21f[_0x72cc99(0x11b)]))process['stdout'][_0x72cc99(0x1c6)](Base[_0x72cc99(0xdb)](_0x54c21f['bswJH'],Base[_0x72cc99(0x1b1)]['bang']));else{if(_0x54c21f[_0x72cc99(0x103)](this[_0x72cc99(0x109)],_0x54c21f['SUpEB'])){const _0x5adcdf=_0x54c21f[_0x72cc99(0x184)][_0x72cc99(0x11c)]('|');let _0x42cc34=0x0;while(!![]){switch(_0x5adcdf[_0x42cc34++]){case'0':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+_0x72cc99(0x151)+utils[_0x72cc99(0x15f)](_0x2c8691[_0x72cc99(0x16b)])+_0x72cc99(0x19a));continue;case'1':this[_0x72cc99(0x105)](this['indent']()+_0x72cc99(0x17b)+_0x432b21+_0x72cc99(0x10f));continue;case'2':var _0x432b21=utils['escape'](utils['clean'](_0x2c8691[_0x72cc99(0x199)]));continue;case'3':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x72cc99(0x15f)](_0x2c8691['err'])+'</dd>');continue;case'4':this[_0x72cc99(0x105)](this[_0x72cc99(0x112)]()+_0x72cc99(0x151)+utils[_0x72cc99(0x15f)](_0x2c8691[_0x72cc99(0x1e5)])+_0x72cc99(0x19a));continue;}break;}}}if(_0x54c21f[_0x72cc99(0x1c2)](testhubUtils[_0x72cc99(0xf9)](testHubConstants[_0x72cc99(0xeb)]['HookFinished']),!![])){if(!_0x2c8691[_0x72cc99(0x1e2)]){_0x2c8691[_0x72cc99(0x1e2)]=!![];if(_0x2c8691[_0x72cc99(0xc6)])await this[_0x72cc99(0x17a)](_0x2c8691,_0x2f8627);else _0x2c8691[_0x72cc99(0x188)]&&await this[_0x72cc99(0x17a)](_0x2c8691,_0x2f8627,![],_0x54c21f[_0x72cc99(0x19f)]);}}})['on'](EVENT_TEST_PENDING,async _0x1942a1=>{const _0x32d09e=_0x31ce4e;this['results'][_0x32d09e(0xea)]({'title':_0x1942a1['title'],'suite':_0x1942a1[_0x32d09e(0xc8)][_0x32d09e(0x16b)],'state':_0x1942a1[_0x32d09e(0x140)],'err':{},'fullTitle':_0x1942a1[_0x32d09e(0x181)](),'speed':_0x1942a1[_0x32d09e(0x153)],'currentRetry':_0x1942a1['currentRetry'](),'titlePathV':_0x1942a1[_0x32d09e(0x1e1)]()}),_0x54c21f['VCGVz'](this[_0x32d09e(0x109)],_0x54c21f[_0x32d09e(0x11b)])&&process[_0x32d09e(0xda)][_0x32d09e(0x1c6)](Base[_0x32d09e(0xdb)](_0x54c21f[_0x32d09e(0x1a0)],Base[_0x32d09e(0x1b1)]['comma'])),_0x54c21f[_0x32d09e(0x156)](testhubUtils[_0x32d09e(0xf9)](),!![])&&(!_0x1942a1['testAnalyticsId']&&(_0x1942a1[_0x32d09e(0xc6)]=_0x54c21f['eZLdF'](uuidv4)),!_0x1942a1[_0x32d09e(0x1e2)]&&(_0x1942a1[_0x32d09e(0x1e2)]=!![],await this['sendTestRunEvent'](_0x1942a1,undefined,![],_0x54c21f['zwxYD'])));})['on'](EVENT_TEST_BEGIN,async _0x730140=>{const _0x5e7e90=_0x31ce4e;_0x54c21f[_0x5e7e90(0x1e7)](testhubUtils[_0x5e7e90(0xf9)](),!![])&&await this[_0x5e7e90(0x11d)](_0x730140);})['on'](EVENT_TEST_END,async _0x1a3d9f=>{const _0x193cd2=_0x31ce4e;_0x54c21f[_0x193cd2(0x15a)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x1a3d9f[_0x193cd2(0x1e2)]&&(_0x1a3d9f['markedStatus']=!![],await this[_0x193cd2(0x17a)](_0x1a3d9f)));})['once'](EVENT_RUN_END,async()=>{const _0x12b7ff=_0x31ce4e;try{if(_0x54c21f['xtByY'](testhubUtils['shouldProcessEventForTesthub'](),!![])){const _0x54d958=_0x54c21f['jzbXR'](getHookSkippedTests,this['runner'][_0x12b7ff(0x11f)]);for(const _0x1acdb3 of _0x54d958){!_0x1acdb3[_0x12b7ff(0xc6)]&&(_0x1acdb3[_0x12b7ff(0xc6)]=_0x54c21f[_0x12b7ff(0x1dc)](uuidv4)),await this[_0x12b7ff(0x17a)](_0x1acdb3,undefined,![],_0x54c21f[_0x12b7ff(0x159)]);}}}catch(_0xda33c0){_0x54c21f[_0x12b7ff(0x14c)](debug,_0x12b7ff(0xd4)+_0xda33c0);}await requestQueueHandler[_0x12b7ff(0x166)](),_0x54c21f[_0x12b7ff(0x107)](this[_0x12b7ff(0x109)],_0x54c21f[_0x12b7ff(0x101)])&&Base['consoleLog'](this[_0x12b7ff(0x1bb)]);});if(this[_0x31ce4e(0x109)]&&![_0x54c21f[_0x31ce4e(0x101)],_0x54c21f['hXtau'],_0x54c21f[_0x31ce4e(0x117)],_0x54c21f['pPxBK']][_0x31ce4e(0xf2)](this[_0x31ce4e(0x109)])){const _0x4d6e62=this[_0x31ce4e(0x109)][_0x31ce4e(0x137)]();this[_0x31ce4e(0x1c5)]=null;try{this[_0x31ce4e(0x1c5)]=_0x54c21f[_0x31ce4e(0x1af)](requireModule,_0x31ce4e(0xd8)+_0x4d6e62+_0x31ce4e(0xdf));}catch{}if(_0x54c21f[_0x31ce4e(0x135)](this['Reporter'],null))try{this['Reporter']=_0x54c21f[_0x31ce4e(0x14c)](require,_0x4d6e62);}catch(_0x5b7e88){console[_0x31ce4e(0x1de)]('Failed\x20to\x20load\x20reporter\x20'+_0x4d6e62);}if(_0x54c21f[_0x31ce4e(0x1b9)](this['Reporter'],null)){const _0x11aad9={};_0x11aad9['reporterOptions']=_0x1f740a['reporterOption'],this['Reporter']=new this[(_0x31ce4e(0x1c5))](_0x5a6d4a,_0x11aad9);}}}[a25_0x22cd65(0x112)](){const _0x5c068c=a25_0x22cd65,_0x463e27={'pVptY':function(_0x1e5117,_0x2058cf){return _0x1e5117(_0x2058cf);}};return _0x463e27[_0x5c068c(0x120)](Array,this['_indents'])[_0x5c068c(0x160)]('\x20\x20');}[a25_0x22cd65(0x1c1)](){this['_indents']++;}['decreaseIndent'](){this['_indents']--;}[a25_0x22cd65(0x105)](_0x414f33){const _0x41538c=a25_0x22cd65;this[_0x41538c(0x1bb)]+=_0x414f33;}[a25_0x22cd65(0xcf)](_0x442a3a,_0x2beda2){const _0x59fdbc=a25_0x22cd65,_0x3f9d67={'nfixl':function(_0x4781fe,_0x552f75){return _0x4781fe(_0x552f75);}},_0x310d9b={};_0x310d9b['failureCount']=_0x442a3a,_0x310d9b['results']=this['finalResults'],_0x3f9d67[_0x59fdbc(0x121)](_0x2beda2,_0x310d9b);}[a25_0x22cd65(0xe5)](){const _0x652cb8=a25_0x22cd65;process[_0x652cb8(0x106)](_0x652cb8(0xee)+process[_0x652cb8(0xec)]),process['on'](_0x652cb8(0xee)+process[_0x652cb8(0xec)],this[_0x652cb8(0x176)][_0x652cb8(0x197)](this)),process['removeAllListeners']('bs:addPlatformDetails:'+process[_0x652cb8(0xec)]),process['on'](_0x652cb8(0x141)+process['pid'],this['appendTestPlatform'][_0x652cb8(0x197)](this));}['testStarted']=async _0x3821b7=>{const _0xade110=a25_0x22cd65,_0x2bd03f={'VRvFT':function(_0x462250){return _0x462250();},'dLjRJ':function(_0x5aed8c,_0x484cea){return _0x5aed8c>_0x484cea;},'zMXos':function(_0x2d8040,_0x2f1267){return _0x2d8040===_0x2f1267;},'BgXPd':_0xade110(0x145),'EnCKY':function(_0x181d8c,_0x4db2a6){return _0x181d8c(_0x4db2a6);}};try{const _0x53e119=this[_0xade110(0xce)];this['current_test']=_0x3821b7,_0x3821b7[_0xade110(0xdc)]=null,_0x3821b7[_0xade110(0xc6)]=_0x2bd03f['VRvFT'](uuidv4),_0x3821b7[_0xade110(0x177)]=new Date()[_0xade110(0x19d)](),_0x2bd03f[_0xade110(0x1a4)](_0x3821b7['_currentRetry'],0x0)&&_0x53e119&&_0x2bd03f[_0xade110(0x1b4)](_0x53e119['title'],_0x3821b7[_0xade110(0x16b)])?(_0x3821b7[_0xade110(0xdc)]=_0x53e119[_0xade110(0xc6)],await this[_0xade110(0x17a)](_0x3821b7,undefined,![],_0x2bd03f[_0xade110(0x17e)]),_0x53e119[_0xade110(0x140)]=STATE_FAILED,await this[_0xade110(0x17a)](_0x53e119,undefined,!![])):await this[_0xade110(0x17a)](_0x3821b7,undefined,![],_0x2bd03f[_0xade110(0x17e)]);}catch(_0x309a94){_0x2bd03f[_0xade110(0x1a2)](debug,_0xade110(0x155)+_0x309a94);}};['sendTestRunEvent']=async(_0x3aeda8,_0x131f8f=undefined,_0x5526dd=![],_0x364a11=a25_0x22cd65(0xe8))=>{const _0x220a61=a25_0x22cd65,_0x4b8516={'sDFDG':function(_0x50bcee,_0x471384){return _0x50bcee===_0x471384;},'ZsMDu':function(_0x43743d,_0x51435f){return _0x43743d!==_0x51435f;},'VtifT':_0x220a61(0x191),'iTgIT':_0x220a61(0x1d1),'JVyOs':function(_0x1738d3,_0x5ceb63){return _0x1738d3!==_0x5ceb63;},'FTlPy':'File\x20path\x20could\x20not\x20be\x20found','LUSYS':_0x220a61(0x19e),'YcFCM':_0x220a61(0xd2),'EtPAQ':'TestRunSkipped','dSgwD':_0x220a61(0x192),'Tvhjx':function(_0x4788ea,_0x3d20b2){return _0x4788ea-_0x3d20b2;},'DzJxM':_0x220a61(0xcd),'mLvZG':_0x220a61(0x142),'oSXlO':function(_0xf1dffa,_0x5aac33){return _0xf1dffa===_0x5aac33;},'mHtVr':_0x220a61(0x177),'wXtnt':_0x220a61(0x1e9),'odJRy':function(_0x1a2178,_0x251257){return _0x1a2178(_0x251257);},'BIdrz':function(_0x3f1b0e,_0x3b6542){return _0x3f1b0e===_0x3b6542;},'AzDkp':'HookRunFinished','kbizn':function(_0x55eaf8,_0x413179){return _0x55eaf8!==_0x413179;},'IlFPE':_0x220a61(0xde),'hpYDp':_0x220a61(0x114),'WnMNr':_0x220a61(0x12e),'CGWcI':function(_0x123629,_0x3d13f0){return _0x123629(_0x3d13f0);},'fcrxv':'failure','zhTrD':_0x220a61(0x178),'IYdds':'backtrace','OYwKY':_0x220a61(0x180),'KCUlc':_0x220a61(0x1e0),'amfnK':_0x220a61(0xe8),'uqxNN':_0x220a61(0x193),'wziEO':_0x220a61(0x13e),'nziAm':_0x220a61(0xe6),'YDPVd':function(_0x36286c,_0x2b7d20){return _0x36286c(_0x2b7d20);}};try{if(_0x3aeda8['body']&&_0x3aeda8[_0x220a61(0x199)][_0x220a61(0xc4)](/browserstack internal helper hook/))return;let _0x5373a3=[];if(_0x4b8516[_0x220a61(0x170)](_0x3aeda8[_0x220a61(0x140)],STATE_FAILED)){if(_0x4b8516[_0x220a61(0x128)](_0x3aeda8[_0x220a61(0x1d1)],undefined))_0x5373a3=_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0x16a)]?[_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0x16a)],_0x4b8516['VtifT']]:[_0x3aeda8[_0x220a61(0x1d1)],_0x4b8516[_0x220a61(0x1a3)]];else _0x4b8516[_0x220a61(0x128)](_0x131f8f,undefined)?_0x5373a3=[_0x131f8f,_0x4b8516[_0x220a61(0x1a3)]]:_0x5373a3=[];}const _0x249b34=_0x4b8516['ZsMDu'](_0x3aeda8[_0x220a61(0x1d1)],undefined)?_0x3aeda8[_0x220a61(0x1d1)][_0x220a61(0xd1)]():_0x4b8516['JVyOs'](_0x131f8f,undefined)?_0x131f8f['toString']():undefined;let _0x2817bc;try{_0x2817bc=this[_0x220a61(0x104)](_0x3aeda8);}catch(_0x31119b){_0x2817bc=null;}const _0x410911=_0x2817bc?this['findGitConfig'](_0x2817bc):null,_0x42462b=_0x2817bc?this['_paths'][_0x220a61(0x12f)](this['getRootParentFile'](_0x3aeda8)):_0x4b8516[_0x220a61(0x133)],_0x102f9a={'framework':_0x4b8516['LUSYS'],'uuid':_0x3aeda8[_0x220a61(0xc6)]||_0x3aeda8[_0x220a61(0x188)],'name':_0x3aeda8[_0x220a61(0x16b)],'body':{'lang':_0x4b8516[_0x220a61(0xfd)],'code':_0x3aeda8[_0x220a61(0x199)]},'scope':this[_0x220a61(0x18f)](_0x3aeda8),'scopes':this['scopes'](_0x3aeda8),'identifier':_0x3aeda8[_0x220a61(0x181)](),'file_name':_0x42462b,'vc_filepath':_0x410911?path[_0x220a61(0xd6)](_0x410911,_0x2817bc):null,'location':_0x42462b,'result':_0x4b8516[_0x220a61(0x170)](_0x364a11,_0x4b8516[_0x220a61(0x136)])?_0x4b8516[_0x220a61(0xdd)]:this[_0x220a61(0x138)](_0x3aeda8[_0x220a61(0x140)]),'failure_reason':_0x249b34,'duration_in_ms':_0x3aeda8[_0x220a61(0x173)]||(_0x364a11['match'](/Finished/)||_0x364a11[_0x220a61(0xc4)](/Skipped/)?_0x4b8516[_0x220a61(0x18e)](Date[_0x220a61(0xf6)](),new Date(_0x3aeda8[_0x220a61(0x177)])[_0x220a61(0x1b2)]()):null),'started_at':_0x3aeda8[_0x220a61(0x177)],'finished_at':_0x364a11[_0x220a61(0xc4)](/Finished/)||_0x364a11[_0x220a61(0xc4)](/Skipped/)?new Date()[_0x220a61(0x19d)]():null,'failure':failureData[_0x220a61(0x15e)](null,_0x5373a3),'failure_type':!_0x249b34?null:_0x249b34[_0x220a61(0xc4)](/AssertionError/)?_0x4b8516[_0x220a61(0x1a9)]:_0x4b8516[_0x220a61(0x1ae)],'retry_of':_0x3aeda8[_0x220a61(0xdc)]};testhubUtils[_0x220a61(0x16f)](_0x102f9a,_0x364a11,_0x3aeda8,FRAMEWORKS[_0x220a61(0x12d)]);_0x4b8516[_0x220a61(0x102)](_0x364a11,_0x4b8516['EtPAQ'])&&!_0x102f9a[_0x4b8516[_0x220a61(0x1ed)]]&&(_0x102f9a[_0x4b8516['mHtVr']]=_0x102f9a[_0x4b8516['wXtnt']]);if(_0x364a11[_0x220a61(0xc4)](/HookRun/))[_0x102f9a['hook_type'],_0x102f9a['name']]=_0x4b8516[_0x220a61(0x1d3)](getHookDetails,_0x3aeda8['fullTitle']()||_0x3aeda8[_0x220a61(0x187)]||_0x3aeda8[_0x220a61(0x16b)]),_0x4b8516[_0x220a61(0x1d9)](_0x364a11,_0x4b8516[_0x220a61(0x125)])&&(_0x4b8516[_0x220a61(0xd9)](_0x102f9a[_0x220a61(0x1ee)],_0x4b8516[_0x220a61(0xc3)])&&(_0x102f9a[_0x220a61(0x1ee)]=_0x4b8516['hpYDp']),_0x4b8516[_0x220a61(0x1d9)](_0x102f9a[_0x220a61(0x193)],_0x4b8516[_0x220a61(0x139)])&&_0x4b8516[_0x220a61(0x102)](_0x102f9a['result'],_0x4b8516[_0x220a61(0xc3)])&&!_0x3aeda8[_0x220a61(0x168)]['currentTest']['markedStatus']&&(_0x3aeda8['ctx']['currentTest'][_0x220a61(0x1e2)]=!![],_0x3aeda8[_0x220a61(0x168)]['currentTest'][_0x220a61(0x140)]=STATE_FAILED,await this['sendTestRunEvent'](_0x3aeda8['ctx'][_0x220a61(0x1b0)],undefined,!![])));else _0x364a11['match'](/TestRun/)&&_0x4b8516[_0x220a61(0x163)](mapTestHooks,_0x3aeda8);const _0x7c0583=_0x102f9a[_0x4b8516[_0x220a61(0x17d)]][0x0];_0x7c0583&&(_0x102f9a[_0x4b8516['zhTrD']]=_0x7c0583[_0x4b8516[_0x220a61(0x1da)]],_0x102f9a[_0x4b8516[_0x220a61(0x1a6)]]=_0x7c0583[_0x4b8516[_0x220a61(0x1bc)]]);[_0x4b8516[_0x220a61(0x1ac)],_0x4b8516[_0x220a61(0x136)]][_0x220a61(0xf2)](_0x364a11)&&(this[_0x220a61(0x132)][_0x220a61(0xea)](_0x102f9a),_0x102f9a['hooks']=_0x4b8516['odJRy'](getHooksForTest,_0x3aeda8));const _0x37f0c1={'event_type':_0x4b8516[_0x220a61(0x170)](_0x364a11,_0x4b8516['EtPAQ'])?_0x4b8516[_0x220a61(0x1ac)]:_0x364a11};_0x364a11[_0x220a61(0xc4)](/HookRun/)?(_0x102f9a[_0x4b8516['uqxNN']]=HOOK_TYPES_MAP[_0x102f9a[_0x4b8516[_0x220a61(0x1ec)]]],_0x37f0c1[_0x4b8516['wziEO']]=_0x102f9a):_0x37f0c1[_0x4b8516[_0x220a61(0x1a1)]]=_0x102f9a,testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x220a61(0x12d)],_0x37f0c1),await SessionHandler[_0x220a61(0x12c)](_0x37f0c1);}catch(_0x33d506){_0x4b8516[_0x220a61(0xfb)](debug,_0x220a61(0x179)+_0x364a11+_0x220a61(0x18c)+_0x33d506);}};[a25_0x22cd65(0x1bd)](_0x49ec7b){const _0x4dd124=a25_0x22cd65,_0xdeb951={};_0xdeb951[_0x4dd124(0x1eb)]=function(_0x4135ed,_0x3f7edd){return _0x4135ed===_0x3f7edd;},_0xdeb951[_0x4dd124(0x1db)]=_0x4dd124(0xc1),_0xdeb951[_0x4dd124(0xbd)]=_0x4dd124(0x146);const _0x33720a=_0xdeb951,_0x8145ca=path[_0x4dd124(0x111)];if(_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,null)||_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,'')||_0x33720a[_0x4dd124(0x1eb)](_0x49ec7b,_0x8145ca))return null;try{return fs[_0x4dd124(0x13f)](path[_0x4dd124(0x160)](_0x49ec7b,_0x33720a[_0x4dd124(0x1db)],_0x33720a['ukJfv'])),_0x49ec7b;}catch(_0x4500d8){const _0x2911db=path[_0x4dd124(0xfe)](_0x49ec7b);return this['findGitConfig'](_0x2911db);}}[a25_0x22cd65(0x176)]=async _0x28725d=>{const _0x59de36=a25_0x22cd65,_0x394299={'sqIon':'LogCreated','okeOB':function(_0x168b4d,_0x1fc019){return _0x168b4d(_0x1fc019);}};try{this[_0x59de36(0x161)]&&!this[_0x59de36(0x161)][_0x59de36(0x1e2)]&&(_0x28725d[_0x59de36(0xf8)]=this['current_hook'][_0x59de36(0x188)]);!_0x28725d['hook_run_uuid']&&this[_0x59de36(0xce)]&&!this[_0x59de36(0xce)][_0x59de36(0x1e2)]&&(_0x28725d[_0x59de36(0x1ab)]=this['current_test'][_0x59de36(0xc6)]);if(_0x28725d['hook_run_uuid']||_0x28725d[_0x59de36(0x1ab)]){const _0x84dd89={};_0x84dd89[_0x59de36(0x10b)]=_0x394299[_0x59de36(0xc5)],_0x84dd89['logs']=[_0x28725d],await SessionHandler[_0x59de36(0x12c)](_0x84dd89);}}catch(_0x40504b){_0x394299['okeOB'](debug,_0x59de36(0x171)+_0x40504b);}};[a25_0x22cd65(0x14e)]=async _0x5e8a1f=>{const _0xe79e97=a25_0x22cd65,_0x3eb5ca={'rySJg':'http_response','FsFGJ':_0xe79e97(0xfc),'QeTnT':function(_0x424b8b,_0x42bd82){return _0x424b8b(_0x42bd82);}};try{const _0x1db306={};_0x1db306[_0xe79e97(0x1d0)]=_0x5e8a1f[_0xe79e97(0x1d0)]||this[_0xe79e97(0xce)][_0xe79e97(0xc6)],_0x1db306[_0xe79e97(0xe3)]=_0x5e8a1f[_0x3eb5ca[_0xe79e97(0x1b6)]];const _0x4dea85=_0x1db306,_0x4d0aa6={};_0x4d0aa6[_0xe79e97(0x10b)]=_0x3eb5ca[_0xe79e97(0x14b)],_0x4d0aa6['test_run']=_0x4dea85,await SessionHandler['uploadEventData'](_0x4d0aa6);}catch(_0x584beb){_0x3eb5ca[_0xe79e97(0x19b)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x584beb);}};[a25_0x22cd65(0x138)](_0x378047){const _0x2231fe=a25_0x22cd65,_0xf85fd4={};_0xf85fd4[_0x2231fe(0x169)]='passed',_0xf85fd4['fMTKF']=_0x2231fe(0x1a7),_0xf85fd4[_0x2231fe(0x14d)]='failed';const _0x40913d=_0xf85fd4,_0x1b2025={};return _0x1b2025[STATE_PASSED]=_0x40913d['pvNUK'],_0x1b2025[STATE_PENDING]=_0x40913d[_0x2231fe(0x122)],_0x1b2025[STATE_FAILED]=_0x40913d[_0x2231fe(0x14d)],_0x1b2025[_0x378047];}[a25_0x22cd65(0x18f)](_0x3333dd){const _0x1a3ee7=a25_0x22cd65,_0x868e44={};_0x868e44[_0x1a3ee7(0x196)]=function(_0x2e5c6e,_0x2e3620){return _0x2e5c6e-_0x2e3620;};const _0xa1e68a=_0x868e44,_0x575dfa=_0x3333dd[_0x1a3ee7(0x1e1)]();return _0x575dfa[_0x1a3ee7(0x108)](0x0,_0xa1e68a[_0x1a3ee7(0x196)](_0x575dfa['length'],0x1))[_0x1a3ee7(0x160)]('\x20');}[a25_0x22cd65(0xd0)](_0x595809){const _0x58533e=a25_0x22cd65,_0x53085e={};_0x53085e['mtSyy']=function(_0x2fa1cd,_0x464216){return _0x2fa1cd-_0x464216;};const _0x268c72=_0x53085e,_0x16ba5d=_0x595809[_0x58533e(0x1e1)]();return _0x16ba5d[_0x58533e(0x108)](0x0,_0x268c72[_0x58533e(0x100)](_0x16ba5d[_0x58533e(0x1d2)],0x1));}['getRootParentFile'](_0x49d0fe){const _0xd734b2=a25_0x22cd65,_0x32eba7={};_0x32eba7[_0xd734b2(0x143)]=function(_0x3b44fd,_0x334a77){return _0x3b44fd>_0x334a77;};const _0x5c3e44=_0x32eba7;if(_0x49d0fe[_0xd734b2(0x1e5)])return _0x49d0fe[_0xd734b2(0x1e5)];if(_0x49d0fe[_0xd734b2(0x168)]){const _0x4d6eb2=_0x49d0fe[_0xd734b2(0x168)][_0xd734b2(0x1b0)]?this[_0xd734b2(0x104)](_0x49d0fe[_0xd734b2(0x168)][_0xd734b2(0x1b0)]):null;if(_0x4d6eb2)return _0x4d6eb2;}if(_0x49d0fe[_0xd734b2(0xc8)]){const _0xd70f08=this[_0xd734b2(0x104)](_0x49d0fe['parent'])||(_0x49d0fe[_0xd734b2(0xc8)][_0xd734b2(0x168)]&&_0x49d0fe[_0xd734b2(0xc8)]['ctx']['currentTest']?this[_0xd734b2(0x104)](_0x49d0fe['parent']['ctx']['currentTest']):null);if(_0xd70f08)return _0xd70f08;_0x49d0fe[_0xd734b2(0xc8)]['suites']&&_0x5c3e44[_0xd734b2(0x143)](_0x49d0fe[_0xd734b2(0xc8)]['suites'][_0xd734b2(0x1d2)],0x0)&&_0x49d0fe[_0xd734b2(0xc8)]['suites'][_0xd734b2(0xf4)](_0x2cbf47=>{const _0x1dd422=_0xd734b2,_0x5b8706=_0x2cbf47[_0x1dd422(0x168)]?this[_0x1dd422(0x104)](_0x2cbf47[_0x1dd422(0x168)]):null;if(_0x5b8706)return _0x5b8706;});}return null;}}module[a25_0x22cd65(0x1e6)]=MyReporter;
|
|
1
|
+
'use strict';const a25_0xd6b2f2=a25_0x3919;(function(_0x39c567,_0x18e660){const _0x41e5b8=a25_0x3919,_0xcf74c3=_0x39c567();while(!![]){try{const _0x51cf5e=-parseInt(_0x41e5b8(0x16c))/0x1*(parseInt(_0x41e5b8(0x187))/0x2)+parseInt(_0x41e5b8(0xf7))/0x3*(parseInt(_0x41e5b8(0x1cc))/0x4)+parseInt(_0x41e5b8(0x17c))/0x5+-parseInt(_0x41e5b8(0xd1))/0x6+parseInt(_0x41e5b8(0x15a))/0x7*(-parseInt(_0x41e5b8(0x1b2))/0x8)+-parseInt(_0x41e5b8(0x126))/0x9+parseInt(_0x41e5b8(0x1f1))/0xa*(parseInt(_0x41e5b8(0xf9))/0xb);if(_0x51cf5e===_0x18e660)break;else _0xcf74c3['push'](_0xcf74c3['shift']());}catch(_0x158668){_0xcf74c3['push'](_0xcf74c3['shift']());}}}(a25_0x4e23,0x7c88f));const util=require(a25_0xd6b2f2(0x199)),fs=require('fs'),path=require(a25_0xd6b2f2(0x156)),{requireModule}=require(a25_0xd6b2f2(0xd3)),Base=requireModule(a25_0xd6b2f2(0x186)),utils=requireModule(a25_0xd6b2f2(0x14c)),color=Base[a25_0xd6b2f2(0xf3)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0xd6b2f2(0xe5)),{v4:uuidv4}=require(a25_0xd6b2f2(0x14e)),bsSetupHelper=require(a25_0xd6b2f2(0xd3)),testhubUtils=require(a25_0xd6b2f2(0x195)),testHubConstants=require(a25_0xd6b2f2(0xf1)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a25_0x517df1={};a25_0x517df1['before\x20all']=a25_0xd6b2f2(0x123),a25_0x517df1[a25_0xd6b2f2(0x1c7)]=a25_0xd6b2f2(0x1cf),a25_0x517df1[a25_0xd6b2f2(0x105)]=a25_0xd6b2f2(0x1ae),a25_0x517df1[a25_0xd6b2f2(0xd2)]=a25_0xd6b2f2(0xdb);const HOOK_TYPES_MAP=a25_0x517df1,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha['Runner'][a25_0xd6b2f2(0x17a)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0xd6b2f2(0x17a)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a25_0xd6b2f2(0x202)),{consoleHolder}=require(a25_0xd6b2f2(0x191)),SessionHandler=require(a25_0xd6b2f2(0x1a8)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0xd6b2f2(0x18e)),RequestQueueHandler=require(a25_0xd6b2f2(0x138)),requestQueueHandler=RequestQueueHandler[a25_0xd6b2f2(0x10b)]();class MyReporter{constructor(_0xe2e4a6,_0x278394){const _0x48301d=a25_0xd6b2f2,_0x558437={'cJHIB':function(_0x305cc4,_0x3f89c8){return _0x305cc4===_0x3f89c8;},'xZqDb':_0x48301d(0xed),'sIkaI':function(_0xcb1657,_0x2fb06e){return _0xcb1657===_0x2fb06e;},'PJhdp':function(_0x37b9f4,_0x383007){return _0x37b9f4+_0x383007;},'WSFFJ':function(_0x24f867,_0xb12783){return _0x24f867+_0xb12783;},'wgoDt':function(_0x6d97d0,_0x30f665,_0x592b4b){return _0x6d97d0(_0x30f665,_0x592b4b);},'oZXxb':'green','ahEmt':_0x48301d(0x11f),'RbAtF':function(_0x4acd8d,_0x56bf62,_0x37157a){return _0x4acd8d(_0x56bf62,_0x37157a);},'JILJF':'light','LPFRB':_0x48301d(0x103),'YbMJp':'RUNNING','MFwue':_0x48301d(0x17f),'PDMCy':function(_0xcafb44){return _0xcafb44();},'UAowE':function(_0x3c1045){return _0x3c1045();},'EtuAt':_0x48301d(0x14f),'LRYpC':function(_0x4b5ea4,_0x4e4e1b){return _0x4b5ea4===_0x4e4e1b;},'EIXfo':'HookRunFinished','vyIoR':_0x48301d(0x13c),'KogaX':_0x48301d(0xd6),'fsBWj':function(_0x437c71,_0x111ec7){return _0x437c71+_0x111ec7;},'nWkKk':function(_0x321dec,_0x5c2d72,_0x408b64){return _0x321dec(_0x5c2d72,_0x408b64);},'HSqbC':_0x48301d(0x1a7),'TMYyl':'pass','yvIul':'\x20%s','QMOBY':function(_0x278b35,_0x7430bc){return _0x278b35+_0x7430bc;},'ELDpF':function(_0x2201ec,_0x5b92e8){return _0x2201ec+_0x5b92e8;},'hIrDQ':function(_0x8f54eb,_0x36897c){return _0x8f54eb+_0x36897c;},'QGFDh':_0x48301d(0x17e),'YWYxk':_0x48301d(0x192),'mfIHX':_0x48301d(0x197),'ktnbU':function(_0x4a3f3c,_0x485a5a){return _0x4a3f3c+_0x485a5a;},'QuvqE':function(_0x1b42ab,_0x4f2c05,_0x108080){return _0x1b42ab(_0x4f2c05,_0x108080);},'ScuxE':_0x48301d(0x168),'XgSVp':function(_0x1f6d16,_0x1d6390,_0x294a3f){return _0x1f6d16(_0x1d6390,_0x294a3f);},'JTcHD':_0x48301d(0x1b5),'FQUoP':function(_0x1f1f55,_0x13191f){return _0x1f1f55===_0x13191f;},'cIfLk':'dot','lzBqJ':_0x48301d(0x16b),'HNITo':function(_0x48e97d,_0x1dfa97){return _0x48e97d===_0x1dfa97;},'HARKf':function(_0x1a1bd0,_0x7a66dd){return _0x1a1bd0===_0x7a66dd;},'ueJyE':function(_0x3a8cca,_0x462a6c){return _0x3a8cca===_0x462a6c;},'lWlLq':function(_0x6f8772,_0x209321){return _0x6f8772===_0x209321;},'RyySh':'4|3|1|0|2','DRRrN':function(_0x420c19,_0x4c1069){return _0x420c19===_0x4c1069;},'rvKuo':_0x48301d(0x1c0),'edKUu':'TestRunSkipped','QauiC':function(_0x4d0872,_0x4ae306){return _0x4d0872===_0x4ae306;},'GPKZb':function(_0x4af799,_0x1f461a){return _0x4af799(_0x1f461a);},'InwLn':function(_0x3787b4,_0x2f1a0f){return _0x3787b4(_0x2f1a0f);},'LMZWe':function(_0x453202,_0x2c8dfc){return _0x453202===_0x2c8dfc;},'yILbR':function(_0x404dcb){return _0x404dcb();},'CaSds':function(_0x33dcf3){return _0x33dcf3();},'oLipE':function(_0x385a4a,_0xcf386){return _0x385a4a===_0xcf386;},'uGAYk':_0x48301d(0x17b),'sHbwt':function(_0x87e06,_0x52d564){return _0x87e06(_0x52d564);},'RWquj':function(_0x10e730,_0x76d617){return _0x10e730(_0x76d617);},'LUPpY':function(_0x23f89e,_0xdf493){return _0x23f89e!==_0xdf493;}};this['type']=_0x278394[_0x48301d(0xfa)]['type'],this['testObservability']=_0x558437['yILbR'](isTestObservabilitySession),Base[_0x48301d(0xfb)](this,_0xe2e4a6,_0x278394),this['_indents']=0x0,this[_0x48301d(0x10a)]=0x0,this['results']=[],this[_0x48301d(0x13b)]=[],this[_0x48301d(0x131)]=0x0,this[_0x48301d(0x116)]=![],this[_0x48301d(0x15f)]=[],this[_0x48301d(0x102)]=_0x558437['CaSds'](getTestEnv),this[_0x48301d(0xeb)]=new PathHelper({'cwd':process['cwd']()},this[_0x48301d(0x102)][_0x48301d(0x1a3)]),this[_0x48301d(0x17d)]=_0x278394['reporterOption']['bsConfig'],this[_0x48301d(0xfd)]();_0x558437['oLipE'](this[_0x48301d(0x1b4)],_0x558437[_0x48301d(0x1ec)])&&(this[_0x48301d(0x1f8)]='',this['__indents']=0x2);_0xe2e4a6[_0x48301d(0x139)](EVENT_RUN_BEGIN,async()=>{const _0x24e0e8=_0x48301d;_0x558437[_0x24e0e8(0x19e)](this[_0x24e0e8(0x1b4)],_0x558437[_0x24e0e8(0x147)])&&Base[_0x24e0e8(0x1be)]();})['on'](EVENT_SUITE_BEGIN,_0x3038a4=>{const _0x4d3223=_0x48301d;if(_0x3038a4[_0x4d3223(0x189)])return;if(_0x558437[_0x4d3223(0xec)](this['type'],_0x558437['xZqDb']))this[_0x4d3223(0x1af)](),Base[_0x4d3223(0x1be)](_0x558437[_0x4d3223(0xd4)](_0x558437[_0x4d3223(0x10c)](this[_0x4d3223(0x1f2)](),_0x558437[_0x4d3223(0x19a)](color,_0x558437[_0x4d3223(0x1b7)],_0x558437[_0x4d3223(0x124)])),_0x558437[_0x4d3223(0x200)](color,_0x558437[_0x4d3223(0x15d)],_0x558437['LPFRB'])),_0x558437[_0x4d3223(0xff)],_0x3038a4[_0x4d3223(0xd7)],global[_0x4d3223(0x176)]);else _0x558437[_0x4d3223(0xec)](this['type'],_0x558437[_0x4d3223(0x1ec)])&&(this['docAppend'](this[_0x4d3223(0x1f2)]()+_0x4d3223(0x1c3)),++this[_0x4d3223(0x1fd)],this[_0x4d3223(0xe4)](this['indent']()+_0x4d3223(0xef)+utils[_0x4d3223(0xf4)](_0x3038a4[_0x4d3223(0xd7)]+_0x4d3223(0x109)+global['__platform__'])+'</h1>'),this[_0x4d3223(0xe4)](this[_0x4d3223(0x1f2)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0x26087a=>{const _0x17a3a3=_0x48301d;if(_0x558437[_0x17a3a3(0xec)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x17a3a3(0x172)][_0x17a3a3(0x1fb)]),!![])){if(!_0x26087a[_0x17a3a3(0x129)])_0x26087a[_0x17a3a3(0x129)]=_0x558437[_0x17a3a3(0x19c)](uuidv4);else _0x26087a['markedStatus']&&(_0x26087a['hookAnalyticsId']=_0x558437['UAowE'](uuidv4),delete _0x26087a['markedStatus']);_0x26087a['started_at']=new Date()[_0x17a3a3(0x1e5)](),this[_0x17a3a3(0x115)]=_0x26087a,await this[_0x17a3a3(0x146)](_0x26087a,undefined,![],_0x558437[_0x17a3a3(0x1b0)]);}})['on'](EVENT_HOOK_END,async _0x3a764c=>{const _0x2d72e2=_0x48301d;_0x558437['LRYpC'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x2d72e2(0x172)][_0x2d72e2(0x163)]),!![])&&(!_0x3a764c[_0x2d72e2(0x110)]&&(_0x3a764c['markedStatus']=!![],await this[_0x2d72e2(0x146)](_0x3a764c,undefined,![],_0x558437[_0x2d72e2(0x155)])));})['on'](EVENT_SUITE_END,_0x2e279a=>{const _0x56a5a5=_0x48301d,_0x1ed098={'VLCWR':function(_0x16b8d0,_0x222c24){const _0x5abedc=a25_0x3919;return _0x558437[_0x5abedc(0x19e)](_0x16b8d0,_0x222c24);},'qotFV':_0x558437[_0x56a5a5(0x1c5)],'QIELN':function(_0x246f96,_0x398780){const _0xddd2e3=_0x56a5a5;return _0x558437[_0xddd2e3(0xec)](_0x246f96,_0x398780);},'eoXpy':_0x558437[_0x56a5a5(0x1f4)],'DYqqN':function(_0x485cdd,_0x36500d){const _0x2cad09=_0x56a5a5;return _0x558437[_0x2cad09(0x107)](_0x485cdd,_0x36500d);},'ltxzn':function(_0x582c11,_0x245fa7,_0x53c320){const _0xd45cb0=_0x56a5a5;return _0x558437[_0xd45cb0(0x120)](_0x582c11,_0x245fa7,_0x53c320);},'yVeFL':_0x558437[_0x56a5a5(0x16d)],'EpTwP':function(_0x493af0,_0x270a92){const _0x4501e4=_0x56a5a5;return _0x558437[_0x4501e4(0x107)](_0x493af0,_0x270a92);},'UBXYf':function(_0x3287d9,_0x223964,_0x10e0dd){const _0x23a191=_0x56a5a5;return _0x558437[_0x23a191(0x19a)](_0x3287d9,_0x223964,_0x10e0dd);},'pyyoo':_0x558437[_0x56a5a5(0x159)],'BBrxa':_0x558437[_0x56a5a5(0x18d)],'SuAhc':function(_0x3fbb32,_0x3e28d8){const _0x26ff6d=_0x56a5a5;return _0x558437[_0x26ff6d(0x12c)](_0x3fbb32,_0x3e28d8);},'xcHyv':function(_0x54f3a9,_0x39ef0d){return _0x558437['ELDpF'](_0x54f3a9,_0x39ef0d);},'Zarvm':function(_0xcefd2b,_0xa4314){const _0x45344e=_0x56a5a5;return _0x558437[_0x45344e(0x1d5)](_0xcefd2b,_0xa4314);},'TZjmk':function(_0x5341b6,_0x5a15e9,_0x4cf72e){return _0x558437['wgoDt'](_0x5341b6,_0x5a15e9,_0x4cf72e);},'EHmYq':_0x558437[_0x56a5a5(0x1d9)],'xiSbX':function(_0x1b43ae,_0xea07f8,_0x34d322){const _0x441af3=_0x56a5a5;return _0x558437[_0x441af3(0x200)](_0x1b43ae,_0xea07f8,_0x34d322);},'OuTQR':_0x558437[_0x56a5a5(0x12b)],'RamDC':_0x558437['mfIHX']};if(_0x2e279a['root'])return;if(_0x558437['sIkaI'](this[_0x56a5a5(0x1b4)],_0x558437[_0x56a5a5(0x147)]))Base[_0x56a5a5(0x1be)](),Base[_0x56a5a5(0x1be)](_0x558437[_0x56a5a5(0x143)](_0x558437['PJhdp'](this[_0x56a5a5(0x1f2)](),_0x558437[_0x56a5a5(0x1a6)](color,_0x558437[_0x56a5a5(0xf5)],_0x558437[_0x56a5a5(0x124)])),_0x558437['XgSVp'](color,_0x558437[_0x56a5a5(0x15d)],_0x558437[_0x56a5a5(0x1f3)])),_0x558437[_0x56a5a5(0x179)],_0x2e279a[_0x56a5a5(0xd7)],global[_0x56a5a5(0x176)]),this[_0x56a5a5(0x104)][_0x56a5a5(0xee)](_0x192b03=>{const _0x56470e=_0x56a5a5;if(_0x1ed098[_0x56470e(0x1dc)](_0x192b03[_0x56470e(0x190)],_0x1ed098[_0x56470e(0x132)])){var _0x328aac;_0x1ed098[_0x56470e(0x12f)](_0x192b03[_0x56470e(0x15b)],_0x1ed098[_0x56470e(0x198)])?(_0x328aac=_0x1ed098[_0x56470e(0xf2)](_0x1ed098[_0x56470e(0xf2)](this[_0x56470e(0x1f2)](),_0x1ed098[_0x56470e(0x196)](color,_0x1ed098[_0x56470e(0x1ff)],_0x1ed098['EpTwP']('\x20\x20',Base[_0x56470e(0x206)]['ok']))),_0x1ed098[_0x56470e(0x1cb)](color,_0x1ed098[_0x56470e(0x188)],_0x1ed098['BBrxa'])),Base[_0x56470e(0x1be)](_0x328aac,_0x192b03[_0x56470e(0xd7)])):(_0x328aac=_0x1ed098[_0x56470e(0x1e4)](_0x1ed098[_0x56470e(0x100)](_0x1ed098['xcHyv'](this[_0x56470e(0x1f2)](),_0x1ed098['ltxzn'](color,_0x1ed098[_0x56470e(0x1ff)],_0x1ed098[_0x56470e(0xe3)]('\x20\x20',Base[_0x56470e(0x206)]['ok']))),_0x1ed098[_0x56470e(0x14b)](color,_0x1ed098[_0x56470e(0x188)],_0x1ed098[_0x56470e(0x1d8)])),_0x1ed098['TZjmk'](color,_0x192b03[_0x56470e(0x15b)],_0x1ed098[_0x56470e(0x112)])),Base['consoleLog'](_0x328aac,_0x192b03[_0x56470e(0xd7)],_0x192b03[_0x56470e(0x1fa)]));}else Base[_0x56470e(0x1be)](_0x1ed098[_0x56470e(0x1e4)](this[_0x56470e(0x1f2)](),_0x1ed098['xiSbX'](color,_0x1ed098[_0x56470e(0x14a)],_0x1ed098[_0x56470e(0xe9)])),++this[_0x56470e(0x10a)],_0x192b03[_0x56470e(0xd7)]);}),this[_0x56a5a5(0x18a)]();else _0x558437['cJHIB'](this[_0x56a5a5(0x1b4)],_0x558437[_0x56a5a5(0x1ec)])&&(this[_0x56a5a5(0xe4)](this[_0x56a5a5(0x1f2)]()+_0x56a5a5(0x16a)),--this[_0x56a5a5(0x1fd)],this['docAppend'](this['indent']()+_0x56a5a5(0x1a9)),--this[_0x56a5a5(0x1fd)]);Array[_0x56a5a5(0x13a)]['push']['apply'](this[_0x56a5a5(0x13b)],this[_0x56a5a5(0x104)]),this[_0x56a5a5(0x104)]=[];})['on'](EVENT_TEST_PASS,async _0x205d46=>{const _0x23907c=_0x48301d;this[_0x23907c(0x104)][_0x23907c(0x167)]({'speed':_0x205d46[_0x23907c(0x15b)],'suite':_0x205d46[_0x23907c(0x1ab)]['title'],'title':_0x205d46[_0x23907c(0xd7)],'fullTitle':_0x205d46[_0x23907c(0x11d)](),'duration':_0x205d46[_0x23907c(0x1fa)],'state':_0x205d46[_0x23907c(0x190)],'err':{},'currentRetry':_0x205d46[_0x23907c(0xea)](),'titlePathV':_0x205d46[_0x23907c(0x1b9)](),'isPending':_0x205d46['isPending']()});if(_0x558437[_0x23907c(0x108)](this[_0x23907c(0x1b4)],_0x558437[_0x23907c(0x1e0)]))_0x558437[_0x23907c(0xde)](_0x205d46[_0x23907c(0x15b)],_0x558437['lzBqJ'])?process['stdout']['write'](Base[_0x23907c(0xf3)](_0x558437[_0x23907c(0xf5)],Base[_0x23907c(0x206)]['dot'])):process[_0x23907c(0x140)][_0x23907c(0x1bc)](Base[_0x23907c(0xf3)](_0x205d46[_0x23907c(0x15b)],Base['symbols'][_0x23907c(0x10f)]));else{if(_0x558437[_0x23907c(0x160)](this[_0x23907c(0x1b4)],_0x558437[_0x23907c(0x1ec)])){this[_0x23907c(0xe4)](this[_0x23907c(0x1f2)]()+_0x23907c(0x19b)+utils[_0x23907c(0xf4)](_0x205d46[_0x23907c(0xd7)])+'</dt>'),this[_0x23907c(0xe4)](this[_0x23907c(0x1f2)]()+'\x20\x20<dt>'+utils[_0x23907c(0xf4)](_0x205d46['file'])+_0x23907c(0x158));var _0x26bb4a=utils[_0x23907c(0xf4)](utils[_0x23907c(0x183)](_0x205d46[_0x23907c(0x1b1)]));this['docAppend'](this[_0x23907c(0x1f2)]()+'\x20\x20<dd><pre><code>'+_0x26bb4a+_0x23907c(0x18b));}}_0x558437[_0x23907c(0x11b)](testhubUtils[_0x23907c(0x203)](),!![])&&(!_0x205d46[_0x23907c(0x110)]&&(_0x205d46['markedStatus']=!![],await this[_0x23907c(0x146)](_0x205d46)));})['on'](EVENT_TEST_FAIL,async(_0x5349ed,_0x138b55)=>{const _0x2f1a5c=_0x48301d;this[_0x2f1a5c(0x104)][_0x2f1a5c(0x167)]({'title':_0x5349ed[_0x2f1a5c(0xd7)],'suite':_0x5349ed[_0x2f1a5c(0x1ab)][_0x2f1a5c(0xd7)],'state':_0x5349ed[_0x2f1a5c(0x190)],'err':{'message':util[_0x2f1a5c(0x1c4)](_0x138b55)},'fullTitle':_0x5349ed[_0x2f1a5c(0x11d)](),'speed':_0x5349ed['speed'],'currentRetry':_0x5349ed[_0x2f1a5c(0xea)](),'titlePathV':_0x5349ed[_0x2f1a5c(0x1b9)]()});if(_0x558437[_0x2f1a5c(0xf0)](this[_0x2f1a5c(0x1b4)],_0x558437[_0x2f1a5c(0x1e0)]))process[_0x2f1a5c(0x140)][_0x2f1a5c(0x1bc)](Base[_0x2f1a5c(0xf3)](_0x558437[_0x2f1a5c(0x12b)],Base['symbols'][_0x2f1a5c(0x194)]));else{if(_0x558437[_0x2f1a5c(0x148)](this['type'],_0x558437[_0x2f1a5c(0x1ec)])){const _0x8acede=_0x558437['RyySh']['split']('|');let _0x3064af=0x0;while(!![]){switch(_0x8acede[_0x3064af++]){case'0':this[_0x2f1a5c(0xe4)](this[_0x2f1a5c(0x1f2)]()+_0x2f1a5c(0x1b8)+_0x4377ad+'</code></pre></dd>');continue;case'1':var _0x4377ad=utils[_0x2f1a5c(0xf4)](utils[_0x2f1a5c(0x183)](_0x5349ed[_0x2f1a5c(0x1b1)]));continue;case'2':this[_0x2f1a5c(0xe4)](this[_0x2f1a5c(0x1f2)]()+'\x20\x20<dd\x20class=\x22error\x22>'+utils[_0x2f1a5c(0xf4)](_0x5349ed['err'])+'</dd>');continue;case'3':this[_0x2f1a5c(0xe4)](this[_0x2f1a5c(0x1f2)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x2f1a5c(0xf4)](_0x5349ed[_0x2f1a5c(0x1c1)])+_0x2f1a5c(0x158));continue;case'4':this[_0x2f1a5c(0xe4)](this['indent']()+_0x2f1a5c(0x1ca)+utils['escape'](_0x5349ed[_0x2f1a5c(0xd7)])+_0x2f1a5c(0x158));continue;}break;}}}if(_0x558437['HARKf'](testhubUtils[_0x2f1a5c(0x203)](testHubConstants['EVENT'][_0x2f1a5c(0x163)]),!![])){if(!_0x5349ed[_0x2f1a5c(0x110)]){_0x5349ed[_0x2f1a5c(0x110)]=!![];if(_0x5349ed['testAnalyticsId'])await this['sendTestRunEvent'](_0x5349ed,_0x138b55);else _0x5349ed[_0x2f1a5c(0x129)]&&await this[_0x2f1a5c(0x146)](_0x5349ed,_0x138b55,![],_0x558437[_0x2f1a5c(0x155)]);}}})['on'](EVENT_TEST_PENDING,async _0x47622e=>{const _0xf44ade=_0x48301d;this[_0xf44ade(0x104)]['push']({'title':_0x47622e[_0xf44ade(0xd7)],'suite':_0x47622e[_0xf44ade(0x1ab)][_0xf44ade(0xd7)],'state':_0x47622e[_0xf44ade(0x190)],'err':{},'fullTitle':_0x47622e['fullTitle'](),'speed':_0x47622e[_0xf44ade(0x15b)],'currentRetry':_0x47622e[_0xf44ade(0xea)](),'titlePathV':_0x47622e[_0xf44ade(0x1b9)]()}),_0x558437[_0xf44ade(0xdd)](this['type'],_0x558437[_0xf44ade(0x1e0)])&&process[_0xf44ade(0x140)][_0xf44ade(0x1bc)](Base[_0xf44ade(0xf3)](_0x558437[_0xf44ade(0x145)],Base[_0xf44ade(0x206)][_0xf44ade(0x1da)])),_0x558437[_0xf44ade(0x19e)](testhubUtils[_0xf44ade(0x203)](),!![])&&(!_0x47622e[_0xf44ade(0x1ed)]&&(_0x47622e[_0xf44ade(0x1ed)]=_0x558437['UAowE'](uuidv4)),!_0x47622e[_0xf44ade(0x110)]&&(_0x47622e[_0xf44ade(0x110)]=!![],await this['sendTestRunEvent'](_0x47622e,undefined,![],_0x558437[_0xf44ade(0x1d4)])));})['on'](EVENT_TEST_BEGIN,async _0x15b2b6=>{const _0x198f01=_0x48301d;_0x558437[_0x198f01(0x182)](testhubUtils[_0x198f01(0x203)](),!![])&&await this[_0x198f01(0x165)](_0x15b2b6);})['on'](EVENT_TEST_END,async _0x51e07c=>{const _0x30d685=_0x48301d;_0x558437[_0x30d685(0x11b)](testhubUtils['shouldProcessEventForTesthub'](),!![])&&(!_0x51e07c['markedStatus']&&(_0x51e07c['markedStatus']=!![],await this[_0x30d685(0x146)](_0x51e07c)));})[_0x48301d(0x139)](EVENT_RUN_END,async()=>{const _0x144774=_0x48301d;try{if(_0x558437[_0x144774(0x148)](testhubUtils[_0x144774(0x203)](),!![])){const _0x69cd6a=_0x558437[_0x144774(0x177)](getHookSkippedTests,this[_0x144774(0x134)]['suite']);for(const _0x5e003a of _0x69cd6a){!_0x5e003a[_0x144774(0x1ed)]&&(_0x5e003a[_0x144774(0x1ed)]=_0x558437[_0x144774(0x19c)](uuidv4)),await this[_0x144774(0x146)](_0x5e003a,undefined,![],_0x558437[_0x144774(0x1d4)]);}}}catch(_0x3b33de){_0x558437[_0x144774(0x1dd)](debug,_0x144774(0x201)+_0x3b33de);}await requestQueueHandler[_0x144774(0x144)](),_0x558437[_0x144774(0x1f9)](this[_0x144774(0x1b4)],_0x558437['MFwue'])&&Base[_0x144774(0x1be)](this['docHtml']);});if(this[_0x48301d(0x1b4)]&&![_0x558437[_0x48301d(0x1ec)],_0x558437['uGAYk'],_0x558437[_0x48301d(0x147)],_0x558437['cIfLk']]['includes'](this['type'])){const _0x20836a=this[_0x48301d(0x1b4)][_0x48301d(0xe1)]();this[_0x48301d(0xf8)]=null;try{this['Reporter']=_0x558437['sHbwt'](requireModule,_0x48301d(0x1e3)+_0x20836a+_0x48301d(0x133));}catch{}if(_0x558437[_0x48301d(0xde)](this['Reporter'],null))try{this[_0x48301d(0xf8)]=_0x558437[_0x48301d(0x13d)](require,_0x20836a);}catch(_0x1ccfd3){console[_0x48301d(0x171)](_0x48301d(0x118)+_0x20836a);}if(_0x558437[_0x48301d(0x1de)](this['Reporter'],null)){const _0x46eee7={};_0x46eee7['reporterOptions']=_0x278394[_0x48301d(0xfa)],this[_0x48301d(0xf8)]=new this[(_0x48301d(0xf8))](_0xe2e4a6,_0x46eee7);}}}[a25_0xd6b2f2(0x1f2)](){const _0x41b36a=a25_0xd6b2f2,_0x5eb375={'MRaTp':function(_0x1c9a9b,_0x40d383){return _0x1c9a9b(_0x40d383);}};return _0x5eb375[_0x41b36a(0x16e)](Array,this[_0x41b36a(0x1eb)])[_0x41b36a(0x184)]('\x20\x20');}[a25_0xd6b2f2(0x1af)](){this['_indents']++;}['decreaseIndent'](){const _0x4925d8=a25_0xd6b2f2;this[_0x4925d8(0x1eb)]--;}['docAppend'](_0x5f19d2){this['docHtml']+=_0x5f19d2;}['done'](_0x2a6629,_0xa7fb21){const _0x528f18=a25_0xd6b2f2,_0xec38c9={'PLlfh':function(_0x1344c0,_0x5637a6){return _0x1344c0(_0x5637a6);}},_0x218147={};_0x218147['failureCount']=_0x2a6629,_0x218147[_0x528f18(0x104)]=this[_0x528f18(0x13b)],_0xec38c9[_0x528f18(0x1c8)](_0xa7fb21,_0x218147);}[a25_0xd6b2f2(0xfd)](){const _0x1b760d=a25_0xd6b2f2;process[_0x1b760d(0x14d)](_0x1b760d(0xda)+process[_0x1b760d(0x1df)]),process['on'](_0x1b760d(0xda)+process[_0x1b760d(0x1df)],this[_0x1b760d(0x1c9)][_0x1b760d(0x1b3)](this)),process[_0x1b760d(0x14d)](_0x1b760d(0x113)+process[_0x1b760d(0x1df)]),process['on'](_0x1b760d(0x113)+process[_0x1b760d(0x1df)],this[_0x1b760d(0x13f)][_0x1b760d(0x1b3)](this));}['testStarted']=async _0x4ca865=>{const _0x18a743=a25_0xd6b2f2,_0x108932={'BXUDU':function(_0x3f7947){return _0x3f7947();},'AybXk':function(_0x2280d2,_0x379a68){return _0x2280d2>_0x379a68;},'Gjuzw':function(_0x2e270e,_0x16dd75){return _0x2e270e===_0x16dd75;},'hMlOh':_0x18a743(0x1e8),'uwaHJ':function(_0x5b3059,_0x39716a){return _0x5b3059(_0x39716a);}};try{const _0x2d2949=this['current_test'];this['current_test']=_0x4ca865,_0x4ca865[_0x18a743(0x19d)]=null,_0x4ca865[_0x18a743(0x1ed)]=_0x108932['BXUDU'](uuidv4),_0x4ca865[_0x18a743(0x173)]=new Date()[_0x18a743(0x1e5)](),_0x108932[_0x18a743(0x128)](_0x4ca865[_0x18a743(0x121)],0x0)&&_0x2d2949&&_0x108932[_0x18a743(0x122)](_0x2d2949[_0x18a743(0xd7)],_0x4ca865['title'])?(_0x4ca865[_0x18a743(0x19d)]=_0x2d2949[_0x18a743(0x1ed)],await this[_0x18a743(0x146)](_0x4ca865,undefined,![],_0x108932[_0x18a743(0x1f0)]),_0x2d2949[_0x18a743(0x190)]=STATE_FAILED,await this['sendTestRunEvent'](_0x2d2949,undefined,!![])):await this[_0x18a743(0x146)](_0x4ca865,undefined,![],_0x108932[_0x18a743(0x1f0)]);}catch(_0x315a57){_0x108932[_0x18a743(0x1ac)](debug,_0x18a743(0x101)+_0x315a57);}};[a25_0xd6b2f2(0x146)]=async(_0x2c5182,_0xa8166f=undefined,_0xaef3ef=![],_0x2541f7='TestRunFinished')=>{const _0x487bcc=a25_0xd6b2f2,_0x393e39={'jHBWe':function(_0x5bf26a,_0x1793dc){return _0x5bf26a===_0x1793dc;},'AcpXS':function(_0x23cd38,_0x15cd71){return _0x23cd38!==_0x15cd71;},'YqKxH':_0x487bcc(0x1cd),'UimYN':_0x487bcc(0x136),'OtuMl':function(_0x40c81c,_0x319ad0){return _0x40c81c!==_0x319ad0;},'vzXle':_0x487bcc(0x1d6),'OPBCR':_0x487bcc(0xd0),'brSaZ':_0x487bcc(0x1ea),'IwQRm':_0x487bcc(0x204),'DiazB':_0x487bcc(0x1f7),'CgNeY':function(_0x2e108b,_0xef2d5){return _0x2e108b-_0xef2d5;},'ygiza':_0x487bcc(0x1e9),'IKWFB':_0x487bcc(0xd8),'KszuB':function(_0x5610b7,_0x255fef){return _0x5610b7===_0x255fef;},'MIDaW':_0x487bcc(0x173),'TwSBQ':_0x487bcc(0x150),'YBmNR':function(_0x1cb90e,_0x5c27c0){return _0x1cb90e(_0x5c27c0);},'DjPKD':function(_0x4c36eb,_0x35c3e9){return _0x4c36eb===_0x35c3e9;},'juczw':_0x487bcc(0x149),'QIamc':function(_0x46ef12,_0x2a0afe){return _0x46ef12!==_0x2a0afe;},'qfVfo':_0x487bcc(0x15c),'QEWAx':_0x487bcc(0x13c),'OmRbQ':function(_0x39a8b5,_0x3cd51e){return _0x39a8b5===_0x3cd51e;},'fzRfv':_0x487bcc(0x105),'vgmYn':'failure','tltab':_0x487bcc(0x169),'ujRJI':_0x487bcc(0x119),'orxyG':_0x487bcc(0xd5),'biatb':_0x487bcc(0x175),'jiTHp':_0x487bcc(0x18f),'JNkjY':function(_0x4da3d6,_0x45b53e){return _0x4da3d6===_0x45b53e;},'fygAY':_0x487bcc(0x180),'JmJMF':_0x487bcc(0x114),'bUwTJ':_0x487bcc(0xe8)};try{if(_0x2c5182['body']&&_0x2c5182[_0x487bcc(0x1b1)][_0x487bcc(0x1a1)](/browserstack internal helper hook/))return;let _0x27de33=[];if(_0x393e39[_0x487bcc(0x174)](_0x2c5182[_0x487bcc(0x190)],STATE_FAILED)){if(_0x393e39[_0x487bcc(0x154)](_0x2c5182[_0x487bcc(0x136)],undefined))_0x27de33=_0x2c5182[_0x487bcc(0x136)][_0x487bcc(0x137)]?[_0x2c5182[_0x487bcc(0x136)][_0x487bcc(0x137)],_0x393e39[_0x487bcc(0x106)]]:[_0x2c5182[_0x487bcc(0x136)],_0x393e39['UimYN']];else _0x393e39['AcpXS'](_0xa8166f,undefined)?_0x27de33=[_0xa8166f,_0x393e39[_0x487bcc(0xfc)]]:_0x27de33=[];}const _0x11d2c5=_0x393e39[_0x487bcc(0x154)](_0x2c5182[_0x487bcc(0x136)],undefined)?_0x2c5182[_0x487bcc(0x136)]['toString']():_0x393e39['OtuMl'](_0xa8166f,undefined)?_0xa8166f[_0x487bcc(0x1ee)]():undefined;let _0x44f3b9;try{_0x44f3b9=this[_0x487bcc(0x1a2)](_0x2c5182);}catch(_0x9c444b){_0x44f3b9=null;}const _0x3c8c3f=_0x44f3b9?this[_0x487bcc(0xe2)](_0x44f3b9):null,_0x34221b=_0x44f3b9?this[_0x487bcc(0xeb)][_0x487bcc(0x13e)](this[_0x487bcc(0x1a2)](_0x2c5182)):_0x393e39[_0x487bcc(0x1fe)],_0x20c46a={'framework':_0x393e39['OPBCR'],'uuid':_0x2c5182[_0x487bcc(0x1ed)]||_0x2c5182[_0x487bcc(0x129)],'name':_0x2c5182['title'],'body':{'lang':_0x393e39[_0x487bcc(0x142)],'code':_0x2c5182['body']},'scope':this[_0x487bcc(0xfe)](_0x2c5182),'scopes':this[_0x487bcc(0x117)](_0x2c5182),'identifier':_0x2c5182[_0x487bcc(0x11d)](),'file_name':_0x34221b,'vc_filepath':_0x3c8c3f?path['relative'](_0x3c8c3f,_0x44f3b9):null,'location':_0x34221b,'result':_0x393e39[_0x487bcc(0x174)](_0x2541f7,_0x393e39[_0x487bcc(0x1bd)])?_0x393e39[_0x487bcc(0xe6)]:this[_0x487bcc(0x205)](_0x2c5182[_0x487bcc(0x190)]),'failure_reason':_0x11d2c5,'duration_in_ms':_0x2c5182[_0x487bcc(0x1fa)]||(_0x2541f7['match'](/Finished/)||_0x2541f7['match'](/Skipped/)?_0x393e39['CgNeY'](Date[_0x487bcc(0xdf)](),new Date(_0x2c5182[_0x487bcc(0x173)])[_0x487bcc(0x1bf)]()):null),'started_at':_0x2c5182[_0x487bcc(0x173)],'finished_at':_0x2541f7[_0x487bcc(0x1a1)](/Finished/)||_0x2541f7[_0x487bcc(0x1a1)](/Skipped/)?new Date()[_0x487bcc(0x1e5)]():null,'failure':failureData[_0x487bcc(0x127)](null,_0x27de33),'failure_type':!_0x11d2c5?null:_0x11d2c5['match'](/AssertionError/)?_0x393e39[_0x487bcc(0x1d2)]:_0x393e39['IKWFB'],'retry_of':_0x2c5182[_0x487bcc(0x19d)]};testhubUtils['appendTesthubParams'](_0x20c46a,_0x2541f7,_0x2c5182,FRAMEWORKS[_0x487bcc(0xf6)]);_0x393e39[_0x487bcc(0x1e7)](_0x2541f7,_0x393e39[_0x487bcc(0x1bd)])&&!_0x20c46a[_0x393e39['MIDaW']]&&(_0x20c46a[_0x393e39['MIDaW']]=_0x20c46a[_0x393e39[_0x487bcc(0xdc)]]);if(_0x2541f7[_0x487bcc(0x1a1)](/HookRun/))[_0x20c46a[_0x487bcc(0x180)],_0x20c46a[_0x487bcc(0x141)]]=_0x393e39[_0x487bcc(0x1d3)](getHookDetails,_0x2c5182[_0x487bcc(0x11d)]()||_0x2c5182[_0x487bcc(0x152)]||_0x2c5182[_0x487bcc(0xd7)]),_0x393e39['DjPKD'](_0x2541f7,_0x393e39[_0x487bcc(0x1d0)])&&(_0x393e39[_0x487bcc(0x1a4)](_0x20c46a[_0x487bcc(0xe7)],_0x393e39[_0x487bcc(0x1e2)])&&(_0x20c46a['result']=_0x393e39[_0x487bcc(0x170)]),_0x393e39[_0x487bcc(0x11a)](_0x20c46a[_0x487bcc(0x180)],_0x393e39[_0x487bcc(0x10d)])&&_0x393e39[_0x487bcc(0x1e7)](_0x20c46a[_0x487bcc(0xe7)],_0x393e39[_0x487bcc(0x1e2)])&&!_0x2c5182[_0x487bcc(0x1ad)][_0x487bcc(0x1f5)][_0x487bcc(0x110)]&&(_0x2c5182['ctx'][_0x487bcc(0x1f5)][_0x487bcc(0x110)]=!![],_0x2c5182[_0x487bcc(0x1ad)]['currentTest'][_0x487bcc(0x190)]=STATE_FAILED,await this[_0x487bcc(0x146)](_0x2c5182['ctx'][_0x487bcc(0x1f5)],undefined,!![])));else _0x2541f7[_0x487bcc(0x1a1)](/TestRun/)&&_0x393e39['YBmNR'](mapTestHooks,_0x2c5182);const _0x15c383=_0x20c46a[_0x393e39[_0x487bcc(0x10e)]][0x0];_0x15c383&&(_0x20c46a[_0x393e39['tltab']]=_0x15c383[_0x393e39[_0x487bcc(0x12d)]],_0x20c46a[_0x393e39[_0x487bcc(0x153)]]=_0x15c383[_0x393e39[_0x487bcc(0x151)]]);[_0x393e39[_0x487bcc(0x1bb)],_0x393e39[_0x487bcc(0x1bd)]][_0x487bcc(0x16f)](_0x2541f7)&&(this[_0x487bcc(0x15f)][_0x487bcc(0x167)](_0x20c46a),_0x20c46a[_0x487bcc(0x15e)]=_0x393e39[_0x487bcc(0x1d3)](getHooksForTest,_0x2c5182));const _0x304568={'event_type':_0x393e39[_0x487bcc(0x1d1)](_0x2541f7,_0x393e39[_0x487bcc(0x1bd)])?_0x393e39[_0x487bcc(0x1bb)]:_0x2541f7};_0x2541f7[_0x487bcc(0x1a1)](/HookRun/)?(_0x20c46a[_0x393e39[_0x487bcc(0x125)]]=HOOK_TYPES_MAP[_0x20c46a[_0x393e39[_0x487bcc(0x125)]]],_0x304568[_0x393e39[_0x487bcc(0x111)]]=_0x20c46a):_0x304568[_0x393e39[_0x487bcc(0x1fc)]]=_0x20c46a,testhubUtils[_0x487bcc(0x1e1)](FRAMEWORKS['MOCHA'],_0x304568),await SessionHandler[_0x487bcc(0x1f6)](_0x304568);}catch(_0x145af1){_0x393e39[_0x487bcc(0x1d3)](debug,_0x487bcc(0x12e)+_0x2541f7+_0x487bcc(0x1db)+_0x145af1);}};[a25_0xd6b2f2(0xe2)](_0x3203ba){const _0x43fd01=a25_0xd6b2f2,_0x14eb76={};_0x14eb76['JxHTL']=function(_0x94eca1,_0x1852f1){return _0x94eca1===_0x1852f1;},_0x14eb76[_0x43fd01(0x193)]=function(_0x3f6668,_0x3cc009){return _0x3f6668===_0x3cc009;},_0x14eb76['xsZAs']=function(_0x218a0d,_0x1e3136){return _0x218a0d===_0x1e3136;},_0x14eb76[_0x43fd01(0x135)]='.git',_0x14eb76[_0x43fd01(0x181)]=_0x43fd01(0x1ba);const _0x44f36=_0x14eb76,_0x20aca6=path[_0x43fd01(0x1e6)];if(_0x44f36[_0x43fd01(0x164)](_0x3203ba,null)||_0x44f36[_0x43fd01(0x193)](_0x3203ba,'')||_0x44f36['xsZAs'](_0x3203ba,_0x20aca6))return null;try{return fs[_0x43fd01(0x161)](path['join'](_0x3203ba,_0x44f36['XpZra'],_0x44f36['lvEkC'])),_0x3203ba;}catch(_0x2ed730){const _0x44127c=path[_0x43fd01(0x12a)](_0x3203ba);return this[_0x43fd01(0xe2)](_0x44127c);}}[a25_0xd6b2f2(0x1c9)]=async _0x2447e9=>{const _0x35e9a9=a25_0xd6b2f2,_0x2c9780={'FTgED':_0x35e9a9(0x1ef),'Itpob':function(_0x2ca658,_0x145240){return _0x2ca658(_0x145240);}};try{this[_0x35e9a9(0x115)]&&!this[_0x35e9a9(0x115)][_0x35e9a9(0x110)]&&(_0x2447e9['hook_run_uuid']=this[_0x35e9a9(0x115)][_0x35e9a9(0x129)]);!_0x2447e9[_0x35e9a9(0x1ce)]&&this[_0x35e9a9(0xd9)]&&!this['current_test'][_0x35e9a9(0x110)]&&(_0x2447e9[_0x35e9a9(0x1c6)]=this['current_test']['testAnalyticsId']);if(_0x2447e9[_0x35e9a9(0x1ce)]||_0x2447e9['test_run_uuid']){const _0x351ad6={};_0x351ad6[_0x35e9a9(0x1b6)]=_0x2c9780['FTgED'],_0x351ad6['logs']=[_0x2447e9],await SessionHandler[_0x35e9a9(0x1f6)](_0x351ad6);}}catch(_0x311002){_0x2c9780['Itpob'](debug,_0x35e9a9(0x166)+_0x311002);}};[a25_0xd6b2f2(0x13f)]=async _0x51bbe7=>{const _0x5263ae=a25_0xd6b2f2,_0x55f7f1={'NwTNa':_0x5263ae(0x1c2),'fEoGc':_0x5263ae(0x1d7),'GgMER':function(_0x3eff69,_0x325a0e){return _0x3eff69(_0x325a0e);}};try{const _0x36cdbe={};_0x36cdbe['uuid']=_0x51bbe7[_0x5263ae(0x14e)]||this[_0x5263ae(0xd9)][_0x5263ae(0x1ed)],_0x36cdbe['integrations']=_0x51bbe7[_0x55f7f1[_0x5263ae(0x1aa)]];const _0x2b07a8=_0x36cdbe,_0x5edb53={};_0x5edb53['event_type']=_0x55f7f1[_0x5263ae(0x162)],_0x5edb53[_0x5263ae(0xe8)]=_0x2b07a8,await SessionHandler['uploadEventData'](_0x5edb53);}catch(_0x13a4f2){_0x55f7f1[_0x5263ae(0x130)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x13a4f2);}};[a25_0xd6b2f2(0x205)](_0x220e65){const _0x1b9767=a25_0xd6b2f2,_0xeeaa8c={};_0xeeaa8c[_0x1b9767(0x1a5)]=_0x1b9767(0x13c),_0xeeaa8c[_0x1b9767(0x1a0)]=_0x1b9767(0x1c0),_0xeeaa8c['oNgYX']='failed';const _0x43ca9a=_0xeeaa8c,_0x3657b5={};return _0x3657b5[STATE_PASSED]=_0x43ca9a[_0x1b9767(0x1a5)],_0x3657b5[STATE_PENDING]=_0x43ca9a[_0x1b9767(0x1a0)],_0x3657b5[STATE_FAILED]=_0x43ca9a[_0x1b9767(0x185)],_0x3657b5[_0x220e65];}[a25_0xd6b2f2(0xfe)](_0x54af7e){const _0xa8d810=a25_0xd6b2f2,_0x4dc0a8={};_0x4dc0a8[_0xa8d810(0x157)]=function(_0x4fd9c6,_0xc98fed){return _0x4fd9c6-_0xc98fed;};const _0xcb3c9b=_0x4dc0a8,_0x755af7=_0x54af7e[_0xa8d810(0x1b9)]();return _0x755af7['slice'](0x0,_0xcb3c9b[_0xa8d810(0x157)](_0x755af7['length'],0x1))[_0xa8d810(0x184)]('\x20');}[a25_0xd6b2f2(0x117)](_0x145540){const _0x357ed9=a25_0xd6b2f2,_0xc5846e={};_0xc5846e[_0x357ed9(0x11e)]=function(_0x45bc10,_0x3815ac){return _0x45bc10-_0x3815ac;};const _0x17fbc3=_0xc5846e,_0x30f464=_0x145540[_0x357ed9(0x1b9)]();return _0x30f464[_0x357ed9(0x11c)](0x0,_0x17fbc3['GOdwS'](_0x30f464[_0x357ed9(0x19f)],0x1));}[a25_0xd6b2f2(0x1a2)](_0x325df7){const _0x598c54=a25_0xd6b2f2,_0x5c1c8b={};_0x5c1c8b[_0x598c54(0x18c)]=function(_0x407726,_0xbc2ff4){return _0x407726>_0xbc2ff4;};const _0xf51dbf=_0x5c1c8b;if(_0x325df7[_0x598c54(0x1c1)])return _0x325df7[_0x598c54(0x1c1)];if(_0x325df7[_0x598c54(0x1ad)]){const _0x4aca24=_0x325df7[_0x598c54(0x1ad)]['currentTest']?this[_0x598c54(0x1a2)](_0x325df7[_0x598c54(0x1ad)][_0x598c54(0x1f5)]):null;if(_0x4aca24)return _0x4aca24;}if(_0x325df7[_0x598c54(0x1ab)]){const _0x599067=this[_0x598c54(0x1a2)](_0x325df7[_0x598c54(0x1ab)])||(_0x325df7[_0x598c54(0x1ab)][_0x598c54(0x1ad)]&&_0x325df7['parent']['ctx'][_0x598c54(0x1f5)]?this[_0x598c54(0x1a2)](_0x325df7['parent'][_0x598c54(0x1ad)][_0x598c54(0x1f5)]):null);if(_0x599067)return _0x599067;_0x325df7[_0x598c54(0x1ab)]['suites']&&_0xf51dbf['OfqPS'](_0x325df7['parent'][_0x598c54(0x178)][_0x598c54(0x19f)],0x0)&&_0x325df7[_0x598c54(0x1ab)][_0x598c54(0x178)][_0x598c54(0xee)](_0x420626=>{const _0xc4a38c=_0x598c54,_0x50ffa1=_0x420626[_0xc4a38c(0x1ad)]?this[_0xc4a38c(0x1a2)](_0x420626[_0xc4a38c(0x1ad)]):null;if(_0x50ffa1)return _0x50ffa1;});}return null;}}module[a25_0xd6b2f2(0xe0)]=MyReporter;function a25_0x3919(_0x39ae7c,_0x8c5148){const _0x4e238b=a25_0x4e23();return a25_0x3919=function(_0x391925,_0xbde72d){_0x391925=_0x391925-0xd0;let _0x3310b5=_0x4e238b[_0x391925];return _0x3310b5;},a25_0x3919(_0x39ae7c,_0x8c5148);}function a25_0x4e23(){const _0x138888=['started_at','jHBWe','expanded','__platform__','GPKZb','suites','JTcHD','constants','xunit','38280dXOMDf','_upstreamConfig','\x20(%dms)','doc','hook_type','lvEkC','QauiC','clean','join','oNgYX','mocha/lib/reporters/base.js','743414UnIavv','pyyoo','root','decreaseIndent','</code></pre></dd>','OfqPS','yvIul','../../../helpers/test-observability/utils','TestRunFinished','state','../../../helpers/test-observability/constants','fail','Xjpez','bang','../../../helpers/testhub/utils','ltxzn','\x20\x20%d)\x20%s','eoXpy','util','wgoDt','\x20\x20<dt>','PDMCy','retryOf','cJHIB','length','LgqiP','match','getRootParentFile','location_prefix','QIamc','Uasta','QuvqE','checkmark','../../../helpers/test-observability/sessionHandler','</section>','NwTNa','parent','uwaHJ','ctx','BEFORE_EACH','increaseIndent','EtuAt','body','40pOeHAI','bind','type','COMPLETED','event_type','oZXxb','\x20\x20<dd\x20class=\x22error\x22><pre><code>','titlePath','config','jiTHp','write','IwQRm','consoleLog','getTime','pending','file','http_response','<section\x20class=\x22suite\x22>','inspect','vyIoR','test_run_uuid','after\x20all','PLlfh','appendTestItemLog','\x20\x20<dt\x20class=\x22error\x22>','UBXYf','176884VqwBbH','test','hook_run_uuid','AFTER_ALL','juczw','JNkjY','ygiza','YBmNR','edKUu','hIrDQ','File\x20path\x20could\x20not\x20be\x20found','CBTSessionCreated','BBrxa','QGFDh','comma','\x20with\x20error\x20:\x20','VLCWR','InwLn','LUPpY','pid','cIfLk','setCurrentTestData','qfVfo','mocha/lib/reporters/','EpTwP','toISOString','sep','KszuB','TestRunStarted','AssertionError','javascript','_indents','MFwue','testAnalyticsId','toString','LogCreated','hMlOh','20HVHSqx','indent','LPFRB','KogaX','currentTest','uploadEventData','skipped','docHtml','LMZWe','duration','HookStarted','bUwTJ','__indents','vzXle','yVeFL','RbAtF','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','../test-observability/mochaUtils','shouldProcessEventForTesthub','TestRunSkipped','analyticsResult','symbols','Mocha','737142WFKnTq','after\x20each','../../../helpers/helper','PJhdp','failure_reason_expanded','fast','title','UnhandledError','current_test','bs:addLog:','AFTER_EACH','TwSBQ','DRRrN','LRYpC','now','exports','trim','findGitConfig','Zarvm','docAppend','mocha/lib/runnable.js','DiazB','result','test_run','RamDC','currentRetry','_paths','sIkaI','spec','forEach','<h1>','ueJyE','../../../helpers/testhub/constants','DYqqN','color','escape','ScuxE','MOCHA','51aepxrA','Reporter','5020136JOHIBG','reporterOption','call','UimYN','registerListeners','scope','YbMJp','SuAhc','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','_testEnv','%s\x20-\x20%s','results','before\x20each','YqKxH','fsBWj','FQUoP','\x20-\x20','failCount','getInstance','WSFFJ','fzRfv','vgmYn','dot','markedStatus','JmJMF','EHmYq','bs:addPlatformDetails:','hook_run','current_hook','_buildCreated','scopes','Failed\x20to\x20load\x20reporter\x20','backtrace','OmRbQ','HARKf','slice','fullTitle','GOdwS','%s\x20','nWkKk','_currentRetry','Gjuzw','BEFORE_ALL','ahEmt','fygAY','3015099JgunFp','apply','AybXk','hookAnalyticsId','dirname','YWYxk','QMOBY','ujRJI','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','QIELN','GgMER','suiteCount','qotFV','.js','runner','XpZra','err','multiple','../../../helpers/test-observability/requestQueueHandler','once','prototype','finalResults','passed','RWquj','prefixTestPath','appendTestPlatform','stdout','name','brSaZ','ktnbU','shutdown','rvKuo','sendTestRunEvent','xZqDb','lWlLq','HookRunFinished','OuTQR','TZjmk','mocha/lib/utils.js','removeAllListeners','uuid','HookRunStarted','finished_at','biatb','originalTitle','orxyG','AcpXS','EIXfo','path','YvjHe','</dt>','TMYyl','465493RJPnqO','speed','failed','JILJF','hooks','_testResults','HNITo','statSync','fEoGc','HookFinished','JxHTL','testStarted','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','push','bright\x20yellow','failure_backtrace','</dl>','slow','1TKQOLa','HSqbC','MRaTp','includes','QEWAx','error','EVENT'];a25_0x4e23=function(){return _0x138888;};return a25_0x4e23();}
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a26_0x28b3ef=a26_0x473e;(function(_0x240a8a,_0x28eab4){const _0x8bd1e8=a26_0x473e,_0x48ff72=_0x240a8a();while(!![]){try{const _0x305692=-parseInt(_0x8bd1e8(0xea))/0x1*(parseInt(_0x8bd1e8(0x116))/0x2)+-parseInt(_0x8bd1e8(0xe9))/0x3+parseInt(_0x8bd1e8(0xb8))/0x4*(-parseInt(_0x8bd1e8(0x128))/0x5)+parseInt(_0x8bd1e8(0xb5))/0x6*(parseInt(_0x8bd1e8(0xf6))/0x7)+parseInt(_0x8bd1e8(0x110))/0x8+-parseInt(_0x8bd1e8(0xdb))/0x9+parseInt(_0x8bd1e8(0x164))/0xa;if(_0x305692===_0x28eab4)break;else _0x48ff72['push'](_0x48ff72['shift']());}catch(_0xc20340){_0x48ff72['push'](_0x48ff72['shift']());}}}(a26_0x952a,0xaa66a));const chalk=require(a26_0x28b3ef(0x158)),logger=require('../../helpers/logger')[a26_0x28b3ef(0x10d)],{default:BrowserStackSetup}=require(a26_0x28b3ef(0xe2)),helper=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x28b3ef(0x191)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x28b3ef(0x183)),Base=requireModule(a26_0x28b3ef(0x19c)),collectFiles=requireModule(a26_0x28b3ef(0xe8));function tag(_0x528e5f,_0x1682f3,_0x342e4a,_0x3d6dc5){const _0x5bcbeb=a26_0x28b3ef,_0x2f940c={'VrwOz':function(_0x55a4c7,_0x327c81){return _0x55a4c7+_0x327c81;},'yOmZk':function(_0x1f6e46,_0x371481){return _0x1f6e46(_0x371481);},'mwGcz':function(_0x90787,_0x1d64a9){return _0x90787+_0x1d64a9;},'SPypp':function(_0x4fd3c4,_0x1feb91){return _0x4fd3c4+_0x1feb91;},'FqUuF':function(_0x55fd1c,_0x3e7453){return _0x55fd1c+_0x3e7453;},'LMTpd':function(_0x5c6922,_0x408e2c){return _0x5c6922+_0x408e2c;},'pHKEY':function(_0x45e0cb,_0x249cae){return _0x45e0cb+_0x249cae;},'QnCMm':function(_0x267cf2,_0x2ada66){return _0x267cf2+_0x2ada66;},'MfdHw':function(_0x566d4f,_0x115034){return _0x566d4f+_0x115034;}},_0x28fba9=_0x342e4a?'/>':'>',_0x4f0c08=[];let _0x3249da;for(const _0xd08a2 in _0x1682f3){Object[_0x5bcbeb(0x154)][_0x5bcbeb(0x102)][_0x5bcbeb(0x134)](_0x1682f3,_0xd08a2)&&_0x4f0c08['push'](_0x2f940c[_0x5bcbeb(0xf8)](_0x2f940c[_0x5bcbeb(0xf8)](_0x2f940c[_0x5bcbeb(0xf8)](_0xd08a2,'=\x22'),_0x2f940c[_0x5bcbeb(0xaf)](escape,_0x1682f3[_0xd08a2])),'\x22'));}return _0x3249da=_0x2f940c[_0x5bcbeb(0xcc)](_0x2f940c[_0x5bcbeb(0x176)](_0x2f940c[_0x5bcbeb(0xbd)]('<',_0x528e5f),_0x4f0c08['length']?_0x2f940c[_0x5bcbeb(0xe3)]('\x20',_0x4f0c08['join']('\x20')):''),_0x28fba9),_0x3d6dc5&&(_0x3249da+=_0x2f940c[_0x5bcbeb(0x147)](_0x2f940c[_0x5bcbeb(0x175)](_0x2f940c[_0x5bcbeb(0x143)](_0x3d6dc5,'</'),_0x528e5f),_0x28fba9)),_0x3249da;}let xunitContent='';function xunitWrite(_0x325e87){xunitContent+=_0x325e87;}function xunitTest(_0x5d8b93,_0xc5995c){const _0xc59b32=a26_0x28b3ef,_0x618769={'pMlza':function(_0xd936e7,_0x4228a2){return _0xd936e7/_0x4228a2;},'FTINb':function(_0xfba4fd,_0x3cfb94){return _0xfba4fd===_0x3cfb94;},'tRfpE':_0xc59b32(0xc5),'TRHvG':function(_0x328a2c,_0x3f0c2e){return _0x328a2c+_0x3f0c2e;},'eKZus':function(_0x32e3b3,_0x10c651){return _0x32e3b3(_0x10c651);},'wpoAs':function(_0x5a44ac,_0x4c2b1c,_0x34adb9,_0x4f0279,_0xec9428){return _0x5a44ac(_0x4c2b1c,_0x34adb9,_0x4f0279,_0xec9428);},'TsyAx':'testcase','Txneb':_0xc59b32(0x151),'ANPqq':function(_0x43d987,_0x2baaa0){return _0x43d987+_0x2baaa0;},'YGOVf':function(_0x558fc7,_0x23ecc0){return _0x558fc7+_0x23ecc0;},'TNtpI':function(_0x4b6347,_0x5c58be){return _0x4b6347(_0x5c58be);},'rBnuJ':function(_0x1096e3,_0x1d47ea){return _0x1096e3(_0x1d47ea);},'MPrQH':function(_0x5bab36,_0x2a7f8a,_0x300027,_0x2a6563,_0x451e53){return _0x5bab36(_0x2a7f8a,_0x300027,_0x2a6563,_0x451e53);},'WkGKT':function(_0xb4bae4,_0x279781,_0x48f398,_0x8e9009){return _0xb4bae4(_0x279781,_0x48f398,_0x8e9009);},'ebTrB':'skipped','VOVLo':function(_0x2dabd6,_0x587e5b,_0x16bade,_0x3f1109){return _0x2dabd6(_0x587e5b,_0x16bade,_0x3f1109);}};Base[_0xc59b32(0x166)]=![];var _0x5c403d={'classname':_0x5d8b93[_0xc59b32(0x153)],'name':_0x5d8b93[_0xc59b32(0x17f)],'time':_0x618769['pMlza'](_0x5d8b93[_0xc59b32(0x161)],0x3e8)||0x0,'platform':_0xc5995c};if(_0x618769[_0xc59b32(0x187)](_0x5d8b93[_0xc59b32(0x104)],_0x618769[_0xc59b32(0x15c)])){var _0x1fb6de=_0x5d8b93['err'],_0x4d752b=!Base[_0xc59b32(0xda)]&&Base[_0xc59b32(0x14f)](_0x1fb6de)?_0x618769[_0xc59b32(0x184)]('\x0a',Base[_0xc59b32(0x127)](_0x1fb6de[_0xc59b32(0x152)],_0x1fb6de[_0xc59b32(0x132)])):'';_0x618769[_0xc59b32(0x157)](xunitWrite,_0x618769[_0xc59b32(0xfb)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,![],_0x618769[_0xc59b32(0xfb)](tag,_0x618769[_0xc59b32(0x17d)],{},![],_0x618769['ANPqq'](_0x618769[_0xc59b32(0xd0)](_0x618769[_0xc59b32(0x177)](_0x618769[_0xc59b32(0x157)](escape,_0x1fb6de[_0xc59b32(0x198)]),_0x618769[_0xc59b32(0xf4)](escape,_0x4d752b)),'\x0a'),_0x618769['rBnuJ'](escape,_0x1fb6de[_0xc59b32(0xe4)])))));}else _0x5d8b93[_0xc59b32(0x193)]?_0x618769[_0xc59b32(0xf4)](xunitWrite,_0x618769[_0xc59b32(0x163)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,![],_0x618769[_0xc59b32(0xc0)](tag,_0x618769[_0xc59b32(0x108)],{},!![]))):_0x618769['rBnuJ'](xunitWrite,_0x618769[_0xc59b32(0xa8)](tag,_0x618769[_0xc59b32(0x146)],_0x5c403d,!![]));};function a26_0x952a(){const _0x3663f9=['isBrowserstackInfra','mwGcz','NSFjo','results','totalTests','YGOVf','env','rerunTests','exitCode','DHFLC','\x0a\x0a\x0a','tnTDS','Qwgav','ebtSe','OAkUf','hideDiff','11058237LeAYPP','suiteName','spec','yJHZY','printBuildLink','yellow','join','../../helpers/BrowserStackSetup','LMTpd','stack','IKAKX','MRGGg','\x20platforms','mocha/lib/cli/collect-files.js','1388241wHxcsd','180284gFtWjx','reporter','BROWSERSTACK_RERUN_TESTS','consoleLog','cjs','testsFailed','EfAgb','getErrorMessageFromResults','XYPwp','then','TNtpI','bold','3187037MWoJsf','RjFjd','VrwOz','log','logLevel','wpoAs','ekePh','\x20passed','BROWSERSTACK_TEST_OBSERVABILITY_YML','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','Total\x20Suites:\x20','passed','hasOwnProperty','notifyUpdate','state','assign','GNysC','writeFileSync','ebTrB','ZyFzX','info','fGSjA','GHulX','winstonLogger','rkzEy','markSDKSetupComplete','9653416wVhGjD','****\x20FAILURES\x20****','GwVIq','extension','mAMZa','stringify','6FGyixk','suite','hXHaZ','Setting\x20non\x20exit\x20code\x20for\x20failures','ignore','output','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','finally','KEqty','MYjdk','ljWyD','BROWSERSTACK_TEST_ACCESSIBILITY_YML','includes','Running\x20your\x20mocha\x20tests\x20across\x20','YDJkw','DjywA','push','generateDiff','5JmtPWn','BROWSERSTACK_TEST_OBSERVABILITY','xunit','Writing\x20xunit\x20result\x20to\x20file','testsPending','BROWSERSTACK_AUTOMATION','Running\x20your\x20mocha\x20tests','fgkdu','EbMbF','isJWE','expected','GxKdT','call','Now,\x20showing\x20logs\x20from\x20mocha','ZrqlE','lBVKi','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','dowhf','isUndefined','jfEMl','NufiT','argv','\x20total','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','xYuBw','min','eqfho','MfdHw','titlePathV','uzlyK','TsyAx','pHKEY','BbFQw','bgBlueBright','speed','mocha','ZwcBh','JSvSR','jqOhg','showDiff','size','failure','actual','fullTitle','prototype','MWmSO','file','eKZus','chalk','bgRedBright','djAgF','mjs','tRfpE','</testsuite>','error','uKOPL','Tests:\x20\x20\x20\x20\x20\x20\x20','duration','ihqii','MPrQH','4455070rDrllh','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','useColors','RNFiz','nnptJ','testSuites','testsPassed','fDJTF','green','length','proxySettings','shouldReRunObservabilityTests','err','Printing\x20stats\x20of\x20tests','--disable-test-observability','SOfui','Writing\x20json\x20result\x20to\x20file','QnCMm','SPypp','ANPqq','recursive','accessibility','Woilm','SDKTestSuccessful','bohnM','Txneb','AhDrL','title','kNWNm','BEqrd','JOtPR','../../helpers/percy/utils','TRHvG','get','framework','FTINb','debug','Listing\x20all\x20the\x20failures','OboNd','testObservability','TafJW','cliConfig','HMGdC','qrsRQ','rootHooks','../test-runner','config','isPending','huAhf','BxXLo','forEach','Mocha\x20Tests','message','titlePath','osDNp','dRJLX','mocha/lib/reporters/base.js','JLYNm','red','modifyBrowserStackCaps','isTestObservabilitySession','getHubUrl','gDkrB','VOVLo','platforms','pending','rGLUu','CpuEz','MAndN','xzCkw','yOmZk','exports','JqdIe','reporterOptions','\x20failed','MyaEt','18pfcuqg','lNPHo','oFIoV','351212gmdARs','list','modifyBrowserStackW3CCaps','fireFunnelTestEvent','McYxQ','FqUuF','WYQuQ','hZSJL','WkGKT','\x20skipped','jJAfk','KuKLf','Couldn\x27t\x20write\x20json\x20result\x20to','failed','handleApp','--disable-browserstack-automation','HlinV','Total\x20Platforms:\x20','UyAng'];a26_0x952a=function(){return _0x3663f9;};return a26_0x952a();}function getStats(_0x147023){const _0x2f33ac=a26_0x28b3ef,_0x54ca00={};_0x54ca00[_0x2f33ac(0xd6)]=_0x2f33ac(0x117),_0x54ca00[_0x2f33ac(0x130)]=_0x2f33ac(0x101),_0x54ca00[_0x2f33ac(0x167)]=_0x2f33ac(0xc5),_0x54ca00['IKAKX']='results';const _0x4de482=_0x54ca00,_0x3f6ca8=Object['keys'](_0x147023);let _0x5593db=0x0,_0x1a814f=0x0,_0x3db585=0x0,_0x180f42=0x0;const _0x41695a=new Set();_0x3f6ca8[_0x2f33ac(0x196)](_0x31eb95=>{const _0x40c066=_0x2f33ac,_0x3cdd24={};_0x3cdd24[_0x40c066(0xae)]=_0x4de482['tnTDS'],_0x3cdd24[_0x40c066(0x125)]=_0x4de482[_0x40c066(0x130)],_0x3cdd24[_0x40c066(0x168)]=_0x4de482[_0x40c066(0x167)];const _0x1f7856=_0x3cdd24;_0x147023[_0x31eb95][_0x4de482[_0x40c066(0xe5)]][_0x40c066(0x196)](_0x5ecf34=>{const _0x35bcd7=_0x40c066;_0x41695a['add'](_0x5ecf34[_0x1f7856['xzCkw']]),_0x5593db++;switch(_0x5ecf34[_0x35bcd7(0x104)]){case _0x1f7856[_0x35bcd7(0x125)]:_0x3db585++;break;case _0x1f7856[_0x35bcd7(0x168)]:_0x1a814f++;break;default:_0x180f42++;}});});const _0x4e1a49={};return _0x4e1a49[_0x2f33ac(0x169)]=_0x41695a[_0x2f33ac(0x150)],_0x4e1a49[_0x2f33ac(0xa9)]=_0x3f6ca8,_0x4e1a49[_0x2f33ac(0xcf)]=_0x5593db,_0x4e1a49[_0x2f33ac(0xef)]=_0x1a814f,_0x4e1a49[_0x2f33ac(0x16a)]=_0x3db585,_0x4e1a49[_0x2f33ac(0x12c)]=_0x180f42,_0x4e1a49;}function errorJSON(_0x12f446){const _0x3ab630=a26_0x28b3ef;var _0x152158={};return Object['getOwnPropertyNames'](_0x12f446)[_0x3ab630(0x196)](function(_0x331b81){_0x152158[_0x331b81]=_0x12f446[_0x331b81];},_0x12f446),_0x152158;}function cleanCycles(_0x3eab73){const _0x50d168=a26_0x28b3ef,_0x35a592={};_0x35a592[_0x50d168(0x181)]=function(_0x6a6d0e,_0x4becf6){return _0x6a6d0e===_0x4becf6;},_0x35a592[_0x50d168(0x114)]='object',_0x35a592[_0x50d168(0x155)]=function(_0x6275ce,_0x3ccbb){return _0x6275ce!==_0x3ccbb;},_0x35a592['bohnM']=function(_0x35763c,_0x3cc119){return _0x35763c!==_0x3cc119;},_0x35a592[_0x50d168(0x140)]=function(_0x193eca,_0x48d058){return _0x193eca+_0x48d058;};const _0x16a819=_0x35a592;var _0x9fbaec=[];return JSON['parse'](JSON[_0x50d168(0x115)](_0x3eab73,function(_0x4af559,_0x509e96){const _0x2fb73f=_0x50d168;if(_0x16a819[_0x2fb73f(0x181)](typeof _0x509e96,_0x16a819[_0x2fb73f(0x114)])&&_0x16a819['MWmSO'](_0x509e96,null)){if(_0x16a819[_0x2fb73f(0x17c)](_0x9fbaec['indexOf'](_0x509e96),-0x1))return _0x16a819[_0x2fb73f(0x140)]('',_0x509e96);_0x9fbaec[_0x2fb73f(0x126)](_0x509e96);}return _0x509e96;}));}function clean(_0x5a6139){const _0x4bb5f3=a26_0x28b3ef,_0x153aa2={'CpuEz':function(_0x3282d4,_0x3f31ab){return _0x3282d4 instanceof _0x3f31ab;},'rGLUu':function(_0x265fee,_0x5935b1){return _0x265fee(_0x5935b1);}};var _0x1aebcc=_0x5a6139[_0x4bb5f3(0x170)]||{};return _0x153aa2[_0x4bb5f3(0xac)](_0x1aebcc,Error)&&(_0x1aebcc=_0x153aa2[_0x4bb5f3(0xab)](errorJSON,_0x1aebcc)),{'title':_0x5a6139[_0x4bb5f3(0x17f)],'fullTitle':_0x5a6139[_0x4bb5f3(0x153)],'file':_0x5a6139[_0x4bb5f3(0x156)],'duration':_0x5a6139[_0x4bb5f3(0x161)],'currentRetry':_0x5a6139['currentRetry'],'speed':_0x5a6139[_0x4bb5f3(0x14a)],'err':_0x153aa2['rGLUu'](cleanCycles,_0x1aebcc)};}function printStats(_0x3709c6,_0x5ed5f8='spec',_0x207816={}){const _0x46ed49=a26_0x28b3ef,_0x74c50a={'TafJW':function(_0x336ca3,_0xccc661){return _0x336ca3(_0xccc661);},'MRGGg':function(_0x41f0f8,_0x3e8622){return _0x41f0f8===_0x3e8622;},'gDkrB':'passed','GwVIq':'passes','ZwcBh':function(_0x15d7b8,_0xc402e3){return _0x15d7b8(_0xc402e3);},'McYxQ':function(_0x58f0e5,_0x4f2343){return _0x58f0e5===_0x4f2343;},'uKOPL':_0x46ed49(0xc5),'RjFjd':'failures','huAhf':_0x46ed49(0xaa),'rkzEy':function(_0x455163,_0x513ec0){return _0x455163(_0x513ec0);},'jJAfk':_0x46ed49(0xce),'djAgF':function(_0xec2104,_0x29dfb7){return _0xec2104*_0x29dfb7;},'CjcAP':function(_0x12060b,_0xfe7d32,_0x57e019){return _0x12060b(_0xfe7d32,_0x57e019);},'uzlyK':function(_0x501c50,_0x7ac250){return _0x501c50>_0x7ac250;},'dRJLX':function(_0x14e01b){return _0x14e01b();},'yJHZY':function(_0x1d0251,_0x2b5283){return _0x1d0251===_0x2b5283;},'diiEd':'doc','OAkUf':function(_0x2e08cb,_0x5f0522){return _0x2e08cb(_0x5f0522);},'oFIoV':function(_0x4bdf71,_0x1d7892){return _0x4bdf71>_0x1d7892;},'nMcNN':_0x46ed49(0x119),'fugEE':_0x46ed49(0x171),'lNPHo':function(_0x254424,_0x12bace){return _0x254424+_0x12bace;},'Woilm':_0x46ed49(0xc9),'hXHaZ':function(_0x31d0c3,_0x12a33e){return _0x31d0c3+_0x12a33e;},'OboNd':_0x46ed49(0x100),'GHulX':function(_0x1aa5d7,_0x550b18){return _0x1aa5d7+_0x550b18;},'NufiT':function(_0x1cd18d,_0x1be20c){return _0x1cd18d+_0x1be20c;},'NSFjo':_0x46ed49(0x160),'xvRHm':function(_0x39b42b,_0x322daa){return _0x39b42b>_0x322daa;},'ekePh':function(_0x3eed58,_0x5539b5){return _0x3eed58>_0x5539b5;},'osDNp':function(_0x563f02,_0x42f86f){return _0x563f02+_0x42f86f;},'ljWyD':function(_0x5a38f3,_0x5003df){return _0x5a38f3+_0x5003df;},'SOfui':function(_0xc95fae,_0x455eb4){return _0xc95fae+_0x455eb4;},'ZyFzX':function(_0x1bff21,_0x54654e){return _0x1bff21+_0x54654e;},'fDJTF':_0x46ed49(0xd5),'WYQuQ':'json','JOtPR':_0x46ed49(0x174),'HlinV':_0x46ed49(0xc4),'dHNYS':_0x46ed49(0x13f),'ihqii':function(_0x43f553,_0x56e6ab){return _0x43f553===_0x56e6ab;},'jqOhg':_0x46ed49(0x12a),'isJWE':_0x46ed49(0x197),'GxKdT':function(_0x290818,_0x3e9cfb){return _0x290818||_0x3e9cfb;},'MyaEt':function(_0xe7eacc,_0x2cdcab,_0x4c9558,_0x4f839c){return _0xe7eacc(_0x2cdcab,_0x4c9558,_0x4f839c);},'YDJkw':'testsuite','WYdUV':function(_0x14820a,_0x3cb271){return _0x14820a-_0x3cb271;},'dodaS':function(_0x4e2672,_0x2c57de){return _0x4e2672-_0x2c57de;},'VYffO':function(_0x524251,_0x25ad8b){return _0x524251/_0x25ad8b;},'VzirH':_0x46ed49(0x15d),'BbFQw':_0x46ed49(0x12b),'MAndN':'Couldn\x27t\x20write\x20xunit\x20result\x20to','JVIfU':_0x46ed49(0xff),'ZrqlE':_0x46ed49(0x189),'MYjdk':_0x46ed49(0x111)};if(_0x74c50a[_0x46ed49(0xde)](_0x5ed5f8,_0x74c50a['diiEd']))return;const _0x519fec=0x0,_0x49b577=()=>{const _0x3a784e=_0x46ed49;return _0x74c50a[_0x3a784e(0x18c)](Array,_0x519fec)[_0x3a784e(0xe1)]('\x20\x20');},{testSuites:_0x4a5715,platforms:_0x5b6796,totalTests:_0x4f8416,testsFailed:_0x4600ef,testsPassed:_0x110b98,testsPending:_0x372f80}=_0x74c50a[_0x46ed49(0xd9)](getStats,_0x3709c6);_0x74c50a[_0x46ed49(0xb7)](_0x4600ef,0x0)&&(logger['debug'](_0x74c50a['nMcNN']),process[_0x46ed49(0xd3)]=Math[_0x46ed49(0x141)](_0x4600ef,0xff));logger[_0x46ed49(0x188)](_0x74c50a['fugEE']);const _0x20cb76=''+_0x74c50a[_0x46ed49(0xb6)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0x17a)]),_0x5b6796[_0x46ed49(0x16d)]),_0x573a76=''+_0x74c50a[_0x46ed49(0x118)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0x18a)]),_0x4a5715),_0x27ebaf=''+_0x74c50a[_0x46ed49(0x10c)](_0x74c50a[_0x46ed49(0x10c)](_0x74c50a[_0x46ed49(0x13c)](chalk[_0x46ed49(0xf5)](_0x74c50a[_0x46ed49(0xcd)]),_0x74c50a['xvRHm'](_0x4600ef,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0xa3)](_0x4600ef+_0x46ed49(0xb3))+',\x20':''),_0x74c50a[_0x46ed49(0xfc)](_0x372f80,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0xe0)](_0x372f80+_0x46ed49(0xc1))+',\x20':''),_0x74c50a[_0x46ed49(0xfc)](_0x110b98,0x0)?chalk[_0x46ed49(0xf5)][_0x46ed49(0x16c)](_0x110b98+_0x46ed49(0xfd))+',\x20':'')+_0x4f8416+_0x46ed49(0x13e);console['log'](_0x74c50a[_0x46ed49(0x19a)](_0x74c50a[_0x46ed49(0x120)](_0x74c50a[_0x46ed49(0x19a)](_0x74c50a[_0x46ed49(0x173)](_0x74c50a[_0x46ed49(0x109)](_0x74c50a[_0x46ed49(0x16b)],_0x20cb76),'\x0a'),_0x573a76),'\x0a'),_0x27ebaf));if(_0x74c50a[_0x46ed49(0xe6)](_0x5ed5f8,_0x74c50a[_0x46ed49(0xbe)])){const _0xdb0e2b={},_0x59118d={};_0x59118d[_0x46ed49(0x169)]=_0x4a5715,_0x59118d['platforms']=_0x5b6796,_0x59118d['testsFailed']=_0x4600ef,_0x59118d[_0x46ed49(0x16a)]=_0x110b98,_0x59118d[_0x46ed49(0x12c)]=_0x372f80,_0xdb0e2b['stats']=_0x59118d,_0x5b6796['forEach'](_0x362cb5=>{const _0x469192=_0x46ed49,_0x52bcbd={'KDPDO':function(_0x304734,_0x484aab){return _0x74c50a['MRGGg'](_0x304734,_0x484aab);},'fGSjA':_0x74c50a[_0x469192(0xa7)],'WKYhO':_0x74c50a[_0x469192(0x112)],'vBNJv':function(_0x1ffc1c,_0x1ecc52){const _0x47ba99=_0x469192;return _0x74c50a[_0x47ba99(0x14c)](_0x1ffc1c,_0x1ecc52);},'ebtSe':function(_0xab9a7f,_0x35737e){const _0x2867ac=_0x469192;return _0x74c50a[_0x2867ac(0xbc)](_0xab9a7f,_0x35737e);},'Qwgav':_0x74c50a[_0x469192(0x15f)],'AhDrL':_0x74c50a[_0x469192(0xf7)],'qrsRQ':function(_0x13c6c5,_0x2b0399){const _0x590ea7=_0x469192;return _0x74c50a[_0x590ea7(0x18c)](_0x13c6c5,_0x2b0399);},'EfAgb':_0x74c50a[_0x469192(0x194)],'XYPwp':function(_0x281a6e,_0x12322c){const _0x373677=_0x469192;return _0x74c50a[_0x373677(0x10e)](_0x281a6e,_0x12322c);}};_0xdb0e2b[_0x362cb5]={'pending':[],'failures':[],'passes':[],'tests':_0x3709c6[_0x362cb5][_0x74c50a[_0x469192(0xc2)]]['map'](clean)},_0x3709c6[_0x362cb5][_0x74c50a[_0x469192(0xc2)]][_0x469192(0x196)](_0x5adadc=>{const _0x543261=_0x469192;if(_0x52bcbd['KDPDO'](_0x5adadc['state'],_0x52bcbd[_0x543261(0x10b)]))_0xdb0e2b[_0x362cb5][_0x52bcbd['WKYhO']]['push'](_0x52bcbd['vBNJv'](clean,_0x5adadc));else _0x52bcbd[_0x543261(0xd8)](_0x5adadc['state'],_0x52bcbd[_0x543261(0xd7)])?_0xdb0e2b[_0x362cb5][_0x52bcbd[_0x543261(0x17e)]][_0x543261(0x126)](_0x52bcbd[_0x543261(0x18f)](clean,_0x5adadc)):_0xdb0e2b[_0x362cb5][_0x52bcbd[_0x543261(0xf0)]][_0x543261(0x126)](_0x52bcbd[_0x543261(0xf2)](clean,_0x5adadc));});});if(_0x207816[_0x46ed49(0x11b)])try{logger[_0x46ed49(0x188)](_0x74c50a[_0x46ed49(0x182)],_0x207816['output']),fs['writeFileSync'](_0x207816['output'],JSON['stringify'](_0xdb0e2b,null,0x3));}catch(_0x4b8b9f){logger[_0x46ed49(0x15e)](_0x74c50a[_0x46ed49(0xc8)],_0x207816[_0x46ed49(0x11b)]),logger['debug'](_0x4b8b9f);}else logger[_0x46ed49(0x188)](_0x74c50a['dHNYS']),console[_0x46ed49(0xf9)](JSON['stringify'](_0xdb0e2b,null,0x3));}else{if(_0x74c50a[_0x46ed49(0x162)](_0x5ed5f8,_0x74c50a[_0x46ed49(0x14e)])){let _0x39f513;const _0x1ededc=_0x74c50a[_0x46ed49(0x131)];_0x207816&&(_0x39f513=_0x207816[_0x46ed49(0xdc)]);_0x39f513=_0x74c50a[_0x46ed49(0x133)](_0x39f513,_0x1ededc);let _0x20e16e=0x0,_0xe781a2=0x0,_0x5d77ee=0x0,_0xc426fc=0x0;_0x5b6796['forEach'](_0x23ee54=>{const _0x1c5f2a=_0x46ed49;_0x3709c6[_0x23ee54][_0x74c50a[_0x1c5f2a(0xc2)]][_0x1c5f2a(0x196)](_0x5bd9cb=>{const _0xc43c8d=_0x1c5f2a;if(_0x74c50a[_0xc43c8d(0xbc)](_0x5bd9cb[_0xc43c8d(0x104)],_0x74c50a[_0xc43c8d(0xa7)]))_0x20e16e++;else _0x74c50a[_0xc43c8d(0xbc)](_0x5bd9cb[_0xc43c8d(0x104)],_0x74c50a['uKOPL'])&&_0xe781a2++;_0x5d77ee++,_0xc426fc+=_0x74c50a[_0xc43c8d(0x15a)](_0x5bd9cb[_0xc43c8d(0x161)],0x1);});}),_0x74c50a[_0x46ed49(0x18c)](xunitWrite,_0x74c50a[_0x46ed49(0xb4)](tag,_0x74c50a[_0x46ed49(0x124)],{'name':_0x39f513,'tests':_0x5d77ee,'failures':0x0,'errors':_0xe781a2,'skipped':_0x74c50a['WYdUV'](_0x74c50a['dodaS'](_0x5d77ee,_0xe781a2),_0x20e16e),'timestamp':new Date()['toUTCString'](),'time':_0x74c50a['VYffO'](_0xc426fc,0x3e8)||0x0},![])),_0x5b6796[_0x46ed49(0x196)](_0x31d733=>{const _0x1a429a=_0x46ed49;_0x3709c6[_0x31d733][_0x74c50a['jJAfk']][_0x1a429a(0x196)](_0x25abcc=>{_0x74c50a['CjcAP'](xunitTest,_0x25abcc,_0x31d733);});}),_0x74c50a[_0x46ed49(0x14c)](xunitWrite,_0x74c50a['VzirH']);if(_0x207816[_0x46ed49(0x11b)])try{logger[_0x46ed49(0x188)](_0x74c50a[_0x46ed49(0x148)],_0x207816[_0x46ed49(0x11b)]),fs[_0x46ed49(0x107)](_0x207816[_0x46ed49(0x11b)],xunitContent);}catch(_0x99ca7f){logger[_0x46ed49(0x15e)](_0x74c50a[_0x46ed49(0xad)],_0x207816['output']),logger[_0x46ed49(0x188)](_0x99ca7f);}else logger[_0x46ed49(0x188)](_0x74c50a['JVIfU']),console[_0x46ed49(0xf9)](xunitContent);}else{if(_0x74c50a[_0x46ed49(0xe6)](_0x4600ef,0x0))return;console[_0x46ed49(0xf9)](),logger['debug'](_0x74c50a[_0x46ed49(0x136)]),console[_0x46ed49(0xf9)](chalk[_0x46ed49(0xf5)][_0x46ed49(0x159)](_0x74c50a[_0x46ed49(0x11f)])),_0x5b6796[_0x46ed49(0x196)](_0x16403b=>{const _0x3875a6=_0x46ed49,_0x38094b={'dowhf':function(_0x55cc82,_0x4cdf70){const _0x55a57e=a26_0x473e;return _0x74c50a[_0x55a57e(0xe6)](_0x55cc82,_0x4cdf70);},'xfgZv':_0x74c50a[_0x3875a6(0x15f)]},_0x4a236a=[];_0x3709c6[_0x16403b][_0x74c50a[_0x3875a6(0xc2)]][_0x3875a6(0x196)](_0x1fae07=>{const _0x3de0db=_0x3875a6;_0x38094b[_0x3de0db(0x139)](_0x1fae07[_0x3de0db(0x104)],_0x38094b['xfgZv'])&&(_0x1fae07[_0x3de0db(0x199)]=()=>_0x1fae07[_0x3de0db(0x144)],_0x4a236a[_0x3de0db(0x126)](_0x1fae07));}),_0x74c50a[_0x3875a6(0x145)](_0x4a236a[_0x3875a6(0x16d)],0x0)&&(Base[_0x3875a6(0xed)](),Base[_0x3875a6(0xed)](_0x74c50a[_0x3875a6(0x19b)](_0x49b577),chalk['bold'][_0x3875a6(0x149)](_0x16403b)),Base[_0x3875a6(0xb9)](_0x4a236a));});}}}async function run(_0x4bd5e3,_0x76f078){const _0x2b50a8=a26_0x28b3ef,_0x4dbf2c={'kNWNm':function(_0x1ded93,_0xafc3f4,_0x18d2e3,_0x34b48d){return _0x1ded93(_0xafc3f4,_0x18d2e3,_0x34b48d);},'KuKLf':'reporter-option','lBVKi':_0x2b50a8(0x17b),'hZSJL':_0x2b50a8(0x14b),'LKlIf':_0x2b50a8(0x172),'jfEMl':_0x2b50a8(0xc7),'JSvSR':function(_0x423b88,_0x5d3a6c){return _0x423b88!=_0x5d3a6c;},'fgkdu':_0x2b50a8(0xee),'vzXKg':_0x2b50a8(0x15b),'DHFLC':'test','JqdIe':_0x2b50a8(0xd2),'KEqty':function(_0x2cb172,_0x17c6fc){return _0x2cb172(_0x17c6fc);},'GNysC':_0x2b50a8(0x12e),'UyAng':_0x2b50a8(0x135),'HMGdC':function(_0x171f42,_0x418344,_0x352fe9,_0x341d6e){return _0x171f42(_0x418344,_0x352fe9,_0x341d6e);},'eqfho':function(_0x52b933,_0x5323a2){return _0x52b933*_0x5323a2;},'BxXLo':function(_0x15aa13,_0x5a9888){return _0x15aa13!==_0x5a9888;},'JLYNm':function(_0x5066ea,_0x6aac8e,_0x12d716,_0x5ddca8){return _0x5066ea(_0x6aac8e,_0x12d716,_0x5ddca8);}};process[_0x2b50a8(0x13d)][_0x2b50a8(0x122)](_0x4dbf2c['LKlIf'])&&(process['env'][_0x2b50a8(0x129)]=![]);process[_0x2b50a8(0x13d)][_0x2b50a8(0x122)](_0x4dbf2c[_0x2b50a8(0x13b)])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x12d)]=![]);const _0x4ff851=new BrowserStackSetup(_0x4bd5e3,_0x4dbf2c[_0x2b50a8(0xbf)]);helper[_0x2b50a8(0xcb)]()&&(await _0x4ff851['initialize'](),await helper[_0x2b50a8(0xc6)](_0x4ff851[_0x2b50a8(0x192)]));const _0x3d832a=[],_0x185182=[];if(!_0x4ff851[_0x2b50a8(0x192)])return;_0x4dbf2c[_0x2b50a8(0x14d)](_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x18b)],null)&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0xfe)]=_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x18b)]);!helper[_0x2b50a8(0x13a)](_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0x179)])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x121)]=_0x4ff851[_0x2b50a8(0x192)]['accessibility']);!helper['isUndefined'](_0x4ff851[_0x2b50a8(0x192)]['accessibilityOptions'])&&(process[_0x2b50a8(0xd1)][_0x2b50a8(0x138)]=JSON[_0x2b50a8(0x115)](_0x4ff851[_0x2b50a8(0x192)]['accessibilityOptions']));const {extension:extension=['js',_0x4dbf2c[_0x2b50a8(0x12f)],_0x4dbf2c['vzXKg']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x4dbf2c[_0x2b50a8(0xd4)]]}=_0x4bd5e3,_0x10a646={..._0x4bd5e3};_0x10a646[_0x2b50a8(0x190)]=null;const _0xf1f10f=_0x10a646;let _0x1dd942;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper[_0x2b50a8(0x16f)]()){let _0x2dfa82=process[_0x2b50a8(0xd1)][_0x2b50a8(0xec)];!helper[_0x2b50a8(0x13a)](_0x4ff851[_0x2b50a8(0x18d)])&&_0x4ff851[_0x2b50a8(0x18d)]['has'](_0x4dbf2c['JqdIe'])&&(_0x2dfa82=_0x4ff851['cliConfig'][_0x2b50a8(0x185)](_0x4dbf2c[_0x2b50a8(0xb1)])),_0x1dd942=testOpsHelper['parseFileNames'](_0x2dfa82);}if(helper[_0x2b50a8(0x13a)](_0x1dd942)){const _0x43de70={};_0x43de70[_0x2b50a8(0x11a)]=ignore,_0x43de70[_0x2b50a8(0x113)]=extension,_0x43de70['file']=file,_0x43de70[_0x2b50a8(0x178)]=recursive,_0x43de70['sort']=sort,_0x43de70[_0x2b50a8(0xdd)]=spec,_0x1dd942=_0x4dbf2c['KEqty'](collectFiles,_0x43de70);}helper[_0x2b50a8(0x10f)]();if(!helper[_0x2b50a8(0xcb)]()){const _0x34a0a8=0x1,_0xaccf8f={..._0xf1f10f};_0xaccf8f[_0x2b50a8(0xdd)]=[..._0x1dd942],_0x3d832a[_0x2b50a8(0x126)]({'mochaOpts':_0xaccf8f,'configuration':{'platform':os['platform']()}}),logger[_0x2b50a8(0x10a)](_0x4dbf2c[_0x2b50a8(0x106)]),logger[_0x2b50a8(0x10a)](_0x4dbf2c[_0x2b50a8(0xca)]),_0x4dbf2c[_0x2b50a8(0x18e)](parallelTestRun,_0x3d832a,_0x34a0a8,_0x4ff851)['then'](_0x33beb1=>{const _0x6e2a=_0x2b50a8;_0x4dbf2c[_0x6e2a(0x180)](printStats,_0x33beb1,_0x4bd5e3[_0x6e2a(0xeb)],_0x4bd5e3[_0x6e2a(0xb2)]||_0x4bd5e3[_0x4dbf2c['KuKLf']]);})[_0x2b50a8(0x11d)](()=>{const _0x3c48ce=_0x2b50a8;try{helper[_0x3c48ce(0xbb)](_0x4dbf2c[_0x3c48ce(0x137)],{},_0x4ff851['config'],_0x4ff851[_0x3c48ce(0x186)]);}catch(_0x29488e){logger[_0x3c48ce(0x188)](_0x3c48ce(0x165)+_0x29488e);}try{helper[_0x3c48ce(0x103)]();}catch(_0x3baf44){logger[_0x3c48ce(0x188)](_0x3c48ce(0x11c)+_0x3baf44);}testOpsHelper[_0x3c48ce(0xdf)]();});}else{const _0x4cabe0=_0x4dbf2c[_0x2b50a8(0x142)](_0x4ff851[_0x2b50a8(0x192)]['platforms']['length'],_0x4ff851['config']['parallelsPerPlatform']),_0x2ff23e=helper['useW3C'](_0x4ff851[_0x2b50a8(0x192)]),_0x23d13a=helper[_0x2b50a8(0xa6)](_0x4ff851[_0x2b50a8(0x192)]);_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0xa9)][_0x2b50a8(0x196)]((_0x40ae6c,_0x271c43)=>{const _0x1a6d49=_0x2b50a8;_0x2ff23e?_0x185182[_0x1a6d49(0x126)](helper[_0x1a6d49(0xba)](_0x4ff851['config'],_0x4dbf2c[_0x1a6d49(0xbf)],_0x271c43)):_0x185182['push'](helper[_0x1a6d49(0xa4)](_0x4ff851[_0x1a6d49(0x192)],_0x4dbf2c[_0x1a6d49(0xbf)],_0x271c43));});const _0xbb2754=_0x4dbf2c[_0x2b50a8(0x11e)](getPercyOptions,_0x4ff851[_0x2b50a8(0x192)]);if(_0x4dbf2c[_0x2b50a8(0x195)](_0x4ff851[_0x2b50a8(0x192)]['parallelsPerPlatform'],0x1))_0x1dd942[_0x2b50a8(0x196)](_0x4a0f75=>{const _0x367060=_0x2b50a8,_0x43bd19=[];_0x185182[_0x367060(0x196)]((_0x10423f,_0xb6f623)=>{const _0xa0646f=_0x367060,_0x418047={};_0x418047[_0xa0646f(0xdd)]=[_0x4a0f75],_0x43bd19['push']({'mochaOpts':Object[_0xa0646f(0x105)]({},_0xf1f10f,_0x418047),'configuration':{'server':_0x23d13a,'capability':_0x10423f,'proxySettings':_0x4ff851[_0xa0646f(0x192)][_0xa0646f(0x16e)],'platform':helper['getPlatformName'](_0x10423f),'browserStackLogLevel':_0x4ff851[_0xa0646f(0x192)][_0xa0646f(0xfa)],'platformIndex':_0xb6f623,'browserStackPercyOptions':_0xbb2754,'platformCaps':_0x4ff851[_0xa0646f(0x192)]['platforms'][_0xb6f623]}});}),_0x3d832a[_0x367060(0x126)](..._0x43bd19);});else{const _0x5d5a8d=[];_0x185182[_0x2b50a8(0x196)]((_0x1fb560,_0x27344f)=>{const _0x61e830=_0x2b50a8;let _0x108c2b=Object[_0x61e830(0x105)]({},_0xf1f10f);testOpsHelper[_0x61e830(0xa5)]()&&testOpsHelper[_0x61e830(0x16f)]()&&(_0x108c2b={..._0x108c2b,'spec':[..._0x1dd942]}),_0x5d5a8d[_0x61e830(0x126)]({'mochaOpts':_0x108c2b,'configuration':{'server':_0x23d13a,'capability':_0x1fb560,'proxySettings':_0x4ff851[_0x61e830(0x192)][_0x61e830(0x16e)],'platform':helper['getPlatformName'](_0x1fb560),'browserStackLogLevel':_0x4ff851['config'][_0x61e830(0xfa)],'platformIndex':_0x27344f,'browserStackPercyOptions':_0xbb2754,'platformCaps':_0x4ff851[_0x61e830(0x192)][_0x61e830(0xa9)][_0x27344f]}});}),_0x3d832a[_0x2b50a8(0x126)](..._0x5d5a8d);}logger[_0x2b50a8(0x10a)](_0x2b50a8(0x123)+_0x4ff851[_0x2b50a8(0x192)][_0x2b50a8(0xa9)][_0x2b50a8(0x16d)]+_0x2b50a8(0xe7)),logger['info'](_0x4dbf2c[_0x2b50a8(0xca)]);let _0xf5326a;_0x4dbf2c[_0x2b50a8(0xa2)](parallelTestRun,_0x3d832a,_0x4cabe0,_0x4ff851)[_0x2b50a8(0xf3)](_0x3969e5=>{const _0x891b43=_0x2b50a8;_0xf5326a=_0x3969e5,_0x4dbf2c['kNWNm'](printStats,_0x3969e5,_0x4bd5e3[_0x891b43(0xeb)],_0x4bd5e3['reporterOptions']||_0x4bd5e3[_0x4dbf2c[_0x891b43(0xc3)]]);})['finally'](async()=>{const _0x1df071=_0x2b50a8;_0x4ff851['errorMessage']=helper[_0x1df071(0xf1)](_0xf5326a,_0x4dbf2c[_0x1df071(0xbf)]),await helper['finalExecution'](_0x4ff851),testOpsHelper[_0x1df071(0xdf)]();});}}function a26_0x473e(_0x3267f7,_0x22fec9){const _0x952a68=a26_0x952a();return a26_0x473e=function(_0x473e55,_0x458b22){_0x473e55=_0x473e55-0xa2;let _0x3b709e=_0x952a68[_0x473e55];return _0x3b709e;},a26_0x473e(_0x3267f7,_0x22fec9);}module[a26_0x28b3ef(0xb0)]=run;
|
|
2
|
+
'use strict';const a26_0x521857=a26_0x3520;(function(_0x1cc903,_0x22c4e9){const _0x3b092b=a26_0x3520,_0x3b57ea=_0x1cc903();while(!![]){try{const _0x3bfa1d=-parseInt(_0x3b092b(0x174))/0x1+parseInt(_0x3b092b(0xb1))/0x2+parseInt(_0x3b092b(0xdb))/0x3*(-parseInt(_0x3b092b(0x185))/0x4)+parseInt(_0x3b092b(0x15b))/0x5*(parseInt(_0x3b092b(0x14f))/0x6)+parseInt(_0x3b092b(0xcc))/0x7+-parseInt(_0x3b092b(0x16e))/0x8*(-parseInt(_0x3b092b(0xc7))/0x9)+-parseInt(_0x3b092b(0xc5))/0xa;if(_0x3bfa1d===_0x22c4e9)break;else _0x3b57ea['push'](_0x3b57ea['shift']());}catch(_0x523b60){_0x3b57ea['push'](_0x3b57ea['shift']());}}}(a26_0x4097,0x585cc));const chalk=require(a26_0x521857(0xf5)),logger=require('../../helpers/logger')[a26_0x521857(0x167)],{default:BrowserStackSetup}=require(a26_0x521857(0x120)),helper=require(a26_0x521857(0xb5)),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x521857(0x12d)),{requireModule}=require('../../helpers/helper'),{getPercyOptions}=require(a26_0x521857(0x132)),Base=requireModule(a26_0x521857(0xcd)),collectFiles=requireModule(a26_0x521857(0x126)),constants=require(a26_0x521857(0xb4));function a26_0x3520(_0x1dafa4,_0x43512c){const _0x409763=a26_0x4097();return a26_0x3520=function(_0x352057,_0x66f295){_0x352057=_0x352057-0x9a;let _0x43a71a=_0x409763[_0x352057];return _0x43a71a;},a26_0x3520(_0x1dafa4,_0x43512c);}function tag(_0x136c40,_0x577178,_0x2a1e64,_0x27d0b4){const _0x28df31=a26_0x521857,_0x25eb54={'dfbZf':function(_0x47af4f,_0x4135c4){return _0x47af4f+_0x4135c4;},'gRbXi':function(_0x5a4c29,_0x16d15f){return _0x5a4c29+_0x16d15f;},'Mytqd':function(_0x454a9b,_0x3b703a){return _0x454a9b(_0x3b703a);},'RQcHP':function(_0x1bcf4c,_0x52b3fe){return _0x1bcf4c+_0x52b3fe;},'uFoWx':function(_0x2f5070,_0x1686b7){return _0x2f5070+_0x1686b7;}},_0x16ee3c=_0x2a1e64?'/>':'>',_0x52291a=[];let _0x44152e;for(const _0x57d476 in _0x577178){Object['prototype'][_0x28df31(0x177)]['call'](_0x577178,_0x57d476)&&_0x52291a['push'](_0x25eb54['dfbZf'](_0x25eb54[_0x28df31(0xd4)](_0x25eb54[_0x28df31(0x131)](_0x57d476,'=\x22'),_0x25eb54[_0x28df31(0xb3)](escape,_0x577178[_0x57d476])),'\x22'));}return _0x44152e=_0x25eb54['RQcHP'](_0x25eb54['gRbXi'](_0x25eb54[_0x28df31(0xa9)]('<',_0x136c40),_0x52291a['length']?_0x25eb54['RQcHP']('\x20',_0x52291a[_0x28df31(0xa4)]('\x20')):''),_0x16ee3c),_0x27d0b4&&(_0x44152e+=_0x25eb54[_0x28df31(0xd4)](_0x25eb54[_0x28df31(0x14b)](_0x25eb54['RQcHP'](_0x27d0b4,'</'),_0x136c40),_0x16ee3c)),_0x44152e;}let xunitContent='';function xunitWrite(_0xb072af){xunitContent+=_0xb072af;}function xunitTest(_0x37583d,_0x18ef1c){const _0x5df065=a26_0x521857,_0x363f37={'CsKSk':function(_0x3d751d,_0x2ee5d0){return _0x3d751d/_0x2ee5d0;},'pJznI':function(_0x1261a8,_0x4da837){return _0x1261a8===_0x4da837;},'bVhUx':_0x5df065(0x186),'yORKn':function(_0x2988c9,_0xe46a68){return _0x2988c9+_0xe46a68;},'EYMnF':function(_0x3a66e9,_0x32686b){return _0x3a66e9(_0x32686b);},'OorfX':function(_0x4a4c26,_0x3fd634,_0x493111,_0x2b5e76,_0x32e5d2){return _0x4a4c26(_0x3fd634,_0x493111,_0x2b5e76,_0x32e5d2);},'bqKfH':_0x5df065(0x142),'fzvCE':_0x5df065(0x153),'XtugA':function(_0x343acd,_0x46cc0f){return _0x343acd+_0x46cc0f;},'VzpKS':function(_0x53eaa0,_0x30f2d6){return _0x53eaa0+_0x30f2d6;},'YXVKU':function(_0x246d3a,_0x37439b){return _0x246d3a(_0x37439b);},'XkFDX':function(_0x4a4033,_0x12e07d,_0x2443c6,_0x5353e3){return _0x4a4033(_0x12e07d,_0x2443c6,_0x5353e3);},'ENLcc':'skipped','Xcuoc':function(_0x78b8d4,_0x15930c){return _0x78b8d4(_0x15930c);}};Base[_0x5df065(0x11a)]=![];var _0x29362b={'classname':_0x37583d['fullTitle'],'name':_0x37583d[_0x5df065(0xff)],'time':_0x363f37['CsKSk'](_0x37583d[_0x5df065(0xdf)],0x3e8)||0x0,'platform':_0x18ef1c};if(_0x363f37['pJznI'](_0x37583d[_0x5df065(0x107)],_0x363f37[_0x5df065(0x13f)])){var _0x9bf95d=_0x37583d[_0x5df065(0x10a)],_0x3d39ab=!Base[_0x5df065(0x17e)]&&Base[_0x5df065(0x164)](_0x9bf95d)?_0x363f37[_0x5df065(0x15a)]('\x0a',Base[_0x5df065(0x17d)](_0x9bf95d[_0x5df065(0x10c)],_0x9bf95d[_0x5df065(0x170)])):'';_0x363f37[_0x5df065(0xea)](xunitWrite,_0x363f37[_0x5df065(0x176)](tag,_0x363f37[_0x5df065(0x137)],_0x29362b,![],_0x363f37[_0x5df065(0x176)](tag,_0x363f37[_0x5df065(0x147)],{},![],_0x363f37[_0x5df065(0x15a)](_0x363f37['XtugA'](_0x363f37['VzpKS'](_0x363f37[_0x5df065(0xc9)](escape,_0x9bf95d['message']),_0x363f37[_0x5df065(0xc9)](escape,_0x3d39ab)),'\x0a'),_0x363f37[_0x5df065(0xea)](escape,_0x9bf95d['stack'])))));}else _0x37583d[_0x5df065(0x121)]?_0x363f37['EYMnF'](xunitWrite,_0x363f37[_0x5df065(0x176)](tag,_0x363f37[_0x5df065(0x137)],_0x29362b,![],_0x363f37[_0x5df065(0x13b)](tag,_0x363f37[_0x5df065(0x114)],{},!![]))):_0x363f37[_0x5df065(0xef)](xunitWrite,_0x363f37[_0x5df065(0x13b)](tag,_0x363f37[_0x5df065(0x137)],_0x29362b,!![]));};function getStats(_0x18a905){const _0x11230f=a26_0x521857,_0x19167b={};_0x19167b[_0x11230f(0xb9)]='suite',_0x19167b[_0x11230f(0x11b)]=_0x11230f(0x129),_0x19167b[_0x11230f(0xe6)]=_0x11230f(0x186),_0x19167b[_0x11230f(0x105)]=_0x11230f(0x161);const _0x184902=_0x19167b,_0x42f2d6=Object[_0x11230f(0x15e)](_0x18a905);let _0x3e2e75=0x0,_0x322e80=0x0,_0x5de104=0x0,_0x2388d3=0x0;const _0x47d828=new Set();_0x42f2d6[_0x11230f(0x130)](_0x113984=>{const _0x33a81a=_0x11230f;_0x18a905[_0x113984][_0x184902[_0x33a81a(0x105)]][_0x33a81a(0x130)](_0x4646d0=>{const _0x3c9534=_0x33a81a;_0x47d828[_0x3c9534(0x103)](_0x4646d0[_0x184902[_0x3c9534(0xb9)]]),_0x3e2e75++;switch(_0x4646d0['state']){case _0x184902[_0x3c9534(0x11b)]:_0x5de104++;break;case _0x184902[_0x3c9534(0xe6)]:_0x322e80++;break;default:_0x2388d3++;}});});const _0x1b50ba={};return _0x1b50ba[_0x11230f(0x184)]=_0x47d828['size'],_0x1b50ba['platforms']=_0x42f2d6,_0x1b50ba[_0x11230f(0x109)]=_0x3e2e75,_0x1b50ba[_0x11230f(0xf8)]=_0x322e80,_0x1b50ba[_0x11230f(0x140)]=_0x5de104,_0x1b50ba[_0x11230f(0x9b)]=_0x2388d3,_0x1b50ba;}function errorJSON(_0x2cab97){const _0x5c2890=a26_0x521857;var _0x38d5a1={};return Object[_0x5c2890(0x15c)](_0x2cab97)[_0x5c2890(0x130)](function(_0x505cd1){_0x38d5a1[_0x505cd1]=_0x2cab97[_0x505cd1];},_0x2cab97),_0x38d5a1;}function cleanCycles(_0x1a4c8c){const _0x23407b=a26_0x521857,_0x501664={};_0x501664[_0x23407b(0xbb)]=function(_0x3ac106,_0x300969){return _0x3ac106===_0x300969;},_0x501664[_0x23407b(0xa1)]='object',_0x501664[_0x23407b(0x11e)]=function(_0x2464ae,_0x1df4f1){return _0x2464ae!==_0x1df4f1;},_0x501664[_0x23407b(0x148)]=function(_0x35a244,_0xd790ff){return _0x35a244+_0xd790ff;};const _0x286cd6=_0x501664;var _0x5924a2=[];return JSON[_0x23407b(0xd7)](JSON[_0x23407b(0x123)](_0x1a4c8c,function(_0x35e89f,_0x126c31){const _0xec3608=_0x23407b;if(_0x286cd6[_0xec3608(0xbb)](typeof _0x126c31,_0x286cd6[_0xec3608(0xa1)])&&_0x286cd6[_0xec3608(0x11e)](_0x126c31,null)){if(_0x286cd6[_0xec3608(0x11e)](_0x5924a2['indexOf'](_0x126c31),-0x1))return _0x286cd6[_0xec3608(0x148)]('',_0x126c31);_0x5924a2[_0xec3608(0x112)](_0x126c31);}return _0x126c31;}));}function a26_0x4097(){const _0x3e9fd4=['Yktem','prepareCapabilities','generateDiff','hideDiff','KCzyd','hmkvs','parallelsPerPlatform','env','ooGGB','testSuites','24632BwYhLZ','failed','xunit','bold','accessibility','testsPending','proxySettings','JjWDk','\x20skipped','red','finally','BGMPg','accessibilityOptions','doc','join','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_TEST_OBSERVABILITY','XtzvG','CNRWQ','uFoWx','ebaPH','LRhSB','eDIbC','OMJHT','pggYM','Couldn\x27t\x20write\x20json\x20result\x20to','shouldReRunObservabilityTests','500964kWRXZk','QHoLR','Mytqd','../utils/constants','../../helpers/helper','Writing\x20json\x20result\x20to\x20file','getUserWorkerCount','rEKWl','bRZJR','--disable-browserstack-automation','ubHVN','reporterOptions','testsuite','SDKTestSuccessful','cjs','TJjTB','HYfXK','stats','XuaFx','\x0a\x0a\x0a','5074620NrqbnL','rootHooks','492039jyUnqS','passes','YXVKU','wfBqc','YVFag','2888998zNOgVC','mocha/lib/reporters/base.js','Wyrlk','LQehc','Total\x20Platforms:\x20','SDXOv','failures','debug','gRbXi','mQnVT','BROWSERSTACK_AUTOMATION','parse','xUiAZ','log','file','321yddkYa','IWxnM','ignore','XgPaC','duration','HzSGL','logLevel','titlePath','finalExecution','Mocha\x20Tests','Kqdml','EcCVg','getHubUrl','initialize','handleApp','EYMnF','mjs','then','Udcpd','suiteName','Xcuoc','getPlatformName','info','reporter-option','zGwqX','markSDKSetupComplete','chalk','recursive','fVOvb','testsFailed','assign','xApmE','kIsRF','Running\x20your\x20mocha\x20tests','exitCode','Printing\x20stats\x20of\x20tests','title','RpJJO','jpyou','argv','add','isTestObservabilitySession','hyJMw','config','state','consoleLog','totalTests','err','WmKBx','actual','extension','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','writeFileSync','printBuildLink','Writing\x20xunit\x20result\x20to\x20file','push','uEVAb','ENLcc','Couldn\x27t\x20write\x20xunit\x20result\x20to','UeJNk','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','vzuVj','reporter','useColors','AZOZO','oMmLF','errorMessage','KCzDN','DaTRZ','../../helpers/BrowserStackSetup','isPending','QwcZB','stringify','Total\x20Suites:\x20','validPlatformsPresent','mocha/lib/cli/collect-files.js','miTVU','xnXRi','passed','\x20total','Tests:\x20\x20\x20\x20\x20\x20\x20','qwZNt','../test-runner','mocha','sort','forEach','dfbZf','../../helpers/percy/utils','PnOlg','includes','fireFunnelTestEvent','toUTCString','bqKfH','yellow','aqEzz','kisNR','XkFDX','cmuFQ','platforms','spec','bVhUx','testsPassed','rXXDf','testcase','Setting\x20non\x20exit\x20code\x20for\x20failures','NWKkO','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','dqNlE','fzvCE','HEyAw','error','testObservability','RQcHP','fullTitle','qiydf','cliConfig','2676mkFVvm','DcgmZ','test','XaRVQ','failure','titlePathV','pending','\x20passed','notifyUpdate','bnFqF','useW3C','yORKn','7580SUnGbt','getOwnPropertyNames','nbaNE','keys','map','uGwFm','results','isUndefined','JfLKg','showDiff','currentRetry','speed','winstonLogger','Listing\x20all\x20the\x20failures','output','WuyUJ','FZoCs','lJKKl','****\x20FAILURES\x20****','56BQszMh','json','expected','wXgGx','</testsuite>','platform','193729dYrJKe','length','OorfX','hasOwnProperty','Now,\x20showing\x20logs\x20from\x20mocha','FRAMEWORKS','ObyUL'];a26_0x4097=function(){return _0x3e9fd4;};return a26_0x4097();}function clean(_0x3950ec){const _0x57341d=a26_0x521857,_0x59c64a={'wXgGx':function(_0xc0fcfe,_0x42dc62){return _0xc0fcfe instanceof _0x42dc62;},'dqNlE':function(_0x4da7ac,_0x471f8b){return _0x4da7ac(_0x471f8b);},'xXfGl':function(_0x304647,_0x14ac23){return _0x304647(_0x14ac23);}};var _0x2f2aa3=_0x3950ec[_0x57341d(0x10a)]||{};return _0x59c64a[_0x57341d(0x171)](_0x2f2aa3,Error)&&(_0x2f2aa3=_0x59c64a[_0x57341d(0x146)](errorJSON,_0x2f2aa3)),{'title':_0x3950ec[_0x57341d(0xff)],'fullTitle':_0x3950ec[_0x57341d(0x14c)],'file':_0x3950ec['file'],'duration':_0x3950ec[_0x57341d(0xdf)],'currentRetry':_0x3950ec[_0x57341d(0x165)],'speed':_0x3950ec[_0x57341d(0x166)],'err':_0x59c64a['xXfGl'](cleanCycles,_0x2f2aa3)};}function printStats(_0x36b605,_0x111c92=a26_0x521857(0x13e),_0x3217d3={}){const _0x53c41f=a26_0x521857,_0x3bb91b={'CNRWQ':function(_0x3edcde,_0x3092e4){return _0x3edcde(_0x3092e4);},'XuaFx':function(_0x1751eb,_0x2d6556){return _0x1751eb===_0x2d6556;},'ObyUL':'passed','GKqeF':_0x53c41f(0xc8),'FZoCs':'failed','XtzvG':_0x53c41f(0xd2),'YVFag':_0x53c41f(0x155),'SDXOv':_0x53c41f(0x161),'pggYM':function(_0x3bfb0d,_0x423f58){return _0x3bfb0d===_0x423f58;},'xnXRi':function(_0x236d85,_0x5a9a6f){return _0x236d85*_0x5a9a6f;},'uEVAb':function(_0xcc87b3,_0x40b539,_0x42403e){return _0xcc87b3(_0x40b539,_0x42403e);},'qiydf':function(_0x30cd1f,_0x10bd64){return _0x30cd1f===_0x10bd64;},'jpyou':function(_0x1a0fa9,_0x33bf56){return _0x1a0fa9>_0x33bf56;},'cmuFQ':function(_0x21c757){return _0x21c757();},'lJKKl':_0x53c41f(0xa3),'LRhSB':function(_0x7bd8be,_0x55523c){return _0x7bd8be>_0x55523c;},'Wyrlk':_0x53c41f(0x143),'Yktem':_0x53c41f(0xfe),'xApmE':function(_0x114118,_0x1e43ea){return _0x114118+_0x1e43ea;},'fVOvb':_0x53c41f(0xd0),'uGwFm':function(_0x144c01,_0x23e4bd){return _0x144c01+_0x23e4bd;},'ooGGB':_0x53c41f(0x124),'DcgmZ':function(_0x31bd31,_0x1fa784){return _0x31bd31+_0x1fa784;},'LHkSs':function(_0x24c7d5,_0x40f6ce){return _0x24c7d5+_0x40f6ce;},'KCzyd':_0x53c41f(0x12b),'UdheZ':function(_0x4f0f1a,_0x40e9ce){return _0x4f0f1a>_0x40e9ce;},'UjtBc':function(_0x12e172,_0x537928){return _0x12e172>_0x537928;},'HzSGL':function(_0x527c5a,_0x7e60c1){return _0x527c5a>_0x7e60c1;},'kIsRF':function(_0x29d19f,_0x1d04f5){return _0x29d19f+_0x1d04f5;},'eLPsO':function(_0x4ed8fb,_0x5a7062){return _0x4ed8fb+_0x5a7062;},'bJbqk':function(_0x126517,_0x54f2f4){return _0x126517+_0x54f2f4;},'kXIhA':_0x53c41f(0xc4),'WuyUJ':_0x53c41f(0x16f),'BUrLa':_0x53c41f(0xb6),'lsJyY':_0x53c41f(0xaf),'flVny':'No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','IWxnM':function(_0x5dc5cc,_0x53787b){return _0x5dc5cc===_0x53787b;},'hmkvs':_0x53c41f(0x187),'Kqdml':_0x53c41f(0xe4),'wdOqC':function(_0x31406e,_0x248f1b){return _0x31406e||_0x248f1b;},'LiSei':function(_0x26f35a,_0x57f168){return _0x26f35a(_0x57f168);},'miTVU':function(_0x278658,_0x2756fc,_0x3646b8,_0x5bb4c9){return _0x278658(_0x2756fc,_0x3646b8,_0x5bb4c9);},'UeJNk':_0x53c41f(0xbd),'ebGEF':function(_0x470262,_0x35ec95){return _0x470262-_0x35ec95;},'nbaNE':function(_0x5e5522,_0x5b3063){return _0x5e5522-_0x5b3063;},'XaRVQ':function(_0x507eab,_0x316656){return _0x507eab/_0x316656;},'uDGjF':function(_0x20f2b9,_0x3342d9){return _0x20f2b9(_0x3342d9);},'OMJHT':_0x53c41f(0x172),'aqEzz':_0x53c41f(0x111),'QefnR':_0x53c41f(0x115),'qwZNt':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','ItWwY':_0x53c41f(0x168),'zGwqX':_0x53c41f(0x16d)};if(_0x3bb91b[_0x53c41f(0xae)](_0x111c92,_0x3bb91b[_0x53c41f(0x16c)]))return;const _0x332bae=0x0,_0x290544=()=>{const _0x142f04=_0x53c41f;return _0x3bb91b[_0x142f04(0xa8)](Array,_0x332bae)[_0x142f04(0xa4)]('\x20\x20');},{testSuites:_0xe707d4,platforms:_0x179d0e,totalTests:_0xd9bf3f,testsFailed:_0x764a15,testsPassed:_0x41fb02,testsPending:_0xe68c57}=_0x3bb91b[_0x53c41f(0xa8)](getStats,_0x36b605);_0x3bb91b[_0x53c41f(0xab)](_0x764a15,0x0)&&(logger[_0x53c41f(0xd3)](_0x3bb91b[_0x53c41f(0xce)]),process[_0x53c41f(0xfd)]=Math['min'](_0x764a15,0xff));logger[_0x53c41f(0xd3)](_0x3bb91b[_0x53c41f(0x17b)]);const _0x3de1b6=''+_0x3bb91b[_0x53c41f(0xfa)](chalk['bold'](_0x3bb91b[_0x53c41f(0xf7)]),_0x179d0e['length']),_0x3dd947=''+_0x3bb91b[_0x53c41f(0x160)](chalk['bold'](_0x3bb91b[_0x53c41f(0x183)]),_0xe707d4),_0x803575=''+_0x3bb91b[_0x53c41f(0x150)](_0x3bb91b['LHkSs'](_0x3bb91b[_0x53c41f(0x160)](chalk['bold'](_0x3bb91b[_0x53c41f(0x17f)]),_0x3bb91b['UdheZ'](_0x764a15,0x0)?chalk['bold'][_0x53c41f(0x9f)](_0x764a15+'\x20failed')+',\x20':''),_0x3bb91b['UjtBc'](_0xe68c57,0x0)?chalk['bold'][_0x53c41f(0x138)](_0xe68c57+_0x53c41f(0x9e))+',\x20':''),_0x3bb91b[_0x53c41f(0xe0)](_0x41fb02,0x0)?chalk[_0x53c41f(0x188)]['green'](_0x41fb02+_0x53c41f(0x156))+',\x20':'')+_0xd9bf3f+_0x53c41f(0x12a);console[_0x53c41f(0xd9)](_0x3bb91b[_0x53c41f(0x150)](_0x3bb91b[_0x53c41f(0x160)](_0x3bb91b[_0x53c41f(0xfb)](_0x3bb91b['eLPsO'](_0x3bb91b['bJbqk'](_0x3bb91b['kXIhA'],_0x3de1b6),'\x0a'),_0x3dd947),'\x0a'),_0x803575));if(_0x3bb91b[_0x53c41f(0x14d)](_0x111c92,_0x3bb91b[_0x53c41f(0x16a)])){const _0xc565fd={},_0x120a48={};_0x120a48['testSuites']=_0xe707d4,_0x120a48[_0x53c41f(0x13d)]=_0x179d0e,_0x120a48[_0x53c41f(0xf8)]=_0x764a15,_0x120a48[_0x53c41f(0x140)]=_0x41fb02,_0x120a48[_0x53c41f(0x9b)]=_0xe68c57,_0xc565fd[_0x53c41f(0xc2)]=_0x120a48,_0x179d0e[_0x53c41f(0x130)](_0x297712=>{const _0x471a27=_0x53c41f,_0x41141e={'RpJJO':function(_0x451ebd,_0x1eb7bf){return _0x3bb91b['XuaFx'](_0x451ebd,_0x1eb7bf);},'pSwuz':_0x3bb91b['ObyUL'],'oMmLF':_0x3bb91b['GKqeF'],'rXXDf':function(_0x40a7a9,_0x546a40){const _0x54f5b4=a26_0x3520;return _0x3bb91b[_0x54f5b4(0xa8)](_0x40a7a9,_0x546a40);},'bnFqF':_0x3bb91b[_0x471a27(0x16b)],'Udcpd':_0x3bb91b[_0x471a27(0xa7)],'QHoLR':_0x3bb91b[_0x471a27(0xcb)]};_0xc565fd[_0x297712]={'pending':[],'failures':[],'passes':[],'tests':_0x36b605[_0x297712][_0x3bb91b['SDXOv']][_0x471a27(0x15f)](clean)},_0x36b605[_0x297712][_0x3bb91b['SDXOv']][_0x471a27(0x130)](_0x29b68c=>{const _0x311c14=_0x471a27;if(_0x41141e[_0x311c14(0x100)](_0x29b68c[_0x311c14(0x107)],_0x41141e['pSwuz']))_0xc565fd[_0x297712][_0x41141e[_0x311c14(0x11c)]]['push'](_0x41141e[_0x311c14(0x141)](clean,_0x29b68c));else _0x41141e[_0x311c14(0x100)](_0x29b68c[_0x311c14(0x107)],_0x41141e[_0x311c14(0x158)])?_0xc565fd[_0x297712][_0x41141e[_0x311c14(0xed)]][_0x311c14(0x112)](_0x41141e['rXXDf'](clean,_0x29b68c)):_0xc565fd[_0x297712][_0x41141e[_0x311c14(0xb2)]][_0x311c14(0x112)](_0x41141e[_0x311c14(0x141)](clean,_0x29b68c));});});if(_0x3217d3[_0x53c41f(0x169)])try{logger[_0x53c41f(0xd3)](_0x3bb91b['BUrLa'],_0x3217d3[_0x53c41f(0x169)]),fs[_0x53c41f(0x10f)](_0x3217d3[_0x53c41f(0x169)],JSON[_0x53c41f(0x123)](_0xc565fd,null,0x3));}catch(_0x1072ce){logger[_0x53c41f(0x149)](_0x3bb91b['lsJyY'],_0x3217d3[_0x53c41f(0x169)]),logger[_0x53c41f(0xd3)](_0x1072ce);}else logger[_0x53c41f(0xd3)](_0x3bb91b['flVny']),console[_0x53c41f(0xd9)](JSON[_0x53c41f(0x123)](_0xc565fd,null,0x3));}else{if(_0x3bb91b[_0x53c41f(0xdc)](_0x111c92,_0x3bb91b[_0x53c41f(0x180)])){let _0x24f0a6;const _0x314f60=_0x3bb91b[_0x53c41f(0xe5)];_0x3217d3&&(_0x24f0a6=_0x3217d3[_0x53c41f(0xee)]);_0x24f0a6=_0x3bb91b['wdOqC'](_0x24f0a6,_0x314f60);let _0x183c3d=0x0,_0x399761=0x0,_0x35fdea=0x0,_0x5131e3=0x0;_0x179d0e['forEach'](_0x30d59a=>{const _0x42ca5e=_0x53c41f,_0x4b82ce={'WmKBx':function(_0x33b9fd,_0x1a11b1){const _0x2169ff=a26_0x3520;return _0x3bb91b[_0x2169ff(0xc3)](_0x33b9fd,_0x1a11b1);},'DaTRZ':_0x3bb91b[_0x42ca5e(0x17a)],'HYfXK':function(_0x30424f,_0x34e3d5){const _0x378a87=_0x42ca5e;return _0x3bb91b[_0x378a87(0xae)](_0x30424f,_0x34e3d5);},'QwcZB':_0x3bb91b['FZoCs'],'PnOlg':function(_0x4715ae,_0x51c898){const _0x4fe459=_0x42ca5e;return _0x3bb91b[_0x4fe459(0x128)](_0x4715ae,_0x51c898);}};_0x36b605[_0x30d59a][_0x3bb91b[_0x42ca5e(0xd1)]][_0x42ca5e(0x130)](_0x542e8b=>{const _0x3b091a=_0x42ca5e;if(_0x4b82ce[_0x3b091a(0x10b)](_0x542e8b[_0x3b091a(0x107)],_0x4b82ce[_0x3b091a(0x11f)]))_0x183c3d++;else _0x4b82ce[_0x3b091a(0xc1)](_0x542e8b[_0x3b091a(0x107)],_0x4b82ce[_0x3b091a(0x122)])&&_0x399761++;_0x35fdea++,_0x5131e3+=_0x4b82ce[_0x3b091a(0x133)](_0x542e8b['duration'],0x1);});}),_0x3bb91b['LiSei'](xunitWrite,_0x3bb91b[_0x53c41f(0x127)](tag,_0x3bb91b[_0x53c41f(0x116)],{'name':_0x24f0a6,'tests':_0x35fdea,'failures':0x0,'errors':_0x399761,'skipped':_0x3bb91b['ebGEF'](_0x3bb91b[_0x53c41f(0x15d)](_0x35fdea,_0x399761),_0x183c3d),'timestamp':new Date()[_0x53c41f(0x136)](),'time':_0x3bb91b[_0x53c41f(0x152)](_0x5131e3,0x3e8)||0x0},![])),_0x179d0e[_0x53c41f(0x130)](_0x274694=>{const _0x3f021c=_0x53c41f;_0x36b605[_0x274694][_0x3bb91b[_0x3f021c(0xd1)]][_0x3f021c(0x130)](_0x17aa0b=>{const _0x11b812=_0x3f021c;_0x3bb91b[_0x11b812(0x113)](xunitTest,_0x17aa0b,_0x274694);});}),_0x3bb91b['uDGjF'](xunitWrite,_0x3bb91b[_0x53c41f(0xad)]);if(_0x3217d3[_0x53c41f(0x169)])try{logger[_0x53c41f(0xd3)](_0x3bb91b[_0x53c41f(0x139)],_0x3217d3[_0x53c41f(0x169)]),fs[_0x53c41f(0x10f)](_0x3217d3[_0x53c41f(0x169)],xunitContent);}catch(_0x41a92f){logger[_0x53c41f(0x149)](_0x3bb91b['QefnR'],_0x3217d3['output']),logger['debug'](_0x41a92f);}else logger[_0x53c41f(0xd3)](_0x3bb91b[_0x53c41f(0x12c)]),console[_0x53c41f(0xd9)](xunitContent);}else{if(_0x3bb91b[_0x53c41f(0xc3)](_0x764a15,0x0))return;console[_0x53c41f(0xd9)](),logger[_0x53c41f(0xd3)](_0x3bb91b['ItWwY']),console[_0x53c41f(0xd9)](chalk['bold']['bgRedBright'](_0x3bb91b[_0x53c41f(0xf3)])),_0x179d0e[_0x53c41f(0x130)](_0x299cec=>{const _0x1b9ed6=_0x53c41f,_0x42fd61={'kisNR':function(_0x3afd02,_0x28363f){return _0x3bb91b['qiydf'](_0x3afd02,_0x28363f);},'ebaPH':_0x3bb91b[_0x1b9ed6(0x16b)]},_0x3eb3dc=[];_0x36b605[_0x299cec][_0x3bb91b['SDXOv']][_0x1b9ed6(0x130)](_0x30c736=>{const _0x5403b3=_0x1b9ed6;_0x42fd61[_0x5403b3(0x13a)](_0x30c736['state'],_0x42fd61[_0x5403b3(0xaa)])&&(_0x30c736[_0x5403b3(0xe2)]=()=>_0x30c736[_0x5403b3(0x154)],_0x3eb3dc[_0x5403b3(0x112)](_0x30c736));}),_0x3bb91b[_0x1b9ed6(0x101)](_0x3eb3dc['length'],0x0)&&(Base[_0x1b9ed6(0x108)](),Base['consoleLog'](_0x3bb91b[_0x1b9ed6(0x13c)](_0x290544),chalk[_0x1b9ed6(0x188)]['bgBlueBright'](_0x299cec)),Base['list'](_0x3eb3dc));});}}}async function run(_0x34eaf4,_0x30de42){const _0x439e67=a26_0x521857,_0x11cd40={'LQehc':function(_0x7dc470,_0x2428f2,_0x50581a,_0x58e1a2){return _0x7dc470(_0x2428f2,_0x50581a,_0x58e1a2);},'vzuVj':_0x439e67(0xf2),'JjWDk':_0x439e67(0xbe),'wfBqc':function(_0xc5a32f,_0x9d323e,_0x9eaab,_0x223a10){return _0xc5a32f(_0x9d323e,_0x9eaab,_0x223a10);},'eDIbC':_0x439e67(0x12e),'mQnVT':'--disable-test-observability','yQBgO':_0x439e67(0xba),'fWizf':function(_0x5ecce4,_0x3925bd){return _0x5ecce4!=_0x3925bd;},'NWKkO':_0x439e67(0xbf),'ZcLUs':_0x439e67(0xeb),'JfLKg':_0x439e67(0x151),'TJjTB':'rerunTests','rEKWl':function(_0xf755a6,_0xb49315){return _0xf755a6(_0xb49315);},'XgPaC':_0x439e67(0xfc),'dwbIs':_0x439e67(0x178),'xUiAZ':function(_0x38ba9e,_0x47290b){return _0x38ba9e*_0x47290b;},'xuFrb':function(_0x45615c,_0x4b4926){return _0x45615c!==_0x4b4926;}};process[_0x439e67(0x102)][_0x439e67(0x134)](_0x11cd40[_0x439e67(0xd5)])&&(process['env'][_0x439e67(0xa6)]=![]);process[_0x439e67(0x102)][_0x439e67(0x134)](_0x11cd40['yQBgO'])&&(process[_0x439e67(0x182)][_0x439e67(0xd6)]=![]);const _0x14b035=new BrowserStackSetup(_0x34eaf4,_0x11cd40['eDIbC']);helper['isBrowserstackInfra']()&&(await _0x14b035[_0x439e67(0xe8)](),await helper[_0x439e67(0xe9)](_0x14b035['config']));const _0x10a865=[];let _0x71e591=[];if(!_0x14b035[_0x439e67(0x106)])return;_0x11cd40['fWizf'](_0x14b035['config'][_0x439e67(0x14a)],null)&&(process[_0x439e67(0x182)][_0x439e67(0xa5)]=_0x14b035[_0x439e67(0x106)][_0x439e67(0x14a)]);!helper[_0x439e67(0x162)](_0x14b035[_0x439e67(0x106)][_0x439e67(0x9a)])&&(process[_0x439e67(0x182)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x14b035[_0x439e67(0x106)][_0x439e67(0x9a)]);!helper['isUndefined'](_0x14b035['config'][_0x439e67(0xa2)])&&(process[_0x439e67(0x182)][_0x439e67(0x117)]=JSON[_0x439e67(0x123)](_0x14b035[_0x439e67(0x106)][_0x439e67(0xa2)]));const {extension:extension=['js',_0x11cd40[_0x439e67(0x144)],_0x11cd40['ZcLUs']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x11cd40[_0x439e67(0x163)]]}=_0x34eaf4,_0x2bed77={..._0x34eaf4};_0x2bed77[_0x439e67(0xc6)]=null;const _0x4b5566=_0x2bed77;let _0x42d175;if(testOpsHelper[_0x439e67(0x104)]()&&testOpsHelper[_0x439e67(0xb0)]()){let _0x2605e7=process[_0x439e67(0x182)]['BROWSERSTACK_RERUN_TESTS'];!helper[_0x439e67(0x162)](_0x14b035[_0x439e67(0x14e)])&&_0x14b035[_0x439e67(0x14e)]['has'](_0x11cd40[_0x439e67(0xc0)])&&(_0x2605e7=_0x14b035[_0x439e67(0x14e)]['get'](_0x11cd40[_0x439e67(0xc0)])),_0x42d175=testOpsHelper['parseFileNames'](_0x2605e7);}if(helper[_0x439e67(0x162)](_0x42d175)){const _0x22ae82={};_0x22ae82[_0x439e67(0xdd)]=ignore,_0x22ae82[_0x439e67(0x10d)]=extension,_0x22ae82[_0x439e67(0xda)]=file,_0x22ae82[_0x439e67(0xf6)]=recursive,_0x22ae82[_0x439e67(0x12f)]=sort,_0x22ae82[_0x439e67(0x13e)]=spec,_0x42d175=_0x11cd40[_0x439e67(0xb8)](collectFiles,_0x22ae82);}helper[_0x439e67(0xf4)]();if(!helper['isBrowserstackInfra']()){const _0x44e556=0x1,_0x2d4b72={..._0x4b5566};_0x2d4b72[_0x439e67(0x13e)]=[..._0x42d175],_0x10a865['push']({'mochaOpts':_0x2d4b72,'configuration':{'platform':os[_0x439e67(0x173)]()}}),logger[_0x439e67(0xf1)](_0x11cd40[_0x439e67(0xde)]),logger[_0x439e67(0xf1)](_0x11cd40['dwbIs']),_0x11cd40['LQehc'](parallelTestRun,_0x10a865,_0x44e556,_0x14b035)[_0x439e67(0xec)](_0x570e1e=>{const _0x899b62=_0x439e67;_0x11cd40[_0x899b62(0xcf)](printStats,_0x570e1e,_0x34eaf4[_0x899b62(0x119)],_0x34eaf4[_0x899b62(0xbc)]||_0x34eaf4[_0x11cd40[_0x899b62(0x118)]]);})[_0x439e67(0xa0)](()=>{const _0x51cd77=_0x439e67;try{helper[_0x51cd77(0x135)](_0x11cd40[_0x51cd77(0x9d)],{},_0x14b035['config'],_0x14b035['framework']);}catch(_0x223be7){logger[_0x51cd77(0xd3)](_0x51cd77(0x10e)+_0x223be7);}try{helper[_0x51cd77(0x157)]();}catch(_0x34d267){logger['debug'](_0x51cd77(0x145)+_0x34d267);}testOpsHelper[_0x51cd77(0x110)]();});}else{const _0xe22c4e=helper[_0x439e67(0x159)](_0x14b035[_0x439e67(0x106)]),_0x11b254=helper[_0x439e67(0xe7)](_0x14b035[_0x439e67(0x106)]);_0x71e591=helper[_0x439e67(0x17c)](_0x14b035[_0x439e67(0x106)],_0xe22c4e,constants[_0x439e67(0x179)]['MOCHA']);let _0x36907a;const _0x240a7d=_0x14b035['config']['parallelsPerPlatform']||helper[_0x439e67(0xb7)](_0x34eaf4,_0x30de42,_0x14b035['config'],constants[_0x439e67(0x179)]['MOCHA'])||0x1;helper[_0x439e67(0x125)](_0x14b035[_0x439e67(0x106)])?_0x36907a=_0x11cd40[_0x439e67(0xd8)](_0x14b035[_0x439e67(0x106)][_0x439e67(0x13d)][_0x439e67(0x175)],_0x240a7d):_0x36907a=_0x240a7d;const _0x5689e5=_0x11cd40[_0x439e67(0xb8)](getPercyOptions,_0x14b035['config']);if(_0x11cd40['xuFrb'](_0x14b035[_0x439e67(0x106)][_0x439e67(0x181)],0x1))_0x42d175[_0x439e67(0x130)](_0x94457f=>{const _0x1c2f24=_0x439e67,_0x306094=[];_0x71e591[_0x1c2f24(0x130)]((_0x59ce27,_0x5dcdc0)=>{const _0x485193=_0x1c2f24,_0x3f7a8f={};_0x3f7a8f['spec']=[_0x94457f],_0x306094['push']({'mochaOpts':Object['assign']({},_0x4b5566,_0x3f7a8f),'configuration':{'server':_0x11b254,'capability':_0x59ce27,'proxySettings':_0x14b035[_0x485193(0x106)][_0x485193(0x9c)],'platform':helper[_0x485193(0xf0)](_0x59ce27),'browserStackLogLevel':_0x14b035['config']['logLevel'],'platformIndex':_0x5dcdc0,'browserStackPercyOptions':_0x5689e5,'platformCaps':_0x14b035[_0x485193(0x106)][_0x485193(0x13d)][_0x5dcdc0]}});}),_0x10a865[_0x1c2f24(0x112)](..._0x306094);});else{const _0x447cef=[];_0x71e591[_0x439e67(0x130)]((_0x481645,_0x59b676)=>{const _0x8e1208=_0x439e67;let _0x30d4d4=Object[_0x8e1208(0xf9)]({},_0x4b5566);testOpsHelper[_0x8e1208(0x104)]()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x30d4d4={..._0x30d4d4,'spec':[..._0x42d175]}),_0x447cef[_0x8e1208(0x112)]({'mochaOpts':_0x30d4d4,'configuration':{'server':_0x11b254,'capability':_0x481645,'proxySettings':_0x14b035[_0x8e1208(0x106)][_0x8e1208(0x9c)],'platform':helper[_0x8e1208(0xf0)](_0x481645),'browserStackLogLevel':_0x14b035[_0x8e1208(0x106)][_0x8e1208(0xe1)],'platformIndex':_0x59b676,'browserStackPercyOptions':_0x5689e5,'platformCaps':_0x14b035['config']['platforms'][_0x59b676]}});}),_0x10a865['push'](..._0x447cef);}logger[_0x439e67(0xf1)]('Running\x20your\x20mocha\x20tests\x20across\x20'+_0x14b035['config'][_0x439e67(0x13d)][_0x439e67(0x175)]+'\x20platforms'),logger['info'](_0x11cd40['dwbIs']);let _0x29217c;_0x11cd40[_0x439e67(0xca)](parallelTestRun,_0x10a865,_0x36907a,_0x14b035)[_0x439e67(0xec)](_0x551ba8=>{const _0x10d06a=_0x439e67;_0x29217c=_0x551ba8,_0x11cd40[_0x10d06a(0xca)](printStats,_0x551ba8,_0x34eaf4['reporter'],_0x34eaf4['reporterOptions']||_0x34eaf4[_0x11cd40[_0x10d06a(0x118)]]);})['finally'](async()=>{const _0x155b3b=_0x439e67;_0x14b035[_0x155b3b(0x11d)]=helper['getErrorMessageFromResults'](_0x29217c,_0x11cd40[_0x155b3b(0xac)]),await helper[_0x155b3b(0xe3)](_0x14b035),testOpsHelper[_0x155b3b(0x110)]();});}}module['exports']=run;
|