browserstack-node-sdk 1.49.7 → 1.49.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a33_0x5a6dfd=a33_0x3a66;function a33_0x3a66(_0x171974,_0x369032){const _0x3570ee=a33_0x3570();return a33_0x3a66=function(_0x3a6683,_0x201f65){_0x3a6683=_0x3a6683-0x19f;let _0x25f30e=_0x3570ee[_0x3a6683];return _0x25f30e;},a33_0x3a66(_0x171974,_0x369032);}(function(_0x32d87f,_0x1e9f63){const _0x49dc08=a33_0x3a66,_0x3f9517=_0x32d87f();while(!![]){try{const _0x30120a=parseInt(_0x49dc08(0x1b3))/0x1*(parseInt(_0x49dc08(0x214))/0x2)+-parseInt(_0x49dc08(0x1da))/0x3*(-parseInt(_0x49dc08(0x216))/0x4)+-parseInt(_0x49dc08(0x1f5))/0x5*(parseInt(_0x49dc08(0x1f8))/0x6)+-parseInt(_0x49dc08(0x205))/0x7+-parseInt(_0x49dc08(0x217))/0x8+parseInt(_0x49dc08(0x1ec))/0x9*(parseInt(_0x49dc08(0x1b5))/0xa)+parseInt(_0x49dc08(0x1ca))/0xb;if(_0x30120a===_0x1e9f63)break;else _0x3f9517['push'](_0x3f9517['shift']());}catch(_0x3ac735){_0x3f9517['push'](_0x3f9517['shift']());}}}(a33_0x3570,0x8f5be));const logger=require('../../../helpers/logger')[a33_0x5a6dfd(0x1df)],helper=require(a33_0x5a6dfd(0x1b7)),constants=require(a33_0x5a6dfd(0x1b8)),hubAllocator=require(a33_0x5a6dfd(0x21a)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a33_0x5a6dfd(0x1ef)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x5a6dfd(0x20c)),globals=require(a33_0x5a6dfd(0x20b)),{overrideExecute}=require(a33_0x5a6dfd(0x219)),modify=(_0x684001,_0x10e8d9=null,_0x3f8a55=![])=>{const _0x289bb0=a33_0x5a6dfd,_0x133de2={'WVLjm':function(_0x247c99,_0x33f51a){return _0x247c99!==_0x33f51a;},'nwzxV':'/session','cwHVd':function(_0xc67d6a,_0x1f653d){return _0xc67d6a!==_0x1f653d;},'nEzOb':function(_0x2109d1,_0xfcb470){return _0x2109d1+_0xfcb470;},'mYLzv':function(_0x382690,_0x3858c5){return _0x382690+_0x3858c5;},'gXZWx':_0x289bb0(0x1cd),'peTDv':_0x289bb0(0x1fb),'bUViG':_0x289bb0(0x1fa),'uFNkh':'chromeOptions','BNwTE':_0x289bb0(0x1d1),'dywgx':'edgeOptions','xYTsJ':_0x289bb0(0x1ce),'xjwZb':_0x289bb0(0x1ed),'SLeAG':_0x289bb0(0x1fc),'SrMFz':'se:ieOptions','DstLg':_0x289bb0(0x207),'LwccV':function(_0x11f500,_0x3f9c4b){return _0x11f500===_0x3f9c4b;},'REjiM':'object','MeJyd':'Setting\x20Browserstack\x20capabilities','qQxGk':_0x289bb0(0x1a4),'XteFt':_0x289bb0(0x1c5),'Hmgqh':function(_0x278e33,_0x29a672,_0x348a25){return _0x278e33(_0x29a672,_0x348a25);},'sJalV':'5|1|4|2|3|0','Mbzee':function(_0x5840c5,_0x55fc05){return _0x5840c5(_0x55fc05);},'LQXDl':function(_0x572234,_0x557024,_0x53d809){return _0x572234(_0x557024,_0x53d809);},'Wtuhy':_0x289bb0(0x1ea),'vUVms':_0x289bb0(0x202),'rvTYS':function(_0x114aa2){return _0x114aa2();},'TRwAU':function(_0x58dd72,_0x2ddc16){return _0x58dd72(_0x2ddc16);},'jdalN':'isAccessibilityPlatform','yQRAZ':function(_0x19941f,_0x234abb,_0x3db9b5){return _0x19941f(_0x234abb,_0x3db9b5);},'KfIzB':function(_0x4dd601,_0x2eb135){return _0x4dd601!==_0x2eb135;},'xSAhp':_0x289bb0(0x1c0),'dUaHw':_0x289bb0(0x1e4)},_0x2bedca=helper[_0x289bb0(0x1f6)]();let _0x434025;try{_0x434025=helper[_0x289bb0(0x20f)](),_0x434025[_0x289bb0(0x1d4)]&&(_0x434025['Builder']=_0x434025[_0x289bb0(0x1d4)]);}catch(_0x1a7d00){return;}if(helper[_0x289bb0(0x200)]()){const _0x1caa05={};_0x1caa05[_0x289bb0(0x1cc)]=_0x684001['browserStackLogLevel'],helper[_0x289bb0(0x1b1)](_0x1caa05,new Map(),new Map()),logger['info'](_0x133de2[_0x289bb0(0x1c9)]),logger['debug'](_0x133de2[_0x289bb0(0x1a2)]);}class _0x4a0cc1 extends _0x2bedca[_0x289bb0(0x1c3)]{[_0x289bb0(0x1af)](_0x2b0252){const _0x160768=_0x289bb0;if(_0x133de2['WVLjm'](_0x2b0252[_0x160768(0x1ab)],_0x133de2[_0x160768(0x1dd)])&&_0x133de2[_0x160768(0x1c7)](global[_0x160768(0x1de)],''))try{global[_0x160768(0x1de)]=_0x133de2[_0x160768(0x20a)](_0x133de2['mYLzv'](_0x133de2[_0x160768(0x1b9)],global['newHubUrl']),_0x133de2[_0x160768(0x1ac)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x160768(0x1de)]),logger[_0x160768(0x1c2)](_0x160768(0x1c4)+global[_0x160768(0x1de)]),global['newHubUrl']='';}catch(_0x5d41bb){logger[_0x160768(0x1a8)](_0x5d41bb);}return super[_0x160768(0x1af)](_0x2b0252);}}class _0x4958c7 extends _0x434025['Builder']{[_0x289bb0(0x1ff)](){const _0x320559=_0x289bb0;return this[_0x320559(0x1e8)]=helper[_0x320559(0x208)](_0x684001),logger[_0x320559(0x1c2)]('Hub\x20url\x20set\x20to\x20'+this[_0x320559(0x1e8)]),this;}['__setBrowserOptions'](_0x3a687f){const _0x3e10d9=_0x289bb0;let _0x55d86a={};for(const _0x521844 in _0x3a687f){switch(_0x521844){case _0x133de2[_0x3e10d9(0x201)]:case _0x133de2[_0x3e10d9(0x1e5)]:this[_0x3e10d9(0x1ee)]&&(_0x55d86a=this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x1ee)][_0x3e10d9(0x212)](this[_0x3e10d9(0x1ee)][_0x3e10d9(0x1a1)],helper['mergeDeep'](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x21b)]:case _0x133de2[_0x3e10d9(0x211)]:this[_0x3e10d9(0x19f)]&&(_0x55d86a=this[_0x3e10d9(0x19f)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x19f)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x19f)][_0x3e10d9(0x212)](this[_0x3e10d9(0x19f)][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1f1)]:case _0x133de2['xjwZb']:this[_0x3e10d9(0x1c8)]&&(_0x55d86a=this[_0x3e10d9(0x1c8)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1c8)][_0x3e10d9(0x1a1)])||{},this['firefoxOptions_']['set'](this['firefoxOptions_'][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1a9)]:this['safariOptions_']&&(_0x55d86a=this['safariOptions_'][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x1d9)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x1d9)]['set'](this[_0x3e10d9(0x1d9)][_0x3e10d9(0x1a1)],helper['mergeDeep'](_0x55d86a,_0x3a687f[_0x521844])));break;case _0x133de2[_0x3e10d9(0x1c6)]:case _0x133de2[_0x3e10d9(0x1f3)]:this['ieOptions_']&&(_0x55d86a=this[_0x3e10d9(0x215)][_0x3e10d9(0x1d5)](this[_0x3e10d9(0x215)][_0x3e10d9(0x1a1)])||{},this[_0x3e10d9(0x215)][_0x3e10d9(0x212)](this[_0x3e10d9(0x215)][_0x3e10d9(0x1a1)],helper[_0x3e10d9(0x1db)](_0x55d86a,_0x3a687f[_0x521844])));break;}}}[_0x289bb0(0x1e7)](){const _0x1601f8=_0x289bb0,_0x2c03a5={'aJvMb':function(_0x4c0099,_0x485562){const _0x10cc51=a33_0x3a66;return _0x133de2[_0x10cc51(0x1f9)](_0x4c0099,_0x485562);},'hNiFe':_0x133de2[_0x1601f8(0x1b4)]};return logger[_0x1601f8(0x1c2)](_0x133de2[_0x1601f8(0x206)]),this[_0x1601f8(0x1f7)](_0x684001[_0x1601f8(0x210)]),Object[_0x1601f8(0x218)](_0x684001[_0x1601f8(0x210)])[_0x1601f8(0x1cf)](_0x1de889=>{const _0x1f3b1b=_0x1601f8,_0x350347=this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x1d5)](_0x1de889);_0x2c03a5['aJvMb'](typeof _0x350347,_0x2c03a5['hNiFe'])?this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x212)](_0x1de889,helper[_0x1f3b1b(0x1db)](_0x350347,_0x684001[_0x1f3b1b(0x210)][_0x1de889])):this[_0x1f3b1b(0x1ae)][_0x1f3b1b(0x212)](_0x1de889,_0x684001[_0x1f3b1b(0x210)][_0x1de889]);}),this;}['build'](){const _0x51513f=_0x289bb0,_0x526fc1={'OiJcX':function(_0x2d4da2,_0x1c8b77,_0x50a1d7){const _0x431aeb=a33_0x3a66;return _0x133de2[_0x431aeb(0x1aa)](_0x2d4da2,_0x1c8b77,_0x50a1d7);},'cobjj':_0x133de2[_0x51513f(0x1e6)],'uhqPT':function(_0x3e114b,_0x3edaf4){const _0x1f5c63=_0x51513f;return _0x133de2[_0x1f5c63(0x1d8)](_0x3e114b,_0x3edaf4);},'rUHYh':function(_0x100d8c,_0x32c787,_0x217a38){return _0x133de2['Hmgqh'](_0x100d8c,_0x32c787,_0x217a38);},'BdcHA':function(_0x1e395c,_0x11b55d,_0x3d4100){const _0xd2afee=_0x51513f;return _0x133de2[_0xd2afee(0x1bc)](_0x1e395c,_0x11b55d,_0x3d4100);}};if(helper[_0x51513f(0x200)]()){const _0x4790b8=_0x133de2[_0x51513f(0x203)]['split']('|');let _0x1b82b5=0x0;while(!![]){switch(_0x4790b8[_0x1b82b5++]){case'0':logger['debug'](_0x133de2[_0x51513f(0x1e1)]);continue;case'1':_0x133de2[_0x51513f(0x1a0)](isAccessibilityAutomationSession)&&_0x133de2[_0x51513f(0x1bd)](setAccessibilityCapabilities,_0x684001);continue;case'2':if(helper[_0x51513f(0x1e2)](_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]))this[_0x51513f(0x1d7)]=helper[_0x51513f(0x1bf)](_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]);else _0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)]&&(this['proxy_']=_0x684001[_0x51513f(0x1b6)][_0x51513f(0x1c1)],logger[_0x51513f(0x1c2)]('Proxy\x20set\x20to\x20'+this[_0x51513f(0x1dc)]));continue;case'3':this[_0x51513f(0x1ff)]();continue;case'4':globals[_0x51513f(0x20d)](_0x133de2[_0x51513f(0x1d2)])&&(!_0x133de2[_0x51513f(0x21d)](setExtension,this,_0x684001)&&globals[_0x51513f(0x1e0)](_0x133de2[_0x51513f(0x1d2)],![]));continue;case'5':this['setCapabilities']();continue;}break;}}const _0x5f00df=super[_0x51513f(0x1f2)]();return _0x5f00df[_0x51513f(0x1a7)][_0x51513f(0x1e9)](_0x2e53eb=>{const _0x3a08fe=_0x51513f;try{const _0x1c0f25=_0x2e53eb[_0x3a08fe(0x1d6)][_0x3a08fe(0x1d5)](_0x133de2[_0x3a08fe(0x1e3)]);_0x1c0f25?(logger[_0x3a08fe(0x1c2)](_0x3a08fe(0x1a6)+_0x1c0f25),hubAllocator[_0x3a08fe(0x213)](_0x1c0f25),helper[_0x3a08fe(0x1d0)](_0x1c0f25)):logger[_0x3a08fe(0x1c2)](_0x133de2[_0x3a08fe(0x1f0)]);}catch(_0x27c155){logger[_0x3a08fe(0x1c2)](_0x3a08fe(0x1ad)+_0x27c155);}}),_0x5f00df[_0x51513f(0x1fd)]=0x0,_0x5f00df[_0x51513f(0x1e9)]&&_0x5f00df['then'](_0x3e866a=>{const _0x78db2f=_0x51513f,_0x4701ce=_0x526fc1['cobjj']['split']('|');let _0x1789b6=0x0;while(!![]){switch(_0x4701ce[_0x1789b6++]){case'0':_0x3e866a[_0x78db2f(0x1b0)]=async()=>{const _0x590dae=_0x78db2f;return await _0x526fc1[_0x590dae(0x1be)](getAccessibilityResults,_0x3e866a,global);};continue;case'1':_0x526fc1[_0x78db2f(0x1ba)](overrideTakeScreenshot,_0x3e866a);continue;case'2':_0x526fc1[_0x78db2f(0x1a5)](overrideExecute,_0x3e866a,_0x684001);continue;case'3':_0x3e866a[_0x78db2f(0x1cb)]=async()=>{const _0x571644=_0x78db2f;return await _0x526fc1[_0x571644(0x1be)](getAccessibilityResultsSummary,_0x3e866a,global);};continue;case'4':helper[_0x78db2f(0x1eb)](_0x3e866a,_0x684001);continue;case'5':_0x526fc1[_0x78db2f(0x1a3)](overrideQuit,_0x3e866a,_0x5f00df);continue;}break;}}),_0x5f00df[_0x51513f(0x1cb)]=async()=>{const _0x3ea34e=_0x51513f;return await _0x133de2[_0x3ea34e(0x1aa)](getAccessibilityResultsSummary,_0x5f00df,global);},_0x5f00df[_0x51513f(0x1b0)]=async()=>{return await _0x133de2['Hmgqh'](getAccessibilityResults,_0x5f00df,global);},_0x133de2[_0x51513f(0x1d8)](overrideTakeScreenshot,_0x5f00df),_0x133de2['TRwAU'](overrideQuit,_0x5f00df),helper[_0x51513f(0x1eb)](_0x5f00df,_0x684001),_0x133de2['Hmgqh'](overrideExecute,_0x5f00df,_0x684001),helper['isUndefined'](global['__driversArray'])&&(global[_0x51513f(0x1f4)]=[]),helper['isUndefined'](global['__drivers'])&&(global['__drivers']=[]),global[_0x51513f(0x1f4)][_0x51513f(0x1bb)](_0x5f00df),global[_0x51513f(0x1d3)]=_0x5f00df,_0x133de2[_0x51513f(0x20e)](global[_0x51513f(0x1fe)],undefined)&&global[_0x51513f(0x1fe)][_0x51513f(0x1bb)](_0x5f00df),_0x10e8d9&&helper[_0x51513f(0x21c)](_0x10e8d9[_0x51513f(0x209)]['__driversArray'])&&(_0x10e8d9['global'][_0x51513f(0x1f4)]=[]),_0x10e8d9&&_0x133de2[_0x51513f(0x1c7)](_0x10e8d9['global']['__drivers'],undefined)&&(_0x10e8d9[_0x51513f(0x209)][_0x51513f(0x1fe)][_0x51513f(0x1bb)](_0x5f00df),_0x10e8d9[_0x51513f(0x209)][_0x51513f(0x1f4)]['push'](_0x5f00df)),_0x5f00df;}}return _0x434025[_0x289bb0(0x1d4)]=_0x434025[_0x289bb0(0x1b2)],_0x434025[_0x289bb0(0x1b2)]=_0x4958c7,_0x2bedca[_0x289bb0(0x1c3)]=_0x4a0cc1,_0x434025;};module[a33_0x5a6dfd(0x204)]['browserstackAgentObservability']=modify;function a33_0x3570(){const _0x1451cc=['debug','HttpClient','New\x20hub\x20url\x20set\x20to\x20','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','SrMFz','cwHVd','firefoxOptions_','xSAhp','3358685wPMHeY','getAccessibilityResultsSummary','logLevel','https://','moz:firefoxOptions','forEach','storeOptimalHubUrl','ms:edgeOptions','jdalN','__driver','originalBuilder','get','caps_','agent_','Mbzee','safariOptions_','18QZrfRo','mergeDeep','proxy_','nwzxV','newHubUrl','winstonLogger','setGlobal','vUVms','isPacProxy','qQxGk','Modifying\x20webdriver\x20builder','uFNkh','sJalV','setCapabilities','url_','then','1|3|5|2|4|0','overrideGet','732789gyYDjh','firefoxOptions','chromeOptions_','../../../helpers/patchHelpers','XteFt','xYTsJ','build','DstLg','__driversArray','1922205hNKtXr','requireHttpClient','__setBrowserOptions','6upDDmi','LwccV','goog:chromeOptions','/wd/hub','safari.options','quitCount_','__drivers','setServer','isBrowserstackInfra','bUViG','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','Wtuhy','exports','5207594aFjWaP','MeJyd','ieOptions','getHubUrl','global','nEzOb','../../../helpers/globals','../../../helpers/accessibility-automation/helper','getGlobal','KfIzB','requireSeleniumWebdriver','capability','dywgx','set','updateHubUrl','104840WRgMid','ieOptions_','540896VgSOvT','2141824zMltgy','keys','./helpers/patchHelper','../../../hubAllocationMethods','BNwTE','isUndefined','yQRAZ','edgeOptions_','rvTYS','CAPABILITY_KEY','dUaHw','BdcHA','optimalHubUrl','rUHYh','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','session_','error','SLeAG','Hmgqh','path','peTDv','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','capabilities_','send','getAccessibilityResults','setLogLevel','Builder','1aTydkG','REjiM','100egDXOr','proxySettings','../../../helpers/helper','../../../bin/utils/constants','gXZWx','uhqPT','push','LQXDl','TRwAU','OiJcX','getHttpAgent','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','proxyUrl'];a33_0x3570=function(){return _0x1451cc;};return a33_0x3570();}
|
|
1
|
+
const a33_0xe2f8d7=a33_0x3172;(function(_0x2bc075,_0x585d8b){const _0x11046e=a33_0x3172,_0x36f843=_0x2bc075();while(!![]){try{const _0x2ee185=-parseInt(_0x11046e(0xd1))/0x1+parseInt(_0x11046e(0xb0))/0x2+-parseInt(_0x11046e(0xe3))/0x3+parseInt(_0x11046e(0xf7))/0x4*(-parseInt(_0x11046e(0xb7))/0x5)+parseInt(_0x11046e(0x104))/0x6+-parseInt(_0x11046e(0xfd))/0x7+parseInt(_0x11046e(0xc1))/0x8;if(_0x2ee185===_0x585d8b)break;else _0x36f843['push'](_0x36f843['shift']());}catch(_0x5bed3a){_0x36f843['push'](_0x36f843['shift']());}}}(a33_0x1faf,0x38f92));function a33_0x3172(_0x271401,_0x1e76e7){const _0x1faf3b=a33_0x1faf();return a33_0x3172=function(_0x317236,_0x10a239){_0x317236=_0x317236-0x96;let _0xd86ae2=_0x1faf3b[_0x317236];return _0xd86ae2;},a33_0x3172(_0x271401,_0x1e76e7);}function a33_0x1faf(){const _0x587f82=['cpVnW','__drivers','getAccessibilityResults','requireSeleniumWebdriver','edgeOptions_','tUhYS','XklwA','requireHttpClient','Hub\x20url\x20set\x20to\x20','object','set','__driversArray','proxySettings','browserstackAgentObservability','../../../helpers/globals','KXmHW','se:ieOptions','oXqOz','capabilities_','winstonLogger','proxyUrl','keys','NNLkz','sqPiO','optimalHubUrl','push','setCapabilities','isAccessibilityPlatform','browserStackLogLevel','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','lvILQ','704972HfwYoJ','getGlobal','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','then','getRequestOptions','AZyPK','1013145IpvsFk','../../../helpers/logger','exports','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','IrTFS','build','CAPABILITY_KEY','WMjGO','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','3|2|0|4|1|5','5855448FLFMdI','proxy_','yIQRL','VcsuS','FxbKR','../../../hubAllocationMethods','moz:firefoxOptions','forEach','setLogLevel','NfTnE','DTLgk','send','agent_','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Builder','397021CPoWGw','../../../helpers/accessibility-automation/helper','logLevel','ieOptions_','GQIjY','setGlobal','SHuPL','wpOJG','ExXQN','../../../helpers/helper','https://','__driver','KcaGR','edgeOptions','xrijF','capability','Qmfst','lkoJa','539310BinjqD','originalBuilder','RPtGR','Xygrh','chromeOptions_','url_','caps_','mergeDeep','firefoxOptions_','debug','QIpnk','iZsmF','error','options_','safariOptions_','mRWHC','uZDxk','isBrowserstackInfra','session_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','8YDAAEv','Setting\x20Browserstack\x20capabilities','ms:edgeOptions','/session','global','../accessibility-automation/helper','1683892CsnyFA','./helpers/patchHelper','get','jwaYa','isUndefined','setServer','HttpClient','2229300LlOXzx','/wd/hub','../../../bin/utils/constants','getAccessibilityResultsSummary','pPVng','FfQuf','overrideGet'];a33_0x1faf=function(){return _0x587f82;};return a33_0x1faf();}const logger=require(a33_0xe2f8d7(0xb8))[a33_0xe2f8d7(0xa4)],helper=require(a33_0xe2f8d7(0xda)),constants=require(a33_0xe2f8d7(0x106)),hubAllocator=require(a33_0xe2f8d7(0xc6)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0xe2f8d7(0xfc)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0xe2f8d7(0xd2)),globals=require(a33_0xe2f8d7(0x9f)),{overrideExecute}=require(a33_0xe2f8d7(0xfe)),modify=(_0x335740,_0x1fce77=null,_0x407ab5=![])=>{const _0x1943cf=a33_0xe2f8d7,_0x86acdd={'wpOJG':function(_0xcfa531,_0x5951e0){return _0xcfa531!==_0x5951e0;},'KcaGR':_0x1943cf(0xfa),'NNLkz':function(_0x58652d,_0x5e4193){return _0x58652d+_0x5e4193;},'xrijF':_0x1943cf(0xdb),'NfTnE':_0x1943cf(0x105),'GQIjY':'goog:chromeOptions','Xygrh':'chromeOptions','RPtGR':_0x1943cf(0xf9),'HVhdD':_0x1943cf(0xde),'xwsoK':_0x1943cf(0xc7),'iZsmF':'firefoxOptions','jwaYa':'safari.options','FxbKR':_0x1943cf(0xa1),'lkoJa':'ieOptions','aqdZr':function(_0x8720fa,_0xee8018){return _0x8720fa===_0xee8018;},'uZDxk':_0x1943cf(0x9a),'AwEbd':_0x1943cf(0xf8),'mRWHC':function(_0x593b48,_0x561c57,_0x280c07){return _0x593b48(_0x561c57,_0x280c07);},'cpVnW':_0x1943cf(0xa9),'zcESH':_0x1943cf(0xae),'sqPiO':function(_0x4c715e,_0x53e56f,_0x1ae336){return _0x4c715e(_0x53e56f,_0x1ae336);},'VcsuS':function(_0x518c00,_0x52cc5a){return _0x518c00(_0x52cc5a);},'SHuPL':_0x1943cf(0xc0),'lvILQ':_0x1943cf(0xac),'AZyPK':function(_0x4863ff,_0x592b3f,_0x4d3043){return _0x4863ff(_0x592b3f,_0x4d3043);},'tUhYS':function(_0xf3027f){return _0xf3027f();},'oXqOz':function(_0x3df1c0,_0x1f7e83){return _0x3df1c0(_0x1f7e83);},'ExXQN':_0x1943cf(0xce),'DTLgk':function(_0x2645a3,_0x4351c9){return _0x2645a3(_0x4351c9);},'hEDpI':function(_0x4f507a,_0x2d9972){return _0x4f507a(_0x2d9972);},'pPVng':function(_0x119547,_0x21f748,_0x83d57a){return _0x119547(_0x21f748,_0x83d57a);},'KXmHW':_0x1943cf(0xf6),'Qmfst':'Modifying\x20webdriver\x20builder'},_0x43e852=helper[_0x1943cf(0x98)]();let _0x2a6d9f;try{_0x2a6d9f=helper[_0x1943cf(0x10e)](),_0x2a6d9f[_0x1943cf(0xe4)]&&(_0x2a6d9f[_0x1943cf(0xd0)]=_0x2a6d9f[_0x1943cf(0xe4)]);}catch(_0x3c9cf1){return;}if(helper[_0x1943cf(0xf4)]()){const _0x5f3819={};_0x5f3819[_0x1943cf(0xd3)]=_0x335740[_0x1943cf(0xad)],helper[_0x1943cf(0xc9)](_0x5f3819,new Map(),new Map()),logger['info'](_0x86acdd[_0x1943cf(0xa0)]),logger[_0x1943cf(0xec)](_0x86acdd[_0x1943cf(0xe1)]);}class _0x907718 extends _0x43e852[_0x1943cf(0x103)]{[_0x1943cf(0xcc)](_0x1b1165){const _0x57be7a=_0x1943cf;if(_0x86acdd[_0x57be7a(0xd8)](_0x1b1165['path'],_0x86acdd[_0x57be7a(0xdd)])&&_0x86acdd[_0x57be7a(0xd8)](global[_0x57be7a(0xcf)],''))try{global['newHubUrl']=_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xa7)](_0x86acdd[_0x57be7a(0xdf)],global[_0x57be7a(0xcf)]),_0x86acdd[_0x57be7a(0xca)]),this[_0x57be7a(0xf0)]=hubAllocator[_0x57be7a(0xb5)](global['newHubUrl']),logger[_0x57be7a(0xec)](_0x57be7a(0xb3)+global[_0x57be7a(0xcf)]),global['newHubUrl']='';}catch(_0x36dd28){logger[_0x57be7a(0xef)](_0x36dd28);}return super[_0x57be7a(0xcc)](_0x1b1165);}}class _0x234cc8 extends _0x2a6d9f[_0x1943cf(0xd0)]{[_0x1943cf(0x102)](){const _0x2a5888=_0x1943cf;return this[_0x2a5888(0xe8)]=helper['getHubUrl'](_0x335740),logger[_0x2a5888(0xec)](_0x2a5888(0x99)+this[_0x2a5888(0xe8)]),this;}['__setBrowserOptions'](_0x3e788d){const _0x1fcd00=_0x1943cf;let _0x886948={};for(const _0x43c339 in _0x3e788d){switch(_0x43c339){case _0x86acdd[_0x1fcd00(0xd5)]:case _0x86acdd[_0x1fcd00(0xe6)]:this[_0x1fcd00(0xe7)]&&(_0x886948=this[_0x1fcd00(0xe7)][_0x1fcd00(0xff)](this['chromeOptions_'][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xe7)]['set'](this[_0x1fcd00(0xe7)][_0x1fcd00(0xbd)],helper['mergeDeep'](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xe5)]:case _0x86acdd['HVhdD']:this[_0x1fcd00(0x10f)]&&(_0x886948=this[_0x1fcd00(0x10f)][_0x1fcd00(0xff)](this[_0x1fcd00(0x10f)]['CAPABILITY_KEY'])||{},this[_0x1fcd00(0x10f)][_0x1fcd00(0x9b)](this[_0x1fcd00(0x10f)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd['xwsoK']:case _0x86acdd[_0x1fcd00(0xee)]:this[_0x1fcd00(0xeb)]&&(_0x886948=this['firefoxOptions_'][_0x1fcd00(0xff)](this[_0x1fcd00(0xeb)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xeb)][_0x1fcd00(0x9b)](this['firefoxOptions_'][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0x100)]:this[_0x1fcd00(0xf1)]&&(_0x886948=this[_0x1fcd00(0xf1)][_0x1fcd00(0xff)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)])||{},this[_0x1fcd00(0xf1)][_0x1fcd00(0x9b)](this[_0x1fcd00(0xf1)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;case _0x86acdd[_0x1fcd00(0xc5)]:case _0x86acdd[_0x1fcd00(0xe2)]:this[_0x1fcd00(0xd4)]&&(_0x886948=this[_0x1fcd00(0xd4)][_0x1fcd00(0xff)](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)])||{},this['ieOptions_']['set'](this[_0x1fcd00(0xd4)][_0x1fcd00(0xbd)],helper[_0x1fcd00(0xea)](_0x886948,_0x3e788d[_0x43c339])));break;}}}['setCapabilities'](){const _0x411ea1=_0x1943cf;return logger[_0x411ea1(0xec)](_0x86acdd['AwEbd']),this['__setBrowserOptions'](_0x335740[_0x411ea1(0xe0)]),Object[_0x411ea1(0xa6)](_0x335740[_0x411ea1(0xe0)])[_0x411ea1(0xc8)](_0x5d2c27=>{const _0x3fa5d9=_0x411ea1,_0x599c2a=this[_0x3fa5d9(0xa3)][_0x3fa5d9(0xff)](_0x5d2c27);_0x86acdd['aqdZr'](typeof _0x599c2a,_0x86acdd[_0x3fa5d9(0xf3)])?this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,helper[_0x3fa5d9(0xea)](_0x599c2a,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27])):this[_0x3fa5d9(0xa3)][_0x3fa5d9(0x9b)](_0x5d2c27,_0x335740[_0x3fa5d9(0xe0)][_0x5d2c27]);}),this;}[_0x1943cf(0xbc)](){const _0x20cbd3=_0x1943cf,_0x35f6fd={'QIpnk':_0x86acdd[_0x20cbd3(0x10b)],'yIQRL':_0x86acdd['zcESH'],'WMjGO':function(_0x2d1cf7,_0x8525ce,_0x5b23e9){const _0x3da242=_0x20cbd3;return _0x86acdd[_0x3da242(0xa8)](_0x2d1cf7,_0x8525ce,_0x5b23e9);},'IrTFS':function(_0x48e380,_0x4fe6cc){const _0x334ce5=_0x20cbd3;return _0x86acdd[_0x334ce5(0xc4)](_0x48e380,_0x4fe6cc);},'XklwA':function(_0x3798ac,_0x5d102d,_0x47aff4){const _0x3c6b7e=_0x20cbd3;return _0x86acdd[_0x3c6b7e(0xa8)](_0x3798ac,_0x5d102d,_0x47aff4);}};if(helper[_0x20cbd3(0xf4)]()){const _0x53fa42=_0x86acdd[_0x20cbd3(0xd7)]['split']('|');let _0x45ef55=0x0;while(!![]){switch(_0x53fa42[_0x45ef55++]){case'0':this[_0x20cbd3(0xab)]();continue;case'1':globals[_0x20cbd3(0xb1)](_0x86acdd['lvILQ'])&&(!_0x86acdd[_0x20cbd3(0xb6)](setExtension,this,_0x335740)&&globals[_0x20cbd3(0xd6)](_0x86acdd[_0x20cbd3(0xaf)],![]));continue;case'2':this['setServer']();continue;case'3':_0x86acdd[_0x20cbd3(0x96)](isAccessibilityAutomationSession)&&_0x86acdd[_0x20cbd3(0xa2)](setAccessibilityCapabilities,_0x335740);continue;case'4':if(helper['isPacProxy'](_0x335740[_0x20cbd3(0x9d)]['proxyUrl']))this[_0x20cbd3(0xcd)]=helper['getHttpAgent'](_0x335740[_0x20cbd3(0x9d)][_0x20cbd3(0xa5)]);else _0x335740[_0x20cbd3(0x9d)]['proxyUrl']&&(this['proxy_']=_0x335740[_0x20cbd3(0x9d)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x20cbd3(0xc2)]));continue;case'5':logger[_0x20cbd3(0xec)](_0x86acdd[_0x20cbd3(0xd9)]);continue;}break;}}const _0x41c434=super[_0x20cbd3(0xbc)]();return _0x41c434[_0x20cbd3(0xf5)][_0x20cbd3(0xb4)](_0x3ed4c9=>{const _0x1c168e=_0x20cbd3;try{const _0x138451=_0x3ed4c9[_0x1c168e(0xe9)][_0x1c168e(0xff)](_0x35f6fd[_0x1c168e(0xed)]);_0x138451?(logger[_0x1c168e(0xec)](_0x1c168e(0xba)+_0x138451),hubAllocator['updateHubUrl'](_0x138451),helper[_0x1c168e(0xb2)](_0x138451)):logger['debug'](_0x35f6fd[_0x1c168e(0xc3)]);}catch(_0xfc8887){logger[_0x1c168e(0xec)](_0x1c168e(0xbf)+_0xfc8887);}}),_0x41c434['quitCount_']=0x0,_0x41c434[_0x20cbd3(0xb4)]&&_0x41c434['then'](_0x1f61b3=>{const _0x1fce38=_0x20cbd3,_0x2d2186={'yiDjv':function(_0x497683,_0x2cd1fd,_0x5ba3e9){return _0x35f6fd['WMjGO'](_0x497683,_0x2cd1fd,_0x5ba3e9);},'FfQuf':function(_0xde4516,_0x2b67b0,_0x369b18){const _0x4c978e=a33_0x3172;return _0x35f6fd[_0x4c978e(0xbe)](_0xde4516,_0x2b67b0,_0x369b18);}};_0x35f6fd['WMjGO'](overrideQuit,_0x1f61b3,_0x41c434),_0x35f6fd[_0x1fce38(0xbb)](overrideTakeScreenshot,_0x1f61b3),helper[_0x1fce38(0x10a)](_0x1f61b3,_0x335740),_0x35f6fd[_0x1fce38(0x97)](overrideExecute,_0x1f61b3,_0x335740),_0x1f61b3[_0x1fce38(0x107)]=async()=>{return await _0x2d2186['yiDjv'](getAccessibilityResultsSummary,_0x1f61b3,global);},_0x1f61b3['getAccessibilityResults']=async()=>{const _0x148694=_0x1fce38;return await _0x2d2186[_0x148694(0x109)](getAccessibilityResults,_0x1f61b3,global);};}),_0x41c434[_0x20cbd3(0x107)]=async()=>{const _0x23ac40=_0x20cbd3;return await _0x86acdd[_0x23ac40(0xf2)](getAccessibilityResultsSummary,_0x41c434,global);},_0x41c434[_0x20cbd3(0x10d)]=async()=>{const _0x28d7f1=_0x20cbd3;return await _0x35f6fd[_0x28d7f1(0xbe)](getAccessibilityResults,_0x41c434,global);},_0x86acdd[_0x20cbd3(0xcb)](overrideTakeScreenshot,_0x41c434),_0x86acdd['hEDpI'](overrideQuit,_0x41c434),helper[_0x20cbd3(0x10a)](_0x41c434,_0x335740),_0x86acdd[_0x20cbd3(0x108)](overrideExecute,_0x41c434,_0x335740),helper['isUndefined'](global[_0x20cbd3(0x9c)])&&(global[_0x20cbd3(0x9c)]=[]),helper[_0x20cbd3(0x101)](global['__drivers'])&&(global[_0x20cbd3(0x10c)]=[]),global[_0x20cbd3(0x9c)][_0x20cbd3(0xaa)](_0x41c434),global[_0x20cbd3(0xdc)]=_0x41c434,_0x86acdd['wpOJG'](global[_0x20cbd3(0x10c)],undefined)&&global[_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77&&helper[_0x20cbd3(0x101)](_0x1fce77['global'][_0x20cbd3(0x9c)])&&(_0x1fce77['global'][_0x20cbd3(0x9c)]=[]),_0x1fce77&&_0x86acdd['wpOJG'](_0x1fce77[_0x20cbd3(0xfb)]['__drivers'],undefined)&&(_0x1fce77[_0x20cbd3(0xfb)][_0x20cbd3(0x10c)][_0x20cbd3(0xaa)](_0x41c434),_0x1fce77['global']['__driversArray']['push'](_0x41c434)),_0x41c434;}}return _0x2a6d9f[_0x1943cf(0xe4)]=_0x2a6d9f[_0x1943cf(0xd0)],_0x2a6d9f['Builder']=_0x234cc8,_0x43e852[_0x1943cf(0x103)]=_0x907718,_0x2a6d9f;};module[a33_0xe2f8d7(0xb9)][a33_0xe2f8d7(0x9e)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a34_0x5773(_0x43a305,_0x4969dc){const _0xaae76=a34_0xaae7();return a34_0x5773=function(_0x577333,_0x47265b){_0x577333=_0x577333-0xf6;let _0xffa1d3=_0xaae76[_0x577333];return _0xffa1d3;},a34_0x5773(_0x43a305,_0x4969dc);}const a34_0x3daf0a=a34_0x5773;(function(_0x1ea567,_0x464afe){const _0x2bc5f3=a34_0x5773,_0x27e865=_0x1ea567();while(!![]){try{const _0x4b17e8=parseInt(_0x2bc5f3(0x103))/0x1+-parseInt(_0x2bc5f3(0xf6))/0x2*(parseInt(_0x2bc5f3(0xf8))/0x3)+-parseInt(_0x2bc5f3(0xfd))/0x4*(parseInt(_0x2bc5f3(0x104))/0x5)+parseInt(_0x2bc5f3(0xfc))/0x6*(parseInt(_0x2bc5f3(0x100))/0x7)+parseInt(_0x2bc5f3(0x105))/0x8*(parseInt(_0x2bc5f3(0x101))/0x9)+parseInt(_0x2bc5f3(0xf9))/0xa+parseInt(_0x2bc5f3(0xfe))/0xb;if(_0x4b17e8===_0x464afe)break;else _0x27e865['push'](_0x27e865['shift']());}catch(_0x1e646a){_0x27e865['push'](_0x27e865['shift']());}}}(a34_0xaae7,0xc115e));const requestSpy=require(a34_0x3daf0a(0xfb)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a34_0x3daf0a(0x102));exports[a34_0x3daf0a(0xfa)]={'beforeAll'(){const _0x507426={'RPXVk':function(_0x199df3){return _0x199df3();}},_0x1b7640='browserstack internal helper hook';_0x507426['RPXVk'](addRequestSpy);},'afterAll'(){const _0x2d8f9d=a34_0x3daf0a,_0x10aff7='browserstack internal helper hook';this[_0x2d8f9d(0xff)](0xea60),requestSpy[_0x2d8f9d(0xf7)]();}};function a34_0xaae7(){const _0x4b5b52=['311145Vefkpf','366616RbSCFU','130gVZyiB','restore','22152kJgyjb','5603530oYxGXe','mochaHooks','../../../helpers/request-spy','180498BSFRbu','100qDjUHw','13935317iijvYH','timeout','14hnrPhz','144eItMlZ','../../../helpers/test-observability/utils','205965OhQpJJ'];a34_0xaae7=function(){return _0x4b5b52;};return a34_0xaae7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a35_0xa927(){const _0x3bd9f9=['map_','passed','../../../helpers/testhub/utils','173173eXGduC','hookAnalyticsId','omCxt','RFPbZ','BJnwl','sXYcA','markedStatus','../../../helpers/helper','lEwLA','../../utils/logPatcher','QffJm','get','12636531YKePSh','uuid','getHookSkippedTests','type','../../../helpers/test-observability/utils','getPlatform','toJSON','GlHTr','CKxEI','PEPIc','MkAxM','nGgeL','57565IkLfrV','failed','HFpua','40sapiTq','YjHDi','platformVersion','parent','RjvMX','sendPlatformDetails','hook','qsmHy','_afterAll','18158679UqDwEB','browserstack','KMJGL','QfXvi','xOyRp','eRemj','getBrowserName','forEach','6334872zxJoFM','LXLFb','getTestEnv','127524HOTOvW','getSession','sAZxk','uSzcR','mapTestHooks','getHooksForTest','getCapabilities','emit','372SMCDmU','ixyzJ','fromEntries','getHookDetails','ZcMMe','hJnIK','mlCgQ','hook:','rnckX','fDHqz','substring','suites','generic','_beforeEach','indexOf','__cloud_provider___','toISOString','js-','../../../helpers/test-observability/constants','489998XyJWpV','state','split','qnVfF','filter','XxmFU','ZYvqU','10wPsMku','bs:addPlatformDetails:','_afterEach','_beforeAll','concat','lodash','48GTIevH','pid'];a35_0xa927=function(){return _0x3bd9f9;};return a35_0xa927();}const a35_0x531f1f=a35_0x477c;(function(_0x38db4d,_0x24b198){const _0x423b53=a35_0x477c,_0x5b6899=_0x38db4d();while(!![]){try{const _0x4bf6a5=-parseInt(_0x423b53(0x226))/0x1+-parseInt(_0x423b53(0x1f7))/0x2*(parseInt(_0x423b53(0x20b))/0x3)+parseInt(_0x423b53(0x233))/0x4*(-parseInt(_0x423b53(0x1f4))/0x5)+parseInt(_0x423b53(0x213))/0x6*(-parseInt(_0x423b53(0x238))/0x7)+parseInt(_0x423b53(0x208))/0x8+-parseInt(_0x423b53(0x244))/0x9*(-parseInt(_0x423b53(0x22d))/0xa)+parseInt(_0x423b53(0x200))/0xb;if(_0x4bf6a5===_0x24b198)break;else _0x5b6899['push'](_0x5b6899['shift']());}catch(_0x5c2547){_0x5b6899['push'](_0x5b6899['shift']());}}}(a35_0xa927,0xcbc0f));const {v4:uuidv4}=require(a35_0x531f1f(0x245)),{name,version}=require('../../../../package.json'),logPatcher=require(a35_0x531f1f(0x241)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a35_0x531f1f(0x1ec)),{consoleHolder}=require(a35_0x531f1f(0x225)),{getPlatformVersion}=require(a35_0x531f1f(0x23f)),{shouldProcessEventForTesthub}=require(a35_0x531f1f(0x237)),{isFunction}=require(a35_0x531f1f(0x232)),{patchConsoleLogger}=require('../../../helpers/test-observability/utils');function a35_0x477c(_0x33a5be,_0x1a22d2){const _0xa927a3=a35_0xa927();return a35_0x477c=function(_0x477cf2,_0x33ea94){_0x477cf2=_0x477cf2-0x1ec;let _0x12c83b=_0xa927a3[_0x477cf2];return _0x12c83b;},a35_0x477c(_0x33a5be,_0x1a22d2);}patchConsoleLogger(),exports[a35_0x531f1f(0x20a)]=()=>{const _0x1061c3=a35_0x531f1f,_0x3dd150={'RFPbZ':_0x1061c3(0x21f),'nGgeL':function(_0x1f751f){return _0x1f751f();}};return{'ci':_0x3dd150[_0x1061c3(0x23b)],'key':_0x3dd150[_0x1061c3(0x1f3)](uuidv4),'version':version,'collector':_0x1061c3(0x224)+name};},exports[a35_0x531f1f(0x216)]=_0x51b37d=>{const _0x228415=a35_0x531f1f,_0x22ac5c={};_0x22ac5c[_0x228415(0x1fe)]=function(_0x4ff34e,_0x5da5ef){return _0x4ff34e!==_0x5da5ef;},_0x22ac5c['sAZxk']='string',_0x22ac5c[_0x228415(0x1fb)]=_0x228415(0x21a),_0x22ac5c[_0x228415(0x214)]=_0x228415(0x1fd);const _0x584a9a=_0x22ac5c;if(!_0x51b37d||_0x584a9a[_0x228415(0x1fe)](typeof _0x51b37d,_0x584a9a[_0x228415(0x20d)]))return[null,null];if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x1fb)]),-0x1)){const _0x2a811b=_0x51b37d[_0x228415(0x228)](_0x584a9a['RjvMX']);return[_0x2a811b[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x2a811b[0x1][_0x228415(0x21d)](0x1)];}else{if(_0x584a9a[_0x228415(0x1fe)](_0x51b37d[_0x228415(0x221)](_0x584a9a[_0x228415(0x214)]),-0x1)){const _0x4936c4=_0x51b37d['split'](_0x584a9a['ixyzJ']);return[_0x4936c4[0x0]['slice'](0x0,-0x1)[_0x228415(0x228)]('\x22')[0x1],_0x51b37d];}}return[null,null];},exports[a35_0x531f1f(0x210)]=_0x326585=>{const _0x2a61d5=a35_0x531f1f,_0x13fed1={'XxmFU':function(_0x2597eb,_0x36a664){return _0x2597eb(_0x36a664);},'GlHTr':_0x2a61d5(0x230),'ntNqr':_0x2a61d5(0x1ff),'QffJm':_0x2a61d5(0x220),'hJnIK':_0x2a61d5(0x22f)};if(!_0x326585||!_0x326585[_0x2a61d5(0x1fa)])return[];const _0x58aeae=[];return[_0x13fed1[_0x2a61d5(0x1ef)],_0x13fed1['ntNqr'],_0x13fed1[_0x2a61d5(0x242)],_0x13fed1[_0x2a61d5(0x218)]][_0x2a61d5(0x207)](_0x2e39b7=>{const _0x37fd78=_0x2a61d5,_0x400201=_0x326585[_0x37fd78(0x1fa)][_0x2e39b7]||[];_0x400201[_0x37fd78(0x207)](_0x55855b=>{const _0x4d1ef6=_0x37fd78;_0x55855b[_0x4d1ef6(0x239)]&&!_0x13fed1[_0x4d1ef6(0x22b)](isInternalHook,_0x55855b['fn'])&&_0x58aeae['push'](_0x55855b[_0x4d1ef6(0x239)]);});}),[..._0x58aeae,...exports[_0x2a61d5(0x210)](_0x326585[_0x2a61d5(0x1fa)])];},exports['mapTestHooks']=_0x2d35f6=>{const _0x1d9340=a35_0x531f1f,_0x7e5cf={'rRjOT':function(_0x265dac){return _0x265dac();},'ZcMMe':function(_0xa9c5d1,_0xff480c){return _0xa9c5d1===_0xff480c;},'MkAxM':_0x1d9340(0x22f),'lUgtg':function(_0xb2fc7e){return _0xb2fc7e();},'fDHqz':_0x1d9340(0x230),'nJJcU':'_afterAll','rnckX':_0x1d9340(0x220)};if(!_0x2d35f6||!_0x2d35f6[_0x1d9340(0x1fa)])return;[_0x7e5cf[_0x1d9340(0x21c)],_0x7e5cf['nJJcU'],_0x7e5cf[_0x1d9340(0x21b)],_0x7e5cf['MkAxM']]['forEach'](_0x127517=>{const _0x2ee779=_0x1d9340,_0x13e28c={'CKxEI':function(_0x9946a6){return _0x7e5cf['rRjOT'](_0x9946a6);},'QfXvi':function(_0x1168d7,_0x99768f){const _0x5d32a5=a35_0x477c;return _0x7e5cf[_0x5d32a5(0x217)](_0x1168d7,_0x99768f);},'sXYcA':_0x7e5cf[_0x2ee779(0x1f2)],'uSzcR':function(_0x4d5942){return _0x7e5cf['lUgtg'](_0x4d5942);}},_0x5477be=_0x2d35f6[_0x2ee779(0x1fa)][_0x127517]||[];_0x5477be[_0x2ee779(0x207)](_0x4290d9=>{const _0x5d2efb=_0x2ee779;if(!_0x4290d9['hookAnalyticsId'])_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x1f0)](uuidv4);else _0x4290d9[_0x5d2efb(0x23e)]&&_0x13e28c[_0x5d2efb(0x203)](_0x127517,_0x13e28c[_0x5d2efb(0x23d)])&&(_0x4290d9[_0x5d2efb(0x239)]=_0x13e28c[_0x5d2efb(0x20e)](uuidv4),delete _0x4290d9[_0x5d2efb(0x23e)]);});}),exports[_0x1d9340(0x20f)](_0x2d35f6[_0x1d9340(0x1fa)]);},exports[a35_0x531f1f(0x1fc)]=async(_0x6961da,_0x566ceb)=>{const _0x4808a7=a35_0x531f1f,_0xd8ec49={'KMJGL':function(_0x154c7e){return _0x154c7e();},'lEwLA':function(_0xed049c,_0x530adc){return _0xed049c(_0x530adc);},'PEPIc':_0x4808a7(0x1f9),'eRemj':function(_0x4fdc02,_0x2f01f5){return _0x4fdc02===_0x2f01f5;},'LXLFb':_0x4808a7(0x201),'BJnwl':'unknown_grid','HFpua':'TEST_PLATFORM'};try{if(!_0xd8ec49[_0x4808a7(0x202)](shouldProcessEventForTesthub))return;const _0x5b9ce3=await _0x6961da['getCapabilities'](),_0x2a8c98=await _0x6961da[_0x4808a7(0x20c)](),_0x12be51={},_0x142545=Object[_0x4808a7(0x215)](_0x2a8c98[_0x4808a7(0x211)]()[_0x4808a7(0x235)]),_0x1912b7={'product':_0xd8ec49[_0x4808a7(0x240)](getObservabilityLinkedProductName,_0x142545),'capabilities':_0x142545,'platform':_0x5b9ce3[_0x4808a7(0x1ed)](),'platform_version':_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)])?_0x5b9ce3[_0x4808a7(0x243)](_0xd8ec49[_0x4808a7(0x1f1)]):_0xd8ec49[_0x4808a7(0x240)](getPlatformVersion,_0xd8ec49[_0x4808a7(0x205)](global[_0x4808a7(0x222)],_0xd8ec49[_0x4808a7(0x209)])),'browser':_0x5b9ce3[_0x4808a7(0x206)](),'browser_version':_0x5b9ce3['getBrowserVersion'](),'session_id':_0x2a8c98[_0x4808a7(0x1ee)]()};global['__cloud_provider___']?_0x12be51[global[_0x4808a7(0x222)]]=_0x1912b7:_0x12be51[_0xd8ec49[_0x4808a7(0x23c)]]=_0x1912b7,process[_0x4808a7(0x212)](_0x4808a7(0x22e)+process[_0x4808a7(0x234)],{'timestamp':new Date()[_0x4808a7(0x223)](),'level':null,'message':null,'kind':_0xd8ec49[_0x4808a7(0x1f6)],'http_response':_0x12be51,'uuid':_0x566ceb});}catch(_0x22be8b){_0xd8ec49[_0x4808a7(0x240)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x22be8b);}},exports[a35_0x531f1f(0x246)]=_0x490e6b=>{const _0x1b13f6=a35_0x531f1f,_0x1673cd={};_0x1673cd[_0x1b13f6(0x229)]=function(_0x266199,_0x2e1d63){return _0x266199!==_0x2e1d63;},_0x1673cd[_0x1b13f6(0x204)]=_0x1b13f6(0x1fd),_0x1673cd['YjHDi']=function(_0xdbd77d,_0x5de9c3){return _0xdbd77d!==_0x5de9c3;},_0x1673cd['mlCgQ']=_0x1b13f6(0x236),_0x1673cd[_0x1b13f6(0x23a)]=function(_0x287743,_0x142074){return _0x287743!==_0x142074;},_0x1673cd[_0x1b13f6(0x22c)]=_0x1b13f6(0x1f5);const _0x50e1cd=_0x1673cd,_0x59a6e3=_0x490e6b[_0x1b13f6(0x21e)]['reduce']((_0x47a3da,_0x4d16cb)=>{const _0x3fc57d=_0x1b13f6,_0x5aa4c1=exports[_0x3fc57d(0x246)](_0x4d16cb);return _0x5aa4c1&&(_0x47a3da=_0x47a3da[_0x3fc57d(0x231)](_0x5aa4c1)),_0x47a3da;},[]),_0x2a3465=_0x490e6b['tests'][_0x1b13f6(0x22a)](_0x15f683=>{const _0x186696=_0x1b13f6,_0x4de771=_0x50e1cd[_0x186696(0x229)](_0x15f683[_0x186696(0x247)],_0x50e1cd['xOyRp'])&&!_0x15f683['markedStatus']&&_0x50e1cd[_0x186696(0x1f8)](_0x15f683['state'],_0x50e1cd[_0x186696(0x219)])&&_0x50e1cd[_0x186696(0x23a)](_0x15f683[_0x186696(0x227)],_0x50e1cd[_0x186696(0x22c)])&&!_0x15f683['pending'];return _0x4de771;});return _0x2a3465['concat'](_0x59a6e3);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a36_0x431cad=a36_0x1f60;function a36_0x1f60(_0x3d814b,_0x2ea0cd){const _0x4897a6=a36_0x4897();return a36_0x1f60=function(_0x1f6093,_0x16493d){_0x1f6093=_0x1f6093-0xd0;let _0x38d298=_0x4897a6[_0x1f6093];return _0x38d298;},a36_0x1f60(_0x3d814b,_0x2ea0cd);}(function(_0x35d7db,_0x462ede){const _0x440316=a36_0x1f60,_0x2082d4=_0x35d7db();while(!![]){try{const _0x1e0d14=parseInt(_0x440316(0x186))/0x1*(-parseInt(_0x440316(0x152))/0x2)+-parseInt(_0x440316(0xf4))/0x3*(parseInt(_0x440316(0x13c))/0x4)+-parseInt(_0x440316(0x12e))/0x5+parseInt(_0x440316(0x12d))/0x6+parseInt(_0x440316(0x124))/0x7+parseInt(_0x440316(0x15f))/0x8*(-parseInt(_0x440316(0x109))/0x9)+-parseInt(_0x440316(0x10f))/0xa*(-parseInt(_0x440316(0xdd))/0xb);if(_0x1e0d14===_0x462ede)break;else _0x2082d4['push'](_0x2082d4['shift']());}catch(_0xeb9731){_0x2082d4['push'](_0x2082d4['shift']());}}}(a36_0x4897,0x45891));const util=require(a36_0x431cad(0x150)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x431cad(0x157)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),{percyAutoCapture}=require(a36_0x431cad(0x164)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x431cad(0x17a)),PerformanceTester=require(a36_0x431cad(0xfc)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x431cad(0xec)),logger=require('../../helpers/logger')[a36_0x431cad(0x119)],{shouldProcessEventForTesthub}=require(a36_0x431cad(0x17b)),testHubConstants=require(a36_0x431cad(0x135));function a36_0x4897(){const _0x478f00=['jikkd','pqTlF','XwZgm','twsfe','iNmLB','../../helpers/performance/performance-tester','nyQSK','qnqyL','KbChX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','JeXiI','GWUIx','XKpKi','cxDUK','ksWAk','hnxLN','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','executeScript','9newFXB','qPjhA','hCVCE','NdLkX','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Passed','8467000bHOQGE','ENV_VAR','Accessibility\x20results\x20saved\x20successfully','SESSION_NAME','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','aifGY','end','ZXgrR','shift','now','winstonLogger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LNdFL','\x20-\x20','lbGWc','__drivers','oPnvc','GRAJQ','env','titlePath','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','2167592WXWShY','ZNBvr','bstackA11yShouldScan','error','warn',',\x22level\x22:\x20\x22','IPYaC','finally','__sessionFailed','3042864hcIZKz','2336605CezwTS','bBViZ','SlMDy','BEaot','start','info','WvuKO','../../helpers/testhub/constants','accessibilityScanStarted','IawFq','Gctjn','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','SYNC','aLRRB','4jiGMAB','AbWwZ','oaBqI','Failed:\x20','join','inKzW','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','debug','mgnsn','myGeg','__skipSessionName','then','ORiRv','GCrht','xUliS','length','SESSION_STATUS','__error_messages__','setGlobal','ObservabilitySync:','util','getGlobal','45634FDErYi','BROWSERSTACK_TESTHUB_JWT','mWtcB','OmIyS','afterTest','../../helpers/accessibility-automation/accessibilityRetryHelper','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','index','rDCxO','vNQSq','jNsoa','JGltu','icCDz','4057112bNZoKO','shouldScanTestForAccessibility','message','measureWrapper','driverCleanup','../../helpers/percy/utils','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','NFoEl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','GAznu','SAVE_RESULTS','nfqSE','getCurrentUrl','err','timeout','isArray','zRQoq','uDcPt','command','percyCaptureMode','nyXKM','BROWSERSTACK_TESTHUB_UUID','zBCEb','SDK_HOOK','session_','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','MaUjl','../../helpers/helper','../../helpers/testhub/utils','ZutZl','Failed\x20to\x20store\x20session\x20name:\x20','isAccessibilityPlatform','eCyRU','Automate\x20test\x20case\x20execution\x20has\x20started.','sessionNameSet__','aWiWc','WRhmq','imptz','KeoNN','14Gbtkwa','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','afterAll','browserstackSessionName','dRaqp','jrbmP','mochaHooks','gzAkN','appium:app','stringify','protocol','testAnalyticsId','passed','gjNRT','11soAydE','cCmnN','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','aBOHq','http:','push','app','thJwtToken','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','oDdoq','__platformCaps','currentTest','Accessibility\x20scan\x20completed\x20successfully','initQuit','Xrihp','../../helpers/globals','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','QWWKN','capabilities','browserstackTestName','quitCount_','KTThP','performScanWithRetry','254355gMSzgB','testcase','Mocha'];a36_0x4897=function(){return _0x478f00;};return a36_0x4897();}exports[a36_0x431cad(0xd5)]={'beforeAll'(){const _0x9e2d8=a36_0x431cad,_0xe38a48={'nyXKM':function(_0x422731,_0x5679b8,_0x424f7c,_0xa000c4){return _0x422731(_0x5679b8,_0x424f7c,_0xa000c4);},'cWMhx':'failed','dRaqp':'\x20|\x20','NFoEl':function(_0x5f1866,_0x37af8f,_0x42b57c){return _0x5f1866(_0x37af8f,_0x42b57c);},'ksWAk':_0x9e2d8(0xdb),'ORiRv':function(_0x28cbd5){return _0x28cbd5();},'OmIyS':_0x9e2d8(0x159),'cxDUK':'beforeAll'};PerformanceTester['startMonitoring']();const _0x6915d4='browserstack internal helper hook';PerformanceTester[_0x9e2d8(0x162)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x1e251b=_0x9e2d8;global['__error_messages__']=[],global[_0x1e251b(0x12c)]=![],global[_0x1e251b(0x163)]=async()=>{const _0x449bc3=_0x1e251b;let _0x1cca85=![];try{await global[_0x449bc3(0x11e)][0x0][_0x449bc3(0x177)],_0x1cca85=!![],global[_0x449bc3(0x12c)]?await _0xe38a48[_0x449bc3(0x173)](markSessionStatus,global[_0x449bc3(0x11e)][0x0],_0xe38a48['cWMhx'],global[_0x449bc3(0x14d)]['join'](_0xe38a48[_0x449bc3(0xd3)])):await _0xe38a48[_0x449bc3(0x166)](markSessionStatus,global[_0x449bc3(0x11e)][0x0],_0xe38a48[_0x449bc3(0x105)]);}catch(_0x3c1702){logger['debug'](_0x449bc3(0xed)+_0x3c1702);}global['__error_messages__']=[],global[_0x449bc3(0x12c)]=![];if(_0x1cca85)try{try{_0xe38a48[_0x449bc3(0x148)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xe38a48[_0x449bc3(0x166)](sendPlatformDetails,global['__drivers'][0x0],this[_0x449bc3(0xe8)]?this[_0x449bc3(0xe8)][_0x449bc3(0xda)]:null));}catch(_0x484dd1){logger['debug'](_0x449bc3(0x142)+_0x484dd1);}await global['__drivers'][0x0][_0x449bc3(0xea)]();}catch(_0x9b1475){logger[_0x449bc3(0x143)](_0x449bc3(0xdf)+_0x9b1475);}};},{'platform':_0xe38a48[_0x9e2d8(0x166)](nestedKeyValue,global[_0x9e2d8(0xe7)],[_0xe38a48[_0x9e2d8(0x155)]]),'hookType':_0xe38a48[_0x9e2d8(0x104)]})();},'beforeEach'(_0x92736){const _0x4c8aa4=a36_0x431cad,_0x3b26b7={'aWiWc':function(_0x5b88cc,_0x1ff8b3){return _0x5b88cc>_0x1ff8b3;},'aifGY':_0x4c8aa4(0x11c),'imptz':function(_0x349427,_0x54638c,_0x16d133){return _0x349427(_0x54638c,_0x16d133);},'MaUjl':_0x4c8aa4(0x126),'oaBqI':function(_0x232dc0){return _0x232dc0();},'AbWwZ':'isAccessibilityPlatform','oDdoq':function(_0x47adb5,_0x5d09d5){return _0x47adb5===_0x5d09d5;},'hCVCE':_0x4c8aa4(0xe1),'ZNBvr':'https:','nyQSK':_0x4c8aa4(0xd0),'RTroq':_0x4c8aa4(0x180),'twsfe':_0x4c8aa4(0xf0),'myGeg':function(_0x2c3c5b,_0x2887f1,_0x4bbb19){return _0x2c3c5b(_0x2887f1,_0x4bbb19);},'qnqyL':_0x4c8aa4(0x159),'qPjhA':'beforeEach'};globals[_0x4c8aa4(0x14e)](_0x3b26b7[_0x4c8aa4(0xfa)],this[_0x4c8aa4(0xe8)]['titlePath']()['join'](_0x3b26b7[_0x4c8aa4(0x114)])),PerformanceTester[_0x4c8aa4(0x162)](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x301101=_0x4c8aa4,_0x21d16f={'GWUIx':function(_0x26e625,_0x2cebf5){return _0x3b26b7['aWiWc'](_0x26e625,_0x2cebf5);},'hnxLN':function(_0x30b4e4,_0x2a1885){const _0x5bf8a4=a36_0x1f60;return _0x3b26b7[_0x5bf8a4(0x182)](_0x30b4e4,_0x2a1885);},'jikkd':_0x3b26b7[_0x301101(0x114)],'LNdFL':function(_0x533467,_0x141925,_0xfaadf2){const _0x36e189=_0x301101;return _0x3b26b7[_0x36e189(0x184)](_0x533467,_0x141925,_0xfaadf2);},'icCDz':_0x3b26b7[_0x301101(0x179)],'mgnsn':function(_0x3b407f){const _0xdce71d=_0x301101;return _0x3b26b7[_0xdce71d(0x13e)](_0x3b407f);},'jrbmP':_0x3b26b7[_0x301101(0x13d)],'efNMi':function(_0x346699,_0x471f95){const _0x56a418=_0x301101;return _0x3b26b7[_0x56a418(0xe6)](_0x346699,_0x471f95);},'bAnKB':_0x3b26b7[_0x301101(0x10b)],'zRQoq':_0x3b26b7[_0x301101(0x125)],'Xrihp':_0x3b26b7[_0x301101(0xfd)],'WvuKO':_0x3b26b7['RTroq']},_0x3d2f33='browserstack internal helper hook';new Promise(async _0x34e117=>{const _0xd96a92=_0x301101;let _0x5f305a=!![];try{_0x21d16f[_0xd96a92(0x102)](global['__drivers']['length'],0x1)&&(await global[_0xd96a92(0x163)](),global[_0xd96a92(0x11e)][_0xd96a92(0x117)]()),_0x21d16f[_0xd96a92(0x106)](global['__drivers'][0x0][_0xd96a92(0xf1)],0x0)&&(_0x5f305a=![],await global[_0xd96a92(0x163)]());}catch(_0x56e4c9){logger[_0xd96a92(0x143)](_0xd96a92(0xdf)+_0x56e4c9);}try{Array[_0xd96a92(0x16e)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0xd96a92(0x11e)][0x0][_0xd96a92(0xd2)]=this['currentTest']['titlePath']()[_0xd96a92(0x140)](_0x21d16f[_0xd96a92(0xf7)])),global[_0xd96a92(0xd2)]=this[_0xd96a92(0xe8)]['titlePath']()[_0xd96a92(0x140)](_0x21d16f[_0xd96a92(0xf7)]);}catch(_0x555bbb){logger[_0xd96a92(0x143)](_0xd96a92(0x17d)+_0x555bbb);}this[_0xd96a92(0xe8)][_0xd96a92(0x160)]=_0x21d16f[_0xd96a92(0x11b)](shouldScanTestForAccessibility,this[_0xd96a92(0xe8)][_0xd96a92(0x122)](),!![]),globals[_0xd96a92(0x14e)](_0x21d16f[_0xd96a92(0x15e)],this[_0xd96a92(0xe8)][_0xd96a92(0x160)]),this[_0xd96a92(0xe8)][_0xd96a92(0x136)]=!![];if(_0x21d16f['mgnsn'](isAccessibilityAutomationSession)&&_0x5f305a&&Array[_0xd96a92(0x16e)](global[_0xd96a92(0x11e)])&&_0x21d16f['GWUIx'](global['__drivers'][_0xd96a92(0x14b)],0x0)&&globals['getGlobal'](_0x21d16f[_0xd96a92(0xd4)]))try{const _0x4d66cc=await global['__drivers'][0x0]['session_'];if(_0x4d66cc){let _0x5c7f87=!![];const _0x19b1d9=await global[_0xd96a92(0x11e)][0x0][_0xd96a92(0x16b)]();let _0x623da8;try{_0x623da8=new URL(_0x19b1d9);}catch(_0x5a1974){_0x5c7f87=![];}_0x5c7f87=_0x21d16f['efNMi'](_0x623da8[_0xd96a92(0xd9)],_0x21d16f['bAnKB'])||_0x21d16f['efNMi'](_0x623da8[_0xd96a92(0xd9)],_0x21d16f[_0xd96a92(0x16f)]),_0x5c7f87&&(this[_0xd96a92(0xe8)][_0xd96a92(0x160)]&&logger['info'](_0x21d16f[_0xd96a92(0xeb)])),this['currentTest'][_0xd96a92(0x136)]=this[_0xd96a92(0xe8)]['shouldScanTestForAccessibility'],this[_0xd96a92(0xe8)][_0xd96a92(0x160)]&&logger[_0xd96a92(0x133)](_0x21d16f[_0xd96a92(0x134)]);}}catch(_0x5075c8){logger['error'](_0xd96a92(0x113)+util['format'](_0x5075c8));}_0x21d16f[_0xd96a92(0x144)](_0x34e117);})['then'](()=>{const _0xfd8a82=_0x301101;_0x21d16f[_0xfd8a82(0x144)](_0x92736);});},{'platform':_0x3b26b7[_0x4c8aa4(0x145)](nestedKeyValue,global[_0x4c8aa4(0xe7)],[_0x3b26b7[_0x4c8aa4(0xfe)]]),'hookType':_0x3b26b7[_0x4c8aa4(0x10a)]})();},'afterEach'(_0x72b2b8){const _0x33f283=a36_0x431cad,_0x3b5854={'xXKZJ':function(_0x5348b2,_0x3ea9bc){return _0x5348b2!==_0x3ea9bc;},'xUliS':_0x33f283(0xdb),'RzeOT':function(_0x597915,_0x58344f,_0x3a5c5c){return _0x597915(_0x58344f,_0x3a5c5c);},'iNmLB':function(_0x26b9d8,_0x24f974){return _0x26b9d8+_0x24f974;},'JeXiI':_0x33f283(0x13f),'bbDFg':_0x33f283(0x127),'BEaot':_0x33f283(0x10e),'WRhmq':_0x33f283(0x133),'eCyRU':function(_0x40d482,_0xf06804){return _0x40d482>_0xf06804;},'XwZgm':function(_0x2985cb,_0x5c45d6){return _0x2985cb===_0x5c45d6;},'KeoNN':_0x33f283(0xf5),'ZXgrR':function(_0x2fe372,_0x383290){return _0x2fe372>_0x383290;},'JGltu':_0x33f283(0xd7),'kPOpa':function(_0x5e9eb1,_0x57fc15,_0x14b0f4,_0x53c3a4){return _0x5e9eb1(_0x57fc15,_0x14b0f4,_0x53c3a4);},'uDcPt':_0x33f283(0x17e),'gzAkN':_0x33f283(0x126),'vNQSq':_0x33f283(0x10d),'GAznu':_0x33f283(0x123),'pqTlF':_0x33f283(0x156),'mWtcB':_0x33f283(0xe9),'XKpKi':_0x33f283(0x139),'NdLkX':_0x33f283(0x111),'sSJHf':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','aLRRB':_0x33f283(0x167),'gjNRT':function(_0x20a493){return _0x20a493();},'YTIOM':function(_0xb9c072,_0x5f4d9d,_0x340a34){return _0xb9c072(_0x5f4d9d,_0x340a34);},'GCrht':function(_0x4999a5){return _0x4999a5();},'cCmnN':function(_0x4523ac,_0x4d9170,_0x32123a){return _0x4523ac(_0x4d9170,_0x32123a);},'SlMDy':_0x33f283(0x143),'oPnvc':function(_0xf0aff4){return _0xf0aff4();},'KTThP':_0x33f283(0x11c),'IawFq':_0x33f283(0xf6),'jNsoa':function(_0x4f2b64,_0x57312d,_0x33dca6){return _0x4f2b64(_0x57312d,_0x33dca6);},'zBCEb':_0x33f283(0x159),'KbChX':'afterEach'},_0x4a5889='browserstack internal helper hook';this[_0x33f283(0x16d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b5854[_0x33f283(0x137)]]),global['sessionName']=this[_0x33f283(0xe8)][_0x33f283(0x122)]()[_0x33f283(0x140)](_0x3b5854[_0x33f283(0xf2)]),PerformanceTester[_0x33f283(0x162)](PerformanceSdkEvents[_0x33f283(0x176)],()=>{const _0x1a30d8=_0x33f283,_0x38ba81={'gTefX':_0x3b5854['KTThP'],'IPYaC':function(_0x1c1337){const _0x4352ac=a36_0x1f60;return _0x3b5854[_0x4352ac(0x149)](_0x1c1337);}},_0x387dfb=async(_0x35c5c3,_0x13a783)=>{const _0x54b500=a36_0x1f60;await global[_0x54b500(0x11e)][0x0][_0x54b500(0x108)](_0x54b500(0x100)+_0x35c5c3+_0x54b500(0x129)+_0x13a783+'\x22}}');};new Promise(async _0x123624=>{const _0x30eb59=a36_0x1f60,_0x55babe={'QWWKN':function(_0x1746c1,_0x2b8de7){return _0x3b5854['xXKZJ'](_0x1746c1,_0x2b8de7);},'bBViZ':_0x3b5854[_0x30eb59(0x14a)],'GRAJQ':function(_0x488e03,_0x12b9c1,_0x38e95f){return _0x3b5854['RzeOT'](_0x488e03,_0x12b9c1,_0x38e95f);},'BnyEi':function(_0x3efc83,_0x2b7964){const _0x5bdb6e=_0x30eb59;return _0x3b5854[_0x5bdb6e(0xfb)](_0x3efc83,_0x2b7964);},'ZutZl':_0x3b5854[_0x30eb59(0x101)],'aBOHq':_0x3b5854['bbDFg'],'IPJQI':_0x3b5854[_0x30eb59(0x131)],'inKzW':_0x3b5854[_0x30eb59(0x183)]};try{_0x3b5854[_0x30eb59(0x17f)](global[_0x30eb59(0x11e)][_0x30eb59(0x14b)],0x1)&&(await global[_0x30eb59(0x163)](),global[_0x30eb59(0x11e)][_0x30eb59(0x117)](),global[_0x30eb59(0x14d)]=[],global[_0x30eb59(0x12c)]=![]);try{if(global['percy']&&_0x3b5854[_0x30eb59(0xf9)](global[_0x30eb59(0x172)],_0x3b5854[_0x30eb59(0x185)])&&global[_0x30eb59(0x11e)][0x0]){const _0x43b221=_0x3b5854[_0x30eb59(0x116)](global['capabilities']['length'],0x0)?!!global[_0x30eb59(0xef)][0x0][_0x30eb59(0xe3)]||!!global['capabilities'][0x0][_0x3b5854[_0x30eb59(0x15d)]]:![],_0x282244={};_0x282244[_0x30eb59(0xe3)]=_0x43b221,await _0x3b5854['kPOpa'](percyAutoCapture,global[_0x30eb59(0x11e)][0x0],_0x3b5854[_0x30eb59(0x185)],_0x282244);}}catch(_0x17d65d){logger['debug'](_0x30eb59(0x107)+_0x17d65d);}!global[_0x30eb59(0x146)]&&(await PerformanceTester[_0x30eb59(0x162)](PerformanceAutEvents[_0x30eb59(0x112)],async()=>{const _0x9bb9b7=_0x30eb59;await global[_0x9bb9b7(0x11e)][0x0][_0x9bb9b7(0x108)](_0x9bb9b7(0xe5)+JSON[_0x9bb9b7(0xd8)](this['currentTest']['titlePath']()[_0x9bb9b7(0x140)](_0x38ba81['gTefX']))+'}}');})(),global['__drivers'][0x0][_0x30eb59(0x181)]=!![]),await PerformanceTester[_0x30eb59(0x162)](PerformanceAutEvents[_0x30eb59(0x14c)],async()=>{const _0x40c88e=_0x30eb59,_0x1f4de6=_0x55babe[_0x40c88e(0xee)](this[_0x40c88e(0xe8)]['state'],_0x55babe[_0x40c88e(0x12f)]);_0x1f4de6?(global[_0x40c88e(0x12c)]=!![],global[_0x40c88e(0x14d)][_0x40c88e(0xe2)](this[_0x40c88e(0xe8)][_0x40c88e(0x16c)][_0x40c88e(0x161)]),await _0x55babe[_0x40c88e(0x120)](_0x387dfb,JSON[_0x40c88e(0xd8)](_0x55babe['BnyEi'](_0x55babe[_0x40c88e(0x17c)],this[_0x40c88e(0xe8)][_0x40c88e(0x16c)][_0x40c88e(0x161)])),_0x55babe[_0x40c88e(0xe0)])):await _0x55babe[_0x40c88e(0x120)](_0x387dfb,JSON['stringify'](_0x55babe['IPJQI']),_0x55babe[_0x40c88e(0x141)]);})();}catch(_0x1098cf){logger[_0x30eb59(0x143)](_0x30eb59(0x158)+_0x1098cf);}try{if(this[_0x30eb59(0xe8)][_0x30eb59(0x136)]&&globals[_0x30eb59(0x151)](_0x3b5854[_0x30eb59(0x170)])&&globals[_0x30eb59(0x151)](_0x3b5854[_0x30eb59(0xd6)])){logger[_0x30eb59(0x133)](_0x3b5854[_0x30eb59(0x15b)]);const _0x1321ae={};_0x1321ae['thTestRunUuid']=this['currentTest']['testAnalyticsId'],_0x1321ae['thBuildUuid']=process[_0x30eb59(0x121)][testHubConstants['ENV_VAR'][_0x30eb59(0x174)]],_0x1321ae[_0x30eb59(0xe4)]=process['env'][testHubConstants[_0x30eb59(0x110)][_0x30eb59(0x153)]];const _0x1654be=_0x1321ae;logger[_0x30eb59(0x143)](_0x30eb59(0x11a)+JSON[_0x30eb59(0xd8)](_0x1654be)),logger['debug'](_0x3b5854[_0x30eb59(0x168)]);const _0x1f2e66={};_0x1f2e66[_0x30eb59(0x171)]=_0x3b5854[_0x30eb59(0xf8)];const _0x4cf0dd=await PerformanceTester[_0x30eb59(0x162)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x34420f=_0x30eb59;return await accessibilityRetryHelper[_0x34420f(0xf3)](global['__drivers'][0x0],global[_0x34420f(0xd2)]);},_0x1f2e66)();_0x4cf0dd?logger[_0x30eb59(0x143)](_0x3b5854[_0x30eb59(0x154)]):logger[_0x30eb59(0x128)](_0x3b5854[_0x30eb59(0x103)]);const _0x2b116f=await PerformanceTester[_0x30eb59(0x162)](PerformanceA11yEvents[_0x30eb59(0x169)],async()=>{const _0x1ddd19=_0x30eb59;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x1ddd19(0x11e)][0x0],_0x1654be);})();_0x2b116f?logger['debug'](_0x3b5854[_0x30eb59(0x10c)]):logger[_0x30eb59(0x128)](_0x3b5854['sSJHf']),logger['info'](_0x3b5854[_0x30eb59(0x13b)]);}}catch(_0x4263e3){logger['error'](_0x30eb59(0x165)+this[_0x30eb59(0xe8)][_0x30eb59(0x122)]()+'.\x20Error\x20:',_0x4263e3);}try{try{if(_0x3b5854[_0x30eb59(0xdc)](shouldProcessEventForTesthub)){global[_0x30eb59(0x11e)][0x0]&&await _0x3b5854['YTIOM'](sendPlatformDetails,global['__drivers'][0x0],this[_0x30eb59(0xe8)]?this[_0x30eb59(0xe8)]['testAnalyticsId']:null);if(_0x3b5854[_0x30eb59(0x149)](isBrowserstackInfra)){PerformanceTester[_0x30eb59(0x132)](PerformanceO11yEvents[_0x30eb59(0x13a)]);const _0x2ba10a=_0x30eb59(0x14f)+Date[_0x30eb59(0x118)]();await _0x3b5854[_0x30eb59(0xde)](_0x387dfb,JSON[_0x30eb59(0xd8)](_0x2ba10a),_0x3b5854[_0x30eb59(0x130)]),PerformanceTester[_0x30eb59(0x115)](PerformanceO11yEvents[_0x30eb59(0x13a)]);}}}catch(_0x2bba4a){logger[_0x30eb59(0x143)](_0x30eb59(0x178)+_0x2bba4a),PerformanceTester[_0x30eb59(0x115)](PerformanceO11yEvents[_0x30eb59(0x13a)],![],_0x2bba4a);}_0x3b5854[_0x30eb59(0x17f)](global['__drivers'][0x0][_0x30eb59(0xf1)],0x0)&&await global[_0x30eb59(0x163)]();}catch(_0x14e2ea){logger[_0x30eb59(0x143)](_0x30eb59(0xdf)+_0x14e2ea);}_0x3b5854[_0x30eb59(0x11f)](_0x123624);})[_0x1a30d8(0x147)](()=>{const _0x478d78=_0x1a30d8;_0x38ba81[_0x478d78(0x12a)](_0x72b2b8);});},{'platform':_0x3b5854[_0x33f283(0x15c)](nestedKeyValue,global[_0x33f283(0xe7)],[_0x3b5854[_0x33f283(0x175)]]),'hookType':_0x3b5854[_0x33f283(0xff)]})();},'afterAll'(_0x263dd1){const _0x230f35=a36_0x431cad,_0x4cae07={'Gctjn':function(_0x4b0552){return _0x4b0552();},'UFqEJ':_0x230f35(0xf6),'FjSTV':function(_0x502484,_0x1c4bd2,_0x128bf3){return _0x502484(_0x1c4bd2,_0x128bf3);},'lbGWc':_0x230f35(0x159),'rDCxO':_0x230f35(0xd1)},_0x10aa2e='browserstack internal helper hook';this[_0x230f35(0x16d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x4cae07['UFqEJ']]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0x4d0146=_0x230f35,_0x29a132={'nfqSE':function(_0x368e81){return _0x4cae07['Gctjn'](_0x368e81);}};new Promise(async _0x1d9157=>{const _0xd58f57=a36_0x1f60;await global[_0xd58f57(0x163)](),_0x29a132[_0xd58f57(0x16a)](_0x1d9157);})[_0x4d0146(0x147)]()[_0x4d0146(0x12b)](()=>{const _0x161eae=_0x4d0146;_0x4cae07[_0x161eae(0x138)](_0x263dd1);});},{'platform':_0x4cae07['FjSTV'](nestedKeyValue,global[_0x230f35(0xe7)],[_0x4cae07[_0x230f35(0x11d)]]),'hookType':_0x4cae07[_0x230f35(0x15a)]})();}};
|
|
1
|
+
const a36_0x58bd7d=a36_0x1279;function a36_0x1279(_0x14a339,_0x16bfeb){const _0x4cfc57=a36_0x4cfc();return a36_0x1279=function(_0x12799a,_0x45b0a4){_0x12799a=_0x12799a-0x19d;let _0x247257=_0x4cfc57[_0x12799a];return _0x247257;},a36_0x1279(_0x14a339,_0x16bfeb);}function a36_0x4cfc(){const _0x3db194=['warn','WlqEk','join','testcase','SESSION_STATUS','17393990maHTox','MFfvL','GgNdf','gcZXa','shouldScanTestForAccessibility','ACDkz','RqffS','XPeSD','end','fTrdq','\x20|\x20','KOtJr','4113996zhGmSB','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','MzFiA','../../helpers/globals','afterTest','__skipSessionName','quitCount_','PERFORM_SCAN','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','CepUE','SYNC','accessibilityScanStarted','14MnzepG','push','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','stringify','currentTest','bVxaJ','IRyEb','mRSmF','MrFLy','../../helpers/logger','ENV_VAR','.\x20Error\x20:','../../helpers/testhub/constants','failed','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','initQuit','../../helpers/performance/performance-tester','IFQIi','util','Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','IPRyB','Wxlle','HFZGb','XCxMi','\x20-\x20','OOizg','hCgeO','executeScript','index','info','debug','err','4062784ssuvpH','isAccessibilityPlatform','Eshka','winstonLogger','__drivers','gDZJp','mochaHooks','VTKXf','9OvNnHu','ObservabilitySync:','../../helpers/testhub/utils','../../helpers/performance/constants','Mocha','qlFdz','GuPhZ','bAlrE','VSSMJ','testAnalyticsId','OPWTh','length','appium:app','measureWrapper','BROWSERSTACK_TESTHUB_JWT','FlRpK','app','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','LXuyI','rPaJA','BFxGP','428274AOwZqx','getGlobal','shift','bstackA11yShouldScan','bNnOu','tYWjw','thJwtToken','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','env','zYdkf','afterEach','__sessionFailed','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','JNVpF','sessionName','PGHPL','lZXra','RfCUi','TfYRC','36srqeAx','sessionNameSet__','573128NHLAEu','percy','12981syEWXC',',\x22level\x22:\x20\x22','then','percyCaptureMode','kUQle','../../helpers/accessibility-automation/accessibilityRetryHelper','driverCleanup','isArray','message','124XSsMta','finally','vNmdR','performScanWithRetry','beforeEach','gZQJc','BROWSERSTACK_TESTHUB_UUID','titlePath','SAVE_RESULTS','HsNyw','__error_messages__','sGViU','thTestRunUuid','browserstackTestName','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','protocol','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','wLyeW','4722075FGXECy','hXnwy','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','../utils/constants','timeout','JvQNz','Failed:\x20','start','MrIxY','SESSION_NAME','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','yEOPA','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','command','HNgTj','Automate\x20test\x20case\x20execution\x20has\x20started.','SDK_HOOK','__platformCaps','iKtEN','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','error','Accessibility\x20results\x20saved\x20successfully','../../helpers/percy/utils','hXOqC','session_','setGlobal','EXqKb','WwHYf','uwiEj','passed','Passed','capabilities','Failed\x20to\x20store\x20session\x20name:\x20','rYISb'];a36_0x4cfc=function(){return _0x3db194;};return a36_0x4cfc();}(function(_0x5af99e,_0xa45f4f){const _0x34fb4c=a36_0x1279,_0x5919c4=_0x5af99e();while(!![]){try{const _0x58a304=parseInt(_0x34fb4c(0x217))/0x1*(parseInt(_0x34fb4c(0x220))/0x2)+-parseInt(_0x34fb4c(0x213))/0x3*(parseInt(_0x34fb4c(0x215))/0x4)+parseInt(_0x34fb4c(0x232))/0x5+parseInt(_0x34fb4c(0x1b5))/0x6*(-parseInt(_0x34fb4c(0x1c1))/0x7)+parseInt(_0x34fb4c(0x1e3))/0x8+-parseInt(_0x34fb4c(0x1eb))/0x9*(-parseInt(_0x34fb4c(0x1a9))/0xa)+parseInt(_0x34fb4c(0x200))/0xb;if(_0x58a304===_0xa45f4f)break;else _0x5919c4['push'](_0x5919c4['shift']());}catch(_0x50308a){_0x5919c4['push'](_0x5919c4['shift']());}}}(a36_0x4cfc,0xe6a3e));const util=require(a36_0x58bd7d(0x1d4)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a36_0x58bd7d(0x21c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x58bd7d(0x235)),{percyAutoCapture}=require(a36_0x58bd7d(0x248)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x58bd7d(0x1d2)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a36_0x58bd7d(0x1ee)),globals=require(a36_0x58bd7d(0x1b8)),logger=require(a36_0x58bd7d(0x1ca))[a36_0x58bd7d(0x1e6)],{shouldProcessEventForTesthub}=require(a36_0x58bd7d(0x1ed)),testHubConstants=require(a36_0x58bd7d(0x1cd));exports[a36_0x58bd7d(0x1e9)]={'beforeAll'(){const _0x2dd943=a36_0x58bd7d,_0x40e85c={'RfCUi':function(_0x2e06f8,_0x24edb5,_0x54f41d,_0x159e16){return _0x2e06f8(_0x24edb5,_0x54f41d,_0x159e16);},'EXqKb':_0x2dd943(0x1ce),'mRSmF':_0x2dd943(0x1b3),'HNgTj':function(_0x46448e,_0x6fa671,_0x172fb7){return _0x46448e(_0x6fa671,_0x172fb7);},'hXOqC':'passed','GuPhZ':function(_0x537a85){return _0x537a85();},'bVxaJ':function(_0x5e8496,_0x56366e,_0x4f419f){return _0x5e8496(_0x56366e,_0x4f419f);},'JCwIn':_0x2dd943(0x1df),'cghiM':'beforeAll'};PerformanceTester['startMonitoring']();const _0x27cb9a='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2dd943(0x242)],()=>{const _0x48176b=_0x2dd943;global[_0x48176b(0x22a)]=[],global[_0x48176b(0x20b)]=![],global[_0x48176b(0x21d)]=async()=>{const _0x3230d0=_0x48176b;let _0x4ef645=![];try{await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x24a)],_0x4ef645=!![],global['__sessionFailed']?await _0x40e85c[_0x3230d0(0x211)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x24c)],global[_0x3230d0(0x22a)][_0x3230d0(0x1a6)](_0x40e85c[_0x3230d0(0x1c8)])):await _0x40e85c[_0x3230d0(0x240)](markSessionStatus,global[_0x3230d0(0x1e7)][0x0],_0x40e85c[_0x3230d0(0x249)]);}catch(_0x3fd88a){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20'+_0x3fd88a);}global[_0x3230d0(0x22a)]=[],global[_0x3230d0(0x20b)]=![];if(_0x4ef645)try{try{_0x40e85c[_0x3230d0(0x1f1)](shouldProcessEventForTesthub)&&(global[_0x3230d0(0x1e7)][0x0]&&await _0x40e85c[_0x3230d0(0x1c6)](sendPlatformDetails,global[_0x3230d0(0x1e7)][0x0],this[_0x3230d0(0x1c5)]?this[_0x3230d0(0x1c5)][_0x3230d0(0x1f4)]:null));}catch(_0x51d271){logger[_0x3230d0(0x1e1)](_0x3230d0(0x22e)+_0x51d271);}await global[_0x3230d0(0x1e7)][0x0][_0x3230d0(0x1d1)]();}catch(_0x47e3c4){logger[_0x3230d0(0x1e1)](_0x3230d0(0x20c)+_0x47e3c4);}};},{'platform':_0x40e85c['HNgTj'](nestedKeyValue,global['__platformCaps'],[_0x40e85c['JCwIn']]),'hookType':_0x40e85c['cghiM']})();},'beforeEach'(_0x58aaef){const _0x56f51f=a36_0x58bd7d,_0x36f733={'rYISb':function(_0x30b4a6,_0x36e2ec){return _0x30b4a6>_0x36e2ec;},'MzFiA':function(_0x4e7ecd,_0x1e08ea){return _0x4e7ecd>_0x1e08ea;},'vNmdR':_0x56f51f(0x1db),'PGHPL':function(_0x3b955d,_0x66ab2a,_0x16503b){return _0x3b955d(_0x66ab2a,_0x16503b);},'gcZXa':_0x56f51f(0x203),'bAlrE':function(_0x59ff40){return _0x59ff40();},'gZQJc':_0x56f51f(0x1e4),'XCxMi':function(_0x76dced,_0x2e7fd4){return _0x76dced===_0x2e7fd4;},'Harnp':'http:','CepUE':function(_0x3cc2fc,_0x21c1c2){return _0x3cc2fc===_0x21c1c2;},'fTrdq':'https:','KOtJr':_0x56f51f(0x230),'HFZGb':_0x56f51f(0x241),'BFxGP':function(_0xe80a0c){return _0xe80a0c();},'bPMyD':_0x56f51f(0x22d),'uwiEj':_0x56f51f(0x1df),'WlqEk':_0x56f51f(0x224)};globals[_0x56f51f(0x24b)](_0x36f733['bPMyD'],this[_0x56f51f(0x1c5)][_0x56f51f(0x227)]()[_0x56f51f(0x1a6)](_0x36f733['vNmdR'])),PerformanceTester[_0x56f51f(0x1f8)](PerformanceSdkEvents[_0x56f51f(0x242)],()=>{const _0x5eeae2={'GgNdf':function(_0x44a227){const _0x210c0e=a36_0x1279;return _0x36f733[_0x210c0e(0x1ff)](_0x44a227);}},_0x936d8a='browserstack internal helper hook';new Promise(async _0x5d1c33=>{const _0xfe36f9=a36_0x1279;let _0x179101=!![];try{_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x1)&&(await global[_0xfe36f9(0x21d)](),global['__drivers']['shift']()),_0x36f733[_0xfe36f9(0x1b7)](global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1bb)],0x0)&&(_0x179101=![],await global[_0xfe36f9(0x21d)]());}catch(_0xc906c5){logger[_0xfe36f9(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xc906c5);}try{Array[_0xfe36f9(0x21e)](global[_0xfe36f9(0x1e7)])&&global[_0xfe36f9(0x1e7)][0x0]&&(global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733[_0xfe36f9(0x222)])),global[_0xfe36f9(0x1cf)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)]()[_0xfe36f9(0x1a6)](_0x36f733['vNmdR']);}catch(_0x15031f){logger['debug'](_0xfe36f9(0x1a2)+_0x15031f);}this[_0xfe36f9(0x1c5)]['shouldScanTestForAccessibility']=_0x36f733[_0xfe36f9(0x20f)](shouldScanTestForAccessibility,this[_0xfe36f9(0x1c5)][_0xfe36f9(0x227)](),!![]),globals[_0xfe36f9(0x24b)](_0x36f733[_0xfe36f9(0x1ac)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]),this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1c0)]=!![];if(_0x36f733[_0xfe36f9(0x1f2)](isAccessibilityAutomationSession)&&_0x179101&&Array['isArray'](global['__drivers'])&&_0x36f733[_0xfe36f9(0x1a3)](global[_0xfe36f9(0x1e7)]['length'],0x0)&&globals[_0xfe36f9(0x201)](_0x36f733[_0xfe36f9(0x225)]))try{const _0x3316dc=await global[_0xfe36f9(0x1e7)][0x0][_0xfe36f9(0x24a)];if(_0x3316dc){let _0x439e24=!![];const _0xdec9cf=await global[_0xfe36f9(0x1e7)][0x0]['getCurrentUrl']();let _0x542f96;try{_0x542f96=new URL(_0xdec9cf);}catch(_0x204d29){_0x439e24=![];}_0x439e24=_0x36f733[_0xfe36f9(0x1da)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733['Harnp'])||_0x36f733[_0xfe36f9(0x1be)](_0x542f96[_0xfe36f9(0x22f)],_0x36f733[_0xfe36f9(0x1b2)]),_0x439e24&&(this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1b4)])),this['currentTest'][_0xfe36f9(0x1c0)]=this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)],this[_0xfe36f9(0x1c5)][_0xfe36f9(0x1ad)]&&logger[_0xfe36f9(0x1e0)](_0x36f733[_0xfe36f9(0x1d9)]);}}catch(_0x441838){logger[_0xfe36f9(0x246)](_0xfe36f9(0x234)+util['format'](_0x441838));}_0x36f733[_0xfe36f9(0x1f2)](_0x5d1c33);})['then'](()=>{const _0x1d48e7=a36_0x1279;_0x5eeae2[_0x1d48e7(0x1ab)](_0x58aaef);});},{'platform':_0x36f733[_0x56f51f(0x20f)](nestedKeyValue,global['__platformCaps'],[_0x36f733[_0x56f51f(0x19e)]]),'hookType':_0x36f733[_0x56f51f(0x1a5)]})();},'afterEach'(_0x4c6f62){const _0x57ddcd=a36_0x58bd7d,_0x13fe7d={'lZXra':_0x57ddcd(0x1db),'HsNyw':function(_0x23cb0c,_0x447a6a){return _0x23cb0c!==_0x447a6a;},'wLXpN':_0x57ddcd(0x19f),'rPaJA':function(_0x2634b3,_0x48882c,_0x4f9eee){return _0x2634b3(_0x48882c,_0x4f9eee);},'JvQNz':function(_0x5e421,_0x74f23b){return _0x5e421+_0x74f23b;},'IRyEb':_0x57ddcd(0x238),'YRbXB':_0x57ddcd(0x246),'MrIxY':_0x57ddcd(0x1a0),'qXMXY':_0x57ddcd(0x1e0),'MFfvL':function(_0x384a3f,_0x27ed80){return _0x384a3f>_0x27ed80;},'iKtEN':function(_0x32a892,_0x21f9e8){return _0x32a892===_0x21f9e8;},'Wxlle':_0x57ddcd(0x1a7),'OOizg':_0x57ddcd(0x1f7),'FlRpK':function(_0x2028a3,_0x2801a7,_0x33fc96,_0x5ceedf){return _0x2028a3(_0x2801a7,_0x33fc96,_0x5ceedf);},'wLyeW':'isAccessibilityPlatform','zYdkf':'bstackA11yShouldScan','TfYRC':_0x57ddcd(0x207),'sGViU':'Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','qlFdz':_0x57ddcd(0x1b9),'lYvRG':'Accessibility\x20scan\x20completed\x20successfully','MOnrW':_0x57ddcd(0x1fc),'IFQIi':_0x57ddcd(0x247),'yEOPA':_0x57ddcd(0x1d5),'gIkuP':_0x57ddcd(0x1c3),'kUQle':function(_0x4471ab){return _0x4471ab();},'cBPoB':_0x57ddcd(0x1e1),'gxppE':function(_0x12536d,_0x457c4a){return _0x12536d>_0x457c4a;},'tYWjw':_0x57ddcd(0x1ef),'XPeSD':function(_0x38e54c,_0x5f23bb,_0xfb850e){return _0x38e54c(_0x5f23bb,_0xfb850e);},'lPkTi':_0x57ddcd(0x1df),'gDZJp':_0x57ddcd(0x20a)},_0x33afd6='browserstack internal helper hook';this[_0x57ddcd(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x13fe7d[_0x57ddcd(0x205)]]),global[_0x57ddcd(0x20e)]=this['currentTest']['titlePath']()[_0x57ddcd(0x1a6)](_0x13fe7d[_0x57ddcd(0x210)]),PerformanceTester[_0x57ddcd(0x1f8)](PerformanceSdkEvents[_0x57ddcd(0x242)],()=>{const _0x470350={'VTKXf':function(_0x2bbc36){const _0x180949=a36_0x1279;return _0x13fe7d[_0x180949(0x21b)](_0x2bbc36);}},_0x48fc30=async(_0x4ea01c,_0x706377)=>{const _0x94393c=a36_0x1279;await global['__drivers'][0x0]['executeScript'](_0x94393c(0x1bd)+_0x4ea01c+_0x94393c(0x218)+_0x706377+'\x22}}');};new Promise(async _0x2aa26f=>{const _0x1e6a3f=a36_0x1279,_0x244159={'LXuyI':_0x13fe7d[_0x1e6a3f(0x210)],'bNnOu':function(_0x5c9044,_0x9abd7){const _0x4b321d=_0x1e6a3f;return _0x13fe7d[_0x4b321d(0x229)](_0x5c9044,_0x9abd7);},'hCgeO':_0x13fe7d['wLXpN'],'Eshka':function(_0xbfe476,_0x2b0f37,_0x41b211){const _0x350f7d=_0x1e6a3f;return _0x13fe7d[_0x350f7d(0x1fe)](_0xbfe476,_0x2b0f37,_0x41b211);},'VSSMJ':function(_0x203108,_0x5ac540){const _0x3ebe86=_0x1e6a3f;return _0x13fe7d[_0x3ebe86(0x237)](_0x203108,_0x5ac540);},'wRgyK':_0x13fe7d[_0x1e6a3f(0x1c7)],'ACDkz':_0x13fe7d['YRbXB'],'WwHYf':_0x13fe7d[_0x1e6a3f(0x23a)],'OPWTh':_0x13fe7d['qXMXY']};try{_0x13fe7d[_0x1e6a3f(0x1aa)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x1e6a3f(0x202)](),global['__error_messages__']=[],global[_0x1e6a3f(0x20b)]=![]);try{if(global[_0x1e6a3f(0x216)]&&_0x13fe7d[_0x1e6a3f(0x244)](global[_0x1e6a3f(0x21a)],_0x13fe7d[_0x1e6a3f(0x1d8)])&&global[_0x1e6a3f(0x1e7)][0x0]){const _0x322033=_0x13fe7d[_0x1e6a3f(0x1aa)](global['capabilities'][_0x1e6a3f(0x1f6)],0x0)?!!global[_0x1e6a3f(0x1a1)][0x0][_0x1e6a3f(0x1fb)]||!!global[_0x1e6a3f(0x1a1)][0x0][_0x13fe7d[_0x1e6a3f(0x1dc)]]:![],_0x291d7e={};_0x291d7e[_0x1e6a3f(0x1fb)]=_0x322033,await _0x13fe7d[_0x1e6a3f(0x1fa)](percyAutoCapture,global[_0x1e6a3f(0x1e7)][0x0],_0x13fe7d[_0x1e6a3f(0x1d8)],_0x291d7e);}}catch(_0x2487cb){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x245)+_0x2487cb);}!global[_0x1e6a3f(0x1ba)]&&(await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x23b)],async()=>{const _0x1f71c3=_0x1e6a3f;await global[_0x1f71c3(0x1e7)][0x0][_0x1f71c3(0x1de)](_0x1f71c3(0x23e)+JSON[_0x1f71c3(0x1c4)](this['currentTest'][_0x1f71c3(0x227)]()[_0x1f71c3(0x1a6)](_0x244159[_0x1f71c3(0x1fd)]))+'}}');})(),global[_0x1e6a3f(0x1e7)][0x0][_0x1e6a3f(0x214)]=!![]),await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceAutEvents[_0x1e6a3f(0x1a8)],async()=>{const _0xbe146a=_0x1e6a3f,_0xa7899b=_0x244159[_0xbe146a(0x204)](this['currentTest']['state'],_0x244159[_0xbe146a(0x1dd)]);_0xa7899b?(global['__sessionFailed']=!![],global[_0xbe146a(0x22a)][_0xbe146a(0x1c2)](this['currentTest'][_0xbe146a(0x1e2)][_0xbe146a(0x21f)]),await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x1f3)](_0x244159['wRgyK'],this[_0xbe146a(0x1c5)][_0xbe146a(0x1e2)]['message'])),_0x244159[_0xbe146a(0x1ae)])):await _0x244159[_0xbe146a(0x1e5)](_0x48fc30,JSON[_0xbe146a(0x1c4)](_0x244159[_0xbe146a(0x19d)]),_0x244159[_0xbe146a(0x1f5)]);})();}catch(_0x5a745c){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1d6)+_0x5a745c);}try{if(this['currentTest']['accessibilityScanStarted']&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x231)])&&globals[_0x1e6a3f(0x201)](_0x13fe7d[_0x1e6a3f(0x209)])){logger[_0x1e6a3f(0x1e0)](_0x13fe7d[_0x1e6a3f(0x212)]);const _0x362e94={};_0x362e94[_0x1e6a3f(0x22c)]=this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x1f4)],_0x362e94['thBuildUuid']=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x226)]],_0x362e94[_0x1e6a3f(0x206)]=process[_0x1e6a3f(0x208)][testHubConstants[_0x1e6a3f(0x1cb)][_0x1e6a3f(0x1f9)]];const _0xf6039a=_0x362e94;logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x1b6)+JSON[_0x1e6a3f(0x1c4)](_0xf6039a)),logger[_0x1e6a3f(0x1e1)](_0x13fe7d[_0x1e6a3f(0x22b)]);const _0x28edda={};_0x28edda[_0x1e6a3f(0x23f)]=_0x13fe7d[_0x1e6a3f(0x1f0)];const _0x297b2e=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x1bc)],async()=>{const _0x41e705=_0x1e6a3f;return await accessibilityRetryHelper[_0x41e705(0x223)](global[_0x41e705(0x1e7)][0x0],global[_0x41e705(0x1cf)]);},_0x28edda)();_0x297b2e?logger[_0x1e6a3f(0x1e1)](_0x13fe7d['lYvRG']):logger['warn'](_0x13fe7d['MOnrW']);const _0x1d5f28=await PerformanceTester[_0x1e6a3f(0x1f8)](PerformanceA11yEvents[_0x1e6a3f(0x228)],async()=>{const _0x37fc03=_0x1e6a3f;return await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x37fc03(0x1e7)][0x0],_0xf6039a);})();_0x1d5f28?logger['debug'](_0x13fe7d[_0x1e6a3f(0x1d3)]):logger[_0x1e6a3f(0x1a4)](_0x13fe7d[_0x1e6a3f(0x23d)]),logger[_0x1e6a3f(0x1e0)](_0x13fe7d['gIkuP']);}}catch(_0x473b60){logger[_0x1e6a3f(0x246)](_0x1e6a3f(0x1d0)+this[_0x1e6a3f(0x1c5)][_0x1e6a3f(0x227)]()+_0x1e6a3f(0x1cc),_0x473b60);}try{try{if(_0x13fe7d[_0x1e6a3f(0x21b)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x13fe7d[_0x1e6a3f(0x1fe)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this['currentTest'][_0x1e6a3f(0x1f4)]:null);if(_0x13fe7d[_0x1e6a3f(0x21b)](isBrowserstackInfra)){PerformanceTester[_0x1e6a3f(0x239)](PerformanceO11yEvents[_0x1e6a3f(0x1bf)]);const _0x1e3c08=_0x1e6a3f(0x1ec)+Date['now']();await _0x13fe7d['rPaJA'](_0x48fc30,JSON[_0x1e6a3f(0x1c4)](_0x1e3c08),_0x13fe7d['cBPoB']),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC']);}}}catch(_0x1f2a27){logger[_0x1e6a3f(0x1e1)](_0x1e6a3f(0x23c)+_0x1f2a27),PerformanceTester[_0x1e6a3f(0x1b1)](PerformanceO11yEvents['SYNC'],![],_0x1f2a27);}_0x13fe7d['gxppE'](global['__drivers'][0x0][_0x1e6a3f(0x1bb)],0x0)&&await global[_0x1e6a3f(0x21d)]();}catch(_0x553f5a){logger[_0x1e6a3f(0x1e1)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x553f5a);}_0x13fe7d['kUQle'](_0x2aa26f);})['then'](()=>{const _0x47158d=a36_0x1279;_0x470350[_0x47158d(0x1ea)](_0x4c6f62);});},{'platform':_0x13fe7d[_0x57ddcd(0x1b0)](nestedKeyValue,global[_0x57ddcd(0x243)],[_0x13fe7d['lPkTi']]),'hookType':_0x13fe7d[_0x57ddcd(0x1e8)]})();},'afterAll'(_0x4ca479){const _0x5842b1=a36_0x58bd7d,_0x1661da={'hXnwy':function(_0x2ee2c7){return _0x2ee2c7();},'MrFLy':function(_0x2dac4a){return _0x2dac4a();},'JNVpF':_0x5842b1(0x1ef),'DINbY':function(_0x541a56,_0x1a8877,_0x2016d0){return _0x541a56(_0x1a8877,_0x2016d0);},'UkDEz':_0x5842b1(0x1df),'RqffS':'afterAll'},_0x1ffc59='browserstack internal helper hook';this[_0x5842b1(0x236)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1661da[_0x5842b1(0x20d)]]),PerformanceTester['measureWrapper'](PerformanceSdkEvents['SDK_HOOK'],()=>{const _0xcbfcd8=_0x5842b1,_0x1428ec={'IPRyB':function(_0x3efec8){const _0x444674=a36_0x1279;return _0x1661da[_0x444674(0x1c9)](_0x3efec8);}};new Promise(async _0x51721c=>{const _0xf82a01=a36_0x1279;await global[_0xf82a01(0x21d)](),_0x1428ec[_0xf82a01(0x1d7)](_0x51721c);})[_0xcbfcd8(0x219)]()[_0xcbfcd8(0x221)](()=>{const _0x4ab880=_0xcbfcd8;_0x1661da[_0x4ab880(0x233)](_0x4ca479);});},{'platform':_0x1661da['DINbY'](nestedKeyValue,global[_0x5842b1(0x243)],[_0x1661da['UkDEz']]),'hookType':_0x1661da[_0x5842b1(0x1af)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0x3bf993=a37_0x3e76;function a37_0x3e76(_0x5b6467,_0x5ae752){const _0x36a805=a37_0x36a8();return a37_0x3e76=function(_0x3e7627,_0x3f651e){_0x3e7627=_0x3e7627-0x16f;let _0x19a22b=_0x36a805[_0x3e7627];return _0x19a22b;},a37_0x3e76(_0x5b6467,_0x5ae752);}(function(_0x52c41b,_0x15da69){const _0x4ff8ba=a37_0x3e76,_0x5da984=_0x52c41b();while(!![]){try{const _0x6a01d6=parseInt(_0x4ff8ba(0x172))/0x1*(-parseInt(_0x4ff8ba(0x197))/0x2)+parseInt(_0x4ff8ba(0x1af))/0x3*(-parseInt(_0x4ff8ba(0x1ac))/0x4)+-parseInt(_0x4ff8ba(0x174))/0x5+-parseInt(_0x4ff8ba(0x17f))/0x6*(parseInt(_0x4ff8ba(0x180))/0x7)+-parseInt(_0x4ff8ba(0x18a))/0x8+-parseInt(_0x4ff8ba(0x191))/0x9*(-parseInt(_0x4ff8ba(0x1a6))/0xa)+parseInt(_0x4ff8ba(0x171))/0xb*(parseInt(_0x4ff8ba(0x17d))/0xc);if(_0x6a01d6===_0x15da69)break;else _0x5da984['push'](_0x5da984['shift']());}catch(_0x90c66f){_0x5da984['push'](_0x5da984['shift']());}}}(a37_0x36a8,0x1b07c));function a37_0x36a8(){const _0x51dbfe=['getPlatformName','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','exports','filter','1379952nVmlbO','close','path','winstonLogger','--env','Psmso','QtMyt','9QkMNwi','iwKVK','stringify','now','modifyBrowserStackW3CCaps','map','2fBLcfl','start_process','child_process','VkTyJ','platforms','test_settings','TNjKq','XOZuO','config','test','selenium','findIndex','CwieK','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','trim','1309220SpDGHF','writeFileSync','existsSync','../utils/constants','useW3C','DfxlT','8RsKwnd','IDseq','RyGSS','97023hfvaaS','CZJLa','splice','AIESu','Getting\x20your\x20nightwatch\x20configs\x20from\x20','25729XTzfpj','204628VQBjwy','push','1004375zzGuRJ','mergeDeep','length','--config','nightwatch.cmd','join','env','ZFvVD','debug','4272Srgnrr','forEach','40686MBmSFJ','217oLALbd','nightwatch.conf.js','isUndefined','slice'];a37_0x36a8=function(){return _0x51dbfe;};return a37_0x36a8();}const fs=require('fs'),path=require(a37_0x3bf993(0x18c)),{spawn}=require(a37_0x3bf993(0x199)),logger=require('../../helpers/logger')[a37_0x3bf993(0x18d)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),constants=require(a37_0x3bf993(0x1a9)),getUserNightwatchConfigs=(_0x21393f,_0x1ec466)=>{const _0x1d7a0f=a37_0x3bf993,_0x3b702c={'DfxlT':_0x1d7a0f(0x181),'lPofc':'nightwatch.json','rXDDm':function(_0x51eeb5,_0x15bba7){return _0x51eeb5(_0x15bba7);},'AIESu':_0x1d7a0f(0x185)};let _0xf4a687=null,_0x4b3cd={};const _0x33570b=_0x1ec466[_0x1d7a0f(0x1a2)](_0x2ed6de=>_0x2ed6de===_0x1d7a0f(0x177));if(!helper[_0x1d7a0f(0x182)](_0x21393f[_0x1d7a0f(0x19f)])&&fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x21393f['config'])))_0xf4a687=path[_0x1d7a0f(0x179)](process['cwd'](),_0x21393f[_0x1d7a0f(0x19f)]),_0x1ec466[_0x1d7a0f(0x1b1)](_0x33570b,0x2);else{if(fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)])))_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c[_0x1d7a0f(0x1ab)]);else fs[_0x1d7a0f(0x1a8)](path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']))&&(_0xf4a687=path[_0x1d7a0f(0x179)](process[_0x1d7a0f(0x186)](),_0x3b702c['lPofc']));}return _0xf4a687?(logger[_0x1d7a0f(0x187)](_0x1d7a0f(0x170)+_0xf4a687),_0x4b3cd=_0x3b702c['rXDDm'](require,_0xf4a687)):logger[_0x1d7a0f(0x187)](_0x3b702c[_0x1d7a0f(0x16f)]),_0x4b3cd;},removeExistingEnvs=_0x2278c5=>{const _0x2625e4=a37_0x3bf993,_0x515e8e={};_0x515e8e[_0x2625e4(0x1a3)]=function(_0x1f415f,_0x47608b){return _0x1f415f>_0x47608b;};const _0x53f964=_0x515e8e;let _0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x2692cf=>_0x2692cf==='--env');_0x53f964[_0x2625e4(0x1a3)](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2),_0x533de0=_0x2278c5[_0x2625e4(0x1a2)](_0x5eb3e2=>_0x5eb3e2==='-e'),_0x53f964['CwieK'](_0x533de0,-0x1)&&_0x2278c5[_0x2625e4(0x1b1)](_0x533de0,0x2);};function run(_0x21cef5,_0x45bf3a,_0x3a43d7){const _0x5e21fd=a37_0x3bf993,_0x491cb6={'IDseq':'nightwatch','CMTAr':function(_0x3b4582,_0x1e5d6c){return _0x3b4582+_0x1e5d6c;},'XOZuO':'test_settings','CLdjY':function(_0x5bbfbb,_0x932bc3,_0x518314){return _0x5bbfbb(_0x932bc3,_0x518314);},'VkTyJ':'hub.browserstack.com','wuyZp':_0x5e21fd(0x1a4),'QtMyt':function(_0x51f57c,_0x14b4a7){return _0x51f57c===_0x14b4a7;},'MoxHC':'nightwatch-browserstack.json','qmMEG':function(_0x5b7c94,_0x3a9c6d){return _0x5b7c94(_0x3a9c6d);},'evuHg':function(_0x27c8b1,_0x10bd28,_0x129f6b,_0x449614){return _0x27c8b1(_0x10bd28,_0x129f6b,_0x449614);},'ZFvVD':_0x5e21fd(0x178),'Psmso':_0x5e21fd(0x177),'iwKVK':_0x5e21fd(0x18e),'CZJLa':'inherit','TNjKq':_0x5e21fd(0x18b)};if(!_0x3a43d7[_0x5e21fd(0x19f)])return;const _0x441007=_0x491cb6['CLdjY'](getUserNightwatchConfigs,_0x21cef5,_0x45bf3a),_0x4a6355={};_0x4a6355[_0x5e21fd(0x198)]=![];const _0x4aec44={};_0x4aec44['host']=_0x491cb6[_0x5e21fd(0x19a)],_0x4aec44['port']=0x1bb;const _0x56956e={};_0x56956e['webdriver']=_0x4a6355,_0x56956e[_0x5e21fd(0x1a1)]=_0x4aec44;const _0x42fa93=_0x56956e;logger[_0x5e21fd(0x187)](_0x491cb6['wuyZp']);const _0x598638={..._0x441007},_0x2b0488=_0x598638,_0xceb8c4=helper[_0x5e21fd(0x1aa)](_0x3a43d7[_0x5e21fd(0x19f)]),_0x320e8d=[];_0x3a43d7[_0x5e21fd(0x19f)][_0x5e21fd(0x19b)][_0x5e21fd(0x17e)]((_0x5b785e,_0x50e7e5)=>{const _0x563b76=_0x5e21fd;_0xceb8c4?_0x320e8d[_0x563b76(0x173)](helper[_0x563b76(0x195)](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5)):_0x320e8d[_0x563b76(0x173)](helper['modifyBrowserStackCaps'](_0x3a43d7[_0x563b76(0x19f)],_0x491cb6[_0x563b76(0x1ad)],_0x50e7e5));});const _0x3db563={},_0x3bf575=[];_0x21cef5[_0x5e21fd(0x17a)]=_0x21cef5[_0x5e21fd(0x17a)]||_0x21cef5['e'];const _0x52db0e=_0x21cef5[_0x5e21fd(0x17a)]?_0x21cef5[_0x5e21fd(0x17a)][_0x5e21fd(0x1a5)]()['split'](',')[_0x5e21fd(0x196)](_0x46d4d5=>_0x46d4d5['trim']())[_0x5e21fd(0x189)](_0x1bc996=>_0x1bc996!==''):[''];_0x491cb6[_0x5e21fd(0x190)](_0x52db0e[_0x5e21fd(0x176)],0x0)&&_0x52db0e[_0x5e21fd(0x173)]('');_0x52db0e['forEach'](_0x46fdbf=>{const _0x75c4a8=_0x5e21fd,_0x51bc1d={'RCLzW':function(_0x1784e9,_0x32403f){return _0x491cb6['CMTAr'](_0x1784e9,_0x32403f);},'RyGSS':_0x491cb6[_0x75c4a8(0x19e)]};_0x320e8d[_0x75c4a8(0x17e)](_0x5afd07=>{const _0x2d8596=_0x75c4a8;let _0x38527b=_0x51bc1d['RCLzW'](helper[_0x2d8596(0x184)](_0x5afd07,'_'),'_'+Date[_0x2d8596(0x194)]());_0x46fdbf&&(_0x38527b+='_'+_0x46fdbf);if(_0x46fdbf&&(!_0x441007[_0x51bc1d['RyGSS']]||!_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf]))return;const _0x499f0d={..._0x42fa93};_0x499f0d['desiredCapabilities']=_0x5afd07;const _0x1e92e6=_0x499f0d;_0x3db563[_0x38527b]=_0x46fdbf?helper[_0x2d8596(0x175)](_0x441007[_0x51bc1d[_0x2d8596(0x1ae)]][_0x46fdbf],_0x1e92e6):_0x1e92e6,_0x3bf575[_0x2d8596(0x173)](_0x38527b);});});!_0x2b0488[_0x5e21fd(0x19c)]&&(_0x2b0488[_0x5e21fd(0x19c)]={});_0x2b0488[_0x5e21fd(0x19c)]={..._0x2b0488['test_settings'],..._0x3db563};const _0x3dbe4c=path[_0x5e21fd(0x179)](__dirname,_0x491cb6['MoxHC']);fs[_0x5e21fd(0x1a7)](_0x3dbe4c,JSON[_0x5e21fd(0x193)](_0x2b0488)),_0x491cb6['qmMEG'](removeExistingEnvs,_0x45bf3a);const _0x69352a=_0x491cb6['evuHg'](spawn,/^win/[_0x5e21fd(0x1a0)](process['platform'])?_0x491cb6[_0x5e21fd(0x17b)]:_0x491cb6[_0x5e21fd(0x1ad)],[_0x491cb6[_0x5e21fd(0x18f)],_0x3dbe4c,..._0x45bf3a[_0x5e21fd(0x183)](0x1),_0x491cb6[_0x5e21fd(0x192)],_0x3bf575[_0x5e21fd(0x179)](',')],{'stdio':_0x491cb6[_0x5e21fd(0x1b0)]});_0x69352a['on'](_0x491cb6[_0x5e21fd(0x19d)],async _0x583d33=>{const _0x2d1cc4=_0x5e21fd;logger[_0x2d1cc4(0x17c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x583d33),logger[_0x2d1cc4(0x187)]('Deleting\x20'+_0x3dbe4c),fs['unlinkSync'](_0x3dbe4c);});}module[a37_0x3bf993(0x188)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a38_0x1ca28c=a38_0x3e2c;(function(_0x2564a5,_0x3d31bd){const _0x480b7e=a38_0x3e2c,_0x5c2569=_0x2564a5();while(!![]){try{const _0x2a6ff0=parseInt(_0x480b7e(0x1d7))/0x1+parseInt(_0x480b7e(0x203))/0x2+-parseInt(_0x480b7e(0x1e1))/0x3+parseInt(_0x480b7e(0x1bc))/0x4*(-parseInt(_0x480b7e(0x1c0))/0x5)+parseInt(_0x480b7e(0x1bf))/0x6+-parseInt(_0x480b7e(0x229))/0x7*(parseInt(_0x480b7e(0x20b))/0x8)+-parseInt(_0x480b7e(0x1ed))/0x9*(-parseInt(_0x480b7e(0x1dc))/0xa);if(_0x2a6ff0===_0x3d31bd)break;else _0x5c2569['push'](_0x5c2569['shift']());}catch(_0x375da3){_0x5c2569['push'](_0x5c2569['shift']());}}}(a38_0x46fa,0x19f96));function a38_0x46fa(){const _0x45fcfb=['url','accessibilityOptions.scannerVersion','UoJLc','390488xnykxb','jsXGd','eukWl','../../helpers/accessibility-automation/scripts','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Iorae','vmxFM','wcagVersion','Zvixf','460508LcyOXr','wsEndpoint','zubxU','455958fmgsYi','5TiMZTA','getAccessibilityResults','measureWrapper','project','accessibilityOptions.scannerProcessingTimeout','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','accessibilityOptions.includeIssueType.needsReview','QJFKs','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','includes','stringify','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','__workerDetails','bestPractice','NWvYY','KHlAY','format','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','tprFH','BS_A11Y_JWT','executeScript','bBdlc','winstonLogger','139579rvzhGq','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','ltSli','wQhJP','replace','10VQTruH','NsVHE','debug','latest','bstackSdkArgs','100014VTcGZi','deviceName','MYzlU','../../helpers/helper','hvsKt','SwtBB','performScan','accessibilityPlatform','currentTest','browser','accessibilityOptions.wcagVersion','playwright-chromium','1330596ZCrSwO','workerInfo','DfXwa','yizsH','ujPpV','processAccessibilityCaps','util','No\x20accessibility\x20results\x20were\x20found.','scannerVersion','ZifZm','scannerProcessingTimeout','KXNkA','warn','NxtxT','HLUrs','MvGpe','parse','otwYf','accessibilityOptions','chromium','browserStackEvaluate','includeIssueType','117582YhCaHY','evaluate','name','HQOcR','TPGqC','browserName','dEnUk','TSpal','24BvZEaF','qcYUQ','browser_version','Playwright','env','platformValidation','use','rYxDX','setAccessibilityCapabilities','command','WebDriver','chrome','../../helpers/performance/constants','executeAsyncScript','testInfo','No\x20summaryResults\x20found.','trTjH','naxob','constructor','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','PUHSm','pxMxN','browserstack.accessibility','PJBYr','getAccessibilityResultsSummary','browserStackExecuteDriver'];a38_0x46fa=function(){return _0x45fcfb;};return a38_0x46fa();}const util=require(a38_0x1ca28c(0x1f3)),logger=require('../../helpers/logger')[a38_0x1ca28c(0x1d6)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x1ca28c(0x1e4)),scripts=require(a38_0x1ca28c(0x22c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x1ca28c(0x217));function a38_0x3e2c(_0x5a132,_0x27dcca){const _0x46fad2=a38_0x46fa();return a38_0x3e2c=function(_0x3e2c20,_0x31dd48){_0x3e2c20=_0x3e2c20-0x1b7;let _0x45e60f=_0x46fad2[_0x3e2c20];return _0x45e60f;},a38_0x3e2c(_0x5a132,_0x27dcca);}exports[a38_0x1ca28c(0x201)]=async(_0x2b995e,_0x4bd5a4,_0x7f55b9={})=>{const _0x29d298=a38_0x1ca28c,_0x13712c={};_0x13712c['UoJLc']=_0x29d298(0x1e0);const _0x34f768=_0x13712c;return await _0x2b995e[_0x29d298(0x204)]('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x4bd5a4[_0x29d298(0x1db)](/arguments/g,_0x34f768[_0x29d298(0x228)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON[_0x29d298(0x1ca)](_0x7f55b9)+')');},exports[a38_0x1ca28c(0x225)]=async(_0x40c758,_0x3fe66f,_0x30b480={})=>{const _0x3de246=a38_0x1ca28c,_0x5b5f31={};_0x5b5f31[_0x3de246(0x22a)]=function(_0x1717f9,_0x824f6b){return _0x1717f9===_0x824f6b;},_0x5b5f31[_0x3de246(0x1b9)]=_0x3de246(0x215),_0x5b5f31[_0x3de246(0x1e5)]=function(_0x57ff66,_0x758944){return _0x57ff66===_0x758944;},_0x5b5f31['wQhJP']=_0x3de246(0x20e),_0x5b5f31['AbOee']=_0x3de246(0x1e0);const _0x37e453=_0x5b5f31;if(_0x37e453[_0x3de246(0x22a)](_0x40c758[_0x3de246(0x21d)][_0x3de246(0x205)],_0x37e453[_0x3de246(0x1b9)]))return await _0x40c758[_0x3de246(0x218)](_0x3fe66f,_0x30b480);else{if(_0x37e453[_0x3de246(0x1e5)](_0x40c758[_0x3de246(0x21d)][_0x3de246(0x205)],_0x37e453[_0x3de246(0x1da)]))return await _0x40c758[_0x3de246(0x1d4)](_0x3de246(0x1d1)+_0x3fe66f['replace'](/arguments/g,_0x37e453['AbOee'])+_0x3de246(0x1c8)+JSON['stringify'](_0x30b480)+')');}},exports[a38_0x1ca28c(0x213)]=async _0x16f86b=>{const _0x17d43e=a38_0x1ca28c,_0x59c631={};_0x59c631[_0x17d43e(0x1fb)]=_0x17d43e(0x1eb),_0x59c631['naxob']=_0x17d43e(0x1c4),_0x59c631[_0x17d43e(0x20c)]='accessibilityOptions.includeIssueType.bestPractice',_0x59c631['zPGwM']=_0x17d43e(0x1c6),_0x59c631['NsVHE']='accessibilityOptions.authToken',_0x59c631['MYzlU']=_0x17d43e(0x227);const _0x533e99=_0x59c631;_0x16f86b['accessibilityOptions']&&(_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1ba)]&&(_0x16f86b[_0x533e99['HLUrs']]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1ba)]),_0x16f86b['accessibilityOptions'][_0x17d43e(0x1f7)]&&(_0x16f86b[_0x533e99[_0x17d43e(0x21c)]]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x1f7)]),_0x16f86b['accessibilityOptions'][_0x17d43e(0x202)]&&(_0x16f86b[_0x533e99[_0x17d43e(0x20c)]]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x202)][_0x17d43e(0x1cd)],_0x16f86b[_0x533e99['zPGwM']]=_0x16f86b[_0x17d43e(0x1ff)][_0x17d43e(0x202)]['needsReview']));const _0x34729b=JSON[_0x17d43e(0x1fd)](process[_0x17d43e(0x20f)][_0x17d43e(0x1b7)])[_0x17d43e(0x1f5)];_0x16f86b[_0x533e99[_0x17d43e(0x1dd)]]=process[_0x17d43e(0x20f)][_0x17d43e(0x1d3)],_0x16f86b[_0x533e99[_0x17d43e(0x1e3)]]=_0x34729b,delete _0x16f86b[_0x17d43e(0x1ff)];},exports[a38_0x1ca28c(0x1c1)]=async _0x3b840d=>{const _0x55fa7f=a38_0x1ca28c,_0x44a01f={};_0x44a01f['Tckrk']=_0x55fa7f(0x1f4),_0x44a01f[_0x55fa7f(0x220)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x2c29d1=_0x44a01f;if(global['accessibilityPlatform'])try{const details={'url':await _0x3b840d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x3b840d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x3b840d,scripts.getResults);},{...details})();return res;}catch{return logger['error'](_0x2c29d1['Tckrk']),[];}else return logger[_0x55fa7f(0x1f9)](_0x2c29d1['PUHSm']),[];},exports[a38_0x1ca28c(0x1e7)]=async(_0x457159,_0x2ae876='')=>{const _0x16feac=a38_0x1ca28c;logger[_0x16feac(0x1de)]('Performing\x20scan\x20with\x20method:\x20'+_0x2ae876+'\x20page:\x20'+_0x457159);const _0x31ddda={'url':await _0x457159[_0x16feac(0x226)](),'testhub_btcer_uuid':global[_0x16feac(0x1cc)]?.[_0x16feac(0x1e9)]?.['id']};if(global[_0x16feac(0x1e8)])return await PerformanceTester[_0x16feac(0x1c2)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x264949=_0x16feac,_0xf54c1d={};_0xf54c1d[_0x264949(0x214)]=_0x2ae876;const _0x23f31b=await exports[_0x264949(0x201)](_0x457159,scripts['performScan'],_0xf54c1d);return _0x23f31b;},{'command':_0x2ae876,..._0x31ddda})();},exports[a38_0x1ca28c(0x224)]=async _0x391138=>{const _0x2bc62d=a38_0x1ca28c,_0x147bf9={};_0x147bf9[_0x2bc62d(0x20a)]=_0x2bc62d(0x21a),_0x147bf9[_0x2bc62d(0x1e6)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0xea976=_0x147bf9;if(global[_0x2bc62d(0x1e8)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x391138,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x391138,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0xea976[_0x2bc62d(0x20a)]),{};}else return logger[_0x2bc62d(0x1f9)](_0xea976[_0x2bc62d(0x1e6)]),{};},exports[a38_0x1ca28c(0x210)]=async _0x3f32e2=>{const _0x53e825=a38_0x1ca28c,_0x20b388={'TPGqC':function(_0x865e,_0x2e313b){return _0x865e!==_0x2e313b;},'ZifZm':_0x53e825(0x1c5),'KHlAY':_0x53e825(0x216),'bBdlc':_0x53e825(0x1ec),'KXNkA':_0x53e825(0x200),'trTjH':_0x53e825(0x21e),'tprFH':function(_0x2bae8f,_0x107812){return _0x2bae8f(_0x107812);},'Iorae':function(_0x58a5aa){return _0x58a5aa();},'VaRxL':function(_0x3ae206,_0x3778b2){return _0x3ae206<_0x3778b2;},'QJFKs':_0x53e825(0x1cb),'ltSli':function(_0x229f0b,_0x268b3a){return _0x229f0b===_0x268b3a;},'zubxU':_0x53e825(0x1df),'lIDap':function(_0x5724a7,_0x2089cc){return _0x5724a7>_0x2089cc;},'PJBYr':_0x53e825(0x1d8)};try{if(!_0x20b388[_0x53e825(0x207)](_0x3f32e2[_0x53e825(0x1e2)],''))return logger['warn'](_0x20b388[_0x53e825(0x1f6)]),![];const _0x2bde71=_0x3f32e2[_0x53e825(0x1ea)];if(![_0x20b388[_0x53e825(0x1cf)],_0x20b388[_0x53e825(0x1d5)],_0x20b388[_0x53e825(0x1f8)]][_0x53e825(0x1c9)](_0x2bde71))return logger['warn'](_0x20b388[_0x53e825(0x21b)]),![];const _0xe2f6a5=_0x20b388[_0x53e825(0x1d2)](parseInt,_0x3f32e2[_0x53e825(0x20d)]);!_0x20b388[_0x53e825(0x1b8)](isBrowserstackInfra)&&(!_0x20b388['VaRxL'](_0xe2f6a5,0x64)&&logger['warn'](_0x20b388[_0x53e825(0x1c7)]));if(!(_0x20b388[_0x53e825(0x1d9)](_0xe2f6a5,_0x20b388[_0x53e825(0x1be)])||_0x20b388['lIDap'](_0xe2f6a5,0x5e)))return logger[_0x53e825(0x1f9)](_0x20b388[_0x53e825(0x223)]),![];}catch(_0xd05ccd){logger[_0x53e825(0x1de)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0xd05ccd));}return!![];},exports[a38_0x1ca28c(0x1f2)]=(_0x503700,_0x547afd,_0x3e29c6)=>{const _0x2a5bb9=a38_0x1ca28c,_0x251d21={'HQOcR':function(_0x29a965){return _0x29a965();},'pxMxN':_0x2a5bb9(0x222),'rYxDX':function(_0x3c7346,_0x2b4eb3){return _0x3c7346===_0x2b4eb3;},'dEnUk':'chrome','otwYf':_0x2a5bb9(0x1ec),'NWvYY':_0x2a5bb9(0x21e),'yizsH':function(_0x3bac78,_0x1ce0f0){return _0x3bac78>_0x1ce0f0;},'ujPpV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','MvGpe':'latest','DfXwa':function(_0x4fcc0f,_0x3537cb){return _0x4fcc0f>_0x3537cb;},'Zvixf':_0x2a5bb9(0x1d8),'eukWl':function(_0x4f66a9,_0x292c44){return _0x4f66a9(_0x292c44);},'RWemN':_0x2a5bb9(0x1c5),'NxtxT':function(_0x23f063,_0x5db997){return _0x23f063+_0x5db997;}};try{if(_0x251d21[_0x2a5bb9(0x206)](isAccessibilityAutomationSession)){global[_0x2a5bb9(0x1e8)]=!![];!_0x503700[_0x251d21[_0x2a5bb9(0x221)]]&&(global['accessibilityPlatform']=![]);!(_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x208)],_0x251d21['dEnUk'])||_0x251d21[_0x2a5bb9(0x212)](_0x503700['browserName'],_0x251d21[_0x2a5bb9(0x1fe)])||_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x1ea)],_0x251d21[_0x2a5bb9(0x209)])||_0x251d21[_0x2a5bb9(0x212)](_0x503700['browser'],_0x251d21[_0x2a5bb9(0x1fe)]))&&(logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1ce)]),global[_0x2a5bb9(0x1e8)]=![]);!_0x251d21[_0x2a5bb9(0x206)](isBrowserstackInfra)&&(!_0x251d21[_0x2a5bb9(0x1f0)](_0x503700[_0x2a5bb9(0x20d)],0x64)&&logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1f1)]));!(_0x251d21[_0x2a5bb9(0x212)](_0x503700[_0x2a5bb9(0x20d)],_0x251d21[_0x2a5bb9(0x1fc)])||_0x251d21[_0x2a5bb9(0x1ef)](_0x503700[_0x2a5bb9(0x20d)],0x5e))&&(logger[_0x2a5bb9(0x1f9)](_0x251d21[_0x2a5bb9(0x1bb)]),global[_0x2a5bb9(0x1e8)]=![]);!_0x251d21[_0x2a5bb9(0x22b)](isUndefined,_0x503700[_0x2a5bb9(0x1e2)])&&(logger[_0x2a5bb9(0x1f9)](_0x251d21['RWemN']),global[_0x2a5bb9(0x1e8)]=![]);if(!global[_0x2a5bb9(0x1e8)]){_0x503700[_0x251d21[_0x2a5bb9(0x221)]]=![];const _0x3c5d3a=_0x251d21[_0x2a5bb9(0x1fa)](_0x547afd,_0x251d21[_0x2a5bb9(0x22b)](encodeURIComponent,JSON[_0x2a5bb9(0x1ca)](_0x503700)));_0x3e29c6&&(_0x3e29c6[_0x2a5bb9(0x1e9)][_0x2a5bb9(0x219)][_0x2a5bb9(0x1c3)][_0x2a5bb9(0x211)]['connectOptions'][_0x2a5bb9(0x1bd)]=_0x3c5d3a,_0x3e29c6[_0x2a5bb9(0x1ee)][_0x2a5bb9(0x1c3)][_0x2a5bb9(0x211)]['connectOptions'][_0x2a5bb9(0x1bd)]=_0x3c5d3a);}}else global[_0x2a5bb9(0x1e8)]=![];}catch(_0x565c29){logger[_0x2a5bb9(0x1de)](_0x2a5bb9(0x21f)+util[_0x2a5bb9(0x1d0)](_0x565c29));}};
|
|
1
|
+
const a38_0x44d8ce=a38_0x3ead;(function(_0x376163,_0x40a9a7){const _0x1c6d72=a38_0x3ead,_0x4713d8=_0x376163();while(!![]){try{const _0x23bf2c=parseInt(_0x1c6d72(0xaf))/0x1*(parseInt(_0x1c6d72(0xc1))/0x2)+-parseInt(_0x1c6d72(0xec))/0x3+parseInt(_0x1c6d72(0x87))/0x4*(-parseInt(_0x1c6d72(0xf4))/0x5)+parseInt(_0x1c6d72(0x8b))/0x6*(-parseInt(_0x1c6d72(0xcd))/0x7)+parseInt(_0x1c6d72(0xdc))/0x8*(parseInt(_0x1c6d72(0xc8))/0x9)+parseInt(_0x1c6d72(0xe7))/0xa*(parseInt(_0x1c6d72(0xd9))/0xb)+-parseInt(_0x1c6d72(0x107))/0xc*(parseInt(_0x1c6d72(0xd0))/0xd);if(_0x23bf2c===_0x40a9a7)break;else _0x4713d8['push'](_0x4713d8['shift']());}catch(_0x410b7c){_0x4713d8['push'](_0x4713d8['shift']());}}}(a38_0x36e3,0x7ce36));function a38_0x3ead(_0x5dfee4,_0x164f5b){const _0x36e34f=a38_0x36e3();return a38_0x3ead=function(_0x3ead00,_0x1d0601){_0x3ead00=_0x3ead00-0x87;let _0x428250=_0x36e34f[_0x3ead00];return _0x428250;},a38_0x3ead(_0x5dfee4,_0x164f5b);}function a38_0x36e3(){const _0x373b8e=['\x20page:\x20','jdzIv','stringify','project','12lZzqXH','includes','bJEyK','1682084CFDooA','vxUkZ','bstackSdkArgs','phhNF','6mkwbPh','Playwright','latest','winstonLogger','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.includeIssueType.bestPractice','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setAccessibilityCapabilities','DMWXY','ODlLa','browserStackExecuteDriver','YlPLx','debug','../../helpers/performance/constants','getAccessibilityResultsSummary','includeIssueType','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','../../helpers/accessibility-automation/scripts','etCIv','warn','accessibilityOptions','No\x20accessibility\x20results\x20were\x20found.','__workerDetails','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','connectOptions','iyUid','KnkfP','name','bkrsr','iSzEf','No\x20summaryResults\x20found.','url','erZkz','performScan','QDirl','886598HqDukv','gpsFx','hXJdE','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','vcFRC','parse','browserName','command','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','OsGoN','DpMfe','processAccessibilityCaps','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','playwright-chromium','workerInfo','wcagVersion','chrome','2yxgWIm','BNObw','deviceName','evaluate','XGYua','format','currentTest','3461454oNGzQZ','FumMm','lmbDY','aIWQV','browserstack.accessibility','70105cQZjfH','GvFjW','yLaDk','3097835fFTjss','scannerProcessingTimeout','YpPZb','Performing\x20scan\x20with\x20method:\x20','yFqYh','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','replace','accessibilityPlatform','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','33aKnDiH','browser_version','getAccessibilityResults','8ZeNygG','UFwKD','accessibilityOptions.includeIssueType.needsReview','use','mMiJS','../../helpers/logger','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','platformValidation','executeAsyncScript','browser','WebDriver','3015780xOJMFU','xjIUF','measureWrapper','accessibilityOptions.scannerProcessingTimeout','YmtFz','1725132PVnPiw','accessibilityOptions.wcagVersion','KSmjY','eOZfk','WYtou','env','BS_A11Y_JWT','ziyZZ','10fAyykP','fqbHl','testInfo','browserStackEvaluate','constructor','chromium','DdbTR','AZGJI','pMpIv','error','xtWFU','bestPractice','PERFORM_SCAN','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','executeScript'];a38_0x36e3=function(){return _0x373b8e;};return a38_0x36e3();}const util=require('util'),logger=require(a38_0x44d8ce(0xe1))[a38_0x44d8ce(0x8e)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require('../../helpers/helper'),scripts=require(a38_0x44d8ce(0x9c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x44d8ce(0x98));exports['browserStackEvaluate']=async(_0x3ab596,_0x5a8f8d,_0x114b91={})=>{const _0x607063=a38_0x44d8ce,_0x167b5f={};_0x167b5f['BNObw']='bstackSdkArgs';const _0x258eac=_0x167b5f;return await _0x3ab596[_0x607063(0xc4)](_0x607063(0xd8)+_0x5a8f8d['replace'](/arguments/g,_0x258eac[_0x607063(0xc2)])+_0x607063(0x8f)+JSON[_0x607063(0x105)](_0x114b91)+')');},exports[a38_0x44d8ce(0x95)]=async(_0x475090,_0x133720,_0x52bc8e={})=>{const _0x31d19a=a38_0x44d8ce,_0x44ba83={};_0x44ba83[_0x31d19a(0xeb)]=function(_0x4a9fb4,_0x2efc19){return _0x4a9fb4===_0x2efc19;},_0x44ba83[_0x31d19a(0xac)]=_0x31d19a(0xe6),_0x44ba83[_0x31d19a(0xce)]=function(_0x376e4f,_0x1a32dc){return _0x376e4f===_0x1a32dc;},_0x44ba83['FumMm']=_0x31d19a(0x8c),_0x44ba83['lmbDY']=_0x31d19a(0x89);const _0x212ed7=_0x44ba83;if(_0x212ed7[_0x31d19a(0xeb)](_0x475090['constructor'][_0x31d19a(0xa7)],_0x212ed7[_0x31d19a(0xac)]))return await _0x475090[_0x31d19a(0xe4)](_0x133720,_0x52bc8e);else{if(_0x212ed7[_0x31d19a(0xce)](_0x475090[_0x31d19a(0xf8)]['name'],_0x212ed7[_0x31d19a(0xc9)]))return await _0x475090[_0x31d19a(0x102)](_0x31d19a(0xe2)+_0x133720[_0x31d19a(0xd6)](/arguments/g,_0x212ed7[_0x31d19a(0xca)])+_0x31d19a(0xa3)+JSON[_0x31d19a(0x105)](_0x52bc8e)+')');}},exports[a38_0x44d8ce(0x92)]=async _0x271350=>{const _0x3a0f23=a38_0x44d8ce,_0x39e069={};_0x39e069[_0x3a0f23(0xfc)]=_0x3a0f23(0xed),_0x39e069[_0x3a0f23(0xe8)]=_0x3a0f23(0xea),_0x39e069[_0x3a0f23(0xb4)]=_0x3a0f23(0x90),_0x39e069['YlPLx']=_0x3a0f23(0xde),_0x39e069['gpsFx']='accessibilityOptions.authToken',_0x39e069[_0x3a0f23(0xba)]='accessibilityOptions.scannerVersion';const _0xfea9e3=_0x39e069;_0x271350['accessibilityOptions']&&(_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xfc)]]=_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xbf)]),_0x271350[_0x3a0f23(0x9f)][_0x3a0f23(0xd1)]&&(_0x271350[_0xfea9e3[_0x3a0f23(0xe8)]]=_0x271350[_0x3a0f23(0x9f)]['scannerProcessingTimeout']),_0x271350[_0x3a0f23(0x9f)]['includeIssueType']&&(_0x271350[_0xfea9e3[_0x3a0f23(0xb4)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)][_0x3a0f23(0xff)],_0x271350[_0xfea9e3[_0x3a0f23(0x96)]]=_0x271350['accessibilityOptions'][_0x3a0f23(0x9a)]['needsReview']));const _0x4d0bb4=JSON[_0x3a0f23(0xb5)](process[_0x3a0f23(0xf1)][_0x3a0f23(0x91)])['scannerVersion'];_0x271350[_0xfea9e3[_0x3a0f23(0xb0)]]=process['env'][_0x3a0f23(0xf2)],_0x271350[_0xfea9e3[_0x3a0f23(0xba)]]=_0x4d0bb4,delete _0x271350[_0x3a0f23(0x9f)];},exports[a38_0x44d8ce(0xdb)]=async _0x2e810d=>{const _0x3f035c=a38_0x44d8ce,_0x1d9ef0={};_0x1d9ef0[_0x3f035c(0x88)]=_0x3f035c(0xa0),_0x1d9ef0[_0x3f035c(0xf5)]=_0x3f035c(0x101);const _0x239de3=_0x1d9ef0;if(global['accessibilityPlatform'])try{const details={'url':await _0x2e810d.url(),'testhub_btcer_uuid':global.__workerDetails?.currentTest?.id};logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2e810d,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2e810d,scripts.getResults);},{...details})();return res;}catch{return logger[_0x3f035c(0xfd)](_0x239de3[_0x3f035c(0x88)]),[];}else return logger[_0x3f035c(0x9e)](_0x239de3[_0x3f035c(0xf5)]),[];},exports['performScan']=async(_0x18e419,_0xcbe499='')=>{const _0xfc8006=a38_0x44d8ce;logger[_0xfc8006(0x97)](_0xfc8006(0xd3)+_0xcbe499+_0xfc8006(0x103)+_0x18e419);const _0x25b1c6={'url':await _0x18e419[_0xfc8006(0xab)](),'testhub_btcer_uuid':global[_0xfc8006(0xa1)]?.[_0xfc8006(0xc7)]?.['id']};if(global[_0xfc8006(0xd7)])return await PerformanceTester[_0xfc8006(0xe9)](PerformanceA11yEvents[_0xfc8006(0x100)],async()=>{const _0x261ee8=_0xfc8006,_0x5576d6={};_0x5576d6[_0x261ee8(0xb7)]=_0xcbe499;const _0x4b5643=await exports[_0x261ee8(0xf7)](_0x18e419,scripts[_0x261ee8(0xad)],_0x5576d6);return _0x4b5643;},{'command':_0xcbe499,..._0x25b1c6})();},exports[a38_0x44d8ce(0x99)]=async _0x47c989=>{const _0x5d6215=a38_0x44d8ce,_0x16668a={};_0x16668a[_0x5d6215(0x93)]=_0x5d6215(0xaa),_0x16668a[_0x5d6215(0xae)]=_0x5d6215(0xb3);const _0x50a274=_0x16668a;if(global[_0x5d6215(0xd7)])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x47c989,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x47c989,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x50a274[_0x5d6215(0x93)]),{};}else return logger[_0x5d6215(0x9e)](_0x50a274['QDirl']),{};},exports[a38_0x44d8ce(0xe3)]=async _0x29d435=>{const _0x50e5a5=a38_0x44d8ce,_0x3ff7f1={'iSzEf':function(_0x2f7128,_0x18f0f7){return _0x2f7128!==_0x18f0f7;},'ODlLa':_0x50e5a5(0xb2),'AZGJI':'chrome','KSmjY':_0x50e5a5(0xbd),'VHuXw':_0x50e5a5(0xf9),'hXJdE':_0x50e5a5(0xd5),'UFwKD':function(_0x21c734,_0x5d5d3a){return _0x21c734(_0x5d5d3a);},'PKpKJ':function(_0x10ba19){return _0x10ba19();},'mMiJS':function(_0x554960,_0x49361d){return _0x554960<_0x49361d;},'jdzIv':_0x50e5a5(0xb8),'bJEyK':function(_0xe17fdd,_0x5f4acd){return _0xe17fdd===_0x5f4acd;},'KnkfP':_0x50e5a5(0x8d),'KUFYI':function(_0x141b39,_0x398571){return _0x141b39>_0x398571;},'eOZfk':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x3ff7f1[_0x50e5a5(0xa9)](_0x29d435['deviceName'],''))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0x94)]),![];const _0x423d09=_0x29d435[_0x50e5a5(0xe5)];if(![_0x3ff7f1[_0x50e5a5(0xfb)],_0x3ff7f1[_0x50e5a5(0xee)],_0x3ff7f1['VHuXw']][_0x50e5a5(0x108)](_0x423d09))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xb1)]),![];const _0x3afa0a=_0x3ff7f1[_0x50e5a5(0xdd)](parseInt,_0x29d435[_0x50e5a5(0xda)]);!_0x3ff7f1['PKpKJ'](isBrowserstackInfra)&&(!_0x3ff7f1[_0x50e5a5(0xe0)](_0x3afa0a,0x64)&&logger['warn'](_0x3ff7f1[_0x50e5a5(0x104)]));if(!(_0x3ff7f1[_0x50e5a5(0x109)](_0x3afa0a,_0x3ff7f1[_0x50e5a5(0xa6)])||_0x3ff7f1['KUFYI'](_0x3afa0a,0x5e)))return logger[_0x50e5a5(0x9e)](_0x3ff7f1[_0x50e5a5(0xef)]),![];}catch(_0xd32042){logger[_0x50e5a5(0x97)](_0x50e5a5(0x9b)+util[_0x50e5a5(0xc6)](_0xd32042));}return!![];},exports[a38_0x44d8ce(0xbb)]=(_0x4271bd,_0x28555a,_0x4f3d20)=>{const _0x12e56b=a38_0x44d8ce,_0x29a1ba={'YpPZb':function(_0x5f2a09){return _0x5f2a09();},'iyUid':_0x12e56b(0xcc),'OsGoN':function(_0x30f131,_0x2f90ab){return _0x30f131===_0x2f90ab;},'etCIv':_0x12e56b(0xc0),'yLaDk':_0x12e56b(0xbd),'phhNF':function(_0x5eee73,_0x1df41d){return _0x5eee73===_0x1df41d;},'ziyZZ':function(_0xa1b0d6,_0x22df00){return _0xa1b0d6===_0x22df00;},'DdbTR':_0x12e56b(0xd5),'XGYua':function(_0x5704d9,_0x543dca){return _0x5704d9>_0x543dca;},'bkrsr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','aIWQV':_0x12e56b(0x8d),'zxynG':_0x12e56b(0xa2),'yFqYh':function(_0x57d127,_0x1b5a9a){return _0x57d127(_0x1b5a9a);},'WYtou':_0x12e56b(0xb2),'xtWFU':function(_0x30ee2c,_0x11a525){return _0x30ee2c+_0x11a525;},'SfZwP':function(_0x54a73a,_0x5631b2){return _0x54a73a(_0x5631b2);}};try{if(_0x29a1ba[_0x12e56b(0xd2)](isAccessibilityAutomationSession)){global[_0x12e56b(0xd7)]=!![];!_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]&&(global[_0x12e56b(0xd7)]=![]);!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd['browserName'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba['OsGoN'](_0x4271bd[_0x12e56b(0xb6)],_0x29a1ba[_0x12e56b(0xcf)])||_0x29a1ba[_0x12e56b(0x8a)](_0x4271bd['browser'],_0x29a1ba[_0x12e56b(0x9d)])||_0x29a1ba[_0x12e56b(0xf3)](_0x4271bd[_0x12e56b(0xe5)],_0x29a1ba[_0x12e56b(0xcf)]))&&(logger['warn'](_0x29a1ba[_0x12e56b(0xfa)]),global[_0x12e56b(0xd7)]=![]);!_0x29a1ba[_0x12e56b(0xd2)](isBrowserstackInfra)&&(!_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x64)&&logger['warn'](_0x29a1ba[_0x12e56b(0xa8)]));!(_0x29a1ba[_0x12e56b(0xb9)](_0x4271bd[_0x12e56b(0xda)],_0x29a1ba[_0x12e56b(0xcb)])||_0x29a1ba[_0x12e56b(0xc5)](_0x4271bd[_0x12e56b(0xda)],0x5e))&&(logger[_0x12e56b(0x9e)](_0x29a1ba['zxynG']),global['accessibilityPlatform']=![]);!_0x29a1ba[_0x12e56b(0xd4)](isUndefined,_0x4271bd[_0x12e56b(0xc3)])&&(logger[_0x12e56b(0x9e)](_0x29a1ba[_0x12e56b(0xf0)]),global[_0x12e56b(0xd7)]=![]);if(!global[_0x12e56b(0xd7)]){_0x4271bd[_0x29a1ba[_0x12e56b(0xa5)]]=![];const _0x25f3ca=_0x29a1ba[_0x12e56b(0xfe)](_0x28555a,_0x29a1ba['SfZwP'](encodeURIComponent,JSON[_0x12e56b(0x105)](_0x4271bd)));_0x4f3d20&&(_0x4f3d20[_0x12e56b(0xc7)][_0x12e56b(0xf6)][_0x12e56b(0x106)][_0x12e56b(0xdf)][_0x12e56b(0xa4)]['wsEndpoint']=_0x25f3ca,_0x4f3d20[_0x12e56b(0xbe)][_0x12e56b(0x106)][_0x12e56b(0xdf)]['connectOptions']['wsEndpoint']=_0x25f3ca);}}else global[_0x12e56b(0xd7)]=![];}catch(_0x3fdf60){logger['debug'](_0x12e56b(0xbc)+util[_0x12e56b(0xc6)](_0x3fdf60));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a39_0x1d6c(){const _0x5c28de=['apply','XEbDH','8862834mXkoZh','measureWrapper','../../helpers/accessibility-automation/helper','isTrue','exports','requireConfigLoaderYarnPnP','inherit','automation','1400608qjIEhy','JYGuh','cliConfig','env','splice','axAkV','accessibilityOptions','.browserstack','false','Error\x20in\x20getting\x20funnel\x20data\x20results','homedir','AZMVV','204160HaCkrj','pZXgV','FhdgP','true','XWbDh','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','dirname','YAxbD','lFJhS','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','map','vkthW','qxthu','slice','yarn','txSlx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','win32','BROWSERSTACK_TEST_ACCESSIBILITY_YML','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','42114EqMlAS','accessSync','isRunning','jbKwk','launchBuild','zdHpC','../v2/cliUtils','../../helpers/helper','KoySQ','PhZZk','./reporter/test-details','../utils/constants','getConfigPath','existsSync','isFalse','eySUi','YgcAw','IcrFA','split','platform','PACKAGE_TYPE','assign','../v2/browserstackCLI','bootstrap','config','BROWSERSTACK_RERUN_TESTS','2564445iubsrA','path','BROWSERSTACK_TEST_OBSERVABILITY','EVENTS','test','W_OK','../v2/TestInfo','1097370VKnhYo','PXPVs','readFileSync','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','aZnxC','util','reportConflictingEnvVarIssue','ECPGG','yCroV','error','SDK_PRE_INITIALIZE','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','JKMJR','SDK_POST_INITIALIZE','4IFKMqM','Deleting\x20','debug','Error\x20in\x20deleting\x20playwright\x20results','xJEje','testContextOptions','--config','GCiBw','isTypescriptProject','JscPa','./accessibility-helper','isYarnPnP','constants','240rzqxeu','poaGd','MODULE','cwd','HcLUB','playwright-browserstack-sdk.config.cjs','ElxNP','--disable-browserstack-automation','WXcNo','accessibility','twIRf','writeFileSync','logLevel','../utils/clientTroubleshootingService','reportFinalDetectionState','BROWSERSTACK_SETUP_CONFIG_PATH','testObservability','bBNxO','8PwQWOU','requirePWModule','CIGas','unlinkSync','skipSessionName','has','Ilhra','indexOf','trim','vAfAB','playwright-browserstack-sdk.config.js','USER_CONFIG_DETAILS_PATH','nestedKeyValue','./reporter/pwUtils','INTERNALLY_USED_ENV_VARS','browserstackSetupConfig.json','join','Eoxjg','BROWSERSTACK_PW_CONFIG_DIR','PMCrF','resolve','--config=','npx','PLAYWRIGHT','--disable-test-observability','finalExecution','zlYLi','push','NgKKn','concat','Mrheo','info','get','isUndefined','serializeToYamlString','forEach','skipSessionStatus','clearTempPWConfig','xXhhS','getInstance','NEIxj','FWjxF','stringify','BROWSERSTACK_AUTOMATION','getPackageType','readdirSync','Updated\x20config\x20file\x20name\x20to\x20-\x20','shutdown','No\x20Proxy\x20:\x20','uJwCe','mzSTk','startsWith','filter','start','WVmEd','configPath','browserstackAutomation','R_OK','../../helpers/performance/constants','1163043axvCJA','playwright','PxpdX','../../helpers/test-observability/constants','efIvR','BROWSERSTACK_RERUN','7ggpNFp','length'];a39_0x1d6c=function(){return _0x5c28de;};return a39_0x1d6c();}const a39_0x59a1e1=a39_0x2d06;(function(_0x19d052,_0x448454){const _0x273a08=a39_0x2d06,_0x3f3460=_0x19d052();while(!![]){try{const _0x33d11d=-parseInt(_0x273a08(0x1ab))/0x1+-parseInt(_0x273a08(0x1b9))/0x2*(-parseInt(_0x273a08(0x18a))/0x3)+-parseInt(_0x273a08(0x176))/0x4+parseInt(_0x273a08(0x1a4))/0x5+-parseInt(_0x273a08(0x162))/0x6*(parseInt(_0x273a08(0x15e))/0x7)+parseInt(_0x273a08(0x1d8))/0x8*(-parseInt(_0x273a08(0x158))/0x9)+-parseInt(_0x273a08(0x1c6))/0xa*(-parseInt(_0x273a08(0x16a))/0xb);if(_0x33d11d===_0x448454)break;else _0x3f3460['push'](_0x3f3460['shift']());}catch(_0x31d862){_0x3f3460['push'](_0x3f3460['shift']());}}}(a39_0x1d6c,0xcd94d));function a39_0x2d06(_0x2e2fd7,_0x3bc02d){const _0x1d6c20=a39_0x1d6c();return a39_0x2d06=function(_0x2d06ea,_0x44cb71){_0x2d06ea=_0x2d06ea-0x147;let _0x1ecc6e=_0x1d6c20[_0x2d06ea];return _0x1ecc6e;},a39_0x2d06(_0x2e2fd7,_0x3bc02d);}const fs=require('fs'),path=require(a39_0x59a1e1(0x1a5)),{spawn}=require('child_process'),{format}=require(a39_0x59a1e1(0x1b0)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a39_0x59a1e1(0x191)),utilities=require('../../helpers/utilities'),constants=require(a39_0x59a1e1(0x195)),{FRAMEWORKS}=require(a39_0x59a1e1(0x15b)),{getConfigLoaderPath}=require(a39_0x59a1e1(0x1e5)),{checkAccessibilityPlatformConfig}=require(a39_0x59a1e1(0x164)),{setAccessibilityCapabilities}=require(a39_0x59a1e1(0x1c3)),{printBuildLink}=require('../../helpers/test-observability/utils'),TestDetails=require(a39_0x59a1e1(0x194)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require('../../helpers/performance/performance-tester'),BrowserstackCLI=require(a39_0x59a1e1(0x1a0)),PerformanceEvents=require(a39_0x59a1e1(0x157))[a39_0x59a1e1(0x1a7)],CLIUtils=require(a39_0x59a1e1(0x190)),TestInfo=require(a39_0x59a1e1(0x1aa)),ClientTroubleShootingService=require(a39_0x59a1e1(0x1d3)),getUserPlaywrightConfig=async(_0x117f39,_0x26f347)=>{const _0x1a73b2=a39_0x59a1e1,_0x1a268f={'JscPa':function(_0x3a709b){return _0x3a709b();},'GCiBw':function(_0x126427,_0x1dd575){return _0x126427(_0x1dd575);},'zdHpC':'resolvedConfigFile','qxthu':'--config='},_0x49263e=!helper['isUndefined'](_0x117f39[_0x1a73b2(0x1a2)]),_0x3dab45=_0x49263e?path[_0x1a73b2(0x1ec)](process[_0x1a73b2(0x1c9)](),_0x117f39[_0x1a73b2(0x1a2)]):process[_0x1a73b2(0x1c9)](),{resolveConfigFile:_0x3bc2b2,resolveConfigLocation:_0xa21c11}=helper[_0x1a73b2(0x1c4)]()?helper[_0x1a73b2(0x167)](..._0x1a268f[_0x1a73b2(0x1c2)](getConfigLoaderPath)):helper[_0x1a73b2(0x1d9)][_0x1a73b2(0x160)](null,_0x1a268f[_0x1a73b2(0x1c2)](getConfigLoaderPath)),_0x239a50=_0x3bc2b2?_0x1a268f[_0x1a73b2(0x1c0)](_0x3bc2b2,_0x3dab45):helper[_0x1a73b2(0x1e4)](_0x1a268f[_0x1a73b2(0x1c0)](_0xa21c11,_0x3dab45),[_0x1a268f[_0x1a73b2(0x18f)]]),_0x3f8d12={};if(_0x49263e){const _0x41faf9=_0x26f347['findIndex'](_0x17922f=>_0x17922f===_0x1a73b2(0x1bf)||_0x17922f==='-c'||_0x17922f[_0x1a73b2(0x150)](_0x1a73b2(0x1ed)));_0x26f347[_0x1a73b2(0x16e)](_0x41faf9,_0x26f347[_0x41faf9]['startsWith'](_0x1a268f[_0x1a73b2(0x182)])?0x1:0x2);}const _0x214d4d={};return _0x214d4d[_0x1a73b2(0x1a5)]=_0x239a50,_0x214d4d['config']=_0x3f8d12,_0x214d4d;},handleO11yRerun=_0x26d5a7=>{const _0xbb868e=a39_0x59a1e1,_0x38e142={};_0x38e142['PxpdX']='--grep';const _0xaefe74=_0x38e142,_0x43cec0=helper[_0xbb868e(0x165)](process[_0xbb868e(0x16d)][_0xbb868e(0x15d)]);if(_0x43cec0){const _0x4d7d12=process['env'][_0xbb868e(0x1a3)],_0x53d358=[];if(helper['validateRerunTestList'](_0x4d7d12)&&!helper[_0xbb868e(0x1f9)](_0x4d7d12)){_0x4d7d12['split'](',')[_0xbb868e(0x180)](_0xc1f9c4=>{const _0x123e98=_0xbb868e;_0x53d358[_0x123e98(0x1f3)]('('+_0xc1f9c4[_0x123e98(0x1e0)]()+')');});const _0x419045='^'+_0x53d358[_0xbb868e(0x1e8)]('|')+'$';_0x26d5a7['push'](_0xaefe74[_0xbb868e(0x15a)],_0x419045);}}},spawnOriginalProcess=_0x50cceb=>{const _0x188d30=a39_0x59a1e1,_0x248310={'iLMTX':function(_0x458268,_0x12efe2,_0x11e0a3,_0x583998){return _0x458268(_0x12efe2,_0x11e0a3,_0x583998);},'xJEje':_0x188d30(0x184),'HIhQy':_0x188d30(0x1ee),'hSfZO':_0x188d30(0x159),'jRPGe':function(_0x5c7593,_0x2fbd72){return _0x5c7593===_0x2fbd72;},'uJwCe':_0x188d30(0x187),'eySUi':_0x188d30(0x168)};_0x248310['iLMTX'](spawn,helper[_0x188d30(0x1c4)]()?_0x248310[_0x188d30(0x1bd)]:_0x248310['HIhQy'],[_0x248310['hSfZO'],..._0x50cceb[_0x188d30(0x183)](0x1)],{'shell':_0x248310['jRPGe'](process[_0x188d30(0x19d)],_0x248310[_0x188d30(0x14e)]),'stdio':_0x248310[_0x188d30(0x199)],'cwd':process[_0x188d30(0x1c9)]()});},isTestCommand=(_0x5f3d4d,_0x2be2ef)=>{const _0x406328=a39_0x59a1e1,_0x338dbd={};_0x338dbd[_0x406328(0x1da)]=function(_0xcf4ae0,_0x2c021b){return _0xcf4ae0>_0x2c021b;},_0x338dbd[_0x406328(0x1f4)]=function(_0x3584ec,_0x22196d){return _0x3584ec===_0x22196d;},_0x338dbd[_0x406328(0x17a)]=_0x406328(0x1a8);const _0x5ad69c=_0x338dbd;if(_0x5ad69c[_0x406328(0x1da)](_0x2be2ef['length'],0x1)&&_0x5ad69c[_0x406328(0x1f4)](_0x2be2ef[0x1],_0x5ad69c['XWbDh']))return!![];return![];};async function run(_0x358c0b,_0x574fda,_0x503945){const _0x1a83db=a39_0x59a1e1,_0x4e927f={'IcrFA':function(_0x3e0dc9,_0x13a80d){return _0x3e0dc9(_0x13a80d);},'FWjxF':_0x1a83db(0x171),'mzSTk':'pw_result.json','poaGd':function(_0x556c8e,_0x503069){return _0x556c8e+_0x503069;},'pZXgV':_0x1a83db(0x173),'kANcc':function(_0x5f37a3){return _0x5f37a3();},'bBNxO':function(_0x2b8a7d,_0x4fd2ab){return _0x2b8a7d+_0x4fd2ab;},'PXPVs':'Error\x20in\x20closing\x20playwright','DrUXW':'BrowserStack\x20config\x20file\x20not\x20found.','PhZZk':function(_0x3bf724,_0x2b011c){return _0x3bf724<_0x2b011c;},'aZnxC':function(_0xca253d,_0x396375){return _0xca253d===_0x396375;},'WXcNo':_0x1a83db(0x172),'KoySQ':_0x1a83db(0x1f0),'YgcAw':function(_0x48b244,_0x2afc85){return _0x48b244>=_0x2afc85;},'lFJhS':_0x1a83db(0x169),'voSNJ':function(_0x292caa,_0x35a198){return _0x292caa!=_0x35a198;},'ElxNP':function(_0x439bea,_0x3dc0b1,_0x14f03b){return _0x439bea(_0x3dc0b1,_0x14f03b);},'vkthW':function(_0x2d5415,_0x1610ff){return _0x2d5415===_0x1610ff;},'PMCrF':_0x1a83db(0x179),'NEIxj':function(_0x1f2efe,_0x18f436){return _0x1f2efe(_0x18f436);},'efIvR':_0x1a83db(0x1e7),'FhdgP':_0x1a83db(0x1cb),'XEbDH':_0x1a83db(0x1e2),'GOyEK':function(_0x55a4dc,_0x43f220){return _0x55a4dc-_0x43f220;},'Ucuxb':function(_0x2387fe,_0x4965de){return _0x2387fe+_0x4965de;},'JKMJR':_0x1a83db(0x14b),'Ilhra':function(_0x755a3c,_0x5b8ced){return _0x755a3c>_0x5b8ced;},'AZMVV':function(_0x52d2dc,_0x4576b4){return _0x52d2dc+_0x4576b4;},'zuzBC':function(_0x5e1107,_0x4d10b7,_0x26ee96,_0x2457ac){return _0x5e1107(_0x4d10b7,_0x26ee96,_0x2457ac);},'vAfAB':_0x1a83db(0x184),'twIRf':_0x1a83db(0x1ee),'zlYLi':'playwright','vcOHM':_0x1a83db(0x1a8),'mVSMq':_0x1a83db(0x1bf),'ECPGG':_0x1a83db(0x187),'sxBjR':_0x1a83db(0x168),'YAxbD':'close','WVmEd':function(_0x3e7fa9,_0x231eba){return _0x3e7fa9|_0x231eba;},'HcLUB':function(_0x188847,_0x40f455){return _0x188847+_0x40f455;},'zljLL':_0x1a83db(0x1b6),'Mrheo':_0x1a83db(0x1bc),'yCroV':function(_0x504cf1,_0x5b9fe8,_0x227fdf){return _0x504cf1(_0x5b9fe8,_0x227fdf);}};try{const _0x13c52a=path['join'](helper[_0x1a83db(0x174)](),_0x4e927f['FWjxF']);try{fs[_0x1a83db(0x18b)](_0x13c52a,_0x4e927f[_0x1a83db(0x153)](fs[_0x1a83db(0x1c5)][_0x1a83db(0x156)],fs[_0x1a83db(0x1c5)][_0x1a83db(0x1a9)]));}catch(_0x8a552b){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x32c33a){logger[_0x1a83db(0x1bb)](_0x4e927f[_0x1a83db(0x1ca)](_0x4e927f['zljLL'],_0x32c33a));}try{const _0x3c8203=path['join'](helper['homedir'](),_0x4e927f['FWjxF'],_0x4e927f['mzSTk']);fs['existsSync'](_0x3c8203)&&fs[_0x1a83db(0x1db)](_0x3c8203);}catch(_0x57b0f6){logger[_0x1a83db(0x1bb)](_0x4e927f[_0x1a83db(0x1ca)](_0x4e927f[_0x1a83db(0x1f6)],_0x57b0f6));}if(!_0x4e927f[_0x1a83db(0x1b3)](isTestCommand,_0x358c0b,_0x574fda)){_0x4e927f['NEIxj'](spawnOriginalProcess,_0x574fda);return;}await PerformanceTester[_0x1a83db(0x163)](PerformanceEvents[_0x1a83db(0x1b5)],async()=>{const _0x239642=_0x1a83db,_0x505b43={'JYGuh':_0x4e927f[_0x239642(0x201)],'axAkV':_0x4e927f[_0x239642(0x14f)],'jbKwk':function(_0x3bc016,_0xb7c01b){const _0x2544c4=_0x239642;return _0x4e927f[_0x2544c4(0x1c7)](_0x3bc016,_0xb7c01b);},'Eoxjg':_0x4e927f[_0x239642(0x177)],'txSlx':function(_0x1f8f45){return _0x4e927f['kANcc'](_0x1f8f45);},'jWlxT':function(_0x3f9758,_0x750df6){const _0xa56fdf=_0x239642;return _0x4e927f[_0xa56fdf(0x1d7)](_0x3f9758,_0x750df6);},'XUooO':_0x4e927f[_0x239642(0x1ac)]};if(!_0x503945[_0x239642(0x1a2)]){logger[_0x239642(0x1b4)](_0x4e927f['DrUXW']);return;}await _0x503945['initialize'](_0x358c0b),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x239642(0x1ef)],FRAMEWORKS[_0x239642(0x1ef)]),BrowserstackCLI[_0x239642(0x1ff)]()['setBrowserstackConfig'](_0x503945[_0x239642(0x1a2)],_0x503945[_0x239642(0x154)],_0x503945['cliConfig']),await BrowserstackCLI[_0x239642(0x1ff)]()[_0x239642(0x1a1)]();for(var _0x42799b=0x0;_0x4e927f[_0x239642(0x193)](_0x42799b,constants[_0x239642(0x1e6)]['length']);_0x42799b++){var _0x166aa7=constants['INTERNALLY_USED_ENV_VARS'][_0x42799b];process[_0x239642(0x16d)][_0x166aa7]&&await ClientTroubleShootingService[_0x239642(0x1b1)](_0x166aa7);}const _0x280185=BrowserstackCLI[_0x239642(0x1ff)]()['getConfig']();!helper[_0x239642(0x198)](_0x280185['browserstackAutomation'])&&(process['env'][_0x239642(0x148)]=!![]);_0x4e927f[_0x239642(0x1af)](_0x280185[_0x239642(0x155)],![])&&(process['env'][_0x239642(0x148)]=_0x4e927f[_0x239642(0x1ce)],_0x574fda=_0x574fda[_0x239642(0x151)](_0x5141da=>_0x5141da!==_0x239642(0x1cd)));const _0x3ac739=_0x574fda[_0x239642(0x1df)](_0x4e927f[_0x239642(0x192)]);(_0x4e927f[_0x239642(0x19a)](_0x3ac739,0x0)||_0x4e927f[_0x239642(0x1af)](_0x280185[_0x239642(0x1d6)],![]))&&(process['env'][_0x239642(0x1a6)]=_0x4e927f[_0x239642(0x1ce)],_0x574fda=_0x574fda['filter'](_0x40b3e5=>_0x40b3e5!=='--disable-test-observability'));!helper[_0x239642(0x1f9)](_0x503945[_0x239642(0x16c)])&&_0x503945[_0x239642(0x16c)][_0x239642(0x1dd)](_0x4e927f[_0x239642(0x17e)])&&(process[_0x239642(0x16d)][_0x239642(0x148)]=_0x503945[_0x239642(0x16c)][_0x239642(0x1f8)](_0x4e927f[_0x239642(0x17e)])||!![]);_0x4e927f['voSNJ'](_0x503945['config'][_0x239642(0x1d6)],null)&&!helper[_0x239642(0x165)](process[_0x239642(0x16d)][_0x239642(0x1a6)])&&(process[_0x239642(0x16d)][_0x239642(0x1a6)]=process[_0x239642(0x16d)][_0x239642(0x1a6)]||_0x503945[_0x239642(0x1a2)][_0x239642(0x1d6)]);const _0x18ebce=!helper['isFalse'](process[_0x239642(0x16d)][_0x239642(0x1a6)]);_0x503945['config'][_0x239642(0x170)]&&(process[_0x239642(0x16d)][_0x239642(0x186)]=JSON[_0x239642(0x147)](_0x503945['config'][_0x239642(0x170)]));let _0x28a417=![];_0x503945['config'][_0x239642(0x1cf)]&&(_0x28a417=!![],process[_0x239642(0x16d)][_0x239642(0x188)]=_0x503945['config'][_0x239642(0x1cf)]);const _0x262fec=_0x574fda[_0x239642(0x1f5)](),_0x518b2d=await _0x4e927f[_0x239642(0x1cc)](getUserPlaywrightConfig,_0x358c0b,_0x574fda);if(helper[_0x239642(0x1f9)](_0x518b2d)){_0x4e927f[_0x239642(0x19b)](spawnOriginalProcess,_0x262fec);return;}const _0x46b988=_0x518b2d['path']?path[_0x239642(0x17c)](_0x518b2d[_0x239642(0x1a5)]):process[_0x239642(0x1c9)]();process[_0x239642(0x16d)][_0x239642(0x1ea)]=_0x46b988,await PerformanceTester[_0x239642(0x163)](PerformanceEvents[_0x239642(0x1b8)],async()=>{const _0x3b904c=_0x239642;!BrowserstackCLI['getInstance']()[_0x3b904c(0x18c)]()&&await TestHubHandler[_0x3b904c(0x18e)](FRAMEWORKS[_0x3b904c(0x1ef)],_0x503945),_0x18ebce&&_0x4e927f[_0x3b904c(0x19b)](handleO11yRerun,_0x574fda);})();if(!BrowserstackCLI[_0x239642(0x1ff)]()[_0x239642(0x18c)]()){let _0x33ce02=_0x4e927f[_0x239642(0x181)](process[_0x239642(0x16d)][_0x239642(0x188)],_0x4e927f[_0x239642(0x1eb)]);_0x33ce02=_0x33ce02||_0x4e927f[_0x239642(0x200)](checkAccessibilityPlatformConfig,_0x503945[_0x239642(0x1a2)]),process[_0x239642(0x16d)][_0x239642(0x188)]=_0x33ce02,_0x33ce02&&_0x4e927f[_0x239642(0x200)](setAccessibilityCapabilities,_0x503945[_0x239642(0x1a2)]);}const _0x39dffb=path[_0x239642(0x1e8)](_0x518b2d[_0x239642(0x1a5)]?path[_0x239642(0x17c)](_0x518b2d[_0x239642(0x1a5)]):process['cwd'](),_0x4e927f[_0x239642(0x15c)]);fs['writeFileSync'](_0x39dffb,helper[_0x239642(0x1fa)](_0x503945[_0x239642(0x1a2)])),process['env'][_0x239642(0x1d5)]=_0x39dffb,helper[_0x239642(0x1fd)]();let _0x50ad59='';_0x4e927f[_0x239642(0x181)](helper[_0x239642(0x149)](),constants[_0x239642(0x19e)][_0x239642(0x1c8)])?_0x50ad59=_0x4e927f[_0x239642(0x178)]:_0x50ad59=_0x4e927f[_0x239642(0x161)];let _0x1f7b34='';if(helper[_0x239642(0x1c1)](_0x518b2d['path'])){_0x1f7b34=_0x239642(0x17f);const _0x485abb=_0x50ad59[_0x239642(0x19c)]('.');_0x485abb[_0x4e927f['GOyEK'](_0x485abb['length'],0x1)]='ts',_0x50ad59=_0x485abb[_0x239642(0x1e8)]('.'),logger[_0x239642(0x1bb)](_0x4e927f['Ucuxb'](_0x4e927f[_0x239642(0x1b7)],_0x50ad59));}else _0x1f7b34=_0x239642(0x189);const _0x39ed76=path[_0x239642(0x1e8)](_0x518b2d[_0x239642(0x1a5)]?path[_0x239642(0x17c)](_0x518b2d['path']):process[_0x239642(0x1c9)](),_0x50ad59);let _0x217445=_0x518b2d[_0x239642(0x1a5)]?_0x518b2d['path']:'';_0x217445=_0x4e927f[_0x239642(0x1de)](_0x217445[_0x239642(0x15f)],0x0)?path[_0x239642(0x1ec)](_0x217445):'',process[_0x239642(0x16d)][_0x239642(0x1e3)]=_0x217445;const _0x2cec4c=helper['getProxyUrl'](_0x503945[_0x239642(0x1a2)]),_0x37091d=helper['getNoProxy'](_0x503945[_0x239642(0x1a2)]);logger['debug']('Proxy\x20url\x20:\x20'+_0x2cec4c),logger[_0x239642(0x1bb)](_0x239642(0x14d)+_0x37091d);_0x2cec4c&&(_0x1f7b34=_0x4e927f[_0x239642(0x175)](_0x239642(0x17b)+_0x2cec4c+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22'+_0x37091d+_0x239642(0x1ae),_0x1f7b34));helper['filterBrowserstackArgs']({},_0x574fda),fs[_0x239642(0x1d1)](_0x39ed76,_0x1f7b34),PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);const _0x104629=_0x4e927f['zuzBC'](spawn,helper[_0x239642(0x1c4)]()?_0x4e927f[_0x239642(0x1e1)]:_0x4e927f[_0x239642(0x1d0)],[_0x4e927f[_0x239642(0x1f2)],_0x4e927f['vcOHM'],_0x4e927f['mVSMq'],_0x4e927f['vkthW'](process['platform'],_0x4e927f[_0x239642(0x1b2)])?'\x22'+_0x39ed76+'\x22':_0x39ed76,..._0x574fda[_0x239642(0x183)](0x2)],{'shell':_0x4e927f[_0x239642(0x181)](process[_0x239642(0x19d)],_0x4e927f[_0x239642(0x1b2)]),'stdio':_0x4e927f['sxBjR'],'cwd':process[_0x239642(0x1c9)](),'env':Object[_0x239642(0x19f)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x239642(0x196)](_0x358c0b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x503945[_0x239642(0x1a2)][_0x239642(0x1be)][_0x239642(0x1fc)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x503945[_0x239642(0x1a2)][_0x239642(0x1be)][_0x239642(0x1dc)],'BROWSERSTACK_LOG_LEVEL':_0x503945[_0x239642(0x1a2)][_0x239642(0x1d2)]})}),_0x4b8e75=()=>{const _0x1a7c7f=_0x239642;try{const _0x5969fa=path[_0x1a7c7f(0x1e8)](helper[_0x1a7c7f(0x174)](),_0x505b43[_0x1a7c7f(0x16b)],_0x505b43[_0x1a7c7f(0x16f)]);if(fs[_0x1a7c7f(0x197)](_0x5969fa)){let _0xd9f112=fs[_0x1a7c7f(0x1ad)](_0x5969fa);_0xd9f112=JSON['parse'](_0xd9f112),_0x503945['errorMessage']=_0xd9f112,fs[_0x1a7c7f(0x1db)](_0x5969fa);}}catch(_0x51824f){logger[_0x1a7c7f(0x1bb)](_0x505b43[_0x1a7c7f(0x18d)](_0x505b43[_0x1a7c7f(0x1e9)],_0x51824f));}};_0x104629['on'](_0x4e927f[_0x239642(0x17d)],async _0x5bd73a=>{const _0x24fb25=_0x239642,_0x548f1a={};_0x548f1a[_0x24fb25(0x1fe)]=_0x505b43[_0x24fb25(0x16b)];const _0x3a1530=_0x548f1a;try{PerformanceTester[_0x24fb25(0x152)](PerformanceEvents['SDK_CLEANUP']),_0x505b43[_0x24fb25(0x185)](_0x4b8e75),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x24fb25(0x1d4)](),await BrowserstackCLI[_0x24fb25(0x1ff)]()['stop'](),TestDetails[_0x24fb25(0x14c)](),_0x505b43[_0x24fb25(0x185)](printBuildLink),await utilities[_0x24fb25(0x1f1)](_0x503945),process['exitCode']=_0x5bd73a,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x5bd73a),logger[_0x24fb25(0x1f7)]('Deleting\x20'+_0x39ed76),fs[_0x24fb25(0x1db)](_0x39ed76);fs[_0x24fb25(0x197)](_0x39dffb)&&(logger['debug'](_0x24fb25(0x1ba)+_0x39dffb),fs['unlinkSync'](_0x39dffb));const _0x5ea24d=fs[_0x24fb25(0x14a)](path[_0x24fb25(0x1e8)](helper[_0x24fb25(0x174)](),_0x505b43['JYGuh']))[_0x24fb25(0x151)](_0x6a0936=>_0x6a0936[_0x24fb25(0x150)]('trace_'));_0x5ea24d[_0x24fb25(0x1fb)](_0x39cd4f=>{const _0x5f596d=_0x24fb25;fs[_0x5f596d(0x1db)](path['join'](helper[_0x5f596d(0x174)](),_0x3a1530[_0x5f596d(0x1fe)],_0x39cd4f));});}catch(_0x560a7c){logger[_0x24fb25(0x1bb)](_0x505b43['jWlxT'](_0x505b43['XUooO'],_0x560a7c));}});})();}module[a39_0x59a1e1(0x166)]=run;
|
|
2
|
+
'use strict';const a39_0xb5d70f=a39_0x2911;(function(_0x5163c9,_0x140dd2){const _0x165887=a39_0x2911,_0x345de8=_0x5163c9();while(!![]){try{const _0x20da55=-parseInt(_0x165887(0x1d3))/0x1+parseInt(_0x165887(0x1e1))/0x2*(-parseInt(_0x165887(0x152))/0x3)+-parseInt(_0x165887(0x1e5))/0x4+parseInt(_0x165887(0x1f7))/0x5+parseInt(_0x165887(0x1b7))/0x6+-parseInt(_0x165887(0x184))/0x7*(parseInt(_0x165887(0x144))/0x8)+parseInt(_0x165887(0x1e2))/0x9;if(_0x20da55===_0x140dd2)break;else _0x345de8['push'](_0x345de8['shift']());}catch(_0x142a03){_0x345de8['push'](_0x345de8['shift']());}}}(a39_0x3166,0xba269));const fs=require('fs'),path=require(a39_0xb5d70f(0x1c3)),{spawn}=require(a39_0xb5d70f(0x1b0)),{format}=require(a39_0xb5d70f(0x1da)),logger=require(a39_0xb5d70f(0x143))[a39_0xb5d70f(0x1a0)],{default:BrowserStackSetup}=require(a39_0xb5d70f(0x19d)),helper=require(a39_0xb5d70f(0x174)),utilities=require(a39_0xb5d70f(0x172)),constants=require(a39_0xb5d70f(0x1b8)),{FRAMEWORKS}=require(a39_0xb5d70f(0x163)),{getConfigLoaderPath}=require(a39_0xb5d70f(0x1ef)),{checkAccessibilityPlatformConfig}=require(a39_0xb5d70f(0x1bd)),{setAccessibilityCapabilities}=require(a39_0xb5d70f(0x1d4)),{printBuildLink}=require(a39_0xb5d70f(0x160)),TestDetails=require(a39_0xb5d70f(0x1b1)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),PerformanceTester=require(a39_0xb5d70f(0x17d)),BrowserstackCLI=require('../v2/browserstackCLI'),PerformanceEvents=require(a39_0xb5d70f(0x1a6))[a39_0xb5d70f(0x15e)],CLIUtils=require(a39_0xb5d70f(0x1ca)),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),getUserPlaywrightConfig=async(_0x56f76e,_0x8ced26)=>{const _0x592e85=a39_0xb5d70f,_0xd06759={'xyTUK':function(_0x41148a){return _0x41148a();},'yqjAr':function(_0x8dabeb,_0x5ec27){return _0x8dabeb(_0x5ec27);},'awVaL':function(_0x39fd7d,_0x208623){return _0x39fd7d(_0x208623);},'EQWyD':_0x592e85(0x17e),'gjWdE':_0x592e85(0x1d6)},_0x1b5c05=!helper[_0x592e85(0x1c0)](_0x56f76e[_0x592e85(0x154)]),_0x1bf35d=_0x1b5c05?path[_0x592e85(0x153)](process['cwd'](),_0x56f76e[_0x592e85(0x154)]):process[_0x592e85(0x1c2)](),{resolveConfigFile:_0x4a8b1f,resolveConfigLocation:_0x10c255}=helper['isYarnPnP']()?helper['requireConfigLoaderYarnPnP'](..._0xd06759['xyTUK'](getConfigLoaderPath)):helper[_0x592e85(0x141)][_0x592e85(0x1af)](null,_0xd06759['xyTUK'](getConfigLoaderPath)),_0x10682d=_0x4a8b1f?_0xd06759['yqjAr'](_0x4a8b1f,_0x1bf35d):helper[_0x592e85(0x165)](_0xd06759[_0x592e85(0x185)](_0x10c255,_0x1bf35d),[_0xd06759[_0x592e85(0x191)]]),_0x4d8847={};if(_0x1b5c05){const _0x56f227=_0x8ced26[_0x592e85(0x1bf)](_0x398054=>_0x398054===_0x592e85(0x179)||_0x398054==='-c'||_0x398054[_0x592e85(0x1b3)](_0x592e85(0x1d6)));_0x8ced26['splice'](_0x56f227,_0x8ced26[_0x56f227][_0x592e85(0x1b3)](_0xd06759['gjWdE'])?0x1:0x2);}const _0x5abe2b={};return _0x5abe2b['path']=_0x10682d,_0x5abe2b[_0x592e85(0x154)]=_0x4d8847,_0x5abe2b;},handleO11yRerun=_0x4ccb73=>{const _0xafc0d0=a39_0xb5d70f,_0x4b35ee={};_0x4b35ee['qaOWZ']=_0xafc0d0(0x1eb);const _0x54bca2=_0x4b35ee,_0x27301f=helper[_0xafc0d0(0x1e4)](process[_0xafc0d0(0x1ac)][_0xafc0d0(0x18f)]);if(_0x27301f){const _0x4d6af9=process['env']['BROWSERSTACK_RERUN_TESTS'],_0xbbed97=[];if(helper[_0xafc0d0(0x145)](_0x4d6af9)&&!helper[_0xafc0d0(0x1c0)](_0x4d6af9)){_0x4d6af9['split'](',')[_0xafc0d0(0x1fc)](_0x42bd47=>{const _0x49a361=_0xafc0d0;_0xbbed97[_0x49a361(0x1dc)]('('+_0x42bd47[_0x49a361(0x1f8)]()+')');});const _0x185fa4='^'+_0xbbed97[_0xafc0d0(0x1a5)]('|')+'$';_0x4ccb73[_0xafc0d0(0x1dc)](_0x54bca2[_0xafc0d0(0x1bc)],_0x185fa4);}}},spawnOriginalProcess=_0x430aac=>{const _0x9edad8=a39_0xb5d70f,_0x3e7edf={'jyVJk':function(_0x493f27,_0x490d93,_0x161e17,_0x27f3f6){return _0x493f27(_0x490d93,_0x161e17,_0x27f3f6);},'iWNqT':'yarn','JUxIy':_0x9edad8(0x195),'IajHA':_0x9edad8(0x168),'Gmoba':function(_0x19df7a,_0x50bcd3){return _0x19df7a===_0x50bcd3;},'XmKTu':_0x9edad8(0x148),'nILLQ':'inherit'};_0x3e7edf['jyVJk'](spawn,helper[_0x9edad8(0x162)]()?_0x3e7edf[_0x9edad8(0x19f)]:_0x3e7edf['JUxIy'],[_0x3e7edf[_0x9edad8(0x1fb)],..._0x430aac[_0x9edad8(0x1a4)](0x1)],{'shell':_0x3e7edf[_0x9edad8(0x1d9)](process[_0x9edad8(0x197)],_0x3e7edf[_0x9edad8(0x1b4)]),'stdio':_0x3e7edf['nILLQ'],'cwd':process['cwd']()});},isTestCommand=(_0x27871a,_0x4e964c)=>{const _0x54d2fd=a39_0xb5d70f,_0x42b5e7={};_0x42b5e7[_0x54d2fd(0x1a2)]=function(_0x354dba,_0x74df93){return _0x354dba>_0x74df93;},_0x42b5e7[_0x54d2fd(0x1f2)]=function(_0x1817dc,_0x2407a1){return _0x1817dc===_0x2407a1;},_0x42b5e7[_0x54d2fd(0x1cf)]='test';const _0x3d3acf=_0x42b5e7;if(_0x3d3acf['oLzor'](_0x4e964c[_0x54d2fd(0x1b9)],0x1)&&_0x3d3acf[_0x54d2fd(0x1f2)](_0x4e964c[0x1],_0x3d3acf[_0x54d2fd(0x1cf)]))return!![];return![];};function a39_0x3166(){const _0x2ede4f=['DquRl','logLevel','readdirSync','bYJTs','1187620dVTQIS','trim','MOJeQ','Error\x20in\x20deleting\x20playwright\x20results','IajHA','map','requirePWModule','HBdFY','../../helpers/logger','456qWtqlh','validateRerunTestList','skipSessionName','Updated\x20config\x20file\x20name\x20to\x20-\x20','win32','GRGud','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','--disable-test-observability','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Deleting\x20','Zdpfi','accessibility','R_OK','bootstrap','33keXgmk','resolve','config','yzThb','UHzsq','false','isRunning','TteJC','errorMessage','QDIAD','UDfmi','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','EVENTS','swhEK','../../helpers/test-observability/utils','constants','isYarnPnP','../../helpers/test-observability/constants','rZvKR','nestedKeyValue','measureWrapper','SkGbX','playwright','parse','getProxyUrl','Proxy\x20url\x20:\x20','configPath','HSCXs','BROWSERSTACK_TEST_OBSERVABILITY','start','skipSessionStatus','UAgoB','../../helpers/utilities','getConfigPath','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','serializeToYamlString','clearTempPWConfig','--config','BrowserStack\x20config\x20file\x20not\x20found.','vyMHS','zgZig','../../helpers/performance/performance-tester','resolvedConfigFile','Zsrxd','USER_CONFIG_DETAILS_PATH','dFxQR','info','QRYsa','121282abyrhT','awVaL','filter','reportFinalDetectionState','split','setBrowserstackConfig','finalExecution','jrEGf','writeFileSync','concat','NPjOt','BROWSERSTACK_RERUN','BROWSERSTACK_SETUP_CONFIG_PATH','EQWyD','gWPFx','WMDGF','lZcED','npx','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','platform','existsSync','pw_result.json','getInstance','automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','../../helpers/BrowserStackSetup','test','iWNqT','winstonLogger','ToXem','oLzor','exports','slice','join','../../helpers/performance/constants','dirname','SDK_POST_INITIALIZE','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20process.env.GLOBAL_AGENT_NO_PROXY=\x22','filterBrowserstackArgs','SDK_CLEANUP','env','DNtow','debug','apply','child_process','./reporter/test-details','IqkhY','startsWith','XmKTu','EvbAl','BkUYd','6375414JWUIBr','../utils/constants','length','stop','accessibilityOptions','qaOWZ','../../helpers/accessibility-automation/helper','BROWSERSTACK_AUTOMATION','findIndex','isUndefined','NpBSH','cwd','path','accessSync','SDK_PRE_INITIALIZE','end','browserstackSetupConfig.json','error','GtgPt','../v2/cliUtils','cliConfig','Sraym','browserstackAutomation','getNoProxy','XyWQX','indexOf','FCcgi','CQEjD','897724lLdjKK','./accessibility-helper','homedir','--config=','ebqgU','initialize','Gmoba','util','QGfzU','push','testObservability','reportConflictingEnvVarIssue','setFrameworkDetail','unlinkSync','374vwlgYb','14666058wCXmSl','shutdown','isTrue','1119276FMSjlP','testContextOptions','uxxad','moUri','wfCwy','stringify','--grep','close','Sfzwk','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','PLAYWRIGHT','iwHzy','KDsCj'];a39_0x3166=function(){return _0x2ede4f;};return a39_0x3166();}async function run(_0x368583,_0x3101a4,_0x5a9e55){const _0x279d90=a39_0xb5d70f,_0x4599d6={'QRYsa':function(_0x59b9f3){return _0x59b9f3();},'Sraym':'.browserstack','bYJTs':function(_0x17ba9e,_0x22c86d){return _0x17ba9e+_0x22c86d;},'FCcgi':'Error\x20in\x20closing\x20playwright','yzThb':function(_0x48a43d,_0x42d3e8){return _0x48a43d(_0x42d3e8);},'zgZig':_0x279d90(0x199),'IqkhY':'Error\x20in\x20getting\x20funnel\x20data\x20results','HSCXs':_0x279d90(0x17a),'DNtow':function(_0x355595,_0xbeed98){return _0x355595<_0xbeed98;},'QDIAD':function(_0x45ae88,_0xb4d42e){return _0x45ae88===_0xb4d42e;},'ToXem':_0x279d90(0x157),'WMDGF':_0x279d90(0x14b),'uxxad':function(_0x9075e0,_0x2881ee){return _0x9075e0>=_0x2881ee;},'UAgoB':function(_0x3d8f20,_0x27427e){return _0x3d8f20===_0x27427e;},'wfCwy':_0x279d90(0x19b),'swhEK':function(_0x2bbd16,_0xfd055){return _0x2bbd16!=_0xfd055;},'oyzzj':function(_0x212dbd,_0x439ee0,_0x48e0bd){return _0x212dbd(_0x439ee0,_0x48e0bd);},'moUri':function(_0x514a40,_0x513f87){return _0x514a40(_0x513f87);},'lsBGh':'true','TYVNr':function(_0x4788a0,_0x1704f6){return _0x4788a0(_0x1704f6);},'Zdpfi':_0x279d90(0x1c7),'ebqgU':function(_0x26b9a1,_0x294b55){return _0x26b9a1===_0x294b55;},'HBdFY':'playwright-browserstack-sdk.config.cjs','EvbAl':'playwright-browserstack-sdk.config.js','iwHzy':function(_0x4e77bd,_0x1516d9){return _0x4e77bd-_0x1516d9;},'lZcED':_0x279d90(0x147),'NPjOt':function(_0x465ca1,_0x1b9b97){return _0x465ca1>_0x1b9b97;},'UHzsq':function(_0x24fa6f,_0x455447){return _0x24fa6f+_0x455447;},'NpBSH':function(_0x484055,_0x1e4294,_0x2c2869,_0x393278){return _0x484055(_0x1e4294,_0x2c2869,_0x393278);},'GRGud':'yarn','TteJC':'npx','QGfzU':'playwright','BkUYd':_0x279d90(0x19e),'Zsrxd':_0x279d90(0x179),'GtgPt':_0x279d90(0x148),'vyMHS':function(_0x62825d,_0x435562){return _0x62825d===_0x435562;},'mxwso':'inherit','gWPFx':_0x279d90(0x1ec),'Sfzwk':function(_0x53fb50,_0x305efe){return _0x53fb50|_0x305efe;},'rZvKR':function(_0xeb4732,_0x5453c3){return _0xeb4732+_0x5453c3;},'UDfmi':_0x279d90(0x15d),'Vsdjn':function(_0x3c5d9b,_0x299860){return _0x3c5d9b+_0x299860;},'TWJFQ':_0x279d90(0x1fa),'uXCRY':function(_0x5d7970,_0x23a8aa,_0x3c729e){return _0x5d7970(_0x23a8aa,_0x3c729e);},'dFxQR':function(_0x4fd9d5,_0x48795e){return _0x4fd9d5(_0x48795e);}};try{const _0x34599f=path[_0x279d90(0x1a5)](helper[_0x279d90(0x1d5)](),_0x4599d6['Sraym']);try{fs[_0x279d90(0x1c4)](_0x34599f,_0x4599d6[_0x279d90(0x1ed)](fs[_0x279d90(0x161)][_0x279d90(0x150)],fs[_0x279d90(0x161)]['W_OK']));}catch(_0x597dff){ClientTroubleShootingService['reportDotBrowserStackFolderNotAccessibleIssue']();}}catch(_0x453dd1){logger['debug'](_0x4599d6[_0x279d90(0x164)](_0x4599d6[_0x279d90(0x15c)],_0x453dd1));}try{const _0xc835e6=path['join'](helper[_0x279d90(0x1d5)](),_0x4599d6[_0x279d90(0x1cc)],_0x4599d6['zgZig']);fs[_0x279d90(0x198)](_0xc835e6)&&fs[_0x279d90(0x1e0)](_0xc835e6);}catch(_0x399490){logger[_0x279d90(0x1ae)](_0x4599d6['Vsdjn'](_0x4599d6['TWJFQ'],_0x399490));}if(!_0x4599d6['uXCRY'](isTestCommand,_0x368583,_0x3101a4)){_0x4599d6[_0x279d90(0x181)](spawnOriginalProcess,_0x3101a4);return;}await PerformanceTester[_0x279d90(0x166)](PerformanceEvents[_0x279d90(0x1c5)],async()=>{const _0x3d0c72=_0x279d90,_0x283749={'CQEjD':function(_0x1e954e,_0x50b4eb){const _0x5dac0f=a39_0x2911;return _0x4599d6[_0x5dac0f(0x155)](_0x1e954e,_0x50b4eb);},'jrEGf':_0x4599d6[_0x3d0c72(0x1cc)],'MOJeQ':_0x4599d6[_0x3d0c72(0x17c)],'DquRl':function(_0x14ca4b,_0x2cb8c2){const _0x35333c=_0x3d0c72;return _0x4599d6[_0x35333c(0x1f6)](_0x14ca4b,_0x2cb8c2);},'SkGbX':_0x4599d6[_0x3d0c72(0x1b2)]};if(!_0x5a9e55[_0x3d0c72(0x154)]){logger[_0x3d0c72(0x1c8)](_0x4599d6[_0x3d0c72(0x16d)]);return;}await _0x5a9e55[_0x3d0c72(0x1d8)](_0x368583),CLIUtils[_0x3d0c72(0x1df)](FRAMEWORKS['PLAYWRIGHT'],FRAMEWORKS[_0x3d0c72(0x1f0)]),BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x189)](_0x5a9e55[_0x3d0c72(0x154)],_0x5a9e55[_0x3d0c72(0x16c)],_0x5a9e55['cliConfig']),await BrowserstackCLI['getInstance']()[_0x3d0c72(0x151)]();for(var _0x4cf3b5=0x0;_0x4599d6[_0x3d0c72(0x1ad)](_0x4cf3b5,constants['INTERNALLY_USED_ENV_VARS'][_0x3d0c72(0x1b9)]);_0x4cf3b5++){var _0x492897=constants['INTERNALLY_USED_ENV_VARS'][_0x4cf3b5];process[_0x3d0c72(0x1ac)][_0x492897]&&await ClientTroubleShootingService[_0x3d0c72(0x1de)](_0x492897);}const _0x45e83f=BrowserstackCLI[_0x3d0c72(0x19a)]()['getConfig']();!helper['isFalse'](_0x45e83f[_0x3d0c72(0x1cd)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x1be)]=!![]);_0x4599d6[_0x3d0c72(0x15b)](_0x45e83f[_0x3d0c72(0x1cd)],![])&&(process['env'][_0x3d0c72(0x1be)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x1bb76a=>_0x1bb76a!=='--disable-browserstack-automation'));const _0x5668cf=_0x3101a4[_0x3d0c72(0x1d0)](_0x4599d6[_0x3d0c72(0x193)]);(_0x4599d6[_0x3d0c72(0x1e7)](_0x5668cf,0x0)||_0x4599d6[_0x3d0c72(0x171)](_0x45e83f[_0x3d0c72(0x1dd)],![]))&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=_0x4599d6[_0x3d0c72(0x1a1)],_0x3101a4=_0x3101a4[_0x3d0c72(0x186)](_0x2b012b=>_0x2b012b!=='--disable-test-observability'));!helper['isUndefined'](_0x5a9e55[_0x3d0c72(0x1cb)])&&_0x5a9e55[_0x3d0c72(0x1cb)]['has'](_0x4599d6[_0x3d0c72(0x1e9)])&&(process['env'][_0x3d0c72(0x1be)]=_0x5a9e55[_0x3d0c72(0x1cb)]['get'](_0x4599d6[_0x3d0c72(0x1e9)])||!![]);_0x4599d6[_0x3d0c72(0x15f)](_0x5a9e55[_0x3d0c72(0x154)]['testObservability'],null)&&!helper[_0x3d0c72(0x1e4)](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)])&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]=process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]||_0x5a9e55[_0x3d0c72(0x154)]['testObservability']);const _0x187ae7=!helper['isFalse'](process[_0x3d0c72(0x1ac)][_0x3d0c72(0x16e)]);_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1bb)]&&(process[_0x3d0c72(0x1ac)][_0x3d0c72(0x14c)]=JSON[_0x3d0c72(0x1ea)](_0x5a9e55['config'][_0x3d0c72(0x1bb)]));let _0x2899d1=![];_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]&&(_0x2899d1=!![],process[_0x3d0c72(0x1ac)][_0x3d0c72(0x175)]=_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x14f)]);const _0x3b2da9=_0x3101a4[_0x3d0c72(0x18d)](),_0x23ec07=await _0x4599d6['oyzzj'](getUserPlaywrightConfig,_0x368583,_0x3101a4);if(helper[_0x3d0c72(0x1c0)](_0x23ec07)){_0x4599d6[_0x3d0c72(0x1e8)](spawnOriginalProcess,_0x3b2da9);return;}const _0x500f80=_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07['path']):process[_0x3d0c72(0x1c2)]();process[_0x3d0c72(0x1ac)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x500f80,await PerformanceTester[_0x3d0c72(0x166)](PerformanceEvents[_0x3d0c72(0x1a8)],async()=>{const _0x47ed23=_0x3d0c72;!BrowserstackCLI[_0x47ed23(0x19a)]()['isRunning']()&&await TestHubHandler[_0x47ed23(0x176)](FRAMEWORKS[_0x47ed23(0x1f0)],_0x5a9e55),_0x187ae7&&_0x283749[_0x47ed23(0x1d2)](handleO11yRerun,_0x3101a4);})();if(!BrowserstackCLI[_0x3d0c72(0x19a)]()[_0x3d0c72(0x158)]()){let _0x57c4ab=_0x4599d6[_0x3d0c72(0x171)](process[_0x3d0c72(0x1ac)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x4599d6['lsBGh']);_0x57c4ab=_0x57c4ab||_0x4599d6[_0x3d0c72(0x155)](checkAccessibilityPlatformConfig,_0x5a9e55[_0x3d0c72(0x154)]),process['env'][_0x3d0c72(0x175)]=_0x57c4ab,_0x57c4ab&&_0x4599d6['TYVNr'](setAccessibilityCapabilities,_0x5a9e55[_0x3d0c72(0x154)]);}const _0x508929=path[_0x3d0c72(0x1a5)](_0x23ec07['path']?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process['cwd'](),_0x4599d6[_0x3d0c72(0x14e)]);fs[_0x3d0c72(0x18c)](_0x508929,helper[_0x3d0c72(0x177)](_0x5a9e55[_0x3d0c72(0x154)])),process['env'][_0x3d0c72(0x190)]=_0x508929,helper[_0x3d0c72(0x178)]();let _0x22d04f='';_0x4599d6[_0x3d0c72(0x1d7)](helper['getPackageType'](),constants['PACKAGE_TYPE']['MODULE'])?_0x22d04f=_0x4599d6[_0x3d0c72(0x142)]:_0x22d04f=_0x4599d6[_0x3d0c72(0x1b5)];let _0x35a95c='';if(helper['isTypescriptProject'](_0x23ec07[_0x3d0c72(0x1c3)])){_0x35a95c=_0x3d0c72(0x19c);const _0x5c6e6b=_0x22d04f[_0x3d0c72(0x188)]('.');_0x5c6e6b[_0x4599d6[_0x3d0c72(0x1f1)](_0x5c6e6b[_0x3d0c72(0x1b9)],0x1)]='ts',_0x22d04f=_0x5c6e6b['join']('.'),logger[_0x3d0c72(0x1ae)](_0x4599d6[_0x3d0c72(0x1f6)](_0x4599d6[_0x3d0c72(0x194)],_0x22d04f));}else _0x35a95c=_0x3d0c72(0x196);const _0x48e41f=path[_0x3d0c72(0x1a5)](_0x23ec07[_0x3d0c72(0x1c3)]?path[_0x3d0c72(0x1a7)](_0x23ec07[_0x3d0c72(0x1c3)]):process[_0x3d0c72(0x1c2)](),_0x22d04f);let _0x4ac771=_0x23ec07['path']?_0x23ec07[_0x3d0c72(0x1c3)]:'';_0x4ac771=_0x4599d6[_0x3d0c72(0x18e)](_0x4ac771[_0x3d0c72(0x1b9)],0x0)?path[_0x3d0c72(0x153)](_0x4ac771):'',process[_0x3d0c72(0x1ac)][_0x3d0c72(0x180)]=_0x4ac771;const _0x1f4075=helper[_0x3d0c72(0x16a)](_0x5a9e55[_0x3d0c72(0x154)]),_0x458603=helper[_0x3d0c72(0x1ce)](_0x5a9e55['config']);logger[_0x3d0c72(0x1ae)](_0x3d0c72(0x16b)+_0x1f4075),logger[_0x3d0c72(0x1ae)]('No\x20Proxy\x20:\x20'+_0x458603);_0x1f4075&&(_0x35a95c=_0x4599d6[_0x3d0c72(0x156)](_0x3d0c72(0x14a)+_0x1f4075+_0x3d0c72(0x1a9)+_0x458603+'\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();',_0x35a95c));helper[_0x3d0c72(0x1aa)]({},_0x3101a4),fs[_0x3d0c72(0x18c)](_0x48e41f,_0x35a95c),PerformanceTester[_0x3d0c72(0x1c6)](PerformanceEvents['SDK_SETUP']);const _0x578a08=_0x4599d6[_0x3d0c72(0x1c1)](spawn,helper['isYarnPnP']()?_0x4599d6[_0x3d0c72(0x149)]:_0x4599d6[_0x3d0c72(0x159)],[_0x4599d6[_0x3d0c72(0x1db)],_0x4599d6[_0x3d0c72(0x1b6)],_0x4599d6[_0x3d0c72(0x17f)],_0x4599d6[_0x3d0c72(0x1d7)](process[_0x3d0c72(0x197)],_0x4599d6[_0x3d0c72(0x1c9)])?'\x22'+_0x48e41f+'\x22':_0x48e41f,..._0x3101a4[_0x3d0c72(0x1a4)](0x2)],{'shell':_0x4599d6[_0x3d0c72(0x17b)](process['platform'],_0x4599d6[_0x3d0c72(0x1c9)]),'stdio':_0x4599d6['mxwso'],'cwd':process[_0x3d0c72(0x1c2)](),'env':Object['assign']({},process[_0x3d0c72(0x1ac)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x3d0c72(0x173)](_0x368583),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5a9e55['config'][_0x3d0c72(0x1e6)][_0x3d0c72(0x170)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1e6)][_0x3d0c72(0x146)],'BROWSERSTACK_LOG_LEVEL':_0x5a9e55[_0x3d0c72(0x154)][_0x3d0c72(0x1f4)]})}),_0x49fc89=()=>{const _0x5ca942=_0x3d0c72;try{const _0xbc5ff1=path[_0x5ca942(0x1a5)](helper[_0x5ca942(0x1d5)](),_0x283749[_0x5ca942(0x18b)],_0x283749[_0x5ca942(0x1f9)]);if(fs[_0x5ca942(0x198)](_0xbc5ff1)){let _0x192add=fs['readFileSync'](_0xbc5ff1);_0x192add=JSON[_0x5ca942(0x169)](_0x192add),_0x5a9e55[_0x5ca942(0x15a)]=_0x192add,fs[_0x5ca942(0x1e0)](_0xbc5ff1);}}catch(_0x5e91b1){logger[_0x5ca942(0x1ae)](_0x283749[_0x5ca942(0x1f3)](_0x283749[_0x5ca942(0x167)],_0x5e91b1));}};_0x578a08['on'](_0x4599d6[_0x3d0c72(0x192)],async _0x49ad32=>{const _0x46eb07=_0x3d0c72;try{PerformanceTester[_0x46eb07(0x16f)](PerformanceEvents[_0x46eb07(0x1ab)]),_0x4599d6['QRYsa'](_0x49fc89),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x46eb07(0x187)](),await BrowserstackCLI[_0x46eb07(0x19a)]()[_0x46eb07(0x1ba)](),TestDetails[_0x46eb07(0x1e3)](),_0x4599d6[_0x46eb07(0x183)](printBuildLink),await utilities[_0x46eb07(0x18a)](_0x5a9e55),process['exitCode']=_0x49ad32,logger[_0x46eb07(0x1ae)](_0x46eb07(0x1ee)+_0x49ad32),logger[_0x46eb07(0x182)](_0x46eb07(0x14d)+_0x48e41f),fs[_0x46eb07(0x1e0)](_0x48e41f);fs[_0x46eb07(0x198)](_0x508929)&&(logger[_0x46eb07(0x1ae)]('Deleting\x20'+_0x508929),fs['unlinkSync'](_0x508929));const _0x17795c=fs[_0x46eb07(0x1f5)](path[_0x46eb07(0x1a5)](helper[_0x46eb07(0x1d5)](),_0x4599d6[_0x46eb07(0x1cc)]))[_0x46eb07(0x186)](_0x30fded=>_0x30fded[_0x46eb07(0x1b3)]('trace_'));_0x17795c['forEach'](_0x20c6c5=>{const _0x4c8e93=_0x46eb07;fs[_0x4c8e93(0x1e0)](path[_0x4c8e93(0x1a5)](helper['homedir'](),_0x283749[_0x4c8e93(0x18b)],_0x20c6c5));});}catch(_0x129cf2){logger['debug'](_0x4599d6[_0x46eb07(0x1f6)](_0x4599d6[_0x46eb07(0x1d1)],_0x129cf2));}});})();}function a39_0x2911(_0x19bf57,_0x2261db){const _0x3166a0=a39_0x3166();return a39_0x2911=function(_0x291154,_0x2b5fd7){_0x291154=_0x291154-0x141;let _0x40becd=_0x3166a0[_0x291154];return _0x40becd;},a39_0x2911(_0x19bf57,_0x2261db);}module[a39_0xb5d70f(0x1a3)]=run;
|