browserstack-node-sdk 1.49.8 → 1.49.9
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_0x1f8e83=a33_0x13d4;(function(_0x23c696,_0x510c65){const _0x3ee12a=a33_0x13d4,_0xca448d=_0x23c696();while(!![]){try{const _0x5460b5=parseInt(_0x3ee12a(0x1e5))/0x1*(-parseInt(_0x3ee12a(0x1b9))/0x2)+parseInt(_0x3ee12a(0x1ce))/0x3*(-parseInt(_0x3ee12a(0x1a3))/0x4)+-parseInt(_0x3ee12a(0x1c7))/0x5*(parseInt(_0x3ee12a(0x183))/0x6)+parseInt(_0x3ee12a(0x174))/0x7+parseInt(_0x3ee12a(0x192))/0x8+-parseInt(_0x3ee12a(0x1d3))/0x9+parseInt(_0x3ee12a(0x1a2))/0xa*(parseInt(_0x3ee12a(0x1d1))/0xb);if(_0x5460b5===_0x510c65)break;else _0xca448d['push'](_0xca448d['shift']());}catch(_0x2ebcf5){_0xca448d['push'](_0xca448d['shift']());}}}(a33_0x3092,0x43249));function a33_0x13d4(_0x3197bc,_0x52217e){const _0x309272=a33_0x3092();return a33_0x13d4=function(_0x13d466,_0x2a786d){_0x13d466=_0x13d466-0x171;let _0x9c3530=_0x309272[_0x13d466];return _0x9c3530;},a33_0x13d4(_0x3197bc,_0x52217e);}function a33_0x3092(){const _0x2d8d5a=['overrideGet','global','330LmADDW','push','2622465uqPaBr','wqAeA','capability','goog:chromeOptions','url_','SlUOV','./helpers/patchHelper','proxy_','agent_','dYauF','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','session_','getHttpAgent','https://','getAccessibilityResultsSummary','uNFXE','browserstackAgentObservability','1urbqHj','hLdpj','/wd/hub','hwZei','../../../helpers/globals','1880340BWBxFM','originalBuilder','setGlobal','../../../hubAllocationMethods','object','2|1|4|3|5|0','logLevel','ETZVO','newHubUrl','JYGbU','getRequestOptions','setCapabilities','XjUkh','Proxy\x20set\x20to\x20','requireSeleniumWebdriver','6otTipZ','__driver','ieOptions_','se:ieOptions','jxydn','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','ELjdK','storeOptimalHubUrl','../../../bin/utils/constants','mergeDeep','ccmJX','safariOptions_','moz:firefoxOptions','hlGne','isPacProxy','2640328NZjIJA','KFJWH','RpSpJ','chromeOptions_','ROHve','AFHrB','CAPABILITY_KEY','then','chromeOptions','safari.options','../../../helpers/helper','edgeOptions_','Modifying\x20webdriver\x20builder','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','firefoxOptions','quitCount_','139660IvXpcP','58248vItOUE','browserStackLogLevel','proxySettings','isBrowserstackInfra','forEach','iGAOr','requireHttpClient','getHubUrl','Builder','__driversArray','get','setLogLevel','../../../helpers/logger','getAccessibilityResults','debug','capabilities_','proxyUrl','CGudV','HttpClient','sfoNE','firefoxOptions_','gfbks','395258xNOrCg','__drivers','toMnk','set','getGlobal','../../../helpers/accessibility-automation/helper','path','Setting\x20Browserstack\x20capabilities','setServer','XlJRY','exports','info','bibrZ','updateHubUrl','976810jvxikI','../../../helpers/patchHelpers','ieOptions','../accessibility-automation/helper','iEfTt','GnWjy','edgeOptions','12nMDaiI'];a33_0x3092=function(){return _0x2d8d5a;};return a33_0x3092();}const logger=require(a33_0x1f8e83(0x1af))['winstonLogger'],helper=require(a33_0x1f8e83(0x19c)),constants=require(a33_0x1f8e83(0x18b)),hubAllocator=require(a33_0x1f8e83(0x177)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x1f8e83(0x1c8)),{setAccessibilityCapabilities,setExtension}=require(a33_0x1f8e83(0x1ca)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x1f8e83(0x1be)),globals=require(a33_0x1f8e83(0x173)),{overrideExecute}=require(a33_0x1f8e83(0x1d9)),modify=(_0x4702ca,_0x47cd9c=null,_0x1af929=![])=>{const _0x1854d1=a33_0x1f8e83,_0x232203={'rqvsZ':function(_0x223fd4,_0x3e707f){return _0x223fd4!==_0x3e707f;},'UyaST':'/session','XjUkh':function(_0x5b7b16,_0x26ee5f){return _0x5b7b16!==_0x26ee5f;},'sfoNE':function(_0x1b0c20,_0x211b01){return _0x1b0c20+_0x211b01;},'wqAeA':function(_0x5619eb,_0x48414d){return _0x5619eb+_0x48414d;},'QrHqE':_0x1854d1(0x1e1),'GnWjy':_0x1854d1(0x171),'dHKXP':_0x1854d1(0x1d6),'ELjdK':_0x1854d1(0x19a),'RpSpJ':'ms:edgeOptions','wfHxR':_0x1854d1(0x1cd),'pRatl':_0x1854d1(0x18f),'KFJWH':_0x1854d1(0x1a0),'mWtsk':_0x1854d1(0x19b),'iEfTt':_0x1854d1(0x186),'xOSZU':_0x1854d1(0x1c9),'ROHve':function(_0xcc1f24,_0x1e129f){return _0xcc1f24===_0x1e129f;},'uNFXE':_0x1854d1(0x178),'BZDSA':_0x1854d1(0x1c0),'toMnk':'optimalHubUrl','SlUOV':_0x1854d1(0x1de),'tlKRv':function(_0x57c333,_0x4e3dd3,_0x2c2fbf){return _0x57c333(_0x4e3dd3,_0x2c2fbf);},'ETZVO':function(_0x1425c6,_0x4f7f99,_0x1a0f6c){return _0x1425c6(_0x4f7f99,_0x1a0f6c);},'dYauF':function(_0x1ecc16,_0x3ee5c2){return _0x1ecc16(_0x3ee5c2);},'gfbks':function(_0x1fe7aa,_0x33f947,_0x3cdee8){return _0x1fe7aa(_0x33f947,_0x3cdee8);},'gqcPR':function(_0x463159,_0x18517b,_0x380857){return _0x463159(_0x18517b,_0x380857);},'JYGbU':function(_0x41c1ba,_0x55ef0f,_0x11d9a9){return _0x41c1ba(_0x55ef0f,_0x11d9a9);},'jxydn':function(_0x13f86c,_0x5dc50a,_0x42f3df){return _0x13f86c(_0x5dc50a,_0x42f3df);},'XlJRY':_0x1854d1(0x179),'hLdpj':_0x1854d1(0x19f),'CGudV':function(_0x55b6f2){return _0x55b6f2();},'AFHrB':'isAccessibilityPlatform','hwZei':function(_0x1dc735,_0x3b1687){return _0x1dc735(_0x3b1687);},'iGAOr':function(_0x53f8a4,_0x503e51){return _0x53f8a4!==_0x503e51;},'ccmJX':_0x1854d1(0x1dd),'hlGne':_0x1854d1(0x19e)},_0x1a3692=helper[_0x1854d1(0x1a9)]();let _0x285796;try{_0x285796=helper[_0x1854d1(0x182)](),_0x285796[_0x1854d1(0x175)]&&(_0x285796[_0x1854d1(0x1ab)]=_0x285796['originalBuilder']);}catch(_0x54f5c9){return;}if(helper[_0x1854d1(0x1a6)]()){const _0x21f798={};_0x21f798[_0x1854d1(0x17a)]=_0x4702ca[_0x1854d1(0x1a4)],helper[_0x1854d1(0x1ae)](_0x21f798,new Map(),new Map()),logger[_0x1854d1(0x1c4)](_0x232203[_0x1854d1(0x18d)]),logger['debug'](_0x232203[_0x1854d1(0x190)]);}class _0x2ea764 extends _0x1a3692[_0x1854d1(0x1b5)]{['send'](_0xb643af){const _0x2cc65e=_0x1854d1;if(_0x232203['rqvsZ'](_0xb643af[_0x2cc65e(0x1bf)],_0x232203['UyaST'])&&_0x232203[_0x2cc65e(0x180)](global['newHubUrl'],''))try{global[_0x2cc65e(0x17c)]=_0x232203[_0x2cc65e(0x1b6)](_0x232203[_0x2cc65e(0x1d4)](_0x232203['QrHqE'],global[_0x2cc65e(0x17c)]),_0x232203[_0x2cc65e(0x1cc)]),this['options_']=hubAllocator[_0x2cc65e(0x17e)](global['newHubUrl']),logger[_0x2cc65e(0x1b1)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x2cc65e(0x17c)]),global['newHubUrl']='';}catch(_0x341bab){logger['error'](_0x341bab);}return super['send'](_0xb643af);}}class _0x59973e extends _0x285796['Builder']{[_0x1854d1(0x1c1)](){const _0x50119b=_0x1854d1;return this['url_']=helper[_0x50119b(0x1aa)](_0x4702ca),logger[_0x50119b(0x1b1)]('Hub\x20url\x20set\x20to\x20'+this[_0x50119b(0x1d7)]),this;}['__setBrowserOptions'](_0x11bbd7){const _0x2dcb5f=_0x1854d1;let _0x236bea={};for(const _0x4fa259 in _0x11bbd7){switch(_0x4fa259){case _0x232203['dHKXP']:case _0x232203[_0x2dcb5f(0x189)]:this[_0x2dcb5f(0x195)]&&(_0x236bea=this[_0x2dcb5f(0x195)][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x195)][_0x2dcb5f(0x198)])||{},this[_0x2dcb5f(0x195)]['set'](this[_0x2dcb5f(0x195)][_0x2dcb5f(0x198)],helper['mergeDeep'](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203[_0x2dcb5f(0x194)]:case _0x232203['wfHxR']:this[_0x2dcb5f(0x19d)]&&(_0x236bea=this[_0x2dcb5f(0x19d)]['get'](this['edgeOptions_'][_0x2dcb5f(0x198)])||{},this[_0x2dcb5f(0x19d)][_0x2dcb5f(0x1bc)](this['edgeOptions_'][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203['pRatl']:case _0x232203[_0x2dcb5f(0x193)]:this[_0x2dcb5f(0x1b7)]&&(_0x236bea=this['firefoxOptions_'][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x1b7)]['CAPABILITY_KEY'])||{},this['firefoxOptions_'][_0x2dcb5f(0x1bc)](this[_0x2dcb5f(0x1b7)][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203['mWtsk']:this[_0x2dcb5f(0x18e)]&&(_0x236bea=this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x1ad)](this[_0x2dcb5f(0x18e)]['CAPABILITY_KEY'])||{},this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x1bc)](this[_0x2dcb5f(0x18e)][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;case _0x232203[_0x2dcb5f(0x1cb)]:case _0x232203['xOSZU']:this[_0x2dcb5f(0x185)]&&(_0x236bea=this[_0x2dcb5f(0x185)]['get'](this[_0x2dcb5f(0x185)]['CAPABILITY_KEY'])||{},this[_0x2dcb5f(0x185)][_0x2dcb5f(0x1bc)](this['ieOptions_'][_0x2dcb5f(0x198)],helper[_0x2dcb5f(0x18c)](_0x236bea,_0x11bbd7[_0x4fa259])));break;}}}[_0x1854d1(0x17f)](){const _0x2adc6c=_0x1854d1;return logger['debug'](_0x232203['BZDSA']),this['__setBrowserOptions'](_0x4702ca[_0x2adc6c(0x1d5)]),Object['keys'](_0x4702ca['capability'])[_0x2adc6c(0x1a7)](_0x27eecc=>{const _0x29c813=_0x2adc6c,_0x65e9a9=this[_0x29c813(0x1b2)]['get'](_0x27eecc);_0x232203[_0x29c813(0x196)](typeof _0x65e9a9,_0x232203[_0x29c813(0x1e3)])?this[_0x29c813(0x1b2)][_0x29c813(0x1bc)](_0x27eecc,helper['mergeDeep'](_0x65e9a9,_0x4702ca[_0x29c813(0x1d5)][_0x27eecc])):this[_0x29c813(0x1b2)][_0x29c813(0x1bc)](_0x27eecc,_0x4702ca[_0x29c813(0x1d5)][_0x27eecc]);}),this;}['build'](){const _0x181100=_0x1854d1,_0x1e54b1={'qdHhA':function(_0x57e946,_0x30fd67,_0x47d777){const _0xa384a7=a33_0x13d4;return _0x232203[_0xa384a7(0x17d)](_0x57e946,_0x30fd67,_0x47d777);},'bibrZ':function(_0x5ecb6b,_0x107427,_0x59f8f0){const _0x326584=a33_0x13d4;return _0x232203[_0x326584(0x187)](_0x5ecb6b,_0x107427,_0x59f8f0);}};if(helper[_0x181100(0x1a6)]()){const _0x33007a=_0x232203[_0x181100(0x1c2)]['split']('|');let _0x7f33cb=0x0;while(!![]){switch(_0x33007a[_0x7f33cb++]){case'0':logger[_0x181100(0x1b1)](_0x232203[_0x181100(0x1e6)]);continue;case'1':this['setServer']();continue;case'2':_0x232203[_0x181100(0x1b4)](isAccessibilityAutomationSession)&&_0x232203[_0x181100(0x1dc)](setAccessibilityCapabilities,_0x4702ca);continue;case'3':if(helper[_0x181100(0x191)](_0x4702ca[_0x181100(0x1a5)]['proxyUrl']))this[_0x181100(0x1db)]=helper[_0x181100(0x1e0)](_0x4702ca[_0x181100(0x1a5)][_0x181100(0x1b3)]);else _0x4702ca[_0x181100(0x1a5)]['proxyUrl']&&(this[_0x181100(0x1da)]=_0x4702ca['proxySettings'][_0x181100(0x1b3)],logger[_0x181100(0x1b1)](_0x181100(0x181)+this['proxy_']));continue;case'4':this[_0x181100(0x17f)]();continue;case'5':globals[_0x181100(0x1bd)](_0x232203['AFHrB'])&&(!_0x232203['JYGbU'](setExtension,this,_0x4702ca)&&globals[_0x181100(0x176)](_0x232203[_0x181100(0x197)],![]));continue;}break;}}const _0x1e0b08=super['build']();return _0x1e0b08[_0x181100(0x1df)][_0x181100(0x199)](_0x2045d2=>{const _0x13b6a5=_0x181100;try{const _0x315017=_0x2045d2['caps_'][_0x13b6a5(0x1ad)](_0x232203[_0x13b6a5(0x1bb)]);_0x315017?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x315017),hubAllocator[_0x13b6a5(0x1c6)](_0x315017),helper[_0x13b6a5(0x18a)](_0x315017)):logger['debug'](_0x232203[_0x13b6a5(0x1d8)]);}catch(_0x16d7c9){logger['debug'](_0x13b6a5(0x188)+_0x16d7c9);}}),_0x1e0b08[_0x181100(0x1a1)]=0x0,_0x1e0b08[_0x181100(0x199)]&&_0x1e0b08[_0x181100(0x199)](_0x11f4b2=>{const _0x5a17f6=_0x181100,_0x4ba02d={'mzjww':function(_0x92a1f1,_0x203364,_0x26ed4c){return _0x232203['tlKRv'](_0x92a1f1,_0x203364,_0x26ed4c);}};_0x232203[_0x5a17f6(0x17b)](overrideQuit,_0x11f4b2,_0x1e0b08),_0x232203[_0x5a17f6(0x1dc)](overrideTakeScreenshot,_0x11f4b2),helper['overrideGet'](_0x11f4b2,_0x4702ca),_0x232203[_0x5a17f6(0x1b8)](overrideExecute,_0x11f4b2,_0x4702ca),_0x11f4b2[_0x5a17f6(0x1e2)]=async()=>{return await _0x4ba02d['mzjww'](getAccessibilityResultsSummary,_0x11f4b2,global);},_0x11f4b2['getAccessibilityResults']=async()=>{return await _0x1e54b1['qdHhA'](getAccessibilityResults,_0x11f4b2,global);};}),_0x1e0b08[_0x181100(0x1e2)]=async()=>{const _0x3915dd=_0x181100;return await _0x1e54b1[_0x3915dd(0x1c5)](getAccessibilityResultsSummary,_0x1e0b08,global);},_0x1e0b08[_0x181100(0x1b0)]=async()=>{return await _0x232203['gqcPR'](getAccessibilityResults,_0x1e0b08,global);},_0x232203[_0x181100(0x172)](overrideTakeScreenshot,_0x1e0b08),_0x232203[_0x181100(0x1dc)](overrideQuit,_0x1e0b08),helper[_0x181100(0x1cf)](_0x1e0b08,_0x4702ca),_0x232203[_0x181100(0x17b)](overrideExecute,_0x1e0b08,_0x4702ca),helper['isUndefined'](global[_0x181100(0x1ac)])&&(global[_0x181100(0x1ac)]=[]),helper['isUndefined'](global[_0x181100(0x1ba)])&&(global[_0x181100(0x1ba)]=[]),global[_0x181100(0x1ac)][_0x181100(0x1d2)](_0x1e0b08),global[_0x181100(0x184)]=_0x1e0b08,_0x232203[_0x181100(0x1a8)](global[_0x181100(0x1ba)],undefined)&&global['__drivers'][_0x181100(0x1d2)](_0x1e0b08),_0x47cd9c&&helper['isUndefined'](_0x47cd9c[_0x181100(0x1d0)]['__driversArray'])&&(_0x47cd9c[_0x181100(0x1d0)][_0x181100(0x1ac)]=[]),_0x47cd9c&&_0x232203['iGAOr'](_0x47cd9c[_0x181100(0x1d0)]['__drivers'],undefined)&&(_0x47cd9c[_0x181100(0x1d0)]['__drivers']['push'](_0x1e0b08),_0x47cd9c[_0x181100(0x1d0)][_0x181100(0x1ac)]['push'](_0x1e0b08)),_0x1e0b08;}}return _0x285796[_0x1854d1(0x175)]=_0x285796[_0x1854d1(0x1ab)],_0x285796[_0x1854d1(0x1ab)]=_0x59973e,_0x1a3692[_0x1854d1(0x1b5)]=_0x2ea764,_0x285796;};module[a33_0x1f8e83(0x1c3)][a33_0x1f8e83(0x1e4)]=modify;
|
|
1
|
+
const a33_0xe2f8d7=a33_0x3172;(function(_0x2bc075,_0x585d8b){const _0x11046e=a33_0x3172,_0x36f843=_0x2bc075();while(!![]){try{const _0x2ee185=-parseInt(_0x11046e(0xd1))/0x1+parseInt(_0x11046e(0xb0))/0x2+-parseInt(_0x11046e(0xe3))/0x3+parseInt(_0x11046e(0xf7))/0x4*(-parseInt(_0x11046e(0xb7))/0x5)+parseInt(_0x11046e(0x104))/0x6+-parseInt(_0x11046e(0xfd))/0x7+parseInt(_0x11046e(0xc1))/0x8;if(_0x2ee185===_0x585d8b)break;else _0x36f843['push'](_0x36f843['shift']());}catch(_0x5bed3a){_0x36f843['push'](_0x36f843['shift']());}}}(a33_0x1faf,0x38f92));function a33_0x3172(_0x271401,_0x1e76e7){const _0x1faf3b=a33_0x1faf();return a33_0x3172=function(_0x317236,_0x10a239){_0x317236=_0x317236-0x96;let _0xd86ae2=_0x1faf3b[_0x317236];return _0xd86ae2;},a33_0x3172(_0x271401,_0x1e76e7);}function a33_0x1faf(){const _0x587f82=['cpVnW','__drivers','getAccessibilityResults','requireSeleniumWebdriver','edgeOptions_','tUhYS','XklwA','requireHttpClient','Hub\x20url\x20set\x20to\x20','object','set','__driversArray','proxySettings','browserstackAgentObservability','../../../helpers/globals','KXmHW','se:ieOptions','oXqOz','capabilities_','winstonLogger','proxyUrl','keys','NNLkz','sqPiO','optimalHubUrl','push','setCapabilities','isAccessibilityPlatform','browserStackLogLevel','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lvILQ','704972HfwYoJ','getGlobal','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','then','getRequestOptions','AZyPK','1013145IpvsFk','../../../helpers/logger','exports','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','IrTFS','build','CAPABILITY_KEY','WMjGO','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','3|2|0|4|1|5','5855448FLFMdI','proxy_','yIQRL','VcsuS','FxbKR','../../../hubAllocationMethods','moz:firefoxOptions','forEach','setLogLevel','NfTnE','DTLgk','send','agent_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Builder','397021CPoWGw','../../../helpers/accessibility-automation/helper','logLevel','ieOptions_','GQIjY','setGlobal','SHuPL','wpOJG','ExXQN','../../../helpers/helper','https://','__driver','KcaGR','edgeOptions','xrijF','capability','Qmfst','lkoJa','539310BinjqD','originalBuilder','RPtGR','Xygrh','chromeOptions_','url_','caps_','mergeDeep','firefoxOptions_','debug','QIpnk','iZsmF','error','options_','safariOptions_','mRWHC','uZDxk','isBrowserstackInfra','session_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','8YDAAEv','Setting\x20Browserstack\x20capabilities','ms:edgeOptions','/session','global','../accessibility-automation/helper','1683892CsnyFA','./helpers/patchHelper','get','jwaYa','isUndefined','setServer','HttpClient','2229300LlOXzx','/wd/hub','../../../bin/utils/constants','getAccessibilityResultsSummary','pPVng','FfQuf','overrideGet'];a33_0x1faf=function(){return _0x587f82;};return a33_0x1faf();}const logger=require(a33_0xe2f8d7(0xb8))[a33_0xe2f8d7(0xa4)],helper=require(a33_0xe2f8d7(0xda)),constants=require(a33_0xe2f8d7(0x106)),hubAllocator=require(a33_0xe2f8d7(0xc6)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0xe2f8d7(0xfc)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0xe2f8d7(0xd2)),globals=require(a33_0xe2f8d7(0x9f)),{overrideExecute}=require(a33_0xe2f8d7(0xfe)),modify=(_0x335740,_0x1fce77=null,_0x407ab5=![])=>{const _0x1943cf=a33_0xe2f8d7,_0x86acdd={'wpOJG':function(_0xcfa531,_0x5951e0){return _0xcfa531!==_0x5951e0;},'KcaGR':_0x1943cf(0xfa),'NNLkz':function(_0x58652d,_0x5e4193){return _0x58652d+_0x5e4193;},'xrijF':_0x1943cf(0xdb),'NfTnE':_0x1943cf(0x105),'GQIjY':'goog:chromeOptions','Xygrh':'chromeOptions','RPtGR':_0x1943cf(0xf9),'HVhdD':_0x1943cf(0xde),'xwsoK':_0x1943cf(0xc7),'iZsmF':'firefoxOptions','jwaYa':'safari.options','FxbKR':_0x1943cf(0xa1),'lkoJa':'ieOptions','aqdZr':function(_0x8720fa,_0xee8018){return _0x8720fa===_0xee8018;},'uZDxk':_0x1943cf(0x9a),'AwEbd':_0x1943cf(0xf8),'mRWHC':function(_0x593b48,_0x561c57,_0x280c07){return _0x593b48(_0x561c57,_0x280c07);},'cpVnW':_0x1943cf(0xa9),'zcESH':_0x1943cf(0xae),'sqPiO':function(_0x4c715e,_0x53e56f,_0x1ae336){return _0x4c715e(_0x53e56f,_0x1ae336);},'VcsuS':function(_0x518c00,_0x52cc5a){return _0x518c00(_0x52cc5a);},'SHuPL':_0x1943cf(0xc0),'lvILQ':_0x1943cf(0xac),'AZyPK':function(_0x4863ff,_0x592b3f,_0x4d3043){return _0x4863ff(_0x592b3f,_0x4d3043);},'tUhYS':function(_0xf3027f){return _0xf3027f();},'oXqOz':function(_0x3df1c0,_0x1f7e83){return _0x3df1c0(_0x1f7e83);},'ExXQN':_0x1943cf(0xce),'DTLgk':function(_0x2645a3,_0x4351c9){return _0x2645a3(_0x4351c9);},'hEDpI':function(_0x4f507a,_0x2d9972){return _0x4f507a(_0x2d9972);},'pPVng':function(_0x119547,_0x21f748,_0x83d57a){return _0x119547(_0x21f748,_0x83d57a);},'KXmHW':_0x1943cf(0xf6),'Qmfst':'Modifying\x20webdriver\x20builder'},_0x43e852=helper[_0x1943cf(0x98)]();let _0x2a6d9f;try{_0x2a6d9f=helper[_0x1943cf(0x10e)](),_0x2a6d9f[_0x1943cf(0xe4)]&&(_0x2a6d9f[_0x1943cf(0xd0)]=_0x2a6d9f[_0x1943cf(0xe4)]);}catch(_0x3c9cf1){return;}if(helper[_0x1943cf(0xf4)]()){const _0x5f3819={};_0x5f3819[_0x1943cf(0xd3)]=_0x335740[_0x1943cf(0xad)],helper[_0x1943cf(0xc9)](_0x5f3819,new Map(),new Map()),logger['info'](_0x86acdd[_0x1943cf(0xa0)]),logger[_0x1943cf(0xec)](_0x86acdd[_0x1943cf(0xe1)]);}class _0x907718 extends _0x43e852[_0x1943cf(0x103)]{[_0x1943cf(0xcc)](_0x1b1165){const _0x57be7a=_0x1943cf;if(_0x86acdd[_0x57be7a(0xd8)](_0x1b1165['path'],_0x86acdd[_0x57be7a(0xdd)])&&_0x86acdd[_0x57be7a(0xd8)](global[_0x57be7a(0xcf)],''))try{global['newHubUrl']=_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xdf)],global[_0x57be7a(0xcf)]),_0x86acdd[_0x57be7a(0xca)]),this[_0x57be7a(0xf0)]=hubAllocator[_0x57be7a(0xb5)](global['newHubUrl']),logger[_0x57be7a(0xec)](_0x57be7a(0xb3)+global[_0x57be7a(0xcf)]),global['newHubUrl']='';}catch(_0x36dd28){logger[_0x57be7a(0xef)](_0x36dd28);}return super[_0x57be7a(0xcc)](_0x1b1165);}}class _0x234cc8 extends _0x2a6d9f[_0x1943cf(0xd0)]{[_0x1943cf(0x102)](){const _0x2a5888=_0x1943cf;return this[_0x2a5888(0xe8)]=helper['getHubUrl'](_0x335740),logger[_0x2a5888(0xec)](_0x2a5888(0x99)+this[_0x2a5888(0xe8)]),this;}['__setBrowserOptions'](_0x3e788d){const _0x1fcd00=_0x1943cf;let _0x886948={};for(const _0x43c339 in _0x3e788d){switch(_0x43c339){case _0x86acdd[_0x1fcd00(0xd5)]:case _0x86acdd[_0x1fcd00(0xe6)]:this[_0x1fcd00(0xe7)]&&(_0x886948=this[_0x1fcd00(0xe7)][_0x1fcd00(0xff)](this['chromeOptions_'][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xe7)]['set'](this[_0x1fcd00(0xe7)][_0x1fcd00(0xbd)],helper['mergeDeep'](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xe5)]:case _0x86acdd['HVhdD']:this[_0x1fcd00(0x10f)]&&(_0x886948=this[_0x1fcd00(0x10f)][_0x1fcd00(0xff)](this[_0x1fcd00(0x10f)]['CAPABILITY_KEY'])||{},this[_0x1fcd00(0x10f)][_0x1fcd00(0x9b)](this[_0x1fcd00(0x10f)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd['xwsoK']:case _0x86acdd[_0x1fcd00(0xee)]:this[_0x1fcd00(0xeb)]&&(_0x886948=this['firefoxOptions_'][_0x1fcd00(0xff)](this[_0x1fcd00(0xeb)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xeb)][_0x1fcd00(0x9b)](this['firefoxOptions_'][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0x100)]:this[_0x1fcd00(0xf1)]&&(_0x886948=this[_0x1fcd00(0xf1)][_0x1fcd00(0xff)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xf1)][_0x1fcd00(0x9b)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xc5)]:case _0x86acdd[_0x1fcd00(0xe2)]:this[_0x1fcd00(0xd4)]&&(_0x886948=this[_0x1fcd00(0xd4)][_0x1fcd00(0xff)](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)])||{},this['ieOptions_']['set'](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;}}}['setCapabilities'](){const _0x411ea1=_0x1943cf;return logger[_0x411ea1(0xec)](_0x86acdd['AwEbd']),this['__setBrowserOptions'](_0x335740[_0x411ea1(0xe0)]),Object[_0x411ea1(0xa6)](_0x335740[_0x411ea1(0xe0)])[_0x411ea1(0xc8)](_0x5d2c27=>{const _0x3fa5d9=_0x411ea1,_0x599c2a=this[_0x3fa5d9(0xa3)][_0x3fa5d9(0xff)](_0x5d2c27);_0x86acdd['aqdZr'](typeof _0x599c2a,_0x86acdd[_0x3fa5d9(0xf3)])?this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,helper[_0x3fa5d9(0xea)](_0x599c2a,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27])):this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27]);}),this;}[_0x1943cf(0xbc)](){const _0x20cbd3=_0x1943cf,_0x35f6fd={'QIpnk':_0x86acdd[_0x20cbd3(0x10b)],'yIQRL':_0x86acdd['zcESH'],'WMjGO':function(_0x2d1cf7,_0x8525ce,_0x5b23e9){const _0x3da242=_0x20cbd3;return _0x86acdd[_0x3da242(0xa8)](_0x2d1cf7,_0x8525ce,_0x5b23e9);},'IrTFS':function(_0x48e380,_0x4fe6cc){const _0x334ce5=_0x20cbd3;return _0x86acdd[_0x334ce5(0xc4)](_0x48e380,_0x4fe6cc);},'XklwA':function(_0x3798ac,_0x5d102d,_0x47aff4){const _0x3c6b7e=_0x20cbd3;return _0x86acdd[_0x3c6b7e(0xa8)](_0x3798ac,_0x5d102d,_0x47aff4);}};if(helper[_0x20cbd3(0xf4)]()){const _0x53fa42=_0x86acdd[_0x20cbd3(0xd7)]['split']('|');let _0x45ef55=0x0;while(!![]){switch(_0x53fa42[_0x45ef55++]){case'0':this[_0x20cbd3(0xab)]();continue;case'1':globals[_0x20cbd3(0xb1)](_0x86acdd['lvILQ'])&&(!_0x86acdd[_0x20cbd3(0xb6)](setExtension,this,_0x335740)&&globals[_0x20cbd3(0xd6)](_0x86acdd[_0x20cbd3(0xaf)],![]));continue;case'2':this['setServer']();continue;case'3':_0x86acdd[_0x20cbd3(0x96)](isAccessibilityAutomationSession)&&_0x86acdd[_0x20cbd3(0xa2)](setAccessibilityCapabilities,_0x335740);continue;case'4':if(helper['isPacProxy'](_0x335740[_0x20cbd3(0x9d)]['proxyUrl']))this[_0x20cbd3(0xcd)]=helper['getHttpAgent'](_0x335740[_0x20cbd3(0x9d)][_0x20cbd3(0xa5)]);else _0x335740[_0x20cbd3(0x9d)]['proxyUrl']&&(this['proxy_']=_0x335740[_0x20cbd3(0x9d)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x20cbd3(0xc2)]));continue;case'5':logger[_0x20cbd3(0xec)](_0x86acdd[_0x20cbd3(0xd9)]);continue;}break;}}const _0x41c434=super[_0x20cbd3(0xbc)]();return _0x41c434[_0x20cbd3(0xf5)][_0x20cbd3(0xb4)](_0x3ed4c9=>{const _0x1c168e=_0x20cbd3;try{const _0x138451=_0x3ed4c9[_0x1c168e(0xe9)][_0x1c168e(0xff)](_0x35f6fd[_0x1c168e(0xed)]);_0x138451?(logger[_0x1c168e(0xec)](_0x1c168e(0xba)+_0x138451),hubAllocator['updateHubUrl'](_0x138451),helper[_0x1c168e(0xb2)](_0x138451)):logger['debug'](_0x35f6fd[_0x1c168e(0xc3)]);}catch(_0xfc8887){logger[_0x1c168e(0xec)](_0x1c168e(0xbf)+_0xfc8887);}}),_0x41c434['quitCount_']=0x0,_0x41c434[_0x20cbd3(0xb4)]&&_0x41c434['then'](_0x1f61b3=>{const _0x1fce38=_0x20cbd3,_0x2d2186={'yiDjv':function(_0x497683,_0x2cd1fd,_0x5ba3e9){return _0x35f6fd['WMjGO'](_0x497683,_0x2cd1fd,_0x5ba3e9);},'FfQuf':function(_0xde4516,_0x2b67b0,_0x369b18){const _0x4c978e=a33_0x3172;return _0x35f6fd[_0x4c978e(0xbe)](_0xde4516,_0x2b67b0,_0x369b18);}};_0x35f6fd['WMjGO'](overrideQuit,_0x1f61b3,_0x41c434),_0x35f6fd[_0x1fce38(0xbb)](overrideTakeScreenshot,_0x1f61b3),helper[_0x1fce38(0x10a)](_0x1f61b3,_0x335740),_0x35f6fd[_0x1fce38(0x97)](overrideExecute,_0x1f61b3,_0x335740),_0x1f61b3[_0x1fce38(0x107)]=async()=>{return await _0x2d2186['yiDjv'](getAccessibilityResultsSummary,_0x1f61b3,global);},_0x1f61b3['getAccessibilityResults']=async()=>{const _0x148694=_0x1fce38;return await _0x2d2186[_0x148694(0x109)](getAccessibilityResults,_0x1f61b3,global);};}),_0x41c434[_0x20cbd3(0x107)]=async()=>{const _0x23ac40=_0x20cbd3;return await _0x86acdd[_0x23ac40(0xf2)](getAccessibilityResultsSummary,_0x41c434,global);},_0x41c434[_0x20cbd3(0x10d)]=async()=>{const _0x28d7f1=_0x20cbd3;return await _0x35f6fd[_0x28d7f1(0xbe)](getAccessibilityResults,_0x41c434,global);},_0x86acdd[_0x20cbd3(0xcb)](overrideTakeScreenshot,_0x41c434),_0x86acdd['hEDpI'](overrideQuit,_0x41c434),helper[_0x20cbd3(0x10a)](_0x41c434,_0x335740),_0x86acdd[_0x20cbd3(0x108)](overrideExecute,_0x41c434,_0x335740),helper['isUndefined'](global[_0x20cbd3(0x9c)])&&(global[_0x20cbd3(0x9c)]=[]),helper[_0x20cbd3(0x101)](global['__drivers'])&&(global[_0x20cbd3(0x10c)]=[]),global[_0x20cbd3(0x9c)][_0x20cbd3(0xaa)](_0x41c434),global[_0x20cbd3(0xdc)]=_0x41c434,_0x86acdd['wpOJG'](global[_0x20cbd3(0x10c)],undefined)&&global[_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77&&helper[_0x20cbd3(0x101)](_0x1fce77['global'][_0x20cbd3(0x9c)])&&(_0x1fce77['global'][_0x20cbd3(0x9c)]=[]),_0x1fce77&&_0x86acdd['wpOJG'](_0x1fce77[_0x20cbd3(0xfb)]['__drivers'],undefined)&&(_0x1fce77[_0x20cbd3(0xfb)][_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77['global']['__driversArray']['push'](_0x41c434)),_0x41c434;}}return _0x2a6d9f[_0x1943cf(0xe4)]=_0x2a6d9f[_0x1943cf(0xd0)],_0x2a6d9f['Builder']=_0x234cc8,_0x43e852[_0x1943cf(0x103)]=_0x907718,_0x2a6d9f;};module[a33_0xe2f8d7(0xb9)][a33_0xe2f8d7(0x9e)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a34_0x5773(_0x43a305,_0x4969dc){const _0xaae76=a34_0xaae7();return a34_0x5773=function(_0x577333,_0x47265b){_0x577333=_0x577333-0xf6;let _0xffa1d3=_0xaae76[_0x577333];return _0xffa1d3;},a34_0x5773(_0x43a305,_0x4969dc);}const a34_0x3daf0a=a34_0x5773;(function(_0x1ea567,_0x464afe){const _0x2bc5f3=a34_0x5773,_0x27e865=_0x1ea567();while(!![]){try{const _0x4b17e8=parseInt(_0x2bc5f3(0x103))/0x1+-parseInt(_0x2bc5f3(0xf6))/0x2*(parseInt(_0x2bc5f3(0xf8))/0x3)+-parseInt(_0x2bc5f3(0xfd))/0x4*(parseInt(_0x2bc5f3(0x104))/0x5)+parseInt(_0x2bc5f3(0xfc))/0x6*(parseInt(_0x2bc5f3(0x100))/0x7)+parseInt(_0x2bc5f3(0x105))/0x8*(parseInt(_0x2bc5f3(0x101))/0x9)+parseInt(_0x2bc5f3(0xf9))/0xa+parseInt(_0x2bc5f3(0xfe))/0xb;if(_0x4b17e8===_0x464afe)break;else _0x27e865['push'](_0x27e865['shift']());}catch(_0x1e646a){_0x27e865['push'](_0x27e865['shift']());}}}(a34_0xaae7,0xc115e));const requestSpy=require(a34_0x3daf0a(0xfb)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x3daf0a(0x102));exports[a34_0x3daf0a(0xfa)]={'beforeAll'(){const _0x507426={'RPXVk':function(_0x199df3){return _0x199df3();}},_0x1b7640='browserstack internal helper hook';_0x507426['RPXVk'](addRequestSpy);},'afterAll'(){const _0x2d8f9d=a34_0x3daf0a,_0x10aff7='browserstack internal helper hook';this[_0x2d8f9d(0xff)](0xea60),requestSpy[_0x2d8f9d(0xf7)]();}};function a34_0xaae7(){const _0x4b5b52=['311145Vefkpf','366616RbSCFU','130gVZyiB','restore','22152kJgyjb','5603530oYxGXe','mochaHooks','../../../helpers/request-spy','180498BSFRbu','100qDjUHw','13935317iijvYH','timeout','14hnrPhz','144eItMlZ','../../../helpers/test-observability/utils','205965OhQpJJ'];a34_0xaae7=function(){return _0x4b5b52;};return a34_0xaae7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a35_0xa927(){const _0x3bd9f9=['map_','passed','../../../helpers/testhub/utils','173173eXGduC','hookAnalyticsId','omCxt','RFPbZ','BJnwl','sXYcA','markedStatus','../../../helpers/helper','lEwLA','../../utils/logPatcher','QffJm','get','12636531YKePSh','uuid','getHookSkippedTests','type','../../../helpers/test-observability/utils','getPlatform','toJSON','GlHTr','CKxEI','PEPIc','MkAxM','nGgeL','57565IkLfrV','failed','HFpua','40sapiTq','YjHDi','platformVersion','parent','RjvMX','sendPlatformDetails','hook','qsmHy','_afterAll','18158679UqDwEB','browserstack','KMJGL','QfXvi','xOyRp','eRemj','getBrowserName','forEach','6334872zxJoFM','LXLFb','getTestEnv','127524HOTOvW','getSession','sAZxk','uSzcR','mapTestHooks','getHooksForTest','getCapabilities','emit','372SMCDmU','ixyzJ','fromEntries','getHookDetails','ZcMMe','hJnIK','mlCgQ','hook:','rnckX','fDHqz','substring','suites','generic','_beforeEach','indexOf','__cloud_provider___','toISOString','js-','../../../helpers/test-observability/constants','489998XyJWpV','state','split','qnVfF','filter','XxmFU','ZYvqU','10wPsMku','bs:addPlatformDetails:','_afterEach','_beforeAll','concat','lodash','48GTIevH','pid'];a35_0xa927=function(){return _0x3bd9f9;};return a35_0xa927();}const a35_0x531f1f=a35_0x477c;(function(_0x38db4d,_0x24b198){const _0x423b53=a35_0x477c,_0x5b6899=_0x38db4d();while(!![]){try{const _0x4bf6a5=-parseInt(_0x423b53(0x226))/0x1+-parseInt(_0x423b53(0x1f7))/0x2*(parseInt(_0x423b53(0x20b))/0x3)+parseInt(_0x423b53(0x233))/0x4*(-parseInt(_0x423b53(0x1f4))/0x5)+parseInt(_0x423b53(0x213))/0x6*(-parseInt(_0x423b53(0x238))/0x7)+parseInt(_0x423b53(0x208))/0x8+-parseInt(_0x423b53(0x244))/0x9*(-parseInt(_0x423b53(0x22d))/0xa)+parseInt(_0x423b53(0x200))/0xb;if(_0x4bf6a5===_0x24b198)break;else _0x5b6899['push'](_0x5b6899['shift']());}catch(_0x5c2547){_0x5b6899['push'](_0x5b6899['shift']());}}}(a35_0xa927,0xcbc0f));const {v4:uuidv4}=require(a35_0x531f1f(0x245)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x531f1f(0x241)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x531f1f(0x1ec)),{consoleHolder}=require(a35_0x531f1f(0x225)),{getPlatformVersion}=require(a35_0x531f1f(0x23f)),{shouldProcessEventForTesthub}=require(a35_0x531f1f(0x237)),{isFunction}=require(a35_0x531f1f(0x232)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x477c(_0x33a5be,_0x1a22d2){const _0xa927a3=a35_0xa927();return a35_0x477c=function(_0x477cf2,_0x33ea94){_0x477cf2=_0x477cf2-0x1ec;let _0x12c83b=_0xa927a3[_0x477cf2];return _0x12c83b;},a35_0x477c(_0x33a5be,_0x1a22d2);}patchConsoleLogger(),exports[a35_0x531f1f(0x20a)]=()=>{const _0x1061c3=a35_0x531f1f,_0x3dd150={'RFPbZ':_0x1061c3(0x21f),'nGgeL':function(_0x1f751f){return _0x1f751f();}};return{'ci':_0x3dd150[_0x1061c3(0x23b)],'key':_0x3dd150[_0x1061c3(0x1f3)](uuidv4),'version':version,'collector':_0x1061c3(0x224)+name};},exports[a35_0x531f1f(0x216)]=_0x51b37d=>{const _0x228415=a35_0x531f1f,_0x22ac5c={};_0x22ac5c[_0x228415(0x1fe)]=function(_0x4ff34e,_0x5da5ef){return _0x4ff34e!==_0x5da5ef;},_0x22ac5c['sAZxk']='string',_0x22ac5c[_0x228415(0x1fb)]=_0x228415(0x21a),_0x22ac5c[_0x228415(0x214)]=_0x228415(0x1fd);const _0x584a9a=_0x22ac5c;if(!_0x51b37d||_0x584a9a[_0x228415(0x1fe)](typeof _0x51b37d,_0x584a9a[_0x228415(0x20d)]))return[null,null];if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x1fb)]),-0x1)){const _0x2a811b=_0x51b37d[_0x228415(0x228)](_0x584a9a['RjvMX']);return[_0x2a811b[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x2a811b[0x1][_0x228415(0x21d)](0x1)];}else{if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x214)]),-0x1)){const _0x4936c4=_0x51b37d['split'](_0x584a9a['ixyzJ']);return[_0x4936c4[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x51b37d];}}return[null,null];},exports[a35_0x531f1f(0x210)]=_0x326585=>{const _0x2a61d5=a35_0x531f1f,_0x13fed1={'XxmFU':function(_0x2597eb,_0x36a664){return _0x2597eb(_0x36a664);},'GlHTr':_0x2a61d5(0x230),'ntNqr':_0x2a61d5(0x1ff),'QffJm':_0x2a61d5(0x220),'hJnIK':_0x2a61d5(0x22f)};if(!_0x326585||!_0x326585[_0x2a61d5(0x1fa)])return[];const _0x58aeae=[];return[_0x13fed1[_0x2a61d5(0x1ef)],_0x13fed1['ntNqr'],_0x13fed1[_0x2a61d5(0x242)],_0x13fed1[_0x2a61d5(0x218)]][_0x2a61d5(0x207)](_0x2e39b7=>{const _0x37fd78=_0x2a61d5,_0x400201=_0x326585[_0x37fd78(0x1fa)][_0x2e39b7]||[];_0x400201[_0x37fd78(0x207)](_0x55855b=>{const _0x4d1ef6=_0x37fd78;_0x55855b[_0x4d1ef6(0x239)]&&!_0x13fed1[_0x4d1ef6(0x22b)](isInternalHook,_0x55855b['fn'])&&_0x58aeae['push'](_0x55855b[_0x4d1ef6(0x239)]);});}),[..._0x58aeae,...exports[_0x2a61d5(0x210)](_0x326585[_0x2a61d5(0x1fa)])];},exports['mapTestHooks']=_0x2d35f6=>{const _0x1d9340=a35_0x531f1f,_0x7e5cf={'rRjOT':function(_0x265dac){return _0x265dac();},'ZcMMe':function(_0xa9c5d1,_0xff480c){return _0xa9c5d1===_0xff480c;},'MkAxM':_0x1d9340(0x22f),'lUgtg':function(_0xb2fc7e){return _0xb2fc7e();},'fDHqz':_0x1d9340(0x230),'nJJcU':'_afterAll','rnckX':_0x1d9340(0x220)};if(!_0x2d35f6||!_0x2d35f6[_0x1d9340(0x1fa)])return;[_0x7e5cf[_0x1d9340(0x21c)],_0x7e5cf['nJJcU'],_0x7e5cf[_0x1d9340(0x21b)],_0x7e5cf['MkAxM']]['forEach'](_0x127517=>{const _0x2ee779=_0x1d9340,_0x13e28c={'CKxEI':function(_0x9946a6){return _0x7e5cf['rRjOT'](_0x9946a6);},'QfXvi':function(_0x1168d7,_0x99768f){const _0x5d32a5=a35_0x477c;return _0x7e5cf[_0x5d32a5(0x217)](_0x1168d7,_0x99768f);},'sXYcA':_0x7e5cf[_0x2ee779(0x1f2)],'uSzcR':function(_0x4d5942){return _0x7e5cf['lUgtg'](_0x4d5942);}},_0x5477be=_0x2d35f6[_0x2ee779(0x1fa)][_0x127517]||[];_0x5477be[_0x2ee779(0x207)](_0x4290d9=>{const _0x5d2efb=_0x2ee779;if(!_0x4290d9['hookAnalyticsId'])_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x1f0)](uuidv4);else _0x4290d9[_0x5d2efb(0x23e)]&&_0x13e28c[_0x5d2efb(0x203)](_0x127517,_0x13e28c[_0x5d2efb(0x23d)])&&(_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x20e)](uuidv4),delete _0x4290d9[_0x5d2efb(0x23e)]);});}),exports[_0x1d9340(0x20f)](_0x2d35f6[_0x1d9340(0x1fa)]);},exports[a35_0x531f1f(0x1fc)]=async(_0x6961da,_0x566ceb)=>{const _0x4808a7=a35_0x531f1f,_0xd8ec49={'KMJGL':function(_0x154c7e){return _0x154c7e();},'lEwLA':function(_0xed049c,_0x530adc){return _0xed049c(_0x530adc);},'PEPIc':_0x4808a7(0x1f9),'eRemj':function(_0x4fdc02,_0x2f01f5){return _0x4fdc02===_0x2f01f5;},'LXLFb':_0x4808a7(0x201),'BJnwl':'unknown_grid','HFpua':'TEST_PLATFORM'};try{if(!_0xd8ec49[_0x4808a7(0x202)](shouldProcessEventForTesthub))return;const _0x5b9ce3=await _0x6961da['getCapabilities'](),_0x2a8c98=await _0x6961da[_0x4808a7(0x20c)](),_0x12be51={},_0x142545=Object[_0x4808a7(0x215)](_0x2a8c98[_0x4808a7(0x211)]()[_0x4808a7(0x235)]),_0x1912b7={'product':_0xd8ec49[_0x4808a7(0x240)](getObservabilityLinkedProductName,_0x142545),'capabilities':_0x142545,'platform':_0x5b9ce3[_0x4808a7(0x1ed)](),'platform_version':_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)])?_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)]):_0xd8ec49[_0x4808a7(0x240)](getPlatformVersion,_0xd8ec49[_0x4808a7(0x205)](global[_0x4808a7(0x222)],_0xd8ec49[_0x4808a7(0x209)])),'browser':_0x5b9ce3[_0x4808a7(0x206)](),'browser_version':_0x5b9ce3['getBrowserVersion'](),'session_id':_0x2a8c98[_0x4808a7(0x1ee)]()};global['__cloud_provider___']?_0x12be51[global[_0x4808a7(0x222)]]=_0x1912b7:_0x12be51[_0xd8ec49[_0x4808a7(0x23c)]]=_0x1912b7,process[_0x4808a7(0x212)](_0x4808a7(0x22e)+process[_0x4808a7(0x234)],{'timestamp':new Date()[_0x4808a7(0x223)](),'level':null,'message':null,'kind':_0xd8ec49[_0x4808a7(0x1f6)],'http_response':_0x12be51,'uuid':_0x566ceb});}catch(_0x22be8b){_0xd8ec49[_0x4808a7(0x240)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x22be8b);}},exports[a35_0x531f1f(0x246)]=_0x490e6b=>{const _0x1b13f6=a35_0x531f1f,_0x1673cd={};_0x1673cd[_0x1b13f6(0x229)]=function(_0x266199,_0x2e1d63){return _0x266199!==_0x2e1d63;},_0x1673cd[_0x1b13f6(0x204)]=_0x1b13f6(0x1fd),_0x1673cd['YjHDi']=function(_0xdbd77d,_0x5de9c3){return _0xdbd77d!==_0x5de9c3;},_0x1673cd['mlCgQ']=_0x1b13f6(0x236),_0x1673cd[_0x1b13f6(0x23a)]=function(_0x287743,_0x142074){return _0x287743!==_0x142074;},_0x1673cd[_0x1b13f6(0x22c)]=_0x1b13f6(0x1f5);const _0x50e1cd=_0x1673cd,_0x59a6e3=_0x490e6b[_0x1b13f6(0x21e)]['reduce']((_0x47a3da,_0x4d16cb)=>{const _0x3fc57d=_0x1b13f6,_0x5aa4c1=exports[_0x3fc57d(0x246)](_0x4d16cb);return _0x5aa4c1&&(_0x47a3da=_0x47a3da[_0x3fc57d(0x231)](_0x5aa4c1)),_0x47a3da;},[]),_0x2a3465=_0x490e6b['tests'][_0x1b13f6(0x22a)](_0x15f683=>{const _0x186696=_0x1b13f6,_0x4de771=_0x50e1cd[_0x186696(0x229)](_0x15f683[_0x186696(0x247)],_0x50e1cd['xOyRp'])&&!_0x15f683['markedStatus']&&_0x50e1cd[_0x186696(0x1f8)](_0x15f683['state'],_0x50e1cd[_0x186696(0x219)])&&_0x50e1cd[_0x186696(0x23a)](_0x15f683[_0x186696(0x227)],_0x50e1cd[_0x186696(0x22c)])&&!_0x15f683['pending'];return _0x4de771;});return _0x2a3465['concat'](_0x59a6e3);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x5ad37e=a36_0x1ab1;(function(_0x27e6cd,_0x30e993){const _0x4036d0=a36_0x1ab1,_0x41d0bf=_0x27e6cd();while(!![]){try{const _0x7a328f=-parseInt(_0x4036d0(0x242))/0x1+-parseInt(_0x4036d0(0x201))/0x2*(-parseInt(_0x4036d0(0x26e))/0x3)+-parseInt(_0x4036d0(0x25f))/0x4*(-parseInt(_0x4036d0(0x225))/0x5)+parseInt(_0x4036d0(0x1d2))/0x6*(-parseInt(_0x4036d0(0x266))/0x7)+parseInt(_0x4036d0(0x22b))/0x8+-parseInt(_0x4036d0(0x1fa))/0x9+-parseInt(_0x4036d0(0x25c))/0xa*(-parseInt(_0x4036d0(0x23c))/0xb);if(_0x7a328f===_0x30e993)break;else _0x41d0bf['push'](_0x41d0bf['shift']());}catch(_0x1b9b4d){_0x41d0bf['push'](_0x41d0bf['shift']());}}}(a36_0x502e,0x81430));const util=require(a36_0x5ad37e(0x1ea)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x5ad37e(0x1d1)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5ad37e(0x21e)),{percyAutoCapture}=require(a36_0x5ad37e(0x218)),{sendPlatformDetails}=require(a36_0x5ad37e(0x1e7)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x5ad37e(0x271)),PerformanceTester=require(a36_0x5ad37e(0x24f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x5ad37e(0x203)),globals=require(a36_0x5ad37e(0x200)),logger=require('../../helpers/logger')[a36_0x5ad37e(0x20e)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5ad37e(0x25e));exports[a36_0x5ad37e(0x265)]={'beforeAll'(){const _0x307bb0=a36_0x5ad37e,_0x4325c3={'IdWWR':function(_0x4e6b62,_0x423c26,_0xc69a8e,_0x579bf1){return _0x4e6b62(_0x423c26,_0xc69a8e,_0x579bf1);},'IMXVg':_0x307bb0(0x1eb),'FVLuL':_0x307bb0(0x269),'ncaDE':function(_0x3a87ae,_0x1a6055,_0x5e01da){return _0x3a87ae(_0x1a6055,_0x5e01da);},'XeAiD':'passed','ImjZO':function(_0x5908a7){return _0x5908a7();},'vproZ':function(_0x1c2c7e,_0xb9f8ba,_0x5c30b5){return _0x1c2c7e(_0xb9f8ba,_0x5c30b5);},'qOhsk':function(_0x19265a,_0x45edf0,_0x5c1f67){return _0x19265a(_0x45edf0,_0x5c1f67);},'tyMSr':_0x307bb0(0x234),'yxkiM':_0x307bb0(0x236)};PerformanceTester[_0x307bb0(0x1c1)]();const _0x218a87='browserstack internal helper hook';PerformanceTester[_0x307bb0(0x1ca)](PerformanceSdkEvents[_0x307bb0(0x250)],()=>{const _0x5035fc=_0x307bb0;global[_0x5035fc(0x224)]=[],global[_0x5035fc(0x239)]=![],global[_0x5035fc(0x1e2)]=async()=>{const _0x158cf7=_0x5035fc;let _0x138989=![];try{await global[_0x158cf7(0x233)][0x0]['session_'],_0x138989=!![],global[_0x158cf7(0x239)]?await _0x4325c3[_0x158cf7(0x243)](markSessionStatus,global[_0x158cf7(0x233)][0x0],_0x4325c3[_0x158cf7(0x1e8)],global['__error_messages__']['join'](_0x4325c3[_0x158cf7(0x1c9)])):await _0x4325c3[_0x158cf7(0x259)](markSessionStatus,global[_0x158cf7(0x233)][0x0],_0x4325c3[_0x158cf7(0x1f1)]);}catch(_0xbd8bb8){logger['debug'](_0x158cf7(0x1e4)+_0xbd8bb8);}global[_0x158cf7(0x224)]=[],global[_0x158cf7(0x239)]=![];if(_0x138989)try{try{_0x4325c3[_0x158cf7(0x1ef)](shouldProcessEventForTesthub)&&(global[_0x158cf7(0x233)][0x0]&&await _0x4325c3['vproZ'](sendPlatformDetails,global['__drivers'][0x0],this[_0x158cf7(0x248)]?this[_0x158cf7(0x248)][_0x158cf7(0x262)]:null));}catch(_0x239f1a){logger[_0x158cf7(0x26b)](_0x158cf7(0x1f5)+_0x239f1a);}await global[_0x158cf7(0x233)][0x0][_0x158cf7(0x1f8)]();}catch(_0x5a3284){logger[_0x158cf7(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x5a3284);}};},{'platform':_0x4325c3[_0x307bb0(0x21c)](nestedKeyValue,global[_0x307bb0(0x1c4)],[_0x4325c3[_0x307bb0(0x1d9)]]),'hookType':_0x4325c3[_0x307bb0(0x245)]})();},'beforeEach'(_0x1f04af){const _0x4e5941=a36_0x5ad37e,_0x339a6a={'AeGbP':function(_0x142029){return _0x142029();},'ehrLz':function(_0x4061ef,_0x3c7dd3){return _0x4061ef>_0x3c7dd3;},'rOTlX':_0x4e5941(0x257),'zObkw':function(_0x1f2393,_0x48b0e0,_0xca1032){return _0x1f2393(_0x48b0e0,_0xca1032);},'TmwKp':_0x4e5941(0x25d),'KcjWy':_0x4e5941(0x1f6),'ybqwr':function(_0x169c16,_0x4040d1){return _0x169c16===_0x4040d1;},'gqMBy':_0x4e5941(0x263),'zkEhV':_0x4e5941(0x26d),'BpwkF':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','adLzH':_0x4e5941(0x252),'Bbfqt':function(_0x3baaa0){return _0x3baaa0();},'CzsNG':_0x4e5941(0x1c2),'ahnNJ':_0x4e5941(0x234),'FmRhw':_0x4e5941(0x249)};globals[_0x4e5941(0x1ed)](_0x339a6a[_0x4e5941(0x1cc)],this[_0x4e5941(0x248)]['titlePath']()['join'](_0x339a6a['rOTlX'])),PerformanceTester[_0x4e5941(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x9a7b9c=_0x4e5941,_0x4afcdb={'SFSVv':function(_0x2eb786,_0x53fb49){const _0x1e1574=a36_0x1ab1;return _0x339a6a[_0x1e1574(0x26f)](_0x2eb786,_0x53fb49);},'GcNIU':_0x339a6a[_0x9a7b9c(0x220)],'Kpyrk':function(_0x374d64,_0x152683,_0x338cdf){const _0x55ff36=_0x9a7b9c;return _0x339a6a[_0x55ff36(0x1fb)](_0x374d64,_0x152683,_0x338cdf);},'eeecd':_0x339a6a['TmwKp'],'aAcfl':function(_0x58645b){const _0x39f5ac=_0x9a7b9c;return _0x339a6a[_0x39f5ac(0x23b)](_0x58645b);},'SmBLW':_0x339a6a[_0x9a7b9c(0x228)],'ZUean':function(_0x17c998,_0x275ef6){const _0x34e9bf=_0x9a7b9c;return _0x339a6a[_0x34e9bf(0x264)](_0x17c998,_0x275ef6);},'YqIpb':_0x339a6a['gqMBy'],'cQvqN':function(_0x2722e0,_0x3b1e18){return _0x339a6a['ybqwr'](_0x2722e0,_0x3b1e18);},'IvSrI':_0x339a6a['zkEhV'],'vIvih':_0x339a6a[_0x9a7b9c(0x22a)],'qszqJ':_0x339a6a[_0x9a7b9c(0x23d)],'PQmJD':function(_0x9a79b9){const _0x1995f3=_0x9a7b9c;return _0x339a6a[_0x1995f3(0x221)](_0x9a79b9);}},_0x5f000b='browserstack internal helper hook';new Promise(async _0x4609fc=>{const _0x49138d=_0x9a7b9c;let _0x5b2b77=!![];try{_0x4afcdb[_0x49138d(0x210)](global[_0x49138d(0x233)][_0x49138d(0x277)],0x1)&&(await global[_0x49138d(0x1e2)](),global[_0x49138d(0x233)][_0x49138d(0x1da)]()),_0x4afcdb[_0x49138d(0x210)](global[_0x49138d(0x233)][0x0][_0x49138d(0x273)],0x0)&&(_0x5b2b77=![],await global[_0x49138d(0x1e2)]());}catch(_0x479f1f){logger[_0x49138d(0x26b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x479f1f);}try{Array[_0x49138d(0x1be)](global['__drivers'])&&global[_0x49138d(0x233)][0x0]&&(global['__drivers'][0x0]['browserstackSessionName']=this[_0x49138d(0x248)]['titlePath']()[_0x49138d(0x244)](_0x4afcdb[_0x49138d(0x20b)])),global[_0x49138d(0x24b)]=this[_0x49138d(0x248)][_0x49138d(0x256)]()['join'](_0x4afcdb[_0x49138d(0x20b)]);}catch(_0x22aeda){logger[_0x49138d(0x26b)](_0x49138d(0x213)+_0x22aeda);}this[_0x49138d(0x248)][_0x49138d(0x23f)]=_0x4afcdb[_0x49138d(0x240)](shouldScanTestForAccessibility,this['currentTest'][_0x49138d(0x256)](),!![]),globals['setGlobal'](_0x4afcdb[_0x49138d(0x247)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x49138d(0x248)][_0x49138d(0x274)]=!![];if(_0x4afcdb[_0x49138d(0x246)](isAccessibilityAutomationSession)&&_0x5b2b77&&Array[_0x49138d(0x1be)](global['__drivers'])&&_0x4afcdb[_0x49138d(0x210)](global['__drivers'][_0x49138d(0x277)],0x0)&&globals[_0x49138d(0x270)](_0x4afcdb[_0x49138d(0x1ee)]))try{const _0x47abd9=await global[_0x49138d(0x233)][0x0]['session_'];if(_0x47abd9){let _0x5c2db9=!![];const _0x561096=await global[_0x49138d(0x233)][0x0][_0x49138d(0x1ce)]();let _0xe3d226;try{_0xe3d226=new URL(_0x561096);}catch(_0x1f77c6){_0x5c2db9=![];}_0x5c2db9=_0x4afcdb['ZUean'](_0xe3d226[_0x49138d(0x251)],_0x4afcdb[_0x49138d(0x21b)])||_0x4afcdb['cQvqN'](_0xe3d226[_0x49138d(0x251)],_0x4afcdb[_0x49138d(0x1d3)]),_0x5c2db9&&(this[_0x49138d(0x248)][_0x49138d(0x23f)]&&logger['info'](_0x4afcdb[_0x49138d(0x202)])),this['currentTest']['accessibilityScanStarted']=this['currentTest'][_0x49138d(0x23f)],this[_0x49138d(0x248)][_0x49138d(0x23f)]&&logger[_0x49138d(0x1c7)](_0x4afcdb[_0x49138d(0x268)]);}}catch(_0xf3b43e){logger['error'](_0x49138d(0x1c0)+util['format'](_0xf3b43e));}_0x4afcdb[_0x49138d(0x223)](_0x4609fc);})[_0x9a7b9c(0x25b)](()=>{const _0x3b2104=_0x9a7b9c;_0x339a6a[_0x3b2104(0x23b)](_0x1f04af);});},{'platform':_0x339a6a[_0x4e5941(0x1fb)](nestedKeyValue,global[_0x4e5941(0x1c4)],[_0x339a6a[_0x4e5941(0x1db)]]),'hookType':_0x339a6a['FmRhw']})();},'afterEach'(_0x4535e0){const _0x17523f=a36_0x5ad37e,_0xb328de={'JRUgt':_0x17523f(0x257),'CmnrM':function(_0x27d1cb,_0x4bbed0){return _0x27d1cb!==_0x4bbed0;},'ERlaT':_0x17523f(0x1fd),'QsgxG':function(_0x25d14b,_0x3a5734,_0x4233c0){return _0x25d14b(_0x3a5734,_0x4233c0);},'fwHLf':function(_0x474f1e,_0x16b520){return _0x474f1e+_0x16b520;},'rWVDM':'Failed:\x20','yZvJB':_0x17523f(0x1d5),'etIqB':_0x17523f(0x235),'yteBo':_0x17523f(0x1c7),'COIJk':function(_0x222692,_0x43c584){return _0x222692>_0x43c584;},'AXrHL':function(_0x7865ca,_0x38ca79){return _0x7865ca===_0x38ca79;},'BBRVQ':_0x17523f(0x226),'OLQtZ':function(_0x272a95,_0x27c088){return _0x272a95>_0x27c088;},'LYeWB':_0x17523f(0x1fe),'ARHpe':function(_0x37d77b,_0x457340,_0x1db499,_0x11289a){return _0x37d77b(_0x457340,_0x1db499,_0x11289a);},'jNRGv':_0x17523f(0x1f6),'JiCqM':_0x17523f(0x25d),'lvuFj':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','VIsfQ':_0x17523f(0x207),'ZunZh':_0x17523f(0x24c),'aCqPh':_0x17523f(0x253),'KLVIe':_0x17523f(0x1c6),'aQwUx':_0x17523f(0x1d0),'BWiWg':_0x17523f(0x24d),'kHnNF':_0x17523f(0x20f),'hgRLH':function(_0x1309e4){return _0x1309e4();},'MxWIT':_0x17523f(0x26b),'mVMLe':function(_0x492072,_0x4ee43b){return _0x492072>_0x4ee43b;},'ZCcHJ':_0x17523f(0x25a),'AEZAk':_0x17523f(0x234),'QriYV':_0x17523f(0x1c3)},_0xd8b7a8='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0xb328de[_0x17523f(0x1ec)]]),global[_0x17523f(0x1e5)]=this[_0x17523f(0x248)]['titlePath']()[_0x17523f(0x244)](_0xb328de[_0x17523f(0x22d)]),PerformanceTester[_0x17523f(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x49dab7=_0x17523f,_0x45c5ab=async(_0x124751,_0x457571)=>{const _0xeb7260=a36_0x1ab1;await global['__drivers'][0x0][_0xeb7260(0x1c5)](_0xeb7260(0x1f7)+_0x124751+_0xeb7260(0x1f9)+_0x457571+_0xeb7260(0x22c));};new Promise(async _0x1a6592=>{const _0x312f7f=a36_0x1ab1,_0x8fa91e={'LDNGI':_0xb328de[_0x312f7f(0x22d)],'ejkRq':function(_0x24ede7,_0x5aefb4){const _0xf35c81=_0x312f7f;return _0xb328de[_0xf35c81(0x1e0)](_0x24ede7,_0x5aefb4);},'MOipE':_0xb328de[_0x312f7f(0x276)],'PmHvZ':function(_0x422dd4,_0x31e4bf,_0x334009){const _0x19d6f1=_0x312f7f;return _0xb328de[_0x19d6f1(0x1d7)](_0x422dd4,_0x31e4bf,_0x334009);},'zErsD':function(_0x3da1c8,_0x21fc98){const _0x13f523=_0x312f7f;return _0xb328de[_0x13f523(0x22e)](_0x3da1c8,_0x21fc98);},'iBuca':_0xb328de['rWVDM'],'rgCDi':_0xb328de[_0x312f7f(0x1fc)],'ZjDTV':_0xb328de[_0x312f7f(0x20d)],'TgrzH':_0xb328de[_0x312f7f(0x21a)]};try{_0xb328de[_0x312f7f(0x260)](global['__drivers'][_0x312f7f(0x277)],0x1)&&(await global[_0x312f7f(0x1e2)](),global[_0x312f7f(0x233)][_0x312f7f(0x1da)](),global[_0x312f7f(0x224)]=[],global[_0x312f7f(0x239)]=![]);try{if(global[_0x312f7f(0x209)]&&_0xb328de[_0x312f7f(0x211)](global['percyCaptureMode'],_0xb328de['BBRVQ'])&&global['__drivers'][0x0]){const _0x44afc5=_0xb328de[_0x312f7f(0x219)](global[_0x312f7f(0x23e)][_0x312f7f(0x277)],0x0)?!!global[_0x312f7f(0x23e)][0x0][_0x312f7f(0x20c)]||!!global[_0x312f7f(0x23e)][0x0][_0xb328de['LYeWB']]:![],_0xeee91a={};_0xeee91a[_0x312f7f(0x20c)]=_0x44afc5,await _0xb328de[_0x312f7f(0x272)](percyAutoCapture,global[_0x312f7f(0x233)][0x0],_0xb328de[_0x312f7f(0x21f)],_0xeee91a);}}catch(_0x49ee52){logger['debug'](_0x312f7f(0x1f3)+_0x49ee52);}!global[_0x312f7f(0x26a)]&&(await PerformanceTester[_0x312f7f(0x1ca)](PerformanceAutEvents[_0x312f7f(0x238)],async()=>{const _0x32973b=_0x312f7f;await global[_0x32973b(0x233)][0x0][_0x32973b(0x1c5)](_0x32973b(0x1de)+JSON[_0x32973b(0x216)](this['currentTest'][_0x32973b(0x256)]()[_0x32973b(0x244)](_0x8fa91e[_0x32973b(0x24e)]))+'}}');})(),global[_0x312f7f(0x233)][0x0][_0x312f7f(0x230)]=!![]),await PerformanceTester[_0x312f7f(0x1ca)](PerformanceAutEvents[_0x312f7f(0x1e1)],async()=>{const _0x595d8=_0x312f7f,_0x4b347c=_0x8fa91e[_0x595d8(0x206)](this['currentTest'][_0x595d8(0x1dd)],_0x8fa91e[_0x595d8(0x1f0)]);_0x4b347c?(global[_0x595d8(0x239)]=!![],global[_0x595d8(0x224)]['push'](this['currentTest']['err']['message']),await _0x8fa91e[_0x595d8(0x275)](_0x45c5ab,JSON[_0x595d8(0x216)](_0x8fa91e['zErsD'](_0x8fa91e[_0x595d8(0x227)],this[_0x595d8(0x248)]['err'][_0x595d8(0x237)])),_0x8fa91e[_0x595d8(0x208)])):await _0x8fa91e[_0x595d8(0x275)](_0x45c5ab,JSON[_0x595d8(0x216)](_0x8fa91e[_0x595d8(0x261)]),_0x8fa91e[_0x595d8(0x1d6)]);})();}catch(_0x1facf3){logger['debug'](_0x312f7f(0x26c)+_0x1facf3);}try{if(this[_0x312f7f(0x248)][_0x312f7f(0x274)]&&globals[_0x312f7f(0x270)](_0xb328de[_0x312f7f(0x1bf)])&&globals[_0x312f7f(0x270)](_0xb328de[_0x312f7f(0x1cf)])){logger[_0x312f7f(0x1c7)](_0xb328de[_0x312f7f(0x23a)]);const _0x3ace6d={};_0x3ace6d[_0x312f7f(0x212)]=this['currentTest'][_0x312f7f(0x262)],_0x3ace6d['thBuildUuid']=process[_0x312f7f(0x1cb)][testHubConstants[_0x312f7f(0x254)][_0x312f7f(0x1dc)]],_0x3ace6d['thJwtToken']=process[_0x312f7f(0x1cb)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x1edf0c=_0x3ace6d;logger[_0x312f7f(0x26b)](_0x312f7f(0x215)+JSON[_0x312f7f(0x216)](_0x1edf0c)),logger[_0x312f7f(0x26b)](_0xb328de[_0x312f7f(0x1cd)]);const _0x531a9f={};_0x531a9f[_0x312f7f(0x1e6)]=_0xb328de[_0x312f7f(0x1f2)];const _0x39eaea=await PerformanceTester[_0x312f7f(0x1ca)](PerformanceA11yEvents[_0x312f7f(0x258)],async()=>{const _0x5e90c0=_0x312f7f;return await accessibilityRetryHelper['performScanWithRetry'](global[_0x5e90c0(0x233)][0x0],global['browserstackSessionName']);},_0x531a9f)();_0x39eaea?logger[_0x312f7f(0x26b)](_0xb328de[_0x312f7f(0x20a)]):logger[_0x312f7f(0x232)](_0xb328de[_0x312f7f(0x21d)]);const _0x33e881=await PerformanceTester[_0x312f7f(0x1ca)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2d6a0f=_0x312f7f;return await accessibilityRetryHelper[_0x2d6a0f(0x1df)](global['__drivers'][0x0],_0x1edf0c);})();_0x33e881?logger['debug'](_0xb328de[_0x312f7f(0x1f4)]):logger[_0x312f7f(0x232)](_0xb328de[_0x312f7f(0x1d4)]),logger['info'](_0xb328de[_0x312f7f(0x278)]);}}catch(_0x130e7e){logger[_0x312f7f(0x1d5)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x312f7f(0x248)][_0x312f7f(0x256)]()+_0x312f7f(0x214),_0x130e7e);}try{try{if(_0xb328de[_0x312f7f(0x1e3)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0xb328de[_0x312f7f(0x1d7)](sendPlatformDetails,global[_0x312f7f(0x233)][0x0],this[_0x312f7f(0x248)]?this['currentTest']['testAnalyticsId']:null);if(_0xb328de[_0x312f7f(0x1e3)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x312f7f(0x1c8)]);const _0x5d2311=_0x312f7f(0x204)+Date[_0x312f7f(0x205)]();await _0xb328de[_0x312f7f(0x1d7)](_0x45c5ab,JSON[_0x312f7f(0x216)](_0x5d2311),_0xb328de[_0x312f7f(0x22f)]),PerformanceTester[_0x312f7f(0x241)](PerformanceO11yEvents['SYNC']);}}}catch(_0x36d531){logger[_0x312f7f(0x26b)](_0x312f7f(0x222)+_0x36d531),PerformanceTester['end'](PerformanceO11yEvents[_0x312f7f(0x1c8)],![],_0x36d531);}_0xb328de['mVMLe'](global[_0x312f7f(0x233)][0x0][_0x312f7f(0x273)],0x0)&&await global['driverCleanup']();}catch(_0x39e010){logger[_0x312f7f(0x26b)](_0x312f7f(0x1e9)+_0x39e010);}_0xb328de[_0x312f7f(0x1e3)](_0x1a6592);})[_0x49dab7(0x25b)](()=>{_0xb328de['hgRLH'](_0x4535e0);});},{'platform':_0xb328de[_0x17523f(0x1d7)](nestedKeyValue,global['__platformCaps'],[_0xb328de[_0x17523f(0x229)]]),'hookType':_0xb328de[_0x17523f(0x217)]})();},'afterAll'(_0x545b0c){const _0x4d7269=a36_0x5ad37e,_0x68bfb9={'boPEn':function(_0x4e5c35){return _0x4e5c35();},'xzUeV':_0x4d7269(0x25a),'aNmDF':function(_0x306f14,_0x4bbb12,_0x402497){return _0x306f14(_0x4bbb12,_0x402497);},'juPnu':_0x4d7269(0x234),'YBVOR':'afterAll'},_0x6ced9c='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x68bfb9[_0x4d7269(0x24a)]]),PerformanceTester[_0x4d7269(0x1ca)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x2b618a=_0x4d7269,_0x5921d0={'kRRpS':function(_0xc60e99){const _0x1bdf51=a36_0x1ab1;return _0x68bfb9[_0x1bdf51(0x255)](_0xc60e99);}};new Promise(async _0xf289c7=>{const _0x277722=a36_0x1ab1;await global[_0x277722(0x1e2)](),_0x5921d0[_0x277722(0x267)](_0xf289c7);})[_0x2b618a(0x25b)]()[_0x2b618a(0x231)](()=>{const _0x5c024b=_0x2b618a;_0x68bfb9[_0x5c024b(0x255)](_0x545b0c);});},{'platform':_0x68bfb9['aNmDF'](nestedKeyValue,global[_0x4d7269(0x1c4)],[_0x68bfb9[_0x4d7269(0x1d8)]]),'hookType':_0x68bfb9[_0x4d7269(0x1ff)]})();}};function a36_0x1ab1(_0x581d7d,_0x2c0598){const _0x502eb1=a36_0x502e();return a36_0x1ab1=function(_0x1ab16e,_0x48ab84){_0x1ab16e=_0x1ab16e-0x1be;let _0x5c4717=_0x502eb1[_0x1ab16e];return _0x5c4717;},a36_0x1ab1(_0x581d7d,_0x2c0598);}function a36_0x502e(){const _0x17c235=['aQwUx','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','isAccessibilityPlatform','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','initQuit',',\x22level\x22:\x20\x22','4556358jFEejN','zObkw','yZvJB','passed','appium:app','YBVOR','../../helpers/globals','2Upxaml','vIvih','../../helpers/performance/constants','ObservabilitySync:','now','ejkRq','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','rgCDi','percy','aCqPh','GcNIU','app','etIqB','winstonLogger','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','SFSVv','AXrHL','thTestRunUuid','Failed\x20to\x20store\x20session\x20name:\x20','.\x20Error\x20:','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','stringify','QriYV','../../helpers/percy/utils','OLQtZ','yteBo','YqIpb','qOhsk','KLVIe','../utils/constants','BBRVQ','rOTlX','Bbfqt','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','PQmJD','__error_messages__','5YWkNMm','testcase','iBuca','KcjWy','AEZAk','BpwkF','3032528qZEQZm','\x22}}','JRUgt','fwHLf','MxWIT','sessionNameSet__','finally','warn','__drivers','index','Passed','beforeAll','message','SESSION_NAME','__sessionFailed','lvuFj','AeGbP','195613WkfFky','adLzH','capabilities','shouldScanTestForAccessibility','Kpyrk','end','88014yiPReK','IdWWR','join','yxkiM','aAcfl','eeecd','currentTest','beforeEach','xzUeV','browserstackSessionName','afterTest','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','LDNGI','../../helpers/performance/performance-tester','SDK_HOOK','protocol','Automate\x20test\x20case\x20execution\x20has\x20started.','Accessibility\x20scan\x20completed\x20successfully','ENV_VAR','boPEn','titlePath','\x20-\x20','PERFORM_SCAN','ncaDE','Mocha','then','220lDizli','bstackA11yShouldScan','../../helpers/testhub/constants','2473340NelwEi','COIJk','ZjDTV','testAnalyticsId','http:','ybqwr','mochaHooks','7tWoPHz','kRRpS','qszqJ','\x20|\x20','__skipSessionName','debug','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','https:','2361576lRcbzg','ehrLz','getGlobal','../../helpers/helper','ARHpe','quitCount_','accessibilityScanStarted','PmHvZ','ERlaT','length','kHnNF','isArray','jNRGv','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','startMonitoring','browserstackTestName','afterEach','__platformCaps','executeScript','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','info','SYNC','FVLuL','measureWrapper','env','CzsNG','VIsfQ','getCurrentUrl','JiCqM','Accessibility\x20results\x20saved\x20successfully','../../helpers/accessibility-automation/accessibilityRetryHelper','6312522HOsGQK','IvSrI','BWiWg','error','TgrzH','QsgxG','juPnu','tyMSr','shift','ahnNJ','BROWSERSTACK_TESTHUB_UUID','state','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','saveAccessibilityResultsWithRetry','CmnrM','SESSION_STATUS','driverCleanup','hgRLH','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','sessionName','command','./test-observability/mochaUtils','IMXVg','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','util','failed','ZCcHJ','setGlobal','SmBLW','ImjZO','MOipE','XeAiD','ZunZh','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'];a36_0x502e=function(){return _0x17c235;};return a36_0x502e();}
|
|
1
|
+
const a36_0x58bd7d=a36_0x1279;function a36_0x1279(_0x14a339,_0x16bfeb){const _0x4cfc57=a36_0x4cfc();return a36_0x1279=function(_0x12799a,_0x45b0a4){_0x12799a=_0x12799a-0x19d;let _0x247257=_0x4cfc57[_0x12799a];return _0x247257;},a36_0x1279(_0x14a339,_0x16bfeb);}function a36_0x4cfc(){const _0x3db194=['warn','WlqEk','join','testcase','SESSION_STATUS','17393990maHTox','MFfvL','GgNdf','gcZXa','shouldScanTestForAccessibility','ACDkz','RqffS','XPeSD','end','fTrdq','\x20|\x20','KOtJr','4113996zhGmSB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','MzFiA','../../helpers/globals','afterTest','__skipSessionName','quitCount_','PERFORM_SCAN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','CepUE','SYNC','accessibilityScanStarted','14MnzepG','push','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','stringify','currentTest','bVxaJ','IRyEb','mRSmF','MrFLy','../../helpers/logger','ENV_VAR','.\x20Error\x20:','../../helpers/testhub/constants','failed','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','initQuit','../../helpers/performance/performance-tester','IFQIi','util','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','IPRyB','Wxlle','HFZGb','XCxMi','\x20-\x20','OOizg','hCgeO','executeScript','index','info','debug','err','4062784ssuvpH','isAccessibilityPlatform','Eshka','winstonLogger','__drivers','gDZJp','mochaHooks','VTKXf','9OvNnHu','ObservabilitySync:','../../helpers/testhub/utils','../../helpers/performance/constants','Mocha','qlFdz','GuPhZ','bAlrE','VSSMJ','testAnalyticsId','OPWTh','length','appium:app','measureWrapper','BROWSERSTACK_TESTHUB_JWT','FlRpK','app','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','LXuyI','rPaJA','BFxGP','428274AOwZqx','getGlobal','shift','bstackA11yShouldScan','bNnOu','tYWjw','thJwtToken','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','env','zYdkf','afterEach','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','JNVpF','sessionName','PGHPL','lZXra','RfCUi','TfYRC','36srqeAx','sessionNameSet__','573128NHLAEu','percy','12981syEWXC',',\x22level\x22:\x20\x22','then','percyCaptureMode','kUQle','../../helpers/accessibility-automation/accessibilityRetryHelper','driverCleanup','isArray','message','124XSsMta','finally','vNmdR','performScanWithRetry','beforeEach','gZQJc','BROWSERSTACK_TESTHUB_UUID','titlePath','SAVE_RESULTS','HsNyw','__error_messages__','sGViU','thTestRunUuid','browserstackTestName','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','protocol','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','wLyeW','4722075FGXECy','hXnwy','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../utils/constants','timeout','JvQNz','Failed:\x20','start','MrIxY','SESSION_NAME','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','yEOPA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','command','HNgTj','Automate\x20test\x20case\x20execution\x20has\x20started.','SDK_HOOK','__platformCaps','iKtEN','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','error','Accessibility\x20results\x20saved\x20successfully','../../helpers/percy/utils','hXOqC','session_','setGlobal','EXqKb','WwHYf','uwiEj','passed','Passed','capabilities','Failed\x20to\x20store\x20session\x20name:\x20','rYISb'];a36_0x4cfc=function(){return _0x3db194;};return a36_0x4cfc();}(function(_0x5af99e,_0xa45f4f){const _0x34fb4c=a36_0x1279,_0x5919c4=_0x5af99e();while(!![]){try{const _0x58a304=parseInt(_0x34fb4c(0x217))/0x1*(parseInt(_0x34fb4c(0x220))/0x2)+-parseInt(_0x34fb4c(0x213))/0x3*(parseInt(_0x34fb4c(0x215))/0x4)+parseInt(_0x34fb4c(0x232))/0x5+parseInt(_0x34fb4c(0x1b5))/0x6*(-parseInt(_0x34fb4c(0x1c1))/0x7)+parseInt(_0x34fb4c(0x1e3))/0x8+-parseInt(_0x34fb4c(0x1eb))/0x9*(-parseInt(_0x34fb4c(0x1a9))/0xa)+parseInt(_0x34fb4c(0x200))/0xb;if(_0x58a304===_0xa45f4f)break;else _0x5919c4['push'](_0x5919c4['shift']());}catch(_0x50308a){_0x5919c4['push'](_0x5919c4['shift']());}}}(a36_0x4cfc,0xe6a3e));const util=require(a36_0x58bd7d(0x1d4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x58bd7d(0x21c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x58bd7d(0x235)),{percyAutoCapture}=require(a36_0x58bd7d(0x248)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x58bd7d(0x1d2)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x58bd7d(0x1ee)),globals=require(a36_0x58bd7d(0x1b8)),logger=require(a36_0x58bd7d(0x1ca))[a36_0x58bd7d(0x1e6)],{shouldProcessEventForTesthub}=require(a36_0x58bd7d(0x1ed)),testHubConstants=require(a36_0x58bd7d(0x1cd));exports[a36_0x58bd7d(0x1e9)]={'beforeAll'(){const _0x2dd943=a36_0x58bd7d,_0x40e85c={'RfCUi':function(_0x2e06f8,_0x24edb5,_0x54f41d,_0x159e16){return _0x2e06f8(_0x24edb5,_0x54f41d,_0x159e16);},'EXqKb':_0x2dd943(0x1ce),'mRSmF':_0x2dd943(0x1b3),'HNgTj':function(_0x46448e,_0x6fa671,_0x172fb7){return _0x46448e(_0x6fa671,_0x172fb7);},'hXOqC':'passed','GuPhZ':function(_0x537a85){return _0x537a85();},'bVxaJ':function(_0x5e8496,_0x56366e,_0x4f419f){return _0x5e8496(_0x56366e,_0x4f419f);},'JCwIn':_0x2dd943(0x1df),'cghiM':'beforeAll'};PerformanceTester['startMonitoring']();const _0x27cb9a='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2dd943(0x242)],()=>{const _0x48176b=_0x2dd943;global[_0x48176b(0x22a)]=[],global[_0x48176b(0x20b)]=![],global[_0x48176b(0x21d)]=async()=>{const _0x3230d0=_0x48176b;let _0x4ef645=![];try{await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x24a)],_0x4ef645=!![],global['__sessionFailed']?await _0x40e85c[_0x3230d0(0x211)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x24c)],global[_0x3230d0(0x22a)][_0x3230d0(0x1a6)](_0x40e85c[_0x3230d0(0x1c8)])):await _0x40e85c[_0x3230d0(0x240)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x249)]);}catch(_0x3fd88a){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x3fd88a);}global[_0x3230d0(0x22a)]=[],global[_0x3230d0(0x20b)]=![];if(_0x4ef645)try{try{_0x40e85c[_0x3230d0(0x1f1)](shouldProcessEventForTesthub)&&(global[_0x3230d0(0x1e7)][0x0]&&await _0x40e85c[_0x3230d0(0x1c6)](sendPlatformDetails,global[_0x3230d0(0x1e7)][0x0],this[_0x3230d0(0x1c5)]?this[_0x3230d0(0x1c5)][_0x3230d0(0x1f4)]:null));}catch(_0x51d271){logger[_0x3230d0(0x1e1)](_0x3230d0(0x22e)+_0x51d271);}await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x1d1)]();}catch(_0x47e3c4){logger[_0x3230d0(0x1e1)](_0x3230d0(0x20c)+_0x47e3c4);}};},{'platform':_0x40e85c['HNgTj'](nestedKeyValue,global['__platformCaps'],[_0x40e85c['JCwIn']]),'hookType':_0x40e85c['cghiM']})();},'beforeEach'(_0x58aaef){const _0x56f51f=a36_0x58bd7d,_0x36f733={'rYISb':function(_0x30b4a6,_0x36e2ec){return _0x30b4a6>_0x36e2ec;},'MzFiA':function(_0x4e7ecd,_0x1e08ea){return _0x4e7ecd>_0x1e08ea;},'vNmdR':_0x56f51f(0x1db),'PGHPL':function(_0x3b955d,_0x66ab2a,_0x16503b){return _0x3b955d(_0x66ab2a,_0x16503b);},'gcZXa':_0x56f51f(0x203),'bAlrE':function(_0x59ff40){return _0x59ff40();},'gZQJc':_0x56f51f(0x1e4),'XCxMi':function(_0x76dced,_0x2e7fd4){return _0x76dced===_0x2e7fd4;},'Harnp':'http:','CepUE':function(_0x3cc2fc,_0x21c1c2){return _0x3cc2fc===_0x21c1c2;},'fTrdq':'https:','KOtJr':_0x56f51f(0x230),'HFZGb':_0x56f51f(0x241),'BFxGP':function(_0xe80a0c){return _0xe80a0c();},'bPMyD':_0x56f51f(0x22d),'uwiEj':_0x56f51f(0x1df),'WlqEk':_0x56f51f(0x224)};globals[_0x56f51f(0x24b)](_0x36f733['bPMyD'],this[_0x56f51f(0x1c5)][_0x56f51f(0x227)]()[_0x56f51f(0x1a6)](_0x36f733['vNmdR'])),PerformanceTester[_0x56f51f(0x1f8)](PerformanceSdkEvents[_0x56f51f(0x242)],()=>{const _0x5eeae2={'GgNdf':function(_0x44a227){const _0x210c0e=a36_0x1279;return _0x36f733[_0x210c0e(0x1ff)](_0x44a227);}},_0x936d8a='browserstack internal helper hook';new Promise(async _0x5d1c33=>{const _0xfe36f9=a36_0x1279;let _0x179101=!![];try{_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x1)&&(await global[_0xfe36f9(0x21d)](),global['__drivers']['shift']()),_0x36f733[_0xfe36f9(0x1b7)](global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1bb)],0x0)&&(_0x179101=![],await global[_0xfe36f9(0x21d)]());}catch(_0xc906c5){logger[_0xfe36f9(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xc906c5);}try{Array[_0xfe36f9(0x21e)](global[_0xfe36f9(0x1e7)])&&global[_0xfe36f9(0x1e7)][0x0]&&(global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733[_0xfe36f9(0x222)])),global[_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733['vNmdR']);}catch(_0x15031f){logger['debug'](_0xfe36f9(0x1a2)+_0x15031f);}this[_0xfe36f9(0x1c5)]['shouldScanTestForAccessibility']=_0x36f733[_0xfe36f9(0x20f)](shouldScanTestForAccessibility,this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)](),!![]),globals[_0xfe36f9(0x24b)](_0x36f733[_0xfe36f9(0x1ac)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]),this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1c0)]=!![];if(_0x36f733[_0xfe36f9(0x1f2)](isAccessibilityAutomationSession)&&_0x179101&&Array['isArray'](global['__drivers'])&&_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x0)&&globals[_0xfe36f9(0x201)](_0x36f733[_0xfe36f9(0x225)]))try{const _0x3316dc=await global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x24a)];if(_0x3316dc){let _0x439e24=!![];const _0xdec9cf=await global[_0xfe36f9(0x1e7)][0x0]['getCurrentUrl']();let _0x542f96;try{_0x542f96=new URL(_0xdec9cf);}catch(_0x204d29){_0x439e24=![];}_0x439e24=_0x36f733[_0xfe36f9(0x1da)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733['Harnp'])||_0x36f733[_0xfe36f9(0x1be)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733[_0xfe36f9(0x1b2)]),_0x439e24&&(this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1b4)])),this['currentTest'][_0xfe36f9(0x1c0)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1d9)]);}}catch(_0x441838){logger[_0xfe36f9(0x246)](_0xfe36f9(0x234)+util['format'](_0x441838));}_0x36f733[_0xfe36f9(0x1f2)](_0x5d1c33);})['then'](()=>{const _0x1d48e7=a36_0x1279;_0x5eeae2[_0x1d48e7(0x1ab)](_0x58aaef);});},{'platform':_0x36f733[_0x56f51f(0x20f)](nestedKeyValue,global['__platformCaps'],[_0x36f733[_0x56f51f(0x19e)]]),'hookType':_0x36f733[_0x56f51f(0x1a5)]})();},'afterEach'(_0x4c6f62){const _0x57ddcd=a36_0x58bd7d,_0x13fe7d={'lZXra':_0x57ddcd(0x1db),'HsNyw':function(_0x23cb0c,_0x447a6a){return _0x23cb0c!==_0x447a6a;},'wLXpN':_0x57ddcd(0x19f),'rPaJA':function(_0x2634b3,_0x48882c,_0x4f9eee){return _0x2634b3(_0x48882c,_0x4f9eee);},'JvQNz':function(_0x5e421,_0x74f23b){return _0x5e421+_0x74f23b;},'IRyEb':_0x57ddcd(0x238),'YRbXB':_0x57ddcd(0x246),'MrIxY':_0x57ddcd(0x1a0),'qXMXY':_0x57ddcd(0x1e0),'MFfvL':function(_0x384a3f,_0x27ed80){return _0x384a3f>_0x27ed80;},'iKtEN':function(_0x32a892,_0x21f9e8){return _0x32a892===_0x21f9e8;},'Wxlle':_0x57ddcd(0x1a7),'OOizg':_0x57ddcd(0x1f7),'FlRpK':function(_0x2028a3,_0x2801a7,_0x33fc96,_0x5ceedf){return _0x2028a3(_0x2801a7,_0x33fc96,_0x5ceedf);},'wLyeW':'isAccessibilityPlatform','zYdkf':'bstackA11yShouldScan','TfYRC':_0x57ddcd(0x207),'sGViU':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qlFdz':_0x57ddcd(0x1b9),'lYvRG':'Accessibility\x20scan\x20completed\x20successfully','MOnrW':_0x57ddcd(0x1fc),'IFQIi':_0x57ddcd(0x247),'yEOPA':_0x57ddcd(0x1d5),'gIkuP':_0x57ddcd(0x1c3),'kUQle':function(_0x4471ab){return _0x4471ab();},'cBPoB':_0x57ddcd(0x1e1),'gxppE':function(_0x12536d,_0x457c4a){return _0x12536d>_0x457c4a;},'tYWjw':_0x57ddcd(0x1ef),'XPeSD':function(_0x38e54c,_0x5f23bb,_0xfb850e){return _0x38e54c(_0x5f23bb,_0xfb850e);},'lPkTi':_0x57ddcd(0x1df),'gDZJp':_0x57ddcd(0x20a)},_0x33afd6='browserstack internal helper hook';this[_0x57ddcd(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x13fe7d[_0x57ddcd(0x205)]]),global[_0x57ddcd(0x20e)]=this['currentTest']['titlePath']()[_0x57ddcd(0x1a6)](_0x13fe7d[_0x57ddcd(0x210)]),PerformanceTester[_0x57ddcd(0x1f8)](PerformanceSdkEvents[_0x57ddcd(0x242)],()=>{const _0x470350={'VTKXf':function(_0x2bbc36){const _0x180949=a36_0x1279;return _0x13fe7d[_0x180949(0x21b)](_0x2bbc36);}},_0x48fc30=async(_0x4ea01c,_0x706377)=>{const _0x94393c=a36_0x1279;await global['__drivers'][0x0]['executeScript'](_0x94393c(0x1bd)+_0x4ea01c+_0x94393c(0x218)+_0x706377+'\x22}}');};new Promise(async _0x2aa26f=>{const _0x1e6a3f=a36_0x1279,_0x244159={'LXuyI':_0x13fe7d[_0x1e6a3f(0x210)],'bNnOu':function(_0x5c9044,_0x9abd7){const _0x4b321d=_0x1e6a3f;return _0x13fe7d[_0x4b321d(0x229)](_0x5c9044,_0x9abd7);},'hCgeO':_0x13fe7d['wLXpN'],'Eshka':function(_0xbfe476,_0x2b0f37,_0x41b211){const _0x350f7d=_0x1e6a3f;return _0x13fe7d[_0x350f7d(0x1fe)](_0xbfe476,_0x2b0f37,_0x41b211);},'VSSMJ':function(_0x203108,_0x5ac540){const _0x3ebe86=_0x1e6a3f;return _0x13fe7d[_0x3ebe86(0x237)](_0x203108,_0x5ac540);},'wRgyK':_0x13fe7d[_0x1e6a3f(0x1c7)],'ACDkz':_0x13fe7d['YRbXB'],'WwHYf':_0x13fe7d[_0x1e6a3f(0x23a)],'OPWTh':_0x13fe7d['qXMXY']};try{_0x13fe7d[_0x1e6a3f(0x1aa)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1e6a3f(0x202)](),global['__error_messages__']=[],global[_0x1e6a3f(0x20b)]=![]);try{if(global[_0x1e6a3f(0x216)]&&_0x13fe7d[_0x1e6a3f(0x244)](global[_0x1e6a3f(0x21a)],_0x13fe7d[_0x1e6a3f(0x1d8)])&&global[_0x1e6a3f(0x1e7)][0x0]){const _0x322033=_0x13fe7d[_0x1e6a3f(0x1aa)](global['capabilities'][_0x1e6a3f(0x1f6)],0x0)?!!global[_0x1e6a3f(0x1a1)][0x0][_0x1e6a3f(0x1fb)]||!!global[_0x1e6a3f(0x1a1)][0x0][_0x13fe7d[_0x1e6a3f(0x1dc)]]:![],_0x291d7e={};_0x291d7e[_0x1e6a3f(0x1fb)]=_0x322033,await _0x13fe7d[_0x1e6a3f(0x1fa)](percyAutoCapture,global[_0x1e6a3f(0x1e7)][0x0],_0x13fe7d[_0x1e6a3f(0x1d8)],_0x291d7e);}}catch(_0x2487cb){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x245)+_0x2487cb);}!global[_0x1e6a3f(0x1ba)]&&(await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x23b)],async()=>{const _0x1f71c3=_0x1e6a3f;await global[_0x1f71c3(0x1e7)][0x0][_0x1f71c3(0x1de)](_0x1f71c3(0x23e)+JSON[_0x1f71c3(0x1c4)](this['currentTest'][_0x1f71c3(0x227)]()[_0x1f71c3(0x1a6)](_0x244159[_0x1f71c3(0x1fd)]))+'}}');})(),global[_0x1e6a3f(0x1e7)][0x0][_0x1e6a3f(0x214)]=!![]),await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x1a8)],async()=>{const _0xbe146a=_0x1e6a3f,_0xa7899b=_0x244159[_0xbe146a(0x204)](this['currentTest']['state'],_0x244159[_0xbe146a(0x1dd)]);_0xa7899b?(global['__sessionFailed']=!![],global[_0xbe146a(0x22a)][_0xbe146a(0x1c2)](this['currentTest'][_0xbe146a(0x1e2)][_0xbe146a(0x21f)]),await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x1f3)](_0x244159['wRgyK'],this[_0xbe146a(0x1c5)][_0xbe146a(0x1e2)]['message'])),_0x244159[_0xbe146a(0x1ae)])):await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x19d)]),_0x244159[_0xbe146a(0x1f5)]);})();}catch(_0x5a745c){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1d6)+_0x5a745c);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x231)])&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x209)])){logger[_0x1e6a3f(0x1e0)](_0x13fe7d[_0x1e6a3f(0x212)]);const _0x362e94={};_0x362e94[_0x1e6a3f(0x22c)]=this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x1f4)],_0x362e94['thBuildUuid']=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x226)]],_0x362e94[_0x1e6a3f(0x206)]=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x1f9)]];const _0xf6039a=_0x362e94;logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1b6)+JSON[_0x1e6a3f(0x1c4)](_0xf6039a)),logger[_0x1e6a3f(0x1e1)](_0x13fe7d[_0x1e6a3f(0x22b)]);const _0x28edda={};_0x28edda[_0x1e6a3f(0x23f)]=_0x13fe7d[_0x1e6a3f(0x1f0)];const _0x297b2e=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x1bc)],async()=>{const _0x41e705=_0x1e6a3f;return await accessibilityRetryHelper[_0x41e705(0x223)](global[_0x41e705(0x1e7)][0x0],global[_0x41e705(0x1cf)]);},_0x28edda)();_0x297b2e?logger[_0x1e6a3f(0x1e1)](_0x13fe7d['lYvRG']):logger['warn'](_0x13fe7d['MOnrW']);const _0x1d5f28=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x228)],async()=>{const _0x37fc03=_0x1e6a3f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x37fc03(0x1e7)][0x0],_0xf6039a);})();_0x1d5f28?logger['debug'](_0x13fe7d[_0x1e6a3f(0x1d3)]):logger[_0x1e6a3f(0x1a4)](_0x13fe7d[_0x1e6a3f(0x23d)]),logger[_0x1e6a3f(0x1e0)](_0x13fe7d['gIkuP']);}}catch(_0x473b60){logger[_0x1e6a3f(0x246)](_0x1e6a3f(0x1d0)+this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x227)]()+_0x1e6a3f(0x1cc),_0x473b60);}try{try{if(_0x13fe7d[_0x1e6a3f(0x21b)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x13fe7d[_0x1e6a3f(0x1fe)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x1e6a3f(0x1f4)]:null);if(_0x13fe7d[_0x1e6a3f(0x21b)](isBrowserstackInfra)){PerformanceTester[_0x1e6a3f(0x239)](PerformanceO11yEvents[_0x1e6a3f(0x1bf)]);const _0x1e3c08=_0x1e6a3f(0x1ec)+Date['now']();await _0x13fe7d['rPaJA'](_0x48fc30,JSON[_0x1e6a3f(0x1c4)](_0x1e3c08),_0x13fe7d['cBPoB']),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC']);}}}catch(_0x1f2a27){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x23c)+_0x1f2a27),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC'],![],_0x1f2a27);}_0x13fe7d['gxppE'](global['__drivers'][0x0][_0x1e6a3f(0x1bb)],0x0)&&await global[_0x1e6a3f(0x21d)]();}catch(_0x553f5a){logger[_0x1e6a3f(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x553f5a);}_0x13fe7d['kUQle'](_0x2aa26f);})['then'](()=>{const _0x47158d=a36_0x1279;_0x470350[_0x47158d(0x1ea)](_0x4c6f62);});},{'platform':_0x13fe7d[_0x57ddcd(0x1b0)](nestedKeyValue,global[_0x57ddcd(0x243)],[_0x13fe7d['lPkTi']]),'hookType':_0x13fe7d[_0x57ddcd(0x1e8)]})();},'afterAll'(_0x4ca479){const _0x5842b1=a36_0x58bd7d,_0x1661da={'hXnwy':function(_0x2ee2c7){return _0x2ee2c7();},'MrFLy':function(_0x2dac4a){return _0x2dac4a();},'JNVpF':_0x5842b1(0x1ef),'DINbY':function(_0x541a56,_0x1a8877,_0x2016d0){return _0x541a56(_0x1a8877,_0x2016d0);},'UkDEz':_0x5842b1(0x1df),'RqffS':'afterAll'},_0x1ffc59='browserstack internal helper hook';this[_0x5842b1(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1661da[_0x5842b1(0x20d)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xcbfcd8=_0x5842b1,_0x1428ec={'IPRyB':function(_0x3efec8){const _0x444674=a36_0x1279;return _0x1661da[_0x444674(0x1c9)](_0x3efec8);}};new Promise(async _0x51721c=>{const _0xf82a01=a36_0x1279;await global[_0xf82a01(0x21d)](),_0x1428ec[_0xf82a01(0x1d7)](_0x51721c);})[_0xcbfcd8(0x219)]()[_0xcbfcd8(0x221)](()=>{const _0x4ab880=_0xcbfcd8;_0x1661da[_0x4ab880(0x233)](_0x4ca479);});},{'platform':_0x1661da['DINbY'](nestedKeyValue,global[_0x5842b1(0x243)],[_0x1661da['UkDEz']]),'hookType':_0x1661da[_0x5842b1(0x1af)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x3bf993=a37_0x3e76;function a37_0x3e76(_0x5b6467,_0x5ae752){const _0x36a805=a37_0x36a8();return a37_0x3e76=function(_0x3e7627,_0x3f651e){_0x3e7627=_0x3e7627-0x16f;let _0x19a22b=_0x36a805[_0x3e7627];return _0x19a22b;},a37_0x3e76(_0x5b6467,_0x5ae752);}(function(_0x52c41b,_0x15da69){const _0x4ff8ba=a37_0x3e76,_0x5da984=_0x52c41b();while(!![]){try{const _0x6a01d6=parseInt(_0x4ff8ba(0x172))/0x1*(-parseInt(_0x4ff8ba(0x197))/0x2)+parseInt(_0x4ff8ba(0x1af))/0x3*(-parseInt(_0x4ff8ba(0x1ac))/0x4)+-parseInt(_0x4ff8ba(0x174))/0x5+-parseInt(_0x4ff8ba(0x17f))/0x6*(parseInt(_0x4ff8ba(0x180))/0x7)+-parseInt(_0x4ff8ba(0x18a))/0x8+-parseInt(_0x4ff8ba(0x191))/0x9*(-parseInt(_0x4ff8ba(0x1a6))/0xa)+parseInt(_0x4ff8ba(0x171))/0xb*(parseInt(_0x4ff8ba(0x17d))/0xc);if(_0x6a01d6===_0x15da69)break;else _0x5da984['push'](_0x5da984['shift']());}catch(_0x90c66f){_0x5da984['push'](_0x5da984['shift']());}}}(a37_0x36a8,0x1b07c));function a37_0x36a8(){const _0x51dbfe=['getPlatformName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','exports','filter','1379952nVmlbO','close','path','winstonLogger','--env','Psmso','QtMyt','9QkMNwi','iwKVK','stringify','now','modifyBrowserStackW3CCaps','map','2fBLcfl','start_process','child_process','VkTyJ','platforms','test_settings','TNjKq','XOZuO','config','test','selenium','findIndex','CwieK','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','trim','1309220SpDGHF','writeFileSync','existsSync','../utils/constants','useW3C','DfxlT','8RsKwnd','IDseq','RyGSS','97023hfvaaS','CZJLa','splice','AIESu','Getting\x20your\x20nightwatch\x20configs\x20from\x20','25729XTzfpj','204628VQBjwy','push','1004375zzGuRJ','mergeDeep','length','--config','nightwatch.cmd','join','env','ZFvVD','debug','4272Srgnrr','forEach','40686MBmSFJ','217oLALbd','nightwatch.conf.js','isUndefined','slice'];a37_0x36a8=function(){return _0x51dbfe;};return a37_0x36a8();}const fs=require('fs'),path=require(a37_0x3bf993(0x18c)),{spawn}=require(a37_0x3bf993(0x199)),logger=require('../../helpers/logger')[a37_0x3bf993(0x18d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a37_0x3bf993(0x1a9)),getUserNightwatchConfigs=(_0x21393f,_0x1ec466)=>{const _0x1d7a0f=a37_0x3bf993,_0x3b702c={'DfxlT':_0x1d7a0f(0x181),'lPofc':'nightwatch.json','rXDDm':function(_0x51eeb5,_0x15bba7){return _0x51eeb5(_0x15bba7);},'AIESu':_0x1d7a0f(0x185)};let _0xf4a687=null,_0x4b3cd={};const _0x33570b=_0x1ec466[_0x1d7a0f(0x1a2)](_0x2ed6de=>_0x2ed6de===_0x1d7a0f(0x177));if(!helper[_0x1d7a0f(0x182)](_0x21393f[_0x1d7a0f(0x19f)])&&fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x21393f['config'])))_0xf4a687=path[_0x1d7a0f(0x179)](process['cwd'](),_0x21393f[_0x1d7a0f(0x19f)]),_0x1ec466[_0x1d7a0f(0x1b1)](_0x33570b,0x2);else{if(fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)])))_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)]);else fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']))&&(_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']));}return _0xf4a687?(logger[_0x1d7a0f(0x187)](_0x1d7a0f(0x170)+_0xf4a687),_0x4b3cd=_0x3b702c['rXDDm'](require,_0xf4a687)):logger[_0x1d7a0f(0x187)](_0x3b702c[_0x1d7a0f(0x16f)]),_0x4b3cd;},removeExistingEnvs=_0x2278c5=>{const _0x2625e4=a37_0x3bf993,_0x515e8e={};_0x515e8e[_0x2625e4(0x1a3)]=function(_0x1f415f,_0x47608b){return _0x1f415f>_0x47608b;};const _0x53f964=_0x515e8e;let _0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x2692cf=>_0x2692cf==='--env');_0x53f964[_0x2625e4(0x1a3)](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2),_0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x5eb3e2=>_0x5eb3e2==='-e'),_0x53f964['CwieK'](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2);};function run(_0x21cef5,_0x45bf3a,_0x3a43d7){const _0x5e21fd=a37_0x3bf993,_0x491cb6={'IDseq':'nightwatch','CMTAr':function(_0x3b4582,_0x1e5d6c){return _0x3b4582+_0x1e5d6c;},'XOZuO':'test_settings','CLdjY':function(_0x5bbfbb,_0x932bc3,_0x518314){return _0x5bbfbb(_0x932bc3,_0x518314);},'VkTyJ':'hub.browserstack.com','wuyZp':_0x5e21fd(0x1a4),'QtMyt':function(_0x51f57c,_0x14b4a7){return _0x51f57c===_0x14b4a7;},'MoxHC':'nightwatch-browserstack.json','qmMEG':function(_0x5b7c94,_0x3a9c6d){return _0x5b7c94(_0x3a9c6d);},'evuHg':function(_0x27c8b1,_0x10bd28,_0x129f6b,_0x449614){return _0x27c8b1(_0x10bd28,_0x129f6b,_0x449614);},'ZFvVD':_0x5e21fd(0x178),'Psmso':_0x5e21fd(0x177),'iwKVK':_0x5e21fd(0x18e),'CZJLa':'inherit','TNjKq':_0x5e21fd(0x18b)};if(!_0x3a43d7[_0x5e21fd(0x19f)])return;const _0x441007=_0x491cb6['CLdjY'](getUserNightwatchConfigs,_0x21cef5,_0x45bf3a),_0x4a6355={};_0x4a6355[_0x5e21fd(0x198)]=![];const _0x4aec44={};_0x4aec44['host']=_0x491cb6[_0x5e21fd(0x19a)],_0x4aec44['port']=0x1bb;const _0x56956e={};_0x56956e['webdriver']=_0x4a6355,_0x56956e[_0x5e21fd(0x1a1)]=_0x4aec44;const _0x42fa93=_0x56956e;logger[_0x5e21fd(0x187)](_0x491cb6['wuyZp']);const _0x598638={..._0x441007},_0x2b0488=_0x598638,_0xceb8c4=helper[_0x5e21fd(0x1aa)](_0x3a43d7[_0x5e21fd(0x19f)]),_0x320e8d=[];_0x3a43d7[_0x5e21fd(0x19f)][_0x5e21fd(0x19b)][_0x5e21fd(0x17e)]((_0x5b785e,_0x50e7e5)=>{const _0x563b76=_0x5e21fd;_0xceb8c4?_0x320e8d[_0x563b76(0x173)](helper[_0x563b76(0x195)](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5)):_0x320e8d[_0x563b76(0x173)](helper['modifyBrowserStackCaps'](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5));});const _0x3db563={},_0x3bf575=[];_0x21cef5[_0x5e21fd(0x17a)]=_0x21cef5[_0x5e21fd(0x17a)]||_0x21cef5['e'];const _0x52db0e=_0x21cef5[_0x5e21fd(0x17a)]?_0x21cef5[_0x5e21fd(0x17a)][_0x5e21fd(0x1a5)]()['split'](',')[_0x5e21fd(0x196)](_0x46d4d5=>_0x46d4d5['trim']())[_0x5e21fd(0x189)](_0x1bc996=>_0x1bc996!==''):[''];_0x491cb6[_0x5e21fd(0x190)](_0x52db0e[_0x5e21fd(0x176)],0x0)&&_0x52db0e[_0x5e21fd(0x173)]('');_0x52db0e['forEach'](_0x46fdbf=>{const _0x75c4a8=_0x5e21fd,_0x51bc1d={'RCLzW':function(_0x1784e9,_0x32403f){return _0x491cb6['CMTAr'](_0x1784e9,_0x32403f);},'RyGSS':_0x491cb6[_0x75c4a8(0x19e)]};_0x320e8d[_0x75c4a8(0x17e)](_0x5afd07=>{const _0x2d8596=_0x75c4a8;let _0x38527b=_0x51bc1d['RCLzW'](helper[_0x2d8596(0x184)](_0x5afd07,'_'),'_'+Date[_0x2d8596(0x194)]());_0x46fdbf&&(_0x38527b+='_'+_0x46fdbf);if(_0x46fdbf&&(!_0x441007[_0x51bc1d['RyGSS']]||!_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf]))return;const _0x499f0d={..._0x42fa93};_0x499f0d['desiredCapabilities']=_0x5afd07;const _0x1e92e6=_0x499f0d;_0x3db563[_0x38527b]=_0x46fdbf?helper[_0x2d8596(0x175)](_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf],_0x1e92e6):_0x1e92e6,_0x3bf575[_0x2d8596(0x173)](_0x38527b);});});!_0x2b0488[_0x5e21fd(0x19c)]&&(_0x2b0488[_0x5e21fd(0x19c)]={});_0x2b0488[_0x5e21fd(0x19c)]={..._0x2b0488['test_settings'],..._0x3db563};const _0x3dbe4c=path[_0x5e21fd(0x179)](__dirname,_0x491cb6['MoxHC']);fs[_0x5e21fd(0x1a7)](_0x3dbe4c,JSON[_0x5e21fd(0x193)](_0x2b0488)),_0x491cb6['qmMEG'](removeExistingEnvs,_0x45bf3a);const _0x69352a=_0x491cb6['evuHg'](spawn,/^win/[_0x5e21fd(0x1a0)](process['platform'])?_0x491cb6[_0x5e21fd(0x17b)]:_0x491cb6[_0x5e21fd(0x1ad)],[_0x491cb6[_0x5e21fd(0x18f)],_0x3dbe4c,..._0x45bf3a[_0x5e21fd(0x183)](0x1),_0x491cb6[_0x5e21fd(0x192)],_0x3bf575[_0x5e21fd(0x179)](',')],{'stdio':_0x491cb6[_0x5e21fd(0x1b0)]});_0x69352a['on'](_0x491cb6[_0x5e21fd(0x19d)],async _0x583d33=>{const _0x2d1cc4=_0x5e21fd;logger[_0x2d1cc4(0x17c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x583d33),logger[_0x2d1cc4(0x187)]('Deleting\x20'+_0x3dbe4c),fs['unlinkSync'](_0x3dbe4c);});}module[a37_0x3bf993(0x188)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x123a(){const _0x22727e=['Playwright','QjxqI','error','../../helpers/performance/performance-tester','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','platformValidation','CdTqa','connectOptions','replace','testInfo','debug','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','No\x20summaryResults\x20found.','browser_version','bestPractice','aembO','5364wSbeiu','hDnjJ','chrome','env','accessibilityOptions.scannerProcessingTimeout','No\x20accessibility\x20results\x20were\x20found.','getAccessibilityResults','executeAsyncScript','mmBne','workerInfo','__workerDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','../../helpers/logger','thObQ','OxiKB','GuCGS','stringify','fKrLq','vopLb','name','(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','getAccessibilityResultsSummary','oawxJ','jvldv','CEaPK','870FbvslD','includes','SHndd','lseRJ','warn','constructor','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','use','wsEndpoint','14785UkCeko','../../helpers/accessibility-automation/helper','latest','boodn','RFYxC','performScan','MniBp','browserstack.accessibility','1338OGCpvc','lnjnD','accessibilityOptions.includeIssueType.needsReview','1753371adYAmO','measureWrapper','\x20page:\x20','VhQPI','accessibilityPlatform','browserName','../../helpers/accessibility-automation/scripts','browserStackEvaluate','scannerProcessingTimeout','BS_A11Y_JWT','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','deviceName','accessibilityOptions.wcagVersion','accessibilityOptions','3120JePjqJ','7683720oIvjaR','needsReview','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','SYCkm','16EVixbw','AGpKY','browser','bgkiH','VFshG','parse','RmAks','AjsdM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','2266859zMfZzi','command','bstackSdkArgs','dMSYu','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','uUeWG','DYPWA','executeScript','KiXOQ','59DabkwK','processAccessibilityCaps','KVrLn','TXVlP','VTUfw','format','playwright-chromium','NMigW','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','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','saCXq','url','24622qECHgU','vtZFs','vQTTo','accessibilityOptions.includeIssueType.bestPractice','yaAEp','DpFqb','31251LjmMhG','cXtLv'];a38_0x123a=function(){return _0x22727e;};return a38_0x123a();}function a38_0x29d4(_0x45040b,_0x1740d6){const _0x123a9c=a38_0x123a();return a38_0x29d4=function(_0x29d426,_0x4909af){_0x29d426=_0x29d426-0x125;let _0x61cb54=_0x123a9c[_0x29d426];return _0x61cb54;},a38_0x29d4(_0x45040b,_0x1740d6);}const a38_0x383023=a38_0x29d4;(function(_0x337abc,_0x40babe){const _0x58c6f7=a38_0x29d4,_0x2344a8=_0x337abc();while(!![]){try{const _0x4ccb6d=-parseInt(_0x58c6f7(0x19d))/0x1*(-parseInt(_0x58c6f7(0x131))/0x2)+parseInt(_0x58c6f7(0x163))/0x3*(parseInt(_0x58c6f7(0x14a))/0x4)+-parseInt(_0x58c6f7(0x16c))/0x5*(parseInt(_0x58c6f7(0x174))/0x6)+parseInt(_0x58c6f7(0x194))/0x7+parseInt(_0x58c6f7(0x18b))/0x8*(-parseInt(_0x58c6f7(0x177))/0x9)+parseInt(_0x58c6f7(0x186))/0xa+parseInt(_0x58c6f7(0x137))/0xb*(-parseInt(_0x58c6f7(0x185))/0xc);if(_0x4ccb6d===_0x40babe)break;else _0x2344a8['push'](_0x2344a8['shift']());}catch(_0x2e580f){_0x2344a8['push'](_0x2344a8['shift']());}}}(a38_0x123a,0x6679b));const util=require('util'),logger=require(a38_0x383023(0x156))['winstonLogger'],{isAccessibilityAutomationSession}=require(a38_0x383023(0x16d)),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x383023(0x17d)),PerformanceTester=require(a38_0x383023(0x13c)),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports['browserStackEvaluate']=async(_0x31af51,_0x38a7a5,_0x3ca5bd={})=>{const _0x58eb48=a38_0x383023,_0x60aaa6={};_0x60aaa6[_0x58eb48(0x18c)]=_0x58eb48(0x196);const _0x174b59=_0x60aaa6;return await _0x31af51[_0x58eb48(0x12d)](_0x58eb48(0x12e)+_0x38a7a5[_0x58eb48(0x141)](/arguments/g,_0x174b59[_0x58eb48(0x18c)])+_0x58eb48(0x181)+JSON[_0x58eb48(0x15a)](_0x3ca5bd)+')');},exports['browserStackExecuteDriver']=async(_0xccee8e,_0x25e6f4,_0x2406fe={})=>{const _0x102f9d=a38_0x383023,_0x25ef4f={};_0x25ef4f[_0x102f9d(0x15c)]=function(_0x3362b1,_0x4ae3f9){return _0x3362b1===_0x4ae3f9;},_0x25ef4f[_0x102f9d(0x132)]='WebDriver',_0x25ef4f[_0x102f9d(0x18e)]=function(_0x30a16b,_0x5e2ff4){return _0x30a16b===_0x5e2ff4;},_0x25ef4f[_0x102f9d(0x197)]=_0x102f9d(0x139),_0x25ef4f[_0x102f9d(0x172)]=_0x102f9d(0x196);const _0x3b33d5=_0x25ef4f;if(_0x3b33d5[_0x102f9d(0x15c)](_0xccee8e[_0x102f9d(0x168)][_0x102f9d(0x15d)],_0x3b33d5['vtZFs']))return await _0xccee8e[_0x102f9d(0x151)](_0x25e6f4,_0x2406fe);else{if(_0x3b33d5[_0x102f9d(0x18e)](_0xccee8e['constructor']['name'],_0x3b33d5[_0x102f9d(0x197)]))return await _0xccee8e[_0x102f9d(0x19b)](_0x102f9d(0x15e)+_0x25e6f4['replace'](/arguments/g,_0x3b33d5[_0x102f9d(0x172)])+_0x102f9d(0x198)+JSON['stringify'](_0x2406fe)+')');}},exports['setAccessibilityCapabilities']=async _0x449ffc=>{const _0x48a207=a38_0x383023,_0x146c4e={};_0x146c4e['qPHpp']=_0x48a207(0x183),_0x146c4e[_0x48a207(0x157)]=_0x48a207(0x14e),_0x146c4e[_0x48a207(0x125)]=_0x48a207(0x134),_0x146c4e[_0x48a207(0x158)]=_0x48a207(0x176),_0x146c4e[_0x48a207(0x170)]='accessibilityOptions.authToken',_0x146c4e['SHndd']=_0x48a207(0x188);const _0x25178e=_0x146c4e;_0x449ffc[_0x48a207(0x184)]&&(_0x449ffc['accessibilityOptions']['wcagVersion']&&(_0x449ffc[_0x25178e['qPHpp']]=_0x449ffc[_0x48a207(0x184)]['wcagVersion']),_0x449ffc[_0x48a207(0x184)][_0x48a207(0x17f)]&&(_0x449ffc[_0x25178e[_0x48a207(0x157)]]=_0x449ffc[_0x48a207(0x184)]['scannerProcessingTimeout']),_0x449ffc[_0x48a207(0x184)]['includeIssueType']&&(_0x449ffc[_0x25178e[_0x48a207(0x125)]]=_0x449ffc['accessibilityOptions']['includeIssueType'][_0x48a207(0x148)],_0x449ffc[_0x25178e['OxiKB']]=_0x449ffc[_0x48a207(0x184)]['includeIssueType'][_0x48a207(0x187)]));const _0x53acb8=JSON[_0x48a207(0x190)](process[_0x48a207(0x14d)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])['scannerVersion'];_0x449ffc[_0x25178e['RFYxC']]=process[_0x48a207(0x14d)][_0x48a207(0x180)],_0x449ffc[_0x25178e[_0x48a207(0x165)]]=_0x53acb8,delete _0x449ffc[_0x48a207(0x184)];},exports[a38_0x383023(0x150)]=async _0x509505=>{const _0x3d820b=a38_0x383023,_0x5aff08={};_0x5aff08[_0x3d820b(0x12a)]=_0x3d820b(0x14f),_0x5aff08[_0x3d820b(0x18a)]=_0x3d820b(0x145);const _0x1e7242=_0x5aff08;if(global['accessibilityPlatform'])try{const details={'url':await _0x509505.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(_0x509505,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x509505,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3d820b(0x13b)](_0x1e7242[_0x3d820b(0x12a)]),[];}else return logger[_0x3d820b(0x167)](_0x1e7242['SYCkm']),[];},exports[a38_0x383023(0x171)]=async(_0x5d87f3,_0x201029='')=>{const _0x5b1fad=a38_0x383023;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x201029+_0x5b1fad(0x179)+_0x5d87f3);const _0x1ec5a0={'url':await _0x5d87f3[_0x5b1fad(0x130)](),'testhub_btcer_uuid':global[_0x5b1fad(0x154)]?.['currentTest']?.['id']};if(global[_0x5b1fad(0x17b)])return await PerformanceTester[_0x5b1fad(0x178)](PerformanceA11yEvents[_0x5b1fad(0x144)],async()=>{const _0x60f96b=_0x5b1fad,_0x4494b8={};_0x4494b8[_0x60f96b(0x195)]=_0x201029;const _0x55c5ac=await exports[_0x60f96b(0x17e)](_0x5d87f3,scripts[_0x60f96b(0x171)],_0x4494b8);return _0x55c5ac;},{'command':_0x201029,..._0x1ec5a0})();},exports[a38_0x383023(0x15f)]=async _0x3d347d=>{const _0x48f0b3=a38_0x383023,_0x12558c={};_0x12558c[_0x48f0b3(0x161)]=_0x48f0b3(0x146),_0x12558c[_0x48f0b3(0x135)]=_0x48f0b3(0x169);const _0x40a6e9=_0x12558c;if(global[_0x48f0b3(0x17b)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3d347d,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x3d347d,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x40a6e9[_0x48f0b3(0x161)]),{};}else return logger[_0x48f0b3(0x167)](_0x40a6e9[_0x48f0b3(0x135)]),{};},exports[a38_0x383023(0x13e)]=async _0xb74c90=>{const _0x1af460=a38_0x383023,_0x33cd09={'VTUfw':function(_0x10b320,_0x34ad31){return _0x10b320!==_0x34ad31;},'DpFqb':_0x1af460(0x155),'mAGUn':'chrome','QKvqz':_0x1af460(0x129),'RmAks':'chromium','GuCGS':_0x1af460(0x189),'saCXq':function(_0x1b3819,_0x5ca03c){return _0x1b3819(_0x5ca03c);},'mmBne':function(_0x1bfad9){return _0x1bfad9();},'hkKAu':function(_0xccd872,_0x3b7e32){return _0xccd872<_0x3b7e32;},'lnjnD':_0x1af460(0x12c),'hDnjJ':function(_0x153e0d,_0x3e5a52){return _0x153e0d===_0x3e5a52;},'CdTqa':_0x1af460(0x16e),'VhQPI':function(_0x4eb0ba,_0x26c486){return _0x4eb0ba>_0x26c486;},'vQTTo':_0x1af460(0x193)};try{if(!_0x33cd09[_0x1af460(0x127)](_0xb74c90[_0x1af460(0x182)],''))return logger['warn'](_0x33cd09[_0x1af460(0x136)]),![];const _0x423e84=_0xb74c90['browser'];if(![_0x33cd09['mAGUn'],_0x33cd09['QKvqz'],_0x33cd09[_0x1af460(0x191)]][_0x1af460(0x164)](_0x423e84))return logger['warn'](_0x33cd09[_0x1af460(0x159)]),![];const _0x55d585=_0x33cd09[_0x1af460(0x12f)](parseInt,_0xb74c90[_0x1af460(0x147)]);!_0x33cd09[_0x1af460(0x152)](isBrowserstackInfra)&&(!_0x33cd09['hkKAu'](_0x55d585,0x64)&&logger[_0x1af460(0x167)](_0x33cd09[_0x1af460(0x175)]));if(!(_0x33cd09[_0x1af460(0x14b)](_0x55d585,_0x33cd09[_0x1af460(0x13f)])||_0x33cd09[_0x1af460(0x17a)](_0x55d585,0x5e)))return logger[_0x1af460(0x167)](_0x33cd09[_0x1af460(0x133)]),![];}catch(_0xc930f1){logger[_0x1af460(0x143)](_0x1af460(0x13d)+util[_0x1af460(0x128)](_0xc930f1));}return!![];},exports[a38_0x383023(0x19e)]=(_0x46b1f2,_0x4b67df,_0x18f5c8)=>{const _0x289abc=a38_0x383023,_0x2236ab={'RzSNb':function(_0x3446a0){return _0x3446a0();},'DYPWA':_0x289abc(0x173),'KiXOQ':function(_0x359e1a,_0x212608){return _0x359e1a===_0x212608;},'oawxJ':_0x289abc(0x14c),'aembO':function(_0x5e44e8,_0x484231){return _0x5e44e8===_0x484231;},'AEPbp':_0x289abc(0x129),'uUeWG':function(_0x1afcfe,_0x5be71f){return _0x1afcfe===_0x5be71f;},'QjxqI':_0x289abc(0x189),'CEaPK':function(_0x53aaa5){return _0x53aaa5();},'boodn':function(_0x2ea792,_0x18115b){return _0x2ea792>_0x18115b;},'cXtLv':_0x289abc(0x12c),'TXVlP':function(_0x242752,_0x2463eb){return _0x242752===_0x2463eb;},'fKrLq':'latest','bBBwn':function(_0x528d94,_0x2390ef){return _0x528d94>_0x2390ef;},'AjsdM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','GNxFJ':function(_0x28196b,_0x5dd9e7){return _0x28196b(_0x5dd9e7);},'lseRJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','VFshG':function(_0x25e01c,_0x1074e5){return _0x25e01c+_0x1074e5;},'TJQUw':function(_0x39f42c,_0x2d1f71){return _0x39f42c(_0x2d1f71);}};try{if(_0x2236ab['RzSNb'](isAccessibilityAutomationSession)){global[_0x289abc(0x17b)]=!![];!_0x46b1f2[_0x2236ab[_0x289abc(0x19a)]]&&(global[_0x289abc(0x17b)]=![]);!(_0x2236ab[_0x289abc(0x19c)](_0x46b1f2[_0x289abc(0x17c)],_0x2236ab[_0x289abc(0x160)])||_0x2236ab['aembO'](_0x46b1f2[_0x289abc(0x17c)],_0x2236ab['AEPbp'])||_0x2236ab[_0x289abc(0x199)](_0x46b1f2['browser'],_0x2236ab['oawxJ'])||_0x2236ab[_0x289abc(0x149)](_0x46b1f2[_0x289abc(0x18d)],_0x2236ab['AEPbp']))&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x13a)]),global[_0x289abc(0x17b)]=![]);!_0x2236ab[_0x289abc(0x162)](isBrowserstackInfra)&&(!_0x2236ab[_0x289abc(0x16f)](_0x46b1f2['browser_version'],0x64)&&logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x138)]));!(_0x2236ab[_0x289abc(0x126)](_0x46b1f2['browser_version'],_0x2236ab[_0x289abc(0x15b)])||_0x2236ab['bBBwn'](_0x46b1f2[_0x289abc(0x147)],0x5e))&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x192)]),global[_0x289abc(0x17b)]=![]);!_0x2236ab['GNxFJ'](isUndefined,_0x46b1f2['deviceName'])&&(logger[_0x289abc(0x167)](_0x2236ab[_0x289abc(0x166)]),global[_0x289abc(0x17b)]=![]);if(!global['accessibilityPlatform']){_0x46b1f2[_0x2236ab[_0x289abc(0x19a)]]=![];const _0x553e91=_0x2236ab[_0x289abc(0x18f)](_0x4b67df,_0x2236ab['TJQUw'](encodeURIComponent,JSON[_0x289abc(0x15a)](_0x46b1f2)));_0x18f5c8&&(_0x18f5c8['currentTest'][_0x289abc(0x142)]['project'][_0x289abc(0x16a)][_0x289abc(0x140)][_0x289abc(0x16b)]=_0x553e91,_0x18f5c8[_0x289abc(0x153)]['project'][_0x289abc(0x16a)]['connectOptions'][_0x289abc(0x16b)]=_0x553e91);}}else global[_0x289abc(0x17b)]=![];}catch(_0x2e1e61){logger[_0x289abc(0x143)](_0x289abc(0x12b)+util[_0x289abc(0x128)](_0x2e1e61));}};
|
|
1
|
+
const a38_0x44d8ce=a38_0x3ead;(function(_0x376163,_0x40a9a7){const _0x1c6d72=a38_0x3ead,_0x4713d8=_0x376163();while(!![]){try{const _0x23bf2c=parseInt(_0x1c6d72(0xaf))/0x1*(parseInt(_0x1c6d72(0xc1))/0x2)+-parseInt(_0x1c6d72(0xec))/0x3+parseInt(_0x1c6d72(0x87))/0x4*(-parseInt(_0x1c6d72(0xf4))/0x5)+parseInt(_0x1c6d72(0x8b))/0x6*(-parseInt(_0x1c6d72(0xcd))/0x7)+parseInt(_0x1c6d72(0xdc))/0x8*(parseInt(_0x1c6d72(0xc8))/0x9)+parseInt(_0x1c6d72(0xe7))/0xa*(parseInt(_0x1c6d72(0xd9))/0xb)+-parseInt(_0x1c6d72(0x107))/0xc*(parseInt(_0x1c6d72(0xd0))/0xd);if(_0x23bf2c===_0x40a9a7)break;else _0x4713d8['push'](_0x4713d8['shift']());}catch(_0x410b7c){_0x4713d8['push'](_0x4713d8['shift']());}}}(a38_0x36e3,0x7ce36));function a38_0x3ead(_0x5dfee4,_0x164f5b){const _0x36e34f=a38_0x36e3();return a38_0x3ead=function(_0x3ead00,_0x1d0601){_0x3ead00=_0x3ead00-0x87;let _0x428250=_0x36e34f[_0x3ead00];return _0x428250;},a38_0x3ead(_0x5dfee4,_0x164f5b);}function a38_0x36e3(){const _0x373b8e=['\x20page:\x20','jdzIv','stringify','project','12lZzqXH','includes','bJEyK','1682084CFDooA','vxUkZ','bstackSdkArgs','phhNF','6mkwbPh','Playwright','latest','winstonLogger','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.includeIssueType.bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setAccessibilityCapabilities','DMWXY','ODlLa','browserStackExecuteDriver','YlPLx','debug','../../helpers/performance/constants','getAccessibilityResultsSummary','includeIssueType','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/accessibility-automation/scripts','etCIv','warn','accessibilityOptions','No\x20accessibility\x20results\x20were\x20found.','__workerDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','connectOptions','iyUid','KnkfP','name','bkrsr','iSzEf','No\x20summaryResults\x20found.','url','erZkz','performScan','QDirl','886598HqDukv','gpsFx','hXJdE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','vcFRC','parse','browserName','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OsGoN','DpMfe','processAccessibilityCaps','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','playwright-chromium','workerInfo','wcagVersion','chrome','2yxgWIm','BNObw','deviceName','evaluate','XGYua','format','currentTest','3461454oNGzQZ','FumMm','lmbDY','aIWQV','browserstack.accessibility','70105cQZjfH','GvFjW','yLaDk','3097835fFTjss','scannerProcessingTimeout','YpPZb','Performing\x20scan\x20with\x20method:\x20','yFqYh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','replace','accessibilityPlatform','(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','33aKnDiH','browser_version','getAccessibilityResults','8ZeNygG','UFwKD','accessibilityOptions.includeIssueType.needsReview','use','mMiJS','../../helpers/logger','(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','platformValidation','executeAsyncScript','browser','WebDriver','3015780xOJMFU','xjIUF','measureWrapper','accessibilityOptions.scannerProcessingTimeout','YmtFz','1725132PVnPiw','accessibilityOptions.wcagVersion','KSmjY','eOZfk','WYtou','env','BS_A11Y_JWT','ziyZZ','10fAyykP','fqbHl','testInfo','browserStackEvaluate','constructor','chromium','DdbTR','AZGJI','pMpIv','error','xtWFU','bestPractice','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeScript'];a38_0x36e3=function(){return _0x373b8e;};return a38_0x36e3();}const util=require('util'),logger=require(a38_0x44d8ce(0xe1))[a38_0x44d8ce(0x8e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x44d8ce(0x9c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x44d8ce(0x98));exports['browserStackEvaluate']=async(_0x3ab596,_0x5a8f8d,_0x114b91={})=>{const _0x607063=a38_0x44d8ce,_0x167b5f={};_0x167b5f['BNObw']='bstackSdkArgs';const _0x258eac=_0x167b5f;return await _0x3ab596[_0x607063(0xc4)](_0x607063(0xd8)+_0x5a8f8d['replace'](/arguments/g,_0x258eac[_0x607063(0xc2)])+_0x607063(0x8f)+JSON[_0x607063(0x105)](_0x114b91)+')');},exports[a38_0x44d8ce(0x95)]=async(_0x475090,_0x133720,_0x52bc8e={})=>{const _0x31d19a=a38_0x44d8ce,_0x44ba83={};_0x44ba83[_0x31d19a(0xeb)]=function(_0x4a9fb4,_0x2efc19){return _0x4a9fb4===_0x2efc19;},_0x44ba83[_0x31d19a(0xac)]=_0x31d19a(0xe6),_0x44ba83[_0x31d19a(0xce)]=function(_0x376e4f,_0x1a32dc){return _0x376e4f===_0x1a32dc;},_0x44ba83['FumMm']=_0x31d19a(0x8c),_0x44ba83['lmbDY']=_0x31d19a(0x89);const _0x212ed7=_0x44ba83;if(_0x212ed7[_0x31d19a(0xeb)](_0x475090['constructor'][_0x31d19a(0xa7)],_0x212ed7[_0x31d19a(0xac)]))return await _0x475090[_0x31d19a(0xe4)](_0x133720,_0x52bc8e);else{if(_0x212ed7[_0x31d19a(0xce)](_0x475090[_0x31d19a(0xf8)]['name'],_0x212ed7[_0x31d19a(0xc9)]))return await _0x475090[_0x31d19a(0x102)](_0x31d19a(0xe2)+_0x133720[_0x31d19a(0xd6)](/arguments/g,_0x212ed7[_0x31d19a(0xca)])+_0x31d19a(0xa3)+JSON[_0x31d19a(0x105)](_0x52bc8e)+')');}},exports[a38_0x44d8ce(0x92)]=async _0x271350=>{const _0x3a0f23=a38_0x44d8ce,_0x39e069={};_0x39e069[_0x3a0f23(0xfc)]=_0x3a0f23(0xed),_0x39e069[_0x3a0f23(0xe8)]=_0x3a0f23(0xea),_0x39e069[_0x3a0f23(0xb4)]=_0x3a0f23(0x90),_0x39e069['YlPLx']=_0x3a0f23(0xde),_0x39e069['gpsFx']='accessibilityOptions.authToken',_0x39e069[_0x3a0f23(0xba)]='accessibilityOptions.scannerVersion';const _0xfea9e3=_0x39e069;_0x271350['accessibilityOptions']&&(_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xfc)]]=_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]),_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xd1)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xe8)]]=_0x271350[_0x3a0f23(0x9f)]['scannerProcessingTimeout']),_0x271350[_0x3a0f23(0x9f)]['includeIssueType']&&(_0x271350[_0xfea9e3[_0x3a0f23(0xb4)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)][_0x3a0f23(0xff)],_0x271350[_0xfea9e3[_0x3a0f23(0x96)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)]['needsReview']));const _0x4d0bb4=JSON[_0x3a0f23(0xb5)](process[_0x3a0f23(0xf1)][_0x3a0f23(0x91)])['scannerVersion'];_0x271350[_0xfea9e3[_0x3a0f23(0xb0)]]=process['env'][_0x3a0f23(0xf2)],_0x271350[_0xfea9e3[_0x3a0f23(0xba)]]=_0x4d0bb4,delete _0x271350[_0x3a0f23(0x9f)];},exports[a38_0x44d8ce(0xdb)]=async _0x2e810d=>{const _0x3f035c=a38_0x44d8ce,_0x1d9ef0={};_0x1d9ef0[_0x3f035c(0x88)]=_0x3f035c(0xa0),_0x1d9ef0[_0x3f035c(0xf5)]=_0x3f035c(0x101);const _0x239de3=_0x1d9ef0;if(global['accessibilityPlatform'])try{const details={'url':await _0x2e810d.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(_0x2e810d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2e810d,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3f035c(0xfd)](_0x239de3[_0x3f035c(0x88)]),[];}else return logger[_0x3f035c(0x9e)](_0x239de3[_0x3f035c(0xf5)]),[];},exports['performScan']=async(_0x18e419,_0xcbe499='')=>{const _0xfc8006=a38_0x44d8ce;logger[_0xfc8006(0x97)](_0xfc8006(0xd3)+_0xcbe499+_0xfc8006(0x103)+_0x18e419);const _0x25b1c6={'url':await _0x18e419[_0xfc8006(0xab)](),'testhub_btcer_uuid':global[_0xfc8006(0xa1)]?.[_0xfc8006(0xc7)]?.['id']};if(global[_0xfc8006(0xd7)])return await PerformanceTester[_0xfc8006(0xe9)](PerformanceA11yEvents[_0xfc8006(0x100)],async()=>{const _0x261ee8=_0xfc8006,_0x5576d6={};_0x5576d6[_0x261ee8(0xb7)]=_0xcbe499;const _0x4b5643=await exports[_0x261ee8(0xf7)](_0x18e419,scripts[_0x261ee8(0xad)],_0x5576d6);return _0x4b5643;},{'command':_0xcbe499,..._0x25b1c6})();},exports[a38_0x44d8ce(0x99)]=async _0x47c989=>{const _0x5d6215=a38_0x44d8ce,_0x16668a={};_0x16668a[_0x5d6215(0x93)]=_0x5d6215(0xaa),_0x16668a[_0x5d6215(0xae)]=_0x5d6215(0xb3);const _0x50a274=_0x16668a;if(global[_0x5d6215(0xd7)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x47c989,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x47c989,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x50a274[_0x5d6215(0x93)]),{};}else return logger[_0x5d6215(0x9e)](_0x50a274['QDirl']),{};},exports[a38_0x44d8ce(0xe3)]=async _0x29d435=>{const _0x50e5a5=a38_0x44d8ce,_0x3ff7f1={'iSzEf':function(_0x2f7128,_0x18f0f7){return _0x2f7128!==_0x18f0f7;},'ODlLa':_0x50e5a5(0xb2),'AZGJI':'chrome','KSmjY':_0x50e5a5(0xbd),'VHuXw':_0x50e5a5(0xf9),'hXJdE':_0x50e5a5(0xd5),'UFwKD':function(_0x21c734,_0x5d5d3a){return _0x21c734(_0x5d5d3a);},'PKpKJ':function(_0x10ba19){return _0x10ba19();},'mMiJS':function(_0x554960,_0x49361d){return _0x554960<_0x49361d;},'jdzIv':_0x50e5a5(0xb8),'bJEyK':function(_0xe17fdd,_0x5f4acd){return _0xe17fdd===_0x5f4acd;},'KnkfP':_0x50e5a5(0x8d),'KUFYI':function(_0x141b39,_0x398571){return _0x141b39>_0x398571;},'eOZfk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x3ff7f1[_0x50e5a5(0xa9)](_0x29d435['deviceName'],''))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0x94)]),![];const _0x423d09=_0x29d435[_0x50e5a5(0xe5)];if(![_0x3ff7f1[_0x50e5a5(0xfb)],_0x3ff7f1[_0x50e5a5(0xee)],_0x3ff7f1['VHuXw']][_0x50e5a5(0x108)](_0x423d09))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xb1)]),![];const _0x3afa0a=_0x3ff7f1[_0x50e5a5(0xdd)](parseInt,_0x29d435[_0x50e5a5(0xda)]);!_0x3ff7f1['PKpKJ'](isBrowserstackInfra)&&(!_0x3ff7f1[_0x50e5a5(0xe0)](_0x3afa0a,0x64)&&logger['warn'](_0x3ff7f1[_0x50e5a5(0x104)]));if(!(_0x3ff7f1[_0x50e5a5(0x109)](_0x3afa0a,_0x3ff7f1[_0x50e5a5(0xa6)])||_0x3ff7f1['KUFYI'](_0x3afa0a,0x5e)))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xef)]),![];}catch(_0xd32042){logger[_0x50e5a5(0x97)](_0x50e5a5(0x9b)+util[_0x50e5a5(0xc6)](_0xd32042));}return!![];},exports[a38_0x44d8ce(0xbb)]=(_0x4271bd,_0x28555a,_0x4f3d20)=>{const _0x12e56b=a38_0x44d8ce,_0x29a1ba={'YpPZb':function(_0x5f2a09){return _0x5f2a09();},'iyUid':_0x12e56b(0xcc),'OsGoN':function(_0x30f131,_0x2f90ab){return _0x30f131===_0x2f90ab;},'etCIv':_0x12e56b(0xc0),'yLaDk':_0x12e56b(0xbd),'phhNF':function(_0x5eee73,_0x1df41d){return _0x5eee73===_0x1df41d;},'ziyZZ':function(_0xa1b0d6,_0x22df00){return _0xa1b0d6===_0x22df00;},'DdbTR':_0x12e56b(0xd5),'XGYua':function(_0x5704d9,_0x543dca){return _0x5704d9>_0x543dca;},'bkrsr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','aIWQV':_0x12e56b(0x8d),'zxynG':_0x12e56b(0xa2),'yFqYh':function(_0x57d127,_0x1b5a9a){return _0x57d127(_0x1b5a9a);},'WYtou':_0x12e56b(0xb2),'xtWFU':function(_0x30ee2c,_0x11a525){return _0x30ee2c+_0x11a525;},'SfZwP':function(_0x54a73a,_0x5631b2){return _0x54a73a(_0x5631b2);}};try{if(_0x29a1ba[_0x12e56b(0xd2)](isAccessibilityAutomationSession)){global[_0x12e56b(0xd7)]=!![];!_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]&&(global[_0x12e56b(0xd7)]=![]);!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd['browserName'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba['OsGoN'](_0x4271bd[_0x12e56b(0xb6)],_0x29a1ba[_0x12e56b(0xcf)])||_0x29a1ba[_0x12e56b(0x8a)](_0x4271bd['browser'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba[_0x12e56b(0xf3)](_0x4271bd[_0x12e56b(0xe5)],_0x29a1ba[_0x12e56b(0xcf)]))&&(logger['warn'](_0x29a1ba[_0x12e56b(0xfa)]),global[_0x12e56b(0xd7)]=![]);!_0x29a1ba[_0x12e56b(0xd2)](isBrowserstackInfra)&&(!_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x64)&&logger['warn'](_0x29a1ba[_0x12e56b(0xa8)]));!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd[_0x12e56b(0xda)],_0x29a1ba[_0x12e56b(0xcb)])||_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x5e))&&(logger[_0x12e56b(0x9e)](_0x29a1ba['zxynG']),global['accessibilityPlatform']=![]);!_0x29a1ba[_0x12e56b(0xd4)](isUndefined,_0x4271bd[_0x12e56b(0xc3)])&&(logger[_0x12e56b(0x9e)](_0x29a1ba[_0x12e56b(0xf0)]),global[_0x12e56b(0xd7)]=![]);if(!global[_0x12e56b(0xd7)]){_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]=![];const _0x25f3ca=_0x29a1ba[_0x12e56b(0xfe)](_0x28555a,_0x29a1ba['SfZwP'](encodeURIComponent,JSON[_0x12e56b(0x105)](_0x4271bd)));_0x4f3d20&&(_0x4f3d20[_0x12e56b(0xc7)][_0x12e56b(0xf6)][_0x12e56b(0x106)][_0x12e56b(0xdf)][_0x12e56b(0xa4)]['wsEndpoint']=_0x25f3ca,_0x4f3d20[_0x12e56b(0xbe)][_0x12e56b(0x106)][_0x12e56b(0xdf)]['connectOptions']['wsEndpoint']=_0x25f3ca);}}else global[_0x12e56b(0xd7)]=![];}catch(_0x3fdf60){logger['debug'](_0x12e56b(0xbc)+util[_0x12e56b(0xc6)](_0x3fdf60));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a39_0x2a5c36=a39_0x4c44;function a39_0x42f3(){const _0x5215d4=['serializeToYamlString','Error\x20in\x20deleting\x20playwright\x20results','stop','Deleting\x20','fxeAO','splice','resolve','isRunning','info','reportDotBrowserStackFolderNotAccessibleIssue','trim','testContextOptions','winstonLogger','yTYiA','ylUlA','../../helpers/performance/performance-tester','mUHXe','bVkjy','end','initialize','\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','dDYGW','validateRerunTestList','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','requireConfigLoaderYarnPnP','assign','accessibilityOptions','./reporter/pwUtils','eQhQJ','wVQEW','playwright-browserstack-sdk.config.js','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/utilities','isYarnPnP','PLAYWRIGHT','../../helpers/accessibility-automation/helper','false','808ViKIsm','14777UYLBPu','BROWSERSTACK_TEST_ACCESSIBILITY_YML','accessibility','--disable-test-observability','automation','No\x20Proxy\x20:\x20','filterBrowserstackArgs','wVhnd','./reporter/test-details','nBzMs','writeFileSync','slice','parse','oBMZG','playwright','../../helpers/performance/constants','\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();','error','ZbtYx','Error\x20in\x20getting\x20funnel\x20data\x20results','yarn','configPath','JqpiX','SDK_POST_INITIALIZE','MODULE','44naORaX','tUFLV','--config','EVENTS','nzODx','split','cliConfig','isUndefined','playwright-browserstack-sdk.config.cjs','Proxy\x20url\x20:\x20','GDoFI','../../helpers/logger','LTSnt','LKKbT','accessSync','npx','WgVZD','resolvedConfigFile','vOSze','constants','../../helpers/BrowserStackSetup','push','finalExecution','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Updated\x20config\x20file\x20name\x20to\x20-\x20','skipSessionStatus','rHNnC','Playwright\x20process\x20exited\x20with\x20code\x20','tgdIT','../../helpers/testhub/testhubHandler','iRjAi','get','../../helpers/helper','JrJGR','util','sKlVs','start','--disable-browserstack-automation','env','--config=','VfCgg','apply','reportConflictingEnvVarIssue','nestedKeyValue','cwd','BROWSERSTACK_AUTOMATION','logLevel','setFrameworkDetail','concat','hGJQC','SDUWw','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','startsWith','platform','OPkaY','stringify','VXzjX','GWxVt','R_OK','3BeDZnY','errorMessage','.browserstack','bAeAn','getNoProxy','KclQU','config','PACKAGE_TYPE','pmgfn','1775240HqZtwF','win32','3537738mkXoGk','OKMLR','6gmWmwQ','hGTRH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','W_OK','BrowserStack\x20config\x20file\x20not\x20found.','Pnmti','./accessibility-helper','177596YZeAcy','join','indexOf','OTjoS','170782VwrdSA','test','TUyxZ','getInstance','336955HGXbhk','dirname','homedir','getConfig','testObservability','../v2/TestInfo','isTypescriptProject','BROWSERSTACK_RERUN_TESTS','unlinkSync','measureWrapper','exports','child_process','path','qlqbp','browserstackAutomation','launchBuild','isFalse','map','getConfigPath','VPSCU','../v2/browserstackCLI','NbqFN','skipSessionName','BROWSERSTACK_SETUP_CONFIG_PATH','getPackageType','debug','2626850ARhmnZ','INTERNALLY_USED_ENV_VARS','has','length','EEWQQ','PVoPk','close','JYOrf','GrrvH','QqolH','../../helpers/test-observability/utils','browserstackSetupConfig.json','inherit','bootstrap','existsSync'];a39_0x42f3=function(){return _0x5215d4;};return a39_0x42f3();}(function(_0x5c5904,_0x1fac5c){const _0x44cb3b=a39_0x4c44,_0x89bc91=_0x5c5904();while(!![]){try{const _0x3907a5=parseInt(_0x44cb3b(0x1a6))/0x1+parseInt(_0x44cb3b(0x1a2))/0x2+-parseInt(_0x44cb3b(0x18e))/0x3*(-parseInt(_0x44cb3b(0x197))/0x4)+parseInt(_0x44cb3b(0x1aa))/0x5*(parseInt(_0x44cb3b(0x19b))/0x6)+-parseInt(_0x44cb3b(0x13a))/0x7*(-parseInt(_0x44cb3b(0x139))/0x8)+parseInt(_0x44cb3b(0x199))/0x9+parseInt(_0x44cb3b(0x1c4))/0xa*(-parseInt(_0x44cb3b(0x153))/0xb);if(_0x3907a5===_0x1fac5c)break;else _0x89bc91['push'](_0x89bc91['shift']());}catch(_0x291a93){_0x89bc91['push'](_0x89bc91['shift']());}}}(a39_0x42f3,0x4fabe));function a39_0x4c44(_0x594529,_0x346d9a){const _0x42f3ae=a39_0x42f3();return a39_0x4c44=function(_0x4c44bd,_0x45ffd3){_0x4c44bd=_0x4c44bd-0x11a;let _0x23736a=_0x42f3ae[_0x4c44bd];return _0x23736a;},a39_0x4c44(_0x594529,_0x346d9a);}const fs=require('fs'),path=require(a39_0x2a5c36(0x1b6)),{spawn}=require(a39_0x2a5c36(0x1b5)),{format}=require(a39_0x2a5c36(0x175)),logger=require(a39_0x2a5c36(0x15e))[a39_0x2a5c36(0x120)],{default:BrowserStackSetup}=require(a39_0x2a5c36(0x167)),helper=require(a39_0x2a5c36(0x173)),utilities=require(a39_0x2a5c36(0x134)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require(a39_0x2a5c36(0x12f)),{checkAccessibilityPlatformConfig}=require(a39_0x2a5c36(0x137)),{setAccessibilityCapabilities}=require(a39_0x2a5c36(0x1a1)),{printBuildLink}=require(a39_0x2a5c36(0x1ce)),TestDetails=require(a39_0x2a5c36(0x142)),TestHubHandler=require(a39_0x2a5c36(0x170)),PerformanceTester=require(a39_0x2a5c36(0x123)),BrowserstackCLI=require(a39_0x2a5c36(0x1be)),PerformanceEvents=require(a39_0x2a5c36(0x149))[a39_0x2a5c36(0x156)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0x2a5c36(0x1af)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x4af299,_0x49d158)=>{const _0x1a723a=a39_0x2a5c36,_0x14f404={'hGJQC':function(_0x4287b6){return _0x4287b6();},'FALgy':function(_0x4fbe05){return _0x4fbe05();},'OPkaY':function(_0x4b7bf2,_0x32856e){return _0x4b7bf2(_0x32856e);},'fTfBG':function(_0x1cecaa,_0x250fc0){return _0x1cecaa(_0x250fc0);},'tgdIT':_0x1a723a(0x164),'GrrvH':_0x1a723a(0x17a)},_0x41d0d1=!helper[_0x1a723a(0x15a)](_0x4af299['config']),_0x29ec1b=_0x41d0d1?path[_0x1a723a(0x11a)](process['cwd'](),_0x4af299['config']):process[_0x1a723a(0x17f)](),{resolveConfigFile:_0x15c2a3,resolveConfigLocation:_0x4f0df8}=helper[_0x1a723a(0x135)]()?helper[_0x1a723a(0x12c)](..._0x14f404[_0x1a723a(0x184)](getConfigLoaderPath)):helper['requirePWModule'][_0x1a723a(0x17c)](null,_0x14f404['FALgy'](getConfigLoaderPath)),_0x540b7f=_0x15c2a3?_0x14f404[_0x1a723a(0x189)](_0x15c2a3,_0x29ec1b):helper[_0x1a723a(0x17e)](_0x14f404['fTfBG'](_0x4f0df8,_0x29ec1b),[_0x14f404[_0x1a723a(0x16f)]]),_0x1f2c6d={};if(_0x41d0d1){const _0x2242c3=_0x49d158['findIndex'](_0x1044a9=>_0x1044a9===_0x1a723a(0x155)||_0x1044a9==='-c'||_0x1044a9[_0x1a723a(0x187)](_0x1a723a(0x17a)));_0x49d158[_0x1a723a(0x1d8)](_0x2242c3,_0x49d158[_0x2242c3][_0x1a723a(0x187)](_0x14f404[_0x1a723a(0x1cc)])?0x1:0x2);}const _0xf967c8={};return _0xf967c8[_0x1a723a(0x1b6)]=_0x540b7f,_0xf967c8['config']=_0x1f2c6d,_0xf967c8;},handleO11yRerun=_0x442584=>{const _0x86152=a39_0x2a5c36,_0x714a79={};_0x714a79['dgbGQ']='--grep';const _0x4484e3=_0x714a79,_0x4340c4=helper['isTrue'](process[_0x86152(0x179)]['BROWSERSTACK_RERUN']);if(_0x4340c4){const _0x16d2ee=process[_0x86152(0x179)][_0x86152(0x1b1)],_0x543637=[];if(helper[_0x86152(0x12a)](_0x16d2ee)&&!helper[_0x86152(0x15a)](_0x16d2ee)){_0x16d2ee['split'](',')[_0x86152(0x1bb)](_0x5513d9=>{const _0x22cdd0=_0x86152;_0x543637[_0x22cdd0(0x168)]('('+_0x5513d9[_0x22cdd0(0x11e)]()+')');});const _0x5d2564='^'+_0x543637[_0x86152(0x1a3)]('|')+'$';_0x442584[_0x86152(0x168)](_0x4484e3['dgbGQ'],_0x5d2564);}}},spawnOriginalProcess=_0x117b67=>{const _0x227dc7=a39_0x2a5c36,_0x50c72a={'bVkjy':function(_0x29b681,_0x1c58d7,_0x4bc58f,_0x2f3f00){return _0x29b681(_0x1c58d7,_0x4bc58f,_0x2f3f00);},'VRGQK':_0x227dc7(0x14e),'qlqbp':_0x227dc7(0x162),'yTYiA':_0x227dc7(0x148),'WgVZD':function(_0x4c9ff3,_0x1f7a98){return _0x4c9ff3===_0x1f7a98;},'JqpiX':_0x227dc7(0x198),'Pnmti':'inherit'};_0x50c72a[_0x227dc7(0x125)](spawn,helper[_0x227dc7(0x135)]()?_0x50c72a['VRGQK']:_0x50c72a[_0x227dc7(0x1b7)],[_0x50c72a[_0x227dc7(0x121)],..._0x117b67[_0x227dc7(0x145)](0x1)],{'shell':_0x50c72a[_0x227dc7(0x163)](process[_0x227dc7(0x188)],_0x50c72a[_0x227dc7(0x150)]),'stdio':_0x50c72a[_0x227dc7(0x1a0)],'cwd':process[_0x227dc7(0x17f)]()});},isTestCommand=(_0x538e6d,_0x2ffd1d)=>{const _0x25ccc8=a39_0x2a5c36,_0x3eb3d6={};_0x3eb3d6[_0x25ccc8(0x129)]=function(_0x76b80c,_0x4957c7){return _0x76b80c>_0x4957c7;},_0x3eb3d6['wVQEW']=function(_0x85a321,_0x49bce4){return _0x85a321===_0x49bce4;},_0x3eb3d6[_0x25ccc8(0x19a)]='test';const _0x262c90=_0x3eb3d6;if(_0x262c90[_0x25ccc8(0x129)](_0x2ffd1d[_0x25ccc8(0x1c7)],0x1)&&_0x262c90[_0x25ccc8(0x131)](_0x2ffd1d[0x1],_0x262c90[_0x25ccc8(0x19a)]))return!![];return![];};async function run(_0x3bc6ef,_0x3546bf,_0x2a3725){const _0x32c748=a39_0x2a5c36,_0x31f317={'rHNnC':_0x32c748(0x190),'QqolH':'pw_result.json','ylUlA':function(_0x4b271a,_0x5326bb){return _0x4b271a+_0x5326bb;},'JZHau':_0x32c748(0x14d),'ZbtYx':function(_0xa77abf){return _0xa77abf();},'vOSze':'Error\x20in\x20closing\x20playwright','VXzjX':function(_0x8087d1,_0x1731c5){return _0x8087d1(_0x1731c5);},'nzODx':_0x32c748(0x19f),'JrJGR':function(_0x4075ae,_0x3a951c){return _0x4075ae<_0x3a951c;},'KclQU':function(_0x377fc2,_0x44e09a){return _0x377fc2===_0x44e09a;},'GDoFI':_0x32c748(0x138),'gcOah':_0x32c748(0x13d),'DNUED':function(_0x1f96a1,_0x20a1a9){return _0x1f96a1>=_0x20a1a9;},'OTjoS':_0x32c748(0x13e),'sKlVs':function(_0x1f90a0,_0xd8f07f){return _0x1f90a0!=_0xd8f07f;},'iRjAi':function(_0x5d8555,_0x106d91,_0x2c5c24){return _0x5d8555(_0x106d91,_0x2c5c24);},'mUHXe':function(_0x458b37,_0x37af7d){return _0x458b37(_0x37af7d);},'LKKbT':function(_0x2698a7,_0x323953){return _0x2698a7===_0x323953;},'VfCgg':'true','JYOrf':_0x32c748(0x1cf),'LTSnt':function(_0x29e308,_0x154d7e){return _0x29e308===_0x154d7e;},'owioq':_0x32c748(0x15b),'bAeAn':_0x32c748(0x132),'tUFLV':function(_0x44dd39,_0x35ae40){return _0x44dd39-_0x35ae40;},'pmgfn':_0x32c748(0x16b),'TUyxZ':function(_0xb77e42,_0x488f18){return _0xb77e42>_0x488f18;},'eQhQJ':function(_0xd25fb1,_0x4c8493,_0x1656ef,_0x3f5841){return _0xd25fb1(_0x4c8493,_0x1656ef,_0x3f5841);},'nNGZC':_0x32c748(0x14e),'VPSCU':'npx','EEWQQ':_0x32c748(0x148),'Ffywl':_0x32c748(0x1a7),'wDcUY':'--config','wVhnd':_0x32c748(0x198),'GWxVt':function(_0x2687ca,_0x3d4a5b){return _0x2687ca===_0x3d4a5b;},'fxeAO':_0x32c748(0x1d0),'nBzMs':_0x32c748(0x1ca),'SDUWw':function(_0x384b31,_0x2a713b){return _0x384b31|_0x2a713b;},'hGTRH':function(_0x46d44e,_0x5bf0bf){return _0x46d44e+_0x5bf0bf;},'RIYHE':'Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','oBMZG':_0x32c748(0x1d4),'fzYUx':function(_0x4d3b59,_0x2132d3,_0x69a4c5){return _0x4d3b59(_0x2132d3,_0x69a4c5);},'PVoPk':function(_0x1cf925,_0xc53aff){return _0x1cf925(_0xc53aff);}};try{const _0x5346c4=path['join'](helper[_0x32c748(0x1ac)](),_0x31f317['rHNnC']);try{fs[_0x32c748(0x161)](_0x5346c4,_0x31f317[_0x32c748(0x185)](fs[_0x32c748(0x166)][_0x32c748(0x18d)],fs[_0x32c748(0x166)][_0x32c748(0x19e)]));}catch(_0x3c5572){ClientTroubleShootingService[_0x32c748(0x11d)]();}}catch(_0x37d4ca){logger['debug'](_0x31f317[_0x32c748(0x19c)](_0x31f317['RIYHE'],_0x37d4ca));}try{const _0x5796ba=path['join'](helper[_0x32c748(0x1ac)](),_0x31f317[_0x32c748(0x16d)],_0x31f317[_0x32c748(0x1cd)]);fs['existsSync'](_0x5796ba)&&fs[_0x32c748(0x1b2)](_0x5796ba);}catch(_0x3ddf0e){logger[_0x32c748(0x1c3)](_0x31f317[_0x32c748(0x122)](_0x31f317[_0x32c748(0x147)],_0x3ddf0e));}if(!_0x31f317['fzYUx'](isTestCommand,_0x3bc6ef,_0x3546bf)){_0x31f317[_0x32c748(0x1c9)](spawnOriginalProcess,_0x3546bf);return;}await PerformanceTester[_0x32c748(0x1b3)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x38fa23=_0x32c748,_0x3a77a9={'xCdrQ':function(_0x100472,_0x50bb15){const _0x23f42d=a39_0x4c44;return _0x31f317[_0x23f42d(0x18b)](_0x100472,_0x50bb15);}};if(!_0x2a3725['config']){logger[_0x38fa23(0x14b)](_0x31f317[_0x38fa23(0x157)]);return;}await _0x2a3725[_0x38fa23(0x127)](_0x3bc6ef),CLIUtils[_0x38fa23(0x182)](FRAMEWORKS[_0x38fa23(0x136)],FRAMEWORKS[_0x38fa23(0x136)]),BrowserstackCLI[_0x38fa23(0x1a9)]()['setBrowserstackConfig'](_0x2a3725[_0x38fa23(0x194)],_0x2a3725[_0x38fa23(0x14f)],_0x2a3725[_0x38fa23(0x159)]),await BrowserstackCLI['getInstance']()[_0x38fa23(0x1d1)]();for(var _0x342b27=0x0;_0x31f317[_0x38fa23(0x174)](_0x342b27,constants[_0x38fa23(0x1c5)][_0x38fa23(0x1c7)]);_0x342b27++){var _0xf35de6=constants['INTERNALLY_USED_ENV_VARS'][_0x342b27];process[_0x38fa23(0x179)][_0xf35de6]&&await ClientTroubleShootingService[_0x38fa23(0x17d)](_0xf35de6);}const _0x19f796=BrowserstackCLI[_0x38fa23(0x1a9)]()[_0x38fa23(0x1ad)]();!helper['isFalse'](_0x19f796['browserstackAutomation'])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=!![]);_0x31f317[_0x38fa23(0x193)](_0x19f796[_0x38fa23(0x1b8)],![])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=_0x31f317[_0x38fa23(0x15d)],_0x3546bf=_0x3546bf['filter'](_0x43a1d3=>_0x43a1d3!==_0x38fa23(0x178)));const _0x504671=_0x3546bf[_0x38fa23(0x1a4)](_0x31f317['gcOah']);(_0x31f317['DNUED'](_0x504671,0x0)||_0x31f317['KclQU'](_0x19f796[_0x38fa23(0x1ae)],![]))&&(process[_0x38fa23(0x179)][_0x38fa23(0x133)]=_0x31f317['GDoFI'],_0x3546bf=_0x3546bf['filter'](_0x2ab83e=>_0x2ab83e!=='--disable-test-observability'));!helper[_0x38fa23(0x15a)](_0x2a3725[_0x38fa23(0x159)])&&_0x2a3725[_0x38fa23(0x159)][_0x38fa23(0x1c6)](_0x31f317[_0x38fa23(0x1a5)])&&(process[_0x38fa23(0x179)][_0x38fa23(0x180)]=_0x2a3725[_0x38fa23(0x159)][_0x38fa23(0x172)](_0x31f317['OTjoS'])||!![]);_0x31f317[_0x38fa23(0x176)](_0x2a3725['config'][_0x38fa23(0x1ae)],null)&&!helper['isTrue'](process[_0x38fa23(0x179)][_0x38fa23(0x133)])&&(process[_0x38fa23(0x179)][_0x38fa23(0x133)]=process[_0x38fa23(0x179)][_0x38fa23(0x133)]||_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x1ae)]);const _0x1f8716=!helper[_0x38fa23(0x1ba)](process['env'][_0x38fa23(0x133)]);_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x12e)]&&(process['env'][_0x38fa23(0x19d)]=JSON[_0x38fa23(0x18a)](_0x2a3725[_0x38fa23(0x194)]['accessibilityOptions']));let _0x39d243=![];_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x13c)]&&(_0x39d243=!![],process[_0x38fa23(0x179)][_0x38fa23(0x13b)]=_0x2a3725[_0x38fa23(0x194)]['accessibility']);const _0x18b1e7=_0x3546bf[_0x38fa23(0x183)](),_0x43644e=await _0x31f317[_0x38fa23(0x171)](getUserPlaywrightConfig,_0x3bc6ef,_0x3546bf);if(helper[_0x38fa23(0x15a)](_0x43644e)){_0x31f317[_0x38fa23(0x124)](spawnOriginalProcess,_0x18b1e7);return;}const _0x1d02b4=_0x43644e['path']?path[_0x38fa23(0x1ab)](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)]();process[_0x38fa23(0x179)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1d02b4,await PerformanceTester[_0x38fa23(0x1b3)](PerformanceEvents[_0x38fa23(0x151)],async()=>{const _0x1f4c02=_0x38fa23;!BrowserstackCLI[_0x1f4c02(0x1a9)]()[_0x1f4c02(0x11b)]()&&await TestHubHandler[_0x1f4c02(0x1b9)](FRAMEWORKS[_0x1f4c02(0x136)],_0x2a3725),_0x1f8716&&_0x3a77a9['xCdrQ'](handleO11yRerun,_0x3546bf);})();if(!BrowserstackCLI[_0x38fa23(0x1a9)]()[_0x38fa23(0x11b)]()){let _0x5341dd=_0x31f317[_0x38fa23(0x160)](process[_0x38fa23(0x179)][_0x38fa23(0x13b)],_0x31f317[_0x38fa23(0x17b)]);_0x5341dd=_0x5341dd||_0x31f317[_0x38fa23(0x18b)](checkAccessibilityPlatformConfig,_0x2a3725['config']),process[_0x38fa23(0x179)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5341dd,_0x5341dd&&_0x31f317[_0x38fa23(0x124)](setAccessibilityCapabilities,_0x2a3725[_0x38fa23(0x194)]);}const _0xd30188=path[_0x38fa23(0x1a3)](_0x43644e[_0x38fa23(0x1b6)]?path[_0x38fa23(0x1ab)](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)](),_0x31f317[_0x38fa23(0x1cb)]);fs[_0x38fa23(0x144)](_0xd30188,helper[_0x38fa23(0x1d3)](_0x2a3725['config'])),process[_0x38fa23(0x179)][_0x38fa23(0x1c1)]=_0xd30188,helper['clearTempPWConfig']();let _0x57e9ca='';_0x31f317[_0x38fa23(0x15f)](helper[_0x38fa23(0x1c2)](),constants[_0x38fa23(0x195)][_0x38fa23(0x152)])?_0x57e9ca=_0x31f317['owioq']:_0x57e9ca=_0x31f317[_0x38fa23(0x191)];let _0x5f0068='';if(helper[_0x38fa23(0x1b0)](_0x43644e[_0x38fa23(0x1b6)])){_0x5f0068=_0x38fa23(0x16a);const _0x336e26=_0x57e9ca[_0x38fa23(0x158)]('.');_0x336e26[_0x31f317[_0x38fa23(0x154)](_0x336e26[_0x38fa23(0x1c7)],0x1)]='ts',_0x57e9ca=_0x336e26['join']('.'),logger[_0x38fa23(0x1c3)](_0x31f317['ylUlA'](_0x31f317[_0x38fa23(0x196)],_0x57e9ca));}else _0x5f0068=_0x38fa23(0x186);const _0x175d74=path[_0x38fa23(0x1a3)](_0x43644e[_0x38fa23(0x1b6)]?path['dirname'](_0x43644e[_0x38fa23(0x1b6)]):process[_0x38fa23(0x17f)](),_0x57e9ca);let _0x1fdc2d=_0x43644e[_0x38fa23(0x1b6)]?_0x43644e[_0x38fa23(0x1b6)]:'';_0x1fdc2d=_0x31f317[_0x38fa23(0x1a8)](_0x1fdc2d[_0x38fa23(0x1c7)],0x0)?path[_0x38fa23(0x11a)](_0x1fdc2d):'',process[_0x38fa23(0x179)]['USER_CONFIG_DETAILS_PATH']=_0x1fdc2d;const _0x11d983=helper['getProxyUrl'](_0x2a3725[_0x38fa23(0x194)]),_0x1c4429=helper[_0x38fa23(0x192)](_0x2a3725[_0x38fa23(0x194)]);logger[_0x38fa23(0x1c3)](_0x38fa23(0x15c)+_0x11d983),logger[_0x38fa23(0x1c3)](_0x38fa23(0x13f)+_0x1c4429);_0x11d983&&(_0x5f0068=_0x31f317[_0x38fa23(0x122)](_0x38fa23(0x12b)+_0x11d983+_0x38fa23(0x128)+_0x1c4429+_0x38fa23(0x14a),_0x5f0068));helper[_0x38fa23(0x140)]({},_0x3546bf),fs[_0x38fa23(0x144)](_0x175d74,_0x5f0068),PerformanceTester[_0x38fa23(0x126)](PerformanceEvents['SDK_SETUP']);const _0x45a2b2=_0x31f317[_0x38fa23(0x130)](spawn,helper['isYarnPnP']()?_0x31f317['nNGZC']:_0x31f317[_0x38fa23(0x1bd)],[_0x31f317[_0x38fa23(0x1c8)],_0x31f317['Ffywl'],_0x31f317['wDcUY'],_0x31f317['LTSnt'](process[_0x38fa23(0x188)],_0x31f317[_0x38fa23(0x141)])?'\x22'+_0x175d74+'\x22':_0x175d74,..._0x3546bf['slice'](0x2)],{'shell':_0x31f317[_0x38fa23(0x18c)](process[_0x38fa23(0x188)],_0x31f317[_0x38fa23(0x141)]),'stdio':_0x31f317[_0x38fa23(0x1d7)],'cwd':process['cwd'](),'env':Object[_0x38fa23(0x12d)]({},process[_0x38fa23(0x179)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x38fa23(0x1bc)](_0x3bc6ef),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x2a3725[_0x38fa23(0x194)][_0x38fa23(0x11f)][_0x38fa23(0x16c)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x2a3725[_0x38fa23(0x194)]['testContextOptions'][_0x38fa23(0x1c0)],'BROWSERSTACK_LOG_LEVEL':_0x2a3725['config'][_0x38fa23(0x181)]})}),_0x47e807=()=>{const _0x187bb2=_0x38fa23;try{const _0x42e003=path[_0x187bb2(0x1a3)](helper[_0x187bb2(0x1ac)](),_0x31f317[_0x187bb2(0x16d)],_0x31f317['QqolH']);if(fs[_0x187bb2(0x1d2)](_0x42e003)){let _0x2cf0f9=fs['readFileSync'](_0x42e003);_0x2cf0f9=JSON[_0x187bb2(0x146)](_0x2cf0f9),_0x2a3725[_0x187bb2(0x18f)]=_0x2cf0f9,fs[_0x187bb2(0x1b2)](_0x42e003);}}catch(_0x63afc5){logger[_0x187bb2(0x1c3)](_0x31f317[_0x187bb2(0x122)](_0x31f317['JZHau'],_0x63afc5));}};_0x45a2b2['on'](_0x31f317[_0x38fa23(0x143)],async _0x22c227=>{const _0x676853=_0x38fa23,_0x2d18c2={};_0x2d18c2['NbqFN']=_0x31f317[_0x676853(0x16d)];const _0x5d0304=_0x2d18c2;try{PerformanceTester[_0x676853(0x177)](PerformanceEvents['SDK_CLEANUP']),_0x31f317[_0x676853(0x14c)](_0x47e807),await TestHubHandler[_0x676853(0x1d5)](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x676853(0x1a9)]()['stop'](),TestDetails['shutdown'](),_0x31f317[_0x676853(0x14c)](printBuildLink),await utilities[_0x676853(0x169)](_0x2a3725),process['exitCode']=_0x22c227,logger[_0x676853(0x1c3)](_0x676853(0x16e)+_0x22c227),logger[_0x676853(0x11c)](_0x676853(0x1d6)+_0x175d74),fs[_0x676853(0x1b2)](_0x175d74);fs['existsSync'](_0xd30188)&&(logger[_0x676853(0x1c3)](_0x676853(0x1d6)+_0xd30188),fs['unlinkSync'](_0xd30188));const _0x2ef81e=fs['readdirSync'](path[_0x676853(0x1a3)](helper[_0x676853(0x1ac)](),_0x31f317[_0x676853(0x16d)]))['filter'](_0x55470c=>_0x55470c[_0x676853(0x187)]('trace_'));_0x2ef81e['forEach'](_0x3da1f8=>{const _0x29bd78=_0x676853;fs[_0x29bd78(0x1b2)](path['join'](helper['homedir'](),_0x5d0304[_0x29bd78(0x1bf)],_0x3da1f8));});}catch(_0x19d3af){logger[_0x676853(0x1c3)](_0x31f317[_0x676853(0x122)](_0x31f317[_0x676853(0x165)],_0x19d3af));}});})();}module[a39_0x2a5c36(0x1b4)]=run;
|
|
2
|
+
'use strict';const a39_0xb5d70f=a39_0x2911;(function(_0x5163c9,_0x140dd2){const _0x165887=a39_0x2911,_0x345de8=_0x5163c9();while(!![]){try{const _0x20da55=-parseInt(_0x165887(0x1d3))/0x1+parseInt(_0x165887(0x1e1))/0x2*(-parseInt(_0x165887(0x152))/0x3)+-parseInt(_0x165887(0x1e5))/0x4+parseInt(_0x165887(0x1f7))/0x5+parseInt(_0x165887(0x1b7))/0x6+-parseInt(_0x165887(0x184))/0x7*(parseInt(_0x165887(0x144))/0x8)+parseInt(_0x165887(0x1e2))/0x9;if(_0x20da55===_0x140dd2)break;else _0x345de8['push'](_0x345de8['shift']());}catch(_0x142a03){_0x345de8['push'](_0x345de8['shift']());}}}(a39_0x3166,0xba269));const fs=require('fs'),path=require(a39_0xb5d70f(0x1c3)),{spawn}=require(a39_0xb5d70f(0x1b0)),{format}=require(a39_0xb5d70f(0x1da)),logger=require(a39_0xb5d70f(0x143))[a39_0xb5d70f(0x1a0)],{default:BrowserStackSetup}=require(a39_0xb5d70f(0x19d)),helper=require(a39_0xb5d70f(0x174)),utilities=require(a39_0xb5d70f(0x172)),constants=require(a39_0xb5d70f(0x1b8)),{FRAMEWORKS}=require(a39_0xb5d70f(0x163)),{getConfigLoaderPath}=require(a39_0xb5d70f(0x1ef)),{checkAccessibilityPlatformConfig}=require(a39_0xb5d70f(0x1bd)),{setAccessibilityCapabilities}=require(a39_0xb5d70f(0x1d4)),{printBuildLink}=require(a39_0xb5d70f(0x160)),TestDetails=require(a39_0xb5d70f(0x1b1)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0xb5d70f(0x17d)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0xb5d70f(0x1a6))[a39_0xb5d70f(0x15e)],CLIUtils=require(a39_0xb5d70f(0x1ca)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x56f76e,_0x8ced26)=>{const _0x592e85=a39_0xb5d70f,_0xd06759={'xyTUK':function(_0x41148a){return _0x41148a();},'yqjAr':function(_0x8dabeb,_0x5ec27){return _0x8dabeb(_0x5ec27);},'awVaL':function(_0x39fd7d,_0x208623){return _0x39fd7d(_0x208623);},'EQWyD':_0x592e85(0x17e),'gjWdE':_0x592e85(0x1d6)},_0x1b5c05=!helper[_0x592e85(0x1c0)](_0x56f76e[_0x592e85(0x154)]),_0x1bf35d=_0x1b5c05?path[_0x592e85(0x153)](process['cwd'](),_0x56f76e[_0x592e85(0x154)]):process[_0x592e85(0x1c2)](),{resolveConfigFile:_0x4a8b1f,resolveConfigLocation:_0x10c255}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0xd06759['xyTUK'](getConfigLoaderPath)):helper[_0x592e85(0x141)][_0x592e85(0x1af)](null,_0xd06759['xyTUK'](getConfigLoaderPath)),_0x10682d=_0x4a8b1f?_0xd06759['yqjAr'](_0x4a8b1f,_0x1bf35d):helper[_0x592e85(0x165)](_0xd06759[_0x592e85(0x185)](_0x10c255,_0x1bf35d),[_0xd06759[_0x592e85(0x191)]]),_0x4d8847={};if(_0x1b5c05){const _0x56f227=_0x8ced26[_0x592e85(0x1bf)](_0x398054=>_0x398054===_0x592e85(0x179)||_0x398054==='-c'||_0x398054[_0x592e85(0x1b3)](_0x592e85(0x1d6)));_0x8ced26['splice'](_0x56f227,_0x8ced26[_0x56f227][_0x592e85(0x1b3)](_0xd06759['gjWdE'])?0x1:0x2);}const _0x5abe2b={};return _0x5abe2b['path']=_0x10682d,_0x5abe2b[_0x592e85(0x154)]=_0x4d8847,_0x5abe2b;},handleO11yRerun=_0x4ccb73=>{const _0xafc0d0=a39_0xb5d70f,_0x4b35ee={};_0x4b35ee['qaOWZ']=_0xafc0d0(0x1eb);const _0x54bca2=_0x4b35ee,_0x27301f=helper[_0xafc0d0(0x1e4)](process[_0xafc0d0(0x1ac)][_0xafc0d0(0x18f)]);if(_0x27301f){const _0x4d6af9=process['env']['BROWSERSTACK_RERUN_TESTS'],_0xbbed97=[];if(helper[_0xafc0d0(0x145)](_0x4d6af9)&&!helper[_0xafc0d0(0x1c0)](_0x4d6af9)){_0x4d6af9['split'](',')[_0xafc0d0(0x1fc)](_0x42bd47=>{const _0x49a361=_0xafc0d0;_0xbbed97[_0x49a361(0x1dc)]('('+_0x42bd47[_0x49a361(0x1f8)]()+')');});const _0x185fa4='^'+_0xbbed97[_0xafc0d0(0x1a5)]('|')+'$';_0x4ccb73[_0xafc0d0(0x1dc)](_0x54bca2[_0xafc0d0(0x1bc)],_0x185fa4);}}},spawnOriginalProcess=_0x430aac=>{const _0x9edad8=a39_0xb5d70f,_0x3e7edf={'jyVJk':function(_0x493f27,_0x490d93,_0x161e17,_0x27f3f6){return _0x493f27(_0x490d93,_0x161e17,_0x27f3f6);},'iWNqT':'yarn','JUxIy':_0x9edad8(0x195),'IajHA':_0x9edad8(0x168),'Gmoba':function(_0x19df7a,_0x50bcd3){return _0x19df7a===_0x50bcd3;},'XmKTu':_0x9edad8(0x148),'nILLQ':'inherit'};_0x3e7edf['jyVJk'](spawn,helper[_0x9edad8(0x162)]()?_0x3e7edf[_0x9edad8(0x19f)]:_0x3e7edf['JUxIy'],[_0x3e7edf[_0x9edad8(0x1fb)],..._0x430aac[_0x9edad8(0x1a4)](0x1)],{'shell':_0x3e7edf[_0x9edad8(0x1d9)](process[_0x9edad8(0x197)],_0x3e7edf[_0x9edad8(0x1b4)]),'stdio':_0x3e7edf['nILLQ'],'cwd':process['cwd']()});},isTestCommand=(_0x27871a,_0x4e964c)=>{const _0x54d2fd=a39_0xb5d70f,_0x42b5e7={};_0x42b5e7[_0x54d2fd(0x1a2)]=function(_0x354dba,_0x74df93){return _0x354dba>_0x74df93;},_0x42b5e7[_0x54d2fd(0x1f2)]=function(_0x1817dc,_0x2407a1){return _0x1817dc===_0x2407a1;},_0x42b5e7[_0x54d2fd(0x1cf)]='test';const _0x3d3acf=_0x42b5e7;if(_0x3d3acf['oLzor'](_0x4e964c[_0x54d2fd(0x1b9)],0x1)&&_0x3d3acf[_0x54d2fd(0x1f2)](_0x4e964c[0x1],_0x3d3acf[_0x54d2fd(0x1cf)]))return!![];return![];};function a39_0x3166(){const _0x2ede4f=['DquRl','logLevel','readdirSync','bYJTs','1187620dVTQIS','trim','MOJeQ','Error\x20in\x20deleting\x20playwright\x20results','IajHA','map','requirePWModule','HBdFY','../../helpers/logger','456qWtqlh','validateRerunTestList','skipSessionName','Updated\x20config\x20file\x20name\x20to\x20-\x20','win32','GRGud','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--disable-test-observability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Deleting\x20','Zdpfi','accessibility','R_OK','bootstrap','33keXgmk','resolve','config','yzThb','UHzsq','false','isRunning','TteJC','errorMessage','QDIAD','UDfmi','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','EVENTS','swhEK','../../helpers/test-observability/utils','constants','isYarnPnP','../../helpers/test-observability/constants','rZvKR','nestedKeyValue','measureWrapper','SkGbX','playwright','parse','getProxyUrl','Proxy\x20url\x20:\x20','configPath','HSCXs','BROWSERSTACK_TEST_OBSERVABILITY','start','skipSessionStatus','UAgoB','../../helpers/utilities','getConfigPath','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','serializeToYamlString','clearTempPWConfig','--config','BrowserStack\x20config\x20file\x20not\x20found.','vyMHS','zgZig','../../helpers/performance/performance-tester','resolvedConfigFile','Zsrxd','USER_CONFIG_DETAILS_PATH','dFxQR','info','QRYsa','121282abyrhT','awVaL','filter','reportFinalDetectionState','split','setBrowserstackConfig','finalExecution','jrEGf','writeFileSync','concat','NPjOt','BROWSERSTACK_RERUN','BROWSERSTACK_SETUP_CONFIG_PATH','EQWyD','gWPFx','WMDGF','lZcED','npx','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','platform','existsSync','pw_result.json','getInstance','automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/BrowserStackSetup','test','iWNqT','winstonLogger','ToXem','oLzor','exports','slice','join','../../helpers/performance/constants','dirname','SDK_POST_INITIALIZE','\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','filterBrowserstackArgs','SDK_CLEANUP','env','DNtow','debug','apply','child_process','./reporter/test-details','IqkhY','startsWith','XmKTu','EvbAl','BkUYd','6375414JWUIBr','../utils/constants','length','stop','accessibilityOptions','qaOWZ','../../helpers/accessibility-automation/helper','BROWSERSTACK_AUTOMATION','findIndex','isUndefined','NpBSH','cwd','path','accessSync','SDK_PRE_INITIALIZE','end','browserstackSetupConfig.json','error','GtgPt','../v2/cliUtils','cliConfig','Sraym','browserstackAutomation','getNoProxy','XyWQX','indexOf','FCcgi','CQEjD','897724lLdjKK','./accessibility-helper','homedir','--config=','ebqgU','initialize','Gmoba','util','QGfzU','push','testObservability','reportConflictingEnvVarIssue','setFrameworkDetail','unlinkSync','374vwlgYb','14666058wCXmSl','shutdown','isTrue','1119276FMSjlP','testContextOptions','uxxad','moUri','wfCwy','stringify','--grep','close','Sfzwk','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','PLAYWRIGHT','iwHzy','KDsCj'];a39_0x3166=function(){return _0x2ede4f;};return a39_0x3166();}async function run(_0x368583,_0x3101a4,_0x5a9e55){const _0x279d90=a39_0xb5d70f,_0x4599d6={'QRYsa':function(_0x59b9f3){return _0x59b9f3();},'Sraym':'.browserstack','bYJTs':function(_0x17ba9e,_0x22c86d){return _0x17ba9e+_0x22c86d;},'FCcgi':'Error\x20in\x20closing\x20playwright','yzThb':function(_0x48a43d,_0x42d3e8){return _0x48a43d(_0x42d3e8);},'zgZig':_0x279d90(0x199),'IqkhY':'Error\x20in\x20getting\x20funnel\x20data\x20results','HSCXs':_0x279d90(0x17a),'DNtow':function(_0x355595,_0xbeed98){return _0x355595<_0xbeed98;},'QDIAD':function(_0x45ae88,_0xb4d42e){return _0x45ae88===_0xb4d42e;},'ToXem':_0x279d90(0x157),'WMDGF':_0x279d90(0x14b),'uxxad':function(_0x9075e0,_0x2881ee){return _0x9075e0>=_0x2881ee;},'UAgoB':function(_0x3d8f20,_0x27427e){return _0x3d8f20===_0x27427e;},'wfCwy':_0x279d90(0x19b),'swhEK':function(_0x2bbd16,_0xfd055){return _0x2bbd16!=_0xfd055;},'oyzzj':function(_0x212dbd,_0x439ee0,_0x48e0bd){return _0x212dbd(_0x439ee0,_0x48e0bd);},'moUri':function(_0x514a40,_0x513f87){return _0x514a40(_0x513f87);},'lsBGh':'true','TYVNr':function(_0x4788a0,_0x1704f6){return _0x4788a0(_0x1704f6);},'Zdpfi':_0x279d90(0x1c7),'ebqgU':function(_0x26b9a1,_0x294b55){return _0x26b9a1===_0x294b55;},'HBdFY':'playwright-browserstack-sdk.config.cjs','EvbAl':'playwright-browserstack-sdk.config.js','iwHzy':function(_0x4e77bd,_0x1516d9){return _0x4e77bd-_0x1516d9;},'lZcED':_0x279d90(0x147),'NPjOt':function(_0x465ca1,_0x1b9b97){return _0x465ca1>_0x1b9b97;},'UHzsq':function(_0x24fa6f,_0x455447){return _0x24fa6f+_0x455447;},'NpBSH':function(_0x484055,_0x1e4294,_0x2c2869,_0x393278){return _0x484055(_0x1e4294,_0x2c2869,_0x393278);},'GRGud':'yarn','TteJC':'npx','QGfzU':'playwright','BkUYd':_0x279d90(0x19e),'Zsrxd':_0x279d90(0x179),'GtgPt':_0x279d90(0x148),'vyMHS':function(_0x62825d,_0x435562){return _0x62825d===_0x435562;},'mxwso':'inherit','gWPFx':_0x279d90(0x1ec),'Sfzwk':function(_0x53fb50,_0x305efe){return _0x53fb50|_0x305efe;},'rZvKR':function(_0xeb4732,_0x5453c3){return _0xeb4732+_0x5453c3;},'UDfmi':_0x279d90(0x15d),'Vsdjn':function(_0x3c5d9b,_0x299860){return _0x3c5d9b+_0x299860;},'TWJFQ':_0x279d90(0x1fa),'uXCRY':function(_0x5d7970,_0x23a8aa,_0x3c729e){return _0x5d7970(_0x23a8aa,_0x3c729e);},'dFxQR':function(_0x4fd9d5,_0x48795e){return _0x4fd9d5(_0x48795e);}};try{const _0x34599f=path[_0x279d90(0x1a5)](helper[_0x279d90(0x1d5)](),_0x4599d6['Sraym']);try{fs[_0x279d90(0x1c4)](_0x34599f,_0x4599d6[_0x279d90(0x1ed)](fs[_0x279d90(0x161)][_0x279d90(0x150)],fs[_0x279d90(0x161)]['W_OK']));}catch(_0x597dff){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x453dd1){logger['debug'](_0x4599d6[_0x279d90(0x164)](_0x4599d6[_0x279d90(0x15c)],_0x453dd1));}try{const _0xc835e6=path['join'](helper[_0x279d90(0x1d5)](),_0x4599d6[_0x279d90(0x1cc)],_0x4599d6['zgZig']);fs[_0x279d90(0x198)](_0xc835e6)&&fs[_0x279d90(0x1e0)](_0xc835e6);}catch(_0x399490){logger[_0x279d90(0x1ae)](_0x4599d6['Vsdjn'](_0x4599d6['TWJFQ'],_0x399490));}if(!_0x4599d6['uXCRY'](isTestCommand,_0x368583,_0x3101a4)){_0x4599d6[_0x279d90(0x181)](spawnOriginalProcess,_0x3101a4);return;}await PerformanceTester[_0x279d90(0x166)](PerformanceEvents[_0x279d90(0x1c5)],async()=>{const _0x3d0c72=_0x279d90,_0x283749={'CQEjD':function(_0x1e954e,_0x50b4eb){const _0x5dac0f=a39_0x2911;return _0x4599d6[_0x5dac0f(0x155)](_0x1e954e,_0x50b4eb);},'jrEGf':_0x4599d6[_0x3d0c72(0x1cc)],'MOJeQ':_0x4599d6[_0x3d0c72(0x17c)],'DquRl':function(_0x14ca4b,_0x2cb8c2){const _0x35333c=_0x3d0c72;return _0x4599d6[_0x35333c(0x1f6)](_0x14ca4b,_0x2cb8c2);},'SkGbX':_0x4599d6[_0x3d0c72(0x1b2)]};if(!_0x5a9e55[_0x3d0c72(0x154)]){logger[_0x3d0c72(0x1c8)](_0x4599d6[_0x3d0c72(0x16d)]);return;}await _0x5a9e55[_0x3d0c72(0x1d8)](_0x368583),CLIUtils[_0x3d0c72(0x1df)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x3d0c72(0x1f0)]),BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x189)](_0x5a9e55[_0x3d0c72(0x154)],_0x5a9e55[_0x3d0c72(0x16c)],_0x5a9e55['cliConfig']),await BrowserstackCLI['getInstance']()[_0x3d0c72(0x151)]();for(var _0x4cf3b5=0x0;_0x4599d6[_0x3d0c72(0x1ad)](_0x4cf3b5,constants['INTERNALLY_USED_ENV_VARS'][_0x3d0c72(0x1b9)]);_0x4cf3b5++){var _0x492897=constants['INTERNALLY_USED_ENV_VARS'][_0x4cf3b5];process[_0x3d0c72(0x1ac)][_0x492897]&&await ClientTroubleShootingService[_0x3d0c72(0x1de)](_0x492897);}const _0x45e83f=BrowserstackCLI[_0x3d0c72(0x19a)]()['getConfig']();!helper['isFalse'](_0x45e83f[_0x3d0c72(0x1cd)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x1be)]=!![]);_0x4599d6[_0x3d0c72(0x15b)](_0x45e83f[_0x3d0c72(0x1cd)],![])&&(process['env'][_0x3d0c72(0x1be)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x1bb76a=>_0x1bb76a!=='--disable-browserstack-automation'));const _0x5668cf=_0x3101a4[_0x3d0c72(0x1d0)](_0x4599d6[_0x3d0c72(0x193)]);(_0x4599d6[_0x3d0c72(0x1e7)](_0x5668cf,0x0)||_0x4599d6[_0x3d0c72(0x171)](_0x45e83f[_0x3d0c72(0x1dd)],![]))&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x2b012b=>_0x2b012b!=='--disable-test-observability'));!helper['isUndefined'](_0x5a9e55[_0x3d0c72(0x1cb)])&&_0x5a9e55[_0x3d0c72(0x1cb)]['has'](_0x4599d6[_0x3d0c72(0x1e9)])&&(process['env'][_0x3d0c72(0x1be)]=_0x5a9e55[_0x3d0c72(0x1cb)]['get'](_0x4599d6[_0x3d0c72(0x1e9)])||!![]);_0x4599d6[_0x3d0c72(0x15f)](_0x5a9e55[_0x3d0c72(0x154)]['testObservability'],null)&&!helper[_0x3d0c72(0x1e4)](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]||_0x5a9e55[_0x3d0c72(0x154)]['testObservability']);const _0x187ae7=!helper['isFalse'](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]);_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1bb)]&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x14c)]=JSON[_0x3d0c72(0x1ea)](_0x5a9e55['config'][_0x3d0c72(0x1bb)]));let _0x2899d1=![];_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]&&(_0x2899d1=!![],process[_0x3d0c72(0x1ac)][_0x3d0c72(0x175)]=_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]);const _0x3b2da9=_0x3101a4[_0x3d0c72(0x18d)](),_0x23ec07=await _0x4599d6['oyzzj'](getUserPlaywrightConfig,_0x368583,_0x3101a4);if(helper[_0x3d0c72(0x1c0)](_0x23ec07)){_0x4599d6[_0x3d0c72(0x1e8)](spawnOriginalProcess,_0x3b2da9);return;}const _0x500f80=_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07['path']):process[_0x3d0c72(0x1c2)]();process[_0x3d0c72(0x1ac)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x500f80,await PerformanceTester[_0x3d0c72(0x166)](PerformanceEvents[_0x3d0c72(0x1a8)],async()=>{const _0x47ed23=_0x3d0c72;!BrowserstackCLI[_0x47ed23(0x19a)]()['isRunning']()&&await TestHubHandler[_0x47ed23(0x176)](FRAMEWORKS[_0x47ed23(0x1f0)],_0x5a9e55),_0x187ae7&&_0x283749[_0x47ed23(0x1d2)](handleO11yRerun,_0x3101a4);})();if(!BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x158)]()){let _0x57c4ab=_0x4599d6[_0x3d0c72(0x171)](process[_0x3d0c72(0x1ac)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x4599d6['lsBGh']);_0x57c4ab=_0x57c4ab||_0x4599d6[_0x3d0c72(0x155)](checkAccessibilityPlatformConfig,_0x5a9e55[_0x3d0c72(0x154)]),process['env'][_0x3d0c72(0x175)]=_0x57c4ab,_0x57c4ab&&_0x4599d6['TYVNr'](setAccessibilityCapabilities,_0x5a9e55[_0x3d0c72(0x154)]);}const _0x508929=path[_0x3d0c72(0x1a5)](_0x23ec07['path']?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process['cwd'](),_0x4599d6[_0x3d0c72(0x14e)]);fs[_0x3d0c72(0x18c)](_0x508929,helper[_0x3d0c72(0x177)](_0x5a9e55[_0x3d0c72(0x154)])),process['env'][_0x3d0c72(0x190)]=_0x508929,helper[_0x3d0c72(0x178)]();let _0x22d04f='';_0x4599d6[_0x3d0c72(0x1d7)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x22d04f=_0x4599d6[_0x3d0c72(0x142)]:_0x22d04f=_0x4599d6[_0x3d0c72(0x1b5)];let _0x35a95c='';if(helper['isTypescriptProject'](_0x23ec07[_0x3d0c72(0x1c3)])){_0x35a95c=_0x3d0c72(0x19c);const _0x5c6e6b=_0x22d04f[_0x3d0c72(0x188)]('.');_0x5c6e6b[_0x4599d6[_0x3d0c72(0x1f1)](_0x5c6e6b[_0x3d0c72(0x1b9)],0x1)]='ts',_0x22d04f=_0x5c6e6b['join']('.'),logger[_0x3d0c72(0x1ae)](_0x4599d6[_0x3d0c72(0x1f6)](_0x4599d6[_0x3d0c72(0x194)],_0x22d04f));}else _0x35a95c=_0x3d0c72(0x196);const _0x48e41f=path[_0x3d0c72(0x1a5)](_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process[_0x3d0c72(0x1c2)](),_0x22d04f);let _0x4ac771=_0x23ec07['path']?_0x23ec07[_0x3d0c72(0x1c3)]:'';_0x4ac771=_0x4599d6[_0x3d0c72(0x18e)](_0x4ac771[_0x3d0c72(0x1b9)],0x0)?path[_0x3d0c72(0x153)](_0x4ac771):'',process[_0x3d0c72(0x1ac)][_0x3d0c72(0x180)]=_0x4ac771;const _0x1f4075=helper[_0x3d0c72(0x16a)](_0x5a9e55[_0x3d0c72(0x154)]),_0x458603=helper[_0x3d0c72(0x1ce)](_0x5a9e55['config']);logger[_0x3d0c72(0x1ae)](_0x3d0c72(0x16b)+_0x1f4075),logger[_0x3d0c72(0x1ae)]('No\x20Proxy\x20:\x20'+_0x458603);_0x1f4075&&(_0x35a95c=_0x4599d6[_0x3d0c72(0x156)](_0x3d0c72(0x14a)+_0x1f4075+_0x3d0c72(0x1a9)+_0x458603+'\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();',_0x35a95c));helper[_0x3d0c72(0x1aa)]({},_0x3101a4),fs[_0x3d0c72(0x18c)](_0x48e41f,_0x35a95c),PerformanceTester[_0x3d0c72(0x1c6)](PerformanceEvents['SDK_SETUP']);const _0x578a08=_0x4599d6[_0x3d0c72(0x1c1)](spawn,helper['isYarnPnP']()?_0x4599d6[_0x3d0c72(0x149)]:_0x4599d6[_0x3d0c72(0x159)],[_0x4599d6[_0x3d0c72(0x1db)],_0x4599d6[_0x3d0c72(0x1b6)],_0x4599d6[_0x3d0c72(0x17f)],_0x4599d6[_0x3d0c72(0x1d7)](process[_0x3d0c72(0x197)],_0x4599d6[_0x3d0c72(0x1c9)])?'\x22'+_0x48e41f+'\x22':_0x48e41f,..._0x3101a4[_0x3d0c72(0x1a4)](0x2)],{'shell':_0x4599d6[_0x3d0c72(0x17b)](process['platform'],_0x4599d6[_0x3d0c72(0x1c9)]),'stdio':_0x4599d6['mxwso'],'cwd':process[_0x3d0c72(0x1c2)](),'env':Object['assign']({},process[_0x3d0c72(0x1ac)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d0c72(0x173)](_0x368583),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5a9e55['config'][_0x3d0c72(0x1e6)][_0x3d0c72(0x170)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1e6)][_0x3d0c72(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1f4)]})}),_0x49fc89=()=>{const _0x5ca942=_0x3d0c72;try{const _0xbc5ff1=path[_0x5ca942(0x1a5)](helper[_0x5ca942(0x1d5)](),_0x283749[_0x5ca942(0x18b)],_0x283749[_0x5ca942(0x1f9)]);if(fs[_0x5ca942(0x198)](_0xbc5ff1)){let _0x192add=fs['readFileSync'](_0xbc5ff1);_0x192add=JSON[_0x5ca942(0x169)](_0x192add),_0x5a9e55[_0x5ca942(0x15a)]=_0x192add,fs[_0x5ca942(0x1e0)](_0xbc5ff1);}}catch(_0x5e91b1){logger[_0x5ca942(0x1ae)](_0x283749[_0x5ca942(0x1f3)](_0x283749[_0x5ca942(0x167)],_0x5e91b1));}};_0x578a08['on'](_0x4599d6[_0x3d0c72(0x192)],async _0x49ad32=>{const _0x46eb07=_0x3d0c72;try{PerformanceTester[_0x46eb07(0x16f)](PerformanceEvents[_0x46eb07(0x1ab)]),_0x4599d6['QRYsa'](_0x49fc89),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x46eb07(0x187)](),await BrowserstackCLI[_0x46eb07(0x19a)]()[_0x46eb07(0x1ba)](),TestDetails[_0x46eb07(0x1e3)](),_0x4599d6[_0x46eb07(0x183)](printBuildLink),await utilities[_0x46eb07(0x18a)](_0x5a9e55),process['exitCode']=_0x49ad32,logger[_0x46eb07(0x1ae)](_0x46eb07(0x1ee)+_0x49ad32),logger[_0x46eb07(0x182)](_0x46eb07(0x14d)+_0x48e41f),fs[_0x46eb07(0x1e0)](_0x48e41f);fs[_0x46eb07(0x198)](_0x508929)&&(logger[_0x46eb07(0x1ae)]('Deleting\x20'+_0x508929),fs['unlinkSync'](_0x508929));const _0x17795c=fs[_0x46eb07(0x1f5)](path[_0x46eb07(0x1a5)](helper[_0x46eb07(0x1d5)](),_0x4599d6[_0x46eb07(0x1cc)]))[_0x46eb07(0x186)](_0x30fded=>_0x30fded[_0x46eb07(0x1b3)]('trace_'));_0x17795c['forEach'](_0x20c6c5=>{const _0x4c8e93=_0x46eb07;fs[_0x4c8e93(0x1e0)](path[_0x4c8e93(0x1a5)](helper['homedir'](),_0x283749[_0x4c8e93(0x18b)],_0x20c6c5));});}catch(_0x129cf2){logger['debug'](_0x4599d6[_0x46eb07(0x1f6)](_0x4599d6[_0x46eb07(0x1d1)],_0x129cf2));}});})();}function a39_0x2911(_0x19bf57,_0x2261db){const _0x3166a0=a39_0x3166();return a39_0x2911=function(_0x291154,_0x2b5fd7){_0x291154=_0x291154-0x141;let _0x40becd=_0x3166a0[_0x291154];return _0x40becd;},a39_0x2911(_0x19bf57,_0x2261db);}module[a39_0xb5d70f(0x1a3)]=run;
|