browserstack-node-sdk 1.46.5 → 1.46.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/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/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/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/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_0x15f948=a33_0x4ddd;(function(_0x2df362,_0x2806a7){const _0x54e34b=a33_0x4ddd,_0x2feb0f=_0x2df362();while(!![]){try{const _0xbb106b=-parseInt(_0x54e34b(0x20c))/0x1*(parseInt(_0x54e34b(0x1ef))/0x2)+-parseInt(_0x54e34b(0x1d6))/0x3+parseInt(_0x54e34b(0x1dc))/0x4+parseInt(_0x54e34b(0x1d7))/0x5*(-parseInt(_0x54e34b(0x20a))/0x6)+-parseInt(_0x54e34b(0x1fa))/0x7*(-parseInt(_0x54e34b(0x1f4))/0x8)+parseInt(_0x54e34b(0x21b))/0x9+parseInt(_0x54e34b(0x1ce))/0xa*(parseInt(_0x54e34b(0x1b9))/0xb);if(_0xbb106b===_0x2806a7)break;else _0x2feb0f['push'](_0x2feb0f['shift']());}catch(_0x283a3d){_0x2feb0f['push'](_0x2feb0f['shift']());}}}(a33_0x3787,0xa22e1));const logger=require(a33_0x15f948(0x1d1))[a33_0x15f948(0x1f2)],helper=require(a33_0x15f948(0x20f)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a33_0x15f948(0x1e2)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x15f948(0x1ec)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x15f948(0x1bc)),globals=require(a33_0x15f948(0x1d9)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x5e9654,_0x652e9e=null,_0x587e83=![])=>{const _0x205ce9=a33_0x15f948,_0x1adc23={'tZQxD':function(_0x2b1163,_0x2d25c4){return _0x2b1163!==_0x2d25c4;},'gnRrQ':_0x205ce9(0x224),'FZPcN':function(_0x44821e,_0x832a00){return _0x44821e+_0x832a00;},'sjYKc':_0x205ce9(0x1cd),'vUCxa':_0x205ce9(0x1db),'hJhtH':'goog:chromeOptions','iQsDD':_0x205ce9(0x209),'BToRY':'ms:edgeOptions','xmUiz':_0x205ce9(0x1d2),'GEdIi':_0x205ce9(0x1fb),'BYKYC':_0x205ce9(0x1eb),'UDSXM':_0x205ce9(0x218),'Dqanw':_0x205ce9(0x1c9),'EcSKI':_0x205ce9(0x1e3),'XFJGc':function(_0x6b926b,_0x584ada){return _0x6b926b===_0x584ada;},'gUsnu':_0x205ce9(0x207),'owRLF':_0x205ce9(0x202),'uHCzh':function(_0x43dab7,_0x30e6be,_0x2315a3){return _0x43dab7(_0x30e6be,_0x2315a3);},'WWMVM':function(_0x1fca0f,_0x1e042d,_0x2d3955){return _0x1fca0f(_0x1e042d,_0x2d3955);},'joMsg':function(_0x1cb647,_0x1d747a){return _0x1cb647(_0x1d747a);},'tKJKP':'optimalHubUrl','ngwqa':_0x205ce9(0x1fc),'KVykR':function(_0x2d92b0,_0x27195b,_0x2f4c85){return _0x2d92b0(_0x27195b,_0x2f4c85);},'JALdA':'5|3|1|0|2|4','PPfQF':_0x205ce9(0x1df),'YLsDe':function(_0x232a4d,_0x40e2af,_0x4c7f8c){return _0x232a4d(_0x40e2af,_0x4c7f8c);},'QbXWa':_0x205ce9(0x1ed),'Dvmwh':function(_0x23ad5f){return _0x23ad5f();},'PBZiq':function(_0x2660a3,_0x4c7aa0,_0x3aecde){return _0x2660a3(_0x4c7aa0,_0x3aecde);},'AsLFs':function(_0x3ed84e,_0x458d6e){return _0x3ed84e!==_0x458d6e;},'oEEUG':function(_0x19bdab,_0x39df64){return _0x19bdab!==_0x39df64;},'aRzGy':_0x205ce9(0x1dd),'lmFEq':'Modifying\x20webdriver\x20builder'},_0xcfdd46=helper['requireHttpClient']();let _0x1daa79;try{_0x1daa79=helper[_0x205ce9(0x1d4)](),_0x1daa79[_0x205ce9(0x20d)]&&(_0x1daa79[_0x205ce9(0x1c1)]=_0x1daa79[_0x205ce9(0x20d)]);}catch(_0x11030d){return;}if(helper[_0x205ce9(0x1d8)]()){const _0x18bab1={};_0x18bab1['logLevel']=_0x5e9654[_0x205ce9(0x221)],helper[_0x205ce9(0x1e8)](_0x18bab1,new Map(),new Map()),logger[_0x205ce9(0x1c3)](_0x1adc23['aRzGy']),logger[_0x205ce9(0x213)](_0x1adc23[_0x205ce9(0x1f9)]);}class _0x133b71 extends _0xcfdd46[_0x205ce9(0x1de)]{[_0x205ce9(0x1f1)](_0x187b29){const _0x231ba4=_0x205ce9;if(_0x1adc23[_0x231ba4(0x219)](_0x187b29[_0x231ba4(0x1c7)],_0x1adc23[_0x231ba4(0x1b6)])&&_0x1adc23['tZQxD'](global[_0x231ba4(0x1b8)],''))try{global[_0x231ba4(0x1b8)]=_0x1adc23[_0x231ba4(0x220)](_0x1adc23[_0x231ba4(0x220)](_0x1adc23[_0x231ba4(0x1e4)],global[_0x231ba4(0x1b8)]),_0x1adc23[_0x231ba4(0x1e0)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x231ba4(0x1b8)]),logger['debug'](_0x231ba4(0x1c5)+global[_0x231ba4(0x1b8)]),global[_0x231ba4(0x1b8)]='';}catch(_0x3a2ea3){logger['error'](_0x3a2ea3);}return super['send'](_0x187b29);}}class _0x3d3f2b extends _0x1daa79['Builder']{['setServer'](){const _0x58f709=_0x205ce9;return this[_0x58f709(0x1ff)]=helper[_0x58f709(0x1ee)](_0x5e9654),logger['debug'](_0x58f709(0x1b4)+this[_0x58f709(0x1ff)]),this;}[_0x205ce9(0x1f6)](_0x29a5b8){const _0x584163=_0x205ce9;let _0xe7bb51={};for(const _0x108c35 in _0x29a5b8){switch(_0x108c35){case _0x1adc23['hJhtH']:case _0x1adc23[_0x584163(0x1c0)]:this[_0x584163(0x20e)]&&(_0xe7bb51=this['chromeOptions_']['get'](this[_0x584163(0x20e)]['CAPABILITY_KEY'])||{},this[_0x584163(0x20e)][_0x584163(0x214)](this[_0x584163(0x20e)][_0x584163(0x21c)],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23['BToRY']:case _0x1adc23[_0x584163(0x1cb)]:this[_0x584163(0x1cf)]&&(_0xe7bb51=this[_0x584163(0x1cf)][_0x584163(0x1c4)](this['edgeOptions_']['CAPABILITY_KEY'])||{},this[_0x584163(0x1cf)][_0x584163(0x214)](this[_0x584163(0x1cf)]['CAPABILITY_KEY'],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23[_0x584163(0x204)]:case _0x1adc23[_0x584163(0x200)]:this[_0x584163(0x1e1)]&&(_0xe7bb51=this[_0x584163(0x1e1)][_0x584163(0x1c4)](this[_0x584163(0x1e1)][_0x584163(0x21c)])||{},this['firefoxOptions_'][_0x584163(0x214)](this[_0x584163(0x1e1)][_0x584163(0x21c)],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23[_0x584163(0x1e9)]:this[_0x584163(0x222)]&&(_0xe7bb51=this['safariOptions_']['get'](this['safariOptions_']['CAPABILITY_KEY'])||{},this['safariOptions_'][_0x584163(0x214)](this[_0x584163(0x222)]['CAPABILITY_KEY'],helper[_0x584163(0x208)](_0xe7bb51,_0x29a5b8[_0x108c35])));break;case _0x1adc23['Dqanw']:case _0x1adc23[_0x584163(0x1e5)]:this[_0x584163(0x1c2)]&&(_0xe7bb51=this[_0x584163(0x1c2)]['get'](this[_0x584163(0x1c2)][_0x584163(0x21c)])||{},this[_0x584163(0x1c2)][_0x584163(0x214)](this['ieOptions_'][_0x584163(0x21c)],helper['mergeDeep'](_0xe7bb51,_0x29a5b8[_0x108c35])));break;}}}[_0x205ce9(0x1c6)](){const _0x490bb4=_0x205ce9;return logger[_0x490bb4(0x213)](_0x1adc23['owRLF']),this[_0x490bb4(0x1f6)](_0x5e9654[_0x490bb4(0x217)]),Object[_0x490bb4(0x1ca)](_0x5e9654[_0x490bb4(0x217)])[_0x490bb4(0x1da)](_0x4bdd91=>{const _0x3e7de4=_0x490bb4,_0x4aaeaf=this[_0x3e7de4(0x1f3)][_0x3e7de4(0x1c4)](_0x4bdd91);_0x1adc23[_0x3e7de4(0x20b)](typeof _0x4aaeaf,_0x1adc23['gUsnu'])?this[_0x3e7de4(0x1f3)]['set'](_0x4bdd91,helper['mergeDeep'](_0x4aaeaf,_0x5e9654[_0x3e7de4(0x217)][_0x4bdd91])):this[_0x3e7de4(0x1f3)]['set'](_0x4bdd91,_0x5e9654['capability'][_0x4bdd91]);}),this;}[_0x205ce9(0x211)](){const _0x3126eb=_0x205ce9,_0x22c0d3={'uvARh':_0x1adc23[_0x3126eb(0x1bd)],'EeVCl':_0x1adc23['ngwqa'],'JKSIp':function(_0x2e17dd,_0x5c53c9,_0x41065d){return _0x1adc23['KVykR'](_0x2e17dd,_0x5c53c9,_0x41065d);}};if(helper[_0x3126eb(0x1d8)]()){const _0x555c20=_0x1adc23[_0x3126eb(0x21f)]['split']('|');let _0x2be69f=0x0;while(!![]){switch(_0x555c20[_0x2be69f++]){case'0':if(helper[_0x3126eb(0x216)](_0x5e9654[_0x3126eb(0x1fd)][_0x3126eb(0x1f0)]))this[_0x3126eb(0x1cc)]=helper['getHttpAgent'](_0x5e9654[_0x3126eb(0x1fd)][_0x3126eb(0x1f0)]);else _0x5e9654['proxySettings'][_0x3126eb(0x1f0)]&&(this['proxy_']=_0x5e9654[_0x3126eb(0x1fd)]['proxyUrl'],logger['debug']('Proxy\x20set\x20to\x20'+this['proxy_']));continue;case'1':this[_0x3126eb(0x1c6)]();continue;case'2':globals[_0x3126eb(0x1b7)](_0x1adc23[_0x3126eb(0x223)])&&(!_0x1adc23[_0x3126eb(0x212)](setExtension,this,_0x5e9654)&&globals[_0x3126eb(0x1fe)](_0x1adc23[_0x3126eb(0x223)],![]));continue;case'3':this[_0x3126eb(0x1bf)]();continue;case'4':logger['debug'](_0x1adc23['QbXWa']);continue;case'5':_0x1adc23[_0x3126eb(0x1f8)](isAccessibilityAutomationSession)&&_0x1adc23[_0x3126eb(0x1ba)](setAccessibilityCapabilities,_0x5e9654);continue;}break;}}const _0x581d14=super['build']();return _0x581d14[_0x3126eb(0x21d)]['then'](_0x5adaf0=>{const _0x371ca0=_0x3126eb;try{const _0xced33=_0x5adaf0[_0x371ca0(0x1f7)][_0x371ca0(0x1c4)](_0x22c0d3[_0x371ca0(0x205)]);_0xced33?(logger[_0x371ca0(0x213)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0xced33),hubAllocator[_0x371ca0(0x201)](_0xced33),helper['storeOptimalHubUrl'](_0xced33)):logger['debug'](_0x22c0d3['EeVCl']);}catch(_0x3e1900){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x3e1900);}}),_0x581d14[_0x3126eb(0x1c8)]=0x0,_0x581d14[_0x3126eb(0x225)]&&_0x581d14['then'](_0x5c2676=>{const _0x4f2598=_0x3126eb,_0x4c733b={'yvZRt':function(_0x4b4156,_0x1405fc,_0x184d4f){const _0xe81ded=a33_0x4ddd;return _0x1adc23[_0xe81ded(0x1d3)](_0x4b4156,_0x1405fc,_0x184d4f);}};_0x1adc23['WWMVM'](overrideQuit,_0x5c2676,_0x581d14),_0x1adc23[_0x4f2598(0x1ba)](overrideTakeScreenshot,_0x5c2676),helper[_0x4f2598(0x1d0)](_0x5c2676,_0x5e9654),_0x1adc23[_0x4f2598(0x206)](overrideExecute,_0x5c2676,_0x5e9654),_0x5c2676[_0x4f2598(0x1f5)]=async()=>{return await _0x22c0d3['JKSIp'](getAccessibilityResultsSummary,_0x5c2676,global);},_0x5c2676[_0x4f2598(0x1be)]=async()=>{const _0x39ea26=_0x4f2598;return await _0x4c733b[_0x39ea26(0x21a)](getAccessibilityResults,_0x5c2676,global);};}),_0x581d14[_0x3126eb(0x1f5)]=async()=>{const _0x2f25f4=_0x3126eb;return await _0x1adc23[_0x2f25f4(0x206)](getAccessibilityResultsSummary,_0x581d14,global);},_0x581d14[_0x3126eb(0x1be)]=async()=>{const _0x15a48f=_0x3126eb;return await _0x22c0d3[_0x15a48f(0x1ea)](getAccessibilityResults,_0x581d14,global);},_0x1adc23['joMsg'](overrideTakeScreenshot,_0x581d14),_0x1adc23[_0x3126eb(0x1ba)](overrideQuit,_0x581d14),helper['overrideGet'](_0x581d14,_0x5e9654),_0x1adc23['PBZiq'](overrideExecute,_0x581d14,_0x5e9654),helper[_0x3126eb(0x1d5)](global[_0x3126eb(0x1e6)])&&(global['__driversArray']=[]),helper[_0x3126eb(0x1d5)](global[_0x3126eb(0x1bb)])&&(global[_0x3126eb(0x1bb)]=[]),global['__driversArray'][_0x3126eb(0x203)](_0x581d14),global[_0x3126eb(0x21e)]=_0x581d14,_0x1adc23[_0x3126eb(0x215)](global[_0x3126eb(0x1bb)],undefined)&&global[_0x3126eb(0x1bb)][_0x3126eb(0x203)](_0x581d14),_0x652e9e&&helper[_0x3126eb(0x1d5)](_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)])&&(_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)]=[]),_0x652e9e&&_0x1adc23[_0x3126eb(0x1e7)](_0x652e9e['global'][_0x3126eb(0x1bb)],undefined)&&(_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1bb)][_0x3126eb(0x203)](_0x581d14),_0x652e9e[_0x3126eb(0x1b5)][_0x3126eb(0x1e6)]['push'](_0x581d14)),_0x581d14;}}return _0x1daa79[_0x205ce9(0x20d)]=_0x1daa79['Builder'],_0x1daa79[_0x205ce9(0x1c1)]=_0x3d3f2b,_0xcfdd46['HttpClient']=_0x133b71,_0x1daa79;};function a33_0x4ddd(_0xe133a1,_0x581bdd){const _0x378716=a33_0x3787();return a33_0x4ddd=function(_0x4ddd76,_0x12d361){_0x4ddd76=_0x4ddd76-0x1b4;let _0x5a12c3=_0x378716[_0x4ddd76];return _0x5a12c3;},a33_0x4ddd(_0xe133a1,_0x581bdd);}module[a33_0x15f948(0x210)]['browserstackAgentObservability']=modify;function a33_0x3787(){const _0x4bd1fe=['moz:firefoxOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','proxySettings','setGlobal','url_','BYKYC','updateHubUrl','Setting\x20Browserstack\x20capabilities','push','GEdIi','uvARh','WWMVM','object','mergeDeep','chromeOptions','6MGmpRO','XFJGc','1QKaxGd','originalBuilder','chromeOptions_','../../../helpers/helper','exports','build','YLsDe','debug','set','AsLFs','isPacProxy','capability','safari.options','tZQxD','yvZRt','4334535jFYuAa','CAPABILITY_KEY','session_','__driver','JALdA','FZPcN','browserStackLogLevel','safariOptions_','PPfQF','/session','then','Hub\x20url\x20set\x20to\x20','global','gnRrQ','getGlobal','newHubUrl','11ATYAlz','joMsg','__drivers','../../../helpers/accessibility-automation/helper','tKJKP','getAccessibilityResults','setServer','iQsDD','Builder','ieOptions_','info','get','New\x20hub\x20url\x20set\x20to\x20','setCapabilities','path','quitCount_','se:ieOptions','keys','xmUiz','agent_','https://','24290270mRVCEA','edgeOptions_','overrideGet','../../../helpers/logger','edgeOptions','uHCzh','requireSeleniumWebdriver','isUndefined','3966561mXKCNk','5851695zrHvqT','isBrowserstackInfra','../../../helpers/globals','forEach','/wd/hub','3428112NHaSfb','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','HttpClient','isAccessibilityPlatform','vUCxa','firefoxOptions_','../../../hubAllocationMethods','ieOptions','sjYKc','EcSKI','__driversArray','oEEUG','setLogLevel','UDSXM','JKSIp','firefoxOptions','../accessibility-automation/helper','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','getHubUrl','1460222BMaWhI','proxyUrl','send','winstonLogger','capabilities_','64LvPULn','getAccessibilityResultsSummary','__setBrowserOptions','caps_','Dvmwh','lmFEq','104349PKXqdx'];a33_0x3787=function(){return _0x4bd1fe;};return a33_0x3787();}
|
|
1
|
+
const a33_0x136ba8=a33_0x5792;function a33_0x5792(_0x354ad9,_0x268049){const _0x1803aa=a33_0x1803();return a33_0x5792=function(_0x57923c,_0x25ac6b){_0x57923c=_0x57923c-0x8d;let _0x3aef30=_0x1803aa[_0x57923c];return _0x3aef30;},a33_0x5792(_0x354ad9,_0x268049);}(function(_0x43f315,_0x61122c){const _0x1ab68c=a33_0x5792,_0x63e3f1=_0x43f315();while(!![]){try{const _0x50b0d8=-parseInt(_0x1ab68c(0xbe))/0x1*(-parseInt(_0x1ab68c(0xa6))/0x2)+parseInt(_0x1ab68c(0xf7))/0x3+-parseInt(_0x1ab68c(0xe5))/0x4+parseInt(_0x1ab68c(0x9a))/0x5+-parseInt(_0x1ab68c(0xbb))/0x6+-parseInt(_0x1ab68c(0xaf))/0x7*(parseInt(_0x1ab68c(0xc5))/0x8)+parseInt(_0x1ab68c(0xb9))/0x9*(parseInt(_0x1ab68c(0xd1))/0xa);if(_0x50b0d8===_0x61122c)break;else _0x63e3f1['push'](_0x63e3f1['shift']());}catch(_0x3d8149){_0x63e3f1['push'](_0x63e3f1['shift']());}}}(a33_0x1803,0xf1529));const logger=require(a33_0x136ba8(0xc9))[a33_0x136ba8(0x9e)],helper=require(a33_0x136ba8(0xde)),constants=require(a33_0x136ba8(0xdd)),hubAllocator=require(a33_0x136ba8(0x107)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a33_0x136ba8(0xa9)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a33_0x136ba8(0xb7)),globals=require(a33_0x136ba8(0x98)),{overrideExecute}=require('./helpers/patchHelper'),modify=(_0x409590,_0xc3ed94=null,_0x4d5293=![])=>{const _0x3ee6e0=a33_0x136ba8,_0x2f9634={'zEzZY':function(_0x1b6508,_0x3d753a){return _0x1b6508!==_0x3d753a;},'xLflg':_0x3ee6e0(0xb2),'cNNio':function(_0x5d9b07,_0x4922bc){return _0x5d9b07!==_0x4922bc;},'lHBYv':function(_0x54fbdd,_0x524abe){return _0x54fbdd+_0x524abe;},'Qecac':function(_0xefc9fd,_0x25ed36){return _0xefc9fd+_0x25ed36;},'lbkPR':'https://','LcTwT':_0x3ee6e0(0x103),'CBPCP':'goog:chromeOptions','OlTib':_0x3ee6e0(0xeb),'eZplu':_0x3ee6e0(0x8f),'shqfC':_0x3ee6e0(0xcc),'ByQPt':_0x3ee6e0(0x8e),'wNPLA':_0x3ee6e0(0xbc),'GlbQc':_0x3ee6e0(0x100),'tkIcC':_0x3ee6e0(0x90),'XneoQ':_0x3ee6e0(0xdf),'PakAS':function(_0x1122e7,_0x46615c){return _0x1122e7===_0x46615c;},'cOxbo':_0x3ee6e0(0xc0),'Kywoe':'Setting\x20Browserstack\x20capabilities','rpVdi':function(_0x14f96b,_0x5138cc,_0x2f6fa5){return _0x14f96b(_0x5138cc,_0x2f6fa5);},'SNDXv':function(_0x4b5947,_0x3c6d89,_0x47a2b3){return _0x4b5947(_0x3c6d89,_0x47a2b3);},'PFYwH':_0x3ee6e0(0xa2),'uspgR':_0x3ee6e0(0xb6),'OmNVB':function(_0x4e4fc6,_0x2aa258,_0x2d266d){return _0x4e4fc6(_0x2aa258,_0x2d266d);},'KHyzA':function(_0x5b313e,_0x1bcaa5){return _0x5b313e(_0x1bcaa5);},'hnNWi':'2|5|1|3|4|0','dSkVh':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','KMiRz':function(_0x49930d){return _0x49930d();},'GQJke':_0x3ee6e0(0xc7),'QFQxr':function(_0x5b0791,_0x104a4d,_0x5564ef){return _0x5b0791(_0x104a4d,_0x5564ef);},'TAhLm':function(_0x5d3f6a,_0x1e0fe6){return _0x5d3f6a(_0x1e0fe6);},'lOulw':function(_0x39c48c,_0x2a8afe,_0x2173c9){return _0x39c48c(_0x2a8afe,_0x2173c9);},'DgZJx':function(_0x5e285a,_0x49f8eb){return _0x5e285a!==_0x49f8eb;},'XmIOZ':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','nFjXT':_0x3ee6e0(0xc6)},_0x5a33fa=helper[_0x3ee6e0(0xb5)]();let _0x70be42;try{_0x70be42=helper['requireSeleniumWebdriver'](),_0x70be42[_0x3ee6e0(0xc1)]&&(_0x70be42['Builder']=_0x70be42[_0x3ee6e0(0xc1)]);}catch(_0x9dbec0){return;}if(helper[_0x3ee6e0(0x9b)]()){const _0x1a6b22={};_0x1a6b22[_0x3ee6e0(0x102)]=_0x409590[_0x3ee6e0(0xd5)],helper[_0x3ee6e0(0xfc)](_0x1a6b22,new Map(),new Map()),logger[_0x3ee6e0(0xf5)](_0x2f9634[_0x3ee6e0(0x106)]),logger[_0x3ee6e0(0xcf)](_0x2f9634[_0x3ee6e0(0xa7)]);}class _0x3effe1 extends _0x5a33fa[_0x3ee6e0(0xe9)]{[_0x3ee6e0(0xd9)](_0x22db32){const _0x366ac3=_0x3ee6e0;if(_0x2f9634[_0x366ac3(0xac)](_0x22db32[_0x366ac3(0xc2)],_0x2f9634['xLflg'])&&_0x2f9634[_0x366ac3(0xf8)](global[_0x366ac3(0xb3)],''))try{global['newHubUrl']=_0x2f9634[_0x366ac3(0xcd)](_0x2f9634[_0x366ac3(0xbd)](_0x2f9634['lbkPR'],global[_0x366ac3(0xb3)]),_0x2f9634['LcTwT']),this[_0x366ac3(0xe7)]=hubAllocator['getRequestOptions'](global[_0x366ac3(0xb3)]),logger['debug'](_0x366ac3(0x91)+global[_0x366ac3(0xb3)]),global[_0x366ac3(0xb3)]='';}catch(_0x383ef5){logger['error'](_0x383ef5);}return super['send'](_0x22db32);}}class _0x30f730 extends _0x70be42[_0x3ee6e0(0xa8)]{[_0x3ee6e0(0xce)](){const _0x54274b=_0x3ee6e0;return this['url_']=helper['getHubUrl'](_0x409590),logger['debug'](_0x54274b(0xdb)+this[_0x54274b(0x99)]),this;}[_0x3ee6e0(0xe3)](_0x4f6823){const _0x55f9be=_0x3ee6e0;let _0x4a1172={};for(const _0x2e041b in _0x4f6823){switch(_0x2e041b){case _0x2f9634[_0x55f9be(0xcb)]:case _0x2f9634[_0x55f9be(0xe2)]:this[_0x55f9be(0xca)]&&(_0x4a1172=this[_0x55f9be(0xca)][_0x55f9be(0x8d)](this['chromeOptions_']['CAPABILITY_KEY'])||{},this['chromeOptions_']['set'](this['chromeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xad)]:case _0x2f9634[_0x55f9be(0xf9)]:this['edgeOptions_']&&(_0x4a1172=this[_0x55f9be(0x95)][_0x55f9be(0x8d)](this[_0x55f9be(0x95)][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x95)][_0x55f9be(0xec)](this['edgeOptions_'][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0xf3)]:case _0x2f9634['wNPLA']:this[_0x55f9be(0xb8)]&&(_0x4a1172=this[_0x55f9be(0xb8)][_0x55f9be(0x8d)](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)])||{},this['firefoxOptions_']['set'](this[_0x55f9be(0xb8)][_0x55f9be(0xaa)],helper[_0x55f9be(0xe8)](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634['GlbQc']:this['safariOptions_']&&(_0x4a1172=this['safariOptions_']['get'](this['safariOptions_'][_0x55f9be(0xaa)])||{},this[_0x55f9be(0x94)][_0x55f9be(0xec)](this[_0x55f9be(0x94)][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;case _0x2f9634[_0x55f9be(0x9c)]:case _0x2f9634['XneoQ']:this[_0x55f9be(0xc4)]&&(_0x4a1172=this[_0x55f9be(0xc4)][_0x55f9be(0x8d)](this[_0x55f9be(0xc4)][_0x55f9be(0xaa)])||{},this['ieOptions_'][_0x55f9be(0xec)](this['ieOptions_'][_0x55f9be(0xaa)],helper['mergeDeep'](_0x4a1172,_0x4f6823[_0x2e041b])));break;}}}['setCapabilities'](){const _0x43e54e=_0x3ee6e0,_0x1ea2f8={'gWkGQ':function(_0x51ddfb,_0x1d5606){const _0x167153=a33_0x5792;return _0x2f9634[_0x167153(0xb4)](_0x51ddfb,_0x1d5606);},'mfsrt':_0x2f9634[_0x43e54e(0xd6)]};return logger[_0x43e54e(0xcf)](_0x2f9634[_0x43e54e(0xfa)]),this[_0x43e54e(0xe3)](_0x409590[_0x43e54e(0xed)]),Object[_0x43e54e(0xef)](_0x409590['capability'])[_0x43e54e(0xea)](_0xb319fa=>{const _0x4f5dfe=_0x43e54e,_0x55f9db=this['capabilities_'][_0x4f5dfe(0x8d)](_0xb319fa);_0x1ea2f8[_0x4f5dfe(0xbf)](typeof _0x55f9db,_0x1ea2f8['mfsrt'])?this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,helper[_0x4f5dfe(0xe8)](_0x55f9db,_0x409590[_0x4f5dfe(0xed)][_0xb319fa])):this[_0x4f5dfe(0xab)][_0x4f5dfe(0xec)](_0xb319fa,_0x409590[_0x4f5dfe(0xed)][_0xb319fa]);}),this;}[_0x3ee6e0(0xc8)](){const _0x3e9130=_0x3ee6e0,_0x43641c={'zJsny':_0x2f9634[_0x3e9130(0xe0)],'KBdmg':_0x2f9634[_0x3e9130(0x101)],'sYFGr':function(_0x5f2585,_0x55056e,_0x75ba88){const _0x3f4d19=_0x3e9130;return _0x2f9634[_0x3f4d19(0xee)](_0x5f2585,_0x55056e,_0x75ba88);},'YKiyQ':function(_0x2c032c,_0x5020a6,_0x526201){const _0xfcd39c=_0x3e9130;return _0x2f9634[_0xfcd39c(0xd3)](_0x2c032c,_0x5020a6,_0x526201);},'rcCIb':function(_0x43dc0e,_0x55575c){return _0x2f9634['KHyzA'](_0x43dc0e,_0x55575c);},'MkDee':function(_0x1af35d,_0xe5d172,_0x25c742){const _0x403239=_0x3e9130;return _0x2f9634[_0x403239(0xd3)](_0x1af35d,_0xe5d172,_0x25c742);}};if(helper[_0x3e9130(0x9b)]()){const _0x33c825=_0x2f9634['hnNWi'][_0x3e9130(0x93)]('|');let _0x3e1a71=0x0;while(!![]){switch(_0x33c825[_0x3e1a71++]){case'0':logger[_0x3e9130(0xcf)](_0x2f9634[_0x3e9130(0xfe)]);continue;case'1':this[_0x3e9130(0xf4)]();continue;case'2':_0x2f9634[_0x3e9130(0xd7)](isAccessibilityAutomationSession)&&_0x2f9634[_0x3e9130(0x92)](setAccessibilityCapabilities,_0x409590);continue;case'3':if(helper[_0x3e9130(0xa4)](_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]))this[_0x3e9130(0x9f)]=helper[_0x3e9130(0xf1)](_0x409590[_0x3e9130(0x104)]['proxyUrl']);else _0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)]&&(this[_0x3e9130(0x96)]=_0x409590[_0x3e9130(0x104)][_0x3e9130(0xa0)],logger[_0x3e9130(0xcf)]('Proxy\x20set\x20to\x20'+this[_0x3e9130(0x96)]));continue;case'4':globals[_0x3e9130(0x105)](_0x2f9634['GQJke'])&&(!_0x2f9634[_0x3e9130(0x9d)](setExtension,this,_0x409590)&&globals[_0x3e9130(0xff)](_0x2f9634['GQJke'],![]));continue;case'5':this['setServer']();continue;}break;}}const _0x3ea5a6=super[_0x3e9130(0xc8)]();return _0x3ea5a6[_0x3e9130(0xd0)][_0x3e9130(0xa1)](_0x32bee4=>{const _0x1a11a9=_0x3e9130;try{const _0x43bce1=_0x32bee4['caps_'][_0x1a11a9(0x8d)](_0x43641c[_0x1a11a9(0xe6)]);_0x43bce1?(logger[_0x1a11a9(0xcf)](_0x1a11a9(0xd8)+_0x43bce1),hubAllocator[_0x1a11a9(0xa3)](_0x43bce1),helper[_0x1a11a9(0x108)](_0x43bce1)):logger['debug'](_0x43641c[_0x1a11a9(0xb1)]);}catch(_0x4ef9f5){logger[_0x1a11a9(0xcf)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x4ef9f5);}}),_0x3ea5a6[_0x3e9130(0x97)]=0x0,_0x3ea5a6[_0x3e9130(0xa1)]&&_0x3ea5a6['then'](_0x2a9582=>{const _0x7842fb=_0x3e9130,_0x489ae1={'gwGSl':function(_0x1ffebd,_0xd43bc5,_0x5e977d){return _0x43641c['sYFGr'](_0x1ffebd,_0xd43bc5,_0x5e977d);}};_0x43641c[_0x7842fb(0xe1)](overrideQuit,_0x2a9582,_0x3ea5a6),_0x43641c[_0x7842fb(0xb0)](overrideTakeScreenshot,_0x2a9582),helper[_0x7842fb(0xba)](_0x2a9582,_0x409590),_0x43641c['MkDee'](overrideExecute,_0x2a9582,_0x409590),_0x2a9582[_0x7842fb(0xfb)]=async()=>{const _0x4529c1=_0x7842fb;return await _0x489ae1[_0x4529c1(0xd2)](getAccessibilityResultsSummary,_0x2a9582,global);},_0x2a9582['getAccessibilityResults']=async()=>{const _0x340961=_0x7842fb;return await _0x489ae1[_0x340961(0xd2)](getAccessibilityResults,_0x2a9582,global);};}),_0x3ea5a6['getAccessibilityResultsSummary']=async()=>{const _0x4e9e1e=_0x3e9130;return await _0x2f9634[_0x4e9e1e(0xae)](getAccessibilityResultsSummary,_0x3ea5a6,global);},_0x3ea5a6[_0x3e9130(0xa5)]=async()=>{const _0xcd2d0f=_0x3e9130;return await _0x2f9634[_0xcd2d0f(0xee)](getAccessibilityResults,_0x3ea5a6,global);},_0x2f9634[_0x3e9130(0xf2)](overrideTakeScreenshot,_0x3ea5a6),_0x2f9634['KHyzA'](overrideQuit,_0x3ea5a6),helper[_0x3e9130(0xba)](_0x3ea5a6,_0x409590),_0x2f9634[_0x3e9130(0xf6)](overrideExecute,_0x3ea5a6,_0x409590),helper[_0x3e9130(0xf0)](global[_0x3e9130(0xc3)])&&(global[_0x3e9130(0xc3)]=[]),helper['isUndefined'](global[_0x3e9130(0xe4)])&&(global[_0x3e9130(0xe4)]=[]),global[_0x3e9130(0xc3)]['push'](_0x3ea5a6),global[_0x3e9130(0xd4)]=_0x3ea5a6,_0x2f9634['DgZJx'](global['__drivers'],undefined)&&global[_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94&&helper[_0x3e9130(0xf0)](_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)])&&(_0xc3ed94['global'][_0x3e9130(0xc3)]=[]),_0xc3ed94&&_0x2f9634['zEzZY'](_0xc3ed94[_0x3e9130(0xdc)]['__drivers'],undefined)&&(_0xc3ed94['global'][_0x3e9130(0xe4)][_0x3e9130(0xda)](_0x3ea5a6),_0xc3ed94[_0x3e9130(0xdc)][_0x3e9130(0xc3)]['push'](_0x3ea5a6)),_0x3ea5a6;}}return _0x70be42[_0x3ee6e0(0xc1)]=_0x70be42['Builder'],_0x70be42['Builder']=_0x30f730,_0x5a33fa[_0x3ee6e0(0xe9)]=_0x3effe1,_0x70be42;};module[a33_0x136ba8(0xfd)]['browserstackAgentObservability']=modify;function a33_0x1803(){const _0x2dec12=['requireHttpClient','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','../../../helpers/accessibility-automation/helper','firefoxOptions_','3879Jejtwn','overrideGet','5883978WnZsdg','firefoxOptions','Qecac','460501ZEbNxl','gWkGQ','object','originalBuilder','path','__driversArray','ieOptions_','127384jKrJQP','Modifying\x20webdriver\x20builder','isAccessibilityPlatform','build','../../../helpers/logger','chromeOptions_','CBPCP','edgeOptions','lHBYv','setServer','debug','session_','21670cpBngP','gwGSl','OmNVB','__driver','browserStackLogLevel','cOxbo','KMiRz','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','send','push','Hub\x20url\x20set\x20to\x20','global','../../../bin/utils/constants','../../../helpers/helper','ieOptions','PFYwH','YKiyQ','OlTib','__setBrowserOptions','__drivers','2288480DfDTuE','zJsny','options_','mergeDeep','HttpClient','forEach','chromeOptions','set','capability','SNDXv','keys','isUndefined','getHttpAgent','TAhLm','ByQPt','setCapabilities','info','lOulw','2085456glcOhw','cNNio','shqfC','Kywoe','getAccessibilityResultsSummary','setLogLevel','exports','dSkVh','setGlobal','safari.options','uspgR','logLevel','/wd/hub','proxySettings','getGlobal','XmIOZ','../../../hubAllocationMethods','storeOptimalHubUrl','get','moz:firefoxOptions','ms:edgeOptions','se:ieOptions','New\x20hub\x20url\x20set\x20to\x20','KHyzA','split','safariOptions_','edgeOptions_','proxy_','quitCount_','../../../helpers/globals','url_','7114565Qbuomv','isBrowserstackInfra','tkIcC','QFQxr','winstonLogger','agent_','proxyUrl','then','optimalHubUrl','updateHubUrl','isPacProxy','getAccessibilityResults','2HcEVpI','nFjXT','Builder','../accessibility-automation/helper','CAPABILITY_KEY','capabilities_','zEzZY','eZplu','rpVdi','427Wvpwul','rcCIb','KBdmg','/session','newHubUrl','PakAS'];a33_0x1803=function(){return _0x2dec12;};return a33_0x1803();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a34_0x5ea2(_0x25c749,_0xa2faf2){const _0x5ebaa6=a34_0x5eba();return a34_0x5ea2=function(_0x5ea2e1,_0x3cb67a){_0x5ea2e1=_0x5ea2e1-0x141;let _0x5ab9fc=_0x5ebaa6[_0x5ea2e1];return _0x5ab9fc;},a34_0x5ea2(_0x25c749,_0xa2faf2);}const a34_0x4d4e0d=a34_0x5ea2;(function(_0x4c62e1,_0x5cae70){const _0x5bfafa=a34_0x5ea2,_0x4910af=_0x4c62e1();while(!![]){try{const _0x1dab73=parseInt(_0x5bfafa(0x143))/0x1*(parseInt(_0x5bfafa(0x148))/0x2)+-parseInt(_0x5bfafa(0x14b))/0x3*(-parseInt(_0x5bfafa(0x147))/0x4)+-parseInt(_0x5bfafa(0x141))/0x5+parseInt(_0x5bfafa(0x14e))/0x6+parseInt(_0x5bfafa(0x146))/0x7+-parseInt(_0x5bfafa(0x14a))/0x8*(-parseInt(_0x5bfafa(0x145))/0x9)+-parseInt(_0x5bfafa(0x14d))/0xa;if(_0x1dab73===_0x5cae70)break;else _0x4910af['push'](_0x4910af['shift']());}catch(_0x1bd4d6){_0x4910af['push'](_0x4910af['shift']());}}}(a34_0x5eba,0x7dd2c));const requestSpy=require(a34_0x4d4e0d(0x144)),constants=require(a34_0x4d4e0d(0x149)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports[a34_0x4d4e0d(0x142)]={'beforeAll'(){const _0x446122=a34_0x4d4e0d,_0x18691b={'VqYRq':function(_0x252054){return _0x252054();}},_0x248122='browserstack internal helper hook';_0x18691b[_0x446122(0x14f)](addRequestSpy);},'afterAll'(){const _0x1d9fac=a34_0x4d4e0d,_0x2973c6='browserstack internal helper hook';this[_0x1d9fac(0x14c)](0xea60),requestSpy['restore']();}};function a34_0x5eba(){const _0x5377e5=['18oquQJw','../../../helpers/request-spy','4550022eXYDYQ','4859428zQKGoj','16JyaUhV','39430hjlMbM','../../../bin/utils/constants','16AHfjzA','518172WMEmuz','timeout','20236140rnqgSD','1382700JbhDrm','VqYRq','2212750fWsYMf','mochaHooks'];a34_0x5eba=function(){return _0x5377e5;};return a34_0x5eba();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a35_0x507c55=a35_0x1b47;(function(_0x221e28,_0x292113){const _0x9b2e97=a35_0x1b47,_0x3f8fb9=_0x221e28();while(!![]){try{const _0x439aa0=-parseInt(_0x9b2e97(0x98))/0x1*(-parseInt(_0x9b2e97(0x82))/0x2)+parseInt(_0x9b2e97(0x99))/0x3+-parseInt(_0x9b2e97(0x73))/0x4*(-parseInt(_0x9b2e97(0xb4))/0x5)+parseInt(_0x9b2e97(0x9c))/0x6*(-parseInt(_0x9b2e97(0x72))/0x7)+parseInt(_0x9b2e97(0xaf))/0x8+parseInt(_0x9b2e97(0x85))/0x9*(parseInt(_0x9b2e97(0x86))/0xa)+-parseInt(_0x9b2e97(0xc2))/0xb;if(_0x439aa0===_0x292113)break;else _0x3f8fb9['push'](_0x3f8fb9['shift']());}catch(_0x21c8ea){_0x3f8fb9['push'](_0x3f8fb9['shift']());}}}(a35_0x48c7,0x50d7f));function a35_0x48c7(){const _0x3d524d=['GKtFj','map_','2700593bFHLBW','97028VGwkgv','eoeQC','pending','indexOf','zLhDi','getBrowserVersion','slice','lodash','bxhSv','pjLuu','hookAnalyticsId','sEAfs','concat','reduce','SOZfi','2wGJkXw','hook','getBrowserName','27qEQAdw','908340DHBzzy','WSCfb','QOHai','getTestEnv','zuKNL','push','umlJr','getPlatform','parent','emit','getCapabilities','teBQP','DPizd','unknown_grid','rplSl','platformVersion','../../../../package.json','_afterAll','645703bNZKiq','1936596oOcvyN','split','toISOString','6AhYEon','NLySl','pid','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','jnwBc','_afterEach','hook:','substring','get','../../../helpers/test-observability/constants','mapTestHooks','kPJBE','YTDUG','state','forEach','_beforeEach','__cloud_provider___','tests','JpBgF','802064gMIyOg','lWZbD','YeaPh','generic','kybPY','5fbvSpP','browserstack','passed','_beforeAll','failed','lpxDq','markedStatus','../../../helpers/test-observability/utils','getHookSkippedTests','getHooksForTest','filter','YSSWH','sendPlatformDetails','LFegI','10684498BPaBzf','gehrh','BKczk','KazwT'];a35_0x48c7=function(){return _0x3d524d;};return a35_0x48c7();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a35_0x507c55(0x96)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a35_0x507c55(0xa5)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),{isFunction}=require(a35_0x507c55(0x7a)),{patchConsoleLogger}=require(a35_0x507c55(0xbb));function a35_0x1b47(_0x1e5232,_0x4b53fc){const _0x48c7d0=a35_0x48c7();return a35_0x1b47=function(_0x1b47c5,_0x18aeaa){_0x1b47c5=_0x1b47c5-0x6d;let _0x16aa22=_0x48c7d0[_0x1b47c5];return _0x16aa22;},a35_0x1b47(_0x1e5232,_0x4b53fc);}patchConsoleLogger(),exports[a35_0x507c55(0x89)]=()=>{const _0x3c6679=a35_0x507c55,_0x57a906={'DPizd':_0x3c6679(0xb2),'YSSWH':function(_0x1cd73a){return _0x1cd73a();}};return{'ci':_0x57a906[_0x3c6679(0x92)],'key':_0x57a906[_0x3c6679(0xbf)](uuidv4),'version':version,'collector':'js-'+name};},exports['getHookDetails']=_0x12fad7=>{const _0x1c0147=a35_0x507c55,_0x4bc162={};_0x4bc162[_0x1c0147(0x9d)]=function(_0x5bc86a,_0x1a8a0c){return _0x5bc86a!==_0x1a8a0c;},_0x4bc162['kPJBE']='string',_0x4bc162['GKtFj']=_0x1c0147(0xa2),_0x4bc162[_0x1c0147(0x87)]=_0x1c0147(0x83);const _0x3c0292=_0x4bc162;if(!_0x12fad7||_0x3c0292[_0x1c0147(0x9d)](typeof _0x12fad7,_0x3c0292[_0x1c0147(0xa7)]))return[null,null];if(_0x3c0292[_0x1c0147(0x9d)](_0x12fad7['indexOf'](_0x3c0292['GKtFj']),-0x1)){const _0x42c509=_0x12fad7[_0x1c0147(0x9a)](_0x3c0292[_0x1c0147(0x70)]);return[_0x42c509[0x0][_0x1c0147(0x79)](0x0,-0x1)[_0x1c0147(0x9a)]('\x22')[0x1],_0x42c509[0x1][_0x1c0147(0xa3)](0x1)];}else{if(_0x3c0292[_0x1c0147(0x9d)](_0x12fad7[_0x1c0147(0x76)](_0x3c0292[_0x1c0147(0x87)]),-0x1)){const _0x2c2fb2=_0x12fad7['split'](_0x3c0292[_0x1c0147(0x87)]);return[_0x2c2fb2[0x0][_0x1c0147(0x79)](0x0,-0x1)['split']('\x22')[0x1],_0x12fad7];}}return[null,null];},exports[a35_0x507c55(0xbd)]=_0x3874fd=>{const _0x304dbe=a35_0x507c55,_0x95f3d8={'eoeQC':function(_0x3133ca,_0x4ca11c){return _0x3133ca(_0x4ca11c);},'JOkUi':_0x304dbe(0xb7),'BKczk':_0x304dbe(0x97),'QOHai':_0x304dbe(0xab),'PRuQf':_0x304dbe(0xa1)};if(!_0x3874fd||!_0x3874fd[_0x304dbe(0x8e)])return[];const _0x367ddf=[];return[_0x95f3d8['JOkUi'],_0x95f3d8[_0x304dbe(0x6e)],_0x95f3d8[_0x304dbe(0x88)],_0x95f3d8['PRuQf']]['forEach'](_0x14a0de=>{const _0x39212b=_0x304dbe,_0x166e28={'lWZbD':function(_0x34f4b4,_0x49b4e2){const _0x261c49=a35_0x1b47;return _0x95f3d8[_0x261c49(0x74)](_0x34f4b4,_0x49b4e2);}},_0x25c13e=_0x3874fd['parent'][_0x14a0de]||[];_0x25c13e[_0x39212b(0xaa)](_0x3282a7=>{const _0x2f4037=_0x39212b;_0x3282a7[_0x2f4037(0x7d)]&&!_0x166e28[_0x2f4037(0xb0)](isInternalHook,_0x3282a7['fn'])&&_0x367ddf[_0x2f4037(0x8b)](_0x3282a7[_0x2f4037(0x7d)]);});}),[..._0x367ddf,...exports['getHooksForTest'](_0x3874fd['parent'])];},exports[a35_0x507c55(0xa6)]=_0x3ef7c6=>{const _0x4e20ab=a35_0x507c55,_0x2f130b={'zLhDi':function(_0x39f8bd){return _0x39f8bd();},'umlJr':function(_0x4d4acf,_0x4158e4){return _0x4d4acf===_0x4158e4;},'hLhzJ':_0x4e20ab(0xa1),'bxhSv':_0x4e20ab(0xb7),'SOZfi':_0x4e20ab(0x97),'LFegI':_0x4e20ab(0xab)};if(!_0x3ef7c6||!_0x3ef7c6[_0x4e20ab(0x8e)])return;[_0x2f130b[_0x4e20ab(0x7b)],_0x2f130b[_0x4e20ab(0x81)],_0x2f130b[_0x4e20ab(0xc1)],_0x2f130b['hLhzJ']][_0x4e20ab(0xaa)](_0x1663a2=>{const _0x38dfdc=_0x4e20ab,_0x1a0fb6={'lHsfV':function(_0x36a85a){const _0x50cf5b=a35_0x1b47;return _0x2f130b[_0x50cf5b(0x77)](_0x36a85a);},'JpBgF':function(_0x2178c3,_0xae4157){const _0x2f8958=a35_0x1b47;return _0x2f130b[_0x2f8958(0x8c)](_0x2178c3,_0xae4157);},'sEAfs':_0x2f130b['hLhzJ'],'KazwT':function(_0x15ed4f){return _0x2f130b['zLhDi'](_0x15ed4f);}},_0x19e729=_0x3ef7c6['parent'][_0x1663a2]||[];_0x19e729[_0x38dfdc(0xaa)](_0x20b139=>{const _0x3b0e4d=_0x38dfdc;if(!_0x20b139[_0x3b0e4d(0x7d)])_0x20b139[_0x3b0e4d(0x7d)]=_0x1a0fb6['lHsfV'](uuidv4);else _0x20b139[_0x3b0e4d(0xba)]&&_0x1a0fb6[_0x3b0e4d(0xae)](_0x1663a2,_0x1a0fb6[_0x3b0e4d(0x7e)])&&(_0x20b139['hookAnalyticsId']=_0x1a0fb6[_0x3b0e4d(0x6f)](uuidv4),delete _0x20b139[_0x3b0e4d(0xba)]);});}),exports[_0x4e20ab(0xa6)](_0x3ef7c6[_0x4e20ab(0x8e)]);},exports[a35_0x507c55(0xc0)]=async(_0x147cbe,_0x31bd4a)=>{const _0x2d1f39=a35_0x507c55,_0x1a6a13={'lpxDq':function(_0x4f635c){return _0x4f635c();},'gehrh':function(_0x297856,_0x174758){return _0x297856(_0x174758);},'zuKNL':_0x2d1f39(0x95),'svoFS':function(_0x12fe80,_0x4ea64a){return _0x12fe80(_0x4ea64a);},'xnEsO':function(_0x431ce6,_0x12c013){return _0x431ce6===_0x12c013;},'zdblA':_0x2d1f39(0xb5),'jnwBc':_0x2d1f39(0x93),'YTDUG':'TEST_PLATFORM','rplSl':function(_0x179f05,_0x189962){return _0x179f05(_0x189962);}};try{if(!_0x1a6a13[_0x2d1f39(0xb9)](shouldProcessEventForTesthub))return;const _0x1a8de0=await _0x147cbe['getCapabilities'](),_0x31da61=await _0x147cbe['getSession'](),_0x8cffdd={},_0x1bbc78=Object['fromEntries'](_0x31da61[_0x2d1f39(0x90)]()[_0x2d1f39(0x71)]),_0xda7bac={'product':_0x1a6a13[_0x2d1f39(0x6d)](getObservabilityLinkedProductName,_0x1bbc78),'capabilities':_0x1bbc78,'platform':_0x1a8de0[_0x2d1f39(0x8d)](),'platform_version':_0x1a8de0['get'](_0x1a6a13['zuKNL'])?_0x1a8de0[_0x2d1f39(0xa4)](_0x1a6a13[_0x2d1f39(0x8a)]):_0x1a6a13['svoFS'](getPlatformVersion,_0x1a6a13['xnEsO'](global['__cloud_provider___'],_0x1a6a13['zdblA'])),'browser':_0x1a8de0[_0x2d1f39(0x84)](),'browser_version':_0x1a8de0[_0x2d1f39(0x78)](),'session_id':_0x31da61['toJSON']()};global[_0x2d1f39(0xac)]?_0x8cffdd[global[_0x2d1f39(0xac)]]=_0xda7bac:_0x8cffdd[_0x1a6a13[_0x2d1f39(0xa0)]]=_0xda7bac,process[_0x2d1f39(0x8f)]('bs:addPlatformDetails:'+process[_0x2d1f39(0x9e)],{'timestamp':new Date()[_0x2d1f39(0x9b)](),'level':null,'message':null,'kind':_0x1a6a13[_0x2d1f39(0xa8)],'http_response':_0x8cffdd,'uuid':_0x31bd4a});}catch(_0x24e09f){_0x1a6a13[_0x2d1f39(0x94)](debug,_0x2d1f39(0x9f)+_0x24e09f);}},exports['getHookSkippedTests']=_0xc1f854=>{const _0x5241e9=a35_0x507c55,_0x3bc667={};_0x3bc667['IyOhP']=function(_0x880f09,_0x5a7454){return _0x880f09!==_0x5a7454;},_0x3bc667[_0x5241e9(0x91)]=_0x5241e9(0x83),_0x3bc667[_0x5241e9(0xb1)]=function(_0x5d7e08,_0x2331d2){return _0x5d7e08!==_0x2331d2;},_0x3bc667['pjLuu']=_0x5241e9(0xb6),_0x3bc667[_0x5241e9(0xb3)]=_0x5241e9(0xb8);const _0x3529cf=_0x3bc667,_0x2d9e8a=_0xc1f854['suites'][_0x5241e9(0x80)]((_0x5bfc6d,_0x12f9cb)=>{const _0x40af8c=_0x5241e9,_0x1b0e0b=exports[_0x40af8c(0xbc)](_0x12f9cb);return _0x1b0e0b&&(_0x5bfc6d=_0x5bfc6d[_0x40af8c(0x7f)](_0x1b0e0b)),_0x5bfc6d;},[]),_0x4f7c31=_0xc1f854[_0x5241e9(0xad)][_0x5241e9(0xbe)](_0x2d19c6=>{const _0x303de5=_0x5241e9,_0x432c89=_0x3529cf['IyOhP'](_0x2d19c6['type'],_0x3529cf[_0x303de5(0x91)])&&!_0x2d19c6[_0x303de5(0xba)]&&_0x3529cf[_0x303de5(0xb1)](_0x2d19c6[_0x303de5(0xa9)],_0x3529cf[_0x303de5(0x7c)])&&_0x3529cf[_0x303de5(0xb1)](_0x2d19c6[_0x303de5(0xa9)],_0x3529cf[_0x303de5(0xb3)])&&!_0x2d19c6[_0x303de5(0x75)];return _0x432c89;});return _0x4f7c31[_0x5241e9(0x7f)](_0x2d9e8a);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a36_0x56a3(){const _0x2d1571=['sessionNameSet__','LRjUe','message','thBuildUuid','percy','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','measureWrapper','afterAll','../../helpers/performance/performance-tester','shouldScanTestForAccessibility','29666kmXxhA','1835ZmxGrt','currentTest','browserstackSessionName','AvpnU','4746LcoVvK','UcIcS','http:','SYNC','BJzjm','MVxiS','yVyaB','xfnGQ','RDriB','hwkDt','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','error','SLIrx','util','uIppZ','ZcAEp','DQJog','eJqGy','quitCount_','executeScript','bmmzt','\x20|\x20','isAccessibilityPlatform','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','11UHtQKj','sUYyz','browserstackTestName','../../helpers/logger','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','debug','Accessibility\x20results\x20saved\x20successfully','thTestRunUuid','RKmOA','ObservabilitySync:','mZzQz','WrqPI','jkepy','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','9fQVLYM','efPuO','__platformCaps','BIYVK','hWOsE','SAVE_RESULTS','err','Diqzh','UvvGW','command','Passed','vHdGe','KAnbS','PxaCs','../utils/constants','testAnalyticsId','XhCPt','Automate\x20test\x20case\x20execution\x20has\x20started.','__error_messages__','STPRs','YBMll','JLtKS','plKTA','\x20-\x20','afterEach','XJaOW','778BhWjEG','3615xytWhu','\x22}}','SihYh','YRtwZ','shift','timeout','performScanWithRetry','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','testcase','jZyXN','startMonitoring','WkbWx','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','qLhFx','wUipB','percyCaptureMode','XfeAs','thJwtToken','yiNpY','geuce','SESSION_STATUS','winstonLogger','isArray','beforeAll','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','10qeRHKR','dXTUE','kRTCw','titlePath','1759980wkXJHC','UjHZu','then','ncWrV','pkMGM','hAcCE','./test-observability/mochaUtils','9985941PueKHE','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','join','MbgRR','ENV_VAR','BfmVx','Failed\x20to\x20store\x20session\x20name:\x20','push','2481492DGnRRs','end','hzHEn','app','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.',',\x22level\x22:\x20\x22','session_','state','vvCqj','byOLl','PERFORM_SCAN','initQuit','GVmsv','https:','qAVAo','protocol','omSTv','Failed:\x20','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','.\x20Error\x20:','QZgxe','vYlmT','OGssl','saveAccessibilityResultsWithRetry','NrdTP','qcHJp','afterTest','DbDYh','info','awSfw','setGlobal','SESSION_NAME','__sessionFailed','finally','__drivers','env','VWPXM','rYbYk','1584IqQcyA','index','WfqtA','../../helpers/testhub/constants','bstackA11yShouldScan','xwCHd','ebmXV','xfKoB','warn','HEilD','../../helpers/percy/utils','ufxiE','driverCleanup','wkOpK','length','../../helpers/globals','52693121wEGAqM','zSzqm','vYBcD','getGlobal','__skipSessionName','giiRJ','IFgAl','SDK_HOOK','stringify','kUheK','capabilities'];a36_0x56a3=function(){return _0x2d1571;};return a36_0x56a3();}function a36_0xac0b(_0x277d0f,_0x159695){const _0x56a364=a36_0x56a3();return a36_0xac0b=function(_0xac0bc8,_0x55148b){_0xac0bc8=_0xac0bc8-0xb2;let _0x34dbc1=_0x56a364[_0xac0bc8];return _0x34dbc1;},a36_0xac0b(_0x277d0f,_0x159695);}const a36_0x5b1763=a36_0xac0b;(function(_0x4396d7,_0x31286d){const _0x5ed9cf=a36_0xac0b,_0x57f6c9=_0x4396d7();while(!![]){try{const _0x11bedc=-parseInt(_0x5ed9cf(0x112))/0x1*(-parseInt(_0x5ed9cf(0x157))/0x2)+-parseInt(_0x5ed9cf(0x13d))/0x3*(-parseInt(_0x5ed9cf(0xb6))/0x4)+-parseInt(_0x5ed9cf(0x158))/0x5*(-parseInt(_0x5ed9cf(0x116))/0x6)+parseInt(_0x5ed9cf(0x111))/0x7*(parseInt(_0x5ed9cf(0xec))/0x8)+parseInt(_0x5ed9cf(0xbd))/0x9*(parseInt(_0x5ed9cf(0xb2))/0xa)+-parseInt(_0x5ed9cf(0x12f))/0xb*(-parseInt(_0x5ed9cf(0xc5))/0xc)+-parseInt(_0x5ed9cf(0xfc))/0xd;if(_0x11bedc===_0x31286d)break;else _0x57f6c9['push'](_0x57f6c9['shift']());}catch(_0x22beb4){_0x57f6c9['push'](_0x57f6c9['shift']());}}}(a36_0x56a3,0xacd00));const util=require(a36_0x5b1763(0x123)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x5b1763(0x14b)),{percyAutoCapture}=require(a36_0x5b1763(0xf6)),{sendPlatformDetails}=require(a36_0x5b1763(0xbc)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require('../../helpers/helper'),PerformanceTester=require(a36_0x5b1763(0x10f)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x5b1763(0xfb)),logger=require(a36_0x5b1763(0x132))[a36_0x5b1763(0x16d)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require(a36_0x5b1763(0xef));exports['mochaHooks']={'beforeAll'(){const _0x5b7144=a36_0x5b1763,_0x928328={'uIppZ':function(_0x7c6b45,_0x2d2381,_0x302d83,_0x299870){return _0x7c6b45(_0x2d2381,_0x302d83,_0x299870);},'xfnGQ':'failed','IFgAl':_0x5b7144(0x12b),'yiNpY':function(_0x537f31,_0x56045a,_0x417e19){return _0x537f31(_0x56045a,_0x417e19);},'XfeAs':'passed','WenNk':function(_0x437c33){return _0x437c33();},'ykdMr':'index','awSfw':_0x5b7144(0x16f)};PerformanceTester[_0x5b7144(0x162)]();const _0x521869='browserstack internal helper hook';PerformanceTester[_0x5b7144(0x10d)](PerformanceSdkEvents[_0x5b7144(0x103)],()=>{const _0x1616c5=_0x5b7144,_0x3566c7={'KAnbS':function(_0x53e8d4,_0x250a8c,_0x50c699,_0x2e8e22){const _0x54fcac=a36_0xac0b;return _0x928328[_0x54fcac(0x124)](_0x53e8d4,_0x250a8c,_0x50c699,_0x2e8e22);},'ebmXV':_0x928328[_0x1616c5(0x11d)],'bmmzt':_0x928328[_0x1616c5(0x102)],'UcIcS':function(_0xeb2ac0,_0x199981,_0x127083){const _0x586022=_0x1616c5;return _0x928328[_0x586022(0x16a)](_0xeb2ac0,_0x199981,_0x127083);},'rSclP':_0x928328[_0x1616c5(0x168)],'GVmsv':function(_0x470f4a){return _0x928328['WenNk'](_0x470f4a);}};global[_0x1616c5(0x14f)]=[],global[_0x1616c5(0xe6)]=![],global[_0x1616c5(0xf8)]=async()=>{const _0x55d819=_0x1616c5;let _0x475a4a=![];try{await global['__drivers'][0x0][_0x55d819(0xcc)],_0x475a4a=!![],global[_0x55d819(0xe6)]?await _0x3566c7[_0x55d819(0x149)](markSessionStatus,global[_0x55d819(0xe8)][0x0],_0x3566c7[_0x55d819(0xf2)],global[_0x55d819(0x14f)][_0x55d819(0xbf)](_0x3566c7[_0x55d819(0x12a)])):await _0x3566c7[_0x55d819(0x117)](markSessionStatus,global[_0x55d819(0xe8)][0x0],_0x3566c7['rSclP']);}catch(_0x2ed2b4){logger[_0x55d819(0x134)](_0x55d819(0x170)+_0x2ed2b4);}global[_0x55d819(0x14f)]=[],global['__sessionFailed']=![];if(_0x475a4a)try{try{_0x3566c7[_0x55d819(0xd2)](shouldProcessEventForTesthub)&&(global[_0x55d819(0xe8)][0x0]&&await _0x3566c7[_0x55d819(0x117)](sendPlatformDetails,global[_0x55d819(0xe8)][0x0],this['currentTest']?this[_0x55d819(0x113)][_0x55d819(0x14c)]:null));}catch(_0x547f5f){logger[_0x55d819(0x134)](_0x55d819(0x120)+_0x547f5f);}await global[_0x55d819(0xe8)][0x0][_0x55d819(0xd1)]();}catch(_0x963202){logger[_0x55d819(0x134)](_0x55d819(0xc9)+_0x963202);}};},{'platform':_0x928328[_0x5b7144(0x16a)](nestedKeyValue,global[_0x5b7144(0x13f)],[_0x928328['ykdMr']]),'hookType':_0x928328[_0x5b7144(0xe3)]})();},'beforeEach'(_0x4fa572){const _0x2d2f23=a36_0x5b1763,_0x4aa53f={'zSzqm':function(_0x40bff4,_0x8ff8db){return _0x40bff4>_0x8ff8db;},'xwCHd':_0x2d2f23(0x154),'ceilA':function(_0x227566,_0x2700ba,_0x8b4bb8){return _0x227566(_0x2700ba,_0x8b4bb8);},'HEilD':_0x2d2f23(0xf0),'JLtKS':function(_0x41ac6e){return _0x41ac6e();},'qLhFx':_0x2d2f23(0x12c),'kkPsf':function(_0x56bc76,_0x339fc0){return _0x56bc76===_0x339fc0;},'PxaCs':_0x2d2f23(0x118),'vHdGe':_0x2d2f23(0xd3),'IVpeK':_0x2d2f23(0xca),'YRtwZ':_0x2d2f23(0x14e),'JlUVL':function(_0x4b2dd7){return _0x4b2dd7();},'ufxiE':_0x2d2f23(0x131),'BIYVK':function(_0x2c110e,_0x2e2e14,_0x3efdfe){return _0x2c110e(_0x2e2e14,_0x3efdfe);},'pNhTC':_0x2d2f23(0xed),'UvvGW':'beforeEach'};globals[_0x2d2f23(0xe4)](_0x4aa53f[_0x2d2f23(0xf7)],this[_0x2d2f23(0x113)][_0x2d2f23(0xb5)]()[_0x2d2f23(0xbf)](_0x4aa53f['xwCHd'])),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x2d2f23(0x103)],()=>{const _0x15a139=_0x2d2f23,_0x129612={'xfKoB':function(_0x529a36){return _0x4aa53f['JlUVL'](_0x529a36);}},_0x4169e8='browserstack internal helper hook';new Promise(async _0x2b8c73=>{const _0x5aab5d=a36_0xac0b;let _0x12ffcf=!![];try{_0x4aa53f['zSzqm'](global[_0x5aab5d(0xe8)][_0x5aab5d(0xfa)],0x1)&&(await global['driverCleanup'](),global[_0x5aab5d(0xe8)][_0x5aab5d(0x15c)]()),_0x4aa53f[_0x5aab5d(0xfd)](global[_0x5aab5d(0xe8)][0x0]['quitCount_'],0x0)&&(_0x12ffcf=![],await global[_0x5aab5d(0xf8)]());}catch(_0x2da297){logger[_0x5aab5d(0x134)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x2da297);}try{Array[_0x5aab5d(0x16e)](global[_0x5aab5d(0xe8)])&&global[_0x5aab5d(0xe8)][0x0]&&(global[_0x5aab5d(0xe8)][0x0][_0x5aab5d(0x114)]=this[_0x5aab5d(0x113)]['titlePath']()[_0x5aab5d(0xbf)](_0x4aa53f[_0x5aab5d(0xf1)])),global['browserstackSessionName']=this[_0x5aab5d(0x113)][_0x5aab5d(0xb5)]()[_0x5aab5d(0xbf)](_0x4aa53f[_0x5aab5d(0xf1)]);}catch(_0x118aa0){logger[_0x5aab5d(0x134)](_0x5aab5d(0xc3)+_0x118aa0);}this[_0x5aab5d(0x113)]['shouldScanTestForAccessibility']=_0x4aa53f['ceilA'](shouldScanTestForAccessibility,this[_0x5aab5d(0x113)][_0x5aab5d(0xb5)](),!![]),globals['setGlobal'](_0x4aa53f[_0x5aab5d(0xf5)],this[_0x5aab5d(0x113)]['shouldScanTestForAccessibility']),this[_0x5aab5d(0x113)][_0x5aab5d(0x12d)]=!![];if(_0x4aa53f[_0x5aab5d(0x152)](isAccessibilityAutomationSession)&&_0x12ffcf&&Array['isArray'](global[_0x5aab5d(0xe8)])&&_0x4aa53f[_0x5aab5d(0xfd)](global[_0x5aab5d(0xe8)]['length'],0x0)&&globals['getGlobal'](_0x4aa53f[_0x5aab5d(0x165)]))try{const _0x5cbc1a=await global['__drivers'][0x0]['session_'];if(_0x5cbc1a){let _0xd1a0b7=!![];const _0x122a31=await global['__drivers'][0x0]['getCurrentUrl']();let _0x177f4b;try{_0x177f4b=new URL(_0x122a31);}catch(_0x266ee5){_0xd1a0b7=![];}_0xd1a0b7=_0x4aa53f['kkPsf'](_0x177f4b[_0x5aab5d(0xd5)],_0x4aa53f[_0x5aab5d(0x14a)])||_0x4aa53f['kkPsf'](_0x177f4b[_0x5aab5d(0xd5)],_0x4aa53f[_0x5aab5d(0x148)]),_0xd1a0b7&&(this[_0x5aab5d(0x113)][_0x5aab5d(0x110)]&&logger[_0x5aab5d(0xe2)](_0x4aa53f['IVpeK'])),this[_0x5aab5d(0x113)][_0x5aab5d(0x12d)]=this[_0x5aab5d(0x113)][_0x5aab5d(0x110)],this[_0x5aab5d(0x113)][_0x5aab5d(0x110)]&&logger['info'](_0x4aa53f[_0x5aab5d(0x15b)]);}}catch(_0x2cafb1){logger[_0x5aab5d(0x121)](_0x5aab5d(0x13c)+util['format'](_0x2cafb1));}_0x4aa53f['JLtKS'](_0x2b8c73);})[_0x15a139(0xb8)](()=>{const _0x40f21a=_0x15a139;_0x129612[_0x40f21a(0xf3)](_0x4fa572);});},{'platform':_0x4aa53f[_0x2d2f23(0x140)](nestedKeyValue,global['__platformCaps'],[_0x4aa53f['pNhTC']]),'hookType':_0x4aa53f[_0x2d2f23(0x145)]})();},'afterEach'(_0x1e0f62){const _0x3aa6a2=a36_0x5b1763,_0x24c7f4={'WfqtA':function(_0x44e2bb){return _0x44e2bb();},'SihYh':_0x3aa6a2(0x154),'vYBcD':function(_0x40d749,_0x87c4bd){return _0x40d749!==_0x87c4bd;},'hwkDt':'passed','eJqGy':function(_0x30e513,_0x34f1bd,_0x1d6baf){return _0x30e513(_0x34f1bd,_0x1d6baf);},'dXTUE':function(_0x334bfa,_0x3b3166){return _0x334bfa+_0x3b3166;},'uoYpB':_0x3aa6a2(0xd7),'LRjUe':_0x3aa6a2(0x121),'KjhfO':_0x3aa6a2(0x147),'KZsjs':_0x3aa6a2(0xe2),'STPRs':function(_0x47c93b,_0x2bbfb7){return _0x47c93b>_0x2bbfb7;},'TMrpK':function(_0x421623,_0x4241a1){return _0x421623===_0x4241a1;},'pkMGM':_0x3aa6a2(0x160),'DbDYh':function(_0x4c951c,_0x982dbb){return _0x4c951c>_0x982dbb;},'XJaOW':'appium:app','plKTA':function(_0x3d66e4,_0x5c58db,_0x108784,_0x278277){return _0x3d66e4(_0x5c58db,_0x108784,_0x278277);},'JYseB':'isAccessibilityPlatform','ovxBS':_0x3aa6a2(0xf0),'YBMll':_0x3aa6a2(0x12e),'efPuO':_0x3aa6a2(0x15f),'OGssl':_0x3aa6a2(0xe0),'cXZAY':'Accessibility\x20scan\x20completed\x20successfully','rTdWx':'Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','wUipB':_0x3aa6a2(0x135),'vYlmT':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','qAVAo':_0x3aa6a2(0x164),'mZzQz':_0x3aa6a2(0x134),'TaZNx':'Mocha','WkbWx':_0x3aa6a2(0xed),'MVxiS':_0x3aa6a2(0x155)},_0xa7fc4f='browserstack internal helper hook';this[_0x3aa6a2(0x15d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x24c7f4['TaZNx']]),global['sessionName']=this[_0x3aa6a2(0x113)][_0x3aa6a2(0xb5)]()[_0x3aa6a2(0xbf)](_0x24c7f4[_0x3aa6a2(0x15a)]),PerformanceTester[_0x3aa6a2(0x10d)](PerformanceSdkEvents[_0x3aa6a2(0x103)],()=>{const _0x9efd45=_0x3aa6a2,_0xf13980={'giiRJ':_0x24c7f4[_0x9efd45(0x15a)],'qcHJp':function(_0x29d914,_0x189877){const _0x2aed92=_0x9efd45;return _0x24c7f4[_0x2aed92(0xfe)](_0x29d914,_0x189877);},'ncWrV':_0x24c7f4[_0x9efd45(0x11f)],'hWOsE':function(_0x34a5da,_0x4b92fe,_0x2e1116){const _0x54fc2b=_0x9efd45;return _0x24c7f4[_0x54fc2b(0x127)](_0x34a5da,_0x4b92fe,_0x2e1116);},'sUYyz':function(_0x334b53,_0x557a29){const _0x5e326f=_0x9efd45;return _0x24c7f4[_0x5e326f(0xb3)](_0x334b53,_0x557a29);},'AvpnU':_0x24c7f4['uoYpB'],'qYHOR':_0x24c7f4[_0x9efd45(0x108)],'hzHEn':function(_0x27d22c,_0x1ab0a8,_0x1aa114){const _0x550b35=_0x9efd45;return _0x24c7f4[_0x550b35(0x127)](_0x27d22c,_0x1ab0a8,_0x1aa114);},'yVyaB':_0x24c7f4['KjhfO'],'jkepy':_0x24c7f4['KZsjs'],'Diqzh':function(_0x424935,_0xe832b7){const _0x4f9322=_0x9efd45;return _0x24c7f4[_0x4f9322(0x150)](_0x424935,_0xe832b7);},'niRHl':function(_0x3f5d17,_0x142f15){return _0x24c7f4['TMrpK'](_0x3f5d17,_0x142f15);},'BJzjm':_0x24c7f4[_0x9efd45(0xba)],'vvCqj':function(_0x2b83d4,_0x3bebb2){const _0x2e9160=_0x9efd45;return _0x24c7f4[_0x2e9160(0xe1)](_0x2b83d4,_0x3bebb2);},'MbgRR':_0x24c7f4[_0x9efd45(0x156)],'omSTv':function(_0x5414c9,_0x4df2e1,_0x5a754d,_0x3eab8d){const _0x3a33c6=_0x9efd45;return _0x24c7f4[_0x3a33c6(0x153)](_0x5414c9,_0x4df2e1,_0x5a754d,_0x3eab8d);},'jZyXN':_0x24c7f4['JYseB'],'UjHZu':_0x24c7f4['ovxBS'],'WrqPI':_0x24c7f4[_0x9efd45(0x151)],'RKmOA':_0x24c7f4[_0x9efd45(0x13e)],'VWPXM':_0x24c7f4[_0x9efd45(0xdc)],'QlrQc':_0x24c7f4['cXZAY'],'byOLl':_0x24c7f4['rTdWx'],'SLIrx':_0x24c7f4[_0x9efd45(0x166)],'rYbYk':_0x24c7f4[_0x9efd45(0xdb)],'kUheK':_0x24c7f4[_0x9efd45(0xd4)],'QZgxe':function(_0x418231){const _0x1571fc=_0x9efd45;return _0x24c7f4[_0x1571fc(0xee)](_0x418231);},'wkOpK':function(_0x3ced5f){return _0x24c7f4['WfqtA'](_0x3ced5f);},'ZcAEp':function(_0x3b3d3f,_0x5c7f3b,_0x2ae65e){const _0x121977=_0x9efd45;return _0x24c7f4[_0x121977(0x127)](_0x3b3d3f,_0x5c7f3b,_0x2ae65e);},'XhCPt':_0x24c7f4[_0x9efd45(0x139)],'tfmqb':function(_0x29fec2,_0x5c4750){const _0x2daae5=_0x9efd45;return _0x24c7f4[_0x2daae5(0xe1)](_0x29fec2,_0x5c4750);}},_0x9395e=async(_0x4b25f2,_0x24febe)=>{const _0x34cb14=_0x9efd45;await global[_0x34cb14(0xe8)][0x0][_0x34cb14(0x129)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x4b25f2+_0x34cb14(0xcb)+_0x24febe+_0x34cb14(0x159));};new Promise(async _0x3b1d79=>{const _0x8441b7=_0x9efd45;try{_0xf13980[_0x8441b7(0x144)](global[_0x8441b7(0xe8)][_0x8441b7(0xfa)],0x1)&&(await global[_0x8441b7(0xf8)](),global[_0x8441b7(0xe8)]['shift'](),global[_0x8441b7(0x14f)]=[],global[_0x8441b7(0xe6)]=![]);try{if(global[_0x8441b7(0x10b)]&&_0xf13980['niRHl'](global[_0x8441b7(0x167)],_0xf13980[_0x8441b7(0x11a)])&&global['__drivers'][0x0]){const _0x5ef5f2=_0xf13980[_0x8441b7(0xce)](global[_0x8441b7(0x106)]['length'],0x0)?!!global[_0x8441b7(0x106)][0x0][_0x8441b7(0xc8)]||!!global[_0x8441b7(0x106)][0x0][_0xf13980[_0x8441b7(0xc0)]]:![],_0x37e84f={};_0x37e84f[_0x8441b7(0xc8)]=_0x5ef5f2,await _0xf13980[_0x8441b7(0xd6)](percyAutoCapture,global[_0x8441b7(0xe8)][0x0],_0xf13980[_0x8441b7(0x11a)],_0x37e84f);}}catch(_0x56cb8a){logger['debug']('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x56cb8a);}!global[_0x8441b7(0x100)]&&(await PerformanceTester[_0x8441b7(0x10d)](PerformanceAutEvents[_0x8441b7(0xe5)],async()=>{const _0x98a05d=_0x8441b7;await global[_0x98a05d(0xe8)][0x0]['executeScript'](_0x98a05d(0x10c)+JSON[_0x98a05d(0x104)](this[_0x98a05d(0x113)][_0x98a05d(0xb5)]()[_0x98a05d(0xbf)](_0xf13980[_0x98a05d(0x101)]))+'}}');})(),global[_0x8441b7(0xe8)][0x0][_0x8441b7(0x107)]=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x8441b7(0x16c)],async()=>{const _0x395bce=_0x8441b7,_0x592aa5=_0xf13980[_0x395bce(0xdf)](this[_0x395bce(0x113)][_0x395bce(0xcd)],_0xf13980[_0x395bce(0xb9)]);_0x592aa5?(global[_0x395bce(0xe6)]=!![],global[_0x395bce(0x14f)][_0x395bce(0xc4)](this[_0x395bce(0x113)][_0x395bce(0x143)]['message']),await _0xf13980[_0x395bce(0x141)](_0x9395e,JSON['stringify'](_0xf13980[_0x395bce(0x130)](_0xf13980[_0x395bce(0x115)],this[_0x395bce(0x113)][_0x395bce(0x143)][_0x395bce(0x109)])),_0xf13980['qYHOR'])):await _0xf13980[_0x395bce(0xc7)](_0x9395e,JSON[_0x395bce(0x104)](_0xf13980[_0x395bce(0x11c)]),_0xf13980[_0x395bce(0x13b)]);})();}catch(_0xaac218){logger[_0x8441b7(0x134)](_0x8441b7(0xd8)+_0xaac218);}try{if(this[_0x8441b7(0x113)][_0x8441b7(0x12d)]&&globals[_0x8441b7(0xff)](_0xf13980[_0x8441b7(0x161)])&&globals[_0x8441b7(0xff)](_0xf13980[_0x8441b7(0xb7)])){logger[_0x8441b7(0xe2)](_0xf13980[_0x8441b7(0x13a)]);const _0x16c86e={};_0x16c86e[_0x8441b7(0x136)]=this[_0x8441b7(0x113)]['testAnalyticsId'],_0x16c86e[_0x8441b7(0x10a)]=process[_0x8441b7(0xe9)][testHubConstants[_0x8441b7(0xc1)]['BROWSERSTACK_TESTHUB_UUID']],_0x16c86e[_0x8441b7(0x169)]=process[_0x8441b7(0xe9)][testHubConstants[_0x8441b7(0xc1)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1c7f73=_0x16c86e;logger[_0x8441b7(0x134)](_0x8441b7(0x133)+JSON[_0x8441b7(0x104)](_0x1c7f73)),logger['debug'](_0xf13980[_0x8441b7(0x137)]);const _0x21eca2={};_0x21eca2[_0x8441b7(0x146)]=_0xf13980[_0x8441b7(0xea)];const _0x491ebd=await PerformanceTester[_0x8441b7(0x10d)](PerformanceA11yEvents[_0x8441b7(0xd0)],async()=>{const _0x20d428=_0x8441b7;return await accessibilityRetryHelper[_0x20d428(0x15e)](global[_0x20d428(0xe8)][0x0],global[_0x20d428(0x114)]);},_0x21eca2)();_0x491ebd?logger[_0x8441b7(0x134)](_0xf13980['QlrQc']):logger[_0x8441b7(0xf4)](_0xf13980[_0x8441b7(0xcf)]);const _0x1e0b49=await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x8441b7(0x142)],async()=>{const _0x3b3d8e=_0x8441b7;return await accessibilityRetryHelper[_0x3b3d8e(0xdd)](global[_0x3b3d8e(0xe8)][0x0],_0x1c7f73);})();_0x1e0b49?logger['debug'](_0xf13980[_0x8441b7(0x122)]):logger[_0x8441b7(0xf4)](_0xf13980[_0x8441b7(0xeb)]),logger[_0x8441b7(0xe2)](_0xf13980[_0x8441b7(0x105)]);}}catch(_0x246775){logger[_0x8441b7(0x121)](_0x8441b7(0xbe)+this[_0x8441b7(0x113)]['titlePath']()+_0x8441b7(0xd9),_0x246775);}try{try{if(_0xf13980[_0x8441b7(0xda)](shouldProcessEventForTesthub)){global[_0x8441b7(0xe8)][0x0]&&await _0xf13980[_0x8441b7(0xc7)](sendPlatformDetails,global[_0x8441b7(0xe8)][0x0],this[_0x8441b7(0x113)]?this[_0x8441b7(0x113)][_0x8441b7(0x14c)]:null);if(_0xf13980[_0x8441b7(0xf9)](isBrowserstackInfra)){PerformanceTester['start'](PerformanceO11yEvents[_0x8441b7(0x119)]);const _0x1c9a78=_0x8441b7(0x138)+Date['now']();await _0xf13980[_0x8441b7(0x125)](_0x9395e,JSON[_0x8441b7(0x104)](_0x1c9a78),_0xf13980[_0x8441b7(0x14d)]),PerformanceTester[_0x8441b7(0xc6)](PerformanceO11yEvents[_0x8441b7(0x119)]);}}}catch(_0x5e1044){logger[_0x8441b7(0x134)]('Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20'+_0x5e1044),PerformanceTester[_0x8441b7(0xc6)](PerformanceO11yEvents[_0x8441b7(0x119)],![],_0x5e1044);}_0xf13980['tfmqb'](global['__drivers'][0x0][_0x8441b7(0x128)],0x0)&&await global['driverCleanup']();}catch(_0x593705){logger[_0x8441b7(0x134)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x593705);}_0xf13980[_0x8441b7(0xf9)](_0x3b1d79);})[_0x9efd45(0xb8)](()=>{const _0x10385f=_0x9efd45;_0x24c7f4[_0x10385f(0xee)](_0x1e0f62);});},{'platform':_0x24c7f4[_0x3aa6a2(0x127)](nestedKeyValue,global[_0x3aa6a2(0x13f)],[_0x24c7f4[_0x3aa6a2(0x163)]]),'hookType':_0x24c7f4[_0x3aa6a2(0x11b)]})();},'afterAll'(_0x5d9de0){const _0x1c13fe=a36_0x5b1763,_0x2ba5c1={'BfmVx':function(_0x2cea60){return _0x2cea60();},'geuce':'Mocha','kRTCw':function(_0x4b9968,_0x471b71,_0x2d9ef3){return _0x4b9968(_0x471b71,_0x2d9ef3);},'NrdTP':'index','hAcCE':_0x1c13fe(0x10e)},_0x132380='browserstack internal helper hook';this[_0x1c13fe(0x15d)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x2ba5c1[_0x1c13fe(0x16b)]]),PerformanceTester[_0x1c13fe(0x10d)](PerformanceSdkEvents[_0x1c13fe(0x103)],()=>{const _0x125113=_0x1c13fe,_0x2ac394={'DQJog':function(_0x1a234a){const _0x4058c5=a36_0xac0b;return _0x2ba5c1[_0x4058c5(0xc2)](_0x1a234a);},'RDriB':function(_0x59f83c){return _0x2ba5c1['BfmVx'](_0x59f83c);}};new Promise(async _0x18e203=>{const _0x107b97=a36_0xac0b;await global['driverCleanup'](),_0x2ac394[_0x107b97(0x126)](_0x18e203);})[_0x125113(0xb8)]()[_0x125113(0xe7)](()=>{const _0x252af5=_0x125113;_0x2ac394[_0x252af5(0x11e)](_0x5d9de0);});},{'platform':_0x2ba5c1[_0x1c13fe(0xb4)](nestedKeyValue,global['__platformCaps'],[_0x2ba5c1[_0x1c13fe(0xde)]]),'hookType':_0x2ba5c1[_0x1c13fe(0xbb)]})();}};
|
|
1
|
+
function a36_0x34b5(_0x9223c9,_0x1c77a7){const _0x311fb4=a36_0x311f();return a36_0x34b5=function(_0x34b56c,_0x1e1466){_0x34b56c=_0x34b56c-0xe4;let _0x395c8f=_0x311fb4[_0x34b56c];return _0x395c8f;},a36_0x34b5(_0x9223c9,_0x1c77a7);}function a36_0x311f(){const _0x42951c=['Passed','util','../../helpers/helper','pVKqq','JhxuB','protocol','capabilities','driverCleanup','err','103278NeQAfd','testAnalyticsId','KTBZr','dKYSP','ZApsk','__sessionFailed','then','thTestRunUuid','thJwtToken','112nwzLyv','executeScript','mochaHooks','SMqhW','currentTest','Mocha','afterAll','__drivers','CaBWP','ObservabilitySync:','SYNC','AKWwO','bTwlE','hMmkR','ZRGMZ','Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','join','appium:app','session_','length','saveAccessibilityResultsWithRetry','BROWSERSTACK_TESTHUB_JWT','initQuit','Eiint','index','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','error','push','gSdUj','DpAxq','info','ExViE','NuPnm','XRwIO','warn','4167jATWCI','zJsjt','app','cboEN','../../helpers/testhub/utils','Failed:\x20','startMonitoring','NfMhU','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','../../helpers/performance/performance-tester','__error_messages__','rACbw','3959972xXWEmU','aOaMt','MPWRp','ntSJm','YUeuA','debug','PRAii','Echtr','Gevby','isArray','now','47660KTnxly','hKKVH','VHyrS','../../helpers/accessibility-automation/accessibilityRetryHelper','NwvIA','fVhWl','JzshD','uMNnS','FdIUB','winstonLogger','passed',',\x22level\x22:\x20\x22','RPueZ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','timeout','ESKZt','jUVOY','../../helpers/percy/utils','getGlobal','../../helpers/globals','fhBCp','tZdvc','\x20-\x20','3CafZXE','tbmeu','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','isAccessibilityPlatform','VtJAv','fzHof','Ledcf','stringify','jUUED','.\x20Error\x20:','http:','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','Performing\x20accessibility\x20scan\x20with\x20retry\x20logic\x20before\x20saving\x20results','browserstackTestName','keESe','6409176WcDgkh','measureWrapper','shouldScanTestForAccessibility','../../helpers/testhub/constants','eCBfI','beforeEach','SDK_HOOK','mOKsS','sNvYV','1223288yPrkQn','end','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mYkOt','WOTxK','4329210PqTOgl','BWBcH','finally','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Failed\x20to\x20store\x20session\x20name:\x20','sqmQJ','xySOY','kDzIS','accessibilityScanStarted','RsLAP','jVxQP','browserstackSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','failed','bstackA11yShouldScan','MSwOv','performScanWithRetry','setGlobal','wkiQM','start','YkEKt','__skipSessionName','quitCount_','percy','ShSbD','shift','bTEkE','ENV_VAR','format','../../helpers/accessibility-automation/helper','MwYAq','sAcyb','PERFORM_SCAN','rlkNZ','thBuildUuid','percyCaptureMode','nkPYX','Accessibility\x20results\x20saved\x20successfully','TedZJ','anJVx','sessionNameSet__','635356hZkCTE','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','KUStz','state','titlePath','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','cYQcM','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','KGrBZ','MrRGP','env','GNLSL','urmFz','yjAeT','OZdiP','vXQGW','../utils/constants','SbAWE','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','gDxqP','cmCzX','IIRSj','hwhMN','testcase','__platformCaps','PHJAq','hINcb','WUNOY','moxni'];a36_0x311f=function(){return _0x42951c;};return a36_0x311f();}const a36_0x466a57=a36_0x34b5;(function(_0xb0854e,_0x429b61){const _0x505da6=a36_0x34b5,_0x14e2f9=_0xb0854e();while(!![]){try{const _0x4c3b7f=-parseInt(_0x505da6(0x195))/0x1+-parseInt(_0x505da6(0x167))/0x2+-parseInt(_0x505da6(0x14f))/0x3*(-parseInt(_0x505da6(0x12d))/0x4)+-parseInt(_0x505da6(0x16c))/0x5+-parseInt(_0x505da6(0xf5))/0x6*(-parseInt(_0x505da6(0xfe))/0x7)+-parseInt(_0x505da6(0x15e))/0x8+parseInt(_0x505da6(0x121))/0x9*(parseInt(_0x505da6(0x138))/0xa);if(_0x4c3b7f===_0x429b61)break;else _0x14e2f9['push'](_0x14e2f9['shift']());}catch(_0x3c1c87){_0x14e2f9['push'](_0x14e2f9['shift']());}}}(a36_0x311f,0x883f6));const util=require(a36_0x466a57(0xed)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a36_0x466a57(0x189)),accessibilityRetryHelper=require(a36_0x466a57(0x13b)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a36_0x466a57(0x1a5)),{percyAutoCapture}=require(a36_0x466a57(0x149)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a36_0x466a57(0xee)),PerformanceTester=require(a36_0x466a57(0x12a)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require('../../helpers/performance/constants'),globals=require(a36_0x466a57(0x14b)),logger=require('../../helpers/logger')[a36_0x466a57(0x141)],{shouldProcessEventForTesthub}=require(a36_0x466a57(0x125)),testHubConstants=require(a36_0x466a57(0x161));exports[a36_0x466a57(0x100)]={'beforeAll'(){const _0xc7b0b8=a36_0x466a57,_0x1a76cd={'urmFz':function(_0x4a787d,_0x2a3970,_0x4440ca,_0x10b000){return _0x4a787d(_0x2a3970,_0x4440ca,_0x10b000);},'MwYAq':_0xc7b0b8(0x179),'YbHzx':'\x20|\x20','tZdvc':function(_0x15445a,_0x5b3125,_0x9d4a73){return _0x15445a(_0x5b3125,_0x9d4a73);},'YSoZx':_0xc7b0b8(0x142),'AKWwO':function(_0x48b20d){return _0x48b20d();},'dKYSP':function(_0x4df50c,_0x4de2ba,_0x1b26aa){return _0x4df50c(_0x4de2ba,_0x1b26aa);},'mOKsS':_0xc7b0b8(0x116),'KTBZr':'beforeAll'};PerformanceTester[_0xc7b0b8(0x127)]();const _0x4ff348='browserstack internal helper hook';PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0xc7b0b8(0x164)],()=>{const _0x79ba90=_0xc7b0b8;global['__error_messages__']=[],global[_0x79ba90(0xfa)]=![],global[_0x79ba90(0xf3)]=async()=>{const _0x7bee71=_0x79ba90;let _0x21d301=![];try{await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x110)],_0x21d301=!![],global[_0x7bee71(0xfa)]?await _0x1a76cd[_0x7bee71(0x1a1)](markSessionStatus,global[_0x7bee71(0x105)][0x0],_0x1a76cd[_0x7bee71(0x18a)],global['__error_messages__'][_0x7bee71(0x10e)](_0x1a76cd['YbHzx'])):await _0x1a76cd[_0x7bee71(0x14d)](markSessionStatus,global['__drivers'][0x0],_0x1a76cd['YSoZx']);}catch(_0x331ceb){logger[_0x7bee71(0x132)](_0x7bee71(0x151)+_0x331ceb);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x21d301)try{try{_0x1a76cd[_0x7bee71(0x109)](shouldProcessEventForTesthub)&&(global[_0x7bee71(0x105)][0x0]&&await _0x1a76cd['tZdvc'](sendPlatformDetails,global[_0x7bee71(0x105)][0x0],this[_0x7bee71(0x102)]?this['currentTest'][_0x7bee71(0xf6)]:null));}catch(_0x463be9){logger[_0x7bee71(0x132)](_0x7bee71(0x129)+_0x463be9);}await global[_0x7bee71(0x105)][0x0][_0x7bee71(0x114)]();}catch(_0x24cfd9){logger[_0x7bee71(0x132)](_0x7bee71(0x15a)+_0x24cfd9);}};},{'platform':_0x1a76cd[_0xc7b0b8(0xf8)](nestedKeyValue,global[_0xc7b0b8(0xe7)],[_0x1a76cd[_0xc7b0b8(0x165)]]),'hookType':_0x1a76cd[_0xc7b0b8(0xf7)]})();},'beforeEach'(_0x2560f1){const _0x56ab5a=a36_0x466a57,_0x190f67={'NuPnm':function(_0x163eb5){return _0x163eb5();},'JzshD':function(_0x2bd89c,_0x476ed1){return _0x2bd89c>_0x476ed1;},'YkEKt':_0x56ab5a(0x14e),'CaBWP':function(_0x1fd4bf,_0x333422,_0x1f0535){return _0x1fd4bf(_0x333422,_0x1f0535);},'hwhMN':'bstackA11yShouldScan','BWBcH':_0x56ab5a(0x152),'Echtr':function(_0x296c9d,_0xdb1afd){return _0x296c9d===_0xdb1afd;},'ntSJm':_0x56ab5a(0x159),'xySOY':function(_0x254c24,_0xe3a9b){return _0x254c24===_0xe3a9b;},'Eiint':'https:','ExViE':_0x56ab5a(0x196),'aXWVp':'Automate\x20test\x20case\x20execution\x20has\x20started.','yjAeT':_0x56ab5a(0x15c),'bTwlE':function(_0xbd6eca,_0x3f9e1d,_0x1dc6b1){return _0xbd6eca(_0x3f9e1d,_0x1dc6b1);},'ESKZt':_0x56ab5a(0x116),'OZKuv':_0x56ab5a(0x163)};globals[_0x56ab5a(0x17d)](_0x190f67[_0x56ab5a(0x1a2)],this['currentTest'][_0x56ab5a(0x199)]()[_0x56ab5a(0x10e)](_0x190f67[_0x56ab5a(0x180)])),PerformanceTester[_0x56ab5a(0x15f)](PerformanceSdkEvents[_0x56ab5a(0x164)],()=>{const _0x3a36ae=_0x56ab5a,_0x372b61={'kDzIS':function(_0x3dd1b8,_0x5bc11e){const _0x40d7ce=a36_0x34b5;return _0x190f67[_0x40d7ce(0x13e)](_0x3dd1b8,_0x5bc11e);},'WUNOY':_0x190f67[_0x3a36ae(0x180)],'FcKHP':function(_0x8bba6c,_0xb85e85,_0x206f0e){const _0x1dac4a=_0x3a36ae;return _0x190f67[_0x1dac4a(0x106)](_0x8bba6c,_0xb85e85,_0x206f0e);},'Ledcf':_0x190f67[_0x3a36ae(0xe5)],'VtJAv':function(_0x274141){return _0x190f67['NuPnm'](_0x274141);},'vXQGW':function(_0x2129c5,_0x3be1f8){return _0x190f67['JzshD'](_0x2129c5,_0x3be1f8);},'jzoMS':_0x190f67[_0x3a36ae(0x16d)],'BSdkL':function(_0x142c7c,_0x15db95){const _0x1cb8e4=_0x3a36ae;return _0x190f67[_0x1cb8e4(0x134)](_0x142c7c,_0x15db95);},'XRwIO':_0x190f67[_0x3a36ae(0x130)],'cboEN':function(_0x286a8a,_0x2c559e){const _0x4968f3=_0x3a36ae;return _0x190f67[_0x4968f3(0x172)](_0x286a8a,_0x2c559e);},'hINcb':_0x190f67[_0x3a36ae(0x115)],'MSwOv':_0x190f67[_0x3a36ae(0x11d)],'pVKqq':_0x190f67['aXWVp']},_0x387f4e='browserstack internal helper hook';new Promise(async _0x1bcba1=>{const _0x1321da=_0x3a36ae;let _0x11e773=!![];try{_0x372b61[_0x1321da(0x173)](global['__drivers']['length'],0x1)&&(await global[_0x1321da(0xf3)](),global[_0x1321da(0x105)][_0x1321da(0x185)]()),_0x372b61[_0x1321da(0x173)](global[_0x1321da(0x105)][0x0][_0x1321da(0x182)],0x0)&&(_0x11e773=![],await global[_0x1321da(0xf3)]());}catch(_0x46ed0b){logger['debug'](_0x1321da(0x15a)+_0x46ed0b);}try{Array['isArray'](global['__drivers'])&&global[_0x1321da(0x105)][0x0]&&(global[_0x1321da(0x105)][0x0][_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()['join'](_0x372b61[_0x1321da(0xea)])),global[_0x1321da(0x177)]=this[_0x1321da(0x102)][_0x1321da(0x199)]()[_0x1321da(0x10e)](_0x372b61['WUNOY']);}catch(_0x44423c){logger[_0x1321da(0x132)](_0x1321da(0x170)+_0x44423c);}this['currentTest'][_0x1321da(0x160)]=_0x372b61['FcKHP'](shouldScanTestForAccessibility,this[_0x1321da(0x102)][_0x1321da(0x199)](),!![]),globals['setGlobal'](_0x372b61[_0x1321da(0x155)],this[_0x1321da(0x102)]['shouldScanTestForAccessibility']),this[_0x1321da(0x102)][_0x1321da(0x174)]=!![];if(_0x372b61[_0x1321da(0x153)](isAccessibilityAutomationSession)&&_0x11e773&&Array[_0x1321da(0x136)](global[_0x1321da(0x105)])&&_0x372b61[_0x1321da(0x1a4)](global[_0x1321da(0x105)][_0x1321da(0x111)],0x0)&&globals[_0x1321da(0x14a)](_0x372b61['jzoMS']))try{const _0x363ca7=await global['__drivers'][0x0][_0x1321da(0x110)];if(_0x363ca7){let _0x8106a5=!![];const _0x302044=await global['__drivers'][0x0]['getCurrentUrl']();let _0xf96f16;try{_0xf96f16=new URL(_0x302044);}catch(_0x355257){_0x8106a5=![];}_0x8106a5=_0x372b61['BSdkL'](_0xf96f16[_0x1321da(0xf1)],_0x372b61[_0x1321da(0x11f)])||_0x372b61[_0x1321da(0x124)](_0xf96f16['protocol'],_0x372b61[_0x1321da(0xe9)]),_0x8106a5&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x1321da(0x11c)](_0x372b61[_0x1321da(0x17b)])),this['currentTest'][_0x1321da(0x174)]=this[_0x1321da(0x102)][_0x1321da(0x160)],this['currentTest'][_0x1321da(0x160)]&&logger['info'](_0x372b61[_0x1321da(0xef)]);}}catch(_0x4018e0){logger[_0x1321da(0x118)](_0x1321da(0x145)+util[_0x1321da(0x188)](_0x4018e0));}_0x372b61[_0x1321da(0x153)](_0x1bcba1);})['then'](()=>{const _0x7a3d6d=_0x3a36ae;_0x190f67[_0x7a3d6d(0x11e)](_0x2560f1);});},{'platform':_0x190f67[_0x56ab5a(0x10a)](nestedKeyValue,global[_0x56ab5a(0xe7)],[_0x190f67[_0x56ab5a(0x147)]]),'hookType':_0x190f67['OZKuv']})();},'afterEach'(_0x3323e3){const _0x8483af=a36_0x466a57,_0x3b0728={'Gevby':function(_0xddaa3){return _0xddaa3();},'tbmeu':function(_0x33cc5c,_0x5120ba){return _0x33cc5c!==_0x5120ba;},'fzHof':_0x8483af(0x142),'jVxQP':function(_0x9516e6,_0x8b24f9,_0x5a5b7f){return _0x9516e6(_0x8b24f9,_0x5a5b7f);},'sqmQJ':function(_0xd72175,_0x4fc641){return _0xd72175+_0x4fc641;},'mYkOt':_0x8483af(0x126),'GNLSL':_0x8483af(0x118),'hKKVH':function(_0x178a47,_0x218083,_0x4f8a0c){return _0x178a47(_0x218083,_0x4f8a0c);},'sNvYV':_0x8483af(0xec),'PPbDu':'info','IIRSj':'\x20-\x20','YUeuA':function(_0x127d92,_0xef5a28){return _0x127d92>_0xef5a28;},'aOaMt':function(_0x3b3689,_0x2542bd){return _0x3b3689===_0x2542bd;},'YAPQg':_0x8483af(0xe6),'MrRGP':_0x8483af(0x10f),'WIFCg':function(_0x55890c,_0x52df05,_0x451238,_0x701057){return _0x55890c(_0x52df05,_0x451238,_0x701057);},'sAcyb':_0x8483af(0x152),'KGrBZ':_0x8483af(0x17a),'PRAii':_0x8483af(0x169),'NfMhU':_0x8483af(0x15b),'RsLAP':'afterTest','RPueZ':'Accessibility\x20scan\x20completed\x20successfully','DpAxq':_0x8483af(0x10d),'anJVx':_0x8483af(0x191),'ZApsk':'Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','ShSbD':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','kZKpD':function(_0x151917){return _0x151917();},'jKbcR':_0x8483af(0x132),'SLYcb':function(_0x56fbe5){return _0x56fbe5();},'FXmgg':_0x8483af(0x103),'Dawms':'index','jUUED':'afterEach'},_0x2bfd85='browserstack internal helper hook';this['timeout'](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x3b0728['FXmgg']]),global['sessionName']=this['currentTest'][_0x8483af(0x199)]()['join'](_0x3b0728[_0x8483af(0xe4)]),PerformanceTester['measureWrapper'](PerformanceSdkEvents[_0x8483af(0x164)],()=>{const _0x59a96c=_0x8483af,_0x21cb11={'TedZJ':function(_0x3ff603,_0x5c8ced){const _0x1d6f5f=a36_0x34b5;return _0x3b0728[_0x1d6f5f(0x150)](_0x3ff603,_0x5c8ced);},'rBLJg':_0x3b0728[_0x59a96c(0x154)],'fhBCp':function(_0x3fea30,_0x5b9a3a,_0x3f2047){const _0x33c546=_0x59a96c;return _0x3b0728[_0x33c546(0x176)](_0x3fea30,_0x5b9a3a,_0x3f2047);},'wkiQM':function(_0x5871f0,_0x322514){const _0x4bb815=_0x59a96c;return _0x3b0728[_0x4bb815(0x171)](_0x5871f0,_0x322514);},'SMqhW':_0x3b0728[_0x59a96c(0x16a)],'keESe':_0x3b0728[_0x59a96c(0x1a0)],'cmCzX':function(_0x6d0816,_0x18af49,_0x14cedc){const _0x41bcd6=_0x59a96c;return _0x3b0728[_0x41bcd6(0x139)](_0x6d0816,_0x18af49,_0x14cedc);},'JTakR':_0x3b0728[_0x59a96c(0x166)],'OZdiP':_0x3b0728['PPbDu'],'ZRGMZ':_0x3b0728['IIRSj'],'PHJAq':function(_0x21275a,_0xd4f490){const _0x251a75=_0x59a96c;return _0x3b0728[_0x251a75(0x131)](_0x21275a,_0xd4f490);},'cYQcM':function(_0x21cd28,_0xb8901c){const _0x243119=_0x59a96c;return _0x3b0728[_0x243119(0x12e)](_0x21cd28,_0xb8901c);},'VHyrS':_0x3b0728['YAPQg'],'rACbw':_0x3b0728[_0x59a96c(0x19e)],'moxni':function(_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f){return _0x3b0728['WIFCg'](_0xe63086,_0x49c4d2,_0x2060e9,_0x19d83f);},'QQREz':_0x3b0728[_0x59a96c(0x18b)],'SbAWE':_0x3b0728[_0x59a96c(0x19d)],'fVhWl':_0x3b0728[_0x59a96c(0x133)],'eCBfI':_0x3b0728[_0x59a96c(0x128)],'FdIUB':_0x3b0728[_0x59a96c(0x175)],'gDxqP':_0x3b0728[_0x59a96c(0x144)],'mwKop':_0x3b0728[_0x59a96c(0x11b)],'zJsjt':_0x3b0728[_0x59a96c(0x193)],'jUVOY':_0x3b0728[_0x59a96c(0xf9)],'nkPYX':_0x3b0728[_0x59a96c(0x184)],'NwvIA':function(_0x263cc2){const _0x691005=_0x59a96c;return _0x3b0728[_0x691005(0x135)](_0x263cc2);},'JhxuB':function(_0x238fce){return _0x3b0728['kZKpD'](_0x238fce);},'rlkNZ':function(_0x9922eb,_0x26ac14,_0x51145b){const _0x3dc2b3=_0x59a96c;return _0x3b0728[_0x3dc2b3(0x176)](_0x9922eb,_0x26ac14,_0x51145b);},'hMmkR':_0x3b0728['jKbcR'],'MPWRp':function(_0x7dc9ee,_0x4d4bc0){const _0x59b669=_0x59a96c;return _0x3b0728[_0x59b669(0x131)](_0x7dc9ee,_0x4d4bc0);},'uMNnS':function(_0x4f1e25){return _0x3b0728['SLYcb'](_0x4f1e25);}},_0x4e9012=async(_0x534a37,_0x498356)=>{const _0x4c4128=_0x59a96c;await global[_0x4c4128(0x105)][0x0][_0x4c4128(0xff)](_0x4c4128(0x19c)+_0x534a37+_0x4c4128(0x143)+_0x498356+'\x22}}');};new Promise(async _0xab4c4e=>{const _0x2beb40=_0x59a96c,_0x21ba91={};_0x21ba91[_0x2beb40(0x16b)]=_0x21cb11[_0x2beb40(0x10c)];const _0x306b06=_0x21ba91;try{_0x21cb11[_0x2beb40(0xe8)](global[_0x2beb40(0x105)][_0x2beb40(0x111)],0x1)&&(await global[_0x2beb40(0xf3)](),global[_0x2beb40(0x105)][_0x2beb40(0x185)](),global['__error_messages__']=[],global[_0x2beb40(0xfa)]=![]);try{if(global[_0x2beb40(0x183)]&&_0x21cb11[_0x2beb40(0x19b)](global[_0x2beb40(0x18f)],_0x21cb11[_0x2beb40(0x13a)])&&global[_0x2beb40(0x105)][0x0]){const _0x1e15fd=_0x21cb11['PHJAq'](global[_0x2beb40(0xf2)][_0x2beb40(0x111)],0x0)?!!global[_0x2beb40(0xf2)][0x0][_0x2beb40(0x123)]||!!global[_0x2beb40(0xf2)][0x0][_0x21cb11[_0x2beb40(0x12c)]]:![],_0x5b8e42={};_0x5b8e42[_0x2beb40(0x123)]=_0x1e15fd,await _0x21cb11[_0x2beb40(0xeb)](percyAutoCapture,global[_0x2beb40(0x105)][0x0],_0x21cb11[_0x2beb40(0x13a)],_0x5b8e42);}}catch(_0x4741aa){logger['debug'](_0x2beb40(0x16f)+_0x4741aa);}!global[_0x2beb40(0x181)]&&(await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x20750d=_0x2beb40;await global[_0x20750d(0x105)][0x0][_0x20750d(0xff)](_0x20750d(0x117)+JSON['stringify'](this[_0x20750d(0x102)][_0x20750d(0x199)]()[_0x20750d(0x10e)](_0x306b06[_0x20750d(0x16b)]))+'}}');})(),global[_0x2beb40(0x105)][0x0][_0x2beb40(0x194)]=!![]),await PerformanceTester[_0x2beb40(0x15f)](PerformanceAutEvents['SESSION_STATUS'],async()=>{const _0x1ae270=_0x2beb40,_0x202130=_0x21cb11[_0x1ae270(0x192)](this[_0x1ae270(0x102)][_0x1ae270(0x198)],_0x21cb11['rBLJg']);_0x202130?(global[_0x1ae270(0xfa)]=!![],global[_0x1ae270(0x12b)][_0x1ae270(0x119)](this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message']),await _0x21cb11[_0x1ae270(0x14c)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11[_0x1ae270(0x17e)](_0x21cb11[_0x1ae270(0x101)],this[_0x1ae270(0x102)][_0x1ae270(0xf4)]['message'])),_0x21cb11[_0x1ae270(0x15d)])):await _0x21cb11[_0x1ae270(0x1a9)](_0x4e9012,JSON[_0x1ae270(0x156)](_0x21cb11['JTakR']),_0x21cb11[_0x1ae270(0x1a3)]);})();}catch(_0x405812){logger[_0x2beb40(0x132)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x405812);}try{if(this[_0x2beb40(0x102)]['accessibilityScanStarted']&&globals[_0x2beb40(0x14a)](_0x21cb11['QQREz'])&&globals[_0x2beb40(0x14a)](_0x21cb11[_0x2beb40(0x1a6)])){logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x13d)]);const _0x55ebc3={};_0x55ebc3[_0x2beb40(0xfc)]=this[_0x2beb40(0x102)][_0x2beb40(0xf6)],_0x55ebc3[_0x2beb40(0x18e)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)]['BROWSERSTACK_TESTHUB_UUID']],_0x55ebc3[_0x2beb40(0xfd)]=process[_0x2beb40(0x19f)][testHubConstants[_0x2beb40(0x187)][_0x2beb40(0x113)]];const _0x2f39ad=_0x55ebc3;logger['debug'](_0x2beb40(0x19a)+JSON[_0x2beb40(0x156)](_0x2f39ad)),logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x162)]);const _0x33dba5={};_0x33dba5['command']=_0x21cb11[_0x2beb40(0x140)];const _0x37d5a1=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents[_0x2beb40(0x18c)],async()=>{const _0xfb6264=_0x2beb40;return await accessibilityRetryHelper[_0xfb6264(0x17c)](global[_0xfb6264(0x105)][0x0],global[_0xfb6264(0x177)]);},_0x33dba5)();_0x37d5a1?logger['debug'](_0x21cb11[_0x2beb40(0x1a8)]):logger[_0x2beb40(0x120)](_0x21cb11['mwKop']);const _0x527f21=await PerformanceTester[_0x2beb40(0x15f)](PerformanceA11yEvents['SAVE_RESULTS'],async()=>{const _0x2c255c=_0x2beb40;return await accessibilityRetryHelper[_0x2c255c(0x112)](global[_0x2c255c(0x105)][0x0],_0x2f39ad);})();_0x527f21?logger[_0x2beb40(0x132)](_0x21cb11[_0x2beb40(0x122)]):logger[_0x2beb40(0x120)](_0x21cb11[_0x2beb40(0x148)]),logger[_0x2beb40(0x11c)](_0x21cb11[_0x2beb40(0x190)]);}}catch(_0x3f7a44){logger[_0x2beb40(0x118)](_0x2beb40(0x178)+this['currentTest'][_0x2beb40(0x199)]()+_0x2beb40(0x158),_0x3f7a44);}try{try{if(_0x21cb11[_0x2beb40(0x13c)](shouldProcessEventForTesthub)){global[_0x2beb40(0x105)][0x0]&&await _0x21cb11['cmCzX'](sendPlatformDetails,global[_0x2beb40(0x105)][0x0],this[_0x2beb40(0x102)]?this['currentTest'][_0x2beb40(0xf6)]:null);if(_0x21cb11[_0x2beb40(0xf0)](isBrowserstackInfra)){PerformanceTester[_0x2beb40(0x17f)](PerformanceO11yEvents['SYNC']);const _0xc513b3=_0x2beb40(0x107)+Date[_0x2beb40(0x137)]();await _0x21cb11[_0x2beb40(0x18d)](_0x4e9012,JSON['stringify'](_0xc513b3),_0x21cb11[_0x2beb40(0x10b)]),PerformanceTester[_0x2beb40(0x168)](PerformanceO11yEvents['SYNC']);}}}catch(_0x21ea05){logger[_0x2beb40(0x132)](_0x2beb40(0x1a7)+_0x21ea05),PerformanceTester['end'](PerformanceO11yEvents[_0x2beb40(0x108)],![],_0x21ea05);}_0x21cb11[_0x2beb40(0x12f)](global[_0x2beb40(0x105)][0x0][_0x2beb40(0x182)],0x0)&&await global[_0x2beb40(0xf3)]();}catch(_0x3e61d9){logger[_0x2beb40(0x132)](_0x2beb40(0x15a)+_0x3e61d9);}_0x21cb11[_0x2beb40(0x13f)](_0xab4c4e);})[_0x59a96c(0xfb)](()=>{const _0x8a063b=_0x59a96c;_0x3b0728[_0x8a063b(0x135)](_0x3323e3);});},{'platform':_0x3b0728['hKKVH'](nestedKeyValue,global[_0x8483af(0xe7)],[_0x3b0728['Dawms']]),'hookType':_0x3b0728[_0x8483af(0x157)]})();},'afterAll'(_0x14d053){const _0x1c56d5=a36_0x466a57,_0x1a1611={'SfHFv':function(_0x414811){return _0x414811();},'UoKer':function(_0x4832a8){return _0x4832a8();},'WNYtO':'Mocha','JWyoJ':function(_0x24a3e6,_0x4ee36b,_0x370476){return _0x24a3e6(_0x4ee36b,_0x370476);},'KUStz':_0x1c56d5(0x116),'gSdUj':_0x1c56d5(0x104)},_0x1d99d0='browserstack internal helper hook';this[_0x1c56d5(0x146)](TEST_FRAMEWORK_HOOK_TIMEOUT[_0x1a1611['WNYtO']]),PerformanceTester[_0x1c56d5(0x15f)](PerformanceSdkEvents[_0x1c56d5(0x164)],()=>{const _0xf10d26=_0x1c56d5,_0x3d3ed1={'bTEkE':function(_0x43bc6c){return _0x1a1611['UoKer'](_0x43bc6c);}};new Promise(async _0x4f611f=>{const _0x58d22b=a36_0x34b5;await global[_0x58d22b(0xf3)](),_0x3d3ed1[_0x58d22b(0x186)](_0x4f611f);})[_0xf10d26(0xfb)]()[_0xf10d26(0x16e)](()=>{_0x1a1611['SfHFv'](_0x14d053);});},{'platform':_0x1a1611['JWyoJ'](nestedKeyValue,global[_0x1c56d5(0xe7)],[_0x1a1611[_0x1c56d5(0x197)]]),'hookType':_0x1a1611[_0x1c56d5(0x11a)]})();}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a37_0xa819bf=a37_0x1b17;function a37_0x21fa(){const _0x4456d5=['slice','path','1260300kztPwZ','13bTwTxQ','orBMx','../../helpers/BrowserStackSetup','isUndefined','now','../../helpers/logger','Getting\x20your\x20nightwatch\x20configs\x20from\x20','nightwatch-browserstack.json','4186179uphhuT','../utils/constants','IBnxI','nightwatch','50858IXlicY','nightwatch.conf.js','debug','nightwatch.json','nihnU','hub.browserstack.com','info','--config','winstonLogger','300738rnJbUw','stringify','mergeDeep','ygEDq','splice','existsSync','test','desiredCapabilities','hxxUI','port','NgRkH','config','oeWHg','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','644416glnBVW','test_settings','webdriver','inherit','lJesL','push','join','child_process','env','trim','findIndex','cwd','UHAQd','--env','exports','JJlQP','AlZcR','split','Deleting\x20','platforms','BRTNM','bdgaW','map','forEach','653328Jmpoai','../../helpers/helper','start_process','getPlatformName','modifyBrowserStackW3CCaps','28fhNMFh','selenium','YoqQg','FETFt','nGUFg','filter','1060484QeOuGI','gPXqP','unlinkSync'];a37_0x21fa=function(){return _0x4456d5;};return a37_0x21fa();}(function(_0x28fffe,_0x1e4890){const _0x1fae27=a37_0x1b17,_0x32eef3=_0x28fffe();while(!![]){try{const _0x493e0b=parseInt(_0x1fae27(0xb9))/0x1*(parseInt(_0x1fae27(0x78))/0x2)+parseInt(_0x1fae27(0xa8))/0x3+-parseInt(_0x1fae27(0xb3))/0x4+-parseInt(_0x1fae27(0xb8))/0x5+-parseInt(_0x1fae27(0x81))/0x6*(parseInt(_0x1fae27(0xad))/0x7)+-parseInt(_0x1fae27(0x90))/0x8+parseInt(_0x1fae27(0xc1))/0x9;if(_0x493e0b===_0x1e4890)break;else _0x32eef3['push'](_0x32eef3['shift']());}catch(_0x4c65d9){_0x32eef3['push'](_0x32eef3['shift']());}}}(a37_0x21fa,0x348db));const fs=require('fs'),path=require(a37_0xa819bf(0xb7)),{spawn}=require(a37_0xa819bf(0x97)),logger=require(a37_0xa819bf(0xbe))[a37_0xa819bf(0x80)],{default:BrowserStackSetup}=require(a37_0xa819bf(0xbb)),helper=require(a37_0xa819bf(0xa9)),constants=require(a37_0xa819bf(0xc2)),getUserNightwatchConfigs=(_0x3a2b7a,_0x49bc63)=>{const _0x2dd607=a37_0xa819bf,_0x4b4494={'UHAQd':_0x2dd607(0x79),'FETFt':_0x2dd607(0x7b),'lJesL':function(_0x11a1ee,_0x473734){return _0x11a1ee(_0x473734);},'pENVb':_0x2dd607(0x8f)};let _0x138b92=null,_0x341476={};const _0x125448=_0x49bc63[_0x2dd607(0x9a)](_0x471cd6=>_0x471cd6===_0x2dd607(0x7f));if(!helper[_0x2dd607(0xbc)](_0x3a2b7a[_0x2dd607(0x8c)])&&fs[_0x2dd607(0x86)](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x3a2b7a[_0x2dd607(0x8c)])))_0x138b92=path['join'](process[_0x2dd607(0x9b)](),_0x3a2b7a['config']),_0x49bc63[_0x2dd607(0x85)](_0x125448,0x2);else{if(fs[_0x2dd607(0x86)](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x4b4494[_0x2dd607(0x9c)])))_0x138b92=path[_0x2dd607(0x96)](process['cwd'](),_0x4b4494[_0x2dd607(0x9c)]);else fs['existsSync'](path[_0x2dd607(0x96)](process[_0x2dd607(0x9b)](),_0x4b4494['FETFt']))&&(_0x138b92=path['join'](process[_0x2dd607(0x9b)](),_0x4b4494[_0x2dd607(0xb0)]));}return _0x138b92?(logger[_0x2dd607(0x7e)](_0x2dd607(0xbf)+_0x138b92),_0x341476=_0x4b4494[_0x2dd607(0x94)](require,_0x138b92)):logger[_0x2dd607(0x7e)](_0x4b4494['pENVb']),_0x341476;},removeExistingEnvs=_0x15a423=>{const _0x4b1050=a37_0xa819bf,_0x261803={};_0x261803[_0x4b1050(0x76)]=function(_0x11ed0c,_0x3ae24d){return _0x11ed0c>_0x3ae24d;};const _0x9f51b1=_0x261803;let _0x2b9aef=_0x15a423[_0x4b1050(0x9a)](_0xf59557=>_0xf59557===_0x4b1050(0x9d));_0x9f51b1[_0x4b1050(0x76)](_0x2b9aef,-0x1)&&_0x15a423[_0x4b1050(0x85)](_0x2b9aef,0x2),_0x2b9aef=_0x15a423['findIndex'](_0x3eb631=>_0x3eb631==='-e'),_0x9f51b1['IBnxI'](_0x2b9aef,-0x1)&&_0x15a423[_0x4b1050(0x85)](_0x2b9aef,0x2);};function a37_0x1b17(_0x4f5321,_0x39fe05){const _0x21fa56=a37_0x21fa();return a37_0x1b17=function(_0x1b17f7,_0x10d336){_0x1b17f7=_0x1b17f7-0x76;let _0x107cd1=_0x21fa56[_0x1b17f7];return _0x107cd1;},a37_0x1b17(_0x4f5321,_0x39fe05);}function run(_0x3c208e,_0x38dcef,_0x2abe8f){const _0xbc48c4=a37_0xa819bf,_0x2d813a={'nGUFg':_0xbc48c4(0x77),'ygEDq':function(_0x22f464,_0x229442){return _0x22f464+_0x229442;},'nihnU':_0xbc48c4(0x91),'hxxUI':function(_0x49e055,_0x5b5469,_0x3d0a25){return _0x49e055(_0x5b5469,_0x3d0a25);},'NgRkH':_0xbc48c4(0x7d),'BRTNM':_0xbc48c4(0x8e),'GRqxy':function(_0x270f5f,_0x2fdaa0){return _0x270f5f===_0x2fdaa0;},'YoqQg':_0xbc48c4(0xc0),'bdgaW':function(_0x1f8acf,_0x480c9a){return _0x1f8acf(_0x480c9a);},'JJlQP':function(_0x40cd4c,_0x16b889,_0x35a0cd,_0x2df6d3){return _0x40cd4c(_0x16b889,_0x35a0cd,_0x2df6d3);},'oeWHg':'nightwatch.cmd','yiBZM':_0xbc48c4(0x7f),'AlZcR':_0xbc48c4(0x9d),'gPXqP':_0xbc48c4(0x93),'orBMx':'close'};if(!_0x2abe8f[_0xbc48c4(0x8c)])return;const _0x5c39d4=_0x2d813a[_0xbc48c4(0x89)](getUserNightwatchConfigs,_0x3c208e,_0x38dcef),_0x39eac6={};_0x39eac6[_0xbc48c4(0xaa)]=![];const _0x11aa2c={};_0x11aa2c['host']=_0x2d813a[_0xbc48c4(0x8b)],_0x11aa2c[_0xbc48c4(0x8a)]=0x1bb;const _0x53bdc8={};_0x53bdc8[_0xbc48c4(0x92)]=_0x39eac6,_0x53bdc8[_0xbc48c4(0xae)]=_0x11aa2c;const _0x19fc6e=_0x53bdc8;logger[_0xbc48c4(0x7e)](_0x2d813a[_0xbc48c4(0xa4)]);const _0x51a09f={..._0x5c39d4},_0x5f1976=_0x51a09f,_0x446951=helper['useW3C'](_0x2abe8f[_0xbc48c4(0x8c)]),_0x485208=[];_0x2abe8f[_0xbc48c4(0x8c)][_0xbc48c4(0xa3)][_0xbc48c4(0xa7)]((_0xceb8f8,_0x5e0ca8)=>{const _0x3c0897=_0xbc48c4;_0x446951?_0x485208[_0x3c0897(0x95)](helper[_0x3c0897(0xac)](_0x2abe8f[_0x3c0897(0x8c)],_0x2d813a[_0x3c0897(0xb1)],_0x5e0ca8)):_0x485208[_0x3c0897(0x95)](helper['modifyBrowserStackCaps'](_0x2abe8f[_0x3c0897(0x8c)],_0x2d813a[_0x3c0897(0xb1)],_0x5e0ca8));});const _0x3ad5db={},_0x50166a=[];_0x3c208e[_0xbc48c4(0x98)]=_0x3c208e[_0xbc48c4(0x98)]||_0x3c208e['e'];const _0x2e7f6f=_0x3c208e[_0xbc48c4(0x98)]?_0x3c208e[_0xbc48c4(0x98)][_0xbc48c4(0x99)]()[_0xbc48c4(0xa1)](',')[_0xbc48c4(0xa6)](_0x1cc3e0=>_0x1cc3e0['trim']())[_0xbc48c4(0xb2)](_0xfb156=>_0xfb156!==''):[''];_0x2d813a['GRqxy'](_0x2e7f6f['length'],0x0)&&_0x2e7f6f[_0xbc48c4(0x95)]('');_0x2e7f6f[_0xbc48c4(0xa7)](_0x4d5847=>{_0x485208['forEach'](_0x3902ce=>{const _0x2b0cce=a37_0x1b17;let _0x59defa=_0x2d813a[_0x2b0cce(0x84)](helper[_0x2b0cce(0xab)](_0x3902ce,'_'),'_'+Date[_0x2b0cce(0xbd)]());_0x4d5847&&(_0x59defa+='_'+_0x4d5847);if(_0x4d5847&&(!_0x5c39d4[_0x2d813a[_0x2b0cce(0x7c)]]||!_0x5c39d4[_0x2d813a[_0x2b0cce(0x7c)]][_0x4d5847]))return;const _0x341536={..._0x19fc6e};_0x341536[_0x2b0cce(0x88)]=_0x3902ce;const _0x4a8368=_0x341536;_0x3ad5db[_0x59defa]=_0x4d5847?helper[_0x2b0cce(0x83)](_0x5c39d4[_0x2d813a['nihnU']][_0x4d5847],_0x4a8368):_0x4a8368,_0x50166a[_0x2b0cce(0x95)](_0x59defa);});});!_0x5f1976['test_settings']&&(_0x5f1976[_0xbc48c4(0x91)]={});_0x5f1976[_0xbc48c4(0x91)]={..._0x5f1976[_0xbc48c4(0x91)],..._0x3ad5db};const _0x21d2cb=path[_0xbc48c4(0x96)](__dirname,_0x2d813a[_0xbc48c4(0xaf)]);fs['writeFileSync'](_0x21d2cb,JSON[_0xbc48c4(0x82)](_0x5f1976)),_0x2d813a[_0xbc48c4(0xa5)](removeExistingEnvs,_0x38dcef);const _0x265d5a=_0x2d813a[_0xbc48c4(0x9f)](spawn,/^win/[_0xbc48c4(0x87)](process['platform'])?_0x2d813a[_0xbc48c4(0x8d)]:_0x2d813a[_0xbc48c4(0xb1)],[_0x2d813a['yiBZM'],_0x21d2cb,..._0x38dcef[_0xbc48c4(0xb6)](0x1),_0x2d813a[_0xbc48c4(0xa0)],_0x50166a[_0xbc48c4(0x96)](',')],{'stdio':_0x2d813a[_0xbc48c4(0xb4)]});_0x265d5a['on'](_0x2d813a[_0xbc48c4(0xba)],async _0x1cb615=>{const _0x1d1488=_0xbc48c4;logger[_0x1d1488(0x7a)]('child\x20process\x20exited\x20with\x20code\x20'+_0x1cb615),logger[_0x1d1488(0x7e)](_0x1d1488(0xa2)+_0x21d2cb),fs[_0x1d1488(0xb5)](_0x21d2cb);});}module[a37_0xa819bf(0x9e)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a38_0x3361(_0x522f10,_0x498ea7){const _0x5f5951=a38_0x5f59();return a38_0x3361=function(_0x33617c,_0x1207fe){_0x33617c=_0x33617c-0x75;let _0x4ed741=_0x5f5951[_0x33617c];return _0x4ed741;},a38_0x3361(_0x522f10,_0x498ea7);}const a38_0x37f436=a38_0x3361;(function(_0x217887,_0x4ac671){const _0x35a370=a38_0x3361,_0x169053=_0x217887();while(!![]){try{const _0x45fcf1=-parseInt(_0x35a370(0x9c))/0x1*(parseInt(_0x35a370(0xd9))/0x2)+parseInt(_0x35a370(0xbe))/0x3+parseInt(_0x35a370(0xe7))/0x4+-parseInt(_0x35a370(0xdf))/0x5*(-parseInt(_0x35a370(0xc9))/0x6)+parseInt(_0x35a370(0xef))/0x7*(-parseInt(_0x35a370(0x7c))/0x8)+parseInt(_0x35a370(0xa2))/0x9*(parseInt(_0x35a370(0xac))/0xa)+-parseInt(_0x35a370(0xee))/0xb;if(_0x45fcf1===_0x4ac671)break;else _0x169053['push'](_0x169053['shift']());}catch(_0x5c8cb1){_0x169053['push'](_0x169053['shift']());}}}(a38_0x5f59,0x4404c));const util=require('util'),logger=require('../../helpers/logger')[a38_0x37f436(0xa6)],{isAccessibilityAutomationSession}=require(a38_0x37f436(0xb9)),{isUndefined,isBrowserstackInfra}=require(a38_0x37f436(0x87)),scripts=require(a38_0x37f436(0xb0)),PerformanceTester=require(a38_0x37f436(0xe2)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x37f436(0x89));function a38_0x5f59(){const _0x3e06ca=['QTviI','project','mhvqM','../../helpers/accessibility-automation/helper','wVjRm','vBiGe','Exhak','cprau','313470lDKwax','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','TUDat','command','ixnKx','setAccessibilityCapabilities','eEnZF','env','PERFORM_SCAN','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','48zcnGBq','evaluate','processAccessibilityCaps','anNnE','browserStackExecuteDriver','jueie','gsywx','stringify','accessibilityOptions.authToken','lUvog','accessibilityPlatform','BS_A11Y_JWT','bestPractice','ORibK','JpbRD','Playwright','10DOqwWv','bstackSdkArgs','deviceName','playwright-chromium','getAccessibilityResultsSummary','currentTest','135530lzMMpy','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','name','../../helpers/performance/performance-tester','ejtLe','performScan','latest','executeAsyncScript','1699408TtycXV','debug','constructor','No\x20summaryResults\x20found.','browserStackEvaluate','WrHbO','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','2391037biMNpi','77WEggsv','mtndI','replace','browser','PqqjR','wRCpS','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','includeIssueType','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','hfFwV','connectOptions','use','chrome','143432YaQJaT','(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','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','scannerVersion','Fxuly','accessibilityOptions.scannerProcessingTimeout','browser_version','accessibilityOptions.includeIssueType.bestPractice','DgRte','RODHz','executeScript','../../helpers/helper','getAccessibilityResults','../../helpers/performance/constants','parse','scannerProcessingTimeout','AVsLI','workerInfo','dqLAx','__workerDetails','error','zqgWk','includes','txOrX','bEJlR','vAriP','ZMdPA','oIRcN','WoVzU','wcagVersion','Emuun','vUrRp','98726XPGlAU','platformValidation','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','browserName','chromium','zkuPB','5706thyxhn','No\x20accessibility\x20results\x20were\x20found.','needsReview','zFjZz','winstonLogger','accessibilityOptions.wcagVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','url','EoYLv','accessibilityOptions.scannerVersion','6950oEFhgy','pdtvB','TJiaC','accessibilityOptions','../../helpers/accessibility-automation/scripts','warn','RNuBz','format','ozynO','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.'];a38_0x5f59=function(){return _0x3e06ca;};return a38_0x5f59();}exports[a38_0x37f436(0xeb)]=async(_0x1ea988,_0x5b1ab2,_0x2c0782={})=>{const _0x4286c6=a38_0x37f436,_0x207b6e={};_0x207b6e['KhWaD']='bstackSdkArgs';const _0x4a5a59=_0x207b6e;return await _0x1ea988[_0x4286c6(0xca)]('(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'+_0x5b1ab2[_0x4286c6(0xf1)](/arguments/g,_0x4a5a59['KhWaD'])+_0x4286c6(0x7e)+JSON[_0x4286c6(0xd0)](_0x2c0782)+')');},exports[a38_0x37f436(0xcd)]=async(_0x32a011,_0x3ebb6a,_0x22f683={})=>{const _0x388da9=a38_0x37f436,_0x17909b={};_0x17909b[_0x388da9(0xec)]=function(_0x4a3878,_0x4bc027){return _0x4a3878===_0x4bc027;},_0x17909b['RNuBz']=_0x388da9(0xc7),_0x17909b[_0x388da9(0x96)]=_0x388da9(0xd8),_0x17909b[_0x388da9(0x85)]=_0x388da9(0xda);const _0x48c115=_0x17909b;if(_0x48c115[_0x388da9(0xec)](_0x32a011[_0x388da9(0xe9)]['name'],_0x48c115[_0x388da9(0xb2)]))return await _0x32a011[_0x388da9(0xe6)](_0x3ebb6a,_0x22f683);else{if(_0x48c115[_0x388da9(0xec)](_0x32a011[_0x388da9(0xe9)][_0x388da9(0xe1)],_0x48c115[_0x388da9(0x96)]))return await _0x32a011[_0x388da9(0x86)](_0x388da9(0x7d)+_0x3ebb6a[_0x388da9(0xf1)](/arguments/g,_0x48c115[_0x388da9(0x85)])+_0x388da9(0x77)+JSON[_0x388da9(0xd0)](_0x22f683)+')');}},exports[a38_0x37f436(0xc3)]=async _0x33546c=>{const _0x530aee=a38_0x37f436,_0xa32a07={};_0xa32a07[_0x530aee(0xcf)]=_0x530aee(0xa7),_0xa32a07[_0x530aee(0xb8)]=_0x530aee(0x81),_0xa32a07[_0x530aee(0xd7)]=_0x530aee(0x83),_0xa32a07['Fxuly']='accessibilityOptions.includeIssueType.needsReview',_0xa32a07[_0x530aee(0xce)]=_0x530aee(0xd1),_0xa32a07[_0x530aee(0x97)]=_0x530aee(0xab);const _0x58129d=_0xa32a07;_0x33546c[_0x530aee(0xaf)]&&(_0x33546c[_0x530aee(0xaf)][_0x530aee(0x99)]&&(_0x33546c[_0x58129d[_0x530aee(0xcf)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x99)]),_0x33546c[_0x530aee(0xaf)][_0x530aee(0x8b)]&&(_0x33546c[_0x58129d[_0x530aee(0xb8)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x8b)]),_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)]&&(_0x33546c[_0x58129d[_0x530aee(0xd7)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)][_0x530aee(0xd5)],_0x33546c[_0x58129d[_0x530aee(0x80)]]=_0x33546c[_0x530aee(0xaf)][_0x530aee(0x76)][_0x530aee(0xa4)]));const _0x5b63eb=JSON[_0x530aee(0x8a)](process[_0x530aee(0xc5)][_0x530aee(0xa8)])[_0x530aee(0x7f)];_0x33546c[_0x58129d[_0x530aee(0xce)]]=process[_0x530aee(0xc5)][_0x530aee(0xd4)],_0x33546c[_0x58129d[_0x530aee(0x97)]]=_0x5b63eb,delete _0x33546c[_0x530aee(0xaf)];},exports[a38_0x37f436(0x88)]=async _0x47e886=>{const _0x839a90=a38_0x37f436,_0x99d73f={};_0x99d73f[_0x839a90(0xd2)]=_0x839a90(0xa3),_0x99d73f[_0x839a90(0x9b)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x4bf23d=_0x99d73f;if(global[_0x839a90(0xd3)])try{const details={'url':await _0x47e886.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(_0x47e886,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x47e886,scripts.getResults);},{...details})();return res;}catch{return logger[_0x839a90(0x90)](_0x4bf23d['lUvog']),[];}else return logger[_0x839a90(0xb1)](_0x4bf23d[_0x839a90(0x9b)]),[];},exports[a38_0x37f436(0xe4)]=async(_0x180c1f,_0x3a10a7='')=>{const _0x35941d=a38_0x37f436;logger[_0x35941d(0xe8)]('Performing\x20scan\x20with\x20method:\x20'+_0x3a10a7+'\x20page:\x20'+_0x180c1f);const _0x431454={'url':await _0x180c1f[_0x35941d(0xa9)](),'testhub_btcer_uuid':global[_0x35941d(0x8f)]?.[_0x35941d(0xde)]?.['id']};if(global[_0x35941d(0xd3)])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x35941d(0xc6)],async()=>{const _0x44d420=_0x35941d,_0x1b9553={};_0x1b9553[_0x44d420(0xc1)]=_0x3a10a7;const _0xba03e1=await exports[_0x44d420(0xeb)](_0x180c1f,scripts[_0x44d420(0xe4)],_0x1b9553);return _0xba03e1;},{'command':_0x3a10a7,..._0x431454})();},exports[a38_0x37f436(0xdd)]=async _0x4a82ee=>{const _0x1dc778=a38_0x37f436,_0x1a067f={};_0x1a067f['qKruK']=_0x1dc778(0xea),_0x1a067f[_0x1dc778(0xa1)]=_0x1dc778(0xed);const _0x4ca80a=_0x1a067f;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x4a82ee,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x4a82ee,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0x4ca80a['qKruK']),{};}else return logger[_0x1dc778(0xb1)](_0x4ca80a[_0x1dc778(0xa1)]),{};},exports[a38_0x37f436(0x9d)]=async _0x4e78cd=>{const _0x560b72=a38_0x37f436,_0x25faaa={'ORibK':function(_0xed7e53,_0x4eef0b){return _0xed7e53!==_0x4eef0b;},'JTHlF':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','eEnZF':_0x560b72(0x7b),'zqgWk':_0x560b72(0xdc),'WoVzU':_0x560b72(0xa0),'cprau':_0x560b72(0xc8),'QTviI':function(_0x36482c,_0x51b3ba){return _0x36482c(_0x51b3ba);},'wVjRm':function(_0x4dd43e){return _0x4dd43e();},'TUDat':function(_0x2f1290,_0x47b170){return _0x2f1290<_0x47b170;},'Exhak':_0x560b72(0x9e),'EoYLv':function(_0x4e4ced,_0x404552){return _0x4e4ced===_0x404552;},'ozynO':'latest','niqwL':function(_0x47660c,_0x26fb1e){return _0x47660c>_0x26fb1e;},'txOrX':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x25faaa[_0x560b72(0xd6)](_0x4e78cd[_0x560b72(0xdb)],''))return logger[_0x560b72(0xb1)](_0x25faaa['JTHlF']),![];const _0x3fc1f1=_0x4e78cd[_0x560b72(0xf2)];if(![_0x25faaa[_0x560b72(0xc4)],_0x25faaa[_0x560b72(0x91)],_0x25faaa[_0x560b72(0x98)]][_0x560b72(0x92)](_0x3fc1f1))return logger['warn'](_0x25faaa[_0x560b72(0xbd)]),![];const _0x114a04=_0x25faaa[_0x560b72(0xb6)](parseInt,_0x4e78cd[_0x560b72(0x82)]);!_0x25faaa[_0x560b72(0xba)](isBrowserstackInfra)&&(!_0x25faaa[_0x560b72(0xc0)](_0x114a04,0x64)&&logger['warn'](_0x25faaa[_0x560b72(0xbc)]));if(!(_0x25faaa[_0x560b72(0xaa)](_0x114a04,_0x25faaa[_0x560b72(0xb4)])||_0x25faaa['niqwL'](_0x114a04,0x5e)))return logger[_0x560b72(0xb1)](_0x25faaa[_0x560b72(0x93)]),![];}catch(_0x2796ab){logger[_0x560b72(0xe8)](_0x560b72(0x75)+util['format'](_0x2796ab));}return!![];},exports[a38_0x37f436(0xcb)]=(_0x4ff0bc,_0x52394d,_0x17687c)=>{const _0x24f350=a38_0x37f436,_0xdafe9b={'Emuun':function(_0x1ffe58){return _0x1ffe58();},'dqLAx':'browserstack.accessibility','mtndI':function(_0x2a1a9b,_0x3ce3ea){return _0x2a1a9b===_0x3ce3ea;},'anNnE':_0x24f350(0x7b),'ejtLe':function(_0x14f7b6,_0x3c7873){return _0x14f7b6===_0x3c7873;},'srodf':'playwright-chromium','PqqjR':function(_0x4aba22,_0x1087e3){return _0x4aba22===_0x1087e3;},'DgRte':_0x24f350(0xc8),'bEJlR':function(_0x85c1a6,_0x101ca3){return _0x85c1a6>_0x101ca3;},'hfFwV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','pdtvB':function(_0x4eae17,_0x17beda){return _0x4eae17===_0x17beda;},'ixnKx':_0x24f350(0xe5),'vBiGe':function(_0x147d1c,_0x9dbbe2){return _0x147d1c>_0x9dbbe2;},'TJiaC':_0x24f350(0xe0),'wRCpS':function(_0x411d84,_0x4889a5){return _0x411d84(_0x4889a5);},'AVsLI':_0x24f350(0xb5),'vAriP':function(_0x18808e,_0x13d4ae){return _0x18808e+_0x13d4ae;},'zFjZz':function(_0x4f9042,_0x5351ba){return _0x4f9042(_0x5351ba);}};try{if(_0xdafe9b[_0x24f350(0x9a)](isAccessibilityAutomationSession)){global[_0x24f350(0xd3)]=!![];!_0x4ff0bc[_0xdafe9b[_0x24f350(0x8e)]]&&(global['accessibilityPlatform']=![]);!(_0xdafe9b[_0x24f350(0xf0)](_0x4ff0bc[_0x24f350(0x9f)],_0xdafe9b[_0x24f350(0xcc)])||_0xdafe9b[_0x24f350(0xe3)](_0x4ff0bc[_0x24f350(0x9f)],_0xdafe9b['srodf'])||_0xdafe9b['ejtLe'](_0x4ff0bc['browser'],_0xdafe9b[_0x24f350(0xcc)])||_0xdafe9b[_0x24f350(0xf3)](_0x4ff0bc[_0x24f350(0xf2)],_0xdafe9b['srodf']))&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x84)]),global[_0x24f350(0xd3)]=![]);!_0xdafe9b[_0x24f350(0x9a)](isBrowserstackInfra)&&(!_0xdafe9b[_0x24f350(0x94)](_0x4ff0bc[_0x24f350(0x82)],0x64)&&logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x78)]));!(_0xdafe9b[_0x24f350(0xad)](_0x4ff0bc['browser_version'],_0xdafe9b[_0x24f350(0xc2)])||_0xdafe9b[_0x24f350(0xbb)](_0x4ff0bc[_0x24f350(0x82)],0x5e))&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0xae)]),global['accessibilityPlatform']=![]);!_0xdafe9b[_0x24f350(0xf4)](isUndefined,_0x4ff0bc['deviceName'])&&(logger[_0x24f350(0xb1)](_0xdafe9b[_0x24f350(0x8c)]),global[_0x24f350(0xd3)]=![]);if(!global['accessibilityPlatform']){_0x4ff0bc[_0xdafe9b['dqLAx']]=![];const _0x340c24=_0xdafe9b[_0x24f350(0x95)](_0x52394d,_0xdafe9b[_0x24f350(0xa5)](encodeURIComponent,JSON[_0x24f350(0xd0)](_0x4ff0bc)));_0x17687c&&(_0x17687c[_0x24f350(0xde)]['testInfo'][_0x24f350(0xb7)][_0x24f350(0x7a)]['connectOptions']['wsEndpoint']=_0x340c24,_0x17687c[_0x24f350(0x8d)][_0x24f350(0xb7)][_0x24f350(0x7a)][_0x24f350(0x79)]['wsEndpoint']=_0x340c24);}}else global[_0x24f350(0xd3)]=![];}catch(_0x495e84){logger[_0x24f350(0xe8)](_0x24f350(0xbf)+util[_0x24f350(0xb3)](_0x495e84));}};
|
|
1
|
+
const a38_0x185166=a38_0x2556;function a38_0x2556(_0x4ab9b7,_0x3cbbef){const _0x3c6b41=a38_0x3c6b();return a38_0x2556=function(_0x255610,_0x427096){_0x255610=_0x255610-0x8c;let _0x543b6c=_0x3c6b41[_0x255610];return _0x543b6c;},a38_0x2556(_0x4ab9b7,_0x3cbbef);}(function(_0x21dac9,_0x16cf5d){const _0x134510=a38_0x2556,_0x3b4bc6=_0x21dac9();while(!![]){try{const _0x2d4217=parseInt(_0x134510(0xb4))/0x1+parseInt(_0x134510(0xa2))/0x2+-parseInt(_0x134510(0xb6))/0x3*(-parseInt(_0x134510(0xfb))/0x4)+-parseInt(_0x134510(0xb9))/0x5+-parseInt(_0x134510(0xb2))/0x6*(-parseInt(_0x134510(0xa7))/0x7)+parseInt(_0x134510(0xb1))/0x8*(parseInt(_0x134510(0xc3))/0x9)+-parseInt(_0x134510(0xae))/0xa;if(_0x2d4217===_0x16cf5d)break;else _0x3b4bc6['push'](_0x3b4bc6['shift']());}catch(_0xa34ec1){_0x3b4bc6['push'](_0x3b4bc6['shift']());}}}(a38_0x3c6b,0x468b1));function a38_0x3c6b(){const _0x10f217=['browserstack.accessibility','chrome','use','constructor','LLazV','../../helpers/accessibility-automation/scripts','winstonLogger','dYcms','KHNgr','util','name','browser_version','scannerVersion','connectOptions','browserName','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.authToken','chromium','SCDpM','SHsvJ','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','browser','accessibilityOptions.wcagVersion','format','accessibilityOptions.includeIssueType.bestPractice','browserStackEvaluate','pRKAW','includes','vEarm','GthmY','wkSYc','getAccessibilityResults','stringify','replace','sALyY','Performing\x20scan\x20with\x20method:\x20','playwright-chromium','PERFORM_SCAN','teEtC','VcFLs','currentTest','env','../../helpers/helper','workerInfo','deviceName','vqGoI','fDEvp','8380vLYJbU','wsEndpoint','lTVAX','KfgVu','WebDriver','parse','uIfOm','BS_A11Y_JWT','debug','eboBd','executeScript','includeIssueType','measureWrapper','fRzDM','xcjBk','__workerDetails','(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','ppOHg','fJJBe','error','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','evaluate','jiXkG','accessibilityPlatform','No\x20accessibility\x20results\x20were\x20found.','processAccessibilityCaps','TBjGg','(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','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x20100.','accessibilityOptions.includeIssueType.needsReview','uvEJv','platformValidation','executeAsyncScript','423252abqbIO','euRvc','warn','Rbjsx','Fvdjg','370433ArDqyk','EhKbi','project','TBzvV','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','kpaMa','testInfo','8411210PnZaji','\x20page:\x20','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','170776goZdZF','42ENoZcc','CJLIV','283824vgrfak','bstackSdkArgs','375uHucEz','uQgOs','rWpyF','1802955bwEMco','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','url','Playwright','accessibilityOptions.scannerVersion','browserStackExecuteDriver','../../helpers/performance/constants','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','cZbFV','153cowYVF','wcagVersion','No\x20summaryResults\x20found.','sdORV','accessibilityOptions','xLrxl','scannerProcessingTimeout','latest','getAccessibilityResultsSummary'];a38_0x3c6b=function(){return _0x10f217;};return a38_0x3c6b();}const util=require(a38_0x185166(0xd5)),logger=require('../../helpers/logger')[a38_0x185166(0xd2)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined,isBrowserstackInfra}=require(a38_0x185166(0xf6)),scripts=require(a38_0x185166(0xd1)),PerformanceTester=require('../../helpers/performance/performance-tester'),{A11Y_EVENTS:PerformanceA11yEvents}=require(a38_0x185166(0xbf));exports[a38_0x185166(0xe5)]=async(_0x3edadc,_0x1ad9dd,_0x3e3f83={})=>{const _0xfe0364=a38_0x185166,_0x565069={};_0x565069[_0xfe0364(0x97)]='bstackSdkArgs';const _0x2ceed1=_0x565069;return await _0x3edadc[_0xfe0364(0x96)](_0xfe0364(0x90)+_0x1ad9dd[_0xfe0364(0xed)](/arguments/g,_0x2ceed1[_0xfe0364(0x97)])+_0xfe0364(0xb0)+JSON[_0xfe0364(0xec)](_0x3e3f83)+')');},exports[a38_0x185166(0xbe)]=async(_0x1b7ca7,_0xef740b,_0x304b4a={})=>{const _0x5d542f=a38_0x185166,_0x339d7c={};_0x339d7c['vqGoI']=function(_0x551771,_0x1a3eb1){return _0x551771===_0x1a3eb1;},_0x339d7c[_0x5d542f(0xa3)]=_0x5d542f(0xff),_0x339d7c[_0x5d542f(0xac)]=_0x5d542f(0xbc),_0x339d7c[_0x5d542f(0x92)]=_0x5d542f(0xb5);const _0x52cbe9=_0x339d7c;if(_0x52cbe9[_0x5d542f(0xf9)](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xa3)]))return await _0x1b7ca7[_0x5d542f(0xa1)](_0xef740b,_0x304b4a);else{if(_0x52cbe9['vqGoI'](_0x1b7ca7[_0x5d542f(0xcf)][_0x5d542f(0xd6)],_0x52cbe9[_0x5d542f(0xac)]))return await _0x1b7ca7[_0x5d542f(0x105)](_0x5d542f(0x9c)+_0xef740b[_0x5d542f(0xed)](/arguments/g,_0x52cbe9['fJJBe'])+_0x5d542f(0xdb)+JSON[_0x5d542f(0xec)](_0x304b4a)+')');}},exports['setAccessibilityCapabilities']=async _0x44de39=>{const _0x200416=a38_0x185166,_0x28bc9c={};_0x28bc9c[_0x200416(0x9f)]=_0x200416(0xe2),_0x28bc9c[_0x200416(0xd4)]='accessibilityOptions.scannerProcessingTimeout',_0x28bc9c[_0x200416(0xaa)]=_0x200416(0xe4),_0x28bc9c[_0x200416(0xfd)]=_0x200416(0x9e),_0x28bc9c[_0x200416(0x9b)]=_0x200416(0xdc),_0x28bc9c[_0x200416(0x101)]=_0x200416(0xbd);const _0x997644=_0x28bc9c;_0x44de39[_0x200416(0xc7)]&&(_0x44de39['accessibilityOptions']['wcagVersion']&&(_0x44de39[_0x997644['uvEJv']]=_0x44de39[_0x200416(0xc7)][_0x200416(0xc4)]),_0x44de39['accessibilityOptions'][_0x200416(0xc9)]&&(_0x44de39[_0x997644[_0x200416(0xd4)]]=_0x44de39['accessibilityOptions']['scannerProcessingTimeout']),_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]&&(_0x44de39[_0x997644[_0x200416(0xaa)]]=_0x44de39[_0x200416(0xc7)]['includeIssueType']['bestPractice'],_0x44de39[_0x997644['lTVAX']]=_0x44de39[_0x200416(0xc7)][_0x200416(0x106)]['needsReview']));const _0x2f9368=JSON[_0x200416(0x100)](process['env'][_0x200416(0x94)])[_0x200416(0xd8)];_0x44de39[_0x997644['TBjGg']]=process[_0x200416(0xf5)][_0x200416(0x102)],_0x44de39[_0x997644[_0x200416(0x101)]]=_0x2f9368,delete _0x44de39[_0x200416(0xc7)];},exports[a38_0x185166(0xeb)]=async _0x368703=>{const _0x57e6c1=a38_0x185166,_0x22f1bd={};_0x22f1bd[_0x57e6c1(0xea)]=_0x57e6c1(0x99),_0x22f1bd[_0x57e6c1(0xb3)]=_0x57e6c1(0x95);const _0x36f663=_0x22f1bd;if(global[_0x57e6c1(0x98)])try{const details={'url':await _0x368703.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(_0x368703,scripts.performScan)));},{command:'getAccessibilityResults',...details})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x368703,scripts.getResults);},{...details})();return res;}catch{return logger[_0x57e6c1(0x93)](_0x36f663[_0x57e6c1(0xea)]),[];}else return logger[_0x57e6c1(0xa4)](_0x36f663[_0x57e6c1(0xb3)]),[];},exports[a38_0x185166(0xc0)]=async(_0x26a25d,_0x4a59a9='')=>{const _0x4c725f=a38_0x185166;logger[_0x4c725f(0x103)](_0x4c725f(0xef)+_0x4a59a9+_0x4c725f(0xaf)+_0x26a25d);const _0x46de97={'url':await _0x26a25d[_0x4c725f(0xbb)](),'testhub_btcer_uuid':global[_0x4c725f(0x8f)]?.[_0x4c725f(0xf4)]?.['id']};if(global[_0x4c725f(0x98)])return await PerformanceTester[_0x4c725f(0x8c)](PerformanceA11yEvents[_0x4c725f(0xf1)],async()=>{const _0xfb61f7=_0x4c725f,_0x7c3583={};_0x7c3583['command']=_0x4a59a9;const _0x431bfe=await exports['browserStackEvaluate'](_0x26a25d,scripts[_0xfb61f7(0xc0)],_0x7c3583);return _0x431bfe;},{'command':_0x4a59a9,..._0x46de97})();},exports[a38_0x185166(0xcb)]=async _0x21b478=>{const _0x2b401d=a38_0x185166,_0x23e850={};_0x23e850[_0x2b401d(0xee)]=_0x2b401d(0xc5),_0x23e850[_0x2b401d(0xb7)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x2c8e7c=_0x23e850;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x21b478,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x21b478,scripts.getResultsSummary);})();return summaryResults;}catch{return logger[_0x2b401d(0x103)](_0x2c8e7c['sALyY']),{};}else return logger[_0x2b401d(0xa4)](_0x2c8e7c[_0x2b401d(0xb7)]),{};},exports[a38_0x185166(0xa0)]=async _0x29981e=>{const _0x91c96=a38_0x185166,_0x3039db={'sdORV':function(_0x5093c8,_0x4811ca){return _0x5093c8!==_0x4811ca;},'rrwWP':_0x91c96(0xc1),'xLrxl':'chrome','xcjBk':'playwright-chromium','VcFLs':_0x91c96(0xdd),'Fvdjg':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','AVQji':function(_0x44af95,_0xc75791){return _0x44af95(_0xc75791);},'eEIZi':function(_0x2111b4){return _0x2111b4();},'dYcms':function(_0x34a634,_0x440ca2){return _0x34a634<_0x440ca2;},'kBcyT':_0x91c96(0x9d),'Rbjsx':function(_0x197a19,_0x52e0a2){return _0x197a19===_0x52e0a2;},'EhKbi':_0x91c96(0xca),'teEtC':function(_0x3f5bc2,_0x4ba9ab){return _0x3f5bc2>_0x4ba9ab;},'SHsvJ':_0x91c96(0xba)};try{if(!_0x3039db[_0x91c96(0xc6)](_0x29981e[_0x91c96(0xf8)],''))return logger[_0x91c96(0xa4)](_0x3039db['rrwWP']),![];const _0x5758a3=_0x29981e[_0x91c96(0xe1)];if(![_0x3039db[_0x91c96(0xc8)],_0x3039db[_0x91c96(0x8e)],_0x3039db[_0x91c96(0xf3)]][_0x91c96(0xe7)](_0x5758a3))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xa6)]),![];const _0x3c002d=_0x3039db['AVQji'](parseInt,_0x29981e['browser_version']);!_0x3039db['eEIZi'](isBrowserstackInfra)&&(!_0x3039db[_0x91c96(0xd3)](_0x3c002d,0x64)&&logger[_0x91c96(0xa4)](_0x3039db['kBcyT']));if(!(_0x3039db[_0x91c96(0xa5)](_0x3c002d,_0x3039db[_0x91c96(0xa8)])||_0x3039db[_0x91c96(0xf2)](_0x3c002d,0x5e)))return logger[_0x91c96(0xa4)](_0x3039db[_0x91c96(0xdf)]),![];}catch(_0x57c67a){logger[_0x91c96(0x103)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x91c96(0xe3)](_0x57c67a));}return!![];},exports[a38_0x185166(0x9a)]=(_0x14fcb9,_0xbb5798,_0x20ef96)=>{const _0x5b7a98=a38_0x185166,_0x5ebf2b={'ZMmuo':function(_0x41779a){return _0x41779a();},'OYYaR':_0x5b7a98(0xcc),'xPVkY':function(_0x2f2cb5,_0x1af11a){return _0x2f2cb5===_0x1af11a;},'rWpyF':_0x5b7a98(0xcd),'fRzDM':function(_0x3c5268,_0x460623){return _0x3c5268===_0x460623;},'ppOHg':_0x5b7a98(0xf0),'LLazV':function(_0x148b55,_0x3a672f){return _0x148b55===_0x3a672f;},'fIHdM':_0x5b7a98(0xab),'IzAeS':function(_0x456dc0){return _0x456dc0();},'vEarm':function(_0x43866e,_0x552bad){return _0x43866e>_0x552bad;},'CejIs':_0x5b7a98(0x9d),'KfgVu':function(_0x347e6f,_0x42e571){return _0x347e6f===_0x42e571;},'pRKAW':_0x5b7a98(0xca),'eboBd':function(_0x866e4e,_0x3c7804){return _0x866e4e>_0x3c7804;},'fDEvp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','cZbFV':function(_0x487ceb,_0x2ea994){return _0x487ceb(_0x2ea994);},'GthmY':_0x5b7a98(0xc1),'SCDpM':function(_0x3ab8bc,_0x3c3cca){return _0x3ab8bc+_0x3c3cca;}};try{if(_0x5ebf2b['ZMmuo'](isAccessibilityAutomationSession)){global[_0x5b7a98(0x98)]=!![];!_0x14fcb9[_0x5ebf2b['OYYaR']]&&(global[_0x5b7a98(0x98)]=![]);!(_0x5ebf2b['xPVkY'](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b[_0x5b7a98(0x8d)](_0x14fcb9[_0x5b7a98(0xda)],_0x5ebf2b[_0x5b7a98(0x91)])||_0x5ebf2b[_0x5b7a98(0xd0)](_0x14fcb9[_0x5b7a98(0xe1)],_0x5ebf2b[_0x5b7a98(0xb8)])||_0x5ebf2b['xPVkY'](_0x14fcb9['browser'],_0x5ebf2b[_0x5b7a98(0x91)]))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b['fIHdM']),global['accessibilityPlatform']=![]);!_0x5ebf2b['IzAeS'](isBrowserstackInfra)&&(!_0x5ebf2b[_0x5b7a98(0xe8)](_0x14fcb9[_0x5b7a98(0xd7)],0x64)&&logger[_0x5b7a98(0xa4)](_0x5ebf2b['CejIs']));!(_0x5ebf2b[_0x5b7a98(0xfe)](_0x14fcb9[_0x5b7a98(0xd7)],_0x5ebf2b[_0x5b7a98(0xe6)])||_0x5ebf2b[_0x5b7a98(0x104)](_0x14fcb9[_0x5b7a98(0xd7)],0x5e))&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xfa)]),global[_0x5b7a98(0x98)]=![]);!_0x5ebf2b[_0x5b7a98(0xc2)](isUndefined,_0x14fcb9[_0x5b7a98(0xf8)])&&(logger[_0x5b7a98(0xa4)](_0x5ebf2b[_0x5b7a98(0xe9)]),global['accessibilityPlatform']=![]);if(!global[_0x5b7a98(0x98)]){_0x14fcb9[_0x5ebf2b['OYYaR']]=![];const _0x5134aa=_0x5ebf2b[_0x5b7a98(0xde)](_0xbb5798,_0x5ebf2b[_0x5b7a98(0xc2)](encodeURIComponent,JSON[_0x5b7a98(0xec)](_0x14fcb9)));_0x20ef96&&(_0x20ef96[_0x5b7a98(0xf4)][_0x5b7a98(0xad)][_0x5b7a98(0xa9)][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa,_0x20ef96[_0x5b7a98(0xf7)]['project'][_0x5b7a98(0xce)][_0x5b7a98(0xd9)][_0x5b7a98(0xfc)]=_0x5134aa);}}else global[_0x5b7a98(0x98)]=![];}catch(_0x3d8b8f){logger['debug'](_0x5b7a98(0xe0)+util[_0x5b7a98(0xe3)](_0x3d8b8f));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a39_0x5ef4(_0x1591b0,_0x19a62f){const _0x62bd77=a39_0x62bd();return a39_0x5ef4=function(_0x5ef488,_0x22c656){_0x5ef488=_0x5ef488-0x171;let _0x48af4b=_0x62bd77[_0x5ef488];return _0x48af4b;},a39_0x5ef4(_0x1591b0,_0x19a62f);}const a39_0xe08fa=a39_0x5ef4;(function(_0x334991,_0x207fc8){const _0x3b8e67=a39_0x5ef4,_0x432abd=_0x334991();while(!![]){try{const _0x36c5ea=parseInt(_0x3b8e67(0x214))/0x1+parseInt(_0x3b8e67(0x1e8))/0x2+-parseInt(_0x3b8e67(0x18d))/0x3+parseInt(_0x3b8e67(0x178))/0x4*(-parseInt(_0x3b8e67(0x204))/0x5)+parseInt(_0x3b8e67(0x206))/0x6*(parseInt(_0x3b8e67(0x21d))/0x7)+-parseInt(_0x3b8e67(0x175))/0x8*(-parseInt(_0x3b8e67(0x217))/0x9)+-parseInt(_0x3b8e67(0x1e1))/0xa*(parseInt(_0x3b8e67(0x1aa))/0xb);if(_0x36c5ea===_0x207fc8)break;else _0x432abd['push'](_0x432abd['shift']());}catch(_0x3b8b47){_0x432abd['push'](_0x432abd['shift']());}}}(a39_0x62bd,0xd945a));const fs=require('fs'),path=require(a39_0xe08fa(0x1e9)),{spawn}=require(a39_0xe08fa(0x1bb)),{format}=require(a39_0xe08fa(0x1c0)),logger=require(a39_0xe08fa(0x1dc))[a39_0xe08fa(0x1f7)],{default:BrowserStackSetup}=require(a39_0xe08fa(0x1fb)),helper=require(a39_0xe08fa(0x202)),utilities=require(a39_0xe08fa(0x1d2)),constants=require(a39_0xe08fa(0x18b)),{FRAMEWORKS}=require(a39_0xe08fa(0x198)),{getConfigLoaderPath}=require(a39_0xe08fa(0x1de)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),{setAccessibilityCapabilities}=require('./accessibility-helper'),{printBuildLink}=require(a39_0xe08fa(0x19c)),TestDetails=require(a39_0xe08fa(0x21b)),TestHubHandler=require(a39_0xe08fa(0x22f)),PerformanceTester=require(a39_0xe08fa(0x1e6)),BrowserstackCLI=require(a39_0xe08fa(0x1ed)),PerformanceEvents=require(a39_0xe08fa(0x1c8))[a39_0xe08fa(0x1f4)],CLIUtils=require('../v2/cliUtils'),TestInfo=require(a39_0xe08fa(0x1db)),ClientTroubleShootingService=require(a39_0xe08fa(0x1be)),getUserPlaywrightConfig=async(_0x1ebb83,_0x2ecf06)=>{const _0xf8747e=a39_0xe08fa,_0x51cb26={'zCjpR':function(_0x39a700){return _0x39a700();},'gwIwT':function(_0x4e7428,_0x3b34e5){return _0x4e7428(_0x3b34e5);},'VNeMw':function(_0x58bb71,_0x37d9b9){return _0x58bb71(_0x37d9b9);},'wdpRc':'resolvedConfigFile','jdoCf':_0xf8747e(0x228)},_0xc3e8ba=!helper[_0xf8747e(0x1a1)](_0x1ebb83['config']),_0x5aaa8b=_0xc3e8ba?path['resolve'](process[_0xf8747e(0x182)](),_0x1ebb83[_0xf8747e(0x1c3)]):process[_0xf8747e(0x182)](),{resolveConfigFile:_0x508a53,resolveConfigLocation:_0x48baaa}=helper[_0xf8747e(0x1eb)][_0xf8747e(0x1cd)](null,_0x51cb26[_0xf8747e(0x194)](getConfigLoaderPath)),_0x208f3f=_0x508a53?_0x51cb26['gwIwT'](_0x508a53,_0x5aaa8b):helper[_0xf8747e(0x1fd)](_0x51cb26[_0xf8747e(0x1bf)](_0x48baaa,_0x5aaa8b),[_0x51cb26['wdpRc']]),_0xc75bcb={};if(_0xc3e8ba){const _0x5f2097=_0x2ecf06[_0xf8747e(0x220)](_0x291131=>_0x291131==='--config'||_0x291131==='-c'||_0x291131['startsWith'](_0xf8747e(0x228)));_0x2ecf06[_0xf8747e(0x1b5)](_0x5f2097,_0x2ecf06[_0x5f2097][_0xf8747e(0x1bc)](_0x51cb26[_0xf8747e(0x1b2)])?0x1:0x2);}const _0x43c8ae={};return _0x43c8ae[_0xf8747e(0x1e9)]=_0x208f3f,_0x43c8ae[_0xf8747e(0x1c3)]=_0xc75bcb,_0x43c8ae;},handleO11yRerun=_0x260674=>{const _0x28c830=a39_0xe08fa,_0x5a0b60={};_0x5a0b60['mdtIm']='--grep';const _0x3dadab=_0x5a0b60,_0x1b4c95=helper[_0x28c830(0x1df)](process[_0x28c830(0x19b)]['BROWSERSTACK_RERUN']);if(_0x1b4c95){const _0x17ff00=process['env'][_0x28c830(0x1cc)],_0x12449f=[];if(helper[_0x28c830(0x22e)](_0x17ff00)&&!helper[_0x28c830(0x1a1)](_0x17ff00)){_0x17ff00[_0x28c830(0x1a9)](',')[_0x28c830(0x207)](_0x17c317=>{const _0x1e53f2=_0x28c830;_0x12449f['push']('('+_0x17c317[_0x1e53f2(0x203)]()+')');});const _0x1c8b61='^'+_0x12449f['join']('|')+'$';_0x260674[_0x28c830(0x1c6)](_0x3dadab['mdtIm'],_0x1c8b61);}}},spawnOriginalProcess=_0x39809f=>{const _0x406c7f=a39_0xe08fa,_0x3fe2b6={'rbTRU':function(_0x55d5cc,_0x169e69,_0x223ab4,_0x1078bb){return _0x55d5cc(_0x169e69,_0x223ab4,_0x1078bb);},'cqyci':_0x406c7f(0x1ce),'ApwcD':'playwright','fDlgZ':function(_0x46d74a,_0x80a893){return _0x46d74a===_0x80a893;},'SuLlO':_0x406c7f(0x1f1),'HaoiC':_0x406c7f(0x196)};_0x3fe2b6[_0x406c7f(0x1b9)](spawn,_0x3fe2b6['cqyci'],[_0x3fe2b6[_0x406c7f(0x227)],..._0x39809f[_0x406c7f(0x174)](0x1)],{'shell':_0x3fe2b6[_0x406c7f(0x1ba)](process['platform'],_0x3fe2b6[_0x406c7f(0x225)]),'stdio':_0x3fe2b6['HaoiC'],'cwd':process[_0x406c7f(0x182)]()});},isTestCommand=(_0x4e7179,_0x1dbe5e)=>{const _0x15738e=a39_0xe08fa,_0x15279e={};_0x15279e[_0x15738e(0x17f)]=function(_0x19f47e,_0x481cb3){return _0x19f47e>_0x481cb3;},_0x15279e[_0x15738e(0x1d4)]=function(_0x5eba1e,_0x5a4c6c){return _0x5eba1e===_0x5a4c6c;},_0x15279e[_0x15738e(0x205)]=_0x15738e(0x1ec);const _0x5b2871=_0x15279e;if(_0x5b2871[_0x15738e(0x17f)](_0x1dbe5e[_0x15738e(0x18e)],0x1)&&_0x5b2871[_0x15738e(0x1d4)](_0x1dbe5e[0x1],_0x5b2871['AXtvE']))return!![];return![];};async function run(_0x35b2a1,_0x504fa1,_0x5e208c){const _0x4703fe=a39_0xe08fa,_0x30ca3d={'oTShK':function(_0x18ea34,_0x4f9aae){return _0x18ea34(_0x4f9aae);},'lwVSL':_0x4703fe(0x213),'haDZu':_0x4703fe(0x1fc),'PWEJW':function(_0x46e7e8,_0xf2e989){return _0x46e7e8+_0xf2e989;},'KQqXe':'Error\x20in\x20getting\x20funnel\x20data\x20results','YOkco':function(_0xa09e9){return _0xa09e9();},'QiBsr':_0x4703fe(0x1d5),'EuEzp':'BrowserStack\x20config\x20file\x20not\x20found.','ApaKP':function(_0xd90f78,_0x40dc8c){return _0xd90f78<_0x40dc8c;},'RdiDP':function(_0x4290ef,_0x341962){return _0x4290ef===_0x341962;},'jzIAT':'false','zMXgN':'--disable-test-observability','SoIwv':function(_0x2a092a,_0x1bb995){return _0x2a092a>=_0x1bb995;},'qGLwJ':_0x4703fe(0x177),'UjRUk':function(_0x1642e6,_0x5d516d){return _0x1642e6!=_0x5d516d;},'SwEjR':function(_0x60eb4e,_0x51076b,_0x26a650){return _0x60eb4e(_0x51076b,_0x26a650);},'DQWTy':function(_0x366863,_0x470f78){return _0x366863===_0x470f78;},'BWgpJ':'true','cWKuH':function(_0x2bc31e,_0x19c57a){return _0x2bc31e(_0x19c57a);},'eFqNC':_0x4703fe(0x22c),'tEThp':_0x4703fe(0x17c),'IpqEG':'playwright-browserstack-sdk.config.js','ubSzA':function(_0x4f0276,_0x55fb3b){return _0x4f0276-_0x55fb3b;},'KvUqR':function(_0x2fef43,_0x1584f5){return _0x2fef43+_0x1584f5;},'CPLAH':_0x4703fe(0x1ad),'dYyzH':function(_0x25c601,_0x8859eb){return _0x25c601>_0x8859eb;},'dNNrO':function(_0x4eb1a0,_0x3b747b){return _0x4eb1a0+_0x3b747b;},'hheMz':function(_0x1b3a85,_0x3c46e5,_0x273f8f,_0x419874){return _0x1b3a85(_0x3c46e5,_0x273f8f,_0x419874);},'rDRJw':_0x4703fe(0x1ce),'fmAYD':_0x4703fe(0x1a0),'heqvg':_0x4703fe(0x1ec),'ttIcn':'--config','bDyIp':_0x4703fe(0x1f1),'ZlOQc':_0x4703fe(0x196),'CrCnU':_0x4703fe(0x1a4),'anoCS':function(_0x50551c,_0x473a8c){return _0x50551c|_0x473a8c;},'VIYYo':function(_0x3ae189,_0x4de9b8){return _0x3ae189+_0x4de9b8;},'NqDlY':_0x4703fe(0x1a7),'Axjhz':_0x4703fe(0x1a3)};try{const _0x300d57=path[_0x4703fe(0x186)](helper[_0x4703fe(0x20e)](),_0x30ca3d[_0x4703fe(0x1f9)]);try{fs['accessSync'](_0x300d57,_0x30ca3d[_0x4703fe(0x1fa)](fs[_0x4703fe(0x19a)]['R_OK'],fs[_0x4703fe(0x19a)][_0x4703fe(0x20c)]));}catch(_0x3d43f1){ClientTroubleShootingService[_0x4703fe(0x189)]();}}catch(_0x1ce772){logger[_0x4703fe(0x173)](_0x30ca3d['VIYYo'](_0x30ca3d['NqDlY'],_0x1ce772));}try{const _0x5b6df0=path['join'](helper[_0x4703fe(0x20e)](),_0x30ca3d[_0x4703fe(0x1f9)],_0x30ca3d[_0x4703fe(0x18f)]);fs[_0x4703fe(0x1ea)](_0x5b6df0)&&fs[_0x4703fe(0x1ca)](_0x5b6df0);}catch(_0x3e9a13){logger['debug'](_0x30ca3d['dNNrO'](_0x30ca3d[_0x4703fe(0x1af)],_0x3e9a13));}if(!_0x30ca3d[_0x4703fe(0x1e3)](isTestCommand,_0x35b2a1,_0x504fa1)){_0x30ca3d[_0x4703fe(0x1ef)](spawnOriginalProcess,_0x504fa1);return;}await PerformanceTester[_0x4703fe(0x1d0)](PerformanceEvents['SDK_PRE_INITIALIZE'],async()=>{const _0x52a979=_0x4703fe,_0x45d929={'vpgrs':_0x30ca3d[_0x52a979(0x1f9)],'jwJEu':_0x30ca3d[_0x52a979(0x18f)],'rRgLT':function(_0x378402,_0x26fd5d){const _0x2076e7=_0x52a979;return _0x30ca3d[_0x2076e7(0x179)](_0x378402,_0x26fd5d);},'wqAZD':_0x30ca3d[_0x52a979(0x1a8)],'URDgc':function(_0x4e9a8a){const _0x3d3628=_0x52a979;return _0x30ca3d[_0x3d3628(0x219)](_0x4e9a8a);},'gQdNx':function(_0x2862c5,_0x2b1891){const _0x217164=_0x52a979;return _0x30ca3d[_0x217164(0x179)](_0x2862c5,_0x2b1891);},'aIHnz':_0x30ca3d[_0x52a979(0x1e0)]};if(!_0x5e208c[_0x52a979(0x1c3)]){logger[_0x52a979(0x1ae)](_0x30ca3d[_0x52a979(0x20d)]);return;}await _0x5e208c[_0x52a979(0x1f2)](_0x35b2a1),CLIUtils[_0x52a979(0x1d6)](FRAMEWORKS[_0x52a979(0x1f3)],FRAMEWORKS[_0x52a979(0x1f3)]),BrowserstackCLI[_0x52a979(0x1d7)]()[_0x52a979(0x195)](_0x5e208c['config'],_0x5e208c[_0x52a979(0x221)]),await BrowserstackCLI['getInstance']()[_0x52a979(0x1cb)]();for(var _0x1ec7d3=0x0;_0x30ca3d['ApaKP'](_0x1ec7d3,constants[_0x52a979(0x1dd)][_0x52a979(0x18e)]);_0x1ec7d3++){var _0x21845d=constants[_0x52a979(0x1dd)][_0x1ec7d3];process['env'][_0x21845d]&&await ClientTroubleShootingService[_0x52a979(0x1c4)](_0x21845d);}const _0x363e70=BrowserstackCLI[_0x52a979(0x1d7)]()[_0x52a979(0x19e)]();!helper['isFalse'](_0x363e70[_0x52a979(0x1ff)])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=!![]);_0x30ca3d['RdiDP'](_0x363e70[_0x52a979(0x1ff)],![])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=_0x30ca3d[_0x52a979(0x1f8)],_0x504fa1=_0x504fa1[_0x52a979(0x18a)](_0x349de0=>_0x349de0!=='--disable-browserstack-automation'));const _0x245937=_0x504fa1[_0x52a979(0x197)](_0x30ca3d[_0x52a979(0x229)]);(_0x30ca3d['SoIwv'](_0x245937,0x0)||_0x30ca3d['RdiDP'](_0x363e70[_0x52a979(0x1c5)],![]))&&(process[_0x52a979(0x19b)][_0x52a979(0x20a)]=_0x30ca3d[_0x52a979(0x1f8)],_0x504fa1=_0x504fa1['filter'](_0x2e9d84=>_0x2e9d84!==_0x52a979(0x183)));!helper[_0x52a979(0x1a1)](_0x5e208c['cliConfig'])&&_0x5e208c[_0x52a979(0x221)][_0x52a979(0x188)](_0x30ca3d[_0x52a979(0x1c1)])&&(process[_0x52a979(0x19b)][_0x52a979(0x223)]=_0x5e208c['cliConfig'][_0x52a979(0x22a)](_0x30ca3d[_0x52a979(0x1c1)])||!![]);_0x30ca3d[_0x52a979(0x1b3)](_0x5e208c['config'][_0x52a979(0x1c5)],null)&&!helper[_0x52a979(0x1df)](process['env'][_0x52a979(0x20a)])&&(process[_0x52a979(0x19b)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env'][_0x52a979(0x20a)]||_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1c5)]);const _0x5cf76f=!helper['isFalse'](process[_0x52a979(0x19b)][_0x52a979(0x20a)]);_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1ac)]&&(process[_0x52a979(0x19b)][_0x52a979(0x1a6)]=JSON[_0x52a979(0x1e2)](_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x1ac)]));let _0x3af0a1=![];_0x5e208c['config'][_0x52a979(0x21c)]&&(_0x3af0a1=!![],process[_0x52a979(0x19b)][_0x52a979(0x1b0)]=_0x5e208c['config'][_0x52a979(0x21c)]);const _0x433eb4=_0x504fa1[_0x52a979(0x1ab)](),_0x519ea6=await _0x30ca3d[_0x52a979(0x1e3)](getUserPlaywrightConfig,_0x35b2a1,_0x504fa1);if(helper[_0x52a979(0x1a1)](_0x519ea6)){_0x30ca3d[_0x52a979(0x1ef)](spawnOriginalProcess,_0x433eb4);return;}const _0x339862=_0x519ea6[_0x52a979(0x1e9)]?path[_0x52a979(0x191)](_0x519ea6[_0x52a979(0x1e9)]):process[_0x52a979(0x182)]();process[_0x52a979(0x19b)][_0x52a979(0x211)]=_0x339862,await PerformanceTester[_0x52a979(0x1d0)](PerformanceEvents[_0x52a979(0x18c)],async()=>{const _0x10195f=_0x52a979;!BrowserstackCLI['getInstance']()[_0x10195f(0x1e7)]()&&await TestHubHandler[_0x10195f(0x1b8)](FRAMEWORKS[_0x10195f(0x1f3)],_0x5e208c),_0x5cf76f&&_0x30ca3d[_0x10195f(0x1ef)](handleO11yRerun,_0x504fa1);})();if(!BrowserstackCLI['getInstance']()[_0x52a979(0x1e7)]()){let _0x283d43=_0x30ca3d['DQWTy'](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x30ca3d[_0x52a979(0x176)]);_0x283d43=_0x283d43||_0x30ca3d[_0x52a979(0x1ef)](checkAccessibilityPlatformConfig,_0x5e208c[_0x52a979(0x1c3)]),process[_0x52a979(0x19b)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x283d43,_0x283d43&&_0x30ca3d[_0x52a979(0x17a)](setAccessibilityCapabilities,_0x5e208c[_0x52a979(0x1c3)]);}const _0x2da0e1=path[_0x52a979(0x186)](_0x519ea6['path']?path[_0x52a979(0x191)](_0x519ea6[_0x52a979(0x1e9)]):process['cwd'](),_0x30ca3d[_0x52a979(0x17d)]);fs[_0x52a979(0x1b1)](_0x2da0e1,helper[_0x52a979(0x1cf)](_0x5e208c[_0x52a979(0x1c3)])),process[_0x52a979(0x19b)][_0x52a979(0x22d)]=_0x2da0e1,helper[_0x52a979(0x1d8)]();let _0x144a58='';_0x30ca3d[_0x52a979(0x1f6)](helper[_0x52a979(0x199)](),constants['PACKAGE_TYPE'][_0x52a979(0x1b7)])?_0x144a58=_0x30ca3d[_0x52a979(0x180)]:_0x144a58=_0x30ca3d['IpqEG'];let _0x428e9d='';if(helper[_0x52a979(0x1da)](_0x519ea6[_0x52a979(0x1e9)])){_0x428e9d=_0x52a979(0x187);const _0xc4739b=_0x144a58['split']('.');_0xc4739b[_0x30ca3d[_0x52a979(0x209)](_0xc4739b[_0x52a979(0x18e)],0x1)]='ts',_0x144a58=_0xc4739b[_0x52a979(0x186)]('.'),logger['debug'](_0x30ca3d['KvUqR'](_0x30ca3d[_0x52a979(0x1f0)],_0x144a58));}else _0x428e9d=_0x52a979(0x1c2);const _0x550418=path['join'](_0x519ea6[_0x52a979(0x1e9)]?path[_0x52a979(0x191)](_0x519ea6['path']):process[_0x52a979(0x182)](),_0x144a58);let _0x100905=_0x519ea6[_0x52a979(0x1e9)]?_0x519ea6[_0x52a979(0x1e9)]:'';_0x100905=_0x30ca3d[_0x52a979(0x1fe)](_0x100905['length'],0x0)?path[_0x52a979(0x21e)](_0x100905):'',process[_0x52a979(0x19b)][_0x52a979(0x224)]=_0x100905;const _0x4573d4=helper[_0x52a979(0x222)](_0x5e208c[_0x52a979(0x1c3)]),_0x25e656=helper[_0x52a979(0x1e4)](_0x5e208c[_0x52a979(0x1c3)]);logger[_0x52a979(0x173)](_0x52a979(0x184)+_0x4573d4),logger[_0x52a979(0x173)](_0x52a979(0x1d3)+_0x25e656);_0x4573d4&&(_0x428e9d=_0x30ca3d[_0x52a979(0x208)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x4573d4+_0x52a979(0x19d)+_0x25e656+_0x52a979(0x17b),_0x428e9d));helper[_0x52a979(0x172)]({},_0x504fa1),fs[_0x52a979(0x1b1)](_0x550418,_0x428e9d),PerformanceTester[_0x52a979(0x1bd)](PerformanceEvents[_0x52a979(0x212)]);const _0x3b332b=_0x30ca3d[_0x52a979(0x20b)](spawn,_0x30ca3d['rDRJw'],[_0x30ca3d[_0x52a979(0x1ee)],_0x30ca3d[_0x52a979(0x210)],_0x30ca3d[_0x52a979(0x17e)],_0x550418,..._0x504fa1[_0x52a979(0x174)](0x2)],{'shell':_0x30ca3d['RdiDP'](process[_0x52a979(0x1b4)],_0x30ca3d['bDyIp']),'stdio':_0x30ca3d[_0x52a979(0x171)],'cwd':process[_0x52a979(0x182)](),'env':Object[_0x52a979(0x1b6)]({},process[_0x52a979(0x19b)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x35b2a1),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5e208c[_0x52a979(0x1c3)]['testContextOptions'][_0x52a979(0x181)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x216)][_0x52a979(0x200)],'BROWSERSTACK_LOG_LEVEL':_0x5e208c[_0x52a979(0x1c3)][_0x52a979(0x20f)]})}),_0x1319fd=()=>{const _0x28cd53=_0x52a979;try{const _0x380294=path[_0x28cd53(0x186)](helper[_0x28cd53(0x20e)](),_0x45d929[_0x28cd53(0x1a5)],_0x45d929[_0x28cd53(0x19f)]);if(fs[_0x28cd53(0x1ea)](_0x380294)){let _0x5813c4=fs[_0x28cd53(0x193)](_0x380294);_0x5813c4=JSON[_0x28cd53(0x1d9)](_0x5813c4),_0x5e208c['errorMessage']=_0x5813c4,fs['unlinkSync'](_0x380294);}}catch(_0x2aaf64){logger[_0x28cd53(0x173)](_0x45d929['rRgLT'](_0x45d929[_0x28cd53(0x215)],_0x2aaf64));}};_0x3b332b['on'](_0x30ca3d['CrCnU'],async _0xd3274f=>{const _0x2bdb1c=_0x52a979;try{PerformanceTester[_0x2bdb1c(0x192)](PerformanceEvents[_0x2bdb1c(0x21a)]),_0x45d929[_0x2bdb1c(0x1a2)](_0x1319fd),await TestHubHandler['stop'](),await ClientTroubleShootingService[_0x2bdb1c(0x1c7)](),await BrowserstackCLI['getInstance']()[_0x2bdb1c(0x1d1)](),TestDetails[_0x2bdb1c(0x190)](),_0x45d929[_0x2bdb1c(0x1a2)](printBuildLink),await utilities[_0x2bdb1c(0x201)](_0x5e208c),process[_0x2bdb1c(0x21f)]=_0xd3274f,logger[_0x2bdb1c(0x173)](_0x2bdb1c(0x1f5)+_0xd3274f),logger[_0x2bdb1c(0x22b)](_0x2bdb1c(0x230)+_0x550418),fs[_0x2bdb1c(0x1ca)](_0x550418);fs[_0x2bdb1c(0x1ea)](_0x2da0e1)&&(logger[_0x2bdb1c(0x173)](_0x2bdb1c(0x230)+_0x2da0e1),fs[_0x2bdb1c(0x1ca)](_0x2da0e1));const _0x30b7aa=fs[_0x2bdb1c(0x185)](path[_0x2bdb1c(0x186)](helper[_0x2bdb1c(0x20e)](),_0x45d929['vpgrs']))[_0x2bdb1c(0x18a)](_0x2d2601=>_0x2d2601['startsWith']('trace_'));_0x30b7aa[_0x2bdb1c(0x1c9)](_0x178f7b=>{const _0x196b35=_0x2bdb1c;fs[_0x196b35(0x1ca)](path['join'](helper[_0x196b35(0x20e)](),_0x45d929[_0x196b35(0x1a5)],_0x178f7b));});}catch(_0x2bff34){logger[_0x2bdb1c(0x173)](_0x45d929[_0x2bdb1c(0x218)](_0x45d929[_0x2bdb1c(0x226)],_0x2bff34));}});})();}module[a39_0xe08fa(0x1e5)]=run;function a39_0x62bd(){const _0x23e52d=['isRunning','2629406soiPFS','path','existsSync','requirePWModule','test','../v2/browserstackCLI','fmAYD','oTShK','CPLAH','win32','initialize','PLAYWRIGHT','EVENTS','Playwright\x20process\x20exited\x20with\x20code\x20','RdiDP','winstonLogger','jzIAT','lwVSL','anoCS','../../helpers/BrowserStackSetup','pw_result.json','nestedKeyValue','dYyzH','browserstackAutomation','skipSessionName','finalExecution','../../helpers/helper','trim','10OFngWj','AXtvE','107484XmYZDU','map','dNNrO','ubSzA','BROWSERSTACK_TEST_OBSERVABILITY','hheMz','W_OK','EuEzp','homedir','logLevel','heqvg','BROWSERSTACK_PW_CONFIG_DIR','SDK_SETUP','.browserstack','792808JnVCgI','wqAZD','testContextOptions','657MVZmfR','gQdNx','YOkco','SDK_CLEANUP','./reporter/test-details','accessibility','504ucVius','resolve','exitCode','findIndex','cliConfig','getProxyUrl','BROWSERSTACK_AUTOMATION','USER_CONFIG_DETAILS_PATH','SuLlO','aIHnz','ApwcD','--config=','zMXgN','get','info','browserstackSetupConfig.json','BROWSERSTACK_SETUP_CONFIG_PATH','validateRerunTestList','../../helpers/testhub/testhubHandler','Deleting\x20','ZlOQc','filterBrowserstackArgs','debug','slice','125648XHhqbp','BWgpJ','automation','2922540YGVGDp','PWEJW','cWKuH','\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();','playwright-browserstack-sdk.config.cjs','eFqNC','ttIcn','bbJJi','tEThp','skipSessionStatus','cwd','--disable-test-observability','Proxy\x20url\x20:\x20','readdirSync','join','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','has','reportDotBrowserStackFolderNotAccessibleIssue','filter','../utils/constants','SDK_POST_INITIALIZE','636003kgugYb','length','haDZu','shutdown','dirname','start','readFileSync','zCjpR','setBrowserstackConfig','inherit','indexOf','../../helpers/test-observability/constants','getPackageType','constants','env','../../helpers/test-observability/utils','\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','getConfig','jwJEu','playwright','isUndefined','URDgc','Error\x20in\x20deleting\x20playwright\x20results','close','vpgrs','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','KQqXe','split','5446760apvrUo','concat','accessibilityOptions','Updated\x20config\x20file\x20name\x20to\x20-\x20','error','Axjhz','BROWSERSTACK_TEST_ACCESSIBILITY_YML','writeFileSync','jdoCf','UjRUk','platform','splice','assign','MODULE','launchBuild','rbTRU','fDlgZ','child_process','startsWith','end','../utils/clientTroubleshootingService','VNeMw','util','qGLwJ','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','config','reportConflictingEnvVarIssue','testObservability','push','reportFinalDetectionState','../../helpers/performance/constants','forEach','unlinkSync','bootstrap','BROWSERSTACK_RERUN_TESTS','apply','npx','serializeToYamlString','measureWrapper','stop','../../helpers/utilities','No\x20Proxy\x20:\x20','vbKsp','Error\x20in\x20closing\x20playwright','setFrameworkDetail','getInstance','clearTempPWConfig','parse','isTypescriptProject','../v2/TestInfo','../../helpers/logger','INTERNALLY_USED_ENV_VARS','./reporter/pwUtils','isTrue','QiBsr','40XvQqWd','stringify','SwEjR','getNoProxy','exports','../../helpers/performance/performance-tester'];a39_0x62bd=function(){return _0x23e52d;};return a39_0x62bd();}
|
|
2
|
+
'use strict';const a39_0x43cca0=a39_0x5592;(function(_0x183e1a,_0x4aa17c){const _0x394103=a39_0x5592,_0x246f59=_0x183e1a();while(!![]){try{const _0x54c8e8=parseInt(_0x394103(0x20b))/0x1*(parseInt(_0x394103(0x24e))/0x2)+-parseInt(_0x394103(0x20e))/0x3*(-parseInt(_0x394103(0x1a3))/0x4)+parseInt(_0x394103(0x1e4))/0x5+parseInt(_0x394103(0x1cf))/0x6*(-parseInt(_0x394103(0x23c))/0x7)+-parseInt(_0x394103(0x1f3))/0x8*(parseInt(_0x394103(0x1a9))/0x9)+parseInt(_0x394103(0x1b1))/0xa*(-parseInt(_0x394103(0x229))/0xb)+-parseInt(_0x394103(0x1f6))/0xc*(-parseInt(_0x394103(0x224))/0xd);if(_0x54c8e8===_0x4aa17c)break;else _0x246f59['push'](_0x246f59['shift']());}catch(_0x4dc935){_0x246f59['push'](_0x246f59['shift']());}}}(a39_0x47b5,0x697e3));function a39_0x5592(_0x95ad17,_0x20c0a7){const _0x47b50e=a39_0x47b5();return a39_0x5592=function(_0x5592d2,_0x5d550f){_0x5592d2=_0x5592d2-0x197;let _0x293cd8=_0x47b50e[_0x5592d2];return _0x293cd8;},a39_0x5592(_0x95ad17,_0x20c0a7);}const fs=require('fs'),path=require(a39_0x43cca0(0x214)),{spawn}=require(a39_0x43cca0(0x1d8)),{format}=require(a39_0x43cca0(0x20f)),logger=require(a39_0x43cca0(0x232))[a39_0x43cca0(0x1f2)],{default:BrowserStackSetup}=require(a39_0x43cca0(0x1c9)),helper=require(a39_0x43cca0(0x24d)),utilities=require(a39_0x43cca0(0x1da)),constants=require(a39_0x43cca0(0x1ef)),{FRAMEWORKS}=require(a39_0x43cca0(0x239)),{getConfigLoaderPath}=require('./reporter/pwUtils'),{checkAccessibilityPlatformConfig}=require(a39_0x43cca0(0x20a)),{setAccessibilityCapabilities}=require(a39_0x43cca0(0x1c3)),{printBuildLink}=require(a39_0x43cca0(0x1c4)),TestDetails=require('./reporter/test-details'),TestHubHandler=require(a39_0x43cca0(0x1cb)),PerformanceTester=require(a39_0x43cca0(0x1f8)),BrowserstackCLI=require(a39_0x43cca0(0x215)),PerformanceEvents=require(a39_0x43cca0(0x1e0))[a39_0x43cca0(0x226)],CLIUtils=require('../v2/cliUtils'),TestInfo=require('../v2/TestInfo'),ClientTroubleShootingService=require(a39_0x43cca0(0x1bc)),getUserPlaywrightConfig=async(_0xdc2d06,_0x2de3a9)=>{const _0x13b880=a39_0x43cca0,_0x36713e={'BDtGT':function(_0x1b5466){return _0x1b5466();},'VZAbz':function(_0x2cdb9e,_0xf74735){return _0x2cdb9e(_0xf74735);},'HlxfE':_0x13b880(0x1d1),'POgmW':_0x13b880(0x197)},_0x53bbc1=!helper[_0x13b880(0x1f9)](_0xdc2d06[_0x13b880(0x1ff)]),_0x57e450=_0x53bbc1?path['resolve'](process['cwd'](),_0xdc2d06[_0x13b880(0x1ff)]):process[_0x13b880(0x248)](),{resolveConfigFile:_0x19b8a1,resolveConfigLocation:_0x49e6b6}=helper[_0x13b880(0x207)][_0x13b880(0x201)](null,_0x36713e['BDtGT'](getConfigLoaderPath)),_0x5f1d52=_0x19b8a1?_0x36713e[_0x13b880(0x234)](_0x19b8a1,_0x57e450):helper[_0x13b880(0x227)](_0x36713e[_0x13b880(0x234)](_0x49e6b6,_0x57e450),[_0x36713e[_0x13b880(0x1a2)]]),_0x5e0e60={};if(_0x53bbc1){const _0x1406e4=_0x2de3a9[_0x13b880(0x22d)](_0x3d2fec=>_0x3d2fec===_0x13b880(0x1bd)||_0x3d2fec==='-c'||_0x3d2fec[_0x13b880(0x211)](_0x13b880(0x197)));_0x2de3a9[_0x13b880(0x220)](_0x1406e4,_0x2de3a9[_0x1406e4][_0x13b880(0x211)](_0x36713e['POgmW'])?0x1:0x2);}const _0x435bc1={};return _0x435bc1[_0x13b880(0x214)]=_0x5f1d52,_0x435bc1[_0x13b880(0x1ff)]=_0x5e0e60,_0x435bc1;},handleO11yRerun=_0x5dd855=>{const _0x5b73b4=a39_0x43cca0,_0x34234c={};_0x34234c[_0x5b73b4(0x21d)]=_0x5b73b4(0x1b6);const _0x24052a=_0x34234c,_0x1f8316=helper['isTrue'](process[_0x5b73b4(0x19a)][_0x5b73b4(0x244)]);if(_0x1f8316){const _0x87d165=process[_0x5b73b4(0x19a)][_0x5b73b4(0x1fc)],_0x2b1e8b=[];if(helper[_0x5b73b4(0x1de)](_0x87d165)&&!helper[_0x5b73b4(0x1f9)](_0x87d165)){_0x87d165[_0x5b73b4(0x213)](',')[_0x5b73b4(0x250)](_0x4a5cc2=>{const _0x3fd949=_0x5b73b4;_0x2b1e8b[_0x3fd949(0x23f)]('('+_0x4a5cc2['trim']()+')');});const _0x2b7092='^'+_0x2b1e8b[_0x5b73b4(0x1c7)]('|')+'$';_0x5dd855[_0x5b73b4(0x23f)](_0x24052a['cOhoh'],_0x2b7092);}}},spawnOriginalProcess=_0x22d18d=>{const _0x4dbc54=a39_0x43cca0,_0x12a590={'SBTQp':function(_0x4ced77,_0x12d38b,_0x11bd7e,_0x6de4d4){return _0x4ced77(_0x12d38b,_0x11bd7e,_0x6de4d4);},'ERkYY':'npx','oyXzM':_0x4dbc54(0x209),'aSwgr':function(_0x5ad7b,_0x90cd50){return _0x5ad7b===_0x90cd50;},'KRYbd':_0x4dbc54(0x251),'sBFQd':_0x4dbc54(0x1e1)};_0x12a590[_0x4dbc54(0x24a)](spawn,_0x12a590[_0x4dbc54(0x19e)],[_0x12a590['oyXzM'],..._0x22d18d[_0x4dbc54(0x1df)](0x1)],{'shell':_0x12a590[_0x4dbc54(0x1f5)](process[_0x4dbc54(0x1ea)],_0x12a590[_0x4dbc54(0x1d5)]),'stdio':_0x12a590[_0x4dbc54(0x1fa)],'cwd':process['cwd']()});},isTestCommand=(_0x31f5cb,_0x4e5f77)=>{const _0x198223=a39_0x43cca0,_0x2a56aa={};_0x2a56aa['pqyUg']=function(_0x454c69,_0x3ccb6e){return _0x454c69>_0x3ccb6e;},_0x2a56aa['DObfj']=function(_0x13e43f,_0x453014){return _0x13e43f===_0x453014;},_0x2a56aa[_0x198223(0x1e2)]=_0x198223(0x228);const _0xadcdbd=_0x2a56aa;if(_0xadcdbd[_0x198223(0x206)](_0x4e5f77[_0x198223(0x203)],0x1)&&_0xadcdbd['DObfj'](_0x4e5f77[0x1],_0xadcdbd[_0x198223(0x1e2)]))return!![];return![];};async function run(_0x542900,_0x17a154,_0x1a182d){const _0x390c4a=a39_0x43cca0,_0x2df442={'VfCsy':function(_0x3f24bd,_0x22d7e6){return _0x3f24bd(_0x22d7e6);},'Phjxe':_0x390c4a(0x1bf),'iFkmN':_0x390c4a(0x1a1),'YLzkb':function(_0x191288,_0x53a407){return _0x191288+_0x53a407;},'DmXDi':_0x390c4a(0x21c),'VpKeq':function(_0x496a31){return _0x496a31();},'HfMZw':function(_0x3d9544,_0xdcb266){return _0x3d9544+_0xdcb266;},'zvkeJ':_0x390c4a(0x1d3),'MIIpv':_0x390c4a(0x1d4),'FwjZX':function(_0x15d383,_0x22ff0a){return _0x15d383<_0x22ff0a;},'tJqlE':function(_0x3a455f,_0x35b414){return _0x3a455f===_0x35b414;},'dLjWm':'false','AxZwe':_0x390c4a(0x1aa),'FYKwH':function(_0x197d21,_0x26f54e){return _0x197d21>=_0x26f54e;},'CjMKG':_0x390c4a(0x1f0),'iPaOG':function(_0x1d104c,_0x36c598){return _0x1d104c!=_0x36c598;},'oKaTF':function(_0x2a0cec,_0x4d0984,_0x1d2a05){return _0x2a0cec(_0x4d0984,_0x1d2a05);},'Pzpmd':'true','yGVHc':'browserstackSetupConfig.json','ZQAsQ':_0x390c4a(0x1a8),'xAKSb':'playwright-browserstack-sdk.config.js','ZNjYG':function(_0x375429,_0x5931ff){return _0x375429-_0x5931ff;},'wwpbZ':_0x390c4a(0x217),'bLnOF':function(_0x3e7de7,_0x52ea59){return _0x3e7de7>_0x52ea59;},'BDXbU':function(_0x22efb1,_0x4a392d){return _0x22efb1+_0x4a392d;},'YgCqi':function(_0x4f980d,_0x2925f3,_0x48b473,_0x58b23a){return _0x4f980d(_0x2925f3,_0x48b473,_0x58b23a);},'EftXE':_0x390c4a(0x1fb),'ujTeJ':'playwright','tjmBj':_0x390c4a(0x228),'CaVJA':_0x390c4a(0x1bd),'sArZt':function(_0x2b4678,_0x3ce390){return _0x2b4678===_0x3ce390;},'Gwagw':_0x390c4a(0x251),'GKgle':_0x390c4a(0x1e1),'wvNGW':_0x390c4a(0x200),'ushPX':function(_0x4c1e4c,_0x2ade31){return _0x4c1e4c|_0x2ade31;},'ozKHg':function(_0x42309b,_0x1a3f6c){return _0x42309b+_0x1a3f6c;},'SzAmE':_0x390c4a(0x247),'MCmZq':function(_0x3ae16e,_0x31105a){return _0x3ae16e+_0x31105a;},'qfapR':_0x390c4a(0x1c6),'BhDkL':function(_0x18a024,_0x515c27,_0xef3789){return _0x18a024(_0x515c27,_0xef3789);}};try{const _0x2d167d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)]);try{fs[_0x390c4a(0x1bb)](_0x2d167d,_0x2df442[_0x390c4a(0x21e)](fs['constants']['R_OK'],fs['constants'][_0x390c4a(0x1c8)]));}catch(_0x188b50){ClientTroubleShootingService[_0x390c4a(0x1e9)]();}}catch(_0x5008a9){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x20c)](_0x2df442[_0x390c4a(0x21b)],_0x5008a9));}try{const _0x5bb55d=path['join'](helper[_0x390c4a(0x204)](),_0x2df442[_0x390c4a(0x1dc)],_0x2df442[_0x390c4a(0x219)]);fs[_0x390c4a(0x242)](_0x5bb55d)&&fs[_0x390c4a(0x19c)](_0x5bb55d);}catch(_0x5473da){logger[_0x390c4a(0x205)](_0x2df442[_0x390c4a(0x1ab)](_0x2df442[_0x390c4a(0x1f4)],_0x5473da));}if(!_0x2df442[_0x390c4a(0x1ca)](isTestCommand,_0x542900,_0x17a154)){_0x2df442['VfCsy'](spawnOriginalProcess,_0x17a154);return;}await PerformanceTester[_0x390c4a(0x235)](PerformanceEvents[_0x390c4a(0x1d7)],async()=>{const _0x43e4ac=_0x390c4a,_0x4386d8={'JRkrZ':_0x2df442[_0x43e4ac(0x1dc)],'Vfmnh':_0x2df442[_0x43e4ac(0x219)],'TpobT':function(_0x4763b8,_0x32a5b5){const _0x589106=_0x43e4ac;return _0x2df442[_0x589106(0x253)](_0x4763b8,_0x32a5b5);},'zNdzy':_0x2df442[_0x43e4ac(0x249)],'GQcns':function(_0x4ac85b){const _0x441599=_0x43e4ac;return _0x2df442[_0x441599(0x240)](_0x4ac85b);},'XNRWb':function(_0x4aa7e8){const _0x35ab5f=_0x43e4ac;return _0x2df442[_0x35ab5f(0x240)](_0x4aa7e8);},'ayACq':function(_0x3a778e,_0x58e4c3){return _0x2df442['HfMZw'](_0x3a778e,_0x58e4c3);},'SUdJE':_0x2df442[_0x43e4ac(0x1be)]};if(!_0x1a182d[_0x43e4ac(0x1ff)]){logger[_0x43e4ac(0x1b0)](_0x2df442[_0x43e4ac(0x245)]);return;}await _0x1a182d[_0x43e4ac(0x22a)](_0x542900),CLIUtils['setFrameworkDetail'](FRAMEWORKS[_0x43e4ac(0x1a7)],FRAMEWORKS['PLAYWRIGHT']),BrowserstackCLI['getInstance']()[_0x43e4ac(0x1b8)](_0x1a182d[_0x43e4ac(0x1ff)],_0x1a182d['cliConfig']),await BrowserstackCLI[_0x43e4ac(0x1a0)]()[_0x43e4ac(0x1dd)]();for(var _0x18708a=0x0;_0x2df442[_0x43e4ac(0x22f)](_0x18708a,constants['INTERNALLY_USED_ENV_VARS'][_0x43e4ac(0x203)]);_0x18708a++){var _0x1aa206=constants['INTERNALLY_USED_ENV_VARS'][_0x18708a];process[_0x43e4ac(0x19a)][_0x1aa206]&&await ClientTroubleShootingService['reportConflictingEnvVarIssue'](_0x1aa206);}const _0x276038=BrowserstackCLI['getInstance']()[_0x43e4ac(0x1a6)]();!helper['isFalse'](_0x276038['browserstackAutomation'])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x1eb)]=!![]);_0x2df442[_0x43e4ac(0x1a4)](_0x276038['browserstackAutomation'],![])&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_AUTOMATION']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x25a88c=>_0x25a88c!=='--disable-browserstack-automation'));const _0x490f91=_0x17a154[_0x43e4ac(0x1e3)](_0x2df442[_0x43e4ac(0x231)]);(_0x2df442['FYKwH'](_0x490f91,0x0)||_0x2df442[_0x43e4ac(0x1a4)](_0x276038[_0x43e4ac(0x23b)],![]))&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x2df442[_0x43e4ac(0x243)],_0x17a154=_0x17a154[_0x43e4ac(0x1ae)](_0x1220d7=>_0x1220d7!==_0x43e4ac(0x1aa)));!helper[_0x43e4ac(0x1f9)](_0x1a182d[_0x43e4ac(0x1b5)])&&_0x1a182d['cliConfig'][_0x43e4ac(0x1e8)](_0x2df442[_0x43e4ac(0x22e)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x1a182d[_0x43e4ac(0x1b5)]['get'](_0x2df442[_0x43e4ac(0x22e)])||!![]);_0x2df442[_0x43e4ac(0x199)](_0x1a182d[_0x43e4ac(0x1ff)]['testObservability'],null)&&!helper[_0x43e4ac(0x1e6)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)])&&(process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]=process['env'][_0x43e4ac(0x252)]||_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x23b)]);const _0x344111=!helper[_0x43e4ac(0x1f1)](process[_0x43e4ac(0x19a)][_0x43e4ac(0x252)]);_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]&&(process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x43e4ac(0x21f)](_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x22b)]));let _0x3df341=![];_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]&&(_0x3df341=!![],process['env'][_0x43e4ac(0x1ce)]=_0x1a182d[_0x43e4ac(0x1ff)][_0x43e4ac(0x20d)]);const _0x3285ee=_0x17a154[_0x43e4ac(0x24c)](),_0x5bf7cd=await _0x2df442[_0x43e4ac(0x233)](getUserPlaywrightConfig,_0x542900,_0x17a154);if(helper[_0x43e4ac(0x1f9)](_0x5bf7cd)){_0x2df442[_0x43e4ac(0x24f)](spawnOriginalProcess,_0x3285ee);return;}const _0x5039b4=_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd[_0x43e4ac(0x214)]):process['cwd']();process[_0x43e4ac(0x19a)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x5039b4,await PerformanceTester['measureWrapper'](PerformanceEvents['SDK_POST_INITIALIZE'],async()=>{const _0x3b1897=_0x43e4ac;!BrowserstackCLI['getInstance']()[_0x3b1897(0x1a5)]()&&await TestHubHandler['launchBuild'](FRAMEWORKS['PLAYWRIGHT'],_0x1a182d),_0x344111&&_0x2df442[_0x3b1897(0x24f)](handleO11yRerun,_0x17a154);})();if(!BrowserstackCLI[_0x43e4ac(0x1a0)]()['isRunning']()){let _0xf26d6f=_0x2df442['tJqlE'](process[_0x43e4ac(0x19a)][_0x43e4ac(0x1ce)],_0x2df442[_0x43e4ac(0x230)]);_0xf26d6f=_0xf26d6f||_0x2df442[_0x43e4ac(0x24f)](checkAccessibilityPlatformConfig,_0x1a182d[_0x43e4ac(0x1ff)]),process[_0x43e4ac(0x19a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xf26d6f,_0xf26d6f&&_0x2df442[_0x43e4ac(0x24f)](setAccessibilityCapabilities,_0x1a182d[_0x43e4ac(0x1ff)]);}const _0x55ca9c=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x2df442[_0x43e4ac(0x208)]);fs['writeFileSync'](_0x55ca9c,helper[_0x43e4ac(0x1e5)](_0x1a182d[_0x43e4ac(0x1ff)])),process[_0x43e4ac(0x19a)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x55ca9c,helper['clearTempPWConfig']();let _0x22c670='';_0x2df442[_0x43e4ac(0x1a4)](helper[_0x43e4ac(0x1d6)](),constants[_0x43e4ac(0x223)][_0x43e4ac(0x221)])?_0x22c670=_0x2df442[_0x43e4ac(0x1ee)]:_0x22c670=_0x2df442['xAKSb'];let _0x465eaf='';if(helper[_0x43e4ac(0x21a)](_0x5bf7cd[_0x43e4ac(0x214)])){_0x465eaf=_0x43e4ac(0x1c0);const _0x160053=_0x22c670['split']('.');_0x160053[_0x2df442[_0x43e4ac(0x1b3)](_0x160053[_0x43e4ac(0x203)],0x1)]='ts',_0x22c670=_0x160053[_0x43e4ac(0x1c7)]('.'),logger[_0x43e4ac(0x205)](_0x2df442[_0x43e4ac(0x253)](_0x2df442[_0x43e4ac(0x23a)],_0x22c670));}else _0x465eaf=_0x43e4ac(0x22c);const _0x12ee3a=path[_0x43e4ac(0x1c7)](_0x5bf7cd['path']?path[_0x43e4ac(0x1b4)](_0x5bf7cd['path']):process[_0x43e4ac(0x248)](),_0x22c670);let _0xaad1ec=_0x5bf7cd[_0x43e4ac(0x214)]?_0x5bf7cd[_0x43e4ac(0x214)]:'';_0xaad1ec=_0x2df442[_0x43e4ac(0x1cd)](_0xaad1ec[_0x43e4ac(0x203)],0x0)?path['resolve'](_0xaad1ec):'',process[_0x43e4ac(0x19a)][_0x43e4ac(0x19f)]=_0xaad1ec;const _0x21a248=helper[_0x43e4ac(0x241)](_0x1a182d['config']),_0x1b726=helper['getNoProxy'](_0x1a182d[_0x43e4ac(0x1ff)]);logger[_0x43e4ac(0x205)]('Proxy\x20url\x20:\x20'+_0x21a248),logger['debug'](_0x43e4ac(0x1ed)+_0x1b726);_0x21a248&&(_0x465eaf=_0x2df442[_0x43e4ac(0x1fe)](_0x43e4ac(0x1b7)+_0x21a248+_0x43e4ac(0x1ba)+_0x1b726+_0x43e4ac(0x246),_0x465eaf));helper[_0x43e4ac(0x222)]({},_0x17a154),fs[_0x43e4ac(0x1fd)](_0x12ee3a,_0x465eaf),PerformanceTester[_0x43e4ac(0x210)](PerformanceEvents['SDK_SETUP']);const _0x300308=_0x2df442[_0x43e4ac(0x1ad)](spawn,_0x2df442['EftXE'],[_0x2df442[_0x43e4ac(0x238)],_0x2df442['tjmBj'],_0x2df442['CaVJA'],_0x12ee3a,..._0x17a154[_0x43e4ac(0x1df)](0x2)],{'shell':_0x2df442[_0x43e4ac(0x1d2)](process[_0x43e4ac(0x1ea)],_0x2df442['Gwagw']),'stdio':_0x2df442[_0x43e4ac(0x19d)],'cwd':process[_0x43e4ac(0x248)](),'env':Object[_0x43e4ac(0x1c2)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x43e4ac(0x212)](_0x542900),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1a182d['config'][_0x43e4ac(0x1b9)][_0x43e4ac(0x1b2)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1a182d[_0x43e4ac(0x1ff)]['testContextOptions'][_0x43e4ac(0x1af)],'BROWSERSTACK_LOG_LEVEL':_0x1a182d[_0x43e4ac(0x1ff)]['logLevel']})}),_0x57d5c1=()=>{const _0x10e732=_0x43e4ac;try{const _0x16b5ff=path[_0x10e732(0x1c7)](helper[_0x10e732(0x204)](),_0x4386d8['JRkrZ'],_0x4386d8[_0x10e732(0x202)]);if(fs['existsSync'](_0x16b5ff)){let _0xee7f1=fs[_0x10e732(0x1c5)](_0x16b5ff);_0xee7f1=JSON[_0x10e732(0x1db)](_0xee7f1),_0x1a182d['errorMessage']=_0xee7f1,fs['unlinkSync'](_0x16b5ff);}}catch(_0x44f520){logger[_0x10e732(0x205)](_0x4386d8[_0x10e732(0x23d)](_0x4386d8['zNdzy'],_0x44f520));}};_0x300308['on'](_0x2df442[_0x43e4ac(0x198)],async _0x2b11b4=>{const _0xc7ab01=_0x43e4ac;try{PerformanceTester[_0xc7ab01(0x225)](PerformanceEvents[_0xc7ab01(0x1cc)]),_0x4386d8[_0xc7ab01(0x1ac)](_0x57d5c1),await TestHubHandler[_0xc7ab01(0x1d9)](),await ClientTroubleShootingService[_0xc7ab01(0x236)](),await BrowserstackCLI['getInstance']()[_0xc7ab01(0x1d9)](),TestDetails['shutdown'](),_0x4386d8['XNRWb'](printBuildLink),await utilities[_0xc7ab01(0x1f7)](_0x1a182d),process[_0xc7ab01(0x237)]=_0x2b11b4,logger['debug']('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x2b11b4),logger[_0xc7ab01(0x23e)]('Deleting\x20'+_0x12ee3a),fs[_0xc7ab01(0x19c)](_0x12ee3a);fs['existsSync'](_0x55ca9c)&&(logger[_0xc7ab01(0x205)](_0xc7ab01(0x216)+_0x55ca9c),fs[_0xc7ab01(0x19c)](_0x55ca9c));const _0x16de28=fs[_0xc7ab01(0x24b)](path[_0xc7ab01(0x1c7)](helper[_0xc7ab01(0x204)](),_0x4386d8[_0xc7ab01(0x19b)]))['filter'](_0x1d08bf=>_0x1d08bf[_0xc7ab01(0x211)](_0xc7ab01(0x218)));_0x16de28[_0xc7ab01(0x1e7)](_0x349275=>{const _0x2866ec=_0xc7ab01;fs[_0x2866ec(0x19c)](path[_0x2866ec(0x1c7)](helper[_0x2866ec(0x204)](),_0x4386d8[_0x2866ec(0x19b)],_0x349275));});}catch(_0x43fb26){logger[_0xc7ab01(0x205)](_0x4386d8[_0xc7ab01(0x1ec)](_0x4386d8[_0xc7ab01(0x1d0)],_0x43fb26));}});})();}function a39_0x47b5(){const _0x521f9e=['skipSessionStatus','ZNjYG','dirname','cliConfig','--grep','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','setBrowserstackConfig','testContextOptions','\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','accessSync','../utils/clientTroubleshootingService','--config','zvkeJ','.browserstack','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','exports','assign','./accessibility-helper','../../helpers/test-observability/utils','readFileSync','Error\x20in\x20deleting\x20playwright\x20results','join','W_OK','../../helpers/BrowserStackSetup','BhDkL','../../helpers/testhub/testhubHandler','SDK_CLEANUP','bLnOF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','6eQnAdh','SUdJE','resolvedConfigFile','sArZt','Error\x20in\x20closing\x20playwright','BrowserStack\x20config\x20file\x20not\x20found.','KRYbd','getPackageType','SDK_PRE_INITIALIZE','child_process','stop','../../helpers/utilities','parse','Phjxe','bootstrap','validateRerunTestList','slice','../../helpers/performance/constants','inherit','vrpnE','indexOf','1139700OGcvLn','serializeToYamlString','isTrue','forEach','has','reportDotBrowserStackFolderNotAccessibleIssue','platform','BROWSERSTACK_AUTOMATION','ayACq','No\x20Proxy\x20:\x20','ZQAsQ','../utils/constants','automation','isFalse','winstonLogger','232072daDYVB','qfapR','aSwgr','120xLTXli','finalExecution','../../helpers/performance/performance-tester','isUndefined','sBFQd','npx','BROWSERSTACK_RERUN_TESTS','writeFileSync','BDXbU','config','close','apply','Vfmnh','length','homedir','debug','pqyUg','requirePWModule','yGVHc','playwright','../../helpers/accessibility-automation/helper','65NAQBbP','ozKHg','accessibility','9TitpPt','util','end','startsWith','getConfigPath','split','path','../v2/browserstackCLI','Deleting\x20','Updated\x20config\x20file\x20name\x20to\x20-\x20','trace_','iFkmN','isTypescriptProject','SzAmE','Error\x20in\x20getting\x20funnel\x20data\x20results','cOhoh','ushPX','stringify','splice','MODULE','filterBrowserstackArgs','PACKAGE_TYPE','1357759SBnuHA','start','EVENTS','nestedKeyValue','test','154506Sbzbzj','initialize','accessibilityOptions','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','findIndex','CjMKG','FwjZX','Pzpmd','AxZwe','../../helpers/logger','oKaTF','VZAbz','measureWrapper','reportFinalDetectionState','exitCode','ujTeJ','../../helpers/test-observability/constants','wwpbZ','testObservability','3282314ozjtpN','TpobT','info','push','VpKeq','getProxyUrl','existsSync','dLjWm','BROWSERSTACK_RERUN','MIIpv','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','Error\x20in\x20accessing\x20.browserstack\x20directory:\x20','cwd','DmXDi','SBTQp','readdirSync','concat','../../helpers/helper','3110DFhJQX','VfCsy','map','win32','BROWSERSTACK_TEST_OBSERVABILITY','YLzkb','--config=','wvNGW','iPaOG','env','JRkrZ','unlinkSync','GKgle','ERkYY','USER_CONFIG_DETAILS_PATH','getInstance','pw_result.json','HlxfE','525932vbmXCC','tJqlE','isRunning','getConfig','PLAYWRIGHT','playwright-browserstack-sdk.config.cjs','99DWcyZZ','--disable-test-observability','MCmZq','GQcns','YgCqi','filter','skipSessionName','error','390FcPdYZ'];a39_0x47b5=function(){return _0x521f9e;};return a39_0x47b5();}module[a39_0x43cca0(0x1c1)]=run;
|