browserstack-node-sdk 1.33.4 → 1.33.5
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_0x1f69c5=a27_0xcff4;(function(_0x4edb52,_0x35d6a2){const _0x574a82=a27_0xcff4,_0x295da6=_0x4edb52();while(!![]){try{const _0xd70356=-parseInt(_0x574a82(0x1f2))/0x1*(parseInt(_0x574a82(0x1ca))/0x2)+-parseInt(_0x574a82(0x1de))/0x3*(-parseInt(_0x574a82(0x1cd))/0x4)+parseInt(_0x574a82(0x1dc))/0x5*(-parseInt(_0x574a82(0x21a))/0x6)+-parseInt(_0x574a82(0x1cf))/0x7+-parseInt(_0x574a82(0x1bb))/0x8*(-parseInt(_0x574a82(0x1d3))/0x9)+parseInt(_0x574a82(0x20b))/0xa*(parseInt(_0x574a82(0x1b7))/0xb)+parseInt(_0x574a82(0x1f1))/0xc;if(_0xd70356===_0x35d6a2)break;else _0x295da6['push'](_0x295da6['shift']());}catch(_0x2f657f){_0x295da6['push'](_0x295da6['shift']());}}}(a27_0x5b2a,0x194d8));const logger=require(a27_0x1f69c5(0x1fd))[a27_0x1f69c5(0x1b6)],helper=require(a27_0x1f69c5(0x21f)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x1f69c5(0x1e0)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x534b30,_0x3804b5=null,_0x1b2f0e=![])=>{const _0x3d663f=a27_0x1f69c5,_0x4de8af={'rZVqw':function(_0x457fb9,_0x415b99){return _0x457fb9!==_0x415b99;},'MMyqH':_0x3d663f(0x207),'yEAhM':function(_0x1f9865,_0x4e4593){return _0x1f9865+_0x4e4593;},'skYaM':function(_0x5e6309,_0x150716){return _0x5e6309+_0x150716;},'Whhpw':'https://','soeXC':_0x3d663f(0x1f7),'PafUT':_0x3d663f(0x1c5),'XQngO':_0x3d663f(0x219),'DqaOH':_0x3d663f(0x1ba),'SXvEM':'edgeOptions','RBUPX':_0x3d663f(0x209),'KImlW':'firefoxOptions','SKcXb':_0x3d663f(0x21e),'UMfcP':_0x3d663f(0x1e8),'tcOgE':_0x3d663f(0x1e9),'gbRRP':function(_0x5a479f,_0x32bd89){return _0x5a479f===_0x32bd89;},'LPKWK':_0x3d663f(0x1db),'ZHtzC':_0x3d663f(0x220),'RkujH':function(_0x54aab1,_0x1602f1,_0x442e16){return _0x54aab1(_0x1602f1,_0x442e16);},'fCYjh':function(_0x2553d5,_0x48afea,_0x556955){return _0x2553d5(_0x48afea,_0x556955);},'UAfjb':function(_0x54a6ce,_0x54e850){return _0x54a6ce(_0x54e850);},'JVnAa':function(_0x84b2df,_0x5b2d64,_0x9ca4ea){return _0x84b2df(_0x5b2d64,_0x9ca4ea);},'YStTb':_0x3d663f(0x1fb),'OQmjh':_0x3d663f(0x1cb),'HQffz':_0x3d663f(0x20d),'xiGSH':function(_0x523f63){return _0x523f63();},'dyuZZ':_0x3d663f(0x1ea),'CiOzg':_0x3d663f(0x1d7),'nhJpZ':function(_0x548bdb,_0x206796){return _0x548bdb(_0x206796);},'MNhCe':function(_0x5e5578,_0x7ea822){return _0x5e5578(_0x7ea822);},'hJDFi':_0x3d663f(0x215),'PRKNE':_0x3d663f(0x202)},_0x57336a=helper['requireHttpClient']();let _0x3cd5a7;try{_0x3cd5a7=helper[_0x3d663f(0x1d5)](),_0x3cd5a7[_0x3d663f(0x1d1)]&&(_0x3cd5a7[_0x3d663f(0x1fc)]=_0x3cd5a7[_0x3d663f(0x1d1)]);}catch(_0x4f8e65){return;}if(helper[_0x3d663f(0x1c0)]()){const _0x2bce42={};_0x2bce42[_0x3d663f(0x1e7)]=_0x534b30[_0x3d663f(0x1f8)],helper[_0x3d663f(0x203)](_0x2bce42,new Map(),new Map()),logger[_0x3d663f(0x1f0)](_0x4de8af[_0x3d663f(0x20e)]),logger[_0x3d663f(0x1d6)](_0x4de8af[_0x3d663f(0x1ef)]);}class _0x558dd4 extends _0x57336a[_0x3d663f(0x1c6)]{['send'](_0x17f511){const _0x3e2480=_0x3d663f;if(_0x4de8af[_0x3e2480(0x208)](_0x17f511[_0x3e2480(0x1bc)],_0x4de8af[_0x3e2480(0x1c1)])&&_0x4de8af[_0x3e2480(0x208)](global[_0x3e2480(0x1eb)],''))try{global[_0x3e2480(0x1eb)]=_0x4de8af['yEAhM'](_0x4de8af[_0x3e2480(0x226)](_0x4de8af['Whhpw'],global['newHubUrl']),_0x4de8af[_0x3e2480(0x1c3)]),this[_0x3e2480(0x1dd)]=hubAllocator[_0x3e2480(0x1d4)](global[_0x3e2480(0x1eb)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x3e2480(0x1eb)]),global[_0x3e2480(0x1eb)]='';}catch(_0x48d77b){logger[_0x3e2480(0x205)](_0x48d77b);}return super[_0x3e2480(0x213)](_0x17f511);}}class _0x3f1e9f extends _0x3cd5a7[_0x3d663f(0x1fc)]{[_0x3d663f(0x21b)](){const _0x3b97ff=_0x3d663f;return this['url_']=helper[_0x3b97ff(0x1b5)](_0x534b30),logger[_0x3b97ff(0x1d6)](_0x3b97ff(0x210)+this['url_']),this;}['__setBrowserOptions'](_0x39914a){const _0x49ac06=_0x3d663f;let _0x32b62e={};for(const _0x50c404 in _0x39914a){switch(_0x50c404){case _0x4de8af[_0x49ac06(0x1bd)]:case _0x4de8af['XQngO']:this[_0x49ac06(0x1d0)]&&(_0x32b62e=this[_0x49ac06(0x1d0)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1d0)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1d0)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1ff)]:case _0x4de8af['SXvEM']:this[_0x49ac06(0x1e4)]&&(_0x32b62e=this[_0x49ac06(0x1e4)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1e4)]['CAPABILITY_KEY'])||{},this[_0x49ac06(0x1e4)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1e4)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1c2)]:case _0x4de8af[_0x49ac06(0x1f9)]:this[_0x49ac06(0x212)]&&(_0x32b62e=this['firefoxOptions_'][_0x49ac06(0x1ce)](this[_0x49ac06(0x212)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x212)][_0x49ac06(0x1c8)](this[_0x49ac06(0x212)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x1f4)]:this['safariOptions_']&&(_0x32b62e=this[_0x49ac06(0x1c9)][_0x49ac06(0x1ce)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)])||{},this[_0x49ac06(0x1c9)][_0x49ac06(0x1c8)](this[_0x49ac06(0x1c9)][_0x49ac06(0x206)],helper['mergeDeep'](_0x32b62e,_0x39914a[_0x50c404])));break;case _0x4de8af[_0x49ac06(0x20a)]:case _0x4de8af[_0x49ac06(0x1d9)]:this['ieOptions_']&&(_0x32b62e=this['ieOptions_'][_0x49ac06(0x1ce)](this['ieOptions_'][_0x49ac06(0x206)])||{},this[_0x49ac06(0x218)]['set'](this[_0x49ac06(0x218)][_0x49ac06(0x206)],helper[_0x49ac06(0x1e2)](_0x32b62e,_0x39914a[_0x50c404])));break;}}}[_0x3d663f(0x1d8)](){const _0x15de8c=_0x3d663f;return logger[_0x15de8c(0x1d6)](_0x4de8af['ZHtzC']),this[_0x15de8c(0x1b9)](_0x534b30[_0x15de8c(0x1b2)]),Object[_0x15de8c(0x225)](_0x534b30[_0x15de8c(0x1b2)])[_0x15de8c(0x1da)](_0x571131=>{const _0xbda710=_0x15de8c,_0x380dd3=this['capabilities_'][_0xbda710(0x1ce)](_0x571131);_0x4de8af['gbRRP'](typeof _0x380dd3,_0x4de8af[_0xbda710(0x21c)])?this['capabilities_'][_0xbda710(0x1c8)](_0x571131,helper[_0xbda710(0x1e2)](_0x380dd3,_0x534b30[_0xbda710(0x1b2)][_0x571131])):this[_0xbda710(0x1b8)][_0xbda710(0x1c8)](_0x571131,_0x534b30['capability'][_0x571131]);}),this;}['build'](){const _0xbb5bf3=_0x3d663f,_0x2b449d={'ghqIY':_0x4de8af[_0xbb5bf3(0x1d2)],'QyBeC':_0x4de8af[_0xbb5bf3(0x1f5)],'ICLZq':function(_0x281001,_0x29beef,_0x24224e){return _0x4de8af['fCYjh'](_0x281001,_0x29beef,_0x24224e);}};if(helper[_0xbb5bf3(0x1c0)]()){const _0x21c4d1=_0x4de8af[_0xbb5bf3(0x223)]['split']('|');let _0x2b0b97=0x0;while(!![]){switch(_0x21c4d1[_0x2b0b97++]){case'0':_0x4de8af[_0xbb5bf3(0x1ee)](isAccessibilityAutomationSession)&&_0x4de8af[_0xbb5bf3(0x1be)](setAccessibilityCapabilities,_0x534b30);continue;case'1':logger['debug'](_0x4de8af[_0xbb5bf3(0x222)]);continue;case'2':if(helper['isPacProxy'](_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)]))this[_0xbb5bf3(0x21d)]=helper[_0xbb5bf3(0x228)](_0x534b30[_0xbb5bf3(0x1ed)]['proxyUrl']);else _0x534b30['proxySettings'][_0xbb5bf3(0x1e6)]&&(this[_0xbb5bf3(0x1e5)]=_0x534b30[_0xbb5bf3(0x1ed)][_0xbb5bf3(0x1e6)],logger['debug'](_0xbb5bf3(0x1ec)+this['proxy_']));continue;case'3':this[_0xbb5bf3(0x1d8)]();continue;case'4':this['setServer']();continue;case'5':globals[_0xbb5bf3(0x1c4)](_0x4de8af[_0xbb5bf3(0x1fa)])&&(!_0x4de8af[_0xbb5bf3(0x1fe)](setExtension,this,_0x534b30)&&globals[_0xbb5bf3(0x201)](_0x4de8af['CiOzg'],![]));continue;}break;}}const _0x405cdc=super['build']();return _0x405cdc[_0xbb5bf3(0x1bf)][_0xbb5bf3(0x211)](_0x3dad6d=>{const _0x169082=_0xbb5bf3;try{const _0x1b4e47=_0x3dad6d[_0x169082(0x1df)]['get'](_0x2b449d[_0x169082(0x1c7)]);_0x1b4e47?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1b4e47),hubAllocator[_0x169082(0x1f3)](_0x1b4e47),helper[_0x169082(0x204)](_0x1b4e47)):logger[_0x169082(0x1d6)](_0x2b449d[_0x169082(0x200)]);}catch(_0x4ce326){logger[_0x169082(0x1d6)](_0x169082(0x227)+_0x4ce326);}}),_0x405cdc[_0xbb5bf3(0x1e3)]=0x0,_0x405cdc[_0xbb5bf3(0x211)]&&_0x405cdc[_0xbb5bf3(0x211)](_0x54a839=>{const _0x261ebb=_0xbb5bf3,_0x195003={'FvfYH':function(_0x2c94fe,_0x417d41,_0x565c8e){const _0x1567be=a27_0xcff4;return _0x4de8af[_0x1567be(0x1f6)](_0x2c94fe,_0x417d41,_0x565c8e);}};_0x4de8af[_0x261ebb(0x1b4)](overrideQuit,_0x54a839,_0x405cdc),_0x4de8af[_0x261ebb(0x1be)](overrideTakeScreenshot,_0x54a839),helper[_0x261ebb(0x229)](_0x54a839,_0x534b30),helper['overrideExecute'](_0x54a839,_0x534b30),_0x54a839['getAccessibilityResultsSummary']=async()=>{return await _0x195003['FvfYH'](getAccessibilityResultsSummary,_0x54a839,global);},_0x54a839[_0x261ebb(0x217)]=async()=>{const _0x4f1fbc=_0x261ebb;return await _0x2b449d[_0x4f1fbc(0x1e1)](getAccessibilityResults,_0x54a839,global);};}),_0x405cdc['getAccessibilityResultsSummary']=async()=>{const _0x2558ad=_0xbb5bf3;return await _0x2b449d[_0x2558ad(0x1e1)](getAccessibilityResultsSummary,_0x405cdc,global);},_0x405cdc['getAccessibilityResults']=async()=>{const _0x1f7898=_0xbb5bf3;return await _0x4de8af[_0x1f7898(0x1fe)](getAccessibilityResults,_0x405cdc,global);},_0x4de8af['nhJpZ'](overrideTakeScreenshot,_0x405cdc),_0x4de8af['MNhCe'](overrideQuit,_0x405cdc),helper[_0xbb5bf3(0x229)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x224)](_0x405cdc,_0x534b30),helper[_0xbb5bf3(0x221)](global[_0xbb5bf3(0x1b3)])&&(global['__driversArray']=[]),helper[_0xbb5bf3(0x221)](global['__drivers'])&&(global[_0xbb5bf3(0x1cc)]=[]),global['__driversArray']['push'](_0x405cdc),global[_0xbb5bf3(0x20f)]=_0x405cdc,_0x4de8af[_0xbb5bf3(0x208)](global[_0xbb5bf3(0x1cc)],undefined)&&global['__drivers']['push'](_0x405cdc),_0x3804b5&&helper[_0xbb5bf3(0x221)](_0x3804b5[_0xbb5bf3(0x214)]['__driversArray'])&&(_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)]=[]),_0x3804b5&&_0x4de8af[_0xbb5bf3(0x208)](_0x3804b5[_0xbb5bf3(0x214)]['__drivers'],undefined)&&(_0x3804b5[_0xbb5bf3(0x214)]['__drivers'][_0xbb5bf3(0x20c)](_0x405cdc),_0x3804b5[_0xbb5bf3(0x214)][_0xbb5bf3(0x1b3)][_0xbb5bf3(0x20c)](_0x405cdc)),_0x405cdc;}}return _0x3cd5a7[_0x3d663f(0x1d1)]=_0x3cd5a7[_0x3d663f(0x1fc)],_0x3cd5a7['Builder']=_0x3f1e9f,_0x57336a['HttpClient']=_0x558dd4,_0x3cd5a7;};module[a27_0x1f69c5(0x216)]['browserstackAgentObservability']=modify;function a27_0xcff4(_0x471c4f,_0x4d6e87){const _0x5b2adf=a27_0x5b2a();return a27_0xcff4=function(_0xcff457,_0xcc6159){_0xcff457=_0xcff457-0x1b2;let _0x255c05=_0x5b2adf[_0xcff457];return _0x255c05;},a27_0xcff4(_0x471c4f,_0x4d6e87);}function a27_0x5b2a(){const _0x89d5be=['get','556423gJLGEI','chromeOptions_','originalBuilder','YStTb','9pYWwUH','getRequestOptions','requireSeleniumWebdriver','debug','isAccessibilityPlatform','setCapabilities','tcOgE','forEach','object','960385hhyKEp','options_','62247COJYFm','caps_','../../../helpers/patchHelpers','ICLZq','mergeDeep','quitCount_','edgeOptions_','proxy_','proxyUrl','logLevel','se:ieOptions','ieOptions','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','newHubUrl','Proxy\x20set\x20to\x20','proxySettings','xiGSH','PRKNE','info','2539776CVPCNy','467wuassp','updateHubUrl','SKcXb','OQmjh','RkujH','/wd/hub','browserStackLogLevel','KImlW','CiOzg','optimalHubUrl','Builder','../../../helpers/logger','JVnAa','DqaOH','QyBeC','setGlobal','Modifying\x20webdriver\x20builder','setLogLevel','storeOptimalHubUrl','error','CAPABILITY_KEY','/session','rZVqw','moz:firefoxOptions','UMfcP','4790wPoveC','push','0|4|3|2|5|1','hJDFi','__driver','Hub\x20url\x20set\x20to\x20','then','firefoxOptions_','send','global','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','exports','getAccessibilityResults','ieOptions_','chromeOptions','6GYxHsp','setServer','LPKWK','agent_','safari.options','../../../helpers/helper','Setting\x20Browserstack\x20capabilities','isUndefined','dyuZZ','HQffz','overrideExecute','keys','skYaM','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','getHttpAgent','overrideGet','capability','__driversArray','fCYjh','getHubUrl','winstonLogger','2497EjqdoE','capabilities_','__setBrowserOptions','ms:edgeOptions','110872cLpdrF','path','PafUT','UAfjb','session_','isBrowserstackInfra','MMyqH','RBUPX','soeXC','getGlobal','goog:chromeOptions','HttpClient','ghqIY','set','safariOptions_','180sbgjKi','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','__drivers','16WPQWMp'];a27_0x5b2a=function(){return _0x89d5be;};return a27_0x5b2a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a28_0x423b(_0x44bc0e,_0x462b85){const _0x181d69=a28_0x181d();return a28_0x423b=function(_0x423bd5,_0x4563a2){_0x423bd5=_0x423bd5-0x72;let _0x4e9f45=_0x181d69[_0x423bd5];return _0x4e9f45;},a28_0x423b(_0x44bc0e,_0x462b85);}const a28_0x7c7253=a28_0x423b;(function(_0x45bdd4,_0x1a6719){const _0x282934=a28_0x423b,_0x27a501=_0x45bdd4();while(!![]){try{const _0x37b02f=-parseInt(_0x282934(0x7c))/0x1+-parseInt(_0x282934(0x7b))/0x2*(parseInt(_0x282934(0x7d))/0x3)+parseInt(_0x282934(0x77))/0x4+-parseInt(_0x282934(0x72))/0x5+-parseInt(_0x282934(0x74))/0x6+-parseInt(_0x282934(0x7e))/0x7+-parseInt(_0x282934(0x7a))/0x8*(-parseInt(_0x282934(0x76))/0x9);if(_0x37b02f===_0x1a6719)break;else _0x27a501['push'](_0x27a501['shift']());}catch(_0x19fe42){_0x27a501['push'](_0x27a501['shift']());}}}(a28_0x181d,0x37925));const requestSpy=require('../../../helpers/request-spy'),constants=require(a28_0x7c7253(0x73)),{addRequestSpy}=require(a28_0x7c7253(0x75));function a28_0x181d(){const _0x1086fa=['152lLUkKm','8AmHTvw','195645kdmVxl','237486FciZVc','3146843XAJsaP','946505MRWRkg','../../../bin/utils/constants','1031508JusrfZ','../../../helpers/test-observability/utils','543465UAkTYq','1613468qJbJNg','restore','mochaHooks'];a28_0x181d=function(){return _0x1086fa;};return a28_0x181d();}exports[a28_0x7c7253(0x79)]={'beforeAll'(){const _0x274518={'CvzGt':function(_0x25f640){return _0x25f640();}},_0xdcc74='browserstack internal helper hook';_0x274518['CvzGt'](addRequestSpy);},'afterAll'(){const _0x3ad08c=a28_0x7c7253,_0x38e555='browserstack internal helper hook';this['timeout'](0xea60),requestSpy[_0x3ad08c(0x78)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x192270=a29_0x434a;(function(_0x1eb9fb,_0x3719fb){const _0x143df5=a29_0x434a,_0x4714bf=_0x1eb9fb();while(!![]){try{const _0x5864b0=parseInt(_0x143df5(0xc4))/0x1+parseInt(_0x143df5(0xd7))/0x2+-parseInt(_0x143df5(0x91))/0x3+-parseInt(_0x143df5(0x8a))/0x4+-parseInt(_0x143df5(0xbd))/0x5+parseInt(_0x143df5(0xd4))/0x6*(parseInt(_0x143df5(0xa2))/0x7)+parseInt(_0x143df5(0xb7))/0x8;if(_0x5864b0===_0x3719fb)break;else _0x4714bf['push'](_0x4714bf['shift']());}catch(_0x5b8323){_0x4714bf['push'](_0x4714bf['shift']());}}}(a29_0x5828,0xe2c22));function a29_0x5828(){const _0x2e77ba=['markedStatus','ciHBu','zDnar','slice','1804746VkSCUU','bzgwC','appium:app','796932HbKJPg','sendPlatformDetails','rDsVk','jxnAy','_beforeEach','mapTestHooks','UirKN','../../utils/logPatcher','UhBUI','type','zOSfp','qnUDJ','tQTCq','_beforeAll','QmkkZ','getHookSkippedTests','728076lWypjf','vJzKQ','uuid','tests','state','PysqK','JysZW','1390239IHkLpi','fwkSL','../../../helpers/helper','failed','JfieY','TEST_PLATFORM','bs:addPlatformDetails:','jerUT','toISOString','ZLNJA','toJSON','__cloud_provider___','XrXQe','../../../../package.json','getHookDetails','HMWiD','nVCyg','7SFAIaj','getBrowserVersion','indexOf','IHZFi','pending','../../../helpers/testhub/utils','gxHwJ','_afterEach','OrLZa','browserstack','../../utils/logReportingAPI','parent','emit','concat','fromEntries','lhzVC','automate','hook','hookAnalyticsId','suites','cvhVA','15380344qiySAO','app','VxWJf','getBrowserName','pid','_afterAll','8433840WIMNlE','ZMtIJ','substring','dDEXP','generic','string','keys','639202UwCtip','OezEa','../../../helpers/test-observability/utils','getHooksForTest','split','getSession','unknown_grid','getCapabilities','Mpvnr','BbXUp','forEach','aCvVd'];a29_0x5828=function(){return _0x2e77ba;};return a29_0x5828();}function a29_0x434a(_0x564d33,_0x54d2d2){const _0x58285f=a29_0x5828();return a29_0x434a=function(_0x434ae8,_0x1fbb51){_0x434ae8=_0x434ae8-0x81;let _0x471e57=_0x58285f[_0x434ae8];return _0x471e57;},a29_0x434a(_0x564d33,_0x54d2d2);}const {v4:uuidv4}=require(a29_0x192270(0x8c)),{name,version}=require(a29_0x192270(0x9e)),logPatcher=require(a29_0x192270(0x81)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x192270(0xac)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x192270(0xc6)),{consoleHolder}=require('../../../helpers/test-observability/constants'),{getPlatformVersion}=require(a29_0x192270(0x93)),{shouldProcessEventForTesthub}=require(a29_0x192270(0xa7));console={},Object[a29_0x192270(0xc3)](consoleHolder)['forEach'](_0x2697cd=>{console[_0x2697cd]=(..._0x47b49c)=>{BSTestOpsPatcher[_0x2697cd](..._0x47b49c);};}),exports['getTestEnv']=()=>{const _0x2c7ee5=a29_0x192270,_0x238ff8={'GQRvc':_0x2c7ee5(0xc1),'JysZW':function(_0x1cbda4){return _0x1cbda4();}};return{'ci':_0x238ff8['GQRvc'],'key':_0x238ff8[_0x2c7ee5(0x90)](uuidv4),'version':version,'collector':'js-'+name};},exports[a29_0x192270(0x9f)]=_0x1e568a=>{const _0x380102=a29_0x192270,_0x2aa878={};_0x2aa878['zDnar']=function(_0x44da52,_0x9932a4){return _0x44da52!==_0x9932a4;},_0x2aa878[_0x380102(0x82)]=_0x380102(0xc2),_0x2aa878['QmkkZ']='hook:',_0x2aa878[_0x380102(0xcc)]=_0x380102(0xb3);const _0x16e6b9=_0x2aa878;if(!_0x1e568a||_0x16e6b9[_0x380102(0xd2)](typeof _0x1e568a,_0x16e6b9[_0x380102(0x82)]))return[null,null];if(_0x16e6b9['zDnar'](_0x1e568a['indexOf'](_0x16e6b9['QmkkZ']),-0x1)){const _0x46f3be=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0x88)]);return[_0x46f3be[0x0][_0x380102(0xd3)](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x46f3be[0x1][_0x380102(0xbf)](0x1)];}else{if(_0x16e6b9[_0x380102(0xd2)](_0x1e568a[_0x380102(0xa4)](_0x16e6b9[_0x380102(0xcc)]),-0x1)){const _0x3ed1e3=_0x1e568a[_0x380102(0xc8)](_0x16e6b9[_0x380102(0xcc)]);return[_0x3ed1e3[0x0]['slice'](0x0,-0x1)[_0x380102(0xc8)]('\x22')[0x1],_0x1e568a];}}return[null,null];},exports[a29_0x192270(0xc7)]=_0x34828d=>{const _0x354bd1=a29_0x192270,_0x51e423={'OrLZa':function(_0x3cea9c,_0x5454e7){return _0x3cea9c(_0x5454e7);},'aCvVd':'_beforeAll','ciHBu':_0x354bd1(0xbc),'vJzKQ':'_beforeEach','OezEa':_0x354bd1(0xa9)};if(!_0x34828d||!_0x34828d[_0x354bd1(0xad)])return[];const _0x8dac44=[];return[_0x51e423[_0x354bd1(0xcf)],_0x51e423[_0x354bd1(0xd1)],_0x51e423[_0x354bd1(0x8b)],_0x51e423[_0x354bd1(0xc5)]][_0x354bd1(0xce)](_0x5df83e=>{const _0x1719f0=_0x354bd1,_0x110fb4={'shBgX':function(_0x3f3b54,_0x3dc30c){const _0x5d0925=a29_0x434a;return _0x51e423[_0x5d0925(0xaa)](_0x3f3b54,_0x3dc30c);}},_0x178810=_0x34828d['parent'][_0x5df83e]||[];_0x178810[_0x1719f0(0xce)](_0xad1b62=>{const _0x4330ab=_0x1719f0;_0xad1b62[_0x4330ab(0xb4)]&&!_0x110fb4['shBgX'](isInternalHook,_0xad1b62['fn'])&&_0x8dac44['push'](_0xad1b62[_0x4330ab(0xb4)]);});}),[..._0x8dac44,...exports['getHooksForTest'](_0x34828d[_0x354bd1(0xad)])];},exports[a29_0x192270(0xdc)]=_0x1e924e=>{const _0x27c224=a29_0x192270,_0x19d1ce={'tQTCq':function(_0x48117d){return _0x48117d();},'VNNMN':function(_0x508971,_0x129e51){return _0x508971===_0x129e51;},'qnUDJ':_0x27c224(0xa9),'OvBff':function(_0x3e3048){return _0x3e3048();},'PysqK':_0x27c224(0x87),'nVCyg':_0x27c224(0xbc),'rDsVk':_0x27c224(0xdb)};if(!_0x1e924e||!_0x1e924e[_0x27c224(0xad)])return;[_0x19d1ce[_0x27c224(0x8f)],_0x19d1ce[_0x27c224(0xa1)],_0x19d1ce[_0x27c224(0xd9)],_0x19d1ce['qnUDJ']][_0x27c224(0xce)](_0x291251=>{const _0x270b06=_0x27c224,_0x3f42c7={'VxWJf':function(_0x3521cc){const _0x322bcc=a29_0x434a;return _0x19d1ce[_0x322bcc(0x86)](_0x3521cc);},'dDEXP':function(_0x454e5d,_0x2c3d0c){return _0x19d1ce['VNNMN'](_0x454e5d,_0x2c3d0c);},'UirKN':_0x19d1ce[_0x270b06(0x85)],'afkvK':function(_0x425f1c){return _0x19d1ce['OvBff'](_0x425f1c);}},_0x1a4cfa=_0x1e924e['parent'][_0x291251]||[];_0x1a4cfa['forEach'](_0x37f391=>{const _0x1e5467=_0x270b06;if(!_0x37f391[_0x1e5467(0xb4)])_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7[_0x1e5467(0xb9)](uuidv4);else _0x37f391[_0x1e5467(0xd0)]&&_0x3f42c7[_0x1e5467(0xc0)](_0x291251,_0x3f42c7[_0x1e5467(0xdd)])&&(_0x37f391[_0x1e5467(0xb4)]=_0x3f42c7['afkvK'](uuidv4),delete _0x37f391[_0x1e5467(0xd0)]);});}),exports[_0x27c224(0xdc)](_0x1e924e[_0x27c224(0xad)]);},exports[a29_0x192270(0xd8)]=async(_0x3d9607,_0x3bc673)=>{const _0x48c8e5=a29_0x192270,_0x493e60={'bzgwC':function(_0x59e358){return _0x59e358();},'gxHwJ':function(_0x4fe09f,_0x4bcc99){return _0x4fe09f===_0x4bcc99;},'JfieY':_0x48c8e5(0xab),'BbXUp':_0x48c8e5(0xd6),'lhzVC':_0x48c8e5(0xb8),'IHZFi':'app-automate','QjmZX':_0x48c8e5(0xb2),'jxnAy':function(_0xb0f9c8,_0x1af63b){return _0xb0f9c8(_0x1af63b);},'HMWiD':_0x48c8e5(0xca),'ZLNJA':_0x48c8e5(0x96),'XrXQe':function(_0x39d937,_0x1ba12f){return _0x39d937(_0x1ba12f);}};try{if(!_0x493e60[_0x48c8e5(0xd5)](shouldProcessEventForTesthub))return;const _0x4e3529=await _0x3d9607[_0x48c8e5(0xcb)](),_0x3aefc4=await _0x3d9607[_0x48c8e5(0xc9)](),_0x15de00={},_0x191434=Object[_0x48c8e5(0xb0)](_0x3aefc4[_0x48c8e5(0xcb)]()['map_']),_0x5f4b44={'product':_0x493e60[_0x48c8e5(0xa8)](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])?_0x191434[_0x493e60[_0x48c8e5(0xcd)]]||_0x191434[_0x493e60[_0x48c8e5(0xb1)]]?_0x493e60[_0x48c8e5(0xa5)]:_0x493e60['QjmZX']:null,'capabilities':_0x191434,'platform':_0x4e3529['getPlatform'](),'platform_version':_0x493e60[_0x48c8e5(0xda)](getPlatformVersion,_0x493e60['gxHwJ'](global[_0x48c8e5(0x9c)],_0x493e60[_0x48c8e5(0x95)])),'browser':_0x4e3529[_0x48c8e5(0xba)](),'browser_version':_0x4e3529[_0x48c8e5(0xa3)](),'session_id':_0x3aefc4[_0x48c8e5(0x9b)]()};global[_0x48c8e5(0x9c)]?_0x15de00[global[_0x48c8e5(0x9c)]]=_0x5f4b44:_0x15de00[_0x493e60[_0x48c8e5(0xa0)]]=_0x5f4b44,process[_0x48c8e5(0xae)](_0x48c8e5(0x97)+process[_0x48c8e5(0xbb)],{'timestamp':new Date()[_0x48c8e5(0x99)](),'level':null,'message':null,'kind':_0x493e60[_0x48c8e5(0x9a)],'http_response':_0x15de00,'uuid':_0x3bc673});}catch(_0x3aaabb){_0x493e60[_0x48c8e5(0x9d)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x3aaabb);}},exports[a29_0x192270(0x89)]=_0x515a18=>{const _0x2f973f=a29_0x192270,_0x1aab1e={};_0x1aab1e[_0x2f973f(0x92)]=function(_0xc65c8a,_0x32adf7){return _0xc65c8a!==_0x32adf7;},_0x1aab1e['ZMtIJ']=_0x2f973f(0xb3),_0x1aab1e[_0x2f973f(0x98)]='passed',_0x1aab1e[_0x2f973f(0xb6)]=function(_0x37b68f,_0x2602a4){return _0x37b68f!==_0x2602a4;},_0x1aab1e[_0x2f973f(0x84)]=_0x2f973f(0x94);const _0x4d9860=_0x1aab1e,_0x169046=_0x515a18[_0x2f973f(0xb5)]['reduce']((_0x18ec2b,_0x2c07e7)=>{const _0x92a54d=_0x2f973f,_0x11632b=exports[_0x92a54d(0x89)](_0x2c07e7);return _0x11632b&&(_0x18ec2b=_0x18ec2b[_0x92a54d(0xaf)](_0x11632b)),_0x18ec2b;},[]),_0x14bcd2=_0x515a18[_0x2f973f(0x8d)]['filter'](_0x56813c=>{const _0x2dc4b5=_0x2f973f,_0x3b484a=_0x4d9860[_0x2dc4b5(0x92)](_0x56813c[_0x2dc4b5(0x83)],_0x4d9860[_0x2dc4b5(0xbe)])&&!_0x56813c[_0x2dc4b5(0xd0)]&&_0x4d9860[_0x2dc4b5(0x92)](_0x56813c['state'],_0x4d9860[_0x2dc4b5(0x98)])&&_0x4d9860['cvhVA'](_0x56813c[_0x2dc4b5(0x8e)],_0x4d9860[_0x2dc4b5(0x84)])&&!_0x56813c[_0x2dc4b5(0xa6)];return _0x3b484a;});return _0x14bcd2['concat'](_0x169046);};
|
|
@@ -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
|
+
const a30_0x73700b=a30_0x5d84;(function(_0x4a5436,_0x18a78d){const _0x292ed4=a30_0x5d84,_0x5e9a25=_0x4a5436();while(!![]){try{const _0xb5989d=parseInt(_0x292ed4(0x107))/0x1*(parseInt(_0x292ed4(0x156))/0x2)+-parseInt(_0x292ed4(0x11c))/0x3+parseInt(_0x292ed4(0x135))/0x4*(parseInt(_0x292ed4(0x10c))/0x5)+parseInt(_0x292ed4(0x155))/0x6+-parseInt(_0x292ed4(0x15f))/0x7*(-parseInt(_0x292ed4(0x14c))/0x8)+parseInt(_0x292ed4(0x15a))/0x9*(parseInt(_0x292ed4(0xf1))/0xa)+-parseInt(_0x292ed4(0x128))/0xb;if(_0xb5989d===_0x18a78d)break;else _0x5e9a25['push'](_0x5e9a25['shift']());}catch(_0x5e3c40){_0x5e9a25['push'](_0x5e9a25['shift']());}}}(a30_0x59be,0x4945f));function a30_0x5d84(_0x516f22,_0x3b2245){const _0x59beff=a30_0x59be();return a30_0x5d84=function(_0x5d84c3,_0xbee85a){_0x5d84c3=_0x5d84c3-0xe5;let _0x53ec9e=_0x59beff[_0x5d84c3];return _0x53ec9e;},a30_0x5d84(_0x516f22,_0x3b2245);}const util=require(a30_0x73700b(0x14e)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x73700b(0x13d)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x73700b(0x134)),{isTestObservabilitySession}=require(a30_0x73700b(0x157)),PerformanceTester=require(a30_0x73700b(0x144)),scripts=require(a30_0x73700b(0x153)),globals=require(a30_0x73700b(0xea)),logger=require(a30_0x73700b(0x151))[a30_0x73700b(0x110)],{shouldProcessEventForTesthub}=require(a30_0x73700b(0x127)),testHubConstants=require(a30_0x73700b(0x14d));exports[a30_0x73700b(0x129)]={'beforeAll'(){const _0x3d55a5=a30_0x73700b,_0x2174f6={'RPkAk':function(_0x39d265,_0x523fb6,_0xc4c095,_0x20fd9f){return _0x39d265(_0x523fb6,_0xc4c095,_0x20fd9f);},'pThlB':'failed','cPowR':_0x3d55a5(0x12a),'jYKco':function(_0x15ac46,_0x1b4b01,_0x5c6453){return _0x15ac46(_0x1b4b01,_0x5c6453);},'XfZcG':_0x3d55a5(0xe5),'lRIDm':function(_0x10d4b0){return _0x10d4b0();},'oYhMS':function(_0x2a0ade,_0x303f3d,_0x447d50){return _0x2a0ade(_0x303f3d,_0x447d50);}};PerformanceTester[_0x3d55a5(0x12d)]();const _0x3925a0='browserstack internal helper hook';global['__error_messages__']=[],global[_0x3d55a5(0x149)]=![],global[_0x3d55a5(0x130)]=async()=>{const _0x4ce7b5=_0x3d55a5;let _0x3ef7de=![];try{await global['__drivers'][0x0][_0x4ce7b5(0xeb)],_0x3ef7de=!![],global[_0x4ce7b5(0x149)]?await _0x2174f6[_0x4ce7b5(0x152)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6['pThlB'],global[_0x4ce7b5(0x121)][_0x4ce7b5(0xf0)](_0x2174f6['cPowR'])):await _0x2174f6[_0x4ce7b5(0x11d)](markSessionStatus,global[_0x4ce7b5(0xff)][0x0],_0x2174f6[_0x4ce7b5(0x12f)]);}catch(_0x3edd9d){}global[_0x4ce7b5(0x121)]=[],global[_0x4ce7b5(0x149)]=![];if(_0x3ef7de)try{try{_0x2174f6[_0x4ce7b5(0x11f)](shouldProcessEventForTesthub)&&(global[_0x4ce7b5(0xff)][0x0]&&await _0x2174f6['oYhMS'](sendPlatformDetails,global[_0x4ce7b5(0xff)][0x0],this[_0x4ce7b5(0x10a)]?this[_0x4ce7b5(0x10a)]['testAnalyticsId']:null));}catch{}await global[_0x4ce7b5(0xff)][0x0]['initQuit']();}catch(_0x27342c){}};},'beforeEach'(_0x4a9d18){const _0x2b1981=a30_0x73700b,_0x4f74ea={'CYWDi':function(_0x640836,_0x4b4c5a){return _0x640836>_0x4b4c5a;},'emeZz':'\x20-\x20','gdHIq':function(_0x196fea,_0x38ba55,_0x26bd54){return _0x196fea(_0x38ba55,_0x26bd54);},'JCPFi':_0x2b1981(0xfe),'uLCsN':function(_0x52523c){return _0x52523c();},'oRFOz':_0x2b1981(0xef),'nGVIs':function(_0x549b5f,_0x4d8e93){return _0x549b5f===_0x4d8e93;},'YIkKO':_0x2b1981(0x148),'xZZJW':_0x2b1981(0xf5),'ucITk':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','nJtNX':_0x2b1981(0x143)};new Promise(async _0x402b25=>{const _0x5bc214=_0x2b1981,_0xc5594b='browserstack internal helper hook';let _0x4db721=!![];try{_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][_0x5bc214(0x131)],0x1)&&(await global[_0x5bc214(0x130)](),global['__drivers'][_0x5bc214(0x11b)]()),_0x4f74ea[_0x5bc214(0x15c)](global['__drivers'][0x0][_0x5bc214(0x160)],0x0)&&(_0x4db721=![],await global[_0x5bc214(0x130)]());}catch{}try{Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&global[_0x5bc214(0xff)][0x0]&&(global[_0x5bc214(0xff)][0x0][_0x5bc214(0x139)]=this['currentTest'][_0x5bc214(0xf9)]()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)])),global['browserstackSessionName']=this[_0x5bc214(0x10a)]['titlePath']()[_0x5bc214(0xf0)](_0x4f74ea[_0x5bc214(0x13f)]);}catch(_0x3ced1b){logger[_0x5bc214(0x12e)](_0x5bc214(0x119)+_0x3ced1b);}this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]=_0x4f74ea[_0x5bc214(0x10d)](shouldScanTestForAccessibility,this['currentTest'][_0x5bc214(0xf9)](),!![]),globals[_0x5bc214(0x15d)](_0x4f74ea[_0x5bc214(0x120)],this['currentTest'][_0x5bc214(0x11e)]),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=!![];if(_0x4f74ea['uLCsN'](isAccessibilityAutomationSession)&&_0x4db721&&Array[_0x5bc214(0x132)](global[_0x5bc214(0xff)])&&_0x4f74ea[_0x5bc214(0x15c)](global[_0x5bc214(0xff)][_0x5bc214(0x131)],0x0)&&globals[_0x5bc214(0x13a)](_0x4f74ea[_0x5bc214(0xee)]))try{const _0x8a7d63=await global[_0x5bc214(0xff)][0x0][_0x5bc214(0xeb)];if(_0x8a7d63){let _0x44646d=!![];const _0x57911a=await global['__drivers'][0x0][_0x5bc214(0x108)]();let _0x1626d8;try{_0x1626d8=new URL(_0x57911a);}catch(_0x2f7788){_0x44646d=![];}_0x44646d=_0x4f74ea[_0x5bc214(0x150)](_0x1626d8[_0x5bc214(0x10b)],_0x4f74ea[_0x5bc214(0xf6)])||_0x4f74ea[_0x5bc214(0x150)](_0x1626d8['protocol'],_0x4f74ea['xZZJW']),_0x44646d&&(this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0xf2)])),this[_0x5bc214(0x10a)][_0x5bc214(0x142)]=this[_0x5bc214(0x10a)][_0x5bc214(0x11e)],this[_0x5bc214(0x10a)][_0x5bc214(0x11e)]&&logger[_0x5bc214(0x105)](_0x4f74ea[_0x5bc214(0x117)]);}}catch(_0x32018a){logger[_0x5bc214(0x14f)](_0x5bc214(0x125)+util['format'](_0x32018a));}_0x4f74ea[_0x5bc214(0xfd)](_0x402b25);})[_0x2b1981(0x133)](_0x4a9d18);},'afterEach'(_0x446084){const _0x98e952=a30_0x73700b,_0x36e4bb={'TCcBq':function(_0x3c7a96,_0x4cf4b7){return _0x3c7a96>_0x4cf4b7;},'YEGKG':function(_0x2d5829,_0x23d0f4){return _0x2d5829===_0x23d0f4;},'aQjyO':'testcase','fibQi':function(_0x1eb546,_0x357a71){return _0x1eb546>_0x357a71;},'VwEIR':_0x98e952(0x123),'CPyfw':function(_0x23c258,_0x30d871,_0x82042a,_0x525140){return _0x23c258(_0x30d871,_0x82042a,_0x525140);},'KgdfJ':_0x98e952(0x140),'zvzvv':function(_0x53b3f4,_0x404605){return _0x53b3f4!==_0x404605;},'oxjqh':_0x98e952(0xe5),'bMsGs':function(_0x49eb14,_0x3e04d3,_0x262486){return _0x49eb14(_0x3e04d3,_0x262486);},'bJMFz':function(_0x2df228,_0x1229e2){return _0x2df228+_0x1229e2;},'qtaAp':_0x98e952(0xed),'NAxsa':_0x98e952(0x14f),'oRXaI':function(_0x19d388,_0x1fbfea,_0x3f6790){return _0x19d388(_0x1fbfea,_0x3f6790);},'rIYVd':_0x98e952(0x146),'kjdtK':_0x98e952(0x105),'PMIBr':_0x98e952(0xef),'tdcZs':_0x98e952(0xfe),'dOUTS':_0x98e952(0x154),'lrFvD':_0x98e952(0x13e),'kQxAp':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ifvCG':function(_0x560a0e){return _0x560a0e();},'mPiOi':function(_0x1dbb63){return _0x1dbb63();},'qouds':function(_0x3dfca1,_0x100aeb,_0x15dbf2){return _0x3dfca1(_0x100aeb,_0x15dbf2);},'NxUNk':_0x98e952(0x12e),'PTTEd':function(_0x1e7415){return _0x1e7415();}},_0x4a78c4='browserstack internal helper hook';this[_0x98e952(0x10f)](0xfde8);const _0x4e157b=async(_0x2dc6b4,_0x5ac337)=>{const _0xc6fa69=_0x98e952;await global[_0xc6fa69(0xff)][0x0][_0xc6fa69(0x147)](_0xc6fa69(0x159)+_0x2dc6b4+',\x22level\x22:\x20\x22'+_0x5ac337+_0xc6fa69(0x101));};new Promise(async _0x3c535e=>{const _0x3cd932=_0x98e952;try{_0x36e4bb[_0x3cd932(0x141)](global['__drivers'][_0x3cd932(0x131)],0x1)&&(await global[_0x3cd932(0x130)](),global['__drivers'][_0x3cd932(0x11b)](),global['__error_messages__']=[],global[_0x3cd932(0x149)]=![]);try{if(global['percy']&&_0x36e4bb[_0x3cd932(0x115)](global['percyCaptureMode'],_0x36e4bb[_0x3cd932(0xf4)])&&global[_0x3cd932(0xff)][0x0]){const _0x141cff=_0x36e4bb[_0x3cd932(0x100)](global[_0x3cd932(0xf3)]['length'],0x0)?!!global['capabilities'][0x0]['app']||!!global['capabilities'][0x0][_0x36e4bb['VwEIR']]:![],_0x3a78d2={};_0x3a78d2[_0x3cd932(0x162)]=_0x141cff,await _0x36e4bb['CPyfw'](percyAutoCapture,global[_0x3cd932(0xff)][0x0],_0x36e4bb[_0x3cd932(0xf4)],_0x3a78d2);}}catch(_0x4718ae){}!global[_0x3cd932(0xf7)]&&(await global[_0x3cd932(0xff)][0x0][_0x3cd932(0x147)](_0x3cd932(0x111)+JSON[_0x3cd932(0xec)](this[_0x3cd932(0x10a)]['titlePath']()[_0x3cd932(0xf0)](_0x36e4bb[_0x3cd932(0x124)]))+'}}'),global[_0x3cd932(0xff)][0x0][_0x3cd932(0x136)]=!![]);const _0x3162c4=_0x36e4bb[_0x3cd932(0x161)](this[_0x3cd932(0x10a)][_0x3cd932(0x158)],_0x36e4bb[_0x3cd932(0x10e)]);_0x3162c4?(global[_0x3cd932(0x149)]=!![],global[_0x3cd932(0x121)][_0x3cd932(0xfb)](this[_0x3cd932(0x10a)]['err'][_0x3cd932(0x14b)]),await _0x36e4bb[_0x3cd932(0x145)](_0x4e157b,JSON[_0x3cd932(0xec)](_0x36e4bb[_0x3cd932(0xfc)](_0x36e4bb[_0x3cd932(0x118)],this[_0x3cd932(0x10a)][_0x3cd932(0x103)][_0x3cd932(0x14b)])),_0x36e4bb[_0x3cd932(0x114)])):await _0x36e4bb['oRXaI'](_0x4e157b,JSON['stringify'](_0x36e4bb[_0x3cd932(0x11a)]),_0x36e4bb[_0x3cd932(0xe9)]);}catch(_0x32a48f){}try{if(this[_0x3cd932(0x10a)][_0x3cd932(0x142)]&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x102)])&&globals[_0x3cd932(0x13a)](_0x36e4bb[_0x3cd932(0x109)])){logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x122)]);const _0x5a352a={};_0x5a352a[_0x3cd932(0x138)]=this[_0x3cd932(0x10a)][_0x3cd932(0x113)],_0x5a352a['thBuildUuid']=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x116)]],_0x5a352a[_0x3cd932(0x126)]=process[_0x3cd932(0x13b)][testHubConstants[_0x3cd932(0x15b)][_0x3cd932(0x12c)]];const _0x16f800=_0x5a352a;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x16f800)),logger[_0x3cd932(0x12e)](_0x36e4bb[_0x3cd932(0x137)]),logger[_0x3cd932(0x12e)](util[_0x3cd932(0xe8)](await global['__drivers'][0x0][_0x3cd932(0xe7)](scripts[_0x3cd932(0xf8)],{'method':global[_0x3cd932(0x139)]}))),await global[_0x3cd932(0xff)][0x0]['executeAsyncScript'](scripts[_0x3cd932(0x12b)],_0x16f800),logger[_0x3cd932(0x105)](_0x36e4bb[_0x3cd932(0x13c)]);}}catch(_0x3e278b){logger[_0x3cd932(0x14f)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x3cd932(0x10a)][_0x3cd932(0xf9)]()+_0x3cd932(0x14a),_0x3e278b);}try{try{if(_0x36e4bb['ifvCG'](shouldProcessEventForTesthub)){global[_0x3cd932(0xff)][0x0]&&await _0x36e4bb[_0x3cd932(0x15e)](sendPlatformDetails,global['__drivers'][0x0],this[_0x3cd932(0x10a)]?this[_0x3cd932(0x10a)][_0x3cd932(0x113)]:null);if(_0x36e4bb['mPiOi'](isBrowserstackInfra)){const _0x5b08a2='ObservabilitySync:'+Date[_0x3cd932(0x106)]();await _0x36e4bb[_0x3cd932(0x112)](_0x4e157b,JSON['stringify'](_0x5b08a2),_0x36e4bb[_0x3cd932(0xe6)]);}}}catch{}_0x36e4bb[_0x3cd932(0x100)](global['__drivers'][0x0][_0x3cd932(0x160)],0x0)&&await global['driverCleanup']();}catch(_0x2837ac){}_0x36e4bb[_0x3cd932(0xfa)](_0x3c535e);})[_0x98e952(0x133)](()=>_0x446084());},'afterAll'(_0x2704d1){const _0x16855f=a30_0x73700b,_0x4018dd={'rZFJv':function(_0x4f5dcb){return _0x4f5dcb();}},_0x30f8cc='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x4f233c=>{const _0x94b326=a30_0x5d84;PerformanceTester['stopMonitoring'](),await global[_0x94b326(0x130)](),_0x4018dd[_0x94b326(0x104)](_0x4f233c);})[_0x16855f(0x133)](()=>_0x2704d1());}};function a30_0x59be(){const _0x36aac3=['oxjqh','timeout','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','qouds','testAnalyticsId','NAxsa','YEGKG','BROWSERSTACK_TESTHUB_UUID','nJtNX','qtaAp','Failed\x20to\x20store\x20session\x20name:\x20','rIYVd','shift','1611714xRfhOM','jYKco','shouldScanTestForAccessibility','lRIDm','JCPFi','__error_messages__','dOUTS','appium:app','KgdfJ','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','thJwtToken','../../helpers/testhub/utils','7034467GJKgCc','mochaHooks','\x20|\x20','saveTestResults','BROWSERSTACK_TESTHUB_JWT','startMonitoring','debug','XfZcG','driverCleanup','length','isArray','then','../../helpers/helper','1864aQcpcR','sessionNameSet__','lrFvD','thTestRunUuid','browserstackSessionName','getGlobal','env','kQxAp','../../helpers/accessibility-automation/helper','Performing\x20scan\x20before\x20saving\x20results','emeZz','\x20-\x20','TCcBq','accessibilityScanStarted','Automate\x20test\x20case\x20execution\x20has\x20started.','../../helpers/performance-tester','bMsGs','Passed','executeScript','http:','__sessionFailed','.\x20Error\x20:','message','16TgGcrL','../../helpers/testhub/constants','util','error','nGVIs','../../helpers/logger','RPkAk','../../helpers/accessibility-automation/scripts','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','3088536ArXLla','8AcjzIJ','../../helpers/test-observability/utils','state','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','45IMEPFs','ENV_VAR','CYWDi','setGlobal','oRXaI','912961WQWWBe','quitCount_','zvzvv','app','passed','NxUNk','executeAsyncScript','format','kjdtK','../../helpers/globals','session_','stringify','Failed:\x20','oRFOz','isAccessibilityPlatform','join','61860xiQBnv','ucITk','capabilities','aQjyO','https:','YIkKO','__skipSessionName','performScan','titlePath','PTTEd','push','bJMFz','uLCsN','bstackA11yShouldScan','__drivers','fibQi','\x22}}','PMIBr','err','rZFJv','info','now','122963qCUgPR','getCurrentUrl','tdcZs','currentTest','protocol','1915cXmGpj','gdHIq'];a30_0x59be=function(){return _0x36aac3;};return a30_0x59be();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a31_0x2e08cc=a31_0x2c0d;(function(_0x52a4e7,_0x55bb37){const _0x2fe562=a31_0x2c0d,_0x50e988=_0x52a4e7();while(!![]){try{const _0x3fb382=-parseInt(_0x2fe562(0xa4))/0x1+parseInt(_0x2fe562(0x98))/0x2+parseInt(_0x2fe562(0xb3))/0x3+-parseInt(_0x2fe562(0xaa))/0x4*(-parseInt(_0x2fe562(0xa2))/0x5)+-parseInt(_0x2fe562(0xa7))/0x6*(parseInt(_0x2fe562(0xb8))/0x7)+-parseInt(_0x2fe562(0x78))/0x8*(parseInt(_0x2fe562(0x89))/0x9)+-parseInt(_0x2fe562(0x77))/0xa*(-parseInt(_0x2fe562(0x72))/0xb);if(_0x3fb382===_0x55bb37)break;else _0x50e988['push'](_0x50e988['shift']());}catch(_0x358071){_0x50e988['push'](_0x50e988['shift']());}}}(a31_0x16e9,0xb7397));function a31_0x16e9(){const _0xa1ae2c=['host','stringify','DjoLf','winstonLogger','writeFileSync','path','../../helpers/BrowserStackSetup','304025RujMsj','OSPRQ','1012548gPZwVQ','inherit','child_process','210yAwQAh','length','gVGkC','36KCXxSH','IMwWx','hdUal','platform','uxAXc','MvrIE','child\x20process\x20exited\x20with\x20code\x20','cwd','test','1343937MYLLuF','CzXCU','desiredCapabilities','config','test_settings','18242EISwJt','Twvkj','findIndex','trim','close','11AIuNqj','existsSync','../../helpers/helper','nightwatch','isUndefined','6069670lzfgHG','968PhXfRk','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','forEach','exports','splice','port','webdriver','EqGzr','filter','info','join','map','SbHlS','tbGeG','ONuoH','hub.browserstack.com','--config','63387QZhzbk','env','start_process','platforms','slice','unlinkSync','nightwatch.cmd','nightwatch-browserstack.json','bpDAE','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','nightwatch.conf.js','--env','push','VVsmS','wLAUR','2208514AowinN','XsruQ','selenium'];a31_0x16e9=function(){return _0xa1ae2c;};return a31_0x16e9();}function a31_0x2c0d(_0x4b489d,_0x1f438a){const _0x16e94d=a31_0x16e9();return a31_0x2c0d=function(_0x2c0de5,_0x55c016){_0x2c0de5=_0x2c0de5-0x72;let _0x3953dd=_0x16e94d[_0x2c0de5];return _0x3953dd;},a31_0x2c0d(_0x4b489d,_0x1f438a);}const fs=require('fs'),path=require(a31_0x2e08cc(0xa0)),{spawn}=require(a31_0x2e08cc(0xa6)),logger=require('../../helpers/logger')[a31_0x2e08cc(0x9e)],{default:BrowserStackSetup}=require(a31_0x2e08cc(0xa1)),helper=require(a31_0x2e08cc(0x74)),constants=require('../utils/constants'),getUserNightwatchConfigs=(_0x456fdb,_0x29be06)=>{const _0x259b27=a31_0x2e08cc,_0x40f316={'ONuoH':_0x259b27(0x93),'hdUal':'nightwatch.json','wLAUR':function(_0x1aa25b,_0x5f5d4b){return _0x1aa25b(_0x5f5d4b);},'EqGzr':_0x259b27(0x92)};let _0x4058c1=null,_0x5f3476={};const _0xa8316d=_0x29be06[_0x259b27(0xba)](_0x428bb2=>_0x428bb2===_0x259b27(0x88));if(!helper[_0x259b27(0x76)](_0x456fdb[_0x259b27(0xb6)])&&fs[_0x259b27(0x73)](path['join'](process['cwd'](),_0x456fdb['config'])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x456fdb['config']),_0x29be06[_0x259b27(0x7c)](_0xa8316d,0x2);else{if(fs['existsSync'](path[_0x259b27(0x82)](process['cwd'](),_0x40f316[_0x259b27(0x86)])))_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['ONuoH']);else fs[_0x259b27(0x73)](path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316['hdUal']))&&(_0x4058c1=path[_0x259b27(0x82)](process[_0x259b27(0xb1)](),_0x40f316[_0x259b27(0xac)]));}return _0x4058c1?(logger[_0x259b27(0x81)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x4058c1),_0x5f3476=_0x40f316[_0x259b27(0x97)](require,_0x4058c1)):logger[_0x259b27(0x81)](_0x40f316[_0x259b27(0x7f)]),_0x5f3476;},removeExistingEnvs=_0x2e74d7=>{const _0xaff5f=a31_0x2e08cc,_0xe89ef6={};_0xe89ef6[_0xaff5f(0x96)]=function(_0x195bd9,_0x2b3a33){return _0x195bd9>_0x2b3a33;};const _0xd3122a=_0xe89ef6;let _0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x1541fe=>_0x1541fe===_0xaff5f(0x94));_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2),_0x4da780=_0x2e74d7[_0xaff5f(0xba)](_0x6c9417=>_0x6c9417==='-e'),_0xd3122a[_0xaff5f(0x96)](_0x4da780,-0x1)&&_0x2e74d7[_0xaff5f(0x7c)](_0x4da780,0x2);};function run(_0x48b4ae,_0x481628){const _0x1998f1=a31_0x2e08cc,_0x35519b={'uxAXc':_0x1998f1(0x75),'tbGeG':function(_0x594353,_0x468da0){return _0x594353+_0x468da0;},'vwybu':'test_settings','bpDAE':function(_0xfb83be,_0x3c2f2d,_0x310738){return _0xfb83be(_0x3c2f2d,_0x310738);},'IMwWx':_0x1998f1(0x87),'CzXCU':_0x1998f1(0x79),'OSPRQ':function(_0x5ec17c,_0x327b5c){return _0x5ec17c===_0x327b5c;},'DjoLf':_0x1998f1(0x90),'Twvkj':function(_0x50adca,_0x19e858){return _0x50adca(_0x19e858);},'SbHlS':function(_0x9cb3bc,_0x2f6ea5,_0x5c3528,_0x19a6a){return _0x9cb3bc(_0x2f6ea5,_0x5c3528,_0x19a6a);},'VzAuS':_0x1998f1(0x8f),'gVGkC':'--config','MvrIE':_0x1998f1(0x94),'XsruQ':_0x1998f1(0xa5),'JIZUL':_0x1998f1(0xbc)},_0x155d95=new BrowserStackSetup(_0x48b4ae);if(!_0x155d95[_0x1998f1(0xb6)])return;const _0x391f1f=_0x35519b[_0x1998f1(0x91)](getUserNightwatchConfigs,_0x48b4ae,_0x481628),_0x4f191b={};_0x4f191b[_0x1998f1(0x8b)]=![];const _0x342f49={};_0x342f49[_0x1998f1(0x9b)]=_0x35519b[_0x1998f1(0xab)],_0x342f49[_0x1998f1(0x7d)]=0x1bb;const _0x3ada67={};_0x3ada67[_0x1998f1(0x7e)]=_0x4f191b,_0x3ada67[_0x1998f1(0x9a)]=_0x342f49;const _0x7caaa1=_0x3ada67;logger[_0x1998f1(0x81)](_0x35519b[_0x1998f1(0xb4)]);const _0x1eeb17={..._0x391f1f},_0x11520d=_0x1eeb17,_0x442b9d=helper['useW3C'](_0x155d95[_0x1998f1(0xb6)]),_0x157496=[];_0x155d95[_0x1998f1(0xb6)][_0x1998f1(0x8c)]['forEach']((_0x18b3c9,_0x279fc4)=>{const _0x323bc6=_0x1998f1;_0x442b9d?_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackW3CCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b[_0x323bc6(0xae)],_0x279fc4)):_0x157496[_0x323bc6(0x95)](helper['modifyBrowserStackCaps'](_0x155d95[_0x323bc6(0xb6)],_0x35519b['uxAXc'],_0x279fc4));});const _0x4fe9da={},_0x2a6c83=[];_0x48b4ae['env']=_0x48b4ae[_0x1998f1(0x8a)]||_0x48b4ae['e'];const _0x519acc=_0x48b4ae[_0x1998f1(0x8a)]?_0x48b4ae['env']['trim']()['split'](',')[_0x1998f1(0x83)](_0x64e1ba=>_0x64e1ba[_0x1998f1(0xbb)]())[_0x1998f1(0x80)](_0x191fa6=>_0x191fa6!==''):[''];_0x35519b[_0x1998f1(0xa3)](_0x519acc[_0x1998f1(0xa8)],0x0)&&_0x519acc[_0x1998f1(0x95)]('');_0x519acc[_0x1998f1(0x7a)](_0x1e9981=>{const _0x5ec948={'YrrYu':function(_0x4d1eee,_0xcec38f){const _0x3902eb=a31_0x2c0d;return _0x35519b[_0x3902eb(0x85)](_0x4d1eee,_0xcec38f);},'GCOjz':_0x35519b['vwybu']};_0x157496['forEach'](_0x109148=>{const _0x3b55b0=a31_0x2c0d;let _0x32a47d=_0x5ec948['YrrYu'](helper['getPlatformName'](_0x109148,'_'),'_'+Date['now']());_0x1e9981&&(_0x32a47d+='_'+_0x1e9981);if(_0x1e9981&&(!_0x391f1f[_0x5ec948['GCOjz']]||!_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981]))return;const _0x1e17b9={..._0x7caaa1};_0x1e17b9[_0x3b55b0(0xb5)]=_0x109148;const _0x356966=_0x1e17b9;_0x4fe9da[_0x32a47d]=_0x1e9981?helper['mergeDeep'](_0x391f1f[_0x5ec948['GCOjz']][_0x1e9981],_0x356966):_0x356966,_0x2a6c83['push'](_0x32a47d);});});!_0x11520d[_0x1998f1(0xb7)]&&(_0x11520d[_0x1998f1(0xb7)]={});_0x11520d[_0x1998f1(0xb7)]={..._0x11520d[_0x1998f1(0xb7)],..._0x4fe9da};const _0x206ac8=path['join'](__dirname,_0x35519b[_0x1998f1(0x9d)]);fs[_0x1998f1(0x9f)](_0x206ac8,JSON[_0x1998f1(0x9c)](_0x11520d)),_0x35519b[_0x1998f1(0xb9)](removeExistingEnvs,_0x481628);const _0x41afb1=_0x35519b[_0x1998f1(0x84)](spawn,/^win/[_0x1998f1(0xb2)](process[_0x1998f1(0xad)])?_0x35519b['VzAuS']:_0x35519b['uxAXc'],[_0x35519b[_0x1998f1(0xa9)],_0x206ac8,..._0x481628[_0x1998f1(0x8d)](0x1),_0x35519b[_0x1998f1(0xaf)],_0x2a6c83[_0x1998f1(0x82)](',')],{'stdio':_0x35519b[_0x1998f1(0x99)]});_0x41afb1['on'](_0x35519b['JIZUL'],async _0x149f8b=>{const _0x20c325=_0x1998f1;logger['debug'](_0x20c325(0xb0)+_0x149f8b),logger[_0x20c325(0x81)]('Deleting\x20'+_0x206ac8),fs[_0x20c325(0x8e)](_0x206ac8);});}module[a31_0x2e08cc(0x7b)]=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_0x528607=a32_0x2564;(function(_0x32f196,_0x53a9f8){const _0x2ed80b=a32_0x2564,_0x1d0105=_0x32f196();while(!![]){try{const _0x1dcf54=-parseInt(_0x2ed80b(0x1d0))/0x1+-parseInt(_0x2ed80b(0x213))/0x2+parseInt(_0x2ed80b(0x1d1))/0x3+parseInt(_0x2ed80b(0x1e0))/0x4+-parseInt(_0x2ed80b(0x1fe))/0x5+parseInt(_0x2ed80b(0x21b))/0x6+parseInt(_0x2ed80b(0x1d5))/0x7*(parseInt(_0x2ed80b(0x209))/0x8);if(_0x1dcf54===_0x53a9f8)break;else _0x1d0105['push'](_0x1d0105['shift']());}catch(_0x3e3c77){_0x1d0105['push'](_0x1d0105['shift']());}}}(a32_0x12c2,0x40f48));const util=require(a32_0x528607(0x226)),logger=require(a32_0x528607(0x1f0))['winstonLogger'],{isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a32_0x528607(0x210)),scripts=require('../../helpers/accessibility-automation/scripts');function a32_0x2564(_0x29c785,_0x24243a){const _0x12c238=a32_0x12c2();return a32_0x2564=function(_0x2564d5,_0x11e1be){_0x2564d5=_0x2564d5-0x1bd;let _0x553978=_0x12c238[_0x2564d5];return _0x553978;},a32_0x2564(_0x29c785,_0x24243a);}exports['browserStackEvaluate']=async(_0x13eda4,_0x1a6147,_0x296d4c={})=>{const _0x3a621f=a32_0x528607,_0x23f7f3={};_0x23f7f3['pGpyb']='bstackSdkArgs';const _0x40cdf7=_0x23f7f3;return await _0x13eda4['evaluate']('(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'+_0x1a6147[_0x3a621f(0x1da)](/arguments/g,_0x40cdf7[_0x3a621f(0x1be)])+_0x3a621f(0x1e2)+JSON['stringify'](_0x296d4c)+')');},exports[a32_0x528607(0x1fc)]=async(_0x4d5a3c,_0x507289,_0xe56839={})=>{const _0x3f62dc=a32_0x528607,_0x57208d={};_0x57208d['BUdoq']=function(_0xa13fe4,_0x1a231c){return _0xa13fe4===_0x1a231c;},_0x57208d[_0x3f62dc(0x216)]=_0x3f62dc(0x21e),_0x57208d[_0x3f62dc(0x1d8)]=function(_0x5d0f21,_0x567118){return _0x5d0f21===_0x567118;},_0x57208d[_0x3f62dc(0x1d3)]=_0x3f62dc(0x1e4),_0x57208d['cOhTr']=_0x3f62dc(0x20f);const _0x59219a=_0x57208d;if(_0x59219a[_0x3f62dc(0x1c7)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x216)]))return await _0x4d5a3c['executeAsyncScript'](_0x507289,_0xe56839);else{if(_0x59219a[_0x3f62dc(0x1d8)](_0x4d5a3c['constructor'][_0x3f62dc(0x204)],_0x59219a[_0x3f62dc(0x1d3)]))return await _0x4d5a3c[_0x3f62dc(0x205)](_0x3f62dc(0x1c0)+_0x507289[_0x3f62dc(0x1da)](/arguments/g,_0x59219a[_0x3f62dc(0x20d)])+_0x3f62dc(0x225)+JSON[_0x3f62dc(0x1f9)](_0xe56839)+')');}},exports[a32_0x528607(0x203)]=async _0x12d888=>{const _0x3e158c=a32_0x528607,_0x1145b9={};_0x1145b9[_0x3e158c(0x1e9)]=_0x3e158c(0x1db),_0x1145b9[_0x3e158c(0x1ee)]=_0x3e158c(0x1f5),_0x1145b9[_0x3e158c(0x1f7)]=_0x3e158c(0x221),_0x1145b9[_0x3e158c(0x212)]=_0x3e158c(0x1ed),_0x1145b9[_0x3e158c(0x1c6)]=_0x3e158c(0x201),_0x1145b9[_0x3e158c(0x21c)]=_0x3e158c(0x214);const _0x17e874=_0x1145b9;_0x12d888[_0x3e158c(0x223)]&&(_0x12d888['accessibilityOptions']['wcagVersion']&&(_0x12d888[_0x17e874[_0x3e158c(0x1e9)]]=_0x12d888[_0x3e158c(0x223)]['wcagVersion']),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]&&(_0x12d888[_0x17e874[_0x3e158c(0x1ee)]]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1c9)]),_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]&&(_0x12d888[_0x17e874['rblvG']]=_0x12d888[_0x3e158c(0x223)]['includeIssueType'][_0x3e158c(0x20b)],_0x12d888[_0x17e874['ERQPV']]=_0x12d888[_0x3e158c(0x223)][_0x3e158c(0x1f1)]['needsReview']));const _0x6f5e69=JSON[_0x3e158c(0x224)](process[_0x3e158c(0x218)][_0x3e158c(0x1fd)])[_0x3e158c(0x1e8)];_0x12d888[_0x17e874[_0x3e158c(0x1c6)]]=process[_0x3e158c(0x218)][_0x3e158c(0x1f8)],_0x12d888[_0x17e874[_0x3e158c(0x21c)]]=_0x6f5e69,delete _0x12d888[_0x3e158c(0x223)];},exports[a32_0x528607(0x215)]=async _0x34e6df=>{const _0x204d1b=a32_0x528607,_0xb1c17a={};_0xb1c17a['oprej']=_0x204d1b(0x1f4),_0xb1c17a[_0x204d1b(0x1eb)]=_0x204d1b(0x227);const _0x2ce67f=_0xb1c17a;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x34e6df,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x34e6df,scripts.getResults);return res;}catch{return logger[_0x204d1b(0x1c2)](_0x2ce67f[_0x204d1b(0x1d6)]),[];}else return logger[_0x204d1b(0x1c4)](_0x2ce67f['agtkf']),[];},exports[a32_0x528607(0x206)]=async(_0x29daf1,_0x9184b2='')=>{const _0x4cdd91=a32_0x528607;if(global['accessibilityPlatform']){const _0x4dd3af={};return _0x4dd3af[_0x4cdd91(0x1d7)]=_0x9184b2,await exports[_0x4cdd91(0x1ca)](_0x29daf1,scripts['performScan'],_0x4dd3af);}},exports[a32_0x528607(0x21a)]=async _0xc4ac6d=>{const _0x293a06=a32_0x528607,_0x153ee2={};_0x153ee2['mBVUG']=_0x293a06(0x217),_0x153ee2[_0x293a06(0x222)]=_0x293a06(0x1bd);const _0x1dd0ca=_0x153ee2;if(global[_0x293a06(0x1fa)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0xc4ac6d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0xc4ac6d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x293a06(0x1e1)](_0x1dd0ca[_0x293a06(0x1c1)]),{};}else return logger[_0x293a06(0x1c4)](_0x1dd0ca[_0x293a06(0x222)]),{};},exports[a32_0x528607(0x1ce)]=async _0x5c8dc6=>{const _0x396acb=a32_0x528607,_0x19a46b={'nEjhm':function(_0x2bb906,_0x491f1e){return _0x2bb906!==_0x491f1e;},'qseLB':_0x396acb(0x1f3),'luuJb':function(_0x2e466f,_0x5c5e00){return _0x2e466f===_0x5c5e00;},'JmTRZ':'chrome','MZxPc':_0x396acb(0x1dc),'tyZwS':_0x396acb(0x207),'mTSNu':function(_0x4e782e,_0x28b2b4){return _0x4e782e(_0x28b2b4);},'TGnTY':_0x396acb(0x1f6),'YiDFL':function(_0x17a101,_0xe2cdb2){return _0x17a101>_0xe2cdb2;},'aWxnj':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x19a46b[_0x396acb(0x1cf)](_0x5c8dc6[_0x396acb(0x208)],''))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1cb)]),![];const _0x47f7e3=_0x5c8dc6[_0x396acb(0x21f)];if(!(_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x1e3)])||_0x19a46b[_0x396acb(0x1ff)](_0x47f7e3,_0x19a46b[_0x396acb(0x20c)])))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x1f2)]),![];const _0x76c3b4=_0x19a46b[_0x396acb(0x1fb)](parseInt,_0x5c8dc6[_0x396acb(0x1e7)]);if(!(_0x19a46b[_0x396acb(0x1ff)](_0x76c3b4,_0x19a46b[_0x396acb(0x1e6)])||_0x19a46b[_0x396acb(0x1e5)](_0x76c3b4,0x5e)))return logger[_0x396acb(0x1c4)](_0x19a46b[_0x396acb(0x21d)]),![];}catch(_0x56bca3){logger['debug'](_0x396acb(0x1d4)+util[_0x396acb(0x219)](_0x56bca3));}return!![];},exports[a32_0x528607(0x1d2)]=(_0x4e071d,_0x4d1030,_0x2c28e0)=>{const _0x5d9198=a32_0x528607,_0x506cc1={'gQxkh':function(_0x4eb419){return _0x4eb419();},'dyING':_0x5d9198(0x1c3),'pfKQR':function(_0x1617e3,_0xcb975e){return _0x1617e3===_0xcb975e;},'mZxTJ':'chrome','FCKqR':function(_0x4fd4c6,_0x590572){return _0x4fd4c6===_0x590572;},'GCgVR':_0x5d9198(0x1dc),'qreUh':_0x5d9198(0x207),'gzTLq':'latest','MuLLF':function(_0x58e9b9,_0x344fac){return _0x58e9b9>_0x344fac;},'yIDgN':_0x5d9198(0x1ec),'mmrgV':function(_0x3ba640,_0x749912){return _0x3ba640(_0x749912);},'LeAFl':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','OQAXS':function(_0x2f11a8,_0x29b317){return _0x2f11a8+_0x29b317;},'gnYUy':function(_0x1c062e,_0x3e9ae4){return _0x1c062e(_0x3e9ae4);}};try{if(_0x506cc1[_0x5d9198(0x20e)](isAccessibilityAutomationSession)){global[_0x5d9198(0x1fa)]=!![];!_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]&&(global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x202)],_0x506cc1['mZxTJ'])||_0x506cc1[_0x5d9198(0x1c5)](_0x4e071d['browserName'],_0x506cc1['GCgVR']))&&(logger['warn'](_0x506cc1['qreUh']),global[_0x5d9198(0x1fa)]=![]);!(_0x506cc1[_0x5d9198(0x200)](_0x4e071d[_0x5d9198(0x1e7)],_0x506cc1[_0x5d9198(0x1c8)])||_0x506cc1[_0x5d9198(0x211)](_0x4e071d[_0x5d9198(0x1e7)],0x5e))&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x20a)]),global['accessibilityPlatform']=![]);!_0x506cc1[_0x5d9198(0x1ef)](isUndefined,_0x4e071d[_0x5d9198(0x208)])&&(logger[_0x5d9198(0x1c4)](_0x506cc1[_0x5d9198(0x1de)]),global[_0x5d9198(0x1fa)]=![]);if(!global['accessibilityPlatform']){_0x4e071d[_0x506cc1[_0x5d9198(0x1cc)]]=![];const _0x48dd3e=_0x506cc1[_0x5d9198(0x1cd)](_0x4d1030,_0x506cc1[_0x5d9198(0x1ea)](encodeURIComponent,JSON[_0x5d9198(0x1f9)](_0x4e071d)));_0x2c28e0&&(_0x2c28e0[_0x5d9198(0x1d9)][_0x5d9198(0x1bf)][_0x5d9198(0x1dd)][_0x5d9198(0x1df)]['connectOptions']['wsEndpoint']=_0x48dd3e);}}}catch(_0x266a44){logger['debug'](_0x5d9198(0x220)+util[_0x5d9198(0x219)](_0x266a44));}};function a32_0x12c2(){const _0xdb9405=['deviceName','501136SpYcBW','yIDgN','bestPractice','MZxPc','cOhTr','gQxkh','bstackSdkArgs','../../helpers/helper','MuLLF','ERQPV','83084ALMCBm','accessibilityOptions.scannerVersion','getAccessibilityResults','KXHMd','No\x20summaryResults\x20found.','env','format','getAccessibilityResultsSummary','767268dxlkPo','NGwcL','aWxnj','WebDriver','browser','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','accessibilityOptions.includeIssueType.bestPractice','qZsFt','accessibilityOptions','parse','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','util','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','pGpyb','testInfo','(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','mBVUG','error','browserstack.accessibility','warn','FCKqR','pREhW','BUdoq','gzTLq','scannerProcessingTimeout','browserStackEvaluate','qseLB','dyING','OQAXS','platformValidation','nEjhm','425699dfRtIK','1500867lmzOQe','processAccessibilityCaps','DsjWX','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','42cdCNlN','oprej','method','sMZXX','currentTest','replace','accessibilityOptions.wcagVersion','playwright-chromium','project','LeAFl','use','823396Aklgaf','debug','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','JmTRZ','Playwright','YiDFL','TGnTY','browser_version','scannerVersion','SkJmB','gnYUy','agtkf','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.includeIssueType.needsReview','zWISX','mmrgV','../../helpers/logger','includeIssueType','tyZwS','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','No\x20accessibility\x20results\x20were\x20found.','accessibilityOptions.scannerProcessingTimeout','latest','rblvG','BS_A11Y_JWT','stringify','accessibilityPlatform','mTSNu','browserStackExecuteDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','2382855jcOqiJ','luuJb','pfKQR','accessibilityOptions.authToken','browserName','setAccessibilityCapabilities','name','executeScript','performScan','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.'];a32_0x12c2=function(){return _0xdb9405;};return a32_0x12c2();}
|
|
@@ -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';function a33_0x1290(_0x199fb8,_0x4be319){const _0x385fb8=a33_0x385f();return a33_0x1290=function(_0x129001,_0x152c38){_0x129001=_0x129001-0xf3;let _0x53cff1=_0x385fb8[_0x129001];return _0x53cff1;},a33_0x1290(_0x199fb8,_0x4be319);}const a33_0x1d2fc2=a33_0x1290;function a33_0x385f(){const _0x534d28=['wMEny','.browserstack','../../helpers/test-observability/constants','info','../../helpers/logger','Taieh','accessibilityOptions','bFpCn','3542046ezzUBW','tXdBw','BROWSERSTACK_SETUP_CONFIG_PATH','lsmGr','logLevel','ZeFyR','yufJt','Updated\x20config\x20file\x20name\x20to\x20-\x20','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/BrowserStackSetup','../../helpers/testhub/utils','--grep','join','BROWSERSTACK_TEST_ACCESSIBILITY_YML','testContextOptions','../utils/constants','pXyQz','filter','Error\x20in\x20getting\x20funnel\x20data\x20results','getConfigPath','startsWith','debug','BROWSERSTACK_PW_CONFIG_DIR','testObservability','rWRoX','./accessibility-helper','isUndefined','--disable-browserstack-automation','BROWSERSTACK_AUTOMATION','markSDKSetupComplete','pfCpz','isTrue','close','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','playwright-browserstack-sdk.config.js','serializeToYamlString','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','VanpV','../../helpers/helper','dirname','lVmXz','resolve','readFileSync','cwd','getProxyUrl','nestedKeyValue','requirePWModule','XzgPA','accessibility','automation','gAmDc','iaQYM','BJQeA','2822624aGlSEZ','initialize','win32','error','winstonLogger','config','includes','apply','kkpqI','ElCqN','BrowserStack\x20config\x20file\x20not\x20found.','get','--config','6738puvsxn','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','Error\x20in\x20closing\x20playwright','../../helpers/accessibility-automation/helper','length','SVdvE','2910kYBZVA','pw_result.json','Error\x20in\x20deleting\x20playwright\x20results','existsSync','test','filterBrowserstackConfig','parse','aoCgG','homedir','errorMessage','playwright','GaiSB','slice','--config=','Deleting\x20','exports','cliConfig','qmonv','map','../../helpers/test-observability/utils','./reporter/pwUtils','stringify','unlinkSync','skipSessionStatus','JGJnY','gycPE','null','zODfp','util','ShReU','MODULE','env','xMXre','ksQru','npx','exitCode','lzBaP','TsCEG','YVlbo','platform','playwright-browserstack-sdk.config.cjs','cKgCT','split','concat','push','writeFileSync','vBYsN','fYiHl','trim','xssEE','findIndex','path','BROWSERSTACK_RERUN_TESTS','MoWaJ','false','has','728366RgjYjF','1869784UfSlEM','PLAYWRIGHT','934332IwWLef','--disable-test-observability','isTypescriptProject','FShYQ','jfxeL','../../helpers/test-observability/error-handler','USER_CONFIG_DETAILS_PATH','finalExecution','BROWSERSTACK_RERUN','nFSXJ','XYLsa','getPackageType','23141528cdWHxo','inherit','DXpIC'];a33_0x385f=function(){return _0x534d28;};return a33_0x385f();}(function(_0x38d60a,_0x37213d){const _0x48c85e=a33_0x1290,_0x238b48=_0x38d60a();while(!![]){try{const _0x506d44=-parseInt(_0x48c85e(0x133))/0x1+-parseInt(_0x48c85e(0x130))/0x2+-parseInt(_0x48c85e(0x14a))/0x3+parseInt(_0x48c85e(0x131))/0x4+parseInt(_0x48c85e(0xf8))/0x5*(-parseInt(_0x48c85e(0x18d))/0x6)+parseInt(_0x48c85e(0x180))/0x7+parseInt(_0x48c85e(0x13f))/0x8;if(_0x506d44===_0x37213d)break;else _0x238b48['push'](_0x238b48['shift']());}catch(_0x61193){_0x238b48['push'](_0x238b48['shift']());}}}(a33_0x385f,0x99f3a));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a33_0x1d2fc2(0x114)),logger=require(a33_0x1d2fc2(0x146))[a33_0x1d2fc2(0x184)],{default:BrowserStackSetup}=require(a33_0x1d2fc2(0x154)),helper=require(a33_0x1d2fc2(0x171)),constants=require(a33_0x1d2fc2(0x15a)),{FRAMEWORKS}=require(a33_0x1d2fc2(0x144)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x1d2fc2(0x10c)),{CrashReporter}=require(a33_0x1d2fc2(0x138)),{getFrameworkVersion}=require(a33_0x1d2fc2(0x10b)),{checkAccessibilityPlatformConfig}=require(a33_0x1d2fc2(0xf5)),{setAccessibilityCapabilities}=require(a33_0x1d2fc2(0x164)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a33_0x1d2fc2(0x155)),getUserPlaywrightConfig=async(_0x4a697a,_0x1b8795)=>{const _0x2d5a84=a33_0x1d2fc2,_0x2756ed={'VlTnG':function(_0x3f5969){return _0x3f5969();},'YVlbo':function(_0x4ed823,_0x355701){return _0x4ed823(_0x355701);},'aoCgG':function(_0x554a99,_0x24ed48){return _0x554a99(_0x24ed48);},'fYiHl':'resolvedConfigFile','FShYQ':_0x2d5a84(0x105)},_0xa489e7=!helper['isUndefined'](_0x4a697a[_0x2d5a84(0x185)]),_0x3f6edc=_0xa489e7?path[_0x2d5a84(0x174)](process[_0x2d5a84(0x176)](),_0x4a697a[_0x2d5a84(0x185)]):process[_0x2d5a84(0x176)](),{resolveConfigFile:_0x13cde5,resolveConfigLocation:_0x390738}=helper[_0x2d5a84(0x179)][_0x2d5a84(0x187)](null,_0x2756ed['VlTnG'](getConfigLoaderPath)),_0x8a3b90=_0x13cde5?_0x2756ed[_0x2d5a84(0x11e)](_0x13cde5,_0x3f6edc):helper[_0x2d5a84(0x178)](_0x2756ed[_0x2d5a84(0xff)](_0x390738,_0x3f6edc),[_0x2756ed[_0x2d5a84(0x127)]]);let _0x18ce1c={};if(_0xa489e7){const _0x17edc6=_0x1b8795[_0x2d5a84(0x12a)](_0x32627e=>_0x32627e===_0x2d5a84(0x18c)||_0x32627e==='-c'||_0x32627e[_0x2d5a84(0x15f)](_0x2d5a84(0x105)));_0x1b8795['splice'](_0x17edc6,_0x1b8795[_0x17edc6]['startsWith'](_0x2756ed[_0x2d5a84(0x136)])?0x1:0x2);}const _0x41e73f={};return _0x41e73f[_0x2d5a84(0x12b)]=_0x8a3b90,_0x41e73f[_0x2d5a84(0x185)]=_0x18ce1c,_0x41e73f;},handleO11yRerun=_0x449656=>{const _0x13a47b=a33_0x1d2fc2,_0x51e82b={};_0x51e82b[_0x13a47b(0x13d)]=function(_0x931c61,_0x29acfd){return _0x931c61!==_0x29acfd;},_0x51e82b[_0x13a47b(0x119)]=_0x13a47b(0x112),_0x51e82b['gycPE']=_0x13a47b(0x156);const _0x16d411=_0x51e82b,_0x4af287=helper[_0x13a47b(0x16a)](process['env'][_0x13a47b(0x13b)]);if(_0x4af287){const _0x3c2286=process['env'][_0x13a47b(0x12c)],_0x27e79e=[];if(_0x16d411[_0x13a47b(0x13d)](_0x3c2286,_0x16d411[_0x13a47b(0x119)])&&!helper[_0x13a47b(0x165)](_0x3c2286)){_0x3c2286['split'](',')[_0x13a47b(0x10a)](_0x33a1c0=>{const _0x32d05a=_0x13a47b;_0x27e79e[_0x32d05a(0x124)]('('+_0x33a1c0[_0x32d05a(0x128)]()+')');});const _0x3a7851='^'+_0x27e79e['join']('|')+'$';_0x449656[_0x13a47b(0x124)](_0x16d411[_0x13a47b(0x111)],_0x3a7851);}}},spawnOriginalProcess=_0x57f7b2=>{const _0x4aea09=a33_0x1d2fc2,_0x16ee32={'CUwfF':function(_0x169691,_0xce87e6,_0x1d3385,_0xa81113){return _0x169691(_0xce87e6,_0x1d3385,_0xa81113);},'FuBmt':_0x4aea09(0x11a),'tXdBw':_0x4aea09(0x102),'GaiSB':function(_0x36e300,_0x5e86bc){return _0x36e300===_0x5e86bc;},'MGkwZ':'win32','qmonv':_0x4aea09(0x140)};_0x16ee32['CUwfF'](spawn,_0x16ee32['FuBmt'],[_0x16ee32[_0x4aea09(0x14b)],..._0x57f7b2[_0x4aea09(0x104)](0x1)],{'shell':_0x16ee32[_0x4aea09(0x103)](process[_0x4aea09(0x11f)],_0x16ee32['MGkwZ']),'stdio':_0x16ee32[_0x4aea09(0x109)],'cwd':process[_0x4aea09(0x176)]()});},isTestCommand=(_0x14c8d8,_0x15fe0d)=>{const _0x3677ac=a33_0x1d2fc2,_0x47a64c={};_0x47a64c['ShReU']=function(_0x2be27f,_0x27f5f9){return _0x2be27f>_0x27f5f9;},_0x47a64c[_0x3677ac(0x126)]=function(_0xd9017b,_0x2cfd49){return _0xd9017b===_0x2cfd49;},_0x47a64c['xMXre']=_0x3677ac(0xfc);const _0x206e0f=_0x47a64c;if(_0x206e0f[_0x3677ac(0x115)](_0x15fe0d[_0x3677ac(0xf6)],0x1)&&_0x206e0f[_0x3677ac(0x126)](_0x15fe0d[0x1],_0x206e0f[_0x3677ac(0x118)]))return!![];return![];};async function run(_0x133336,_0x6845c1){const _0xc23aea=a33_0x1d2fc2,_0x57ff6d={'BJQeA':_0xc23aea(0x143),'wMEny':_0xc23aea(0xf9),'HXAah':function(_0x300564,_0x326cac){return _0x300564+_0x326cac;},'xssEE':_0xc23aea(0x15d),'pfCpz':'4|2|3|0|5|1|7|6|8','bFpCn':function(_0x1685b4){return _0x1685b4();},'gAmDc':function(_0x3d4af5,_0x269485){return _0x3d4af5+_0x269485;},'VanpV':_0xc23aea(0xf4),'WInZm':_0xc23aea(0x166),'kkpqI':_0xc23aea(0x12e),'rWRoX':_0xc23aea(0x134),'jfxeL':function(_0x58cd3d,_0x3d8a07){return _0x58cd3d>=_0x3d8a07;},'nFSXJ':_0xc23aea(0xfa),'Taieh':function(_0x3483d2,_0x457bf4,_0x3587a3){return _0x3483d2(_0x457bf4,_0x3587a3);},'iaQYM':function(_0x160e65,_0x4d0fde){return _0x160e65(_0x4d0fde);},'ZeFyR':_0xc23aea(0x18a),'cKgCT':_0xc23aea(0x17c),'fqUHS':function(_0x4c547c,_0x302059){return _0x4c547c!=_0x302059;},'JGJnY':function(_0x1e7f47,_0x2eb3f8,_0x3d403c){return _0x1e7f47(_0x2eb3f8,_0x3d403c);},'yufJt':function(_0x43ee72,_0x37b630){return _0x43ee72===_0x37b630;},'lsmGr':'true','YyiDR':function(_0xf614e,_0x33040e){return _0xf614e(_0x33040e);},'WWlPL':'browserstackSetupConfig.json','lVmXz':_0xc23aea(0x120),'MoWaJ':_0xc23aea(0x16d),'abWmP':function(_0x3847db,_0x189bd6){return _0x3847db-_0x189bd6;},'pXyQz':_0xc23aea(0x151),'lzBaP':function(_0x3358f5,_0x4eed65){return _0x3358f5>_0x4eed65;},'TsCEG':function(_0xb5e841,_0x380766){return _0xb5e841+_0x380766;},'DXpIC':function(_0x1bf571,_0xafdcf,_0x2a4acd,_0x32814e){return _0x1bf571(_0xafdcf,_0x2a4acd,_0x32814e);},'aajpe':'npx','SVdvE':_0xc23aea(0x102),'lUNDk':_0xc23aea(0xfc),'XzgPA':'--config','MDLzK':function(_0x4c3b5b,_0x27c3bd){return _0x4c3b5b===_0x27c3bd;},'ElCqN':_0xc23aea(0x182),'zODfp':_0xc23aea(0x140),'aEklt':_0xc23aea(0x16b)};!helper['isFalse'](process[_0xc23aea(0x117)]['BROWSERSTACK_AUTOMATION'])&&(process['env'][_0xc23aea(0x167)]=!![]);process['argv'][_0xc23aea(0x186)](_0x57ff6d['WInZm'])&&(process['env'][_0xc23aea(0x167)]=_0x57ff6d[_0xc23aea(0x188)],_0x6845c1=_0x6845c1[_0xc23aea(0x15c)](_0x37273d=>_0x37273d!==_0xc23aea(0x166)));const _0x2b5f8f=_0x6845c1['indexOf'](_0x57ff6d[_0xc23aea(0x163)]);_0x57ff6d[_0xc23aea(0x137)](_0x2b5f8f,0x0)&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x57ff6d['kkpqI'],_0x6845c1=_0x6845c1['filter'](_0x40b1d9=>_0x40b1d9!=='--disable-test-observability'));try{const _0x408fa0=path[_0xc23aea(0x157)](helper[_0xc23aea(0x100)](),_0x57ff6d[_0xc23aea(0x17f)],_0x57ff6d[_0xc23aea(0x142)]);fs[_0xc23aea(0xfb)](_0x408fa0)&&fs[_0xc23aea(0x10e)](_0x408fa0);}catch(_0x50a540){logger['debug'](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x13c)],_0x50a540));}if(!_0x57ff6d[_0xc23aea(0x147)](isTestCommand,_0x133336,_0x6845c1)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x6845c1);return;}const _0xae0428=new BrowserStackSetup(_0x133336,FRAMEWORKS['PLAYWRIGHT']);if(!_0xae0428[_0xc23aea(0x185)]){logger[_0xc23aea(0x183)](_0x57ff6d[_0xc23aea(0x14f)]);return;}await _0xae0428[_0xc23aea(0x181)]();!helper['isUndefined'](_0xae0428[_0xc23aea(0x108)])&&_0xae0428[_0xc23aea(0x108)][_0xc23aea(0x12f)](_0x57ff6d[_0xc23aea(0x121)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x167)]=_0xae0428['cliConfig'][_0xc23aea(0x18b)](_0x57ff6d['cKgCT'])||!![]);_0x57ff6d['fqUHS'](_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)],null)&&!helper[_0xc23aea(0x16a)](process[_0xc23aea(0x117)][_0xc23aea(0x153)])&&(process[_0xc23aea(0x117)][_0xc23aea(0x153)]=process[_0xc23aea(0x117)][_0xc23aea(0x153)]||_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x162)]);const _0x34286c=!helper['isFalse'](process['env'][_0xc23aea(0x153)]);let _0xad8219=![];_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]&&(_0xad8219=!![],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x17b)]);_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x148)]&&(process[_0xc23aea(0x117)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xc23aea(0x10d)](_0xae0428[_0xc23aea(0x185)]['accessibilityOptions']));const _0x1ae8f2=_0x6845c1[_0xc23aea(0x123)](),_0x20e4e3=await _0x57ff6d[_0xc23aea(0x110)](getUserPlaywrightConfig,_0x133336,_0x6845c1);if(helper[_0xc23aea(0x165)](_0x20e4e3)){_0x57ff6d[_0xc23aea(0x17e)](spawnOriginalProcess,_0x1ae8f2);return;}const _0x2259b2=_0x20e4e3[_0xc23aea(0x12b)]?path['dirname'](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)]();process[_0xc23aea(0x117)][_0xc23aea(0x161)]=_0x2259b2,await TestHubHandler['launchBuild'](FRAMEWORKS[_0xc23aea(0x132)],_0xae0428);_0x34286c&&_0x57ff6d[_0xc23aea(0x17e)](handleO11yRerun,_0x6845c1);let _0x21a7aa=_0x57ff6d['yufJt'](process[_0xc23aea(0x117)][_0xc23aea(0x158)],_0x57ff6d[_0xc23aea(0x14d)]);_0x21a7aa=_0x21a7aa||_0x57ff6d['iaQYM'](checkAccessibilityPlatformConfig,_0xae0428[_0xc23aea(0x185)]),process[_0xc23aea(0x117)][_0xc23aea(0x158)]=_0x21a7aa;_0x21a7aa&&_0x57ff6d['YyiDR'](setAccessibilityCapabilities,_0xae0428[_0xc23aea(0x185)]);const _0x1f1de4=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x57ff6d['WWlPL']);fs['writeFileSync'](_0x1f1de4,helper[_0xc23aea(0x16e)](_0xae0428[_0xc23aea(0x185)])),process[_0xc23aea(0x117)][_0xc23aea(0x14c)]=_0x1f1de4,helper['clearTempPWConfig']();let _0x28b353='';_0x57ff6d[_0xc23aea(0x150)](helper[_0xc23aea(0x13e)](),constants['PACKAGE_TYPE'][_0xc23aea(0x116)])?_0x28b353=_0x57ff6d[_0xc23aea(0x173)]:_0x28b353=_0x57ff6d[_0xc23aea(0x12d)];let _0x47070a='';if(helper[_0xc23aea(0x135)](_0x20e4e3[_0xc23aea(0x12b)])){_0x47070a=_0xc23aea(0x16f);const _0x32ad22=_0x28b353['split']('.');_0x32ad22[_0x57ff6d['abWmP'](_0x32ad22[_0xc23aea(0xf6)],0x1)]='ts',_0x28b353=_0x32ad22[_0xc23aea(0x157)]('.'),logger[_0xc23aea(0x160)](_0x57ff6d[_0xc23aea(0x17d)](_0x57ff6d[_0xc23aea(0x15b)],_0x28b353));}else _0x47070a=_0xc23aea(0x16c);const _0x157962=path['join'](_0x20e4e3[_0xc23aea(0x12b)]?path[_0xc23aea(0x172)](_0x20e4e3[_0xc23aea(0x12b)]):process[_0xc23aea(0x176)](),_0x28b353);let _0x1b3268=_0x20e4e3['path']?_0x20e4e3[_0xc23aea(0x12b)]:'';_0x1b3268=_0x57ff6d[_0xc23aea(0x11c)](_0x1b3268[_0xc23aea(0xf6)],0x0)?path[_0xc23aea(0x174)](_0x1b3268):'',process[_0xc23aea(0x117)][_0xc23aea(0x139)]=_0x1b3268;const _0x1fe359=helper[_0xc23aea(0x177)](_0xae0428[_0xc23aea(0x185)]);_0x1fe359&&(_0x47070a=_0x57ff6d[_0xc23aea(0x11d)](_0xc23aea(0xf3)+_0x1fe359+_0xc23aea(0x152),_0x47070a));helper[_0xc23aea(0xfd)]({},_0x6845c1),fs[_0xc23aea(0x125)](_0x157962,_0x47070a),helper[_0xc23aea(0x168)]();const _0x3f7004=_0x57ff6d[_0xc23aea(0x141)](spawn,_0x57ff6d['aajpe'],[_0x57ff6d[_0xc23aea(0xf7)],_0x57ff6d['lUNDk'],_0x57ff6d[_0xc23aea(0x17a)],_0x157962,..._0x6845c1['slice'](0x2)],{'shell':_0x57ff6d['MDLzK'](process[_0xc23aea(0x11f)],_0x57ff6d[_0xc23aea(0x189)]),'stdio':_0x57ff6d[_0xc23aea(0x113)],'cwd':process[_0xc23aea(0x176)](),'env':Object['assign']({},process[_0xc23aea(0x117)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xc23aea(0x15e)](_0x133336),'BROWSERSTACK_SKIP_SESSION_STATUS':_0xae0428[_0xc23aea(0x185)]['testContextOptions'][_0xc23aea(0x10f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0xae0428['config'][_0xc23aea(0x159)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0xae0428[_0xc23aea(0x185)][_0xc23aea(0x14e)]})}),_0x597940=()=>{const _0x45d0fe=_0xc23aea;try{const _0x22551a=path[_0x45d0fe(0x157)](helper['homedir'](),_0x57ff6d['BJQeA'],_0x57ff6d['wMEny']);if(fs[_0x45d0fe(0xfb)](_0x22551a)){let _0x1bf10d=fs[_0x45d0fe(0x175)](_0x22551a);_0x1bf10d=JSON[_0x45d0fe(0xfe)](_0x1bf10d),_0xae0428[_0x45d0fe(0x101)]=_0x1bf10d,fs[_0x45d0fe(0x10e)](_0x22551a);}}catch(_0xf9f7c5){logger[_0x45d0fe(0x160)](_0x57ff6d['HXAah'](_0x57ff6d[_0x45d0fe(0x129)],_0xf9f7c5));}};_0x3f7004['on'](_0x57ff6d['aEklt'],async _0xe220ee=>{const _0x28d959=_0xc23aea;try{const _0x19e837=_0x57ff6d[_0x28d959(0x169)][_0x28d959(0x122)]('|');let _0x20fe18=0x0;while(!![]){switch(_0x19e837[_0x20fe18++]){case'0':process[_0x28d959(0x11b)]=_0xe220ee;continue;case'1':logger[_0x28d959(0x145)](_0x28d959(0x106)+_0x157962);continue;case'2':await TestHubHandler['stop']();continue;case'3':await helper[_0x28d959(0x13a)](_0xae0428);continue;case'4':_0x57ff6d[_0x28d959(0x149)](_0x597940);continue;case'5':logger[_0x28d959(0x160)]('Playwright\x20process\x20exited\x20with\x20code\x20'+_0xe220ee);continue;case'6':logger[_0x28d959(0x160)](_0x28d959(0x106)+_0x1f1de4);continue;case'7':fs[_0x28d959(0x10e)](_0x157962);continue;case'8':fs['unlinkSync'](_0x1f1de4);continue;}break;}}catch(_0x413e22){logger[_0x28d959(0x160)](_0x57ff6d[_0x28d959(0x17d)](_0x57ff6d[_0x28d959(0x170)],_0x413e22));}});}module[a33_0x1d2fc2(0x107)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x4a5a25=a34_0x5206;(function(_0x315b33,_0x363387){const _0x351860=a34_0x5206,_0x5b7870=_0x315b33();while(!![]){try{const _0x13afab=parseInt(_0x351860(0x19d))/0x1*(-parseInt(_0x351860(0x1bb))/0x2)+parseInt(_0x351860(0x1a9))/0x3*(parseInt(_0x351860(0x1b7))/0x4)+-parseInt(_0x351860(0x1a8))/0x5*(-parseInt(_0x351860(0x19b))/0x6)+-parseInt(_0x351860(0x1a0))/0x7*(-parseInt(_0x351860(0x19e))/0x8)+-parseInt(_0x351860(0x1ac))/0x9*(-parseInt(_0x351860(0x1b9))/0xa)+parseInt(_0x351860(0x198))/0xb*(parseInt(_0x351860(0x1af))/0xc)+parseInt(_0x351860(0x19a))/0xd*(-parseInt(_0x351860(0x1a2))/0xe);if(_0x13afab===_0x363387)break;else _0x5b7870['push'](_0x5b7870['shift']());}catch(_0x4e546b){_0x5b7870['push'](_0x5b7870['shift']());}}}(a34_0x1448,0xba266));function a34_0x5206(_0x4aaa3c,_0x2ca62a){const _0x144859=a34_0x1448();return a34_0x5206=function(_0x52068b,_0x5e2376){_0x52068b=_0x52068b-0x198;let _0x1a1eb4=_0x144859[_0x52068b];return _0x1a1eb4;},a34_0x5206(_0x4aaa3c,_0x2ca62a);}const child_process=require(a34_0x4a5a25(0x1b3)),{FRAMEWORKS}=require(a34_0x4a5a25(0x1b8)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a34_0x4a5a25(0x1a3)),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x4a5a25(0x19f)),logger=require('../../helpers/logger')[a34_0x4a5a25(0x1aa)];function a34_0x1448(){const _0x49b392=['VudnP','error','compareVersions','OpHHj','66ijLXsv','Call\x20to\x20child\x20fork\x20with\x20args\x20','689RYjHru','1182ShsIiQ','env','277oPBKNX','2584ZueKkN','./reporter/pwUtils','31689vYCdsG','sWMhB','739802TFgyWu','../../helpers/helper','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','requirePWModule','HbKeP','apply','1205aJRCrL','174tbWDhw','winstonLogger','MIdtF','948168tppuGm','Not\x20able\x20to\x20import\x20globalSetup','Running\x20existing\x20global\x20setup','2686188fszTUi','exports','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','\x20is\x20not\x20found','child_process','PLAYWRIGHT','fork','HIaiv','54212uQpepV','../../helpers/test-observability/constants','110WZGhgW','./mock-process.js','8914sQlsvN','function'];a34_0x1448=function(){return _0x49b392;};return a34_0x1448();}module[a34_0x4a5a25(0x1b0)]=async function(_0x25434e){const _0x131a27=a34_0x4a5a25,_0x4924bc={'sWMhB':function(_0x5bc474,_0x550903){return _0x5bc474(_0x550903);},'ecwue':function(_0x1de9dd){return _0x1de9dd();},'HbKeP':_0x131a27(0x1ba),'bzZyH':function(_0x22610e){return _0x22610e();},'Felnt':_0x131a27(0x1ae),'VvgLa':function(_0x4916d3,_0x432f2e){return _0x4916d3>=_0x432f2e;},'VudnP':'1.33.0','MIdtF':function(_0x58dfca,_0x3e6344,_0x4d4531){return _0x58dfca(_0x3e6344,_0x4d4531);},'ZDjPD':function(_0x3c3b4c,_0xd86758){return _0x3c3b4c!==_0xd86758;},'Vvyxa':_0x131a27(0x1bc),'HIaiv':_0x131a27(0x1ad),'OpHHj':function(_0x1c3c81,_0x297fb3){return _0x1c3c81(_0x297fb3);}},_0x1142ab=child_process[_0x131a27(0x1b5)];child_process[_0x131a27(0x1b5)]=function(){const _0x30334e=_0x131a27;return _0x4924bc[_0x30334e(0x1a1)](debug,_0x30334e(0x199)+arguments[0x0]),arguments[0x0]['includes'](_0x4924bc['ecwue'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x4924bc[_0x30334e(0x1a6)]):logger[_0x30334e(0x1be)]('Path\x20'+_0x4924bc['bzZyH'](getForkProcessPath)+_0x30334e(0x1b2)),_0x1142ab['apply'](null,arguments);};if(process[_0x131a27(0x19c)][_0x131a27(0x1a4)]){_0x4924bc['sWMhB'](debug,_0x4924bc['Felnt']);try{const {loadGlobalHook:_0x555658}=helper[_0x131a27(0x1a5)][_0x131a27(0x1a7)](null,_0x4924bc['bzZyH'](getLoadUtilsPath)),_0x54d34a=_0x4924bc[_0x131a27(0x1a1)](getFrameworkVersion,FRAMEWORKS[_0x131a27(0x1b4)]);let _0x209695=_0x25434e;if(_0x4924bc['VvgLa'](helper[_0x131a27(0x1bf)](_0x54d34a,_0x4924bc[_0x131a27(0x1bd)]),0x0)){const _0x4f5111={};_0x4f5111['config']=_0x25434e,_0x209695=_0x4f5111;}const _0x1745e3=await _0x4924bc[_0x131a27(0x1ab)](_0x555658,_0x209695,process[_0x131a27(0x19c)][_0x131a27(0x1a4)]);if(_0x4924bc['ZDjPD'](typeof _0x1745e3,_0x4924bc['Vvyxa']))throw new Error(_0x4924bc[_0x131a27(0x1b6)]);return _0x1745e3[_0x131a27(0x1a7)](null,arguments);}catch(_0x118ba0){_0x4924bc[_0x131a27(0x1c0)](debug,_0x131a27(0x1b1)+_0x118ba0['toString']());}}};
|