browserstack-node-sdk 1.50.1 → 1.50.3
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/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/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.setup.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/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.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/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.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/loadTestModule.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/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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 a33_0x22448e=a33_0x586f;(function(_0x3d98dd,_0x182372){const _0x41dd51=a33_0x586f,_0x34a54c=_0x3d98dd();while(!![]){try{const _0x427b15=parseInt(_0x41dd51(0x11b))/0x1*(-parseInt(_0x41dd51(0xf0))/0x2)+parseInt(_0x41dd51(0xf8))/0x3+parseInt(_0x41dd51(0x10f))/0x4+-parseInt(_0x41dd51(0x10b))/0x5*(-parseInt(_0x41dd51(0xf7))/0x6)+-parseInt(_0x41dd51(0xef))/0x7*(parseInt(_0x41dd51(0xf2))/0x8)+parseInt(_0x41dd51(0x117))/0x9+-parseInt(_0x41dd51(0xfd))/0xa;if(_0x427b15===_0x182372)break;else _0x34a54c['push'](_0x34a54c['shift']());}catch(_0x22bce8){_0x34a54c['push'](_0x34a54c['shift']());}}}(a33_0x3b25,0x8b4e3));const logger=require(a33_0x22448e(0xb9))[a33_0x22448e(0xe4)],helper=require(a33_0x22448e(0x118)),constants=require(a33_0x22448e(0xc2)),hubAllocator=require(a33_0x22448e(0xfc)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x22448e(0xcf)),{setAccessibilityCapabilities,setExtension}=require(a33_0x22448e(0xd2)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x22448e(0xd3)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a33_0x22448e(0xd7)),modify=(_0x3e5a13,_0x5f0c05=null,_0x30b390=![])=>{const _0x173cf5=a33_0x22448e,_0x2b6098={'BQZhm':function(_0x393d2e,_0x38686e){return _0x393d2e!==_0x38686e;},'uaYxW':_0x173cf5(0x108),'aaIOh':function(_0x120fe0,_0x58aeb0){return _0x120fe0!==_0x58aeb0;},'NVeyp':function(_0x14dd4f,_0x1a8833){return _0x14dd4f+_0x1a8833;},'dWadP':'https://','fzUri':'/wd/hub','lzRUW':'goog:chromeOptions','VrLkE':_0x173cf5(0xe6),'ggVhL':'ms:edgeOptions','xUtBf':_0x173cf5(0xe8),'lyxmk':'moz:firefoxOptions','pnFEI':_0x173cf5(0xeb),'Cxdqe':_0x173cf5(0xf6),'xLDsA':'se:ieOptions','bKXES':_0x173cf5(0xf5),'Bckdq':function(_0x4f9a60,_0x4bc62a){return _0x4f9a60===_0x4bc62a;},'bLoZG':'object','qofIe':_0x173cf5(0x100),'RhRXl':_0x173cf5(0xb7),'TEDQx':function(_0x3d15d1,_0x285c30){return _0x3d15d1(_0x285c30);},'gBTQC':function(_0x1aed70,_0x27c337,_0x48e2a2){return _0x1aed70(_0x27c337,_0x48e2a2);},'ybbrp':function(_0x4af556,_0x13648b,_0xf0989a){return _0x4af556(_0x13648b,_0xf0989a);},'jzPUj':'optimalHubUrl','gGYVf':_0x173cf5(0xf4),'WvdCn':function(_0x5ab8b3,_0x39278f,_0x5bc24c){return _0x5ab8b3(_0x39278f,_0x5bc24c);},'WZpVe':_0x173cf5(0x123),'VZjuB':_0x173cf5(0xe7),'RGxQe':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','amSsV':function(_0x4eee34){return _0x4eee34();},'aHtaE':function(_0x3114fd,_0x22ca06){return _0x3114fd(_0x22ca06);},'VxikH':function(_0x55cb2b,_0x477fbe){return _0x55cb2b(_0x477fbe);},'volGs':function(_0x28eb98,_0xbea075,_0x1b6ab0){return _0x28eb98(_0xbea075,_0x1b6ab0);},'bySFU':function(_0x12e0c0,_0x24468f){return _0x12e0c0!==_0x24468f;},'MPpwX':_0x173cf5(0x10d),'DJYAI':_0x173cf5(0xed)},_0x5e497e=helper[_0x173cf5(0x127)]();let _0x2ad076;try{_0x2ad076=helper['requireSeleniumWebdriver'](),_0x2ad076[_0x173cf5(0x11e)]&&(_0x2ad076[_0x173cf5(0x11f)]=_0x2ad076[_0x173cf5(0x11e)]);}catch(_0xb0ff7b){return;}if(helper['isBrowserstackInfra']()){const _0x5724dc={};_0x5724dc[_0x173cf5(0x115)]=_0x3e5a13[_0x173cf5(0xdd)],helper[_0x173cf5(0xbf)](_0x5724dc,new Map(),new Map()),logger['info'](_0x2b6098['MPpwX']),logger[_0x173cf5(0xec)](_0x2b6098[_0x173cf5(0x120)]);}class _0x1c0640 extends _0x5e497e[_0x173cf5(0x111)]{[_0x173cf5(0x103)](_0x267106){const _0x764673=_0x173cf5;if(_0x2b6098[_0x764673(0xe1)](_0x267106[_0x764673(0xea)],_0x2b6098[_0x764673(0x113)])&&_0x2b6098['aaIOh'](global[_0x764673(0x12b)],''))try{global[_0x764673(0x12b)]=_0x2b6098[_0x764673(0x109)](_0x2b6098[_0x764673(0x109)](_0x2b6098[_0x764673(0xe5)],global['newHubUrl']),_0x2b6098[_0x764673(0x10a)]),this['options_']=hubAllocator[_0x764673(0x12a)](global[_0x764673(0x12b)]),logger[_0x764673(0xec)](_0x764673(0xc4)+global[_0x764673(0x12b)]),global['newHubUrl']='';}catch(_0x24fa8b){logger[_0x764673(0xcd)](_0x24fa8b);}return super[_0x764673(0x103)](_0x267106);}}class _0x45c248 extends _0x2ad076[_0x173cf5(0x11f)]{[_0x173cf5(0xd0)](){const _0x58ffe7=_0x173cf5;return this[_0x58ffe7(0xd4)]=helper[_0x58ffe7(0xe0)](_0x3e5a13),logger[_0x58ffe7(0xec)](_0x58ffe7(0x122)+this[_0x58ffe7(0xd4)]),this;}[_0x173cf5(0x131)](_0x525392){const _0x3c0fbf=_0x173cf5;let _0x38b8a6={};for(const _0xf5c5f3 in _0x525392){switch(_0xf5c5f3){case _0x2b6098[_0x3c0fbf(0xde)]:case _0x2b6098[_0x3c0fbf(0x130)]:this[_0x3c0fbf(0xd5)]&&(_0x38b8a6=this[_0x3c0fbf(0xd5)]['get'](this[_0x3c0fbf(0xd5)][_0x3c0fbf(0xc9)])||{},this[_0x3c0fbf(0xd5)]['set'](this[_0x3c0fbf(0xd5)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0x116)]:case _0x2b6098[_0x3c0fbf(0xb8)]:this['edgeOptions_']&&(_0x38b8a6=this[_0x3c0fbf(0xba)][_0x3c0fbf(0xd6)](this[_0x3c0fbf(0xba)][_0x3c0fbf(0xc9)])||{},this['edgeOptions_'][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xba)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0x12f)]:case _0x2b6098[_0x3c0fbf(0xd9)]:this[_0x3c0fbf(0xe3)]&&(_0x38b8a6=this['firefoxOptions_']['get'](this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xc9)])||{},this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xe3)][_0x3c0fbf(0xc9)],helper['mergeDeep'](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098['Cxdqe']:this[_0x3c0fbf(0xc7)]&&(_0x38b8a6=this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xd6)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xdf)](this[_0x3c0fbf(0xc7)][_0x3c0fbf(0xc9)],helper[_0x3c0fbf(0xce)](_0x38b8a6,_0x525392[_0xf5c5f3])));break;case _0x2b6098[_0x3c0fbf(0xc3)]:case _0x2b6098[_0x3c0fbf(0xf9)]:this[_0x3c0fbf(0xbd)]&&(_0x38b8a6=this['ieOptions_'][_0x3c0fbf(0xd6)](this[_0x3c0fbf(0xbd)][_0x3c0fbf(0xc9)])||{},this['ieOptions_'][_0x3c0fbf(0xdf)](this['ieOptions_'][_0x3c0fbf(0xc9)],helper['mergeDeep'](_0x38b8a6,_0x525392[_0xf5c5f3])));break;}}}[_0x173cf5(0x128)](){const _0x3548d2=_0x173cf5;return logger[_0x3548d2(0xec)](_0x2b6098[_0x3548d2(0x10e)]),this[_0x3548d2(0x131)](_0x3e5a13[_0x3548d2(0xc8)]),Object[_0x3548d2(0xe2)](_0x3e5a13[_0x3548d2(0xc8)])[_0x3548d2(0x125)](_0x95c328=>{const _0x30c7a6=_0x3548d2,_0x106e2a=this[_0x30c7a6(0xd1)][_0x30c7a6(0xd6)](_0x95c328);_0x2b6098[_0x30c7a6(0xda)](typeof _0x106e2a,_0x2b6098[_0x30c7a6(0x11a)])?this[_0x30c7a6(0xd1)][_0x30c7a6(0xdf)](_0x95c328,helper[_0x30c7a6(0xce)](_0x106e2a,_0x3e5a13[_0x30c7a6(0xc8)][_0x95c328])):this[_0x30c7a6(0xd1)]['set'](_0x95c328,_0x3e5a13[_0x30c7a6(0xc8)][_0x95c328]);}),this;}[_0x173cf5(0xbc)](){const _0x2fe8bd=_0x173cf5,_0xced6a7={'EGTPr':_0x2b6098[_0x2fe8bd(0xc6)],'hWfNo':_0x2b6098[_0x2fe8bd(0x12e)],'VdDeX':function(_0x548881,_0x363e55,_0x19fb79){const _0x4d5f4f=_0x2fe8bd;return _0x2b6098[_0x4d5f4f(0xfa)](_0x548881,_0x363e55,_0x19fb79);}};if(helper['isBrowserstackInfra']()){const _0x495a54=_0x2b6098[_0x2fe8bd(0x101)][_0x2fe8bd(0x121)]('|');let _0xab0eec=0x0;while(!![]){switch(_0x495a54[_0xab0eec++]){case'0':this['setCapabilities']();continue;case'1':this[_0x2fe8bd(0xd0)]();continue;case'2':globals[_0x2fe8bd(0x119)](_0x2b6098[_0x2fe8bd(0x110)])&&(!_0x2b6098[_0x2fe8bd(0x124)](setExtension,this,_0x3e5a13)&&globals[_0x2fe8bd(0x104)](_0x2b6098['VZjuB'],![]));continue;case'3':logger[_0x2fe8bd(0xec)](_0x2b6098[_0x2fe8bd(0xfb)]);continue;case'4':_0x2b6098[_0x2fe8bd(0x107)](isAccessibilityAutomationSession)&&_0x2b6098[_0x2fe8bd(0xc0)](setAccessibilityCapabilities,_0x3e5a13);continue;case'5':if(helper[_0x2fe8bd(0x112)](_0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]))this[_0x2fe8bd(0x11c)]=helper[_0x2fe8bd(0xdb)](_0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]);else _0x3e5a13[_0x2fe8bd(0xfe)][_0x2fe8bd(0x12d)]&&(this['proxy_']=_0x3e5a13['proxySettings'][_0x2fe8bd(0x12d)],logger[_0x2fe8bd(0xec)]('Proxy\x20set\x20to\x20'+this['proxy_']));continue;}break;}}const _0x5f2a1a=super[_0x2fe8bd(0xbc)]();return _0x5f2a1a[_0x2fe8bd(0x102)][_0x2fe8bd(0x105)](_0x31ec45=>{const _0x2c3d7c=_0x2fe8bd;try{const _0x356245=_0x31ec45[_0x2c3d7c(0xe9)][_0x2c3d7c(0xd6)](_0xced6a7['EGTPr']);_0x356245?(logger['debug'](_0x2c3d7c(0xdc)+_0x356245),hubAllocator[_0x2c3d7c(0x12c)](_0x356245),helper['storeOptimalHubUrl'](_0x356245)):logger[_0x2c3d7c(0xec)](_0xced6a7[_0x2c3d7c(0xbe)]);}catch(_0x449658){logger[_0x2c3d7c(0xec)](_0x2c3d7c(0x129)+_0x449658);}}),_0x5f2a1a['quitCount_']=0x0,_0x5f2a1a[_0x2fe8bd(0x105)]&&_0x5f2a1a[_0x2fe8bd(0x105)](_0x310371=>{const _0x348c55=_0x2fe8bd,_0x4f3346=_0x2b6098[_0x348c55(0xcc)]['split']('|');let _0x243ae7=0x0;while(!![]){switch(_0x4f3346[_0x243ae7++]){case'0':_0x310371[_0x348c55(0xca)]=async()=>{return await _0xced6a7['VdDeX'](getAccessibilityResults,_0x310371,global);};continue;case'1':_0x310371[_0x348c55(0xee)]=async()=>{const _0x597625=_0x348c55;return await _0xced6a7[_0x597625(0xff)](getAccessibilityResultsSummary,_0x310371,global);};continue;case'2':helper[_0x348c55(0xd8)](_0x310371,_0x3e5a13);continue;case'3':_0x2b6098['TEDQx'](overrideTakeScreenshot,_0x310371);continue;case'4':_0x2b6098[_0x348c55(0x124)](overrideQuit,_0x310371,_0x5f2a1a);continue;case'5':_0x2b6098[_0x348c55(0x124)](overrideExecute,_0x310371,_0x3e5a13);continue;}break;}}),_0x5f2a1a[_0x2fe8bd(0xee)]=async()=>{return await _0xced6a7['VdDeX'](getAccessibilityResultsSummary,_0x5f2a1a,global);},_0x5f2a1a['getAccessibilityResults']=async()=>{const _0x1b5f98=_0x2fe8bd;return await _0x2b6098[_0x1b5f98(0x126)](getAccessibilityResults,_0x5f2a1a,global);},_0x2b6098['aHtaE'](overrideTakeScreenshot,_0x5f2a1a),_0x2b6098['VxikH'](overrideQuit,_0x5f2a1a),helper[_0x2fe8bd(0xd8)](_0x5f2a1a,_0x3e5a13),_0x2b6098[_0x2fe8bd(0xf3)](overrideExecute,_0x5f2a1a,_0x3e5a13),helper[_0x2fe8bd(0xc1)](global[_0x2fe8bd(0x106)])&&(global[_0x2fe8bd(0x106)]=[]),helper[_0x2fe8bd(0xc1)](global[_0x2fe8bd(0xc5)])&&(global['__drivers']=[]),global[_0x2fe8bd(0x106)][_0x2fe8bd(0xbb)](_0x5f2a1a),global[_0x2fe8bd(0xcb)]=_0x5f2a1a,_0x2b6098[_0x2fe8bd(0x10c)](global['__drivers'],undefined)&&global['__drivers'][_0x2fe8bd(0xbb)](_0x5f2a1a),_0x5f0c05&&helper[_0x2fe8bd(0xc1)](_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0x106)])&&(_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0x106)]=[]),_0x5f0c05&&_0x2b6098[_0x2fe8bd(0x11d)](_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0xc5)],undefined)&&(_0x5f0c05[_0x2fe8bd(0x114)][_0x2fe8bd(0xc5)][_0x2fe8bd(0xbb)](_0x5f2a1a),_0x5f0c05['global']['__driversArray']['push'](_0x5f2a1a)),_0x5f2a1a;}}return _0x2ad076['originalBuilder']=_0x2ad076[_0x173cf5(0x11f)],_0x2ad076[_0x173cf5(0x11f)]=_0x45c248,_0x5e497e[_0x173cf5(0x111)]=_0x1c0640,_0x2ad076;};function a33_0x586f(_0x5dc7b4,_0x2dd917){const _0x3b25c4=a33_0x3b25();return a33_0x586f=function(_0x586f8c,_0xc722c4){_0x586f8c=_0x586f8c-0xb7;let _0x1cbf64=_0x3b25c4[_0x586f8c];return _0x1cbf64;},a33_0x586f(_0x5dc7b4,_0x2dd917);}module['exports'][a33_0x22448e(0xf1)]=modify;function a33_0x3b25(){const _0x52e01a=['caps_','path','firefoxOptions','debug','Modifying\x20webdriver\x20builder','getAccessibilityResultsSummary','140AMTIPu','313078gUZgkS','browserstackAgentObservability','45336nORTbX','volGs','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','ieOptions','safari.options','588axSHAf','416409kemjKR','bKXES','WvdCn','RGxQe','../../../hubAllocationMethods','9111720NXrmuV','proxySettings','VdDeX','Setting\x20Browserstack\x20capabilities','WZpVe','session_','send','setGlobal','then','__driversArray','amSsV','/session','NVeyp','fzUri','42205BYSUGM','aaIOh','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','qofIe','1164636CaDdxK','VZjuB','HttpClient','isPacProxy','uaYxW','global','logLevel','ggVhL','5859045HpndFu','../../../helpers/helper','getGlobal','bLoZG','2ZXzsGt','agent_','bySFU','originalBuilder','Builder','DJYAI','split','Hub\x20url\x20set\x20to\x20','4|1|0|5|2|3','gBTQC','forEach','ybbrp','requireHttpClient','setCapabilities','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getRequestOptions','newHubUrl','updateHubUrl','proxyUrl','gGYVf','lyxmk','VrLkE','__setBrowserOptions','4|3|2|5|1|0','xUtBf','../../../helpers/logger','edgeOptions_','push','build','ieOptions_','hWfNo','setLogLevel','TEDQx','isUndefined','../../../bin/utils/constants','xLDsA','New\x20hub\x20url\x20set\x20to\x20','__drivers','jzPUj','safariOptions_','capability','CAPABILITY_KEY','getAccessibilityResults','__driver','RhRXl','error','mergeDeep','../../../helpers/patchHelpers','setServer','capabilities_','../accessibility-automation/helper','../../../helpers/accessibility-automation/helper','url_','chromeOptions_','get','./helpers/patchHelper','overrideGet','pnFEI','Bckdq','getHttpAgent','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','browserStackLogLevel','lzRUW','set','getHubUrl','BQZhm','keys','firefoxOptions_','winstonLogger','dWadP','chromeOptions','isAccessibilityPlatform','edgeOptions'];a33_0x3b25=function(){return _0x52e01a;};return a33_0x3b25();}
|
|
1
|
+
const a33_0x563d7e=a33_0x14fa;function a33_0x14fa(_0xef3dff,_0x199dd3){const _0x5044ea=a33_0x5044();return a33_0x14fa=function(_0x14faa7,_0x23a317){_0x14faa7=_0x14faa7-0x7a;let _0x5a8986=_0x5044ea[_0x14faa7];return _0x5a8986;},a33_0x14fa(_0xef3dff,_0x199dd3);}(function(_0x5e4aca,_0x58e5de){const _0x384e0e=a33_0x14fa,_0x23a891=_0x5e4aca();while(!![]){try{const _0x57d510=-parseInt(_0x384e0e(0x80))/0x1+parseInt(_0x384e0e(0x88))/0x2+-parseInt(_0x384e0e(0xd8))/0x3+parseInt(_0x384e0e(0x9b))/0x4+parseInt(_0x384e0e(0xa9))/0x5*(-parseInt(_0x384e0e(0xce))/0x6)+parseInt(_0x384e0e(0xec))/0x7+parseInt(_0x384e0e(0xcd))/0x8;if(_0x57d510===_0x58e5de)break;else _0x23a891['push'](_0x23a891['shift']());}catch(_0x2dccc7){_0x23a891['push'](_0x23a891['shift']());}}}(a33_0x5044,0xad1b0));const logger=require('../../../helpers/logger')['winstonLogger'],helper=require(a33_0x563d7e(0xb2)),constants=require(a33_0x563d7e(0x8c)),hubAllocator=require(a33_0x563d7e(0xba)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x563d7e(0xde)),{setAccessibilityCapabilities,setExtension}=require(a33_0x563d7e(0xbb)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x563d7e(0xd2)),globals=require(a33_0x563d7e(0xc2)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x26026f,_0x4b5d0a=null,_0x1243c0=![])=>{const _0x3b9a8c=a33_0x563d7e,_0x4705d9={'SIPNp':function(_0x3b68b1,_0x557d57){return _0x3b68b1!==_0x557d57;},'aLZKX':_0x3b9a8c(0xcf),'YRpsI':function(_0x309dea,_0x132d07){return _0x309dea+_0x132d07;},'NKihL':'https://','LAimy':'/wd/hub','ywEcN':_0x3b9a8c(0x90),'oNRcH':_0x3b9a8c(0xd6),'jqBBD':_0x3b9a8c(0xa4),'LlutL':'edgeOptions','TKSDt':'moz:firefoxOptions','GCaDD':'firefoxOptions','oOqHG':_0x3b9a8c(0xc6),'sueNt':'se:ieOptions','OkQuB':'ieOptions','EqHVA':function(_0x298401,_0x25d811){return _0x298401===_0x25d811;},'rvVRn':'object','RQEUO':_0x3b9a8c(0x8d),'QWujT':_0x3b9a8c(0xc7),'ZTJxD':_0x3b9a8c(0xb8),'LNqll':_0x3b9a8c(0xae),'VISZY':function(_0x59ee0e,_0x60e46d,_0x1c3f54){return _0x59ee0e(_0x60e46d,_0x1c3f54);},'EARHL':function(_0x2e71af,_0x3c7e03,_0x498b5f){return _0x2e71af(_0x3c7e03,_0x498b5f);},'rEuiE':function(_0x37f1d5,_0xa34108){return _0x37f1d5(_0xa34108);},'EYcHw':function(_0x4622b0,_0x7ae660,_0x26f540){return _0x4622b0(_0x7ae660,_0x26f540);},'NUqHK':function(_0x2c8c01,_0x29810a,_0x4a4c24){return _0x2c8c01(_0x29810a,_0x4a4c24);},'hgNej':'2|3|0|4|5|1','NhTDD':_0x3b9a8c(0x95),'WgDBq':function(_0x3d8d6e){return _0x3d8d6e();},'sLpmv':function(_0x58c05f,_0x336b20){return _0x58c05f(_0x336b20);},'rynqu':_0x3b9a8c(0xe1),'tvqRk':function(_0x28dd9f,_0x405a73,_0x4d24c3){return _0x28dd9f(_0x405a73,_0x4d24c3);},'RaxGv':function(_0x29c1a7,_0x53dce6){return _0x29c1a7(_0x53dce6);},'QOZyW':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','iKmrI':'Modifying\x20webdriver\x20builder'},_0x3febfc=helper['requireHttpClient']();let _0x2c2181;try{_0x2c2181=helper[_0x3b9a8c(0xb1)](),_0x2c2181['originalBuilder']&&(_0x2c2181[_0x3b9a8c(0xca)]=_0x2c2181[_0x3b9a8c(0xb6)]);}catch(_0x5bd2a5){return;}if(helper[_0x3b9a8c(0xe5)]()){const _0x13992a={};_0x13992a[_0x3b9a8c(0x8b)]=_0x26026f['browserStackLogLevel'],helper[_0x3b9a8c(0x86)](_0x13992a,new Map(),new Map()),logger[_0x3b9a8c(0xa5)](_0x4705d9[_0x3b9a8c(0xbf)]),logger[_0x3b9a8c(0xc1)](_0x4705d9[_0x3b9a8c(0xe2)]);}class _0x33876e extends _0x3febfc[_0x3b9a8c(0x84)]{[_0x3b9a8c(0xe0)](_0x8d2621){const _0x457f84=_0x3b9a8c;if(_0x4705d9['SIPNp'](_0x8d2621[_0x457f84(0xb3)],_0x4705d9[_0x457f84(0xd3)])&&_0x4705d9['SIPNp'](global[_0x457f84(0xe8)],''))try{global[_0x457f84(0xe8)]=_0x4705d9[_0x457f84(0x94)](_0x4705d9['YRpsI'](_0x4705d9['NKihL'],global[_0x457f84(0xe8)]),_0x4705d9[_0x457f84(0xda)]),this[_0x457f84(0x9e)]=hubAllocator['getRequestOptions'](global[_0x457f84(0xe8)]),logger[_0x457f84(0xc1)](_0x457f84(0x96)+global['newHubUrl']),global[_0x457f84(0xe8)]='';}catch(_0x4c762a){logger[_0x457f84(0xcc)](_0x4c762a);}return super['send'](_0x8d2621);}}class _0x566ad9 extends _0x2c2181[_0x3b9a8c(0xca)]{[_0x3b9a8c(0xd4)](){const _0x2ad27c=_0x3b9a8c;return this[_0x2ad27c(0x87)]=helper[_0x2ad27c(0xbd)](_0x26026f),logger[_0x2ad27c(0xc1)](_0x2ad27c(0xd0)+this[_0x2ad27c(0x87)]),this;}[_0x3b9a8c(0xeb)](_0xd55a44){const _0x306bc9=_0x3b9a8c;let _0xa1048d={};for(const _0x23acff in _0xd55a44){switch(_0x23acff){case _0x4705d9[_0x306bc9(0xb5)]:case _0x4705d9[_0x306bc9(0xab)]:this[_0x306bc9(0xdf)]&&(_0xa1048d=this[_0x306bc9(0xdf)][_0x306bc9(0xad)](this[_0x306bc9(0xdf)]['CAPABILITY_KEY'])||{},this[_0x306bc9(0xdf)]['set'](this[_0x306bc9(0xdf)][_0x306bc9(0xa7)],helper[_0x306bc9(0xc9)](_0xa1048d,_0xd55a44[_0x23acff])));break;case _0x4705d9['jqBBD']:case _0x4705d9[_0x306bc9(0x89)]:this[_0x306bc9(0x93)]&&(_0xa1048d=this[_0x306bc9(0x93)]['get'](this[_0x306bc9(0x93)][_0x306bc9(0xa7)])||{},this[_0x306bc9(0x93)][_0x306bc9(0x7f)](this[_0x306bc9(0x93)][_0x306bc9(0xa7)],helper[_0x306bc9(0xc9)](_0xa1048d,_0xd55a44[_0x23acff])));break;case _0x4705d9['TKSDt']:case _0x4705d9[_0x306bc9(0xa1)]:this['firefoxOptions_']&&(_0xa1048d=this[_0x306bc9(0xc8)][_0x306bc9(0xad)](this[_0x306bc9(0xc8)]['CAPABILITY_KEY'])||{},this[_0x306bc9(0xc8)][_0x306bc9(0x7f)](this['firefoxOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0xa1048d,_0xd55a44[_0x23acff])));break;case _0x4705d9[_0x306bc9(0xdd)]:this[_0x306bc9(0x99)]&&(_0xa1048d=this[_0x306bc9(0x99)][_0x306bc9(0xad)](this[_0x306bc9(0x99)][_0x306bc9(0xa7)])||{},this['safariOptions_'][_0x306bc9(0x7f)](this[_0x306bc9(0x99)][_0x306bc9(0xa7)],helper[_0x306bc9(0xc9)](_0xa1048d,_0xd55a44[_0x23acff])));break;case _0x4705d9[_0x306bc9(0xd1)]:case _0x4705d9['OkQuB']:this['ieOptions_']&&(_0xa1048d=this['ieOptions_']['get'](this['ieOptions_'][_0x306bc9(0xa7)])||{},this[_0x306bc9(0xaf)]['set'](this[_0x306bc9(0xaf)][_0x306bc9(0xa7)],helper['mergeDeep'](_0xa1048d,_0xd55a44[_0x23acff])));break;}}}[_0x3b9a8c(0xbe)](){const _0x438c0a=_0x3b9a8c,_0x3923e2={'sMwdN':function(_0x3589bb,_0x210222){return _0x4705d9['EqHVA'](_0x3589bb,_0x210222);},'eIXFX':_0x4705d9[_0x438c0a(0xa8)]};return logger[_0x438c0a(0xc1)](_0x4705d9[_0x438c0a(0x9c)]),this[_0x438c0a(0xeb)](_0x26026f['capability']),Object[_0x438c0a(0x9d)](_0x26026f[_0x438c0a(0xdb)])[_0x438c0a(0xb7)](_0x3e5232=>{const _0x14f2e1=_0x438c0a,_0x38e841=this[_0x14f2e1(0xd7)][_0x14f2e1(0xad)](_0x3e5232);_0x3923e2[_0x14f2e1(0xaa)](typeof _0x38e841,_0x3923e2[_0x14f2e1(0xa3)])?this[_0x14f2e1(0xd7)][_0x14f2e1(0x7f)](_0x3e5232,helper['mergeDeep'](_0x38e841,_0x26026f[_0x14f2e1(0xdb)][_0x3e5232])):this['capabilities_']['set'](_0x3e5232,_0x26026f[_0x14f2e1(0xdb)][_0x3e5232]);}),this;}[_0x3b9a8c(0x9f)](){const _0x9adb69=_0x3b9a8c,_0x42c468={'yEPUN':function(_0x15b34e,_0x5e19f9,_0x393a4e){const _0x271a22=a33_0x14fa;return _0x4705d9[_0x271a22(0xb0)](_0x15b34e,_0x5e19f9,_0x393a4e);},'bUIdH':function(_0x16d3a0,_0xabf114,_0x158e6f){const _0xea1784=a33_0x14fa;return _0x4705d9[_0xea1784(0xd5)](_0x16d3a0,_0xabf114,_0x158e6f);}};if(helper[_0x9adb69(0xe5)]()){const _0xe1c1c=_0x4705d9['hgNej']['split']('|');let _0x9df4b0=0x0;while(!![]){switch(_0xe1c1c[_0x9df4b0++]){case'0':this[_0x9adb69(0xbe)]();continue;case'1':logger['debug'](_0x4705d9[_0x9adb69(0x7d)]);continue;case'2':_0x4705d9['WgDBq'](isAccessibilityAutomationSession)&&_0x4705d9[_0x9adb69(0x83)](setAccessibilityCapabilities,_0x26026f);continue;case'3':this[_0x9adb69(0xd4)]();continue;case'4':if(helper[_0x9adb69(0x9a)](_0x26026f['proxySettings'][_0x9adb69(0x97)]))this[_0x9adb69(0xc0)]=helper[_0x9adb69(0x8e)](_0x26026f[_0x9adb69(0xac)]['proxyUrl']);else _0x26026f['proxySettings'][_0x9adb69(0x97)]&&(this[_0x9adb69(0xe4)]=_0x26026f['proxySettings']['proxyUrl'],logger['debug'](_0x9adb69(0x85)+this[_0x9adb69(0xe4)]));continue;case'5':globals[_0x9adb69(0xe6)](_0x4705d9[_0x9adb69(0xa0)])&&(!_0x4705d9[_0x9adb69(0x8a)](setExtension,this,_0x26026f)&&globals['setGlobal'](_0x4705d9[_0x9adb69(0xa0)],![]));continue;}break;}}const _0x2691d4=super['build']();return _0x2691d4[_0x9adb69(0xbc)][_0x9adb69(0xa2)](_0x2dd9f8=>{const _0x2a434d=_0x9adb69;try{const _0xc3f15c=_0x2dd9f8['caps_']['get'](_0x4705d9[_0x2a434d(0xe7)]);_0xc3f15c?(logger[_0x2a434d(0xc1)](_0x2a434d(0xe3)+_0xc3f15c),hubAllocator[_0x2a434d(0x92)](_0xc3f15c),helper[_0x2a434d(0xa6)](_0xc3f15c)):logger[_0x2a434d(0xc1)](_0x4705d9[_0x2a434d(0xb4)]);}catch(_0x4df254){logger[_0x2a434d(0xc1)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4df254);}}),_0x2691d4[_0x9adb69(0x81)]=0x0,_0x2691d4[_0x9adb69(0xa2)]&&_0x2691d4[_0x9adb69(0xa2)](_0x2bd333=>{const _0x47c72b=_0x9adb69,_0x35b3bc=_0x4705d9['LNqll'][_0x47c72b(0xcb)]('|');let _0x43b4ac=0x0;while(!![]){switch(_0x35b3bc[_0x43b4ac++]){case'0':_0x2bd333[_0x47c72b(0x98)]=async()=>{const _0x54657b=_0x47c72b;return await _0x42c468[_0x54657b(0x91)](getAccessibilityResults,_0x2bd333,global);};continue;case'1':_0x4705d9['VISZY'](overrideQuit,_0x2bd333,_0x2691d4);continue;case'2':_0x4705d9[_0x47c72b(0x7e)](overrideExecute,_0x2bd333,_0x26026f);continue;case'3':_0x2bd333[_0x47c72b(0x7b)]=async()=>{const _0x225a56=_0x47c72b;return await _0x42c468[_0x225a56(0x7c)](getAccessibilityResultsSummary,_0x2bd333,global);};continue;case'4':helper[_0x47c72b(0x8f)](_0x2bd333,_0x26026f);continue;case'5':_0x4705d9[_0x47c72b(0xc5)](overrideTakeScreenshot,_0x2bd333);continue;}break;}}),_0x2691d4['getAccessibilityResultsSummary']=async()=>{const _0x5e9fbf=_0x9adb69;return await _0x42c468[_0x5e9fbf(0x91)](getAccessibilityResultsSummary,_0x2691d4,global);},_0x2691d4[_0x9adb69(0x98)]=async()=>{const _0x48b935=_0x9adb69;return await _0x42c468[_0x48b935(0x7c)](getAccessibilityResults,_0x2691d4,global);},_0x4705d9[_0x9adb69(0xdc)](overrideTakeScreenshot,_0x2691d4),_0x4705d9[_0x9adb69(0x83)](overrideQuit,_0x2691d4),helper[_0x9adb69(0x8f)](_0x2691d4,_0x26026f),_0x4705d9[_0x9adb69(0x7e)](overrideExecute,_0x2691d4,_0x26026f),helper[_0x9adb69(0xea)](global['__driversArray'])&&(global['__driversArray']=[]),helper[_0x9adb69(0xea)](global['__drivers'])&&(global[_0x9adb69(0x82)]=[]),global[_0x9adb69(0xd9)][_0x9adb69(0xb9)](_0x2691d4),global['__driver']=_0x2691d4,_0x4705d9['SIPNp'](global[_0x9adb69(0x82)],undefined)&&global[_0x9adb69(0x82)][_0x9adb69(0xb9)](_0x2691d4),_0x4b5d0a&&helper['isUndefined'](_0x4b5d0a[_0x9adb69(0xe9)][_0x9adb69(0xd9)])&&(_0x4b5d0a[_0x9adb69(0xe9)][_0x9adb69(0xd9)]=[]),_0x4b5d0a&&_0x4705d9[_0x9adb69(0x7a)](_0x4b5d0a[_0x9adb69(0xe9)]['__drivers'],undefined)&&(_0x4b5d0a[_0x9adb69(0xe9)][_0x9adb69(0x82)][_0x9adb69(0xb9)](_0x2691d4),_0x4b5d0a['global'][_0x9adb69(0xd9)]['push'](_0x2691d4)),_0x2691d4;}}return _0x2c2181['originalBuilder']=_0x2c2181[_0x3b9a8c(0xca)],_0x2c2181[_0x3b9a8c(0xca)]=_0x566ad9,_0x3febfc[_0x3b9a8c(0x84)]=_0x33876e,_0x2c2181;};module[a33_0x563d7e(0xc3)][a33_0x563d7e(0xc4)]=modify;function a33_0x5044(){const _0x3ea06f=['ms:edgeOptions','info','storeOptimalHubUrl','CAPABILITY_KEY','rvVRn','577765MiIvAj','sMwdN','oNRcH','proxySettings','get','1|5|4|2|3|0','ieOptions_','EYcHw','requireSeleniumWebdriver','../../../helpers/helper','path','ZTJxD','ywEcN','originalBuilder','forEach','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','push','../../../hubAllocationMethods','../accessibility-automation/helper','session_','getHubUrl','setCapabilities','QOZyW','agent_','debug','../../../helpers/globals','exports','browserstackAgentObservability','rEuiE','safari.options','optimalHubUrl','firefoxOptions_','mergeDeep','Builder','split','error','16559984lSLFJS','42dBiIlj','/session','Hub\x20url\x20set\x20to\x20','sueNt','../../../helpers/accessibility-automation/helper','aLZKX','setServer','NUqHK','chromeOptions','capabilities_','2383599BARIhC','__driversArray','LAimy','capability','RaxGv','oOqHG','../../../helpers/patchHelpers','chromeOptions_','send','isAccessibilityPlatform','iKmrI','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','proxy_','isBrowserstackInfra','getGlobal','QWujT','newHubUrl','global','isUndefined','__setBrowserOptions','1940960LiRhyw','SIPNp','getAccessibilityResultsSummary','yEPUN','NhTDD','EARHL','set','1185882cizVGs','quitCount_','__drivers','sLpmv','HttpClient','Proxy\x20set\x20to\x20','setLogLevel','url_','1275892thPdup','LlutL','tvqRk','logLevel','../../../bin/utils/constants','Setting\x20Browserstack\x20capabilities','getHttpAgent','overrideGet','goog:chromeOptions','bUIdH','updateHubUrl','edgeOptions_','YRpsI','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','New\x20hub\x20url\x20set\x20to\x20','proxyUrl','getAccessibilityResults','safariOptions_','isPacProxy','2052408ADwfGi','RQEUO','keys','options_','build','rynqu','GCaDD','then','eIXFX'];a33_0x5044=function(){return _0x3ea06f;};return a33_0x5044();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a34_0x3bd74d=a34_0x3a11;function a34_0xb5a0(){const _0x4d6efe=['70leNjKF','restore','timeout','175060NUnqJx','2IyyxBI','175496tBrCuc','802806XOcbpc','../../../helpers/request-spy','651010fhSjPR','757355urhWyE','134360UOlXGG','1466028HjiTtw','fqewY','../../../bin/utils/constants','6nURlTO'];a34_0xb5a0=function(){return _0x4d6efe;};return a34_0xb5a0();}function a34_0x3a11(_0x3650d5,_0x8acde9){const _0xb5a0a1=a34_0xb5a0();return a34_0x3a11=function(_0x3a1125,_0x29dec4){_0x3a1125=_0x3a1125-0x1f0;let _0xc1b56b=_0xb5a0a1[_0x3a1125];return _0xc1b56b;},a34_0x3a11(_0x3650d5,_0x8acde9);}(function(_0xb0f366,_0x37ba13){const _0x331cd2=a34_0x3a11,_0x10bff9=_0xb0f366();while(!![]){try{const _0x9ad3cb=parseInt(_0x331cd2(0x1f3))/0x1+-parseInt(_0x331cd2(0x1fc))/0x2*(-parseInt(_0x331cd2(0x1fe))/0x3)+parseInt(_0x331cd2(0x1fb))/0x4+-parseInt(_0x331cd2(0x1f2))/0x5*(-parseInt(_0x331cd2(0x1f7))/0x6)+-parseInt(_0x331cd2(0x1f8))/0x7*(parseInt(_0x331cd2(0x1fd))/0x8)+-parseInt(_0x331cd2(0x1f4))/0x9+-parseInt(_0x331cd2(0x1f1))/0xa;if(_0x9ad3cb===_0x37ba13)break;else _0x10bff9['push'](_0x10bff9['shift']());}catch(_0x215f32){_0x10bff9['push'](_0x10bff9['shift']());}}}(a34_0xb5a0,0x2494b));const requestSpy=require(a34_0x3bd74d(0x1f0)),constants=require(a34_0x3bd74d(0x1f6)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x5099bc=a34_0x3bd74d,_0x5042e2={'fqewY':function(_0x16c402){return _0x16c402();}},_0x53298d='browserstack internal helper hook';_0x5042e2[_0x5099bc(0x1f5)](addRequestSpy);},'afterAll'(){const _0x2cae11=a34_0x3bd74d,_0x1770fd='browserstack internal helper hook';this[_0x2cae11(0x1fa)](0xea60),requestSpy[_0x2cae11(0x1f9)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a35_0x6ef5(){const _0x5c7318=['mapTestHooks','_beforeAll','getBrowserVersion','tests','pid','3303588JOtfjX','hookAnalyticsId','fokQL','VJiPY','getPlatform','MNKTM','getHooksForTest','66116OYCROl','__cloud_provider___','gWPma','xuvcR','failed','ZJoSU','markedStatus','TEST_PLATFORM','suites','toISOString','fromEntries','slice','filter','ofrMW','../../../helpers/test-observability/utils','8jXYdOw','../../../helpers/test-observability/constants','_afterEach','passed','MBpbY','1481007OVrwRM','forEach','DPBEp','pending','lLPam','parent','TXhvC','25rVMpzQ','XKvkA','getSession','HjRNt','../../../helpers/testhub/utils','9scsKVQ','../../../../package.json','getCapabilities','aGVRa','push','emit','NYUPw','LgNlf','bs:addPlatformDetails:','_afterAll','reduce','_beforeEach','uuid','ZZUmH','sendPlatformDetails','PBfgJ','GdNkU','lodash','ZQmJa','tFhEc','doejS','getHookSkippedTests','../../../helpers/helper','zhjrF','9575730AVHnrI','UCQCE','BTWDs','152022WWAAQO','concat','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook','hook:','2055893UiYjxf','HeQPz','getBrowserName','gpYQG','indexOf','split','IVXOt','state','XxJja','KsxTP','53982yqLMaH','get'];a35_0x6ef5=function(){return _0x5c7318;};return a35_0x6ef5();}const a35_0x2c45f5=a35_0x1323;function a35_0x1323(_0x36b85d,_0x49a209){const _0x6ef5ea=a35_0x6ef5();return a35_0x1323=function(_0x13236a,_0x24786c){_0x13236a=_0x13236a-0x16f;let _0x50c932=_0x6ef5ea[_0x13236a];return _0x50c932;},a35_0x1323(_0x36b85d,_0x49a209);}(function(_0x456758,_0x4c35a9){const _0xd43736=a35_0x1323,_0x3e4043=_0x456758();while(!![]){try{const _0x975cde=-parseInt(_0xd43736(0x183))/0x1+-parseInt(_0xd43736(0x192))/0x2+parseInt(_0xd43736(0x1b4))/0x3+parseInt(_0xd43736(0x1a0))/0x4*(parseInt(_0xd43736(0x1bb))/0x5)+parseInt(_0xd43736(0x199))/0x6+parseInt(_0xd43736(0x188))/0x7*(parseInt(_0xd43736(0x1af))/0x8)+parseInt(_0xd43736(0x1c0))/0x9*(-parseInt(_0xd43736(0x180))/0xa);if(_0x975cde===_0x4c35a9)break;else _0x3e4043['push'](_0x3e4043['shift']());}catch(_0x47e102){_0x3e4043['push'](_0x3e4043['shift']());}}}(a35_0x6ef5,0x45579));const {v4:uuidv4}=require(a35_0x2c45f5(0x174)),{name,version}=require(a35_0x2c45f5(0x1c1)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x2c45f5(0x1ae)),{consoleHolder}=require(a35_0x2c45f5(0x1b0)),{getPlatformVersion}=require(a35_0x2c45f5(0x17e)),{shouldProcessEventForTesthub}=require(a35_0x2c45f5(0x1bf)),{isFunction}=require(a35_0x2c45f5(0x179)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x5ab50e=a35_0x2c45f5,_0x43b795={'zhjrF':'generic','nmaHX':function(_0x4faaae){return _0x4faaae();}};return{'ci':_0x43b795[_0x5ab50e(0x17f)],'key':_0x43b795['nmaHX'](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0xd243f4=>{const _0x540581=a35_0x2c45f5,_0x5072e2={};_0x5072e2[_0x540581(0x1b3)]=function(_0x5318c5,_0x374c8f){return _0x5318c5!==_0x374c8f;},_0x5072e2[_0x540581(0x1c6)]='string',_0x5072e2[_0x540581(0x1bc)]=function(_0x39f2cc,_0x352bdf){return _0x39f2cc!==_0x352bdf;},_0x5072e2[_0x540581(0x182)]=_0x540581(0x187),_0x5072e2['ZQmJa']=_0x540581(0x186);const _0x5ab267=_0x5072e2;if(!_0xd243f4||_0x5ab267[_0x540581(0x1b3)](typeof _0xd243f4,_0x5ab267[_0x540581(0x1c6)]))return[null,null];if(_0x5ab267['XKvkA'](_0xd243f4[_0x540581(0x18c)](_0x5ab267[_0x540581(0x182)]),-0x1)){const _0x3466b7=_0xd243f4[_0x540581(0x18d)](_0x5ab267['BTWDs']);return[_0x3466b7[0x0]['slice'](0x0,-0x1)[_0x540581(0x18d)]('\x22')[0x1],_0x3466b7[0x1]['substring'](0x1)];}else{if(_0x5ab267['MBpbY'](_0xd243f4['indexOf'](_0x5ab267['ZQmJa']),-0x1)){const _0x9eb18f=_0xd243f4[_0x540581(0x18d)](_0x5ab267[_0x540581(0x17a)]);return[_0x9eb18f[0x0][_0x540581(0x1ab)](0x0,-0x1)[_0x540581(0x18d)]('\x22')[0x1],_0xd243f4];}}return[null,null];},exports[a35_0x2c45f5(0x19f)]=_0x524361=>{const _0x5e2a86=a35_0x2c45f5,_0x1c3284={'XxJja':function(_0x4136b2,_0x43b443){return _0x4136b2(_0x43b443);},'tFhEc':_0x5e2a86(0x195),'JHvVl':_0x5e2a86(0x171),'ZJoSU':'_beforeEach','HjRNt':_0x5e2a86(0x1b1)};if(!_0x524361||!_0x524361[_0x5e2a86(0x1b9)])return[];const _0x51c161=[];return[_0x1c3284[_0x5e2a86(0x17b)],_0x1c3284['JHvVl'],_0x1c3284[_0x5e2a86(0x1a5)],_0x1c3284[_0x5e2a86(0x1be)]][_0x5e2a86(0x1b5)](_0x4b0076=>{const _0x324879=_0x5e2a86,_0x1a60ce=_0x524361[_0x324879(0x1b9)][_0x4b0076]||[];_0x1a60ce['forEach'](_0x255ba4=>{const _0x144ab5=_0x324879;_0x255ba4[_0x144ab5(0x19a)]&&!_0x1c3284[_0x144ab5(0x190)](isInternalHook,_0x255ba4['fn'])&&_0x51c161[_0x144ab5(0x1c4)](_0x255ba4[_0x144ab5(0x19a)]);});}),[..._0x51c161,...exports['getHooksForTest'](_0x524361[_0x5e2a86(0x1b9)])];},exports[a35_0x2c45f5(0x194)]=_0x19f89d=>{const _0x1a958c=a35_0x2c45f5,_0x54097c={'LgNlf':function(_0x2208df){return _0x2208df();},'doejS':function(_0x16eadc,_0x23b30c){return _0x16eadc===_0x23b30c;},'PBfgJ':_0x1a958c(0x1b1),'xuvcR':_0x1a958c(0x195),'GdNkU':_0x1a958c(0x171),'VtOzX':_0x1a958c(0x173)};if(!_0x19f89d||!_0x19f89d[_0x1a958c(0x1b9)])return;[_0x54097c[_0x1a958c(0x1a3)],_0x54097c[_0x1a958c(0x178)],_0x54097c['VtOzX'],_0x54097c[_0x1a958c(0x177)]][_0x1a958c(0x1b5)](_0x45b9db=>{const _0x3c09eb=_0x1a958c,_0x20ba9f={'IVXOt':function(_0x36944a){const _0x45ef45=a35_0x1323;return _0x54097c[_0x45ef45(0x16f)](_0x36944a);},'ZZUmH':function(_0x5cd9ee,_0x2b9a3c){const _0xd806bc=a35_0x1323;return _0x54097c[_0xd806bc(0x17c)](_0x5cd9ee,_0x2b9a3c);},'aGVRa':_0x54097c[_0x3c09eb(0x177)]},_0x52940b=_0x19f89d[_0x3c09eb(0x1b9)][_0x45b9db]||[];_0x52940b[_0x3c09eb(0x1b5)](_0x46c214=>{const _0x266394=_0x3c09eb;if(!_0x46c214[_0x266394(0x19a)])_0x46c214[_0x266394(0x19a)]=_0x20ba9f[_0x266394(0x18e)](uuidv4);else _0x46c214[_0x266394(0x1a6)]&&_0x20ba9f[_0x266394(0x175)](_0x45b9db,_0x20ba9f[_0x266394(0x1c3)])&&(_0x46c214[_0x266394(0x19a)]=_0x20ba9f['IVXOt'](uuidv4),delete _0x46c214['markedStatus']);});}),exports[_0x1a958c(0x194)](_0x19f89d[_0x1a958c(0x1b9)]);},exports[a35_0x2c45f5(0x176)]=async(_0x5c0154,_0x28be38)=>{const _0x43adb0=a35_0x2c45f5,_0x512b2d={'gpYQG':function(_0x28e0d6){return _0x28e0d6();},'VJiPY':function(_0x1fe751,_0x507aee){return _0x1fe751(_0x507aee);},'lLPam':'platformVersion','KsxTP':function(_0x29ca49,_0x54609e){return _0x29ca49===_0x54609e;},'yRCMk':'browserstack','TXhvC':'unknown_grid','HMqHg':_0x43adb0(0x1a7),'ofrMW':function(_0x20a810,_0x570502){return _0x20a810(_0x570502);}};try{if(!_0x512b2d[_0x43adb0(0x18b)](shouldProcessEventForTesthub))return;const _0x2fd017=await _0x5c0154['getCapabilities'](),_0x122cb7=await _0x5c0154[_0x43adb0(0x1bd)](),_0x41c424={},_0x19f9a9=Object[_0x43adb0(0x1aa)](_0x122cb7[_0x43adb0(0x1c2)]()['map_']),_0x9c8331={'product':_0x512b2d[_0x43adb0(0x19c)](getObservabilityLinkedProductName,_0x19f9a9),'capabilities':_0x19f9a9,'platform':_0x2fd017[_0x43adb0(0x19d)](),'platform_version':_0x2fd017[_0x43adb0(0x193)](_0x512b2d[_0x43adb0(0x1b8)])?_0x2fd017['get'](_0x512b2d['lLPam']):_0x512b2d[_0x43adb0(0x19c)](getPlatformVersion,_0x512b2d[_0x43adb0(0x191)](global[_0x43adb0(0x1a1)],_0x512b2d['yRCMk'])),'browser':_0x2fd017[_0x43adb0(0x18a)](),'browser_version':_0x2fd017[_0x43adb0(0x196)](),'session_id':_0x122cb7['toJSON']()};global[_0x43adb0(0x1a1)]?_0x41c424[global['__cloud_provider___']]=_0x9c8331:_0x41c424[_0x512b2d[_0x43adb0(0x1ba)]]=_0x9c8331,process[_0x43adb0(0x1c5)](_0x43adb0(0x170)+process[_0x43adb0(0x198)],{'timestamp':new Date()[_0x43adb0(0x1a9)](),'level':null,'message':null,'kind':_0x512b2d['HMqHg'],'http_response':_0x41c424,'uuid':_0x28be38});}catch(_0x4644c6){_0x512b2d[_0x43adb0(0x1ad)](debug,_0x43adb0(0x185)+_0x4644c6);}},exports['getHookSkippedTests']=_0x324408=>{const _0x52a29b=a35_0x2c45f5,_0x47fca7={};_0x47fca7[_0x52a29b(0x19e)]=function(_0x32340a,_0x433b07){return _0x32340a!==_0x433b07;},_0x47fca7[_0x52a29b(0x1a2)]=_0x52a29b(0x186),_0x47fca7[_0x52a29b(0x19b)]=function(_0x3115d9,_0x319faf){return _0x3115d9!==_0x319faf;},_0x47fca7[_0x52a29b(0x189)]=_0x52a29b(0x1b2),_0x47fca7[_0x52a29b(0x181)]=function(_0x461ff5,_0x28b620){return _0x461ff5!==_0x28b620;},_0x47fca7['DPBEp']=_0x52a29b(0x1a4);const _0x286c2b=_0x47fca7,_0x467f31=_0x324408[_0x52a29b(0x1a8)][_0x52a29b(0x172)]((_0x4b7e8a,_0x4fdcec)=>{const _0x517674=_0x52a29b,_0xd99de1=exports[_0x517674(0x17d)](_0x4fdcec);return _0xd99de1&&(_0x4b7e8a=_0x4b7e8a[_0x517674(0x184)](_0xd99de1)),_0x4b7e8a;},[]),_0x374c65=_0x324408[_0x52a29b(0x197)][_0x52a29b(0x1ac)](_0x523f83=>{const _0x2304fc=_0x52a29b,_0x366445=_0x286c2b[_0x2304fc(0x19e)](_0x523f83['type'],_0x286c2b['gWPma'])&&!_0x523f83[_0x2304fc(0x1a6)]&&_0x286c2b['fokQL'](_0x523f83[_0x2304fc(0x18f)],_0x286c2b[_0x2304fc(0x189)])&&_0x286c2b[_0x2304fc(0x181)](_0x523f83[_0x2304fc(0x18f)],_0x286c2b[_0x2304fc(0x1b6)])&&!_0x523f83[_0x2304fc(0x1b7)];return _0x366445;});return _0x374c65['concat'](_0x467f31);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x594d(){const _0x5d1164=['Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeScript','GWLSl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','grFqi','SESSION_STATUS','error','ZtNFY','yIUUz','yLHMl','AoONT','yWrYY','getGlobal','351LgWkGP','mJUgR','ZKgLV','../utils/constants','Eyhhm','browserstackTestName','lRhSG','capabilities','percyCaptureMode','hSUXp','xtlWm','mgCcV','QSpiW','beforeEach','2963666wXYfte','hmIgD','../../helpers/testhub/utils','accessibilityScanStarted','sbylK','PGNUp','protocol','SYNC','start','wFISi','\x20-\x20','message','measureWrapper','BsFYA','initQuit','fauRm','../../helpers/accessibility-automation/helper','../../helpers/logger','aAnCL','gpnLk','LeVVe','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Mocha','currentTest','../../helpers/performance/constants','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','UDIIJ','876398rMEnju','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','trWKg','isArray','failed','thJwtToken','kujfE','beforeAll','SESSION_NAME','kEQZm','ScRmJ','afterAll','WUOAJ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','WLDlL','env','sessionName','oYdqD','SaoyI','ORPVq','gTskl','1595iMlqFv','XnkWv','HOFQv','.\x20Error\x20:','3336545HLLbPo','TCBMs','timeout','__platformCaps','CeQGk','TpgsC','BROWSERSTACK_TESTHUB_JWT','BROWSERSTACK_TESTHUB_UUID','titlePath','aBqgJ','PSmQg','sGfgp','err','__drivers','isAccessibilityPlatform','Knaog','state','performScanWithRetry','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','FnKAj','yQDgv','../../helpers/testhub/constants','../../helpers/percy/utils','Mkitj','OManG','../../helpers/accessibility-automation/accessibilityRetryHelper','gmwat','util','Accessibility\x20results\x20saved\x20successfully','testAnalyticsId','../../helpers/performance/performance-tester','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','DwKHH','YMlAI','lauSD','__error_messages__','tRCyy','rixBf','../../helpers/globals','end','rBlme','format','JWJux','now','emCPh','__sessionFailed','thBuildUuid','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','ENV_VAR','Passed','bstackA11yShouldScan','info','debug','SDsiB','shift','287568mxymhV','sessionNameSet__','__skipSessionName','muxdk','afterTest','DTnMu','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','XRTUQ','sIMJW','Automate\x20test\x20case\x20execution\x20has\x20started.','faHBV','./test-observability/mochaUtils','percy','yxYxH','wPmSB','app','http:','IWeIW','12RpFauj','index','winstonLogger','driverCleanup','kyVBh','hVGNU','Failed:\x20','testcase','BZTmy','KJKnh','Failed\x20to\x20store\x20session\x20name:\x20','then','mEHkC','SDK_HOOK','ntmty','stringify','5012JOhECo','3950212UUZoOF','nGXSu','lQrEc','setGlobal','command','EVkCx','warn','3012nVamwQ','\x20|\x20','xMFLq','oGdci','95440AUIKFb','ObservabilitySync:','join','lIOGT','quitCount_','QUuzz','afterEach','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','sHbqb','length','startMonitoring','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','kycSK','push','\x22}}','shouldScanTestForAccessibility','Zobke','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','passed','KEYzC','FxXPp','dHFbr','Accessibility\x20scan\x20completed\x20successfully'];a36_0x594d=function(){return _0x5d1164;};return a36_0x594d();}const a36_0x11b55b=a36_0x2452;function a36_0x2452(_0x7369b2,_0x3d415a){const _0x594d51=a36_0x594d();return a36_0x2452=function(_0x2452b1,_0x10ecfe){_0x2452b1=_0x2452b1-0xfe;let _0x2beda5=_0x594d51[_0x2452b1];return _0x2beda5;},a36_0x2452(_0x7369b2,_0x3d415a);}(function(_0x180733,_0x19135b){const _0x1776de=a36_0x2452,_0x19c779=_0x180733();while(!![]){try{const _0x1fee0e=-parseInt(_0x1776de(0x1b9))/0x1+parseInt(_0x1776de(0x19e))/0x2+parseInt(_0x1776de(0x168))/0x3*(parseInt(_0x1776de(0x160))/0x4)+parseInt(_0x1776de(0x106))/0x5+parseInt(_0x1776de(0x150))/0x6*(parseInt(_0x1776de(0x161))/0x7)+parseInt(_0x1776de(0x13d))/0x8*(-parseInt(_0x1776de(0x190))/0x9)+parseInt(_0x1776de(0x16c))/0xa*(-parseInt(_0x1776de(0x102))/0xb);if(_0x1fee0e===_0x19135b)break;else _0x19c779['push'](_0x19c779['shift']());}catch(_0x3315fd){_0x19c779['push'](_0x19c779['shift']());}}}(a36_0x594d,0xd548e));const util=require(a36_0x11b55b(0x121)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x11b55b(0x1ae)),accessibilityRetryHelper=require(a36_0x11b55b(0x11f)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x11b55b(0x193)),{percyAutoCapture}=require(a36_0x11b55b(0x11c)),{sendPlatformDetails}=require(a36_0x11b55b(0x149)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x11b55b(0x124)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x11b55b(0x1b6)),globals=require(a36_0x11b55b(0x12c)),logger=require(a36_0x11b55b(0x1af))[a36_0x11b55b(0x152)],{shouldProcessEventForTesthub}=require(a36_0x11b55b(0x1a0)),testHubConstants=require(a36_0x11b55b(0x11b));exports['mochaHooks']={'beforeAll'(){const _0x162a77=a36_0x11b55b,_0x23985e={'ZtNFY':function(_0xe28d97,_0x4c2286,_0x2fd1aa,_0x4c858f){return _0xe28d97(_0x4c2286,_0x2fd1aa,_0x4c858f);},'kyVBh':_0x162a77(0x1bd),'JWJux':_0x162a77(0x169),'EVkCx':function(_0x594b81,_0x42c742,_0x4cd593){return _0x594b81(_0x42c742,_0x4cd593);},'lIOGT':_0x162a77(0x17e),'mEHkC':function(_0xba801a){return _0xba801a();},'kJwZB':function(_0x2aaa78,_0x189837,_0x6b7832){return _0x2aaa78(_0x189837,_0x6b7832);},'UDIIJ':_0x162a77(0x151),'yLHMl':_0x162a77(0x1c0)};PerformanceTester[_0x162a77(0x176)]();const _0x108679='browserstack internal helper hook';PerformanceTester[_0x162a77(0x1aa)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4e1b4d=_0x162a77;global[_0x4e1b4d(0x129)]=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x31126a=_0x4e1b4d;let _0x42a15d=![];try{await global[_0x31126a(0x113)][0x0]['session_'],_0x42a15d=!![],global['__sessionFailed']?await _0x23985e[_0x31126a(0x18a)](markSessionStatus,global['__drivers'][0x0],_0x23985e[_0x31126a(0x154)],global[_0x31126a(0x129)]['join'](_0x23985e[_0x31126a(0x130)])):await _0x23985e[_0x31126a(0x166)](markSessionStatus,global[_0x31126a(0x113)][0x0],_0x23985e[_0x31126a(0x16f)]);}catch(_0x499f82){logger[_0x31126a(0x13a)](_0x31126a(0x1ba)+_0x499f82);}global[_0x31126a(0x129)]=[],global[_0x31126a(0x133)]=![];if(_0x42a15d)try{try{_0x23985e[_0x31126a(0x15c)](shouldProcessEventForTesthub)&&(global[_0x31126a(0x113)][0x0]&&await _0x23985e['EVkCx'](sendPlatformDetails,global[_0x31126a(0x113)][0x0],this[_0x31126a(0x1b5)]?this[_0x31126a(0x1b5)][_0x31126a(0x123)]:null));}catch(_0x5d2575){logger[_0x31126a(0x13a)](_0x31126a(0x173)+_0x5d2575);}await global['__drivers'][0x0][_0x31126a(0x1ac)]();}catch(_0x279fcc){logger[_0x31126a(0x13a)](_0x31126a(0x144)+_0x279fcc);}};},{'platform':_0x23985e['kJwZB'](nestedKeyValue,global[_0x162a77(0x109)],[_0x23985e[_0x162a77(0x1b8)]]),'hookType':_0x23985e[_0x162a77(0x18c)]})();},'beforeEach'(_0x482271){const _0x2f3f7e=a36_0x11b55b,_0x3e501c={'rixBf':function(_0x25c41e,_0x136798){return _0x25c41e>_0x136798;},'YMlAI':_0x2f3f7e(0x1a8),'KJKnh':function(_0xdf55da,_0x292df2,_0x1fed4a){return _0xdf55da(_0x292df2,_0x1fed4a);},'muxdk':_0x2f3f7e(0x138),'ScRmJ':function(_0x45343d){return _0x45343d();},'KEYzC':_0x2f3f7e(0x114),'yuIaG':function(_0x3d5954,_0x57d5c1){return _0x3d5954===_0x57d5c1;},'hmIgD':_0x2f3f7e(0x14e),'DwKHH':function(_0x31925c,_0x53e9f8){return _0x31925c===_0x53e9f8;},'kycSK':'https:','wPmSB':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Knaog':_0x2f3f7e(0x147),'QSpiW':function(_0x664157){return _0x664157();},'Obebi':_0x2f3f7e(0x195),'OManG':function(_0x5806fc,_0x65d5fe,_0x3f10f2){return _0x5806fc(_0x65d5fe,_0x3f10f2);},'HOFQv':_0x2f3f7e(0x151),'hSUXp':_0x2f3f7e(0x19d)};globals['setGlobal'](_0x3e501c['Obebi'],this['currentTest']['titlePath']()['join'](_0x3e501c[_0x2f3f7e(0x127)])),PerformanceTester[_0x2f3f7e(0x1aa)](PerformanceSdkEvents[_0x2f3f7e(0x15d)],()=>{const _0x7a840={'oGdci':function(_0x1d5170){const _0x1fb0dd=a36_0x2452;return _0x3e501c[_0x1fb0dd(0x19c)](_0x1d5170);}},_0x43c503='browserstack internal helper hook';new Promise(async _0x5c6034=>{const _0x301019=a36_0x2452;let _0x406c80=!![];try{_0x3e501c[_0x301019(0x12b)](global[_0x301019(0x113)]['length'],0x1)&&(await global[_0x301019(0x153)](),global[_0x301019(0x113)][_0x301019(0x13c)]()),_0x3e501c['rixBf'](global[_0x301019(0x113)][0x0]['quitCount_'],0x0)&&(_0x406c80=![],await global[_0x301019(0x153)]());}catch(_0x49e21e){logger[_0x301019(0x13a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x49e21e);}try{Array['isArray'](global[_0x301019(0x113)])&&global[_0x301019(0x113)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this['currentTest'][_0x301019(0x10e)]()[_0x301019(0x16e)](_0x3e501c[_0x301019(0x127)])),global['browserstackSessionName']=this[_0x301019(0x1b5)]['titlePath']()['join'](_0x3e501c[_0x301019(0x127)]);}catch(_0x4400f7){logger[_0x301019(0x13a)](_0x301019(0x15a)+_0x4400f7);}this['currentTest'][_0x301019(0x17b)]=_0x3e501c[_0x301019(0x159)](shouldScanTestForAccessibility,this['currentTest'][_0x301019(0x10e)](),!![]),globals[_0x301019(0x164)](_0x3e501c[_0x301019(0x140)],this[_0x301019(0x1b5)][_0x301019(0x17b)]),this['currentTest'][_0x301019(0x1a1)]=!![];if(_0x3e501c[_0x301019(0x1c3)](isAccessibilityAutomationSession)&&_0x406c80&&Array[_0x301019(0x1bc)](global[_0x301019(0x113)])&&_0x3e501c[_0x301019(0x12b)](global[_0x301019(0x113)]['length'],0x0)&&globals[_0x301019(0x18f)](_0x3e501c[_0x301019(0x17f)]))try{const _0x3fe3be=await global[_0x301019(0x113)][0x0]['session_'];if(_0x3fe3be){let _0x4429fc=!![];const _0x1bcf38=await global[_0x301019(0x113)][0x0]['getCurrentUrl']();let _0x3299a8;try{_0x3299a8=new URL(_0x1bcf38);}catch(_0x50e6dd){_0x4429fc=![];}_0x4429fc=_0x3e501c['yuIaG'](_0x3299a8['protocol'],_0x3e501c[_0x301019(0x19f)])||_0x3e501c[_0x301019(0x126)](_0x3299a8[_0x301019(0x1a4)],_0x3e501c[_0x301019(0x178)]),_0x4429fc&&(this[_0x301019(0x1b5)][_0x301019(0x17b)]&&logger['info'](_0x3e501c[_0x301019(0x14c)])),this[_0x301019(0x1b5)]['accessibilityScanStarted']=this[_0x301019(0x1b5)][_0x301019(0x17b)],this['currentTest'][_0x301019(0x17b)]&&logger[_0x301019(0x139)](_0x3e501c[_0x301019(0x115)]);}}catch(_0x55b573){logger[_0x301019(0x189)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x301019(0x12f)](_0x55b573));}_0x3e501c['ScRmJ'](_0x5c6034);})['then'](()=>{const _0x599b1a=a36_0x2452;_0x7a840[_0x599b1a(0x16b)](_0x482271);});},{'platform':_0x3e501c[_0x2f3f7e(0x11e)](nestedKeyValue,global[_0x2f3f7e(0x109)],[_0x3e501c[_0x2f3f7e(0x104)]]),'hookType':_0x3e501c[_0x2f3f7e(0x199)]})();},'afterEach'(_0x35b7c7){const _0x514c4f=a36_0x11b55b,_0x549131={'LeVVe':'\x20-\x20','KOxTp':function(_0x40b17a,_0x241e3b){return _0x40b17a!==_0x241e3b;},'yIUUz':_0x514c4f(0x17e),'PSmQg':function(_0x3917ee,_0x2f8e67,_0x4cf839){return _0x3917ee(_0x2f8e67,_0x4cf839);},'kujfE':function(_0x9b288f,_0x1e90dc){return _0x9b288f+_0x1e90dc;},'XnkWv':_0x514c4f(0x156),'rfTWu':'error','grFqi':_0x514c4f(0x137),'mJUgR':_0x514c4f(0x139),'sIMJW':function(_0x67f3c3,_0x477be4){return _0x67f3c3>_0x477be4;},'yxYxH':function(_0x50653c,_0x5b7061){return _0x50653c===_0x5b7061;},'Mkitj':_0x514c4f(0x157),'snepj':'appium:app','QUuzz':function(_0x478648,_0x341a99,_0x5a043e,_0xd7760e){return _0x478648(_0x341a99,_0x5a043e,_0xd7760e);},'SaoyI':'isAccessibilityPlatform','sGfgp':_0x514c4f(0x138),'GWLSl':_0x514c4f(0x118),'KuVeh':_0x514c4f(0x135),'AoONT':_0x514c4f(0x141),'Eyhhm':_0x514c4f(0x182),'gpnLk':_0x514c4f(0x17d),'TCBMs':_0x514c4f(0x122),'TpgsC':_0x514c4f(0x1b3),'aBqgJ':_0x514c4f(0x186),'trWKg':function(_0x5be748){return _0x5be748();},'ORPVq':_0x514c4f(0x13a),'XRTUQ':function(_0xfe83f3,_0x43f3af){return _0xfe83f3>_0x43f3af;},'emCPh':function(_0x62e21b){return _0x62e21b();},'PGNUp':_0x514c4f(0x1b4),'eeknh':function(_0x188472,_0x509bc3,_0x411412){return _0x188472(_0x509bc3,_0x411412);},'MeWdw':_0x514c4f(0x151),'gMDbl':_0x514c4f(0x172)},_0x99ea66='browserstack internal helper hook';this[_0x514c4f(0x108)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x549131[_0x514c4f(0x1a3)]]),global[_0x514c4f(0x1c9)]=this['currentTest']['titlePath']()[_0x514c4f(0x16e)](_0x549131['LeVVe']),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x37363d=_0x514c4f,_0x258786={'yQDgv':_0x549131[_0x37363d(0x1b2)],'BsFYA':function(_0x341b0e,_0x50b513){return _0x549131['KOxTp'](_0x341b0e,_0x50b513);},'ZKgLV':_0x549131[_0x37363d(0x18b)],'kEQZm':function(_0x3474e9,_0xf50afd,_0x4d6bc1){const _0x4fed6b=_0x37363d;return _0x549131[_0x4fed6b(0x110)](_0x3474e9,_0xf50afd,_0x4d6bc1);},'ntmty':function(_0x26b277,_0x180625){const _0x5aff60=_0x37363d;return _0x549131[_0x5aff60(0x1bf)](_0x26b277,_0x180625);},'zCCGU':_0x549131[_0x37363d(0x103)],'wFISi':_0x549131['rfTWu'],'tRCyy':_0x549131[_0x37363d(0x187)],'sHbqb':_0x549131[_0x37363d(0x191)],'WUOAJ':function(_0x292469,_0x15e0d5){const _0x5da54d=_0x37363d;return _0x549131[_0x5da54d(0x146)](_0x292469,_0x15e0d5);},'rBlme':function(_0x5bf1a6,_0xdbf3df){const _0x1e1584=_0x37363d;return _0x549131[_0x1e1584(0x14b)](_0x5bf1a6,_0xdbf3df);},'hVGNU':_0x549131[_0x37363d(0x11d)],'SDsiB':_0x549131['snepj'],'gTskl':function(_0x41da46,_0x3fa4ed,_0x98e0ce,_0x427288){const _0x2e79c8=_0x37363d;return _0x549131[_0x2e79c8(0x171)](_0x41da46,_0x3fa4ed,_0x98e0ce,_0x427288);},'UUJrN':_0x549131[_0x37363d(0xff)],'aAnCL':_0x549131[_0x37363d(0x111)],'Dicey':_0x549131[_0x37363d(0x185)],'dHFbr':_0x549131['KuVeh'],'lQrEc':_0x549131[_0x37363d(0x18d)],'CeQGk':_0x549131[_0x37363d(0x194)],'eiSjB':_0x549131[_0x37363d(0x1b1)],'Zobke':_0x549131[_0x37363d(0x107)],'gmwat':_0x549131[_0x37363d(0x10b)],'oYdqD':_0x549131[_0x37363d(0x10f)],'xMFLq':function(_0x332b98){const _0x3463c9=_0x37363d;return _0x549131[_0x3463c9(0x1bb)](_0x332b98);},'yWrYY':function(_0x269ec1,_0x294da4,_0x3d322d){const _0x16f35e=_0x37363d;return _0x549131[_0x16f35e(0x110)](_0x269ec1,_0x294da4,_0x3d322d);},'FnKAj':function(_0x565094,_0x41064b,_0x5bc90b){const _0x3def79=_0x37363d;return _0x549131[_0x3def79(0x110)](_0x565094,_0x41064b,_0x5bc90b);},'BZTmy':_0x549131[_0x37363d(0x100)],'lRhSG':function(_0x21a4dc,_0x1fd86e){const _0x142996=_0x37363d;return _0x549131[_0x142996(0x145)](_0x21a4dc,_0x1fd86e);},'FxXPp':function(_0xed09eb){const _0x40296f=_0x37363d;return _0x549131[_0x40296f(0x132)](_0xed09eb);}},_0x48958b=async(_0x4d1a91,_0x6d5057)=>{const _0x13eef7=_0x37363d;await global[_0x13eef7(0x113)][0x0][_0x13eef7(0x184)](_0x13eef7(0x125)+_0x4d1a91+',\x22level\x22:\x20\x22'+_0x6d5057+_0x13eef7(0x17a));};new Promise(async _0x25040a=>{const _0x2983f9=_0x37363d,_0xf721a2={'nGXSu':_0x258786[_0x2983f9(0x11a)],'fauRm':function(_0x3581db,_0x6a5c76){const _0xf3022f=_0x2983f9;return _0x258786[_0xf3022f(0x1ab)](_0x3581db,_0x6a5c76);},'sWZFH':_0x258786[_0x2983f9(0x192)],'sbylK':function(_0x2d1a1a,_0x511a09,_0x1135f2){const _0x195ca9=_0x2983f9;return _0x258786[_0x195ca9(0x1c2)](_0x2d1a1a,_0x511a09,_0x1135f2);},'IWeIW':function(_0x5ba20e,_0x3589f3){const _0x5ee2c3=_0x2983f9;return _0x258786[_0x5ee2c3(0x15e)](_0x5ba20e,_0x3589f3);},'JylFz':_0x258786['zCCGU'],'xtlWm':_0x258786[_0x2983f9(0x1a7)],'DTnMu':_0x258786[_0x2983f9(0x12a)],'NKwUw':_0x258786[_0x2983f9(0x174)]};try{_0x258786['WUOAJ'](global['__drivers'][_0x2983f9(0x175)],0x1)&&(await global[_0x2983f9(0x153)](),global[_0x2983f9(0x113)][_0x2983f9(0x13c)](),global[_0x2983f9(0x129)]=[],global['__sessionFailed']=![]);try{if(global[_0x2983f9(0x14a)]&&_0x258786[_0x2983f9(0x12e)](global[_0x2983f9(0x198)],_0x258786['hVGNU'])&&global[_0x2983f9(0x113)][0x0]){const _0x55585a=_0x258786[_0x2983f9(0x1c5)](global['capabilities']['length'],0x0)?!!global[_0x2983f9(0x197)][0x0][_0x2983f9(0x14d)]||!!global[_0x2983f9(0x197)][0x0][_0x258786[_0x2983f9(0x13b)]]:![],_0x377e8f={};_0x377e8f[_0x2983f9(0x14d)]=_0x55585a,await _0x258786[_0x2983f9(0x101)](percyAutoCapture,global['__drivers'][0x0],_0x258786[_0x2983f9(0x155)],_0x377e8f);}}catch(_0x3af553){logger[_0x2983f9(0x13a)](_0x2983f9(0x183)+_0x3af553);}!global[_0x2983f9(0x13f)]&&(await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x2983f9(0x1c1)],async()=>{const _0x373652=_0x2983f9;await global[_0x373652(0x113)][0x0][_0x373652(0x184)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x373652(0x15f)](this[_0x373652(0x1b5)][_0x373652(0x10e)]()['join'](_0xf721a2[_0x373652(0x162)]))+'}}');})(),global[_0x2983f9(0x113)][0x0][_0x2983f9(0x13e)]=!![]),await PerformanceTester[_0x2983f9(0x1aa)](PerformanceAutEvents[_0x2983f9(0x188)],async()=>{const _0x3a3ce6=_0x2983f9,_0x594d2f=_0xf721a2[_0x3a3ce6(0x1ad)](this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x116)],_0xf721a2['sWZFH']);_0x594d2f?(global['__sessionFailed']=!![],global[_0x3a3ce6(0x129)][_0x3a3ce6(0x179)](this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x112)][_0x3a3ce6(0x1a9)]),await _0xf721a2['sbylK'](_0x48958b,JSON[_0x3a3ce6(0x15f)](_0xf721a2[_0x3a3ce6(0x14f)](_0xf721a2['JylFz'],this[_0x3a3ce6(0x1b5)][_0x3a3ce6(0x112)][_0x3a3ce6(0x1a9)])),_0xf721a2[_0x3a3ce6(0x19a)])):await _0xf721a2[_0x3a3ce6(0x1a2)](_0x48958b,JSON[_0x3a3ce6(0x15f)](_0xf721a2[_0x3a3ce6(0x142)]),_0xf721a2['NKwUw']);})();}catch(_0x36a130){logger['debug'](_0x2983f9(0x1b7)+_0x36a130);}try{if(this[_0x2983f9(0x1b5)][_0x2983f9(0x1a1)]&&globals['getGlobal'](_0x258786['UUJrN'])&&globals[_0x2983f9(0x18f)](_0x258786[_0x2983f9(0x1b0)])){logger[_0x2983f9(0x139)](_0x258786['Dicey']);const _0x4b5d27={};_0x4b5d27['thTestRunUuid']=this[_0x2983f9(0x1b5)][_0x2983f9(0x123)],_0x4b5d27[_0x2983f9(0x134)]=process[_0x2983f9(0x1c8)][testHubConstants[_0x2983f9(0x136)][_0x2983f9(0x10d)]],_0x4b5d27[_0x2983f9(0x1be)]=process['env'][testHubConstants[_0x2983f9(0x136)][_0x2983f9(0x10c)]];const _0x3ceae3=_0x4b5d27;logger[_0x2983f9(0x13a)](_0x2983f9(0x177)+JSON[_0x2983f9(0x15f)](_0x3ceae3)),logger[_0x2983f9(0x13a)](_0x258786[_0x2983f9(0x181)]);const _0x4aaea1={};_0x4aaea1[_0x2983f9(0x165)]=_0x258786[_0x2983f9(0x163)];const _0x1f1721=await PerformanceTester[_0x2983f9(0x1aa)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x7cb99b=_0x2983f9;return await accessibilityRetryHelper[_0x7cb99b(0x117)](global['__drivers'][0x0],global['browserstackSessionName']);},_0x4aaea1)();_0x1f1721?logger[_0x2983f9(0x13a)](_0x258786[_0x2983f9(0x10a)]):logger[_0x2983f9(0x167)](_0x258786['eiSjB']);const _0x1bbb10=await PerformanceTester['measureWrapper'](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x1dbe70=_0x2983f9;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x1dbe70(0x113)][0x0],_0x3ceae3);})();_0x1bbb10?logger['debug'](_0x258786[_0x2983f9(0x17c)]):logger['warn'](_0x258786[_0x2983f9(0x120)]),logger[_0x2983f9(0x139)](_0x258786[_0x2983f9(0xfe)]);}}catch(_0x4fbce4){logger[_0x2983f9(0x189)](_0x2983f9(0x1c6)+this['currentTest']['titlePath']()+_0x2983f9(0x105),_0x4fbce4);}try{try{if(_0x258786[_0x2983f9(0x16a)](shouldProcessEventForTesthub)){global[_0x2983f9(0x113)][0x0]&&await _0x258786[_0x2983f9(0x18e)](sendPlatformDetails,global[_0x2983f9(0x113)][0x0],this['currentTest']?this['currentTest'][_0x2983f9(0x123)]:null);if(_0x258786[_0x2983f9(0x16a)](isBrowserstackInfra)){PerformanceTester[_0x2983f9(0x1a6)](PerformanceO11yEvents[_0x2983f9(0x1a5)]);const _0x13b49a=_0x2983f9(0x16d)+Date[_0x2983f9(0x131)]();await _0x258786[_0x2983f9(0x119)](_0x48958b,JSON[_0x2983f9(0x15f)](_0x13b49a),_0x258786[_0x2983f9(0x158)]),PerformanceTester[_0x2983f9(0x12d)](PerformanceO11yEvents['SYNC']);}}}catch(_0xefecbf){logger[_0x2983f9(0x13a)](_0x2983f9(0x143)+_0xefecbf),PerformanceTester[_0x2983f9(0x12d)](PerformanceO11yEvents[_0x2983f9(0x1a5)],![],_0xefecbf);}_0x258786[_0x2983f9(0x196)](global[_0x2983f9(0x113)][0x0][_0x2983f9(0x170)],0x0)&&await global[_0x2983f9(0x153)]();}catch(_0x10883d){logger[_0x2983f9(0x13a)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x10883d);}_0x258786[_0x2983f9(0x180)](_0x25040a);})[_0x37363d(0x15b)](()=>{_0x258786['xMFLq'](_0x35b7c7);});},{'platform':_0x549131['eeknh'](nestedKeyValue,global[_0x514c4f(0x109)],[_0x549131['MeWdw']]),'hookType':_0x549131['gMDbl']})();},'afterAll'(_0x55d6e8){const _0x176166=a36_0x11b55b,_0x4c70cd={'WLDlL':function(_0x1525bd){return _0x1525bd();},'faHBV':'Mocha','ZFalg':function(_0x58b806,_0x18d277,_0x4fcab9){return _0x58b806(_0x18d277,_0x4fcab9);},'lauSD':'index','mgCcV':_0x176166(0x1c4)},_0x4960bf='browserstack internal helper hook';this[_0x176166(0x108)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4c70cd[_0x176166(0x148)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x176166(0x15d)],()=>{const _0x59eb77=_0x176166;new Promise(async _0x54dc14=>{const _0x25bcc6=a36_0x2452;await global[_0x25bcc6(0x153)](),_0x4c70cd[_0x25bcc6(0x1c7)](_0x54dc14);})[_0x59eb77(0x15b)]()['finally'](()=>{const _0x2fadba=_0x59eb77;_0x4c70cd[_0x2fadba(0x1c7)](_0x55d6e8);});},{'platform':_0x4c70cd['ZFalg'](nestedKeyValue,global[_0x176166(0x109)],[_0x4c70cd[_0x176166(0x128)]]),'hookType':_0x4c70cd[_0x176166(0x19b)]})();}};
|
|
1
|
+
const a36_0x54d2f5=a36_0x2f41;(function(_0x1efc14,_0x5ed9a7){const _0x2e9249=a36_0x2f41,_0x298302=_0x1efc14();while(!![]){try{const _0x25f9bb=-parseInt(_0x2e9249(0x69))/0x1+parseInt(_0x2e9249(0xd2))/0x2+parseInt(_0x2e9249(0xbf))/0x3+parseInt(_0x2e9249(0x6b))/0x4+-parseInt(_0x2e9249(0x70))/0x5+-parseInt(_0x2e9249(0xa9))/0x6+parseInt(_0x2e9249(0xdb))/0x7;if(_0x25f9bb===_0x5ed9a7)break;else _0x298302['push'](_0x298302['shift']());}catch(_0x776bc8){_0x298302['push'](_0x298302['shift']());}}}(a36_0x27ab,0xbebc2));const util=require(a36_0x54d2f5(0xc3)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x54d2f5(0xbc)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x54d2f5(0xea)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a36_0x54d2f5(0x9a)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x54d2f5(0x6e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x54d2f5(0xac)),globals=require(a36_0x54d2f5(0xdf)),logger=require(a36_0x54d2f5(0xb4))[a36_0x54d2f5(0x9c)],{shouldProcessEventForTesthub}=require(a36_0x54d2f5(0x65)),testHubConstants=require('../../helpers/testhub/constants');function a36_0x27ab(){const _0x3511d6=['qdrHv','SESSION_NAME','\x20-\x20','fyKSn','LrMUP','afterEach','2352942YqhQKY','measureWrapper','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','index','app','kWlZx','GcGnW','hcQDd','BROWSERSTACK_TESTHUB_UUID','4159869llGhyA','qZIkf','wqFkK','dokmb','../../helpers/globals','__error_messages__','end','browserstackSessionName','executeScript','Mocha','length','DKPXb','SYNC','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','vSdmj','../utils/constants','ZFojQ','shift','exORP','OfHVq','oVgJr','driverCleanup','env','SAVE_RESULTS','initQuit','thBuildUuid','SRJIg','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ObservabilitySync:','Accessibility\x20scan\x20completed\x20successfully','timeout','iOwUW','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','__skipSessionName','stringify','beforeAll','accessibilityScanStarted','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','shouldScanTestForAccessibility','push','hevyd','Brpuv','debug','qksML','\x20|\x20','browserstackTestName','Frvvd','protocol','../../helpers/testhub/utils','join','thTestRunUuid','bBlYF','1116531oVMJtY','UzeJL','3882976sAJlei','state','error','../../helpers/performance/performance-tester','SESSION_STATUS','168630idJABi','session_','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Nnpnb','__drivers','nzkOS','LEhVE','afterAll','Automate\x20test\x20case\x20execution\x20has\x20started.','isAccessibilityPlatform','then','Cwqrt','khCNk','titlePath','pyiEi','BROWSERSTACK_TESTHUB_JWT','mochaHooks','setGlobal','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','HBRBo','blHAy','warn','ebmAY','saveAccessibilityResultsWithRetry','sessionNameSet__','failed','lqeDh','yMybO','GAegh','afterTest','fRIsv','bstackA11yShouldScan','info','gHYfj','FVMke','kCLpX','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','__sessionFailed','mtrQf','wowqv','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','vrIkk','./test-observability/mochaUtils','percyCaptureMode','winstonLogger','PaDEp','passed','BKUwP','https:','njsYx','command','testAnalyticsId','isArray','MayMK','ENV_VAR','performScanWithRetry','IxoXK','5382186icvkCM','bZKeO','qPigG','../../helpers/performance/constants','ogrrI','duZIc','rYDvB','message','mlDKm','AZtkT','EPabb','../../helpers/logger','start','getGlobal','capabilities','yUOMM','mJjjH','err','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/accessibility-automation/helper','currentTest','quitCount_','261168gqSGOX','ClZnP','SDK_HOOK','PERFORM_SCAN','util','http:','Failed:\x20','testcase','sessionName','.\x20Error\x20:','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','__platformCaps',',\x22level\x22:\x20\x22'];a36_0x27ab=function(){return _0x3511d6;};return a36_0x27ab();}function a36_0x2f41(_0x3858ed,_0x3958e1){const _0x27aba0=a36_0x27ab();return a36_0x2f41=function(_0x2f4191,_0x32ca22){_0x2f4191=_0x2f4191-0x65;let _0x4f9dba=_0x27aba0[_0x2f4191];return _0x4f9dba;},a36_0x2f41(_0x3858ed,_0x3958e1);}exports[a36_0x54d2f5(0x80)]={'beforeAll'(){const _0x55319d=a36_0x54d2f5,_0x181529={'bBlYF':function(_0x5e2785,_0x391740,_0xd7b85a,_0x1fd02f){return _0x5e2785(_0x391740,_0xd7b85a,_0x1fd02f);},'ZFojQ':_0x55319d(0x89),'tKNAN':_0x55319d(0x109),'Nnpnb':function(_0x42d7ad,_0x16c45b,_0x38179c){return _0x42d7ad(_0x16c45b,_0x38179c);},'GcGnW':_0x55319d(0x9e),'HBRBo':function(_0x26d205){return _0x26d205();},'gHYfj':'index','qPigG':_0x55319d(0xff)};PerformanceTester['startMonitoring']();const _0xb4cc55='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x55319d(0xc1)],()=>{const _0x18fe39=_0x55319d;global[_0x18fe39(0xe0)]=[],global[_0x18fe39(0x95)]=![],global[_0x18fe39(0xf0)]=async()=>{const _0x30b5aa=_0x18fe39;let _0x1b4fd7=![];try{await global[_0x30b5aa(0x74)][0x0][_0x30b5aa(0x71)],_0x1b4fd7=!![],global[_0x30b5aa(0x95)]?await _0x181529[_0x30b5aa(0x68)](markSessionStatus,global[_0x30b5aa(0x74)][0x0],_0x181529[_0x30b5aa(0xeb)],global['__error_messages__'][_0x30b5aa(0x66)](_0x181529['tKNAN'])):await _0x181529[_0x30b5aa(0x73)](markSessionStatus,global[_0x30b5aa(0x74)][0x0],_0x181529[_0x30b5aa(0xd8)]);}catch(_0x2293ac){logger['debug'](_0x30b5aa(0xd4)+_0x2293ac);}global[_0x30b5aa(0xe0)]=[],global[_0x30b5aa(0x95)]=![];if(_0x1b4fd7)try{try{_0x181529[_0x30b5aa(0x83)](shouldProcessEventForTesthub)&&(global[_0x30b5aa(0x74)][0x0]&&await _0x181529[_0x30b5aa(0x73)](sendPlatformDetails,global[_0x30b5aa(0x74)][0x0],this['currentTest']?this[_0x30b5aa(0xbd)][_0x30b5aa(0xa3)]:null));}catch(_0x1af3dc){logger[_0x30b5aa(0x107)]('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x1af3dc);}await global[_0x30b5aa(0x74)][0x0][_0x30b5aa(0xf3)]();}catch(_0x51ed5d){logger[_0x30b5aa(0x107)](_0x30b5aa(0x98)+_0x51ed5d);}};},{'platform':_0x181529[_0x55319d(0x73)](nestedKeyValue,global['__platformCaps'],[_0x181529[_0x55319d(0x91)]]),'hookType':_0x181529[_0x55319d(0xab)]})();},'beforeEach'(_0x2bd991){const _0x2a6b9b=a36_0x54d2f5,_0x485e22={'gaDig':function(_0x23f247,_0x1ac07f){return _0x23f247>_0x1ac07f;},'EPabb':function(_0x312834,_0x35e158){return _0x312834>_0x35e158;},'MayMK':_0x2a6b9b(0xce),'kWlZx':function(_0x2e6348,_0x268202,_0x297e09){return _0x2e6348(_0x268202,_0x297e09);},'BKUwP':_0x2a6b9b(0x8f),'duZIc':function(_0x3e950e){return _0x3e950e();},'CnRYm':function(_0x3dfc01,_0x2f8cc7){return _0x3dfc01>_0x2f8cc7;},'mlDKm':_0x2a6b9b(0x79),'Frvvd':function(_0x1f2974,_0x563af5){return _0x1f2974===_0x563af5;},'zPMKB':_0x2a6b9b(0xc4),'LEhVE':_0x2a6b9b(0xa0),'qdrHv':_0x2a6b9b(0x82),'tjBFl':_0x2a6b9b(0x78),'vAjJu':_0x2a6b9b(0x10a),'PaDEp':'index','fRIsv':'beforeEach'};globals['setGlobal'](_0x485e22['vAjJu'],this[_0x2a6b9b(0xbd)]['titlePath']()[_0x2a6b9b(0x66)](_0x485e22[_0x2a6b9b(0xa5)])),PerformanceTester[_0x2a6b9b(0xd3)](PerformanceSdkEvents[_0x2a6b9b(0xc1)],()=>{const _0xb6c26e=_0x2a6b9b,_0x438afb='browserstack internal helper hook';new Promise(async _0x3edc5c=>{const _0x30912a=a36_0x2f41;let _0x2ae806=!![];try{_0x485e22['gaDig'](global[_0x30912a(0x74)][_0x30912a(0xe5)],0x1)&&(await global[_0x30912a(0xf0)](),global[_0x30912a(0x74)][_0x30912a(0xec)]()),_0x485e22[_0x30912a(0xb3)](global[_0x30912a(0x74)][0x0][_0x30912a(0xbe)],0x0)&&(_0x2ae806=![],await global['driverCleanup']());}catch(_0x49c65a){logger['debug'](_0x30912a(0x98)+_0x49c65a);}try{Array['isArray'](global[_0x30912a(0x74)])&&global[_0x30912a(0x74)][0x0]&&(global[_0x30912a(0x74)][0x0][_0x30912a(0xe2)]=this[_0x30912a(0xbd)]['titlePath']()[_0x30912a(0x66)](_0x485e22['MayMK'])),global[_0x30912a(0xe2)]=this['currentTest'][_0x30912a(0x7d)]()[_0x30912a(0x66)](_0x485e22[_0x30912a(0xa5)]);}catch(_0x1698e2){logger[_0x30912a(0x107)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x1698e2);}this[_0x30912a(0xbd)][_0x30912a(0x103)]=_0x485e22[_0x30912a(0xd7)](shouldScanTestForAccessibility,this['currentTest'][_0x30912a(0x7d)](),!![]),globals[_0x30912a(0x81)](_0x485e22[_0x30912a(0x9f)],this[_0x30912a(0xbd)][_0x30912a(0x103)]),this['currentTest'][_0x30912a(0x100)]=!![];if(_0x485e22[_0x30912a(0xae)](isAccessibilityAutomationSession)&&_0x2ae806&&Array[_0x30912a(0xa4)](global[_0x30912a(0x74)])&&_0x485e22['CnRYm'](global[_0x30912a(0x74)][_0x30912a(0xe5)],0x0)&&globals[_0x30912a(0xb6)](_0x485e22[_0x30912a(0xb1)]))try{const _0x158994=await global[_0x30912a(0x74)][0x0][_0x30912a(0x71)];if(_0x158994){let _0x188229=!![];const _0x20883f=await global['__drivers'][0x0]['getCurrentUrl']();let _0x856ee9;try{_0x856ee9=new URL(_0x20883f);}catch(_0x44effa){_0x188229=![];}_0x188229=_0x485e22[_0x30912a(0x10b)](_0x856ee9[_0x30912a(0x10c)],_0x485e22['zPMKB'])||_0x485e22[_0x30912a(0x10b)](_0x856ee9[_0x30912a(0x10c)],_0x485e22[_0x30912a(0x76)]),_0x188229&&(this[_0x30912a(0xbd)][_0x30912a(0x103)]&&logger[_0x30912a(0x90)](_0x485e22[_0x30912a(0xcc)])),this['currentTest']['accessibilityScanStarted']=this['currentTest'][_0x30912a(0x103)],this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x30912a(0x90)](_0x485e22['tjBFl']);}}catch(_0x50ea6a){logger[_0x30912a(0x6d)](_0x30912a(0xfc)+util['format'](_0x50ea6a));}_0x485e22['duZIc'](_0x3edc5c);})[_0xb6c26e(0x7a)](()=>{const _0x38cb6d=_0xb6c26e;_0x485e22[_0x38cb6d(0xae)](_0x2bd991);});},{'platform':_0x485e22['kWlZx'](nestedKeyValue,global['__platformCaps'],[_0x485e22[_0x2a6b9b(0x9d)]]),'hookType':_0x485e22[_0x2a6b9b(0x8e)]})();},'afterEach'(_0x53cb41){const _0x10e726=a36_0x54d2f5,_0x432feb={'fyKSn':'\x20-\x20','lqeDh':function(_0x1a266f,_0x5b09e8){return _0x1a266f!==_0x5b09e8;},'GAegh':_0x10e726(0x9e),'Brpuv':function(_0x26f25f,_0x129760,_0x42df82){return _0x26f25f(_0x129760,_0x42df82);},'mJjjH':function(_0x28b450,_0x25bb96){return _0x28b450+_0x25bb96;},'AZtkT':_0x10e726(0xc5),'hcQDd':_0x10e726(0x6d),'njsYx':'Passed','blHAy':_0x10e726(0x90),'yUOMM':function(_0xe591c7,_0x3197d1){return _0xe591c7>_0x3197d1;},'rYDvB':function(_0x3aac94,_0x4fc615){return _0x3aac94===_0x4fc615;},'ClZnP':_0x10e726(0xc6),'IKSbv':function(_0x3d0d7b,_0x541f69){return _0x3d0d7b>_0x541f69;},'mpjWG':'appium:app','hevyd':function(_0x5c86bd,_0x533f8f,_0x50251e,_0x23ac92){return _0x5c86bd(_0x533f8f,_0x50251e,_0x23ac92);},'OfHVq':_0x10e726(0x79),'ebmAY':_0x10e726(0x8f),'wowqv':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','znzwm':_0x10e726(0xc9),'xRZwU':_0x10e726(0x8d),'MVfHk':_0x10e726(0xf9),'oVgJr':_0x10e726(0xf7),'dokmb':'Accessibility\x20results\x20saved\x20successfully','exORP':_0x10e726(0x94),'fUYvR':_0x10e726(0x72),'wqFkK':function(_0x1b0478){return _0x1b0478();},'LrMUP':function(_0xf20278){return _0xf20278();},'vrIkk':function(_0x2a915c,_0x25d419,_0x424e6f){return _0x2a915c(_0x25d419,_0x424e6f);},'bZKeO':_0x10e726(0x107),'yMybO':function(_0x1e538b){return _0x1e538b();},'DKPXb':_0x10e726(0xe4),'AFowL':_0x10e726(0xd5),'rquWt':_0x10e726(0xd1)},_0x95240d='browserstack internal helper hook';this[_0x10e726(0xfa)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x432feb[_0x10e726(0xe6)]]),global[_0x10e726(0xc7)]=this['currentTest'][_0x10e726(0x7d)]()[_0x10e726(0x66)](_0x432feb['fyKSn']),PerformanceTester[_0x10e726(0xd3)](PerformanceSdkEvents[_0x10e726(0xc1)],()=>{const _0x3516b8=_0x10e726,_0x15514c=async(_0x3e3c3e,_0x362733)=>{const _0x190a28=a36_0x2f41;await global[_0x190a28(0x74)][0x0][_0x190a28(0xe3)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3e3c3e+_0x190a28(0xcb)+_0x362733+'\x22}}');};new Promise(async _0x223271=>{const _0x231702=a36_0x2f41,_0x1f9cfd={'qksML':_0x432feb[_0x231702(0xcf)],'ogrrI':function(_0x1d38b3,_0x5fd4c9){const _0x3df972=_0x231702;return _0x432feb[_0x3df972(0x8a)](_0x1d38b3,_0x5fd4c9);},'ULCqR':_0x432feb[_0x231702(0x8c)],'SRJIg':function(_0x2db5f9,_0x40f00c,_0xf58c3a){const _0x4c19e4=_0x231702;return _0x432feb[_0x4c19e4(0x106)](_0x2db5f9,_0x40f00c,_0xf58c3a);},'vSdmj':function(_0x1a88f8,_0x4a9a97){const _0x2c151f=_0x231702;return _0x432feb[_0x2c151f(0xb9)](_0x1a88f8,_0x4a9a97);},'JPewj':_0x432feb[_0x231702(0xb2)],'pyiEi':_0x432feb[_0x231702(0xd9)],'nzkOS':function(_0x2e24ac,_0x4e5895,_0x24483d){const _0x1ca609=_0x231702;return _0x432feb[_0x1ca609(0x106)](_0x2e24ac,_0x4e5895,_0x24483d);},'iOwUW':_0x432feb[_0x231702(0xa1)],'khCNk':_0x432feb[_0x231702(0x84)]};try{_0x432feb[_0x231702(0xb8)](global[_0x231702(0x74)][_0x231702(0xe5)],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x231702(0xe0)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x432feb[_0x231702(0xaf)](global[_0x231702(0x9b)],_0x432feb[_0x231702(0xc0)])&&global[_0x231702(0x74)][0x0]){const _0x7310c4=_0x432feb['IKSbv'](global['capabilities']['length'],0x0)?!!global[_0x231702(0xb7)][0x0]['app']||!!global['capabilities'][0x0][_0x432feb['mpjWG']]:![],_0x1c636e={};_0x1c636e[_0x231702(0xd6)]=_0x7310c4,await _0x432feb[_0x231702(0x105)](percyAutoCapture,global[_0x231702(0x74)][0x0],_0x432feb[_0x231702(0xc0)],_0x1c636e);}}catch(_0x41e27c){logger['debug'](_0x231702(0x101)+_0x41e27c);}!global[_0x231702(0xfd)]&&(await PerformanceTester[_0x231702(0xd3)](PerformanceAutEvents[_0x231702(0xcd)],async()=>{const _0x15d0e5=_0x231702;await global['__drivers'][0x0]['executeScript'](_0x15d0e5(0x102)+JSON[_0x15d0e5(0xfe)](this['currentTest'][_0x15d0e5(0x7d)]()[_0x15d0e5(0x66)](_0x1f9cfd[_0x15d0e5(0x108)]))+'}}');})(),global[_0x231702(0x74)][0x0][_0x231702(0x88)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x231702(0x6f)],async()=>{const _0x10e145=_0x231702,_0x266f03=_0x1f9cfd[_0x10e145(0xad)](this['currentTest'][_0x10e145(0x6c)],_0x1f9cfd['ULCqR']);_0x266f03?(global['__sessionFailed']=!![],global[_0x10e145(0xe0)][_0x10e145(0x104)](this[_0x10e145(0xbd)]['err'][_0x10e145(0xb0)]),await _0x1f9cfd[_0x10e145(0xf5)](_0x15514c,JSON[_0x10e145(0xfe)](_0x1f9cfd[_0x10e145(0xe9)](_0x1f9cfd['JPewj'],this[_0x10e145(0xbd)][_0x10e145(0xba)][_0x10e145(0xb0)])),_0x1f9cfd[_0x10e145(0x7e)])):await _0x1f9cfd[_0x10e145(0x75)](_0x15514c,JSON[_0x10e145(0xfe)](_0x1f9cfd[_0x10e145(0xfb)]),_0x1f9cfd[_0x10e145(0x7c)]);})();}catch(_0x59fab2){logger[_0x231702(0x107)](_0x231702(0xe8)+_0x59fab2);}try{if(this[_0x231702(0xbd)]['accessibilityScanStarted']&&globals[_0x231702(0xb6)](_0x432feb[_0x231702(0xee)])&&globals[_0x231702(0xb6)](_0x432feb[_0x231702(0x86)])){logger['info'](_0x432feb[_0x231702(0x97)]);const _0x65b0b5={};_0x65b0b5[_0x231702(0x67)]=this[_0x231702(0xbd)]['testAnalyticsId'],_0x65b0b5[_0x231702(0xf4)]=process[_0x231702(0xf1)][testHubConstants['ENV_VAR'][_0x231702(0xda)]],_0x65b0b5['thJwtToken']=process[_0x231702(0xf1)][testHubConstants[_0x231702(0xa6)][_0x231702(0x7f)]];const _0x5efc46=_0x65b0b5;logger[_0x231702(0x107)](_0x231702(0xbb)+JSON['stringify'](_0x5efc46)),logger[_0x231702(0x107)](_0x432feb['znzwm']);const _0x481e52={};_0x481e52[_0x231702(0xa2)]=_0x432feb['xRZwU'];const _0x260759=await PerformanceTester[_0x231702(0xd3)](PerformanceA11yEvents[_0x231702(0xc2)],async()=>{const _0x315b1e=_0x231702;return await accessibilityRetryHelper[_0x315b1e(0xa7)](global[_0x315b1e(0x74)][0x0],global[_0x315b1e(0xe2)]);},_0x481e52)();_0x260759?logger[_0x231702(0x107)](_0x432feb['MVfHk']):logger['warn'](_0x432feb[_0x231702(0xef)]);const _0x1028f3=await PerformanceTester[_0x231702(0xd3)](PerformanceA11yEvents[_0x231702(0xf2)],async()=>{const _0x332428=_0x231702;return await accessibilityRetryHelper[_0x332428(0x87)](global[_0x332428(0x74)][0x0],_0x5efc46);})();_0x1028f3?logger[_0x231702(0x107)](_0x432feb[_0x231702(0xde)]):logger[_0x231702(0x85)](_0x432feb[_0x231702(0xed)]),logger['info'](_0x432feb['fUYvR']);}}catch(_0x5c92f3){logger[_0x231702(0x6d)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x231702(0xbd)]['titlePath']()+_0x231702(0xc8),_0x5c92f3);}try{try{if(_0x432feb[_0x231702(0xdd)](shouldProcessEventForTesthub)){global[_0x231702(0x74)][0x0]&&await _0x432feb[_0x231702(0x106)](sendPlatformDetails,global[_0x231702(0x74)][0x0],this[_0x231702(0xbd)]?this[_0x231702(0xbd)][_0x231702(0xa3)]:null);if(_0x432feb[_0x231702(0xd0)](isBrowserstackInfra)){PerformanceTester[_0x231702(0xb5)](PerformanceO11yEvents[_0x231702(0xe7)]);const _0x1d54dc=_0x231702(0xf8)+Date['now']();await _0x432feb[_0x231702(0x99)](_0x15514c,JSON[_0x231702(0xfe)](_0x1d54dc),_0x432feb[_0x231702(0xaa)]),PerformanceTester[_0x231702(0xe1)](PerformanceO11yEvents[_0x231702(0xe7)]);}}}catch(_0x57eff6){logger[_0x231702(0x107)](_0x231702(0xf6)+_0x57eff6),PerformanceTester['end'](PerformanceO11yEvents[_0x231702(0xe7)],![],_0x57eff6);}_0x432feb['IKSbv'](global[_0x231702(0x74)][0x0][_0x231702(0xbe)],0x0)&&await global[_0x231702(0xf0)]();}catch(_0x62343e){logger['debug'](_0x231702(0x98)+_0x62343e);}_0x432feb[_0x231702(0x8b)](_0x223271);})[_0x3516b8(0x7a)](()=>{const _0x23bee8=_0x3516b8;_0x432feb[_0x23bee8(0x8b)](_0x53cb41);});},{'platform':_0x432feb['vrIkk'](nestedKeyValue,global[_0x10e726(0xca)],[_0x432feb['AFowL']]),'hookType':_0x432feb['rquWt']})();},'afterAll'(_0x335325){const _0x662029=a36_0x54d2f5,_0xc2fd61={'IxoXK':function(_0x449422){return _0x449422();},'fPoDq':function(_0x2133bd){return _0x2133bd();},'FVMke':_0x662029(0xe4),'mtrQf':function(_0x4cdc07,_0x577cd8,_0x5deede){return _0x4cdc07(_0x577cd8,_0x5deede);},'UzeJL':_0x662029(0xd5),'Cwqrt':_0x662029(0x77)},_0x39b019='browserstack internal helper hook';this[_0x662029(0xfa)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xc2fd61[_0x662029(0x92)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x14c09e={'kCLpX':function(_0x306df3){const _0x1e4190=a36_0x2f41;return _0xc2fd61[_0x1e4190(0xa8)](_0x306df3);},'qZIkf':function(_0x239473){return _0xc2fd61['fPoDq'](_0x239473);}};new Promise(async _0x3f8599=>{const _0x152134=a36_0x2f41;await global[_0x152134(0xf0)](),_0x14c09e[_0x152134(0x93)](_0x3f8599);})['then']()['finally'](()=>{const _0x1dbcd2=a36_0x2f41;_0x14c09e[_0x1dbcd2(0xdc)](_0x335325);});},{'platform':_0xc2fd61[_0x662029(0x96)](nestedKeyValue,global['__platformCaps'],[_0xc2fd61[_0x662029(0x6a)]]),'hookType':_0xc2fd61[_0x662029(0x7b)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a37_0x5126af=a37_0x5bbb;(function(_0x593ca0,_0x258071){const _0x153d99=a37_0x5bbb,_0x2c38b5=_0x593ca0();while(!![]){try{const _0x10ebac=-parseInt(_0x153d99(0x220))/0x1*(parseInt(_0x153d99(0x1e8))/0x2)+-parseInt(_0x153d99(0x21b))/0x3*(-parseInt(_0x153d99(0x1fe))/0x4)+parseInt(_0x153d99(0x230))/0x5+parseInt(_0x153d99(0x1e6))/0x6+parseInt(_0x153d99(0x1ff))/0x7*(-parseInt(_0x153d99(0x209))/0x8)+parseInt(_0x153d99(0x1f0))/0x9+parseInt(_0x153d99(0x1fd))/0xa*(-parseInt(_0x153d99(0x225))/0xb);if(_0x10ebac===_0x258071)break;else _0x2c38b5['push'](_0x2c38b5['shift']());}catch(_0x2b34e0){_0x2c38b5['push'](_0x2c38b5['shift']());}}}(a37_0x160b,0xca671));function a37_0x160b(){const _0x51a691=['Getting\x20your\x20nightwatch\x20configs\x20from\x20','modifyBrowserStackCaps','87PdFQpE','trim','NweJj','ZIYrB','debug','2lTpCGD','winstonLogger','path','ZQywa','FZJce','2222bKPIMa','--env','filter','split','info','mergeDeep','writeFileSync','iuTrd','push','Deleting\x20','env','6070870uZdCgy','map','stringify','3953508nRuKRI','RHFKO','618078RxqBbS','join','../utils/constants','nightwatch-browserstack.json','cwd','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','NvlCg','2827422zsdzaJ','xrfkK','rdlJf','nightwatch.json','findIndex','PQBKs','child\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup','BoNpy','nightwatch','inherit','GBlHy','host','55570mCXepi','119252vzFmIp','1687679WvVbJf','exports','existsSync','Rpnoi','port','test_settings','bcqZx','../../helpers/logger','unlinkSync','webdriver','16kbOaPb','config','csdfi','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','zkOYl','../../helpers/helper','isUndefined','splice','YKBJb','start_process','test','platform','--config','getPlatformName','platforms','length'];a37_0x160b=function(){return _0x51a691;};return a37_0x160b();}const fs=require('fs'),path=require(a37_0x5126af(0x222)),{spawn}=require('child_process'),logger=require(a37_0x5126af(0x206))[a37_0x5126af(0x221)],{default:BrowserStackSetup}=require(a37_0x5126af(0x1f7)),helper=require(a37_0x5126af(0x20e)),constants=require(a37_0x5126af(0x1ea)),getUserNightwatchConfigs=(_0x20e588,_0x218df1)=>{const _0x5683ef=a37_0x5126af,_0x5cac35={'RHFKO':'nightwatch.conf.js','GBlHy':_0x5683ef(0x1f3),'lzSrY':function(_0x15fc18,_0x34e623){return _0x15fc18(_0x34e623);},'rdlJf':_0x5683ef(0x20c)};let _0x2fbd0d=null,_0x110d43={};const _0x30907d=_0x218df1[_0x5683ef(0x1f4)](_0xa1070c=>_0xa1070c===_0x5683ef(0x215));if(!helper[_0x5683ef(0x20f)](_0x20e588[_0x5683ef(0x20a)])&&fs[_0x5683ef(0x201)](path[_0x5683ef(0x1e9)](process['cwd'](),_0x20e588[_0x5683ef(0x20a)])))_0x2fbd0d=path[_0x5683ef(0x1e9)](process['cwd'](),_0x20e588['config']),_0x218df1[_0x5683ef(0x210)](_0x30907d,0x2);else{if(fs[_0x5683ef(0x201)](path[_0x5683ef(0x1e9)](process['cwd'](),_0x5cac35[_0x5683ef(0x1e7)])))_0x2fbd0d=path[_0x5683ef(0x1e9)](process[_0x5683ef(0x1ec)](),_0x5cac35[_0x5683ef(0x1e7)]);else fs['existsSync'](path[_0x5683ef(0x1e9)](process['cwd'](),_0x5cac35[_0x5683ef(0x1fb)]))&&(_0x2fbd0d=path[_0x5683ef(0x1e9)](process[_0x5683ef(0x1ec)](),_0x5cac35[_0x5683ef(0x1fb)]));}return _0x2fbd0d?(logger[_0x5683ef(0x229)](_0x5683ef(0x219)+_0x2fbd0d),_0x110d43=_0x5cac35['lzSrY'](require,_0x2fbd0d)):logger[_0x5683ef(0x229)](_0x5cac35[_0x5683ef(0x1f2)]),_0x110d43;},removeExistingEnvs=_0x167e41=>{const _0x42ca13=a37_0x5126af,_0xc576dc={};_0xc576dc['PQBKs']=function(_0x1bc89d,_0x5de8d0){return _0x1bc89d>_0x5de8d0;};const _0x5c27dc=_0xc576dc;let _0x1d72e1=_0x167e41[_0x42ca13(0x1f4)](_0x5ee190=>_0x5ee190===_0x42ca13(0x226));_0x5c27dc[_0x42ca13(0x1f5)](_0x1d72e1,-0x1)&&_0x167e41['splice'](_0x1d72e1,0x2),_0x1d72e1=_0x167e41['findIndex'](_0x47d233=>_0x47d233==='-e'),_0x5c27dc[_0x42ca13(0x1f5)](_0x1d72e1,-0x1)&&_0x167e41[_0x42ca13(0x210)](_0x1d72e1,0x2);};function run(_0x29b54b,_0x44e875,_0x23fca4){const _0x1b752d=a37_0x5126af,_0xd87b00={'NweJj':_0x1b752d(0x1f9),'csdfi':function(_0x9ac67b,_0x59a376){return _0x9ac67b+_0x59a376;},'fuEvS':_0x1b752d(0x204),'ZIYrB':function(_0x56ef6a,_0x3bb1fb,_0x479734){return _0x56ef6a(_0x3bb1fb,_0x479734);},'bcqZx':'hub.browserstack.com','zkOYl':_0x1b752d(0x1ed),'Rpnoi':function(_0x1305be,_0x4a157d){return _0x1305be===_0x4a157d;},'FZJce':_0x1b752d(0x1eb),'ZQywa':function(_0x3bb2ed,_0x3e50dc){return _0x3bb2ed(_0x3e50dc);},'cBdzR':function(_0x58a70b,_0x19ee73,_0x1b8ec0,_0x159ac9){return _0x58a70b(_0x19ee73,_0x1b8ec0,_0x159ac9);},'BBswY':'nightwatch.cmd','YKBJb':_0x1b752d(0x215),'QQqgz':_0x1b752d(0x226),'iuTrd':_0x1b752d(0x1fa),'BoNpy':'close'};if(!_0x23fca4['config'])return;const _0xcc7bbc=_0xd87b00[_0x1b752d(0x21e)](getUserNightwatchConfigs,_0x29b54b,_0x44e875),_0xbbf590={};_0xbbf590[_0x1b752d(0x212)]=![];const _0x2900ae={};_0x2900ae[_0x1b752d(0x1fc)]=_0xd87b00[_0x1b752d(0x205)],_0x2900ae[_0x1b752d(0x203)]=0x1bb;const _0x9b54e0={};_0x9b54e0[_0x1b752d(0x208)]=_0xbbf590,_0x9b54e0['selenium']=_0x2900ae;const _0x2f5a92=_0x9b54e0;logger[_0x1b752d(0x229)](_0xd87b00[_0x1b752d(0x20d)]);const _0x21e5f4={..._0xcc7bbc},_0x46c539=_0x21e5f4,_0x5a9dcd=helper['useW3C'](_0x23fca4[_0x1b752d(0x20a)]),_0x1b2db1=[];_0x23fca4['config'][_0x1b752d(0x217)][_0x1b752d(0x1ee)]((_0x3a9fa1,_0x47af0f)=>{const _0x29b418=_0x1b752d;_0x5a9dcd?_0x1b2db1[_0x29b418(0x22d)](helper['modifyBrowserStackW3CCaps'](_0x23fca4[_0x29b418(0x20a)],_0xd87b00[_0x29b418(0x21d)],_0x47af0f)):_0x1b2db1[_0x29b418(0x22d)](helper[_0x29b418(0x21a)](_0x23fca4[_0x29b418(0x20a)],_0xd87b00[_0x29b418(0x21d)],_0x47af0f));});const _0x9e02b8={},_0x3c0bf2=[];_0x29b54b[_0x1b752d(0x22f)]=_0x29b54b[_0x1b752d(0x22f)]||_0x29b54b['e'];const _0x24a422=_0x29b54b[_0x1b752d(0x22f)]?_0x29b54b[_0x1b752d(0x22f)][_0x1b752d(0x21c)]()[_0x1b752d(0x228)](',')[_0x1b752d(0x231)](_0x1c3c0e=>_0x1c3c0e[_0x1b752d(0x21c)]())[_0x1b752d(0x227)](_0x51dbc6=>_0x51dbc6!==''):[''];_0xd87b00[_0x1b752d(0x202)](_0x24a422[_0x1b752d(0x218)],0x0)&&_0x24a422[_0x1b752d(0x22d)]('');_0x24a422[_0x1b752d(0x1ee)](_0x52cd67=>{const _0x36ad71=_0x1b752d,_0x48fba7={'NvlCg':function(_0x2be900,_0x57b8b9){const _0x2e0189=a37_0x5bbb;return _0xd87b00[_0x2e0189(0x20b)](_0x2be900,_0x57b8b9);},'xrfkK':_0xd87b00['fuEvS']};_0x1b2db1[_0x36ad71(0x1ee)](_0x2ce7c5=>{const _0x1f4901=_0x36ad71;let _0x3e2c70=_0x48fba7[_0x1f4901(0x1ef)](helper[_0x1f4901(0x216)](_0x2ce7c5,'_'),'_'+Date['now']());_0x52cd67&&(_0x3e2c70+='_'+_0x52cd67);if(_0x52cd67&&(!_0xcc7bbc[_0x48fba7[_0x1f4901(0x1f1)]]||!_0xcc7bbc[_0x48fba7[_0x1f4901(0x1f1)]][_0x52cd67]))return;const _0x5e2211={..._0x2f5a92};_0x5e2211['desiredCapabilities']=_0x2ce7c5;const _0x5f13fa=_0x5e2211;_0x9e02b8[_0x3e2c70]=_0x52cd67?helper[_0x1f4901(0x22a)](_0xcc7bbc[_0x48fba7[_0x1f4901(0x1f1)]][_0x52cd67],_0x5f13fa):_0x5f13fa,_0x3c0bf2['push'](_0x3e2c70);});});!_0x46c539[_0x1b752d(0x204)]&&(_0x46c539[_0x1b752d(0x204)]={});_0x46c539[_0x1b752d(0x204)]={..._0x46c539['test_settings'],..._0x9e02b8};const _0x3530d7=path[_0x1b752d(0x1e9)](__dirname,_0xd87b00[_0x1b752d(0x224)]);fs[_0x1b752d(0x22b)](_0x3530d7,JSON[_0x1b752d(0x1e5)](_0x46c539)),_0xd87b00[_0x1b752d(0x223)](removeExistingEnvs,_0x44e875);const _0x32081d=_0xd87b00['cBdzR'](spawn,/^win/[_0x1b752d(0x213)](process[_0x1b752d(0x214)])?_0xd87b00['BBswY']:_0xd87b00[_0x1b752d(0x21d)],[_0xd87b00[_0x1b752d(0x211)],_0x3530d7,..._0x44e875['slice'](0x1),_0xd87b00['QQqgz'],_0x3c0bf2[_0x1b752d(0x1e9)](',')],{'stdio':_0xd87b00[_0x1b752d(0x22c)]});_0x32081d['on'](_0xd87b00[_0x1b752d(0x1f8)],async _0xd23fb9=>{const _0x1b08e9=_0x1b752d;logger[_0x1b08e9(0x21f)](_0x1b08e9(0x1f6)+_0xd23fb9),logger[_0x1b08e9(0x229)](_0x1b08e9(0x22e)+_0x3530d7),fs[_0x1b08e9(0x207)](_0x3530d7);});}function a37_0x5bbb(_0x362e13,_0xd3747d){const _0x160b29=a37_0x160b();return a37_0x5bbb=function(_0x5bbbda,_0x1b06b7){_0x5bbbda=_0x5bbbda-0x1e5;let _0x5e2191=_0x160b29[_0x5bbbda];return _0x5e2191;},a37_0x5bbb(_0x362e13,_0xd3747d);}module[a37_0x5126af(0x200)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x1fbaa4=a38_0xe4b1;function a38_0x3670(){const _0x14b0d4=['10446vEiDIF','browser_version','wxjmD','WebDriver','replace','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','lefUF','Performing\x20scan\x20with\x20method:\x20','deviceName','../../helpers/accessibility-automation/helper','find','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','418898mDUmkN','qKJGf','XaIXM','browser','BuBdY','accessibilityOptions.includeIssueType.bestPractice','../../helpers/logger','3225bcUYlO','27axuFMv','JnvuX','../../helpers/performance/performance-tester','eXrSL','browserStackExecuteDriver','body','1956104sawfmq','name','iAxqu','TqGdG','amlJJ','caEen','includes','latest','hVnTh','processAccessibilityCaps','21khhaVC','request','connectOptions','VXFZb','rqSkS','parse','url','svPax','setAccessibilityCapabilities','8657936CSkqKO','command','accessibilityOptions.wcagVersion','message','warn','152574QmRrrI','measureWrapper','accessibilityOptions','WCcuW','parameters','DZaFF','osSjp','\x20page:\x20','PEYzF','Iiiyg','bofDL','Dfzjo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserstack.accessibility','bcJwR','aQDSF','debug','env','ZXJAY','5071912UiWRPB','opaec','scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','../../helpers/performance/constants','QJQzt','Playwright','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','(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','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','rUvxh','project','BS_A11Y_JWT','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','getAccessibilityResultsSummary','playwright-chromium','currentTest','string','wcagVersion','uSBGr','../../helpers/accessibility-automation/scripts','ZQLEV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','stringify','winstonLogger','ckcro','byUCt','PERFORM_SCAN','xfLTt','accessibilityPlatform','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Rlejo','accessibilityOptions.includeIssueType.needsReview','Gpoum','][\x20SDK-AUTOMATION\x20]\x20','accessibilityOptions.scannerProcessingTimeout','../utils/constants','constructor','qkIDS','4611780AsmccC','getAccessibilityResults','browserName','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','wsEndpoint','silly','FYYwa','No\x20summaryResults\x20found.','accessibilityOptions.scannerVersion','platformValidation','YxaYZ','rOrTG','use','UjVFB','util','executeAsyncScript','chrome','VTyVW','format','toISOString','DWhiX','needsReview'];a38_0x3670=function(){return _0x14b0d4;};return a38_0x3670();}(function(_0x11dd4d,_0x212e32){const _0x182638=a38_0xe4b1,_0x1ee1ea=_0x11dd4d();while(!![]){try{const _0x38d694=parseInt(_0x182638(0x194))/0x1+-parseInt(_0x182638(0x16e))/0x2*(parseInt(_0x182638(0x186))/0x3)+parseInt(_0x182638(0x1a7))/0x4+parseInt(_0x182638(0x175))/0x5*(parseInt(_0x182638(0x162))/0x6)+-parseInt(_0x182638(0x18f))/0x7+-parseInt(_0x182638(0x17c))/0x8+parseInt(_0x182638(0x176))/0x9*(parseInt(_0x182638(0x1d0))/0xa);if(_0x38d694===_0x212e32)break;else _0x1ee1ea['push'](_0x1ee1ea['shift']());}catch(_0x4765ba){_0x1ee1ea['push'](_0x1ee1ea['shift']());}}}(a38_0x3670,0xef247));const util=require(a38_0x1fbaa4(0x15a)),logger=require('../../helpers/logger')[a38_0x1fbaa4(0x1c0)],{automationLogger}=require(a38_0x1fbaa4(0x174)),{isAccessibilityAutomationSession}=require(a38_0x1fbaa4(0x16b)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x1fbaa4(0x1bc)),PerformanceTester=require(a38_0x1fbaa4(0x178)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x1fbaa4(0x1ab)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x1fbaa4(0x1cd));function a38_0xe4b1(_0x39bd31,_0x5f52b8){const _0x36703d=a38_0x3670();return a38_0xe4b1=function(_0xe4b16e,_0x2e1a27){_0xe4b16e=_0xe4b16e-0x153;let _0x3235a7=_0x36703d[_0xe4b16e];return _0x3235a7;},a38_0xe4b1(_0x39bd31,_0x5f52b8);}exports['browserStackEvaluate']=async(_0x4586c0,_0x28de20,_0x500c6a={})=>{const _0x3e0bb7=a38_0x1fbaa4,_0x3c3671={};_0x3c3671[_0x3e0bb7(0x18d)]='bstackSdkArgs',_0x3c3671[_0x3e0bb7(0x1c1)]=function(_0x389e4d,_0x15634b){return _0x389e4d===_0x15634b;},_0x3c3671[_0x3e0bb7(0x1a6)]=_0x3e0bb7(0x1b9);const _0x376b1e=_0x3c3671,_0x2e73e9=await _0x4586c0['evaluate']('(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'+_0x28de20[_0x3e0bb7(0x166)](/arguments/g,_0x376b1e['svPax'])+_0x3e0bb7(0x1c7)+JSON[_0x3e0bb7(0x1bf)](_0x500c6a)+')');try{if(_0x28de20&&_0x376b1e['ckcro'](typeof _0x28de20,_0x376b1e[_0x3e0bb7(0x1a6)])){const _0x51a8dc=AUTOMATION_LOG_COMMANDS[_0x3e0bb7(0x16c)](_0x3f88b1=>_0x28de20[_0x3e0bb7(0x182)](_0x3f88b1));if(_0x51a8dc){const _0x232d88={};_0x232d88['command']=_0x51a8dc,_0x232d88[_0x3e0bb7(0x198)]=[_0x500c6a];const _0x3784ef={};_0x3784ef[_0x3e0bb7(0x17b)]=_0x2e73e9;const _0x450b2f={};_0x450b2f[_0x3e0bb7(0x187)]=_0x232d88,_0x450b2f['response']=_0x3784ef,automationLogger[_0x3e0bb7(0x1d5)]('['+new Date()[_0x3e0bb7(0x15f)]()+_0x3e0bb7(0x1cb)+JSON[_0x3e0bb7(0x1bf)](_0x450b2f));}}}catch(_0x5c46fe){logger[_0x3e0bb7(0x1a4)](_0x3e0bb7(0x1b5)+_0x5c46fe[_0x3e0bb7(0x192)]);}return _0x2e73e9;},exports[a38_0x1fbaa4(0x17a)]=async(_0x4e30b3,_0x265390,_0x4361f3={})=>{const _0x92cb7f=a38_0x1fbaa4,_0x5acf02={};_0x5acf02[_0x92cb7f(0x19d)]=function(_0x365484,_0x3ff2dc){return _0x365484===_0x3ff2dc;},_0x5acf02[_0x92cb7f(0x157)]=_0x92cb7f(0x165),_0x5acf02[_0x92cb7f(0x181)]=function(_0x4bc349,_0x238810){return _0x4bc349===_0x238810;},_0x5acf02[_0x92cb7f(0x19e)]=_0x92cb7f(0x1ad),_0x5acf02[_0x92cb7f(0x19f)]='bstackSdkArgs';const _0x1e6c23=_0x5acf02;if(_0x1e6c23['Iiiyg'](_0x4e30b3[_0x92cb7f(0x1ce)][_0x92cb7f(0x17d)],_0x1e6c23[_0x92cb7f(0x157)]))return await _0x4e30b3[_0x92cb7f(0x15b)](_0x265390,_0x4361f3);else{if(_0x1e6c23[_0x92cb7f(0x181)](_0x4e30b3[_0x92cb7f(0x1ce)][_0x92cb7f(0x17d)],_0x1e6c23['bofDL']))return await _0x4e30b3['executeScript'](_0x92cb7f(0x1af)+_0x265390['replace'](/arguments/g,_0x1e6c23[_0x92cb7f(0x19f)])+_0x92cb7f(0x1b1)+JSON[_0x92cb7f(0x1bf)](_0x4361f3)+')');}},exports[a38_0x1fbaa4(0x18e)]=async _0x1870d7=>{const _0x4ce3ad=a38_0x1fbaa4,_0x2e6990={};_0x2e6990[_0x4ce3ad(0x1ca)]=_0x4ce3ad(0x191),_0x2e6990['TqGdG']=_0x4ce3ad(0x1cc),_0x2e6990['qKJGf']=_0x4ce3ad(0x173),_0x2e6990['VXFZb']=_0x4ce3ad(0x1c9),_0x2e6990[_0x4ce3ad(0x1cf)]='accessibilityOptions.authToken',_0x2e6990[_0x4ce3ad(0x156)]=_0x4ce3ad(0x154);const _0x573d5a=_0x2e6990;_0x1870d7[_0x4ce3ad(0x196)]&&(_0x1870d7['accessibilityOptions']['wcagVersion']&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x1ca)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1ba)]),_0x1870d7[_0x4ce3ad(0x196)]['scannerProcessingTimeout']&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x17f)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1a9)]),_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1b0)]&&(_0x1870d7[_0x573d5a[_0x4ce3ad(0x16f)]]=_0x1870d7[_0x4ce3ad(0x196)][_0x4ce3ad(0x1b0)]['bestPractice'],_0x1870d7[_0x573d5a[_0x4ce3ad(0x189)]]=_0x1870d7[_0x4ce3ad(0x196)]['includeIssueType'][_0x4ce3ad(0x161)]));const _0x4f62b3=JSON[_0x4ce3ad(0x18b)](process['env'][_0x4ce3ad(0x1c6)])['scannerVersion'];_0x1870d7[_0x573d5a[_0x4ce3ad(0x1cf)]]=process[_0x4ce3ad(0x1a5)][_0x4ce3ad(0x1b4)],_0x1870d7[_0x573d5a[_0x4ce3ad(0x156)]]=_0x4f62b3,delete _0x1870d7['accessibilityOptions'];},exports[a38_0x1fbaa4(0x1d1)]=async _0xc55af=>{const _0x3c8d81=a38_0x1fbaa4,_0x191dcc={};_0x191dcc[_0x3c8d81(0x1c8)]=_0x3c8d81(0x1aa),_0x191dcc[_0x3c8d81(0x1bb)]=_0x3c8d81(0x1ae);const _0x4ca72e=_0x191dcc;if(global[_0x3c8d81(0x1c5)])try{const details={'url':await _0xc55af.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(_0xc55af,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0xc55af,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x4ca72e[_0x3c8d81(0x1c8)]),[];}else return logger[_0x3c8d81(0x193)](_0x4ca72e[_0x3c8d81(0x1bb)]),[];},exports['performScan']=async(_0x25c46d,_0x4f91c5='')=>{const _0x587c64=a38_0x1fbaa4;logger[_0x587c64(0x1a4)](_0x587c64(0x169)+_0x4f91c5+_0x587c64(0x19b)+_0x25c46d);const _0x2f33c6={'url':await _0x25c46d[_0x587c64(0x18c)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x587c64(0x1b8)]?.['id']};if(global[_0x587c64(0x1c5)])return await PerformanceTester[_0x587c64(0x195)](PerformanceA11yEvents[_0x587c64(0x1c3)],async()=>{const _0xee0f54=_0x587c64,_0x47a544={};_0x47a544[_0xee0f54(0x190)]=_0x4f91c5;const _0x2adfe6=await exports['browserStackEvaluate'](_0x25c46d,scripts['performScan'],_0x47a544);return _0x2adfe6;},{'command':_0x4f91c5,..._0x2f33c6})();},exports[a38_0x1fbaa4(0x1b6)]=async _0x55dc78=>{const _0x463208=a38_0x1fbaa4,_0x1b6842={};_0x1b6842[_0x463208(0x19a)]=_0x463208(0x153),_0x1b6842[_0x463208(0x19c)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x43087a=_0x1b6842;if(global[_0x463208(0x1c5)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x55dc78,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x55dc78,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x463208(0x1a4)](_0x43087a[_0x463208(0x19a)]),{};}else return logger[_0x463208(0x193)](_0x43087a['PEYzF']),{};},exports[a38_0x1fbaa4(0x155)]=async _0x112631=>{const _0x5e3ac7=a38_0x1fbaa4,_0x24be3e={'lefUF':function(_0x2d98cc,_0xbd7ad9){return _0x2d98cc!==_0xbd7ad9;},'TXxMV':_0x5e3ac7(0x16d),'amlJJ':'chrome','WCcuW':_0x5e3ac7(0x1b7),'xfLTt':'chromium','byUCt':_0x5e3ac7(0x1be),'JnvuX':function(_0x11b073,_0x211081){return _0x11b073(_0x211081);},'BuBdY':function(_0x3a5eb9){return _0x3a5eb9();},'iAxqu':function(_0x12e9ce,_0x5c1b43){return _0x12e9ce<_0x5c1b43;},'DWhiX':_0x5e3ac7(0x1a0),'ZTqaa':function(_0x3f4977,_0x261b1f){return _0x3f4977===_0x261b1f;},'JPDNg':'latest','hVnTh':function(_0x3dc331,_0x57c359){return _0x3dc331>_0x57c359;},'aQDSF':_0x5e3ac7(0x1d3)};try{if(!_0x24be3e[_0x5e3ac7(0x168)](_0x112631[_0x5e3ac7(0x16a)],''))return logger[_0x5e3ac7(0x193)](_0x24be3e['TXxMV']),![];const _0x43f97a=_0x112631[_0x5e3ac7(0x171)];if(![_0x24be3e[_0x5e3ac7(0x180)],_0x24be3e[_0x5e3ac7(0x197)],_0x24be3e[_0x5e3ac7(0x1c4)]][_0x5e3ac7(0x182)](_0x43f97a))return logger[_0x5e3ac7(0x193)](_0x24be3e[_0x5e3ac7(0x1c2)]),![];const _0xa98081=_0x24be3e[_0x5e3ac7(0x177)](parseInt,_0x112631[_0x5e3ac7(0x163)]);!_0x24be3e[_0x5e3ac7(0x172)](isBrowserstackInfra)&&(!_0x24be3e[_0x5e3ac7(0x17e)](_0xa98081,0x64)&&logger[_0x5e3ac7(0x193)](_0x24be3e[_0x5e3ac7(0x160)]));if(!(_0x24be3e['ZTqaa'](_0xa98081,_0x24be3e['JPDNg'])||_0x24be3e[_0x5e3ac7(0x184)](_0xa98081,0x5e)))return logger['warn'](_0x24be3e[_0x5e3ac7(0x1a3)]),![];}catch(_0x5ab332){logger[_0x5e3ac7(0x1a4)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5e3ac7(0x15e)](_0x5ab332));}return!![];},exports[a38_0x1fbaa4(0x185)]=(_0x4bc7fd,_0x205eaf,_0x2e90ae)=>{const _0x1f30ed=a38_0x1fbaa4,_0x3dc34d={'wxjmD':function(_0x474b11){return _0x474b11();},'DZaFF':_0x1f30ed(0x1a1),'opaec':function(_0x1f7b1e,_0x1d4ceb){return _0x1f7b1e===_0x1d4ceb;},'ZQLEV':_0x1f30ed(0x15c),'XaIXM':_0x1f30ed(0x1b7),'eXrSL':_0x1f30ed(0x1be),'Agddj':function(_0x47e413){return _0x47e413();},'bcJwR':function(_0x36aaac,_0x1321fa){return _0x36aaac>_0x1321fa;},'FYYwa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','qqrKD':function(_0x30475a,_0x11510a){return _0x30475a===_0x11510a;},'QJQzt':_0x1f30ed(0x183),'rUvxh':_0x1f30ed(0x1d3),'VTyVW':function(_0x1849aa,_0x2dd239){return _0x1849aa(_0x2dd239);},'rqSkS':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','UjVFB':function(_0x466bb1,_0x542e2f){return _0x466bb1+_0x542e2f;}};try{if(_0x3dc34d[_0x1f30ed(0x164)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x4bc7fd[_0x3dc34d['DZaFF']]&&(global[_0x1f30ed(0x1c5)]=![]);!(_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd['browserName'],_0x3dc34d[_0x1f30ed(0x1bd)])||_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd[_0x1f30ed(0x1d2)],_0x3dc34d[_0x1f30ed(0x170)])||_0x3dc34d['opaec'](_0x4bc7fd[_0x1f30ed(0x171)],_0x3dc34d[_0x1f30ed(0x1bd)])||_0x3dc34d[_0x1f30ed(0x1a8)](_0x4bc7fd[_0x1f30ed(0x171)],_0x3dc34d[_0x1f30ed(0x170)]))&&(logger['warn'](_0x3dc34d[_0x1f30ed(0x179)]),global[_0x1f30ed(0x1c5)]=![]);!_0x3dc34d['Agddj'](isBrowserstackInfra)&&(!_0x3dc34d[_0x1f30ed(0x1a2)](_0x4bc7fd['browser_version'],0x64)&&logger['warn'](_0x3dc34d[_0x1f30ed(0x1d6)]));!(_0x3dc34d['qqrKD'](_0x4bc7fd[_0x1f30ed(0x163)],_0x3dc34d[_0x1f30ed(0x1ac)])||_0x3dc34d[_0x1f30ed(0x1a2)](_0x4bc7fd[_0x1f30ed(0x163)],0x5e))&&(logger['warn'](_0x3dc34d[_0x1f30ed(0x1b2)]),global[_0x1f30ed(0x1c5)]=![]);!_0x3dc34d[_0x1f30ed(0x15d)](isUndefined,_0x4bc7fd['deviceName'])&&(logger[_0x1f30ed(0x193)](_0x3dc34d[_0x1f30ed(0x18a)]),global[_0x1f30ed(0x1c5)]=![]);if(!global[_0x1f30ed(0x1c5)]){_0x4bc7fd[_0x3dc34d[_0x1f30ed(0x199)]]=![];const _0x323234=_0x3dc34d[_0x1f30ed(0x159)](_0x205eaf,_0x3dc34d[_0x1f30ed(0x15d)](encodeURIComponent,JSON[_0x1f30ed(0x1bf)](_0x4bc7fd)));_0x2e90ae&&(_0x2e90ae['currentTest']['testInfo'][_0x1f30ed(0x1b3)][_0x1f30ed(0x158)][_0x1f30ed(0x188)][_0x1f30ed(0x1d4)]=_0x323234,_0x2e90ae['workerInfo'][_0x1f30ed(0x1b3)]['use'][_0x1f30ed(0x188)]['wsEndpoint']=_0x323234);}}else global[_0x1f30ed(0x1c5)]=![];}catch(_0x43309a){logger[_0x1f30ed(0x1a4)](_0x1f30ed(0x167)+util['format'](_0x43309a));}};
|
|
1
|
+
const a38_0x3eb72c=a38_0x30e2;(function(_0x5b1350,_0x4c309a){const _0x233ae0=a38_0x30e2,_0x257ce1=_0x5b1350();while(!![]){try{const _0x38e826=-parseInt(_0x233ae0(0xf5))/0x1+parseInt(_0x233ae0(0x141))/0x2+parseInt(_0x233ae0(0xf3))/0x3*(parseInt(_0x233ae0(0x105))/0x4)+parseInt(_0x233ae0(0x15c))/0x5*(parseInt(_0x233ae0(0x108))/0x6)+parseInt(_0x233ae0(0x132))/0x7*(-parseInt(_0x233ae0(0xee))/0x8)+-parseInt(_0x233ae0(0x14d))/0x9+-parseInt(_0x233ae0(0x130))/0xa*(-parseInt(_0x233ae0(0x13f))/0xb);if(_0x38e826===_0x4c309a)break;else _0x257ce1['push'](_0x257ce1['shift']());}catch(_0x5da095){_0x257ce1['push'](_0x257ce1['shift']());}}}(a38_0x2926,0xc9846));function a38_0x2926(){const _0x4c7505=['5949747QhpNAI','XGNKs','name','getAccessibilityResults','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','CQoPg','debug','PERFORM_SCAN','PBbQh','KsGMG','performScan','Ootjn','executeScript','(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','BMvwJ','5CumgEa','kofWQ','OXQdN','find','connectOptions','accessibilityPlatform','UDGpY','message','accessibilityOptions.wcagVersion','../../helpers/performance/constants','includeIssueType','getAccessibilityResultsSummary','unVvY','HggIn','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','project','tvnYS','scannerVersion','chrome','latest','GqiAO','No\x20summaryResults\x20found.','request','GWXNA','8GPQBAl','util','DGHxt','mOIvN','setAccessibilityCapabilities','9lyvlkG','accessibilityOptions.includeIssueType.needsReview','1082635nKMOSw','brXrA','browserstack.accessibility','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','../utils/constants','format','BS_A11Y_JWT','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','STuEa','wsEndpoint','[A11Y]\x20Error\x20logging\x20SDK-AUTOMATION\x20for\x20browserStackEvaluate:\x20','QFxGY','chromium','bstackSdkArgs','browser','accessibilityOptions','155352iPrkTx','pvaMy','Playwright','546582fwLinx','wUcLc','measureWrapper','accessibilityOptions.includeIssueType.bestPractice','cZrkC','browser_version','warn','blySb','browserName','ziWGF','constructor','JmDqL','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','lHCiz','testInfo','tFfeG','stringify','string','body','toISOString','Pbwse','env','browserStackEvaluate','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','../../helpers/accessibility-automation/helper','playwright-chromium','deviceName','bestPractice','../../helpers/accessibility-automation/scripts','platformValidation','currentTest','scannerProcessingTimeout','url','accessibilityOptions.scannerProcessingTimeout','Performing\x20scan\x20with\x20method:\x20','HJdFf','parameters','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','../../helpers/performance/performance-tester','30RFyNgM','No\x20accessibility\x20results\x20were\x20found.','10500728lQhbRH','tlGLP','__workerDetails','GjHjV','fDREm','][\x20SDK-AUTOMATION\x20]\x20','nUaqe','executeAsyncScript','use','evaluate','YDAaI','silly','Lqprb','11982311kPeSEe','browserStackExecuteDriver','1187444mACLzU','dNmak','qsEup','../../helpers/logger','KOzPO','UiUhs','needsReview','workerInfo','NyXDs','wcagVersion','HTOcC','replace'];a38_0x2926=function(){return _0x4c7505;};return a38_0x2926();}function a38_0x30e2(_0x7cc7f0,_0x3f5daf){const _0x292603=a38_0x2926();return a38_0x30e2=function(_0x30e2a3,_0xc17918){_0x30e2a3=_0x30e2a3-0xe2;let _0x54f700=_0x292603[_0x30e2a3];return _0x54f700;},a38_0x30e2(_0x7cc7f0,_0x3f5daf);}const util=require(a38_0x3eb72c(0xef)),logger=require(a38_0x3eb72c(0x144))['winstonLogger'],{automationLogger}=require(a38_0x3eb72c(0x144)),{isAccessibilityAutomationSession}=require(a38_0x3eb72c(0x120)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x3eb72c(0x124)),PerformanceTester=require(a38_0x3eb72c(0x12f)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x3eb72c(0x165)),{AUTOMATION_LOG_COMMANDS}=require(a38_0x3eb72c(0xf9));exports[a38_0x3eb72c(0x11e)]=async(_0x3a84a6,_0x3bc5c1,_0xeb206c={})=>{const _0x4a1b78=a38_0x3eb72c,_0x49f488={};_0x49f488[_0x4a1b78(0xe2)]=_0x4a1b78(0x102),_0x49f488[_0x4a1b78(0x133)]=function(_0x2f076e,_0x5f562a){return _0x2f076e===_0x5f562a;},_0x49f488[_0x4a1b78(0x111)]=_0x4a1b78(0x119);const _0x1e1b70=_0x49f488,_0x4f2596=await _0x3a84a6[_0x4a1b78(0x13b)]('(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'+_0x3bc5c1['replace'](/arguments/g,_0x1e1b70[_0x4a1b78(0xe2)])+_0x4a1b78(0x12e)+JSON['stringify'](_0xeb206c)+')');try{if(_0x3bc5c1&&_0x1e1b70['tlGLP'](typeof _0x3bc5c1,_0x1e1b70[_0x4a1b78(0x111)])){const _0x1c814e=AUTOMATION_LOG_COMMANDS[_0x4a1b78(0x15f)](_0x6ef5c3=>_0x3bc5c1['includes'](_0x6ef5c3));if(_0x1c814e){const _0x16f0b3={};_0x16f0b3['command']=_0x1c814e,_0x16f0b3[_0x4a1b78(0x12c)]=[_0xeb206c];const _0x14abcf={};_0x14abcf[_0x4a1b78(0x11a)]=_0x4f2596;const _0x3503fd={};_0x3503fd[_0x4a1b78(0xec)]=_0x16f0b3,_0x3503fd['response']=_0x14abcf,automationLogger[_0x4a1b78(0x13d)]('['+new Date()[_0x4a1b78(0x11b)]()+_0x4a1b78(0x137)+JSON[_0x4a1b78(0x118)](_0x3503fd));}}}catch(_0x318c60){logger['debug'](_0x4a1b78(0xff)+_0x318c60[_0x4a1b78(0x163)]);}return _0x4f2596;},exports[a38_0x3eb72c(0x140)]=async(_0x178fad,_0x3b11e8,_0xe0be80={})=>{const _0x3a796d=a38_0x3eb72c,_0x4e7387={};_0x4e7387[_0x3a796d(0x149)]=function(_0x9fcf95,_0x4b0bfe){return _0x9fcf95===_0x4b0bfe;},_0x4e7387[_0x3a796d(0x152)]='WebDriver',_0x4e7387[_0x3a796d(0xfd)]=function(_0x3f1433,_0xdad6d7){return _0x3f1433===_0xdad6d7;},_0x4e7387[_0x3a796d(0x15b)]=_0x3a796d(0x107),_0x4e7387[_0x3a796d(0x13c)]=_0x3a796d(0x102);const _0x2042d2=_0x4e7387;if(_0x2042d2['NyXDs'](_0x178fad[_0x3a796d(0x112)][_0x3a796d(0x14f)],_0x2042d2['CQoPg']))return await _0x178fad[_0x3a796d(0x139)](_0x3b11e8,_0xe0be80);else{if(_0x2042d2[_0x3a796d(0xfd)](_0x178fad[_0x3a796d(0x112)][_0x3a796d(0x14f)],_0x2042d2[_0x3a796d(0x15b)]))return await _0x178fad[_0x3a796d(0x159)](_0x3a796d(0x15a)+_0x3b11e8[_0x3a796d(0x14c)](/arguments/g,_0x2042d2[_0x3a796d(0x13c)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x3a796d(0x118)](_0xe0be80)+')');}},exports[a38_0x3eb72c(0xf2)]=async _0x347e02=>{const _0x3570ca=a38_0x3eb72c,_0x1aa781={};_0x1aa781[_0x3570ca(0xf6)]=_0x3570ca(0x164),_0x1aa781[_0x3570ca(0x106)]=_0x3570ca(0x129),_0x1aa781[_0x3570ca(0xe6)]=_0x3570ca(0x10b),_0x1aa781[_0x3570ca(0xe3)]=_0x3570ca(0xf4),_0x1aa781[_0x3570ca(0x14b)]='accessibilityOptions.authToken',_0x1aa781[_0x3570ca(0x136)]='accessibilityOptions.scannerVersion';const _0x40c251=_0x1aa781;_0x347e02[_0x3570ca(0x104)]&&(_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x14a)]&&(_0x347e02[_0x40c251[_0x3570ca(0xf6)]]=_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x14a)]),_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x127)]&&(_0x347e02[_0x40c251['pvaMy']]=_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x127)]),_0x347e02[_0x3570ca(0x104)]['includeIssueType']&&(_0x347e02[_0x40c251[_0x3570ca(0xe6)]]=_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x166)][_0x3570ca(0x123)],_0x347e02[_0x40c251[_0x3570ca(0xe3)]]=_0x347e02[_0x3570ca(0x104)][_0x3570ca(0x166)][_0x3570ca(0x147)]));const _0x2dc15b=JSON['parse'](process['env'][_0x3570ca(0x12d)])[_0x3570ca(0xe7)];_0x347e02[_0x40c251['HTOcC']]=process[_0x3570ca(0x11d)][_0x3570ca(0xfb)],_0x347e02[_0x40c251[_0x3570ca(0x136)]]=_0x2dc15b,delete _0x347e02[_0x3570ca(0x104)];},exports[a38_0x3eb72c(0x150)]=async _0x1dc753=>{const _0x1e5a3f=a38_0x3eb72c,_0x73a459={};_0x73a459[_0x1e5a3f(0x15e)]=_0x1e5a3f(0x131),_0x73a459['lHCiz']=_0x1e5a3f(0xe4);const _0x93e960=_0x73a459;if(global[_0x1e5a3f(0x161)])try{const details={'url':await _0x1dc753.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(_0x1dc753,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x1dc753,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x93e960[_0x1e5a3f(0x15e)]),[];}else return logger[_0x1e5a3f(0x10e)](_0x93e960[_0x1e5a3f(0x115)]),[];},exports[a38_0x3eb72c(0x157)]=async(_0x3b12d8,_0x5b3092='')=>{const _0x5636a0=a38_0x3eb72c;logger[_0x5636a0(0x153)](_0x5636a0(0x12a)+_0x5b3092+'\x20page:\x20'+_0x3b12d8);const _0x386d38={'url':await _0x3b12d8[_0x5636a0(0x128)](),'testhub_btcer_uuid':global[_0x5636a0(0x134)]?.[_0x5636a0(0x126)]?.['id']};if(global[_0x5636a0(0x161)])return await PerformanceTester[_0x5636a0(0x10a)](PerformanceA11yEvents[_0x5636a0(0x154)],async()=>{const _0x5d34b1=_0x5636a0,_0x27c9c4={};_0x27c9c4['command']=_0x5b3092;const _0x1033c6=await exports[_0x5d34b1(0x11e)](_0x3b12d8,scripts[_0x5d34b1(0x157)],_0x27c9c4);return _0x1033c6;},{'command':_0x5b3092,..._0x386d38})();},exports[a38_0x3eb72c(0x167)]=async _0x5cf637=>{const _0x47233f=a38_0x3eb72c,_0x459f95={};_0x459f95[_0x47233f(0xf0)]=_0x47233f(0xeb),_0x459f95[_0x47233f(0xea)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x5878a9=_0x459f95;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x5cf637,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x5cf637,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x47233f(0x153)](_0x5878a9['DGHxt']),{};}else return logger[_0x47233f(0x10e)](_0x5878a9[_0x47233f(0xea)]),{};},exports[a38_0x3eb72c(0x125)]=async _0x31b122=>{const _0x4f5a11=a38_0x3eb72c,_0x1caaf1={'QFxGY':function(_0x202b24,_0x284dc8){return _0x202b24!==_0x284dc8;},'KOzPO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cKPcu':_0x4f5a11(0xe8),'Pbwse':_0x4f5a11(0x121),'tFfeG':_0x4f5a11(0x101),'JmDqL':_0x4f5a11(0xf8),'dNmak':function(_0x5145dc,_0x1a6826){return _0x5145dc(_0x1a6826);},'KsGMG':function(_0x33831a){return _0x33831a();},'XGNKs':function(_0xfeb7b2,_0x55114d){return _0xfeb7b2<_0x55114d;},'nUaqe':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','awRnp':function(_0x27a997,_0x4a7bb5){return _0x27a997===_0x4a7bb5;},'HJdFf':'latest','VdQpp':function(_0x1e7ee4,_0x32608f){return _0x1e7ee4>_0x32608f;},'ZiJZZ':_0x4f5a11(0x151)};try{if(!_0x1caaf1[_0x4f5a11(0x100)](_0x31b122['deviceName'],''))return logger[_0x4f5a11(0x10e)](_0x1caaf1[_0x4f5a11(0x145)]),![];const _0x209388=_0x31b122[_0x4f5a11(0x103)];if(![_0x1caaf1['cKPcu'],_0x1caaf1[_0x4f5a11(0x11c)],_0x1caaf1[_0x4f5a11(0x117)]]['includes'](_0x209388))return logger[_0x4f5a11(0x10e)](_0x1caaf1[_0x4f5a11(0x113)]),![];const _0x170b55=_0x1caaf1[_0x4f5a11(0x142)](parseInt,_0x31b122[_0x4f5a11(0x10d)]);!_0x1caaf1[_0x4f5a11(0x156)](isBrowserstackInfra)&&(!_0x1caaf1[_0x4f5a11(0x14e)](_0x170b55,0x64)&&logger[_0x4f5a11(0x10e)](_0x1caaf1[_0x4f5a11(0x138)]));if(!(_0x1caaf1['awRnp'](_0x170b55,_0x1caaf1[_0x4f5a11(0x12b)])||_0x1caaf1['VdQpp'](_0x170b55,0x5e)))return logger[_0x4f5a11(0x10e)](_0x1caaf1['ZiJZZ']),![];}catch(_0x4ccaaf){logger[_0x4f5a11(0x153)](_0x4f5a11(0x114)+util[_0x4f5a11(0xfa)](_0x4ccaaf));}return!![];},exports['processAccessibilityCaps']=(_0x5a14ac,_0x25c69b,_0x44096b)=>{const _0x179162=a38_0x3eb72c,_0x4b0e6d={'GWXNA':function(_0x515284){return _0x515284();},'PBbQh':_0x179162(0xf7),'UiUhs':function(_0x50fbdb,_0x3bc8ce){return _0x50fbdb===_0x3bc8ce;},'blySb':_0x179162(0xe8),'UDGpY':function(_0x2d5867,_0x5f38af){return _0x2d5867===_0x5f38af;},'qsEup':_0x179162(0x121),'kofWQ':_0x179162(0xf8),'mOIvN':function(_0xe9b2b4){return _0xe9b2b4();},'wUcLc':function(_0x16cf20,_0x3fd966){return _0x16cf20>_0x3fd966;},'DwZys':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','FMWxo':_0x179162(0xe9),'GjHjV':_0x179162(0x151),'Ootjn':function(_0x4e619a,_0x134b87){return _0x4e619a(_0x134b87);},'Lqprb':_0x179162(0xfc),'cZrkC':function(_0x5568dc,_0x213c8c){return _0x5568dc+_0x213c8c;},'fywgk':function(_0x4b229f,_0x3e7ae1){return _0x4b229f(_0x3e7ae1);}};try{if(_0x4b0e6d[_0x179162(0xed)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x5a14ac[_0x4b0e6d['PBbQh']]&&(global[_0x179162(0x161)]=![]);!(_0x4b0e6d[_0x179162(0x146)](_0x5a14ac[_0x179162(0x110)],_0x4b0e6d[_0x179162(0x10f)])||_0x4b0e6d[_0x179162(0x162)](_0x5a14ac['browserName'],_0x4b0e6d[_0x179162(0x143)])||_0x4b0e6d['UDGpY'](_0x5a14ac[_0x179162(0x103)],_0x4b0e6d['blySb'])||_0x4b0e6d[_0x179162(0x162)](_0x5a14ac[_0x179162(0x103)],_0x4b0e6d[_0x179162(0x143)]))&&(logger[_0x179162(0x10e)](_0x4b0e6d[_0x179162(0x15d)]),global[_0x179162(0x161)]=![]);!_0x4b0e6d[_0x179162(0xf1)](isBrowserstackInfra)&&(!_0x4b0e6d[_0x179162(0x109)](_0x5a14ac[_0x179162(0x10d)],0x64)&&logger[_0x179162(0x10e)](_0x4b0e6d['DwZys']));!(_0x4b0e6d[_0x179162(0x162)](_0x5a14ac[_0x179162(0x10d)],_0x4b0e6d['FMWxo'])||_0x4b0e6d['wUcLc'](_0x5a14ac[_0x179162(0x10d)],0x5e))&&(logger['warn'](_0x4b0e6d[_0x179162(0x135)]),global[_0x179162(0x161)]=![]);!_0x4b0e6d[_0x179162(0x158)](isUndefined,_0x5a14ac[_0x179162(0x122)])&&(logger[_0x179162(0x10e)](_0x4b0e6d[_0x179162(0x13e)]),global['accessibilityPlatform']=![]);if(!global[_0x179162(0x161)]){_0x5a14ac[_0x4b0e6d[_0x179162(0x155)]]=![];const _0x57cf0a=_0x4b0e6d[_0x179162(0x10c)](_0x25c69b,_0x4b0e6d['fywgk'](encodeURIComponent,JSON[_0x179162(0x118)](_0x5a14ac)));_0x44096b&&(_0x44096b['currentTest'][_0x179162(0x116)][_0x179162(0xe5)][_0x179162(0x13a)][_0x179162(0x160)][_0x179162(0xfe)]=_0x57cf0a,_0x44096b[_0x179162(0x148)][_0x179162(0xe5)]['use']['connectOptions'][_0x179162(0xfe)]=_0x57cf0a);}}else global['accessibilityPlatform']=![];}catch(_0xde475e){logger['debug'](_0x179162(0x11f)+util[_0x179162(0xfa)](_0xde475e));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x5cc9a5=a39_0x539b;function a39_0x539b(_0xb0a259,_0x5ec367){const _0x2d9e7c=a39_0x2d9e();return a39_0x539b=function(_0x539b1f,_0x3bfc86){_0x539b1f=_0x539b1f-0xc6;let _0x1c2f91=_0x2d9e7c[_0x539b1f];return _0x1c2f91;},a39_0x539b(_0xb0a259,_0x5ec367);}(function(_0x3548eb,_0x5350d0){const _0x3daa85=a39_0x539b,_0x476d47=_0x3548eb();while(!![]){try{const _0x5c2133=parseInt(_0x3daa85(0x176))/0x1+-parseInt(_0x3daa85(0x140))/0x2*(parseInt(_0x3daa85(0x155))/0x3)+parseInt(_0x3daa85(0x13f))/0x4+parseInt(_0x3daa85(0xe3))/0x5*(parseInt(_0x3daa85(0x14c))/0x6)+-parseInt(_0x3daa85(0x12e))/0x7*(-parseInt(_0x3daa85(0x104))/0x8)+parseInt(_0x3daa85(0xed))/0x9+-parseInt(_0x3daa85(0x13b))/0xa;if(_0x5c2133===_0x5350d0)break;else _0x476d47['push'](_0x476d47['shift']());}catch(_0x51e955){_0x476d47['push'](_0x476d47['shift']());}}}(a39_0x2d9e,0x7402b));const fs=require('fs'),path=require(a39_0x5cc9a5(0xc7)),{spawn}=require(a39_0x5cc9a5(0x150)),{format}=require(a39_0x5cc9a5(0x102)),logger=require(a39_0x5cc9a5(0x182))[a39_0x5cc9a5(0x161)],{default:BrowserStackSetup}=require(a39_0x5cc9a5(0xdb)),helper=require(a39_0x5cc9a5(0xd2)),utilities=require(a39_0x5cc9a5(0x108)),constants=require(a39_0x5cc9a5(0x16c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x5cc9a5(0xee)),{checkAccessibilityPlatformConfig}=require(a39_0x5cc9a5(0xc9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0x5cc9a5(0x119)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x5cc9a5(0x111)),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x5cc9a5(0xd6)),PerformanceEvents=require(a39_0x5cc9a5(0x138))['EVENTS'],CLIUtils=require(a39_0x5cc9a5(0xfa)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x5cc9a5(0xf4)),getUserPlaywrightConfig=async(_0x1ae2ef,_0x3f3b57)=>{const _0x396194=a39_0x5cc9a5,_0x22717a={'zwzpk':function(_0xc73e42){return _0xc73e42();},'bdCtG':function(_0x20146b){return _0x20146b();},'XXAXk':function(_0x3b85b5,_0x29b39a){return _0x3b85b5(_0x29b39a);},'vyXza':_0x396194(0x147),'EaTrW':_0x396194(0xcd)},_0x2ea7d6=!helper[_0x396194(0x15e)](_0x1ae2ef['config']),_0xfd2d30=_0x2ea7d6?path[_0x396194(0x158)](process[_0x396194(0x165)](),_0x1ae2ef[_0x396194(0xe9)]):process[_0x396194(0x165)](),{resolveConfigFile:_0x5ed312,resolveConfigLocation:_0x2ec228}=helper[_0x396194(0xdf)]()?helper[_0x396194(0x117)](..._0x22717a['zwzpk'](getConfigLoaderPath)):helper[_0x396194(0x151)][_0x396194(0x16d)](null,_0x22717a[_0x396194(0x14b)](getConfigLoaderPath)),_0x5a9977=_0x5ed312?_0x22717a['XXAXk'](_0x5ed312,_0xfd2d30):helper['nestedKeyValue'](_0x22717a[_0x396194(0x168)](_0x2ec228,_0xfd2d30),[_0x22717a[_0x396194(0xde)]]),_0x1f2784={};if(_0x2ea7d6){const _0x14b583=_0x3f3b57['findIndex'](_0x56dd01=>_0x56dd01===_0x396194(0x128)||_0x56dd01==='-c'||_0x56dd01[_0x396194(0xf3)](_0x396194(0xcd)));_0x3f3b57[_0x396194(0x15f)](_0x14b583,_0x3f3b57[_0x14b583]['startsWith'](_0x22717a[_0x396194(0x17f)])?0x1:0x2);}const _0x2729a8={};return _0x2729a8[_0x396194(0xc7)]=_0x5a9977,_0x2729a8[_0x396194(0xe9)]=_0x1f2784,_0x2729a8;},handleO11yRerun=_0x2f8673=>{const _0x115233=a39_0x5cc9a5,_0x505dec={};_0x505dec['rqVEh']=_0x115233(0x10f);const _0x1b5e00=_0x505dec,_0x1411ae=helper['isTrue'](process[_0x115233(0x10a)][_0x115233(0x16b)]);if(_0x1411ae){const _0x5188be=process[_0x115233(0x10a)][_0x115233(0x15a)],_0x3551df=[];if(helper[_0x115233(0x11b)](_0x5188be)&&!helper[_0x115233(0x15e)](_0x5188be)){_0x5188be[_0x115233(0x13a)](',')['map'](_0x351a33=>{const _0x36a8ff=_0x115233;_0x3551df[_0x36a8ff(0x160)]('('+_0x351a33['trim']()+')');});const _0x532f27='^'+_0x3551df['join']('|')+'$';_0x2f8673['push'](_0x1b5e00[_0x115233(0xcc)],_0x532f27);}}},spawnOriginalProcess=_0x5e2ffc=>{const _0x4bc6b2=a39_0x5cc9a5,_0x4668bd={'WdwFZ':function(_0x7ce211,_0xfb5fa3,_0x301c26,_0x218ed1){return _0x7ce211(_0xfb5fa3,_0x301c26,_0x218ed1);},'RBtjv':_0x4bc6b2(0x180),'ZMwMY':_0x4bc6b2(0x170),'ipBFU':_0x4bc6b2(0xd3),'dGCeL':function(_0x483626,_0x293ee5){return _0x483626===_0x293ee5;},'ECzpI':_0x4bc6b2(0x123),'PTTqh':_0x4bc6b2(0x15b)};_0x4668bd['WdwFZ'](spawn,helper[_0x4bc6b2(0xdf)]()?_0x4668bd[_0x4bc6b2(0x159)]:_0x4668bd[_0x4bc6b2(0x173)],[_0x4668bd[_0x4bc6b2(0xd1)],..._0x5e2ffc[_0x4bc6b2(0x14a)](0x1)],{'shell':_0x4668bd[_0x4bc6b2(0x17d)](process[_0x4bc6b2(0x16a)],_0x4668bd[_0x4bc6b2(0xe7)]),'stdio':_0x4668bd[_0x4bc6b2(0x131)],'cwd':process[_0x4bc6b2(0x165)]()});},isTestCommand=(_0x3efc0a,_0x543237)=>{const _0x173979=a39_0x5cc9a5,_0x18f6d6={};_0x18f6d6[_0x173979(0x133)]=function(_0x240e38,_0x5b6164){return _0x240e38>_0x5b6164;},_0x18f6d6[_0x173979(0x11a)]=function(_0x5113ee,_0x380fe5){return _0x5113ee===_0x380fe5;},_0x18f6d6[_0x173979(0x17c)]='test';const _0x345aff=_0x18f6d6;if(_0x345aff[_0x173979(0x133)](_0x543237['length'],0x1)&&_0x345aff[_0x173979(0x11a)](_0x543237[0x1],_0x345aff['TiYgI']))return!![];return![];};async function run(_0x554bd2,_0x3fe4d0,_0x554069){const _0x416287=a39_0x5cc9a5,_0x5448dc={'qDhcY':function(_0x3d4e55,_0x440771){return _0x3d4e55(_0x440771);},'tPSUf':_0x416287(0x134),'ePPoa':function(_0x272d4e){return _0x272d4e();},'LCofc':function(_0x24257e,_0x397a0e){return _0x24257e+_0x397a0e;},'dGnik':_0x416287(0x14d),'Rtahs':_0x416287(0x144),'cBfnj':function(_0x201465,_0x5b1ae1){return _0x201465+_0x5b1ae1;},'zYjet':_0x416287(0xdc),'EQYZn':_0x416287(0x100),'lmNkV':function(_0x50bcfe,_0x59d93b){return _0x50bcfe<_0x59d93b;},'UTSef':function(_0x1a7b1c,_0xa43bbf){return _0x1a7b1c===_0xa43bbf;},'BZNab':_0x416287(0x11e),'aSKnU':_0x416287(0x169),'oeSkE':function(_0x568d50,_0x534e52){return _0x568d50>=_0x534e52;},'ejAZz':'automation','TKEGY':function(_0x52c053,_0x105c28){return _0x52c053!=_0x105c28;},'PJdFs':function(_0x52793b,_0x53c4f3,_0x3997a9){return _0x52793b(_0x53c4f3,_0x3997a9);},'RnmHU':function(_0x36a8c1,_0x47e3a3){return _0x36a8c1(_0x47e3a3);},'crhfH':function(_0x1fddf8,_0x27c4be){return _0x1fddf8===_0x27c4be;},'kxmxh':'true','GnXAL':function(_0x23ef12,_0x33698d){return _0x23ef12(_0x33698d);},'kxOAu':function(_0x2c64b5,_0x34aaa0){return _0x2c64b5(_0x34aaa0);},'KCIpl':_0x416287(0x183),'uVSFL':'playwright-browserstack-sdk.config.cjs','xXeqM':_0x416287(0x156),'aNBaq':function(_0x62a8ae,_0x6c2080){return _0x62a8ae-_0x6c2080;},'KCnTP':'Updated\x20config\x20file\x20name\x20to\x20-\x20','AZkXc':function(_0x19e197,_0x23a964){return _0x19e197>_0x23a964;},'WxeBJ':function(_0x56c337,_0x1c1d5c){return _0x56c337+_0x1c1d5c;},'wViey':function(_0x21d19c,_0x34b117,_0x3baeff,_0x53b39b){return _0x21d19c(_0x34b117,_0x3baeff,_0x53b39b);},'KoXDH':'yarn','ETAip':_0x416287(0x170),'bewMv':_0x416287(0xd3),'QiRvg':_0x416287(0xc8),'EJqVT':'--config','IxWNE':_0x416287(0x123),'CPKls':_0x416287(0x15b),'tipAC':'close','SqZDa':function(_0x97bd3c,_0x9f2ce1){return _0x97bd3c|_0x9f2ce1;},'Ubvyf':function(_0x285130,_0x418586){return _0x285130+_0x418586;},'FzAeA':_0x416287(0xfc),'zEfuL':_0x416287(0x120),'Ukfvp':function(_0x2b6581,_0x217a0f,_0x3d8699){return _0x2b6581(_0x217a0f,_0x3d8699);},'uGiFI':function(_0x1e8e4c,_0x2915db){return _0x1e8e4c(_0x2915db);}};try{const _0x2524fd=path[_0x416287(0x132)](helper[_0x416287(0x10d)](),_0x5448dc['tPSUf']);try{fs[_0x416287(0xcf)](_0x2524fd,_0x5448dc[_0x416287(0x13c)](fs[_0x416287(0x171)]['R_OK'],fs['constants']['W_OK']));}catch(_0x1fb6f8){ClientTroubleShootingService[_0x416287(0xf5)]();}}catch(_0x4b1da2){logger[_0x416287(0x106)](_0x5448dc[_0x416287(0xdd)](_0x5448dc[_0x416287(0x112)],_0x4b1da2));}try{const _0x401057=path['join'](helper[_0x416287(0x10d)](),_0x5448dc[_0x416287(0xfe)],_0x5448dc[_0x416287(0x10c)]);fs[_0x416287(0xfb)](_0x401057)&&fs[_0x416287(0x14e)](_0x401057);}catch(_0x2243eb){logger[_0x416287(0x106)](_0x5448dc[_0x416287(0x149)](_0x5448dc[_0x416287(0x113)],_0x2243eb));}if(!_0x5448dc[_0x416287(0x125)](isTestCommand,_0x554bd2,_0x3fe4d0)){_0x5448dc[_0x416287(0x109)](spawnOriginalProcess,_0x3fe4d0);return;}await PerformanceTester[_0x416287(0x17e)](PerformanceEvents[_0x416287(0xea)],async()=>{const _0x5435d2=_0x416287,_0x33801a={'oomHD':_0x5448dc[_0x5435d2(0xfe)],'kKHYh':_0x5448dc[_0x5435d2(0x10c)],'kaHOo':function(_0x5c4efa,_0x554e22){const _0x1159d7=_0x5435d2;return _0x5448dc[_0x1159d7(0x177)](_0x5c4efa,_0x554e22);},'XiQzn':_0x5448dc[_0x5435d2(0x107)]};if(!_0x554069[_0x5435d2(0xe9)]){logger[_0x5435d2(0x139)](_0x5448dc[_0x5435d2(0x13e)]);return;}await _0x554069[_0x5435d2(0x11f)](_0x554bd2),CLIUtils[_0x5435d2(0xf6)](FRAMEWORKS[_0x5435d2(0x141)],FRAMEWORKS[_0x5435d2(0x141)]),BrowserstackCLI[_0x5435d2(0xf0)]()[_0x5435d2(0x12f)](_0x554069[_0x5435d2(0xe9)],_0x554069[_0x5435d2(0xda)],_0x554069[_0x5435d2(0x143)]),await BrowserstackCLI['getInstance']()[_0x5435d2(0x157)]();for(var _0x269865=0x0;_0x5448dc['lmNkV'](_0x269865,constants[_0x5435d2(0x12d)][_0x5435d2(0x136)]);_0x269865++){var _0x3b0258=constants['INTERNALLY_USED_ENV_VARS'][_0x269865];process[_0x5435d2(0x10a)][_0x3b0258]&&await ClientTroubleShootingService[_0x5435d2(0x11d)](_0x3b0258);}const _0x3df424=BrowserstackCLI[_0x5435d2(0xf0)]()['getConfig']();!helper['isFalse'](_0x3df424[_0x5435d2(0xe2)])&&(process[_0x5435d2(0x10a)]['BROWSERSTACK_AUTOMATION']=!![]);_0x5448dc[_0x5435d2(0xcb)](_0x3df424[_0x5435d2(0xe2)],![])&&(process[_0x5435d2(0x10a)]['BROWSERSTACK_AUTOMATION']=_0x5448dc[_0x5435d2(0x105)],_0x3fe4d0=_0x3fe4d0[_0x5435d2(0xe5)](_0x59c1f5=>_0x59c1f5!=='--disable-browserstack-automation'));const _0x22a2d6=_0x3fe4d0['indexOf'](_0x5448dc[_0x5435d2(0x122)]);(_0x5448dc[_0x5435d2(0xec)](_0x22a2d6,0x0)||_0x5448dc[_0x5435d2(0xcb)](_0x3df424[_0x5435d2(0x15d)],![]))&&(process[_0x5435d2(0x10a)][_0x5435d2(0x118)]=_0x5448dc[_0x5435d2(0x105)],_0x3fe4d0=_0x3fe4d0[_0x5435d2(0xe5)](_0x38c91e=>_0x38c91e!==_0x5435d2(0x169)));!helper[_0x5435d2(0x15e)](_0x554069[_0x5435d2(0x143)])&&_0x554069[_0x5435d2(0x143)][_0x5435d2(0x16f)](_0x5448dc[_0x5435d2(0x103)])&&(process[_0x5435d2(0x10a)][_0x5435d2(0x17b)]=_0x554069['cliConfig'][_0x5435d2(0x175)](_0x5448dc['ejAZz'])||!![]);_0x5448dc['TKEGY'](_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x15d)],null)&&!helper[_0x5435d2(0x163)](process['env'][_0x5435d2(0x118)])&&(process[_0x5435d2(0x10a)][_0x5435d2(0x118)]=process[_0x5435d2(0x10a)][_0x5435d2(0x118)]||_0x554069['config'][_0x5435d2(0x15d)]);const _0x503bf1=!helper[_0x5435d2(0x130)](process[_0x5435d2(0x10a)][_0x5435d2(0x118)]);_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x127)]&&(process[_0x5435d2(0x10a)][_0x5435d2(0x179)]=JSON['stringify'](_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x127)]));let _0x478c2f=![];_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x17a)]&&(_0x478c2f=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x554069[_0x5435d2(0xe9)][_0x5435d2(0x17a)]);const _0x26ed0f=_0x3fe4d0[_0x5435d2(0x101)](),_0x3ffaea=await _0x5448dc[_0x5435d2(0xd8)](getUserPlaywrightConfig,_0x554bd2,_0x3fe4d0);if(helper[_0x5435d2(0x15e)](_0x3ffaea)){_0x5448dc[_0x5435d2(0xe1)](spawnOriginalProcess,_0x26ed0f);return;}const _0x29e7e6=_0x3ffaea['path']?path['dirname'](_0x3ffaea[_0x5435d2(0xc7)]):process[_0x5435d2(0x165)]();process['env'][_0x5435d2(0xce)]=_0x29e7e6,await PerformanceTester[_0x5435d2(0x17e)](PerformanceEvents[_0x5435d2(0x14f)],async()=>{const _0x157b8d=_0x5435d2;!BrowserstackCLI[_0x157b8d(0xf0)]()[_0x157b8d(0xf7)]()&&await TestHubHandler[_0x157b8d(0xe0)](FRAMEWORKS[_0x157b8d(0x141)],_0x554069),_0x503bf1&&_0x5448dc[_0x157b8d(0x15c)](handleO11yRerun,_0x3fe4d0);})();if(!BrowserstackCLI[_0x5435d2(0xf0)]()[_0x5435d2(0xf7)]()){let _0x32433e=_0x5448dc['crhfH'](process[_0x5435d2(0x10a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5448dc[_0x5435d2(0xf1)]);_0x32433e=_0x32433e||_0x5448dc['GnXAL'](checkAccessibilityPlatformConfig,_0x554069[_0x5435d2(0xe9)]),process[_0x5435d2(0x10a)][_0x5435d2(0xf2)]=_0x32433e,_0x32433e&&_0x5448dc[_0x5435d2(0xd7)](setAccessibilityCapabilities,_0x554069['config']);}const _0xa9478f=path[_0x5435d2(0x132)](_0x3ffaea[_0x5435d2(0xc7)]?path['dirname'](_0x3ffaea[_0x5435d2(0xc7)]):process[_0x5435d2(0x165)](),_0x5448dc[_0x5435d2(0x148)]);fs[_0x5435d2(0x121)](_0xa9478f,helper[_0x5435d2(0x129)](_0x554069['config'])),process[_0x5435d2(0x10a)][_0x5435d2(0x174)]=_0xa9478f,helper[_0x5435d2(0xef)]();let _0x29a6e8='';_0x5448dc[_0x5435d2(0x10e)](helper['getPackageType'](),constants[_0x5435d2(0x124)]['MODULE'])?_0x29a6e8=_0x5448dc['uVSFL']:_0x29a6e8=_0x5448dc['xXeqM'];let _0x34c8ff='';if(helper[_0x5435d2(0x166)](_0x3ffaea['path'])){_0x34c8ff='\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a';const _0x313129=_0x29a6e8[_0x5435d2(0x13a)]('.');_0x313129[_0x5448dc[_0x5435d2(0xf9)](_0x313129[_0x5435d2(0x136)],0x1)]='ts',_0x29a6e8=_0x313129[_0x5435d2(0x132)]('.'),logger[_0x5435d2(0x106)](_0x5448dc[_0x5435d2(0x177)](_0x5448dc[_0x5435d2(0x13d)],_0x29a6e8));}else _0x34c8ff=_0x5435d2(0x181);const _0x14f1d9=path[_0x5435d2(0x132)](_0x3ffaea[_0x5435d2(0xc7)]?path['dirname'](_0x3ffaea['path']):process[_0x5435d2(0x165)](),_0x29a6e8);let _0x1ba61f=_0x3ffaea[_0x5435d2(0xc7)]?_0x3ffaea['path']:'';_0x1ba61f=_0x5448dc[_0x5435d2(0x172)](_0x1ba61f['length'],0x0)?path[_0x5435d2(0x158)](_0x1ba61f):'',process[_0x5435d2(0x10a)][_0x5435d2(0x137)]=_0x1ba61f;const _0x4ac1d2=helper['getProxyUrl'](_0x554069[_0x5435d2(0xe9)]),_0x2ce8a6=helper[_0x5435d2(0x142)](_0x554069['config']);logger[_0x5435d2(0x106)](_0x5435d2(0x11c)+_0x4ac1d2),logger[_0x5435d2(0x106)]('No\x20Proxy\x20:\x20'+_0x2ce8a6);_0x4ac1d2&&(_0x34c8ff=_0x5448dc[_0x5435d2(0x149)](_0x5435d2(0x152)+_0x4ac1d2+_0x5435d2(0x135)+_0x2ce8a6+'\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();',_0x34c8ff));helper[_0x5435d2(0xeb)]({},_0x3fe4d0),fs[_0x5435d2(0x121)](_0x14f1d9,_0x34c8ff),PerformanceTester[_0x5435d2(0x116)](PerformanceEvents[_0x5435d2(0xe8)]);const _0x452918=_0x5448dc[_0x5435d2(0x164)](spawn,helper[_0x5435d2(0xdf)]()?_0x5448dc['KoXDH']:_0x5448dc[_0x5435d2(0x12b)],[_0x5448dc[_0x5435d2(0xf8)],_0x5448dc[_0x5435d2(0x114)],_0x5448dc[_0x5435d2(0xd5)],_0x5448dc[_0x5435d2(0xcb)](process[_0x5435d2(0x16a)],_0x5448dc[_0x5435d2(0x153)])?'\x22'+_0x14f1d9+'\x22':_0x14f1d9,..._0x3fe4d0[_0x5435d2(0x14a)](0x2)],{'shell':_0x5448dc[_0x5435d2(0xcb)](process['platform'],_0x5448dc[_0x5435d2(0x153)]),'stdio':_0x5448dc['CPKls'],'cwd':process[_0x5435d2(0x165)](),'env':Object['assign']({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x5435d2(0xff)](_0x554bd2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x554069[_0x5435d2(0xe9)][_0x5435d2(0xfd)][_0x5435d2(0x110)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x554069[_0x5435d2(0xe9)][_0x5435d2(0xfd)][_0x5435d2(0x145)],'BROWSERSTACK_LOG_LEVEL':_0x554069[_0x5435d2(0xe9)]['logLevel']})}),_0x83f659=()=>{const _0x3f0b1b=_0x5435d2;try{const _0x192cdb=path['join'](helper[_0x3f0b1b(0x10d)](),_0x33801a[_0x3f0b1b(0x126)],_0x33801a[_0x3f0b1b(0x10b)]);if(fs[_0x3f0b1b(0xfb)](_0x192cdb)){let _0x197b83=fs['readFileSync'](_0x192cdb);_0x197b83=JSON['parse'](_0x197b83),_0x554069[_0x3f0b1b(0xca)]=_0x197b83,fs[_0x3f0b1b(0x14e)](_0x192cdb);}}catch(_0x7b00c8){logger[_0x3f0b1b(0x106)](_0x33801a['kaHOo'](_0x33801a['XiQzn'],_0x7b00c8));}};_0x452918['on'](_0x5448dc[_0x5435d2(0x154)],async _0x52e29c=>{const _0x513ccc=_0x5435d2,_0xfc1373={};_0xfc1373['Ciskj']=_0x5448dc[_0x513ccc(0xfe)];const _0x5e087c=_0xfc1373;try{PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x5448dc[_0x513ccc(0x146)](_0x83f659),await TestHubHandler[_0x513ccc(0x115)](),await ClientTroubleShootingService['reportFinalDetectionState']();const _0x5139bc=BrowserstackCLI[_0x513ccc(0xd4)]();await BrowserstackCLI['getInstance']()[_0x513ccc(0x115)](),TestDetails[_0x513ccc(0x167)](),_0x5448dc['ePPoa'](printBuildLink),await utilities[_0x513ccc(0xe4)](_0x554069,_0x5139bc),process[_0x513ccc(0x16e)]=_0x52e29c,logger[_0x513ccc(0x106)](_0x513ccc(0xe6)+_0x52e29c),logger[_0x513ccc(0x12c)]('Deleting\x20'+_0x14f1d9),fs[_0x513ccc(0x14e)](_0x14f1d9);fs['existsSync'](_0xa9478f)&&(logger[_0x513ccc(0x106)](_0x513ccc(0xd9)+_0xa9478f),fs[_0x513ccc(0x14e)](_0xa9478f));const _0x31d3b1=fs['readdirSync'](path['join'](helper['homedir'](),_0x5448dc[_0x513ccc(0xfe)]))[_0x513ccc(0xe5)](_0x288726=>_0x288726['startsWith']('trace_'));_0x31d3b1[_0x513ccc(0x178)](_0x36ee75=>{const _0xd54f9e=_0x513ccc;fs[_0xd54f9e(0x14e)](path['join'](helper['homedir'](),_0x5e087c[_0xd54f9e(0x12a)],_0x36ee75));});}catch(_0x536a5d){logger[_0x513ccc(0x106)](_0x5448dc[_0x513ccc(0x162)](_0x5448dc[_0x513ccc(0xc6)],_0x536a5d));}});})();}function a39_0x2d9e(){const _0x3e0a30=['kxmxh','BROWSERSTACK_TEST_ACCESSIBILITY_YML','startsWith','../utils/clientTroubleshootingService','reportDotBrowserStackFolderNotAccessibleIssue','setFrameworkDetail','isRunning','bewMv','aNBaq','../v2/cliUtils','existsSync','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','testContextOptions','tPSUf','getConfigPath','BrowserStack\x20config\x20file\x20not\x20found.','concat','util','ejAZz','24lBymIQ','BZNab','debug','zYjet','../../helpers/utilities','uGiFI','env','kKHYh','Rtahs','homedir','crhfH','--grep','skipSessionStatus','../../helpers/testhub/testhubHandler','FzAeA','zEfuL','QiRvg','stop','end','requireConfigLoaderYarnPnP','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/test-observability/utils','WqfGJ','validateRerunTestList','Proxy\x20url\x20:\x20','reportConflictingEnvVarIssue','false','initialize','Error\x20in\x20deleting\x20playwright\x20results','writeFileSync','aSKnU','win32','PACKAGE_TYPE','Ukfvp','oomHD','accessibilityOptions','--config','serializeToYamlString','Ciskj','ETAip','info','INTERNALLY_USED_ENV_VARS','610239MBWrSv','setBrowserstackConfig','isFalse','PTTqh','join','uBosr','.browserstack','\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','length','USER_CONFIG_DETAILS_PATH','../../helpers/performance/constants','error','split','18819370yiALPd','SqZDa','KCnTP','EQYZn','1226408bceUKa','8xngwpp','PLAYWRIGHT','getNoProxy','cliConfig','pw_result.json','skipSessionName','ePPoa','resolvedConfigFile','KCIpl','WxeBJ','slice','bdCtG','12mfRYtL','Error\x20in\x20closing\x20playwright','unlinkSync','SDK_POST_INITIALIZE','child_process','requirePWModule','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','IxWNE','tipAC','28356sqLMyg','playwright-browserstack-sdk.config.js','bootstrap','resolve','RBtjv','BROWSERSTACK_RERUN_TESTS','inherit','qDhcY','testObservability','isUndefined','splice','push','winstonLogger','LCofc','isTrue','wViey','cwd','isTypescriptProject','shutdown','XXAXk','--disable-test-observability','platform','BROWSERSTACK_RERUN','../utils/constants','apply','exitCode','has','npx','constants','AZkXc','ZMwMY','BROWSERSTACK_SETUP_CONFIG_PATH','get','889218gEeKpK','cBfnj','forEach','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','accessibility','BROWSERSTACK_AUTOMATION','TiYgI','dGCeL','measureWrapper','EaTrW','yarn','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/logger','browserstackSetupConfig.json','dGnik','path','test','../../helpers/accessibility-automation/helper','errorMessage','UTSef','rqVEh','--config=','BROWSERSTACK_PW_CONFIG_DIR','accessSync','exports','ipBFU','../../helpers/helper','playwright','isCLIEnabled','EJqVT','../v2/browserstackCLI','kxOAu','PJdFs','Deleting\x20','configPath','../../helpers/BrowserStackSetup','Error\x20in\x20getting\x20funnel\x20data\x20results','Ubvyf','vyXza','isYarnPnP','launchBuild','RnmHU','browserstackAutomation','2118830VQqwTx','finalExecution','filter','Playwright\x20process\x20exited\x20with\x20code\x20','ECzpI','SDK_SETUP','config','SDK_PRE_INITIALIZE','filterBrowserstackArgs','oeSkE','810369XMiuLL','./reporter/pwUtils','clearTempPWConfig','getInstance'];a39_0x2d9e=function(){return _0x3e0a30;};return a39_0x2d9e();}module[a39_0x5cc9a5(0xd0)]=run;
|
|
2
|
+
'use strict';const a39_0x383b88=a39_0x7e6f;(function(_0x2afcb1,_0x388d2f){const _0x8ece1e=a39_0x7e6f,_0x44e2f1=_0x2afcb1();while(!![]){try{const _0x4c9a2a=-parseInt(_0x8ece1e(0xc2))/0x1+parseInt(_0x8ece1e(0x124))/0x2+-parseInt(_0x8ece1e(0xe2))/0x3+-parseInt(_0x8ece1e(0x13c))/0x4+parseInt(_0x8ece1e(0x113))/0x5+-parseInt(_0x8ece1e(0xcb))/0x6+-parseInt(_0x8ece1e(0x11e))/0x7*(parseInt(_0x8ece1e(0x128))/0x8);if(_0x4c9a2a===_0x388d2f)break;else _0x44e2f1['push'](_0x44e2f1['shift']());}catch(_0x55f754){_0x44e2f1['push'](_0x44e2f1['shift']());}}}(a39_0x149c,0x5f13f));const fs=require('fs'),path=require('path'),{spawn}=require(a39_0x383b88(0x15d)),{format}=require(a39_0x383b88(0xfe)),logger=require('../../helpers/logger')[a39_0x383b88(0xc4)],{default:BrowserStackSetup}=require(a39_0x383b88(0xc9)),helper=require(a39_0x383b88(0xd9)),utilities=require(a39_0x383b88(0xd5)),constants=require(a39_0x383b88(0xe9)),{FRAMEWORKS}=require(a39_0x383b88(0x131)),{getConfigLoaderPath}=require(a39_0x383b88(0x138)),{checkAccessibilityPlatformConfig}=require(a39_0x383b88(0x11a)),{setAccessibilityCapabilities}=require(a39_0x383b88(0x14f)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x383b88(0xef)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0x383b88(0xdf)),BrowserstackCLI=require(a39_0x383b88(0xdd)),PerformanceEvents=require(a39_0x383b88(0x14b))[a39_0x383b88(0x165)],CLIUtils=require(a39_0x383b88(0x14e)),TestInfo=require(a39_0x383b88(0xee)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x2d536f,_0x55d788)=>{const _0x1c41b0=a39_0x383b88,_0x44e27a={'bpbBJ':function(_0x2a07ce){return _0x2a07ce();},'YoqCg':function(_0x2dc387,_0x54c5e1){return _0x2dc387(_0x54c5e1);},'pDqOw':'resolvedConfigFile','kGtBP':_0x1c41b0(0xe4)},_0xba6573=!helper['isUndefined'](_0x2d536f[_0x1c41b0(0xc8)]),_0x3b8782=_0xba6573?path['resolve'](process[_0x1c41b0(0x16a)](),_0x2d536f[_0x1c41b0(0xc8)]):process[_0x1c41b0(0x16a)](),{resolveConfigFile:_0x57bb6c,resolveConfigLocation:_0x112a02}=helper[_0x1c41b0(0x10e)]()?helper[_0x1c41b0(0xb7)](..._0x44e27a[_0x1c41b0(0x16c)](getConfigLoaderPath)):helper['requirePWModule'][_0x1c41b0(0xba)](null,_0x44e27a[_0x1c41b0(0x16c)](getConfigLoaderPath)),_0x3a563b=_0x57bb6c?_0x44e27a[_0x1c41b0(0xd2)](_0x57bb6c,_0x3b8782):helper[_0x1c41b0(0x12f)](_0x44e27a[_0x1c41b0(0xd2)](_0x112a02,_0x3b8782),[_0x44e27a[_0x1c41b0(0x15e)]]),_0xa4e38f={};if(_0xba6573){const _0x3c0ee1=_0x55d788[_0x1c41b0(0x106)](_0x2aeb9e=>_0x2aeb9e===_0x1c41b0(0x12a)||_0x2aeb9e==='-c'||_0x2aeb9e[_0x1c41b0(0x114)]('--config='));_0x55d788[_0x1c41b0(0x160)](_0x3c0ee1,_0x55d788[_0x3c0ee1][_0x1c41b0(0x114)](_0x44e27a['kGtBP'])?0x1:0x2);}const _0x2887a5={};return _0x2887a5['path']=_0x3a563b,_0x2887a5[_0x1c41b0(0xc8)]=_0xa4e38f,_0x2887a5;},handleO11yRerun=_0xd364c9=>{const _0x9dd545=a39_0x383b88,_0xfe9f09={};_0xfe9f09['eXTyL']=_0x9dd545(0x142);const _0xe40623=_0xfe9f09,_0x47dc2a=helper[_0x9dd545(0xc3)](process['env'][_0x9dd545(0x11b)]);if(_0x47dc2a){const _0x1a0bd8=process['env'][_0x9dd545(0x11d)],_0x273f7f=[];if(helper[_0x9dd545(0x136)](_0x1a0bd8)&&!helper['isUndefined'](_0x1a0bd8)){_0x1a0bd8[_0x9dd545(0xf5)](',')['map'](_0x2c48c3=>{const _0x1ef78e=_0x9dd545;_0x273f7f[_0x1ef78e(0xe6)]('('+_0x2c48c3[_0x1ef78e(0xd8)]()+')');});const _0x47b6dd='^'+_0x273f7f[_0x9dd545(0x15a)]('|')+'$';_0xd364c9[_0x9dd545(0xe6)](_0xe40623[_0x9dd545(0xf1)],_0x47b6dd);}}},spawnOriginalProcess=_0x428018=>{const _0xd41e5c=a39_0x383b88,_0x38e77e={'yyTWP':function(_0x4ec1f9,_0x1e57f8,_0x2699c7,_0x54accb){return _0x4ec1f9(_0x1e57f8,_0x2699c7,_0x54accb);},'ERnTm':_0xd41e5c(0x121),'ciQGN':_0xd41e5c(0xc1),'uRSkh':_0xd41e5c(0x14d),'WZkNQ':function(_0x23724c,_0x204a75){return _0x23724c===_0x204a75;},'nrrEB':'win32','QTDdG':_0xd41e5c(0x129)};_0x38e77e[_0xd41e5c(0x16b)](spawn,helper[_0xd41e5c(0x10e)]()?_0x38e77e[_0xd41e5c(0x107)]:_0x38e77e[_0xd41e5c(0xd4)],[_0x38e77e[_0xd41e5c(0x13e)],..._0x428018[_0xd41e5c(0xfc)](0x1)],{'shell':_0x38e77e[_0xd41e5c(0xf8)](process[_0xd41e5c(0xf6)],_0x38e77e[_0xd41e5c(0x149)]),'stdio':_0x38e77e[_0xd41e5c(0x126)],'cwd':process[_0xd41e5c(0x16a)]()});},isTestCommand=(_0x33e408,_0x4f008a)=>{const _0x2c58b4=a39_0x383b88,_0x345c90={};_0x345c90[_0x2c58b4(0x145)]=function(_0x59fe2c,_0x8b49b5){return _0x59fe2c>_0x8b49b5;},_0x345c90[_0x2c58b4(0x161)]=function(_0x2d084e,_0x4816e9){return _0x2d084e===_0x4816e9;},_0x345c90[_0x2c58b4(0x132)]=_0x2c58b4(0xda);const _0x15317d=_0x345c90;if(_0x15317d[_0x2c58b4(0x145)](_0x4f008a['length'],0x1)&&_0x15317d[_0x2c58b4(0x161)](_0x4f008a[0x1],_0x15317d[_0x2c58b4(0x132)]))return!![];return![];};function a39_0x7e6f(_0x1e8a05,_0xbd5ec){const _0x149c43=a39_0x149c();return a39_0x7e6f=function(_0x7e6f96,_0x5595da){_0x7e6f96=_0x7e6f96-0xb4;let _0x1c6f3e=_0x149c43[_0x7e6f96];return _0x1c6f3e;},a39_0x7e6f(_0x1e8a05,_0xbd5ec);}async function run(_0x5703b5,_0x29c364,_0x21411c){const _0x3a2866=a39_0x383b88,_0x216f81={'QSKZY':_0x3a2866(0xd3),'LGDNM':_0x3a2866(0x14a),'pZucu':function(_0x5937bb,_0x4922f3){return _0x5937bb+_0x4922f3;},'vOeHL':'Error\x20in\x20getting\x20funnel\x20data\x20results','jvJKA':function(_0x1b00e1,_0x11bf12){return _0x1b00e1(_0x11bf12);},'zdmuw':function(_0x1d29e4){return _0x1d29e4();},'AqEYo':_0x3a2866(0x134),'ttdxc':_0x3a2866(0xe0),'kqkNk':function(_0x83a3ca,_0x2aec5a){return _0x83a3ca<_0x2aec5a;},'TvSgQ':function(_0x23fbc5,_0x4c9498){return _0x23fbc5===_0x4c9498;},'HdvSD':_0x3a2866(0xec),'cMCDW':_0x3a2866(0xbd),'aKdUW':function(_0x2275ff,_0x1fcfad){return _0x2275ff>=_0x1fcfad;},'FvdVP':function(_0x547b36,_0xa34406){return _0x547b36===_0xa34406;},'xAHjC':_0x3a2866(0x155),'YEmPV':function(_0x2b6720,_0x114c8c){return _0x2b6720!=_0x114c8c;},'RakKk':function(_0x99b62d,_0x4e00eb,_0x6476ac){return _0x99b62d(_0x4e00eb,_0x6476ac);},'kPAzN':function(_0x4287df,_0xbf1478){return _0x4287df===_0xbf1478;},'VmvBL':'true','tosMV':function(_0x57f7cb,_0xca57e7){return _0x57f7cb(_0xca57e7);},'xiKhJ':'browserstackSetupConfig.json','oqrLF':_0x3a2866(0x125),'SbTRg':_0x3a2866(0x108),'oImXC':function(_0x51606a,_0xc8e579){return _0x51606a-_0xc8e579;},'BDwET':_0x3a2866(0xde),'cDPhs':function(_0x3c70c3,_0x770dc9){return _0x3c70c3>_0x770dc9;},'hjnvV':function(_0x121757,_0x30fd07,_0x553a1f,_0x40471c){return _0x121757(_0x30fd07,_0x553a1f,_0x40471c);},'MRvaw':_0x3a2866(0x121),'bvAlm':_0x3a2866(0xc1),'PSAWf':_0x3a2866(0x14d),'WHOQC':_0x3a2866(0xda),'wLrbG':'--config','PtBaG':function(_0x467387,_0x411b3f){return _0x467387===_0x411b3f;},'MaeVR':_0x3a2866(0x157),'ihxCs':function(_0x2367e0,_0x4797a5){return _0x2367e0===_0x4797a5;},'LntHG':_0x3a2866(0x129),'JhNca':'close','wtEUw':function(_0x480fc9,_0x452927){return _0x480fc9|_0x452927;},'apSci':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','dSDtT':function(_0x2dd4f0,_0x204021){return _0x2dd4f0+_0x204021;},'OVYJU':_0x3a2866(0x151),'rBmzL':function(_0x560b23,_0x330bf8){return _0x560b23(_0x330bf8);}};try{const _0x57b24b=path[_0x3a2866(0x15a)](helper[_0x3a2866(0xf3)](),_0x216f81[_0x3a2866(0x15b)]);try{fs[_0x3a2866(0x116)](_0x57b24b,_0x216f81['wtEUw'](fs['constants'][_0x3a2866(0x100)],fs['constants'][_0x3a2866(0x109)]));}catch(_0x40b234){ClientTroubleShootingService[_0x3a2866(0x15f)]();}}catch(_0x12ce19){logger[_0x3a2866(0x139)](_0x216f81[_0x3a2866(0xb8)](_0x216f81[_0x3a2866(0x103)],_0x12ce19));}try{const _0x185af3=path['join'](helper['homedir'](),_0x216f81[_0x3a2866(0x15b)],_0x216f81[_0x3a2866(0xc7)]);fs[_0x3a2866(0x135)](_0x185af3)&&fs[_0x3a2866(0xbc)](_0x185af3);}catch(_0x1c153b){logger['debug'](_0x216f81[_0x3a2866(0xcf)](_0x216f81[_0x3a2866(0x10b)],_0x1c153b));}if(!_0x216f81['RakKk'](isTestCommand,_0x5703b5,_0x29c364)){_0x216f81['rBmzL'](spawnOriginalProcess,_0x29c364);return;}await PerformanceTester[_0x3a2866(0xdc)](PerformanceEvents[_0x3a2866(0xce)],async()=>{const _0x23589e=_0x3a2866,_0x2a49eb={'LdfcF':function(_0x1a8569,_0x249c3b){return _0x216f81['jvJKA'](_0x1a8569,_0x249c3b);},'NzMnV':_0x216f81['QSKZY'],'LAUDn':function(_0xfccbf8){return _0x216f81['zdmuw'](_0xfccbf8);},'wbiqx':function(_0x25bf86,_0x4f7fb3){return _0x216f81['pZucu'](_0x25bf86,_0x4f7fb3);},'NcdoN':_0x216f81[_0x23589e(0x13f)]};if(!_0x21411c['config']){logger[_0x23589e(0x12c)](_0x216f81['ttdxc']);return;}await _0x21411c[_0x23589e(0xcd)](_0x5703b5),CLIUtils[_0x23589e(0x110)](FRAMEWORKS[_0x23589e(0x127)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI[_0x23589e(0x166)]()['setBrowserstackConfig'](_0x21411c[_0x23589e(0xc8)],_0x21411c[_0x23589e(0xc5)],_0x21411c[_0x23589e(0xb4)]),await BrowserstackCLI[_0x23589e(0x166)]()[_0x23589e(0x15c)]();for(var _0x35b883=0x0;_0x216f81[_0x23589e(0xf2)](_0x35b883,constants[_0x23589e(0xfa)][_0x23589e(0x10c)]);_0x35b883++){var _0x34d89a=constants[_0x23589e(0xfa)][_0x35b883];process['env'][_0x34d89a]&&await ClientTroubleShootingService[_0x23589e(0xc0)](_0x34d89a);}const _0x4e0647=BrowserstackCLI['getInstance']()['getConfig']();!helper['isFalse'](_0x4e0647[_0x23589e(0x12e)])&&(process['env'][_0x23589e(0xfd)]=!![]);_0x216f81[_0x23589e(0xca)](_0x4e0647['browserstackAutomation'],![])&&(process[_0x23589e(0x156)][_0x23589e(0xfd)]=_0x216f81[_0x23589e(0x170)],_0x29c364=_0x29c364[_0x23589e(0x167)](_0x5e5889=>_0x5e5889!=='--disable-browserstack-automation'));const _0x47eebb=_0x29c364[_0x23589e(0xbf)](_0x216f81['cMCDW']);(_0x216f81[_0x23589e(0x115)](_0x47eebb,0x0)||_0x216f81[_0x23589e(0xf0)](_0x4e0647[_0x23589e(0x12b)],![]))&&(process[_0x23589e(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x216f81['HdvSD'],_0x29c364=_0x29c364[_0x23589e(0x167)](_0x4b927b=>_0x4b927b!==_0x23589e(0xbd)));!helper[_0x23589e(0x111)](_0x21411c['cliConfig'])&&_0x21411c[_0x23589e(0xb4)]['has'](_0x216f81[_0x23589e(0x147)])&&(process['env'][_0x23589e(0xfd)]=_0x21411c['cliConfig'][_0x23589e(0x141)](_0x216f81[_0x23589e(0x147)])||!![]);_0x216f81[_0x23589e(0x10f)](_0x21411c['config'][_0x23589e(0x12b)],null)&&!helper[_0x23589e(0xc3)](process[_0x23589e(0x156)][_0x23589e(0x163)])&&(process[_0x23589e(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY']=process[_0x23589e(0x156)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x21411c[_0x23589e(0xc8)][_0x23589e(0x12b)]);const _0x165ac7=!helper['isFalse'](process[_0x23589e(0x156)][_0x23589e(0x163)]);_0x21411c[_0x23589e(0xc8)]['accessibilityOptions']&&(process[_0x23589e(0x156)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x23589e(0xe5)](_0x21411c[_0x23589e(0xc8)]['accessibilityOptions']));let _0x5a1dc3=![];_0x21411c[_0x23589e(0xc8)][_0x23589e(0x158)]&&(_0x5a1dc3=!![],process['env'][_0x23589e(0xe1)]=_0x21411c['config']['accessibility']);const _0x5b45f2=_0x29c364['concat'](),_0x5014f6=await _0x216f81[_0x23589e(0x159)](getUserPlaywrightConfig,_0x5703b5,_0x29c364);if(helper[_0x23589e(0x111)](_0x5014f6)){_0x216f81[_0x23589e(0x169)](spawnOriginalProcess,_0x5b45f2);return;}const _0x162c00=_0x5014f6['path']?path[_0x23589e(0xf4)](_0x5014f6[_0x23589e(0x16e)]):process['cwd']();process['env'][_0x23589e(0x146)]=_0x162c00,await PerformanceTester['measureWrapper'](PerformanceEvents[_0x23589e(0xe3)],async()=>{const _0x35b0b9=_0x23589e;!BrowserstackCLI[_0x35b0b9(0x166)]()[_0x35b0b9(0xcc)]()&&await TestHubHandler[_0x35b0b9(0x14c)](FRAMEWORKS[_0x35b0b9(0x127)],_0x21411c),_0x165ac7&&_0x2a49eb[_0x35b0b9(0x164)](handleO11yRerun,_0x29c364);})();if(!BrowserstackCLI[_0x23589e(0x166)]()[_0x23589e(0xcc)]()){let _0x35fbf3=_0x216f81[_0x23589e(0xb9)](process[_0x23589e(0x156)][_0x23589e(0xe1)],_0x216f81[_0x23589e(0x119)]);_0x35fbf3=_0x35fbf3||_0x216f81['jvJKA'](checkAccessibilityPlatformConfig,_0x21411c[_0x23589e(0xc8)]),process[_0x23589e(0x156)][_0x23589e(0xe1)]=_0x35fbf3,_0x35fbf3&&_0x216f81['tosMV'](setAccessibilityCapabilities,_0x21411c[_0x23589e(0xc8)]);}const _0x1d95e7=path['join'](_0x5014f6[_0x23589e(0x16e)]?path['dirname'](_0x5014f6['path']):process[_0x23589e(0x16a)](),_0x216f81[_0x23589e(0x168)]);fs[_0x23589e(0x137)](_0x1d95e7,helper[_0x23589e(0x11f)](_0x21411c[_0x23589e(0xc8)])),process[_0x23589e(0x156)][_0x23589e(0x13a)]=_0x1d95e7,helper[_0x23589e(0x123)]();let _0x18339a='';_0x216f81[_0x23589e(0xf0)](helper[_0x23589e(0x16f)](),constants[_0x23589e(0x101)][_0x23589e(0x150)])?_0x18339a=_0x216f81[_0x23589e(0x153)]:_0x18339a=_0x216f81[_0x23589e(0x148)];let _0x28eb40='';if(helper[_0x23589e(0x10a)](_0x5014f6[_0x23589e(0x16e)])){_0x28eb40=_0x23589e(0xed);const _0x663474=_0x18339a[_0x23589e(0xf5)]('.');_0x663474[_0x216f81[_0x23589e(0x140)](_0x663474[_0x23589e(0x10c)],0x1)]='ts',_0x18339a=_0x663474['join']('.'),logger[_0x23589e(0x139)](_0x216f81['pZucu'](_0x216f81[_0x23589e(0x104)],_0x18339a));}else _0x28eb40='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x304f05=path[_0x23589e(0x15a)](_0x5014f6[_0x23589e(0x16e)]?path['dirname'](_0x5014f6[_0x23589e(0x16e)]):process[_0x23589e(0x16a)](),_0x18339a);let _0x142933=_0x5014f6['path']?_0x5014f6['path']:'';_0x142933=_0x216f81['cDPhs'](_0x142933[_0x23589e(0x10c)],0x0)?path[_0x23589e(0x144)](_0x142933):'',process[_0x23589e(0x156)]['USER_CONFIG_DETAILS_PATH']=_0x142933;const _0x5f3cff=helper[_0x23589e(0xc6)](_0x21411c['config']),_0x5558bd=helper[_0x23589e(0xea)](_0x21411c[_0x23589e(0xc8)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x5f3cff),logger[_0x23589e(0x139)]('No\x20Proxy\x20:\x20'+_0x5558bd);_0x5f3cff&&(_0x28eb40=_0x216f81[_0x23589e(0xb8)](_0x23589e(0xd7)+_0x5f3cff+_0x23589e(0xe7)+_0x5558bd+'\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();',_0x28eb40));helper[_0x23589e(0x118)]({},_0x29c364),fs['writeFileSync'](_0x304f05,_0x28eb40),PerformanceTester[_0x23589e(0x117)](PerformanceEvents['SDK_SETUP']);const _0x142c09=_0x216f81['hjnvV'](spawn,helper[_0x23589e(0x10e)]()?_0x216f81[_0x23589e(0x133)]:_0x216f81[_0x23589e(0x105)],[_0x216f81[_0x23589e(0xeb)],_0x216f81[_0x23589e(0x152)],_0x216f81['wLrbG'],_0x216f81[_0x23589e(0xbe)](process[_0x23589e(0xf6)],_0x216f81['MaeVR'])?'\x22'+_0x304f05+'\x22':_0x304f05,..._0x29c364[_0x23589e(0xfc)](0x2)],{'shell':_0x216f81[_0x23589e(0xd0)](process['platform'],_0x216f81['MaeVR']),'stdio':_0x216f81[_0x23589e(0x16d)],'cwd':process[_0x23589e(0x16a)](),'env':Object['assign']({},process[_0x23589e(0x156)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x23589e(0xb5)](_0x5703b5),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x21411c[_0x23589e(0xc8)][_0x23589e(0x112)][_0x23589e(0xd6)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x21411c[_0x23589e(0xc8)]['testContextOptions'][_0x23589e(0xdb)],'BROWSERSTACK_LOG_LEVEL':_0x21411c[_0x23589e(0xc8)][_0x23589e(0x10d)]})}),_0x22bfaa=()=>{const _0x522120=_0x23589e;try{const _0x25cdd9=path[_0x522120(0x15a)](helper[_0x522120(0xf3)](),_0x216f81[_0x522120(0x15b)],_0x216f81[_0x522120(0xc7)]);if(fs[_0x522120(0x135)](_0x25cdd9)){let _0x36d47d=fs[_0x522120(0xbb)](_0x25cdd9);_0x36d47d=JSON['parse'](_0x36d47d),_0x21411c[_0x522120(0xff)]=_0x36d47d,fs[_0x522120(0xbc)](_0x25cdd9);}}catch(_0x39be0c){logger['debug'](_0x216f81['pZucu'](_0x216f81[_0x522120(0xd1)],_0x39be0c));}};_0x142c09['on'](_0x216f81[_0x23589e(0x122)],async _0x3291bc=>{const _0x1880a9=_0x23589e,_0x1f973e={};_0x1f973e[_0x1880a9(0x154)]=_0x2a49eb[_0x1880a9(0x130)];const _0x2e4c34=_0x1f973e;try{PerformanceTester[_0x1880a9(0xe8)](PerformanceEvents[_0x1880a9(0xf7)]),_0x2a49eb[_0x1880a9(0xfb)](_0x22bfaa),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x1880a9(0x11c)]();const _0x31ad0d=BrowserstackCLI[_0x1880a9(0x143)]();await BrowserstackCLI['getInstance']()[_0x1880a9(0x13d)](),TestDetails[_0x1880a9(0x13b)](),_0x2a49eb[_0x1880a9(0xfb)](printBuildLink),await utilities['finalExecution'](_0x21411c,_0x31ad0d),process['exitCode']=_0x3291bc,logger[_0x1880a9(0x139)](_0x1880a9(0x120)+_0x3291bc),logger['info']('Deleting\x20'+_0x304f05),fs['unlinkSync'](_0x304f05);fs['existsSync'](_0x1d95e7)&&(logger['debug'](_0x1880a9(0x102)+_0x1d95e7),fs[_0x1880a9(0xbc)](_0x1d95e7));const _0x16cd7f=fs[_0x1880a9(0x162)](path['join'](helper[_0x1880a9(0xf3)](),_0x2a49eb[_0x1880a9(0x130)]))['filter'](_0x44f9b9=>_0x44f9b9[_0x1880a9(0x114)]('trace_'));_0x16cd7f[_0x1880a9(0x12d)](_0x1b6ba3=>{const _0x7b01eb=_0x1880a9;fs['unlinkSync'](path[_0x7b01eb(0x15a)](helper[_0x7b01eb(0xf3)](),_0x2e4c34[_0x7b01eb(0x154)],_0x1b6ba3));});}catch(_0x133194){logger['debug'](_0x2a49eb[_0x1880a9(0xb6)](_0x2a49eb['NcdoN'],_0x133194));}});})();}module[a39_0x383b88(0xf9)]=run;function a39_0x149c(){const _0x171b5a=['--config','testObservability','error','forEach','browserstackAutomation','nestedKeyValue','NzMnV','../../helpers/test-observability/constants','igUVk','MRvaw','Error\x20in\x20closing\x20playwright','existsSync','validateRerunTestList','writeFileSync','./reporter/pwUtils','debug','BROWSERSTACK_SETUP_CONFIG_PATH','shutdown','805536dHMDHW','stop','uRSkh','AqEYo','oImXC','get','--grep','isCLIEnabled','resolve','uTtVp','BROWSERSTACK_PW_CONFIG_DIR','xAHjC','SbTRg','nrrEB','pw_result.json','../../helpers/performance/constants','launchBuild','playwright','../v2/cliUtils','./accessibility-helper','MODULE','Error\x20in\x20deleting\x20playwright\x20results','WHOQC','oqrLF','IZXRT','automation','env','win32','accessibility','RakKk','join','QSKZY','bootstrap','child_process','pDqOw','reportDotBrowserStackFolderNotAccessibleIssue','splice','DeJTm','readdirSync','BROWSERSTACK_TEST_OBSERVABILITY','LdfcF','EVENTS','getInstance','filter','xiKhJ','jvJKA','cwd','yyTWP','bpbBJ','LntHG','path','getPackageType','HdvSD','cliConfig','getConfigPath','wbiqx','requireConfigLoaderYarnPnP','pZucu','kPAzN','apply','readFileSync','unlinkSync','--disable-test-observability','PtBaG','indexOf','reportConflictingEnvVarIssue','npx','19778sMNTQy','isTrue','winstonLogger','configPath','getProxyUrl','LGDNM','config','../../helpers/BrowserStackSetup','TvSgQ','319428uRBxpd','isRunning','initialize','SDK_PRE_INITIALIZE','dSDtT','ihxCs','vOeHL','YoqCg','.browserstack','ciQGN','../../helpers/utilities','skipSessionStatus','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','trim','../../helpers/helper','test','skipSessionName','measureWrapper','../v2/browserstackCLI','Updated\x20config\x20file\x20name\x20to\x20-\x20','../../helpers/performance/performance-tester','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_TEST_ACCESSIBILITY_YML','406185jsJMQx','SDK_POST_INITIALIZE','--config=','stringify','push','\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','start','../utils/constants','getNoProxy','PSAWf','false','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../v2/TestInfo','./reporter/test-details','FvdVP','eXTyL','kqkNk','homedir','dirname','split','platform','SDK_CLEANUP','WZkNQ','exports','INTERNALLY_USED_ENV_VARS','LAUDn','slice','BROWSERSTACK_AUTOMATION','util','errorMessage','R_OK','PACKAGE_TYPE','Deleting\x20','apSci','BDwET','bvAlm','findIndex','ERnTm','playwright-browserstack-sdk.config.js','W_OK','isTypescriptProject','OVYJU','length','logLevel','isYarnPnP','YEmPV','setFrameworkDetail','isUndefined','testContextOptions','1259020ndedfB','startsWith','aKdUW','accessSync','end','filterBrowserstackArgs','VmvBL','../../helpers/accessibility-automation/helper','BROWSERSTACK_RERUN','reportFinalDetectionState','BROWSERSTACK_RERUN_TESTS','595YmaWES','serializeToYamlString','Playwright\x20process\x20exited\x20with\x20code\x20','yarn','JhNca','clearTempPWConfig','1098600TZQdCF','playwright-browserstack-sdk.config.cjs','QTDdG','PLAYWRIGHT','176dVXViX','inherit'];a39_0x149c=function(){return _0x171b5a;};return a39_0x149c();}
|