browserstack-node-sdk 1.34.30 → 1.34.32
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/templates/nginx/pods-and-services.yaml +6 -0
- 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 +60 -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/constants.js +1 -0
- package/src/helpers/performance/performance-tester.js +1 -0
- package/src/helpers/processHelper.js +1 -0
- 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
- package/src/helpers/performance-tester.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a29_0x5dfa0c=a29_0x323f;(function(_0x4ef917,_0xdd47cc){const _0x23b63e=a29_0x323f,_0x5d584d=_0x4ef917();while(!![]){try{const _0x4bbfb9=-parseInt(_0x23b63e(0x1dc))/0x1+-parseInt(_0x23b63e(0x1d9))/0x2*(parseInt(_0x23b63e(0x1a7))/0x3)+parseInt(_0x23b63e(0x1b3))/0x4+-parseInt(_0x23b63e(0x17c))/0x5+parseInt(_0x23b63e(0x177))/0x6+-parseInt(_0x23b63e(0x176))/0x7+parseInt(_0x23b63e(0x18b))/0x8;if(_0x4bbfb9===_0xdd47cc)break;else _0x5d584d['push'](_0x5d584d['shift']());}catch(_0x1ef703){_0x5d584d['push'](_0x5d584d['shift']());}}}(a29_0x40ec,0xcfcac));function a29_0x323f(_0x539732,_0x5d6b9d){const _0x40eca9=a29_0x40ec();return a29_0x323f=function(_0x323fce,_0xdc2e30){_0x323fce=_0x323fce-0x174;let _0x6d328e=_0x40eca9[_0x323fce];return _0x6d328e;},a29_0x323f(_0x539732,_0x5d6b9d);}const logger=require(a29_0x5dfa0c(0x1a4))[a29_0x5dfa0c(0x1c8)],helper=require(a29_0x5dfa0c(0x188)),constants=require(a29_0x5dfa0c(0x1cf)),hubAllocator=require(a29_0x5dfa0c(0x189)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x5dfa0c(0x1e3)),{setAccessibilityCapabilities,setExtension}=require('../accessibility-automation/helper'),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5dfa0c(0x19e)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x5dfa0c(0x1a0)),modify=(_0x150948,_0x545a7e=null,_0x5bcf51=![])=>{const _0x296e9b=a29_0x5dfa0c,_0x258b1f={'mETIt':function(_0x3f35ce,_0x3d50ec){return _0x3f35ce!==_0x3d50ec;},'EBacR':_0x296e9b(0x18c),'Lkilr':function(_0x20ece0,_0x25e755){return _0x20ece0+_0x25e755;},'JyMRc':function(_0x4d1ce2,_0x1b25ea){return _0x4d1ce2+_0x1b25ea;},'FCOMf':_0x296e9b(0x1c6),'qvFBs':'/wd/hub','Bwcaz':_0x296e9b(0x17d),'iNyND':'chromeOptions','doMqE':_0x296e9b(0x1b9),'KfZWD':'edgeOptions','pEzFq':'moz:firefoxOptions','BxoHZ':_0x296e9b(0x1a9),'OTucM':_0x296e9b(0x184),'ZsDoQ':_0x296e9b(0x194),'yzsxV':_0x296e9b(0x1d0),'jVOfe':function(_0x391f80,_0x403589){return _0x391f80===_0x403589;},'cxsdv':_0x296e9b(0x1d8),'ZWZJi':_0x296e9b(0x1da),'fuQjv':function(_0x30a78b,_0x207643,_0x3088c9){return _0x30a78b(_0x207643,_0x3088c9);},'XYper':function(_0x14426d,_0x391f61){return _0x14426d(_0x391f61);},'ldJVd':function(_0xfa5957,_0x5dd7a2,_0x5ce012){return _0xfa5957(_0x5dd7a2,_0x5ce012);},'bCGJy':'optimalHubUrl','BNOTW':_0x296e9b(0x183),'yNgiX':function(_0x319db1,_0x147a68,_0x3d7cd3){return _0x319db1(_0x147a68,_0x3d7cd3);},'TieIs':_0x296e9b(0x19d),'YnQmy':_0x296e9b(0x18a),'FSXQD':'isAccessibilityPlatform','dBJJg':function(_0x427184){return _0x427184();},'bagzE':function(_0xbe4695,_0x36aa25){return _0xbe4695(_0x36aa25);},'DFfZW':function(_0x53d07b,_0x47f91f){return _0x53d07b(_0x47f91f);},'cQchN':function(_0x113af0,_0x173512,_0x1d978b){return _0x113af0(_0x173512,_0x1d978b);},'aAUqB':function(_0x3fc3d7,_0x1ed08b){return _0x3fc3d7!==_0x1ed08b;},'KiZGJ':function(_0xf0be38,_0x19d88a){return _0xf0be38!==_0x19d88a;},'JQGxa':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','JxTpf':_0x296e9b(0x1df)},_0x52b726=helper[_0x296e9b(0x19f)]();let _0xfb2818;try{_0xfb2818=helper[_0x296e9b(0x1c0)](),_0xfb2818[_0x296e9b(0x1b8)]&&(_0xfb2818[_0x296e9b(0x1e4)]=_0xfb2818[_0x296e9b(0x1b8)]);}catch(_0x2aeac3){return;}if(helper[_0x296e9b(0x1b4)]()){const _0x4bbaac={};_0x4bbaac[_0x296e9b(0x1d4)]=_0x150948[_0x296e9b(0x195)],helper[_0x296e9b(0x1d2)](_0x4bbaac,new Map(),new Map()),logger[_0x296e9b(0x1c9)](_0x258b1f['JQGxa']),logger[_0x296e9b(0x175)](_0x258b1f[_0x296e9b(0x178)]);}class _0xe88f7c extends _0x52b726[_0x296e9b(0x1d6)]{[_0x296e9b(0x192)](_0x5b617d){const _0x4a8c20=_0x296e9b;if(_0x258b1f['mETIt'](_0x5b617d[_0x4a8c20(0x1de)],_0x258b1f[_0x4a8c20(0x1bf)])&&_0x258b1f[_0x4a8c20(0x17b)](global[_0x4a8c20(0x1c7)],''))try{global[_0x4a8c20(0x1c7)]=_0x258b1f['Lkilr'](_0x258b1f[_0x4a8c20(0x1bb)](_0x258b1f[_0x4a8c20(0x1c4)],global['newHubUrl']),_0x258b1f[_0x4a8c20(0x1e5)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x4a8c20(0x1c7)]),logger['debug']('New\x20hub\x20url\x20set\x20to\x20'+global[_0x4a8c20(0x1c7)]),global['newHubUrl']='';}catch(_0x190763){logger[_0x4a8c20(0x191)](_0x190763);}return super[_0x4a8c20(0x192)](_0x5b617d);}}class _0x15fc10 extends _0xfb2818[_0x296e9b(0x1e4)]{['setServer'](){const _0x14f1f8=_0x296e9b;return this['url_']=helper[_0x14f1f8(0x196)](_0x150948),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x14f1f8(0x1bd)]),this;}[_0x296e9b(0x1ea)](_0x1c96ff){const _0xe5762b=_0x296e9b;let _0x492a9e={};for(const _0x2df6f9 in _0x1c96ff){switch(_0x2df6f9){case _0x258b1f['Bwcaz']:case _0x258b1f[_0xe5762b(0x17e)]:this[_0xe5762b(0x1a2)]&&(_0x492a9e=this[_0xe5762b(0x1a2)][_0xe5762b(0x1db)](this[_0xe5762b(0x1a2)][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x1a2)][_0xe5762b(0x1b0)](this[_0xe5762b(0x1a2)][_0xe5762b(0x18d)],helper[_0xe5762b(0x1d7)](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f['doMqE']:case _0x258b1f[_0xe5762b(0x19b)]:this['edgeOptions_']&&(_0x492a9e=this[_0xe5762b(0x1e6)][_0xe5762b(0x1db)](this[_0xe5762b(0x1e6)]['CAPABILITY_KEY'])||{},this['edgeOptions_'][_0xe5762b(0x1b0)](this[_0xe5762b(0x1e6)][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x1d1)]:case _0x258b1f[_0xe5762b(0x1ce)]:this['firefoxOptions_']&&(_0x492a9e=this[_0xe5762b(0x1c1)][_0xe5762b(0x1db)](this['firefoxOptions_'][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x1c1)]['set'](this['firefoxOptions_'][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x1dd)]:this['safariOptions_']&&(_0x492a9e=this[_0xe5762b(0x17a)][_0xe5762b(0x1db)](this[_0xe5762b(0x17a)][_0xe5762b(0x18d)])||{},this['safariOptions_'][_0xe5762b(0x1b0)](this[_0xe5762b(0x17a)][_0xe5762b(0x18d)],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;case _0x258b1f[_0xe5762b(0x186)]:case _0x258b1f[_0xe5762b(0x1cb)]:this['ieOptions_']&&(_0x492a9e=this[_0xe5762b(0x185)]['get'](this['ieOptions_'][_0xe5762b(0x18d)])||{},this[_0xe5762b(0x185)][_0xe5762b(0x1b0)](this[_0xe5762b(0x185)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x492a9e,_0x1c96ff[_0x2df6f9])));break;}}}[_0x296e9b(0x1e2)](){const _0x57c4a9=_0x296e9b,_0x38dcb2={'YmeEk':function(_0x365827,_0x44fcf6){const _0x2117fd=a29_0x323f;return _0x258b1f[_0x2117fd(0x1a5)](_0x365827,_0x44fcf6);},'bWsou':_0x258b1f[_0x57c4a9(0x19c)]};return logger[_0x57c4a9(0x175)](_0x258b1f[_0x57c4a9(0x1a6)]),this[_0x57c4a9(0x1ea)](_0x150948[_0x57c4a9(0x1ae)]),Object['keys'](_0x150948['capability'])[_0x57c4a9(0x199)](_0x28dd65=>{const _0x208f5f=_0x57c4a9,_0x6706e3=this[_0x208f5f(0x1a3)][_0x208f5f(0x1db)](_0x28dd65);_0x38dcb2[_0x208f5f(0x1e9)](typeof _0x6706e3,_0x38dcb2[_0x208f5f(0x1e8)])?this['capabilities_'][_0x208f5f(0x1b0)](_0x28dd65,helper['mergeDeep'](_0x6706e3,_0x150948[_0x208f5f(0x1ae)][_0x28dd65])):this['capabilities_'][_0x208f5f(0x1b0)](_0x28dd65,_0x150948[_0x208f5f(0x1ae)][_0x28dd65]);}),this;}['build'](){const _0x131773=_0x296e9b,_0x52800b={'TQMRI':_0x258b1f[_0x131773(0x1cd)],'NYmyG':_0x258b1f[_0x131773(0x180)],'fwxSe':function(_0x58037b,_0x28a06c,_0x25397a){const _0x5e106c=_0x131773;return _0x258b1f[_0x5e106c(0x179)](_0x58037b,_0x28a06c,_0x25397a);}};if(helper[_0x131773(0x1b4)]()){const _0x196872=_0x258b1f[_0x131773(0x1a1)]['split']('|');let _0x8139e1=0x0;while(!![]){switch(_0x196872[_0x8139e1++]){case'0':this['setCapabilities']();continue;case'1':logger[_0x131773(0x175)](_0x258b1f[_0x131773(0x1c5)]);continue;case'2':if(helper['isPacProxy'](_0x150948['proxySettings'][_0x131773(0x1e7)]))this[_0x131773(0x198)]=helper[_0x131773(0x1ba)](_0x150948['proxySettings'][_0x131773(0x1e7)]);else _0x150948['proxySettings'][_0x131773(0x1e7)]&&(this[_0x131773(0x1aa)]=_0x150948['proxySettings'][_0x131773(0x1e7)],logger[_0x131773(0x175)](_0x131773(0x18f)+this[_0x131773(0x1aa)]));continue;case'3':globals[_0x131773(0x187)](_0x258b1f[_0x131773(0x1be)])&&(!_0x258b1f[_0x131773(0x179)](setExtension,this,_0x150948)&&globals[_0x131773(0x1b1)](_0x258b1f[_0x131773(0x1be)],![]));continue;case'4':this['setServer']();continue;case'5':_0x258b1f[_0x131773(0x193)](isAccessibilityAutomationSession)&&_0x258b1f['XYper'](setAccessibilityCapabilities,_0x150948);continue;}break;}}const _0x1cda15=super[_0x131773(0x19a)]();return _0x1cda15[_0x131773(0x1c2)]['then'](_0x2a7847=>{const _0x238a9f=_0x131773;try{const _0x211e20=_0x2a7847['caps_'][_0x238a9f(0x1db)](_0x52800b[_0x238a9f(0x174)]);_0x211e20?(logger[_0x238a9f(0x175)]('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x211e20),hubAllocator['updateHubUrl'](_0x211e20),helper[_0x238a9f(0x1e0)](_0x211e20)):logger[_0x238a9f(0x175)](_0x52800b['NYmyG']);}catch(_0x5cfbdc){logger[_0x238a9f(0x175)](_0x238a9f(0x18e)+_0x5cfbdc);}}),_0x1cda15[_0x131773(0x181)]=0x0,_0x1cda15['then']&&_0x1cda15[_0x131773(0x17f)](_0x5c31a6=>{const _0x34c02d=_0x131773,_0x45bcd8={'lEAna':function(_0x184af3,_0x3f43b1,_0xb6de12){const _0xb3f42=a29_0x323f;return _0x258b1f[_0xb3f42(0x1b6)](_0x184af3,_0x3f43b1,_0xb6de12);}};_0x258b1f[_0x34c02d(0x1b6)](overrideQuit,_0x5c31a6,_0x1cda15),_0x258b1f[_0x34c02d(0x1d5)](overrideTakeScreenshot,_0x5c31a6),helper[_0x34c02d(0x1cc)](_0x5c31a6,_0x150948),_0x258b1f[_0x34c02d(0x1b6)](overrideExecute,_0x5c31a6,_0x150948),_0x5c31a6[_0x34c02d(0x1ca)]=async()=>{return await _0x52800b['fwxSe'](getAccessibilityResultsSummary,_0x5c31a6,global);},_0x5c31a6[_0x34c02d(0x1ab)]=async()=>{const _0x1a340e=_0x34c02d;return await _0x45bcd8[_0x1a340e(0x1c3)](getAccessibilityResults,_0x5c31a6,global);};}),_0x1cda15['getAccessibilityResultsSummary']=async()=>{return await _0x52800b['fwxSe'](getAccessibilityResultsSummary,_0x1cda15,global);},_0x1cda15['getAccessibilityResults']=async()=>{const _0x4b54ef=_0x131773;return await _0x258b1f[_0x4b54ef(0x1d3)](getAccessibilityResults,_0x1cda15,global);},_0x258b1f[_0x131773(0x1ad)](overrideTakeScreenshot,_0x1cda15),_0x258b1f[_0x131773(0x1b5)](overrideQuit,_0x1cda15),helper[_0x131773(0x1cc)](_0x1cda15,_0x150948),_0x258b1f[_0x131773(0x1a8)](overrideExecute,_0x1cda15,_0x150948),helper['isUndefined'](global[_0x131773(0x1bc)])&&(global[_0x131773(0x1bc)]=[]),helper[_0x131773(0x1b2)](global[_0x131773(0x182)])&&(global[_0x131773(0x182)]=[]),global[_0x131773(0x1bc)][_0x131773(0x1b7)](_0x1cda15),global[_0x131773(0x1e1)]=_0x1cda15,_0x258b1f['aAUqB'](global[_0x131773(0x182)],undefined)&&global[_0x131773(0x182)]['push'](_0x1cda15),_0x545a7e&&helper[_0x131773(0x1b2)](_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)])&&(_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)]=[]),_0x545a7e&&_0x258b1f[_0x131773(0x1ac)](_0x545a7e[_0x131773(0x190)][_0x131773(0x182)],undefined)&&(_0x545a7e['global'][_0x131773(0x182)][_0x131773(0x1b7)](_0x1cda15),_0x545a7e[_0x131773(0x190)][_0x131773(0x1bc)][_0x131773(0x1b7)](_0x1cda15)),_0x1cda15;}}return _0xfb2818[_0x296e9b(0x1b8)]=_0xfb2818[_0x296e9b(0x1e4)],_0xfb2818[_0x296e9b(0x1e4)]=_0x15fc10,_0x52b726[_0x296e9b(0x1d6)]=_0xe88f7c,_0xfb2818;};function a29_0x40ec(){const _0x2946f6=['BNOTW','quitCount_','__drivers','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','safari.options','ieOptions_','ZsDoQ','getGlobal','../../../helpers/helper','../../../hubAllocationMethods','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','14974304CEasSK','/session','CAPABILITY_KEY','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','Proxy\x20set\x20to\x20','global','error','send','dBJJg','se:ieOptions','browserStackLogLevel','getHubUrl','exports','agent_','forEach','build','KfZWD','cxsdv','5|4|0|2|3|1','../../../helpers/accessibility-automation/helper','requireHttpClient','./helpers/patchHelper','TieIs','chromeOptions_','capabilities_','../../../helpers/logger','jVOfe','ZWZJi','11343UVWRxo','cQchN','firefoxOptions','proxy_','getAccessibilityResults','KiZGJ','bagzE','capability','browserstackAgentObservability','set','setGlobal','isUndefined','2677280aLOBwD','isBrowserstackInfra','DFfZW','fuQjv','push','originalBuilder','ms:edgeOptions','getHttpAgent','JyMRc','__driversArray','url_','FSXQD','EBacR','requireSeleniumWebdriver','firefoxOptions_','session_','lEAna','FCOMf','YnQmy','https://','newHubUrl','winstonLogger','info','getAccessibilityResultsSummary','yzsxV','overrideGet','bCGJy','BxoHZ','../../../bin/utils/constants','ieOptions','pEzFq','setLogLevel','ldJVd','logLevel','XYper','HttpClient','mergeDeep','object','308voKeBt','Setting\x20Browserstack\x20capabilities','get','176393EyPFLl','OTucM','path','Modifying\x20webdriver\x20builder','storeOptimalHubUrl','__driver','setCapabilities','../../../helpers/patchHelpers','Builder','qvFBs','edgeOptions_','proxyUrl','bWsou','YmeEk','__setBrowserOptions','TQMRI','debug','7781165OfISSn','5226870kyMUIg','JxTpf','yNgiX','safariOptions_','mETIt','3454375bvctqp','goog:chromeOptions','iNyND','then'];a29_0x40ec=function(){return _0x2946f6;};return a29_0x40ec();}module[a29_0x5dfa0c(0x197)][a29_0x5dfa0c(0x1af)]=modify;
|
|
1
|
+
const a29_0x5a00b6=a29_0x5ba7;(function(_0x1a4125,_0x51b907){const _0x41ae7c=a29_0x5ba7,_0x55c3a9=_0x1a4125();while(!![]){try{const _0x59b961=-parseInt(_0x41ae7c(0x190))/0x1*(parseInt(_0x41ae7c(0x1a2))/0x2)+-parseInt(_0x41ae7c(0x15f))/0x3+parseInt(_0x41ae7c(0x184))/0x4+-parseInt(_0x41ae7c(0x17c))/0x5*(parseInt(_0x41ae7c(0x1a1))/0x6)+-parseInt(_0x41ae7c(0x1c0))/0x7+parseInt(_0x41ae7c(0x16e))/0x8+parseInt(_0x41ae7c(0x17f))/0x9;if(_0x59b961===_0x51b907)break;else _0x55c3a9['push'](_0x55c3a9['shift']());}catch(_0x5ca91b){_0x55c3a9['push'](_0x55c3a9['shift']());}}}(a29_0x49bd,0xd8665));function a29_0x5ba7(_0x5d713a,_0x33b6a5){const _0x49bd56=a29_0x49bd();return a29_0x5ba7=function(_0x5ba767,_0x595f14){_0x5ba767=_0x5ba767-0x15d;let _0x4b844d=_0x49bd56[_0x5ba767];return _0x4b844d;},a29_0x5ba7(_0x5d713a,_0x33b6a5);}const logger=require(a29_0x5a00b6(0x187))[a29_0x5a00b6(0x1b7)],helper=require(a29_0x5a00b6(0x1d3)),constants=require('../../../bin/utils/constants'),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require('../../../helpers/patchHelpers'),{setAccessibilityCapabilities,setExtension}=require(a29_0x5a00b6(0x1ae)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x5a00b6(0x1bb)),globals=require(a29_0x5a00b6(0x1a8)),{overrideExecute}=require(a29_0x5a00b6(0x18d)),modify=(_0xa1bc1a,_0x336a3e=null,_0x216e60=![])=>{const _0x23ba7a=a29_0x5a00b6,_0x14791b={'Znshf':function(_0x19fa48,_0x656e01){return _0x19fa48!==_0x656e01;},'gtRtA':_0x23ba7a(0x174),'fJZJl':function(_0x3b5435,_0x1f3182){return _0x3b5435+_0x1f3182;},'xbpEF':function(_0x462c37,_0x203b97){return _0x462c37+_0x203b97;},'emvyA':'https://','GkzFl':_0x23ba7a(0x1cc),'inlkM':'goog:chromeOptions','zRQBU':_0x23ba7a(0x1b6),'cIiaC':_0x23ba7a(0x1d6),'VQpvF':_0x23ba7a(0x168),'MIVPX':_0x23ba7a(0x1a5),'sERqL':_0x23ba7a(0x182),'MPdNX':_0x23ba7a(0x178),'GStRn':'se:ieOptions','sOLcs':_0x23ba7a(0x1c2),'xQmFI':function(_0x386272,_0x1abf4a){return _0x386272===_0x1abf4a;},'wMxjv':_0x23ba7a(0x179),'kkZUD':'Setting\x20Browserstack\x20capabilities','Txmtk':_0x23ba7a(0x175),'Ukghn':_0x23ba7a(0x17b),'uVQEy':function(_0xab2fc1,_0x1fec80,_0x13136a){return _0xab2fc1(_0x1fec80,_0x13136a);},'mKeKL':function(_0x4f0468,_0x562c34){return _0x4f0468(_0x562c34);},'lMZRI':function(_0x48f0a1,_0x52dea4,_0x11c116){return _0x48f0a1(_0x52dea4,_0x11c116);},'eNEaW':_0x23ba7a(0x1cf),'BTTiy':function(_0x5f4f56){return _0x5f4f56();},'LslNo':_0x23ba7a(0x1b0),'jCRoC':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','baiLx':function(_0x16a676,_0x4d2f3f){return _0x16a676(_0x4d2f3f);},'bDbfq':_0x23ba7a(0x167),'roeRv':_0x23ba7a(0x1b3)},_0x99c78a=helper[_0x23ba7a(0x181)]();let _0x2dcd4c;try{_0x2dcd4c=helper[_0x23ba7a(0x196)](),_0x2dcd4c[_0x23ba7a(0x1af)]&&(_0x2dcd4c[_0x23ba7a(0x19f)]=_0x2dcd4c[_0x23ba7a(0x1af)]);}catch(_0x31f288){return;}if(helper[_0x23ba7a(0x169)]()){const _0x3e664f={};_0x3e664f[_0x23ba7a(0x1a7)]=_0xa1bc1a[_0x23ba7a(0x1ce)],helper[_0x23ba7a(0x16a)](_0x3e664f,new Map(),new Map()),logger[_0x23ba7a(0x177)](_0x14791b[_0x23ba7a(0x1b8)]),logger[_0x23ba7a(0x192)](_0x14791b[_0x23ba7a(0x19c)]);}class _0x52e0e8 extends _0x99c78a[_0x23ba7a(0x162)]{[_0x23ba7a(0x1a3)](_0x163bc8){const _0x3b0374=_0x23ba7a;if(_0x14791b['Znshf'](_0x163bc8[_0x3b0374(0x16c)],_0x14791b[_0x3b0374(0x19d)])&&_0x14791b['Znshf'](global['newHubUrl'],''))try{global['newHubUrl']=_0x14791b[_0x3b0374(0x1b2)](_0x14791b[_0x3b0374(0x1ad)](_0x14791b[_0x3b0374(0x19b)],global[_0x3b0374(0x1c3)]),_0x14791b[_0x3b0374(0x1c5)]),this[_0x3b0374(0x1a9)]=hubAllocator[_0x3b0374(0x171)](global['newHubUrl']),logger[_0x3b0374(0x192)](_0x3b0374(0x1d0)+global[_0x3b0374(0x1c3)]),global[_0x3b0374(0x1c3)]='';}catch(_0x43d3bb){logger['error'](_0x43d3bb);}return super[_0x3b0374(0x1a3)](_0x163bc8);}}class _0x21ea1b extends _0x2dcd4c['Builder']{['setServer'](){const _0x568334=_0x23ba7a;return this[_0x568334(0x1c6)]=helper['getHubUrl'](_0xa1bc1a),logger[_0x568334(0x192)]('Hub\x20url\x20set\x20to\x20'+this[_0x568334(0x1c6)]),this;}[_0x23ba7a(0x180)](_0x5211c8){const _0x225d5f=_0x23ba7a;let _0x2ac534={};for(const _0x86ee0b in _0x5211c8){switch(_0x86ee0b){case _0x14791b[_0x225d5f(0x17e)]:case _0x14791b[_0x225d5f(0x16f)]:this[_0x225d5f(0x1d7)]&&(_0x2ac534=this[_0x225d5f(0x1d7)][_0x225d5f(0x199)](this[_0x225d5f(0x1d7)][_0x225d5f(0x18a)])||{},this[_0x225d5f(0x1d7)][_0x225d5f(0x186)](this[_0x225d5f(0x1d7)]['CAPABILITY_KEY'],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x1b4)]:case _0x14791b[_0x225d5f(0x19a)]:this[_0x225d5f(0x1a6)]&&(_0x2ac534=this[_0x225d5f(0x1a6)][_0x225d5f(0x199)](this[_0x225d5f(0x1a6)][_0x225d5f(0x18a)])||{},this['edgeOptions_'][_0x225d5f(0x186)](this['edgeOptions_'][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x160)]:case _0x14791b['sERqL']:this[_0x225d5f(0x172)]&&(_0x2ac534=this[_0x225d5f(0x172)][_0x225d5f(0x199)](this[_0x225d5f(0x172)][_0x225d5f(0x18a)])||{},this['firefoxOptions_'][_0x225d5f(0x186)](this['firefoxOptions_'][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x15e)]:this['safariOptions_']&&(_0x2ac534=this['safariOptions_'][_0x225d5f(0x199)](this[_0x225d5f(0x176)][_0x225d5f(0x18a)])||{},this[_0x225d5f(0x176)][_0x225d5f(0x186)](this[_0x225d5f(0x176)]['CAPABILITY_KEY'],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;case _0x14791b[_0x225d5f(0x15d)]:case _0x14791b[_0x225d5f(0x170)]:this[_0x225d5f(0x1ba)]&&(_0x2ac534=this[_0x225d5f(0x1ba)]['get'](this[_0x225d5f(0x1ba)]['CAPABILITY_KEY'])||{},this[_0x225d5f(0x1ba)][_0x225d5f(0x186)](this[_0x225d5f(0x1ba)][_0x225d5f(0x18a)],helper[_0x225d5f(0x1a4)](_0x2ac534,_0x5211c8[_0x86ee0b])));break;}}}[_0x23ba7a(0x173)](){const _0x29ecc7=_0x23ba7a,_0x17536c={'fASrb':function(_0x146224,_0x3017f5){return _0x14791b['xQmFI'](_0x146224,_0x3017f5);},'VbDUc':_0x14791b[_0x29ecc7(0x1ac)]};return logger[_0x29ecc7(0x192)](_0x14791b[_0x29ecc7(0x1bd)]),this['__setBrowserOptions'](_0xa1bc1a[_0x29ecc7(0x1ab)]),Object[_0x29ecc7(0x1bf)](_0xa1bc1a[_0x29ecc7(0x1ab)])[_0x29ecc7(0x1c9)](_0x3766f6=>{const _0x430650=_0x29ecc7,_0x21640f=this[_0x430650(0x1be)][_0x430650(0x199)](_0x3766f6);_0x17536c[_0x430650(0x1d1)](typeof _0x21640f,_0x17536c[_0x430650(0x161)])?this['capabilities_'][_0x430650(0x186)](_0x3766f6,helper[_0x430650(0x1a4)](_0x21640f,_0xa1bc1a['capability'][_0x3766f6])):this[_0x430650(0x1be)]['set'](_0x3766f6,_0xa1bc1a['capability'][_0x3766f6]);}),this;}[_0x23ba7a(0x1b9)](){const _0xbbe484=_0x23ba7a,_0x53ff21={'lULLl':_0x14791b['Txmtk'],'gSQjB':_0x14791b[_0xbbe484(0x17d)],'BQRgb':function(_0x21c9ce,_0x37002e,_0x4d6a71){const _0x46c1fc=_0xbbe484;return _0x14791b[_0x46c1fc(0x1c8)](_0x21c9ce,_0x37002e,_0x4d6a71);},'eTRWt':function(_0x180be0,_0x17a64f){const _0x1cf6fe=_0xbbe484;return _0x14791b[_0x1cf6fe(0x18b)](_0x180be0,_0x17a64f);},'NVYxn':function(_0x4dd18d,_0x222b04,_0x5ad83e){const _0x3d4446=_0xbbe484;return _0x14791b[_0x3d4446(0x16d)](_0x4dd18d,_0x222b04,_0x5ad83e);},'hAlxe':function(_0x1bffed,_0x262bad,_0x194237){const _0x23e064=_0xbbe484;return _0x14791b[_0x23e064(0x16d)](_0x1bffed,_0x262bad,_0x194237);}};if(helper['isBrowserstackInfra']()){const _0x27fd20=_0x14791b[_0xbbe484(0x193)][_0xbbe484(0x1d4)]('|');let _0x4eda9d=0x0;while(!![]){switch(_0x27fd20[_0x4eda9d++]){case'0':_0x14791b['BTTiy'](isAccessibilityAutomationSession)&&_0x14791b[_0xbbe484(0x18b)](setAccessibilityCapabilities,_0xa1bc1a);continue;case'1':this[_0xbbe484(0x191)]();continue;case'2':globals[_0xbbe484(0x197)](_0x14791b['LslNo'])&&(!_0x14791b['uVQEy'](setExtension,this,_0xa1bc1a)&&globals['setGlobal'](_0x14791b['LslNo'],![]));continue;case'3':if(helper[_0xbbe484(0x19e)](_0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)]))this['agent_']=helper[_0xbbe484(0x185)](_0xa1bc1a[_0xbbe484(0x17a)]['proxyUrl']);else _0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)]&&(this['proxy_']=_0xa1bc1a[_0xbbe484(0x17a)][_0xbbe484(0x164)],logger[_0xbbe484(0x192)](_0xbbe484(0x1c7)+this[_0xbbe484(0x18e)]));continue;case'4':logger['debug'](_0x14791b['jCRoC']);continue;case'5':this[_0xbbe484(0x173)]();continue;}break;}}const _0x23f0d6=super['build']();return _0x23f0d6[_0xbbe484(0x195)][_0xbbe484(0x1aa)](_0x323661=>{const _0x16e2ec=_0xbbe484;try{const _0x1736cd=_0x323661['caps_'][_0x16e2ec(0x199)](_0x53ff21[_0x16e2ec(0x18f)]);_0x1736cd?(logger['debug']('SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20'+_0x1736cd),hubAllocator[_0x16e2ec(0x189)](_0x1736cd),helper[_0x16e2ec(0x16b)](_0x1736cd)):logger[_0x16e2ec(0x192)](_0x53ff21[_0x16e2ec(0x1b5)]);}catch(_0x183663){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x183663);}}),_0x23f0d6[_0xbbe484(0x163)]=0x0,_0x23f0d6[_0xbbe484(0x1aa)]&&_0x23f0d6[_0xbbe484(0x1aa)](_0x30efa0=>{const _0x335774=_0xbbe484,_0x47b032={'vhiZX':function(_0x16cf02,_0x42f724,_0x506307){const _0x204433=a29_0x5ba7;return _0x53ff21[_0x204433(0x166)](_0x16cf02,_0x42f724,_0x506307);}};_0x53ff21[_0x335774(0x166)](overrideQuit,_0x30efa0,_0x23f0d6),_0x53ff21[_0x335774(0x1d2)](overrideTakeScreenshot,_0x30efa0),helper[_0x335774(0x1ca)](_0x30efa0,_0xa1bc1a),_0x53ff21[_0x335774(0x166)](overrideExecute,_0x30efa0,_0xa1bc1a),_0x30efa0[_0x335774(0x1b1)]=async()=>{const _0x18f688=_0x335774;return await _0x47b032[_0x18f688(0x1a0)](getAccessibilityResultsSummary,_0x30efa0,global);},_0x30efa0[_0x335774(0x188)]=async()=>{const _0x368072=_0x335774;return await _0x53ff21[_0x368072(0x166)](getAccessibilityResults,_0x30efa0,global);};}),_0x23f0d6[_0xbbe484(0x1b1)]=async()=>{return await _0x53ff21['NVYxn'](getAccessibilityResultsSummary,_0x23f0d6,global);},_0x23f0d6[_0xbbe484(0x188)]=async()=>{const _0x78f3e8=_0xbbe484;return await _0x53ff21[_0x78f3e8(0x1d5)](getAccessibilityResults,_0x23f0d6,global);},_0x14791b[_0xbbe484(0x1cb)](overrideTakeScreenshot,_0x23f0d6),_0x14791b[_0xbbe484(0x18b)](overrideQuit,_0x23f0d6),helper[_0xbbe484(0x1ca)](_0x23f0d6,_0xa1bc1a),_0x14791b['uVQEy'](overrideExecute,_0x23f0d6,_0xa1bc1a),helper[_0xbbe484(0x183)](global['__driversArray'])&&(global[_0xbbe484(0x198)]=[]),helper[_0xbbe484(0x183)](global['__drivers'])&&(global['__drivers']=[]),global[_0xbbe484(0x198)]['push'](_0x23f0d6),global[_0xbbe484(0x165)]=_0x23f0d6,_0x14791b['Znshf'](global[_0xbbe484(0x1c4)],undefined)&&global[_0xbbe484(0x1c4)]['push'](_0x23f0d6),_0x336a3e&&helper['isUndefined'](_0x336a3e[_0xbbe484(0x18c)]['__driversArray'])&&(_0x336a3e['global'][_0xbbe484(0x198)]=[]),_0x336a3e&&_0x14791b[_0xbbe484(0x194)](_0x336a3e[_0xbbe484(0x18c)][_0xbbe484(0x1c4)],undefined)&&(_0x336a3e[_0xbbe484(0x18c)][_0xbbe484(0x1c4)][_0xbbe484(0x1c1)](_0x23f0d6),_0x336a3e[_0xbbe484(0x18c)]['__driversArray']['push'](_0x23f0d6)),_0x23f0d6;}}return _0x2dcd4c[_0x23ba7a(0x1af)]=_0x2dcd4c[_0x23ba7a(0x19f)],_0x2dcd4c[_0x23ba7a(0x19f)]=_0x21ea1b,_0x99c78a[_0x23ba7a(0x162)]=_0x52e0e8,_0x2dcd4c;};module[a29_0x5a00b6(0x1cd)][a29_0x5a00b6(0x1bc)]=modify;function a29_0x49bd(){const _0x1bd70c=['isUndefined','5393680RZUAsa','getHttpAgent','set','../../../helpers/logger','getAccessibilityResults','updateHubUrl','CAPABILITY_KEY','mKeKL','global','./helpers/patchHelper','proxy_','lULLl','6nRIYhA','setServer','debug','eNEaW','Znshf','session_','requireSeleniumWebdriver','getGlobal','__driversArray','get','VQpvF','emvyA','roeRv','gtRtA','isPacProxy','Builder','vhiZX','72222JhPdMi','9104LMxPUI','send','mergeDeep','moz:firefoxOptions','edgeOptions_','logLevel','../../../helpers/globals','options_','then','capability','wMxjv','xbpEF','../accessibility-automation/helper','originalBuilder','isAccessibilityPlatform','getAccessibilityResultsSummary','fJZJl','Modifying\x20webdriver\x20builder','cIiaC','gSQjB','chromeOptions','winstonLogger','bDbfq','build','ieOptions_','../../../helpers/accessibility-automation/helper','browserstackAgentObservability','kkZUD','capabilities_','keys','3081715WuBiJv','push','ieOptions','newHubUrl','__drivers','GkzFl','url_','Proxy\x20set\x20to\x20','uVQEy','forEach','overrideGet','baiLx','/wd/hub','exports','browserStackLogLevel','0|1|5|3|2|4','New\x20hub\x20url\x20set\x20to\x20','fASrb','eTRWt','../../../helpers/helper','split','hAlxe','ms:edgeOptions','chromeOptions_','GStRn','MPdNX','853062wAFZLD','MIVPX','VbDUc','HttpClient','quitCount_','proxyUrl','__driver','BQRgb','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','edgeOptions','isBrowserstackInfra','setLogLevel','storeOptimalHubUrl','path','lMZRI','196600LfUkAl','zRQBU','sOLcs','getRequestOptions','firefoxOptions_','setCapabilities','/session','optimalHubUrl','safariOptions_','info','safari.options','object','proxySettings','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','15pGwtvS','Ukghn','inlkM','2712600upAwSn','__setBrowserOptions','requireHttpClient','firefoxOptions'];a29_0x49bd=function(){return _0x1bd70c;};return a29_0x49bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a30_0x1d11b5=a30_0x323b;(function(_0x1909b1,_0x11730f){const _0x241cf2=a30_0x323b,_0xf1290c=_0x1909b1();while(!![]){try{const _0x2cac28=parseInt(_0x241cf2(0x190))/0x1+parseInt(_0x241cf2(0x18d))/0x2+parseInt(_0x241cf2(0x191))/0x3*(-parseInt(_0x241cf2(0x18f))/0x4)+-parseInt(_0x241cf2(0x196))/0x5*(-parseInt(_0x241cf2(0x197))/0x6)+-parseInt(_0x241cf2(0x18e))/0x7*(-parseInt(_0x241cf2(0x18c))/0x8)+parseInt(_0x241cf2(0x192))/0x9*(parseInt(_0x241cf2(0x18b))/0xa)+-parseInt(_0x241cf2(0x198))/0xb*(parseInt(_0x241cf2(0x199))/0xc);if(_0x2cac28===_0x11730f)break;else _0xf1290c['push'](_0xf1290c['shift']());}catch(_0x2b6055){_0xf1290c['push'](_0xf1290c['shift']());}}}(a30_0x3937,0x8bc3b));const requestSpy=require(a30_0x1d11b5(0x193)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require('../../../helpers/test-observability/utils');function a30_0x323b(_0x25601a,_0x1a3939){const _0x3937e9=a30_0x3937();return a30_0x323b=function(_0x323b5d,_0x5b6c65){_0x323b5d=_0x323b5d-0x18b;let _0x1576b6=_0x3937e9[_0x323b5d];return _0x1576b6;},a30_0x323b(_0x25601a,_0x1a3939);}function a30_0x3937(){const _0xb2ed1c=['6306mswABd','36935426ZLSFxz','12vrWGac','1573450YAWYTH','996656mAmoff','1342364vLECsx','35QGKEFo','551592JAawzu','800519SfqUBi','6HLoBIo','63xhNsZR','../../../helpers/request-spy','mochaHooks','timeout','4805ModzMv'];a30_0x3937=function(){return _0xb2ed1c;};return a30_0x3937();}exports[a30_0x1d11b5(0x194)]={'beforeAll'(){const _0x1565a4={'spPJO':function(_0x23ae6d){return _0x23ae6d();}},_0x1f174b='browserstack internal helper hook';_0x1565a4['spPJO'](addRequestSpy);},'afterAll'(){const _0x30075d=a30_0x1d11b5,_0x28867d='browserstack internal helper hook';this[_0x30075d(0x195)](0xea60),requestSpy['restore']();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a31_0x1b61(){const _0x579e56=['../../../helpers/test-observability/utils','hookAnalyticsId','browserstack','_beforeAll','Mwgoa','passed','getTestEnv','obEDJ','type','../../../helpers/test-observability/constants','672492kWhmVs','tests','slice','1TENVrp','reduce','uxpDs','mjuOy','vIrmv','split','3640301BZSMSa','4aYurWS','WXEKn','__cloud_provider___','../../../helpers/helper','19051452GUThUd','fromEntries','mapTestHooks','sSZgn','12114wpMXcm','_afterAll','QMijE','js-','getPlatform','GkNnT','wVjAY','map_','../../../helpers/testhub/utils','concat','emit','_afterEach','oiStS','gaOFI','parent','getHooksForTest','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','921216TwrtsH','pending','VtbFL','695DGREtH','dgkAd','../../../../package.json','getHookSkippedTests','getBrowserVersion','nGuXm','SyhSK','TEST_PLATFORM','MlSuY','DKxJu','22297KAPrRZ','unknown_grid','forEach','state','PBTbW','oJUCt','sendPlatformDetails','push','hook','iaBUz','5030KqzhNr','getSession','pid','_beforeEach','toISOString','getCapabilities','bs:addPlatformDetails:','markedStatus','2007540JSWLZa','indexOf','suites','oRNAD','sFGsM','8PoqxTk','toJSON','CSMKM'];a31_0x1b61=function(){return _0x579e56;};return a31_0x1b61();}const a31_0x248d4c=a31_0xd17a;(function(_0x13e588,_0x164de1){const _0x54f66a=a31_0xd17a,_0x132151=_0x13e588();while(!![]){try{const _0x55f059=parseInt(_0x54f66a(0x14a))/0x1*(parseInt(_0x54f66a(0x16a))/0x2)+-parseInt(_0x54f66a(0x147))/0x3*(parseInt(_0x54f66a(0x151))/0x4)+parseInt(_0x54f66a(0x16d))/0x5*(parseInt(_0x54f66a(0x159))/0x6)+parseInt(_0x54f66a(0x150))/0x7+parseInt(_0x54f66a(0x13a))/0x8*(parseInt(_0x54f66a(0x135))/0x9)+-parseInt(_0x54f66a(0x12d))/0xa*(-parseInt(_0x54f66a(0x177))/0xb)+-parseInt(_0x54f66a(0x155))/0xc;if(_0x55f059===_0x164de1)break;else _0x132151['push'](_0x132151['shift']());}catch(_0x3b9c8b){_0x132151['push'](_0x132151['shift']());}}}(a31_0x1b61,0xa8fb4));const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x248d4c(0x16f)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x248d4c(0x13d)),{consoleHolder}=require(a31_0x248d4c(0x146)),{getPlatformVersion}=require(a31_0x248d4c(0x154)),{shouldProcessEventForTesthub}=require(a31_0x248d4c(0x161)),{isFunction}=require('lodash'),{patchConsoleLogger}=require(a31_0x248d4c(0x13d));function a31_0xd17a(_0x3e8541,_0x443d81){const _0x1b61dd=a31_0x1b61();return a31_0xd17a=function(_0xd17af2,_0x231a8d){_0xd17af2=_0xd17af2-0x128;let _0x5664fa=_0x1b61dd[_0xd17af2];return _0x5664fa;},a31_0xd17a(_0x3e8541,_0x443d81);}patchConsoleLogger(),exports[a31_0x248d4c(0x143)]=()=>{const _0x523d79=a31_0x248d4c,_0x10143b={'WXEKn':'generic','Mwgoa':function(_0x59882c){return _0x59882c();}};return{'ci':_0x10143b[_0x523d79(0x152)],'key':_0x10143b[_0x523d79(0x141)](uuidv4),'version':version,'collector':_0x523d79(0x15c)+name};},exports['getHookDetails']=_0x4104e9=>{const _0x3ea623=a31_0x248d4c,_0x4fe471={};_0x4fe471[_0x3ea623(0x165)]=function(_0x31861e,_0x51baf8){return _0x31861e!==_0x51baf8;},_0x4fe471[_0x3ea623(0x14d)]='string',_0x4fe471[_0x3ea623(0x173)]='hook:',_0x4fe471[_0x3ea623(0x16e)]=_0x3ea623(0x12b);const _0x20d779=_0x4fe471;if(!_0x4104e9||_0x20d779['oiStS'](typeof _0x4104e9,_0x20d779['mjuOy']))return[null,null];if(_0x20d779[_0x3ea623(0x165)](_0x4104e9['indexOf'](_0x20d779[_0x3ea623(0x173)]),-0x1)){const _0x1a0535=_0x4104e9[_0x3ea623(0x14f)](_0x20d779[_0x3ea623(0x173)]);return[_0x1a0535[0x0][_0x3ea623(0x149)](0x0,-0x1)[_0x3ea623(0x14f)]('\x22')[0x1],_0x1a0535[0x1]['substring'](0x1)];}else{if(_0x20d779['oiStS'](_0x4104e9[_0x3ea623(0x136)](_0x20d779[_0x3ea623(0x16e)]),-0x1)){const _0x458079=_0x4104e9[_0x3ea623(0x14f)](_0x20d779[_0x3ea623(0x16e)]);return[_0x458079[0x0]['slice'](0x0,-0x1)['split']('\x22')[0x1],_0x4104e9];}}return[null,null];},exports[a31_0x248d4c(0x168)]=_0x5526ce=>{const _0x3bf986=a31_0x248d4c,_0x473b4b={'oRNAD':function(_0x4f96e4,_0x33eb80){return _0x4f96e4(_0x33eb80);},'SuhXD':_0x3bf986(0x140),'CSMKM':_0x3bf986(0x15a),'VtbFL':_0x3bf986(0x130),'GkNnT':_0x3bf986(0x164)};if(!_0x5526ce||!_0x5526ce['parent'])return[];const _0xb85c8b=[];return[_0x473b4b['SuhXD'],_0x473b4b[_0x3bf986(0x13c)],_0x473b4b[_0x3bf986(0x16c)],_0x473b4b[_0x3bf986(0x15e)]]['forEach'](_0x3643c4=>{const _0x3651bf=_0x3bf986,_0x1f246a={'obEDJ':function(_0x243e46,_0x4224d5){const _0x3206fc=a31_0xd17a;return _0x473b4b[_0x3206fc(0x138)](_0x243e46,_0x4224d5);}},_0x12e8c5=_0x5526ce[_0x3651bf(0x167)][_0x3643c4]||[];_0x12e8c5[_0x3651bf(0x179)](_0x264823=>{const _0x34437c=_0x3651bf;_0x264823[_0x34437c(0x13e)]&&!_0x1f246a[_0x34437c(0x144)](isInternalHook,_0x264823['fn'])&&_0xb85c8b[_0x34437c(0x12a)](_0x264823['hookAnalyticsId']);});}),[..._0xb85c8b,...exports['getHooksForTest'](_0x5526ce[_0x3bf986(0x167)])];},exports['mapTestHooks']=_0x6b334c=>{const _0x1ba4b1=a31_0x248d4c,_0x254046={'PnudL':function(_0x59101c){return _0x59101c();},'MlSuY':function(_0x356742,_0x4eeeb3){return _0x356742===_0x4eeeb3;},'nGuXm':_0x1ba4b1(0x164),'ZnKiX':function(_0x370071){return _0x370071();},'gaOFI':_0x1ba4b1(0x140),'VcHGg':'_afterAll','yAkBZ':_0x1ba4b1(0x130)};if(!_0x6b334c||!_0x6b334c['parent'])return;[_0x254046[_0x1ba4b1(0x166)],_0x254046['VcHGg'],_0x254046['yAkBZ'],_0x254046[_0x1ba4b1(0x172)]][_0x1ba4b1(0x179)](_0x14dae8=>{const _0x339f55=_0x1ba4b1,_0x185ad5=_0x6b334c[_0x339f55(0x167)][_0x14dae8]||[];_0x185ad5[_0x339f55(0x179)](_0x4fa9cf=>{const _0x118931=_0x339f55;if(!_0x4fa9cf['hookAnalyticsId'])_0x4fa9cf[_0x118931(0x13e)]=_0x254046['PnudL'](uuidv4);else _0x4fa9cf['markedStatus']&&_0x254046[_0x118931(0x175)](_0x14dae8,_0x254046[_0x118931(0x172)])&&(_0x4fa9cf[_0x118931(0x13e)]=_0x254046['ZnKiX'](uuidv4),delete _0x4fa9cf[_0x118931(0x134)]);});}),exports[_0x1ba4b1(0x157)](_0x6b334c[_0x1ba4b1(0x167)]);},exports[a31_0x248d4c(0x129)]=async(_0x4a782b,_0x4e07d2)=>{const _0xcc3fbd=a31_0x248d4c,_0x3e7781={'sFGsM':function(_0xe4991d){return _0xe4991d();},'DKxJu':function(_0x53bcd8,_0x541980){return _0x53bcd8(_0x541980);},'iaBUz':function(_0x2de8eb,_0x37163c){return _0x2de8eb===_0x37163c;},'dVMMp':_0xcc3fbd(0x13f),'PBTbW':_0xcc3fbd(0x178),'oJUCt':_0xcc3fbd(0x174),'vIrmv':function(_0x534b89,_0x2bcf79){return _0x534b89(_0x2bcf79);}};try{if(!_0x3e7781[_0xcc3fbd(0x139)](shouldProcessEventForTesthub))return;const _0x47757a=await _0x4a782b[_0xcc3fbd(0x132)](),_0x1dba44=await _0x4a782b[_0xcc3fbd(0x12e)](),_0x234669={},_0x48467b=Object[_0xcc3fbd(0x156)](_0x1dba44['getCapabilities']()[_0xcc3fbd(0x160)]),_0x134784={'product':_0x3e7781[_0xcc3fbd(0x176)](getObservabilityLinkedProductName,_0x48467b),'capabilities':_0x48467b,'platform':_0x47757a[_0xcc3fbd(0x15d)](),'platform_version':_0x3e7781['DKxJu'](getPlatformVersion,_0x3e7781[_0xcc3fbd(0x12c)](global[_0xcc3fbd(0x153)],_0x3e7781['dVMMp'])),'browser':_0x47757a['getBrowserName'](),'browser_version':_0x47757a[_0xcc3fbd(0x171)](),'session_id':_0x1dba44[_0xcc3fbd(0x13b)]()};global['__cloud_provider___']?_0x234669[global[_0xcc3fbd(0x153)]]=_0x134784:_0x234669[_0x3e7781[_0xcc3fbd(0x17b)]]=_0x134784,process[_0xcc3fbd(0x163)](_0xcc3fbd(0x133)+process[_0xcc3fbd(0x12f)],{'timestamp':new Date()[_0xcc3fbd(0x131)](),'level':null,'message':null,'kind':_0x3e7781[_0xcc3fbd(0x128)],'http_response':_0x234669,'uuid':_0x4e07d2});}catch(_0xb5af6a){_0x3e7781[_0xcc3fbd(0x14e)](debug,_0xcc3fbd(0x169)+_0xb5af6a);}},exports[a31_0x248d4c(0x170)]=_0xf2fd66=>{const _0x3b1a53=a31_0x248d4c,_0x577b6d={};_0x577b6d[_0x3b1a53(0x15b)]=function(_0x214244,_0x12e054){return _0x214244!==_0x12e054;},_0x577b6d[_0x3b1a53(0x14c)]=_0x3b1a53(0x12b),_0x577b6d['wVjAY']=_0x3b1a53(0x142),_0x577b6d[_0x3b1a53(0x158)]='failed';const _0x247d5d=_0x577b6d,_0x3e2b1d=_0xf2fd66[_0x3b1a53(0x137)][_0x3b1a53(0x14b)]((_0x5cee30,_0x30c5fa)=>{const _0x3bb289=_0x3b1a53,_0x1c900b=exports[_0x3bb289(0x170)](_0x30c5fa);return _0x1c900b&&(_0x5cee30=_0x5cee30[_0x3bb289(0x162)](_0x1c900b)),_0x5cee30;},[]),_0x48b0a2=_0xf2fd66[_0x3b1a53(0x148)]['filter'](_0x1a9f73=>{const _0x1669dc=_0x3b1a53,_0x248211=_0x247d5d['QMijE'](_0x1a9f73[_0x1669dc(0x145)],_0x247d5d['uxpDs'])&&!_0x1a9f73['markedStatus']&&_0x247d5d[_0x1669dc(0x15b)](_0x1a9f73[_0x1669dc(0x17a)],_0x247d5d[_0x1669dc(0x15f)])&&_0x247d5d[_0x1669dc(0x15b)](_0x1a9f73[_0x1669dc(0x17a)],_0x247d5d[_0x1669dc(0x158)])&&!_0x1a9f73[_0x1669dc(0x16b)];return _0x248211;});return _0x48b0a2[_0x3b1a53(0x162)](_0x3e2b1d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a32_0x3ed8(){const _0xeee44d=['session_','59577PlbQEe','CVaHE','mWNtl','../../helpers/globals','PcgeZ','UObah','Failed:\x20','Failed\x20to\x20store\x20session\x20name:\x20','now','accessibilityScanStarted','shift','./test-observability/mochaUtils','__skipSessionName','driverCleanup','aDAzl','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','capabilities','cfCyc','DUMvy','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','EInty','performScan','SMPuK','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','izHYr','XkBex','ENV_VAR','TYSqo','../../helpers/percy/utils','titlePath','app','isArray','BROWSERSTACK_TESTHUB_JWT','smZNS','thJwtToken','\x20-\x20','pVFwW','4121112YEHPEs','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','KmqSU','failed','push','bstackA11yShouldScan','AysFo','thBuildUuid','OkWCJ','__sessionFailed','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','ObservabilitySync:','BROWSERSTACK_TESTHUB_UUID','144FHQRJM','TnBxZ','err','DAGbf','qGRYF','20837682UXZLKV','MExDM','http:','GWfNv','env','../../helpers/testhub/utils','timeout','setGlobal','join','shouldScanTestForAccessibility','testcase','stringify','testAnalyticsId','protocol','winstonLogger','info','executeScript','umpFk','startMonitoring','appium:app','browserstackSessionName','../../helpers/helper','format','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','yjZVU','quitCount_','IAXAj','currentTest','message','getCurrentUrl','../../helpers/accessibility-automation/helper','saveTestResults','FHVFH','Japni','Dyiee','irYTi','DTQOP','error','Performing\x20scan\x20before\x20saving\x20results','1457080CDqxhF','\x22}}','ZzLAx','3qCKbtg','percyCaptureMode','stopMonitoring','__drivers','ncAsF','.\x20Error\x20:','__error_messages__','https:','then','VZuWJ','debug','VDFwQ','PKHaj','passed','executeAsyncScript','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','initQuit','212392oZmriI','KpkzF','sessionNameSet__','length','346956FAkDxN','788505ikUeEf'];a32_0x3ed8=function(){return _0xeee44d;};return a32_0x3ed8();}const a32_0xc163ba=a32_0x24cc;(function(_0x15a74d,_0x48fb24){const _0x33278c=a32_0x24cc,_0x5bb35a=_0x15a74d();while(!![]){try{const _0x3911a9=-parseInt(_0x33278c(0xf1))/0x1+-parseInt(_0x33278c(0xec))/0x2+-parseInt(_0x33278c(0xdb))/0x3*(parseInt(_0x33278c(0x119))/0x4)+parseInt(_0x33278c(0xd8))/0x5+parseInt(_0x33278c(0xf0))/0x6+parseInt(_0x33278c(0xf3))/0x7*(-parseInt(_0x33278c(0x127))/0x8)+parseInt(_0x33278c(0x12c))/0x9;if(_0x3911a9===_0x48fb24)break;else _0x5bb35a['push'](_0x5bb35a['shift']());}catch(_0xa1e3c4){_0x5bb35a['push'](_0x5bb35a['shift']());}}}(a32_0x3ed8,0x8f27b));function a32_0x24cc(_0x1a1622,_0x4ff058){const _0x3ed877=a32_0x3ed8();return a32_0x24cc=function(_0x24cc12,_0x1e1afd){_0x24cc12=_0x24cc12-0xce;let _0x208f06=_0x3ed877[_0x24cc12];return _0x208f06;},a32_0x24cc(_0x1a1622,_0x4ff058);}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0xc163ba(0xcf)),{percyAutoCapture}=require(a32_0xc163ba(0x110)),{sendPlatformDetails}=require(a32_0xc163ba(0xfe)),{isBrowserstackInfra,markSessionStatus}=require(a32_0xc163ba(0x141)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0xc163ba(0xf6)),logger=require('../../helpers/logger')[a32_0xc163ba(0x13a)],{shouldProcessEventForTesthub}=require(a32_0xc163ba(0x131)),testHubConstants=require('../../helpers/testhub/constants');exports['mochaHooks']={'beforeAll'(){const _0x1da280=a32_0xc163ba,_0x46780e={'mWNtl':function(_0x34cb3d,_0x45f1c1,_0x5718ca,_0x1e436c){return _0x34cb3d(_0x45f1c1,_0x5718ca,_0x1e436c);},'ncAsF':_0x1da280(0x11c),'Dyiee':'\x20|\x20','PngXe':function(_0x4f46f9,_0x2002f5,_0x51cdd0){return _0x4f46f9(_0x2002f5,_0x51cdd0);},'VDFwQ':_0x1da280(0xe8),'PcgeZ':function(_0x35b7cb){return _0x35b7cb();},'SMPuK':function(_0x32b7a7,_0x13be70,_0x2e52e7){return _0x32b7a7(_0x13be70,_0x2e52e7);}};PerformanceTester[_0x1da280(0x13e)]();const _0x4d743b='browserstack internal helper hook';global['__error_messages__']=[],global[_0x1da280(0x122)]=![],global[_0x1da280(0x100)]=async()=>{const _0x31a4eb=_0x1da280;let _0x362cc4=![];try{await global[_0x31a4eb(0xde)][0x0]['session_'],_0x362cc4=!![],global[_0x31a4eb(0x122)]?await _0x46780e[_0x31a4eb(0xf5)](markSessionStatus,global['__drivers'][0x0],_0x46780e[_0x31a4eb(0xdf)],global['__error_messages__'][_0x31a4eb(0x134)](_0x46780e[_0x31a4eb(0xd3)])):await _0x46780e['PngXe'](markSessionStatus,global['__drivers'][0x0],_0x46780e[_0x31a4eb(0xe6)]);}catch(_0x3296a6){logger['debug'](_0x31a4eb(0x144)+_0x3296a6);}global['__error_messages__']=[],global[_0x31a4eb(0x122)]=![];if(_0x362cc4)try{try{_0x46780e[_0x31a4eb(0xf7)](shouldProcessEventForTesthub)&&(global[_0x31a4eb(0xde)][0x0]&&await _0x46780e[_0x31a4eb(0x10a)](sendPlatformDetails,global[_0x31a4eb(0xde)][0x0],this['currentTest']?this['currentTest'][_0x31a4eb(0x138)]:null));}catch(_0x89619a){logger[_0x31a4eb(0xe5)](_0x31a4eb(0x143)+_0x89619a);}await global['__drivers'][0x0][_0x31a4eb(0xeb)]();}catch(_0x37fde4){logger['debug']('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x37fde4);}};},'beforeEach'(_0x47d2b2){const _0x314b5f=a32_0xc163ba,_0x1305ed={'XBAQB':function(_0x32e5ac,_0x62617d){return _0x32e5ac>_0x62617d;},'CVaHE':function(_0x4d1d09,_0x2775de){return _0x4d1d09>_0x2775de;},'TnBxZ':'\x20-\x20','XkBex':function(_0x4ed5e3,_0x3d8893,_0x46f028){return _0x4ed5e3(_0x3d8893,_0x46f028);},'WXAAs':_0x314b5f(0x11e),'EInty':function(_0x43e73d){return _0x43e73d();},'IAXAj':function(_0xb1ced9,_0xea759e){return _0xb1ced9>_0xea759e;},'PKHaj':'isAccessibilityPlatform','umpFk':function(_0x509f7e,_0x550f77){return _0x509f7e===_0x550f77;},'LiFoH':_0x314b5f(0x12e),'AysFo':function(_0x2e57e1,_0x24c31e){return _0x2e57e1===_0x24c31e;},'qGRYF':_0x314b5f(0xe2),'GWfNv':_0x314b5f(0x123),'TYSqo':'Automate\x20test\x20case\x20execution\x20has\x20started.','izHYr':function(_0x27327c){return _0x27327c();}};new Promise(async _0x4ee622=>{const _0x30cbba=_0x314b5f,_0x344f98='browserstack internal helper hook';let _0x92ec47=!![];try{_0x1305ed['XBAQB'](global[_0x30cbba(0xde)]['length'],0x1)&&(await global[_0x30cbba(0x100)](),global[_0x30cbba(0xde)][_0x30cbba(0xfd)]()),_0x1305ed[_0x30cbba(0xf4)](global[_0x30cbba(0xde)][0x0]['quitCount_'],0x0)&&(_0x92ec47=![],await global[_0x30cbba(0x100)]());}catch(_0x1eaf68){logger['debug'](_0x30cbba(0x124)+_0x1eaf68);}try{Array[_0x30cbba(0x113)](global[_0x30cbba(0xde)])&&global[_0x30cbba(0xde)][0x0]&&(global[_0x30cbba(0xde)][0x0]['browserstackSessionName']=this[_0x30cbba(0x148)]['titlePath']()[_0x30cbba(0x134)](_0x1305ed[_0x30cbba(0x128)])),global[_0x30cbba(0x140)]=this[_0x30cbba(0x148)]['titlePath']()[_0x30cbba(0x134)](_0x1305ed[_0x30cbba(0x128)]);}catch(_0x2024e9){logger['debug'](_0x30cbba(0xfa)+_0x2024e9);}this[_0x30cbba(0x148)][_0x30cbba(0x135)]=_0x1305ed[_0x30cbba(0x10d)](shouldScanTestForAccessibility,this[_0x30cbba(0x148)][_0x30cbba(0x111)](),!![]),globals[_0x30cbba(0x133)](_0x1305ed['WXAAs'],this[_0x30cbba(0x148)][_0x30cbba(0x135)]),this[_0x30cbba(0x148)][_0x30cbba(0xfc)]=!![];if(_0x1305ed[_0x30cbba(0x108)](isAccessibilityAutomationSession)&&_0x92ec47&&Array['isArray'](global[_0x30cbba(0xde)])&&_0x1305ed[_0x30cbba(0x147)](global[_0x30cbba(0xde)][_0x30cbba(0xef)],0x0)&&globals['getGlobal'](_0x1305ed[_0x30cbba(0xe7)]))try{const _0xa53554=await global['__drivers'][0x0][_0x30cbba(0xf2)];if(_0xa53554){let _0x1266e4=!![];const _0x45948c=await global[_0x30cbba(0xde)][0x0][_0x30cbba(0xce)]();let _0xc49f89;try{_0xc49f89=new URL(_0x45948c);}catch(_0x501742){_0x1266e4=![];}_0x1266e4=_0x1305ed[_0x30cbba(0x13d)](_0xc49f89[_0x30cbba(0x139)],_0x1305ed['LiFoH'])||_0x1305ed[_0x30cbba(0x11f)](_0xc49f89[_0x30cbba(0x139)],_0x1305ed[_0x30cbba(0x12b)]),_0x1266e4&&(this[_0x30cbba(0x148)][_0x30cbba(0x135)]&&logger[_0x30cbba(0x13b)](_0x1305ed[_0x30cbba(0x12f)])),this[_0x30cbba(0x148)][_0x30cbba(0xfc)]=this['currentTest'][_0x30cbba(0x135)],this[_0x30cbba(0x148)][_0x30cbba(0x135)]&&logger[_0x30cbba(0x13b)](_0x1305ed[_0x30cbba(0x10f)]);}}catch(_0x1892a9){logger[_0x30cbba(0xd6)](_0x30cbba(0xea)+util[_0x30cbba(0x142)](_0x1892a9));}_0x1305ed[_0x30cbba(0x10c)](_0x4ee622);})[_0x314b5f(0xe3)](_0x47d2b2);},'afterEach'(_0x19adb5){const _0x10a663=a32_0xc163ba,_0x572faf={'OsuEV':function(_0x38a601,_0x1931b4){return _0x38a601>_0x1931b4;},'pVFwW':function(_0x5e5acb,_0x3190af){return _0x5e5acb===_0x3190af;},'aDAzl':_0x10a663(0x136),'KpkzF':function(_0x375f28,_0x29b1c3){return _0x375f28>_0x29b1c3;},'DTQOP':_0x10a663(0x13f),'VZuWJ':function(_0x43e403,_0xec31fb,_0x342156,_0x1b3d7b){return _0x43e403(_0xec31fb,_0x342156,_0x1b3d7b);},'gVVxU':_0x10a663(0x117),'bYCmT':function(_0xce565c,_0x4354b1){return _0xce565c!==_0x4354b1;},'Japni':'passed','UObah':function(_0x5f4a22,_0x38526c,_0x306250){return _0x5f4a22(_0x38526c,_0x306250);},'FHVFH':function(_0x3c3504,_0x27fa6e){return _0x3c3504+_0x27fa6e;},'yctzk':_0x10a663(0xf9),'DAGbf':_0x10a663(0xd6),'irYTi':function(_0x1ed9c1,_0x3d8c58,_0xf09978){return _0x1ed9c1(_0x3d8c58,_0xf09978);},'cfCyc':'Passed','KmqSU':_0x10a663(0x13b),'OkWCJ':'isAccessibilityPlatform','DUMvy':_0x10a663(0x11e),'niYWC':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','yjZVU':_0x10a663(0xd7),'lBfJi':_0x10a663(0x103),'MExDM':function(_0x56a807){return _0x56a807();},'ZzLAx':function(_0xee1e78,_0x239880,_0x2e5906){return _0xee1e78(_0x239880,_0x2e5906);},'cirhE':_0x10a663(0xe5)},_0x13b94d='browserstack internal helper hook';this['timeout'](0xfde8);const _0x3ceba5=async(_0x19becb,_0x468ccc)=>{const _0x323477=_0x10a663;await global[_0x323477(0xde)][0x0][_0x323477(0x13c)](_0x323477(0x11a)+_0x19becb+',\x22level\x22:\x20\x22'+_0x468ccc+_0x323477(0xd9));};new Promise(async _0xa762c1=>{const _0x278c3d=_0x10a663;try{_0x572faf['OsuEV'](global['__drivers'][_0x278c3d(0xef)],0x1)&&(await global['driverCleanup'](),global[_0x278c3d(0xde)][_0x278c3d(0xfd)](),global[_0x278c3d(0xe1)]=[],global[_0x278c3d(0x122)]=![]);try{if(global['percy']&&_0x572faf[_0x278c3d(0x118)](global[_0x278c3d(0xdc)],_0x572faf[_0x278c3d(0x101)])&&global[_0x278c3d(0xde)][0x0]){const _0x282118=_0x572faf[_0x278c3d(0xed)](global[_0x278c3d(0x104)]['length'],0x0)?!!global[_0x278c3d(0x104)][0x0][_0x278c3d(0x112)]||!!global[_0x278c3d(0x104)][0x0][_0x572faf[_0x278c3d(0xd5)]]:![],_0x5956fc={};_0x5956fc[_0x278c3d(0x112)]=_0x282118,await _0x572faf[_0x278c3d(0xe4)](percyAutoCapture,global[_0x278c3d(0xde)][0x0],_0x572faf[_0x278c3d(0x101)],_0x5956fc);}}catch(_0x53e1b5){logger[_0x278c3d(0xe5)](_0x278c3d(0x102)+_0x53e1b5);}!global[_0x278c3d(0xff)]&&(await global[_0x278c3d(0xde)][0x0][_0x278c3d(0x13c)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON['stringify'](this[_0x278c3d(0x148)][_0x278c3d(0x111)]()[_0x278c3d(0x134)](_0x572faf['gVVxU']))+'}}'),global['__drivers'][0x0][_0x278c3d(0xee)]=!![]);const _0x458ef7=_0x572faf['bYCmT'](this[_0x278c3d(0x148)]['state'],_0x572faf[_0x278c3d(0xd2)]);_0x458ef7?(global[_0x278c3d(0x122)]=!![],global[_0x278c3d(0xe1)][_0x278c3d(0x11d)](this[_0x278c3d(0x148)][_0x278c3d(0x129)][_0x278c3d(0x149)]),await _0x572faf['UObah'](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x572faf[_0x278c3d(0xd1)](_0x572faf['yctzk'],this['currentTest'][_0x278c3d(0x129)][_0x278c3d(0x149)])),_0x572faf[_0x278c3d(0x12a)])):await _0x572faf[_0x278c3d(0xd4)](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x572faf[_0x278c3d(0x105)]),_0x572faf[_0x278c3d(0x11b)]);}catch(_0x73523c){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x73523c);}try{if(this[_0x278c3d(0x148)][_0x278c3d(0xfc)]&&globals['getGlobal'](_0x572faf[_0x278c3d(0x121)])&&globals['getGlobal'](_0x572faf[_0x278c3d(0x106)])){logger[_0x278c3d(0x13b)](_0x572faf['niYWC']);const _0x1ba7aa={};_0x1ba7aa['thTestRunUuid']=this[_0x278c3d(0x148)][_0x278c3d(0x138)],_0x1ba7aa[_0x278c3d(0x120)]=process[_0x278c3d(0x130)][testHubConstants[_0x278c3d(0x10e)][_0x278c3d(0x126)]],_0x1ba7aa[_0x278c3d(0x116)]=process[_0x278c3d(0x130)][testHubConstants[_0x278c3d(0x10e)][_0x278c3d(0x114)]];const _0x39f241=_0x1ba7aa;logger[_0x278c3d(0xe5)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x278c3d(0x137)](_0x39f241)),logger[_0x278c3d(0xe5)](_0x572faf[_0x278c3d(0x145)]),logger[_0x278c3d(0xe5)](util[_0x278c3d(0x142)](await global[_0x278c3d(0xde)][0x0]['executeAsyncScript'](scripts[_0x278c3d(0x109)],{'method':global[_0x278c3d(0x140)]}))),await global[_0x278c3d(0xde)][0x0][_0x278c3d(0xe9)](scripts[_0x278c3d(0xd0)],_0x39f241),logger[_0x278c3d(0x13b)](_0x572faf['lBfJi']);}}catch(_0x42b817){logger['error'](_0x278c3d(0x10b)+this[_0x278c3d(0x148)][_0x278c3d(0x111)]()+_0x278c3d(0xe0),_0x42b817);}try{try{if(_0x572faf[_0x278c3d(0x12d)](shouldProcessEventForTesthub)){global[_0x278c3d(0xde)][0x0]&&await _0x572faf[_0x278c3d(0xda)](sendPlatformDetails,global[_0x278c3d(0xde)][0x0],this['currentTest']?this[_0x278c3d(0x148)][_0x278c3d(0x138)]:null);if(_0x572faf[_0x278c3d(0x12d)](isBrowserstackInfra)){const _0x1e575c=_0x278c3d(0x125)+Date[_0x278c3d(0xfb)]();await _0x572faf[_0x278c3d(0xf8)](_0x3ceba5,JSON[_0x278c3d(0x137)](_0x1e575c),_0x572faf['cirhE']);}}}catch(_0x305a8f){logger[_0x278c3d(0xe5)](_0x278c3d(0x107)+_0x305a8f);}_0x572faf[_0x278c3d(0xed)](global[_0x278c3d(0xde)][0x0][_0x278c3d(0x146)],0x0)&&await global[_0x278c3d(0x100)]();}catch(_0xd68944){logger[_0x278c3d(0xe5)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xd68944);}_0x572faf[_0x278c3d(0x12d)](_0xa762c1);})['then'](()=>_0x19adb5());},'afterAll'(_0x318185){const _0x6dcc26=a32_0xc163ba,_0x532b3c={'smZNS':function(_0x11a51c){return _0x11a51c();}},_0x5d850f='browserstack internal helper hook';this[_0x6dcc26(0x132)](0xfde8),new Promise(async _0xd3ad3f=>{const _0x49f156=_0x6dcc26;PerformanceTester[_0x49f156(0xdd)](),await global[_0x49f156(0x100)](),_0x532b3c[_0x49f156(0x115)](_0xd3ad3f);})['then'](()=>_0x318185());}};
|
|
1
|
+
const a32_0x2b863a=a32_0x3501;(function(_0x7fb333,_0x3c61ac){const _0x5dc322=a32_0x3501,_0x4c8432=_0x7fb333();while(!![]){try{const _0x291698=parseInt(_0x5dc322(0x8c))/0x1*(parseInt(_0x5dc322(0xc7))/0x2)+-parseInt(_0x5dc322(0xb6))/0x3+-parseInt(_0x5dc322(0xb5))/0x4+parseInt(_0x5dc322(0x99))/0x5+parseInt(_0x5dc322(0x110))/0x6+parseInt(_0x5dc322(0xd0))/0x7*(-parseInt(_0x5dc322(0xfe))/0x8)+-parseInt(_0x5dc322(0x77))/0x9*(-parseInt(_0x5dc322(0x96))/0xa);if(_0x291698===_0x3c61ac)break;else _0x4c8432['push'](_0x4c8432['shift']());}catch(_0x1ce9ef){_0x4c8432['push'](_0x4c8432['shift']());}}}(a32_0x4e9a,0x5d237));function a32_0x3501(_0x40ff41,_0xa92da5){const _0x4e9a7b=a32_0x4e9a();return a32_0x3501=function(_0x3501d2,_0x3e69ce){_0x3501d2=_0x3501d2-0x6b;let _0x5660c7=_0x4e9a7b[_0x3501d2];return _0x5660c7;},a32_0x3501(_0x40ff41,_0xa92da5);}const util=require(a32_0x2b863a(0xeb)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a32_0x2b863a(0x9f)),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x2b863a(0x7b)),{isBrowserstackInfra,markSessionStatus,nestedKeyValue}=require(a32_0x2b863a(0x89)),PerformanceTester=require(a32_0x2b863a(0x9e)),{AUTOMATE_EVENTS:PerformanceAutEvents,O11y_EVENTS:PerformanceO11yEvents,A11Y_EVENTS:PerformanceA11yEvents,EVENTS:PerformanceSdkEvents}=require(a32_0x2b863a(0xa7)),scripts=require(a32_0x2b863a(0xf9)),globals=require(a32_0x2b863a(0x10e)),logger=require(a32_0x2b863a(0xf5))[a32_0x2b863a(0xc2)],{shouldProcessEventForTesthub}=require(a32_0x2b863a(0xcc)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x2b863a(0xc3)]={'beforeAll'(){const _0x5283f9=a32_0x2b863a,_0x29f443={'LGOdO':function(_0x52ff76,_0x5e53ac,_0x23bb76,_0x3c8908){return _0x52ff76(_0x5e53ac,_0x23bb76,_0x3c8908);},'WBnpZ':_0x5283f9(0x75),'pcPON':_0x5283f9(0x11b),'iKBBI':function(_0x54cd33,_0xbb6929,_0x5c19db){return _0x54cd33(_0xbb6929,_0x5c19db);},'uVWSK':_0x5283f9(0xc5),'puuPT':function(_0x3e59fe){return _0x3e59fe();},'jdhJt':'index','YBcBs':_0x5283f9(0xcd)};PerformanceTester[_0x5283f9(0x8a)]();const _0x6189b='browserstack internal helper hook';PerformanceTester[_0x5283f9(0xee)](PerformanceSdkEvents[_0x5283f9(0xc6)],()=>{const _0x1d5950=_0x5283f9;global[_0x1d5950(0xe4)]=[],global[_0x1d5950(0x108)]=![],global['driverCleanup']=async()=>{const _0x49c5eb=_0x1d5950;let _0x1a7f4e=![];try{await global[_0x49c5eb(0xf8)][0x0]['session_'],_0x1a7f4e=!![],global[_0x49c5eb(0x108)]?await _0x29f443[_0x49c5eb(0xea)](markSessionStatus,global[_0x49c5eb(0xf8)][0x0],_0x29f443[_0x49c5eb(0x118)],global[_0x49c5eb(0xe4)]['join'](_0x29f443['pcPON'])):await _0x29f443[_0x49c5eb(0x91)](markSessionStatus,global[_0x49c5eb(0xf8)][0x0],_0x29f443[_0x49c5eb(0x106)]);}catch(_0x1b30d4){logger[_0x49c5eb(0xbd)](_0x49c5eb(0xbf)+_0x1b30d4);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x1a7f4e)try{try{_0x29f443[_0x49c5eb(0xd5)](shouldProcessEventForTesthub)&&(global[_0x49c5eb(0xf8)][0x0]&&await _0x29f443[_0x49c5eb(0x91)](sendPlatformDetails,global['__drivers'][0x0],this[_0x49c5eb(0xd6)]?this[_0x49c5eb(0xd6)]['testAnalyticsId']:null));}catch(_0x7770fe){logger['debug'](_0x49c5eb(0xe0)+_0x7770fe);}await global['__drivers'][0x0][_0x49c5eb(0x119)]();}catch(_0x145705){logger[_0x49c5eb(0xbd)](_0x49c5eb(0xbb)+_0x145705);}};},{'platform':_0x29f443[_0x5283f9(0x91)](nestedKeyValue,global[_0x5283f9(0x6e)],[_0x29f443[_0x5283f9(0xaa)]]),'hookType':_0x29f443[_0x5283f9(0xc9)]})();},'beforeEach'(_0x378e0f){const _0x503f75=a32_0x2b863a,_0x13f8ef={'usWnj':function(_0x8081f,_0x46df0a){return _0x8081f>_0x46df0a;},'NnNWB':_0x503f75(0xec),'Hnoau':function(_0x138f4f,_0x482a38,_0x42bb86){return _0x138f4f(_0x482a38,_0x42bb86);},'GOmtv':'bstackA11yShouldScan','ijHwy':function(_0x1dfe6c){return _0x1dfe6c();},'iLlCO':function(_0x5d5bb5,_0x4f6564){return _0x5d5bb5>_0x4f6564;},'eQBJp':'isAccessibilityPlatform','UszGL':function(_0x102a5b,_0x47f3b9){return _0x102a5b===_0x47f3b9;},'RCZxK':_0x503f75(0xbe),'AWnLU':function(_0x131bd0,_0x1e923d){return _0x131bd0===_0x1e923d;},'HJHdB':_0x503f75(0xab),'XypzQ':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','twBCG':'Automate\x20test\x20case\x20execution\x20has\x20started.','GNQAM':_0x503f75(0x74),'FrxEy':function(_0x4e490d,_0x134280,_0x73b900){return _0x4e490d(_0x134280,_0x73b900);},'FDBoF':_0x503f75(0xd4),'VwSwT':_0x503f75(0x85)};globals['setGlobal'](_0x13f8ef['GNQAM'],this[_0x503f75(0xd6)][_0x503f75(0xd8)]()[_0x503f75(0x7c)](_0x13f8ef['NnNWB'])),PerformanceTester[_0x503f75(0xee)](PerformanceSdkEvents[_0x503f75(0xc6)],()=>{const _0x3f229c=_0x503f75,_0x5d2840={'IuOKe':function(_0x5dacc9,_0x40292e){return _0x13f8ef['usWnj'](_0x5dacc9,_0x40292e);},'QdAuh':function(_0x3b0b2a,_0x271bac){const _0x104904=a32_0x3501;return _0x13f8ef[_0x104904(0x86)](_0x3b0b2a,_0x271bac);},'qRtAs':_0x13f8ef[_0x3f229c(0x6c)],'vkApv':function(_0x140398,_0x1b3954,_0x400a01){return _0x13f8ef['Hnoau'](_0x140398,_0x1b3954,_0x400a01);},'WalxJ':_0x13f8ef['GOmtv'],'tZqVC':function(_0xbd5b33){const _0x32fa95=_0x3f229c;return _0x13f8ef[_0x32fa95(0x102)](_0xbd5b33);},'OKfHi':function(_0x340882,_0x172d17){const _0x4edf5b=_0x3f229c;return _0x13f8ef[_0x4edf5b(0x7d)](_0x340882,_0x172d17);},'gGcOd':_0x13f8ef[_0x3f229c(0x10a)],'IoPNP':function(_0x3e3dfc,_0x30429b){const _0x46acf0=_0x3f229c;return _0x13f8ef[_0x46acf0(0xde)](_0x3e3dfc,_0x30429b);},'HqxzL':_0x13f8ef[_0x3f229c(0xfa)],'RGOlt':function(_0x3016ca,_0x24d3e5){const _0x3bfdbd=_0x3f229c;return _0x13f8ef[_0x3bfdbd(0xad)](_0x3016ca,_0x24d3e5);},'lBuoS':_0x13f8ef['HJHdB'],'gSaSn':_0x13f8ef['XypzQ'],'XBAII':_0x13f8ef[_0x3f229c(0xe9)],'HEKmr':function(_0x213c46){const _0x111226=_0x3f229c;return _0x13f8ef[_0x111226(0x102)](_0x213c46);}},_0x4c0472='browserstack internal helper hook';new Promise(async _0x4b29c4=>{const _0x1348d7=_0x3f229c;let _0x52f9ba=!![];try{_0x5d2840[_0x1348d7(0x8f)](global[_0x1348d7(0xf8)][_0x1348d7(0xa1)],0x1)&&(await global[_0x1348d7(0x94)](),global[_0x1348d7(0xf8)][_0x1348d7(0xc0)]()),_0x5d2840[_0x1348d7(0xb7)](global[_0x1348d7(0xf8)][0x0]['quitCount_'],0x0)&&(_0x52f9ba=![],await global[_0x1348d7(0x94)]());}catch(_0x1681cd){logger['debug'](_0x1348d7(0xbb)+_0x1681cd);}try{Array[_0x1348d7(0xd9)](global['__drivers'])&&global[_0x1348d7(0xf8)][0x0]&&(global[_0x1348d7(0xf8)][0x0]['browserstackSessionName']=this[_0x1348d7(0xd6)]['titlePath']()['join'](_0x5d2840['qRtAs'])),global[_0x1348d7(0xa6)]=this[_0x1348d7(0xd6)][_0x1348d7(0xd8)]()['join'](_0x5d2840[_0x1348d7(0xe1)]);}catch(_0x40ce1d){logger[_0x1348d7(0xbd)](_0x1348d7(0x79)+_0x40ce1d);}this[_0x1348d7(0xd6)]['shouldScanTestForAccessibility']=_0x5d2840[_0x1348d7(0x70)](shouldScanTestForAccessibility,this[_0x1348d7(0xd6)]['titlePath'](),!![]),globals['setGlobal'](_0x5d2840[_0x1348d7(0xdc)],this[_0x1348d7(0xd6)][_0x1348d7(0x100)]),this['currentTest'][_0x1348d7(0xfc)]=!![];if(_0x5d2840['tZqVC'](isAccessibilityAutomationSession)&&_0x52f9ba&&Array[_0x1348d7(0xd9)](global[_0x1348d7(0xf8)])&&_0x5d2840['OKfHi'](global[_0x1348d7(0xf8)][_0x1348d7(0xa1)],0x0)&&globals[_0x1348d7(0xae)](_0x5d2840['gGcOd']))try{const _0xd57383=await global['__drivers'][0x0]['session_'];if(_0xd57383){let _0x5a3e61=!![];const _0x5d37c1=await global[_0x1348d7(0xf8)][0x0][_0x1348d7(0x9c)]();let _0x22e78b;try{_0x22e78b=new URL(_0x5d37c1);}catch(_0x543c05){_0x5a3e61=![];}_0x5a3e61=_0x5d2840[_0x1348d7(0x8e)](_0x22e78b[_0x1348d7(0x81)],_0x5d2840[_0x1348d7(0xe8)])||_0x5d2840[_0x1348d7(0xf4)](_0x22e78b['protocol'],_0x5d2840['lBuoS']),_0x5a3e61&&(this['currentTest'][_0x1348d7(0x100)]&&logger['info'](_0x5d2840['gSaSn'])),this[_0x1348d7(0xd6)][_0x1348d7(0xfc)]=this[_0x1348d7(0xd6)][_0x1348d7(0x100)],this[_0x1348d7(0xd6)]['shouldScanTestForAccessibility']&&logger[_0x1348d7(0x111)](_0x5d2840['XBAII']);}}catch(_0x294a61){logger['error'](_0x1348d7(0x87)+util[_0x1348d7(0xf0)](_0x294a61));}_0x5d2840['tZqVC'](_0x4b29c4);})[_0x3f229c(0xb4)](()=>{const _0x59f200=_0x3f229c;_0x5d2840[_0x59f200(0x11a)](_0x378e0f);});},{'platform':_0x13f8ef[_0x503f75(0x71)](nestedKeyValue,global[_0x503f75(0x6e)],[_0x13f8ef[_0x503f75(0xe7)]]),'hookType':_0x13f8ef[_0x503f75(0x73)]})();},'afterEach'(_0x4b5a6){const _0xb9539=a32_0x2b863a,_0x5cec9f={'NGmGM':function(_0x3200c2){return _0x3200c2();},'Yhpol':_0xb9539(0xec),'tVYDN':function(_0x2d4c11,_0x4ea3e3){return _0x2d4c11!==_0x4ea3e3;},'iAMxa':_0xb9539(0xc5),'LQYgt':function(_0x411b8c,_0x8f514d,_0x27b060){return _0x411b8c(_0x8f514d,_0x27b060);},'KDDlD':function(_0x1e53c8,_0x3d7c05){return _0x1e53c8+_0x3d7c05;},'jyXoz':_0xb9539(0x103),'mmWrI':'error','cBMGf':_0xb9539(0xd2),'HqvUe':_0xb9539(0x111),'XSxPa':function(_0x4a94e6,_0x448c87){return _0x4a94e6>_0x448c87;},'yKQNe':function(_0x355ffc,_0x468b1c){return _0x355ffc===_0x468b1c;},'kDnto':_0xb9539(0xc4),'AwrTY':_0xb9539(0x6b),'TCInm':function(_0x13a3ef,_0xa58e7c,_0xa92145,_0x5d33fc){return _0x13a3ef(_0xa58e7c,_0xa92145,_0x5d33fc);},'MsJVA':_0xb9539(0xb0),'junHm':'bstackA11yShouldScan','szkds':_0xb9539(0xb9),'iFrfb':'Performing\x20scan\x20before\x20saving\x20results','LRuyy':_0xb9539(0xa2),'ZLKrE':_0xb9539(0x101),'MsNVw':function(_0x16b9a7,_0x43eb23,_0x42a893){return _0x16b9a7(_0x43eb23,_0x42a893);},'gMcse':_0xb9539(0xbd),'ofAij':function(_0x5a7127){return _0x5a7127();},'zFvpA':_0xb9539(0xd4),'DzToQ':_0xb9539(0xa0)},_0x4f71d5='browserstack internal helper hook';this[_0xb9539(0x115)](0xfde8),global[_0xb9539(0xcf)]=this[_0xb9539(0xd6)]['titlePath']()[_0xb9539(0x7c)](_0x5cec9f[_0xb9539(0xda)]),PerformanceTester[_0xb9539(0xee)](PerformanceSdkEvents[_0xb9539(0xc6)],()=>{const _0x5ed627=_0xb9539,_0x5d99ba={'LkAgd':_0x5cec9f['Yhpol'],'VNRno':function(_0x1acd64,_0x5cfa0e){return _0x5cec9f['tVYDN'](_0x1acd64,_0x5cfa0e);},'GglhU':_0x5cec9f[_0x5ed627(0xef)],'rMRRU':function(_0x53e772,_0x1ee253,_0x35c736){return _0x5cec9f['LQYgt'](_0x53e772,_0x1ee253,_0x35c736);},'uRcch':function(_0x2eb0f6,_0x1123d6){const _0x1eb6c3=_0x5ed627;return _0x5cec9f[_0x1eb6c3(0x9d)](_0x2eb0f6,_0x1123d6);},'clYnV':_0x5cec9f[_0x5ed627(0x8b)],'aUwoq':_0x5cec9f[_0x5ed627(0x78)],'IXumV':_0x5cec9f[_0x5ed627(0x104)],'flKgh':_0x5cec9f[_0x5ed627(0xaf)],'zrYnX':function(_0x404f44,_0x3d1c35){const _0xb44fdb=_0x5ed627;return _0x5cec9f[_0xb44fdb(0x9a)](_0x404f44,_0x3d1c35);},'masaN':function(_0x5a7301,_0x42c276){const _0x216e2d=_0x5ed627;return _0x5cec9f[_0x216e2d(0xa3)](_0x5a7301,_0x42c276);},'jnDIQ':_0x5cec9f['kDnto'],'xORlB':_0x5cec9f[_0x5ed627(0x76)],'eupuJ':function(_0x4af8e7,_0x25c5bf,_0x3dadb8,_0x19ee0d){const _0x3e81c2=_0x5ed627;return _0x5cec9f[_0x3e81c2(0xc1)](_0x4af8e7,_0x25c5bf,_0x3dadb8,_0x19ee0d);},'DnGMq':_0x5cec9f[_0x5ed627(0xdd)],'kWKhl':_0x5cec9f[_0x5ed627(0xe3)],'qSEjR':_0x5cec9f['szkds'],'jMXIb':_0x5cec9f[_0x5ed627(0xba)],'JTemI':_0x5cec9f[_0x5ed627(0xa5)],'tiDZX':_0x5cec9f[_0x5ed627(0xb3)],'metVw':function(_0x28fa29){const _0xf3880b=_0x5ed627;return _0x5cec9f[_0xf3880b(0x97)](_0x28fa29);},'rkiBG':function(_0x559caa,_0x25c52d,_0x5dafcc){const _0x5d2f4f=_0x5ed627;return _0x5cec9f[_0x5d2f4f(0xa4)](_0x559caa,_0x25c52d,_0x5dafcc);},'kBgiG':function(_0x26fa18){const _0x216e14=_0x5ed627;return _0x5cec9f[_0x216e14(0x97)](_0x26fa18);},'GJaZY':_0x5cec9f[_0x5ed627(0x88)],'UINWa':function(_0x592890){const _0x252e89=_0x5ed627;return _0x5cec9f[_0x252e89(0xac)](_0x592890);}},_0x1898aa=async(_0xa24021,_0x349e67)=>{const _0x54142c=_0x5ed627;await global[_0x54142c(0xf8)][0x0][_0x54142c(0x107)](_0x54142c(0x7f)+_0xa24021+_0x54142c(0xed)+_0x349e67+'\x22}}');};new Promise(async _0x3e3893=>{const _0x391a96=_0x5ed627;try{_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xf8)]['length'],0x1)&&(await global['driverCleanup'](),global['__drivers']['shift'](),global[_0x391a96(0xe4)]=[],global[_0x391a96(0x108)]=![]);try{if(global[_0x391a96(0x95)]&&_0x5d99ba[_0x391a96(0x10d)](global[_0x391a96(0xd1)],_0x5d99ba[_0x391a96(0xe6)])&&global['__drivers'][0x0]){const _0x27a94e=_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xca)]['length'],0x0)?!!global[_0x391a96(0xca)][0x0][_0x391a96(0x10f)]||!!global[_0x391a96(0xca)][0x0][_0x5d99ba['xORlB']]:![],_0x1c32a8={};_0x1c32a8[_0x391a96(0x10f)]=_0x27a94e,await _0x5d99ba[_0x391a96(0x7a)](percyAutoCapture,global[_0x391a96(0xf8)][0x0],_0x5d99ba[_0x391a96(0xe6)],_0x1c32a8);}}catch(_0x43ce30){logger[_0x391a96(0xbd)]('Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20'+_0x43ce30);}!global['__skipSessionName']&&(await PerformanceTester[_0x391a96(0xee)](PerformanceAutEvents['SESSION_NAME'],async()=>{const _0x17f466=_0x391a96;await global[_0x17f466(0xf8)][0x0][_0x17f466(0x107)](_0x17f466(0xd3)+JSON[_0x17f466(0x83)](this[_0x17f466(0xd6)][_0x17f466(0xd8)]()['join'](_0x5d99ba[_0x17f466(0x116)]))+'}}');})(),global['__drivers'][0x0]['sessionNameSet__']=!![]),await PerformanceTester['measureWrapper'](PerformanceAutEvents[_0x391a96(0x84)],async()=>{const _0x4a655e=_0x391a96,_0x437a6c=_0x5d99ba['VNRno'](this[_0x4a655e(0xd6)]['state'],_0x5d99ba['GglhU']);_0x437a6c?(global[_0x4a655e(0x108)]=!![],global[_0x4a655e(0xe4)][_0x4a655e(0xd7)](this[_0x4a655e(0xd6)]['err'][_0x4a655e(0x82)]),await _0x5d99ba['rMRRU'](_0x1898aa,JSON['stringify'](_0x5d99ba[_0x4a655e(0xdb)](_0x5d99ba['clYnV'],this[_0x4a655e(0xd6)][_0x4a655e(0xcb)][_0x4a655e(0x82)])),_0x5d99ba['aUwoq'])):await _0x5d99ba[_0x4a655e(0x90)](_0x1898aa,JSON[_0x4a655e(0x83)](_0x5d99ba['IXumV']),_0x5d99ba[_0x4a655e(0x112)]);})();}catch(_0x105f8b){logger[_0x391a96(0xbd)](_0x391a96(0x105)+_0x105f8b);}try{if(this['currentTest'][_0x391a96(0xfc)]&&globals['getGlobal'](_0x5d99ba['DnGMq'])&&globals[_0x391a96(0xae)](_0x5d99ba[_0x391a96(0xfb)])){logger[_0x391a96(0x111)](_0x5d99ba['qSEjR']);const _0x181e90={};_0x181e90[_0x391a96(0x6d)]=this[_0x391a96(0xd6)]['testAnalyticsId'],_0x181e90[_0x391a96(0x98)]=process[_0x391a96(0xf3)][testHubConstants[_0x391a96(0xce)]['BROWSERSTACK_TESTHUB_UUID']],_0x181e90[_0x391a96(0xf2)]=process[_0x391a96(0xf3)][testHubConstants['ENV_VAR'][_0x391a96(0xc8)]];const _0x15f493=_0x181e90;logger[_0x391a96(0xbd)](_0x391a96(0xf1)+JSON[_0x391a96(0x83)](_0x15f493)),logger[_0x391a96(0xbd)](_0x5d99ba[_0x391a96(0xa8)]);const _0x4a23f1={};_0x4a23f1[_0x391a96(0xe5)]=_0x5d99ba[_0x391a96(0x114)],await PerformanceTester[_0x391a96(0xee)](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x4992bb=_0x391a96;logger[_0x4992bb(0xbd)](util[_0x4992bb(0xf0)](await global['__drivers'][0x0][_0x4992bb(0x72)](scripts[_0x4992bb(0x9b)],{'method':global[_0x4992bb(0xa6)]})));},_0x4a23f1)(),await PerformanceTester['measureWrapper'](PerformanceA11yEvents[_0x391a96(0x93)],async()=>{const _0x3c3195=_0x391a96;await global[_0x3c3195(0xf8)][0x0][_0x3c3195(0x72)](scripts[_0x3c3195(0xb8)],_0x15f493);})(),logger[_0x391a96(0x111)](_0x5d99ba[_0x391a96(0xb2)]);}}catch(_0x55d62c){logger[_0x391a96(0x109)](_0x391a96(0xa9)+this[_0x391a96(0xd6)][_0x391a96(0xd8)]()+_0x391a96(0x7e),_0x55d62c);}try{try{if(_0x5d99ba[_0x391a96(0x10c)](shouldProcessEventForTesthub)){global['__drivers'][0x0]&&await _0x5d99ba[_0x391a96(0x113)](sendPlatformDetails,global[_0x391a96(0xf8)][0x0],this['currentTest']?this[_0x391a96(0xd6)]['testAnalyticsId']:null);if(_0x5d99ba[_0x391a96(0xf6)](isBrowserstackInfra)){PerformanceTester[_0x391a96(0x10b)](PerformanceO11yEvents[_0x391a96(0xb1)]);const _0x2ead2d='ObservabilitySync:'+Date[_0x391a96(0xf7)]();await _0x5d99ba['rkiBG'](_0x1898aa,JSON[_0x391a96(0x83)](_0x2ead2d),_0x5d99ba['GJaZY']),PerformanceTester['end'](PerformanceO11yEvents[_0x391a96(0xb1)]);}}}catch(_0xdeb2ef){logger[_0x391a96(0xbd)](_0x391a96(0x92)+_0xdeb2ef),PerformanceTester['end'](PerformanceO11yEvents[_0x391a96(0xb1)],![],_0xdeb2ef);}_0x5d99ba[_0x391a96(0xdf)](global[_0x391a96(0xf8)][0x0]['quitCount_'],0x0)&&await global[_0x391a96(0x94)]();}catch(_0x1b49e4){logger[_0x391a96(0xbd)](_0x391a96(0xbb)+_0x1b49e4);}_0x5d99ba[_0x391a96(0xfd)](_0x3e3893);})[_0x5ed627(0xb4)](()=>{const _0x56410c=_0x5ed627;_0x5cec9f[_0x56410c(0x97)](_0x4b5a6);});},{'platform':_0x5cec9f['MsNVw'](nestedKeyValue,global[_0xb9539(0x6e)],[_0x5cec9f[_0xb9539(0xbc)]]),'hookType':_0x5cec9f[_0xb9539(0x80)]})();},'afterAll'(_0x147a06){const _0x51b636=a32_0x2b863a,_0x598855={'ljWjw':function(_0x22539a){return _0x22539a();},'BKzVg':function(_0x5aa29f){return _0x5aa29f();},'pcPVd':function(_0x2f577b,_0x48aaf6,_0x4a047){return _0x2f577b(_0x48aaf6,_0x4a047);},'MAJtK':_0x51b636(0xd4),'GMqlp':_0x51b636(0x6f)},_0x1e1d1f='browserstack internal helper hook';this[_0x51b636(0x115)](0xfde8),PerformanceTester[_0x51b636(0xee)](PerformanceSdkEvents[_0x51b636(0xc6)],()=>{const _0x5deee7=_0x51b636,_0x43de03={'rqhch':function(_0x5d31ff){return _0x598855['ljWjw'](_0x5d31ff);},'BqnuY':function(_0x3c46c5){return _0x598855['BKzVg'](_0x3c46c5);}};new Promise(async _0x5c4445=>{const _0x58d780=a32_0x3501;await global[_0x58d780(0x94)](),_0x43de03['rqhch'](_0x5c4445);})['then']()[_0x5deee7(0x8d)](()=>{_0x43de03['BqnuY'](_0x147a06);});},{'platform':_0x598855[_0x51b636(0xe2)](nestedKeyValue,global[_0x51b636(0x6e)],[_0x598855[_0x51b636(0x117)]]),'hookType':_0x598855[_0x51b636(0xff)]})();}};function a32_0x4e9a(){const _0x520c7c=['DzToQ','protocol','message','stringify','SESSION_STATUS','beforeEach','usWnj','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','gMcse','../../helpers/helper','startMonitoring','jyXoz','17FNbtDS','finally','IoPNP','IuOKe','rMRRU','iKBBI','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','SAVE_RESULTS','driverCleanup','percy','131830mhWZLB','NGmGM','thBuildUuid','1285175IikZmA','XSxPa','performScan','getCurrentUrl','KDDlD','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','afterEach','length','afterTest','yKQNe','MsNVw','LRuyy','browserstackSessionName','../../helpers/performance/constants','jMXIb','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','jdhJt','https:','ofAij','AWnLU','getGlobal','HqvUe','isAccessibilityPlatform','SYNC','tiDZX','ZLKrE','then','2776620KAJqsf','2040882DwpkAL','QdAuh','saveTestResults','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','iFrfb','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','zFvpA','debug','http:','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','shift','TCInm','winstonLogger','mochaHooks','testcase','passed','SDK_HOOK','61986KNRHPR','BROWSERSTACK_TESTHUB_JWT','YBcBs','capabilities','err','../../helpers/testhub/utils','beforeAll','ENV_VAR','sessionName','161Rqkrsf','percyCaptureMode','Passed','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','index','puuPT','currentTest','push','titlePath','isArray','Yhpol','uRcch','WalxJ','MsJVA','UszGL','zrYnX','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','qRtAs','pcPVd','junHm','__error_messages__','command','jnDIQ','FDBoF','HqxzL','twBCG','LGOdO','util','\x20-\x20',',\x22level\x22:\x20\x22','measureWrapper','iAMxa','format','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','thJwtToken','env','RGOlt','../../helpers/logger','kBgiG','now','__drivers','../../helpers/accessibility-automation/scripts','RCZxK','kWKhl','accessibilityScanStarted','UINWa','231480sJCmoV','GMqlp','shouldScanTestForAccessibility','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ijHwy','Failed:\x20','cBMGf','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','uVWSK','executeScript','__sessionFailed','error','eQBJp','start','metVw','masaN','../../helpers/globals','app','3734652vNsUwI','info','flKgh','rkiBG','JTemI','timeout','LkAgd','MAJtK','WBnpZ','initQuit','HEKmr','\x20|\x20','appium:app','NnNWB','thTestRunUuid','__platformCaps','afterAll','vkApv','FrxEy','executeAsyncScript','VwSwT','browserstackTestName','failed','AwrTY','693unwJFn','mmWrI','Failed\x20to\x20store\x20session\x20name:\x20','eupuJ','./test-observability/mochaUtils','join','iLlCO','.\x20Error\x20:','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'];a32_0x4e9a=function(){return _0x520c7c;};return a32_0x4e9a();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a33_0x2caf38=a33_0x2368;(function(_0x2ca2af,_0x27f4b5){const _0x57df61=a33_0x2368,_0x17d8af=_0x2ca2af();while(!![]){try{const _0x24ad49=-parseInt(_0x57df61(0xa4))/0x1*(-parseInt(_0x57df61(0x76))/0x2)+-parseInt(_0x57df61(0x98))/0x3+parseInt(_0x57df61(0x95))/0x4*(parseInt(_0x57df61(0xb0))/0x5)+-parseInt(_0x57df61(0xb8))/0x6+-parseInt(_0x57df61(0x7b))/0x7+-parseInt(_0x57df61(0x83))/0x8*(-parseInt(_0x57df61(0xad))/0x9)+-parseInt(_0x57df61(0xb9))/0xa;if(_0x24ad49===_0x27f4b5)break;else _0x17d8af['push'](_0x17d8af['shift']());}catch(_0x1b2164){_0x17d8af['push'](_0x17d8af['shift']());}}}(a33_0x25b4,0xe1106));const fs=require('fs'),path=require(a33_0x2caf38(0x72)),{spawn}=require(a33_0x2caf38(0x97)),logger=require(a33_0x2caf38(0xaf))[a33_0x2caf38(0x8c)],{default:BrowserStackSetup}=require(a33_0x2caf38(0xb2)),helper=require(a33_0x2caf38(0x9a)),constants=require(a33_0x2caf38(0x94)),getUserNightwatchConfigs=(_0x24e38b,_0xa7bdff)=>{const _0x26286c=a33_0x2caf38,_0x458f4e={'UdPOv':'nightwatch.conf.js','ebOBy':_0x26286c(0x78),'pFwOR':function(_0x461ec0,_0xe03652){return _0x461ec0(_0xe03652);},'Qvbiz':_0x26286c(0x9c)};let _0x3152dc=null,_0x355e1f={};const _0x595041=_0xa7bdff['findIndex'](_0xab467d=>_0xab467d===_0x26286c(0x89));if(!helper[_0x26286c(0x71)](_0x24e38b[_0x26286c(0xa8)])&&fs[_0x26286c(0x7a)](path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x24e38b[_0x26286c(0xa8)])))_0x3152dc=path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x24e38b['config']),_0xa7bdff['splice'](_0x595041,0x2);else{if(fs[_0x26286c(0x7a)](path['join'](process['cwd'](),_0x458f4e[_0x26286c(0x91)])))_0x3152dc=path[_0x26286c(0xab)](process['cwd'](),_0x458f4e[_0x26286c(0x91)]);else fs[_0x26286c(0x7a)](path[_0x26286c(0xab)](process[_0x26286c(0x8a)](),_0x458f4e[_0x26286c(0xa0)]))&&(_0x3152dc=path[_0x26286c(0xab)](process['cwd'](),_0x458f4e[_0x26286c(0xa0)]));}return _0x3152dc?(logger['info'](_0x26286c(0x81)+_0x3152dc),_0x355e1f=_0x458f4e[_0x26286c(0x7e)](require,_0x3152dc)):logger[_0x26286c(0x87)](_0x458f4e[_0x26286c(0x9d)]),_0x355e1f;},removeExistingEnvs=_0x51c734=>{const _0x745804=a33_0x2caf38,_0x1169e0={};_0x1169e0[_0x745804(0xa5)]=function(_0x1c99d6,_0x578127){return _0x1c99d6>_0x578127;},_0x1169e0[_0x745804(0x86)]=function(_0x313b43,_0x4f7468){return _0x313b43>_0x4f7468;};const _0x5264fd=_0x1169e0;let _0x494c6d=_0x51c734[_0x745804(0xbc)](_0x1f478a=>_0x1f478a===_0x745804(0x93));_0x5264fd[_0x745804(0xa5)](_0x494c6d,-0x1)&&_0x51c734[_0x745804(0x74)](_0x494c6d,0x2),_0x494c6d=_0x51c734[_0x745804(0xbc)](_0x2eb0c2=>_0x2eb0c2==='-e'),_0x5264fd[_0x745804(0x86)](_0x494c6d,-0x1)&&_0x51c734[_0x745804(0x74)](_0x494c6d,0x2);};function run(_0x606d72,_0x446ed6){const _0x4436f9=a33_0x2caf38,_0xa01a48={'fDeto':'nightwatch','fHbsY':function(_0x171034,_0x55d4de){return _0x171034+_0x55d4de;},'fLXJU':_0x4436f9(0x85),'QeomP':function(_0xeff122,_0x3497ab,_0x5e3d67){return _0xeff122(_0x3497ab,_0x5e3d67);},'NBjdo':'hub.browserstack.com','SRapW':'Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','kfUqF':function(_0x1a0436,_0x110fde){return _0x1a0436===_0x110fde;},'JSqOA':_0x4436f9(0x92),'yhcvj':function(_0x6b9619,_0x24384a){return _0x6b9619(_0x24384a);},'krfok':function(_0x41bd38,_0x5a6406,_0x2399d1,_0x3e0225){return _0x41bd38(_0x5a6406,_0x2399d1,_0x3e0225);},'dpNwb':'nightwatch.cmd','wuhjR':'--config','LmzHW':_0x4436f9(0x93),'Sidml':_0x4436f9(0xb3),'vjKUP':_0x4436f9(0x8f)},_0xa9137b=new BrowserStackSetup(_0x606d72);if(!_0xa9137b['config'])return;const _0x52b168=_0xa01a48[_0x4436f9(0xa3)](getUserNightwatchConfigs,_0x606d72,_0x446ed6),_0x25f3fc={};_0x25f3fc['start_process']=![];const _0x3c8031={};_0x3c8031[_0x4436f9(0xa7)]=_0xa01a48[_0x4436f9(0x6f)],_0x3c8031[_0x4436f9(0xb7)]=0x1bb;const _0x208d19={};_0x208d19[_0x4436f9(0xa1)]=_0x25f3fc,_0x208d19['selenium']=_0x3c8031;const _0x4342c9=_0x208d19;logger[_0x4436f9(0x87)](_0xa01a48[_0x4436f9(0xb1)]);const _0x3d8a62={..._0x52b168},_0x6304cd=_0x3d8a62,_0x438d73=helper[_0x4436f9(0x70)](_0xa9137b[_0x4436f9(0xa8)]),_0x162740=[];_0xa9137b[_0x4436f9(0xa8)][_0x4436f9(0x8e)][_0x4436f9(0x77)]((_0x2a0a38,_0x5d63b6)=>{const _0x436e7e=_0x4436f9;_0x438d73?_0x162740[_0x436e7e(0x88)](helper[_0x436e7e(0xa2)](_0xa9137b[_0x436e7e(0xa8)],_0xa01a48[_0x436e7e(0x96)],_0x5d63b6)):_0x162740[_0x436e7e(0x88)](helper[_0x436e7e(0x73)](_0xa9137b['config'],_0xa01a48[_0x436e7e(0x96)],_0x5d63b6));});const _0x40b4b1={},_0x3ded89=[];_0x606d72[_0x4436f9(0xb6)]=_0x606d72['env']||_0x606d72['e'];const _0x92f3e5=_0x606d72[_0x4436f9(0xb6)]?_0x606d72[_0x4436f9(0xb6)][_0x4436f9(0xba)]()[_0x4436f9(0x7d)](',')[_0x4436f9(0x90)](_0x36ea69=>_0x36ea69['trim']())[_0x4436f9(0x9b)](_0x47a635=>_0x47a635!==''):[''];_0xa01a48['kfUqF'](_0x92f3e5[_0x4436f9(0x75)],0x0)&&_0x92f3e5[_0x4436f9(0x88)]('');_0x92f3e5[_0x4436f9(0x77)](_0x17c44c=>{const _0x20b3a0=_0x4436f9;_0x162740[_0x20b3a0(0x77)](_0x370292=>{const _0x1cd8d4=_0x20b3a0;let _0x1d304b=_0xa01a48[_0x1cd8d4(0x79)](helper[_0x1cd8d4(0xa9)](_0x370292,'_'),'_'+Date[_0x1cd8d4(0x8d)]());_0x17c44c&&(_0x1d304b+='_'+_0x17c44c);if(_0x17c44c&&(!_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]]||!_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]][_0x17c44c]))return;const _0x2c4a3f={..._0x4342c9};_0x2c4a3f[_0x1cd8d4(0xb4)]=_0x370292;const _0x3fa860=_0x2c4a3f;_0x40b4b1[_0x1d304b]=_0x17c44c?helper[_0x1cd8d4(0x82)](_0x52b168[_0xa01a48[_0x1cd8d4(0x99)]][_0x17c44c],_0x3fa860):_0x3fa860,_0x3ded89[_0x1cd8d4(0x88)](_0x1d304b);});});!_0x6304cd[_0x4436f9(0x85)]&&(_0x6304cd['test_settings']={});_0x6304cd[_0x4436f9(0x85)]={..._0x6304cd[_0x4436f9(0x85)],..._0x40b4b1};const _0x369d62=path[_0x4436f9(0xab)](__dirname,_0xa01a48[_0x4436f9(0x84)]);fs[_0x4436f9(0xa6)](_0x369d62,JSON[_0x4436f9(0xaa)](_0x6304cd)),_0xa01a48[_0x4436f9(0x7f)](removeExistingEnvs,_0x446ed6);const _0x2a0dc7=_0xa01a48[_0x4436f9(0x80)](spawn,/^win/['test'](process['platform'])?_0xa01a48['dpNwb']:_0xa01a48['fDeto'],[_0xa01a48['wuhjR'],_0x369d62,..._0x446ed6[_0x4436f9(0xac)](0x1),_0xa01a48[_0x4436f9(0x9e)],_0x3ded89[_0x4436f9(0xab)](',')],{'stdio':_0xa01a48[_0x4436f9(0xbb)]});_0x2a0dc7['on'](_0xa01a48[_0x4436f9(0xae)],async _0x3bb5bd=>{const _0x273be6=_0x4436f9;logger[_0x273be6(0x7c)]('child\x20process\x20exited\x20with\x20code\x20'+_0x3bb5bd),logger[_0x273be6(0x87)](_0x273be6(0xb5)+_0x369d62),fs[_0x273be6(0x9f)](_0x369d62);});}function a33_0x2368(_0x445d7a,_0x303e3b){const _0x25b479=a33_0x25b4();return a33_0x2368=function(_0x23689a,_0x3c62b0){_0x23689a=_0x23689a-0x6f;let _0x851c6c=_0x25b479[_0x23689a];return _0x851c6c;},a33_0x2368(_0x445d7a,_0x303e3b);}function a33_0x25b4(){const _0x419c4b=['--config','cwd','exports','winstonLogger','now','platforms','close','map','UdPOv','nightwatch-browserstack.json','--env','../utils/constants','4548644HWMEZr','fDeto','child_process','1132524IYsVXD','fLXJU','../../helpers/helper','filter','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Qvbiz','LmzHW','unlinkSync','ebOBy','webdriver','modifyBrowserStackW3CCaps','QeomP','20294UkyjXV','eZnSY','writeFileSync','host','config','getPlatformName','stringify','join','slice','375327FGgLks','vjKUP','../../helpers/logger','5YZrXrC','SRapW','../../helpers/BrowserStackSetup','inherit','desiredCapabilities','Deleting\x20','env','port','1314228fCElAA','9376410UuelSq','trim','Sidml','findIndex','NBjdo','useW3C','isUndefined','path','modifyBrowserStackCaps','splice','length','146zJNBwj','forEach','nightwatch.json','fHbsY','existsSync','2597623oBhiBt','debug','split','pFwOR','yhcvj','krfok','Getting\x20your\x20nightwatch\x20configs\x20from\x20','mergeDeep','40UHXLqj','JSqOA','test_settings','yPJiU','info','push'];a33_0x25b4=function(){return _0x419c4b;};return a33_0x25b4();}module[a33_0x2caf38(0x8b)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a34_0x5bc5(_0x17cdcd,_0x2513fa){const _0x2548cb=a34_0x2548();return a34_0x5bc5=function(_0x5bc5d7,_0x2b6336){_0x5bc5d7=_0x5bc5d7-0x101;let _0x16e3f6=_0x2548cb[_0x5bc5d7];return _0x16e3f6;},a34_0x5bc5(_0x17cdcd,_0x2513fa);}const a34_0x4b4175=a34_0x5bc5;(function(_0x432c1b,_0x271a1e){const _0x32fe18=a34_0x5bc5,_0x3c3648=_0x432c1b();while(!![]){try{const _0x4183dd=parseInt(_0x32fe18(0x12d))/0x1+-parseInt(_0x32fe18(0x14a))/0x2*(parseInt(_0x32fe18(0x11e))/0x3)+-parseInt(_0x32fe18(0x11d))/0x4*(-parseInt(_0x32fe18(0x124))/0x5)+parseInt(_0x32fe18(0x113))/0x6*(parseInt(_0x32fe18(0x123))/0x7)+parseInt(_0x32fe18(0x14d))/0x8*(-parseInt(_0x32fe18(0x13d))/0x9)+parseInt(_0x32fe18(0x116))/0xa*(parseInt(_0x32fe18(0x107))/0xb)+parseInt(_0x32fe18(0x13f))/0xc*(parseInt(_0x32fe18(0x134))/0xd);if(_0x4183dd===_0x271a1e)break;else _0x3c3648['push'](_0x3c3648['shift']());}catch(_0x2d70ce){_0x3c3648['push'](_0x3c3648['shift']());}}}(a34_0x2548,0x49e41));function a34_0x2548(){const _0x20fb81=['debug','parse','pcHOq','Ynfje','../../helpers/accessibility-automation/scripts','util','accessibilityOptions','name','xUVTP','UpeIs','FlOWM','AxYGe','KPIDM','playwright-chromium','../../helpers/accessibility-automation/helper','QgqpM','PbvZN','warn','hlWMk','NNzJK','env','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','ZMZoP','latest','wcagVersion','jhlnf','constructor','executeScript','vryDB','347798IWyDfc','FiIIs','NxLMf','accessibilityOptions.includeIssueType.needsReview','error','BjKwz','stringify','PoJhO','accessibilityOptions.includeIssueType.bestPractice','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/helper','browser','4410czFXxt','jtcQq','pFmbR','160jjwMVA','(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','includeIssueType','accessibilityOptions.scannerProcessingTimeout','wsEndpoint','getAccessibilityResults','szPdO','4tqyJAD','1765839JUBOFu','JvMib','method','needsReview','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','735huPXIu','184155pzLMur','executeAsyncScript','getAccessibilityResultsSummary','Playwright','currentTest','JvzNh','../../helpers/logger','RFssI','winstonLogger','166529zapAIl','ZYmBi','AgcLy','connectOptions','vsRIu','bstackSdkArgs','chrome','611jEFGcv','mfFEt','accessibilityPlatform','LnjrQ','testInfo','replace','htCTK','browserName','jrtpQ','4172139FzPqbn','NJJKT','145128uMOXLX','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','format','processAccessibilityCaps','fybOs','scannerProcessingTimeout','WebDriver','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','performScan','HrlhY','use','2nDLzun','browserStackExecuteDriver','oAzGy','8lFZBRF','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','bestPractice','setAccessibilityCapabilities'];a34_0x2548=function(){return _0x20fb81;};return a34_0x2548();}const util=require(a34_0x4b4175(0x156)),logger=require(a34_0x4b4175(0x12a))[a34_0x4b4175(0x12c)],{isAccessibilityAutomationSession}=require(a34_0x4b4175(0x15f)),{isUndefined}=require(a34_0x4b4175(0x111)),scripts=require(a34_0x4b4175(0x155));exports['browserStackEvaluate']=async(_0xf31de9,_0x38527e,_0x211a22={})=>{const _0x4bccf7=a34_0x4b4175,_0x397630={};_0x397630['oAzGy']=_0x4bccf7(0x132);const _0x3fc690=_0x397630;return await _0xf31de9['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x38527e[_0x4bccf7(0x139)](/arguments/g,_0x3fc690[_0x4bccf7(0x14c)])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x211a22)+')');},exports[a34_0x4b4175(0x14b)]=async(_0x8aa9c,_0x1b0360,_0x5e4953={})=>{const _0x1a43cb=a34_0x4b4175,_0x309b5f={};_0x309b5f[_0x1a43cb(0x163)]=function(_0x2f5f32,_0x55c101){return _0x2f5f32===_0x55c101;},_0x309b5f['PbvZN']=_0x1a43cb(0x145),_0x309b5f['pFmbR']=function(_0x59969a,_0x5774b0){return _0x59969a===_0x5774b0;},_0x309b5f[_0x1a43cb(0x103)]=_0x1a43cb(0x127),_0x309b5f[_0x1a43cb(0x114)]=_0x1a43cb(0x132);const _0x5bac5c=_0x309b5f;if(_0x5bac5c[_0x1a43cb(0x163)](_0x8aa9c['constructor'][_0x1a43cb(0x158)],_0x5bac5c[_0x1a43cb(0x161)]))return await _0x8aa9c[_0x1a43cb(0x125)](_0x1b0360,_0x5e4953);else{if(_0x5bac5c[_0x1a43cb(0x115)](_0x8aa9c[_0x1a43cb(0x104)][_0x1a43cb(0x158)],_0x5bac5c[_0x1a43cb(0x103)]))return await _0x8aa9c[_0x1a43cb(0x105)](_0x1a43cb(0x117)+_0x1b0360[_0x1a43cb(0x139)](/arguments/g,_0x5bac5c[_0x1a43cb(0x114)])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x1a43cb(0x10d)](_0x5e4953)+')');}},exports[a34_0x4b4175(0x150)]=async _0x311f9a=>{const _0x5bbc59=a34_0x4b4175,_0x55d51c={};_0x55d51c[_0x5bbc59(0x131)]='accessibilityOptions.wcagVersion',_0x55d51c['KPIDM']=_0x5bbc59(0x119),_0x55d51c[_0x5bbc59(0x12b)]=_0x5bbc59(0x10f),_0x55d51c[_0x5bbc59(0x15c)]=_0x5bbc59(0x10a),_0x55d51c['NJJKT']='accessibilityOptions.authToken',_0x55d51c[_0x5bbc59(0x106)]='accessibilityOptions.scannerVersion';const _0x52b853=_0x55d51c;_0x311f9a[_0x5bbc59(0x157)]&&(_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x102)]&&(_0x311f9a[_0x52b853[_0x5bbc59(0x131)]]=_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x102)]),_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x144)]&&(_0x311f9a[_0x52b853[_0x5bbc59(0x15d)]]=_0x311f9a[_0x5bbc59(0x157)][_0x5bbc59(0x144)]),_0x311f9a[_0x5bbc59(0x157)]['includeIssueType']&&(_0x311f9a[_0x52b853[_0x5bbc59(0x12b)]]=_0x311f9a['accessibilityOptions'][_0x5bbc59(0x118)][_0x5bbc59(0x14f)],_0x311f9a[_0x52b853[_0x5bbc59(0x15c)]]=_0x311f9a[_0x5bbc59(0x157)]['includeIssueType'][_0x5bbc59(0x121)]));const _0x5baa27=JSON[_0x5bbc59(0x152)](process[_0x5bbc59(0x165)][_0x5bbc59(0x146)])['scannerVersion'];_0x311f9a[_0x52b853[_0x5bbc59(0x13e)]]=process[_0x5bbc59(0x165)]['BS_A11Y_JWT'],_0x311f9a[_0x52b853[_0x5bbc59(0x106)]]=_0x5baa27,delete _0x311f9a[_0x5bbc59(0x157)];},exports[a34_0x4b4175(0x11b)]=async _0x176298=>{const _0x38e4a8=a34_0x4b4175,_0x388a78={};_0x388a78[_0x38e4a8(0x109)]='No\x20accessibility\x20results\x20were\x20found.',_0x388a78[_0x38e4a8(0x129)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.';const _0x4fc181=_0x388a78;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x176298,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x176298,scripts.getResults);return res;}catch{return logger[_0x38e4a8(0x10b)](_0x4fc181['NxLMf']),[];}else return logger[_0x38e4a8(0x162)](_0x4fc181[_0x38e4a8(0x129)]),[];},exports['performScan']=async(_0x4a2737,_0x385904='')=>{const _0x4d87a9=a34_0x4b4175;if(global[_0x4d87a9(0x136)]){const _0x2b0a0e={};return _0x2b0a0e[_0x4d87a9(0x120)]=_0x385904,await exports['browserStackEvaluate'](_0x4a2737,scripts[_0x4d87a9(0x147)],_0x2b0a0e);}},exports[a34_0x4b4175(0x126)]=async _0x1be1c9=>{const _0x322b3a=a34_0x4b4175,_0x4633c7={};_0x4633c7['rURbN']='No\x20summaryResults\x20found.',_0x4633c7[_0x322b3a(0x154)]=_0x322b3a(0x110);const _0x54abd7=_0x4633c7;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x1be1c9,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x1be1c9,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x322b3a(0x151)](_0x54abd7['rURbN']),{};}else return logger[_0x322b3a(0x162)](_0x54abd7[_0x322b3a(0x154)]),{};},exports['platformValidation']=async _0x4b8620=>{const _0x5200d8=a34_0x4b4175,_0x526ebd={'MeFsW':function(_0x2b5d94,_0x5e7079){return _0x2b5d94!==_0x5e7079;},'FqXdE':_0x5200d8(0x140),'AgcLy':function(_0x3a7557,_0x4a9db7){return _0x3a7557===_0x4a9db7;},'PoJhO':_0x5200d8(0x133),'LnjrQ':_0x5200d8(0x15e),'FlOWM':_0x5200d8(0x166),'HrlhY':function(_0x16372a,_0x329f38){return _0x16372a(_0x329f38);},'UpeIs':function(_0xd35804,_0x42d937){return _0xd35804===_0x42d937;},'JvMib':_0x5200d8(0x101),'QgqpM':function(_0x2170ad,_0x5018c9){return _0x2170ad>_0x5018c9;},'pcHOq':_0x5200d8(0x122)};try{if(!_0x526ebd['MeFsW'](_0x4b8620['deviceName'],''))return logger[_0x5200d8(0x162)](_0x526ebd['FqXdE']),![];const _0x41c020=_0x4b8620[_0x5200d8(0x112)];if(!(_0x526ebd[_0x5200d8(0x12f)](_0x41c020,_0x526ebd[_0x5200d8(0x10e)])||_0x526ebd[_0x5200d8(0x12f)](_0x41c020,_0x526ebd[_0x5200d8(0x137)])))return logger[_0x5200d8(0x162)](_0x526ebd[_0x5200d8(0x15b)]),![];const _0x38c22c=_0x526ebd[_0x5200d8(0x148)](parseInt,_0x4b8620['browser_version']);if(!(_0x526ebd[_0x5200d8(0x15a)](_0x38c22c,_0x526ebd[_0x5200d8(0x11f)])||_0x526ebd[_0x5200d8(0x160)](_0x38c22c,0x5e)))return logger[_0x5200d8(0x162)](_0x526ebd[_0x5200d8(0x153)]),![];}catch(_0x19df16){logger[_0x5200d8(0x151)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0x5200d8(0x141)](_0x19df16));}return!![];},exports[a34_0x4b4175(0x142)]=(_0x4f98fc,_0x5a3b89,_0x419342)=>{const _0x510f82=a34_0x4b4175,_0x48f9a1={'ZMZoP':function(_0x4103ca){return _0x4103ca();},'FiIIs':'browserstack.accessibility','fybOs':function(_0x8e3630,_0x31c9a1){return _0x8e3630===_0x31c9a1;},'QIAhI':_0x510f82(0x133),'NNzJK':'playwright-chromium','xUVTP':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','szPdO':function(_0x2aef12,_0x591bfb){return _0x2aef12===_0x591bfb;},'GJmwW':_0x510f82(0x101),'mfFEt':function(_0x211ded,_0x46e460){return _0x211ded>_0x46e460;},'htCTK':_0x510f82(0x122),'jrtpQ':function(_0x43d5c2,_0x272c71){return _0x43d5c2(_0x272c71);},'BjKwz':_0x510f82(0x140),'ZYmBi':function(_0x1d060f,_0x8f7f7){return _0x1d060f+_0x8f7f7;}};try{if(_0x48f9a1[_0x510f82(0x167)](isAccessibilityAutomationSession)){global[_0x510f82(0x136)]=!![];!_0x4f98fc[_0x48f9a1['FiIIs']]&&(global[_0x510f82(0x136)]=![]);!(_0x48f9a1[_0x510f82(0x143)](_0x4f98fc['browserName'],_0x48f9a1['QIAhI'])||_0x48f9a1[_0x510f82(0x143)](_0x4f98fc[_0x510f82(0x13b)],_0x48f9a1[_0x510f82(0x164)]))&&(logger[_0x510f82(0x162)](_0x48f9a1[_0x510f82(0x159)]),global[_0x510f82(0x136)]=![]);!(_0x48f9a1[_0x510f82(0x11c)](_0x4f98fc['browser_version'],_0x48f9a1['GJmwW'])||_0x48f9a1[_0x510f82(0x135)](_0x4f98fc['browser_version'],0x5e))&&(logger[_0x510f82(0x162)](_0x48f9a1[_0x510f82(0x13a)]),global['accessibilityPlatform']=![]);!_0x48f9a1[_0x510f82(0x13c)](isUndefined,_0x4f98fc['deviceName'])&&(logger['warn'](_0x48f9a1[_0x510f82(0x10c)]),global[_0x510f82(0x136)]=![]);if(!global[_0x510f82(0x136)]){_0x4f98fc[_0x48f9a1[_0x510f82(0x108)]]=![];const _0x39c8c5=_0x48f9a1[_0x510f82(0x12e)](_0x5a3b89,_0x48f9a1[_0x510f82(0x13c)](encodeURIComponent,JSON[_0x510f82(0x10d)](_0x4f98fc)));_0x419342&&(_0x419342[_0x510f82(0x128)][_0x510f82(0x138)]['project']['use'][_0x510f82(0x130)]['wsEndpoint']=_0x39c8c5,_0x419342['workerInfo']['project'][_0x510f82(0x149)][_0x510f82(0x130)][_0x510f82(0x11a)]=_0x39c8c5);}}}catch(_0x5774cd){logger[_0x510f82(0x151)](_0x510f82(0x14e)+util[_0x510f82(0x141)](_0x5774cd));}};
|
|
1
|
+
const a34_0x18aecc=a34_0x4d9c;function a34_0x4d9c(_0x40512e,_0x20430a){const _0x44c364=a34_0x44c3();return a34_0x4d9c=function(_0x4d9cf4,_0xc74ab0){_0x4d9cf4=_0x4d9cf4-0x81;let _0x577ef2=_0x44c364[_0x4d9cf4];return _0x577ef2;},a34_0x4d9c(_0x40512e,_0x20430a);}(function(_0x283bad,_0x343e25){const _0x34a073=a34_0x4d9c,_0x23121e=_0x283bad();while(!![]){try{const _0x10065c=-parseInt(_0x34a073(0xe8))/0x1+-parseInt(_0x34a073(0xd2))/0x2+-parseInt(_0x34a073(0x89))/0x3*(parseInt(_0x34a073(0xa8))/0x4)+parseInt(_0x34a073(0xa3))/0x5+-parseInt(_0x34a073(0xe3))/0x6*(parseInt(_0x34a073(0x96))/0x7)+-parseInt(_0x34a073(0xc3))/0x8+parseInt(_0x34a073(0xcc))/0x9;if(_0x10065c===_0x343e25)break;else _0x23121e['push'](_0x23121e['shift']());}catch(_0x3a279b){_0x23121e['push'](_0x23121e['shift']());}}}(a34_0x44c3,0x68b36));const util=require(a34_0x18aecc(0x99)),logger=require('../../helpers/logger')[a34_0x18aecc(0xca)],{isAccessibilityAutomationSession}=require(a34_0x18aecc(0x88)),{isUndefined}=require('../../helpers/helper'),scripts=require(a34_0x18aecc(0x8a)),PerformanceTester=require(a34_0x18aecc(0xe5)),{A11Y_EVENTS:PerformanceA11yEvents}=require(a34_0x18aecc(0xad));exports[a34_0x18aecc(0xc9)]=async(_0x3b8f21,_0x4eb1a7,_0x82830a={})=>{const _0xeedb32=a34_0x18aecc,_0x1c8774={};_0x1c8774[_0xeedb32(0xb9)]=_0xeedb32(0xa1);const _0x418497=_0x1c8774;return await _0x3b8f21[_0xeedb32(0xc1)]('(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'+_0x4eb1a7[_0xeedb32(0xb8)](/arguments/g,_0x418497[_0xeedb32(0xb9)])+_0xeedb32(0x92)+JSON[_0xeedb32(0x9b)](_0x82830a)+')');},exports['browserStackExecuteDriver']=async(_0x5ddbf5,_0x439c8a,_0xeb1616={})=>{const _0x20313d=a34_0x18aecc,_0x3486a1={};_0x3486a1[_0x20313d(0x84)]=function(_0x946156,_0xa207f8){return _0x946156===_0xa207f8;},_0x3486a1[_0x20313d(0xbc)]=_0x20313d(0xdd),_0x3486a1['DwVPl']=function(_0xb207ff,_0x4d82fc){return _0xb207ff===_0x4d82fc;},_0x3486a1[_0x20313d(0xc8)]=_0x20313d(0xaa),_0x3486a1[_0x20313d(0xc5)]='bstackSdkArgs';const _0x528a16=_0x3486a1;if(_0x528a16[_0x20313d(0x84)](_0x5ddbf5['constructor'][_0x20313d(0xc6)],_0x528a16['cUnUK']))return await _0x5ddbf5[_0x20313d(0xc2)](_0x439c8a,_0xeb1616);else{if(_0x528a16[_0x20313d(0x8b)](_0x5ddbf5[_0x20313d(0xb4)][_0x20313d(0xc6)],_0x528a16['UBfzo']))return await _0x5ddbf5[_0x20313d(0xcb)]('(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'+_0x439c8a[_0x20313d(0xb8)](/arguments/g,_0x528a16[_0x20313d(0xc5)])+_0x20313d(0xa6)+JSON[_0x20313d(0x9b)](_0xeb1616)+')');}},exports['setAccessibilityCapabilities']=async _0x466c9d=>{const _0x250dcb=a34_0x18aecc,_0x4909b4={};_0x4909b4[_0x250dcb(0xb5)]='accessibilityOptions.wcagVersion',_0x4909b4[_0x250dcb(0x9c)]=_0x250dcb(0x93),_0x4909b4[_0x250dcb(0x97)]=_0x250dcb(0xbd),_0x4909b4[_0x250dcb(0xcf)]='accessibilityOptions.includeIssueType.needsReview',_0x4909b4[_0x250dcb(0xe1)]=_0x250dcb(0xab),_0x4909b4[_0x250dcb(0xd5)]='accessibilityOptions.scannerVersion';const _0x2ae373=_0x4909b4;_0x466c9d[_0x250dcb(0xa5)]&&(_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xcd)]&&(_0x466c9d[_0x2ae373[_0x250dcb(0xb5)]]=_0x466c9d['accessibilityOptions']['wcagVersion']),_0x466c9d[_0x250dcb(0xa5)]['scannerProcessingTimeout']&&(_0x466c9d[_0x2ae373[_0x250dcb(0x9c)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0x91)]),_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)]&&(_0x466c9d[_0x2ae373[_0x250dcb(0x97)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)][_0x250dcb(0xb0)],_0x466c9d[_0x2ae373[_0x250dcb(0xcf)]]=_0x466c9d[_0x250dcb(0xa5)][_0x250dcb(0xd0)][_0x250dcb(0xd1)]));const _0x4a3841=JSON[_0x250dcb(0xaf)](process[_0x250dcb(0xa0)][_0x250dcb(0x9e)])[_0x250dcb(0x90)];_0x466c9d[_0x2ae373[_0x250dcb(0xe1)]]=process[_0x250dcb(0xa0)][_0x250dcb(0xde)],_0x466c9d[_0x2ae373['LKruV']]=_0x4a3841,delete _0x466c9d[_0x250dcb(0xa5)];},exports[a34_0x18aecc(0xdc)]=async _0x2ecc7f=>{const _0x3bbb0f=a34_0x18aecc,_0x4259f7={};_0x4259f7[_0x3bbb0f(0x85)]='No\x20accessibility\x20results\x20were\x20found.',_0x4259f7[_0x3bbb0f(0x8d)]=_0x3bbb0f(0xe0);const _0x16dcef=_0x4259f7;if(global[_0x3bbb0f(0xd6)])try{logger.debug('Performing scan before getting results');PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug(util.format(await exports.browserStackEvaluate(_0x2ecc7f,scripts.performScan)));},{command:'getAccessibilityResults'})();const res=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS,async()=>{return await exports.browserStackEvaluate(_0x2ecc7f,scripts.getResults);})();return res;}catch{return logger['error'](_0x16dcef[_0x3bbb0f(0x85)]),[];}else return logger['warn'](_0x16dcef[_0x3bbb0f(0x8d)]),[];},exports[a34_0x18aecc(0xac)]=async(_0x5915a8,_0x4ea181='')=>{if(global['accessibilityPlatform'])return await PerformanceTester['measureWrapper'](PerformanceA11yEvents['PERFORM_SCAN'],async()=>{const _0x39c905=a34_0x4d9c,_0x4255de={};_0x4255de['command']=_0x4ea181,await exports[_0x39c905(0xc9)](_0x5915a8,scripts['performScan'],_0x4255de);},{'command':_0x4ea181})();},exports[a34_0x18aecc(0xb3)]=async _0x2ceb3e=>{const _0x56e86b=a34_0x18aecc,_0x4d72a5={};_0x4d72a5['YsQra']=_0x56e86b(0xe6),_0x4d72a5['ehCAg']=_0x56e86b(0xd4);const _0xb2651b=_0x4d72a5;if(global['accessibilityPlatform'])try{await PerformanceTester.measureWrapper(PerformanceA11yEvents.PERFORM_SCAN,async()=>{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2ceb3e,scripts.performScan)));},{command:'getAccessibilityResultsSummary'})();const summaryResults=await PerformanceTester.measureWrapper(PerformanceA11yEvents.GET_RESULTS_SUMMARY,async()=>{return await exports.browserStackEvaluate(_0x2ceb3e,scripts.getResultsSummary);})();return summaryResults;}catch{return logger['debug'](_0xb2651b['YsQra']),{};}else return logger['warn'](_0xb2651b[_0x56e86b(0xe4)]),{};},exports[a34_0x18aecc(0x83)]=async _0x251228=>{const _0xfb3fad=a34_0x18aecc,_0x46faa0={'fSWib':function(_0xa5cd87,_0x53d1a7){return _0xa5cd87!==_0x53d1a7;},'BztSG':_0xfb3fad(0xd7),'HxabM':function(_0x26c82a,_0x15f77f){return _0x26c82a===_0x15f77f;},'SikrV':_0xfb3fad(0xa4),'OsIce':function(_0x521ab5,_0x3dd476){return _0x521ab5===_0x3dd476;},'JmBzb':_0xfb3fad(0xb7),'blgbp':_0xfb3fad(0x9f),'YCZEA':function(_0x411857,_0x8ef099){return _0x411857(_0x8ef099);},'cNRBJ':function(_0xeb4d33,_0x5bf051){return _0xeb4d33===_0x5bf051;},'kUZOn':_0xfb3fad(0xdb),'pBLie':function(_0x3ba99f,_0x219cb6){return _0x3ba99f>_0x219cb6;},'aMMVF':_0xfb3fad(0xc7)};try{if(!_0x46faa0[_0xfb3fad(0x82)](_0x251228[_0xfb3fad(0x86)],''))return logger[_0xfb3fad(0xda)](_0x46faa0['BztSG']),![];const _0x80fb99=_0x251228['browser'];if(!(_0x46faa0[_0xfb3fad(0xa9)](_0x80fb99,_0x46faa0['SikrV'])||_0x46faa0[_0xfb3fad(0xdf)](_0x80fb99,_0x46faa0[_0xfb3fad(0xba)])))return logger[_0xfb3fad(0xda)](_0x46faa0[_0xfb3fad(0xbf)]),![];const _0x41cd4b=_0x46faa0[_0xfb3fad(0xbe)](parseInt,_0x251228[_0xfb3fad(0xe2)]);if(!(_0x46faa0[_0xfb3fad(0x8c)](_0x41cd4b,_0x46faa0[_0xfb3fad(0xc0)])||_0x46faa0['pBLie'](_0x41cd4b,0x5e)))return logger[_0xfb3fad(0xda)](_0x46faa0['aMMVF']),![];}catch(_0x2ec38f){logger[_0xfb3fad(0xbb)]('Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20'+util[_0xfb3fad(0xe7)](_0x2ec38f));}return!![];},exports[a34_0x18aecc(0xb1)]=(_0xf5fa3b,_0x5696d1,_0x35778e)=>{const _0x52d6cc=a34_0x18aecc,_0x276561={'lYMwZ':function(_0x123ed6){return _0x123ed6();},'QNhje':_0x52d6cc(0x9d),'McqWs':function(_0x35712d,_0x688a8b){return _0x35712d===_0x688a8b;},'vlPGI':_0x52d6cc(0xa4),'VrPlm':function(_0x5256e7,_0x154f10){return _0x5256e7===_0x154f10;},'SopXh':_0x52d6cc(0xb7),'JQgYC':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','SZLiR':_0x52d6cc(0xdb),'khRqD':function(_0x224548,_0x1a9deb){return _0x224548>_0x1a9deb;},'hRhzC':_0x52d6cc(0xc7),'kZrBf':function(_0x3a8aac,_0xce9db){return _0x3a8aac(_0xce9db);},'oiZOL':_0x52d6cc(0xd7),'NNwBW':function(_0x303b09,_0xf3b46){return _0x303b09+_0xf3b46;}};try{if(_0x276561[_0x52d6cc(0x8f)](isAccessibilityAutomationSession)){global[_0x52d6cc(0xd6)]=!![];!_0xf5fa3b[_0x276561['QNhje']]&&(global[_0x52d6cc(0xd6)]=![]);!(_0x276561[_0x52d6cc(0x81)](_0xf5fa3b[_0x52d6cc(0xce)],_0x276561[_0x52d6cc(0x98)])||_0x276561['VrPlm'](_0xf5fa3b[_0x52d6cc(0xce)],_0x276561['SopXh']))&&(logger[_0x52d6cc(0xda)](_0x276561['JQgYC']),global[_0x52d6cc(0xd6)]=![]);!(_0x276561[_0x52d6cc(0x94)](_0xf5fa3b[_0x52d6cc(0xe2)],_0x276561[_0x52d6cc(0xa7)])||_0x276561[_0x52d6cc(0x87)](_0xf5fa3b[_0x52d6cc(0xe2)],0x5e))&&(logger['warn'](_0x276561[_0x52d6cc(0x95)]),global['accessibilityPlatform']=![]);!_0x276561['kZrBf'](isUndefined,_0xf5fa3b[_0x52d6cc(0x86)])&&(logger[_0x52d6cc(0xda)](_0x276561[_0x52d6cc(0xa2)]),global[_0x52d6cc(0xd6)]=![]);if(!global[_0x52d6cc(0xd6)]){_0xf5fa3b[_0x276561['QNhje']]=![];const _0x4e1592=_0x276561[_0x52d6cc(0xae)](_0x5696d1,_0x276561[_0x52d6cc(0xd3)](encodeURIComponent,JSON[_0x52d6cc(0x9b)](_0xf5fa3b)));_0x35778e&&(_0x35778e[_0x52d6cc(0xb2)]['testInfo'][_0x52d6cc(0x8e)]['use'][_0x52d6cc(0xc4)][_0x52d6cc(0x9a)]=_0x4e1592,_0x35778e[_0x52d6cc(0xb6)]['project'][_0x52d6cc(0xd8)]['connectOptions'][_0x52d6cc(0x9a)]=_0x4e1592);}}}catch(_0x1cd0a5){logger[_0x52d6cc(0xbb)](_0x52d6cc(0xd9)+util[_0x52d6cc(0xe7)](_0x1cd0a5));}};function a34_0x44c3(){const _0xf61454=['khRqD','../../helpers/accessibility-automation/helper','21lqHALu','../../helpers/accessibility-automation/scripts','DwVPl','cNRBJ','leRiy','project','lYMwZ','scannerVersion','scannerProcessingTimeout','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','VrPlm','hRhzC','258293kzpfzX','oFVJK','vlPGI','util','wsEndpoint','stringify','iZbiY','browserstack.accessibility','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','env','bstackSdkArgs','oiZOL','4135780cOjzhV','chrome','accessibilityOptions','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','SZLiR','9876KEzOvJ','HxabM','Playwright','accessibilityOptions.authToken','performScan','../../helpers/performance/constants','NNwBW','parse','bestPractice','processAccessibilityCaps','currentTest','getAccessibilityResultsSummary','constructor','JvzvB','workerInfo','playwright-chromium','replace','TGKUB','JmBzb','debug','cUnUK','accessibilityOptions.includeIssueType.bestPractice','YCZEA','blgbp','kUZOn','evaluate','executeAsyncScript','2323832zZBCGB','connectOptions','ATZyy','name','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','UBfzo','browserStackEvaluate','winstonLogger','executeScript','18028998XjNWCZ','wcagVersion','browserName','YWoAG','includeIssueType','needsReview','1170456sFnymc','kZrBf','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','LKruV','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','use','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','warn','latest','getAccessibilityResults','WebDriver','BS_A11Y_JWT','OsIce','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','pGWLr','browser_version','138HuQWsr','ehCAg','../../helpers/performance/performance-tester','No\x20summaryResults\x20found.','format','659857bqcnOs','McqWs','fSWib','platformValidation','rJuuq','IhsET','deviceName'];a34_0x44c3=function(){return _0xf61454;};return a34_0x44c3();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a35_0x5efd26=a35_0x5dae;function a35_0x5dae(_0x3036b7,_0x2bd7b6){const _0x1d6796=a35_0x1d67();return a35_0x5dae=function(_0x5dae41,_0x587e3c){_0x5dae41=_0x5dae41-0x76;let _0x13ccc2=_0x1d6796[_0x5dae41];return _0x13ccc2;},a35_0x5dae(_0x3036b7,_0x2bd7b6);}(function(_0x453073,_0x5a2f58){const _0x1df9ff=a35_0x5dae,_0x14209a=_0x453073();while(!![]){try{const _0x437076=-parseInt(_0x1df9ff(0xd4))/0x1*(-parseInt(_0x1df9ff(0xa1))/0x2)+parseInt(_0x1df9ff(0xd7))/0x3+-parseInt(_0x1df9ff(0xad))/0x4*(parseInt(_0x1df9ff(0xce))/0x5)+parseInt(_0x1df9ff(0xe4))/0x6+parseInt(_0x1df9ff(0xbb))/0x7+parseInt(_0x1df9ff(0xd1))/0x8+-parseInt(_0x1df9ff(0xff))/0x9;if(_0x437076===_0x5a2f58)break;else _0x14209a['push'](_0x14209a['shift']());}catch(_0x5ab883){_0x14209a['push'](_0x14209a['shift']());}}}(a35_0x1d67,0x757df));function a35_0x1d67(){const _0x4b9a42=['debug','--config=','ckbSW','Error\x20in\x20closing\x20playwright','nDTJO','testContextOptions','tyzJC','17061030LwVwHv','readFileSync','skipSessionName','isTypescriptProject','--config','getConfigPath','AiAuw','platform','getProxyUrl','FRzcu','pw_result.json','isTrue','errorMessage','../../helpers/logger','writeFileSync','npx','PzgqY','Deleting\x20','../../helpers/utilities','path','push','BROWSERSTACK_TEST_OBSERVABILITY','nestedKeyValue','Playwright\x20process\x20exited\x20with\x20code\x20','jAswg','inherit','testObservability','close','splice','true','finalExecution','PnXWr','filterBrowserstackArgs','config','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','rZIjk','vInia','OcTla','resolvedConfigFile','dtqNC','indexOf','../../helpers/testhub/utils','exports','includes','eNqAD','USER_CONFIG_DETAILS_PATH','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mfxHX','playwright-browserstack-sdk.config.js','parse','launchBuild','stop','DVsCJ','split','oiDeh','62986oTaebO','gDsSV','NvmOu','../../helpers/test-observability/utils','BrowserStack\x20config\x20file\x20not\x20found.','length','lXMzZ','info','oWqPR','KtlMN','test','osMGV','108LSFwIg','BROWSERSTACK_RERUN','concat','sNveJ','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','existsSync','resolve','./accessibility-helper','--disable-test-observability','PLAYWRIGHT','--disable-browserstack-automation','accessibilityOptions','skipSessionStatus','uzRFf','1536696cNHPRS','VwyCb','playwright-browserstack-sdk.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','has','../utils/constants','unlinkSync','dirname','EshFq','CEUeR','win32','BROWSERSTACK_AUTOMATION','sElaT','CyHbp','accessibility','exitCode','JNtyP','browserstackSetupConfig.json','env','1265XhePhJ','cliConfig','HvXGa','5623616csCkCK','error','playwright','3ZMEfgz','map','hquMj','1470816QMKulh','isFalse','ufZNJ','../../helpers/test-observability/error-handler','trim','slice','AlvoY','markSDKSetupComplete','unObj','homedir','sMiRm','isUndefined','../../helpers/accessibility-automation/helper','5259102pLWRwg','join','argv','Error\x20in\x20getting\x20funnel\x20data\x20results','LEjst','MODULE','cwd','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','BROWSERSTACK_PW_CONFIG_DIR','frEfn','requirePWModule','filter','util','stringify','YqUaw','owumD','getPackageType','8|3|0|6|7|1|2|4|5','false','mqHbZ'];a35_0x1d67=function(){return _0x4b9a42;};return a35_0x1d67();}const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),{format}=require(a35_0x5efd26(0xf0)),logger=require(a35_0x5efd26(0x76))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require('../../helpers/helper'),utilities=require(a35_0x5efd26(0x7b)),constants=require(a35_0x5efd26(0xc0)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a35_0x5efd26(0xda)),{getFrameworkVersion}=require(a35_0x5efd26(0xa4)),{checkAccessibilityPlatformConfig}=require(a35_0x5efd26(0xe3)),{setAccessibilityCapabilities}=require(a35_0x5efd26(0xb4)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x5efd26(0x92)),getUserPlaywrightConfig=async(_0x16d4af,_0x447c3a)=>{const _0x124805=a35_0x5efd26,_0x5f07ac={'CyHbp':function(_0x4b89d6){return _0x4b89d6();},'owumD':function(_0xb140d0,_0x2a9de9){return _0xb140d0(_0x2a9de9);},'VwyCb':_0x124805(0x8f),'PnXWr':_0x124805(0xf9)},_0x5b6525=!helper[_0x124805(0xe2)](_0x16d4af[_0x124805(0x8a)]),_0x182ce1=_0x5b6525?path[_0x124805(0xb3)](process[_0x124805(0xea)](),_0x16d4af[_0x124805(0x8a)]):process[_0x124805(0xea)](),{resolveConfigFile:_0x56717d,resolveConfigLocation:_0x3e0625}=helper[_0x124805(0xee)]['apply'](null,_0x5f07ac[_0x124805(0xc8)](getConfigLoaderPath)),_0x3de3d4=_0x56717d?_0x5f07ac[_0x124805(0xf3)](_0x56717d,_0x182ce1):helper[_0x124805(0x7f)](_0x5f07ac[_0x124805(0xf3)](_0x3e0625,_0x182ce1),[_0x5f07ac[_0x124805(0xbc)]]),_0x7de7d9={};if(_0x5b6525){const _0x29681e=_0x447c3a['findIndex'](_0xfe5688=>_0xfe5688===_0x124805(0x103)||_0xfe5688==='-c'||_0xfe5688['startsWith'](_0x124805(0xf9)));_0x447c3a[_0x124805(0x85)](_0x29681e,_0x447c3a[_0x29681e]['startsWith'](_0x5f07ac[_0x124805(0x88)])?0x1:0x2);}const _0x21b72f={};return _0x21b72f[_0x124805(0x7c)]=_0x3de3d4,_0x21b72f[_0x124805(0x8a)]=_0x7de7d9,_0x21b72f;},handleO11yRerun=_0x10293d=>{const _0x53e13a=a35_0x5efd26,_0x555465={};_0x555465['nDTJO']=function(_0xbafe24,_0x206e7c){return _0xbafe24!==_0x206e7c;},_0x555465['hquMj']='null',_0x555465[_0x53e13a(0xa2)]='--grep';const _0x17326d=_0x555465,_0x2c9c16=helper[_0x53e13a(0x10a)](process[_0x53e13a(0xcd)][_0x53e13a(0xae)]);if(_0x2c9c16){const _0x1b9c7f=process[_0x53e13a(0xcd)]['BROWSERSTACK_RERUN_TESTS'],_0xff837c=[];if(_0x17326d[_0x53e13a(0xfc)](_0x1b9c7f,_0x17326d[_0x53e13a(0xd6)])&&!helper['isUndefined'](_0x1b9c7f)){_0x1b9c7f[_0x53e13a(0x9f)](',')[_0x53e13a(0xd5)](_0x2f56e6=>{const _0x19521f=_0x53e13a;_0xff837c[_0x19521f(0x7d)]('('+_0x2f56e6[_0x19521f(0xdb)]()+')');});const _0x5b646f='^'+_0xff837c[_0x53e13a(0xe5)]('|')+'$';_0x10293d[_0x53e13a(0x7d)](_0x17326d['gDsSV'],_0x5b646f);}}},spawnOriginalProcess=_0xebcb7c=>{const _0x44617f=a35_0x5efd26,_0x90f5ce={'mfxHX':function(_0x56ac20,_0x2f5efc,_0x370c96,_0x23f45a){return _0x56ac20(_0x2f5efc,_0x370c96,_0x23f45a);},'ABznT':_0x44617f(0x78),'HvXGa':_0x44617f(0xd3),'oiDeh':function(_0x52ab18,_0x5cc05d){return _0x52ab18===_0x5cc05d;},'gYiGX':_0x44617f(0xc5),'ufZNJ':_0x44617f(0x82)};_0x90f5ce[_0x44617f(0x99)](spawn,_0x90f5ce['ABznT'],[_0x90f5ce[_0x44617f(0xd0)],..._0xebcb7c[_0x44617f(0xdc)](0x1)],{'shell':_0x90f5ce[_0x44617f(0xa0)](process[_0x44617f(0x106)],_0x90f5ce['gYiGX']),'stdio':_0x90f5ce[_0x44617f(0xd9)],'cwd':process[_0x44617f(0xea)]()});},isTestCommand=(_0x564d5f,_0x38b749)=>{const _0x3ee02a=a35_0x5efd26,_0x402b26={};_0x402b26['EshFq']=function(_0x5f0ca6,_0x200095){return _0x5f0ca6>_0x200095;},_0x402b26[_0x3ee02a(0xcb)]=function(_0x1aea09,_0x45d094){return _0x1aea09===_0x45d094;},_0x402b26['rZIjk']=_0x3ee02a(0xab);const _0x38291b=_0x402b26;if(_0x38291b[_0x3ee02a(0xc3)](_0x38b749[_0x3ee02a(0xa6)],0x1)&&_0x38291b[_0x3ee02a(0xcb)](_0x38b749[0x1],_0x38291b[_0x3ee02a(0x8c)]))return!![];return![];};async function run(_0x1dcf2d,_0xd4195c){const _0x529f0a=a35_0x5efd26,_0x25ce14={'mqHbZ':'.browserstack','unObj':_0x529f0a(0x109),'sElaT':function(_0x2ca8a2,_0x448c09){return _0x2ca8a2+_0x448c09;},'jAswg':_0x529f0a(0xe7),'lXMzZ':_0x529f0a(0xf5),'ZENHm':function(_0x591499){return _0x591499();},'dtqNC':_0x529f0a(0xfb),'AiAuw':_0x529f0a(0xb7),'osMGV':_0x529f0a(0xf6),'ckbSW':'--disable-test-observability','wHmxS':function(_0x1c6b2d,_0x4c47cf){return _0x1c6b2d>=_0x4c47cf;},'aTqQU':_0x529f0a(0x97),'zfbIY':function(_0xa5d91f,_0x30c47f,_0x121e67){return _0xa5d91f(_0x30c47f,_0x121e67);},'frEfn':function(_0x334a74,_0x5519ce){return _0x334a74(_0x5519ce);},'PzgqY':_0x529f0a(0xa5),'sNveJ':'automation','tyzJC':function(_0x4bdc63,_0x43747f){return _0x4bdc63!=_0x43747f;},'AlvoY':function(_0x3b4683,_0x1f79b6,_0x4452f6){return _0x3b4683(_0x1f79b6,_0x4452f6);},'KtlMN':function(_0x321ce9,_0x3d3ea0){return _0x321ce9(_0x3d3ea0);},'uzRFf':function(_0x1fef82,_0x2362db){return _0x1fef82===_0x2362db;},'IadxE':_0x529f0a(0x86),'vInia':function(_0x4f218b,_0x1178d6){return _0x4f218b(_0x1178d6);},'DVsCJ':_0x529f0a(0xcc),'dwOvv':function(_0x2fa5fe,_0x22bae1){return _0x2fa5fe===_0x22bae1;},'LEjst':_0x529f0a(0xbd),'zRhWT':_0x529f0a(0x9a),'oWqPR':function(_0x4cd887,_0x508619){return _0x4cd887-_0x508619;},'FRzcu':'Updated\x20config\x20file\x20name\x20to\x20-\x20','sMiRm':function(_0x217f71,_0x1ffc4c){return _0x217f71>_0x1ffc4c;},'OcTla':function(_0x3adb06,_0x40bc65,_0xc55877,_0x4b17ed){return _0x3adb06(_0x40bc65,_0xc55877,_0x4b17ed);},'CEUeR':'npx','ASKBm':_0x529f0a(0xd3),'NvmOu':_0x529f0a(0xab),'dkeDa':_0x529f0a(0x103),'efMej':_0x529f0a(0xc5),'YqUaw':_0x529f0a(0x82),'eNqAD':_0x529f0a(0x84)};!helper[_0x529f0a(0xd8)](process['env'][_0x529f0a(0xc6)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=!![]);process[_0x529f0a(0xe6)][_0x529f0a(0x94)](_0x25ce14[_0x529f0a(0x105)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=_0x25ce14[_0x529f0a(0xac)],_0xd4195c=_0xd4195c[_0x529f0a(0xef)](_0x1a5828=>_0x1a5828!==_0x529f0a(0xb7)));const _0x347771=_0xd4195c[_0x529f0a(0x91)](_0x25ce14[_0x529f0a(0xfa)]);_0x25ce14['wHmxS'](_0x347771,0x0)&&(process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]=_0x25ce14[_0x529f0a(0xac)],_0xd4195c=_0xd4195c['filter'](_0x2c08b7=>_0x2c08b7!==_0x529f0a(0xb5)));try{const _0x40982c=path[_0x529f0a(0xe5)](helper[_0x529f0a(0xe0)](),_0x25ce14['mqHbZ'],_0x25ce14[_0x529f0a(0xdf)]);fs[_0x529f0a(0xb2)](_0x40982c)&&fs[_0x529f0a(0xc1)](_0x40982c);}catch(_0x751e36){logger[_0x529f0a(0xf8)](_0x25ce14['sElaT'](_0x25ce14['aTqQU'],_0x751e36));}if(!_0x25ce14['zfbIY'](isTestCommand,_0x1dcf2d,_0xd4195c)){_0x25ce14[_0x529f0a(0xed)](spawnOriginalProcess,_0xd4195c);return;}const _0x1eb2dc=new BrowserStackSetup(_0x1dcf2d,FRAMEWORKS['PLAYWRIGHT']);if(!_0x1eb2dc['config']){logger[_0x529f0a(0xd2)](_0x25ce14[_0x529f0a(0x79)]);return;}await _0x1eb2dc['initialize']();!helper[_0x529f0a(0xe2)](_0x1eb2dc['cliConfig'])&&_0x1eb2dc[_0x529f0a(0xcf)][_0x529f0a(0xbf)](_0x25ce14[_0x529f0a(0xb0)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0xc6)]=_0x1eb2dc[_0x529f0a(0xcf)]['get'](_0x25ce14[_0x529f0a(0xb0)])||!![]);_0x25ce14[_0x529f0a(0xfe)](_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0x83)],null)&&!helper['isTrue'](process[_0x529f0a(0xcd)][_0x529f0a(0x7e)])&&(process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]=process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]||_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0x83)]);const _0x15c98a=!helper['isFalse'](process[_0x529f0a(0xcd)][_0x529f0a(0x7e)]);let _0x5f605f=![];_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xc9)]&&(_0x5f605f=!![],process[_0x529f0a(0xcd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xc9)]);_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xb8)]&&(process[_0x529f0a(0xcd)][_0x529f0a(0x98)]=JSON[_0x529f0a(0xf1)](_0x1eb2dc[_0x529f0a(0x8a)]['accessibilityOptions']));const _0x230743=_0xd4195c[_0x529f0a(0xaf)](),_0x1679e5=await _0x25ce14[_0x529f0a(0xdd)](getUserPlaywrightConfig,_0x1dcf2d,_0xd4195c);if(helper[_0x529f0a(0xe2)](_0x1679e5)){_0x25ce14['frEfn'](spawnOriginalProcess,_0x230743);return;}const _0x2a2e74=_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process[_0x529f0a(0xea)]();process['env'][_0x529f0a(0xec)]=_0x2a2e74,await TestHubHandler[_0x529f0a(0x9c)](FRAMEWORKS[_0x529f0a(0xb6)],_0x1eb2dc);_0x15c98a&&_0x25ce14[_0x529f0a(0xaa)](handleO11yRerun,_0xd4195c);let _0x4ff354=_0x25ce14[_0x529f0a(0xba)](process[_0x529f0a(0xcd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x25ce14['IadxE']);_0x4ff354=_0x4ff354||_0x25ce14[_0x529f0a(0xed)](checkAccessibilityPlatformConfig,_0x1eb2dc[_0x529f0a(0x8a)]),process['env'][_0x529f0a(0xbe)]=_0x4ff354;_0x4ff354&&_0x25ce14[_0x529f0a(0x8d)](setAccessibilityCapabilities,_0x1eb2dc['config']);const _0x2e55ba=path[_0x529f0a(0xe5)](_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process['cwd'](),_0x25ce14[_0x529f0a(0x9e)]);fs[_0x529f0a(0x77)](_0x2e55ba,helper['serializeToYamlString'](_0x1eb2dc[_0x529f0a(0x8a)])),process[_0x529f0a(0xcd)]['BROWSERSTACK_SETUP_CONFIG_PATH']=_0x2e55ba,helper['clearTempPWConfig']();let _0x4edf8f='';_0x25ce14['dwOvv'](helper[_0x529f0a(0xf4)](),constants['PACKAGE_TYPE'][_0x529f0a(0xe9)])?_0x4edf8f=_0x25ce14[_0x529f0a(0xe8)]:_0x4edf8f=_0x25ce14['zRhWT'];let _0x111793='';if(helper[_0x529f0a(0x102)](_0x1679e5[_0x529f0a(0x7c)])){_0x111793=_0x529f0a(0xeb);const _0x2a5a76=_0x4edf8f[_0x529f0a(0x9f)]('.');_0x2a5a76[_0x25ce14[_0x529f0a(0xa9)](_0x2a5a76['length'],0x1)]='ts',_0x4edf8f=_0x2a5a76['join']('.'),logger['debug'](_0x25ce14[_0x529f0a(0xc7)](_0x25ce14[_0x529f0a(0x108)],_0x4edf8f));}else _0x111793=_0x529f0a(0x8b);const _0x23dccf=path['join'](_0x1679e5[_0x529f0a(0x7c)]?path[_0x529f0a(0xc2)](_0x1679e5[_0x529f0a(0x7c)]):process[_0x529f0a(0xea)](),_0x4edf8f);let _0x4d7643=_0x1679e5['path']?_0x1679e5[_0x529f0a(0x7c)]:'';_0x4d7643=_0x25ce14[_0x529f0a(0xe1)](_0x4d7643[_0x529f0a(0xa6)],0x0)?path[_0x529f0a(0xb3)](_0x4d7643):'',process[_0x529f0a(0xcd)][_0x529f0a(0x96)]=_0x4d7643;const _0x318a70=helper[_0x529f0a(0x107)](_0x1eb2dc[_0x529f0a(0x8a)]);_0x318a70&&(_0x111793=_0x25ce14['sElaT'](_0x529f0a(0xb1)+_0x318a70+'\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();',_0x111793));helper[_0x529f0a(0x89)]({},_0xd4195c),fs['writeFileSync'](_0x23dccf,_0x111793),helper[_0x529f0a(0xde)]();const _0xbb0bed=_0x25ce14[_0x529f0a(0x8e)](spawn,_0x25ce14[_0x529f0a(0xc4)],[_0x25ce14['ASKBm'],_0x25ce14[_0x529f0a(0xa3)],_0x25ce14['dkeDa'],_0x23dccf,..._0xd4195c[_0x529f0a(0xdc)](0x2)],{'shell':_0x25ce14[_0x529f0a(0xba)](process[_0x529f0a(0x106)],_0x25ce14['efMej']),'stdio':_0x25ce14[_0x529f0a(0xf2)],'cwd':process[_0x529f0a(0xea)](),'env':Object['assign']({},process[_0x529f0a(0xcd)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x529f0a(0x104)](_0x1dcf2d),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x1eb2dc['config'][_0x529f0a(0xfd)][_0x529f0a(0xb9)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x1eb2dc[_0x529f0a(0x8a)][_0x529f0a(0xfd)][_0x529f0a(0x101)],'BROWSERSTACK_LOG_LEVEL':_0x1eb2dc['config']['logLevel']})}),_0x456135=()=>{const _0x32999b=_0x529f0a;try{const _0x51d2c9=path[_0x32999b(0xe5)](helper[_0x32999b(0xe0)](),_0x25ce14[_0x32999b(0xf7)],_0x25ce14[_0x32999b(0xdf)]);if(fs['existsSync'](_0x51d2c9)){let _0x57acda=fs[_0x32999b(0x100)](_0x51d2c9);_0x57acda=JSON[_0x32999b(0x9b)](_0x57acda),_0x1eb2dc[_0x32999b(0x10b)]=_0x57acda,fs[_0x32999b(0xc1)](_0x51d2c9);}}catch(_0x18d730){logger[_0x32999b(0xf8)](_0x25ce14[_0x32999b(0xc7)](_0x25ce14[_0x32999b(0x81)],_0x18d730));}};_0xbb0bed['on'](_0x25ce14[_0x529f0a(0x95)],async _0x25d221=>{const _0x35dbb2=_0x529f0a;try{const _0x2bcd82=_0x25ce14[_0x35dbb2(0xa7)][_0x35dbb2(0x9f)]('|');let _0x4f10aa=0x0;while(!![]){switch(_0x2bcd82[_0x4f10aa++]){case'0':await utilities[_0x35dbb2(0x87)](_0x1eb2dc);continue;case'1':logger[_0x35dbb2(0xa8)](_0x35dbb2(0x7a)+_0x23dccf);continue;case'2':fs[_0x35dbb2(0xc1)](_0x23dccf);continue;case'3':await TestHubHandler[_0x35dbb2(0x9d)]();continue;case'4':logger[_0x35dbb2(0xf8)](_0x35dbb2(0x7a)+_0x2e55ba);continue;case'5':fs['unlinkSync'](_0x2e55ba);continue;case'6':process[_0x35dbb2(0xca)]=_0x25d221;continue;case'7':logger[_0x35dbb2(0xf8)](_0x35dbb2(0x80)+_0x25d221);continue;case'8':_0x25ce14['ZENHm'](_0x456135);continue;}break;}}catch(_0x1a5959){logger['debug'](_0x25ce14[_0x35dbb2(0xc7)](_0x25ce14[_0x35dbb2(0x90)],_0x1a5959));}});}module[a35_0x5efd26(0x93)]=run;
|
|
2
|
+
'use strict';const a35_0x4f3b65=a35_0x4052;function a35_0x4db8(){const _0x4e678f=['cliConfig','ayLUF','../../helpers/accessibility-automation/helper','errorMessage','env','win32','\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();','mTMzH','path','SDK_POST_INITIALIZE','config','assign','iIPXy','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','playwright-browserstack-sdk.config.js','bWNzU','TnpPR','USER_CONFIG_DETAILS_PATH','YLxUU','1116AqwgkV','Playwright\x20process\x20exited\x20with\x20code\x20','initialize','launchBuild','concat','dirname','stop','Error\x20in\x20deleting\x20playwright\x20results','get','qXXkN','KyBkf','KgHkw','RwjCN','NvWRW','Qincb','RfBCm','testContextOptions','readFileSync','push','DNHvx','PACKAGE_TYPE','--disable-test-observability','SBZDS','SDK_PRE_INITIALIZE','../../helpers/performance/performance-tester','argv','cwd','true','slice','isFalse','Error\x20in\x20closing\x20playwright','./reporter/pwUtils','XKAbT','GCaiG','../../helpers/BrowserStackSetup','179728cBVuCF','filter','parse','177058MdTyeK','MODULE','browserstackSetupConfig.json','winstonLogger','join','isUndefined','--config','lmROS','BROWSERSTACK_PW_CONFIG_DIR','BROWSERSTACK_RERUN_TESTS','JYajO','.browserstack','trim','jQttZ','QcwkP','error','test','uZbDy','jyIsz','BROWSERSTACK_AUTOMATION','../../helpers/test-observability/constants','testObservability','getConfigPath','end','indexOf','unlinkSync','apply','logLevel','close','resolve','platform','requirePWModule','8752ASnyFp','getPackageType','util','HhAtj','writeFileSync','--disable-browserstack-automation','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','split','TnIaf','BROWSERSTACK_RERUN','isTrue','150BnwBFX','../../helpers/logger','FHshl','exports','serializeToYamlString','fUgut','PZmBT','JlqQR','../../helpers/testhub/testhubHandler','PlEMs','startsWith','kPNqJ','../../helpers/helper','homedir','findIndex','has','child_process','inherit','false','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','playwright','pw_result.json','debug','HBTWz','Deleting\x20','npx','filterBrowserstackArgs','dIfEN','clearTempPWConfig','BrowserStack\x20config\x20file\x20not\x20found.','../utils/constants','fkpnU','finalExecution','bQXBZ','null','PLAYWRIGHT','SDK_CLEANUP','OXDbo','BROWSERSTACK_TEST_ACCESSIBILITY_YML','722724wixDvE','automation','accessibility','173844nhjZhB','start','plYmu','76363GSQVxn','KBReV','length','includes','PiZyr','EOfdj','existsSync','--config=','getProxyUrl','1472975zwCFyw','info','BROWSERSTACK_SETUP_CONFIG_PATH','BROWSERSTACK_TEST_OBSERVABILITY','lMifp'];a35_0x4db8=function(){return _0x4e678f;};return a35_0x4db8();}(function(_0x235cdc,_0x1fb3c2){const _0x5e0647=a35_0x4052,_0x135158=_0x235cdc();while(!![]){try{const _0x1baa4d=-parseInt(_0x5e0647(0x11d))/0x1+parseInt(_0x5e0647(0x11a))/0x2+-parseInt(_0x5e0647(0xd3))/0x3+parseInt(_0x5e0647(0xd0))/0x4+-parseInt(_0x5e0647(0xdf))/0x5+parseInt(_0x5e0647(0xa9))/0x6*(parseInt(_0x5e0647(0xd6))/0x7)+-parseInt(_0x5e0647(0x9e))/0x8*(-parseInt(_0x5e0647(0xf7))/0x9);if(_0x1baa4d===_0x1fb3c2)break;else _0x135158['push'](_0x135158['shift']());}catch(_0x38ef0e){_0x135158['push'](_0x135158['shift']());}}}(a35_0x4db8,0x2474d));const fs=require('fs'),path=require(a35_0x4f3b65(0xec)),{spawn}=require(a35_0x4f3b65(0xb9)),{format}=require(a35_0x4f3b65(0xa0)),logger=require(a35_0x4f3b65(0xaa))[a35_0x4f3b65(0x120)],{default:BrowserStackSetup}=require(a35_0x4f3b65(0x119)),helper=require(a35_0x4f3b65(0xb5)),utilities=require('../../helpers/utilities'),constants=require(a35_0x4f3b65(0xc7)),{FRAMEWORKS}=require(a35_0x4f3b65(0x92)),{getConfigLoaderPath}=require(a35_0x4f3b65(0x116)),{checkAccessibilityPlatformConfig}=require(a35_0x4f3b65(0xe6)),{setAccessibilityCapabilities}=require('./accessibility-helper'),TestHubHandler=require(a35_0x4f3b65(0xb1)),PerformanceTester=require(a35_0x4f3b65(0x10f)),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],getUserPlaywrightConfig=async(_0x36e368,_0x5bfa00)=>{const _0x418186=a35_0x4f3b65,_0x5870fc={'RfBCm':function(_0x59716a){return _0x59716a();},'yByvP':function(_0x3689ce,_0x59225e){return _0x3689ce(_0x59225e);},'ayLUF':'resolvedConfigFile','TnIaf':_0x418186(0xdd)},_0x2eecae=!helper[_0x418186(0x122)](_0x36e368[_0x418186(0xee)]),_0x1e5bd2=_0x2eecae?path['resolve'](process[_0x418186(0x111)](),_0x36e368[_0x418186(0xee)]):process[_0x418186(0x111)](),{resolveConfigFile:_0x3ce533,resolveConfigLocation:_0x1f2dda}=helper[_0x418186(0x9d)][_0x418186(0x98)](null,_0x5870fc[_0x418186(0x106)](getConfigLoaderPath)),_0x5e8ae2=_0x3ce533?_0x5870fc['yByvP'](_0x3ce533,_0x1e5bd2):helper['nestedKeyValue'](_0x5870fc['yByvP'](_0x1f2dda,_0x1e5bd2),[_0x5870fc[_0x418186(0xe5)]]),_0x4e9169={};if(_0x2eecae){const _0x46c552=_0x5bfa00[_0x418186(0xb7)](_0x119b67=>_0x119b67==='--config'||_0x119b67==='-c'||_0x119b67[_0x418186(0xb3)]('--config='));_0x5bfa00['splice'](_0x46c552,_0x5bfa00[_0x46c552]['startsWith'](_0x5870fc[_0x418186(0xa6)])?0x1:0x2);}const _0x3c651d={};return _0x3c651d['path']=_0x5e8ae2,_0x3c651d[_0x418186(0xee)]=_0x4e9169,_0x3c651d;},handleO11yRerun=_0xe3e5de=>{const _0x157f0f=a35_0x4f3b65,_0xb1f2e3={};_0xb1f2e3['QcwkP']=function(_0x17ba8b,_0x3326fc){return _0x17ba8b!==_0x3326fc;},_0xb1f2e3[_0x157f0f(0xd5)]=_0x157f0f(0xcb),_0xb1f2e3[_0x157f0f(0xa1)]='--grep';const _0x1df473=_0xb1f2e3,_0x59edaa=helper['isTrue'](process[_0x157f0f(0xe8)][_0x157f0f(0xa7)]);if(_0x59edaa){const _0xe7452=process[_0x157f0f(0xe8)][_0x157f0f(0x126)],_0x51d6ba=[];if(_0x1df473[_0x157f0f(0x8c)](_0xe7452,_0x1df473[_0x157f0f(0xd5)])&&!helper[_0x157f0f(0x122)](_0xe7452)){_0xe7452[_0x157f0f(0xa5)](',')['map'](_0x9f6b6f=>{const _0x87c460=_0x157f0f;_0x51d6ba[_0x87c460(0x109)]('('+_0x9f6b6f[_0x87c460(0x8a)]()+')');});const _0x64eb01='^'+_0x51d6ba[_0x157f0f(0x121)]('|')+'$';_0xe3e5de[_0x157f0f(0x109)](_0x1df473[_0x157f0f(0xa1)],_0x64eb01);}}},spawnOriginalProcess=_0x41a517=>{const _0x167c03=a35_0x4f3b65,_0x9fb110={'kPNqJ':function(_0x264b1f,_0x34d70a,_0x38a873,_0x80d6f6){return _0x264b1f(_0x34d70a,_0x38a873,_0x80d6f6);},'lMifp':_0x167c03(0xc2),'EOfdj':'playwright','mTMzH':function(_0x4742fb,_0x44bf83){return _0x4742fb===_0x44bf83;},'TnpPR':_0x167c03(0xe9),'uFmKn':_0x167c03(0xba)};_0x9fb110[_0x167c03(0xb4)](spawn,_0x9fb110[_0x167c03(0xe3)],[_0x9fb110[_0x167c03(0xdb)],..._0x41a517[_0x167c03(0x113)](0x1)],{'shell':_0x9fb110[_0x167c03(0xeb)](process[_0x167c03(0x9c)],_0x9fb110[_0x167c03(0xf4)]),'stdio':_0x9fb110['uFmKn'],'cwd':process[_0x167c03(0x111)]()});},isTestCommand=(_0x1ba04f,_0xec14c9)=>{const _0xbf3cb0=a35_0x4f3b65,_0x2753e2={};_0x2753e2['bWNzU']=function(_0x38606c,_0x389a21){return _0x38606c>_0x389a21;},_0x2753e2[_0xbf3cb0(0x124)]=function(_0x368c69,_0x1b250b){return _0x368c69===_0x1b250b;},_0x2753e2[_0xbf3cb0(0x10a)]='test';const _0xcd2663=_0x2753e2;if(_0xcd2663[_0xbf3cb0(0xf3)](_0xec14c9[_0xbf3cb0(0xd8)],0x1)&&_0xcd2663[_0xbf3cb0(0x124)](_0xec14c9[0x1],_0xcd2663[_0xbf3cb0(0x10a)]))return!![];return![];};async function run(_0x15c9d4,_0x4eaf94){const _0x3d0036=a35_0x4f3b65,_0x567686={'jQttZ':_0x3d0036(0x128),'FqHaF':_0x3d0036(0xbe),'Mwovn':function(_0x55302c,_0x34df8d){return _0x55302c+_0x34df8d;},'uFVVL':'Error\x20in\x20getting\x20funnel\x20data\x20results','GCaiG':'8|9|3|2|0|4|1|7|6|5','Qincb':function(_0x2dba9d){return _0x2dba9d();},'bQXBZ':function(_0x49e786,_0x12ef9c){return _0x49e786+_0x12ef9c;},'YLxUU':_0x3d0036(0x115),'FHshl':function(_0x3e8048,_0x3f61c9){return _0x3e8048(_0x3f61c9);},'iuhSu':_0x3d0036(0xc6),'XVgfe':_0x3d0036(0xd1),'MeFDV':function(_0x1f1ca7,_0x369866){return _0x1f1ca7!=_0x369866;},'KBReV':function(_0x93c65b,_0x6cf3f,_0x5b0998){return _0x93c65b(_0x6cf3f,_0x5b0998);},'OXDbo':function(_0xeb5738,_0x1d7b4b){return _0xeb5738(_0x1d7b4b);},'PrlOl':function(_0x10f6cd,_0x445093){return _0x10f6cd===_0x445093;},'vTASD':_0x3d0036(0x112),'nWZAs':function(_0xc3fcad,_0x444c26){return _0xc3fcad(_0x444c26);},'KgHkw':_0x3d0036(0x11f),'PZmBT':function(_0x5b4e09,_0x16fd6a){return _0x5b4e09===_0x16fd6a;},'RwjCN':'playwright-browserstack-sdk.config.cjs','cnZOo':_0x3d0036(0xf2),'XKAbT':function(_0x5dfcc2,_0x46909d){return _0x5dfcc2-_0x46909d;},'JlqQR':'Updated\x20config\x20file\x20name\x20to\x20-\x20','SBZDS':function(_0xd39d96,_0x4c64a6){return _0xd39d96>_0x4c64a6;},'shXfY':function(_0x24ca24,_0x5b447b,_0x1dd058,_0x584792){return _0x24ca24(_0x5b447b,_0x1dd058,_0x584792);},'qXXkN':_0x3d0036(0xc2),'PiZyr':_0x3d0036(0xbd),'NvWRW':_0x3d0036(0x8e),'JYajO':_0x3d0036(0x123),'dIfEN':function(_0x31b9f7,_0x1aa273){return _0x31b9f7===_0x1aa273;},'jyIsz':_0x3d0036(0xe9),'WgeoD':'inherit','HBTWz':_0x3d0036(0x9a),'slkhe':_0x3d0036(0xa3),'fkpnU':_0x3d0036(0xbb),'KyBkf':_0x3d0036(0x10c),'fUgut':function(_0x512af5,_0x31b1ef){return _0x512af5>=_0x31b1ef;},'uZbDy':_0x3d0036(0xfe),'PlEMs':function(_0x539d1a,_0x2388c5,_0x49ca2c){return _0x539d1a(_0x2388c5,_0x49ca2c);}};!helper[_0x3d0036(0x114)](process[_0x3d0036(0xe8)]['BROWSERSTACK_AUTOMATION'])&&(process[_0x3d0036(0xe8)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x3d0036(0x110)][_0x3d0036(0xd9)](_0x567686['slkhe'])&&(process[_0x3d0036(0xe8)][_0x3d0036(0x91)]=_0x567686[_0x3d0036(0xc8)],_0x4eaf94=_0x4eaf94[_0x3d0036(0x11b)](_0x3a5d6b=>_0x3a5d6b!==_0x3d0036(0xa3)));const _0x323977=_0x4eaf94[_0x3d0036(0x96)](_0x567686[_0x3d0036(0x101)]);_0x567686[_0x3d0036(0xae)](_0x323977,0x0)&&(process['env'][_0x3d0036(0xe2)]=_0x567686[_0x3d0036(0xc8)],_0x4eaf94=_0x4eaf94[_0x3d0036(0x11b)](_0x2e0cd0=>_0x2e0cd0!==_0x3d0036(0x10c)));try{const _0x381f4f=path[_0x3d0036(0x121)](helper[_0x3d0036(0xb6)](),_0x567686['jQttZ'],_0x567686['FqHaF']);fs[_0x3d0036(0xdc)](_0x381f4f)&&fs[_0x3d0036(0x97)](_0x381f4f);}catch(_0x55440f){logger[_0x3d0036(0xbf)](_0x567686['Mwovn'](_0x567686[_0x3d0036(0x8f)],_0x55440f));}if(!_0x567686[_0x3d0036(0xb2)](isTestCommand,_0x15c9d4,_0x4eaf94)){_0x567686['nWZAs'](spawnOriginalProcess,_0x4eaf94);return;}const _0x13920d=new BrowserStackSetup(_0x15c9d4,FRAMEWORKS['PLAYWRIGHT']);await PerformanceTester['measureWrapper'](PerformanceEvents[_0x3d0036(0x10e)],async()=>{const _0xf4150e=_0x3d0036,_0x44d3a7={'iIPXy':function(_0x4a3484,_0x33b7ac){const _0x1d4d7f=a35_0x4052;return _0x567686[_0x1d4d7f(0xab)](_0x4a3484,_0x33b7ac);}};if(!_0x13920d[_0xf4150e(0xee)]){logger[_0xf4150e(0x8d)](_0x567686['iuhSu']);return;}await _0x13920d[_0xf4150e(0xf9)]();!helper[_0xf4150e(0x122)](_0x13920d[_0xf4150e(0xe4)])&&_0x13920d['cliConfig'][_0xf4150e(0xb8)](_0x567686['XVgfe'])&&(process[_0xf4150e(0xe8)][_0xf4150e(0x91)]=_0x13920d[_0xf4150e(0xe4)][_0xf4150e(0xff)](_0x567686['XVgfe'])||!![]);_0x567686['MeFDV'](_0x13920d['config'][_0xf4150e(0x93)],null)&&!helper[_0xf4150e(0xa8)](process[_0xf4150e(0xe8)][_0xf4150e(0xe2)])&&(process[_0xf4150e(0xe8)][_0xf4150e(0xe2)]=process['env'][_0xf4150e(0xe2)]||_0x13920d['config'][_0xf4150e(0x93)]);const _0x4a098c=!helper[_0xf4150e(0x114)](process['env'][_0xf4150e(0xe2)]);let _0x21c86e=![];_0x13920d['config'][_0xf4150e(0xd2)]&&(_0x21c86e=!![],process[_0xf4150e(0xe8)][_0xf4150e(0xcf)]=_0x13920d[_0xf4150e(0xee)][_0xf4150e(0xd2)]);_0x13920d['config']['accessibilityOptions']&&(process['env'][_0xf4150e(0xf1)]=JSON['stringify'](_0x13920d['config']['accessibilityOptions']));const _0xcc20d0=_0x4eaf94[_0xf4150e(0xfb)](),_0x56dbaa=await _0x567686[_0xf4150e(0xd7)](getUserPlaywrightConfig,_0x15c9d4,_0x4eaf94);if(helper[_0xf4150e(0x122)](_0x56dbaa)){_0x567686[_0xf4150e(0xce)](spawnOriginalProcess,_0xcc20d0);return;}const _0x2affd6=_0x56dbaa[_0xf4150e(0xec)]?path[_0xf4150e(0xfc)](_0x56dbaa[_0xf4150e(0xec)]):process['cwd']();process[_0xf4150e(0xe8)][_0xf4150e(0x125)]=_0x2affd6,await PerformanceTester['measureWrapper'](PerformanceEvents[_0xf4150e(0xed)],async()=>{const _0x82ef50=_0xf4150e;await TestHubHandler[_0x82ef50(0xfa)](FRAMEWORKS[_0x82ef50(0xcc)],_0x13920d),_0x4a098c&&_0x44d3a7[_0x82ef50(0xf0)](handleO11yRerun,_0x4eaf94);})();let _0x427f9c=_0x567686['PrlOl'](process[_0xf4150e(0xe8)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x567686['vTASD']);_0x427f9c=_0x427f9c||_0x567686['FHshl'](checkAccessibilityPlatformConfig,_0x13920d[_0xf4150e(0xee)]),process[_0xf4150e(0xe8)][_0xf4150e(0xcf)]=_0x427f9c;_0x427f9c&&_0x567686['nWZAs'](setAccessibilityCapabilities,_0x13920d[_0xf4150e(0xee)]);const _0x5d7579=path[_0xf4150e(0x121)](_0x56dbaa['path']?path[_0xf4150e(0xfc)](_0x56dbaa[_0xf4150e(0xec)]):process[_0xf4150e(0x111)](),_0x567686[_0xf4150e(0x102)]);fs[_0xf4150e(0xa2)](_0x5d7579,helper[_0xf4150e(0xad)](_0x13920d[_0xf4150e(0xee)])),process[_0xf4150e(0xe8)][_0xf4150e(0xe1)]=_0x5d7579,helper[_0xf4150e(0xc5)]();let _0x24cd2b='';_0x567686[_0xf4150e(0xaf)](helper[_0xf4150e(0x9f)](),constants[_0xf4150e(0x10b)][_0xf4150e(0x11e)])?_0x24cd2b=_0x567686[_0xf4150e(0x103)]:_0x24cd2b=_0x567686['cnZOo'];let _0x19db7b='';if(helper['isTypescriptProject'](_0x56dbaa['path'])){_0x19db7b=_0xf4150e(0xa4);const _0x68ba53=_0x24cd2b['split']('.');_0x68ba53[_0x567686[_0xf4150e(0x117)](_0x68ba53[_0xf4150e(0xd8)],0x1)]='ts',_0x24cd2b=_0x68ba53[_0xf4150e(0x121)]('.'),logger[_0xf4150e(0xbf)](_0x567686[_0xf4150e(0xca)](_0x567686[_0xf4150e(0xb0)],_0x24cd2b));}else _0x19db7b='\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 _0x2f5f59=path['join'](_0x56dbaa[_0xf4150e(0xec)]?path['dirname'](_0x56dbaa[_0xf4150e(0xec)]):process[_0xf4150e(0x111)](),_0x24cd2b);let _0x4ea0b2=_0x56dbaa[_0xf4150e(0xec)]?_0x56dbaa[_0xf4150e(0xec)]:'';_0x4ea0b2=_0x567686[_0xf4150e(0x10d)](_0x4ea0b2['length'],0x0)?path[_0xf4150e(0x9b)](_0x4ea0b2):'',process[_0xf4150e(0xe8)][_0xf4150e(0xf5)]=_0x4ea0b2;const _0x29ce1a=helper[_0xf4150e(0xde)](_0x13920d[_0xf4150e(0xee)]);_0x29ce1a&&(_0x19db7b=_0x567686[_0xf4150e(0xca)](_0xf4150e(0xbc)+_0x29ce1a+_0xf4150e(0xea),_0x19db7b));helper[_0xf4150e(0xc3)]({},_0x4eaf94),fs[_0xf4150e(0xa2)](_0x2f5f59,_0x19db7b),PerformanceTester[_0xf4150e(0x95)](PerformanceEvents['SDK_SETUP']);const _0x2ca1a3=_0x567686['shXfY'](spawn,_0x567686[_0xf4150e(0x100)],[_0x567686[_0xf4150e(0xda)],_0x567686[_0xf4150e(0x104)],_0x567686[_0xf4150e(0x127)],_0x2f5f59,..._0x4eaf94['slice'](0x2)],{'shell':_0x567686[_0xf4150e(0xc4)](process[_0xf4150e(0x9c)],_0x567686[_0xf4150e(0x90)]),'stdio':_0x567686['WgeoD'],'cwd':process['cwd'](),'env':Object[_0xf4150e(0xef)]({},process[_0xf4150e(0xe8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0xf4150e(0x94)](_0x15c9d4),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x13920d[_0xf4150e(0xee)][_0xf4150e(0x107)]['skipSessionStatus'],'BROWSERSTACK_SKIP_SESSION_NAME':_0x13920d[_0xf4150e(0xee)][_0xf4150e(0x107)]['skipSessionName'],'BROWSERSTACK_LOG_LEVEL':_0x13920d['config'][_0xf4150e(0x99)]})}),_0xe6821f=()=>{const _0x1b0c59=_0xf4150e;try{const _0x421eb5=path[_0x1b0c59(0x121)](helper[_0x1b0c59(0xb6)](),_0x567686[_0x1b0c59(0x8b)],_0x567686['FqHaF']);if(fs[_0x1b0c59(0xdc)](_0x421eb5)){let _0x405987=fs[_0x1b0c59(0x108)](_0x421eb5);_0x405987=JSON[_0x1b0c59(0x11c)](_0x405987),_0x13920d[_0x1b0c59(0xe7)]=_0x405987,fs[_0x1b0c59(0x97)](_0x421eb5);}}catch(_0x326041){logger[_0x1b0c59(0xbf)](_0x567686['Mwovn'](_0x567686['uFVVL'],_0x326041));}};_0x2ca1a3['on'](_0x567686[_0xf4150e(0xc0)],async _0x4cfc8f=>{const _0x3acb33=_0xf4150e;try{const _0x1cdd9a=_0x567686[_0x3acb33(0x118)][_0x3acb33(0xa5)]('|');let _0x26367a=0x0;while(!![]){switch(_0x1cdd9a[_0x26367a++]){case'0':process['exitCode']=_0x4cfc8f;continue;case'1':logger[_0x3acb33(0xe0)](_0x3acb33(0xc1)+_0x2f5f59);continue;case'2':await utilities[_0x3acb33(0xc9)](_0x13920d);continue;case'3':await TestHubHandler[_0x3acb33(0xfd)]();continue;case'4':logger[_0x3acb33(0xbf)](_0x3acb33(0xf8)+_0x4cfc8f);continue;case'5':fs[_0x3acb33(0x97)](_0x5d7579);continue;case'6':logger[_0x3acb33(0xbf)](_0x3acb33(0xc1)+_0x5d7579);continue;case'7':fs[_0x3acb33(0x97)](_0x2f5f59);continue;case'8':PerformanceTester[_0x3acb33(0xd4)](PerformanceEvents[_0x3acb33(0xcd)]);continue;case'9':_0x567686[_0x3acb33(0x105)](_0xe6821f);continue;}break;}}catch(_0x344c7c){logger[_0x3acb33(0xbf)](_0x567686['bQXBZ'](_0x567686[_0x3acb33(0xf6)],_0x344c7c));}});})();}function a35_0x4052(_0x14cfb8,_0x28c967){const _0x4db8fc=a35_0x4db8();return a35_0x4052=function(_0x405261,_0x2b944a){_0x405261=_0x405261-0x8a;let _0x362c19=_0x4db8fc[_0x405261];return _0x362c19;},a35_0x4052(_0x14cfb8,_0x28c967);}module[a35_0x4f3b65(0xac)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36_0x50b78a=a36_0x11e3;(function(_0x4daf30,_0x55d9a2){const _0x455930=a36_0x11e3,_0x2a83df=_0x4daf30();while(!![]){try{const _0x538712=-parseInt(_0x455930(0xc4))/0x1+parseInt(_0x455930(0xc3))/0x2*(-parseInt(_0x455930(0xb5))/0x3)+parseInt(_0x455930(0xab))/0x4*(-parseInt(_0x455930(0xcc))/0x5)+parseInt(_0x455930(0xc6))/0x6+parseInt(_0x455930(0xaa))/0x7*(-parseInt(_0x455930(0xa7))/0x8)+parseInt(_0x455930(0xb6))/0x9*(parseInt(_0x455930(0xc5))/0xa)+-parseInt(_0x455930(0xca))/0xb*(-parseInt(_0x455930(0xc7))/0xc);if(_0x538712===_0x55d9a2)break;else _0x2a83df['push'](_0x2a83df['shift']());}catch(_0x8a3ce4){_0x2a83df['push'](_0x2a83df['shift']());}}}(a36_0x4c76,0x4547b));function a36_0x11e3(_0x32f7a4,_0x4aa151){const _0x4c7688=a36_0x4c76();return a36_0x11e3=function(_0x11e34,_0x51f57c){_0x11e34=_0x11e34-0xa7;let _0x4824d7=_0x4c7688[_0x11e34];return _0x4824d7;},a36_0x11e3(_0x32f7a4,_0x4aa151);}function a36_0x4c76(){const _0x2821fd=['apply','util','./patches','amLtD','Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20','SkbJl','PLAYWRIGHT','winstonLogger','fvpxh','includes','child_process','iyxuZ','8WRLDaH','env','function','816627hURgVb','13636UwIthY','isHandlePWErrorSet','format','fork','config','ZwDct','\x20is\x20not\x20found','./mock-process.js','../../helpers/test-observability/utils','resolve','981GCDRHf','3807kyeNOr','ISnvZ','Running\x20existing\x20global\x20setup','../../helpers/test-observability/constants','rYpuy','../../helpers/logger','toString','error','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','LexfU','NONeE','Path\x20','../../helpers/helper','158qjjDpJ','71641tyXFsv','8110HuORAZ','3000570ZqZhmD','876MJdalu','Call\x20to\x20child\x20fork\x20with\x20args\x20','debug','7051AbBRek','Not\x20able\x20to\x20import\x20globalSetup','575ppvvtM'];a36_0x4c76=function(){return _0x2821fd;};return a36_0x4c76();}const util=require(a36_0x50b78a(0xce)),child_process=require(a36_0x50b78a(0xd7)),{FRAMEWORKS}=require(a36_0x50b78a(0xb9)),{getFrameworkVersion,debug}=require(a36_0x50b78a(0xb3)),helper=require(a36_0x50b78a(0xc2)),{getLoadUtilsPath,getForkProcessPath}=require('./reporter/pwUtils'),{mockIsWorkerRedundant}=require(a36_0x50b78a(0xcf)),logger=require(a36_0x50b78a(0xbb))[a36_0x50b78a(0xd4)];module['exports']=async function(_0x53b04a){const _0x359d00=a36_0x50b78a,_0x285742={'zkTRK':function(_0x3ad151,_0x33bd42){return _0x3ad151(_0x33bd42);},'SkbJl':function(_0x2fca49){return _0x2fca49();},'iyxuZ':_0x359d00(0xb2),'mmvUm':function(_0x17d8b8){return _0x17d8b8();},'lYadz':_0x359d00(0xb8),'NONeE':function(_0x8744f5){return _0x8744f5();},'amLtD':function(_0x542119,_0x3410cc){return _0x542119(_0x3410cc);},'rYpuy':function(_0x26ba8e,_0x255ff5){return _0x26ba8e>=_0x255ff5;},'LexfU':'1.33.0','GjeIP':function(_0x46743c,_0x1d44dc,_0xc6a3a){return _0x46743c(_0x1d44dc,_0xc6a3a);},'fvpxh':function(_0x1677dd,_0x56dd9a){return _0x1677dd!==_0x56dd9a;},'ISnvZ':_0x359d00(0xa9),'ZwDct':_0x359d00(0xcb),'ikIBh':function(_0x511c18,_0x37e3fc){return _0x511c18(_0x37e3fc);}},_0x22a215=child_process[_0x359d00(0xae)];if(helper[_0x359d00(0xac)]())try{_0x285742['mmvUm'](mockIsWorkerRedundant);}catch(_0x574f2b){logger[_0x359d00(0xc9)](_0x359d00(0xd1)+util[_0x359d00(0xad)](_0x574f2b));}child_process[_0x359d00(0xae)]=function(){const _0x4fd7ae=_0x359d00;return _0x285742['zkTRK'](debug,_0x4fd7ae(0xc8)+arguments[0x0]),arguments[0x0][_0x4fd7ae(0xd6)](_0x285742['SkbJl'](getForkProcessPath))?arguments[0x0]=require[_0x4fd7ae(0xb4)](_0x285742[_0x4fd7ae(0xd8)]):logger[_0x4fd7ae(0xbd)](_0x4fd7ae(0xc1)+_0x285742[_0x4fd7ae(0xd2)](getForkProcessPath)+_0x4fd7ae(0xb1)),_0x22a215[_0x4fd7ae(0xcd)](null,arguments);};if(process[_0x359d00(0xa8)][_0x359d00(0xbe)]){_0x285742['zkTRK'](debug,_0x285742['lYadz']);try{const {loadGlobalHook:_0x5a3e96}=helper['requirePWModule']['apply'](null,_0x285742[_0x359d00(0xc0)](getLoadUtilsPath)),_0x3b46f6=_0x285742[_0x359d00(0xd0)](getFrameworkVersion,FRAMEWORKS[_0x359d00(0xd3)]);let _0x2dd0d4=_0x53b04a;if(_0x285742[_0x359d00(0xba)](helper['compareVersions'](_0x3b46f6,_0x285742[_0x359d00(0xbf)]),0x0)){const _0x569f4c={};_0x569f4c[_0x359d00(0xaf)]=_0x53b04a,_0x2dd0d4=_0x569f4c;}const _0x363c7b=await _0x285742['GjeIP'](_0x5a3e96,_0x2dd0d4,process['env'][_0x359d00(0xbe)]);if(_0x285742[_0x359d00(0xd5)](typeof _0x363c7b,_0x285742[_0x359d00(0xb7)]))throw new Error(_0x285742[_0x359d00(0xb0)]);return _0x363c7b[_0x359d00(0xcd)](null,arguments);}catch(_0x32a81e){_0x285742['ikIBh'](debug,'Error\x20in\x20calling\x20existing\x20global\x20setup:\x20'+_0x32a81e[_0x359d00(0xbc)]());}}};
|