browserstack-node-sdk 1.49.5 → 1.49.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/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_0x3a3d63=a33_0x7c33;function a33_0x7c33(_0x379ebe,_0x4d7921){const _0x18d175=a33_0x18d1();return a33_0x7c33=function(_0x7c3363,_0x203fdb){_0x7c3363=_0x7c3363-0x104;let _0x4ab837=_0x18d175[_0x7c3363];return _0x4ab837;},a33_0x7c33(_0x379ebe,_0x4d7921);}(function(_0x4fc034,_0x4745c9){const _0x4cf4cd=a33_0x7c33,_0x5b4b84=_0x4fc034();while(!![]){try{const _0x1b9bed=parseInt(_0x4cf4cd(0x162))/0x1+parseInt(_0x4cf4cd(0x178))/0x2*(parseInt(_0x4cf4cd(0x12d))/0x3)+parseInt(_0x4cf4cd(0x125))/0x4*(-parseInt(_0x4cf4cd(0x13e))/0x5)+parseInt(_0x4cf4cd(0x10e))/0x6*(-parseInt(_0x4cf4cd(0x121))/0x7)+parseInt(_0x4cf4cd(0x114))/0x8+-parseInt(_0x4cf4cd(0x13f))/0x9+-parseInt(_0x4cf4cd(0x163))/0xa*(parseInt(_0x4cf4cd(0x148))/0xb);if(_0x1b9bed===_0x4745c9)break;else _0x5b4b84['push'](_0x5b4b84['shift']());}catch(_0x26ad26){_0x5b4b84['push'](_0x5b4b84['shift']());}}}(a33_0x18d1,0x611e3));const logger=require(a33_0x3a3d63(0x10b))['winstonLogger'],helper=require('../../../helpers/helper'),constants=require(a33_0x3a3d63(0x12c)),hubAllocator=require(a33_0x3a3d63(0x16d)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x3a3d63(0x122)),{setAccessibilityCapabilities,setExtension}=require(a33_0x3a3d63(0x112)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x3a3d63(0x16e)),globals=require(a33_0x3a3d63(0x10f)),{overrideExecute}=require(a33_0x3a3d63(0x156)),modify=(_0x47f401,_0x330749=null,_0x3c42d9=![])=>{const _0x4c8599=a33_0x3a3d63,_0x498128={'qgXZh':function(_0x4647ac,_0x419e11){return _0x4647ac!==_0x419e11;},'EiuiJ':_0x4c8599(0x130),'mmDEv':function(_0x794164,_0x48fc17){return _0x794164+_0x48fc17;},'Jrcmf':_0x4c8599(0x13d),'zpEvz':'/wd/hub','VLJAw':'goog:chromeOptions','xpmys':_0x4c8599(0x126),'EOlFW':_0x4c8599(0x137),'GewhX':_0x4c8599(0x167),'zCcZB':_0x4c8599(0x15d),'KYEsT':_0x4c8599(0x15e),'RtQKW':'safari.options','qVXOv':_0x4c8599(0x108),'Lmrhq':_0x4c8599(0x10c),'Yegub':function(_0x30c6bb,_0x442fab){return _0x30c6bb===_0x442fab;},'JiYrh':_0x4c8599(0x141),'espTp':'Setting\x20Browserstack\x20capabilities','yKmoR':function(_0xa76e09,_0x167573,_0x5f331a){return _0xa76e09(_0x167573,_0x5f331a);},'adSiY':function(_0x247309,_0x3a002e){return _0x247309(_0x3a002e);},'FXnbI':function(_0x5e3947,_0xde3592,_0x1bb96d){return _0x5e3947(_0xde3592,_0x1bb96d);},'qkNdo':_0x4c8599(0x16c),'XjyuF':_0x4c8599(0x11f),'sUuqa':function(_0x1b1bd8,_0x4eb0b5,_0x4a2f9d){return _0x1b1bd8(_0x4eb0b5,_0x4a2f9d);},'rDxGg':_0x4c8599(0x145),'tZUsw':_0x4c8599(0x115),'qGUcc':function(_0x2eabe3,_0x3976ec,_0x5896f7){return _0x2eabe3(_0x3976ec,_0x5896f7);},'bAKPW':_0x4c8599(0x12f),'EbEOc':function(_0x19f1ce){return _0x19f1ce();},'xUshe':function(_0x53dc21,_0x34d4bb){return _0x53dc21(_0x34d4bb);},'qxBBM':function(_0xbba553,_0x55e9f0){return _0xbba553(_0x55e9f0);},'mQooc':function(_0x2ac437,_0x39ebea){return _0x2ac437!==_0x39ebea;},'ihdCH':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','FyhPe':'Modifying\x20webdriver\x20builder'},_0x584392=helper[_0x4c8599(0x146)]();let _0x527c4f;try{_0x527c4f=helper[_0x4c8599(0x14b)](),_0x527c4f[_0x4c8599(0x159)]&&(_0x527c4f['Builder']=_0x527c4f['originalBuilder']);}catch(_0x47c5a1){return;}if(helper[_0x4c8599(0x166)]()){const _0x136518={};_0x136518[_0x4c8599(0x165)]=_0x47f401['browserStackLogLevel'],helper['setLogLevel'](_0x136518,new Map(),new Map()),logger[_0x4c8599(0x11d)](_0x498128['ihdCH']),logger[_0x4c8599(0x119)](_0x498128[_0x4c8599(0x132)]);}class _0x5c6a60 extends _0x584392[_0x4c8599(0x14e)]{[_0x4c8599(0x11a)](_0x1ccdc9){const _0x20adea=_0x4c8599;if(_0x498128[_0x20adea(0x157)](_0x1ccdc9[_0x20adea(0x15a)],_0x498128[_0x20adea(0x136)])&&_0x498128['qgXZh'](global['newHubUrl'],''))try{global[_0x20adea(0x123)]=_0x498128['mmDEv'](_0x498128[_0x20adea(0x172)](_0x498128[_0x20adea(0x173)],global[_0x20adea(0x123)]),_0x498128[_0x20adea(0x150)]),this['options_']=hubAllocator[_0x20adea(0x168)](global['newHubUrl']),logger[_0x20adea(0x119)](_0x20adea(0x164)+global[_0x20adea(0x123)]),global[_0x20adea(0x123)]='';}catch(_0x1a7441){logger[_0x20adea(0x170)](_0x1a7441);}return super[_0x20adea(0x11a)](_0x1ccdc9);}}class _0x43b33e extends _0x527c4f['Builder']{[_0x4c8599(0x117)](){const _0x292823=_0x4c8599;return this[_0x292823(0x118)]=helper[_0x292823(0x124)](_0x47f401),logger[_0x292823(0x119)]('Hub\x20url\x20set\x20to\x20'+this[_0x292823(0x118)]),this;}['__setBrowserOptions'](_0xae4ec9){const _0x1f4495=_0x4c8599;let _0x54cbb6={};for(const _0x48b900 in _0xae4ec9){switch(_0x48b900){case _0x498128[_0x1f4495(0x105)]:case _0x498128[_0x1f4495(0x171)]:this['chromeOptions_']&&(_0x54cbb6=this['chromeOptions_'][_0x1f4495(0x17b)](this[_0x1f4495(0x16a)][_0x1f4495(0x174)])||{},this[_0x1f4495(0x16a)]['set'](this[_0x1f4495(0x16a)][_0x1f4495(0x174)],helper[_0x1f4495(0x113)](_0x54cbb6,_0xae4ec9[_0x48b900])));break;case _0x498128[_0x1f4495(0x177)]:case _0x498128[_0x1f4495(0x176)]:this['edgeOptions_']&&(_0x54cbb6=this[_0x1f4495(0x14c)]['get'](this[_0x1f4495(0x14c)][_0x1f4495(0x174)])||{},this[_0x1f4495(0x14c)][_0x1f4495(0x129)](this[_0x1f4495(0x14c)][_0x1f4495(0x174)],helper['mergeDeep'](_0x54cbb6,_0xae4ec9[_0x48b900])));break;case _0x498128['zCcZB']:case _0x498128['KYEsT']:this[_0x1f4495(0x116)]&&(_0x54cbb6=this[_0x1f4495(0x116)][_0x1f4495(0x17b)](this[_0x1f4495(0x116)][_0x1f4495(0x174)])||{},this[_0x1f4495(0x116)][_0x1f4495(0x129)](this['firefoxOptions_'][_0x1f4495(0x174)],helper[_0x1f4495(0x113)](_0x54cbb6,_0xae4ec9[_0x48b900])));break;case _0x498128[_0x1f4495(0x142)]:this['safariOptions_']&&(_0x54cbb6=this[_0x1f4495(0x104)]['get'](this['safariOptions_'][_0x1f4495(0x174)])||{},this[_0x1f4495(0x104)]['set'](this[_0x1f4495(0x104)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x54cbb6,_0xae4ec9[_0x48b900])));break;case _0x498128[_0x1f4495(0x16b)]:case _0x498128[_0x1f4495(0x161)]:this['ieOptions_']&&(_0x54cbb6=this[_0x1f4495(0x179)][_0x1f4495(0x17b)](this[_0x1f4495(0x179)]['CAPABILITY_KEY'])||{},this[_0x1f4495(0x179)]['set'](this[_0x1f4495(0x179)][_0x1f4495(0x174)],helper[_0x1f4495(0x113)](_0x54cbb6,_0xae4ec9[_0x48b900])));break;}}}['setCapabilities'](){const _0x2a9b19=_0x4c8599,_0x4fe92f={'nlclt':function(_0x541586,_0x5e7996){return _0x498128['Yegub'](_0x541586,_0x5e7996);},'fWjex':_0x498128[_0x2a9b19(0x149)]};return logger['debug'](_0x498128[_0x2a9b19(0x13c)]),this[_0x2a9b19(0x14f)](_0x47f401['capability']),Object[_0x2a9b19(0x160)](_0x47f401['capability'])[_0x2a9b19(0x11e)](_0x680e13=>{const _0x12000a=_0x2a9b19,_0x1b0335=this[_0x12000a(0x152)][_0x12000a(0x17b)](_0x680e13);_0x4fe92f[_0x12000a(0x10d)](typeof _0x1b0335,_0x4fe92f[_0x12000a(0x17a)])?this[_0x12000a(0x152)][_0x12000a(0x129)](_0x680e13,helper[_0x12000a(0x113)](_0x1b0335,_0x47f401[_0x12000a(0x109)][_0x680e13])):this[_0x12000a(0x152)][_0x12000a(0x129)](_0x680e13,_0x47f401[_0x12000a(0x109)][_0x680e13]);}),this;}['build'](){const _0x4fee23=_0x4c8599,_0x210dbb={'VkkSS':_0x498128[_0x4fee23(0x151)],'GuvTG':_0x498128['XjyuF'],'YCqxq':function(_0x1f9209,_0x17c64b,_0x269b1c){const _0x315f53=_0x4fee23;return _0x498128[_0x315f53(0x12a)](_0x1f9209,_0x17c64b,_0x269b1c);}};if(helper[_0x4fee23(0x166)]()){const _0x4d7816=_0x498128['rDxGg'][_0x4fee23(0x16f)]('|');let _0xbe26da=0x0;while(!![]){switch(_0x4d7816[_0xbe26da++]){case'0':this['setServer']();continue;case'1':globals[_0x4fee23(0x12e)](_0x498128[_0x4fee23(0x120)])&&(!_0x498128['qGUcc'](setExtension,this,_0x47f401)&&globals[_0x4fee23(0x139)](_0x498128[_0x4fee23(0x120)],![]));continue;case'2':logger[_0x4fee23(0x119)](_0x498128['bAKPW']);continue;case'3':this[_0x4fee23(0x127)]();continue;case'4':if(helper[_0x4fee23(0x13a)](_0x47f401[_0x4fee23(0x128)]['proxyUrl']))this[_0x4fee23(0x111)]=helper[_0x4fee23(0x134)](_0x47f401[_0x4fee23(0x128)][_0x4fee23(0x12b)]);else _0x47f401[_0x4fee23(0x128)]['proxyUrl']&&(this[_0x4fee23(0x175)]=_0x47f401[_0x4fee23(0x128)][_0x4fee23(0x12b)],logger[_0x4fee23(0x119)](_0x4fee23(0x133)+this[_0x4fee23(0x175)]));continue;case'5':_0x498128[_0x4fee23(0x138)](isAccessibilityAutomationSession)&&_0x498128[_0x4fee23(0x13b)](setAccessibilityCapabilities,_0x47f401);continue;}break;}}const _0x10702b=super[_0x4fee23(0x140)]();return _0x10702b[_0x4fee23(0x158)]['then'](_0x5dffa2=>{const _0x2b60b2=_0x4fee23;try{const _0x2f7db2=_0x5dffa2[_0x2b60b2(0x131)][_0x2b60b2(0x17b)](_0x210dbb['VkkSS']);_0x2f7db2?(logger[_0x2b60b2(0x119)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x2f7db2),hubAllocator[_0x2b60b2(0x14d)](_0x2f7db2),helper[_0x2b60b2(0x15c)](_0x2f7db2)):logger[_0x2b60b2(0x119)](_0x210dbb[_0x2b60b2(0x155)]);}catch(_0x2665a8){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2665a8);}}),_0x10702b[_0x4fee23(0x15b)]=0x0,_0x10702b[_0x4fee23(0x135)]&&_0x10702b[_0x4fee23(0x135)](_0x537f5e=>{const _0x55a157=_0x4fee23,_0x37d10d={'snBBY':function(_0x2cb7cf,_0x5b0ea6,_0x5e6600){const _0x57d471=a33_0x7c33;return _0x498128[_0x57d471(0x14a)](_0x2cb7cf,_0x5b0ea6,_0x5e6600);}};_0x498128[_0x55a157(0x14a)](overrideQuit,_0x537f5e,_0x10702b),_0x498128['adSiY'](overrideTakeScreenshot,_0x537f5e),helper[_0x55a157(0x11c)](_0x537f5e,_0x47f401),_0x498128[_0x55a157(0x14a)](overrideExecute,_0x537f5e,_0x47f401),_0x537f5e['getAccessibilityResultsSummary']=async()=>{const _0x495dcf=_0x55a157;return await _0x210dbb[_0x495dcf(0x10a)](getAccessibilityResultsSummary,_0x537f5e,global);},_0x537f5e[_0x55a157(0x144)]=async()=>{const _0xe4aac9=_0x55a157;return await _0x37d10d[_0xe4aac9(0x153)](getAccessibilityResults,_0x537f5e,global);};}),_0x10702b['getAccessibilityResultsSummary']=async()=>{const _0x45cf29=_0x4fee23;return await _0x210dbb[_0x45cf29(0x10a)](getAccessibilityResultsSummary,_0x10702b,global);},_0x10702b[_0x4fee23(0x144)]=async()=>{const _0x27b222=_0x4fee23;return await _0x498128[_0x27b222(0x147)](getAccessibilityResults,_0x10702b,global);},_0x498128[_0x4fee23(0x13b)](overrideTakeScreenshot,_0x10702b),_0x498128[_0x4fee23(0x169)](overrideQuit,_0x10702b),helper[_0x4fee23(0x11c)](_0x10702b,_0x47f401),_0x498128['sUuqa'](overrideExecute,_0x10702b,_0x47f401),helper[_0x4fee23(0x143)](global['__driversArray'])&&(global[_0x4fee23(0x154)]=[]),helper['isUndefined'](global[_0x4fee23(0x107)])&&(global['__drivers']=[]),global[_0x4fee23(0x154)][_0x4fee23(0x106)](_0x10702b),global['__driver']=_0x10702b,_0x498128['qgXZh'](global['__drivers'],undefined)&&global[_0x4fee23(0x107)][_0x4fee23(0x106)](_0x10702b),_0x330749&&helper[_0x4fee23(0x143)](_0x330749['global']['__driversArray'])&&(_0x330749['global']['__driversArray']=[]),_0x330749&&_0x498128[_0x4fee23(0x17c)](_0x330749[_0x4fee23(0x11b)][_0x4fee23(0x107)],undefined)&&(_0x330749[_0x4fee23(0x11b)][_0x4fee23(0x107)][_0x4fee23(0x106)](_0x10702b),_0x330749['global'][_0x4fee23(0x154)][_0x4fee23(0x106)](_0x10702b)),_0x10702b;}}return _0x527c4f[_0x4c8599(0x159)]=_0x527c4f[_0x4c8599(0x15f)],_0x527c4f[_0x4c8599(0x15f)]=_0x43b33e,_0x584392[_0x4c8599(0x14e)]=_0x5c6a60,_0x527c4f;};module[a33_0x3a3d63(0x110)]['browserstackAgentObservability']=modify;function a33_0x18d1(){const _0x5f4edf=['caps_','FyhPe','Proxy\x20set\x20to\x20','getHttpAgent','then','EiuiJ','ms:edgeOptions','EbEOc','setGlobal','isPacProxy','xUshe','espTp','https://','5350OlzQgX','6217884NWKKhE','build','object','RtQKW','isUndefined','getAccessibilityResults','5|0|3|4|1|2','requireHttpClient','FXnbI','1628fqEuaS','JiYrh','yKmoR','requireSeleniumWebdriver','edgeOptions_','updateHubUrl','HttpClient','__setBrowserOptions','zpEvz','qkNdo','capabilities_','snBBY','__driversArray','GuvTG','./helpers/patchHelper','qgXZh','session_','originalBuilder','path','quitCount_','storeOptimalHubUrl','moz:firefoxOptions','firefoxOptions','Builder','keys','Lmrhq','583558igWqZo','10250DBIKBx','New\x20hub\x20url\x20set\x20to\x20','logLevel','isBrowserstackInfra','edgeOptions','getRequestOptions','qxBBM','chromeOptions_','qVXOv','optimalHubUrl','../../../hubAllocationMethods','../../../helpers/accessibility-automation/helper','split','error','xpmys','mmDEv','Jrcmf','CAPABILITY_KEY','proxy_','GewhX','EOlFW','98WDwxLU','ieOptions_','fWjex','get','mQooc','safariOptions_','VLJAw','push','__drivers','se:ieOptions','capability','YCqxq','../../../helpers/logger','ieOptions','nlclt','6NulfUU','../../../helpers/globals','exports','agent_','../accessibility-automation/helper','mergeDeep','5084088KoHbat','isAccessibilityPlatform','firefoxOptions_','setServer','url_','debug','send','global','overrideGet','info','forEach','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','tZUsw','1274882LHTCFe','../../../helpers/patchHelpers','newHubUrl','getHubUrl','284fIQUPt','chromeOptions','setCapabilities','proxySettings','set','sUuqa','proxyUrl','../../../bin/utils/constants','17106bvanXI','getGlobal','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','/session'];a33_0x18d1=function(){return _0x5f4edf;};return a33_0x18d1();}
|
|
1
|
+
const a33_0x5a6dfd=a33_0x3a66;function a33_0x3a66(_0x171974,_0x369032){const _0x3570ee=a33_0x3570();return a33_0x3a66=function(_0x3a6683,_0x201f65){_0x3a6683=_0x3a6683-0x19f;let _0x25f30e=_0x3570ee[_0x3a6683];return _0x25f30e;},a33_0x3a66(_0x171974,_0x369032);}(function(_0x32d87f,_0x1e9f63){const _0x49dc08=a33_0x3a66,_0x3f9517=_0x32d87f();while(!![]){try{const _0x30120a=parseInt(_0x49dc08(0x1b3))/0x1*(parseInt(_0x49dc08(0x214))/0x2)+-parseInt(_0x49dc08(0x1da))/0x3*(-parseInt(_0x49dc08(0x216))/0x4)+-parseInt(_0x49dc08(0x1f5))/0x5*(parseInt(_0x49dc08(0x1f8))/0x6)+-parseInt(_0x49dc08(0x205))/0x7+-parseInt(_0x49dc08(0x217))/0x8+parseInt(_0x49dc08(0x1ec))/0x9*(parseInt(_0x49dc08(0x1b5))/0xa)+parseInt(_0x49dc08(0x1ca))/0xb;if(_0x30120a===_0x1e9f63)break;else _0x3f9517['push'](_0x3f9517['shift']());}catch(_0x3ac735){_0x3f9517['push'](_0x3f9517['shift']());}}}(a33_0x3570,0x8f5be));const logger=require('../../../helpers/logger')[a33_0x5a6dfd(0x1df)],helper=require(a33_0x5a6dfd(0x1b7)),constants=require(a33_0x5a6dfd(0x1b8)),hubAllocator=require(a33_0x5a6dfd(0x21a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x5a6dfd(0x1ef)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x5a6dfd(0x20c)),globals=require(a33_0x5a6dfd(0x20b)),{overrideExecute}=require(a33_0x5a6dfd(0x219)),modify=(_0x684001,_0x10e8d9=null,_0x3f8a55=![])=>{const _0x289bb0=a33_0x5a6dfd,_0x133de2={'WVLjm':function(_0x247c99,_0x33f51a){return _0x247c99!==_0x33f51a;},'nwzxV':'/session','cwHVd':function(_0xc67d6a,_0x1f653d){return _0xc67d6a!==_0x1f653d;},'nEzOb':function(_0x2109d1,_0xfcb470){return _0x2109d1+_0xfcb470;},'mYLzv':function(_0x382690,_0x3858c5){return _0x382690+_0x3858c5;},'gXZWx':_0x289bb0(0x1cd),'peTDv':_0x289bb0(0x1fb),'bUViG':_0x289bb0(0x1fa),'uFNkh':'chromeOptions','BNwTE':_0x289bb0(0x1d1),'dywgx':'edgeOptions','xYTsJ':_0x289bb0(0x1ce),'xjwZb':_0x289bb0(0x1ed),'SLeAG':_0x289bb0(0x1fc),'SrMFz':'se:ieOptions','DstLg':_0x289bb0(0x207),'LwccV':function(_0x11f500,_0x3f9c4b){return _0x11f500===_0x3f9c4b;},'REjiM':'object','MeJyd':'Setting\x20Browserstack\x20capabilities','qQxGk':_0x289bb0(0x1a4),'XteFt':_0x289bb0(0x1c5),'Hmgqh':function(_0x278e33,_0x29a672,_0x348a25){return _0x278e33(_0x29a672,_0x348a25);},'sJalV':'5|1|4|2|3|0','Mbzee':function(_0x5840c5,_0x55fc05){return _0x5840c5(_0x55fc05);},'LQXDl':function(_0x572234,_0x557024,_0x53d809){return _0x572234(_0x557024,_0x53d809);},'Wtuhy':_0x289bb0(0x1ea),'vUVms':_0x289bb0(0x202),'rvTYS':function(_0x114aa2){return _0x114aa2();},'TRwAU':function(_0x58dd72,_0x2ddc16){return _0x58dd72(_0x2ddc16);},'jdalN':'isAccessibilityPlatform','yQRAZ':function(_0x19941f,_0x234abb,_0x3db9b5){return _0x19941f(_0x234abb,_0x3db9b5);},'KfIzB':function(_0x4dd601,_0x2eb135){return _0x4dd601!==_0x2eb135;},'xSAhp':_0x289bb0(0x1c0),'dUaHw':_0x289bb0(0x1e4)},_0x2bedca=helper[_0x289bb0(0x1f6)]();let _0x434025;try{_0x434025=helper[_0x289bb0(0x20f)](),_0x434025[_0x289bb0(0x1d4)]&&(_0x434025['Builder']=_0x434025[_0x289bb0(0x1d4)]);}catch(_0x1a7d00){return;}if(helper[_0x289bb0(0x200)]()){const _0x1caa05={};_0x1caa05[_0x289bb0(0x1cc)]=_0x684001['browserStackLogLevel'],helper[_0x289bb0(0x1b1)](_0x1caa05,new Map(),new Map()),logger['info'](_0x133de2[_0x289bb0(0x1c9)]),logger['debug'](_0x133de2[_0x289bb0(0x1a2)]);}class _0x4a0cc1 extends _0x2bedca[_0x289bb0(0x1c3)]{[_0x289bb0(0x1af)](_0x2b0252){const _0x160768=_0x289bb0;if(_0x133de2['WVLjm'](_0x2b0252[_0x160768(0x1ab)],_0x133de2[_0x160768(0x1dd)])&&_0x133de2[_0x160768(0x1c7)](global[_0x160768(0x1de)],''))try{global[_0x160768(0x1de)]=_0x133de2[_0x160768(0x20a)](_0x133de2['mYLzv'](_0x133de2[_0x160768(0x1b9)],global['newHubUrl']),_0x133de2[_0x160768(0x1ac)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x160768(0x1de)]),logger[_0x160768(0x1c2)](_0x160768(0x1c4)+global[_0x160768(0x1de)]),global['newHubUrl']='';}catch(_0x5d41bb){logger[_0x160768(0x1a8)](_0x5d41bb);}return super[_0x160768(0x1af)](_0x2b0252);}}class _0x4958c7 extends _0x434025['Builder']{[_0x289bb0(0x1ff)](){const _0x320559=_0x289bb0;return this[_0x320559(0x1e8)]=helper[_0x320559(0x208)](_0x684001),logger[_0x320559(0x1c2)]('Hub\x20url\x20set\x20to\x20'+this[_0x320559(0x1e8)]),this;}['__setBrowserOptions'](_0x3a687f){const _0x3e10d9=_0x289bb0;let _0x55d86a={};for(const _0x521844 in _0x3a687f){switch(_0x521844){case _0x133de2[_0x3e10d9(0x201)]:case _0x133de2[_0x3e10d9(0x1e5)]:this[_0x3e10d9(0x1ee)]&&(_0x55d86a=this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x1ee)][_0x3e10d9(0x212)](this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1a1)],helper['mergeDeep'](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x21b)]:case _0x133de2[_0x3e10d9(0x211)]:this[_0x3e10d9(0x19f)]&&(_0x55d86a=this[_0x3e10d9(0x19f)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x19f)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x19f)][_0x3e10d9(0x212)](this[_0x3e10d9(0x19f)][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1f1)]:case _0x133de2['xjwZb']:this[_0x3e10d9(0x1c8)]&&(_0x55d86a=this[_0x3e10d9(0x1c8)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1c8)][_0x3e10d9(0x1a1)])||{},this['firefoxOptions_']['set'](this['firefoxOptions_'][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1a9)]:this['safariOptions_']&&(_0x55d86a=this['safariOptions_'][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1d9)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x1d9)]['set'](this[_0x3e10d9(0x1d9)][_0x3e10d9(0x1a1)],helper['mergeDeep'](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1c6)]:case _0x133de2[_0x3e10d9(0x1f3)]:this['ieOptions_']&&(_0x55d86a=this[_0x3e10d9(0x215)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x215)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x215)][_0x3e10d9(0x212)](this[_0x3e10d9(0x215)][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;}}}[_0x289bb0(0x1e7)](){const _0x1601f8=_0x289bb0,_0x2c03a5={'aJvMb':function(_0x4c0099,_0x485562){const _0x10cc51=a33_0x3a66;return _0x133de2[_0x10cc51(0x1f9)](_0x4c0099,_0x485562);},'hNiFe':_0x133de2[_0x1601f8(0x1b4)]};return logger[_0x1601f8(0x1c2)](_0x133de2[_0x1601f8(0x206)]),this[_0x1601f8(0x1f7)](_0x684001[_0x1601f8(0x210)]),Object[_0x1601f8(0x218)](_0x684001[_0x1601f8(0x210)])[_0x1601f8(0x1cf)](_0x1de889=>{const _0x1f3b1b=_0x1601f8,_0x350347=this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x1d5)](_0x1de889);_0x2c03a5['aJvMb'](typeof _0x350347,_0x2c03a5['hNiFe'])?this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x212)](_0x1de889,helper[_0x1f3b1b(0x1db)](_0x350347,_0x684001[_0x1f3b1b(0x210)][_0x1de889])):this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x212)](_0x1de889,_0x684001[_0x1f3b1b(0x210)][_0x1de889]);}),this;}['build'](){const _0x51513f=_0x289bb0,_0x526fc1={'OiJcX':function(_0x2d4da2,_0x1c8b77,_0x50a1d7){const _0x431aeb=a33_0x3a66;return _0x133de2[_0x431aeb(0x1aa)](_0x2d4da2,_0x1c8b77,_0x50a1d7);},'cobjj':_0x133de2[_0x51513f(0x1e6)],'uhqPT':function(_0x3e114b,_0x3edaf4){const _0x1f5c63=_0x51513f;return _0x133de2[_0x1f5c63(0x1d8)](_0x3e114b,_0x3edaf4);},'rUHYh':function(_0x100d8c,_0x32c787,_0x217a38){return _0x133de2['Hmgqh'](_0x100d8c,_0x32c787,_0x217a38);},'BdcHA':function(_0x1e395c,_0x11b55d,_0x3d4100){const _0xd2afee=_0x51513f;return _0x133de2[_0xd2afee(0x1bc)](_0x1e395c,_0x11b55d,_0x3d4100);}};if(helper[_0x51513f(0x200)]()){const _0x4790b8=_0x133de2[_0x51513f(0x203)]['split']('|');let _0x1b82b5=0x0;while(!![]){switch(_0x4790b8[_0x1b82b5++]){case'0':logger['debug'](_0x133de2[_0x51513f(0x1e1)]);continue;case'1':_0x133de2[_0x51513f(0x1a0)](isAccessibilityAutomationSession)&&_0x133de2[_0x51513f(0x1bd)](setAccessibilityCapabilities,_0x684001);continue;case'2':if(helper[_0x51513f(0x1e2)](_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]))this[_0x51513f(0x1d7)]=helper[_0x51513f(0x1bf)](_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]);else _0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]&&(this['proxy_']=_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)],logger[_0x51513f(0x1c2)]('Proxy\x20set\x20to\x20'+this[_0x51513f(0x1dc)]));continue;case'3':this[_0x51513f(0x1ff)]();continue;case'4':globals[_0x51513f(0x20d)](_0x133de2[_0x51513f(0x1d2)])&&(!_0x133de2[_0x51513f(0x21d)](setExtension,this,_0x684001)&&globals[_0x51513f(0x1e0)](_0x133de2[_0x51513f(0x1d2)],![]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0x5f00df=super[_0x51513f(0x1f2)]();return _0x5f00df[_0x51513f(0x1a7)][_0x51513f(0x1e9)](_0x2e53eb=>{const _0x3a08fe=_0x51513f;try{const _0x1c0f25=_0x2e53eb[_0x3a08fe(0x1d6)][_0x3a08fe(0x1d5)](_0x133de2[_0x3a08fe(0x1e3)]);_0x1c0f25?(logger[_0x3a08fe(0x1c2)](_0x3a08fe(0x1a6)+_0x1c0f25),hubAllocator[_0x3a08fe(0x213)](_0x1c0f25),helper[_0x3a08fe(0x1d0)](_0x1c0f25)):logger[_0x3a08fe(0x1c2)](_0x133de2[_0x3a08fe(0x1f0)]);}catch(_0x27c155){logger[_0x3a08fe(0x1c2)](_0x3a08fe(0x1ad)+_0x27c155);}}),_0x5f00df[_0x51513f(0x1fd)]=0x0,_0x5f00df[_0x51513f(0x1e9)]&&_0x5f00df['then'](_0x3e866a=>{const _0x78db2f=_0x51513f,_0x4701ce=_0x526fc1['cobjj']['split']('|');let _0x1789b6=0x0;while(!![]){switch(_0x4701ce[_0x1789b6++]){case'0':_0x3e866a[_0x78db2f(0x1b0)]=async()=>{const _0x590dae=_0x78db2f;return await _0x526fc1[_0x590dae(0x1be)](getAccessibilityResults,_0x3e866a,global);};continue;case'1':_0x526fc1[_0x78db2f(0x1ba)](overrideTakeScreenshot,_0x3e866a);continue;case'2':_0x526fc1[_0x78db2f(0x1a5)](overrideExecute,_0x3e866a,_0x684001);continue;case'3':_0x3e866a[_0x78db2f(0x1cb)]=async()=>{const _0x571644=_0x78db2f;return await _0x526fc1[_0x571644(0x1be)](getAccessibilityResultsSummary,_0x3e866a,global);};continue;case'4':helper[_0x78db2f(0x1eb)](_0x3e866a,_0x684001);continue;case'5':_0x526fc1[_0x78db2f(0x1a3)](overrideQuit,_0x3e866a,_0x5f00df);continue;}break;}}),_0x5f00df[_0x51513f(0x1cb)]=async()=>{const _0x3ea34e=_0x51513f;return await _0x133de2[_0x3ea34e(0x1aa)](getAccessibilityResultsSummary,_0x5f00df,global);},_0x5f00df[_0x51513f(0x1b0)]=async()=>{return await _0x133de2['Hmgqh'](getAccessibilityResults,_0x5f00df,global);},_0x133de2[_0x51513f(0x1d8)](overrideTakeScreenshot,_0x5f00df),_0x133de2['TRwAU'](overrideQuit,_0x5f00df),helper[_0x51513f(0x1eb)](_0x5f00df,_0x684001),_0x133de2['Hmgqh'](overrideExecute,_0x5f00df,_0x684001),helper['isUndefined'](global['__driversArray'])&&(global[_0x51513f(0x1f4)]=[]),helper['isUndefined'](global['__drivers'])&&(global['__drivers']=[]),global[_0x51513f(0x1f4)][_0x51513f(0x1bb)](_0x5f00df),global[_0x51513f(0x1d3)]=_0x5f00df,_0x133de2[_0x51513f(0x20e)](global[_0x51513f(0x1fe)],undefined)&&global[_0x51513f(0x1fe)][_0x51513f(0x1bb)](_0x5f00df),_0x10e8d9&&helper[_0x51513f(0x21c)](_0x10e8d9[_0x51513f(0x209)]['__driversArray'])&&(_0x10e8d9['global'][_0x51513f(0x1f4)]=[]),_0x10e8d9&&_0x133de2[_0x51513f(0x1c7)](_0x10e8d9['global']['__drivers'],undefined)&&(_0x10e8d9[_0x51513f(0x209)][_0x51513f(0x1fe)][_0x51513f(0x1bb)](_0x5f00df),_0x10e8d9[_0x51513f(0x209)][_0x51513f(0x1f4)]['push'](_0x5f00df)),_0x5f00df;}}return _0x434025[_0x289bb0(0x1d4)]=_0x434025[_0x289bb0(0x1b2)],_0x434025[_0x289bb0(0x1b2)]=_0x4958c7,_0x2bedca[_0x289bb0(0x1c3)]=_0x4a0cc1,_0x434025;};module[a33_0x5a6dfd(0x204)]['browserstackAgentObservability']=modify;function a33_0x3570(){const _0x1451cc=['debug','HttpClient','New\x20hub\x20url\x20set\x20to\x20','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SrMFz','cwHVd','firefoxOptions_','xSAhp','3358685wPMHeY','getAccessibilityResultsSummary','logLevel','https://','moz:firefoxOptions','forEach','storeOptimalHubUrl','ms:edgeOptions','jdalN','__driver','originalBuilder','get','caps_','agent_','Mbzee','safariOptions_','18QZrfRo','mergeDeep','proxy_','nwzxV','newHubUrl','winstonLogger','setGlobal','vUVms','isPacProxy','qQxGk','Modifying\x20webdriver\x20builder','uFNkh','sJalV','setCapabilities','url_','then','1|3|5|2|4|0','overrideGet','732789gyYDjh','firefoxOptions','chromeOptions_','../../../helpers/patchHelpers','XteFt','xYTsJ','build','DstLg','__driversArray','1922205hNKtXr','requireHttpClient','__setBrowserOptions','6upDDmi','LwccV','goog:chromeOptions','/wd/hub','safari.options','quitCount_','__drivers','setServer','isBrowserstackInfra','bUViG','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Wtuhy','exports','5207594aFjWaP','MeJyd','ieOptions','getHubUrl','global','nEzOb','../../../helpers/globals','../../../helpers/accessibility-automation/helper','getGlobal','KfIzB','requireSeleniumWebdriver','capability','dywgx','set','updateHubUrl','104840WRgMid','ieOptions_','540896VgSOvT','2141824zMltgy','keys','./helpers/patchHelper','../../../hubAllocationMethods','BNwTE','isUndefined','yQRAZ','edgeOptions_','rvTYS','CAPABILITY_KEY','dUaHw','BdcHA','optimalHubUrl','rUHYh','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','session_','error','SLeAG','Hmgqh','path','peTDv','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','capabilities_','send','getAccessibilityResults','setLogLevel','Builder','1aTydkG','REjiM','100egDXOr','proxySettings','../../../helpers/helper','../../../bin/utils/constants','gXZWx','uhqPT','push','LQXDl','TRwAU','OiJcX','getHttpAgent','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxyUrl'];a33_0x3570=function(){return _0x1451cc;};return a33_0x3570();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x32d75f=a34_0x56b8;function a34_0x157b(){const _0x1399ee=['atwpL','104YclQbZ','350MrEqqr','292KsPgAQ','504284zwoPQv','3812mbwSJI','77535hOYIJY','2031dSWJRt','mochaHooks','restore','timeout','1096717rdkjRp','10539333GzvUAG','3136164KxcWtK','24605CiEZst'];a34_0x157b=function(){return _0x1399ee;};return a34_0x157b();}(function(_0x45fb1b,_0x4bad8c){const _0x48d075=a34_0x56b8,_0x4584a5=_0x45fb1b();while(!![]){try{const _0x8ccf5d=parseInt(_0x48d075(0xe6))/0x1+parseInt(_0x48d075(0xe0))/0x2*(-parseInt(_0x48d075(0xe2))/0x3)+parseInt(_0x48d075(0xde))/0x4*(parseInt(_0x48d075(0xe9))/0x5)+parseInt(_0x48d075(0xe8))/0x6+-parseInt(_0x48d075(0xe7))/0x7+-parseInt(_0x48d075(0xeb))/0x8*(-parseInt(_0x48d075(0xe1))/0x9)+-parseInt(_0x48d075(0xec))/0xa*(-parseInt(_0x48d075(0xdf))/0xb);if(_0x8ccf5d===_0x4bad8c)break;else _0x4584a5['push'](_0x4584a5['shift']());}catch(_0x30dc31){_0x4584a5['push'](_0x4584a5['shift']());}}}(a34_0x157b,0xdb87e));const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a34_0x56b8(_0x559b3b,_0x1c48ee){const _0x157b06=a34_0x157b();return a34_0x56b8=function(_0x56b8cd,_0x385246){_0x56b8cd=_0x56b8cd-0xde;let _0x250115=_0x157b06[_0x56b8cd];return _0x250115;},a34_0x56b8(_0x559b3b,_0x1c48ee);}exports[a34_0x32d75f(0xe3)]={'beforeAll'(){const _0x20e0cd=a34_0x32d75f,_0x43249b={'atwpL':function(_0x2e4227){return _0x2e4227();}},_0x5ac2b5='browserstack internal helper hook';_0x43249b[_0x20e0cd(0xea)](addRequestSpy);},'afterAll'(){const _0x495a0a=a34_0x32d75f,_0x4ecb54='browserstack internal helper hook';this[_0x495a0a(0xe5)](0xea60),requestSpy[_0x495a0a(0xe4)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a35_0x3b6b0b=a35_0x572b;function a35_0x572b(_0x3bb8d1,_0x31c126){const _0x37193e=a35_0x3719();return a35_0x572b=function(_0x572b4a,_0x570513){_0x572b4a=_0x572b4a-0x14e;let _0x26c3f0=_0x37193e[_0x572b4a];return _0x26c3f0;},a35_0x572b(_0x3bb8d1,_0x31c126);}(function(_0x2ff5ef,_0x5f2e2c){const _0x2b8f95=a35_0x572b,_0x233b62=_0x2ff5ef();while(!![]){try{const _0x5d2a3e=parseInt(_0x2b8f95(0x1a7))/0x1+-parseInt(_0x2b8f95(0x1a2))/0x2*(-parseInt(_0x2b8f95(0x1a4))/0x3)+parseInt(_0x2b8f95(0x163))/0x4+-parseInt(_0x2b8f95(0x162))/0x5+parseInt(_0x2b8f95(0x15f))/0x6*(parseInt(_0x2b8f95(0x1a5))/0x7)+parseInt(_0x2b8f95(0x190))/0x8*(-parseInt(_0x2b8f95(0x165))/0x9)+-parseInt(_0x2b8f95(0x17b))/0xa*(-parseInt(_0x2b8f95(0x189))/0xb);if(_0x5d2a3e===_0x5f2e2c)break;else _0x233b62['push'](_0x233b62['shift']());}catch(_0x5ea285){_0x233b62['push'](_0x233b62['shift']());}}}(a35_0x3719,0x859ad));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x3b6b0b(0x168)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x3b6b0b(0x178)),{consoleHolder}=require(a35_0x3b6b0b(0x185)),{getPlatformVersion}=require(a35_0x3b6b0b(0x170)),{shouldProcessEventForTesthub}=require(a35_0x3b6b0b(0x188)),{isFunction}=require(a35_0x3b6b0b(0x15e)),{patchConsoleLogger}=require(a35_0x3b6b0b(0x178));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x2bc405=a35_0x3b6b0b,_0x41a334={'iaLEl':_0x2bc405(0x14e),'vAWdp':function(_0x218d3d){return _0x218d3d();}};return{'ci':_0x41a334[_0x2bc405(0x16c)],'key':_0x41a334[_0x2bc405(0x19c)](uuidv4),'version':version,'collector':_0x2bc405(0x160)+name};},exports[a35_0x3b6b0b(0x154)]=_0x339015=>{const _0x486ccb=a35_0x3b6b0b,_0x37a585={};_0x37a585['iUrkB']=function(_0x42e038,_0x2edf12){return _0x42e038!==_0x2edf12;},_0x37a585[_0x486ccb(0x18b)]=_0x486ccb(0x18f),_0x37a585['zdMlK']=_0x486ccb(0x164),_0x37a585['JVkXb']=function(_0x5155e3,_0x6fa92c){return _0x5155e3!==_0x6fa92c;},_0x37a585[_0x486ccb(0x17a)]=_0x486ccb(0x15a);const _0x525184=_0x37a585;if(!_0x339015||_0x525184[_0x486ccb(0x1a0)](typeof _0x339015,_0x525184[_0x486ccb(0x18b)]))return[null,null];if(_0x525184[_0x486ccb(0x1a0)](_0x339015[_0x486ccb(0x194)](_0x525184[_0x486ccb(0x179)]),-0x1)){const _0x1593c5=_0x339015[_0x486ccb(0x18d)](_0x525184['zdMlK']);return[_0x1593c5[0x0][_0x486ccb(0x181)](0x0,-0x1)[_0x486ccb(0x18d)]('\x22')[0x1],_0x1593c5[0x1][_0x486ccb(0x183)](0x1)];}else{if(_0x525184[_0x486ccb(0x161)](_0x339015[_0x486ccb(0x194)](_0x525184['odfJy']),-0x1)){const _0x11d1c2=_0x339015[_0x486ccb(0x18d)](_0x525184[_0x486ccb(0x17a)]);return[_0x11d1c2[0x0][_0x486ccb(0x181)](0x0,-0x1)[_0x486ccb(0x18d)]('\x22')[0x1],_0x339015];}}return[null,null];},exports[a35_0x3b6b0b(0x19d)]=_0x456d74=>{const _0x520c16=a35_0x3b6b0b,_0x3e841e={'znjEr':function(_0x1028f0,_0x379708){return _0x1028f0(_0x379708);},'xZrDy':'_beforeAll','FTRcU':_0x520c16(0x180),'vQTfg':'_beforeEach','LyMxP':_0x520c16(0x19e)};if(!_0x456d74||!_0x456d74[_0x520c16(0x17c)])return[];const _0x54e768=[];return[_0x3e841e['xZrDy'],_0x3e841e[_0x520c16(0x1a8)],_0x3e841e[_0x520c16(0x198)],_0x3e841e[_0x520c16(0x173)]]['forEach'](_0x1f02fa=>{const _0x1e4b8e=_0x520c16,_0x46d5c9={'XeUbN':function(_0x509af,_0x3093d0){const _0x215c3e=a35_0x572b;return _0x3e841e[_0x215c3e(0x18e)](_0x509af,_0x3093d0);}},_0x1df321=_0x456d74[_0x1e4b8e(0x17c)][_0x1f02fa]||[];_0x1df321[_0x1e4b8e(0x16d)](_0x5142e6=>{const _0x1327f5=_0x1e4b8e;_0x5142e6[_0x1327f5(0x17e)]&&!_0x46d5c9[_0x1327f5(0x16b)](isInternalHook,_0x5142e6['fn'])&&_0x54e768[_0x1327f5(0x197)](_0x5142e6[_0x1327f5(0x17e)]);});}),[..._0x54e768,...exports['getHooksForTest'](_0x456d74['parent'])];},exports[a35_0x3b6b0b(0x193)]=_0x34f570=>{const _0x3859c5=a35_0x3b6b0b,_0x972f4d={'PLjkv':function(_0x5ded39){return _0x5ded39();},'qAziQ':function(_0x4148b7,_0x2665ef){return _0x4148b7===_0x2665ef;},'iGrCn':_0x3859c5(0x19e),'MGLBJ':_0x3859c5(0x182),'OBIIb':'_afterAll','IPRMC':_0x3859c5(0x17d)};if(!_0x34f570||!_0x34f570[_0x3859c5(0x17c)])return;[_0x972f4d[_0x3859c5(0x16f)],_0x972f4d[_0x3859c5(0x156)],_0x972f4d[_0x3859c5(0x16a)],_0x972f4d[_0x3859c5(0x199)]][_0x3859c5(0x16d)](_0x1e9a0e=>{const _0x398b50=_0x3859c5,_0x512af4={'TLLgw':function(_0x1141e9){const _0x4ea000=a35_0x572b;return _0x972f4d[_0x4ea000(0x18a)](_0x1141e9);},'KmvMy':function(_0x9ab2a3,_0x37427e){return _0x972f4d['qAziQ'](_0x9ab2a3,_0x37427e);},'HijUC':_0x972f4d['iGrCn'],'GdllF':function(_0x5784ad){const _0x448c81=a35_0x572b;return _0x972f4d[_0x448c81(0x18a)](_0x5784ad);}},_0x110144=_0x34f570[_0x398b50(0x17c)][_0x1e9a0e]||[];_0x110144[_0x398b50(0x16d)](_0x4f85f9=>{const _0x53ddcf=_0x398b50;if(!_0x4f85f9[_0x53ddcf(0x17e)])_0x4f85f9[_0x53ddcf(0x17e)]=_0x512af4[_0x53ddcf(0x191)](uuidv4);else _0x4f85f9['markedStatus']&&_0x512af4[_0x53ddcf(0x166)](_0x1e9a0e,_0x512af4['HijUC'])&&(_0x4f85f9[_0x53ddcf(0x17e)]=_0x512af4[_0x53ddcf(0x151)](uuidv4),delete _0x4f85f9['markedStatus']);});}),exports[_0x3859c5(0x193)](_0x34f570[_0x3859c5(0x17c)]);},exports[a35_0x3b6b0b(0x174)]=async(_0x20ae6f,_0x3f0262)=>{const _0x366df9=a35_0x3b6b0b,_0x2ad99c={'SqNPg':function(_0x4ab723){return _0x4ab723();},'hIMrV':function(_0x58a4a1,_0x5d29e2){return _0x58a4a1(_0x5d29e2);},'yuiMi':'platformVersion','hoKug':function(_0x2d8f98,_0x2d7a85){return _0x2d8f98(_0x2d7a85);},'bKbvw':function(_0x4ebe90,_0x176602){return _0x4ebe90===_0x176602;},'FCDWY':_0x366df9(0x152),'SDpxi':'unknown_grid','EUNmD':'TEST_PLATFORM','CqSsY':function(_0x1ca34d,_0x548d39){return _0x1ca34d(_0x548d39);}};try{if(!_0x2ad99c['SqNPg'](shouldProcessEventForTesthub))return;const _0x1678c4=await _0x20ae6f['getCapabilities'](),_0x305fc6=await _0x20ae6f[_0x366df9(0x177)](),_0x3fc767={},_0xee5830=Object['fromEntries'](_0x305fc6['getCapabilities']()[_0x366df9(0x186)]),_0x5a9f1a={'product':_0x2ad99c[_0x366df9(0x157)](getObservabilityLinkedProductName,_0xee5830),'capabilities':_0xee5830,'platform':_0x1678c4[_0x366df9(0x196)](),'platform_version':_0x1678c4[_0x366df9(0x16e)](_0x2ad99c[_0x366df9(0x18c)])?_0x1678c4[_0x366df9(0x16e)](_0x2ad99c[_0x366df9(0x18c)]):_0x2ad99c[_0x366df9(0x17f)](getPlatformVersion,_0x2ad99c[_0x366df9(0x172)](global[_0x366df9(0x15d)],_0x2ad99c[_0x366df9(0x169)])),'browser':_0x1678c4[_0x366df9(0x192)](),'browser_version':_0x1678c4['getBrowserVersion'](),'session_id':_0x305fc6[_0x366df9(0x153)]()};global[_0x366df9(0x15d)]?_0x3fc767[global[_0x366df9(0x15d)]]=_0x5a9f1a:_0x3fc767[_0x2ad99c['SDpxi']]=_0x5a9f1a,process[_0x366df9(0x171)](_0x366df9(0x176)+process[_0x366df9(0x1a1)],{'timestamp':new Date()[_0x366df9(0x158)](),'level':null,'message':null,'kind':_0x2ad99c[_0x366df9(0x19b)],'http_response':_0x3fc767,'uuid':_0x3f0262});}catch(_0x1faaa1){_0x2ad99c[_0x366df9(0x187)](debug,_0x366df9(0x1a3)+_0x1faaa1);}},exports[a35_0x3b6b0b(0x19a)]=_0x17b92e=>{const _0x481713=a35_0x3b6b0b,_0x51b494={};_0x51b494[_0x481713(0x1a6)]=function(_0x1c02bf,_0x174f41){return _0x1c02bf!==_0x174f41;},_0x51b494['ypybO']=_0x481713(0x15a),_0x51b494[_0x481713(0x167)]=function(_0x1e1750,_0x2a0718){return _0x1e1750!==_0x2a0718;},_0x51b494[_0x481713(0x184)]=_0x481713(0x150),_0x51b494['JTsqC']=_0x481713(0x175);const _0x5aef9c=_0x51b494,_0x33e410=_0x17b92e[_0x481713(0x195)]['reduce']((_0x5bf6d,_0x5ce839)=>{const _0x198844=_0x481713,_0x262e62=exports['getHookSkippedTests'](_0x5ce839);return _0x262e62&&(_0x5bf6d=_0x5bf6d[_0x198844(0x15b)](_0x262e62)),_0x5bf6d;},[]),_0x246d7c=_0x17b92e[_0x481713(0x155)][_0x481713(0x14f)](_0x327f26=>{const _0x2d19a7=_0x481713,_0x145a39=_0x5aef9c[_0x2d19a7(0x1a6)](_0x327f26['type'],_0x5aef9c[_0x2d19a7(0x19f)])&&!_0x327f26['markedStatus']&&_0x5aef9c[_0x2d19a7(0x167)](_0x327f26[_0x2d19a7(0x159)],_0x5aef9c[_0x2d19a7(0x184)])&&_0x5aef9c[_0x2d19a7(0x167)](_0x327f26['state'],_0x5aef9c[_0x2d19a7(0x15c)])&&!_0x327f26['pending'];return _0x145a39;});return _0x246d7c[_0x481713(0x15b)](_0x33e410);};function a35_0x3719(){const _0x41d951=['TDfaY','607291xXJwrM','FTRcU','generic','filter','passed','GdllF','browserstack','toJSON','getHookDetails','tests','OBIIb','hIMrV','toISOString','state','hook','concat','JTsqC','__cloud_provider___','lodash','6WuXhEN','js-','JVkXb','4692720eXKBaA','1423924tJriOx','hook:','549BNSUXu','KmvMy','gFPdu','../../utils/logPatcher','FCDWY','IPRMC','XeUbN','iaLEl','forEach','get','MGLBJ','../../../helpers/helper','emit','bKbvw','LyMxP','sendPlatformDetails','failed','bs:addPlatformDetails:','getSession','../../../helpers/test-observability/utils','zdMlK','odfJy','529990NIhSjn','parent','_beforeEach','hookAnalyticsId','hoKug','_afterAll','slice','_beforeAll','substring','bOPFR','../../../helpers/test-observability/constants','map_','CqSsY','../../../helpers/testhub/utils','187MGQHpQ','PLjkv','ZVTtb','yuiMi','split','znjEr','string','111736oTrkrJ','TLLgw','getBrowserName','mapTestHooks','indexOf','suites','getPlatform','push','vQTfg','iGrCn','getHookSkippedTests','EUNmD','vAWdp','getHooksForTest','_afterEach','ypybO','iUrkB','pid','2vkPAfX','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','986316TvGhlY','1013243WlSLic'];a35_0x3719=function(){return _0x41d951;};return a35_0x3719();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x3528cf=a36_0x234a;function a36_0x234a(_0x198042,_0x1bfbf1){const _0x51572b=a36_0x5157();return a36_0x234a=function(_0x234a01,_0x3e9e63){_0x234a01=_0x234a01-0x192;let _0x55e87e=_0x51572b[_0x234a01];return _0x55e87e;},a36_0x234a(_0x198042,_0x1bfbf1);}(function(_0x4d705b,_0x39ac5a){const _0x17377e=a36_0x234a,_0x36c164=_0x4d705b();while(!![]){try{const _0x49c0b9=-parseInt(_0x17377e(0x249))/0x1+-parseInt(_0x17377e(0x1f1))/0x2*(parseInt(_0x17377e(0x1c9))/0x3)+parseInt(_0x17377e(0x1e5))/0x4*(-parseInt(_0x17377e(0x1b0))/0x5)+parseInt(_0x17377e(0x1f7))/0x6*(parseInt(_0x17377e(0x23a))/0x7)+parseInt(_0x17377e(0x1bb))/0x8*(parseInt(_0x17377e(0x219))/0x9)+-parseInt(_0x17377e(0x20e))/0xa*(-parseInt(_0x17377e(0x23d))/0xb)+parseInt(_0x17377e(0x202))/0xc;if(_0x49c0b9===_0x39ac5a)break;else _0x36c164['push'](_0x36c164['shift']());}catch(_0x172753){_0x36c164['push'](_0x36c164['shift']());}}}(a36_0x5157,0xa9ce5));function a36_0x5157(){const _0x1ecb34=['Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','wGWDE','uypwg','4NoyhAR','start','Accessibility\x20scan\x20completed\x20successfully','NibPh','protocol','join','initQuit','afterEach','pIIsP','IrQHU','push','capabilities','2TuXHFj','shift','saveAccessibilityResultsWithRetry','oTzjr','umhaR','qXCpj','6noUJJj','Accessibility\x20results\x20saved\x20successfully','nynYP','then','beforeEach','debug','GVGlh','BTUyJ','percy','DeLAW','../../helpers/logger','4218996XWvfDn','sessionNameSet__','env','CzHMP','thBuildUuid','bstackA11yShouldScan','xHOAf','\x20-\x20','fpQNM','YAOAD','SDK_HOOK','xBgyP','7402710ZfCmiR','JMVTB','RKmen','zyriu','eMPuz','gCYkF','RDsbR','nSRsa','now','SnObV','xqXMZ','6104115uoRxLi','XoMuG','txddh','http:','nHykU','yuPaM','passed','tPbVM','rowtH','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','../../helpers/accessibility-automation/accessibilityRetryHelper','cXrhx','GEXAP','__error_messages__','session_','browserstackSessionName','thTestRunUuid','rKWpk','AzGfo','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','HYdqc','finally','VeFeF','puxOe','message','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/performance/performance-tester','ENV_VAR','index','\x20|\x20','titlePath','7609133yFDvdI','failed','SESSION_NAME','11gYkyBM','BROWSERSTACK_TESTHUB_UUID','../utils/constants','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','afterAll','beforeAll','./test-observability/mochaUtils','currentTest','kNmJA','state','util','87499aDNjQY','bxMFq','../../helpers/accessibility-automation/helper','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','https:','MakUq','testcase','quitCount_','ZnjSB','vDfFu','afterTest','../../helpers/performance/constants','nhFzl','lFxmV','PERFORM_SCAN','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','BROWSERSTACK_TESTHUB_JWT','LNjcv','KBjSj','executeScript','__platformCaps','length','KQXJW','uKAyq','isAccessibilityPlatform','error','ZnUPM','Automate\x20test\x20case\x20execution\x20has\x20started.','FHmrV','measureWrapper','SYNC','AUReD','__sessionFailed','Failed\x20to\x20store\x20session\x20name:\x20','4351145yZcjIg','performScanWithRetry','qdyll','winstonLogger','Passed','stringify','XDFAz','ZRwDB','QxzJU','getGlobal','LOicp','8kduxLZ','LQmJD','axZGH','err','testAnalyticsId','info','bifdT','percyCaptureMode','driverCleanup','LyDAq','GrGBE','SAVE_RESULTS','dMoqf','setGlobal','3611565GVDcZd','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/testhub/constants','command','warn','.\x20Error\x20:','NWQTV','timeout','ZpjCr','app','../../helpers/testhub/utils','npBKL','lgLux','appium:app','shouldScanTestForAccessibility','../../helpers/percy/utils','\x22}}','Mocha','getCurrentUrl','uHufx','end','fcRmR','__drivers','mochaHooks','__skipSessionName'];a36_0x5157=function(){return _0x1ecb34;};return a36_0x5157();}const util=require(a36_0x3528cf(0x248)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x3528cf(0x24b)),accessibilityRetryHelper=require(a36_0x3528cf(0x223)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x3528cf(0x23f)),{percyAutoCapture}=require(a36_0x3528cf(0x1d8)),{sendPlatformDetails}=require(a36_0x3528cf(0x244)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x3528cf(0x235)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x3528cf(0x199)),globals=require('../../helpers/globals'),logger=require(a36_0x3528cf(0x201))[a36_0x3528cf(0x1b3)],{shouldProcessEventForTesthub}=require(a36_0x3528cf(0x1d3)),testHubConstants=require(a36_0x3528cf(0x1cb));exports[a36_0x3528cf(0x1e0)]={'beforeAll'(){const _0x32e17b=a36_0x3528cf,_0x30003e={'ZRwDB':function(_0xd730ee,_0x252d72,_0x454ade,_0x212f80){return _0xd730ee(_0x252d72,_0x454ade,_0x212f80);},'rKWpk':_0x32e17b(0x23b),'LNjcv':_0x32e17b(0x238),'wGWDE':function(_0x443009,_0x5b02eb,_0x571fc2){return _0x443009(_0x5b02eb,_0x571fc2);},'FWtLq':_0x32e17b(0x21f),'ZnUPM':function(_0x5628c6){return _0x5628c6();},'GVGlh':function(_0x1c81a1,_0x230335,_0x13125e){return _0x1c81a1(_0x230335,_0x13125e);},'oTzjr':_0x32e17b(0x237),'JMVTB':_0x32e17b(0x243)};PerformanceTester['startMonitoring']();const _0x4f28fc='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x3e182e=_0x32e17b;global[_0x3e182e(0x226)]=[],global[_0x3e182e(0x1ae)]=![],global[_0x3e182e(0x1c3)]=async()=>{const _0x2282b0=_0x3e182e;let _0x3aa0ed=![];try{await global[_0x2282b0(0x1df)][0x0][_0x2282b0(0x227)],_0x3aa0ed=!![],global[_0x2282b0(0x1ae)]?await _0x30003e[_0x2282b0(0x1b7)](markSessionStatus,global[_0x2282b0(0x1df)][0x0],_0x30003e[_0x2282b0(0x22a)],global[_0x2282b0(0x226)][_0x2282b0(0x1ea)](_0x30003e[_0x2282b0(0x19f)])):await _0x30003e['wGWDE'](markSessionStatus,global[_0x2282b0(0x1df)][0x0],_0x30003e['FWtLq']);}catch(_0x4fdd8f){logger[_0x2282b0(0x1fc)](_0x2282b0(0x233)+_0x4fdd8f);}global[_0x2282b0(0x226)]=[],global['__sessionFailed']=![];if(_0x3aa0ed)try{try{_0x30003e[_0x2282b0(0x1a8)](shouldProcessEventForTesthub)&&(global[_0x2282b0(0x1df)][0x0]&&await _0x30003e[_0x2282b0(0x1e3)](sendPlatformDetails,global[_0x2282b0(0x1df)][0x0],this[_0x2282b0(0x245)]?this[_0x2282b0(0x245)]['testAnalyticsId']:null));}catch(_0x15eaba){logger['debug']('Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20'+_0x15eaba);}await global[_0x2282b0(0x1df)][0x0][_0x2282b0(0x1eb)]();}catch(_0x425432){logger['debug'](_0x2282b0(0x22c)+_0x425432);}};},{'platform':_0x30003e[_0x32e17b(0x1fd)](nestedKeyValue,global[_0x32e17b(0x1a2)],[_0x30003e[_0x32e17b(0x1f4)]]),'hookType':_0x30003e[_0x32e17b(0x20f)]})();},'beforeEach'(_0x53ebd5){const _0x1b6c74=a36_0x3528cf,_0x3320d1={'RKmen':function(_0x4dd740,_0x17d957){return _0x4dd740>_0x17d957;},'NHCEs':function(_0xdcae56,_0x441b75){return _0xdcae56>_0x441b75;},'GrGBE':'\x20-\x20','IrQHU':function(_0x943056,_0xe14b71,_0x32a69a){return _0x943056(_0xe14b71,_0x32a69a);},'ZKxWr':'bstackA11yShouldScan','kNmJA':function(_0x21d704){return _0x21d704();},'axZGH':function(_0x2b1b7a,_0x3e8184){return _0x2b1b7a>_0x3e8184;},'KBjSj':'isAccessibilityPlatform','moxho':function(_0x1bb1a4,_0x17695d){return _0x1bb1a4===_0x17695d;},'MakUq':_0x1b6c74(0x21c),'ZpjCr':function(_0x52336e,_0x2a3753){return _0x52336e===_0x2a3753;},'itmqO':_0x1b6c74(0x192),'OzJWC':_0x1b6c74(0x241),'uKAyq':_0x1b6c74(0x1a9),'gmMaI':'browserstackTestName','AzGfo':function(_0x3a1e35,_0x4afff2,_0x38d577){return _0x3a1e35(_0x4afff2,_0x38d577);},'lFxmV':_0x1b6c74(0x237),'puxOe':_0x1b6c74(0x1fb)};globals['setGlobal'](_0x3320d1['gmMaI'],this[_0x1b6c74(0x245)][_0x1b6c74(0x239)]()[_0x1b6c74(0x1ea)](_0x3320d1[_0x1b6c74(0x1c5)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x1b6c74(0x20c)],()=>{const _0x5493c7='browserstack internal helper hook';new Promise(async _0x32a75a=>{const _0x34e0d4=a36_0x234a;let _0x30e6fc=!![];try{_0x3320d1[_0x34e0d4(0x210)](global[_0x34e0d4(0x1df)][_0x34e0d4(0x1a3)],0x1)&&(await global[_0x34e0d4(0x1c3)](),global[_0x34e0d4(0x1df)][_0x34e0d4(0x1f2)]()),_0x3320d1['NHCEs'](global[_0x34e0d4(0x1df)][0x0]['quitCount_'],0x0)&&(_0x30e6fc=![],await global[_0x34e0d4(0x1c3)]());}catch(_0x1e2892){logger[_0x34e0d4(0x1fc)](_0x34e0d4(0x22c)+_0x1e2892);}try{Array['isArray'](global[_0x34e0d4(0x1df)])&&global[_0x34e0d4(0x1df)][0x0]&&(global[_0x34e0d4(0x1df)][0x0][_0x34e0d4(0x228)]=this['currentTest'][_0x34e0d4(0x239)]()['join'](_0x3320d1['GrGBE'])),global[_0x34e0d4(0x228)]=this[_0x34e0d4(0x245)][_0x34e0d4(0x239)]()['join'](_0x3320d1[_0x34e0d4(0x1c5)]);}catch(_0x235a50){logger['debug'](_0x34e0d4(0x1af)+_0x235a50);}this[_0x34e0d4(0x245)][_0x34e0d4(0x1d7)]=_0x3320d1[_0x34e0d4(0x1ee)](shouldScanTestForAccessibility,this[_0x34e0d4(0x245)][_0x34e0d4(0x239)](),!![]),globals[_0x34e0d4(0x1c8)](_0x3320d1['ZKxWr'],this[_0x34e0d4(0x245)]['shouldScanTestForAccessibility']),this[_0x34e0d4(0x245)]['accessibilityScanStarted']=!![];if(_0x3320d1['kNmJA'](isAccessibilityAutomationSession)&&_0x30e6fc&&Array['isArray'](global[_0x34e0d4(0x1df)])&&_0x3320d1[_0x34e0d4(0x1bd)](global[_0x34e0d4(0x1df)]['length'],0x0)&&globals[_0x34e0d4(0x1b9)](_0x3320d1[_0x34e0d4(0x1a0)]))try{const _0x362579=await global[_0x34e0d4(0x1df)][0x0]['session_'];if(_0x362579){let _0x197184=!![];const _0xcd6473=await global[_0x34e0d4(0x1df)][0x0][_0x34e0d4(0x1db)]();let _0x445510;try{_0x445510=new URL(_0xcd6473);}catch(_0x2c7779){_0x197184=![];}_0x197184=_0x3320d1['moxho'](_0x445510[_0x34e0d4(0x1e9)],_0x3320d1[_0x34e0d4(0x193)])||_0x3320d1[_0x34e0d4(0x1d1)](_0x445510[_0x34e0d4(0x1e9)],_0x3320d1['itmqO']),_0x197184&&(this[_0x34e0d4(0x245)][_0x34e0d4(0x1d7)]&&logger[_0x34e0d4(0x1c0)](_0x3320d1['OzJWC'])),this['currentTest']['accessibilityScanStarted']=this[_0x34e0d4(0x245)]['shouldScanTestForAccessibility'],this[_0x34e0d4(0x245)][_0x34e0d4(0x1d7)]&&logger['info'](_0x3320d1[_0x34e0d4(0x1a5)]);}}catch(_0x43c287){logger[_0x34e0d4(0x1a7)](_0x34e0d4(0x19d)+util['format'](_0x43c287));}_0x3320d1[_0x34e0d4(0x246)](_0x32a75a);})['then'](()=>{_0x3320d1['kNmJA'](_0x53ebd5);});},{'platform':_0x3320d1[_0x1b6c74(0x22b)](nestedKeyValue,global[_0x1b6c74(0x1a2)],[_0x3320d1[_0x1b6c74(0x19b)]]),'hookType':_0x3320d1[_0x1b6c74(0x231)]})();},'afterEach'(_0x1983d2){const _0x48d1ab=a36_0x3528cf,_0x4be107={'cXrhx':function(_0x2c752a){return _0x2c752a();},'dMoqf':function(_0x2cd6d7,_0x229a46){return _0x2cd6d7!==_0x229a46;},'QxzJU':'passed','YAOAD':function(_0x5e2099,_0x22de05,_0x328ebb){return _0x5e2099(_0x22de05,_0x328ebb);},'TQBGY':function(_0x15626c,_0x188f37){return _0x15626c+_0x188f37;},'eMPuz':'Failed:\x20','uHufx':_0x48d1ab(0x1a7),'OCFtq':_0x48d1ab(0x1b4),'xBgyP':_0x48d1ab(0x1c0),'FIWsp':_0x48d1ab(0x209),'HqLVs':function(_0xd9ffe0,_0x314580){return _0xd9ffe0>_0x314580;},'xJutm':function(_0x56d77b,_0x4d690a){return _0x56d77b===_0x4d690a;},'rowtH':_0x48d1ab(0x194),'VeFeF':function(_0x2a8471,_0x3e1ca0){return _0x2a8471>_0x3e1ca0;},'bifdT':_0x48d1ab(0x1d6),'nynYP':function(_0x24a1af,_0x162378,_0xdb1410,_0x5e4391){return _0x24a1af(_0x162378,_0xdb1410,_0x5e4391);},'NibPh':_0x48d1ab(0x1a6),'AUReD':_0x48d1ab(0x207),'fpQNM':_0x48d1ab(0x1ca),'XDFAz':_0x48d1ab(0x222),'RDsbR':_0x48d1ab(0x198),'shtGn':_0x48d1ab(0x1e7),'txddh':_0x48d1ab(0x1e2),'CzHMP':_0x48d1ab(0x1f8),'FHmrV':_0x48d1ab(0x22d),'RVbAs':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ZnjSB':function(_0x303cfd,_0x56c1dc,_0x22429c){return _0x303cfd(_0x56c1dc,_0x22429c);},'yuPaM':_0x48d1ab(0x1fc),'SnObV':function(_0x20b942){return _0x20b942();},'qXCpj':_0x48d1ab(0x1da),'zyriu':function(_0xd6a2f3,_0x39c348,_0x38a6ca){return _0xd6a2f3(_0x39c348,_0x38a6ca);},'fcRmR':_0x48d1ab(0x237),'HYdqc':_0x48d1ab(0x1ec)},_0x55b77e='browserstack internal helper hook';this[_0x48d1ab(0x1d0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4be107[_0x48d1ab(0x1f6)]]),global['sessionName']=this['currentTest'][_0x48d1ab(0x239)]()['join'](_0x4be107['FIWsp']),PerformanceTester[_0x48d1ab(0x1ab)](PerformanceSdkEvents[_0x48d1ab(0x20c)],()=>{const _0x131647=_0x48d1ab,_0x406309={'uUMKt':function(_0x128759,_0x2f8be4){const _0x1ed828=a36_0x234a;return _0x4be107[_0x1ed828(0x1c7)](_0x128759,_0x2f8be4);},'tPbVM':_0x4be107[_0x131647(0x1b8)],'qdyll':function(_0x4b2181,_0x49d7bd,_0x229e0b){const _0x258861=_0x131647;return _0x4be107[_0x258861(0x20b)](_0x4b2181,_0x49d7bd,_0x229e0b);},'ggyqT':function(_0x54cfac,_0x568802){return _0x4be107['TQBGY'](_0x54cfac,_0x568802);},'nHykU':_0x4be107[_0x131647(0x212)],'epiVM':_0x4be107[_0x131647(0x1dc)],'BTUyJ':_0x4be107['OCFtq'],'lgLux':_0x4be107[_0x131647(0x20d)],'vDfFu':_0x4be107['FIWsp'],'bkmbP':function(_0x5e51f0,_0x42c8e9){return _0x4be107['HqLVs'](_0x5e51f0,_0x42c8e9);},'gCYkF':function(_0x23a0b7,_0x2070a0){return _0x4be107['xJutm'](_0x23a0b7,_0x2070a0);},'GEXAP':_0x4be107[_0x131647(0x221)],'xjelD':function(_0x441ace,_0x2d0f92){const _0x5c6e4f=_0x131647;return _0x4be107[_0x5c6e4f(0x230)](_0x441ace,_0x2d0f92);},'KXdyc':_0x4be107[_0x131647(0x1c1)],'nhFzl':function(_0x4df2e4,_0x27956f,_0x2207d7,_0x4c79f0){const _0x59ceaa=_0x131647;return _0x4be107[_0x59ceaa(0x1f9)](_0x4df2e4,_0x27956f,_0x2207d7,_0x4c79f0);},'uypwg':_0x4be107[_0x131647(0x1e8)],'nSRsa':_0x4be107[_0x131647(0x1ad)],'GjMVO':_0x4be107[_0x131647(0x20a)],'IDWdl':_0x4be107[_0x131647(0x1b6)],'DeLAW':_0x4be107[_0x131647(0x214)],'LQmJD':_0x4be107['shtGn'],'hbokp':_0x4be107[_0x131647(0x21b)],'Xhdbw':_0x4be107[_0x131647(0x205)],'DJfgE':_0x4be107[_0x131647(0x1aa)],'bxMFq':_0x4be107['RVbAs'],'npBKL':function(_0x5c9820){const _0xa48f90=_0x131647;return _0x4be107[_0xa48f90(0x224)](_0x5c9820);},'NWQTV':function(_0x107994,_0x5c6faa,_0x45a59f){const _0x240a41=_0x131647;return _0x4be107[_0x240a41(0x196)](_0x107994,_0x5c6faa,_0x45a59f);},'IFIvV':function(_0x14aa6c){const _0x22f913=_0x131647;return _0x4be107[_0x22f913(0x224)](_0x14aa6c);},'XoMuG':function(_0x52934f,_0x3a199a,_0xa6afeb){const _0x34a7c9=_0x131647;return _0x4be107[_0x34a7c9(0x196)](_0x52934f,_0x3a199a,_0xa6afeb);},'umhaR':_0x4be107[_0x131647(0x21e)],'uvqSB':function(_0x4ca31f){const _0x39a338=_0x131647;return _0x4be107[_0x39a338(0x217)](_0x4ca31f);}},_0x502ee2=async(_0x594d32,_0x39271e)=>{const _0x47e33c=_0x131647;await global[_0x47e33c(0x1df)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x594d32+',\x22level\x22:\x20\x22'+_0x39271e+_0x47e33c(0x1d9));};new Promise(async _0x5bd16b=>{const _0x9a676c=_0x131647,_0x5751f6={};_0x5751f6['LyDAq']=_0x406309[_0x9a676c(0x197)];const _0x4c79fc=_0x5751f6;try{_0x406309['bkmbP'](global[_0x9a676c(0x1df)][_0x9a676c(0x1a3)],0x1)&&(await global[_0x9a676c(0x1c3)](),global[_0x9a676c(0x1df)]['shift'](),global[_0x9a676c(0x226)]=[],global[_0x9a676c(0x1ae)]=![]);try{if(global[_0x9a676c(0x1ff)]&&_0x406309[_0x9a676c(0x213)](global[_0x9a676c(0x1c2)],_0x406309[_0x9a676c(0x225)])&&global[_0x9a676c(0x1df)][0x0]){const _0x2169ac=_0x406309['xjelD'](global[_0x9a676c(0x1f0)]['length'],0x0)?!!global['capabilities'][0x0][_0x9a676c(0x1d2)]||!!global['capabilities'][0x0][_0x406309['KXdyc']]:![],_0x5b7af8={};_0x5b7af8['app']=_0x2169ac,await _0x406309[_0x9a676c(0x19a)](percyAutoCapture,global[_0x9a676c(0x1df)][0x0],_0x406309[_0x9a676c(0x225)],_0x5b7af8);}}catch(_0x47a681){logger[_0x9a676c(0x1fc)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x47a681);}!global[_0x9a676c(0x1e1)]&&(await PerformanceTester[_0x9a676c(0x1ab)](PerformanceAutEvents[_0x9a676c(0x23c)],async()=>{const _0x34f1c3=_0x9a676c;await global[_0x34f1c3(0x1df)][0x0][_0x34f1c3(0x1a1)](_0x34f1c3(0x234)+JSON[_0x34f1c3(0x1b5)](this[_0x34f1c3(0x245)]['titlePath']()[_0x34f1c3(0x1ea)](_0x4c79fc[_0x34f1c3(0x1c4)]))+'}}');})(),global[_0x9a676c(0x1df)][0x0][_0x9a676c(0x203)]=!![]),await PerformanceTester[_0x9a676c(0x1ab)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1bf5f8=_0x9a676c,_0x587bd1=_0x406309['uUMKt'](this[_0x1bf5f8(0x245)][_0x1bf5f8(0x247)],_0x406309[_0x1bf5f8(0x220)]);_0x587bd1?(global[_0x1bf5f8(0x1ae)]=!![],global['__error_messages__'][_0x1bf5f8(0x1ef)](this[_0x1bf5f8(0x245)][_0x1bf5f8(0x1be)][_0x1bf5f8(0x232)]),await _0x406309[_0x1bf5f8(0x1b2)](_0x502ee2,JSON[_0x1bf5f8(0x1b5)](_0x406309['ggyqT'](_0x406309[_0x1bf5f8(0x21d)],this[_0x1bf5f8(0x245)][_0x1bf5f8(0x1be)][_0x1bf5f8(0x232)])),_0x406309['epiVM'])):await _0x406309['qdyll'](_0x502ee2,JSON[_0x1bf5f8(0x1b5)](_0x406309[_0x1bf5f8(0x1fe)]),_0x406309[_0x1bf5f8(0x1d5)]);})();}catch(_0x547c7d){logger[_0x9a676c(0x1fc)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x547c7d);}try{if(this[_0x9a676c(0x245)]['accessibilityScanStarted']&&globals[_0x9a676c(0x1b9)](_0x406309[_0x9a676c(0x1e4)])&&globals[_0x9a676c(0x1b9)](_0x406309[_0x9a676c(0x215)])){logger['info'](_0x406309['GjMVO']);const _0x5eee46={};_0x5eee46[_0x9a676c(0x229)]=this[_0x9a676c(0x245)][_0x9a676c(0x1bf)],_0x5eee46[_0x9a676c(0x206)]=process[_0x9a676c(0x204)][testHubConstants[_0x9a676c(0x236)][_0x9a676c(0x23e)]],_0x5eee46['thJwtToken']=process[_0x9a676c(0x204)][testHubConstants[_0x9a676c(0x236)][_0x9a676c(0x19e)]];const _0x5a8704=_0x5eee46;logger['debug'](_0x9a676c(0x24c)+JSON[_0x9a676c(0x1b5)](_0x5a8704)),logger[_0x9a676c(0x1fc)](_0x406309['IDWdl']);const _0x31986f={};_0x31986f[_0x9a676c(0x1cc)]=_0x406309[_0x9a676c(0x200)];const _0xe8250f=await PerformanceTester[_0x9a676c(0x1ab)](PerformanceA11yEvents[_0x9a676c(0x19c)],async()=>{const _0x4bba1e=_0x9a676c;return await accessibilityRetryHelper[_0x4bba1e(0x1b1)](global['__drivers'][0x0],global[_0x4bba1e(0x228)]);},_0x31986f)();_0xe8250f?logger['debug'](_0x406309[_0x9a676c(0x1bc)]):logger[_0x9a676c(0x1cd)](_0x406309['hbokp']);const _0x515aa3=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x9a676c(0x1c6)],async()=>{const _0x2b3d1e=_0x9a676c;return await accessibilityRetryHelper[_0x2b3d1e(0x1f3)](global[_0x2b3d1e(0x1df)][0x0],_0x5a8704);})();_0x515aa3?logger[_0x9a676c(0x1fc)](_0x406309['Xhdbw']):logger[_0x9a676c(0x1cd)](_0x406309['DJfgE']),logger[_0x9a676c(0x1c0)](_0x406309[_0x9a676c(0x24a)]);}}catch(_0x5690c6){logger[_0x9a676c(0x1a7)](_0x9a676c(0x240)+this['currentTest'][_0x9a676c(0x239)]()+_0x9a676c(0x1ce),_0x5690c6);}try{try{if(_0x406309[_0x9a676c(0x1d4)](shouldProcessEventForTesthub)){global[_0x9a676c(0x1df)][0x0]&&await _0x406309[_0x9a676c(0x1cf)](sendPlatformDetails,global['__drivers'][0x0],this[_0x9a676c(0x245)]?this[_0x9a676c(0x245)][_0x9a676c(0x1bf)]:null);if(_0x406309['IFIvV'](isBrowserstackInfra)){PerformanceTester[_0x9a676c(0x1e6)](PerformanceO11yEvents[_0x9a676c(0x1ac)]);const _0x337763='ObservabilitySync:'+Date[_0x9a676c(0x216)]();await _0x406309[_0x9a676c(0x21a)](_0x502ee2,JSON['stringify'](_0x337763),_0x406309[_0x9a676c(0x1f5)]),PerformanceTester[_0x9a676c(0x1dd)](PerformanceO11yEvents[_0x9a676c(0x1ac)]);}}}catch(_0x3365cc){logger[_0x9a676c(0x1fc)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x3365cc),PerformanceTester[_0x9a676c(0x1dd)](PerformanceO11yEvents[_0x9a676c(0x1ac)],![],_0x3365cc);}_0x406309['xjelD'](global[_0x9a676c(0x1df)][0x0][_0x9a676c(0x195)],0x0)&&await global[_0x9a676c(0x1c3)]();}catch(_0x5c32bc){logger[_0x9a676c(0x1fc)](_0x9a676c(0x22c)+_0x5c32bc);}_0x406309['uvqSB'](_0x5bd16b);})[_0x131647(0x1fa)](()=>{const _0x10cc56=_0x131647;_0x4be107[_0x10cc56(0x224)](_0x1983d2);});},{'platform':_0x4be107[_0x48d1ab(0x211)](nestedKeyValue,global[_0x48d1ab(0x1a2)],[_0x4be107[_0x48d1ab(0x1de)]]),'hookType':_0x4be107[_0x48d1ab(0x22e)]})();},'afterAll'(_0x27090f){const _0x263b77=a36_0x3528cf,_0x521325={'LOicp':function(_0x1ae56f){return _0x1ae56f();},'xHOAf':_0x263b77(0x1da),'xqXMZ':function(_0x1e2d4d,_0x3aa360,_0x1f0226){return _0x1e2d4d(_0x3aa360,_0x1f0226);},'wRCNG':_0x263b77(0x237),'KQXJW':_0x263b77(0x242)},_0x27cc99='browserstack internal helper hook';this[_0x263b77(0x1d0)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x521325[_0x263b77(0x208)]]),PerformanceTester[_0x263b77(0x1ab)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5b0695=_0x263b77,_0x9476ef={'pIIsP':function(_0x49b846){const _0x298d34=a36_0x234a;return _0x521325[_0x298d34(0x1ba)](_0x49b846);}};new Promise(async _0x3c3046=>{const _0xc943b2=a36_0x234a;await global[_0xc943b2(0x1c3)](),_0x9476ef[_0xc943b2(0x1ed)](_0x3c3046);})['then']()[_0x5b0695(0x22f)](()=>{const _0x431441=_0x5b0695;_0x521325[_0x431441(0x1ba)](_0x27090f);});},{'platform':_0x521325[_0x263b77(0x218)](nestedKeyValue,global[_0x263b77(0x1a2)],[_0x521325['wRCNG']]),'hookType':_0x521325[_0x263b77(0x1a4)]})();}};
|
|
1
|
+
const a36_0x431cad=a36_0x1f60;function a36_0x1f60(_0x3d814b,_0x2ea0cd){const _0x4897a6=a36_0x4897();return a36_0x1f60=function(_0x1f6093,_0x16493d){_0x1f6093=_0x1f6093-0xd0;let _0x38d298=_0x4897a6[_0x1f6093];return _0x38d298;},a36_0x1f60(_0x3d814b,_0x2ea0cd);}(function(_0x35d7db,_0x462ede){const _0x440316=a36_0x1f60,_0x2082d4=_0x35d7db();while(!![]){try{const _0x1e0d14=parseInt(_0x440316(0x186))/0x1*(-parseInt(_0x440316(0x152))/0x2)+-parseInt(_0x440316(0xf4))/0x3*(parseInt(_0x440316(0x13c))/0x4)+-parseInt(_0x440316(0x12e))/0x5+parseInt(_0x440316(0x12d))/0x6+parseInt(_0x440316(0x124))/0x7+parseInt(_0x440316(0x15f))/0x8*(-parseInt(_0x440316(0x109))/0x9)+-parseInt(_0x440316(0x10f))/0xa*(-parseInt(_0x440316(0xdd))/0xb);if(_0x1e0d14===_0x462ede)break;else _0x2082d4['push'](_0x2082d4['shift']());}catch(_0xeb9731){_0x2082d4['push'](_0x2082d4['shift']());}}}(a36_0x4897,0x45891));const util=require(a36_0x431cad(0x150)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x431cad(0x157)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x431cad(0x164)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x431cad(0x17a)),PerformanceTester=require(a36_0x431cad(0xfc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x431cad(0xec)),logger=require('../../helpers/logger')[a36_0x431cad(0x119)],{shouldProcessEventForTesthub}=require(a36_0x431cad(0x17b)),testHubConstants=require(a36_0x431cad(0x135));function a36_0x4897(){const _0x478f00=['jikkd','pqTlF','XwZgm','twsfe','iNmLB','../../helpers/performance/performance-tester','nyQSK','qnqyL','KbChX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','JeXiI','GWUIx','XKpKi','cxDUK','ksWAk','hnxLN','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeScript','9newFXB','qPjhA','hCVCE','NdLkX','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Passed','8467000bHOQGE','ENV_VAR','Accessibility\x20results\x20saved\x20successfully','SESSION_NAME','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','aifGY','end','ZXgrR','shift','now','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LNdFL','\x20-\x20','lbGWc','__drivers','oPnvc','GRAJQ','env','titlePath','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','2167592WXWShY','ZNBvr','bstackA11yShouldScan','error','warn',',\x22level\x22:\x20\x22','IPYaC','finally','__sessionFailed','3042864hcIZKz','2336605CezwTS','bBViZ','SlMDy','BEaot','start','info','WvuKO','../../helpers/testhub/constants','accessibilityScanStarted','IawFq','Gctjn','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','SYNC','aLRRB','4jiGMAB','AbWwZ','oaBqI','Failed:\x20','join','inKzW','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','debug','mgnsn','myGeg','__skipSessionName','then','ORiRv','GCrht','xUliS','length','SESSION_STATUS','__error_messages__','setGlobal','ObservabilitySync:','util','getGlobal','45634FDErYi','BROWSERSTACK_TESTHUB_JWT','mWtcB','OmIyS','afterTest','../../helpers/accessibility-automation/accessibilityRetryHelper','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','index','rDCxO','vNQSq','jNsoa','JGltu','icCDz','4057112bNZoKO','shouldScanTestForAccessibility','message','measureWrapper','driverCleanup','../../helpers/percy/utils','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','NFoEl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','GAznu','SAVE_RESULTS','nfqSE','getCurrentUrl','err','timeout','isArray','zRQoq','uDcPt','command','percyCaptureMode','nyXKM','BROWSERSTACK_TESTHUB_UUID','zBCEb','SDK_HOOK','session_','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','MaUjl','../../helpers/helper','../../helpers/testhub/utils','ZutZl','Failed\x20to\x20store\x20session\x20name:\x20','isAccessibilityPlatform','eCyRU','Automate\x20test\x20case\x20execution\x20has\x20started.','sessionNameSet__','aWiWc','WRhmq','imptz','KeoNN','14Gbtkwa','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','afterAll','browserstackSessionName','dRaqp','jrbmP','mochaHooks','gzAkN','appium:app','stringify','protocol','testAnalyticsId','passed','gjNRT','11soAydE','cCmnN','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','aBOHq','http:','push','app','thJwtToken','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','oDdoq','__platformCaps','currentTest','Accessibility\x20scan\x20completed\x20successfully','initQuit','Xrihp','../../helpers/globals','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','QWWKN','capabilities','browserstackTestName','quitCount_','KTThP','performScanWithRetry','254355gMSzgB','testcase','Mocha'];a36_0x4897=function(){return _0x478f00;};return a36_0x4897();}exports[a36_0x431cad(0xd5)]={'beforeAll'(){const _0x9e2d8=a36_0x431cad,_0xe38a48={'nyXKM':function(_0x422731,_0x5679b8,_0x424f7c,_0xa000c4){return _0x422731(_0x5679b8,_0x424f7c,_0xa000c4);},'cWMhx':'failed','dRaqp':'\x20|\x20','NFoEl':function(_0x5f1866,_0x37af8f,_0x42b57c){return _0x5f1866(_0x37af8f,_0x42b57c);},'ksWAk':_0x9e2d8(0xdb),'ORiRv':function(_0x28cbd5){return _0x28cbd5();},'OmIyS':_0x9e2d8(0x159),'cxDUK':'beforeAll'};PerformanceTester['startMonitoring']();const _0x6915d4='browserstack internal helper hook';PerformanceTester[_0x9e2d8(0x162)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1e251b=_0x9e2d8;global['__error_messages__']=[],global[_0x1e251b(0x12c)]=![],global[_0x1e251b(0x163)]=async()=>{const _0x449bc3=_0x1e251b;let _0x1cca85=![];try{await global[_0x449bc3(0x11e)][0x0][_0x449bc3(0x177)],_0x1cca85=!![],global[_0x449bc3(0x12c)]?await _0xe38a48[_0x449bc3(0x173)](markSessionStatus,global[_0x449bc3(0x11e)][0x0],_0xe38a48['cWMhx'],global[_0x449bc3(0x14d)]['join'](_0xe38a48[_0x449bc3(0xd3)])):await _0xe38a48[_0x449bc3(0x166)](markSessionStatus,global[_0x449bc3(0x11e)][0x0],_0xe38a48[_0x449bc3(0x105)]);}catch(_0x3c1702){logger['debug'](_0x449bc3(0xed)+_0x3c1702);}global['__error_messages__']=[],global[_0x449bc3(0x12c)]=![];if(_0x1cca85)try{try{_0xe38a48[_0x449bc3(0x148)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xe38a48[_0x449bc3(0x166)](sendPlatformDetails,global['__drivers'][0x0],this[_0x449bc3(0xe8)]?this[_0x449bc3(0xe8)][_0x449bc3(0xda)]:null));}catch(_0x484dd1){logger['debug'](_0x449bc3(0x142)+_0x484dd1);}await global['__drivers'][0x0][_0x449bc3(0xea)]();}catch(_0x9b1475){logger[_0x449bc3(0x143)](_0x449bc3(0xdf)+_0x9b1475);}};},{'platform':_0xe38a48[_0x9e2d8(0x166)](nestedKeyValue,global[_0x9e2d8(0xe7)],[_0xe38a48[_0x9e2d8(0x155)]]),'hookType':_0xe38a48[_0x9e2d8(0x104)]})();},'beforeEach'(_0x92736){const _0x4c8aa4=a36_0x431cad,_0x3b26b7={'aWiWc':function(_0x5b88cc,_0x1ff8b3){return _0x5b88cc>_0x1ff8b3;},'aifGY':_0x4c8aa4(0x11c),'imptz':function(_0x349427,_0x54638c,_0x16d133){return _0x349427(_0x54638c,_0x16d133);},'MaUjl':_0x4c8aa4(0x126),'oaBqI':function(_0x232dc0){return _0x232dc0();},'AbWwZ':'isAccessibilityPlatform','oDdoq':function(_0x47adb5,_0x5d09d5){return _0x47adb5===_0x5d09d5;},'hCVCE':_0x4c8aa4(0xe1),'ZNBvr':'https:','nyQSK':_0x4c8aa4(0xd0),'RTroq':_0x4c8aa4(0x180),'twsfe':_0x4c8aa4(0xf0),'myGeg':function(_0x2c3c5b,_0x2887f1,_0x4bbb19){return _0x2c3c5b(_0x2887f1,_0x4bbb19);},'qnqyL':_0x4c8aa4(0x159),'qPjhA':'beforeEach'};globals[_0x4c8aa4(0x14e)](_0x3b26b7[_0x4c8aa4(0xfa)],this[_0x4c8aa4(0xe8)]['titlePath']()['join'](_0x3b26b7[_0x4c8aa4(0x114)])),PerformanceTester[_0x4c8aa4(0x162)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x301101=_0x4c8aa4,_0x21d16f={'GWUIx':function(_0x26e625,_0x2cebf5){return _0x3b26b7['aWiWc'](_0x26e625,_0x2cebf5);},'hnxLN':function(_0x30b4e4,_0x2a1885){const _0x5bf8a4=a36_0x1f60;return _0x3b26b7[_0x5bf8a4(0x182)](_0x30b4e4,_0x2a1885);},'jikkd':_0x3b26b7[_0x301101(0x114)],'LNdFL':function(_0x533467,_0x141925,_0xfaadf2){const _0x36e189=_0x301101;return _0x3b26b7[_0x36e189(0x184)](_0x533467,_0x141925,_0xfaadf2);},'icCDz':_0x3b26b7[_0x301101(0x179)],'mgnsn':function(_0x3b407f){const _0xdce71d=_0x301101;return _0x3b26b7[_0xdce71d(0x13e)](_0x3b407f);},'jrbmP':_0x3b26b7[_0x301101(0x13d)],'efNMi':function(_0x346699,_0x471f95){const _0x56a418=_0x301101;return _0x3b26b7[_0x56a418(0xe6)](_0x346699,_0x471f95);},'bAnKB':_0x3b26b7[_0x301101(0x10b)],'zRQoq':_0x3b26b7[_0x301101(0x125)],'Xrihp':_0x3b26b7[_0x301101(0xfd)],'WvuKO':_0x3b26b7['RTroq']},_0x3d2f33='browserstack internal helper hook';new Promise(async _0x34e117=>{const _0xd96a92=_0x301101;let _0x5f305a=!![];try{_0x21d16f[_0xd96a92(0x102)](global['__drivers']['length'],0x1)&&(await global[_0xd96a92(0x163)](),global[_0xd96a92(0x11e)][_0xd96a92(0x117)]()),_0x21d16f[_0xd96a92(0x106)](global['__drivers'][0x0][_0xd96a92(0xf1)],0x0)&&(_0x5f305a=![],await global[_0xd96a92(0x163)]());}catch(_0x56e4c9){logger[_0xd96a92(0x143)](_0xd96a92(0xdf)+_0x56e4c9);}try{Array[_0xd96a92(0x16e)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0xd96a92(0x11e)][0x0][_0xd96a92(0xd2)]=this['currentTest']['titlePath']()[_0xd96a92(0x140)](_0x21d16f[_0xd96a92(0xf7)])),global[_0xd96a92(0xd2)]=this[_0xd96a92(0xe8)]['titlePath']()[_0xd96a92(0x140)](_0x21d16f[_0xd96a92(0xf7)]);}catch(_0x555bbb){logger[_0xd96a92(0x143)](_0xd96a92(0x17d)+_0x555bbb);}this[_0xd96a92(0xe8)][_0xd96a92(0x160)]=_0x21d16f[_0xd96a92(0x11b)](shouldScanTestForAccessibility,this[_0xd96a92(0xe8)][_0xd96a92(0x122)](),!![]),globals[_0xd96a92(0x14e)](_0x21d16f[_0xd96a92(0x15e)],this[_0xd96a92(0xe8)][_0xd96a92(0x160)]),this[_0xd96a92(0xe8)][_0xd96a92(0x136)]=!![];if(_0x21d16f['mgnsn'](isAccessibilityAutomationSession)&&_0x5f305a&&Array[_0xd96a92(0x16e)](global[_0xd96a92(0x11e)])&&_0x21d16f['GWUIx'](global['__drivers'][_0xd96a92(0x14b)],0x0)&&globals['getGlobal'](_0x21d16f[_0xd96a92(0xd4)]))try{const _0x4d66cc=await global['__drivers'][0x0]['session_'];if(_0x4d66cc){let _0x5c7f87=!![];const _0x19b1d9=await global[_0xd96a92(0x11e)][0x0][_0xd96a92(0x16b)]();let _0x623da8;try{_0x623da8=new URL(_0x19b1d9);}catch(_0x5a1974){_0x5c7f87=![];}_0x5c7f87=_0x21d16f['efNMi'](_0x623da8[_0xd96a92(0xd9)],_0x21d16f['bAnKB'])||_0x21d16f['efNMi'](_0x623da8[_0xd96a92(0xd9)],_0x21d16f[_0xd96a92(0x16f)]),_0x5c7f87&&(this[_0xd96a92(0xe8)][_0xd96a92(0x160)]&&logger['info'](_0x21d16f[_0xd96a92(0xeb)])),this['currentTest'][_0xd96a92(0x136)]=this[_0xd96a92(0xe8)]['shouldScanTestForAccessibility'],this[_0xd96a92(0xe8)][_0xd96a92(0x160)]&&logger[_0xd96a92(0x133)](_0x21d16f[_0xd96a92(0x134)]);}}catch(_0x5075c8){logger['error'](_0xd96a92(0x113)+util['format'](_0x5075c8));}_0x21d16f[_0xd96a92(0x144)](_0x34e117);})['then'](()=>{const _0xfd8a82=_0x301101;_0x21d16f[_0xfd8a82(0x144)](_0x92736);});},{'platform':_0x3b26b7[_0x4c8aa4(0x145)](nestedKeyValue,global[_0x4c8aa4(0xe7)],[_0x3b26b7[_0x4c8aa4(0xfe)]]),'hookType':_0x3b26b7[_0x4c8aa4(0x10a)]})();},'afterEach'(_0x72b2b8){const _0x33f283=a36_0x431cad,_0x3b5854={'xXKZJ':function(_0x5348b2,_0x3ea9bc){return _0x5348b2!==_0x3ea9bc;},'xUliS':_0x33f283(0xdb),'RzeOT':function(_0x597915,_0x58344f,_0x3a5c5c){return _0x597915(_0x58344f,_0x3a5c5c);},'iNmLB':function(_0x26b9d8,_0x24f974){return _0x26b9d8+_0x24f974;},'JeXiI':_0x33f283(0x13f),'bbDFg':_0x33f283(0x127),'BEaot':_0x33f283(0x10e),'WRhmq':_0x33f283(0x133),'eCyRU':function(_0x40d482,_0xf06804){return _0x40d482>_0xf06804;},'XwZgm':function(_0x2985cb,_0x5c45d6){return _0x2985cb===_0x5c45d6;},'KeoNN':_0x33f283(0xf5),'ZXgrR':function(_0x2fe372,_0x383290){return _0x2fe372>_0x383290;},'JGltu':_0x33f283(0xd7),'kPOpa':function(_0x5e9eb1,_0x57fc15,_0x14b0f4,_0x53c3a4){return _0x5e9eb1(_0x57fc15,_0x14b0f4,_0x53c3a4);},'uDcPt':_0x33f283(0x17e),'gzAkN':_0x33f283(0x126),'vNQSq':_0x33f283(0x10d),'GAznu':_0x33f283(0x123),'pqTlF':_0x33f283(0x156),'mWtcB':_0x33f283(0xe9),'XKpKi':_0x33f283(0x139),'NdLkX':_0x33f283(0x111),'sSJHf':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','aLRRB':_0x33f283(0x167),'gjNRT':function(_0x20a493){return _0x20a493();},'YTIOM':function(_0xb9c072,_0x5f4d9d,_0x340a34){return _0xb9c072(_0x5f4d9d,_0x340a34);},'GCrht':function(_0x4999a5){return _0x4999a5();},'cCmnN':function(_0x4523ac,_0x4d9170,_0x32123a){return _0x4523ac(_0x4d9170,_0x32123a);},'SlMDy':_0x33f283(0x143),'oPnvc':function(_0xf0aff4){return _0xf0aff4();},'KTThP':_0x33f283(0x11c),'IawFq':_0x33f283(0xf6),'jNsoa':function(_0x4f2b64,_0x57312d,_0x33dca6){return _0x4f2b64(_0x57312d,_0x33dca6);},'zBCEb':_0x33f283(0x159),'KbChX':'afterEach'},_0x4a5889='browserstack internal helper hook';this[_0x33f283(0x16d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b5854[_0x33f283(0x137)]]),global['sessionName']=this[_0x33f283(0xe8)][_0x33f283(0x122)]()[_0x33f283(0x140)](_0x3b5854[_0x33f283(0xf2)]),PerformanceTester[_0x33f283(0x162)](PerformanceSdkEvents[_0x33f283(0x176)],()=>{const _0x1a30d8=_0x33f283,_0x38ba81={'gTefX':_0x3b5854['KTThP'],'IPYaC':function(_0x1c1337){const _0x4352ac=a36_0x1f60;return _0x3b5854[_0x4352ac(0x149)](_0x1c1337);}},_0x387dfb=async(_0x35c5c3,_0x13a783)=>{const _0x54b500=a36_0x1f60;await global[_0x54b500(0x11e)][0x0][_0x54b500(0x108)](_0x54b500(0x100)+_0x35c5c3+_0x54b500(0x129)+_0x13a783+'\x22}}');};new Promise(async _0x123624=>{const _0x30eb59=a36_0x1f60,_0x55babe={'QWWKN':function(_0x1746c1,_0x2b8de7){return _0x3b5854['xXKZJ'](_0x1746c1,_0x2b8de7);},'bBViZ':_0x3b5854[_0x30eb59(0x14a)],'GRAJQ':function(_0x488e03,_0x12b9c1,_0x38e95f){return _0x3b5854['RzeOT'](_0x488e03,_0x12b9c1,_0x38e95f);},'BnyEi':function(_0x3efc83,_0x2b7964){const _0x5bdb6e=_0x30eb59;return _0x3b5854[_0x5bdb6e(0xfb)](_0x3efc83,_0x2b7964);},'ZutZl':_0x3b5854[_0x30eb59(0x101)],'aBOHq':_0x3b5854['bbDFg'],'IPJQI':_0x3b5854[_0x30eb59(0x131)],'inKzW':_0x3b5854[_0x30eb59(0x183)]};try{_0x3b5854[_0x30eb59(0x17f)](global[_0x30eb59(0x11e)][_0x30eb59(0x14b)],0x1)&&(await global[_0x30eb59(0x163)](),global[_0x30eb59(0x11e)][_0x30eb59(0x117)](),global[_0x30eb59(0x14d)]=[],global[_0x30eb59(0x12c)]=![]);try{if(global['percy']&&_0x3b5854[_0x30eb59(0xf9)](global[_0x30eb59(0x172)],_0x3b5854[_0x30eb59(0x185)])&&global[_0x30eb59(0x11e)][0x0]){const _0x43b221=_0x3b5854[_0x30eb59(0x116)](global['capabilities']['length'],0x0)?!!global[_0x30eb59(0xef)][0x0][_0x30eb59(0xe3)]||!!global['capabilities'][0x0][_0x3b5854[_0x30eb59(0x15d)]]:![],_0x282244={};_0x282244[_0x30eb59(0xe3)]=_0x43b221,await _0x3b5854['kPOpa'](percyAutoCapture,global[_0x30eb59(0x11e)][0x0],_0x3b5854[_0x30eb59(0x185)],_0x282244);}}catch(_0x17d65d){logger['debug'](_0x30eb59(0x107)+_0x17d65d);}!global[_0x30eb59(0x146)]&&(await PerformanceTester[_0x30eb59(0x162)](PerformanceAutEvents[_0x30eb59(0x112)],async()=>{const _0x9bb9b7=_0x30eb59;await global[_0x9bb9b7(0x11e)][0x0][_0x9bb9b7(0x108)](_0x9bb9b7(0xe5)+JSON[_0x9bb9b7(0xd8)](this['currentTest']['titlePath']()[_0x9bb9b7(0x140)](_0x38ba81['gTefX']))+'}}');})(),global['__drivers'][0x0][_0x30eb59(0x181)]=!![]),await PerformanceTester[_0x30eb59(0x162)](PerformanceAutEvents[_0x30eb59(0x14c)],async()=>{const _0x40c88e=_0x30eb59,_0x1f4de6=_0x55babe[_0x40c88e(0xee)](this[_0x40c88e(0xe8)]['state'],_0x55babe[_0x40c88e(0x12f)]);_0x1f4de6?(global[_0x40c88e(0x12c)]=!![],global[_0x40c88e(0x14d)][_0x40c88e(0xe2)](this[_0x40c88e(0xe8)][_0x40c88e(0x16c)][_0x40c88e(0x161)]),await _0x55babe[_0x40c88e(0x120)](_0x387dfb,JSON[_0x40c88e(0xd8)](_0x55babe['BnyEi'](_0x55babe[_0x40c88e(0x17c)],this[_0x40c88e(0xe8)][_0x40c88e(0x16c)][_0x40c88e(0x161)])),_0x55babe[_0x40c88e(0xe0)])):await _0x55babe[_0x40c88e(0x120)](_0x387dfb,JSON['stringify'](_0x55babe['IPJQI']),_0x55babe[_0x40c88e(0x141)]);})();}catch(_0x1098cf){logger[_0x30eb59(0x143)](_0x30eb59(0x158)+_0x1098cf);}try{if(this[_0x30eb59(0xe8)][_0x30eb59(0x136)]&&globals[_0x30eb59(0x151)](_0x3b5854[_0x30eb59(0x170)])&&globals[_0x30eb59(0x151)](_0x3b5854[_0x30eb59(0xd6)])){logger[_0x30eb59(0x133)](_0x3b5854[_0x30eb59(0x15b)]);const _0x1321ae={};_0x1321ae['thTestRunUuid']=this['currentTest']['testAnalyticsId'],_0x1321ae['thBuildUuid']=process[_0x30eb59(0x121)][testHubConstants['ENV_VAR'][_0x30eb59(0x174)]],_0x1321ae[_0x30eb59(0xe4)]=process['env'][testHubConstants[_0x30eb59(0x110)][_0x30eb59(0x153)]];const _0x1654be=_0x1321ae;logger[_0x30eb59(0x143)](_0x30eb59(0x11a)+JSON[_0x30eb59(0xd8)](_0x1654be)),logger['debug'](_0x3b5854[_0x30eb59(0x168)]);const _0x1f2e66={};_0x1f2e66[_0x30eb59(0x171)]=_0x3b5854[_0x30eb59(0xf8)];const _0x4cf0dd=await PerformanceTester[_0x30eb59(0x162)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x34420f=_0x30eb59;return await accessibilityRetryHelper[_0x34420f(0xf3)](global['__drivers'][0x0],global[_0x34420f(0xd2)]);},_0x1f2e66)();_0x4cf0dd?logger[_0x30eb59(0x143)](_0x3b5854[_0x30eb59(0x154)]):logger[_0x30eb59(0x128)](_0x3b5854[_0x30eb59(0x103)]);const _0x2b116f=await PerformanceTester[_0x30eb59(0x162)](PerformanceA11yEvents[_0x30eb59(0x169)],async()=>{const _0x1ddd19=_0x30eb59;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x1ddd19(0x11e)][0x0],_0x1654be);})();_0x2b116f?logger['debug'](_0x3b5854[_0x30eb59(0x10c)]):logger[_0x30eb59(0x128)](_0x3b5854['sSJHf']),logger['info'](_0x3b5854[_0x30eb59(0x13b)]);}}catch(_0x4263e3){logger['error'](_0x30eb59(0x165)+this[_0x30eb59(0xe8)][_0x30eb59(0x122)]()+'.\x20Error\x20:',_0x4263e3);}try{try{if(_0x3b5854[_0x30eb59(0xdc)](shouldProcessEventForTesthub)){global[_0x30eb59(0x11e)][0x0]&&await _0x3b5854['YTIOM'](sendPlatformDetails,global['__drivers'][0x0],this[_0x30eb59(0xe8)]?this[_0x30eb59(0xe8)]['testAnalyticsId']:null);if(_0x3b5854[_0x30eb59(0x149)](isBrowserstackInfra)){PerformanceTester[_0x30eb59(0x132)](PerformanceO11yEvents[_0x30eb59(0x13a)]);const _0x2ba10a=_0x30eb59(0x14f)+Date[_0x30eb59(0x118)]();await _0x3b5854[_0x30eb59(0xde)](_0x387dfb,JSON[_0x30eb59(0xd8)](_0x2ba10a),_0x3b5854[_0x30eb59(0x130)]),PerformanceTester[_0x30eb59(0x115)](PerformanceO11yEvents[_0x30eb59(0x13a)]);}}}catch(_0x2bba4a){logger[_0x30eb59(0x143)](_0x30eb59(0x178)+_0x2bba4a),PerformanceTester[_0x30eb59(0x115)](PerformanceO11yEvents[_0x30eb59(0x13a)],![],_0x2bba4a);}_0x3b5854[_0x30eb59(0x17f)](global['__drivers'][0x0][_0x30eb59(0xf1)],0x0)&&await global[_0x30eb59(0x163)]();}catch(_0x14e2ea){logger[_0x30eb59(0x143)](_0x30eb59(0xdf)+_0x14e2ea);}_0x3b5854[_0x30eb59(0x11f)](_0x123624);})[_0x1a30d8(0x147)](()=>{const _0x478d78=_0x1a30d8;_0x38ba81[_0x478d78(0x12a)](_0x72b2b8);});},{'platform':_0x3b5854[_0x33f283(0x15c)](nestedKeyValue,global[_0x33f283(0xe7)],[_0x3b5854[_0x33f283(0x175)]]),'hookType':_0x3b5854[_0x33f283(0xff)]})();},'afterAll'(_0x263dd1){const _0x230f35=a36_0x431cad,_0x4cae07={'Gctjn':function(_0x4b0552){return _0x4b0552();},'UFqEJ':_0x230f35(0xf6),'FjSTV':function(_0x502484,_0x1c4bd2,_0x128bf3){return _0x502484(_0x1c4bd2,_0x128bf3);},'lbGWc':_0x230f35(0x159),'rDCxO':_0x230f35(0xd1)},_0x10aa2e='browserstack internal helper hook';this[_0x230f35(0x16d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4cae07['UFqEJ']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4d0146=_0x230f35,_0x29a132={'nfqSE':function(_0x368e81){return _0x4cae07['Gctjn'](_0x368e81);}};new Promise(async _0x1d9157=>{const _0xd58f57=a36_0x1f60;await global[_0xd58f57(0x163)](),_0x29a132[_0xd58f57(0x16a)](_0x1d9157);})[_0x4d0146(0x147)]()[_0x4d0146(0x12b)](()=>{const _0x161eae=_0x4d0146;_0x4cae07[_0x161eae(0x138)](_0x263dd1);});},{'platform':_0x4cae07['FjSTV'](nestedKeyValue,global[_0x230f35(0xe7)],[_0x4cae07[_0x230f35(0x11d)]]),'hookType':_0x4cae07[_0x230f35(0x15a)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x51d7ec=a37_0x5675;(function(_0x5e0401,_0x37453b){const _0x3ff591=a37_0x5675,_0x29785a=_0x5e0401();while(!![]){try{const _0x4907fe=parseInt(_0x3ff591(0x174))/0x1*(parseInt(_0x3ff591(0x176))/0x2)+-parseInt(_0x3ff591(0x185))/0x3*(-parseInt(_0x3ff591(0x178))/0x4)+-parseInt(_0x3ff591(0x19f))/0x5*(-parseInt(_0x3ff591(0x1a9))/0x6)+parseInt(_0x3ff591(0x1a7))/0x7*(-parseInt(_0x3ff591(0x18e))/0x8)+parseInt(_0x3ff591(0x186))/0x9*(parseInt(_0x3ff591(0x183))/0xa)+-parseInt(_0x3ff591(0x1ae))/0xb+-parseInt(_0x3ff591(0x18a))/0xc;if(_0x4907fe===_0x37453b)break;else _0x29785a['push'](_0x29785a['shift']());}catch(_0xc9f3e7){_0x29785a['push'](_0x29785a['shift']());}}}(a37_0xbc1d,0xe333e));const fs=require('fs'),path=require(a37_0x51d7ec(0x196)),{spawn}=require(a37_0x51d7ec(0x171)),logger=require(a37_0x51d7ec(0x1a6))[a37_0x51d7ec(0x189)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a37_0x51d7ec(0x1b0)),constants=require(a37_0x51d7ec(0x175)),getUserNightwatchConfigs=(_0x3c802b,_0x311418)=>{const _0x345e67=a37_0x51d7ec,_0x5da397={'QQUIQ':_0x345e67(0x19a),'lpvhU':'nightwatch.json','KdBXl':function(_0x426978,_0x182617){return _0x426978(_0x182617);},'bkMUJ':_0x345e67(0x197)};let _0x5244a1=null,_0x291fd3={};const _0xd1c0e5=_0x311418[_0x345e67(0x19d)](_0x3462bb=>_0x3462bb===_0x345e67(0x17f));if(!helper[_0x345e67(0x194)](_0x3c802b[_0x345e67(0x18c)])&&fs[_0x345e67(0x1a1)](path[_0x345e67(0x18f)](process[_0x345e67(0x16e)](),_0x3c802b[_0x345e67(0x18c)])))_0x5244a1=path['join'](process[_0x345e67(0x16e)](),_0x3c802b[_0x345e67(0x18c)]),_0x311418[_0x345e67(0x180)](_0xd1c0e5,0x2);else{if(fs[_0x345e67(0x1a1)](path[_0x345e67(0x18f)](process['cwd'](),_0x5da397[_0x345e67(0x182)])))_0x5244a1=path[_0x345e67(0x18f)](process[_0x345e67(0x16e)](),_0x5da397['QQUIQ']);else fs[_0x345e67(0x1a1)](path['join'](process[_0x345e67(0x16e)](),_0x5da397[_0x345e67(0x17c)]))&&(_0x5244a1=path[_0x345e67(0x18f)](process[_0x345e67(0x16e)](),_0x5da397[_0x345e67(0x17c)]));}return _0x5244a1?(logger[_0x345e67(0x1b4)](_0x345e67(0x187)+_0x5244a1),_0x291fd3=_0x5da397[_0x345e67(0x172)](require,_0x5244a1)):logger[_0x345e67(0x1b4)](_0x5da397[_0x345e67(0x1b2)]),_0x291fd3;},removeExistingEnvs=_0x3cc48e=>{const _0xc7f104=a37_0x51d7ec,_0x46d972={};_0x46d972[_0xc7f104(0x16b)]=function(_0x293bcd,_0x18715a){return _0x293bcd>_0x18715a;},_0x46d972['XUFoA']=function(_0x3fbd1a,_0xa5ad1d){return _0x3fbd1a>_0xa5ad1d;};const _0x14b72c=_0x46d972;let _0xd451a=_0x3cc48e[_0xc7f104(0x19d)](_0x2df274=>_0x2df274==='--env');_0x14b72c[_0xc7f104(0x16b)](_0xd451a,-0x1)&&_0x3cc48e[_0xc7f104(0x180)](_0xd451a,0x2),_0xd451a=_0x3cc48e[_0xc7f104(0x19d)](_0x14d48a=>_0x14d48a==='-e'),_0x14b72c['XUFoA'](_0xd451a,-0x1)&&_0x3cc48e['splice'](_0xd451a,0x2);};function run(_0x475ba2,_0x362fbe,_0x412d82){const _0x30f3cc=a37_0x51d7ec,_0x37b617={'BiYgy':'nightwatch','uZZKy':function(_0x3a8b89,_0x4e7080){return _0x3a8b89+_0x4e7080;},'QoMiq':_0x30f3cc(0x184),'srmUk':function(_0x394d20,_0x1244ae,_0x9e8fb3){return _0x394d20(_0x1244ae,_0x9e8fb3);},'GunHc':_0x30f3cc(0x1b5),'wYMWp':_0x30f3cc(0x17d),'WqBOK':function(_0x304083,_0x3976f1){return _0x304083===_0x3976f1;},'dmvWY':'nightwatch-browserstack.json','ZLCBF':function(_0x5a00cd,_0x128b2f){return _0x5a00cd(_0x128b2f);},'hCtaK':function(_0x4da650,_0x3a3240,_0x1d2fe1,_0x4d785e){return _0x4da650(_0x3a3240,_0x1d2fe1,_0x4d785e);},'mYlwJ':_0x30f3cc(0x19e),'xTIhu':_0x30f3cc(0x17f),'wzGib':_0x30f3cc(0x188),'MENeG':'inherit','Lhogo':_0x30f3cc(0x179)};if(!_0x412d82[_0x30f3cc(0x18c)])return;const _0x38934b=_0x37b617['srmUk'](getUserNightwatchConfigs,_0x475ba2,_0x362fbe),_0x4eeb86={};_0x4eeb86['start_process']=![];const _0x12ee92={};_0x12ee92['host']=_0x37b617[_0x30f3cc(0x19c)],_0x12ee92[_0x30f3cc(0x18d)]=0x1bb;const _0x6362b3={};_0x6362b3['webdriver']=_0x4eeb86,_0x6362b3['selenium']=_0x12ee92;const _0x5d02c9=_0x6362b3;logger[_0x30f3cc(0x1b4)](_0x37b617['wYMWp']);const _0x300b0a={..._0x38934b},_0x45c51e=_0x300b0a,_0x336f6c=helper[_0x30f3cc(0x191)](_0x412d82[_0x30f3cc(0x18c)]),_0x39e8b2=[];_0x412d82['config'][_0x30f3cc(0x18b)][_0x30f3cc(0x1aa)]((_0x151683,_0x160da0)=>{const _0x2809ce=_0x30f3cc;_0x336f6c?_0x39e8b2[_0x2809ce(0x1a0)](helper['modifyBrowserStackW3CCaps'](_0x412d82[_0x2809ce(0x18c)],_0x37b617['BiYgy'],_0x160da0)):_0x39e8b2[_0x2809ce(0x1a0)](helper['modifyBrowserStackCaps'](_0x412d82['config'],_0x37b617[_0x2809ce(0x1b1)],_0x160da0));});const _0xbb4a2c={},_0x33cfca=[];_0x475ba2['env']=_0x475ba2[_0x30f3cc(0x16d)]||_0x475ba2['e'];const _0x45a371=_0x475ba2[_0x30f3cc(0x16d)]?_0x475ba2[_0x30f3cc(0x16d)]['trim']()[_0x30f3cc(0x1a8)](',')[_0x30f3cc(0x181)](_0x47ccf5=>_0x47ccf5[_0x30f3cc(0x17b)]())['filter'](_0x1371d3=>_0x1371d3!==''):[''];_0x37b617[_0x30f3cc(0x1a4)](_0x45a371[_0x30f3cc(0x177)],0x0)&&_0x45a371[_0x30f3cc(0x1a0)]('');_0x45a371['forEach'](_0x2dffde=>{_0x39e8b2['forEach'](_0x45f1cc=>{const _0x4424a5=a37_0x5675;let _0x3219fc=_0x37b617[_0x4424a5(0x190)](helper[_0x4424a5(0x1a3)](_0x45f1cc,'_'),'_'+Date[_0x4424a5(0x1af)]());_0x2dffde&&(_0x3219fc+='_'+_0x2dffde);if(_0x2dffde&&(!_0x38934b[_0x37b617[_0x4424a5(0x195)]]||!_0x38934b[_0x37b617[_0x4424a5(0x195)]][_0x2dffde]))return;const _0x58058f={..._0x5d02c9};_0x58058f['desiredCapabilities']=_0x45f1cc;const _0x3a75dc=_0x58058f;_0xbb4a2c[_0x3219fc]=_0x2dffde?helper[_0x4424a5(0x16c)](_0x38934b[_0x37b617[_0x4424a5(0x195)]][_0x2dffde],_0x3a75dc):_0x3a75dc,_0x33cfca[_0x4424a5(0x1a0)](_0x3219fc);});});!_0x45c51e[_0x30f3cc(0x184)]&&(_0x45c51e['test_settings']={});_0x45c51e['test_settings']={..._0x45c51e[_0x30f3cc(0x184)],..._0xbb4a2c};const _0x4aaa8c=path[_0x30f3cc(0x18f)](__dirname,_0x37b617[_0x30f3cc(0x173)]);fs['writeFileSync'](_0x4aaa8c,JSON[_0x30f3cc(0x16f)](_0x45c51e)),_0x37b617[_0x30f3cc(0x1ab)](removeExistingEnvs,_0x362fbe);const _0x2d95b5=_0x37b617[_0x30f3cc(0x198)](spawn,/^win/[_0x30f3cc(0x1a2)](process[_0x30f3cc(0x19b)])?_0x37b617['mYlwJ']:_0x37b617[_0x30f3cc(0x1b1)],[_0x37b617[_0x30f3cc(0x170)],_0x4aaa8c,..._0x362fbe[_0x30f3cc(0x1ac)](0x1),_0x37b617[_0x30f3cc(0x193)],_0x33cfca[_0x30f3cc(0x18f)](',')],{'stdio':_0x37b617[_0x30f3cc(0x17a)]});_0x2d95b5['on'](_0x37b617[_0x30f3cc(0x1ad)],async _0x432b2e=>{const _0x414634=_0x30f3cc;logger[_0x414634(0x17e)](_0x414634(0x1a5)+_0x432b2e),logger[_0x414634(0x1b4)](_0x414634(0x199)+_0x4aaa8c),fs[_0x414634(0x1b3)](_0x4aaa8c);});}module[a37_0x51d7ec(0x192)]=run;function a37_0x5675(_0x3ad642,_0x4eeade){const _0xbc1d2e=a37_0xbc1d();return a37_0x5675=function(_0x56758e,_0xba767a){_0x56758e=_0x56758e-0x16b;let _0x2bbc12=_0xbc1d2e[_0x56758e];return _0x2bbc12;},a37_0x5675(_0x3ad642,_0x4eeade);}function a37_0xbc1d(){const _0x4bdee4=['--env','winstonLogger','7729692NaBxbT','platforms','config','port','1655504kuaerG','join','uZZKy','useW3C','exports','wzGib','isUndefined','QoMiq','path','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','hCtaK','Deleting\x20','nightwatch.conf.js','platform','GunHc','findIndex','nightwatch.cmd','475yOTkqE','push','existsSync','test','getPlatformName','WqBOK','child\x20process\x20exited\x20with\x20code\x20','../../helpers/logger','14NkDIfq','split','80502QkNekg','forEach','ZLCBF','slice','Lhogo','12763795GwDxDf','now','../../helpers/helper','BiYgy','bkMUJ','unlinkSync','info','hub.browserstack.com','xTyur','mergeDeep','env','cwd','stringify','xTIhu','child_process','KdBXl','dmvWY','88NeLERD','../utils/constants','1064QCtPHY','length','183668ieHKfl','close','MENeG','trim','lpvhU','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','debug','--config','splice','map','QQUIQ','2663750NGqHFk','test_settings','102inAdfn','9fqbeHU','Getting\x20your\x20nightwatch\x20configs\x20from\x20'];a37_0xbc1d=function(){return _0x4bdee4;};return a37_0xbc1d();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x5336(){const _0x546c78=['soznI','213874syXvcm','env','\x20page:\x20','executeAsyncScript','Playwright','Rpftp','scannerVersion','WebDriver','use','warn','../../helpers/accessibility-automation/helper','url','accessibilityOptions.wcagVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','pJIUl','accessibilityOptions.scannerProcessingTimeout','bestPractice','accessibilityOptions.includeIssueType.needsReview','performScan','yXhsi','CMvmc','browserStackEvaluate','37895VXJell','pWrKj','project','connectOptions','xvjXQ','zYoHa','format','measureWrapper','accessibilityOptions.authToken','gkbpk','No\x20accessibility\x20results\x20were\x20found.','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','executeScript','YXaox','browser_version','XGnmb','8376NYbOXI','ndVSr','../../helpers/logger','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','(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','accessibilityOptions.includeIssueType.bestPractice','Jreeo','XXZgw','quRqj','needsReview','deviceName','RVKSv','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','accessibilityOptions.scannerVersion','latest','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includes','replace','browserStackExecuteDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','ItFlB','accessibilityOptions','2veZlrX','jedOo','currentTest','zksFY','PkryR','scannerProcessingTimeout','iEffG','GNyyt','workerInfo','wQdIV','hTgYb','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','1469390YmszoU','dEVCf','91CVsoEZ','SrWtf','testInfo','debug','ZYaAo','vREPs','bstackSdkArgs','../../helpers/performance/constants','44QWStRi','chrome','qjnQq','fjsCZ','IkQmx','browserName','wcagVersion','lioeE','299397UTaxMD','wsEndpoint','GVQnf','fpVtM','command','constructor','browser','VyVhd','../../helpers/helper','XFEEl','includeIssueType','stringify','fBNYP','util','processAccessibilityCaps','parse','238194gplDxa','jGUnv','getAccessibilityResultsSummary','RgJhn','836379jAJHLd','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','IylMD','name','accessibilityPlatform','playwright-chromium'];a38_0x5336=function(){return _0x546c78;};return a38_0x5336();}const a38_0x5c0a3e=a38_0x146d;(function(_0x3a46c7,_0x5c8a76){const _0x3ac2ac=a38_0x146d,_0x17fd03=_0x3a46c7();while(!![]){try{const _0x27d844=parseInt(_0x3ac2ac(0xf5))/0x1*(parseInt(_0x3ac2ac(0xbc))/0x2)+-parseInt(_0x3ac2ac(0xda))/0x3+-parseInt(_0x3ac2ac(0xd2))/0x4*(-parseInt(_0x3ac2ac(0x10d))/0x5)+-parseInt(_0x3ac2ac(0xea))/0x6+parseInt(_0x3ac2ac(0xca))/0x7*(parseInt(_0x3ac2ac(0xa6))/0x8)+parseInt(_0x3ac2ac(0xee))/0x9+-parseInt(_0x3ac2ac(0xc8))/0xa;if(_0x27d844===_0x5c8a76)break;else _0x17fd03['push'](_0x17fd03['shift']());}catch(_0x288e8b){_0x17fd03['push'](_0x17fd03['shift']());}}}(a38_0x5336,0x1ca64));function a38_0x146d(_0x4312e3,_0x3d4404){const _0x533618=a38_0x5336();return a38_0x146d=function(_0x146d7c,_0xf3f68b){_0x146d7c=_0x146d7c-0x9d;let _0x130fae=_0x533618[_0x146d7c];return _0x130fae;},a38_0x146d(_0x4312e3,_0x3d4404);}const util=require(a38_0x5c0a3e(0xe7)),logger=require(a38_0x5c0a3e(0xa8))['winstonLogger'],{isAccessibilityAutomationSession}=require(a38_0x5c0a3e(0xff)),{isUndefined,isBrowserstackInfra}=require(a38_0x5c0a3e(0xe2)),scripts=require('../../helpers/accessibility-automation/scripts'),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x5c0a3e(0xd1));exports['browserStackEvaluate']=async(_0x3fbc00,_0x4216cf,_0x4c00e5={})=>{const _0x4b52f1=a38_0x5c0a3e,_0xf508b9={};_0xf508b9[_0x4b52f1(0xd4)]=_0x4b52f1(0xd0);const _0x4c6b=_0xf508b9;return await _0x3fbc00['evaluate'](_0x4b52f1(0xaa)+_0x4216cf[_0x4b52f1(0xb7)](/arguments/g,_0x4c6b['qjnQq'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x4c00e5)+')');},exports[a38_0x5c0a3e(0xb8)]=async(_0x2f3538,_0xcd26a1,_0x429200={})=>{const _0x5d5ac6=a38_0x5c0a3e,_0x566eea={};_0x566eea[_0x5d5ac6(0xe6)]=function(_0x562cb1,_0x452aa8){return _0x562cb1===_0x452aa8;},_0x566eea[_0x5d5ac6(0xac)]=_0x5d5ac6(0xfc),_0x566eea[_0x5d5ac6(0xc2)]=function(_0x20fb49,_0x5b6195){return _0x20fb49===_0x5b6195;},_0x566eea[_0x5d5ac6(0xbd)]=_0x5d5ac6(0xf9),_0x566eea[_0x5d5ac6(0xd5)]=_0x5d5ac6(0xd0);const _0x1fcba1=_0x566eea;if(_0x1fcba1[_0x5d5ac6(0xe6)](_0x2f3538[_0x5d5ac6(0xdf)][_0x5d5ac6(0xf1)],_0x1fcba1[_0x5d5ac6(0xac)]))return await _0x2f3538[_0x5d5ac6(0xf8)](_0xcd26a1,_0x429200);else{if(_0x1fcba1['iEffG'](_0x2f3538[_0x5d5ac6(0xdf)][_0x5d5ac6(0xf1)],_0x1fcba1[_0x5d5ac6(0xbd)]))return await _0x2f3538[_0x5d5ac6(0xa2)]('(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'+_0xcd26a1[_0x5d5ac6(0xb7)](/arguments/g,_0x1fcba1[_0x5d5ac6(0xd5)])+_0x5d5ac6(0xa9)+JSON[_0x5d5ac6(0xe5)](_0x429200)+')');}},exports['setAccessibilityCapabilities']=async _0x1ad0d8=>{const _0x5c52b1=a38_0x5c0a3e,_0x1ccf84={};_0x1ccf84[_0x5c52b1(0xdc)]=_0x5c52b1(0x101),_0x1ccf84['dEVCf']=_0x5c52b1(0x106),_0x1ccf84['XFEEl']=_0x5c52b1(0xab),_0x1ccf84[_0x5c52b1(0xad)]=_0x5c52b1(0x108),_0x1ccf84[_0x5c52b1(0xba)]=_0x5c52b1(0x9e),_0x1ccf84['yXhsi']=_0x5c52b1(0xb3);const _0x378f65=_0x1ccf84;_0x1ad0d8[_0x5c52b1(0xbb)]&&(_0x1ad0d8[_0x5c52b1(0xbb)][_0x5c52b1(0xd8)]&&(_0x1ad0d8[_0x378f65[_0x5c52b1(0xdc)]]=_0x1ad0d8[_0x5c52b1(0xbb)][_0x5c52b1(0xd8)]),_0x1ad0d8[_0x5c52b1(0xbb)]['scannerProcessingTimeout']&&(_0x1ad0d8[_0x378f65[_0x5c52b1(0xc9)]]=_0x1ad0d8[_0x5c52b1(0xbb)][_0x5c52b1(0xc1)]),_0x1ad0d8[_0x5c52b1(0xbb)][_0x5c52b1(0xe4)]&&(_0x1ad0d8[_0x378f65[_0x5c52b1(0xe3)]]=_0x1ad0d8[_0x5c52b1(0xbb)][_0x5c52b1(0xe4)][_0x5c52b1(0x107)],_0x1ad0d8[_0x378f65['XXZgw']]=_0x1ad0d8['accessibilityOptions'][_0x5c52b1(0xe4)][_0x5c52b1(0xaf)]));const _0x131d0c=JSON[_0x5c52b1(0xe9)](process[_0x5c52b1(0xf6)][_0x5c52b1(0xef)])[_0x5c52b1(0xfb)];_0x1ad0d8[_0x378f65[_0x5c52b1(0xba)]]=process[_0x5c52b1(0xf6)]['BS_A11Y_JWT'],_0x1ad0d8[_0x378f65[_0x5c52b1(0x10a)]]=_0x131d0c,delete _0x1ad0d8[_0x5c52b1(0xbb)];},exports[a38_0x5c0a3e(0x104)]=async _0x4515c2=>{const _0x49b237=a38_0x5c0a3e,_0x2bc371={};_0x2bc371[_0x49b237(0x9f)]=_0x49b237(0xa0),_0x2bc371[_0x49b237(0xcf)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x1dac0f=_0x2bc371;if(global[_0x49b237(0xf2)])try{const details={'url':await _0x4515c2.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(_0x4515c2,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x4515c2,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x1dac0f[_0x49b237(0x9f)]),[];}else return logger[_0x49b237(0xfe)](_0x1dac0f['vREPs']),[];},exports[a38_0x5c0a3e(0x109)]=async(_0x417519,_0x3cc808='')=>{const _0x347222=a38_0x5c0a3e;logger['debug']('Performing\x20scan\x20with\x20method:\x20'+_0x3cc808+_0x347222(0xf7)+_0x417519);const _0x5ef2d5={'url':await _0x417519[_0x347222(0x100)](),'testhub_btcer_uuid':global['__workerDetails']?.[_0x347222(0xbe)]?.['id']};if(global['accessibilityPlatform'])return await PerformanceTester[_0x347222(0x9d)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x3b6648=_0x347222,_0x5aa7d6={};_0x5aa7d6[_0x3b6648(0xde)]=_0x3cc808;const _0x3d31b5=await exports[_0x3b6648(0x10c)](_0x417519,scripts[_0x3b6648(0x109)],_0x5aa7d6);return _0x3d31b5;},{'command':_0x3cc808,..._0x5ef2d5})();},exports[a38_0x5c0a3e(0xec)]=async _0x1953b6=>{const _0x32170d=a38_0x5c0a3e,_0x95d3c6={};_0x95d3c6[_0x32170d(0xd9)]='No\x20summaryResults\x20found.',_0x95d3c6[_0x32170d(0xce)]=_0x32170d(0xb9);const _0xccb36f=_0x95d3c6;if(global[_0x32170d(0xf2)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1953b6,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x1953b6,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x32170d(0xcd)](_0xccb36f['lioeE']),{};}else return logger['warn'](_0xccb36f[_0x32170d(0xce)]),{};},exports['platformValidation']=async _0x47f60e=>{const _0x52e171=a38_0x5c0a3e,_0x28a489={'IylMD':function(_0x55d625,_0x30081a){return _0x55d625!==_0x30081a;},'pWrKj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','IkQmx':_0x52e171(0xd3),'xvjXQ':'playwright-chromium','ndVSr':'chromium','pJIUl':_0x52e171(0xb5),'zYoHa':function(_0x203f18,_0x1e82c2){return _0x203f18(_0x1e82c2);},'hTgYb':function(_0x53fa2b){return _0x53fa2b();},'FnVcn':function(_0x13911a,_0x1f01f7){return _0x13911a<_0x1f01f7;},'SrWtf':_0x52e171(0xa1),'wQdIV':function(_0x37ee06,_0x5f4c47){return _0x37ee06===_0x5f4c47;},'soznI':'latest','VyVhd':function(_0xe40e8f,_0x32b7e2){return _0xe40e8f>_0x32b7e2;},'veopp':_0x52e171(0xc7)};try{if(!_0x28a489[_0x52e171(0xf0)](_0x47f60e[_0x52e171(0xb0)],''))return logger['warn'](_0x28a489[_0x52e171(0x10e)]),![];const _0x2da764=_0x47f60e[_0x52e171(0xe0)];if(![_0x28a489[_0x52e171(0xd6)],_0x28a489[_0x52e171(0x111)],_0x28a489[_0x52e171(0xa7)]][_0x52e171(0xb6)](_0x2da764))return logger[_0x52e171(0xfe)](_0x28a489[_0x52e171(0x105)]),![];const _0x1fec0e=_0x28a489[_0x52e171(0x112)](parseInt,_0x47f60e[_0x52e171(0xa4)]);!_0x28a489[_0x52e171(0xc6)](isBrowserstackInfra)&&(!_0x28a489['FnVcn'](_0x1fec0e,0x64)&&logger[_0x52e171(0xfe)](_0x28a489[_0x52e171(0xcb)]));if(!(_0x28a489[_0x52e171(0xc5)](_0x1fec0e,_0x28a489[_0x52e171(0xf4)])||_0x28a489[_0x52e171(0xe1)](_0x1fec0e,0x5e)))return logger[_0x52e171(0xfe)](_0x28a489['veopp']),![];}catch(_0x3faff4){logger['debug'](_0x52e171(0xb2)+util[_0x52e171(0x113)](_0x3faff4));}return!![];},exports[a38_0x5c0a3e(0xe8)]=(_0xdb75af,_0x2dc79d,_0x146c7f)=>{const _0x103b4b=a38_0x5c0a3e,_0x591073={'quRqj':function(_0x10fed5){return _0x10fed5();},'YXaox':'browserstack.accessibility','RVKSv':function(_0xc001a4,_0x4081f1){return _0xc001a4===_0x4081f1;},'zksFY':_0x103b4b(0xd3),'CMvmc':function(_0xccd21,_0x1682db){return _0xccd21===_0x1682db;},'XGnmb':_0x103b4b(0xf3),'BOmDM':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','fpVtM':function(_0x2ea142,_0x211215){return _0x2ea142>_0x211215;},'LhGyN':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','jGUnv':function(_0x4f8328,_0x50a4a5){return _0x4f8328===_0x50a4a5;},'hmUXz':_0x103b4b(0xb4),'Rpftp':function(_0x2a56d7,_0x228fa7){return _0x2a56d7>_0x228fa7;},'GNyyt':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','RgJhn':function(_0x3fc7db,_0x3a22f0){return _0x3fc7db(_0x3a22f0);},'PkryR':_0x103b4b(0x102),'goqUJ':function(_0x2aff14,_0x8406a7){return _0x2aff14+_0x8406a7;}};try{if(_0x591073[_0x103b4b(0xae)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0xdb75af[_0x591073[_0x103b4b(0xa3)]]&&(global[_0x103b4b(0xf2)]=![]);!(_0x591073[_0x103b4b(0xb1)](_0xdb75af[_0x103b4b(0xd7)],_0x591073[_0x103b4b(0xbf)])||_0x591073[_0x103b4b(0x10b)](_0xdb75af[_0x103b4b(0xd7)],_0x591073[_0x103b4b(0xa5)])||_0x591073[_0x103b4b(0x10b)](_0xdb75af['browser'],_0x591073['zksFY'])||_0x591073[_0x103b4b(0xb1)](_0xdb75af[_0x103b4b(0xe0)],_0x591073[_0x103b4b(0xa5)]))&&(logger[_0x103b4b(0xfe)](_0x591073['BOmDM']),global[_0x103b4b(0xf2)]=![]);!_0x591073[_0x103b4b(0xae)](isBrowserstackInfra)&&(!_0x591073[_0x103b4b(0xdd)](_0xdb75af[_0x103b4b(0xa4)],0x64)&&logger[_0x103b4b(0xfe)](_0x591073['LhGyN']));!(_0x591073[_0x103b4b(0xeb)](_0xdb75af[_0x103b4b(0xa4)],_0x591073['hmUXz'])||_0x591073[_0x103b4b(0xfa)](_0xdb75af[_0x103b4b(0xa4)],0x5e))&&(logger[_0x103b4b(0xfe)](_0x591073[_0x103b4b(0xc3)]),global[_0x103b4b(0xf2)]=![]);!_0x591073['RgJhn'](isUndefined,_0xdb75af[_0x103b4b(0xb0)])&&(logger[_0x103b4b(0xfe)](_0x591073[_0x103b4b(0xc0)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0xdb75af[_0x591073['YXaox']]=![];const _0x19c5e0=_0x591073['goqUJ'](_0x2dc79d,_0x591073[_0x103b4b(0xed)](encodeURIComponent,JSON[_0x103b4b(0xe5)](_0xdb75af)));_0x146c7f&&(_0x146c7f[_0x103b4b(0xbe)][_0x103b4b(0xcc)][_0x103b4b(0x10f)][_0x103b4b(0xfd)][_0x103b4b(0x110)][_0x103b4b(0xdb)]=_0x19c5e0,_0x146c7f[_0x103b4b(0xc4)][_0x103b4b(0x10f)]['use'][_0x103b4b(0x110)][_0x103b4b(0xdb)]=_0x19c5e0);}}else global[_0x103b4b(0xf2)]=![];}catch(_0x3608f8){logger[_0x103b4b(0xcd)](_0x103b4b(0x103)+util['format'](_0x3608f8));}};
|
|
1
|
+
const a38_0x1ca28c=a38_0x3e2c;(function(_0x2564a5,_0x3d31bd){const _0x480b7e=a38_0x3e2c,_0x5c2569=_0x2564a5();while(!![]){try{const _0x2a6ff0=parseInt(_0x480b7e(0x1d7))/0x1+parseInt(_0x480b7e(0x203))/0x2+-parseInt(_0x480b7e(0x1e1))/0x3+parseInt(_0x480b7e(0x1bc))/0x4*(-parseInt(_0x480b7e(0x1c0))/0x5)+parseInt(_0x480b7e(0x1bf))/0x6+-parseInt(_0x480b7e(0x229))/0x7*(parseInt(_0x480b7e(0x20b))/0x8)+-parseInt(_0x480b7e(0x1ed))/0x9*(-parseInt(_0x480b7e(0x1dc))/0xa);if(_0x2a6ff0===_0x3d31bd)break;else _0x5c2569['push'](_0x5c2569['shift']());}catch(_0x375da3){_0x5c2569['push'](_0x5c2569['shift']());}}}(a38_0x46fa,0x19f96));function a38_0x46fa(){const _0x45fcfb=['url','accessibilityOptions.scannerVersion','UoJLc','390488xnykxb','jsXGd','eukWl','../../helpers/accessibility-automation/scripts','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Iorae','vmxFM','wcagVersion','Zvixf','460508LcyOXr','wsEndpoint','zubxU','455958fmgsYi','5TiMZTA','getAccessibilityResults','measureWrapper','project','accessibilityOptions.scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.includeIssueType.needsReview','QJFKs','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','includes','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','__workerDetails','bestPractice','NWvYY','KHlAY','format','(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','tprFH','BS_A11Y_JWT','executeScript','bBdlc','winstonLogger','139579rvzhGq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ltSli','wQhJP','replace','10VQTruH','NsVHE','debug','latest','bstackSdkArgs','100014VTcGZi','deviceName','MYzlU','../../helpers/helper','hvsKt','SwtBB','performScan','accessibilityPlatform','currentTest','browser','accessibilityOptions.wcagVersion','playwright-chromium','1330596ZCrSwO','workerInfo','DfXwa','yizsH','ujPpV','processAccessibilityCaps','util','No\x20accessibility\x20results\x20were\x20found.','scannerVersion','ZifZm','scannerProcessingTimeout','KXNkA','warn','NxtxT','HLUrs','MvGpe','parse','otwYf','accessibilityOptions','chromium','browserStackEvaluate','includeIssueType','117582YhCaHY','evaluate','name','HQOcR','TPGqC','browserName','dEnUk','TSpal','24BvZEaF','qcYUQ','browser_version','Playwright','env','platformValidation','use','rYxDX','setAccessibilityCapabilities','command','WebDriver','chrome','../../helpers/performance/constants','executeAsyncScript','testInfo','No\x20summaryResults\x20found.','trTjH','naxob','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','PUHSm','pxMxN','browserstack.accessibility','PJBYr','getAccessibilityResultsSummary','browserStackExecuteDriver'];a38_0x46fa=function(){return _0x45fcfb;};return a38_0x46fa();}const util=require(a38_0x1ca28c(0x1f3)),logger=require('../../helpers/logger')[a38_0x1ca28c(0x1d6)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x1ca28c(0x1e4)),scripts=require(a38_0x1ca28c(0x22c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x1ca28c(0x217));function a38_0x3e2c(_0x5a132,_0x27dcca){const _0x46fad2=a38_0x46fa();return a38_0x3e2c=function(_0x3e2c20,_0x31dd48){_0x3e2c20=_0x3e2c20-0x1b7;let _0x45e60f=_0x46fad2[_0x3e2c20];return _0x45e60f;},a38_0x3e2c(_0x5a132,_0x27dcca);}exports[a38_0x1ca28c(0x201)]=async(_0x2b995e,_0x4bd5a4,_0x7f55b9={})=>{const _0x29d298=a38_0x1ca28c,_0x13712c={};_0x13712c['UoJLc']=_0x29d298(0x1e0);const _0x34f768=_0x13712c;return await _0x2b995e[_0x29d298(0x204)]('(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'+_0x4bd5a4[_0x29d298(0x1db)](/arguments/g,_0x34f768[_0x29d298(0x228)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x29d298(0x1ca)](_0x7f55b9)+')');},exports[a38_0x1ca28c(0x225)]=async(_0x40c758,_0x3fe66f,_0x30b480={})=>{const _0x3de246=a38_0x1ca28c,_0x5b5f31={};_0x5b5f31[_0x3de246(0x22a)]=function(_0x1717f9,_0x824f6b){return _0x1717f9===_0x824f6b;},_0x5b5f31[_0x3de246(0x1b9)]=_0x3de246(0x215),_0x5b5f31[_0x3de246(0x1e5)]=function(_0x57ff66,_0x758944){return _0x57ff66===_0x758944;},_0x5b5f31['wQhJP']=_0x3de246(0x20e),_0x5b5f31['AbOee']=_0x3de246(0x1e0);const _0x37e453=_0x5b5f31;if(_0x37e453[_0x3de246(0x22a)](_0x40c758[_0x3de246(0x21d)][_0x3de246(0x205)],_0x37e453[_0x3de246(0x1b9)]))return await _0x40c758[_0x3de246(0x218)](_0x3fe66f,_0x30b480);else{if(_0x37e453[_0x3de246(0x1e5)](_0x40c758[_0x3de246(0x21d)][_0x3de246(0x205)],_0x37e453[_0x3de246(0x1da)]))return await _0x40c758[_0x3de246(0x1d4)](_0x3de246(0x1d1)+_0x3fe66f['replace'](/arguments/g,_0x37e453['AbOee'])+_0x3de246(0x1c8)+JSON['stringify'](_0x30b480)+')');}},exports[a38_0x1ca28c(0x213)]=async _0x16f86b=>{const _0x17d43e=a38_0x1ca28c,_0x59c631={};_0x59c631[_0x17d43e(0x1fb)]=_0x17d43e(0x1eb),_0x59c631['naxob']=_0x17d43e(0x1c4),_0x59c631[_0x17d43e(0x20c)]='accessibilityOptions.includeIssueType.bestPractice',_0x59c631['zPGwM']=_0x17d43e(0x1c6),_0x59c631['NsVHE']='accessibilityOptions.authToken',_0x59c631['MYzlU']=_0x17d43e(0x227);const _0x533e99=_0x59c631;_0x16f86b['accessibilityOptions']&&(_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1ba)]&&(_0x16f86b[_0x533e99['HLUrs']]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1ba)]),_0x16f86b['accessibilityOptions'][_0x17d43e(0x1f7)]&&(_0x16f86b[_0x533e99[_0x17d43e(0x21c)]]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1f7)]),_0x16f86b['accessibilityOptions'][_0x17d43e(0x202)]&&(_0x16f86b[_0x533e99[_0x17d43e(0x20c)]]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x202)][_0x17d43e(0x1cd)],_0x16f86b[_0x533e99['zPGwM']]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x202)]['needsReview']));const _0x34729b=JSON[_0x17d43e(0x1fd)](process[_0x17d43e(0x20f)][_0x17d43e(0x1b7)])[_0x17d43e(0x1f5)];_0x16f86b[_0x533e99[_0x17d43e(0x1dd)]]=process[_0x17d43e(0x20f)][_0x17d43e(0x1d3)],_0x16f86b[_0x533e99[_0x17d43e(0x1e3)]]=_0x34729b,delete _0x16f86b[_0x17d43e(0x1ff)];},exports[a38_0x1ca28c(0x1c1)]=async _0x3b840d=>{const _0x55fa7f=a38_0x1ca28c,_0x44a01f={};_0x44a01f['Tckrk']=_0x55fa7f(0x1f4),_0x44a01f[_0x55fa7f(0x220)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x2c29d1=_0x44a01f;if(global['accessibilityPlatform'])try{const details={'url':await _0x3b840d.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(_0x3b840d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3b840d,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x2c29d1['Tckrk']),[];}else return logger[_0x55fa7f(0x1f9)](_0x2c29d1['PUHSm']),[];},exports[a38_0x1ca28c(0x1e7)]=async(_0x457159,_0x2ae876='')=>{const _0x16feac=a38_0x1ca28c;logger[_0x16feac(0x1de)]('Performing\x20scan\x20with\x20method:\x20'+_0x2ae876+'\x20page:\x20'+_0x457159);const _0x31ddda={'url':await _0x457159[_0x16feac(0x226)](),'testhub_btcer_uuid':global[_0x16feac(0x1cc)]?.[_0x16feac(0x1e9)]?.['id']};if(global[_0x16feac(0x1e8)])return await PerformanceTester[_0x16feac(0x1c2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x264949=_0x16feac,_0xf54c1d={};_0xf54c1d[_0x264949(0x214)]=_0x2ae876;const _0x23f31b=await exports[_0x264949(0x201)](_0x457159,scripts['performScan'],_0xf54c1d);return _0x23f31b;},{'command':_0x2ae876,..._0x31ddda})();},exports[a38_0x1ca28c(0x224)]=async _0x391138=>{const _0x2bc62d=a38_0x1ca28c,_0x147bf9={};_0x147bf9[_0x2bc62d(0x20a)]=_0x2bc62d(0x21a),_0x147bf9[_0x2bc62d(0x1e6)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0xea976=_0x147bf9;if(global[_0x2bc62d(0x1e8)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x391138,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x391138,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0xea976[_0x2bc62d(0x20a)]),{};}else return logger[_0x2bc62d(0x1f9)](_0xea976[_0x2bc62d(0x1e6)]),{};},exports[a38_0x1ca28c(0x210)]=async _0x3f32e2=>{const _0x53e825=a38_0x1ca28c,_0x20b388={'TPGqC':function(_0x865e,_0x2e313b){return _0x865e!==_0x2e313b;},'ZifZm':_0x53e825(0x1c5),'KHlAY':_0x53e825(0x216),'bBdlc':_0x53e825(0x1ec),'KXNkA':_0x53e825(0x200),'trTjH':_0x53e825(0x21e),'tprFH':function(_0x2bae8f,_0x107812){return _0x2bae8f(_0x107812);},'Iorae':function(_0x58a5aa){return _0x58a5aa();},'VaRxL':function(_0x3ae206,_0x3778b2){return _0x3ae206<_0x3778b2;},'QJFKs':_0x53e825(0x1cb),'ltSli':function(_0x229f0b,_0x268b3a){return _0x229f0b===_0x268b3a;},'zubxU':_0x53e825(0x1df),'lIDap':function(_0x5724a7,_0x2089cc){return _0x5724a7>_0x2089cc;},'PJBYr':_0x53e825(0x1d8)};try{if(!_0x20b388[_0x53e825(0x207)](_0x3f32e2[_0x53e825(0x1e2)],''))return logger['warn'](_0x20b388[_0x53e825(0x1f6)]),![];const _0x2bde71=_0x3f32e2[_0x53e825(0x1ea)];if(![_0x20b388[_0x53e825(0x1cf)],_0x20b388[_0x53e825(0x1d5)],_0x20b388[_0x53e825(0x1f8)]][_0x53e825(0x1c9)](_0x2bde71))return logger['warn'](_0x20b388[_0x53e825(0x21b)]),![];const _0xe2f6a5=_0x20b388[_0x53e825(0x1d2)](parseInt,_0x3f32e2[_0x53e825(0x20d)]);!_0x20b388[_0x53e825(0x1b8)](isBrowserstackInfra)&&(!_0x20b388['VaRxL'](_0xe2f6a5,0x64)&&logger['warn'](_0x20b388[_0x53e825(0x1c7)]));if(!(_0x20b388[_0x53e825(0x1d9)](_0xe2f6a5,_0x20b388[_0x53e825(0x1be)])||_0x20b388['lIDap'](_0xe2f6a5,0x5e)))return logger[_0x53e825(0x1f9)](_0x20b388[_0x53e825(0x223)]),![];}catch(_0xd05ccd){logger[_0x53e825(0x1de)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0xd05ccd));}return!![];},exports[a38_0x1ca28c(0x1f2)]=(_0x503700,_0x547afd,_0x3e29c6)=>{const _0x2a5bb9=a38_0x1ca28c,_0x251d21={'HQOcR':function(_0x29a965){return _0x29a965();},'pxMxN':_0x2a5bb9(0x222),'rYxDX':function(_0x3c7346,_0x2b4eb3){return _0x3c7346===_0x2b4eb3;},'dEnUk':'chrome','otwYf':_0x2a5bb9(0x1ec),'NWvYY':_0x2a5bb9(0x21e),'yizsH':function(_0x3bac78,_0x1ce0f0){return _0x3bac78>_0x1ce0f0;},'ujPpV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','MvGpe':'latest','DfXwa':function(_0x4fcc0f,_0x3537cb){return _0x4fcc0f>_0x3537cb;},'Zvixf':_0x2a5bb9(0x1d8),'eukWl':function(_0x4f66a9,_0x292c44){return _0x4f66a9(_0x292c44);},'RWemN':_0x2a5bb9(0x1c5),'NxtxT':function(_0x23f063,_0x5db997){return _0x23f063+_0x5db997;}};try{if(_0x251d21[_0x2a5bb9(0x206)](isAccessibilityAutomationSession)){global[_0x2a5bb9(0x1e8)]=!![];!_0x503700[_0x251d21[_0x2a5bb9(0x221)]]&&(global['accessibilityPlatform']=![]);!(_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x208)],_0x251d21['dEnUk'])||_0x251d21[_0x2a5bb9(0x212)](_0x503700['browserName'],_0x251d21[_0x2a5bb9(0x1fe)])||_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x1ea)],_0x251d21[_0x2a5bb9(0x209)])||_0x251d21[_0x2a5bb9(0x212)](_0x503700['browser'],_0x251d21[_0x2a5bb9(0x1fe)]))&&(logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1ce)]),global[_0x2a5bb9(0x1e8)]=![]);!_0x251d21[_0x2a5bb9(0x206)](isBrowserstackInfra)&&(!_0x251d21[_0x2a5bb9(0x1f0)](_0x503700[_0x2a5bb9(0x20d)],0x64)&&logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1f1)]));!(_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x20d)],_0x251d21[_0x2a5bb9(0x1fc)])||_0x251d21[_0x2a5bb9(0x1ef)](_0x503700[_0x2a5bb9(0x20d)],0x5e))&&(logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1bb)]),global[_0x2a5bb9(0x1e8)]=![]);!_0x251d21[_0x2a5bb9(0x22b)](isUndefined,_0x503700[_0x2a5bb9(0x1e2)])&&(logger[_0x2a5bb9(0x1f9)](_0x251d21['RWemN']),global[_0x2a5bb9(0x1e8)]=![]);if(!global[_0x2a5bb9(0x1e8)]){_0x503700[_0x251d21[_0x2a5bb9(0x221)]]=![];const _0x3c5d3a=_0x251d21[_0x2a5bb9(0x1fa)](_0x547afd,_0x251d21[_0x2a5bb9(0x22b)](encodeURIComponent,JSON[_0x2a5bb9(0x1ca)](_0x503700)));_0x3e29c6&&(_0x3e29c6[_0x2a5bb9(0x1e9)][_0x2a5bb9(0x219)][_0x2a5bb9(0x1c3)][_0x2a5bb9(0x211)]['connectOptions'][_0x2a5bb9(0x1bd)]=_0x3c5d3a,_0x3e29c6[_0x2a5bb9(0x1ee)][_0x2a5bb9(0x1c3)][_0x2a5bb9(0x211)]['connectOptions'][_0x2a5bb9(0x1bd)]=_0x3c5d3a);}}else global[_0x2a5bb9(0x1e8)]=![];}catch(_0x565c29){logger[_0x2a5bb9(0x1de)](_0x2a5bb9(0x21f)+util[_0x2a5bb9(0x1d0)](_0x565c29));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a39_0x3cff(_0x1bd1c9,_0x278ffc){const _0x400743=a39_0x4007();return a39_0x3cff=function(_0x3cff39,_0x3cf79e){_0x3cff39=_0x3cff39-0x154;let _0x2b5568=_0x400743[_0x3cff39];return _0x2b5568;},a39_0x3cff(_0x1bd1c9,_0x278ffc);}const a39_0x2321f2=a39_0x3cff;(function(_0xfbef5a,_0x3dfe80){const _0x58d376=a39_0x3cff,_0x8b662d=_0xfbef5a();while(!![]){try{const _0x2e41a6=-parseInt(_0x58d376(0x192))/0x1+parseInt(_0x58d376(0x1ef))/0x2+parseInt(_0x58d376(0x173))/0x3+parseInt(_0x58d376(0x19c))/0x4+-parseInt(_0x58d376(0x1a4))/0x5*(-parseInt(_0x58d376(0x160))/0x6)+parseInt(_0x58d376(0x201))/0x7*(parseInt(_0x58d376(0x1f4))/0x8)+-parseInt(_0x58d376(0x1e6))/0x9*(parseInt(_0x58d376(0x17a))/0xa);if(_0x2e41a6===_0x3dfe80)break;else _0x8b662d['push'](_0x8b662d['shift']());}catch(_0x16322a){_0x8b662d['push'](_0x8b662d['shift']());}}}(a39_0x4007,0x9dbd1));const fs=require('fs'),path=require(a39_0x2321f2(0x1fc)),{spawn}=require('child_process'),{format}=require(a39_0x2321f2(0x1c7)),logger=require(a39_0x2321f2(0x1b1))[a39_0x2321f2(0x209)],{default:BrowserStackSetup}=require(a39_0x2321f2(0x182)),helper=require(a39_0x2321f2(0x1bd)),utilities=require(a39_0x2321f2(0x179)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x2321f2(0x1b2)),{setAccessibilityCapabilities}=require(a39_0x2321f2(0x196)),{printBuildLink}=require(a39_0x2321f2(0x1d8)),TestDetails=require('./reporter/test-details'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0x2321f2(0x1f9)),BrowserstackCLI=require(a39_0x2321f2(0x1d1)),PerformanceEvents=require(a39_0x2321f2(0x191))[a39_0x2321f2(0x1f2)],CLIUtils=require(a39_0x2321f2(0x200)),TestInfo=require(a39_0x2321f2(0x18b)),ClientTroubleShootingService=require(a39_0x2321f2(0x1dd)),getUserPlaywrightConfig=async(_0x5b15e1,_0x30eaa6)=>{const _0x18048e=a39_0x2321f2,_0xdf880d={'TGZol':function(_0x6fa081){return _0x6fa081();},'ZkCCZ':function(_0x49ff26){return _0x49ff26();},'PMxTa':function(_0x4ccf99,_0x49a679){return _0x4ccf99(_0x49a679);},'aUDkD':function(_0xfa32bf,_0x458d15){return _0xfa32bf(_0x458d15);},'yBpSt':_0x18048e(0x197),'ixxOR':_0x18048e(0x1c0)},_0x111073=!helper['isUndefined'](_0x5b15e1[_0x18048e(0x15b)]),_0xd1ebff=_0x111073?path[_0x18048e(0x15a)](process[_0x18048e(0x1f7)](),_0x5b15e1[_0x18048e(0x15b)]):process['cwd'](),{resolveConfigFile:_0x3ef64b,resolveConfigLocation:_0x59ca34}=helper['isYarnPnP']()?helper[_0x18048e(0x1c6)](..._0xdf880d['TGZol'](getConfigLoaderPath)):helper[_0x18048e(0x1da)][_0x18048e(0x164)](null,_0xdf880d[_0x18048e(0x19d)](getConfigLoaderPath)),_0x3c4cbd=_0x3ef64b?_0xdf880d[_0x18048e(0x20e)](_0x3ef64b,_0xd1ebff):helper[_0x18048e(0x16b)](_0xdf880d[_0x18048e(0x19b)](_0x59ca34,_0xd1ebff),[_0xdf880d['yBpSt']]),_0x3a2848={};if(_0x111073){const _0x338167=_0x30eaa6['findIndex'](_0x21cccf=>_0x21cccf===_0x18048e(0x17b)||_0x21cccf==='-c'||_0x21cccf[_0x18048e(0x1ff)](_0x18048e(0x1c0)));_0x30eaa6[_0x18048e(0x1e9)](_0x338167,_0x30eaa6[_0x338167]['startsWith'](_0xdf880d[_0x18048e(0x154)])?0x1:0x2);}const _0x100e07={};return _0x100e07[_0x18048e(0x1fc)]=_0x3c4cbd,_0x100e07[_0x18048e(0x15b)]=_0x3a2848,_0x100e07;},handleO11yRerun=_0x362b52=>{const _0x55fe5b=a39_0x2321f2,_0x2d265d={};_0x2d265d[_0x55fe5b(0x1d2)]=_0x55fe5b(0x1fb);const _0x205c1c=_0x2d265d,_0x500dc0=helper['isTrue'](process[_0x55fe5b(0x16c)]['BROWSERSTACK_RERUN']);if(_0x500dc0){const _0x2bcdb3=process[_0x55fe5b(0x16c)][_0x55fe5b(0x1dc)],_0x48e2b8=[];if(helper[_0x55fe5b(0x155)](_0x2bcdb3)&&!helper[_0x55fe5b(0x157)](_0x2bcdb3)){_0x2bcdb3[_0x55fe5b(0x1bf)](',')[_0x55fe5b(0x1cd)](_0x5bf26e=>{const _0x31963d=_0x55fe5b;_0x48e2b8[_0x31963d(0x1ba)]('('+_0x5bf26e[_0x31963d(0x1f3)]()+')');});const _0x3bda7d='^'+_0x48e2b8[_0x55fe5b(0x162)]('|')+'$';_0x362b52['push'](_0x205c1c[_0x55fe5b(0x1d2)],_0x3bda7d);}}},spawnOriginalProcess=_0x2cb794=>{const _0xa90398=a39_0x2321f2,_0x8d2fde={'urfsG':function(_0x25d548,_0xd7291a,_0x4d1346,_0x4d0f9f){return _0x25d548(_0xd7291a,_0x4d1346,_0x4d0f9f);},'bilhj':_0xa90398(0x1e4),'CMHeh':'npx','hBISK':_0xa90398(0x193),'AgSLE':function(_0x112f83,_0x148666){return _0x112f83===_0x148666;},'qdVHP':_0xa90398(0x18a),'HidGb':'inherit'};_0x8d2fde['urfsG'](spawn,helper[_0xa90398(0x207)]()?_0x8d2fde[_0xa90398(0x19f)]:_0x8d2fde[_0xa90398(0x1cb)],[_0x8d2fde[_0xa90398(0x165)],..._0x2cb794[_0xa90398(0x1ce)](0x1)],{'shell':_0x8d2fde['AgSLE'](process['platform'],_0x8d2fde['qdVHP']),'stdio':_0x8d2fde[_0xa90398(0x1d7)],'cwd':process['cwd']()});},isTestCommand=(_0x46a0b8,_0x4fd056)=>{const _0x3dd28c=a39_0x2321f2,_0x589a28={};_0x589a28[_0x3dd28c(0x19a)]=function(_0x47408a,_0x5f112a){return _0x47408a>_0x5f112a;},_0x589a28[_0x3dd28c(0x1c3)]=function(_0x4dcdfe,_0x47e231){return _0x4dcdfe===_0x47e231;},_0x589a28['cDmdm']='test';const _0x1f1301=_0x589a28;if(_0x1f1301['SRrcx'](_0x4fd056[_0x3dd28c(0x1b8)],0x1)&&_0x1f1301[_0x3dd28c(0x1c3)](_0x4fd056[0x1],_0x1f1301[_0x3dd28c(0x17f)]))return!![];return![];};async function run(_0x46c6c2,_0xf01ef9,_0x1e6849){const _0x73b8f6=a39_0x2321f2,_0x1dab2b={'CEUOT':function(_0x316a54,_0x3fa983){return _0x316a54(_0x3fa983);},'dkgDM':_0x73b8f6(0x1ca),'IhHtW':_0x73b8f6(0x1fa),'BrDKd':function(_0x220e8b,_0x4c03a9){return _0x220e8b+_0x4c03a9;},'GRQiW':_0x73b8f6(0x1c4),'TAiud':function(_0x4db856){return _0x4db856();},'AZwcF':function(_0x35fc09){return _0x35fc09();},'izuix':function(_0x3a0083,_0x567e02){return _0x3a0083+_0x567e02;},'XTuWF':_0x73b8f6(0x1b7),'CjtsA':'BrowserStack\x20config\x20file\x20not\x20found.','kVABr':function(_0x51e60b,_0x2d9aa1){return _0x51e60b<_0x2d9aa1;},'NXQUu':function(_0x29c26d,_0x29b542){return _0x29c26d===_0x29b542;},'wNRCv':_0x73b8f6(0x1fd),'WAkkQ':_0x73b8f6(0x163),'CnhkU':function(_0x55394c,_0x1277da){return _0x55394c>=_0x1277da;},'PBYsP':_0x73b8f6(0x158),'AwQqJ':function(_0x5d08d0,_0x16d061){return _0x5d08d0!=_0x16d061;},'yEiBa':function(_0x213c59,_0x4d033c,_0x24b312){return _0x213c59(_0x4d033c,_0x24b312);},'Ssfuc':function(_0x19bcd3,_0x31c79f){return _0x19bcd3(_0x31c79f);},'daReh':_0x73b8f6(0x1c1),'FolyX':function(_0x576429,_0x38f12e){return _0x576429(_0x38f12e);},'aUcON':function(_0x341391,_0x425c5e){return _0x341391(_0x425c5e);},'MaIfi':_0x73b8f6(0x1ae),'aKEeY':_0x73b8f6(0x1f1),'rnyJh':'playwright-browserstack-sdk.config.js','uVadP':function(_0x118250,_0x1a6f07){return _0x118250-_0x1a6f07;},'YnEKZ':function(_0x53bdb8,_0x2b7ebe){return _0x53bdb8+_0x2b7ebe;},'lQXVv':_0x73b8f6(0x180),'GlZQX':function(_0x38911e,_0x4660f2){return _0x38911e>_0x4660f2;},'zJovR':function(_0x4b7091,_0x320144){return _0x4b7091+_0x320144;},'FooFh':function(_0x817a87,_0x498048,_0x4aac01,_0x590009){return _0x817a87(_0x498048,_0x4aac01,_0x590009);},'XmgYP':_0x73b8f6(0x1e4),'AoBgb':_0x73b8f6(0x159),'rdWzj':_0x73b8f6(0x193),'mPcWU':'test','TUaLy':_0x73b8f6(0x17b),'vBRfq':_0x73b8f6(0x18a),'HxtDv':function(_0x46efb5,_0x81d1f8){return _0x46efb5===_0x81d1f8;},'uYaBv':_0x73b8f6(0x1a2),'TfxoY':_0x73b8f6(0x20b),'CczVO':function(_0x4b97eb,_0x37d7e2){return _0x4b97eb|_0x37d7e2;},'pGttQ':_0x73b8f6(0x17c),'SfiYo':function(_0x3fc0ec,_0x5728be){return _0x3fc0ec+_0x5728be;},'qYJKP':_0x73b8f6(0x184),'loqIm':function(_0x52e1e0,_0x4c3527){return _0x52e1e0(_0x4c3527);}};try{const _0x5e2b0b=path['join'](helper[_0x73b8f6(0x1b3)](),_0x1dab2b['dkgDM']);try{fs[_0x73b8f6(0x190)](_0x5e2b0b,_0x1dab2b[_0x73b8f6(0x167)](fs[_0x73b8f6(0x17d)][_0x73b8f6(0x1a7)],fs[_0x73b8f6(0x17d)]['W_OK']));}catch(_0x2a0f6c){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x1f25cc){logger[_0x73b8f6(0x175)](_0x1dab2b[_0x73b8f6(0x20c)](_0x1dab2b[_0x73b8f6(0x199)],_0x1f25cc));}try{const _0x310a5c=path[_0x73b8f6(0x162)](helper['homedir'](),_0x1dab2b[_0x73b8f6(0x1a5)],_0x1dab2b[_0x73b8f6(0x1a9)]);fs[_0x73b8f6(0x161)](_0x310a5c)&&fs[_0x73b8f6(0x1e1)](_0x310a5c);}catch(_0x3aa737){logger['debug'](_0x1dab2b[_0x73b8f6(0x1f6)](_0x1dab2b[_0x73b8f6(0x1b4)],_0x3aa737));}if(!_0x1dab2b['yEiBa'](isTestCommand,_0x46c6c2,_0xf01ef9)){_0x1dab2b[_0x73b8f6(0x181)](spawnOriginalProcess,_0xf01ef9);return;}await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x166766=_0x73b8f6;if(!_0x1e6849['config']){logger[_0x166766(0x1c2)](_0x1dab2b['CjtsA']);return;}await _0x1e6849['initialize'](_0x46c6c2),CLIUtils[_0x166766(0x1e5)](FRAMEWORKS[_0x166766(0x169)],FRAMEWORKS[_0x166766(0x169)]),BrowserstackCLI[_0x166766(0x16a)]()[_0x166766(0x178)](_0x1e6849[_0x166766(0x15b)],_0x1e6849[_0x166766(0x1ec)],_0x1e6849[_0x166766(0x1a6)]),await BrowserstackCLI[_0x166766(0x16a)]()[_0x166766(0x1ed)]();for(var _0xf3f3e1=0x0;_0x1dab2b[_0x166766(0x1de)](_0xf3f3e1,constants[_0x166766(0x1a0)][_0x166766(0x1b8)]);_0xf3f3e1++){var _0x5ee500=constants[_0x166766(0x1a0)][_0xf3f3e1];process[_0x166766(0x16c)][_0x5ee500]&&await ClientTroubleShootingService[_0x166766(0x1d3)](_0x5ee500);}const _0x43c4a3=BrowserstackCLI[_0x166766(0x16a)]()[_0x166766(0x174)]();!helper[_0x166766(0x194)](_0x43c4a3[_0x166766(0x202)])&&(process[_0x166766(0x16c)][_0x166766(0x186)]=!![]);_0x1dab2b[_0x166766(0x177)](_0x43c4a3[_0x166766(0x202)],![])&&(process[_0x166766(0x16c)]['BROWSERSTACK_AUTOMATION']=_0x1dab2b[_0x166766(0x17e)],_0xf01ef9=_0xf01ef9[_0x166766(0x1d4)](_0x15a685=>_0x15a685!=='--disable-browserstack-automation'));const _0x1e7a6b=_0xf01ef9['indexOf'](_0x1dab2b[_0x166766(0x18e)]);(_0x1dab2b[_0x166766(0x1e8)](_0x1e7a6b,0x0)||_0x1dab2b[_0x166766(0x177)](_0x43c4a3[_0x166766(0x20d)],![]))&&(process[_0x166766(0x16c)][_0x166766(0x1e0)]=_0x1dab2b['wNRCv'],_0xf01ef9=_0xf01ef9[_0x166766(0x1d4)](_0x10c2de=>_0x10c2de!==_0x166766(0x163)));!helper['isUndefined'](_0x1e6849[_0x166766(0x1a6)])&&_0x1e6849['cliConfig'][_0x166766(0x187)](_0x1dab2b['PBYsP'])&&(process[_0x166766(0x16c)]['BROWSERSTACK_AUTOMATION']=_0x1e6849['cliConfig'][_0x166766(0x1f8)](_0x1dab2b[_0x166766(0x1b0)])||!![]);_0x1dab2b[_0x166766(0x1df)](_0x1e6849[_0x166766(0x15b)][_0x166766(0x20d)],null)&&!helper['isTrue'](process[_0x166766(0x16c)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process['env'][_0x166766(0x1e0)]=process['env'][_0x166766(0x1e0)]||_0x1e6849['config'][_0x166766(0x20d)]);const _0x1dfe6c=!helper[_0x166766(0x194)](process['env'][_0x166766(0x1e0)]);_0x1e6849[_0x166766(0x15b)][_0x166766(0x176)]&&(process[_0x166766(0x16c)][_0x166766(0x1aa)]=JSON[_0x166766(0x168)](_0x1e6849[_0x166766(0x15b)][_0x166766(0x176)]));let _0x3cc2fb=![];_0x1e6849['config'][_0x166766(0x1b5)]&&(_0x3cc2fb=!![],process[_0x166766(0x16c)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1e6849['config']['accessibility']);const _0x2d4773=_0xf01ef9[_0x166766(0x1c8)](),_0x1a1efd=await _0x1dab2b[_0x166766(0x16e)](getUserPlaywrightConfig,_0x46c6c2,_0xf01ef9);if(helper[_0x166766(0x157)](_0x1a1efd)){_0x1dab2b[_0x166766(0x183)](spawnOriginalProcess,_0x2d4773);return;}const _0x256d40=_0x1a1efd[_0x166766(0x1fc)]?path['dirname'](_0x1a1efd['path']):process[_0x166766(0x1f7)]();process[_0x166766(0x16c)][_0x166766(0x1ea)]=_0x256d40,await PerformanceTester[_0x166766(0x19e)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0xfc6542=_0x166766;!BrowserstackCLI[_0xfc6542(0x16a)]()[_0xfc6542(0x1cf)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS[_0xfc6542(0x169)],_0x1e6849),_0x1dfe6c&&_0x1dab2b[_0xfc6542(0x18f)](handleO11yRerun,_0xf01ef9);})();if(!BrowserstackCLI[_0x166766(0x16a)]()[_0x166766(0x1cf)]()){let _0x148d26=_0x1dab2b['NXQUu'](process[_0x166766(0x16c)][_0x166766(0x1d6)],_0x1dab2b['daReh']);_0x148d26=_0x148d26||_0x1dab2b[_0x166766(0x1ac)](checkAccessibilityPlatformConfig,_0x1e6849[_0x166766(0x15b)]),process[_0x166766(0x16c)][_0x166766(0x1d6)]=_0x148d26,_0x148d26&&_0x1dab2b[_0x166766(0x1bc)](setAccessibilityCapabilities,_0x1e6849[_0x166766(0x15b)]);}const _0x53fb6b=path[_0x166766(0x162)](_0x1a1efd['path']?path[_0x166766(0x188)](_0x1a1efd['path']):process['cwd'](),_0x1dab2b[_0x166766(0x1fe)]);fs[_0x166766(0x1cc)](_0x53fb6b,helper[_0x166766(0x15c)](_0x1e6849[_0x166766(0x15b)])),process[_0x166766(0x16c)][_0x166766(0x156)]=_0x53fb6b,helper[_0x166766(0x20f)]();let _0x56816a='';_0x1dab2b[_0x166766(0x177)](helper[_0x166766(0x1eb)](),constants[_0x166766(0x206)][_0x166766(0x15e)])?_0x56816a=_0x1dab2b[_0x166766(0x1a8)]:_0x56816a=_0x1dab2b[_0x166766(0x1ee)];let _0xa5d176='';if(helper['isTypescriptProject'](_0x1a1efd[_0x166766(0x1fc)])){_0xa5d176=_0x166766(0x1e2);const _0x70e577=_0x56816a[_0x166766(0x1bf)]('.');_0x70e577[_0x1dab2b[_0x166766(0x185)](_0x70e577[_0x166766(0x1b8)],0x1)]='ts',_0x56816a=_0x70e577[_0x166766(0x162)]('.'),logger[_0x166766(0x175)](_0x1dab2b['YnEKZ'](_0x1dab2b[_0x166766(0x1bb)],_0x56816a));}else _0xa5d176=_0x166766(0x1f0);const _0x590e8a=path[_0x166766(0x162)](_0x1a1efd[_0x166766(0x1fc)]?path[_0x166766(0x188)](_0x1a1efd['path']):process['cwd'](),_0x56816a);let _0x115711=_0x1a1efd[_0x166766(0x1fc)]?_0x1a1efd[_0x166766(0x1fc)]:'';_0x115711=_0x1dab2b[_0x166766(0x1db)](_0x115711[_0x166766(0x1b8)],0x0)?path[_0x166766(0x15a)](_0x115711):'',process[_0x166766(0x16c)]['USER_CONFIG_DETAILS_PATH']=_0x115711;const _0x568ce1=helper[_0x166766(0x1d0)](_0x1e6849[_0x166766(0x15b)]),_0x1179c5=helper[_0x166766(0x208)](_0x1e6849[_0x166766(0x15b)]);logger[_0x166766(0x175)]('Proxy\x20url\x20:\x20'+_0x568ce1),logger[_0x166766(0x175)](_0x166766(0x18d)+_0x1179c5);_0x568ce1&&(_0xa5d176=_0x1dab2b[_0x166766(0x20c)](_0x166766(0x204)+_0x568ce1+_0x166766(0x18c)+_0x1179c5+_0x166766(0x189),_0xa5d176));helper[_0x166766(0x198)]({},_0xf01ef9),fs[_0x166766(0x1cc)](_0x590e8a,_0xa5d176),PerformanceTester[_0x166766(0x203)](PerformanceEvents[_0x166766(0x1a3)]);const _0xdbe261=_0x1dab2b['FooFh'](spawn,helper['isYarnPnP']()?_0x1dab2b[_0x166766(0x195)]:_0x1dab2b['AoBgb'],[_0x1dab2b['rdWzj'],_0x1dab2b[_0x166766(0x1e7)],_0x1dab2b[_0x166766(0x1e3)],_0x1dab2b[_0x166766(0x177)](process[_0x166766(0x1b9)],_0x1dab2b[_0x166766(0x16f)])?'\x22'+_0x590e8a+'\x22':_0x590e8a,..._0xf01ef9[_0x166766(0x1ce)](0x2)],{'shell':_0x1dab2b[_0x166766(0x1c5)](process[_0x166766(0x1b9)],_0x1dab2b[_0x166766(0x16f)]),'stdio':_0x1dab2b['uYaBv'],'cwd':process[_0x166766(0x1f7)](),'env':Object['assign']({},process[_0x166766(0x16c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x166766(0x1c9)](_0x46c6c2),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1e6849[_0x166766(0x15b)][_0x166766(0x15d)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1e6849[_0x166766(0x15b)][_0x166766(0x15d)][_0x166766(0x1be)],'BROWSERSTACK_LOG_LEVEL':_0x1e6849[_0x166766(0x15b)][_0x166766(0x1af)]})}),_0x14892d=()=>{const _0x1358d9=_0x166766;try{const _0x3488c6=path[_0x1358d9(0x162)](helper[_0x1358d9(0x1b3)](),_0x1dab2b[_0x1358d9(0x1a5)],_0x1dab2b[_0x1358d9(0x1a9)]);if(fs['existsSync'](_0x3488c6)){let _0x625574=fs['readFileSync'](_0x3488c6);_0x625574=JSON[_0x1358d9(0x15f)](_0x625574),_0x1e6849[_0x1358d9(0x1b6)]=_0x625574,fs[_0x1358d9(0x1e1)](_0x3488c6);}}catch(_0x1fb2b0){logger[_0x1358d9(0x175)](_0x1dab2b[_0x1358d9(0x1a1)](_0x1dab2b[_0x1358d9(0x205)],_0x1fb2b0));}};_0xdbe261['on'](_0x1dab2b[_0x166766(0x1d9)],async _0x17353f=>{const _0x31bef2=_0x166766,_0x760fdf={};_0x760fdf[_0x31bef2(0x171)]=_0x1dab2b[_0x31bef2(0x1a5)];const _0x2d32df=_0x760fdf;try{PerformanceTester['start'](PerformanceEvents[_0x31bef2(0x1d5)]),_0x1dab2b['TAiud'](_0x14892d),await TestHubHandler['stop'](),await ClientTroubleShootingService['reportFinalDetectionState'](),await BrowserstackCLI[_0x31bef2(0x16a)]()['stop'](),TestDetails[_0x31bef2(0x172)](),_0x1dab2b[_0x31bef2(0x1ad)](printBuildLink),await utilities[_0x31bef2(0x170)](_0x1e6849),process[_0x31bef2(0x1f5)]=_0x17353f,logger['debug'](_0x31bef2(0x16d)+_0x17353f),logger[_0x31bef2(0x20a)]('Deleting\x20'+_0x590e8a),fs['unlinkSync'](_0x590e8a);fs[_0x31bef2(0x161)](_0x53fb6b)&&(logger['debug']('Deleting\x20'+_0x53fb6b),fs[_0x31bef2(0x1e1)](_0x53fb6b));const _0x342078=fs['readdirSync'](path[_0x31bef2(0x162)](helper['homedir'](),_0x1dab2b[_0x31bef2(0x1a5)]))[_0x31bef2(0x1d4)](_0x54332a=>_0x54332a[_0x31bef2(0x1ff)]('trace_'));_0x342078['forEach'](_0x1a531b=>{const _0x495a9e=_0x31bef2;fs[_0x495a9e(0x1e1)](path[_0x495a9e(0x162)](helper[_0x495a9e(0x1b3)](),_0x2d32df[_0x495a9e(0x171)],_0x1a531b));});}catch(_0xe206d8){logger[_0x31bef2(0x175)](_0x1dab2b['izuix'](_0x1dab2b[_0x31bef2(0x1ab)],_0xe206d8));}});})();}function a39_0x4007(){const _0x2c75ec=['--grep','path','false','MaIfi','startsWith','../v2/cliUtils','83090Iayflx','browserstackAutomation','end','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','GRQiW','PACKAGE_TYPE','isYarnPnP','getNoProxy','winstonLogger','info','close','zJovR','testObservability','PMxTa','clearTempPWConfig','ixxOR','validateRerunTestList','BROWSERSTACK_SETUP_CONFIG_PATH','isUndefined','automation','npx','resolve','config','serializeToYamlString','testContextOptions','MODULE','parse','12TDozkc','existsSync','join','--disable-test-observability','apply','hBISK','exports','CczVO','stringify','PLAYWRIGHT','getInstance','nestedKeyValue','env','Playwright\x20process\x20exited\x20with\x20code\x20','yEiBa','vBRfq','finalExecution','SPbwK','shutdown','1532103WPETMZ','getConfig','debug','accessibilityOptions','NXQUu','setBrowserstackConfig','../../helpers/utilities','2490KuaLlg','--config','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','constants','wNRCv','cDmdm','Updated\x20config\x20file\x20name\x20to\x20-\x20','loqIm','../../helpers/BrowserStackSetup','Ssfuc','Error\x20in\x20deleting\x20playwright\x20results','uVadP','BROWSERSTACK_AUTOMATION','has','dirname','\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();','win32','../v2/TestInfo','\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','No\x20Proxy\x20:\x20','WAkkQ','CEUOT','accessSync','../../helpers/performance/constants','934459NeWLmw','playwright','isFalse','XmgYP','./accessibility-helper','resolvedConfigFile','filterBrowserstackArgs','pGttQ','SRrcx','aUDkD','1126152ihWMke','ZkCCZ','measureWrapper','bilhj','INTERNALLY_USED_ENV_VARS','BrDKd','inherit','SDK_SETUP','3168315qMTFtg','dkgDM','cliConfig','R_OK','aKEeY','IhHtW','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','XTuWF','FolyX','AZwcF','browserstackSetupConfig.json','logLevel','PBYsP','../../helpers/logger','../../helpers/accessibility-automation/helper','homedir','qYJKP','accessibility','errorMessage','Error\x20in\x20closing\x20playwright','length','platform','push','lQXVv','aUcON','../../helpers/helper','skipSessionName','split','--config=','true','error','FSoCl','Error\x20in\x20getting\x20funnel\x20data\x20results','HxtDv','requireConfigLoaderYarnPnP','util','concat','getConfigPath','.browserstack','CMHeh','writeFileSync','map','slice','isRunning','getProxyUrl','../v2/browserstackCLI','jgOAX','reportConflictingEnvVarIssue','filter','SDK_CLEANUP','BROWSERSTACK_TEST_ACCESSIBILITY_YML','HidGb','../../helpers/test-observability/utils','TfxoY','requirePWModule','GlZQX','BROWSERSTACK_RERUN_TESTS','../utils/clientTroubleshootingService','kVABr','AwQqJ','BROWSERSTACK_TEST_OBSERVABILITY','unlinkSync','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','TUaLy','yarn','setFrameworkDetail','60021hulhOH','mPcWU','CnhkU','splice','BROWSERSTACK_PW_CONFIG_DIR','getPackageType','configPath','bootstrap','rnyJh','1888344pyJOZb','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.cjs','EVENTS','trim','160eCmEeO','exitCode','SfiYo','cwd','get','../../helpers/performance/performance-tester','pw_result.json'];a39_0x4007=function(){return _0x2c75ec;};return a39_0x4007();}module[a39_0x2321f2(0x166)]=run;
|
|
2
|
+
'use strict';function a39_0x1d6c(){const _0x5c28de=['apply','XEbDH','8862834mXkoZh','measureWrapper','../../helpers/accessibility-automation/helper','isTrue','exports','requireConfigLoaderYarnPnP','inherit','automation','1400608qjIEhy','JYGuh','cliConfig','env','splice','axAkV','accessibilityOptions','.browserstack','false','Error\x20in\x20getting\x20funnel\x20data\x20results','homedir','AZMVV','204160HaCkrj','pZXgV','FhdgP','true','XWbDh','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','dirname','YAxbD','lFJhS','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','map','vkthW','qxthu','slice','yarn','txSlx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','win32','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','42114EqMlAS','accessSync','isRunning','jbKwk','launchBuild','zdHpC','../v2/cliUtils','../../helpers/helper','KoySQ','PhZZk','./reporter/test-details','../utils/constants','getConfigPath','existsSync','isFalse','eySUi','YgcAw','IcrFA','split','platform','PACKAGE_TYPE','assign','../v2/browserstackCLI','bootstrap','config','BROWSERSTACK_RERUN_TESTS','2564445iubsrA','path','BROWSERSTACK_TEST_OBSERVABILITY','EVENTS','test','W_OK','../v2/TestInfo','1097370VKnhYo','PXPVs','readFileSync','\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();','aZnxC','util','reportConflictingEnvVarIssue','ECPGG','yCroV','error','SDK_PRE_INITIALIZE','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','JKMJR','SDK_POST_INITIALIZE','4IFKMqM','Deleting\x20','debug','Error\x20in\x20deleting\x20playwright\x20results','xJEje','testContextOptions','--config','GCiBw','isTypescriptProject','JscPa','./accessibility-helper','isYarnPnP','constants','240rzqxeu','poaGd','MODULE','cwd','HcLUB','playwright-browserstack-sdk.config.cjs','ElxNP','--disable-browserstack-automation','WXcNo','accessibility','twIRf','writeFileSync','logLevel','../utils/clientTroubleshootingService','reportFinalDetectionState','BROWSERSTACK_SETUP_CONFIG_PATH','testObservability','bBNxO','8PwQWOU','requirePWModule','CIGas','unlinkSync','skipSessionName','has','Ilhra','indexOf','trim','vAfAB','playwright-browserstack-sdk.config.js','USER_CONFIG_DETAILS_PATH','nestedKeyValue','./reporter/pwUtils','INTERNALLY_USED_ENV_VARS','browserstackSetupConfig.json','join','Eoxjg','BROWSERSTACK_PW_CONFIG_DIR','PMCrF','resolve','--config=','npx','PLAYWRIGHT','--disable-test-observability','finalExecution','zlYLi','push','NgKKn','concat','Mrheo','info','get','isUndefined','serializeToYamlString','forEach','skipSessionStatus','clearTempPWConfig','xXhhS','getInstance','NEIxj','FWjxF','stringify','BROWSERSTACK_AUTOMATION','getPackageType','readdirSync','Updated\x20config\x20file\x20name\x20to\x20-\x20','shutdown','No\x20Proxy\x20:\x20','uJwCe','mzSTk','startsWith','filter','start','WVmEd','configPath','browserstackAutomation','R_OK','../../helpers/performance/constants','1163043axvCJA','playwright','PxpdX','../../helpers/test-observability/constants','efIvR','BROWSERSTACK_RERUN','7ggpNFp','length'];a39_0x1d6c=function(){return _0x5c28de;};return a39_0x1d6c();}const a39_0x59a1e1=a39_0x2d06;(function(_0x19d052,_0x448454){const _0x273a08=a39_0x2d06,_0x3f3460=_0x19d052();while(!![]){try{const _0x33d11d=-parseInt(_0x273a08(0x1ab))/0x1+-parseInt(_0x273a08(0x1b9))/0x2*(-parseInt(_0x273a08(0x18a))/0x3)+-parseInt(_0x273a08(0x176))/0x4+parseInt(_0x273a08(0x1a4))/0x5+-parseInt(_0x273a08(0x162))/0x6*(parseInt(_0x273a08(0x15e))/0x7)+parseInt(_0x273a08(0x1d8))/0x8*(-parseInt(_0x273a08(0x158))/0x9)+-parseInt(_0x273a08(0x1c6))/0xa*(-parseInt(_0x273a08(0x16a))/0xb);if(_0x33d11d===_0x448454)break;else _0x3f3460['push'](_0x3f3460['shift']());}catch(_0x31d862){_0x3f3460['push'](_0x3f3460['shift']());}}}(a39_0x1d6c,0xcd94d));function a39_0x2d06(_0x2e2fd7,_0x3bc02d){const _0x1d6c20=a39_0x1d6c();return a39_0x2d06=function(_0x2d06ea,_0x44cb71){_0x2d06ea=_0x2d06ea-0x147;let _0x1ecc6e=_0x1d6c20[_0x2d06ea];return _0x1ecc6e;},a39_0x2d06(_0x2e2fd7,_0x3bc02d);}const fs=require('fs'),path=require(a39_0x59a1e1(0x1a5)),{spawn}=require('child_process'),{format}=require(a39_0x59a1e1(0x1b0)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x59a1e1(0x191)),utilities=require('../../helpers/utilities'),constants=require(a39_0x59a1e1(0x195)),{FRAMEWORKS}=require(a39_0x59a1e1(0x15b)),{getConfigLoaderPath}=require(a39_0x59a1e1(0x1e5)),{checkAccessibilityPlatformConfig}=require(a39_0x59a1e1(0x164)),{setAccessibilityCapabilities}=require(a39_0x59a1e1(0x1c3)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x59a1e1(0x194)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x59a1e1(0x1a0)),PerformanceEvents=require(a39_0x59a1e1(0x157))[a39_0x59a1e1(0x1a7)],CLIUtils=require(a39_0x59a1e1(0x190)),TestInfo=require(a39_0x59a1e1(0x1aa)),ClientTroubleShootingService=require(a39_0x59a1e1(0x1d3)),getUserPlaywrightConfig=async(_0x117f39,_0x26f347)=>{const _0x1a73b2=a39_0x59a1e1,_0x1a268f={'JscPa':function(_0x3a709b){return _0x3a709b();},'GCiBw':function(_0x126427,_0x1dd575){return _0x126427(_0x1dd575);},'zdHpC':'resolvedConfigFile','qxthu':'--config='},_0x49263e=!helper['isUndefined'](_0x117f39[_0x1a73b2(0x1a2)]),_0x3dab45=_0x49263e?path[_0x1a73b2(0x1ec)](process[_0x1a73b2(0x1c9)](),_0x117f39[_0x1a73b2(0x1a2)]):process[_0x1a73b2(0x1c9)](),{resolveConfigFile:_0x3bc2b2,resolveConfigLocation:_0xa21c11}=helper[_0x1a73b2(0x1c4)]()?helper[_0x1a73b2(0x167)](..._0x1a268f[_0x1a73b2(0x1c2)](getConfigLoaderPath)):helper[_0x1a73b2(0x1d9)][_0x1a73b2(0x160)](null,_0x1a268f[_0x1a73b2(0x1c2)](getConfigLoaderPath)),_0x239a50=_0x3bc2b2?_0x1a268f[_0x1a73b2(0x1c0)](_0x3bc2b2,_0x3dab45):helper[_0x1a73b2(0x1e4)](_0x1a268f[_0x1a73b2(0x1c0)](_0xa21c11,_0x3dab45),[_0x1a268f[_0x1a73b2(0x18f)]]),_0x3f8d12={};if(_0x49263e){const _0x41faf9=_0x26f347['findIndex'](_0x17922f=>_0x17922f===_0x1a73b2(0x1bf)||_0x17922f==='-c'||_0x17922f[_0x1a73b2(0x150)](_0x1a73b2(0x1ed)));_0x26f347[_0x1a73b2(0x16e)](_0x41faf9,_0x26f347[_0x41faf9]['startsWith'](_0x1a268f[_0x1a73b2(0x182)])?0x1:0x2);}const _0x214d4d={};return _0x214d4d[_0x1a73b2(0x1a5)]=_0x239a50,_0x214d4d['config']=_0x3f8d12,_0x214d4d;},handleO11yRerun=_0x26d5a7=>{const _0xbb868e=a39_0x59a1e1,_0x38e142={};_0x38e142['PxpdX']='--grep';const _0xaefe74=_0x38e142,_0x43cec0=helper[_0xbb868e(0x165)](process[_0xbb868e(0x16d)][_0xbb868e(0x15d)]);if(_0x43cec0){const _0x4d7d12=process['env'][_0xbb868e(0x1a3)],_0x53d358=[];if(helper['validateRerunTestList'](_0x4d7d12)&&!helper[_0xbb868e(0x1f9)](_0x4d7d12)){_0x4d7d12['split'](',')[_0xbb868e(0x180)](_0xc1f9c4=>{const _0x123e98=_0xbb868e;_0x53d358[_0x123e98(0x1f3)]('('+_0xc1f9c4[_0x123e98(0x1e0)]()+')');});const _0x419045='^'+_0x53d358[_0xbb868e(0x1e8)]('|')+'$';_0x26d5a7['push'](_0xaefe74[_0xbb868e(0x15a)],_0x419045);}}},spawnOriginalProcess=_0x50cceb=>{const _0x188d30=a39_0x59a1e1,_0x248310={'iLMTX':function(_0x458268,_0x12efe2,_0x11e0a3,_0x583998){return _0x458268(_0x12efe2,_0x11e0a3,_0x583998);},'xJEje':_0x188d30(0x184),'HIhQy':_0x188d30(0x1ee),'hSfZO':_0x188d30(0x159),'jRPGe':function(_0x5c7593,_0x2fbd72){return _0x5c7593===_0x2fbd72;},'uJwCe':_0x188d30(0x187),'eySUi':_0x188d30(0x168)};_0x248310['iLMTX'](spawn,helper[_0x188d30(0x1c4)]()?_0x248310[_0x188d30(0x1bd)]:_0x248310['HIhQy'],[_0x248310['hSfZO'],..._0x50cceb[_0x188d30(0x183)](0x1)],{'shell':_0x248310['jRPGe'](process[_0x188d30(0x19d)],_0x248310[_0x188d30(0x14e)]),'stdio':_0x248310[_0x188d30(0x199)],'cwd':process[_0x188d30(0x1c9)]()});},isTestCommand=(_0x5f3d4d,_0x2be2ef)=>{const _0x406328=a39_0x59a1e1,_0x338dbd={};_0x338dbd[_0x406328(0x1da)]=function(_0xcf4ae0,_0x2c021b){return _0xcf4ae0>_0x2c021b;},_0x338dbd[_0x406328(0x1f4)]=function(_0x3584ec,_0x22196d){return _0x3584ec===_0x22196d;},_0x338dbd[_0x406328(0x17a)]=_0x406328(0x1a8);const _0x5ad69c=_0x338dbd;if(_0x5ad69c[_0x406328(0x1da)](_0x2be2ef['length'],0x1)&&_0x5ad69c[_0x406328(0x1f4)](_0x2be2ef[0x1],_0x5ad69c['XWbDh']))return!![];return![];};async function run(_0x358c0b,_0x574fda,_0x503945){const _0x1a83db=a39_0x59a1e1,_0x4e927f={'IcrFA':function(_0x3e0dc9,_0x13a80d){return _0x3e0dc9(_0x13a80d);},'FWjxF':_0x1a83db(0x171),'mzSTk':'pw_result.json','poaGd':function(_0x556c8e,_0x503069){return _0x556c8e+_0x503069;},'pZXgV':_0x1a83db(0x173),'kANcc':function(_0x5f37a3){return _0x5f37a3();},'bBNxO':function(_0x2b8a7d,_0x4fd2ab){return _0x2b8a7d+_0x4fd2ab;},'PXPVs':'Error\x20in\x20closing\x20playwright','DrUXW':'BrowserStack\x20config\x20file\x20not\x20found.','PhZZk':function(_0x3bf724,_0x2b011c){return _0x3bf724<_0x2b011c;},'aZnxC':function(_0xca253d,_0x396375){return _0xca253d===_0x396375;},'WXcNo':_0x1a83db(0x172),'KoySQ':_0x1a83db(0x1f0),'YgcAw':function(_0x48b244,_0x2afc85){return _0x48b244>=_0x2afc85;},'lFJhS':_0x1a83db(0x169),'voSNJ':function(_0x292caa,_0x35a198){return _0x292caa!=_0x35a198;},'ElxNP':function(_0x439bea,_0x3dc0b1,_0x14f03b){return _0x439bea(_0x3dc0b1,_0x14f03b);},'vkthW':function(_0x2d5415,_0x1610ff){return _0x2d5415===_0x1610ff;},'PMCrF':_0x1a83db(0x179),'NEIxj':function(_0x1f2efe,_0x18f436){return _0x1f2efe(_0x18f436);},'efIvR':_0x1a83db(0x1e7),'FhdgP':_0x1a83db(0x1cb),'XEbDH':_0x1a83db(0x1e2),'GOyEK':function(_0x55a4dc,_0x43f220){return _0x55a4dc-_0x43f220;},'Ucuxb':function(_0x2387fe,_0x4965de){return _0x2387fe+_0x4965de;},'JKMJR':_0x1a83db(0x14b),'Ilhra':function(_0x755a3c,_0x5b8ced){return _0x755a3c>_0x5b8ced;},'AZMVV':function(_0x52d2dc,_0x4576b4){return _0x52d2dc+_0x4576b4;},'zuzBC':function(_0x5e1107,_0x4d10b7,_0x26ee96,_0x2457ac){return _0x5e1107(_0x4d10b7,_0x26ee96,_0x2457ac);},'vAfAB':_0x1a83db(0x184),'twIRf':_0x1a83db(0x1ee),'zlYLi':'playwright','vcOHM':_0x1a83db(0x1a8),'mVSMq':_0x1a83db(0x1bf),'ECPGG':_0x1a83db(0x187),'sxBjR':_0x1a83db(0x168),'YAxbD':'close','WVmEd':function(_0x3e7fa9,_0x231eba){return _0x3e7fa9|_0x231eba;},'HcLUB':function(_0x188847,_0x40f455){return _0x188847+_0x40f455;},'zljLL':_0x1a83db(0x1b6),'Mrheo':_0x1a83db(0x1bc),'yCroV':function(_0x504cf1,_0x5b9fe8,_0x227fdf){return _0x504cf1(_0x5b9fe8,_0x227fdf);}};try{const _0x13c52a=path['join'](helper[_0x1a83db(0x174)](),_0x4e927f['FWjxF']);try{fs[_0x1a83db(0x18b)](_0x13c52a,_0x4e927f[_0x1a83db(0x153)](fs[_0x1a83db(0x1c5)][_0x1a83db(0x156)],fs[_0x1a83db(0x1c5)][_0x1a83db(0x1a9)]));}catch(_0x8a552b){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x32c33a){logger[_0x1a83db(0x1bb)](_0x4e927f[_0x1a83db(0x1ca)](_0x4e927f['zljLL'],_0x32c33a));}try{const _0x3c8203=path['join'](helper['homedir'](),_0x4e927f['FWjxF'],_0x4e927f['mzSTk']);fs['existsSync'](_0x3c8203)&&fs[_0x1a83db(0x1db)](_0x3c8203);}catch(_0x57b0f6){logger[_0x1a83db(0x1bb)](_0x4e927f[_0x1a83db(0x1ca)](_0x4e927f[_0x1a83db(0x1f6)],_0x57b0f6));}if(!_0x4e927f[_0x1a83db(0x1b3)](isTestCommand,_0x358c0b,_0x574fda)){_0x4e927f['NEIxj'](spawnOriginalProcess,_0x574fda);return;}await PerformanceTester[_0x1a83db(0x163)](PerformanceEvents[_0x1a83db(0x1b5)],async()=>{const _0x239642=_0x1a83db,_0x505b43={'JYGuh':_0x4e927f[_0x239642(0x201)],'axAkV':_0x4e927f[_0x239642(0x14f)],'jbKwk':function(_0x3bc016,_0xb7c01b){const _0x2544c4=_0x239642;return _0x4e927f[_0x2544c4(0x1c7)](_0x3bc016,_0xb7c01b);},'Eoxjg':_0x4e927f[_0x239642(0x177)],'txSlx':function(_0x1f8f45){return _0x4e927f['kANcc'](_0x1f8f45);},'jWlxT':function(_0x3f9758,_0x750df6){const _0xa56fdf=_0x239642;return _0x4e927f[_0xa56fdf(0x1d7)](_0x3f9758,_0x750df6);},'XUooO':_0x4e927f[_0x239642(0x1ac)]};if(!_0x503945[_0x239642(0x1a2)]){logger[_0x239642(0x1b4)](_0x4e927f['DrUXW']);return;}await _0x503945['initialize'](_0x358c0b),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x239642(0x1ef)],FRAMEWORKS[_0x239642(0x1ef)]),BrowserstackCLI[_0x239642(0x1ff)]()['setBrowserstackConfig'](_0x503945[_0x239642(0x1a2)],_0x503945[_0x239642(0x154)],_0x503945['cliConfig']),await BrowserstackCLI[_0x239642(0x1ff)]()[_0x239642(0x1a1)]();for(var _0x42799b=0x0;_0x4e927f[_0x239642(0x193)](_0x42799b,constants[_0x239642(0x1e6)]['length']);_0x42799b++){var _0x166aa7=constants['INTERNALLY_USED_ENV_VARS'][_0x42799b];process[_0x239642(0x16d)][_0x166aa7]&&await ClientTroubleShootingService[_0x239642(0x1b1)](_0x166aa7);}const _0x280185=BrowserstackCLI[_0x239642(0x1ff)]()['getConfig']();!helper[_0x239642(0x198)](_0x280185['browserstackAutomation'])&&(process['env'][_0x239642(0x148)]=!![]);_0x4e927f[_0x239642(0x1af)](_0x280185[_0x239642(0x155)],![])&&(process['env'][_0x239642(0x148)]=_0x4e927f[_0x239642(0x1ce)],_0x574fda=_0x574fda[_0x239642(0x151)](_0x5141da=>_0x5141da!==_0x239642(0x1cd)));const _0x3ac739=_0x574fda[_0x239642(0x1df)](_0x4e927f[_0x239642(0x192)]);(_0x4e927f[_0x239642(0x19a)](_0x3ac739,0x0)||_0x4e927f[_0x239642(0x1af)](_0x280185[_0x239642(0x1d6)],![]))&&(process['env'][_0x239642(0x1a6)]=_0x4e927f[_0x239642(0x1ce)],_0x574fda=_0x574fda['filter'](_0x40b3e5=>_0x40b3e5!=='--disable-test-observability'));!helper[_0x239642(0x1f9)](_0x503945[_0x239642(0x16c)])&&_0x503945[_0x239642(0x16c)][_0x239642(0x1dd)](_0x4e927f[_0x239642(0x17e)])&&(process[_0x239642(0x16d)][_0x239642(0x148)]=_0x503945[_0x239642(0x16c)][_0x239642(0x1f8)](_0x4e927f[_0x239642(0x17e)])||!![]);_0x4e927f['voSNJ'](_0x503945['config'][_0x239642(0x1d6)],null)&&!helper[_0x239642(0x165)](process[_0x239642(0x16d)][_0x239642(0x1a6)])&&(process[_0x239642(0x16d)][_0x239642(0x1a6)]=process[_0x239642(0x16d)][_0x239642(0x1a6)]||_0x503945[_0x239642(0x1a2)][_0x239642(0x1d6)]);const _0x18ebce=!helper['isFalse'](process[_0x239642(0x16d)][_0x239642(0x1a6)]);_0x503945['config'][_0x239642(0x170)]&&(process[_0x239642(0x16d)][_0x239642(0x186)]=JSON[_0x239642(0x147)](_0x503945['config'][_0x239642(0x170)]));let _0x28a417=![];_0x503945['config'][_0x239642(0x1cf)]&&(_0x28a417=!![],process[_0x239642(0x16d)][_0x239642(0x188)]=_0x503945['config'][_0x239642(0x1cf)]);const _0x262fec=_0x574fda[_0x239642(0x1f5)](),_0x518b2d=await _0x4e927f[_0x239642(0x1cc)](getUserPlaywrightConfig,_0x358c0b,_0x574fda);if(helper[_0x239642(0x1f9)](_0x518b2d)){_0x4e927f[_0x239642(0x19b)](spawnOriginalProcess,_0x262fec);return;}const _0x46b988=_0x518b2d['path']?path[_0x239642(0x17c)](_0x518b2d[_0x239642(0x1a5)]):process[_0x239642(0x1c9)]();process[_0x239642(0x16d)][_0x239642(0x1ea)]=_0x46b988,await PerformanceTester[_0x239642(0x163)](PerformanceEvents[_0x239642(0x1b8)],async()=>{const _0x3b904c=_0x239642;!BrowserstackCLI['getInstance']()[_0x3b904c(0x18c)]()&&await TestHubHandler[_0x3b904c(0x18e)](FRAMEWORKS[_0x3b904c(0x1ef)],_0x503945),_0x18ebce&&_0x4e927f[_0x3b904c(0x19b)](handleO11yRerun,_0x574fda);})();if(!BrowserstackCLI[_0x239642(0x1ff)]()[_0x239642(0x18c)]()){let _0x33ce02=_0x4e927f[_0x239642(0x181)](process[_0x239642(0x16d)][_0x239642(0x188)],_0x4e927f[_0x239642(0x1eb)]);_0x33ce02=_0x33ce02||_0x4e927f[_0x239642(0x200)](checkAccessibilityPlatformConfig,_0x503945[_0x239642(0x1a2)]),process[_0x239642(0x16d)][_0x239642(0x188)]=_0x33ce02,_0x33ce02&&_0x4e927f[_0x239642(0x200)](setAccessibilityCapabilities,_0x503945[_0x239642(0x1a2)]);}const _0x39dffb=path[_0x239642(0x1e8)](_0x518b2d[_0x239642(0x1a5)]?path[_0x239642(0x17c)](_0x518b2d[_0x239642(0x1a5)]):process['cwd'](),_0x4e927f[_0x239642(0x15c)]);fs['writeFileSync'](_0x39dffb,helper[_0x239642(0x1fa)](_0x503945[_0x239642(0x1a2)])),process['env'][_0x239642(0x1d5)]=_0x39dffb,helper[_0x239642(0x1fd)]();let _0x50ad59='';_0x4e927f[_0x239642(0x181)](helper[_0x239642(0x149)](),constants[_0x239642(0x19e)][_0x239642(0x1c8)])?_0x50ad59=_0x4e927f[_0x239642(0x178)]:_0x50ad59=_0x4e927f[_0x239642(0x161)];let _0x1f7b34='';if(helper[_0x239642(0x1c1)](_0x518b2d['path'])){_0x1f7b34=_0x239642(0x17f);const _0x485abb=_0x50ad59[_0x239642(0x19c)]('.');_0x485abb[_0x4e927f['GOyEK'](_0x485abb['length'],0x1)]='ts',_0x50ad59=_0x485abb[_0x239642(0x1e8)]('.'),logger[_0x239642(0x1bb)](_0x4e927f['Ucuxb'](_0x4e927f[_0x239642(0x1b7)],_0x50ad59));}else _0x1f7b34=_0x239642(0x189);const _0x39ed76=path[_0x239642(0x1e8)](_0x518b2d[_0x239642(0x1a5)]?path[_0x239642(0x17c)](_0x518b2d['path']):process[_0x239642(0x1c9)](),_0x50ad59);let _0x217445=_0x518b2d[_0x239642(0x1a5)]?_0x518b2d['path']:'';_0x217445=_0x4e927f[_0x239642(0x1de)](_0x217445[_0x239642(0x15f)],0x0)?path[_0x239642(0x1ec)](_0x217445):'',process[_0x239642(0x16d)][_0x239642(0x1e3)]=_0x217445;const _0x2cec4c=helper['getProxyUrl'](_0x503945[_0x239642(0x1a2)]),_0x37091d=helper['getNoProxy'](_0x503945[_0x239642(0x1a2)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x2cec4c),logger[_0x239642(0x1bb)](_0x239642(0x14d)+_0x37091d);_0x2cec4c&&(_0x1f7b34=_0x4e927f[_0x239642(0x175)](_0x239642(0x17b)+_0x2cec4c+'\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'+_0x37091d+_0x239642(0x1ae),_0x1f7b34));helper['filterBrowserstackArgs']({},_0x574fda),fs[_0x239642(0x1d1)](_0x39ed76,_0x1f7b34),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x104629=_0x4e927f['zuzBC'](spawn,helper[_0x239642(0x1c4)]()?_0x4e927f[_0x239642(0x1e1)]:_0x4e927f[_0x239642(0x1d0)],[_0x4e927f[_0x239642(0x1f2)],_0x4e927f['vcOHM'],_0x4e927f['mVSMq'],_0x4e927f['vkthW'](process['platform'],_0x4e927f[_0x239642(0x1b2)])?'\x22'+_0x39ed76+'\x22':_0x39ed76,..._0x574fda[_0x239642(0x183)](0x2)],{'shell':_0x4e927f[_0x239642(0x181)](process[_0x239642(0x19d)],_0x4e927f[_0x239642(0x1b2)]),'stdio':_0x4e927f['sxBjR'],'cwd':process[_0x239642(0x1c9)](),'env':Object[_0x239642(0x19f)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x239642(0x196)](_0x358c0b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x503945[_0x239642(0x1a2)][_0x239642(0x1be)][_0x239642(0x1fc)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x503945[_0x239642(0x1a2)][_0x239642(0x1be)][_0x239642(0x1dc)],'BROWSERSTACK_LOG_LEVEL':_0x503945[_0x239642(0x1a2)][_0x239642(0x1d2)]})}),_0x4b8e75=()=>{const _0x1a7c7f=_0x239642;try{const _0x5969fa=path[_0x1a7c7f(0x1e8)](helper[_0x1a7c7f(0x174)](),_0x505b43[_0x1a7c7f(0x16b)],_0x505b43[_0x1a7c7f(0x16f)]);if(fs[_0x1a7c7f(0x197)](_0x5969fa)){let _0xd9f112=fs[_0x1a7c7f(0x1ad)](_0x5969fa);_0xd9f112=JSON['parse'](_0xd9f112),_0x503945['errorMessage']=_0xd9f112,fs[_0x1a7c7f(0x1db)](_0x5969fa);}}catch(_0x51824f){logger[_0x1a7c7f(0x1bb)](_0x505b43[_0x1a7c7f(0x18d)](_0x505b43[_0x1a7c7f(0x1e9)],_0x51824f));}};_0x104629['on'](_0x4e927f[_0x239642(0x17d)],async _0x5bd73a=>{const _0x24fb25=_0x239642,_0x548f1a={};_0x548f1a[_0x24fb25(0x1fe)]=_0x505b43[_0x24fb25(0x16b)];const _0x3a1530=_0x548f1a;try{PerformanceTester[_0x24fb25(0x152)](PerformanceEvents['SDK_CLEANUP']),_0x505b43[_0x24fb25(0x185)](_0x4b8e75),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x24fb25(0x1d4)](),await BrowserstackCLI[_0x24fb25(0x1ff)]()['stop'](),TestDetails[_0x24fb25(0x14c)](),_0x505b43[_0x24fb25(0x185)](printBuildLink),await utilities[_0x24fb25(0x1f1)](_0x503945),process['exitCode']=_0x5bd73a,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x5bd73a),logger[_0x24fb25(0x1f7)]('Deleting\x20'+_0x39ed76),fs[_0x24fb25(0x1db)](_0x39ed76);fs[_0x24fb25(0x197)](_0x39dffb)&&(logger['debug'](_0x24fb25(0x1ba)+_0x39dffb),fs['unlinkSync'](_0x39dffb));const _0x5ea24d=fs[_0x24fb25(0x14a)](path[_0x24fb25(0x1e8)](helper[_0x24fb25(0x174)](),_0x505b43['JYGuh']))[_0x24fb25(0x151)](_0x6a0936=>_0x6a0936[_0x24fb25(0x150)]('trace_'));_0x5ea24d[_0x24fb25(0x1fb)](_0x39cd4f=>{const _0x5f596d=_0x24fb25;fs[_0x5f596d(0x1db)](path['join'](helper[_0x5f596d(0x174)](),_0x3a1530[_0x5f596d(0x1fe)],_0x39cd4f));});}catch(_0x560a7c){logger[_0x24fb25(0x1bb)](_0x505b43['jWlxT'](_0x505b43['XUooO'],_0x560a7c));}});})();}module[a39_0x59a1e1(0x166)]=run;
|