browserstack-node-sdk 1.43.0 → 1.43.1
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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/cucumber-sessionDetails.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/playwright-patcher.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/customSequencer.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/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.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/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.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/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x3a79d3=a34_0x4789;function a34_0x3018(){const _0x18c87a=['15710KNREFx','284010EsACoe','send','KVZxc','isAccessibilityPlatform','goog:chromeOptions','../../../helpers/patchHelpers','getHttpAgent','proxyUrl','./helpers/patchHelper','get','Builder','edgeOptions_','then','Modifying\x20webdriver\x20builder','suhej','JfhvO','2urJSDT','info','CygfG','20872VZBiCw','setServer','1|2|0|3|4|5','__driver','push','setLogLevel','/session','PoXKg','safariOptions_','3102rGXeMs','session_','cSFUJ','amKlx','Hcgrs','118518PmnroU','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','https://','path','proxySettings','bKyYp','New\x20hub\x20url\x20set\x20to\x20','HttpClient','error','exports','1830dAjtRF','set','__driversArray','9870Oadmyz','overrideGet','waAlg','../../../hubAllocationMethods','fsmZR','ieOptions','safari.options','vLHol','PjHbB','16732956DFEneu','url_','newHubUrl','isUndefined','browserstackAgentObservability','proxy_','originalBuilder','vezeS','Proxy\x20set\x20to\x20','XtEmH','options_','cAuYc','Hub\x20url\x20set\x20to\x20','1431qDxZBk','UeWnO','LmOEw','myXQw','isBrowserstackInfra','bZLAw','../../../helpers/logger','ms:edgeOptions','optimalHubUrl','firefoxOptions_','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','CAPABILITY_KEY','debug','jUPhm','mergeDeep','setCapabilities','capabilities_','jlIWv','wySpJ','yVoPj','897KMXYZm','isPacProxy','moz:firefoxOptions','Setting\x20Browserstack\x20capabilities','edgeOptions','winstonLogger','split','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','global','fvXur','__setBrowserOptions','chromeOptions_','../../../helpers/globals','updateHubUrl','keys','kynjl','firefoxOptions','/wd/hub','DAHRE','EYZMv','fhanP','PacUh','../../../helpers/helper','../../../helpers/accessibility-automation/helper','storeOptimalHubUrl','YvPmi','browserStackLogLevel','capability','1148cxOVUA','__drivers','setGlobal','QmMuo','logLevel','vlcbK','getRequestOptions','chromeOptions','mnNvt','../accessibility-automation/helper','getAccessibilityResults','se:ieOptions','ieOptions_'];a34_0x3018=function(){return _0x18c87a;};return a34_0x3018();}function a34_0x4789(_0x836785,_0x3c1808){const _0x3018a0=a34_0x3018();return a34_0x4789=function(_0x4789c5,_0x561422){_0x4789c5=_0x4789c5-0xe2;let _0x2f5cd9=_0x3018a0[_0x4789c5];return _0x2f5cd9;},a34_0x4789(_0x836785,_0x3c1808);}(function(_0xd79d35,_0x334ee6){const _0x3d935a=a34_0x4789,_0x18e03e=_0xd79d35();while(!![]){try{const _0x11059b=-parseInt(_0x3d935a(0x130))/0x1*(-parseInt(_0x3d935a(0x11f))/0x2)+parseInt(_0x3d935a(0xe5))/0x3*(parseInt(_0x3d935a(0x101))/0x4)+parseInt(_0x3d935a(0x10f))/0x5+parseInt(_0x3d935a(0x13a))/0x6*(-parseInt(_0x3d935a(0x13d))/0x7)+-parseInt(_0x3d935a(0x122))/0x8*(parseInt(_0x3d935a(0x153))/0x9)+-parseInt(_0x3d935a(0x10e))/0xa*(parseInt(_0x3d935a(0x12b))/0xb)+parseInt(_0x3d935a(0x146))/0xc;if(_0x11059b===_0x334ee6)break;else _0x18e03e['push'](_0x18e03e['shift']());}catch(_0x3a8166){_0x18e03e['push'](_0x18e03e['shift']());}}}(a34_0x3018,0x59c1b));const logger=require(a34_0x3a79d3(0x159))[a34_0x3a79d3(0xea)],helper=require(a34_0x3a79d3(0xfb)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a34_0x3a79d3(0x140)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x3a79d3(0x114)),{setAccessibilityCapabilities,setExtension}=require(a34_0x3a79d3(0x10a)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x3a79d3(0xfc)),globals=require(a34_0x3a79d3(0xf1)),{overrideExecute}=require(a34_0x3a79d3(0x117)),modify=(_0x3e9da6,_0x58419e=null,_0x47078d=![])=>{const _0x344b27=a34_0x3a79d3,_0x14986f={'amKlx':function(_0x4ec559,_0x395351){return _0x4ec559!==_0x395351;},'fsmZR':_0x344b27(0x128),'IuWym':function(_0x1974ef,_0x1a9e1d){return _0x1974ef!==_0x1a9e1d;},'wmnIO':function(_0x1b404e,_0xc2f065){return _0x1b404e+_0xc2f065;},'YvPmi':function(_0x1ba665,_0x5e565f){return _0x1ba665+_0x5e565f;},'dIyXS':_0x344b27(0x132),'PjHbB':_0x344b27(0xf6),'jlIWv':_0x344b27(0x113),'yVoPj':_0x344b27(0x108),'mnNvt':_0x344b27(0x15a),'cAuYc':_0x344b27(0xe9),'waAlg':_0x344b27(0xe7),'Hcgrs':_0x344b27(0xf5),'JfhvO':_0x344b27(0x143),'wySpJ':_0x344b27(0x10c),'DAHRE':_0x344b27(0x142),'fvXur':function(_0x43d129,_0x4f5559){return _0x43d129===_0x4f5559;},'myXQw':'object','CygfG':_0x344b27(0xe8),'vlcbK':'3|2|5|1|4|0','EYZMv':function(_0xdd3e8e,_0x5c3a8a,_0x32294e){return _0xdd3e8e(_0x5c3a8a,_0x32294e);},'QmMuo':function(_0x1046e8,_0x58c2d4){return _0x1046e8(_0x58c2d4);},'jUPhm':function(_0x162059,_0x40bfa3,_0x5044aa){return _0x162059(_0x40bfa3,_0x5044aa);},'bZLAw':function(_0x84745b,_0x3275f1,_0x42f663){return _0x84745b(_0x3275f1,_0x42f663);},'PacUh':_0x344b27(0x15b),'Ziywb':_0x344b27(0x131),'kynjl':function(_0x304d06,_0x43ff74,_0x54a6f5){return _0x304d06(_0x43ff74,_0x54a6f5);},'KVZxc':_0x344b27(0x124),'XtEmH':function(_0x24415d){return _0x24415d();},'PSReQ':function(_0x4ac446,_0x8ee6f2){return _0x4ac446(_0x8ee6f2);},'LmOEw':_0x344b27(0x112),'jueOy':function(_0x124acf,_0x3941b7,_0x297b6c){return _0x124acf(_0x3941b7,_0x297b6c);},'PoXKg':_0x344b27(0xec),'bKyYp':function(_0x226103,_0x409897){return _0x226103(_0x409897);},'vLHol':function(_0x557429,_0x20106f){return _0x557429(_0x20106f);},'suhej':function(_0x31dcd4,_0x409ea2){return _0x31dcd4!==_0x409ea2;},'HUVko':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','vezeS':_0x344b27(0x11c)},_0x2de37d=helper['requireHttpClient']();let _0x198793;try{_0x198793=helper['requireSeleniumWebdriver'](),_0x198793[_0x344b27(0x14c)]&&(_0x198793[_0x344b27(0x119)]=_0x198793['originalBuilder']);}catch(_0x217950){return;}if(helper[_0x344b27(0x157)]()){const _0x5c04f8={};_0x5c04f8[_0x344b27(0x105)]=_0x3e9da6[_0x344b27(0xff)],helper[_0x344b27(0x127)](_0x5c04f8,new Map(),new Map()),logger[_0x344b27(0x120)](_0x14986f['HUVko']),logger[_0x344b27(0x15f)](_0x14986f[_0x344b27(0x14d)]);}class _0x51196e extends _0x2de37d[_0x344b27(0x137)]{['send'](_0x56e426){const _0x2ec1e=_0x344b27;if(_0x14986f[_0x2ec1e(0x12e)](_0x56e426[_0x2ec1e(0x133)],_0x14986f[_0x2ec1e(0x141)])&&_0x14986f['IuWym'](global[_0x2ec1e(0x148)],''))try{global[_0x2ec1e(0x148)]=_0x14986f['wmnIO'](_0x14986f[_0x2ec1e(0xfe)](_0x14986f['dIyXS'],global[_0x2ec1e(0x148)]),_0x14986f[_0x2ec1e(0x145)]),this[_0x2ec1e(0x150)]=hubAllocator[_0x2ec1e(0x107)](global['newHubUrl']),logger[_0x2ec1e(0x15f)](_0x2ec1e(0x136)+global[_0x2ec1e(0x148)]),global[_0x2ec1e(0x148)]='';}catch(_0x261b16){logger[_0x2ec1e(0x138)](_0x261b16);}return super[_0x2ec1e(0x110)](_0x56e426);}}class _0x276f88 extends _0x198793[_0x344b27(0x119)]{[_0x344b27(0x123)](){const _0x42a038=_0x344b27;return this[_0x42a038(0x147)]=helper['getHubUrl'](_0x3e9da6),logger[_0x42a038(0x15f)](_0x42a038(0x152)+this['url_']),this;}[_0x344b27(0xef)](_0x5b3000){const _0x49d266=_0x344b27;let _0x54a7f6={};for(const _0x1ceb2a in _0x5b3000){switch(_0x1ceb2a){case _0x14986f[_0x49d266(0xe2)]:case _0x14986f[_0x49d266(0xe4)]:this['chromeOptions_']&&(_0x54a7f6=this[_0x49d266(0xf0)][_0x49d266(0x118)](this[_0x49d266(0xf0)][_0x49d266(0x15e)])||{},this[_0x49d266(0xf0)]['set'](this[_0x49d266(0xf0)][_0x49d266(0x15e)],helper[_0x49d266(0x161)](_0x54a7f6,_0x5b3000[_0x1ceb2a])));break;case _0x14986f[_0x49d266(0x109)]:case _0x14986f[_0x49d266(0x151)]:this[_0x49d266(0x11a)]&&(_0x54a7f6=this['edgeOptions_'][_0x49d266(0x118)](this['edgeOptions_'][_0x49d266(0x15e)])||{},this['edgeOptions_'][_0x49d266(0x13b)](this[_0x49d266(0x11a)]['CAPABILITY_KEY'],helper[_0x49d266(0x161)](_0x54a7f6,_0x5b3000[_0x1ceb2a])));break;case _0x14986f[_0x49d266(0x13f)]:case _0x14986f[_0x49d266(0x12f)]:this[_0x49d266(0x15c)]&&(_0x54a7f6=this[_0x49d266(0x15c)][_0x49d266(0x118)](this[_0x49d266(0x15c)][_0x49d266(0x15e)])||{},this[_0x49d266(0x15c)][_0x49d266(0x13b)](this['firefoxOptions_'][_0x49d266(0x15e)],helper[_0x49d266(0x161)](_0x54a7f6,_0x5b3000[_0x1ceb2a])));break;case _0x14986f[_0x49d266(0x11e)]:this[_0x49d266(0x12a)]&&(_0x54a7f6=this[_0x49d266(0x12a)][_0x49d266(0x118)](this[_0x49d266(0x12a)][_0x49d266(0x15e)])||{},this[_0x49d266(0x12a)]['set'](this[_0x49d266(0x12a)]['CAPABILITY_KEY'],helper[_0x49d266(0x161)](_0x54a7f6,_0x5b3000[_0x1ceb2a])));break;case _0x14986f[_0x49d266(0xe3)]:case _0x14986f[_0x49d266(0xf7)]:this[_0x49d266(0x10d)]&&(_0x54a7f6=this[_0x49d266(0x10d)][_0x49d266(0x118)](this[_0x49d266(0x10d)][_0x49d266(0x15e)])||{},this['ieOptions_'][_0x49d266(0x13b)](this[_0x49d266(0x10d)][_0x49d266(0x15e)],helper[_0x49d266(0x161)](_0x54a7f6,_0x5b3000[_0x1ceb2a])));break;}}}[_0x344b27(0x162)](){const _0x47ac12=_0x344b27;return logger[_0x47ac12(0x15f)](_0x14986f[_0x47ac12(0x121)]),this[_0x47ac12(0xef)](_0x3e9da6['capability']),Object[_0x47ac12(0xf3)](_0x3e9da6[_0x47ac12(0x100)])['forEach'](_0x4c8bd0=>{const _0x285e14=_0x47ac12,_0x4137c7=this['capabilities_'][_0x285e14(0x118)](_0x4c8bd0);_0x14986f[_0x285e14(0xee)](typeof _0x4137c7,_0x14986f[_0x285e14(0x156)])?this[_0x285e14(0x163)]['set'](_0x4c8bd0,helper[_0x285e14(0x161)](_0x4137c7,_0x3e9da6[_0x285e14(0x100)][_0x4c8bd0])):this[_0x285e14(0x163)]['set'](_0x4c8bd0,_0x3e9da6[_0x285e14(0x100)][_0x4c8bd0]);}),this;}['build'](){const _0x5e250d=_0x344b27,_0x4c860e={'UeWnO':_0x14986f[_0x5e250d(0xfa)],'cSFUJ':_0x14986f['Ziywb'],'fhanP':function(_0x39a6ac,_0x2903e7,_0x1bc106){const _0x18185e=_0x5e250d;return _0x14986f[_0x18185e(0xf4)](_0x39a6ac,_0x2903e7,_0x1bc106);}};if(helper[_0x5e250d(0x157)]()){const _0x4adac7=_0x14986f[_0x5e250d(0x111)]['split']('|');let _0x46c791=0x0;while(!![]){switch(_0x4adac7[_0x46c791++]){case'0':this[_0x5e250d(0x162)]();continue;case'1':_0x14986f[_0x5e250d(0x14f)](isAccessibilityAutomationSession)&&_0x14986f['PSReQ'](setAccessibilityCapabilities,_0x3e9da6);continue;case'2':this[_0x5e250d(0x123)]();continue;case'3':if(helper[_0x5e250d(0xe6)](_0x3e9da6[_0x5e250d(0x134)][_0x5e250d(0x116)]))this['agent_']=helper[_0x5e250d(0x115)](_0x3e9da6[_0x5e250d(0x134)][_0x5e250d(0x116)]);else _0x3e9da6[_0x5e250d(0x134)][_0x5e250d(0x116)]&&(this[_0x5e250d(0x14b)]=_0x3e9da6['proxySettings'][_0x5e250d(0x116)],logger[_0x5e250d(0x15f)](_0x5e250d(0x14e)+this[_0x5e250d(0x14b)]));continue;case'4':globals['getGlobal'](_0x14986f[_0x5e250d(0x155)])&&(!_0x14986f['jueOy'](setExtension,this,_0x3e9da6)&&globals[_0x5e250d(0x103)](_0x14986f[_0x5e250d(0x155)],![]));continue;case'5':logger['debug'](_0x14986f[_0x5e250d(0x129)]);continue;}break;}}const _0x2c92f9=super['build']();return _0x2c92f9[_0x5e250d(0x12c)][_0x5e250d(0x11b)](_0x250633=>{const _0x1a1960=_0x5e250d;try{const _0x4fac0d=_0x250633['caps_'][_0x1a1960(0x118)](_0x4c860e[_0x1a1960(0x154)]);_0x4fac0d?(logger[_0x1a1960(0x15f)](_0x1a1960(0x15d)+_0x4fac0d),hubAllocator[_0x1a1960(0xf2)](_0x4fac0d),helper[_0x1a1960(0xfd)](_0x4fac0d)):logger[_0x1a1960(0x15f)](_0x4c860e[_0x1a1960(0x12d)]);}catch(_0x2b445c){logger[_0x1a1960(0x15f)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2b445c);}}),_0x2c92f9['quitCount_']=0x0,_0x2c92f9[_0x5e250d(0x11b)]&&_0x2c92f9['then'](_0x3d1980=>{const _0x225e81=_0x5e250d,_0x3484ce=_0x14986f[_0x225e81(0x106)][_0x225e81(0xeb)]('|');let _0x399195=0x0;while(!![]){switch(_0x3484ce[_0x399195++]){case'0':_0x3d1980[_0x225e81(0x10b)]=async()=>{const _0x5253d7=_0x225e81;return await _0x4c860e[_0x5253d7(0xf9)](getAccessibilityResults,_0x3d1980,global);};continue;case'1':_0x14986f[_0x225e81(0xf8)](overrideExecute,_0x3d1980,_0x3e9da6);continue;case'2':_0x14986f[_0x225e81(0x104)](overrideTakeScreenshot,_0x3d1980);continue;case'3':_0x14986f[_0x225e81(0x160)](overrideQuit,_0x3d1980,_0x2c92f9);continue;case'4':_0x3d1980['getAccessibilityResultsSummary']=async()=>{const _0x2dc52e=_0x225e81;return await _0x4c860e[_0x2dc52e(0xf9)](getAccessibilityResultsSummary,_0x3d1980,global);};continue;case'5':helper[_0x225e81(0x13e)](_0x3d1980,_0x3e9da6);continue;}break;}}),_0x2c92f9['getAccessibilityResultsSummary']=async()=>{return await _0x4c860e['fhanP'](getAccessibilityResultsSummary,_0x2c92f9,global);},_0x2c92f9[_0x5e250d(0x10b)]=async()=>{const _0x25807a=_0x5e250d;return await _0x14986f[_0x25807a(0x158)](getAccessibilityResults,_0x2c92f9,global);},_0x14986f[_0x5e250d(0x135)](overrideTakeScreenshot,_0x2c92f9),_0x14986f[_0x5e250d(0x144)](overrideQuit,_0x2c92f9),helper[_0x5e250d(0x13e)](_0x2c92f9,_0x3e9da6),_0x14986f[_0x5e250d(0xf4)](overrideExecute,_0x2c92f9,_0x3e9da6),helper[_0x5e250d(0x149)](global[_0x5e250d(0x13c)])&&(global[_0x5e250d(0x13c)]=[]),helper[_0x5e250d(0x149)](global[_0x5e250d(0x102)])&&(global['__drivers']=[]),global[_0x5e250d(0x13c)]['push'](_0x2c92f9),global[_0x5e250d(0x125)]=_0x2c92f9,_0x14986f['IuWym'](global[_0x5e250d(0x102)],undefined)&&global[_0x5e250d(0x102)][_0x5e250d(0x126)](_0x2c92f9),_0x58419e&&helper[_0x5e250d(0x149)](_0x58419e['global'][_0x5e250d(0x13c)])&&(_0x58419e[_0x5e250d(0xed)][_0x5e250d(0x13c)]=[]),_0x58419e&&_0x14986f[_0x5e250d(0x11d)](_0x58419e[_0x5e250d(0xed)]['__drivers'],undefined)&&(_0x58419e[_0x5e250d(0xed)][_0x5e250d(0x102)][_0x5e250d(0x126)](_0x2c92f9),_0x58419e[_0x5e250d(0xed)]['__driversArray']['push'](_0x2c92f9)),_0x2c92f9;}}return _0x198793[_0x344b27(0x14c)]=_0x198793[_0x344b27(0x119)],_0x198793[_0x344b27(0x119)]=_0x276f88,_0x2de37d['HttpClient']=_0x51196e,_0x198793;};module[a34_0x3a79d3(0x139)][a34_0x3a79d3(0x14a)]=modify;
|
|
1
|
+
function a34_0x3df6(_0x1a75b6,_0x2696dc){const _0xe03d55=a34_0xe03d();return a34_0x3df6=function(_0x3df6d3,_0x5d7f7d){_0x3df6d3=_0x3df6d3-0xc0;let _0x2cec71=_0xe03d55[_0x3df6d3];return _0x2cec71;},a34_0x3df6(_0x1a75b6,_0x2696dc);}const a34_0x451458=a34_0x3df6;(function(_0x1de8a5,_0x304453){const _0x1aed4a=a34_0x3df6,_0x2ee258=_0x1de8a5();while(!![]){try{const _0x107640=-parseInt(_0x1aed4a(0xf5))/0x1+parseInt(_0x1aed4a(0x136))/0x2+parseInt(_0x1aed4a(0x12d))/0x3*(-parseInt(_0x1aed4a(0x118))/0x4)+-parseInt(_0x1aed4a(0xec))/0x5*(parseInt(_0x1aed4a(0x122))/0x6)+parseInt(_0x1aed4a(0xfd))/0x7*(parseInt(_0x1aed4a(0xc0))/0x8)+parseInt(_0x1aed4a(0x13b))/0x9+-parseInt(_0x1aed4a(0x104))/0xa;if(_0x107640===_0x304453)break;else _0x2ee258['push'](_0x2ee258['shift']());}catch(_0x259d2d){_0x2ee258['push'](_0x2ee258['shift']());}}}(a34_0xe03d,0xec0c6));const logger=require(a34_0x451458(0xe8))[a34_0x451458(0xf7)],helper=require('../../../helpers/helper'),constants=require(a34_0x451458(0xd9)),hubAllocator=require(a34_0x451458(0x116)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a34_0x451458(0xc7)),{setAccessibilityCapabilities,setExtension}=require(a34_0x451458(0xcc)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a34_0x451458(0xc1)),globals=require(a34_0x451458(0x138)),{overrideExecute}=require(a34_0x451458(0x115)),modify=(_0xa107ec,_0x429124=null,_0x3436b6=![])=>{const _0x4639da=a34_0x451458,_0x7a5a6f={'EaBZo':function(_0x46cb89,_0x46d638){return _0x46cb89!==_0x46d638;},'cWWKA':_0x4639da(0xd6),'PUmkB':function(_0x3a9e20,_0x237113){return _0x3a9e20+_0x237113;},'jIMJd':_0x4639da(0xd8),'syrQd':_0x4639da(0xc5),'wEYZm':'goog:chromeOptions','YJCWA':_0x4639da(0xe3),'BzWQr':_0x4639da(0xea),'cBDNB':'edgeOptions','wgXqG':'moz:firefoxOptions','dNLHO':_0x4639da(0x100),'AXZco':_0x4639da(0x13e),'GAWbB':_0x4639da(0x125),'VkkXq':_0x4639da(0x12e),'zDNJp':function(_0x2d5ef2,_0x80d7fb){return _0x2d5ef2===_0x80d7fb;},'cFbOu':_0x4639da(0x114),'rmuCM':_0x4639da(0xcd),'LigNI':_0x4639da(0x108),'NYckT':_0x4639da(0x13a),'GvrcZ':function(_0x345772,_0xe89b4e,_0x5071ea){return _0x345772(_0xe89b4e,_0x5071ea);},'rLxhi':'3|4|0|2|5|1','WQAqa':function(_0x589050,_0x3c7639,_0x2831f4){return _0x589050(_0x3c7639,_0x2831f4);},'HQLTI':function(_0xc6f985,_0x47f3a6){return _0xc6f985(_0x47f3a6);},'fNLdU':_0x4639da(0x12c),'QNfDg':'isAccessibilityPlatform','uiLrj':function(_0x364213,_0x4cf5f0,_0x55afc8){return _0x364213(_0x4cf5f0,_0x55afc8);},'RLAbR':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','zSxMy':function(_0x3790fd){return _0x3790fd();},'Cjhuk':function(_0x3d408c,_0x9d4d8d){return _0x3d408c(_0x9d4d8d);},'blrmm':function(_0xbec7a1,_0x153b4c){return _0xbec7a1(_0x153b4c);},'fFYgi':function(_0x4c705d,_0x2f873e){return _0x4c705d(_0x2f873e);},'aaCHc':function(_0x10cd8c,_0x51c030){return _0x10cd8c!==_0x51c030;},'oVxIV':_0x4639da(0xd0),'vXQFb':_0x4639da(0x117)},_0x48ae9a=helper[_0x4639da(0x126)]();let _0x43f577;try{_0x43f577=helper['requireSeleniumWebdriver'](),_0x43f577['originalBuilder']&&(_0x43f577['Builder']=_0x43f577[_0x4639da(0x124)]);}catch(_0x5eb0be){return;}if(helper[_0x4639da(0x128)]()){const _0x1bf12f={};_0x1bf12f[_0x4639da(0x109)]=_0xa107ec[_0x4639da(0x111)],helper[_0x4639da(0x10d)](_0x1bf12f,new Map(),new Map()),logger[_0x4639da(0x105)](_0x7a5a6f[_0x4639da(0x12f)]),logger[_0x4639da(0xf2)](_0x7a5a6f[_0x4639da(0xe9)]);}class _0x1ed33e extends _0x48ae9a[_0x4639da(0x11a)]{[_0x4639da(0x137)](_0x3e93e0){const _0x145f9a=_0x4639da;if(_0x7a5a6f[_0x145f9a(0x10a)](_0x3e93e0['path'],_0x7a5a6f['cWWKA'])&&_0x7a5a6f[_0x145f9a(0x10a)](global[_0x145f9a(0x113)],''))try{global[_0x145f9a(0x113)]=_0x7a5a6f[_0x145f9a(0xe2)](_0x7a5a6f[_0x145f9a(0xe2)](_0x7a5a6f[_0x145f9a(0x102)],global[_0x145f9a(0x113)]),_0x7a5a6f['syrQd']),this[_0x145f9a(0x139)]=hubAllocator[_0x145f9a(0x12a)](global[_0x145f9a(0x113)]),logger[_0x145f9a(0xf2)](_0x145f9a(0xe4)+global[_0x145f9a(0x113)]),global[_0x145f9a(0x113)]='';}catch(_0x2809d5){logger['error'](_0x2809d5);}return super[_0x145f9a(0x137)](_0x3e93e0);}}class _0xac6b96 extends _0x43f577[_0x4639da(0xeb)]{[_0x4639da(0xd4)](){const _0x590a71=_0x4639da;return this[_0x590a71(0x112)]=helper[_0x590a71(0x10e)](_0xa107ec),logger[_0x590a71(0xf2)](_0x590a71(0xf3)+this[_0x590a71(0x112)]),this;}['__setBrowserOptions'](_0x57fd70){const _0xbf655f=_0x4639da;let _0x5502a1={};for(const _0x599e79 in _0x57fd70){switch(_0x599e79){case _0x7a5a6f[_0xbf655f(0xf0)]:case _0x7a5a6f['YJCWA']:this[_0xbf655f(0xde)]&&(_0x5502a1=this['chromeOptions_']['get'](this['chromeOptions_']['CAPABILITY_KEY'])||{},this[_0xbf655f(0xde)][_0xbf655f(0x10f)](this[_0xbf655f(0xde)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f['BzWQr']:case _0x7a5a6f[_0xbf655f(0xca)]:this[_0xbf655f(0x107)]&&(_0x5502a1=this[_0xbf655f(0x107)][_0xbf655f(0xf4)](this[_0xbf655f(0x107)][_0xbf655f(0xe1)])||{},this['edgeOptions_'][_0xbf655f(0x10f)](this[_0xbf655f(0x107)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0x133)]:case _0x7a5a6f[_0xbf655f(0x11f)]:this[_0xbf655f(0xd2)]&&(_0x5502a1=this['firefoxOptions_'][_0xbf655f(0xf4)](this[_0xbf655f(0xd2)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0xd2)]['set'](this[_0xbf655f(0xd2)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0xff)]:this[_0xbf655f(0x132)]&&(_0x5502a1=this[_0xbf655f(0x132)]['get'](this[_0xbf655f(0x132)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0x132)][_0xbf655f(0x10f)](this[_0xbf655f(0x132)][_0xbf655f(0xe1)],helper[_0xbf655f(0xdb)](_0x5502a1,_0x57fd70[_0x599e79])));break;case _0x7a5a6f[_0xbf655f(0x11c)]:case _0x7a5a6f[_0xbf655f(0xcf)]:this['ieOptions_']&&(_0x5502a1=this[_0xbf655f(0xce)][_0xbf655f(0xf4)](this[_0xbf655f(0xce)][_0xbf655f(0xe1)])||{},this[_0xbf655f(0xce)][_0xbf655f(0x10f)](this['ieOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x5502a1,_0x57fd70[_0x599e79])));break;}}}[_0x4639da(0xdc)](){const _0x382047=_0x4639da;return logger['debug'](_0x7a5a6f['rmuCM']),this[_0x382047(0xfa)](_0xa107ec[_0x382047(0x106)]),Object[_0x382047(0x13c)](_0xa107ec[_0x382047(0x106)])[_0x382047(0x121)](_0x42ab56=>{const _0x4f2618=_0x382047,_0x2299ab=this[_0x4f2618(0xe7)]['get'](_0x42ab56);_0x7a5a6f[_0x4f2618(0xe0)](typeof _0x2299ab,_0x7a5a6f['cFbOu'])?this[_0x4f2618(0xe7)][_0x4f2618(0x10f)](_0x42ab56,helper[_0x4f2618(0xdb)](_0x2299ab,_0xa107ec[_0x4f2618(0x106)][_0x42ab56])):this[_0x4f2618(0xe7)]['set'](_0x42ab56,_0xa107ec[_0x4f2618(0x106)][_0x42ab56]);}),this;}[_0x4639da(0xd5)](){const _0x11cd61=_0x4639da,_0xd057a7={'LPVpS':function(_0x2cd266,_0x20e63c,_0x90f0c5){const _0x504be6=a34_0x3df6;return _0x7a5a6f[_0x504be6(0x131)](_0x2cd266,_0x20e63c,_0x90f0c5);},'eqBkA':_0x7a5a6f[_0x11cd61(0xd3)],'OJAoH':function(_0x55f030,_0x2944f7,_0x53077f){const _0xb25db4=_0x11cd61;return _0x7a5a6f[_0xb25db4(0xfe)](_0x55f030,_0x2944f7,_0x53077f);},'VlHyx':function(_0x59cc92,_0x3531c8){const _0x2b99a0=_0x11cd61;return _0x7a5a6f[_0x2b99a0(0x101)](_0x59cc92,_0x3531c8);},'pdKNY':function(_0x5a0d1b,_0x511475,_0x561839){const _0x1c9cf4=_0x11cd61;return _0x7a5a6f[_0x1c9cf4(0x131)](_0x5a0d1b,_0x511475,_0x561839);},'LRAHV':function(_0x52c531,_0x36c94f,_0x5db1b9){return _0x7a5a6f['GvrcZ'](_0x52c531,_0x36c94f,_0x5db1b9);}};if(helper[_0x11cd61(0x128)]()){const _0x404c6d=_0x7a5a6f[_0x11cd61(0x10c)][_0x11cd61(0xc2)]('|');let _0x366b16=0x0;while(!![]){switch(_0x404c6d[_0x366b16++]){case'0':this['setCapabilities']();continue;case'1':this[_0x11cd61(0xd4)]();continue;case'2':globals[_0x11cd61(0x11e)](_0x7a5a6f[_0x11cd61(0xd7)])&&(!_0x7a5a6f[_0x11cd61(0x10b)](setExtension,this,_0xa107ec)&&globals[_0x11cd61(0x123)](_0x7a5a6f[_0x11cd61(0xd7)],![]));continue;case'3':logger[_0x11cd61(0xf2)](_0x7a5a6f[_0x11cd61(0xfb)]);continue;case'4':_0x7a5a6f[_0x11cd61(0xcb)](isAccessibilityAutomationSession)&&_0x7a5a6f[_0x11cd61(0x110)](setAccessibilityCapabilities,_0xa107ec);continue;case'5':if(helper[_0x11cd61(0xc9)](_0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)]))this['agent_']=helper[_0x11cd61(0x12b)](_0xa107ec[_0x11cd61(0xdf)]['proxyUrl']);else _0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)]&&(this['proxy_']=_0xa107ec[_0x11cd61(0xdf)][_0x11cd61(0x13d)],logger[_0x11cd61(0xf2)]('Proxy\x20set\x20to\x20'+this[_0x11cd61(0xf9)]));continue;}break;}}const _0x238970=super['build']();return _0x238970[_0x11cd61(0xc6)]['then'](_0x143b21=>{const _0x177787=_0x11cd61;try{const _0x4c33d3=_0x143b21[_0x177787(0xee)][_0x177787(0xf4)](_0x7a5a6f[_0x177787(0xf1)]);_0x4c33d3?(logger[_0x177787(0xf2)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x4c33d3),hubAllocator[_0x177787(0xe5)](_0x4c33d3),helper['storeOptimalHubUrl'](_0x4c33d3)):logger['debug'](_0x7a5a6f['NYckT']);}catch(_0x5280bc){logger[_0x177787(0xf2)](_0x177787(0x11b)+_0x5280bc);}}),_0x238970[_0x11cd61(0x135)]=0x0,_0x238970[_0x11cd61(0x119)]&&_0x238970[_0x11cd61(0x119)](_0x319a70=>{const _0x5caefc=_0x11cd61,_0x3d0d6c=_0xd057a7['eqBkA'][_0x5caefc(0xc2)]('|');let _0x259eeb=0x0;while(!![]){switch(_0x3d0d6c[_0x259eeb++]){case'0':helper[_0x5caefc(0xc4)](_0x319a70,_0xa107ec);continue;case'1':_0x319a70[_0x5caefc(0xe6)]=async()=>{return await _0xd057a7['LPVpS'](getAccessibilityResults,_0x319a70,global);};continue;case'2':_0xd057a7[_0x5caefc(0xda)](overrideExecute,_0x319a70,_0xa107ec);continue;case'3':_0xd057a7[_0x5caefc(0xda)](overrideQuit,_0x319a70,_0x238970);continue;case'4':_0xd057a7[_0x5caefc(0x134)](overrideTakeScreenshot,_0x319a70);continue;case'5':_0x319a70[_0x5caefc(0xfc)]=async()=>{const _0x3b71d9=_0x5caefc;return await _0xd057a7[_0x3b71d9(0x130)](getAccessibilityResultsSummary,_0x319a70,global);};continue;}break;}}),_0x238970[_0x11cd61(0xfc)]=async()=>{const _0x45b500=_0x11cd61;return await _0xd057a7[_0x45b500(0xf6)](getAccessibilityResultsSummary,_0x238970,global);},_0x238970[_0x11cd61(0xe6)]=async()=>{const _0x1e63d5=_0x11cd61;return await _0xd057a7[_0x1e63d5(0xc8)](getAccessibilityResults,_0x238970,global);},_0x7a5a6f[_0x11cd61(0x129)](overrideTakeScreenshot,_0x238970),_0x7a5a6f[_0x11cd61(0x120)](overrideQuit,_0x238970),helper['overrideGet'](_0x238970,_0xa107ec),_0x7a5a6f['WQAqa'](overrideExecute,_0x238970,_0xa107ec),helper[_0x11cd61(0xd1)](global[_0x11cd61(0xed)])&&(global[_0x11cd61(0xed)]=[]),helper[_0x11cd61(0xd1)](global['__drivers'])&&(global[_0x11cd61(0xef)]=[]),global[_0x11cd61(0xed)][_0x11cd61(0x127)](_0x238970),global[_0x11cd61(0x103)]=_0x238970,_0x7a5a6f[_0x11cd61(0x10a)](global[_0x11cd61(0xef)],undefined)&&global[_0x11cd61(0xef)][_0x11cd61(0x127)](_0x238970),_0x429124&&helper[_0x11cd61(0xd1)](_0x429124[_0x11cd61(0xf8)][_0x11cd61(0xed)])&&(_0x429124['global']['__driversArray']=[]),_0x429124&&_0x7a5a6f[_0x11cd61(0xdd)](_0x429124[_0x11cd61(0xf8)]['__drivers'],undefined)&&(_0x429124[_0x11cd61(0xf8)][_0x11cd61(0xef)][_0x11cd61(0x127)](_0x238970),_0x429124[_0x11cd61(0xf8)]['__driversArray']['push'](_0x238970)),_0x238970;}}return _0x43f577[_0x4639da(0x124)]=_0x43f577[_0x4639da(0xeb)],_0x43f577[_0x4639da(0xeb)]=_0xac6b96,_0x48ae9a[_0x4639da(0x11a)]=_0x1ed33e,_0x43f577;};function a34_0xe03d(){const _0x8b6fe7=['chromeOptions','New\x20hub\x20url\x20set\x20to\x20','updateHubUrl','getAccessibilityResults','capabilities_','../../../helpers/logger','vXQFb','ms:edgeOptions','Builder','95LOtIhA','__driversArray','caps_','__drivers','wEYZm','LigNI','debug','Hub\x20url\x20set\x20to\x20','get','746491LXCnsP','pdKNY','winstonLogger','global','proxy_','__setBrowserOptions','RLAbR','getAccessibilityResultsSummary','7YoPqYR','WQAqa','AXZco','firefoxOptions','HQLTI','jIMJd','__driver','7582130jktORG','info','capability','edgeOptions_','optimalHubUrl','logLevel','EaBZo','uiLrj','fNLdU','setLogLevel','getHubUrl','set','Cjhuk','browserStackLogLevel','url_','newHubUrl','object','./helpers/patchHelper','../../../hubAllocationMethods','Modifying\x20webdriver\x20builder','80056iowBWw','then','HttpClient','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','GAWbB','browserstackAgentObservability','getGlobal','dNLHO','fFYgi','forEach','146670KkrxgS','setGlobal','originalBuilder','se:ieOptions','requireHttpClient','push','isBrowserstackInfra','blrmm','getRequestOptions','getHttpAgent','4|1|0|5|2|3','3dzgpws','ieOptions','oVxIV','LPVpS','GvrcZ','safariOptions_','wgXqG','VlHyx','quitCount_','840384ZQtZBI','send','../../../helpers/globals','options_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','10281762Ilvpxm','keys','proxyUrl','safari.options','11147336sbbkup','../../../helpers/accessibility-automation/helper','split','exports','overrideGet','/wd/hub','session_','../../../helpers/patchHelpers','LRAHV','isPacProxy','cBDNB','zSxMy','../accessibility-automation/helper','Setting\x20Browserstack\x20capabilities','ieOptions_','VkkXq','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','isUndefined','firefoxOptions_','rLxhi','setServer','build','/session','QNfDg','https://','../../../bin/utils/constants','OJAoH','mergeDeep','setCapabilities','aaCHc','chromeOptions_','proxySettings','zDNJp','CAPABILITY_KEY','PUmkB'];a34_0xe03d=function(){return _0x8b6fe7;};return a34_0xe03d();}module[a34_0x451458(0xc3)][a34_0x451458(0x11d)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a35_0x3685(){const _0x5bd75b=['137585khGQae','../../../bin/utils/constants','20MPUgku','../../../helpers/test-observability/utils','4502KOVyTu','21099915HivDyE','584GnIYNX','timeout','../../../helpers/request-spy','7696044nCgCga','2467210gFlzUo','2577198KqRTlq','yLYsM','640udgdcm','531990mckUCM'];a35_0x3685=function(){return _0x5bd75b;};return a35_0x3685();}function a35_0x4e3f(_0x5bf19b,_0x138672){const _0x3685fe=a35_0x3685();return a35_0x4e3f=function(_0x4e3f03,_0x6cc2e9){_0x4e3f03=_0x4e3f03-0x1ea;let _0xaa8491=_0x3685fe[_0x4e3f03];return _0xaa8491;},a35_0x4e3f(_0x5bf19b,_0x138672);}const a35_0x4b8c27=a35_0x4e3f;(function(_0x2e92b5,_0x194579){const _0x4bbdfa=a35_0x4e3f,_0xd54f71=_0x2e92b5();while(!![]){try{const _0x34c08c=parseInt(_0x4bbdfa(0x1f8))/0x1*(-parseInt(_0x4bbdfa(0x1eb))/0x2)+parseInt(_0x4bbdfa(0x1f3))/0x3+-parseInt(_0x4bbdfa(0x1ee))/0x4+parseInt(_0x4bbdfa(0x1ef))/0x5+parseInt(_0x4bbdfa(0x1f0))/0x6+parseInt(_0x4bbdfa(0x1f4))/0x7*(-parseInt(_0x4bbdfa(0x1f2))/0x8)+-parseInt(_0x4bbdfa(0x1ea))/0x9*(-parseInt(_0x4bbdfa(0x1f6))/0xa);if(_0x34c08c===_0x194579)break;else _0xd54f71['push'](_0xd54f71['shift']());}catch(_0x4c797f){_0xd54f71['push'](_0xd54f71['shift']());}}}(a35_0x3685,0xeed04));const requestSpy=require(a35_0x4b8c27(0x1ed)),constants=require(a35_0x4b8c27(0x1f5)),{addRequestSpy}=require(a35_0x4b8c27(0x1f7));exports['mochaHooks']={'beforeAll'(){const _0x577972=a35_0x4b8c27,_0x47057f={'yLYsM':function(_0x4ae579){return _0x4ae579();}},_0x11a8af='browserstack internal helper hook';_0x47057f[_0x577972(0x1f1)](addRequestSpy);},'afterAll'(){const _0x125026=a35_0x4b8c27,_0xaf6862='browserstack internal helper hook';this[_0x125026(0x1ec)](0xea60),requestSpy['restore']();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a36_0x4acc(_0x3b0458,_0x418eb2){const _0x4ff3fd=a36_0x4ff3();return a36_0x4acc=function(_0x4acc33,_0x8964aa){_0x4acc33=_0x4acc33-0x168;let _0x3b1b79=_0x4ff3fd[_0x4acc33];return _0x3b1b79;},a36_0x4acc(_0x3b0458,_0x418eb2);}function a36_0x4ff3(){const _0x2df049=['_beforeAll','toJSON','pid','failed','uuid','split','2536803YcDarA','suites','../../../helpers/testhub/utils','KVRfv','402hLVfqO','zGdiB','xuHOe','state','UgzcZ','oRcih','_beforeEach','sendPlatformDetails','push','BaRsA','3595090ZgwLLW','NstjX','4XneBgI','tests','getHookSkippedTests','../../../helpers/test-observability/constants','IBvZk','getHookDetails','markedStatus','dFmkO','type','getSession','substring','AFNhz','fromEntries','concat','getBrowserVersion','tdMfa','parent','vaDKh','ngihR','qLnit','587400Tkkpec','getHooksForTest','../../../helpers/test-observability/utils','toISOString','35873vXRhmo','indexOf','222789XRaqgp','IxOha','bgnoU','__cloud_provider___','getCapabilities','KVfCZ','DLoaV','24CVWoPu','hook','_afterAll','YSYGN','681iGYZEj','get','dYiug','EMOEb','forEach','map_','slice','getTestEnv','unknown_grid','HDfcY','iQbNM','rvxEs','emit','AQJwB','1412110TAQcGR','mapTestHooks','_afterEach','browserstack','JDEOE','js-','XegUX','filter','zkUuv','CfuXT','bs:addPlatformDetails:','generic','hookAnalyticsId','vKsLD','dOYHw','reduce'];a36_0x4ff3=function(){return _0x2df049;};return a36_0x4ff3();}const a36_0x55432b=a36_0x4acc;(function(_0x1500ed,_0x4db2b7){const _0x313453=a36_0x4acc,_0x3d20b7=_0x1500ed();while(!![]){try{const _0x50d452=parseInt(_0x313453(0x1b8))/0x1+-parseInt(_0x313453(0x194))/0x2*(-parseInt(_0x313453(0x16c))/0x3)+parseInt(_0x313453(0x1a0))/0x4*(-parseInt(_0x313453(0x17a))/0x5)+-parseInt(_0x313453(0x1b4))/0x6+-parseInt(_0x313453(0x1ba))/0x7*(parseInt(_0x313453(0x168))/0x8)+parseInt(_0x313453(0x190))/0x9+parseInt(_0x313453(0x19e))/0xa;if(_0x50d452===_0x4db2b7)break;else _0x3d20b7['push'](_0x3d20b7['shift']());}catch(_0x32e05a){_0x3d20b7['push'](_0x3d20b7['shift']());}}}(a36_0x4ff3,0x3c521));const {v4:uuidv4}=require(a36_0x55432b(0x18e)),{name,version}=require('../../../../package.json'),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a36_0x55432b(0x1b6)),{consoleHolder}=require(a36_0x55432b(0x1a3)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a36_0x55432b(0x192)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports[a36_0x55432b(0x173)]=()=>{const _0x130679=a36_0x55432b,_0x252f3d={'DRsie':_0x130679(0x185),'AFNhz':function(_0x5dcd62){return _0x5dcd62();}};return{'ci':_0x252f3d['DRsie'],'key':_0x252f3d[_0x130679(0x1ab)](uuidv4),'version':version,'collector':_0x130679(0x17f)+name};},exports[a36_0x55432b(0x1a5)]=_0x12c123=>{const _0x2b0466=a36_0x55432b,_0x132a5b={};_0x132a5b[_0x2b0466(0x198)]=function(_0x19a9d8,_0x27856f){return _0x19a9d8!==_0x27856f;},_0x132a5b[_0x2b0466(0x1c0)]='string',_0x132a5b['iQbNM']='hook:',_0x132a5b[_0x2b0466(0x188)]=function(_0x100e18,_0x3d9814){return _0x100e18!==_0x3d9814;},_0x132a5b[_0x2b0466(0x1b1)]=_0x2b0466(0x169);const _0x9cd471=_0x132a5b;if(!_0x12c123||_0x9cd471[_0x2b0466(0x198)](typeof _0x12c123,_0x9cd471[_0x2b0466(0x1c0)]))return[null,null];if(_0x9cd471['UgzcZ'](_0x12c123[_0x2b0466(0x1b9)](_0x9cd471[_0x2b0466(0x176)]),-0x1)){const _0x1943ee=_0x12c123[_0x2b0466(0x18f)](_0x9cd471['iQbNM']);return[_0x1943ee[0x0][_0x2b0466(0x172)](0x0,-0x1)[_0x2b0466(0x18f)]('\x22')[0x1],_0x1943ee[0x1][_0x2b0466(0x1aa)](0x1)];}else{if(_0x9cd471[_0x2b0466(0x188)](_0x12c123[_0x2b0466(0x1b9)](_0x9cd471[_0x2b0466(0x1b1)]),-0x1)){const _0x2df45c=_0x12c123['split'](_0x9cd471['vaDKh']);return[_0x2df45c[0x0][_0x2b0466(0x172)](0x0,-0x1)['split']('\x22')[0x1],_0x12c123];}}return[null,null];},exports[a36_0x55432b(0x1b5)]=_0x6d1c56=>{const _0x247297=a36_0x55432b,_0x884144={'AQJwB':function(_0x532e88,_0x83ea47){return _0x532e88(_0x83ea47);},'BjViw':_0x247297(0x18a),'lJagp':'_afterAll','oRcih':_0x247297(0x19a),'zkUuv':'_afterEach'};if(!_0x6d1c56||!_0x6d1c56[_0x247297(0x1b0)])return[];const _0x1db940=[];return[_0x884144['BjViw'],_0x884144['lJagp'],_0x884144[_0x247297(0x199)],_0x884144[_0x247297(0x182)]][_0x247297(0x170)](_0x3b87a2=>{const _0x5de132=_0x247297,_0x3177fb=_0x6d1c56[_0x5de132(0x1b0)][_0x3b87a2]||[];_0x3177fb[_0x5de132(0x170)](_0x41d656=>{const _0x272e83=_0x5de132;_0x41d656[_0x272e83(0x186)]&&!_0x884144[_0x272e83(0x179)](isInternalHook,_0x41d656['fn'])&&_0x1db940[_0x272e83(0x19c)](_0x41d656['hookAnalyticsId']);});}),[..._0x1db940,...exports[_0x247297(0x1b5)](_0x6d1c56[_0x247297(0x1b0)])];},exports['mapTestHooks']=_0x2ac5d5=>{const _0x3d6511=a36_0x55432b,_0x5e89c9={'dYiug':function(_0x3019a9){return _0x3019a9();},'ngihR':function(_0x1939cc,_0x2ffe20){return _0x1939cc===_0x2ffe20;},'KVfCZ':_0x3d6511(0x17c),'xuHOe':_0x3d6511(0x18a),'hCcXP':_0x3d6511(0x16a),'HDfcY':_0x3d6511(0x19a)};if(!_0x2ac5d5||!_0x2ac5d5[_0x3d6511(0x1b0)])return;[_0x5e89c9[_0x3d6511(0x196)],_0x5e89c9['hCcXP'],_0x5e89c9[_0x3d6511(0x175)],_0x5e89c9[_0x3d6511(0x1bf)]]['forEach'](_0x435f66=>{const _0x4dd0fa=_0x3d6511,_0xfb3925={'qLnit':function(_0xecdf50){const _0x17bf72=a36_0x4acc;return _0x5e89c9[_0x17bf72(0x16e)](_0xecdf50);},'IxOha':function(_0x30dea9,_0x12dde2){const _0x589446=a36_0x4acc;return _0x5e89c9[_0x589446(0x1b2)](_0x30dea9,_0x12dde2);},'dFmkO':_0x5e89c9[_0x4dd0fa(0x1bf)],'JDEOE':function(_0x224daa){return _0x5e89c9['dYiug'](_0x224daa);}},_0x425bea=_0x2ac5d5['parent'][_0x435f66]||[];_0x425bea[_0x4dd0fa(0x170)](_0x3c5d5e=>{const _0x210bb3=_0x4dd0fa;if(!_0x3c5d5e['hookAnalyticsId'])_0x3c5d5e[_0x210bb3(0x186)]=_0xfb3925[_0x210bb3(0x1b3)](uuidv4);else _0x3c5d5e[_0x210bb3(0x1a6)]&&_0xfb3925[_0x210bb3(0x1bb)](_0x435f66,_0xfb3925[_0x210bb3(0x1a7)])&&(_0x3c5d5e[_0x210bb3(0x186)]=_0xfb3925[_0x210bb3(0x17e)](uuidv4),delete _0x3c5d5e[_0x210bb3(0x1a6)]);});}),exports[_0x3d6511(0x17b)](_0x2ac5d5[_0x3d6511(0x1b0)]);},exports[a36_0x55432b(0x19b)]=async(_0x3f2148,_0x3cf6da)=>{const _0x13b996=a36_0x55432b,_0x31db6a={'KVRfv':function(_0x58491f){return _0x58491f();},'EMOEb':function(_0x4954e3,_0x4a322f){return _0x4954e3(_0x4a322f);},'XegUX':'platformVersion','NstjX':function(_0x59f901,_0x5d30ab){return _0x59f901(_0x5d30ab);},'bgnoU':function(_0x1e6fc5,_0x364d83){return _0x1e6fc5===_0x364d83;},'rvxEs':_0x13b996(0x17d),'tdMfa':_0x13b996(0x174),'vKsLD':'TEST_PLATFORM'};try{if(!_0x31db6a[_0x13b996(0x193)](shouldProcessEventForTesthub))return;const _0x21d8aa=await _0x3f2148[_0x13b996(0x1be)](),_0x2f238c=await _0x3f2148[_0x13b996(0x1a9)](),_0xeae151={},_0x59f3ed=Object[_0x13b996(0x1ac)](_0x2f238c[_0x13b996(0x1be)]()[_0x13b996(0x171)]),_0x882984={'product':_0x31db6a[_0x13b996(0x16f)](getObservabilityLinkedProductName,_0x59f3ed),'capabilities':_0x59f3ed,'platform':_0x21d8aa['getPlatform'](),'platform_version':_0x21d8aa[_0x13b996(0x16d)](_0x31db6a[_0x13b996(0x180)])?_0x21d8aa[_0x13b996(0x16d)](_0x31db6a[_0x13b996(0x180)]):_0x31db6a[_0x13b996(0x19f)](getPlatformVersion,_0x31db6a[_0x13b996(0x1bc)](global['__cloud_provider___'],_0x31db6a[_0x13b996(0x177)])),'browser':_0x21d8aa['getBrowserName'](),'browser_version':_0x21d8aa[_0x13b996(0x1ae)](),'session_id':_0x2f238c[_0x13b996(0x18b)]()};global['__cloud_provider___']?_0xeae151[global[_0x13b996(0x1bd)]]=_0x882984:_0xeae151[_0x31db6a[_0x13b996(0x1af)]]=_0x882984,process[_0x13b996(0x178)](_0x13b996(0x184)+process[_0x13b996(0x18c)],{'timestamp':new Date()[_0x13b996(0x1b7)](),'level':null,'message':null,'kind':_0x31db6a[_0x13b996(0x187)],'http_response':_0xeae151,'uuid':_0x3cf6da});}catch(_0x26d5e9){_0x31db6a['NstjX'](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x26d5e9);}},exports['getHookSkippedTests']=_0x26bf18=>{const _0x3ea1f3=a36_0x55432b,_0x251377={};_0x251377[_0x3ea1f3(0x183)]=function(_0x16c9cf,_0x8e35d1){return _0x16c9cf!==_0x8e35d1;},_0x251377[_0x3ea1f3(0x16b)]=_0x3ea1f3(0x169),_0x251377[_0x3ea1f3(0x195)]='passed',_0x251377[_0x3ea1f3(0x19d)]=function(_0x1af8f9,_0x24e5d8){return _0x1af8f9!==_0x24e5d8;},_0x251377['IBvZk']=_0x3ea1f3(0x18d);const _0x517be2=_0x251377,_0x1a29d8=_0x26bf18[_0x3ea1f3(0x191)][_0x3ea1f3(0x189)]((_0xfcd0ae,_0x2b4c87)=>{const _0x8feb5c=_0x3ea1f3,_0x37697b=exports[_0x8feb5c(0x1a2)](_0x2b4c87);return _0x37697b&&(_0xfcd0ae=_0xfcd0ae[_0x8feb5c(0x1ad)](_0x37697b)),_0xfcd0ae;},[]),_0x333e3b=_0x26bf18[_0x3ea1f3(0x1a1)][_0x3ea1f3(0x181)](_0x552b91=>{const _0x244b41=_0x3ea1f3,_0x149e76=_0x517be2['CfuXT'](_0x552b91[_0x244b41(0x1a8)],_0x517be2[_0x244b41(0x16b)])&&!_0x552b91[_0x244b41(0x1a6)]&&_0x517be2[_0x244b41(0x183)](_0x552b91[_0x244b41(0x197)],_0x517be2['zGdiB'])&&_0x517be2[_0x244b41(0x19d)](_0x552b91['state'],_0x517be2[_0x244b41(0x1a4)])&&!_0x552b91['pending'];return _0x149e76;});return _0x333e3b['concat'](_0x1a29d8);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a37_0x37facc=a37_0x3bd6;function a37_0x3bd6(_0x1c107f,_0x3ee144){const _0x5c8248=a37_0x5c82();return a37_0x3bd6=function(_0x3bd6d5,_0x2b2752){_0x3bd6d5=_0x3bd6d5-0x1ce;let _0x5783d8=_0x5c8248[_0x3bd6d5];return _0x5783d8;},a37_0x3bd6(_0x1c107f,_0x3ee144);}(function(_0x2d8e7b,_0x1824e2){const _0xee52a7=a37_0x3bd6,_0x324619=_0x2d8e7b();while(!![]){try{const _0x489619=parseInt(_0xee52a7(0x202))/0x1+parseInt(_0xee52a7(0x25c))/0x2*(-parseInt(_0xee52a7(0x210))/0x3)+-parseInt(_0xee52a7(0x26b))/0x4+-parseInt(_0xee52a7(0x262))/0x5+parseInt(_0xee52a7(0x1f8))/0x6*(parseInt(_0xee52a7(0x252))/0x7)+-parseInt(_0xee52a7(0x22c))/0x8+parseInt(_0xee52a7(0x25b))/0x9;if(_0x489619===_0x1824e2)break;else _0x324619['push'](_0x324619['shift']());}catch(_0x25a132){_0x324619['push'](_0x324619['shift']());}}}(a37_0x5c82,0xb82f4));function a37_0x5c82(){const _0x51cc7c=['warn','join','VjQTb','ObservabilitySync:','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','sXfDV','gECmh','14622qrNWbh','FVmSd','pLqVe','isArray','yLdkV','\x20-\x20','end','athgM','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','index','392704zSjwYn','AKSPq','../../helpers/accessibility-automation/accessibilityRetryHelper','TPEpO','NXLGU','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','__platformCaps','Failed\x20to\x20store\x20session\x20name:\x20','thJwtToken','kotjB','YDXLZ','.\x20Error\x20:','shift','zvoEn','642bEVXrx','PBNok','wCPiB','start','tqRyH','getGlobal','czDvn','util','__drivers','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','passed','percy','timeout','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','gSGId','MSEfH','jGYto','browserstackTestName','EfXet','Automate\x20test\x20case\x20execution\x20has\x20started.','winstonLogger','../../helpers/testhub/utils','Shkoe','debug','now','saveAccessibilityResultsWithRetry','afterAll','thBuildUuid','7879592gicltP','YYRUY','getCurrentUrl','../../helpers/percy/utils','length','udZQv','XgsCC','zdNMw','qejfC','isAccessibilityPlatform','mochaHooks','rqKDc','beforeEach','Mocha','message','http:','bArSY','XwiDC','quitCount_','currentTest','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','env','thTestRunUuid','SAVE_RESULTS','lvejW','SESSION_STATUS','afterTest','kwfsJ','../../helpers/performance/performance-tester','QuAsD','executeScript','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','rWEsD','JkACv','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','appium:app','WOMAl','1358bLgNcW','SDK_HOOK','then','failed','browserstackSessionName','kmwFH','yJHSr','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','BaDdo','14779782QJSyBC','2242ydJVJd','LNAhO','stringify','SkLFl','HoRvC',',\x22level\x22:\x20\x22','2169110NGHZuD','nuOuH','STJjK','SESSION_NAME','titlePath','./test-observability/mochaUtils','OaYay','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../../helpers/globals','378380VvkCPb','SYNC','beforeAll','../../helpers/helper','zOzNZ','SFrSn','testcase','shouldScanTestForAccessibility','percyCaptureMode','../../helpers/logger','DPcux','state','DTwgn','Accessibility\x20results\x20saved\x20successfully','kAENW','\x22}}','PPzcK','TNsWe','afterEach','app','capabilities','ZpTZp','qCbRg','err','format','Failed:\x20','__sessionFailed','../utils/constants','accessibilityScanStarted','error','session_','info','sessionName','setGlobal','pCFUB','startMonitoring','protocol','sessionNameSet__','JgxOf','hWJfg','Passed','../../helpers/performance/constants','testAnalyticsId','driverCleanup','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','BROWSERSTACK_TESTHUB_JWT','CViGC','measureWrapper','aaFSx','zAwHZ','__error_messages__'];a37_0x5c82=function(){return _0x51cc7c;};return a37_0x5c82();}const util=require(a37_0x37facc(0x217)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a37_0x37facc(0x204)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x37facc(0x1d8)),{percyAutoCapture}=require(a37_0x37facc(0x22f)),{sendPlatformDetails}=require(a37_0x37facc(0x267)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a37_0x37facc(0x26e)),PerformanceTester=require(a37_0x37facc(0x248)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a37_0x37facc(0x1e6)),globals=require(a37_0x37facc(0x26a)),logger=require(a37_0x37facc(0x274))[a37_0x37facc(0x224)],{shouldProcessEventForTesthub}=require(a37_0x37facc(0x225)),testHubConstants=require('../../helpers/testhub/constants');exports[a37_0x37facc(0x236)]={'beforeAll'(){const _0x3a1d87=a37_0x37facc,_0x4a315c={'pLqVe':function(_0x340ae8,_0x57264c,_0x54de35,_0x111095){return _0x340ae8(_0x57264c,_0x54de35,_0x111095);},'rqKDc':_0x3a1d87(0x255),'tvyMN':'\x20|\x20','pCFUB':function(_0x19549,_0x5b9def,_0x595dfd){return _0x19549(_0x5b9def,_0x595dfd);},'HoRvC':_0x3a1d87(0x21a),'zOzNZ':function(_0x5ea049){return _0x5ea049();},'DTwgn':_0x3a1d87(0x201),'rWEsD':_0x3a1d87(0x26d)};PerformanceTester[_0x3a1d87(0x1e0)]();const _0x2668b2='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x3a1d87(0x253)],()=>{const _0x4382ee=_0x3a1d87;global[_0x4382ee(0x1f0)]=[],global[_0x4382ee(0x1d7)]=![],global[_0x4382ee(0x1e8)]=async()=>{const _0x568d65=_0x4382ee;let _0x33dccf=![];try{await global[_0x568d65(0x218)][0x0]['session_'],_0x33dccf=!![],global[_0x568d65(0x1d7)]?await _0x4a315c[_0x568d65(0x1fa)](markSessionStatus,global[_0x568d65(0x218)][0x0],_0x4a315c[_0x568d65(0x237)],global[_0x568d65(0x1f0)][_0x568d65(0x1f2)](_0x4a315c['tvyMN'])):await _0x4a315c['pCFUB'](markSessionStatus,global[_0x568d65(0x218)][0x0],_0x4a315c[_0x568d65(0x260)]);}catch(_0x416f1d){logger[_0x568d65(0x227)](_0x568d65(0x24b)+_0x416f1d);}global[_0x568d65(0x1f0)]=[],global[_0x568d65(0x1d7)]=![];if(_0x33dccf)try{try{_0x4a315c[_0x568d65(0x26f)](shouldProcessEventForTesthub)&&(global[_0x568d65(0x218)][0x0]&&await _0x4a315c[_0x568d65(0x1df)](sendPlatformDetails,global['__drivers'][0x0],this[_0x568d65(0x23f)]?this[_0x568d65(0x23f)][_0x568d65(0x1e7)]:null));}catch(_0x349f06){logger['debug'](_0x568d65(0x219)+_0x349f06);}await global[_0x568d65(0x218)][0x0]['initQuit']();}catch(_0x586cea){logger['debug'](_0x568d65(0x240)+_0x586cea);}};},{'platform':_0x4a315c[_0x3a1d87(0x1df)](nestedKeyValue,global[_0x3a1d87(0x208)],[_0x4a315c[_0x3a1d87(0x277)]]),'hookType':_0x4a315c[_0x3a1d87(0x24d)]})();},'beforeEach'(_0x38e43d){const _0x51c8d3=a37_0x37facc,_0xe743df={'STJjK':function(_0x11e899,_0x1080bc){return _0x11e899>_0x1080bc;},'bArSY':function(_0x408ee5,_0x8ac832){return _0x408ee5>_0x8ac832;},'DPcux':_0x51c8d3(0x1fd),'JkACv':function(_0x2e6dc8,_0xfa3565,_0x16ac9a){return _0x2e6dc8(_0xfa3565,_0x16ac9a);},'SFrSn':'bstackA11yShouldScan','PPzcK':function(_0x49e650){return _0x49e650();},'zAwHZ':_0x51c8d3(0x235),'xPlil':function(_0x5a195a,_0x14d7a4){return _0x5a195a===_0x14d7a4;},'nuOuH':_0x51c8d3(0x23b),'PgqDZ':function(_0x437780,_0x4648c0){return _0x437780===_0x4648c0;},'IVhtf':'https:','gSGId':_0x51c8d3(0x259),'yLdkV':_0x51c8d3(0x223),'qIKXx':function(_0x5a830e){return _0x5a830e();},'aleRZ':_0x51c8d3(0x221),'iCSwM':_0x51c8d3(0x201),'XwiDC':_0x51c8d3(0x238)};globals[_0x51c8d3(0x1de)](_0xe743df['aleRZ'],this['currentTest']['titlePath']()[_0x51c8d3(0x1f2)](_0xe743df['DPcux'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x51c8d3(0x253)],()=>{const _0x546164=_0x51c8d3,_0x4862dd='browserstack internal helper hook';new Promise(async _0x1eed4c=>{const _0x32413b=a37_0x3bd6;let _0x2115cb=!![];try{_0xe743df[_0x32413b(0x264)](global['__drivers']['length'],0x1)&&(await global[_0x32413b(0x1e8)](),global[_0x32413b(0x218)][_0x32413b(0x20e)]()),_0xe743df[_0x32413b(0x23c)](global[_0x32413b(0x218)][0x0][_0x32413b(0x23e)],0x0)&&(_0x2115cb=![],await global['driverCleanup']());}catch(_0x4fd2b4){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x4fd2b4);}try{Array[_0x32413b(0x1fb)](global[_0x32413b(0x218)])&&global[_0x32413b(0x218)][0x0]&&(global[_0x32413b(0x218)][0x0][_0x32413b(0x256)]=this[_0x32413b(0x23f)][_0x32413b(0x266)]()[_0x32413b(0x1f2)](_0xe743df[_0x32413b(0x275)])),global[_0x32413b(0x256)]=this[_0x32413b(0x23f)]['titlePath']()[_0x32413b(0x1f2)](_0xe743df[_0x32413b(0x275)]);}catch(_0x5a2bc6){logger[_0x32413b(0x227)](_0x32413b(0x209)+_0x5a2bc6);}this['currentTest'][_0x32413b(0x272)]=_0xe743df['JkACv'](shouldScanTestForAccessibility,this[_0x32413b(0x23f)][_0x32413b(0x266)](),!![]),globals[_0x32413b(0x1de)](_0xe743df[_0x32413b(0x270)],this[_0x32413b(0x23f)][_0x32413b(0x272)]),this[_0x32413b(0x23f)][_0x32413b(0x1d9)]=!![];if(_0xe743df[_0x32413b(0x27b)](isAccessibilityAutomationSession)&&_0x2115cb&&Array['isArray'](global[_0x32413b(0x218)])&&_0xe743df[_0x32413b(0x264)](global[_0x32413b(0x218)][_0x32413b(0x230)],0x0)&&globals[_0x32413b(0x215)](_0xe743df[_0x32413b(0x1ef)]))try{const _0x1fe899=await global[_0x32413b(0x218)][0x0][_0x32413b(0x1db)];if(_0x1fe899){let _0x3160ba=!![];const _0x47c942=await global[_0x32413b(0x218)][0x0][_0x32413b(0x22e)]();let _0x3150d4;try{_0x3150d4=new URL(_0x47c942);}catch(_0x4bff4a){_0x3160ba=![];}_0x3160ba=_0xe743df['xPlil'](_0x3150d4[_0x32413b(0x1e1)],_0xe743df[_0x32413b(0x263)])||_0xe743df['PgqDZ'](_0x3150d4[_0x32413b(0x1e1)],_0xe743df['IVhtf']),_0x3160ba&&(this[_0x32413b(0x23f)][_0x32413b(0x272)]&&logger[_0x32413b(0x1dc)](_0xe743df[_0x32413b(0x21e)])),this[_0x32413b(0x23f)][_0x32413b(0x1d9)]=this[_0x32413b(0x23f)][_0x32413b(0x272)],this[_0x32413b(0x23f)][_0x32413b(0x272)]&&logger[_0x32413b(0x1dc)](_0xe743df[_0x32413b(0x1fc)]);}}catch(_0xdb8e15){logger[_0x32413b(0x1da)](_0x32413b(0x269)+util[_0x32413b(0x1d5)](_0xdb8e15));}_0xe743df['qIKXx'](_0x1eed4c);})[_0x546164(0x254)](()=>{const _0x32685c=_0x546164;_0xe743df[_0x32685c(0x27b)](_0x38e43d);});},{'platform':_0xe743df[_0x51c8d3(0x24e)](nestedKeyValue,global[_0x51c8d3(0x208)],[_0xe743df['iCSwM']]),'hookType':_0xe743df[_0x51c8d3(0x23d)]})();},'afterEach'(_0x26c9c8){const _0x104275=a37_0x37facc,_0x35d855={'yJHSr':function(_0x5776c9,_0x4148d1){return _0x5776c9!==_0x4148d1;},'qCbRg':_0x104275(0x21a),'udZQv':function(_0x4ad1c5,_0x394a12,_0xb99195){return _0x4ad1c5(_0x394a12,_0xb99195);},'PBNok':function(_0x3bd81e,_0x6a9575){return _0x3bd81e+_0x6a9575;},'ITMdc':_0x104275(0x1d6),'jGYto':_0x104275(0x1da),'aaFSx':function(_0x584837,_0xc4d6cd,_0x3ae963){return _0x584837(_0xc4d6cd,_0x3ae963);},'WOMAl':_0x104275(0x1e5),'fKnuV':_0x104275(0x1dc),'tqRyH':function(_0x2720f9,_0x24c75e){return _0x2720f9>_0x24c75e;},'kmwFH':function(_0x2f8807,_0xc488a3){return _0x2f8807===_0xc488a3;},'zvoEn':_0x104275(0x271),'VjQTb':_0x104275(0x250),'AKSPq':function(_0x3ab4ad,_0x1eb8f0,_0x32e9f4,_0x545220){return _0x3ab4ad(_0x1eb8f0,_0x32e9f4,_0x545220);},'Shkoe':_0x104275(0x235),'QuAsD':'bstackA11yShouldScan','SkLFl':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','NXLGU':_0x104275(0x1f5),'YYRUY':_0x104275(0x246),'lvejW':'Accessibility\x20scan\x20completed\x20successfully','LzRHD':_0x104275(0x24f),'BaDdo':_0x104275(0x278),'CViGC':_0x104275(0x1ea),'LNAhO':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kwfsJ':function(_0xcc799){return _0xcc799();},'hWJfg':function(_0x3153df,_0x1e5bde,_0x2ee3c8){return _0x3153df(_0x1e5bde,_0x2ee3c8);},'kotjB':function(_0x4b9280){return _0x4b9280();},'KUdgp':_0x104275(0x227),'ADtid':function(_0x40b026,_0x98c23b){return _0x40b026>_0x98c23b;},'YDXLZ':function(_0x3082c1){return _0x3082c1();},'gECmh':_0x104275(0x1fd),'JCuin':'Mocha','sXfDV':_0x104275(0x201),'kAENW':_0x104275(0x1cf)},_0x4b69ea='browserstack internal helper hook';this[_0x104275(0x21c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x35d855['JCuin']]),global[_0x104275(0x1dd)]=this[_0x104275(0x23f)][_0x104275(0x266)]()['join'](_0x35d855[_0x104275(0x1f7)]),PerformanceTester[_0x104275(0x1ed)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x438d08=_0x104275,_0x28e198={};_0x28e198[_0x438d08(0x1ff)]=_0x35d855[_0x438d08(0x1f7)];const _0x3684d5=_0x28e198,_0x3113a8=async(_0x2460dd,_0x263b17)=>{const _0x5ad2ec=_0x438d08;await global[_0x5ad2ec(0x218)][0x0][_0x5ad2ec(0x24a)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2460dd+_0x5ad2ec(0x261)+_0x263b17+_0x5ad2ec(0x27a));};new Promise(async _0x578b6b=>{const _0xddfb5b=_0x438d08,_0x3fbddb={'qejfC':function(_0x59058d,_0x49b205){const _0x547d52=a37_0x3bd6;return _0x35d855[_0x547d52(0x258)](_0x59058d,_0x49b205);},'HLYmG':_0x35d855[_0xddfb5b(0x1d3)],'TPEpO':function(_0x3cdf41,_0x5dbc8c,_0x41a51d){const _0x1c49bc=_0xddfb5b;return _0x35d855[_0x1c49bc(0x231)](_0x3cdf41,_0x5dbc8c,_0x41a51d);},'czDvn':function(_0x576964,_0xe4d590){const _0x44df74=_0xddfb5b;return _0x35d855[_0x44df74(0x211)](_0x576964,_0xe4d590);},'zdNMw':_0x35d855['ITMdc'],'ZpTZp':_0x35d855[_0xddfb5b(0x220)],'XgsCC':function(_0x5c4a8a,_0x2e3b47,_0x2de88c){const _0x3b6451=_0xddfb5b;return _0x35d855[_0x3b6451(0x1ee)](_0x5c4a8a,_0x2e3b47,_0x2de88c);},'hqbdv':_0x35d855[_0xddfb5b(0x251)],'EfXet':_0x35d855['fKnuV']};try{_0x35d855[_0xddfb5b(0x214)](global[_0xddfb5b(0x218)]['length'],0x1)&&(await global[_0xddfb5b(0x1e8)](),global['__drivers'][_0xddfb5b(0x20e)](),global[_0xddfb5b(0x1f0)]=[],global[_0xddfb5b(0x1d7)]=![]);try{if(global[_0xddfb5b(0x21b)]&&_0x35d855[_0xddfb5b(0x257)](global[_0xddfb5b(0x273)],_0x35d855[_0xddfb5b(0x20f)])&&global[_0xddfb5b(0x218)][0x0]){const _0x1fc6e3=_0x35d855[_0xddfb5b(0x214)](global[_0xddfb5b(0x1d1)][_0xddfb5b(0x230)],0x0)?!!global[_0xddfb5b(0x1d1)][0x0][_0xddfb5b(0x1d0)]||!!global['capabilities'][0x0][_0x35d855[_0xddfb5b(0x1f3)]]:![],_0x3a2397={};_0x3a2397['app']=_0x1fc6e3,await _0x35d855[_0xddfb5b(0x203)](percyAutoCapture,global[_0xddfb5b(0x218)][0x0],_0x35d855[_0xddfb5b(0x20f)],_0x3a2397);}}catch(_0x1d15c5){logger[_0xddfb5b(0x227)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x1d15c5);}!global['__skipSessionName']&&(await PerformanceTester[_0xddfb5b(0x1ed)](PerformanceAutEvents[_0xddfb5b(0x265)],async()=>{const _0x5439a3=_0xddfb5b;await global[_0x5439a3(0x218)][0x0][_0x5439a3(0x24a)](_0x5439a3(0x24c)+JSON[_0x5439a3(0x25e)](this['currentTest'][_0x5439a3(0x266)]()[_0x5439a3(0x1f2)](_0x3684d5[_0x5439a3(0x1ff)]))+'}}');})(),global[_0xddfb5b(0x218)][0x0][_0xddfb5b(0x1e2)]=!![]),await PerformanceTester[_0xddfb5b(0x1ed)](PerformanceAutEvents[_0xddfb5b(0x245)],async()=>{const _0x1f606d=_0xddfb5b,_0x30a437=_0x3fbddb[_0x1f606d(0x234)](this['currentTest'][_0x1f606d(0x276)],_0x3fbddb['HLYmG']);_0x30a437?(global[_0x1f606d(0x1d7)]=!![],global['__error_messages__']['push'](this[_0x1f606d(0x23f)][_0x1f606d(0x1d4)][_0x1f606d(0x23a)]),await _0x3fbddb[_0x1f606d(0x205)](_0x3113a8,JSON[_0x1f606d(0x25e)](_0x3fbddb[_0x1f606d(0x216)](_0x3fbddb[_0x1f606d(0x233)],this[_0x1f606d(0x23f)]['err'][_0x1f606d(0x23a)])),_0x3fbddb[_0x1f606d(0x1d2)])):await _0x3fbddb[_0x1f606d(0x232)](_0x3113a8,JSON[_0x1f606d(0x25e)](_0x3fbddb['hqbdv']),_0x3fbddb[_0x1f606d(0x222)]);})();}catch(_0x523e4c){logger[_0xddfb5b(0x227)](_0xddfb5b(0x1e9)+_0x523e4c);}try{if(this[_0xddfb5b(0x23f)][_0xddfb5b(0x1d9)]&&globals[_0xddfb5b(0x215)](_0x35d855[_0xddfb5b(0x226)])&&globals[_0xddfb5b(0x215)](_0x35d855[_0xddfb5b(0x249)])){logger[_0xddfb5b(0x1dc)](_0x35d855[_0xddfb5b(0x25f)]);const _0x2d124b={};_0x2d124b[_0xddfb5b(0x242)]=this['currentTest'][_0xddfb5b(0x1e7)],_0x2d124b[_0xddfb5b(0x22b)]=process[_0xddfb5b(0x241)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x2d124b[_0xddfb5b(0x20a)]=process[_0xddfb5b(0x241)][testHubConstants['ENV_VAR'][_0xddfb5b(0x1eb)]];const _0xaa85f9=_0x2d124b;logger[_0xddfb5b(0x227)](_0xddfb5b(0x21d)+JSON[_0xddfb5b(0x25e)](_0xaa85f9)),logger[_0xddfb5b(0x227)](_0x35d855[_0xddfb5b(0x206)]);const _0x562f59={};_0x562f59['command']=_0x35d855[_0xddfb5b(0x22d)];const _0x24639a=await PerformanceTester[_0xddfb5b(0x1ed)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x15adae=_0xddfb5b;return await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x15adae(0x256)]);},_0x562f59)();_0x24639a?logger[_0xddfb5b(0x227)](_0x35d855[_0xddfb5b(0x244)]):logger[_0xddfb5b(0x1f1)](_0x35d855['LzRHD']);const _0x1b4ef9=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0xddfb5b(0x243)],async()=>{const _0x5eeb8e=_0xddfb5b;return await accessibilityRetryHelper[_0x5eeb8e(0x229)](global['__drivers'][0x0],_0xaa85f9);})();_0x1b4ef9?logger['debug'](_0x35d855[_0xddfb5b(0x25a)]):logger[_0xddfb5b(0x1f1)](_0x35d855[_0xddfb5b(0x1ec)]),logger[_0xddfb5b(0x1dc)](_0x35d855[_0xddfb5b(0x25d)]);}}catch(_0x343a8d){logger[_0xddfb5b(0x1da)](_0xddfb5b(0x207)+this['currentTest'][_0xddfb5b(0x266)]()+_0xddfb5b(0x20d),_0x343a8d);}try{try{if(_0x35d855[_0xddfb5b(0x247)](shouldProcessEventForTesthub)){global[_0xddfb5b(0x218)][0x0]&&await _0x35d855[_0xddfb5b(0x1e4)](sendPlatformDetails,global[_0xddfb5b(0x218)][0x0],this[_0xddfb5b(0x23f)]?this[_0xddfb5b(0x23f)][_0xddfb5b(0x1e7)]:null);if(_0x35d855[_0xddfb5b(0x20b)](isBrowserstackInfra)){PerformanceTester[_0xddfb5b(0x213)](PerformanceO11yEvents[_0xddfb5b(0x26c)]);const _0x430db7=_0xddfb5b(0x1f4)+Date[_0xddfb5b(0x228)]();await _0x35d855[_0xddfb5b(0x231)](_0x3113a8,JSON['stringify'](_0x430db7),_0x35d855['KUdgp']),PerformanceTester[_0xddfb5b(0x1fe)](PerformanceO11yEvents[_0xddfb5b(0x26c)]);}}}catch(_0x472df9){logger['debug'](_0xddfb5b(0x200)+_0x472df9),PerformanceTester[_0xddfb5b(0x1fe)](PerformanceO11yEvents[_0xddfb5b(0x26c)],![],_0x472df9);}_0x35d855['ADtid'](global[_0xddfb5b(0x218)][0x0][_0xddfb5b(0x23e)],0x0)&&await global['driverCleanup']();}catch(_0x170bf5){logger[_0xddfb5b(0x227)](_0xddfb5b(0x240)+_0x170bf5);}_0x35d855[_0xddfb5b(0x20c)](_0x578b6b);})[_0x438d08(0x254)](()=>{const _0x4fe764=_0x438d08;_0x35d855[_0x4fe764(0x247)](_0x26c9c8);});},{'platform':_0x35d855[_0x104275(0x1ee)](nestedKeyValue,global[_0x104275(0x208)],[_0x35d855[_0x104275(0x1f6)]]),'hookType':_0x35d855[_0x104275(0x279)]})();},'afterAll'(_0x108230){const _0xd393f1=a37_0x37facc,_0x1db0d9={'VgwoN':function(_0x15eb33){return _0x15eb33();},'wCPiB':function(_0x9752ea){return _0x9752ea();},'TNsWe':_0xd393f1(0x239),'MSEfH':function(_0x29af2a,_0x5ed26f,_0x1dd4f3){return _0x29af2a(_0x5ed26f,_0x1dd4f3);},'JgxOf':_0xd393f1(0x201),'OaYay':_0xd393f1(0x22a)},_0xb23f68='browserstack internal helper hook';this[_0xd393f1(0x21c)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1db0d9[_0xd393f1(0x1ce)]]),PerformanceTester[_0xd393f1(0x1ed)](PerformanceSdkEvents[_0xd393f1(0x253)],()=>{const _0x4032eb=_0xd393f1,_0x3e2ec1={'FVmSd':function(_0x260967){const _0x1f8cf5=a37_0x3bd6;return _0x1db0d9[_0x1f8cf5(0x212)](_0x260967);}};new Promise(async _0x3b0c96=>{const _0x5cd649=a37_0x3bd6;await global[_0x5cd649(0x1e8)](),_0x1db0d9['VgwoN'](_0x3b0c96);})[_0x4032eb(0x254)]()['finally'](()=>{const _0x2bc07f=_0x4032eb;_0x3e2ec1[_0x2bc07f(0x1f9)](_0x108230);});},{'platform':_0x1db0d9[_0xd393f1(0x21f)](nestedKeyValue,global[_0xd393f1(0x208)],[_0x1db0d9[_0xd393f1(0x1e3)]]),'hookType':_0x1db0d9[_0xd393f1(0x268)]})();}};
|
|
1
|
+
const a37_0x3b5fde=a37_0x33d9;(function(_0x4544e2,_0x3d8be1){const _0x5bcc4b=a37_0x33d9,_0x135bdc=_0x4544e2();while(!![]){try{const _0x513848=parseInt(_0x5bcc4b(0x1a0))/0x1*(-parseInt(_0x5bcc4b(0x1bd))/0x2)+parseInt(_0x5bcc4b(0x1c7))/0x3+parseInt(_0x5bcc4b(0x1ee))/0x4*(parseInt(_0x5bcc4b(0x205))/0x5)+-parseInt(_0x5bcc4b(0x1db))/0x6*(parseInt(_0x5bcc4b(0x16f))/0x7)+parseInt(_0x5bcc4b(0x15e))/0x8+parseInt(_0x5bcc4b(0x1d8))/0x9+-parseInt(_0x5bcc4b(0x1a6))/0xa;if(_0x513848===_0x3d8be1)break;else _0x135bdc['push'](_0x135bdc['shift']());}catch(_0xcf30ad){_0x135bdc['push'](_0x135bdc['shift']());}}}(a37_0x3716,0x48f0e));const util=require(a37_0x3b5fde(0x172)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a37_0x3b5fde(0x16b)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a37_0x3b5fde(0x184)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a37_0x3b5fde(0x1ba)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a37_0x3b5fde(0x17c)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a37_0x3b5fde(0x1ab)),logger=require('../../helpers/logger')[a37_0x3b5fde(0x1a4)],{shouldProcessEventForTesthub}=require(a37_0x3b5fde(0x163)),testHubConstants=require(a37_0x3b5fde(0x1e0));function a37_0x33d9(_0x58f627,_0x18f83c){const _0x37163f=a37_0x3716();return a37_0x33d9=function(_0x33d9bf,_0x53c056){_0x33d9bf=_0x33d9bf-0x15e;let _0x3271f9=_0x37163f[_0x33d9bf];return _0x3271f9;},a37_0x33d9(_0x58f627,_0x18f83c);}exports[a37_0x3b5fde(0x16a)]={'beforeAll'(){const _0x4b5a85=a37_0x3b5fde,_0x543897={'NRhcx':function(_0x45a075,_0x5d1b47,_0x1182af,_0x125191){return _0x45a075(_0x5d1b47,_0x1182af,_0x125191);},'riDYj':_0x4b5a85(0x1e5),'tWaHO':_0x4b5a85(0x171),'yUOWx':function(_0x592e17,_0x5dbe86,_0x1a2d0b){return _0x592e17(_0x5dbe86,_0x1a2d0b);},'KbMrJ':_0x4b5a85(0x1df),'abRsA':function(_0x3ab9e0){return _0x3ab9e0();},'lCBQR':function(_0x3edf9e,_0x2d0d37,_0x1e7170){return _0x3edf9e(_0x2d0d37,_0x1e7170);},'LNpot':_0x4b5a85(0x195),'aJeQu':_0x4b5a85(0x1fb)};PerformanceTester['startMonitoring']();const _0x49d064='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x4b5a85(0x1bb)],()=>{const _0x501a1d=_0x4b5a85,_0x21049f={'EGuPy':function(_0x4aae7d,_0x56b723,_0x3cbb0e,_0x4958a7){const _0x527125=a37_0x33d9;return _0x543897[_0x527125(0x18b)](_0x4aae7d,_0x56b723,_0x3cbb0e,_0x4958a7);},'yYuzO':_0x543897['riDYj'],'qDRqQ':_0x543897[_0x501a1d(0x1e3)],'SSnbk':function(_0x559080,_0x30dc2d,_0x4cdad7){const _0x337d80=_0x501a1d;return _0x543897[_0x337d80(0x168)](_0x559080,_0x30dc2d,_0x4cdad7);},'btKBd':_0x543897[_0x501a1d(0x1cd)],'xLMSO':function(_0x43dd01){const _0x559c66=_0x501a1d;return _0x543897[_0x559c66(0x165)](_0x43dd01);},'DOrSp':function(_0x429430,_0x453a12,_0x50a74d){const _0x5ac787=_0x501a1d;return _0x543897[_0x5ac787(0x168)](_0x429430,_0x453a12,_0x50a74d);}};global[_0x501a1d(0x1f3)]=[],global[_0x501a1d(0x161)]=![],global[_0x501a1d(0x1da)]=async()=>{const _0x3c52f0=_0x501a1d;let _0x27dedc=![];try{await global[_0x3c52f0(0x1f6)][0x0][_0x3c52f0(0x206)],_0x27dedc=!![],global[_0x3c52f0(0x161)]?await _0x21049f['EGuPy'](markSessionStatus,global['__drivers'][0x0],_0x21049f['yYuzO'],global['__error_messages__'][_0x3c52f0(0x1c6)](_0x21049f[_0x3c52f0(0x1c9)])):await _0x21049f[_0x3c52f0(0x199)](markSessionStatus,global[_0x3c52f0(0x1f6)][0x0],_0x21049f[_0x3c52f0(0x17a)]);}catch(_0x947f4d){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1dc)+_0x947f4d);}global[_0x3c52f0(0x1f3)]=[],global[_0x3c52f0(0x161)]=![];if(_0x27dedc)try{try{_0x21049f['xLMSO'](shouldProcessEventForTesthub)&&(global[_0x3c52f0(0x1f6)][0x0]&&await _0x21049f['DOrSp'](sendPlatformDetails,global[_0x3c52f0(0x1f6)][0x0],this['currentTest']?this[_0x3c52f0(0x1ed)][_0x3c52f0(0x1b2)]:null));}catch(_0x21bd84){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1a3)+_0x21bd84);}await global[_0x3c52f0(0x1f6)][0x0][_0x3c52f0(0x20c)]();}catch(_0x50fc90){logger[_0x3c52f0(0x1ae)](_0x3c52f0(0x1f1)+_0x50fc90);}};},{'platform':_0x543897[_0x4b5a85(0x18e)](nestedKeyValue,global[_0x4b5a85(0x189)],[_0x543897[_0x4b5a85(0x18a)]]),'hookType':_0x543897[_0x4b5a85(0x208)]})();},'beforeEach'(_0x259a9b){const _0x5aecb6=a37_0x3b5fde,_0x1777f8={'UWRrg':function(_0xce458b,_0x3d2472){return _0xce458b>_0x3d2472;},'rOgEK':_0x5aecb6(0x160),'nBVWh':function(_0x259757,_0x454f0e,_0x2a3f37){return _0x259757(_0x454f0e,_0x2a3f37);},'hKPuF':'bstackA11yShouldScan','XAQhc':function(_0x3e248d){return _0x3e248d();},'EhTVS':function(_0x1792d5,_0x363888){return _0x1792d5>_0x363888;},'drmCH':'isAccessibilityPlatform','AYrvz':function(_0x5c648e,_0x51122d){return _0x5c648e===_0x51122d;},'kXbOb':_0x5aecb6(0x18f),'GFNtY':function(_0x36b11e,_0x38f8de){return _0x36b11e===_0x38f8de;},'qJTsB':'https:','amjit':_0x5aecb6(0x178),'nQJhu':_0x5aecb6(0x19e),'FjkuL':function(_0x464bc9){return _0x464bc9();},'ADozt':_0x5aecb6(0x1ec),'Lzbqa':'index','GYqPj':_0x5aecb6(0x203)};globals['setGlobal'](_0x1777f8[_0x5aecb6(0x1f8)],this[_0x5aecb6(0x1ed)][_0x5aecb6(0x197)]()[_0x5aecb6(0x1c6)](_0x1777f8['rOgEK'])),PerformanceTester[_0x5aecb6(0x183)](PerformanceSdkEvents[_0x5aecb6(0x1bb)],()=>{const _0x52d636={'ZsKSZ':function(_0x537164){return _0x1777f8['FjkuL'](_0x537164);}},_0x276080='browserstack internal helper hook';new Promise(async _0x19309e=>{const _0x32be09=a37_0x33d9;let _0x1dc297=!![];try{_0x1777f8['UWRrg'](global[_0x32be09(0x1f6)][_0x32be09(0x186)],0x1)&&(await global[_0x32be09(0x1da)](),global['__drivers']['shift']()),_0x1777f8[_0x32be09(0x17b)](global['__drivers'][0x0][_0x32be09(0x20e)],0x0)&&(_0x1dc297=![],await global[_0x32be09(0x1da)]());}catch(_0x112fdb){logger[_0x32be09(0x1ae)](_0x32be09(0x1f1)+_0x112fdb);}try{Array[_0x32be09(0x162)](global[_0x32be09(0x1f6)])&&global[_0x32be09(0x1f6)][0x0]&&(global[_0x32be09(0x1f6)][0x0][_0x32be09(0x1d3)]=this[_0x32be09(0x1ed)]['titlePath']()[_0x32be09(0x1c6)](_0x1777f8[_0x32be09(0x210)])),global[_0x32be09(0x1d3)]=this[_0x32be09(0x1ed)][_0x32be09(0x197)]()[_0x32be09(0x1c6)](_0x1777f8[_0x32be09(0x210)]);}catch(_0x382eeb){logger[_0x32be09(0x1ae)](_0x32be09(0x1d7)+_0x382eeb);}this[_0x32be09(0x1ed)][_0x32be09(0x173)]=_0x1777f8['nBVWh'](shouldScanTestForAccessibility,this[_0x32be09(0x1ed)][_0x32be09(0x197)](),!![]),globals['setGlobal'](_0x1777f8[_0x32be09(0x177)],this[_0x32be09(0x1ed)][_0x32be09(0x173)]),this[_0x32be09(0x1ed)][_0x32be09(0x1be)]=!![];if(_0x1777f8[_0x32be09(0x204)](isAccessibilityAutomationSession)&&_0x1dc297&&Array[_0x32be09(0x162)](global[_0x32be09(0x1f6)])&&_0x1777f8[_0x32be09(0x198)](global[_0x32be09(0x1f6)]['length'],0x0)&&globals[_0x32be09(0x1d4)](_0x1777f8[_0x32be09(0x211)]))try{const _0xc71b06=await global[_0x32be09(0x1f6)][0x0][_0x32be09(0x206)];if(_0xc71b06){let _0x782d65=!![];const _0x1955fe=await global[_0x32be09(0x1f6)][0x0][_0x32be09(0x1c5)]();let _0x838bbc;try{_0x838bbc=new URL(_0x1955fe);}catch(_0x21f9fb){_0x782d65=![];}_0x782d65=_0x1777f8[_0x32be09(0x1f7)](_0x838bbc[_0x32be09(0x1d5)],_0x1777f8[_0x32be09(0x200)])||_0x1777f8[_0x32be09(0x1a1)](_0x838bbc[_0x32be09(0x1d5)],_0x1777f8[_0x32be09(0x201)]),_0x782d65&&(this[_0x32be09(0x1ed)]['shouldScanTestForAccessibility']&&logger[_0x32be09(0x176)](_0x1777f8[_0x32be09(0x1b3)])),this[_0x32be09(0x1ed)][_0x32be09(0x1be)]=this[_0x32be09(0x1ed)][_0x32be09(0x173)],this[_0x32be09(0x1ed)][_0x32be09(0x173)]&&logger[_0x32be09(0x176)](_0x1777f8['nQJhu']);}}catch(_0x3db749){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x32be09(0x16e)](_0x3db749));}_0x1777f8[_0x32be09(0x204)](_0x19309e);})['then'](()=>{const _0x2daefc=a37_0x33d9;_0x52d636[_0x2daefc(0x17e)](_0x259a9b);});},{'platform':_0x1777f8[_0x5aecb6(0x170)](nestedKeyValue,global[_0x5aecb6(0x189)],[_0x1777f8['Lzbqa']]),'hookType':_0x1777f8[_0x5aecb6(0x1c0)]})();},'afterEach'(_0x329f29){const _0x361101=a37_0x3b5fde,_0x434f7d={'WYBId':function(_0x1dedf1,_0x33acb){return _0x1dedf1>_0x33acb;},'akLpY':function(_0x1867ab,_0x139e73){return _0x1867ab===_0x139e73;},'SDsKA':'testcase','vbyFy':function(_0x15fdf3,_0x5218c8){return _0x15fdf3>_0x5218c8;},'UPcbq':_0x361101(0x1e6),'hXlrd':function(_0x445fef,_0xa25c7a,_0x493d73,_0x27a6d3){return _0x445fef(_0xa25c7a,_0x493d73,_0x27a6d3);},'suabp':_0x361101(0x1ff),'KkCaE':_0x361101(0x1d6),'nDWyi':_0x361101(0x1c1),'QryOB':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','gxAoY':_0x361101(0x1de),'ZesOG':'Accessibility\x20scan\x20completed\x20successfully','Yxzzh':_0x361101(0x188),'IEtim':_0x361101(0x1c2),'bCeYt':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','PwotM':_0x361101(0x196),'yQLYf':function(_0x4ddafc){return _0x4ddafc();},'pcMJL':function(_0x2d9793,_0x187eee,_0x183685){return _0x2d9793(_0x187eee,_0x183685);},'YSRhO':function(_0x3c3ad8,_0x5d2c97,_0x2e7004){return _0x3c3ad8(_0x5d2c97,_0x2e7004);},'NPbpP':_0x361101(0x1ae),'PcleR':'\x20-\x20','eMCAl':function(_0x41f337,_0x2285da){return _0x41f337!==_0x2285da;},'lnEpV':'passed','Hdltb':function(_0x5ccef9,_0x110560,_0x44577f){return _0x5ccef9(_0x110560,_0x44577f);},'pLsoR':function(_0x5e1a5d,_0x15fef4){return _0x5e1a5d+_0x15fef4;},'HxYfM':_0x361101(0x181),'szJBL':'error','qlWyT':'Passed','tNRoo':_0x361101(0x176),'abAfm':function(_0x1a167e){return _0x1a167e();},'BrVQH':_0x361101(0x1a9),'hVhEE':function(_0x5b47b2,_0x3f7d75,_0xa3c89){return _0x5b47b2(_0x3f7d75,_0xa3c89);},'VKEOH':'index','FnKqZ':_0x361101(0x19d)},_0x5812ec='browserstack internal helper hook';this[_0x361101(0x167)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x434f7d[_0x361101(0x1d9)]]),global[_0x361101(0x1b4)]=this[_0x361101(0x1ed)]['titlePath']()['join'](_0x434f7d[_0x361101(0x1b8)]),PerformanceTester[_0x361101(0x183)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x26075f=_0x361101,_0x19049e={'IkSMa':_0x434f7d[_0x26075f(0x1b8)],'IHvBL':function(_0x56e5fd,_0x183b01){const _0x5d64d4=_0x26075f;return _0x434f7d[_0x5d64d4(0x16d)](_0x56e5fd,_0x183b01);},'EGsgc':_0x434f7d[_0x26075f(0x191)],'kQvXv':function(_0x2f5e3f,_0x5c1c7b,_0x2f62b7){const _0x3efd98=_0x26075f;return _0x434f7d[_0x3efd98(0x182)](_0x2f5e3f,_0x5c1c7b,_0x2f62b7);},'GBLPi':function(_0x38dc21,_0x163642){return _0x434f7d['pLsoR'](_0x38dc21,_0x163642);},'KlEND':_0x434f7d[_0x26075f(0x179)],'lSvmt':_0x434f7d['szJBL'],'GuzYu':_0x434f7d[_0x26075f(0x1af)],'lcINF':_0x434f7d[_0x26075f(0x1f2)],'VOWzo':function(_0x4882bd){const _0x536c03=_0x26075f;return _0x434f7d[_0x536c03(0x1ad)](_0x4882bd);}},_0x160a90=async(_0x23ce92,_0xbf25d7)=>{const _0x49553e=_0x26075f;await global[_0x49553e(0x1f6)][0x0][_0x49553e(0x17f)](_0x49553e(0x1eb)+_0x23ce92+_0x49553e(0x1e1)+_0xbf25d7+_0x49553e(0x174));};new Promise(async _0x5dee27=>{const _0x2a9c8b=_0x26075f;try{_0x434f7d[_0x2a9c8b(0x1b0)](global[_0x2a9c8b(0x1f6)][_0x2a9c8b(0x186)],0x1)&&(await global[_0x2a9c8b(0x1da)](),global[_0x2a9c8b(0x1f6)][_0x2a9c8b(0x1ac)](),global['__error_messages__']=[],global[_0x2a9c8b(0x161)]=![]);try{if(global[_0x2a9c8b(0x20a)]&&_0x434f7d[_0x2a9c8b(0x190)](global['percyCaptureMode'],_0x434f7d[_0x2a9c8b(0x1e2)])&&global['__drivers'][0x0]){const _0x575188=_0x434f7d['vbyFy'](global[_0x2a9c8b(0x1fe)][_0x2a9c8b(0x186)],0x0)?!!global[_0x2a9c8b(0x1fe)][0x0][_0x2a9c8b(0x207)]||!!global[_0x2a9c8b(0x1fe)][0x0][_0x434f7d[_0x2a9c8b(0x16c)]]:![],_0x1cb5d4={};_0x1cb5d4['app']=_0x575188,await _0x434f7d[_0x2a9c8b(0x1c4)](percyAutoCapture,global[_0x2a9c8b(0x1f6)][0x0],_0x434f7d[_0x2a9c8b(0x1e2)],_0x1cb5d4);}}catch(_0x10e988){logger['debug'](_0x2a9c8b(0x1c3)+_0x10e988);}!global[_0x2a9c8b(0x1e7)]&&(await PerformanceTester[_0x2a9c8b(0x183)](PerformanceAutEvents[_0x2a9c8b(0x1ca)],async()=>{const _0xd32635=_0x2a9c8b;await global[_0xd32635(0x1f6)][0x0][_0xd32635(0x17f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0xd32635(0x194)](this[_0xd32635(0x1ed)][_0xd32635(0x197)]()[_0xd32635(0x1c6)](_0x19049e[_0xd32635(0x1fd)]))+'}}');})(),global[_0x2a9c8b(0x1f6)][0x0][_0x2a9c8b(0x1f4)]=!![]),await PerformanceTester[_0x2a9c8b(0x183)](PerformanceAutEvents[_0x2a9c8b(0x193)],async()=>{const _0x52ac78=_0x2a9c8b,_0x166b66=_0x19049e[_0x52ac78(0x15f)](this[_0x52ac78(0x1ed)][_0x52ac78(0x1fc)],_0x19049e[_0x52ac78(0x1ef)]);_0x166b66?(global[_0x52ac78(0x161)]=!![],global[_0x52ac78(0x1f3)][_0x52ac78(0x1ea)](this[_0x52ac78(0x1ed)][_0x52ac78(0x1d2)][_0x52ac78(0x1fa)]),await _0x19049e[_0x52ac78(0x19a)](_0x160a90,JSON['stringify'](_0x19049e[_0x52ac78(0x1cc)](_0x19049e['KlEND'],this[_0x52ac78(0x1ed)][_0x52ac78(0x1d2)][_0x52ac78(0x1fa)])),_0x19049e[_0x52ac78(0x1a8)])):await _0x19049e[_0x52ac78(0x19a)](_0x160a90,JSON[_0x52ac78(0x194)](_0x19049e[_0x52ac78(0x1f5)]),_0x19049e[_0x52ac78(0x18d)]);})();}catch(_0x365ee9){logger[_0x2a9c8b(0x1ae)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x365ee9);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x2a9c8b(0x1d4)](_0x434f7d['suabp'])&&globals[_0x2a9c8b(0x1d4)](_0x434f7d[_0x2a9c8b(0x1c8)])){logger[_0x2a9c8b(0x176)](_0x434f7d[_0x2a9c8b(0x1aa)]);const _0x32a1b6={};_0x32a1b6[_0x2a9c8b(0x1b9)]=this[_0x2a9c8b(0x1ed)][_0x2a9c8b(0x1b2)],_0x32a1b6[_0x2a9c8b(0x1b1)]=process[_0x2a9c8b(0x1d1)][testHubConstants[_0x2a9c8b(0x20b)]['BROWSERSTACK_TESTHUB_UUID']],_0x32a1b6['thJwtToken']=process['env'][testHubConstants[_0x2a9c8b(0x20b)][_0x2a9c8b(0x1f0)]];const _0x49c13a=_0x32a1b6;logger[_0x2a9c8b(0x1ae)](_0x2a9c8b(0x17d)+JSON[_0x2a9c8b(0x194)](_0x49c13a)),logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x1cf)]);const _0x5f3906={};_0x5f3906['command']=_0x434f7d[_0x2a9c8b(0x1d0)];const _0x37601d=await PerformanceTester[_0x2a9c8b(0x183)](PerformanceA11yEvents[_0x2a9c8b(0x1a7)],async()=>{const _0x101bc0=_0x2a9c8b;return await accessibilityRetryHelper[_0x101bc0(0x20f)](global[_0x101bc0(0x1f6)][0x0],global[_0x101bc0(0x1d3)]);},_0x5f3906)();_0x37601d?logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x19f)]):logger[_0x2a9c8b(0x1b5)](_0x434f7d['Yxzzh']);const _0x3e305d=await PerformanceTester[_0x2a9c8b(0x183)](PerformanceA11yEvents[_0x2a9c8b(0x1dd)],async()=>{const _0x246cf7=_0x2a9c8b;return await accessibilityRetryHelper[_0x246cf7(0x19b)](global[_0x246cf7(0x1f6)][0x0],_0x49c13a);})();_0x3e305d?logger[_0x2a9c8b(0x1ae)](_0x434f7d[_0x2a9c8b(0x1ce)]):logger[_0x2a9c8b(0x1b5)](_0x434f7d['bCeYt']),logger[_0x2a9c8b(0x176)](_0x434f7d[_0x2a9c8b(0x1a5)]);}}catch(_0x2ac56f){logger['error'](_0x2a9c8b(0x1f9)+this[_0x2a9c8b(0x1ed)][_0x2a9c8b(0x197)]()+_0x2a9c8b(0x1bc),_0x2ac56f);}try{try{if(_0x434f7d[_0x2a9c8b(0x192)](shouldProcessEventForTesthub)){global[_0x2a9c8b(0x1f6)][0x0]&&await _0x434f7d['pcMJL'](sendPlatformDetails,global[_0x2a9c8b(0x1f6)][0x0],this[_0x2a9c8b(0x1ed)]?this[_0x2a9c8b(0x1ed)]['testAnalyticsId']:null);if(_0x434f7d[_0x2a9c8b(0x192)](isBrowserstackInfra)){PerformanceTester[_0x2a9c8b(0x166)](PerformanceO11yEvents[_0x2a9c8b(0x1e8)]);const _0x163b49=_0x2a9c8b(0x1cb)+Date[_0x2a9c8b(0x1bf)]();await _0x434f7d[_0x2a9c8b(0x18c)](_0x160a90,JSON[_0x2a9c8b(0x194)](_0x163b49),_0x434f7d[_0x2a9c8b(0x1a2)]),PerformanceTester[_0x2a9c8b(0x175)](PerformanceO11yEvents[_0x2a9c8b(0x1e8)]);}}}catch(_0x9d0dc8){logger['debug']('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x9d0dc8),PerformanceTester['end'](PerformanceO11yEvents[_0x2a9c8b(0x1e8)],![],_0x9d0dc8);}_0x434f7d[_0x2a9c8b(0x1e4)](global[_0x2a9c8b(0x1f6)][0x0][_0x2a9c8b(0x20e)],0x0)&&await global[_0x2a9c8b(0x1da)]();}catch(_0x276e79){logger[_0x2a9c8b(0x1ae)](_0x2a9c8b(0x1f1)+_0x276e79);}_0x434f7d[_0x2a9c8b(0x192)](_0x5dee27);})[_0x26075f(0x202)](()=>{const _0x1fb65d=_0x26075f;_0x19049e[_0x1fb65d(0x180)](_0x329f29);});},{'platform':_0x434f7d['hVhEE'](nestedKeyValue,global[_0x361101(0x189)],[_0x434f7d[_0x361101(0x20d)]]),'hookType':_0x434f7d[_0x361101(0x1b6)]})();},'afterAll'(_0x18d04c){const _0x5974a2=a37_0x3b5fde,_0x31491d={'IgQkE':function(_0x3ae773){return _0x3ae773();},'rNxoy':_0x5974a2(0x1a9),'zUBFw':function(_0x117070,_0x11df27,_0x49553c){return _0x117070(_0x11df27,_0x49553c);},'RTWOB':_0x5974a2(0x195),'IKUGn':_0x5974a2(0x1b7)},_0x468620='browserstack internal helper hook';this[_0x5974a2(0x167)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x31491d[_0x5974a2(0x19c)]]),PerformanceTester[_0x5974a2(0x183)](PerformanceSdkEvents[_0x5974a2(0x1bb)],()=>{const _0x2db5e3=_0x5974a2,_0x4558f0={'ONZYt':function(_0xdda152){const _0x17187e=a37_0x33d9;return _0x31491d[_0x17187e(0x169)](_0xdda152);}};new Promise(async _0x49692d=>{const _0x151ce3=a37_0x33d9;await global['driverCleanup'](),_0x31491d[_0x151ce3(0x169)](_0x49692d);})['then']()[_0x2db5e3(0x164)](()=>{const _0x2e2495=_0x2db5e3;_0x4558f0[_0x2e2495(0x209)](_0x18d04c);});},{'platform':_0x31491d[_0x5974a2(0x185)](nestedKeyValue,global[_0x5974a2(0x189)],[_0x31491d[_0x5974a2(0x187)]]),'hookType':_0x31491d[_0x5974a2(0x1e9)]})();}};function a37_0x3716(){const _0x4eb1a9=['177318ocBlmQ','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','SAVE_RESULTS','afterTest','passed','../../helpers/testhub/constants',',\x22level\x22:\x20\x22','SDsKA','tWaHO','vbyFy','failed','appium:app','__skipSessionName','SYNC','IKUGn','push','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','browserstackTestName','currentTest','52wHAagw','EGsgc','BROWSERSTACK_TESTHUB_JWT','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','tNRoo','__error_messages__','sessionNameSet__','GuzYu','__drivers','AYrvz','ADozt','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','message','beforeAll','state','IkSMa','capabilities','isAccessibilityPlatform','kXbOb','qJTsB','then','beforeEach','XAQhc','111410MrxarT','session_','app','aJeQu','ONZYt','percy','ENV_VAR','initQuit','VKEOH','quitCount_','performScanWithRetry','rOgEK','drmCH','4572184QhGihR','IHvBL','\x20-\x20','__sessionFailed','isArray','../../helpers/testhub/utils','finally','abRsA','start','timeout','yUOWx','IgQkE','mochaHooks','../../helpers/accessibility-automation/helper','UPcbq','eMCAl','format','7JDmQKp','nBVWh','\x20|\x20','util','shouldScanTestForAccessibility','\x22}}','end','info','hKPuF','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','HxYfM','btKBd','UWRrg','../../helpers/performance/performance-tester','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','ZsKSZ','executeScript','VOWzo','Failed:\x20','Hdltb','measureWrapper','../utils/constants','zUBFw','length','RTWOB','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','__platformCaps','LNpot','NRhcx','YSRhO','lcINF','lCBQR','http:','akLpY','lnEpV','yQLYf','SESSION_STATUS','stringify','index','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','titlePath','EhTVS','SSnbk','kQvXv','saveAccessibilityResultsWithRetry','rNxoy','afterEach','Automate\x20test\x20case\x20execution\x20has\x20started.','ZesOG','1kCZCdS','GFNtY','NPbpP','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','winstonLogger','PwotM','10362230LBfVJT','PERFORM_SCAN','lSvmt','Mocha','nDWyi','../../helpers/globals','shift','abAfm','debug','qlWyT','WYBId','thBuildUuid','testAnalyticsId','amjit','sessionName','warn','FnKqZ','afterAll','PcleR','thTestRunUuid','./test-observability/mochaUtils','SDK_HOOK','.\x20Error\x20:','808274kgbqLG','accessibilityScanStarted','now','GYqPj','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Accessibility\x20results\x20saved\x20successfully','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','hXlrd','getCurrentUrl','join','1403994pWDhdI','KkCaE','qDRqQ','SESSION_NAME','ObservabilitySync:','GBLPi','KbMrJ','IEtim','QryOB','gxAoY','env','err','browserstackSessionName','getGlobal','protocol','bstackA11yShouldScan','Failed\x20to\x20store\x20session\x20name:\x20','3955428OPREoO','BrVQH','driverCleanup'];a37_0x3716=function(){return _0x4eb1a9;};return a37_0x3716();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a38_0x2eee70=a38_0x1fe6;(function(_0x13e1a7,_0x34aa0b){const _0x6b201c=a38_0x1fe6,_0x51d324=_0x13e1a7();while(!![]){try{const _0x4a6a71=-parseInt(_0x6b201c(0x199))/0x1+-parseInt(_0x6b201c(0x1ad))/0x2+parseInt(_0x6b201c(0x1c9))/0x3+-parseInt(_0x6b201c(0x1bc))/0x4*(-parseInt(_0x6b201c(0x1a5))/0x5)+parseInt(_0x6b201c(0x1c7))/0x6+-parseInt(_0x6b201c(0x1d1))/0x7*(-parseInt(_0x6b201c(0x195))/0x8)+parseInt(_0x6b201c(0x1be))/0x9*(parseInt(_0x6b201c(0x1c0))/0xa);if(_0x4a6a71===_0x34aa0b)break;else _0x51d324['push'](_0x51d324['shift']());}catch(_0x160a19){_0x51d324['push'](_0x51d324['shift']());}}}(a38_0x183d,0xe270c));function a38_0x1fe6(_0x225f46,_0x57622e){const _0x183d88=a38_0x183d();return a38_0x1fe6=function(_0x1fe6e9,_0x86ab8){_0x1fe6e9=_0x1fe6e9-0x194;let _0x5f5df7=_0x183d88[_0x1fe6e9];return _0x5f5df7;},a38_0x1fe6(_0x225f46,_0x57622e);}const fs=require('fs'),path=require(a38_0x2eee70(0x1a1)),{spawn}=require(a38_0x2eee70(0x1cc)),logger=require('../../helpers/logger')[a38_0x2eee70(0x1bb)],{default:BrowserStackSetup}=require(a38_0x2eee70(0x1ce)),helper=require(a38_0x2eee70(0x1d9)),constants=require(a38_0x2eee70(0x1b5)),getUserNightwatchConfigs=(_0xe0537d,_0x24625e)=>{const _0x5971e2=a38_0x2eee70,_0x1ad4ab={'NXeiI':_0x5971e2(0x1d6),'oJxXw':_0x5971e2(0x1ac),'Fgnyo':function(_0x36fa61,_0x4c0d8c){return _0x36fa61(_0x4c0d8c);},'EMzBo':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x318703=null,_0x166344={};const _0x25cb44=_0x24625e[_0x5971e2(0x1b4)](_0x332501=>_0x332501===_0x5971e2(0x1b9));if(!helper[_0x5971e2(0x1bf)](_0xe0537d[_0x5971e2(0x1a7)])&&fs['existsSync'](path[_0x5971e2(0x1db)](process[_0x5971e2(0x196)](),_0xe0537d['config'])))_0x318703=path['join'](process[_0x5971e2(0x196)](),_0xe0537d[_0x5971e2(0x1a7)]),_0x24625e[_0x5971e2(0x1c4)](_0x25cb44,0x2);else{if(fs[_0x5971e2(0x1da)](path[_0x5971e2(0x1db)](process[_0x5971e2(0x196)](),_0x1ad4ab['NXeiI'])))_0x318703=path['join'](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1d4)]);else fs[_0x5971e2(0x1da)](path['join'](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1b2)]))&&(_0x318703=path[_0x5971e2(0x1db)](process['cwd'](),_0x1ad4ab[_0x5971e2(0x1b2)]));}return _0x318703?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x318703),_0x166344=_0x1ad4ab['Fgnyo'](require,_0x318703)):logger[_0x5971e2(0x1af)](_0x1ad4ab['EMzBo']),_0x166344;},removeExistingEnvs=_0x1712f=>{const _0x3862a3=a38_0x2eee70,_0x48813c={};_0x48813c[_0x3862a3(0x1d2)]=function(_0x3257e7,_0x371fd0){return _0x3257e7>_0x371fd0;};const _0x570133=_0x48813c;let _0x56d20c=_0x1712f[_0x3862a3(0x1b4)](_0x26a855=>_0x26a855===_0x3862a3(0x19e));_0x570133['LeWAe'](_0x56d20c,-0x1)&&_0x1712f[_0x3862a3(0x1c4)](_0x56d20c,0x2),_0x56d20c=_0x1712f['findIndex'](_0x5d3355=>_0x5d3355==='-e'),_0x570133[_0x3862a3(0x1d2)](_0x56d20c,-0x1)&&_0x1712f[_0x3862a3(0x1c4)](_0x56d20c,0x2);};function run(_0x2e2869,_0x5410c2,_0x1a91d8){const _0x2dc644=a38_0x2eee70,_0x5a7558={'QpqiR':_0x2dc644(0x19d),'lsODy':function(_0x4112cc,_0x3c49b7){return _0x4112cc+_0x3c49b7;},'xEBhz':_0x2dc644(0x1b1),'EgwgA':function(_0x4cedd8,_0x57a146,_0x405c4f){return _0x4cedd8(_0x57a146,_0x405c4f);},'MfiFU':_0x2dc644(0x1cf),'cMkOD':_0x2dc644(0x1bd),'gKgfb':function(_0x4fc14f,_0x3b0c33){return _0x4fc14f===_0x3b0c33;},'zxmyV':_0x2dc644(0x1ab),'XFEos':function(_0x47b599,_0x1ced0d){return _0x47b599(_0x1ced0d);},'ZqwiV':function(_0x2961d9,_0x8bafc3,_0x3bff35,_0x23283f){return _0x2961d9(_0x8bafc3,_0x3bff35,_0x23283f);},'wqUBl':_0x2dc644(0x1b0),'PYULK':_0x2dc644(0x1b9),'SHovc':'--env','WinQc':'inherit','SwwQV':_0x2dc644(0x1cd)};if(!_0x1a91d8[_0x2dc644(0x1a7)])return;const _0x5c01f5=_0x5a7558['EgwgA'](getUserNightwatchConfigs,_0x2e2869,_0x5410c2),_0x2f29c2={};_0x2f29c2[_0x2dc644(0x1c5)]=![];const _0x5be892={};_0x5be892[_0x2dc644(0x1a4)]=_0x5a7558[_0x2dc644(0x1c8)],_0x5be892[_0x2dc644(0x1c6)]=0x1bb;const _0x58860c={};_0x58860c[_0x2dc644(0x1b6)]=_0x2f29c2,_0x58860c[_0x2dc644(0x19b)]=_0x5be892;const _0x43d6cc=_0x58860c;logger['info'](_0x5a7558[_0x2dc644(0x1c1)]);const _0x7b015d={..._0x5c01f5},_0x483940=_0x7b015d,_0x33272b=helper[_0x2dc644(0x1d7)](_0x1a91d8['config']),_0x40ade0=[];_0x1a91d8['config']['platforms']['forEach']((_0x1d3a8b,_0x1c21fb)=>{const _0x763b70=_0x2dc644;_0x33272b?_0x40ade0[_0x763b70(0x1aa)](helper[_0x763b70(0x197)](_0x1a91d8[_0x763b70(0x1a7)],_0x5a7558[_0x763b70(0x1b7)],_0x1c21fb)):_0x40ade0['push'](helper[_0x763b70(0x19f)](_0x1a91d8['config'],_0x5a7558['QpqiR'],_0x1c21fb));});const _0x228ae8={},_0x157c28=[];_0x2e2869[_0x2dc644(0x19c)]=_0x2e2869['env']||_0x2e2869['e'];const _0x43c9d3=_0x2e2869[_0x2dc644(0x19c)]?_0x2e2869[_0x2dc644(0x19c)][_0x2dc644(0x1a3)]()[_0x2dc644(0x1ae)](',')[_0x2dc644(0x1a9)](_0x129447=>_0x129447[_0x2dc644(0x1a3)]())[_0x2dc644(0x1c2)](_0x1f9503=>_0x1f9503!==''):[''];_0x5a7558[_0x2dc644(0x1c3)](_0x43c9d3['length'],0x0)&&_0x43c9d3[_0x2dc644(0x1aa)]('');_0x43c9d3[_0x2dc644(0x1a2)](_0x13cd89=>{const _0x58eb5e=_0x2dc644,_0x5a4b93={'vCkeN':function(_0x2083b1,_0x3e0e0b){return _0x5a7558['lsODy'](_0x2083b1,_0x3e0e0b);},'JYfKK':_0x5a7558[_0x58eb5e(0x194)]};_0x40ade0[_0x58eb5e(0x1a2)](_0xee8675=>{const _0x1be268=_0x58eb5e;let _0x1f46e5=_0x5a4b93[_0x1be268(0x1a8)](helper[_0x1be268(0x1d5)](_0xee8675,'_'),'_'+Date['now']());_0x13cd89&&(_0x1f46e5+='_'+_0x13cd89);if(_0x13cd89&&(!_0x5c01f5[_0x5a4b93[_0x1be268(0x1b3)]]||!_0x5c01f5[_0x5a4b93['JYfKK']][_0x13cd89]))return;const _0x4ea162={..._0x43d6cc};_0x4ea162[_0x1be268(0x1ca)]=_0xee8675;const _0x536244=_0x4ea162;_0x228ae8[_0x1f46e5]=_0x13cd89?helper['mergeDeep'](_0x5c01f5[_0x5a4b93[_0x1be268(0x1b3)]][_0x13cd89],_0x536244):_0x536244,_0x157c28[_0x1be268(0x1aa)](_0x1f46e5);});});!_0x483940[_0x2dc644(0x1b1)]&&(_0x483940[_0x2dc644(0x1b1)]={});_0x483940[_0x2dc644(0x1b1)]={..._0x483940['test_settings'],..._0x228ae8};const _0x330d00=path[_0x2dc644(0x1db)](__dirname,_0x5a7558[_0x2dc644(0x198)]);fs['writeFileSync'](_0x330d00,JSON[_0x2dc644(0x1a0)](_0x483940)),_0x5a7558[_0x2dc644(0x1d8)](removeExistingEnvs,_0x5410c2);const _0x5cb2bb=_0x5a7558['ZqwiV'](spawn,/^win/['test'](process[_0x2dc644(0x19a)])?_0x5a7558['wqUBl']:_0x5a7558[_0x2dc644(0x1b7)],[_0x5a7558[_0x2dc644(0x1d3)],_0x330d00,..._0x5410c2[_0x2dc644(0x1d0)](0x1),_0x5a7558[_0x2dc644(0x1a6)],_0x157c28[_0x2dc644(0x1db)](',')],{'stdio':_0x5a7558['WinQc']});_0x5cb2bb['on'](_0x5a7558[_0x2dc644(0x1ba)],async _0x3ba13c=>{const _0x4392cc=_0x2dc644;logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x3ba13c),logger['info']('Deleting\x20'+_0x330d00),fs[_0x4392cc(0x1cb)](_0x330d00);});}module[a38_0x2eee70(0x1b8)]=run;function a38_0x183d(){const _0x49927a=['test_settings','oJxXw','JYfKK','findIndex','../utils/constants','webdriver','QpqiR','exports','--config','SwwQV','winstonLogger','1164OpAHAQ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','171goBuEh','isUndefined','778220YjsZUh','cMkOD','filter','gKgfb','splice','start_process','port','7174440HCsVZw','MfiFU','1417788TPnSvG','desiredCapabilities','unlinkSync','child_process','close','../../helpers/BrowserStackSetup','hub.browserstack.com','slice','3402uzIAtF','LeWAe','PYULK','NXeiI','getPlatformName','nightwatch.conf.js','useW3C','XFEos','../../helpers/helper','existsSync','join','xEBhz','1632QbnzfF','cwd','modifyBrowserStackW3CCaps','zxmyV','1369540LwMjmy','platform','selenium','env','nightwatch','--env','modifyBrowserStackCaps','stringify','path','forEach','trim','host','8855jkZuZu','SHovc','config','vCkeN','map','push','nightwatch-browserstack.json','nightwatch.json','2928838jhvijX','split','info','nightwatch.cmd'];a38_0x183d=function(){return _0x49927a;};return a38_0x183d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a39_0x52d7(_0x3f66a4,_0x1e3a14){const _0x5d8d5f=a39_0x5d8d();return a39_0x52d7=function(_0x52d727,_0x654095){_0x52d727=_0x52d727-0x1d0;let _0x3b70c9=_0x5d8d5f[_0x52d727];return _0x3b70c9;},a39_0x52d7(_0x3f66a4,_0x1e3a14);}const a39_0x9d07e0=a39_0x52d7;(function(_0x3327d3,_0x10e9bf){const _0x358afc=a39_0x52d7,_0x441bea=_0x3327d3();while(!![]){try{const _0x4c4376=parseInt(_0x358afc(0x1fe))/0x1+-parseInt(_0x358afc(0x1eb))/0x2*(parseInt(_0x358afc(0x211))/0x3)+-parseInt(_0x358afc(0x208))/0x4*(-parseInt(_0x358afc(0x23e))/0x5)+-parseInt(_0x358afc(0x210))/0x6+parseInt(_0x358afc(0x23b))/0x7*(-parseInt(_0x358afc(0x235))/0x8)+parseInt(_0x358afc(0x21a))/0x9*(-parseInt(_0x358afc(0x1d7))/0xa)+parseInt(_0x358afc(0x22b))/0xb*(parseInt(_0x358afc(0x218))/0xc);if(_0x4c4376===_0x10e9bf)break;else _0x441bea['push'](_0x441bea['shift']());}catch(_0x537636){_0x441bea['push'](_0x441bea['shift']());}}}(a39_0x5d8d,0xe3142));const util=require(a39_0x9d07e0(0x1d9)),logger=require(a39_0x9d07e0(0x214))[a39_0x9d07e0(0x200)],{isAccessibilityAutomationSession}=require(a39_0x9d07e0(0x1df)),{isUndefined,isBrowserstackInfra}=require(a39_0x9d07e0(0x1e9)),scripts=require(a39_0x9d07e0(0x1d0)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');function a39_0x5d8d(){const _0x458d22=['jZzkz','424572ZmwGoy','ilsmI','279HVnHAQ','lCDOo','executeAsyncScript','wcagVersion','ewABX','scannerProcessingTimeout','project','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','OkDWF','FwUgB','xECXh','BeGQS','FhuaU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','RXUpp','hPqAw','yjroj','1133wxnEKn','url','name','replace','Cofcw','accessibilityOptions','GeaOC','bOXrP','setAccessibilityCapabilities','error','112tRzTlm','__workerDetails','VvApz','Playwright','accessibilityOptions.wcagVersion','playwright-chromium','775005zBwAZZ','getAccessibilityResultsSummary','dLrUb','10bUKdPa','performScan','includes','KVJRI','BS_A11Y_JWT','accessibilityOptions.scannerVersion','FftUj','constructor','jgxpd','chromium','accessibilityOptions.includeIssueType.bestPractice','scannerVersion','format','browser','DrjsK','platformValidation','../../helpers/accessibility-automation/scripts','accessibilityOptions.scannerProcessingTimeout','browserStackExecuteDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','executeScript','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','583490UBjYbs','zIAZL','util','currentTest','CBFSk','accessibilityPlatform','latest','command','../../helpers/accessibility-automation/helper','bestPractice','testInfo','pEQDE','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','nnRFL','JVffz','YGFyJ','browserstack.accessibility','mpTFk','../../helpers/helper','kdtcf','44egkAlc','debug','needsReview','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','No\x20summaryResults\x20found.','bstackSdkArgs','No\x20accessibility\x20results\x20were\x20found.','Vkzka','kTtIE','dCaCw','includeIssueType','DTSGO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','bDRVH','chrome','ldfEE','parse','browserName','FbHUM','414512hzVOKP','wsEndpoint','winstonLogger','processAccessibilityCaps','warn','measureWrapper','workerInfo','connectOptions','RwxME','OlRpT','1238896DvdbTQ','browser_version','\x20page:\x20','pdpcy','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','getAccessibilityResults','njvUp','TQpZx','1930848UsRNGU','9198EJBrzg','browserStackEvaluate','Performing\x20scan\x20with\x20method:\x20','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','stringify'];a39_0x5d8d=function(){return _0x458d22;};return a39_0x5d8d();}exports[a39_0x9d07e0(0x212)]=async(_0x200ac5,_0x203c51,_0x357e6b={})=>{const _0x59b24b=a39_0x9d07e0,_0x6d1137={};_0x6d1137[_0x59b24b(0x1db)]=_0x59b24b(0x1f0);const _0x3eeadf=_0x6d1137;return await _0x200ac5['evaluate'](_0x59b24b(0x20c)+_0x203c51[_0x59b24b(0x22e)](/arguments/g,_0x3eeadf[_0x59b24b(0x1db)])+_0x59b24b(0x1d3)+JSON[_0x59b24b(0x216)](_0x357e6b)+')');},exports[a39_0x9d07e0(0x1d2)]=async(_0x51b440,_0xd23dcd,_0x3b2caf={})=>{const _0x57b2b0=a39_0x9d07e0,_0x621d6e={};_0x621d6e['jZzkz']=function(_0x168249,_0x64595d){return _0x168249===_0x64595d;},_0x621d6e['mpTFk']='WebDriver',_0x621d6e[_0x57b2b0(0x22a)]=function(_0x6a2e97,_0x4eb840){return _0x6a2e97===_0x4eb840;},_0x621d6e['RQGdP']=_0x57b2b0(0x238),_0x621d6e[_0x57b2b0(0x22f)]=_0x57b2b0(0x1f0);const _0x19b6f3=_0x621d6e;if(_0x19b6f3[_0x57b2b0(0x217)](_0x51b440[_0x57b2b0(0x245)][_0x57b2b0(0x22d)],_0x19b6f3[_0x57b2b0(0x1e8)]))return await _0x51b440[_0x57b2b0(0x21c)](_0xd23dcd,_0x3b2caf);else{if(_0x19b6f3['yjroj'](_0x51b440[_0x57b2b0(0x245)][_0x57b2b0(0x22d)],_0x19b6f3['RQGdP']))return await _0x51b440[_0x57b2b0(0x1d4)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0xd23dcd['replace'](/arguments/g,_0x19b6f3['Cofcw'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON['stringify'](_0x3b2caf)+')');}},exports[a39_0x9d07e0(0x233)]=async _0x226b85=>{const _0x436765=a39_0x9d07e0,_0x26b4b8={};_0x26b4b8[_0x436765(0x24c)]=_0x436765(0x239),_0x26b4b8[_0x436765(0x1e2)]=_0x436765(0x1d1),_0x26b4b8[_0x436765(0x225)]=_0x436765(0x248),_0x26b4b8[_0x436765(0x228)]='accessibilityOptions.includeIssueType.needsReview',_0x26b4b8[_0x436765(0x219)]='accessibilityOptions.authToken',_0x26b4b8[_0x436765(0x1f2)]=_0x436765(0x243);const _0x5137fe=_0x26b4b8;_0x226b85[_0x436765(0x230)]&&(_0x226b85[_0x436765(0x230)][_0x436765(0x21d)]&&(_0x226b85[_0x5137fe[_0x436765(0x24c)]]=_0x226b85[_0x436765(0x230)][_0x436765(0x21d)]),_0x226b85['accessibilityOptions'][_0x436765(0x21f)]&&(_0x226b85[_0x5137fe[_0x436765(0x1e2)]]=_0x226b85['accessibilityOptions'][_0x436765(0x21f)]),_0x226b85['accessibilityOptions'][_0x436765(0x1f5)]&&(_0x226b85[_0x5137fe[_0x436765(0x225)]]=_0x226b85[_0x436765(0x230)]['includeIssueType'][_0x436765(0x1e0)],_0x226b85[_0x5137fe['RXUpp']]=_0x226b85['accessibilityOptions'][_0x436765(0x1f5)][_0x436765(0x1ed)]));const _0x4f0042=JSON[_0x436765(0x1fb)](process[_0x436765(0x1d5)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x436765(0x249)];_0x226b85[_0x5137fe[_0x436765(0x219)]]=process['env'][_0x436765(0x242)],_0x226b85[_0x5137fe['Vkzka']]=_0x4f0042,delete _0x226b85['accessibilityOptions'];},exports[a39_0x9d07e0(0x20d)]=async _0xa1b86c=>{const _0x51f1df=a39_0x9d07e0,_0x4fb93f={};_0x4fb93f[_0x51f1df(0x244)]=_0x51f1df(0x1f1),_0x4fb93f[_0x51f1df(0x1e5)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x1b4db0=_0x4fb93f;if(global[_0x51f1df(0x1dc)])try{const details={'url':await _0xa1b86c.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0xa1b86c,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0xa1b86c,scripts.getResults);},{...details})();return res;}catch{return logger[_0x51f1df(0x234)](_0x1b4db0[_0x51f1df(0x244)]),[];}else return logger[_0x51f1df(0x202)](_0x1b4db0[_0x51f1df(0x1e5)]),[];},exports['performScan']=async(_0x1091ea,_0x254bc5='')=>{const _0x5f29e7=a39_0x9d07e0;logger['debug'](_0x5f29e7(0x213)+_0x254bc5+_0x5f29e7(0x20a)+_0x1091ea);const _0x259ccf={'url':await _0x1091ea[_0x5f29e7(0x22c)](),'testhub_btcer_uuid':global[_0x5f29e7(0x236)]?.['currentTest']?.['id']};if(global[_0x5f29e7(0x1dc)])return await PerformanceTester[_0x5f29e7(0x203)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x73f46a=_0x5f29e7,_0x215aa5={};_0x215aa5[_0x73f46a(0x1de)]=_0x254bc5;const _0x13f860=await exports[_0x73f46a(0x212)](_0x1091ea,scripts[_0x73f46a(0x23f)],_0x215aa5);return _0x13f860;},{'command':_0x254bc5,..._0x259ccf})();},exports[a39_0x9d07e0(0x23c)]=async _0x166f05=>{const _0x59c8f8=a39_0x9d07e0,_0x23eb63={};_0x23eb63['TQpZx']=_0x59c8f8(0x1ef),_0x23eb63[_0x59c8f8(0x1f8)]=_0x59c8f8(0x1e3);const _0x43097a=_0x23eb63;if(global[_0x59c8f8(0x1dc)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x166f05,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x166f05,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x59c8f8(0x1ec)](_0x43097a[_0x59c8f8(0x20f)]),{};}else return logger[_0x59c8f8(0x202)](_0x43097a[_0x59c8f8(0x1f8)]),{};},exports[a39_0x9d07e0(0x24d)]=async _0x20cd92=>{const _0x18e247=a39_0x9d07e0,_0x41509d={'VvApz':function(_0x1c1e40,_0xd75db5){return _0x1c1e40!==_0xd75db5;},'hPqAw':_0x18e247(0x215),'IXsFq':_0x18e247(0x1f9),'DTSGO':_0x18e247(0x23a),'dLrUb':_0x18e247(0x247),'nnRFL':_0x18e247(0x1f7),'ewABX':function(_0x2e2a83,_0xa1159f){return _0x2e2a83(_0xa1159f);},'dCaCw':function(_0x141860){return _0x141860();},'ldfEE':function(_0x3cb87f,_0x199454){return _0x3cb87f<_0x199454;},'OlRpT':_0x18e247(0x1d6),'RwxME':function(_0x364ea6,_0x40061a){return _0x364ea6===_0x40061a;},'FhuaU':_0x18e247(0x1dd),'jgxpd':function(_0x5a7b24,_0x51c5c2){return _0x5a7b24>_0x51c5c2;},'FwUgB':_0x18e247(0x227)};try{if(!_0x41509d[_0x18e247(0x237)](_0x20cd92['deviceName'],''))return logger[_0x18e247(0x202)](_0x41509d[_0x18e247(0x229)]),![];const _0x530cfb=_0x20cd92[_0x18e247(0x24b)];if(![_0x41509d['IXsFq'],_0x41509d[_0x18e247(0x1f6)],_0x41509d[_0x18e247(0x23d)]][_0x18e247(0x240)](_0x530cfb))return logger[_0x18e247(0x202)](_0x41509d[_0x18e247(0x1e4)]),![];const _0x35536d=_0x41509d[_0x18e247(0x21e)](parseInt,_0x20cd92[_0x18e247(0x209)]);!_0x41509d[_0x18e247(0x1f4)](isBrowserstackInfra)&&(!_0x41509d[_0x18e247(0x1fa)](_0x35536d,0x64)&&logger[_0x18e247(0x202)](_0x41509d[_0x18e247(0x207)]));if(!(_0x41509d[_0x18e247(0x206)](_0x35536d,_0x41509d[_0x18e247(0x226)])||_0x41509d[_0x18e247(0x246)](_0x35536d,0x5e)))return logger[_0x18e247(0x202)](_0x41509d[_0x18e247(0x223)]),![];}catch(_0x1bbfc6){logger['debug'](_0x18e247(0x221)+util['format'](_0x1bbfc6));}return!![];},exports[a39_0x9d07e0(0x201)]=(_0x2985df,_0x92b41f,_0x24c53b)=>{const _0x841106=a39_0x9d07e0,_0x2ff296={'njvUp':function(_0x47670a){return _0x47670a();},'GeaOC':_0x841106(0x1e7),'xECXh':function(_0x57a5ed,_0x3e65be){return _0x57a5ed===_0x3e65be;},'gGuHN':_0x841106(0x1f9),'zIAZL':_0x841106(0x23a),'YGFyJ':_0x841106(0x1f7),'RIDbw':function(_0x3bea31){return _0x3bea31();},'bOXrP':function(_0x4e2b33,_0x257b0c){return _0x4e2b33>_0x257b0c;},'kdtcf':_0x841106(0x1d6),'kTtIE':function(_0x46cbf2,_0x3d380c){return _0x46cbf2===_0x3d380c;},'OkDWF':_0x841106(0x1dd),'KVJRI':_0x841106(0x227),'pdpcy':function(_0x251afe,_0x2bc722){return _0x251afe(_0x2bc722);},'lCDOo':_0x841106(0x215),'FbHUM':function(_0x2c56bc,_0x24476f){return _0x2c56bc+_0x24476f;}};try{if(_0x2ff296[_0x841106(0x20e)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x2985df[_0x2ff296[_0x841106(0x231)]]&&(global[_0x841106(0x1dc)]=![]);!(_0x2ff296[_0x841106(0x224)](_0x2985df['browserName'],_0x2ff296['gGuHN'])||_0x2ff296[_0x841106(0x224)](_0x2985df[_0x841106(0x1fc)],_0x2ff296['zIAZL'])||_0x2ff296[_0x841106(0x224)](_0x2985df['browser'],_0x2ff296['gGuHN'])||_0x2ff296[_0x841106(0x224)](_0x2985df[_0x841106(0x24b)],_0x2ff296[_0x841106(0x1d8)]))&&(logger[_0x841106(0x202)](_0x2ff296[_0x841106(0x1e6)]),global[_0x841106(0x1dc)]=![]);!_0x2ff296['RIDbw'](isBrowserstackInfra)&&(!_0x2ff296[_0x841106(0x232)](_0x2985df[_0x841106(0x209)],0x64)&&logger['warn'](_0x2ff296[_0x841106(0x1ea)]));!(_0x2ff296[_0x841106(0x1f3)](_0x2985df[_0x841106(0x209)],_0x2ff296[_0x841106(0x222)])||_0x2ff296['bOXrP'](_0x2985df['browser_version'],0x5e))&&(logger[_0x841106(0x202)](_0x2ff296[_0x841106(0x241)]),global['accessibilityPlatform']=![]);!_0x2ff296[_0x841106(0x20b)](isUndefined,_0x2985df['deviceName'])&&(logger[_0x841106(0x202)](_0x2ff296[_0x841106(0x21b)]),global[_0x841106(0x1dc)]=![]);if(!global['accessibilityPlatform']){_0x2985df[_0x2ff296[_0x841106(0x231)]]=![];const _0x5d8ac9=_0x2ff296[_0x841106(0x1fd)](_0x92b41f,_0x2ff296[_0x841106(0x20b)](encodeURIComponent,JSON[_0x841106(0x216)](_0x2985df)));_0x24c53b&&(_0x24c53b[_0x841106(0x1da)][_0x841106(0x1e1)][_0x841106(0x220)]['use'][_0x841106(0x205)][_0x841106(0x1ff)]=_0x5d8ac9,_0x24c53b[_0x841106(0x204)][_0x841106(0x220)]['use']['connectOptions']['wsEndpoint']=_0x5d8ac9);}}else global[_0x841106(0x1dc)]=![];}catch(_0x18564a){logger[_0x841106(0x1ec)](_0x841106(0x1ee)+util[_0x841106(0x24a)](_0x18564a));}};
|
|
1
|
+
function a39_0x340e(_0x2ae50d,_0x2fa01a){const _0x19cfd9=a39_0x19cf();return a39_0x340e=function(_0x340e72,_0x2d1693){_0x340e72=_0x340e72-0xad;let _0x3d35db=_0x19cfd9[_0x340e72];return _0x3d35db;},a39_0x340e(_0x2ae50d,_0x2fa01a);}const a39_0x5676fa=a39_0x340e;(function(_0x66c61e,_0x38f301){const _0x741e38=a39_0x340e,_0x1bbbe1=_0x66c61e();while(!![]){try{const _0x6e62a9=-parseInt(_0x741e38(0xe7))/0x1*(parseInt(_0x741e38(0xd4))/0x2)+parseInt(_0x741e38(0xf0))/0x3*(-parseInt(_0x741e38(0xef))/0x4)+parseInt(_0x741e38(0xc0))/0x5+-parseInt(_0x741e38(0xec))/0x6+-parseInt(_0x741e38(0x114))/0x7*(parseInt(_0x741e38(0xda))/0x8)+parseInt(_0x741e38(0xd7))/0x9+parseInt(_0x741e38(0x10e))/0xa;if(_0x6e62a9===_0x38f301)break;else _0x1bbbe1['push'](_0x1bbbe1['shift']());}catch(_0x34a0e7){_0x1bbbe1['push'](_0x1bbbe1['shift']());}}}(a39_0x19cf,0x8024a));const util=require(a39_0x5676fa(0x119)),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require(a39_0x5676fa(0xdd)),{isUndefined,isBrowserstackInfra}=require(a39_0x5676fa(0x11d)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a39_0x5676fa(0x105));function a39_0x19cf(){const _0x4e5302=['vlIkY','chromium','ksPeI','warn','wcagVersion','accessibilityOptions.scannerVersion','bqHFl','scannerVersion','tLiOQ','workerInfo','replace','../../helpers/performance/constants','aqHsp','kaPba','bHLpD','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ZHqgb','kNYHf','__workerDetails','WebDriver','9605450hWZCgH','processAccessibilityCaps','SyIJR','performScan','EmivG','measureWrapper','21NNwsEp','env','deviceName','TyXvp','connectOptions','util','accessibilityOptions.authToken','accessibilityOptions.includeIssueType.needsReview','pXlbD','../../helpers/helper','browserstack.accessibility','url','accessibilityOptions.wcagVersion','No\x20summaryResults\x20found.','evaluate','RaQxp','executeAsyncScript','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','command','pEskD','accessibilityOptions.includeIssueType.bestPractice','format','PERFORM_SCAN','DoVgz','ruSlO','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','fbMwE','browser','name','accessibilityOptions','lmsxx','elAvp','stringify','2332650IfzgFE','hmOuf','NlEsR','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Playwright','woxXy','chrome','KBYAR','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','sKukX','VjJoS','platformValidation','project','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','constructor','rwmJq','includeIssueType','scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','1996qpwSVX','FyJlI','browserName','4850154dWBxDu','setAccessibilityCapabilities','VbTAf','588496ILyFrg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kKKbP','../../helpers/accessibility-automation/helper','BS_A11Y_JWT','MgQkL','latest','Iahjj','dXQRq','browser_version','No\x20accessibility\x20results\x20were\x20found.','PRHau','playwright-chromium','187PKcGJi','\x20page:\x20','bestPractice','debug','WayiU','2244966wlTXXO','accessibilityPlatform','wivcD','2676qBYRAs','2958UVymDm','KCjBE','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','getAccessibilityResults','mCKeB','includes','bstackSdkArgs','Performing\x20scan\x20with\x20method:\x20','uGmtb','use'];a39_0x19cf=function(){return _0x4e5302;};return a39_0x19cf();}exports['browserStackEvaluate']=async(_0x3591e6,_0x82651c,_0x1e63cb={})=>{const _0xa0c17e=a39_0x5676fa,_0x14d736={};_0x14d736[_0xa0c17e(0x11c)]='bstackSdkArgs';const _0x48770d=_0x14d736;return await _0x3591e6[_0xa0c17e(0x122)](_0xa0c17e(0xaf)+_0x82651c[_0xa0c17e(0x104)](/arguments/g,_0x48770d[_0xa0c17e(0x11c)])+_0xa0c17e(0xb7)+JSON['stringify'](_0x1e63cb)+')');},exports['browserStackExecuteDriver']=async(_0x414e84,_0x4f8971,_0x216ad2={})=>{const _0x30943c=a39_0x5676fa,_0x6fb540={};_0x6fb540['NlEsR']=function(_0x3d25b7,_0x6ef9f0){return _0x3d25b7===_0x6ef9f0;},_0x6fb540[_0x30943c(0xd9)]=_0x30943c(0x10d),_0x6fb540[_0x30943c(0xbd)]=_0x30943c(0xc5),_0x6fb540[_0x30943c(0xd5)]=_0x30943c(0xf6);const _0x13b319=_0x6fb540;if(_0x13b319[_0x30943c(0xc2)](_0x414e84[_0x30943c(0xcf)][_0x30943c(0xbb)],_0x13b319[_0x30943c(0xd9)]))return await _0x414e84[_0x30943c(0xae)](_0x4f8971,_0x216ad2);else{if(_0x13b319[_0x30943c(0xc2)](_0x414e84[_0x30943c(0xcf)][_0x30943c(0xbb)],_0x13b319[_0x30943c(0xbd)]))return await _0x414e84['executeScript'](_0x30943c(0xf2)+_0x4f8971[_0x30943c(0x104)](/arguments/g,_0x13b319['FyJlI'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x30943c(0xbf)](_0x216ad2)+')');}},exports[a39_0x5676fa(0xd8)]=async _0x47f3bf=>{const _0x37f647=a39_0x5676fa,_0x2f0af4={};_0x2f0af4[_0x37f647(0x110)]=_0x37f647(0x120),_0x2f0af4['dXQRq']=_0x37f647(0xb8),_0x2f0af4[_0x37f647(0xfa)]=_0x37f647(0xb2),_0x2f0af4['ruSlO']=_0x37f647(0x11b),_0x2f0af4['pJJgJ']=_0x37f647(0x11a),_0x2f0af4['kaPba']=_0x37f647(0xff);const _0x2d4909=_0x2f0af4;_0x47f3bf[_0x37f647(0xbc)]&&(_0x47f3bf['accessibilityOptions']['wcagVersion']&&(_0x47f3bf[_0x2d4909[_0x37f647(0x110)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xfe)]),_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd2)]&&(_0x47f3bf[_0x2d4909[_0x37f647(0xe2)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd2)]),_0x47f3bf[_0x37f647(0xbc)]['includeIssueType']&&(_0x47f3bf[_0x2d4909[_0x37f647(0xfa)]]=_0x47f3bf[_0x37f647(0xbc)][_0x37f647(0xd1)][_0x37f647(0xe9)],_0x47f3bf[_0x2d4909[_0x37f647(0xb6)]]=_0x47f3bf[_0x37f647(0xbc)]['includeIssueType']['needsReview']));const _0x12bfe5=JSON['parse'](process[_0x37f647(0x115)][_0x37f647(0xc3)])[_0x37f647(0x101)];_0x47f3bf[_0x2d4909['pJJgJ']]=process[_0x37f647(0x115)][_0x37f647(0xde)],_0x47f3bf[_0x2d4909[_0x37f647(0x107)]]=_0x12bfe5,delete _0x47f3bf[_0x37f647(0xbc)];},exports[a39_0x5676fa(0xf3)]=async _0x5b78e3=>{const _0x20e0f3=a39_0x5676fa,_0xe43e3={};_0xe43e3[_0x20e0f3(0xeb)]=_0x20e0f3(0xe4),_0xe43e3[_0x20e0f3(0xdf)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x233496=_0xe43e3;if(global[_0x20e0f3(0xed)])try{const details={'url':await _0x5b78e3.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x5b78e3,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x5b78e3,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x233496[_0x20e0f3(0xeb)]),[];}else return logger[_0x20e0f3(0xfd)](_0x233496[_0x20e0f3(0xdf)]),[];},exports[a39_0x5676fa(0x111)]=async(_0x1c68bc,_0x4f504a='')=>{const _0x59123e=a39_0x5676fa;logger[_0x59123e(0xea)](_0x59123e(0xf7)+_0x4f504a+_0x59123e(0xe8)+_0x1c68bc);const _0x5babdb={'url':await _0x1c68bc[_0x59123e(0x11f)](),'testhub_btcer_uuid':global[_0x59123e(0x10c)]?.['currentTest']?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x59123e(0x113)](PerformanceA11yEvents[_0x59123e(0xb4)],async()=>{const _0x3f8a93=_0x59123e,_0x1099c0={};_0x1099c0[_0x3f8a93(0xb0)]=_0x4f504a;const _0x2ec0b0=await exports['browserStackEvaluate'](_0x1c68bc,scripts[_0x3f8a93(0x111)],_0x1099c0);return _0x2ec0b0;},{'command':_0x4f504a,..._0x5babdb})();},exports['getAccessibilityResultsSummary']=async _0x2eedd4=>{const _0x566dec=a39_0x5676fa,_0x25c09f={};_0x25c09f[_0x566dec(0xbe)]=_0x566dec(0x121),_0x25c09f['zqbVl']=_0x566dec(0x109);const _0x1e872c=_0x25c09f;if(global[_0x566dec(0xed)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2eedd4,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2eedd4,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x1e872c[_0x566dec(0xbe)]),{};}else return logger[_0x566dec(0xfd)](_0x1e872c['zqbVl']),{};},exports[a39_0x5676fa(0xcc)]=async _0x1ec901=>{const _0x3a62c8=a39_0x5676fa,_0x218b7c={'rwmJq':function(_0x3d6137,_0x94aa2){return _0x3d6137!==_0x94aa2;},'vSIFs':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','kKKbP':'chrome','Iahjj':'playwright-chromium','aqHsp':_0x3a62c8(0xfb),'TyXvp':_0x3a62c8(0xc9),'hmOuf':function(_0x3d84bc,_0x17451b){return _0x3d84bc(_0x17451b);},'eGdsu':function(_0x1661a0){return _0x1661a0();},'tLiOQ':function(_0x5e3d60,_0x568840){return _0x5e3d60<_0x568840;},'sqoDM':_0x3a62c8(0xd3),'qnbOY':function(_0x170938,_0x2cec4b){return _0x170938===_0x2cec4b;},'EmivG':_0x3a62c8(0xe0),'tjxQh':function(_0xf3b97,_0x265fe0){return _0xf3b97>_0x265fe0;},'bHLpD':_0x3a62c8(0xc4)};try{if(!_0x218b7c[_0x3a62c8(0xd0)](_0x1ec901[_0x3a62c8(0x116)],''))return logger[_0x3a62c8(0xfd)](_0x218b7c['vSIFs']),![];const _0x826866=_0x1ec901[_0x3a62c8(0xba)];if(![_0x218b7c[_0x3a62c8(0xdc)],_0x218b7c[_0x3a62c8(0xe1)],_0x218b7c[_0x3a62c8(0x106)]][_0x3a62c8(0xf5)](_0x826866))return logger['warn'](_0x218b7c[_0x3a62c8(0x117)]),![];const _0x18f510=_0x218b7c[_0x3a62c8(0xc1)](parseInt,_0x1ec901['browser_version']);!_0x218b7c['eGdsu'](isBrowserstackInfra)&&(!_0x218b7c[_0x3a62c8(0x102)](_0x18f510,0x64)&&logger[_0x3a62c8(0xfd)](_0x218b7c['sqoDM']));if(!(_0x218b7c['qnbOY'](_0x18f510,_0x218b7c[_0x3a62c8(0x112)])||_0x218b7c['tjxQh'](_0x18f510,0x5e)))return logger[_0x3a62c8(0xfd)](_0x218b7c[_0x3a62c8(0x108)]),![];}catch(_0x3cadc8){logger[_0x3a62c8(0xea)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x3a62c8(0xb3)](_0x3cadc8));}return!![];},exports[a39_0x5676fa(0x10f)]=(_0x35db52,_0x2c10e6,_0x205e1b)=>{const _0x246f81=a39_0x5676fa,_0x268726={'VjJoS':function(_0x1b62b0){return _0x1b62b0();},'fbMwE':_0x246f81(0x11e),'mZvCV':function(_0x2ddf7c,_0x5446e1){return _0x2ddf7c===_0x5446e1;},'sKukX':_0x246f81(0xc7),'vyLSs':function(_0x4fa2b4,_0x5deb4a){return _0x4fa2b4===_0x5deb4a;},'uGmtb':_0x246f81(0xe6),'KBYAR':function(_0x1d0037,_0x1da612){return _0x1d0037===_0x1da612;},'woxXy':function(_0x508633,_0x533a49){return _0x508633===_0x533a49;},'jjwxx':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','RaQxp':function(_0x59e793){return _0x59e793();},'DoVgz':function(_0x5044a6,_0x3cc166){return _0x5044a6>_0x3cc166;},'wivcD':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','bqHFl':function(_0x4c1861,_0x2f3b72){return _0x4c1861===_0x2f3b72;},'kNYHf':_0x246f81(0xe0),'ksPeI':function(_0x18863a,_0x2a0751){return _0x18863a>_0x2a0751;},'PRHau':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ZHqgb':function(_0x507ab4,_0x500f2c){return _0x507ab4(_0x500f2c);},'pEskD':_0x246f81(0xdb),'mCKeB':function(_0x2db294,_0x1f79bc){return _0x2db294+_0x1f79bc;},'KCjBE':function(_0x5721e2,_0x10f7a0){return _0x5721e2(_0x10f7a0);}};try{if(_0x268726[_0x246f81(0xcb)](isAccessibilityAutomationSession)){global[_0x246f81(0xed)]=!![];!_0x35db52[_0x268726[_0x246f81(0xb9)]]&&(global[_0x246f81(0xed)]=![]);!(_0x268726['mZvCV'](_0x35db52[_0x246f81(0xd6)],_0x268726[_0x246f81(0xca)])||_0x268726['vyLSs'](_0x35db52[_0x246f81(0xd6)],_0x268726[_0x246f81(0xf8)])||_0x268726[_0x246f81(0xc8)](_0x35db52['browser'],_0x268726[_0x246f81(0xca)])||_0x268726[_0x246f81(0xc6)](_0x35db52[_0x246f81(0xba)],_0x268726['uGmtb']))&&(logger['warn'](_0x268726['jjwxx']),global[_0x246f81(0xed)]=![]);!_0x268726[_0x246f81(0xad)](isBrowserstackInfra)&&(!_0x268726[_0x246f81(0xb5)](_0x35db52[_0x246f81(0xe3)],0x64)&&logger[_0x246f81(0xfd)](_0x268726[_0x246f81(0xee)]));!(_0x268726[_0x246f81(0x100)](_0x35db52[_0x246f81(0xe3)],_0x268726[_0x246f81(0x10b)])||_0x268726[_0x246f81(0xfc)](_0x35db52[_0x246f81(0xe3)],0x5e))&&(logger['warn'](_0x268726[_0x246f81(0xe5)]),global[_0x246f81(0xed)]=![]);!_0x268726[_0x246f81(0x10a)](isUndefined,_0x35db52[_0x246f81(0x116)])&&(logger[_0x246f81(0xfd)](_0x268726[_0x246f81(0xb1)]),global[_0x246f81(0xed)]=![]);if(!global[_0x246f81(0xed)]){_0x35db52[_0x268726[_0x246f81(0xb9)]]=![];const _0x35acc9=_0x268726[_0x246f81(0xf4)](_0x2c10e6,_0x268726[_0x246f81(0xf1)](encodeURIComponent,JSON[_0x246f81(0xbf)](_0x35db52)));_0x205e1b&&(_0x205e1b['currentTest']['testInfo'][_0x246f81(0xcd)][_0x246f81(0xf9)][_0x246f81(0x118)]['wsEndpoint']=_0x35acc9,_0x205e1b[_0x246f81(0x103)]['project']['use'][_0x246f81(0x118)]['wsEndpoint']=_0x35acc9);}}else global[_0x246f81(0xed)]=![];}catch(_0x827394){logger['debug'](_0x246f81(0xce)+util['format'](_0x827394));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a40_0xb8b1(){const _0x3650e3=['info','oGDyd','--config=','testContextOptions','sfpTq','GGXce','YDSga','clearTempPWConfig','child_process','unlinkSync','../v2/browserstackCLI','cwd','writeFileSync','BROWSERSTACK_RERUN_TESTS','readFileSync','resolvedConfigFile','BROWSERSTACK_PW_CONFIG_DIR','getInstance','setBrowserstackConfig','YWGFy','VyzYR','590913FJCTdO','apply','browserstackAutomation','isUndefined','QvIel','RuVLK','dGkgA','jaHse','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/logger','875539cEBKuY','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','winstonLogger','Updated\x20config\x20file\x20name\x20to\x20-\x20','exitCode','PACKAGE_TYPE','../v2/cliUtils','../../helpers/BrowserStackSetup','sdUIN','fGqTl','validateRerunTestList','SDK_POST_INITIALIZE','../../helpers/testhub/testhubHandler','eKuWC','nestedKeyValue','win32','trim','GFcMP','skipSessionName','pw_result.json','297576CGBIqD','split','BROWSERSTACK_TEST_ACCESSIBILITY_YML','length','skipSessionStatus','CdfmD','test','cliConfig','exports','./reporter/pwUtils','yRMnM','stop','playwright','EZwfy','testObservability','4767444lbcBvC','Error\x20in\x20closing\x20playwright','SDK_SETUP','WmqTI','VytEa','getConfig','zdEVC','zpPJU','playwright-browserstack-sdk.config.cjs','../../helpers/helper','BROWSERSTACK_AUTOMATION','../utils/constants','.browserstack','Playwright\x20process\x20exited\x20with\x20code\x20','end','ptfxc','isRunning','error','Deleting\x20','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','resolve','homedir','qozWT','30lFfALD','config','debug','MmXZf','ZvPBT','automation','readdirSync','aksqh','cLAla','MODULE','isTypescriptProject','trace_','Uijjk','../../helpers/performance/performance-tester','--grep','splice','existsSync','898520DFJiSI','false','../v2/TestInfo','Error\x20in\x20getting\x20funnel\x20data\x20results','sSeaf','SDK_PRE_INITIALIZE','getProxyUrl','util','PQGiD','Error\x20in\x20deleting\x20playwright\x20results','env','oQymh','BROWSERSTACK_SETUP_CONFIG_PATH','getPackageType','Tpsaq','../../helpers/performance/constants','playwright-browserstack-sdk.config.js','launchBuild','close','isFalse','platform','getNoProxy','push','dirname','../../helpers/accessibility-automation/helper','true','ZrrLl','stringify','inherit','startsWith','EypnZ','xjXUo','accessibility','parse','308776MSmSsU','iXapB','requirePWModule','path','accessibilityOptions','1505cEUdUU','PLAYWRIGHT','BROWSERSTACK_TEST_OBSERVABILITY','7unyBgm','./accessibility-helper','14272OwFhHR','--disable-test-observability','filter','BrowserStack\x20config\x20file\x20not\x20found.','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','npx','--disable-browserstack-automation','TeLtk','measureWrapper','teAWy','serializeToYamlString','isTrue','EVENTS','join','inrey','Proxy\x20url\x20:\x20','ctgVw','rOMPM','cDkDv'];a40_0xb8b1=function(){return _0x3650e3;};return a40_0xb8b1();}const a40_0x3c702b=a40_0x265c;(function(_0x283394,_0xd553c1){const _0x126c63=a40_0x265c,_0x5f21a0=_0x283394();while(!![]){try{const _0x40101e=parseInt(_0x126c63(0x15e))/0x1+-parseInt(_0x126c63(0x1a9))/0x2+parseInt(_0x126c63(0x172))/0x3+parseInt(_0x126c63(0x1d5))/0x4*(parseInt(_0x126c63(0x1d0))/0x5)+-parseInt(_0x126c63(0x181))/0x6+-parseInt(_0x126c63(0x1d3))/0x7*(parseInt(_0x126c63(0x1cb))/0x8)+-parseInt(_0x126c63(0x154))/0x9*(parseInt(_0x126c63(0x198))/0xa);if(_0x40101e===_0xd553c1)break;else _0x5f21a0['push'](_0x5f21a0['shift']());}catch(_0x27cee6){_0x5f21a0['push'](_0x5f21a0['shift']());}}}(a40_0xb8b1,0x8afd1));const fs=require('fs'),path=require(a40_0x3c702b(0x1ce)),{spawn}=require(a40_0x3c702b(0x1f0)),{format}=require(a40_0x3c702b(0x1b0)),logger=require(a40_0x3c702b(0x15d))[a40_0x3c702b(0x160)],{default:BrowserStackSetup}=require(a40_0x3c702b(0x165)),helper=require(a40_0x3c702b(0x18a)),utilities=require('../../helpers/utilities'),constants=require(a40_0x3c702b(0x18c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a40_0x3c702b(0x17b)),{checkAccessibilityPlatformConfig}=require(a40_0x3c702b(0x1c1)),{setAccessibilityCapabilities}=require(a40_0x3c702b(0x1d4)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a40_0x3c702b(0x16a)),PerformanceTester=require(a40_0x3c702b(0x1a5)),BrowserstackCLI=require(a40_0x3c702b(0x149)),PerformanceEvents=require(a40_0x3c702b(0x1b8))[a40_0x3c702b(0x1e1)],CLIUtils=require(a40_0x3c702b(0x164)),TestInfo=require(a40_0x3c702b(0x1ab)),getUserPlaywrightConfig=async(_0x22ba9b,_0x4c4600)=>{const _0x522d9b=a40_0x3c702b,_0x5d1fe7={'GGXce':function(_0x391436){return _0x391436();},'oGDyd':function(_0x3b7912,_0x3924d7){return _0x3b7912(_0x3924d7);},'zdEVC':function(_0x50cab3,_0x566df7){return _0x50cab3(_0x566df7);},'teAWy':_0x522d9b(0x14e),'iXapB':_0x522d9b(0x1ea)},_0xec7f52=!helper[_0x522d9b(0x157)](_0x22ba9b[_0x522d9b(0x199)]),_0x470473=_0xec7f52?path[_0x522d9b(0x195)](process[_0x522d9b(0x14a)](),_0x22ba9b[_0x522d9b(0x199)]):process['cwd'](),{resolveConfigFile:_0x525861,resolveConfigLocation:_0x16d364}=helper[_0x522d9b(0x1cd)][_0x522d9b(0x155)](null,_0x5d1fe7[_0x522d9b(0x1ed)](getConfigLoaderPath)),_0x5bdc6a=_0x525861?_0x5d1fe7[_0x522d9b(0x1e9)](_0x525861,_0x470473):helper[_0x522d9b(0x16c)](_0x5d1fe7[_0x522d9b(0x187)](_0x16d364,_0x470473),[_0x5d1fe7[_0x522d9b(0x1de)]]),_0x5e4c83={};if(_0xec7f52){const _0x8ec163=_0x4c4600['findIndex'](_0xaaa9bf=>_0xaaa9bf==='--config'||_0xaaa9bf==='-c'||_0xaaa9bf['startsWith']('--config='));_0x4c4600[_0x522d9b(0x1a7)](_0x8ec163,_0x4c4600[_0x8ec163][_0x522d9b(0x1c6)](_0x5d1fe7[_0x522d9b(0x1cc)])?0x1:0x2);}const _0x14a099={};return _0x14a099['path']=_0x5bdc6a,_0x14a099[_0x522d9b(0x199)]=_0x5e4c83,_0x14a099;},handleO11yRerun=_0x3b869b=>{const _0x2953f3=a40_0x3c702b,_0x14d6e3={};_0x14d6e3[_0x2953f3(0x188)]=_0x2953f3(0x1a6);const _0x82e655=_0x14d6e3,_0x335d5e=helper[_0x2953f3(0x1e0)](process[_0x2953f3(0x1b3)]['BROWSERSTACK_RERUN']);if(_0x335d5e){const _0x23fafd=process['env'][_0x2953f3(0x14c)],_0x414871=[];if(helper[_0x2953f3(0x168)](_0x23fafd)&&!helper['isUndefined'](_0x23fafd)){_0x23fafd[_0x2953f3(0x173)](',')['map'](_0x15e6c7=>{const _0x1f3526=_0x2953f3;_0x414871[_0x1f3526(0x1bf)]('('+_0x15e6c7[_0x1f3526(0x16e)]()+')');});const _0x2adaed='^'+_0x414871[_0x2953f3(0x1e2)]('|')+'$';_0x3b869b[_0x2953f3(0x1bf)](_0x82e655[_0x2953f3(0x188)],_0x2adaed);}}},spawnOriginalProcess=_0x8e12ed=>{const _0x437227=a40_0x3c702b,_0xb77911={'ZTfZo':function(_0x541a02,_0x1989bd,_0x380408,_0xba87f1){return _0x541a02(_0x1989bd,_0x380408,_0xba87f1);},'aksqh':_0x437227(0x1da),'ZrrLl':_0x437227(0x17e),'HrVyP':function(_0x21e185,_0x4b394c){return _0x21e185===_0x4b394c;},'qozWT':_0x437227(0x16d),'Gwsei':_0x437227(0x1c5)};_0xb77911['ZTfZo'](spawn,_0xb77911[_0x437227(0x19f)],[_0xb77911[_0x437227(0x1c3)],..._0x8e12ed['slice'](0x1)],{'shell':_0xb77911['HrVyP'](process[_0x437227(0x1bd)],_0xb77911[_0x437227(0x197)]),'stdio':_0xb77911['Gwsei'],'cwd':process[_0x437227(0x14a)]()});},isTestCommand=(_0x239dae,_0x2cf3fb)=>{const _0x16cecb=a40_0x3c702b,_0x2e402a={};_0x2e402a[_0x16cecb(0x1b4)]=function(_0x10bc1d,_0x285039){return _0x10bc1d>_0x285039;},_0x2e402a[_0x16cecb(0x19b)]=function(_0x272529,_0xea05af){return _0x272529===_0xea05af;},_0x2e402a[_0x16cecb(0x1e3)]=_0x16cecb(0x178);const _0x5b0a15=_0x2e402a;if(_0x5b0a15[_0x16cecb(0x1b4)](_0x2cf3fb[_0x16cecb(0x175)],0x1)&&_0x5b0a15[_0x16cecb(0x19b)](_0x2cf3fb[0x1],_0x5b0a15[_0x16cecb(0x1e3)]))return!![];return![];};function a40_0x265c(_0x6db2cc,_0x3f73b0){const _0xb8b15a=a40_0xb8b1();return a40_0x265c=function(_0x265c3a,_0x12741a){_0x265c3a=_0x265c3a-0x148;let _0x546330=_0xb8b15a[_0x265c3a];return _0x546330;},a40_0x265c(_0x6db2cc,_0x3f73b0);}async function run(_0x1c9fcf,_0x17ec74,_0x599e5b){const _0x1de924=a40_0x3c702b,_0x50bc9a={'ZvPBT':_0x1de924(0x18d),'sSeaf':function(_0x379dbb){return _0x379dbb();},'vcrRx':function(_0x3ccd71){return _0x3ccd71();},'EypnZ':function(_0x2c2406,_0x40a200){return _0x2c2406+_0x40a200;},'YDSga':_0x1de924(0x182),'YWGFy':function(_0x9512e4,_0x46b8c7){return _0x9512e4(_0x46b8c7);},'GFcMP':_0x1de924(0x171),'yRMnM':function(_0x84b38c,_0x47c6bd){return _0x84b38c+_0x47c6bd;},'cLAla':_0x1de924(0x1ac),'jaHse':_0x1de924(0x1d8),'ctgVw':function(_0x6aa843,_0x194bd6){return _0x6aa843===_0x194bd6;},'fGqTl':_0x1de924(0x1aa),'WmqTI':_0x1de924(0x1d6),'WWQil':function(_0x1e695d,_0x4801bb){return _0x1e695d>=_0x4801bb;},'Uijjk':_0x1de924(0x19d),'CdfmD':function(_0xf1d49e,_0x552e7b){return _0xf1d49e!=_0x552e7b;},'sfpTq':function(_0x4cd778,_0x2d29a9,_0x1641de){return _0x4cd778(_0x2d29a9,_0x1641de);},'qGgvo':function(_0x8e2f67,_0x1209bf){return _0x8e2f67(_0x1209bf);},'HSRZc':_0x1de924(0x1c2),'VytEa':'browserstackSetupConfig.json','KSCmC':_0x1de924(0x189),'TeLtk':_0x1de924(0x1b9),'rOMPM':function(_0x1b0d6d,_0x4c6552){return _0x1b0d6d-_0x4c6552;},'cDkDv':_0x1de924(0x161),'azrEH':function(_0xb6727,_0x31acf4){return _0xb6727>_0x31acf4;},'YJuOA':function(_0x1a1a30,_0x26d9da,_0x439641,_0x400a2c){return _0x1a1a30(_0x26d9da,_0x439641,_0x400a2c);},'EZwfy':_0x1de924(0x1da),'PQGiD':_0x1de924(0x17e),'uZjQh':_0x1de924(0x178),'BVOrt':'--config','QvIel':function(_0x4c1664,_0x562697){return _0x4c1664===_0x562697;},'BEqXI':_0x1de924(0x16d),'ptfxc':_0x1de924(0x1c5),'LiVlc':_0x1de924(0x1bb),'Tpsaq':function(_0x8ecf1,_0xc0256d){return _0x8ecf1+_0xc0256d;},'gxNoX':_0x1de924(0x1b2),'dGkgA':function(_0x30f1a4,_0x5869de,_0x4f2bc8){return _0x30f1a4(_0x5869de,_0x4f2bc8);},'xjXUo':function(_0x306cbe,_0x5b35c2){return _0x306cbe(_0x5b35c2);}};try{const _0x89aa9d=path['join'](helper[_0x1de924(0x196)](),_0x50bc9a[_0x1de924(0x19c)],_0x50bc9a[_0x1de924(0x16f)]);fs[_0x1de924(0x1a8)](_0x89aa9d)&&fs[_0x1de924(0x148)](_0x89aa9d);}catch(_0xa0b57){logger[_0x1de924(0x19a)](_0x50bc9a[_0x1de924(0x1b7)](_0x50bc9a['gxNoX'],_0xa0b57));}if(!_0x50bc9a[_0x1de924(0x15a)](isTestCommand,_0x1c9fcf,_0x17ec74)){_0x50bc9a[_0x1de924(0x1c8)](spawnOriginalProcess,_0x17ec74);return;}await PerformanceTester[_0x1de924(0x1dd)](PerformanceEvents[_0x1de924(0x1ae)],async()=>{const _0x12d0f6=_0x1de924,_0xa6d338={'RuVLK':function(_0x19da59,_0x36a029){const _0x39e4a4=a40_0x265c;return _0x50bc9a[_0x39e4a4(0x152)](_0x19da59,_0x36a029);},'sdUIN':_0x50bc9a[_0x12d0f6(0x19c)],'AqwUo':_0x50bc9a[_0x12d0f6(0x16f)],'sLkdF':function(_0x480941,_0x56ba77){const _0x4e5407=_0x12d0f6;return _0x50bc9a[_0x4e5407(0x17c)](_0x480941,_0x56ba77);},'eKuWC':_0x50bc9a[_0x12d0f6(0x1a0)]};if(!_0x599e5b[_0x12d0f6(0x199)]){logger[_0x12d0f6(0x192)](_0x50bc9a[_0x12d0f6(0x15b)]);return;}await _0x599e5b['initialize'](_0x1c9fcf),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x12d0f6(0x1d1)],FRAMEWORKS[_0x12d0f6(0x1d1)]),BrowserstackCLI[_0x12d0f6(0x150)]()[_0x12d0f6(0x151)](_0x599e5b[_0x12d0f6(0x199)],_0x599e5b['cliConfig']),await BrowserstackCLI['getInstance']()['bootstrap']();const _0x3d76bf=BrowserstackCLI[_0x12d0f6(0x150)]()[_0x12d0f6(0x186)]();!helper[_0x12d0f6(0x1bc)](_0x3d76bf[_0x12d0f6(0x156)])&&(process[_0x12d0f6(0x1b3)][_0x12d0f6(0x18b)]=!![]);_0x50bc9a[_0x12d0f6(0x1e5)](_0x3d76bf[_0x12d0f6(0x156)],![])&&(process['env'][_0x12d0f6(0x18b)]=_0x50bc9a[_0x12d0f6(0x167)],_0x17ec74=_0x17ec74[_0x12d0f6(0x1d7)](_0x189733=>_0x189733!==_0x12d0f6(0x1db)));const _0x3da4a1=_0x17ec74['indexOf'](_0x50bc9a[_0x12d0f6(0x184)]);(_0x50bc9a['WWQil'](_0x3da4a1,0x0)||_0x50bc9a[_0x12d0f6(0x1e5)](_0x3d76bf[_0x12d0f6(0x180)],![]))&&(process[_0x12d0f6(0x1b3)][_0x12d0f6(0x1d2)]=_0x50bc9a[_0x12d0f6(0x167)],_0x17ec74=_0x17ec74[_0x12d0f6(0x1d7)](_0x4679da=>_0x4679da!==_0x12d0f6(0x1d6)));!helper[_0x12d0f6(0x157)](_0x599e5b[_0x12d0f6(0x179)])&&_0x599e5b[_0x12d0f6(0x179)]['has'](_0x50bc9a[_0x12d0f6(0x1a4)])&&(process[_0x12d0f6(0x1b3)][_0x12d0f6(0x18b)]=_0x599e5b['cliConfig']['get'](_0x50bc9a[_0x12d0f6(0x1a4)])||!![]);_0x50bc9a[_0x12d0f6(0x177)](_0x599e5b[_0x12d0f6(0x199)][_0x12d0f6(0x180)],null)&&!helper['isTrue'](process[_0x12d0f6(0x1b3)][_0x12d0f6(0x1d2)])&&(process[_0x12d0f6(0x1b3)][_0x12d0f6(0x1d2)]=process[_0x12d0f6(0x1b3)][_0x12d0f6(0x1d2)]||_0x599e5b[_0x12d0f6(0x199)]['testObservability']);const _0x434b8f=!helper[_0x12d0f6(0x1bc)](process[_0x12d0f6(0x1b3)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x599e5b[_0x12d0f6(0x199)][_0x12d0f6(0x1cf)]&&(process[_0x12d0f6(0x1b3)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x12d0f6(0x1c4)](_0x599e5b['config'][_0x12d0f6(0x1cf)]));let _0x5b7edf=![];_0x599e5b[_0x12d0f6(0x199)][_0x12d0f6(0x1c9)]&&(_0x5b7edf=!![],process[_0x12d0f6(0x1b3)][_0x12d0f6(0x174)]=_0x599e5b[_0x12d0f6(0x199)]['accessibility']);const _0x163ce=_0x17ec74['concat'](),_0x47dcd6=await _0x50bc9a[_0x12d0f6(0x1ec)](getUserPlaywrightConfig,_0x1c9fcf,_0x17ec74);if(helper[_0x12d0f6(0x157)](_0x47dcd6)){_0x50bc9a['qGgvo'](spawnOriginalProcess,_0x163ce);return;}const _0x3d01b1=_0x47dcd6['path']?path[_0x12d0f6(0x1c0)](_0x47dcd6[_0x12d0f6(0x1ce)]):process[_0x12d0f6(0x14a)]();process['env'][_0x12d0f6(0x14f)]=_0x3d01b1,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x12d0f6(0x169)],async()=>{const _0x4093d0=_0x12d0f6;!BrowserstackCLI[_0x4093d0(0x150)]()['isRunning']()&&await TestHubHandler[_0x4093d0(0x1ba)](FRAMEWORKS[_0x4093d0(0x1d1)],_0x599e5b),_0x434b8f&&_0xa6d338[_0x4093d0(0x159)](handleO11yRerun,_0x17ec74);})();if(!BrowserstackCLI[_0x12d0f6(0x150)]()[_0x12d0f6(0x191)]()){let _0x750e3b=_0x50bc9a[_0x12d0f6(0x1e5)](process[_0x12d0f6(0x1b3)][_0x12d0f6(0x174)],_0x50bc9a['HSRZc']);_0x750e3b=_0x750e3b||_0x50bc9a['YWGFy'](checkAccessibilityPlatformConfig,_0x599e5b[_0x12d0f6(0x199)]),process['env'][_0x12d0f6(0x174)]=_0x750e3b,_0x750e3b&&_0x50bc9a['qGgvo'](setAccessibilityCapabilities,_0x599e5b[_0x12d0f6(0x199)]);}const _0xab1dcf=path[_0x12d0f6(0x1e2)](_0x47dcd6['path']?path[_0x12d0f6(0x1c0)](_0x47dcd6[_0x12d0f6(0x1ce)]):process[_0x12d0f6(0x14a)](),_0x50bc9a[_0x12d0f6(0x185)]);fs['writeFileSync'](_0xab1dcf,helper[_0x12d0f6(0x1df)](_0x599e5b[_0x12d0f6(0x199)])),process[_0x12d0f6(0x1b3)][_0x12d0f6(0x1b5)]=_0xab1dcf,helper[_0x12d0f6(0x1ef)]();let _0x4b0bf7='';_0x50bc9a['ctgVw'](helper[_0x12d0f6(0x1b6)](),constants[_0x12d0f6(0x163)][_0x12d0f6(0x1a1)])?_0x4b0bf7=_0x50bc9a['KSCmC']:_0x4b0bf7=_0x50bc9a[_0x12d0f6(0x1dc)];let _0x49c009='';if(helper[_0x12d0f6(0x1a2)](_0x47dcd6[_0x12d0f6(0x1ce)])){_0x49c009='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x55b5e7=_0x4b0bf7[_0x12d0f6(0x173)]('.');_0x55b5e7[_0x50bc9a[_0x12d0f6(0x1e6)](_0x55b5e7[_0x12d0f6(0x175)],0x1)]='ts',_0x4b0bf7=_0x55b5e7[_0x12d0f6(0x1e2)]('.'),logger['debug'](_0x50bc9a[_0x12d0f6(0x17c)](_0x50bc9a[_0x12d0f6(0x1e7)],_0x4b0bf7));}else _0x49c009=_0x12d0f6(0x15f);const _0x11aa81=path['join'](_0x47dcd6['path']?path[_0x12d0f6(0x1c0)](_0x47dcd6[_0x12d0f6(0x1ce)]):process[_0x12d0f6(0x14a)](),_0x4b0bf7);let _0x198ad3=_0x47dcd6[_0x12d0f6(0x1ce)]?_0x47dcd6[_0x12d0f6(0x1ce)]:'';_0x198ad3=_0x50bc9a['azrEH'](_0x198ad3[_0x12d0f6(0x175)],0x0)?path['resolve'](_0x198ad3):'',process[_0x12d0f6(0x1b3)]['USER_CONFIG_DETAILS_PATH']=_0x198ad3;const _0x2c62dc=helper[_0x12d0f6(0x1af)](_0x599e5b[_0x12d0f6(0x199)]),_0x103641=helper[_0x12d0f6(0x1be)](_0x599e5b[_0x12d0f6(0x199)]);logger['debug'](_0x12d0f6(0x1e4)+_0x2c62dc),logger['debug']('No\x20Proxy\x20:\x20'+_0x103641);_0x2c62dc&&(_0x49c009=_0x50bc9a[_0x12d0f6(0x1c7)](_0x12d0f6(0x194)+_0x2c62dc+_0x12d0f6(0x1d9)+_0x103641+_0x12d0f6(0x15c),_0x49c009));helper['filterBrowserstackArgs']({},_0x17ec74),fs[_0x12d0f6(0x14b)](_0x11aa81,_0x49c009),PerformanceTester[_0x12d0f6(0x18f)](PerformanceEvents[_0x12d0f6(0x183)]);const _0x1c1088=_0x50bc9a['YJuOA'](spawn,_0x50bc9a[_0x12d0f6(0x17f)],[_0x50bc9a[_0x12d0f6(0x1b1)],_0x50bc9a['uZjQh'],_0x50bc9a['BVOrt'],_0x11aa81,..._0x17ec74['slice'](0x2)],{'shell':_0x50bc9a[_0x12d0f6(0x158)](process[_0x12d0f6(0x1bd)],_0x50bc9a['BEqXI']),'stdio':_0x50bc9a[_0x12d0f6(0x190)],'cwd':process['cwd'](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x1c9fcf),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x599e5b[_0x12d0f6(0x199)][_0x12d0f6(0x1eb)][_0x12d0f6(0x176)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x599e5b[_0x12d0f6(0x199)][_0x12d0f6(0x1eb)][_0x12d0f6(0x170)],'BROWSERSTACK_LOG_LEVEL':_0x599e5b['config']['logLevel']})}),_0x45b05f=()=>{const _0x4a3e30=_0x12d0f6;try{const _0x58dfaa=path['join'](helper['homedir'](),_0xa6d338[_0x4a3e30(0x166)],_0xa6d338['AqwUo']);if(fs['existsSync'](_0x58dfaa)){let _0x208f6e=fs[_0x4a3e30(0x14d)](_0x58dfaa);_0x208f6e=JSON[_0x4a3e30(0x1ca)](_0x208f6e),_0x599e5b['errorMessage']=_0x208f6e,fs[_0x4a3e30(0x148)](_0x58dfaa);}}catch(_0x17ef3c){logger['debug'](_0xa6d338['sLkdF'](_0xa6d338[_0x4a3e30(0x16b)],_0x17ef3c));}};_0x1c1088['on'](_0x50bc9a['LiVlc'],async _0x10f268=>{const _0x2677d9=_0x12d0f6,_0x45aeea={};_0x45aeea[_0x2677d9(0x153)]=_0x50bc9a[_0x2677d9(0x19c)];const _0x1127c3=_0x45aeea;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x50bc9a[_0x2677d9(0x1ad)](_0x45b05f),await TestHubHandler[_0x2677d9(0x17d)](),await BrowserstackCLI[_0x2677d9(0x150)]()['stop'](),TestDetails['shutdown'](),_0x50bc9a['vcrRx'](printBuildLink),await utilities['finalExecution'](_0x599e5b),process[_0x2677d9(0x162)]=_0x10f268,logger[_0x2677d9(0x19a)](_0x2677d9(0x18e)+_0x10f268),logger[_0x2677d9(0x1e8)](_0x2677d9(0x193)+_0x11aa81),fs[_0x2677d9(0x148)](_0x11aa81);fs[_0x2677d9(0x1a8)](_0xab1dcf)&&(logger['debug'](_0x2677d9(0x193)+_0xab1dcf),fs['unlinkSync'](_0xab1dcf));const _0xfeea39=fs[_0x2677d9(0x19e)](path[_0x2677d9(0x1e2)](helper[_0x2677d9(0x196)](),_0x50bc9a[_0x2677d9(0x19c)]))['filter'](_0x3d958b=>_0x3d958b[_0x2677d9(0x1c6)](_0x2677d9(0x1a3)));_0xfeea39['forEach'](_0x30fa8e=>{const _0x34d19e=_0x2677d9;fs['unlinkSync'](path[_0x34d19e(0x1e2)](helper[_0x34d19e(0x196)](),_0x1127c3['VyzYR'],_0x30fa8e));});}catch(_0x2f29f7){logger['debug'](_0x50bc9a[_0x2677d9(0x1c7)](_0x50bc9a[_0x2677d9(0x1ee)],_0x2f29f7));}});})();}module[a40_0x3c702b(0x17a)]=run;
|
|
2
|
+
'use strict';const a40_0xb09d58=a40_0x52fb;(function(_0x1b4c8f,_0x35ecc4){const _0x1f732d=a40_0x52fb,_0x4ec13e=_0x1b4c8f();while(!![]){try{const _0x1a15c8=-parseInt(_0x1f732d(0x11e))/0x1*(parseInt(_0x1f732d(0xab))/0x2)+-parseInt(_0x1f732d(0xa9))/0x3+parseInt(_0x1f732d(0x8c))/0x4*(-parseInt(_0x1f732d(0x103))/0x5)+-parseInt(_0x1f732d(0x126))/0x6*(-parseInt(_0x1f732d(0xbd))/0x7)+parseInt(_0x1f732d(0xf9))/0x8*(-parseInt(_0x1f732d(0x80))/0x9)+-parseInt(_0x1f732d(0xa7))/0xa*(parseInt(_0x1f732d(0xa1))/0xb)+parseInt(_0x1f732d(0xa5))/0xc*(parseInt(_0x1f732d(0x88))/0xd);if(_0x1a15c8===_0x35ecc4)break;else _0x4ec13e['push'](_0x4ec13e['shift']());}catch(_0x554eeb){_0x4ec13e['push'](_0x4ec13e['shift']());}}}(a40_0x5003,0xca536));const fs=require('fs'),path=require('path'),{spawn}=require(a40_0xb09d58(0x113)),{format}=require('util'),logger=require('../../helpers/logger')[a40_0xb09d58(0x109)],{default:BrowserStackSetup}=require(a40_0xb09d58(0xc5)),helper=require('../../helpers/helper'),utilities=require(a40_0xb09d58(0xd7)),constants=require(a40_0xb09d58(0x12a)),{FRAMEWORKS}=require(a40_0xb09d58(0xeb)),{getConfigLoaderPath}=require(a40_0xb09d58(0x112)),{checkAccessibilityPlatformConfig}=require(a40_0xb09d58(0x118)),{setAccessibilityCapabilities}=require(a40_0xb09d58(0x9e)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a40_0xb09d58(0xa6)),TestHubHandler=require(a40_0xb09d58(0x8b)),PerformanceTester=require(a40_0xb09d58(0xb6)),BrowserstackCLI=require(a40_0xb09d58(0xb4)),PerformanceEvents=require('../../helpers/performance/constants')[a40_0xb09d58(0x125)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),getUserPlaywrightConfig=async(_0x6913d,_0x28e992)=>{const _0x3eaa26=a40_0xb09d58,_0x56eea4={'rFfMA':function(_0x1074aa){return _0x1074aa();},'xakgO':function(_0x3c9b66,_0x446c86){return _0x3c9b66(_0x446c86);},'DiwDx':function(_0x385be6,_0x1ec965){return _0x385be6(_0x1ec965);},'BbEym':_0x3eaa26(0x10d),'gQYWY':_0x3eaa26(0xfa)},_0x1a6926=!helper[_0x3eaa26(0xb5)](_0x6913d['config']),_0x180762=_0x1a6926?path['resolve'](process['cwd'](),_0x6913d['config']):process[_0x3eaa26(0xdf)](),{resolveConfigFile:_0x162675,resolveConfigLocation:_0x4c8bbf}=helper[_0x3eaa26(0x102)][_0x3eaa26(0xe6)](null,_0x56eea4[_0x3eaa26(0xa2)](getConfigLoaderPath)),_0x5e77cf=_0x162675?_0x56eea4['xakgO'](_0x162675,_0x180762):helper[_0x3eaa26(0xd9)](_0x56eea4[_0x3eaa26(0x96)](_0x4c8bbf,_0x180762),[_0x56eea4['BbEym']]),_0x1d323b={};if(_0x1a6926){const _0x20baf0=_0x28e992[_0x3eaa26(0xed)](_0xa9dbeb=>_0xa9dbeb===_0x3eaa26(0xde)||_0xa9dbeb==='-c'||_0xa9dbeb[_0x3eaa26(0xfd)](_0x3eaa26(0xfa)));_0x28e992[_0x3eaa26(0xcc)](_0x20baf0,_0x28e992[_0x20baf0]['startsWith'](_0x56eea4[_0x3eaa26(0x85)])?0x1:0x2);}const _0x54b47c={};return _0x54b47c[_0x3eaa26(0xc4)]=_0x5e77cf,_0x54b47c[_0x3eaa26(0xc1)]=_0x1d323b,_0x54b47c;},handleO11yRerun=_0x43f6db=>{const _0x16c27c=a40_0xb09d58,_0x3f06da={};_0x3f06da[_0x16c27c(0x11f)]=_0x16c27c(0x11b);const _0x155854=_0x3f06da,_0x12387d=helper[_0x16c27c(0x9d)](process['env'][_0x16c27c(0x122)]);if(_0x12387d){const _0x679980=process['env'][_0x16c27c(0xb7)],_0x136e99=[];if(helper[_0x16c27c(0xd0)](_0x679980)&&!helper[_0x16c27c(0xb5)](_0x679980)){_0x679980[_0x16c27c(0xb8)](',')[_0x16c27c(0xfe)](_0x33e150=>{const _0x4eb029=_0x16c27c;_0x136e99[_0x4eb029(0x8d)]('('+_0x33e150[_0x4eb029(0xd5)]()+')');});const _0x302216='^'+_0x136e99['join']('|')+'$';_0x43f6db[_0x16c27c(0x8d)](_0x155854[_0x16c27c(0x11f)],_0x302216);}}},spawnOriginalProcess=_0x36848c=>{const _0x52fc3f=a40_0xb09d58,_0x2f9e41={'weEjx':function(_0x29f5cf,_0x26615d,_0x3f29ba,_0x1e47bb){return _0x29f5cf(_0x26615d,_0x3f29ba,_0x1e47bb);},'CkqYG':_0x52fc3f(0xc6),'XUDEQ':_0x52fc3f(0x9c),'SnySN':function(_0x6ad848,_0x19dece){return _0x6ad848===_0x19dece;},'IfSLp':_0x52fc3f(0x12f),'KDqya':_0x52fc3f(0xdb)};_0x2f9e41[_0x52fc3f(0x123)](spawn,_0x2f9e41['CkqYG'],[_0x2f9e41[_0x52fc3f(0xda)],..._0x36848c[_0x52fc3f(0xb3)](0x1)],{'shell':_0x2f9e41['SnySN'](process['platform'],_0x2f9e41['IfSLp']),'stdio':_0x2f9e41[_0x52fc3f(0xcf)],'cwd':process['cwd']()});},isTestCommand=(_0x278a83,_0xb0a6ca)=>{const _0x575e04=a40_0xb09d58,_0x3b497e={};_0x3b497e[_0x575e04(0xc0)]=function(_0x120409,_0x7896e1){return _0x120409>_0x7896e1;},_0x3b497e[_0x575e04(0xcb)]=function(_0x2973ef,_0x4c1287){return _0x2973ef===_0x4c1287;},_0x3b497e[_0x575e04(0x10e)]=_0x575e04(0x10c);const _0x38b6b9=_0x3b497e;if(_0x38b6b9[_0x575e04(0xc0)](_0xb0a6ca[_0x575e04(0x128)],0x1)&&_0x38b6b9[_0x575e04(0xcb)](_0xb0a6ca[0x1],_0x38b6b9['mMHfb']))return!![];return![];};function a40_0x52fb(_0x44e976,_0x31c754){const _0x50032e=a40_0x5003();return a40_0x52fb=function(_0x52fb7a,_0x23f60e){_0x52fb7a=_0x52fb7a-0x80;let _0x2995fb=_0x50032e[_0x52fb7a];return _0x2995fb;},a40_0x52fb(_0x44e976,_0x31c754);}async function run(_0x4e92ed,_0x4b0192,_0xd1c7b){const _0x285ee3=a40_0xb09d58,_0x5e9447={'bFIVZ':function(_0x51558d,_0x5c61b8){return _0x51558d(_0x5c61b8);},'vXhqd':_0x285ee3(0x104),'kGGfz':_0x285ee3(0x114),'ufJpQ':function(_0x4eb99d,_0xe90e00){return _0x4eb99d+_0xe90e00;},'UAGAO':_0x285ee3(0xe8),'ZybMn':function(_0x2597d1){return _0x2597d1();},'zjFjy':function(_0x2e7b33,_0x11c39d){return _0x2e7b33+_0x11c39d;},'LJevl':'Error\x20in\x20closing\x20playwright','AvDCV':_0x285ee3(0xff),'nJElm':function(_0x72b469,_0x4122e3){return _0x72b469===_0x4122e3;},'fVBmY':_0x285ee3(0x87),'jfgEZ':_0x285ee3(0x81),'miTLo':function(_0x1a88fa,_0x53e8a5){return _0x1a88fa>=_0x53e8a5;},'XJtOe':_0x285ee3(0xc2),'jGWAZ':function(_0x946e3c,_0x23a25c){return _0x946e3c!=_0x23a25c;},'mZjKS':function(_0x1d18c8,_0x42f585,_0xdbc91c){return _0x1d18c8(_0x42f585,_0xdbc91c);},'SBDYT':function(_0x331371,_0x57fd7d){return _0x331371===_0x57fd7d;},'yKGBj':_0x285ee3(0xd3),'IwHfr':function(_0x43b90d,_0xd7149e){return _0x43b90d(_0xd7149e);},'QsOZE':function(_0x5eef64,_0x3c8a86){return _0x5eef64(_0x3c8a86);},'DSyuP':_0x285ee3(0x91),'dlSrW':function(_0x1b928b,_0x334983){return _0x1b928b===_0x334983;},'ZKRXJ':_0x285ee3(0xb2),'ZOQMn':_0x285ee3(0xe1),'Hqjtg':function(_0x538bf5,_0x1306b8){return _0x538bf5-_0x1306b8;},'VUCyi':function(_0x65c58a,_0x2ddcc5){return _0x65c58a+_0x2ddcc5;},'kXyRl':_0x285ee3(0xdc),'jctdZ':function(_0x5da938,_0x1b9027){return _0x5da938>_0x1b9027;},'bpSVg':function(_0x1eed27,_0x1cde24){return _0x1eed27+_0x1cde24;},'izzWV':function(_0x113729,_0x4e4e8d,_0x5a0f6e,_0x30acd3){return _0x113729(_0x4e4e8d,_0x5a0f6e,_0x30acd3);},'BuPhG':'npx','FpMTy':_0x285ee3(0x9c),'wNzwu':_0x285ee3(0x10c),'HquGN':_0x285ee3(0xde),'LeAoe':_0x285ee3(0x12f),'lnUYc':_0x285ee3(0xdb),'gpsTK':_0x285ee3(0x127),'ClSTL':_0x285ee3(0xbe),'jJZWn':function(_0xe40a09,_0x1a6984,_0x18b774){return _0xe40a09(_0x1a6984,_0x18b774);}};try{const _0xe5e346=path[_0x285ee3(0xcd)](helper[_0x285ee3(0xf8)](),_0x5e9447[_0x285ee3(0xf4)],_0x5e9447[_0x285ee3(0xea)]);fs[_0x285ee3(0x97)](_0xe5e346)&&fs[_0x285ee3(0x94)](_0xe5e346);}catch(_0x55314d){logger[_0x285ee3(0xc9)](_0x5e9447['zjFjy'](_0x5e9447[_0x285ee3(0x115)],_0x55314d));}if(!_0x5e9447[_0x285ee3(0x12c)](isTestCommand,_0x4e92ed,_0x4b0192)){_0x5e9447[_0x285ee3(0xf3)](spawnOriginalProcess,_0x4b0192);return;}await PerformanceTester['measureWrapper'](PerformanceEvents[_0x285ee3(0xdd)],async()=>{const _0x5d64eb=_0x285ee3,_0x180bac={'WRXid':_0x5e9447[_0x5d64eb(0xf4)],'Csnne':function(_0x3e0559){const _0x5cfc92=_0x5d64eb;return _0x5e9447[_0x5cfc92(0x130)](_0x3e0559);},'RILVS':function(_0x3550c0){const _0x1a2d13=_0x5d64eb;return _0x5e9447[_0x1a2d13(0x130)](_0x3550c0);},'dsHfe':function(_0x670aed,_0x2dec7e){const _0x35a909=_0x5d64eb;return _0x5e9447[_0x35a909(0xac)](_0x670aed,_0x2dec7e);},'ounYz':_0x5e9447['LJevl']};if(!_0xd1c7b[_0x5d64eb(0xc1)]){logger[_0x5d64eb(0xf7)](_0x5e9447['AvDCV']);return;}await _0xd1c7b[_0x5d64eb(0xf5)](_0x4e92ed),CLIUtils[_0x5d64eb(0xba)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x5d64eb(0x12d)]),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0xd1c7b[_0x5d64eb(0xc1)],_0xd1c7b['cliConfig']),await BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0x105)]();const _0x5b3d83=BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0xe4)]();!helper[_0x5d64eb(0xee)](_0x5b3d83['browserstackAutomation'])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x5e9447[_0x5d64eb(0xad)](_0x5b3d83[_0x5d64eb(0xbb)],![])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xca)]=_0x5e9447[_0x5d64eb(0xe3)],_0x4b0192=_0x4b0192['filter'](_0x2cf628=>_0x2cf628!=='--disable-browserstack-automation'));const _0x266987=_0x4b0192[_0x5d64eb(0x8e)](_0x5e9447[_0x5d64eb(0xb0)]);(_0x5e9447['miTLo'](_0x266987,0x0)||_0x5e9447[_0x5d64eb(0xad)](_0x5b3d83[_0x5d64eb(0x89)],![]))&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]=_0x5e9447[_0x5d64eb(0xe3)],_0x4b0192=_0x4b0192[_0x5d64eb(0xc8)](_0x4ef8f1=>_0x4ef8f1!=='--disable-test-observability'));!helper[_0x5d64eb(0xb5)](_0xd1c7b['cliConfig'])&&_0xd1c7b[_0x5d64eb(0xf6)][_0x5d64eb(0x11d)](_0x5e9447[_0x5d64eb(0x108)])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xca)]=_0xd1c7b['cliConfig']['get'](_0x5e9447[_0x5d64eb(0x108)])||!![]);_0x5e9447[_0x5d64eb(0xa0)](_0xd1c7b[_0x5d64eb(0xc1)]['testObservability'],null)&&!helper[_0x5d64eb(0x9d)](process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)])&&(process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]=process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]||_0xd1c7b[_0x5d64eb(0xc1)]['testObservability']);const _0x3cfb20=!helper[_0x5d64eb(0xee)](process[_0x5d64eb(0x106)][_0x5d64eb(0xd6)]);_0xd1c7b['config'][_0x5d64eb(0xb1)]&&(process['env'][_0x5d64eb(0x12b)]=JSON[_0x5d64eb(0x116)](_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0xb1)]));let _0x391704=![];_0xd1c7b['config'][_0x5d64eb(0x111)]&&(_0x391704=!![],process[_0x5d64eb(0x106)][_0x5d64eb(0x110)]=_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0x111)]);const _0xe56c9c=_0x4b0192[_0x5d64eb(0xec)](),_0x6d2af8=await _0x5e9447[_0x5d64eb(0xe5)](getUserPlaywrightConfig,_0x4e92ed,_0x4b0192);if(helper['isUndefined'](_0x6d2af8)){_0x5e9447['bFIVZ'](spawnOriginalProcess,_0xe56c9c);return;}const _0x4caf35=_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8[_0x5d64eb(0xc4)]):process[_0x5d64eb(0xdf)]();process[_0x5d64eb(0x106)][_0x5d64eb(0x98)]=_0x4caf35,await PerformanceTester[_0x5d64eb(0x93)](PerformanceEvents[_0x5d64eb(0x11a)],async()=>{const _0x4cbc93=_0x5d64eb;!BrowserstackCLI['getInstance']()[_0x4cbc93(0x99)]()&&await TestHubHandler[_0x4cbc93(0xa8)](FRAMEWORKS['PLAYWRIGHT'],_0xd1c7b),_0x3cfb20&&_0x5e9447[_0x4cbc93(0xd4)](handleO11yRerun,_0x4b0192);})();if(!BrowserstackCLI[_0x5d64eb(0x117)]()[_0x5d64eb(0x99)]()){let _0x3fbfaf=_0x5e9447[_0x5d64eb(0xe9)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5e9447[_0x5d64eb(0xe7)]);_0x3fbfaf=_0x3fbfaf||_0x5e9447['IwHfr'](checkAccessibilityPlatformConfig,_0xd1c7b[_0x5d64eb(0xc1)]),process[_0x5d64eb(0x106)][_0x5d64eb(0x110)]=_0x3fbfaf,_0x3fbfaf&&_0x5e9447[_0x5d64eb(0xe2)](setAccessibilityCapabilities,_0xd1c7b[_0x5d64eb(0xc1)]);}const _0x1edc31=path[_0x5d64eb(0xcd)](_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8['path']):process[_0x5d64eb(0xdf)](),_0x5e9447[_0x5d64eb(0x8a)]);fs[_0x5d64eb(0xa3)](_0x1edc31,helper['serializeToYamlString'](_0xd1c7b[_0x5d64eb(0xc1)])),process[_0x5d64eb(0x106)][_0x5d64eb(0xfc)]=_0x1edc31,helper['clearTempPWConfig']();let _0x4bd01b='';_0x5e9447[_0x5d64eb(0x120)](helper[_0x5d64eb(0xa4)](),constants['PACKAGE_TYPE'][_0x5d64eb(0x95)])?_0x4bd01b=_0x5e9447['ZKRXJ']:_0x4bd01b=_0x5e9447['ZOQMn'];let _0x104379='';if(helper[_0x5d64eb(0xef)](_0x6d2af8['path'])){_0x104379=_0x5d64eb(0xc3);const _0x35d444=_0x4bd01b[_0x5d64eb(0xb8)]('.');_0x35d444[_0x5e9447['Hqjtg'](_0x35d444[_0x5d64eb(0x128)],0x1)]='ts',_0x4bd01b=_0x35d444['join']('.'),logger[_0x5d64eb(0xc9)](_0x5e9447['VUCyi'](_0x5e9447['kXyRl'],_0x4bd01b));}else _0x104379=_0x5d64eb(0xf0);const _0x3b6965=path[_0x5d64eb(0xcd)](_0x6d2af8[_0x5d64eb(0xc4)]?path[_0x5d64eb(0x12e)](_0x6d2af8[_0x5d64eb(0xc4)]):process[_0x5d64eb(0xdf)](),_0x4bd01b);let _0x3889fe=_0x6d2af8[_0x5d64eb(0xc4)]?_0x6d2af8['path']:'';_0x3889fe=_0x5e9447[_0x5d64eb(0xd8)](_0x3889fe[_0x5d64eb(0x128)],0x0)?path['resolve'](_0x3889fe):'',process[_0x5d64eb(0x106)][_0x5d64eb(0x92)]=_0x3889fe;const _0x1a1537=helper[_0x5d64eb(0xaf)](_0xd1c7b[_0x5d64eb(0xc1)]),_0x5cdeff=helper[_0x5d64eb(0x101)](_0xd1c7b['config']);logger[_0x5d64eb(0xc9)](_0x5d64eb(0x86)+_0x1a1537),logger[_0x5d64eb(0xc9)](_0x5d64eb(0xae)+_0x5cdeff);_0x1a1537&&(_0x104379=_0x5e9447['bpSVg']('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x1a1537+_0x5d64eb(0xb9)+_0x5cdeff+_0x5d64eb(0x8f),_0x104379));helper[_0x5d64eb(0xbf)]({},_0x4b0192),fs[_0x5d64eb(0xa3)](_0x3b6965,_0x104379),PerformanceTester[_0x5d64eb(0xaa)](PerformanceEvents[_0x5d64eb(0x100)]);const _0x2b59eb=_0x5e9447[_0x5d64eb(0x10f)](spawn,_0x5e9447['BuPhG'],[_0x5e9447['FpMTy'],_0x5e9447['wNzwu'],_0x5e9447[_0x5d64eb(0x107)],_0x3b6965,..._0x4b0192[_0x5d64eb(0xb3)](0x2)],{'shell':_0x5e9447[_0x5d64eb(0xad)](process['platform'],_0x5e9447[_0x5d64eb(0xd1)]),'stdio':_0x5e9447['lnUYc'],'cwd':process[_0x5d64eb(0xdf)](),'env':Object[_0x5d64eb(0x119)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5d64eb(0x9f)](_0x4e92ed),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xd1c7b[_0x5d64eb(0xc1)][_0x5d64eb(0xce)][_0x5d64eb(0x129)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xd1c7b[_0x5d64eb(0xc1)]['testContextOptions']['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xd1c7b['config'][_0x5d64eb(0x121)]})}),_0x4bd5f2=()=>{const _0x169fce=_0x5d64eb;try{const _0x52e861=path[_0x169fce(0xcd)](helper['homedir'](),_0x5e9447['vXhqd'],_0x5e9447['kGGfz']);if(fs[_0x169fce(0x97)](_0x52e861)){let _0x20bc16=fs[_0x169fce(0xf1)](_0x52e861);_0x20bc16=JSON[_0x169fce(0x10a)](_0x20bc16),_0xd1c7b[_0x169fce(0x9a)]=_0x20bc16,fs['unlinkSync'](_0x52e861);}}catch(_0x1f7bed){logger[_0x169fce(0xc9)](_0x5e9447[_0x169fce(0x83)](_0x5e9447['UAGAO'],_0x1f7bed));}};_0x2b59eb['on'](_0x5e9447['gpsTK'],async _0x1017c5=>{const _0xaba5b4=_0x5d64eb,_0xe5a9be={};_0xe5a9be[_0xaba5b4(0x84)]=_0x180bac[_0xaba5b4(0x90)];const _0x517675=_0xe5a9be;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x180bac[_0xaba5b4(0x9b)](_0x4bd5f2),await TestHubHandler[_0xaba5b4(0x124)](),await BrowserstackCLI[_0xaba5b4(0x117)]()['stop'](),TestDetails[_0xaba5b4(0x82)](),_0x180bac[_0xaba5b4(0xd2)](printBuildLink),await utilities['finalExecution'](_0xd1c7b),process['exitCode']=_0x1017c5,logger[_0xaba5b4(0xc9)](_0xaba5b4(0xc7)+_0x1017c5),logger[_0xaba5b4(0xfb)](_0xaba5b4(0x11c)+_0x3b6965),fs[_0xaba5b4(0x94)](_0x3b6965);fs[_0xaba5b4(0x97)](_0x1edc31)&&(logger['debug'](_0xaba5b4(0x11c)+_0x1edc31),fs[_0xaba5b4(0x94)](_0x1edc31));const _0x598a6f=fs['readdirSync'](path['join'](helper[_0xaba5b4(0xf8)](),_0x180bac[_0xaba5b4(0x90)]))[_0xaba5b4(0xc8)](_0x549b97=>_0x549b97[_0xaba5b4(0xfd)](_0xaba5b4(0xe0)));_0x598a6f[_0xaba5b4(0xbc)](_0x481521=>{const _0x405340=_0xaba5b4;fs[_0x405340(0x94)](path[_0x405340(0xcd)](helper[_0x405340(0xf8)](),_0x517675[_0x405340(0x84)],_0x481521));});}catch(_0x1ca1e5){logger[_0xaba5b4(0xc9)](_0x180bac[_0xaba5b4(0xf2)](_0x180bac['ounYz'],_0x1ca1e5));}});})();}module[a40_0xb09d58(0x10b)]=run;function a40_0x5003(){const _0x386017=['\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','WRXid','browserstackSetupConfig.json','USER_CONFIG_DETAILS_PATH','measureWrapper','unlinkSync','MODULE','DiwDx','existsSync','BROWSERSTACK_PW_CONFIG_DIR','isRunning','errorMessage','Csnne','playwright','isTrue','./accessibility-helper','getConfigPath','jGWAZ','11iWTjWD','rFfMA','writeFileSync','getPackageType','3288SAypKM','./reporter/test-details','3626630xGKFAm','launchBuild','3945060iMWoJE','end','806HDiUlK','zjFjy','nJElm','No\x20Proxy\x20:\x20','getProxyUrl','jfgEZ','accessibilityOptions','playwright-browserstack-sdk.config.cjs','slice','../v2/browserstackCLI','isUndefined','../../helpers/performance/performance-tester','BROWSERSTACK_RERUN_TESTS','split','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','setFrameworkDetail','browserstackAutomation','forEach','14bXRYID','Error\x20in\x20deleting\x20playwright\x20results','filterBrowserstackArgs','gaTYd','config','automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','path','../../helpers/BrowserStackSetup','npx','Playwright\x20process\x20exited\x20with\x20code\x20','filter','debug','BROWSERSTACK_AUTOMATION','ZYgdZ','splice','join','testContextOptions','KDqya','validateRerunTestList','LeAoe','RILVS','true','bFIVZ','trim','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/utilities','jctdZ','nestedKeyValue','XUDEQ','inherit','Updated\x20config\x20file\x20name\x20to\x20-\x20','SDK_PRE_INITIALIZE','--config','cwd','trace_','playwright-browserstack-sdk.config.js','QsOZE','fVBmY','getConfig','mZjKS','apply','yKGBj','Error\x20in\x20getting\x20funnel\x20data\x20results','SBDYT','kGGfz','../../helpers/test-observability/constants','concat','findIndex','isFalse','isTypescriptProject','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','readFileSync','dsHfe','IwHfr','vXhqd','initialize','cliConfig','error','homedir','143384puncVY','--config=','info','BROWSERSTACK_SETUP_CONFIG_PATH','startsWith','map','BrowserStack\x20config\x20file\x20not\x20found.','SDK_SETUP','getNoProxy','requirePWModule','5CcmKkY','.browserstack','bootstrap','env','HquGN','XJtOe','winstonLogger','parse','exports','test','resolvedConfigFile','mMHfb','izzWV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','./reporter/pwUtils','child_process','pw_result.json','ClSTL','stringify','getInstance','../../helpers/accessibility-automation/helper','assign','SDK_POST_INITIALIZE','--grep','Deleting\x20','has','829YYkClT','nxOVa','dlSrW','logLevel','BROWSERSTACK_RERUN','weEjx','stop','EVENTS','2680518meuuVm','close','length','skipSessionStatus','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jJZWn','PLAYWRIGHT','dirname','win32','ZybMn','117VaPyQX','--disable-test-observability','shutdown','ufJpQ','RxuMr','gQYWY','Proxy\x20url\x20:\x20','false','162201qftEgV','testObservability','DSyuP','../../helpers/testhub/testhubHandler','4954836CaylZr','push','indexOf'];a40_0x5003=function(){return _0x386017;};return a40_0x5003();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a41_0xa816(_0x18c193,_0x1c6bcc){const _0x4cd38d=a41_0x4cd3();return a41_0xa816=function(_0xa816e1,_0x7f3844){_0xa816e1=_0xa816e1-0x92;let _0x2b382a=_0x4cd38d[_0xa816e1];return _0x2b382a;},a41_0xa816(_0x18c193,_0x1c6bcc);}const a41_0x4a4889=a41_0xa816;function a41_0x4cd3(){const _0x573184=['EpYgg','WmNoQ','1.33.0','function','AtTTO','exports','compareVersions','3523410BCRwaT','format','./patches','apply','Not\x20able\x20to\x20import\x20globalSetup','460Xjudkv','debug','PLAYWRIGHT','9990459fJLJQK','fork','vpYel','Path\x20','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','qyVQH','112252QjBKZX','jbLun','env','./mock-process.js','3084676AtZwzA','../../helpers/test-observability/utils','872NGNLNh','includes','HFuje','10491ZGPttN','984318UQalLy','xpffP','../../helpers/test-observability/constants','requirePWModule','Call\x20to\x20child\x20fork\x20with\x20args\x20','Running\x20existing\x20global\x20setup','../../helpers/helper','Tydlf','HSgmh','10059378BOizvc','qsWDT','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','pkhJr'];a41_0x4cd3=function(){return _0x573184;};return a41_0x4cd3();}(function(_0x282f50,_0x605651){const _0x4bd525=a41_0xa816,_0x525ad4=_0x282f50();while(!![]){try{const _0x2e6cad=-parseInt(_0x4bd525(0xac))/0x1+-parseInt(_0x4bd525(0xa6))/0x2+parseInt(_0x4bd525(0xab))/0x3*(-parseInt(_0x4bd525(0x98))/0x4)+-parseInt(_0x4bd525(0x93))/0x5+parseInt(_0x4bd525(0xb5))/0x6+parseInt(_0x4bd525(0xa2))/0x7*(parseInt(_0x4bd525(0xa8))/0x8)+parseInt(_0x4bd525(0x9b))/0x9;if(_0x2e6cad===_0x605651)break;else _0x525ad4['push'](_0x525ad4['shift']());}catch(_0x3ed1cd){_0x525ad4['push'](_0x525ad4['shift']());}}}(a41_0x4cd3,0xdbfb5));const util=require('util'),child_process=require('child_process'),{FRAMEWORKS}=require(a41_0x4a4889(0xae)),{getFrameworkVersion,debug}=require(a41_0x4a4889(0xa7)),helper=require(a41_0x4a4889(0xb2)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a41_0x4a4889(0x95)),logger=require('../../helpers/logger')['winstonLogger'];module[a41_0x4a4889(0xbe)]=async function(_0x575cdd){const _0x4424f7=a41_0x4a4889,_0x53fd16={'qyVQH':function(_0x977520,_0xdda9aa){return _0x977520(_0xdda9aa);},'xpffP':function(_0x55e77d){return _0x55e77d();},'AtTTO':_0x4424f7(0xa5),'WmNoQ':function(_0x4b8183){return _0x4b8183();},'HFuje':function(_0x388a8e){return _0x388a8e();},'EpYgg':function(_0x56f9f1,_0x378bdc){return _0x56f9f1(_0x378bdc);},'pkhJr':_0x4424f7(0xb1),'zDcZB':function(_0x2754ad){return _0x2754ad();},'sjHVr':function(_0x5c834e,_0x2a9d5b){return _0x5c834e>=_0x2a9d5b;},'vpYel':_0x4424f7(0xbb),'jKeHL':function(_0x42891b,_0x3c5df0,_0x348dfc){return _0x42891b(_0x3c5df0,_0x348dfc);},'qsWDT':function(_0x1e1e38,_0x51dd6d){return _0x1e1e38!==_0x51dd6d;},'jbLun':_0x4424f7(0xbc),'Tydlf':_0x4424f7(0x97),'HSgmh':function(_0x7383db,_0x38c3ca){return _0x7383db(_0x38c3ca);}},_0xf4f58f=child_process[_0x4424f7(0x9c)];if(helper['isHandlePWErrorSet']())try{_0x53fd16[_0x4424f7(0xaa)](mockIsWorkerRedundant);}catch(_0x1f4c72){logger[_0x4424f7(0x99)](_0x4424f7(0x9f)+util[_0x4424f7(0x94)](_0x1f4c72));}child_process[_0x4424f7(0x9c)]=function(){const _0x2d42d8=_0x4424f7;return _0x53fd16['qyVQH'](debug,_0x2d42d8(0xb0)+arguments[0x0]),arguments[0x0][_0x2d42d8(0xa9)](_0x53fd16[_0x2d42d8(0xad)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x53fd16[_0x2d42d8(0xbd)]):logger['error'](_0x2d42d8(0x9e)+_0x53fd16[_0x2d42d8(0xba)](getForkProcessPath)+'\x20is\x20not\x20found'),_0xf4f58f[_0x2d42d8(0x96)](null,arguments);};if(process[_0x4424f7(0xa4)][_0x4424f7(0xa0)]){_0x53fd16[_0x4424f7(0xb9)](debug,_0x53fd16[_0x4424f7(0xb8)]);try{const {loadGlobalHook:_0x2e942a}=helper[_0x4424f7(0xaf)]['apply'](null,_0x53fd16['zDcZB'](getLoadUtilsPath)),_0x22b200=_0x53fd16[_0x4424f7(0xa1)](getFrameworkVersion,FRAMEWORKS[_0x4424f7(0x9a)]);let _0x9439e0=_0x575cdd;if(_0x53fd16['sjHVr'](helper[_0x4424f7(0x92)](_0x22b200,_0x53fd16[_0x4424f7(0x9d)]),0x0)){const _0x4f422b={};_0x4f422b['config']=_0x575cdd,_0x9439e0=_0x4f422b;}const _0x324f04=await _0x53fd16['jKeHL'](_0x2e942a,_0x9439e0,process['env'][_0x4424f7(0xa0)]);if(_0x53fd16[_0x4424f7(0xb6)](typeof _0x324f04,_0x53fd16[_0x4424f7(0xa3)]))throw new Error(_0x53fd16[_0x4424f7(0xb3)]);return _0x324f04[_0x4424f7(0x96)](null,arguments);}catch(_0x5cb52f){_0x53fd16[_0x4424f7(0xb4)](debug,_0x4424f7(0xb7)+_0x5cb52f['toString']());}}};
|