browserstack-node-sdk 1.34.5 → 1.34.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a23_0x1fa7(){const _0x4064c7=['parse','BWdZq','../../../helpers/helper','.browserstack','CmJci','setTestUUID','join','recursive','uuid','tests','2740kNTqlD','BROWSERSTACK_TESTHUB_UUID','_projectId','homedir','getTestUUID','getTestData','retry','13551984IKbBwA','584612upccNF','3515865ZiEORO','ENV_VAR','toString','7glCpFz','_test','writeFileSync','.json','10180446wPliWM','112572sIzoLy','BHpqC','2981208CjOfia','913912qmUaJS','../../../helpers/testhub/constants','3mTzzAz','jest-o11y-','NUWgX','YzRaz','pugAF','rmSync','getFilePath','env','stringify','force','shutdown','removeTestUUID','readFileSync','getTestRunIdFromTestInfo','lnRqG','pPPuB','dirPath','existsSync','exports','testData.json','mkdirSync'];a23_0x1fa7=function(){return _0x4064c7;};return a23_0x1fa7();}const a23_0x1dd2ca=a23_0x8718;(function(_0x1e3109,_0xfa4473){const _0x56c3d5=a23_0x8718,_0x8c0450=_0x1e3109();while(!![]){try{const _0xa29326=-parseInt(_0x56c3d5(0x1fd))/0x1+-parseInt(_0x56c3d5(0x208))/0x2+parseInt(_0x56c3d5(0x20b))/0x3*(parseInt(_0x56c3d5(0x209))/0x4)+-parseInt(_0x56c3d5(0x1fe))/0x5+parseInt(_0x56c3d5(0x205))/0x6*(parseInt(_0x56c3d5(0x201))/0x7)+-parseInt(_0x56c3d5(0x1fc))/0x8+-parseInt(_0x56c3d5(0x206))/0x9*(-parseInt(_0x56c3d5(0x1f5))/0xa);if(_0xa29326===_0xfa4473)break;else _0x8c0450['push'](_0x8c0450['shift']());}catch(_0xbd9c12){_0x8c0450['push'](_0x8c0450['shift']());}}}(a23_0x1fa7,0xd6d98));const fs=require('fs'),path=require('path'),{v4:uuidv4}=require(a23_0x1dd2ca(0x1f3)),helper=require(a23_0x1dd2ca(0x1ed)),testHubConstants=require(a23_0x1dd2ca(0x20a));function a23_0x8718(_0x50d483,_0x56b9df){const _0x1fa711=a23_0x1fa7();return a23_0x8718=function(_0x8718e,_0x42f530){_0x8718e=_0x8718e-0x1e8;let _0x33ff1b=_0x1fa711[_0x8718e];return _0x33ff1b;},a23_0x8718(_0x50d483,_0x56b9df);}class TestDetails{static ['tests']={};static [a23_0x1dd2ca(0x21b)]=path['join'](helper[a23_0x1dd2ca(0x1f8)](),a23_0x1dd2ca(0x1ee),a23_0x1dd2ca(0x20c)+process[a23_0x1dd2ca(0x212)][testHubConstants[a23_0x1dd2ca(0x1ff)][a23_0x1dd2ca(0x1f6)]]);static['setup'](){const _0x59a44d=a23_0x1dd2ca,_0x1d3be5={};_0x1d3be5[_0x59a44d(0x207)]=_0x59a44d(0x1ee);const _0x483f99=_0x1d3be5;this[_0x59a44d(0x21b)]=path[_0x59a44d(0x1f1)](helper[_0x59a44d(0x1f8)](),_0x483f99[_0x59a44d(0x207)],_0x59a44d(0x20c)+process[_0x59a44d(0x212)][testHubConstants[_0x59a44d(0x1ff)][_0x59a44d(0x1f6)]]),this[_0x59a44d(0x215)]();const _0x3079d8={};_0x3079d8[_0x59a44d(0x1f2)]=!![],fs[_0x59a44d(0x1ea)](this[_0x59a44d(0x21b)],_0x3079d8);}static['getFilePath'](_0x64cd82){const _0x48800f=a23_0x1dd2ca,_0x10cfe1={};_0x10cfe1[_0x48800f(0x20f)]=function(_0x20e2bb,_0x2e08c1){return _0x20e2bb+_0x2e08c1;},_0x10cfe1[_0x48800f(0x20e)]=_0x48800f(0x204);const _0x40de03=_0x10cfe1;return path['join'](this[_0x48800f(0x21b)],_0x40de03['pugAF'](_0x64cd82,_0x40de03['YzRaz']));}static[a23_0x1dd2ca(0x218)](_0x26a71e){const _0x3880a1=a23_0x1dd2ca,_0x4122d6={};_0x4122d6[_0x3880a1(0x20d)]=function(_0x4e5db3,_0xc709bd){return _0x4e5db3+_0xc709bd;},_0x4122d6[_0x3880a1(0x219)]=function(_0x512d8c,_0x13451d){return _0x512d8c+_0x13451d;},_0x4122d6[_0x3880a1(0x1ef)]=function(_0x1e21aa,_0x5bb461){return _0x1e21aa+_0x5bb461;};const _0x1e40f9=_0x4122d6;return _0x1e40f9[_0x3880a1(0x20d)](_0x1e40f9[_0x3880a1(0x219)](_0x1e40f9[_0x3880a1(0x1ef)](_0x1e40f9[_0x3880a1(0x20d)](_0x26a71e['_test'][_0x3880a1(0x1f7)],'-'),_0x26a71e[_0x3880a1(0x202)]['id']),'-'),_0x26a71e[_0x3880a1(0x1fb)]);}static[a23_0x1dd2ca(0x1f9)](_0x2e746f){const _0x17b76a=a23_0x1dd2ca,_0x422204=this[_0x17b76a(0x211)](_0x2e746f);if(fs[_0x17b76a(0x21c)](_0x422204)){const _0x3bd220=JSON['parse'](fs[_0x17b76a(0x217)](_0x422204)[_0x17b76a(0x200)]());return this['tests'][_0x2e746f]=_0x3bd220,this[_0x17b76a(0x1f4)][_0x2e746f][_0x17b76a(0x1f3)];}}static['setTestData'](_0x1d50c6){const _0x4b7fb0=a23_0x1dd2ca,_0x3a769b={};_0x3a769b[_0x4b7fb0(0x1ec)]=_0x4b7fb0(0x1e9);const _0x46b25c=_0x3a769b,_0x426f7f=path[_0x4b7fb0(0x1f1)](this[_0x4b7fb0(0x21b)],_0x46b25c[_0x4b7fb0(0x1ec)]);fs[_0x4b7fb0(0x203)](_0x426f7f,JSON[_0x4b7fb0(0x213)](_0x1d50c6));}static[a23_0x1dd2ca(0x1fa)](){const _0x3029fa=a23_0x1dd2ca,_0x5e0999={};_0x5e0999[_0x3029fa(0x21a)]=_0x3029fa(0x1e9);const _0x2b1bc7=_0x5e0999,_0x348891=path[_0x3029fa(0x1f1)](this[_0x3029fa(0x21b)],_0x2b1bc7[_0x3029fa(0x21a)]);let _0x1c3a3a={};try{return fs[_0x3029fa(0x21c)](_0x348891)&&(_0x1c3a3a=JSON[_0x3029fa(0x1eb)](fs[_0x3029fa(0x217)](_0x348891)[_0x3029fa(0x200)]())),_0x1c3a3a;}catch(_0x459e90){return _0x1c3a3a;}}static[a23_0x1dd2ca(0x1f0)](_0x3d75c4){const _0x5bbf04=a23_0x1dd2ca,_0x2ab5f5={'xhcpL':function(_0x41518b){return _0x41518b();}},_0x168c36=this[_0x5bbf04(0x211)](_0x3d75c4);return this['tests'][_0x3d75c4]={'uuid':_0x2ab5f5['xhcpL'](uuidv4)},fs[_0x5bbf04(0x203)](_0x168c36,JSON[_0x5bbf04(0x213)](this[_0x5bbf04(0x1f4)][_0x3d75c4])),this[_0x5bbf04(0x1f4)][_0x3d75c4][_0x5bbf04(0x1f3)];}static[a23_0x1dd2ca(0x216)](_0x1565e8){const _0x48de3a=a23_0x1dd2ca,_0x204a35=this['getFilePath'](_0x1565e8);fs[_0x48de3a(0x21c)](_0x204a35)&&fs['unlinkSync'](_0x204a35);}static[a23_0x1dd2ca(0x215)](){const _0x5ede93=a23_0x1dd2ca,_0x394b53={};_0x394b53[_0x5ede93(0x1f2)]=!![],_0x394b53[_0x5ede93(0x214)]=!![],fs[_0x5ede93(0x210)](this[_0x5ede93(0x21b)],_0x394b53);}}module[a23_0x1dd2ca(0x1e8)]=TestDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a24_0x199624=a24_0x47df;(function(_0x58d779,_0x4030d1){const _0x41b037=a24_0x47df,_0xf8e72f=_0x58d779();while(!![]){try{const _0x59c384=parseInt(_0x41b037(0x95))/0x1*(parseInt(_0x41b037(0x99))/0x2)+-parseInt(_0x41b037(0x9b))/0x3*(parseInt(_0x41b037(0x93))/0x4)+-parseInt(_0x41b037(0x96))/0x5+parseInt(_0x41b037(0x98))/0x6+-parseInt(_0x41b037(0x9d))/0x7+-parseInt(_0x41b037(0x97))/0x8+parseInt(_0x41b037(0xa0))/0x9;if(_0x59c384===_0x4030d1)break;else _0xf8e72f['push'](_0xf8e72f['shift']());}catch(_0x2907c4){_0xf8e72f['push'](_0xf8e72f['shift']());}}}(a24_0x1ed7,0x6e724));const {requireModule}=require(a24_0x199624(0x94));require(a24_0x199624(0x9a))();function a24_0x47df(_0x2920ff,_0x27923d){const _0x1ed74e=a24_0x1ed7();return a24_0x47df=function(_0x47df99,_0x235730){_0x47df99=_0x47df99-0x93;let _0x131137=_0x1ed74e[_0x47df99];return _0x131137;},a24_0x47df(_0x2920ff,_0x27923d);}const __wd__=requireModule(a24_0x199624(0x9f));for(const key of Object[a24_0x199624(0x9e)](global[a24_0x199624(0x9c)])){__wd__[key]=global[a24_0x199624(0x9c)][key];}function a24_0x1ed7(){const _0x9fad5a=['2499160wDDgSK','7205976FaPrqZ','2860026scLahB','339804DACALT','../../helpers/setKeepAlive','498903IdkRIc','__webdriver','1764679RPWKAy','keys','selenium-webdriver','14623128rtcmwD','4figUcK','../../helpers/helper','1DHxOeg'];a24_0x1ed7=function(){return _0x9fad5a;};return a24_0x1ed7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a25_0x33b0fb=a25_0x2757;function a25_0x2757(_0x1db66d,_0x5170e5){const _0x54fdcd=a25_0x54fd();return a25_0x2757=function(_0x2757fb,_0x431d7e){_0x2757fb=_0x2757fb-0x6e;let _0x355ae0=_0x54fdcd[_0x2757fb];return _0x355ae0;},a25_0x2757(_0x1db66d,_0x5170e5);}(function(_0xd5bb97,_0x2a1523){const _0x5c1687=a25_0x2757,_0x2b6a2c=_0xd5bb97();while(!![]){try{const _0x5981e3=parseInt(_0x5c1687(0x77))/0x1*(-parseInt(_0x5c1687(0x84))/0x2)+-parseInt(_0x5c1687(0x93))/0x3*(parseInt(_0x5c1687(0x8b))/0x4)+parseInt(_0x5c1687(0x96))/0x5+parseInt(_0x5c1687(0x76))/0x6+-parseInt(_0x5c1687(0x87))/0x7+parseInt(_0x5c1687(0x7b))/0x8+-parseInt(_0x5c1687(0x7d))/0x9*(parseInt(_0x5c1687(0x6e))/0xa);if(_0x5981e3===_0x2a1523)break;else _0x2b6a2c['push'](_0x2b6a2c['shift']());}catch(_0x4d9e8a){_0x2b6a2c['push'](_0x2b6a2c['shift']());}}}(a25_0x54fd,0x99a04));const path=require('path'),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x33b0fb(0x7f)),constants=require(a25_0x33b0fb(0x74)),{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require(a25_0x33b0fb(0x92)),helper=require(a25_0x33b0fb(0x7f)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper');class Launcher{constructor(_0x4842a5,_0x58d846,_0x2f0354,_0x3a621e=[]){const _0x54a720=a25_0x33b0fb,_0x22d5f4={'uCZTG':_0x54a720(0x83),'AXwpf':function(_0x33c758){return _0x33c758();}},_0x373066=_0x22d5f4[_0x54a720(0x73)][_0x54a720(0x82)]('|');let _0x5d9b74=0x0;while(!![]){switch(_0x373066[_0x5d9b74++]){case'0':commandRepository[_0x54a720(0x78)](_0x2f0354);continue;case'1':this[_0x54a720(0x8f)]=_0x22d5f4['AXwpf'](isAccessibilityAutomationSession);continue;case'2':commandRepository[_0x54a720(0x72)](_0x4842a5);continue;case'3':this[_0x54a720(0x7c)]=this[_0x54a720(0x8c)][_0x54a720(0x89)];continue;case'4':global[_0x54a720(0x8d)]=0x0;continue;case'5':global[_0x54a720(0x6f)]=0x0;continue;case'6':this['_configuration']=_0x58d846[_0x54a720(0x91)]||{};continue;case'7':this[_0x54a720(0x94)]=_0x22d5f4[_0x54a720(0x88)](isTestObservabilitySession);continue;case'8':global[_0x54a720(0x8a)]=0x0;continue;case'9':global['testsSkipped']=0x0;continue;case'10':global[_0x54a720(0x75)]=this[_0x54a720(0x8c)][_0x54a720(0x80)];continue;case'11':global[_0x54a720(0x81)]=0x0;continue;case'12':this['_argv']=_0x3a621e;continue;case'13':global[_0x54a720(0x85)]=0x0;continue;case'14':global['testsPending']=0x0;continue;case'15':this[_0x54a720(0x8c)]['framework']=_0x4842a5;continue;case'16':global[_0x54a720(0x79)]={};continue;case'17':this[_0x54a720(0x95)]=_0x58d846[_0x54a720(0x7a)];continue;case'18':global['testSuitesFailed']=0x0;continue;case'19':global[_0x54a720(0x90)]=0x0;continue;case'20':global[_0x54a720(0x8e)]=0x0;continue;case'21':global[_0x54a720(0x7e)]=this[_0x54a720(0x8c)][_0x54a720(0x70)]||{};continue;case'22':this[_0x54a720(0x97)]=_0x58d846[_0x54a720(0x71)];continue;case'23':this['_bsConfig']=_0x2f0354;continue;case'24':this[_0x54a720(0x86)]=_0x4842a5;continue;}break;}}['setupCucumber'](_0xf02acc,_0x2e8b4e,_0x3156b9){const _0xeec3c0=_0xf02acc['resolvePaths'];_0xf02acc.resolvePaths=async function(){const pathResults=await _0xeec3c0.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x3156b9));return pathResults;},_0x2e8b4e.push('--format'),_0x2e8b4e.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}function a25_0x54fd(){const _0x3b5d03=['configuration','../../helpers/test-observability/utils','78IRPDjA','_testObservability','_mochaOpts','3903785ZuyHJb','_formatter','50kaWDnH','testsAmbiguous','platformCaps','formatter','setFramework','uCZTG','../utils/constants','__platform__','3342348rdrMLW','951zEFejU','setConfig','testsErrorMessage','mochaOpts','9303176qECqHZ','_capability','11574awGjyF','__platformCaps','../../helpers/helper','platform','testsPassed','split','24|6|15|17|22|3|10|12|23|7|1|21|19|4|11|8|14|9|18|20|13|5|16|0|2','554NbujNK','testsUnknown','_framework','6671595WVxKAZ','AXwpf','capability','testsFailed','99772GOKITU','_configuration','totalTests','testsUndefined','_accessibilityAutomation','testSuites'];a25_0x54fd=function(){return _0x3b5d03;};return a25_0x54fd();}module.exports=Launcher;
|
|
1
|
+
function a25_0x57df(_0x80f971,_0x54f85d){const _0x47d4e5=a25_0x47d4();return a25_0x57df=function(_0x57dfbc,_0x5ef135){_0x57dfbc=_0x57dfbc-0x18a;let _0x2dde5b=_0x47d4e5[_0x57dfbc];return _0x2dde5b;},a25_0x57df(_0x80f971,_0x54f85d);}const a25_0x2b9c8e=a25_0x57df;(function(_0x33aee3,_0x35f0bd){const _0x33bfe8=a25_0x57df,_0x53df62=_0x33aee3();while(!![]){try{const _0x2564d6=-parseInt(_0x33bfe8(0x1a9))/0x1*(parseInt(_0x33bfe8(0x18b))/0x2)+parseInt(_0x33bfe8(0x1af))/0x3*(-parseInt(_0x33bfe8(0x1a4))/0x4)+-parseInt(_0x33bfe8(0x192))/0x5*(parseInt(_0x33bfe8(0x198))/0x6)+parseInt(_0x33bfe8(0x191))/0x7*(-parseInt(_0x33bfe8(0x1b9))/0x8)+parseInt(_0x33bfe8(0x199))/0x9+-parseInt(_0x33bfe8(0x1a5))/0xa*(-parseInt(_0x33bfe8(0x1bc))/0xb)+parseInt(_0x33bfe8(0x1bb))/0xc*(parseInt(_0x33bfe8(0x18d))/0xd);if(_0x2564d6===_0x35f0bd)break;else _0x53df62['push'](_0x53df62['shift']());}catch(_0x30ebc7){_0x53df62['push'](_0x53df62['shift']());}}}(a25_0x47d4,0x96dec));const path=require(a25_0x2b9c8e(0x1a7)),{requireModule,modifyCommand,getPlatformName,cleanupDrivers,isBrowserstackInfra}=require(a25_0x2b9c8e(0x1b0)),constants=require(a25_0x2b9c8e(0x1a0)),{isAccessibilityAutomationSession}=require(a25_0x2b9c8e(0x197)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{commandRepository}=require(a25_0x2b9c8e(0x18f));class Launcher{constructor(_0x1afe60,_0x48592f,_0xf39ed0,_0x1c088f=[]){const _0x3e501e=a25_0x2b9c8e,_0xc97c32={'rYaHj':_0x3e501e(0x1a6),'eROeh':function(_0x3ce9e1){return _0x3ce9e1();}},_0x439b66=_0xc97c32['rYaHj'][_0x3e501e(0x1b7)]('|');let _0x3ba8a0=0x0;while(!![]){switch(_0x439b66[_0x3ba8a0++]){case'0':global[_0x3e501e(0x18e)]=this['_configuration']['platform'];continue;case'1':this[_0x3e501e(0x1a1)]=_0x48592f[_0x3e501e(0x193)]||{};continue;case'2':global[_0x3e501e(0x1b6)]=0x0;continue;case'3':this[_0x3e501e(0x19a)]=_0x1afe60;continue;case'4':global[_0x3e501e(0x19e)]=0x0;continue;case'5':global[_0x3e501e(0x1b8)]=0x0;continue;case'6':global[_0x3e501e(0x1a8)]=0x0;continue;case'7':global[_0x3e501e(0x1ab)]=0x0;continue;case'8':global[_0x3e501e(0x1b3)]=this[_0x3e501e(0x1a1)][_0x3e501e(0x18a)]||{};continue;case'9':this[_0x3e501e(0x1ba)]=_0xc97c32[_0x3e501e(0x196)](isTestObservabilitySession);continue;case'10':global[_0x3e501e(0x1ae)]=0x0;continue;case'11':this[_0x3e501e(0x1a3)]=_0x48592f[_0x3e501e(0x1b4)];continue;case'12':global[_0x3e501e(0x1ac)]=0x0;continue;case'13':global[_0x3e501e(0x1aa)]={};continue;case'14':this[_0x3e501e(0x195)]=this[_0x3e501e(0x1a1)][_0x3e501e(0x190)];continue;case'15':global[_0x3e501e(0x19f)]=0x0;continue;case'16':this[_0x3e501e(0x1a2)]=_0x48592f['mochaOpts'];continue;case'17':this[_0x3e501e(0x1a1)][_0x3e501e(0x1b2)]=_0x1afe60;continue;case'18':this[_0x3e501e(0x19d)]=_0xf39ed0;continue;case'19':global[_0x3e501e(0x194)]=0x0;continue;case'20':this[_0x3e501e(0x1ad)]=_0x1c088f;continue;case'21':global[_0x3e501e(0x19c)]=0x0;continue;case'22':commandRepository[_0x3e501e(0x1b5)](_0x1afe60);continue;case'23':commandRepository['setConfig'](_0xf39ed0);continue;case'24':this[_0x3e501e(0x19b)]=_0xc97c32[_0x3e501e(0x196)](isAccessibilityAutomationSession);continue;}break;}}[a25_0x2b9c8e(0x18c)](_0xf50eb,_0x28ff6a,_0x2bb9a9){const _0x48df8c=a25_0x2b9c8e,_0x202f07=_0xf50eb[_0x48df8c(0x1b1)];_0xf50eb.resolvePaths=async function(){const pathResults=await _0x202f07.apply(this,arguments);if(!pathResults.requirePaths){pathResults.requirePaths=[];}pathResults.requirePaths=[path.join(__dirname,'../cucumber-js/test.setup.js')].concat(pathResults.requirePaths,path.join(__dirname,_0x2bb9a9));return pathResults;},_0x28ff6a.push('--format'),_0x28ff6a.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}run(){return new Promise(async(resolve,reject)=>{require('../../helpers/setKeepAlive')();if(this._framework==='mocha'){const mochaRunHelper=requireModule('mocha/lib/cli/run-helpers.js');const Mocha=requireModule('mocha');if(isBrowserstackInfra()){modifyCommand();}const mochaHooks=require('../mocha/test.setup').mochaHooks;const rootHooks={beforeAll:[mochaHooks.beforeAll],beforeEach:[mochaHooks.beforeEach],afterAll:[mochaHooks.afterAll],afterEach:[mochaHooks.afterEach]};if(isTestObservabilitySession()){const mochaObservabilityHooks=require('../mocha/test-observability/data-hooks').mochaHooks;rootHooks.beforeAll.unshift(mochaObservabilityHooks.beforeAll);rootHooks.afterAll.push(mochaObservabilityHooks.afterAll);}const plugins=await mochaRunHelper.handleRequires(this._mochaOpts.require);Object.assign(this._mochaOpts,plugins);if(this._mochaOpts.rootHooks){this._mochaOpts.rootHooks.beforeAll&&rootHooks.beforeAll.unshift(...this._mochaOpts.rootHooks.beforeAll);this._mochaOpts.rootHooks.beforeEach&&rootHooks.beforeEach.unshift(...this._mochaOpts.rootHooks.beforeEach);this._mochaOpts.rootHooks.afterAll&&rootHooks.afterAll.push(...this._mochaOpts.rootHooks.afterAll);this._mochaOpts.rootHooks.afterEach&&rootHooks.afterEach.push(...this._mochaOpts.rootHooks.afterEach);}const userReporter=this._mochaOpts.reporter;let mochaTimeout=this._mochaOpts.timeout*1;if(this._mochaOpts.timeout===0){mochaTimeout=0;}else{mochaTimeout+=constants.BSTACK_DELTA;}const mochaOpts={...this._mochaOpts,reporter:path.join(__dirname,'../mocha/bstack-reporter/customReporter.js'),reporterOption:{...this._mochaOpts.reporterOptions,type:userReporter||'spec',testObservability:this._testObservability,bsConfig:this._bsConfig},parallel:false,rootHooks,isWorker:true,timeout:mochaTimeout};global.browserstackPlatformIndex=helper.nestedKeyValue(this._configuration,['platformIndex']);global.browserstackPercyBestPlatform=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','browserstackPercyBestPlatform']);global.percy=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percy']);global.percyCaptureMode=helper.nestedKeyValue(this._configuration,['browserStackPercyOptions','percyCaptureMode']);global.capabilities=[this._capability];if(helper.isBrowserstackInfra()){if(this._bsConfig.testContextOptions.skipSessionName){global.__skipSessionName=true;}if(this._bsConfig.testContextOptions.skipSessionStatus){global.__skipSessionStatus=true;}}else{global.__skipSessionName=true;global.__skipSessionStatus=true;}if(this._bsConfig.turboScaleUrl){this._configuration.turboScaleUrl=this._bsConfig.turboScaleUrl;}const mocha=new Mocha(mochaOpts);mocha.prevRun=mocha.run;if(isTestObservabilitySession()){mocha.run=function(_){return mocha.prevRun(exit=>{const checkPendingUploadsInterval=setInterval(async()=>{if(RequestQueueHandler.getInstance().pendingUploads<=0){clearInterval(checkPendingUploadsInterval);await cleanupDrivers(global.__driversArray);resolve(exit);}},1000);});};}else{mocha.run=function(_){return mocha.prevRun(async exit=>{await cleanupDrivers(global.__driversArray);resolve(exit);});};}try{require('../../index').browserstackAgentV2(this._configuration,null,this._testObservability);}catch{}const runProm=mochaRunHelper.runMocha(mocha,mochaOpts);runProm&&runProm.catch(er=>{reject(er);});}else if(this._framework==='cucumber-js'){let cucumberCli;try{cucumberCli=requireModule('@cucumber/cucumber/lib/cli/index.js');}catch(e){cucumberCli=requireModule('cucumber/lib/cli/index.js');}const argv=this._argv;const index=argv.indexOf('cucumber-js');if(index>-1){argv.splice(index,1);}const timeoutFileName='../cucumber-js/timeout.setup.js';let paths;try{paths=requireModule('@cucumber/cucumber/lib/paths/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){try{paths=requireModule('@cucumber/cucumber/lib/api/paths.js');this.setupCucumber(paths,argv,timeoutFileName);}catch(e){let hookFileName='../cucumber-js/test.setup.js';let ConfigurationBuilder;try{ConfigurationBuilder=requireModule('@cucumber/cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter.js'));}catch(e){ConfigurationBuilder=requireModule('cucumber/lib/cli/configuration_builder.js').default;argv.push('--format');argv.push(path.join(__dirname,'../cucumber-js/formatter/custom_formatter_old_versions.js'));hookFileName='../cucumber-js/test_old.setup.js';}const configBuilder=ConfigurationBuilder.prototype.build;ConfigurationBuilder.prototype.build=async function(){const builderHash=await configBuilder.call(this);builderHash.supportCodePaths.unshift(path.join(__dirname,hookFileName));builderHash.supportCodePaths.push(path.join(__dirname,timeoutFileName));return builderHash;};}}argv.push('--parallel');argv.push(`${this._configuration.maxWorkers}`);if(this._formatter&&this._formatter.length>0){for(let i=0;i<this._formatter.length;i++){const r=getPlatformName(this._capability).replace(/ /g,'_');if(this._formatter[i]!==undefined&&this._formatter[i].length>0){const formatterFinalOutputFileName=this._formatter[i][1];const formatterType=`${this._formatter[i][0]}`;if(formatterFinalOutputFileName!==undefined){const formatterOutputFile=`tmp/${r}${path.extname(formatterFinalOutputFileName)}`;argv.push('--format');argv.push(`${formatterType}:${formatterOutputFile}`);}else{argv.push('--format');argv.push(`${formatterType}:tmp/${r}`);}}}}const cucumber=new cucumberCli.default({argv:argv,cwd:process.cwd(),stdout:process.stdout,stderr:process.stderr,env:process.env});process.env.CONFIG=JSON.stringify(this._configuration);process.env.BSTACK_CONFIG=JSON.stringify(this._bsConfig);cucumber.run().then(output=>{const _results={scenarios:global.testSuites,steps:global.totalTests,scenariosFailed:global.testSuitesFailed,stepsFailed:global.testsFailed,stepsPassed:global.testsPassed,stepsSkipped:global.testsSkipped,stepsPending:global.testsPending,stepsUndefined:global.testsUndefined,stepsUnknown:global.testsUnknown,stepsAmbiguous:global.testsAmbiguous,processSuccess:output.success,testsErrorMessage:global.testsErrorMessage};resolve(_results);}).catch(er=>{reject(er);});}else if(this._framework==='vanilla'){process.argv=this._configuration.args;try{modifyCommand();require('../../index').browserstackAgent(this._configuration);let i=0;process.on('beforeExit',async()=>{if(i>0){return;}i++;await cleanupDrivers(global.__driversArray);});require(this._configuration.file);}catch(er){console.error(er);process.exitCode=1;reject(er);}resolve();}});}}module.exports=Launcher;function a25_0x47d4(){const _0x1c0250=['testSuitesFailed','_argv','totalTests','875370GZyrUC','../../helpers/helper','resolvePaths','framework','__platformCaps','formatter','setFramework','testsFailed','split','testSuites','24uRdYJW','_testObservability','336MdkkKp','2332APuAlz','platformCaps','14958ixWuIK','setupCucumber','197782YOEqFP','__platform__','../../helpers/ai-sdk/autoHealHelper','capability','2073323afcbcD','5RRLLeS','configuration','testsUndefined','_capability','eROeh','../../helpers/accessibility-automation/helper','1649514kVmSLR','4334733QgIuDI','_framework','_accessibilityAutomation','testsUnknown','_bsConfig','testsPassed','testsAmbiguous','../utils/constants','_configuration','_mochaOpts','_formatter','4QeAGMZ','56040tHaqQm','3|1|17|16|11|14|0|20|18|9|24|8|5|10|4|2|6|7|12|19|21|15|13|23|22','path','testsPending','3DfNxKJ','testsErrorMessage','testsSkipped'];a25_0x47d4=function(){return _0x1c0250;};return a25_0x47d4();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a26_0x337d93=a26_0x5439;(function(_0x110831,_0x5c3a93){const _0xd243ce=a26_0x5439,_0x313a0d=_0x110831();while(!![]){try{const _0x4dc3ec=parseInt(_0xd243ce(0x177))/0x1*(-parseInt(_0xd243ce(0x178))/0x2)+-parseInt(_0xd243ce(0x182))/0x3*(-parseInt(_0xd243ce(0x185))/0x4)+-parseInt(_0xd243ce(0x19d))/0x5*(parseInt(_0xd243ce(0x198))/0x6)+parseInt(_0xd243ce(0x19b))/0x7+parseInt(_0xd243ce(0x173))/0x8+parseInt(_0xd243ce(0x16f))/0x9+-parseInt(_0xd243ce(0x174))/0xa;if(_0x4dc3ec===_0x5c3a93)break;else _0x313a0d['push'](_0x313a0d['shift']());}catch(_0x1647ca){_0x313a0d['push'](_0x313a0d['shift']());}}}(a26_0x5c4a,0x18916));const path=require('path'),os=require('os'),util=require(a26_0x337d93(0x1ae)),bsSetupHelper=require(a26_0x337d93(0x1a8)),globals=require('../../../helpers/globals'),logger=require(a26_0x337d93(0x188))[a26_0x337d93(0x18e)];function a26_0x5439(_0x48340b,_0x153169){const _0x5c4aa4=a26_0x5c4a();return a26_0x5439=function(_0x54399b,_0x39385b){_0x54399b=_0x54399b-0x169;let _0x4c8ce3=_0x5c4aa4[_0x54399b];return _0x4c8ce3;},a26_0x5439(_0x48340b,_0x153169);}exports[a26_0x337d93(0x171)]=_0x4b98fc=>{const _0x55bf04=a26_0x337d93,_0x4cdae5={};_0x4cdae5['lmukD']='bstack:options',_0x4cdae5[_0x55bf04(0x1a1)]='browserstack.accessibility',_0x4cdae5['uWEqY']=_0x55bf04(0x1b3),_0x4cdae5['azHPP']=_0x55bf04(0x1ac);const _0x53f41b=_0x4cdae5;try{const _0x5b75fc=_0x4b98fc[_0x55bf04(0x1b6)]||{};if(_0x5b75fc[_0x53f41b['lmukD']]&&_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]]['accessibility']||_0x4b98fc[_0x55bf04(0x1b6)][_0x53f41b['ivJUh']]){globals['setGlobal'](_0x53f41b[_0x55bf04(0x16c)],!![]);if(_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]]){if(_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]]['accessibilityOptions'])_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]][_0x55bf04(0x197)][_0x55bf04(0x181)]=process[_0x55bf04(0x192)][_0x55bf04(0x1b2)];else{const _0x4548ef={};_0x4548ef[_0x55bf04(0x181)]=process[_0x55bf04(0x192)][_0x55bf04(0x1b2)],_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]][_0x55bf04(0x197)]=_0x4548ef;}_0x5b75fc[_0x53f41b[_0x55bf04(0x18d)]][_0x55bf04(0x197)][_0x55bf04(0x193)]=JSON[_0x55bf04(0x191)](process[_0x55bf04(0x192)][_0x55bf04(0x1ad)])[_0x55bf04(0x193)];}else{if(_0x4b98fc[_0x55bf04(0x1b6)][_0x53f41b[_0x55bf04(0x1a1)]]){if(_0x5b75fc[_0x53f41b[_0x55bf04(0x17d)]])_0x5b75fc[_0x53f41b['azHPP']][_0x55bf04(0x181)]=process['env'][_0x55bf04(0x1b2)];else{const _0x214ddd={};_0x214ddd['authToken']=process['env'][_0x55bf04(0x1b2)],_0x5b75fc[_0x53f41b[_0x55bf04(0x17d)]]=_0x214ddd;}_0x5b75fc[_0x53f41b[_0x55bf04(0x17d)]][_0x55bf04(0x193)]=JSON[_0x55bf04(0x191)](process[_0x55bf04(0x192)][_0x55bf04(0x1ad)])[_0x55bf04(0x193)];}}}}catch(_0x15f5d9){logger['debug'](_0x55bf04(0x180)+_0x15f5d9);}},exports[a26_0x337d93(0x170)]=(_0x45f0fd,_0x5582fb)=>{const _0x36124d=a26_0x337d93,_0x209d39={};_0x209d39[_0x36124d(0x176)]=_0x36124d(0x16b),_0x209d39[_0x36124d(0x1af)]=function(_0x4886c5,_0x1ddc2b){return _0x4886c5!==_0x1ddc2b;},_0x209d39[_0x36124d(0x187)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.',_0x209d39[_0x36124d(0x169)]=_0x36124d(0x18f),_0x209d39[_0x36124d(0x184)]='Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.',_0x209d39[_0x36124d(0x1a6)]=function(_0xe2726a,_0x475ff9){return _0xe2726a===_0x475ff9;},_0x209d39[_0x36124d(0x196)]=_0x36124d(0x1a7),_0x209d39[_0x36124d(0x1b4)]=function(_0x297afa,_0x57b8cc){return _0x297afa>_0x57b8cc;},_0x209d39[_0x36124d(0x1b5)]=_0x36124d(0x16e),_0x209d39['ngFBL']=_0x36124d(0x186),_0x209d39[_0x36124d(0x18b)]=_0x36124d(0x189),_0x209d39[_0x36124d(0x1a0)]=_0x36124d(0x1a2),_0x209d39['lGHYw']=_0x36124d(0x18a),_0x209d39[_0x36124d(0x17c)]='--headless',_0x209d39[_0x36124d(0x1ab)]=_0x36124d(0x19c);const _0x2a6905=_0x209d39;try{const _0x45c827=_0x5582fb['capability']||{},_0x2189a1=(_0x45c827[_0x2a6905[_0x36124d(0x176)]]?_0x45c827[_0x2a6905[_0x36124d(0x176)]][_0x36124d(0x1a5)]:_0x45c827[_0x36124d(0x19e)])||'';if(_0x2a6905['iaLvg'](_0x2189a1,''))return logger['warn'](_0x2a6905[_0x36124d(0x187)]),![];const _0x1f8350=_0x45c827[_0x36124d(0x179)]||_0x45f0fd[_0x36124d(0x1aa)][_0x36124d(0x1b0)]();if(_0x2a6905[_0x36124d(0x1af)](_0x1f8350['toLowerCase'](),_0x2a6905[_0x36124d(0x169)]))return logger[_0x36124d(0x1b1)](_0x2a6905['raYkD']),![];const _0x9dba89=_0x45c827['browserVersion']||_0x45c827[_0x36124d(0x16a)]||_0x45f0fd[_0x36124d(0x1aa)][_0x36124d(0x175)]();if(!bsSetupHelper[_0x36124d(0x190)](_0x9dba89)&&!(_0x2a6905[_0x36124d(0x1a6)](_0x9dba89,_0x2a6905['lRGiq'])||_0x2a6905['UFkYK'](_0x9dba89,0x5e)))return logger[_0x36124d(0x1b1)](_0x2a6905[_0x36124d(0x1b5)]),![];let _0x518e1e;try{_0x518e1e=bsSetupHelper[_0x36124d(0x183)](_0x2a6905[_0x36124d(0x1a4)]);}catch(_0x4778d2){return![];}const _0x21361e=new _0x518e1e[(_0x36124d(0x194))](_0x45f0fd[_0x36124d(0x17f)]),_0x31bb01=bsSetupHelper[_0x36124d(0x17b)](_0x21361e,[_0x2a6905[_0x36124d(0x18b)],_0x2a6905[_0x36124d(0x1a0)]])||bsSetupHelper[_0x36124d(0x17b)](_0x45f0fd[_0x36124d(0x1aa)][_0x36124d(0x1a3)](_0x2a6905[_0x36124d(0x176)]),[_0x2a6905[_0x36124d(0x18c)],_0x2a6905[_0x36124d(0x1a0)]])||bsSetupHelper[_0x36124d(0x17b)](_0x45f0fd[_0x36124d(0x1aa)][_0x36124d(0x1a3)](_0x2a6905[_0x36124d(0x18c)]),[_0x2a6905[_0x36124d(0x1a0)]])||[];if(_0x31bb01[_0x36124d(0x19f)](_0x2a6905[_0x36124d(0x17c)]))return logger[_0x36124d(0x1b1)](_0x2a6905[_0x36124d(0x1ab)]),![];return!![];}catch(_0x48f644){logger[_0x36124d(0x16d)](_0x36124d(0x172)+util[_0x36124d(0x195)](_0x48f644));}return![];},exports['fetchPlatformDetails']=async _0x43502c=>{const _0x2c3dc3=a26_0x337d93,_0x5d5c44={};_0x5d5c44[_0x2c3dc3(0x17a)]=function(_0x3aa8d5,_0x19b5dd){return _0x3aa8d5===_0x19b5dd;},_0x5d5c44['fNqHQ']=_0x2c3dc3(0x1a9);const _0xdb5c01=_0x5d5c44;let _0x42d23f={};try{const _0x4f27f8=await _0x43502c[_0x2c3dc3(0x17e)]();_0x42d23f={'os_name':_0x4f27f8['getPlatform'](),'os_version':bsSetupHelper['getPlatformVersion'](_0xdb5c01[_0x2c3dc3(0x17a)](global[_0x2c3dc3(0x19a)],_0xdb5c01['fNqHQ'])),'browser_name':_0x4f27f8[_0x2c3dc3(0x1b0)](),'browser_version':_0x4f27f8[_0x2c3dc3(0x175)]()};}catch(_0x59b9f8){logger[_0x2c3dc3(0x16d)](_0x2c3dc3(0x199)+_0x59b9f8);}return _0x42d23f;};function a26_0x5c4a(){const _0x4e6a2c=['chromeOptions_','Exception\x20while\x20setting\x20Accessibility\x20Automation\x20capabilities.\x20Error\x20','authToken','993EqDguQ','requireModule','raYkD','824OwcpUy','selenium-webdriver/chrome.js','ujnsJ','../../../helpers/logger','options_','chromeOptions','irevB','lGHYw','lmukD','winstonLogger','chrome','isUndefined','parse','env','scannerVersion','Options','format','lRGiq','accessibilityOptions','6YFEtnA','Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20','__cloud_provider___','342678POyzMl','Accessibility\x20Automation\x20will\x20not\x20run\x20on\x20legacy\x20headless\x20mode.\x20Switch\x20to\x20new\x20headless\x20mode\x20or\x20avoid\x20using\x20headless\x20mode.','899495xnHdgF','device','includes','TnLkM','ivJUh','args','get','ngFBL','deviceName','TaPzn','latest','../../../helpers/helper','browserstack','capabilities_','jQKGl','browserstack.accessibilityOptions','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','util','iaLvg','getBrowserName','warn','BS_A11Y_JWT','isAccessibilityPlatform','UFkYK','dLlcz','capability','OFCgv','browser_version','bstack:options','uWEqY','debug','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','1694070xmwMkg','setExtension','setAccessibilityCapabilities','Exception\x20in\x20setExtension\x20Error:\x20','1331704Wznajj','1393460reCtGM','getBrowserVersion','cMojp','51958zzVEPy','2oMzLZe','browserName','huiBv','nestedKeyValue','EBkbe','azHPP','getCapabilities'];a26_0x5c4a=function(){return _0x4e6a2c;};return a26_0x5c4a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a27_0x367e47=a27_0x48df;(function(_0x4ca489,_0x545c65){const _0x25dcde=a27_0x48df,_0x5177de=_0x4ca489();while(!![]){try{const _0x88e621=parseInt(_0x25dcde(0xe7))/0x1*(parseInt(_0x25dcde(0x197))/0x2)+-parseInt(_0x25dcde(0x12e))/0x3+-parseInt(_0x25dcde(0x1fb))/0x4*(-parseInt(_0x25dcde(0xf3))/0x5)+-parseInt(_0x25dcde(0x1d0))/0x6+parseInt(_0x25dcde(0x132))/0x7+parseInt(_0x25dcde(0x1b7))/0x8+-parseInt(_0x25dcde(0x1e1))/0x9;if(_0x88e621===_0x545c65)break;else _0x5177de['push'](_0x5177de['shift']());}catch(_0x9314c9){_0x5177de['push'](_0x5177de['shift']());}}}(a27_0x37de,0x86961));const util=require(a27_0x367e47(0x156)),fs=require('fs'),path=require(a27_0x367e47(0x15d)),{requireModule}=require(a27_0x367e47(0x1ce)),Base=requireModule(a27_0x367e47(0xeb)),utils=requireModule('mocha/lib/utils.js'),color=Base[a27_0x367e47(0x135)],Mocha=requireModule(a27_0x367e47(0x190)),Runnable=requireModule('mocha/lib/runnable.js'),{v4:uuidv4}=require(a27_0x367e47(0x1c3)),bsSetupHelper=require(a27_0x367e47(0x1ce)),testhubUtils=require('../../../helpers/testhub/utils'),testHubConstants=require(a27_0x367e47(0x1d8)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),a27_0x46442d={};a27_0x46442d[a27_0x367e47(0xfd)]=a27_0x367e47(0x1f9),a27_0x46442d[a27_0x367e47(0x1c8)]='AFTER_ALL',a27_0x46442d[a27_0x367e47(0x113)]=a27_0x367e47(0x173),a27_0x46442d['after\x20each']=a27_0x367e47(0x1dc);const HOOK_TYPES_MAP=a27_0x46442d,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x367e47(0x1f5)][a27_0x367e47(0x209)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x367e47(0x209)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require('../test-observability/mochaUtils'),{consoleHolder}=require(a27_0x367e47(0x1b1)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a27_0x367e47(0x198)),RequestQueueHandler=require(a27_0x367e47(0x1b6)),requestQueueHandler=RequestQueueHandler[a27_0x367e47(0x1f2)]();function a27_0x48df(_0x477fd2,_0x4b23ab){const _0x37deb9=a27_0x37de();return a27_0x48df=function(_0x48dfab,_0x44df21){_0x48dfab=_0x48dfab-0xe2;let _0x51e818=_0x37deb9[_0x48dfab];return _0x51e818;},a27_0x48df(_0x477fd2,_0x4b23ab);}class MyReporter{constructor(_0x4c2b35,_0x33bbc8){const _0x12ec2b=a27_0x367e47,_0x4b8d12={'fPbHz':function(_0x325859,_0x5c27ce){return _0x325859===_0x5c27ce;},'mecyH':_0x12ec2b(0x163),'zLHJw':function(_0x2daf98,_0x333c74){return _0x2daf98+_0x333c74;},'teoMQ':function(_0x1b8729,_0x1cd336,_0x3401c5){return _0x1b8729(_0x1cd336,_0x3401c5);},'ocPhc':_0x12ec2b(0x170),'QDtFR':_0x12ec2b(0x206),'cvElS':_0x12ec2b(0x106),'KitaG':_0x12ec2b(0x153),'NFGCV':_0x12ec2b(0x17b),'NtrKr':function(_0x4e6ca1,_0x125f14){return _0x4e6ca1===_0x125f14;},'dxjkx':'doc','GXvpv':function(_0x2fdac2){return _0x2fdac2();},'kMPBi':_0x12ec2b(0xf2),'nqSCF':'HookRunFinished','xBkGm':_0x12ec2b(0x147),'VkEKU':_0x12ec2b(0x127),'RWCmi':function(_0x5a61c4,_0x526cc6){return _0x5a61c4+_0x526cc6;},'nhbHh':function(_0x10c4e9,_0x5bc92c,_0x15eec3){return _0x10c4e9(_0x5bc92c,_0x15eec3);},'nCXIB':_0x12ec2b(0x124),'kQtEl':_0x12ec2b(0xe2),'LbPvH':'\x20%s','ElGHB':function(_0x4cebe0,_0x413e51,_0x5a72e6){return _0x4cebe0(_0x413e51,_0x5a72e6);},'bPbDF':_0x12ec2b(0x12f),'dYmKb':_0x12ec2b(0x183),'JpwPN':_0x12ec2b(0x129),'sxwKT':function(_0x2e3895,_0x8248dc){return _0x2e3895===_0x8248dc;},'oQvsh':function(_0x4bcabd,_0x37ec8e){return _0x4bcabd+_0x37ec8e;},'yrYLu':_0x12ec2b(0xe3),'PSXyU':function(_0x54c368,_0x2159de,_0x345f37){return _0x54c368(_0x2159de,_0x345f37);},'gNyWH':'COMPLETED','GGNcl':_0x12ec2b(0x171),'DBhSc':_0x12ec2b(0x1d3),'CTcQz':function(_0x4fd1fd,_0x322b2b){return _0x4fd1fd===_0x322b2b;},'VawAH':function(_0x5ec924,_0x1436cf){return _0x5ec924===_0x1436cf;},'kakgh':function(_0x3d4d4f,_0x1c9f67){return _0x3d4d4f===_0x1c9f67;},'ymAIg':function(_0x2c5401,_0xa56c8e){return _0x2c5401===_0xa56c8e;},'JwNCJ':_0x12ec2b(0x19a),'SXWeg':_0x12ec2b(0x136),'YNCCJ':function(_0x450eb){return _0x450eb();},'wzqLJ':_0x12ec2b(0x155),'KfKKl':function(_0xbe25ea,_0x3f75f1){return _0xbe25ea===_0x3f75f1;},'TpthV':function(_0x5420cc,_0x3aa867){return _0x5420cc===_0x3aa867;},'sdKNi':function(_0x2bd8c8,_0x294fd5){return _0x2bd8c8(_0x294fd5);},'EBYNE':function(_0x1f7a1e){return _0x1f7a1e();},'AsizR':function(_0x9cf186,_0x3b56ac){return _0x9cf186===_0x3b56ac;},'FSihj':function(_0x5ce277){return _0x5ce277();},'jwloA':function(_0x267943,_0xf32932){return _0x267943===_0xf32932;},'imDNP':'xunit','wXidX':function(_0x2024bb,_0x5f16a9){return _0x2024bb(_0x5f16a9);},'WNDvL':function(_0x4e686d,_0x9e40ec){return _0x4e686d===_0x9e40ec;},'qpAoT':function(_0x42c5a8,_0x3a0d21){return _0x42c5a8!==_0x3a0d21;}};this[_0x12ec2b(0x154)]=_0x33bbc8[_0x12ec2b(0x16b)][_0x12ec2b(0x154)],this[_0x12ec2b(0x1cd)]=_0x4b8d12['FSihj'](isTestObservabilitySession),Base['call'](this,_0x4c2b35,_0x33bbc8),this['_indents']=0x0,this[_0x12ec2b(0x176)]=0x0,this[_0x12ec2b(0x186)]=[],this['finalResults']=[],this['suiteCount']=0x0,this['_buildCreated']=![],this[_0x12ec2b(0x208)]=[],this[_0x12ec2b(0xe8)]=_0x4b8d12[_0x12ec2b(0x19e)](getTestEnv),this[_0x12ec2b(0x1ad)]=new PathHelper({'cwd':process['cwd']()},this[_0x12ec2b(0xe8)]['location_prefix']),this['_upstreamConfig']=_0x33bbc8[_0x12ec2b(0x16b)][_0x12ec2b(0x19b)],this['registerListeners']();_0x4b8d12['jwloA'](this[_0x12ec2b(0x154)],_0x4b8d12[_0x12ec2b(0xf1)])&&(this['docHtml']='',this[_0x12ec2b(0x1b9)]=0x2);_0x4c2b35[_0x12ec2b(0x199)](EVENT_RUN_BEGIN,async()=>{const _0x24da36=_0x12ec2b;_0x4b8d12[_0x24da36(0x201)](this[_0x24da36(0x154)],_0x4b8d12[_0x24da36(0x115)])&&Base[_0x24da36(0x112)]();})['on'](EVENT_SUITE_BEGIN,_0x19b8c8=>{const _0x35d5c7=_0x12ec2b;if(_0x19b8c8[_0x35d5c7(0x138)])return;if(_0x4b8d12[_0x35d5c7(0x201)](this[_0x35d5c7(0x154)],_0x4b8d12[_0x35d5c7(0x115)]))this['increaseIndent'](),Base[_0x35d5c7(0x112)](_0x4b8d12['zLHJw'](_0x4b8d12[_0x35d5c7(0x158)](this[_0x35d5c7(0x1d6)](),_0x4b8d12[_0x35d5c7(0xe5)](color,_0x4b8d12[_0x35d5c7(0x205)],_0x4b8d12['QDtFR'])),_0x4b8d12[_0x35d5c7(0xe5)](color,_0x4b8d12[_0x35d5c7(0x1a7)],_0x4b8d12[_0x35d5c7(0xf8)])),_0x4b8d12[_0x35d5c7(0x1ec)],_0x19b8c8['title'],global[_0x35d5c7(0x16a)]);else _0x4b8d12['NtrKr'](this[_0x35d5c7(0x154)],_0x4b8d12[_0x35d5c7(0xf1)])&&(this['docAppend'](this[_0x35d5c7(0x1d6)]()+_0x35d5c7(0x1cc)),++this[_0x35d5c7(0x1b9)],this[_0x35d5c7(0x1a4)](this['indent']()+_0x35d5c7(0x174)+utils[_0x35d5c7(0x18f)](_0x19b8c8[_0x35d5c7(0x1b0)]+_0x35d5c7(0x1ca)+global[_0x35d5c7(0x16a)])+_0x35d5c7(0x1e7)),this[_0x35d5c7(0x1a4)](this[_0x35d5c7(0x1d6)]()+_0x35d5c7(0x1d7)));})['on'](EVENT_HOOK_BEGIN,async _0x1d2084=>{const _0x2d90c2=_0x12ec2b;if(_0x4b8d12[_0x2d90c2(0x201)](testhubUtils[_0x2d90c2(0x16f)](testHubConstants['EVENT'][_0x2d90c2(0x1da)]),!![])){if(!_0x1d2084[_0x2d90c2(0x177)])_0x1d2084['hookAnalyticsId']=_0x4b8d12[_0x2d90c2(0x133)](uuidv4);else _0x1d2084[_0x2d90c2(0x1b4)]&&(_0x1d2084[_0x2d90c2(0x177)]=_0x4b8d12[_0x2d90c2(0x133)](uuidv4),delete _0x1d2084[_0x2d90c2(0x1b4)]);_0x1d2084['started_at']=new Date()[_0x2d90c2(0x182)](),this['current_hook']=_0x1d2084,await this[_0x2d90c2(0xef)](_0x1d2084,undefined,![],_0x4b8d12[_0x2d90c2(0x11f)]);}})['on'](EVENT_HOOK_END,async _0x285312=>{const _0x2beb2d=_0x12ec2b;_0x4b8d12[_0x2beb2d(0x201)](testhubUtils['shouldProcessEventForTesthub'](testHubConstants['EVENT'][_0x2beb2d(0x148)]),!![])&&(!_0x285312[_0x2beb2d(0x1b4)]&&(_0x285312[_0x2beb2d(0x1b4)]=!![],await this[_0x2beb2d(0xef)](_0x285312,undefined,![],_0x4b8d12[_0x2beb2d(0x1eb)])));})['on'](EVENT_SUITE_END,_0x325008=>{const _0x574696=_0x12ec2b,_0x56959d={'GfJfi':function(_0x5aba9c,_0x214d43){return _0x4b8d12['fPbHz'](_0x5aba9c,_0x214d43);},'opIfZ':_0x4b8d12[_0x574696(0x1fa)],'BPGdG':function(_0x588c56,_0x29bee2){const _0x712ff3=_0x574696;return _0x4b8d12[_0x712ff3(0x168)](_0x588c56,_0x29bee2);},'fHUcO':_0x4b8d12['VkEKU'],'YFsKT':function(_0x1fd5ef,_0x2b945b){const _0x1dc374=_0x574696;return _0x4b8d12[_0x1dc374(0x1ab)](_0x1fd5ef,_0x2b945b);},'DzTXe':function(_0x23ed48,_0x215622){const _0x5a2555=_0x574696;return _0x4b8d12[_0x5a2555(0x1ab)](_0x23ed48,_0x215622);},'UDQAo':function(_0x3efaa5,_0x2f9a45,_0x200bed){return _0x4b8d12['nhbHh'](_0x3efaa5,_0x2f9a45,_0x200bed);},'pgUPp':_0x4b8d12[_0x574696(0x141)],'VWIkJ':_0x4b8d12[_0x574696(0x18b)],'YMTiq':_0x4b8d12['LbPvH'],'YDwtV':function(_0x4de0d7,_0x5cff39){const _0x441e4d=_0x574696;return _0x4b8d12[_0x441e4d(0x1ab)](_0x4de0d7,_0x5cff39);},'AZIed':function(_0x57b7b5,_0x15aab9){const _0x4c0ebe=_0x574696;return _0x4b8d12[_0x4c0ebe(0x158)](_0x57b7b5,_0x15aab9);},'zTSlC':function(_0x58d197,_0x1b1a24,_0xe74be){const _0x59a60c=_0x574696;return _0x4b8d12[_0x59a60c(0xe5)](_0x58d197,_0x1b1a24,_0xe74be);},'qKpOV':function(_0x21d6e9,_0x2cb4d2,_0x33418f){const _0x1ed9f6=_0x574696;return _0x4b8d12[_0x1ed9f6(0x1a5)](_0x21d6e9,_0x2cb4d2,_0x33418f);},'yvWTS':_0x4b8d12[_0x574696(0x1a2)],'KccNw':_0x4b8d12['dYmKb'],'KoJmj':_0x4b8d12['JpwPN']};if(_0x325008['root'])return;if(_0x4b8d12[_0x574696(0x1c4)](this[_0x574696(0x154)],_0x4b8d12[_0x574696(0x115)]))Base[_0x574696(0x112)](),Base['consoleLog'](_0x4b8d12[_0x574696(0x102)](_0x4b8d12[_0x574696(0x102)](this[_0x574696(0x1d6)](),_0x4b8d12[_0x574696(0xe5)](color,_0x4b8d12['yrYLu'],_0x4b8d12['QDtFR'])),_0x4b8d12[_0x574696(0x114)](color,_0x4b8d12[_0x574696(0x1a7)],_0x4b8d12['KitaG'])),_0x4b8d12[_0x574696(0x16d)],_0x325008[_0x574696(0x1b0)],global[_0x574696(0x16a)]),this[_0x574696(0x186)][_0x574696(0x120)](_0x5058a7=>{const _0x16669d=_0x574696;if(_0x56959d[_0x16669d(0xe6)](_0x5058a7[_0x16669d(0x13f)],_0x56959d[_0x16669d(0x110)])){var _0x58506f;_0x56959d[_0x16669d(0xed)](_0x5058a7[_0x16669d(0xff)],_0x56959d[_0x16669d(0x19d)])?(_0x58506f=_0x56959d['YFsKT'](_0x56959d[_0x16669d(0x14c)](this['indent'](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d['pgUPp'],_0x56959d[_0x16669d(0x14a)]('\x20\x20',Base['symbols']['ok']))),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x11b)],_0x56959d[_0x16669d(0x14d)])),Base[_0x16669d(0x112)](_0x58506f,_0x5058a7[_0x16669d(0x1b0)])):(_0x58506f=_0x56959d[_0x16669d(0x101)](_0x56959d['DzTXe'](_0x56959d[_0x16669d(0x1c7)](this[_0x16669d(0x1d6)](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x164)],_0x56959d[_0x16669d(0x1c7)]('\x20\x20',Base[_0x16669d(0x1f1)]['ok']))),_0x56959d[_0x16669d(0x146)](color,_0x56959d['VWIkJ'],_0x56959d['YMTiq'])),_0x56959d[_0x16669d(0x19f)](color,_0x5058a7[_0x16669d(0xff)],_0x56959d[_0x16669d(0x104)])),Base['consoleLog'](_0x58506f,_0x5058a7[_0x16669d(0x1b0)],_0x5058a7['duration']));}else Base['consoleLog'](_0x56959d[_0x16669d(0x101)](this[_0x16669d(0x1d6)](),_0x56959d[_0x16669d(0x11e)](color,_0x56959d[_0x16669d(0x131)],_0x56959d['KoJmj'])),++this[_0x16669d(0x176)],_0x5058a7[_0x16669d(0x1b0)]);}),this['decreaseIndent']();else _0x4b8d12[_0x574696(0x1c4)](this[_0x574696(0x154)],_0x4b8d12[_0x574696(0xf1)])&&(this[_0x574696(0x1a4)](this[_0x574696(0x1d6)]()+_0x574696(0xf0)),--this[_0x574696(0x1b9)],this[_0x574696(0x1a4)](this['indent']()+_0x574696(0xfe)),--this[_0x574696(0x1b9)]);Array[_0x574696(0x10b)][_0x574696(0x11a)][_0x574696(0x122)](this[_0x574696(0x109)],this[_0x574696(0x186)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x2ce7c2=>{const _0x51c9fd=_0x12ec2b;this['results'][_0x51c9fd(0x11a)]({'speed':_0x2ce7c2[_0x51c9fd(0xff)],'suite':_0x2ce7c2['parent'][_0x51c9fd(0x1b0)],'title':_0x2ce7c2[_0x51c9fd(0x1b0)],'fullTitle':_0x2ce7c2['fullTitle'](),'duration':_0x2ce7c2[_0x51c9fd(0x19c)],'state':_0x2ce7c2['state'],'err':{},'currentRetry':_0x2ce7c2[_0x51c9fd(0x1a1)](),'titlePathV':_0x2ce7c2[_0x51c9fd(0x123)](),'isPending':_0x2ce7c2[_0x51c9fd(0x1a9)]()});if(_0x4b8d12[_0x51c9fd(0x1c4)](this[_0x51c9fd(0x154)],_0x4b8d12[_0x51c9fd(0x10c)]))_0x4b8d12[_0x51c9fd(0x168)](_0x2ce7c2[_0x51c9fd(0xff)],_0x4b8d12[_0x51c9fd(0x13a)])?process[_0x51c9fd(0x1db)][_0x51c9fd(0x161)](Base[_0x51c9fd(0x135)](_0x4b8d12[_0x51c9fd(0x15e)],Base['symbols'][_0x51c9fd(0x171)])):process[_0x51c9fd(0x1db)][_0x51c9fd(0x161)](Base['color'](_0x2ce7c2[_0x51c9fd(0xff)],Base[_0x51c9fd(0x1f1)]['dot']));else{if(_0x4b8d12[_0x51c9fd(0x196)](this[_0x51c9fd(0x154)],_0x4b8d12[_0x51c9fd(0xf1)])){this[_0x51c9fd(0x1a4)](this[_0x51c9fd(0x1d6)]()+_0x51c9fd(0x116)+utils['escape'](_0x2ce7c2[_0x51c9fd(0x1b0)])+_0x51c9fd(0x107)),this[_0x51c9fd(0x1a4)](this[_0x51c9fd(0x1d6)]()+'\x20\x20<dt>'+utils[_0x51c9fd(0x18f)](_0x2ce7c2[_0x51c9fd(0xfc)])+'</dt>');var _0x12da66=utils[_0x51c9fd(0x18f)](utils[_0x51c9fd(0x139)](_0x2ce7c2[_0x51c9fd(0xf7)]));this['docAppend'](this[_0x51c9fd(0x1d6)]()+_0x51c9fd(0x18a)+_0x12da66+'</code></pre></dd>');}}_0x4b8d12[_0x51c9fd(0x1f8)](testhubUtils[_0x51c9fd(0x16f)](),!![])&&(!_0x2ce7c2['markedStatus']&&(_0x2ce7c2[_0x51c9fd(0x1b4)]=!![],await this[_0x51c9fd(0xef)](_0x2ce7c2)));})['on'](EVENT_TEST_FAIL,async(_0x1ecc57,_0xf6932a)=>{const _0x323731=_0x12ec2b;this['results'][_0x323731(0x11a)]({'title':_0x1ecc57[_0x323731(0x1b0)],'suite':_0x1ecc57['parent'][_0x323731(0x1b0)],'state':_0x1ecc57['state'],'err':{'message':util[_0x323731(0x1de)](_0xf6932a)},'fullTitle':_0x1ecc57[_0x323731(0x1fe)](),'speed':_0x1ecc57[_0x323731(0xff)],'currentRetry':_0x1ecc57['currentRetry'](),'titlePathV':_0x1ecc57[_0x323731(0x123)]()});if(_0x4b8d12[_0x323731(0x1a6)](this[_0x323731(0x154)],_0x4b8d12[_0x323731(0x10c)]))process[_0x323731(0x1db)][_0x323731(0x161)](Base['color'](_0x4b8d12[_0x323731(0x1e4)],Base[_0x323731(0x1f1)]['bang']));else{if(_0x4b8d12[_0x323731(0x14e)](this[_0x323731(0x154)],_0x4b8d12['dxjkx'])){const _0x2a52be=_0x4b8d12['JwNCJ']['split']('|');let _0x3a8f80=0x0;while(!![]){switch(_0x2a52be[_0x3a8f80++]){case'0':this[_0x323731(0x1a4)](this[_0x323731(0x1d6)]()+_0x323731(0x1c2)+utils['escape'](_0x1ecc57['file'])+'</dt>');continue;case'1':this['docAppend'](this[_0x323731(0x1d6)]()+_0x323731(0x1c2)+utils[_0x323731(0x18f)](_0x1ecc57[_0x323731(0x1b0)])+_0x323731(0x107));continue;case'2':this[_0x323731(0x1a4)](this['indent']()+_0x323731(0x1ba)+_0x13cd5c+_0x323731(0x143));continue;case'3':var _0x13cd5c=utils[_0x323731(0x18f)](utils[_0x323731(0x139)](_0x1ecc57['body']));continue;case'4':this[_0x323731(0x1a4)](this[_0x323731(0x1d6)]()+_0x323731(0x121)+utils[_0x323731(0x18f)](_0x1ecc57[_0x323731(0x1b5)])+_0x323731(0x1cb));continue;}break;}}}if(_0x4b8d12['fPbHz'](testhubUtils['shouldProcessEventForTesthub'](testHubConstants[_0x323731(0x152)][_0x323731(0x148)]),!![])){if(!_0x1ecc57[_0x323731(0x1b4)]){_0x1ecc57['markedStatus']=!![];if(_0x1ecc57['testAnalyticsId'])await this[_0x323731(0xef)](_0x1ecc57,_0xf6932a);else _0x1ecc57[_0x323731(0x177)]&&await this[_0x323731(0xef)](_0x1ecc57,_0xf6932a,![],_0x4b8d12[_0x323731(0x1eb)]);}}})['on'](EVENT_TEST_PENDING,async _0x42a0b5=>{const _0x1e8bf9=_0x12ec2b;this['results'][_0x1e8bf9(0x11a)]({'title':_0x42a0b5['title'],'suite':_0x42a0b5[_0x1e8bf9(0xea)]['title'],'state':_0x42a0b5[_0x1e8bf9(0x13f)],'err':{},'fullTitle':_0x42a0b5['fullTitle'](),'speed':_0x42a0b5['speed'],'currentRetry':_0x42a0b5[_0x1e8bf9(0x1a1)](),'titlePathV':_0x42a0b5[_0x1e8bf9(0x123)]()}),_0x4b8d12[_0x1e8bf9(0x14e)](this['type'],_0x4b8d12[_0x1e8bf9(0x10c)])&&process[_0x1e8bf9(0x1db)][_0x1e8bf9(0x161)](Base[_0x1e8bf9(0x135)](_0x4b8d12[_0x1e8bf9(0x1b3)],Base['symbols']['comma'])),_0x4b8d12[_0x1e8bf9(0x14e)](testhubUtils[_0x1e8bf9(0x16f)](),!![])&&(!_0x42a0b5[_0x1e8bf9(0x1e5)]&&(_0x42a0b5[_0x1e8bf9(0x1e5)]=_0x4b8d12['YNCCJ'](uuidv4)),!_0x42a0b5[_0x1e8bf9(0x1b4)]&&(_0x42a0b5[_0x1e8bf9(0x1b4)]=!![],await this[_0x1e8bf9(0xef)](_0x42a0b5,undefined,![],_0x4b8d12['wzqLJ'])));})['on'](EVENT_TEST_BEGIN,async _0x119c16=>{_0x4b8d12['KfKKl'](testhubUtils['shouldProcessEventForTesthub'](),!![])&&await this['testStarted'](_0x119c16);})['on'](EVENT_TEST_END,async _0x26f735=>{const _0x32cf3b=_0x12ec2b;_0x4b8d12[_0x32cf3b(0x165)](testhubUtils[_0x32cf3b(0x16f)](),!![])&&(!_0x26f735[_0x32cf3b(0x1b4)]&&(_0x26f735['markedStatus']=!![],await this[_0x32cf3b(0xef)](_0x26f735)));})['once'](EVENT_RUN_END,async()=>{const _0x505122=_0x12ec2b;try{if(_0x4b8d12['fPbHz'](testhubUtils[_0x505122(0x16f)](),!![])){const _0x5af6fe=_0x4b8d12[_0x505122(0x15f)](getHookSkippedTests,this[_0x505122(0x144)][_0x505122(0x1c1)]);for(const _0x1e65dc of _0x5af6fe){!_0x1e65dc[_0x505122(0x1e5)]&&(_0x1e65dc['testAnalyticsId']=_0x4b8d12[_0x505122(0x103)](uuidv4)),await this['sendTestRunEvent'](_0x1e65dc,undefined,![],_0x4b8d12[_0x505122(0x166)]);}}}catch(_0x538ad9){_0x4b8d12[_0x505122(0x15f)](debug,_0x505122(0x117)+_0x538ad9);}await requestQueueHandler[_0x505122(0x1e6)](),_0x4b8d12['AsizR'](this[_0x505122(0x154)],_0x4b8d12[_0x505122(0xf1)])&&Base[_0x505122(0x112)](this['docHtml']);});if(this['type']&&![_0x4b8d12[_0x12ec2b(0xf1)],_0x4b8d12[_0x12ec2b(0x1ef)],_0x4b8d12[_0x12ec2b(0x115)],_0x4b8d12[_0x12ec2b(0x10c)]][_0x12ec2b(0x1ea)](this[_0x12ec2b(0x154)])){const _0x5051a6=this['type']['trim']();this[_0x12ec2b(0x189)]=null;try{this[_0x12ec2b(0x189)]=_0x4b8d12[_0x12ec2b(0x1d2)](requireModule,_0x12ec2b(0x160)+_0x5051a6+_0x12ec2b(0x15a));}catch{}if(_0x4b8d12[_0x12ec2b(0x172)](this[_0x12ec2b(0x189)],null))try{this['Reporter']=_0x4b8d12['wXidX'](require,_0x5051a6);}catch(_0x574896){console[_0x12ec2b(0x1f7)]('Failed\x20to\x20load\x20reporter\x20'+_0x5051a6);}if(_0x4b8d12[_0x12ec2b(0x159)](this[_0x12ec2b(0x189)],null)){const _0x10c4a9={};_0x10c4a9[_0x12ec2b(0x108)]=_0x33bbc8[_0x12ec2b(0x16b)],this[_0x12ec2b(0x189)]=new this[(_0x12ec2b(0x189))](_0x4c2b35,_0x10c4a9);}}}[a27_0x367e47(0x1d6)](){const _0x27ffd6=a27_0x367e47,_0x2fd794={'tICAL':function(_0x4a1ad4,_0x3c7ccb){return _0x4a1ad4(_0x3c7ccb);}};return _0x2fd794[_0x27ffd6(0xfb)](Array,this['_indents'])['join']('\x20\x20');}[a27_0x367e47(0x169)](){const _0x26dcde=a27_0x367e47;this[_0x26dcde(0x15b)]++;}[a27_0x367e47(0x1a3)](){this['_indents']--;}[a27_0x367e47(0x1a4)](_0x15227a){const _0x157c34=a27_0x367e47;this[_0x157c34(0x14f)]+=_0x15227a;}[a27_0x367e47(0x157)](_0x262480,_0x40e7b4){const _0x382358=a27_0x367e47,_0x526f85={'kAEjH':function(_0x4def4b,_0x4fa9d1){return _0x4def4b(_0x4fa9d1);}},_0x4203d8={};_0x4203d8['failureCount']=_0x262480,_0x4203d8[_0x382358(0x186)]=this[_0x382358(0x109)],_0x526f85[_0x382358(0x1df)](_0x40e7b4,_0x4203d8);}[a27_0x367e47(0x13e)](){const _0x51846a=a27_0x367e47;process[_0x51846a(0x145)]('bs:addLog:'+process['pid']),process['on'](_0x51846a(0x12b)+process[_0x51846a(0x18c)],this[_0x51846a(0xfa)][_0x51846a(0x1dd)](this)),process['removeAllListeners'](_0x51846a(0x17f)+process[_0x51846a(0x18c)]),process['on'](_0x51846a(0x17f)+process[_0x51846a(0x18c)],this[_0x51846a(0x118)][_0x51846a(0x1dd)](this));}[a27_0x367e47(0x204)]=async _0x2a285c=>{const _0x14b71e=a27_0x367e47,_0x2c8c62={'hPPkE':function(_0x1c53ca){return _0x1c53ca();},'lbQBQ':function(_0x36ea69,_0x314615){return _0x36ea69>_0x314615;},'XWrgc':function(_0x5541c0,_0x9e453d){return _0x5541c0===_0x9e453d;},'EPsQK':_0x14b71e(0x149),'YrAaG':function(_0x338b87,_0x17c386){return _0x338b87(_0x17c386);}};try{const _0xefe58d=this[_0x14b71e(0x11c)];this[_0x14b71e(0x11c)]=_0x2a285c,_0x2a285c[_0x14b71e(0x194)]=null,_0x2a285c[_0x14b71e(0x1e5)]=_0x2c8c62[_0x14b71e(0x134)](uuidv4),_0x2a285c[_0x14b71e(0x1af)]=new Date()['toISOString'](),_0x2c8c62[_0x14b71e(0x178)](_0x2a285c['_currentRetry'],0x0)&&_0xefe58d&&_0x2c8c62[_0x14b71e(0x193)](_0xefe58d[_0x14b71e(0x1b0)],_0x2a285c['title'])?(_0x2a285c['retryOf']=_0xefe58d[_0x14b71e(0x1e5)],await this[_0x14b71e(0xef)](_0x2a285c,undefined,![],_0x2c8c62[_0x14b71e(0x105)]),_0xefe58d[_0x14b71e(0x13f)]=STATE_FAILED,await this['sendTestRunEvent'](_0xefe58d,undefined,!![])):await this['sendTestRunEvent'](_0x2a285c,undefined,![],_0x2c8c62['EPsQK']);}catch(_0x25cd42){_0x2c8c62[_0x14b71e(0x10a)](debug,_0x14b71e(0x11d)+_0x25cd42);}};[a27_0x367e47(0xef)]=async(_0x5b4b1d,_0x4cc51b=undefined,_0x5b6f83=![],_0x53f0d9='TestRunFinished')=>{const _0x470340=a27_0x367e47,_0x1c8534={'WqZQQ':function(_0x3da909,_0x257064){return _0x3da909===_0x257064;},'mwEJp':function(_0x4af888,_0x21d010){return _0x4af888!==_0x21d010;},'IkceD':'test','Ghlcp':'err','AuDFs':function(_0x1ab1e7,_0x1e47cf){return _0x1ab1e7!==_0x1e47cf;},'yeznH':function(_0x16b1a7,_0x5abb1f){return _0x16b1a7!==_0x5abb1f;},'mBbVQ':function(_0x500e2d,_0x16edae){return _0x500e2d!==_0x16edae;},'kvESQ':_0x470340(0x1c9),'WTgIW':_0x470340(0x1f3),'fcXtG':'javascript','RSCuE':function(_0x366280,_0x452bdb){return _0x366280===_0x452bdb;},'iCYGp':_0x470340(0x155),'yUYec':_0x470340(0xee),'kPRpn':function(_0x27f7e3,_0x441121){return _0x27f7e3-_0x441121;},'BnxQa':'AssertionError','nlfbN':_0x470340(0x130),'zubCl':_0x470340(0x1af),'ukIKq':_0x470340(0x12d),'oSdhf':function(_0xa968a8,_0x1bbffc){return _0xa968a8(_0x1bbffc);},'bSAyt':'HookRunFinished','eveAa':function(_0x35cff3,_0x2b9d6f){return _0x35cff3!==_0x2b9d6f;},'Frryv':_0x470340(0x1f4),'DeHrZ':_0x470340(0x147),'hUNIH':_0x470340(0x113),'jkKFr':'failure','liQiZ':'failure_backtrace','eYTSD':'backtrace','nVcAq':_0x470340(0x1d4),'Tseqf':_0x470340(0x111),'TGAgT':_0x470340(0x1bd),'WxQrl':_0x470340(0x13c),'MXZPF':'hook_run','ivqiP':'test_run','LgGuP':function(_0x407d6e,_0x266f63){return _0x407d6e(_0x266f63);}};try{if(_0x5b4b1d[_0x470340(0xf7)]&&_0x5b4b1d[_0x470340(0xf7)][_0x470340(0x181)](/browserstack internal helper hook/))return;let _0xf6268d=[];if(_0x1c8534[_0x470340(0x207)](_0x5b4b1d[_0x470340(0x13f)],STATE_FAILED)){if(_0x1c8534[_0x470340(0x10e)](_0x5b4b1d[_0x470340(0x1b5)],undefined))_0xf6268d=_0x5b4b1d[_0x470340(0x1b5)]['multiple']?[_0x5b4b1d[_0x470340(0x1b5)]['multiple'],_0x1c8534[_0x470340(0x12c)]]:[_0x5b4b1d['err'],_0x1c8534[_0x470340(0x140)]];else _0x1c8534[_0x470340(0xf6)](_0x4cc51b,undefined)?_0xf6268d=[_0x4cc51b,_0x1c8534['Ghlcp']]:_0xf6268d=[];}const _0x4166bd=_0x1c8534[_0x470340(0x137)](_0x5b4b1d[_0x470340(0x1b5)],undefined)?_0x5b4b1d[_0x470340(0x1b5)][_0x470340(0x202)]():_0x1c8534[_0x470340(0x1bb)](_0x4cc51b,undefined)?_0x4cc51b[_0x470340(0x202)]():undefined;let _0x308e7d;try{_0x308e7d=this['getRootParentFile'](_0x5b4b1d);}catch(_0x2c4dbd){_0x308e7d=null;}const _0x41b87c=_0x308e7d?this[_0x470340(0x1a8)](_0x308e7d):null,_0x115441=_0x308e7d?this[_0x470340(0x1ad)][_0x470340(0xe9)](this[_0x470340(0x1c5)](_0x5b4b1d)):_0x1c8534[_0x470340(0x1e2)],_0x43d6b1={'framework':_0x1c8534['WTgIW'],'uuid':_0x5b4b1d[_0x470340(0x1e5)]||_0x5b4b1d[_0x470340(0x177)],'name':_0x5b4b1d[_0x470340(0x1b0)],'body':{'lang':_0x1c8534[_0x470340(0x1e0)],'code':_0x5b4b1d[_0x470340(0xf7)]},'scope':this['scope'](_0x5b4b1d),'scopes':this[_0x470340(0x162)](_0x5b4b1d),'identifier':_0x5b4b1d[_0x470340(0x1fe)](),'file_name':_0x115441,'vc_filepath':_0x41b87c?path[_0x470340(0x184)](_0x41b87c,_0x308e7d):null,'location':_0x115441,'result':_0x1c8534[_0x470340(0x1ae)](_0x53f0d9,_0x1c8534[_0x470340(0x1d5)])?_0x1c8534[_0x470340(0xe4)]:this[_0x470340(0x1bc)](_0x5b4b1d[_0x470340(0x13f)]),'failure_reason':_0x4166bd,'duration_in_ms':_0x5b4b1d['duration']||(_0x53f0d9[_0x470340(0x181)](/Finished/)||_0x53f0d9[_0x470340(0x181)](/Skipped/)?_0x1c8534[_0x470340(0x1e8)](Date[_0x470340(0x1e3)](),new Date(_0x5b4b1d[_0x470340(0x1af)])[_0x470340(0x18d)]()):null),'started_at':_0x5b4b1d[_0x470340(0x1af)],'finished_at':_0x53f0d9['match'](/Finished/)||_0x53f0d9[_0x470340(0x181)](/Skipped/)?new Date()[_0x470340(0x182)]():null,'failure':failureData[_0x470340(0x122)](null,_0xf6268d),'failure_type':!_0x4166bd?null:_0x4166bd['match'](/AssertionError/)?_0x1c8534[_0x470340(0x1ff)]:_0x1c8534[_0x470340(0x179)],'retry_of':_0x5b4b1d['retryOf']};testhubUtils[_0x470340(0x1be)](_0x43d6b1,_0x53f0d9,_0x5b4b1d,FRAMEWORKS[_0x470340(0x151)]);_0x1c8534['RSCuE'](_0x53f0d9,_0x1c8534['iCYGp'])&&!_0x43d6b1[_0x1c8534[_0x470340(0xec)]]&&(_0x43d6b1[_0x1c8534[_0x470340(0xec)]]=_0x43d6b1[_0x1c8534[_0x470340(0x187)]]);if(_0x53f0d9[_0x470340(0x181)](/HookRun/))[_0x43d6b1[_0x470340(0x13c)],_0x43d6b1[_0x470340(0x192)]]=_0x1c8534[_0x470340(0x12a)](getHookDetails,_0x5b4b1d[_0x470340(0x1fe)]()||_0x5b4b1d[_0x470340(0x10f)]||_0x5b4b1d[_0x470340(0x1b0)]),_0x1c8534[_0x470340(0x1ae)](_0x53f0d9,_0x1c8534[_0x470340(0x17c)])&&(_0x1c8534[_0x470340(0x1ed)](_0x43d6b1[_0x470340(0xf9)],_0x1c8534[_0x470340(0x128)])&&(_0x43d6b1[_0x470340(0xf9)]=_0x1c8534[_0x470340(0x1b8)]),_0x1c8534[_0x470340(0x1ae)](_0x43d6b1['hook_type'],_0x1c8534[_0x470340(0x17e)])&&_0x1c8534[_0x470340(0x1ae)](_0x43d6b1[_0x470340(0xf9)],_0x1c8534['Frryv'])&&!_0x5b4b1d[_0x470340(0x200)][_0x470340(0x1e9)][_0x470340(0x1b4)]&&(_0x5b4b1d['ctx'][_0x470340(0x1e9)]['markedStatus']=!![],_0x5b4b1d['ctx'][_0x470340(0x1e9)][_0x470340(0x13f)]=STATE_FAILED,await this[_0x470340(0xef)](_0x5b4b1d[_0x470340(0x200)]['currentTest'],undefined,!![])));else _0x53f0d9[_0x470340(0x181)](/TestRun/)&&_0x1c8534[_0x470340(0x12a)](mapTestHooks,_0x5b4b1d);const _0x17dd2f=_0x43d6b1[_0x1c8534['jkKFr']][0x0];_0x17dd2f&&(_0x43d6b1[_0x1c8534['liQiZ']]=_0x17dd2f[_0x1c8534[_0x470340(0x195)]],_0x43d6b1[_0x1c8534[_0x470340(0x1d9)]]=_0x17dd2f[_0x1c8534[_0x470340(0x1fd)]]);[_0x1c8534[_0x470340(0x191)],_0x1c8534[_0x470340(0x1d5)]][_0x470340(0x1ea)](_0x53f0d9)&&(this[_0x470340(0x208)][_0x470340(0x11a)](_0x43d6b1),_0x43d6b1[_0x470340(0x20a)]=_0x1c8534[_0x470340(0x12a)](getHooksForTest,_0x5b4b1d));const _0x235feb={'event_type':_0x1c8534['RSCuE'](_0x53f0d9,_0x1c8534['iCYGp'])?_0x1c8534[_0x470340(0x191)]:_0x53f0d9};_0x53f0d9[_0x470340(0x181)](/HookRun/)?(_0x43d6b1[_0x1c8534[_0x470340(0x1a0)]]=HOOK_TYPES_MAP[_0x43d6b1[_0x1c8534[_0x470340(0x1a0)]]],_0x235feb[_0x1c8534[_0x470340(0x13b)]]=_0x43d6b1):_0x235feb[_0x1c8534[_0x470340(0x17d)]]=_0x43d6b1,testhubUtils['setCurrentTestData'](FRAMEWORKS['MOCHA'],_0x235feb),await SessionHandler[_0x470340(0x1cf)](_0x235feb);}catch(_0x23cff7){_0x1c8534[_0x470340(0x1f0)](debug,_0x470340(0x16e)+_0x53f0d9+_0x470340(0x1ac)+_0x23cff7);}};[a27_0x367e47(0x1a8)](_0x103ca5){const _0x5157c9=a27_0x367e47,_0x15286e={};_0x15286e[_0x5157c9(0x1bf)]=function(_0x2dc429,_0xad15eb){return _0x2dc429===_0xad15eb;},_0x15286e['dBIOG']=function(_0x101d01,_0x2fa501){return _0x101d01===_0x2fa501;},_0x15286e['xxnAd']='.git',_0x15286e[_0x5157c9(0xf4)]=_0x5157c9(0x18e);const _0x2b3159=_0x15286e,_0x1d4bce=path[_0x5157c9(0x1b2)];if(_0x2b3159['sNJLn'](_0x103ca5,null)||_0x2b3159[_0x5157c9(0x185)](_0x103ca5,'')||_0x2b3159[_0x5157c9(0x185)](_0x103ca5,_0x1d4bce))return null;try{return fs[_0x5157c9(0x167)](path[_0x5157c9(0x1c6)](_0x103ca5,_0x2b3159[_0x5157c9(0x125)],_0x2b3159[_0x5157c9(0xf4)])),_0x103ca5;}catch(_0x998764){const _0x5bc00a=path[_0x5157c9(0x142)](_0x103ca5);return this[_0x5157c9(0x1a8)](_0x5bc00a);}}[a27_0x367e47(0xfa)]=async _0x391e8b=>{const _0x2a88a3=a27_0x367e47,_0x196708={'NMpQg':_0x2a88a3(0x1c0),'qjUsQ':function(_0x5a92a2,_0x2530f7){return _0x5a92a2(_0x2530f7);}};try{this[_0x2a88a3(0x14b)]&&!this[_0x2a88a3(0x14b)][_0x2a88a3(0x1b4)]&&(_0x391e8b['hook_run_uuid']=this[_0x2a88a3(0x14b)][_0x2a88a3(0x177)]);!_0x391e8b[_0x2a88a3(0x1f6)]&&this[_0x2a88a3(0x11c)]&&!this[_0x2a88a3(0x11c)][_0x2a88a3(0x1b4)]&&(_0x391e8b[_0x2a88a3(0x100)]=this['current_test']['testAnalyticsId']);if(_0x391e8b[_0x2a88a3(0x1f6)]||_0x391e8b[_0x2a88a3(0x100)]){const _0x2e7959={};_0x2e7959['event_type']=_0x196708[_0x2a88a3(0x1fc)],_0x2e7959['logs']=[_0x391e8b],await SessionHandler[_0x2a88a3(0x1cf)](_0x2e7959);}}catch(_0x507e7a){_0x196708['qjUsQ'](debug,_0x2a88a3(0xf5)+_0x507e7a);}};[a27_0x367e47(0x118)]=async _0x289388=>{const _0xda7446=a27_0x367e47,_0x1a2bea={'CjgJn':'http_response','avEqT':_0xda7446(0x1ee),'kMOat':function(_0x5a932c,_0xe52ee7){return _0x5a932c(_0xe52ee7);}};try{const _0x405d73={};_0x405d73[_0xda7446(0x1c3)]=_0x289388['uuid']||this['current_test'][_0xda7446(0x1e5)],_0x405d73['integrations']=_0x289388[_0x1a2bea[_0xda7446(0x16c)]];const _0x17275b=_0x405d73,_0x4473ee={};_0x4473ee[_0xda7446(0x17a)]=_0x1a2bea[_0xda7446(0x175)],_0x4473ee['test_run']=_0x17275b,await SessionHandler[_0xda7446(0x1cf)](_0x4473ee);}catch(_0x221124){_0x1a2bea[_0xda7446(0x13d)](debug,_0xda7446(0x180)+_0x221124);}};[a27_0x367e47(0x1bc)](_0x705b41){const _0x54c5c4=a27_0x367e47,_0x5d0e26={};_0x5d0e26['nrIVR']=_0x54c5c4(0x147),_0x5d0e26[_0x54c5c4(0x188)]=_0x54c5c4(0x136),_0x5d0e26[_0x54c5c4(0x10d)]='failed';const _0x34925a=_0x5d0e26,_0x55c6fb={};return _0x55c6fb[STATE_PASSED]=_0x34925a['nrIVR'],_0x55c6fb[STATE_PENDING]=_0x34925a[_0x54c5c4(0x188)],_0x55c6fb[STATE_FAILED]=_0x34925a[_0x54c5c4(0x10d)],_0x55c6fb[_0x705b41];}[a27_0x367e47(0x15c)](_0x2dc265){const _0xe6a0b9=a27_0x367e47,_0x1cd335={};_0x1cd335[_0xe6a0b9(0x1d1)]=function(_0x3bbb55,_0x563080){return _0x3bbb55-_0x563080;};const _0x2e984a=_0x1cd335,_0x4de4b2=_0x2dc265['titlePath']();return _0x4de4b2[_0xe6a0b9(0x119)](0x0,_0x2e984a[_0xe6a0b9(0x1d1)](_0x4de4b2[_0xe6a0b9(0x1aa)],0x1))[_0xe6a0b9(0x1c6)]('\x20');}['scopes'](_0x315f08){const _0x120364=a27_0x367e47,_0x25e093={};_0x25e093[_0x120364(0x203)]=function(_0xb89ace,_0x5c17b6){return _0xb89ace-_0x5c17b6;};const _0x6f757a=_0x25e093,_0x19ad5f=_0x315f08[_0x120364(0x123)]();return _0x19ad5f[_0x120364(0x119)](0x0,_0x6f757a[_0x120364(0x203)](_0x19ad5f['length'],0x1));}['getRootParentFile'](_0x42129b){const _0x180fb6=a27_0x367e47,_0x3deb22={};_0x3deb22[_0x180fb6(0x150)]=function(_0x1dfcc0,_0x2fc1af){return _0x1dfcc0>_0x2fc1af;};const _0xc90543=_0x3deb22;if(_0x42129b[_0x180fb6(0xfc)])return _0x42129b['file'];if(_0x42129b[_0x180fb6(0x200)]){const _0x545a2c=_0x42129b['ctx'][_0x180fb6(0x1e9)]?this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0x200)]['currentTest']):null;if(_0x545a2c)return _0x545a2c;}if(_0x42129b['parent']){const _0x2c1e04=this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0xea)])||(_0x42129b['parent'][_0x180fb6(0x200)]&&_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x200)][_0x180fb6(0x1e9)]?this[_0x180fb6(0x1c5)](_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x200)][_0x180fb6(0x1e9)]):null);if(_0x2c1e04)return _0x2c1e04;_0x42129b[_0x180fb6(0xea)]['suites']&&_0xc90543[_0x180fb6(0x150)](_0x42129b['parent'][_0x180fb6(0x126)]['length'],0x0)&&_0x42129b[_0x180fb6(0xea)][_0x180fb6(0x126)][_0x180fb6(0x120)](_0x2d8ea9=>{const _0x583e19=_0x180fb6,_0x336395=_0x2d8ea9[_0x583e19(0x200)]?this[_0x583e19(0x1c5)](_0x2d8ea9['ctx']):null;if(_0x336395)return _0x336395;});}return null;}}function a27_0x37de(){const _0x504aa7=['err','../../../helpers/test-observability/requestQueueHandler','8511912UyqZyp','DeHrZ','__indents','\x20\x20<dd\x20class=\x22error\x22><pre><code>','mBbVQ','analyticsResult','TestRunFinished','appendTesthubParams','sNJLn','LogCreated','suite','\x20\x20<dt\x20class=\x22error\x22>','uuid','sxwKT','getRootParentFile','join','AZIed','after\x20all','File\x20path\x20could\x20not\x20be\x20found','\x20-\x20','</dd>','<section\x20class=\x22suite\x22>','testObservability','../../../helpers/helper','uploadEventData','2902560mdLdLG','aWmRJ','wXidX','slow','failure_reason_expanded','iCYGp','indent','<dl>','../../../helpers/testhub/constants','nVcAq','HookStarted','stdout','AFTER_EACH','bind','inspect','kAEjH','fcXtG','11633985VrLRaw','kvESQ','now','dYmKb','testAnalyticsId','shutdown','</h1>','kPRpn','currentTest','includes','nqSCF','NFGCV','eveAa','CBTSessionCreated','imDNP','LgGuP','symbols','getInstance','Mocha','failed','Runner','hook_run_uuid','error','VawAH','BEFORE_ALL','xBkGm','1156zbnnBp','NMpQg','Tseqf','fullTitle','BnxQa','ctx','fPbHz','toString','AZPXR','testStarted','ocPhc','%s\x20','WqZQQ','_testResults','constants','hooks','pass','bright\x20yellow','yUYec','teoMQ','GfJfi','22311FMcYcF','_testEnv','prefixTestPath','parent','mocha/lib/reporters/base.js','zubCl','BPGdG','skipped','sendTestRunEvent','</dl>','dxjkx','HookRunStarted','14515oxDjRX','AUuXT','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','AuDFs','body','KitaG','result','appendTestItemLog','tICAL','file','before\x20all','</section>','speed','test_run_uuid','YDwtV','oQvsh','EBYNE','yvWTS','EPsQK','light','</dt>','reporterOptions','finalResults','YrAaG','prototype','GGNcl','eeAHe','mwEJp','originalTitle','opIfZ','expanded','consoleLog','before\x20each','PSXyU','mecyH','\x20\x20<dt>','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','appendTestPlatform','slice','push','VWIkJ','current_test','Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20','UDQAo','kMPBi','forEach','\x20\x20<dd\x20class=\x22error\x22>','apply','titlePath','checkmark','xxnAd','suites','fast','Frryv','\x20\x20%d)\x20%s','oSdhf','bs:addLog:','IkceD','finished_at','1318401DMbhbW','\x20(%dms)','UnhandledError','KccNw','4019106zkYnno','GXvpv','hPPkE','color','pending','yeznH','root','clean','DBhSc','MXZPF','hook_type','kMOat','registerListeners','state','Ghlcp','nCXIB','dirname','</code></pre></dd>','runner','removeAllListeners','zTSlC','passed','HookFinished','TestRunStarted','YFsKT','current_hook','DzTXe','YMTiq','ymAIg','docHtml','mmHrR','MOCHA','EVENT','%s\x20-\x20%s','type','TestRunSkipped','util','done','zLHJw','qpAoT','.js','_indents','scope','path','yrYLu','sdKNi','mocha/lib/reporters/','write','scopes','spec','pgUPp','TpthV','wzqLJ','statSync','NtrKr','increaseIndent','__platform__','reporterOption','CjgJn','gNyWH','Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20','shouldProcessEventForTesthub','green','dot','WNDvL','BEFORE_EACH','<h1>','avEqT','failCount','hookAnalyticsId','lbQBQ','nlfbN','event_type','RUNNING','bSAyt','ivqiP','hUNIH','bs:addPlatformDetails:','Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20','match','toISOString','fail','relative','dBIOG','results','ukIKq','MsHEc','Reporter','\x20\x20<dd><pre><code>','kQtEl','pid','getTime','config','escape','mocha','TGAgT','name','XWrgc','retryOf','eYTSD','CTcQz','26Ppvuko','../../../helpers/test-observability/utils','once','1|0|3|2|4','bsConfig','duration','fHUcO','YNCCJ','qKpOV','WxQrl','currentRetry','bPbDF','decreaseIndent','docAppend','ElGHB','kakgh','cvElS','findGitConfig','isPending','length','RWCmi','\x20with\x20error\x20:\x20','_paths','RSCuE','started_at','title','../../../helpers/test-observability/constants','sep','SXWeg','markedStatus'];a27_0x37de=function(){return _0x504aa7;};return a27_0x37de();}module['exports']=MyReporter;
|
|
1
|
+
'use strict';function a27_0x5dcb(_0x5684f0,_0x4e13e0){const _0x3b5a50=a27_0x3b5a();return a27_0x5dcb=function(_0x5dcbbb,_0x105f6a){_0x5dcbbb=_0x5dcbbb-0x9e;let _0x4574d0=_0x3b5a50[_0x5dcbbb];return _0x4574d0;},a27_0x5dcb(_0x5684f0,_0x4e13e0);}const a27_0x6cdd04=a27_0x5dcb;(function(_0x496149,_0x10ce54){const _0x2252fd=a27_0x5dcb,_0x4e9281=_0x496149();while(!![]){try{const _0x4d25c3=parseInt(_0x2252fd(0x10c))/0x1+parseInt(_0x2252fd(0xf7))/0x2+-parseInt(_0x2252fd(0x12f))/0x3+-parseInt(_0x2252fd(0x13c))/0x4*(parseInt(_0x2252fd(0x133))/0x5)+-parseInt(_0x2252fd(0xb7))/0x6*(parseInt(_0x2252fd(0x11c))/0x7)+-parseInt(_0x2252fd(0xe7))/0x8+parseInt(_0x2252fd(0x1b2))/0x9;if(_0x4d25c3===_0x10ce54)break;else _0x4e9281['push'](_0x4e9281['shift']());}catch(_0x18af7b){_0x4e9281['push'](_0x4e9281['shift']());}}}(a27_0x3b5a,0xd76de));const util=require(a27_0x6cdd04(0x1a2)),fs=require('fs'),path=require(a27_0x6cdd04(0x15f)),{requireModule}=require('../../../helpers/helper'),Base=requireModule('mocha/lib/reporters/base.js'),utils=requireModule(a27_0x6cdd04(0x184)),color=Base[a27_0x6cdd04(0x115)],Mocha=requireModule(a27_0x6cdd04(0xc0)),Runnable=requireModule(a27_0x6cdd04(0x144)),{v4:uuidv4}=require(a27_0x6cdd04(0x191)),bsSetupHelper=require('../../../helpers/helper'),testhubUtils=require(a27_0x6cdd04(0xd0)),testHubConstants=require(a27_0x6cdd04(0x17b)),{FRAMEWORKS}=require(a27_0x6cdd04(0x17c)),a27_0x4e07a6={};a27_0x4e07a6[a27_0x6cdd04(0x13a)]='BEFORE_ALL',a27_0x4e07a6[a27_0x6cdd04(0x120)]=a27_0x6cdd04(0x168),a27_0x4e07a6[a27_0x6cdd04(0x189)]='BEFORE_EACH',a27_0x4e07a6[a27_0x6cdd04(0x147)]=a27_0x6cdd04(0x172);const HOOK_TYPES_MAP=a27_0x4e07a6,{EVENT_RUN_END,EVENT_TEST_BEGIN,EVENT_TEST_END,EVENT_TEST_PENDING,EVENT_RUN_BEGIN,EVENT_TEST_FAIL,EVENT_TEST_PASS,EVENT_SUITE_BEGIN,EVENT_SUITE_END,EVENT_HOOK_BEGIN,EVENT_HOOK_END}=Mocha[a27_0x6cdd04(0x19f)][a27_0x6cdd04(0x152)],{STATE_PASSED,STATE_PENDING,STATE_FAILED}=Runnable[a27_0x6cdd04(0x152)],{getTestEnv,getHookDetails,getHooksForTest,mapTestHooks,getHookSkippedTests}=require(a27_0x6cdd04(0x149)),{consoleHolder}=require(a27_0x6cdd04(0x17c)),SessionHandler=require(a27_0x6cdd04(0x18d)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a27_0x6cdd04(0x15a)),requestQueueHandler=RequestQueueHandler['getInstance']();class MyReporter{constructor(_0x2cf0a1,_0x2056dc){const _0x274610=a27_0x6cdd04,_0x3a18d9={'frbWU':function(_0x431cf2,_0xd1233e){return _0x431cf2===_0xd1233e;},'HJhuv':'spec','SlzTA':function(_0x3415b6,_0x1bc27e){return _0x3415b6===_0x1bc27e;},'FqXJt':function(_0x1d014f,_0x45d04b){return _0x1d014f+_0x45d04b;},'PwWio':function(_0x3f17cd,_0x36b8e5){return _0x3f17cd+_0x36b8e5;},'qKdRW':function(_0x1165d3,_0x424da2,_0x1c7be0){return _0x1165d3(_0x424da2,_0x1c7be0);},'nXktp':_0x274610(0xb3),'qpITa':_0x274610(0x13d),'nqBGw':_0x274610(0x177),'pLotl':'%s\x20-\x20%s','Bnlwh':'RUNNING','sQHRb':function(_0x2cc9f7,_0x48477e){return _0x2cc9f7===_0x48477e;},'ZwGdc':_0x274610(0x14f),'GsTpF':function(_0x1684a9){return _0x1684a9();},'yiTQz':function(_0x19b90c){return _0x19b90c();},'pxriD':_0x274610(0x1b7),'MsqUo':function(_0x57ed56,_0x1edf1c){return _0x57ed56===_0x1edf1c;},'vlziz':_0x274610(0x124),'UqhRT':function(_0x1f9d02,_0x1d0b44){return _0x1f9d02===_0x1d0b44;},'diXmq':'passed','cAjSK':function(_0x1575cc,_0x435ef3){return _0x1575cc===_0x435ef3;},'oPgaK':'fast','KphPz':function(_0x7935eb,_0x16ea9b){return _0x7935eb+_0x16ea9b;},'BgtwT':function(_0x537776,_0x591b5c,_0x80492a){return _0x537776(_0x591b5c,_0x80492a);},'NccnD':_0x274610(0x190),'XDAIA':function(_0x3dd726,_0x2256cb){return _0x3dd726+_0x2256cb;},'cmQPW':_0x274610(0x132),'CwmnL':_0x274610(0xac),'ZCIVm':function(_0x1a8532,_0x503569){return _0x1a8532+_0x503569;},'KEBze':function(_0x1a8027,_0x2185dd){return _0x1a8027+_0x2185dd;},'ciFqi':function(_0x45b9ca,_0x54febe,_0x40b55e){return _0x45b9ca(_0x54febe,_0x40b55e);},'dcvHk':function(_0x4ad32f,_0x5b254f,_0x216ca6){return _0x4ad32f(_0x5b254f,_0x216ca6);},'sytHI':'\x20(%dms)','IuWQD':'fail','OPtjd':_0x274610(0x131),'EEDWS':function(_0xab5028,_0x5967a6){return _0xab5028+_0x5967a6;},'IwLaR':function(_0x521582,_0x5b5e2a){return _0x521582+_0x5b5e2a;},'eXGJn':_0x274610(0x14e),'SoYqp':_0x274610(0x126),'mZotX':function(_0x3a3e92,_0x2efa5d){return _0x3a3e92===_0x2efa5d;},'uGzSy':'dot','GXrMi':function(_0x1f545f,_0x259af6){return _0x1f545f===_0x259af6;},'DKtBE':_0x274610(0x108),'fQjEJ':function(_0x22b31e,_0x522d97){return _0x22b31e===_0x522d97;},'YsuUf':_0x274610(0xd6),'oDRax':function(_0x34f5ae,_0x122396){return _0x34f5ae===_0x122396;},'rlzIK':_0x274610(0xee),'HqTqZ':_0x274610(0xa4),'NBysR':function(_0x38f49b,_0x538c0f){return _0x38f49b===_0x538c0f;},'ydkzG':function(_0x417670,_0x18f96a){return _0x417670(_0x18f96a);},'HRgjg':function(_0xe3e084){return _0xe3e084();},'cSvNp':function(_0x4b45f3,_0x1143bc){return _0x4b45f3===_0x1143bc;},'JxjgL':function(_0x5c5e94){return _0x5c5e94();},'BOFJp':'xunit','EyMhr':function(_0x3b5062,_0x2d03e1){return _0x3b5062(_0x2d03e1);},'myVQx':function(_0x4d0fec,_0x161e1d){return _0x4d0fec===_0x161e1d;},'AJHsL':function(_0xde46fa,_0x4fa341){return _0xde46fa(_0x4fa341);},'FxebS':function(_0x4d8bdb,_0x22921a){return _0x4d8bdb!==_0x22921a;}};this[_0x274610(0x169)]=_0x2056dc[_0x274610(0xfd)]['type'],this[_0x274610(0x198)]=_0x3a18d9[_0x274610(0x106)](isTestObservabilitySession),Base[_0x274610(0x19b)](this,_0x2cf0a1,_0x2056dc),this[_0x274610(0x1ba)]=0x0,this[_0x274610(0xef)]=0x0,this[_0x274610(0x1aa)]=[],this[_0x274610(0x1a5)]=[],this['suiteCount']=0x0,this[_0x274610(0x165)]=![],this[_0x274610(0x18c)]=[],this['_testEnv']=_0x3a18d9[_0x274610(0xce)](getTestEnv),this[_0x274610(0xdb)]=new PathHelper({'cwd':process[_0x274610(0x18a)]()},this['_testEnv']['location_prefix']),this[_0x274610(0x12e)]=_0x2056dc[_0x274610(0xfd)]['bsConfig'],this[_0x274610(0x11d)]();_0x3a18d9[_0x274610(0x100)](this[_0x274610(0x169)],_0x3a18d9['ZwGdc'])&&(this['docHtml']='',this['__indents']=0x2);_0x2cf0a1[_0x274610(0x137)](EVENT_RUN_BEGIN,async()=>{const _0xe4ffd3=_0x274610;_0x3a18d9[_0xe4ffd3(0x1ac)](this[_0xe4ffd3(0x169)],_0x3a18d9['HJhuv'])&&Base['consoleLog']();})['on'](EVENT_SUITE_BEGIN,_0x311a12=>{const _0x1559ad=_0x274610;if(_0x311a12[_0x1559ad(0x101)])return;if(_0x3a18d9[_0x1559ad(0x188)](this['type'],_0x3a18d9['HJhuv']))this[_0x1559ad(0x17f)](),Base['consoleLog'](_0x3a18d9[_0x1559ad(0x1ad)](_0x3a18d9[_0x1559ad(0x10d)](this[_0x1559ad(0x18e)](),_0x3a18d9[_0x1559ad(0xd1)](color,_0x3a18d9[_0x1559ad(0xe0)],_0x3a18d9[_0x1559ad(0x158)])),_0x3a18d9['qKdRW'](color,_0x3a18d9[_0x1559ad(0x150)],_0x3a18d9['pLotl'])),_0x3a18d9[_0x1559ad(0x138)],_0x311a12[_0x1559ad(0x9e)],global[_0x1559ad(0xdd)]);else _0x3a18d9[_0x1559ad(0x100)](this[_0x1559ad(0x169)],_0x3a18d9['ZwGdc'])&&(this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+_0x1559ad(0x11f)),++this[_0x1559ad(0x1b8)],this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+'<h1>'+utils[_0x1559ad(0x117)](_0x311a12[_0x1559ad(0x9e)]+_0x1559ad(0x16b)+global[_0x1559ad(0xdd)])+'</h1>'),this[_0x1559ad(0x199)](this[_0x1559ad(0x18e)]()+_0x1559ad(0x1a7)));})['on'](EVENT_HOOK_BEGIN,async _0x205a17=>{const _0x80e3be=_0x274610;if(_0x3a18d9[_0x80e3be(0x188)](testhubUtils[_0x80e3be(0xbb)](testHubConstants['EVENT'][_0x80e3be(0x1a8)]),!![])){if(!_0x205a17[_0x80e3be(0x192)])_0x205a17[_0x80e3be(0x192)]=_0x3a18d9[_0x80e3be(0xf9)](uuidv4);else _0x205a17[_0x80e3be(0x186)]&&(_0x205a17[_0x80e3be(0x192)]=_0x3a18d9[_0x80e3be(0xaa)](uuidv4),delete _0x205a17[_0x80e3be(0x186)]);_0x205a17[_0x80e3be(0xde)]=new Date()[_0x80e3be(0xe6)](),this[_0x80e3be(0x1b0)]=_0x205a17,await this[_0x80e3be(0x15c)](_0x205a17,undefined,![],_0x3a18d9['pxriD']);}})['on'](EVENT_HOOK_END,async _0x4f60dd=>{const _0xbc2891=_0x274610;_0x3a18d9['MsqUo'](testhubUtils[_0xbc2891(0xbb)](testHubConstants[_0xbc2891(0x116)]['HookFinished']),!![])&&(!_0x4f60dd[_0xbc2891(0x186)]&&(_0x4f60dd['markedStatus']=!![],await this[_0xbc2891(0x15c)](_0x4f60dd,undefined,![],_0x3a18d9[_0xbc2891(0xd4)])));})['on'](EVENT_SUITE_END,_0x4be6e0=>{const _0x56ae09=_0x274610;if(_0x4be6e0[_0x56ae09(0x101)])return;if(_0x3a18d9[_0x56ae09(0x100)](this[_0x56ae09(0x169)],_0x3a18d9[_0x56ae09(0x170)]))Base[_0x56ae09(0x195)](),Base['consoleLog'](_0x3a18d9[_0x56ae09(0x185)](_0x3a18d9['IwLaR'](this[_0x56ae09(0x18e)](),_0x3a18d9[_0x56ae09(0x1a6)](color,_0x3a18d9['eXGJn'],_0x3a18d9[_0x56ae09(0x158)])),_0x3a18d9[_0x56ae09(0x182)](color,_0x3a18d9[_0x56ae09(0x150)],_0x3a18d9[_0x56ae09(0x105)])),_0x3a18d9[_0x56ae09(0xc9)],_0x4be6e0['title'],global[_0x56ae09(0xdd)]),this[_0x56ae09(0x1aa)][_0x56ae09(0xe5)](_0x4a8d3b=>{const _0x1ab69e=_0x56ae09;if(_0x3a18d9['UqhRT'](_0x4a8d3b[_0x1ab69e(0xba)],_0x3a18d9['diXmq'])){var _0x4fa01f;_0x3a18d9['cAjSK'](_0x4a8d3b[_0x1ab69e(0xdc)],_0x3a18d9['oPgaK'])?(_0x4fa01f=_0x3a18d9[_0x1ab69e(0x1ad)](_0x3a18d9[_0x1ab69e(0x130)](this[_0x1ab69e(0x18e)](),_0x3a18d9[_0x1ab69e(0x1a6)](color,_0x3a18d9['NccnD'],_0x3a18d9[_0x1ab69e(0xf3)]('\x20\x20',Base[_0x1ab69e(0xb8)]['ok']))),_0x3a18d9[_0x1ab69e(0xd1)](color,_0x3a18d9[_0x1ab69e(0xa3)],_0x3a18d9[_0x1ab69e(0x183)])),Base[_0x1ab69e(0x195)](_0x4fa01f,_0x4a8d3b[_0x1ab69e(0x9e)])):(_0x4fa01f=_0x3a18d9['ZCIVm'](_0x3a18d9['KEBze'](_0x3a18d9[_0x1ab69e(0x1ad)](this[_0x1ab69e(0x18e)](),_0x3a18d9[_0x1ab69e(0x182)](color,_0x3a18d9[_0x1ab69e(0xfc)],_0x3a18d9[_0x1ab69e(0xf3)]('\x20\x20',Base[_0x1ab69e(0xb8)]['ok']))),_0x3a18d9[_0x1ab69e(0xd1)](color,_0x3a18d9['cmQPW'],_0x3a18d9[_0x1ab69e(0x183)])),_0x3a18d9[_0x1ab69e(0x167)](color,_0x4a8d3b[_0x1ab69e(0xdc)],_0x3a18d9[_0x1ab69e(0xfa)])),Base[_0x1ab69e(0x195)](_0x4fa01f,_0x4a8d3b['title'],_0x4a8d3b['duration']));}else Base[_0x1ab69e(0x195)](_0x3a18d9[_0x1ab69e(0x142)](this['indent'](),_0x3a18d9[_0x1ab69e(0x1a6)](color,_0x3a18d9[_0x1ab69e(0xa5)],_0x3a18d9[_0x1ab69e(0xc3)])),++this[_0x1ab69e(0xef)],_0x4a8d3b[_0x1ab69e(0x9e)]);}),this['decreaseIndent']();else _0x3a18d9[_0x56ae09(0x193)](this[_0x56ae09(0x169)],_0x3a18d9[_0x56ae09(0x12c)])&&(this[_0x56ae09(0x199)](this[_0x56ae09(0x18e)]()+_0x56ae09(0x173)),--this[_0x56ae09(0x1b8)],this['docAppend'](this[_0x56ae09(0x18e)]()+_0x56ae09(0x114)),--this['__indents']);Array[_0x56ae09(0xa7)][_0x56ae09(0xe3)][_0x56ae09(0x14c)](this[_0x56ae09(0x1a5)],this[_0x56ae09(0x1aa)]),this['results']=[];})['on'](EVENT_TEST_PASS,async _0x492443=>{const _0x2e6096=_0x274610;this[_0x2e6096(0x1aa)][_0x2e6096(0xe3)]({'speed':_0x492443[_0x2e6096(0xdc)],'suite':_0x492443[_0x2e6096(0x151)][_0x2e6096(0x9e)],'title':_0x492443[_0x2e6096(0x9e)],'fullTitle':_0x492443[_0x2e6096(0xc8)](),'duration':_0x492443[_0x2e6096(0xbe)],'state':_0x492443[_0x2e6096(0xba)],'err':{},'currentRetry':_0x492443[_0x2e6096(0xf2)](),'titlePathV':_0x492443[_0x2e6096(0x111)](),'isPending':_0x492443[_0x2e6096(0xc7)]()});if(_0x3a18d9[_0x2e6096(0x159)](this['type'],_0x3a18d9['uGzSy']))_0x3a18d9[_0x2e6096(0x164)](_0x492443[_0x2e6096(0xdc)],_0x3a18d9[_0x2e6096(0xed)])?process[_0x2e6096(0x155)][_0x2e6096(0x1b6)](Base[_0x2e6096(0x115)](_0x3a18d9['eXGJn'],Base['symbols'][_0x2e6096(0x163)])):process[_0x2e6096(0x155)][_0x2e6096(0x1b6)](Base[_0x2e6096(0x115)](_0x492443[_0x2e6096(0xdc)],Base[_0x2e6096(0xb8)][_0x2e6096(0x163)]));else{if(_0x3a18d9['MsqUo'](this[_0x2e6096(0x169)],_0x3a18d9[_0x2e6096(0x12c)])){this[_0x2e6096(0x199)](this['indent']()+'\x20\x20<dt>'+utils[_0x2e6096(0x117)](_0x492443[_0x2e6096(0x9e)])+_0x2e6096(0x107)),this[_0x2e6096(0x199)](this[_0x2e6096(0x18e)]()+_0x2e6096(0x16e)+utils[_0x2e6096(0x117)](_0x492443[_0x2e6096(0xe4)])+'</dt>');var _0x79214=utils[_0x2e6096(0x117)](utils[_0x2e6096(0x162)](_0x492443[_0x2e6096(0xa0)]));this[_0x2e6096(0x199)](this[_0x2e6096(0x18e)]()+_0x2e6096(0xc6)+_0x79214+_0x2e6096(0x123));}}_0x3a18d9[_0x2e6096(0x11e)](testhubUtils[_0x2e6096(0xbb)](),!![])&&(!_0x492443['markedStatus']&&(_0x492443[_0x2e6096(0x186)]=!![],await this[_0x2e6096(0x15c)](_0x492443)));})['on'](EVENT_TEST_FAIL,async(_0x97c98b,_0xc74b66)=>{const _0x406d39=_0x274610;this[_0x406d39(0x1aa)][_0x406d39(0xe3)]({'title':_0x97c98b[_0x406d39(0x9e)],'suite':_0x97c98b[_0x406d39(0x151)][_0x406d39(0x9e)],'state':_0x97c98b[_0x406d39(0xba)],'err':{'message':util[_0x406d39(0x141)](_0xc74b66)},'fullTitle':_0x97c98b['fullTitle'](),'speed':_0x97c98b['speed'],'currentRetry':_0x97c98b['currentRetry'](),'titlePathV':_0x97c98b[_0x406d39(0x111)]()});if(_0x3a18d9[_0x406d39(0x17e)](this[_0x406d39(0x169)],_0x3a18d9[_0x406d39(0x19e)]))process[_0x406d39(0x155)][_0x406d39(0x1b6)](Base[_0x406d39(0x115)](_0x3a18d9[_0x406d39(0xa5)],Base[_0x406d39(0xb8)][_0x406d39(0x175)]));else{if(_0x3a18d9['SlzTA'](this[_0x406d39(0x169)],_0x3a18d9['ZwGdc'])){const _0x1ba0c5=_0x3a18d9['YsuUf'][_0x406d39(0x160)]('|');let _0x1943a2=0x0;while(!![]){switch(_0x1ba0c5[_0x1943a2++]){case'0':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+_0x406d39(0x1a1)+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0xa9)])+_0x406d39(0xc2));continue;case'1':var _0x26778f=utils[_0x406d39(0x117)](utils[_0x406d39(0x162)](_0x97c98b[_0x406d39(0xa0)]));continue;case'2':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0x9e)])+_0x406d39(0x107));continue;case'3':this[_0x406d39(0x199)](this['indent']()+_0x406d39(0x11a)+_0x26778f+_0x406d39(0x123));continue;case'4':this[_0x406d39(0x199)](this[_0x406d39(0x18e)]()+'\x20\x20<dt\x20class=\x22error\x22>'+utils[_0x406d39(0x117)](_0x97c98b[_0x406d39(0xe4)])+_0x406d39(0x107));continue;}break;}}}if(_0x3a18d9[_0x406d39(0xcb)](testhubUtils[_0x406d39(0xbb)](testHubConstants[_0x406d39(0x116)]['HookFinished']),!![])){if(!_0x97c98b[_0x406d39(0x186)]){_0x97c98b['markedStatus']=!![];if(_0x97c98b['testAnalyticsId'])await this[_0x406d39(0x15c)](_0x97c98b,_0xc74b66);else _0x97c98b[_0x406d39(0x192)]&&await this[_0x406d39(0x15c)](_0x97c98b,_0xc74b66,![],_0x3a18d9[_0x406d39(0xd4)]);}}})['on'](EVENT_TEST_PENDING,async _0x2f18fb=>{const _0x31b7eb=_0x274610;this['results'][_0x31b7eb(0xe3)]({'title':_0x2f18fb[_0x31b7eb(0x9e)],'suite':_0x2f18fb[_0x31b7eb(0x151)]['title'],'state':_0x2f18fb[_0x31b7eb(0xba)],'err':{},'fullTitle':_0x2f18fb[_0x31b7eb(0xc8)](),'speed':_0x2f18fb['speed'],'currentRetry':_0x2f18fb[_0x31b7eb(0xf2)](),'titlePathV':_0x2f18fb[_0x31b7eb(0x111)]()}),_0x3a18d9['MsqUo'](this[_0x31b7eb(0x169)],_0x3a18d9['uGzSy'])&&process[_0x31b7eb(0x155)][_0x31b7eb(0x1b6)](Base['color'](_0x3a18d9['rlzIK'],Base[_0x31b7eb(0xb8)][_0x31b7eb(0x1ae)])),_0x3a18d9['cAjSK'](testhubUtils[_0x31b7eb(0xbb)](),!![])&&(!_0x2f18fb['testAnalyticsId']&&(_0x2f18fb[_0x31b7eb(0xcd)]=_0x3a18d9['GsTpF'](uuidv4)),!_0x2f18fb['markedStatus']&&(_0x2f18fb['markedStatus']=!![],await this[_0x31b7eb(0x15c)](_0x2f18fb,undefined,![],_0x3a18d9[_0x31b7eb(0x1b3)])));})['on'](EVENT_TEST_BEGIN,async _0x5e43d7=>{const _0x1fb0c0=_0x274610;_0x3a18d9[_0x1fb0c0(0x11b)](testhubUtils[_0x1fb0c0(0xbb)](),!![])&&await this[_0x1fb0c0(0x176)](_0x5e43d7);})['on'](EVENT_TEST_END,async _0x27a59=>{const _0x3c3b26=_0x274610;_0x3a18d9[_0x3c3b26(0x11e)](testhubUtils[_0x3c3b26(0xbb)](),!![])&&(!_0x27a59['markedStatus']&&(_0x27a59[_0x3c3b26(0x186)]=!![],await this['sendTestRunEvent'](_0x27a59)));})[_0x274610(0x137)](EVENT_RUN_END,async()=>{const _0x52b1c4=_0x274610;try{if(_0x3a18d9[_0x52b1c4(0x1bb)](testhubUtils[_0x52b1c4(0xbb)](),!![])){const _0x286f1d=_0x3a18d9[_0x52b1c4(0xb6)](getHookSkippedTests,this[_0x52b1c4(0x178)]['suite']);for(const _0x5d784f of _0x286f1d){!_0x5d784f[_0x52b1c4(0xcd)]&&(_0x5d784f[_0x52b1c4(0xcd)]=_0x3a18d9[_0x52b1c4(0x106)](uuidv4)),await this['sendTestRunEvent'](_0x5d784f,undefined,![],_0x3a18d9[_0x52b1c4(0x1b3)]);}}}catch(_0x4538ad){_0x3a18d9[_0x52b1c4(0xb6)](debug,_0x52b1c4(0x171)+_0x4538ad);}await requestQueueHandler[_0x52b1c4(0x1bc)](),_0x3a18d9[_0x52b1c4(0xfe)](this[_0x52b1c4(0x169)],_0x3a18d9[_0x52b1c4(0x12c)])&&Base[_0x52b1c4(0x195)](this[_0x52b1c4(0x118)]);});if(this[_0x274610(0x169)]&&![_0x3a18d9[_0x274610(0x12c)],_0x3a18d9['BOFJp'],_0x3a18d9[_0x274610(0x170)],_0x3a18d9[_0x274610(0x19e)]][_0x274610(0x129)](this[_0x274610(0x169)])){const _0x5a8053=this[_0x274610(0x169)][_0x274610(0x153)]();this[_0x274610(0x174)]=null;try{this[_0x274610(0x174)]=_0x3a18d9[_0x274610(0x196)](requireModule,_0x274610(0xe2)+_0x5a8053+'.js');}catch{}if(_0x3a18d9[_0x274610(0xbc)](this['Reporter'],null))try{this['Reporter']=_0x3a18d9[_0x274610(0x18f)](require,_0x5a8053);}catch(_0x1b9487){console[_0x274610(0x19d)]('Failed\x20to\x20load\x20reporter\x20'+_0x5a8053);}if(_0x3a18d9[_0x274610(0x180)](this[_0x274610(0x174)],null)){const _0x16ab26={};_0x16ab26[_0x274610(0x12d)]=_0x2056dc[_0x274610(0xfd)],this[_0x274610(0x174)]=new this[(_0x274610(0x174))](_0x2cf0a1,_0x16ab26);}}}[a27_0x6cdd04(0x18e)](){const _0x595be1=a27_0x6cdd04,_0xe04276={'CpUtG':function(_0x526d84,_0x41a4fc){return _0x526d84(_0x41a4fc);}};return _0xe04276[_0x595be1(0x112)](Array,this[_0x595be1(0x1ba)])[_0x595be1(0x16f)]('\x20\x20');}['increaseIndent'](){const _0x567682=a27_0x6cdd04;this[_0x567682(0x1ba)]++;}[a27_0x6cdd04(0x16c)](){this['_indents']--;}[a27_0x6cdd04(0x199)](_0x5183db){const _0xf4d0b=a27_0x6cdd04;this[_0xf4d0b(0x118)]+=_0x5183db;}[a27_0x6cdd04(0x1bd)](_0x25dd5e,_0x428c16){const _0x2efb53=a27_0x6cdd04,_0x4e41f3={'HVYGi':function(_0x244195,_0x240980){return _0x244195(_0x240980);}},_0x1b108f={};_0x1b108f['failureCount']=_0x25dd5e,_0x1b108f[_0x2efb53(0x1aa)]=this[_0x2efb53(0x1a5)],_0x4e41f3['HVYGi'](_0x428c16,_0x1b108f);}['registerListeners'](){const _0x133c68=a27_0x6cdd04;process[_0x133c68(0xc5)]('bs:addLog:'+process[_0x133c68(0x113)]),process['on'](_0x133c68(0x135)+process['pid'],this[_0x133c68(0xb2)][_0x133c68(0xb9)](this)),process['removeAllListeners'](_0x133c68(0x9f)+process['pid']),process['on'](_0x133c68(0x9f)+process[_0x133c68(0x113)],this['appendTestPlatform'][_0x133c68(0xb9)](this));}[a27_0x6cdd04(0x176)]=async _0x3ab2bf=>{const _0x13a81c=a27_0x6cdd04,_0x5ba020={'OGPmX':function(_0x21f8cd){return _0x21f8cd();},'lQUJa':function(_0x5712e3,_0x172511){return _0x5712e3>_0x172511;},'PUJsM':function(_0x1b56a2,_0x4f6953){return _0x1b56a2===_0x4f6953;},'vDKwd':_0x13a81c(0xcf),'yOZEN':function(_0xe5313c,_0x292c46){return _0xe5313c(_0x292c46);}};try{const _0x1cc2a3=this[_0x13a81c(0x197)];this[_0x13a81c(0x197)]=_0x3ab2bf,_0x3ab2bf[_0x13a81c(0x12a)]=null,_0x3ab2bf[_0x13a81c(0xcd)]=_0x5ba020[_0x13a81c(0xc4)](uuidv4),_0x3ab2bf[_0x13a81c(0xde)]=new Date()[_0x13a81c(0xe6)](),_0x5ba020[_0x13a81c(0xfb)](_0x3ab2bf[_0x13a81c(0xae)],0x0)&&_0x1cc2a3&&_0x5ba020[_0x13a81c(0xaf)](_0x1cc2a3[_0x13a81c(0x9e)],_0x3ab2bf[_0x13a81c(0x9e)])?(_0x3ab2bf[_0x13a81c(0x12a)]=_0x1cc2a3[_0x13a81c(0xcd)],await this[_0x13a81c(0x15c)](_0x3ab2bf,undefined,![],_0x5ba020['vDKwd']),_0x1cc2a3[_0x13a81c(0xba)]=STATE_FAILED,await this['sendTestRunEvent'](_0x1cc2a3,undefined,!![])):await this[_0x13a81c(0x15c)](_0x3ab2bf,undefined,![],_0x5ba020[_0x13a81c(0x125)]);}catch(_0x160ba5){_0x5ba020['yOZEN'](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20test\x20start\x20with\x20error\x20:\x20'+_0x160ba5);}};[a27_0x6cdd04(0x15c)]=async(_0x288140,_0x4ed0e6=undefined,_0x25509a=![],_0x1ffc77='TestRunFinished')=>{const _0x12d5ac=a27_0x6cdd04,_0x2109d7={'mutcO':function(_0xd6cdbe,_0x39f4c6){return _0xd6cdbe===_0x39f4c6;},'yqCFt':function(_0x3587b6,_0x2e23e6){return _0x3587b6!==_0x2e23e6;},'itdqz':_0x12d5ac(0x14a),'zHlMa':_0x12d5ac(0xa9),'xMhep':function(_0x2e2717,_0x3f81e5){return _0x2e2717!==_0x3f81e5;},'KKYue':function(_0x302ef6,_0x385056){return _0x302ef6!==_0x385056;},'SuYtN':function(_0x52496e,_0x5d3695){return _0x52496e!==_0x5d3695;},'BFVuM':'File\x20path\x20could\x20not\x20be\x20found','RLVHu':_0x12d5ac(0x10a),'EluMs':_0x12d5ac(0xc1),'BGcIR':_0x12d5ac(0xa4),'jnMRi':_0x12d5ac(0x18b),'izEIo':function(_0x18157e,_0x42093c){return _0x18157e-_0x42093c;},'sPHAa':'AssertionError','zrzye':_0x12d5ac(0xf0),'ZnLrw':_0x12d5ac(0xde),'fRaiJ':_0x12d5ac(0x134),'oQUMe':function(_0x90d63,_0x118e6a){return _0x90d63(_0x118e6a);},'eOGfM':function(_0x1e11a8,_0x15026e){return _0x1e11a8===_0x15026e;},'UJbAF':_0x12d5ac(0x124),'uzIqp':'failed','SUBtX':_0x12d5ac(0x109),'qOTvn':_0x12d5ac(0x189),'zLZQN':function(_0x57c227,_0x22d709){return _0x57c227===_0x22d709;},'vZbAN':_0x12d5ac(0xa1),'emAfU':'failure_backtrace','gMLaz':_0x12d5ac(0xe8),'bGdet':_0x12d5ac(0xf1),'QPKSG':_0x12d5ac(0x13e),'ieBIh':_0x12d5ac(0xbf),'VHyyi':function(_0x40506e,_0x1774d4){return _0x40506e===_0x1774d4;},'ZMiYX':_0x12d5ac(0x17a),'kZJog':_0x12d5ac(0x15e),'zLVHD':_0x12d5ac(0x194),'RnZpe':function(_0x9fb247,_0x2ae1fc){return _0x9fb247(_0x2ae1fc);}};try{if(_0x288140['body']&&_0x288140[_0x12d5ac(0xa0)][_0x12d5ac(0x146)](/browserstack internal helper hook/))return;let _0x304476=[];if(_0x2109d7['mutcO'](_0x288140[_0x12d5ac(0xba)],STATE_FAILED)){if(_0x2109d7[_0x12d5ac(0x10f)](_0x288140[_0x12d5ac(0xa9)],undefined))_0x304476=_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x14b)]?[_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x14b)],_0x2109d7[_0x12d5ac(0xe1)]]:[_0x288140[_0x12d5ac(0xa9)],_0x2109d7[_0x12d5ac(0x148)]];else _0x2109d7[_0x12d5ac(0x102)](_0x4ed0e6,undefined)?_0x304476=[_0x4ed0e6,_0x2109d7['zHlMa']]:_0x304476=[];}const _0x26ae04=_0x2109d7[_0x12d5ac(0x1a3)](_0x288140[_0x12d5ac(0xa9)],undefined)?_0x288140[_0x12d5ac(0xa9)][_0x12d5ac(0x13f)]():_0x2109d7['SuYtN'](_0x4ed0e6,undefined)?_0x4ed0e6[_0x12d5ac(0x13f)]():undefined;let _0x4ec4b5;try{_0x4ec4b5=this[_0x12d5ac(0x128)](_0x288140);}catch(_0x213695){_0x4ec4b5=null;}const _0x37afe6=_0x4ec4b5?this[_0x12d5ac(0xf5)](_0x4ec4b5):null,_0x325641=_0x4ec4b5?this[_0x12d5ac(0xdb)][_0x12d5ac(0x161)](this[_0x12d5ac(0x128)](_0x288140)):_0x2109d7[_0x12d5ac(0xf4)],_0x19e90c={'framework':_0x2109d7[_0x12d5ac(0xa8)],'uuid':_0x288140[_0x12d5ac(0xcd)]||_0x288140[_0x12d5ac(0x192)],'name':_0x288140[_0x12d5ac(0x9e)],'body':{'lang':_0x2109d7[_0x12d5ac(0xd8)],'code':_0x288140['body']},'scope':this[_0x12d5ac(0x187)](_0x288140),'scopes':this[_0x12d5ac(0x1b9)](_0x288140),'identifier':_0x288140[_0x12d5ac(0xc8)](),'file_name':_0x325641,'vc_filepath':_0x37afe6?path['relative'](_0x37afe6,_0x4ec4b5):null,'location':_0x325641,'result':_0x2109d7[_0x12d5ac(0x156)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x19a)])?_0x2109d7[_0x12d5ac(0x1b1)]:this[_0x12d5ac(0x10e)](_0x288140['state']),'failure_reason':_0x26ae04,'duration_in_ms':_0x288140['duration']||(_0x1ffc77[_0x12d5ac(0x146)](/Finished/)||_0x1ffc77['match'](/Skipped/)?_0x2109d7[_0x12d5ac(0xca)](Date['now'](),new Date(_0x288140[_0x12d5ac(0xde)])['getTime']()):null),'started_at':_0x288140['started_at'],'finished_at':_0x1ffc77[_0x12d5ac(0x146)](/Finished/)||_0x1ffc77[_0x12d5ac(0x146)](/Skipped/)?new Date()[_0x12d5ac(0xe6)]():null,'failure':failureData['apply'](null,_0x304476),'failure_type':!_0x26ae04?null:_0x26ae04['match'](/AssertionError/)?_0x2109d7[_0x12d5ac(0xb1)]:_0x2109d7[_0x12d5ac(0x1b4)],'retry_of':_0x288140['retryOf']};testhubUtils[_0x12d5ac(0xad)](_0x19e90c,_0x1ffc77,_0x288140,FRAMEWORKS[_0x12d5ac(0x103)]);_0x2109d7[_0x12d5ac(0x156)](_0x1ffc77,_0x2109d7['BGcIR'])&&!_0x19e90c[_0x2109d7[_0x12d5ac(0x136)]]&&(_0x19e90c[_0x2109d7[_0x12d5ac(0x136)]]=_0x19e90c[_0x2109d7[_0x12d5ac(0xeb)]]);if(_0x1ffc77[_0x12d5ac(0x146)](/HookRun/))[_0x19e90c[_0x12d5ac(0x17a)],_0x19e90c['name']]=_0x2109d7[_0x12d5ac(0x1ab)](getHookDetails,_0x288140[_0x12d5ac(0xc8)]()||_0x288140['originalTitle']||_0x288140[_0x12d5ac(0x9e)]),_0x2109d7[_0x12d5ac(0xd7)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x1a9)])&&(_0x2109d7[_0x12d5ac(0x102)](_0x19e90c[_0x12d5ac(0xdf)],_0x2109d7['uzIqp'])&&(_0x19e90c[_0x12d5ac(0xdf)]=_0x2109d7['SUBtX']),_0x2109d7[_0x12d5ac(0xd7)](_0x19e90c[_0x12d5ac(0x17a)],_0x2109d7['qOTvn'])&&_0x2109d7['zLZQN'](_0x19e90c[_0x12d5ac(0xdf)],_0x2109d7['uzIqp'])&&!_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)][_0x12d5ac(0x186)]&&(_0x288140['ctx']['currentTest'][_0x12d5ac(0x186)]=!![],_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)][_0x12d5ac(0xba)]=STATE_FAILED,await this[_0x12d5ac(0x15c)](_0x288140[_0x12d5ac(0xda)][_0x12d5ac(0xb4)],undefined,!![])));else _0x1ffc77[_0x12d5ac(0x146)](/TestRun/)&&_0x2109d7[_0x12d5ac(0x1ab)](mapTestHooks,_0x288140);const _0x26ca97=_0x19e90c[_0x2109d7[_0x12d5ac(0xec)]][0x0];_0x26ca97&&(_0x19e90c[_0x2109d7[_0x12d5ac(0x145)]]=_0x26ca97[_0x2109d7[_0x12d5ac(0xea)]],_0x19e90c[_0x2109d7[_0x12d5ac(0xff)]]=_0x26ca97[_0x2109d7[_0x12d5ac(0x16a)]]);[_0x2109d7[_0x12d5ac(0x15b)],_0x2109d7[_0x12d5ac(0x19a)]][_0x12d5ac(0x129)](_0x1ffc77)&&(this[_0x12d5ac(0x18c)][_0x12d5ac(0xe3)](_0x19e90c),_0x19e90c[_0x12d5ac(0x166)]=_0x2109d7['oQUMe'](getHooksForTest,_0x288140));const _0x71f6ef={'event_type':_0x2109d7[_0x12d5ac(0x12b)](_0x1ffc77,_0x2109d7[_0x12d5ac(0x19a)])?_0x2109d7[_0x12d5ac(0x15b)]:_0x1ffc77};_0x1ffc77[_0x12d5ac(0x146)](/HookRun/)?(_0x19e90c[_0x2109d7[_0x12d5ac(0x104)]]=HOOK_TYPES_MAP[_0x19e90c[_0x2109d7[_0x12d5ac(0x104)]]],_0x71f6ef[_0x2109d7[_0x12d5ac(0x15d)]]=_0x19e90c):_0x71f6ef[_0x2109d7['zLVHD']]=_0x19e90c,testhubUtils[_0x12d5ac(0xa2)](FRAMEWORKS['MOCHA'],_0x71f6ef),await SessionHandler['uploadEventData'](_0x71f6ef);}catch(_0x45d19b){_0x2109d7[_0x12d5ac(0x14d)](debug,'Exception\x20in\x20populating\x20test\x20data\x20for\x20event\x20'+_0x1ffc77+_0x12d5ac(0x16d)+_0x45d19b);}};['findGitConfig'](_0x613a2e){const _0xaac76d=a27_0x6cdd04,_0x6c3bc2={};_0x6c3bc2['ylntq']=function(_0x4633a9,_0x5cd396){return _0x4633a9===_0x5cd396;},_0x6c3bc2[_0xaac76d(0x139)]=_0xaac76d(0x17d),_0x6c3bc2[_0xaac76d(0x157)]=_0xaac76d(0x110);const _0x2e7c39=_0x6c3bc2,_0x115fc5=path[_0xaac76d(0xb0)];if(_0x2e7c39[_0xaac76d(0x1a4)](_0x613a2e,null)||_0x2e7c39['ylntq'](_0x613a2e,'')||_0x2e7c39['ylntq'](_0x613a2e,_0x115fc5))return null;try{return fs[_0xaac76d(0x10b)](path[_0xaac76d(0x16f)](_0x613a2e,_0x2e7c39[_0xaac76d(0x139)],_0x2e7c39[_0xaac76d(0x157)])),_0x613a2e;}catch(_0x5d8e1b){const _0xd8e26e=path[_0xaac76d(0xd9)](_0x613a2e);return this['findGitConfig'](_0xd8e26e);}}['appendTestItemLog']=async _0x1dd740=>{const _0x53d22d=a27_0x6cdd04,_0x33babf={'TRveq':_0x53d22d(0x143),'OjZuT':function(_0x202a27,_0x1716d8){return _0x202a27(_0x1716d8);}};try{this[_0x53d22d(0x1b0)]&&!this[_0x53d22d(0x1b0)]['markedStatus']&&(_0x1dd740[_0x53d22d(0x181)]=this[_0x53d22d(0x1b0)][_0x53d22d(0x192)]);!_0x1dd740[_0x53d22d(0x181)]&&this[_0x53d22d(0x197)]&&!this[_0x53d22d(0x197)][_0x53d22d(0x186)]&&(_0x1dd740[_0x53d22d(0x122)]=this['current_test'][_0x53d22d(0xcd)]);if(_0x1dd740[_0x53d22d(0x181)]||_0x1dd740[_0x53d22d(0x122)]){const _0x418b6e={};_0x418b6e['event_type']=_0x33babf[_0x53d22d(0x1a0)],_0x418b6e[_0x53d22d(0x127)]=[_0x1dd740],await SessionHandler[_0x53d22d(0xcc)](_0x418b6e);}}catch(_0x1cf549){_0x33babf[_0x53d22d(0xb5)](debug,_0x53d22d(0x140)+_0x1cf549);}};['appendTestPlatform']=async _0x154d72=>{const _0x5a9ee4=a27_0x6cdd04,_0x48376c={'MzEzH':_0x5a9ee4(0x1b5),'vTmtA':_0x5a9ee4(0xa6),'LtPKn':function(_0x103e33,_0x7a3956){return _0x103e33(_0x7a3956);}};try{const _0x31f71a={};_0x31f71a[_0x5a9ee4(0x191)]=_0x154d72[_0x5a9ee4(0x191)]||this[_0x5a9ee4(0x197)]['testAnalyticsId'],_0x31f71a[_0x5a9ee4(0x1af)]=_0x154d72[_0x48376c['MzEzH']];const _0x185a9f=_0x31f71a,_0x39be2c={};_0x39be2c[_0x5a9ee4(0xd3)]=_0x48376c[_0x5a9ee4(0xf8)],_0x39be2c[_0x5a9ee4(0x194)]=_0x185a9f,await SessionHandler[_0x5a9ee4(0xcc)](_0x39be2c);}catch(_0x317897){_0x48376c[_0x5a9ee4(0x154)](debug,'Exception\x20in\x20uploading\x20platform\x20details\x20to\x20Observability\x20with\x20error\x20:\x20'+_0x317897);}};['analyticsResult'](_0x5c274){const _0x131bff=a27_0x6cdd04,_0x57d21b={};_0x57d21b[_0x131bff(0x13b)]=_0x131bff(0x109),_0x57d21b[_0x131bff(0xd5)]=_0x131bff(0xee),_0x57d21b[_0x131bff(0xe9)]=_0x131bff(0x121);const _0x193eb1=_0x57d21b,_0x5e4bd2={};return _0x5e4bd2[STATE_PASSED]=_0x193eb1[_0x131bff(0x13b)],_0x5e4bd2[STATE_PENDING]=_0x193eb1[_0x131bff(0xd5)],_0x5e4bd2[STATE_FAILED]=_0x193eb1[_0x131bff(0xe9)],_0x5e4bd2[_0x5c274];}[a27_0x6cdd04(0x187)](_0x40970f){const _0x9809f1=a27_0x6cdd04,_0x15d85e={};_0x15d85e[_0x9809f1(0x19c)]=function(_0x5caee1,_0x5baffb){return _0x5caee1-_0x5baffb;};const _0x5bb927=_0x15d85e,_0x17d7cb=_0x40970f[_0x9809f1(0x111)]();return _0x17d7cb['slice'](0x0,_0x5bb927[_0x9809f1(0x19c)](_0x17d7cb[_0x9809f1(0x179)],0x1))[_0x9809f1(0x16f)]('\x20');}[a27_0x6cdd04(0x1b9)](_0xe7982f){const _0x3c7b78=a27_0x6cdd04,_0x6f40b1={};_0x6f40b1[_0x3c7b78(0xf6)]=function(_0x3ea1a5,_0x2e9426){return _0x3ea1a5-_0x2e9426;};const _0x23fa86=_0x6f40b1,_0x509e11=_0xe7982f[_0x3c7b78(0x111)]();return _0x509e11[_0x3c7b78(0xbd)](0x0,_0x23fa86['Ajhdl'](_0x509e11['length'],0x1));}['getRootParentFile'](_0x20d2da){const _0x88ce84=a27_0x6cdd04,_0x4753c3={};_0x4753c3[_0x88ce84(0xd2)]=function(_0x5790f6,_0x402b0){return _0x5790f6>_0x402b0;};const _0x62f469=_0x4753c3;if(_0x20d2da[_0x88ce84(0xe4)])return _0x20d2da['file'];if(_0x20d2da[_0x88ce84(0xda)]){const _0x3ba738=_0x20d2da['ctx'][_0x88ce84(0xb4)]?this['getRootParentFile'](_0x20d2da[_0x88ce84(0xda)][_0x88ce84(0xb4)]):null;if(_0x3ba738)return _0x3ba738;}if(_0x20d2da['parent']){const _0x324eb1=this['getRootParentFile'](_0x20d2da['parent'])||(_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)]&&_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)][_0x88ce84(0xb4)]?this['getRootParentFile'](_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0xda)][_0x88ce84(0xb4)]):null);if(_0x324eb1)return _0x324eb1;_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0x119)]&&_0x62f469[_0x88ce84(0xd2)](_0x20d2da['parent'][_0x88ce84(0x119)]['length'],0x0)&&_0x20d2da[_0x88ce84(0x151)][_0x88ce84(0x119)][_0x88ce84(0xe5)](_0x353a94=>{const _0x11a3f1=_0x88ce84,_0x450e7c=_0x353a94[_0x11a3f1(0xda)]?this[_0x11a3f1(0x128)](_0x353a94['ctx']):null;if(_0x450e7c)return _0x450e7c;});}return null;}}module[a27_0x6cdd04(0xab)]=MyReporter;function a27_0x3b5a(){const _0x2cbd68=['after\x20each','zHlMa','../test-observability/mochaUtils','test','multiple','apply','RnZpe','bright\x20yellow','doc','nqBGw','parent','constants','trim','LtPKn','stdout','mutcO','uGaKB','qpITa','mZotX','../../../helpers/test-observability/requestQueueHandler','ieBIh','sendTestRunEvent','kZJog','hook_run','path','split','prefixTestPath','clean','dot','GXrMi','_buildCreated','hooks','dcvHk','AFTER_ALL','type','QPKSG','\x20-\x20','decreaseIndent','\x20with\x20error\x20:\x20','\x20\x20<dt>','join','HJhuv','Exception\x20in\x20populating\x20test\x20data\x20for\x20hook\x20skipped\x20test\x20with\x20error\x20:\x20','AFTER_EACH','</dl>','Reporter','bang','testStarted','light','runner','length','hook_type','../../../helpers/testhub/constants','../../../helpers/test-observability/constants','.git','fQjEJ','increaseIndent','FxebS','hook_run_uuid','ciFqi','CwmnL','mocha/lib/utils.js','EEDWS','markedStatus','scope','SlzTA','before\x20each','cwd','skipped','_testResults','../../../helpers/test-observability/sessionHandler','indent','AJHsL','checkmark','uuid','hookAnalyticsId','cAjSK','test_run','consoleLog','EyMhr','current_test','testObservability','docAppend','BGcIR','call','ONwRb','error','uGzSy','Runner','TRveq','\x20\x20<dd\x20class=\x22error\x22>','util','KKYue','ylntq','finalResults','BgtwT','<dl>','HookStarted','UJbAF','results','oQUMe','frbWU','FqXJt','comma','integrations','current_hook','jnMRi','15597666uuJmvQ','HqTqZ','zrzye','http_response','write','HookRunStarted','__indents','scopes','_indents','NBysR','shutdown','done','title','bs:addPlatformDetails:','body','failure','setCurrentTestData','cmQPW','TestRunSkipped','IuWQD','CBTSessionCreated','prototype','RLVHu','err','yiTQz','exports','\x20%s','appendTesthubParams','_currentRetry','PUJsM','sep','sPHAa','appendTestItemLog','green','currentTest','OjZuT','ydkzG','533382CowbrR','symbols','bind','state','shouldProcessEventForTesthub','myVQx','slice','duration','TestRunFinished','mocha','javascript','</dd>','OPtjd','OGPmX','removeAllListeners','\x20\x20<dd><pre><code>','isPending','fullTitle','SoYqp','izEIo','oDRax','uploadEventData','testAnalyticsId','JxjgL','TestRunStarted','../../../helpers/testhub/utils','qKdRW','EDvXC','event_type','vlziz','eaofC','2|4|1|3|0','eOGfM','EluMs','dirname','ctx','_paths','speed','__platform__','started_at','result','nXktp','itdqz','mocha/lib/reporters/','push','file','forEach','toISOString','2706368MYZsfc','backtrace','jPkNF','gMLaz','fRaiJ','vZbAN','DKtBE','pending','failCount','UnhandledError','failure_reason_expanded','currentRetry','XDAIA','BFVuM','findGitConfig','Ajhdl','225720oUhRkV','vTmtA','GsTpF','sytHI','lQUJa','NccnD','reporterOption','cSvNp','bGdet','sQHRb','root','xMhep','MOCHA','ZMiYX','pLotl','HRgjg','</dt>','slow','passed','Mocha','statSync','1629508gUfgvH','PwWio','analyticsResult','yqCFt','config','titlePath','CpUtG','pid','</section>','color','EVENT','escape','docHtml','suites','\x20\x20<dd\x20class=\x22error\x22><pre><code>','UqhRT','21zuWmLe','registerListeners','MsqUo','<section\x20class=\x22suite\x22>','after\x20all','failed','test_run_uuid','</code></pre></dd>','HookRunFinished','vDKwd','COMPLETED','logs','getRootParentFile','includes','retryOf','VHyyi','ZwGdc','reporterOptions','_upstreamConfig','3130173FmSbls','KphPz','\x20\x20%d)\x20%s','pass','10aWPrdR','finished_at','bs:addLog:','ZnLrw','once','Bnlwh','UHwkn','before\x20all','LcpRm','1889332SdnWur','%s\x20','expanded','toString','Exception\x20in\x20uploading\x20log\x20data\x20to\x20Observability\x20with\x20error\x20:\x20','inspect','ZCIVm','LogCreated','mocha/lib/runnable.js','emAfU','match'];a27_0x3b5a=function(){return _0x2cbd68;};return a27_0x3b5a();}
|
package/src/bin/mocha/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a28_0x5f0cd3=a28_0x4550;(function(_0x2b84cc,_0x2ced00){const _0x3379f8=a28_0x4550,_0x175ffb=_0x2b84cc();while(!![]){try{const _0x3a3985=parseInt(_0x3379f8(0x190))/0x1*(parseInt(_0x3379f8(0x18b))/0x2)+-parseInt(_0x3379f8(0x10e))/0x3+parseInt(_0x3379f8(0x163))/0x4+parseInt(_0x3379f8(0x193))/0x5*(-parseInt(_0x3379f8(0x126))/0x6)+parseInt(_0x3379f8(0x16b))/0x7+parseInt(_0x3379f8(0x148))/0x8*(-parseInt(_0x3379f8(0xad))/0x9)+parseInt(_0x3379f8(0x130))/0xa;if(_0x3a3985===_0x2ced00)break;else _0x175ffb['push'](_0x175ffb['shift']());}catch(_0x2c9d0c){_0x175ffb['push'](_0x175ffb['shift']());}}}(a28_0x1505,0x37507));const chalk=require('chalk'),logger=require('../../helpers/logger')[a28_0x5f0cd3(0xf5)],{default:BrowserStackSetup}=require(a28_0x5f0cd3(0x189)),helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),testOpsHelper=require('../../helpers/test-observability/utils'),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x5f0cd3(0x188)),{requireModule,nestedKeyValue}=require(a28_0x5f0cd3(0xd0)),{getPercyOptions}=require(a28_0x5f0cd3(0x11b)),Base=requireModule('mocha/lib/reporters/base.js'),collectFiles=requireModule(a28_0x5f0cd3(0x16c)),constants=require(a28_0x5f0cd3(0xe5));function tag(_0x1aead5,_0x3d2f42,_0x433847,_0x293a6c){const _0x58aa96=a28_0x5f0cd3,_0x275f6c={'FEJKI':function(_0x170dd2,_0x127925){return _0x170dd2+_0x127925;},'gbSAu':function(_0x418e60,_0x4e676a){return _0x418e60+_0x4e676a;},'uygbt':function(_0x39525b,_0x3980af){return _0x39525b+_0x3980af;},'VuwFQ':function(_0x5c292a,_0xbfa483){return _0x5c292a(_0xbfa483);},'Riwow':function(_0xb04ad9,_0x124ab7){return _0xb04ad9+_0x124ab7;},'hEwss':function(_0x4c6fef,_0x1951ab){return _0x4c6fef+_0x1951ab;},'EaDJs':function(_0x193642,_0x2cebff){return _0x193642+_0x2cebff;},'HrYtp':function(_0x4e38bc,_0x2cbd9b){return _0x4e38bc+_0x2cbd9b;}},_0x5321ef=_0x433847?'/>':'>',_0x11e954=[];let _0x2578ef;for(const _0x56f9f5 in _0x3d2f42){Object['prototype'][_0x58aa96(0xb3)][_0x58aa96(0x166)](_0x3d2f42,_0x56f9f5)&&_0x11e954[_0x58aa96(0xf7)](_0x275f6c[_0x58aa96(0x128)](_0x275f6c[_0x58aa96(0x16a)](_0x275f6c[_0x58aa96(0xd1)](_0x56f9f5,'=\x22'),_0x275f6c[_0x58aa96(0x18d)](escape,_0x3d2f42[_0x56f9f5])),'\x22'));}return _0x2578ef=_0x275f6c[_0x58aa96(0x195)](_0x275f6c[_0x58aa96(0x183)](_0x275f6c[_0x58aa96(0xa2)]('<',_0x1aead5),_0x11e954[_0x58aa96(0x11d)]?_0x275f6c[_0x58aa96(0x128)]('\x20',_0x11e954[_0x58aa96(0x17f)]('\x20')):''),_0x5321ef),_0x293a6c&&(_0x2578ef+=_0x275f6c[_0x58aa96(0xa2)](_0x275f6c[_0x58aa96(0x16a)](_0x275f6c['HrYtp'](_0x293a6c,'</'),_0x1aead5),_0x5321ef)),_0x2578ef;}let xunitContent='';function xunitWrite(_0x13dae9){xunitContent+=_0x13dae9;}function xunitTest(_0x1d2965,_0x28f839){const _0x4129c1=a28_0x5f0cd3,_0x3c55e7={'DWCXs':function(_0x374c75,_0x449910){return _0x374c75/_0x449910;},'mapOK':function(_0x2ebe50,_0x2a7a53){return _0x2ebe50===_0x2a7a53;},'noHBK':_0x4129c1(0xe3),'PVTCT':function(_0x4cc961,_0x170db7){return _0x4cc961+_0x170db7;},'LmlGR':function(_0x1a3344,_0x558007){return _0x1a3344(_0x558007);},'krRYa':function(_0x5c7648,_0x1992e4,_0x5eeb5a,_0x3629a6,_0x4a7b60){return _0x5c7648(_0x1992e4,_0x5eeb5a,_0x3629a6,_0x4a7b60);},'UcGTe':'testcase','xcddV':_0x4129c1(0xb4),'YLHLg':function(_0x12a06f,_0x3cbdaf){return _0x12a06f+_0x3cbdaf;},'URTGw':function(_0x27cb09,_0x3bfcba){return _0x27cb09+_0x3bfcba;},'xERQT':function(_0x48835f,_0x186633){return _0x48835f(_0x186633);},'syrtC':function(_0x1199cf,_0x288eb1,_0x5b11b9,_0x47500d,_0x1d1f59){return _0x1199cf(_0x288eb1,_0x5b11b9,_0x47500d,_0x1d1f59);},'lREtV':function(_0xfae6a4,_0x5b6af4,_0x13ee3e,_0x5d14da){return _0xfae6a4(_0x5b6af4,_0x13ee3e,_0x5d14da);},'TngKB':_0x4129c1(0x15d),'pDYQC':function(_0x6823f3,_0x49b8da){return _0x6823f3(_0x49b8da);},'fCkLv':function(_0x258d07,_0x102896,_0x44434a,_0xbfe563){return _0x258d07(_0x102896,_0x44434a,_0xbfe563);}};Base[_0x4129c1(0x9d)]=![];var _0x3e24b3={'classname':_0x1d2965['fullTitle'],'name':_0x1d2965[_0x4129c1(0xfa)],'time':_0x3c55e7[_0x4129c1(0x179)](_0x1d2965[_0x4129c1(0x11e)],0x3e8)||0x0,'platform':_0x28f839};if(_0x3c55e7[_0x4129c1(0xc6)](_0x1d2965['state'],_0x3c55e7[_0x4129c1(0x150)])){var _0x171a9c=_0x1d2965[_0x4129c1(0x121)],_0x4b09fa=!Base[_0x4129c1(0x15f)]&&Base[_0x4129c1(0x112)](_0x171a9c)?_0x3c55e7[_0x4129c1(0x146)]('\x0a',Base['generateDiff'](_0x171a9c[_0x4129c1(0xba)],_0x171a9c[_0x4129c1(0x145)])):'';_0x3c55e7['LmlGR'](xunitWrite,_0x3c55e7[_0x4129c1(0x117)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,![],_0x3c55e7['krRYa'](tag,_0x3c55e7[_0x4129c1(0xb6)],{},![],_0x3c55e7[_0x4129c1(0x111)](_0x3c55e7[_0x4129c1(0x146)](_0x3c55e7[_0x4129c1(0x181)](_0x3c55e7[_0x4129c1(0xc8)](escape,_0x171a9c[_0x4129c1(0x11a)]),_0x3c55e7[_0x4129c1(0xd6)](escape,_0x4b09fa)),'\x0a'),_0x3c55e7['xERQT'](escape,_0x171a9c[_0x4129c1(0x155)])))));}else _0x1d2965[_0x4129c1(0x165)]?_0x3c55e7[_0x4129c1(0xd6)](xunitWrite,_0x3c55e7[_0x4129c1(0xf2)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,![],_0x3c55e7['lREtV'](tag,_0x3c55e7[_0x4129c1(0x187)],{},!![]))):_0x3c55e7['pDYQC'](xunitWrite,_0x3c55e7[_0x4129c1(0xca)](tag,_0x3c55e7[_0x4129c1(0xab)],_0x3e24b3,!![]));};function getStats(_0x26edf7){const _0x4671fc=a28_0x5f0cd3,_0x48d18e={};_0x48d18e[_0x4671fc(0xbc)]=_0x4671fc(0x107),_0x48d18e[_0x4671fc(0xc3)]='passed',_0x48d18e[_0x4671fc(0xf6)]='failed',_0x48d18e[_0x4671fc(0x159)]='results';const _0x39b38e=_0x48d18e,_0x2fa20a=Object[_0x4671fc(0x116)](_0x26edf7);let _0x823815=0x0,_0x3b254e=0x0,_0x1b6b83=0x0,_0x3fe0c6=0x0;const _0x5340c2=new Set();_0x2fa20a['forEach'](_0x494e39=>{const _0x1b8bb3=_0x4671fc;_0x26edf7[_0x494e39][_0x39b38e[_0x1b8bb3(0x159)]][_0x1b8bb3(0x102)](_0x212ebc=>{const _0x357200=_0x1b8bb3;_0x5340c2[_0x357200(0x18e)](_0x212ebc[_0x39b38e[_0x357200(0xbc)]]),_0x823815++;switch(_0x212ebc['state']){case _0x39b38e[_0x357200(0xc3)]:_0x1b6b83++;break;case _0x39b38e['FMgHw']:_0x3b254e++;break;default:_0x3fe0c6++;}});});const _0x29564d={};return _0x29564d[_0x4671fc(0xc5)]=_0x5340c2[_0x4671fc(0x10f)],_0x29564d['platforms']=_0x2fa20a,_0x29564d[_0x4671fc(0x131)]=_0x823815,_0x29564d[_0x4671fc(0x15c)]=_0x3b254e,_0x29564d[_0x4671fc(0x156)]=_0x1b6b83,_0x29564d[_0x4671fc(0x16f)]=_0x3fe0c6,_0x29564d;}function a28_0x1505(){const _0x39ec44=['Couldn\x27t\x20write\x20xunit\x20result\x20to','uhLPd','actual','qHNlb','Jisfo','writeFileSync','ryjVm','ilebF','GMupa','bgBlueBright','info','swqZo','spec','testSuites','mapOK','doc','LmlGR','cvsho','fCkLv','state','PIRpi','NcUZA','Writing\x20xunit\x20result\x20to\x20file','VtAMO','../../helpers/helper','uygbt','dpJmA','cjs','oCqHe','wBGCh','xERQT','notifyUpdate','sNBAP','yBrKb','hdpWs','getUserWorkerCount','IghDr','green','toUTCString','FIsxM','files','eSwQH','extension','failed','VMBHf','../utils/constants','framework','eeJWf','passed','OYYxU','json','xunit','isUndefined','JgODt','consoleLog','has','stringify','finally','syrtC','FRAMEWORKS','ZtwPw','winstonLogger','FMgHw','push','ycMqj','bold','title','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','tDKHo','WslYy','dOAhy','WpXNF','setupTCGAuth','failures','forEach','TTRmO','BvOXN','platforms','env','suite','BROWSERSTACK_TEST_OBSERVABILITY','Fvnkw','Tests:\x20\x20\x20\x20\x20\x20\x20','tonph','argv','sQBgC','561303tktOZS','size','YfDiR','YLHLg','showDiff','testsuite','testObservability','get','keys','krRYa','min','egZxo','message','../../helpers/percy/utils','Couldn\x27t\x20write\x20json\x20result\x20to','length','duration','OnZfj','BQzEC','err','printBuildLink','PsBqv','Setting\x20non\x20exit\x20code\x20for\x20failures','HKkuX','461622yALCtB','FGYPF','FEJKI','meoUe','asbxj','getOwnPropertyNames','fireFunnelTestEvent','recursive','MhMTg','XcBvV','1967540KsGbxI','totalTests','VSYgw','Total\x20Suites:\x20','pQBtB','cQniQ','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','output','cliConfig','shouldReRunObservabilityTests','Drzza','rootHooks','mjs','LouOG','VcXwM','then','AVFFG','wkJBc','parallelsPerPlatform','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','expected','PVTCT','bgRedBright','16HHauDu','WQCKn','getErrorMessageFromResults','LEWxf','accessibilityOptions','speed','rmdirSync','xmKnk','noHBK','mocha','results','Qxbuz','SCLao','stack','testsPassed','titlePathV','reporterOptions','oOJKL','includes','BROWSERSTACK_RERUN_TESTS','testsFailed','skipped','isBrowserstackInfra','hideDiff','\x20total','vQpFC','fuMBL','768816HTxbvW','fullTitle','isPending','call','--disable-test-observability','cfyGG','getHubUrl','gbSAu','976745WLrAKO','mocha/lib/cli/collect-files.js','Running\x20your\x20mocha\x20tests\x20across\x20','MOCHA','testsPending','QdiyB','isTestObservabilitySession','\x20failed','svPgu','HmMQv','parseFileNames','ynlYP','log','suiteName','DWCXs','finalExecution','IkjFV','YImen','OieCd','file','join','Mocha\x20Tests','URTGw','markSDKSetupComplete','hEwss','getPlatformName','accessibility','****\x20FAILURES\x20****','TngKB','../test-runner','../../helpers/BrowserStackSetup','ignore','396baLbRM','SifFX','VuwFQ','add','platform','1762cCUXQc','IHnLK','Writing\x20json\x20result\x20to\x20file','5fIsyut','unlinkSync','Riwow','vPhiX','proxySettings','handleApp','rGvaa','reporter','Now,\x20showing\x20logs\x20from\x20mocha','zfJmM','useColors','red','XVRwp','Mbifr','test','EaDJs','error','TqqYM','prepareCapabilities','logLevel','SMIhH','validPlatformsPresent','FyxmE','config','UcGTe','reporter-option','1740438xbgPXI','Qnwdi','XGdyT','ZEBaP','assign','yceMg','hasOwnProperty','failure','object','xcddV','debug'];a28_0x1505=function(){return _0x39ec44;};return a28_0x1505();}function errorJSON(_0x3b79ff){const _0x440118=a28_0x5f0cd3;var _0x44475b={};return Object[_0x440118(0x12b)](_0x3b79ff)[_0x440118(0x102)](function(_0x10efd9){_0x44475b[_0x10efd9]=_0x3b79ff[_0x10efd9];},_0x3b79ff),_0x44475b;}function a28_0x4550(_0x467581,_0x4b4267){const _0x15059c=a28_0x1505();return a28_0x4550=function(_0x45502c,_0x4683fd){_0x45502c=_0x45502c-0x99;let _0x49cc92=_0x15059c[_0x45502c];return _0x49cc92;},a28_0x4550(_0x467581,_0x4b4267);}function cleanCycles(_0x1c5c48){const _0x477f0e=a28_0x5f0cd3,_0x510464={};_0x510464[_0x477f0e(0x18c)]=function(_0xdfbe3c,_0x3888b5){return _0xdfbe3c===_0x3888b5;},_0x510464[_0x477f0e(0xb9)]=_0x477f0e(0xb5),_0x510464['VcXwM']=function(_0x2f848b,_0x71d37f){return _0x2f848b!==_0x71d37f;},_0x510464[_0x477f0e(0x142)]=function(_0x2fc5f8,_0xb4618c){return _0x2fc5f8!==_0xb4618c;},_0x510464[_0x477f0e(0x104)]=function(_0x68ada4,_0x487bc5){return _0x68ada4+_0x487bc5;};const _0x158df9=_0x510464;var _0x42e2d0=[];return JSON['parse'](JSON['stringify'](_0x1c5c48,function(_0x312063,_0x490b36){const _0x1e18cf=_0x477f0e;if(_0x158df9[_0x1e18cf(0x18c)](typeof _0x490b36,_0x158df9['uhLPd'])&&_0x158df9[_0x1e18cf(0x13f)](_0x490b36,null)){if(_0x158df9['wkJBc'](_0x42e2d0['indexOf'](_0x490b36),-0x1))return _0x158df9[_0x1e18cf(0x104)]('',_0x490b36);_0x42e2d0[_0x1e18cf(0xf7)](_0x490b36);}return _0x490b36;}));}function clean(_0x2aaaa9){const _0x3215e1=a28_0x5f0cd3,_0x2c48b2={'FGYPF':function(_0x200c45,_0x3ebe98){return _0x200c45 instanceof _0x3ebe98;},'qHNlb':function(_0x5224a3,_0x396496){return _0x5224a3(_0x396496);},'OKDMM':function(_0x31bf50,_0x17eeae){return _0x31bf50(_0x17eeae);}};var _0x3a64e4=_0x2aaaa9[_0x3215e1(0x121)]||{};return _0x2c48b2[_0x3215e1(0x127)](_0x3a64e4,Error)&&(_0x3a64e4=_0x2c48b2[_0x3215e1(0xbb)](errorJSON,_0x3a64e4)),{'title':_0x2aaaa9['title'],'fullTitle':_0x2aaaa9[_0x3215e1(0x164)],'file':_0x2aaaa9[_0x3215e1(0x17e)],'duration':_0x2aaaa9[_0x3215e1(0x11e)],'currentRetry':_0x2aaaa9['currentRetry'],'speed':_0x2aaaa9[_0x3215e1(0x14d)],'err':_0x2c48b2['OKDMM'](cleanCycles,_0x3a64e4)};}function printStats(_0x303560,_0x35902b=a28_0x5f0cd3(0xc4),_0x57808c={}){const _0x3710cd=a28_0x5f0cd3,_0x16c9d0={'tDKHo':function(_0x4393e1,_0x5d7961){return _0x4393e1(_0x5d7961);},'cQniQ':function(_0x3ccb8f,_0x3ba9a6){return _0x3ccb8f===_0x3ba9a6;},'ynlYP':_0x3710cd(0xe8),'WslYy':'passes','wBGCh':function(_0x2ba54a,_0x365cc5){return _0x2ba54a(_0x365cc5);},'BQzEC':function(_0x2303c1,_0x5536cd){return _0x2303c1===_0x5536cd;},'OieCd':_0x3710cd(0xe3),'WpXNF':_0x3710cd(0x101),'Drzza':'pending','XcBvV':function(_0x35a636,_0x1477a5){return _0x35a636(_0x1477a5);},'VSYgw':_0x3710cd(0x152),'mHBIg':function(_0x34d53b,_0x53d698){return _0x34d53b===_0x53d698;},'Qnwdi':function(_0x35b62c,_0x8210aa){return _0x35b62c===_0x8210aa;},'dpJmA':function(_0x18b9a3,_0x197b5e){return _0x18b9a3*_0x197b5e;},'WQCKn':function(_0x22cb9b,_0x4ce0bc,_0x4cc7fb){return _0x22cb9b(_0x4ce0bc,_0x4cc7fb);},'egZxo':function(_0x2e872f,_0x187923){return _0x2e872f===_0x187923;},'GMupa':function(_0x1c9929,_0x2280eb){return _0x1c9929>_0x2280eb;},'zfJmM':function(_0x9dfd47){return _0x9dfd47();},'JgODt':_0x3710cd(0xc7),'HKkuX':function(_0x2d1dc1,_0x55cdf9){return _0x2d1dc1>_0x55cdf9;},'VMBHf':_0x3710cd(0x124),'pQBtB':'Printing\x20stats\x20of\x20tests','Mbifr':function(_0x2fd55e,_0x3cf70a){return _0x2fd55e+_0x3cf70a;},'FFoXW':'Total\x20Platforms:\x20','iSIeJ':function(_0x39b97e,_0x157b7b){return _0x39b97e+_0x157b7b;},'asbxj':_0x3710cd(0x133),'QrkBz':function(_0x26c46d,_0x264aa4){return _0x26c46d+_0x264aa4;},'YsBqg':function(_0x2783d8,_0x508eea){return _0x2783d8+_0x508eea;},'xmKnk':function(_0x43acad,_0x46abb8){return _0x43acad+_0x46abb8;},'tonph':_0x3710cd(0x10a),'ryjVm':function(_0x5f2160,_0xd7ce77){return _0x5f2160>_0xd7ce77;},'acLLg':function(_0x2f4853,_0x19fb27){return _0x2f4853>_0x19fb27;},'ktoKt':function(_0x58da76,_0x13d0db){return _0x58da76+_0x13d0db;},'bKVRI':function(_0x10da7a,_0xa389c8){return _0x10da7a+_0xa389c8;},'HYRaf':'\x0a\x0a\x0a','IghDr':function(_0x3496ac,_0x567bcf){return _0x3496ac===_0x567bcf;},'OYYxU':_0x3710cd(0xea),'cfyGG':_0x3710cd(0x192),'CBJIh':_0x3710cd(0x11c),'SCLao':_0x3710cd(0x137),'rpKaA':_0x3710cd(0xeb),'eeJWf':_0x3710cd(0x180),'ZtwPw':function(_0x27c0db,_0x525323){return _0x27c0db||_0x525323;},'QdiyB':function(_0x11cc35,_0x6d81d8,_0x1e9186,_0x5adb5f){return _0x11cc35(_0x6d81d8,_0x1e9186,_0x5adb5f);},'VtAMO':_0x3710cd(0x113),'dOAhy':function(_0x28ffd8,_0xc50169){return _0x28ffd8-_0xc50169;},'YImen':function(_0x1a6796,_0x541772){return _0x1a6796/_0x541772;},'Ztdcw':'</testsuite>','XGdyT':_0x3710cd(0xce),'IkjFV':_0x3710cd(0xb8),'cvsho':_0x3710cd(0x144),'vQpFC':function(_0x25d11c,_0x132417){return _0x25d11c===_0x132417;},'OnZfj':'Listing\x20all\x20the\x20failures','yBrKb':_0x3710cd(0x186)};if(_0x16c9d0[_0x3710cd(0x119)](_0x35902b,_0x16c9d0[_0x3710cd(0xed)]))return;const _0x209353=0x0,_0x40e8ee=()=>{const _0x66b75a=_0x3710cd;return _0x16c9d0[_0x66b75a(0xfc)](Array,_0x209353)['join']('\x20\x20');},{testSuites:_0x443494,platforms:_0x5cd530,totalTests:_0x21da42,testsFailed:_0xbc1499,testsPassed:_0x4294ef,testsPending:_0x343a85}=_0x16c9d0[_0x3710cd(0xd5)](getStats,_0x303560);_0x16c9d0[_0x3710cd(0x125)](_0xbc1499,0x0)&&(logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xe4)]),process['exitCode']=Math[_0x3710cd(0x118)](_0xbc1499,0xff));logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x134)]);const _0x3fcaf3=''+_0x16c9d0[_0x3710cd(0xa0)](chalk[_0x3710cd(0xf9)](_0x16c9d0['FFoXW']),_0x5cd530[_0x3710cd(0x11d)]),_0xccb45e=''+_0x16c9d0['iSIeJ'](chalk[_0x3710cd(0xf9)](_0x16c9d0[_0x3710cd(0x12a)]),_0x443494),_0x58969b=''+_0x16c9d0['QrkBz'](_0x16c9d0['YsBqg'](_0x16c9d0[_0x3710cd(0x14f)](chalk[_0x3710cd(0xf9)](_0x16c9d0[_0x3710cd(0x10b)]),_0x16c9d0[_0x3710cd(0xc0)](_0xbc1499,0x0)?chalk[_0x3710cd(0xf9)][_0x3710cd(0x9e)](_0xbc1499+_0x3710cd(0x172))+',\x20':''),_0x16c9d0[_0x3710cd(0xbe)](_0x343a85,0x0)?chalk[_0x3710cd(0xf9)]['yellow'](_0x343a85+'\x20skipped')+',\x20':''),_0x16c9d0['acLLg'](_0x4294ef,0x0)?chalk[_0x3710cd(0xf9)][_0x3710cd(0xdd)](_0x4294ef+'\x20passed')+',\x20':'')+_0x21da42+_0x3710cd(0x160);console[_0x3710cd(0x177)](_0x16c9d0['xmKnk'](_0x16c9d0['ktoKt'](_0x16c9d0[_0x3710cd(0xa0)](_0x16c9d0['bKVRI'](_0x16c9d0[_0x3710cd(0xa0)](_0x16c9d0['HYRaf'],_0x3fcaf3),'\x0a'),_0xccb45e),'\x0a'),_0x58969b));if(_0x16c9d0[_0x3710cd(0xdc)](_0x35902b,_0x16c9d0[_0x3710cd(0xe9)])){const _0x244292={},_0x5bfc34={};_0x5bfc34['testSuites']=_0x443494,_0x5bfc34[_0x3710cd(0x105)]=_0x5cd530,_0x5bfc34[_0x3710cd(0x15c)]=_0xbc1499,_0x5bfc34[_0x3710cd(0x156)]=_0x4294ef,_0x5bfc34[_0x3710cd(0x16f)]=_0x343a85,_0x244292['stats']=_0x5bfc34,_0x5cd530[_0x3710cd(0x102)](_0x19fb4a=>{const _0x397a30=_0x3710cd,_0x28053d={'AVFFG':function(_0xf8a14c,_0x38fdd6){const _0x50033d=a28_0x4550;return _0x16c9d0[_0x50033d(0x135)](_0xf8a14c,_0x38fdd6);},'AmLZq':_0x16c9d0[_0x397a30(0x176)],'PIRpi':_0x16c9d0[_0x397a30(0xfd)],'PsBqv':function(_0x5d6b60,_0x4608cb){const _0x4e7511=_0x397a30;return _0x16c9d0[_0x4e7511(0xd5)](_0x5d6b60,_0x4608cb);},'SMIhH':function(_0x275c01,_0xc48b09){const _0x305c9c=_0x397a30;return _0x16c9d0[_0x305c9c(0x120)](_0x275c01,_0xc48b09);},'eSwQH':_0x16c9d0[_0x397a30(0x17d)],'svPgu':_0x16c9d0[_0x397a30(0xff)],'Fvnkw':_0x16c9d0[_0x397a30(0x13b)],'IHnLK':function(_0x131678,_0x36daf9){const _0x3210dc=_0x397a30;return _0x16c9d0[_0x3210dc(0x12f)](_0x131678,_0x36daf9);}};_0x244292[_0x19fb4a]={'pending':[],'failures':[],'passes':[],'tests':_0x303560[_0x19fb4a][_0x16c9d0['VSYgw']]['map'](clean)},_0x303560[_0x19fb4a][_0x16c9d0[_0x397a30(0x132)]][_0x397a30(0x102)](_0x109fa3=>{const _0x24bfec=_0x397a30;if(_0x28053d[_0x24bfec(0x141)](_0x109fa3[_0x24bfec(0xcb)],_0x28053d['AmLZq']))_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0xcc)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x123)](clean,_0x109fa3));else _0x28053d[_0x24bfec(0xa7)](_0x109fa3[_0x24bfec(0xcb)],_0x28053d[_0x24bfec(0xe1)])?_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0x173)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x123)](clean,_0x109fa3)):_0x244292[_0x19fb4a][_0x28053d[_0x24bfec(0x109)]][_0x24bfec(0xf7)](_0x28053d[_0x24bfec(0x191)](clean,_0x109fa3));});});if(_0x57808c[_0x3710cd(0x138)])try{logger['debug'](_0x16c9d0[_0x3710cd(0x168)],_0x57808c[_0x3710cd(0x138)]),fs[_0x3710cd(0xbd)](_0x57808c['output'],JSON[_0x3710cd(0xf0)](_0x244292,null,0x3));}catch(_0xb3b0e8){logger[_0x3710cd(0xa3)](_0x16c9d0['CBJIh'],_0x57808c[_0x3710cd(0x138)]),logger[_0x3710cd(0xb7)](_0xb3b0e8);}else logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x154)]),console[_0x3710cd(0x177)](JSON['stringify'](_0x244292,null,0x3));}else{if(_0x16c9d0[_0x3710cd(0x135)](_0x35902b,_0x16c9d0['rpKaA'])){let _0x3dd895;const _0x2cbae6=_0x16c9d0[_0x3710cd(0xe7)];_0x57808c&&(_0x3dd895=_0x57808c[_0x3710cd(0x178)]);_0x3dd895=_0x16c9d0[_0x3710cd(0xf4)](_0x3dd895,_0x2cbae6);let _0x59c547=0x0,_0x4036c4=0x0,_0x4be16d=0x0,_0x24f67d=0x0;_0x5cd530[_0x3710cd(0x102)](_0x8b8a58=>{const _0x2e9860=_0x3710cd,_0x576432={'HmMQv':function(_0x168022,_0x412daf){return _0x16c9d0['mHBIg'](_0x168022,_0x412daf);},'fkmbo':_0x16c9d0[_0x2e9860(0x176)],'Qxbuz':function(_0x5eba81,_0x4d8311){const _0x17b16f=_0x2e9860;return _0x16c9d0[_0x17b16f(0xae)](_0x5eba81,_0x4d8311);},'rGvaa':_0x16c9d0[_0x2e9860(0x17d)],'TqqYM':function(_0xfb829a,_0x3dac62){const _0x2b18f2=_0x2e9860;return _0x16c9d0[_0x2b18f2(0xd2)](_0xfb829a,_0x3dac62);}};_0x303560[_0x8b8a58][_0x16c9d0['VSYgw']]['forEach'](_0x20f6f2=>{const _0x3af7b5=_0x2e9860;if(_0x576432[_0x3af7b5(0x174)](_0x20f6f2['state'],_0x576432['fkmbo']))_0x59c547++;else _0x576432[_0x3af7b5(0x153)](_0x20f6f2[_0x3af7b5(0xcb)],_0x576432[_0x3af7b5(0x99)])&&_0x4036c4++;_0x4be16d++,_0x24f67d+=_0x576432[_0x3af7b5(0xa4)](_0x20f6f2[_0x3af7b5(0x11e)],0x1);});}),_0x16c9d0['wBGCh'](xunitWrite,_0x16c9d0[_0x3710cd(0x170)](tag,_0x16c9d0[_0x3710cd(0xcf)],{'name':_0x3dd895,'tests':_0x4be16d,'failures':0x0,'errors':_0x4036c4,'skipped':_0x16c9d0['dOAhy'](_0x16c9d0[_0x3710cd(0xfe)](_0x4be16d,_0x4036c4),_0x59c547),'timestamp':new Date()[_0x3710cd(0xde)](),'time':_0x16c9d0[_0x3710cd(0x17c)](_0x24f67d,0x3e8)||0x0},![])),_0x5cd530[_0x3710cd(0x102)](_0x1b0321=>{const _0x2d6c78=_0x3710cd;_0x303560[_0x1b0321][_0x16c9d0[_0x2d6c78(0x132)]]['forEach'](_0x561909=>{const _0x3685c4=_0x2d6c78;_0x16c9d0[_0x3685c4(0x149)](xunitTest,_0x561909,_0x1b0321);});}),_0x16c9d0['wBGCh'](xunitWrite,_0x16c9d0['Ztdcw']);if(_0x57808c['output'])try{logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xaf)],_0x57808c['output']),fs[_0x3710cd(0xbd)](_0x57808c[_0x3710cd(0x138)],xunitContent);}catch(_0xb99e70){logger['error'](_0x16c9d0[_0x3710cd(0x17b)],_0x57808c[_0x3710cd(0x138)]),logger[_0x3710cd(0xb7)](_0xb99e70);}else logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0xc9)]),console[_0x3710cd(0x177)](xunitContent);}else{if(_0x16c9d0[_0x3710cd(0x161)](_0xbc1499,0x0))return;console['log'](),logger[_0x3710cd(0xb7)](_0x16c9d0[_0x3710cd(0x11f)]),console['log'](chalk['bold'][_0x3710cd(0x147)](_0x16c9d0[_0x3710cd(0xd9)])),_0x5cd530[_0x3710cd(0x102)](_0x38e384=>{const _0x30297b=_0x3710cd,_0x13a84e={'XPRYB':function(_0x4d6df4,_0x3f7664){const _0x31a85c=a28_0x4550;return _0x16c9d0[_0x31a85c(0x119)](_0x4d6df4,_0x3f7664);},'hdpWs':_0x16c9d0[_0x30297b(0x17d)]},_0x169596=[];_0x303560[_0x38e384][_0x16c9d0['VSYgw']][_0x30297b(0x102)](_0x75cebd=>{const _0x5dc31d=_0x30297b;_0x13a84e['XPRYB'](_0x75cebd[_0x5dc31d(0xcb)],_0x13a84e[_0x5dc31d(0xda)])&&(_0x75cebd['titlePath']=()=>_0x75cebd[_0x5dc31d(0x157)],_0x169596[_0x5dc31d(0xf7)](_0x75cebd));}),_0x16c9d0[_0x30297b(0xc0)](_0x169596[_0x30297b(0x11d)],0x0)&&(Base[_0x30297b(0xee)](),Base[_0x30297b(0xee)](_0x16c9d0[_0x30297b(0x9c)](_0x40e8ee),chalk[_0x30297b(0xf9)][_0x30297b(0xc1)](_0x38e384)),Base['list'](_0x169596));});}}}async function run(_0x2f0f71,_0x37730b){const _0x40e57c=a28_0x5f0cd3,_0xf3851f={'vPhiX':function(_0x58f963,_0x40ce0f,_0x27fadc,_0x2f468e){return _0x58f963(_0x40ce0f,_0x27fadc,_0x2f468e);},'ZEBaP':_0x40e57c(0xac),'FIsxM':'error\x20removing\x20tcg\x20config\x20file','ycMqj':'SDKTestSuccessful','MhMTg':function(_0x4d26d0,_0x51c0d2,_0x3ccf16,_0x29b124){return _0x4d26d0(_0x51c0d2,_0x3ccf16,_0x29b124);},'XVRwp':_0x40e57c(0x151),'sNBAP':_0x40e57c(0x167),'zafVk':'--disable-browserstack-automation','oCqHe':function(_0x1302a3,_0x500adc){return _0x1302a3!=_0x500adc;},'sQBgC':_0x40e57c(0xd3),'NcUZA':_0x40e57c(0x13d),'TTRmO':_0x40e57c(0xa1),'LouOG':'rerunTests','LEWxf':function(_0x2c908c,_0x23d3fb){return _0x2c908c(_0x23d3fb);},'qieeW':function(_0x15bb4e,_0x21dc6b,_0x3d45d8){return _0x15bb4e(_0x21dc6b,_0x3d45d8);},'meoUe':_0x40e57c(0xe0),'yceMg':'Running\x20your\x20mocha\x20tests','ilebF':_0x40e57c(0x9b),'fuMBL':function(_0x416d5c,_0x1cc101,_0xd875eb,_0x31ab0a){return _0x416d5c(_0x1cc101,_0xd875eb,_0x31ab0a);},'FyxmE':function(_0x45fefb,_0x15205e){return _0x45fefb*_0x15205e;},'YfDiR':function(_0x47ac2f,_0x421b6d){return _0x47ac2f(_0x421b6d);},'ZMqrg':function(_0x22c465,_0x47cd9a){return _0x22c465!==_0x47cd9a;}};process[_0x40e57c(0x10c)][_0x40e57c(0x15a)](_0xf3851f[_0x40e57c(0xd8)])&&(process[_0x40e57c(0x106)][_0x40e57c(0x108)]=![]);process[_0x40e57c(0x10c)]['includes'](_0xf3851f['zafVk'])&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x100958=new BrowserStackSetup(_0x2f0f71,_0xf3851f[_0x40e57c(0x9f)]);helper['isBrowserstackInfra']()?(await _0x100958['initialize'](),await helper[_0x40e57c(0x198)](_0x100958[_0x40e57c(0xaa)])):await _0x100958[_0x40e57c(0x100)]();const _0x59324c=[];let _0x55b7b5=[];if(!_0x100958[_0x40e57c(0xaa)])return;_0xf3851f[_0x40e57c(0xd4)](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x114)],null)&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x100958[_0x40e57c(0xaa)]['testObservability']);!helper['isUndefined'](_0x100958['config'][_0x40e57c(0x185)])&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x185)]);!helper['isUndefined'](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x14c)])&&(process[_0x40e57c(0x106)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x40e57c(0xf0)](_0x100958[_0x40e57c(0xaa)]['accessibilityOptions']));const {extension:extension=['js',_0xf3851f[_0x40e57c(0x10d)],_0xf3851f[_0x40e57c(0xcd)]],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0xf3851f[_0x40e57c(0x103)]]}=_0x2f0f71,_0x4bf372={..._0x2f0f71};_0x4bf372[_0x40e57c(0x13c)]=null;const _0x388b1f=_0x4bf372;let _0x484df6;if(testOpsHelper[_0x40e57c(0x171)]()&&testOpsHelper['shouldReRunObservabilityTests']()){let _0x1190a7=process[_0x40e57c(0x106)][_0x40e57c(0x15b)];!helper[_0x40e57c(0xec)](_0x100958[_0x40e57c(0x139)])&&_0x100958[_0x40e57c(0x139)][_0x40e57c(0xef)](_0xf3851f[_0x40e57c(0x13e)])&&(_0x1190a7=_0x100958['cliConfig'][_0x40e57c(0x115)](_0xf3851f[_0x40e57c(0x13e)])),_0x484df6=testOpsHelper[_0x40e57c(0x175)](_0x1190a7);}if(helper[_0x40e57c(0xec)](_0x484df6)){const _0x358231={};_0x358231[_0x40e57c(0x18a)]=ignore,_0x358231[_0x40e57c(0xe2)]=extension,_0x358231[_0x40e57c(0x17e)]=file,_0x358231[_0x40e57c(0x12d)]=recursive,_0x358231['sort']=sort,_0x358231[_0x40e57c(0xc4)]=spec,_0x484df6=_0xf3851f[_0x40e57c(0x14b)](collectFiles,_0x358231),_0xf3851f['qieeW'](nestedKeyValue,_0x484df6,[_0xf3851f[_0x40e57c(0x129)]])&&(_0x484df6=_0x484df6[_0x40e57c(0xe0)]);}helper[_0x40e57c(0x182)]();if(!helper[_0x40e57c(0x15e)]()){const _0x2edd9a=0x1,_0x6b0087={..._0x388b1f};_0x6b0087[_0x40e57c(0xc4)]=[..._0x484df6],_0x59324c[_0x40e57c(0xf7)]({'mochaOpts':_0x6b0087,'configuration':{'platform':os[_0x40e57c(0x18f)]()}}),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xb2)]),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xbf)]),_0xf3851f[_0x40e57c(0x162)](parallelTestRun,_0x59324c,_0x2edd9a,_0x100958)[_0x40e57c(0x140)](_0x274954=>{const _0x2244ae=_0x40e57c;_0xf3851f[_0x2244ae(0x196)](printStats,_0x274954,_0x2f0f71[_0x2244ae(0x9a)],_0x2f0f71[_0x2244ae(0x158)]||_0x2f0f71[_0xf3851f[_0x2244ae(0xb0)]]);})[_0x40e57c(0xf1)](()=>{const _0x242925=_0x40e57c;try{const {browserstackFolderPath:_0x163071,tcgConfigPath:_0x351ea2}=helper['getTCGConfigFilePaths']();fs[_0x242925(0x194)](_0x351ea2),fs[_0x242925(0x14e)](_0x163071);}catch(_0x5dfa56){logger[_0x242925(0xb7)](_0xf3851f[_0x242925(0xdf)],_0x5dfa56);}try{utilities[_0x242925(0x12c)](_0xf3851f[_0x242925(0xf8)],{},_0x100958[_0x242925(0xaa)],_0x100958[_0x242925(0xe6)]);}catch(_0x48ebda){logger['debug'](_0x242925(0x136)+_0x48ebda);}try{helper[_0x242925(0xd7)]();}catch(_0x52c92a){logger['debug'](_0x242925(0xfb)+_0x52c92a);}testOpsHelper[_0x242925(0x122)]();});}else{const _0x3750b=helper['useW3C'](_0x100958[_0x40e57c(0xaa)]),_0x4498f8=helper[_0x40e57c(0x169)](_0x100958[_0x40e57c(0xaa)]);_0x55b7b5=helper[_0x40e57c(0xa5)](_0x100958[_0x40e57c(0xaa)],_0x3750b,constants[_0x40e57c(0xf3)][_0x40e57c(0x16e)]);let _0x1594c8;const _0xc9a6f6=_0x100958[_0x40e57c(0xaa)]['parallelsPerPlatform']||helper[_0x40e57c(0xdb)](_0x2f0f71,_0x37730b,_0x100958[_0x40e57c(0xaa)],constants['FRAMEWORKS'][_0x40e57c(0x16e)])||0x1;helper[_0x40e57c(0xa8)](_0x100958[_0x40e57c(0xaa)])?_0x1594c8=_0xf3851f[_0x40e57c(0xa9)](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x105)][_0x40e57c(0x11d)],_0xc9a6f6):_0x1594c8=_0xc9a6f6;const _0x39bf9d=_0xf3851f[_0x40e57c(0x110)](getPercyOptions,_0x100958[_0x40e57c(0xaa)]);if(_0xf3851f['ZMqrg'](_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x143)],0x1))_0x484df6[_0x40e57c(0x102)](_0x5e6119=>{const _0x349363=_0x40e57c,_0x156746=[];_0x55b7b5[_0x349363(0x102)]((_0x1e3132,_0x5b8100)=>{const _0xa19b40=_0x349363,_0x353e54={};_0x353e54[_0xa19b40(0xc4)]=[_0x5e6119],_0x156746[_0xa19b40(0xf7)]({'mochaOpts':Object[_0xa19b40(0xb1)]({},_0x388b1f,_0x353e54),'configuration':{'server':_0x4498f8,'capability':_0x1e3132,'proxySettings':_0x100958[_0xa19b40(0xaa)][_0xa19b40(0x197)],'platform':helper[_0xa19b40(0x184)](_0x1e3132),'browserStackLogLevel':_0x100958[_0xa19b40(0xaa)][_0xa19b40(0xa6)],'platformIndex':_0x5b8100,'browserStackPercyOptions':_0x39bf9d,'platformCaps':_0x100958['config'][_0xa19b40(0x105)][_0x5b8100]}});}),_0x59324c[_0x349363(0xf7)](..._0x156746);});else{const _0x2aedef=[];_0x55b7b5[_0x40e57c(0x102)]((_0x1b6b5b,_0x344fa5)=>{const _0x51f318=_0x40e57c;let _0x2d35e7=Object[_0x51f318(0xb1)]({},_0x388b1f);testOpsHelper[_0x51f318(0x171)]()&&testOpsHelper[_0x51f318(0x13a)]()&&(_0x2d35e7={..._0x2d35e7,'spec':[..._0x484df6]}),_0x2aedef[_0x51f318(0xf7)]({'mochaOpts':_0x2d35e7,'configuration':{'server':_0x4498f8,'capability':_0x1b6b5b,'proxySettings':_0x100958[_0x51f318(0xaa)][_0x51f318(0x197)],'platform':helper[_0x51f318(0x184)](_0x1b6b5b),'browserStackLogLevel':_0x100958[_0x51f318(0xaa)][_0x51f318(0xa6)],'platformIndex':_0x344fa5,'browserStackPercyOptions':_0x39bf9d,'platformCaps':_0x100958['config'][_0x51f318(0x105)][_0x344fa5]}});}),_0x59324c['push'](..._0x2aedef);}logger[_0x40e57c(0xc2)](_0x40e57c(0x16d)+_0x100958[_0x40e57c(0xaa)][_0x40e57c(0x105)][_0x40e57c(0x11d)]+'\x20platforms'),logger[_0x40e57c(0xc2)](_0xf3851f[_0x40e57c(0xbf)]);let _0x29f4a9;_0xf3851f[_0x40e57c(0x162)](parallelTestRun,_0x59324c,_0x1594c8,_0x100958)[_0x40e57c(0x140)](_0xdd3493=>{const _0x2d085a=_0x40e57c;_0x29f4a9=_0xdd3493,_0xf3851f[_0x2d085a(0x12e)](printStats,_0xdd3493,_0x2f0f71[_0x2d085a(0x9a)],_0x2f0f71[_0x2d085a(0x158)]||_0x2f0f71[_0xf3851f[_0x2d085a(0xb0)]]);})[_0x40e57c(0xf1)](async()=>{const _0x1cf2f0=_0x40e57c;_0x100958['errorMessage']=helper[_0x1cf2f0(0x14a)](_0x29f4a9,_0xf3851f[_0x1cf2f0(0x9f)]),await utilities[_0x1cf2f0(0x17a)](_0x100958),testOpsHelper[_0x1cf2f0(0x122)]();});}}module['exports']=run;
|
|
2
|
+
'use strict';const a28_0x4e3d6b=a28_0xe6a6;(function(_0x460f96,_0x2890a0){const _0x3b5ae4=a28_0xe6a6,_0x51c16f=_0x460f96();while(!![]){try{const _0x3abb55=parseInt(_0x3b5ae4(0xb1))/0x1*(-parseInt(_0x3b5ae4(0x12a))/0x2)+-parseInt(_0x3b5ae4(0x132))/0x3*(parseInt(_0x3b5ae4(0x165))/0x4)+-parseInt(_0x3b5ae4(0x15d))/0x5*(-parseInt(_0x3b5ae4(0x111))/0x6)+parseInt(_0x3b5ae4(0x145))/0x7+parseInt(_0x3b5ae4(0xa2))/0x8*(-parseInt(_0x3b5ae4(0xaf))/0x9)+parseInt(_0x3b5ae4(0xe6))/0xa+parseInt(_0x3b5ae4(0x90))/0xb*(parseInt(_0x3b5ae4(0xda))/0xc);if(_0x3abb55===_0x2890a0)break;else _0x51c16f['push'](_0x51c16f['shift']());}catch(_0x568229){_0x51c16f['push'](_0x51c16f['shift']());}}}(a28_0x2991,0x283da));const chalk=require('chalk'),logger=require('../../helpers/logger')[a28_0x4e3d6b(0xc8)],{default:BrowserStackSetup}=require(a28_0x4e3d6b(0xaa)),helper=require(a28_0x4e3d6b(0x11d)),utilities=require('../../helpers/utilities'),testOpsHelper=require(a28_0x4e3d6b(0xb7)),fs=require('fs'),os=require('os'),{parallelTestRun}=require(a28_0x4e3d6b(0x100)),{requireModule,nestedKeyValue}=require(a28_0x4e3d6b(0x11d)),{getPercyOptions}=require('../../helpers/percy/utils'),Base=requireModule(a28_0x4e3d6b(0x92)),collectFiles=requireModule(a28_0x4e3d6b(0x148)),constants=require('../utils/constants');function tag(_0x39d99b,_0x3976b3,_0x21defa,_0x634a86){const _0x4522bd=a28_0x4e3d6b,_0x16ce4b={'KTfAi':function(_0x44fee4,_0x320141){return _0x44fee4+_0x320141;},'EHwkP':function(_0x34b31d,_0x41d9d8){return _0x34b31d(_0x41d9d8);},'RfxfY':function(_0x58509e,_0x272cbf){return _0x58509e+_0x272cbf;},'FrxSu':function(_0x4aad00,_0x4ca901){return _0x4aad00+_0x4ca901;},'elbjI':function(_0x32e57b,_0x57bc05){return _0x32e57b+_0x57bc05;},'EzNPA':function(_0x39811a,_0x1edd90){return _0x39811a+_0x1edd90;}},_0x5b8e53=_0x21defa?'/>':'>',_0x3da9c0=[];let _0x36ea41;for(const _0x2539a9 in _0x3976b3){Object[_0x4522bd(0x174)][_0x4522bd(0xb2)][_0x4522bd(0xa9)](_0x3976b3,_0x2539a9)&&_0x3da9c0[_0x4522bd(0xe7)](_0x16ce4b['KTfAi'](_0x16ce4b['KTfAi'](_0x16ce4b['KTfAi'](_0x2539a9,'=\x22'),_0x16ce4b[_0x4522bd(0x8a)](escape,_0x3976b3[_0x2539a9])),'\x22'));}return _0x36ea41=_0x16ce4b['RfxfY'](_0x16ce4b[_0x4522bd(0x13f)](_0x16ce4b['KTfAi']('<',_0x39d99b),_0x3da9c0[_0x4522bd(0xf8)]?_0x16ce4b[_0x4522bd(0x13f)]('\x20',_0x3da9c0[_0x4522bd(0x144)]('\x20')):''),_0x5b8e53),_0x634a86&&(_0x36ea41+=_0x16ce4b[_0x4522bd(0x87)](_0x16ce4b[_0x4522bd(0x13d)](_0x16ce4b[_0x4522bd(0xe8)](_0x634a86,'</'),_0x39d99b),_0x5b8e53)),_0x36ea41;}let xunitContent='';function xunitWrite(_0x30cfd2){xunitContent+=_0x30cfd2;}function a28_0xe6a6(_0x5e05d2,_0x37ad0f){const _0x29916b=a28_0x2991();return a28_0xe6a6=function(_0xe6a64,_0x4c0396){_0xe6a64=_0xe6a64-0x83;let _0x24ed2e=_0x29916b[_0xe6a64];return _0x24ed2e;},a28_0xe6a6(_0x5e05d2,_0x37ad0f);}function xunitTest(_0x447b84,_0x5b9c04){const _0x320b8b=a28_0x4e3d6b,_0x1fb073={'kIaso':function(_0x4e1229,_0x318807){return _0x4e1229/_0x318807;},'MWzKD':function(_0x209724,_0x59edb5){return _0x209724===_0x59edb5;},'CXJLC':'failed','xZYdM':function(_0x4675fb,_0x584a97){return _0x4675fb+_0x584a97;},'tvAxl':function(_0x441acd,_0x321ffd){return _0x441acd(_0x321ffd);},'PLaGA':function(_0x1c7f96,_0xa97fc1,_0x1f401d,_0x1adfb6,_0x3aaa0e){return _0x1c7f96(_0xa97fc1,_0x1f401d,_0x1adfb6,_0x3aaa0e);},'rwgZP':'testcase','cJALf':function(_0x1578b0,_0x3afa55,_0x35c964,_0x140836,_0x4aff9f){return _0x1578b0(_0x3afa55,_0x35c964,_0x140836,_0x4aff9f);},'PkatS':_0x320b8b(0x135),'JBovu':function(_0x4bd7fa,_0x51d425){return _0x4bd7fa(_0x51d425);},'uzpcc':function(_0x45a447,_0x1ba50c){return _0x45a447(_0x1ba50c);},'UGfpl':function(_0x4652b1,_0x3c80b1,_0x164d5a,_0x4a76a9,_0x36a78f){return _0x4652b1(_0x3c80b1,_0x164d5a,_0x4a76a9,_0x36a78f);},'qIcmd':function(_0x1d928c,_0x3b272a,_0x2f7a28,_0x42b221){return _0x1d928c(_0x3b272a,_0x2f7a28,_0x42b221);},'flmfS':_0x320b8b(0xbd),'APUeb':function(_0xed2d81,_0x32eb75,_0x4ea7c2,_0xdfecd4){return _0xed2d81(_0x32eb75,_0x4ea7c2,_0xdfecd4);}};Base[_0x320b8b(0x146)]=![];var _0x2ed3fb={'classname':_0x447b84[_0x320b8b(0xd5)],'name':_0x447b84['title'],'time':_0x1fb073['kIaso'](_0x447b84[_0x320b8b(0x14f)],0x3e8)||0x0,'platform':_0x5b9c04};if(_0x1fb073[_0x320b8b(0xab)](_0x447b84[_0x320b8b(0x102)],_0x1fb073['CXJLC'])){var _0x179c34=_0x447b84[_0x320b8b(0xff)],_0x40b617=!Base['hideDiff']&&Base[_0x320b8b(0x8d)](_0x179c34)?_0x1fb073[_0x320b8b(0xdb)]('\x0a',Base[_0x320b8b(0xc0)](_0x179c34[_0x320b8b(0xae)],_0x179c34['expected'])):'';_0x1fb073[_0x320b8b(0x125)](xunitWrite,_0x1fb073[_0x320b8b(0x149)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,![],_0x1fb073['cJALf'](tag,_0x1fb073[_0x320b8b(0x91)],{},![],_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0xdb)](_0x1fb073[_0x320b8b(0x125)](escape,_0x179c34[_0x320b8b(0xd3)]),_0x1fb073[_0x320b8b(0x125)](escape,_0x40b617)),'\x0a'),_0x1fb073[_0x320b8b(0xad)](escape,_0x179c34[_0x320b8b(0x94)])))));}else _0x447b84[_0x320b8b(0x170)]?_0x1fb073[_0x320b8b(0xee)](xunitWrite,_0x1fb073[_0x320b8b(0x12f)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,![],_0x1fb073[_0x320b8b(0xd0)](tag,_0x1fb073[_0x320b8b(0x95)],{},!![]))):_0x1fb073[_0x320b8b(0xee)](xunitWrite,_0x1fb073[_0x320b8b(0x178)](tag,_0x1fb073[_0x320b8b(0x88)],_0x2ed3fb,!![]));};function getStats(_0x33e172){const _0x441663=a28_0x4e3d6b,_0xf19a94={};_0xf19a94['jxzoM']=_0x441663(0x12b),_0xf19a94[_0x441663(0x9c)]=_0x441663(0x12c),_0xf19a94[_0x441663(0x13b)]=_0x441663(0xfa),_0xf19a94[_0x441663(0xef)]=_0x441663(0xac);const _0xbf23b9=_0xf19a94,_0x5c9c82=Object[_0x441663(0xdf)](_0x33e172);let _0x480830=0x0,_0x4dc066=0x0,_0x48f658=0x0,_0x2f248f=0x0;const _0x56dcd0=new Set();_0x5c9c82[_0x441663(0x141)](_0x1a5194=>{const _0xc9692b=_0x441663,_0x29d0dc={};_0x29d0dc[_0xc9692b(0xeb)]=_0xbf23b9[_0xc9692b(0xcf)],_0x29d0dc[_0xc9692b(0x85)]=_0xbf23b9[_0xc9692b(0x9c)],_0x29d0dc[_0xc9692b(0xc4)]=_0xbf23b9[_0xc9692b(0x13b)];const _0x2623a1=_0x29d0dc;_0x33e172[_0x1a5194][_0xbf23b9[_0xc9692b(0xef)]][_0xc9692b(0x141)](_0x2a6f9e=>{const _0x41ff15=_0xc9692b;_0x56dcd0[_0x41ff15(0x16a)](_0x2a6f9e[_0x2623a1[_0x41ff15(0xeb)]]),_0x480830++;switch(_0x2a6f9e[_0x41ff15(0x102)]){case _0x2623a1[_0x41ff15(0x85)]:_0x48f658++;break;case _0x2623a1[_0x41ff15(0xc4)]:_0x4dc066++;break;default:_0x2f248f++;}});});const _0x2fc630={};return _0x2fc630[_0x441663(0xc7)]=_0x56dcd0[_0x441663(0x16c)],_0x2fc630[_0x441663(0x8f)]=_0x5c9c82,_0x2fc630[_0x441663(0x14a)]=_0x480830,_0x2fc630[_0x441663(0xb6)]=_0x4dc066,_0x2fc630['testsPassed']=_0x48f658,_0x2fc630[_0x441663(0x152)]=_0x2f248f,_0x2fc630;}function errorJSON(_0x3e5a17){const _0x28a3a0=a28_0x4e3d6b;var _0xd92a9b={};return Object[_0x28a3a0(0x131)](_0x3e5a17)[_0x28a3a0(0x141)](function(_0x4f2ae4){_0xd92a9b[_0x4f2ae4]=_0x3e5a17[_0x4f2ae4];},_0x3e5a17),_0xd92a9b;}function cleanCycles(_0x473b29){const _0x4d5b8a=a28_0x4e3d6b,_0x23831c={};_0x23831c[_0x4d5b8a(0xa7)]=function(_0x4c0950,_0x249f0d){return _0x4c0950===_0x249f0d;},_0x23831c['ChYIF']=_0x4d5b8a(0x84),_0x23831c[_0x4d5b8a(0x172)]=function(_0x1e2b25,_0x329095){return _0x1e2b25!==_0x329095;},_0x23831c[_0x4d5b8a(0x15e)]=function(_0x1df09b,_0x338427){return _0x1df09b!==_0x338427;},_0x23831c[_0x4d5b8a(0xfd)]=function(_0x5f0a9b,_0x39dde5){return _0x5f0a9b+_0x39dde5;};const _0x2ca175=_0x23831c;var _0x112fe3=[];return JSON[_0x4d5b8a(0x15a)](JSON[_0x4d5b8a(0x15f)](_0x473b29,function(_0x194da0,_0x29cbe4){const _0x4f6160=_0x4d5b8a;if(_0x2ca175[_0x4f6160(0xa7)](typeof _0x29cbe4,_0x2ca175['ChYIF'])&&_0x2ca175[_0x4f6160(0x172)](_0x29cbe4,null)){if(_0x2ca175[_0x4f6160(0x15e)](_0x112fe3['indexOf'](_0x29cbe4),-0x1))return _0x2ca175['QrWCp']('',_0x29cbe4);_0x112fe3['push'](_0x29cbe4);}return _0x29cbe4;}));}function clean(_0x31121d){const _0x143904=a28_0x4e3d6b,_0x179397={'UpgYp':function(_0x1d2de2,_0x1e7cba){return _0x1d2de2 instanceof _0x1e7cba;},'nQTRR':function(_0x222f53,_0x5cb2b1){return _0x222f53(_0x5cb2b1);}};var _0x54723a=_0x31121d[_0x143904(0xff)]||{};return _0x179397[_0x143904(0x10a)](_0x54723a,Error)&&(_0x54723a=_0x179397[_0x143904(0x13e)](errorJSON,_0x54723a)),{'title':_0x31121d[_0x143904(0x93)],'fullTitle':_0x31121d[_0x143904(0xd5)],'file':_0x31121d[_0x143904(0xc3)],'duration':_0x31121d['duration'],'currentRetry':_0x31121d[_0x143904(0x11a)],'speed':_0x31121d[_0x143904(0xf1)],'err':_0x179397[_0x143904(0x13e)](cleanCycles,_0x54723a)};}function printStats(_0x236ec0,_0xc15653=a28_0x4e3d6b(0xb3),_0x3f5e2f={}){const _0x4bf060=a28_0x4e3d6b,_0x2c2f4b={'fiMLG':function(_0x241b77,_0x40fb72){return _0x241b77(_0x40fb72);},'YhJHK':function(_0x3d936e,_0x47a6a7){return _0x3d936e===_0x47a6a7;},'MGjuj':_0x4bf060(0x12c),'hgQzo':_0x4bf060(0xba),'PYEdy':function(_0x350c26,_0x2536f4){return _0x350c26(_0x2536f4);},'qwwCy':function(_0xb4c152,_0x95629e){return _0xb4c152===_0x95629e;},'hrlAA':_0x4bf060(0xfa),'kbGWO':_0x4bf060(0x96),'LpgpW':function(_0xa3e2f,_0x2ebfb2){return _0xa3e2f(_0x2ebfb2);},'IYXRa':_0x4bf060(0x17f),'VdtGS':_0x4bf060(0xac),'ydweV':function(_0x1f388a,_0x1b1872){return _0x1f388a===_0x1b1872;},'nGbAU':function(_0x1a3b13,_0x7b5162){return _0x1a3b13===_0x7b5162;},'DetPj':function(_0x2c8fca,_0x129aa4){return _0x2c8fca*_0x129aa4;},'fLvSo':function(_0x22539b,_0xbebfc3,_0x2c46fc){return _0x22539b(_0xbebfc3,_0x2c46fc);},'hfFnn':function(_0x3d2735,_0xf54ecd){return _0x3d2735===_0xf54ecd;},'viZQq':function(_0xc9cf23,_0xb5ffbc){return _0xc9cf23>_0xb5ffbc;},'kDsaq':function(_0x1facdc){return _0x1facdc();},'ZlAdc':_0x4bf060(0x17c),'qKyeq':function(_0x121111,_0xd4f34c){return _0x121111(_0xd4f34c);},'BKhnz':function(_0x227513,_0x1c9de6){return _0x227513>_0x1c9de6;},'QCJpK':_0x4bf060(0x120),'aVeYa':'Printing\x20stats\x20of\x20tests','DamnE':function(_0x3fb893,_0x3a69bc){return _0x3fb893+_0x3a69bc;},'beVwy':_0x4bf060(0xe4),'dDzal':_0x4bf060(0x129),'fjTsy':_0x4bf060(0x15c),'uHztV':function(_0x1681cb,_0x30c65c){return _0x1681cb>_0x30c65c;},'kRrwU':function(_0x2c1676,_0x5e2ec8){return _0x2c1676+_0x5e2ec8;},'PeHJb':function(_0x4234bc,_0x263df9){return _0x4234bc+_0x263df9;},'nDIuI':_0x4bf060(0xd8),'mlZEM':function(_0x23ba7a,_0x3cb40b){return _0x23ba7a===_0x3cb40b;},'oCnnk':_0x4bf060(0x14d),'YvIrB':_0x4bf060(0x17e),'MsgCW':_0x4bf060(0xc9),'ZOmxs':_0x4bf060(0xf4),'wIklF':_0x4bf060(0x97),'iVFxW':_0x4bf060(0xf5),'fhUSr':function(_0x1c6eda,_0x10d7ec){return _0x1c6eda||_0x10d7ec;},'ONYuV':function(_0x3967f1,_0x3cbab3,_0x364310,_0x1ebf55){return _0x3967f1(_0x3cbab3,_0x364310,_0x1ebf55);},'BDbRq':_0x4bf060(0x183),'qnWLa':function(_0x1364eb,_0x1fd444){return _0x1364eb-_0x1fd444;},'WqsiZ':function(_0x1aeab6,_0x15f08b){return _0x1aeab6-_0x15f08b;},'tnXVR':function(_0x56cde4,_0x33ea2d){return _0x56cde4/_0x33ea2d;},'POcKb':function(_0xc7f93b,_0x580dfd){return _0xc7f93b(_0x580dfd);},'BoqDa':'</testsuite>','tgvJs':_0x4bf060(0x13a),'JkYoA':_0x4bf060(0x17a),'uviXo':_0x4bf060(0x156),'PsdlJ':_0x4bf060(0x166),'lcwLS':_0x4bf060(0x14b)};if(_0x2c2f4b[_0x4bf060(0x147)](_0xc15653,_0x2c2f4b[_0x4bf060(0x11e)]))return;const _0x9cbdc9=0x0,_0x2c66e3=()=>{const _0x5b4058=_0x4bf060;return _0x2c2f4b[_0x5b4058(0xb0)](Array,_0x9cbdc9)[_0x5b4058(0x144)]('\x20\x20');},{testSuites:_0x25636b,platforms:_0x18e31d,totalTests:_0x4dc435,testsFailed:_0x2b5bdc,testsPassed:_0x540dc3,testsPending:_0x586f60}=_0x2c2f4b[_0x4bf060(0x138)](getStats,_0x236ec0);_0x2c2f4b[_0x4bf060(0xf0)](_0x2b5bdc,0x0)&&(logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x12d)]),process[_0x4bf060(0x98)]=Math['min'](_0x2b5bdc,0xff));logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0xd2)]);const _0x2c4475=''+_0x2c2f4b['DamnE'](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0x182)]),_0x18e31d[_0x4bf060(0xf8)]),_0x261b6f=''+_0x2c2f4b[_0x4bf060(0x160)](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0xa4)]),_0x25636b),_0x5e725d=''+_0x2c2f4b[_0x4bf060(0x160)](_0x2c2f4b['DamnE'](_0x2c2f4b[_0x4bf060(0x160)](chalk[_0x4bf060(0xe9)](_0x2c2f4b[_0x4bf060(0xd4)]),_0x2c2f4b[_0x4bf060(0x153)](_0x2b5bdc,0x0)?chalk['bold'][_0x4bf060(0x16d)](_0x2b5bdc+_0x4bf060(0x14e))+',\x20':''),_0x2c2f4b[_0x4bf060(0xfc)](_0x586f60,0x0)?chalk[_0x4bf060(0xe9)][_0x4bf060(0xb9)](_0x586f60+'\x20skipped')+',\x20':''),_0x2c2f4b[_0x4bf060(0x153)](_0x540dc3,0x0)?chalk[_0x4bf060(0xe9)][_0x4bf060(0x17d)](_0x540dc3+_0x4bf060(0x101))+',\x20':'')+_0x4dc435+'\x20total';console[_0x4bf060(0x107)](_0x2c2f4b[_0x4bf060(0x158)](_0x2c2f4b[_0x4bf060(0x16b)](_0x2c2f4b['DamnE'](_0x2c2f4b[_0x4bf060(0x16b)](_0x2c2f4b[_0x4bf060(0x160)](_0x2c2f4b[_0x4bf060(0x115)],_0x2c4475),'\x0a'),_0x261b6f),'\x0a'),_0x5e725d));if(_0x2c2f4b[_0x4bf060(0xa3)](_0xc15653,_0x2c2f4b[_0x4bf060(0xf6)])){const _0x327a5f={},_0x136e35={};_0x136e35[_0x4bf060(0xc7)]=_0x25636b,_0x136e35[_0x4bf060(0x8f)]=_0x18e31d,_0x136e35[_0x4bf060(0xb6)]=_0x2b5bdc,_0x136e35[_0x4bf060(0x103)]=_0x540dc3,_0x136e35[_0x4bf060(0x152)]=_0x586f60,_0x327a5f['stats']=_0x136e35,_0x18e31d[_0x4bf060(0x141)](_0x3c2992=>{const _0x2c8ca0=_0x4bf060;_0x327a5f[_0x3c2992]={'pending':[],'failures':[],'passes':[],'tests':_0x236ec0[_0x3c2992][_0x2c2f4b['VdtGS']][_0x2c8ca0(0x150)](clean)},_0x236ec0[_0x3c2992][_0x2c2f4b['VdtGS']][_0x2c8ca0(0x141)](_0x59e6af=>{const _0x592526=_0x2c8ca0;if(_0x2c2f4b[_0x592526(0xc6)](_0x59e6af[_0x592526(0x102)],_0x2c2f4b['MGjuj']))_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0x106)]][_0x592526(0xe7)](_0x2c2f4b[_0x592526(0x143)](clean,_0x59e6af));else _0x2c2f4b[_0x592526(0xf7)](_0x59e6af[_0x592526(0x102)],_0x2c2f4b[_0x592526(0x119)])?_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0x16e)]]['push'](_0x2c2f4b['LpgpW'](clean,_0x59e6af)):_0x327a5f[_0x3c2992][_0x2c2f4b[_0x592526(0xbc)]][_0x592526(0xe7)](_0x2c2f4b['fiMLG'](clean,_0x59e6af));});});if(_0x3f5e2f[_0x4bf060(0x173)])try{logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x139)],_0x3f5e2f['output']),fs[_0x4bf060(0xc1)](_0x3f5e2f[_0x4bf060(0x173)],JSON[_0x4bf060(0x15f)](_0x327a5f,null,0x3));}catch(_0x5b8d6a){logger[_0x4bf060(0x128)](_0x2c2f4b['MsgCW'],_0x3f5e2f['output']),logger[_0x4bf060(0x15b)](_0x5b8d6a);}else logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0xd9)]),console['log'](JSON['stringify'](_0x327a5f,null,0x3));}else{if(_0x2c2f4b[_0x4bf060(0x8b)](_0xc15653,_0x2c2f4b['wIklF'])){let _0x196004;const _0x528b41=_0x2c2f4b['iVFxW'];_0x3f5e2f&&(_0x196004=_0x3f5e2f[_0x4bf060(0x10c)]);_0x196004=_0x2c2f4b[_0x4bf060(0x11b)](_0x196004,_0x528b41);let _0x2db20d=0x0,_0x242caa=0x0,_0x179d22=0x0,_0x348fcb=0x0;_0x18e31d[_0x4bf060(0x141)](_0x220115=>{const _0x1e53ef=_0x4bf060,_0x1feec3={'zGyQS':function(_0x20409c,_0x1e9bf9){const _0xdf78d5=a28_0xe6a6;return _0x2c2f4b[_0xdf78d5(0x112)](_0x20409c,_0x1e9bf9);},'ZkPBO':_0x2c2f4b[_0x1e53ef(0xcb)],'uQMYH':function(_0x5b3cc1,_0x35cf98){return _0x2c2f4b['nGbAU'](_0x5b3cc1,_0x35cf98);},'LqVGq':_0x2c2f4b[_0x1e53ef(0x119)],'WNtvo':function(_0x3aac9f,_0x5ed985){return _0x2c2f4b['DetPj'](_0x3aac9f,_0x5ed985);}};_0x236ec0[_0x220115][_0x2c2f4b[_0x1e53ef(0x8c)]]['forEach'](_0x2a2e69=>{const _0x47b181=_0x1e53ef;if(_0x1feec3['zGyQS'](_0x2a2e69[_0x47b181(0x102)],_0x1feec3[_0x47b181(0x163)]))_0x2db20d++;else _0x1feec3[_0x47b181(0x8e)](_0x2a2e69[_0x47b181(0x102)],_0x1feec3[_0x47b181(0x10e)])&&_0x242caa++;_0x179d22++,_0x348fcb+=_0x1feec3['WNtvo'](_0x2a2e69[_0x47b181(0x14f)],0x1);});}),_0x2c2f4b[_0x4bf060(0x143)](xunitWrite,_0x2c2f4b[_0x4bf060(0xc2)](tag,_0x2c2f4b[_0x4bf060(0x86)],{'name':_0x196004,'tests':_0x179d22,'failures':0x0,'errors':_0x242caa,'skipped':_0x2c2f4b[_0x4bf060(0xec)](_0x2c2f4b['WqsiZ'](_0x179d22,_0x242caa),_0x2db20d),'timestamp':new Date()[_0x4bf060(0xe2)](),'time':_0x2c2f4b[_0x4bf060(0xe0)](_0x348fcb,0x3e8)||0x0},![])),_0x18e31d[_0x4bf060(0x141)](_0xcf33b7=>{const _0x38d345=_0x4bf060;_0x236ec0[_0xcf33b7][_0x2c2f4b[_0x38d345(0x8c)]][_0x38d345(0x141)](_0x2558c6=>{_0x2c2f4b['fLvSo'](xunitTest,_0x2558c6,_0xcf33b7);});}),_0x2c2f4b[_0x4bf060(0xc5)](xunitWrite,_0x2c2f4b[_0x4bf060(0xce)]);if(_0x3f5e2f[_0x4bf060(0x173)])try{logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x171)],_0x3f5e2f[_0x4bf060(0x173)]),fs[_0x4bf060(0xc1)](_0x3f5e2f[_0x4bf060(0x173)],xunitContent);}catch(_0x4355bc){logger['error'](_0x2c2f4b[_0x4bf060(0x127)],_0x3f5e2f['output']),logger[_0x4bf060(0x15b)](_0x4355bc);}else logger['debug'](_0x2c2f4b[_0x4bf060(0x9d)]),console[_0x4bf060(0x107)](xunitContent);}else{if(_0x2c2f4b[_0x4bf060(0x112)](_0x2b5bdc,0x0))return;console['log'](),logger[_0x4bf060(0x15b)](_0x2c2f4b[_0x4bf060(0x126)]),console[_0x4bf060(0x107)](chalk[_0x4bf060(0xe9)]['bgRedBright'](_0x2c2f4b[_0x4bf060(0x12e)])),_0x18e31d['forEach'](_0x163447=>{const _0x3ceb77=_0x4bf060,_0x135f96=[];_0x236ec0[_0x163447][_0x2c2f4b[_0x3ceb77(0x8c)]][_0x3ceb77(0x141)](_0x3555a9=>{const _0x52ada7=_0x3ceb77;_0x2c2f4b[_0x52ada7(0x147)](_0x3555a9[_0x52ada7(0x102)],_0x2c2f4b['hrlAA'])&&(_0x3555a9[_0x52ada7(0x9e)]=()=>_0x3555a9[_0x52ada7(0x181)],_0x135f96[_0x52ada7(0xe7)](_0x3555a9));}),_0x2c2f4b[_0x3ceb77(0x153)](_0x135f96[_0x3ceb77(0xf8)],0x0)&&(Base[_0x3ceb77(0x168)](),Base['consoleLog'](_0x2c2f4b['kDsaq'](_0x2c66e3),chalk[_0x3ceb77(0xe9)][_0x3ceb77(0x122)](_0x163447)),Base[_0x3ceb77(0x169)](_0x135f96));});}}}async function run(_0x5b55c3,_0x276fe8){const _0x57c7b1=a28_0x4e3d6b,_0x3769bb={'gPXVv':function(_0x293c59,_0x4300af,_0x469397,_0x29e7f2){return _0x293c59(_0x4300af,_0x469397,_0x29e7f2);},'eRNtb':'reporter-option','dAiVJ':_0x57c7b1(0x133),'YXokM':_0x57c7b1(0x137),'iuUmQ':_0x57c7b1(0xd1),'ZNadI':_0x57c7b1(0x162),'bEgSX':_0x57c7b1(0x121),'QKNRI':function(_0x723503,_0xbee5cb){return _0x723503!=_0xbee5cb;},'tExps':'cjs','SCJvr':_0x57c7b1(0xde),'CRXFf':'test','IhAEo':_0x57c7b1(0x180),'FQyjq':function(_0x56d692,_0x283dcd){return _0x56d692(_0x283dcd);},'cTULz':function(_0xca56a0,_0x494557,_0x214899){return _0xca56a0(_0x494557,_0x214899);},'KenmY':_0x57c7b1(0x9f),'ShXIO':_0x57c7b1(0xf9),'CRuRR':_0x57c7b1(0xa8),'bQRlU':function(_0x280c86,_0x5422b0,_0x593802,_0x3b630c){return _0x280c86(_0x5422b0,_0x593802,_0x3b630c);},'IkNbX':function(_0x5189de,_0x4e0fc5){return _0x5189de*_0x4e0fc5;},'ykKiZ':function(_0x56c329,_0x21b95a){return _0x56c329(_0x21b95a);},'xXERq':function(_0x53319d,_0x2fb69d){return _0x53319d!==_0x2fb69d;},'Twkfp':function(_0x18e2ac,_0x4e6f74,_0x538b59,_0x3364c2){return _0x18e2ac(_0x4e6f74,_0x538b59,_0x3364c2);}};process['argv'][_0x57c7b1(0xa1)](_0x3769bb['ZNadI'])&&(process[_0x57c7b1(0xea)]['BROWSERSTACK_TEST_OBSERVABILITY']=![]);process[_0x57c7b1(0xfe)]['includes'](_0x3769bb[_0x57c7b1(0x116)])&&(process[_0x57c7b1(0xea)]['BROWSERSTACK_AUTOMATION']=![]);const _0x9e23a0=new BrowserStackSetup(_0x5b55c3,_0x3769bb[_0x57c7b1(0x142)]);helper['isBrowserstackInfra']()?(await _0x9e23a0[_0x57c7b1(0x118)](),await helper[_0x57c7b1(0x159)](_0x9e23a0[_0x57c7b1(0xb8)])):await _0x9e23a0[_0x57c7b1(0x176)]();const _0x1b0909=[];let _0x536901=[];if(!_0x9e23a0['config'])return;_0x3769bb[_0x57c7b1(0x10f)](_0x9e23a0['config'][_0x57c7b1(0x109)],null)&&(process[_0x57c7b1(0xea)][_0x57c7b1(0xdd)]=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0x109)]);!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xb4)])&&(process['env'][_0x57c7b1(0x10b)]=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xb4)]);!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xcc)])&&(process[_0x57c7b1(0xea)][_0x57c7b1(0x110)]=JSON['stringify'](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xcc)]));const {extension:extension=['js',_0x3769bb[_0x57c7b1(0x89)],_0x3769bb['SCJvr']],ignore:ignore=[],file:file=[],recursive:recursive=![],sort:sort=![],spec:spec=[_0x3769bb['CRXFf']]}=_0x5b55c3,_0x1d2f84={..._0x5b55c3};_0x1d2f84[_0x57c7b1(0xe1)]=null;const _0x47425b=_0x1d2f84;let _0x4d7513;if(testOpsHelper[_0x57c7b1(0xe5)]()&&testOpsHelper[_0x57c7b1(0x13c)]()){let _0x36a420=process[_0x57c7b1(0xea)][_0x57c7b1(0xd7)];!helper[_0x57c7b1(0x140)](_0x9e23a0[_0x57c7b1(0x104)])&&_0x9e23a0[_0x57c7b1(0x104)][_0x57c7b1(0xf2)](_0x3769bb[_0x57c7b1(0x179)])&&(_0x36a420=_0x9e23a0['cliConfig'][_0x57c7b1(0x124)](_0x3769bb['IhAEo'])),_0x4d7513=testOpsHelper[_0x57c7b1(0xbf)](_0x36a420);}if(helper['isUndefined'](_0x4d7513)){const _0x1031da={};_0x1031da[_0x57c7b1(0xe3)]=ignore,_0x1031da[_0x57c7b1(0x155)]=extension,_0x1031da[_0x57c7b1(0xc3)]=file,_0x1031da[_0x57c7b1(0x130)]=recursive,_0x1031da[_0x57c7b1(0x151)]=sort,_0x1031da[_0x57c7b1(0xb3)]=spec,_0x4d7513=_0x3769bb[_0x57c7b1(0x177)](collectFiles,_0x1031da),_0x3769bb[_0x57c7b1(0xfb)](nestedKeyValue,_0x4d7513,[_0x3769bb['KenmY']])&&(_0x4d7513=_0x4d7513[_0x57c7b1(0x9f)]);}helper['markSDKSetupComplete']();if(!helper[_0x57c7b1(0x10d)]()){const _0x49f374=0x1,_0x4e479e={..._0x47425b};_0x4e479e[_0x57c7b1(0xb3)]=[..._0x4d7513],_0x1b0909[_0x57c7b1(0xe7)]({'mochaOpts':_0x4e479e,'configuration':{'platform':os[_0x57c7b1(0x83)]()}}),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x117)]),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x105)]),_0x3769bb[_0x57c7b1(0x11f)](parallelTestRun,_0x1b0909,_0x49f374,_0x9e23a0)[_0x57c7b1(0x113)](_0x3c6f01=>{const _0x1039a5=_0x57c7b1;_0x3769bb[_0x1039a5(0xa6)](printStats,_0x3c6f01,_0x5b55c3[_0x1039a5(0xca)],_0x5b55c3['reporterOptions']||_0x5b55c3[_0x3769bb[_0x1039a5(0x99)]]);})[_0x57c7b1(0x164)](()=>{const _0x4d45ec=_0x57c7b1;try{const {browserstackFolderPath:_0x4b7f4d,tcgConfigPath:_0x319c23}=helper[_0x4d45ec(0xf3)]();fs[_0x4d45ec(0xcd)](_0x319c23),fs[_0x4d45ec(0xd6)](_0x4b7f4d);}catch(_0x5d64bf){logger['debug'](_0x3769bb[_0x4d45ec(0x9a)],_0x5d64bf);}try{utilities[_0x4d45ec(0xed)](_0x3769bb['YXokM'],{},_0x9e23a0[_0x4d45ec(0xb8)],_0x9e23a0['framework']);}catch(_0x5e9659){logger[_0x4d45ec(0x15b)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x5e9659);}try{helper[_0x4d45ec(0x175)]();}catch(_0x90d399){logger[_0x4d45ec(0x15b)](_0x4d45ec(0x114)+_0x90d399);}testOpsHelper['printBuildLink']();});}else{const _0x5cad7f=helper[_0x57c7b1(0xa5)](_0x9e23a0['config']),_0x7726b2=helper['getHubUrl'](_0x9e23a0[_0x57c7b1(0xb8)]);_0x536901=helper['prepareCapabilities'](_0x9e23a0[_0x57c7b1(0xb8)],_0x5cad7f,constants['FRAMEWORKS'][_0x57c7b1(0x154)]);let _0x388ef2;const _0x27003f=_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xa0)]||helper[_0x57c7b1(0x108)](_0x5b55c3,_0x276fe8,_0x9e23a0[_0x57c7b1(0xb8)],constants[_0x57c7b1(0x16f)][_0x57c7b1(0x154)])||0x1;helper['validPlatformsPresent'](_0x9e23a0['config'])?_0x388ef2=_0x3769bb[_0x57c7b1(0x157)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0x8f)][_0x57c7b1(0xf8)],_0x27003f):_0x388ef2=_0x27003f;const _0x290bff=_0x3769bb['ykKiZ'](getPercyOptions,_0x9e23a0['config']);if(_0x3769bb[_0x57c7b1(0x14c)](_0x9e23a0[_0x57c7b1(0xb8)][_0x57c7b1(0xa0)],0x1))_0x4d7513[_0x57c7b1(0x141)](_0x1ccf91=>{const _0x3662ea=_0x57c7b1,_0x24f49a=[];_0x536901[_0x3662ea(0x141)]((_0x3c9fdd,_0x5a8c56)=>{const _0xc9ae08=_0x3662ea,_0x1638cc={};_0x1638cc[_0xc9ae08(0xb3)]=[_0x1ccf91],_0x24f49a[_0xc9ae08(0xe7)]({'mochaOpts':Object[_0xc9ae08(0x167)]({},_0x47425b,_0x1638cc),'configuration':{'server':_0x7726b2,'capability':_0x3c9fdd,'proxySettings':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x9b)],'platform':helper['getPlatformName'](_0x3c9fdd),'browserStackLogLevel':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x161)],'platformIndex':_0x5a8c56,'browserStackPercyOptions':_0x290bff,'platformCaps':_0x9e23a0[_0xc9ae08(0xb8)][_0xc9ae08(0x8f)][_0x5a8c56]}});}),_0x1b0909[_0x3662ea(0xe7)](..._0x24f49a);});else{const _0xb93dc7=[];_0x536901[_0x57c7b1(0x141)]((_0x1f8249,_0x24375c)=>{const _0x516303=_0x57c7b1;let _0x45f509=Object[_0x516303(0x167)]({},_0x47425b);testOpsHelper[_0x516303(0xe5)]()&&testOpsHelper[_0x516303(0x13c)]()&&(_0x45f509={..._0x45f509,'spec':[..._0x4d7513]}),_0xb93dc7[_0x516303(0xe7)]({'mochaOpts':_0x45f509,'configuration':{'server':_0x7726b2,'capability':_0x1f8249,'proxySettings':_0x9e23a0[_0x516303(0xb8)][_0x516303(0x9b)],'platform':helper[_0x516303(0x136)](_0x1f8249),'browserStackLogLevel':_0x9e23a0['config']['logLevel'],'platformIndex':_0x24375c,'browserStackPercyOptions':_0x290bff,'platformCaps':_0x9e23a0['config'][_0x516303(0x8f)][_0x24375c]}});}),_0x1b0909['push'](..._0xb93dc7);}logger['info'](_0x57c7b1(0x17b)+_0x9e23a0['config'][_0x57c7b1(0x8f)]['length']+_0x57c7b1(0x123)),logger[_0x57c7b1(0xb5)](_0x3769bb[_0x57c7b1(0x105)]);let _0x3e0298;_0x3769bb[_0x57c7b1(0xbe)](parallelTestRun,_0x1b0909,_0x388ef2,_0x9e23a0)[_0x57c7b1(0x113)](_0x4a137f=>{const _0x569361=_0x57c7b1;_0x3e0298=_0x4a137f,_0x3769bb['gPXVv'](printStats,_0x4a137f,_0x5b55c3[_0x569361(0xca)],_0x5b55c3[_0x569361(0xbb)]||_0x5b55c3[_0x3769bb[_0x569361(0x99)]]);})[_0x57c7b1(0x164)](async()=>{const _0x37705f=_0x57c7b1;_0x9e23a0[_0x37705f(0x134)]=helper['getErrorMessageFromResults'](_0x3e0298,_0x3769bb['iuUmQ']),await utilities[_0x37705f(0xdc)](_0x9e23a0),testOpsHelper['printBuildLink']();});}}module[a28_0x4e3d6b(0x11c)]=run;function a28_0x2991(){const _0x5b23c4=['CRuRR','hgQzo','log','getUserWorkerCount','testObservability','UpgYp','BROWSERSTACK_TEST_ACCESSIBILITY_YML','suiteName','isBrowserstackInfra','LqVGq','QKNRI','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','103920lCUpWP','ydweV','then','Error\x20in\x20notifying\x20update.\x20Stacktrace:\x20','nDIuI','bEgSX','ShXIO','initialize','hrlAA','currentRetry','fhUSr','exports','../../helpers/helper','ZlAdc','bQRlU','Setting\x20non\x20exit\x20code\x20for\x20failures','--disable-browserstack-automation','bgBlueBright','\x20platforms','get','tvAxl','PsdlJ','JkYoA','error','Total\x20Suites:\x20','10tapNuW','suite','passed','QCJpK','lcwLS','UGfpl','recursive','getOwnPropertyNames','36120LaSQjZ','error\x20removing\x20tcg\x20config\x20file','errorMessage','failure','getPlatformName','SDKTestSuccessful','qKyeq','YvIrB','Writing\x20xunit\x20result\x20to\x20file','vQaaC','shouldReRunObservabilityTests','elbjI','nQTRR','RfxfY','isUndefined','forEach','iuUmQ','PYEdy','join','1847209DiWcGN','useColors','hfFnn','mocha/lib/cli/collect-files.js','PLaGA','totalTests','****\x20FAILURES\x20****','xXERq','json','\x20failed','duration','map','sort','testsPending','viZQq','MOCHA','extension','No\x20output\x20file\x20given,\x20writing\x20xunit\x20result\x20to\x20console','IkNbX','kRrwU','handleApp','parse','debug','Tests:\x20\x20\x20\x20\x20\x20\x20','10fOFpxL','nWKQp','stringify','DamnE','logLevel','--disable-test-observability','ZkPBO','finally','56YDQmEV','Listing\x20all\x20the\x20failures','assign','consoleLog','list','add','PeHJb','size','red','kbGWO','FRAMEWORKS','isPending','tgvJs','BLaWB','output','prototype','notifyUpdate','setupTCGAuth','FQyjq','APUeb','IhAEo','Couldn\x27t\x20write\x20xunit\x20result\x20to','Running\x20your\x20mocha\x20tests\x20across\x20','doc','green','Writing\x20json\x20result\x20to\x20file','pending','rerunTests','titlePathV','beVwy','testsuite','platform','object','USWkS','BDbRq','FrxSu','rwgZP','tExps','EHwkP','nGbAU','VdtGS','showDiff','uQMYH','platforms','77PneZcG','PkatS','mocha/lib/reporters/base.js','title','stack','flmfS','failures','xunit','exitCode','eRNtb','dAiVJ','proxySettings','wIydY','uviXo','titlePath','files','parallelsPerPlatform','includes','136fwvqTx','mlZEM','dDzal','useW3C','gPXVv','FdgXb','Now,\x20showing\x20logs\x20from\x20mocha','call','../../helpers/BrowserStackSetup','MWzKD','results','JBovu','actual','115389dqhAsz','fiMLG','7871rwiGfm','hasOwnProperty','spec','accessibility','info','testsFailed','../../helpers/test-observability/utils','config','yellow','passes','reporterOptions','IYXRa','skipped','Twkfp','parseFileNames','generateDiff','writeFileSync','ONYuV','file','qjAMA','POcKb','YhJHK','testSuites','winstonLogger','Couldn\x27t\x20write\x20json\x20result\x20to','reporter','MGjuj','accessibilityOptions','unlinkSync','BoqDa','jxzoM','qIcmd','mocha','aVeYa','message','fjTsy','fullTitle','rmdirSync','BROWSERSTACK_RERUN_TESTS','\x0a\x0a\x0a','ZOmxs','365664kYPqTB','xZYdM','finalExecution','BROWSERSTACK_TEST_OBSERVABILITY_YML','mjs','keys','tnXVR','rootHooks','toUTCString','ignore','Total\x20Platforms:\x20','isTestObservabilitySession','788670tLipkb','push','EzNPA','bold','env','gnVeT','qnWLa','fireFunnelTestEvent','uzpcc','PjhEC','BKhnz','speed','has','getTCGConfigFilePaths','No\x20output\x20file\x20given,\x20writing\x20json\x20result\x20to\x20console','Mocha\x20Tests','oCnnk','qwwCy','length','Running\x20your\x20mocha\x20tests','failed','cTULz','uHztV','QrWCp','argv','err','../test-runner','\x20passed','state','testsPassed','cliConfig'];a28_0x2991=function(){return _0x5b23c4;};return a28_0x2991();}
|