browserstack-node-sdk 1.32.9 → 1.32.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a27_0x5a5bdf=a27_0x3dc8;(function(_0x57cdf2,_0x41d539){const _0x53ddac=a27_0x3dc8,_0x1c7a45=_0x57cdf2();while(!![]){try{const _0x439f30=-parseInt(_0x53ddac(0x12e))/0x1*(parseInt(_0x53ddac(0x119))/0x2)+-parseInt(_0x53ddac(0x11d))/0x3+-parseInt(_0x53ddac(0x180))/0x4+parseInt(_0x53ddac(0x137))/0x5+parseInt(_0x53ddac(0x144))/0x6+parseInt(_0x53ddac(0x155))/0x7*(-parseInt(_0x53ddac(0x13b))/0x8)+parseInt(_0x53ddac(0x146))/0x9;if(_0x439f30===_0x41d539)break;else _0x1c7a45['push'](_0x1c7a45['shift']());}catch(_0x3f04e0){_0x1c7a45['push'](_0x1c7a45['shift']());}}}(a27_0x2c87,0x3d72e));const logger=require(a27_0x5a5bdf(0x15c))[a27_0x5a5bdf(0x127)],helper=require(a27_0x5a5bdf(0x10f)),constants=require(a27_0x5a5bdf(0x16d)),hubAllocator=require('../../../hubAllocationMethods'),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x5a5bdf(0x110)),{setAccessibilityCapabilities,setExtension}=require(a27_0x5a5bdf(0x133)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require(a27_0x5a5bdf(0x15e)),globals=require(a27_0x5a5bdf(0x154)),modify=(_0x33c319,_0x5c88a7=null,_0xae2b72=![])=>{const _0x5caff9=a27_0x5a5bdf,_0x443e60={'Yuyoi':function(_0x43e847,_0x325974){return _0x43e847!==_0x325974;},'DzSdU':_0x5caff9(0x14e),'rsdFP':function(_0x14dff0,_0x5ae997){return _0x14dff0!==_0x5ae997;},'eBlgg':function(_0x3eb05a,_0x346a75){return _0x3eb05a+_0x346a75;},'rPMnX':function(_0x353357,_0x1a483d){return _0x353357+_0x1a483d;},'FRAEX':_0x5caff9(0x152),'UCqVp':_0x5caff9(0x131),'ROiKy':'goog:chromeOptions','jYipM':_0x5caff9(0x141),'prHck':_0x5caff9(0x10e),'roXVN':_0x5caff9(0x177),'xMSYu':_0x5caff9(0x148),'zieDp':_0x5caff9(0x164),'MJeKF':'safari.options','lqeRx':'se:ieOptions','VzaPY':_0x5caff9(0x13e),'bFlHg':function(_0x34d485,_0x40a7d3){return _0x34d485===_0x40a7d3;},'lEJAg':'object','PvkVH':_0x5caff9(0x11e),'iIzZt':_0x5caff9(0x11f),'ASecf':_0x5caff9(0x16a),'uODeD':function(_0xb38400,_0x18d1e5,_0x2466af){return _0xb38400(_0x18d1e5,_0x2466af);},'bPzLm':function(_0x101a6e,_0x1695aa){return _0x101a6e(_0x1695aa);},'GKhvs':function(_0x3f17a7,_0x18a26d,_0x3b452c){return _0x3f17a7(_0x18a26d,_0x3b452c);},'lweUw':function(_0xdb73e3,_0x10aaa3,_0x4634e6){return _0xdb73e3(_0x10aaa3,_0x4634e6);},'LvtPf':_0x5caff9(0x158),'hjYTm':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','PDdes':_0x5caff9(0x113),'tOPfV':function(_0x3c5c4c){return _0x3c5c4c();},'sTrkd':function(_0x371071,_0x4d1a26){return _0x371071(_0x4d1a26);},'xSMed':function(_0x44a923,_0x94ead9){return _0x44a923!==_0x94ead9;},'GDZNm':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','fPZQu':_0x5caff9(0x14d)},_0x421a6f=helper[_0x5caff9(0x11a)]();let _0x39bf3d;try{_0x39bf3d=helper[_0x5caff9(0x15b)](),_0x39bf3d['originalBuilder']&&(_0x39bf3d[_0x5caff9(0x17d)]=_0x39bf3d[_0x5caff9(0x163)]);}catch(_0x14251d){return;}if(helper[_0x5caff9(0x173)]()){const _0xf3abd0={};_0xf3abd0[_0x5caff9(0x13c)]=_0x33c319[_0x5caff9(0x122)],helper[_0x5caff9(0x174)](_0xf3abd0,new Map(),new Map()),logger[_0x5caff9(0x159)](_0x443e60['GDZNm']),logger[_0x5caff9(0x142)](_0x443e60[_0x5caff9(0x169)]);}class _0x935f66 extends _0x421a6f[_0x5caff9(0x15d)]{[_0x5caff9(0x145)](_0x126198){const _0x11133b=_0x5caff9;if(_0x443e60['Yuyoi'](_0x126198[_0x11133b(0x121)],_0x443e60[_0x11133b(0x126)])&&_0x443e60[_0x11133b(0x115)](global['newHubUrl'],''))try{global[_0x11133b(0x13f)]=_0x443e60[_0x11133b(0x156)](_0x443e60['rPMnX'](_0x443e60[_0x11133b(0x166)],global[_0x11133b(0x13f)]),_0x443e60['UCqVp']),this[_0x11133b(0x176)]=hubAllocator[_0x11133b(0x12d)](global[_0x11133b(0x13f)]),logger['debug'](_0x11133b(0x13a)+global[_0x11133b(0x13f)]),global[_0x11133b(0x13f)]='';}catch(_0x4c0d5c){logger[_0x11133b(0x130)](_0x4c0d5c);}return super['send'](_0x126198);}}class _0x4f1b1c extends _0x39bf3d[_0x5caff9(0x17d)]{['setServer'](){const _0x2fe40d=_0x5caff9;return this[_0x2fe40d(0x118)]=helper[_0x2fe40d(0x175)](_0x33c319),logger['debug']('Hub\x20url\x20set\x20to\x20'+this[_0x2fe40d(0x118)]),this;}[_0x5caff9(0x138)](_0x2d047a){const _0x54273a=_0x5caff9;let _0x1f0c38={};for(const _0x1a8770 in _0x2d047a){switch(_0x1a8770){case _0x443e60[_0x54273a(0x188)]:case _0x443e60['jYipM']:this['chromeOptions_']&&(_0x1f0c38=this[_0x54273a(0x157)][_0x54273a(0x15a)](this[_0x54273a(0x157)]['CAPABILITY_KEY'])||{},this['chromeOptions_'][_0x54273a(0x160)](this[_0x54273a(0x157)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x17f)]:case _0x443e60[_0x54273a(0x135)]:this['edgeOptions_']&&(_0x1f0c38=this['edgeOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x136)][_0x54273a(0x112)])||{},this[_0x54273a(0x136)][_0x54273a(0x160)](this[_0x54273a(0x136)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x183)]:case _0x443e60[_0x54273a(0x143)]:this[_0x54273a(0x15f)]&&(_0x1f0c38=this['firefoxOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x15f)][_0x54273a(0x112)])||{},this[_0x54273a(0x15f)][_0x54273a(0x160)](this[_0x54273a(0x15f)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x182)]:this[_0x54273a(0x128)]&&(_0x1f0c38=this['safariOptions_'][_0x54273a(0x15a)](this[_0x54273a(0x128)][_0x54273a(0x112)])||{},this[_0x54273a(0x128)][_0x54273a(0x160)](this[_0x54273a(0x128)]['CAPABILITY_KEY'],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;case _0x443e60[_0x54273a(0x12a)]:case _0x443e60[_0x54273a(0x17c)]:this[_0x54273a(0x161)]&&(_0x1f0c38=this[_0x54273a(0x161)][_0x54273a(0x15a)](this[_0x54273a(0x161)][_0x54273a(0x112)])||{},this['ieOptions_'][_0x54273a(0x160)](this[_0x54273a(0x161)][_0x54273a(0x112)],helper[_0x54273a(0x178)](_0x1f0c38,_0x2d047a[_0x1a8770])));break;}}}['setCapabilities'](){const _0x4801bc=_0x5caff9;return logger[_0x4801bc(0x142)](_0x443e60[_0x4801bc(0x140)]),this[_0x4801bc(0x138)](_0x33c319[_0x4801bc(0x14f)]),Object['keys'](_0x33c319[_0x4801bc(0x14f)])[_0x4801bc(0x179)](_0x363d28=>{const _0x2e4b9c=_0x4801bc,_0x33c4cf=this[_0x2e4b9c(0x12f)][_0x2e4b9c(0x15a)](_0x363d28);_0x443e60['bFlHg'](typeof _0x33c4cf,_0x443e60[_0x2e4b9c(0x17a)])?this[_0x2e4b9c(0x12f)]['set'](_0x363d28,helper[_0x2e4b9c(0x178)](_0x33c4cf,_0x33c319['capability'][_0x363d28])):this['capabilities_'][_0x2e4b9c(0x160)](_0x363d28,_0x33c319[_0x2e4b9c(0x14f)][_0x363d28]);}),this;}['build'](){const _0x5c9431=_0x5caff9,_0x8cd36c={'XrexS':function(_0x22e34c,_0x1428e2,_0x2e2e70){const _0x69eb8a=a27_0x3dc8;return _0x443e60[_0x69eb8a(0x12b)](_0x22e34c,_0x1428e2,_0x2e2e70);},'tlmvm':function(_0x328197,_0xd37db1,_0x2bccf3){return _0x443e60['lweUw'](_0x328197,_0xd37db1,_0x2bccf3);}};if(helper[_0x5c9431(0x173)]()){const _0x57026b=_0x443e60[_0x5c9431(0x14a)][_0x5c9431(0x151)]('|');let _0x3a8d0b=0x0;while(!![]){switch(_0x57026b[_0x3a8d0b++]){case'0':logger[_0x5c9431(0x142)](_0x443e60['hjYTm']);continue;case'1':globals[_0x5c9431(0x184)](_0x443e60[_0x5c9431(0x116)])&&(!_0x443e60[_0x5c9431(0x124)](setExtension,this,_0x33c319)&&globals[_0x5c9431(0x111)](_0x443e60[_0x5c9431(0x116)],![]));continue;case'2':this['setServer']();continue;case'3':this[_0x5c9431(0x17b)]();continue;case'4':_0x443e60[_0x5c9431(0x147)](isAccessibilityAutomationSession)&&_0x443e60[_0x5c9431(0x139)](setAccessibilityCapabilities,_0x33c319);continue;case'5':if(helper[_0x5c9431(0x181)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]))this[_0x5c9431(0x114)]=helper[_0x5c9431(0x12c)](_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)]);else _0x33c319[_0x5c9431(0x165)]['proxyUrl']&&(this['proxy_']=_0x33c319[_0x5c9431(0x165)][_0x5c9431(0x171)],logger[_0x5c9431(0x142)](_0x5c9431(0x162)+this['proxy_']));continue;}break;}}const _0x4fc88d=super[_0x5c9431(0x129)]();return _0x4fc88d[_0x5c9431(0x150)]['then'](_0x36fb4e=>{const _0x1f94aa=_0x5c9431;try{const _0x320c10=_0x36fb4e[_0x1f94aa(0x117)][_0x1f94aa(0x15a)](_0x443e60[_0x1f94aa(0x16b)]);_0x320c10?(logger[_0x1f94aa(0x142)](_0x1f94aa(0x168)+_0x320c10),hubAllocator[_0x1f94aa(0x185)](_0x320c10),helper[_0x1f94aa(0x125)](_0x320c10)):logger[_0x1f94aa(0x142)](_0x443e60[_0x1f94aa(0x11b)]);}catch(_0x310c39){logger[_0x1f94aa(0x142)](_0x1f94aa(0x16e)+_0x310c39);}}),_0x4fc88d[_0x5c9431(0x149)]=0x0,_0x4fc88d['then']&&_0x4fc88d['then'](_0x2a0e90=>{const _0x4dd856=_0x5c9431,_0x42468d={'sEPAS':function(_0x27b45f,_0x4e741b,_0x3330a3){const _0x3c6838=a27_0x3dc8;return _0x443e60[_0x3c6838(0x12b)](_0x27b45f,_0x4e741b,_0x3330a3);}};_0x443e60['uODeD'](overrideQuit,_0x2a0e90,_0x4fc88d),_0x443e60[_0x4dd856(0x139)](overrideTakeScreenshot,_0x2a0e90),helper[_0x4dd856(0x120)](_0x2a0e90,_0x33c319),helper[_0x4dd856(0x17e)](_0x2a0e90,_0x33c319),_0x2a0e90[_0x4dd856(0x172)]=async()=>{const _0x52760d=_0x4dd856;return await _0x8cd36c[_0x52760d(0x14b)](getAccessibilityResultsSummary,_0x2a0e90,global);},_0x2a0e90['getAccessibilityResults']=async()=>{const _0x508966=_0x4dd856;return await _0x42468d[_0x508966(0x16f)](getAccessibilityResults,_0x2a0e90,global);};}),_0x4fc88d[_0x5c9431(0x172)]=async()=>{const _0x191c9b=_0x5c9431;return await _0x8cd36c[_0x191c9b(0x167)](getAccessibilityResultsSummary,_0x4fc88d,global);},_0x4fc88d[_0x5c9431(0x153)]=async()=>{const _0x59d192=_0x5c9431;return await _0x443e60[_0x59d192(0x11c)](getAccessibilityResults,_0x4fc88d,global);},_0x443e60[_0x5c9431(0x139)](overrideTakeScreenshot,_0x4fc88d),_0x443e60['sTrkd'](overrideQuit,_0x4fc88d),helper[_0x5c9431(0x120)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x17e)](_0x4fc88d,_0x33c319),helper[_0x5c9431(0x132)](global[_0x5c9431(0x16c)])&&(global[_0x5c9431(0x16c)]=[]),helper[_0x5c9431(0x132)](global['__drivers'])&&(global[_0x5c9431(0x186)]=[]),global['__driversArray'][_0x5c9431(0x123)](_0x4fc88d),global[_0x5c9431(0x187)]=_0x4fc88d,_0x443e60[_0x5c9431(0x170)](global[_0x5c9431(0x186)],undefined)&&global[_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7&&helper['isUndefined'](_0x5c88a7['global'][_0x5c9431(0x16c)])&&(_0x5c88a7[_0x5c9431(0x134)]['__driversArray']=[]),_0x5c88a7&&_0x443e60[_0x5c9431(0x13d)](_0x5c88a7[_0x5c9431(0x134)]['__drivers'],undefined)&&(_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x186)][_0x5c9431(0x123)](_0x4fc88d),_0x5c88a7[_0x5c9431(0x134)][_0x5c9431(0x16c)]['push'](_0x4fc88d)),_0x4fc88d;}}return _0x39bf3d['originalBuilder']=_0x39bf3d['Builder'],_0x39bf3d['Builder']=_0x4f1b1c,_0x421a6f[_0x5caff9(0x15d)]=_0x935f66,_0x39bf3d;};function a27_0x3dc8(_0x127050,_0x1226a5){const _0x2c87a7=a27_0x2c87();return a27_0x3dc8=function(_0x3dc85e,_0x2d3bd8){_0x3dc85e=_0x3dc85e-0x10e;let _0x1004d8=_0x2c87a7[_0x3dc85e];return _0x1004d8;},a27_0x3dc8(_0x127050,_0x1226a5);}function a27_0x2c87(){const _0x5b4cc5=['64QnxQoU','logLevel','xSMed','ieOptions','newHubUrl','PvkVH','chromeOptions','debug','zieDp','2121288FdOmBI','send','3962313YcNsXJ','tOPfV','moz:firefoxOptions','quitCount_','LvtPf','XrexS','browserstackAgentObservability','Modifying\x20webdriver\x20builder','/session','capability','session_','split','https://','getAccessibilityResults','../../../helpers/globals','165368BZZJhF','eBlgg','chromeOptions_','4|2|3|5|1|0','info','get','requireSeleniumWebdriver','../../../helpers/logger','HttpClient','../../../helpers/accessibility-automation/helper','firefoxOptions_','set','ieOptions_','Proxy\x20set\x20to\x20','originalBuilder','firefoxOptions','proxySettings','FRAEX','tlmvm','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','fPZQu','OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','iIzZt','__driversArray','../../../bin/utils/constants','ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20','sEPAS','Yuyoi','proxyUrl','getAccessibilityResultsSummary','isBrowserstackInfra','setLogLevel','getHubUrl','options_','edgeOptions','mergeDeep','forEach','lEJAg','setCapabilities','VzaPY','Builder','overrideExecute','prHck','850224zdQxJJ','isPacProxy','MJeKF','xMSYu','getGlobal','updateHubUrl','__drivers','__driver','ROiKy','ms:edgeOptions','../../../helpers/helper','../../../helpers/patchHelpers','setGlobal','CAPABILITY_KEY','isAccessibilityPlatform','agent_','rsdFP','PDdes','caps_','url_','82rttYfz','requireHttpClient','ASecf','GKhvs','164178eIfiTJ','Setting\x20Browserstack\x20capabilities','optimalHubUrl','overrideGet','path','browserStackLogLevel','push','lweUw','storeOptimalHubUrl','DzSdU','winstonLogger','safariOptions_','build','lqeRx','uODeD','getHttpAgent','getRequestOptions','6986JyXvKX','capabilities_','error','/wd/hub','isUndefined','../accessibility-automation/helper','global','roXVN','edgeOptions_','1002945zyAmbo','__setBrowserOptions','bPzLm','New\x20hub\x20url\x20set\x20to\x20'];a27_0x2c87=function(){return _0x5b4cc5;};return a27_0x2c87();}module['exports'][a27_0x5a5bdf(0x14c)]=modify;
|
|
1
|
+
function a27_0x2124(){const _0x56640d=['35chycAI','vfCVy','keys','Zunft','logLevel','requireSeleniumWebdriver','cvkAP','dzLej','edgeOptions','capability','NnEnL','proxy_','proxyUrl','safari.options','ieOptions_','quitCount_','getAccessibilityResults','setServer','overrideExecute','__driver','qauNl','getAccessibilityResultsSummary','../accessibility-automation/helper','MZcZx','ReJNM','SoYSX','optimalHubUrl','firefoxOptions','setLogLevel','edgeOptions_','nVHwR','session_','__drivers','isUndefined','612870xeskAe','getGlobal','goog:chromeOptions','newHubUrl','/wd/hub','info','bMiVc','getHubUrl','11633823eDHQCj','requireHttpClient','FsuBz','TkolC','set','__setBrowserOptions','global','SETTING\x20NEW\x20URL\x20TO\x20OPTIMAL\x20URL\x20-\x20','afntk','OOACT','2434624ggZvlO','agent_','exports','debug','safariOptions_','tqHqc','build','420768pQEsgw','AfKTW','winstonLogger','Hub\x20url\x20set\x20to\x20','gWfDM','32685RGsieo','url_','../../../helpers/patchHelpers','capabilities_','CHmFJ','proxySettings','Modifying\x20webdriver\x20builder','send','overrideGet','then','firefoxOptions_','ms:edgeOptions','qvRPY','chromeOptions_','../../../hubAllocationMethods','86NpKmhH','csPjj','4592976QdzTeH','vUwvt','get','path','getHttpAgent','push','browserstackAgentObservability','KXkAC','https://','isAccessibilityPlatform','__driversArray','zRHMf','error','ugoNH','CFusA','forEach','browserStackLogLevel','VQsOQ','NRJeN','storeOptimalHubUrl','New\x20hub\x20url\x20set\x20to\x20','getRequestOptions','3042405OpywkR','updateHubUrl','setCapabilities','mergeDeep','HttpClient','CAPABILITY_KEY','DBtyN','mjotU','Builder','ieOptions','isBrowserstackInfra','originalBuilder'];a27_0x2124=function(){return _0x56640d;};return a27_0x2124();}const a27_0x59837e=a27_0x50a3;(function(_0x335c7f,_0x3540a5){const _0xd904e5=a27_0x50a3,_0x5cce9f=_0x335c7f();while(!![]){try{const _0x20c811=parseInt(_0xd904e5(0x1c9))/0x1+-parseInt(_0xd904e5(0x1dd))/0x2*(parseInt(_0xd904e5(0x1ce))/0x3)+parseInt(_0xd904e5(0x1df))/0x4+parseInt(_0xd904e5(0x1f5))/0x5+-parseInt(_0xd904e5(0x1b0))/0x6*(-parseInt(_0xd904e5(0x201))/0x7)+-parseInt(_0xd904e5(0x1c2))/0x8+-parseInt(_0xd904e5(0x1b8))/0x9;if(_0x20c811===_0x3540a5)break;else _0x5cce9f['push'](_0x5cce9f['shift']());}catch(_0x2248c4){_0x5cce9f['push'](_0x5cce9f['shift']());}}}(a27_0x2124,0x980a6));function a27_0x50a3(_0x603475,_0x35264d){const _0x2124b2=a27_0x2124();return a27_0x50a3=function(_0x50a39d,_0x55cd42){_0x50a39d=_0x50a39d-0x194;let _0x15a424=_0x2124b2[_0x50a39d];return _0x15a424;},a27_0x50a3(_0x603475,_0x35264d);}const logger=require('../../../helpers/logger')[a27_0x59837e(0x1cb)],helper=require('../../../helpers/helper'),constants=require('../../../bin/utils/constants'),hubAllocator=require(a27_0x59837e(0x1dc)),{overrideQuit,overrideTakeScreenshot,overrideGet}=require(a27_0x59837e(0x1d0)),{setAccessibilityCapabilities,setExtension}=require(a27_0x59837e(0x1a4)),{isAccessibilityAutomationSession,getAccessibilityResultsSummary,getAccessibilityResults}=require('../../../helpers/accessibility-automation/helper'),globals=require('../../../helpers/globals'),modify=(_0x23cdbe,_0x1fe68b=null,_0x2b1e71=![])=>{const _0x39e3b5=a27_0x59837e,_0x56eac1={'dzLej':function(_0x5f2844,_0x1bf4d7){return _0x5f2844!==_0x1bf4d7;},'PfhoW':'/session','CFusA':function(_0x39f99e,_0x4867cf){return _0x39f99e!==_0x4867cf;},'DBtyN':function(_0x337cdf,_0x39b4c3){return _0x337cdf+_0x39b4c3;},'vfCVy':_0x39e3b5(0x1e7),'ugoNH':_0x39e3b5(0x1b4),'GCuRN':_0x39e3b5(0x1b2),'OOACT':'chromeOptions','mLJxw':_0x39e3b5(0x1d9),'zRHMf':_0x39e3b5(0x196),'FsuBz':'moz:firefoxOptions','kAwBx':_0x39e3b5(0x1a9),'MZcZx':_0x39e3b5(0x19b),'fQcwk':'se:ieOptions','nVHwR':_0x39e3b5(0x1fe),'afntk':function(_0x5c1344,_0x47a68e){return _0x5c1344===_0x47a68e;},'AfKTW':'object','bMiVc':'Setting\x20Browserstack\x20capabilities','qvRPY':_0x39e3b5(0x1a8),'NnEnL':'OPTIMAL\x20HUB\x20URL\x20NOT\x20FOUND','tqHqc':function(_0x49d461,_0x1f5b59,_0x1115d5){return _0x49d461(_0x1f5b59,_0x1115d5);},'gWfDM':function(_0x568fa6,_0x2fa965,_0x27a113){return _0x568fa6(_0x2fa965,_0x27a113);},'Zunft':function(_0x27256f,_0x23db3b){return _0x27256f(_0x23db3b);},'aRXRS':'3|5|2|1|0|4','VQsOQ':_0x39e3b5(0x1e8),'bVQXV':function(_0x55cc80){return _0x55cc80();},'KXkAC':function(_0x546284,_0x2ac979){return _0x546284(_0x2ac979);},'mjotU':'Running\x20your\x20test\x20suite\x20on\x20BrowserStack','ICxCA':function(_0x39e1c7,_0x2f84ca){return _0x39e1c7(_0x2f84ca);},'NRJeN':function(_0x71d70b,_0x5049c8){return _0x71d70b!==_0x5049c8;},'vUwvt':'Configuring\x20to\x20run\x20tests\x20on\x20BrowserStack','SoYSX':_0x39e3b5(0x1d4)},_0x354a42=helper[_0x39e3b5(0x1b9)]();let _0xbdcfda;try{_0xbdcfda=helper[_0x39e3b5(0x206)](),_0xbdcfda[_0x39e3b5(0x200)]&&(_0xbdcfda[_0x39e3b5(0x1fd)]=_0xbdcfda[_0x39e3b5(0x200)]);}catch(_0x481ff0){return;}if(helper[_0x39e3b5(0x1ff)]()){const _0x1125d4={};_0x1125d4[_0x39e3b5(0x205)]=_0x23cdbe[_0x39e3b5(0x1ef)],helper[_0x39e3b5(0x1aa)](_0x1125d4,new Map(),new Map()),logger[_0x39e3b5(0x1b5)](_0x56eac1[_0x39e3b5(0x1e0)]),logger[_0x39e3b5(0x1c5)](_0x56eac1[_0x39e3b5(0x1a7)]);}class _0x14b8ef extends _0x354a42[_0x39e3b5(0x1f9)]{[_0x39e3b5(0x1d5)](_0x16c97c){const _0x250ae4=_0x39e3b5;if(_0x56eac1[_0x250ae4(0x195)](_0x16c97c[_0x250ae4(0x1e2)],_0x56eac1['PfhoW'])&&_0x56eac1[_0x250ae4(0x1ed)](global[_0x250ae4(0x1b3)],''))try{global[_0x250ae4(0x1b3)]=_0x56eac1['DBtyN'](_0x56eac1[_0x250ae4(0x1fb)](_0x56eac1[_0x250ae4(0x202)],global[_0x250ae4(0x1b3)]),_0x56eac1[_0x250ae4(0x1ec)]),this['options_']=hubAllocator[_0x250ae4(0x1f4)](global['newHubUrl']),logger[_0x250ae4(0x1c5)](_0x250ae4(0x1f3)+global[_0x250ae4(0x1b3)]),global[_0x250ae4(0x1b3)]='';}catch(_0xe00e84){logger[_0x250ae4(0x1eb)](_0xe00e84);}return super[_0x250ae4(0x1d5)](_0x16c97c);}}class _0x24b4fb extends _0xbdcfda[_0x39e3b5(0x1fd)]{[_0x39e3b5(0x19f)](){const _0x27b9bb=_0x39e3b5;return this[_0x27b9bb(0x1cf)]=helper[_0x27b9bb(0x1b7)](_0x23cdbe),logger[_0x27b9bb(0x1c5)](_0x27b9bb(0x1cc)+this['url_']),this;}[_0x39e3b5(0x1bd)](_0x510b64){const _0x31a8af=_0x39e3b5;let _0x23a605={};for(const _0x5920c3 in _0x510b64){switch(_0x5920c3){case _0x56eac1['GCuRN']:case _0x56eac1[_0x31a8af(0x1c1)]:this['chromeOptions_']&&(_0x23a605=this[_0x31a8af(0x1db)][_0x31a8af(0x1e1)](this[_0x31a8af(0x1db)][_0x31a8af(0x1fa)])||{},this['chromeOptions_'][_0x31a8af(0x1bc)](this[_0x31a8af(0x1db)][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1['mLJxw']:case _0x56eac1[_0x31a8af(0x1ea)]:this[_0x31a8af(0x1ab)]&&(_0x23a605=this[_0x31a8af(0x1ab)]['get'](this[_0x31a8af(0x1ab)][_0x31a8af(0x1fa)])||{},this['edgeOptions_'][_0x31a8af(0x1bc)](this[_0x31a8af(0x1ab)][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1[_0x31a8af(0x1ba)]:case _0x56eac1['kAwBx']:this[_0x31a8af(0x1d8)]&&(_0x23a605=this[_0x31a8af(0x1d8)][_0x31a8af(0x1e1)](this[_0x31a8af(0x1d8)][_0x31a8af(0x1fa)])||{},this[_0x31a8af(0x1d8)][_0x31a8af(0x1bc)](this['firefoxOptions_'][_0x31a8af(0x1fa)],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1[_0x31a8af(0x1a5)]:this['safariOptions_']&&(_0x23a605=this['safariOptions_']['get'](this[_0x31a8af(0x1c6)][_0x31a8af(0x1fa)])||{},this[_0x31a8af(0x1c6)][_0x31a8af(0x1bc)](this[_0x31a8af(0x1c6)]['CAPABILITY_KEY'],helper['mergeDeep'](_0x23a605,_0x510b64[_0x5920c3])));break;case _0x56eac1['fQcwk']:case _0x56eac1[_0x31a8af(0x1ac)]:this['ieOptions_']&&(_0x23a605=this[_0x31a8af(0x19c)][_0x31a8af(0x1e1)](this[_0x31a8af(0x19c)]['CAPABILITY_KEY'])||{},this[_0x31a8af(0x19c)][_0x31a8af(0x1bc)](this[_0x31a8af(0x19c)]['CAPABILITY_KEY'],helper[_0x31a8af(0x1f8)](_0x23a605,_0x510b64[_0x5920c3])));break;}}}['setCapabilities'](){const _0xce6291=_0x39e3b5,_0x5dde54={'qauNl':function(_0x4923e6,_0x36822f){const _0x1a50bf=a27_0x50a3;return _0x56eac1[_0x1a50bf(0x1c0)](_0x4923e6,_0x36822f);},'CHmFJ':_0x56eac1[_0xce6291(0x1ca)]};return logger['debug'](_0x56eac1[_0xce6291(0x1b6)]),this['__setBrowserOptions'](_0x23cdbe['capability']),Object[_0xce6291(0x203)](_0x23cdbe[_0xce6291(0x197)])[_0xce6291(0x1ee)](_0x2e7982=>{const _0x2e367d=_0xce6291,_0x3f78d9=this[_0x2e367d(0x1d1)][_0x2e367d(0x1e1)](_0x2e7982);_0x5dde54[_0x2e367d(0x1a2)](typeof _0x3f78d9,_0x5dde54[_0x2e367d(0x1d2)])?this['capabilities_'][_0x2e367d(0x1bc)](_0x2e7982,helper[_0x2e367d(0x1f8)](_0x3f78d9,_0x23cdbe[_0x2e367d(0x197)][_0x2e7982])):this[_0x2e367d(0x1d1)]['set'](_0x2e7982,_0x23cdbe[_0x2e367d(0x197)][_0x2e7982]);}),this;}[_0x39e3b5(0x1c8)](){const _0x3874c5=_0x39e3b5,_0x548ee2={'csPjj':function(_0x1d474b,_0x59ea09,_0x751694){const _0x470572=a27_0x50a3;return _0x56eac1[_0x470572(0x1cd)](_0x1d474b,_0x59ea09,_0x751694);},'cvkAP':function(_0x44e03e,_0x3dbb84,_0x316221){return _0x56eac1['tqHqc'](_0x44e03e,_0x3dbb84,_0x316221);}};if(helper[_0x3874c5(0x1ff)]()){const _0x4c7bd6=_0x56eac1['aRXRS']['split']('|');let _0x36f58d=0x0;while(!![]){switch(_0x4c7bd6[_0x36f58d++]){case'0':globals[_0x3874c5(0x1b1)](_0x56eac1[_0x3874c5(0x1f0)])&&(!_0x56eac1['gWfDM'](setExtension,this,_0x23cdbe)&&globals['setGlobal'](_0x56eac1[_0x3874c5(0x1f0)],![]));continue;case'1':if(helper['isPacProxy'](_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]))this[_0x3874c5(0x1c3)]=helper[_0x3874c5(0x1e3)](_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]);else _0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)]&&(this[_0x3874c5(0x199)]=_0x23cdbe[_0x3874c5(0x1d3)][_0x3874c5(0x19a)],logger[_0x3874c5(0x1c5)]('Proxy\x20set\x20to\x20'+this[_0x3874c5(0x199)]));continue;case'2':this[_0x3874c5(0x1f7)]();continue;case'3':_0x56eac1['bVQXV'](isAccessibilityAutomationSession)&&_0x56eac1[_0x3874c5(0x1e6)](setAccessibilityCapabilities,_0x23cdbe);continue;case'4':logger[_0x3874c5(0x1c5)](_0x56eac1[_0x3874c5(0x1fc)]);continue;case'5':this[_0x3874c5(0x19f)]();continue;}break;}}const _0x42b190=super[_0x3874c5(0x1c8)]();return _0x42b190[_0x3874c5(0x1ad)][_0x3874c5(0x1d7)](_0x1949bc=>{const _0xe5c4e2=_0x3874c5;try{const _0x411c09=_0x1949bc['caps_'][_0xe5c4e2(0x1e1)](_0x56eac1[_0xe5c4e2(0x1da)]);_0x411c09?(logger[_0xe5c4e2(0x1c5)](_0xe5c4e2(0x1bf)+_0x411c09),hubAllocator[_0xe5c4e2(0x1f6)](_0x411c09),helper[_0xe5c4e2(0x1f2)](_0x411c09)):logger[_0xe5c4e2(0x1c5)](_0x56eac1[_0xe5c4e2(0x198)]);}catch(_0x584b88){logger[_0xe5c4e2(0x1c5)]('ERROR\x20IN\x20GETTING\x20OPTIMAL\x20HUB\x20URL\x20-\x20'+_0x584b88);}}),_0x42b190[_0x3874c5(0x19d)]=0x0,_0x42b190['then']&&_0x42b190[_0x3874c5(0x1d7)](_0x258750=>{const _0x338a76=_0x3874c5,_0x38e8d3={'ReJNM':function(_0x256158,_0x3939f6,_0x5820d5){return _0x56eac1['tqHqc'](_0x256158,_0x3939f6,_0x5820d5);},'TkolC':function(_0x3a03a6,_0x15fde7,_0x55a386){const _0x1bcb9f=a27_0x50a3;return _0x56eac1[_0x1bcb9f(0x1c7)](_0x3a03a6,_0x15fde7,_0x55a386);}};_0x56eac1[_0x338a76(0x1cd)](overrideQuit,_0x258750,_0x42b190),_0x56eac1[_0x338a76(0x204)](overrideTakeScreenshot,_0x258750),helper[_0x338a76(0x1d6)](_0x258750,_0x23cdbe),helper[_0x338a76(0x1a0)](_0x258750,_0x23cdbe),_0x258750[_0x338a76(0x1a3)]=async()=>{const _0x10e1d2=_0x338a76;return await _0x38e8d3[_0x10e1d2(0x1a6)](getAccessibilityResultsSummary,_0x258750,global);},_0x258750[_0x338a76(0x19e)]=async()=>{const _0x420c19=_0x338a76;return await _0x38e8d3[_0x420c19(0x1bb)](getAccessibilityResults,_0x258750,global);};}),_0x42b190[_0x3874c5(0x1a3)]=async()=>{const _0x76ae2c=_0x3874c5;return await _0x548ee2[_0x76ae2c(0x1de)](getAccessibilityResultsSummary,_0x42b190,global);},_0x42b190[_0x3874c5(0x19e)]=async()=>{const _0x4fc882=_0x3874c5;return await _0x548ee2[_0x4fc882(0x194)](getAccessibilityResults,_0x42b190,global);},_0x56eac1['ICxCA'](overrideTakeScreenshot,_0x42b190),_0x56eac1[_0x3874c5(0x1e6)](overrideQuit,_0x42b190),helper[_0x3874c5(0x1d6)](_0x42b190,_0x23cdbe),helper[_0x3874c5(0x1a0)](_0x42b190,_0x23cdbe),helper[_0x3874c5(0x1af)](global[_0x3874c5(0x1e9)])&&(global[_0x3874c5(0x1e9)]=[]),helper[_0x3874c5(0x1af)](global[_0x3874c5(0x1ae)])&&(global[_0x3874c5(0x1ae)]=[]),global[_0x3874c5(0x1e9)][_0x3874c5(0x1e4)](_0x42b190),global[_0x3874c5(0x1a1)]=_0x42b190,_0x56eac1['CFusA'](global['__drivers'],undefined)&&global[_0x3874c5(0x1ae)][_0x3874c5(0x1e4)](_0x42b190),_0x1fe68b&&helper[_0x3874c5(0x1af)](_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1e9)])&&(_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1e9)]=[]),_0x1fe68b&&_0x56eac1[_0x3874c5(0x1f1)](_0x1fe68b[_0x3874c5(0x1be)][_0x3874c5(0x1ae)],undefined)&&(_0x1fe68b[_0x3874c5(0x1be)]['__drivers'][_0x3874c5(0x1e4)](_0x42b190),_0x1fe68b[_0x3874c5(0x1be)]['__driversArray']['push'](_0x42b190)),_0x42b190;}}return _0xbdcfda[_0x39e3b5(0x200)]=_0xbdcfda[_0x39e3b5(0x1fd)],_0xbdcfda['Builder']=_0x24b4fb,_0x354a42['HttpClient']=_0x14b8ef,_0xbdcfda;};module[a27_0x59837e(0x1c4)][a27_0x59837e(0x1e5)]=modify;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a28_0x3a278c=a28_0x4384;function a28_0x4384(_0x2032b0,_0xf2df9c){const _0x4fca97=a28_0x4fca();return a28_0x4384=function(_0x4384ae,_0x3ea7f5){_0x4384ae=_0x4384ae-0xb2;let _0x53109c=_0x4fca97[_0x4384ae];return _0x53109c;},a28_0x4384(_0x2032b0,_0xf2df9c);}(function(_0x53b0c7,_0x1ee8ec){const _0x3eb7f5=a28_0x4384,_0x1c3b5b=_0x53b0c7();while(!![]){try{const _0x29b57e=parseInt(_0x3eb7f5(0xbc))/0x1+parseInt(_0x3eb7f5(0xba))/0x2+-parseInt(_0x3eb7f5(0xb3))/0x3+parseInt(_0x3eb7f5(0xb4))/0x4+-parseInt(_0x3eb7f5(0xb2))/0x5*(-parseInt(_0x3eb7f5(0xb7))/0x6)+parseInt(_0x3eb7f5(0xbd))/0x7+-parseInt(_0x3eb7f5(0xb9))/0x8;if(_0x29b57e===_0x1ee8ec)break;else _0x1c3b5b['push'](_0x1c3b5b['shift']());}catch(_0x54b2a0){_0x1c3b5b['push'](_0x1c3b5b['shift']());}}}(a28_0x4fca,0x57a8a));const requestSpy=require(a28_0x3a278c(0xb8)),constants=require('../../../bin/utils/constants'),{addRequestSpy}=require(a28_0x3a278c(0xbe));exports[a28_0x3a278c(0xb6)]={'beforeAll'(){const _0x390286={'Zinvg':function(_0x29884f){return _0x29884f();}},_0x48ed9e='browserstack internal helper hook';_0x390286['Zinvg'](addRequestSpy);},'afterAll'(){const _0x40d054=a28_0x3a278c,_0x2685f1='browserstack internal helper hook';this[_0x40d054(0xbb)](0xea60),requestSpy[_0x40d054(0xb5)]();}};function a28_0x4fca(){const _0x49ac18=['1531504aVnzeW','307312cBQDMo','timeout','565197euKJwu','368452mlXFCb','../../../helpers/test-observability/utils','1708980ISGNTm','1843842GGVNyM','207268CKVgun','restore','mochaHooks','6qBeVZR','../../../helpers/request-spy'];a28_0x4fca=function(){return _0x49ac18;};return a28_0x4fca();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a29_0x455c67=a29_0x38e2;function a29_0x41b3(){const _0x505e7e=['parent','passed','getHooksForTest','forEach','swiez','toJSON','sendPlatformDetails','rLeGf','string','bs:addPlatformDetails:','../../../helpers/test-observability/constants','QUnBA','getCapabilities','5872650DIlIQG','enUIq','_beforeEach','yzjKI','../../utils/logReportingAPI','getSession','nnyVb','pending','AFufK','generic','type','fromEntries','WwpTP','getTestEnv','markedStatus','IXBAL','igPVa','GqRKo','mapTestHooks','6960856zocbbk','_beforeAll','map_','substring','split','_afterAll','Hgffm','getHookDetails','state','hook','tLrlJ','unknown_grid','5264880haTfUZ','uuid','push','getHookSkippedTests','4380414pvRevD','221849LsfNxr','Rxdju','appium:app','GYykK','BZdkU','kgFWg','browserstack','../../../helpers/test-observability/utils','bpFfa','RnsMG','PxmFv','indexOf','1806pmwpWW','1186990zDnfDV','concat','tLarz','5290ieHoTH','../../utils/logPatcher','../../../../package.json','getPlatform','_afterEach','slice','automate','tests','18qRIxrx','reduce','GRfWj','EPSPS','__cloud_provider___','pid','js-','hookAnalyticsId','FPIOI','rlyUU','ElIcb'];a29_0x41b3=function(){return _0x505e7e;};return a29_0x41b3();}(function(_0x161adf,_0x5b905a){const _0x21d47a=a29_0x38e2,_0xd93c78=_0x161adf();while(!![]){try{const _0x2fa139=-parseInt(_0x21d47a(0x1d1))/0x1+-parseInt(_0x21d47a(0x1e1))/0x2*(parseInt(_0x21d47a(0x1dd))/0x3)+parseInt(_0x21d47a(0x1cc))/0x4+-parseInt(_0x21d47a(0x1de))/0x5+parseInt(_0x21d47a(0x1d0))/0x6+-parseInt(_0x21d47a(0x201))/0x7+parseInt(_0x21d47a(0x214))/0x8*(parseInt(_0x21d47a(0x1e9))/0x9);if(_0x2fa139===_0x5b905a)break;else _0xd93c78['push'](_0xd93c78['shift']());}catch(_0x52bbda){_0xd93c78['push'](_0xd93c78['shift']());}}}(a29_0x41b3,0xdac10));const {v4:uuidv4}=require(a29_0x455c67(0x1cd)),{name,version}=require(a29_0x455c67(0x1e3)),logPatcher=require(a29_0x455c67(0x1e2)),BSTestOpsPatcher=new logPatcher({}),logReportingAPI=require(a29_0x455c67(0x205)),BSTestOpsLogger=new logReportingAPI({}),{debug,isTestObservabilitySession,isInternalHook}=require(a29_0x455c67(0x1d8)),{consoleHolder}=require(a29_0x455c67(0x1fe)),{getPlatformVersion}=require('../../../helpers/helper');function a29_0x38e2(_0x22c453,_0x2d2873){const _0x41b3aa=a29_0x41b3();return a29_0x38e2=function(_0x38e252,_0x14c648){_0x38e252=_0x38e252-0x1c2;let _0x221758=_0x41b3aa[_0x38e252];return _0x221758;},a29_0x38e2(_0x22c453,_0x2d2873);}console={},Object['keys'](consoleHolder)[a29_0x455c67(0x1f7)](_0x17efb8=>{console[_0x17efb8]=(..._0x5db5d7)=>{BSTestOpsPatcher[_0x17efb8](..._0x5db5d7);};}),exports[a29_0x455c67(0x20e)]=()=>{const _0x22a61a=a29_0x455c67,_0x3b7f5e={'JjfMT':_0x22a61a(0x20a),'MNFSx':function(_0x127d28){return _0x127d28();}};return{'ci':_0x3b7f5e['JjfMT'],'key':_0x3b7f5e['MNFSx'](uuidv4),'version':version,'collector':_0x22a61a(0x1ef)+name};},exports[a29_0x455c67(0x1c7)]=_0x231e39=>{const _0x17f3a1=a29_0x455c67,_0x467e2f={};_0x467e2f[_0x17f3a1(0x1e0)]=function(_0xddaf7f,_0xdd2d48){return _0xddaf7f!==_0xdd2d48;},_0x467e2f[_0x17f3a1(0x1d6)]=_0x17f3a1(0x1fc),_0x467e2f[_0x17f3a1(0x1c6)]='hook:',_0x467e2f[_0x17f3a1(0x1f2)]=function(_0x48e5a0,_0x124077){return _0x48e5a0!==_0x124077;},_0x467e2f['EPSPS']=_0x17f3a1(0x1c9);const _0x4ee681=_0x467e2f;if(!_0x231e39||_0x4ee681[_0x17f3a1(0x1e0)](typeof _0x231e39,_0x4ee681[_0x17f3a1(0x1d6)]))return[null,null];if(_0x4ee681[_0x17f3a1(0x1e0)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681['Hgffm']),-0x1)){const _0x1d978d=_0x231e39[_0x17f3a1(0x1c4)](_0x4ee681['Hgffm']);return[_0x1d978d[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)[_0x17f3a1(0x1c4)]('\x22')[0x1],_0x1d978d[0x1][_0x17f3a1(0x1c3)](0x1)];}else{if(_0x4ee681[_0x17f3a1(0x1f2)](_0x231e39[_0x17f3a1(0x1dc)](_0x4ee681[_0x17f3a1(0x1ec)]),-0x1)){const _0x3aff22=_0x231e39['split'](_0x4ee681['EPSPS']);return[_0x3aff22[0x0][_0x17f3a1(0x1e6)](0x0,-0x1)['split']('\x22')[0x1],_0x231e39];}}return[null,null];},exports[a29_0x455c67(0x1f6)]=_0x3750a8=>{const _0x42419d=a29_0x455c67,_0x627f75={'PxmFv':function(_0x1c2142,_0x555477){return _0x1c2142(_0x555477);},'DdowZ':'_beforeAll','yzjKI':_0x42419d(0x1c5),'Rxdju':_0x42419d(0x203),'UeweZ':_0x42419d(0x1e5)};if(!_0x3750a8||!_0x3750a8[_0x42419d(0x1f4)])return[];const _0x40372b=[];return[_0x627f75['DdowZ'],_0x627f75[_0x42419d(0x204)],_0x627f75[_0x42419d(0x1d2)],_0x627f75['UeweZ']][_0x42419d(0x1f7)](_0x496f3d=>{const _0x4b1177=_0x42419d,_0x157306={'ElIcb':function(_0x15f52d,_0x3dd430){const _0x43ca28=a29_0x38e2;return _0x627f75[_0x43ca28(0x1db)](_0x15f52d,_0x3dd430);}},_0x2612db=_0x3750a8[_0x4b1177(0x1f4)][_0x496f3d]||[];_0x2612db[_0x4b1177(0x1f7)](_0x36fb58=>{const _0x4eaa7c=_0x4b1177;_0x36fb58[_0x4eaa7c(0x1f0)]&&!_0x157306[_0x4eaa7c(0x1f3)](isInternalHook,_0x36fb58['fn'])&&_0x40372b[_0x4eaa7c(0x1ce)](_0x36fb58[_0x4eaa7c(0x1f0)]);});}),[..._0x40372b,...exports[_0x42419d(0x1f6)](_0x3750a8[_0x42419d(0x1f4)])];},exports['mapTestHooks']=_0x584c3c=>{const _0x2a843d=a29_0x455c67,_0x442c9b={'oxQiH':function(_0x42ac8d){return _0x42ac8d();},'CeYhA':function(_0x42a68d,_0x1484a9){return _0x42a68d===_0x1484a9;},'QUnBA':_0x2a843d(0x1e5),'GYykK':_0x2a843d(0x215),'tLrlJ':_0x2a843d(0x1c5),'AFufK':_0x2a843d(0x203)};if(!_0x584c3c||!_0x584c3c[_0x2a843d(0x1f4)])return;[_0x442c9b[_0x2a843d(0x1d4)],_0x442c9b[_0x2a843d(0x1ca)],_0x442c9b[_0x2a843d(0x209)],_0x442c9b['QUnBA']][_0x2a843d(0x1f7)](_0x28a84c=>{const _0x4ce416=_0x2a843d,_0x464198=_0x584c3c[_0x4ce416(0x1f4)][_0x28a84c]||[];_0x464198['forEach'](_0x593745=>{const _0x135331=_0x4ce416;if(!_0x593745[_0x135331(0x1f0)])_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4);else _0x593745[_0x135331(0x20f)]&&_0x442c9b['CeYhA'](_0x28a84c,_0x442c9b[_0x135331(0x1ff)])&&(_0x593745[_0x135331(0x1f0)]=_0x442c9b['oxQiH'](uuidv4),delete _0x593745[_0x135331(0x20f)]);});}),exports[_0x2a843d(0x213)](_0x584c3c['parent']);},exports[a29_0x455c67(0x1fa)]=async(_0x30c69a,_0x336517)=>{const _0x8438ca=a29_0x455c67,_0x1c99ff={'KepTl':function(_0xb2f378){return _0xb2f378();},'bpFfa':function(_0x20e24d,_0x25ce08){return _0x20e24d===_0x25ce08;},'WwpTP':_0x8438ca(0x1d7),'igPVa':_0x8438ca(0x1d3),'GqRKo':'app','rLeGf':'app-automate','nnyVb':_0x8438ca(0x1e7),'swiez':function(_0x4be144,_0x550170){return _0x4be144(_0x550170);},'nbBfd':_0x8438ca(0x1cb),'GRfWj':'TEST_PLATFORM','enUIq':function(_0xc7999e,_0x168721){return _0xc7999e(_0x168721);}};try{if(!_0x1c99ff['KepTl'](isTestObservabilitySession))return;const _0x5ccd03=await _0x30c69a[_0x8438ca(0x200)](),_0x11e3d8=await _0x30c69a[_0x8438ca(0x206)](),_0x55dff4={},_0x5279d3=Object[_0x8438ca(0x20c)](_0x11e3d8['getCapabilities']()[_0x8438ca(0x1c2)]),_0x4824ee={'product':_0x1c99ff[_0x8438ca(0x1d9)](global['__cloud_provider___'],_0x1c99ff[_0x8438ca(0x20d)])?_0x5279d3[_0x1c99ff[_0x8438ca(0x211)]]||_0x5279d3[_0x1c99ff[_0x8438ca(0x212)]]?_0x1c99ff[_0x8438ca(0x1fb)]:_0x1c99ff[_0x8438ca(0x207)]:null,'capabilities':_0x5279d3,'platform':_0x5ccd03[_0x8438ca(0x1e4)](),'platform_version':_0x1c99ff[_0x8438ca(0x1f8)](getPlatformVersion,_0x1c99ff['bpFfa'](global[_0x8438ca(0x1ed)],_0x1c99ff[_0x8438ca(0x20d)])),'browser':_0x5ccd03['getBrowserName'](),'browser_version':_0x5ccd03['getBrowserVersion'](),'session_id':_0x11e3d8[_0x8438ca(0x1f9)]()};global['__cloud_provider___']?_0x55dff4[global['__cloud_provider___']]=_0x4824ee:_0x55dff4[_0x1c99ff['nbBfd']]=_0x4824ee,process['emit'](_0x8438ca(0x1fd)+process[_0x8438ca(0x1ee)],{'timestamp':new Date()['toISOString'](),'level':null,'message':null,'kind':_0x1c99ff[_0x8438ca(0x1eb)],'http_response':_0x55dff4,'uuid':_0x336517});}catch(_0x14c80f){_0x1c99ff[_0x8438ca(0x202)](debug,'Exception\x20in\x20populating\x20platform\x20details\x20with\x20error\x20:\x20'+_0x14c80f);}},exports['getHookSkippedTests']=_0x5b2666=>{const _0xe18524=a29_0x455c67,_0x1433b9={};_0x1433b9[_0xe18524(0x1f1)]=function(_0x4aa4f4,_0x3bcd19){return _0x4aa4f4!==_0x3bcd19;},_0x1433b9[_0xe18524(0x210)]=_0xe18524(0x1c9),_0x1433b9['RnsMG']=_0xe18524(0x1f5),_0x1433b9[_0xe18524(0x1d5)]='failed';const _0x46e0c4=_0x1433b9,_0x40eac0=_0x5b2666['suites'][_0xe18524(0x1ea)]((_0x32dbd0,_0x25cbc2)=>{const _0x3ccaf6=_0xe18524,_0xcca37f=exports[_0x3ccaf6(0x1cf)](_0x25cbc2);return _0xcca37f&&(_0x32dbd0=_0x32dbd0[_0x3ccaf6(0x1df)](_0xcca37f)),_0x32dbd0;},[]),_0x5c91ba=_0x5b2666[_0xe18524(0x1e8)]['filter'](_0x31f0a2=>{const _0x1eadd1=_0xe18524,_0x32db7a=_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x20b)],_0x46e0c4[_0x1eadd1(0x210)])&&!_0x31f0a2['markedStatus']&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2['state'],_0x46e0c4[_0x1eadd1(0x1da)])&&_0x46e0c4[_0x1eadd1(0x1f1)](_0x31f0a2[_0x1eadd1(0x1c8)],_0x46e0c4[_0x1eadd1(0x1d5)])&&!_0x31f0a2[_0x1eadd1(0x208)];return _0x32db7a;});return _0x5c91ba['concat'](_0x40eac0);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a30_0x1f8019=a30_0x2fec;function a30_0x5ee5(){const _0xcb7aaf=['4647520vQPnRe','BlBAk','MwjDl','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','passed','3682944PjqfQQ','14PQkSFS','performScan','driverCleanup','\x20-\x20','startMonitoring','percy','session_','titlePath','KxfmC','../../helpers/globals','HcnVM','quitCount_','WTpGS','BS_A11Y_TEST_RUN_ID','Failed:\x20','emqAT','app','setGlobal','accessibilityScanStarted','file','ObservabilitySync:','push','3361152fPkbAQ','saveTestResults','shift','browserstackSessionName','../../helpers/accessibility-automation/helper','../../helpers/percy/utils','currentTest','obEEW','info','shouldScanTestForAccessibility','LxlkW','Rirdm','message','eVPmN','Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20','GOzIU','5371965plrggv','dwznC','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','375812hUrGOc','pbnyY','now','VVpAm','then','UvDQG','fTHUJ','__skipSessionName','state','util','15EMgkTQ','677752aWrUQb',',\x22level\x22:\x20\x22','protocol','../../helpers/performance-tester','bstackA11yShouldScan','error','winstonLogger','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','join','failed','mwVSV','\x22}}','IiSbP','jFPMx','hWQhS','testAnalyticsId','SGVBn','../../helpers/accessibility-automation/scripts','dtrBf','FxkgH','oiMDE','capabilities','__error_messages__','isAccessibilityPlatform','owobA','initQuit','getGlobal','xCgKl','format','../../helpers/test-observability/utils','rGsTn','zXryF','kOYix','rsjbw','XjAef','https:','executeAsyncScript','Automate\x20test\x20case\x20execution\x20has\x20started.','env','ZoAav','timeout','2948432lMdMZH','isArray','Kggcq','stringify','getCurrentUrl','Wnujl','length','NlHpM','percyCaptureMode','../../helpers/logger','__sessionFailed','jbVsz','.\x20Error\x20:','err','executeScript','testcase','ndHMl','\x20|\x20','__drivers','sessionNameSet__','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug'];a30_0x5ee5=function(){return _0xcb7aaf;};return a30_0x5ee5();}(function(_0x1ae992,_0x266fd5){const _0x3e8678=a30_0x2fec,_0x4d1ab3=_0x1ae992();while(!![]){try{const _0x323c0d=-parseInt(_0x3e8678(0x20a))/0x1+-parseInt(_0x3e8678(0x1ff))/0x2*(parseInt(_0x3e8678(0x209))/0x3)+parseInt(_0x3e8678(0x1ba))/0x4+parseInt(_0x3e8678(0x1d0))/0x5+-parseInt(_0x3e8678(0x1d5))/0x6+parseInt(_0x3e8678(0x1d6))/0x7*(parseInt(_0x3e8678(0x1ec))/0x8)+parseInt(_0x3e8678(0x1fc))/0x9;if(_0x323c0d===_0x266fd5)break;else _0x4d1ab3['push'](_0x4d1ab3['shift']());}catch(_0x50eafd){_0x4d1ab3['push'](_0x4d1ab3['shift']());}}}(a30_0x5ee5,0xd50e7));function a30_0x2fec(_0x361d28,_0x28ed39){const _0x5ee5db=a30_0x5ee5();return a30_0x2fec=function(_0x2fec92,_0x5ead63){_0x2fec92=_0x2fec92-0x192;let _0x1a9075=_0x5ee5db[_0x2fec92];return _0x1a9075;},a30_0x2fec(_0x361d28,_0x28ed39);}const util=require(a30_0x1f8019(0x208)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x1f8019(0x1f0)),{percyAutoCapture}=require(a30_0x1f8019(0x1f1)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require('../../helpers/helper'),{isTestObservabilitySession}=require(a30_0x1f8019(0x1ae)),PerformanceTester=require(a30_0x1f8019(0x194)),scripts=require(a30_0x1f8019(0x1a2)),globals=require(a30_0x1f8019(0x1df)),logger=require(a30_0x1f8019(0x1c3))[a30_0x1f8019(0x197)];exports['mochaHooks']={'beforeAll'(){const _0x4469b6=a30_0x1f8019,_0x5c901b={'SGVBn':function(_0x31cd98,_0x4e9d23,_0x2caeb9,_0x6b7ebe){return _0x31cd98(_0x4e9d23,_0x2caeb9,_0x6b7ebe);},'KxfmC':_0x4469b6(0x19a),'PenPh':_0x4469b6(0x1cb),'MwjDl':function(_0x245295,_0x1f94f9,_0x135786){return _0x245295(_0x1f94f9,_0x135786);},'rGsTn':_0x4469b6(0x1d4),'ndHMl':function(_0x596897){return _0x596897();}};PerformanceTester[_0x4469b6(0x1da)]();const _0x7c8654='browserstack internal helper hook';global['__error_messages__']=[],global[_0x4469b6(0x1c4)]=![],global[_0x4469b6(0x1d8)]=async()=>{const _0x443d28=_0x4469b6;let _0x2ff16f=![];try{await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1dc)],_0x2ff16f=!![],global['__sessionFailed']?await _0x5c901b[_0x443d28(0x1a1)](markSessionStatus,global[_0x443d28(0x1cc)][0x0],_0x5c901b[_0x443d28(0x1de)],global[_0x443d28(0x1a7)][_0x443d28(0x199)](_0x5c901b['PenPh'])):await _0x5c901b[_0x443d28(0x1d2)](markSessionStatus,global['__drivers'][0x0],_0x5c901b[_0x443d28(0x1af)]);}catch(_0x381544){}global[_0x443d28(0x1a7)]=[],global[_0x443d28(0x1c4)]=![];if(_0x2ff16f)try{try{_0x5c901b[_0x443d28(0x1ca)](isTestObservabilitySession)&&(global[_0x443d28(0x1cc)][0x0]&&await _0x5c901b['MwjDl'](sendPlatformDetails,global['__drivers'][0x0],this['currentTest']?this[_0x443d28(0x1f2)]['testAnalyticsId']:null));}catch{}await global[_0x443d28(0x1cc)][0x0][_0x443d28(0x1aa)]();}catch(_0x51f578){}};},'beforeEach'(_0x951200){const _0x5e1f55=a30_0x1f8019,_0x5084c1={'DlRjP':function(_0x3d4bc4,_0x338ba8){return _0x3d4bc4>_0x338ba8;},'UvDQG':function(_0x48a50f,_0x59b4fc){return _0x48a50f>_0x59b4fc;},'Rirdm':_0x5e1f55(0x1d9),'dtrBf':function(_0x420ca9,_0x1ce0e6,_0x1b6916){return _0x420ca9(_0x1ce0e6,_0x1b6916);},'XjAef':_0x5e1f55(0x195),'rsjbw':function(_0x38c20c){return _0x38c20c();},'IiSbP':function(_0x1fbcad,_0x1cc821){return _0x1fbcad>_0x1cc821;},'zXryF':_0x5e1f55(0x1a8),'emqAT':function(_0x4b0952,_0x15fb85){return _0x4b0952===_0x15fb85;},'eVPmN':'http:','aiNTm':_0x5e1f55(0x1b4),'LxlkW':'Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.','VVpAm':_0x5e1f55(0x1b6),'jbVsz':function(_0x3dd113){return _0x3dd113();}};new Promise(async _0x37861b=>{const _0x374d2c=_0x5e1f55,_0x34dd7b='browserstack internal helper hook';let _0x1c961c=!![];try{_0x5084c1['DlRjP'](global[_0x374d2c(0x1cc)]['length'],0x1)&&(await global[_0x374d2c(0x1d8)](),global[_0x374d2c(0x1cc)][_0x374d2c(0x1ee)]()),_0x5084c1[_0x374d2c(0x204)](global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1e1)],0x0)&&(_0x1c961c=![],await global[_0x374d2c(0x1d8)]());}catch{}try{Array[_0x374d2c(0x1bb)](global['__drivers'])&&global['__drivers'][0x0]&&(global[_0x374d2c(0x1cc)][0x0]['browserstackSessionName']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()[_0x374d2c(0x199)](_0x5084c1[_0x374d2c(0x1f7)])),global[_0x374d2c(0x1ef)]=this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)]()['join'](_0x5084c1[_0x374d2c(0x1f7)]);}catch(_0x3af64f){logger[_0x374d2c(0x1cf)]('Failed\x20to\x20store\x20session\x20name:\x20'+_0x3af64f);}this['currentTest'][_0x374d2c(0x1f5)]=_0x5084c1[_0x374d2c(0x1a3)](shouldScanTestForAccessibility,this[_0x374d2c(0x1f2)][_0x374d2c(0x1dd)](),!![]),globals[_0x374d2c(0x1e7)](_0x5084c1[_0x374d2c(0x1b3)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]),this['currentTest'][_0x374d2c(0x1e8)]=!![];if(_0x5084c1[_0x374d2c(0x1b2)](isAccessibilityAutomationSession)&&_0x1c961c&&Array[_0x374d2c(0x1bb)](global[_0x374d2c(0x1cc)])&&_0x5084c1[_0x374d2c(0x19d)](global[_0x374d2c(0x1cc)][_0x374d2c(0x1c0)],0x0)&&globals[_0x374d2c(0x1ab)](_0x5084c1[_0x374d2c(0x1b0)]))try{const _0x569451=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1dc)];if(_0x569451){let _0xe1a796=!![];const _0x3429a0=await global[_0x374d2c(0x1cc)][0x0][_0x374d2c(0x1be)]();let _0x29459d;try{_0x29459d=new URL(_0x3429a0);}catch(_0x215f8a){_0xe1a796=![];}_0xe1a796=_0x5084c1[_0x374d2c(0x1e5)](_0x29459d[_0x374d2c(0x193)],_0x5084c1[_0x374d2c(0x1f9)])||_0x5084c1['emqAT'](_0x29459d['protocol'],_0x5084c1['aiNTm']),_0xe1a796&&(this['currentTest'][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x1f6)])),this[_0x374d2c(0x1f2)]['accessibilityScanStarted']=this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)],this[_0x374d2c(0x1f2)][_0x374d2c(0x1f5)]&&logger[_0x374d2c(0x1f4)](_0x5084c1[_0x374d2c(0x202)]);}}catch(_0x2d07e2){logger[_0x374d2c(0x196)](_0x374d2c(0x1fa)+util['format'](_0x2d07e2));}_0x5084c1[_0x374d2c(0x1c5)](_0x37861b);})[_0x5e1f55(0x203)](_0x951200);},'afterEach'(_0x1a7bcd){const _0x3fe3e7=a30_0x1f8019,_0x3da5b3={'GOzIU':function(_0x12ec40,_0x245a20){return _0x12ec40>_0x245a20;},'TtPiH':function(_0x37129c,_0x3e193f){return _0x37129c===_0x3e193f;},'Kggcq':_0x3fe3e7(0x1c9),'jFPMx':'appium:app','kOYix':function(_0x5d6594,_0x50bf72,_0x16db6c,_0x8415f3){return _0x5d6594(_0x50bf72,_0x16db6c,_0x8415f3);},'NlHpM':_0x3fe3e7(0x1d9),'Wnujl':function(_0x50516f,_0x39ccfd){return _0x50516f!==_0x39ccfd;},'oiMDE':_0x3fe3e7(0x1d4),'FxkgH':function(_0x5c26ee,_0x177fbd,_0x34c00e){return _0x5c26ee(_0x177fbd,_0x34c00e);},'UTYHy':function(_0xfbc399,_0x3a733f){return _0xfbc399+_0x3a733f;},'ZoAav':_0x3fe3e7(0x1e4),'HcnVM':_0x3fe3e7(0x196),'gkiSH':'Passed','fTHUJ':_0x3fe3e7(0x1f4),'mwVSV':'isAccessibilityPlatform','cydsO':'bstackA11yShouldScan','obEEW':_0x3fe3e7(0x1fe),'owobA':function(_0x1cf7c4,_0xaf590b){return _0x1cf7c4(_0xaf590b);},'hWQhS':'Performing\x20scan\x20before\x20saving\x20results','BlBAk':_0x3fe3e7(0x1d3),'WTpGS':function(_0x25f3ed){return _0x25f3ed();},'xCgKl':function(_0x23edde,_0x542303,_0x8dbd02){return _0x23edde(_0x542303,_0x8dbd02);},'pbnyY':function(_0x4fe90a){return _0x4fe90a();},'JHdOh':_0x3fe3e7(0x1cf)},_0x6544c4='browserstack internal helper hook';this['timeout'](0xfde8);const _0x5f4168=async(_0x2bd903,_0x51ac4b)=>{const _0x484138=_0x3fe3e7;await global[_0x484138(0x1cc)][0x0][_0x484138(0x1c8)](_0x484138(0x1ce)+_0x2bd903+_0x484138(0x192)+_0x51ac4b+_0x484138(0x19c));};new Promise(async _0x18963b=>{const _0x15b9f0=_0x3fe3e7;try{_0x3da5b3[_0x15b9f0(0x1fb)](global['__drivers']['length'],0x1)&&(await global[_0x15b9f0(0x1d8)](),global[_0x15b9f0(0x1cc)][_0x15b9f0(0x1ee)](),global['__error_messages__']=[],global[_0x15b9f0(0x1c4)]=![]);try{if(global[_0x15b9f0(0x1db)]&&_0x3da5b3['TtPiH'](global[_0x15b9f0(0x1c2)],_0x3da5b3[_0x15b9f0(0x1bc)])&&global[_0x15b9f0(0x1cc)][0x0]){const _0x56403d=_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1a6)][_0x15b9f0(0x1c0)],0x0)?!!global['capabilities'][0x0][_0x15b9f0(0x1e6)]||!!global[_0x15b9f0(0x1a6)][0x0][_0x3da5b3[_0x15b9f0(0x19e)]]:![],_0x9f8e5a={};_0x9f8e5a[_0x15b9f0(0x1e6)]=_0x56403d,await _0x3da5b3[_0x15b9f0(0x1b1)](percyAutoCapture,global[_0x15b9f0(0x1cc)][0x0],_0x3da5b3['Kggcq'],_0x9f8e5a);}}catch(_0x3377bd){}!global[_0x15b9f0(0x206)]&&(await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1c8)](_0x15b9f0(0x198)+JSON['stringify'](this['currentTest'][_0x15b9f0(0x1dd)]()['join'](_0x3da5b3[_0x15b9f0(0x1c1)]))+'}}'),global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1cd)]=!![]);const _0xa49434=_0x3da5b3[_0x15b9f0(0x1bf)](this['currentTest'][_0x15b9f0(0x207)],_0x3da5b3[_0x15b9f0(0x1a5)]);_0xa49434?(global[_0x15b9f0(0x1c4)]=!![],global[_0x15b9f0(0x1a7)][_0x15b9f0(0x1eb)](this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1c7)]['message']),await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['UTYHy'](_0x3da5b3[_0x15b9f0(0x1b8)],this['currentTest'][_0x15b9f0(0x1c7)][_0x15b9f0(0x1f8)])),_0x3da5b3[_0x15b9f0(0x1e0)])):await _0x3da5b3[_0x15b9f0(0x1a4)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x3da5b3['gkiSH']),_0x3da5b3[_0x15b9f0(0x205)]);}catch(_0x4a409a){}try{if(this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e8)]&&globals['getGlobal'](_0x3da5b3[_0x15b9f0(0x19b)])&&globals[_0x15b9f0(0x1ab)](_0x3da5b3['cydsO'])){logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1f3)]);const _0x16a7d4={'saveResults':this[_0x15b9f0(0x1f2)]['shouldScanTestForAccessibility'],'testDetails':{'name':this[_0x15b9f0(0x1f2)]['title'],'testRunId':process[_0x15b9f0(0x1b7)][_0x15b9f0(0x1e3)],'filePath':this[_0x15b9f0(0x1f2)][_0x15b9f0(0x1e9)],'scopeList':this['currentTest'][_0x15b9f0(0x1dd)]()},'platform':await _0x3da5b3[_0x15b9f0(0x1a9)](fetchPlatformDetails,global['__drivers'][0x0])};logger[_0x15b9f0(0x1cf)](_0x3da5b3[_0x15b9f0(0x19f)]),logger[_0x15b9f0(0x1cf)](util[_0x15b9f0(0x1ad)](await global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1b5)](scripts[_0x15b9f0(0x1d7)],{'method':global['browserstackSessionName']}))),await global[_0x15b9f0(0x1cc)][0x0]['executeAsyncScript'](scripts[_0x15b9f0(0x1ed)],_0x16a7d4),logger[_0x15b9f0(0x1f4)](_0x3da5b3[_0x15b9f0(0x1d1)]);}}catch(_0x1127ca){logger[_0x15b9f0(0x196)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x15b9f0(0x1f2)]['titlePath']()+_0x15b9f0(0x1c6),_0x1127ca);}try{try{if(_0x3da5b3[_0x15b9f0(0x1e2)](isTestObservabilitySession)){global[_0x15b9f0(0x1cc)][0x0]&&await _0x3da5b3[_0x15b9f0(0x1ac)](sendPlatformDetails,global[_0x15b9f0(0x1cc)][0x0],this[_0x15b9f0(0x1f2)]?this['currentTest'][_0x15b9f0(0x1a0)]:null);if(_0x3da5b3[_0x15b9f0(0x200)](isBrowserstackInfra)){const _0x5e9836=_0x15b9f0(0x1ea)+Date[_0x15b9f0(0x201)]();await _0x3da5b3[_0x15b9f0(0x1ac)](_0x5f4168,JSON[_0x15b9f0(0x1bd)](_0x5e9836),_0x3da5b3['JHdOh']);}}}catch{}_0x3da5b3['GOzIU'](global[_0x15b9f0(0x1cc)][0x0][_0x15b9f0(0x1e1)],0x0)&&await global[_0x15b9f0(0x1d8)]();}catch(_0xaf5197){}_0x3da5b3[_0x15b9f0(0x200)](_0x18963b);})[_0x3fe3e7(0x203)](()=>_0x1a7bcd());},'afterAll'(_0x4504e3){const _0x14e066=a30_0x1f8019,_0x458828={'dwznC':function(_0x4ac91a){return _0x4ac91a();}},_0x29d484='browserstack internal helper hook';this[_0x14e066(0x1b9)](0xfde8),new Promise(async _0x28f20e=>{const _0x540ca6=_0x14e066;PerformanceTester['stopMonitoring'](),await global[_0x540ca6(0x1d8)](),_0x458828[_0x540ca6(0x1fd)](_0x28f20e);})[_0x14e066(0x203)](()=>_0x4504e3());}};
|
|
1
|
+
function a30_0x4f90(){const _0x2589de=['message','getCurrentUrl','BS_A11Y_TEST_RUN_ID','titlePath','9099axdwGd','format','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','5860495wSLjfK','40002GbftoG','CVbjH','6eFAzOK','SsSLJ','jNJjW','FTAFY','Failed\x20to\x20store\x20session\x20name:\x20','../../helpers/accessibility-automation/scripts','__drivers','testcase','\x22}}','../../helpers/test-observability/utils','app','92JfccSH','UsgWm','6548352NSxqCE','yRJaQ','getGlobal','https:','bstackA11yShouldScan','NSYOX','1969704ywbjNT','Performing\x20scan\x20before\x20saving\x20results','http:','AwLDe','isAccessibilityPlatform','yRviK','\x20-\x20','session_','FKxeD','GtFQu','setGlobal','ObservabilitySync:','saveTestResults','now','then','LVDUR','Automate\x20test\x20case\x20execution\x20has\x20started.','KCeAp','8438QUdNHh','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','shift','../../helpers/accessibility-automation/helper','title','4630fboOzV','percyCaptureMode','performScan','.\x20Error\x20:','stringify','FxzfI','info','sHrFp','WKNWA','ARoMI','join','capabilities','lCnBJ','startMonitoring','length','../../helpers/helper','state','shouldScanTestForAccessibility','../../helpers/logger','lzmNT','currentTest','Passed','auBQH','stopMonitoring','cXTQc','WxDXW','passed','JKhNN','percy','quitCount_','inriQ','appium:app','driverCleanup','VweFd','YUFjU',',\x22level\x22:\x20\x22','timeout','lCIiw','3603173AFSPUn','file','EbbLZ','__error_messages__','aITAe','error','jSjFX','err','mochaHooks','accessibilityScanStarted','uAzRN','debug','util','protocol','winstonLogger','kdTnb','../../helpers/globals','executeScript','browserstackSessionName','env','failed','PTvdb','../../helpers/percy/utils','ovZrd','__sessionFailed','isArray','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','executeAsyncScript','Setup\x20for\x20Accessibility\x20testing\x20has\x20started.\x20Automate\x20test\x20case\x20execution\x20will\x20begin\x20momentarily.'];a30_0x4f90=function(){return _0x2589de;};return a30_0x4f90();}const a30_0x2b8373=a30_0x40a6;(function(_0x17a5c5,_0x381daf){const _0x564ab8=a30_0x40a6,_0x32dfaa=_0x17a5c5();while(!![]){try{const _0x2f81c1=-parseInt(_0x564ab8(0xa3))/0x1*(parseInt(_0x564ab8(0xf5))/0x2)+-parseInt(_0x564ab8(0xf3))/0x3*(-parseInt(_0x564ab8(0x100))/0x4)+parseInt(_0x564ab8(0xf2))/0x5+-parseInt(_0x564ab8(0x8b))/0x6+parseInt(_0x564ab8(0xce))/0x7+parseInt(_0x564ab8(0x91))/0x8+parseInt(_0x564ab8(0xef))/0x9*(-parseInt(_0x564ab8(0xa8))/0xa);if(_0x2f81c1===_0x381daf)break;else _0x32dfaa['push'](_0x32dfaa['shift']());}catch(_0x30d24e){_0x32dfaa['push'](_0x32dfaa['shift']());}}}(a30_0x4f90,0x9fe56));const util=require(a30_0x2b8373(0xda)),{isAccessibilityAutomationSession,fetchPlatformDetails,shouldScanTestForAccessibility}=require(a30_0x2b8373(0xa6)),{percyAutoCapture}=require(a30_0x2b8373(0xe4)),{sendPlatformDetails}=require('./test-observability/mochaUtils'),{isBrowserstackInfra,markSessionStatus}=require(a30_0x2b8373(0xb7)),{isTestObservabilitySession}=require(a30_0x2b8373(0xfe)),PerformanceTester=require('../../helpers/performance-tester'),scripts=require(a30_0x2b8373(0xfa)),globals=require(a30_0x2b8373(0xde)),logger=require(a30_0x2b8373(0xba))[a30_0x2b8373(0xdc)];function a30_0x40a6(_0x3e3cc8,_0x379698){const _0x4f90b1=a30_0x4f90();return a30_0x40a6=function(_0x40a6bc,_0x5b17df){_0x40a6bc=_0x40a6bc-0x8a;let _0x325a04=_0x4f90b1[_0x40a6bc];return _0x325a04;},a30_0x40a6(_0x3e3cc8,_0x379698);}exports[a30_0x2b8373(0xd6)]={'beforeAll'(){const _0x438443=a30_0x2b8373,_0x1ab3c9={'PTvdb':function(_0x15510e,_0x341402,_0x14c15e,_0x21bc95){return _0x15510e(_0x341402,_0x14c15e,_0x21bc95);},'jSjFX':_0x438443(0xe2),'uNFnJ':'\x20|\x20','WKNWA':function(_0x58ee10,_0x7613a4,_0x457990){return _0x58ee10(_0x7613a4,_0x457990);},'jNJjW':'passed','JKhNN':function(_0x4e75f9){return _0x4e75f9();},'QIbSa':function(_0x3fff51,_0x4d301e,_0x1f3d51){return _0x3fff51(_0x4d301e,_0x1f3d51);}};PerformanceTester[_0x438443(0xb5)]();const _0x39b526='browserstack internal helper hook';global['__error_messages__']=[],global['__sessionFailed']=![],global['driverCleanup']=async()=>{const _0x423534=_0x438443;let _0x3dbe2a=![];try{await global[_0x423534(0xfb)][0x0][_0x423534(0x98)],_0x3dbe2a=!![],global[_0x423534(0xe6)]?await _0x1ab3c9[_0x423534(0xe3)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xd4)],global[_0x423534(0xd1)][_0x423534(0xb2)](_0x1ab3c9['uNFnJ'])):await _0x1ab3c9[_0x423534(0xb0)](markSessionStatus,global[_0x423534(0xfb)][0x0],_0x1ab3c9[_0x423534(0xf7)]);}catch(_0x58ddc1){}global[_0x423534(0xd1)]=[],global[_0x423534(0xe6)]=![];if(_0x3dbe2a)try{try{_0x1ab3c9[_0x423534(0xc3)](isTestObservabilitySession)&&(global[_0x423534(0xfb)][0x0]&&await _0x1ab3c9['QIbSa'](sendPlatformDetails,global[_0x423534(0xfb)][0x0],this[_0x423534(0xbc)]?this[_0x423534(0xbc)]['testAnalyticsId']:null));}catch{}await global[_0x423534(0xfb)][0x0]['initQuit']();}catch(_0x145747){}};},'beforeEach'(_0x5e3941){const _0x12ef95=a30_0x2b8373,_0x31fee3={'cXTQc':function(_0x3b54fd,_0x73c52c){return _0x3b54fd>_0x73c52c;},'FKxeD':'\x20-\x20','AwLDe':function(_0x4229c0,_0x1c0f66,_0x263162){return _0x4229c0(_0x1c0f66,_0x263162);},'YUFjU':_0x12ef95(0x8f),'lzmNT':function(_0x460b90){return _0x460b90();},'FVGJZ':'isAccessibilityPlatform','inriQ':function(_0x3015e8,_0x3f21f1){return _0x3015e8===_0x3f21f1;},'yRviK':_0x12ef95(0x93),'ReSlt':function(_0x43bdc3,_0x49a516){return _0x43bdc3===_0x49a516;},'SsSLJ':_0x12ef95(0x8e),'UsgWm':_0x12ef95(0xea),'sHrFp':_0x12ef95(0xa1)};new Promise(async _0x3adc82=>{const _0xf1396c=_0x12ef95,_0x91d6b0='browserstack internal helper hook';let _0x244596=!![];try{_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x1)&&(await global['driverCleanup'](),global[_0xf1396c(0xfb)][_0xf1396c(0xa5)]()),_0x31fee3[_0xf1396c(0xc0)](global[_0xf1396c(0xfb)][0x0]['quitCount_'],0x0)&&(_0x244596=![],await global[_0xf1396c(0xc8)]());}catch{}try{Array['isArray'](global[_0xf1396c(0xfb)])&&global[_0xf1396c(0xfb)][0x0]&&(global[_0xf1396c(0xfb)][0x0][_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)]['titlePath']()[_0xf1396c(0xb2)](_0x31fee3[_0xf1396c(0x99)])),global[_0xf1396c(0xe0)]=this[_0xf1396c(0xbc)][_0xf1396c(0xee)]()['join'](_0x31fee3[_0xf1396c(0x99)]);}catch(_0x2c41e1){logger[_0xf1396c(0xd9)](_0xf1396c(0xf9)+_0x2c41e1);}this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]=_0x31fee3[_0xf1396c(0x94)](shouldScanTestForAccessibility,this[_0xf1396c(0xbc)][_0xf1396c(0xee)](),!![]),globals[_0xf1396c(0x9b)](_0x31fee3[_0xf1396c(0xca)],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=!![];if(_0x31fee3['lzmNT'](isAccessibilityAutomationSession)&&_0x244596&&Array[_0xf1396c(0xe7)](global[_0xf1396c(0xfb)])&&_0x31fee3['cXTQc'](global[_0xf1396c(0xfb)][_0xf1396c(0xb6)],0x0)&&globals[_0xf1396c(0x8d)](_0x31fee3['FVGJZ']))try{const _0x11042a=await global['__drivers'][0x0][_0xf1396c(0x98)];if(_0x11042a){let _0x1c2baf=!![];const _0x5d48bd=await global['__drivers'][0x0][_0xf1396c(0xec)]();let _0x11de19;try{_0x11de19=new URL(_0x5d48bd);}catch(_0x1085a6){_0x1c2baf=![];}_0x1c2baf=_0x31fee3[_0xf1396c(0xc6)](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0x96)])||_0x31fee3['ReSlt'](_0x11de19[_0xf1396c(0xdb)],_0x31fee3[_0xf1396c(0xf6)]),_0x1c2baf&&(this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0x8a)])),this[_0xf1396c(0xbc)][_0xf1396c(0xd7)]=this[_0xf1396c(0xbc)]['shouldScanTestForAccessibility'],this[_0xf1396c(0xbc)][_0xf1396c(0xb9)]&&logger['info'](_0x31fee3[_0xf1396c(0xaf)]);}}catch(_0x456cd9){logger['error']('Exception\x20in\x20starting\x20accessibility\x20automation\x20scan\x20for\x20this\x20test\x20case\x20'+util[_0xf1396c(0xf0)](_0x456cd9));}_0x31fee3[_0xf1396c(0xbb)](_0x3adc82);})[_0x12ef95(0x9f)](_0x5e3941);},'afterEach'(_0x4ad42b){const _0x4f1a20=a30_0x2b8373,_0x30bf92={'FTAFY':function(_0x5403ef,_0xa08551){return _0x5403ef>_0xa08551;},'NSYOX':function(_0x3c683a,_0x4913cd){return _0x3c683a===_0x4913cd;},'LVDUR':_0x4f1a20(0xfc),'EbbLZ':_0x4f1a20(0xc7),'JDHcL':function(_0x2f78e2,_0x539d09,_0x2fcd55,_0x4ede93){return _0x2f78e2(_0x539d09,_0x2fcd55,_0x4ede93);},'ovZrd':_0x4f1a20(0x97),'GtFQu':function(_0x563513,_0x5f111a){return _0x563513!==_0x5f111a;},'SUbqG':_0x4f1a20(0xc2),'uAzRN':function(_0x42361e,_0x514ac8,_0x168759){return _0x42361e(_0x514ac8,_0x168759);},'CVbjH':function(_0x1f79e3,_0x4f4257){return _0x1f79e3+_0x4f4257;},'aITAe':'Failed:\x20','lCIiw':_0x4f1a20(0xd3),'MvRVQ':_0x4f1a20(0xbd),'FxzfI':_0x4f1a20(0xae),'STZBt':_0x4f1a20(0x95),'fjIAe':_0x4f1a20(0x8f),'ARoMI':_0x4f1a20(0xe8),'auBQH':function(_0x5b6454,_0x34b7e0){return _0x5b6454(_0x34b7e0);},'lCnBJ':_0x4f1a20(0x92),'mqGdJ':_0x4f1a20(0xa4),'VweFd':function(_0x3b111c){return _0x3b111c();},'WxDXW':function(_0x82687a,_0x599e0d,_0x27c8b3){return _0x82687a(_0x599e0d,_0x27c8b3);},'KCeAp':_0x4f1a20(0xd9),'yRJaQ':function(_0x2d6b57,_0x3caf67){return _0x2d6b57>_0x3caf67;}},_0x5b4e7a='browserstack internal helper hook';this[_0x4f1a20(0xcc)](0xfde8);const _0x1db9f6=async(_0xf72a4a,_0x2d67fb)=>{const _0x3b594d=_0x4f1a20;await global[_0x3b594d(0xfb)][0x0][_0x3b594d(0xdf)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0xf72a4a+_0x3b594d(0xcb)+_0x2d67fb+_0x3b594d(0xfd));};new Promise(async _0x3b1171=>{const _0x499ca9=_0x4f1a20;try{_0x30bf92[_0x499ca9(0xf8)](global['__drivers']['length'],0x1)&&(await global[_0x499ca9(0xc8)](),global[_0x499ca9(0xfb)][_0x499ca9(0xa5)](),global[_0x499ca9(0xd1)]=[],global[_0x499ca9(0xe6)]=![]);try{if(global[_0x499ca9(0xc4)]&&_0x30bf92[_0x499ca9(0x90)](global[_0x499ca9(0xa9)],_0x30bf92['LVDUR'])&&global[_0x499ca9(0xfb)][0x0]){const _0x28c426=_0x30bf92['FTAFY'](global[_0x499ca9(0xb3)][_0x499ca9(0xb6)],0x0)?!!global[_0x499ca9(0xb3)][0x0][_0x499ca9(0xff)]||!!global[_0x499ca9(0xb3)][0x0][_0x30bf92[_0x499ca9(0xd0)]]:![],_0x303f96={};_0x303f96['app']=_0x28c426,await _0x30bf92['JDHcL'](percyAutoCapture,global[_0x499ca9(0xfb)][0x0],_0x30bf92[_0x499ca9(0xa0)],_0x303f96);}}catch(_0xec3a16){}!global['__skipSessionName']&&(await global[_0x499ca9(0xfb)][0x0]['executeScript'](_0x499ca9(0xf1)+JSON['stringify'](this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()[_0x499ca9(0xb2)](_0x30bf92[_0x499ca9(0xe5)]))+'}}'),global[_0x499ca9(0xfb)][0x0]['sessionNameSet__']=!![]);const _0x37af66=_0x30bf92[_0x499ca9(0x9a)](this[_0x499ca9(0xbc)][_0x499ca9(0xb8)],_0x30bf92['SUbqG']);_0x37af66?(global[_0x499ca9(0xe6)]=!![],global['__error_messages__']['push'](this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)]),await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON['stringify'](_0x30bf92[_0x499ca9(0xf4)](_0x30bf92[_0x499ca9(0xd2)],this[_0x499ca9(0xbc)][_0x499ca9(0xd5)][_0x499ca9(0xeb)])),_0x30bf92[_0x499ca9(0xcd)])):await _0x30bf92[_0x499ca9(0xd8)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x30bf92['MvRVQ']),_0x30bf92[_0x499ca9(0xad)]);}catch(_0x2318e5){}try{if(this[_0x499ca9(0xbc)][_0x499ca9(0xd7)]&&globals[_0x499ca9(0x8d)](_0x30bf92['STZBt'])&&globals[_0x499ca9(0x8d)](_0x30bf92['fjIAe'])){logger[_0x499ca9(0xae)](_0x30bf92[_0x499ca9(0xb1)]);const _0x2e00fc={'saveResults':this[_0x499ca9(0xbc)]['shouldScanTestForAccessibility'],'testDetails':{'name':this['currentTest'][_0x499ca9(0xa7)],'testRunId':process[_0x499ca9(0xe1)][_0x499ca9(0xed)],'filePath':this[_0x499ca9(0xbc)][_0x499ca9(0xcf)],'scopeList':this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()},'platform':await _0x30bf92[_0x499ca9(0xbe)](fetchPlatformDetails,global[_0x499ca9(0xfb)][0x0])};logger['debug'](_0x30bf92[_0x499ca9(0xb4)]),logger[_0x499ca9(0xd9)](util[_0x499ca9(0xf0)](await global[_0x499ca9(0xfb)][0x0]['executeAsyncScript'](scripts[_0x499ca9(0xaa)],{'method':global[_0x499ca9(0xe0)]}))),await global[_0x499ca9(0xfb)][0x0][_0x499ca9(0xe9)](scripts[_0x499ca9(0x9d)],_0x2e00fc),logger[_0x499ca9(0xae)](_0x30bf92['mqGdJ']);}}catch(_0x2fc732){logger[_0x499ca9(0xd3)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case\x20'+this[_0x499ca9(0xbc)][_0x499ca9(0xee)]()+_0x499ca9(0xab),_0x2fc732);}try{try{if(_0x30bf92[_0x499ca9(0xc9)](isTestObservabilitySession)){global[_0x499ca9(0xfb)][0x0]&&await _0x30bf92[_0x499ca9(0xc1)](sendPlatformDetails,global['__drivers'][0x0],this[_0x499ca9(0xbc)]?this[_0x499ca9(0xbc)]['testAnalyticsId']:null);if(_0x30bf92[_0x499ca9(0xc9)](isBrowserstackInfra)){const _0x24f891=_0x499ca9(0x9c)+Date[_0x499ca9(0x9e)]();await _0x30bf92[_0x499ca9(0xc1)](_0x1db9f6,JSON[_0x499ca9(0xac)](_0x24f891),_0x30bf92[_0x499ca9(0xa2)]);}}}catch{}_0x30bf92[_0x499ca9(0x8c)](global['__drivers'][0x0][_0x499ca9(0xc5)],0x0)&&await global['driverCleanup']();}catch(_0x49b270){}_0x30bf92['VweFd'](_0x3b1171);})[_0x4f1a20(0x9f)](()=>_0x4ad42b());},'afterAll'(_0x31aa82){const _0x3df5b2={'kdTnb':function(_0x1a691b){return _0x1a691b();}},_0x52c976='browserstack internal helper hook';this['timeout'](0xfde8),new Promise(async _0x320846=>{const _0x20b1d1=a30_0x40a6;PerformanceTester[_0x20b1d1(0xbf)](),await global[_0x20b1d1(0xc8)](),_0x3df5b2[_0x20b1d1(0xdd)](_0x320846);})['then'](()=>_0x31aa82());}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a31_0x5c3ac4=a31_0x484c;(function(_0x3f2ecc,_0x2c07d9){const _0xdf06ae=a31_0x484c,_0x69326c=_0x3f2ecc();while(!![]){try{const _0x1853a8=-parseInt(_0xdf06ae(0x205))/0x1+-parseInt(_0xdf06ae(0x1d3))/0x2+-parseInt(_0xdf06ae(0x208))/0x3*(parseInt(_0xdf06ae(0x1ca))/0x4)+-parseInt(_0xdf06ae(0x1d9))/0x5*(parseInt(_0xdf06ae(0x1ec))/0x6)+parseInt(_0xdf06ae(0x1ce))/0x7+-parseInt(_0xdf06ae(0x1e4))/0x8*(parseInt(_0xdf06ae(0x206))/0x9)+parseInt(_0xdf06ae(0x203))/0xa;if(_0x1853a8===_0x2c07d9)break;else _0x69326c['push'](_0x69326c['shift']());}catch(_0x555cd9){_0x69326c['push'](_0x69326c['shift']());}}}(a31_0x1a44,0xd0d74));const fs=require('fs'),path=require('path'),{spawn}=require(a31_0x5c3ac4(0x1c3)),logger=require(a31_0x5c3ac4(0x1f8))[a31_0x5c3ac4(0x1ea)],{default:BrowserStackSetup}=require(a31_0x5c3ac4(0x1c5)),helper=require(a31_0x5c3ac4(0x1e1)),constants=require(a31_0x5c3ac4(0x1f5)),getUserNightwatchConfigs=(_0x105b56,_0x596982)=>{const _0x50812f=a31_0x5c3ac4,_0x5bbbb6={'CTqkx':_0x50812f(0x1f1),'EoTxk':_0x50812f(0x1ef),'JTGBb':function(_0x3ef477,_0x55e44a){return _0x3ef477(_0x55e44a);},'gwFwB':_0x50812f(0x1cc)};let _0x1178cd=null,_0x55c089={};const _0x2c17d0=_0x596982[_0x50812f(0x1f6)](_0x46c4c8=>_0x46c4c8==='--config');if(!helper['isUndefined'](_0x105b56[_0x50812f(0x1e2)])&&fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x105b56[_0x50812f(0x1e2)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x105b56['config']),_0x596982[_0x50812f(0x1c9)](_0x2c17d0,0x2);else{if(fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6[_0x50812f(0x1f9)])))_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6['CTqkx']);else fs[_0x50812f(0x1e9)](path[_0x50812f(0x204)](process['cwd'](),_0x5bbbb6['EoTxk']))&&(_0x1178cd=path[_0x50812f(0x204)](process[_0x50812f(0x209)](),_0x5bbbb6[_0x50812f(0x1cb)]));}return _0x1178cd?(logger[_0x50812f(0x1da)](_0x50812f(0x1ff)+_0x1178cd),_0x55c089=_0x5bbbb6['JTGBb'](require,_0x1178cd)):logger[_0x50812f(0x1da)](_0x5bbbb6[_0x50812f(0x1f0)]),_0x55c089;},removeExistingEnvs=_0x2da06d=>{const _0x72a3c2=a31_0x5c3ac4,_0x90b7fe={};_0x90b7fe[_0x72a3c2(0x1f7)]=function(_0x450576,_0x36290b){return _0x450576>_0x36290b;},_0x90b7fe[_0x72a3c2(0x1e8)]=function(_0x431c45,_0x57e570){return _0x431c45>_0x57e570;};const _0x588cca=_0x90b7fe;let _0x2678a1=_0x2da06d[_0x72a3c2(0x1f6)](_0x5ec1a0=>_0x5ec1a0==='--env');_0x588cca[_0x72a3c2(0x1f7)](_0x2678a1,-0x1)&&_0x2da06d['splice'](_0x2678a1,0x2),_0x2678a1=_0x2da06d['findIndex'](_0x1c9da4=>_0x1c9da4==='-e'),_0x588cca[_0x72a3c2(0x1e8)](_0x2678a1,-0x1)&&_0x2da06d[_0x72a3c2(0x1c9)](_0x2678a1,0x2);};function run(_0x38747a,_0x5be42d){const _0x5c1029=a31_0x5c3ac4,_0x1f2f35={'puXlg':_0x5c1029(0x1d5),'tKMvX':function(_0x56bde2,_0x28580e){return _0x56bde2+_0x28580e;},'baGXg':_0x5c1029(0x1dc),'jIppr':function(_0x4048ef,_0x1ed41d,_0x10ad1a){return _0x4048ef(_0x1ed41d,_0x10ad1a);},'qHJfh':_0x5c1029(0x1e3),'ZFawK':_0x5c1029(0x1d2),'bwzae':function(_0x1c9ad2,_0x331715){return _0x1c9ad2===_0x331715;},'STavm':'nightwatch-browserstack.json','cwjWe':function(_0x262e0b,_0x4c1771){return _0x262e0b(_0x4c1771);},'TtMPr':function(_0x2f4d7f,_0x51fa2a,_0x3367a7,_0x2732df){return _0x2f4d7f(_0x51fa2a,_0x3367a7,_0x2732df);},'hvjwu':_0x5c1029(0x1c6),'zRWfN':_0x5c1029(0x1f4),'eHjQQ':'--env','xcVnJ':_0x5c1029(0x1ee),'JxuNq':_0x5c1029(0x200)},_0x4db865=new BrowserStackSetup(_0x38747a);if(!_0x4db865['config'])return;const _0x455052=_0x1f2f35['jIppr'](getUserNightwatchConfigs,_0x38747a,_0x5be42d),_0x532150={};_0x532150[_0x5c1029(0x1fd)]=![];const _0x3478c7={};_0x3478c7[_0x5c1029(0x1c7)]=_0x1f2f35[_0x5c1029(0x1ed)],_0x3478c7[_0x5c1029(0x1fb)]=0x1bb;const _0x2fa4a5={};_0x2fa4a5[_0x5c1029(0x1de)]=_0x532150,_0x2fa4a5[_0x5c1029(0x1d8)]=_0x3478c7;const _0x55f780=_0x2fa4a5;logger[_0x5c1029(0x1da)](_0x1f2f35['ZFawK']);const _0x54f226={..._0x455052},_0x13b0db=_0x54f226,_0x5b7ef6=helper['useW3C'](_0x4db865[_0x5c1029(0x1e2)]),_0x2cdd47=[];_0x4db865[_0x5c1029(0x1e2)]['platforms'][_0x5c1029(0x1d7)]((_0x5379f5,_0x5f33fe)=>{const _0x5d9dab=_0x5c1029;_0x5b7ef6?_0x2cdd47[_0x5d9dab(0x207)](helper['modifyBrowserStackW3CCaps'](_0x4db865['config'],_0x1f2f35[_0x5d9dab(0x1e5)],_0x5f33fe)):_0x2cdd47[_0x5d9dab(0x207)](helper[_0x5d9dab(0x1c2)](_0x4db865[_0x5d9dab(0x1e2)],_0x1f2f35['puXlg'],_0x5f33fe));});const _0x1d6159={},_0x2bd12b=[];_0x38747a['env']=_0x38747a[_0x5c1029(0x1d0)]||_0x38747a['e'];const _0x4892b6=_0x38747a[_0x5c1029(0x1d0)]?_0x38747a[_0x5c1029(0x1d0)][_0x5c1029(0x1e0)]()[_0x5c1029(0x1d6)](',')['map'](_0x54a8a6=>_0x54a8a6['trim']())['filter'](_0x3917ed=>_0x3917ed!==''):[''];_0x1f2f35[_0x5c1029(0x1eb)](_0x4892b6['length'],0x0)&&_0x4892b6[_0x5c1029(0x207)]('');_0x4892b6[_0x5c1029(0x1d7)](_0x21388d=>{const _0x53ef2c=_0x5c1029,_0x3622b3={'wTYwN':function(_0x3a3789,_0x5a89c2){const _0xdab021=a31_0x484c;return _0x1f2f35[_0xdab021(0x1db)](_0x3a3789,_0x5a89c2);},'bTdZk':_0x1f2f35[_0x53ef2c(0x1f3)]};_0x2cdd47[_0x53ef2c(0x1d7)](_0x78a229=>{const _0x4587e4=_0x53ef2c;let _0x3a1478=_0x3622b3['wTYwN'](helper[_0x4587e4(0x1e6)](_0x78a229,'_'),'_'+Date[_0x4587e4(0x1df)]());_0x21388d&&(_0x3a1478+='_'+_0x21388d);if(_0x21388d&&(!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]]||!_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d]))return;const _0x322a20={..._0x55f780};_0x322a20[_0x4587e4(0x202)]=_0x78a229;const _0x2ecb7f=_0x322a20;_0x1d6159[_0x3a1478]=_0x21388d?helper[_0x4587e4(0x1e7)](_0x455052[_0x3622b3[_0x4587e4(0x1c4)]][_0x21388d],_0x2ecb7f):_0x2ecb7f,_0x2bd12b[_0x4587e4(0x207)](_0x3a1478);});});!_0x13b0db[_0x5c1029(0x1dc)]&&(_0x13b0db['test_settings']={});_0x13b0db[_0x5c1029(0x1dc)]={..._0x13b0db[_0x5c1029(0x1dc)],..._0x1d6159};const _0x819c82=path['join'](__dirname,_0x1f2f35['STavm']);fs[_0x5c1029(0x1fc)](_0x819c82,JSON[_0x5c1029(0x1cf)](_0x13b0db)),_0x1f2f35['cwjWe'](removeExistingEnvs,_0x5be42d);const _0x486cc8=_0x1f2f35[_0x5c1029(0x1fe)](spawn,/^win/['test'](process[_0x5c1029(0x1dd)])?_0x1f2f35[_0x5c1029(0x1c1)]:_0x1f2f35[_0x5c1029(0x1e5)],[_0x1f2f35['zRWfN'],_0x819c82,..._0x5be42d[_0x5c1029(0x1fa)](0x1),_0x1f2f35[_0x5c1029(0x1d1)],_0x2bd12b['join'](',')],{'stdio':_0x1f2f35['xcVnJ']});_0x486cc8['on'](_0x1f2f35['JxuNq'],async _0x3fc011=>{const _0x967aaa=_0x5c1029;logger[_0x967aaa(0x1c8)](_0x967aaa(0x1f2)+_0x3fc011),logger[_0x967aaa(0x1da)](_0x967aaa(0x1cd)+_0x819c82),fs[_0x967aaa(0x1d4)](_0x819c82);});}module[a31_0x5c3ac4(0x201)]=run;function a31_0x484c(_0x30900b,_0x4de574){const _0x1a44ed=a31_0x1a44();return a31_0x484c=function(_0x484c75,_0x3e4c19){_0x484c75=_0x484c75-0x1c1;let _0x227791=_0x1a44ed[_0x484c75];return _0x227791;},a31_0x484c(_0x30900b,_0x4de574);}function a31_0x1a44(){const _0x95122d=['inherit','nightwatch.json','gwFwB','nightwatch.conf.js','child\x20process\x20exited\x20with\x20code\x20','baGXg','--config','../utils/constants','findIndex','SkghD','../../helpers/logger','CTqkx','slice','port','writeFileSync','start_process','TtMPr','Getting\x20your\x20nightwatch\x20configs\x20from\x20','close','exports','desiredCapabilities','56135400lJvoIm','join','877968ndAeWG','1440mgMmEp','push','3bSJpgM','cwd','hvjwu','modifyBrowserStackCaps','child_process','bTdZk','../../helpers/BrowserStackSetup','nightwatch.cmd','host','debug','splice','5460556NMHrpA','EoTxk','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','Deleting\x20','3753995MXFSbj','stringify','env','eHjQQ','Adding\x20browserstack\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','1690832NwfLHZ','unlinkSync','nightwatch','split','forEach','selenium','33290vNAZhT','info','tKMvX','test_settings','platform','webdriver','now','trim','../../helpers/helper','config','hub.browserstack.com','35392kkbhqz','puXlg','getPlatformName','mergeDeep','JjHcd','existsSync','winstonLogger','bwzae','1350MaaFxD','qHJfh'];a31_0x1a44=function(){return _0x95122d;};return a31_0x1a44();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a32_0x45786d=a32_0x16c3;function a32_0x16c3(_0x4cbbaa,_0x2f660d){const _0x4f38ee=a32_0x4f38();return a32_0x16c3=function(_0x16c30d,_0x5d76dc){_0x16c30d=_0x16c30d-0x7e;let _0x5e3156=_0x4f38ee[_0x16c30d];return _0x5e3156;},a32_0x16c3(_0x4cbbaa,_0x2f660d);}(function(_0x1bc5a4,_0x372d6a){const _0x1b642f=a32_0x16c3,_0xb7747a=_0x1bc5a4();while(!![]){try{const _0x16c69c=-parseInt(_0x1b642f(0xa5))/0x1+-parseInt(_0x1b642f(0x80))/0x2+parseInt(_0x1b642f(0xb0))/0x3+-parseInt(_0x1b642f(0xd5))/0x4*(parseInt(_0x1b642f(0xd0))/0x5)+parseInt(_0x1b642f(0x8f))/0x6*(-parseInt(_0x1b642f(0xa6))/0x7)+parseInt(_0x1b642f(0xac))/0x8*(parseInt(_0x1b642f(0xcc))/0x9)+parseInt(_0x1b642f(0x92))/0xa*(parseInt(_0x1b642f(0x9f))/0xb);if(_0x16c69c===_0x372d6a)break;else _0xb7747a['push'](_0xb7747a['shift']());}catch(_0x609c09){_0xb7747a['push'](_0xb7747a['shift']());}}}(a32_0x4f38,0x92e2f));const util=require(a32_0x45786d(0x96)),logger=require('../../helpers/logger')[a32_0x45786d(0xd8)],{isAccessibilityAutomationSession}=require(a32_0x45786d(0x8b)),{isUndefined}=require('../../helpers/helper'),scripts=require('../../helpers/accessibility-automation/scripts');exports[a32_0x45786d(0xde)]=async(_0x48f39d,_0x4728a3,_0x474ad2={})=>{const _0x843c43=a32_0x45786d,_0x48cce4={};_0x48cce4['oqdXT']=_0x843c43(0xc7);const _0x57b040=_0x48cce4;return await _0x48f39d[_0x843c43(0xa9)](_0x843c43(0xcb)+_0x4728a3['replace'](/arguments/g,_0x57b040['oqdXT'])+_0x843c43(0xa7)+JSON['stringify'](_0x474ad2)+')');},exports[a32_0x45786d(0xe0)]=async(_0x32e6fa,_0x5e615e,_0x538dfa={})=>{const _0x3020ea=a32_0x45786d,_0x295189={};_0x295189[_0x3020ea(0xaf)]=function(_0x56d118,_0x1ce827){return _0x56d118===_0x1ce827;},_0x295189['sWJVe']=_0x3020ea(0xc1),_0x295189[_0x3020ea(0x90)]=function(_0x1b8a30,_0x5d2c26){return _0x1b8a30===_0x5d2c26;},_0x295189['tffKe']=_0x3020ea(0xe4),_0x295189[_0x3020ea(0x83)]=_0x3020ea(0xc7);const _0x27464e=_0x295189;if(_0x27464e['YtLuX'](_0x32e6fa['constructor']['name'],_0x27464e[_0x3020ea(0xc4)]))return await _0x32e6fa[_0x3020ea(0xb9)](_0x5e615e,_0x538dfa);else{if(_0x27464e[_0x3020ea(0x90)](_0x32e6fa[_0x3020ea(0xaa)]['name'],_0x27464e[_0x3020ea(0x93)]))return await _0x32e6fa[_0x3020ea(0x99)](_0x3020ea(0x8a)+_0x5e615e[_0x3020ea(0xdc)](/arguments/g,_0x27464e[_0x3020ea(0x83)])+_0x3020ea(0xc5)+JSON[_0x3020ea(0x9e)](_0x538dfa)+')');}},exports[a32_0x45786d(0xb6)]=async _0xf9dea7=>{const _0x69207d=a32_0x45786d,_0x997b81={};_0x997b81[_0x69207d(0xa2)]=_0x69207d(0xb4),_0x997b81[_0x69207d(0xa8)]='accessibilityOptions.scannerProcessingTimeout',_0x997b81[_0x69207d(0xe5)]=_0x69207d(0x85),_0x997b81[_0x69207d(0xa3)]=_0x69207d(0x7e),_0x997b81['quzYO']=_0x69207d(0xd4),_0x997b81[_0x69207d(0xd9)]=_0x69207d(0xa4);const _0x16e31d=_0x997b81;_0xf9dea7[_0x69207d(0x97)]&&(_0xf9dea7['accessibilityOptions'][_0x69207d(0xc3)]&&(_0xf9dea7[_0x16e31d['reClP']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0xc3)]),_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x95)]&&(_0xf9dea7[_0x16e31d[_0x69207d(0xa8)]]=_0xf9dea7['accessibilityOptions']['scannerProcessingTimeout']),_0xf9dea7['accessibilityOptions'][_0x69207d(0x88)]&&(_0xf9dea7[_0x16e31d['pJHGG']]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xdb)],_0xf9dea7[_0x16e31d[_0x69207d(0xa3)]]=_0xf9dea7[_0x69207d(0x97)][_0x69207d(0x88)][_0x69207d(0xd2)]));const _0x1c3767=JSON['parse'](process[_0x69207d(0xa1)][_0x69207d(0xb7)])[_0x69207d(0xb1)];_0xf9dea7[_0x16e31d[_0x69207d(0xca)]]=process['env']['BS_A11Y_JWT'],_0xf9dea7[_0x16e31d[_0x69207d(0xd9)]]=_0x1c3767,delete _0xf9dea7[_0x69207d(0x97)];},exports[a32_0x45786d(0x9c)]=async _0x30750c=>{const _0x3296b3=a32_0x45786d,_0x5e813b={};_0x5e813b['oCFzB']=_0x3296b3(0x9d),_0x5e813b['ApJNj']=_0x3296b3(0x8e);const _0x162683=_0x5e813b;if(global[_0x3296b3(0xe3)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x30750c,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x30750c,scripts.getResults);return res;}catch{return logger[_0x3296b3(0x91)](_0x162683['oCFzB']),[];}else return logger[_0x3296b3(0x87)](_0x162683['ApJNj']),[];},exports[a32_0x45786d(0xa0)]=async(_0x58e58c,_0x1e7a0f='')=>{const _0x3e9c96=a32_0x45786d;if(global['accessibilityPlatform']){const _0x14ef78={};return _0x14ef78[_0x3e9c96(0xbc)]=_0x1e7a0f,await exports[_0x3e9c96(0xde)](_0x58e58c,scripts[_0x3e9c96(0xa0)],_0x14ef78);}},exports[a32_0x45786d(0xc9)]=async _0x2cb80d=>{const _0x46dbae=a32_0x45786d,_0x373085={};_0x373085[_0x46dbae(0x82)]=_0x46dbae(0xe1),_0x373085['GqBLR']=_0x46dbae(0xc2);const _0x1a0e20=_0x373085;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x2cb80d,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x2cb80d,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x46dbae(0x86)](_0x1a0e20[_0x46dbae(0x82)]),{};}else return logger[_0x46dbae(0x87)](_0x1a0e20[_0x46dbae(0xda)]),{};},exports[a32_0x45786d(0xdd)]=async _0x25374c=>{const _0x5f096a=a32_0x45786d,_0x4ecc5b={'iBJKo':function(_0x7de42,_0xf7c4d2){return _0x7de42!==_0xf7c4d2;},'nFHPw':_0x5f096a(0x81),'lAAuG':function(_0x4029d1,_0x2f7e69){return _0x4029d1===_0x2f7e69;},'BjyDA':_0x5f096a(0xab),'iBvGo':function(_0x683331,_0x5783ac){return _0x683331===_0x5783ac;},'lCxeC':_0x5f096a(0xd3),'LXszY':_0x5f096a(0xcf),'XGqUj':function(_0x5029a3,_0x63c41a){return _0x5029a3(_0x63c41a);},'yNgeC':_0x5f096a(0xba),'zOUxa':function(_0x1c21eb,_0x122f93){return _0x1c21eb>_0x122f93;},'pJKSQ':_0x5f096a(0x94)};try{if(!_0x4ecc5b[_0x5f096a(0x89)](_0x25374c[_0x5f096a(0xcd)],''))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0xae)]),![];const _0x5ada35=_0x25374c[_0x5f096a(0xb2)];if(!(_0x4ecc5b['lAAuG'](_0x5ada35,_0x4ecc5b[_0x5f096a(0xbf)])||_0x4ecc5b[_0x5f096a(0x8c)](_0x5ada35,_0x4ecc5b[_0x5f096a(0x9a)])))return logger['warn'](_0x4ecc5b[_0x5f096a(0x7f)]),![];const _0x15d89d=_0x4ecc5b[_0x5f096a(0xc0)](parseInt,_0x25374c[_0x5f096a(0x8d)]);if(!(_0x4ecc5b[_0x5f096a(0xc8)](_0x15d89d,_0x4ecc5b[_0x5f096a(0xb5)])||_0x4ecc5b[_0x5f096a(0x98)](_0x15d89d,0x5e)))return logger[_0x5f096a(0x87)](_0x4ecc5b[_0x5f096a(0x84)]),![];}catch(_0x112b20){logger['debug'](_0x5f096a(0xd6)+util['format'](_0x112b20));}return!![];},exports['processAccessibilityCaps']=(_0x25ae26,_0x2acea4,_0x5868d4)=>{const _0x3d2b7f=a32_0x45786d,_0x194b84={'EvABe':function(_0x2284d2){return _0x2284d2();},'cQDwq':'browserstack.accessibility','AIpvA':function(_0x19f5a5,_0x32fa01){return _0x19f5a5===_0x32fa01;},'pBCCQ':_0x3d2b7f(0xab),'NhWSR':'playwright-chromium','gFRej':_0x3d2b7f(0xcf),'yNSge':_0x3d2b7f(0xba),'DhbQe':function(_0x2707a0,_0x343a56){return _0x2707a0>_0x343a56;},'NQBiR':'Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','FuYab':function(_0x284edd,_0xd810dc){return _0x284edd(_0xd810dc);},'BzFQz':_0x3d2b7f(0x81),'cdTsV':function(_0x4833e2,_0x118be7){return _0x4833e2+_0x118be7;},'TVAlT':function(_0x38ec18,_0x12b222){return _0x38ec18(_0x12b222);}};try{if(_0x194b84[_0x3d2b7f(0xbb)](isAccessibilityAutomationSession)){global[_0x3d2b7f(0xe3)]=!![];!_0x25ae26[_0x194b84['cQDwq']]&&(global['accessibilityPlatform']=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['pBCCQ'])||_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0xd7)],_0x194b84['NhWSR']))&&(logger[_0x3d2b7f(0x87)](_0x194b84[_0x3d2b7f(0xe2)]),global[_0x3d2b7f(0xe3)]=![]);!(_0x194b84[_0x3d2b7f(0x9b)](_0x25ae26[_0x3d2b7f(0x8d)],_0x194b84[_0x3d2b7f(0xdf)])||_0x194b84['DhbQe'](_0x25ae26[_0x3d2b7f(0x8d)],0x5e))&&(logger[_0x3d2b7f(0x87)](_0x194b84['NQBiR']),global[_0x3d2b7f(0xe3)]=![]);!_0x194b84[_0x3d2b7f(0xad)](isUndefined,_0x25ae26[_0x3d2b7f(0xcd)])&&(logger['warn'](_0x194b84['BzFQz']),global[_0x3d2b7f(0xe3)]=![]);if(!global[_0x3d2b7f(0xe3)]){_0x25ae26[_0x194b84[_0x3d2b7f(0xb3)]]=![];const _0x1f7743=_0x194b84[_0x3d2b7f(0xbe)](_0x2acea4,_0x194b84['TVAlT'](encodeURIComponent,JSON[_0x3d2b7f(0x9e)](_0x25ae26)));_0x5868d4&&(_0x5868d4['currentTest'][_0x3d2b7f(0xb8)]['project'][_0x3d2b7f(0xbd)][_0x3d2b7f(0xd1)][_0x3d2b7f(0xc6)]=_0x1f7743);}}}catch(_0x2009bd){logger[_0x3d2b7f(0x86)]('Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20'+util[_0x3d2b7f(0xce)](_0x2009bd));}};function a32_0x4f38(){const _0xdc9a=['accessibilityOptions.includeIssueType.needsReview','LXszY','870422vJCrYs','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','vsFkS','RZPPp','pJKSQ','accessibilityOptions.includeIssueType.bestPractice','debug','warn','includeIssueType','iBJKo','(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20\x20\x20','../../helpers/accessibility-automation/helper','iBvGo','browser_version','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','21954hhksPj','nfQHu','error','7176880huJwWQ','tffKe','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','scannerProcessingTimeout','util','accessibilityOptions','zOUxa','executeScript','lCxeC','AIpvA','getAccessibilityResults','No\x20accessibility\x20results\x20were\x20found.','stringify','22ewobGS','performScan','env','reClP','TjuPI','accessibilityOptions.scannerVersion','604096xBwHAt','2198oIKCUS','\x0a\x20\x20\x20\x20})\x0a\x20\x20})(','uEDEu','evaluate','constructor','chrome','238176zMwZgs','FuYab','nFHPw','YtLuX','1935675PUhfNq','scannerVersion','browser','cQDwq','accessibilityOptions.wcagVersion','yNgeC','setAccessibilityCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testInfo','executeAsyncScript','latest','EvABe','method','use','cdTsV','BjyDA','XGqUj','WebDriver','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','wcagVersion','sWJVe','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','wsEndpoint','bstackSdkArgs','lAAuG','getAccessibilityResultsSummary','quzYO','(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','306CHuXhf','deviceName','format','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','1514845dvmIhR','connectOptions','needsReview','playwright-chromium','accessibilityOptions.authToken','4UGfrOr','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','browserName','winstonLogger','JnWMO','GqBLR','bestPractice','replace','platformValidation','browserStackEvaluate','yNSge','browserStackExecuteDriver','No\x20summaryResults\x20found.','gFRej','accessibilityPlatform','Playwright','pJHGG'];a32_0x4f38=function(){return _0xdc9a;};return a32_0x4f38();}
|
|
1
|
+
function a32_0x3e98(){const _0x1ad0ed=['WebDriver','IohnX','env','browserstack.accessibility','No\x20summaryResults\x20found.','9208485xjFvCe','zNMXN','../../helpers/accessibility-automation/helper','iRszg','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browser\x20version\x20greater\x20than\x2094.','accessibilityOptions.wcagVersion','XhJVc','11763598YZdDqr','latest','aPxGW','method','pITOY','176684gbeMvT','xiJTs','accessibilityOptions.includeIssueType.bestPractice','constructor','GQFAU','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Chrome\x20browsers.','pjhrk','Exception\x20in\x20validation\x20for\x20launch\x20browser\x20for\x20accessibility.\x20Error:\x20','getAccessibilityResults','220596eJZYFy','project','browser','11940896CSJASY','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','vkINE','lIhor','accessibilityOptions.includeIssueType.needsReview','oSAEh','iaYzd','../../helpers/logger','1814384gKbjrI','connectOptions','JTKvJ','TGifv','tImqB','name','lVPjV','YhveM','chrome','../../helpers/accessibility-automation/scripts','Platform\x20validation\x20for\x20a11y\x20failed\x20with:\x20','stringify','scannerVersion','xfqgf','AYPNl','winstonLogger','executeAsyncScript','format','deviceName','scannerProcessingTimeout','IEmxW','wsEndpoint','testInfo','XeIcV','../../helpers/helper','bfqhl','110NpntZo','playwright-chromium','use','performScan','\x0a\x20\x20\x20\x20\x20\x20})\x0a\x20\x20\x20\x20})(','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','FQaex','debug','POlqa','platformValidation','needsReview','accessibilityPlatform','aniEz','XaADm','pifer','bestPractice','ElPpN','Accessibility\x20Automation\x20will\x20run\x20only\x20on\x20Desktop\x20browsers.','browserStackExecuteDriver','(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','browser_version','accessibilityOptions.scannerProcessingTimeout','ztIBw','replace','vbOMl','browserStackEvaluate','util','accessibilityOptions','bstackSdkArgs','warn','includeIssueType','rSEji','YfIIZ','21uiuKbe','HDHhe','KBSkX','477328Lejptb','sNzYW','getAccessibilityResultsSummary','browserName','wcagVersion','qkaaO','Zgomi'];a32_0x3e98=function(){return _0x1ad0ed;};return a32_0x3e98();}const a32_0x4f1400=a32_0x4d38;(function(_0x7b238,_0x37a4fa){const _0x47300b=a32_0x4d38,_0x247cef=_0x7b238();while(!![]){try{const _0x373c49=parseInt(_0x47300b(0x1e7))/0x1+-parseInt(_0x47300b(0x213))/0x2+-parseInt(_0x47300b(0x1e4))/0x3*(parseInt(_0x47300b(0x1ff))/0x4)+-parseInt(_0x47300b(0x22d))/0x5*(-parseInt(_0x47300b(0x208))/0x6)+-parseInt(_0x47300b(0x1fa))/0x7+parseInt(_0x47300b(0x20b))/0x8+parseInt(_0x47300b(0x1f3))/0x9;if(_0x373c49===_0x37a4fa)break;else _0x247cef['push'](_0x247cef['shift']());}catch(_0x4f1c0c){_0x247cef['push'](_0x247cef['shift']());}}}(a32_0x3e98,0xdcf5e));const util=require(a32_0x4f1400(0x1dd)),logger=require(a32_0x4f1400(0x212))[a32_0x4f1400(0x222)],{isAccessibilityAutomationSession}=require(a32_0x4f1400(0x1f5)),{isUndefined}=require(a32_0x4f1400(0x22b)),scripts=require(a32_0x4f1400(0x21c));function a32_0x4d38(_0x3a7b00,_0x3bc3b8){const _0x3e980=a32_0x3e98();return a32_0x4d38=function(_0x4d3857,_0x2a3a76){_0x4d3857=_0x4d3857-0x1db;let _0x5c7728=_0x3e980[_0x4d3857];return _0x5c7728;},a32_0x4d38(_0x3a7b00,_0x3bc3b8);}exports[a32_0x4f1400(0x1dc)]=async(_0x3a12e4,_0x219691,_0x47a553={})=>{const _0x544f5d=a32_0x4f1400,_0x33e045={};_0x33e045['JkLho']=_0x544f5d(0x1df);const _0x2c50a5=_0x33e045;return await _0x3a12e4['evaluate']('(function\x20(...bstackSdkArgs)\x20{\x0a\x20\x20\x20\x20return\x20new\x20Promise((resolve,\x20reject)\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20bstackSdkArgs.push(resolve);\x0a\x20\x20\x20\x20\x20\x20'+_0x219691[_0x544f5d(0x244)](/arguments/g,_0x2c50a5['JkLho'])+'\x0a\x20\x20\x20\x20})\x0a\x20\x20})('+JSON['stringify'](_0x47a553)+')');},exports[a32_0x4f1400(0x23f)]=async(_0x15617d,_0x2dbc11,_0x6b8acf={})=>{const _0x81e7d0=a32_0x4f1400,_0x914ef={};_0x914ef[_0x81e7d0(0x211)]=function(_0x55dc6d,_0x282031){return _0x55dc6d===_0x282031;},_0x914ef[_0x81e7d0(0x1ec)]=_0x81e7d0(0x1ee),_0x914ef['AYPNl']=function(_0x1ee667,_0x5d558a){return _0x1ee667===_0x5d558a;},_0x914ef[_0x81e7d0(0x200)]='Playwright',_0x914ef[_0x81e7d0(0x210)]=_0x81e7d0(0x1df);const _0x1275de=_0x914ef;if(_0x1275de[_0x81e7d0(0x211)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de['qkaaO']))return await _0x15617d[_0x81e7d0(0x223)](_0x2dbc11,_0x6b8acf);else{if(_0x1275de[_0x81e7d0(0x221)](_0x15617d[_0x81e7d0(0x202)][_0x81e7d0(0x218)],_0x1275de[_0x81e7d0(0x200)]))return await _0x15617d['executeScript'](_0x81e7d0(0x240)+_0x2dbc11[_0x81e7d0(0x244)](/arguments/g,_0x1275de[_0x81e7d0(0x210)])+_0x81e7d0(0x231)+JSON[_0x81e7d0(0x21e)](_0x6b8acf)+')');}},exports['setAccessibilityCapabilities']=async _0x582800=>{const _0x439475=a32_0x4f1400,_0x1ecc9b={};_0x1ecc9b[_0x439475(0x1ef)]=_0x439475(0x1f8),_0x1ecc9b[_0x439475(0x203)]=_0x439475(0x242),_0x1ecc9b['ElPpN']=_0x439475(0x201),_0x1ecc9b['XaADm']=_0x439475(0x20f),_0x1ecc9b[_0x439475(0x205)]='accessibilityOptions.authToken',_0x1ecc9b[_0x439475(0x220)]='accessibilityOptions.scannerVersion';const _0x41d576=_0x1ecc9b;_0x582800['accessibilityOptions']&&(_0x582800[_0x439475(0x1de)][_0x439475(0x1eb)]&&(_0x582800[_0x41d576['IohnX']]=_0x582800['accessibilityOptions'][_0x439475(0x1eb)]),_0x582800[_0x439475(0x1de)][_0x439475(0x226)]&&(_0x582800[_0x41d576[_0x439475(0x203)]]=_0x582800['accessibilityOptions']['scannerProcessingTimeout']),_0x582800['accessibilityOptions'][_0x439475(0x1e1)]&&(_0x582800[_0x41d576[_0x439475(0x23d)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x23c)],_0x582800[_0x41d576[_0x439475(0x23a)]]=_0x582800[_0x439475(0x1de)][_0x439475(0x1e1)][_0x439475(0x237)]));const _0xee807c=JSON['parse'](process[_0x439475(0x1f0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'])[_0x439475(0x21f)];_0x582800[_0x41d576[_0x439475(0x205)]]=process[_0x439475(0x1f0)]['BS_A11Y_JWT'],_0x582800[_0x41d576[_0x439475(0x220)]]=_0xee807c,delete _0x582800[_0x439475(0x1de)];},exports[a32_0x4f1400(0x207)]=async _0x135206=>{const _0x22bf16=a32_0x4f1400,_0x11565d={};_0x11565d['KBSkX']='No\x20accessibility\x20results\x20were\x20found.',_0x11565d[_0x22bf16(0x1fe)]=_0x22bf16(0x20c);const _0x404694=_0x11565d;if(global[_0x22bf16(0x238)])try{logger.debug('Performing scan before getting results');logger.debug(util.format(await exports.browserStackEvaluate(_0x135206,scripts.performScan)));const res=await exports.browserStackEvaluate(_0x135206,scripts.getResults);return res;}catch{return logger['error'](_0x404694[_0x22bf16(0x1e6)]),[];}else return logger['warn'](_0x404694['pITOY']),[];},exports[a32_0x4f1400(0x230)]=async(_0xb23771,_0x1fb911='')=>{const _0x14d261=a32_0x4f1400;if(global[_0x14d261(0x238)]){const _0x35e2ef={};return _0x35e2ef[_0x14d261(0x1fd)]=_0x1fb911,await exports[_0x14d261(0x1dc)](_0xb23771,scripts['performScan'],_0x35e2ef);}},exports[a32_0x4f1400(0x1e9)]=async _0x503979=>{const _0x5333e1=a32_0x4f1400,_0x39a103={};_0x39a103[_0x5333e1(0x23b)]=_0x5333e1(0x1f2),_0x39a103[_0x5333e1(0x1f9)]=_0x5333e1(0x232);const _0x58b9e4=_0x39a103;if(global['accessibilityPlatform'])try{logger.debug('Performing scan before getting results summary');logger.debug(util.format(await exports.browserStackEvaluate(_0x503979,scripts.performScan)));const summaryResults=await exports.browserStackEvaluate(_0x503979,scripts.getResultsSummary);return summaryResults;}catch{return logger[_0x5333e1(0x234)](_0x58b9e4[_0x5333e1(0x23b)]),{};}else return logger['warn'](_0x58b9e4['XhJVc']),{};},exports[a32_0x4f1400(0x236)]=async _0xfc7d8b=>{const _0xaba715=a32_0x4f1400,_0x232e4c={'bfqhl':function(_0x1a0547,_0x4ac5f9){return _0x1a0547!==_0x4ac5f9;},'zNMXN':_0xaba715(0x23e),'JTKvJ':function(_0x2d4996,_0x3c2c6e){return _0x2d4996===_0x3c2c6e;},'YhveM':_0xaba715(0x21b),'YzztZ':function(_0x14e1fe,_0x4e1f31){return _0x14e1fe===_0x4e1f31;},'TGifv':_0xaba715(0x22e),'KTwxR':_0xaba715(0x204),'vkINE':function(_0x49c83b,_0x4e7dd7){return _0x49c83b(_0x4e7dd7);},'lVPjV':function(_0x212022,_0x25fa5f){return _0x212022===_0x25fa5f;},'lIhor':_0xaba715(0x1fb),'XeIcV':function(_0x25dd05,_0x2e8b49){return _0x25dd05>_0x2e8b49;},'IEmxW':_0xaba715(0x1f7)};try{if(!_0x232e4c[_0xaba715(0x22c)](_0xfc7d8b['deviceName'],''))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x1f4)]),![];const _0x4a6074=_0xfc7d8b[_0xaba715(0x20a)];if(!(_0x232e4c[_0xaba715(0x215)](_0x4a6074,_0x232e4c[_0xaba715(0x21a)])||_0x232e4c['YzztZ'](_0x4a6074,_0x232e4c[_0xaba715(0x216)])))return logger[_0xaba715(0x1e0)](_0x232e4c['KTwxR']),![];const _0x122e60=_0x232e4c[_0xaba715(0x20d)](parseInt,_0xfc7d8b[_0xaba715(0x241)]);if(!(_0x232e4c[_0xaba715(0x219)](_0x122e60,_0x232e4c[_0xaba715(0x20e)])||_0x232e4c[_0xaba715(0x22a)](_0x122e60,0x5e)))return logger[_0xaba715(0x1e0)](_0x232e4c[_0xaba715(0x227)]),![];}catch(_0x251bd2){logger[_0xaba715(0x234)](_0xaba715(0x21d)+util[_0xaba715(0x224)](_0x251bd2));}return!![];},exports['processAccessibilityCaps']=(_0x200418,_0x29b747,_0x51cf7e)=>{const _0x43a601=a32_0x4f1400,_0x5bfec5={'vbOMl':function(_0x287d71){return _0x287d71();},'HDHhe':_0x43a601(0x1f1),'sNzYW':function(_0x253cac,_0x4d2115){return _0x253cac===_0x4d2115;},'YfIIZ':'chrome','rSEji':_0x43a601(0x22e),'FQaex':_0x43a601(0x204),'iRszg':function(_0x3355db,_0x3dec9b){return _0x3355db===_0x3dec9b;},'tImqB':'latest','aPxGW':function(_0x58ae2d,_0x2e4d32){return _0x58ae2d>_0x2e4d32;},'Zgomi':_0x43a601(0x1f7),'aniEz':function(_0x44575f,_0x6bbc9b){return _0x44575f(_0x6bbc9b);},'POlqa':_0x43a601(0x23e),'CECGE':function(_0x20c76c,_0x22a52e){return _0x20c76c+_0x22a52e;},'ztIBw':function(_0x3f61d2,_0xdff7e1){return _0x3f61d2(_0xdff7e1);}};try{if(_0x5bfec5[_0x43a601(0x1db)](isAccessibilityAutomationSession)){global[_0x43a601(0x238)]=!![];!_0x200418[_0x5bfec5[_0x43a601(0x1e5)]]&&(global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1e8)](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e3)])||_0x5bfec5['sNzYW'](_0x200418[_0x43a601(0x1ea)],_0x5bfec5[_0x43a601(0x1e2)]))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x233)]),global[_0x43a601(0x238)]=![]);!(_0x5bfec5[_0x43a601(0x1f6)](_0x200418[_0x43a601(0x241)],_0x5bfec5[_0x43a601(0x217)])||_0x5bfec5[_0x43a601(0x1fc)](_0x200418[_0x43a601(0x241)],0x5e))&&(logger[_0x43a601(0x1e0)](_0x5bfec5[_0x43a601(0x1ed)]),global[_0x43a601(0x238)]=![]);!_0x5bfec5[_0x43a601(0x239)](isUndefined,_0x200418[_0x43a601(0x225)])&&(logger['warn'](_0x5bfec5[_0x43a601(0x235)]),global['accessibilityPlatform']=![]);if(!global[_0x43a601(0x238)]){_0x200418[_0x5bfec5['HDHhe']]=![];const _0x3ca829=_0x5bfec5['CECGE'](_0x29b747,_0x5bfec5[_0x43a601(0x243)](encodeURIComponent,JSON[_0x43a601(0x21e)](_0x200418)));_0x51cf7e&&(_0x51cf7e['currentTest'][_0x43a601(0x229)][_0x43a601(0x209)][_0x43a601(0x22f)][_0x43a601(0x214)][_0x43a601(0x228)]=_0x3ca829);}}}catch(_0x4e662e){logger['debug'](_0x43a601(0x206)+util[_0x43a601(0x224)](_0x4e662e));}};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a33_0x4596(_0x2f303a,_0x569f41){const _0x36add2=a33_0x36ad();return a33_0x4596=function(_0x459603,_0x1d1aea){_0x459603=_0x459603-0x1b8;let _0x1171d6=_0x36add2[_0x459603];return _0x1171d6;},a33_0x4596(_0x2f303a,_0x569f41);}const a33_0x110918=a33_0x4596;(function(_0x4f23cd,_0x1ff7ac){const _0x523575=a33_0x4596,_0x37c938=_0x4f23cd();while(!![]){try{const _0x420413=-parseInt(_0x523575(0x24f))/0x1*(-parseInt(_0x523575(0x1e1))/0x2)+parseInt(_0x523575(0x1f7))/0x3*(parseInt(_0x523575(0x1e4))/0x4)+parseInt(_0x523575(0x25d))/0x5+parseInt(_0x523575(0x1cb))/0x6+-parseInt(_0x523575(0x22a))/0x7+parseInt(_0x523575(0x1c1))/0x8+-parseInt(_0x523575(0x1bf))/0x9;if(_0x420413===_0x1ff7ac)break;else _0x37c938['push'](_0x37c938['shift']());}catch(_0x43f8ac){_0x37c938['push'](_0x37c938['shift']());}}}(a33_0x36ad,0x315f2));const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require(a33_0x110918(0x209)),{format}=require(a33_0x110918(0x20d)),logger=require(a33_0x110918(0x1fa))['winstonLogger'],{default:BrowserStackSetup}=require(a33_0x110918(0x1b8)),helper=require(a33_0x110918(0x25a)),constants=require('../utils/constants'),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x110918(0x26e)),{CrashReporter,o11yErrorHandler}=require(a33_0x110918(0x259)),{getFrameworkVersion}=require(a33_0x110918(0x1d9)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x110918(0x1e9)),{setAccessibilityCapabilities}=require('./accessibility-helper'),SessionHandler=require(a33_0x110918(0x218));async function requireOrImportDefaultObject(_0x53b57b){const _0x352563=a33_0x110918,_0x323220={'vpwsq':function(_0x221245){return _0x221245();},'PQVDG':function(_0x23a6d8,_0x54c5d9){return _0x23a6d8(_0x54c5d9);},'qkBxn':function(_0x56eaca,_0xb1828c){return _0x56eaca===_0xb1828c;},'HIAVK':_0x352563(0x24b),'urerR':function(_0x23fafa,_0x306012){return _0x23fafa in _0x306012;},'YblRe':_0x352563(0x276)},{requireOrImport:_0xba2b3c}=helper[_0x352563(0x23c)]['apply'](null,_0x323220[_0x352563(0x1c2)](getTransformPath));let _0x46f823=await _0x323220[_0x352563(0x1d4)](_0xba2b3c,_0x53b57b);return _0x46f823&&_0x323220[_0x352563(0x226)](typeof _0x46f823,_0x323220['HIAVK'])&&_0x323220[_0x352563(0x264)](_0x323220[_0x352563(0x227)],_0x46f823)&&(_0x46f823=_0x46f823[_0x323220[_0x352563(0x227)]]),_0x46f823;}const getUserPlaywrightConfig=async(_0x164482,_0x452774)=>{const _0x1d60e4=a33_0x110918,_0x1954f5={'IvyOp':function(_0x3755ed){return _0x3755ed();},'UQglL':function(_0x5ac034,_0x381a3f){return _0x5ac034(_0x381a3f);},'saJfI':function(_0x391e55,_0x4cbad1){return _0x391e55(_0x4cbad1);},'VoJgn':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','EgpWR':_0x1d60e4(0x1e5),'QICvt':_0x1d60e4(0x228)},_0x437f92=!helper[_0x1d60e4(0x24d)](_0x164482['config']),_0x71e516=_0x437f92?path['resolve'](process[_0x1d60e4(0x23b)](),_0x164482[_0x1d60e4(0x1d6)]):process[_0x1d60e4(0x23b)](),{resolveConfigFile:_0x76b699}=helper[_0x1d60e4(0x23c)][_0x1d60e4(0x230)](null,_0x1954f5[_0x1d60e4(0x213)](getConfigLoaderPath)),_0x2a1439=_0x1954f5[_0x1d60e4(0x25b)](_0x76b699,_0x71e516);let _0x46c6e7={};if(_0x2a1439){logger[_0x1d60e4(0x23f)]('Getting\x20your\x20playwright\x20config\x20from\x20'+_0x2a1439);try{_0x46c6e7=await _0x1954f5[_0x1d60e4(0x22f)](requireOrImportDefaultObject,_0x2a1439);}catch(_0x56692d){return logger[_0x1d60e4(0x235)](_0x1954f5[_0x1d60e4(0x245)],_0x56692d),null;}}else logger[_0x1d60e4(0x23f)](_0x1954f5[_0x1d60e4(0x233)]);if(_0x437f92){const _0x17632c=_0x452774['findIndex'](_0x5581fb=>_0x5581fb===_0x1d60e4(0x217)||_0x5581fb==='-c'||_0x5581fb[_0x1d60e4(0x1ba)](_0x1d60e4(0x228)));_0x452774[_0x1d60e4(0x219)](_0x17632c,_0x452774[_0x17632c][_0x1d60e4(0x1ba)](_0x1954f5[_0x1d60e4(0x1dd)])?0x1:0x2);}const _0x2489ff={};return _0x2489ff[_0x1d60e4(0x20a)]=_0x2a1439,_0x2489ff[_0x1d60e4(0x1d6)]=_0x46c6e7,_0x2489ff;},setGlobalSetup=(_0x4fd653,_0x37e4c6)=>{const _0x45e4d3=a33_0x110918,_0x524057={'aBYTt':_0x45e4d3(0x26a),'NacgG':_0x45e4d3(0x21c),'cgejX':function(_0x481e24,_0x2b0f8c){return _0x481e24+_0x2b0f8c;},'ztvyn':'Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','npcrF':function(_0x34e040,_0x2e1e76){return _0x34e040(_0x2e1e76);},'zekiB':_0x45e4d3(0x280)};if(!_0x4fd653)return![];try{if(_0x4fd653[_0x45e4d3(0x26a)]){let _0x11a39f;const _0x1f1922=path[_0x45e4d3(0x1e3)](_0x37e4c6,_0x4fd653[_0x524057[_0x45e4d3(0x1bc)]]);if(fs[_0x45e4d3(0x1c5)](_0x1f1922))_0x11a39f=_0x1f1922;else{const _0x2d6d20={};_0x2d6d20['paths']=[_0x37e4c6],_0x11a39f=require[_0x45e4d3(0x1e3)](_0x4fd653[_0x524057['aBYTt']],_0x2d6d20);}if(!_0x11a39f)throw new Error(_0x524057[_0x45e4d3(0x246)]);process[_0x45e4d3(0x278)][_0x45e4d3(0x1e2)]=_0x11a39f;}}catch(_0x3a36a9){logger[_0x45e4d3(0x235)](_0x524057[_0x45e4d3(0x1fe)](_0x524057[_0x45e4d3(0x1cd)],_0x524057[_0x45e4d3(0x26f)](format,_0x3a36a9)));}return _0x4fd653['globalSetup']=require[_0x45e4d3(0x1e3)](_0x524057[_0x45e4d3(0x221)]),!![];},addReporter=_0x205148=>{const _0x5b07b9=a33_0x110918,_0x1077ea={};_0x1077ea[_0x5b07b9(0x1df)]='./reporter/reporter.js',_0x1077ea['wafkQ']='reporter',_0x1077ea[_0x5b07b9(0x236)]=function(_0x32f7fc,_0x1d8d4b){return _0x32f7fc===_0x1d8d4b;},_0x1077ea['MHOla']=_0x5b07b9(0x244),_0x1077ea[_0x5b07b9(0x1d5)]=function(_0x15b1f2,_0x4f6a40){return _0x15b1f2===_0x4f6a40;},_0x1077ea[_0x5b07b9(0x1ff)]=_0x5b07b9(0x24b);const _0x4ba571=_0x1077ea,_0x59270b=path[_0x5b07b9(0x1f2)](__dirname,_0x4ba571['XFhZX']),_0x344a1e=[_0x59270b];if(helper[_0x5b07b9(0x24d)](_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[_0x344a1e];else{if(_0x4ba571[_0x5b07b9(0x236)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1dc)]))_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]=[[_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]]],_0x344a1e];else _0x4ba571[_0x5b07b9(0x1d5)](typeof _0x205148[_0x4ba571[_0x5b07b9(0x1ed)]],_0x4ba571[_0x5b07b9(0x1ff)])&&_0x205148[_0x4ba571[_0x5b07b9(0x1ed)]][_0x5b07b9(0x241)](_0x344a1e);}},handleO11yRerun=_0x24f479=>{const _0x66f766=a33_0x110918,_0x2f79e1={};_0x2f79e1[_0x66f766(0x207)]=function(_0x2a672f,_0x5ee144){return _0x2a672f!==_0x5ee144;},_0x2f79e1[_0x66f766(0x24a)]=_0x66f766(0x1fd),_0x2f79e1[_0x66f766(0x1da)]=_0x66f766(0x27c);const _0x4219b6=_0x2f79e1,_0x453c70=helper[_0x66f766(0x222)](process[_0x66f766(0x278)][_0x66f766(0x247)]);if(_0x453c70){const _0x4bc3b8=process[_0x66f766(0x278)][_0x66f766(0x269)],_0x411492=[];if(_0x4219b6[_0x66f766(0x207)](_0x4bc3b8,_0x4219b6[_0x66f766(0x24a)])&&!helper[_0x66f766(0x24d)](_0x4bc3b8)){_0x4bc3b8[_0x66f766(0x215)](',')[_0x66f766(0x216)](_0x55a528=>{const _0x163036=_0x66f766;_0x411492['push']('('+_0x55a528[_0x163036(0x202)]()+')');});const _0x5dab3d='^'+_0x411492[_0x66f766(0x1f2)]('|')+'$';_0x24f479[_0x66f766(0x241)](_0x4219b6[_0x66f766(0x1da)],_0x5dab3d);}}},spawnOriginalProcess=_0x43b92a=>{const _0x11691a=a33_0x110918,_0x387933={'rnKYb':function(_0xb9e7,_0x59d0a2,_0x4d251d,_0x211319){return _0xb9e7(_0x59d0a2,_0x4d251d,_0x211319);},'VFoTT':_0x11691a(0x1d8),'qzRXU':_0x11691a(0x21e),'FEbHV':function(_0x508577,_0x16c1a5){return _0x508577===_0x16c1a5;},'xLFQt':_0x11691a(0x23a),'CyHSZ':_0x11691a(0x1b9)};_0x387933[_0x11691a(0x279)](spawn,_0x387933[_0x11691a(0x223)],[_0x387933[_0x11691a(0x287)],..._0x43b92a['slice'](0x1)],{'shell':_0x387933['FEbHV'](process['platform'],_0x387933['xLFQt']),'stdio':_0x387933[_0x11691a(0x275)],'cwd':process[_0x11691a(0x23b)]()});},isTestCommand=(_0x5a824c,_0x2ec1cb)=>{const _0x5dd7a3=a33_0x110918,_0x249340={};_0x249340[_0x5dd7a3(0x1c7)]=function(_0x575511,_0x2e61b7){return _0x575511>_0x2e61b7;},_0x249340[_0x5dd7a3(0x27d)]=function(_0x2af57d,_0x565bc7){return _0x2af57d===_0x565bc7;},_0x249340['IVJKU']='test';const _0x52466f=_0x249340;if(_0x52466f['lWDng'](_0x2ec1cb[_0x5dd7a3(0x27b)],0x1)&&_0x52466f[_0x5dd7a3(0x27d)](_0x2ec1cb[0x1],_0x52466f[_0x5dd7a3(0x203)]))return!![];return![];},initO11yCrashReporter=(_0x569093,_0x1e1648)=>{const _0x3bb0a5=a33_0x110918,_0x1ca045={'DyYWg':function(_0x2f81cd,_0x49770f){return _0x2f81cd(_0x49770f);}},_0x379adb={'frameworkName':FRAMEWORKS[_0x3bb0a5(0x1cc)],'frameworkVersion':_0x1ca045[_0x3bb0a5(0x1d2)](getFrameworkVersion,FRAMEWORKS[_0x3bb0a5(0x1cc)])};CrashReporter['initialize'](_0x379adb,_0x569093,_0x1e1648);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x63bf4e){const _0x389eb9=a33_0x110918,_0x2e9792={};_0x2e9792[_0x389eb9(0x220)]=function(_0x1a6ce0,_0x39b897){return _0x1a6ce0>_0x39b897;},_0x2e9792['Cmyzz']=function(_0x1f33b7,_0x5069e9){return _0x1f33b7===_0x5069e9;};const _0x363cec=_0x2e9792;if(!_0x63bf4e||_0x363cec[_0x389eb9(0x220)](_0x63bf4e[_0x389eb9(0x27b)],0x1)&&_0x363cec[_0x389eb9(0x256)](_0x63bf4e[0x0],null))return process[_0x389eb9(0x278)][_0x389eb9(0x212)]=![],![];return!![];});function a33_0x36ad(){const _0x5975c1=['parse','isUndefined','mUiaY','122MiYEFC','DFFwe','testContextOptions','--disable-test-observability','close','project','RpJkP','Cmyzz','Error\x20in\x20getting\x20funnel\x20data\x20results','logLevel','../../helpers/test-observability/error-handler','../../helpers/helper','UQglL','automation','1744035RdhFvv','concat','accessibilityOptions','testDir','3|0|6|2|5|1|4|8|7','debug','BS_A11Y_TEST_RUN_ID','urerR','wyOXf','PACKAGE_TYPE','TUQOj','MODULE','BROWSERSTACK_RERUN_TESTS','globalSetup','Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','false','Playwright\x20process\x20exited\x20with\x20code\x20','./reporter/pwUtils','npcrF','BROWSERSTACK_TEST_ACCESSIBILITY_YML','sQtiT','pcPbX','NaKjn','dhMZV','CyHSZ','default','collectFilesForProject','env','rnKYb','finalExecution','length','--grep','dqkJJ','rQvBD','eeQby','./globalSetup.js','UTQYI','BS_A11Y_JWT','assign','testIgnore','lsxiR','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','qzRXU','../../helpers/BrowserStackSetup','inherit','startsWith','pFpWF','aBYTt','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','QtHUc','6670512AEyHNR','BROWSERSTACK_SETUP_CONFIG_PATH','2867216qCNqex','vpwsq','cJKdk','zokZl','existsSync','clearTempPWConfig','lWDng','skipSessionName','errorMessage','BROWSERSTACK_AUTOMATION','519834Ytikuc','PLAYWRIGHT','ztvyn','platforms','testMatch','XxMUx','argv','DyYWg','accessibility','PQVDG','xzGvi','config','\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();','npx','../../helpers/test-observability/utils','AScpo','rjlVi','MHOla','QICvt','BmJZo','XFhZX','GntTv','2512KrqFSC','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','resolve','21272qcZTtZ','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','USER_CONFIG_DETAILS_PATH','skipSessionStatus','playwright-browserstack-sdk.config.js','../../helpers/accessibility-automation/helper','get','unlinkSync','playwright-browserstack-sdk.config.cjs','wafkQ','nVCKA','bJGlh','GgQtN','dbAYW','join','KwruR','filter','@playwright/test','serializeToYamlString','213gaonMF','qgSMk','_internal','../../helpers/logger','has','markSDKSetupComplete','null','cgejX','SCPJQ','KvZic','filterBrowserstackConfig','trim','IVJKU','BrowserStack\x20config\x20file\x20not\x20found.','testObservability','indexOf','uDbzU','exports','child_process','path','qMqtC','Deleting\x20','util','--disable-browserstack-automation','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','isFalse','RgFpi','BROWSERSTACK_TEST_OBSERVABILITY','IvyOp','enqFV','split','map','--config','../../helpers/test-observability/sessionHandler','splice','utFPJ','UawGi','Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','Error\x20in\x20deleting\x20playwright\x20results','playwright','platform','wLytf','zekiB','isTrue','VFoTT','writeFileSync','getProxyUrl','qkBxn','YblRe','--config=','KSIQd','2668848BaCvwo','getPackageType','dirname','nnpmQ','respectGitIgnore','saJfI','apply','cliConfig','homedir','EgpWR','BROWSERSTACK_PW_CONFIG_DIR','error','tFCCP','NvbVM','slice','launch','win32','cwd','requirePWModule','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','readFileSync','info','.browserstack','push','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','stringify','string','VoJgn','NacgG','BROWSERSTACK_RERUN','browserstackSetupConfig.json','DJYHh','hRyps','object'];a33_0x36ad=function(){return _0x5975c1;};return a33_0x36ad();}async function run(_0x5e2414,_0x31db4f){const _0x450063=a33_0x110918,_0x42c190={'DFFwe':_0x450063(0x240),'KSIQd':'pw_result.json','TXRtb':function(_0x4bede8,_0x46d051){return _0x4bede8+_0x46d051;},'utFPJ':_0x450063(0x257),'cJKdk':_0x450063(0x261),'KvZic':function(_0x36e2d6){return _0x36e2d6();},'QtHUc':function(_0x50dadf,_0x4f6f8b){return _0x50dadf(_0x4f6f8b);},'qgSMk':function(_0x9b20e2,_0x4105af){return _0x9b20e2+_0x4105af;},'XxMUx':'Error\x20in\x20closing\x20playwright','sQtiT':_0x450063(0x20e),'pcPbX':_0x450063(0x26c),'mUiaY':_0x450063(0x252),'UYjPd':function(_0x4c2684,_0x1d7639){return _0x4c2684>=_0x1d7639;},'pFpWF':_0x450063(0x21d),'NaKjn':function(_0x88dfd5,_0x5e8d94,_0x8cbf21){return _0x88dfd5(_0x5e8d94,_0x8cbf21);},'GgQtN':_0x450063(0x204),'enqFV':_0x450063(0x25c),'RgFpi':function(_0x24d4f5,_0x4d209f){return _0x24d4f5!=_0x4d209f;},'DJYHh':function(_0x5bac6c,_0x365d14){return _0x5bac6c(_0x365d14);},'BmJZo':'0|1|4|3|2','rQvBD':_0x450063(0x1bd),'nVCKA':function(_0x4bd57c,_0x481e50,_0x4a5ca7){return _0x4bd57c(_0x481e50,_0x4a5ca7);},'dbAYW':function(_0x3318c5,_0x40ec0d){return _0x3318c5===_0x40ec0d;},'bJGlh':'true','dhMZV':_0x450063(0x1f5),'qMqtC':function(_0x4e08ad,_0xf64a1e){return _0x4e08ad(_0xf64a1e);},'mYsgI':_0x450063(0x248),'rjlVi':function(_0x2ac701){return _0x2ac701();},'RpJkP':'testDir','wyOXf':_0x450063(0x1cf),'nnpmQ':'testIgnore','nuflE':_0x450063(0x26b),'KwruR':function(_0x2736d3,_0x2b1727){return _0x2736d3===_0x2b1727;},'lsxiR':_0x450063(0x1ec),'NvbVM':_0x450063(0x1e8),'hRiPL':function(_0x54944c,_0x760c9d){return _0x54944c>_0x760c9d;},'GntTv':function(_0x570e02,_0x51571e,_0x4111cb,_0x45c88a){return _0x570e02(_0x51571e,_0x4111cb,_0x45c88a);},'UawGi':_0x450063(0x1d8),'aTRSs':_0x450063(0x21e),'FSXjn':'test','TUQOj':'--config','zokZl':_0x450063(0x23a),'UTQYI':_0x450063(0x1b9),'eeQby':_0x450063(0x253)};!helper[_0x450063(0x210)](process[_0x450063(0x278)][_0x450063(0x1ca)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=!![]);process[_0x450063(0x1d1)]['includes'](_0x42c190[_0x450063(0x271)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x42c190[_0x450063(0x272)],_0x31db4f=_0x31db4f['filter'](_0x2d232d=>_0x2d232d!==_0x450063(0x20e)));const _0x5d20fb=_0x31db4f[_0x450063(0x206)](_0x42c190[_0x450063(0x24e)]);_0x42c190['UYjPd'](_0x5d20fb,0x0)&&(process['env']['BROWSERSTACK_TEST_OBSERVABILITY']=_0x42c190['pcPbX'],_0x31db4f=_0x31db4f[_0x450063(0x1f4)](_0x2eead4=>_0x2eead4!==_0x450063(0x252)));try{const _0x2edecf=path[_0x450063(0x1f2)](helper[_0x450063(0x232)](),_0x42c190[_0x450063(0x250)],_0x42c190[_0x450063(0x229)]);fs[_0x450063(0x1c5)](_0x2edecf)&&fs[_0x450063(0x1eb)](_0x2edecf);}catch(_0x45b83f){logger['debug'](_0x42c190[_0x450063(0x1f8)](_0x42c190[_0x450063(0x1bb)],_0x45b83f));}if(!_0x42c190[_0x450063(0x273)](isTestCommand,_0x5e2414,_0x31db4f)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x31db4f);return;}const _0x348f94=new BrowserStackSetup(_0x5e2414,FRAMEWORKS[_0x450063(0x1cc)]);if(!_0x348f94[_0x450063(0x1d6)]){logger[_0x450063(0x235)](_0x42c190[_0x450063(0x1f0)]);return;}await _0x348f94['initialize']();!helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x231)])&&_0x348f94[_0x450063(0x231)][_0x450063(0x1fb)](_0x42c190[_0x450063(0x214)])&&(process[_0x450063(0x278)][_0x450063(0x1ca)]=_0x348f94['cliConfig'][_0x450063(0x1ea)](_0x42c190[_0x450063(0x214)])||!![]);_0x42c190[_0x450063(0x211)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)],null)&&!helper[_0x450063(0x222)](process['env'][_0x450063(0x212)])&&(process[_0x450063(0x278)][_0x450063(0x212)]=process[_0x450063(0x278)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x348f94[_0x450063(0x1d6)][_0x450063(0x205)]);const _0xf9048e=!helper['isFalse'](process['env']['BROWSERSTACK_TEST_OBSERVABILITY']);let _0x59c4a7=![];_0x348f94['config'][_0x450063(0x1d3)]&&(_0x59c4a7=!![],process['env'][_0x450063(0x270)]=_0x348f94[_0x450063(0x1d6)][_0x450063(0x1d3)]);_0x348f94[_0x450063(0x1d6)][_0x450063(0x25f)]&&(process[_0x450063(0x278)][_0x450063(0x20f)]=JSON[_0x450063(0x243)](_0x348f94['config']['accessibilityOptions']));const _0x24d35f=_0x31db4f[_0x450063(0x25e)](),_0x4f8c8c=await _0x42c190[_0x450063(0x273)](getUserPlaywrightConfig,_0x5e2414,_0x31db4f);if(helper[_0x450063(0x24d)](_0x4f8c8c)){_0x42c190[_0x450063(0x249)](spawnOriginalProcess,_0x24d35f);return;}const _0x55e876={..._0x4f8c8c[_0x450063(0x1d6)]},_0x1243c2=_0x55e876,_0x2984c9=_0x4f8c8c[_0x450063(0x20a)]?path[_0x450063(0x22c)](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)]();process[_0x450063(0x278)][_0x450063(0x234)]=_0x2984c9;if(!_0x42c190[_0x450063(0x273)](setGlobalSetup,_0x1243c2,_0x2984c9)){_0x42c190[_0x450063(0x1be)](spawnOriginalProcess,_0x24d35f);return;}const _0x3e3314=await SessionHandler[_0x450063(0x239)](_0x348f94[_0x450063(0x1d6)],{'frameworkName':FRAMEWORKS['PLAYWRIGHT'],'frameworkVersion':_0x42c190[_0x450063(0x249)](getFrameworkVersion,FRAMEWORKS[_0x450063(0x1cc)])});if(_0xf9048e){const _0x3d9fe4=_0x42c190[_0x450063(0x1de)][_0x450063(0x215)]('|');let _0x31fc45=0x0;while(!![]){switch(_0x3d9fe4[_0x31fc45++]){case'0':logger[_0x450063(0x23f)](_0x42c190[_0x450063(0x27e)]);continue;case'1':_0x42c190[_0x450063(0x1ee)](initO11yCrashReporter,_0x1243c2,_0x348f94['config']);continue;case'2':await _0x42c190['DJYHh'](launchO11ySession,_0x3e3314);continue;case'3':_0x42c190[_0x450063(0x249)](handleO11yRerun,_0x31db4f);continue;case'4':_0x42c190[_0x450063(0x1be)](addReporter,_0x1243c2);continue;}break;}}let _0x33e55e=_0x42c190[_0x450063(0x1f1)](process['env'][_0x450063(0x270)],_0x42c190[_0x450063(0x1ef)]);_0x33e55e=_0x33e55e||_0x42c190[_0x450063(0x249)](checkAccessibilityPlatformConfig,_0x348f94['config']),process[_0x450063(0x278)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x33e55e;if(_0x33e55e){const [_0x15dcd2,_0x1c231f]=await _0x42c190[_0x450063(0x273)](createAccessibilityTestRun,_0x348f94['config'],_0x42c190[_0x450063(0x274)]);logger[_0x450063(0x262)](_0x450063(0x23d)+_0x1c231f),process[_0x450063(0x278)][_0x450063(0x282)]=_0x15dcd2,process[_0x450063(0x278)][_0x450063(0x263)]=_0x1c231f,_0x42c190[_0x450063(0x20b)](setAccessibilityCapabilities,_0x348f94[_0x450063(0x1d6)]);}(helper[_0x450063(0x24d)](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)])||_0x42c190['dbAYW'](_0x348f94[_0x450063(0x1d6)][_0x450063(0x1ce)][_0x450063(0x27b)],0x0))&&(process[_0x450063(0x278)]['BROWSERSTACK_AUTOMATION']=![]);const _0x60464f=path[_0x450063(0x1f2)](_0x4f8c8c['path']?path[_0x450063(0x22c)](_0x4f8c8c['path']):process['cwd'](),_0x42c190['mYsgI']);fs['writeFileSync'](_0x60464f,helper[_0x450063(0x1f6)](_0x348f94['config'])),process[_0x450063(0x278)][_0x450063(0x1c0)]=_0x60464f,helper[_0x450063(0x1c6)]();if(helper[_0x450063(0x222)](process[_0x450063(0x278)][_0x450063(0x1ca)])){let _0x5bcdc4=[];try{const _0x246b70=helper[_0x450063(0x23c)][_0x450063(0x230)](null,_0x42c190[_0x450063(0x1db)](getProjectUtilsPath)),_0x315ed3={};_0x315ed3[_0x450063(0x22e)]=!![],_0x315ed3[_0x450063(0x260)]='',_0x315ed3['testMatch']='',_0x315ed3[_0x450063(0x284)]='';const _0x589e2c={};_0x589e2c[_0x450063(0x22e)]=!![];const _0x35f797={};_0x35f797[_0x450063(0x254)]=_0x315ed3,_0x35f797[_0x450063(0x1f9)]=_0x589e2c;let _0x2d3c65=_0x35f797;_0x1243c2[_0x42c190[_0x450063(0x255)]]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190[_0x450063(0x255)]]=_0x1243c2[_0x42c190[_0x450063(0x255)]]),_0x1243c2[_0x42c190[_0x450063(0x265)]]&&(_0x2d3c65['project'][_0x42c190[_0x450063(0x265)]]=_0x1243c2[_0x42c190[_0x450063(0x265)]]),_0x1243c2[_0x42c190['nnpmQ']]&&(_0x2d3c65[_0x450063(0x254)][_0x42c190['nnpmQ']]=_0x1243c2[_0x42c190[_0x450063(0x22d)]]),_0x2d3c65=Object[_0x450063(0x283)](_0x2d3c65,_0x2d3c65[_0x450063(0x254)]),_0x5bcdc4=await _0x246b70[_0x450063(0x277)](_0x2d3c65);}catch(_0x161281){logger['debug'](_0x42c190['qgSMk'](_0x42c190['nuflE'],_0x42c190[_0x450063(0x20b)](format,_0x161281)));}}let _0x28ecad='';_0x42c190['KwruR'](helper[_0x450063(0x22b)](),constants[_0x450063(0x266)][_0x450063(0x268)])?_0x28ecad=_0x42c190[_0x450063(0x285)]:_0x28ecad=_0x42c190[_0x450063(0x237)];const _0x5072c6=path['join'](_0x4f8c8c[_0x450063(0x20a)]?path['dirname'](_0x4f8c8c[_0x450063(0x20a)]):process[_0x450063(0x23b)](),_0x28ecad);let _0x42db22=_0x4f8c8c[_0x450063(0x20a)]?_0x4f8c8c[_0x450063(0x20a)]:'';_0x42db22=_0x42c190['hRiPL'](_0x42db22[_0x450063(0x27b)],0x0)?path[_0x450063(0x1e3)](_0x42db22):'',process[_0x450063(0x278)][_0x450063(0x1e6)]=_0x42db22;let _0x2c4391=_0x450063(0x242);const _0x4fb943=helper[_0x450063(0x225)](_0x348f94[_0x450063(0x1d6)]);_0x4fb943&&(_0x2c4391=_0x42c190[_0x450063(0x1f8)](_0x450063(0x286)+_0x4fb943+_0x450063(0x1d7),_0x2c4391));helper[_0x450063(0x201)]({},_0x31db4f),fs[_0x450063(0x224)](_0x5072c6,_0x2c4391),helper[_0x450063(0x1fc)]();const _0x5385af=_0x42c190[_0x450063(0x1e0)](spawn,_0x42c190[_0x450063(0x21b)],[_0x42c190['aTRSs'],_0x42c190['FSXjn'],_0x42c190[_0x450063(0x267)],_0x5072c6,..._0x31db4f[_0x450063(0x238)](0x2)],{'shell':_0x42c190[_0x450063(0x1f3)](process[_0x450063(0x21f)],_0x42c190[_0x450063(0x1c4)]),'stdio':_0x42c190[_0x450063(0x281)],'cwd':process[_0x450063(0x23b)](),'env':Object[_0x450063(0x283)]({},process[_0x450063(0x278)],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x5e2414),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x348f94[_0x450063(0x1d6)][_0x450063(0x251)][_0x450063(0x1e7)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x348f94['config'][_0x450063(0x251)][_0x450063(0x1c8)],'BROWSERSTACK_LOG_LEVEL':_0x348f94[_0x450063(0x1d6)][_0x450063(0x258)]})}),_0x167183=()=>{const _0x4d6423=_0x450063;try{const _0x17d056=path['join'](helper['homedir'](),_0x42c190['DFFwe'],_0x42c190[_0x4d6423(0x229)]);if(fs['existsSync'](_0x17d056)){let _0x4733e7=fs[_0x4d6423(0x23e)](_0x17d056);_0x4733e7=JSON[_0x4d6423(0x24c)](_0x4733e7),_0x348f94[_0x4d6423(0x1c9)]=_0x4733e7,fs[_0x4d6423(0x1eb)](_0x17d056);}}catch(_0x1d389f){logger[_0x4d6423(0x262)](_0x42c190['TXRtb'](_0x42c190[_0x4d6423(0x21a)],_0x1d389f));}};_0x5385af['on'](_0x42c190[_0x450063(0x27f)],async _0x50b8ba=>{const _0x190d06=_0x450063;try{const _0xd4f161=_0x42c190[_0x190d06(0x1c3)]['split']('|');let _0x5aa9ef=0x0;while(!![]){switch(_0xd4f161[_0x5aa9ef++]){case'0':await helper[_0x190d06(0x27a)](_0x348f94);continue;case'1':logger[_0x190d06(0x23f)](_0x190d06(0x20c)+_0x5072c6);continue;case'2':process['exitCode']=_0x50b8ba;continue;case'3':_0x42c190[_0x190d06(0x200)](_0x167183);continue;case'4':fs[_0x190d06(0x1eb)](_0x5072c6);continue;case'5':logger[_0x190d06(0x262)](_0x190d06(0x26d)+_0x50b8ba);continue;case'6':await _0x42c190['QtHUc'](stopAccessibilityTestRun,_0x348f94['config']);continue;case'7':fs['unlinkSync'](_0x60464f);continue;case'8':logger[_0x190d06(0x262)](_0x190d06(0x20c)+_0x60464f);continue;}break;}}catch(_0x342332){logger[_0x190d06(0x262)](_0x42c190[_0x190d06(0x1f8)](_0x42c190[_0x190d06(0x1d0)],_0x342332));}});}module[a33_0x110918(0x208)]=run;
|
|
2
|
+
'use strict';const a33_0x311868=a33_0x2f32;function a33_0x2f32(_0x417705,_0x36e66c){const _0x291596=a33_0x2915();return a33_0x2f32=function(_0x2f329f,_0x50814c){_0x2f329f=_0x2f329f-0x1df;let _0x32f52d=_0x291596[_0x2f329f];return _0x32f52d;},a33_0x2f32(_0x417705,_0x36e66c);}(function(_0xbb07c4,_0x1c7bad){const _0x2f4d2c=a33_0x2f32,_0x2cdb08=_0xbb07c4();while(!![]){try{const _0x1baf05=-parseInt(_0x2f4d2c(0x291))/0x1*(-parseInt(_0x2f4d2c(0x289))/0x2)+parseInt(_0x2f4d2c(0x22b))/0x3+parseInt(_0x2f4d2c(0x244))/0x4*(parseInt(_0x2f4d2c(0x24e))/0x5)+-parseInt(_0x2f4d2c(0x295))/0x6*(parseInt(_0x2f4d2c(0x21c))/0x7)+parseInt(_0x2f4d2c(0x274))/0x8*(parseInt(_0x2f4d2c(0x286))/0x9)+-parseInt(_0x2f4d2c(0x261))/0xa+parseInt(_0x2f4d2c(0x257))/0xb;if(_0x1baf05===_0x1c7bad)break;else _0x2cdb08['push'](_0x2cdb08['shift']());}catch(_0x1275e8){_0x2cdb08['push'](_0x2cdb08['shift']());}}}(a33_0x2915,0x3e724));function a33_0x2915(){const _0x2f127f=['true','default','requirePWModule','--grep','4UaSOIC','fAGsk','xQKhg','reporter','env','startsWith','IvLMp','cliConfig','QzofY','dyTAm','2482490ysZPPA','iqnIO','../../helpers/test-observability/constants','push','automation','--config','sTuKf','globalSetup','readFileSync','1986677uhcTGf','debug','../../helpers/accessibility-automation/helper','lxRFL','parse','nUved','bUvkI','MhNav','skipSessionStatus','HuUji','4942590ykBEVG','npx','finalExecution','false','Error\x20in\x20running\x20user\x20global\x20setup\x20for\x20playwright','accessibilityOptions','PLAYWRIGHT','respectGitIgnore','getPackageType','Couldn\x27t\x20find\x20any\x20config\x20file.\x20Generating\x20new\x20config\x20file','cwd','info','pw_result.json','\x0a\x0aconst\x20modifyPWConfig\x20=\x20require(\x27browserstack-node-sdk\x27)._modifyPlaywright;\x0a\x0amodule.exports\x20=\x20modifyPWConfig();\x0a','xYybt','process.env.GLOBAL_AGENT_HTTP_PROXY=\x22','object','markSDKSetupComplete','Deleting\x20','1410584HTWVhm','clearTempPWConfig','./reporter/pwUtils','isUndefined','../../helpers/test-observability/utils','@playwright/test','hgTWq','./accessibility-helper','errorMessage','testDir','isTrue','null','isFalse','vCYJi','GwfIN','close','paths','testObservability','9QdVTkG','thIkd','UEtxr','2rvyynr','YzsZr','ntLnq','zsRFi','filterBrowserstackConfig','ZUnqW','testContextOptions','PACKAGE_TYPE','4289QqHUNJ','qCBvv','pUDaK','XuCZD','426588YOaUjq','stringify','TDJMu','has','playwright-browserstack-sdk.config.cjs','JfBLi','BxTAz','dirname','browserstackSetupConfig.json','iCLsX','xWeAO','trim','uwCVg','pgpFq','.browserstack','includes','BROWSERSTACK_TEST_OBSERVABILITY','assign','string','MODULE','hnTGi','XzAbB','gcuJn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','yBypQ','wjnSM','EAleu','BROWSERSTACK_SETUP_CONFIG_PATH','slice','RltVl','homedir','inherit','platforms','Playwright\x20process\x20exited\x20with\x20code\x20','SdfwJ','bgxHD','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','lzWSM','rcMUn','split','error','accessibility','RrwId','config','util','DZFwh','testMatch','test','dppRY','mTYkK','win32','bYxZi','skipSessionName','serializeToYamlString','map','../utils/constants','BROWSERSTACK_AUTOMATION','initialize','../../helpers/test-observability/error-handler','Getting\x20your\x20playwright\x20config\x20from\x20','WRunE','filter','znXjm','Error\x20in\x20getting\x20funnel\x20data\x20results','btqOc','mVmpC','TQUIL','UzkFP','Iluvb','fAaSm','join','ymOah','DMrAj','aFewD','writeFileSync','length','_internal','QrUyo','Adding\x20browserstack\x20configs\x20to\x20setup\x20for\x20Observability','zQlll','--disable-browserstack-automation','21TDXkIO','./globalSetup.js','hstua','get','project','apply','BS_A11Y_TEST_RUN_ID','../../helpers/test-observability/sessionHandler','resolve','existsSync','--config=','path','platform','../../helpers/helper','JNihF','316848cGFmtH','Error\x20in\x20closing\x20playwright','--disable-test-observability','getProxyUrl','PEXnq','VBnVe','LTtjn','Ubgye','BZdXI','exitCode','IkQQP','unlinkSync','bXwdx','launch','BROWSERSTACK_PW_CONFIG_DIR','HFXse','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','cAyZC','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20ID:\x20','BS_A11Y_JWT'];a33_0x2915=function(){return _0x2f127f;};return a33_0x2915();}const fs=require('fs'),path=require('path'),os=require('os'),{spawn}=require('child_process'),{format}=require(a33_0x311868(0x1f7)),logger=require('../../helpers/logger')[a33_0x311868(0x23b)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a33_0x311868(0x229)),constants=require(a33_0x311868(0x202)),{FRAMEWORKS}=require(a33_0x311868(0x250)),{getTransformPath,getConfigLoaderPath,getProjectUtilsPath}=require(a33_0x311868(0x276)),{CrashReporter,o11yErrorHandler}=require(a33_0x311868(0x205)),{getFrameworkVersion}=require(a33_0x311868(0x278)),{createAccessibilityTestRun,stopAccessibilityTestRun,checkAccessibilityPlatformConfig}=require(a33_0x311868(0x259)),{setAccessibilityCapabilities}=require(a33_0x311868(0x27b)),SessionHandler=require(a33_0x311868(0x223));async function requireOrImportDefaultObject(_0x185445){const _0x1eb72b=a33_0x311868,_0x94a4c9={'bUvkI':function(_0x554dd3){return _0x554dd3();},'bYxZi':function(_0x215879,_0x1dce2c){return _0x215879(_0x1dce2c);},'iqnIO':function(_0x3f867e,_0x589ce0){return _0x3f867e===_0x589ce0;},'gcuJn':_0x1eb72b(0x271),'XwmGY':function(_0x3bd26d,_0x177cc5){return _0x3bd26d in _0x177cc5;},'TDJMu':_0x1eb72b(0x241)},{requireOrImport:_0x534eda}=helper[_0x1eb72b(0x242)]['apply'](null,_0x94a4c9[_0x1eb72b(0x25d)](getTransformPath));let _0x4fb12e=await _0x94a4c9[_0x1eb72b(0x1fe)](_0x534eda,_0x185445);return _0x4fb12e&&_0x94a4c9[_0x1eb72b(0x24f)](typeof _0x4fb12e,_0x94a4c9[_0x1eb72b(0x1e1)])&&_0x94a4c9['XwmGY'](_0x94a4c9[_0x1eb72b(0x297)],_0x4fb12e)&&(_0x4fb12e=_0x4fb12e[_0x94a4c9[_0x1eb72b(0x297)]]),_0x4fb12e;}const getUserPlaywrightConfig=async(_0x31dddc,_0x1c2c94)=>{const _0x2fbdb6=a33_0x311868,_0x297d1f={'JfBLi':function(_0x1c795c){return _0x1c795c();},'dyTAm':function(_0x1326bc,_0x43b6e4){return _0x1326bc(_0x43b6e4);},'UEtxr':function(_0x334592,_0x2261c2){return _0x334592(_0x2261c2);},'Vasrx':'Error\x20in\x20importing\x20your\x20playwright\x20config:\x20','pgpFq':_0x2fbdb6(0x26a),'DMrAj':_0x2fbdb6(0x226)},_0x381a0f=!helper[_0x2fbdb6(0x277)](_0x31dddc['config']),_0x5efeeb=_0x381a0f?path[_0x2fbdb6(0x224)](process['cwd'](),_0x31dddc[_0x2fbdb6(0x1f6)]):process[_0x2fbdb6(0x26b)](),{resolveConfigFile:_0x13e823}=helper[_0x2fbdb6(0x242)][_0x2fbdb6(0x221)](null,_0x297d1f[_0x2fbdb6(0x29a)](getConfigLoaderPath)),_0x5a3309=_0x297d1f[_0x2fbdb6(0x24d)](_0x13e823,_0x5efeeb);let _0x4c3766={};if(_0x5a3309){logger[_0x2fbdb6(0x26c)](_0x2fbdb6(0x206)+_0x5a3309);try{_0x4c3766=await _0x297d1f[_0x2fbdb6(0x288)](requireOrImportDefaultObject,_0x5a3309);}catch(_0x2cedf5){return logger[_0x2fbdb6(0x1f3)](_0x297d1f['Vasrx'],_0x2cedf5),null;}}else logger[_0x2fbdb6(0x26c)](_0x297d1f[_0x2fbdb6(0x2a2)]);if(_0x381a0f){const _0x5c4a56=_0x1c2c94['findIndex'](_0x5b03eb=>_0x5b03eb===_0x2fbdb6(0x253)||_0x5b03eb==='-c'||_0x5b03eb[_0x2fbdb6(0x249)]('--config='));_0x1c2c94['splice'](_0x5c4a56,_0x1c2c94[_0x5c4a56]['startsWith'](_0x297d1f[_0x2fbdb6(0x213)])?0x1:0x2);}const _0x37890d={};return _0x37890d[_0x2fbdb6(0x227)]=_0x5a3309,_0x37890d[_0x2fbdb6(0x1f6)]=_0x4c3766,_0x37890d;},setGlobalSetup=(_0x300050,_0x5c83ed)=>{const _0x3bf977=a33_0x311868,_0x460ce9={'thIkd':'globalSetup','VIDiS':'Can\x27t\x20get\x20user\x20defined\x20global\x20setup\x20file','yBypQ':function(_0x431faf,_0x559dbe){return _0x431faf+_0x559dbe;},'DZFwh':_0x3bf977(0x265),'ymOah':function(_0x496426,_0x3d2c59){return _0x496426(_0x3d2c59);},'LrKhO':_0x3bf977(0x21d)};if(!_0x300050)return![];try{if(_0x300050[_0x3bf977(0x255)]){let _0x512072;const _0x535113=path[_0x3bf977(0x224)](_0x5c83ed,_0x300050[_0x460ce9[_0x3bf977(0x287)]]);if(fs[_0x3bf977(0x225)](_0x535113))_0x512072=_0x535113;else{const _0x2d80a3={};_0x2d80a3[_0x3bf977(0x284)]=[_0x5c83ed],_0x512072=require[_0x3bf977(0x224)](_0x300050[_0x460ce9['thIkd']],_0x2d80a3);}if(!_0x512072)throw new Error(_0x460ce9['VIDiS']);process[_0x3bf977(0x248)][_0x3bf977(0x1ef)]=_0x512072;}}catch(_0x5cc21a){logger['error'](_0x460ce9[_0x3bf977(0x1e3)](_0x460ce9[_0x3bf977(0x1f8)],_0x460ce9[_0x3bf977(0x212)](format,_0x5cc21a)));}return _0x300050[_0x3bf977(0x255)]=require[_0x3bf977(0x224)](_0x460ce9['LrKhO']),!![];},addReporter=_0xd43077=>{const _0x4bf302=a33_0x311868,_0x26921f={};_0x26921f[_0x4bf302(0x293)]='./reporter/reporter.js',_0x26921f[_0x4bf302(0x21e)]=_0x4bf302(0x247),_0x26921f[_0x4bf302(0x25a)]=function(_0x2058c3,_0x1699e4){return _0x2058c3===_0x1699e4;},_0x26921f[_0x4bf302(0x23a)]=_0x4bf302(0x2a7),_0x26921f[_0x4bf302(0x21a)]=_0x4bf302(0x271);const _0x42b557=_0x26921f,_0xb0c110=path[_0x4bf302(0x211)](__dirname,_0x42b557[_0x4bf302(0x293)]),_0x42cb12=[_0xb0c110];if(helper[_0x4bf302(0x277)](_0xd43077[_0x42b557[_0x4bf302(0x21e)]]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[_0x42cb12];else{if(_0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x23a)]))_0xd43077[_0x42b557[_0x4bf302(0x21e)]]=[[_0xd43077[_0x42b557[_0x4bf302(0x21e)]]],_0x42cb12];else _0x42b557[_0x4bf302(0x25a)](typeof _0xd43077[_0x42b557[_0x4bf302(0x21e)]],_0x42b557[_0x4bf302(0x21a)])&&_0xd43077[_0x42b557[_0x4bf302(0x21e)]]['push'](_0x42cb12);}},handleO11yRerun=_0x5728e6=>{const _0x569bb9=a33_0x311868,_0x18c46d={};_0x18c46d[_0x569bb9(0x24c)]=function(_0x3acc8b,_0x59f426){return _0x3acc8b!==_0x59f426;},_0x18c46d[_0x569bb9(0x27a)]=_0x569bb9(0x27f),_0x18c46d['mVmpC']=_0x569bb9(0x243);const _0x172cb9=_0x18c46d,_0x192f81=helper[_0x569bb9(0x27e)](process[_0x569bb9(0x248)]['BROWSERSTACK_RERUN']);if(_0x192f81){const _0x5f09c6=process['env']['BROWSERSTACK_RERUN_TESTS'],_0x8f546=[];if(_0x172cb9[_0x569bb9(0x24c)](_0x5f09c6,_0x172cb9['hgTWq'])&&!helper[_0x569bb9(0x277)](_0x5f09c6)){_0x5f09c6['split'](',')[_0x569bb9(0x201)](_0x13c635=>{const _0x1e52db=_0x569bb9;_0x8f546['push']('('+_0x13c635[_0x1e52db(0x2a0)]()+')');});const _0x6dbaaa='^'+_0x8f546[_0x569bb9(0x211)]('|')+'$';_0x5728e6[_0x569bb9(0x251)](_0x172cb9[_0x569bb9(0x20c)],_0x6dbaaa);}}},spawnOriginalProcess=_0x4ea7fa=>{const _0x47ea9d=a33_0x311868,_0x5e0b21={'BxTAz':function(_0x252f3f,_0x5e8c65,_0x567991,_0x5d771f){return _0x252f3f(_0x5e8c65,_0x567991,_0x5d771f);},'XzAbB':_0x47ea9d(0x262),'kfmlw':'playwright','WRunE':function(_0x2f57fa,_0x123e40){return _0x2f57fa===_0x123e40;},'IvLMp':'win32','IkQQP':_0x47ea9d(0x1ea)};_0x5e0b21[_0x47ea9d(0x29b)](spawn,_0x5e0b21[_0x47ea9d(0x1e0)],[_0x5e0b21['kfmlw'],..._0x4ea7fa[_0x47ea9d(0x1e7)](0x1)],{'shell':_0x5e0b21[_0x47ea9d(0x207)](process[_0x47ea9d(0x228)],_0x5e0b21[_0x47ea9d(0x24a)]),'stdio':_0x5e0b21[_0x47ea9d(0x235)],'cwd':process[_0x47ea9d(0x26b)]()});},isTestCommand=(_0x161be4,_0xe2b821)=>{const _0x43d5c9=a33_0x311868,_0x12b86e={};_0x12b86e[_0x43d5c9(0x28a)]=function(_0x3d416b,_0x24ac5f){return _0x3d416b>_0x24ac5f;},_0x12b86e['hFMrl']=function(_0x1e915a,_0x2708c9){return _0x1e915a===_0x2708c9;},_0x12b86e[_0x43d5c9(0x1fc)]=_0x43d5c9(0x1fa);const _0x136e05=_0x12b86e;if(_0x136e05[_0x43d5c9(0x28a)](_0xe2b821[_0x43d5c9(0x216)],0x1)&&_0x136e05['hFMrl'](_0xe2b821[0x1],_0x136e05['mTYkK']))return!![];return![];},initO11yCrashReporter=(_0x510c0b,_0x356023)=>{const _0x17f908=a33_0x311868,_0x52b0e4={'XppRj':function(_0x5e02f2,_0x4635f4){return _0x5e02f2(_0x4635f4);}},_0x5da054={'frameworkName':FRAMEWORKS[_0x17f908(0x267)],'frameworkVersion':_0x52b0e4['XppRj'](getFrameworkVersion,FRAMEWORKS[_0x17f908(0x267)])};CrashReporter[_0x17f908(0x204)](_0x5da054,_0x510c0b,_0x356023);},launchO11ySession=o11yErrorHandler(async function launchO11ySession(_0x2436f8){const _0x21de41=a33_0x311868,_0x1295fe={};_0x1295fe[_0x21de41(0x1f5)]=function(_0x25aae2,_0x391c9a){return _0x25aae2>_0x391c9a;},_0x1295fe[_0x21de41(0x246)]=function(_0x5c880b,_0x5ead9a){return _0x5c880b===_0x5ead9a;};const _0x4704c6=_0x1295fe;if(!_0x2436f8||_0x4704c6[_0x21de41(0x1f5)](_0x2436f8[_0x21de41(0x216)],0x1)&&_0x4704c6['xQKhg'](_0x2436f8[0x0],null))return process['env'][_0x21de41(0x2a5)]=![],![];return!![];});async function run(_0x52ea7b,_0x8eac60){const _0x13db32=a33_0x311868,_0x441e39={'znXjm':_0x13db32(0x2a3),'Iluvb':_0x13db32(0x26d),'BZdXI':function(_0x481d5e,_0x13f4ad){return _0x481d5e+_0x13f4ad;},'ntLnq':_0x13db32(0x20a),'bgxHD':'6|2|1|3|4|5|0|7|8','QrUyo':function(_0xd1217,_0x127da8){return _0xd1217(_0x127da8);},'fAaSm':function(_0x4303eb){return _0x4303eb();},'PrkAK':_0x13db32(0x22c),'ssSBR':'--disable-browserstack-automation','zsRFi':_0x13db32(0x264),'RltVl':_0x13db32(0x22d),'Ubgye':function(_0x3c2ca8,_0x49873){return _0x3c2ca8>=_0x49873;},'PpBEh':'Error\x20in\x20deleting\x20playwright\x20results','uwCVg':function(_0x1f6e22,_0x36e296,_0x9d3a1f){return _0x1f6e22(_0x36e296,_0x9d3a1f);},'JNihF':function(_0x1a9bfb,_0x187cb4){return _0x1a9bfb(_0x187cb4);},'LTtjn':'BrowserStack\x20config\x20file\x20not\x20found.','dppRY':_0x13db32(0x252),'xWeAO':function(_0x93162,_0xa93c9f){return _0x93162!=_0xa93c9f;},'wjnSM':function(_0xe6d53d,_0x14eaa4){return _0xe6d53d(_0x14eaa4);},'iCLsX':function(_0x8756ca,_0x466af6){return _0x8756ca(_0x466af6);},'VBnVe':'1|2|3|4|0','btqOc':_0x13db32(0x219),'SdfwJ':function(_0x81cee8,_0x2ec6d2,_0x5b3d8c){return _0x81cee8(_0x2ec6d2,_0x5b3d8c);},'nUved':function(_0xa73066,_0xab5e5c){return _0xa73066===_0xab5e5c;},'HuUji':_0x13db32(0x240),'bXwdx':function(_0xfc6161,_0x6d0f64){return _0xfc6161(_0x6d0f64);},'sTuKf':_0x13db32(0x279),'EAleu':function(_0x1707bd,_0x3cd958){return _0x1707bd(_0x3cd958);},'TQUIL':_0x13db32(0x29d),'ZUnqW':'testDir','UzkFP':'testMatch','rcMUn':'testIgnore','vCYJi':function(_0x264eeb,_0x1ca902){return _0x264eeb+_0x1ca902;},'MhNav':'Error\x20in\x20generating\x20parallellised\x20config\x20for\x20playwright:\x20','cAyZC':function(_0xa4c58b,_0x263f5c){return _0xa4c58b(_0x263f5c);},'PEXnq':function(_0x56e444,_0x54e856){return _0x56e444===_0x54e856;},'fAGsk':_0x13db32(0x299),'aFewD':'playwright-browserstack-sdk.config.js','lzWSM':function(_0x1753ba,_0x4ed3f1){return _0x1753ba>_0x4ed3f1;},'qCBvv':function(_0xfb562c,_0x4247ec,_0x34b08f,_0x2118e8){return _0xfb562c(_0x4247ec,_0x34b08f,_0x2118e8);},'GwfIN':_0x13db32(0x262),'vWqgP':'playwright','hnTGi':_0x13db32(0x1fa),'xYybt':_0x13db32(0x253),'vWUEk':_0x13db32(0x1fd),'XuCZD':_0x13db32(0x1ea),'CUuRS':_0x13db32(0x283)};!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x203)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=!![]);process['argv'][_0x13db32(0x2a4)](_0x441e39['ssSBR'])&&(process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION']=_0x441e39['zsRFi'],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x1cc04e=>_0x1cc04e!==_0x13db32(0x21b)));const _0x202890=_0x8eac60['indexOf'](_0x441e39[_0x13db32(0x1e8)]);_0x441e39[_0x13db32(0x232)](_0x202890,0x0)&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=_0x441e39[_0x13db32(0x28c)],_0x8eac60=_0x8eac60[_0x13db32(0x208)](_0x10e833=>_0x10e833!==_0x13db32(0x22d)));try{const _0x1b5e3b=path['join'](helper['homedir'](),_0x441e39[_0x13db32(0x209)],_0x441e39[_0x13db32(0x20f)]);fs[_0x13db32(0x225)](_0x1b5e3b)&&fs['unlinkSync'](_0x1b5e3b);}catch(_0x3455f3){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x233)](_0x441e39['PpBEh'],_0x3455f3));}if(!_0x441e39[_0x13db32(0x2a1)](isTestCommand,_0x52ea7b,_0x8eac60)){_0x441e39['JNihF'](spawnOriginalProcess,_0x8eac60);return;}const _0x87ae66=new BrowserStackSetup(_0x52ea7b,FRAMEWORKS[_0x13db32(0x267)]);if(!_0x87ae66[_0x13db32(0x1f6)]){logger[_0x13db32(0x1f3)](_0x441e39[_0x13db32(0x231)]);return;}await _0x87ae66[_0x13db32(0x204)]();!helper[_0x13db32(0x277)](_0x87ae66[_0x13db32(0x24b)])&&_0x87ae66[_0x13db32(0x24b)][_0x13db32(0x298)](_0x441e39[_0x13db32(0x1fb)])&&(process[_0x13db32(0x248)][_0x13db32(0x203)]=_0x87ae66['cliConfig'][_0x13db32(0x21f)](_0x441e39[_0x13db32(0x1fb)])||!![]);_0x441e39[_0x13db32(0x29f)](_0x87ae66[_0x13db32(0x1f6)]['testObservability'],null)&&!helper[_0x13db32(0x27e)](process[_0x13db32(0x248)][_0x13db32(0x2a5)])&&(process[_0x13db32(0x248)][_0x13db32(0x2a5)]=process[_0x13db32(0x248)]['BROWSERSTACK_TEST_OBSERVABILITY']||_0x87ae66['config'][_0x13db32(0x285)]);const _0x111ae1=!helper[_0x13db32(0x280)](process['env'][_0x13db32(0x2a5)]);let _0x255b39=![];_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x1f4)]&&(_0x255b39=!![],process[_0x13db32(0x248)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x87ae66['config']['accessibility']);_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x266)]&&(process[_0x13db32(0x248)][_0x13db32(0x23c)]=JSON[_0x13db32(0x296)](_0x87ae66[_0x13db32(0x1f6)]['accessibilityOptions']));const _0x5cb755=_0x8eac60['concat'](),_0x3f1a79=await _0x441e39[_0x13db32(0x2a1)](getUserPlaywrightConfig,_0x52ea7b,_0x8eac60);if(helper[_0x13db32(0x277)](_0x3f1a79)){_0x441e39[_0x13db32(0x1e4)](spawnOriginalProcess,_0x5cb755);return;}const _0x2156ee={..._0x3f1a79[_0x13db32(0x1f6)]},_0xc7c5b=_0x2156ee,_0x13093=_0x3f1a79[_0x13db32(0x227)]?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)]();process[_0x13db32(0x248)][_0x13db32(0x239)]=_0x13093;if(!_0x441e39['uwCVg'](setGlobalSetup,_0xc7c5b,_0x13093)){_0x441e39[_0x13db32(0x29e)](spawnOriginalProcess,_0x5cb755);return;}const _0x16f3a4=await SessionHandler[_0x13db32(0x238)](_0x87ae66[_0x13db32(0x1f6)],{'frameworkName':FRAMEWORKS[_0x13db32(0x267)],'frameworkVersion':_0x441e39[_0x13db32(0x29e)](getFrameworkVersion,FRAMEWORKS['PLAYWRIGHT'])});if(_0x111ae1){const _0x3c01db=_0x441e39[_0x13db32(0x230)]['split']('|');let _0x2a1f05=0x0;while(!![]){switch(_0x3c01db[_0x2a1f05++]){case'0':await _0x441e39[_0x13db32(0x22a)](launchO11ySession,_0x16f3a4);continue;case'1':logger[_0x13db32(0x26c)](_0x441e39[_0x13db32(0x20b)]);continue;case'2':_0x441e39['SdfwJ'](initO11yCrashReporter,_0xc7c5b,_0x87ae66['config']);continue;case'3':_0x441e39['iCLsX'](addReporter,_0xc7c5b);continue;case'4':_0x441e39['wjnSM'](handleO11yRerun,_0x8eac60);continue;}break;}}let _0x5e88ec=_0x441e39[_0x13db32(0x25c)](process['env'][_0x13db32(0x1e2)],_0x441e39[_0x13db32(0x260)]);_0x5e88ec=_0x5e88ec||_0x441e39[_0x13db32(0x237)](checkAccessibilityPlatformConfig,_0x87ae66[_0x13db32(0x1f6)]),process[_0x13db32(0x248)][_0x13db32(0x1e2)]=_0x5e88ec;if(_0x5e88ec){const [_0x12566a,_0xda7866]=await _0x441e39[_0x13db32(0x1ed)](createAccessibilityTestRun,_0x87ae66[_0x13db32(0x1f6)],_0x441e39[_0x13db32(0x254)]);logger[_0x13db32(0x258)](_0x13db32(0x23e)+_0xda7866),process[_0x13db32(0x248)][_0x13db32(0x23f)]=_0x12566a,process['env'][_0x13db32(0x222)]=_0xda7866,_0x441e39[_0x13db32(0x1e5)](setAccessibilityCapabilities,_0x87ae66[_0x13db32(0x1f6)]);}(helper['isUndefined'](_0x87ae66[_0x13db32(0x1f6)]['platforms'])||_0x441e39[_0x13db32(0x25c)](_0x87ae66['config'][_0x13db32(0x1eb)][_0x13db32(0x216)],0x0))&&(process['env']['BROWSERSTACK_AUTOMATION']=![]);const _0x22fc2f=path['join'](_0x3f1a79[_0x13db32(0x227)]?path['dirname'](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x441e39[_0x13db32(0x20d)]);fs[_0x13db32(0x215)](_0x22fc2f,helper[_0x13db32(0x200)](_0x87ae66[_0x13db32(0x1f6)])),process['env'][_0x13db32(0x1e6)]=_0x22fc2f,helper[_0x13db32(0x275)]();if(helper[_0x13db32(0x27e)](process[_0x13db32(0x248)]['BROWSERSTACK_AUTOMATION'])){let _0x41ac92=[];try{const _0x552dee=helper[_0x13db32(0x242)][_0x13db32(0x221)](null,_0x441e39[_0x13db32(0x210)](getProjectUtilsPath)),_0x452a59={};_0x452a59[_0x13db32(0x268)]=!![],_0x452a59[_0x13db32(0x27d)]='',_0x452a59[_0x13db32(0x1f9)]='',_0x452a59['testIgnore']='';const _0x15f23b={};_0x15f23b['respectGitIgnore']=!![];const _0x42e77e={};_0x42e77e[_0x13db32(0x220)]=_0x452a59,_0x42e77e[_0x13db32(0x217)]=_0x15f23b;let _0x936194=_0x42e77e;_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]&&(_0x936194['project'][_0x441e39['ZUnqW']]=_0xc7c5b[_0x441e39[_0x13db32(0x28e)]]),_0xc7c5b[_0x441e39[_0x13db32(0x20e)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39['UzkFP']]=_0xc7c5b[_0x441e39['UzkFP']]),_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]&&(_0x936194[_0x13db32(0x220)][_0x441e39[_0x13db32(0x1f1)]]=_0xc7c5b[_0x441e39[_0x13db32(0x1f1)]]),_0x936194=Object[_0x13db32(0x2a6)](_0x936194,_0x936194[_0x13db32(0x220)]),_0x41ac92=await _0x552dee['collectFilesForProject'](_0x936194);}catch(_0x35d4e1){logger[_0x13db32(0x258)](_0x441e39[_0x13db32(0x281)](_0x441e39[_0x13db32(0x25e)],_0x441e39[_0x13db32(0x23d)](format,_0x35d4e1)));}}let _0x20c245='';_0x441e39[_0x13db32(0x22f)](helper[_0x13db32(0x269)](),constants[_0x13db32(0x290)][_0x13db32(0x2a8)])?_0x20c245=_0x441e39[_0x13db32(0x245)]:_0x20c245=_0x441e39[_0x13db32(0x214)];const _0x312111=path[_0x13db32(0x211)](_0x3f1a79['path']?path[_0x13db32(0x29c)](_0x3f1a79[_0x13db32(0x227)]):process[_0x13db32(0x26b)](),_0x20c245);let _0x442c6b=_0x3f1a79[_0x13db32(0x227)]?_0x3f1a79[_0x13db32(0x227)]:'';_0x442c6b=_0x441e39[_0x13db32(0x1f0)](_0x442c6b['length'],0x0)?path[_0x13db32(0x224)](_0x442c6b):'',process[_0x13db32(0x248)]['USER_CONFIG_DETAILS_PATH']=_0x442c6b;let _0x4f7aa9=_0x13db32(0x26e);const _0x524dc1=helper[_0x13db32(0x22e)](_0x87ae66[_0x13db32(0x1f6)]);_0x524dc1&&(_0x4f7aa9=_0x441e39[_0x13db32(0x281)](_0x13db32(0x270)+_0x524dc1+'\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();',_0x4f7aa9));helper[_0x13db32(0x28d)]({},_0x8eac60),fs[_0x13db32(0x215)](_0x312111,_0x4f7aa9),helper[_0x13db32(0x272)]();const _0x38a17c=_0x441e39[_0x13db32(0x292)](spawn,_0x441e39[_0x13db32(0x282)],[_0x441e39['vWqgP'],_0x441e39[_0x13db32(0x1df)],_0x441e39[_0x13db32(0x26f)],_0x312111,..._0x8eac60[_0x13db32(0x1e7)](0x2)],{'shell':_0x441e39[_0x13db32(0x25c)](process[_0x13db32(0x228)],_0x441e39['vWUEk']),'stdio':_0x441e39[_0x13db32(0x294)],'cwd':process[_0x13db32(0x26b)](),'env':Object[_0x13db32(0x2a6)]({},process['env'],{'BROWSERSTACK_CONFIG_FILE_PATH':helper['getConfigPath'](_0x52ea7b),'BROWSERSTACK_SKIP_SESSION_STATUS':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x25f)],'BROWSERSTACK_SKIP_SESSION_NAME':_0x87ae66[_0x13db32(0x1f6)][_0x13db32(0x28f)][_0x13db32(0x1ff)],'BROWSERSTACK_LOG_LEVEL':_0x87ae66['config']['logLevel']})}),_0x4713ad=()=>{const _0x425ff2=_0x13db32;try{const _0x95f608=path[_0x425ff2(0x211)](helper[_0x425ff2(0x1e9)](),_0x441e39[_0x425ff2(0x209)],_0x441e39['Iluvb']);if(fs[_0x425ff2(0x225)](_0x95f608)){let _0x4e6ae0=fs[_0x425ff2(0x256)](_0x95f608);_0x4e6ae0=JSON[_0x425ff2(0x25b)](_0x4e6ae0),_0x87ae66[_0x425ff2(0x27c)]=_0x4e6ae0,fs[_0x425ff2(0x236)](_0x95f608);}}catch(_0x266cce){logger[_0x425ff2(0x258)](_0x441e39[_0x425ff2(0x233)](_0x441e39[_0x425ff2(0x28b)],_0x266cce));}};_0x38a17c['on'](_0x441e39['CUuRS'],async _0x553318=>{const _0x5976cd=_0x13db32;try{const _0x140467=_0x441e39[_0x5976cd(0x1ee)][_0x5976cd(0x1f2)]('|');let _0x578ad0=0x0;while(!![]){switch(_0x140467[_0x578ad0++]){case'0':fs[_0x5976cd(0x236)](_0x312111);continue;case'1':await _0x441e39[_0x5976cd(0x218)](stopAccessibilityTestRun,_0x87ae66[_0x5976cd(0x1f6)]);continue;case'2':await helper[_0x5976cd(0x263)](_0x87ae66);continue;case'3':process[_0x5976cd(0x234)]=_0x553318;continue;case'4':logger[_0x5976cd(0x258)](_0x5976cd(0x1ec)+_0x553318);continue;case'5':logger[_0x5976cd(0x26c)]('Deleting\x20'+_0x312111);continue;case'6':_0x441e39[_0x5976cd(0x210)](_0x4713ad);continue;case'7':logger[_0x5976cd(0x258)](_0x5976cd(0x273)+_0x22fc2f);continue;case'8':fs[_0x5976cd(0x236)](_0x22fc2f);continue;}break;}}catch(_0x4f1d6b){logger[_0x5976cd(0x258)](_0x441e39[_0x5976cd(0x233)](_0x441e39['PrkAK'],_0x4f1d6b));}});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a34_0x2d08a5=a34_0x51c9;(function(_0x3ff032,_0xe695c0){const _0x380a92=a34_0x51c9,_0x442d9c=_0x3ff032();while(!![]){try{const _0x25b10d=parseInt(_0x380a92(0x136))/0x1*(parseInt(_0x380a92(0x116))/0x2)+parseInt(_0x380a92(0x110))/0x3*(parseInt(_0x380a92(0x11d))/0x4)+-parseInt(_0x380a92(0x113))/0x5*(-parseInt(_0x380a92(0x11a))/0x6)+parseInt(_0x380a92(0x135))/0x7*(parseInt(_0x380a92(0x12d))/0x8)+parseInt(_0x380a92(0x10f))/0x9*(parseInt(_0x380a92(0x114))/0xa)+-parseInt(_0x380a92(0x130))/0xb+parseInt(_0x380a92(0x127))/0xc*(-parseInt(_0x380a92(0x11c))/0xd);if(_0x25b10d===_0xe695c0)break;else _0x442d9c['push'](_0x442d9c['shift']());}catch(_0x2a3631){_0x442d9c['push'](_0x442d9c['shift']());}}}(a34_0x43b8,0xaa099));const child_process=require(a34_0x2d08a5(0x11e)),{FRAMEWORKS}=require(a34_0x2d08a5(0x123)),{getFrameworkVersion,debug}=require(a34_0x2d08a5(0x133)),helper=require('../../helpers/helper'),{getLoadUtilsPath,getForkProcessPath}=require(a34_0x2d08a5(0x111)),logger=require(a34_0x2d08a5(0x131))[a34_0x2d08a5(0x128)];module[a34_0x2d08a5(0x12b)]=async function(_0x11e3e6){const _0x8374ed=a34_0x2d08a5,_0x35ff1b={'oChzB':function(_0x4a3d1f,_0x5847e9){return _0x4a3d1f(_0x5847e9);},'gIHDm':function(_0x5bb9de){return _0x5bb9de();},'hzxEg':_0x8374ed(0x11b),'FmfpU':function(_0x44042f){return _0x44042f();},'jYNeC':'Running\x20existing\x20global\x20setup','hNCyn':function(_0x5bbf98,_0x29685b){return _0x5bbf98(_0x29685b);},'XnJoN':function(_0x58609e,_0x3ed147){return _0x58609e>=_0x3ed147;},'jATlk':_0x8374ed(0x122),'alNvU':function(_0x32fab8,_0x269546,_0x40a88a){return _0x32fab8(_0x269546,_0x40a88a);},'vtUto':function(_0x311aa7,_0x2ce46e){return _0x311aa7!==_0x2ce46e;},'TRsmf':_0x8374ed(0x121),'QrPwc':'Not\x20able\x20to\x20import\x20globalSetup','GvlWS':function(_0x407a47,_0x2b10e4){return _0x407a47(_0x2b10e4);}},_0x10cb10=child_process['fork'];child_process['fork']=function(){const _0x3bd747=_0x8374ed;return _0x35ff1b[_0x3bd747(0x12e)](debug,_0x3bd747(0x112)+arguments[0x0]),arguments[0x0][_0x3bd747(0x117)](_0x35ff1b['gIHDm'](getForkProcessPath))?arguments[0x0]=require[_0x3bd747(0x119)](_0x35ff1b[_0x3bd747(0x12f)]):logger[_0x3bd747(0x118)](_0x3bd747(0x124)+_0x35ff1b['FmfpU'](getForkProcessPath)+'\x20is\x20not\x20found'),_0x10cb10[_0x3bd747(0x125)](null,arguments);};if(process[_0x8374ed(0x120)][_0x8374ed(0x115)]){_0x35ff1b[_0x8374ed(0x12e)](debug,_0x35ff1b[_0x8374ed(0x132)]);try{const {loadGlobalHook:_0x103b26}=helper[_0x8374ed(0x129)][_0x8374ed(0x125)](null,_0x35ff1b[_0x8374ed(0x126)](getLoadUtilsPath)),_0x68345f=_0x35ff1b['hNCyn'](getFrameworkVersion,FRAMEWORKS[_0x8374ed(0x134)]);let _0x27d955=_0x11e3e6;if(_0x35ff1b['XnJoN'](helper[_0x8374ed(0x11f)](_0x68345f,_0x35ff1b['jATlk']),0x0)){const _0x5b87cd={};_0x5b87cd[_0x8374ed(0x12c)]=_0x11e3e6,_0x27d955=_0x5b87cd;}const _0x139fcd=await _0x35ff1b['alNvU'](_0x103b26,_0x27d955,process[_0x8374ed(0x120)][_0x8374ed(0x115)]);if(_0x35ff1b[_0x8374ed(0x12a)](typeof _0x139fcd,_0x35ff1b['TRsmf']))throw new Error(_0x35ff1b['QrPwc']);return _0x139fcd[_0x8374ed(0x125)](null,arguments);}catch(_0xfb1826){_0x35ff1b['GvlWS'](debug,_0x8374ed(0x10e)+_0xfb1826[_0x8374ed(0x137)]());}}};function a34_0x51c9(_0x13b41b,_0x240923){const _0x43b8c0=a34_0x43b8();return a34_0x51c9=function(_0x51c9de,_0x5dfeb4){_0x51c9de=_0x51c9de-0x10e;let _0x195eac=_0x43b8c0[_0x51c9de];return _0x195eac;},a34_0x51c9(_0x13b41b,_0x240923);}function a34_0x43b8(){const _0x42b968=['5NXQtZg','50pYyolQ','BROWSERSTACK_PLAYWRIGHT_GLOBAL_SETUP','1905604cVMjEV','includes','error','resolve','236232uDYRCp','./mock-process.js','14816269ZgPNup','284EIWwAh','child_process','compareVersions','env','function','1.33.0','../../helpers/test-observability/constants','Path\x20','apply','gIHDm','12qgnPSt','winstonLogger','requirePWModule','vtUto','exports','config','232XohSZV','oChzB','hzxEg','13680711pzypMh','../../helpers/logger','jYNeC','../../helpers/test-observability/utils','PLAYWRIGHT','127449nErHuL','1cBrwqY','toString','Error\x20in\x20calling\x20existing\x20global\x20setup:\x20','1284741xmxyYc','35745UVvYey','./reporter/pwUtils','Call\x20to\x20child\x20fork\x20with\x20args\x20'];a34_0x43b8=function(){return _0x42b968;};return a34_0x43b8();}
|