browserstack-node-sdk 1.36.5 → 1.36.6
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/generated/sdk-messages-accessibility_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-accessibility_grpc_pb.js +1 -0
- package/generated/sdk-messages-accessibility_pb.d.ts +279 -0
- package/generated/sdk-messages-accessibility_pb.js +2186 -0
- package/generated/sdk-messages-ai_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-ai_grpc_pb.js +1 -0
- package/generated/sdk-messages-ai_pb.d.ts +217 -0
- package/generated/sdk-messages-ai_pb.js +1650 -0
- package/generated/sdk-messages-observability_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-observability_grpc_pb.js +1 -0
- package/generated/sdk-messages-observability_pb.d.ts +178 -0
- package/generated/sdk-messages-observability_pb.js +1377 -0
- package/generated/sdk-messages-percy_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-percy_grpc_pb.js +1 -0
- package/generated/sdk-messages-percy_pb.d.ts +37 -0
- package/generated/sdk-messages-percy_pb.js +266 -0
- package/generated/sdk-messages-testhub_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages-testhub_grpc_pb.js +1 -0
- package/generated/sdk-messages-testhub_pb.d.ts +39 -0
- package/generated/sdk-messages-testhub_pb.js +290 -0
- package/generated/sdk-messages_grpc_pb.d.ts +1 -0
- package/generated/sdk-messages_grpc_pb.js +1 -0
- package/generated/sdk-messages_pb.d.ts +1105 -0
- package/generated/sdk-messages_pb.js +8580 -0
- package/generated/sdk_grpc_pb.d.ts +113 -0
- package/generated/sdk_grpc_pb.js +609 -0
- package/generated/sdk_pb.d.ts +9 -0
- package/generated/sdk_pb.js +31 -0
- package/package.json +7 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -0
- package/src/bin/v2/browserstackCLI.js +1 -0
- package/src/bin/v2/cliUtils.js +1 -0
- package/src/bin/v2/customTagManager.js +1 -0
- package/src/bin/v2/eventDispatcher.js +1 -0
- package/src/bin/v2/framework/automationFramework.js +1 -0
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -0
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -0
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -0
- package/src/bin/v2/framework/testFramework.js +1 -0
- package/src/bin/v2/grpcClient.js +1 -0
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -0
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -0
- package/src/bin/v2/instances/trackedContext.js +1 -0
- package/src/bin/v2/instances/trackedInstance.js +1 -0
- package/src/bin/v2/modules/accessibilityModule.js +1 -0
- package/src/bin/v2/modules/baseModule.js +1 -0
- package/src/bin/v2/modules/observabilityModule.js +1 -0
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -0
- package/src/bin/v2/modules/testhubModule.js +1 -0
- package/src/bin/v2/state/automationFrameworkState.js +1 -0
- package/src/bin/v2/state/hookState.js +1 -0
- package/src/bin/v2/state/testFrameworkState.js +1 -0
- package/src/bin/v2/uploadAttachmentsManager.js +1 -0
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -0
- 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/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/fail-fast/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/fail-fast/jest.js +1 -0
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +1 -0
- 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 a29_0xcb296b=a29_0x34ad;function a29_0x34ad(_0x583cb6,_0x551299){const _0x5f4d59=a29_0x5f4d();return a29_0x34ad=function(_0x34ad99,_0x161c7b){_0x34ad99=_0x34ad99-0x137;let _0x2b0253=_0x5f4d59[_0x34ad99];return _0x2b0253;},a29_0x34ad(_0x583cb6,_0x551299);}(function(_0x40c010,_0x3ded4b){const _0x1e8636=a29_0x34ad,_0x40e87b=_0x40c010();while(!![]){try{const _0x5a0e39=-parseInt(_0x1e8636(0x179))/0x1*(parseInt(_0x1e8636(0x1a5))/0x2)+parseInt(_0x1e8636(0x15e))/0x3+parseInt(_0x1e8636(0x152))/0x4*(-parseInt(_0x1e8636(0x13e))/0x5)+-parseInt(_0x1e8636(0x195))/0x6*(-parseInt(_0x1e8636(0x15c))/0x7)+parseInt(_0x1e8636(0x14c))/0x8*(-parseInt(_0x1e8636(0x1a2))/0x9)+parseInt(_0x1e8636(0x17d))/0xa*(parseInt(_0x1e8636(0x1ae))/0xb)+parseInt(_0x1e8636(0x176))/0xc*(parseInt(_0x1e8636(0x143))/0xd);if(_0x5a0e39===_0x3ded4b)break;else _0x40e87b['push'](_0x40e87b['shift']());}catch(_0x4769f3){_0x40e87b['push'](_0x40e87b['shift']());}}}(a29_0x5f4d,0x89003));function a29_0x5f4d(){const _0x17bf51=['session_','/session','4863599RwkEpL','setServer','url_','capability','exports','firefoxOptions','keys','requireSeleniumWebdriver','getAccessibilityResultsSummary','8WgxLSI','HrHmP','split','1|5|0|3|2|4','logLevel','originalBuilder','4447256ztaVMK','ms:edgeOptions','browserstackAgentObservability','New\x20hub\x20url\x20set\x20to\x20','overrideGet','BzgGB','../../../hubAllocationMethods','mergeDeep','../../../bin/utils/constants','forEach','3897761XwLbiz','Proxy\x20set\x20to\x20','929043XyCHRf','proxy_','ieOptions_','options_','safariOptions_','Modifying\x20webdriver\x20builder','FHfhG','../../../helpers/globals','setGlobal','storeOptimalHubUrl','winstonLogger','../../../helpers/logger','quitCount_','kLbtK','getHubUrl','Builder','icNNR','eejtH','Setting\x20Browserstack\x20capabilities','global','updateHubUrl','gQIdt','../../../helpers/helper','ieOptions','60ACgmyi','vKHVU','capabilities_','917538LOdnYF','proxySettings','EHHCX','edgeOptions_','3363560LHGYbt','isBrowserstackInfra','browserStackLogLevel','iWJMP','isPacProxy','../../../helpers/accessibility-automation/helper','get','xghkn','set','../../../helpers/patchHelpers','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ztyXy','__driversArray','/wd/hub','setLogLevel','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxyUrl','then','anWMn','firefoxOptions_','getAccessibilityResults','safari.options','build','12lkCTxs','getGlobal','setCapabilities','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','getRequestOptions','PzCAS','CAPABILITY_KEY','newHubUrl','GHCuJ','IZCtZ','LaCrR','requireHttpClient','object','9358119HfhTno','2|4|1|5|0|3','RdJdQ','2LOgmRK','ULmVO','lLAfD','bcUfm','MXNNL','ZdtpY','se:ieOptions','JhiAc','yFirL','11tHxmWz','send','HttpClient','edgeOptions','PUlyl','isUndefined','LrQDj','__drivers','xaUhH','debug','chromeOptions_','isAccessibilityPlatform','rPEHq','__setBrowserOptions','__driver','push','5NonWNr','https://','ZifuL'];a29_0x5f4d=function(){return _0x17bf51;};return a29_0x5f4d();}const logger=require(a29_0xcb296b(0x169))[a29_0xcb296b(0x168)],helper=require(a29_0xcb296b(0x174)),constants=require(a29_0xcb296b(0x15a)),hubAllocator=require(a29_0xcb296b(0x158)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0xcb296b(0x186)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0xcb296b(0x182)),globals=require(a29_0xcb296b(0x165)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x2cc16a,_0x1f0bff=null,_0x138af0=![])=>{const _0x331fff=a29_0xcb296b,_0x116889={'ZdtpY':function(_0x2f722f,_0x4859ce){return _0x2f722f!==_0x4859ce;},'EHHCX':_0x331fff(0x142),'WmSYR':function(_0x14381a,_0x9c37d5){return _0x14381a+_0x9c37d5;},'xaUhH':function(_0x56c606,_0x28e77f){return _0x56c606+_0x28e77f;},'zWlpB':_0x331fff(0x13f),'IZCtZ':_0x331fff(0x18b),'eejtH':'goog:chromeOptions','VLDIA':'chromeOptions','kLbtK':_0x331fff(0x153),'FHfhG':_0x331fff(0x1b1),'icNNR':'moz:firefoxOptions','lLAfD':_0x331fff(0x148),'ULmVO':_0x331fff(0x193),'AFTtc':_0x331fff(0x1ab),'XALew':_0x331fff(0x175),'xghkn':function(_0x4c794a,_0x4b4dfb){return _0x4c794a===_0x4b4dfb;},'ijthM':_0x331fff(0x1a1),'BstzP':_0x331fff(0x170),'PUlyl':_0x331fff(0x1a3),'zTCAD':function(_0x33bd0b,_0x5a1575,_0x45a891){return _0x33bd0b(_0x5a1575,_0x45a891);},'anWMn':function(_0x629531,_0x569380){return _0x629531(_0x569380);},'LrQDj':function(_0x1d5199,_0x5e2970,_0x53c923){return _0x1d5199(_0x5e2970,_0x53c923);},'NvXqk':'optimalHubUrl','BzgGB':_0x331fff(0x198),'rPEHq':function(_0x54d156,_0x5c5c9a,_0x46ea6a){return _0x54d156(_0x5c5c9a,_0x46ea6a);},'ZwZVb':function(_0x4aece2,_0x196ff6,_0x17e51b){return _0x4aece2(_0x196ff6,_0x17e51b);},'GHCuJ':function(_0x1b074d,_0x4779ff,_0x13447a){return _0x1b074d(_0x4779ff,_0x13447a);},'JhiAc':_0x331fff(0x14f),'HrHmP':function(_0x4bafe0){return _0x4bafe0();},'ztyXy':_0x331fff(0x139),'LaCrR':function(_0x47e203,_0x219546,_0x57afe0){return _0x47e203(_0x219546,_0x57afe0);},'gQIdt':_0x331fff(0x188),'bcUfm':function(_0x122e7c,_0x1380b7){return _0x122e7c(_0x1380b7);},'ZifuL':function(_0x10b43c,_0x34f96f){return _0x10b43c(_0x34f96f);},'yFirL':function(_0x466a75,_0xa0467e,_0x2a5ca0){return _0x466a75(_0xa0467e,_0x2a5ca0);},'Nrxwh':function(_0x3bdca5,_0x4d6cd5){return _0x3bdca5!==_0x4d6cd5;},'DDnQI':function(_0xfc0001,_0x3008c0){return _0xfc0001!==_0x3008c0;},'aWAjb':_0x331fff(0x18d),'vKHVU':_0x331fff(0x163)},_0x124b5a=helper[_0x331fff(0x1a0)]();let _0x50be4c;try{_0x50be4c=helper[_0x331fff(0x14a)](),_0x50be4c['originalBuilder']&&(_0x50be4c[_0x331fff(0x16d)]=_0x50be4c[_0x331fff(0x151)]);}catch(_0x4cf398){return;}if(helper[_0x331fff(0x17e)]()){const _0x5b78d6={};_0x5b78d6[_0x331fff(0x150)]=_0x2cc16a[_0x331fff(0x17f)],helper[_0x331fff(0x18c)](_0x5b78d6,new Map(),new Map()),logger['info'](_0x116889['aWAjb']),logger[_0x331fff(0x137)](_0x116889[_0x331fff(0x177)]);}class _0x5c1ae0 extends _0x124b5a['HttpClient']{[_0x331fff(0x1af)](_0x8c46a7){const _0x181b26=_0x331fff;if(_0x116889[_0x181b26(0x1aa)](_0x8c46a7['path'],_0x116889[_0x181b26(0x17b)])&&_0x116889[_0x181b26(0x1aa)](global[_0x181b26(0x19c)],''))try{global[_0x181b26(0x19c)]=_0x116889['WmSYR'](_0x116889[_0x181b26(0x1b6)](_0x116889['zWlpB'],global['newHubUrl']),_0x116889[_0x181b26(0x19e)]),this[_0x181b26(0x161)]=hubAllocator[_0x181b26(0x199)](global[_0x181b26(0x19c)]),logger[_0x181b26(0x137)](_0x181b26(0x155)+global[_0x181b26(0x19c)]),global[_0x181b26(0x19c)]='';}catch(_0x4e5c12){logger['error'](_0x4e5c12);}return super['send'](_0x8c46a7);}}class _0x4b9a3f extends _0x50be4c['Builder']{[_0x331fff(0x144)](){const _0x1be163=_0x331fff;return this[_0x1be163(0x145)]=helper[_0x1be163(0x16c)](_0x2cc16a),logger[_0x1be163(0x137)]('Hub\x20url\x20set\x20to\x20'+this['url_']),this;}[_0x331fff(0x13b)](_0x1ef7ea){const _0x9f638c=_0x331fff;let _0xe73730={};for(const _0xc2e6ef in _0x1ef7ea){switch(_0xc2e6ef){case _0x116889[_0x9f638c(0x16f)]:case _0x116889['VLDIA']:this[_0x9f638c(0x138)]&&(_0xe73730=this[_0x9f638c(0x138)]['get'](this[_0x9f638c(0x138)][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x138)][_0x9f638c(0x185)](this[_0x9f638c(0x138)][_0x9f638c(0x19b)],helper['mergeDeep'](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x16b)]:case _0x116889[_0x9f638c(0x164)]:this['edgeOptions_']&&(_0xe73730=this[_0x9f638c(0x17c)][_0x9f638c(0x183)](this[_0x9f638c(0x17c)][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x17c)][_0x9f638c(0x185)](this[_0x9f638c(0x17c)][_0x9f638c(0x19b)],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x16e)]:case _0x116889[_0x9f638c(0x1a7)]:this[_0x9f638c(0x191)]&&(_0xe73730=this['firefoxOptions_'][_0x9f638c(0x183)](this['firefoxOptions_'][_0x9f638c(0x19b)])||{},this[_0x9f638c(0x191)][_0x9f638c(0x185)](this[_0x9f638c(0x191)][_0x9f638c(0x19b)],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889[_0x9f638c(0x1a6)]:this['safariOptions_']&&(_0xe73730=this[_0x9f638c(0x162)][_0x9f638c(0x183)](this[_0x9f638c(0x162)][_0x9f638c(0x19b)])||{},this['safariOptions_']['set'](this[_0x9f638c(0x162)]['CAPABILITY_KEY'],helper[_0x9f638c(0x159)](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;case _0x116889['AFTtc']:case _0x116889['XALew']:this['ieOptions_']&&(_0xe73730=this[_0x9f638c(0x160)][_0x9f638c(0x183)](this[_0x9f638c(0x160)]['CAPABILITY_KEY'])||{},this[_0x9f638c(0x160)][_0x9f638c(0x185)](this[_0x9f638c(0x160)][_0x9f638c(0x19b)],helper['mergeDeep'](_0xe73730,_0x1ef7ea[_0xc2e6ef])));break;}}}[_0x331fff(0x197)](){const _0x4511cf=_0x331fff,_0x4539a0={'iWJMP':function(_0x505567,_0x1373e9){const _0x493c45=a29_0x34ad;return _0x116889[_0x493c45(0x184)](_0x505567,_0x1373e9);},'MXNNL':_0x116889['ijthM']};return logger[_0x4511cf(0x137)](_0x116889['BstzP']),this['__setBrowserOptions'](_0x2cc16a[_0x4511cf(0x146)]),Object[_0x4511cf(0x149)](_0x2cc16a[_0x4511cf(0x146)])[_0x4511cf(0x15b)](_0x36e216=>{const _0x3e710f=_0x4511cf,_0x5ad9f2=this[_0x3e710f(0x178)]['get'](_0x36e216);_0x4539a0[_0x3e710f(0x180)](typeof _0x5ad9f2,_0x4539a0[_0x3e710f(0x1a9)])?this[_0x3e710f(0x178)][_0x3e710f(0x185)](_0x36e216,helper[_0x3e710f(0x159)](_0x5ad9f2,_0x2cc16a['capability'][_0x36e216])):this[_0x3e710f(0x178)][_0x3e710f(0x185)](_0x36e216,_0x2cc16a[_0x3e710f(0x146)][_0x36e216]);}),this;}[_0x331fff(0x194)](){const _0xc62296=_0x331fff,_0x4180d8={'GwyQG':_0x116889['NvXqk'],'RdJdQ':_0x116889[_0xc62296(0x157)],'PzCAS':function(_0x554343,_0x1eda21,_0x4f02b3){const _0x59d682=_0xc62296;return _0x116889[_0x59d682(0x13a)](_0x554343,_0x1eda21,_0x4f02b3);},'xCBBK':function(_0x2ac0e1,_0x3f4dde,_0x154ba5){return _0x116889['ZwZVb'](_0x2ac0e1,_0x3f4dde,_0x154ba5);},'loAzE':function(_0x10b770,_0x151876,_0x1558cb){const _0x326f7f=_0xc62296;return _0x116889[_0x326f7f(0x19d)](_0x10b770,_0x151876,_0x1558cb);}};if(helper[_0xc62296(0x17e)]()){const _0x4166f7=_0x116889[_0xc62296(0x1ac)][_0xc62296(0x14e)]('|');let _0x42c53e=0x0;while(!![]){switch(_0x4166f7[_0x42c53e++]){case'0':this['setCapabilities']();continue;case'1':_0x116889[_0xc62296(0x14d)](isAccessibilityAutomationSession)&&_0x116889['anWMn'](setAccessibilityCapabilities,_0x2cc16a);continue;case'2':globals[_0xc62296(0x196)](_0x116889[_0xc62296(0x189)])&&(!_0x116889[_0xc62296(0x19f)](setExtension,this,_0x2cc16a)&&globals[_0xc62296(0x166)](_0x116889[_0xc62296(0x189)],![]));continue;case'3':if(helper[_0xc62296(0x181)](_0x2cc16a['proxySettings'][_0xc62296(0x18e)]))this['agent_']=helper['getHttpAgent'](_0x2cc16a[_0xc62296(0x17a)][_0xc62296(0x18e)]);else _0x2cc16a['proxySettings'][_0xc62296(0x18e)]&&(this['proxy_']=_0x2cc16a['proxySettings'][_0xc62296(0x18e)],logger[_0xc62296(0x137)](_0xc62296(0x15d)+this[_0xc62296(0x15f)]));continue;case'4':logger[_0xc62296(0x137)](_0x116889[_0xc62296(0x173)]);continue;case'5':this[_0xc62296(0x144)]();continue;}break;}}const _0x377bf4=super['build']();return _0x377bf4[_0xc62296(0x141)][_0xc62296(0x18f)](_0x111003=>{const _0x2a9584=_0xc62296;try{const _0x13f4f3=_0x111003['caps_'][_0x2a9584(0x183)](_0x4180d8['GwyQG']);_0x13f4f3?(logger[_0x2a9584(0x137)](_0x2a9584(0x187)+_0x13f4f3),hubAllocator[_0x2a9584(0x172)](_0x13f4f3),helper[_0x2a9584(0x167)](_0x13f4f3)):logger[_0x2a9584(0x137)](_0x4180d8[_0x2a9584(0x1a4)]);}catch(_0x284b9a){logger[_0x2a9584(0x137)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x284b9a);}}),_0x377bf4[_0xc62296(0x16a)]=0x0,_0x377bf4['then']&&_0x377bf4['then'](_0x1362c0=>{const _0x2d507a=_0xc62296,_0x46f5a8=_0x116889[_0x2d507a(0x1b2)][_0x2d507a(0x14e)]('|');let _0x2cb241=0x0;while(!![]){switch(_0x46f5a8[_0x2cb241++]){case'0':_0x1362c0[_0x2d507a(0x14b)]=async()=>{const _0x4cde34=_0x2d507a;return await _0x4180d8[_0x4cde34(0x19a)](getAccessibilityResultsSummary,_0x1362c0,global);};continue;case'1':helper[_0x2d507a(0x156)](_0x1362c0,_0x2cc16a);continue;case'2':_0x116889['zTCAD'](overrideQuit,_0x1362c0,_0x377bf4);continue;case'3':_0x1362c0[_0x2d507a(0x192)]=async()=>{return await _0x4180d8['xCBBK'](getAccessibilityResults,_0x1362c0,global);};continue;case'4':_0x116889[_0x2d507a(0x190)](overrideTakeScreenshot,_0x1362c0);continue;case'5':_0x116889[_0x2d507a(0x1b4)](overrideExecute,_0x1362c0,_0x2cc16a);continue;}break;}}),_0x377bf4[_0xc62296(0x14b)]=async()=>{return await _0x116889['LrQDj'](getAccessibilityResultsSummary,_0x377bf4,global);},_0x377bf4[_0xc62296(0x192)]=async()=>{return await _0x4180d8['loAzE'](getAccessibilityResults,_0x377bf4,global);},_0x116889[_0xc62296(0x1a8)](overrideTakeScreenshot,_0x377bf4),_0x116889[_0xc62296(0x140)](overrideQuit,_0x377bf4),helper[_0xc62296(0x156)](_0x377bf4,_0x2cc16a),_0x116889[_0xc62296(0x1ad)](overrideExecute,_0x377bf4,_0x2cc16a),helper[_0xc62296(0x1b3)](global[_0xc62296(0x18a)])&&(global['__driversArray']=[]),helper[_0xc62296(0x1b3)](global[_0xc62296(0x1b5)])&&(global[_0xc62296(0x1b5)]=[]),global['__driversArray'][_0xc62296(0x13d)](_0x377bf4),global[_0xc62296(0x13c)]=_0x377bf4,_0x116889['Nrxwh'](global[_0xc62296(0x1b5)],undefined)&&global['__drivers'][_0xc62296(0x13d)](_0x377bf4),_0x1f0bff&&helper[_0xc62296(0x1b3)](_0x1f0bff[_0xc62296(0x171)]['__driversArray'])&&(_0x1f0bff[_0xc62296(0x171)][_0xc62296(0x18a)]=[]),_0x1f0bff&&_0x116889['DDnQI'](_0x1f0bff['global'][_0xc62296(0x1b5)],undefined)&&(_0x1f0bff[_0xc62296(0x171)]['__drivers']['push'](_0x377bf4),_0x1f0bff[_0xc62296(0x171)]['__driversArray'][_0xc62296(0x13d)](_0x377bf4)),_0x377bf4;}}return _0x50be4c[_0x331fff(0x151)]=_0x50be4c[_0x331fff(0x16d)],_0x50be4c['Builder']=_0x4b9a3f,_0x124b5a[_0x331fff(0x1b0)]=_0x5c1ae0,_0x50be4c;};module[a29_0xcb296b(0x147)][a29_0xcb296b(0x154)]=modify;
|
|
1
|
+
const a29_0x54f698=a29_0x1167;(function(_0x5976e,_0x5b03d6){const _0x1a77c7=a29_0x1167,_0x581551=_0x5976e();while(!![]){try{const _0x2bcb7d=parseInt(_0x1a77c7(0x1ba))/0x1*(parseInt(_0x1a77c7(0x1bc))/0x2)+-parseInt(_0x1a77c7(0x20b))/0x3+parseInt(_0x1a77c7(0x1a4))/0x4+-parseInt(_0x1a77c7(0x1ae))/0x5*(parseInt(_0x1a77c7(0x1f7))/0x6)+-parseInt(_0x1a77c7(0x1cc))/0x7*(parseInt(_0x1a77c7(0x210))/0x8)+parseInt(_0x1a77c7(0x1a6))/0x9*(-parseInt(_0x1a77c7(0x1a2))/0xa)+parseInt(_0x1a77c7(0x205))/0xb;if(_0x2bcb7d===_0x5b03d6)break;else _0x581551['push'](_0x581551['shift']());}catch(_0x235fb7){_0x581551['push'](_0x581551['shift']());}}}(a29_0x1901,0xe547a));function a29_0x1167(_0x1e919a,_0xae24b2){const _0x190196=a29_0x1901();return a29_0x1167=function(_0x11675f,_0x4d5a01){_0x11675f=_0x11675f-0x19f;let _0x32384c=_0x190196[_0x11675f];return _0x32384c;},a29_0x1167(_0x1e919a,_0xae24b2);}const logger=require(a29_0x54f698(0x1a0))[a29_0x54f698(0x1b2)],helper=require(a29_0x54f698(0x1fe)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x54f698(0x19f)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x54f698(0x1b5)),{setAccessibilityCapabilities,setExtension}=require(a29_0x54f698(0x1bd)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x54f698(0x1cd)),globals=require(a29_0x54f698(0x214)),{overrideExecute}=require(a29_0x54f698(0x206)),modify=(_0x3de05a,_0x1518c9=null,_0x197e7b=![])=>{const _0x45b723=a29_0x54f698,_0x10b295={'pZskO':function(_0x428122,_0xba32b8){return _0x428122!==_0xba32b8;},'yRgxQ':_0x45b723(0x1a3),'uERwu':function(_0x1f4b38,_0xef15aa){return _0x1f4b38!==_0xef15aa;},'ylWlw':function(_0x32766f,_0x671322){return _0x32766f+_0x671322;},'XjPlX':_0x45b723(0x1e0),'KunPS':_0x45b723(0x1ed),'fGCQV':_0x45b723(0x1ce),'HNcSj':_0x45b723(0x1f4),'FUGeQ':_0x45b723(0x1b0),'iBxse':'edgeOptions','nfDHl':_0x45b723(0x1d1),'ZmOrS':_0x45b723(0x204),'QOsAp':_0x45b723(0x1cb),'VVvfy':'se:ieOptions','idEKr':_0x45b723(0x215),'cAVVp':function(_0x2a809f,_0x91979f){return _0x2a809f===_0x91979f;},'NUUjs':_0x45b723(0x216),'aTFVq':_0x45b723(0x1bb),'RtaML':'optimalHubUrl','zdUhC':_0x45b723(0x208),'dvHSP':_0x45b723(0x1c0),'AdLcw':function(_0xb3bb66,_0x40360f){return _0xb3bb66(_0x40360f);},'eiTVE':function(_0x42969f,_0x203136,_0x2c6b7a){return _0x42969f(_0x203136,_0x2c6b7a);},'IxnkQ':function(_0x5d3094,_0xd9ee24,_0x3d01c5){return _0x5d3094(_0xd9ee24,_0x3d01c5);},'CzolT':function(_0x361dab,_0x243ebf,_0x2c4668){return _0x361dab(_0x243ebf,_0x2c4668);},'UcwsB':function(_0x1095ab,_0x130636,_0x2b7733){return _0x1095ab(_0x130636,_0x2b7733);},'SBXxG':'4|3|5|1|2|0','QHsAs':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','aqBgl':'isAccessibilityPlatform','lihMa':function(_0x7404ad){return _0x7404ad();},'hGxqk':function(_0x3a8395,_0x482b62){return _0x3a8395(_0x482b62);},'WADJt':function(_0x5c31e9,_0x58f140){return _0x5c31e9(_0x58f140);},'XRiOD':function(_0x28eb0b,_0x342785){return _0x28eb0b(_0x342785);},'bamrE':function(_0x11f21d,_0x2e2afb){return _0x11f21d!==_0x2e2afb;},'cfzol':_0x45b723(0x1c7),'gfNTA':_0x45b723(0x1ad)},_0x395ca7=helper['requireHttpClient']();let _0x123b2f;try{_0x123b2f=helper['requireSeleniumWebdriver'](),_0x123b2f[_0x45b723(0x1e9)]&&(_0x123b2f[_0x45b723(0x1b8)]=_0x123b2f[_0x45b723(0x1e9)]);}catch(_0x101893){return;}if(helper['isBrowserstackInfra']()){const _0x2c3458={};_0x2c3458[_0x45b723(0x1bf)]=_0x3de05a[_0x45b723(0x1eb)],helper[_0x45b723(0x1db)](_0x2c3458,new Map(),new Map()),logger[_0x45b723(0x1fa)](_0x10b295[_0x45b723(0x1b1)]),logger[_0x45b723(0x1e2)](_0x10b295[_0x45b723(0x1a7)]);}class _0x1beb76 extends _0x395ca7['HttpClient']{[_0x45b723(0x1d0)](_0x544b1d){const _0x2a9e6e=_0x45b723;if(_0x10b295['pZskO'](_0x544b1d[_0x2a9e6e(0x20c)],_0x10b295[_0x2a9e6e(0x1e3)])&&_0x10b295[_0x2a9e6e(0x1c3)](global[_0x2a9e6e(0x1fb)],''))try{global[_0x2a9e6e(0x1fb)]=_0x10b295[_0x2a9e6e(0x1f2)](_0x10b295[_0x2a9e6e(0x1f2)](_0x10b295['XjPlX'],global[_0x2a9e6e(0x1fb)]),_0x10b295[_0x2a9e6e(0x1be)]),this[_0x2a9e6e(0x1c5)]=hubAllocator['getRequestOptions'](global[_0x2a9e6e(0x1fb)]),logger[_0x2a9e6e(0x1e2)](_0x2a9e6e(0x1ff)+global[_0x2a9e6e(0x1fb)]),global[_0x2a9e6e(0x1fb)]='';}catch(_0x43d03e){logger['error'](_0x43d03e);}return super[_0x2a9e6e(0x1d0)](_0x544b1d);}}class _0x4779a4 extends _0x123b2f[_0x45b723(0x1b8)]{['setServer'](){const _0x3ec1ef=_0x45b723;return this['url_']=helper[_0x3ec1ef(0x1de)](_0x3de05a),logger[_0x3ec1ef(0x1e2)](_0x3ec1ef(0x1d5)+this[_0x3ec1ef(0x1ab)]),this;}[_0x45b723(0x1df)](_0x52b89d){const _0x47a570=_0x45b723;let _0x4cb411={};for(const _0x571057 in _0x52b89d){switch(_0x571057){case _0x10b295[_0x47a570(0x1c8)]:case _0x10b295[_0x47a570(0x1aa)]:this[_0x47a570(0x1c2)]&&(_0x4cb411=this[_0x47a570(0x1c2)][_0x47a570(0x1d7)](this[_0x47a570(0x1c2)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x47a570(0x1fd)](this[_0x47a570(0x1c2)]['CAPABILITY_KEY'],helper[_0x47a570(0x20e)](_0x4cb411,_0x52b89d[_0x571057])));break;case _0x10b295[_0x47a570(0x1d9)]:case _0x10b295[_0x47a570(0x1b6)]:this['edgeOptions_']&&(_0x4cb411=this[_0x47a570(0x1c1)][_0x47a570(0x1d7)](this[_0x47a570(0x1c1)][_0x47a570(0x1af)])||{},this[_0x47a570(0x1c1)][_0x47a570(0x1fd)](this['edgeOptions_'][_0x47a570(0x1af)],helper['mergeDeep'](_0x4cb411,_0x52b89d[_0x571057])));break;case _0x10b295[_0x47a570(0x1b9)]:case _0x10b295['ZmOrS']:this[_0x47a570(0x207)]&&(_0x4cb411=this[_0x47a570(0x207)][_0x47a570(0x1d7)](this[_0x47a570(0x207)][_0x47a570(0x1af)])||{},this[_0x47a570(0x207)]['set'](this[_0x47a570(0x207)][_0x47a570(0x1af)],helper['mergeDeep'](_0x4cb411,_0x52b89d[_0x571057])));break;case _0x10b295[_0x47a570(0x1d4)]:this[_0x47a570(0x1a9)]&&(_0x4cb411=this[_0x47a570(0x1a9)]['get'](this[_0x47a570(0x1a9)][_0x47a570(0x1af)])||{},this['safariOptions_'][_0x47a570(0x1fd)](this['safariOptions_'][_0x47a570(0x1af)],helper[_0x47a570(0x20e)](_0x4cb411,_0x52b89d[_0x571057])));break;case _0x10b295[_0x47a570(0x1e1)]:case _0x10b295['idEKr']:this['ieOptions_']&&(_0x4cb411=this[_0x47a570(0x211)]['get'](this['ieOptions_'][_0x47a570(0x1af)])||{},this[_0x47a570(0x211)][_0x47a570(0x1fd)](this['ieOptions_'][_0x47a570(0x1af)],helper['mergeDeep'](_0x4cb411,_0x52b89d[_0x571057])));break;}}}[_0x45b723(0x202)](){const _0x23e1a4=_0x45b723,_0x5116a8={'ljnoS':function(_0x41d7b8,_0xf05384){const _0x4bb3de=a29_0x1167;return _0x10b295[_0x4bb3de(0x1dd)](_0x41d7b8,_0xf05384);},'hREtI':_0x10b295['NUUjs']};return logger[_0x23e1a4(0x1e2)](_0x10b295['aTFVq']),this['__setBrowserOptions'](_0x3de05a['capability']),Object[_0x23e1a4(0x217)](_0x3de05a[_0x23e1a4(0x20a)])[_0x23e1a4(0x1dc)](_0x1ab17b=>{const _0xcacb77=_0x23e1a4,_0x1b45bb=this[_0xcacb77(0x1f6)][_0xcacb77(0x1d7)](_0x1ab17b);_0x5116a8[_0xcacb77(0x1cf)](typeof _0x1b45bb,_0x5116a8[_0xcacb77(0x1da)])?this[_0xcacb77(0x1f6)][_0xcacb77(0x1fd)](_0x1ab17b,helper[_0xcacb77(0x20e)](_0x1b45bb,_0x3de05a[_0xcacb77(0x20a)][_0x1ab17b])):this[_0xcacb77(0x1f6)]['set'](_0x1ab17b,_0x3de05a[_0xcacb77(0x20a)][_0x1ab17b]);}),this;}['build'](){const _0x518d89=_0x45b723,_0x28c60b={'PtLIU':function(_0x3ef206,_0x4ddbe0,_0x52ed56){const _0x4ea21d=a29_0x1167;return _0x10b295[_0x4ea21d(0x1b7)](_0x3ef206,_0x4ddbe0,_0x52ed56);},'HmYTt':function(_0x3724ee,_0xf4b6aa,_0x40457a){return _0x10b295['UcwsB'](_0x3724ee,_0xf4b6aa,_0x40457a);}};if(helper[_0x518d89(0x203)]()){const _0x219140=_0x10b295['SBXxG'][_0x518d89(0x1e7)]('|');let _0x5940b5=0x0;while(!![]){switch(_0x219140[_0x5940b5++]){case'0':logger[_0x518d89(0x1e2)](_0x10b295['QHsAs']);continue;case'1':if(helper[_0x518d89(0x1ef)](_0x3de05a[_0x518d89(0x1d2)][_0x518d89(0x213)]))this['agent_']=helper[_0x518d89(0x20d)](_0x3de05a[_0x518d89(0x1d2)][_0x518d89(0x213)]);else _0x3de05a[_0x518d89(0x1d2)]['proxyUrl']&&(this[_0x518d89(0x1a8)]=_0x3de05a[_0x518d89(0x1d2)]['proxyUrl'],logger[_0x518d89(0x1e2)](_0x518d89(0x1e6)+this[_0x518d89(0x1a8)]));continue;case'2':globals[_0x518d89(0x1d8)](_0x10b295[_0x518d89(0x1e4)])&&(!_0x10b295[_0x518d89(0x1f5)](setExtension,this,_0x3de05a)&&globals[_0x518d89(0x1b3)](_0x10b295['aqBgl'],![]));continue;case'3':this['setServer']();continue;case'4':_0x10b295[_0x518d89(0x1e8)](isAccessibilityAutomationSession)&&_0x10b295[_0x518d89(0x1fc)](setAccessibilityCapabilities,_0x3de05a);continue;case'5':this['setCapabilities']();continue;}break;}}const _0x65aa6=super[_0x518d89(0x1f3)]();return _0x65aa6[_0x518d89(0x1d6)][_0x518d89(0x200)](_0x479275=>{const _0x42332d=_0x518d89;try{const _0x381e5b=_0x479275[_0x42332d(0x1c6)]['get'](_0x10b295[_0x42332d(0x218)]);_0x381e5b?(logger[_0x42332d(0x1e2)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x381e5b),hubAllocator['updateHubUrl'](_0x381e5b),helper[_0x42332d(0x1b4)](_0x381e5b)):logger[_0x42332d(0x1e2)](_0x10b295['zdUhC']);}catch(_0xcef9){logger[_0x42332d(0x1e2)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0xcef9);}}),_0x65aa6['quitCount_']=0x0,_0x65aa6['then']&&_0x65aa6[_0x518d89(0x200)](_0x98e967=>{const _0x3f633b=_0x518d89,_0x2879ac=_0x10b295[_0x3f633b(0x212)]['split']('|');let _0x2e989d=0x0;while(!![]){switch(_0x2879ac[_0x2e989d++]){case'0':_0x98e967['getAccessibilityResults']=async()=>{const _0x62a0ec=_0x3f633b;return await _0x28c60b[_0x62a0ec(0x1c9)](getAccessibilityResults,_0x98e967,global);};continue;case'1':_0x10b295[_0x3f633b(0x1ca)](overrideTakeScreenshot,_0x98e967);continue;case'2':_0x98e967['getAccessibilityResultsSummary']=async()=>{const _0x43453c=_0x3f633b;return await _0x28c60b[_0x43453c(0x1d3)](getAccessibilityResultsSummary,_0x98e967,global);};continue;case'3':_0x10b295[_0x3f633b(0x209)](overrideExecute,_0x98e967,_0x3de05a);continue;case'4':_0x10b295[_0x3f633b(0x209)](overrideQuit,_0x98e967,_0x65aa6);continue;case'5':helper[_0x3f633b(0x1ac)](_0x98e967,_0x3de05a);continue;}break;}}),_0x65aa6[_0x518d89(0x1ea)]=async()=>{const _0x4fa145=_0x518d89;return await _0x10b295[_0x4fa145(0x1f5)](getAccessibilityResultsSummary,_0x65aa6,global);},_0x65aa6['getAccessibilityResults']=async()=>{const _0x44891b=_0x518d89;return await _0x28c60b[_0x44891b(0x1c9)](getAccessibilityResults,_0x65aa6,global);},_0x10b295[_0x518d89(0x1c4)](overrideTakeScreenshot,_0x65aa6),_0x10b295[_0x518d89(0x20f)](overrideQuit,_0x65aa6),helper[_0x518d89(0x1ac)](_0x65aa6,_0x3de05a),_0x10b295[_0x518d89(0x209)](overrideExecute,_0x65aa6,_0x3de05a),helper['isUndefined'](global[_0x518d89(0x1a1)])&&(global[_0x518d89(0x1a1)]=[]),helper[_0x518d89(0x1ee)](global[_0x518d89(0x1f1)])&&(global[_0x518d89(0x1f1)]=[]),global['__driversArray'][_0x518d89(0x1a5)](_0x65aa6),global[_0x518d89(0x1f0)]=_0x65aa6,_0x10b295[_0x518d89(0x1f9)](global[_0x518d89(0x1f1)],undefined)&&global[_0x518d89(0x1f1)][_0x518d89(0x1a5)](_0x65aa6),_0x1518c9&&helper[_0x518d89(0x1ee)](_0x1518c9[_0x518d89(0x1f8)]['__driversArray'])&&(_0x1518c9['global']['__driversArray']=[]),_0x1518c9&&_0x10b295[_0x518d89(0x1f9)](_0x1518c9[_0x518d89(0x1f8)][_0x518d89(0x1f1)],undefined)&&(_0x1518c9[_0x518d89(0x1f8)]['__drivers'][_0x518d89(0x1a5)](_0x65aa6),_0x1518c9['global'][_0x518d89(0x1a1)][_0x518d89(0x1a5)](_0x65aa6)),_0x65aa6;}}return _0x123b2f['originalBuilder']=_0x123b2f['Builder'],_0x123b2f[_0x45b723(0x1b8)]=_0x4779a4,_0x395ca7[_0x45b723(0x1ec)]=_0x1beb76,_0x123b2f;};module[a29_0x54f698(0x201)][a29_0x54f698(0x1e5)]=modify;function a29_0x1901(){const _0x449e25=['../../../helpers/helper','New\x20hub\x20url\x20set\x20to\x20','then','exports','setCapabilities','isBrowserstackInfra','firefoxOptions','19112533lxYdrc','./helpers/patchHelper','firefoxOptions_','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','eiTVE','capability','1289982XEckJU','path','getHttpAgent','mergeDeep','XRiOD','5704AWhwro','ieOptions_','dvHSP','proxyUrl','../../../helpers/globals','ieOptions','object','keys','RtaML','../../../hubAllocationMethods','../../../helpers/logger','__driversArray','19550MUOAYZ','/session','5096400RBtKWv','push','4770dBSpZc','gfNTA','proxy_','safariOptions_','HNcSj','url_','overrideGet','Modifying\x20webdriver\x20builder','65uCHBsd','CAPABILITY_KEY','ms:edgeOptions','cfzol','winstonLogger','setGlobal','storeOptimalHubUrl','../../../helpers/patchHelpers','iBxse','CzolT','Builder','nfDHl','630719cMjXrA','Setting\x20Browserstack\x20capabilities','4NoaiWN','../accessibility-automation/helper','KunPS','logLevel','4|1|5|3|2|0','edgeOptions_','chromeOptions_','uERwu','WADJt','options_','caps_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','fGCQV','HmYTt','AdLcw','safari.options','14588kVmSuv','../../../helpers/accessibility-automation/helper','goog:chromeOptions','ljnoS','send','moz:firefoxOptions','proxySettings','PtLIU','QOsAp','Hub\x20url\x20set\x20to\x20','session_','get','getGlobal','FUGeQ','hREtI','setLogLevel','forEach','cAVVp','getHubUrl','__setBrowserOptions','https://','VVvfy','debug','yRgxQ','aqBgl','browserstackAgentObservability','Proxy\x20set\x20to\x20','split','lihMa','originalBuilder','getAccessibilityResultsSummary','browserStackLogLevel','HttpClient','/wd/hub','isUndefined','isPacProxy','__driver','__drivers','ylWlw','build','chromeOptions','IxnkQ','capabilities_','176250zmbezo','global','bamrE','info','newHubUrl','hGxqk','set'];a29_0x1901=function(){return _0x449e25;};return a29_0x1901();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a30_0x5c94(){const _0x9d6f83=['943390cldFDp','133624fqWGpQ','84ewxBvB','27719WUyKyn','../../../helpers/test-observability/utils','65667BTrKIo','24972717eHZlfQ','zWFSp','260gjLhur','103224YgLgRy','81rhkJea','50LDNuBT','6647020Dhwntv','restore'];a30_0x5c94=function(){return _0x9d6f83;};return a30_0x5c94();}const a30_0x581304=a30_0x4b94;(function(_0xaf142f,_0x4d5bfb){const _0x36a22f=a30_0x4b94,_0x173ce0=_0xaf142f();while(!![]){try{const _0x4c2095=-parseInt(_0x36a22f(0x1de))/0x1*(-parseInt(_0x36a22f(0x1d8))/0x2)+parseInt(_0x36a22f(0x1e0))/0x3*(parseInt(_0x36a22f(0x1e3))/0x4)+parseInt(_0x36a22f(0x1db))/0x5+parseInt(_0x36a22f(0x1e4))/0x6*(parseInt(_0x36a22f(0x1dd))/0x7)+-parseInt(_0x36a22f(0x1dc))/0x8*(parseInt(_0x36a22f(0x1e5))/0x9)+parseInt(_0x36a22f(0x1d9))/0xa+-parseInt(_0x36a22f(0x1e1))/0xb;if(_0x4c2095===_0x4d5bfb)break;else _0x173ce0['push'](_0x173ce0['shift']());}catch(_0x5bf622){_0x173ce0['push'](_0x173ce0['shift']());}}}(a30_0x5c94,0xb8546));function a30_0x4b94(_0x58f63f,_0x5a4f9e){const _0x5c94f8=a30_0x5c94();return a30_0x4b94=function(_0x4b9451,_0x246ddb){_0x4b9451=_0x4b9451-0x1d8;let _0x596ed0=_0x5c94f8[_0x4b9451];return _0x596ed0;},a30_0x4b94(_0x58f63f,_0x5a4f9e);}const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x581304(0x1df));exports['mochaHooks']={'beforeAll'(){const _0x37f4b4=a30_0x581304,_0x473af4={'zWFSp':function(_0x160ec3){return _0x160ec3();}},_0x2fc131='browserstack internal helper hook';_0x473af4[_0x37f4b4(0x1e2)](addRequestSpy);},'afterAll'(){const _0x5bbc62=a30_0x581304,_0x50e943='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x5bbc62(0x1da)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x50c0(_0x3a7607,_0x53a343){const _0x51fa6e=a31_0x51fa();return a31_0x50c0=function(_0x50c095,_0x4ebf57){_0x50c095=_0x50c095-0x169;let _0x47a5c2=_0x51fa6e[_0x50c095];return _0x47a5c2;},a31_0x50c0(_0x3a7607,_0x53a343);}function a31_0x51fa(){const _0x1378d5=['filter','ePnLk','6443372CYlddm','JLEgj','getHooksForTest','slice','../../../helpers/test-observability/utils','state','SMMXa','get','markedStatus','ygSPo','getBrowserVersion','Bxmtv','type','iTBLd','TOEAA','getPlatform','_afterAll','cGUlF','../../../helpers/testhub/utils','push','__cloud_provider___','6LrqSXs','bs:addPlatformDetails:','hook','fqzHX','3867995dCKYnX','substring','_beforeAll','pid','hQaDr','../../../../package.json','unknown_grid','hookAnalyticsId','hQTQC','generic','indexOf','getCapabilities','concat','TLgUs','tests','VvPjX','getBrowserName','passed','712962COUnsy','mapTestHooks','pending','XdcUM','forEach','1105693SANQbi','fuswt','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hTlbg','GdIRm','uuid','259lFANYW','../../utils/logPatcher','2vdZqUl','KDqPu','GDrpA','kdVbS','PnyQN','wxiAw','string','onOlv','emit','getHookDetails','map_','getSession','../../../helpers/test-observability/constants','ugegV','browserstack','_afterEach','suites','TEST_PLATFORM','parent','failed','RQrMb','split','PJzlR','hook:','21013340wXUKiQ','95432bxWOrn','grNvz','js-','3191469cMMYEc','platformVersion','_beforeEach','zjTkf','getHookSkippedTests'];a31_0x51fa=function(){return _0x1378d5;};return a31_0x51fa();}const a31_0x3ac212=a31_0x50c0;(function(_0x429cf9,_0xb052d2){const _0x2470f0=a31_0x50c0,_0x44c588=_0x429cf9();while(!![]){try{const _0x52d030=-parseInt(_0x2470f0(0x17f))/0x1+-parseInt(_0x2470f0(0x187))/0x2*(-parseInt(_0x2470f0(0x1a3))/0x3)+-parseInt(_0x2470f0(0x1aa))/0x4+parseInt(_0x2470f0(0x1c3))/0x5*(parseInt(_0x2470f0(0x1bf))/0x6)+-parseInt(_0x2470f0(0x185))/0x7*(parseInt(_0x2470f0(0x1a0))/0x8)+parseInt(_0x2470f0(0x17a))/0x9+parseInt(_0x2470f0(0x19f))/0xa;if(_0x52d030===_0xb052d2)break;else _0x44c588['push'](_0x44c588['shift']());}catch(_0x4b71b0){_0x44c588['push'](_0x44c588['shift']());}}}(a31_0x51fa,0xd1fa1));const {v4:uuidv4}=require(a31_0x3ac212(0x184)),{name,version}=require(a31_0x3ac212(0x16d)),logPatcher=require(a31_0x3ac212(0x186)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x3ac212(0x1ae)),{consoleHolder}=require(a31_0x3ac212(0x193)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x3ac212(0x1bc)),{isFunction}=require('lodash'),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x3ddb37=a31_0x3ac212,_0x705386={'PJzlR':_0x3ddb37(0x171),'NaRFB':function(_0x280578){return _0x280578();}};return{'ci':_0x705386[_0x3ddb37(0x19d)],'key':_0x705386['NaRFB'](uuidv4),'version':version,'collector':_0x3ddb37(0x1a2)+name};},exports[a31_0x3ac212(0x190)]=_0x520ce3=>{const _0x12749f=a31_0x3ac212,_0x4195cd={};_0x4195cd[_0x12749f(0x18c)]=function(_0x1b370b,_0x3a115c){return _0x1b370b!==_0x3a115c;},_0x4195cd[_0x12749f(0x1b7)]=_0x12749f(0x18d),_0x4195cd[_0x12749f(0x1c2)]=_0x12749f(0x19e),_0x4195cd[_0x12749f(0x188)]=_0x12749f(0x1c1);const _0x2c6943=_0x4195cd;if(!_0x520ce3||_0x2c6943[_0x12749f(0x18c)](typeof _0x520ce3,_0x2c6943[_0x12749f(0x1b7)]))return[null,null];if(_0x2c6943[_0x12749f(0x18c)](_0x520ce3[_0x12749f(0x172)](_0x2c6943['fqzHX']),-0x1)){const _0x4a9f01=_0x520ce3[_0x12749f(0x19c)](_0x2c6943['fqzHX']);return[_0x4a9f01[0x0][_0x12749f(0x1ad)](0x0,-0x1)[_0x12749f(0x19c)]('\x22')[0x1],_0x4a9f01[0x1][_0x12749f(0x169)](0x1)];}else{if(_0x2c6943[_0x12749f(0x18c)](_0x520ce3['indexOf'](_0x2c6943[_0x12749f(0x188)]),-0x1)){const _0x2adc85=_0x520ce3['split'](_0x2c6943[_0x12749f(0x188)]);return[_0x2adc85[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x520ce3];}}return[null,null];},exports[a31_0x3ac212(0x1ac)]=_0x59ac83=>{const _0x3ad6d2=a31_0x3ac212,_0x38bd39={'PnyQN':function(_0x4b6269,_0x282db4){return _0x4b6269(_0x282db4);},'GdIRm':_0x3ad6d2(0x16a),'TOEAA':_0x3ad6d2(0x1ba),'GDrpA':'_beforeEach','SMMXa':_0x3ad6d2(0x196)};if(!_0x59ac83||!_0x59ac83[_0x3ad6d2(0x199)])return[];const _0x29e037=[];return[_0x38bd39[_0x3ad6d2(0x183)],_0x38bd39[_0x3ad6d2(0x1b8)],_0x38bd39[_0x3ad6d2(0x189)],_0x38bd39[_0x3ad6d2(0x1b0)]][_0x3ad6d2(0x17e)](_0x2a8fec=>{const _0xe076b9={'ygSPo':function(_0x1a437c,_0x54651f){const _0x2eabd7=a31_0x50c0;return _0x38bd39[_0x2eabd7(0x18b)](_0x1a437c,_0x54651f);}},_0x50cece=_0x59ac83['parent'][_0x2a8fec]||[];_0x50cece['forEach'](_0x40e855=>{const _0x2a34d5=a31_0x50c0;_0x40e855[_0x2a34d5(0x16f)]&&!_0xe076b9[_0x2a34d5(0x1b3)](isInternalHook,_0x40e855['fn'])&&_0x29e037[_0x2a34d5(0x1bd)](_0x40e855['hookAnalyticsId']);});}),[..._0x29e037,...exports['getHooksForTest'](_0x59ac83[_0x3ad6d2(0x199)])];},exports[a31_0x3ac212(0x17b)]=_0x5c0017=>{const _0x5f46f6=a31_0x3ac212,_0x12d7ed={'hTlbg':function(_0x50d278){return _0x50d278();},'dbZEp':function(_0x4b5d0f,_0x37924e){return _0x4b5d0f===_0x37924e;},'fuswt':'_afterEach','cGUlF':function(_0x5f0741){return _0x5f0741();},'ePnLk':_0x5f46f6(0x16a),'uzQOo':_0x5f46f6(0x1ba),'grNvz':_0x5f46f6(0x1a5)};if(!_0x5c0017||!_0x5c0017['parent'])return;[_0x12d7ed[_0x5f46f6(0x1a9)],_0x12d7ed['uzQOo'],_0x12d7ed[_0x5f46f6(0x1a1)],_0x12d7ed[_0x5f46f6(0x180)]]['forEach'](_0x43be11=>{const _0xb6017f=_0x5f46f6,_0x58f08e=_0x5c0017[_0xb6017f(0x199)][_0x43be11]||[];_0x58f08e[_0xb6017f(0x17e)](_0x2fe829=>{const _0x55bd91=_0xb6017f;if(!_0x2fe829[_0x55bd91(0x16f)])_0x2fe829['hookAnalyticsId']=_0x12d7ed[_0x55bd91(0x182)](uuidv4);else _0x2fe829['markedStatus']&&_0x12d7ed['dbZEp'](_0x43be11,_0x12d7ed[_0x55bd91(0x180)])&&(_0x2fe829[_0x55bd91(0x16f)]=_0x12d7ed[_0x55bd91(0x1bb)](uuidv4),delete _0x2fe829[_0x55bd91(0x1b2)]);});}),exports[_0x5f46f6(0x17b)](_0x5c0017['parent']);},exports['sendPlatformDetails']=async(_0x64993e,_0x1c20c1)=>{const _0x3e3066=a31_0x3ac212,_0x4d96bb={'onOlv':function(_0x377c9c){return _0x377c9c();},'VvPjX':function(_0x3e9470,_0x53a886){return _0x3e9470(_0x53a886);},'zjTkf':_0x3e3066(0x1a4),'Bxmtv':function(_0xc0d352,_0x1fc236){return _0xc0d352===_0x1fc236;},'CdMzW':_0x3e3066(0x195),'JLEgj':_0x3e3066(0x16e),'TLgUs':_0x3e3066(0x198),'hQaDr':function(_0x3631b5,_0x3943cf){return _0x3631b5(_0x3943cf);}};try{if(!_0x4d96bb[_0x3e3066(0x18e)](shouldProcessEventForTesthub))return;const _0x44cfc7=await _0x64993e[_0x3e3066(0x173)](),_0x1e7145=await _0x64993e[_0x3e3066(0x192)](),_0x12dd20={},_0x1dc4ff=Object['fromEntries'](_0x1e7145[_0x3e3066(0x173)]()[_0x3e3066(0x191)]),_0x49bd0c={'product':_0x4d96bb[_0x3e3066(0x177)](getObservabilityLinkedProductName,_0x1dc4ff),'capabilities':_0x1dc4ff,'platform':_0x44cfc7[_0x3e3066(0x1b9)](),'platform_version':_0x44cfc7[_0x3e3066(0x1b1)](_0x4d96bb['zjTkf'])?_0x44cfc7['get'](_0x4d96bb[_0x3e3066(0x1a6)]):_0x4d96bb[_0x3e3066(0x177)](getPlatformVersion,_0x4d96bb[_0x3e3066(0x1b5)](global[_0x3e3066(0x1be)],_0x4d96bb['CdMzW'])),'browser':_0x44cfc7[_0x3e3066(0x178)](),'browser_version':_0x44cfc7[_0x3e3066(0x1b4)](),'session_id':_0x1e7145['toJSON']()};global[_0x3e3066(0x1be)]?_0x12dd20[global['__cloud_provider___']]=_0x49bd0c:_0x12dd20[_0x4d96bb[_0x3e3066(0x1ab)]]=_0x49bd0c,process[_0x3e3066(0x18f)](_0x3e3066(0x1c0)+process[_0x3e3066(0x16b)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x4d96bb[_0x3e3066(0x175)],'http_response':_0x12dd20,'uuid':_0x1c20c1});}catch(_0x23bc4d){_0x4d96bb[_0x3e3066(0x16c)](debug,_0x3e3066(0x181)+_0x23bc4d);}},exports[a31_0x3ac212(0x1a7)]=_0x12b7d2=>{const _0x2a8e68=a31_0x3ac212,_0x469801={};_0x469801[_0x2a8e68(0x19b)]=function(_0x4fb8a5,_0x5f20ae){return _0x4fb8a5!==_0x5f20ae;},_0x469801[_0x2a8e68(0x18a)]='hook',_0x469801[_0x2a8e68(0x194)]=function(_0x2d67a1,_0x4f1d5f){return _0x2d67a1!==_0x4f1d5f;},_0x469801['XdcUM']=_0x2a8e68(0x179),_0x469801[_0x2a8e68(0x170)]=_0x2a8e68(0x19a);const _0x5a36f0=_0x469801,_0x3832f8=_0x12b7d2[_0x2a8e68(0x197)]['reduce']((_0x4c484b,_0x368649)=>{const _0x13c4d5=_0x2a8e68,_0x182e85=exports['getHookSkippedTests'](_0x368649);return _0x182e85&&(_0x4c484b=_0x4c484b[_0x13c4d5(0x174)](_0x182e85)),_0x4c484b;},[]),_0x5ea250=_0x12b7d2[_0x2a8e68(0x176)][_0x2a8e68(0x1a8)](_0x23d24b=>{const _0x13a942=_0x2a8e68,_0x1aadba=_0x5a36f0[_0x13a942(0x19b)](_0x23d24b[_0x13a942(0x1b6)],_0x5a36f0['kdVbS'])&&!_0x23d24b['markedStatus']&&_0x5a36f0['ugegV'](_0x23d24b[_0x13a942(0x1af)],_0x5a36f0[_0x13a942(0x17d)])&&_0x5a36f0['RQrMb'](_0x23d24b[_0x13a942(0x1af)],_0x5a36f0['hQTQC'])&&!_0x23d24b[_0x13a942(0x17c)];return _0x1aadba;});return _0x5ea250[_0x2a8e68(0x174)](_0x3832f8);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32_0x3c15(){const _0x4f9711=['debug','capabilities','191321NihHnx','shift','WNSZO','shouldScanTestForAccessibility','cKEXJ','Gznim','SESSION_STATUS','thTestRunUuid','TmPRU','RblYL','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','length','dhmnK','AgHWD','fpdqa','myOkv','info','kaILP','kdJok','\x22}}','1405480wtYxNS','measureWrapper','DaGpp','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','UheMo','RvCtE','__sessionFailed','igyRO','OHWhd','wiJgI','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','message','BROWSERSTACK_TESTHUB_JWT','qPxyC','accessibilityScanStarted','\x20|\x20','join','7tQSpVB','EHDrW','VsWYy','zXVfL','TbrWD','SESSION_NAME','OduOC','MRfRb','titlePath','AgSvg','yAFfL','isAccessibilityPlatform','FnFZS','DLdhb','mochaHooks','gRMHk','appium:app','JnZGu','afterEach','__drivers','session_','5348170OwnjtP','BROWSERSTACK_TESTHUB_UUID','\x20-\x20','../../helpers/performance/constants','ObservabilitySync:','Automate\x20test\x20case\x20execution\x20has\x20started.','afterTest','GUonT','KllzH','ouAYJ','YoHbO','beforeEach','PHSTr','eCQtY','error','format','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','pLLve','855702zJzJii','HXEkc','NXoEh','__error_messages__','app','kKvFB','SeTCw','fVtyQ','thJwtToken','LSzoQ','passed','oByqP','QTKRc','SYNC','percy','dLRVn','Failed:\x20','CBHgh','GZxfz','wXYap','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Zlnpl','bstackA11yShouldScan','testAnalyticsId','isArray','protocol','currentTest','util','ejSZx','SDK_HOOK','hftmk','beforeAll','18TQqWRn','__platformCaps','then','YnKpx','err','LDaHl','../../helpers/accessibility-automation/scripts','../../helpers/testhub/utils','driverCleanup','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','../../helpers/testhub/constants','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','1674978vqzzsc','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','RYLtM','browserstackSessionName','finally','ssQut','332391AXuVmc','AEVrO','ENV_VAR','fGSQk','thBuildUuid','saveTestResults','http:','../../helpers/accessibility-automation/helper','sessionNameSet__','krhDo','https:','pzrqU','jLLnP','performScan','DEOsC','AmOxp','afterAll','state','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Performing\x20scan\x20before\x20saving\x20results','BSXcy','PMQgH','push','./test-observability/mochaUtils','QQRtc','sxVgh','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','vuVPK','stringify','quitCount_','executeScript','../../helpers/logger','Passed','getGlobal','sessionName','642370HpcSdD','../../helpers/helper','end','kCFFI','4TsclEe','kyvHO','browserstackTestName','lhHpE','../../helpers/percy/utils','FvTLr','OiNzt','env','SAVE_RESULTS','getCurrentUrl','initQuit','AOKTw'];a32_0x3c15=function(){return _0x4f9711;};return a32_0x3c15();}const a32_0x5a12c9=a32_0xa402;(function(_0x2149e8,_0x4dd409){const _0x58326d=a32_0xa402,_0x5029b5=_0x2149e8();while(!![]){try{const _0x5a0c6f=-parseInt(_0x58326d(0x188))/0x1+-parseInt(_0x58326d(0x120))/0x2+parseInt(_0x58326d(0x152))/0x3+-parseInt(_0x58326d(0x17a))/0x4*(-parseInt(_0x58326d(0x176))/0x5)+parseInt(_0x58326d(0x14c))/0x6*(-parseInt(_0x58326d(0x1ae))/0x7)+-parseInt(_0x58326d(0x19d))/0x8*(-parseInt(_0x58326d(0x140))/0x9)+parseInt(_0x58326d(0x10e))/0xa;if(_0x5a0c6f===_0x4dd409)break;else _0x5029b5['push'](_0x5029b5['shift']());}catch(_0x370b38){_0x5029b5['push'](_0x5029b5['shift']());}}}(a32_0x3c15,0x37733));const util=require(a32_0x5a12c9(0x13b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x5a12c9(0x159)),{percyAutoCapture}=require(a32_0x5a12c9(0x17e)),{sendPlatformDetails}=require(a32_0x5a12c9(0x169)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x5a12c9(0x177)),PerformanceTester=require('../../helpers/performance/performance-tester'),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x5a12c9(0x111)),scripts=require(a32_0x5a12c9(0x146)),globals=require('../../helpers/globals'),logger=require(a32_0x5a12c9(0x172))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x5a12c9(0x147)),testHubConstants=require(a32_0x5a12c9(0x14a));function a32_0xa402(_0x3264fc,_0x207b54){const _0x3c1578=a32_0x3c15();return a32_0xa402=function(_0xa40278,_0x1f439b){_0xa40278=_0xa40278-0xfa;let _0x3e84c8=_0x3c1578[_0xa40278];return _0x3e84c8;},a32_0xa402(_0x3264fc,_0x207b54);}exports[a32_0x5a12c9(0x107)]={'beforeAll'(){const _0x3620c3=a32_0x5a12c9,_0x58cc73={'geULu':function(_0x5db420,_0x221b65,_0x49e0d3,_0x2e0cdd){return _0x5db420(_0x221b65,_0x49e0d3,_0x2e0cdd);},'VsWYy':'failed','kaILP':_0x3620c3(0x1ac),'qPxyC':function(_0x570de0,_0x369e95,_0xe3562c){return _0x570de0(_0x369e95,_0xe3562c);},'jLLnP':_0x3620c3(0x12a),'OHWhd':function(_0x7cb06){return _0x7cb06();},'LDaHl':function(_0xc8ae1d,_0x1d9eef,_0x2f2a05){return _0xc8ae1d(_0x1d9eef,_0x2f2a05);},'WNSZO':function(_0x36b5ed,_0x22bbf0,_0xebd1b){return _0x36b5ed(_0x22bbf0,_0xebd1b);},'GIiRM':'index','oByqP':_0x3620c3(0x13f)};PerformanceTester['startMonitoring']();const _0x387e2b='browserstack internal helper hook';PerformanceTester[_0x3620c3(0x19e)](PerformanceSdkEvents[_0x3620c3(0x13d)],()=>{const _0x58db68=_0x3620c3;global[_0x58db68(0x123)]=[],global[_0x58db68(0x1a3)]=![],global[_0x58db68(0x148)]=async()=>{const _0x476c40=_0x58db68;let _0x309547=![];try{await global[_0x476c40(0x10c)][0x0]['session_'],_0x309547=!![],global['__sessionFailed']?await _0x58cc73['geULu'](markSessionStatus,global[_0x476c40(0x10c)][0x0],_0x58cc73[_0x476c40(0xfb)],global[_0x476c40(0x123)][_0x476c40(0x1ad)](_0x58cc73[_0x476c40(0x19a)])):await _0x58cc73[_0x476c40(0x1aa)](markSessionStatus,global[_0x476c40(0x10c)][0x0],_0x58cc73[_0x476c40(0x15e)]);}catch(_0x18d5b4){logger[_0x476c40(0x186)](_0x476c40(0x192)+_0x18d5b4);}global[_0x476c40(0x123)]=[],global[_0x476c40(0x1a3)]=![];if(_0x309547)try{try{_0x58cc73[_0x476c40(0x1a5)](shouldProcessEventForTesthub)&&(global[_0x476c40(0x10c)][0x0]&&await _0x58cc73[_0x476c40(0x145)](sendPlatformDetails,global[_0x476c40(0x10c)][0x0],this[_0x476c40(0x13a)]?this[_0x476c40(0x13a)][_0x476c40(0x137)]:null));}catch(_0xa40dc1){logger[_0x476c40(0x186)](_0x476c40(0x134)+_0xa40dc1);}await global[_0x476c40(0x10c)][0x0][_0x476c40(0x184)]();}catch(_0x213ffd){logger[_0x476c40(0x186)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x213ffd);}};},{'platform':_0x58cc73[_0x3620c3(0x18a)](nestedKeyValue,global[_0x3620c3(0x141)],[_0x58cc73['GIiRM']]),'hookType':_0x58cc73[_0x3620c3(0x12b)]})();},'beforeEach'(_0x27fa3f){const _0x240701=a32_0x5a12c9,_0x1363ec={'zXVfL':function(_0x146ebc,_0x3b1871){return _0x146ebc>_0x3b1871;},'RblYL':_0x240701(0x110),'JnZGu':function(_0x2f42af,_0x537ab4,_0x5a2960){return _0x2f42af(_0x537ab4,_0x5a2960);},'igyRO':_0x240701(0x136),'GZxfz':function(_0x1da52e){return _0x1da52e();},'TmPRU':'isAccessibilityPlatform','YYaOf':function(_0x32f703,_0x4a2d69){return _0x32f703===_0x4a2d69;},'cKEXJ':_0x240701(0x158),'FvTLr':function(_0x2fbc50,_0x12fa08){return _0x2fbc50===_0x12fa08;},'AgSvg':_0x240701(0x15c),'DaGpp':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','PEVIw':_0x240701(0x113),'HXEkc':_0x240701(0x17c),'LSzoQ':'index','ouAYJ':_0x240701(0x119)};globals['setGlobal'](_0x1363ec[_0x240701(0x121)],this['currentTest']['titlePath']()[_0x240701(0x1ad)](_0x1363ec[_0x240701(0x191)])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x240701(0x13d)],()=>{const _0x2c6477=_0x240701,_0x4c9743='browserstack internal helper hook';new Promise(async _0x3722e4=>{const _0x4e4544=a32_0xa402;let _0x364203=!![];try{_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][_0x4e4544(0x194)],0x1)&&(await global['driverCleanup'](),global[_0x4e4544(0x10c)]['shift']()),_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][0x0][_0x4e4544(0x170)],0x0)&&(_0x364203=![],await global[_0x4e4544(0x148)]());}catch(_0x4f0eda){logger[_0x4e4544(0x186)](_0x4e4544(0x14b)+_0x4f0eda);}try{Array[_0x4e4544(0x138)](global[_0x4e4544(0x10c)])&&global[_0x4e4544(0x10c)][0x0]&&(global['__drivers'][0x0][_0x4e4544(0x14f)]=this[_0x4e4544(0x13a)]['titlePath']()[_0x4e4544(0x1ad)](_0x1363ec[_0x4e4544(0x191)])),global[_0x4e4544(0x14f)]=this[_0x4e4544(0x13a)][_0x4e4544(0x101)]()[_0x4e4544(0x1ad)](_0x1363ec[_0x4e4544(0x191)]);}catch(_0x1c2faa){logger[_0x4e4544(0x186)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x1c2faa);}this['currentTest']['shouldScanTestForAccessibility']=_0x1363ec[_0x4e4544(0x10a)](shouldScanTestForAccessibility,this[_0x4e4544(0x13a)]['titlePath'](),!![]),globals['setGlobal'](_0x1363ec[_0x4e4544(0x1a4)],this[_0x4e4544(0x13a)]['shouldScanTestForAccessibility']),this[_0x4e4544(0x13a)][_0x4e4544(0x1ab)]=!![];if(_0x1363ec[_0x4e4544(0x132)](isAccessibilityAutomationSession)&&_0x364203&&Array['isArray'](global[_0x4e4544(0x10c)])&&_0x1363ec[_0x4e4544(0xfc)](global[_0x4e4544(0x10c)][_0x4e4544(0x194)],0x0)&&globals[_0x4e4544(0x174)](_0x1363ec[_0x4e4544(0x190)]))try{const _0x1e9363=await global['__drivers'][0x0][_0x4e4544(0x10d)];if(_0x1e9363){let _0x38d3b3=!![];const _0x3f0631=await global[_0x4e4544(0x10c)][0x0][_0x4e4544(0x183)]();let _0x389b6d;try{_0x389b6d=new URL(_0x3f0631);}catch(_0x2c31fb){_0x38d3b3=![];}_0x38d3b3=_0x1363ec['YYaOf'](_0x389b6d[_0x4e4544(0x139)],_0x1363ec[_0x4e4544(0x18c)])||_0x1363ec[_0x4e4544(0x17f)](_0x389b6d[_0x4e4544(0x139)],_0x1363ec[_0x4e4544(0x102)]),_0x38d3b3&&(this['currentTest'][_0x4e4544(0x18b)]&&logger['info'](_0x1363ec[_0x4e4544(0x19f)])),this['currentTest']['accessibilityScanStarted']=this[_0x4e4544(0x13a)][_0x4e4544(0x18b)],this[_0x4e4544(0x13a)][_0x4e4544(0x18b)]&&logger['info'](_0x1363ec['PEVIw']);}}catch(_0x2846d4){logger[_0x4e4544(0x11c)](_0x4e4544(0x16c)+util[_0x4e4544(0x11d)](_0x2846d4));}_0x1363ec[_0x4e4544(0x132)](_0x3722e4);})[_0x2c6477(0x142)](()=>{const _0x3d27cb=_0x2c6477;_0x1363ec[_0x3d27cb(0x132)](_0x27fa3f);});},{'platform':_0x1363ec[_0x240701(0x10a)](nestedKeyValue,global[_0x240701(0x141)],[_0x1363ec[_0x240701(0x129)]]),'hookType':_0x1363ec[_0x240701(0x117)]})();},'afterEach'(_0x3f0b80){const _0x169e4b=a32_0x5a12c9,_0x51f9d4={'KllzH':function(_0x126de9){return _0x126de9();},'kyvHO':_0x169e4b(0x110),'sxVgh':function(_0x2f6d05,_0x1699ea){return _0x2f6d05!==_0x1699ea;},'IiGqD':_0x169e4b(0x12a),'fpdqa':function(_0x27f5a9,_0x2caf00,_0x42d732){return _0x27f5a9(_0x2caf00,_0x42d732);},'RYLtM':function(_0x31e992,_0x551dd1){return _0x31e992+_0x551dd1;},'QTKRc':_0x169e4b(0x130),'SeTCw':'error','Gznim':function(_0x41ba30,_0x158d56,_0x33bcf5){return _0x41ba30(_0x158d56,_0x33bcf5);},'AmOxp':_0x169e4b(0x173),'wySFn':_0x169e4b(0x199),'UheMo':function(_0xf12f1e,_0x57eaf8){return _0xf12f1e>_0x57eaf8;},'AEVrO':function(_0xa8471b,_0x518ce1){return _0xa8471b===_0x518ce1;},'GUonT':'testcase','ssQut':_0x169e4b(0x109),'OiNzt':function(_0x52b0b6,_0x2e2e22,_0x2a0424,_0x5838ba){return _0x52b0b6(_0x2e2e22,_0x2a0424,_0x5838ba);},'JywiD':_0x169e4b(0x104),'vuVPK':_0x169e4b(0x136),'fVtyQ':_0x169e4b(0x164),'myOkv':_0x169e4b(0x165),'krhDo':_0x169e4b(0x114),'oPmbl':_0x169e4b(0x193),'Zlnpl':function(_0x4c43ed){return _0x4c43ed();},'CBHgh':function(_0x311623,_0x3ba121,_0x2e7d09){return _0x311623(_0x3ba121,_0x2e7d09);},'lhHpE':_0x169e4b(0x186),'eCQtY':function(_0x3bb376){return _0x3bb376();},'dhmnK':function(_0x48bc2e,_0x463af3,_0x4e0458){return _0x48bc2e(_0x463af3,_0x4e0458);},'yAFfL':'index','DEOsC':_0x169e4b(0x10b)},_0x4259e5='browserstack internal helper hook';this[_0x169e4b(0x16d)](0xfde8),global[_0x169e4b(0x175)]=this[_0x169e4b(0x13a)][_0x169e4b(0x101)]()['join'](_0x51f9d4[_0x169e4b(0x17b)]),PerformanceTester[_0x169e4b(0x19e)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x5abc5e=_0x169e4b,_0x1817ea={'PHSTr':_0x51f9d4['kyvHO'],'kdJok':function(_0x479cd5,_0x50e131){const _0x4792a4=a32_0xa402;return _0x51f9d4[_0x4792a4(0x16b)](_0x479cd5,_0x50e131);},'Chvbc':_0x51f9d4['IiGqD'],'pLLve':function(_0x26f931,_0x2df795,_0x575e95){const _0x5b8349=a32_0xa402;return _0x51f9d4[_0x5b8349(0x197)](_0x26f931,_0x2df795,_0x575e95);},'QQRtc':function(_0x20e4f8,_0xca34e5){const _0x5c15ec=a32_0xa402;return _0x51f9d4[_0x5c15ec(0x14e)](_0x20e4f8,_0xca34e5);},'BSXcy':_0x51f9d4[_0x5abc5e(0x12c)],'wbOPS':_0x51f9d4[_0x5abc5e(0x126)],'AOKTw':function(_0x2d5ac5,_0x345b5f,_0x478379){const _0x37fb16=_0x5abc5e;return _0x51f9d4[_0x37fb16(0x18d)](_0x2d5ac5,_0x345b5f,_0x478379);},'EHDrW':_0x51f9d4[_0x5abc5e(0x161)],'MRfRb':_0x51f9d4['wySFn'],'YoHbO':function(_0x2ddc51,_0x263c6e){const _0x3827ef=_0x5abc5e;return _0x51f9d4[_0x3827ef(0x1a1)](_0x2ddc51,_0x263c6e);},'kKvFB':function(_0xf6f229,_0x1dd5a4){const _0x3b929d=_0x5abc5e;return _0x51f9d4[_0x3b929d(0x153)](_0xf6f229,_0x1dd5a4);},'NXoEh':_0x51f9d4[_0x5abc5e(0x115)],'pzrqU':function(_0x4d6c53,_0x47166d){const _0x24a300=_0x5abc5e;return _0x51f9d4[_0x24a300(0x1a1)](_0x4d6c53,_0x47166d);},'TbrWD':_0x51f9d4[_0x5abc5e(0x151)],'wXYap':function(_0x3aec86,_0x41543e,_0x27c324,_0x4c2fae){const _0x28ef0c=_0x5abc5e;return _0x51f9d4[_0x28ef0c(0x180)](_0x3aec86,_0x41543e,_0x27c324,_0x4c2fae);},'ejSZx':_0x51f9d4['JywiD'],'YnKpx':_0x51f9d4[_0x5abc5e(0x16e)],'wiJgI':_0x51f9d4[_0x5abc5e(0x127)],'OduOC':_0x51f9d4[_0x5abc5e(0x198)],'fGSQk':_0x51f9d4[_0x5abc5e(0x15b)],'hcZbe':_0x51f9d4['oPmbl'],'RvCtE':function(_0x3e70ba){const _0x5b2376=_0x5abc5e;return _0x51f9d4[_0x5b2376(0x135)](_0x3e70ba);},'hftmk':function(_0x5a4784,_0x197e2c,_0x28a8dd){const _0x4fa4ac=_0x5abc5e;return _0x51f9d4[_0x4fa4ac(0x131)](_0x5a4784,_0x197e2c,_0x28a8dd);},'PMQgH':_0x51f9d4[_0x5abc5e(0x17d)],'YsZAk':function(_0x79fb2a,_0x2cd55b){const _0x1a4651=_0x5abc5e;return _0x51f9d4[_0x1a4651(0x1a1)](_0x79fb2a,_0x2cd55b);},'dLRVn':function(_0x3ec2f1){const _0x29a927=_0x5abc5e;return _0x51f9d4[_0x29a927(0x11b)](_0x3ec2f1);}},_0x22e797=async(_0x12a89e,_0x5df08a)=>{const _0x16ceef=_0x5abc5e;await global[_0x16ceef(0x10c)][0x0][_0x16ceef(0x171)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x12a89e+',\x22level\x22:\x20\x22'+_0x5df08a+_0x16ceef(0x19c));};new Promise(async _0x55cb62=>{const _0x263580=_0x5abc5e;try{_0x1817ea[_0x263580(0x118)](global[_0x263580(0x10c)]['length'],0x1)&&(await global[_0x263580(0x148)](),global[_0x263580(0x10c)][_0x263580(0x189)](),global[_0x263580(0x123)]=[],global[_0x263580(0x1a3)]=![]);try{if(global[_0x263580(0x12e)]&&_0x1817ea[_0x263580(0x125)](global['percyCaptureMode'],_0x1817ea[_0x263580(0x122)])&&global[_0x263580(0x10c)][0x0]){const _0x2e7e64=_0x1817ea[_0x263580(0x15d)](global[_0x263580(0x187)][_0x263580(0x194)],0x0)?!!global[_0x263580(0x187)][0x0][_0x263580(0x124)]||!!global[_0x263580(0x187)][0x0][_0x1817ea[_0x263580(0xfd)]]:![],_0x2b3d13={};_0x2b3d13[_0x263580(0x124)]=_0x2e7e64,await _0x1817ea[_0x263580(0x133)](percyAutoCapture,global[_0x263580(0x10c)][0x0],_0x1817ea['NXoEh'],_0x2b3d13);}}catch(_0x4e87d9){logger[_0x263580(0x186)](_0x263580(0x1a7)+_0x4e87d9);}!global['__skipSessionName']&&(await PerformanceTester[_0x263580(0x19e)](PerformanceAutEvents[_0x263580(0xfe)],async()=>{const _0x171270=_0x263580;await global[_0x171270(0x10c)][0x0][_0x171270(0x171)](_0x171270(0x1a0)+JSON[_0x171270(0x16f)](this[_0x171270(0x13a)][_0x171270(0x101)]()['join'](_0x1817ea[_0x171270(0x11a)]))+'}}');})(),global[_0x263580(0x10c)][0x0][_0x263580(0x15a)]=!![]),await PerformanceTester[_0x263580(0x19e)](PerformanceAutEvents[_0x263580(0x18e)],async()=>{const _0x4dcf61=_0x263580,_0x42882a=_0x1817ea[_0x4dcf61(0x19b)](this['currentTest'][_0x4dcf61(0x163)],_0x1817ea['Chvbc']);_0x42882a?(global[_0x4dcf61(0x1a3)]=!![],global[_0x4dcf61(0x123)][_0x4dcf61(0x168)](this[_0x4dcf61(0x13a)][_0x4dcf61(0x144)][_0x4dcf61(0x1a8)]),await _0x1817ea[_0x4dcf61(0x11f)](_0x22e797,JSON[_0x4dcf61(0x16f)](_0x1817ea[_0x4dcf61(0x16a)](_0x1817ea[_0x4dcf61(0x166)],this['currentTest']['err']['message'])),_0x1817ea['wbOPS'])):await _0x1817ea[_0x4dcf61(0x185)](_0x22e797,JSON[_0x4dcf61(0x16f)](_0x1817ea[_0x4dcf61(0xfa)]),_0x1817ea[_0x4dcf61(0x100)]);})();}catch(_0x10a3d4){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x10a3d4);}try{if(this[_0x263580(0x13a)][_0x263580(0x1ab)]&&globals[_0x263580(0x174)](_0x1817ea[_0x263580(0x13c)])&&globals[_0x263580(0x174)](_0x1817ea[_0x263580(0x143)])){logger['info'](_0x1817ea[_0x263580(0x1a6)]);const _0x196ce2={};_0x196ce2[_0x263580(0x18f)]=this[_0x263580(0x13a)][_0x263580(0x137)],_0x196ce2[_0x263580(0x156)]=process[_0x263580(0x181)][testHubConstants[_0x263580(0x154)][_0x263580(0x10f)]],_0x196ce2[_0x263580(0x128)]=process[_0x263580(0x181)][testHubConstants[_0x263580(0x154)][_0x263580(0x1a9)]];const _0x2894ce=_0x196ce2;logger[_0x263580(0x186)](_0x263580(0x14d)+JSON[_0x263580(0x16f)](_0x2894ce)),logger['debug'](_0x1817ea[_0x263580(0xff)]);const _0x166cfb={};_0x166cfb['command']=_0x1817ea[_0x263580(0x155)],await PerformanceTester[_0x263580(0x19e)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x159c32=_0x263580;logger[_0x159c32(0x186)](util[_0x159c32(0x11d)](await global[_0x159c32(0x10c)][0x0]['executeAsyncScript'](scripts[_0x159c32(0x15f)],{'method':global[_0x159c32(0x14f)]})));},_0x166cfb)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x263580(0x182)],async()=>{const _0x86c08a=_0x263580;await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x86c08a(0x157)],_0x2894ce);})(),logger[_0x263580(0x199)](_0x1817ea['hcZbe']);}}catch(_0x2d4b1c){logger['error'](_0x263580(0x149)+this['currentTest'][_0x263580(0x101)]()+'.\x20Error\x20:',_0x2d4b1c);}try{try{if(_0x1817ea[_0x263580(0x1a2)](shouldProcessEventForTesthub)){global[_0x263580(0x10c)][0x0]&&await _0x1817ea[_0x263580(0x185)](sendPlatformDetails,global[_0x263580(0x10c)][0x0],this[_0x263580(0x13a)]?this[_0x263580(0x13a)]['testAnalyticsId']:null);if(_0x1817ea[_0x263580(0x1a2)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x263580(0x12d)]);const _0xb8623c=_0x263580(0x112)+Date['now']();await _0x1817ea[_0x263580(0x13e)](_0x22e797,JSON[_0x263580(0x16f)](_0xb8623c),_0x1817ea[_0x263580(0x167)]),PerformanceTester[_0x263580(0x178)](PerformanceO11yEvents[_0x263580(0x12d)]);}}}catch(_0x398039){logger[_0x263580(0x186)](_0x263580(0x11e)+_0x398039),PerformanceTester['end'](PerformanceO11yEvents[_0x263580(0x12d)],![],_0x398039);}_0x1817ea['YsZAk'](global[_0x263580(0x10c)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x44ca6c){logger[_0x263580(0x186)](_0x263580(0x14b)+_0x44ca6c);}_0x1817ea[_0x263580(0x12f)](_0x55cb62);})[_0x5abc5e(0x142)](()=>{const _0xb5c4c2=_0x5abc5e;_0x51f9d4[_0xb5c4c2(0x116)](_0x3f0b80);});},{'platform':_0x51f9d4[_0x169e4b(0x195)](nestedKeyValue,global[_0x169e4b(0x141)],[_0x51f9d4[_0x169e4b(0x103)]]),'hookType':_0x51f9d4[_0x169e4b(0x160)]})();},'afterAll'(_0x535d4e){const _0xd81b3c=a32_0x5a12c9,_0x15b0eb={'FnFZS':function(_0x40e4cc){return _0x40e4cc();},'gRMHk':function(_0x53acd3,_0x6e7e5f,_0x1800e8){return _0x53acd3(_0x6e7e5f,_0x1800e8);},'AgHWD':'index','DLdhb':_0xd81b3c(0x162)},_0x14b862='browserstack internal helper hook';this[_0xd81b3c(0x16d)](0xfde8),PerformanceTester[_0xd81b3c(0x19e)](PerformanceSdkEvents[_0xd81b3c(0x13d)],()=>{const _0x374c54=_0xd81b3c,_0x1f4665={'kCFFI':function(_0x5e0275){const _0x10719e=a32_0xa402;return _0x15b0eb[_0x10719e(0x105)](_0x5e0275);}};new Promise(async _0x4d2a01=>{const _0x1ded3d=a32_0xa402;await global[_0x1ded3d(0x148)](),_0x1f4665[_0x1ded3d(0x179)](_0x4d2a01);})[_0x374c54(0x142)]()[_0x374c54(0x150)](()=>{const _0x452032=_0x374c54;_0x1f4665[_0x452032(0x179)](_0x535d4e);});},{'platform':_0x15b0eb[_0xd81b3c(0x108)](nestedKeyValue,global[_0xd81b3c(0x141)],[_0x15b0eb[_0xd81b3c(0x196)]]),'hookType':_0x15b0eb[_0xd81b3c(0x106)]})();}};
|
|
1
|
+
const a32_0x1c6d01=a32_0x410c;function a32_0x410c(_0x48bede,_0x4b9bcb){const _0x5b79b0=a32_0x5b79();return a32_0x410c=function(_0x410cfc,_0x213202){_0x410cfc=_0x410cfc-0xb7;let _0x4498a8=_0x5b79b0[_0x410cfc];return _0x4498a8;},a32_0x410c(_0x48bede,_0x4b9bcb);}(function(_0x4d106b,_0x2906dd){const _0x24c6c9=a32_0x410c,_0x2099c0=_0x4d106b();while(!![]){try{const _0x4618f9=-parseInt(_0x24c6c9(0x161))/0x1*(parseInt(_0x24c6c9(0xfb))/0x2)+-parseInt(_0x24c6c9(0x154))/0x3*(-parseInt(_0x24c6c9(0x174))/0x4)+parseInt(_0x24c6c9(0xd3))/0x5*(parseInt(_0x24c6c9(0xee))/0x6)+parseInt(_0x24c6c9(0xca))/0x7+-parseInt(_0x24c6c9(0x15a))/0x8+parseInt(_0x24c6c9(0xb9))/0x9*(-parseInt(_0x24c6c9(0x13e))/0xa)+-parseInt(_0x24c6c9(0x136))/0xb*(-parseInt(_0x24c6c9(0x16e))/0xc);if(_0x4618f9===_0x2906dd)break;else _0x2099c0['push'](_0x2099c0['shift']());}catch(_0x5a1f20){_0x2099c0['push'](_0x2099c0['shift']());}}}(a32_0x5b79,0x3d53b));const util=require(a32_0x1c6d01(0x10b)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x1c6d01(0x12d)),{percyAutoCapture}=require(a32_0x1c6d01(0x16c)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x1c6d01(0x139)),PerformanceTester=require(a32_0x1c6d01(0xc9)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x1c6d01(0xcf)),scripts=require(a32_0x1c6d01(0x100)),globals=require(a32_0x1c6d01(0x171)),logger=require(a32_0x1c6d01(0xdb))[a32_0x1c6d01(0x143)],{shouldProcessEventForTesthub}=require(a32_0x1c6d01(0x146)),testHubConstants=require(a32_0x1c6d01(0xd6));exports[a32_0x1c6d01(0xf9)]={'beforeAll'(){const _0x2062ec=a32_0x1c6d01,_0x446e45={'bZxAN':function(_0x46cd65,_0x5041a7,_0x476871,_0x5b6d8e){return _0x46cd65(_0x5041a7,_0x476871,_0x5b6d8e);},'TBWPE':'failed','FfFLU':_0x2062ec(0xc5),'LHRFS':function(_0x5893ae,_0x34962e,_0x3c0d1d){return _0x5893ae(_0x34962e,_0x3c0d1d);},'tbuvH':_0x2062ec(0x138),'IxqiB':function(_0x32619c){return _0x32619c();},'fPufj':_0x2062ec(0xd4),'rzkCV':_0x2062ec(0x145)};PerformanceTester['startMonitoring']();const _0x40c5c0='browserstack internal helper hook';PerformanceTester[_0x2062ec(0x14b)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x12a82d=_0x2062ec,_0xfe392f={'CFtef':function(_0x34969f,_0x541384,_0x44078a,_0x2ab0cb){const _0x3b1051=a32_0x410c;return _0x446e45[_0x3b1051(0x165)](_0x34969f,_0x541384,_0x44078a,_0x2ab0cb);},'GdnPi':_0x446e45[_0x12a82d(0xe9)],'HVqHf':_0x446e45[_0x12a82d(0xf2)],'CNMhr':function(_0x4a29f6,_0x52cac6,_0x43fe32){const _0xf1e365=_0x12a82d;return _0x446e45[_0xf1e365(0xea)](_0x4a29f6,_0x52cac6,_0x43fe32);},'ycJyh':_0x446e45['tbuvH'],'EodKZ':function(_0x47db9a){const _0x31bbbf=_0x12a82d;return _0x446e45[_0x31bbbf(0x13a)](_0x47db9a);}};global['__error_messages__']=[],global['__sessionFailed']=![],global[_0x12a82d(0x148)]=async()=>{const _0x3459ef=_0x12a82d;let _0x37e23f=![];try{await global[_0x3459ef(0x11f)][0x0]['session_'],_0x37e23f=!![],global[_0x3459ef(0xe5)]?await _0xfe392f[_0x3459ef(0xf0)](markSessionStatus,global[_0x3459ef(0x11f)][0x0],_0xfe392f[_0x3459ef(0xff)],global[_0x3459ef(0x12f)][_0x3459ef(0xc7)](_0xfe392f[_0x3459ef(0x16a)])):await _0xfe392f['CNMhr'](markSessionStatus,global['__drivers'][0x0],_0xfe392f[_0x3459ef(0x119)]);}catch(_0x198461){logger[_0x3459ef(0x15b)](_0x3459ef(0x121)+_0x198461);}global[_0x3459ef(0x12f)]=[],global[_0x3459ef(0xe5)]=![];if(_0x37e23f)try{try{_0xfe392f[_0x3459ef(0x162)](shouldProcessEventForTesthub)&&(global[_0x3459ef(0x11f)][0x0]&&await _0xfe392f[_0x3459ef(0xe2)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3459ef(0x140)]?this['currentTest'][_0x3459ef(0x12a)]:null));}catch(_0x312143){logger[_0x3459ef(0x15b)](_0x3459ef(0x132)+_0x312143);}await global[_0x3459ef(0x11f)][0x0][_0x3459ef(0x164)]();}catch(_0x12d6eb){logger[_0x3459ef(0x15b)](_0x3459ef(0x172)+_0x12d6eb);}};},{'platform':_0x446e45['LHRFS'](nestedKeyValue,global[_0x2062ec(0xf1)],[_0x446e45[_0x2062ec(0x16f)]]),'hookType':_0x446e45['rzkCV']})();},'beforeEach'(_0x386465){const _0x5440d9=a32_0x1c6d01,_0x4b6b51={'FDFyR':function(_0x26405c,_0xca168d){return _0x26405c>_0xca168d;},'DUTEl':function(_0x3e7a85,_0x5667f7){return _0x3e7a85>_0x5667f7;},'uoIAX':_0x5440d9(0x126),'TIvmg':function(_0x5c9295,_0x1dcc8f,_0x566908){return _0x5c9295(_0x1dcc8f,_0x566908);},'vTQOc':_0x5440d9(0x13b),'cTugB':function(_0x51c47f){return _0x51c47f();},'Chrrg':_0x5440d9(0x10f),'NCSqD':function(_0x2b7ed6,_0xed21b4){return _0x2b7ed6===_0xed21b4;},'GZznK':_0x5440d9(0x167),'PRsCR':_0x5440d9(0x103),'GXcol':_0x5440d9(0x150),'Ehbyf':'Automate\x20test\x20case\x20execution\x20has\x20started.','XAtuu':'browserstackTestName','hLFDU':_0x5440d9(0xd4),'XiFCq':_0x5440d9(0x133)};globals[_0x5440d9(0xf7)](_0x4b6b51[_0x5440d9(0x169)],this[_0x5440d9(0x140)][_0x5440d9(0xf6)]()[_0x5440d9(0xc7)](_0x4b6b51['uoIAX'])),PerformanceTester[_0x5440d9(0x14b)](PerformanceSdkEvents[_0x5440d9(0x10d)],()=>{const _0x1c60c0=_0x5440d9,_0x2e343b={'cnUJe':function(_0x4254bd,_0x2ada42){const _0x2e466a=a32_0x410c;return _0x4b6b51[_0x2e466a(0x137)](_0x4254bd,_0x2ada42);},'dXEIa':function(_0x303e8b,_0x26c300){const _0x52667e=a32_0x410c;return _0x4b6b51[_0x52667e(0x130)](_0x303e8b,_0x26c300);},'QJFCL':_0x4b6b51[_0x1c60c0(0x11a)],'tXwnx':function(_0x2bda5d,_0x405344,_0x5b4190){return _0x4b6b51['TIvmg'](_0x2bda5d,_0x405344,_0x5b4190);},'viVYy':_0x4b6b51['vTQOc'],'TbyaD':function(_0x1b1697){const _0x5c9079=_0x1c60c0;return _0x4b6b51[_0x5c9079(0x131)](_0x1b1697);},'MHLFe':_0x4b6b51[_0x1c60c0(0x173)],'wjbMh':function(_0x5ef016,_0x37e15c){const _0xff4cc0=_0x1c60c0;return _0x4b6b51[_0xff4cc0(0x135)](_0x5ef016,_0x37e15c);},'UJbEt':_0x4b6b51[_0x1c60c0(0x116)],'WjPfQ':_0x4b6b51[_0x1c60c0(0xd8)],'EVfWj':_0x4b6b51[_0x1c60c0(0x13f)],'qSkOz':_0x4b6b51[_0x1c60c0(0xef)]},_0x5b166d='browserstack internal helper hook';new Promise(async _0x55060d=>{const _0x41aec8=_0x1c60c0;let _0x197981=!![];try{_0x2e343b[_0x41aec8(0x117)](global[_0x41aec8(0x11f)]['length'],0x1)&&(await global[_0x41aec8(0x148)](),global['__drivers'][_0x41aec8(0xd9)]()),_0x2e343b[_0x41aec8(0x15c)](global[_0x41aec8(0x11f)][0x0]['quitCount_'],0x0)&&(_0x197981=![],await global['driverCleanup']());}catch(_0x103347){logger[_0x41aec8(0x15b)](_0x41aec8(0x172)+_0x103347);}try{Array[_0x41aec8(0xce)](global[_0x41aec8(0x11f)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x41aec8(0x13d)]=this[_0x41aec8(0x140)][_0x41aec8(0xf6)]()[_0x41aec8(0xc7)](_0x2e343b[_0x41aec8(0xfc)])),global['browserstackSessionName']=this['currentTest'][_0x41aec8(0xf6)]()[_0x41aec8(0xc7)](_0x2e343b['QJFCL']);}catch(_0x2e8f15){logger[_0x41aec8(0x15b)](_0x41aec8(0xcc)+_0x2e8f15);}this['currentTest']['shouldScanTestForAccessibility']=_0x2e343b['tXwnx'](shouldScanTestForAccessibility,this[_0x41aec8(0x140)][_0x41aec8(0xf6)](),!![]),globals['setGlobal'](_0x2e343b[_0x41aec8(0x141)],this[_0x41aec8(0x140)][_0x41aec8(0xc4)]),this[_0x41aec8(0x140)]['accessibilityScanStarted']=!![];if(_0x2e343b[_0x41aec8(0x176)](isAccessibilityAutomationSession)&&_0x197981&&Array[_0x41aec8(0xce)](global['__drivers'])&&_0x2e343b[_0x41aec8(0x15c)](global['__drivers'][_0x41aec8(0xbd)],0x0)&&globals[_0x41aec8(0xda)](_0x2e343b['MHLFe']))try{const _0x4ae374=await global[_0x41aec8(0x11f)][0x0]['session_'];if(_0x4ae374){let _0x496fbc=!![];const _0x244d82=await global['__drivers'][0x0][_0x41aec8(0xdc)]();let _0x5cb46d;try{_0x5cb46d=new URL(_0x244d82);}catch(_0x243c47){_0x496fbc=![];}_0x496fbc=_0x2e343b[_0x41aec8(0xd0)](_0x5cb46d[_0x41aec8(0xdf)],_0x2e343b[_0x41aec8(0x10e)])||_0x2e343b[_0x41aec8(0xd0)](_0x5cb46d['protocol'],_0x2e343b['WjPfQ']),_0x496fbc&&(this['currentTest'][_0x41aec8(0xc4)]&&logger[_0x41aec8(0x16b)](_0x2e343b[_0x41aec8(0xfd)])),this[_0x41aec8(0x140)][_0x41aec8(0xbe)]=this[_0x41aec8(0x140)][_0x41aec8(0xc4)],this[_0x41aec8(0x140)][_0x41aec8(0xc4)]&&logger['info'](_0x2e343b[_0x41aec8(0x134)]);}}catch(_0xdd6ef4){logger[_0x41aec8(0x179)](_0x41aec8(0x128)+util[_0x41aec8(0x129)](_0xdd6ef4));}_0x2e343b[_0x41aec8(0x176)](_0x55060d);})[_0x1c60c0(0x15d)](()=>{_0x2e343b['TbyaD'](_0x386465);});},{'platform':_0x4b6b51[_0x5440d9(0xed)](nestedKeyValue,global[_0x5440d9(0xf1)],[_0x4b6b51[_0x5440d9(0x14a)]]),'hookType':_0x4b6b51[_0x5440d9(0xc3)]})();},'afterEach'(_0x1ada4e){const _0x3b1ca4=a32_0x1c6d01,_0x2d2bcd={'ehaFO':function(_0xf19405){return _0xf19405();},'uZAWm':_0x3b1ca4(0x126),'jNZoy':function(_0x321362,_0x28ff5a){return _0x321362!==_0x28ff5a;},'HLINK':_0x3b1ca4(0x138),'IglHJ':function(_0x1210a7,_0x3ef391,_0x1e5fac){return _0x1210a7(_0x3ef391,_0x1e5fac);},'tzVoa':function(_0x3f0940,_0x4a4fc2){return _0x3f0940+_0x4a4fc2;},'JfUTu':_0x3b1ca4(0xc0),'ggYzt':'error','UpjCL':_0x3b1ca4(0xdd),'QuMQq':_0x3b1ca4(0x16b),'wKjsx':function(_0x5e9d95,_0x3638){return _0x5e9d95>_0x3638;},'yeopH':function(_0xb5c9c5,_0x4f204c){return _0xb5c9c5===_0x4f204c;},'Jvdgz':_0x3b1ca4(0x11c),'vZaWL':'appium:app','VRfsL':function(_0x57e455,_0x35ff1e,_0x3e1702,_0x563622){return _0x57e455(_0x35ff1e,_0x3e1702,_0x563622);},'eYsui':'isAccessibilityPlatform','qQUlP':'bstackA11yShouldScan','ypqeJ':_0x3b1ca4(0x13c),'kqfcT':_0x3b1ca4(0xd5),'rUvYs':_0x3b1ca4(0xb8),'xmBQQ':_0x3b1ca4(0x120),'rLBxT':function(_0xdb767){return _0xdb767();},'ccIev':_0x3b1ca4(0x15b),'Onntg':function(_0x461688,_0x557044){return _0x461688>_0x557044;},'OazBW':function(_0x2b089){return _0x2b089();},'mtDxY':function(_0x5f576c,_0x1db7d7,_0x5660a2){return _0x5f576c(_0x1db7d7,_0x5660a2);},'UgRqh':_0x3b1ca4(0xd4),'ZAjMq':'afterEach'},_0x5a2353='browserstack internal helper hook';this[_0x3b1ca4(0x159)](0xfde8),global[_0x3b1ca4(0xbc)]=this[_0x3b1ca4(0x140)][_0x3b1ca4(0xf6)]()[_0x3b1ca4(0xc7)](_0x2d2bcd['uZAWm']),PerformanceTester[_0x3b1ca4(0x14b)](PerformanceSdkEvents[_0x3b1ca4(0x10d)],()=>{const _0x40bb2f=_0x3b1ca4,_0x9984e2={'GejUo':_0x2d2bcd[_0x40bb2f(0x114)],'IJPXg':function(_0x39b475,_0xaee66){const _0x43552f=_0x40bb2f;return _0x2d2bcd[_0x43552f(0x144)](_0x39b475,_0xaee66);},'wLVSl':_0x2d2bcd[_0x40bb2f(0xf8)],'DquYa':function(_0x3c9328,_0x15f308,_0x5ba583){const _0x40c167=_0x40bb2f;return _0x2d2bcd[_0x40c167(0x113)](_0x3c9328,_0x15f308,_0x5ba583);},'vVanK':function(_0x52ef60,_0x2731c4){const _0x14e398=_0x40bb2f;return _0x2d2bcd[_0x14e398(0x104)](_0x52ef60,_0x2731c4);},'FETOc':_0x2d2bcd['JfUTu'],'NPmRZ':_0x2d2bcd[_0x40bb2f(0x157)],'XdiXI':_0x2d2bcd['UpjCL'],'ghlhU':_0x2d2bcd['QuMQq'],'LlUsp':function(_0xcce242,_0x5f4d9f){const _0x405f8e=_0x40bb2f;return _0x2d2bcd[_0x405f8e(0x123)](_0xcce242,_0x5f4d9f);},'aAAbD':function(_0x208dd2,_0x5eb071){const _0x5c73a0=_0x40bb2f;return _0x2d2bcd[_0x5c73a0(0x10c)](_0x208dd2,_0x5eb071);},'QqLwV':_0x2d2bcd[_0x40bb2f(0x107)],'MYpPo':_0x2d2bcd[_0x40bb2f(0x112)],'SUARO':function(_0x475d22,_0x45eaf0,_0x2dcb08,_0x457361){return _0x2d2bcd['VRfsL'](_0x475d22,_0x45eaf0,_0x2dcb08,_0x457361);},'lrsuF':_0x2d2bcd['eYsui'],'omtKi':_0x2d2bcd[_0x40bb2f(0x109)],'yXUNC':_0x2d2bcd[_0x40bb2f(0x12e)],'QxXce':_0x2d2bcd['kqfcT'],'GtJfi':_0x2d2bcd[_0x40bb2f(0x158)],'HIreP':_0x2d2bcd[_0x40bb2f(0x125)],'jxdBt':function(_0x19b47e){return _0x2d2bcd['rLBxT'](_0x19b47e);},'gdHpf':_0x2d2bcd[_0x40bb2f(0xcb)],'SFKnG':function(_0x88bbbf,_0x3e316a){const _0x3923ff=_0x40bb2f;return _0x2d2bcd[_0x3923ff(0xf5)](_0x88bbbf,_0x3e316a);},'IuLuc':function(_0x4ccc80){const _0x566081=_0x40bb2f;return _0x2d2bcd[_0x566081(0x177)](_0x4ccc80);}},_0x520384=async(_0x21f34c,_0x176168)=>{const _0x31a6f0=_0x40bb2f;await global[_0x31a6f0(0x11f)][0x0]['executeScript'](_0x31a6f0(0xe3)+_0x21f34c+_0x31a6f0(0x15e)+_0x176168+'\x22}}');};new Promise(async _0x52e6fe=>{const _0x1e5e3b=_0x40bb2f,_0x2a590a={'NODzw':function(_0x408d35,_0xd18656){const _0x2716f3=a32_0x410c;return _0x9984e2[_0x2716f3(0x12c)](_0x408d35,_0xd18656);},'OjUdF':_0x9984e2[_0x1e5e3b(0x147)],'OWDry':function(_0x4c020b,_0x3e53a4,_0x1ca70c){const _0x457428=_0x1e5e3b;return _0x9984e2[_0x457428(0xec)](_0x4c020b,_0x3e53a4,_0x1ca70c);},'WdMjg':function(_0x4d6b97,_0x5c4839){const _0x39499c=_0x1e5e3b;return _0x9984e2[_0x39499c(0x14f)](_0x4d6b97,_0x5c4839);},'uOzwB':_0x9984e2['FETOc'],'XMQwD':_0x9984e2[_0x1e5e3b(0x11d)],'LRFfL':function(_0x8ec7a5,_0x55a7fc,_0x42f51f){const _0x104f4e=_0x1e5e3b;return _0x9984e2[_0x104f4e(0xec)](_0x8ec7a5,_0x55a7fc,_0x42f51f);},'PDRcz':_0x9984e2['XdiXI'],'fOgJQ':_0x9984e2['ghlhU']};try{_0x9984e2['LlUsp'](global[_0x1e5e3b(0x11f)]['length'],0x1)&&(await global[_0x1e5e3b(0x148)](),global[_0x1e5e3b(0x11f)][_0x1e5e3b(0xd9)](),global[_0x1e5e3b(0x12f)]=[],global['__sessionFailed']=![]);try{if(global['percy']&&_0x9984e2['aAAbD'](global[_0x1e5e3b(0x14e)],_0x9984e2[_0x1e5e3b(0x102)])&&global[_0x1e5e3b(0x11f)][0x0]){const _0x8f5b77=_0x9984e2[_0x1e5e3b(0x10a)](global['capabilities'][_0x1e5e3b(0xbd)],0x0)?!!global[_0x1e5e3b(0x11e)][0x0]['app']||!!global[_0x1e5e3b(0x11e)][0x0][_0x9984e2[_0x1e5e3b(0xeb)]]:![],_0x150f2e={};_0x150f2e[_0x1e5e3b(0x153)]=_0x8f5b77,await _0x9984e2['SUARO'](percyAutoCapture,global[_0x1e5e3b(0x11f)][0x0],_0x9984e2[_0x1e5e3b(0x102)],_0x150f2e);}}catch(_0x3c3bae){logger['debug'](_0x1e5e3b(0xf4)+_0x3c3bae);}!global[_0x1e5e3b(0xf3)]&&(await PerformanceTester[_0x1e5e3b(0x14b)](PerformanceAutEvents[_0x1e5e3b(0x118)],async()=>{const _0x539a35=_0x1e5e3b;await global[_0x539a35(0x11f)][0x0]['executeScript'](_0x539a35(0xd7)+JSON[_0x539a35(0x106)](this[_0x539a35(0x140)][_0x539a35(0xf6)]()[_0x539a35(0xc7)](_0x9984e2[_0x539a35(0xe0)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester[_0x1e5e3b(0x14b)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x38c64d=_0x1e5e3b,_0x14cd01=_0x2a590a[_0x38c64d(0x175)](this['currentTest'][_0x38c64d(0x124)],_0x2a590a[_0x38c64d(0x11b)]);_0x14cd01?(global['__sessionFailed']=!![],global[_0x38c64d(0x12f)]['push'](this[_0x38c64d(0x140)][_0x38c64d(0x122)]['message']),await _0x2a590a[_0x38c64d(0xb7)](_0x520384,JSON[_0x38c64d(0x106)](_0x2a590a[_0x38c64d(0x178)](_0x2a590a['uOzwB'],this[_0x38c64d(0x140)][_0x38c64d(0x122)][_0x38c64d(0x155)])),_0x2a590a[_0x38c64d(0x14c)])):await _0x2a590a[_0x38c64d(0x111)](_0x520384,JSON['stringify'](_0x2a590a['PDRcz']),_0x2a590a[_0x38c64d(0xbb)]);})();}catch(_0x31d2aa){logger[_0x1e5e3b(0x15b)](_0x1e5e3b(0x110)+_0x31d2aa);}try{if(this['currentTest'][_0x1e5e3b(0xbe)]&&globals[_0x1e5e3b(0xda)](_0x9984e2[_0x1e5e3b(0xd2)])&&globals[_0x1e5e3b(0xda)](_0x9984e2[_0x1e5e3b(0xe1)])){logger[_0x1e5e3b(0x16b)](_0x9984e2[_0x1e5e3b(0x170)]);const _0x330a2={};_0x330a2[_0x1e5e3b(0xfe)]=this[_0x1e5e3b(0x140)][_0x1e5e3b(0x12a)],_0x330a2[_0x1e5e3b(0xfa)]=process[_0x1e5e3b(0xde)][testHubConstants['ENV_VAR'][_0x1e5e3b(0x142)]],_0x330a2[_0x1e5e3b(0x14d)]=process['env'][testHubConstants[_0x1e5e3b(0x166)]['BROWSERSTACK_TESTHUB_JWT']];const _0xb1fd9c=_0x330a2;logger['debug'](_0x1e5e3b(0xc6)+JSON[_0x1e5e3b(0x106)](_0xb1fd9c)),logger[_0x1e5e3b(0x15b)](_0x9984e2[_0x1e5e3b(0x16d)]);const _0x5f093b={};_0x5f093b[_0x1e5e3b(0xe7)]=_0x9984e2['GtJfi'],await PerformanceTester[_0x1e5e3b(0x14b)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x767c44=_0x1e5e3b;logger[_0x767c44(0x15b)](util[_0x767c44(0x129)](await global[_0x767c44(0x11f)][0x0][_0x767c44(0x160)](scripts[_0x767c44(0x149)],{'method':global[_0x767c44(0x13d)]})));},_0x5f093b)(),await PerformanceTester[_0x1e5e3b(0x14b)](PerformanceA11yEvents[_0x1e5e3b(0xcd)],async()=>{const _0x1b61f6=_0x1e5e3b;await global[_0x1b61f6(0x11f)][0x0][_0x1b61f6(0x160)](scripts[_0x1b61f6(0x105)],_0xb1fd9c);})(),logger[_0x1e5e3b(0x16b)](_0x9984e2[_0x1e5e3b(0x115)]);}}catch(_0x202f29){logger[_0x1e5e3b(0x179)](_0x1e5e3b(0xbf)+this['currentTest'][_0x1e5e3b(0xf6)]()+_0x1e5e3b(0xc1),_0x202f29);}try{try{if(_0x9984e2[_0x1e5e3b(0x108)](shouldProcessEventForTesthub)){global[_0x1e5e3b(0x11f)][0x0]&&await _0x9984e2[_0x1e5e3b(0xec)](sendPlatformDetails,global['__drivers'][0x0],this[_0x1e5e3b(0x140)]?this[_0x1e5e3b(0x140)][_0x1e5e3b(0x12a)]:null);if(_0x9984e2[_0x1e5e3b(0x108)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents['SYNC']);const _0x2e9510=_0x1e5e3b(0xd1)+Date[_0x1e5e3b(0x163)]();await _0x9984e2[_0x1e5e3b(0xec)](_0x520384,JSON[_0x1e5e3b(0x106)](_0x2e9510),_0x9984e2[_0x1e5e3b(0x127)]),PerformanceTester[_0x1e5e3b(0x101)](PerformanceO11yEvents[_0x1e5e3b(0x12b)]);}}}catch(_0x414502){logger[_0x1e5e3b(0x15b)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x414502),PerformanceTester[_0x1e5e3b(0x101)](PerformanceO11yEvents[_0x1e5e3b(0x12b)],![],_0x414502);}_0x9984e2[_0x1e5e3b(0xe4)](global[_0x1e5e3b(0x11f)][0x0][_0x1e5e3b(0x151)],0x0)&&await global[_0x1e5e3b(0x148)]();}catch(_0x2486e7){logger[_0x1e5e3b(0x15b)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2486e7);}_0x9984e2[_0x1e5e3b(0x168)](_0x52e6fe);})[_0x40bb2f(0x15d)](()=>{const _0x4fec87=_0x40bb2f;_0x2d2bcd[_0x4fec87(0xba)](_0x1ada4e);});},{'platform':_0x2d2bcd[_0x3b1ca4(0xe6)](nestedKeyValue,global[_0x3b1ca4(0xf1)],[_0x2d2bcd['UgRqh']]),'hookType':_0x2d2bcd[_0x3b1ca4(0x156)]})();},'afterAll'(_0x10bf80){const _0x5d10bf=a32_0x1c6d01,_0x3cd4f5={'ljyYU':function(_0x44b9a6){return _0x44b9a6();},'AjYKz':function(_0x3b05c1){return _0x3b05c1();},'VsovB':function(_0xe4f8a9,_0x4d0d55,_0x18b1a6){return _0xe4f8a9(_0x4d0d55,_0x18b1a6);},'qSssK':_0x5d10bf(0xd4),'lYyvs':'afterAll'},_0x5ba037='browserstack internal helper hook';this[_0x5d10bf(0x159)](0xfde8),PerformanceTester[_0x5d10bf(0x14b)](PerformanceSdkEvents[_0x5d10bf(0x10d)],()=>{const _0x924172=_0x5d10bf;new Promise(async _0x36df28=>{await global['driverCleanup'](),_0x3cd4f5['ljyYU'](_0x36df28);})[_0x924172(0x15d)]()[_0x924172(0x15f)](()=>{const _0x3cd9a9=_0x924172;_0x3cd4f5[_0x3cd9a9(0xc2)](_0x10bf80);});},{'platform':_0x3cd4f5[_0x5d10bf(0xc8)](nestedKeyValue,global[_0x5d10bf(0xf1)],[_0x3cd4f5[_0x5d10bf(0x152)]]),'hookType':_0x3cd4f5[_0x5d10bf(0xe8)]})();}};function a32_0x5b79(){const _0x1cbb6a=['debug','dXEIa','then',',\x22level\x22:\x20\x22','finally','executeAsyncScript','7099clqdqR','EodKZ','now','initQuit','bZxAN','ENV_VAR','http:','IuLuc','XAtuu','HVqHf','info','../../helpers/percy/utils','QxXce','1099296GVwYCg','fPufj','yXUNC','../../helpers/globals','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Chrrg','4XhExrL','NODzw','TbyaD','OazBW','WdMjg','error','OWDry','afterTest','27099ABVggJ','ehaFO','fOgJQ','sessionName','length','accessibilityScanStarted','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Failed:\x20','.\x20Error\x20:','AjYKz','XiFCq','shouldScanTestForAccessibility','\x20|\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','join','VsovB','../../helpers/performance/performance-tester','75761eEPOwe','ccIev','Failed\x20to\x20store\x20session\x20name:\x20','SAVE_RESULTS','isArray','../../helpers/performance/constants','wjbMh','ObservabilitySync:','lrsuF','40ixzGbf','index','Performing\x20scan\x20before\x20saving\x20results','../../helpers/testhub/constants','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','PRsCR','shift','getGlobal','../../helpers/logger','getCurrentUrl','Passed','env','protocol','GejUo','omtKi','CNMhr','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','SFKnG','__sessionFailed','mtDxY','command','lYyvs','TBWPE','LHRFS','MYpPo','DquYa','TIvmg','242226acVNzO','Ehbyf','CFtef','__platformCaps','FfFLU','__skipSessionName','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Onntg','titlePath','setGlobal','HLINK','mochaHooks','thBuildUuid','18raepaV','QJFCL','EVfWj','thTestRunUuid','GdnPi','../../helpers/accessibility-automation/scripts','end','QqLwV','https:','tzVoa','saveTestResults','stringify','Jvdgz','jxdBt','qQUlP','LlUsp','util','yeopH','SDK_HOOK','UJbEt','isAccessibilityPlatform','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','LRFfL','vZaWL','IglHJ','uZAWm','HIreP','GZznK','cnUJe','SESSION_NAME','ycJyh','uoIAX','OjUdF','testcase','NPmRZ','capabilities','__drivers','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','err','wKjsx','state','xmBQQ','\x20-\x20','gdHpf','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','format','testAnalyticsId','SYNC','IJPXg','../../helpers/accessibility-automation/helper','ypqeJ','__error_messages__','DUTEl','cTugB','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','beforeEach','qSkOz','NCSqD','44TEoYfX','FDFyR','passed','../../helpers/helper','IxqiB','bstackA11yShouldScan','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','browserstackSessionName','10fOCQmF','GXcol','currentTest','viVYy','BROWSERSTACK_TESTHUB_UUID','winstonLogger','jNZoy','beforeAll','../../helpers/testhub/utils','wLVSl','driverCleanup','performScan','hLFDU','measureWrapper','XMQwD','thJwtToken','percyCaptureMode','vVanK','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','quitCount_','qSssK','app','209991nPiwxh','message','ZAjMq','ggYzt','rUvYs','timeout','3616984heHiTk'];a32_0x5b79=function(){return _0x1cbb6a;};return a32_0x5b79();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a33_0x3cabff=a33_0x462d;function a33_0x462d(_0x3749ab,_0x292500){const _0x4df2e4=a33_0x4df2();return a33_0x462d=function(_0x462dac,_0x38328e){_0x462dac=_0x462dac-0x197;let _0x58149b=_0x4df2e4[_0x462dac];return _0x58149b;},a33_0x462d(_0x3749ab,_0x292500);}(function(_0x4cfc69,_0x5e7bf6){const _0x3b7d9b=a33_0x462d,_0x197315=_0x4cfc69();while(!![]){try{const _0x5c8770=parseInt(_0x3b7d9b(0x1b6))/0x1+parseInt(_0x3b7d9b(0x1a2))/0x2+parseInt(_0x3b7d9b(0x1c6))/0x3*(-parseInt(_0x3b7d9b(0x1b2))/0x4)+-parseInt(_0x3b7d9b(0x1d6))/0x5*(parseInt(_0x3b7d9b(0x1d0))/0x6)+parseInt(_0x3b7d9b(0x1b7))/0x7+-parseInt(_0x3b7d9b(0x1c3))/0x8+parseInt(_0x3b7d9b(0x1a5))/0x9;if(_0x5c8770===_0x5e7bf6)break;else _0x197315['push'](_0x197315['shift']());}catch(_0x2faa80){_0x197315['push'](_0x197315['shift']());}}}(a33_0x4df2,0xa1484));function a33_0x4df2(){const _0x2c1114=['hub.browserstack.com','mOrKO','--env','UYZiE','../../helpers/helper','uAlPD','inherit','push','splice','YKgtF','1896496TLnBTw','URiAB','FVRGa','3664575NCQryA','nightwatch.conf.js','iWRQf','info','host','env','child\x20process\x20exited\x20with\x20code\x20','--config','findIndex','Ztohd','isUndefined','nightwatch.json','ukyrn','4qABkLJ','nightwatch.cmd','XkKkP','sYzdr','335684eTuvfS','7205051ijFOhb','../../helpers/BrowserStackSetup','VbGMQ','cwd','child_process','length','../../helpers/logger','platform','Getting\x20your\x20nightwatch\x20configs\x20from\x20','debug','map','config','9384280vhfVyt','unlinkSync','test_settings','47991UuYwnH','mergeDeep','NGJwU','jQeVH','now','close','trim','test','wvUfY','GHFVE','6pLdtBW','getPlatformName','PjIhA','../utils/constants','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','slice','4353780XRqZjP','useW3C','fSeHe','join','existsSync','writeFileSync','ctFYl'];a33_0x4df2=function(){return _0x2c1114;};return a33_0x4df2();}const fs=require('fs'),path=require('path'),{spawn}=require(a33_0x3cabff(0x1bb)),logger=require(a33_0x3cabff(0x1bd))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x3cabff(0x1b8)),helper=require(a33_0x3cabff(0x19c)),constants=require(a33_0x3cabff(0x1d3)),getUserNightwatchConfigs=(_0x53217a,_0x56a607)=>{const _0x595da9=a33_0x3cabff,_0x734bb4={'jQeVH':_0x595da9(0x1a6),'uAlPD':_0x595da9(0x1b0),'iWRQf':function(_0x3c879a,_0x3c1ea4){return _0x3c879a(_0x3c1ea4);},'fSeHe':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x1dd3b1=null,_0x4f5ae1={};const _0x4ac0e3=_0x56a607['findIndex'](_0x8884a1=>_0x8884a1===_0x595da9(0x1ac));if(!helper[_0x595da9(0x1af)](_0x53217a[_0x595da9(0x1c2)])&&fs['existsSync'](path[_0x595da9(0x1d9)](process['cwd'](),_0x53217a[_0x595da9(0x1c2)])))_0x1dd3b1=path[_0x595da9(0x1d9)](process[_0x595da9(0x1ba)](),_0x53217a['config']),_0x56a607[_0x595da9(0x1a0)](_0x4ac0e3,0x2);else{if(fs[_0x595da9(0x1da)](path[_0x595da9(0x1d9)](process[_0x595da9(0x1ba)](),_0x734bb4['jQeVH'])))_0x1dd3b1=path[_0x595da9(0x1d9)](process[_0x595da9(0x1ba)](),_0x734bb4[_0x595da9(0x1c9)]);else fs['existsSync'](path['join'](process['cwd'](),_0x734bb4[_0x595da9(0x19d)]))&&(_0x1dd3b1=path[_0x595da9(0x1d9)](process[_0x595da9(0x1ba)](),_0x734bb4[_0x595da9(0x19d)]));}return _0x1dd3b1?(logger[_0x595da9(0x1a8)](_0x595da9(0x1bf)+_0x1dd3b1),_0x4f5ae1=_0x734bb4[_0x595da9(0x1a7)](require,_0x1dd3b1)):logger[_0x595da9(0x1a8)](_0x734bb4[_0x595da9(0x1d8)]),_0x4f5ae1;},removeExistingEnvs=_0x267ac9=>{const _0x315d76=a33_0x3cabff,_0x18b2cd={};_0x18b2cd['CwUDI']=function(_0x138dd1,_0x2638e9){return _0x138dd1>_0x2638e9;},_0x18b2cd[_0x315d76(0x1b9)]=function(_0x2484b7,_0x39cb6f){return _0x2484b7>_0x39cb6f;};const _0xd162fe=_0x18b2cd;let _0x2bdb21=_0x267ac9[_0x315d76(0x1ad)](_0x2899d6=>_0x2899d6==='--env');_0xd162fe['CwUDI'](_0x2bdb21,-0x1)&&_0x267ac9[_0x315d76(0x1a0)](_0x2bdb21,0x2),_0x2bdb21=_0x267ac9[_0x315d76(0x1ad)](_0x454a72=>_0x454a72==='-e'),_0xd162fe['VbGMQ'](_0x2bdb21,-0x1)&&_0x267ac9[_0x315d76(0x1a0)](_0x2bdb21,0x2);};function run(_0x20a6ff,_0x4fd4f0,_0x18e0f3){const _0x878c46=a33_0x3cabff,_0x7b1ab3={'URiAB':'nightwatch','XkKkP':function(_0x4ae30f,_0x37e523){return _0x4ae30f+_0x37e523;},'wvUfY':_0x878c46(0x1c5),'mOrKO':function(_0x47b758,_0x38018c,_0x153f38){return _0x47b758(_0x38018c,_0x153f38);},'ctFYl':_0x878c46(0x198),'YKgtF':_0x878c46(0x1d4),'Ztohd':function(_0x5a9284,_0x16d567){return _0x5a9284===_0x16d567;},'PjIhA':'nightwatch-browserstack.json','sYzdr':function(_0x5d1118,_0x1ce7b1){return _0x5d1118(_0x1ce7b1);},'NGJwU':function(_0x922435,_0x4e606d,_0x310180,_0x191087){return _0x922435(_0x4e606d,_0x310180,_0x191087);},'rpCxT':_0x878c46(0x1b3),'FVRGa':_0x878c46(0x1ac),'JMLkh':_0x878c46(0x19a),'ukyrn':_0x878c46(0x19e),'DIExl':_0x878c46(0x1cb)};if(!_0x18e0f3[_0x878c46(0x1c2)])return;const _0x3a8508=_0x7b1ab3[_0x878c46(0x199)](getUserNightwatchConfigs,_0x20a6ff,_0x4fd4f0),_0x2cf2e1={};_0x2cf2e1['start_process']=![];const _0x4f10a3={};_0x4f10a3[_0x878c46(0x1a9)]=_0x7b1ab3[_0x878c46(0x197)],_0x4f10a3['port']=0x1bb;const _0x4c0bd1={};_0x4c0bd1['webdriver']=_0x2cf2e1,_0x4c0bd1['selenium']=_0x4f10a3;const _0xfa33db=_0x4c0bd1;logger[_0x878c46(0x1a8)](_0x7b1ab3[_0x878c46(0x1a1)]);const _0x31f84c={..._0x3a8508},_0x2e0bdb=_0x31f84c,_0x7610bd=helper[_0x878c46(0x1d7)](_0x18e0f3['config']),_0x4b36d5=[];_0x18e0f3[_0x878c46(0x1c2)]['platforms']['forEach']((_0xff10f6,_0x48cef5)=>{const _0x367ff4=_0x878c46;_0x7610bd?_0x4b36d5['push'](helper['modifyBrowserStackW3CCaps'](_0x18e0f3['config'],_0x7b1ab3['URiAB'],_0x48cef5)):_0x4b36d5[_0x367ff4(0x19f)](helper['modifyBrowserStackCaps'](_0x18e0f3[_0x367ff4(0x1c2)],_0x7b1ab3[_0x367ff4(0x1a3)],_0x48cef5));});const _0x1289a3={},_0x3d72ef=[];_0x20a6ff[_0x878c46(0x1aa)]=_0x20a6ff[_0x878c46(0x1aa)]||_0x20a6ff['e'];const _0x1f48ad=_0x20a6ff[_0x878c46(0x1aa)]?_0x20a6ff[_0x878c46(0x1aa)][_0x878c46(0x1cc)]()['split'](',')[_0x878c46(0x1c1)](_0xcc4d9e=>_0xcc4d9e[_0x878c46(0x1cc)]())['filter'](_0x537db3=>_0x537db3!==''):[''];_0x7b1ab3[_0x878c46(0x1ae)](_0x1f48ad[_0x878c46(0x1bc)],0x0)&&_0x1f48ad[_0x878c46(0x19f)]('');_0x1f48ad['forEach'](_0x58b3df=>{const _0x4c0dee=_0x878c46,_0x4af9df={'GHFVE':function(_0x340463,_0x21381d){const _0x191261=a33_0x462d;return _0x7b1ab3[_0x191261(0x1b4)](_0x340463,_0x21381d);},'UYZiE':_0x7b1ab3[_0x4c0dee(0x1ce)]};_0x4b36d5['forEach'](_0x430e62=>{const _0x2d1953=_0x4c0dee;let _0x1905a4=_0x4af9df[_0x2d1953(0x1cf)](helper[_0x2d1953(0x1d1)](_0x430e62,'_'),'_'+Date[_0x2d1953(0x1ca)]());_0x58b3df&&(_0x1905a4+='_'+_0x58b3df);if(_0x58b3df&&(!_0x3a8508[_0x4af9df[_0x2d1953(0x19b)]]||!_0x3a8508[_0x4af9df[_0x2d1953(0x19b)]][_0x58b3df]))return;const _0x4b3017={..._0xfa33db};_0x4b3017['desiredCapabilities']=_0x430e62;const _0xb6bc67=_0x4b3017;_0x1289a3[_0x1905a4]=_0x58b3df?helper[_0x2d1953(0x1c7)](_0x3a8508[_0x4af9df['UYZiE']][_0x58b3df],_0xb6bc67):_0xb6bc67,_0x3d72ef['push'](_0x1905a4);});});!_0x2e0bdb[_0x878c46(0x1c5)]&&(_0x2e0bdb[_0x878c46(0x1c5)]={});_0x2e0bdb['test_settings']={..._0x2e0bdb['test_settings'],..._0x1289a3};const _0x533438=path[_0x878c46(0x1d9)](__dirname,_0x7b1ab3[_0x878c46(0x1d2)]);fs[_0x878c46(0x1db)](_0x533438,JSON['stringify'](_0x2e0bdb)),_0x7b1ab3[_0x878c46(0x1b5)](removeExistingEnvs,_0x4fd4f0);const _0x2124c7=_0x7b1ab3[_0x878c46(0x1c8)](spawn,/^win/[_0x878c46(0x1cd)](process[_0x878c46(0x1be)])?_0x7b1ab3['rpCxT']:_0x7b1ab3['URiAB'],[_0x7b1ab3[_0x878c46(0x1a4)],_0x533438,..._0x4fd4f0[_0x878c46(0x1d5)](0x1),_0x7b1ab3['JMLkh'],_0x3d72ef['join'](',')],{'stdio':_0x7b1ab3[_0x878c46(0x1b1)]});_0x2124c7['on'](_0x7b1ab3['DIExl'],async _0x4a375b=>{const _0x2eab5c=_0x878c46;logger[_0x2eab5c(0x1c0)](_0x2eab5c(0x1ab)+_0x4a375b),logger[_0x2eab5c(0x1a8)]('Deleting\x20'+_0x533438),fs[_0x2eab5c(0x1c4)](_0x533438);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x2e888c=a34_0x4d14;function a34_0x4d14(_0x2cd3b6,_0x5641fc){const _0x2c8e5d=a34_0x2c8e();return a34_0x4d14=function(_0x4d1475,_0x2faa0c){_0x4d1475=_0x4d1475-0x96;let _0x186b51=_0x2c8e5d[_0x4d1475];return _0x186b51;},a34_0x4d14(_0x2cd3b6,_0x5641fc);}function a34_0x2c8e(){const _0x3d17d6=['Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','jakcU','bQoIw','(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','yOhYL','YafJR','2600060KqAjas','bstackSdkArgs','fNJiJ','../../helpers/helper','warn','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','KMutA','QImWI','getAccessibilityResultsSummary','wcagVersion','nucol','xByYV','browserName','measureWrapper','wsEndpoint','accessibilityOptions.scannerVersion','78334kEUHxz','giINF','needsReview','Playwright','../../helpers/accessibility-automation/scripts','playwright-chromium','currentTest','DoxrS','accessibilityOptions.authToken','qiyIV','BS_A11Y_JWT','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','workerInfo','accessibilityOptions.includeIssueType.bestPractice','scannerProcessingTimeout','PERFORM_SCAN','GnAru','env','efQKA','stringify','browserStackExecuteDriver','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','9473160JDsnOV','uzKdq','accessibilityOptions.includeIssueType.needsReview','854865ZCHiFh','KudwI','aAFhA','IzNgU','debug','pefyB','browserstack.accessibility','processAccessibilityCaps','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','command','browserStackEvaluate','setAccessibilityCapabilities','pnpsi','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','constructor','winstonLogger','DGepS','use','20332746KiAyFj','hoDyl','IpaZj','deviceName','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','NQcsH','979044NigykE','performScan','name','bestPractice','BCfCw','replace','TvBsJ','QibfN','includeIssueType','evaluate','chrome','project','orCMe','nokpY','jaROB','pfNcA','accessibilityOptions.scannerProcessingTimeout','../../helpers/accessibility-automation/helper','platformValidation','accessibilityOptions','error','pkLqr','latest','No\x20accessibility\x20results\x20were\x20found.','1991370EVwJST','util','LkMia','cjapj','YkYvD','accessibilityPlatform','EtJQw','format','No\x20summaryResults\x20found.'];a34_0x2c8e=function(){return _0x3d17d6;};return a34_0x2c8e();}(function(_0x117c70,_0x1dc9ec){const _0x3cbb8b=a34_0x4d14,_0x59d385=_0x117c70();while(!![]){try{const _0x174def=-parseInt(_0x3cbb8b(0xac))/0x1+-parseInt(_0x3cbb8b(0x9b))/0x2+parseInt(_0x3cbb8b(0xc6))/0x3+parseInt(_0x3cbb8b(0xde))/0x4+parseInt(_0x3cbb8b(0xf6))/0x5+-parseInt(_0x3cbb8b(0xc3))/0x6+parseInt(_0x3cbb8b(0xd8))/0x7;if(_0x174def===_0x1dc9ec)break;else _0x59d385['push'](_0x59d385['shift']());}catch(_0x2d4dce){_0x59d385['push'](_0x59d385['shift']());}}}(a34_0x2c8e,0xd5bb4));const util=require(a34_0x2e888c(0xf7)),logger=require(a34_0x2e888c(0xb7))[a34_0x2e888c(0xd5)],{isAccessibilityAutomationSession}=require(a34_0x2e888c(0xef)),{isUndefined}=require(a34_0x2e888c(0x9e)),scripts=require(a34_0x2e888c(0xb0)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require('../../helpers/performance/constants');exports[a34_0x2e888c(0xd0)]=async(_0x749c61,_0x5cadcc,_0x208166={})=>{const _0x463c77=a34_0x2e888c,_0x206d2b={};_0x206d2b[_0x463c77(0xea)]=_0x463c77(0x9c);const _0x549b39=_0x206d2b;return await _0x749c61[_0x463c77(0xe7)](_0x463c77(0x98)+_0x5cadcc[_0x463c77(0xe3)](/arguments/g,_0x549b39['orCMe'])+_0x463c77(0xc2)+JSON[_0x463c77(0xc0)](_0x208166)+')');},exports[a34_0x2e888c(0xc1)]=async(_0x5bc0e7,_0x1b32d2,_0x5311e1={})=>{const _0x47dc8f=a34_0x2e888c,_0x1f8703={};_0x1f8703[_0x47dc8f(0xd9)]=function(_0x4c1cfe,_0x13c6a7){return _0x4c1cfe===_0x13c6a7;},_0x1f8703[_0x47dc8f(0xfa)]=_0x47dc8f(0xa0),_0x1f8703[_0x47dc8f(0xeb)]=function(_0x5621ce,_0x156f30){return _0x5621ce===_0x156f30;},_0x1f8703[_0x47dc8f(0xe2)]=_0x47dc8f(0xaf),_0x1f8703['DGepS']=_0x47dc8f(0x9c);const _0x209237=_0x1f8703;if(_0x209237[_0x47dc8f(0xd9)](_0x5bc0e7[_0x47dc8f(0xd4)][_0x47dc8f(0xe0)],_0x209237[_0x47dc8f(0xfa)]))return await _0x5bc0e7['executeAsyncScript'](_0x1b32d2,_0x5311e1);else{if(_0x209237[_0x47dc8f(0xeb)](_0x5bc0e7[_0x47dc8f(0xd4)][_0x47dc8f(0xe0)],_0x209237['BCfCw']))return await _0x5bc0e7['executeScript']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x1b32d2['replace'](/arguments/g,_0x209237[_0x47dc8f(0xd6)])+_0x47dc8f(0xce)+JSON[_0x47dc8f(0xc0)](_0x5311e1)+')');}},exports[a34_0x2e888c(0xd1)]=async _0xef0602=>{const _0x1370bc=a34_0x2e888c,_0x16fc8c={};_0x16fc8c['pefyB']='accessibilityOptions.wcagVersion',_0x16fc8c[_0x1370bc(0xc9)]=_0x1370bc(0xee),_0x16fc8c[_0x1370bc(0xfc)]=_0x1370bc(0xba),_0x16fc8c[_0x1370bc(0x96)]=_0x1370bc(0xc5),_0x16fc8c['oUbqu']=_0x1370bc(0xb4),_0x16fc8c['IpaZj']=_0x1370bc(0xab);const _0x431d0a=_0x16fc8c;_0xef0602[_0x1370bc(0xf1)]&&(_0xef0602[_0x1370bc(0xf1)][_0x1370bc(0xa5)]&&(_0xef0602[_0x431d0a[_0x1370bc(0xcb)]]=_0xef0602[_0x1370bc(0xf1)][_0x1370bc(0xa5)]),_0xef0602['accessibilityOptions'][_0x1370bc(0xbb)]&&(_0xef0602[_0x431d0a['IzNgU']]=_0xef0602[_0x1370bc(0xf1)][_0x1370bc(0xbb)]),_0xef0602[_0x1370bc(0xf1)]['includeIssueType']&&(_0xef0602[_0x431d0a[_0x1370bc(0xfc)]]=_0xef0602[_0x1370bc(0xf1)][_0x1370bc(0xe6)][_0x1370bc(0xe1)],_0xef0602[_0x431d0a[_0x1370bc(0x96)]]=_0xef0602[_0x1370bc(0xf1)][_0x1370bc(0xe6)][_0x1370bc(0xae)]));const _0x5a1136=JSON['parse'](process['env'][_0x1370bc(0xa1)])['scannerVersion'];_0xef0602[_0x431d0a['oUbqu']]=process[_0x1370bc(0xbe)][_0x1370bc(0xb6)],_0xef0602[_0x431d0a[_0x1370bc(0xda)]]=_0x5a1136,delete _0xef0602[_0x1370bc(0xf1)];},exports['getAccessibilityResults']=async _0x3fff52=>{const _0x4c6a72=a34_0x2e888c,_0x5ead09={};_0x5ead09[_0x4c6a72(0xec)]=_0x4c6a72(0xf5),_0x5ead09[_0x4c6a72(0xb5)]=_0x4c6a72(0xff);const _0x4a3b92=_0x5ead09;if(global[_0x4c6a72(0xfb)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3fff52,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3fff52,scripts.getResults);})();return res;}catch{return logger[_0x4c6a72(0xf2)](_0x4a3b92[_0x4c6a72(0xec)]),[];}else return logger[_0x4c6a72(0x9f)](_0x4a3b92['qiyIV']),[];},exports[a34_0x2e888c(0xdf)]=async(_0x565069,_0x5a58cd='')=>{const _0x4be89d=a34_0x2e888c;if(global[_0x4be89d(0xfb)])return await PerformanceTester[_0x4be89d(0xa9)](PerformanceA11yEvents[_0x4be89d(0xbc)],async()=>{const _0x1fb9a1=_0x4be89d,_0x5dd393={};_0x5dd393[_0x1fb9a1(0xcf)]=_0x5a58cd,await exports[_0x1fb9a1(0xd0)](_0x565069,scripts['performScan'],_0x5dd393);},{'command':_0x5a58cd})();},exports[a34_0x2e888c(0xa4)]=async _0x34c12a=>{const _0x585efd=a34_0x2e888c,_0x217f23={};_0x217f23[_0x585efd(0x99)]=_0x585efd(0xfe),_0x217f23[_0x585efd(0xbd)]=_0x585efd(0xdc);const _0x7532fb=_0x217f23;if(global[_0x585efd(0xfb)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x34c12a,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x34c12a,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x585efd(0xca)](_0x7532fb[_0x585efd(0x99)]),{};}else return logger[_0x585efd(0x9f)](_0x7532fb[_0x585efd(0xbd)]),{};},exports[a34_0x2e888c(0xf0)]=async _0x4e5e05=>{const _0x5323c8=a34_0x2e888c,_0x126773={'bQoIw':function(_0x4853b5,_0x5b4f55){return _0x4853b5!==_0x5b4f55;},'DxRsa':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','exKAh':function(_0x9739be,_0x42c086){return _0x9739be===_0x42c086;},'KMutA':_0x5323c8(0xe8),'DoxrS':function(_0x5b7008,_0x27576a){return _0x5b7008===_0x27576a;},'ZNPkZ':_0x5323c8(0xb1),'LCKkj':_0x5323c8(0xd3),'TvBsJ':function(_0x26defa,_0x2c57e3){return _0x26defa(_0x2c57e3);},'LkMia':_0x5323c8(0xf4),'uzKdq':function(_0x83b7a9,_0x2c4899){return _0x83b7a9>_0x2c4899;},'QibfN':_0x5323c8(0xb8)};try{if(!_0x126773[_0x5323c8(0x97)](_0x4e5e05[_0x5323c8(0xdb)],''))return logger[_0x5323c8(0x9f)](_0x126773['DxRsa']),![];const _0x1a0cee=_0x4e5e05['browser'];if(!(_0x126773['exKAh'](_0x1a0cee,_0x126773[_0x5323c8(0xa2)])||_0x126773[_0x5323c8(0xb3)](_0x1a0cee,_0x126773['ZNPkZ'])))return logger['warn'](_0x126773['LCKkj']),![];const _0x5f2ada=_0x126773[_0x5323c8(0xe4)](parseInt,_0x4e5e05['browser_version']);if(!(_0x126773[_0x5323c8(0xb3)](_0x5f2ada,_0x126773[_0x5323c8(0xf8)])||_0x126773[_0x5323c8(0xc4)](_0x5f2ada,0x5e)))return logger[_0x5323c8(0x9f)](_0x126773[_0x5323c8(0xe5)]),![];}catch(_0x590f3b){logger[_0x5323c8(0xca)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5323c8(0xfd)](_0x590f3b));}return!![];},exports[a34_0x2e888c(0xcd)]=(_0x53a6ae,_0xf53f02,_0x329b90)=>{const _0x1de461=a34_0x2e888c,_0x456995={'pfNcA':function(_0x47c84a){return _0x47c84a();},'fNJiJ':_0x1de461(0xcc),'giINF':function(_0x3ff34d,_0x2f6a25){return _0x3ff34d===_0x2f6a25;},'KudwI':_0x1de461(0xe8),'nucol':function(_0x342d47,_0x2aca1d){return _0x342d47===_0x2aca1d;},'xByYV':_0x1de461(0xb1),'QImWI':_0x1de461(0xd3),'pnpsi':function(_0xc415c8,_0x265d26){return _0xc415c8===_0x265d26;},'aAFhA':_0x1de461(0xf4),'nwIkI':function(_0xf489a,_0x1936d8){return _0xf489a>_0x1936d8;},'YafJR':_0x1de461(0xb8),'cjapj':function(_0x293697,_0x4dba92){return _0x293697(_0x4dba92);},'NQcsH':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','pkLqr':function(_0x49e75e,_0x1f4e0f){return _0x49e75e+_0x1f4e0f;},'efQKA':function(_0x6c5dbc,_0x381b9c){return _0x6c5dbc(_0x381b9c);}};try{if(_0x456995[_0x1de461(0xed)](isAccessibilityAutomationSession)){global[_0x1de461(0xfb)]=!![];!_0x53a6ae[_0x456995[_0x1de461(0x9d)]]&&(global[_0x1de461(0xfb)]=![]);!(_0x456995[_0x1de461(0xad)](_0x53a6ae[_0x1de461(0xa8)],_0x456995[_0x1de461(0xc7)])||_0x456995[_0x1de461(0xa6)](_0x53a6ae[_0x1de461(0xa8)],_0x456995[_0x1de461(0xa7)]))&&(logger[_0x1de461(0x9f)](_0x456995[_0x1de461(0xa3)]),global['accessibilityPlatform']=![]);!(_0x456995[_0x1de461(0xd2)](_0x53a6ae['browser_version'],_0x456995[_0x1de461(0xc8)])||_0x456995['nwIkI'](_0x53a6ae['browser_version'],0x5e))&&(logger[_0x1de461(0x9f)](_0x456995[_0x1de461(0x9a)]),global[_0x1de461(0xfb)]=![]);!_0x456995[_0x1de461(0xf9)](isUndefined,_0x53a6ae[_0x1de461(0xdb)])&&(logger[_0x1de461(0x9f)](_0x456995[_0x1de461(0xdd)]),global[_0x1de461(0xfb)]=![]);if(!global[_0x1de461(0xfb)]){_0x53a6ae[_0x456995['fNJiJ']]=![];const _0x856932=_0x456995[_0x1de461(0xf3)](_0xf53f02,_0x456995[_0x1de461(0xbf)](encodeURIComponent,JSON['stringify'](_0x53a6ae)));_0x329b90&&(_0x329b90[_0x1de461(0xb2)]['testInfo'][_0x1de461(0xe9)][_0x1de461(0xd7)]['connectOptions'][_0x1de461(0xaa)]=_0x856932,_0x329b90[_0x1de461(0xb9)][_0x1de461(0xe9)][_0x1de461(0xd7)]['connectOptions'][_0x1de461(0xaa)]=_0x856932);}}}catch(_0x309b00){logger[_0x1de461(0xca)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x309b00));}};
|
|
1
|
+
function a34_0x410d(){const _0x4b8f60=['getAccessibilityResultsSummary','setAccessibilityCapabilities','105078JGoJbb','env','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.includeIssueType.needsReview','parse','command','constructor','wcagVersion','VztaX','190cQzyqj','../../helpers/accessibility-automation/scripts','../../helpers/helper','12SKJpGM','deviceName','chrome','1396449KcIrAP','No\x20summaryResults\x20found.','ezweV','executeScript','connectOptions','evaluate','FkbuV','KZFGn','No\x20accessibility\x20results\x20were\x20found.','UqVWH','IHsLt','needsReview','error','296582PFoMha','scannerProcessingTimeout','stringify','ihKmu','UveEE','IpLiQ','hmgHN','267AGWodV','hrJnE','ZeOTA','../../helpers/logger','accessibilityPlatform','browserStackEvaluate','aFEay','bhbtu','executeAsyncScript','9885cdaGEt','oLPeP','platformValidation','currentTest','9836TLVxJh','3650512oRhsaU','includeIssueType','performScan','TGCOI','CWfnK','../../helpers/accessibility-automation/helper','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','LkUNj','winstonLogger','(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','DGMqv','accessibilityOptions.includeIssueType.bestPractice','measureWrapper','pBgTn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','4979387wTzDjc','format','getAccessibilityResults','wTUFN','browserstack.accessibility','106tLhMZH','accessibilityOptions.scannerProcessingTimeout','warn','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.wcagVersion','name','browser_version','use','accessibilityOptions.scannerVersion','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','PERFORM_SCAN','RTunb','../../helpers/performance/performance-tester','PpqBe','wsEndpoint','Playwright','(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','ucQZc','XjwhO','latest','processAccessibilityCaps','BS_A11Y_JWT','bstackSdkArgs','debug','agyKb','lbnXx','workerInfo','browserName','LUSXL','../../helpers/performance/constants','NzTOQ','LYmdo','gSrpA','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','Performing\x20scan\x20with\x20method:\x20','browser','bestPractice','Udpmz','LckYi','\x20page:\x20','EKlLm','aGtSo','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','20UrchhU','replace','util'];a34_0x410d=function(){return _0x4b8f60;};return a34_0x410d();}const a34_0x5466ca=a34_0x1c2e;(function(_0x59007a,_0x4f75d9){const _0x4087d7=a34_0x1c2e,_0x17fa82=_0x59007a();while(!![]){try{const _0xdd6c81=-parseInt(_0x4087d7(0x125))/0x1*(-parseInt(_0x4087d7(0x13e))/0x2)+parseInt(_0x4087d7(0x11c))/0x3*(-parseInt(_0x4087d7(0x129))/0x4)+-parseInt(_0x4087d7(0x102))/0x5*(-parseInt(_0x4087d7(0x170))/0x6)+-parseInt(_0x4087d7(0x139))/0x7+parseInt(_0x4087d7(0x12a))/0x8+parseInt(_0x4087d7(0x108))/0x9*(-parseInt(_0x4087d7(0x16b))/0xa)+parseInt(_0x4087d7(0x115))/0xb*(parseInt(_0x4087d7(0x105))/0xc);if(_0xdd6c81===_0x4f75d9)break;else _0x17fa82['push'](_0x17fa82['shift']());}catch(_0x3f6089){_0x17fa82['push'](_0x17fa82['shift']());}}}(a34_0x410d,0x69821));function a34_0x1c2e(_0x378373,_0x42e421){const _0x410d8c=a34_0x410d();return a34_0x1c2e=function(_0x1c2e0f,_0x31780d){_0x1c2e0f=_0x1c2e0f-0xfe;let _0x5bd9f9=_0x410d8c[_0x1c2e0f];return _0x5bd9f9;},a34_0x1c2e(_0x378373,_0x42e421);}const util=require(a34_0x5466ca(0x16d)),logger=require(a34_0x5466ca(0x11f))[a34_0x5466ca(0x132)],{isAccessibilityAutomationSession}=require(a34_0x5466ca(0x12f)),{isUndefined}=require(a34_0x5466ca(0x104)),scripts=require(a34_0x5466ca(0x103)),PerformanceTester=require(a34_0x5466ca(0x14a)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x5466ca(0x15b));exports['browserStackEvaluate']=async(_0x2f5cd9,_0x2e029c,_0x43466e={})=>{const _0x320fa1=a34_0x5466ca,_0x4ea41e={};_0x4ea41e[_0x320fa1(0x122)]='bstackSdkArgs';const _0x1c2bc3=_0x4ea41e;return await _0x2f5cd9[_0x320fa1(0x10d)](_0x320fa1(0x14e)+_0x2e029c[_0x320fa1(0x16c)](/arguments/g,_0x1c2bc3[_0x320fa1(0x122)])+_0x320fa1(0x168)+JSON[_0x320fa1(0x117)](_0x43466e)+')');},exports['browserStackExecuteDriver']=async(_0x5c6ab8,_0x232c62,_0x2d5fea={})=>{const _0x4eb127=a34_0x5466ca,_0x1f4a8b={};_0x1f4a8b[_0x4eb127(0x15c)]=function(_0x3d20c8,_0x10b43e){return _0x3d20c8===_0x10b43e;},_0x1f4a8b[_0x4eb127(0x118)]='WebDriver',_0x1f4a8b[_0x4eb127(0x11e)]=function(_0x3ef67d,_0x43a789){return _0x3ef67d===_0x43a789;},_0x1f4a8b['aGtSo']=_0x4eb127(0x14d),_0x1f4a8b[_0x4eb127(0x157)]=_0x4eb127(0x154);const _0x3d20ce=_0x1f4a8b;if(_0x3d20ce[_0x4eb127(0x15c)](_0x5c6ab8[_0x4eb127(0xff)]['name'],_0x3d20ce[_0x4eb127(0x118)]))return await _0x5c6ab8[_0x4eb127(0x124)](_0x232c62,_0x2d5fea);else{if(_0x3d20ce['ZeOTA'](_0x5c6ab8[_0x4eb127(0xff)][_0x4eb127(0x143)],_0x3d20ce[_0x4eb127(0x167)]))return await _0x5c6ab8[_0x4eb127(0x10b)](_0x4eb127(0x133)+_0x232c62[_0x4eb127(0x16c)](/arguments/g,_0x3d20ce[_0x4eb127(0x157)])+_0x4eb127(0x130)+JSON[_0x4eb127(0x117)](_0x2d5fea)+')');}},exports[a34_0x5466ca(0x16f)]=async _0x161cf0=>{const _0x4286dc=a34_0x5466ca,_0x31863e={};_0x31863e[_0x4286dc(0x156)]=_0x4286dc(0x142),_0x31863e['ujWpx']=_0x4286dc(0x13f),_0x31863e['pBgTn']=_0x4286dc(0x135),_0x31863e[_0x4286dc(0x11a)]=_0x4286dc(0x173),_0x31863e['hrJnE']='accessibilityOptions.authToken',_0x31863e['oLPeP']=_0x4286dc(0x146);const _0x2c42d0=_0x31863e;_0x161cf0[_0x4286dc(0x169)]&&(_0x161cf0[_0x4286dc(0x169)][_0x4286dc(0x100)]&&(_0x161cf0[_0x2c42d0['agyKb']]=_0x161cf0[_0x4286dc(0x169)][_0x4286dc(0x100)]),_0x161cf0[_0x4286dc(0x169)][_0x4286dc(0x116)]&&(_0x161cf0[_0x2c42d0['ujWpx']]=_0x161cf0['accessibilityOptions']['scannerProcessingTimeout']),_0x161cf0[_0x4286dc(0x169)]['includeIssueType']&&(_0x161cf0[_0x2c42d0[_0x4286dc(0x137)]]=_0x161cf0[_0x4286dc(0x169)][_0x4286dc(0x12b)][_0x4286dc(0x162)],_0x161cf0[_0x2c42d0[_0x4286dc(0x11a)]]=_0x161cf0[_0x4286dc(0x169)]['includeIssueType'][_0x4286dc(0x113)]));const _0x536e61=JSON[_0x4286dc(0x174)](process['env'][_0x4286dc(0x138)])['scannerVersion'];_0x161cf0[_0x2c42d0[_0x4286dc(0x11d)]]=process[_0x4286dc(0x171)][_0x4286dc(0x153)],_0x161cf0[_0x2c42d0[_0x4286dc(0x126)]]=_0x536e61,delete _0x161cf0[_0x4286dc(0x169)];},exports[a34_0x5466ca(0x13b)]=async _0x3cddbd=>{const _0x452555=a34_0x5466ca,_0x5d94d9={};_0x5d94d9[_0x452555(0x163)]=_0x452555(0x110),_0x5d94d9[_0x452555(0x10e)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x3114d0=_0x5d94d9;if(global[_0x452555(0x120)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3cddbd,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3cddbd,scripts.getResults);})();return res;}catch{return logger[_0x452555(0x114)](_0x3114d0[_0x452555(0x163)]),[];}else return logger['warn'](_0x3114d0[_0x452555(0x10e)]),[];},exports[a34_0x5466ca(0x12c)]=async(_0x357566,_0x5dbb4e='')=>{const _0x32d82e=a34_0x5466ca;logger[_0x32d82e(0x155)](_0x32d82e(0x160)+_0x5dbb4e+_0x32d82e(0x165)+_0x357566);if(global[_0x32d82e(0x120)])return await PerformanceTester[_0x32d82e(0x136)](PerformanceA11yEvents[_0x32d82e(0x148)],async()=>{const _0x43b129=_0x32d82e,_0x14728b={};_0x14728b[_0x43b129(0xfe)]=_0x5dbb4e,await exports[_0x43b129(0x121)](_0x357566,scripts['performScan'],_0x14728b);},{'command':_0x5dbb4e})();},exports[a34_0x5466ca(0x16e)]=async _0x4474e9=>{const _0xdaf517=a34_0x5466ca,_0x590099={};_0x590099[_0xdaf517(0x10a)]=_0xdaf517(0x109),_0x590099[_0xdaf517(0x111)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x33c44d=_0x590099;if(global[_0xdaf517(0x120)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4474e9,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4474e9,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0xdaf517(0x155)](_0x33c44d['ezweV']),{};}else return logger['warn'](_0x33c44d[_0xdaf517(0x111)]),{};},exports[a34_0x5466ca(0x127)]=async _0x221539=>{const _0x480e9c=a34_0x5466ca,_0x57495d={'DGMqv':function(_0x55803a,_0x371929){return _0x55803a!==_0x371929;},'vHHTo':_0x480e9c(0x141),'LckYi':function(_0x117006,_0x3adf69){return _0x117006===_0x3adf69;},'EKlLm':_0x480e9c(0x107),'XjwhO':'playwright-chromium','xwQgD':_0x480e9c(0x147),'elSWs':function(_0x2a6937,_0x12a60b){return _0x2a6937(_0x12a60b);},'xhABR':function(_0x3692af,_0x563105){return _0x3692af===_0x563105;},'LUSXL':_0x480e9c(0x151),'VztaX':function(_0x4a50e0,_0x16d04a){return _0x4a50e0>_0x16d04a;},'PpqBe':_0x480e9c(0x15f)};try{if(!_0x57495d[_0x480e9c(0x134)](_0x221539[_0x480e9c(0x106)],''))return logger[_0x480e9c(0x140)](_0x57495d['vHHTo']),![];const _0x28302c=_0x221539[_0x480e9c(0x161)];if(!(_0x57495d[_0x480e9c(0x164)](_0x28302c,_0x57495d[_0x480e9c(0x166)])||_0x57495d[_0x480e9c(0x164)](_0x28302c,_0x57495d[_0x480e9c(0x150)])))return logger[_0x480e9c(0x140)](_0x57495d['xwQgD']),![];const _0x176ee8=_0x57495d['elSWs'](parseInt,_0x221539[_0x480e9c(0x144)]);if(!(_0x57495d['xhABR'](_0x176ee8,_0x57495d[_0x480e9c(0x15a)])||_0x57495d[_0x480e9c(0x101)](_0x176ee8,0x5e)))return logger['warn'](_0x57495d[_0x480e9c(0x14b)]),![];}catch(_0x80685){logger['debug'](_0x480e9c(0x16a)+util[_0x480e9c(0x13a)](_0x80685));}return!![];},exports[a34_0x5466ca(0x152)]=(_0x584721,_0x31e55b,_0x5b8708)=>{const _0x5ab21a=a34_0x5466ca,_0x2a973c={'LYmdo':function(_0x321a0b){return _0x321a0b();},'TGCOI':_0x5ab21a(0x13d),'UveEE':function(_0xd558fa,_0x3d7f30){return _0xd558fa===_0x3d7f30;},'CWfnK':'chrome','wTUFN':'playwright-chromium','gSrpA':function(_0x501c75,_0x1bd71c){return _0x501c75===_0x1bd71c;},'bhbtu':_0x5ab21a(0x147),'IHsLt':'latest','hmgHN':function(_0x15c5d2,_0x5ed1e6){return _0x15c5d2>_0x5ed1e6;},'RTunb':_0x5ab21a(0x15f),'ucQZc':function(_0x16f7d7,_0x346973){return _0x16f7d7(_0x346973);},'LkUNj':_0x5ab21a(0x141),'KZFGn':function(_0x1524ba,_0x3f4e70){return _0x1524ba+_0x3f4e70;}};try{if(_0x2a973c[_0x5ab21a(0x15d)](isAccessibilityAutomationSession)){global[_0x5ab21a(0x120)]=!![];!_0x584721[_0x2a973c[_0x5ab21a(0x12d)]]&&(global[_0x5ab21a(0x120)]=![]);!(_0x2a973c[_0x5ab21a(0x119)](_0x584721[_0x5ab21a(0x159)],_0x2a973c[_0x5ab21a(0x12e)])||_0x2a973c['UveEE'](_0x584721[_0x5ab21a(0x159)],_0x2a973c[_0x5ab21a(0x13c)])||_0x2a973c[_0x5ab21a(0x15e)](_0x584721[_0x5ab21a(0x161)],_0x2a973c[_0x5ab21a(0x12e)])||_0x2a973c['gSrpA'](_0x584721['browser'],_0x2a973c['wTUFN']))&&(logger[_0x5ab21a(0x140)](_0x2a973c[_0x5ab21a(0x123)]),global[_0x5ab21a(0x120)]=![]);!(_0x2a973c[_0x5ab21a(0x119)](_0x584721[_0x5ab21a(0x144)],_0x2a973c[_0x5ab21a(0x112)])||_0x2a973c[_0x5ab21a(0x11b)](_0x584721[_0x5ab21a(0x144)],0x5e))&&(logger[_0x5ab21a(0x140)](_0x2a973c[_0x5ab21a(0x149)]),global[_0x5ab21a(0x120)]=![]);!_0x2a973c[_0x5ab21a(0x14f)](isUndefined,_0x584721[_0x5ab21a(0x106)])&&(logger[_0x5ab21a(0x140)](_0x2a973c[_0x5ab21a(0x131)]),global[_0x5ab21a(0x120)]=![]);if(!global[_0x5ab21a(0x120)]){_0x584721[_0x2a973c['TGCOI']]=![];const _0x25a4bf=_0x2a973c[_0x5ab21a(0x10f)](_0x31e55b,_0x2a973c[_0x5ab21a(0x14f)](encodeURIComponent,JSON[_0x5ab21a(0x117)](_0x584721)));_0x5b8708&&(_0x5b8708[_0x5ab21a(0x128)]['testInfo']['project'][_0x5ab21a(0x145)]['connectOptions']['wsEndpoint']=_0x25a4bf,_0x5b8708[_0x5ab21a(0x158)]['project'][_0x5ab21a(0x145)][_0x5ab21a(0x10c)][_0x5ab21a(0x14c)]=_0x25a4bf);}}else global['accessibilityPlatform']=![];}catch(_0x2e837f){logger[_0x5ab21a(0x155)](_0x5ab21a(0x172)+util[_0x5ab21a(0x13a)](_0x2e837f));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a35_0x33d596=a35_0x3a8a;function a35_0x3a8a(_0x36c4e6,_0xea37ea){const _0x1318dd=a35_0x1318();return a35_0x3a8a=function(_0x3a8a52,_0x195a9f){_0x3a8a52=_0x3a8a52-0x73;let _0x405dbb=_0x1318dd[_0x3a8a52];return _0x405dbb;},a35_0x3a8a(_0x36c4e6,_0xea37ea);}function a35_0x1318(){const _0x121e8d=['Deleting\x20','../utils/constants','env','BpVmh','UcZga','resolve','KpdJF','error','cHjRl','OtjXA','debug','accessibilityOptions','apply','1113954SmZWjE','PlSut','testObservability','BROWSERSTACK_RERUN_TESTS','isTypescriptProject','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','start','test','hqPbz','IYmWt','trace_','--config=','../../helpers/test-observability/constants','browserstackSetupConfig.json','\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();','filter','./reporter/pwUtils','logLevel','ixTXD','RSgFk','dirname','ThWiQ','push','true','getProxyUrl','gTCrM','../../helpers/BrowserStackSetup','Error\x20in\x20deleting\x20playwright\x20results','trim','2710098YDcfFh','findIndex','end','PLAYWRIGHT','resolvedConfigFile','gTkKr','BrowserStack\x20config\x20file\x20not\x20found.','orfDy','475HWnZpf','length','winstonLogger','npx','QlHCu','isUndefined','SDK_PRE_INITIALIZE','bzOJP','fiMDX','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','config','ojzbH','serializeToYamlString','Updated\x20config\x20file\x20name\x20to\x20-\x20','path','slice','playwright','eMlrP','initialize','AUzEV','getConfigPath','ZwFqy','skipSessionStatus','OCWKw','../../helpers/performance/constants','zYwmy','zLtII','map','child_process','isTrue','../../helpers/logger','unlinkSync','hvIaZ','../../helpers/performance/performance-tester','Playwright\x20process\x20exited\x20with\x20code\x20','vXPig','BROWSERSTACK_TEST_OBSERVABILITY','cliConfig','NjAvC','launchBuild','RhhHj','HBMWq','GUEtA','1033461IxSlWr','win32','forEach','parse','7164738BUqsie','readFileSync','80LIaiHj','SDK_SETUP','WcKxv','cwd','qnepb','eJzOG','platform','filterBrowserstackArgs','homedir','util','assign','BROWSERSTACK_AUTOMATION','has','SDK_CLEANUP','cCEeO','../../helpers/helper','../../helpers/accessibility-automation/helper','BROWSERSTACK_SETUP_CONFIG_PATH','btRmy','MilCz','1001496WVkpBU','ORSrK','inherit','automation','isFalse','vSNyS','getPackageType','join','2314502awtBna','EVENTS','exitCode','Error\x20in\x20closing\x20playwright','./accessibility-helper','pLCEG','PACKAGE_TYPE','testContextOptions','startsWith','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','splice','existsSync','13252WanckX','readdirSync','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','accessibility','../../helpers/testhub/testhubHandler','./reporter/test-details','WSqGH','--config','krUDC','measureWrapper','HSbxE','stop','../../helpers/test-observability/utils','--grep','pYufc','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/utilities'];a35_0x1318=function(){return _0x121e8d;};return a35_0x1318();}(function(_0x19deb0,_0x1167c6){const _0x3bd2d7=a35_0x3a8a,_0x27ca5d=_0x19deb0();while(!![]){try{const _0x231ea9=-parseInt(_0x3bd2d7(0xbc))/0x1+-parseInt(_0x3bd2d7(0xde))/0x2+parseInt(_0x3bd2d7(0x108))/0x3+parseInt(_0x3bd2d7(0xea))/0x4*(parseInt(_0x3bd2d7(0x91))/0x5)+parseInt(_0x3bd2d7(0xd6))/0x6+-parseInt(_0x3bd2d7(0xc0))/0x7+-parseInt(_0x3bd2d7(0xc2))/0x8*(-parseInt(_0x3bd2d7(0x89))/0x9);if(_0x231ea9===_0x1167c6)break;else _0x27ca5d['push'](_0x27ca5d['shift']());}catch(_0x5227dd){_0x27ca5d['push'](_0x27ca5d['shift']());}}}(a35_0x1318,0x9ead7));const fs=require('fs'),path=require(a35_0x33d596(0x9f)),{spawn}=require(a35_0x33d596(0xad)),{format}=require(a35_0x33d596(0xcb)),logger=require(a35_0x33d596(0xaf))[a35_0x33d596(0x93)],{default:BrowserStackSetup}=require(a35_0x33d596(0x86)),helper=require(a35_0x33d596(0xd1)),utilities=require(a35_0x33d596(0xfa)),constants=require(a35_0x33d596(0xfc)),{FRAMEWORKS}=require(a35_0x33d596(0x78)),{getConfigLoaderPath}=require(a35_0x33d596(0x7c)),{checkAccessibilityPlatformConfig}=require(a35_0x33d596(0xd2)),{setAccessibilityCapabilities}=require(a35_0x33d596(0xe2)),{printBuildLink}=require(a35_0x33d596(0xf6)),TestDetails=require(a35_0x33d596(0xef)),TestHubHandler=require(a35_0x33d596(0xee)),PerformanceTester=require(a35_0x33d596(0xb2)),PerformanceEvents=require(a35_0x33d596(0xa9))[a35_0x33d596(0xdf)],getUserPlaywrightConfig=async(_0x5d9209,_0xf912b5)=>{const _0x5dbf94=a35_0x33d596,_0x15d95e={'ackad':function(_0x10f84c){return _0x10f84c();},'HBMWq':function(_0x2fcb8e,_0x412aed){return _0x2fcb8e(_0x412aed);},'btRmy':function(_0x272b91,_0x5b18a9){return _0x272b91(_0x5b18a9);},'OCWKw':_0x5dbf94(0x8d),'FNDzL':_0x5dbf94(0x77)},_0x214f10=!helper[_0x5dbf94(0x96)](_0x5d9209[_0x5dbf94(0x9b)]),_0x82e1c6=_0x214f10?path[_0x5dbf94(0x100)](process[_0x5dbf94(0xc5)](),_0x5d9209[_0x5dbf94(0x9b)]):process[_0x5dbf94(0xc5)](),{resolveConfigFile:_0x42f4c2,resolveConfigLocation:_0x298cdd}=helper['requirePWModule'][_0x5dbf94(0x107)](null,_0x15d95e['ackad'](getConfigLoaderPath)),_0x1fef6d=_0x42f4c2?_0x15d95e[_0x5dbf94(0xba)](_0x42f4c2,_0x82e1c6):helper['nestedKeyValue'](_0x15d95e[_0x5dbf94(0xd4)](_0x298cdd,_0x82e1c6),[_0x15d95e[_0x5dbf94(0xa8)]]),_0x2b3f21={};if(_0x214f10){const _0x6b0f27=_0xf912b5[_0x5dbf94(0x8a)](_0x4b979d=>_0x4b979d===_0x5dbf94(0xf1)||_0x4b979d==='-c'||_0x4b979d[_0x5dbf94(0xe6)]('--config='));_0xf912b5[_0x5dbf94(0xe8)](_0x6b0f27,_0xf912b5[_0x6b0f27][_0x5dbf94(0xe6)](_0x15d95e['FNDzL'])?0x1:0x2);}const _0x2070f7={};return _0x2070f7[_0x5dbf94(0x9f)]=_0x1fef6d,_0x2070f7['config']=_0x2b3f21,_0x2070f7;},handleO11yRerun=_0x1dc409=>{const _0x58fe07=a35_0x33d596,_0x2e8527={};_0x2e8527['BpVmh']=_0x58fe07(0xf7);const _0x5d1cdc=_0x2e8527,_0x594304=helper[_0x58fe07(0xae)](process[_0x58fe07(0xfd)]['BROWSERSTACK_RERUN']);if(_0x594304){const _0x1c19e8=process['env'][_0x58fe07(0x10b)],_0x5e427e=[];if(helper['validateRerunTestList'](_0x1c19e8)&&!helper[_0x58fe07(0x96)](_0x1c19e8)){_0x1c19e8['split'](',')[_0x58fe07(0xac)](_0x2a091e=>{const _0x33d2e9=_0x58fe07;_0x5e427e[_0x33d2e9(0x82)]('('+_0x2a091e[_0x33d2e9(0x88)]()+')');});const _0x263450='^'+_0x5e427e[_0x58fe07(0xdd)]('|')+'$';_0x1dc409[_0x58fe07(0x82)](_0x5d1cdc[_0x58fe07(0xfe)],_0x263450);}}},spawnOriginalProcess=_0x22067a=>{const _0x316e87=a35_0x33d596,_0x22f344={'MilCz':function(_0x3a2f79,_0x1cea84,_0x2a9f6a,_0x441f13){return _0x3a2f79(_0x1cea84,_0x2a9f6a,_0x441f13);},'sdIyO':_0x316e87(0x94),'WSqGH':_0x316e87(0xa1),'NjAvC':function(_0x39f900,_0x52a649){return _0x39f900===_0x52a649;},'pLCEG':_0x316e87(0xbd),'eMlrP':_0x316e87(0xd8)};_0x22f344[_0x316e87(0xd5)](spawn,_0x22f344['sdIyO'],[_0x22f344[_0x316e87(0xf0)],..._0x22067a[_0x316e87(0xa0)](0x1)],{'shell':_0x22f344[_0x316e87(0xb7)](process[_0x316e87(0xc8)],_0x22f344[_0x316e87(0xe3)]),'stdio':_0x22f344[_0x316e87(0xa2)],'cwd':process[_0x316e87(0xc5)]()});},isTestCommand=(_0x515e45,_0x4c297b)=>{const _0x5a069b=a35_0x33d596,_0x28f782={};_0x28f782['IYmWt']=function(_0x5dd3bb,_0x3ad5a1){return _0x5dd3bb>_0x3ad5a1;},_0x28f782[_0x5a069b(0x74)]=function(_0x393420,_0x22c0da){return _0x393420===_0x22c0da;},_0x28f782[_0x5a069b(0xdb)]=_0x5a069b(0x73);const _0x233f66=_0x28f782;if(_0x233f66[_0x5a069b(0x75)](_0x4c297b['length'],0x1)&&_0x233f66[_0x5a069b(0x74)](_0x4c297b[0x1],_0x233f66['vSNyS']))return!![];return![];};async function run(_0x118582,_0x503703,_0x57a92c){const _0x46d557=a35_0x33d596,_0x5cfa59={'gTCrM':'.browserstack','RhhHj':'pw_result.json','pMwrf':function(_0x44a96e,_0x5ac79a){return _0x44a96e+_0x5ac79a;},'zLtII':'Error\x20in\x20getting\x20funnel\x20data\x20results','ojzbH':function(_0x44b7f0,_0x4327fe){return _0x44b7f0(_0x4327fe);},'hvIaZ':function(_0x2fb462){return _0x2fb462();},'ixTXD':function(_0x20b034,_0x5ab476){return _0x20b034+_0x5ab476;},'OtjXA':_0x46d557(0xe1),'loaVK':_0x46d557(0x8f),'Uuekw':_0x46d557(0xd9),'mIZVU':function(_0x38c1e2,_0x1145a4){return _0x38c1e2!=_0x1145a4;},'bzOJP':function(_0x105148,_0x1aca1c,_0x24e484){return _0x105148(_0x1aca1c,_0x24e484);},'krUDC':function(_0x4123e7,_0x27d689){return _0x4123e7===_0x27d689;},'RSgFk':_0x46d557(0x83),'KpdJF':function(_0x9281e,_0x2f8794){return _0x9281e(_0x2f8794);},'cCEeO':_0x46d557(0x79),'hkBAy':'playwright-browserstack-sdk.config.cjs','ORSrK':'playwright-browserstack-sdk.config.js','Fqxhk':function(_0x1dd9b0,_0x26d7a2){return _0x1dd9b0-_0x26d7a2;},'Gwfrq':_0x46d557(0x9e),'hglhz':function(_0x278a3b,_0x4d9554){return _0x278a3b>_0x4d9554;},'PlSut':function(_0x5c0ec0,_0x1b15f3){return _0x5c0ec0+_0x1b15f3;},'cHjRl':function(_0x56a374,_0x5d1eeb,_0x410d7a,_0x19be3a){return _0x56a374(_0x5d1eeb,_0x410d7a,_0x19be3a);},'zYwmy':_0x46d557(0x94),'UcZga':_0x46d557(0xa1),'ZwFqy':_0x46d557(0x73),'WcKxv':_0x46d557(0xf1),'eJzOG':function(_0x16ff60,_0x309f15){return _0x16ff60===_0x309f15;},'pYufc':_0x46d557(0xbd),'AUzEV':'inherit','vXPig':'close','ThWiQ':function(_0x59ad6d,_0x57184e){return _0x59ad6d+_0x57184e;},'gTkKr':_0x46d557(0x87),'orfDy':function(_0x2d14f2,_0x198ae4){return _0x2d14f2(_0x198ae4);}};try{const _0x1f3dcf=path['join'](helper[_0x46d557(0xca)](),_0x5cfa59[_0x46d557(0x85)],_0x5cfa59['RhhHj']);fs[_0x46d557(0xe9)](_0x1f3dcf)&&fs[_0x46d557(0xb0)](_0x1f3dcf);}catch(_0x587ed3){logger[_0x46d557(0x105)](_0x5cfa59[_0x46d557(0x81)](_0x5cfa59[_0x46d557(0x8e)],_0x587ed3));}if(!_0x5cfa59[_0x46d557(0x98)](isTestCommand,_0x118582,_0x503703)){_0x5cfa59[_0x46d557(0x90)](spawnOriginalProcess,_0x503703);return;}await PerformanceTester[_0x46d557(0xf3)](PerformanceEvents[_0x46d557(0x97)],async()=>{const _0x3c33e8=_0x46d557,_0xb702ee={'QlHCu':function(_0x913bee,_0x20c11c){const _0xbdece7=a35_0x3a8a;return _0x5cfa59[_0xbdece7(0x9c)](_0x913bee,_0x20c11c);},'fiMDX':_0x5cfa59[_0x3c33e8(0x85)],'qnepb':function(_0x332b4a){const _0x3dd7c7=_0x3c33e8;return _0x5cfa59[_0x3dd7c7(0xb1)](_0x332b4a);},'GUEtA':function(_0x6871ce){const _0x171fb3=_0x3c33e8;return _0x5cfa59[_0x171fb3(0xb1)](_0x6871ce);},'zTDlh':function(_0x2ccd9d,_0xdabca8){return _0x5cfa59['ixTXD'](_0x2ccd9d,_0xdabca8);},'HSbxE':_0x5cfa59[_0x3c33e8(0x104)]};if(!_0x57a92c['config']){logger[_0x3c33e8(0x102)](_0x5cfa59['loaVK']);return;}await _0x57a92c[_0x3c33e8(0xa3)](_0x118582);!helper[_0x3c33e8(0x96)](_0x57a92c[_0x3c33e8(0xb6)])&&_0x57a92c['cliConfig'][_0x3c33e8(0xce)](_0x5cfa59['Uuekw'])&&(process[_0x3c33e8(0xfd)][_0x3c33e8(0xcd)]=_0x57a92c[_0x3c33e8(0xb6)]['get'](_0x5cfa59['Uuekw'])||!![]);_0x5cfa59['mIZVU'](_0x57a92c[_0x3c33e8(0x9b)][_0x3c33e8(0x10a)],null)&&!helper[_0x3c33e8(0xae)](process[_0x3c33e8(0xfd)][_0x3c33e8(0xb5)])&&(process['env'][_0x3c33e8(0xb5)]=process[_0x3c33e8(0xfd)][_0x3c33e8(0xb5)]||_0x57a92c[_0x3c33e8(0x9b)][_0x3c33e8(0x10a)]);const _0x1c2973=!helper[_0x3c33e8(0xda)](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);_0x57a92c['config'][_0x3c33e8(0x106)]&&(process[_0x3c33e8(0xfd)][_0x3c33e8(0x9a)]=JSON['stringify'](_0x57a92c[_0x3c33e8(0x9b)][_0x3c33e8(0x106)]));await PerformanceTester[_0x3c33e8(0xf3)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x338427=_0x3c33e8;await TestHubHandler[_0x338427(0xb8)](FRAMEWORKS[_0x338427(0x8c)],_0x57a92c),_0x1c2973&&_0xb702ee[_0x338427(0x95)](handleO11yRerun,_0x503703);})();let _0x3ca89c=![];_0x57a92c['config']['accessibility']&&(_0x3ca89c=!![],process[_0x3c33e8(0xfd)][_0x3c33e8(0xf9)]=_0x57a92c['config'][_0x3c33e8(0xed)]);const _0x55f29d=_0x503703['concat'](),_0x5e5d78=await _0x5cfa59['bzOJP'](getUserPlaywrightConfig,_0x118582,_0x503703);if(helper[_0x3c33e8(0x96)](_0x5e5d78)){_0x5cfa59[_0x3c33e8(0x9c)](spawnOriginalProcess,_0x55f29d);return;}const _0x54abc8=_0x5e5d78[_0x3c33e8(0x9f)]?path['dirname'](_0x5e5d78['path']):process['cwd']();process[_0x3c33e8(0xfd)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x54abc8;let _0x1c2cd0=_0x5cfa59[_0x3c33e8(0xf2)](process[_0x3c33e8(0xfd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x5cfa59[_0x3c33e8(0x7f)]);_0x1c2cd0=_0x1c2cd0||_0x5cfa59[_0x3c33e8(0x101)](checkAccessibilityPlatformConfig,_0x57a92c['config']),process[_0x3c33e8(0xfd)][_0x3c33e8(0xf9)]=_0x1c2cd0;_0x1c2cd0&&_0x5cfa59[_0x3c33e8(0x9c)](setAccessibilityCapabilities,_0x57a92c['config']);const _0x4d7e97=path[_0x3c33e8(0xdd)](_0x5e5d78[_0x3c33e8(0x9f)]?path[_0x3c33e8(0x80)](_0x5e5d78[_0x3c33e8(0x9f)]):process[_0x3c33e8(0xc5)](),_0x5cfa59[_0x3c33e8(0xd0)]);fs['writeFileSync'](_0x4d7e97,helper[_0x3c33e8(0x9d)](_0x57a92c['config'])),process[_0x3c33e8(0xfd)][_0x3c33e8(0xd3)]=_0x4d7e97,helper['clearTempPWConfig']();let _0x5b87f3='';_0x5cfa59['krUDC'](helper[_0x3c33e8(0xdc)](),constants[_0x3c33e8(0xe4)]['MODULE'])?_0x5b87f3=_0x5cfa59['hkBAy']:_0x5b87f3=_0x5cfa59[_0x3c33e8(0xd7)];let _0x49bba2='';if(helper[_0x3c33e8(0x10c)](_0x5e5d78['path'])){_0x49bba2=_0x3c33e8(0x10d);const _0x3fcc13=_0x5b87f3['split']('.');_0x3fcc13[_0x5cfa59['Fqxhk'](_0x3fcc13['length'],0x1)]='ts',_0x5b87f3=_0x3fcc13['join']('.'),logger[_0x3c33e8(0x105)](_0x5cfa59[_0x3c33e8(0x7e)](_0x5cfa59['Gwfrq'],_0x5b87f3));}else _0x49bba2=_0x3c33e8(0xe7);const _0x358185=path[_0x3c33e8(0xdd)](_0x5e5d78[_0x3c33e8(0x9f)]?path[_0x3c33e8(0x80)](_0x5e5d78['path']):process[_0x3c33e8(0xc5)](),_0x5b87f3);let _0x1ffc5b=_0x5e5d78['path']?_0x5e5d78[_0x3c33e8(0x9f)]:'';_0x1ffc5b=_0x5cfa59['hglhz'](_0x1ffc5b[_0x3c33e8(0x92)],0x0)?path[_0x3c33e8(0x100)](_0x1ffc5b):'',process[_0x3c33e8(0xfd)]['USER_CONFIG_DETAILS_PATH']=_0x1ffc5b;const _0x13355f=helper[_0x3c33e8(0x84)](_0x57a92c[_0x3c33e8(0x9b)]);_0x13355f&&(_0x49bba2=_0x5cfa59[_0x3c33e8(0x109)](_0x3c33e8(0xec)+_0x13355f+_0x3c33e8(0x7a),_0x49bba2));helper[_0x3c33e8(0xc9)]({},_0x503703),fs['writeFileSync'](_0x358185,_0x49bba2),PerformanceTester[_0x3c33e8(0x8b)](PerformanceEvents[_0x3c33e8(0xc3)]);const _0x522c9d=_0x5cfa59[_0x3c33e8(0x103)](spawn,_0x5cfa59[_0x3c33e8(0xaa)],[_0x5cfa59[_0x3c33e8(0xff)],_0x5cfa59[_0x3c33e8(0xa6)],_0x5cfa59[_0x3c33e8(0xc4)],_0x358185,..._0x503703[_0x3c33e8(0xa0)](0x2)],{'shell':_0x5cfa59[_0x3c33e8(0xc7)](process[_0x3c33e8(0xc8)],_0x5cfa59[_0x3c33e8(0xf8)]),'stdio':_0x5cfa59[_0x3c33e8(0xa4)],'cwd':process[_0x3c33e8(0xc5)](),'env':Object[_0x3c33e8(0xcc)]({},process[_0x3c33e8(0xfd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3c33e8(0xa5)](_0x118582),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x57a92c[_0x3c33e8(0x9b)]['testContextOptions'][_0x3c33e8(0xa7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x57a92c[_0x3c33e8(0x9b)][_0x3c33e8(0xe5)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x57a92c[_0x3c33e8(0x9b)][_0x3c33e8(0x7d)]})}),_0x11fb74=()=>{const _0x3c7e95=_0x3c33e8;try{const _0x178843=path[_0x3c7e95(0xdd)](helper[_0x3c7e95(0xca)](),_0x5cfa59[_0x3c7e95(0x85)],_0x5cfa59[_0x3c7e95(0xb9)]);if(fs[_0x3c7e95(0xe9)](_0x178843)){let _0x34dcaf=fs[_0x3c7e95(0xc1)](_0x178843);_0x34dcaf=JSON[_0x3c7e95(0xbf)](_0x34dcaf),_0x57a92c['errorMessage']=_0x34dcaf,fs[_0x3c7e95(0xb0)](_0x178843);}}catch(_0x6dccc7){logger[_0x3c7e95(0x105)](_0x5cfa59['pMwrf'](_0x5cfa59[_0x3c7e95(0xab)],_0x6dccc7));}};_0x522c9d['on'](_0x5cfa59[_0x3c33e8(0xb4)],async _0x313aa0=>{const _0x33681c=_0x3c33e8;try{PerformanceTester[_0x33681c(0x10e)](PerformanceEvents[_0x33681c(0xcf)]),_0xb702ee[_0x33681c(0xc6)](_0x11fb74),await TestHubHandler[_0x33681c(0xf5)](),TestDetails['shutdown'](),_0xb702ee[_0x33681c(0xbb)](printBuildLink),await utilities['finalExecution'](_0x57a92c),process[_0x33681c(0xe0)]=_0x313aa0,logger[_0x33681c(0x105)](_0x33681c(0xb3)+_0x313aa0),logger['info'](_0x33681c(0xfb)+_0x358185),fs[_0x33681c(0xb0)](_0x358185);fs[_0x33681c(0xe9)](_0x4d7e97)&&(logger[_0x33681c(0x105)](_0x33681c(0xfb)+_0x4d7e97),fs[_0x33681c(0xb0)](_0x4d7e97));const _0x4fd769=fs[_0x33681c(0xeb)](path['join'](helper[_0x33681c(0xca)](),_0xb702ee[_0x33681c(0x99)]))[_0x33681c(0x7b)](_0x3c9157=>_0x3c9157[_0x33681c(0xe6)](_0x33681c(0x76)));_0x4fd769[_0x33681c(0xbe)](_0x214584=>{const _0x4011b8=_0x33681c;fs[_0x4011b8(0xb0)](path['join'](helper[_0x4011b8(0xca)](),_0xb702ee[_0x4011b8(0x99)],_0x214584));});}catch(_0x36010f){logger[_0x33681c(0x105)](_0xb702ee['zTDlh'](_0xb702ee[_0x33681c(0xf4)],_0x36010f));}});})();}module['exports']=run;
|
|
2
|
+
'use strict';const a35_0x76e1ca=a35_0x1c66;(function(_0x1f8db7,_0x54ed9f){const _0x453062=a35_0x1c66,_0x5e617f=_0x1f8db7();while(!![]){try{const _0x5f40c1=-parseInt(_0x453062(0x1e9))/0x1*(parseInt(_0x453062(0x15a))/0x2)+-parseInt(_0x453062(0x189))/0x3*(-parseInt(_0x453062(0x17b))/0x4)+parseInt(_0x453062(0x1d6))/0x5*(-parseInt(_0x453062(0x1a0))/0x6)+-parseInt(_0x453062(0x198))/0x7+parseInt(_0x453062(0x166))/0x8*(-parseInt(_0x453062(0x1a9))/0x9)+parseInt(_0x453062(0x1b0))/0xa+parseInt(_0x453062(0x168))/0xb;if(_0x5f40c1===_0x54ed9f)break;else _0x5e617f['push'](_0x5e617f['shift']());}catch(_0x5cd8b1){_0x5e617f['push'](_0x5e617f['shift']());}}}(a35_0x2285,0xf3763));function a35_0x2285(){const _0x5a6ff2=['PIjos','vPFfA','--disable-browserstack-automation','split','.browserstack','config','aeMxo','12591957DGSfby','\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();','BROWSERSTACK_SETUP_CONFIG_PATH','win32','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','QKkMS','exports','USER_CONFIG_DETAILS_PATH','796302KCePqd','cliConfig','BROWSERSTACK_RERUN','readFileSync','launchBuild','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','../../helpers/helper','BROWSERSTACK_AUTOMATION','puwVU','144xZrNZA','writeFileSync','accessibility','qcLHw','push','./accessibility-helper','../../helpers/accessibility-automation/helper','17283120IxhTHt','../v2/cliUtils','--grep','shutdown','shCbx','skipSessionName','existsSync','homedir','playwright-browserstack-sdk.config.js','splice','kGroP','Playwright\x20process\x20exited\x20with\x20code\x20','NFaaA','npx','automation','Ynttl','yJcly','xPYZW','KzHDg','MODULE','filter','UFeeI','wriSW','joupw','has','winstonLogger','Iufkv','test','debug','mKhtx','BROWSERSTACK_RERUN_TESTS','PLAYWRIGHT','platform','BrowserStack\x20config\x20file\x20not\x20found.','browserstackAutomation','AvkCo','startsWith','BXubg','45DMSuht','BROWSERSTACK_PW_CONFIG_DIR','WOHyd','ybVJC','aKnFQ','join','Updated\x20config\x20file\x20name\x20to\x20-\x20','../../helpers/test-observability/constants','UNpcs','errorMessage','Deleting\x20','getInstance','setFrameworkDetail','../../helpers/test-observability/utils','logLevel','clearTempPWConfig','SuPMs','unlinkSync','QxAOE','13OSItOK','QjNJT','assign','OkrFQ','NHMiY','YKbTq','cTGzg','accessibilityOptions','../../helpers/logger','aWHAM','filterBrowserstackArgs','Error\x20in\x20getting\x20funnel\x20data\x20results','SDK_SETUP','../../helpers/performance/performance-tester','uiOHz','getPackageType','OcoIs','env','serializeToYamlString','exitCode','resolve','../v2/TestInfo','SDK_PRE_INITIALIZE','resolvedConfigFile','map','--config=','EJzYH','getProxyUrl','eyQXT','866lMyVqP','XIxUv','length','apply','testContextOptions','measureWrapper','child_process','../v2/browserstackCLI','Error\x20in\x20closing\x20playwright','ujUMk','./reporter/test-details','requirePWModule','108552NKQahX','isTypescriptProject','17459739nNfjgo','../../helpers/utilities','--config','JhOgj','testObservability','info','../utils/constants','PACKAGE_TYPE','qDgvD','isTrue','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getConfig','forEach','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_OBSERVABILITY','isUndefined','path','readdirSync','pw_result.json','17516MoLUSI','xPduJ','--disable-test-observability','findIndex','nestedKeyValue','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','skipSessionStatus','cwd','SDK_CLEANUP','playwright-browserstack-sdk.config.cjs','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','browserstackSetupConfig.json','setBrowserstackConfig','playwright','615Wogmsy','isRunning','start','inherit','bootstrap','OutvJ','MKsfi','slice'];a35_0x2285=function(){return _0x5a6ff2;};return a35_0x2285();}function a35_0x1c66(_0x484bd5,_0x490883){const _0x22853a=a35_0x2285();return a35_0x1c66=function(_0x1c6633,_0x2ee917){_0x1c6633=_0x1c6633-0x13e;let _0x25bb52=_0x22853a[_0x1c6633];return _0x25bb52;},a35_0x1c66(_0x484bd5,_0x490883);}const fs=require('fs'),path=require(a35_0x76e1ca(0x178)),{spawn}=require(a35_0x76e1ca(0x160)),{format}=require('util'),logger=require(a35_0x76e1ca(0x145))[a35_0x76e1ca(0x1c9)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x76e1ca(0x1a6)),utilities=require(a35_0x76e1ca(0x169)),constants=require(a35_0x76e1ca(0x16e)),{FRAMEWORKS}=require(a35_0x76e1ca(0x1dd)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a35_0x76e1ca(0x1af)),{setAccessibilityCapabilities}=require(a35_0x76e1ca(0x1ae)),{printBuildLink}=require(a35_0x76e1ca(0x1e3)),TestDetails=require(a35_0x76e1ca(0x164)),TestHubHandler=require(a35_0x76e1ca(0x175)),PerformanceTester=require(a35_0x76e1ca(0x14a)),BrowserstackCLI=require(a35_0x76e1ca(0x161)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],CLIUtils=require(a35_0x76e1ca(0x1b1)),TestInfo=require(a35_0x76e1ca(0x152)),getUserPlaywrightConfig=async(_0x19cf7a,_0xdca49)=>{const _0x5d0ef7=a35_0x76e1ca,_0x5f03a8={'PihnA':function(_0x345f74){return _0x345f74();},'PIjos':function(_0x542564,_0x3ad47b){return _0x542564(_0x3ad47b);},'KDYRo':_0x5d0ef7(0x154),'OkrFQ':_0x5d0ef7(0x156)},_0x1863db=!helper[_0x5d0ef7(0x177)](_0x19cf7a['config']),_0xb8d839=_0x1863db?path[_0x5d0ef7(0x151)](process[_0x5d0ef7(0x182)](),_0x19cf7a['config']):process[_0x5d0ef7(0x182)](),{resolveConfigFile:_0x1c68a5,resolveConfigLocation:_0x458841}=helper[_0x5d0ef7(0x165)][_0x5d0ef7(0x15d)](null,_0x5f03a8['PihnA'](getConfigLoaderPath)),_0x4cef71=_0x1c68a5?_0x5f03a8['PIjos'](_0x1c68a5,_0xb8d839):helper[_0x5d0ef7(0x17f)](_0x5f03a8[_0x5d0ef7(0x191)](_0x458841,_0xb8d839),[_0x5f03a8['KDYRo']]),_0x4fb832={};if(_0x1863db){const _0x2a36ce=_0xdca49[_0x5d0ef7(0x17e)](_0x245c6d=>_0x245c6d===_0x5d0ef7(0x16a)||_0x245c6d==='-c'||_0x245c6d[_0x5d0ef7(0x1d4)](_0x5d0ef7(0x156)));_0xdca49[_0x5d0ef7(0x1b9)](_0x2a36ce,_0xdca49[_0x2a36ce][_0x5d0ef7(0x1d4)](_0x5f03a8[_0x5d0ef7(0x140)])?0x1:0x2);}const _0x2b37f7={};return _0x2b37f7[_0x5d0ef7(0x178)]=_0x4cef71,_0x2b37f7[_0x5d0ef7(0x196)]=_0x4fb832,_0x2b37f7;},handleO11yRerun=_0x27c6e9=>{const _0x3c3e1b=a35_0x76e1ca,_0x23afe7={};_0x23afe7['mKhtx']=_0x3c3e1b(0x1b2);const _0x209ebb=_0x23afe7,_0x128823=helper[_0x3c3e1b(0x171)](process[_0x3c3e1b(0x14e)][_0x3c3e1b(0x1a2)]);if(_0x128823){const _0x43ba05=process['env'][_0x3c3e1b(0x1ce)],_0xfa5525=[];if(helper['validateRerunTestList'](_0x43ba05)&&!helper[_0x3c3e1b(0x177)](_0x43ba05)){_0x43ba05[_0x3c3e1b(0x194)](',')[_0x3c3e1b(0x155)](_0x345743=>{const _0x2d62a1=_0x3c3e1b;_0xfa5525[_0x2d62a1(0x1ad)]('('+_0x345743['trim']()+')');});const _0x593576='^'+_0xfa5525[_0x3c3e1b(0x1db)]('|')+'$';_0x27c6e9['push'](_0x209ebb[_0x3c3e1b(0x1cd)],_0x593576);}}},spawnOriginalProcess=_0x7d7e1b=>{const _0x35d8c6=a35_0x76e1ca,_0x564f1a={'aWHAM':function(_0x2d6870,_0x3e907e,_0xd9e5f5,_0x36b361){return _0x2d6870(_0x3e907e,_0xd9e5f5,_0x36b361);},'OutvJ':'npx','QjNJT':_0x35d8c6(0x188),'NFaaA':function(_0x3f3b43,_0x5bb228){return _0x3f3b43===_0x5bb228;},'uiOHz':'win32','eyQXT':_0x35d8c6(0x18c)};_0x564f1a[_0x35d8c6(0x146)](spawn,_0x564f1a[_0x35d8c6(0x18e)],[_0x564f1a[_0x35d8c6(0x13e)],..._0x7d7e1b[_0x35d8c6(0x190)](0x1)],{'shell':_0x564f1a[_0x35d8c6(0x1bc)](process[_0x35d8c6(0x1d0)],_0x564f1a[_0x35d8c6(0x14b)]),'stdio':_0x564f1a[_0x35d8c6(0x159)],'cwd':process[_0x35d8c6(0x182)]()});},isTestCommand=(_0x205ddd,_0x49c408)=>{const _0x174a64=a35_0x76e1ca,_0x5aa84a={};_0x5aa84a[_0x174a64(0x157)]=function(_0x39dbe9,_0x45ff62){return _0x39dbe9>_0x45ff62;},_0x5aa84a['yJcly']=function(_0x28f7b6,_0x17a2f8){return _0x28f7b6===_0x17a2f8;},_0x5aa84a['joupw']='test';const _0x16773d=_0x5aa84a;if(_0x16773d[_0x174a64(0x157)](_0x49c408[_0x174a64(0x15c)],0x1)&&_0x16773d[_0x174a64(0x1c0)](_0x49c408[0x1],_0x16773d[_0x174a64(0x1c7)]))return!![];return![];};async function run(_0x34d230,_0x512960,_0x548e1a){const _0x3f4680=a35_0x76e1ca,_0x165f96={'QKkMS':function(_0x4b9a3a,_0x553458){return _0x4b9a3a(_0x553458);},'vPFfA':_0x3f4680(0x195),'Ynttl':_0x3f4680(0x17a),'UNpcs':function(_0x4b6e90,_0x16fde8){return _0x4b6e90+_0x16fde8;},'wriSW':_0x3f4680(0x148),'KzHDg':function(_0x4ea6c0){return _0x4ea6c0();},'kGroP':function(_0x1d9bfd){return _0x1d9bfd();},'Iufkv':_0x3f4680(0x162),'aKnFQ':_0x3f4680(0x1d1),'aeMxo':function(_0x12d4b0,_0x382288){return _0x12d4b0===_0x382288;},'NHMiY':'false','gpGSj':_0x3f4680(0x17d),'shCbx':function(_0x432c0e,_0x3dcf30){return _0x432c0e>=_0x3dcf30;},'qcLHw':function(_0x367eb4,_0x2460a5){return _0x367eb4===_0x2460a5;},'BXubg':_0x3f4680(0x1be),'OcoIs':function(_0x17f80a,_0x49200d){return _0x17f80a!=_0x49200d;},'XIxUv':function(_0x39f38c,_0x1a2912,_0x4b88e1){return _0x39f38c(_0x1a2912,_0x4b88e1);},'qDgvD':function(_0xd550fb,_0x1e40d){return _0xd550fb===_0x1e40d;},'iMdDF':'true','JhOgj':function(_0x1f6dab,_0x31317c){return _0x1f6dab(_0x31317c);},'WOHyd':_0x3f4680(0x186),'rgXdz':function(_0x38130a,_0x259401){return _0x38130a===_0x259401;},'YKbTq':_0x3f4680(0x184),'ujUMk':_0x3f4680(0x1b8),'FIOGL':function(_0x180e4f,_0x40dca5){return _0x180e4f-_0x40dca5;},'MKsfi':function(_0x4d4f90,_0x257d6b){return _0x4d4f90+_0x257d6b;},'cTGzg':_0x3f4680(0x1dc),'UFeeI':function(_0x16e8de,_0x538d19){return _0x16e8de>_0x538d19;},'mWePe':function(_0x16cd0f,_0x41d888,_0x463a13,_0x470e21){return _0x16cd0f(_0x41d888,_0x463a13,_0x470e21);},'puwVU':_0x3f4680(0x1bd),'QxAOE':_0x3f4680(0x188),'ApVit':_0x3f4680(0x1cb),'ybVJC':_0x3f4680(0x16a),'cvUNF':_0x3f4680(0x19b),'SuPMs':_0x3f4680(0x18c),'AvkCo':'close','xPduJ':'Error\x20in\x20deleting\x20playwright\x20results'};try{const _0x59b928=path['join'](helper[_0x3f4680(0x1b7)](),_0x165f96[_0x3f4680(0x192)],_0x165f96[_0x3f4680(0x1bf)]);fs[_0x3f4680(0x1b6)](_0x59b928)&&fs[_0x3f4680(0x1e7)](_0x59b928);}catch(_0x40d6a5){logger['debug'](_0x165f96[_0x3f4680(0x18f)](_0x165f96[_0x3f4680(0x17c)],_0x40d6a5));}if(!_0x165f96[_0x3f4680(0x15b)](isTestCommand,_0x34d230,_0x512960)){_0x165f96[_0x3f4680(0x16b)](spawnOriginalProcess,_0x512960);return;}await PerformanceTester[_0x3f4680(0x15f)](PerformanceEvents[_0x3f4680(0x153)],async()=>{const _0x274fd7=_0x3f4680;if(!_0x548e1a['config']){logger['error'](_0x165f96[_0x274fd7(0x1da)]);return;}await _0x548e1a['initialize'](_0x34d230),CLIUtils[_0x274fd7(0x1e2)](FRAMEWORKS[_0x274fd7(0x1cf)],FRAMEWORKS[_0x274fd7(0x1cf)]),BrowserstackCLI[_0x274fd7(0x1e1)]()[_0x274fd7(0x187)](_0x548e1a['config']),await BrowserstackCLI[_0x274fd7(0x1e1)]()[_0x274fd7(0x18d)]();const _0x32a126=BrowserstackCLI[_0x274fd7(0x1e1)]()[_0x274fd7(0x173)]();!helper['isFalse'](_0x32a126[_0x274fd7(0x1d2)])&&(process['env']['BROWSERSTACK_AUTOMATION']=!![]);_0x165f96[_0x274fd7(0x197)](_0x32a126[_0x274fd7(0x1d2)],![])&&(process[_0x274fd7(0x14e)][_0x274fd7(0x1a7)]=_0x165f96[_0x274fd7(0x141)],_0x512960=_0x512960['filter'](_0x157426=>_0x157426!==_0x274fd7(0x193)));const _0x33e36a=_0x512960['indexOf'](_0x165f96['gpGSj']);(_0x165f96[_0x274fd7(0x1b4)](_0x33e36a,0x0)||_0x165f96[_0x274fd7(0x1ac)](_0x32a126['testObservability'],![]))&&(process['env'][_0x274fd7(0x176)]=_0x165f96[_0x274fd7(0x141)],_0x512960=_0x512960['filter'](_0x4690f9=>_0x4690f9!==_0x274fd7(0x17d)));!helper[_0x274fd7(0x177)](_0x548e1a[_0x274fd7(0x1a1)])&&_0x548e1a['cliConfig'][_0x274fd7(0x1c8)](_0x165f96['BXubg'])&&(process['env'][_0x274fd7(0x1a7)]=_0x548e1a['cliConfig']['get'](_0x165f96[_0x274fd7(0x1d5)])||!![]);_0x165f96[_0x274fd7(0x14d)](_0x548e1a[_0x274fd7(0x196)][_0x274fd7(0x16c)],null)&&!helper[_0x274fd7(0x171)](process[_0x274fd7(0x14e)][_0x274fd7(0x176)])&&(process[_0x274fd7(0x14e)][_0x274fd7(0x176)]=process[_0x274fd7(0x14e)][_0x274fd7(0x176)]||_0x548e1a[_0x274fd7(0x196)]['testObservability']);const _0x12f657=!helper['isFalse'](process[_0x274fd7(0x14e)]['BROWSERSTACK_TEST_OBSERVABILITY']);_0x548e1a[_0x274fd7(0x196)][_0x274fd7(0x144)]&&(process[_0x274fd7(0x14e)][_0x274fd7(0x19c)]=JSON['stringify'](_0x548e1a[_0x274fd7(0x196)]['accessibilityOptions']));let _0x30b38f=![];_0x548e1a['config'][_0x274fd7(0x1ab)]&&(_0x30b38f=!![],process[_0x274fd7(0x14e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x548e1a[_0x274fd7(0x196)][_0x274fd7(0x1ab)]);const _0x455077=_0x512960['concat'](),_0xc8a293=await _0x165f96[_0x274fd7(0x15b)](getUserPlaywrightConfig,_0x34d230,_0x512960);if(helper[_0x274fd7(0x177)](_0xc8a293)){_0x165f96[_0x274fd7(0x19d)](spawnOriginalProcess,_0x455077);return;}const _0x5e4198=_0xc8a293[_0x274fd7(0x178)]?path['dirname'](_0xc8a293['path']):process[_0x274fd7(0x182)]();process[_0x274fd7(0x14e)][_0x274fd7(0x1d7)]=_0x5e4198,await PerformanceTester[_0x274fd7(0x15f)](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x1946c8=_0x274fd7;!BrowserstackCLI[_0x1946c8(0x1e1)]()['isRunning']()&&await TestHubHandler[_0x1946c8(0x1a4)](FRAMEWORKS[_0x1946c8(0x1cf)],_0x548e1a),_0x12f657&&_0x165f96[_0x1946c8(0x19d)](handleO11yRerun,_0x512960);})();if(!BrowserstackCLI[_0x274fd7(0x1e1)]()[_0x274fd7(0x18a)]()){let _0x32295f=_0x165f96[_0x274fd7(0x170)](process['env'][_0x274fd7(0x172)],_0x165f96['iMdDF']);_0x32295f=_0x32295f||_0x165f96[_0x274fd7(0x16b)](checkAccessibilityPlatformConfig,_0x548e1a[_0x274fd7(0x196)]),process[_0x274fd7(0x14e)][_0x274fd7(0x172)]=_0x32295f,_0x32295f&&_0x165f96['JhOgj'](setAccessibilityCapabilities,_0x548e1a['config']);}const _0x2fffd8=path[_0x274fd7(0x1db)](_0xc8a293[_0x274fd7(0x178)]?path['dirname'](_0xc8a293[_0x274fd7(0x178)]):process[_0x274fd7(0x182)](),_0x165f96[_0x274fd7(0x1d8)]);fs['writeFileSync'](_0x2fffd8,helper[_0x274fd7(0x14f)](_0x548e1a['config'])),process[_0x274fd7(0x14e)][_0x274fd7(0x19a)]=_0x2fffd8,helper[_0x274fd7(0x1e5)]();let _0xa3b176='';_0x165f96['rgXdz'](helper[_0x274fd7(0x14c)](),constants[_0x274fd7(0x16f)][_0x274fd7(0x1c3)])?_0xa3b176=_0x165f96[_0x274fd7(0x142)]:_0xa3b176=_0x165f96[_0x274fd7(0x163)];let _0x28993f='';if(helper[_0x274fd7(0x167)](_0xc8a293[_0x274fd7(0x178)])){_0x28993f=_0x274fd7(0x180);const _0xfd599a=_0xa3b176[_0x274fd7(0x194)]('.');_0xfd599a[_0x165f96['FIOGL'](_0xfd599a[_0x274fd7(0x15c)],0x1)]='ts',_0xa3b176=_0xfd599a[_0x274fd7(0x1db)]('.'),logger[_0x274fd7(0x1cc)](_0x165f96[_0x274fd7(0x18f)](_0x165f96[_0x274fd7(0x143)],_0xa3b176));}else _0x28993f=_0x274fd7(0x1a5);const _0x91b09=path[_0x274fd7(0x1db)](_0xc8a293[_0x274fd7(0x178)]?path['dirname'](_0xc8a293[_0x274fd7(0x178)]):process[_0x274fd7(0x182)](),_0xa3b176);let _0x7fac2b=_0xc8a293['path']?_0xc8a293[_0x274fd7(0x178)]:'';_0x7fac2b=_0x165f96[_0x274fd7(0x1c5)](_0x7fac2b[_0x274fd7(0x15c)],0x0)?path[_0x274fd7(0x151)](_0x7fac2b):'',process[_0x274fd7(0x14e)][_0x274fd7(0x19f)]=_0x7fac2b;const _0x847eaf=helper[_0x274fd7(0x158)](_0x548e1a[_0x274fd7(0x196)]);_0x847eaf&&(_0x28993f=_0x165f96[_0x274fd7(0x1de)](_0x274fd7(0x185)+_0x847eaf+_0x274fd7(0x199),_0x28993f));helper[_0x274fd7(0x147)]({},_0x512960),fs[_0x274fd7(0x1aa)](_0x91b09,_0x28993f),PerformanceTester['end'](PerformanceEvents[_0x274fd7(0x149)]);const _0x5711d3=_0x165f96['mWePe'](spawn,_0x165f96[_0x274fd7(0x1a8)],[_0x165f96[_0x274fd7(0x1e8)],_0x165f96['ApVit'],_0x165f96[_0x274fd7(0x1d9)],_0x91b09,..._0x512960[_0x274fd7(0x190)](0x2)],{'shell':_0x165f96[_0x274fd7(0x1ac)](process['platform'],_0x165f96['cvUNF']),'stdio':_0x165f96[_0x274fd7(0x1e6)],'cwd':process[_0x274fd7(0x182)](),'env':Object[_0x274fd7(0x13f)]({},process[_0x274fd7(0x14e)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x34d230),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x548e1a[_0x274fd7(0x196)]['testContextOptions'][_0x274fd7(0x181)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x548e1a['config'][_0x274fd7(0x15e)][_0x274fd7(0x1b5)],'BROWSERSTACK_LOG_LEVEL':_0x548e1a[_0x274fd7(0x196)][_0x274fd7(0x1e4)]})}),_0x5824db=()=>{const _0x2d6e47=_0x274fd7;try{const _0x9ea5b2=path[_0x2d6e47(0x1db)](helper[_0x2d6e47(0x1b7)](),_0x165f96[_0x2d6e47(0x192)],_0x165f96[_0x2d6e47(0x1bf)]);if(fs[_0x2d6e47(0x1b6)](_0x9ea5b2)){let _0x1abc2e=fs[_0x2d6e47(0x1a3)](_0x9ea5b2);_0x1abc2e=JSON['parse'](_0x1abc2e),_0x548e1a[_0x2d6e47(0x1df)]=_0x1abc2e,fs[_0x2d6e47(0x1e7)](_0x9ea5b2);}}catch(_0x4e3eb9){logger[_0x2d6e47(0x1cc)](_0x165f96[_0x2d6e47(0x1de)](_0x165f96[_0x2d6e47(0x1c6)],_0x4e3eb9));}};_0x5711d3['on'](_0x165f96[_0x274fd7(0x1d3)],async _0x5856e3=>{const _0x2c3178=_0x274fd7,_0x3e0a18={};_0x3e0a18[_0x2c3178(0x1c1)]=_0x165f96[_0x2c3178(0x192)];const _0x115254=_0x3e0a18;try{PerformanceTester[_0x2c3178(0x18b)](PerformanceEvents[_0x2c3178(0x183)]),_0x165f96[_0x2c3178(0x1c2)](_0x5824db);!BrowserstackCLI[_0x2c3178(0x1e1)]()[_0x2c3178(0x18a)]()&&await TestHubHandler['stop']();await BrowserstackCLI[_0x2c3178(0x1e1)]()['stop'](),TestDetails[_0x2c3178(0x1b3)](),_0x165f96[_0x2c3178(0x1ba)](printBuildLink),await utilities['finalExecution'](_0x548e1a),process[_0x2c3178(0x150)]=_0x5856e3,logger['debug'](_0x2c3178(0x1bb)+_0x5856e3),logger[_0x2c3178(0x16d)]('Deleting\x20'+_0x91b09),fs['unlinkSync'](_0x91b09);fs[_0x2c3178(0x1b6)](_0x2fffd8)&&(logger[_0x2c3178(0x1cc)](_0x2c3178(0x1e0)+_0x2fffd8),fs[_0x2c3178(0x1e7)](_0x2fffd8));const _0x5b2746=fs[_0x2c3178(0x179)](path[_0x2c3178(0x1db)](helper[_0x2c3178(0x1b7)](),_0x165f96['vPFfA']))[_0x2c3178(0x1c4)](_0x4ccb18=>_0x4ccb18[_0x2c3178(0x1d4)]('trace_'));_0x5b2746[_0x2c3178(0x174)](_0x5ce59a=>{const _0x337683=_0x2c3178;fs[_0x337683(0x1e7)](path['join'](helper['homedir'](),_0x115254[_0x337683(0x1c1)],_0x5ce59a));});}catch(_0x592b04){logger['debug'](_0x165f96[_0x2c3178(0x1de)](_0x165f96[_0x2c3178(0x1ca)],_0x592b04));}});})();}module[a35_0x76e1ca(0x19e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a36_0x4172(){const _0x4fd8b0=['Running\x20existing\x20global\x20setup','2331288nMhnSf','72egYGFS','3491634honpXr','isHandlePWErrorSet','Not\x20able\x20to\x20import\x20globalSetup','apply','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','AynTO','./mock-process.js','FpETC','exports','includes','4245905hHJwri','resolve','../../helpers/test-observability/constants','nkTox','edSyE','11510650ZdfUaO','config','tArpf','./reporter/pwUtils','env','winstonLogger','LJExZ','requirePWModule','util','95fCIqoD','sOQKu','2413818NPtKKd','Path\x20','\x20is\x20not\x20found','sVtuc','688849dwScBL','toString','WFzoa','1.33.0','6878XClgDl','error','debug','rcjWa','compareVersions','cTPrh','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','4jisMCS','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'];a36_0x4172=function(){return _0x4fd8b0;};return a36_0x4172();}const a36_0x24752c=a36_0x274a;(function(_0x202ebe,_0x1a2091){const _0xb8afc9=a36_0x274a,_0x18adf5=_0x202ebe();while(!![]){try{const _0x1506cd=parseInt(_0xb8afc9(0x157))/0x1*(parseInt(_0xb8afc9(0x161))/0x2)+parseInt(_0xb8afc9(0x13f))/0x3+-parseInt(_0xb8afc9(0x168))/0x4*(parseInt(_0xb8afc9(0x149))/0x5)+-parseInt(_0xb8afc9(0x16b))/0x6+parseInt(_0xb8afc9(0x15d))/0x7*(-parseInt(_0xb8afc9(0x16c))/0x8)+parseInt(_0xb8afc9(0x159))/0x9+parseInt(_0xb8afc9(0x14e))/0xa;if(_0x1506cd===_0x1a2091)break;else _0x18adf5['push'](_0x18adf5['shift']());}catch(_0x4f02c8){_0x18adf5['push'](_0x18adf5['shift']());}}}(a36_0x4172,0xc001a));function a36_0x274a(_0x33bda2,_0x2d56c6){const _0x4172b2=a36_0x4172();return a36_0x274a=function(_0x274a36,_0x46eee2){_0x274a36=_0x274a36-0x13f;let _0x1f4d32=_0x4172b2[_0x274a36];return _0x1f4d32;},a36_0x274a(_0x33bda2,_0x2d56c6);}const util=require(a36_0x24752c(0x156)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x24752c(0x14b)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x24752c(0x151)),{mockIsWorkerRedundant}=require('./patches'),logger=require('../../helpers/logger')[a36_0x24752c(0x153)];module[a36_0x24752c(0x147)]=async function(_0x51b91b){const _0x108fab=a36_0x24752c,_0x38f979={'AynTO':function(_0x51ef7a,_0x28418d){return _0x51ef7a(_0x28418d);},'nkTox':function(_0xbb9bf8){return _0xbb9bf8();},'FpETC':_0x108fab(0x145),'edSyE':function(_0x113fbb){return _0x113fbb();},'sVtuc':function(_0x11841b,_0x407b20){return _0x11841b(_0x407b20);},'rcjWa':_0x108fab(0x16a),'sOQKu':function(_0x59d579,_0x5500b9){return _0x59d579(_0x5500b9);},'LJExZ':function(_0x4206f6,_0x2501bf){return _0x4206f6>=_0x2501bf;},'tArpf':_0x108fab(0x160),'YWUaK':function(_0x479b5c,_0x59899e,_0x1bb888){return _0x479b5c(_0x59899e,_0x1bb888);},'cTPrh':function(_0x59ce65,_0x103bb8){return _0x59ce65!==_0x103bb8;},'TskIv':'function','WFzoa':_0x108fab(0x141)},_0x8b4f8f=child_process['fork'];if(helper[_0x108fab(0x140)]())try{_0x38f979['edSyE'](mockIsWorkerRedundant);}catch(_0x620c28){logger[_0x108fab(0x163)](_0x108fab(0x167)+util['format'](_0x620c28));}child_process['fork']=function(){const _0x42376f=_0x108fab;return _0x38f979[_0x42376f(0x144)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x42376f(0x148)](_0x38f979['nkTox'](getForkProcessPath))?arguments[0x0]=require[_0x42376f(0x14a)](_0x38f979[_0x42376f(0x146)]):logger[_0x42376f(0x162)](_0x42376f(0x15a)+_0x38f979[_0x42376f(0x14c)](getForkProcessPath)+_0x42376f(0x15b)),_0x8b4f8f[_0x42376f(0x142)](null,arguments);};if(process['env'][_0x108fab(0x143)]){_0x38f979[_0x108fab(0x15c)](debug,_0x38f979[_0x108fab(0x164)]);try{const {loadGlobalHook:_0x31f60d}=helper[_0x108fab(0x155)][_0x108fab(0x142)](null,_0x38f979[_0x108fab(0x14d)](getLoadUtilsPath)),_0x4abd0f=_0x38f979[_0x108fab(0x158)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x121b2a=_0x51b91b;if(_0x38f979[_0x108fab(0x154)](helper[_0x108fab(0x165)](_0x4abd0f,_0x38f979[_0x108fab(0x150)]),0x0)){const _0x274af6={};_0x274af6[_0x108fab(0x14f)]=_0x51b91b,_0x121b2a=_0x274af6;}const _0x5cfb00=await _0x38f979['YWUaK'](_0x31f60d,_0x121b2a,process[_0x108fab(0x152)][_0x108fab(0x143)]);if(_0x38f979[_0x108fab(0x166)](typeof _0x5cfb00,_0x38f979['TskIv']))throw new Error(_0x38f979[_0x108fab(0x15f)]);return _0x5cfb00['apply'](null,arguments);}catch(_0x9e8a17){_0x38f979[_0x108fab(0x158)](debug,_0x108fab(0x169)+_0x9e8a17[_0x108fab(0x15e)]());}}};
|