browserstack-node-sdk 1.34.24 → 1.34.25
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/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
function a29_0x32d9(_0x3b5361,_0x54a3b5){const _0xae27f9=a29_0xae27();return a29_0x32d9=function(_0x32d9af,_0x2d93a5){_0x32d9af=_0x32d9af-0x102;let _0x22171c=_0xae27f9[_0x32d9af];return _0x22171c;},a29_0x32d9(_0x3b5361,_0x54a3b5);}const a29_0x2a1f73=a29_0x32d9;(function(_0x18bcdb,_0x1ec78e){const _0x54e208=a29_0x32d9,_0xb79c76=_0x18bcdb();while(!![]){try{const _0x348fcb=parseInt(_0x54e208(0x150))/0x1+parseInt(_0x54e208(0x148))/0x2+parseInt(_0x54e208(0x166))/0x3+parseInt(_0x54e208(0x15b))/0x4+-parseInt(_0x54e208(0x154))/0x5+parseInt(_0x54e208(0x135))/0x6*(parseInt(_0x54e208(0x127))/0x7)+parseInt(_0x54e208(0x147))/0x8*(-parseInt(_0x54e208(0x10f))/0x9);if(_0x348fcb===_0x1ec78e)break;else _0xb79c76['push'](_0xb79c76['shift']());}catch(_0x430a25){_0xb79c76['push'](_0xb79c76['shift']());}}}(a29_0xae27,0x462d2));const logger=require(a29_0x2a1f73(0x117))['winstonLogger'],helper=require(a29_0x2a1f73(0x113)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x2a1f73(0x16e)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x2a1f73(0x109)),{setAccessibilityCapabilities,setExtension}=require(a29_0x2a1f73(0x119)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x2a1f73(0x145)),globals=require(a29_0x2a1f73(0x14c)),{overrideExecute}=require(a29_0x2a1f73(0x129)),modify=(_0x2c96ac,_0x14f56a=null,_0x380819=![])=>{const _0x563375=a29_0x2a1f73,_0x325aa5={'eBoyl':function(_0x2485aa,_0x289b92){return _0x2485aa!==_0x289b92;},'MrYMw':'/session','vdXtJ':function(_0x356637,_0x56a140){return _0x356637!==_0x56a140;},'UFsmh':function(_0x583fc7,_0x48f59c){return _0x583fc7+_0x48f59c;},'eUoHl':_0x563375(0x15c),'XJPRx':_0x563375(0x11d),'hymco':'goog:chromeOptions','PYmUq':_0x563375(0x168),'sZTqx':_0x563375(0x158),'QleGr':_0x563375(0x162),'wLgQp':_0x563375(0x170),'quZWR':_0x563375(0x11b),'qWmny':_0x563375(0x167),'GZnzd':_0x563375(0x17c),'NFwME':_0x563375(0x13e),'xLuxN':function(_0x2bd77c,_0x5d3185){return _0x2bd77c===_0x5d3185;},'NNElB':'object','vucjl':_0x563375(0x176),'WgPHV':_0x563375(0x13b),'CFEiS':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','mnStF':function(_0x4d6584,_0x5d269d,_0x4599ce){return _0x4d6584(_0x5d269d,_0x4599ce);},'RMGWQ':function(_0x476e26,_0xe1df26,_0x78a2a5){return _0x476e26(_0xe1df26,_0x78a2a5);},'XMmGd':function(_0xe2c758,_0x349b59){return _0xe2c758(_0x349b59);},'aEYRp':function(_0x5e778d,_0x4d0b62,_0xf6ceb5){return _0x5e778d(_0x4d0b62,_0xf6ceb5);},'eqRfC':function(_0x418e44,_0x3e84ab,_0x4b43ff){return _0x418e44(_0x3e84ab,_0x4b43ff);},'ToaRk':_0x563375(0x152),'erVdB':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','hCWEg':function(_0x59fd71){return _0x59fd71();},'TqNTL':_0x563375(0x125),'elFcW':function(_0x2b03f9,_0x19de28){return _0x2b03f9!==_0x19de28;},'HYqpK':function(_0x308e3f,_0x3f0876){return _0x308e3f!==_0x3f0876;},'JDMFo':_0x563375(0x178),'CrQnz':_0x563375(0x122)},_0x2e0e13=helper[_0x563375(0x140)]();let _0x1c1cf6;try{_0x1c1cf6=helper[_0x563375(0x165)](),_0x1c1cf6[_0x563375(0x12d)]&&(_0x1c1cf6[_0x563375(0x11f)]=_0x1c1cf6[_0x563375(0x12d)]);}catch(_0x16224d){return;}if(helper[_0x563375(0x137)]()){const _0x3d0ab0={};_0x3d0ab0[_0x563375(0x10d)]=_0x2c96ac[_0x563375(0x175)],helper[_0x563375(0x153)](_0x3d0ab0,new Map(),new Map()),logger[_0x563375(0x15f)](_0x325aa5[_0x563375(0x120)]),logger[_0x563375(0x14a)](_0x325aa5['CrQnz']);}class _0x4a7fa4 extends _0x2e0e13[_0x563375(0x107)]{[_0x563375(0x123)](_0x3cc005){const _0x53ed67=_0x563375;if(_0x325aa5[_0x53ed67(0x156)](_0x3cc005[_0x53ed67(0x106)],_0x325aa5[_0x53ed67(0x14e)])&&_0x325aa5[_0x53ed67(0x114)](global[_0x53ed67(0x141)],''))try{global[_0x53ed67(0x141)]=_0x325aa5[_0x53ed67(0x169)](_0x325aa5[_0x53ed67(0x169)](_0x325aa5[_0x53ed67(0x142)],global[_0x53ed67(0x141)]),_0x325aa5[_0x53ed67(0x103)]),this[_0x53ed67(0x146)]=hubAllocator[_0x53ed67(0x16a)](global[_0x53ed67(0x141)]),logger[_0x53ed67(0x14a)]('New\x20hub\x20url\x20set\x20to\x20'+global[_0x53ed67(0x141)]),global[_0x53ed67(0x141)]='';}catch(_0x11f0ed){logger[_0x53ed67(0x14f)](_0x11f0ed);}return super[_0x53ed67(0x123)](_0x3cc005);}}class _0x1d9f68 extends _0x1c1cf6[_0x563375(0x11f)]{['setServer'](){const _0x51056d=_0x563375;return this[_0x51056d(0x160)]=helper[_0x51056d(0x16d)](_0x2c96ac),logger[_0x51056d(0x14a)](_0x51056d(0x12f)+this['url_']),this;}[_0x563375(0x138)](_0x14c047){const _0x10fdcf=_0x563375;let _0x5a27f0={};for(const _0xef003 in _0x14c047){switch(_0xef003){case _0x325aa5[_0x10fdcf(0x10b)]:case _0x325aa5[_0x10fdcf(0x12e)]:this['chromeOptions_']&&(_0x5a27f0=this[_0x10fdcf(0x126)]['get'](this['chromeOptions_'][_0x10fdcf(0x10a)])||{},this[_0x10fdcf(0x126)]['set'](this['chromeOptions_'][_0x10fdcf(0x10a)],helper[_0x10fdcf(0x108)](_0x5a27f0,_0x14c047[_0xef003])));break;case _0x325aa5[_0x10fdcf(0x10e)]:case _0x325aa5[_0x10fdcf(0x10c)]:this['edgeOptions_']&&(_0x5a27f0=this[_0x10fdcf(0x11c)]['get'](this[_0x10fdcf(0x11c)][_0x10fdcf(0x10a)])||{},this[_0x10fdcf(0x11c)][_0x10fdcf(0x118)](this[_0x10fdcf(0x11c)][_0x10fdcf(0x10a)],helper[_0x10fdcf(0x108)](_0x5a27f0,_0x14c047[_0xef003])));break;case _0x325aa5['wLgQp']:case _0x325aa5['quZWR']:this[_0x10fdcf(0x16c)]&&(_0x5a27f0=this[_0x10fdcf(0x16c)][_0x10fdcf(0x134)](this['firefoxOptions_'][_0x10fdcf(0x10a)])||{},this[_0x10fdcf(0x16c)][_0x10fdcf(0x118)](this[_0x10fdcf(0x16c)]['CAPABILITY_KEY'],helper[_0x10fdcf(0x108)](_0x5a27f0,_0x14c047[_0xef003])));break;case _0x325aa5['qWmny']:this[_0x10fdcf(0x112)]&&(_0x5a27f0=this[_0x10fdcf(0x112)][_0x10fdcf(0x134)](this['safariOptions_'][_0x10fdcf(0x10a)])||{},this['safariOptions_']['set'](this['safariOptions_'][_0x10fdcf(0x10a)],helper[_0x10fdcf(0x108)](_0x5a27f0,_0x14c047[_0xef003])));break;case _0x325aa5['GZnzd']:case _0x325aa5[_0x10fdcf(0x163)]:this[_0x10fdcf(0x124)]&&(_0x5a27f0=this['ieOptions_'][_0x10fdcf(0x134)](this[_0x10fdcf(0x124)][_0x10fdcf(0x10a)])||{},this['ieOptions_']['set'](this['ieOptions_'][_0x10fdcf(0x10a)],helper[_0x10fdcf(0x108)](_0x5a27f0,_0x14c047[_0xef003])));break;}}}['setCapabilities'](){const _0x28fb08=_0x563375,_0x258f1e={'UhSaG':function(_0x11a161,_0x2b46f9){const _0x50d2d8=a29_0x32d9;return _0x325aa5[_0x50d2d8(0x128)](_0x11a161,_0x2b46f9);},'QyCvU':_0x325aa5[_0x28fb08(0x110)]};return logger[_0x28fb08(0x14a)](_0x325aa5[_0x28fb08(0x171)]),this['__setBrowserOptions'](_0x2c96ac[_0x28fb08(0x12a)]),Object[_0x28fb08(0x11a)](_0x2c96ac['capability'])[_0x28fb08(0x121)](_0x5441a0=>{const _0x2145e6=_0x28fb08,_0x53e430=this[_0x2145e6(0x13a)]['get'](_0x5441a0);_0x258f1e[_0x2145e6(0x15a)](typeof _0x53e430,_0x258f1e[_0x2145e6(0x104)])?this[_0x2145e6(0x13a)]['set'](_0x5441a0,helper['mergeDeep'](_0x53e430,_0x2c96ac[_0x2145e6(0x12a)][_0x5441a0])):this[_0x2145e6(0x13a)][_0x2145e6(0x118)](_0x5441a0,_0x2c96ac[_0x2145e6(0x12a)][_0x5441a0]);}),this;}['build'](){const _0x5ca46c=_0x563375,_0x2ff4b0={'GymPC':function(_0x51de4c,_0x3cb0ee,_0x34c270){const _0x2e01cf=a29_0x32d9;return _0x325aa5[_0x2e01cf(0x139)](_0x51de4c,_0x3cb0ee,_0x34c270);},'iOGoi':function(_0x331922,_0x2b852e,_0x5b0cef){const _0xadcce1=a29_0x32d9;return _0x325aa5[_0xadcce1(0x133)](_0x331922,_0x2b852e,_0x5b0cef);}};if(helper[_0x5ca46c(0x137)]()){const _0x3ef281=_0x325aa5[_0x5ca46c(0x12b)]['split']('|');let _0x4feb8d=0x0;while(!![]){switch(_0x3ef281[_0x4feb8d++]){case'0':logger[_0x5ca46c(0x14a)](_0x325aa5[_0x5ca46c(0x105)]);continue;case'1':if(helper['isPacProxy'](_0x2c96ac['proxySettings'][_0x5ca46c(0x111)]))this[_0x5ca46c(0x13c)]=helper[_0x5ca46c(0x144)](_0x2c96ac[_0x5ca46c(0x173)]['proxyUrl']);else _0x2c96ac[_0x5ca46c(0x173)][_0x5ca46c(0x111)]&&(this[_0x5ca46c(0x174)]=_0x2c96ac[_0x5ca46c(0x173)][_0x5ca46c(0x111)],logger[_0x5ca46c(0x14a)](_0x5ca46c(0x13d)+this[_0x5ca46c(0x174)]));continue;case'2':this[_0x5ca46c(0x12c)]();continue;case'3':_0x325aa5[_0x5ca46c(0x159)](isAccessibilityAutomationSession)&&_0x325aa5[_0x5ca46c(0x143)](setAccessibilityCapabilities,_0x2c96ac);continue;case'4':globals['getGlobal'](_0x325aa5['TqNTL'])&&(!_0x325aa5[_0x5ca46c(0x139)](setExtension,this,_0x2c96ac)&&globals[_0x5ca46c(0x131)](_0x325aa5[_0x5ca46c(0x15d)],![]));continue;case'5':this[_0x5ca46c(0x155)]();continue;}break;}}const _0x3b382a=super['build']();return _0x3b382a[_0x5ca46c(0x161)]['then'](_0x175f5a=>{const _0x412669=_0x5ca46c;try{const _0x4deea8=_0x175f5a['caps_'][_0x412669(0x134)](_0x325aa5[_0x412669(0x149)]);_0x4deea8?(logger[_0x412669(0x14a)](_0x412669(0x14b)+_0x4deea8),hubAllocator[_0x412669(0x16b)](_0x4deea8),helper['storeOptimalHubUrl'](_0x4deea8)):logger[_0x412669(0x14a)](_0x325aa5[_0x412669(0x164)]);}catch(_0x3e4e73){logger['debug'](_0x412669(0x132)+_0x3e4e73);}}),_0x3b382a['quitCount_']=0x0,_0x3b382a['then']&&_0x3b382a[_0x5ca46c(0x16f)](_0x328bd5=>{const _0x4db40b=_0x5ca46c,_0x262d1f={'NZrVL':function(_0x2dc607,_0x4fb8d1,_0x34fd75){return _0x325aa5['mnStF'](_0x2dc607,_0x4fb8d1,_0x34fd75);}};_0x325aa5[_0x4db40b(0x115)](overrideQuit,_0x328bd5,_0x3b382a),_0x325aa5[_0x4db40b(0x143)](overrideTakeScreenshot,_0x328bd5),helper[_0x4db40b(0x177)](_0x328bd5,_0x2c96ac),_0x325aa5[_0x4db40b(0x139)](overrideExecute,_0x328bd5,_0x2c96ac),_0x328bd5['getAccessibilityResultsSummary']=async()=>{const _0x464dd2=_0x4db40b;return await _0x262d1f[_0x464dd2(0x17a)](getAccessibilityResultsSummary,_0x328bd5,global);},_0x328bd5[_0x4db40b(0x172)]=async()=>{return await _0x2ff4b0['GymPC'](getAccessibilityResults,_0x328bd5,global);};}),_0x3b382a[_0x5ca46c(0x151)]=async()=>{return await _0x2ff4b0['GymPC'](getAccessibilityResultsSummary,_0x3b382a,global);},_0x3b382a[_0x5ca46c(0x172)]=async()=>{const _0x32d93f=_0x5ca46c;return await _0x2ff4b0[_0x32d93f(0x116)](getAccessibilityResults,_0x3b382a,global);},_0x325aa5[_0x5ca46c(0x143)](overrideTakeScreenshot,_0x3b382a),_0x325aa5[_0x5ca46c(0x143)](overrideQuit,_0x3b382a),helper[_0x5ca46c(0x177)](_0x3b382a,_0x2c96ac),_0x325aa5['aEYRp'](overrideExecute,_0x3b382a,_0x2c96ac),helper[_0x5ca46c(0x15e)](global['__driversArray'])&&(global[_0x5ca46c(0x17b)]=[]),helper[_0x5ca46c(0x15e)](global['__drivers'])&&(global['__drivers']=[]),global['__driversArray']['push'](_0x3b382a),global[_0x5ca46c(0x179)]=_0x3b382a,_0x325aa5[_0x5ca46c(0x11e)](global['__drivers'],undefined)&&global[_0x5ca46c(0x14d)]['push'](_0x3b382a),_0x14f56a&&helper[_0x5ca46c(0x15e)](_0x14f56a[_0x5ca46c(0x157)][_0x5ca46c(0x17b)])&&(_0x14f56a['global']['__driversArray']=[]),_0x14f56a&&_0x325aa5[_0x5ca46c(0x13f)](_0x14f56a[_0x5ca46c(0x157)]['__drivers'],undefined)&&(_0x14f56a[_0x5ca46c(0x157)][_0x5ca46c(0x14d)][_0x5ca46c(0x136)](_0x3b382a),_0x14f56a['global'][_0x5ca46c(0x17b)][_0x5ca46c(0x136)](_0x3b382a)),_0x3b382a;}}return _0x1c1cf6['originalBuilder']=_0x1c1cf6[_0x563375(0x11f)],_0x1c1cf6[_0x563375(0x11f)]=_0x1d9f68,_0x2e0e13[_0x563375(0x107)]=_0x4a7fa4,_0x1c1cf6;};module[a29_0x2a1f73(0x130)][a29_0x2a1f73(0x102)]=modify;function a29_0xae27(){const _0x31c475=['QyCvU','erVdB','path','HttpClient','mergeDeep','../../../helpers/patchHelpers','CAPABILITY_KEY','hymco','QleGr','logLevel','sZTqx','153pXnaVT','NNElB','proxyUrl','safariOptions_','../../../helpers/helper','vdXtJ','RMGWQ','iOGoi','../../../helpers/logger','set','../accessibility-automation/helper','keys','firefoxOptions','edgeOptions_','/wd/hub','elFcW','Builder','JDMFo','forEach','Modifying\x20webdriver\x20builder','send','ieOptions_','isAccessibilityPlatform','chromeOptions_','77OOrPEO','xLuxN','./helpers/patchHelper','capability','ToaRk','setServer','originalBuilder','PYmUq','Hub\x20url\x20set\x20to\x20','exports','setGlobal','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','eqRfC','get','163236PAbGIQ','push','isBrowserstackInfra','__setBrowserOptions','aEYRp','capabilities_','optimalHubUrl','agent_','Proxy\x20set\x20to\x20','ieOptions','HYqpK','requireHttpClient','newHubUrl','eUoHl','XMmGd','getHttpAgent','../../../helpers/accessibility-automation/helper','options_','605088MQalLl','1052604CACrwa','WgPHV','debug','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../helpers/globals','__drivers','MrYMw','error','463344WqYpFQ','getAccessibilityResultsSummary','3|2|5|1|4|0','setLogLevel','984550wHjgap','setCapabilities','eBoyl','global','ms:edgeOptions','hCWEg','UhSaG','544912IzGLiH','https://','TqNTL','isUndefined','info','url_','session_','edgeOptions','NFwME','CFEiS','requireSeleniumWebdriver','1035072GlSAKO','safari.options','chromeOptions','UFsmh','getRequestOptions','updateHubUrl','firefoxOptions_','getHubUrl','../../../hubAllocationMethods','then','moz:firefoxOptions','vucjl','getAccessibilityResults','proxySettings','proxy_','browserStackLogLevel','Setting\x20Browserstack\x20capabilities','overrideGet','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','__driver','NZrVL','__driversArray','se:ieOptions','browserstackAgentObservability','XJPRx'];a29_0xae27=function(){return _0x31c475;};return a29_0xae27();}
|
|
1
|
+
const a29_0x1566bc=a29_0x3683;(function(_0x18d157,_0x7c19a9){const _0x27d4e7=a29_0x3683,_0x138990=_0x18d157();while(!![]){try{const _0x5111f7=-parseInt(_0x27d4e7(0x10e))/0x1+-parseInt(_0x27d4e7(0xde))/0x2+-parseInt(_0x27d4e7(0x102))/0x3+parseInt(_0x27d4e7(0xbd))/0x4+-parseInt(_0x27d4e7(0xf9))/0x5*(-parseInt(_0x27d4e7(0xbc))/0x6)+parseInt(_0x27d4e7(0xff))/0x7+parseInt(_0x27d4e7(0xab))/0x8;if(_0x5111f7===_0x7c19a9)break;else _0x138990['push'](_0x138990['shift']());}catch(_0x3c3402){_0x138990['push'](_0x138990['shift']());}}}(a29_0x363f,0x7b420));const logger=require(a29_0x1566bc(0xfe))[a29_0x1566bc(0xd1)],helper=require(a29_0x1566bc(0x109)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x1566bc(0xd0)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x1566bc(0xda)),{setAccessibilityCapabilities,setExtension}=require(a29_0x1566bc(0xf1)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x1566bc(0xaa)),{overrideExecute}=require(a29_0x1566bc(0xc1)),modify=(_0x531d28,_0x4ccf46=null,_0x505ef7=![])=>{const _0x1e82c2=a29_0x1566bc,_0x4e4eea={'qVRcO':function(_0x350770,_0xf7d4f4){return _0x350770!==_0xf7d4f4;},'olbCz':_0x1e82c2(0xf7),'osFYA':function(_0x4323b6,_0xf1d909){return _0x4323b6!==_0xf1d909;},'cJSvD':function(_0xbdc817,_0x4c4e10){return _0xbdc817+_0x4c4e10;},'AoFPA':function(_0x322227,_0x1ff0b8){return _0x322227+_0x1ff0b8;},'JpncJ':_0x1e82c2(0xed),'wKhxq':_0x1e82c2(0xf0),'lslVF':_0x1e82c2(0xf5),'oMoMf':_0x1e82c2(0xcb),'IWdJs':_0x1e82c2(0xca),'IdsWg':_0x1e82c2(0xb1),'aOjNR':'moz:firefoxOptions','lHoSB':_0x1e82c2(0x107),'OAMOF':_0x1e82c2(0x97),'xgGxH':_0x1e82c2(0xec),'wfHcD':_0x1e82c2(0xd6),'cGxlD':function(_0x1ec4e3,_0x1acd44){return _0x1ec4e3===_0x1acd44;},'HXTxN':_0x1e82c2(0xe6),'KTNHO':'Setting\x20Browserstack\x20capabilities','aRBgV':_0x1e82c2(0x106),'arJIo':_0x1e82c2(0xf2),'IkbsV':'3|0|1|5|2|4','dlzPV':function(_0x587e6c,_0x11341c){return _0x587e6c(_0x11341c);},'YKnYJ':function(_0x334a52,_0x21b8dc,_0x377675){return _0x334a52(_0x21b8dc,_0x377675);},'nkLGW':function(_0x39d5e2,_0x1cd1b1,_0xfe2fc3){return _0x39d5e2(_0x1cd1b1,_0xfe2fc3);},'kOlpB':function(_0x42fb42,_0x19e21f,_0x34f3ee){return _0x42fb42(_0x19e21f,_0x34f3ee);},'uhcXg':'3|4|2|5|1|0','UCTMx':_0x1e82c2(0xb4),'EQVXs':_0x1e82c2(0xe7),'zhTEx':function(_0x2d02d4,_0x178b33,_0x1afd7c){return _0x2d02d4(_0x178b33,_0x1afd7c);},'eKski':function(_0x48beee){return _0x48beee();},'LvThE':function(_0x292514,_0x4fd771){return _0x292514(_0x4fd771);},'rIoxP':function(_0x99b9bc,_0x4414f0){return _0x99b9bc!==_0x4414f0;},'mpqKM':_0x1e82c2(0xc0),'HhIdz':'Modifying\x20webdriver\x20builder'},_0x4a595b=helper[_0x1e82c2(0xb3)]();let _0x4122ba;try{_0x4122ba=helper['requireSeleniumWebdriver'](),_0x4122ba[_0x1e82c2(0xcc)]&&(_0x4122ba[_0x1e82c2(0xdf)]=_0x4122ba[_0x1e82c2(0xcc)]);}catch(_0x48bde6){return;}if(helper['isBrowserstackInfra']()){const _0x5724c8={};_0x5724c8[_0x1e82c2(0xfd)]=_0x531d28[_0x1e82c2(0xc7)],helper['setLogLevel'](_0x5724c8,new Map(),new Map()),logger[_0x1e82c2(0xe1)](_0x4e4eea[_0x1e82c2(0xc9)]),logger['debug'](_0x4e4eea[_0x1e82c2(0xe5)]);}class _0x557018 extends _0x4a595b[_0x1e82c2(0xa7)]{['send'](_0x451ee5){const _0x42dfef=_0x1e82c2;if(_0x4e4eea['qVRcO'](_0x451ee5['path'],_0x4e4eea[_0x42dfef(0xc4)])&&_0x4e4eea[_0x42dfef(0xb7)](global[_0x42dfef(0xa4)],''))try{global[_0x42dfef(0xa4)]=_0x4e4eea[_0x42dfef(0x9e)](_0x4e4eea[_0x42dfef(0xc2)](_0x4e4eea[_0x42dfef(0xef)],global[_0x42dfef(0xa4)]),_0x4e4eea[_0x42dfef(0xbb)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x42dfef(0xa4)]),logger[_0x42dfef(0x9c)](_0x42dfef(0xc6)+global[_0x42dfef(0xa4)]),global['newHubUrl']='';}catch(_0x221c44){logger[_0x42dfef(0x104)](_0x221c44);}return super[_0x42dfef(0xb5)](_0x451ee5);}}class _0x2cf686 extends _0x4122ba[_0x1e82c2(0xdf)]{[_0x1e82c2(0xe4)](){const _0x5b139c=_0x1e82c2;return this[_0x5b139c(0x100)]=helper[_0x5b139c(0xce)](_0x531d28),logger[_0x5b139c(0x9c)](_0x5b139c(0xa1)+this[_0x5b139c(0x100)]),this;}[_0x1e82c2(0xe3)](_0x2e4005){const _0x40bb83=_0x1e82c2;let _0x9caacc={};for(const _0x421b4f in _0x2e4005){switch(_0x421b4f){case _0x4e4eea[_0x40bb83(0xd5)]:case _0x4e4eea[_0x40bb83(0x105)]:this[_0x40bb83(0xc8)]&&(_0x9caacc=this['chromeOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xc8)][_0x40bb83(0xf3)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xd4)]:case _0x4e4eea[_0x40bb83(0xc5)]:this[_0x40bb83(0xa2)]&&(_0x9caacc=this[_0x40bb83(0xa2)][_0x40bb83(0xd7)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xa2)][_0x40bb83(0xf3)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['aOjNR']:case _0x4e4eea[_0x40bb83(0xdc)]:this['firefoxOptions_']&&(_0x9caacc=this['firefoxOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)])||{},this['firefoxOptions_'][_0x40bb83(0xf3)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)],helper['mergeDeep'](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['OAMOF']:this[_0x40bb83(0x95)]&&(_0x9caacc=this['safariOptions_'][_0x40bb83(0xd7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x40bb83(0x95)][_0x40bb83(0xf3)](this[_0x40bb83(0x95)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xc3)]:case _0x4e4eea[_0x40bb83(0xa9)]:this[_0x40bb83(0xfb)]&&(_0x9caacc=this[_0x40bb83(0xfb)][_0x40bb83(0xd7)](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xfb)]['set'](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;}}}[_0x1e82c2(0xbe)](){const _0x3251b6=_0x1e82c2,_0x5ebafc={'ulOGu':function(_0x2e611b,_0x3d2cd0){const _0x14401b=a29_0x3683;return _0x4e4eea[_0x14401b(0x9b)](_0x2e611b,_0x3d2cd0);},'SkBjD':_0x4e4eea[_0x3251b6(0xee)]};return logger[_0x3251b6(0x9c)](_0x4e4eea[_0x3251b6(0xac)]),this[_0x3251b6(0xe3)](_0x531d28[_0x3251b6(0xdd)]),Object[_0x3251b6(0x10c)](_0x531d28[_0x3251b6(0xdd)])[_0x3251b6(0xfa)](_0x472ed8=>{const _0x39f894=_0x3251b6,_0x3c1515=this[_0x39f894(0xa3)][_0x39f894(0xd7)](_0x472ed8);_0x5ebafc[_0x39f894(0x94)](typeof _0x3c1515,_0x5ebafc[_0x39f894(0xad)])?this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,helper[_0x39f894(0x9f)](_0x3c1515,_0x531d28[_0x39f894(0xdd)][_0x472ed8])):this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,_0x531d28[_0x39f894(0xdd)][_0x472ed8]);}),this;}[_0x1e82c2(0x93)](){const _0x452e6b=_0x1e82c2,_0x272f4b={'fncVu':function(_0xb538e,_0x143946,_0xcd3844){const _0x358b1f=a29_0x3683;return _0x4e4eea[_0x358b1f(0xe9)](_0xb538e,_0x143946,_0xcd3844);}};if(helper['isBrowserstackInfra']()){const _0x4e6eb3=_0x4e4eea[_0x452e6b(0xba)][_0x452e6b(0x92)]('|');let _0x2b9e4f=0x0;while(!![]){switch(_0x4e6eb3[_0x2b9e4f++]){case'0':logger[_0x452e6b(0x9c)](_0x4e4eea[_0x452e6b(0xa0)]);continue;case'1':globals[_0x452e6b(0xf4)](_0x4e4eea['EQVXs'])&&(!_0x4e4eea[_0x452e6b(0xe2)](setExtension,this,_0x531d28)&&globals[_0x452e6b(0xa8)](_0x4e4eea[_0x452e6b(0x10d)],![]));continue;case'2':this[_0x452e6b(0xbe)]();continue;case'3':_0x4e4eea[_0x452e6b(0x10a)](isAccessibilityAutomationSession)&&_0x4e4eea[_0x452e6b(0xb2)](setAccessibilityCapabilities,_0x531d28);continue;case'4':this[_0x452e6b(0xe4)]();continue;case'5':if(helper[_0x452e6b(0xfc)](_0x531d28['proxySettings'][_0x452e6b(0xd9)]))this[_0x452e6b(0xbf)]=helper[_0x452e6b(0xd2)](_0x531d28[_0x452e6b(0xf6)]['proxyUrl']);else _0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)]&&(this['proxy_']=_0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x452e6b(0x96)]));continue;}break;}}const _0x39ec9e=super[_0x452e6b(0x93)]();return _0x39ec9e[_0x452e6b(0xb0)][_0x452e6b(0xf8)](_0x263f4b=>{const _0x39b0ea=_0x452e6b;try{const _0x4ef3fb=_0x263f4b[_0x39b0ea(0xae)][_0x39b0ea(0xd7)](_0x4e4eea['aRBgV']);_0x4ef3fb?(logger['debug'](_0x39b0ea(0xcf)+_0x4ef3fb),hubAllocator[_0x39b0ea(0x108)](_0x4ef3fb),helper[_0x39b0ea(0xe0)](_0x4ef3fb)):logger[_0x39b0ea(0x9c)](_0x4e4eea[_0x39b0ea(0x10b)]);}catch(_0x47f4db){logger[_0x39b0ea(0x9c)](_0x39b0ea(0xe8)+_0x47f4db);}}),_0x39ec9e['quitCount_']=0x0,_0x39ec9e[_0x452e6b(0xf8)]&&_0x39ec9e[_0x452e6b(0xf8)](_0x5e616a=>{const _0x168be4=_0x452e6b,_0x53a36b=_0x4e4eea[_0x168be4(0x9a)]['split']('|');let _0x360f92=0x0;while(!![]){switch(_0x53a36b[_0x360f92++]){case'0':_0x4e4eea[_0x168be4(0x9d)](overrideTakeScreenshot,_0x5e616a);continue;case'1':helper[_0x168be4(0x91)](_0x5e616a,_0x531d28);continue;case'2':_0x5e616a[_0x168be4(0xd8)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResultsSummary,_0x5e616a,global);};continue;case'3':_0x4e4eea[_0x168be4(0x103)](overrideQuit,_0x5e616a,_0x39ec9e);continue;case'4':_0x5e616a['getAccessibilityResults']=async()=>{const _0x2dcd4e=_0x168be4;return await _0x272f4b[_0x2dcd4e(0xb6)](getAccessibilityResults,_0x5e616a,global);};continue;case'5':_0x4e4eea[_0x168be4(0x103)](overrideExecute,_0x5e616a,_0x531d28);continue;}break;}}),_0x39ec9e[_0x452e6b(0xd8)]=async()=>{const _0x19bb60=_0x452e6b;return await _0x4e4eea[_0x19bb60(0xea)](getAccessibilityResultsSummary,_0x39ec9e,global);},_0x39ec9e[_0x452e6b(0xd3)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResults,_0x39ec9e,global);},_0x4e4eea[_0x452e6b(0x9d)](overrideTakeScreenshot,_0x39ec9e),_0x4e4eea['dlzPV'](overrideQuit,_0x39ec9e),helper[_0x452e6b(0x91)](_0x39ec9e,_0x531d28),_0x4e4eea[_0x452e6b(0xe2)](overrideExecute,_0x39ec9e,_0x531d28),helper[_0x452e6b(0x101)](global[_0x452e6b(0xeb)])&&(global[_0x452e6b(0xeb)]=[]),helper['isUndefined'](global[_0x452e6b(0x98)])&&(global['__drivers']=[]),global['__driversArray']['push'](_0x39ec9e),global[_0x452e6b(0xdb)]=_0x39ec9e,_0x4e4eea[_0x452e6b(0xb8)](global[_0x452e6b(0x98)],undefined)&&global['__drivers'][_0x452e6b(0xcd)](_0x39ec9e),_0x4ccf46&&helper[_0x452e6b(0x101)](_0x4ccf46[_0x452e6b(0x99)]['__driversArray'])&&(_0x4ccf46['global'][_0x452e6b(0xeb)]=[]),_0x4ccf46&&_0x4e4eea[_0x452e6b(0xa6)](_0x4ccf46[_0x452e6b(0x99)][_0x452e6b(0x98)],undefined)&&(_0x4ccf46['global'][_0x452e6b(0x98)]['push'](_0x39ec9e),_0x4ccf46['global'][_0x452e6b(0xeb)][_0x452e6b(0xcd)](_0x39ec9e)),_0x39ec9e;}}return _0x4122ba[_0x1e82c2(0xcc)]=_0x4122ba[_0x1e82c2(0xdf)],_0x4122ba[_0x1e82c2(0xdf)]=_0x2cf686,_0x4a595b['HttpClient']=_0x557018,_0x4122ba;};function a29_0x3683(_0x5449cb,_0x167476){const _0x363ff0=a29_0x363f();return a29_0x3683=function(_0x368310,_0xdd7576){_0x368310=_0x368310-0x91;let _0x54d67a=_0x363ff0[_0x368310];return _0x54d67a;},a29_0x3683(_0x5449cb,_0x167476);}module['exports'][a29_0x1566bc(0xa5)]=modify;function a29_0x363f(){const _0x392619=['chromeOptions','originalBuilder','push','getHubUrl','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../hubAllocationMethods','winstonLogger','getHttpAgent','getAccessibilityResults','IWdJs','lslVF','ieOptions','get','getAccessibilityResultsSummary','proxyUrl','../../../helpers/patchHelpers','__driver','lHoSB','capability','969640nafSMf','Builder','storeOptimalHubUrl','info','zhTEx','__setBrowserOptions','setServer','HhIdz','object','isAccessibilityPlatform','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','kOlpB','nkLGW','__driversArray','se:ieOptions','https://','HXTxN','JpncJ','/wd/hub','../accessibility-automation/helper','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','set','getGlobal','goog:chromeOptions','proxySettings','/session','then','5WkdZmF','forEach','ieOptions_','isPacProxy','logLevel','../../../helpers/logger','1435224fqiHeH','url_','isUndefined','2965770hjVKYx','YKnYJ','error','oMoMf','optimalHubUrl','firefoxOptions','updateHubUrl','../../../helpers/helper','eKski','arJIo','keys','EQVXs','369050uyecnr','overrideGet','split','build','ulOGu','safariOptions_','proxy_','safari.options','__drivers','global','IkbsV','cGxlD','debug','dlzPV','cJSvD','mergeDeep','UCTMx','Hub\x20url\x20set\x20to\x20','edgeOptions_','capabilities_','newHubUrl','browserstackAgentObservability','rIoxP','HttpClient','setGlobal','wfHcD','../../../helpers/globals','9862600QYLebv','KTNHO','SkBjD','caps_','CAPABILITY_KEY','session_','edgeOptions','LvThE','requireHttpClient','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','send','fncVu','osFYA','qVRcO','firefoxOptions_','uhcXg','wKhxq','1435542BmcWas','2680840WyKKCV','setCapabilities','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./helpers/patchHelper','AoFPA','xgGxH','olbCz','IdsWg','New\x20hub\x20url\x20set\x20to\x20','browserStackLogLevel','chromeOptions_','mpqKM','ms:edgeOptions'];a29_0x363f=function(){return _0x392619;};return a29_0x363f();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a30_0x4594(){const _0x37c416=['1143pOLnAa','okxGY','770080sAQEUS','2487705BmWcKr','280295FqUNEN','402801UqUlmU','16waTQQs','16904dWpNtt','timeout','1027897oguycl','10hMevHD','6WLAnbP','10190939nBsGnC','../../../helpers/test-observability/utils','mochaHooks','restore'];a30_0x4594=function(){return _0x37c416;};return a30_0x4594();}const a30_0x34c9bb=a30_0x2bf3;(function(_0x42fbcc,_0xf24cc2){const _0x509baf=a30_0x2bf3,_0x37d68e=_0x42fbcc();while(!![]){try{const _0x389d4e=parseInt(_0x509baf(0x1e9))/0x1+-parseInt(_0x509baf(0x1f2))/0x2+parseInt(_0x509baf(0x1f3))/0x3+-parseInt(_0x509baf(0x1e6))/0x4*(parseInt(_0x509baf(0x1f4))/0x5)+parseInt(_0x509baf(0x1eb))/0x6*(-parseInt(_0x509baf(0x1e5))/0x7)+-parseInt(_0x509baf(0x1e7))/0x8*(-parseInt(_0x509baf(0x1f0))/0x9)+parseInt(_0x509baf(0x1ea))/0xa*(-parseInt(_0x509baf(0x1ec))/0xb);if(_0x389d4e===_0xf24cc2)break;else _0x37d68e['push'](_0x37d68e['shift']());}catch(_0x54212a){_0x37d68e['push'](_0x37d68e['shift']());}}}(a30_0x4594,0x81ef7));function a30_0x2bf3(_0x2b36bc,_0x10569c){const _0x45946a=a30_0x4594();return a30_0x2bf3=function(_0x2bf3b8,_0x4764d7){_0x2bf3b8=_0x2bf3b8-0x1e5;let _0x147522=_0x45946a[_0x2bf3b8];return _0x147522;},a30_0x2bf3(_0x2b36bc,_0x10569c);}const requestSpy=require('../../../helpers/request-spy'),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a30_0x34c9bb(0x1ed));exports[a30_0x34c9bb(0x1ee)]={'beforeAll'(){const _0x238317=a30_0x34c9bb,_0x209af4={'okxGY':function(_0x2248fc){return _0x2248fc();}},_0x21dd44='browserstack internal helper hook';_0x209af4[_0x238317(0x1f1)](addRequestSpy);},'afterAll'(){const _0x53e39f=a30_0x34c9bb,_0x55b40a='browserstack internal helper hook';this[_0x53e39f(0x1e8)](0xea60),requestSpy[_0x53e39f(0x1ef)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a31_0x1aae(_0x3cf28f,_0x596bc8){const _0x35cf49=a31_0x35cf();return a31_0x1aae=function(_0x1aaec9,_0x5ac556){_0x1aaec9=_0x1aaec9-0x96;let _0x285df4=_0x35cf49[_0x1aaec9];return _0x285df4;},a31_0x1aae(_0x3cf28f,_0x596bc8);}const a31_0x11e00d=a31_0x1aae;function a31_0x35cf(){const _0x2e893c=['_beforeAll','eydhD','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','getCapabilities','tests','4btWOvJ','substring','reduce','DLqtJ','markedStatus','_beforeEach','concat','getBrowserVersion','pending','passed','vNhTL','nFFiS','toISOString','bs:addPlatformDetails:','string','_afterEach','getBrowserName','3240402qHNPQs','split','RYJrf','gmAmb','cOkYT','filter','fromEntries','slice','SurOD','indexOf','oeMeX','urtic','8181859ARyobV','lodash','getSession','dqMJC','state','../../../helpers/testhub/utils','Mkehn','js-','__cloud_provider___','114861XopsCM','vTBEf','NUoJK','failed','getTestEnv','forEach','browserstack','TEST_PLATFORM','IeTID','../../../helpers/helper','JIVrv','TLYJN','suites','WXeuZ','vfZXv','BSHql','734070uvXPFV','5434230JsWRbw','23636232nwlynq','map_','mapTestHooks','getHooksForTest','_afterAll','hook','KtsWC','../../../helpers/test-observability/utils','../../../helpers/test-observability/constants','toJSON','../../utils/logPatcher','hookAnalyticsId','SGSej','parent','Wdbwf','getHookDetails','type','4847724cSweNI','lpwsF'];a31_0x35cf=function(){return _0x2e893c;};return a31_0x35cf();}(function(_0x57d524,_0x503b36){const _0x21f713=a31_0x1aae,_0xb9e3a1=_0x57d524();while(!![]){try{const _0x5c19f8=parseInt(_0x21f713(0xa0))/0x1*(-parseInt(_0x21f713(0xca))/0x2)+-parseInt(_0x21f713(0xdb))/0x3+-parseInt(_0x21f713(0xc3))/0x4+-parseInt(_0x21f713(0xb1))/0x5+parseInt(_0x21f713(0xb0))/0x6+parseInt(_0x21f713(0x97))/0x7+parseInt(_0x21f713(0xb2))/0x8;if(_0x5c19f8===_0x503b36)break;else _0xb9e3a1['push'](_0xb9e3a1['shift']());}catch(_0x4e9b3a){_0xb9e3a1['push'](_0xb9e3a1['shift']());}}}(a31_0x35cf,0x9b896));const {v4:uuidv4}=require('uuid'),{name,version}=require('../../../../package.json'),logPatcher=require(a31_0x11e00d(0xbc)),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require('../../../helpers/test-observability/utils'),{consoleHolder}=require(a31_0x11e00d(0xba)),{getPlatformVersion}=require(a31_0x11e00d(0xa9)),{shouldProcessEventForTesthub}=require(a31_0x11e00d(0x9c)),{isFunction}=require(a31_0x11e00d(0x98)),{patchConsoleLogger}=require(a31_0x11e00d(0xb9));patchConsoleLogger(),exports[a31_0x11e00d(0xa4)]=()=>{const _0x571076=a31_0x11e00d,_0x168834={'NUoJK':'generic','ZJnkj':function(_0x430059){return _0x430059();}};return{'ci':_0x168834[_0x571076(0xa2)],'key':_0x168834['ZJnkj'](uuidv4),'version':version,'collector':_0x571076(0x9e)+name};},exports[a31_0x11e00d(0xc1)]=_0x1f33ec=>{const _0x3f831f=a31_0x11e00d,_0x4b34b7={};_0x4b34b7['RYJrf']=function(_0x1a7534,_0x47fbce){return _0x1a7534!==_0x47fbce;},_0x4b34b7[_0x3f831f(0xad)]=_0x3f831f(0xd8),_0x4b34b7[_0x3f831f(0xaf)]='hook:',_0x4b34b7['lpwsF']=_0x3f831f(0xb7);const _0x3b0a8d=_0x4b34b7;if(!_0x1f33ec||_0x3b0a8d[_0x3f831f(0xdd)](typeof _0x1f33ec,_0x3b0a8d[_0x3f831f(0xad)]))return[null,null];if(_0x3b0a8d[_0x3f831f(0xdd)](_0x1f33ec['indexOf'](_0x3b0a8d[_0x3f831f(0xaf)]),-0x1)){const _0x395e78=_0x1f33ec[_0x3f831f(0xdc)](_0x3b0a8d[_0x3f831f(0xaf)]);return[_0x395e78[0x0][_0x3f831f(0xe2)](0x0,-0x1)['split']('\x22')[0x1],_0x395e78[0x1][_0x3f831f(0xcb)](0x1)];}else{if(_0x3b0a8d[_0x3f831f(0xdd)](_0x1f33ec[_0x3f831f(0xe4)](_0x3b0a8d[_0x3f831f(0xc4)]),-0x1)){const _0x558f06=_0x1f33ec[_0x3f831f(0xdc)](_0x3b0a8d[_0x3f831f(0xc4)]);return[_0x558f06[0x0][_0x3f831f(0xe2)](0x0,-0x1)[_0x3f831f(0xdc)]('\x22')[0x1],_0x1f33ec];}}return[null,null];},exports['getHooksForTest']=_0xe57bc7=>{const _0x5992cc=a31_0x11e00d,_0x182c50={'eydhD':function(_0x1f86c6,_0x5b4f61){return _0x1f86c6(_0x5b4f61);},'XnTtZ':_0x5992cc(0xc5),'BQWWA':_0x5992cc(0xb6),'KtsWC':_0x5992cc(0xcf),'Mkehn':_0x5992cc(0xd9)};if(!_0xe57bc7||!_0xe57bc7['parent'])return[];const _0xc8313d=[];return[_0x182c50['XnTtZ'],_0x182c50['BQWWA'],_0x182c50[_0x5992cc(0xb8)],_0x182c50[_0x5992cc(0x9d)]][_0x5992cc(0xa5)](_0x41d0db=>{const _0x34be46=_0xe57bc7['parent'][_0x41d0db]||[];_0x34be46['forEach'](_0x204d5b=>{const _0x587cdc=a31_0x1aae;_0x204d5b['hookAnalyticsId']&&!_0x182c50[_0x587cdc(0xc6)](isInternalHook,_0x204d5b['fn'])&&_0xc8313d['push'](_0x204d5b[_0x587cdc(0xbd)]);});}),[..._0xc8313d,...exports[_0x5992cc(0xb5)](_0xe57bc7['parent'])];},exports[a31_0x11e00d(0xb4)]=_0x2d43e8=>{const _0x2b9749=a31_0x11e00d,_0x16a4bc={'DLqtJ':function(_0x516671){return _0x516671();},'ppuRe':function(_0x2aa444,_0x454d79){return _0x2aa444===_0x454d79;},'urtic':_0x2b9749(0xd9),'SGSej':function(_0x1b0ec4){return _0x1b0ec4();},'gmAmb':_0x2b9749(0xc5),'JIVrv':'_afterAll','SurOD':_0x2b9749(0xcf)};if(!_0x2d43e8||!_0x2d43e8[_0x2b9749(0xbf)])return;[_0x16a4bc[_0x2b9749(0xde)],_0x16a4bc[_0x2b9749(0xaa)],_0x16a4bc[_0x2b9749(0xe3)],_0x16a4bc[_0x2b9749(0x96)]][_0x2b9749(0xa5)](_0x3cd478=>{const _0x437c5d=_0x2b9749,_0xc476eb=_0x2d43e8[_0x437c5d(0xbf)][_0x3cd478]||[];_0xc476eb['forEach'](_0x3ac45f=>{const _0x58016e=_0x437c5d;if(!_0x3ac45f[_0x58016e(0xbd)])_0x3ac45f[_0x58016e(0xbd)]=_0x16a4bc[_0x58016e(0xcd)](uuidv4);else _0x3ac45f['markedStatus']&&_0x16a4bc['ppuRe'](_0x3cd478,_0x16a4bc[_0x58016e(0x96)])&&(_0x3ac45f['hookAnalyticsId']=_0x16a4bc[_0x58016e(0xbe)](uuidv4),delete _0x3ac45f[_0x58016e(0xce)]);});}),exports['mapTestHooks'](_0x2d43e8[_0x2b9749(0xbf)]);},exports['sendPlatformDetails']=async(_0x21276b,_0x22b439)=>{const _0x5088c1=a31_0x11e00d,_0x4a4e7d={'vNhTL':function(_0x53309c){return _0x53309c();},'dqMJC':function(_0x113477,_0x3395cc){return _0x113477(_0x3395cc);},'rsgPX':function(_0xadf8fc,_0x5087c7){return _0xadf8fc===_0x5087c7;},'TLYJN':_0x5088c1(0xa6),'oeMeX':'unknown_grid','cOkYT':_0x5088c1(0xa7),'dlydB':function(_0x444778,_0x5bab65){return _0x444778(_0x5bab65);}};try{if(!_0x4a4e7d[_0x5088c1(0xd4)](shouldProcessEventForTesthub))return;const _0x3ba2a7=await _0x21276b[_0x5088c1(0xc8)](),_0x368ace=await _0x21276b[_0x5088c1(0x99)](),_0x243fc6={},_0x113eb3=Object[_0x5088c1(0xe1)](_0x368ace[_0x5088c1(0xc8)]()[_0x5088c1(0xb3)]),_0x9da418={'product':_0x4a4e7d[_0x5088c1(0x9a)](getObservabilityLinkedProductName,_0x113eb3),'capabilities':_0x113eb3,'platform':_0x3ba2a7['getPlatform'](),'platform_version':_0x4a4e7d[_0x5088c1(0x9a)](getPlatformVersion,_0x4a4e7d['rsgPX'](global[_0x5088c1(0x9f)],_0x4a4e7d[_0x5088c1(0xab)])),'browser':_0x3ba2a7[_0x5088c1(0xda)](),'browser_version':_0x3ba2a7[_0x5088c1(0xd1)](),'session_id':_0x368ace[_0x5088c1(0xbb)]()};global[_0x5088c1(0x9f)]?_0x243fc6[global[_0x5088c1(0x9f)]]=_0x9da418:_0x243fc6[_0x4a4e7d[_0x5088c1(0xe5)]]=_0x9da418,process['emit'](_0x5088c1(0xd7)+process['pid'],{'timestamp':new Date()[_0x5088c1(0xd6)](),'level':null,'message':null,'kind':_0x4a4e7d[_0x5088c1(0xdf)],'http_response':_0x243fc6,'uuid':_0x22b439});}catch(_0x1fe852){_0x4a4e7d['dlydB'](debug,_0x5088c1(0xc7)+_0x1fe852);}},exports['getHookSkippedTests']=_0x531218=>{const _0x48c907=a31_0x11e00d,_0x4cb3c5={};_0x4cb3c5['nFFiS']=function(_0x46789f,_0x4b63b3){return _0x46789f!==_0x4b63b3;},_0x4cb3c5[_0x48c907(0xc0)]=_0x48c907(0xb7),_0x4cb3c5['IeTID']=_0x48c907(0xd3),_0x4cb3c5['vTBEf']=function(_0x3cdd10,_0x43e585){return _0x3cdd10!==_0x43e585;},_0x4cb3c5[_0x48c907(0xae)]=_0x48c907(0xa3);const _0x342f1c=_0x4cb3c5,_0x251285=_0x531218[_0x48c907(0xac)][_0x48c907(0xcc)]((_0x22bbfc,_0x34879f)=>{const _0x54bb83=exports['getHookSkippedTests'](_0x34879f);return _0x54bb83&&(_0x22bbfc=_0x22bbfc['concat'](_0x54bb83)),_0x22bbfc;},[]),_0x4f7ee5=_0x531218[_0x48c907(0xc9)][_0x48c907(0xe0)](_0xaef721=>{const _0x7415b=_0x48c907,_0x448fb2=_0x342f1c['nFFiS'](_0xaef721[_0x7415b(0xc2)],_0x342f1c[_0x7415b(0xc0)])&&!_0xaef721['markedStatus']&&_0x342f1c[_0x7415b(0xd5)](_0xaef721[_0x7415b(0x9b)],_0x342f1c[_0x7415b(0xa8)])&&_0x342f1c[_0x7415b(0xa1)](_0xaef721[_0x7415b(0x9b)],_0x342f1c[_0x7415b(0xae)])&&!_0xaef721[_0x7415b(0xd2)];return _0x448fb2;});return _0x4f7ee5[_0x48c907(0xd0)](_0x251285);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x36d5f8=a32_0x36d3;(function(_0x19abd8,_0x4ffaba){const _0x4fcff9=a32_0x36d3,_0x10f4cb=_0x19abd8();while(!![]){try{const _0x26b583=-parseInt(_0x4fcff9(0x11a))/0x1*(-parseInt(_0x4fcff9(0x181))/0x2)+parseInt(_0x4fcff9(0x15a))/0x3*(-parseInt(_0x4fcff9(0x139))/0x4)+-parseInt(_0x4fcff9(0x16d))/0x5+-parseInt(_0x4fcff9(0x119))/0x6+parseInt(_0x4fcff9(0x150))/0x7+-parseInt(_0x4fcff9(0x184))/0x8+parseInt(_0x4fcff9(0x13f))/0x9;if(_0x26b583===_0x4ffaba)break;else _0x10f4cb['push'](_0x10f4cb['shift']());}catch(_0x34bb13){_0x10f4cb['push'](_0x10f4cb['shift']());}}}(a32_0x2032,0x9588d));function a32_0x36d3(_0x175625,_0x821c7){const _0x2032fe=a32_0x2032();return a32_0x36d3=function(_0x36d358,_0x47f030){_0x36d358=_0x36d358-0x10f;let _0x312226=_0x2032fe[_0x36d358];return _0x312226;},a32_0x36d3(_0x175625,_0x821c7);}function a32_0x2032(){const _0x319e2d=['15004782LiYEiQ','AZmmR','stopMonitoring','qfJro','Failed:\x20','passed','lJrjT','\x20|\x20','performScan','POBbm','winstonLogger','wKrwK','../../helpers/accessibility-automation/helper','browserstackSessionName','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','sqkQR','timeout','5291839FnYCev','LJcSV','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','testAnalyticsId','__drivers','BROWSERSTACK_TESTHUB_UUID','ENV_VAR','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','mGSwM','ZkQTD','319065gCJYLG','vinDO','TNOxT','info','then','capabilities','../../helpers/performance-tester','../../helpers/testhub/utils','debug','isArray','env','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','LUulY','eHHuz','currentTest','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','executeAsyncScript','sessionNameSet__','KGVAY','4521975Dugewk','saveTestResults','format','protocol','state','stringify','Automate\x20test\x20case\x20execution\x20has\x20started.','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','appium:app','getCurrentUrl','pTVqE','shift','PSSDV','zbZnN','push','tGcaO','thJwtToken','percy','geNME','http:','2blHCsS','mushv','session_','6863720nNTNBT','ACKEw','accessibilityScanStarted','__error_messages__','gKBAH','../../helpers/accessibility-automation/scripts','ITvDC','shouldScanTestForAccessibility','kBUSf','../../helpers/testhub/constants','titlePath','app','yaCHm','isAccessibilityPlatform','__sessionFailed','hxQze','err','executeScript','199620bYeoMr','91303mIzkpW','error','now','getGlobal','Ajogq','kheCf','.\x20Error\x20:','startMonitoring','length','Ixlnd','bstackA11yShouldScan','Exxbp','../../helpers/logger','Failed\x20to\x20store\x20session\x20name:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/percy/utils','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','\x20-\x20','../../helpers/helper','https:','failed','quitCount_','testcase','FSnha','Passed','setGlobal','util','BROWSERSTACK_TESTHUB_JWT','sHEIS','ObservabilitySync:','driverCleanup','4XgJkyb','soXzs','thTestRunUuid','DxiCP','join','NaJEa'];a32_0x2032=function(){return _0x319e2d;};return a32_0x2032();}const util=require(a32_0x36d5f8(0x134)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x36d5f8(0x14b)),{percyAutoCapture}=require(a32_0x36d5f8(0x129)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a32_0x36d5f8(0x12c)),PerformanceTester=require(a32_0x36d5f8(0x160)),scripts=require(a32_0x36d5f8(0x189)),globals=require('../../helpers/globals'),logger=require(a32_0x36d5f8(0x126))[a32_0x36d5f8(0x149)],{shouldProcessEventForTesthub}=require(a32_0x36d5f8(0x161)),testHubConstants=require(a32_0x36d5f8(0x110));exports['mochaHooks']={'beforeAll'(){const _0x152836=a32_0x36d5f8,_0x1b0a3a={'kheCf':function(_0x2b9594,_0x5a894d,_0x365d78,_0x1b766d){return _0x2b9594(_0x5a894d,_0x365d78,_0x1b766d);},'vinDO':_0x152836(0x12e),'NaJEa':_0x152836(0x146),'pTVqE':function(_0x26ae1f,_0x348640,_0x50f802){return _0x26ae1f(_0x348640,_0x50f802);},'gKBAH':_0x152836(0x144),'zbZnN':function(_0x36a51a){return _0x36a51a();}};PerformanceTester[_0x152836(0x121)]();const _0x30d3e9='browserstack internal helper hook';global[_0x152836(0x187)]=[],global[_0x152836(0x115)]=![],global['driverCleanup']=async()=>{const _0x403bd1=_0x152836;let _0x99d59e=![];try{await global['__drivers'][0x0]['session_'],_0x99d59e=!![],global[_0x403bd1(0x115)]?await _0x1b0a3a[_0x403bd1(0x11f)](markSessionStatus,global['__drivers'][0x0],_0x1b0a3a[_0x403bd1(0x15b)],global['__error_messages__'][_0x403bd1(0x13d)](_0x1b0a3a[_0x403bd1(0x13e)])):await _0x1b0a3a[_0x403bd1(0x177)](markSessionStatus,global[_0x403bd1(0x154)][0x0],_0x1b0a3a[_0x403bd1(0x188)]);}catch(_0xcc8fed){}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x99d59e)try{try{_0x1b0a3a[_0x403bd1(0x17a)](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0x1b0a3a[_0x403bd1(0x177)](sendPlatformDetails,global['__drivers'][0x0],this[_0x403bd1(0x168)]?this[_0x403bd1(0x168)][_0x403bd1(0x153)]:null));}catch{}await global[_0x403bd1(0x154)][0x0]['initQuit']();}catch(_0x546449){}};},'beforeEach'(_0x3b9972){const _0x4611ce=a32_0x36d5f8,_0x99759b={'mGSwM':function(_0x23f29b,_0x3e37f8){return _0x23f29b>_0x3e37f8;},'Ixlnd':_0x4611ce(0x12b),'ZkQTD':function(_0x4d8419,_0xd45d43,_0x263190){return _0x4d8419(_0xd45d43,_0x263190);},'yEEDD':'bstackA11yShouldScan','LUulY':function(_0x132ae1){return _0x132ae1();},'sHEIS':function(_0x3f64ef,_0x403d04){return _0x3f64ef>_0x403d04;},'ckzIp':_0x4611ce(0x114),'wKrwK':function(_0xb257d8,_0x130c92){return _0xb257d8===_0x130c92;},'ACKEw':_0x4611ce(0x180),'ANxUI':function(_0x3fb6b3,_0x4fbc37){return _0x3fb6b3===_0x4fbc37;},'lJrjT':_0x4611ce(0x12d),'GaJRf':_0x4611ce(0x165),'qfJro':_0x4611ce(0x173)};new Promise(async _0x3edbc1=>{const _0x339a69=_0x4611ce,_0x5c6d33='browserstack internal helper hook';let _0xc7b38f=!![];try{_0x99759b[_0x339a69(0x158)](global[_0x339a69(0x154)]['length'],0x1)&&(await global[_0x339a69(0x138)](),global[_0x339a69(0x154)][_0x339a69(0x178)]()),_0x99759b[_0x339a69(0x158)](global['__drivers'][0x0][_0x339a69(0x12f)],0x0)&&(_0xc7b38f=![],await global[_0x339a69(0x138)]());}catch{}try{Array['isArray'](global[_0x339a69(0x154)])&&global[_0x339a69(0x154)][0x0]&&(global[_0x339a69(0x154)][0x0][_0x339a69(0x14c)]=this[_0x339a69(0x168)][_0x339a69(0x111)]()[_0x339a69(0x13d)](_0x99759b[_0x339a69(0x123)])),global[_0x339a69(0x14c)]=this[_0x339a69(0x168)]['titlePath']()['join'](_0x99759b[_0x339a69(0x123)]);}catch(_0x5ef844){logger['debug'](_0x339a69(0x127)+_0x5ef844);}this[_0x339a69(0x168)][_0x339a69(0x18b)]=_0x99759b[_0x339a69(0x159)](shouldScanTestForAccessibility,this['currentTest'][_0x339a69(0x111)](),!![]),globals[_0x339a69(0x133)](_0x99759b['yEEDD'],this[_0x339a69(0x168)]['shouldScanTestForAccessibility']),this[_0x339a69(0x168)][_0x339a69(0x186)]=!![];if(_0x99759b[_0x339a69(0x166)](isAccessibilityAutomationSession)&&_0xc7b38f&&Array[_0x339a69(0x163)](global['__drivers'])&&_0x99759b[_0x339a69(0x136)](global['__drivers']['length'],0x0)&&globals[_0x339a69(0x11d)](_0x99759b['ckzIp']))try{const _0xbf3358=await global[_0x339a69(0x154)][0x0][_0x339a69(0x183)];if(_0xbf3358){let _0x11571b=!![];const _0x438bde=await global[_0x339a69(0x154)][0x0][_0x339a69(0x176)]();let _0x166edc;try{_0x166edc=new URL(_0x438bde);}catch(_0x28731b){_0x11571b=![];}_0x11571b=_0x99759b[_0x339a69(0x14a)](_0x166edc[_0x339a69(0x170)],_0x99759b[_0x339a69(0x185)])||_0x99759b['ANxUI'](_0x166edc[_0x339a69(0x170)],_0x99759b[_0x339a69(0x145)]),_0x11571b&&(this['currentTest'][_0x339a69(0x18b)]&&logger[_0x339a69(0x15d)](_0x99759b['GaJRf'])),this[_0x339a69(0x168)][_0x339a69(0x186)]=this[_0x339a69(0x168)][_0x339a69(0x18b)],this[_0x339a69(0x168)][_0x339a69(0x18b)]&&logger[_0x339a69(0x15d)](_0x99759b[_0x339a69(0x142)]);}}catch(_0x203b26){logger[_0x339a69(0x11b)](_0x339a69(0x14d)+util[_0x339a69(0x16f)](_0x203b26));}_0x99759b[_0x339a69(0x166)](_0x3edbc1);})[_0x4611ce(0x15e)](_0x3b9972);},'afterEach'(_0xa1de02){const _0x4ce2bc=a32_0x36d5f8,_0x22d38b={'kBUSf':function(_0x1a068e,_0xe0f87d){return _0x1a068e>_0xe0f87d;},'Exxbp':function(_0xda9d2e,_0x2ef0d8){return _0xda9d2e===_0x2ef0d8;},'Ajogq':_0x4ce2bc(0x130),'sqkQR':_0x4ce2bc(0x175),'yaCHm':function(_0x524c9b,_0x5945d7,_0x2fba46,_0x3563c1){return _0x524c9b(_0x5945d7,_0x2fba46,_0x3563c1);},'TZQpr':_0x4ce2bc(0x12b),'geNME':function(_0x2cbd54,_0x51286b){return _0x2cbd54!==_0x51286b;},'hxQze':_0x4ce2bc(0x144),'wmdVn':function(_0x27da60,_0x5db1fb,_0x3111f0){return _0x27da60(_0x5db1fb,_0x3111f0);},'DxiCP':function(_0x3d80e2,_0x43ef01){return _0x3d80e2+_0x43ef01;},'KGVAY':_0x4ce2bc(0x143),'eHHuz':_0x4ce2bc(0x11b),'NVwvJ':_0x4ce2bc(0x132),'ITvDC':_0x4ce2bc(0x15d),'tGcaO':'isAccessibilityPlatform','soXzs':_0x4ce2bc(0x124),'POBbm':_0x4ce2bc(0x157),'TNOxT':'Performing\x20scan\x20before\x20saving\x20results','mushv':_0x4ce2bc(0x12a),'AZmmR':function(_0x4d56db){return _0x4d56db();},'PSSDV':function(_0x106508,_0x213a09,_0x117dfe){return _0x106508(_0x213a09,_0x117dfe);},'YFqIk':function(_0x74bfbc,_0xd8c84,_0x454c6c){return _0x74bfbc(_0xd8c84,_0x454c6c);},'LJcSV':'debug','tXYqV':function(_0x3177e4){return _0x3177e4();}},_0x2a19fb='browserstack internal helper hook';this[_0x4ce2bc(0x14f)](0xfde8);const _0x56b6a6=async(_0xb78e62,_0x572009)=>{const _0x5f119e=_0x4ce2bc;await global[_0x5f119e(0x154)][0x0][_0x5f119e(0x118)](_0x5f119e(0x152)+_0xb78e62+',\x22level\x22:\x20\x22'+_0x572009+'\x22}}');};new Promise(async _0x5e68b8=>{const _0x5a4f8d=_0x4ce2bc;try{_0x22d38b[_0x5a4f8d(0x10f)](global[_0x5a4f8d(0x154)][_0x5a4f8d(0x122)],0x1)&&(await global[_0x5a4f8d(0x138)](),global[_0x5a4f8d(0x154)][_0x5a4f8d(0x178)](),global['__error_messages__']=[],global['__sessionFailed']=![]);try{if(global[_0x5a4f8d(0x17e)]&&_0x22d38b[_0x5a4f8d(0x125)](global['percyCaptureMode'],_0x22d38b['Ajogq'])&&global['__drivers'][0x0]){const _0x5646fb=_0x22d38b['kBUSf'](global[_0x5a4f8d(0x15f)][_0x5a4f8d(0x122)],0x0)?!!global[_0x5a4f8d(0x15f)][0x0][_0x5a4f8d(0x112)]||!!global[_0x5a4f8d(0x15f)][0x0][_0x22d38b[_0x5a4f8d(0x14e)]]:![],_0x50d5cc={};_0x50d5cc[_0x5a4f8d(0x112)]=_0x5646fb,await _0x22d38b[_0x5a4f8d(0x113)](percyAutoCapture,global['__drivers'][0x0],_0x22d38b[_0x5a4f8d(0x11e)],_0x50d5cc);}}catch(_0x30472c){}!global['__skipSessionName']&&(await global[_0x5a4f8d(0x154)][0x0][_0x5a4f8d(0x118)](_0x5a4f8d(0x169)+JSON[_0x5a4f8d(0x172)](this[_0x5a4f8d(0x168)]['titlePath']()[_0x5a4f8d(0x13d)](_0x22d38b['TZQpr']))+'}}'),global[_0x5a4f8d(0x154)][0x0][_0x5a4f8d(0x16b)]=!![]);const _0x213e51=_0x22d38b[_0x5a4f8d(0x17f)](this[_0x5a4f8d(0x168)][_0x5a4f8d(0x171)],_0x22d38b[_0x5a4f8d(0x116)]);_0x213e51?(global[_0x5a4f8d(0x115)]=!![],global[_0x5a4f8d(0x187)][_0x5a4f8d(0x17b)](this['currentTest'][_0x5a4f8d(0x117)]['message']),await _0x22d38b['wmdVn'](_0x56b6a6,JSON[_0x5a4f8d(0x172)](_0x22d38b[_0x5a4f8d(0x13c)](_0x22d38b[_0x5a4f8d(0x16c)],this[_0x5a4f8d(0x168)]['err']['message'])),_0x22d38b[_0x5a4f8d(0x167)])):await _0x22d38b['wmdVn'](_0x56b6a6,JSON[_0x5a4f8d(0x172)](_0x22d38b['NVwvJ']),_0x22d38b[_0x5a4f8d(0x18a)]);}catch(_0x263393){}try{if(this[_0x5a4f8d(0x168)][_0x5a4f8d(0x186)]&&globals[_0x5a4f8d(0x11d)](_0x22d38b[_0x5a4f8d(0x17c)])&&globals[_0x5a4f8d(0x11d)](_0x22d38b[_0x5a4f8d(0x13a)])){logger['info'](_0x22d38b[_0x5a4f8d(0x148)]);const _0x56ace3={};_0x56ace3[_0x5a4f8d(0x13b)]=this[_0x5a4f8d(0x168)][_0x5a4f8d(0x153)],_0x56ace3['thBuildUuid']=process[_0x5a4f8d(0x164)][testHubConstants[_0x5a4f8d(0x156)][_0x5a4f8d(0x155)]],_0x56ace3[_0x5a4f8d(0x17d)]=process['env'][testHubConstants['ENV_VAR'][_0x5a4f8d(0x135)]];const _0x3035a1=_0x56ace3;logger[_0x5a4f8d(0x162)](_0x5a4f8d(0x128)+JSON[_0x5a4f8d(0x172)](_0x3035a1)),logger[_0x5a4f8d(0x162)](_0x22d38b[_0x5a4f8d(0x15c)]),logger[_0x5a4f8d(0x162)](util['format'](await global['__drivers'][0x0][_0x5a4f8d(0x16a)](scripts[_0x5a4f8d(0x147)],{'method':global[_0x5a4f8d(0x14c)]}))),await global[_0x5a4f8d(0x154)][0x0]['executeAsyncScript'](scripts[_0x5a4f8d(0x16e)],_0x3035a1),logger[_0x5a4f8d(0x15d)](_0x22d38b[_0x5a4f8d(0x182)]);}}catch(_0x186b7f){logger[_0x5a4f8d(0x11b)](_0x5a4f8d(0x174)+this['currentTest'][_0x5a4f8d(0x111)]()+_0x5a4f8d(0x120),_0x186b7f);}try{try{if(_0x22d38b[_0x5a4f8d(0x140)](shouldProcessEventForTesthub)){global[_0x5a4f8d(0x154)][0x0]&&await _0x22d38b[_0x5a4f8d(0x179)](sendPlatformDetails,global[_0x5a4f8d(0x154)][0x0],this[_0x5a4f8d(0x168)]?this[_0x5a4f8d(0x168)][_0x5a4f8d(0x153)]:null);if(_0x22d38b[_0x5a4f8d(0x140)](isBrowserstackInfra)){const _0x5591f5=_0x5a4f8d(0x137)+Date[_0x5a4f8d(0x11c)]();await _0x22d38b['YFqIk'](_0x56b6a6,JSON[_0x5a4f8d(0x172)](_0x5591f5),_0x22d38b[_0x5a4f8d(0x151)]);}}}catch{}_0x22d38b['kBUSf'](global[_0x5a4f8d(0x154)][0x0][_0x5a4f8d(0x12f)],0x0)&&await global[_0x5a4f8d(0x138)]();}catch(_0x176053){}_0x22d38b['tXYqV'](_0x5e68b8);})[_0x4ce2bc(0x15e)](()=>_0xa1de02());},'afterAll'(_0x4a8811){const _0x12f3e5=a32_0x36d5f8,_0x3dd98b={'FSnha':function(_0x4373b3){return _0x4373b3();}},_0x323533='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x17afe3=>{const _0x3e3745=a32_0x36d3;PerformanceTester[_0x3e3745(0x141)](),await global[_0x3e3745(0x138)](),_0x3dd98b[_0x3e3745(0x131)](_0x17afe3);})[_0x12f3e5(0x15e)](()=>_0x4a8811());}};
|
|
1
|
+
const a32_0x1145f1=a32_0x4962;function a32_0x4962(_0x127226,_0x4d7c26){const _0x4c7b67=a32_0x4c7b();return a32_0x4962=function(_0x49627a,_0x33f002){_0x49627a=_0x49627a-0x19f;let _0x1978eb=_0x4c7b67[_0x49627a];return _0x1978eb;},a32_0x4962(_0x127226,_0x4d7c26);}(function(_0x232ce2,_0x1bc094){const _0x37c7b6=a32_0x4962,_0x59dec3=_0x232ce2();while(!![]){try{const _0x500fce=-parseInt(_0x37c7b6(0x208))/0x1*(parseInt(_0x37c7b6(0x201))/0x2)+parseInt(_0x37c7b6(0x1ae))/0x3*(-parseInt(_0x37c7b6(0x1d3))/0x4)+parseInt(_0x37c7b6(0x1de))/0x5+parseInt(_0x37c7b6(0x1c7))/0x6+parseInt(_0x37c7b6(0x206))/0x7+-parseInt(_0x37c7b6(0x1c5))/0x8*(parseInt(_0x37c7b6(0x1f9))/0x9)+parseInt(_0x37c7b6(0x1ad))/0xa*(parseInt(_0x37c7b6(0x1b4))/0xb);if(_0x500fce===_0x1bc094)break;else _0x59dec3['push'](_0x59dec3['shift']());}catch(_0x219867){_0x59dec3['push'](_0x59dec3['shift']());}}}(a32_0x4c7b,0x9f61a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1145f1(0x1b6)),{sendPlatformDetails}=require(a32_0x1145f1(0x203)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x1145f1(0x1cd)),PerformanceTester=require(a32_0x1145f1(0x1fb)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1145f1(0x1f6)),logger=require('../../helpers/logger')[a32_0x1145f1(0x218)],{shouldProcessEventForTesthub}=require(a32_0x1145f1(0x1a3)),testHubConstants=require(a32_0x1145f1(0x1b3));function a32_0x4c7b(){const _0x9de3d7=['Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Cdihp','shift','dcRVZ','bfyhO','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20started.','IgenJ','info','LWwBg','TUFAA','ddFMt','YHvJU',',\x22level\x22:\x20\x22','thBuildUuid','WmtIF','https:','timeout','capabilities','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','QVPhb','../../helpers/globals','HMwmD','appium:app','189OfNrCX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/performance-tester','getGlobal','NyTro','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sessionNameSet__','__error_messages__','41618DsEyBc','accessibilityScanStarted','./test-observability/mochaUtils','state','isArray','422562hnnTpI','EDZfn','1CcVKvO','join','stringify','thTestRunUuid','executeAsyncScript','\x22}}','YEbym','thJwtToken','bPDGu','ObservabilitySync:','error','titlePath','isAccessibilityPlatform','QSqkI','AnqDP','\x20|\x20','winstonLogger','pwgZh','debug','quitCount_','http:','ENV_VAR','../../helpers/testhub/utils','startMonitoring','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','.\x20Error\x20:','qjoQh','PdoWo','KactA','Failed\x20to\x20store\x20session\x20name:\x20','XlxHs','testAnalyticsId','518120PgiGAq','2360409FurqCx','__drivers','BROWSERSTACK_TESTHUB_UUID','performScan','Nfntq','../../helpers/testhub/constants','132jYvwOn','Failed:\x20','../../helpers/percy/utils','Uuajv','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__sessionFailed','app','cxGnT','OnhQx','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','XxYOB','OCmnp','YMJUO','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Performing\x20scan\x20before\x20saving\x20results','format','mWVpK','61368hhrkQT','currentTest','4855794BmIUdj','Passed','YhSxR','then','GIAYM','env','../../helpers/helper','passed','push','\x20-\x20','mochaHooks','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','4QegjDh','percyCaptureMode','message','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','AiKSR','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','length','driverCleanup','percy','err','executeScript','650600jHRoBm'];a32_0x4c7b=function(){return _0x9de3d7;};return a32_0x4c7b();}exports[a32_0x1145f1(0x1d1)]={'beforeAll'(){const _0x438ddf=a32_0x1145f1,_0xaee44e={'TUFAA':function(_0x4a1c34,_0x14d4f2,_0x5db1a4,_0x4b35be){return _0x4a1c34(_0x14d4f2,_0x5db1a4,_0x4b35be);},'eRjkM':'failed','YMJUO':_0x438ddf(0x217),'PdoWo':function(_0x523e8b,_0x14eeec,_0x30e918){return _0x523e8b(_0x14eeec,_0x30e918);},'NBGhH':_0x438ddf(0x1ce),'ZIjOB':function(_0x251d02){return _0x251d02();},'CZDtj':function(_0x57fde3,_0xcd41,_0x34a4b8){return _0x57fde3(_0xcd41,_0x34a4b8);}};PerformanceTester[_0x438ddf(0x1a4)]();const _0x32801d='browserstack internal helper hook';global[_0x438ddf(0x200)]=[],global[_0x438ddf(0x1b9)]=![],global['driverCleanup']=async()=>{const _0xeacc1c=_0x438ddf;let _0x25d64b=![];try{await global[_0xeacc1c(0x1af)][0x0]['session_'],_0x25d64b=!![],global[_0xeacc1c(0x1b9)]?await _0xaee44e[_0xeacc1c(0x1eb)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['eRjkM'],global[_0xeacc1c(0x200)][_0xeacc1c(0x209)](_0xaee44e[_0xeacc1c(0x1c0)])):await _0xaee44e[_0xeacc1c(0x1a8)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['NBGhH']);}catch(_0x2f2d1d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1b8)+_0x2f2d1d);}global[_0xeacc1c(0x200)]=[],global['__sessionFailed']=![];if(_0x25d64b)try{try{_0xaee44e['ZIjOB'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xaee44e['CZDtj'](sendPlatformDetails,global['__drivers'][0x0],this[_0xeacc1c(0x1c6)]?this['currentTest'][_0xeacc1c(0x1ac)]:null));}catch(_0x2ab09d){logger['debug'](_0xeacc1c(0x1a5)+_0x2ab09d);}await global[_0xeacc1c(0x1af)][0x0]['initQuit']();}catch(_0x37996d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1fe)+_0x37996d);}};},'beforeEach'(_0x219fb2){const _0x2b48a6=a32_0x1145f1,_0x50bac1={'Uuajv':function(_0x441892,_0x35d030){return _0x441892>_0x35d030;},'cxGnT':function(_0x733483,_0x212c64){return _0x733483>_0x212c64;},'AnqDP':_0x2b48a6(0x1d0),'OCmnp':function(_0x2b1f10,_0x4816aa,_0x22c554){return _0x2b1f10(_0x4816aa,_0x22c554);},'Nfntq':'bstackA11yShouldScan','pwgZh':function(_0x52bcba){return _0x52bcba();},'EDZfn':_0x2b48a6(0x214),'Cdihp':function(_0x269847,_0x55d481){return _0x269847===_0x55d481;},'qjoQh':_0x2b48a6(0x1a1),'LWwBg':function(_0x25b1c5,_0x3b343e){return _0x25b1c5===_0x3b343e;},'mVOoP':_0x2b48a6(0x1f1),'mJReT':_0x2b48a6(0x1e5),'QSqkI':_0x2b48a6(0x1e7)};new Promise(async _0x4d867b=>{const _0x597c45=_0x2b48a6,_0x8a63ee='browserstack internal helper hook';let _0x385749=!![];try{_0x50bac1[_0x597c45(0x1b7)](global[_0x597c45(0x1af)][_0x597c45(0x1d9)],0x1)&&(await global[_0x597c45(0x1da)](),global['__drivers'][_0x597c45(0x1e2)]()),_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][0x0][_0x597c45(0x1a0)],0x0)&&(_0x385749=![],await global[_0x597c45(0x1da)]());}catch(_0x485109){logger[_0x597c45(0x19f)](_0x597c45(0x1fe)+_0x485109);}try{Array[_0x597c45(0x205)](global[_0x597c45(0x1af)])&&global['__drivers'][0x0]&&(global[_0x597c45(0x1af)][0x0]['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1['AnqDP'])),global['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1[_0x597c45(0x216)]);}catch(_0x5f15f4){logger[_0x597c45(0x19f)](_0x597c45(0x1aa)+_0x5f15f4);}this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]=_0x50bac1[_0x597c45(0x1bf)](shouldScanTestForAccessibility,this[_0x597c45(0x1c6)]['titlePath'](),!![]),globals['setGlobal'](_0x50bac1[_0x597c45(0x1b2)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=!![];if(_0x50bac1[_0x597c45(0x219)](isAccessibilityAutomationSession)&&_0x385749&&Array['isArray'](global[_0x597c45(0x1af)])&&_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][_0x597c45(0x1d9)],0x0)&&globals[_0x597c45(0x1fc)](_0x50bac1[_0x597c45(0x207)]))try{const _0x4628d7=await global[_0x597c45(0x1af)][0x0]['session_'];if(_0x4628d7){let _0x3047b1=!![];const _0x3ef50b=await global[_0x597c45(0x1af)][0x0]['getCurrentUrl']();let _0x3db415;try{_0x3db415=new URL(_0x3ef50b);}catch(_0x3f4f79){_0x3047b1=![];}_0x3047b1=_0x50bac1[_0x597c45(0x1e1)](_0x3db415['protocol'],_0x50bac1[_0x597c45(0x1a7)])||_0x50bac1[_0x597c45(0x1ea)](_0x3db415['protocol'],_0x50bac1['mVOoP']),_0x3047b1&&(this['currentTest'][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1['mJReT'])),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=this['currentTest'][_0x597c45(0x1e6)],this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1[_0x597c45(0x215)]);}}catch(_0x49da0a){logger[_0x597c45(0x212)](_0x597c45(0x1df)+util[_0x597c45(0x1c3)](_0x49da0a));}_0x50bac1[_0x597c45(0x219)](_0x4d867b);})['then'](_0x219fb2);},'afterEach'(_0x498f25){const _0x36223b=a32_0x1145f1,_0xbef991={'AiKSR':function(_0x15b4ad,_0x595f09){return _0x15b4ad>_0x595f09;},'XxYOB':function(_0x5928a3,_0x4bfb20){return _0x5928a3===_0x4bfb20;},'OnhQx':'testcase','KactA':function(_0x42c3d0,_0x35e57e){return _0x42c3d0>_0x35e57e;},'rThqp':_0x36223b(0x1f8),'WmtIF':function(_0x4e05b9,_0x35ecd6,_0x53824d,_0x1265a8){return _0x4e05b9(_0x35ecd6,_0x53824d,_0x1265a8);},'ddFMt':'\x20-\x20','AhQyn':function(_0x480400,_0x128c66){return _0x480400!==_0x128c66;},'NyTro':_0x36223b(0x1ce),'QVPhb':function(_0x580551,_0xa9c07c,_0x52f156){return _0x580551(_0xa9c07c,_0x52f156);},'XlxHs':function(_0x5d4011,_0x58a5e1){return _0x5d4011+_0x58a5e1;},'GIAYM':_0x36223b(0x1b5),'YEbym':_0x36223b(0x212),'dcRVZ':function(_0x1264fc,_0x471201,_0x2562fe){return _0x1264fc(_0x471201,_0x2562fe);},'DvxgW':_0x36223b(0x1c8),'LrDRm':_0x36223b(0x1e9),'RvmFY':_0x36223b(0x214),'bfyhO':'bstackA11yShouldScan','IgenJ':_0x36223b(0x1f4),'YHvJU':_0x36223b(0x1c2),'HMwmD':_0x36223b(0x1e0),'mWVpK':function(_0x3466b3){return _0x3466b3();},'xrOXo':function(_0x27d008){return _0x27d008();},'YhSxR':_0x36223b(0x19f),'bPDGu':function(_0x304f5c){return _0x304f5c();}},_0x9f42cd='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5d14a3=async(_0x3616cf,_0x160161)=>{const _0x393414=_0x36223b;await global[_0x393414(0x1af)][0x0][_0x393414(0x1dd)](_0x393414(0x1fa)+_0x3616cf+_0x393414(0x1ee)+_0x160161+_0x393414(0x20d));};new Promise(async _0x24263c=>{const _0x428916=_0x36223b;try{_0xbef991[_0x428916(0x1d7)](global[_0x428916(0x1af)]['length'],0x1)&&(await global[_0x428916(0x1da)](),global['__drivers']['shift'](),global[_0x428916(0x200)]=[],global[_0x428916(0x1b9)]=![]);try{if(global[_0x428916(0x1db)]&&_0xbef991[_0x428916(0x1be)](global[_0x428916(0x1d4)],_0xbef991['OnhQx'])&&global['__drivers'][0x0]){const _0x160a40=_0xbef991['KactA'](global['capabilities'][_0x428916(0x1d9)],0x0)?!!global['capabilities'][0x0][_0x428916(0x1ba)]||!!global[_0x428916(0x1f3)][0x0][_0xbef991['rThqp']]:![],_0x1684f4={};_0x1684f4[_0x428916(0x1ba)]=_0x160a40,await _0xbef991[_0x428916(0x1f0)](percyAutoCapture,global[_0x428916(0x1af)][0x0],_0xbef991[_0x428916(0x1bc)],_0x1684f4);}}catch(_0xb42682){logger[_0x428916(0x19f)](_0x428916(0x1bd)+_0xb42682);}!global['__skipSessionName']&&(await global['__drivers'][0x0][_0x428916(0x1dd)](_0x428916(0x1d8)+JSON['stringify'](this[_0x428916(0x1c6)][_0x428916(0x213)]()[_0x428916(0x209)](_0xbef991[_0x428916(0x1ec)]))+'}}'),global[_0x428916(0x1af)][0x0][_0x428916(0x1ff)]=!![]);const _0x26af4b=_0xbef991['AhQyn'](this[_0x428916(0x1c6)][_0x428916(0x204)],_0xbef991[_0x428916(0x1fd)]);_0x26af4b?(global[_0x428916(0x1b9)]=!![],global[_0x428916(0x200)][_0x428916(0x1cf)](this[_0x428916(0x1c6)]['err'][_0x428916(0x1d5)]),await _0xbef991['QVPhb'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991[_0x428916(0x1ab)](_0xbef991[_0x428916(0x1cb)],this[_0x428916(0x1c6)][_0x428916(0x1dc)]['message'])),_0xbef991[_0x428916(0x20e)])):await _0xbef991['dcRVZ'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991['DvxgW']),_0xbef991['LrDRm']);}catch(_0x6bc911){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x6bc911);}try{if(this[_0x428916(0x1c6)][_0x428916(0x202)]&&globals[_0x428916(0x1fc)](_0xbef991['RvmFY'])&&globals[_0x428916(0x1fc)](_0xbef991[_0x428916(0x1e4)])){logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1e8)]);const _0x5c4802={};_0x5c4802[_0x428916(0x20b)]=this['currentTest'][_0x428916(0x1ac)],_0x5c4802[_0x428916(0x1ef)]=process['env'][testHubConstants[_0x428916(0x1a2)][_0x428916(0x1b0)]],_0x5c4802[_0x428916(0x20f)]=process[_0x428916(0x1cc)][testHubConstants[_0x428916(0x1a2)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4a64a8=_0x5c4802;logger[_0x428916(0x19f)](_0x428916(0x1d2)+JSON[_0x428916(0x20a)](_0x4a64a8)),logger[_0x428916(0x19f)](_0xbef991[_0x428916(0x1ed)]),logger[_0x428916(0x19f)](util[_0x428916(0x1c3)](await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts[_0x428916(0x1b1)],{'method':global['browserstackSessionName']}))),await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts['saveTestResults'],_0x4a64a8),logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1f7)]);}}catch(_0x527a98){logger[_0x428916(0x212)](_0x428916(0x1c1)+this[_0x428916(0x1c6)][_0x428916(0x213)]()+_0x428916(0x1a6),_0x527a98);}try{try{if(_0xbef991[_0x428916(0x1c4)](shouldProcessEventForTesthub)){global[_0x428916(0x1af)][0x0]&&await _0xbef991[_0x428916(0x1f5)](sendPlatformDetails,global[_0x428916(0x1af)][0x0],this[_0x428916(0x1c6)]?this['currentTest'][_0x428916(0x1ac)]:null);if(_0xbef991['xrOXo'](isBrowserstackInfra)){const _0x5c2ea4=_0x428916(0x211)+Date['now']();await _0xbef991[_0x428916(0x1e3)](_0x5d14a3,JSON[_0x428916(0x20a)](_0x5c2ea4),_0xbef991[_0x428916(0x1c9)]);}}}catch(_0x3d1cae){logger[_0x428916(0x19f)](_0x428916(0x1d6)+_0x3d1cae);}_0xbef991[_0x428916(0x1a9)](global[_0x428916(0x1af)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x203d5f){logger[_0x428916(0x19f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x203d5f);}_0xbef991[_0x428916(0x210)](_0x24263c);})[_0x36223b(0x1ca)](()=>_0x498f25());},'afterAll'(_0x13d21f){const _0x1c706d=a32_0x1145f1,_0x21c999={'LyBME':function(_0x279667){return _0x279667();}},_0xb5f78c='browserstack internal helper hook';this[_0x1c706d(0x1f2)](0xfde8),new Promise(async _0x19288a=>{const _0x98f411=_0x1c706d;PerformanceTester['stopMonitoring'](),await global[_0x98f411(0x1da)](),_0x21c999['LyBME'](_0x19288a);})[_0x1c706d(0x1ca)](()=>_0x13d21f());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a33_0x230a84=a33_0x2bd4;(function(_0x980f82,_0x5b6ba3){const _0x18e776=a33_0x2bd4,_0x3e4f08=_0x980f82();while(!![]){try{const _0x3c1a5a=-parseInt(_0x18e776(0x20a))/0x1*(parseInt(_0x18e776(0x1ca))/0x2)+parseInt(_0x18e776(0x1fc))/0x3+-parseInt(_0x18e776(0x1f6))/0x4+-parseInt(_0x18e776(0x1ea))/0x5*(parseInt(_0x18e776(0x1df))/0x6)+parseInt(_0x18e776(0x1e5))/0x7*(parseInt(_0x18e776(0x1da))/0x8)+-parseInt(_0x18e776(0x1cc))/0x9+parseInt(_0x18e776(0x1f8))/0xa;if(_0x3c1a5a===_0x5b6ba3)break;else _0x3e4f08['push'](_0x3e4f08['shift']());}catch(_0x420f7f){_0x3e4f08['push'](_0x3e4f08['shift']());}}}(a33_0x6050,0xbf811));function a33_0x6050(){const _0x459255=['cDJuK','5549308fTVIhV','nightwatch-browserstack.json','13967430mXICyJ','vZsav','../utils/constants','useW3C','4249848zqqQcY','avfai','mergeDeep','nightwatch.json','cwd','yAOcm','trim','UHfUa','host','forEach','child\x20process\x20exited\x20with\x20code\x20','../../helpers/BrowserStackSetup','WyZvS','desiredCapabilities','1WOEyGM','isUndefined','mBWzG','nbGAv','existsSync','lXCua','../../helpers/helper','exports','modifyBrowserStackW3CCaps','env','1368778ujSTun','child_process','7985448iEmGse','path','cOxMc','dwqXo','hub.browserstack.com','BaTiV','qPmTz','platform','platforms','QGxew','stringify','gIqTy','config','--config','1320imgDrF','kwuXg','inherit','debug','../../helpers/logger','126wPQJae','modifyBrowserStackCaps','info','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','RuCLI','--env','65947FOhZeC','join','test_settings','Deleting\x20','test','148675JtcYwY','push','winstonLogger','nightwatch.conf.js','start_process','writeFileSync','now','port','rHvxx','splice','nightwatch'];a33_0x6050=function(){return _0x459255;};return a33_0x6050();}const fs=require('fs'),path=require(a33_0x230a84(0x1cd)),{spawn}=require(a33_0x230a84(0x1cb)),logger=require(a33_0x230a84(0x1de))[a33_0x230a84(0x1ec)],{default:BrowserStackSetup}=require(a33_0x230a84(0x207)),helper=require(a33_0x230a84(0x1c6)),constants=require(a33_0x230a84(0x1fa)),getUserNightwatchConfigs=(_0x459d73,_0x392340)=>{const _0x1bd328=a33_0x230a84,_0x4d13f4={'QGxew':_0x1bd328(0x1ed),'cDJuK':_0x1bd328(0x1ff),'rHvxx':function(_0x59606e,_0x32b8a9){return _0x59606e(_0x32b8a9);},'UHfUa':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x44c44e=null,_0x2c9212={};const _0xf16e86=_0x392340['findIndex'](_0x5bfe27=>_0x5bfe27===_0x1bd328(0x1d9));if(!helper[_0x1bd328(0x20b)](_0x459d73['config'])&&fs[_0x1bd328(0x1c4)](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x459d73[_0x1bd328(0x1d8)])))_0x44c44e=path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x459d73[_0x1bd328(0x1d8)]),_0x392340[_0x1bd328(0x1f3)](_0xf16e86,0x2);else{if(fs[_0x1bd328(0x1c4)](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1d5)])))_0x44c44e=path[_0x1bd328(0x1e6)](process['cwd'](),_0x4d13f4[_0x1bd328(0x1d5)]);else fs['existsSync'](path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1f5)]))&&(_0x44c44e=path[_0x1bd328(0x1e6)](process[_0x1bd328(0x200)](),_0x4d13f4[_0x1bd328(0x1f5)]));}return _0x44c44e?(logger['info']('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x44c44e),_0x2c9212=_0x4d13f4[_0x1bd328(0x1f2)](require,_0x44c44e)):logger[_0x1bd328(0x1e1)](_0x4d13f4[_0x1bd328(0x203)]),_0x2c9212;},removeExistingEnvs=_0x33709a=>{const _0x4d15ee=a33_0x230a84,_0x55e6f8={};_0x55e6f8[_0x4d15ee(0x1ce)]=function(_0x3c2d96,_0x1e08ba){return _0x3c2d96>_0x1e08ba;};const _0x14117b=_0x55e6f8;let _0x408e2d=_0x33709a['findIndex'](_0x2d4926=>_0x2d4926===_0x4d15ee(0x1e4));_0x14117b[_0x4d15ee(0x1ce)](_0x408e2d,-0x1)&&_0x33709a[_0x4d15ee(0x1f3)](_0x408e2d,0x2),_0x408e2d=_0x33709a['findIndex'](_0x558972=>_0x558972==='-e'),_0x14117b['cOxMc'](_0x408e2d,-0x1)&&_0x33709a['splice'](_0x408e2d,0x2);};function a33_0x2bd4(_0x3fb367,_0x128200){const _0x6050cf=a33_0x6050();return a33_0x2bd4=function(_0x2bd462,_0x4b820e){_0x2bd462=_0x2bd462-0x1c2;let _0x26e1e9=_0x6050cf[_0x2bd462];return _0x26e1e9;},a33_0x2bd4(_0x3fb367,_0x128200);}function run(_0x5c9af2,_0x2d3eca){const _0x329fc4=a33_0x230a84,_0xa1135={'qPmTz':_0x329fc4(0x1f4),'gIqTy':function(_0x56a217,_0xa3aed2){return _0x56a217+_0xa3aed2;},'BaTiV':'test_settings','bIyVC':function(_0x264111,_0x2a476c,_0x47d34b){return _0x264111(_0x2a476c,_0x47d34b);},'XNdVG':_0x329fc4(0x1d0),'mBWzG':_0x329fc4(0x1e2),'vZsav':function(_0x2b915a,_0x50fb4f){return _0x2b915a===_0x50fb4f;},'RuCLI':_0x329fc4(0x1f7),'kwuXg':function(_0x4709c4,_0x43abc6){return _0x4709c4(_0x43abc6);},'nbGAv':function(_0x1bb492,_0x8daf29,_0x13af12,_0x823584){return _0x1bb492(_0x8daf29,_0x13af12,_0x823584);},'lXCua':'nightwatch.cmd','avfai':'--config','WyZvS':_0x329fc4(0x1e4),'yAOcm':_0x329fc4(0x1dc),'dwqXo':'close'},_0x401ead=new BrowserStackSetup(_0x5c9af2);if(!_0x401ead['config'])return;const _0x2e6a3d=_0xa1135['bIyVC'](getUserNightwatchConfigs,_0x5c9af2,_0x2d3eca),_0x5e8a37={};_0x5e8a37[_0x329fc4(0x1ee)]=![];const _0x1d9c6c={};_0x1d9c6c[_0x329fc4(0x204)]=_0xa1135['XNdVG'],_0x1d9c6c[_0x329fc4(0x1f1)]=0x1bb;const _0x1db845={};_0x1db845['webdriver']=_0x5e8a37,_0x1db845['selenium']=_0x1d9c6c;const _0x290f9a=_0x1db845;logger[_0x329fc4(0x1e1)](_0xa1135[_0x329fc4(0x1c2)]);const _0x6e73dc={..._0x2e6a3d},_0xdf00a2=_0x6e73dc,_0x14ff34=helper[_0x329fc4(0x1fb)](_0x401ead[_0x329fc4(0x1d8)]),_0x3e9bfc=[];_0x401ead[_0x329fc4(0x1d8)][_0x329fc4(0x1d4)][_0x329fc4(0x205)]((_0x4c6b05,_0x2e24b7)=>{const _0x1d6c2d=_0x329fc4;_0x14ff34?_0x3e9bfc[_0x1d6c2d(0x1eb)](helper[_0x1d6c2d(0x1c8)](_0x401ead[_0x1d6c2d(0x1d8)],_0xa1135[_0x1d6c2d(0x1d2)],_0x2e24b7)):_0x3e9bfc[_0x1d6c2d(0x1eb)](helper[_0x1d6c2d(0x1e0)](_0x401ead['config'],_0xa1135[_0x1d6c2d(0x1d2)],_0x2e24b7));});const _0x2b6fe8={},_0xf0f247=[];_0x5c9af2[_0x329fc4(0x1c9)]=_0x5c9af2[_0x329fc4(0x1c9)]||_0x5c9af2['e'];const _0x2292fa=_0x5c9af2['env']?_0x5c9af2['env'][_0x329fc4(0x202)]()['split'](',')['map'](_0x3b1553=>_0x3b1553[_0x329fc4(0x202)]())['filter'](_0x29d29b=>_0x29d29b!==''):[''];_0xa1135[_0x329fc4(0x1f9)](_0x2292fa['length'],0x0)&&_0x2292fa['push']('');_0x2292fa[_0x329fc4(0x205)](_0x258293=>{const _0x4a0a54=_0x329fc4;_0x3e9bfc[_0x4a0a54(0x205)](_0x3446e5=>{const _0xf8ff26=_0x4a0a54;let _0x3d2dfb=_0xa1135[_0xf8ff26(0x1d7)](helper['getPlatformName'](_0x3446e5,'_'),'_'+Date[_0xf8ff26(0x1f0)]());_0x258293&&(_0x3d2dfb+='_'+_0x258293);if(_0x258293&&(!_0x2e6a3d[_0xa1135['BaTiV']]||!_0x2e6a3d[_0xa1135['BaTiV']][_0x258293]))return;const _0x2094a9={..._0x290f9a};_0x2094a9[_0xf8ff26(0x209)]=_0x3446e5;const _0x16153f=_0x2094a9;_0x2b6fe8[_0x3d2dfb]=_0x258293?helper[_0xf8ff26(0x1fe)](_0x2e6a3d[_0xa1135[_0xf8ff26(0x1d1)]][_0x258293],_0x16153f):_0x16153f,_0xf0f247['push'](_0x3d2dfb);});});!_0xdf00a2['test_settings']&&(_0xdf00a2[_0x329fc4(0x1e7)]={});_0xdf00a2[_0x329fc4(0x1e7)]={..._0xdf00a2[_0x329fc4(0x1e7)],..._0x2b6fe8};const _0x46e256=path['join'](__dirname,_0xa1135[_0x329fc4(0x1e3)]);fs[_0x329fc4(0x1ef)](_0x46e256,JSON[_0x329fc4(0x1d6)](_0xdf00a2)),_0xa1135[_0x329fc4(0x1db)](removeExistingEnvs,_0x2d3eca);const _0xf475b=_0xa1135[_0x329fc4(0x1c3)](spawn,/^win/[_0x329fc4(0x1e9)](process[_0x329fc4(0x1d3)])?_0xa1135[_0x329fc4(0x1c5)]:_0xa1135[_0x329fc4(0x1d2)],[_0xa1135[_0x329fc4(0x1fd)],_0x46e256,..._0x2d3eca['slice'](0x1),_0xa1135[_0x329fc4(0x208)],_0xf0f247['join'](',')],{'stdio':_0xa1135[_0x329fc4(0x201)]});_0xf475b['on'](_0xa1135[_0x329fc4(0x1cf)],async _0xf20f3a=>{const _0x34c8de=_0x329fc4;logger[_0x34c8de(0x1dd)](_0x34c8de(0x206)+_0xf20f3a),logger[_0x34c8de(0x1e1)](_0x34c8de(0x1e8)+_0x46e256),fs['unlinkSync'](_0x46e256);});}module[a33_0x230a84(0x1c7)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x3e1dd7=a34_0x214d;(function(_0x4eda1e,_0x1ea242){const _0x3250ec=a34_0x214d,_0x5b7d53=_0x4eda1e();while(!![]){try{const _0x34d3b7=parseInt(_0x3250ec(0x16d))/0x1*(parseInt(_0x3250ec(0x133))/0x2)+parseInt(_0x3250ec(0x166))/0x3*(parseInt(_0x3250ec(0x158))/0x4)+-parseInt(_0x3250ec(0x176))/0x5+-parseInt(_0x3250ec(0x13d))/0x6+-parseInt(_0x3250ec(0x159))/0x7*(-parseInt(_0x3250ec(0x16a))/0x8)+parseInt(_0x3250ec(0x122))/0x9+-parseInt(_0x3250ec(0x11d))/0xa*(-parseInt(_0x3250ec(0x13c))/0xb);if(_0x34d3b7===_0x1ea242)break;else _0x5b7d53['push'](_0x5b7d53['shift']());}catch(_0x5952cf){_0x5b7d53['push'](_0x5b7d53['shift']());}}}(a34_0x3223,0x79cc5));function a34_0x3223(){const _0x463282=['794923oSberz','TfBqD','jZqTe','DixoG','bestPractice','WTbxX','currentTest','No\x20accessibility\x20results\x20were\x20found.','browserName','695040SgorQg','DtNUq','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','warn','accessibilityPlatform','testInfo','method','RLULJ','use','../../helpers/accessibility-automation/helper','Fcuhb','accessibilityOptions.includeIssueType.needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','waSWH','../../helpers/helper','playwright-chromium','svAur','stringify','project','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','executeAsyncScript','306310mlNHMY','deviceName','obSAN','blgpD','browserStackExecuteDriver','2446047uYNRgU','gsUlL','replace','kWOXl','scannerProcessingTimeout','util','browserstack.accessibility','BpAZW','nBXzh','RiyLh','mtnda','accessibilityOptions','QuClD','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','performScan','evaluate','getAccessibilityResults','2SNyYws','executeScript','KZKPL','lidGJ','kkNxc','format','error','connectOptions','wsEndpoint','11pLzZZs','5826996WeBPJM','accessibilityOptions.scannerVersion','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','rPqCr','ZLCLv','alNhu','(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','(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','accessibilityOptions.includeIssueType.bestPractice','mvleD','constructor','processAccessibilityCaps','setAccessibilityCapabilities','includeIssueType','../../helpers/logger','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Playwright','getAccessibilityResultsSummary','browser_version','browserStackEvaluate','bstackSdkArgs','debug','sNfzX','PkrEO','IubGl','latest','winstonLogger','4076dThtzJ','4907NCMIff','deqrr','env','workerInfo','chrome','needsReview','dEcbA','OaTJz','Nymot','WebDriver','nvQiQ','platformValidation','fQDgt','939uzYawX','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','browser','sGSdZ','2200qQiRKq','wcagVersion','../../helpers/accessibility-automation/scripts'];a34_0x3223=function(){return _0x463282;};return a34_0x3223();}function a34_0x214d(_0x4f602b,_0x2715c7){const _0x3223eb=a34_0x3223();return a34_0x214d=function(_0x214dd3,_0x43d206){_0x214dd3=_0x214dd3-0x112;let _0x27c626=_0x3223eb[_0x214dd3];return _0x27c626;},a34_0x214d(_0x4f602b,_0x2715c7);}const util=require(a34_0x3e1dd7(0x127)),logger=require(a34_0x3e1dd7(0x14b))[a34_0x3e1dd7(0x157)],{isAccessibilityAutomationSession}=require(a34_0x3e1dd7(0x17f)),{isUndefined}=require(a34_0x3e1dd7(0x116)),scripts=require(a34_0x3e1dd7(0x16c));exports['browserStackEvaluate']=async(_0x232fb4,_0x51ca2a,_0x29c50c={})=>{const _0x3ccfb6=a34_0x3e1dd7,_0xf9bad6={};_0xf9bad6[_0x3ccfb6(0x125)]=_0x3ccfb6(0x151);const _0x25b61c=_0xf9bad6;return await _0x232fb4[_0x3ccfb6(0x131)](_0x3ccfb6(0x144)+_0x51ca2a['replace'](/arguments/g,_0x25b61c[_0x3ccfb6(0x125)])+_0x3ccfb6(0x14c)+JSON['stringify'](_0x29c50c)+')');},exports[a34_0x3e1dd7(0x121)]=async(_0xadf2cb,_0x793214,_0x51cb16={})=>{const _0x17d9f0=a34_0x3e1dd7,_0x138aea={};_0x138aea[_0x17d9f0(0x141)]=function(_0x5872e5,_0x2632ca){return _0x5872e5===_0x2632ca;},_0x138aea[_0x17d9f0(0x12c)]=_0x17d9f0(0x162),_0x138aea['DixoG']=_0x17d9f0(0x14d),_0x138aea[_0x17d9f0(0x12b)]=_0x17d9f0(0x151);const _0x11a9ce=_0x138aea;if(_0x11a9ce[_0x17d9f0(0x141)](_0xadf2cb[_0x17d9f0(0x147)]['name'],_0x11a9ce['mtnda']))return await _0xadf2cb[_0x17d9f0(0x11c)](_0x793214,_0x51cb16);else{if(_0x11a9ce[_0x17d9f0(0x141)](_0xadf2cb[_0x17d9f0(0x147)]['name'],_0x11a9ce[_0x17d9f0(0x170)]))return await _0xadf2cb[_0x17d9f0(0x134)](_0x17d9f0(0x143)+_0x793214[_0x17d9f0(0x124)](/arguments/g,_0x11a9ce[_0x17d9f0(0x12b)])+_0x17d9f0(0x11b)+JSON[_0x17d9f0(0x119)](_0x51cb16)+')');}},exports[a34_0x3e1dd7(0x149)]=async _0x429bc8=>{const _0x2c5963=a34_0x3e1dd7,_0x2362e0={};_0x2362e0[_0x2c5963(0x15f)]='accessibilityOptions.wcagVersion',_0x2362e0[_0x2c5963(0x172)]='accessibilityOptions.scannerProcessingTimeout',_0x2362e0[_0x2c5963(0x161)]=_0x2c5963(0x145),_0x2362e0[_0x2c5963(0x142)]=_0x2c5963(0x113),_0x2362e0[_0x2c5963(0x15a)]='accessibilityOptions.authToken',_0x2362e0[_0x2c5963(0x115)]=_0x2c5963(0x13e);const _0x2b9898=_0x2362e0;_0x429bc8[_0x2c5963(0x12d)]&&(_0x429bc8[_0x2c5963(0x12d)][_0x2c5963(0x16b)]&&(_0x429bc8[_0x2b9898[_0x2c5963(0x15f)]]=_0x429bc8['accessibilityOptions'][_0x2c5963(0x16b)]),_0x429bc8['accessibilityOptions'][_0x2c5963(0x126)]&&(_0x429bc8[_0x2b9898[_0x2c5963(0x172)]]=_0x429bc8[_0x2c5963(0x12d)][_0x2c5963(0x126)]),_0x429bc8[_0x2c5963(0x12d)]['includeIssueType']&&(_0x429bc8[_0x2b9898[_0x2c5963(0x161)]]=_0x429bc8[_0x2c5963(0x12d)]['includeIssueType'][_0x2c5963(0x171)],_0x429bc8[_0x2b9898[_0x2c5963(0x142)]]=_0x429bc8[_0x2c5963(0x12d)][_0x2c5963(0x14a)][_0x2c5963(0x15e)]));const _0x495235=JSON['parse'](process[_0x2c5963(0x15b)][_0x2c5963(0x167)])['scannerVersion'];_0x429bc8[_0x2b9898[_0x2c5963(0x15a)]]=process[_0x2c5963(0x15b)]['BS_A11Y_JWT'],_0x429bc8[_0x2b9898[_0x2c5963(0x115)]]=_0x495235,delete _0x429bc8[_0x2c5963(0x12d)];},exports[a34_0x3e1dd7(0x132)]=async _0x12c11c=>{const _0x2c52ba=a34_0x3e1dd7,_0x3368a6={};_0x3368a6['IubGl']=_0x2c52ba(0x174),_0x3368a6[_0x2c52ba(0x16e)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x2b231f=_0x3368a6;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x12c11c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x12c11c,scripts.getResults);return res;}catch{return logger[_0x2c52ba(0x139)](_0x2b231f[_0x2c52ba(0x155)]),[];}else return logger['warn'](_0x2b231f[_0x2c52ba(0x16e)]),[];},exports['performScan']=async(_0x4a3325,_0x4f9e1e='')=>{const _0x3e408f=a34_0x3e1dd7;if(global[_0x3e408f(0x17a)]){const _0x14ae3c={};return _0x14ae3c[_0x3e408f(0x17c)]=_0x4f9e1e,await exports[_0x3e408f(0x150)](_0x4a3325,scripts[_0x3e408f(0x130)],_0x14ae3c);}},exports[a34_0x3e1dd7(0x14e)]=async _0x34a23d=>{const _0x3f5fbe=a34_0x3e1dd7,_0x1778b6={};_0x1778b6[_0x3f5fbe(0x12a)]='No\x20summaryResults\x20found.',_0x1778b6[_0x3f5fbe(0x169)]=_0x3f5fbe(0x13f);const _0x46d742=_0x1778b6;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x34a23d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x34a23d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x3f5fbe(0x152)](_0x46d742['nBXzh']),{};}else return logger['warn'](_0x46d742['sGSdZ']),{};},exports[a34_0x3e1dd7(0x164)]=async _0xd6bfc6=>{const _0x37cdfb=a34_0x3e1dd7,_0x5d3d77={'JffNS':function(_0x44693b,_0x356528){return _0x44693b!==_0x356528;},'nvQiQ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','svAur':function(_0x37bcde,_0x1aeb31){return _0x37bcde===_0x1aeb31;},'QuClD':'chrome','OaTJz':function(_0x4f98b3,_0x2fef76){return _0x4f98b3===_0x2fef76;},'DtNUq':_0x37cdfb(0x117),'vqeoL':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','blMNC':function(_0x5d8c5a,_0x10645f){return _0x5d8c5a(_0x10645f);},'mvleD':function(_0x98460d,_0x28482d){return _0x98460d===_0x28482d;},'ghpyi':_0x37cdfb(0x156),'kkNxc':function(_0x19a6bb,_0xee110e){return _0x19a6bb>_0xee110e;},'PkrEO':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x5d3d77['JffNS'](_0xd6bfc6[_0x37cdfb(0x11e)],''))return logger[_0x37cdfb(0x179)](_0x5d3d77[_0x37cdfb(0x163)]),![];const _0x434a85=_0xd6bfc6[_0x37cdfb(0x168)];if(!(_0x5d3d77[_0x37cdfb(0x118)](_0x434a85,_0x5d3d77[_0x37cdfb(0x12e)])||_0x5d3d77[_0x37cdfb(0x160)](_0x434a85,_0x5d3d77[_0x37cdfb(0x177)])))return logger['warn'](_0x5d3d77['vqeoL']),![];const _0xa6b7f2=_0x5d3d77['blMNC'](parseInt,_0xd6bfc6['browser_version']);if(!(_0x5d3d77[_0x37cdfb(0x146)](_0xa6b7f2,_0x5d3d77['ghpyi'])||_0x5d3d77[_0x37cdfb(0x137)](_0xa6b7f2,0x5e)))return logger['warn'](_0x5d3d77[_0x37cdfb(0x154)]),![];}catch(_0x42897a){logger[_0x37cdfb(0x152)](_0x37cdfb(0x178)+util[_0x37cdfb(0x138)](_0x42897a));}return!![];},exports[a34_0x3e1dd7(0x148)]=(_0x3c8674,_0x1db025,_0x5daffc)=>{const _0x3efcd5=a34_0x3e1dd7,_0x3b18a0={'fQDgt':function(_0xf6d7a9){return _0xf6d7a9();},'jZqTe':_0x3efcd5(0x128),'blgpD':function(_0x144514,_0x14d22a){return _0x144514===_0x14d22a;},'sNfzX':_0x3efcd5(0x15d),'gsUlL':'playwright-chromium','RLULJ':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','lidGJ':function(_0x4d7437,_0x3e8bb9){return _0x4d7437===_0x3e8bb9;},'CPURv':'latest','BpAZW':function(_0x52fee5,_0x225a19){return _0x52fee5>_0x225a19;},'KZKPL':_0x3efcd5(0x114),'CGmBW':function(_0x57f132,_0x216d63){return _0x57f132(_0x216d63);},'rPqCr':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','obSAN':function(_0x12dbb6,_0x14d6fe){return _0x12dbb6+_0x14d6fe;},'Fcuhb':function(_0xcbfc1f,_0x42cf4a){return _0xcbfc1f(_0x42cf4a);}};try{if(_0x3b18a0[_0x3efcd5(0x165)](isAccessibilityAutomationSession)){global[_0x3efcd5(0x17a)]=!![];!_0x3c8674[_0x3b18a0[_0x3efcd5(0x16f)]]&&(global[_0x3efcd5(0x17a)]=![]);!(_0x3b18a0['blgpD'](_0x3c8674[_0x3efcd5(0x175)],_0x3b18a0[_0x3efcd5(0x153)])||_0x3b18a0[_0x3efcd5(0x120)](_0x3c8674[_0x3efcd5(0x175)],_0x3b18a0[_0x3efcd5(0x123)]))&&(logger[_0x3efcd5(0x179)](_0x3b18a0[_0x3efcd5(0x17d)]),global[_0x3efcd5(0x17a)]=![]);!(_0x3b18a0[_0x3efcd5(0x136)](_0x3c8674[_0x3efcd5(0x14f)],_0x3b18a0['CPURv'])||_0x3b18a0[_0x3efcd5(0x129)](_0x3c8674[_0x3efcd5(0x14f)],0x5e))&&(logger[_0x3efcd5(0x179)](_0x3b18a0[_0x3efcd5(0x135)]),global['accessibilityPlatform']=![]);!_0x3b18a0['CGmBW'](isUndefined,_0x3c8674[_0x3efcd5(0x11e)])&&(logger[_0x3efcd5(0x179)](_0x3b18a0[_0x3efcd5(0x140)]),global['accessibilityPlatform']=![]);if(!global[_0x3efcd5(0x17a)]){_0x3c8674[_0x3b18a0[_0x3efcd5(0x16f)]]=![];const _0x597c20=_0x3b18a0[_0x3efcd5(0x11f)](_0x1db025,_0x3b18a0[_0x3efcd5(0x112)](encodeURIComponent,JSON['stringify'](_0x3c8674)));_0x5daffc&&(_0x5daffc[_0x3efcd5(0x173)][_0x3efcd5(0x17b)][_0x3efcd5(0x11a)][_0x3efcd5(0x17e)][_0x3efcd5(0x13a)][_0x3efcd5(0x13b)]=_0x597c20,_0x5daffc[_0x3efcd5(0x15c)]['project'][_0x3efcd5(0x17e)][_0x3efcd5(0x13a)][_0x3efcd5(0x13b)]=_0x597c20);}}}catch(_0x33bc2c){logger[_0x3efcd5(0x152)](_0x3efcd5(0x12f)+util[_0x3efcd5(0x138)](_0x33bc2c));}};
|
|
1
|
+
const a34_0x4d7a24=a34_0x48ed;(function(_0x47d145,_0x20a744){const _0x4763f3=a34_0x48ed,_0x2c962a=_0x47d145();while(!![]){try{const _0x523886=parseInt(_0x4763f3(0x19f))/0x1+parseInt(_0x4763f3(0x17f))/0x2+-parseInt(_0x4763f3(0x14a))/0x3+parseInt(_0x4763f3(0x1a8))/0x4+-parseInt(_0x4763f3(0x165))/0x5+parseInt(_0x4763f3(0x155))/0x6*(parseInt(_0x4763f3(0x153))/0x7)+-parseInt(_0x4763f3(0x172))/0x8;if(_0x523886===_0x20a744)break;else _0x2c962a['push'](_0x2c962a['shift']());}catch(_0x5998f2){_0x2c962a['push'](_0x2c962a['shift']());}}}(a34_0x4498,0xbd17d));function a34_0x4498(){const _0x25c410=['JUUIg','currentTest','No\x20summaryResults\x20found.','replace','uGThi','Rcslg','debug','accessibilityOptions.includeIssueType.needsReview','deviceName','testInfo','project','accessibilityOptions.authToken','Playwright','iLEve','../../helpers/accessibility-automation/helper','PdbbB','WebDriver','UinOR','IIUKI','latest','1457860XAZFhr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','bstackSdkArgs','playwright-chromium','BdThs','fMWqd','method','BS_A11Y_JWT','getAccessibilityResultsSummary','1704248npkqsP','browserStackExecuteDriver','wcagVersion','performScan','VIWJB','connectOptions','No\x20accessibility\x20results\x20were\x20found.','chrome','QrmWy','WefQR','HaGan','pSZKy','1215687doyIbZ','GjAXs','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','use','bestPractice','browser_version','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mkFGQ','bDIZt','224omAnFJ','processAccessibilityCaps','228384LEPldY','qqAiz','mPlJr','scannerProcessingTimeout','env','accessibilityOptions','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','parse','XNzkh','browserstack.accessibility','kejzN','getAccessibilityResults','evaluate','accessibilityOptions.wcagVersion','browser','697215ymwlvP','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','(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','browserName','util','yScRN','scannerVersion','executeAsyncScript','BFsbT','hwgvd','dgkJq','YWYmJ','15473496bpPSDf','RdUIR','warn','uMLFr','name','ovHIL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includeIssueType','eEodx','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','302828AbIJNO','browserStackEvaluate','lmSGQ','rDCMj','constructor','(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','wsEndpoint','dblJt','hCBlq','accessibilityOptions.scannerVersion','VCBeX','bzcTk'];a34_0x4498=function(){return _0x25c410;};return a34_0x4498();}function a34_0x48ed(_0x4ed093,_0x2992d2){const _0x449842=a34_0x4498();return a34_0x48ed=function(_0x48ed5b,_0x420ef8){_0x48ed5b=_0x48ed5b-0x148;let _0x1ed19d=_0x449842[_0x48ed5b];return _0x1ed19d;},a34_0x48ed(_0x4ed093,_0x2992d2);}const util=require(a34_0x4d7a24(0x16a)),logger=require(a34_0x4d7a24(0x15b))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x4d7a24(0x199)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x4d7a24(0x180)]=async(_0x4bf0d5,_0x55e40d,_0x165c03={})=>{const _0x5dc1f6=a34_0x4d7a24,_0x4dff38={};_0x4dff38[_0x5dc1f6(0x18f)]=_0x5dc1f6(0x1a1);const _0x80ae9a=_0x4dff38;return await _0x4bf0d5[_0x5dc1f6(0x162)](_0x5dc1f6(0x184)+_0x55e40d[_0x5dc1f6(0x18e)](/arguments/g,_0x80ae9a['uGThi'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x165c03)+')');},exports[a34_0x4d7a24(0x1a9)]=async(_0x28c832,_0x29985f,_0x19251c={})=>{const _0x36421f=a34_0x4d7a24,_0x11f419={};_0x11f419[_0x36421f(0x152)]=function(_0x41949b,_0x1b7847){return _0x41949b===_0x1b7847;},_0x11f419[_0x36421f(0x16e)]=_0x36421f(0x19b),_0x11f419['piNKe']=_0x36421f(0x197),_0x11f419[_0x36421f(0x1b0)]=_0x36421f(0x1a1);const _0x2eaeea=_0x11f419;if(_0x2eaeea[_0x36421f(0x152)](_0x28c832['constructor'][_0x36421f(0x176)],_0x2eaeea[_0x36421f(0x16e)]))return await _0x28c832[_0x36421f(0x16d)](_0x29985f,_0x19251c);else{if(_0x2eaeea[_0x36421f(0x152)](_0x28c832[_0x36421f(0x183)][_0x36421f(0x176)],_0x2eaeea['piNKe']))return await _0x28c832['executeScript'](_0x36421f(0x168)+_0x29985f[_0x36421f(0x18e)](/arguments/g,_0x2eaeea['QrmWy'])+_0x36421f(0x166)+JSON['stringify'](_0x19251c)+')');}},exports['setAccessibilityCapabilities']=async _0xb383be=>{const _0x127f01=a34_0x4d7a24,_0x4425de={};_0x4425de[_0x127f01(0x173)]=_0x127f01(0x163),_0x4425de[_0x127f01(0x18a)]=_0x127f01(0x167),_0x4425de[_0x127f01(0x19d)]='accessibilityOptions.includeIssueType.bestPractice',_0x4425de['mkFGQ']=_0x127f01(0x192),_0x4425de[_0x127f01(0x1b1)]=_0x127f01(0x196),_0x4425de[_0x127f01(0x16b)]=_0x127f01(0x188);const _0x157a50=_0x4425de;_0xb383be[_0x127f01(0x15a)]&&(_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]&&(_0xb383be[_0x157a50[_0x127f01(0x173)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]),_0xb383be[_0x127f01(0x15a)][_0x127f01(0x158)]&&(_0xb383be[_0x157a50[_0x127f01(0x18a)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x158)]),_0xb383be['accessibilityOptions'][_0x127f01(0x179)]&&(_0xb383be[_0x157a50[_0x127f01(0x19d)]]=_0xb383be[_0x127f01(0x15a)]['includeIssueType'][_0x127f01(0x14e)],_0xb383be[_0x157a50[_0x127f01(0x151)]]=_0xb383be[_0x127f01(0x15a)][_0x127f01(0x179)]['needsReview']));const _0x45afe7=JSON[_0x127f01(0x15d)](process[_0x127f01(0x159)][_0x127f01(0x150)])[_0x127f01(0x16c)];_0xb383be[_0x157a50[_0x127f01(0x1b1)]]=process[_0x127f01(0x159)][_0x127f01(0x1a6)],_0xb383be[_0x157a50[_0x127f01(0x16b)]]=_0x45afe7,delete _0xb383be[_0x127f01(0x15a)];},exports[a34_0x4d7a24(0x161)]=async _0x39d3fd=>{const _0x255796=a34_0x4d7a24,_0x5bd861={};_0x5bd861[_0x255796(0x189)]=_0x255796(0x1ae),_0x5bd861[_0x255796(0x177)]=_0x255796(0x17d);const _0x5964d3=_0x5bd861;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x39d3fd,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x39d3fd,scripts.getResults);return res;}catch{return logger['error'](_0x5964d3[_0x255796(0x189)]),[];}else return logger[_0x255796(0x174)](_0x5964d3[_0x255796(0x177)]),[];},exports[a34_0x4d7a24(0x1ab)]=async(_0x17aba1,_0x3453d3='')=>{const _0x2b3cb1=a34_0x4d7a24;if(global[_0x2b3cb1(0x17b)]){const _0x1fc95a={};return _0x1fc95a[_0x2b3cb1(0x1a5)]=_0x3453d3,await exports[_0x2b3cb1(0x180)](_0x17aba1,scripts[_0x2b3cb1(0x1ab)],_0x1fc95a);}},exports[a34_0x4d7a24(0x1a7)]=async _0x24ede3=>{const _0x5dc430=a34_0x4d7a24,_0xd8b4c7={};_0xd8b4c7['dgkJq']=_0x5dc430(0x18d),_0xd8b4c7[_0x5dc430(0x182)]=_0x5dc430(0x1a0);const _0x167804=_0xd8b4c7;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x24ede3,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x24ede3,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5dc430(0x191)](_0x167804[_0x5dc430(0x170)]),{};}else return logger[_0x5dc430(0x174)](_0x167804['rDCMj']),{};},exports['platformValidation']=async _0x39cc8a=>{const _0x10e92=a34_0x4d7a24,_0x35c3d2={'UinOR':function(_0x39187e,_0x383fc6){return _0x39187e!==_0x383fc6;},'VIWJB':_0x10e92(0x17c),'eEodx':function(_0x42b933,_0x244229){return _0x42b933===_0x244229;},'uMLFr':_0x10e92(0x1af),'hCBlq':function(_0x19bf5c,_0x2cedf0){return _0x19bf5c===_0x2cedf0;},'wLtNl':_0x10e92(0x1a2),'pURnx':_0x10e92(0x178),'BdThs':function(_0x54f94c,_0x5841bf){return _0x54f94c(_0x5841bf);},'iLEve':function(_0x6058bd,_0x4a0d70){return _0x6058bd===_0x4a0d70;},'XNzkh':_0x10e92(0x19e),'mPlJr':function(_0x36062d,_0x1caa39){return _0x36062d>_0x1caa39;},'pSZKy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x35c3d2[_0x10e92(0x19c)](_0x39cc8a['deviceName'],''))return logger['warn'](_0x35c3d2[_0x10e92(0x1ac)]),![];const _0x5f3e40=_0x39cc8a[_0x10e92(0x164)];if(!(_0x35c3d2[_0x10e92(0x17a)](_0x5f3e40,_0x35c3d2[_0x10e92(0x175)])||_0x35c3d2[_0x10e92(0x187)](_0x5f3e40,_0x35c3d2['wLtNl'])))return logger[_0x10e92(0x174)](_0x35c3d2['pURnx']),![];const _0x41d5b=_0x35c3d2[_0x10e92(0x1a3)](parseInt,_0x39cc8a[_0x10e92(0x14f)]);if(!(_0x35c3d2[_0x10e92(0x198)](_0x41d5b,_0x35c3d2[_0x10e92(0x15e)])||_0x35c3d2[_0x10e92(0x157)](_0x41d5b,0x5e)))return logger[_0x10e92(0x174)](_0x35c3d2[_0x10e92(0x149)]),![];}catch(_0x2ae535){logger[_0x10e92(0x191)](_0x10e92(0x14c)+util[_0x10e92(0x17e)](_0x2ae535));}return!![];},exports[a34_0x4d7a24(0x154)]=(_0x529d3a,_0x56bc7a,_0x15884d)=>{const _0x146656=a34_0x4d7a24,_0x3b6a19={'HaGan':function(_0x1a7dbf){return _0x1a7dbf();},'Rkokh':_0x146656(0x15f),'qqAiz':function(_0x3acf66,_0x13eba6){return _0x3acf66===_0x13eba6;},'hwgvd':'chrome','xPbwm':function(_0x2acefe,_0x465923){return _0x2acefe===_0x465923;},'JUUIg':_0x146656(0x1a2),'lmSGQ':_0x146656(0x178),'ADPnG':function(_0x17cb2c,_0x24f3b3){return _0x17cb2c===_0x24f3b3;},'Rcslg':_0x146656(0x19e),'YWYmJ':function(_0x172016,_0x25f586){return _0x172016>_0x25f586;},'fMWqd':_0x146656(0x15c),'GjAXs':function(_0x19802d,_0x1153a3){return _0x19802d(_0x1153a3);},'kejzN':_0x146656(0x17c),'dblJt':function(_0x44f52e,_0x1c3202){return _0x44f52e+_0x1c3202;},'PdbbB':function(_0x400dde,_0x7b90fa){return _0x400dde(_0x7b90fa);}};try{if(_0x3b6a19[_0x146656(0x148)](isAccessibilityAutomationSession)){global[_0x146656(0x17b)]=!![];!_0x529d3a[_0x3b6a19['Rkokh']]&&(global[_0x146656(0x17b)]=![]);!(_0x3b6a19[_0x146656(0x156)](_0x529d3a['browserName'],_0x3b6a19[_0x146656(0x16f)])||_0x3b6a19['xPbwm'](_0x529d3a[_0x146656(0x169)],_0x3b6a19[_0x146656(0x18b)]))&&(logger['warn'](_0x3b6a19[_0x146656(0x181)]),global[_0x146656(0x17b)]=![]);!(_0x3b6a19['ADPnG'](_0x529d3a[_0x146656(0x14f)],_0x3b6a19[_0x146656(0x190)])||_0x3b6a19[_0x146656(0x171)](_0x529d3a[_0x146656(0x14f)],0x5e))&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x1a4)]),global[_0x146656(0x17b)]=![]);!_0x3b6a19[_0x146656(0x14b)](isUndefined,_0x529d3a[_0x146656(0x193)])&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x160)]),global[_0x146656(0x17b)]=![]);if(!global['accessibilityPlatform']){_0x529d3a[_0x3b6a19['Rkokh']]=![];const _0x257b2a=_0x3b6a19[_0x146656(0x186)](_0x56bc7a,_0x3b6a19[_0x146656(0x19a)](encodeURIComponent,JSON['stringify'](_0x529d3a)));_0x15884d&&(_0x15884d[_0x146656(0x18c)][_0x146656(0x194)][_0x146656(0x195)]['use'][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a,_0x15884d['workerInfo']['project'][_0x146656(0x14d)][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a);}}}catch(_0x2cd565){logger[_0x146656(0x191)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x2cd565));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a35_0x1e0bea=a35_0xdcc9;function a35_0xdcc9(_0x2ac689,_0x2de421){const _0x44e039=a35_0x44e0();return a35_0xdcc9=function(_0xdcc90d,_0x5af65b){_0xdcc90d=_0xdcc90d-0x1af;let _0x3941f=_0x44e039[_0xdcc90d];return _0x3941f;},a35_0xdcc9(_0x2ac689,_0x2de421);}(function(_0x5d1503,_0x236be0){const _0x48b06b=a35_0xdcc9,_0x4358ef=_0x5d1503();while(!![]){try{const _0x243707=parseInt(_0x48b06b(0x23d))/0x1*(-parseInt(_0x48b06b(0x221))/0x2)+parseInt(_0x48b06b(0x212))/0x3+parseInt(_0x48b06b(0x1b6))/0x4+-parseInt(_0x48b06b(0x1f2))/0x5*(-parseInt(_0x48b06b(0x230))/0x6)+-parseInt(_0x48b06b(0x1f0))/0x7+parseInt(_0x48b06b(0x225))/0x8*(parseInt(_0x48b06b(0x20d))/0x9)+-parseInt(_0x48b06b(0x1b4))/0xa*(-parseInt(_0x48b06b(0x1bf))/0xb);if(_0x243707===_0x236be0)break;else _0x4358ef['push'](_0x4358ef['shift']());}catch(_0x48d837){_0x4358ef['push'](_0x4358ef['shift']());}}}(a35_0x44e0,0x2860a));const fs=require('fs'),path=require(a35_0x1e0bea(0x203)),{spawn}=require(a35_0x1e0bea(0x1e9)),{format}=require('util'),logger=require(a35_0x1e0bea(0x1d7))['winstonLogger'],{default:BrowserStackSetup}=require(a35_0x1e0bea(0x1d1)),helper=require(a35_0x1e0bea(0x1fd)),utilities=require(a35_0x1e0bea(0x240)),constants=require(a35_0x1e0bea(0x209)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x1e0bea(0x1da)),{CrashReporter}=require(a35_0x1e0bea(0x1d9)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x1e0bea(0x247)),{setAccessibilityCapabilities}=require(a35_0x1e0bea(0x244)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x1e0bea(0x1c3)),getUserPlaywrightConfig=async(_0x158264,_0x18a9c7)=>{const _0x4df3bc=a35_0x1e0bea,_0x5b2b57={'ImYQw':function(_0x3f074c){return _0x3f074c();},'LISbO':function(_0x50c47f,_0x5831d0){return _0x50c47f(_0x5831d0);},'CLeZg':function(_0x252f74,_0x4f6a8e){return _0x252f74(_0x4f6a8e);},'yvcEc':_0x4df3bc(0x23c),'PvhkE':'--config='},_0x2c2f28=!helper[_0x4df3bc(0x24b)](_0x158264[_0x4df3bc(0x1ec)]),_0x449d40=_0x2c2f28?path[_0x4df3bc(0x22e)](process[_0x4df3bc(0x246)](),_0x158264[_0x4df3bc(0x1ec)]):process[_0x4df3bc(0x246)](),{resolveConfigFile:_0x24d9cf,resolveConfigLocation:_0x1a683d}=helper[_0x4df3bc(0x1c2)]['apply'](null,_0x5b2b57[_0x4df3bc(0x213)](getConfigLoaderPath)),_0x475861=_0x24d9cf?_0x5b2b57[_0x4df3bc(0x224)](_0x24d9cf,_0x449d40):helper['nestedKeyValue'](_0x5b2b57[_0x4df3bc(0x208)](_0x1a683d,_0x449d40),[_0x5b2b57[_0x4df3bc(0x1cb)]]),_0x520775={};if(_0x2c2f28){const _0x5c2eef=_0x18a9c7[_0x4df3bc(0x235)](_0x5d3914=>_0x5d3914==='--config'||_0x5d3914==='-c'||_0x5d3914[_0x4df3bc(0x1df)](_0x4df3bc(0x22c)));_0x18a9c7[_0x4df3bc(0x21b)](_0x5c2eef,_0x18a9c7[_0x5c2eef][_0x4df3bc(0x1df)](_0x5b2b57[_0x4df3bc(0x1c0)])?0x1:0x2);}const _0x417156={};return _0x417156[_0x4df3bc(0x203)]=_0x475861,_0x417156[_0x4df3bc(0x1ec)]=_0x520775,_0x417156;},handleO11yRerun=_0x5e3c91=>{const _0x4f44dd=a35_0x1e0bea,_0x1d042f={};_0x1d042f['cZeip']=function(_0x538830,_0x397c50){return _0x538830!==_0x397c50;},_0x1d042f[_0x4f44dd(0x1c8)]='null',_0x1d042f[_0x4f44dd(0x21e)]=_0x4f44dd(0x210);const _0x403298=_0x1d042f,_0x3d72c7=helper[_0x4f44dd(0x1b8)](process[_0x4f44dd(0x219)][_0x4f44dd(0x237)]);if(_0x3d72c7){const _0x5f1cad=process['env'][_0x4f44dd(0x22f)],_0x190361=[];if(_0x403298[_0x4f44dd(0x216)](_0x5f1cad,_0x403298[_0x4f44dd(0x1c8)])&&!helper[_0x4f44dd(0x24b)](_0x5f1cad)){_0x5f1cad['split'](',')[_0x4f44dd(0x206)](_0x2e7a0f=>{_0x190361['push']('('+_0x2e7a0f['trim']()+')');});const _0x6c56fa='^'+_0x190361['join']('|')+'$';_0x5e3c91[_0x4f44dd(0x1f9)](_0x403298['vwKgs'],_0x6c56fa);}}},spawnOriginalProcess=_0x4dc810=>{const _0x20d8d7=a35_0x1e0bea,_0x2919dc={'ircIK':function(_0x30e9b6,_0x3353d8,_0x3f5224,_0x7332e0){return _0x30e9b6(_0x3353d8,_0x3f5224,_0x7332e0);},'NZWhT':_0x20d8d7(0x1e1),'bYRfk':_0x20d8d7(0x1e2),'tMDof':function(_0x214fbf,_0x560458){return _0x214fbf===_0x560458;},'aWNYN':_0x20d8d7(0x1eb),'yuqMq':'inherit'};_0x2919dc['ircIK'](spawn,_0x2919dc[_0x20d8d7(0x21d)],[_0x2919dc['bYRfk'],..._0x4dc810['slice'](0x1)],{'shell':_0x2919dc[_0x20d8d7(0x1bb)](process[_0x20d8d7(0x1e5)],_0x2919dc[_0x20d8d7(0x1dd)]),'stdio':_0x2919dc[_0x20d8d7(0x222)],'cwd':process[_0x20d8d7(0x246)]()});},isTestCommand=(_0x3a27e6,_0x149099)=>{const _0x11edfa=a35_0x1e0bea,_0x46d920={};_0x46d920['LufId']=function(_0x2f21f3,_0x29fe8a){return _0x2f21f3>_0x29fe8a;},_0x46d920['beHdB']=function(_0x342ed8,_0x3cff59){return _0x342ed8===_0x3cff59;},_0x46d920['BexTt']=_0x11edfa(0x205);const _0x3a674d=_0x46d920;if(_0x3a674d[_0x11edfa(0x23b)](_0x149099[_0x11edfa(0x227)],0x1)&&_0x3a674d[_0x11edfa(0x236)](_0x149099[0x1],_0x3a674d[_0x11edfa(0x229)]))return!![];return![];};function a35_0x44e0(){const _0x4bc44a=['BexTt','get','VfDZU','--config=','inherit','resolve','BROWSERSTACK_RERUN_TESTS','438WJbsVd','pw_result.json','ShygW','exports','VsHSC','findIndex','beHdB','BROWSERSTACK_RERUN','BROWSERSTACK_AUTOMATION','gDFhz','CqtOv','LufId','resolvedConfigFile','21xbqYgA','nvbyz','accessibility','../../helpers/utilities','Error\x20in\x20closing\x20playwright','HkGvq','jSPCn','./accessibility-helper','concat','cwd','../../helpers/accessibility-automation/helper','skipSessionName','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getPackageType','isUndefined','existsSync','parse','UNafz','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','stop','8290nPexWt','errorMessage','719128ILEklM','rPftF','isTrue','BJsoo','markSDKSetupComplete','tMDof','cZQms','close','eJyrg','2816oejZXP','PvhkE','Error\x20in\x20deleting\x20playwright\x20results','requirePWModule','../../helpers/testhub/utils','Playwright\x20process\x20exited\x20with\x20code\x20','XAXhD','ZPRgR','includes','Cjvly','xswLa','assign','yvcEc','cliConfig','testContextOptions','getProxyUrl','false','launchBuild','../../helpers/BrowserStackSetup','knBnt','split','initialize','uacRk','isFalse','../../helpers/logger','Error\x20in\x20getting\x20funnel\x20data\x20results','../../helpers/test-observability/error-handler','./reporter/pwUtils','join','slice','aWNYN','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','startsWith','filterBrowserstackArgs','npx','playwright','filter','accessibilityOptions','platform','uQhGx','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','dirname','child_process','error','win32','config','gyHJi','IjVSr','eXzKs','1960875YKVAFQ','MODULE','4150jVRxkN','5|8|2|6|3|1|7|4|0','BROWSERSTACK_TEST_OBSERVABILITY','true','automation','isTypescriptProject','info','push','homedir','MZumI','--config','../../helpers/helper','hoReW','testObservability','clearTempPWConfig','USER_CONFIG_DETAILS_PATH','serializeToYamlString','path','unlinkSync','test','map','RnxHq','CLeZg','../utils/constants','OZwGu','debug','BROWSERSTACK_PW_CONFIG_DIR','326997GhzfoJ','finalExecution','PACKAGE_TYPE','--grep','browserstackSetupConfig.json','75936vyBtqg','ImYQw','hNYXp','writeFileSync','cZeip','YCiDw','has','env','OsyBb','splice','eKoZh','NZWhT','vwKgs','Deleting\x20','getConfigPath','10006LfABNJ','yuqMq','InToI','LISbO','16foqRmC','--disable-browserstack-automation','length','readFileSync'];a35_0x44e0=function(){return _0x4bc44a;};return a35_0x44e0();}async function run(_0xc8b456,_0x4c6347){const _0x25e04e=a35_0x1e0bea,_0x2a7be8={'InToI':'.browserstack','eXzKs':_0x25e04e(0x231),'bYaUj':function(_0x15d0d3,_0x58d620){return _0x15d0d3+_0x58d620;},'gDFhz':_0x25e04e(0x1d8),'hoReW':_0x25e04e(0x1f3),'UNafz':function(_0x14c446){return _0x14c446();},'rPftF':_0x25e04e(0x241),'jSPCn':'--disable-browserstack-automation','CqtOv':_0x25e04e(0x1cf),'mfQJM':'--disable-test-observability','dnrEV':function(_0x2b44a5,_0x3cc895){return _0x2b44a5>=_0x3cc895;},'MZumI':function(_0x2f3167,_0x1c6f56){return _0x2f3167+_0x1c6f56;},'XAXhD':_0x25e04e(0x1c1),'hNYXp':function(_0x2283d8,_0x46b087,_0x2bb3c8){return _0x2283d8(_0x46b087,_0x2bb3c8);},'IjVSr':function(_0xd30f14,_0x43201f){return _0xd30f14(_0x43201f);},'HkGvq':'BrowserStack\x20config\x20file\x20not\x20found.','gyHJi':_0x25e04e(0x1f6),'xswLa':function(_0x49f88c,_0x26811b){return _0x49f88c!=_0x26811b;},'RnxHq':function(_0x5825f1,_0x5c235e,_0x355661){return _0x5825f1(_0x5c235e,_0x355661);},'BJsoo':function(_0x1867ea,_0x27e4f0){return _0x1867ea===_0x27e4f0;},'Hniuj':_0x25e04e(0x1f5),'eJyrg':function(_0x42f08c,_0x357414){return _0x42f08c(_0x357414);},'cZQms':function(_0x497990,_0x3aecde){return _0x497990(_0x3aecde);},'ShygW':_0x25e04e(0x211),'VsHSC':'playwright-browserstack-sdk.config.cjs','OsyBb':'playwright-browserstack-sdk.config.js','uQhGx':function(_0x404090,_0xdc60a1){return _0x404090-_0xdc60a1;},'Bufue':function(_0x4980fc,_0xd37ca6){return _0x4980fc+_0xd37ca6;},'nvbyz':'Updated\x20config\x20file\x20name\x20to\x20-\x20','OZwGu':function(_0x495493,_0x9bb696){return _0x495493>_0x9bb696;},'uacRk':function(_0xf316b0,_0x10cb30,_0x93b237,_0x25236f){return _0xf316b0(_0x10cb30,_0x93b237,_0x25236f);},'YCiDw':_0x25e04e(0x1e1),'ImGuA':'playwright','VfDZU':_0x25e04e(0x205),'ZPRgR':_0x25e04e(0x1fc),'knBnt':function(_0x2e50f6,_0x3a48e1){return _0x2e50f6===_0x3a48e1;},'eKoZh':_0x25e04e(0x1eb),'TNsLu':_0x25e04e(0x22d),'JOTtt':_0x25e04e(0x1bd)};!helper[_0x25e04e(0x1d6)](process['env']['BROWSERSTACK_AUTOMATION'])&&(process[_0x25e04e(0x219)][_0x25e04e(0x238)]=!![]);process['argv'][_0x25e04e(0x1c7)](_0x2a7be8[_0x25e04e(0x243)])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x2a7be8['CqtOv'],_0x4c6347=_0x4c6347['filter'](_0x49124f=>_0x49124f!==_0x25e04e(0x226)));const _0x1a6442=_0x4c6347['indexOf'](_0x2a7be8['mfQJM']);_0x2a7be8['dnrEV'](_0x1a6442,0x0)&&(process[_0x25e04e(0x219)][_0x25e04e(0x1f4)]=_0x2a7be8[_0x25e04e(0x23a)],_0x4c6347=_0x4c6347[_0x25e04e(0x1e3)](_0x396700=>_0x396700!=='--disable-test-observability'));try{const _0x215ed4=path['join'](helper[_0x25e04e(0x1fa)](),_0x2a7be8[_0x25e04e(0x223)],_0x2a7be8[_0x25e04e(0x1ef)]);fs['existsSync'](_0x215ed4)&&fs[_0x25e04e(0x204)](_0x215ed4);}catch(_0x32052b){logger[_0x25e04e(0x20b)](_0x2a7be8[_0x25e04e(0x1fb)](_0x2a7be8[_0x25e04e(0x1c5)],_0x32052b));}if(!_0x2a7be8[_0x25e04e(0x214)](isTestCommand,_0xc8b456,_0x4c6347)){_0x2a7be8[_0x25e04e(0x1ee)](spawnOriginalProcess,_0x4c6347);return;}const _0x4b9e6d=new BrowserStackSetup(_0xc8b456,FRAMEWORKS['PLAYWRIGHT']);if(!_0x4b9e6d[_0x25e04e(0x1ec)]){logger[_0x25e04e(0x1ea)](_0x2a7be8[_0x25e04e(0x242)]);return;}await _0x4b9e6d[_0x25e04e(0x1d4)]();!helper[_0x25e04e(0x24b)](_0x4b9e6d[_0x25e04e(0x1cc)])&&_0x4b9e6d[_0x25e04e(0x1cc)][_0x25e04e(0x218)](_0x2a7be8['gyHJi'])&&(process[_0x25e04e(0x219)][_0x25e04e(0x238)]=_0x4b9e6d[_0x25e04e(0x1cc)][_0x25e04e(0x22a)](_0x2a7be8[_0x25e04e(0x1ed)])||!![]);_0x2a7be8[_0x25e04e(0x1c9)](_0x4b9e6d['config'][_0x25e04e(0x1ff)],null)&&!helper[_0x25e04e(0x1b8)](process[_0x25e04e(0x219)][_0x25e04e(0x1f4)])&&(process[_0x25e04e(0x219)][_0x25e04e(0x1f4)]=process[_0x25e04e(0x219)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x4b9e6d['config'][_0x25e04e(0x1ff)]);const _0x2e055d=!helper[_0x25e04e(0x1d6)](process['env'][_0x25e04e(0x1f4)]);let _0x5934c2=![];_0x4b9e6d[_0x25e04e(0x1ec)][_0x25e04e(0x23f)]&&(_0x5934c2=!![],process[_0x25e04e(0x219)][_0x25e04e(0x249)]=_0x4b9e6d['config'][_0x25e04e(0x23f)]);_0x4b9e6d[_0x25e04e(0x1ec)]['accessibilityOptions']&&(process[_0x25e04e(0x219)][_0x25e04e(0x1de)]=JSON['stringify'](_0x4b9e6d[_0x25e04e(0x1ec)][_0x25e04e(0x1e4)]));const _0x290264=_0x4c6347[_0x25e04e(0x245)](),_0x5a3dd0=await _0x2a7be8[_0x25e04e(0x207)](getUserPlaywrightConfig,_0xc8b456,_0x4c6347);if(helper[_0x25e04e(0x24b)](_0x5a3dd0)){_0x2a7be8[_0x25e04e(0x1ee)](spawnOriginalProcess,_0x290264);return;}const _0x3ba480=_0x5a3dd0[_0x25e04e(0x203)]?path[_0x25e04e(0x1e8)](_0x5a3dd0[_0x25e04e(0x203)]):process[_0x25e04e(0x246)]();process[_0x25e04e(0x219)][_0x25e04e(0x20c)]=_0x3ba480,await TestHubHandler[_0x25e04e(0x1d0)](FRAMEWORKS['PLAYWRIGHT'],_0x4b9e6d);_0x2e055d&&_0x2a7be8[_0x25e04e(0x1ee)](handleO11yRerun,_0x4c6347);let _0x3aeea0=_0x2a7be8[_0x25e04e(0x1b9)](process[_0x25e04e(0x219)][_0x25e04e(0x249)],_0x2a7be8['Hniuj']);_0x3aeea0=_0x3aeea0||_0x2a7be8[_0x25e04e(0x1be)](checkAccessibilityPlatformConfig,_0x4b9e6d['config']),process['env'][_0x25e04e(0x249)]=_0x3aeea0;_0x3aeea0&&_0x2a7be8[_0x25e04e(0x1bc)](setAccessibilityCapabilities,_0x4b9e6d[_0x25e04e(0x1ec)]);const _0x14f3ff=path[_0x25e04e(0x1db)](_0x5a3dd0['path']?path['dirname'](_0x5a3dd0[_0x25e04e(0x203)]):process[_0x25e04e(0x246)](),_0x2a7be8[_0x25e04e(0x232)]);fs[_0x25e04e(0x215)](_0x14f3ff,helper[_0x25e04e(0x202)](_0x4b9e6d['config'])),process[_0x25e04e(0x219)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x14f3ff,helper[_0x25e04e(0x200)]();let _0x115f3f='';_0x2a7be8[_0x25e04e(0x1b9)](helper[_0x25e04e(0x24a)](),constants[_0x25e04e(0x20f)][_0x25e04e(0x1f1)])?_0x115f3f=_0x2a7be8[_0x25e04e(0x234)]:_0x115f3f=_0x2a7be8[_0x25e04e(0x21a)];let _0x488d7a='';if(helper[_0x25e04e(0x1f7)](_0x5a3dd0['path'])){_0x488d7a=_0x25e04e(0x1e7);const _0x3c5399=_0x115f3f[_0x25e04e(0x1d3)]('.');_0x3c5399[_0x2a7be8[_0x25e04e(0x1e6)](_0x3c5399[_0x25e04e(0x227)],0x1)]='ts',_0x115f3f=_0x3c5399[_0x25e04e(0x1db)]('.'),logger[_0x25e04e(0x20b)](_0x2a7be8['Bufue'](_0x2a7be8[_0x25e04e(0x23e)],_0x115f3f));}else _0x488d7a='\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a';const _0x449df3=path[_0x25e04e(0x1db)](_0x5a3dd0['path']?path[_0x25e04e(0x1e8)](_0x5a3dd0['path']):process[_0x25e04e(0x246)](),_0x115f3f);let _0x907941=_0x5a3dd0[_0x25e04e(0x203)]?_0x5a3dd0[_0x25e04e(0x203)]:'';_0x907941=_0x2a7be8[_0x25e04e(0x20a)](_0x907941[_0x25e04e(0x227)],0x0)?path[_0x25e04e(0x22e)](_0x907941):'',process['env'][_0x25e04e(0x201)]=_0x907941;const _0x1ef493=helper[_0x25e04e(0x1ce)](_0x4b9e6d['config']);_0x1ef493&&(_0x488d7a=_0x2a7be8['Bufue'](_0x25e04e(0x1b2)+_0x1ef493+'\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();',_0x488d7a));helper[_0x25e04e(0x1e0)]({},_0x4c6347),fs[_0x25e04e(0x215)](_0x449df3,_0x488d7a),helper[_0x25e04e(0x1ba)]();const _0x18e681=_0x2a7be8[_0x25e04e(0x1d5)](spawn,_0x2a7be8[_0x25e04e(0x217)],[_0x2a7be8['ImGuA'],_0x2a7be8[_0x25e04e(0x22b)],_0x2a7be8[_0x25e04e(0x1c6)],_0x449df3,..._0x4c6347[_0x25e04e(0x1dc)](0x2)],{'shell':_0x2a7be8[_0x25e04e(0x1d2)](process['platform'],_0x2a7be8[_0x25e04e(0x21c)]),'stdio':_0x2a7be8['TNsLu'],'cwd':process[_0x25e04e(0x246)](),'env':Object[_0x25e04e(0x1ca)]({},process[_0x25e04e(0x219)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x25e04e(0x220)](_0xc8b456),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4b9e6d[_0x25e04e(0x1ec)][_0x25e04e(0x1cd)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4b9e6d[_0x25e04e(0x1ec)][_0x25e04e(0x1cd)][_0x25e04e(0x248)],'BROWSERSTACK_LOG_LEVEL':_0x4b9e6d[_0x25e04e(0x1ec)]['logLevel']})}),_0x4ac69e=()=>{const _0x4581cc=_0x25e04e;try{const _0x4188d5=path['join'](helper[_0x4581cc(0x1fa)](),_0x2a7be8[_0x4581cc(0x223)],_0x2a7be8[_0x4581cc(0x1ef)]);if(fs[_0x4581cc(0x1af)](_0x4188d5)){let _0x22cf17=fs[_0x4581cc(0x228)](_0x4188d5);_0x22cf17=JSON[_0x4581cc(0x1b0)](_0x22cf17),_0x4b9e6d[_0x4581cc(0x1b5)]=_0x22cf17,fs[_0x4581cc(0x204)](_0x4188d5);}}catch(_0x3d0075){logger[_0x4581cc(0x20b)](_0x2a7be8['bYaUj'](_0x2a7be8[_0x4581cc(0x239)],_0x3d0075));}};_0x18e681['on'](_0x2a7be8['JOTtt'],async _0xd7f816=>{const _0x56f390=_0x25e04e;try{const _0x28b27b=_0x2a7be8[_0x56f390(0x1fe)][_0x56f390(0x1d3)]('|');let _0xf58ce5=0x0;while(!![]){switch(_0x28b27b[_0xf58ce5++]){case'0':fs[_0x56f390(0x204)](_0x14f3ff);continue;case'1':logger[_0x56f390(0x1f8)](_0x56f390(0x21f)+_0x449df3);continue;case'2':await utilities[_0x56f390(0x20e)](_0x4b9e6d);continue;case'3':logger[_0x56f390(0x20b)](_0x56f390(0x1c4)+_0xd7f816);continue;case'4':logger[_0x56f390(0x20b)](_0x56f390(0x21f)+_0x14f3ff);continue;case'5':_0x2a7be8[_0x56f390(0x1b1)](_0x4ac69e);continue;case'6':process['exitCode']=_0xd7f816;continue;case'7':fs['unlinkSync'](_0x449df3);continue;case'8':await TestHubHandler[_0x56f390(0x1b3)]();continue;}break;}}catch(_0x43b9a4){logger['debug'](_0x2a7be8['bYaUj'](_0x2a7be8[_0x56f390(0x1b7)],_0x43b9a4));}});}module[a35_0x1e0bea(0x233)]=run;
|
|
2
|
+
'use strict';const a35_0x1cdbd7=a35_0xd4dc;(function(_0x1fb349,_0x59166f){const _0x41c5f3=a35_0xd4dc,_0x505624=_0x1fb349();while(!![]){try{const _0x160c89=parseInt(_0x41c5f3(0x24f))/0x1*(parseInt(_0x41c5f3(0x249))/0x2)+-parseInt(_0x41c5f3(0x20b))/0x3+parseInt(_0x41c5f3(0x1d7))/0x4+parseInt(_0x41c5f3(0x204))/0x5+parseInt(_0x41c5f3(0x1b6))/0x6+-parseInt(_0x41c5f3(0x1dc))/0x7+-parseInt(_0x41c5f3(0x25c))/0x8;if(_0x160c89===_0x59166f)break;else _0x505624['push'](_0x505624['shift']());}catch(_0x4bb54c){_0x505624['push'](_0x505624['shift']());}}}(a35_0x49fc,0x6f174));function a35_0xd4dc(_0x37b2c4,_0x579a75){const _0x49fc0d=a35_0x49fc();return a35_0xd4dc=function(_0xd4dcd9,_0x58e4f3){_0xd4dcd9=_0xd4dcd9-0x1b6;let _0x26c91b=_0x49fc0d[_0xd4dcd9];return _0x26c91b;},a35_0xd4dc(_0x37b2c4,_0x579a75);}function a35_0x49fc(){const _0x4b5cf2=['nrURh','pw_result.json','--config','testObservability','false','isQeV','concat','npx','../../helpers/test-observability/constants','--disable-browserstack-automation','findIndex','\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();','../../helpers/BrowserStackSetup','VNFUY','vrEeC','filterBrowserstackArgs','../utils/constants','OFlom','resolvedConfigFile','SCeNI','config','join','get','QgsDB','serializeToYamlString','child_process','initialize','2607925mRCBog','.browserstack','isTypescriptProject','stringify','push','MjDKO','../../helpers/test-observability/error-handler','692889czFiKr','GfweL','homedir','./reporter/pwUtils','requirePWModule','finalExecution','JagJR','parse','clearTempPWConfig','--config=','inherit','EcREW','playwright-browserstack-sdk.config.js','pXNdY','BROWSERSTACK_RERUN_TESTS','getPackageType','HzVdM','Deleting\x20','BrowserStack\x20config\x20file\x20not\x20found.','../../helpers/logger','getConfigPath','EmYIv','winstonLogger','ntqtU','existsSync','startsWith','playwright-browserstack-sdk.config.cjs','testContextOptions','--disable-test-observability','platform','assign','ZJzNx','launchBuild','readFileSync','UiFbG','nestedKeyValue','filter','true','has','./accessibility-helper','DhrqA','slice','isTrue','TTvkw','includes','dirname','stop','isFalse','FGGCq','USER_CONFIG_DETAILS_PATH','4|3|5|7|8|2|0|1|6','--grep','unlinkSync','RXRvx','info','gUAXY','EMYWN','HpAFs','split','win32','TiMSJ','MHXMV','58uhlaKD','NqhOq','PpOKP','QyjMv','BROWSERSTACK_AUTOMATION','test','23398NmDCQv','null','Playwright\x20process\x20exited\x20with\x20code\x20','accessibilityOptions','oxGpt','bHgQu','browserstackSetupConfig.json','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','map','PydaN','12970736NYPNvR','4595940jzarFZ','cwd','MmDua','writeFileSync','YQaNc','skipSessionName','accessibility','path','debug','JAAKJ','../../helpers/accessibility-automation/helper','skipSessionStatus','playwright','resolve','OwBao','../../helpers/utilities','NsqFr','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','WYrSq','hJOCr','PLAYWRIGHT','Error\x20in\x20closing\x20playwright','automation','argv','PACKAGE_TYPE','../../helpers/testhub/utils','Sjxoo','JivFV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','indexOf','length','Updated\x20config\x20file\x20name\x20to\x20-\x20','2600324OBvIGA','env','RXeGD','RljFP','isUndefined','2162055tmvNBh','ISWDX','Error\x20in\x20getting\x20funnel\x20data\x20results','MStTc','close','exports','BROWSERSTACK_TEST_OBSERVABILITY','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','apply','bIpjD','markSDKSetupComplete','hKGUa','errorMessage'];a35_0x49fc=function(){return _0x4b5cf2;};return a35_0x49fc();}const fs=require('fs'),path=require(a35_0x1cdbd7(0x1bd)),{spawn}=require(a35_0x1cdbd7(0x202)),{format}=require('util'),logger=require(a35_0x1cdbd7(0x21e))[a35_0x1cdbd7(0x221)],{default:BrowserStackSetup}=require(a35_0x1cdbd7(0x1f5)),helper=require(a35_0x1cdbd7(0x1d3)),utilities=require(a35_0x1cdbd7(0x1c5)),constants=require(a35_0x1cdbd7(0x1f9)),{FRAMEWORKS}=require(a35_0x1cdbd7(0x1f1)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x1cdbd7(0x20e)),{CrashReporter}=require(a35_0x1cdbd7(0x20a)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x1cdbd7(0x1c0)),{setAccessibilityCapabilities}=require(a35_0x1cdbd7(0x232)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x1cdbd7(0x1cf)),getUserPlaywrightConfig=async(_0x388b4d,_0xe56b03)=>{const _0x43fa5a=a35_0x1cdbd7,_0x22b0e0={'UiFbG':function(_0x3a8929){return _0x3a8929();},'TiMSJ':function(_0x353db7,_0x376e14){return _0x353db7(_0x376e14);},'ONeOI':_0x43fa5a(0x1fb),'MmDua':_0x43fa5a(0x214)},_0x3c698c=!helper['isUndefined'](_0x388b4d[_0x43fa5a(0x1fd)]),_0x58d0d3=_0x3c698c?path[_0x43fa5a(0x1c3)](process['cwd'](),_0x388b4d[_0x43fa5a(0x1fd)]):process[_0x43fa5a(0x1b7)](),{resolveConfigFile:_0x3531cf,resolveConfigLocation:_0x592d48}=helper[_0x43fa5a(0x20f)][_0x43fa5a(0x1e4)](null,_0x22b0e0[_0x43fa5a(0x22d)](getConfigLoaderPath)),_0x126207=_0x3531cf?_0x22b0e0[_0x43fa5a(0x247)](_0x3531cf,_0x58d0d3):helper[_0x43fa5a(0x22e)](_0x22b0e0[_0x43fa5a(0x247)](_0x592d48,_0x58d0d3),[_0x22b0e0['ONeOI']]),_0x586b69={};if(_0x3c698c){const _0x409e9d=_0xe56b03[_0x43fa5a(0x1f3)](_0x1925f5=>_0x1925f5===_0x43fa5a(0x1eb)||_0x1925f5==='-c'||_0x1925f5[_0x43fa5a(0x224)](_0x43fa5a(0x214)));_0xe56b03['splice'](_0x409e9d,_0xe56b03[_0x409e9d][_0x43fa5a(0x224)](_0x22b0e0[_0x43fa5a(0x1b8)])?0x1:0x2);}const _0x22e85b={};return _0x22e85b[_0x43fa5a(0x1bd)]=_0x126207,_0x22e85b[_0x43fa5a(0x1fd)]=_0x586b69,_0x22e85b;},handleO11yRerun=_0x47fde8=>{const _0x30e02a=a35_0x1cdbd7,_0x15e2cc={};_0x15e2cc['wctto']=function(_0x22b718,_0xd82096){return _0x22b718!==_0xd82096;},_0x15e2cc[_0x30e02a(0x222)]=_0x30e02a(0x250),_0x15e2cc[_0x30e02a(0x220)]=_0x30e02a(0x23e);const _0x395203=_0x15e2cc,_0x3d3a7a=helper[_0x30e02a(0x235)](process[_0x30e02a(0x1d8)]['BROWSERSTACK_RERUN']);if(_0x3d3a7a){const _0x32bc10=process[_0x30e02a(0x1d8)][_0x30e02a(0x219)],_0x38135c=[];if(_0x395203['wctto'](_0x32bc10,_0x395203[_0x30e02a(0x222)])&&!helper[_0x30e02a(0x1db)](_0x32bc10)){_0x32bc10[_0x30e02a(0x245)](',')[_0x30e02a(0x25a)](_0x5f0f6a=>{const _0x224ca3=_0x30e02a;_0x38135c[_0x224ca3(0x208)]('('+_0x5f0f6a['trim']()+')');});const _0xc8ebab='^'+_0x38135c[_0x30e02a(0x1fe)]('|')+'$';_0x47fde8['push'](_0x395203['EmYIv'],_0xc8ebab);}}},spawnOriginalProcess=_0x3a420a=>{const _0x4ece28=a35_0x1cdbd7,_0x196eb2={'JAAKJ':function(_0x3571bc,_0x593965,_0x28a258,_0x4f8e82){return _0x3571bc(_0x593965,_0x28a258,_0x4f8e82);},'QgsDB':'npx','bHgQu':_0x4ece28(0x1c2),'ZJzNx':function(_0x3f0074,_0x5ad32a){return _0x3f0074===_0x5ad32a;},'pXNdY':'win32','hOnLh':_0x4ece28(0x215)};_0x196eb2[_0x4ece28(0x1bf)](spawn,_0x196eb2[_0x4ece28(0x200)],[_0x196eb2[_0x4ece28(0x254)],..._0x3a420a[_0x4ece28(0x234)](0x1)],{'shell':_0x196eb2[_0x4ece28(0x22a)](process[_0x4ece28(0x228)],_0x196eb2[_0x4ece28(0x218)]),'stdio':_0x196eb2['hOnLh'],'cwd':process[_0x4ece28(0x1b7)]()});},isTestCommand=(_0x2fb2f7,_0x4eef8e)=>{const _0x1f2baf=a35_0x1cdbd7,_0x56a142={};_0x56a142[_0x1f2baf(0x1f7)]=function(_0x3272e4,_0x4ffd21){return _0x3272e4>_0x4ffd21;},_0x56a142[_0x1f2baf(0x236)]=function(_0x52cc9d,_0x13c929){return _0x52cc9d===_0x13c929;},_0x56a142[_0x1f2baf(0x233)]=_0x1f2baf(0x24e);const _0xdf4dc9=_0x56a142;if(_0xdf4dc9[_0x1f2baf(0x1f7)](_0x4eef8e['length'],0x1)&&_0xdf4dc9[_0x1f2baf(0x236)](_0x4eef8e[0x1],_0xdf4dc9['DhrqA']))return!![];return![];};async function run(_0x1b4422,_0x2b8688){const _0x407053=a35_0x1cdbd7,_0x1db360={'gUAXY':_0x407053(0x205),'PpOKP':_0x407053(0x1ea),'wZvNH':function(_0x2459b3,_0x1c3b8a){return _0x2459b3+_0x1c3b8a;},'hKGUa':_0x407053(0x1de),'YQaNc':_0x407053(0x23d),'QaXIx':function(_0x31c1e4){return _0x31c1e4();},'NsqFr':function(_0x1104b7,_0x3af544){return _0x1104b7+_0x3af544;},'bIpjD':_0x407053(0x1cb),'PTgHl':_0x407053(0x1f2),'OwBao':_0x407053(0x1ed),'JivFV':_0x407053(0x227),'PydaN':function(_0x5408bf,_0x268e26){return _0x5408bf>=_0x268e26;},'WYrSq':_0x407053(0x256),'EMYWN':function(_0x5c4ea2,_0xfdcab6,_0x1dfeed){return _0x5c4ea2(_0xfdcab6,_0x1dfeed);},'hJOCr':function(_0x1b9443,_0x35fb62){return _0x1b9443(_0x35fb62);},'EcREW':_0x407053(0x21d),'Sjxoo':_0x407053(0x1cc),'RXRvx':function(_0x5094a7,_0x18e633){return _0x5094a7!=_0x18e633;},'MHXMV':function(_0xe18fcc,_0x302ddd,_0x422777){return _0xe18fcc(_0x302ddd,_0x422777);},'JagJR':function(_0x3f1045,_0x15cae8){return _0x3f1045(_0x15cae8);},'MStTc':function(_0x3d329f,_0xfc00b6){return _0x3d329f===_0xfc00b6;},'NqhOq':_0x407053(0x230),'isQeV':function(_0xd478b2,_0x30fc32){return _0xd478b2(_0x30fc32);},'nrURh':function(_0x7a99fd,_0x436bc3){return _0x7a99fd(_0x436bc3);},'QyjMv':_0x407053(0x255),'HpAFs':_0x407053(0x225),'HzVdM':_0x407053(0x217),'RljFP':function(_0x570324,_0x3bdf25){return _0x570324-_0x3bdf25;},'FGGCq':function(_0xd63281,_0x3c4e80){return _0xd63281+_0x3c4e80;},'SCeNI':_0x407053(0x1d6),'HlGfA':function(_0x59b371,_0x3ba683){return _0x59b371>_0x3ba683;},'RXeGD':function(_0xb2e893,_0x256802){return _0xb2e893+_0x256802;},'MjDKO':function(_0xcda377,_0x35e1ed,_0x106c2c,_0x57345e){return _0xcda377(_0x35e1ed,_0x106c2c,_0x57345e);},'VNFUY':_0x407053(0x1f0),'OGzgh':'playwright','qRNrM':_0x407053(0x24e),'GfweL':'--config','oxGpt':_0x407053(0x246),'ISWDX':'inherit','OFlom':_0x407053(0x1e0)};!helper[_0x407053(0x23a)](process[_0x407053(0x1d8)][_0x407053(0x24d)])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=!![]);process[_0x407053(0x1cd)][_0x407053(0x237)](_0x1db360['PTgHl'])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x14e487=>_0x14e487!==_0x407053(0x1f2)));const _0x391d19=_0x2b8688[_0x407053(0x1d4)](_0x1db360[_0x407053(0x1d1)]);_0x1db360[_0x407053(0x25b)](_0x391d19,0x0)&&(process[_0x407053(0x1d8)][_0x407053(0x1e2)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x90e98a=>_0x90e98a!==_0x407053(0x227)));try{const _0x307da5=path[_0x407053(0x1fe)](helper[_0x407053(0x20d)](),_0x1db360['gUAXY'],_0x1db360[_0x407053(0x24b)]);fs[_0x407053(0x223)](_0x307da5)&&fs['unlinkSync'](_0x307da5);}catch(_0xa25184){logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x1c6)](_0x1db360[_0x407053(0x1c8)],_0xa25184));}if(!_0x1db360[_0x407053(0x243)](isTestCommand,_0x1b4422,_0x2b8688)){_0x1db360[_0x407053(0x1c9)](spawnOriginalProcess,_0x2b8688);return;}const _0x477bec=new BrowserStackSetup(_0x1b4422,FRAMEWORKS[_0x407053(0x1ca)]);if(!_0x477bec[_0x407053(0x1fd)]){logger['error'](_0x1db360[_0x407053(0x216)]);return;}await _0x477bec[_0x407053(0x203)]();!helper[_0x407053(0x1db)](_0x477bec[_0x407053(0x259)])&&_0x477bec['cliConfig'][_0x407053(0x231)](_0x1db360['Sjxoo'])&&(process['env'][_0x407053(0x24d)]=_0x477bec[_0x407053(0x259)][_0x407053(0x1ff)](_0x1db360[_0x407053(0x1d0)])||!![]);_0x1db360[_0x407053(0x240)](_0x477bec[_0x407053(0x1fd)]['testObservability'],null)&&!helper[_0x407053(0x235)](process[_0x407053(0x1d8)][_0x407053(0x1e2)])&&(process[_0x407053(0x1d8)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x477bec[_0x407053(0x1fd)][_0x407053(0x1ec)]);const _0x1e3701=!helper[_0x407053(0x23a)](process['env'][_0x407053(0x1e2)]);let _0x5617d2=![];_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]&&(_0x5617d2=!![],process[_0x407053(0x1d8)][_0x407053(0x1d2)]=_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]);_0x477bec[_0x407053(0x1fd)][_0x407053(0x252)]&&(process['env'][_0x407053(0x257)]=JSON[_0x407053(0x207)](_0x477bec[_0x407053(0x1fd)]['accessibilityOptions']));const _0x455ed3=_0x2b8688[_0x407053(0x1ef)](),_0x3bd7c6=await _0x1db360[_0x407053(0x248)](getUserPlaywrightConfig,_0x1b4422,_0x2b8688);if(helper[_0x407053(0x1db)](_0x3bd7c6)){_0x1db360['JagJR'](spawnOriginalProcess,_0x455ed3);return;}const _0xaf3a6d=_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6['path']):process[_0x407053(0x1b7)]();process[_0x407053(0x1d8)]['BROWSERSTACK_PW_CONFIG_DIR']=_0xaf3a6d,await TestHubHandler[_0x407053(0x22b)](FRAMEWORKS[_0x407053(0x1ca)],_0x477bec);_0x1e3701&&_0x1db360[_0x407053(0x211)](handleO11yRerun,_0x2b8688);let _0x35b81c=_0x1db360['MStTc'](process[_0x407053(0x1d8)][_0x407053(0x1d2)],_0x1db360[_0x407053(0x24a)]);_0x35b81c=_0x35b81c||_0x1db360[_0x407053(0x1ee)](checkAccessibilityPlatformConfig,_0x477bec['config']),process['env'][_0x407053(0x1d2)]=_0x35b81c;_0x35b81c&&_0x1db360[_0x407053(0x1e9)](setAccessibilityCapabilities,_0x477bec[_0x407053(0x1fd)]);const _0x13533c=path['join'](_0x3bd7c6['path']?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x1db360[_0x407053(0x24c)]);fs[_0x407053(0x1b9)](_0x13533c,helper[_0x407053(0x201)](_0x477bec[_0x407053(0x1fd)])),process[_0x407053(0x1d8)][_0x407053(0x258)]=_0x13533c,helper[_0x407053(0x213)]();let _0x14969a='';_0x1db360[_0x407053(0x1df)](helper[_0x407053(0x21a)](),constants[_0x407053(0x1ce)]['MODULE'])?_0x14969a=_0x1db360[_0x407053(0x244)]:_0x14969a=_0x1db360[_0x407053(0x21b)];let _0x41181a='';if(helper[_0x407053(0x206)](_0x3bd7c6[_0x407053(0x1bd)])){_0x41181a=_0x407053(0x1e3);const _0x582866=_0x14969a[_0x407053(0x245)]('.');_0x582866[_0x1db360[_0x407053(0x1da)](_0x582866[_0x407053(0x1d5)],0x1)]='ts',_0x14969a=_0x582866[_0x407053(0x1fe)]('.'),logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x23b)](_0x1db360[_0x407053(0x1fc)],_0x14969a));}else _0x41181a=_0x407053(0x1c7);const _0x3350f0=path[_0x407053(0x1fe)](_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x14969a);let _0x467275=_0x3bd7c6['path']?_0x3bd7c6[_0x407053(0x1bd)]:'';_0x467275=_0x1db360['HlGfA'](_0x467275[_0x407053(0x1d5)],0x0)?path[_0x407053(0x1c3)](_0x467275):'',process[_0x407053(0x1d8)][_0x407053(0x23c)]=_0x467275;const _0x3eacfa=helper['getProxyUrl'](_0x477bec[_0x407053(0x1fd)]);_0x3eacfa&&(_0x41181a=_0x1db360[_0x407053(0x1d9)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x3eacfa+_0x407053(0x1f4),_0x41181a));helper[_0x407053(0x1f8)]({},_0x2b8688),fs[_0x407053(0x1b9)](_0x3350f0,_0x41181a),helper[_0x407053(0x1e6)]();const _0xfffa3b=_0x1db360[_0x407053(0x209)](spawn,_0x1db360[_0x407053(0x1f6)],[_0x1db360['OGzgh'],_0x1db360['qRNrM'],_0x1db360[_0x407053(0x20c)],_0x3350f0,..._0x2b8688[_0x407053(0x234)](0x2)],{'shell':_0x1db360[_0x407053(0x1df)](process[_0x407053(0x228)],_0x1db360[_0x407053(0x253)]),'stdio':_0x1db360[_0x407053(0x1dd)],'cwd':process[_0x407053(0x1b7)](),'env':Object[_0x407053(0x229)]({},process[_0x407053(0x1d8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x407053(0x21f)](_0x1b4422),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x477bec['config']['testContextOptions'][_0x407053(0x1c1)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x477bec[_0x407053(0x1fd)][_0x407053(0x226)][_0x407053(0x1bb)],'BROWSERSTACK_LOG_LEVEL':_0x477bec['config']['logLevel']})}),_0x4e7e6b=()=>{const _0x4f7a61=_0x407053;try{const _0x4afc4d=path['join'](helper[_0x4f7a61(0x20d)](),_0x1db360[_0x4f7a61(0x242)],_0x1db360['PpOKP']);if(fs[_0x4f7a61(0x223)](_0x4afc4d)){let _0x53e93a=fs[_0x4f7a61(0x22c)](_0x4afc4d);_0x53e93a=JSON[_0x4f7a61(0x212)](_0x53e93a),_0x477bec[_0x4f7a61(0x1e8)]=_0x53e93a,fs[_0x4f7a61(0x23f)](_0x4afc4d);}}catch(_0x163fd5){logger['debug'](_0x1db360['wZvNH'](_0x1db360[_0x4f7a61(0x1e7)],_0x163fd5));}};_0xfffa3b['on'](_0x1db360[_0x407053(0x1fa)],async _0xf6f5c4=>{const _0x446d78=_0x407053;try{const _0x2fd277=_0x1db360[_0x446d78(0x1ba)][_0x446d78(0x245)]('|');let _0x4d8e85=0x0;while(!![]){switch(_0x2fd277[_0x4d8e85++]){case'0':fs['unlinkSync'](_0x3350f0);continue;case'1':logger[_0x446d78(0x1be)](_0x446d78(0x21c)+_0x13533c);continue;case'2':logger[_0x446d78(0x241)](_0x446d78(0x21c)+_0x3350f0);continue;case'3':await TestHubHandler[_0x446d78(0x239)]();continue;case'4':_0x1db360['QaXIx'](_0x4e7e6b);continue;case'5':await utilities[_0x446d78(0x210)](_0x477bec);continue;case'6':fs[_0x446d78(0x23f)](_0x13533c);continue;case'7':process['exitCode']=_0xf6f5c4;continue;case'8':logger[_0x446d78(0x1be)](_0x446d78(0x251)+_0xf6f5c4);continue;}break;}}catch(_0x3294e6){logger[_0x446d78(0x1be)](_0x1db360[_0x446d78(0x1c6)](_0x1db360[_0x446d78(0x1e5)],_0x3294e6));}});}module[a35_0x1cdbd7(0x1e1)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a36_0x451d86=a36_0x1fa4;(function(_0x2f3112,_0x252ea4){const _0x4ed6f7=a36_0x1fa4,_0x358a39=_0x2f3112();while(!![]){try{const _0x3b3155=-parseInt(_0x4ed6f7(0xd9))/0x1*(parseInt(_0x4ed6f7(0xd5))/0x2)+-parseInt(_0x4ed6f7(0xdb))/0x3+-parseInt(_0x4ed6f7(0xb6))/0x4*(-parseInt(_0x4ed6f7(0xc0))/0x5)+-parseInt(_0x4ed6f7(0xc1))/0x6+parseInt(_0x4ed6f7(0xd3))/0x7*(-parseInt(_0x4ed6f7(0xda))/0x8)+-parseInt(_0x4ed6f7(0xd6))/0x9+parseInt(_0x4ed6f7(0xd2))/0xa;if(_0x3b3155===_0x252ea4)break;else _0x358a39['push'](_0x358a39['shift']());}catch(_0x2b2c6b){_0x358a39['push'](_0x358a39['shift']());}}}(a36_0x420d,0x5a2dd));function a36_0x1fa4(_0x15d493,_0x411f8a){const _0x420d8c=a36_0x420d();return a36_0x1fa4=function(_0x1fa4ff,_0x1261d0){_0x1fa4ff=_0x1fa4ff-0xad;let _0x49819e=_0x420d8c[_0x1fa4ff];return _0x49819e;},a36_0x1fa4(_0x15d493,_0x411f8a);}const util=require(a36_0x451d86(0xbb)),child_process=require('child_process'),{FRAMEWORKS}=require(a36_0x451d86(0xad)),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x451d86(0xbc)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x451d86(0xbd)),logger=require('../../helpers/logger')[a36_0x451d86(0xcc)];module[a36_0x451d86(0xc3)]=async function(_0x302bcb){const _0xfd659b=a36_0x451d86,_0x31d82c={'IiLla':function(_0x2c6441,_0xc69b5f){return _0x2c6441(_0xc69b5f);},'rBVVr':function(_0x380ba5){return _0x380ba5();},'PoBVl':'./mock-process.js','FdkFB':function(_0x564de8){return _0x564de8();},'yuGwf':function(_0xc93d7b,_0x3a99b2){return _0xc93d7b(_0x3a99b2);},'AZlvU':_0xfd659b(0xc9),'ddvjs':function(_0x187254,_0x3d4386){return _0x187254>=_0x3d4386;},'oZaPA':_0xfd659b(0xb4),'OAQiy':function(_0x8706e0,_0x1a0abc,_0x7b60ad){return _0x8706e0(_0x1a0abc,_0x7b60ad);},'wZoAz':function(_0x432f7b,_0x118c40){return _0x432f7b!==_0x118c40;},'StYQW':_0xfd659b(0xb0),'bDMgk':_0xfd659b(0xb5),'FlcGs':function(_0x5ef2cd,_0x31f315){return _0x5ef2cd(_0x31f315);}},_0x578d20=child_process[_0xfd659b(0xc4)];if(helper['isHandlePWErrorSet']())try{_0x31d82c[_0xfd659b(0xc7)](mockIsWorkerRedundant);}catch(_0x1fa17f){logger[_0xfd659b(0xb8)](_0xfd659b(0xd8)+util[_0xfd659b(0xb3)](_0x1fa17f));}child_process[_0xfd659b(0xc4)]=function(){const _0x25cda1=_0xfd659b;return _0x31d82c[_0x25cda1(0xb2)](debug,'Call\x20to\x20child\x20fork\x20with\x20args\x20'+arguments[0x0]),arguments[0x0][_0x25cda1(0xcd)](_0x31d82c['rBVVr'](getForkProcessPath))?arguments[0x0]=require['resolve'](_0x31d82c[_0x25cda1(0xcb)]):logger[_0x25cda1(0xae)](_0x25cda1(0xc8)+_0x31d82c['rBVVr'](getForkProcessPath)+_0x25cda1(0xaf)),_0x578d20[_0x25cda1(0xc2)](null,arguments);};if(process[_0xfd659b(0xca)]['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x31d82c[_0xfd659b(0xcf)](debug,_0x31d82c['AZlvU']);try{const {loadGlobalHook:_0x21898c}=helper[_0xfd659b(0xbf)][_0xfd659b(0xc2)](null,_0x31d82c[_0xfd659b(0xc6)](getLoadUtilsPath)),_0x5dedb7=_0x31d82c[_0xfd659b(0xb2)](getFrameworkVersion,FRAMEWORKS[_0xfd659b(0xba)]);let _0x6e7124=_0x302bcb;if(_0x31d82c[_0xfd659b(0xd0)](helper[_0xfd659b(0xd4)](_0x5dedb7,_0x31d82c[_0xfd659b(0xbe)]),0x0)){const _0x357843={};_0x357843[_0xfd659b(0xd1)]=_0x302bcb,_0x6e7124=_0x357843;}const _0x12e4e5=await _0x31d82c[_0xfd659b(0xb9)](_0x21898c,_0x6e7124,process['env'][_0xfd659b(0xd7)]);if(_0x31d82c[_0xfd659b(0xc5)](typeof _0x12e4e5,_0x31d82c['StYQW']))throw new Error(_0x31d82c[_0xfd659b(0xb1)]);return _0x12e4e5[_0xfd659b(0xc2)](null,arguments);}catch(_0x4dd247){_0x31d82c['FlcGs'](debug,_0xfd659b(0xb7)+_0x4dd247[_0xfd659b(0xce)]());}}};function a36_0x420d(){const _0x4de8d9=['winstonLogger','includes','toString','yuGwf','ddvjs','config','21358880NYUtAx','21WNFKLV','compareVersions','15412pjbFHA','1080747ymgVZM','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','91xpWuIb','966472QJoqlW','1354836VksHfB','../../helpers/test-observability/constants','error','\x20is\x20not\x20found','function','bDMgk','IiLla','format','1.33.0','Not\x20able\x20to\x20import\x20globalSetup','4bQBqNd','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','debug','OAQiy','PLAYWRIGHT','util','../../helpers/helper','./patches','oZaPA','requirePWModule','762275FTmtvR','1701612VYSnSP','apply','exports','fork','wZoAz','rBVVr','FdkFB','Path\x20','Running\x20existing\x20global\x20setup','env','PoBVl'];a36_0x420d=function(){return _0x4de8d9;};return a36_0x420d();}
|