browserstack-node-sdk 1.32.14 → 1.32.16
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 -0
- package/src/helpers/testhub/testhubHandler.js +1 -0
- package/src/helpers/testhub/utils.js +1 -0
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a21_0x5ca7(_0x405f54,_0x9705d3){const _0xedaeb6=a21_0xedae();return a21_0x5ca7=function(_0x5ca79d,_0x5f3b78){_0x5ca79d=_0x5ca79d-0x1b7;let _0xb37826=_0xedaeb6[_0x5ca79d];return _0xb37826;},a21_0x5ca7(_0x405f54,_0x9705d3);}const a21_0x2f2805=a21_0x5ca7;(function(_0xa2ef35,_0x4a6f2f){const _0x593fbd=a21_0x5ca7,_0x32e8f7=_0xa2ef35();while(!![]){try{const _0x25dc1f=parseInt(_0x593fbd(0x1d0))/0x1*(parseInt(_0x593fbd(0x1e3))/0x2)+-parseInt(_0x593fbd(0x1d5))/0x3+-parseInt(_0x593fbd(0x1d3))/0x4*(-parseInt(_0x593fbd(0x1c5))/0x5)+parseInt(_0x593fbd(0x1dc))/0x6+-parseInt(_0x593fbd(0x1cb))/0x7*(-parseInt(_0x593fbd(0x1d1))/0x8)+-parseInt(_0x593fbd(0x1bb))/0x9*(parseInt(_0x593fbd(0x1b8))/0xa)+-parseInt(_0x593fbd(0x1e4))/0xb;if(_0x25dc1f===_0x4a6f2f)break;else _0x32e8f7['push'](_0x32e8f7['shift']());}catch(_0x3b1265){_0x32e8f7['push'](_0x32e8f7['shift']());}}}(a21_0xedae,0x75e37));const fs=require('fs'),path=require(a21_0x2f2805(0x1e5)),{v4:uuidv4}=require('uuid'),helper=require('../../../helpers/helper'),testHubConstants=require(a21_0x2f2805(0x1e0));function a21_0xedae(){const _0x3fad2a=['join','uuid','2560vSiHpB','setup','tests','29934RDbqac','gCZDp','unlinkSync','_test','getTestUUID','readFileSync','force','eqcTa','removeTestUUID','rxHhy','3948435jqzWsZ','existsSync','getFilePath','testData.json','dirPath','homedir','7mGsDoA','writeFileSync','JYmoh','getTestRunIdFromTestInfo','env','678624ZKXoOl','813496BTWQgR','toString','4rBYbgY','.json','41952Gfbegw','ENV_VAR','getTestData','setTestUUID','.browserstack','shutdown','exports','2049528mnuJHQ','jest-o11y-','parse','BhiAa','../../../helpers/testhub/constants','SZdzK','stringify','2fpZGSR','6196025AXIdej','path','_projectId','AqVLb'];a21_0xedae=function(){return _0x3fad2a;};return a21_0xedae();}class TestDetails{static [a21_0x2f2805(0x1ba)]={};static [a21_0x2f2805(0x1c9)]=path[a21_0x2f2805(0x1e8)](helper['homedir'](),a21_0x2f2805(0x1d9),'jest-o11y-'+process[a21_0x2f2805(0x1cf)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']]);static[a21_0x2f2805(0x1b9)](){const _0x10ea56=a21_0x2f2805,_0x4ec99e={};_0x4ec99e[_0x10ea56(0x1cd)]=_0x10ea56(0x1d9);const _0x35455c=_0x4ec99e;this['dirPath']=path[_0x10ea56(0x1e8)](helper[_0x10ea56(0x1ca)](),_0x35455c[_0x10ea56(0x1cd)],_0x10ea56(0x1dd)+process[_0x10ea56(0x1cf)][testHubConstants[_0x10ea56(0x1d6)]['BROWSERSTACK_TESTHUB_UUID']]),this[_0x10ea56(0x1da)]();const _0x1a6796={};_0x1a6796['recursive']=!![],fs['mkdirSync'](this[_0x10ea56(0x1c9)],_0x1a6796);}static['getFilePath'](_0x3efaed){const _0x3d4065=a21_0x2f2805,_0x4919b1={};_0x4919b1[_0x3d4065(0x1c4)]=function(_0x2ee06b,_0x2867a4){return _0x2ee06b+_0x2867a4;},_0x4919b1[_0x3d4065(0x1bc)]=_0x3d4065(0x1d4);const _0x51681a=_0x4919b1;return path[_0x3d4065(0x1e8)](this[_0x3d4065(0x1c9)],_0x51681a[_0x3d4065(0x1c4)](_0x3efaed,_0x51681a['gCZDp']));}static[a21_0x2f2805(0x1ce)](_0xc4cc9e){const _0x2ea7a5=a21_0x2f2805,_0x329f6f={};_0x329f6f[_0x2ea7a5(0x1c2)]=function(_0x200842,_0x38774e){return _0x200842+_0x38774e;};const _0x5151ce=_0x329f6f;return _0x5151ce[_0x2ea7a5(0x1c2)](_0x5151ce[_0x2ea7a5(0x1c2)](_0x5151ce['eqcTa'](_0x5151ce[_0x2ea7a5(0x1c2)](_0xc4cc9e['_test'][_0x2ea7a5(0x1e6)],'-'),_0xc4cc9e[_0x2ea7a5(0x1be)]['id']),'-'),_0xc4cc9e['retry']);}static[a21_0x2f2805(0x1bf)](_0x31dc63){const _0x417e7e=a21_0x2f2805,_0x276a17=this[_0x417e7e(0x1c7)](_0x31dc63);if(fs[_0x417e7e(0x1c6)](_0x276a17)){const _0x4db2cd=JSON['parse'](fs[_0x417e7e(0x1c0)](_0x276a17)['toString']());return this['tests'][_0x31dc63]=_0x4db2cd,this[_0x417e7e(0x1ba)][_0x31dc63][_0x417e7e(0x1b7)];}}static['setTestData'](_0x9ea50b){const _0x3a1443=a21_0x2f2805,_0xbbeb17={};_0xbbeb17[_0x3a1443(0x1e7)]=_0x3a1443(0x1c8);const _0x1a5205=_0xbbeb17,_0x33092b=path[_0x3a1443(0x1e8)](this['dirPath'],_0x1a5205[_0x3a1443(0x1e7)]);fs['writeFileSync'](_0x33092b,JSON[_0x3a1443(0x1e2)](_0x9ea50b));}static[a21_0x2f2805(0x1d7)](){const _0x16772d=a21_0x2f2805,_0x559146={};_0x559146[_0x16772d(0x1e1)]='testData.json';const _0xe9bee5=_0x559146,_0x4faf19=path['join'](this[_0x16772d(0x1c9)],_0xe9bee5[_0x16772d(0x1e1)]);let _0x50e1a6={};try{return fs[_0x16772d(0x1c6)](_0x4faf19)&&(_0x50e1a6=JSON[_0x16772d(0x1de)](fs['readFileSync'](_0x4faf19)[_0x16772d(0x1d2)]())),_0x50e1a6;}catch(_0x5cf810){return _0x50e1a6;}}static[a21_0x2f2805(0x1d8)](_0x35f985){const _0x22660c=a21_0x2f2805,_0x15d127={'BhiAa':function(_0x5771b1){return _0x5771b1();}},_0x50d679=this[_0x22660c(0x1c7)](_0x35f985);return this[_0x22660c(0x1ba)][_0x35f985]={'uuid':_0x15d127[_0x22660c(0x1df)](uuidv4)},fs[_0x22660c(0x1cc)](_0x50d679,JSON[_0x22660c(0x1e2)](this['tests'][_0x35f985])),this['tests'][_0x35f985][_0x22660c(0x1b7)];}static[a21_0x2f2805(0x1c3)](_0x5d4e48){const _0x2923f3=a21_0x2f2805,_0x14aa58=this[_0x2923f3(0x1c7)](_0x5d4e48);fs['existsSync'](_0x14aa58)&&fs[_0x2923f3(0x1bd)](_0x14aa58);}static[a21_0x2f2805(0x1da)](){const _0x59ce83=a21_0x2f2805,_0xd568e7={};_0xd568e7['recursive']=!![],_0xd568e7[_0x59ce83(0x1c1)]=!![],fs['rmSync'](this[_0x59ce83(0x1c9)],_0xd568e7);}}module[a21_0x2f2805(0x1db)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x212718=a22_0x4673;(function(_0xe1bd29,_0x1e6fbb){const _0x468eda=a22_0x4673,_0x1f5cf5=_0xe1bd29();while(!![]){try{const _0x3ddb37=-parseInt(_0x468eda(0x162))/0x1*(-parseInt(_0x468eda(0x168))/0x2)+-parseInt(_0x468eda(0x16a))/0x3*(-parseInt(_0x468eda(0x15f))/0x4)+-parseInt(_0x468eda(0x15d))/0x5*(parseInt(_0x468eda(0x169))/0x6)+-parseInt(_0x468eda(0x16b))/0x7+-parseInt(_0x468eda(0x167))/0x8*(parseInt(_0x468eda(0x160))/0x9)+-parseInt(_0x468eda(0x166))/0xa+parseInt(_0x468eda(0x165))/0xb;if(_0x3ddb37===_0x1e6fbb)break;else _0x1f5cf5['push'](_0x1f5cf5['shift']());}catch(_0x21f405){_0x1f5cf5['push'](_0x1f5cf5['shift']());}}}(a22_0x3474,0x62a1c));const {requireModule}=require(a22_0x212718(0x164));require(a22_0x212718(0x161))();function a22_0x4673(_0x44b871,_0x293a3b){const _0x347425=a22_0x3474();return a22_0x4673=function(_0x4673fe,_0x1c7930){_0x4673fe=_0x4673fe-0x15d;let _0x141b1c=_0x347425[_0x4673fe];return _0x141b1c;},a22_0x4673(_0x44b871,_0x293a3b);}function a22_0x3474(){const _0x27bf4b=['selenium-webdriver','../../helpers/helper','2644620TjGrPI','1940730xBORJb','504HRxeym','3148AwZKXr','79758pOULCE','87837RxqZzh','435484ZTKsFp','__webdriver','150PDDpOq','keys','20cUXrEG','6948gCZFWn','../../helpers/setKeepAlive','458KIfqXy'];a22_0x3474=function(){return _0x27bf4b;};return a22_0x3474();}const __wd__=requireModule(a22_0x212718(0x163));for(const key of Object[a22_0x212718(0x15e)](global[a22_0x212718(0x16c)])){__wd__[key]=global['__webdriver'][key];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a23_0x259014=a23_0x4604;(function(_0xe5489e,_0x1c0abe){const _0x2ea1b2=a23_0x4604,_0x1731f0=_0xe5489e();while(!![]){try{const _0x47eaaf=-parseInt(_0x2ea1b2(0x1db))/0x1*(-parseInt(_0x2ea1b2(0x1d1))/0x2)+parseInt(_0x2ea1b2(0x1cc))/0x3*(-parseInt(_0x2ea1b2(0x1d9))/0x4)+parseInt(_0x2ea1b2(0x1dc))/0x5+-parseInt(_0x2ea1b2(0x1d6))/0x6+-parseInt(_0x2ea1b2(0x1ea))/0x7+-parseInt(_0x2ea1b2(0x1cf))/0x8+parseInt(_0x2ea1b2(0x1da))/0x9;if(_0x47eaaf===_0x1c0abe)break;else _0x1731f0['push'](_0x1731f0['shift']());}catch(_0x3b3e07){_0x1731f0['push'](_0x1731f0['shift']());}}}(a23_0x48cd,0xd9f24));const path=require(a23_0x259014(0x1e8)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a23_0x259014(0x1e3)),constants=require('../utils/constants'),{isAccessibilityAutomationSession}=require(a23_0x259014(0x1e0)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper');function a23_0x4604(_0x46e243,_0x31689f){const _0x48cd03=a23_0x48cd();return a23_0x4604=function(_0x4604ef,_0x3d0692){_0x4604ef=_0x4604ef-0x1cb;let _0x51469d=_0x48cd03[_0x4604ef];return _0x51469d;},a23_0x4604(_0x46e243,_0x31689f);}function a23_0x48cd(){const _0x10b210=['JPPmJ','../../helpers/accessibility-automation/helper','testsPending','_bsConfig','../../helpers/helper','14|18|21|2|20|13|3|17|19|8|16|9|6|11|1|12|0|7|4|15|10|5','_framework','capability','testsFailed','path','testsPassed','1188488jmHevJ','_testObservability','setupCucumber','_mochaOpts','2049KstvlO','_configuration','_formatter','1014792yKLXQa','testSuites','6rlVFgJ','testsErrorMessage','piTJq','testsUndefined','testsSkipped','2213382LoyQVY','platformCaps','testsUnknown','3044PonWGU','4747167wcGoer','436517GbHdas','1204935HWERcT','_argv','__platformCaps'];a23_0x48cd=function(){return _0x10b210;};return a23_0x48cd();}class Launcher{constructor(_0x431a41,_0x5bd724,_0x36e2f8,_0x431e3d=[]){const _0x179b33=a23_0x259014,_0x5305f8={'JPPmJ':_0x179b33(0x1e4),'piTJq':function(_0x541a1c){return _0x541a1c();}},_0x3bdea7=_0x5305f8[_0x179b33(0x1df)]['split']('|');let _0x9c093d=0x0;while(!![]){switch(_0x3bdea7[_0x9c093d++]){case'0':global[_0x179b33(0x1d5)]=0x0;continue;case'1':global[_0x179b33(0x1e7)]=0x0;continue;case'2':this[_0x179b33(0x1ce)]=_0x5bd724['formatter'];continue;case'3':this[_0x179b33(0x1dd)]=_0x431e3d;continue;case'4':global[_0x179b33(0x1d4)]=0x0;continue;case'5':global[_0x179b33(0x1d2)]={};continue;case'6':global['totalTests']=0x0;continue;case'7':global['testSuitesFailed']=0x0;continue;case'8':this['_accessibilityAutomation']=_0x5305f8[_0x179b33(0x1d3)](isAccessibilityAutomationSession);continue;case'9':global[_0x179b33(0x1d0)]=0x0;continue;case'10':global['testsAmbiguous']=0x0;continue;case'11':global[_0x179b33(0x1e9)]=0x0;continue;case'12':global[_0x179b33(0x1e1)]=0x0;continue;case'13':global['__platform__']=this['_configuration']['platform'];continue;case'14':this[_0x179b33(0x1e5)]=_0x431a41;continue;case'15':global[_0x179b33(0x1d8)]=0x0;continue;case'16':global[_0x179b33(0x1de)]=this[_0x179b33(0x1cd)][_0x179b33(0x1d7)]||{};continue;case'17':this[_0x179b33(0x1e2)]=_0x36e2f8;continue;case'18':this[_0x179b33(0x1cd)]=_0x5bd724['configuration']||{};continue;case'19':this[_0x179b33(0x1eb)]=_0x5305f8[_0x179b33(0x1d3)](isTestObservabilitySession);continue;case'20':this['_capability']=this[_0x179b33(0x1cd)][_0x179b33(0x1e6)];continue;case'21':this[_0x179b33(0x1cb)]=_0x5bd724['mochaOpts'];continue;}break;}}[a23_0x259014(0x1ec)](_0x2d51fb,_0x2e650c,_0x5314a2){const _0x48f164=_0x2d51fb['resolvePaths'];_0x2d51fb.resolvePaths=async function(){const pathResults=await _0x48f164.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x5314a2));return pathResults;},_0x2e650c.push('--format'),_0x2e650c.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();}});}}module.exports=Launcher;
|
|
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 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a24_0x4cfe(){const _0x115e2d=['Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','capabilities_','JBaEG','14TlWEga','getPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','KUsKi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','KeKbW','__cloud_provider___','308502oDSJAA','chromeOptions_','zCMjW','args','selenium-webdriver/chrome.js','chromeOptions','YxERt','toLowerCase','857479rINUVT','2320747AaYWJf','fetchPlatformDetails','384762IQQTOb','../../../helpers/logger','MgqrZ','browserstack','latest','scannerVersion','env','NheEy','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','requireModule','device','UYsCY','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','includes','setGlobal','NwEyn','chrome','rPixV','options_','BxHUT','capability','KydjG','debug','accessibilityOptions','33glCUDg','parse','browserstack.accessibility','vEgZr','authToken','format','getPlatformVersion','533940QKDgoo','getBrowserVersion','winstonLogger','loZrn','browserVersion','setExtension','sGQIt','isUndefined','Options','DtmwN','mNNms','get','bstack:options','20YRLLQa','--headless','../../../helpers/globals','4MdoSPf','1634634kDMhRM','5cZMXmN','browserName','getCapabilities','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','pPymz','8AXNsEC','nestedKeyValue','deviceName','isAccessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','HZjTt','BS_A11Y_JWT','10CDLrSe','3079DxqGgQ','warn','wvpvP'];a24_0x4cfe=function(){return _0x115e2d;};return a24_0x4cfe();}const a24_0x261b64=a24_0x2999;(function(_0x19c8a9,_0x575285){const _0x397e2b=a24_0x2999,_0x530944=_0x19c8a9();while(!![]){try{const _0x4804e4=parseInt(_0x397e2b(0xdc))/0x1*(parseInt(_0x397e2b(0xca))/0x2)+parseInt(_0x397e2b(0xf4))/0x3*(parseInt(_0x397e2b(0xcd))/0x4)+parseInt(_0x397e2b(0xcf))/0x5*(-parseInt(_0x397e2b(0xe9))/0x6)+parseInt(_0x397e2b(0xf1))/0x7*(-parseInt(_0x397e2b(0xd4))/0x8)+-parseInt(_0x397e2b(0xce))/0x9*(parseInt(_0x397e2b(0xdb))/0xa)+parseInt(_0x397e2b(0xb6))/0xb*(parseInt(_0x397e2b(0xbd))/0xc)+parseInt(_0x397e2b(0xf2))/0xd*(parseInt(_0x397e2b(0xe2))/0xe);if(_0x4804e4===_0x575285)break;else _0x530944['push'](_0x530944['shift']());}catch(_0x3c7e3b){_0x530944['push'](_0x530944['shift']());}}}(a24_0x4cfe,0x1c334));function a24_0x2999(_0x351eee,_0x3c0830){const _0x4cfe5c=a24_0x4cfe();return a24_0x2999=function(_0x2999e4,_0x1346e4){_0x2999e4=_0x2999e4-0xad;let _0x51f925=_0x4cfe5c[_0x2999e4];return _0x51f925;},a24_0x2999(_0x351eee,_0x3c0830);}const path=require('path'),os=require('os'),util=require('util'),bsSetupHelper=require('../../../helpers/helper'),globals=require(a24_0x261b64(0xcc)),logger=require(a24_0x261b64(0xf5))[a24_0x261b64(0xbf)];exports['setAccessibilityCapabilities']=_0x368de5=>{const _0x19881d=a24_0x261b64,_0xa74691={};_0xa74691[_0x19881d(0xc0)]=_0x19881d(0xc9),_0xa74691[_0x19881d(0xc3)]=_0x19881d(0xb8),_0xa74691['lFrHc']=_0x19881d(0xd7),_0xa74691[_0x19881d(0xaf)]='browserstack.accessibilityOptions';const _0x1327e8=_0xa74691;try{const _0xb63865=_0x368de5[_0x19881d(0xb2)]||{};if(_0xb63865[_0x1327e8['loZrn']]&&_0xb63865[_0x1327e8[_0x19881d(0xc0)]]['accessibility']||_0x368de5[_0x19881d(0xb2)][_0x1327e8['sGQIt']]){globals[_0x19881d(0x102)](_0x1327e8['lFrHc'],!![]);if(_0xb63865[_0x1327e8[_0x19881d(0xc0)]]){if(_0xb63865[_0x1327e8[_0x19881d(0xc0)]][_0x19881d(0xb5)])_0xb63865[_0x1327e8[_0x19881d(0xc0)]]['accessibilityOptions'][_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)];else{const _0x286c78={};_0x286c78[_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)],_0xb63865[_0x1327e8['loZrn']][_0x19881d(0xb5)]=_0x286c78;}_0xb63865[_0x1327e8[_0x19881d(0xc0)]][_0x19881d(0xb5)][_0x19881d(0xf9)]=JSON[_0x19881d(0xb7)](process[_0x19881d(0xfa)][_0x19881d(0xd8)])[_0x19881d(0xf9)];}else{if(_0x368de5[_0x19881d(0xb2)][_0x1327e8[_0x19881d(0xc3)]]){if(_0xb63865[_0x1327e8['rPixV']])_0xb63865[_0x1327e8[_0x19881d(0xaf)]]['authToken']=process['env'][_0x19881d(0xda)];else{const _0x580fe8={};_0x580fe8[_0x19881d(0xba)]=process[_0x19881d(0xfa)][_0x19881d(0xda)],_0xb63865[_0x1327e8[_0x19881d(0xaf)]]=_0x580fe8;}_0xb63865[_0x1327e8[_0x19881d(0xaf)]][_0x19881d(0xf9)]=JSON[_0x19881d(0xb7)](process[_0x19881d(0xfa)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x19881d(0xf9)];}}}}catch(_0x1d34b0){logger['debug'](_0x19881d(0xdf)+_0x1d34b0);}},exports[a24_0x261b64(0xc2)]=(_0x56b86d,_0x24e199)=>{const _0x183509=a24_0x261b64,_0x38f042={};_0x38f042[_0x183509(0xd3)]=_0x183509(0xc9),_0x38f042[_0x183509(0xf6)]=function(_0x2fcb1e,_0x5a847e){return _0x2fcb1e!==_0x5a847e;},_0x38f042[_0x183509(0xff)]=_0x183509(0x100),_0x38f042[_0x183509(0xd9)]=function(_0x307767,_0x23e80a){return _0x307767!==_0x23e80a;},_0x38f042[_0x183509(0xad)]=_0x183509(0xae),_0x38f042[_0x183509(0xc7)]=_0x183509(0xe6),_0x38f042[_0x183509(0xfb)]=function(_0x4438fe,_0x349381){return _0x4438fe===_0x349381;},_0x38f042[_0x183509(0xe1)]=_0x183509(0xf8),_0x38f042[_0x183509(0xb1)]=function(_0x279ab9,_0x524103){return _0x279ab9>_0x524103;},_0x38f042[_0x183509(0xe5)]=_0x183509(0xe4),_0x38f042['HtZvW']=_0x183509(0xed),_0x38f042[_0x183509(0xc6)]=_0x183509(0xb0),_0x38f042[_0x183509(0xb9)]=_0x183509(0xec),_0x38f042[_0x183509(0xb3)]=_0x183509(0xee),_0x38f042[_0x183509(0xde)]=_0x183509(0xcb),_0x38f042[_0x183509(0xe7)]=_0x183509(0xfc);const _0xf968d8=_0x38f042;try{const _0x16c584=_0x24e199['capability']||{},_0xfa0489=(_0x16c584[_0xf968d8['pPymz']]?_0x16c584[_0xf968d8[_0x183509(0xd3)]][_0x183509(0xd6)]:_0x16c584[_0x183509(0xfe)])||'';if(_0xf968d8[_0x183509(0xf6)](_0xfa0489,''))return logger[_0x183509(0xdd)](_0xf968d8[_0x183509(0xff)]),![];const _0x2186e0=_0x16c584[_0x183509(0xd0)];if(_0xf968d8[_0x183509(0xd9)](_0x2186e0[_0x183509(0xf0)](),_0xf968d8[_0x183509(0xad)]))return logger['warn'](_0xf968d8[_0x183509(0xc7)]),![];const _0x558fd0=_0x16c584[_0x183509(0xc1)]||_0x16c584['browser_version'];if(!bsSetupHelper[_0x183509(0xc4)](_0x558fd0)&&!(_0xf968d8[_0x183509(0xfb)](_0x558fd0,_0xf968d8[_0x183509(0xe1)])||_0xf968d8[_0x183509(0xb1)](_0x558fd0,0x5e)))return logger['warn'](_0xf968d8['KUsKi']),![];let _0x52fafb;try{_0x52fafb=bsSetupHelper[_0x183509(0xfd)](_0xf968d8['HtZvW']);}catch(_0x10086c){return![];}const _0x4358f2=new _0x52fafb[(_0x183509(0xc5))](_0x56b86d[_0x183509(0xea)]),_0x48753a=bsSetupHelper[_0x183509(0xd5)](_0x4358f2,[_0xf968d8[_0x183509(0xc6)],_0xf968d8[_0x183509(0xb9)]])||bsSetupHelper[_0x183509(0xd5)](_0x56b86d[_0x183509(0xe0)]['get'](_0xf968d8[_0x183509(0xd3)]),[_0xf968d8[_0x183509(0xb3)],_0xf968d8['vEgZr']])||bsSetupHelper['nestedKeyValue'](_0x56b86d[_0x183509(0xe0)][_0x183509(0xc8)](_0xf968d8[_0x183509(0xb3)]),[_0xf968d8['vEgZr']])||[];if(_0x48753a[_0x183509(0x101)](_0xf968d8[_0x183509(0xde)]))return logger[_0x183509(0xdd)](_0xf968d8[_0x183509(0xe7)]),![];return!![];}catch(_0x1d65bd){logger[_0x183509(0xb4)]('Exception\x20in\x20setExtension\x20Error:\x20'+util[_0x183509(0xbb)](_0x1d65bd));}return![];},exports[a24_0x261b64(0xf3)]=async _0x390618=>{const _0x55ea67=a24_0x261b64,_0x461998={};_0x461998[_0x55ea67(0xeb)]=function(_0x8571c9,_0x2e272e){return _0x8571c9===_0x2e272e;},_0x461998[_0x55ea67(0xef)]=_0x55ea67(0xf7);const _0x3078ef=_0x461998;let _0xe237e={};try{const _0x586b24=await _0x390618[_0x55ea67(0xd1)]();_0xe237e={'os_name':_0x586b24[_0x55ea67(0xe3)](),'os_version':bsSetupHelper[_0x55ea67(0xbc)](_0x3078ef[_0x55ea67(0xeb)](global[_0x55ea67(0xe8)],_0x3078ef[_0x55ea67(0xef)])),'browser_name':_0x586b24['getBrowserName'](),'browser_version':_0x586b24[_0x55ea67(0xbe)]()};}catch(_0x11e2fc){logger['debug'](_0x55ea67(0xd2)+_0x11e2fc);}return _0xe237e;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a25_0x3cd675=a25_0x5c01;function a25_0x5c01(_0x4941e1,_0x46c498){const _0x510a91=a25_0x510a();return a25_0x5c01=function(_0x5c01d8,_0x4059ca){_0x5c01d8=_0x5c01d8-0x117;let _0x14f8b1=_0x510a91[_0x5c01d8];return _0x14f8b1;},a25_0x5c01(_0x4941e1,_0x46c498);}(function(_0x50e6dd,_0x37e227){const _0x29bab7=a25_0x5c01,_0x1be8b3=_0x50e6dd();while(!![]){try{const _0x35272b=parseInt(_0x29bab7(0x13a))/0x1*(parseInt(_0x29bab7(0x1aa))/0x2)+-parseInt(_0x29bab7(0x14b))/0x3+-parseInt(_0x29bab7(0x147))/0x4+parseInt(_0x29bab7(0x151))/0x5+-parseInt(_0x29bab7(0x11d))/0x6*(parseInt(_0x29bab7(0x1f1))/0x7)+-parseInt(_0x29bab7(0x148))/0x8*(parseInt(_0x29bab7(0x1e4))/0x9)+-parseInt(_0x29bab7(0x1fc))/0xa;if(_0x35272b===_0x37e227)break;else _0x1be8b3['push'](_0x1be8b3['shift']());}catch(_0x103b0b){_0x1be8b3['push'](_0x1be8b3['shift']());}}}(a25_0x510a,0x5c33c));function a25_0x510a(){const _0x52892b=['\x20with\x20error\x20:\x20','indent','toISOString','hookAnalyticsId','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','1|0|4|3|2','testStarted','_buildCreated','UnhandledError','err','TbaEh','</dl>','bang','type','lSvEo','pid','PqVta','event_type','forEach','suites','\x20\x20%d)\x20%s','current_test','JdGRG','appendTestItemLog','util','failCount','clean','logs','../../../helpers/test-observability/utils','scope','<section\x20class=\x22suite\x22>','GcwvD','failed','before\x20each','1477881estMlS','decreaseIndent','bs:addPlatformDetails:','exports','analyticsResult','AFTER_ALL','mPNbo','TMThn','ZWAPM','Reporter','\x20%s','color','testAnalyticsId','7JzjJLj','File\x20path\x20could\x20not\x20be\x20found','dirname','TestRunStarted','EpoAp','szrxv','findGitConfig','LogCreated','config','../../../helpers/test-observability/constants','finished_at','1689330VmEdZp','xsGWs','parent','join','DGINm','hook_run','Qtaos','TLKQJ','speed','YrPmM','location_prefix','getTime','docHtml','_indents','slice','ekDgm','AzqCc','CUmFZ','\x20\x20<dt\x20class=\x22error\x22>','HookRunStarted','_testEnv','uStss','ABwhu','passed','COMPLETED','uuid','failure_backtrace','Zxwhg','CMHXI','UiEYK','toString','SAKTz','vtuCA','BEFORE_ALL','mocha/lib/utils.js','YIoHg','docAppend','AIOhF','apbPO','file','cwd','state','\x20-\x20','XFLRi','CBTSessionCreated','RUNNING','_testResults','registerListeners','ctx','trim','prefixTestPath','titlePath','675138rVGYgU','includes','currentTest','reporterOption','suiteCount','ILzQl','constants','\x20\x20<dt>','../../../helpers/test-observability/requestQueueHandler','slow','.git','../../../helpers/helper','HiIeS','originalTitle','Xszgh','XvMfC','NPbqx','UeeSo','retryOf','symbols','skQZx','uploadEventData','YjOXf','OKQCJ','sep','HCuPH','AGfgC','PUAtX','consoleLog','345502adKnmw','ZpnAy','\x20\x20<dd\x20class=\x22error\x22>','green','uPpoS','path','VHxiz','now','_upstreamConfig','TestRunSkipped','started_at','fast','Thrwy','1557528XtOmPP','8LIGvnA','javascript','__indents','423984jySJHq','length','.js','rdtmL','prototype','hJJTc','3315155CnQWPT','bwRdn','UxWee','dPyUu','after\x20each','pending','_paths','integrations','ACfxL','split','TestRunFinished','match','currentRetry','dot','aLmFZ','RGpVV','once','testObservability','WNQli','fail','zPqDa','zFdps','WsXXs','reporterOptions','failure','escape','GXRoy','test_run','hooks','\x20\x20<dd\x20class=\x22error\x22><pre><code>','Runner','YDevf','OXEDd','markedStatus','failureCount','BkThh','ooehJ','MAzyF','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','sendTestRunEvent','write','mocha/lib/runnable.js','\x20\x20<dd><pre><code>','<h1>','scopes','\x20(%dms)','failure_reason_expanded','fullTitle','__platform__','current_hook','relative','avhDE','AFTER_EACH','call','before\x20all','error','removeAllListeners','yUkAY','UqSlJ','finalResults','mkUBp','shutdown','appendTestPlatform','result','test_run_uuid','zPQIn','suite','FCskB','hook_run_uuid','ZLTFe','BEFORE_EACH','body','zeauh','TLIFG','</dt>','%s\x20-\x20%s','hook_type','</section>','yBRic','</code></pre></dd>','bind','root','light','RYUXx','stdout','YLzYA','kuNau','test','IpbBR','4kcftjl','nlhFU','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','multiple','mocha/lib/reporters/base.js','GQgKe','ecWsf','aIKEK','push','getRootParentFile','GQCKe','title','runner','apply','getInstance','zoPkr','bsConfig','Qxnel','SOnhn','kvXVh','done','_currentRetry','results','increaseIndent'];a25_0x510a=function(){return _0x52892b;};return a25_0x510a();}const util=require(a25_0x3cd675(0x1da)),fs=require('fs'),path=require(a25_0x3cd675(0x13f)),{requireModule}=require(a25_0x3cd675(0x128)),Base=requireModule(a25_0x3cd675(0x1ae)),utils=requireModule(a25_0x3cd675(0x21e)),color=Base[a25_0x3cd675(0x1ef)],Mocha=requireModule('mocha'),Runnable=requireModule(a25_0x3cd675(0x17a)),{v4:uuidv4}=require(a25_0x3cd675(0x215)),bsSetupHelper=require(a25_0x3cd675(0x128)),a25_0xd8dd8c={};a25_0xd8dd8c[a25_0x3cd675(0x187)]=a25_0x3cd675(0x21d),a25_0xd8dd8c['after\x20all']=a25_0x3cd675(0x1e9),a25_0xd8dd8c[a25_0x3cd675(0x1e3)]=a25_0x3cd675(0x197),a25_0xd8dd8c[a25_0x3cd675(0x155)]=a25_0x3cd675(0x185);const HOOK_TYPES_MAP=a25_0xd8dd8c,{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[a25_0x3cd675(0x16f)][a25_0x3cd675(0x123)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a25_0x3cd675(0x123)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a25_0x3cd675(0x1fa)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a25_0x3cd675(0x1de)),RequestQueueHandler=require(a25_0x3cd675(0x125)),requestQueueHandler=RequestQueueHandler[a25_0x3cd675(0x1b8)]();class MyReporter{constructor(_0x2bf0c5,_0x122af6){const _0x2f07de=a25_0x3cd675,_0x4c8c33={'TMThn':function(_0x1e3f2d,_0x48b63f){return _0x1e3f2d===_0x48b63f;},'DGINm':'spec','BkThh':function(_0x4c1e7b,_0x114842){return _0x4c1e7b===_0x114842;},'PMlMD':function(_0x3d5526,_0x53912a){return _0x3d5526+_0x53912a;},'XFLRi':function(_0x4efe86,_0x3a8452){return _0x4efe86+_0x3a8452;},'zFdps':function(_0x511e98,_0x2bb2e8,_0x168530){return _0x511e98(_0x2bb2e8,_0x168530);},'HiIeS':_0x2f07de(0x13d),'PUAtX':'%s\x20','zPqDa':_0x2f07de(0x1a3),'TLIFG':_0x2f07de(0x19c),'LDHFj':_0x2f07de(0x229),'JdGRG':'doc','Zxwhg':function(_0xb3efbb,_0x1c539b){return _0xb3efbb===_0x1c539b;},'GQgKe':function(_0x87045d){return _0x87045d();},'FCskB':function(_0x225421){return _0x225421();},'AIOhF':_0x2f07de(0x20f),'szrxv':function(_0x49e444,_0x2160a0){return _0x49e444===_0x2160a0;},'GcwvD':'HookRunFinished','Ubajy':_0x2f07de(0x213),'wDNIe':_0x2f07de(0x145),'dPyUu':function(_0x66dbfc,_0x2723b6){return _0x66dbfc+_0x2723b6;},'ILzQl':function(_0x2e165a,_0x3cd38c,_0x3f2196){return _0x2e165a(_0x3cd38c,_0x3f2196);},'OXEDd':'checkmark','vtuCA':function(_0x460164,_0x55c783,_0x278ffd){return _0x460164(_0x55c783,_0x278ffd);},'EpoAp':'pass','ekDgm':_0x2f07de(0x1ee),'GQCKe':function(_0x30ee88,_0x1e3629){return _0x30ee88+_0x1e3629;},'apbPO':function(_0x50ec25,_0x43a7b2){return _0x50ec25+_0x43a7b2;},'uPpoS':function(_0x3596f1,_0x52337f,_0x36852d){return _0x3596f1(_0x52337f,_0x36852d);},'IpbBR':function(_0x1bff28,_0x38372,_0x1ac72e){return _0x1bff28(_0x38372,_0x1ac72e);},'HCuPH':_0x2f07de(0x17e),'AzqCc':function(_0x40f216,_0x331f60){return _0x40f216+_0x331f60;},'UiEYK':_0x2f07de(0x164),'kydTz':_0x2f07de(0x1d6),'zPQIn':function(_0x4def5b,_0x12279d){return _0x4def5b+_0x12279d;},'nlhFU':'bright\x20yellow','NPbqx':function(_0x12b498,_0x4ac24d,_0x51d398){return _0x12b498(_0x4ac24d,_0x51d398);},'ugsHP':_0x2f07de(0x214),'kvXVh':_0x2f07de(0x15e),'AGfgC':_0x2f07de(0x126),'TbaEh':function(_0x12b3c1,_0xb344c3){return _0x12b3c1===_0xb344c3;},'yUkAY':_0x2f07de(0x1c7),'RGpVV':_0x2f07de(0x156),'YDevf':_0x2f07de(0x143),'YIoHg':function(_0x105375,_0x285a80){return _0x105375===_0x285a80;},'ABwhu':function(_0x1d9110,_0x459b3f){return _0x1d9110(_0x459b3f);},'SOnhn':function(_0x52b0){return _0x52b0();},'zeauh':'xunit','MAzyF':function(_0x1039b9,_0x40a4d9){return _0x1039b9===_0x40a4d9;},'Qxnel':function(_0x153c0b,_0x2cc404){return _0x153c0b!==_0x2cc404;}};this[_0x2f07de(0x1cf)]=_0x122af6['reporterOption'][_0x2f07de(0x1cf)],this[_0x2f07de(0x162)]=_0x4c8c33['FCskB'](isTestObservabilitySession),Base[_0x2f07de(0x186)](this,_0x2bf0c5,_0x122af6),this['_indents']=0x0,this[_0x2f07de(0x1db)]=0x0,this[_0x2f07de(0x1c0)]=[],this[_0x2f07de(0x18c)]=[],this[_0x2f07de(0x121)]=0x0,this[_0x2f07de(0x1c9)]=![],this[_0x2f07de(0x117)]=[],this[_0x2f07de(0x210)]=_0x4c8c33[_0x2f07de(0x194)](getTestEnv),this[_0x2f07de(0x157)]=new PathHelper({'cwd':process[_0x2f07de(0x224)]()},this[_0x2f07de(0x210)][_0x2f07de(0x206)]),this[_0x2f07de(0x142)]=_0x122af6[_0x2f07de(0x120)][_0x2f07de(0x1ba)],this[_0x2f07de(0x118)]();_0x4c8c33['TbaEh'](this[_0x2f07de(0x1cf)],_0x4c8c33[_0x2f07de(0x1d8)])&&(this[_0x2f07de(0x208)]='',this[_0x2f07de(0x14a)]=0x2);_0x2bf0c5[_0x2f07de(0x161)](EVENT_RUN_BEGIN,async()=>{const _0x3644d5=_0x2f07de;_0x4c8c33[_0x3644d5(0x1eb)](this[_0x3644d5(0x1cf)],_0x4c8c33[_0x3644d5(0x200)])&&Base[_0x3644d5(0x139)]();})['on'](EVENT_SUITE_BEGIN,_0x35526e=>{const _0xf7d5ed=_0x2f07de;if(_0x35526e[_0xf7d5ed(0x1a2)])return;if(_0x4c8c33['BkThh'](this[_0xf7d5ed(0x1cf)],_0x4c8c33['DGINm']))this[_0xf7d5ed(0x1c1)](),Base[_0xf7d5ed(0x139)](_0x4c8c33['PMlMD'](_0x4c8c33[_0xf7d5ed(0x227)](this[_0xf7d5ed(0x1c3)](),_0x4c8c33['zFdps'](color,_0x4c8c33[_0xf7d5ed(0x129)],_0x4c8c33[_0xf7d5ed(0x138)])),_0x4c8c33[_0xf7d5ed(0x166)](color,_0x4c8c33[_0xf7d5ed(0x165)],_0x4c8c33[_0xf7d5ed(0x19a)])),_0x4c8c33['LDHFj'],_0x35526e['title'],global[_0xf7d5ed(0x181)]);else _0x4c8c33[_0xf7d5ed(0x174)](this[_0xf7d5ed(0x1cf)],_0x4c8c33[_0xf7d5ed(0x1d8)])&&(this[_0xf7d5ed(0x220)](this['indent']()+_0xf7d5ed(0x1e0)),++this[_0xf7d5ed(0x14a)],this[_0xf7d5ed(0x220)](this['indent']()+_0xf7d5ed(0x17c)+utils[_0xf7d5ed(0x16a)](_0x35526e['title']+_0xf7d5ed(0x226)+global[_0xf7d5ed(0x181)])+'</h1>'),this[_0xf7d5ed(0x220)](this[_0xf7d5ed(0x1c3)]()+'<dl>'));})['on'](EVENT_HOOK_BEGIN,async _0xd8b42e=>{const _0x28e72a=_0x2f07de;if(_0x4c8c33[_0x28e72a(0x217)](this['testObservability'],!![])){if(!_0xd8b42e[_0x28e72a(0x1c5)])_0xd8b42e[_0x28e72a(0x1c5)]=_0x4c8c33[_0x28e72a(0x1af)](uuidv4);else _0xd8b42e[_0x28e72a(0x172)]&&(_0xd8b42e[_0x28e72a(0x1c5)]=_0x4c8c33[_0x28e72a(0x194)](uuidv4),delete _0xd8b42e[_0x28e72a(0x172)]);_0xd8b42e['started_at']=new Date()[_0x28e72a(0x1c4)](),this[_0x28e72a(0x182)]=_0xd8b42e,await this['sendTestRunEvent'](_0xd8b42e,undefined,![],_0x4c8c33[_0x28e72a(0x221)]);}})['on'](EVENT_HOOK_END,async _0x988ba5=>{const _0x33f334=_0x2f07de;_0x4c8c33[_0x33f334(0x1f6)](this[_0x33f334(0x162)],!![])&&(!_0x988ba5[_0x33f334(0x172)]&&(_0x988ba5[_0x33f334(0x172)]=!![],await this[_0x33f334(0x178)](_0x988ba5,undefined,![],_0x4c8c33[_0x33f334(0x1e1)])));})['on'](EVENT_SUITE_END,_0x6decec=>{const _0x558c83=_0x2f07de;if(_0x6decec['root'])return;if(_0x4c8c33[_0x558c83(0x1eb)](this[_0x558c83(0x1cf)],_0x4c8c33['DGINm']))Base['consoleLog'](),Base[_0x558c83(0x139)](_0x4c8c33[_0x558c83(0x20c)](_0x4c8c33[_0x558c83(0x192)](this[_0x558c83(0x1c3)](),_0x4c8c33[_0x558c83(0x21c)](color,_0x4c8c33[_0x558c83(0x1ab)],_0x4c8c33[_0x558c83(0x138)])),_0x4c8c33[_0x558c83(0x12d)](color,_0x4c8c33['zPqDa'],_0x4c8c33[_0x558c83(0x19a)])),_0x4c8c33['ugsHP'],_0x6decec[_0x558c83(0x1b5)],global[_0x558c83(0x181)]),this[_0x558c83(0x1c0)]['forEach'](_0x4bfccc=>{const _0x1ff516=_0x558c83;if(_0x4c8c33['BkThh'](_0x4bfccc['state'],_0x4c8c33['Ubajy'])){var _0x1a0b1f;_0x4c8c33[_0x1ff516(0x217)](_0x4bfccc[_0x1ff516(0x204)],_0x4c8c33['wDNIe'])?(_0x1a0b1f=_0x4c8c33[_0x1ff516(0x154)](_0x4c8c33[_0x1ff516(0x227)](this[_0x1ff516(0x1c3)](),_0x4c8c33[_0x1ff516(0x122)](color,_0x4c8c33[_0x1ff516(0x171)],_0x4c8c33['XFLRi']('\x20\x20',Base[_0x1ff516(0x130)]['ok']))),_0x4c8c33[_0x1ff516(0x21c)](color,_0x4c8c33[_0x1ff516(0x1f5)],_0x4c8c33['ekDgm'])),Base[_0x1ff516(0x139)](_0x1a0b1f,_0x4bfccc[_0x1ff516(0x1b5)])):(_0x1a0b1f=_0x4c8c33[_0x1ff516(0x1b4)](_0x4c8c33['PMlMD'](_0x4c8c33[_0x1ff516(0x1b4)](this['indent'](),_0x4c8c33[_0x1ff516(0x21c)](color,_0x4c8c33['OXEDd'],_0x4c8c33[_0x1ff516(0x222)]('\x20\x20',Base[_0x1ff516(0x130)]['ok']))),_0x4c8c33[_0x1ff516(0x13e)](color,_0x4c8c33[_0x1ff516(0x1f5)],_0x4c8c33[_0x1ff516(0x20b)])),_0x4c8c33[_0x1ff516(0x1a9)](color,_0x4bfccc[_0x1ff516(0x204)],_0x4c8c33[_0x1ff516(0x136)])),Base[_0x1ff516(0x139)](_0x1a0b1f,_0x4bfccc['title'],_0x4bfccc['duration']));}else Base[_0x1ff516(0x139)](_0x4c8c33[_0x1ff516(0x20c)](this[_0x1ff516(0x1c3)](),_0x4c8c33[_0x1ff516(0x13e)](color,_0x4c8c33[_0x1ff516(0x219)],_0x4c8c33['kydTz'])),++this['failCount'],_0x4bfccc[_0x1ff516(0x1b5)]);}),this[_0x558c83(0x1e5)]();else _0x4c8c33[_0x558c83(0x174)](this[_0x558c83(0x1cf)],_0x4c8c33['JdGRG'])&&(this[_0x558c83(0x220)](this[_0x558c83(0x1c3)]()+_0x558c83(0x1cd)),--this[_0x558c83(0x14a)],this['docAppend'](this[_0x558c83(0x1c3)]()+_0x558c83(0x19e)),--this[_0x558c83(0x14a)]);Array[_0x558c83(0x14f)][_0x558c83(0x1b2)][_0x558c83(0x1b7)](this[_0x558c83(0x18c)],this[_0x558c83(0x1c0)]),this[_0x558c83(0x1c0)]=[];})['on'](EVENT_TEST_PASS,async _0x5c2c25=>{const _0x31a8d5=_0x2f07de;this[_0x31a8d5(0x1c0)][_0x31a8d5(0x1b2)]({'speed':_0x5c2c25[_0x31a8d5(0x204)],'suite':_0x5c2c25['parent']['title'],'title':_0x5c2c25[_0x31a8d5(0x1b5)],'fullTitle':_0x5c2c25[_0x31a8d5(0x180)](),'duration':_0x5c2c25['duration'],'state':_0x5c2c25[_0x31a8d5(0x225)],'err':{},'currentRetry':_0x5c2c25[_0x31a8d5(0x15d)](),'titlePathV':_0x5c2c25[_0x31a8d5(0x11c)](),'isPending':_0x5c2c25['isPending']()});if(_0x4c8c33[_0x31a8d5(0x217)](this[_0x31a8d5(0x1cf)],_0x4c8c33['kvXVh']))_0x4c8c33[_0x31a8d5(0x1eb)](_0x5c2c25['speed'],_0x4c8c33[_0x31a8d5(0x137)])?process[_0x31a8d5(0x1a5)][_0x31a8d5(0x179)](Base[_0x31a8d5(0x1ef)](_0x4c8c33[_0x31a8d5(0x1ab)],Base['symbols'][_0x31a8d5(0x15e)])):process[_0x31a8d5(0x1a5)][_0x31a8d5(0x179)](Base['color'](_0x5c2c25['speed'],Base[_0x31a8d5(0x130)]['dot']));else{if(_0x4c8c33[_0x31a8d5(0x1f6)](this[_0x31a8d5(0x1cf)],_0x4c8c33['JdGRG'])){this['docAppend'](this[_0x31a8d5(0x1c3)]()+_0x31a8d5(0x124)+utils['escape'](_0x5c2c25['title'])+_0x31a8d5(0x19b)),this['docAppend'](this[_0x31a8d5(0x1c3)]()+'\x20\x20<dt>'+utils[_0x31a8d5(0x16a)](_0x5c2c25[_0x31a8d5(0x223)])+_0x31a8d5(0x19b));var _0x2e14ec=utils[_0x31a8d5(0x16a)](utils['clean'](_0x5c2c25[_0x31a8d5(0x198)]));this[_0x31a8d5(0x220)](this['indent']()+_0x31a8d5(0x17b)+_0x2e14ec+_0x31a8d5(0x1a0));}}_0x4c8c33[_0x31a8d5(0x1f6)](this[_0x31a8d5(0x162)],!![])&&(!_0x5c2c25[_0x31a8d5(0x172)]&&(_0x5c2c25['markedStatus']=!![],await this[_0x31a8d5(0x178)](_0x5c2c25)));})['on'](EVENT_TEST_FAIL,async(_0x29e034,_0x20db20)=>{const _0x3abfa3=_0x2f07de;this['results'][_0x3abfa3(0x1b2)]({'title':_0x29e034[_0x3abfa3(0x1b5)],'suite':_0x29e034[_0x3abfa3(0x1fe)][_0x3abfa3(0x1b5)],'state':_0x29e034['state'],'err':{'message':util['inspect'](_0x20db20)},'fullTitle':_0x29e034[_0x3abfa3(0x180)](),'speed':_0x29e034[_0x3abfa3(0x204)],'currentRetry':_0x29e034[_0x3abfa3(0x15d)](),'titlePathV':_0x29e034[_0x3abfa3(0x11c)]()});if(_0x4c8c33['TbaEh'](this['type'],_0x4c8c33[_0x3abfa3(0x1bd)]))process[_0x3abfa3(0x1a5)][_0x3abfa3(0x179)](Base[_0x3abfa3(0x1ef)](_0x4c8c33[_0x3abfa3(0x219)],Base['symbols'][_0x3abfa3(0x1ce)]));else{if(_0x4c8c33[_0x3abfa3(0x1cc)](this[_0x3abfa3(0x1cf)],_0x4c8c33['JdGRG'])){const _0x2e7f59=_0x4c8c33[_0x3abfa3(0x18a)][_0x3abfa3(0x15a)]('|');let _0x409025=0x0;while(!![]){switch(_0x2e7f59[_0x409025++]){case'0':this['docAppend'](this[_0x3abfa3(0x1c3)]()+_0x3abfa3(0x20e)+utils[_0x3abfa3(0x16a)](_0x29e034[_0x3abfa3(0x223)])+_0x3abfa3(0x19b));continue;case'1':this[_0x3abfa3(0x220)](this[_0x3abfa3(0x1c3)]()+_0x3abfa3(0x20e)+utils[_0x3abfa3(0x16a)](_0x29e034[_0x3abfa3(0x1b5)])+'</dt>');continue;case'2':this['docAppend'](this['indent']()+_0x3abfa3(0x13c)+utils[_0x3abfa3(0x16a)](_0x29e034[_0x3abfa3(0x1cb)])+'</dd>');continue;case'3':this[_0x3abfa3(0x220)](this[_0x3abfa3(0x1c3)]()+_0x3abfa3(0x16e)+_0x4a5897+_0x3abfa3(0x1a0));continue;case'4':var _0x4a5897=utils[_0x3abfa3(0x16a)](utils[_0x3abfa3(0x1dc)](_0x29e034[_0x3abfa3(0x198)]));continue;}break;}}}if(_0x4c8c33[_0x3abfa3(0x1f6)](this[_0x3abfa3(0x162)],!![])){if(!_0x29e034['markedStatus']){_0x29e034['markedStatus']=!![];if(_0x29e034[_0x3abfa3(0x1f0)])await this[_0x3abfa3(0x178)](_0x29e034,_0x20db20);else _0x29e034['hookAnalyticsId']&&await this[_0x3abfa3(0x178)](_0x29e034,_0x20db20,![],_0x4c8c33[_0x3abfa3(0x1e1)]);}}})['on'](EVENT_TEST_PENDING,async _0x4e2563=>{const _0x44220a=_0x2f07de;this['results'][_0x44220a(0x1b2)]({'title':_0x4e2563['title'],'suite':_0x4e2563[_0x44220a(0x1fe)]['title'],'state':_0x4e2563[_0x44220a(0x225)],'err':{},'fullTitle':_0x4e2563['fullTitle'](),'speed':_0x4e2563[_0x44220a(0x204)],'currentRetry':_0x4e2563['currentRetry'](),'titlePathV':_0x4e2563[_0x44220a(0x11c)]()}),_0x4c8c33['szrxv'](this[_0x44220a(0x1cf)],_0x4c8c33[_0x44220a(0x1bd)])&&process[_0x44220a(0x1a5)]['write'](Base[_0x44220a(0x1ef)](_0x4c8c33[_0x44220a(0x160)],Base[_0x44220a(0x130)]['comma'])),_0x4c8c33['Zxwhg'](this[_0x44220a(0x162)],!![])&&(!_0x4e2563['testAnalyticsId']&&(_0x4e2563[_0x44220a(0x1f0)]=_0x4c8c33[_0x44220a(0x194)](uuidv4)),!_0x4e2563['markedStatus']&&(_0x4e2563[_0x44220a(0x172)]=!![],await this['sendTestRunEvent'](_0x4e2563,undefined,![],_0x4c8c33[_0x44220a(0x170)])));})['on'](EVENT_TEST_BEGIN,async _0x2d69cd=>{const _0x592f2e=_0x2f07de;_0x4c8c33[_0x592f2e(0x21f)](this[_0x592f2e(0x162)],!![])&&await this[_0x592f2e(0x1c8)](_0x2d69cd);})['on'](EVENT_TEST_END,async _0xe97fe1=>{const _0x26b42e=_0x2f07de;_0x4c8c33['TbaEh'](this[_0x26b42e(0x162)],!![])&&(!_0xe97fe1[_0x26b42e(0x172)]&&(_0xe97fe1[_0x26b42e(0x172)]=!![],await this[_0x26b42e(0x178)](_0xe97fe1)));})[_0x2f07de(0x161)](EVENT_RUN_END,async()=>{const _0x5bb9c7=_0x2f07de;try{if(_0x4c8c33[_0x5bb9c7(0x1cc)](this[_0x5bb9c7(0x162)],!![])){const _0x46cdc2=_0x4c8c33[_0x5bb9c7(0x212)](getHookSkippedTests,this[_0x5bb9c7(0x1b6)][_0x5bb9c7(0x193)]);for(const _0x54179d of _0x46cdc2){!_0x54179d[_0x5bb9c7(0x1f0)]&&(_0x54179d['testAnalyticsId']=_0x4c8c33[_0x5bb9c7(0x1bc)](uuidv4)),await this[_0x5bb9c7(0x178)](_0x54179d,undefined,![],_0x4c8c33[_0x5bb9c7(0x170)]);}}}catch(_0x5a7daf){_0x4c8c33[_0x5bb9c7(0x212)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20'+_0x5a7daf);}await requestQueueHandler[_0x5bb9c7(0x18e)](),_0x4c8c33[_0x5bb9c7(0x1eb)](this[_0x5bb9c7(0x1cf)],_0x4c8c33[_0x5bb9c7(0x1d8)])&&Base['consoleLog'](this[_0x5bb9c7(0x208)]);});if(this[_0x2f07de(0x1cf)]&&![_0x4c8c33[_0x2f07de(0x1d8)],_0x4c8c33[_0x2f07de(0x199)],_0x4c8c33['DGINm'],_0x4c8c33[_0x2f07de(0x1bd)]]['includes'](this[_0x2f07de(0x1cf)])){const _0x279125=this[_0x2f07de(0x1cf)][_0x2f07de(0x11a)]();this[_0x2f07de(0x1ed)]=null;try{this[_0x2f07de(0x1ed)]=_0x4c8c33[_0x2f07de(0x212)](requireModule,'mocha/lib/reporters/'+_0x279125+_0x2f07de(0x14d));}catch{}if(_0x4c8c33[_0x2f07de(0x176)](this[_0x2f07de(0x1ed)],null))try{this[_0x2f07de(0x1ed)]=_0x4c8c33[_0x2f07de(0x212)](require,_0x279125);}catch(_0x3847c8){console[_0x2f07de(0x188)]('Failed\x20to\x20load\x20reporter\x20'+_0x279125);}if(_0x4c8c33[_0x2f07de(0x1bb)](this[_0x2f07de(0x1ed)],null)){const _0x5a9e70={};_0x5a9e70[_0x2f07de(0x168)]=_0x122af6[_0x2f07de(0x120)],this[_0x2f07de(0x1ed)]=new this[(_0x2f07de(0x1ed))](_0x2bf0c5,_0x5a9e70);}}}['indent'](){const _0x386da8=a25_0x3cd675,_0x1cf313={'CMHXI':function(_0x4963c4,_0x2d8832){return _0x4963c4(_0x2d8832);}};return _0x1cf313[_0x386da8(0x218)](Array,this['_indents'])[_0x386da8(0x1ff)]('\x20\x20');}['increaseIndent'](){this['_indents']++;}['decreaseIndent'](){const _0x39a5c0=a25_0x3cd675;this[_0x39a5c0(0x209)]--;}['docAppend'](_0x4d432b){const _0x3e52d2=a25_0x3cd675;this[_0x3e52d2(0x208)]+=_0x4d432b;}[a25_0x3cd675(0x1be)](_0x43e987,_0x29a9ca){const _0x5e4b8c=a25_0x3cd675,_0x80a115={'ACfxL':function(_0x1f33b5,_0x1b5ef9){return _0x1f33b5(_0x1b5ef9);}},_0x311dd1={};_0x311dd1[_0x5e4b8c(0x173)]=_0x43e987,_0x311dd1[_0x5e4b8c(0x1c0)]=this[_0x5e4b8c(0x18c)],_0x80a115[_0x5e4b8c(0x159)](_0x29a9ca,_0x311dd1);}['registerListeners'](){const _0x216e28=a25_0x3cd675;process[_0x216e28(0x189)]('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x216e28(0x1d1)],this['appendTestItemLog'][_0x216e28(0x1a1)](this)),process[_0x216e28(0x189)]('bs:addPlatformDetails:'+process[_0x216e28(0x1d1)]),process['on'](_0x216e28(0x1e6)+process[_0x216e28(0x1d1)],this[_0x216e28(0x18f)][_0x216e28(0x1a1)](this));}[a25_0x3cd675(0x1c8)]=async _0x497e9d=>{const _0x1e973d=a25_0x3cd675,_0x5e9013={'XvMfC':function(_0x1c6167){return _0x1c6167();},'lSvEo':function(_0x11fea8,_0x3e0145){return _0x11fea8>_0x3e0145;},'YrPmM':function(_0x4ddddb,_0x286b7b){return _0x4ddddb===_0x286b7b;},'WsXXs':_0x1e973d(0x1f4),'GXRoy':function(_0x3e94d4,_0x573c16){return _0x3e94d4(_0x573c16);}};try{const _0x4e19a8=this[_0x1e973d(0x1d7)];this[_0x1e973d(0x1d7)]=_0x497e9d,_0x497e9d[_0x1e973d(0x12f)]=null,_0x497e9d['testAnalyticsId']=_0x5e9013[_0x1e973d(0x12c)](uuidv4),_0x497e9d[_0x1e973d(0x144)]=new Date()[_0x1e973d(0x1c4)](),_0x5e9013[_0x1e973d(0x1d0)](_0x497e9d[_0x1e973d(0x1bf)],0x0)&&_0x4e19a8&&_0x5e9013[_0x1e973d(0x205)](_0x4e19a8[_0x1e973d(0x1b5)],_0x497e9d[_0x1e973d(0x1b5)])?(_0x497e9d[_0x1e973d(0x12f)]=_0x4e19a8[_0x1e973d(0x1f0)],await this[_0x1e973d(0x178)](_0x497e9d,undefined,![],_0x5e9013[_0x1e973d(0x167)]),_0x4e19a8[_0x1e973d(0x225)]=STATE_FAILED,await this[_0x1e973d(0x178)](_0x4e19a8,undefined,!![])):await this[_0x1e973d(0x178)](_0x497e9d,undefined,![],_0x5e9013[_0x1e973d(0x167)]);}catch(_0x580040){_0x5e9013[_0x1e973d(0x16b)](debug,_0x1e973d(0x1ac)+_0x580040);}};['sendTestRunEvent']=async(_0x365af2,_0x75d51b=undefined,_0x87c89a=![],_0x64dfe3=a25_0x3cd675(0x15b))=>{const _0x523048=a25_0x3cd675,_0x467749={'OfVCT':function(_0x5dce4f,_0x16fe3a){return _0x5dce4f===_0x16fe3a;},'yBRic':function(_0x4e08c8,_0x33fa56){return _0x4e08c8!==_0x33fa56;},'Xszgh':_0x523048(0x1a8),'rdtmL':_0x523048(0x1cb),'YjOXf':_0x523048(0x1f2),'VHxiz':'Mocha','uStss':_0x523048(0x149),'YLzYA':function(_0x1f0da9,_0x4ee4f8){return _0x1f0da9===_0x4ee4f8;},'UqSlJ':_0x523048(0x143),'WAAWv':'skipped','PqtFM':function(_0xf056d0,_0x4a5bce){return _0xf056d0-_0x4a5bce;},'BEWDM':'AssertionError','mPNbo':_0x523048(0x1ca),'QqIOg':'started_at','hJJTc':_0x523048(0x1fb),'SAKTz':function(_0x177591,_0x5004df){return _0x177591(_0x5004df);},'UxWee':'HookRunFinished','zoPkr':_0x523048(0x1e2),'ZWAPM':_0x523048(0x213),'mVdZz':_0x523048(0x1e3),'aLmFZ':function(_0x2852a7,_0x4ce38f){return _0x2852a7(_0x4ce38f);},'RYUXx':_0x523048(0x169),'Entzk':_0x523048(0x216),'kuNau':'backtrace','sHNCu':_0x523048(0x17f),'CUmFZ':'expanded','mkUBp':_0x523048(0x15b),'aIKEK':function(_0x38ccf3,_0x4f7668){return _0x38ccf3(_0x4f7668);},'Qtaos':function(_0x4500e8,_0x5e7c95){return _0x4500e8===_0x5e7c95;},'xsGWs':_0x523048(0x19d),'PUBac':_0x523048(0x201),'ooehJ':_0x523048(0x16c)};try{if(_0x365af2['body']&&_0x365af2[_0x523048(0x198)][_0x523048(0x15c)](/browserstack internal helper hook/))return;let _0x34cc1a=[];if(_0x467749['OfVCT'](_0x365af2[_0x523048(0x225)],STATE_FAILED)){if(_0x467749[_0x523048(0x19f)](_0x365af2[_0x523048(0x1cb)],undefined))_0x34cc1a=_0x365af2[_0x523048(0x1cb)][_0x523048(0x1ad)]?[_0x365af2[_0x523048(0x1cb)][_0x523048(0x1ad)],_0x467749[_0x523048(0x12b)]]:[_0x365af2['err'],_0x467749[_0x523048(0x14e)]];else _0x467749['yBRic'](_0x75d51b,undefined)?_0x34cc1a=[_0x75d51b,_0x467749[_0x523048(0x14e)]]:_0x34cc1a=[];}const _0x2e7ca5=_0x467749['yBRic'](_0x365af2[_0x523048(0x1cb)],undefined)?_0x365af2[_0x523048(0x1cb)][_0x523048(0x21a)]():_0x467749[_0x523048(0x19f)](_0x75d51b,undefined)?_0x75d51b[_0x523048(0x21a)]():undefined;let _0x2e9406;try{_0x2e9406=this[_0x523048(0x1b3)](_0x365af2);}catch(_0x47add0){_0x2e9406=null;}const _0x2f8936=_0x2e9406?this[_0x523048(0x1f7)](_0x2e9406):null,_0x3ca427=_0x2e9406?this[_0x523048(0x157)][_0x523048(0x11b)](this[_0x523048(0x1b3)](_0x365af2)):_0x467749[_0x523048(0x133)],_0x363b53={'framework':_0x467749[_0x523048(0x140)],'uuid':_0x365af2[_0x523048(0x1f0)]||_0x365af2[_0x523048(0x1c5)],'name':_0x365af2[_0x523048(0x1b5)],'body':{'lang':_0x467749[_0x523048(0x211)],'code':_0x365af2[_0x523048(0x198)]},'scope':this[_0x523048(0x1df)](_0x365af2),'scopes':this[_0x523048(0x17d)](_0x365af2),'identifier':_0x365af2['fullTitle'](),'file_name':_0x3ca427,'vc_filepath':_0x2f8936?path[_0x523048(0x183)](_0x2f8936,_0x2e9406):null,'location':_0x3ca427,'result':_0x467749[_0x523048(0x1a6)](_0x64dfe3,_0x467749[_0x523048(0x18b)])?_0x467749['WAAWv']:this['analyticsResult'](_0x365af2[_0x523048(0x225)]),'failure_reason':_0x2e7ca5,'duration_in_ms':_0x365af2['duration']||(_0x64dfe3[_0x523048(0x15c)](/Finished/)||_0x64dfe3[_0x523048(0x15c)](/Skipped/)?_0x467749['PqtFM'](Date[_0x523048(0x141)](),new Date(_0x365af2[_0x523048(0x144)])[_0x523048(0x207)]()):null),'started_at':_0x365af2['started_at'],'finished_at':_0x64dfe3[_0x523048(0x15c)](/Finished/)||_0x64dfe3[_0x523048(0x15c)](/Skipped/)?new Date()['toISOString']():null,'failure':failureData[_0x523048(0x1b7)](null,_0x34cc1a),'failure_type':!_0x2e7ca5?null:_0x2e7ca5[_0x523048(0x15c)](/AssertionError/)?_0x467749['BEWDM']:_0x467749[_0x523048(0x1ea)],'retry_of':_0x365af2[_0x523048(0x12f)]};_0x467749['OfVCT'](_0x64dfe3,_0x467749[_0x523048(0x18b)])&&!_0x363b53[_0x467749['QqIOg']]&&(_0x363b53[_0x467749['QqIOg']]=_0x363b53[_0x467749[_0x523048(0x150)]]);if(_0x64dfe3[_0x523048(0x15c)](/HookRun/))[_0x363b53[_0x523048(0x19d)],_0x363b53['name']]=_0x467749[_0x523048(0x21b)](getHookDetails,_0x365af2[_0x523048(0x180)]()||_0x365af2[_0x523048(0x12a)]||_0x365af2[_0x523048(0x1b5)]),_0x467749['YLzYA'](_0x64dfe3,_0x467749[_0x523048(0x153)])&&(_0x467749[_0x523048(0x19f)](_0x363b53['result'],_0x467749[_0x523048(0x1b9)])&&(_0x363b53['result']=_0x467749[_0x523048(0x1ec)]),_0x467749[_0x523048(0x1a6)](_0x363b53[_0x523048(0x19d)],_0x467749['mVdZz'])&&_0x467749['OfVCT'](_0x363b53[_0x523048(0x190)],_0x467749['zoPkr'])&&!_0x365af2[_0x523048(0x119)][_0x523048(0x11f)]['markedStatus']&&(_0x365af2[_0x523048(0x119)][_0x523048(0x11f)][_0x523048(0x172)]=!![],_0x365af2[_0x523048(0x119)]['currentTest'][_0x523048(0x225)]=STATE_FAILED,await this['sendTestRunEvent'](_0x365af2[_0x523048(0x119)]['currentTest'],undefined,!![])));else _0x64dfe3[_0x523048(0x15c)](/TestRun/)&&_0x467749[_0x523048(0x15f)](mapTestHooks,_0x365af2);const _0x457dac=_0x363b53[_0x467749[_0x523048(0x1a4)]][0x0];_0x457dac&&(_0x363b53[_0x467749['Entzk']]=_0x457dac[_0x467749[_0x523048(0x1a7)]],_0x363b53[_0x467749['sHNCu']]=_0x457dac[_0x467749[_0x523048(0x20d)]]);[_0x467749[_0x523048(0x18d)],_0x467749[_0x523048(0x18b)]][_0x523048(0x11e)](_0x64dfe3)&&(this['_testResults'][_0x523048(0x1b2)](_0x363b53),_0x363b53[_0x523048(0x16d)]=_0x467749[_0x523048(0x1b1)](getHooksForTest,_0x365af2));const _0x571769={'event_type':_0x467749[_0x523048(0x202)](_0x64dfe3,_0x467749[_0x523048(0x18b)])?_0x467749[_0x523048(0x18d)]:_0x64dfe3};_0x64dfe3[_0x523048(0x15c)](/HookRun/)?(_0x363b53[_0x467749[_0x523048(0x1fd)]]=HOOK_TYPES_MAP[_0x363b53[_0x467749[_0x523048(0x1fd)]]],_0x571769[_0x467749['PUBac']]=_0x363b53):_0x571769[_0x467749[_0x523048(0x175)]]=_0x363b53,await SessionHandler[_0x523048(0x132)](_0x571769);}catch(_0xcba484){_0x467749[_0x523048(0x21b)](debug,_0x523048(0x177)+_0x64dfe3+_0x523048(0x1c2)+_0xcba484);}};[a25_0x3cd675(0x1f7)](_0x3a6b91){const _0x37785f=a25_0x3cd675,_0x11be21={};_0x11be21[_0x37785f(0x152)]=function(_0x48a142,_0x260eeb){return _0x48a142===_0x260eeb;},_0x11be21[_0x37785f(0x184)]=function(_0x23c39f,_0xee3bff){return _0x23c39f===_0xee3bff;},_0x11be21[_0x37785f(0x1d2)]=function(_0x141905,_0x675dbe){return _0x141905===_0x675dbe;},_0x11be21['TLKQJ']=_0x37785f(0x127),_0x11be21[_0x37785f(0x13b)]=_0x37785f(0x1f9);const _0x5a6a62=_0x11be21,_0x9ca0a3=path[_0x37785f(0x135)];if(_0x5a6a62[_0x37785f(0x152)](_0x3a6b91,null)||_0x5a6a62[_0x37785f(0x184)](_0x3a6b91,'')||_0x5a6a62['PqVta'](_0x3a6b91,_0x9ca0a3))return null;try{return fs['statSync'](path[_0x37785f(0x1ff)](_0x3a6b91,_0x5a6a62[_0x37785f(0x203)],_0x5a6a62[_0x37785f(0x13b)])),_0x3a6b91;}catch(_0x1b4d54){const _0x10c29e=path[_0x37785f(0x1f3)](_0x3a6b91);return this[_0x37785f(0x1f7)](_0x10c29e);}}[a25_0x3cd675(0x1d9)]=async _0x2b4140=>{const _0x3ae56e=a25_0x3cd675,_0x38c377={'Ldhat':_0x3ae56e(0x1f8),'skQZx':function(_0x504503,_0xdac5e4){return _0x504503(_0xdac5e4);}};try{this['current_hook']&&!this['current_hook']['markedStatus']&&(_0x2b4140[_0x3ae56e(0x195)]=this[_0x3ae56e(0x182)][_0x3ae56e(0x1c5)]);!_0x2b4140['hook_run_uuid']&&this[_0x3ae56e(0x1d7)]&&!this[_0x3ae56e(0x1d7)][_0x3ae56e(0x172)]&&(_0x2b4140[_0x3ae56e(0x191)]=this[_0x3ae56e(0x1d7)]['testAnalyticsId']);if(_0x2b4140[_0x3ae56e(0x195)]||_0x2b4140['test_run_uuid']){const _0x132bbc={};_0x132bbc[_0x3ae56e(0x1d3)]=_0x38c377['Ldhat'],_0x132bbc[_0x3ae56e(0x1dd)]=[_0x2b4140],await SessionHandler[_0x3ae56e(0x132)](_0x132bbc);}}catch(_0x2f6eb0){_0x38c377[_0x3ae56e(0x131)](debug,_0x3ae56e(0x1c6)+_0x2f6eb0);}};[a25_0x3cd675(0x18f)]=async _0x1307f8=>{const _0x188bd7=a25_0x3cd675,_0x3e48b3={'FlvDY':'http_response','mUxge':_0x188bd7(0x228),'Thrwy':function(_0x3250c2,_0x420ddc){return _0x3250c2(_0x420ddc);}};try{const _0x53428d={};_0x53428d[_0x188bd7(0x215)]=_0x1307f8['uuid']||this[_0x188bd7(0x1d7)]['testAnalyticsId'],_0x53428d[_0x188bd7(0x158)]=_0x1307f8[_0x3e48b3['FlvDY']];const _0x2d8348=_0x53428d,_0x304794={};_0x304794[_0x188bd7(0x1d3)]=_0x3e48b3['mUxge'],_0x304794[_0x188bd7(0x16c)]=_0x2d8348,await SessionHandler[_0x188bd7(0x132)](_0x304794);}catch(_0x2ff23b){_0x3e48b3[_0x188bd7(0x146)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x2ff23b);}};[a25_0x3cd675(0x1e8)](_0x1dbaa2){const _0x5951d2=a25_0x3cd675,_0x939495={};_0x939495[_0x5951d2(0x1b0)]=_0x5951d2(0x213),_0x939495['UeeSo']=_0x5951d2(0x156),_0x939495['OKQCJ']='failed';const _0x184a0d=_0x939495,_0x3f742b={};return _0x3f742b[STATE_PASSED]=_0x184a0d[_0x5951d2(0x1b0)],_0x3f742b[STATE_PENDING]=_0x184a0d[_0x5951d2(0x12e)],_0x3f742b[STATE_FAILED]=_0x184a0d[_0x5951d2(0x134)],_0x3f742b[_0x1dbaa2];}[a25_0x3cd675(0x1df)](_0x3465d0){const _0x3a719c=a25_0x3cd675,_0x1906e4={};_0x1906e4['VtbnZ']=function(_0x5407ca,_0x217f08){return _0x5407ca-_0x217f08;};const _0x1f91c4=_0x1906e4,_0x1bb83a=_0x3465d0[_0x3a719c(0x11c)]();return _0x1bb83a[_0x3a719c(0x20a)](0x0,_0x1f91c4['VtbnZ'](_0x1bb83a[_0x3a719c(0x14c)],0x1))[_0x3a719c(0x1ff)]('\x20');}[a25_0x3cd675(0x17d)](_0x16e37c){const _0x936458=a25_0x3cd675,_0x455fd0={};_0x455fd0[_0x936458(0x163)]=function(_0x2ebdff,_0x294f6e){return _0x2ebdff-_0x294f6e;};const _0xeda1cb=_0x455fd0,_0x516dee=_0x16e37c[_0x936458(0x11c)]();return _0x516dee[_0x936458(0x20a)](0x0,_0xeda1cb[_0x936458(0x163)](_0x516dee[_0x936458(0x14c)],0x1));}[a25_0x3cd675(0x1b3)](_0x5dfec5){const _0x26b909=a25_0x3cd675,_0x14c6a9={};_0x14c6a9[_0x26b909(0x196)]=function(_0x19e55e,_0x3d004a){return _0x19e55e>_0x3d004a;};const _0x55ae96=_0x14c6a9;if(_0x5dfec5['file'])return _0x5dfec5['file'];if(_0x5dfec5[_0x26b909(0x119)]){const _0x40ad6c=_0x5dfec5[_0x26b909(0x119)][_0x26b909(0x11f)]?this[_0x26b909(0x1b3)](_0x5dfec5[_0x26b909(0x119)][_0x26b909(0x11f)]):null;if(_0x40ad6c)return _0x40ad6c;}if(_0x5dfec5[_0x26b909(0x1fe)]){const _0x446e70=this[_0x26b909(0x1b3)](_0x5dfec5['parent'])||(_0x5dfec5['parent'][_0x26b909(0x119)]&&_0x5dfec5[_0x26b909(0x1fe)][_0x26b909(0x119)][_0x26b909(0x11f)]?this[_0x26b909(0x1b3)](_0x5dfec5[_0x26b909(0x1fe)]['ctx'][_0x26b909(0x11f)]):null);if(_0x446e70)return _0x446e70;_0x5dfec5[_0x26b909(0x1fe)][_0x26b909(0x1d5)]&&_0x55ae96[_0x26b909(0x196)](_0x5dfec5['parent'][_0x26b909(0x1d5)][_0x26b909(0x14c)],0x0)&&_0x5dfec5[_0x26b909(0x1fe)]['suites'][_0x26b909(0x1d4)](_0x458332=>{const _0x46e6d6=_0x26b909,_0x484568=_0x458332[_0x46e6d6(0x119)]?this['getRootParentFile'](_0x458332[_0x46e6d6(0x119)]):null;if(_0x484568)return _0x484568;});}return null;}}module[a25_0x3cd675(0x1e7)]=MyReporter;
|
|
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;
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a26_0x684147=a26_0x509f;(function(_0x16dd22,_0x3fdaa9){const _0x3d4054=a26_0x509f,_0x2e8941=_0x16dd22();while(!![]){try{const _0x3b1b43=parseInt(_0x3d4054(0x1ac))/0x1+-parseInt(_0x3d4054(0x12c))/0x2+-parseInt(_0x3d4054(0x159))/0x3*(parseInt(_0x3d4054(0x1e7))/0x4)+parseInt(_0x3d4054(0x1d8))/0x5*(-parseInt(_0x3d4054(0x161))/0x6)+-parseInt(_0x3d4054(0x1b6))/0x7*(parseInt(_0x3d4054(0x137))/0x8)+parseInt(_0x3d4054(0x173))/0x9+parseInt(_0x3d4054(0x138))/0xa;if(_0x3b1b43===_0x3fdaa9)break;else _0x2e8941['push'](_0x2e8941['shift']());}catch(_0x39bc34){_0x2e8941['push'](_0x2e8941['shift']());}}}(a26_0x110e,0x63ffb));const chalk=require(a26_0x684147(0x17f)),logger=require(a26_0x684147(0x172))[a26_0x684147(0x1a6)],{default:BrowserStackSetup}=require(a26_0x684147(0x16c)),helper=require('../../helpers/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a26_0x684147(0x14d)),{requireModule}=require(a26_0x684147(0x13e)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a26_0x684147(0x1dd)),collectFiles=requireModule(a26_0x684147(0x160));function tag(_0x4951fa,_0xf51f8f,_0x2a2e2e,_0x37638e){const _0x2c573a=a26_0x684147,_0x3a3fb8={'RqvJj':function(_0x504525,_0x555f0f){return _0x504525+_0x555f0f;},'SVzDy':function(_0xfa1107,_0x2a5104){return _0xfa1107(_0x2a5104);},'whBIu':function(_0x4d4c93,_0x41e3fb){return _0x4d4c93+_0x41e3fb;},'OPibF':function(_0x2c4323,_0xece974){return _0x2c4323+_0xece974;}},_0x589f9e=_0x2a2e2e?'/>':'>',_0x27be80=[];let _0xafe113;for(const _0x5ac834 in _0xf51f8f){Object['prototype'][_0x2c573a(0x1ec)][_0x2c573a(0x13b)](_0xf51f8f,_0x5ac834)&&_0x27be80[_0x2c573a(0x132)](_0x3a3fb8[_0x2c573a(0x1bd)](_0x3a3fb8[_0x2c573a(0x1bd)](_0x3a3fb8[_0x2c573a(0x1bd)](_0x5ac834,'=\x22'),_0x3a3fb8[_0x2c573a(0x1d2)](escape,_0xf51f8f[_0x5ac834])),'\x22'));}return _0xafe113=_0x3a3fb8[_0x2c573a(0x169)](_0x3a3fb8['whBIu'](_0x3a3fb8['whBIu']('<',_0x4951fa),_0x27be80['length']?_0x3a3fb8[_0x2c573a(0x169)]('\x20',_0x27be80[_0x2c573a(0x130)]('\x20')):''),_0x589f9e),_0x37638e&&(_0xafe113+=_0x3a3fb8['whBIu'](_0x3a3fb8[_0x2c573a(0x17c)](_0x3a3fb8[_0x2c573a(0x1bd)](_0x37638e,'</'),_0x4951fa),_0x589f9e)),_0xafe113;}let xunitContent='';function xunitWrite(_0x34429f){xunitContent+=_0x34429f;}function xunitTest(_0x447fcb,_0x47eb42){const _0x4abbe2=a26_0x684147,_0x136e9a={'UsSae':function(_0x542b0e,_0x2e6712){return _0x542b0e/_0x2e6712;},'uhWKI':function(_0x33a7c2,_0x2ad00d){return _0x33a7c2===_0x2ad00d;},'vlrPn':_0x4abbe2(0x1b4),'sPnsF':function(_0x5bf459,_0x20eec4){return _0x5bf459+_0x20eec4;},'lZroz':function(_0x1ee843,_0x47aea1){return _0x1ee843(_0x47aea1);},'NVxmt':function(_0x131593,_0x24a5ed,_0x4719ec,_0x352cf5,_0x4eefec){return _0x131593(_0x24a5ed,_0x4719ec,_0x352cf5,_0x4eefec);},'FlgzT':_0x4abbe2(0x1dc),'ZISrp':function(_0x57ea03,_0x32ed5d,_0x20b0a7,_0x1bc9d6,_0x13b7ae){return _0x57ea03(_0x32ed5d,_0x20b0a7,_0x1bc9d6,_0x13b7ae);},'uIKoS':_0x4abbe2(0x197),'ultWc':function(_0x3c6be3,_0x20f210){return _0x3c6be3+_0x20f210;},'LHxNH':function(_0x5aeaa9,_0x589ddc){return _0x5aeaa9+_0x589ddc;},'JcuWt':function(_0x4a508b,_0x555ff3){return _0x4a508b(_0x555ff3);},'ocZux':function(_0x2eb806,_0xded55c){return _0x2eb806(_0xded55c);},'JSHUY':function(_0x373bab,_0x12efa8,_0x3df5e1,_0x23772e){return _0x373bab(_0x12efa8,_0x3df5e1,_0x23772e);},'RJvmb':_0x4abbe2(0x187),'yETLe':function(_0x4079a9,_0x396ea2){return _0x4079a9(_0x396ea2);}};Base[_0x4abbe2(0x134)]=![];var _0x3ef516={'classname':_0x447fcb[_0x4abbe2(0x1f6)],'name':_0x447fcb[_0x4abbe2(0x1e6)],'time':_0x136e9a[_0x4abbe2(0x1c6)](_0x447fcb[_0x4abbe2(0x123)],0x3e8)||0x0,'platform':_0x47eb42};if(_0x136e9a[_0x4abbe2(0x145)](_0x447fcb['state'],_0x136e9a['vlrPn'])){var _0x3ccbae=_0x447fcb[_0x4abbe2(0x200)],_0x2c2e87=!Base[_0x4abbe2(0x1db)]&&Base[_0x4abbe2(0x1d3)](_0x3ccbae)?_0x136e9a[_0x4abbe2(0x1b7)]('\x0a',Base['generateDiff'](_0x3ccbae['actual'],_0x3ccbae[_0x4abbe2(0x19b)])):'';_0x136e9a[_0x4abbe2(0x204)](xunitWrite,_0x136e9a[_0x4abbe2(0x17b)](tag,_0x136e9a['FlgzT'],_0x3ef516,![],_0x136e9a[_0x4abbe2(0x1c2)](tag,_0x136e9a['uIKoS'],{},![],_0x136e9a['ultWc'](_0x136e9a[_0x4abbe2(0x1b7)](_0x136e9a['LHxNH'](_0x136e9a[_0x4abbe2(0x204)](escape,_0x3ccbae[_0x4abbe2(0x1a2)]),_0x136e9a['JcuWt'](escape,_0x2c2e87)),'\x0a'),_0x136e9a[_0x4abbe2(0x1d5)](escape,_0x3ccbae[_0x4abbe2(0x208)])))));}else _0x447fcb['isPending']?_0x136e9a[_0x4abbe2(0x191)](xunitWrite,_0x136e9a['ZISrp'](tag,_0x136e9a[_0x4abbe2(0x12d)],_0x3ef516,![],_0x136e9a['JSHUY'](tag,_0x136e9a[_0x4abbe2(0x1e3)],{},!![]))):_0x136e9a[_0x4abbe2(0x1b2)](xunitWrite,_0x136e9a['JSHUY'](tag,_0x136e9a[_0x4abbe2(0x12d)],_0x3ef516,!![]));};function a26_0x110e(){const _0x14bbfd=['proxySettings','../test-runner','\x20failed','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jJilp','length','markSDKSetupComplete','testsPending','Total\x20Suites:\x20','Printing\x20stats\x20of\x20tests','forEach','Mocha\x20Tests','indexOf','2410311KWjgwe','results','efwxA','fJQjC','PYumj','JinfW','pPdnI','mocha/lib/cli/collect-files.js','72XZDSwA','testObservability','test','--disable-browserstack-automation','sYKte','AtmAJ','spec','keys','whBIu','config','pxMne','../../helpers/BrowserStackSetup','handleApp','reporterOptions','xshZc','finally','****\x20FAILURES\x20****','../../helpers/logger','6434073nqFlpc','\x20skipped','has','currentRetry','JqYdZ','iOeFc','LnAtr','fWxwQ','NVxmt','OPibF','Now,\x20showing\x20logs\x20from\x20mocha','lxykC','chalk','InLpk','state','azVQE','mYHmG','doc','red','log','skipped','iMFUC','getOwnPropertyNames','kYaBh','consoleLog','XKkNz','testsFailed','exports','HJoAl','then','ocZux','argv','Running\x20your\x20mocha\x20tests\x20across\x20','platforms','suite','mgYbh','failure','testSuites','bgRedBright','EAsGP','expected','OYfXV','kbzjF','GqDtL','error','isBrowserstackInfra','xunit','message','OrmWV','getPlatformName','jjBhx','winstonLogger','NsQOz','reporter','object','GXzdv','includes','31314mUZhUa','nstqA','iZJqi','suiteName','rerunTests','green','yETLe','SBfWm','failed','NQlZz','553dUsPYI','sPnsF','</testsuite>','Total\x20Platforms:\x20','YlnWf','ILkID','nJwDy','RqvJj','testsuite','finalExecution','zbcqS','Couldn\x27t\x20write\x20xunit\x20result\x20to','ZISrp','kYuOP','output','json','UsSae','HLRlp','env','DzMrz','ETPgQ','masTO','SftIN','exitCode','passed','get','aHpdD','accessibility','SVzDy','showDiff','stats','JcuWt','YSXWS','getErrorMessageFromResults','40380yLdkll','bcRjU','platform','hideDiff','testcase','mocha/lib/reporters/base.js','titlePath','sort','\x20passed','wcBoP','--disable-test-observability','RJvmb','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','recursive','title','4bBVSrN','mjs','tVDqQ','GzcmB','bold','hasOwnProperty','toUTCString','cliConfig','jRPYj','HWjvI','notifyUpdate','printBuildLink','oQzuj','info','titlePathV','fullTitle','SDKTestSuccessful','Listing\x20all\x20the\x20failures','assign','rktrb','SfcKg','wIDrY','nrFBj','bgBlueBright','YdLVC','err','HWWuf','snlTX','BROWSERSTACK_RERUN_TESTS','lZroz','isUndefined','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','failures','stack','accessibilityOptions','ouuHP','BROWSERSTACK_TEST_OBSERVABILITY','OqWgK','duration','BROWSERSTACK_TEST_OBSERVABILITY_YML','dkdCH','parallelsPerPlatform','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','vufjL','extension','totalTests','nUANA','1062510ivAwlY','FlgzT','debug','passes','join','reporter-option','push','gMEts','useColors','cvOyv','getHubUrl','4976UXAybS','11441260OcfPUn','agyjV','writeFileSync','call','PYdVY','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../../helpers/helper','Setting\x20non\x20exit\x20code\x20for\x20failures','cOSAC','list','rootHooks','mocha','logLevel','uhWKI','WFPRj','stringify','\x20platforms','chwRQ','KBbGQ','speed'];a26_0x110e=function(){return _0x14bbfd;};return a26_0x110e();}function getStats(_0x592c8d){const _0x121812=a26_0x684147,_0x1d4cf8={};_0x1d4cf8['WubJh']=_0x121812(0x195),_0x1d4cf8['NPyVY']='passed',_0x1d4cf8[_0x121812(0x15e)]='failed',_0x1d4cf8[_0x121812(0x1ca)]=_0x121812(0x15a);const _0x1a6d7a=_0x1d4cf8,_0x80dbef=Object[_0x121812(0x168)](_0x592c8d);let _0x31b582=0x0,_0x22ef65=0x0,_0x55d9ce=0x0,_0xac07af=0x0;const _0x14fa13=new Set();_0x80dbef[_0x121812(0x156)](_0x706194=>{const _0x5f2ae7=_0x121812;_0x592c8d[_0x706194][_0x1a6d7a[_0x5f2ae7(0x1ca)]][_0x5f2ae7(0x156)](_0x48fd1b=>{const _0x5100c0=_0x5f2ae7;_0x14fa13['add'](_0x48fd1b[_0x1a6d7a['WubJh']]),_0x31b582++;switch(_0x48fd1b[_0x5100c0(0x181)]){case _0x1a6d7a['NPyVY']:_0x55d9ce++;break;case _0x1a6d7a[_0x5100c0(0x15e)]:_0x22ef65++;break;default:_0xac07af++;}});});const _0x44748f={};return _0x44748f[_0x121812(0x198)]=_0x14fa13['size'],_0x44748f['platforms']=_0x80dbef,_0x44748f[_0x121812(0x12a)]=_0x31b582,_0x44748f[_0x121812(0x18d)]=_0x22ef65,_0x44748f['testsPassed']=_0x55d9ce,_0x44748f['testsPending']=_0xac07af,_0x44748f;}function errorJSON(_0x6b2138){const _0x4f173a=a26_0x684147;var _0x2931c5={};return Object[_0x4f173a(0x189)](_0x6b2138)[_0x4f173a(0x156)](function(_0xeb834e){_0x2931c5[_0xeb834e]=_0x6b2138[_0xeb834e];},_0x6b2138),_0x2931c5;}function cleanCycles(_0x138902){const _0x59f884=a26_0x684147,_0x16e99b={};_0x16e99b[_0x59f884(0x125)]=function(_0xc9c99f,_0x4b491d){return _0xc9c99f===_0x4b491d;},_0x16e99b[_0x59f884(0x201)]=_0x59f884(0x1a9),_0x16e99b[_0x59f884(0x19c)]=function(_0x404e81,_0x568cce){return _0x404e81!==_0x568cce;},_0x16e99b[_0x59f884(0x166)]=function(_0x14924c,_0x51f801){return _0x14924c!==_0x51f801;},_0x16e99b['efwxA']=function(_0x279765,_0x10729f){return _0x279765+_0x10729f;};const _0x65acf3=_0x16e99b;var _0x1815b3=[];return JSON['parse'](JSON['stringify'](_0x138902,function(_0x27ba60,_0x558412){const _0xf87fb5=_0x59f884;if(_0x65acf3[_0xf87fb5(0x125)](typeof _0x558412,_0x65acf3[_0xf87fb5(0x201)])&&_0x65acf3[_0xf87fb5(0x19c)](_0x558412,null)){if(_0x65acf3[_0xf87fb5(0x166)](_0x1815b3[_0xf87fb5(0x158)](_0x558412),-0x1))return _0x65acf3[_0xf87fb5(0x15b)]('',_0x558412);_0x1815b3[_0xf87fb5(0x132)](_0x558412);}return _0x558412;}));}function a26_0x509f(_0x8f20dd,_0x2696b9){const _0x110e17=a26_0x110e();return a26_0x509f=function(_0x509f8a,_0x428e62){_0x509f8a=_0x509f8a-0x122;let _0x4a547f=_0x110e17[_0x509f8a];return _0x4a547f;},a26_0x509f(_0x8f20dd,_0x2696b9);}function clean(_0x1bddf1){const _0x53dcbd=a26_0x684147,_0x58a333={'EAsGP':function(_0x2bb34c,_0x1e6477){return _0x2bb34c instanceof _0x1e6477;},'YlnWf':function(_0x4ffe8d,_0x3c9c5d){return _0x4ffe8d(_0x3c9c5d);}};var _0xe52162=_0x1bddf1[_0x53dcbd(0x200)]||{};return _0x58a333[_0x53dcbd(0x19a)](_0xe52162,Error)&&(_0xe52162=_0x58a333[_0x53dcbd(0x1ba)](errorJSON,_0xe52162)),{'title':_0x1bddf1['title'],'fullTitle':_0x1bddf1['fullTitle'],'file':_0x1bddf1['file'],'duration':_0x1bddf1[_0x53dcbd(0x123)],'currentRetry':_0x1bddf1[_0x53dcbd(0x176)],'speed':_0x1bddf1[_0x53dcbd(0x14b)],'err':_0x58a333['YlnWf'](cleanCycles,_0xe52162)};}function printStats(_0x799d08,_0x6ab31b=a26_0x684147(0x167),_0x131fb5={}){const _0x3b63e8=a26_0x684147,_0x8890fe={'SBfWm':function(_0x238fe7,_0x27444b){return _0x238fe7(_0x27444b);},'KBbGQ':function(_0x161f17,_0x348919){return _0x161f17===_0x348919;},'PYdVY':_0x3b63e8(0x1ce),'HWjvI':_0x3b63e8(0x12f),'aHpdD':function(_0x2a88b8,_0x46817b){return _0x2a88b8(_0x46817b);},'SftIN':function(_0x18d27c,_0x472f27){return _0x18d27c===_0x472f27;},'ILkID':'failed','lxykC':_0x3b63e8(0x207),'kbzjF':'pending','OqWgK':function(_0x477287,_0xc3d1b6){return _0x477287(_0xc3d1b6);},'sYKte':_0x3b63e8(0x15a),'fCriw':function(_0x1022d5,_0x4f9691){return _0x1022d5*_0x4f9691;},'DzMrz':function(_0x3ba7fb,_0x4f2929,_0x2bc9e1){return _0x3ba7fb(_0x4f2929,_0x2bc9e1);},'chwRQ':function(_0x32438f,_0x1c8c04){return _0x32438f>_0x1c8c04;},'ORSPe':function(_0xa81c6e){return _0xa81c6e();},'bcRjU':_0x3b63e8(0x184),'fJQjC':function(_0x322a9f,_0x6b514b){return _0x322a9f>_0x6b514b;},'jRPYj':_0x3b63e8(0x13f),'nrFBj':_0x3b63e8(0x155),'jJilp':function(_0x274657,_0x4d765f){return _0x274657+_0x4d765f;},'kYuOP':_0x3b63e8(0x1b9),'nJwDy':_0x3b63e8(0x154),'XKkNz':function(_0x4b91fd,_0x524d41){return _0x4b91fd+_0x524d41;},'HLRlp':function(_0x18c7ca,_0x3da648){return _0x18c7ca+_0x3da648;},'agyjV':'Tests:\x20\x20\x20\x20\x20\x20\x20','YdLVC':function(_0x15683a,_0x4e892c){return _0x15683a>_0x4e892c;},'InLpk':function(_0x333926,_0xf82a8){return _0x333926>_0xf82a8;},'rktrb':function(_0x142916,_0x30ea8c){return _0x142916+_0x30ea8c;},'OrmWV':function(_0x42be0c,_0x2ed46c){return _0x42be0c+_0x2ed46c;},'zbcqS':function(_0x4ce111,_0x58d94f){return _0x4ce111+_0x58d94f;},'SfcKg':function(_0x358c2c,_0x29f34f){return _0x358c2c+_0x29f34f;},'GzcmB':'\x0a\x0a\x0a','txkwn':function(_0x4f7fa4,_0x444a05){return _0x4f7fa4===_0x444a05;},'LnAtr':_0x3b63e8(0x1c5),'YSXWS':'Writing\x20json\x20result\x20to\x20file','PYumj':'Couldn\x27t\x20write\x20json\x20result\x20to','iZJqi':_0x3b63e8(0x206),'tVDqQ':_0x3b63e8(0x1a1),'tCRwo':_0x3b63e8(0x157),'ouuHP':function(_0x4f35a6,_0x9f6323){return _0x4f35a6||_0x9f6323;},'mgYbh':function(_0x10397d,_0x34b4ba,_0x4f2112,_0x36c10d){return _0x10397d(_0x34b4ba,_0x4f2112,_0x36c10d);},'pFnfX':_0x3b63e8(0x1be),'GXzdv':function(_0x2d7841,_0x493679){return _0x2d7841-_0x493679;},'cOSAC':function(_0x1d3819,_0x7a60bd){return _0x1d3819-_0x7a60bd;},'cvOyv':function(_0x2b38dd,_0x1f8375){return _0x2b38dd/_0x1f8375;},'HJoAl':_0x3b63e8(0x1b8),'JqYdZ':'Writing\x20xunit\x20result\x20to\x20file','nstqA':_0x3b63e8(0x1c1),'azVQE':'No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','NsQOz':_0x3b63e8(0x1f8),'vFasl':_0x3b63e8(0x171)};if(_0x8890fe[_0x3b63e8(0x1cc)](_0x6ab31b,_0x8890fe[_0x3b63e8(0x1d9)]))return;const _0x438884=0x0,_0x5dc519=()=>{const _0x46a5ef=_0x3b63e8;return _0x8890fe[_0x46a5ef(0x1b3)](Array,_0x438884)[_0x46a5ef(0x130)]('\x20\x20');},{testSuites:_0x26c5e0,platforms:_0xb2f1c7,totalTests:_0x1d1789,testsFailed:_0x354bea,testsPassed:_0x4434f9,testsPending:_0x1aff6b}=_0x8890fe['aHpdD'](getStats,_0x799d08);_0x8890fe[_0x3b63e8(0x15c)](_0x354bea,0x0)&&(logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x1ef)]),process[_0x3b63e8(0x1cd)]=Math['min'](_0x354bea,0xff));logger['debug'](_0x8890fe[_0x3b63e8(0x1fd)]);const _0x3cc594=''+_0x8890fe['jJilp'](chalk[_0x3b63e8(0x1eb)](_0x8890fe[_0x3b63e8(0x1c3)]),_0xb2f1c7[_0x3b63e8(0x151)]),_0x14548b=''+_0x8890fe[_0x3b63e8(0x150)](chalk[_0x3b63e8(0x1eb)](_0x8890fe[_0x3b63e8(0x1bc)]),_0x26c5e0),_0x2b624e=''+_0x8890fe[_0x3b63e8(0x150)](_0x8890fe['XKkNz'](_0x8890fe[_0x3b63e8(0x1c7)](chalk['bold'](_0x8890fe[_0x3b63e8(0x139)]),_0x8890fe[_0x3b63e8(0x15c)](_0x354bea,0x0)?chalk[_0x3b63e8(0x1eb)][_0x3b63e8(0x185)](_0x354bea+_0x3b63e8(0x14e))+',\x20':''),_0x8890fe[_0x3b63e8(0x1ff)](_0x1aff6b,0x0)?chalk[_0x3b63e8(0x1eb)]['yellow'](_0x1aff6b+_0x3b63e8(0x174))+',\x20':''),_0x8890fe[_0x3b63e8(0x180)](_0x4434f9,0x0)?chalk[_0x3b63e8(0x1eb)][_0x3b63e8(0x1b1)](_0x4434f9+_0x3b63e8(0x1e0))+',\x20':'')+_0x1d1789+'\x20total';console['log'](_0x8890fe[_0x3b63e8(0x18c)](_0x8890fe[_0x3b63e8(0x1fa)](_0x8890fe[_0x3b63e8(0x1a3)](_0x8890fe[_0x3b63e8(0x1c0)](_0x8890fe[_0x3b63e8(0x1fb)](_0x8890fe[_0x3b63e8(0x1ea)],_0x3cc594),'\x0a'),_0x14548b),'\x0a'),_0x2b624e));if(_0x8890fe['txkwn'](_0x6ab31b,_0x8890fe[_0x3b63e8(0x179)])){const _0xa9b6bb={},_0x4a9d85={};_0x4a9d85['testSuites']=_0x26c5e0,_0x4a9d85['platforms']=_0xb2f1c7,_0x4a9d85[_0x3b63e8(0x18d)]=_0x354bea,_0x4a9d85['testsPassed']=_0x4434f9,_0x4a9d85[_0x3b63e8(0x153)]=_0x1aff6b,_0xa9b6bb[_0x3b63e8(0x1d4)]=_0x4a9d85,_0xb2f1c7[_0x3b63e8(0x156)](_0x1d86a9=>{const _0x5e7552=_0x3b63e8;_0xa9b6bb[_0x1d86a9]={'pending':[],'failures':[],'passes':[],'tests':_0x799d08[_0x1d86a9][_0x8890fe[_0x5e7552(0x165)]]['map'](clean)},_0x799d08[_0x1d86a9][_0x8890fe[_0x5e7552(0x165)]][_0x5e7552(0x156)](_0x421830=>{const _0xd30f5e=_0x5e7552;if(_0x8890fe['KBbGQ'](_0x421830[_0xd30f5e(0x181)],_0x8890fe[_0xd30f5e(0x13c)]))_0xa9b6bb[_0x1d86a9][_0x8890fe[_0xd30f5e(0x1f0)]][_0xd30f5e(0x132)](_0x8890fe[_0xd30f5e(0x1d0)](clean,_0x421830));else _0x8890fe[_0xd30f5e(0x1cc)](_0x421830[_0xd30f5e(0x181)],_0x8890fe[_0xd30f5e(0x1bb)])?_0xa9b6bb[_0x1d86a9][_0x8890fe[_0xd30f5e(0x17e)]][_0xd30f5e(0x132)](_0x8890fe['aHpdD'](clean,_0x421830)):_0xa9b6bb[_0x1d86a9][_0x8890fe[_0xd30f5e(0x19d)]][_0xd30f5e(0x132)](_0x8890fe[_0xd30f5e(0x122)](clean,_0x421830));});});if(_0x131fb5[_0x3b63e8(0x1c4)])try{logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x1d6)],_0x131fb5[_0x3b63e8(0x1c4)]),fs['writeFileSync'](_0x131fb5[_0x3b63e8(0x1c4)],JSON[_0x3b63e8(0x147)](_0xa9b6bb,null,0x3));}catch(_0x13bbd9){logger[_0x3b63e8(0x19f)](_0x8890fe[_0x3b63e8(0x15d)],_0x131fb5[_0x3b63e8(0x1c4)]),logger[_0x3b63e8(0x12e)](_0x13bbd9);}else logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x1ae)]),console[_0x3b63e8(0x186)](JSON[_0x3b63e8(0x147)](_0xa9b6bb,null,0x3));}else{if(_0x8890fe[_0x3b63e8(0x1cc)](_0x6ab31b,_0x8890fe[_0x3b63e8(0x1e9)])){let _0x48511c;const _0xa40416=_0x8890fe['tCRwo'];_0x131fb5&&(_0x48511c=_0x131fb5[_0x3b63e8(0x1af)]);_0x48511c=_0x8890fe[_0x3b63e8(0x20a)](_0x48511c,_0xa40416);let _0x38692e=0x0,_0x39d433=0x0,_0x25c6ab=0x0,_0x3940c7=0x0;_0xb2f1c7[_0x3b63e8(0x156)](_0x2af338=>{const _0x4e8404=_0x3b63e8,_0x2721f7={'kYaBh':function(_0x2d1ebb,_0x525041){const _0x290f08=a26_0x509f;return _0x8890fe[_0x290f08(0x14a)](_0x2d1ebb,_0x525041);},'nUANA':_0x8890fe[_0x4e8404(0x13c)],'WFPRj':function(_0xd48901,_0x471c37){const _0x57415d=_0x4e8404;return _0x8890fe[_0x57415d(0x1cc)](_0xd48901,_0x471c37);},'snlTX':_0x8890fe[_0x4e8404(0x1bb)],'iOeFc':function(_0xfff99c,_0x114872){return _0x8890fe['fCriw'](_0xfff99c,_0x114872);}};_0x799d08[_0x2af338][_0x8890fe[_0x4e8404(0x165)]][_0x4e8404(0x156)](_0x53b2f4=>{const _0x5c520f=_0x4e8404;if(_0x2721f7[_0x5c520f(0x18a)](_0x53b2f4['state'],_0x2721f7[_0x5c520f(0x12b)]))_0x38692e++;else _0x2721f7[_0x5c520f(0x146)](_0x53b2f4[_0x5c520f(0x181)],_0x2721f7[_0x5c520f(0x202)])&&_0x39d433++;_0x25c6ab++,_0x3940c7+=_0x2721f7[_0x5c520f(0x178)](_0x53b2f4[_0x5c520f(0x123)],0x1);});}),_0x8890fe[_0x3b63e8(0x1d0)](xunitWrite,_0x8890fe[_0x3b63e8(0x196)](tag,_0x8890fe['pFnfX'],{'name':_0x48511c,'tests':_0x25c6ab,'failures':0x0,'errors':_0x39d433,'skipped':_0x8890fe[_0x3b63e8(0x1aa)](_0x8890fe[_0x3b63e8(0x140)](_0x25c6ab,_0x39d433),_0x38692e),'timestamp':new Date()[_0x3b63e8(0x1ed)](),'time':_0x8890fe[_0x3b63e8(0x135)](_0x3940c7,0x3e8)||0x0},![])),_0xb2f1c7[_0x3b63e8(0x156)](_0x209155=>{const _0x3d3cd3=_0x3b63e8;_0x799d08[_0x209155][_0x8890fe[_0x3d3cd3(0x165)]][_0x3d3cd3(0x156)](_0x134e1f=>{const _0x3afe9c=_0x3d3cd3;_0x8890fe[_0x3afe9c(0x1c9)](xunitTest,_0x134e1f,_0x209155);});}),_0x8890fe[_0x3b63e8(0x1b3)](xunitWrite,_0x8890fe[_0x3b63e8(0x18f)]);if(_0x131fb5[_0x3b63e8(0x1c4)])try{logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x177)],_0x131fb5[_0x3b63e8(0x1c4)]),fs[_0x3b63e8(0x13a)](_0x131fb5[_0x3b63e8(0x1c4)],xunitContent);}catch(_0x532384){logger[_0x3b63e8(0x19f)](_0x8890fe[_0x3b63e8(0x1ad)],_0x131fb5[_0x3b63e8(0x1c4)]),logger['debug'](_0x532384);}else logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x182)]),console['log'](xunitContent);}else{if(_0x8890fe[_0x3b63e8(0x1cc)](_0x354bea,0x0))return;console[_0x3b63e8(0x186)](),logger[_0x3b63e8(0x12e)](_0x8890fe[_0x3b63e8(0x1a7)]),console['log'](chalk[_0x3b63e8(0x1eb)][_0x3b63e8(0x199)](_0x8890fe['vFasl'])),_0xb2f1c7[_0x3b63e8(0x156)](_0x38ce3a=>{const _0x3140ff=_0x3b63e8,_0x3006d8=[];_0x799d08[_0x38ce3a][_0x8890fe[_0x3140ff(0x165)]]['forEach'](_0x1235a1=>{const _0x2f0eda=_0x3140ff;_0x8890fe['KBbGQ'](_0x1235a1[_0x2f0eda(0x181)],_0x8890fe['ILkID'])&&(_0x1235a1[_0x2f0eda(0x1de)]=()=>_0x1235a1[_0x2f0eda(0x1f5)],_0x3006d8[_0x2f0eda(0x132)](_0x1235a1));}),_0x8890fe[_0x3140ff(0x149)](_0x3006d8['length'],0x0)&&(Base['consoleLog'](),Base[_0x3140ff(0x18b)](_0x8890fe['ORSPe'](_0x5dc519),chalk[_0x3140ff(0x1eb)][_0x3140ff(0x1fe)](_0x38ce3a)),Base[_0x3140ff(0x141)](_0x3006d8));});}}}async function run(_0xae180f,_0x439002){const _0x5a2934=a26_0x684147,_0x1d5b95={'vufjL':function(_0xd0845e,_0x37f62b,_0x1bccd4,_0xe297e0){return _0xd0845e(_0x37f62b,_0x1bccd4,_0xe297e0);},'masTO':_0x5a2934(0x131),'pPdnI':_0x5a2934(0x1f7),'jjBhx':_0x5a2934(0x143),'wIDrY':_0x5a2934(0x1e2),'NQlZz':_0x5a2934(0x164),'pxMne':function(_0x30dd1f,_0xc76511){return _0x30dd1f!=_0xc76511;},'iMFUC':'cjs','wcBoP':_0x5a2934(0x1e8),'fWxwQ':_0x5a2934(0x163),'GqDtL':_0x5a2934(0x1b0),'xshZc':function(_0x323b94,_0x11d741){return _0x323b94(_0x11d741);},'ErEAN':'Running\x20your\x20mocha\x20tests','oQzuj':_0x5a2934(0x17d),'mYHmG':function(_0x15bfb2,_0x37a916){return _0x15bfb2*_0x37a916;},'gMEts':function(_0x19736e,_0x1be513){return _0x19736e!==_0x1be513;}};process[_0x5a2934(0x192)][_0x5a2934(0x1ab)](_0x1d5b95[_0x5a2934(0x1fc)])&&(process[_0x5a2934(0x1c8)][_0x5a2934(0x20b)]=![]);process[_0x5a2934(0x192)][_0x5a2934(0x1ab)](_0x1d5b95[_0x5a2934(0x1b5)])&&(process[_0x5a2934(0x1c8)]['BROWSERSTACK_AUTOMATION']=![]);const _0x232098=new BrowserStackSetup(_0xae180f,_0x1d5b95[_0x5a2934(0x1a5)]);helper[_0x5a2934(0x1a0)]()&&(await _0x232098['initialize'](),await helper[_0x5a2934(0x16d)](_0x232098['config']));const _0x1d8136=[],_0x5145cd=[];if(!_0x232098[_0x5a2934(0x16a)])return;_0x1d5b95[_0x5a2934(0x16b)](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x162)],null)&&(process[_0x5a2934(0x1c8)][_0x5a2934(0x124)]=_0x232098[_0x5a2934(0x16a)]['testObservability']);!helper[_0x5a2934(0x205)](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x1d1)])&&(process[_0x5a2934(0x1c8)][_0x5a2934(0x14f)]=_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x1d1)]);!helper[_0x5a2934(0x205)](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x209)])&&(process[_0x5a2934(0x1c8)][_0x5a2934(0x13d)]=JSON['stringify'](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x209)]));const {extension:extension=['js',_0x1d5b95[_0x5a2934(0x188)],_0x1d5b95[_0x5a2934(0x1e1)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x1d5b95[_0x5a2934(0x17a)]]}=_0xae180f,_0xe1b84={..._0xae180f};_0xe1b84[_0x5a2934(0x142)]=null;const _0xa883c0=_0xe1b84;let _0x1b1e85;if(testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x45e818=process[_0x5a2934(0x1c8)][_0x5a2934(0x203)];!helper[_0x5a2934(0x205)](_0x232098['cliConfig'])&&_0x232098['cliConfig'][_0x5a2934(0x175)](_0x1d5b95['GqDtL'])&&(_0x45e818=_0x232098[_0x5a2934(0x1ee)][_0x5a2934(0x1cf)](_0x1d5b95[_0x5a2934(0x19e)])),_0x1b1e85=testOpsHelper['parseFileNames'](_0x45e818);}if(helper[_0x5a2934(0x205)](_0x1b1e85)){const _0x5ac5f4={};_0x5ac5f4['ignore']=ignore,_0x5ac5f4[_0x5a2934(0x129)]=extension,_0x5ac5f4['file']=file,_0x5ac5f4[_0x5a2934(0x1e5)]=recursive,_0x5ac5f4[_0x5a2934(0x1df)]=sort,_0x5ac5f4[_0x5a2934(0x167)]=spec,_0x1b1e85=_0x1d5b95[_0x5a2934(0x16f)](collectFiles,_0x5ac5f4);}helper[_0x5a2934(0x152)]();if(!helper[_0x5a2934(0x1a0)]()){const _0x116706=0x1,_0x129afb={..._0xa883c0};_0x129afb['spec']=[..._0x1b1e85],_0x1d8136[_0x5a2934(0x132)]({'mochaOpts':_0x129afb,'configuration':{'platform':os[_0x5a2934(0x1da)]()}}),logger['info'](_0x1d5b95['ErEAN']),logger[_0x5a2934(0x1f4)](_0x1d5b95[_0x5a2934(0x1f3)]),_0x1d5b95[_0x5a2934(0x128)](parallelTestRun,_0x1d8136,_0x116706,_0x232098[_0x5a2934(0x16a)])['then'](_0x5c62e0=>{const _0x471b89=_0x5a2934;_0x1d5b95[_0x471b89(0x128)](printStats,_0x5c62e0,_0xae180f[_0x471b89(0x1a8)],_0xae180f['reporterOptions']||_0xae180f[_0x1d5b95[_0x471b89(0x1cb)]]);})[_0x5a2934(0x170)](()=>{const _0x3ba796=_0x5a2934;try{helper['fireFunnelTestEvent'](_0x1d5b95[_0x3ba796(0x15f)],{},_0x232098[_0x3ba796(0x16a)],_0x232098['framework']);}catch(_0x4bfe8d){logger['debug'](_0x3ba796(0x1e4)+_0x4bfe8d);}try{helper[_0x3ba796(0x1f1)]();}catch(_0x14447a){logger['debug'](_0x3ba796(0x127)+_0x14447a);}testOpsHelper['printBuildLink']();});}else{const _0x1d5ef5=_0x1d5b95[_0x5a2934(0x183)](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x194)][_0x5a2934(0x151)],_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x126)]),_0x1d1f05=helper['useW3C'](_0x232098[_0x5a2934(0x16a)]),_0x26f54d=helper[_0x5a2934(0x136)](_0x232098[_0x5a2934(0x16a)]);_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x194)][_0x5a2934(0x156)]((_0x29b14f,_0x3fcf74)=>{const _0x194b46=_0x5a2934;_0x1d1f05?_0x5145cd[_0x194b46(0x132)](helper['modifyBrowserStackW3CCaps'](_0x232098['config'],_0x1d5b95['jjBhx'],_0x3fcf74)):_0x5145cd[_0x194b46(0x132)](helper['modifyBrowserStackCaps'](_0x232098['config'],_0x1d5b95[_0x194b46(0x1a5)],_0x3fcf74));});const _0x328f3d=_0x1d5b95[_0x5a2934(0x16f)](getPercyOptions,_0x232098[_0x5a2934(0x16a)]);if(_0x1d5b95[_0x5a2934(0x133)](_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x126)],0x1))_0x1b1e85[_0x5a2934(0x156)](_0x1c1419=>{const _0x3b68b3=_0x5a2934,_0x29246f=[];_0x5145cd[_0x3b68b3(0x156)]((_0x396493,_0x219ae6)=>{const _0x51c2cb=_0x3b68b3,_0xa664ef={};_0xa664ef['spec']=[_0x1c1419],_0x29246f['push']({'mochaOpts':Object[_0x51c2cb(0x1f9)]({},_0xa883c0,_0xa664ef),'configuration':{'server':_0x26f54d,'capability':_0x396493,'proxySettings':_0x232098[_0x51c2cb(0x16a)][_0x51c2cb(0x14c)],'platform':helper[_0x51c2cb(0x1a4)](_0x396493),'browserStackLogLevel':_0x232098[_0x51c2cb(0x16a)][_0x51c2cb(0x144)],'platformIndex':_0x219ae6,'browserStackPercyOptions':_0x328f3d,'platformCaps':_0x232098[_0x51c2cb(0x16a)][_0x51c2cb(0x194)][_0x219ae6]}});}),_0x1d8136['push'](..._0x29246f);});else{const _0x3e3c2f=[];_0x5145cd[_0x5a2934(0x156)]((_0x2b79bc,_0x19e9fe)=>{const _0x228923=_0x5a2934;let _0x521e26=Object['assign']({},_0xa883c0);testOpsHelper['isTestObservabilitySession']()&&testOpsHelper['shouldReRunObservabilityTests']()&&(_0x521e26={..._0x521e26,'spec':[..._0x1b1e85]}),_0x3e3c2f[_0x228923(0x132)]({'mochaOpts':_0x521e26,'configuration':{'server':_0x26f54d,'capability':_0x2b79bc,'proxySettings':_0x232098[_0x228923(0x16a)]['proxySettings'],'platform':helper[_0x228923(0x1a4)](_0x2b79bc),'browserStackLogLevel':_0x232098['config'][_0x228923(0x144)],'platformIndex':_0x19e9fe,'browserStackPercyOptions':_0x328f3d,'platformCaps':_0x232098['config']['platforms'][_0x19e9fe]}});}),_0x1d8136[_0x5a2934(0x132)](..._0x3e3c2f);}logger[_0x5a2934(0x1f4)](_0x5a2934(0x193)+_0x232098[_0x5a2934(0x16a)][_0x5a2934(0x194)][_0x5a2934(0x151)]+_0x5a2934(0x148)),logger[_0x5a2934(0x1f4)](_0x1d5b95[_0x5a2934(0x1f3)]);let _0xbef4c3;_0x1d5b95[_0x5a2934(0x128)](parallelTestRun,_0x1d8136,_0x1d5ef5,_0x232098[_0x5a2934(0x16a)])[_0x5a2934(0x190)](_0x49362a=>{const _0x219583=_0x5a2934;_0xbef4c3=_0x49362a,_0x1d5b95[_0x219583(0x128)](printStats,_0x49362a,_0xae180f[_0x219583(0x1a8)],_0xae180f[_0x219583(0x16e)]||_0xae180f[_0x1d5b95['masTO']]);})[_0x5a2934(0x170)](async()=>{const _0x51c2ba=_0x5a2934;_0x232098['errorMessage']=helper[_0x51c2ba(0x1d7)](_0xbef4c3,_0x1d5b95[_0x51c2ba(0x1a5)]),await helper[_0x51c2ba(0x1bf)](_0x232098),testOpsHelper[_0x51c2ba(0x1f2)]();});}}module[a26_0x684147(0x18e)]=run;
|
|
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;
|