browserstack-node-sdk 1.33.4 → 1.33.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/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/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.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/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.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.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/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-tester.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/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.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 a27_0x5dae2c=a27_0x3640;(function(_0xe8b280,_0x6f5adf){const _0x3eed31=a27_0x3640,_0x46e948=_0xe8b280();while(!![]){try{const _0x33343a=-parseInt(_0x3eed31(0x1aa))/0x1*(-parseInt(_0x3eed31(0x1be))/0x2)+-parseInt(_0x3eed31(0x185))/0x3*(parseInt(_0x3eed31(0x1cf))/0x4)+-parseInt(_0x3eed31(0x1e0))/0x5+parseInt(_0x3eed31(0x188))/0x6*(-parseInt(_0x3eed31(0x172))/0x7)+-parseInt(_0x3eed31(0x17f))/0x8+parseInt(_0x3eed31(0x186))/0x9+parseInt(_0x3eed31(0x1d2))/0xa*(parseInt(_0x3eed31(0x1d1))/0xb);if(_0x33343a===_0x6f5adf)break;else _0x46e948['push'](_0x46e948['shift']());}catch(_0x2b51d4){_0x46e948['push'](_0x46e948['shift']());}}}(a27_0x9dec,0xd4c5e));function a27_0x9dec(){const _0x1d6b41=['safari.options','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','oBRyV','isAccessibilityPlatform','mergeDeep','getGlobal','caps_','Modifying\x20webdriver\x20builder','capability','originalBuilder','ieOptions_','object','rVFTm','browserStackLogLevel','2oOidzL','Ucmai','wQiuy','__drivers','send','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','Proxy\x20set\x20to\x20','overrideExecute','RJYJf','../../../bin/utils/constants','session_','isBrowserstackInfra','quitCount_','HttpClient','getRequestOptions','../../../helpers/globals','__driversArray','rTVST','build','edgeOptions','1563308qbdJNN','syhHq','BLVdO','forEach','zSINs','NLIOY','KFvPX','ioIhe','lQEuW','ms:edgeOptions','../../../helpers/helper','get','winstonLogger','firefoxOptions_','newHubUrl','url_','setGlobal','4cOWAqh','set','30082107tzLPSS','10hBptAU','chromeOptions_','then','optimalHubUrl','ZPWgO','push','agent_','DfRnS','logLevel','getHttpAgent','overrideGet','QOqpd','yyQkz','proxyUrl','8103060ZBSLZU','storeOptimalHubUrl','goog:chromeOptions','chromeOptions','aVJOC','4|3|1|0|2|5','Builder','lgXNL','uEUmT','requireSeleniumWebdriver','se:ieOptions','getAccessibilityResults','capabilities_','889CpYFyk','proxySettings','updateHubUrl','tKxKV','proxy_','error','CmKdR','exports','erUWT','gTmdG','debug','DNsDw','safariOptions_','8215464eYloSe','BheJq','DBnlY','global','dCjof','../../../hubAllocationMethods','2354340ebPqXK','11053557lYspAR','/session','57750OwxTZh','../../../helpers/logger','setServer','CAPABILITY_KEY','__setBrowserOptions','isUndefined','sJIis','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','info','RXUzK','../accessibility-automation/helper','getAccessibilityResultsSummary','/wd/hub','eLHoa','__driver','setCapabilities','edgeOptions_','EESyE','setLogLevel','moz:firefoxOptions'];a27_0x9dec=function(){return _0x1d6b41;};return a27_0x9dec();}function a27_0x3640(_0x21ac8d,_0x10aea3){const _0x9dec44=a27_0x9dec();return a27_0x3640=function(_0x3640ac,_0x2dc26b){_0x3640ac=_0x3640ac-0x16e;let _0x39b4b9=_0x9dec44[_0x3640ac];return _0x39b4b9;},a27_0x3640(_0x21ac8d,_0x10aea3);}const logger=require(a27_0x5dae2c(0x189))[a27_0x5dae2c(0x1ca)],helper=require(a27_0x5dae2c(0x1c8)),constants=require(a27_0x5dae2c(0x1b3)),hubAllocator=require(a27_0x5dae2c(0x184)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a27_0x5dae2c(0x192)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a27_0x5dae2c(0x1b9)),modify=(_0x2546ee,_0x32020b=null,_0x20e6ff=![])=>{const _0x598504=a27_0x5dae2c,_0x13e2b8={'oBRyV':function(_0x2e5ae7,_0xa0ceae){return _0x2e5ae7!==_0xa0ceae;},'wQiuy':_0x598504(0x187),'EESyE':function(_0x175c2e,_0x164e99){return _0x175c2e!==_0x164e99;},'rTVST':function(_0x8095b2,_0x15aea8){return _0x8095b2+_0x15aea8;},'BLVdO':'https://','zSINs':_0x598504(0x194),'erUWT':_0x598504(0x1e2),'dCjof':_0x598504(0x1e3),'rVFTm':_0x598504(0x1c7),'NLIOY':_0x598504(0x1bd),'lgXNL':_0x598504(0x19b),'tKxKV':'firefoxOptions','KFvPX':_0x598504(0x19c),'DBnlY':_0x598504(0x16f),'uEUmT':'ieOptions','SPDyd':function(_0x1288af,_0x1becb7){return _0x1288af===_0x1becb7;},'Ucmai':_0x598504(0x1a7),'sJIis':'Setting\x20Browserstack\x20capabilities','eLHoa':function(_0xe42db5,_0x115ef9,_0x1a4f68){return _0xe42db5(_0x115ef9,_0x1a4f68);},'DNsDw':function(_0x3861c1,_0x3977bd){return _0x3861c1(_0x3977bd);},'gTmdG':function(_0x221589,_0x5ab989,_0x300c3f){return _0x221589(_0x5ab989,_0x300c3f);},'ioIhe':_0x598504(0x1d5),'QOqpd':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','wkPMX':_0x598504(0x1e5),'DfRnS':_0x598504(0x19f),'BheJq':function(_0x17466b){return _0x17466b();},'syhHq':function(_0x3f163a,_0x3b98d2){return _0x3f163a(_0x3b98d2);},'CmKdR':_0x598504(0x19d),'lQEuW':function(_0x18b467,_0x5344bc){return _0x18b467(_0x5344bc);},'iATpO':function(_0x7f28b8,_0x32e3f6){return _0x7f28b8!==_0x32e3f6;},'RCmSA':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ZPWgO':_0x598504(0x1a3)},_0x289b1e=helper['requireHttpClient']();let _0x34a8b8;try{_0x34a8b8=helper[_0x598504(0x16e)](),_0x34a8b8[_0x598504(0x1a5)]&&(_0x34a8b8[_0x598504(0x1e6)]=_0x34a8b8[_0x598504(0x1a5)]);}catch(_0x3e526f){return;}if(helper[_0x598504(0x1b5)]()){const _0xf13368={};_0xf13368[_0x598504(0x1da)]=_0x2546ee[_0x598504(0x1a9)],helper[_0x598504(0x19a)](_0xf13368,new Map(),new Map()),logger[_0x598504(0x190)](_0x13e2b8['RCmSA']),logger['debug'](_0x13e2b8[_0x598504(0x1d6)]);}class _0x1725ba extends _0x289b1e[_0x598504(0x1b7)]{[_0x598504(0x1ae)](_0x482c3a){const _0x1202b3=_0x598504;if(_0x13e2b8[_0x1202b3(0x19e)](_0x482c3a['path'],_0x13e2b8[_0x1202b3(0x1ac)])&&_0x13e2b8[_0x1202b3(0x199)](global[_0x1202b3(0x1cc)],''))try{global['newHubUrl']=_0x13e2b8['rTVST'](_0x13e2b8[_0x1202b3(0x1bb)](_0x13e2b8[_0x1202b3(0x1c0)],global[_0x1202b3(0x1cc)]),_0x13e2b8[_0x1202b3(0x1c2)]),this['options_']=hubAllocator[_0x1202b3(0x1b8)](global[_0x1202b3(0x1cc)]),logger[_0x1202b3(0x17c)]('New\x20hub\x20url\x20set\x20to\x20'+global['newHubUrl']),global[_0x1202b3(0x1cc)]='';}catch(_0x3289c0){logger[_0x1202b3(0x177)](_0x3289c0);}return super['send'](_0x482c3a);}}class _0x28e5b7 extends _0x34a8b8[_0x598504(0x1e6)]{['setServer'](){const _0x1b4be0=_0x598504;return this['url_']=helper['getHubUrl'](_0x2546ee),logger[_0x1b4be0(0x17c)]('Hub\x20url\x20set\x20to\x20'+this[_0x1b4be0(0x1cd)]),this;}[_0x598504(0x18c)](_0x360953){const _0x243ba6=_0x598504;let _0x42914c={};for(const _0x359444 in _0x360953){switch(_0x359444){case _0x13e2b8[_0x243ba6(0x17a)]:case _0x13e2b8[_0x243ba6(0x183)]:this['chromeOptions_']&&(_0x42914c=this[_0x243ba6(0x1d3)]['get'](this[_0x243ba6(0x1d3)][_0x243ba6(0x18b)])||{},this[_0x243ba6(0x1d3)][_0x243ba6(0x1d0)](this[_0x243ba6(0x1d3)][_0x243ba6(0x18b)],helper['mergeDeep'](_0x42914c,_0x360953[_0x359444])));break;case _0x13e2b8[_0x243ba6(0x1a8)]:case _0x13e2b8[_0x243ba6(0x1c3)]:this[_0x243ba6(0x198)]&&(_0x42914c=this[_0x243ba6(0x198)]['get'](this[_0x243ba6(0x198)]['CAPABILITY_KEY'])||{},this['edgeOptions_']['set'](this['edgeOptions_'][_0x243ba6(0x18b)],helper['mergeDeep'](_0x42914c,_0x360953[_0x359444])));break;case _0x13e2b8[_0x243ba6(0x1e7)]:case _0x13e2b8[_0x243ba6(0x175)]:this['firefoxOptions_']&&(_0x42914c=this[_0x243ba6(0x1cb)][_0x243ba6(0x1c9)](this[_0x243ba6(0x1cb)][_0x243ba6(0x18b)])||{},this['firefoxOptions_'][_0x243ba6(0x1d0)](this[_0x243ba6(0x1cb)][_0x243ba6(0x18b)],helper[_0x243ba6(0x1a0)](_0x42914c,_0x360953[_0x359444])));break;case _0x13e2b8[_0x243ba6(0x1c4)]:this['safariOptions_']&&(_0x42914c=this[_0x243ba6(0x17e)]['get'](this[_0x243ba6(0x17e)][_0x243ba6(0x18b)])||{},this[_0x243ba6(0x17e)][_0x243ba6(0x1d0)](this[_0x243ba6(0x17e)][_0x243ba6(0x18b)],helper[_0x243ba6(0x1a0)](_0x42914c,_0x360953[_0x359444])));break;case _0x13e2b8[_0x243ba6(0x181)]:case _0x13e2b8[_0x243ba6(0x1e8)]:this['ieOptions_']&&(_0x42914c=this[_0x243ba6(0x1a6)]['get'](this[_0x243ba6(0x1a6)][_0x243ba6(0x18b)])||{},this[_0x243ba6(0x1a6)]['set'](this['ieOptions_'][_0x243ba6(0x18b)],helper[_0x243ba6(0x1a0)](_0x42914c,_0x360953[_0x359444])));break;}}}['setCapabilities'](){const _0x43d155=_0x598504,_0x48287f={'aVJOC':function(_0x2f619c,_0x326062){return _0x13e2b8['SPDyd'](_0x2f619c,_0x326062);},'uOBLo':_0x13e2b8[_0x43d155(0x1ab)]};return logger[_0x43d155(0x17c)](_0x13e2b8[_0x43d155(0x18e)]),this[_0x43d155(0x18c)](_0x2546ee['capability']),Object['keys'](_0x2546ee[_0x43d155(0x1a4)])[_0x43d155(0x1c1)](_0x26d3f7=>{const _0x533ce1=_0x43d155,_0xbcb85e=this['capabilities_']['get'](_0x26d3f7);_0x48287f[_0x533ce1(0x1e4)](typeof _0xbcb85e,_0x48287f['uOBLo'])?this[_0x533ce1(0x171)][_0x533ce1(0x1d0)](_0x26d3f7,helper[_0x533ce1(0x1a0)](_0xbcb85e,_0x2546ee[_0x533ce1(0x1a4)][_0x26d3f7])):this['capabilities_'][_0x533ce1(0x1d0)](_0x26d3f7,_0x2546ee[_0x533ce1(0x1a4)][_0x26d3f7]);}),this;}[_0x598504(0x1bc)](){const _0x4edf7f=_0x598504,_0x31f023={};_0x31f023[_0x4edf7f(0x191)]=_0x13e2b8[_0x4edf7f(0x1c5)],_0x31f023[_0x4edf7f(0x1b2)]=_0x13e2b8[_0x4edf7f(0x1dd)];const _0x2c838e=_0x31f023;if(helper['isBrowserstackInfra']()){const _0x5da0a1=_0x13e2b8['wkPMX']['split']('|');let _0x2d390a=0x0;while(!![]){switch(_0x5da0a1[_0x2d390a++]){case'0':if(helper['isPacProxy'](_0x2546ee[_0x4edf7f(0x173)][_0x4edf7f(0x1df)]))this[_0x4edf7f(0x1d8)]=helper[_0x4edf7f(0x1db)](_0x2546ee[_0x4edf7f(0x173)][_0x4edf7f(0x1df)]);else _0x2546ee[_0x4edf7f(0x173)][_0x4edf7f(0x1df)]&&(this['proxy_']=_0x2546ee[_0x4edf7f(0x173)][_0x4edf7f(0x1df)],logger[_0x4edf7f(0x17c)](_0x4edf7f(0x1b0)+this[_0x4edf7f(0x176)]));continue;case'1':this[_0x4edf7f(0x197)]();continue;case'2':globals[_0x4edf7f(0x1a1)](_0x13e2b8['DfRnS'])&&(!_0x13e2b8['eLHoa'](setExtension,this,_0x2546ee)&&globals[_0x4edf7f(0x1ce)](_0x13e2b8[_0x4edf7f(0x1d9)],![]));continue;case'3':this[_0x4edf7f(0x18a)]();continue;case'4':_0x13e2b8[_0x4edf7f(0x180)](isAccessibilityAutomationSession)&&_0x13e2b8[_0x4edf7f(0x1bf)](setAccessibilityCapabilities,_0x2546ee);continue;case'5':logger[_0x4edf7f(0x17c)](_0x13e2b8[_0x4edf7f(0x178)]);continue;}break;}}const _0x3d786c=super[_0x4edf7f(0x1bc)]();return _0x3d786c[_0x4edf7f(0x1b4)][_0x4edf7f(0x1d4)](_0x1e2cbb=>{const _0x2ffe9a=_0x4edf7f;try{const _0x120f09=_0x1e2cbb[_0x2ffe9a(0x1a2)][_0x2ffe9a(0x1c9)](_0x2c838e[_0x2ffe9a(0x191)]);_0x120f09?(logger[_0x2ffe9a(0x17c)](_0x2ffe9a(0x1af)+_0x120f09),hubAllocator[_0x2ffe9a(0x174)](_0x120f09),helper[_0x2ffe9a(0x1e1)](_0x120f09)):logger[_0x2ffe9a(0x17c)](_0x2c838e[_0x2ffe9a(0x1b2)]);}catch(_0x49d89b){logger['debug'](_0x2ffe9a(0x18f)+_0x49d89b);}}),_0x3d786c[_0x4edf7f(0x1b6)]=0x0,_0x3d786c[_0x4edf7f(0x1d4)]&&_0x3d786c[_0x4edf7f(0x1d4)](_0x36137b=>{const _0x5c678b=_0x4edf7f,_0x1c6124={'yyQkz':function(_0x42d8b0,_0x83647e,_0x42aaf2){const _0x1bd6fc=a27_0x3640;return _0x13e2b8[_0x1bd6fc(0x195)](_0x42d8b0,_0x83647e,_0x42aaf2);}};_0x13e2b8['eLHoa'](overrideQuit,_0x36137b,_0x3d786c),_0x13e2b8[_0x5c678b(0x17d)](overrideTakeScreenshot,_0x36137b),helper[_0x5c678b(0x1dc)](_0x36137b,_0x2546ee),helper[_0x5c678b(0x1b1)](_0x36137b,_0x2546ee),_0x36137b[_0x5c678b(0x193)]=async()=>{return await _0x1c6124['yyQkz'](getAccessibilityResultsSummary,_0x36137b,global);},_0x36137b['getAccessibilityResults']=async()=>{const _0x14140b=_0x5c678b;return await _0x1c6124[_0x14140b(0x1de)](getAccessibilityResults,_0x36137b,global);};}),_0x3d786c['getAccessibilityResultsSummary']=async()=>{const _0x1b447e=_0x4edf7f;return await _0x13e2b8[_0x1b447e(0x195)](getAccessibilityResultsSummary,_0x3d786c,global);},_0x3d786c[_0x4edf7f(0x170)]=async()=>{const _0x3ce29e=_0x4edf7f;return await _0x13e2b8[_0x3ce29e(0x17b)](getAccessibilityResults,_0x3d786c,global);},_0x13e2b8['lQEuW'](overrideTakeScreenshot,_0x3d786c),_0x13e2b8[_0x4edf7f(0x1c6)](overrideQuit,_0x3d786c),helper[_0x4edf7f(0x1dc)](_0x3d786c,_0x2546ee),helper[_0x4edf7f(0x1b1)](_0x3d786c,_0x2546ee),helper[_0x4edf7f(0x18d)](global['__driversArray'])&&(global[_0x4edf7f(0x1ba)]=[]),helper[_0x4edf7f(0x18d)](global[_0x4edf7f(0x1ad)])&&(global[_0x4edf7f(0x1ad)]=[]),global[_0x4edf7f(0x1ba)][_0x4edf7f(0x1d7)](_0x3d786c),global[_0x4edf7f(0x196)]=_0x3d786c,_0x13e2b8[_0x4edf7f(0x199)](global['__drivers'],undefined)&&global['__drivers'][_0x4edf7f(0x1d7)](_0x3d786c),_0x32020b&&helper['isUndefined'](_0x32020b[_0x4edf7f(0x182)][_0x4edf7f(0x1ba)])&&(_0x32020b['global'][_0x4edf7f(0x1ba)]=[]),_0x32020b&&_0x13e2b8['iATpO'](_0x32020b[_0x4edf7f(0x182)][_0x4edf7f(0x1ad)],undefined)&&(_0x32020b['global'][_0x4edf7f(0x1ad)][_0x4edf7f(0x1d7)](_0x3d786c),_0x32020b[_0x4edf7f(0x182)][_0x4edf7f(0x1ba)]['push'](_0x3d786c)),_0x3d786c;}}return _0x34a8b8[_0x598504(0x1a5)]=_0x34a8b8['Builder'],_0x34a8b8[_0x598504(0x1e6)]=_0x28e5b7,_0x289b1e[_0x598504(0x1b7)]=_0x1725ba,_0x34a8b8;};module[a27_0x5dae2c(0x179)]['browserstackAgentObservability']=modify;
|
|
1
|
+
const a27_0x3aa7bf=a27_0x5c3a;function a27_0x5c3a(_0x2fc9df,_0x5b7df6){const _0x2a85e1=a27_0x2a85();return a27_0x5c3a=function(_0x5c3ab4,_0x6fbd6e){_0x5c3ab4=_0x5c3ab4-0xa2;let _0x58dafa=_0x2a85e1[_0x5c3ab4];return _0x58dafa;},a27_0x5c3a(_0x2fc9df,_0x5b7df6);}(function(_0x47a1cc,_0x25742d){const _0x2c4456=a27_0x5c3a,_0x4075d8=_0x47a1cc();while(!![]){try{const _0x446535=-parseInt(_0x2c4456(0xca))/0x1*(parseInt(_0x2c4456(0xf2))/0x2)+parseInt(_0x2c4456(0xf6))/0x3*(-parseInt(_0x2c4456(0x121))/0x4)+parseInt(_0x2c4456(0xc3))/0x5+-parseInt(_0x2c4456(0xd7))/0x6+parseInt(_0x2c4456(0xc1))/0x7+-parseInt(_0x2c4456(0xcc))/0x8+-parseInt(_0x2c4456(0x109))/0x9*(-parseInt(_0x2c4456(0xe0))/0xa);if(_0x446535===_0x25742d)break;else _0x4075d8['push'](_0x4075d8['shift']());}catch(_0x3b5c39){_0x4075d8['push'](_0x4075d8['shift']());}}}(a27_0x2a85,0xec430));const logger=require(a27_0x3aa7bf(0xb7))[a27_0x3aa7bf(0xb3)],helper=require(a27_0x3aa7bf(0x120)),constants=require(a27_0x3aa7bf(0xce)),hubAllocator=require(a27_0x3aa7bf(0x116)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x3aa7bf(0xf5)),{setAccessibilityCapabilities,setExtension}=require(a27_0x3aa7bf(0xee)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x3aa7bf(0xe7)),globals=require(a27_0x3aa7bf(0xbf)),modify=(_0x47a073,_0x293218=null,_0x253f82=![])=>{const _0x4f014a=a27_0x3aa7bf,_0x578f61={'STUgV':function(_0x2ccb8a,_0x420248){return _0x2ccb8a!==_0x420248;},'FZWOu':_0x4f014a(0xa3),'wokvl':function(_0x2d370f,_0x2817f1){return _0x2d370f!==_0x2817f1;},'jysvq':function(_0x28f445,_0x2951ed){return _0x28f445+_0x2951ed;},'adKBZ':function(_0x1945b8,_0x4723cf){return _0x1945b8+_0x4723cf;},'bFGLH':_0x4f014a(0xdc),'lgEXN':_0x4f014a(0x11b),'qfUFU':_0x4f014a(0xef),'YNavI':_0x4f014a(0xdd),'qxXHL':_0x4f014a(0xc7),'eWGFX':_0x4f014a(0xf0),'qNjvu':_0x4f014a(0xb0),'UdEWV':_0x4f014a(0xa7),'dPTbA':_0x4f014a(0xf7),'sAehe':'se:ieOptions','bJJhk':'ieOptions','FlgCA':function(_0x29b9de,_0x41194d){return _0x29b9de===_0x41194d;},'jkBkw':'object','bSEIi':_0x4f014a(0x10b),'PTfKi':function(_0xd3ca6e,_0x5d329c,_0xfea0f4){return _0xd3ca6e(_0x5d329c,_0xfea0f4);},'RxkoA':'optimalHubUrl','DOvEn':_0x4f014a(0x108),'ctLcM':function(_0x480d89,_0xa88f6,_0x40df2e){return _0x480d89(_0xa88f6,_0x40df2e);},'TXKtK':function(_0x41a4fa,_0x28b13f,_0x375a2f){return _0x41a4fa(_0x28b13f,_0x375a2f);},'OpfNN':_0x4f014a(0xe5),'laYiM':function(_0x1105ee,_0x42041d){return _0x1105ee(_0x42041d);},'jROYC':_0x4f014a(0xfb),'fQUDM':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','gkhnv':function(_0x7831a2){return _0x7831a2();},'HcxmY':function(_0x2b37dd,_0x3d1be9){return _0x2b37dd(_0x3d1be9);},'mZUxz':_0x4f014a(0xe6),'VrzEF':function(_0x2140ff,_0x50616e,_0x5f01e8){return _0x2140ff(_0x50616e,_0x5f01e8);},'zOWbZ':function(_0x313f69,_0x46aadc){return _0x313f69(_0x46aadc);},'dfcOx':function(_0x242bcc,_0x37ac63){return _0x242bcc(_0x37ac63);},'uRGJx':function(_0x1b3643,_0x1617d5){return _0x1b3643!==_0x1617d5;},'ouUGM':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','ufcVR':_0x4f014a(0xad)},_0x2e890e=helper[_0x4f014a(0xc5)]();let _0x5cb875;try{_0x5cb875=helper[_0x4f014a(0xe1)](),_0x5cb875[_0x4f014a(0x119)]&&(_0x5cb875['Builder']=_0x5cb875[_0x4f014a(0x119)]);}catch(_0x580191){return;}if(helper[_0x4f014a(0x10a)]()){const _0x4c15ee={};_0x4c15ee[_0x4f014a(0xf1)]=_0x47a073['browserStackLogLevel'],helper[_0x4f014a(0xc6)](_0x4c15ee,new Map(),new Map()),logger['info'](_0x578f61[_0x4f014a(0xf4)]),logger[_0x4f014a(0xaa)](_0x578f61[_0x4f014a(0x117)]);}class _0x5f1c1a extends _0x2e890e['HttpClient']{[_0x4f014a(0x122)](_0x59b5fd){const _0xa5815c=_0x4f014a;if(_0x578f61['STUgV'](_0x59b5fd[_0xa5815c(0xde)],_0x578f61[_0xa5815c(0x100)])&&_0x578f61[_0xa5815c(0x10e)](global[_0xa5815c(0x10f)],''))try{global['newHubUrl']=_0x578f61[_0xa5815c(0xd2)](_0x578f61[_0xa5815c(0x115)](_0x578f61[_0xa5815c(0x118)],global[_0xa5815c(0x10f)]),_0x578f61[_0xa5815c(0xcf)]),this[_0xa5815c(0xe4)]=hubAllocator[_0xa5815c(0xe2)](global['newHubUrl']),logger[_0xa5815c(0xaa)](_0xa5815c(0xa5)+global[_0xa5815c(0x10f)]),global[_0xa5815c(0x10f)]='';}catch(_0x5f047c){logger['error'](_0x5f047c);}return super[_0xa5815c(0x122)](_0x59b5fd);}}class _0x6c7150 extends _0x5cb875[_0x4f014a(0xf9)]{[_0x4f014a(0xd5)](){const _0x6ecc1=_0x4f014a;return this['url_']=helper[_0x6ecc1(0xfa)](_0x47a073),logger[_0x6ecc1(0xaa)](_0x6ecc1(0xd9)+this[_0x6ecc1(0xcd)]),this;}[_0x4f014a(0xb5)](_0xeb0c03){const _0xef3ef8=_0x4f014a;let _0x4a0855={};for(const _0x440cb8 in _0xeb0c03){switch(_0x440cb8){case _0x578f61[_0xef3ef8(0xb1)]:case _0x578f61[_0xef3ef8(0xa9)]:this['chromeOptions_']&&(_0x4a0855=this[_0xef3ef8(0xaf)][_0xef3ef8(0xf8)](this[_0xef3ef8(0xaf)]['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xaf)][_0xef3ef8(0x101)](this[_0xef3ef8(0xaf)]['CAPABILITY_KEY'],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0xed)]:case _0x578f61['eWGFX']:this[_0xef3ef8(0x11f)]&&(_0x4a0855=this[_0xef3ef8(0x11f)][_0xef3ef8(0xf8)](this[_0xef3ef8(0x11f)][_0xef3ef8(0xb2)])||{},this['edgeOptions_'][_0xef3ef8(0x101)](this[_0xef3ef8(0x11f)]['CAPABILITY_KEY'],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0x112)]:case _0x578f61[_0xef3ef8(0xd1)]:this[_0xef3ef8(0xf3)]&&(_0x4a0855=this[_0xef3ef8(0xf3)][_0xef3ef8(0xf8)](this['firefoxOptions_']['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xf3)][_0xef3ef8(0x101)](this[_0xef3ef8(0xf3)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0x110)]:this[_0xef3ef8(0x11d)]&&(_0x4a0855=this[_0xef3ef8(0x11d)]['get'](this[_0xef3ef8(0x11d)][_0xef3ef8(0xb2)])||{},this[_0xef3ef8(0x11d)]['set'](this[_0xef3ef8(0x11d)][_0xef3ef8(0xb2)],helper['mergeDeep'](_0x4a0855,_0xeb0c03[_0x440cb8])));break;case _0x578f61[_0xef3ef8(0xc4)]:case _0x578f61[_0xef3ef8(0xba)]:this[_0xef3ef8(0xe3)]&&(_0x4a0855=this[_0xef3ef8(0xe3)][_0xef3ef8(0xf8)](this['ieOptions_']['CAPABILITY_KEY'])||{},this[_0xef3ef8(0xe3)][_0xef3ef8(0x101)](this[_0xef3ef8(0xe3)][_0xef3ef8(0xb2)],helper[_0xef3ef8(0xa8)](_0x4a0855,_0xeb0c03[_0x440cb8])));break;}}}[_0x4f014a(0xae)](){const _0x4d925f=_0x4f014a;return logger[_0x4d925f(0xaa)](_0x578f61[_0x4d925f(0xb6)]),this[_0x4d925f(0xb5)](_0x47a073[_0x4d925f(0xfd)]),Object['keys'](_0x47a073['capability'])[_0x4d925f(0xe9)](_0x1a3764=>{const _0x1bfbb3=_0x4d925f,_0x2a9882=this[_0x1bfbb3(0x11c)][_0x1bfbb3(0xf8)](_0x1a3764);_0x578f61[_0x1bfbb3(0xc2)](typeof _0x2a9882,_0x578f61[_0x1bfbb3(0x10c)])?this[_0x1bfbb3(0x11c)][_0x1bfbb3(0x101)](_0x1a3764,helper['mergeDeep'](_0x2a9882,_0x47a073[_0x1bfbb3(0xfd)][_0x1a3764])):this[_0x1bfbb3(0x11c)][_0x1bfbb3(0x101)](_0x1a3764,_0x47a073[_0x1bfbb3(0xfd)][_0x1a3764]);}),this;}[_0x4f014a(0xfc)](){const _0x428305=_0x4f014a,_0x42137f={'tBIFF':_0x578f61['RxkoA'],'pqmAE':_0x578f61[_0x428305(0xa2)],'QumEo':function(_0x24a678,_0xbfda75,_0x50617f){const _0x4e126a=_0x428305;return _0x578f61[_0x4e126a(0xeb)](_0x24a678,_0xbfda75,_0x50617f);},'AZgEh':function(_0x35c14c,_0x3a8bff,_0x3b85c1){const _0xa626d5=_0x428305;return _0x578f61[_0xa626d5(0xab)](_0x35c14c,_0x3a8bff,_0x3b85c1);},'MJaKB':_0x578f61[_0x428305(0x114)],'pCuIE':function(_0xc49678,_0x101bbb){const _0x3cda3f=_0x428305;return _0x578f61[_0x3cda3f(0x106)](_0xc49678,_0x101bbb);}};if(helper[_0x428305(0x10a)]()){const _0x402d59=_0x578f61[_0x428305(0x107)]['split']('|');let _0x44e4fa=0x0;while(!![]){switch(_0x402d59[_0x44e4fa++]){case'0':if(helper[_0x428305(0xd6)](_0x47a073[_0x428305(0x124)][_0x428305(0xdb)]))this[_0x428305(0x111)]=helper[_0x428305(0xd3)](_0x47a073[_0x428305(0x124)][_0x428305(0xdb)]);else _0x47a073[_0x428305(0x124)][_0x428305(0xdb)]&&(this['proxy_']=_0x47a073['proxySettings'][_0x428305(0xdb)],logger['debug'](_0x428305(0x11e)+this['proxy_']));continue;case'1':this[_0x428305(0xae)]();continue;case'2':logger[_0x428305(0xaa)](_0x578f61[_0x428305(0xb8)]);continue;case'3':_0x578f61[_0x428305(0xbb)](isAccessibilityAutomationSession)&&_0x578f61[_0x428305(0xbe)](setAccessibilityCapabilities,_0x47a073);continue;case'4':this['setServer']();continue;case'5':globals[_0x428305(0xe8)](_0x578f61[_0x428305(0xc8)])&&(!_0x578f61[_0x428305(0xc9)](setExtension,this,_0x47a073)&&globals[_0x428305(0x123)](_0x578f61[_0x428305(0xc8)],![]));continue;}break;}}const _0x1a6c6e=super['build']();return _0x1a6c6e[_0x428305(0x11a)][_0x428305(0x102)](_0x4843e1=>{const _0x8d1dc7=_0x428305;try{const _0xe67a96=_0x4843e1[_0x8d1dc7(0xea)][_0x8d1dc7(0xf8)](_0x42137f['tBIFF']);_0xe67a96?(logger[_0x8d1dc7(0xaa)](_0x8d1dc7(0xa4)+_0xe67a96),hubAllocator[_0x8d1dc7(0xbc)](_0xe67a96),helper[_0x8d1dc7(0xbd)](_0xe67a96)):logger[_0x8d1dc7(0xaa)](_0x42137f[_0x8d1dc7(0xda)]);}catch(_0x3b8777){logger[_0x8d1dc7(0xaa)](_0x8d1dc7(0xd0)+_0x3b8777);}}),_0x1a6c6e[_0x428305(0x104)]=0x0,_0x1a6c6e[_0x428305(0x102)]&&_0x1a6c6e[_0x428305(0x102)](_0xcdedb5=>{const _0x240f3c=_0x428305,_0x30b1ad=_0x42137f[_0x240f3c(0xff)]['split']('|');let _0x3eab82=0x0;while(!![]){switch(_0x30b1ad[_0x3eab82++]){case'0':_0x42137f[_0x240f3c(0xd4)](overrideQuit,_0xcdedb5,_0x1a6c6e);continue;case'1':_0xcdedb5[_0x240f3c(0xb4)]=async()=>{return await _0x42137f['AZgEh'](getAccessibilityResults,_0xcdedb5,global);};continue;case'2':helper[_0x240f3c(0xb9)](_0xcdedb5,_0x47a073);continue;case'3':_0xcdedb5[_0x240f3c(0xc0)]=async()=>{return await _0x42137f['QumEo'](getAccessibilityResultsSummary,_0xcdedb5,global);};continue;case'4':_0x42137f['pCuIE'](overrideTakeScreenshot,_0xcdedb5);continue;case'5':helper[_0x240f3c(0xac)](_0xcdedb5,_0x47a073);continue;}break;}}),_0x1a6c6e[_0x428305(0xc0)]=async()=>{const _0x4dc8cf=_0x428305;return await _0x42137f[_0x4dc8cf(0xd4)](getAccessibilityResultsSummary,_0x1a6c6e,global);},_0x1a6c6e['getAccessibilityResults']=async()=>{return await _0x578f61['PTfKi'](getAccessibilityResults,_0x1a6c6e,global);},_0x578f61[_0x428305(0xfe)](overrideTakeScreenshot,_0x1a6c6e),_0x578f61['dfcOx'](overrideQuit,_0x1a6c6e),helper[_0x428305(0xb9)](_0x1a6c6e,_0x47a073),helper['overrideExecute'](_0x1a6c6e,_0x47a073),helper[_0x428305(0xcb)](global[_0x428305(0xd8)])&&(global['__driversArray']=[]),helper[_0x428305(0xcb)](global[_0x428305(0xec)])&&(global[_0x428305(0xec)]=[]),global['__driversArray'][_0x428305(0x113)](_0x1a6c6e),global[_0x428305(0x103)]=_0x1a6c6e,_0x578f61['wokvl'](global[_0x428305(0xec)],undefined)&&global[_0x428305(0xec)][_0x428305(0x113)](_0x1a6c6e),_0x293218&&helper[_0x428305(0xcb)](_0x293218[_0x428305(0xa6)][_0x428305(0xd8)])&&(_0x293218[_0x428305(0xa6)][_0x428305(0xd8)]=[]),_0x293218&&_0x578f61['uRGJx'](_0x293218[_0x428305(0xa6)][_0x428305(0xec)],undefined)&&(_0x293218[_0x428305(0xa6)][_0x428305(0xec)]['push'](_0x1a6c6e),_0x293218[_0x428305(0xa6)][_0x428305(0xd8)][_0x428305(0x113)](_0x1a6c6e)),_0x1a6c6e;}}return _0x5cb875[_0x4f014a(0x119)]=_0x5cb875[_0x4f014a(0xf9)],_0x5cb875[_0x4f014a(0xf9)]=_0x6c7150,_0x2e890e[_0x4f014a(0xdf)]=_0x5f1c1a,_0x5cb875;};module[a27_0x3aa7bf(0x10d)][a27_0x3aa7bf(0x105)]=modify;function a27_0x2a85(){const _0x1791f1=['firefoxOptions','mergeDeep','YNavI','debug','TXKtK','overrideExecute','Modifying\x20webdriver\x20builder','setCapabilities','chromeOptions_','moz:firefoxOptions','qfUFU','CAPABILITY_KEY','winstonLogger','getAccessibilityResults','__setBrowserOptions','bSEIi','../../../helpers/logger','fQUDM','overrideGet','bJJhk','gkhnv','updateHubUrl','storeOptimalHubUrl','HcxmY','../../../helpers/globals','getAccessibilityResultsSummary','9755599BfesZq','FlgCA','5381255obtbcd','sAehe','requireHttpClient','setLogLevel','ms:edgeOptions','mZUxz','VrzEF','1428574HuOvYa','isUndefined','15341880pzjCKw','url_','../../../bin/utils/constants','lgEXN','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','UdEWV','jysvq','getHttpAgent','AZgEh','setServer','isPacProxy','11125092lCnJKn','__driversArray','Hub\x20url\x20set\x20to\x20','pqmAE','proxyUrl','https://','chromeOptions','path','HttpClient','715940iQkVlU','requireSeleniumWebdriver','getRequestOptions','ieOptions_','options_','0|4|2|5|3|1','isAccessibilityPlatform','../../../helpers/accessibility-automation/helper','getGlobal','forEach','caps_','ctLcM','__drivers','qxXHL','../accessibility-automation/helper','goog:chromeOptions','edgeOptions','logLevel','2lMWbOs','firefoxOptions_','ouUGM','../../../helpers/patchHelpers','9PlROkB','safari.options','get','Builder','getHubUrl','3|4|1|0|5|2','build','capability','zOWbZ','MJaKB','FZWOu','set','then','__driver','quitCount_','browserstackAgentObservability','laYiM','jROYC','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','477OurEYg','isBrowserstackInfra','Setting\x20Browserstack\x20capabilities','jkBkw','exports','wokvl','newHubUrl','dPTbA','agent_','qNjvu','push','OpfNN','adKBZ','../../../hubAllocationMethods','ufcVR','bFGLH','originalBuilder','session_','/wd/hub','capabilities_','safariOptions_','Proxy\x20set\x20to\x20','edgeOptions_','../../../helpers/helper','128228NQRetf','send','setGlobal','proxySettings','DOvEn','/session','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','New\x20hub\x20url\x20set\x20to\x20','global'];a27_0x2a85=function(){return _0x1791f1;};return a27_0x2a85();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0x2926(_0x43f393,_0xfed38){const _0x49f8d3=a28_0x49f8();return a28_0x2926=function(_0x292607,_0x4c4427){_0x292607=_0x292607-0x1e3;let _0x149dec=_0x49f8d3[_0x292607];return _0x149dec;},a28_0x2926(_0x43f393,_0xfed38);}const a28_0x33579a=a28_0x2926;function a28_0x49f8(){const _0x3c1232=['9RbzQwL','timeout','3620940guedlk','1594248OProvN','3938fILlUI','61441gzqIks','90nuIlDT','../../../helpers/test-observability/utils','mochaHooks','restore','4uNzWJF','670110hexEOG','804CWDtaC','../../../helpers/request-spy','29772THFlUy','10kxXXOs','795819qWckuv'];a28_0x49f8=function(){return _0x3c1232;};return a28_0x49f8();}(function(_0x3e57c7,_0x4bcce7){const _0x1ea19d=a28_0x2926,_0x8a54d7=_0x3e57c7();while(!![]){try{const _0x2ce2c8=parseInt(_0x1ea19d(0x1ea))/0x1*(-parseInt(_0x1ea19d(0x1e3))/0x2)+-parseInt(_0x1ea19d(0x1e4))/0x3*(-parseInt(_0x1ea19d(0x1ef))/0x4)+parseInt(_0x1ea19d(0x1eb))/0x5*(-parseInt(_0x1ea19d(0x1f1))/0x6)+-parseInt(_0x1ea19d(0x1f0))/0x7+-parseInt(_0x1ea19d(0x1e8))/0x8*(parseInt(_0x1ea19d(0x1e5))/0x9)+-parseInt(_0x1ea19d(0x1e7))/0xa+parseInt(_0x1ea19d(0x1e9))/0xb*(parseInt(_0x1ea19d(0x1f3))/0xc);if(_0x2ce2c8===_0x4bcce7)break;else _0x8a54d7['push'](_0x8a54d7['shift']());}catch(_0x25fb46){_0x8a54d7['push'](_0x8a54d7['shift']());}}}(a28_0x49f8,0x2d97d));const requestSpy=require(a28_0x33579a(0x1f2)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x33579a(0x1ec));exports[a28_0x33579a(0x1ed)]={'beforeAll'(){const _0x4d0cb7={'lOCwV':function(_0x4ccf76){return _0x4ccf76();}},_0x555fd4='browserstack internal helper hook';_0x4d0cb7['lOCwV'](addRequestSpy);},'afterAll'(){const _0x300315=a28_0x33579a,_0x1d8061='browserstack internal helper hook';this[_0x300315(0x1e6)](0xea60),requestSpy[_0x300315(0x1ee)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x123c6c=a29_0x1337;function a29_0x425d(){const _0x333401=['zsCfD','TEST_PLATFORM','uuid','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','hook:','getTestEnv','jGAWM','getBrowserName','tpmjE','740192zLvXuk','app','../../../../package.json','getHookDetails','IJxUM','__cloud_provider___','HzOAC','bs:addPlatformDetails:','kvQVo','HGdgf','slice','fromEntries','generic','QNwBe','DnBQU','7pRrQaa','XGdHS','404487RZEOEB','HaHOi','sendPlatformDetails','OPdyS','string','NIMqb','hookAnalyticsId','kycbT','BULmg','../../../helpers/test-observability/constants','toJSON','reduce','194190yeyNpi','suites','../../../helpers/helper','indexOf','TRUwe','KXmAi','761781KgkxPG','SEREm','svDwO','WhPAI','filter','getHooksForTest','pending','pid','iDqXt','parent','hUgdV','concat','lyuVQ','eOqcK','split','keys','2410216cEJJyO','_afterEach','emit','gmBXt','getBrowserVersion','dLrib','toISOString','_afterAll','push','mapTestHooks','state','hook','ojUbI','tests','oBwsJ','js-','YuaLD','UAAoc','failed','3988962SDGdIN','Htrxp','132eKCUDK','QCfNs','getCapabilities','markedStatus','vuBTP','784716VmcJAG','forEach'];a29_0x425d=function(){return _0x333401;};return a29_0x425d();}(function(_0xbb651a,_0x58d031){const _0x3cba7c=a29_0x1337,_0x531d49=_0xbb651a();while(!![]){try{const _0x496e25=-parseInt(_0x3cba7c(0xce))/0x1+parseInt(_0x3cba7c(0xf8))/0x2+-parseInt(_0x3cba7c(0xbc))/0x3+parseInt(_0x3cba7c(0x103))/0x4+parseInt(_0x3cba7c(0xc8))/0x5*(parseInt(_0x3cba7c(0xf3))/0x6)+-parseInt(_0x3cba7c(0xba))/0x7*(parseInt(_0x3cba7c(0xde))/0x8)+parseInt(_0x3cba7c(0xf1))/0x9;if(_0x496e25===_0x58d031)break;else _0x531d49['push'](_0x531d49['shift']());}catch(_0x58f1b6){_0x531d49['push'](_0x531d49['shift']());}}}(a29_0x425d,0xa5535));function a29_0x1337(_0x538787,_0x1fa8ba){const _0x425dfb=a29_0x425d();return a29_0x1337=function(_0x1337a8,_0x1155ee){_0x1337a8=_0x1337a8-0xad;let _0x5e4501=_0x425dfb[_0x1337a8];return _0x5e4501;},a29_0x1337(_0x538787,_0x1fa8ba);}const {v4:uuidv4}=require(a29_0x123c6c(0xfc)),{name,version}=require(a29_0x123c6c(0xad)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require('../../utils/logReportingAPI'),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a29_0x123c6c(0xc5)),{getPlatformVersion}=require(a29_0x123c6c(0xca)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils');console={},Object[a29_0x123c6c(0xdd)](consoleHolder)[a29_0x123c6c(0xf9)](_0x1ee120=>{console[_0x1ee120]=(..._0x4b0924)=>{BSTestOpsPatcher[_0x1ee120](..._0x4b0924);};}),exports[a29_0x123c6c(0xff)]=()=>{const _0x3bb4d6=a29_0x123c6c,_0x23b90b={'bpHbf':_0x3bb4d6(0xb7),'FEkhA':function(_0x431a2c){return _0x431a2c();}};return{'ci':_0x23b90b['bpHbf'],'key':_0x23b90b['FEkhA'](uuidv4),'version':version,'collector':_0x3bb4d6(0xed)+name};},exports[a29_0x123c6c(0xae)]=_0x385f4a=>{const _0x5e1368=a29_0x123c6c,_0x5f0bdd={};_0x5f0bdd['kvQVo']=function(_0x390163,_0x23774c){return _0x390163!==_0x23774c;},_0x5f0bdd[_0x5e1368(0xd0)]=_0x5e1368(0xc0),_0x5f0bdd['HGdgf']=_0x5e1368(0xfe),_0x5f0bdd[_0x5e1368(0xf2)]=function(_0x25af23,_0x154a24){return _0x25af23!==_0x154a24;},_0x5f0bdd[_0x5e1368(0xdb)]='hook';const _0x335c7f=_0x5f0bdd;if(!_0x385f4a||_0x335c7f['kvQVo'](typeof _0x385f4a,_0x335c7f[_0x5e1368(0xd0)]))return[null,null];if(_0x335c7f[_0x5e1368(0xb3)](_0x385f4a[_0x5e1368(0xcb)](_0x335c7f[_0x5e1368(0xb4)]),-0x1)){const _0x2e4f7b=_0x385f4a[_0x5e1368(0xdc)](_0x335c7f[_0x5e1368(0xb4)]);return[_0x2e4f7b[0x0][_0x5e1368(0xb5)](0x0,-0x1)['split']('\x22')[0x1],_0x2e4f7b[0x1]['substring'](0x1)];}else{if(_0x335c7f[_0x5e1368(0xf2)](_0x385f4a[_0x5e1368(0xcb)](_0x335c7f[_0x5e1368(0xdb)]),-0x1)){const _0x7f417d=_0x385f4a[_0x5e1368(0xdc)](_0x335c7f[_0x5e1368(0xdb)]);return[_0x7f417d[0x0][_0x5e1368(0xb5)](0x0,-0x1)[_0x5e1368(0xdc)]('\x22')[0x1],_0x385f4a];}}return[null,null];},exports[a29_0x123c6c(0xd3)]=_0x14b303=>{const _0x2805f8=a29_0x123c6c,_0x1b56af={'jGAWM':function(_0x3ff0f4,_0x15330d){return _0x3ff0f4(_0x15330d);},'gmBXt':'_beforeAll','XGdHS':_0x2805f8(0xe5),'tpmjE':'_beforeEach','oBwsJ':_0x2805f8(0xdf)};if(!_0x14b303||!_0x14b303['parent'])return[];const _0x24c94e=[];return[_0x1b56af[_0x2805f8(0xe1)],_0x1b56af[_0x2805f8(0xbb)],_0x1b56af[_0x2805f8(0x102)],_0x1b56af[_0x2805f8(0xec)]][_0x2805f8(0xf9)](_0x7e37ba=>{const _0x127a0f=_0x2805f8,_0x3a8d28={'YuaLD':function(_0x24f0de,_0x50dc71){const _0x4725aa=a29_0x1337;return _0x1b56af[_0x4725aa(0x100)](_0x24f0de,_0x50dc71);}},_0x31b519=_0x14b303[_0x127a0f(0xd7)][_0x7e37ba]||[];_0x31b519['forEach'](_0x290497=>{const _0x18891a=_0x127a0f;_0x290497[_0x18891a(0xc2)]&&!_0x3a8d28[_0x18891a(0xee)](isInternalHook,_0x290497['fn'])&&_0x24c94e[_0x18891a(0xe6)](_0x290497['hookAnalyticsId']);});}),[..._0x24c94e,...exports[_0x2805f8(0xd3)](_0x14b303['parent'])];},exports[a29_0x123c6c(0xe7)]=_0x332bd9=>{const _0x514794=a29_0x123c6c,_0x499d71={'BULmg':function(_0x2cd3e0){return _0x2cd3e0();},'zsCfD':function(_0x24b09f,_0x28da28){return _0x24b09f===_0x28da28;},'lyuVQ':_0x514794(0xdf),'kycbT':function(_0xb88c2f){return _0xb88c2f();},'SEREm':'_beforeAll','koLiH':'_afterAll','NIMqb':'_beforeEach'};if(!_0x332bd9||!_0x332bd9[_0x514794(0xd7)])return;[_0x499d71[_0x514794(0xcf)],_0x499d71['koLiH'],_0x499d71[_0x514794(0xc1)],_0x499d71[_0x514794(0xda)]][_0x514794(0xf9)](_0x302f7c=>{const _0x1c8724=_0x514794,_0x482ae8={'vuBTP':function(_0x18fbdf){const _0x4c74b8=a29_0x1337;return _0x499d71[_0x4c74b8(0xc4)](_0x18fbdf);},'YtqFh':function(_0x49f6c8,_0x1af60d){const _0x500698=a29_0x1337;return _0x499d71[_0x500698(0xfa)](_0x49f6c8,_0x1af60d);},'QNwBe':_0x499d71[_0x1c8724(0xda)],'UAAoc':function(_0x3bff8d){const _0x4663ed=_0x1c8724;return _0x499d71[_0x4663ed(0xc3)](_0x3bff8d);}},_0x49c79d=_0x332bd9['parent'][_0x302f7c]||[];_0x49c79d[_0x1c8724(0xf9)](_0x29f79c=>{const _0x2f6ab0=_0x1c8724;if(!_0x29f79c[_0x2f6ab0(0xc2)])_0x29f79c[_0x2f6ab0(0xc2)]=_0x482ae8[_0x2f6ab0(0xf7)](uuidv4);else _0x29f79c[_0x2f6ab0(0xf6)]&&_0x482ae8['YtqFh'](_0x302f7c,_0x482ae8[_0x2f6ab0(0xb8)])&&(_0x29f79c['hookAnalyticsId']=_0x482ae8[_0x2f6ab0(0xef)](uuidv4),delete _0x29f79c[_0x2f6ab0(0xf6)]);});}),exports[_0x514794(0xe7)](_0x332bd9[_0x514794(0xd7)]);},exports[a29_0x123c6c(0xbe)]=async(_0x30b94a,_0x572e4e)=>{const _0x165829=a29_0x123c6c,_0x4be28a={'OPdyS':function(_0x114cc0){return _0x114cc0();},'IJxUM':function(_0x399425,_0x5cd1f5){return _0x399425===_0x5cd1f5;},'Yawsn':'browserstack','WhPAI':'appium:app','hUgdV':_0x165829(0x104),'TRUwe':'app-automate','aLdUE':'automate','HzOAC':function(_0x405306,_0x1207bd){return _0x405306(_0x1207bd);},'DnBQU':'unknown_grid','ojUbI':_0x165829(0xfb)};try{if(!_0x4be28a[_0x165829(0xbf)](shouldProcessEventForTesthub))return;const _0x400ea2=await _0x30b94a[_0x165829(0xf5)](),_0x3f6431=await _0x30b94a['getSession'](),_0x37b2c4={},_0x348b97=Object[_0x165829(0xb6)](_0x3f6431['getCapabilities']()['map_']),_0x48f5c7={'product':_0x4be28a[_0x165829(0xaf)](global[_0x165829(0xb0)],_0x4be28a['Yawsn'])?_0x348b97[_0x4be28a[_0x165829(0xd1)]]||_0x348b97[_0x4be28a[_0x165829(0xd8)]]?_0x4be28a[_0x165829(0xcc)]:_0x4be28a['aLdUE']:null,'capabilities':_0x348b97,'platform':_0x400ea2['getPlatform'](),'platform_version':_0x4be28a[_0x165829(0xb1)](getPlatformVersion,_0x4be28a[_0x165829(0xaf)](global[_0x165829(0xb0)],_0x4be28a['Yawsn'])),'browser':_0x400ea2[_0x165829(0x101)](),'browser_version':_0x400ea2[_0x165829(0xe2)](),'session_id':_0x3f6431[_0x165829(0xc6)]()};global[_0x165829(0xb0)]?_0x37b2c4[global[_0x165829(0xb0)]]=_0x48f5c7:_0x37b2c4[_0x4be28a[_0x165829(0xb9)]]=_0x48f5c7,process[_0x165829(0xe0)](_0x165829(0xb2)+process[_0x165829(0xd5)],{'timestamp':new Date()[_0x165829(0xe4)](),'level':null,'message':null,'kind':_0x4be28a[_0x165829(0xea)],'http_response':_0x37b2c4,'uuid':_0x572e4e});}catch(_0x5e16ee){_0x4be28a[_0x165829(0xb1)](debug,_0x165829(0xfd)+_0x5e16ee);}},exports['getHookSkippedTests']=_0x2bd354=>{const _0x15aa76=a29_0x123c6c,_0x868514={};_0x868514['okxhd']=function(_0x82e50e,_0x467d29){return _0x82e50e!==_0x467d29;},_0x868514[_0x15aa76(0xbd)]=_0x15aa76(0xe9),_0x868514[_0x15aa76(0xf4)]=function(_0x44aecc,_0x318bf2){return _0x44aecc!==_0x318bf2;},_0x868514[_0x15aa76(0xcd)]='passed',_0x868514[_0x15aa76(0xd6)]=function(_0x5f0166,_0x347a75){return _0x5f0166!==_0x347a75;},_0x868514[_0x15aa76(0xe3)]=_0x15aa76(0xf0);const _0x54911b=_0x868514,_0xb259d7=_0x2bd354[_0x15aa76(0xc9)][_0x15aa76(0xc7)]((_0x1cab97,_0x4d157d)=>{const _0x4bb92c=exports['getHookSkippedTests'](_0x4d157d);return _0x4bb92c&&(_0x1cab97=_0x1cab97['concat'](_0x4bb92c)),_0x1cab97;},[]),_0x414b22=_0x2bd354[_0x15aa76(0xeb)][_0x15aa76(0xd2)](_0x15f0ab=>{const _0x151e91=_0x15aa76,_0x125460=_0x54911b['okxhd'](_0x15f0ab['type'],_0x54911b[_0x151e91(0xbd)])&&!_0x15f0ab['markedStatus']&&_0x54911b[_0x151e91(0xf4)](_0x15f0ab[_0x151e91(0xe8)],_0x54911b[_0x151e91(0xcd)])&&_0x54911b[_0x151e91(0xd6)](_0x15f0ab[_0x151e91(0xe8)],_0x54911b[_0x151e91(0xe3)])&&!_0x15f0ab[_0x151e91(0xd4)];return _0x125460;});return _0x414b22[_0x15aa76(0xd9)](_0xb259d7);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a30_0x1455(_0x28db3e,_0x39d26f){const _0x30c294=a30_0x30c2();return a30_0x1455=function(_0x145509,_0x954582){_0x145509=_0x145509-0x1d6;let _0xe68e3a=_0x30c294[_0x145509];return _0xe68e3a;},a30_0x1455(_0x28db3e,_0x39d26f);}function a30_0x30c2(){const _0x2abca8=['BROWSERSTACK_TESTHUB_JWT','okDmE','BvWZp','length','now','percy','state','XIYDn','thTestRunUuid','nuAtx','WbMzV','EMmIF','wJgjc','AQyDb','__sessionFailed','vpSqv','YbVpk','3598900YSPRny','HWkdV','eQDyG','ENV_VAR','GtkDe','driverCleanup','titlePath','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Passed','ACqKd','testcase','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','initQuit','info','gRZsr','executeAsyncScript','\x20-\x20','getGlobal','message','9VJndPK','__drivers','percyCaptureMode','44qtMkpC','BROWSERSTACK_TESTHUB_UUID','674772doPxuR','saveTestResults','DkwuZ','appium:app','../../helpers/helper','59826RoBGgo','stringify','then','2171496apWIwp','PRPcA','hnTFX','executeScript','isArray','passed','goneb','pPXqZ','vRCiN','../../helpers/testhub/utils','Performing\x20scan\x20before\x20saving\x20results','OItVc','3gewWfl','763lnpMHQ','\x22}}','http:','timeout','WAdaN','xuGVx','winstonLogger','isAccessibilityPlatform','quitCount_','yjCTv','join','hjcAw','protocol','iRKdZ','mNrMJ','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','accessibilityScanStarted','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','startMonitoring','KIHRV','__error_messages__','../../helpers/testhub/constants','../../helpers/globals','debug','format','stopMonitoring','thJwtToken','IhHBu','bstackA11yShouldScan','shift','thBuildUuid','uRuLj','ZErHc','SBKjq','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','capabilities','flfYd','failed','env','RMuZT','session_','app','sessionNameSet__','5064610Sxacbh','ObservabilitySync:','https:','AXNWe','TybYE','../../helpers/accessibility-automation/scripts',',\x22level\x22:\x20\x22','1142704pzkVkL','../../helpers/test-observability/utils','push','2308870aeIVbl','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','LXrTn','shouldScanTestForAccessibility','testAnalyticsId','MPFOW','performScan','lZfcM','currentTest','../../helpers/logger','__skipSessionName','getCurrentUrl','fntIP','Failed:\x20','error','browserstackSessionName','./test-observability/mochaUtils'];a30_0x30c2=function(){return _0x2abca8;};return a30_0x30c2();}const a30_0x59ee79=a30_0x1455;(function(_0x34c9fe,_0x41dbeb){const _0x5ac4a9=a30_0x1455,_0x2cfa5d=_0x34c9fe();while(!![]){try{const _0x346394=-parseInt(_0x5ac4a9(0x224))/0x1+parseInt(_0x5ac4a9(0x22c))/0x2+-parseInt(_0x5ac4a9(0x238))/0x3*(-parseInt(_0x5ac4a9(0x20c))/0x4)+-parseInt(_0x5ac4a9(0x1e0))/0x5+-parseInt(_0x5ac4a9(0x229))/0x6*(-parseInt(_0x5ac4a9(0x239))/0x7)+parseInt(_0x5ac4a9(0x1e7))/0x8*(parseInt(_0x5ac4a9(0x21f))/0x9)+-parseInt(_0x5ac4a9(0x1ea))/0xa*(parseInt(_0x5ac4a9(0x222))/0xb);if(_0x346394===_0x41dbeb)break;else _0x2cfa5d['push'](_0x2cfa5d['shift']());}catch(_0x836eb0){_0x2cfa5d['push'](_0x2cfa5d['shift']());}}}(a30_0x30c2,0x93704));const util=require('util'),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a30_0x59ee79(0x1fa)),{isBrowserstackInfra,markSessionStatus}=require(a30_0x59ee79(0x228)),{isTestObservabilitySession}=require(a30_0x59ee79(0x1e8)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x59ee79(0x1e5)),globals=require(a30_0x59ee79(0x24f)),logger=require(a30_0x59ee79(0x1f3))[a30_0x59ee79(0x23f)],{shouldProcessEventForTesthub}=require(a30_0x59ee79(0x235)),testHubConstants=require(a30_0x59ee79(0x24e));exports['mochaHooks']={'beforeAll'(){const _0x2152dd=a30_0x59ee79,_0x227662={'fntIP':function(_0x57da80,_0x2ce555,_0x287b38,_0x55b015){return _0x57da80(_0x2ce555,_0x287b38,_0x55b015);},'YbVpk':_0x2152dd(0x1da),'lZfcM':'\x20|\x20','ACqKd':function(_0x16c532,_0x59e044,_0x52b09e){return _0x16c532(_0x59e044,_0x52b09e);},'SBKjq':'passed','nuAtx':function(_0x9349c1){return _0x9349c1();}};PerformanceTester[_0x2152dd(0x24b)]();const _0x15bdac='browserstack internal helper hook';global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x3caae0=_0x2152dd;let _0x464dea=![];try{await global[_0x3caae0(0x220)][0x0]['session_'],_0x464dea=!![],global['__sessionFailed']?await _0x227662[_0x3caae0(0x1f6)](markSessionStatus,global['__drivers'][0x0],_0x227662[_0x3caae0(0x20b)],global[_0x3caae0(0x24d)]['join'](_0x227662[_0x3caae0(0x1f1)])):await _0x227662['ACqKd'](markSessionStatus,global[_0x3caae0(0x220)][0x0],_0x227662[_0x3caae0(0x1d6)]);}catch(_0x1443f7){}global[_0x3caae0(0x24d)]=[],global[_0x3caae0(0x209)]=![];if(_0x464dea)try{try{_0x227662[_0x3caae0(0x204)](shouldProcessEventForTesthub)&&(global[_0x3caae0(0x220)][0x0]&&await _0x227662[_0x3caae0(0x215)](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x3caae0(0x1f2)][_0x3caae0(0x1ee)]:null));}catch{}await global[_0x3caae0(0x220)][0x0][_0x3caae0(0x218)]();}catch(_0x1c65d4){}};},'beforeEach'(_0x2749b5){const _0x13cf2d=a30_0x59ee79,_0x384d62={'okDmE':function(_0x1d8843,_0x39e532){return _0x1d8843>_0x39e532;},'iRKdZ':_0x13cf2d(0x21c),'gRZsr':function(_0x3f9fab,_0x568dcc,_0x4d26d5){return _0x3f9fab(_0x568dcc,_0x4d26d5);},'goneb':'bstackA11yShouldScan','AQyDb':function(_0x1a5abe){return _0x1a5abe();},'DkwuZ':function(_0x5444b9,_0x5506ca){return _0x5444b9>_0x5506ca;},'TybYE':_0x13cf2d(0x240),'vRCiN':function(_0xabe070,_0x9f75ce){return _0xabe070===_0x9f75ce;},'EMmIF':_0x13cf2d(0x23b),'RMuZT':function(_0x433aea,_0x4827e3){return _0x433aea===_0x4827e3;},'QNfzN':_0x13cf2d(0x1e2),'MPFOW':_0x13cf2d(0x217),'WAdaN':'Automate\x20test\x20case\x20execution\x20has\x20started.','wJgjc':function(_0x2aea77){return _0x2aea77();}};new Promise(async _0x226dc4=>{const _0x497280=_0x13cf2d,_0x1f9417='browserstack internal helper hook';let _0x269739=!![];try{_0x384d62[_0x497280(0x1fc)](global['__drivers'][_0x497280(0x1fe)],0x1)&&(await global[_0x497280(0x211)](),global['__drivers']['shift']()),_0x384d62[_0x497280(0x1fc)](global[_0x497280(0x220)][0x0][_0x497280(0x241)],0x0)&&(_0x269739=![],await global[_0x497280(0x211)]());}catch{}try{Array[_0x497280(0x230)](global['__drivers'])&&global[_0x497280(0x220)][0x0]&&(global[_0x497280(0x220)][0x0][_0x497280(0x1f9)]=this[_0x497280(0x1f2)][_0x497280(0x212)]()[_0x497280(0x243)](_0x384d62[_0x497280(0x246)])),global[_0x497280(0x1f9)]=this['currentTest'][_0x497280(0x212)]()[_0x497280(0x243)](_0x384d62['iRKdZ']);}catch(_0x275645){logger[_0x497280(0x250)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x275645);}this[_0x497280(0x1f2)][_0x497280(0x1ed)]=_0x384d62[_0x497280(0x21a)](shouldScanTestForAccessibility,this[_0x497280(0x1f2)][_0x497280(0x212)](),!![]),globals['setGlobal'](_0x384d62[_0x497280(0x232)],this['currentTest'][_0x497280(0x1ed)]),this['currentTest'][_0x497280(0x249)]=!![];if(_0x384d62[_0x497280(0x208)](isAccessibilityAutomationSession)&&_0x269739&&Array[_0x497280(0x230)](global[_0x497280(0x220)])&&_0x384d62[_0x497280(0x226)](global[_0x497280(0x220)]['length'],0x0)&&globals[_0x497280(0x21d)](_0x384d62[_0x497280(0x1e4)]))try{const _0x28ef77=await global[_0x497280(0x220)][0x0][_0x497280(0x1dd)];if(_0x28ef77){let _0x596c44=!![];const _0x1142cd=await global['__drivers'][0x0][_0x497280(0x1f5)]();let _0x3953ea;try{_0x3953ea=new URL(_0x1142cd);}catch(_0x5234d0){_0x596c44=![];}_0x596c44=_0x384d62[_0x497280(0x234)](_0x3953ea[_0x497280(0x245)],_0x384d62[_0x497280(0x206)])||_0x384d62[_0x497280(0x1dc)](_0x3953ea[_0x497280(0x245)],_0x384d62['QNfzN']),_0x596c44&&(this[_0x497280(0x1f2)][_0x497280(0x1ed)]&&logger['info'](_0x384d62[_0x497280(0x1ef)])),this['currentTest'][_0x497280(0x249)]=this[_0x497280(0x1f2)][_0x497280(0x1ed)],this[_0x497280(0x1f2)][_0x497280(0x1ed)]&&logger[_0x497280(0x219)](_0x384d62[_0x497280(0x23d)]);}}catch(_0x1d2b9f){logger[_0x497280(0x1f8)](_0x497280(0x24a)+util[_0x497280(0x251)](_0x1d2b9f));}_0x384d62[_0x497280(0x207)](_0x226dc4);})[_0x13cf2d(0x22b)](_0x2749b5);},'afterEach'(_0x45bfd4){const _0xa296ff=a30_0x59ee79,_0x186fcc={'xuGVx':function(_0x580e6e,_0x5c2828){return _0x580e6e>_0x5c2828;},'yjCTv':function(_0x58400b,_0x4e2d8b){return _0x58400b===_0x4e2d8b;},'mapHG':_0xa296ff(0x216),'flfYd':_0xa296ff(0x227),'WbMzV':function(_0x29bc5e,_0x40f40a,_0x350d59,_0x146416){return _0x29bc5e(_0x40f40a,_0x350d59,_0x146416);},'pPXqZ':'\x20-\x20','eQDyG':function(_0x5d97bb,_0x4785f8){return _0x5d97bb!==_0x4785f8;},'ZErHc':_0xa296ff(0x231),'BvWZp':function(_0x5cf1c2,_0x214e48,_0x14cbc7){return _0x5cf1c2(_0x214e48,_0x14cbc7);},'vpSqv':function(_0x1cdac6,_0x4c2385){return _0x1cdac6+_0x4c2385;},'PRPcA':_0xa296ff(0x1f7),'XIYDn':'error','GtkDe':_0xa296ff(0x214),'IhHBu':_0xa296ff(0x219),'hnTFX':_0xa296ff(0x240),'FThUT':_0xa296ff(0x255),'LXrTn':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','AXNWe':_0xa296ff(0x236),'HWkdV':_0xa296ff(0x213),'uRuLj':function(_0xe93e81){return _0xe93e81();},'OItVc':function(_0x2d7760,_0x2e4df6,_0xb5a3a0){return _0x2d7760(_0x2e4df6,_0xb5a3a0);},'hjcAw':'debug','mNrMJ':function(_0x4cac66,_0x242fa4){return _0x4cac66>_0x242fa4;}},_0x411ea0='browserstack internal helper hook';this[_0xa296ff(0x23c)](0xfde8);const _0x534d34=async(_0x5a0e6a,_0xaed8b4)=>{const _0x3d2141=_0xa296ff;await global[_0x3d2141(0x220)][0x0][_0x3d2141(0x22f)](_0x3d2141(0x1d7)+_0x5a0e6a+_0x3d2141(0x1e6)+_0xaed8b4+_0x3d2141(0x23a));};new Promise(async _0x202ccd=>{const _0x2d95cc=_0xa296ff;try{_0x186fcc[_0x2d95cc(0x23e)](global['__drivers'][_0x2d95cc(0x1fe)],0x1)&&(await global[_0x2d95cc(0x211)](),global[_0x2d95cc(0x220)][_0x2d95cc(0x256)](),global[_0x2d95cc(0x24d)]=[],global[_0x2d95cc(0x209)]=![]);try{if(global[_0x2d95cc(0x200)]&&_0x186fcc[_0x2d95cc(0x242)](global[_0x2d95cc(0x221)],_0x186fcc['mapHG'])&&global['__drivers'][0x0]){const _0x413a0f=_0x186fcc[_0x2d95cc(0x23e)](global[_0x2d95cc(0x1d8)]['length'],0x0)?!!global[_0x2d95cc(0x1d8)][0x0][_0x2d95cc(0x1de)]||!!global[_0x2d95cc(0x1d8)][0x0][_0x186fcc[_0x2d95cc(0x1d9)]]:![],_0x50a774={};_0x50a774[_0x2d95cc(0x1de)]=_0x413a0f,await _0x186fcc[_0x2d95cc(0x205)](percyAutoCapture,global[_0x2d95cc(0x220)][0x0],_0x186fcc['mapHG'],_0x50a774);}}catch(_0x4cc104){}!global[_0x2d95cc(0x1f4)]&&(await global[_0x2d95cc(0x220)][0x0][_0x2d95cc(0x22f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x2d95cc(0x1f2)]['titlePath']()[_0x2d95cc(0x243)](_0x186fcc[_0x2d95cc(0x233)]))+'}}'),global['__drivers'][0x0][_0x2d95cc(0x1df)]=!![]);const _0x58b11d=_0x186fcc[_0x2d95cc(0x20e)](this[_0x2d95cc(0x1f2)][_0x2d95cc(0x201)],_0x186fcc[_0x2d95cc(0x259)]);_0x58b11d?(global['__sessionFailed']=!![],global[_0x2d95cc(0x24d)][_0x2d95cc(0x1e9)](this[_0x2d95cc(0x1f2)]['err']['message']),await _0x186fcc[_0x2d95cc(0x1fd)](_0x534d34,JSON[_0x2d95cc(0x22a)](_0x186fcc[_0x2d95cc(0x20a)](_0x186fcc[_0x2d95cc(0x22d)],this['currentTest']['err'][_0x2d95cc(0x21e)])),_0x186fcc[_0x2d95cc(0x202)])):await _0x186fcc[_0x2d95cc(0x1fd)](_0x534d34,JSON[_0x2d95cc(0x22a)](_0x186fcc[_0x2d95cc(0x210)]),_0x186fcc[_0x2d95cc(0x254)]);}catch(_0xae4e1a){}try{if(this['currentTest'][_0x2d95cc(0x249)]&&globals['getGlobal'](_0x186fcc[_0x2d95cc(0x22e)])&&globals[_0x2d95cc(0x21d)](_0x186fcc['FThUT'])){logger[_0x2d95cc(0x219)](_0x186fcc[_0x2d95cc(0x1ec)]);const _0x5e6495={};_0x5e6495[_0x2d95cc(0x203)]=this[_0x2d95cc(0x1f2)][_0x2d95cc(0x1ee)],_0x5e6495[_0x2d95cc(0x257)]=process['env'][testHubConstants['ENV_VAR'][_0x2d95cc(0x223)]],_0x5e6495[_0x2d95cc(0x253)]=process[_0x2d95cc(0x1db)][testHubConstants[_0x2d95cc(0x20f)][_0x2d95cc(0x1fb)]];const _0x206187=_0x5e6495;logger[_0x2d95cc(0x250)](_0x2d95cc(0x1eb)+JSON['stringify'](_0x206187)),logger[_0x2d95cc(0x250)](_0x186fcc[_0x2d95cc(0x1e3)]),logger[_0x2d95cc(0x250)](util[_0x2d95cc(0x251)](await global[_0x2d95cc(0x220)][0x0][_0x2d95cc(0x21b)](scripts[_0x2d95cc(0x1f0)],{'method':global[_0x2d95cc(0x1f9)]}))),await global['__drivers'][0x0][_0x2d95cc(0x21b)](scripts[_0x2d95cc(0x225)],_0x206187),logger[_0x2d95cc(0x219)](_0x186fcc[_0x2d95cc(0x20d)]);}}catch(_0x2e6df4){logger[_0x2d95cc(0x1f8)](_0x2d95cc(0x248)+this[_0x2d95cc(0x1f2)][_0x2d95cc(0x212)]()+'.\x20Error\x20:',_0x2e6df4);}try{try{if(_0x186fcc[_0x2d95cc(0x258)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x186fcc[_0x2d95cc(0x237)](sendPlatformDetails,global[_0x2d95cc(0x220)][0x0],this[_0x2d95cc(0x1f2)]?this[_0x2d95cc(0x1f2)][_0x2d95cc(0x1ee)]:null);if(_0x186fcc[_0x2d95cc(0x258)](isBrowserstackInfra)){const _0x5386d7=_0x2d95cc(0x1e1)+Date[_0x2d95cc(0x1ff)]();await _0x186fcc[_0x2d95cc(0x1fd)](_0x534d34,JSON['stringify'](_0x5386d7),_0x186fcc[_0x2d95cc(0x244)]);}}}catch{}_0x186fcc[_0x2d95cc(0x247)](global[_0x2d95cc(0x220)][0x0][_0x2d95cc(0x241)],0x0)&&await global[_0x2d95cc(0x211)]();}catch(_0x320a01){}_0x186fcc[_0x2d95cc(0x258)](_0x202ccd);})['then'](()=>_0x45bfd4());},'afterAll'(_0x13f0ef){const _0x9f7ab1=a30_0x59ee79,_0x5079ac={'KIHRV':function(_0xe32faf){return _0xe32faf();}},_0x5d6ad7='browserstack internal helper hook';this[_0x9f7ab1(0x23c)](0xfde8),new Promise(async _0x14f395=>{const _0x191f63=_0x9f7ab1;PerformanceTester[_0x191f63(0x252)](),await global['driverCleanup'](),_0x5079ac[_0x191f63(0x24c)](_0x14f395);})[_0x9f7ab1(0x22b)](()=>_0x13f0ef());}};
|
|
1
|
+
function a30_0x3674(_0x50cedf,_0x1f9df0){const _0x6305c2=a30_0x6305();return a30_0x3674=function(_0x367410,_0x588c2f){_0x367410=_0x367410-0x174;let _0x2d73f6=_0x6305c2[_0x367410];return _0x2d73f6;},a30_0x3674(_0x50cedf,_0x1f9df0);}const a30_0x2f2a9d=a30_0x3674;(function(_0x10c7ce,_0x4a0e0a){const _0x18d198=a30_0x3674,_0x27f56a=_0x10c7ce();while(!![]){try{const _0x3fa4b3=-parseInt(_0x18d198(0x1db))/0x1*(-parseInt(_0x18d198(0x1a8))/0x2)+parseInt(_0x18d198(0x18e))/0x3+-parseInt(_0x18d198(0x19b))/0x4*(-parseInt(_0x18d198(0x1cf))/0x5)+parseInt(_0x18d198(0x1b7))/0x6+-parseInt(_0x18d198(0x1e8))/0x7+-parseInt(_0x18d198(0x1ca))/0x8+parseInt(_0x18d198(0x1c8))/0x9;if(_0x3fa4b3===_0x4a0e0a)break;else _0x27f56a['push'](_0x27f56a['shift']());}catch(_0x493b6b){_0x27f56a['push'](_0x27f56a['shift']());}}}(a30_0x6305,0x9164f));const util=require(a30_0x2f2a9d(0x1e7)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x2f2a9d(0x1b9)),{percyAutoCapture}=require(a30_0x2f2a9d(0x187)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x2f2a9d(0x1d2)),{isTestObservabilitySession}=require('../../helpers/test-observability/utils'),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x2f2a9d(0x1a0)),globals=require(a30_0x2f2a9d(0x1d6)),logger=require(a30_0x2f2a9d(0x186))[a30_0x2f2a9d(0x1df)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),testHubConstants=require('../../helpers/testhub/constants');exports[a30_0x2f2a9d(0x1cc)]={'beforeAll'(){const _0x4ed9d9=a30_0x2f2a9d,_0x5396fa={'qRmcO':function(_0xdc8ec1,_0x5848e1,_0x58a89b,_0x450b42){return _0xdc8ec1(_0x5848e1,_0x58a89b,_0x450b42);},'QOqcG':_0x4ed9d9(0x188),'pzlId':_0x4ed9d9(0x1c4),'JbIOt':function(_0x3aa4cd,_0x41986b,_0x542923){return _0x3aa4cd(_0x41986b,_0x542923);},'QvZwa':_0x4ed9d9(0x174),'wRSkF':function(_0x4577ee){return _0x4577ee();},'PbtSB':function(_0xa56ce,_0x2b7b69,_0x2a59e8){return _0xa56ce(_0x2b7b69,_0x2a59e8);}};PerformanceTester[_0x4ed9d9(0x192)]();const _0x56e81c='browserstack internal helper hook';global[_0x4ed9d9(0x1ab)]=[],global[_0x4ed9d9(0x181)]=![],global[_0x4ed9d9(0x193)]=async()=>{const _0x3ab0e6=_0x4ed9d9;let _0x23ad7f=![];try{await global[_0x3ab0e6(0x1b4)][0x0][_0x3ab0e6(0x18c)],_0x23ad7f=!![],global[_0x3ab0e6(0x181)]?await _0x5396fa[_0x3ab0e6(0x196)](markSessionStatus,global[_0x3ab0e6(0x1b4)][0x0],_0x5396fa[_0x3ab0e6(0x1d0)],global['__error_messages__'][_0x3ab0e6(0x1e1)](_0x5396fa[_0x3ab0e6(0x198)])):await _0x5396fa[_0x3ab0e6(0x1cb)](markSessionStatus,global['__drivers'][0x0],_0x5396fa[_0x3ab0e6(0x1c1)]);}catch(_0x3d4e2a){}global[_0x3ab0e6(0x1ab)]=[],global[_0x3ab0e6(0x181)]=![];if(_0x23ad7f)try{try{_0x5396fa[_0x3ab0e6(0x18b)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x5396fa[_0x3ab0e6(0x1d3)](sendPlatformDetails,global[_0x3ab0e6(0x1b4)][0x0],this['currentTest']?this[_0x3ab0e6(0x1b0)][_0x3ab0e6(0x1bc)]:null));}catch{}await global[_0x3ab0e6(0x1b4)][0x0]['initQuit']();}catch(_0x1a04ec){}};},'beforeEach'(_0x46611d){const _0x577ae0=a30_0x2f2a9d,_0x199f73={'ZgKHC':function(_0x2c9738,_0x1caeb8){return _0x2c9738>_0x1caeb8;},'YdRgY':_0x577ae0(0x1b5),'wlKUZ':function(_0x7b649e,_0x7abf41,_0x51a44a){return _0x7b649e(_0x7abf41,_0x51a44a);},'ssuyZ':'bstackA11yShouldScan','OfHDF':function(_0x4aafb8){return _0x4aafb8();},'FrGsX':function(_0x4581ef,_0x2c772a){return _0x4581ef>_0x2c772a;},'IMcjA':_0x577ae0(0x1a4),'WgucX':function(_0x4e7a55,_0x50411b){return _0x4e7a55===_0x50411b;},'keivl':_0x577ae0(0x1a7),'mDzaU':function(_0x3954a9,_0x250b87){return _0x3954a9===_0x250b87;},'kDhYz':_0x577ae0(0x17a),'wEwuO':_0x577ae0(0x17d),'aahlW':_0x577ae0(0x1b8)};new Promise(async _0x312339=>{const _0x4d9f93=_0x577ae0,_0xd0df77='browserstack internal helper hook';let _0x388d10=!![];try{_0x199f73[_0x4d9f93(0x19d)](global[_0x4d9f93(0x1b4)][_0x4d9f93(0x175)],0x1)&&(await global[_0x4d9f93(0x193)](),global[_0x4d9f93(0x1b4)][_0x4d9f93(0x1ae)]()),_0x199f73['ZgKHC'](global[_0x4d9f93(0x1b4)][0x0]['quitCount_'],0x0)&&(_0x388d10=![],await global['driverCleanup']());}catch{}try{Array[_0x4d9f93(0x17e)](global[_0x4d9f93(0x1b4)])&&global['__drivers'][0x0]&&(global['__drivers'][0x0][_0x4d9f93(0x1e5)]=this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1de)]()[_0x4d9f93(0x1e1)](_0x199f73[_0x4d9f93(0x1b6)])),global[_0x4d9f93(0x1e5)]=this['currentTest']['titlePath']()[_0x4d9f93(0x1e1)](_0x199f73[_0x4d9f93(0x1b6)]);}catch(_0x50fd0d){logger['debug'](_0x4d9f93(0x18d)+_0x50fd0d);}this['currentTest']['shouldScanTestForAccessibility']=_0x199f73[_0x4d9f93(0x17f)](shouldScanTestForAccessibility,this[_0x4d9f93(0x1b0)]['titlePath'](),!![]),globals[_0x4d9f93(0x18f)](_0x199f73['ssuyZ'],this[_0x4d9f93(0x1b0)]['shouldScanTestForAccessibility']),this[_0x4d9f93(0x1b0)][_0x4d9f93(0x17c)]=!![];if(_0x199f73['OfHDF'](isAccessibilityAutomationSession)&&_0x388d10&&Array[_0x4d9f93(0x17e)](global['__drivers'])&&_0x199f73[_0x4d9f93(0x1d5)](global[_0x4d9f93(0x1b4)][_0x4d9f93(0x175)],0x0)&&globals[_0x4d9f93(0x1a9)](_0x199f73['IMcjA']))try{const _0x56bbb2=await global[_0x4d9f93(0x1b4)][0x0][_0x4d9f93(0x18c)];if(_0x56bbb2){let _0x333681=!![];const _0x3df55b=await global['__drivers'][0x0]['getCurrentUrl']();let _0x2baf4d;try{_0x2baf4d=new URL(_0x3df55b);}catch(_0x4dda23){_0x333681=![];}_0x333681=_0x199f73[_0x4d9f93(0x183)](_0x2baf4d[_0x4d9f93(0x1d9)],_0x199f73['keivl'])||_0x199f73[_0x4d9f93(0x1cd)](_0x2baf4d[_0x4d9f93(0x1d9)],_0x199f73[_0x4d9f93(0x1a2)]),_0x333681&&(this['currentTest']['shouldScanTestForAccessibility']&&logger[_0x4d9f93(0x1d4)](_0x199f73[_0x4d9f93(0x1c6)])),this[_0x4d9f93(0x1b0)][_0x4d9f93(0x17c)]=this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1e0)],this[_0x4d9f93(0x1b0)][_0x4d9f93(0x1e0)]&&logger[_0x4d9f93(0x1d4)](_0x199f73['aahlW']);}}catch(_0x2347ff){logger[_0x4d9f93(0x1e6)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x4d9f93(0x1a1)](_0x2347ff));}_0x199f73[_0x4d9f93(0x1e3)](_0x312339);})[_0x577ae0(0x18a)](_0x46611d);},'afterEach'(_0x11b274){const _0x4c90e1=a30_0x2f2a9d,_0x14d549={'Zsdvq':function(_0x4e86d6,_0x34a5bf){return _0x4e86d6>_0x34a5bf;},'IRuUU':function(_0x22d95e,_0x3fd7a0){return _0x22d95e===_0x3fd7a0;},'jBIrg':_0x4c90e1(0x1e2),'Swukq':_0x4c90e1(0x1a3),'yfqBz':function(_0x456ddf,_0x3b1e25,_0x12569f,_0x2eda7c){return _0x456ddf(_0x3b1e25,_0x12569f,_0x2eda7c);},'xzFYp':_0x4c90e1(0x1b5),'hhKzA':function(_0x3e1ecb,_0x3f9e23){return _0x3e1ecb!==_0x3f9e23;},'omlWn':'passed','QyPkF':function(_0x29f633,_0x37054a,_0xe584e9){return _0x29f633(_0x37054a,_0xe584e9);},'aoTHx':function(_0x506ea7,_0x2bd22c){return _0x506ea7+_0x2bd22c;},'fBDAH':_0x4c90e1(0x1c9),'wJLbi':_0x4c90e1(0x1e6),'nKqJH':_0x4c90e1(0x195),'VTquC':_0x4c90e1(0x1d4),'lvzUn':_0x4c90e1(0x1a4),'McNmB':_0x4c90e1(0x1dd),'wHHIi':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','SgifU':_0x4c90e1(0x182),'proRh':_0x4c90e1(0x1e9),'Iiite':function(_0x55f455){return _0x55f455();},'rDXMb':function(_0x331820){return _0x331820();},'nLFuT':_0x4c90e1(0x184)},_0x7d8e7f='browserstack internal helper hook';this[_0x4c90e1(0x179)](0xfde8);const _0x1142f7=async(_0x3618ce,_0x12ae55)=>{const _0xa08f5e=_0x4c90e1;await global[_0xa08f5e(0x1b4)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x3618ce+',\x22level\x22:\x20\x22'+_0x12ae55+_0xa08f5e(0x19e));};new Promise(async _0x96f2c2=>{const _0xb5adce=_0x4c90e1;try{_0x14d549[_0xb5adce(0x1d7)](global[_0xb5adce(0x1b4)][_0xb5adce(0x175)],0x1)&&(await global[_0xb5adce(0x193)](),global[_0xb5adce(0x1b4)]['shift'](),global[_0xb5adce(0x1ab)]=[],global[_0xb5adce(0x181)]=![]);try{if(global[_0xb5adce(0x1da)]&&_0x14d549[_0xb5adce(0x177)](global[_0xb5adce(0x1ba)],_0x14d549['jBIrg'])&&global[_0xb5adce(0x1b4)][0x0]){const _0x4f4249=_0x14d549['Zsdvq'](global[_0xb5adce(0x190)][_0xb5adce(0x175)],0x0)?!!global[_0xb5adce(0x190)][0x0][_0xb5adce(0x1d8)]||!!global[_0xb5adce(0x190)][0x0][_0x14d549['Swukq']]:![],_0x12058b={};_0x12058b[_0xb5adce(0x1d8)]=_0x4f4249,await _0x14d549[_0xb5adce(0x197)](percyAutoCapture,global['__drivers'][0x0],_0x14d549[_0xb5adce(0x176)],_0x12058b);}}catch(_0x1b3629){}!global[_0xb5adce(0x1be)]&&(await global[_0xb5adce(0x1b4)][0x0]['executeScript'](_0xb5adce(0x1a5)+JSON['stringify'](this[_0xb5adce(0x1b0)][_0xb5adce(0x1de)]()['join'](_0x14d549[_0xb5adce(0x1c5)]))+'}}'),global[_0xb5adce(0x1b4)][0x0][_0xb5adce(0x1ad)]=!![]);const _0xbf9829=_0x14d549[_0xb5adce(0x1aa)](this[_0xb5adce(0x1b0)][_0xb5adce(0x185)],_0x14d549['omlWn']);_0xbf9829?(global[_0xb5adce(0x181)]=!![],global[_0xb5adce(0x1ab)][_0xb5adce(0x1c7)](this[_0xb5adce(0x1b0)]['err'][_0xb5adce(0x1a6)]),await _0x14d549[_0xb5adce(0x189)](_0x1142f7,JSON[_0xb5adce(0x1af)](_0x14d549[_0xb5adce(0x1dc)](_0x14d549[_0xb5adce(0x1ce)],this[_0xb5adce(0x1b0)][_0xb5adce(0x199)][_0xb5adce(0x1a6)])),_0x14d549['wJLbi'])):await _0x14d549[_0xb5adce(0x189)](_0x1142f7,JSON[_0xb5adce(0x1af)](_0x14d549[_0xb5adce(0x1c2)]),_0x14d549[_0xb5adce(0x1b2)]);}catch(_0x3f6c20){}try{if(this[_0xb5adce(0x1b0)]['accessibilityScanStarted']&&globals[_0xb5adce(0x1a9)](_0x14d549[_0xb5adce(0x1bb)])&&globals[_0xb5adce(0x1a9)](_0x14d549[_0xb5adce(0x178)])){logger[_0xb5adce(0x1d4)](_0x14d549[_0xb5adce(0x1b3)]);const _0x2bf1b6={};_0x2bf1b6[_0xb5adce(0x1ac)]=this[_0xb5adce(0x1b0)]['testAnalyticsId'],_0x2bf1b6[_0xb5adce(0x1c0)]=process['env'][testHubConstants[_0xb5adce(0x194)][_0xb5adce(0x180)]],_0x2bf1b6['thJwtToken']=process['env'][testHubConstants[_0xb5adce(0x194)]['BROWSERSTACK_TESTHUB_JWT']];const _0x23074e=_0x2bf1b6;logger[_0xb5adce(0x184)](_0xb5adce(0x1bd)+JSON['stringify'](_0x23074e)),logger['debug'](_0x14d549['SgifU']),logger[_0xb5adce(0x184)](util['format'](await global[_0xb5adce(0x1b4)][0x0]['executeAsyncScript'](scripts[_0xb5adce(0x1d1)],{'method':global[_0xb5adce(0x1e5)]}))),await global[_0xb5adce(0x1b4)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x23074e),logger[_0xb5adce(0x1d4)](_0x14d549[_0xb5adce(0x19c)]);}}catch(_0x28226c){logger[_0xb5adce(0x1e6)](_0xb5adce(0x17b)+this[_0xb5adce(0x1b0)][_0xb5adce(0x1de)]()+_0xb5adce(0x1e4),_0x28226c);}try{try{if(_0x14d549['Iiite'](shouldProcessEventForTesthub)){global[_0xb5adce(0x1b4)][0x0]&&await _0x14d549[_0xb5adce(0x189)](sendPlatformDetails,global['__drivers'][0x0],this[_0xb5adce(0x1b0)]?this['currentTest']['testAnalyticsId']:null);if(_0x14d549['rDXMb'](isBrowserstackInfra)){const _0x1fe547=_0xb5adce(0x19a)+Date[_0xb5adce(0x1b1)]();await _0x14d549['QyPkF'](_0x1142f7,JSON['stringify'](_0x1fe547),_0x14d549[_0xb5adce(0x191)]);}}}catch{}_0x14d549['Zsdvq'](global[_0xb5adce(0x1b4)][0x0][_0xb5adce(0x1c3)],0x0)&&await global[_0xb5adce(0x193)]();}catch(_0x37e9fa){}_0x14d549[_0xb5adce(0x19f)](_0x96f2c2);})['then'](()=>_0x11b274());},'afterAll'(_0x1b72cd){const _0x4ec344=a30_0x2f2a9d,_0x40dcbc={'ofzkG':function(_0x2616e5){return _0x2616e5();}},_0x30f21d='browserstack internal helper hook';this[_0x4ec344(0x179)](0xfde8),new Promise(async _0x22b89a=>{const _0x21596c=_0x4ec344;PerformanceTester[_0x21596c(0x1bf)](),await global[_0x21596c(0x193)](),_0x40dcbc['ofzkG'](_0x22b89a);})['then'](()=>_0x1b72cd());}};function a30_0x6305(){const _0x8409a3=['shift','stringify','currentTest','now','VTquC','wHHIi','__drivers','\x20-\x20','YdRgY','2469492tJWyDP','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/accessibility-automation/helper','percyCaptureMode','lvzUn','testAnalyticsId','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__skipSessionName','stopMonitoring','thBuildUuid','QvZwa','nKqJH','quitCount_','\x20|\x20','xzFYp','wEwuO','push','4993119jSDHxj','Failed:\x20','3096520ZtWVjt','JbIOt','mochaHooks','mDzaU','fBDAH','255TnGOPN','QOqcG','performScan','../../helpers/helper','PbtSB','info','FrGsX','../../helpers/globals','Zsdvq','app','protocol','percy','2843USoEqg','aoTHx','bstackA11yShouldScan','titlePath','winstonLogger','shouldScanTestForAccessibility','join','testcase','OfHDF','.\x20Error\x20:','browserstackSessionName','error','util','7934983auWFrZ','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','length','jBIrg','IRuUU','McNmB','timeout','https:','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','accessibilityScanStarted','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','isArray','wlKUZ','BROWSERSTACK_TESTHUB_UUID','__sessionFailed','Performing\x20scan\x20before\x20saving\x20results','WgucX','debug','state','../../helpers/logger','../../helpers/percy/utils','failed','QyPkF','then','wRSkF','session_','Failed\x20to\x20store\x20session\x20name:\x20','2804085FeOpJE','setGlobal','capabilities','nLFuT','startMonitoring','driverCleanup','ENV_VAR','Passed','qRmcO','yfqBz','pzlId','err','ObservabilitySync:','13080wgBuAF','proRh','ZgKHC','\x22}}','rDXMb','../../helpers/accessibility-automation/scripts','format','kDhYz','appium:app','isAccessibilityPlatform','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','message','http:','34gXbKuT','getGlobal','hhKzA','__error_messages__','thTestRunUuid','sessionNameSet__'];a30_0x6305=function(){return _0x8409a3;};return a30_0x6305();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';function a31_0x4d2d(){const _0x3640bd=['uwXLr','writeFileSync','splice','map','tqice','isUndefined','nightwatch.json','PFNfr','cwd','--env','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','NHaUZ','push','IKNuN','../../helpers/logger','env','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','iRPxj','URZBd','1611108EcqBCD','desiredCapabilities','mkEqQ','close','9016IugNyQ','stringify','length','existsSync','now','slice','cIrOl','path','28IqJDvT','nightwatch.cmd','child\x20process\x20exited\x20with\x20code\x20','Deleting\x20','test','useW3C','exports','10735668mLKvbF','filter','KKZKB','join','start_process','20wjGbwM','platforms','nightwatch.conf.js','port','691480JBfeqG','129919WsFeCu','forEach','6980404djVECe','875772qpxRTB','findIndex','inherit','trim','714KdqIFv','config','debug','info','host','GSryl','THoHg','Kddlo','winstonLogger','253JUJlrv','--config','test_settings','hub.browserstack.com','child_process','mergeDeep','xkeBB','../../helpers/BrowserStackSetup'];a31_0x4d2d=function(){return _0x3640bd;};return a31_0x4d2d();}const a31_0x57277d=a31_0x96d2;function a31_0x96d2(_0x15e6f0,_0x3dd047){const _0x4d2df1=a31_0x4d2d();return a31_0x96d2=function(_0x96d27f,_0x29f2d8){_0x96d27f=_0x96d27f-0x1b1;let _0xe3610f=_0x4d2df1[_0x96d27f];return _0xe3610f;},a31_0x96d2(_0x15e6f0,_0x3dd047);}(function(_0x262b28,_0x4ee137){const _0x7a86e4=a31_0x96d2,_0x56746f=_0x262b28();while(!![]){try{const _0x2086f0=-parseInt(_0x7a86e4(0x1d3))/0x1*(-parseInt(_0x7a86e4(0x1c2))/0x2)+parseInt(_0x7a86e4(0x1d6))/0x3+-parseInt(_0x7a86e4(0x1d5))/0x4+parseInt(_0x7a86e4(0x1ce))/0x5*(parseInt(_0x7a86e4(0x1b6))/0x6)+parseInt(_0x7a86e4(0x1da))/0x7*(-parseInt(_0x7a86e4(0x1ba))/0x8)+parseInt(_0x7a86e4(0x1c9))/0x9+-parseInt(_0x7a86e4(0x1d2))/0xa*(parseInt(_0x7a86e4(0x1e3))/0xb);if(_0x2086f0===_0x4ee137)break;else _0x56746f['push'](_0x56746f['shift']());}catch(_0x59b595){_0x56746f['push'](_0x56746f['shift']());}}}(a31_0x4d2d,0xe2617));const fs=require('fs'),path=require(a31_0x57277d(0x1c1)),{spawn}=require(a31_0x57277d(0x1e7)),logger=require(a31_0x57277d(0x1b1))[a31_0x57277d(0x1e2)],{default:BrowserStackSetup}=require(a31_0x57277d(0x1ea)),helper=require('../../helpers/helper'),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x1ddbb5,_0x35c8ea)=>{const _0x541d06=a31_0x57277d,_0x5be7db={'GSryl':_0x541d06(0x1d0),'uwXLr':_0x541d06(0x1f1),'URZBd':function(_0x385413,_0x4a1429){return _0x385413(_0x4a1429);},'cIrOl':_0x541d06(0x1b3)};let _0x41b0d5=null,_0x434031={};const _0x10e786=_0x35c8ea[_0x541d06(0x1d7)](_0x332a6b=>_0x332a6b==='--config');if(!helper[_0x541d06(0x1f0)](_0x1ddbb5[_0x541d06(0x1db)])&&fs[_0x541d06(0x1bd)](path[_0x541d06(0x1cc)](process['cwd'](),_0x1ddbb5['config'])))_0x41b0d5=path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x1ddbb5[_0x541d06(0x1db)]),_0x35c8ea[_0x541d06(0x1ed)](_0x10e786,0x2);else{if(fs[_0x541d06(0x1bd)](path[_0x541d06(0x1cc)](process['cwd'](),_0x5be7db['GSryl'])))_0x41b0d5=path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1df)]);else fs['existsSync'](path[_0x541d06(0x1cc)](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1eb)]))&&(_0x41b0d5=path['join'](process[_0x541d06(0x1f3)](),_0x5be7db[_0x541d06(0x1eb)]));}return _0x41b0d5?(logger[_0x541d06(0x1dd)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x41b0d5),_0x434031=_0x5be7db[_0x541d06(0x1b5)](require,_0x41b0d5)):logger[_0x541d06(0x1dd)](_0x5be7db[_0x541d06(0x1c0)]),_0x434031;},removeExistingEnvs=_0xe9ed63=>{const _0x3e52e9=a31_0x57277d,_0x350431={};_0x350431['PFNfr']=function(_0x50314d,_0x16f9a7){return _0x50314d>_0x16f9a7;};const _0x17e78f=_0x350431;let _0x3fd486=_0xe9ed63[_0x3e52e9(0x1d7)](_0xa8947d=>_0xa8947d===_0x3e52e9(0x1f4));_0x17e78f[_0x3e52e9(0x1f2)](_0x3fd486,-0x1)&&_0xe9ed63['splice'](_0x3fd486,0x2),_0x3fd486=_0xe9ed63[_0x3e52e9(0x1d7)](_0x243ed7=>_0x243ed7==='-e'),_0x17e78f[_0x3e52e9(0x1f2)](_0x3fd486,-0x1)&&_0xe9ed63[_0x3e52e9(0x1ed)](_0x3fd486,0x2);};function run(_0x490750,_0x255b57){const _0x29fbbc=a31_0x57277d,_0x15fbb9={'KKZKB':'nightwatch','tqice':function(_0x14db1f,_0x436c11){return _0x14db1f+_0x436c11;},'iRPxj':_0x29fbbc(0x1e5),'NHaUZ':function(_0x1c2c86,_0x59a951,_0x110991){return _0x1c2c86(_0x59a951,_0x110991);},'IKNuN':_0x29fbbc(0x1e6),'gCuOr':_0x29fbbc(0x1f5),'krQkI':function(_0x232348,_0x2b4470){return _0x232348===_0x2b4470;},'OsSlt':'nightwatch-browserstack.json','Kddlo':function(_0x411bdc,_0x47704d){return _0x411bdc(_0x47704d);},'THoHg':function(_0x33b77f,_0x52e331,_0x598a6c,_0x49c3fb){return _0x33b77f(_0x52e331,_0x598a6c,_0x49c3fb);},'stwxy':_0x29fbbc(0x1c3),'SZIgO':_0x29fbbc(0x1e4),'YZduP':'--env','xkeBB':_0x29fbbc(0x1d8),'mkEqQ':_0x29fbbc(0x1b9)},_0x30b3f1=new BrowserStackSetup(_0x490750);if(!_0x30b3f1[_0x29fbbc(0x1db)])return;const _0x210e30=_0x15fbb9[_0x29fbbc(0x1f6)](getUserNightwatchConfigs,_0x490750,_0x255b57),_0x592cd5={};_0x592cd5[_0x29fbbc(0x1cd)]=![];const _0x3e69cf={};_0x3e69cf[_0x29fbbc(0x1de)]=_0x15fbb9[_0x29fbbc(0x1f8)],_0x3e69cf[_0x29fbbc(0x1d1)]=0x1bb;const _0x4e507f={};_0x4e507f['webdriver']=_0x592cd5,_0x4e507f['selenium']=_0x3e69cf;const _0x335ae4=_0x4e507f;logger['info'](_0x15fbb9['gCuOr']);const _0x2d542e={..._0x210e30},_0x526498=_0x2d542e,_0x4cb699=helper[_0x29fbbc(0x1c7)](_0x30b3f1[_0x29fbbc(0x1db)]),_0x3a42d2=[];_0x30b3f1[_0x29fbbc(0x1db)][_0x29fbbc(0x1cf)][_0x29fbbc(0x1d4)]((_0x22138d,_0xe8d7)=>{const _0x1b7e6b=_0x29fbbc;_0x4cb699?_0x3a42d2['push'](helper['modifyBrowserStackW3CCaps'](_0x30b3f1['config'],_0x15fbb9[_0x1b7e6b(0x1cb)],_0xe8d7)):_0x3a42d2[_0x1b7e6b(0x1f7)](helper['modifyBrowserStackCaps'](_0x30b3f1[_0x1b7e6b(0x1db)],_0x15fbb9[_0x1b7e6b(0x1cb)],_0xe8d7));});const _0x3e7514={},_0x2ae066=[];_0x490750[_0x29fbbc(0x1b2)]=_0x490750[_0x29fbbc(0x1b2)]||_0x490750['e'];const _0x1ca7ac=_0x490750[_0x29fbbc(0x1b2)]?_0x490750['env'][_0x29fbbc(0x1d9)]()['split'](',')[_0x29fbbc(0x1ee)](_0x232d0a=>_0x232d0a[_0x29fbbc(0x1d9)]())[_0x29fbbc(0x1ca)](_0x358b59=>_0x358b59!==''):[''];_0x15fbb9['krQkI'](_0x1ca7ac[_0x29fbbc(0x1bc)],0x0)&&_0x1ca7ac[_0x29fbbc(0x1f7)]('');_0x1ca7ac['forEach'](_0x5a07f8=>{const _0x4b47c1=_0x29fbbc;_0x3a42d2[_0x4b47c1(0x1d4)](_0x5b76e9=>{const _0xe51781=_0x4b47c1;let _0x5e0ad5=_0x15fbb9[_0xe51781(0x1ef)](helper['getPlatformName'](_0x5b76e9,'_'),'_'+Date[_0xe51781(0x1be)]());_0x5a07f8&&(_0x5e0ad5+='_'+_0x5a07f8);if(_0x5a07f8&&(!_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]]||!_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]][_0x5a07f8]))return;const _0x4ab1a8={..._0x335ae4};_0x4ab1a8[_0xe51781(0x1b7)]=_0x5b76e9;const _0x14b82e=_0x4ab1a8;_0x3e7514[_0x5e0ad5]=_0x5a07f8?helper[_0xe51781(0x1e8)](_0x210e30[_0x15fbb9[_0xe51781(0x1b4)]][_0x5a07f8],_0x14b82e):_0x14b82e,_0x2ae066['push'](_0x5e0ad5);});});!_0x526498[_0x29fbbc(0x1e5)]&&(_0x526498[_0x29fbbc(0x1e5)]={});_0x526498[_0x29fbbc(0x1e5)]={..._0x526498[_0x29fbbc(0x1e5)],..._0x3e7514};const _0x4c1aa7=path[_0x29fbbc(0x1cc)](__dirname,_0x15fbb9['OsSlt']);fs[_0x29fbbc(0x1ec)](_0x4c1aa7,JSON[_0x29fbbc(0x1bb)](_0x526498)),_0x15fbb9[_0x29fbbc(0x1e1)](removeExistingEnvs,_0x255b57);const _0x17d854=_0x15fbb9[_0x29fbbc(0x1e0)](spawn,/^win/[_0x29fbbc(0x1c6)](process['platform'])?_0x15fbb9['stwxy']:_0x15fbb9['KKZKB'],[_0x15fbb9['SZIgO'],_0x4c1aa7,..._0x255b57[_0x29fbbc(0x1bf)](0x1),_0x15fbb9['YZduP'],_0x2ae066[_0x29fbbc(0x1cc)](',')],{'stdio':_0x15fbb9[_0x29fbbc(0x1e9)]});_0x17d854['on'](_0x15fbb9[_0x29fbbc(0x1b8)],async _0x535b79=>{const _0x5ce8e6=_0x29fbbc;logger[_0x5ce8e6(0x1dc)](_0x5ce8e6(0x1c4)+_0x535b79),logger[_0x5ce8e6(0x1dd)](_0x5ce8e6(0x1c5)+_0x4c1aa7),fs['unlinkSync'](_0x4c1aa7);});}module[a31_0x57277d(0x1c8)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x45de7a=a32_0x2007;(function(_0x2c92ce,_0x371c3a){const _0x1c72e8=a32_0x2007,_0x2c9044=_0x2c92ce();while(!![]){try{const _0x8309c6=-parseInt(_0x1c72e8(0x130))/0x1*(-parseInt(_0x1c72e8(0xf7))/0x2)+parseInt(_0x1c72e8(0x111))/0x3+-parseInt(_0x1c72e8(0x13b))/0x4+-parseInt(_0x1c72e8(0x11a))/0x5*(parseInt(_0x1c72e8(0x134))/0x6)+-parseInt(_0x1c72e8(0x140))/0x7+parseInt(_0x1c72e8(0x14c))/0x8+parseInt(_0x1c72e8(0x119))/0x9;if(_0x8309c6===_0x371c3a)break;else _0x2c9044['push'](_0x2c9044['shift']());}catch(_0x4925b2){_0x2c9044['push'](_0x2c9044['shift']());}}}(a32_0x6f59,0xec914));const util=require(a32_0x45de7a(0x143)),logger=require(a32_0x45de7a(0x10f))[a32_0x45de7a(0x133)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x6f59(){const _0x506a10=['testInfo','stringify','playwright-chromium','parse','TLHNz','PfbfK','wcagVersion','OFaCS','accessibilityOptions.includeIssueType.needsReview','ALaLh','ELEDB','needsReview','accessibilityOptions.scannerVersion','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','browserName','../../helpers/logger','tJyQH','282756vJiVxH','CJUkJ','uhuWG','rWxun','WebDriver','browserStackExecuteDriver','lmzIH','accessibilityOptions.authToken','29620854qlEMNZ','608315QoIJcT','DQGKP','connectOptions','deviceName','constructor','setAccessibilityCapabilities','BS_A11Y_JWT','SckoS','NihtI','tWqkR','format','scannerVersion','use','gyQNT','currentTest','error','nmeDH','browserstack.accessibility','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','chrome','getAccessibilityResultsSummary','zVkEp','171624VRCHkq','fVRUB','browser','winstonLogger','66jnqcTH','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','includeIssueType','FOaKM','replace','nEHGn','accessibilityOptions.includeIssueType.bestPractice','2504076IwuGBm','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','XlJkF','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','lHXfx','10553557SGJfzO','cOqQm','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','util','project','ssAHR','getAccessibilityResults','wsEndpoint','QibKU','IXora','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','warn','5697896YXnDpK','accessibilityOptions.wcagVersion','(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','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','bstackSdkArgs','fFxNr','jCXjl','gzwoa','browser_version','debug','evaluate','yqAhv','vaNup','latest','env','XMoCz','performScan','executeAsyncScript','browserStackEvaluate','4GhQDTD','Playwright','yDXvu','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gyyiv','accessibilityOptions','accessibilityPlatform'];a32_0x6f59=function(){return _0x506a10;};return a32_0x6f59();}function a32_0x2007(_0x2e00b1,_0x1af015){const _0x6f59a9=a32_0x6f59();return a32_0x2007=function(_0x20077f,_0x59e607){_0x20077f=_0x20077f-0xe5;let _0x258cb1=_0x6f59a9[_0x20077f];return _0x258cb1;},a32_0x2007(_0x2e00b1,_0x1af015);}exports['browserStackEvaluate']=async(_0x5193e5,_0x4f2b9b,_0x328129={})=>{const _0x17dea3=a32_0x45de7a,_0x9ee5b7={};_0x9ee5b7['leBMc']='bstackSdkArgs';const _0x261110=_0x9ee5b7;return await _0x5193e5[_0x17dea3(0xee)](_0x17dea3(0xe6)+_0x4f2b9b[_0x17dea3(0x138)](/arguments/g,_0x261110['leBMc'])+_0x17dea3(0xe7)+JSON[_0x17dea3(0xff)](_0x328129)+')');},exports[a32_0x45de7a(0x116)]=async(_0x3e4068,_0x3efc76,_0x38bb92={})=>{const _0x562792=a32_0x45de7a,_0x151db4={};_0x151db4[_0x562792(0x148)]=function(_0x4be9f2,_0x4891ce){return _0x4be9f2===_0x4891ce;},_0x151db4[_0x562792(0xeb)]=_0x562792(0x115),_0x151db4[_0x562792(0x102)]=_0x562792(0xf8),_0x151db4[_0x562792(0x123)]=_0x562792(0xe8);const _0x5270da=_0x151db4;if(_0x5270da[_0x562792(0x148)](_0x3e4068[_0x562792(0x11e)][_0x562792(0x10c)],_0x5270da[_0x562792(0xeb)]))return await _0x3e4068[_0x562792(0xf5)](_0x3efc76,_0x38bb92);else{if(_0x5270da['QibKU'](_0x3e4068['constructor'][_0x562792(0x10c)],_0x5270da[_0x562792(0x102)]))return await _0x3e4068['executeScript']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20'+_0x3efc76[_0x562792(0x138)](/arguments/g,_0x5270da[_0x562792(0x123)])+_0x562792(0x10b)+JSON[_0x562792(0xff)](_0x38bb92)+')');}},exports[a32_0x45de7a(0x11f)]=async _0x2d8427=>{const _0x27eb57=a32_0x45de7a,_0x503e31={};_0x503e31['Bndnp']=_0x27eb57(0xe5),_0x503e31[_0x27eb57(0x141)]='accessibilityOptions.scannerProcessingTimeout',_0x503e31[_0x27eb57(0x103)]=_0x27eb57(0x13a),_0x503e31['IXora']=_0x27eb57(0x106),_0x503e31[_0x27eb57(0x145)]=_0x27eb57(0x118),_0x503e31['tJyQH']=_0x27eb57(0x10a);const _0xbd48e7=_0x503e31;_0x2d8427[_0x27eb57(0xfc)]&&(_0x2d8427[_0x27eb57(0xfc)][_0x27eb57(0x104)]&&(_0x2d8427[_0xbd48e7['Bndnp']]=_0x2d8427[_0x27eb57(0xfc)]['wcagVersion']),_0x2d8427[_0x27eb57(0xfc)]['scannerProcessingTimeout']&&(_0x2d8427[_0xbd48e7[_0x27eb57(0x141)]]=_0x2d8427['accessibilityOptions']['scannerProcessingTimeout']),_0x2d8427[_0x27eb57(0xfc)][_0x27eb57(0x136)]&&(_0x2d8427[_0xbd48e7[_0x27eb57(0x103)]]=_0x2d8427[_0x27eb57(0xfc)][_0x27eb57(0x136)]['bestPractice'],_0x2d8427[_0xbd48e7[_0x27eb57(0x149)]]=_0x2d8427[_0x27eb57(0xfc)]['includeIssueType'][_0x27eb57(0x109)]));const _0x2662f6=JSON[_0x27eb57(0x101)](process[_0x27eb57(0xf2)][_0x27eb57(0x135)])[_0x27eb57(0x125)];_0x2d8427[_0xbd48e7[_0x27eb57(0x145)]]=process[_0x27eb57(0xf2)][_0x27eb57(0x120)],_0x2d8427[_0xbd48e7[_0x27eb57(0x110)]]=_0x2662f6,delete _0x2d8427[_0x27eb57(0xfc)];},exports[a32_0x45de7a(0x146)]=async _0x5eba9=>{const _0x50a5af=a32_0x45de7a,_0x5c9d37={};_0x5c9d37[_0x50a5af(0x107)]='No\x20accessibility\x20results\x20were\x20found.',_0x5c9d37['nEHGn']=_0x50a5af(0xfa);const _0x43f4a9=_0x5c9d37;if(global[_0x50a5af(0xfd)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x5eba9,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x5eba9,scripts.getResults);return res;}catch{return logger[_0x50a5af(0x129)](_0x43f4a9[_0x50a5af(0x107)]),[];}else return logger['warn'](_0x43f4a9[_0x50a5af(0x139)]),[];},exports[a32_0x45de7a(0xf4)]=async(_0x40e2d9,_0x46ce3f='')=>{const _0x1f7582=a32_0x45de7a;if(global[_0x1f7582(0xfd)]){const _0x21f388={};return _0x21f388['method']=_0x46ce3f,await exports[_0x1f7582(0xf6)](_0x40e2d9,scripts[_0x1f7582(0xf4)],_0x21f388);}},exports[a32_0x45de7a(0x12e)]=async _0x3cd15e=>{const _0xd595b6=a32_0x45de7a,_0x335530={};_0x335530[_0xd595b6(0x105)]='No\x20summaryResults\x20found.',_0x335530[_0xd595b6(0x108)]=_0xd595b6(0x12c);const _0x40968a=_0x335530;if(global[_0xd595b6(0xfd)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x3cd15e,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x3cd15e,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0xd595b6(0xed)](_0x40968a[_0xd595b6(0x105)]),{};}else return logger[_0xd595b6(0x14b)](_0x40968a[_0xd595b6(0x108)]),{};},exports['platformValidation']=async _0x29bdad=>{const _0x924b43=a32_0x45de7a,_0x1d6784={'JCkbA':function(_0x3d13c9,_0x14bc44){return _0x3d13c9!==_0x14bc44;},'uhuWG':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','fVRUB':function(_0x143d8b,_0x56a76b){return _0x143d8b===_0x56a76b;},'XMoCz':_0x924b43(0x12d),'nmeDH':function(_0x44cabb,_0x5ea895){return _0x44cabb===_0x5ea895;},'DQGKP':_0x924b43(0x100),'yDXvu':_0x924b43(0x10d),'fFxNr':function(_0x5f1936,_0x4e7ec0){return _0x5f1936(_0x4e7ec0);},'vaNup':_0x924b43(0xf1),'SckoS':function(_0x38a0bd,_0x5c86b5){return _0x38a0bd>_0x5c86b5;},'Efvzh':_0x924b43(0x13c)};try{if(!_0x1d6784['JCkbA'](_0x29bdad[_0x924b43(0x11d)],''))return logger['warn'](_0x1d6784[_0x924b43(0x113)]),![];const _0x4ab053=_0x29bdad[_0x924b43(0x132)];if(!(_0x1d6784[_0x924b43(0x131)](_0x4ab053,_0x1d6784[_0x924b43(0xf3)])||_0x1d6784[_0x924b43(0x12a)](_0x4ab053,_0x1d6784[_0x924b43(0x11b)])))return logger[_0x924b43(0x14b)](_0x1d6784[_0x924b43(0xf9)]),![];const _0x1c5002=_0x1d6784[_0x924b43(0xe9)](parseInt,_0x29bdad[_0x924b43(0xec)]);if(!(_0x1d6784['fVRUB'](_0x1c5002,_0x1d6784[_0x924b43(0xf0)])||_0x1d6784[_0x924b43(0x121)](_0x1c5002,0x5e)))return logger[_0x924b43(0x14b)](_0x1d6784['Efvzh']),![];}catch(_0x3e5318){logger[_0x924b43(0xed)](_0x924b43(0x142)+util['format'](_0x3e5318));}return!![];},exports['processAccessibilityCaps']=(_0x124934,_0x1d710d,_0x34616d)=>{const _0xae5475=a32_0x45de7a,_0x53378b={'yqAhv':function(_0x31bc65){return _0x31bc65();},'jCXjl':_0xae5475(0x12b),'lmzIH':function(_0x4d7491,_0x2a69d8){return _0x4d7491===_0x2a69d8;},'FOaKM':_0xae5475(0x12d),'gyQNT':'playwright-chromium','rWxun':_0xae5475(0x10d),'gyyiv':_0xae5475(0xf1),'XlJkF':function(_0x2bf8ea,_0x23b2e0){return _0x2bf8ea>_0x23b2e0;},'zVkEp':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','lHXfx':function(_0x55a3b5,_0x4e855f){return _0x55a3b5(_0x4e855f);},'NihtI':_0xae5475(0x14a),'CJUkJ':function(_0x4dc3b1,_0x502305){return _0x4dc3b1+_0x502305;}};try{if(_0x53378b[_0xae5475(0xef)](isAccessibilityAutomationSession)){global['accessibilityPlatform']=!![];!_0x124934[_0x53378b[_0xae5475(0xea)]]&&(global['accessibilityPlatform']=![]);!(_0x53378b[_0xae5475(0x117)](_0x124934[_0xae5475(0x10e)],_0x53378b[_0xae5475(0x137)])||_0x53378b[_0xae5475(0x117)](_0x124934[_0xae5475(0x10e)],_0x53378b[_0xae5475(0x127)]))&&(logger['warn'](_0x53378b[_0xae5475(0x114)]),global[_0xae5475(0xfd)]=![]);!(_0x53378b['lmzIH'](_0x124934[_0xae5475(0xec)],_0x53378b[_0xae5475(0xfb)])||_0x53378b[_0xae5475(0x13d)](_0x124934[_0xae5475(0xec)],0x5e))&&(logger['warn'](_0x53378b[_0xae5475(0x12f)]),global[_0xae5475(0xfd)]=![]);!_0x53378b['lHXfx'](isUndefined,_0x124934[_0xae5475(0x11d)])&&(logger[_0xae5475(0x14b)](_0x53378b[_0xae5475(0x122)]),global[_0xae5475(0xfd)]=![]);if(!global['accessibilityPlatform']){_0x124934[_0x53378b[_0xae5475(0xea)]]=![];const _0x2d0b38=_0x53378b[_0xae5475(0x112)](_0x1d710d,_0x53378b[_0xae5475(0x13f)](encodeURIComponent,JSON[_0xae5475(0xff)](_0x124934)));_0x34616d&&(_0x34616d[_0xae5475(0x128)][_0xae5475(0xfe)][_0xae5475(0x144)][_0xae5475(0x126)][_0xae5475(0x11c)][_0xae5475(0x147)]=_0x2d0b38);}}}catch(_0x18019e){logger[_0xae5475(0xed)](_0xae5475(0x13e)+util[_0xae5475(0x124)](_0x18019e));}};
|
|
1
|
+
const a32_0x42eead=a32_0x9a62;function a32_0x9a62(_0x556111,_0x2fae5e){const _0xde0d63=a32_0xde0d();return a32_0x9a62=function(_0x9a628c,_0x17b1fd){_0x9a628c=_0x9a628c-0x1a0;let _0x3d344a=_0xde0d63[_0x9a628c];return _0x3d344a;},a32_0x9a62(_0x556111,_0x2fae5e);}(function(_0x4ae935,_0x5b3da8){const _0x523212=a32_0x9a62,_0x35a56d=_0x4ae935();while(!![]){try{const _0x4c0a74=parseInt(_0x523212(0x1e6))/0x1+-parseInt(_0x523212(0x1c3))/0x2+-parseInt(_0x523212(0x1f4))/0x3*(parseInt(_0x523212(0x1cf))/0x4)+-parseInt(_0x523212(0x1c0))/0x5*(-parseInt(_0x523212(0x1f1))/0x6)+-parseInt(_0x523212(0x1b8))/0x7+parseInt(_0x523212(0x1d2))/0x8+-parseInt(_0x523212(0x1da))/0x9*(-parseInt(_0x523212(0x1ba))/0xa);if(_0x4c0a74===_0x5b3da8)break;else _0x35a56d['push'](_0x35a56d['shift']());}catch(_0x4765c5){_0x35a56d['push'](_0x35a56d['shift']());}}}(a32_0xde0d,0xc3593));const util=require(a32_0x42eead(0x1d9)),logger=require(a32_0x42eead(0x1c6))[a32_0x42eead(0x1bb)],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x42eead(0x1bd)),scripts=require(a32_0x42eead(0x1e1));exports[a32_0x42eead(0x1ce)]=async(_0x18ea5a,_0xe0e4f5,_0x373a18={})=>{const _0x1820cc=a32_0x42eead,_0xc9c181={};_0xc9c181[_0x1820cc(0x1f5)]=_0x1820cc(0x1e7);const _0x348e81=_0xc9c181;return await _0x18ea5a['evaluate'](_0x1820cc(0x1d0)+_0xe0e4f5[_0x1820cc(0x1db)](/arguments/g,_0x348e81[_0x1820cc(0x1f5)])+_0x1820cc(0x1cd)+JSON['stringify'](_0x373a18)+')');},exports[a32_0x42eead(0x1ca)]=async(_0x47448b,_0x5a075d,_0xfc0097={})=>{const _0x4b9f5b=a32_0x42eead,_0x43d559={};_0x43d559[_0x4b9f5b(0x1eb)]=function(_0x475c87,_0x16692a){return _0x475c87===_0x16692a;},_0x43d559['qIXoz']=_0x4b9f5b(0x1f8),_0x43d559['UAyHR']=function(_0x232c5e,_0x47f546){return _0x232c5e===_0x47f546;},_0x43d559[_0x4b9f5b(0x1a7)]=_0x4b9f5b(0x1f6),_0x43d559['aDcMQ']=_0x4b9f5b(0x1e7);const _0x567955=_0x43d559;if(_0x567955[_0x4b9f5b(0x1eb)](_0x47448b[_0x4b9f5b(0x1c8)]['name'],_0x567955[_0x4b9f5b(0x1e4)]))return await _0x47448b['executeAsyncScript'](_0x5a075d,_0xfc0097);else{if(_0x567955[_0x4b9f5b(0x1ae)](_0x47448b[_0x4b9f5b(0x1c8)][_0x4b9f5b(0x1c1)],_0x567955['tKxfa']))return await _0x47448b[_0x4b9f5b(0x1ef)](_0x4b9f5b(0x1e0)+_0x5a075d[_0x4b9f5b(0x1db)](/arguments/g,_0x567955[_0x4b9f5b(0x1cb)])+_0x4b9f5b(0x1cc)+JSON[_0x4b9f5b(0x1fa)](_0xfc0097)+')');}},exports[a32_0x42eead(0x201)]=async _0x2091d5=>{const _0x4c06e8=a32_0x42eead,_0x50714b={};_0x50714b['ZsnNC']=_0x4c06e8(0x1be),_0x50714b['tEbVX']=_0x4c06e8(0x1fc),_0x50714b[_0x4c06e8(0x1a4)]=_0x4c06e8(0x1b4),_0x50714b['yZBig']=_0x4c06e8(0x1d4),_0x50714b['Pzmtd']='accessibilityOptions.authToken',_0x50714b['tqOcF']='accessibilityOptions.scannerVersion';const _0x47e7e0=_0x50714b;_0x2091d5[_0x4c06e8(0x1b5)]&&(_0x2091d5[_0x4c06e8(0x1b5)]['wcagVersion']&&(_0x2091d5[_0x47e7e0['ZsnNC']]=_0x2091d5[_0x4c06e8(0x1b5)]['wcagVersion']),_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1d8)]&&(_0x2091d5[_0x47e7e0[_0x4c06e8(0x1dc)]]=_0x2091d5[_0x4c06e8(0x1b5)]['scannerProcessingTimeout']),_0x2091d5[_0x4c06e8(0x1b5)]['includeIssueType']&&(_0x2091d5[_0x47e7e0['RsRbS']]=_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1af)][_0x4c06e8(0x1fd)],_0x2091d5[_0x47e7e0[_0x4c06e8(0x1b6)]]=_0x2091d5[_0x4c06e8(0x1b5)][_0x4c06e8(0x1af)]['needsReview']));const _0x2ed63d=JSON[_0x4c06e8(0x1f0)](process[_0x4c06e8(0x1d5)][_0x4c06e8(0x1b9)])[_0x4c06e8(0x1a5)];_0x2091d5[_0x47e7e0['Pzmtd']]=process[_0x4c06e8(0x1d5)][_0x4c06e8(0x1bf)],_0x2091d5[_0x47e7e0['tqOcF']]=_0x2ed63d,delete _0x2091d5['accessibilityOptions'];},exports['getAccessibilityResults']=async _0x32cb9e=>{const _0xe06d52=a32_0x42eead,_0x5bffea={};_0x5bffea['PdvGf']=_0xe06d52(0x1bc),_0x5bffea[_0xe06d52(0x1fb)]=_0xe06d52(0x1b7);const _0x40043c=_0x5bffea;if(global[_0xe06d52(0x1a0)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x32cb9e,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x32cb9e,scripts.getResults);return res;}catch{return logger['error'](_0x40043c[_0xe06d52(0x1d3)]),[];}else return logger[_0xe06d52(0x1b3)](_0x40043c[_0xe06d52(0x1fb)]),[];},exports['performScan']=async(_0x568dac,_0x112fee='')=>{const _0x20a603=a32_0x42eead;if(global[_0x20a603(0x1a0)]){const _0xb38a42={};return _0xb38a42[_0x20a603(0x1e9)]=_0x112fee,await exports[_0x20a603(0x1ce)](_0x568dac,scripts[_0x20a603(0x202)],_0xb38a42);}},exports[a32_0x42eead(0x1aa)]=async _0x507080=>{const _0x57bfb2=a32_0x42eead,_0x1e482d={};_0x1e482d['JDRGk']='No\x20summaryResults\x20found.',_0x1e482d[_0x57bfb2(0x1b0)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.';const _0x177a22=_0x1e482d;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x507080,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x507080,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x57bfb2(0x1ac)](_0x177a22[_0x57bfb2(0x1d1)]),{};}else return logger[_0x57bfb2(0x1b3)](_0x177a22[_0x57bfb2(0x1b0)]),{};},exports[a32_0x42eead(0x1a8)]=async _0x29c6f6=>{const _0x513226=a32_0x42eead,_0x2dde28={'ABnsd':function(_0x59fcc3,_0x111522){return _0x59fcc3!==_0x111522;},'KpKfG':_0x513226(0x1f2),'cphey':function(_0x3f5d5b,_0x5e4f95){return _0x3f5d5b===_0x5e4f95;},'zluvk':_0x513226(0x1c7),'AwOVm':function(_0x5e7036,_0x546f07){return _0x5e7036===_0x546f07;},'PPEoJ':_0x513226(0x1d7),'tnuuW':_0x513226(0x1b2),'wjoLw':function(_0x43c50b,_0x13c51){return _0x43c50b(_0x13c51);},'FunYH':'latest','BJMfp':function(_0x3b7813,_0x7c23ec){return _0x3b7813>_0x7c23ec;},'CZGrT':_0x513226(0x1f9)};try{if(!_0x2dde28[_0x513226(0x1c9)](_0x29c6f6[_0x513226(0x1a9)],''))return logger[_0x513226(0x1b3)](_0x2dde28[_0x513226(0x1d6)]),![];const _0xfb33d9=_0x29c6f6[_0x513226(0x1de)];if(!(_0x2dde28[_0x513226(0x1b1)](_0xfb33d9,_0x2dde28[_0x513226(0x1ee)])||_0x2dde28[_0x513226(0x1a6)](_0xfb33d9,_0x2dde28[_0x513226(0x1c2)])))return logger[_0x513226(0x1b3)](_0x2dde28[_0x513226(0x1ec)]),![];const _0x372f19=_0x2dde28[_0x513226(0x1e3)](parseInt,_0x29c6f6[_0x513226(0x1c4)]);if(!(_0x2dde28[_0x513226(0x1b1)](_0x372f19,_0x2dde28['FunYH'])||_0x2dde28[_0x513226(0x200)](_0x372f19,0x5e)))return logger[_0x513226(0x1b3)](_0x2dde28['CZGrT']),![];}catch(_0x57f665){logger[_0x513226(0x1ac)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util['format'](_0x57f665));}return!![];},exports[a32_0x42eead(0x1c5)]=(_0x47d25d,_0x582582,_0x3fb389)=>{const _0x1ee1fc=a32_0x42eead,_0xfc11b0={'VQFTg':function(_0x118475){return _0x118475();},'rKTrD':'browserstack.accessibility','SEtrS':function(_0x5017e6,_0x401d61){return _0x5017e6===_0x401d61;},'VltFd':_0x1ee1fc(0x1c7),'hhLmb':'playwright-chromium','zxZIV':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','vHQNP':_0x1ee1fc(0x1ab),'zgwXi':function(_0x412475,_0x4604b0){return _0x412475>_0x4604b0;},'ZBtto':_0x1ee1fc(0x1f9),'nTdRl':function(_0x5e5e7f,_0x1a30f0){return _0x5e5e7f(_0x1a30f0);},'jVPNk':_0x1ee1fc(0x1f2),'jcqXC':function(_0x41e8fa,_0x253887){return _0x41e8fa+_0x253887;},'PXdOI':function(_0x3e273e,_0x583edb){return _0x3e273e(_0x583edb);}};try{if(_0xfc11b0[_0x1ee1fc(0x1a1)](isAccessibilityAutomationSession)){global[_0x1ee1fc(0x1a0)]=!![];!_0x47d25d[_0xfc11b0[_0x1ee1fc(0x1e5)]]&&(global['accessibilityPlatform']=![]);!(_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d[_0x1ee1fc(0x1ad)],_0xfc11b0['VltFd'])||_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d['browserName'],_0xfc11b0[_0x1ee1fc(0x1df)]))&&(logger['warn'](_0xfc11b0[_0x1ee1fc(0x1a3)]),global[_0x1ee1fc(0x1a0)]=![]);!(_0xfc11b0[_0x1ee1fc(0x1dd)](_0x47d25d[_0x1ee1fc(0x1c4)],_0xfc11b0[_0x1ee1fc(0x1fe)])||_0xfc11b0['zgwXi'](_0x47d25d[_0x1ee1fc(0x1c4)],0x5e))&&(logger[_0x1ee1fc(0x1b3)](_0xfc11b0['ZBtto']),global[_0x1ee1fc(0x1a0)]=![]);!_0xfc11b0[_0x1ee1fc(0x1ed)](isUndefined,_0x47d25d[_0x1ee1fc(0x1a9)])&&(logger['warn'](_0xfc11b0[_0x1ee1fc(0x1ea)]),global[_0x1ee1fc(0x1a0)]=![]);if(!global['accessibilityPlatform']){_0x47d25d[_0xfc11b0[_0x1ee1fc(0x1e5)]]=![];const _0x11f735=_0xfc11b0[_0x1ee1fc(0x1f3)](_0x582582,_0xfc11b0[_0x1ee1fc(0x1f7)](encodeURIComponent,JSON[_0x1ee1fc(0x1fa)](_0x47d25d)));_0x3fb389&&(_0x3fb389[_0x1ee1fc(0x1e2)][_0x1ee1fc(0x1a2)]['project']['use']['connectOptions'][_0x1ee1fc(0x1e8)]=_0x11f735);}}}catch(_0x2f0207){logger[_0x1ee1fc(0x1ac)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x1ee1fc(0x1ff)](_0x2f0207));}};function a32_0xde0d(){const _0x2f1954=['browserStackEvaluate','39428xBYjef','(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','JDRGk','9135920EUFcBL','PdvGf','accessibilityOptions.includeIssueType.needsReview','env','KpKfG','playwright-chromium','scannerProcessingTimeout','util','8429391xUXIZD','replace','tEbVX','SEtrS','browser','hhLmb','(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','../../helpers/accessibility-automation/scripts','currentTest','wjoLw','qIXoz','rKTrD','1024364cIkFoR','bstackSdkArgs','wsEndpoint','method','jVPNk','jsQCI','tnuuW','nTdRl','zluvk','executeScript','parse','2091522AcPQpz','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','jcqXC','411eBqnTx','BYtVQ','Playwright','PXdOI','WebDriver','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','stringify','WTiec','accessibilityOptions.scannerProcessingTimeout','bestPractice','vHQNP','format','BJMfp','setAccessibilityCapabilities','performScan','accessibilityPlatform','VQFTg','testInfo','zxZIV','RsRbS','scannerVersion','AwOVm','tKxfa','platformValidation','deviceName','getAccessibilityResultsSummary','latest','debug','browserName','UAyHR','includeIssueType','DJoEt','cphey','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','warn','accessibilityOptions.includeIssueType.bestPractice','accessibilityOptions','yZBig','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','5203793RgxGnJ','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','10qIZmrG','winstonLogger','No\x20accessibility\x20results\x20were\x20found.','../../helpers/helper','accessibilityOptions.wcagVersion','BS_A11Y_JWT','5WtyJjM','name','PPEoJ','1115170gXBPZM','browser_version','processAccessibilityCaps','../../helpers/logger','chrome','constructor','ABnsd','browserStackExecuteDriver','aDcMQ','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','\x0a\x20\x20\x20\x20})\x0a\x20\x20})('];a32_0xde0d=function(){return _0x2f1954;};return a32_0xde0d();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a33_0x5ec166=a33_0x4ae1;(function(_0x4bc737,_0x47e826){const _0x320ab7=a33_0x4ae1,_0x23c209=_0x4bc737();while(!![]){try{const _0x1ae44a=parseInt(_0x320ab7(0x219))/0x1*(-parseInt(_0x320ab7(0x1ee))/0x2)+parseInt(_0x320ab7(0x1a5))/0x3*(-parseInt(_0x320ab7(0x1b1))/0x4)+parseInt(_0x320ab7(0x1c0))/0x5*(parseInt(_0x320ab7(0x1dc))/0x6)+-parseInt(_0x320ab7(0x1db))/0x7*(-parseInt(_0x320ab7(0x23d))/0x8)+-parseInt(_0x320ab7(0x185))/0x9*(-parseInt(_0x320ab7(0x237))/0xa)+parseInt(_0x320ab7(0x1d4))/0xb*(parseInt(_0x320ab7(0x186))/0xc)+-parseInt(_0x320ab7(0x1a3))/0xd*(parseInt(_0x320ab7(0x23b))/0xe);if(_0x1ae44a===_0x47e826)break;else _0x23c209['push'](_0x23c209['shift']());}catch(_0x2c626b){_0x23c209['push'](_0x23c209['shift']());}}}(a33_0x20d1,0x495d9));const fs=require('fs'),path=require(a33_0x5ec166(0x1e3)),{spawn}=require(a33_0x5ec166(0x223)),{format}=require(a33_0x5ec166(0x1b2)),logger=require(a33_0x5ec166(0x1c5))[a33_0x5ec166(0x216)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x5ec166(0x187)),constants=require(a33_0x5ec166(0x19b)),{FRAMEWORKS}=require(a33_0x5ec166(0x198)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a33_0x5ec166(0x182)),{getFrameworkVersion}=require(a33_0x5ec166(0x23c)),{checkAccessibilityPlatformConfig}=require(a33_0x5ec166(0x224)),{setAccessibilityCapabilities}=require(a33_0x5ec166(0x183)),TestHubHandler=require(a33_0x5ec166(0x196)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils');function a33_0x4ae1(_0x4170d3,_0x1e8528){const _0x20d1f0=a33_0x20d1();return a33_0x4ae1=function(_0x4ae153,_0x4dd76e){_0x4ae153=_0x4ae153-0x17b;let _0x4aa194=_0x20d1f0[_0x4ae153];return _0x4aa194;},a33_0x4ae1(_0x4170d3,_0x1e8528);}async function requireOrImportDefaultObject(_0x2e434d){const _0x34ecdb=a33_0x5ec166,_0x10056f={'NFnIl':function(_0xd8f3a2){return _0xd8f3a2();},'JPRnT':function(_0x37ec55,_0x19bba4){return _0x37ec55(_0x19bba4);},'todTz':function(_0x26b82c,_0x548c17){return _0x26b82c===_0x548c17;},'qvcRv':_0x34ecdb(0x214),'ojULd':function(_0xe8e2c1,_0x11ee1b){return _0xe8e2c1 in _0x11ee1b;},'izmIG':_0x34ecdb(0x1ef)},{requireOrImport:_0x1c4699}=helper['requirePWModule'][_0x34ecdb(0x1d7)](null,_0x10056f[_0x34ecdb(0x245)](getTransformPath));let _0x5749d7=await _0x10056f[_0x34ecdb(0x22d)](_0x1c4699,_0x2e434d);return _0x5749d7&&_0x10056f[_0x34ecdb(0x189)](typeof _0x5749d7,_0x10056f[_0x34ecdb(0x1b3)])&&_0x10056f[_0x34ecdb(0x1d8)](_0x10056f[_0x34ecdb(0x1f0)],_0x5749d7)&&(_0x5749d7=_0x5749d7[_0x10056f[_0x34ecdb(0x1f0)]]),_0x5749d7;}const getUserPlaywrightConfig=async(_0x341028,_0x42873f)=>{const _0xe5c71e=a33_0x5ec166,_0xcb5755={'uaEuw':function(_0x381c18){return _0x381c18();},'AFOus':function(_0x355ecb,_0x26a63c){return _0x355ecb(_0x26a63c);},'ddNrj':_0xe5c71e(0x1d9),'kkqWm':function(_0x2ee54c,_0xf93154){return _0x2ee54c(_0xf93154);},'HFqwf':function(_0x436cee,_0x232528){return _0x436cee+_0x232528;},'ClYij':_0xe5c71e(0x1fc),'LFtyJ':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','sHAqW':_0xe5c71e(0x1ca)},_0x4ed256=!helper[_0xe5c71e(0x1e6)](_0x341028[_0xe5c71e(0x1bb)]),_0x145c4e=_0x4ed256?path[_0xe5c71e(0x1fa)](process['cwd'](),_0x341028[_0xe5c71e(0x1bb)]):process[_0xe5c71e(0x1e7)](),{resolveConfigFile:_0x4ff556,resolveConfigLocation:_0x313699}=helper[_0xe5c71e(0x209)][_0xe5c71e(0x1d7)](null,_0xcb5755[_0xe5c71e(0x20d)](getConfigLoaderPath)),_0xa8e35f=_0x4ff556?_0xcb5755[_0xe5c71e(0x236)](_0x4ff556,_0x145c4e):helper[_0xe5c71e(0x1f7)](_0xcb5755[_0xe5c71e(0x236)](_0x313699,_0x145c4e),[_0xcb5755['ddNrj']]);let _0x35798a={};if(_0xa8e35f){logger[_0xe5c71e(0x211)](_0xe5c71e(0x233)+_0xa8e35f);try{_0x35798a=await _0xcb5755[_0xe5c71e(0x1ed)](requireOrImportDefaultObject,_0xa8e35f);}catch(_0x2d10e8){return logger[_0xe5c71e(0x200)](_0xcb5755[_0xe5c71e(0x232)](_0xcb5755[_0xe5c71e(0x1f4)],_0xcb5755['kkqWm'](format,_0x2d10e8))),null;}}else logger['info'](_0xcb5755[_0xe5c71e(0x203)]);if(_0x4ed256){const _0x2c0945=_0x42873f[_0xe5c71e(0x1cc)](_0x1ebfc8=>_0x1ebfc8==='--config'||_0x1ebfc8==='-c'||_0x1ebfc8[_0xe5c71e(0x1e2)](_0xe5c71e(0x1ca)));_0x42873f[_0xe5c71e(0x1ac)](_0x2c0945,_0x42873f[_0x2c0945]['startsWith'](_0xcb5755[_0xe5c71e(0x204)])?0x1:0x2);}const _0x40b85e={};return _0x40b85e['path']=_0xa8e35f,_0x40b85e[_0xe5c71e(0x1bb)]=_0x35798a,_0x40b85e;},setGlobalSetup=(_0x48ff37,_0x10ab7b)=>{const _0x2c64bc=a33_0x5ec166,_0x191bc7={'xQPrJ':'globalSetup','FFlut':_0x2c64bc(0x1c4),'WxVyO':function(_0x561b21,_0xa3804e){return _0x561b21+_0xa3804e;},'NfVvc':_0x2c64bc(0x221),'AzCQG':function(_0x2f4a3f,_0x80a0d0){return _0x2f4a3f(_0x80a0d0);},'NjvaZ':_0x2c64bc(0x1e5)};if(!_0x48ff37)return![];try{if(_0x48ff37[_0x2c64bc(0x241)]){let _0xbfc399;const _0x357d6a=path['resolve'](_0x10ab7b,_0x48ff37[_0x191bc7[_0x2c64bc(0x22b)]]);if(fs['existsSync'](_0x357d6a))_0xbfc399=_0x357d6a;else{const _0x44f249={};_0x44f249[_0x2c64bc(0x197)]=[_0x10ab7b],_0xbfc399=require[_0x2c64bc(0x1fa)](_0x48ff37[_0x191bc7['xQPrJ']],_0x44f249);}if(!_0xbfc399)throw new Error(_0x191bc7[_0x2c64bc(0x21b)]);process[_0x2c64bc(0x18c)][_0x2c64bc(0x206)]=_0xbfc399;}}catch(_0x23b29c){logger[_0x2c64bc(0x200)](_0x191bc7['WxVyO'](_0x191bc7['NfVvc'],_0x191bc7[_0x2c64bc(0x1c9)](format,_0x23b29c)));}return _0x48ff37['globalSetup']=require[_0x2c64bc(0x1fa)](_0x191bc7['NjvaZ']),!![];},addReporter=_0x25e701=>{const _0x25cf3f=a33_0x5ec166,_0x5cf1de={};_0x5cf1de[_0x25cf3f(0x1fd)]='./reporter/reporter.js',_0x5cf1de[_0x25cf3f(0x18f)]='reporter',_0x5cf1de[_0x25cf3f(0x1f6)]=function(_0x5109a3,_0x45665e){return _0x5109a3===_0x45665e;},_0x5cf1de[_0x25cf3f(0x193)]=_0x25cf3f(0x1f1),_0x5cf1de[_0x25cf3f(0x1d3)]=_0x25cf3f(0x214);const _0x5bf86c=_0x5cf1de,_0x2d8ca6=path[_0x25cf3f(0x18e)](__dirname,_0x5bf86c[_0x25cf3f(0x1fd)]),_0x50c9a4=[_0x2d8ca6];if(helper[_0x25cf3f(0x1e6)](_0x25e701[_0x5bf86c[_0x25cf3f(0x18f)]]))_0x25e701[_0x5bf86c['wYhCd']]=[_0x50c9a4];else{if(_0x5bf86c[_0x25cf3f(0x1f6)](typeof _0x25e701[_0x5bf86c[_0x25cf3f(0x18f)]],_0x5bf86c[_0x25cf3f(0x193)]))_0x25e701[_0x5bf86c[_0x25cf3f(0x18f)]]=[[_0x25e701[_0x5bf86c[_0x25cf3f(0x18f)]]],_0x50c9a4];else _0x5bf86c[_0x25cf3f(0x1f6)](typeof _0x25e701[_0x5bf86c[_0x25cf3f(0x18f)]],_0x5bf86c[_0x25cf3f(0x1d3)])&&_0x25e701[_0x5bf86c['wYhCd']][_0x25cf3f(0x1d0)](_0x50c9a4);}},handleO11yRerun=_0x1f8ae7=>{const _0x5660b6=a33_0x5ec166,_0x43b1a2={};_0x43b1a2[_0x5660b6(0x19a)]=function(_0x21f426,_0x34d52b){return _0x21f426!==_0x34d52b;},_0x43b1a2['esxFf']=_0x5660b6(0x1e0),_0x43b1a2[_0x5660b6(0x235)]=_0x5660b6(0x1c2);const _0x5d5c17=_0x43b1a2,_0x5889fc=helper['isTrue'](process[_0x5660b6(0x18c)][_0x5660b6(0x1dd)]);if(_0x5889fc){const _0x328a93=process[_0x5660b6(0x18c)][_0x5660b6(0x1ba)],_0x5b01a9=[];if(_0x5d5c17[_0x5660b6(0x19a)](_0x328a93,_0x5d5c17['esxFf'])&&!helper[_0x5660b6(0x1e6)](_0x328a93)){_0x328a93[_0x5660b6(0x1f8)](',')[_0x5660b6(0x244)](_0x55be6f=>{const _0x952cbd=_0x5660b6;_0x5b01a9[_0x952cbd(0x1d0)]('('+_0x55be6f[_0x952cbd(0x212)]()+')');});const _0x49f38f='^'+_0x5b01a9[_0x5660b6(0x18e)]('|')+'$';_0x1f8ae7[_0x5660b6(0x1d0)](_0x5d5c17[_0x5660b6(0x235)],_0x49f38f);}}},spawnOriginalProcess=_0x2d8af5=>{const _0x1496d8=a33_0x5ec166,_0x189199={'kDThK':function(_0x284c3d,_0x57a9b9,_0x39e8dc,_0x48258f){return _0x284c3d(_0x57a9b9,_0x39e8dc,_0x48258f);},'NNrys':_0x1496d8(0x190),'ykWUw':_0x1496d8(0x21a),'nFJFP':function(_0x3b1a13,_0x2d5563){return _0x3b1a13===_0x2d5563;},'BnobQ':_0x1496d8(0x17f),'lZYyr':'inherit'};_0x189199[_0x1496d8(0x1df)](spawn,_0x189199[_0x1496d8(0x1c7)],[_0x189199['ykWUw'],..._0x2d8af5[_0x1496d8(0x1d5)](0x1)],{'shell':_0x189199[_0x1496d8(0x199)](process[_0x1496d8(0x202)],_0x189199['BnobQ']),'stdio':_0x189199[_0x1496d8(0x18a)],'cwd':process['cwd']()});},isTestCommand=(_0xee9883,_0x4bdb45)=>{const _0x3071a2=a33_0x5ec166,_0x4ec37c={};_0x4ec37c[_0x3071a2(0x191)]=function(_0x161a0d,_0x4eae17){return _0x161a0d>_0x4eae17;},_0x4ec37c[_0x3071a2(0x1aa)]=function(_0x1f4348,_0x4a74ff){return _0x1f4348===_0x4a74ff;},_0x4ec37c[_0x3071a2(0x225)]='test';const _0x33efa5=_0x4ec37c;if(_0x33efa5[_0x3071a2(0x191)](_0x4bdb45[_0x3071a2(0x207)],0x1)&&_0x33efa5[_0x3071a2(0x1aa)](_0x4bdb45[0x1],_0x33efa5[_0x3071a2(0x225)]))return!![];return![];},initO11yCrashReporter=(_0x4b341d,_0x24ca18)=>{const _0x219f77=a33_0x5ec166,_0x8eab20={'rpRGA':function(_0x5905bb,_0x56f4b8){return _0x5905bb(_0x56f4b8);}},_0x401874={'frameworkName':FRAMEWORKS[_0x219f77(0x19c)],'frameworkVersion':_0x8eab20[_0x219f77(0x1a0)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])};CrashReporter[_0x219f77(0x1f9)](_0x401874,_0x4b341d,_0x24ca18);};async function run(_0xa0cd94,_0x483dee){const _0x6233a=a33_0x5ec166,_0x857409={'RWsmh':_0x6233a(0x1a6),'LvNea':_0x6233a(0x1fb),'BSnCh':function(_0x516fc6,_0x181c03){return _0x516fc6+_0x181c03;},'hJHVG':_0x6233a(0x238),'InNjr':_0x6233a(0x1e4),'thnub':function(_0x18347c){return _0x18347c();},'axWlM':_0x6233a(0x20c),'vPClI':_0x6233a(0x213),'gCgpl':_0x6233a(0x248),'uZoVI':_0x6233a(0x1af),'cZLEa':function(_0x45c2de,_0x29fb72){return _0x45c2de>=_0x29fb72;},'xbphD':_0x6233a(0x1a8),'PTMMv':function(_0x4f3201,_0x438935,_0x5a9f3c){return _0x4f3201(_0x438935,_0x5a9f3c);},'lBwQD':function(_0x155396,_0x4f9ea8){return _0x155396(_0x4f9ea8);},'hkPQX':_0x6233a(0x1ff),'JyCrL':_0x6233a(0x1f2),'GcGlA':function(_0xd5e9a8,_0x2c1cc2){return _0xd5e9a8!=_0x2c1cc2;},'GKcAk':function(_0x855eea,_0x5a3809,_0x2abcae){return _0x855eea(_0x5a3809,_0x2abcae);},'tzluP':function(_0x54526c,_0x437c06){return _0x54526c(_0x437c06);},'EMQhl':function(_0x412eba,_0x38eff1,_0x5dd64a){return _0x412eba(_0x38eff1,_0x5dd64a);},'guaxN':function(_0x5b317f,_0x3f4e3f){return _0x5b317f(_0x3f4e3f);},'Unber':'Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','qxlIQ':function(_0xcd476d){return _0xcd476d();},'zsNlG':function(_0x151686,_0x1bf057){return _0x151686(_0x1bf057);},'ammin':function(_0x546690,_0x63370c){return _0x546690===_0x63370c;},'YaHQW':_0x6233a(0x1cd),'IgOoB':function(_0x1c27f9,_0x2f934c){return _0x1c27f9(_0x2f934c);},'FnbCd':_0x6233a(0x1d6),'DDchN':function(_0x120657){return _0x120657();},'NqvyG':'testDir','xbprW':'testMatch','GdKgU':_0x6233a(0x19f),'uoMXH':function(_0x94eb7e,_0x28e215){return _0x94eb7e+_0x28e215;},'BauiO':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','DQwUS':function(_0x2128f1,_0xd0da35){return _0x2128f1(_0xd0da35);},'TtRxC':_0x6233a(0x247),'EbXiQ':_0x6233a(0x181),'ZTROz':function(_0x130e39,_0x5e9298){return _0x130e39>_0x5e9298;},'UQGTd':function(_0x4a7d75,_0x5de431){return _0x4a7d75+_0x5de431;},'ZGaMq':function(_0xb952b7,_0x5869e8,_0x178a8b,_0x451664){return _0xb952b7(_0x5869e8,_0x178a8b,_0x451664);},'gqaWZ':_0x6233a(0x190),'izNTO':_0x6233a(0x21a),'hieLj':_0x6233a(0x20e),'bYkJT':_0x6233a(0x1e9),'bSouq':function(_0x155a5a,_0x483282){return _0x155a5a===_0x483282;},'MguzW':_0x6233a(0x17f),'BEpFC':_0x6233a(0x1fe),'EoOTo':_0x6233a(0x229)};!helper[_0x6233a(0x226)](process[_0x6233a(0x18c)][_0x6233a(0x1eb)])&&(process['env'][_0x6233a(0x1eb)]=!![]);process[_0x6233a(0x1de)]['includes'](_0x857409[_0x6233a(0x21c)])&&(process[_0x6233a(0x18c)][_0x6233a(0x1eb)]=_0x857409[_0x6233a(0x22c)],_0x483dee=_0x483dee['filter'](_0x528b84=>_0x528b84!==_0x6233a(0x213)));const _0x442bf5=_0x483dee['indexOf'](_0x857409[_0x6233a(0x1b7)]);_0x857409[_0x6233a(0x1b0)](_0x442bf5,0x0)&&(process[_0x6233a(0x18c)][_0x6233a(0x222)]=_0x857409[_0x6233a(0x22c)],_0x483dee=_0x483dee[_0x6233a(0x1ad)](_0x1fb475=>_0x1fb475!==_0x6233a(0x1af)));try{const _0x1ba32f=path['join'](helper[_0x6233a(0x1ce)](),_0x857409['RWsmh'],_0x857409['LvNea']);fs[_0x6233a(0x1f3)](_0x1ba32f)&&fs['unlinkSync'](_0x1ba32f);}catch(_0x5b2ff8){logger['debug'](_0x857409['BSnCh'](_0x857409[_0x6233a(0x23a)],_0x5b2ff8));}if(!_0x857409['PTMMv'](isTestCommand,_0xa0cd94,_0x483dee)){_0x857409[_0x6233a(0x23e)](spawnOriginalProcess,_0x483dee);return;}const _0x20d28e=new BrowserStackSetup(_0xa0cd94,FRAMEWORKS[_0x6233a(0x19c)]);if(!_0x20d28e[_0x6233a(0x1bb)]){logger[_0x6233a(0x200)](_0x857409[_0x6233a(0x1bc)]);return;}await _0x20d28e[_0x6233a(0x1f9)]();!helper[_0x6233a(0x1e6)](_0x20d28e[_0x6233a(0x20a)])&&_0x20d28e[_0x6233a(0x20a)][_0x6233a(0x1be)](_0x857409['JyCrL'])&&(process[_0x6233a(0x18c)]['BROWSERSTACK_AUTOMATION']=_0x20d28e[_0x6233a(0x20a)][_0x6233a(0x239)](_0x857409['JyCrL'])||!![]);_0x857409[_0x6233a(0x1bd)](_0x20d28e[_0x6233a(0x1bb)][_0x6233a(0x246)],null)&&!helper[_0x6233a(0x1a9)](process[_0x6233a(0x18c)]['BROWSERSTACK_TEST_OBSERVABILITY'])&&(process[_0x6233a(0x18c)][_0x6233a(0x222)]=process[_0x6233a(0x18c)][_0x6233a(0x222)]||_0x20d28e[_0x6233a(0x1bb)][_0x6233a(0x246)]);const _0x51a30f=!helper[_0x6233a(0x226)](process[_0x6233a(0x18c)][_0x6233a(0x222)]);let _0xca9f9e=![];_0x20d28e[_0x6233a(0x1bb)][_0x6233a(0x22a)]&&(_0xca9f9e=!![],process[_0x6233a(0x18c)][_0x6233a(0x23f)]=_0x20d28e[_0x6233a(0x1bb)]['accessibility']);_0x20d28e[_0x6233a(0x1bb)][_0x6233a(0x227)]&&(process['env'][_0x6233a(0x188)]=JSON[_0x6233a(0x1ae)](_0x20d28e[_0x6233a(0x1bb)]['accessibilityOptions']));const _0x2caf00=_0x483dee[_0x6233a(0x21f)](),_0x2f6afd=await _0x857409[_0x6233a(0x1b5)](getUserPlaywrightConfig,_0xa0cd94,_0x483dee);if(helper['isUndefined'](_0x2f6afd)){_0x857409[_0x6233a(0x240)](spawnOriginalProcess,_0x2caf00);return;}const _0x7aec2f={..._0x2f6afd[_0x6233a(0x1bb)]},_0x174d81=_0x7aec2f,_0x1baf51=_0x2f6afd[_0x6233a(0x1e3)]?path[_0x6233a(0x195)](_0x2f6afd[_0x6233a(0x1e3)]):process['cwd']();process[_0x6233a(0x18c)]['BROWSERSTACK_PW_CONFIG_DIR']=_0x1baf51;if(!_0x857409['EMQhl'](setGlobalSetup,_0x174d81,_0x1baf51)){_0x857409['guaxN'](spawnOriginalProcess,_0x2caf00);return;}await TestHubHandler[_0x6233a(0x19e)](FRAMEWORKS['PLAYWRIGHT'],_0x20d28e);_0x51a30f&&(logger[_0x6233a(0x211)](_0x857409[_0x6233a(0x230)]),_0x857409[_0x6233a(0x1a7)](initO11yCrashReporter,_0x174d81,_0x20d28e[_0x6233a(0x1bb)]),_0x857409['tzluP'](handleO11yRerun,_0x483dee));_0x857409[_0x6233a(0x218)](shouldProcessEventForTesthub)&&_0x857409[_0x6233a(0x17b)](addReporter,_0x174d81);let _0x1f5d8e=_0x857409['ammin'](process[_0x6233a(0x18c)][_0x6233a(0x23f)],_0x857409[_0x6233a(0x21e)]);_0x1f5d8e=_0x1f5d8e||_0x857409[_0x6233a(0x17b)](checkAccessibilityPlatformConfig,_0x20d28e[_0x6233a(0x1bb)]),process[_0x6233a(0x18c)][_0x6233a(0x23f)]=_0x1f5d8e;_0x1f5d8e&&_0x857409[_0x6233a(0x1b8)](setAccessibilityCapabilities,_0x20d28e[_0x6233a(0x1bb)]);const _0x8533c9=path[_0x6233a(0x18e)](_0x2f6afd[_0x6233a(0x1e3)]?path[_0x6233a(0x195)](_0x2f6afd[_0x6233a(0x1e3)]):process[_0x6233a(0x1e7)](),_0x857409[_0x6233a(0x22f)]);fs[_0x6233a(0x1a1)](_0x8533c9,helper['serializeToYamlString'](_0x20d28e[_0x6233a(0x1bb)])),process[_0x6233a(0x18c)][_0x6233a(0x180)]=_0x8533c9,helper[_0x6233a(0x1b6)]();if(helper[_0x6233a(0x1a9)](process['env'][_0x6233a(0x1eb)])){let _0x39c097=[];try{const _0x3415bb=helper[_0x6233a(0x209)]['apply'](null,_0x857409['DDchN'](getProjectUtilsPath)),_0x25bf22={};_0x25bf22[_0x6233a(0x1d2)]=!![],_0x25bf22[_0x6233a(0x1f5)]='',_0x25bf22['testMatch']='',_0x25bf22[_0x6233a(0x19f)]='';const _0x56d74a={};_0x56d74a[_0x6233a(0x1d2)]=!![];const _0x4231c4={};_0x4231c4[_0x6233a(0x1cf)]=_0x25bf22,_0x4231c4[_0x6233a(0x210)]=_0x56d74a;let _0x4c402d=_0x4231c4;_0x174d81[_0x857409['NqvyG']]&&(_0x4c402d[_0x6233a(0x1cf)][_0x857409[_0x6233a(0x234)]]=_0x174d81[_0x857409[_0x6233a(0x234)]]),_0x174d81[_0x857409[_0x6233a(0x22e)]]&&(_0x4c402d['project'][_0x857409[_0x6233a(0x22e)]]=_0x174d81[_0x857409[_0x6233a(0x22e)]]),_0x174d81[_0x857409[_0x6233a(0x1d1)]]&&(_0x4c402d[_0x6233a(0x1cf)][_0x857409['GdKgU']]=_0x174d81[_0x857409[_0x6233a(0x1d1)]]),_0x4c402d=Object[_0x6233a(0x17c)](_0x4c402d,_0x4c402d[_0x6233a(0x1cf)]),_0x39c097=await _0x3415bb[_0x6233a(0x20f)](_0x4c402d);}catch(_0x49a2a3){logger[_0x6233a(0x1ec)](_0x857409['uoMXH'](_0x857409[_0x6233a(0x1c1)],_0x857409['DQwUS'](format,_0x49a2a3)));}}let _0x3017d9='';_0x857409[_0x6233a(0x1b9)](helper['getPackageType'](),constants[_0x6233a(0x1e1)]['MODULE'])?_0x3017d9=_0x857409['TtRxC']:_0x3017d9=_0x857409[_0x6233a(0x242)];const _0x46e3f0=path[_0x6233a(0x18e)](_0x2f6afd[_0x6233a(0x1e3)]?path['dirname'](_0x2f6afd[_0x6233a(0x1e3)]):process[_0x6233a(0x1e7)](),_0x3017d9);let _0x2ed0ce=_0x2f6afd[_0x6233a(0x1e3)]?_0x2f6afd['path']:'';_0x2ed0ce=_0x857409['ZTROz'](_0x2ed0ce[_0x6233a(0x207)],0x0)?path[_0x6233a(0x1fa)](_0x2ed0ce):'',process[_0x6233a(0x18c)][_0x6233a(0x20b)]=_0x2ed0ce;let _0xd5a67c=_0x6233a(0x1b4);const _0x46a53f=helper[_0x6233a(0x1c8)](_0x20d28e[_0x6233a(0x1bb)]);_0x46a53f&&(_0xd5a67c=_0x857409['UQGTd'](_0x6233a(0x1ea)+_0x46a53f+'\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();',_0xd5a67c));helper[_0x6233a(0x231)]({},_0x483dee),fs[_0x6233a(0x1a1)](_0x46e3f0,_0xd5a67c),helper[_0x6233a(0x228)]();const _0x5594b2=_0x857409[_0x6233a(0x1cb)](spawn,_0x857409[_0x6233a(0x217)],[_0x857409['izNTO'],_0x857409[_0x6233a(0x19d)],_0x857409[_0x6233a(0x1c3)],_0x46e3f0,..._0x483dee['slice'](0x2)],{'shell':_0x857409[_0x6233a(0x18d)](process[_0x6233a(0x202)],_0x857409[_0x6233a(0x215)]),'stdio':_0x857409[_0x6233a(0x1bf)],'cwd':process[_0x6233a(0x1e7)](),'env':Object[_0x6233a(0x17c)]({},process[_0x6233a(0x18c)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x6233a(0x18b)](_0xa0cd94),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x20d28e['config'][_0x6233a(0x194)][_0x6233a(0x208)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x20d28e[_0x6233a(0x1bb)]['testContextOptions'][_0x6233a(0x243)],'BROWSERSTACK_LOG_LEVEL':_0x20d28e[_0x6233a(0x1bb)]['logLevel']})}),_0x289fa1=()=>{const _0x39c6be=_0x6233a;try{const _0x2aa5a0=path[_0x39c6be(0x18e)](helper[_0x39c6be(0x1ce)](),_0x857409[_0x39c6be(0x192)],_0x857409[_0x39c6be(0x21d)]);if(fs['existsSync'](_0x2aa5a0)){let _0x3478e9=fs[_0x39c6be(0x1a4)](_0x2aa5a0);_0x3478e9=JSON[_0x39c6be(0x205)](_0x3478e9),_0x20d28e['errorMessage']=_0x3478e9,fs['unlinkSync'](_0x2aa5a0);}}catch(_0x19f0a4){logger[_0x39c6be(0x1ec)](_0x857409[_0x39c6be(0x17d)](_0x857409[_0x39c6be(0x1da)],_0x19f0a4));}};_0x5594b2['on'](_0x857409[_0x6233a(0x201)],async _0x1b34c2=>{const _0x2e6cf4=_0x6233a;try{const _0x3421da=_0x857409[_0x2e6cf4(0x1ab)]['split']('|');let _0x162006=0x0;while(!![]){switch(_0x3421da[_0x162006++]){case'0':_0x857409[_0x2e6cf4(0x1c6)](_0x289fa1);continue;case'1':await TestHubHandler[_0x2e6cf4(0x17e)]();continue;case'2':logger[_0x2e6cf4(0x1ec)](_0x2e6cf4(0x1e8)+_0x8533c9);continue;case'3':fs[_0x2e6cf4(0x184)](_0x46e3f0);continue;case'4':logger[_0x2e6cf4(0x1ec)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0x1b34c2);continue;case'5':fs['unlinkSync'](_0x8533c9);continue;case'6':process[_0x2e6cf4(0x220)]=_0x1b34c2;continue;case'7':logger[_0x2e6cf4(0x211)](_0x2e6cf4(0x1e8)+_0x46e3f0);continue;case'8':await helper['finalExecution'](_0x20d28e);continue;}break;}}catch(_0x80e315){logger[_0x2e6cf4(0x1ec)](_0x857409[_0x2e6cf4(0x17d)](_0x857409[_0x2e6cf4(0x1a2)],_0x80e315));}});}function a33_0x20d1(){const _0x28c976=['../../helpers/testhub/testhubHandler','paths','../../helpers/test-observability/constants','nFJFP','UvByV','../utils/constants','PLAYWRIGHT','hieLj','launchBuild','testIgnore','rpRGA','writeFileSync','axWlM','7233395puHvNu','readFileSync','293559wRRdkr','.browserstack','EMQhl','Error\x20in\x20deleting\x20playwright\x20results','isTrue','RMekL','InNjr','splice','filter','stringify','--disable-test-observability','cZLEa','12nxKKnm','util','qvcRv','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','GKcAk','clearTempPWConfig','uZoVI','IgOoB','ammin','BROWSERSTACK_RERUN_TESTS','config','hkPQX','GcGlA','has','BEpFC','10RFVXDe','BauiO','--grep','bYkJT','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','../../helpers/logger','thnub','NNrys','getProxyUrl','AzCQG','--config=','ZGaMq','findIndex','true','homedir','project','push','GdKgU','respectGitIgnore','GsGzD','22HfEuwA','slice','browserstackSetupConfig.json','apply','ojULd','resolvedConfigFile','hJHVG','126hxwRlK','1325370iuEtiw','BROWSERSTACK_RERUN','argv','kDThK','null','PACKAGE_TYPE','startsWith','path','0|1|8|6|4|7|3|2|5','./globalSetup.js','isUndefined','cwd','Deleting\x20','--config','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','BROWSERSTACK_AUTOMATION','debug','kkqWm','102HMLirt','default','izmIG','string','automation','existsSync','ClYij','testDir','xMcWP','nestedKeyValue','split','initialize','resolve','pw_result.json','Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','rviSu','inherit','BrowserStack\x20config\x20file\x20not\x20found.','error','EoOTo','platform','LFtyJ','sHAqW','parse','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','length','skipSessionStatus','requirePWModule','cliConfig','USER_CONFIG_DETAILS_PATH','Error\x20in\x20closing\x20playwright','uaEuw','test','collectFilesForProject','_internal','info','trim','--disable-browserstack-automation','object','MguzW','winstonLogger','gqaWZ','qxlIQ','4283zRROIQ','playwright','FFlut','vPClI','LvNea','YaHQW','concat','exitCode','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','BROWSERSTACK_TEST_OBSERVABILITY','child_process','../../helpers/accessibility-automation/helper','CMVQT','isFalse','accessibilityOptions','markSDKSetupComplete','close','accessibility','xQPrJ','gCgpl','JPRnT','xbprW','FnbCd','Unber','filterBrowserstackConfig','HFqwf','Getting\x20your\x20playwright\x20config\x20from\x20','NqvyG','VKWBm','AFOus','10680koCtUq','Error\x20in\x20getting\x20funnel\x20data\x20results','get','xbphD','14qAzkDY','../../helpers/test-observability/utils','90704zodsdi','lBwQD','BROWSERSTACK_TEST_ACCESSIBILITY_YML','tzluP','globalSetup','EbXiQ','skipSessionName','map','NFnIl','testObservability','playwright-browserstack-sdk.config.cjs','false','zsNlG','assign','BSnCh','stop','win32','BROWSERSTACK_SETUP_CONFIG_PATH','playwright-browserstack-sdk.config.js','../../helpers/test-observability/error-handler','./accessibility-helper','unlinkSync','2133tnOxid','2819532xaUMdo','../../helpers/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','todTz','lZYyr','getConfigPath','env','bSouq','join','wYhCd','npx','uaTiB','RWsmh','zdZNq','testContextOptions','dirname'];a33_0x20d1=function(){return _0x28c976;};return a33_0x20d1();}module['exports']=run;
|
|
2
|
+
'use strict';const a33_0x2d8495=a33_0x6c72;(function(_0x330b79,_0x451fd2){const _0xe40a7a=a33_0x6c72,_0x50d83c=_0x330b79();while(!![]){try{const _0x26a7e7=-parseInt(_0xe40a7a(0x84))/0x1+parseInt(_0xe40a7a(0xf8))/0x2*(-parseInt(_0xe40a7a(0x8c))/0x3)+parseInt(_0xe40a7a(0xe1))/0x4*(-parseInt(_0xe40a7a(0xfd))/0x5)+parseInt(_0xe40a7a(0x10d))/0x6*(-parseInt(_0xe40a7a(0x8b))/0x7)+-parseInt(_0xe40a7a(0xfb))/0x8*(-parseInt(_0xe40a7a(0x117))/0x9)+parseInt(_0xe40a7a(0xa9))/0xa+parseInt(_0xe40a7a(0xdc))/0xb;if(_0x26a7e7===_0x451fd2)break;else _0x50d83c['push'](_0x50d83c['shift']());}catch(_0x546689){_0x50d83c['push'](_0x50d83c['shift']());}}}(a33_0xa922,0xc169b));function a33_0x6c72(_0x4a7a61,_0x4c90e3){const _0xa9222=a33_0xa922();return a33_0x6c72=function(_0x6c72ee,_0x2eb80f){_0x6c72ee=_0x6c72ee-0x7b;let _0x3bbab2=_0xa9222[_0x6c72ee];return _0x3bbab2;},a33_0x6c72(_0x4a7a61,_0x4c90e3);}const fs=require('fs'),path=require(a33_0x2d8495(0x10a)),{spawn}=require(a33_0x2d8495(0xa0)),{format}=require(a33_0x2d8495(0xa5)),logger=require(a33_0x2d8495(0xe3))[a33_0x2d8495(0xd1)],{default:BrowserStackSetup}=require(a33_0x2d8495(0xc8)),helper=require('../../helpers/helper'),constants=require(a33_0x2d8495(0x11d)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a33_0x2d8495(0x11c)),{getFrameworkVersion}=require(a33_0x2d8495(0xd0)),{checkAccessibilityPlatformConfig}=require(a33_0x2d8495(0xcb)),{setAccessibilityCapabilities}=require(a33_0x2d8495(0x9e)),TestHubHandler=require(a33_0x2d8495(0xce)),{shouldProcessEventForTesthub}=require(a33_0x2d8495(0xff)),getUserPlaywrightConfig=async(_0x516cf0,_0x34bf29)=>{const _0x360e8a=a33_0x2d8495,_0x11c6aa={'Yaoyc':function(_0x396e47){return _0x396e47();},'YyOmM':function(_0x1a1805,_0x186914){return _0x1a1805(_0x186914);},'ODkjc':function(_0x2e387f,_0x5cc869){return _0x2e387f(_0x5cc869);},'qVXwr':'resolvedConfigFile','yKjXq':_0x360e8a(0x93)},_0x1c4993=!helper[_0x360e8a(0x90)](_0x516cf0[_0x360e8a(0xa7)]),_0x46bae8=_0x1c4993?path[_0x360e8a(0xbb)](process[_0x360e8a(0x98)](),_0x516cf0[_0x360e8a(0xa7)]):process[_0x360e8a(0x98)](),{resolveConfigFile:_0x288a9d,resolveConfigLocation:_0x32c34d}=helper[_0x360e8a(0x105)][_0x360e8a(0xe7)](null,_0x11c6aa[_0x360e8a(0xc3)](getConfigLoaderPath)),_0x2a74ae=_0x288a9d?_0x11c6aa[_0x360e8a(0xc9)](_0x288a9d,_0x46bae8):helper[_0x360e8a(0x8d)](_0x11c6aa['ODkjc'](_0x32c34d,_0x46bae8),[_0x11c6aa[_0x360e8a(0xb4)]]);let _0x46a5ba={};if(_0x1c4993){const _0x3ea0a9=_0x34bf29[_0x360e8a(0xea)](_0x14ca5d=>_0x14ca5d===_0x360e8a(0x107)||_0x14ca5d==='-c'||_0x14ca5d[_0x360e8a(0xa1)](_0x360e8a(0x93)));_0x34bf29[_0x360e8a(0xbc)](_0x3ea0a9,_0x34bf29[_0x3ea0a9][_0x360e8a(0xa1)](_0x11c6aa[_0x360e8a(0xf7)])?0x1:0x2);}const _0x1c3fc5={};return _0x1c3fc5[_0x360e8a(0x10a)]=_0x2a74ae,_0x1c3fc5[_0x360e8a(0xa7)]=_0x46a5ba,_0x1c3fc5;},handleO11yRerun=_0x1649ff=>{const _0x5459cf=a33_0x2d8495,_0x24cfb8={};_0x24cfb8[_0x5459cf(0x88)]=function(_0x406b35,_0x34eed9){return _0x406b35!==_0x34eed9;},_0x24cfb8['InAct']=_0x5459cf(0xae),_0x24cfb8['AqBYP']=_0x5459cf(0xc1);const _0x2fe9ad=_0x24cfb8,_0x5f5af7=helper[_0x5459cf(0xfe)](process[_0x5459cf(0xdd)][_0x5459cf(0xa8)]);if(_0x5f5af7){const _0x2cea23=process[_0x5459cf(0xdd)][_0x5459cf(0xb6)],_0x378885=[];if(_0x2fe9ad[_0x5459cf(0x88)](_0x2cea23,_0x2fe9ad[_0x5459cf(0x9a)])&&!helper[_0x5459cf(0x90)](_0x2cea23)){_0x2cea23['split'](',')[_0x5459cf(0x83)](_0xfa166e=>{const _0x122ce8=_0x5459cf;_0x378885[_0x122ce8(0xb9)]('('+_0xfa166e[_0x122ce8(0x113)]()+')');});const _0x582c1b='^'+_0x378885[_0x5459cf(0xf2)]('|')+'$';_0x1649ff[_0x5459cf(0xb9)](_0x2fe9ad[_0x5459cf(0x106)],_0x582c1b);}}},spawnOriginalProcess=_0x4d4b35=>{const _0x513fc5=a33_0x2d8495,_0x5d0df2={'ritaw':function(_0x399e85,_0x3493d3,_0x3600e1,_0x3541fe){return _0x399e85(_0x3493d3,_0x3600e1,_0x3541fe);},'cuxSV':_0x513fc5(0x86),'eiQiK':_0x513fc5(0x115),'QibJi':function(_0x1953ab,_0x49bc58){return _0x1953ab===_0x49bc58;},'tjuuI':_0x513fc5(0x92),'iqynS':_0x513fc5(0x100)};_0x5d0df2[_0x513fc5(0xde)](spawn,_0x5d0df2[_0x513fc5(0x104)],[_0x5d0df2[_0x513fc5(0xeb)],..._0x4d4b35[_0x513fc5(0xf1)](0x1)],{'shell':_0x5d0df2[_0x513fc5(0xc4)](process[_0x513fc5(0xd4)],_0x5d0df2[_0x513fc5(0xe6)]),'stdio':_0x5d0df2[_0x513fc5(0xc5)],'cwd':process['cwd']()});},isTestCommand=(_0x2d3e0e,_0x2ad312)=>{const _0x2e88ec=a33_0x2d8495,_0x24a21f={};_0x24a21f[_0x2e88ec(0xe0)]=function(_0x4b440d,_0x4c840a){return _0x4b440d>_0x4c840a;},_0x24a21f[_0x2e88ec(0xc2)]=function(_0x3504ed,_0x564ffc){return _0x3504ed===_0x564ffc;},_0x24a21f['Mdzni']='test';const _0x3d0261=_0x24a21f;if(_0x3d0261[_0x2e88ec(0xe0)](_0x2ad312[_0x2e88ec(0xf6)],0x1)&&_0x3d0261[_0x2e88ec(0xc2)](_0x2ad312[0x1],_0x3d0261[_0x2e88ec(0x8f)]))return!![];return![];};async function run(_0x36a0d7,_0x3ad4d0){const _0x174b5a=a33_0x2d8495,_0x229f79={'Gmogo':'.browserstack','NpNaY':_0x174b5a(0xaa),'DoGdD':function(_0x385d1f,_0x3a70d8){return _0x385d1f+_0x3a70d8;},'fjOse':_0x174b5a(0x7f),'KuiHu':_0x174b5a(0xcd),'najXp':function(_0x249aca){return _0x249aca();},'skVNZ':_0x174b5a(0xfc),'NSAEQ':_0x174b5a(0x11a),'BtHTH':'false','CQvLw':_0x174b5a(0xaf),'DlmXy':function(_0x2f7294,_0x4e609a){return _0x2f7294>=_0x4e609a;},'bzhzS':_0x174b5a(0xfa),'nleLw':function(_0x31b323,_0xddf770,_0x5eacdb){return _0x31b323(_0xddf770,_0x5eacdb);},'ELLIS':function(_0x2aecd1,_0x54e34e){return _0x2aecd1(_0x54e34e);},'suRIn':'BrowserStack\x20config\x20file\x20not\x20found.','sUURv':_0x174b5a(0x7d),'mrEgc':function(_0x5b8b65,_0x36fe8b){return _0x5b8b65!=_0x36fe8b;},'utFXw':function(_0x58e182,_0x1f11a9,_0x5d8555){return _0x58e182(_0x1f11a9,_0x5d8555);},'vWSSt':function(_0x434e6c,_0x14b7a4){return _0x434e6c(_0x14b7a4);},'YEHIp':function(_0x40a00b,_0x58d3cf){return _0x40a00b===_0x58d3cf;},'lyUSO':_0x174b5a(0xd5),'UpCPG':_0x174b5a(0x8e),'KtchJ':_0x174b5a(0x7c),'nwWiq':'playwright-browserstack-sdk.config.js','qbAOR':function(_0x4a9e56,_0x302139){return _0x4a9e56-_0x302139;},'NOGkk':function(_0x1b631e,_0x58872f){return _0x1b631e+_0x58872f;},'SipnW':_0x174b5a(0x111),'VPFBj':function(_0xfdb88e,_0x4feefe){return _0xfdb88e>_0x4feefe;},'gdcbe':function(_0x525613,_0x40ba7a,_0x5c61c6,_0xde38d6){return _0x525613(_0x40ba7a,_0x5c61c6,_0xde38d6);},'btjhV':'npx','lJwrn':_0x174b5a(0x115),'Bfoxt':'test','ZVuEM':_0x174b5a(0x107),'BpWAw':_0x174b5a(0x92),'JVEFn':_0x174b5a(0x100),'pshJn':_0x174b5a(0x109)};!helper[_0x174b5a(0x101)](process['env']['BROWSERSTACK_AUTOMATION'])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=!![]);process['argv'][_0x174b5a(0xd7)](_0x229f79[_0x174b5a(0xa4)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=_0x229f79[_0x174b5a(0x119)],_0x3ad4d0=_0x3ad4d0[_0x174b5a(0xf5)](_0x4f8174=>_0x4f8174!==_0x174b5a(0x11a)));const _0x3cc9d1=_0x3ad4d0[_0x174b5a(0xdf)](_0x229f79[_0x174b5a(0xc0)]);_0x229f79[_0x174b5a(0x95)](_0x3cc9d1,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x229f79[_0x174b5a(0x119)],_0x3ad4d0=_0x3ad4d0[_0x174b5a(0xf5)](_0x5a1fba=>_0x5a1fba!==_0x174b5a(0xaf)));try{const _0x5120f5=path[_0x174b5a(0xf2)](helper[_0x174b5a(0xbe)](),_0x229f79[_0x174b5a(0xd2)],_0x229f79[_0x174b5a(0xc7)]);fs[_0x174b5a(0x82)](_0x5120f5)&&fs[_0x174b5a(0xf9)](_0x5120f5);}catch(_0x17d7e8){logger[_0x174b5a(0x9c)](_0x229f79[_0x174b5a(0xb0)](_0x229f79['bzhzS'],_0x17d7e8));}if(!_0x229f79[_0x174b5a(0xb1)](isTestCommand,_0x36a0d7,_0x3ad4d0)){_0x229f79['ELLIS'](spawnOriginalProcess,_0x3ad4d0);return;}const _0x5b7d87=new BrowserStackSetup(_0x36a0d7,FRAMEWORKS[_0x174b5a(0xd9)]);if(!_0x5b7d87['config']){logger[_0x174b5a(0xe5)](_0x229f79[_0x174b5a(0x110)]);return;}await _0x5b7d87[_0x174b5a(0x89)]();!helper[_0x174b5a(0x90)](_0x5b7d87[_0x174b5a(0xba)])&&_0x5b7d87['cliConfig'][_0x174b5a(0x7b)](_0x229f79[_0x174b5a(0xd3)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xef)]=_0x5b7d87[_0x174b5a(0xba)][_0x174b5a(0x118)](_0x229f79['sUURv'])||!![]);_0x229f79[_0x174b5a(0xbd)](_0x5b7d87[_0x174b5a(0xa7)]['testObservability'],null)&&!helper[_0x174b5a(0xfe)](process[_0x174b5a(0xdd)][_0x174b5a(0xb3)])&&(process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]=process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]||_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xa2)]);const _0x42f8f1=!helper['isFalse'](process[_0x174b5a(0xdd)][_0x174b5a(0xb3)]);let _0x46512f=![];_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xe4)]&&(_0x46512f=!![],process['env'][_0x174b5a(0xf3)]=_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0xe4)]);_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x94)]&&(process[_0x174b5a(0xdd)][_0x174b5a(0xed)]=JSON['stringify'](_0x5b7d87[_0x174b5a(0xa7)]['accessibilityOptions']));const _0x876b98=_0x3ad4d0[_0x174b5a(0x9f)](),_0x11497d=await _0x229f79[_0x174b5a(0x80)](getUserPlaywrightConfig,_0x36a0d7,_0x3ad4d0);if(helper[_0x174b5a(0x90)](_0x11497d)){_0x229f79[_0x174b5a(0x99)](spawnOriginalProcess,_0x876b98);return;}const _0x40e924=_0x11497d[_0x174b5a(0x10a)]?path[_0x174b5a(0x108)](_0x11497d[_0x174b5a(0x10a)]):process[_0x174b5a(0x98)]();process[_0x174b5a(0xdd)][_0x174b5a(0xb8)]=_0x40e924,await TestHubHandler[_0x174b5a(0x8a)](FRAMEWORKS['PLAYWRIGHT'],_0x5b7d87);_0x42f8f1&&_0x229f79[_0x174b5a(0xa3)](handleO11yRerun,_0x3ad4d0);let _0x1cfcae=_0x229f79[_0x174b5a(0xa6)](process['env'][_0x174b5a(0xf3)],_0x229f79['lyUSO']);_0x1cfcae=_0x1cfcae||_0x229f79[_0x174b5a(0x99)](checkAccessibilityPlatformConfig,_0x5b7d87[_0x174b5a(0xa7)]),process[_0x174b5a(0xdd)][_0x174b5a(0xf3)]=_0x1cfcae;_0x1cfcae&&_0x229f79['ELLIS'](setAccessibilityCapabilities,_0x5b7d87[_0x174b5a(0xa7)]);const _0x4f0964=path[_0x174b5a(0xf2)](_0x11497d['path']?path[_0x174b5a(0x108)](_0x11497d[_0x174b5a(0x10a)]):process[_0x174b5a(0x98)](),_0x229f79[_0x174b5a(0xca)]);fs[_0x174b5a(0xb5)](_0x4f0964,helper['serializeToYamlString'](_0x5b7d87[_0x174b5a(0xa7)])),process[_0x174b5a(0xdd)][_0x174b5a(0x114)]=_0x4f0964,helper['clearTempPWConfig']();let _0x257ded='';_0x229f79['YEHIp'](helper[_0x174b5a(0xe2)](),constants[_0x174b5a(0x103)][_0x174b5a(0x9d)])?_0x257ded=_0x229f79[_0x174b5a(0x10c)]:_0x257ded=_0x229f79[_0x174b5a(0xcf)];let _0x29d771='';if(helper['isTypescriptProject'](_0x11497d['path'])){_0x29d771=_0x174b5a(0xdb);const _0x329e2f=_0x257ded[_0x174b5a(0xb2)]('.');_0x329e2f[_0x229f79[_0x174b5a(0xf4)](_0x329e2f[_0x174b5a(0xf6)],0x1)]='ts',_0x257ded=_0x329e2f['join']('.'),logger[_0x174b5a(0x9c)](_0x229f79[_0x174b5a(0x85)](_0x229f79['SipnW'],_0x257ded));}else _0x29d771=_0x174b5a(0xf0);const _0x3b7332=path['join'](_0x11497d[_0x174b5a(0x10a)]?path[_0x174b5a(0x108)](_0x11497d['path']):process[_0x174b5a(0x98)](),_0x257ded);let _0x47fc54=_0x11497d[_0x174b5a(0x10a)]?_0x11497d[_0x174b5a(0x10a)]:'';_0x47fc54=_0x229f79[_0x174b5a(0x116)](_0x47fc54[_0x174b5a(0xf6)],0x0)?path['resolve'](_0x47fc54):'',process[_0x174b5a(0xdd)]['USER_CONFIG_DETAILS_PATH']=_0x47fc54;const _0x32ce74=helper['getProxyUrl'](_0x5b7d87[_0x174b5a(0xa7)]);_0x32ce74&&(_0x29d771=_0x229f79[_0x174b5a(0x85)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x32ce74+_0x174b5a(0x10f),_0x29d771));helper[_0x174b5a(0xe9)]({},_0x3ad4d0),fs[_0x174b5a(0xb5)](_0x3b7332,_0x29d771),helper[_0x174b5a(0x81)]();const _0x11a3b7=_0x229f79['gdcbe'](spawn,_0x229f79[_0x174b5a(0xbf)],[_0x229f79[_0x174b5a(0x87)],_0x229f79[_0x174b5a(0x91)],_0x229f79[_0x174b5a(0x10e)],_0x3b7332,..._0x3ad4d0['slice'](0x2)],{'shell':_0x229f79['YEHIp'](process[_0x174b5a(0xd4)],_0x229f79[_0x174b5a(0xda)]),'stdio':_0x229f79[_0x174b5a(0xad)],'cwd':process[_0x174b5a(0x98)](),'env':Object[_0x174b5a(0xee)]({},process[_0x174b5a(0xdd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x174b5a(0x10b)](_0x36a0d7),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x5b7d87['config'][_0x174b5a(0x96)][_0x174b5a(0xd6)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x96)][_0x174b5a(0xc6)],'BROWSERSTACK_LOG_LEVEL':_0x5b7d87[_0x174b5a(0xa7)][_0x174b5a(0x11b)]})}),_0x2ec3d4=()=>{const _0x57d221=_0x174b5a;try{const _0x688b85=path[_0x57d221(0xf2)](helper[_0x57d221(0xbe)](),_0x229f79['Gmogo'],_0x229f79[_0x57d221(0xc7)]);if(fs[_0x57d221(0x82)](_0x688b85)){let _0x5aff35=fs[_0x57d221(0xb7)](_0x688b85);_0x5aff35=JSON[_0x57d221(0xe8)](_0x5aff35),_0x5b7d87['errorMessage']=_0x5aff35,fs['unlinkSync'](_0x688b85);}}catch(_0x7441dc){logger[_0x57d221(0x9c)](_0x229f79[_0x57d221(0xb0)](_0x229f79[_0x57d221(0x102)],_0x7441dc));}};_0x11a3b7['on'](_0x229f79[_0x174b5a(0xec)],async _0x35ff66=>{const _0x1d5712=_0x174b5a;try{const _0x2d8cec=_0x229f79[_0x1d5712(0xcc)][_0x1d5712(0xb2)]('|');let _0x3921ec=0x0;while(!![]){switch(_0x2d8cec[_0x3921ec++]){case'0':await TestHubHandler[_0x1d5712(0x7e)]();continue;case'1':process['exitCode']=_0x35ff66;continue;case'2':logger[_0x1d5712(0x9c)](_0x1d5712(0xab)+_0x4f0964);continue;case'3':logger[_0x1d5712(0x9c)](_0x1d5712(0xd8)+_0x35ff66);continue;case'4':fs[_0x1d5712(0xf9)](_0x3b7332);continue;case'5':await helper[_0x1d5712(0xac)](_0x5b7d87);continue;case'6':fs[_0x1d5712(0xf9)](_0x4f0964);continue;case'7':_0x229f79['najXp'](_0x2ec3d4);continue;case'8':logger[_0x1d5712(0x112)]('Deleting\x20'+_0x3b7332);continue;}break;}}catch(_0x21e911){logger['debug'](_0x229f79['DoGdD'](_0x229f79[_0x1d5712(0x9b)],_0x21e911));}});}function a33_0xa922(){const _0x280db3=['../../helpers/testhub/testhubHandler','nwWiq','../../helpers/test-observability/utils','winstonLogger','Gmogo','sUURv','platform','true','skipSessionStatus','includes','Playwright\x20process\x20exited\x20with\x20code\x20','PLAYWRIGHT','BpWAw','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','14436180PwKDtP','env','ritaw','indexOf','cwpcv','1148328AJSSSR','getPackageType','../../helpers/logger','accessibility','error','tjuuI','apply','parse','filterBrowserstackConfig','findIndex','eiQiK','pshJn','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','assign','BROWSERSTACK_AUTOMATION','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','slice','join','BROWSERSTACK_TEST_ACCESSIBILITY_YML','qbAOR','filter','length','yKjXq','482084rjiLrY','unlinkSync','Error\x20in\x20deleting\x20playwright\x20results','598648jLUrxA','Error\x20in\x20closing\x20playwright','5MOSXhB','isTrue','../../helpers/testhub/utils','inherit','isFalse','fjOse','PACKAGE_TYPE','cuxSV','requirePWModule','AqBYP','--config','dirname','close','path','getConfigPath','KtchJ','1138182SYAuNi','ZVuEM','\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();','suRIn','Updated\x20config\x20file\x20name\x20to\x20-\x20','info','trim','BROWSERSTACK_SETUP_CONFIG_PATH','playwright','VPFBj','45sZAzuV','get','BtHTH','--disable-browserstack-automation','logLevel','../../helpers/test-observability/error-handler','../utils/constants','has','playwright-browserstack-sdk.config.cjs','automation','stop','Error\x20in\x20getting\x20funnel\x20data\x20results','utFXw','markSDKSetupComplete','existsSync','map','845280OULPDS','NOGkk','npx','lJwrn','NLVZT','initialize','launchBuild','7qdlJtw','3ODoeXY','nestedKeyValue','browserstackSetupConfig.json','Mdzni','isUndefined','Bfoxt','win32','--config=','accessibilityOptions','DlmXy','testContextOptions','exports','cwd','vWSSt','InAct','skVNZ','debug','MODULE','./accessibility-helper','concat','child_process','startsWith','testObservability','ELLIS','NSAEQ','util','YEHIp','config','BROWSERSTACK_RERUN','6687850yvcBot','pw_result.json','Deleting\x20','finalExecution','JVEFn','null','--disable-test-observability','DoGdD','nleLw','split','BROWSERSTACK_TEST_OBSERVABILITY','qVXwr','writeFileSync','BROWSERSTACK_RERUN_TESTS','readFileSync','BROWSERSTACK_PW_CONFIG_DIR','push','cliConfig','resolve','splice','mrEgc','homedir','btjhV','CQvLw','--grep','NcejQ','Yaoyc','QibJi','iqynS','skipSessionName','NpNaY','../../helpers/BrowserStackSetup','YyOmM','UpCPG','../../helpers/accessibility-automation/helper','KuiHu','7|0|5|1|3|8|4|2|6'];a33_0xa922=function(){return _0x280db3;};return a33_0xa922();}module[a33_0x2d8495(0x97)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x5d7b7b=a34_0xb1d9;function a34_0x182d(){const _0xb0bb27=['1.33.0','12411LDYYGc','ohRBq','nZCXK','IlyHI','toString','Call\x20to\x20child\x20fork\x20with\x20args\x20','env','../../helpers/logger','10401HTrSYt','RkGHb','fyUcy','Uykda','qJYgY','112mDtyyI','wiqGH','includes','629624gWlbLP','fork','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Running\x20existing\x20global\x20setup','2646OxGqwe','../../helpers/test-observability/utils','../../helpers/helper','13435ChnQYe','1381480ynyifP','WlnDy','config','45hLOwJC','winstonLogger','412KmmdxA','Not\x20able\x20to\x20import\x20globalSetup','9198398mGlvpT','bnTML','requirePWModule','4482590SbkUDW','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','compareVersions','apply','function','djwJC'];a34_0x182d=function(){return _0xb0bb27;};return a34_0x182d();}(function(_0x19014e,_0xde468f){const _0x507761=a34_0xb1d9,_0x4e8993=_0x19014e();while(!![]){try{const _0x4a0804=parseInt(_0x507761(0x118))/0x1*(parseInt(_0x507761(0x10e))/0x2)+parseInt(_0x507761(0x109))/0x3*(parseInt(_0x507761(0x11e))/0x4)+-parseInt(_0x507761(0xfa))/0x5+parseInt(_0x507761(0x115))/0x6*(-parseInt(_0x507761(0x101))/0x7)+parseInt(_0x507761(0x111))/0x8*(parseInt(_0x507761(0x11c))/0x9)+-parseInt(_0x507761(0x119))/0xa+parseInt(_0x507761(0x120))/0xb;if(_0x4a0804===_0xde468f)break;else _0x4e8993['push'](_0x4e8993['shift']());}catch(_0x3824f1){_0x4e8993['push'](_0x4e8993['shift']());}}}(a34_0x182d,0x7f98b));const child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require(a34_0x5d7b7b(0x116)),helper=require(a34_0x5d7b7b(0x117)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),logger=require(a34_0x5d7b7b(0x108))[a34_0x5d7b7b(0x11d)];function a34_0xb1d9(_0x2892f9,_0x3788a6){const _0x182d32=a34_0x182d();return a34_0xb1d9=function(_0xb1d9ed,_0x55c270){_0xb1d9ed=_0xb1d9ed-0xfa;let _0x327be7=_0x182d32[_0xb1d9ed];return _0x327be7;},a34_0xb1d9(_0x2892f9,_0x3788a6);}module['exports']=async function(_0x46c751){const _0x349f53=a34_0x5d7b7b,_0x4f5e7e={'WlnDy':function(_0x5862a0,_0x4b96b6){return _0x5862a0(_0x4b96b6);},'RkGHb':function(_0x562454){return _0x562454();},'IlyHI':'./mock-process.js','wiqGH':function(_0xba634a){return _0xba634a();},'ohRBq':_0x349f53(0x114),'VnSsm':function(_0x321470){return _0x321470();},'Uykda':function(_0x43f5e9,_0x5862ca){return _0x43f5e9(_0x5862ca);},'qJYgY':function(_0x4bbfee,_0x7b8d03){return _0x4bbfee>=_0x7b8d03;},'nZCXK':_0x349f53(0x100),'bnTML':function(_0x337d7d,_0x3d9d5e,_0x265f8e){return _0x337d7d(_0x3d9d5e,_0x265f8e);},'PTjJy':function(_0x32f4cb,_0x28397e){return _0x32f4cb!==_0x28397e;},'djwJC':_0x349f53(0xfe),'kvPYV':_0x349f53(0x11f),'fyUcy':function(_0x341530,_0x8497e4){return _0x341530(_0x8497e4);}},_0x4d1bfd=child_process[_0x349f53(0x112)];child_process[_0x349f53(0x112)]=function(){const _0x5d7238=_0x349f53;return _0x4f5e7e[_0x5d7238(0x11a)](debug,_0x5d7238(0x106)+arguments[0x0]),arguments[0x0][_0x5d7238(0x110)](_0x4f5e7e[_0x5d7238(0x10a)](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4f5e7e[_0x5d7238(0x104)]):logger['error']('Path\x20'+_0x4f5e7e[_0x5d7238(0x10f)](getForkProcessPath)+'\x20is\x20not\x20found'),_0x4d1bfd[_0x5d7238(0xfd)](null,arguments);};if(process[_0x349f53(0x107)][_0x349f53(0x113)]){_0x4f5e7e[_0x349f53(0x11a)](debug,_0x4f5e7e[_0x349f53(0x102)]);try{const {loadGlobalHook:_0x114273}=helper[_0x349f53(0x122)][_0x349f53(0xfd)](null,_0x4f5e7e['VnSsm'](getLoadUtilsPath)),_0x22eb9b=_0x4f5e7e[_0x349f53(0x10c)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT']);let _0x21ab1f=_0x46c751;if(_0x4f5e7e[_0x349f53(0x10d)](helper[_0x349f53(0xfc)](_0x22eb9b,_0x4f5e7e[_0x349f53(0x103)]),0x0)){const _0x3c44c5={};_0x3c44c5[_0x349f53(0x11b)]=_0x46c751,_0x21ab1f=_0x3c44c5;}const _0x49376e=await _0x4f5e7e[_0x349f53(0x121)](_0x114273,_0x21ab1f,process[_0x349f53(0x107)][_0x349f53(0x113)]);if(_0x4f5e7e['PTjJy'](typeof _0x49376e,_0x4f5e7e[_0x349f53(0xff)]))throw new Error(_0x4f5e7e['kvPYV']);return _0x49376e[_0x349f53(0xfd)](null,arguments);}catch(_0x73a5a0){_0x4f5e7e[_0x349f53(0x10b)](debug,_0x349f53(0xfb)+_0x73a5a0[_0x349f53(0x105)]());}}};
|