browserstack-node-sdk 1.34.25 → 1.34.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a29_0x1566bc=a29_0x3683;(function(_0x18d157,_0x7c19a9){const _0x27d4e7=a29_0x3683,_0x138990=_0x18d157();while(!![]){try{const _0x5111f7=-parseInt(_0x27d4e7(0x10e))/0x1+-parseInt(_0x27d4e7(0xde))/0x2+-parseInt(_0x27d4e7(0x102))/0x3+parseInt(_0x27d4e7(0xbd))/0x4+-parseInt(_0x27d4e7(0xf9))/0x5*(-parseInt(_0x27d4e7(0xbc))/0x6)+parseInt(_0x27d4e7(0xff))/0x7+parseInt(_0x27d4e7(0xab))/0x8;if(_0x5111f7===_0x7c19a9)break;else _0x138990['push'](_0x138990['shift']());}catch(_0x3c3402){_0x138990['push'](_0x138990['shift']());}}}(a29_0x363f,0x7b420));const logger=require(a29_0x1566bc(0xfe))[a29_0x1566bc(0xd1)],helper=require(a29_0x1566bc(0x109)),constants=require('../../../bin/utils/constants'),hubAllocator=require(a29_0x1566bc(0xd0)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x1566bc(0xda)),{setAccessibilityCapabilities,setExtension}=require(a29_0x1566bc(0xf1)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require(a29_0x1566bc(0xaa)),{overrideExecute}=require(a29_0x1566bc(0xc1)),modify=(_0x531d28,_0x4ccf46=null,_0x505ef7=![])=>{const _0x1e82c2=a29_0x1566bc,_0x4e4eea={'qVRcO':function(_0x350770,_0xf7d4f4){return _0x350770!==_0xf7d4f4;},'olbCz':_0x1e82c2(0xf7),'osFYA':function(_0x4323b6,_0xf1d909){return _0x4323b6!==_0xf1d909;},'cJSvD':function(_0xbdc817,_0x4c4e10){return _0xbdc817+_0x4c4e10;},'AoFPA':function(_0x322227,_0x1ff0b8){return _0x322227+_0x1ff0b8;},'JpncJ':_0x1e82c2(0xed),'wKhxq':_0x1e82c2(0xf0),'lslVF':_0x1e82c2(0xf5),'oMoMf':_0x1e82c2(0xcb),'IWdJs':_0x1e82c2(0xca),'IdsWg':_0x1e82c2(0xb1),'aOjNR':'moz:firefoxOptions','lHoSB':_0x1e82c2(0x107),'OAMOF':_0x1e82c2(0x97),'xgGxH':_0x1e82c2(0xec),'wfHcD':_0x1e82c2(0xd6),'cGxlD':function(_0x1ec4e3,_0x1acd44){return _0x1ec4e3===_0x1acd44;},'HXTxN':_0x1e82c2(0xe6),'KTNHO':'Setting\x20Browserstack\x20capabilities','aRBgV':_0x1e82c2(0x106),'arJIo':_0x1e82c2(0xf2),'IkbsV':'3|0|1|5|2|4','dlzPV':function(_0x587e6c,_0x11341c){return _0x587e6c(_0x11341c);},'YKnYJ':function(_0x334a52,_0x21b8dc,_0x377675){return _0x334a52(_0x21b8dc,_0x377675);},'nkLGW':function(_0x39d5e2,_0x1cd1b1,_0xfe2fc3){return _0x39d5e2(_0x1cd1b1,_0xfe2fc3);},'kOlpB':function(_0x42fb42,_0x19e21f,_0x34f3ee){return _0x42fb42(_0x19e21f,_0x34f3ee);},'uhcXg':'3|4|2|5|1|0','UCTMx':_0x1e82c2(0xb4),'EQVXs':_0x1e82c2(0xe7),'zhTEx':function(_0x2d02d4,_0x178b33,_0x1afd7c){return _0x2d02d4(_0x178b33,_0x1afd7c);},'eKski':function(_0x48beee){return _0x48beee();},'LvThE':function(_0x292514,_0x4fd771){return _0x292514(_0x4fd771);},'rIoxP':function(_0x99b9bc,_0x4414f0){return _0x99b9bc!==_0x4414f0;},'mpqKM':_0x1e82c2(0xc0),'HhIdz':'Modifying\x20webdriver\x20builder'},_0x4a595b=helper[_0x1e82c2(0xb3)]();let _0x4122ba;try{_0x4122ba=helper['requireSeleniumWebdriver'](),_0x4122ba[_0x1e82c2(0xcc)]&&(_0x4122ba[_0x1e82c2(0xdf)]=_0x4122ba[_0x1e82c2(0xcc)]);}catch(_0x48bde6){return;}if(helper['isBrowserstackInfra']()){const _0x5724c8={};_0x5724c8[_0x1e82c2(0xfd)]=_0x531d28[_0x1e82c2(0xc7)],helper['setLogLevel'](_0x5724c8,new Map(),new Map()),logger[_0x1e82c2(0xe1)](_0x4e4eea[_0x1e82c2(0xc9)]),logger['debug'](_0x4e4eea[_0x1e82c2(0xe5)]);}class _0x557018 extends _0x4a595b[_0x1e82c2(0xa7)]{['send'](_0x451ee5){const _0x42dfef=_0x1e82c2;if(_0x4e4eea['qVRcO'](_0x451ee5['path'],_0x4e4eea[_0x42dfef(0xc4)])&&_0x4e4eea[_0x42dfef(0xb7)](global[_0x42dfef(0xa4)],''))try{global[_0x42dfef(0xa4)]=_0x4e4eea[_0x42dfef(0x9e)](_0x4e4eea[_0x42dfef(0xc2)](_0x4e4eea[_0x42dfef(0xef)],global[_0x42dfef(0xa4)]),_0x4e4eea[_0x42dfef(0xbb)]),this['options_']=hubAllocator['getRequestOptions'](global[_0x42dfef(0xa4)]),logger[_0x42dfef(0x9c)](_0x42dfef(0xc6)+global[_0x42dfef(0xa4)]),global['newHubUrl']='';}catch(_0x221c44){logger[_0x42dfef(0x104)](_0x221c44);}return super[_0x42dfef(0xb5)](_0x451ee5);}}class _0x2cf686 extends _0x4122ba[_0x1e82c2(0xdf)]{[_0x1e82c2(0xe4)](){const _0x5b139c=_0x1e82c2;return this[_0x5b139c(0x100)]=helper[_0x5b139c(0xce)](_0x531d28),logger[_0x5b139c(0x9c)](_0x5b139c(0xa1)+this[_0x5b139c(0x100)]),this;}[_0x1e82c2(0xe3)](_0x2e4005){const _0x40bb83=_0x1e82c2;let _0x9caacc={};for(const _0x421b4f in _0x2e4005){switch(_0x421b4f){case _0x4e4eea[_0x40bb83(0xd5)]:case _0x4e4eea[_0x40bb83(0x105)]:this[_0x40bb83(0xc8)]&&(_0x9caacc=this['chromeOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xc8)][_0x40bb83(0xf3)](this[_0x40bb83(0xc8)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xd4)]:case _0x4e4eea[_0x40bb83(0xc5)]:this[_0x40bb83(0xa2)]&&(_0x9caacc=this[_0x40bb83(0xa2)][_0x40bb83(0xd7)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xa2)][_0x40bb83(0xf3)](this[_0x40bb83(0xa2)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['aOjNR']:case _0x4e4eea[_0x40bb83(0xdc)]:this['firefoxOptions_']&&(_0x9caacc=this['firefoxOptions_'][_0x40bb83(0xd7)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)])||{},this['firefoxOptions_'][_0x40bb83(0xf3)](this[_0x40bb83(0xb9)][_0x40bb83(0xaf)],helper['mergeDeep'](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea['OAMOF']:this[_0x40bb83(0x95)]&&(_0x9caacc=this['safariOptions_'][_0x40bb83(0xd7)](this['safariOptions_']['CAPABILITY_KEY'])||{},this[_0x40bb83(0x95)][_0x40bb83(0xf3)](this[_0x40bb83(0x95)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;case _0x4e4eea[_0x40bb83(0xc3)]:case _0x4e4eea[_0x40bb83(0xa9)]:this[_0x40bb83(0xfb)]&&(_0x9caacc=this[_0x40bb83(0xfb)][_0x40bb83(0xd7)](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)])||{},this[_0x40bb83(0xfb)]['set'](this[_0x40bb83(0xfb)][_0x40bb83(0xaf)],helper[_0x40bb83(0x9f)](_0x9caacc,_0x2e4005[_0x421b4f])));break;}}}[_0x1e82c2(0xbe)](){const _0x3251b6=_0x1e82c2,_0x5ebafc={'ulOGu':function(_0x2e611b,_0x3d2cd0){const _0x14401b=a29_0x3683;return _0x4e4eea[_0x14401b(0x9b)](_0x2e611b,_0x3d2cd0);},'SkBjD':_0x4e4eea[_0x3251b6(0xee)]};return logger[_0x3251b6(0x9c)](_0x4e4eea[_0x3251b6(0xac)]),this[_0x3251b6(0xe3)](_0x531d28[_0x3251b6(0xdd)]),Object[_0x3251b6(0x10c)](_0x531d28[_0x3251b6(0xdd)])[_0x3251b6(0xfa)](_0x472ed8=>{const _0x39f894=_0x3251b6,_0x3c1515=this[_0x39f894(0xa3)][_0x39f894(0xd7)](_0x472ed8);_0x5ebafc[_0x39f894(0x94)](typeof _0x3c1515,_0x5ebafc[_0x39f894(0xad)])?this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,helper[_0x39f894(0x9f)](_0x3c1515,_0x531d28[_0x39f894(0xdd)][_0x472ed8])):this[_0x39f894(0xa3)][_0x39f894(0xf3)](_0x472ed8,_0x531d28[_0x39f894(0xdd)][_0x472ed8]);}),this;}[_0x1e82c2(0x93)](){const _0x452e6b=_0x1e82c2,_0x272f4b={'fncVu':function(_0xb538e,_0x143946,_0xcd3844){const _0x358b1f=a29_0x3683;return _0x4e4eea[_0x358b1f(0xe9)](_0xb538e,_0x143946,_0xcd3844);}};if(helper['isBrowserstackInfra']()){const _0x4e6eb3=_0x4e4eea[_0x452e6b(0xba)][_0x452e6b(0x92)]('|');let _0x2b9e4f=0x0;while(!![]){switch(_0x4e6eb3[_0x2b9e4f++]){case'0':logger[_0x452e6b(0x9c)](_0x4e4eea[_0x452e6b(0xa0)]);continue;case'1':globals[_0x452e6b(0xf4)](_0x4e4eea['EQVXs'])&&(!_0x4e4eea[_0x452e6b(0xe2)](setExtension,this,_0x531d28)&&globals[_0x452e6b(0xa8)](_0x4e4eea[_0x452e6b(0x10d)],![]));continue;case'2':this[_0x452e6b(0xbe)]();continue;case'3':_0x4e4eea[_0x452e6b(0x10a)](isAccessibilityAutomationSession)&&_0x4e4eea[_0x452e6b(0xb2)](setAccessibilityCapabilities,_0x531d28);continue;case'4':this[_0x452e6b(0xe4)]();continue;case'5':if(helper[_0x452e6b(0xfc)](_0x531d28['proxySettings'][_0x452e6b(0xd9)]))this[_0x452e6b(0xbf)]=helper[_0x452e6b(0xd2)](_0x531d28[_0x452e6b(0xf6)]['proxyUrl']);else _0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)]&&(this['proxy_']=_0x531d28[_0x452e6b(0xf6)][_0x452e6b(0xd9)],logger['debug']('Proxy\x20set\x20to\x20'+this[_0x452e6b(0x96)]));continue;}break;}}const _0x39ec9e=super[_0x452e6b(0x93)]();return _0x39ec9e[_0x452e6b(0xb0)][_0x452e6b(0xf8)](_0x263f4b=>{const _0x39b0ea=_0x452e6b;try{const _0x4ef3fb=_0x263f4b[_0x39b0ea(0xae)][_0x39b0ea(0xd7)](_0x4e4eea['aRBgV']);_0x4ef3fb?(logger['debug'](_0x39b0ea(0xcf)+_0x4ef3fb),hubAllocator[_0x39b0ea(0x108)](_0x4ef3fb),helper[_0x39b0ea(0xe0)](_0x4ef3fb)):logger[_0x39b0ea(0x9c)](_0x4e4eea[_0x39b0ea(0x10b)]);}catch(_0x47f4db){logger[_0x39b0ea(0x9c)](_0x39b0ea(0xe8)+_0x47f4db);}}),_0x39ec9e['quitCount_']=0x0,_0x39ec9e[_0x452e6b(0xf8)]&&_0x39ec9e[_0x452e6b(0xf8)](_0x5e616a=>{const _0x168be4=_0x452e6b,_0x53a36b=_0x4e4eea[_0x168be4(0x9a)]['split']('|');let _0x360f92=0x0;while(!![]){switch(_0x53a36b[_0x360f92++]){case'0':_0x4e4eea[_0x168be4(0x9d)](overrideTakeScreenshot,_0x5e616a);continue;case'1':helper[_0x168be4(0x91)](_0x5e616a,_0x531d28);continue;case'2':_0x5e616a[_0x168be4(0xd8)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResultsSummary,_0x5e616a,global);};continue;case'3':_0x4e4eea[_0x168be4(0x103)](overrideQuit,_0x5e616a,_0x39ec9e);continue;case'4':_0x5e616a['getAccessibilityResults']=async()=>{const _0x2dcd4e=_0x168be4;return await _0x272f4b[_0x2dcd4e(0xb6)](getAccessibilityResults,_0x5e616a,global);};continue;case'5':_0x4e4eea[_0x168be4(0x103)](overrideExecute,_0x5e616a,_0x531d28);continue;}break;}}),_0x39ec9e[_0x452e6b(0xd8)]=async()=>{const _0x19bb60=_0x452e6b;return await _0x4e4eea[_0x19bb60(0xea)](getAccessibilityResultsSummary,_0x39ec9e,global);},_0x39ec9e[_0x452e6b(0xd3)]=async()=>{return await _0x272f4b['fncVu'](getAccessibilityResults,_0x39ec9e,global);},_0x4e4eea[_0x452e6b(0x9d)](overrideTakeScreenshot,_0x39ec9e),_0x4e4eea['dlzPV'](overrideQuit,_0x39ec9e),helper[_0x452e6b(0x91)](_0x39ec9e,_0x531d28),_0x4e4eea[_0x452e6b(0xe2)](overrideExecute,_0x39ec9e,_0x531d28),helper[_0x452e6b(0x101)](global[_0x452e6b(0xeb)])&&(global[_0x452e6b(0xeb)]=[]),helper['isUndefined'](global[_0x452e6b(0x98)])&&(global['__drivers']=[]),global['__driversArray']['push'](_0x39ec9e),global[_0x452e6b(0xdb)]=_0x39ec9e,_0x4e4eea[_0x452e6b(0xb8)](global[_0x452e6b(0x98)],undefined)&&global['__drivers'][_0x452e6b(0xcd)](_0x39ec9e),_0x4ccf46&&helper[_0x452e6b(0x101)](_0x4ccf46[_0x452e6b(0x99)]['__driversArray'])&&(_0x4ccf46['global'][_0x452e6b(0xeb)]=[]),_0x4ccf46&&_0x4e4eea[_0x452e6b(0xa6)](_0x4ccf46[_0x452e6b(0x99)][_0x452e6b(0x98)],undefined)&&(_0x4ccf46['global'][_0x452e6b(0x98)]['push'](_0x39ec9e),_0x4ccf46['global'][_0x452e6b(0xeb)][_0x452e6b(0xcd)](_0x39ec9e)),_0x39ec9e;}}return _0x4122ba[_0x1e82c2(0xcc)]=_0x4122ba[_0x1e82c2(0xdf)],_0x4122ba[_0x1e82c2(0xdf)]=_0x2cf686,_0x4a595b['HttpClient']=_0x557018,_0x4122ba;};function a29_0x3683(_0x5449cb,_0x167476){const _0x363ff0=a29_0x363f();return a29_0x3683=function(_0x368310,_0xdd7576){_0x368310=_0x368310-0x91;let _0x54d67a=_0x363ff0[_0x368310];return _0x54d67a;},a29_0x3683(_0x5449cb,_0x167476);}module['exports'][a29_0x1566bc(0xa5)]=modify;function a29_0x363f(){const _0x392619=['chromeOptions','originalBuilder','push','getHubUrl','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','../../../hubAllocationMethods','winstonLogger','getHttpAgent','getAccessibilityResults','IWdJs','lslVF','ieOptions','get','getAccessibilityResultsSummary','proxyUrl','../../../helpers/patchHelpers','__driver','lHoSB','capability','969640nafSMf','Builder','storeOptimalHubUrl','info','zhTEx','__setBrowserOptions','setServer','HhIdz','object','isAccessibilityPlatform','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','kOlpB','nkLGW','__driversArray','se:ieOptions','https://','HXTxN','JpncJ','/wd/hub','../accessibility-automation/helper','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','set','getGlobal','goog:chromeOptions','proxySettings','/session','then','5WkdZmF','forEach','ieOptions_','isPacProxy','logLevel','../../../helpers/logger','1435224fqiHeH','url_','isUndefined','2965770hjVKYx','YKnYJ','error','oMoMf','optimalHubUrl','firefoxOptions','updateHubUrl','../../../helpers/helper','eKski','arJIo','keys','EQVXs','369050uyecnr','overrideGet','split','build','ulOGu','safariOptions_','proxy_','safari.options','__drivers','global','IkbsV','cGxlD','debug','dlzPV','cJSvD','mergeDeep','UCTMx','Hub\x20url\x20set\x20to\x20','edgeOptions_','capabilities_','newHubUrl','browserstackAgentObservability','rIoxP','HttpClient','setGlobal','wfHcD','../../../helpers/globals','9862600QYLebv','KTNHO','SkBjD','caps_','CAPABILITY_KEY','session_','edgeOptions','LvThE','requireHttpClient','Running\x20your\x20test\x20suite\x20on\x20BrowserStack','send','fncVu','osFYA','qVRcO','firefoxOptions_','uhcXg','wKhxq','1435542BmcWas','2680840WyKKCV','setCapabilities','agent_','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','./helpers/patchHelper','AoFPA','xgGxH','olbCz','IdsWg','New\x20hub\x20url\x20set\x20to\x20','browserStackLogLevel','chromeOptions_','mpqKM','ms:edgeOptions'];a29_0x363f=function(){return _0x392619;};return a29_0x363f();}
|
|
1
|
+
const a29_0x4c9e18=a29_0x43ca;function a29_0x43ca(_0x375f09,_0x34be0f){const _0x432a72=a29_0x432a();return a29_0x43ca=function(_0x43ca30,_0x511add){_0x43ca30=_0x43ca30-0x154;let _0x3c4dc8=_0x432a72[_0x43ca30];return _0x3c4dc8;},a29_0x43ca(_0x375f09,_0x34be0f);}(function(_0x4029aa,_0x21da56){const _0x574a78=a29_0x43ca,_0x3fa23a=_0x4029aa();while(!![]){try{const _0x185d41=parseInt(_0x574a78(0x186))/0x1+-parseInt(_0x574a78(0x163))/0x2*(-parseInt(_0x574a78(0x15f))/0x3)+-parseInt(_0x574a78(0x1ac))/0x4*(parseInt(_0x574a78(0x157))/0x5)+-parseInt(_0x574a78(0x1b1))/0x6*(parseInt(_0x574a78(0x1c1))/0x7)+parseInt(_0x574a78(0x1af))/0x8*(-parseInt(_0x574a78(0x1a1))/0x9)+parseInt(_0x574a78(0x1ab))/0xa*(parseInt(_0x574a78(0x181))/0xb)+parseInt(_0x574a78(0x16d))/0xc*(-parseInt(_0x574a78(0x17f))/0xd);if(_0x185d41===_0x21da56)break;else _0x3fa23a['push'](_0x3fa23a['shift']());}catch(_0x3187bd){_0x3fa23a['push'](_0x3fa23a['shift']());}}}(a29_0x432a,0x7f793));const logger=require(a29_0x4c9e18(0x1c5))[a29_0x4c9e18(0x1a4)],helper=require(a29_0x4c9e18(0x1bf)),constants=require(a29_0x4c9e18(0x175)),hubAllocator=require(a29_0x4c9e18(0x17d)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a29_0x4c9e18(0x19a)),{setAccessibilityCapabilities,setExtension}=require(a29_0x4c9e18(0x16b)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a29_0x4c9e18(0x1b6)),globals=require('../../../helpers/globals'),{overrideExecute}=require(a29_0x4c9e18(0x166)),modify=(_0x4aa19b,_0x3ceac9=null,_0x3a4aa6=![])=>{const _0xebf436=a29_0x4c9e18,_0x893a39={'VHPiG':function(_0x178cff,_0x118781){return _0x178cff!==_0x118781;},'pruro':_0xebf436(0x189),'fOTUA':function(_0x597d93,_0x39c709){return _0x597d93+_0x39c709;},'XJNnz':function(_0x211f3f,_0x47aa92){return _0x211f3f+_0x47aa92;},'AfgRU':_0xebf436(0x19e),'UhVzj':'/wd/hub','lRWpQ':_0xebf436(0x1bc),'wvDdp':'chromeOptions','VkDUe':'ms:edgeOptions','XMNow':_0xebf436(0x1c6),'AmlFJ':'moz:firefoxOptions','QMNTp':_0xebf436(0x1a0),'EsRUt':_0xebf436(0x179),'SqyLf':'se:ieOptions','XfwJV':'ieOptions','ryAev':function(_0x54b91c,_0x31d56a){return _0x54b91c===_0x31d56a;},'HkbYx':_0xebf436(0x16a),'TXuFR':'Setting\x20Browserstack\x20capabilities','YzkDd':function(_0x7b3d6a,_0x37206e,_0x64f8b4){return _0x7b3d6a(_0x37206e,_0x64f8b4);},'GbghA':_0xebf436(0x190),'gJfKm':_0xebf436(0x15b),'gIcLi':function(_0x2450f1,_0x2934ef){return _0x2450f1(_0x2934ef);},'EzoAR':'4|0|5|2|3|1','YfBwh':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','hyOfu':_0xebf436(0x171),'WKWes':function(_0x1a45a3){return _0x1a45a3();},'zXgXE':function(_0x43fd8b,_0x5233db){return _0x43fd8b(_0x5233db);},'jRnVa':function(_0x50c4aa,_0x3cc3dc){return _0x50c4aa(_0x3cc3dc);},'BEKdU':function(_0x2f2a7a,_0x38a4e0,_0x458f94){return _0x2f2a7a(_0x38a4e0,_0x458f94);},'jIWNw':function(_0x2c2c6e,_0x461b23){return _0x2c2c6e!==_0x461b23;},'VvPVD':_0xebf436(0x1aa),'pHLRG':_0xebf436(0x168)},_0x59807e=helper['requireHttpClient']();let _0x49d6fb;try{_0x49d6fb=helper[_0xebf436(0x1a7)](),_0x49d6fb[_0xebf436(0x155)]&&(_0x49d6fb[_0xebf436(0x18e)]=_0x49d6fb[_0xebf436(0x155)]);}catch(_0x5d9e3d){return;}if(helper['isBrowserstackInfra']()){const _0x3a49ee={};_0x3a49ee['logLevel']=_0x4aa19b[_0xebf436(0x191)],helper[_0xebf436(0x1c0)](_0x3a49ee,new Map(),new Map()),logger[_0xebf436(0x1be)](_0x893a39[_0xebf436(0x1ba)]),logger[_0xebf436(0x18b)](_0x893a39[_0xebf436(0x19d)]);}class _0x42625b extends _0x59807e['HttpClient']{[_0xebf436(0x16c)](_0x12ef33){const _0xd19b3d=_0xebf436;if(_0x893a39[_0xd19b3d(0x1a5)](_0x12ef33[_0xd19b3d(0x18d)],_0x893a39[_0xd19b3d(0x178)])&&_0x893a39[_0xd19b3d(0x1a5)](global[_0xd19b3d(0x18f)],''))try{global[_0xd19b3d(0x18f)]=_0x893a39['fOTUA'](_0x893a39[_0xd19b3d(0x19f)](_0x893a39['AfgRU'],global[_0xd19b3d(0x18f)]),_0x893a39['UhVzj']),this['options_']=hubAllocator[_0xd19b3d(0x194)](global['newHubUrl']),logger[_0xd19b3d(0x18b)](_0xd19b3d(0x1bd)+global['newHubUrl']),global[_0xd19b3d(0x18f)]='';}catch(_0x3d0189){logger[_0xd19b3d(0x197)](_0x3d0189);}return super['send'](_0x12ef33);}}class _0x239ee2 extends _0x49d6fb[_0xebf436(0x18e)]{[_0xebf436(0x192)](){const _0x21c4b9=_0xebf436;return this[_0x21c4b9(0x15c)]=helper['getHubUrl'](_0x4aa19b),logger[_0x21c4b9(0x18b)]('Hub\x20url\x20set\x20to\x20'+this[_0x21c4b9(0x15c)]),this;}['__setBrowserOptions'](_0x52c281){const _0x52f942=_0xebf436;let _0x5dba0e={};for(const _0x3da2eb in _0x52c281){switch(_0x3da2eb){case _0x893a39[_0x52f942(0x17e)]:case _0x893a39[_0x52f942(0x16f)]:this[_0x52f942(0x17c)]&&(_0x5dba0e=this['chromeOptions_'][_0x52f942(0x1c2)](this['chromeOptions_'][_0x52f942(0x159)])||{},this[_0x52f942(0x17c)]['set'](this['chromeOptions_']['CAPABILITY_KEY'],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['VkDUe']:case _0x893a39[_0x52f942(0x158)]:this['edgeOptions_']&&(_0x5dba0e=this[_0x52f942(0x18c)][_0x52f942(0x1c2)](this[_0x52f942(0x18c)]['CAPABILITY_KEY'])||{},this[_0x52f942(0x18c)][_0x52f942(0x1a6)](this[_0x52f942(0x18c)][_0x52f942(0x159)],helper['mergeDeep'](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39[_0x52f942(0x162)]:case _0x893a39['QMNTp']:this[_0x52f942(0x188)]&&(_0x5dba0e=this[_0x52f942(0x188)][_0x52f942(0x1c2)](this[_0x52f942(0x188)][_0x52f942(0x159)])||{},this[_0x52f942(0x188)][_0x52f942(0x1a6)](this['firefoxOptions_']['CAPABILITY_KEY'],helper['mergeDeep'](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['EsRUt']:this[_0x52f942(0x19c)]&&(_0x5dba0e=this['safariOptions_']['get'](this[_0x52f942(0x19c)][_0x52f942(0x159)])||{},this['safariOptions_']['set'](this[_0x52f942(0x19c)][_0x52f942(0x159)],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;case _0x893a39['SqyLf']:case _0x893a39['XfwJV']:this[_0x52f942(0x154)]&&(_0x5dba0e=this[_0x52f942(0x154)]['get'](this['ieOptions_'][_0x52f942(0x159)])||{},this[_0x52f942(0x154)][_0x52f942(0x1a6)](this[_0x52f942(0x154)][_0x52f942(0x159)],helper[_0x52f942(0x1a3)](_0x5dba0e,_0x52c281[_0x3da2eb])));break;}}}['setCapabilities'](){const _0x309300=_0xebf436;return logger['debug'](_0x893a39[_0x309300(0x1a9)]),this[_0x309300(0x15a)](_0x4aa19b[_0x309300(0x1b0)]),Object['keys'](_0x4aa19b['capability'])[_0x309300(0x177)](_0x54ebf7=>{const _0x286654=_0x309300,_0x189341=this[_0x286654(0x1a8)][_0x286654(0x1c2)](_0x54ebf7);_0x893a39[_0x286654(0x176)](typeof _0x189341,_0x893a39[_0x286654(0x185)])?this[_0x286654(0x1a8)][_0x286654(0x1a6)](_0x54ebf7,helper[_0x286654(0x1a3)](_0x189341,_0x4aa19b[_0x286654(0x1b0)][_0x54ebf7])):this[_0x286654(0x1a8)][_0x286654(0x1a6)](_0x54ebf7,_0x4aa19b[_0x286654(0x1b0)][_0x54ebf7]);}),this;}[_0xebf436(0x16e)](){const _0x18e63a=_0xebf436,_0x524d07={'liFtK':_0x893a39[_0x18e63a(0x1c7)],'bScNh':_0x893a39['gJfKm'],'btexS':function(_0x3c57d2,_0x7a24d,_0x444cd1){const _0x16ea85=_0x18e63a;return _0x893a39[_0x16ea85(0x1c4)](_0x3c57d2,_0x7a24d,_0x444cd1);},'mopEp':function(_0x44d84d,_0x4c82af){const _0x337f52=_0x18e63a;return _0x893a39[_0x337f52(0x173)](_0x44d84d,_0x4c82af);},'OaQUl':function(_0x287991,_0x4245f4,_0x38dfa7){return _0x893a39['YzkDd'](_0x287991,_0x4245f4,_0x38dfa7);}};if(helper[_0x18e63a(0x160)]()){const _0x2a20a7=_0x893a39[_0x18e63a(0x187)]['split']('|');let _0x4f931c=0x0;while(!![]){switch(_0x2a20a7[_0x4f931c++]){case'0':this['setServer']();continue;case'1':logger[_0x18e63a(0x18b)](_0x893a39[_0x18e63a(0x15e)]);continue;case'2':if(helper['isPacProxy'](_0x4aa19b['proxySettings'][_0x18e63a(0x182)]))this[_0x18e63a(0x1b2)]=helper[_0x18e63a(0x17b)](_0x4aa19b[_0x18e63a(0x1b9)][_0x18e63a(0x182)]);else _0x4aa19b['proxySettings'][_0x18e63a(0x182)]&&(this[_0x18e63a(0x1b4)]=_0x4aa19b[_0x18e63a(0x1b9)][_0x18e63a(0x182)],logger[_0x18e63a(0x18b)](_0x18e63a(0x15d)+this[_0x18e63a(0x1b4)]));continue;case'3':globals[_0x18e63a(0x196)](_0x893a39[_0x18e63a(0x1ae)])&&(!_0x893a39[_0x18e63a(0x1c4)](setExtension,this,_0x4aa19b)&&globals[_0x18e63a(0x193)](_0x893a39['hyOfu'],![]));continue;case'4':_0x893a39[_0x18e63a(0x1b3)](isAccessibilityAutomationSession)&&_0x893a39[_0x18e63a(0x1bb)](setAccessibilityCapabilities,_0x4aa19b);continue;case'5':this[_0x18e63a(0x156)]();continue;}break;}}const _0x44c16b=super[_0x18e63a(0x16e)]();return _0x44c16b['session_'][_0x18e63a(0x1b5)](_0x39c0bd=>{const _0x486b66=_0x18e63a;try{const _0x2fd76f=_0x39c0bd[_0x486b66(0x1b7)]['get'](_0x524d07[_0x486b66(0x17a)]);_0x2fd76f?(logger[_0x486b66(0x18b)](_0x486b66(0x172)+_0x2fd76f),hubAllocator['updateHubUrl'](_0x2fd76f),helper[_0x486b66(0x174)](_0x2fd76f)):logger[_0x486b66(0x18b)](_0x524d07[_0x486b66(0x180)]);}catch(_0x2c7603){logger['debug']('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x2c7603);}}),_0x44c16b[_0x18e63a(0x183)]=0x0,_0x44c16b[_0x18e63a(0x1b5)]&&_0x44c16b[_0x18e63a(0x1b5)](_0x12c8a0=>{const _0x37f6e0=_0x18e63a,_0x2aaa04={'CpEXG':function(_0x47ead6,_0x50f72a,_0x3818d5){return _0x524d07['btexS'](_0x47ead6,_0x50f72a,_0x3818d5);}};_0x524d07[_0x37f6e0(0x198)](overrideQuit,_0x12c8a0,_0x44c16b),_0x524d07['mopEp'](overrideTakeScreenshot,_0x12c8a0),helper[_0x37f6e0(0x19b)](_0x12c8a0,_0x4aa19b),_0x524d07[_0x37f6e0(0x198)](overrideExecute,_0x12c8a0,_0x4aa19b),_0x12c8a0[_0x37f6e0(0x199)]=async()=>{const _0x2f85ad=_0x37f6e0;return await _0x2aaa04[_0x2f85ad(0x1b8)](getAccessibilityResultsSummary,_0x12c8a0,global);},_0x12c8a0[_0x37f6e0(0x1ad)]=async()=>{const _0x5ab80f=_0x37f6e0;return await _0x2aaa04[_0x5ab80f(0x1b8)](getAccessibilityResults,_0x12c8a0,global);};}),_0x44c16b[_0x18e63a(0x199)]=async()=>{return await _0x524d07['OaQUl'](getAccessibilityResultsSummary,_0x44c16b,global);},_0x44c16b[_0x18e63a(0x1ad)]=async()=>{const _0x18ea45=_0x18e63a;return await _0x893a39[_0x18ea45(0x1c4)](getAccessibilityResults,_0x44c16b,global);},_0x893a39[_0x18e63a(0x1c3)](overrideTakeScreenshot,_0x44c16b),_0x893a39[_0x18e63a(0x1bb)](overrideQuit,_0x44c16b),helper[_0x18e63a(0x19b)](_0x44c16b,_0x4aa19b),_0x893a39[_0x18e63a(0x184)](overrideExecute,_0x44c16b,_0x4aa19b),helper[_0x18e63a(0x167)](global[_0x18e63a(0x1a2)])&&(global[_0x18e63a(0x1a2)]=[]),helper[_0x18e63a(0x167)](global[_0x18e63a(0x170)])&&(global[_0x18e63a(0x170)]=[]),global[_0x18e63a(0x1a2)][_0x18e63a(0x195)](_0x44c16b),global[_0x18e63a(0x164)]=_0x44c16b,_0x893a39['VHPiG'](global[_0x18e63a(0x170)],undefined)&&global[_0x18e63a(0x170)][_0x18e63a(0x195)](_0x44c16b),_0x3ceac9&&helper[_0x18e63a(0x167)](_0x3ceac9[_0x18e63a(0x161)]['__driversArray'])&&(_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x1a2)]=[]),_0x3ceac9&&_0x893a39['jIWNw'](_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x170)],undefined)&&(_0x3ceac9[_0x18e63a(0x161)][_0x18e63a(0x170)][_0x18e63a(0x195)](_0x44c16b),_0x3ceac9['global'][_0x18e63a(0x1a2)][_0x18e63a(0x195)](_0x44c16b)),_0x44c16b;}}return _0x49d6fb[_0xebf436(0x155)]=_0x49d6fb[_0xebf436(0x18e)],_0x49d6fb[_0xebf436(0x18e)]=_0x239ee2,_0x59807e[_0xebf436(0x18a)]=_0x42625b,_0x49d6fb;};function a29_0x432a(){const _0x2c5d2c=['New\x20hub\x20url\x20set\x20to\x20','info','../../../helpers/helper','setLogLevel','1071959lRTmdG','get','jRnVa','YzkDd','../../../helpers/logger','edgeOptions','GbghA','ieOptions_','originalBuilder','setCapabilities','2805070apvVhg','XMNow','CAPABILITY_KEY','__setBrowserOptions','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','url_','Proxy\x20set\x20to\x20','YfBwh','6iRXMPH','isBrowserstackInfra','global','AmlFJ','737542bmnpNi','__driver','exports','./helpers/patchHelper','isUndefined','Modifying\x20webdriver\x20builder','browserstackAgentObservability','object','../accessibility-automation/helper','send','98220RhsAAf','build','wvDdp','__drivers','isAccessibilityPlatform','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','gIcLi','storeOptimalHubUrl','../../../bin/utils/constants','ryAev','forEach','pruro','safari.options','liFtK','getHttpAgent','chromeOptions_','../../../hubAllocationMethods','lRWpQ','507xObOVy','bScNh','11DTcLqs','proxyUrl','quitCount_','BEKdU','HkbYx','927640ZjAwtx','EzoAR','firefoxOptions_','/session','HttpClient','debug','edgeOptions_','path','Builder','newHubUrl','optimalHubUrl','browserStackLogLevel','setServer','setGlobal','getRequestOptions','push','getGlobal','error','btexS','getAccessibilityResultsSummary','../../../helpers/patchHelpers','overrideGet','safariOptions_','pHLRG','https://','XJNnz','firefoxOptions','1069542qhUgfw','__driversArray','mergeDeep','winstonLogger','VHPiG','set','requireSeleniumWebdriver','capabilities_','TXuFR','Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','3154270mtdjTO','4WDYUeQ','getAccessibilityResults','hyOfu','8ejxgqf','capability','18qPXxoW','agent_','WKWes','proxy_','then','../../../helpers/accessibility-automation/helper','caps_','CpEXG','proxySettings','VvPVD','zXgXE','goog:chromeOptions'];a29_0x432a=function(){return _0x2c5d2c;};return a29_0x432a();}module[a29_0x4c9e18(0x165)][a29_0x4c9e18(0x169)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a30_0x3f7706=a30_0x3e14;function a30_0x42fd(){const _0x3efb32=['../../../bin/utils/constants','1220030PbpBoW','68BNiUVX','restore','179650OTHrma','90WpmWDL','5345178jtqjkK','370542PHbvrP','175HurrVM','timeout','10611264stxizm','riDnj','148527prLfUw','1871168fUGvUI','../../../helpers/request-spy'];a30_0x42fd=function(){return _0x3efb32;};return a30_0x42fd();}(function(_0x417587,_0x1dc9c5){const _0x505361=a30_0x3e14,_0x56eaa3=_0x417587();while(!![]){try{const _0x39f577=parseInt(_0x505361(0xb4))/0x1+-parseInt(_0x505361(0xb1))/0x2+-parseInt(_0x505361(0xb9))/0x3+-parseInt(_0x505361(0xb5))/0x4*(parseInt(_0x505361(0xb7))/0x5)+parseInt(_0x505361(0xab))/0x6*(parseInt(_0x505361(0xac))/0x7)+parseInt(_0x505361(0xae))/0x8+parseInt(_0x505361(0xb0))/0x9*(parseInt(_0x505361(0xb8))/0xa);if(_0x39f577===_0x1dc9c5)break;else _0x56eaa3['push'](_0x56eaa3['shift']());}catch(_0x18df4f){_0x56eaa3['push'](_0x56eaa3['shift']());}}}(a30_0x42fd,0xde5b2));function a30_0x3e14(_0x4b4390,_0x15ab2d){const _0x42fd2f=a30_0x42fd();return a30_0x3e14=function(_0x3e1420,_0x277323){_0x3e1420=_0x3e1420-0xab;let _0xde29d6=_0x42fd2f[_0x3e1420];return _0xde29d6;},a30_0x3e14(_0x4b4390,_0x15ab2d);}const requestSpy=require(a30_0x3f7706(0xb2)),constants=require(a30_0x3f7706(0xb3)),{addRequestSpy}=require('../../../helpers/test-observability/utils');exports['mochaHooks']={'beforeAll'(){const _0x5b37c7=a30_0x3f7706,_0x306feb={'riDnj':function(_0x47bf5d){return _0x47bf5d();}},_0x3f551e='browserstack internal helper hook';_0x306feb[_0x5b37c7(0xaf)](addRequestSpy);},'afterAll'(){const _0x4fa685=a30_0x3f7706,_0x2a7cd3='browserstack internal helper hook';this[_0x4fa685(0xad)](0xea60),requestSpy[_0x4fa685(0xb6)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a31_0x44ef00=a31_0x5504;(function(_0x28207b,_0x328b6e){const _0x5ee0d6=a31_0x5504,_0x3c0944=_0x28207b();while(!![]){try{const _0x1f24b5=parseInt(_0x5ee0d6(0x1c8))/0x1+parseInt(_0x5ee0d6(0x1ad))/0x2+parseInt(_0x5ee0d6(0x1b4))/0x3*(parseInt(_0x5ee0d6(0x1bd))/0x4)+-parseInt(_0x5ee0d6(0x1d0))/0x5*(parseInt(_0x5ee0d6(0x1ab))/0x6)+-parseInt(_0x5ee0d6(0x1de))/0x7+-parseInt(_0x5ee0d6(0x1c5))/0x8+parseInt(_0x5ee0d6(0x1ba))/0x9*(parseInt(_0x5ee0d6(0x1e4))/0xa);if(_0x1f24b5===_0x328b6e)break;else _0x3c0944['push'](_0x3c0944['shift']());}catch(_0x4bb980){_0x3c0944['push'](_0x3c0944['shift']());}}}(a31_0x1c8f,0xcba40));function a31_0x5504(_0x47a715,_0x35e5e4){const _0x1c8f28=a31_0x1c8f();return a31_0x5504=function(_0x55041e,_0x538ecd){_0x55041e=_0x55041e-0x19d;let _0x34e2b0=_0x1c8f28[_0x55041e];return _0x34e2b0;},a31_0x5504(_0x47a715,_0x35e5e4);}function a31_0x1c8f(){const _0x3beedb=['721945HsqsAF','_beforeEach','ppSaR','stANp','bs:addPlatformDetails:','passed','state','markedStatus','hook:','EGSLB','_afterAll','getBrowserName','pid','doGJM','6686330mufqog','getHookDetails','ucVbj','Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20','emit','RwGJQ','1898100qqISMu','getBrowserVersion','indexOf','nFQTw','getHookSkippedTests','map_','_beforeAll','reduce','../../../helpers/test-observability/constants','push','unknown_grid','sendPlatformDetails','concat','hookAnalyticsId','fromEntries','tests','toISOString','svchV','__cloud_provider___','pending','getCapabilities','ivLoo','forEach','36ngmjby','WZpTW','2015104CWbIfZ','_afterEach','../../../../package.json','wrwBP','../../../helpers/testhub/utils','slice','toJSON','2361633CNiIQg','Awnqp','getPlatform','gvMlx','qBXWm','browserstack','45WBanle','nyzxO','split','8fVtilZ','cCckl','lodash','js-','VTjYo','getHooksForTest','uJyVb','inVUx','12615304mQHqfL','MBwfk','string','701525XwCOFz','ioEOy','substring','getSession','caesA','parent','failed','../../../helpers/test-observability/utils'];a31_0x1c8f=function(){return _0x3beedb;};return a31_0x1c8f();}const {v4:uuidv4}=require('uuid'),{name,version}=require(a31_0x44ef00(0x1af)),logPatcher=require('../../utils/logPatcher'),BSTestOpsPatcher=new logPatcher({}),{debug,isInternalHook,getObservabilityLinkedProductName}=require(a31_0x44ef00(0x1cf)),{consoleHolder}=require(a31_0x44ef00(0x1ec)),{getPlatformVersion}=require('../../../helpers/helper'),{shouldProcessEventForTesthub}=require(a31_0x44ef00(0x1b1)),{isFunction}=require(a31_0x44ef00(0x1bf)),{patchConsoleLogger}=require(a31_0x44ef00(0x1cf));patchConsoleLogger(),exports['getTestEnv']=()=>{const _0x6b20a1=a31_0x44ef00,_0x4623fa={'hQctG':'generic','RwGJQ':function(_0x5dd2f7){return _0x5dd2f7();}};return{'ci':_0x4623fa['hQctG'],'key':_0x4623fa[_0x6b20a1(0x1e3)](uuidv4),'version':version,'collector':_0x6b20a1(0x1c0)+name};},exports[a31_0x44ef00(0x1df)]=_0x53b24f=>{const _0x3345cc=a31_0x44ef00,_0x113c03={};_0x113c03[_0x3345cc(0x1b8)]=function(_0x3d720c,_0x1fb280){return _0x3d720c!==_0x1fb280;},_0x113c03['UPVKi']=_0x3345cc(0x1c7),_0x113c03[_0x3345cc(0x1dd)]=_0x3345cc(0x1d8),_0x113c03[_0x3345cc(0x1c3)]='hook';const _0x2cbdb2=_0x113c03;if(!_0x53b24f||_0x2cbdb2[_0x3345cc(0x1b8)](typeof _0x53b24f,_0x2cbdb2['UPVKi']))return[null,null];if(_0x2cbdb2[_0x3345cc(0x1b8)](_0x53b24f[_0x3345cc(0x1e6)](_0x2cbdb2[_0x3345cc(0x1dd)]),-0x1)){const _0x133a03=_0x53b24f[_0x3345cc(0x1bc)](_0x2cbdb2['doGJM']);return[_0x133a03[0x0][_0x3345cc(0x1b2)](0x0,-0x1)[_0x3345cc(0x1bc)]('\x22')[0x1],_0x133a03[0x1][_0x3345cc(0x1ca)](0x1)];}else{if(_0x2cbdb2[_0x3345cc(0x1b8)](_0x53b24f[_0x3345cc(0x1e6)](_0x2cbdb2[_0x3345cc(0x1c3)]),-0x1)){const _0xc3e7a7=_0x53b24f[_0x3345cc(0x1bc)](_0x2cbdb2[_0x3345cc(0x1c3)]);return[_0xc3e7a7[0x0][_0x3345cc(0x1b2)](0x0,-0x1)[_0x3345cc(0x1bc)]('\x22')[0x1],_0x53b24f];}}return[null,null];},exports[a31_0x44ef00(0x1c2)]=_0x3cad18=>{const _0xc668c=a31_0x44ef00,_0x47ae55={'inVUx':function(_0x2eb847,_0x41439b){return _0x2eb847(_0x41439b);},'cCckl':_0xc668c(0x1ea),'cagvT':_0xc668c(0x1da),'nFQTw':_0xc668c(0x1d1),'tfeoH':'_afterEach'};if(!_0x3cad18||!_0x3cad18[_0xc668c(0x1cd)])return[];const _0x10b1c4=[];return[_0x47ae55[_0xc668c(0x1be)],_0x47ae55['cagvT'],_0x47ae55[_0xc668c(0x1e7)],_0x47ae55['tfeoH']]['forEach'](_0x1b541f=>{const _0x2a129b=_0xc668c,_0x522193={'EGSLB':function(_0x75bacc,_0x104e40){const _0x301e5f=a31_0x5504;return _0x47ae55[_0x301e5f(0x1c4)](_0x75bacc,_0x104e40);}},_0x217643=_0x3cad18['parent'][_0x1b541f]||[];_0x217643[_0x2a129b(0x1aa)](_0x2cdb3c=>{const _0xb26f96=_0x2a129b;_0x2cdb3c[_0xb26f96(0x1a1)]&&!_0x522193[_0xb26f96(0x1d9)](isInternalHook,_0x2cdb3c['fn'])&&_0x10b1c4[_0xb26f96(0x19d)](_0x2cdb3c[_0xb26f96(0x1a1)]);});}),[..._0x10b1c4,...exports['getHooksForTest'](_0x3cad18[_0xc668c(0x1cd)])];},exports['mapTestHooks']=_0x273886=>{const _0x447082=a31_0x44ef00,_0x1eb235={'nyzxO':function(_0x244d56){return _0x244d56();},'trOiO':function(_0x3214a6,_0x46cb9e){return _0x3214a6===_0x46cb9e;},'XsGJW':_0x447082(0x1ae),'ioEOy':function(_0x42dc6b){return _0x42dc6b();},'gvbAg':_0x447082(0x1ea),'stANp':'_afterAll','lRIXh':_0x447082(0x1d1)};if(!_0x273886||!_0x273886[_0x447082(0x1cd)])return;[_0x1eb235['gvbAg'],_0x1eb235[_0x447082(0x1d3)],_0x1eb235['lRIXh'],_0x1eb235['XsGJW']][_0x447082(0x1aa)](_0x3e246d=>{const _0x51b096=_0x447082,_0x5f1aae=_0x273886[_0x51b096(0x1cd)][_0x3e246d]||[];_0x5f1aae[_0x51b096(0x1aa)](_0x37e22f=>{const _0x22c5ae=_0x51b096;if(!_0x37e22f[_0x22c5ae(0x1a1)])_0x37e22f[_0x22c5ae(0x1a1)]=_0x1eb235[_0x22c5ae(0x1bb)](uuidv4);else _0x37e22f[_0x22c5ae(0x1d7)]&&_0x1eb235['trOiO'](_0x3e246d,_0x1eb235['XsGJW'])&&(_0x37e22f[_0x22c5ae(0x1a1)]=_0x1eb235[_0x22c5ae(0x1c9)](uuidv4),delete _0x37e22f['markedStatus']);});}),exports['mapTestHooks'](_0x273886['parent']);},exports[a31_0x44ef00(0x19f)]=async(_0x4619aa,_0x10f742)=>{const _0x1e282c=a31_0x44ef00,_0x19fbdb={'wrwBP':function(_0x563422){return _0x563422();},'ucVbj':function(_0x32c049,_0xb8e91a){return _0x32c049(_0xb8e91a);},'VTjYo':function(_0x2a6b77,_0x16a32b){return _0x2a6b77===_0x16a32b;},'MBwfk':_0x1e282c(0x1b9),'ivLoo':_0x1e282c(0x19e),'gvMlx':'TEST_PLATFORM'};try{if(!_0x19fbdb[_0x1e282c(0x1b0)](shouldProcessEventForTesthub))return;const _0x347986=await _0x4619aa['getCapabilities'](),_0x188cbb=await _0x4619aa[_0x1e282c(0x1cb)](),_0x4ee3c0={},_0x54a1fb=Object[_0x1e282c(0x1a2)](_0x188cbb[_0x1e282c(0x1a8)]()[_0x1e282c(0x1e9)]),_0x29d61d={'product':_0x19fbdb[_0x1e282c(0x1e0)](getObservabilityLinkedProductName,_0x54a1fb),'capabilities':_0x54a1fb,'platform':_0x347986[_0x1e282c(0x1b6)](),'platform_version':_0x19fbdb[_0x1e282c(0x1e0)](getPlatformVersion,_0x19fbdb[_0x1e282c(0x1c1)](global[_0x1e282c(0x1a6)],_0x19fbdb[_0x1e282c(0x1c6)])),'browser':_0x347986[_0x1e282c(0x1db)](),'browser_version':_0x347986[_0x1e282c(0x1e5)](),'session_id':_0x188cbb[_0x1e282c(0x1b3)]()};global[_0x1e282c(0x1a6)]?_0x4ee3c0[global[_0x1e282c(0x1a6)]]=_0x29d61d:_0x4ee3c0[_0x19fbdb[_0x1e282c(0x1a9)]]=_0x29d61d,process[_0x1e282c(0x1e2)](_0x1e282c(0x1d4)+process[_0x1e282c(0x1dc)],{'timestamp':new Date()[_0x1e282c(0x1a4)](),'level':null,'message':null,'kind':_0x19fbdb[_0x1e282c(0x1b7)],'http_response':_0x4ee3c0,'uuid':_0x10f742});}catch(_0x2142d3){_0x19fbdb[_0x1e282c(0x1e0)](debug,_0x1e282c(0x1e1)+_0x2142d3);}},exports[a31_0x44ef00(0x1e8)]=_0x199845=>{const _0x3a6d39=a31_0x44ef00,_0x25e32c={};_0x25e32c[_0x3a6d39(0x1d2)]=function(_0x39fa50,_0x2f8e43){return _0x39fa50!==_0x2f8e43;},_0x25e32c[_0x3a6d39(0x1ac)]='hook',_0x25e32c['ONsQF']=function(_0x1bea04,_0x225cbd){return _0x1bea04!==_0x225cbd;},_0x25e32c[_0x3a6d39(0x1a5)]=_0x3a6d39(0x1d5),_0x25e32c[_0x3a6d39(0x1cc)]=function(_0x20f40a,_0x13aa7e){return _0x20f40a!==_0x13aa7e;},_0x25e32c[_0x3a6d39(0x1b5)]=_0x3a6d39(0x1ce);const _0x4da211=_0x25e32c,_0x1db5e9=_0x199845['suites'][_0x3a6d39(0x1eb)]((_0x3ddb79,_0x5c34dc)=>{const _0x1b31d7=_0x3a6d39,_0x3edbb2=exports[_0x1b31d7(0x1e8)](_0x5c34dc);return _0x3edbb2&&(_0x3ddb79=_0x3ddb79['concat'](_0x3edbb2)),_0x3ddb79;},[]),_0x1dee66=_0x199845[_0x3a6d39(0x1a3)]['filter'](_0x293187=>{const _0x514b67=_0x3a6d39,_0x331832=_0x4da211[_0x514b67(0x1d2)](_0x293187['type'],_0x4da211[_0x514b67(0x1ac)])&&!_0x293187[_0x514b67(0x1d7)]&&_0x4da211['ONsQF'](_0x293187[_0x514b67(0x1d6)],_0x4da211[_0x514b67(0x1a5)])&&_0x4da211[_0x514b67(0x1cc)](_0x293187['state'],_0x4da211[_0x514b67(0x1b5)])&&!_0x293187[_0x514b67(0x1a7)];return _0x331832;});return _0x1dee66[_0x3a6d39(0x1a0)](_0x1db5e9);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x1145f1=a32_0x4962;function a32_0x4962(_0x127226,_0x4d7c26){const _0x4c7b67=a32_0x4c7b();return a32_0x4962=function(_0x49627a,_0x33f002){_0x49627a=_0x49627a-0x19f;let _0x1978eb=_0x4c7b67[_0x49627a];return _0x1978eb;},a32_0x4962(_0x127226,_0x4d7c26);}(function(_0x232ce2,_0x1bc094){const _0x37c7b6=a32_0x4962,_0x59dec3=_0x232ce2();while(!![]){try{const _0x500fce=-parseInt(_0x37c7b6(0x208))/0x1*(parseInt(_0x37c7b6(0x201))/0x2)+parseInt(_0x37c7b6(0x1ae))/0x3*(-parseInt(_0x37c7b6(0x1d3))/0x4)+parseInt(_0x37c7b6(0x1de))/0x5+parseInt(_0x37c7b6(0x1c7))/0x6+parseInt(_0x37c7b6(0x206))/0x7+-parseInt(_0x37c7b6(0x1c5))/0x8*(parseInt(_0x37c7b6(0x1f9))/0x9)+parseInt(_0x37c7b6(0x1ad))/0xa*(parseInt(_0x37c7b6(0x1b4))/0xb);if(_0x500fce===_0x1bc094)break;else _0x59dec3['push'](_0x59dec3['shift']());}catch(_0x219867){_0x59dec3['push'](_0x59dec3['shift']());}}}(a32_0x4c7b,0x9f61a));const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require(a32_0x1145f1(0x1b6)),{sendPlatformDetails}=require(a32_0x1145f1(0x203)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x1145f1(0x1cd)),PerformanceTester=require(a32_0x1145f1(0x1fb)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a32_0x1145f1(0x1f6)),logger=require('../../helpers/logger')[a32_0x1145f1(0x218)],{shouldProcessEventForTesthub}=require(a32_0x1145f1(0x1a3)),testHubConstants=require(a32_0x1145f1(0x1b3));function a32_0x4c7b(){const _0x9de3d7=['Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Cdihp','shift','dcRVZ','bfyhO','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','shouldScanTestForAccessibility','Automate\x20test\x20case\x20execution\x20has\x20started.','IgenJ','info','LWwBg','TUFAA','ddFMt','YHvJU',',\x22level\x22:\x20\x22','thBuildUuid','WmtIF','https:','timeout','capabilities','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','QVPhb','../../helpers/globals','HMwmD','appium:app','189OfNrCX','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/performance-tester','getGlobal','NyTro','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','sessionNameSet__','__error_messages__','41618DsEyBc','accessibilityScanStarted','./test-observability/mochaUtils','state','isArray','422562hnnTpI','EDZfn','1CcVKvO','join','stringify','thTestRunUuid','executeAsyncScript','\x22}}','YEbym','thJwtToken','bPDGu','ObservabilitySync:','error','titlePath','isAccessibilityPlatform','QSqkI','AnqDP','\x20|\x20','winstonLogger','pwgZh','debug','quitCount_','http:','ENV_VAR','../../helpers/testhub/utils','startMonitoring','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','.\x20Error\x20:','qjoQh','PdoWo','KactA','Failed\x20to\x20store\x20session\x20name:\x20','XlxHs','testAnalyticsId','518120PgiGAq','2360409FurqCx','__drivers','BROWSERSTACK_TESTHUB_UUID','performScan','Nfntq','../../helpers/testhub/constants','132jYvwOn','Failed:\x20','../../helpers/percy/utils','Uuajv','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','__sessionFailed','app','cxGnT','OnhQx','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','XxYOB','OCmnp','YMJUO','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Performing\x20scan\x20before\x20saving\x20results','format','mWVpK','61368hhrkQT','currentTest','4855794BmIUdj','Passed','YhSxR','then','GIAYM','env','../../helpers/helper','passed','push','\x20-\x20','mochaHooks','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','4QegjDh','percyCaptureMode','message','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','AiKSR','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','length','driverCleanup','percy','err','executeScript','650600jHRoBm'];a32_0x4c7b=function(){return _0x9de3d7;};return a32_0x4c7b();}exports[a32_0x1145f1(0x1d1)]={'beforeAll'(){const _0x438ddf=a32_0x1145f1,_0xaee44e={'TUFAA':function(_0x4a1c34,_0x14d4f2,_0x5db1a4,_0x4b35be){return _0x4a1c34(_0x14d4f2,_0x5db1a4,_0x4b35be);},'eRjkM':'failed','YMJUO':_0x438ddf(0x217),'PdoWo':function(_0x523e8b,_0x14eeec,_0x30e918){return _0x523e8b(_0x14eeec,_0x30e918);},'NBGhH':_0x438ddf(0x1ce),'ZIjOB':function(_0x251d02){return _0x251d02();},'CZDtj':function(_0x57fde3,_0xcd41,_0x34a4b8){return _0x57fde3(_0xcd41,_0x34a4b8);}};PerformanceTester[_0x438ddf(0x1a4)]();const _0x32801d='browserstack internal helper hook';global[_0x438ddf(0x200)]=[],global[_0x438ddf(0x1b9)]=![],global['driverCleanup']=async()=>{const _0xeacc1c=_0x438ddf;let _0x25d64b=![];try{await global[_0xeacc1c(0x1af)][0x0]['session_'],_0x25d64b=!![],global[_0xeacc1c(0x1b9)]?await _0xaee44e[_0xeacc1c(0x1eb)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['eRjkM'],global[_0xeacc1c(0x200)][_0xeacc1c(0x209)](_0xaee44e[_0xeacc1c(0x1c0)])):await _0xaee44e[_0xeacc1c(0x1a8)](markSessionStatus,global[_0xeacc1c(0x1af)][0x0],_0xaee44e['NBGhH']);}catch(_0x2f2d1d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1b8)+_0x2f2d1d);}global[_0xeacc1c(0x200)]=[],global['__sessionFailed']=![];if(_0x25d64b)try{try{_0xaee44e['ZIjOB'](shouldProcessEventForTesthub)&&(global['__drivers'][0x0]&&await _0xaee44e['CZDtj'](sendPlatformDetails,global['__drivers'][0x0],this[_0xeacc1c(0x1c6)]?this['currentTest'][_0xeacc1c(0x1ac)]:null));}catch(_0x2ab09d){logger['debug'](_0xeacc1c(0x1a5)+_0x2ab09d);}await global[_0xeacc1c(0x1af)][0x0]['initQuit']();}catch(_0x37996d){logger[_0xeacc1c(0x19f)](_0xeacc1c(0x1fe)+_0x37996d);}};},'beforeEach'(_0x219fb2){const _0x2b48a6=a32_0x1145f1,_0x50bac1={'Uuajv':function(_0x441892,_0x35d030){return _0x441892>_0x35d030;},'cxGnT':function(_0x733483,_0x212c64){return _0x733483>_0x212c64;},'AnqDP':_0x2b48a6(0x1d0),'OCmnp':function(_0x2b1f10,_0x4816aa,_0x22c554){return _0x2b1f10(_0x4816aa,_0x22c554);},'Nfntq':'bstackA11yShouldScan','pwgZh':function(_0x52bcba){return _0x52bcba();},'EDZfn':_0x2b48a6(0x214),'Cdihp':function(_0x269847,_0x55d481){return _0x269847===_0x55d481;},'qjoQh':_0x2b48a6(0x1a1),'LWwBg':function(_0x25b1c5,_0x3b343e){return _0x25b1c5===_0x3b343e;},'mVOoP':_0x2b48a6(0x1f1),'mJReT':_0x2b48a6(0x1e5),'QSqkI':_0x2b48a6(0x1e7)};new Promise(async _0x4d867b=>{const _0x597c45=_0x2b48a6,_0x8a63ee='browserstack internal helper hook';let _0x385749=!![];try{_0x50bac1[_0x597c45(0x1b7)](global[_0x597c45(0x1af)][_0x597c45(0x1d9)],0x1)&&(await global[_0x597c45(0x1da)](),global['__drivers'][_0x597c45(0x1e2)]()),_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][0x0][_0x597c45(0x1a0)],0x0)&&(_0x385749=![],await global[_0x597c45(0x1da)]());}catch(_0x485109){logger[_0x597c45(0x19f)](_0x597c45(0x1fe)+_0x485109);}try{Array[_0x597c45(0x205)](global[_0x597c45(0x1af)])&&global['__drivers'][0x0]&&(global[_0x597c45(0x1af)][0x0]['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1['AnqDP'])),global['browserstackSessionName']=this[_0x597c45(0x1c6)]['titlePath']()[_0x597c45(0x209)](_0x50bac1[_0x597c45(0x216)]);}catch(_0x5f15f4){logger[_0x597c45(0x19f)](_0x597c45(0x1aa)+_0x5f15f4);}this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]=_0x50bac1[_0x597c45(0x1bf)](shouldScanTestForAccessibility,this[_0x597c45(0x1c6)]['titlePath'](),!![]),globals['setGlobal'](_0x50bac1[_0x597c45(0x1b2)],this['currentTest']['shouldScanTestForAccessibility']),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=!![];if(_0x50bac1[_0x597c45(0x219)](isAccessibilityAutomationSession)&&_0x385749&&Array['isArray'](global[_0x597c45(0x1af)])&&_0x50bac1[_0x597c45(0x1bb)](global['__drivers'][_0x597c45(0x1d9)],0x0)&&globals[_0x597c45(0x1fc)](_0x50bac1[_0x597c45(0x207)]))try{const _0x4628d7=await global[_0x597c45(0x1af)][0x0]['session_'];if(_0x4628d7){let _0x3047b1=!![];const _0x3ef50b=await global[_0x597c45(0x1af)][0x0]['getCurrentUrl']();let _0x3db415;try{_0x3db415=new URL(_0x3ef50b);}catch(_0x3f4f79){_0x3047b1=![];}_0x3047b1=_0x50bac1[_0x597c45(0x1e1)](_0x3db415['protocol'],_0x50bac1[_0x597c45(0x1a7)])||_0x50bac1[_0x597c45(0x1ea)](_0x3db415['protocol'],_0x50bac1['mVOoP']),_0x3047b1&&(this['currentTest'][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1['mJReT'])),this[_0x597c45(0x1c6)][_0x597c45(0x202)]=this['currentTest'][_0x597c45(0x1e6)],this[_0x597c45(0x1c6)][_0x597c45(0x1e6)]&&logger[_0x597c45(0x1e9)](_0x50bac1[_0x597c45(0x215)]);}}catch(_0x49da0a){logger[_0x597c45(0x212)](_0x597c45(0x1df)+util[_0x597c45(0x1c3)](_0x49da0a));}_0x50bac1[_0x597c45(0x219)](_0x4d867b);})['then'](_0x219fb2);},'afterEach'(_0x498f25){const _0x36223b=a32_0x1145f1,_0xbef991={'AiKSR':function(_0x15b4ad,_0x595f09){return _0x15b4ad>_0x595f09;},'XxYOB':function(_0x5928a3,_0x4bfb20){return _0x5928a3===_0x4bfb20;},'OnhQx':'testcase','KactA':function(_0x42c3d0,_0x35e57e){return _0x42c3d0>_0x35e57e;},'rThqp':_0x36223b(0x1f8),'WmtIF':function(_0x4e05b9,_0x35ecd6,_0x53824d,_0x1265a8){return _0x4e05b9(_0x35ecd6,_0x53824d,_0x1265a8);},'ddFMt':'\x20-\x20','AhQyn':function(_0x480400,_0x128c66){return _0x480400!==_0x128c66;},'NyTro':_0x36223b(0x1ce),'QVPhb':function(_0x580551,_0xa9c07c,_0x52f156){return _0x580551(_0xa9c07c,_0x52f156);},'XlxHs':function(_0x5d4011,_0x58a5e1){return _0x5d4011+_0x58a5e1;},'GIAYM':_0x36223b(0x1b5),'YEbym':_0x36223b(0x212),'dcRVZ':function(_0x1264fc,_0x471201,_0x2562fe){return _0x1264fc(_0x471201,_0x2562fe);},'DvxgW':_0x36223b(0x1c8),'LrDRm':_0x36223b(0x1e9),'RvmFY':_0x36223b(0x214),'bfyhO':'bstackA11yShouldScan','IgenJ':_0x36223b(0x1f4),'YHvJU':_0x36223b(0x1c2),'HMwmD':_0x36223b(0x1e0),'mWVpK':function(_0x3466b3){return _0x3466b3();},'xrOXo':function(_0x27d008){return _0x27d008();},'YhSxR':_0x36223b(0x19f),'bPDGu':function(_0x304f5c){return _0x304f5c();}},_0x9f42cd='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5d14a3=async(_0x3616cf,_0x160161)=>{const _0x393414=_0x36223b;await global[_0x393414(0x1af)][0x0][_0x393414(0x1dd)](_0x393414(0x1fa)+_0x3616cf+_0x393414(0x1ee)+_0x160161+_0x393414(0x20d));};new Promise(async _0x24263c=>{const _0x428916=_0x36223b;try{_0xbef991[_0x428916(0x1d7)](global[_0x428916(0x1af)]['length'],0x1)&&(await global[_0x428916(0x1da)](),global['__drivers']['shift'](),global[_0x428916(0x200)]=[],global[_0x428916(0x1b9)]=![]);try{if(global[_0x428916(0x1db)]&&_0xbef991[_0x428916(0x1be)](global[_0x428916(0x1d4)],_0xbef991['OnhQx'])&&global['__drivers'][0x0]){const _0x160a40=_0xbef991['KactA'](global['capabilities'][_0x428916(0x1d9)],0x0)?!!global['capabilities'][0x0][_0x428916(0x1ba)]||!!global[_0x428916(0x1f3)][0x0][_0xbef991['rThqp']]:![],_0x1684f4={};_0x1684f4[_0x428916(0x1ba)]=_0x160a40,await _0xbef991[_0x428916(0x1f0)](percyAutoCapture,global[_0x428916(0x1af)][0x0],_0xbef991[_0x428916(0x1bc)],_0x1684f4);}}catch(_0xb42682){logger[_0x428916(0x19f)](_0x428916(0x1bd)+_0xb42682);}!global['__skipSessionName']&&(await global['__drivers'][0x0][_0x428916(0x1dd)](_0x428916(0x1d8)+JSON['stringify'](this[_0x428916(0x1c6)][_0x428916(0x213)]()[_0x428916(0x209)](_0xbef991[_0x428916(0x1ec)]))+'}}'),global[_0x428916(0x1af)][0x0][_0x428916(0x1ff)]=!![]);const _0x26af4b=_0xbef991['AhQyn'](this[_0x428916(0x1c6)][_0x428916(0x204)],_0xbef991[_0x428916(0x1fd)]);_0x26af4b?(global[_0x428916(0x1b9)]=!![],global[_0x428916(0x200)][_0x428916(0x1cf)](this[_0x428916(0x1c6)]['err'][_0x428916(0x1d5)]),await _0xbef991['QVPhb'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991[_0x428916(0x1ab)](_0xbef991[_0x428916(0x1cb)],this[_0x428916(0x1c6)][_0x428916(0x1dc)]['message'])),_0xbef991[_0x428916(0x20e)])):await _0xbef991['dcRVZ'](_0x5d14a3,JSON[_0x428916(0x20a)](_0xbef991['DvxgW']),_0xbef991['LrDRm']);}catch(_0x6bc911){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x6bc911);}try{if(this[_0x428916(0x1c6)][_0x428916(0x202)]&&globals[_0x428916(0x1fc)](_0xbef991['RvmFY'])&&globals[_0x428916(0x1fc)](_0xbef991[_0x428916(0x1e4)])){logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1e8)]);const _0x5c4802={};_0x5c4802[_0x428916(0x20b)]=this['currentTest'][_0x428916(0x1ac)],_0x5c4802[_0x428916(0x1ef)]=process['env'][testHubConstants[_0x428916(0x1a2)][_0x428916(0x1b0)]],_0x5c4802[_0x428916(0x20f)]=process[_0x428916(0x1cc)][testHubConstants[_0x428916(0x1a2)]['BROWSERSTACK_TESTHUB_JWT']];const _0x4a64a8=_0x5c4802;logger[_0x428916(0x19f)](_0x428916(0x1d2)+JSON[_0x428916(0x20a)](_0x4a64a8)),logger[_0x428916(0x19f)](_0xbef991[_0x428916(0x1ed)]),logger[_0x428916(0x19f)](util[_0x428916(0x1c3)](await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts[_0x428916(0x1b1)],{'method':global['browserstackSessionName']}))),await global[_0x428916(0x1af)][0x0][_0x428916(0x20c)](scripts['saveTestResults'],_0x4a64a8),logger[_0x428916(0x1e9)](_0xbef991[_0x428916(0x1f7)]);}}catch(_0x527a98){logger[_0x428916(0x212)](_0x428916(0x1c1)+this[_0x428916(0x1c6)][_0x428916(0x213)]()+_0x428916(0x1a6),_0x527a98);}try{try{if(_0xbef991[_0x428916(0x1c4)](shouldProcessEventForTesthub)){global[_0x428916(0x1af)][0x0]&&await _0xbef991[_0x428916(0x1f5)](sendPlatformDetails,global[_0x428916(0x1af)][0x0],this[_0x428916(0x1c6)]?this['currentTest'][_0x428916(0x1ac)]:null);if(_0xbef991['xrOXo'](isBrowserstackInfra)){const _0x5c2ea4=_0x428916(0x211)+Date['now']();await _0xbef991[_0x428916(0x1e3)](_0x5d14a3,JSON[_0x428916(0x20a)](_0x5c2ea4),_0xbef991[_0x428916(0x1c9)]);}}}catch(_0x3d1cae){logger[_0x428916(0x19f)](_0x428916(0x1d6)+_0x3d1cae);}_0xbef991[_0x428916(0x1a9)](global[_0x428916(0x1af)][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0x203d5f){logger[_0x428916(0x19f)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x203d5f);}_0xbef991[_0x428916(0x210)](_0x24263c);})[_0x36223b(0x1ca)](()=>_0x498f25());},'afterAll'(_0x13d21f){const _0x1c706d=a32_0x1145f1,_0x21c999={'LyBME':function(_0x279667){return _0x279667();}},_0xb5f78c='browserstack internal helper hook';this[_0x1c706d(0x1f2)](0xfde8),new Promise(async _0x19288a=>{const _0x98f411=_0x1c706d;PerformanceTester['stopMonitoring'](),await global[_0x98f411(0x1da)](),_0x21c999['LyBME'](_0x19288a);})[_0x1c706d(0x1ca)](()=>_0x13d21f());}};
|
|
1
|
+
const a32_0x24cf7f=a32_0x3986;(function(_0x4e479f,_0x998af7){const _0x5dc05d=a32_0x3986,_0x41a578=_0x4e479f();while(!![]){try{const _0x2f6e4f=-parseInt(_0x5dc05d(0x1b4))/0x1+parseInt(_0x5dc05d(0x1e7))/0x2*(parseInt(_0x5dc05d(0x1c7))/0x3)+-parseInt(_0x5dc05d(0x1a6))/0x4*(parseInt(_0x5dc05d(0x1c1))/0x5)+parseInt(_0x5dc05d(0x1b2))/0x6+-parseInt(_0x5dc05d(0x200))/0x7*(-parseInt(_0x5dc05d(0x1cd))/0x8)+parseInt(_0x5dc05d(0x1b8))/0x9+parseInt(_0x5dc05d(0x212))/0xa*(-parseInt(_0x5dc05d(0x1ba))/0xb);if(_0x2f6e4f===_0x998af7)break;else _0x41a578['push'](_0x41a578['shift']());}catch(_0x379405){_0x41a578['push'](_0x41a578['shift']());}}}(a32_0x5c98,0xbc520));function a32_0x3986(_0x15b650,_0x27786c){const _0x5c9814=a32_0x5c98();return a32_0x3986=function(_0x398641,_0x3a24b4){_0x398641=_0x398641-0x192;let _0xde4f85=_0x5c9814[_0x398641];return _0xde4f85;},a32_0x3986(_0x15b650,_0x27786c);}function a32_0x5c98(){const _0x224748=['mjgkm','percy','env','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','stringify','titlePath','6580PjQNYR','CdnQi','ekjEN','\x22}}','xbNYs','Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20','BROWSERSTACK_TESTHUB_UUID','https:','IbDbQ','hORWr','accessibilityScanStarted','../../helpers/accessibility-automation/scripts','failed','debug','startMonitoring','gtYZr','pvMGA','cPneR','TeWbf','currentTest','gFhoE','JeNVr','NBodc','app','shift','Failed:\x20','4yXbPGG','now','\x20|\x20','__drivers','vJnRy','BsFQI','err','OIdYw','error','__skipSessionName','percyCaptureMode','http:','9002418vsodQh','ifpUA','859140AbDOYq','Exception\x20in\x20mocha\x20event\x20process\x20with\x20error:\x20','isAccessibilityPlatform','__error_messages__','12203226lRGlKh','info','17116OiiPnV','../../helpers/testhub/utils',',\x22level\x22:\x20\x22','MyYgx','../../helpers/logger','getCurrentUrl','performScan','6578090dVhIEi','format','initQuit','lUKBh','thBuildUuid','length','3DSXYip','../../helpers/performance-tester','pyFRI','executeScript','qIHmI','ObservabilitySync:','8VSfJiL','\x20-\x20','EOMfM','./test-observability/mochaUtils','Passed','SnlZl','Exception\x20in\x20mocha\x20browserstack\x20driver\x20with\x20error:\x20','mochaHooks','message','otDXF','then','testcase','Exception\x20in\x20mocha\x20browserstack\x20percy\x20with\x20error:\x20','KNPHB','ENV_VAR','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','quitCount_','shouldScanTestForAccessibility','__sessionFailed','../../helpers/globals','session_','bXpya','PnOhS','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20','Exception\x20in\x20mocha\x20process\x20event\x20with\x20error:\x20','1247952JCKksQ','JPwiK','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','browserstackSessionName','getGlobal','Failed\x20to\x20store\x20session\x20name:\x20','fHunp','passed','thTestRunUuid','Performing\x20scan\x20before\x20saving\x20results','BROWSERSTACK_TESTHUB_JWT','saveTestResults','NTZUL','push','XKTTO','.\x20Error\x20:','AIzuC','nzGFU','protocol','../../helpers/helper','testAnalyticsId','setGlobal','timeout','stopMonitoring','uOgUm','3427711TxJXSo','isArray','Automate\x20test\x20case\x20execution\x20has\x20started.','state','driverCleanup','sGJkK','xpuCN','cYSMw','NIREg','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','join','nAHGh'];a32_0x5c98=function(){return _0x224748;};return a32_0x5c98();}const util=require('util'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{percyAutoCapture}=require('../../helpers/percy/utils'),{sendPlatformDetails}=require(a32_0x24cf7f(0x1d0)),{isBrowserstackInfra,markSessionStatus}=require(a32_0x24cf7f(0x1fa)),PerformanceTester=require(a32_0x24cf7f(0x1c8)),scripts=require(a32_0x24cf7f(0x197)),globals=require(a32_0x24cf7f(0x1e0)),logger=require(a32_0x24cf7f(0x1be))['winstonLogger'],{shouldProcessEventForTesthub}=require(a32_0x24cf7f(0x1bb)),testHubConstants=require('../../helpers/testhub/constants');exports[a32_0x24cf7f(0x1d4)]={'beforeAll'(){const _0x59d686=a32_0x24cf7f,_0x3615ee={'YuDBP':function(_0x3a4adb,_0x277584,_0x4b2135,_0x2ee1cc){return _0x3a4adb(_0x277584,_0x4b2135,_0x2ee1cc);},'gtYZr':_0x59d686(0x198),'fHunp':_0x59d686(0x1a8),'IcfsO':function(_0x577ba6,_0x1f96d3,_0x1c83b9){return _0x577ba6(_0x1f96d3,_0x1c83b9);},'NTZUL':'passed','cYSMw':function(_0x9a4573){return _0x9a4573();}};PerformanceTester[_0x59d686(0x19a)]();const _0x12dc20='browserstack internal helper hook';global['__error_messages__']=[],global[_0x59d686(0x1df)]=![],global['driverCleanup']=async()=>{const _0x141214=_0x59d686;let _0x3f485e=![];try{await global['__drivers'][0x0]['session_'],_0x3f485e=!![],global[_0x141214(0x1df)]?await _0x3615ee['YuDBP'](markSessionStatus,global[_0x141214(0x1a9)][0x0],_0x3615ee[_0x141214(0x19b)],global[_0x141214(0x1b7)][_0x141214(0x20a)](_0x3615ee[_0x141214(0x1ed)])):await _0x3615ee['IcfsO'](markSessionStatus,global[_0x141214(0x1a9)][0x0],_0x3615ee[_0x141214(0x1f3)]);}catch(_0x14b04a){logger['debug'](_0x141214(0x1d3)+_0x14b04a);}global[_0x141214(0x1b7)]=[],global[_0x141214(0x1df)]=![];if(_0x3f485e)try{try{_0x3615ee[_0x141214(0x207)](shouldProcessEventForTesthub)&&(global[_0x141214(0x1a9)][0x0]&&await _0x3615ee['IcfsO'](sendPlatformDetails,global[_0x141214(0x1a9)][0x0],this[_0x141214(0x19f)]?this[_0x141214(0x19f)][_0x141214(0x1fb)]:null));}catch(_0x3f34a0){logger[_0x141214(0x199)](_0x141214(0x1b5)+_0x3f34a0);}await global[_0x141214(0x1a9)][0x0][_0x141214(0x1c3)]();}catch(_0xa2767c){logger[_0x141214(0x199)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0xa2767c);}};},'beforeEach'(_0x2b260e){const _0x2c684f=a32_0x24cf7f,_0x21bae6={'MyYgx':function(_0x24a0f0,_0x323923){return _0x24a0f0>_0x323923;},'uOgUm':_0x2c684f(0x1ce),'lUKBh':function(_0x4a7a29,_0x81ff59,_0x48cd02){return _0x4a7a29(_0x81ff59,_0x48cd02);},'PnOhS':'bstackA11yShouldScan','CdnQi':function(_0x107392){return _0x107392();},'EOMfM':function(_0x20902e,_0x4cb5f3){return _0x20902e>_0x4cb5f3;},'sGJkK':_0x2c684f(0x1b6),'mjgkm':function(_0x20cfd3,_0x356f47){return _0x20cfd3===_0x356f47;},'nzGFU':_0x2c684f(0x1b1),'ekjEN':_0x2c684f(0x193),'PGWLH':_0x2c684f(0x1e9),'pvMGA':_0x2c684f(0x202),'otDXF':function(_0x404aa4){return _0x404aa4();}};new Promise(async _0x592f66=>{const _0x2cddcd=_0x2c684f,_0x2aa84a='browserstack internal helper hook';let _0x26bbd5=!![];try{_0x21bae6['MyYgx'](global['__drivers'][_0x2cddcd(0x1c6)],0x1)&&(await global[_0x2cddcd(0x204)](),global[_0x2cddcd(0x1a9)][_0x2cddcd(0x1a4)]()),_0x21bae6[_0x2cddcd(0x1bd)](global['__drivers'][0x0][_0x2cddcd(0x1dd)],0x0)&&(_0x26bbd5=![],await global[_0x2cddcd(0x204)]());}catch(_0x30d271){logger['debug'](_0x2cddcd(0x217)+_0x30d271);}try{Array[_0x2cddcd(0x201)](global[_0x2cddcd(0x1a9)])&&global[_0x2cddcd(0x1a9)][0x0]&&(global['__drivers'][0x0][_0x2cddcd(0x1ea)]=this[_0x2cddcd(0x19f)][_0x2cddcd(0x211)]()[_0x2cddcd(0x20a)](_0x21bae6['uOgUm'])),global[_0x2cddcd(0x1ea)]=this['currentTest'][_0x2cddcd(0x211)]()[_0x2cddcd(0x20a)](_0x21bae6[_0x2cddcd(0x1ff)]);}catch(_0x10444a){logger[_0x2cddcd(0x199)](_0x2cddcd(0x1ec)+_0x10444a);}this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]=_0x21bae6[_0x2cddcd(0x1c4)](shouldScanTestForAccessibility,this['currentTest'][_0x2cddcd(0x211)](),!![]),globals[_0x2cddcd(0x1fc)](_0x21bae6[_0x2cddcd(0x1e3)],this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]),this[_0x2cddcd(0x19f)][_0x2cddcd(0x196)]=!![];if(_0x21bae6[_0x2cddcd(0x213)](isAccessibilityAutomationSession)&&_0x26bbd5&&Array[_0x2cddcd(0x201)](global[_0x2cddcd(0x1a9)])&&_0x21bae6[_0x2cddcd(0x1cf)](global[_0x2cddcd(0x1a9)][_0x2cddcd(0x1c6)],0x0)&&globals[_0x2cddcd(0x1eb)](_0x21bae6[_0x2cddcd(0x205)]))try{const _0x18c87c=await global[_0x2cddcd(0x1a9)][0x0][_0x2cddcd(0x1e1)];if(_0x18c87c){let _0x3c80eb=!![];const _0x2c8c76=await global[_0x2cddcd(0x1a9)][0x0][_0x2cddcd(0x1bf)]();let _0x39eafe;try{_0x39eafe=new URL(_0x2c8c76);}catch(_0x2a30e0){_0x3c80eb=![];}_0x3c80eb=_0x21bae6[_0x2cddcd(0x20c)](_0x39eafe['protocol'],_0x21bae6[_0x2cddcd(0x1f8)])||_0x21bae6[_0x2cddcd(0x20c)](_0x39eafe[_0x2cddcd(0x1f9)],_0x21bae6[_0x2cddcd(0x214)]),_0x3c80eb&&(this[_0x2cddcd(0x19f)]['shouldScanTestForAccessibility']&&logger[_0x2cddcd(0x1b9)](_0x21bae6['PGWLH'])),this[_0x2cddcd(0x19f)][_0x2cddcd(0x196)]=this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)],this[_0x2cddcd(0x19f)][_0x2cddcd(0x1de)]&&logger[_0x2cddcd(0x1b9)](_0x21bae6[_0x2cddcd(0x19c)]);}}catch(_0x4a1468){logger[_0x2cddcd(0x1ae)]('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0x2cddcd(0x1c2)](_0x4a1468));}_0x21bae6[_0x2cddcd(0x1d6)](_0x592f66);})[_0x2c684f(0x1d7)](_0x2b260e);},'afterEach'(_0x5e03aa){const _0x813f4c=a32_0x24cf7f,_0x487cae={'gMXCx':function(_0x3804e9,_0x1d4577){return _0x3804e9>_0x1d4577;},'KNPHB':function(_0x1e12b0,_0x547dfc){return _0x1e12b0===_0x547dfc;},'NBodc':_0x813f4c(0x1d8),'SnlZl':function(_0x4a9d49,_0x2b1de2){return _0x4a9d49>_0x2b1de2;},'AIzuC':'appium:app','hORWr':function(_0x5e947d,_0x37f7b0,_0x3d7714,_0x46061b){return _0x5e947d(_0x37f7b0,_0x3d7714,_0x46061b);},'IbDbQ':_0x813f4c(0x1ce),'qIHmI':function(_0x571687,_0x17c18a){return _0x571687!==_0x17c18a;},'nAHGh':_0x813f4c(0x1ee),'cPneR':function(_0x2f697c,_0x552bfb,_0x2be568){return _0x2f697c(_0x552bfb,_0x2be568);},'XKTTO':function(_0x5cb2e2,_0x1f974d){return _0x5cb2e2+_0x1f974d;},'JPwiK':_0x813f4c(0x1a5),'xpuCN':_0x813f4c(0x1ae),'vJnRy':_0x813f4c(0x1d1),'ifpUA':_0x813f4c(0x1b9),'TeWbf':'isAccessibilityPlatform','gFhoE':'bstackA11yShouldScan','BsFQI':_0x813f4c(0x1e4),'FbHIQ':_0x813f4c(0x1f0),'JeNVr':_0x813f4c(0x1dc),'pyFRI':function(_0xf116b0){return _0xf116b0();},'OIdYw':function(_0x30d89d){return _0x30d89d();},'bXpya':function(_0xad981b,_0x4244fa,_0x5e54e6){return _0xad981b(_0x4244fa,_0x5e54e6);},'xbNYs':_0x813f4c(0x199),'lnSeD':function(_0x5990d2,_0x10100c){return _0x5990d2>_0x10100c;}},_0x562aeb='browserstack internal helper hook';this[_0x813f4c(0x1fd)](0xfde8);const _0x4e24a2=async(_0x41cbff,_0x4e8693)=>{const _0x4b7cc4=_0x813f4c;await global[_0x4b7cc4(0x1a9)][0x0][_0x4b7cc4(0x1ca)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x41cbff+_0x4b7cc4(0x1bc)+_0x4e8693+_0x4b7cc4(0x215));};new Promise(async _0x4f4d44=>{const _0x41a2ea=_0x813f4c;try{_0x487cae['gMXCx'](global['__drivers'][_0x41a2ea(0x1c6)],0x1)&&(await global[_0x41a2ea(0x204)](),global[_0x41a2ea(0x1a9)]['shift'](),global['__error_messages__']=[],global[_0x41a2ea(0x1df)]=![]);try{if(global[_0x41a2ea(0x20d)]&&_0x487cae[_0x41a2ea(0x1da)](global[_0x41a2ea(0x1b0)],_0x487cae[_0x41a2ea(0x1a2)])&&global['__drivers'][0x0]){const _0x22ef96=_0x487cae[_0x41a2ea(0x1d2)](global['capabilities']['length'],0x0)?!!global['capabilities'][0x0][_0x41a2ea(0x1a3)]||!!global['capabilities'][0x0][_0x487cae[_0x41a2ea(0x1f7)]]:![],_0x31971e={};_0x31971e[_0x41a2ea(0x1a3)]=_0x22ef96,await _0x487cae[_0x41a2ea(0x195)](percyAutoCapture,global[_0x41a2ea(0x1a9)][0x0],_0x487cae[_0x41a2ea(0x1a2)],_0x31971e);}}catch(_0x408dd0){logger['debug'](_0x41a2ea(0x1d9)+_0x408dd0);}!global[_0x41a2ea(0x1af)]&&(await global[_0x41a2ea(0x1a9)][0x0][_0x41a2ea(0x1ca)](_0x41a2ea(0x20f)+JSON[_0x41a2ea(0x210)](this['currentTest'][_0x41a2ea(0x211)]()[_0x41a2ea(0x20a)](_0x487cae[_0x41a2ea(0x194)]))+'}}'),global[_0x41a2ea(0x1a9)][0x0]['sessionNameSet__']=!![]);const _0x1e7b6a=_0x487cae[_0x41a2ea(0x1cb)](this['currentTest'][_0x41a2ea(0x203)],_0x487cae[_0x41a2ea(0x20b)]);_0x1e7b6a?(global[_0x41a2ea(0x1df)]=!![],global[_0x41a2ea(0x1b7)][_0x41a2ea(0x1f4)](this['currentTest'][_0x41a2ea(0x1ac)][_0x41a2ea(0x1d5)]),await _0x487cae[_0x41a2ea(0x19d)](_0x4e24a2,JSON['stringify'](_0x487cae[_0x41a2ea(0x1f5)](_0x487cae[_0x41a2ea(0x1e8)],this[_0x41a2ea(0x19f)]['err']['message'])),_0x487cae[_0x41a2ea(0x206)])):await _0x487cae['cPneR'](_0x4e24a2,JSON[_0x41a2ea(0x210)](_0x487cae[_0x41a2ea(0x1aa)]),_0x487cae[_0x41a2ea(0x1b3)]);}catch(_0x9b0875){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x9b0875);}try{if(this[_0x41a2ea(0x19f)][_0x41a2ea(0x196)]&&globals[_0x41a2ea(0x1eb)](_0x487cae[_0x41a2ea(0x19e)])&&globals['getGlobal'](_0x487cae[_0x41a2ea(0x1a0)])){logger[_0x41a2ea(0x1b9)](_0x487cae[_0x41a2ea(0x1ab)]);const _0x17b0ae={};_0x17b0ae[_0x41a2ea(0x1ef)]=this[_0x41a2ea(0x19f)][_0x41a2ea(0x1fb)],_0x17b0ae[_0x41a2ea(0x1c5)]=process[_0x41a2ea(0x20e)][testHubConstants['ENV_VAR'][_0x41a2ea(0x192)]],_0x17b0ae['thJwtToken']=process['env'][testHubConstants[_0x41a2ea(0x1db)][_0x41a2ea(0x1f1)]];const _0x279523=_0x17b0ae;logger[_0x41a2ea(0x199)](_0x41a2ea(0x209)+JSON['stringify'](_0x279523)),logger[_0x41a2ea(0x199)](_0x487cae['FbHIQ']),logger[_0x41a2ea(0x199)](util[_0x41a2ea(0x1c2)](await global[_0x41a2ea(0x1a9)][0x0]['executeAsyncScript'](scripts[_0x41a2ea(0x1c0)],{'method':global['browserstackSessionName']}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x41a2ea(0x1f2)],_0x279523),logger[_0x41a2ea(0x1b9)](_0x487cae[_0x41a2ea(0x1a1)]);}}catch(_0x1ae35a){logger[_0x41a2ea(0x1ae)](_0x41a2ea(0x1e5)+this[_0x41a2ea(0x19f)][_0x41a2ea(0x211)]()+_0x41a2ea(0x1f6),_0x1ae35a);}try{try{if(_0x487cae[_0x41a2ea(0x1c9)](shouldProcessEventForTesthub)){global[_0x41a2ea(0x1a9)][0x0]&&await _0x487cae[_0x41a2ea(0x19d)](sendPlatformDetails,global[_0x41a2ea(0x1a9)][0x0],this[_0x41a2ea(0x19f)]?this[_0x41a2ea(0x19f)][_0x41a2ea(0x1fb)]:null);if(_0x487cae['OIdYw'](isBrowserstackInfra)){const _0x22054d=_0x41a2ea(0x1cc)+Date[_0x41a2ea(0x1a7)]();await _0x487cae[_0x41a2ea(0x1e2)](_0x4e24a2,JSON[_0x41a2ea(0x210)](_0x22054d),_0x487cae[_0x41a2ea(0x216)]);}}}catch(_0x5d38a4){logger[_0x41a2ea(0x199)](_0x41a2ea(0x1e6)+_0x5d38a4);}_0x487cae['lnSeD'](global[_0x41a2ea(0x1a9)][0x0][_0x41a2ea(0x1dd)],0x0)&&await global[_0x41a2ea(0x204)]();}catch(_0x258c50){logger[_0x41a2ea(0x199)]('Exception\x20in\x20mocha\x20driver\x20with\x20error:\x20'+_0x258c50);}_0x487cae[_0x41a2ea(0x1ad)](_0x4f4d44);})[_0x813f4c(0x1d7)](()=>_0x5e03aa());},'afterAll'(_0x32da98){const _0x1d1434=a32_0x24cf7f,_0xf0cb09={'NIREg':function(_0x29fe8b){return _0x29fe8b();}},_0x2452ae='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x218b06=>{const _0x3e3962=a32_0x3986;PerformanceTester[_0x3e3962(0x1fe)](),await global[_0x3e3962(0x204)](),_0xf0cb09[_0x3e3962(0x208)](_0x218b06);})[_0x1d1434(0x1d7)](()=>_0x32da98());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';function a33_0x521b(){const _0x26a81d=['fpqjs','262xRkOVU','length','CBIJf','nightwatch.cmd','ordaZ','debug','test_settings','trim','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','now','BGjxd','config','unlinkSync','close','writeFileSync','useW3C','test','mergeDeep','winstonLogger','exports','inherit','port','host','29907UYbswF','nightwatch','slice','selenium','sTFvY','--env','FRCWF','wFaxw','EyasT','110iJrAVF','tKQCl','kchrX','673508gGNnGG','16WRPKbF','../utils/constants','push','env','info','join','findIndex','413950bWTqXA','hub.browserstack.com','nightwatch-browserstack.json','18fcscqZ','ZWUdK','27267qpRZcX','vFwli','mxMMj','start_process','yERMI','1911413HMvQWo','../../helpers/BrowserStackSetup','splice','yyFwz','isUndefined','nightwatch.json','gCwOm','forEach','stringify','modifyBrowserStackW3CCaps','../../helpers/logger','1031700XeWcio','child\x20process\x20exited\x20with\x20code\x20','344siEEtU','503329FenmPx','cwd','platforms','--config','desiredCapabilities','existsSync'];a33_0x521b=function(){return _0x26a81d;};return a33_0x521b();}const a33_0x3e1e37=a33_0x68fe;(function(_0x187fd3,_0x4c07e6){const _0x2c7a16=a33_0x68fe,_0x4d9500=_0x187fd3();while(!![]){try{const _0x18ebf5=-parseInt(_0x2c7a16(0xd9))/0x1+-parseInt(_0x2c7a16(0xe0))/0x2*(-parseInt(_0x2c7a16(0xc6))/0x3)+-parseInt(_0x2c7a16(0xba))/0x4*(-parseInt(_0x2c7a16(0xc1))/0x5)+-parseInt(_0x2c7a16(0xc4))/0x6*(parseInt(_0x2c7a16(0xcb))/0x7)+-parseInt(_0x2c7a16(0xd8))/0x8*(-parseInt(_0x2c7a16(0xad))/0x9)+-parseInt(_0x2c7a16(0xb6))/0xa*(-parseInt(_0x2c7a16(0xb9))/0xb)+-parseInt(_0x2c7a16(0xd6))/0xc;if(_0x18ebf5===_0x4c07e6)break;else _0x4d9500['push'](_0x4d9500['shift']());}catch(_0x279513){_0x4d9500['push'](_0x4d9500['shift']());}}}(a33_0x521b,0xe2fc7));const fs=require('fs'),path=require('path'),{spawn}=require('child_process'),logger=require(a33_0x3e1e37(0xd5))[a33_0x3e1e37(0xa8)],{default:BrowserStackSetup}=require(a33_0x3e1e37(0xcc)),helper=require('../../helpers/helper'),constants=require(a33_0x3e1e37(0xbb)),getUserNightwatchConfigs=(_0xd0b100,_0x13c831)=>{const _0xb34421=a33_0x3e1e37,_0x4f1a60={'wFaxw':'nightwatch.conf.js','ZWUdK':_0xb34421(0xd0),'pnBJS':function(_0xcb6792,_0x2830dc){return _0xcb6792(_0x2830dc);},'XptMX':'Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file'};let _0x3c83f2=null,_0x56b55e={};const _0x230a9f=_0x13c831[_0xb34421(0xc0)](_0x66de86=>_0x66de86===_0xb34421(0xdc));if(!helper[_0xb34421(0xcf)](_0xd0b100['config'])&&fs['existsSync'](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0xd0b100[_0xb34421(0xeb)])))_0x3c83f2=path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0xd0b100['config']),_0x13c831[_0xb34421(0xcd)](_0x230a9f,0x2);else{if(fs[_0xb34421(0xde)](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0x4f1a60['wFaxw'])))_0x3c83f2=path['join'](process[_0xb34421(0xda)](),_0x4f1a60[_0xb34421(0xb4)]);else fs[_0xb34421(0xde)](path[_0xb34421(0xbf)](process[_0xb34421(0xda)](),_0x4f1a60['ZWUdK']))&&(_0x3c83f2=path[_0xb34421(0xbf)](process['cwd'](),_0x4f1a60[_0xb34421(0xc5)]));}return _0x3c83f2?(logger[_0xb34421(0xbe)]('Getting\x20your\x20nightwatch\x20configs\x20from\x20'+_0x3c83f2),_0x56b55e=_0x4f1a60['pnBJS'](require,_0x3c83f2)):logger[_0xb34421(0xbe)](_0x4f1a60['XptMX']),_0x56b55e;},removeExistingEnvs=_0x4bf465=>{const _0x313225=a33_0x3e1e37,_0x1707a5={};_0x1707a5['vFwli']=function(_0xefef8e,_0x173062){return _0xefef8e>_0x173062;};const _0x2f09bc=_0x1707a5;let _0x4af82a=_0x4bf465[_0x313225(0xc0)](_0x4a1f57=>_0x4a1f57===_0x313225(0xb2));_0x2f09bc[_0x313225(0xc7)](_0x4af82a,-0x1)&&_0x4bf465[_0x313225(0xcd)](_0x4af82a,0x2),_0x4af82a=_0x4bf465[_0x313225(0xc0)](_0x2b4835=>_0x2b4835==='-e'),_0x2f09bc[_0x313225(0xc7)](_0x4af82a,-0x1)&&_0x4bf465[_0x313225(0xcd)](_0x4af82a,0x2);};function a33_0x68fe(_0x50e06c,_0x16a4ef){const _0x521bbd=a33_0x521b();return a33_0x68fe=function(_0x68fe61,_0x215f00){_0x68fe61=_0x68fe61-0xa6;let _0x2cbb34=_0x521bbd[_0x68fe61];return _0x2cbb34;},a33_0x68fe(_0x50e06c,_0x16a4ef);}function run(_0xb9938c,_0x2716d8){const _0x14b752=a33_0x3e1e37,_0x39005c={'ordaZ':_0x14b752(0xae),'CBIJf':function(_0x1fbd8b,_0xf5c221){return _0x1fbd8b+_0xf5c221;},'kchrX':_0x14b752(0xe6),'mxMMj':function(_0x23025f,_0x2f8291,_0x31b299){return _0x23025f(_0x2f8291,_0x31b299);},'uIXmZ':_0x14b752(0xc2),'YtElw':_0x14b752(0xe8),'fpqjs':function(_0x840b55,_0x392248){return _0x840b55===_0x392248;},'sTFvY':_0x14b752(0xc3),'WTvJO':function(_0xbd3a28,_0x4c29d8){return _0xbd3a28(_0x4c29d8);},'tKQCl':function(_0x347b4e,_0x280bc0,_0x404eba,_0x2752d3){return _0x347b4e(_0x280bc0,_0x404eba,_0x2752d3);},'EyasT':_0x14b752(0xe3),'yyFwz':'--config','gCwOm':_0x14b752(0xb2),'ChhZN':_0x14b752(0xaa),'yERMI':_0x14b752(0xed)},_0x443ec1=new BrowserStackSetup(_0xb9938c);if(!_0x443ec1[_0x14b752(0xeb)])return;const _0x19b634=_0x39005c[_0x14b752(0xc8)](getUserNightwatchConfigs,_0xb9938c,_0x2716d8),_0x4178a3={};_0x4178a3[_0x14b752(0xc9)]=![];const _0x7a84b4={};_0x7a84b4[_0x14b752(0xac)]=_0x39005c['uIXmZ'],_0x7a84b4[_0x14b752(0xab)]=0x1bb;const _0x46aa47={};_0x46aa47['webdriver']=_0x4178a3,_0x46aa47[_0x14b752(0xb0)]=_0x7a84b4;const _0x462fb4=_0x46aa47;logger[_0x14b752(0xbe)](_0x39005c['YtElw']);const _0x3af107={..._0x19b634},_0x342d84=_0x3af107,_0x4452d4=helper[_0x14b752(0xef)](_0x443ec1[_0x14b752(0xeb)]),_0x45ba36=[];_0x443ec1[_0x14b752(0xeb)][_0x14b752(0xdb)][_0x14b752(0xd2)]((_0x4f2ca0,_0x3c7968)=>{const _0xdf0c9a=_0x14b752;_0x4452d4?_0x45ba36['push'](helper[_0xdf0c9a(0xd4)](_0x443ec1['config'],_0x39005c[_0xdf0c9a(0xe4)],_0x3c7968)):_0x45ba36[_0xdf0c9a(0xbc)](helper['modifyBrowserStackCaps'](_0x443ec1['config'],_0x39005c[_0xdf0c9a(0xe4)],_0x3c7968));});const _0x4f0080={},_0x1ea05b=[];_0xb9938c[_0x14b752(0xbd)]=_0xb9938c[_0x14b752(0xbd)]||_0xb9938c['e'];const _0x25ed7a=_0xb9938c[_0x14b752(0xbd)]?_0xb9938c[_0x14b752(0xbd)]['trim']()['split'](',')['map'](_0x2d5584=>_0x2d5584[_0x14b752(0xe7)]())['filter'](_0x205ae3=>_0x205ae3!==''):[''];_0x39005c[_0x14b752(0xdf)](_0x25ed7a[_0x14b752(0xe1)],0x0)&&_0x25ed7a[_0x14b752(0xbc)]('');_0x25ed7a[_0x14b752(0xd2)](_0x3d936d=>{const _0x502988=_0x14b752,_0x59a735={'BGjxd':function(_0x812b58,_0x53b440){const _0x3e720a=a33_0x68fe;return _0x39005c[_0x3e720a(0xe2)](_0x812b58,_0x53b440);},'FRCWF':_0x39005c[_0x502988(0xb8)]};_0x45ba36[_0x502988(0xd2)](_0x217bb2=>{const _0x3fa815=_0x502988;let _0x1c9bc2=_0x59a735[_0x3fa815(0xea)](helper['getPlatformName'](_0x217bb2,'_'),'_'+Date[_0x3fa815(0xe9)]());_0x3d936d&&(_0x1c9bc2+='_'+_0x3d936d);if(_0x3d936d&&(!_0x19b634[_0x59a735[_0x3fa815(0xb3)]]||!_0x19b634[_0x59a735['FRCWF']][_0x3d936d]))return;const _0x195b39={..._0x462fb4};_0x195b39[_0x3fa815(0xdd)]=_0x217bb2;const _0xd67174=_0x195b39;_0x4f0080[_0x1c9bc2]=_0x3d936d?helper[_0x3fa815(0xa7)](_0x19b634[_0x59a735[_0x3fa815(0xb3)]][_0x3d936d],_0xd67174):_0xd67174,_0x1ea05b[_0x3fa815(0xbc)](_0x1c9bc2);});});!_0x342d84[_0x14b752(0xe6)]&&(_0x342d84['test_settings']={});_0x342d84[_0x14b752(0xe6)]={..._0x342d84[_0x14b752(0xe6)],..._0x4f0080};const _0x439cc1=path[_0x14b752(0xbf)](__dirname,_0x39005c[_0x14b752(0xb1)]);fs[_0x14b752(0xee)](_0x439cc1,JSON[_0x14b752(0xd3)](_0x342d84)),_0x39005c['WTvJO'](removeExistingEnvs,_0x2716d8);const _0x370cdc=_0x39005c[_0x14b752(0xb7)](spawn,/^win/[_0x14b752(0xa6)](process['platform'])?_0x39005c[_0x14b752(0xb5)]:_0x39005c[_0x14b752(0xe4)],[_0x39005c[_0x14b752(0xce)],_0x439cc1,..._0x2716d8[_0x14b752(0xaf)](0x1),_0x39005c[_0x14b752(0xd1)],_0x1ea05b['join'](',')],{'stdio':_0x39005c['ChhZN']});_0x370cdc['on'](_0x39005c[_0x14b752(0xca)],async _0x97831d=>{const _0xe7c404=_0x14b752;logger[_0xe7c404(0xe5)](_0xe7c404(0xd7)+_0x97831d),logger[_0xe7c404(0xbe)]('Deleting\x20'+_0x439cc1),fs[_0xe7c404(0xec)](_0x439cc1);});}module[a33_0x3e1e37(0xa9)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a34_0x4d7a24=a34_0x48ed;(function(_0x47d145,_0x20a744){const _0x4763f3=a34_0x48ed,_0x2c962a=_0x47d145();while(!![]){try{const _0x523886=parseInt(_0x4763f3(0x19f))/0x1+parseInt(_0x4763f3(0x17f))/0x2+-parseInt(_0x4763f3(0x14a))/0x3+parseInt(_0x4763f3(0x1a8))/0x4+-parseInt(_0x4763f3(0x165))/0x5+parseInt(_0x4763f3(0x155))/0x6*(parseInt(_0x4763f3(0x153))/0x7)+-parseInt(_0x4763f3(0x172))/0x8;if(_0x523886===_0x20a744)break;else _0x2c962a['push'](_0x2c962a['shift']());}catch(_0x5998f2){_0x2c962a['push'](_0x2c962a['shift']());}}}(a34_0x4498,0xbd17d));function a34_0x4498(){const _0x25c410=['JUUIg','currentTest','No\x20summaryResults\x20found.','replace','uGThi','Rcslg','debug','accessibilityOptions.includeIssueType.needsReview','deviceName','testInfo','project','accessibilityOptions.authToken','Playwright','iLEve','../../helpers/accessibility-automation/helper','PdbbB','WebDriver','UinOR','IIUKI','latest','1457860XAZFhr','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','bstackSdkArgs','playwright-chromium','BdThs','fMWqd','method','BS_A11Y_JWT','getAccessibilityResultsSummary','1704248npkqsP','browserStackExecuteDriver','wcagVersion','performScan','VIWJB','connectOptions','No\x20accessibility\x20results\x20were\x20found.','chrome','QrmWy','WefQR','HaGan','pSZKy','1215687doyIbZ','GjAXs','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','use','bestPractice','browser_version','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mkFGQ','bDIZt','224omAnFJ','processAccessibilityCaps','228384LEPldY','qqAiz','mPlJr','scannerProcessingTimeout','env','accessibilityOptions','../../helpers/logger','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','parse','XNzkh','browserstack.accessibility','kejzN','getAccessibilityResults','evaluate','accessibilityOptions.wcagVersion','browser','697215ymwlvP','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','accessibilityOptions.scannerProcessingTimeout','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','browserName','util','yScRN','scannerVersion','executeAsyncScript','BFsbT','hwgvd','dgkJq','YWYmJ','15473496bpPSDf','RdUIR','warn','uMLFr','name','ovHIL','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','includeIssueType','eEodx','accessibilityPlatform','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','format','302828AbIJNO','browserStackEvaluate','lmSGQ','rDCMj','constructor','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','wsEndpoint','dblJt','hCBlq','accessibilityOptions.scannerVersion','VCBeX','bzcTk'];a34_0x4498=function(){return _0x25c410;};return a34_0x4498();}function a34_0x48ed(_0x4ed093,_0x2992d2){const _0x449842=a34_0x4498();return a34_0x48ed=function(_0x48ed5b,_0x420ef8){_0x48ed5b=_0x48ed5b-0x148;let _0x1ed19d=_0x449842[_0x48ed5b];return _0x1ed19d;},a34_0x48ed(_0x4ed093,_0x2992d2);}const util=require(a34_0x4d7a24(0x16a)),logger=require(a34_0x4d7a24(0x15b))['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x4d7a24(0x199)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a34_0x4d7a24(0x180)]=async(_0x4bf0d5,_0x55e40d,_0x165c03={})=>{const _0x5dc1f6=a34_0x4d7a24,_0x4dff38={};_0x4dff38[_0x5dc1f6(0x18f)]=_0x5dc1f6(0x1a1);const _0x80ae9a=_0x4dff38;return await _0x4bf0d5[_0x5dc1f6(0x162)](_0x5dc1f6(0x184)+_0x55e40d[_0x5dc1f6(0x18e)](/arguments/g,_0x80ae9a['uGThi'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x165c03)+')');},exports[a34_0x4d7a24(0x1a9)]=async(_0x28c832,_0x29985f,_0x19251c={})=>{const _0x36421f=a34_0x4d7a24,_0x11f419={};_0x11f419[_0x36421f(0x152)]=function(_0x41949b,_0x1b7847){return _0x41949b===_0x1b7847;},_0x11f419[_0x36421f(0x16e)]=_0x36421f(0x19b),_0x11f419['piNKe']=_0x36421f(0x197),_0x11f419[_0x36421f(0x1b0)]=_0x36421f(0x1a1);const _0x2eaeea=_0x11f419;if(_0x2eaeea[_0x36421f(0x152)](_0x28c832['constructor'][_0x36421f(0x176)],_0x2eaeea[_0x36421f(0x16e)]))return await _0x28c832[_0x36421f(0x16d)](_0x29985f,_0x19251c);else{if(_0x2eaeea[_0x36421f(0x152)](_0x28c832[_0x36421f(0x183)][_0x36421f(0x176)],_0x2eaeea['piNKe']))return await _0x28c832['executeScript'](_0x36421f(0x168)+_0x29985f[_0x36421f(0x18e)](/arguments/g,_0x2eaeea['QrmWy'])+_0x36421f(0x166)+JSON['stringify'](_0x19251c)+')');}},exports['setAccessibilityCapabilities']=async _0xb383be=>{const _0x127f01=a34_0x4d7a24,_0x4425de={};_0x4425de[_0x127f01(0x173)]=_0x127f01(0x163),_0x4425de[_0x127f01(0x18a)]=_0x127f01(0x167),_0x4425de[_0x127f01(0x19d)]='accessibilityOptions.includeIssueType.bestPractice',_0x4425de['mkFGQ']=_0x127f01(0x192),_0x4425de[_0x127f01(0x1b1)]=_0x127f01(0x196),_0x4425de[_0x127f01(0x16b)]=_0x127f01(0x188);const _0x157a50=_0x4425de;_0xb383be[_0x127f01(0x15a)]&&(_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]&&(_0xb383be[_0x157a50[_0x127f01(0x173)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x1aa)]),_0xb383be[_0x127f01(0x15a)][_0x127f01(0x158)]&&(_0xb383be[_0x157a50[_0x127f01(0x18a)]]=_0xb383be['accessibilityOptions'][_0x127f01(0x158)]),_0xb383be['accessibilityOptions'][_0x127f01(0x179)]&&(_0xb383be[_0x157a50[_0x127f01(0x19d)]]=_0xb383be[_0x127f01(0x15a)]['includeIssueType'][_0x127f01(0x14e)],_0xb383be[_0x157a50[_0x127f01(0x151)]]=_0xb383be[_0x127f01(0x15a)][_0x127f01(0x179)]['needsReview']));const _0x45afe7=JSON[_0x127f01(0x15d)](process[_0x127f01(0x159)][_0x127f01(0x150)])[_0x127f01(0x16c)];_0xb383be[_0x157a50[_0x127f01(0x1b1)]]=process[_0x127f01(0x159)][_0x127f01(0x1a6)],_0xb383be[_0x157a50[_0x127f01(0x16b)]]=_0x45afe7,delete _0xb383be[_0x127f01(0x15a)];},exports[a34_0x4d7a24(0x161)]=async _0x39d3fd=>{const _0x255796=a34_0x4d7a24,_0x5bd861={};_0x5bd861[_0x255796(0x189)]=_0x255796(0x1ae),_0x5bd861[_0x255796(0x177)]=_0x255796(0x17d);const _0x5964d3=_0x5bd861;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x39d3fd,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x39d3fd,scripts.getResults);return res;}catch{return logger['error'](_0x5964d3[_0x255796(0x189)]),[];}else return logger[_0x255796(0x174)](_0x5964d3[_0x255796(0x177)]),[];},exports[a34_0x4d7a24(0x1ab)]=async(_0x17aba1,_0x3453d3='')=>{const _0x2b3cb1=a34_0x4d7a24;if(global[_0x2b3cb1(0x17b)]){const _0x1fc95a={};return _0x1fc95a[_0x2b3cb1(0x1a5)]=_0x3453d3,await exports[_0x2b3cb1(0x180)](_0x17aba1,scripts[_0x2b3cb1(0x1ab)],_0x1fc95a);}},exports[a34_0x4d7a24(0x1a7)]=async _0x24ede3=>{const _0x5dc430=a34_0x4d7a24,_0xd8b4c7={};_0xd8b4c7['dgkJq']=_0x5dc430(0x18d),_0xd8b4c7[_0x5dc430(0x182)]=_0x5dc430(0x1a0);const _0x167804=_0xd8b4c7;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x24ede3,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x24ede3,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5dc430(0x191)](_0x167804[_0x5dc430(0x170)]),{};}else return logger[_0x5dc430(0x174)](_0x167804['rDCMj']),{};},exports['platformValidation']=async _0x39cc8a=>{const _0x10e92=a34_0x4d7a24,_0x35c3d2={'UinOR':function(_0x39187e,_0x383fc6){return _0x39187e!==_0x383fc6;},'VIWJB':_0x10e92(0x17c),'eEodx':function(_0x42b933,_0x244229){return _0x42b933===_0x244229;},'uMLFr':_0x10e92(0x1af),'hCBlq':function(_0x19bf5c,_0x2cedf0){return _0x19bf5c===_0x2cedf0;},'wLtNl':_0x10e92(0x1a2),'pURnx':_0x10e92(0x178),'BdThs':function(_0x54f94c,_0x5841bf){return _0x54f94c(_0x5841bf);},'iLEve':function(_0x6058bd,_0x4a0d70){return _0x6058bd===_0x4a0d70;},'XNzkh':_0x10e92(0x19e),'mPlJr':function(_0x36062d,_0x1caa39){return _0x36062d>_0x1caa39;},'pSZKy':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.'};try{if(!_0x35c3d2[_0x10e92(0x19c)](_0x39cc8a['deviceName'],''))return logger['warn'](_0x35c3d2[_0x10e92(0x1ac)]),![];const _0x5f3e40=_0x39cc8a[_0x10e92(0x164)];if(!(_0x35c3d2[_0x10e92(0x17a)](_0x5f3e40,_0x35c3d2[_0x10e92(0x175)])||_0x35c3d2[_0x10e92(0x187)](_0x5f3e40,_0x35c3d2['wLtNl'])))return logger[_0x10e92(0x174)](_0x35c3d2['pURnx']),![];const _0x41d5b=_0x35c3d2[_0x10e92(0x1a3)](parseInt,_0x39cc8a[_0x10e92(0x14f)]);if(!(_0x35c3d2[_0x10e92(0x198)](_0x41d5b,_0x35c3d2[_0x10e92(0x15e)])||_0x35c3d2[_0x10e92(0x157)](_0x41d5b,0x5e)))return logger[_0x10e92(0x174)](_0x35c3d2[_0x10e92(0x149)]),![];}catch(_0x2ae535){logger[_0x10e92(0x191)](_0x10e92(0x14c)+util[_0x10e92(0x17e)](_0x2ae535));}return!![];},exports[a34_0x4d7a24(0x154)]=(_0x529d3a,_0x56bc7a,_0x15884d)=>{const _0x146656=a34_0x4d7a24,_0x3b6a19={'HaGan':function(_0x1a7dbf){return _0x1a7dbf();},'Rkokh':_0x146656(0x15f),'qqAiz':function(_0x3acf66,_0x13eba6){return _0x3acf66===_0x13eba6;},'hwgvd':'chrome','xPbwm':function(_0x2acefe,_0x465923){return _0x2acefe===_0x465923;},'JUUIg':_0x146656(0x1a2),'lmSGQ':_0x146656(0x178),'ADPnG':function(_0x17cb2c,_0x24f3b3){return _0x17cb2c===_0x24f3b3;},'Rcslg':_0x146656(0x19e),'YWYmJ':function(_0x172016,_0x25f586){return _0x172016>_0x25f586;},'fMWqd':_0x146656(0x15c),'GjAXs':function(_0x19802d,_0x1153a3){return _0x19802d(_0x1153a3);},'kejzN':_0x146656(0x17c),'dblJt':function(_0x44f52e,_0x1c3202){return _0x44f52e+_0x1c3202;},'PdbbB':function(_0x400dde,_0x7b90fa){return _0x400dde(_0x7b90fa);}};try{if(_0x3b6a19[_0x146656(0x148)](isAccessibilityAutomationSession)){global[_0x146656(0x17b)]=!![];!_0x529d3a[_0x3b6a19['Rkokh']]&&(global[_0x146656(0x17b)]=![]);!(_0x3b6a19[_0x146656(0x156)](_0x529d3a['browserName'],_0x3b6a19[_0x146656(0x16f)])||_0x3b6a19['xPbwm'](_0x529d3a[_0x146656(0x169)],_0x3b6a19[_0x146656(0x18b)]))&&(logger['warn'](_0x3b6a19[_0x146656(0x181)]),global[_0x146656(0x17b)]=![]);!(_0x3b6a19['ADPnG'](_0x529d3a[_0x146656(0x14f)],_0x3b6a19[_0x146656(0x190)])||_0x3b6a19[_0x146656(0x171)](_0x529d3a[_0x146656(0x14f)],0x5e))&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x1a4)]),global[_0x146656(0x17b)]=![]);!_0x3b6a19[_0x146656(0x14b)](isUndefined,_0x529d3a[_0x146656(0x193)])&&(logger[_0x146656(0x174)](_0x3b6a19[_0x146656(0x160)]),global[_0x146656(0x17b)]=![]);if(!global['accessibilityPlatform']){_0x529d3a[_0x3b6a19['Rkokh']]=![];const _0x257b2a=_0x3b6a19[_0x146656(0x186)](_0x56bc7a,_0x3b6a19[_0x146656(0x19a)](encodeURIComponent,JSON['stringify'](_0x529d3a)));_0x15884d&&(_0x15884d[_0x146656(0x18c)][_0x146656(0x194)][_0x146656(0x195)]['use'][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a,_0x15884d['workerInfo']['project'][_0x146656(0x14d)][_0x146656(0x1ad)][_0x146656(0x185)]=_0x257b2a);}}}catch(_0x2cd565){logger[_0x146656(0x191)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util['format'](_0x2cd565));}};
|
|
1
|
+
const a34_0x4e802e=a34_0x3140;(function(_0x5e3d2f,_0x2c097a){const _0x187750=a34_0x3140,_0x315835=_0x5e3d2f();while(!![]){try{const _0x5084c4=parseInt(_0x187750(0x130))/0x1+-parseInt(_0x187750(0x12c))/0x2+-parseInt(_0x187750(0x13c))/0x3*(-parseInt(_0x187750(0x136))/0x4)+parseInt(_0x187750(0x16a))/0x5*(-parseInt(_0x187750(0x149))/0x6)+parseInt(_0x187750(0x160))/0x7+parseInt(_0x187750(0x161))/0x8*(parseInt(_0x187750(0x146))/0x9)+-parseInt(_0x187750(0x147))/0xa;if(_0x5084c4===_0x2c097a)break;else _0x315835['push'](_0x315835['shift']());}catch(_0x23b48b){_0x315835['push'](_0x315835['shift']());}}}(a34_0x3c50,0xaf93d));function a34_0x3140(_0x2ff78b,_0x398599){const _0x3c504f=a34_0x3c50();return a34_0x3140=function(_0x314062,_0x38a59b){_0x314062=_0x314062-0x116;let _0x349ae7=_0x3c504f[_0x314062];return _0x349ae7;},a34_0x3140(_0x2ff78b,_0x398599);}const util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{isAccessibilityAutomationSession}=require(a34_0x4e802e(0x173)),{isUndefined}=require(a34_0x4e802e(0x140)),scripts=require(a34_0x4e802e(0x12a));function a34_0x3c50(){const _0x3a8c60=['VMwnM','LDEct','stringify','UJYJq','jPLsx','wsEndpoint','eNtfp','../../helpers/accessibility-automation/helper','use','scannerProcessingTimeout','IOULB','replace','error','uvwJS','Lyyay','parse','Playwright','platformValidation','workerInfo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','accessibilityPlatform','DJRzS','browserStackExecuteDriver','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','evaluate','OqpoT','jHIcT','kpnbo','testInfo','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','accessibilityOptions.includeIssueType.bestPractice','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20','browser','SzbmW','JDOcD','axYaQ','QudZl','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','../../helpers/accessibility-automation/scripts','deviceName','329022bmWlEz','performScan','processAccessibilityCaps','pblyu','493917OPDHHg','format','OxSzA','RVGSG','DVRKc','wXoLB','35836UzNmSk','chrome','method','WdCke','getAccessibilityResults','ndCPE','204tqaJty','wACsP','oNQEF','dYRlt','../../helpers/helper','includeIssueType','needsReview','constructor','No\x20summaryResults\x20found.','latest','4761kjBrWV','8715720QIObVo','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','3539370tPMNSS','debug','bestPractice','name','connectOptions','No\x20accessibility\x20results\x20were\x20found.','HFuld','mKfIv','getAccessibilityResultsSummary','executeAsyncScript','accessibilityOptions','cjfkI','executeScript','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','accessibilityOptions.wcagVersion','playwright-chromium','DPxcy','oJweD','bstackSdkArgs','scannerVersion','warn','accessibilityOptions.scannerProcessingTimeout','wcagVersion','1065918HeXYLc','16480BOcdhq','currentTest','yGJjy','EzsQN','setAccessibilityCapabilities','browserName','ISXqM','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','5XwAjBg','project'];a34_0x3c50=function(){return _0x3a8c60;};return a34_0x3c50();}exports['browserStackEvaluate']=async(_0x515f22,_0x4f2924,_0x136e9c={})=>{const _0xe5902f=a34_0x4e802e,_0x534274={};_0x534274[_0xe5902f(0x150)]=_0xe5902f(0x15b);const _0x415dd2=_0x534274;return await _0x515f22[_0xe5902f(0x11a)](_0xe5902f(0x122)+_0x4f2924[_0xe5902f(0x177)](/arguments/g,_0x415dd2[_0xe5902f(0x150)])+_0xe5902f(0x128)+JSON[_0xe5902f(0x16e)](_0x136e9c)+')');},exports[a34_0x4e802e(0x118)]=async(_0x37894c,_0x64d4c,_0x2cf010={})=>{const _0x36ec0f=a34_0x4e802e,_0x4c4c38={};_0x4c4c38['yGJjy']=function(_0x3f8fdb,_0x410b26){return _0x3f8fdb===_0x410b26;},_0x4c4c38['lEPPQ']='WebDriver',_0x4c4c38[_0x36ec0f(0x132)]=_0x36ec0f(0x17c),_0x4c4c38[_0x36ec0f(0x11b)]=_0x36ec0f(0x15b);const _0x1be89b=_0x4c4c38;if(_0x1be89b[_0x36ec0f(0x163)](_0x37894c[_0x36ec0f(0x143)][_0x36ec0f(0x14c)],_0x1be89b['lEPPQ']))return await _0x37894c[_0x36ec0f(0x152)](_0x64d4c,_0x2cf010);else{if(_0x1be89b[_0x36ec0f(0x163)](_0x37894c['constructor'][_0x36ec0f(0x14c)],_0x1be89b[_0x36ec0f(0x132)]))return await _0x37894c[_0x36ec0f(0x155)](_0x36ec0f(0x156)+_0x64d4c['replace'](/arguments/g,_0x1be89b['OqpoT'])+'\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})('+JSON[_0x36ec0f(0x16e)](_0x2cf010)+')');}},exports[a34_0x4e802e(0x165)]=async _0x11261a=>{const _0x42752c=a34_0x4e802e,_0x15fc0b={};_0x15fc0b[_0x42752c(0x164)]=_0x42752c(0x157),_0x15fc0b[_0x42752c(0x154)]=_0x42752c(0x15e),_0x15fc0b[_0x42752c(0x172)]=_0x42752c(0x120),_0x15fc0b[_0x42752c(0x11c)]='accessibilityOptions.includeIssueType.needsReview',_0x15fc0b[_0x42752c(0x117)]='accessibilityOptions.authToken',_0x15fc0b[_0x42752c(0x124)]='accessibilityOptions.scannerVersion';const _0x4c9290=_0x15fc0b;_0x11261a[_0x42752c(0x153)]&&(_0x11261a['accessibilityOptions'][_0x42752c(0x15f)]&&(_0x11261a[_0x4c9290[_0x42752c(0x164)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x15f)]),_0x11261a[_0x42752c(0x153)]['scannerProcessingTimeout']&&(_0x11261a[_0x4c9290['cjfkI']]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x175)]),_0x11261a[_0x42752c(0x153)]['includeIssueType']&&(_0x11261a[_0x4c9290[_0x42752c(0x172)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x141)][_0x42752c(0x14b)],_0x11261a[_0x4c9290[_0x42752c(0x11c)]]=_0x11261a[_0x42752c(0x153)][_0x42752c(0x141)][_0x42752c(0x142)]));const _0x1c750a=JSON[_0x42752c(0x17b)](process['env'][_0x42752c(0x169)])[_0x42752c(0x15c)];_0x11261a[_0x4c9290['DJRzS']]=process['env']['BS_A11Y_JWT'],_0x11261a[_0x4c9290[_0x42752c(0x124)]]=_0x1c750a,delete _0x11261a[_0x42752c(0x153)];},exports[a34_0x4e802e(0x13a)]=async _0x4d0b06=>{const _0x1b5b88=a34_0x4e802e,_0x5a3f13={};_0x5a3f13[_0x1b5b88(0x139)]=_0x1b5b88(0x14e),_0x5a3f13[_0x1b5b88(0x134)]=_0x1b5b88(0x11f);const _0x573244=_0x5a3f13;if(global[_0x1b5b88(0x116)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x4d0b06,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x4d0b06,scripts.getResults);return res;}catch{return logger[_0x1b5b88(0x178)](_0x573244[_0x1b5b88(0x139)]),[];}else return logger[_0x1b5b88(0x15d)](_0x573244['DVRKc']),[];},exports[a34_0x4e802e(0x12d)]=async(_0x2a54d8,_0x23a934='')=>{const _0x1c20ff=a34_0x4e802e;if(global[_0x1c20ff(0x116)]){const _0x39b47c={};return _0x39b47c[_0x1c20ff(0x138)]=_0x23a934,await exports['browserStackEvaluate'](_0x2a54d8,scripts[_0x1c20ff(0x12d)],_0x39b47c);}},exports[a34_0x4e802e(0x151)]=async _0x50fc72=>{const _0x128d1b=a34_0x4e802e,_0x4d4ea={};_0x4d4ea['VYlpk']=_0x128d1b(0x144),_0x4d4ea[_0x128d1b(0x133)]=_0x128d1b(0x129);const _0x46ffc0=_0x4d4ea;if(global[_0x128d1b(0x116)])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x50fc72,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x50fc72,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x128d1b(0x14a)](_0x46ffc0['VYlpk']),{};}else return logger[_0x128d1b(0x15d)](_0x46ffc0['RVGSG']),{};},exports[a34_0x4e802e(0x17d)]=async _0x5015e6=>{const _0x95b912=a34_0x4e802e,_0x4a7096={'oJweD':function(_0x3a32aa,_0x537e50){return _0x3a32aa!==_0x537e50;},'DnuUn':_0x95b912(0x168),'Lyyay':function(_0x4f04bc,_0x3cde18){return _0x4f04bc===_0x3cde18;},'QudZl':_0x95b912(0x137),'dbfyL':function(_0x50fb8f,_0x4edf04){return _0x50fb8f===_0x4edf04;},'uvwJS':_0x95b912(0x158),'DPxcy':_0x95b912(0x17f),'wACsP':function(_0x583736,_0x4dc76d){return _0x583736(_0x4dc76d);},'UJYJq':function(_0xee70f9,_0x13b598){return _0xee70f9===_0x13b598;},'IOULB':_0x95b912(0x145),'roTFE':function(_0x3747fb,_0x3a1fa6){return _0x3747fb>_0x3a1fa6;},'dYRlt':_0x95b912(0x148)};try{if(!_0x4a7096[_0x95b912(0x15a)](_0x5015e6[_0x95b912(0x12b)],''))return logger[_0x95b912(0x15d)](_0x4a7096['DnuUn']),![];const _0x9b2eae=_0x5015e6[_0x95b912(0x123)];if(!(_0x4a7096[_0x95b912(0x17a)](_0x9b2eae,_0x4a7096[_0x95b912(0x127)])||_0x4a7096['dbfyL'](_0x9b2eae,_0x4a7096[_0x95b912(0x179)])))return logger['warn'](_0x4a7096[_0x95b912(0x159)]),![];const _0x3b26a8=_0x4a7096[_0x95b912(0x13d)](parseInt,_0x5015e6['browser_version']);if(!(_0x4a7096[_0x95b912(0x16f)](_0x3b26a8,_0x4a7096[_0x95b912(0x176)])||_0x4a7096['roTFE'](_0x3b26a8,0x5e)))return logger['warn'](_0x4a7096[_0x95b912(0x13f)]),![];}catch(_0x255c21){logger[_0x95b912(0x14a)](_0x95b912(0x119)+util[_0x95b912(0x131)](_0x255c21));}return!![];},exports[a34_0x4e802e(0x12e)]=(_0x1360e1,_0xa99c46,_0x432647)=>{const _0x38ec7c=a34_0x4e802e,_0x3f60fa={'JDOcD':function(_0x2d9de3){return _0x2d9de3();},'wXoLB':'browserstack.accessibility','axYaQ':function(_0x3c65b1,_0x25461e){return _0x3c65b1===_0x25461e;},'VMwnM':_0x38ec7c(0x137),'ndCPE':function(_0x5abf7b,_0x364a2f){return _0x5abf7b===_0x364a2f;},'sjhZx':_0x38ec7c(0x158),'HWsOG':_0x38ec7c(0x17f),'oNQEF':_0x38ec7c(0x145),'LDEct':function(_0x2dd590,_0x5daf2c){return _0x2dd590>_0x5daf2c;},'jPLsx':_0x38ec7c(0x148),'pblyu':function(_0xe45bd,_0x249b3a){return _0xe45bd(_0x249b3a);},'kpnbo':_0x38ec7c(0x168),'ISXqM':function(_0xd8f589,_0x318fe2){return _0xd8f589+_0x318fe2;},'HFuld':function(_0x1c7fb2,_0x437784){return _0x1c7fb2(_0x437784);}};try{if(_0x3f60fa[_0x38ec7c(0x125)](isAccessibilityAutomationSession)){global[_0x38ec7c(0x116)]=!![];!_0x1360e1[_0x3f60fa['wXoLB']]&&(global[_0x38ec7c(0x116)]=![]);!(_0x3f60fa[_0x38ec7c(0x126)](_0x1360e1[_0x38ec7c(0x166)],_0x3f60fa[_0x38ec7c(0x16c)])||_0x3f60fa[_0x38ec7c(0x13b)](_0x1360e1[_0x38ec7c(0x166)],_0x3f60fa['sjhZx']))&&(logger[_0x38ec7c(0x15d)](_0x3f60fa['HWsOG']),global[_0x38ec7c(0x116)]=![]);!(_0x3f60fa['ndCPE'](_0x1360e1['browser_version'],_0x3f60fa[_0x38ec7c(0x13e)])||_0x3f60fa[_0x38ec7c(0x16d)](_0x1360e1['browser_version'],0x5e))&&(logger[_0x38ec7c(0x15d)](_0x3f60fa[_0x38ec7c(0x170)]),global['accessibilityPlatform']=![]);!_0x3f60fa[_0x38ec7c(0x12f)](isUndefined,_0x1360e1[_0x38ec7c(0x12b)])&&(logger[_0x38ec7c(0x15d)](_0x3f60fa[_0x38ec7c(0x11d)]),global['accessibilityPlatform']=![]);if(!global['accessibilityPlatform']){_0x1360e1[_0x3f60fa[_0x38ec7c(0x135)]]=![];const _0x3f356d=_0x3f60fa[_0x38ec7c(0x167)](_0xa99c46,_0x3f60fa[_0x38ec7c(0x14f)](encodeURIComponent,JSON[_0x38ec7c(0x16e)](_0x1360e1)));_0x432647&&(_0x432647[_0x38ec7c(0x162)][_0x38ec7c(0x11e)][_0x38ec7c(0x16b)][_0x38ec7c(0x174)]['connectOptions'][_0x38ec7c(0x171)]=_0x3f356d,_0x432647[_0x38ec7c(0x17e)][_0x38ec7c(0x16b)][_0x38ec7c(0x174)][_0x38ec7c(0x14d)][_0x38ec7c(0x171)]=_0x3f356d);}}}catch(_0x3cb186){logger[_0x38ec7c(0x14a)](_0x38ec7c(0x121)+util[_0x38ec7c(0x131)](_0x3cb186));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a35_0x1cdbd7=a35_0xd4dc;(function(_0x1fb349,_0x59166f){const _0x41c5f3=a35_0xd4dc,_0x505624=_0x1fb349();while(!![]){try{const _0x160c89=parseInt(_0x41c5f3(0x24f))/0x1*(parseInt(_0x41c5f3(0x249))/0x2)+-parseInt(_0x41c5f3(0x20b))/0x3+parseInt(_0x41c5f3(0x1d7))/0x4+parseInt(_0x41c5f3(0x204))/0x5+parseInt(_0x41c5f3(0x1b6))/0x6+-parseInt(_0x41c5f3(0x1dc))/0x7+-parseInt(_0x41c5f3(0x25c))/0x8;if(_0x160c89===_0x59166f)break;else _0x505624['push'](_0x505624['shift']());}catch(_0x4bb54c){_0x505624['push'](_0x505624['shift']());}}}(a35_0x49fc,0x6f174));function a35_0xd4dc(_0x37b2c4,_0x579a75){const _0x49fc0d=a35_0x49fc();return a35_0xd4dc=function(_0xd4dcd9,_0x58e4f3){_0xd4dcd9=_0xd4dcd9-0x1b6;let _0x26c91b=_0x49fc0d[_0xd4dcd9];return _0x26c91b;},a35_0xd4dc(_0x37b2c4,_0x579a75);}function a35_0x49fc(){const _0x4b5cf2=['nrURh','pw_result.json','--config','testObservability','false','isQeV','concat','npx','../../helpers/test-observability/constants','--disable-browserstack-automation','findIndex','\x22;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20try\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}catch{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20This\x20is\x20a\x20failsafe\x20if\x20global-agent\x20present\x20inside\x20sdk\x20node_modules\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap\x20=\x20require(\x22./node_modules/browserstack-node-sdk/node_modules/global-agent\x22).bootstrap;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bootstrap();','../../helpers/BrowserStackSetup','VNFUY','vrEeC','filterBrowserstackArgs','../utils/constants','OFlom','resolvedConfigFile','SCeNI','config','join','get','QgsDB','serializeToYamlString','child_process','initialize','2607925mRCBog','.browserstack','isTypescriptProject','stringify','push','MjDKO','../../helpers/test-observability/error-handler','692889czFiKr','GfweL','homedir','./reporter/pwUtils','requirePWModule','finalExecution','JagJR','parse','clearTempPWConfig','--config=','inherit','EcREW','playwright-browserstack-sdk.config.js','pXNdY','BROWSERSTACK_RERUN_TESTS','getPackageType','HzVdM','Deleting\x20','BrowserStack\x20config\x20file\x20not\x20found.','../../helpers/logger','getConfigPath','EmYIv','winstonLogger','ntqtU','existsSync','startsWith','playwright-browserstack-sdk.config.cjs','testContextOptions','--disable-test-observability','platform','assign','ZJzNx','launchBuild','readFileSync','UiFbG','nestedKeyValue','filter','true','has','./accessibility-helper','DhrqA','slice','isTrue','TTvkw','includes','dirname','stop','isFalse','FGGCq','USER_CONFIG_DETAILS_PATH','4|3|5|7|8|2|0|1|6','--grep','unlinkSync','RXRvx','info','gUAXY','EMYWN','HpAFs','split','win32','TiMSJ','MHXMV','58uhlaKD','NqhOq','PpOKP','QyjMv','BROWSERSTACK_AUTOMATION','test','23398NmDCQv','null','Playwright\x20process\x20exited\x20with\x20code\x20','accessibilityOptions','oxGpt','bHgQu','browserstackSetupConfig.json','Error\x20in\x20deleting\x20playwright\x20results','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','BROWSERSTACK_SETUP_CONFIG_PATH','cliConfig','map','PydaN','12970736NYPNvR','4595940jzarFZ','cwd','MmDua','writeFileSync','YQaNc','skipSessionName','accessibility','path','debug','JAAKJ','../../helpers/accessibility-automation/helper','skipSessionStatus','playwright','resolve','OwBao','../../helpers/utilities','NsqFr','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','WYrSq','hJOCr','PLAYWRIGHT','Error\x20in\x20closing\x20playwright','automation','argv','PACKAGE_TYPE','../../helpers/testhub/utils','Sjxoo','JivFV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','../../helpers/helper','indexOf','length','Updated\x20config\x20file\x20name\x20to\x20-\x20','2600324OBvIGA','env','RXeGD','RljFP','isUndefined','2162055tmvNBh','ISWDX','Error\x20in\x20getting\x20funnel\x20data\x20results','MStTc','close','exports','BROWSERSTACK_TEST_OBSERVABILITY','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','apply','bIpjD','markSDKSetupComplete','hKGUa','errorMessage'];a35_0x49fc=function(){return _0x4b5cf2;};return a35_0x49fc();}const fs=require('fs'),path=require(a35_0x1cdbd7(0x1bd)),{spawn}=require(a35_0x1cdbd7(0x202)),{format}=require('util'),logger=require(a35_0x1cdbd7(0x21e))[a35_0x1cdbd7(0x221)],{default:BrowserStackSetup}=require(a35_0x1cdbd7(0x1f5)),helper=require(a35_0x1cdbd7(0x1d3)),utilities=require(a35_0x1cdbd7(0x1c5)),constants=require(a35_0x1cdbd7(0x1f9)),{FRAMEWORKS}=require(a35_0x1cdbd7(0x1f1)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a35_0x1cdbd7(0x20e)),{CrashReporter}=require(a35_0x1cdbd7(0x20a)),{getFrameworkVersion}=require('../../helpers/test-observability/utils'),{checkAccessibilityPlatformConfig}=require(a35_0x1cdbd7(0x1c0)),{setAccessibilityCapabilities}=require(a35_0x1cdbd7(0x232)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),{shouldProcessEventForTesthub}=require(a35_0x1cdbd7(0x1cf)),getUserPlaywrightConfig=async(_0x388b4d,_0xe56b03)=>{const _0x43fa5a=a35_0x1cdbd7,_0x22b0e0={'UiFbG':function(_0x3a8929){return _0x3a8929();},'TiMSJ':function(_0x353db7,_0x376e14){return _0x353db7(_0x376e14);},'ONeOI':_0x43fa5a(0x1fb),'MmDua':_0x43fa5a(0x214)},_0x3c698c=!helper['isUndefined'](_0x388b4d[_0x43fa5a(0x1fd)]),_0x58d0d3=_0x3c698c?path[_0x43fa5a(0x1c3)](process['cwd'](),_0x388b4d[_0x43fa5a(0x1fd)]):process[_0x43fa5a(0x1b7)](),{resolveConfigFile:_0x3531cf,resolveConfigLocation:_0x592d48}=helper[_0x43fa5a(0x20f)][_0x43fa5a(0x1e4)](null,_0x22b0e0[_0x43fa5a(0x22d)](getConfigLoaderPath)),_0x126207=_0x3531cf?_0x22b0e0[_0x43fa5a(0x247)](_0x3531cf,_0x58d0d3):helper[_0x43fa5a(0x22e)](_0x22b0e0[_0x43fa5a(0x247)](_0x592d48,_0x58d0d3),[_0x22b0e0['ONeOI']]),_0x586b69={};if(_0x3c698c){const _0x409e9d=_0xe56b03[_0x43fa5a(0x1f3)](_0x1925f5=>_0x1925f5===_0x43fa5a(0x1eb)||_0x1925f5==='-c'||_0x1925f5[_0x43fa5a(0x224)](_0x43fa5a(0x214)));_0xe56b03['splice'](_0x409e9d,_0xe56b03[_0x409e9d][_0x43fa5a(0x224)](_0x22b0e0[_0x43fa5a(0x1b8)])?0x1:0x2);}const _0x22e85b={};return _0x22e85b[_0x43fa5a(0x1bd)]=_0x126207,_0x22e85b[_0x43fa5a(0x1fd)]=_0x586b69,_0x22e85b;},handleO11yRerun=_0x47fde8=>{const _0x30e02a=a35_0x1cdbd7,_0x15e2cc={};_0x15e2cc['wctto']=function(_0x22b718,_0xd82096){return _0x22b718!==_0xd82096;},_0x15e2cc[_0x30e02a(0x222)]=_0x30e02a(0x250),_0x15e2cc[_0x30e02a(0x220)]=_0x30e02a(0x23e);const _0x395203=_0x15e2cc,_0x3d3a7a=helper[_0x30e02a(0x235)](process[_0x30e02a(0x1d8)]['BROWSERSTACK_RERUN']);if(_0x3d3a7a){const _0x32bc10=process[_0x30e02a(0x1d8)][_0x30e02a(0x219)],_0x38135c=[];if(_0x395203['wctto'](_0x32bc10,_0x395203[_0x30e02a(0x222)])&&!helper[_0x30e02a(0x1db)](_0x32bc10)){_0x32bc10[_0x30e02a(0x245)](',')[_0x30e02a(0x25a)](_0x5f0f6a=>{const _0x224ca3=_0x30e02a;_0x38135c[_0x224ca3(0x208)]('('+_0x5f0f6a['trim']()+')');});const _0xc8ebab='^'+_0x38135c[_0x30e02a(0x1fe)]('|')+'$';_0x47fde8['push'](_0x395203['EmYIv'],_0xc8ebab);}}},spawnOriginalProcess=_0x3a420a=>{const _0x4ece28=a35_0x1cdbd7,_0x196eb2={'JAAKJ':function(_0x3571bc,_0x593965,_0x28a258,_0x4f8e82){return _0x3571bc(_0x593965,_0x28a258,_0x4f8e82);},'QgsDB':'npx','bHgQu':_0x4ece28(0x1c2),'ZJzNx':function(_0x3f0074,_0x5ad32a){return _0x3f0074===_0x5ad32a;},'pXNdY':'win32','hOnLh':_0x4ece28(0x215)};_0x196eb2[_0x4ece28(0x1bf)](spawn,_0x196eb2[_0x4ece28(0x200)],[_0x196eb2[_0x4ece28(0x254)],..._0x3a420a[_0x4ece28(0x234)](0x1)],{'shell':_0x196eb2[_0x4ece28(0x22a)](process[_0x4ece28(0x228)],_0x196eb2[_0x4ece28(0x218)]),'stdio':_0x196eb2['hOnLh'],'cwd':process[_0x4ece28(0x1b7)]()});},isTestCommand=(_0x2fb2f7,_0x4eef8e)=>{const _0x1f2baf=a35_0x1cdbd7,_0x56a142={};_0x56a142[_0x1f2baf(0x1f7)]=function(_0x3272e4,_0x4ffd21){return _0x3272e4>_0x4ffd21;},_0x56a142[_0x1f2baf(0x236)]=function(_0x52cc9d,_0x13c929){return _0x52cc9d===_0x13c929;},_0x56a142[_0x1f2baf(0x233)]=_0x1f2baf(0x24e);const _0xdf4dc9=_0x56a142;if(_0xdf4dc9[_0x1f2baf(0x1f7)](_0x4eef8e['length'],0x1)&&_0xdf4dc9[_0x1f2baf(0x236)](_0x4eef8e[0x1],_0xdf4dc9['DhrqA']))return!![];return![];};async function run(_0x1b4422,_0x2b8688){const _0x407053=a35_0x1cdbd7,_0x1db360={'gUAXY':_0x407053(0x205),'PpOKP':_0x407053(0x1ea),'wZvNH':function(_0x2459b3,_0x1c3b8a){return _0x2459b3+_0x1c3b8a;},'hKGUa':_0x407053(0x1de),'YQaNc':_0x407053(0x23d),'QaXIx':function(_0x31c1e4){return _0x31c1e4();},'NsqFr':function(_0x1104b7,_0x3af544){return _0x1104b7+_0x3af544;},'bIpjD':_0x407053(0x1cb),'PTgHl':_0x407053(0x1f2),'OwBao':_0x407053(0x1ed),'JivFV':_0x407053(0x227),'PydaN':function(_0x5408bf,_0x268e26){return _0x5408bf>=_0x268e26;},'WYrSq':_0x407053(0x256),'EMYWN':function(_0x5c4ea2,_0xfdcab6,_0x1dfeed){return _0x5c4ea2(_0xfdcab6,_0x1dfeed);},'hJOCr':function(_0x1b9443,_0x35fb62){return _0x1b9443(_0x35fb62);},'EcREW':_0x407053(0x21d),'Sjxoo':_0x407053(0x1cc),'RXRvx':function(_0x5094a7,_0x18e633){return _0x5094a7!=_0x18e633;},'MHXMV':function(_0xe18fcc,_0x302ddd,_0x422777){return _0xe18fcc(_0x302ddd,_0x422777);},'JagJR':function(_0x3f1045,_0x15cae8){return _0x3f1045(_0x15cae8);},'MStTc':function(_0x3d329f,_0xfc00b6){return _0x3d329f===_0xfc00b6;},'NqhOq':_0x407053(0x230),'isQeV':function(_0xd478b2,_0x30fc32){return _0xd478b2(_0x30fc32);},'nrURh':function(_0x7a99fd,_0x436bc3){return _0x7a99fd(_0x436bc3);},'QyjMv':_0x407053(0x255),'HpAFs':_0x407053(0x225),'HzVdM':_0x407053(0x217),'RljFP':function(_0x570324,_0x3bdf25){return _0x570324-_0x3bdf25;},'FGGCq':function(_0xd63281,_0x3c4e80){return _0xd63281+_0x3c4e80;},'SCeNI':_0x407053(0x1d6),'HlGfA':function(_0x59b371,_0x3ba683){return _0x59b371>_0x3ba683;},'RXeGD':function(_0xb2e893,_0x256802){return _0xb2e893+_0x256802;},'MjDKO':function(_0xcda377,_0x35e1ed,_0x106c2c,_0x57345e){return _0xcda377(_0x35e1ed,_0x106c2c,_0x57345e);},'VNFUY':_0x407053(0x1f0),'OGzgh':'playwright','qRNrM':_0x407053(0x24e),'GfweL':'--config','oxGpt':_0x407053(0x246),'ISWDX':'inherit','OFlom':_0x407053(0x1e0)};!helper[_0x407053(0x23a)](process[_0x407053(0x1d8)][_0x407053(0x24d)])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=!![]);process[_0x407053(0x1cd)][_0x407053(0x237)](_0x1db360['PTgHl'])&&(process[_0x407053(0x1d8)][_0x407053(0x24d)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x14e487=>_0x14e487!==_0x407053(0x1f2)));const _0x391d19=_0x2b8688[_0x407053(0x1d4)](_0x1db360[_0x407053(0x1d1)]);_0x1db360[_0x407053(0x25b)](_0x391d19,0x0)&&(process[_0x407053(0x1d8)][_0x407053(0x1e2)]=_0x1db360[_0x407053(0x1c4)],_0x2b8688=_0x2b8688[_0x407053(0x22f)](_0x90e98a=>_0x90e98a!==_0x407053(0x227)));try{const _0x307da5=path[_0x407053(0x1fe)](helper[_0x407053(0x20d)](),_0x1db360['gUAXY'],_0x1db360[_0x407053(0x24b)]);fs[_0x407053(0x223)](_0x307da5)&&fs['unlinkSync'](_0x307da5);}catch(_0xa25184){logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x1c6)](_0x1db360[_0x407053(0x1c8)],_0xa25184));}if(!_0x1db360[_0x407053(0x243)](isTestCommand,_0x1b4422,_0x2b8688)){_0x1db360[_0x407053(0x1c9)](spawnOriginalProcess,_0x2b8688);return;}const _0x477bec=new BrowserStackSetup(_0x1b4422,FRAMEWORKS[_0x407053(0x1ca)]);if(!_0x477bec[_0x407053(0x1fd)]){logger['error'](_0x1db360[_0x407053(0x216)]);return;}await _0x477bec[_0x407053(0x203)]();!helper[_0x407053(0x1db)](_0x477bec[_0x407053(0x259)])&&_0x477bec['cliConfig'][_0x407053(0x231)](_0x1db360['Sjxoo'])&&(process['env'][_0x407053(0x24d)]=_0x477bec[_0x407053(0x259)][_0x407053(0x1ff)](_0x1db360[_0x407053(0x1d0)])||!![]);_0x1db360[_0x407053(0x240)](_0x477bec[_0x407053(0x1fd)]['testObservability'],null)&&!helper[_0x407053(0x235)](process[_0x407053(0x1d8)][_0x407053(0x1e2)])&&(process[_0x407053(0x1d8)]['BROWSERSTACK_TEST_OBSERVABILITY']=process['env']['BROWSERSTACK_TEST_OBSERVABILITY']||_0x477bec[_0x407053(0x1fd)][_0x407053(0x1ec)]);const _0x1e3701=!helper[_0x407053(0x23a)](process['env'][_0x407053(0x1e2)]);let _0x5617d2=![];_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]&&(_0x5617d2=!![],process[_0x407053(0x1d8)][_0x407053(0x1d2)]=_0x477bec[_0x407053(0x1fd)][_0x407053(0x1bc)]);_0x477bec[_0x407053(0x1fd)][_0x407053(0x252)]&&(process['env'][_0x407053(0x257)]=JSON[_0x407053(0x207)](_0x477bec[_0x407053(0x1fd)]['accessibilityOptions']));const _0x455ed3=_0x2b8688[_0x407053(0x1ef)](),_0x3bd7c6=await _0x1db360[_0x407053(0x248)](getUserPlaywrightConfig,_0x1b4422,_0x2b8688);if(helper[_0x407053(0x1db)](_0x3bd7c6)){_0x1db360['JagJR'](spawnOriginalProcess,_0x455ed3);return;}const _0xaf3a6d=_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6['path']):process[_0x407053(0x1b7)]();process[_0x407053(0x1d8)]['BROWSERSTACK_PW_CONFIG_DIR']=_0xaf3a6d,await TestHubHandler[_0x407053(0x22b)](FRAMEWORKS[_0x407053(0x1ca)],_0x477bec);_0x1e3701&&_0x1db360[_0x407053(0x211)](handleO11yRerun,_0x2b8688);let _0x35b81c=_0x1db360['MStTc'](process[_0x407053(0x1d8)][_0x407053(0x1d2)],_0x1db360[_0x407053(0x24a)]);_0x35b81c=_0x35b81c||_0x1db360[_0x407053(0x1ee)](checkAccessibilityPlatformConfig,_0x477bec['config']),process['env'][_0x407053(0x1d2)]=_0x35b81c;_0x35b81c&&_0x1db360[_0x407053(0x1e9)](setAccessibilityCapabilities,_0x477bec[_0x407053(0x1fd)]);const _0x13533c=path['join'](_0x3bd7c6['path']?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x1db360[_0x407053(0x24c)]);fs[_0x407053(0x1b9)](_0x13533c,helper[_0x407053(0x201)](_0x477bec[_0x407053(0x1fd)])),process[_0x407053(0x1d8)][_0x407053(0x258)]=_0x13533c,helper[_0x407053(0x213)]();let _0x14969a='';_0x1db360[_0x407053(0x1df)](helper[_0x407053(0x21a)](),constants[_0x407053(0x1ce)]['MODULE'])?_0x14969a=_0x1db360[_0x407053(0x244)]:_0x14969a=_0x1db360[_0x407053(0x21b)];let _0x41181a='';if(helper[_0x407053(0x206)](_0x3bd7c6[_0x407053(0x1bd)])){_0x41181a=_0x407053(0x1e3);const _0x582866=_0x14969a[_0x407053(0x245)]('.');_0x582866[_0x1db360[_0x407053(0x1da)](_0x582866[_0x407053(0x1d5)],0x1)]='ts',_0x14969a=_0x582866[_0x407053(0x1fe)]('.'),logger[_0x407053(0x1be)](_0x1db360[_0x407053(0x23b)](_0x1db360[_0x407053(0x1fc)],_0x14969a));}else _0x41181a=_0x407053(0x1c7);const _0x3350f0=path[_0x407053(0x1fe)](_0x3bd7c6[_0x407053(0x1bd)]?path[_0x407053(0x238)](_0x3bd7c6[_0x407053(0x1bd)]):process[_0x407053(0x1b7)](),_0x14969a);let _0x467275=_0x3bd7c6['path']?_0x3bd7c6[_0x407053(0x1bd)]:'';_0x467275=_0x1db360['HlGfA'](_0x467275[_0x407053(0x1d5)],0x0)?path[_0x407053(0x1c3)](_0x467275):'',process[_0x407053(0x1d8)][_0x407053(0x23c)]=_0x467275;const _0x3eacfa=helper['getProxyUrl'](_0x477bec[_0x407053(0x1fd)]);_0x3eacfa&&(_0x41181a=_0x1db360[_0x407053(0x1d9)]('process.env.GLOBAL_AGENT_HTTP_PROXY=\x22'+_0x3eacfa+_0x407053(0x1f4),_0x41181a));helper[_0x407053(0x1f8)]({},_0x2b8688),fs[_0x407053(0x1b9)](_0x3350f0,_0x41181a),helper[_0x407053(0x1e6)]();const _0xfffa3b=_0x1db360[_0x407053(0x209)](spawn,_0x1db360[_0x407053(0x1f6)],[_0x1db360['OGzgh'],_0x1db360['qRNrM'],_0x1db360[_0x407053(0x20c)],_0x3350f0,..._0x2b8688[_0x407053(0x234)](0x2)],{'shell':_0x1db360[_0x407053(0x1df)](process[_0x407053(0x228)],_0x1db360[_0x407053(0x253)]),'stdio':_0x1db360[_0x407053(0x1dd)],'cwd':process[_0x407053(0x1b7)](),'env':Object[_0x407053(0x229)]({},process[_0x407053(0x1d8)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x407053(0x21f)](_0x1b4422),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x477bec['config']['testContextOptions'][_0x407053(0x1c1)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x477bec[_0x407053(0x1fd)][_0x407053(0x226)][_0x407053(0x1bb)],'BROWSERSTACK_LOG_LEVEL':_0x477bec['config']['logLevel']})}),_0x4e7e6b=()=>{const _0x4f7a61=_0x407053;try{const _0x4afc4d=path['join'](helper[_0x4f7a61(0x20d)](),_0x1db360[_0x4f7a61(0x242)],_0x1db360['PpOKP']);if(fs[_0x4f7a61(0x223)](_0x4afc4d)){let _0x53e93a=fs[_0x4f7a61(0x22c)](_0x4afc4d);_0x53e93a=JSON[_0x4f7a61(0x212)](_0x53e93a),_0x477bec[_0x4f7a61(0x1e8)]=_0x53e93a,fs[_0x4f7a61(0x23f)](_0x4afc4d);}}catch(_0x163fd5){logger['debug'](_0x1db360['wZvNH'](_0x1db360[_0x4f7a61(0x1e7)],_0x163fd5));}};_0xfffa3b['on'](_0x1db360[_0x407053(0x1fa)],async _0xf6f5c4=>{const _0x446d78=_0x407053;try{const _0x2fd277=_0x1db360[_0x446d78(0x1ba)][_0x446d78(0x245)]('|');let _0x4d8e85=0x0;while(!![]){switch(_0x2fd277[_0x4d8e85++]){case'0':fs['unlinkSync'](_0x3350f0);continue;case'1':logger[_0x446d78(0x1be)](_0x446d78(0x21c)+_0x13533c);continue;case'2':logger[_0x446d78(0x241)](_0x446d78(0x21c)+_0x3350f0);continue;case'3':await TestHubHandler[_0x446d78(0x239)]();continue;case'4':_0x1db360['QaXIx'](_0x4e7e6b);continue;case'5':await utilities[_0x446d78(0x210)](_0x477bec);continue;case'6':fs[_0x446d78(0x23f)](_0x13533c);continue;case'7':process['exitCode']=_0xf6f5c4;continue;case'8':logger[_0x446d78(0x1be)](_0x446d78(0x251)+_0xf6f5c4);continue;}break;}}catch(_0x3294e6){logger[_0x446d78(0x1be)](_0x1db360[_0x446d78(0x1c6)](_0x1db360[_0x446d78(0x1e5)],_0x3294e6));}});}module[a35_0x1cdbd7(0x1e1)]=run;
|
|
2
|
+
'use strict';const a35_0x1af99a=a35_0x3594;function a35_0x3594(_0x4b62f8,_0x579910){const _0x2cc9ae=a35_0x2cc9();return a35_0x3594=function(_0x35948e,_0x319efb){_0x35948e=_0x35948e-0x117;let _0x92477b=_0x2cc9ae[_0x35948e];return _0x92477b;},a35_0x3594(_0x4b62f8,_0x579910);}(function(_0x1368b4,_0x4accd9){const _0x4a68c9=a35_0x3594,_0xf75e19=_0x1368b4();while(!![]){try{const _0x5aedc3=-parseInt(_0x4a68c9(0x12d))/0x1+parseInt(_0x4a68c9(0x199))/0x2+parseInt(_0x4a68c9(0x11e))/0x3+-parseInt(_0x4a68c9(0x13b))/0x4+-parseInt(_0x4a68c9(0x11c))/0x5*(-parseInt(_0x4a68c9(0x13e))/0x6)+-parseInt(_0x4a68c9(0x167))/0x7*(parseInt(_0x4a68c9(0x1a6))/0x8)+parseInt(_0x4a68c9(0x193))/0x9;if(_0x5aedc3===_0x4accd9)break;else _0xf75e19['push'](_0xf75e19['shift']());}catch(_0x26fb55){_0xf75e19['push'](_0xf75e19['shift']());}}}(a35_0x2cc9,0x4ccb4));function a35_0x2cc9(){const _0x589943=['indexOf','Deleting\x20','existsSync','Pofkk','ZegXE','eZIyJ','BrowserStack\x20config\x20file\x20not\x20found.','BROWSERSTACK_RERUN_TESTS','--disable-browserstack-automation','cwd','USER_CONFIG_DETAILS_PATH','stop','Updated\x20config\x20file\x20name\x20to\x20-\x20','.browserstack','--config=','HiAUe','push','saFIU','startsWith','error','../../helpers/helper','RtJVr','apply','isFalse','\x0a\x0a\x20\x20\x20\x20const\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0a\x20\x20\x20\x20module.exports\x20=\x20modifyPWConfig();\x0a','writeFileSync','inherit','win32','rRJqZ','../utils/constants','util','child_process','aSQwn','resolve','isTrue','accessibilityOptions','10311zcXZQn','unlinkSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','tkYaq','aoxum','XPLck','testContextOptions','Betbx','NAzDd','playwright','serializeToYamlString','true','--grep','yUHmt','OneKd','wjrty','eCaxB','../../helpers/test-observability/utils','nestedKeyValue','join','./accessibility-helper','eeQPM','aixtc','--config','../../helpers/testhub/testhubHandler','DhbDk','rxUXi','dirname','VzXtv','MODULE','BROWSERSTACK_SETUP_CONFIG_PATH','skipSessionName','Error\x20in\x20deleting\x20playwright\x20results','info','testObservability','orEAq','clearTempPWConfig','automation','yvUDZ','--disable-test-observability','markSDKSetupComplete','assign','isTypescriptProject','oTesO','8615340JRDzpi','npx','../../helpers/test-observability/constants','BROWSERSTACK_AUTOMATION','exitCode','getConfigPath','477096uhjhbQ','filter','homedir','gpsZb','eMOrb','accessibility','LVZvT','qOgTR','Ijmus','PLAYWRIGHT','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','map','argv','3112SJSakH','OCpps','isUndefined','ZkuDa','has','DwYRQ','splice','YqrTS','config','requirePWModule','XAHcV','bfNxa','AkhVV','../../helpers/logger','debug','fxddj','48305wPKQIr','split','280794QnhpgZ','skipSessionStatus','../../helpers/accessibility-automation/helper','playwright-browserstack-sdk.config.cjs','exports','readFileSync','Vtsdv','TbETe','path','finalExecution','Error\x20in\x20getting\x20funnel\x20data\x20results','trim','PACKAGE_TYPE','Fzfmz','4|7|0|1|5|8|3|6|2','306725Vgdrbx','initialize','../../helpers/test-observability/error-handler','BROWSERSTACK_PW_CONFIG_DIR','rgtqW','includes','POhQM','false','env','length','\x0a\x0a\x20\x20\x20\x20import\x20pkg\x20from\x20\x27browserstack-node-sdk\x27;\x0a\x20\x20\x20\x20export\x20default\x20pkg._modifyPlaywright()\x0a','Error\x20in\x20closing\x20playwright','launchBuild','test','1114780DPTxUX','BROWSERSTACK_TEST_OBSERVABILITY','browserstackSetupConfig.json','114fOJlIN','Playwright\x20process\x20exited\x20with\x20code\x20','BROWSERSTACK_RERUN','cliConfig','slice'];a35_0x2cc9=function(){return _0x589943;};return a35_0x2cc9();}const fs=require('fs'),path=require('path'),{spawn}=require(a35_0x1af99a(0x162)),{format}=require(a35_0x1af99a(0x161)),logger=require(a35_0x1af99a(0x119))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a35_0x1af99a(0x157)),utilities=require('../../helpers/utilities'),constants=require(a35_0x1af99a(0x160)),{FRAMEWORKS}=require(a35_0x1af99a(0x195)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require('./reporter/pwUtils'),{CrashReporter}=require(a35_0x1af99a(0x12f)),{getFrameworkVersion}=require(a35_0x1af99a(0x178)),{checkAccessibilityPlatformConfig}=require(a35_0x1af99a(0x120)),{setAccessibilityCapabilities}=require(a35_0x1af99a(0x17b)),TestHubHandler=require(a35_0x1af99a(0x17f)),{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),getUserPlaywrightConfig=async(_0x1aa8ab,_0x242900)=>{const _0x4a9e5c=a35_0x1af99a,_0x1bdc42={'ZkuDa':function(_0xaa8c97){return _0xaa8c97();},'aixtc':function(_0x404f5c,_0x689b98){return _0x404f5c(_0x689b98);},'ZegXE':'resolvedConfigFile','Ijmus':_0x4a9e5c(0x151)},_0x5bce4d=!helper['isUndefined'](_0x1aa8ab[_0x4a9e5c(0x1ae)]),_0x46655f=_0x5bce4d?path[_0x4a9e5c(0x164)](process[_0x4a9e5c(0x14c)](),_0x1aa8ab[_0x4a9e5c(0x1ae)]):process[_0x4a9e5c(0x14c)](),{resolveConfigFile:_0xac5913,resolveConfigLocation:_0x42dcfd}=helper[_0x4a9e5c(0x1af)][_0x4a9e5c(0x159)](null,_0x1bdc42[_0x4a9e5c(0x1a9)](getConfigLoaderPath)),_0x297ec6=_0xac5913?_0x1bdc42[_0x4a9e5c(0x17d)](_0xac5913,_0x46655f):helper[_0x4a9e5c(0x179)](_0x1bdc42['aixtc'](_0x42dcfd,_0x46655f),[_0x1bdc42[_0x4a9e5c(0x147)]]),_0x26ecf8={};if(_0x5bce4d){const _0x50f325=_0x242900['findIndex'](_0x17ad88=>_0x17ad88===_0x4a9e5c(0x17e)||_0x17ad88==='-c'||_0x17ad88[_0x4a9e5c(0x155)](_0x4a9e5c(0x151)));_0x242900[_0x4a9e5c(0x1ac)](_0x50f325,_0x242900[_0x50f325][_0x4a9e5c(0x155)](_0x1bdc42[_0x4a9e5c(0x1a1)])?0x1:0x2);}const _0x3dd4ec={};return _0x3dd4ec[_0x4a9e5c(0x126)]=_0x297ec6,_0x3dd4ec[_0x4a9e5c(0x1ae)]=_0x26ecf8,_0x3dd4ec;},handleO11yRerun=_0x40297c=>{const _0x6c2e3=a35_0x1af99a,_0x1e2f66={};_0x1e2f66[_0x6c2e3(0x176)]=function(_0x5d1fe5,_0x1314b5){return _0x5d1fe5!==_0x1314b5;},_0x1e2f66[_0x6c2e3(0x16e)]='null',_0x1e2f66['eevZH']=_0x6c2e3(0x173);const _0x23302e=_0x1e2f66,_0x2abb85=helper[_0x6c2e3(0x165)](process[_0x6c2e3(0x135)][_0x6c2e3(0x140)]);if(_0x2abb85){const _0x2a08f9=process[_0x6c2e3(0x135)][_0x6c2e3(0x14a)],_0x5ea7ce=[];if(_0x23302e['wjrty'](_0x2a08f9,_0x23302e[_0x6c2e3(0x16e)])&&!helper[_0x6c2e3(0x1a8)](_0x2a08f9)){_0x2a08f9['split'](',')[_0x6c2e3(0x1a4)](_0x1adce5=>{const _0x6c115f=_0x6c2e3;_0x5ea7ce[_0x6c115f(0x153)]('('+_0x1adce5[_0x6c115f(0x129)]()+')');});const _0x3c6235='^'+_0x5ea7ce[_0x6c2e3(0x17a)]('|')+'$';_0x40297c[_0x6c2e3(0x153)](_0x23302e['eevZH'],_0x3c6235);}}},spawnOriginalProcess=_0x1edae1=>{const _0x4d912e=a35_0x1af99a,_0x29a2a2={'POhQM':function(_0x173c3a,_0x304227,_0x4108cf,_0x303d43){return _0x173c3a(_0x304227,_0x4108cf,_0x303d43);},'XAHcV':_0x4d912e(0x194),'yUHmt':_0x4d912e(0x170),'ydXAq':function(_0x3efb49,_0x12dc7d){return _0x3efb49===_0x12dc7d;},'CqmAl':'win32','aSQwn':_0x4d912e(0x15d)};_0x29a2a2[_0x4d912e(0x133)](spawn,_0x29a2a2[_0x4d912e(0x1b0)],[_0x29a2a2[_0x4d912e(0x174)],..._0x1edae1['slice'](0x1)],{'shell':_0x29a2a2['ydXAq'](process['platform'],_0x29a2a2['CqmAl']),'stdio':_0x29a2a2[_0x4d912e(0x163)],'cwd':process['cwd']()});},isTestCommand=(_0x284ce1,_0x12492d)=>{const _0x513fe8=a35_0x1af99a,_0x19adb4={};_0x19adb4['eeQPM']=function(_0x392f75,_0x367a69){return _0x392f75>_0x367a69;},_0x19adb4[_0x513fe8(0x131)]=function(_0x511308,_0x317c5d){return _0x511308===_0x317c5d;},_0x19adb4[_0x513fe8(0x1ab)]='test';const _0x2fd1f1=_0x19adb4;if(_0x2fd1f1[_0x513fe8(0x17c)](_0x12492d[_0x513fe8(0x136)],0x1)&&_0x2fd1f1[_0x513fe8(0x131)](_0x12492d[0x1],_0x2fd1f1[_0x513fe8(0x1ab)]))return!![];return![];};async function run(_0x2b9035,_0x4a4ebd){const _0x51aeab=a35_0x1af99a,_0x2b51a7={'RtJVr':_0x51aeab(0x150),'Vtsdv':'pw_result.json','YqrTS':function(_0x4aeff2,_0x3fe640){return _0x4aeff2+_0x3fe640;},'gpsZb':_0x51aeab(0x128),'FSxGu':_0x51aeab(0x12c),'rxUXi':function(_0x5d2aa0){return _0x5d2aa0();},'lHsBn':_0x51aeab(0x138),'eZIyJ':_0x51aeab(0x14b),'AkhVV':_0x51aeab(0x134),'wHiqg':_0x51aeab(0x18e),'NAzDd':function(_0xb5741e,_0x2d6833){return _0xb5741e>=_0x2d6833;},'tkYaq':_0x51aeab(0x187),'eCaxB':function(_0x36fbd8,_0x13c853,_0x2247db){return _0x36fbd8(_0x13c853,_0x2247db);},'HiAUe':function(_0x18ac70,_0xa11f12){return _0x18ac70(_0xa11f12);},'eMOrb':_0x51aeab(0x149),'vVEyZ':_0x51aeab(0x18c),'XPLck':function(_0x888102,_0x53cb88){return _0x888102!=_0x53cb88;},'oTesO':function(_0x10540b,_0x5dcade,_0x222d9a){return _0x10540b(_0x5dcade,_0x222d9a);},'bfNxa':function(_0x46be15,_0xe6bf36){return _0x46be15===_0xe6bf36;},'Bvfmv':_0x51aeab(0x172),'rvLkG':function(_0x4c194c,_0x41813b){return _0x4c194c(_0x41813b);},'DhbDk':function(_0x4b41a7,_0x3cbfc6){return _0x4b41a7(_0x3cbfc6);},'OneKd':_0x51aeab(0x13d),'VzXtv':function(_0x2df151,_0x114a29){return _0x2df151===_0x114a29;},'saFIU':_0x51aeab(0x121),'TbETe':'playwright-browserstack-sdk.config.js','orEAq':function(_0xf09035,_0xaa9779){return _0xf09035-_0xaa9779;},'fxddj':function(_0x3ad2f4,_0x1d0551){return _0x3ad2f4+_0x1d0551;},'rRJqZ':_0x51aeab(0x14f),'LVZvT':function(_0x5ce680,_0x334fb9){return _0x5ce680>_0x334fb9;},'Pofkk':function(_0x17c34d,_0x4b2365){return _0x17c34d+_0x4b2365;},'qOgTR':function(_0x39e89c,_0x4915ec,_0x56dd00,_0x570cb3){return _0x39e89c(_0x4915ec,_0x56dd00,_0x570cb3);},'aoxum':'npx','bXszw':_0x51aeab(0x170),'OCpps':_0x51aeab(0x13a),'wOXWL':_0x51aeab(0x17e),'Fzfmz':_0x51aeab(0x15e),'ikoVw':_0x51aeab(0x15d),'yvUDZ':'close'};!helper[_0x51aeab(0x15a)](process[_0x51aeab(0x135)][_0x51aeab(0x196)])&&(process[_0x51aeab(0x135)]['BROWSERSTACK_AUTOMATION']=!![]);process[_0x51aeab(0x1a5)][_0x51aeab(0x132)](_0x2b51a7[_0x51aeab(0x148)])&&(process[_0x51aeab(0x135)][_0x51aeab(0x196)]=_0x2b51a7['AkhVV'],_0x4a4ebd=_0x4a4ebd[_0x51aeab(0x19a)](_0x1e7c20=>_0x1e7c20!=='--disable-browserstack-automation'));const _0x2efe9c=_0x4a4ebd[_0x51aeab(0x143)](_0x2b51a7['wHiqg']);_0x2b51a7[_0x51aeab(0x16f)](_0x2efe9c,0x0)&&(process[_0x51aeab(0x135)][_0x51aeab(0x13c)]=_0x2b51a7[_0x51aeab(0x118)],_0x4a4ebd=_0x4a4ebd[_0x51aeab(0x19a)](_0x3b4ac2=>_0x3b4ac2!==_0x51aeab(0x18e)));try{const _0x1797ab=path[_0x51aeab(0x17a)](helper['homedir'](),_0x2b51a7['RtJVr'],_0x2b51a7[_0x51aeab(0x124)]);fs[_0x51aeab(0x145)](_0x1797ab)&&fs['unlinkSync'](_0x1797ab);}catch(_0x5b153a){logger[_0x51aeab(0x11a)](_0x2b51a7['YqrTS'](_0x2b51a7[_0x51aeab(0x16a)],_0x5b153a));}if(!_0x2b51a7[_0x51aeab(0x177)](isTestCommand,_0x2b9035,_0x4a4ebd)){_0x2b51a7['HiAUe'](spawnOriginalProcess,_0x4a4ebd);return;}const _0x4db6ba=new BrowserStackSetup(_0x2b9035,FRAMEWORKS[_0x51aeab(0x1a2)]);if(!_0x4db6ba[_0x51aeab(0x1ae)]){logger[_0x51aeab(0x156)](_0x2b51a7[_0x51aeab(0x19d)]);return;}await _0x4db6ba[_0x51aeab(0x12e)]();!helper[_0x51aeab(0x1a8)](_0x4db6ba[_0x51aeab(0x141)])&&_0x4db6ba[_0x51aeab(0x141)][_0x51aeab(0x1aa)](_0x2b51a7['vVEyZ'])&&(process[_0x51aeab(0x135)][_0x51aeab(0x196)]=_0x4db6ba[_0x51aeab(0x141)]['get'](_0x2b51a7['vVEyZ'])||!![]);_0x2b51a7[_0x51aeab(0x16c)](_0x4db6ba[_0x51aeab(0x1ae)]['testObservability'],null)&&!helper['isTrue'](process[_0x51aeab(0x135)][_0x51aeab(0x13c)])&&(process['env'][_0x51aeab(0x13c)]=process[_0x51aeab(0x135)][_0x51aeab(0x13c)]||_0x4db6ba['config'][_0x51aeab(0x189)]);const _0x4c1889=!helper['isFalse'](process[_0x51aeab(0x135)][_0x51aeab(0x13c)]);let _0x3ed666=![];_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x19e)]&&(_0x3ed666=!![],process[_0x51aeab(0x135)][_0x51aeab(0x169)]=_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x19e)]);_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x166)]&&(process[_0x51aeab(0x135)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x4db6ba['config'][_0x51aeab(0x166)]));const _0x2214ad=_0x4a4ebd['concat'](),_0x36c2a8=await _0x2b51a7[_0x51aeab(0x192)](getUserPlaywrightConfig,_0x2b9035,_0x4a4ebd);if(helper[_0x51aeab(0x1a8)](_0x36c2a8)){_0x2b51a7['HiAUe'](spawnOriginalProcess,_0x2214ad);return;}const _0x3180cc=_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8[_0x51aeab(0x126)]):process[_0x51aeab(0x14c)]();process[_0x51aeab(0x135)][_0x51aeab(0x130)]=_0x3180cc,await TestHubHandler[_0x51aeab(0x139)](FRAMEWORKS[_0x51aeab(0x1a2)],_0x4db6ba);_0x4c1889&&_0x2b51a7[_0x51aeab(0x152)](handleO11yRerun,_0x4a4ebd);let _0x456cae=_0x2b51a7[_0x51aeab(0x117)](process[_0x51aeab(0x135)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2b51a7['Bvfmv']);_0x456cae=_0x456cae||_0x2b51a7['rvLkG'](checkAccessibilityPlatformConfig,_0x4db6ba[_0x51aeab(0x1ae)]),process[_0x51aeab(0x135)][_0x51aeab(0x169)]=_0x456cae;_0x456cae&&_0x2b51a7[_0x51aeab(0x180)](setAccessibilityCapabilities,_0x4db6ba['config']);const _0x2b1923=path[_0x51aeab(0x17a)](_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8['path']):process[_0x51aeab(0x14c)](),_0x2b51a7[_0x51aeab(0x175)]);fs['writeFileSync'](_0x2b1923,helper[_0x51aeab(0x171)](_0x4db6ba['config'])),process[_0x51aeab(0x135)][_0x51aeab(0x185)]=_0x2b1923,helper[_0x51aeab(0x18b)]();let _0x2fe2c7='';_0x2b51a7['VzXtv'](helper['getPackageType'](),constants[_0x51aeab(0x12a)][_0x51aeab(0x184)])?_0x2fe2c7=_0x2b51a7[_0x51aeab(0x154)]:_0x2fe2c7=_0x2b51a7[_0x51aeab(0x125)];let _0x3a64cb='';if(helper[_0x51aeab(0x191)](_0x36c2a8[_0x51aeab(0x126)])){_0x3a64cb=_0x51aeab(0x137);const _0x59eccf=_0x2fe2c7[_0x51aeab(0x11d)]('.');_0x59eccf[_0x2b51a7[_0x51aeab(0x18a)](_0x59eccf['length'],0x1)]='ts',_0x2fe2c7=_0x59eccf['join']('.'),logger[_0x51aeab(0x11a)](_0x2b51a7[_0x51aeab(0x11b)](_0x2b51a7[_0x51aeab(0x15f)],_0x2fe2c7));}else _0x3a64cb=_0x51aeab(0x15b);const _0x3e0e94=path[_0x51aeab(0x17a)](_0x36c2a8[_0x51aeab(0x126)]?path[_0x51aeab(0x182)](_0x36c2a8['path']):process[_0x51aeab(0x14c)](),_0x2fe2c7);let _0x9f10bf=_0x36c2a8[_0x51aeab(0x126)]?_0x36c2a8[_0x51aeab(0x126)]:'';_0x9f10bf=_0x2b51a7[_0x51aeab(0x19f)](_0x9f10bf[_0x51aeab(0x136)],0x0)?path[_0x51aeab(0x164)](_0x9f10bf):'',process['env'][_0x51aeab(0x14d)]=_0x9f10bf;const _0x21c4b3=helper['getProxyUrl'](_0x4db6ba[_0x51aeab(0x1ae)]);_0x21c4b3&&(_0x3a64cb=_0x2b51a7[_0x51aeab(0x146)](_0x51aeab(0x1a3)+_0x21c4b3+'\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();',_0x3a64cb));helper['filterBrowserstackArgs']({},_0x4a4ebd),fs[_0x51aeab(0x15c)](_0x3e0e94,_0x3a64cb),helper[_0x51aeab(0x18f)]();const _0x2e821a=_0x2b51a7[_0x51aeab(0x1a0)](spawn,_0x2b51a7[_0x51aeab(0x16b)],[_0x2b51a7['bXszw'],_0x2b51a7[_0x51aeab(0x1a7)],_0x2b51a7['wOXWL'],_0x3e0e94,..._0x4a4ebd[_0x51aeab(0x142)](0x2)],{'shell':_0x2b51a7[_0x51aeab(0x183)](process['platform'],_0x2b51a7[_0x51aeab(0x12b)]),'stdio':_0x2b51a7['ikoVw'],'cwd':process[_0x51aeab(0x14c)](),'env':Object[_0x51aeab(0x190)]({},process[_0x51aeab(0x135)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper[_0x51aeab(0x198)](_0x2b9035),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x16d)][_0x51aeab(0x11f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x4db6ba[_0x51aeab(0x1ae)][_0x51aeab(0x16d)][_0x51aeab(0x186)],'BROWSERSTACK_LOG_LEVEL':_0x4db6ba[_0x51aeab(0x1ae)]['logLevel']})}),_0x4e8b43=()=>{const _0x1dca64=_0x51aeab;try{const _0x320cf8=path[_0x1dca64(0x17a)](helper[_0x1dca64(0x19b)](),_0x2b51a7[_0x1dca64(0x158)],_0x2b51a7[_0x1dca64(0x124)]);if(fs[_0x1dca64(0x145)](_0x320cf8)){let _0x284db1=fs[_0x1dca64(0x123)](_0x320cf8);_0x284db1=JSON['parse'](_0x284db1),_0x4db6ba['errorMessage']=_0x284db1,fs['unlinkSync'](_0x320cf8);}}catch(_0x2c3e1a){logger['debug'](_0x2b51a7[_0x1dca64(0x1ad)](_0x2b51a7[_0x1dca64(0x19c)],_0x2c3e1a));}};_0x2e821a['on'](_0x2b51a7[_0x51aeab(0x18d)],async _0x4c4c9b=>{const _0x5bd46b=_0x51aeab;try{const _0x5849d3=_0x2b51a7['FSxGu'][_0x5bd46b(0x11d)]('|');let _0x11674c=0x0;while(!![]){switch(_0x5849d3[_0x11674c++]){case'0':await utilities[_0x5bd46b(0x127)](_0x4db6ba);continue;case'1':process[_0x5bd46b(0x197)]=_0x4c4c9b;continue;case'2':fs['unlinkSync'](_0x2b1923);continue;case'3':fs[_0x5bd46b(0x168)](_0x3e0e94);continue;case'4':_0x2b51a7[_0x5bd46b(0x181)](_0x4e8b43);continue;case'5':logger[_0x5bd46b(0x11a)](_0x5bd46b(0x13f)+_0x4c4c9b);continue;case'6':logger['debug'](_0x5bd46b(0x144)+_0x2b1923);continue;case'7':await TestHubHandler[_0x5bd46b(0x14e)]();continue;case'8':logger[_0x5bd46b(0x188)]('Deleting\x20'+_0x3e0e94);continue;}break;}}catch(_0x4bd9f3){logger[_0x5bd46b(0x11a)](_0x2b51a7[_0x5bd46b(0x1ad)](_0x2b51a7['lHsBn'],_0x4bd9f3));}});}module[a35_0x1af99a(0x122)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a36_0x199c7c=a36_0xd3da;(function(_0x18dfab,_0x1824fd){const _0x1b055e=a36_0xd3da,_0x46ecf4=_0x18dfab();while(!![]){try{const _0xdbacfc=-parseInt(_0x1b055e(0x204))/0x1*(-parseInt(_0x1b055e(0x1fb))/0x2)+parseInt(_0x1b055e(0x1d6))/0x3+-parseInt(_0x1b055e(0x1e1))/0x4+parseInt(_0x1b055e(0x202))/0x5*(-parseInt(_0x1b055e(0x1ed))/0x6)+-parseInt(_0x1b055e(0x1ea))/0x7*(parseInt(_0x1b055e(0x1e7))/0x8)+parseInt(_0x1b055e(0x207))/0x9*(-parseInt(_0x1b055e(0x1e3))/0xa)+parseInt(_0x1b055e(0x1fe))/0xb*(parseInt(_0x1b055e(0x1e4))/0xc);if(_0xdbacfc===_0x1824fd)break;else _0x46ecf4['push'](_0x46ecf4['shift']());}catch(_0xba6690){_0x46ecf4['push'](_0x46ecf4['shift']());}}}(a36_0x213d,0x5c3eb));const util=require(a36_0x199c7c(0x1dd)),child_process=require('child_process'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getFrameworkVersion,debug}=require('../../helpers/test-observability/utils'),helper=require(a36_0x199c7c(0x1fa)),{getLoadUtilsPath,getForkProcessPath}=require(a36_0x199c7c(0x1d9)),{mockIsWorkerRedundant}=require(a36_0x199c7c(0x1db)),logger=require(a36_0x199c7c(0x1e5))['winstonLogger'];function a36_0x213d(){const _0x13e799=['exports','dEULQ','Not\x20able\x20to\x20import\x20globalSetup','DhPgA','requirePWModule','includes','wTUDd','gtnYp','toString','\x20is\x20not\x20found','../../helpers/helper','2PXXUFi','env','BljVj','11792uhXUGi','./mock-process.js','Path\x20','LRGOd','1632520ybIvrc','apply','149761XnWwfI','format','config','81zhlFgU','1.33.0','767190wwXUHJ','MxOHx','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','./reporter/pwUtils','PLAYWRIGHT','./patches','debug','util','ZwEIk','function','isHandlePWErrorSet','2797660DXNTzl','Call\x20to\x20child\x20fork\x20with\x20args\x20','247720jyWyPi','25572CIASlt','../../helpers/logger','RPKxq','8lwQJIt','oESKU','jQYjM','5157019aLiiOd','resolve','xBEsq','12CxdDvL','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','Running\x20existing\x20global\x20setup'];a36_0x213d=function(){return _0x13e799;};return a36_0x213d();}function a36_0xd3da(_0xbeff68,_0x3e3b1c){const _0x213d98=a36_0x213d();return a36_0xd3da=function(_0xd3da97,_0x5e194c){_0xd3da97=_0xd3da97-0x1d6;let _0x35f078=_0x213d98[_0xd3da97];return _0x35f078;},a36_0xd3da(_0xbeff68,_0x3e3b1c);}module[a36_0x199c7c(0x1f0)]=async function(_0x20c4c4){const _0x591c19=a36_0x199c7c,_0x333bc9={'jQYjM':function(_0x1712ee,_0xb60043){return _0x1712ee(_0xb60043);},'wTUDd':function(_0x5bd3b6){return _0x5bd3b6();},'DhPgA':_0x591c19(0x1ff),'XPDxp':function(_0x5bab7d){return _0x5bab7d();},'BljVj':_0x591c19(0x1ef),'xBEsq':function(_0xde6c18){return _0xde6c18();},'oESKU':function(_0x166391,_0x1d48e0){return _0x166391>=_0x1d48e0;},'gtnYp':_0x591c19(0x208),'dEULQ':function(_0x35d0d9,_0xe6414d,_0x46c10d){return _0x35d0d9(_0xe6414d,_0x46c10d);},'MxOHx':function(_0xb27101,_0x59e869){return _0xb27101!==_0x59e869;},'LRGOd':_0x591c19(0x1df),'RPKxq':_0x591c19(0x1f2),'ZwEIk':function(_0x5191f4,_0x4ba230){return _0x5191f4(_0x4ba230);}},_0x3468e=child_process['fork'];if(helper[_0x591c19(0x1e0)]())try{_0x333bc9[_0x591c19(0x1f6)](mockIsWorkerRedundant);}catch(_0xd9aa36){logger[_0x591c19(0x1dc)]('Got\x20exception\x20while\x20mocking\x20isWorkerRedundant:\x20'+util[_0x591c19(0x205)](_0xd9aa36));}child_process['fork']=function(){const _0x368c05=_0x591c19;return _0x333bc9[_0x368c05(0x1e9)](debug,_0x368c05(0x1e2)+arguments[0x0]),arguments[0x0][_0x368c05(0x1f5)](_0x333bc9[_0x368c05(0x1f6)](getForkProcessPath))?arguments[0x0]=require[_0x368c05(0x1eb)](_0x333bc9[_0x368c05(0x1f3)]):logger['error'](_0x368c05(0x200)+_0x333bc9['XPDxp'](getForkProcessPath)+_0x368c05(0x1f9)),_0x3468e[_0x368c05(0x203)](null,arguments);};if(process['env']['BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP']){_0x333bc9[_0x591c19(0x1e9)](debug,_0x333bc9[_0x591c19(0x1fd)]);try{const {loadGlobalHook:_0xb3ce22}=helper[_0x591c19(0x1f4)]['apply'](null,_0x333bc9[_0x591c19(0x1ec)](getLoadUtilsPath)),_0x23e6a5=_0x333bc9[_0x591c19(0x1e9)](getFrameworkVersion,FRAMEWORKS[_0x591c19(0x1da)]);let _0xd5e62a=_0x20c4c4;if(_0x333bc9[_0x591c19(0x1e8)](helper['compareVersions'](_0x23e6a5,_0x333bc9[_0x591c19(0x1f7)]),0x0)){const _0x2d8f4d={};_0x2d8f4d[_0x591c19(0x206)]=_0x20c4c4,_0xd5e62a=_0x2d8f4d;}const _0x5d28a8=await _0x333bc9[_0x591c19(0x1f1)](_0xb3ce22,_0xd5e62a,process[_0x591c19(0x1fc)][_0x591c19(0x1ee)]);if(_0x333bc9[_0x591c19(0x1d7)](typeof _0x5d28a8,_0x333bc9[_0x591c19(0x201)]))throw new Error(_0x333bc9[_0x591c19(0x1e6)]);return _0x5d28a8[_0x591c19(0x203)](null,arguments);}catch(_0x59d10a){_0x333bc9[_0x591c19(0x1de)](debug,_0x591c19(0x1d8)+_0x59d10a[_0x591c19(0x1f8)]());}}};
|