browserstack-node-sdk 1.33.1 → 1.33.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance-tester.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x5e4d4c=a44_0x535a;(function(_0x51658b,_0x55f6cb){const _0x232eac=a44_0x535a,_0x2860d5=_0x51658b();while(!![]){try{const _0x93eb8c=-parseInt(_0x232eac(0x153))/0x1+parseInt(_0x232eac(0x143))/0x2*(-parseInt(_0x232eac(0x12d))/0x3)+-parseInt(_0x232eac(0x161))/0x4*(-parseInt(_0x232eac(0x16a))/0x5)+-parseInt(_0x232eac(0x147))/0x6+parseInt(_0x232eac(0x14b))/0x7+parseInt(_0x232eac(0x144))/0x8+parseInt(_0x232eac(0x138))/0x9;if(_0x93eb8c===_0x55f6cb)break;else _0x2860d5['push'](_0x2860d5['shift']());}catch(_0x3ba823){_0x2860d5['push'](_0x2860d5['shift']());}}}(a44_0x1e78,0x95ad3));const Worker=require('jest-worker')['Worker'],Emittery=require(a44_0x5e4d4c(0x151)),pLimit=require(a44_0x5e4d4c(0x13d)),util=require('util'),logger=require('../../helpers/logger')[a44_0x5e4d4c(0x15c)],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require('../../helpers/accessibility-automation/helper'),SessionHandler=require(a44_0x5e4d4c(0x137)),{getFrameworkVersion,isTestObservabilitySession,debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a44_0x5e4d4c(0x14d)),{FRAMEWORKS}=require(a44_0x5e4d4c(0x12f)),checkAccessibility=_0x1328a5=>{const _0x5e3e90=a44_0x5e4d4c,_0x4a15ef={};_0x4a15ef[_0x5e3e90(0x159)]=function(_0x17887f,_0x1c2a9b){return _0x17887f===_0x1c2a9b;};const _0x2f1803=_0x4a15ef;let _0x2586cc=![];try{_0x1328a5['platforms']['forEach'](_0x3ecab7=>{const _0x45c638=_0x5e3e90;if(_0x2f1803[_0x45c638(0x159)](_0x3ecab7[_0x45c638(0x157)],!![]))return _0x2586cc=!![],!![];});}catch(_0x6ad46f){logger[_0x5e3e90(0x125)]('Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20'+_0x6ad46f);}return _0x2586cc;};function a44_0x535a(_0x5ef96c,_0x31ff63){const _0x1e7814=a44_0x1e78();return a44_0x535a=function(_0x535aeb,_0x52e5a1){_0x535aeb=_0x535aeb-0x119;let _0x194899=_0x1e7814[_0x535aeb];return _0x194899;},a44_0x535a(_0x5ef96c,_0x31ff63);}exports[a44_0x5e4d4c(0x173)]=(_0x39ce50,_0x488cdb,_0x376c28)=>new Promise(async _0x359c0a=>{const _0x591dc3=a44_0x5e4d4c,_0x25a2f4={'WbhCa':_0x591dc3(0x146),'jVxMA':function(_0xfbbbb5,_0xa99288){return _0xfbbbb5+_0xa99288;},'DZzjL':_0x591dc3(0x12b),'CZvpP':_0x591dc3(0x155),'vnoGU':function(_0x1d3599,_0x268409){return _0x1d3599(_0x268409);},'YrKNp':function(_0x156d9a,_0x2d35f3){return _0x156d9a(_0x2d35f3);},'yCfDU':'test-file-start','ekOUC':_0x591dc3(0x149),'EoVnL':_0x591dc3(0x136),'sungE':'json','TPgvw':_0x591dc3(0x134),'HnzQx':function(_0x2e76ce,_0x1f1796){return _0x2e76ce*_0x1f1796;},'qFtJU':_0x591dc3(0x169),'ouhAZ':'test-file-failure','bgxOs':function(_0x3fbf65,_0x10c18d){return _0x3fbf65*_0x10c18d;}},_0x2363ff=_0x376c28[_0x591dc3(0x162)],_0x3ed56d={},_0x49bbe3=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x591dc3(0x12c)],_0x376c28),_0x363313=new Worker(require['resolve'](_0x25a2f4[_0x591dc3(0x15b)]),{'exposedMethods':[_0x25a2f4[_0x591dc3(0x142)]],'forkOptions':{'serialization':_0x25a2f4['sungE'],'stdio':_0x25a2f4['TPgvw']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x25a2f4[_0x591dc3(0x122)](_0x488cdb,0x1),'enableWorkerThreads':!![]}),_0x6fe6e4=new Emittery();_0x6fe6e4['on'](_0x25a2f4[_0x591dc3(0x165)],_0x160784=>{const _0x5e8df7=_0x591dc3;_0x3ed56d[_0x160784[0x0]]?(_0x3ed56d[_0x160784[0x0]][_0x25a2f4['WbhCa']]=_0x25a2f4['jVxMA'](_0x3ed56d[_0x160784[0x0]][_0x25a2f4[_0x5e8df7(0x150)]],_0x160784[0x1][_0x25a2f4[_0x5e8df7(0x150)]]),_0x3ed56d[_0x160784[0x0]][_0x25a2f4['DZzjL']]=[..._0x3ed56d[_0x160784[0x0]][_0x25a2f4[_0x5e8df7(0x12e)]],..._0x160784[0x1][_0x25a2f4[_0x5e8df7(0x12e)]]]):_0x3ed56d[_0x160784[0x0]]={'failureCount':_0x160784[0x1][_0x25a2f4['WbhCa']],'results':[..._0x160784[0x1][_0x25a2f4['DZzjL']]]};}),_0x6fe6e4['on'](_0x25a2f4[_0x591dc3(0x13b)],_0x52e196=>console[_0x591dc3(0x152)](_0x52e196[0x1]));_0x363313[_0x591dc3(0x13e)]()&&_0x363313[_0x591dc3(0x13e)]()[_0x591dc3(0x134)](process[_0x591dc3(0x141)]);_0x363313[_0x591dc3(0x14a)]()&&_0x363313[_0x591dc3(0x14a)]()[_0x591dc3(0x134)](process[_0x591dc3(0x11c)]);const _0x22eb33=async()=>{const _0xa3ce54=_0x591dc3,{forceExited:_0x4278d3}=await _0x363313[_0xa3ce54(0x167)]();_0x4278d3&&console['error'](_0x25a2f4['CZvpP']);try{await TestHubHandler[_0xa3ce54(0x13f)]();}catch(_0x5e42f3){_0x25a2f4[_0xa3ce54(0x154)](debug,_0xa3ce54(0x164)+_0x5e42f3);}_0x25a2f4[_0xa3ce54(0x140)](_0x359c0a,_0x3ed56d);},_0x1fb84b=_0x25a2f4[_0x591dc3(0x154)](pLimit,_0x25a2f4[_0x591dc3(0x16d)](_0x488cdb,0x1)),_0x178023=_0x33af9b=>_0x1fb84b(async()=>{const _0x102682=_0x591dc3;return await _0x6fe6e4[_0x102682(0x133)](_0x25a2f4[_0x102682(0x16f)],_0x33af9b),_0x363313[_0x102682(0x136)](_0x33af9b,_0x2363ff);});Promise['all'](_0x39ce50['map'](_0x16737a=>_0x178023(_0x16737a)[_0x591dc3(0x129)](_0x266275=>_0x6fe6e4[_0x591dc3(0x133)]('test-file-success',[_0x16737a['configuration'][_0x591dc3(0x15d)],_0x266275]),_0x118423=>_0x6fe6e4[_0x591dc3(0x133)](_0x591dc3(0x139),[_0x16737a,_0x118423]))))[_0x591dc3(0x129)](_0x22eb33,_0x22eb33);}),exports['parallelCucumberRun']=(_0x316a6a,_0x289482,_0x120336,_0x1108bf,_0x5d2442)=>{const _0x192360=a44_0x5e4d4c,_0x1a5f73={'wFrWi':_0x192360(0x155),'xWNQU':function(_0x3e3343,_0x2e73ac){return _0x3e3343(_0x2e73ac);},'tJXaJ':_0x192360(0x156),'JLuJh':_0x192360(0x149),'wcqEB':_0x192360(0x168),'Jpqpr':_0x192360(0x126),'onOnk':_0x192360(0x134),'QklJP':_0x192360(0x124),'pqZJa':_0x192360(0x158)};return new Promise(_0x54c458=>{const _0x428e90=_0x192360,_0x2b87bb={'XskwA':_0x1a5f73[_0x428e90(0x135)],'gZezb':function(_0x31d6c4,_0x39527d){return _0x1a5f73['xWNQU'](_0x31d6c4,_0x39527d);},'cXYdf':_0x1a5f73[_0x428e90(0x145)]},_0x507da9=[],_0xfa64bd=new Worker(require[_0x428e90(0x130)](_0x1a5f73[_0x428e90(0x170)]),{'exposedMethods':[_0x1a5f73[_0x428e90(0x128)]],'forkOptions':{'serialization':_0x1a5f73[_0x428e90(0x13c)],'stdio':_0x1a5f73[_0x428e90(0x127)]},'numWorkers':_0x316a6a[_0x428e90(0x15f)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x4fe8a1=new Emittery();_0x4fe8a1['on'](_0x1a5f73[_0x428e90(0x172)],_0x199e19=>{_0x507da9['push']([_0x199e19[0x0],_0x199e19[0x1]]);}),_0x4fe8a1['on'](_0x1a5f73['pqZJa'],_0x39e498=>console[_0x428e90(0x152)](_0x39e498[0x1]));_0xfa64bd[_0x428e90(0x13e)]()&&_0xfa64bd[_0x428e90(0x13e)]()[_0x428e90(0x134)](process[_0x428e90(0x141)]);_0xfa64bd[_0x428e90(0x14a)]()&&_0xfa64bd[_0x428e90(0x14a)]()[_0x428e90(0x134)](process[_0x428e90(0x11c)]);const _0x184b0a=async()=>{const _0x1e5a57=_0x428e90,{forceExited:_0x40c5fb}=await _0xfa64bd[_0x1e5a57(0x167)]();_0x40c5fb&&console[_0x1e5a57(0x16e)](_0x2b87bb[_0x1e5a57(0x11e)]),_0x2b87bb['gZezb'](_0x54c458,_0x507da9);},_0x57c518=_0x1a5f73[_0x428e90(0x119)](pLimit,_0x316a6a['length']||0x1),_0x635f89=(_0x34db09,_0x4c64d4)=>_0x57c518(async()=>{const _0x3a6969=_0x428e90;return await _0x4fe8a1[_0x3a6969(0x133)](_0x2b87bb['cXYdf'],_0x34db09),_0x289482[_0x3a6969(0x120)]=_0x120336['platforms'][_0x4c64d4],_0xfa64bd[_0x3a6969(0x168)](_0x34db09,_0x289482,_0x120336,_0x1108bf,_0x5d2442);});Promise[_0x428e90(0x160)](_0x316a6a['map']((_0x46eb1b,_0x1ef30f)=>_0x635f89(_0x46eb1b,_0x1ef30f)[_0x428e90(0x129)](_0x3a54fa=>_0x4fe8a1['emit'](_0x428e90(0x124),[_0x46eb1b,_0x3a54fa]),_0x301c36=>_0x4fe8a1[_0x428e90(0x133)](_0x428e90(0x158),[_0x46eb1b,_0x301c36]))))[_0x428e90(0x129)](_0x184b0a,_0x184b0a);});},exports[a44_0x5e4d4c(0x166)]=(_0x9f87fa,_0x2e383c)=>new Promise(_0x5c6f68=>{const _0x4be617=a44_0x5e4d4c,_0x4d09cb={'xjCqf':function(_0x6feef3,_0x1158cb){return _0x6feef3===_0x1158cb;},'BKxFf':function(_0x20eef7,_0x355aee){return _0x20eef7!==_0x355aee;},'mioPr':_0x4be617(0x11b),'SVObt':'Workers\x20failed\x20to\x20exit\x20gracefully','DGClB':function(_0x13d2e9,_0x36d0f7){return _0x13d2e9(_0x36d0f7);},'bRRhc':_0x4be617(0x149),'UXwNs':_0x4be617(0x15a),'VCrmW':_0x4be617(0x126),'JmCpB':_0x4be617(0x134),'QWuiL':_0x4be617(0x169),'UhzIj':_0x4be617(0x139),'eRjcB':function(_0x2f2ece,_0x3c40b1){return _0x2f2ece(_0x3c40b1);}},_0x1d4f4e={},_0x445a98=new Worker(require[_0x4be617(0x130)](_0x4d09cb[_0x4be617(0x15e)]),{'exposedMethods':[_0x4d09cb[_0x4be617(0x16b)]],'forkOptions':{'serialization':_0x4d09cb[_0x4be617(0x121)],'stdio':_0x4d09cb[_0x4be617(0x11d)]},'numWorkers':_0x2e383c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x3e6317=new Emittery();_0x3e6317['on'](_0x4d09cb[_0x4be617(0x132)],_0x48af44=>{const _0x16b798=_0x4be617;_0x48af44[0x0]&&logger['info'](_0x16b798(0x11a)+_0x48af44[0x1]+_0x16b798(0x14e),_0x48af44[0x0]);}),_0x3e6317['on'](_0x4d09cb[_0x4be617(0x163)],_0x13d81b=>{const _0x3a5de8=_0x4be617;process[_0x3a5de8(0x13a)]=0x1;});_0x445a98[_0x4be617(0x13e)]()&&_0x445a98[_0x4be617(0x13e)]()[_0x4be617(0x134)](process[_0x4be617(0x141)]);_0x445a98['getStderr']()&&_0x445a98['getStderr']()[_0x4be617(0x134)](process['stderr']);const _0x2cfc0f=async()=>{const _0x13073b=_0x4be617;let _0x4f3144=0x0;const _0x469d47=_0x445a98[_0x13073b(0x14f)]['getWorkers'](),_0x97ec=()=>{},_0x99b401=_0x469d47['map'](async _0x9640b3=>{const _0x31e14a=_0x13073b,_0x40e711={'RfVjp':function(_0xba79e9,_0x589e5f){return _0x4d09cb['xjCqf'](_0xba79e9,_0x589e5f);},'TjeSQ':function(_0x47e5cf,_0x17756a){return _0x4d09cb['BKxFf'](_0x47e5cf,_0x17756a);}};_0x9640b3[_0x31e14a(0x11f)]([0x2,![]],_0x97ec,_0x97ec,_0x97ec),_0x9640b3[_0x31e14a(0x123)]['on'](_0x4d09cb[_0x31e14a(0x131)],_0x2f9dbf=>{const _0x4af516=_0x31e14a;_0x40e711[_0x4af516(0x148)](_0x4f3144,0x0)&&_0x40e711['TjeSQ'](_0x2f9dbf,0x0)&&(_0x4f3144=_0x2f9dbf);}),await _0x9640b3['waitForExit']();});await Promise[_0x13073b(0x160)](_0x99b401),process[_0x13073b(0x13a)]=_0x4f3144;const {forceExited:_0x457c0b}=await _0x445a98['end']();_0x457c0b&&console[_0x13073b(0x16e)](_0x4d09cb[_0x13073b(0x16c)]),_0x4d09cb[_0x13073b(0x14c)](_0x5c6f68,_0x1d4f4e);},_0x1598f2=_0x4d09cb['eRjcB'](pLimit,_0x2e383c),_0x3462be=_0x3132b8=>_0x1598f2(async()=>{const _0x17b00f=_0x4be617;return _0x445a98[_0x17b00f(0x15a)](_0x3132b8);});Promise['all'](_0x9f87fa[_0x4be617(0x12a)](_0x566145=>_0x3462be(_0x566145)[_0x4be617(0x129)](_0x4bd85b=>_0x3e6317['emit']('test-file-success',[_0x566145[_0x4be617(0x171)][_0x4be617(0x15d)],_0x566145['configuration']['file']]),_0x2d9399=>_0x3e6317[_0x4be617(0x133)](_0x4be617(0x139),[_0x566145,_0x2d9399]))))['then'](_0x2cfc0f,_0x2cfc0f);});function a44_0x1e78(){const _0x554c2d=['Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','qFtJU','parallelVanillaRun','end','cucumberWorker','test-file-success','5WtjNaf','UXwNs','SVObt','bgxOs','error','yCfDU','JLuJh','configuration','QklJP','parallelTestRun','xWNQU','Running\x20','exit','stderr','JmCpB','XskwA','send','platformCaps','VCrmW','HnzQx','_child','platform-run-success','debug','json','onOnk','wcqEB','then','map','results','MOCHA','9HgcJNr','DZzjL','../../helpers/test-observability/constants','resolve','mioPr','QWuiL','emit','pipe','wFrWi','worker','../../helpers/test-observability/sessionHandler','8181135AftBAn','test-file-failure','exitCode','ouhAZ','Jpqpr','p-limit','getStdout','stop','YrKNp','stdout','EoVnL','677752ZvyKrh','7571664eLipBx','tJXaJ','failureCount','1727784WnAMUX','RfVjp','./testWorker.js','getStderr','1588440YHQQbt','DGClB','../../helpers/testhub/testhubHandler','\x20for','_workerPool','WbhCa','emittery','log','735327oHQTnV','vnoGU','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-start','accessibility','platform-run-failure','SlraM','vanillaWorker','ekOUC','winstonLogger','platform','bRRhc','length','all','2282404aOYXYq','config','UhzIj'];a44_0x1e78=function(){return _0x554c2d;};return a44_0x1e78();}
|
|
1
|
+
const a44_0x520385=a44_0x57d1;(function(_0x2c400f,_0x245043){const _0x109901=a44_0x57d1,_0x31ae82=_0x2c400f();while(!![]){try{const _0x368048=-parseInt(_0x109901(0xf2))/0x1*(parseInt(_0x109901(0x119))/0x2)+-parseInt(_0x109901(0x13e))/0x3*(-parseInt(_0x109901(0xe5))/0x4)+-parseInt(_0x109901(0xe9))/0x5*(parseInt(_0x109901(0x11e))/0x6)+-parseInt(_0x109901(0xeb))/0x7+-parseInt(_0x109901(0x131))/0x8*(parseInt(_0x109901(0x143))/0x9)+parseInt(_0x109901(0x122))/0xa+-parseInt(_0x109901(0x139))/0xb*(-parseInt(_0x109901(0x146))/0xc);if(_0x368048===_0x245043)break;else _0x31ae82['push'](_0x31ae82['shift']());}catch(_0x55cb9a){_0x31ae82['push'](_0x31ae82['shift']());}}}(a44_0x5ad8,0xbb35e));function a44_0x5ad8(){const _0x525ac8=['launchBuild','Wgylq','wBofJ','results','getWorkers','../../helpers/accessibility-automation/helper','forEach','\x20for','platform-run-success','xaFYO','RBatg','./testWorker.js','MQvYW','resolve','../../helpers/test-observability/constants','nnqJY','p-limit','platform-run-failure','RUnlq','MOCHA','jest-worker','stdout','VeTSA','platform-run-start','platformCaps','configuration','JrPEd','SqUfi','gAbSk','BpBCw','parallelTestRun','test-file-start','ensRJ','gGJtn','NtgfM','VPWhC','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','2sttGgT','exitCode','all','json','TkdwR','1485732gLAMeu','file','SVPqR','platforms','6719510jtYVxx','vsaka','info','emittery','Ldtqu','platform','config','cucumberWorker','CCdRY','parallelVanillaRun','qfBtt','stderr','Worker','lULZz','pipe','8ifEfKk','length','../../helpers/test-observability/sessionHandler','getStdout','brbEo','worker','stop','../../helpers/test-observability/utils','42636YIUKbj','then','waitForExit','TkZHV','Running\x20','4477197LGLYek','wfTMS','error','map','../../helpers/testhub/testhubHandler','1905723MvlkUs','mxymi','log','3192sdOLXT','test-file-success','rHZPU','UMNQz','getStderr','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','ZuYex','lgbLX','4paLOnG','xNagV','end','XbKrt','25RQvbqC','IvdjK','173754wUjVNl','lqQjS','xcYSe','test-file-failure','Workers\x20failed\x20to\x20exit\x20gracefully','XXgcP','emit','953873KmrWnH','_child'];a44_0x5ad8=function(){return _0x525ac8;};return a44_0x5ad8();}function a44_0x57d1(_0x5b5007,_0x4f25bb){const _0x5ad8ab=a44_0x5ad8();return a44_0x57d1=function(_0x57d117,_0xaf24b){_0x57d117=_0x57d117-0xe4;let _0xaa161a=_0x5ad8ab[_0x57d117];return _0xaa161a;},a44_0x57d1(_0x5b5007,_0x4f25bb);}const Worker=require(a44_0x520385(0x108))[a44_0x520385(0x12e)],Emittery=require(a44_0x520385(0x125)),pLimit=require(a44_0x520385(0x104)),util=require('util'),logger=require('../../helpers/logger')['winstonLogger'],{createAccessibilityTestRun,stopAccessibilityTestRun,isAccessibilityAutomationSession}=require(a44_0x520385(0xf9)),SessionHandler=require(a44_0x520385(0x133)),{getFrameworkVersion,isTestObservabilitySession,debug}=require(a44_0x520385(0x138)),TestHubHandler=require(a44_0x520385(0x142)),{FRAMEWORKS}=require(a44_0x520385(0x102)),checkAccessibility=_0x3df9ac=>{const _0x515e83=a44_0x520385,_0x4598b1={};_0x4598b1[_0x515e83(0xe8)]=function(_0x35cdd4,_0x2f28d1){return _0x35cdd4===_0x2f28d1;};const _0x1bdc63=_0x4598b1;let _0x13be3a=![];try{_0x3df9ac[_0x515e83(0x121)][_0x515e83(0xfa)](_0x5bfff6=>{const _0x23dd1d=_0x515e83;if(_0x1bdc63[_0x23dd1d(0xe8)](_0x5bfff6['accessibility'],!![]))return _0x13be3a=!![],!![];});}catch(_0x54f325){logger['debug'](_0x515e83(0x118)+_0x54f325);}return _0x13be3a;};exports[a44_0x520385(0x112)]=(_0x1249ba,_0x5ac9e5,_0x3bb77a)=>new Promise(async _0x10c380=>{const _0x196e35=a44_0x520385,_0x5270fe={'Wgylq':'failureCount','xcYSe':function(_0x50624f,_0x406ac1){return _0x50624f+_0x406ac1;},'RBatg':_0x196e35(0xf7),'xaFYO':_0x196e35(0xef),'ZuYex':function(_0x124986,_0x5d6e81){return _0x124986(_0x5d6e81);},'BnjOX':function(_0x58d97a,_0x3b6321){return _0x58d97a(_0x3b6321);},'NtgfM':_0x196e35(0x113),'nnqJY':_0x196e35(0xff),'CCdRY':'worker','AiISV':_0x196e35(0x11c),'lqQjS':_0x196e35(0x130),'TkdwR':function(_0x32987b,_0x246b02){return _0x32987b*_0x246b02;},'VeTSA':_0x196e35(0x147),'UMNQz':_0x196e35(0xee),'IlqlJ':function(_0x31afc8,_0x349be7){return _0x31afc8(_0x349be7);}},_0x560dbb=_0x3bb77a[_0x196e35(0x128)],_0x14eb26={},_0x2e627a=await TestHubHandler[_0x196e35(0xf4)](FRAMEWORKS[_0x196e35(0x107)],_0x3bb77a),_0x3b51f2=new Worker(require['resolve'](_0x5270fe[_0x196e35(0x103)]),{'exposedMethods':[_0x5270fe[_0x196e35(0x12a)]],'forkOptions':{'serialization':_0x5270fe['AiISV'],'stdio':_0x5270fe[_0x196e35(0xec)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x5270fe[_0x196e35(0x11d)](_0x5ac9e5,0x1),'enableWorkerThreads':!![]}),_0x203c7f=new Emittery();_0x203c7f['on'](_0x5270fe[_0x196e35(0x10a)],_0x3aef23=>{const _0x4a113d=_0x196e35;_0x14eb26[_0x3aef23[0x0]]?(_0x14eb26[_0x3aef23[0x0]][_0x5270fe[_0x4a113d(0xf5)]]=_0x5270fe[_0x4a113d(0xed)](_0x14eb26[_0x3aef23[0x0]][_0x5270fe['Wgylq']],_0x3aef23[0x1][_0x5270fe[_0x4a113d(0xf5)]]),_0x14eb26[_0x3aef23[0x0]][_0x5270fe[_0x4a113d(0xfe)]]=[..._0x14eb26[_0x3aef23[0x0]][_0x5270fe[_0x4a113d(0xfe)]],..._0x3aef23[0x1][_0x5270fe[_0x4a113d(0xfe)]]]):_0x14eb26[_0x3aef23[0x0]]={'failureCount':_0x3aef23[0x1][_0x5270fe[_0x4a113d(0xf5)]],'results':[..._0x3aef23[0x1][_0x5270fe['RBatg']]]};}),_0x203c7f['on'](_0x5270fe[_0x196e35(0x149)],_0x1b2255=>console[_0x196e35(0x145)](_0x1b2255[0x1]));_0x3b51f2[_0x196e35(0x134)]()&&_0x3b51f2[_0x196e35(0x134)]()['pipe'](process[_0x196e35(0x109)]);_0x3b51f2[_0x196e35(0x14a)]()&&_0x3b51f2[_0x196e35(0x14a)]()['pipe'](process[_0x196e35(0x12d)]);const _0x5bec53=async()=>{const _0x58e3b8=_0x196e35,{forceExited:_0x343b5b}=await _0x3b51f2[_0x58e3b8(0xe7)]();_0x343b5b&&console[_0x58e3b8(0x140)](_0x5270fe[_0x58e3b8(0xfd)]);try{await TestHubHandler[_0x58e3b8(0x137)]();}catch(_0x4b6ec7){_0x5270fe[_0x58e3b8(0x14c)](debug,_0x58e3b8(0x14b)+_0x4b6ec7);}_0x5270fe['BnjOX'](_0x10c380,_0x14eb26);},_0x1bd95d=_0x5270fe['IlqlJ'](pLimit,_0x5270fe[_0x196e35(0x11d)](_0x5ac9e5,0x1)),_0x56e77c=_0x2ff37e=>_0x1bd95d(async()=>{const _0x25414b=_0x196e35;return await _0x203c7f[_0x25414b(0xf1)](_0x5270fe[_0x25414b(0x116)],_0x2ff37e),_0x3b51f2[_0x25414b(0x136)](_0x2ff37e,_0x560dbb);});Promise[_0x196e35(0x11b)](_0x1249ba['map'](_0x52c099=>_0x56e77c(_0x52c099)[_0x196e35(0x13a)](_0x4aa4b5=>_0x203c7f['emit'](_0x196e35(0x147),[_0x52c099[_0x196e35(0x10d)][_0x196e35(0x127)],_0x4aa4b5]),_0x59b5ed=>_0x203c7f['emit']('test-file-failure',[_0x52c099,_0x59b5ed]))))[_0x196e35(0x13a)](_0x5bec53,_0x5bec53);}),exports['parallelCucumberRun']=(_0x449a86,_0x16ec51,_0x55eec8,_0x10e851,_0x1c4a7c)=>{const _0x2f599b=a44_0x520385,_0x58c434={'JrPEd':'Workers\x20failed\x20to\x20exit\x20gracefully','lULZz':function(_0x4c9510,_0x21c1b3){return _0x4c9510(_0x21c1b3);},'ZPpTD':_0x2f599b(0x10b),'SVPqR':_0x2f599b(0xff),'XXgcP':_0x2f599b(0x129),'Ldtqu':_0x2f599b(0x11c),'BpBCw':_0x2f599b(0x130),'wBofJ':_0x2f599b(0xfc),'ensRJ':_0x2f599b(0x105),'brbEo':function(_0x8e5b9f,_0x504993){return _0x8e5b9f(_0x504993);}};return new Promise(_0x1f691b=>{const _0x40f7d5=_0x2f599b,_0x2d590b={'mxymi':_0x58c434[_0x40f7d5(0x10e)],'gAbSk':function(_0x4fc803,_0x3e8251){const _0x1264b9=_0x40f7d5;return _0x58c434[_0x1264b9(0x12f)](_0x4fc803,_0x3e8251);},'gGJtn':_0x58c434['ZPpTD']},_0x353848=[],_0x1d987a=new Worker(require['resolve'](_0x58c434[_0x40f7d5(0x120)]),{'exposedMethods':[_0x58c434[_0x40f7d5(0xf0)]],'forkOptions':{'serialization':_0x58c434[_0x40f7d5(0x126)],'stdio':_0x58c434[_0x40f7d5(0x111)]},'numWorkers':_0x449a86[_0x40f7d5(0x132)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x43b45d=new Emittery();_0x43b45d['on'](_0x58c434[_0x40f7d5(0xf6)],_0xb9e91a=>{_0x353848['push']([_0xb9e91a[0x0],_0xb9e91a[0x1]]);}),_0x43b45d['on'](_0x58c434[_0x40f7d5(0x114)],_0x179917=>console[_0x40f7d5(0x145)](_0x179917[0x1]));_0x1d987a['getStdout']()&&_0x1d987a[_0x40f7d5(0x134)]()[_0x40f7d5(0x130)](process[_0x40f7d5(0x109)]);_0x1d987a['getStderr']()&&_0x1d987a['getStderr']()[_0x40f7d5(0x130)](process[_0x40f7d5(0x12d)]);const _0x595399=async()=>{const _0xc54f51=_0x40f7d5,{forceExited:_0x59959b}=await _0x1d987a['end']();_0x59959b&&console['error'](_0x2d590b[_0xc54f51(0x144)]),_0x2d590b[_0xc54f51(0x110)](_0x1f691b,_0x353848);},_0x2ddec2=_0x58c434[_0x40f7d5(0x135)](pLimit,_0x449a86[_0x40f7d5(0x132)]||0x1),_0x15c6c2=(_0x48d6ac,_0x1796a7)=>_0x2ddec2(async()=>{const _0x38a36c=_0x40f7d5;return await _0x43b45d['emit'](_0x2d590b[_0x38a36c(0x115)],_0x48d6ac),_0x16ec51[_0x38a36c(0x10c)]=_0x55eec8[_0x38a36c(0x121)][_0x1796a7],_0x1d987a[_0x38a36c(0x129)](_0x48d6ac,_0x16ec51,_0x55eec8,_0x10e851,_0x1c4a7c);});Promise[_0x40f7d5(0x11b)](_0x449a86['map']((_0xf1da71,_0x12e246)=>_0x15c6c2(_0xf1da71,_0x12e246)[_0x40f7d5(0x13a)](_0x2c9f9a=>_0x43b45d['emit'](_0x40f7d5(0xfc),[_0xf1da71,_0x2c9f9a]),_0xd3d39e=>_0x43b45d[_0x40f7d5(0xf1)](_0x40f7d5(0x105),[_0xf1da71,_0xd3d39e]))))[_0x40f7d5(0x13a)](_0x595399,_0x595399);});},exports[a44_0x520385(0x12b)]=(_0x16c8d7,_0x4cadb6)=>new Promise(_0x5cb55c=>{const _0x76223a=a44_0x520385,_0x1c8ce0={'psnMJ':function(_0x7aff65,_0x56afd1){return _0x7aff65===_0x56afd1;},'IvdjK':function(_0x2a7ea3,_0x5cc0bc){return _0x2a7ea3!==_0x5cc0bc;},'MQvYW':'exit','VTyJI':_0x76223a(0xef),'lgbLX':function(_0x18dd65,_0x4eb522){return _0x18dd65(_0x4eb522);},'TkZHV':_0x76223a(0xff),'RUnlq':'vanillaWorker','UVhbR':_0x76223a(0x11c),'PXCht':_0x76223a(0x130),'xNagV':_0x76223a(0x147),'vsaka':_0x76223a(0xee)},_0x59f285={},_0x265af1=new Worker(require[_0x76223a(0x101)](_0x1c8ce0[_0x76223a(0x13c)]),{'exposedMethods':[_0x1c8ce0[_0x76223a(0x106)]],'forkOptions':{'serialization':_0x1c8ce0['UVhbR'],'stdio':_0x1c8ce0['PXCht']},'numWorkers':_0x4cadb6,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x25487b=new Emittery();_0x25487b['on'](_0x1c8ce0[_0x76223a(0xe6)],_0x447bb4=>{const _0x3f0864=_0x76223a;_0x447bb4[0x0]&&logger[_0x3f0864(0x124)](_0x3f0864(0x13d)+_0x447bb4[0x1]+_0x3f0864(0xfb),_0x447bb4[0x0]);}),_0x25487b['on'](_0x1c8ce0[_0x76223a(0x123)],_0x2e6a76=>{process['exitCode']=0x1;});_0x265af1[_0x76223a(0x134)]()&&_0x265af1[_0x76223a(0x134)]()[_0x76223a(0x130)](process[_0x76223a(0x109)]);_0x265af1[_0x76223a(0x14a)]()&&_0x265af1['getStderr']()[_0x76223a(0x130)](process['stderr']);const _0x303842=async()=>{const _0x1ecbd0=_0x76223a,_0x1c7c0b={'VPWhC':function(_0x4d07b2,_0x27469d){return _0x1c8ce0['psnMJ'](_0x4d07b2,_0x27469d);},'qfBtt':function(_0x18c8f5,_0x59a160){const _0x36f490=a44_0x57d1;return _0x1c8ce0[_0x36f490(0xea)](_0x18c8f5,_0x59a160);},'SqUfi':_0x1c8ce0[_0x1ecbd0(0x100)]};let _0x3b3f6a=0x0;const _0x3788f2=_0x265af1['_workerPool'][_0x1ecbd0(0xf8)](),_0x3f855f=()=>{},_0x52318a=_0x3788f2['map'](async _0xa65d41=>{const _0x4ef89b=_0x1ecbd0,_0x1ee3df={'rHZPU':function(_0x595804,_0x5e20f9){const _0x37f420=a44_0x57d1;return _0x1c7c0b[_0x37f420(0x117)](_0x595804,_0x5e20f9);},'wfTMS':function(_0x3a0608,_0x17cbfe){const _0x188e79=a44_0x57d1;return _0x1c7c0b[_0x188e79(0x12c)](_0x3a0608,_0x17cbfe);}};_0xa65d41['send']([0x2,![]],_0x3f855f,_0x3f855f,_0x3f855f),_0xa65d41[_0x4ef89b(0xf3)]['on'](_0x1c7c0b[_0x4ef89b(0x10f)],_0x5c20d3=>{const _0x771e5c=_0x4ef89b;_0x1ee3df[_0x771e5c(0x148)](_0x3b3f6a,0x0)&&_0x1ee3df[_0x771e5c(0x13f)](_0x5c20d3,0x0)&&(_0x3b3f6a=_0x5c20d3);}),await _0xa65d41[_0x4ef89b(0x13b)]();});await Promise[_0x1ecbd0(0x11b)](_0x52318a),process[_0x1ecbd0(0x11a)]=_0x3b3f6a;const {forceExited:_0x51561a}=await _0x265af1[_0x1ecbd0(0xe7)]();_0x51561a&&console[_0x1ecbd0(0x140)](_0x1c8ce0['VTyJI']),_0x1c8ce0[_0x1ecbd0(0xe4)](_0x5cb55c,_0x59f285);},_0x25104c=_0x1c8ce0['lgbLX'](pLimit,_0x4cadb6),_0x457d44=_0x376077=>_0x25104c(async()=>{return _0x265af1['vanillaWorker'](_0x376077);});Promise[_0x76223a(0x11b)](_0x16c8d7[_0x76223a(0x141)](_0xb06ea=>_0x457d44(_0xb06ea)[_0x76223a(0x13a)](_0xbc073b=>_0x25487b[_0x76223a(0xf1)](_0x76223a(0x147),[_0xb06ea[_0x76223a(0x10d)][_0x76223a(0x127)],_0xb06ea['configuration'][_0x76223a(0x11f)]]),_0x5d6f60=>_0x25487b[_0x76223a(0xf1)]('test-file-failure',[_0xb06ea,_0x5d6f60]))))[_0x76223a(0x13a)](_0x303842,_0x303842);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a45_0x2b2c8e=a45_0x5867;function a45_0x5cf8(){const _0x4491c8=['VWCkd','7284739KnuRuc','1TjVfmM','runTest','1511476yRUxjg','3VkJYLH','run','5465272MYwSEx','configuration','lPsHP','mocha','bpRWn','oMfJs','2282844NGXLOh','cBIQZ','4044PEfWzc','runCucumberTest','1079666HSUAOL','216wWunPJ','runVanillaTest','../launcher/launcher','ghOio','eWAev','cucumber-js','vanilla','2715Tylpcy','DvRMp','280970EbqitJ'];a45_0x5cf8=function(){return _0x4491c8;};return a45_0x5cf8();}function a45_0x5867(_0xd8e270,_0x195565){const _0x5cf840=a45_0x5cf8();return a45_0x5867=function(_0x586794,_0x520350){_0x586794=_0x586794-0x1a4;let _0xfd830e=_0x5cf840[_0x586794];return _0xfd830e;},a45_0x5867(_0xd8e270,_0x195565);}(function(_0x6fd1cd,_0x5331e1){const _0x390e6f=a45_0x5867,_0x956d78=_0x6fd1cd();while(!![]){try{const _0x4cc7a6=parseInt(_0x390e6f(0x1a7))/0x1*(parseInt(_0x390e6f(0x1a9))/0x2)+-parseInt(_0x390e6f(0x1aa))/0x3*(-parseInt(_0x390e6f(0x1b2))/0x4)+-parseInt(_0x390e6f(0x1be))/0x5*(parseInt(_0x390e6f(0x1b4))/0x6)+parseInt(_0x390e6f(0x1b6))/0x7+-parseInt(_0x390e6f(0x1ac))/0x8+parseInt(_0x390e6f(0x1b7))/0x9*(-parseInt(_0x390e6f(0x1a4))/0xa)+parseInt(_0x390e6f(0x1a6))/0xb;if(_0x4cc7a6===_0x5331e1)break;else _0x956d78['push'](_0x956d78['shift']());}catch(_0x16d3ff){_0x956d78['push'](_0x956d78['shift']());}}}(a45_0x5cf8,0x6668b),exports[a45_0x2b2c8e(0x1a8)]=async(_0x2324e8,_0x1a15ca)=>{const _0x1a927f=a45_0x2b2c8e,_0xda8315={'bpRWn':function(_0x58c806,_0x31afb6){return _0x58c806(_0x31afb6);},'cBIQZ':_0x1a927f(0x1b9),'oMfJs':_0x1a927f(0x1af)},_0xc8f8aa=_0xda8315[_0x1a927f(0x1b0)](require,_0xda8315[_0x1a927f(0x1b3)]),_0x48a460=new _0xc8f8aa(_0xda8315[_0x1a927f(0x1b1)],_0x2324e8,_0x1a15ca);return await _0x48a460[_0x1a927f(0x1ab)]();},exports[a45_0x2b2c8e(0x1b5)]=async(_0x1b74ae,_0x2a4b03,_0x3b14ab,_0x3d5f32,_0x297259)=>{const _0x12ae48=a45_0x2b2c8e,_0x4ec0fe={'ZCDzv':function(_0x288120,_0x117b70){return _0x288120(_0x117b70);},'lPsHP':_0x12ae48(0x1b9),'eWAev':_0x12ae48(0x1bc)},_0x204737={'capability':_0x1b74ae,..._0x2a4b03},_0x13ce74={};_0x13ce74[_0x12ae48(0x1ad)]=_0x204737,_0x13ce74['formatter']=_0x297259;const _0x118caf=_0x13ce74,_0x56d357=_0x4ec0fe['ZCDzv'](require,_0x4ec0fe[_0x12ae48(0x1ae)]),_0x1c089f=new _0x56d357(_0x4ec0fe[_0x12ae48(0x1bb)],_0x118caf,_0x3b14ab,_0x3d5f32);return await _0x1c089f['run']();},exports[a45_0x2b2c8e(0x1b8)]=async _0x3b216f=>{const _0x238dc4=a45_0x2b2c8e,_0x5d8c26={'VWCkd':function(_0x46552e,_0x1c8dda){return _0x46552e(_0x1c8dda);},'ghOio':_0x238dc4(0x1b9),'DvRMp':_0x238dc4(0x1bd)},_0x6f7b40=_0x5d8c26[_0x238dc4(0x1a5)](require,_0x5d8c26[_0x238dc4(0x1ba)]),_0x56f140=new _0x6f7b40(_0x5d8c26[_0x238dc4(0x1bf)],_0x3b216f);return await _0x56f140[_0x238dc4(0x1ab)]();});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a46_0x3e52e0=a46_0x4bd7;(function(_0x93ff63,_0x25f032){const _0x579d54=a46_0x4bd7,_0x5baafd=_0x93ff63();while(!![]){try{const _0x30a38a=parseInt(_0x579d54(0x1c6))/0x1+-parseInt(_0x579d54(0x1c3))/0x2*(-parseInt(_0x579d54(0x1c8))/0x3)+parseInt(_0x579d54(0x1c1))/0x4+parseInt(_0x579d54(0x1ce))/0x5+parseInt(_0x579d54(0x1c7))/0x6+parseInt(_0x579d54(0x1c9))/0x7+parseInt(_0x579d54(0x1c5))/0x8*(-parseInt(_0x579d54(0x1cd))/0x9);if(_0x30a38a===_0x25f032)break;else _0x5baafd['push'](_0x5baafd['shift']());}catch(_0x41a19b){_0x5baafd['push'](_0x5baafd['shift']());}}}(a46_0x10da,0xbc08e));function a46_0x4bd7(_0x31b45e,_0x41da36){const _0x10dae7=a46_0x10da();return a46_0x4bd7=function(_0x4bd701,_0x2c8738){_0x4bd701=_0x4bd701-0x1c1;let _0x2a36d1=_0x10dae7[_0x4bd701];return _0x2a36d1;},a46_0x4bd7(_0x31b45e,_0x41da36);}const {runTest,runCucumberTest,runVanillaTest}=require(a46_0x3e52e0(0x1cc));exports[a46_0x3e52e0(0x1cb)]=async(_0x1416f5,_0x1bc376)=>{const _0x25837f={'HQrGN':function(_0x524796,_0x17dd0c,_0x431e51){return _0x524796(_0x17dd0c,_0x431e51);}};return await _0x25837f['HQrGN'](runTest,_0x1416f5,_0x1bc376);},exports['cucumberWorker']=async(_0x1108d4,_0x3a2424,_0x5a18c6,_0x593444,_0x11a827)=>{const _0x32be1b=a46_0x3e52e0,_0x56f1f2={'ZlXOK':function(_0x9b844a,_0x521551,_0x4446d7,_0x22cbcc,_0x1faa3c,_0x36a86b){return _0x9b844a(_0x521551,_0x4446d7,_0x22cbcc,_0x1faa3c,_0x36a86b);}};return await _0x56f1f2[_0x32be1b(0x1c4)](runCucumberTest,_0x1108d4,_0x3a2424,_0x5a18c6,_0x593444,_0x11a827);},exports[a46_0x3e52e0(0x1ca)]=async _0x3c0447=>{const _0x101cd=a46_0x3e52e0,_0x42dc72={'VsEBD':function(_0x42c09c,_0x3f5756){return _0x42c09c(_0x3f5756);}};return await _0x42dc72[_0x101cd(0x1c2)](runVanillaTest,_0x3c0447);};function a46_0x10da(){const _0x356bc3=['105177fiQUwC','6200355txPqfo','vanillaWorker','worker','./runTest','4019643bGIHBk','2524600ktcsop','2583584XJxrHv','VsEBD','34LujcHU','ZlXOK','72kuOJUK','1448072gzXpFy','4255062UOSJiT'];a46_0x10da=function(){return _0x356bc3;};return a46_0x10da();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
var a47_0x12fbd4=a47_0x57f8;(function(_0x2428c4,_0x22b1cd){var _0x5a0d44=a47_0x57f8,_0x36bec5=_0x2428c4();while(!![]){try{var _0xaea936=parseInt(_0x5a0d44(0x130))/0x1+-parseInt(_0x5a0d44(0xea))/0x2*(parseInt(_0x5a0d44(0x109))/0x3)+parseInt(_0x5a0d44(0xf5))/0x4+parseInt(_0x5a0d44(0x124))/0x5+-parseInt(_0x5a0d44(0xd9))/0x6+parseInt(_0x5a0d44(0xf9))/0x7+parseInt(_0x5a0d44(0x10d))/0x8*(-parseInt(_0x5a0d44(0x12d))/0x9);if(_0xaea936===_0x22b1cd)break;else _0x36bec5['push'](_0x36bec5['shift']());}catch(_0x5e37df){_0x36bec5['push'](_0x36bec5['shift']());}}}(a47_0x4abf,0x19644));var a47_0xe9ca6f={};a47_0xe9ca6f[a47_0x12fbd4(0x120)]='shows\x20version\x20information',a47_0xe9ca6f['HELP']=a47_0x12fbd4(0xe9);var a47_0x486859={};a47_0x486859['INFO']='Run\x20jest\x20tests\x20on\x20browserstack';var a47_0x4c2fdd={};a47_0x4c2fdd[a47_0x12fbd4(0x120)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a47_0x58476d={};a47_0x58476d[a47_0x12fbd4(0x120)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a47_0x41b1e9={};a47_0x41b1e9[a47_0x12fbd4(0x120)]=a47_0x12fbd4(0x10a);var a47_0x11c289={};function a47_0x4abf(){var _0x2ef9ca=['ERR_TUNNEL_CONNECTION_FAILED','VALID_APP_EXTENSION','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','ROOT_CAPS','VERSION','cucumber','604124BDymKV','acceptInsecureCerts','CODECEPT','browserName','1073898PuteZG','JEST','Run\x20nightwatch\x20tests\x20on\x20browserstack','jest','ERR_ADDRESS_UNREACHABLE','COMMONJS','HUB_URL_REGEX','Run\x20codeceptjs\x20tests\x20on\x20browserstack','.aab','PLAYWRIGHT_CONFIG_OPTION_ERRORS','invalidKeys','CUSTOM_ID_REGEX','PRIVATE_DOMAIN_OR_IP_REGEX','mocha','VANILLA','PACKAGE_TYPE','12ZLCHKT','Run\x20js\x20tests\x20on\x20browserstack','OBSERVABILITY_SUPPORTED_FWS','PLAYWRIGHT','192VtACzL','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','pageLoadStrategy','./browserstack-artifacts/','module','https://api.browserstack.com','ERR_CONNECTION_CLOSED','automate','INTEGRATIONS','ERR_PROXY_CONNECTION_FAILED','browserVersion','codeceptjs','observability','ERR_NAME_RESOLUTION_FAILED','OBSERVABILITY_UPLOAD_URL','MAX_GIT_META_DATA_SIZE_IN_BYTES','BSTACK_DELTA','CUCUMBER','ERR_FAILED','INFO','Playwright','ieOptions','APP_AUTOMATE_PRODUCTS','542960gcGUEV','ERR_CONNECTION_FAILED','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','NIGHTWATCH','chromeOptions','ERR_CONNECTION_RESET','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','BROWSERSTACK_API_URL','ERR_SOCKS_CONNECTION_FAILED','119277sGxAxr','https://upload-observability.browserstack.com','CODECEPTJS','197931WjjZWK','Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing','ERR_TIMED_OUT','https://hub.browserstack.com/wd/hub','uniqueDependency','^[a-zA-Z0-9_.-]*$','MODULE','ERR_BLOCKED_BY_CLIENT','ERR_CONNECTION_ABORTED','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','712056QMoDfy','ERR_CONNECTION_TIMED_OUT','ERR_NAME_NOT_RESOLVED','.ipa','sdk/v1/event','MOCHA','timeouts','acceptSslCert','commonjs','app-automate','ERR_CONNECTION_REFUSED','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','hubUrl','invalidTestInputType','AUTOMATE_PRODUCTS','https://api-cloud.browserstack.com','Specify\x20--help\x20for\x20available\x20options','35108QCdCCO','strictFileInteractability','AUTOMATE','ROOT_REGEX','edgeOptions'];a47_0x4abf=function(){return _0x2ef9ca;};return a47_0x4abf();}a47_0x11c289[a47_0x12fbd4(0x120)]=a47_0x12fbd4(0xfb);function a47_0x57f8(_0x48c3f5,_0x540d04){var _0x4abfdd=a47_0x4abf();return a47_0x57f8=function(_0x57f806,_0x46188e){_0x57f806=_0x57f806-0xd4;var _0x5762a6=_0x4abfdd[_0x57f806];return _0x5762a6;},a47_0x57f8(_0x48c3f5,_0x540d04);}var a47_0x3108aa={};a47_0x3108aa[a47_0x12fbd4(0x120)]='Run\x20playwright\x20tests\x20on\x20Browserstack';var a47_0xe7637a={};a47_0xe7637a[a47_0x12fbd4(0x120)]=a47_0x12fbd4(0x100);var a47_0x58b77c={};a47_0x58b77c[a47_0x12fbd4(0x120)]=a47_0x12fbd4(0x131);var a47_0x10f412={};a47_0x10f412[a47_0x12fbd4(0x120)]=a47_0x12fbd4(0x126);var a47_0x44dee4={};a47_0x44dee4[a47_0x12fbd4(0x10c)]='Playwright',a47_0x44dee4['MOCHA']=a47_0x12fbd4(0x106),a47_0x44dee4[a47_0x12fbd4(0xfa)]=a47_0x12fbd4(0xfc),a47_0x44dee4[a47_0x12fbd4(0xf7)]=a47_0x12fbd4(0x118),a47_0x44dee4[a47_0x12fbd4(0x11e)]=a47_0x12fbd4(0xf4);var a47_0x55cbcd={};a47_0x55cbcd[a47_0x12fbd4(0x103)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a47_0x55cbcd[a47_0x12fbd4(0x134)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a47_0x55cbcd['mandatoryDependency']=a47_0x12fbd4(0xe4),a47_0x55cbcd[a47_0x12fbd4(0xe6)]=a47_0x12fbd4(0x10e);var a47_0x13a521={};a47_0x13a521[a47_0x12fbd4(0xfe)]=a47_0x12fbd4(0xe1),a47_0x13a521[a47_0x12fbd4(0xd5)]=a47_0x12fbd4(0x111);var a47_0x1118cf={};a47_0x1118cf[a47_0x12fbd4(0xf3)]=a47_0xe9ca6f,a47_0x1118cf[a47_0x12fbd4(0xfa)]=a47_0x486859,a47_0x1118cf[a47_0x12fbd4(0xde)]=a47_0x4c2fdd,a47_0x1118cf[a47_0x12fbd4(0x11e)]=a47_0x58476d,a47_0x1118cf[a47_0x12fbd4(0x107)]=a47_0x41b1e9,a47_0x1118cf[a47_0x12fbd4(0x127)]=a47_0x11c289,a47_0x1118cf[a47_0x12fbd4(0x10c)]=a47_0x3108aa,a47_0x1118cf[a47_0x12fbd4(0x12f)]=a47_0xe7637a,a47_0x1118cf['HST']=a47_0x58b77c,a47_0x1118cf[a47_0x12fbd4(0x115)]=a47_0x10f412,a47_0x1118cf[a47_0x12fbd4(0x11d)]=0xf*0x3c*0x3e8,a47_0x1118cf[a47_0x12fbd4(0xe5)]=a47_0x12fbd4(0x133),a47_0x1118cf[a47_0x12fbd4(0xff)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a47_0x1118cf[a47_0x12fbd4(0xf2)]=[a47_0x12fbd4(0xf6),a47_0x12fbd4(0x10f),a47_0x12fbd4(0xeb),'unhandledPromptBehavior',a47_0x12fbd4(0xdf),a47_0x12fbd4(0xf8),a47_0x12fbd4(0x117),'acceptSslCerts',a47_0x12fbd4(0xe0),a47_0x12fbd4(0x128),'firefoxOptions',a47_0x12fbd4(0xee),a47_0x12fbd4(0x122)],a47_0x1118cf[a47_0x12fbd4(0xed)]=/^[\w-]+:.*$/,a47_0x1118cf[a47_0x12fbd4(0x105)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a47_0x1118cf[a47_0x12fbd4(0x12b)]=a47_0x12fbd4(0x112),a47_0x1118cf['APP_UPLOAD_URL']=a47_0x12fbd4(0xe8),a47_0x1118cf['FUNNEL_INSTRUMENTATION_API_URL']=a47_0x12fbd4(0xdd),a47_0x1118cf[a47_0x12fbd4(0xe7)]=['automate','observability'],a47_0x1118cf[a47_0x12fbd4(0x123)]=[a47_0x12fbd4(0xe2),a47_0x12fbd4(0x119)],a47_0x1118cf[a47_0x12fbd4(0xf1)]=[a47_0x12fbd4(0x119)],a47_0x1118cf[a47_0x12fbd4(0x11b)]=a47_0x12fbd4(0x12e),a47_0x1118cf[a47_0x12fbd4(0x10b)]=[a47_0x12fbd4(0x106),a47_0x12fbd4(0x121)],a47_0x1118cf[a47_0x12fbd4(0xec)]=[a47_0x12fbd4(0x114)],a47_0x1118cf['APP_AUTOMATE']=[a47_0x12fbd4(0xe2)],a47_0x1118cf['NUDGE_LOCAL_ERRORS']=[a47_0x12fbd4(0x11f),a47_0x12fbd4(0x132),a47_0x12fbd4(0xd6),'ERR_NETWORK_CHANGED','ERR_SOCKET_NOT_CONNECTED',a47_0x12fbd4(0x113),a47_0x12fbd4(0x129),a47_0x12fbd4(0xe3),a47_0x12fbd4(0xd7),a47_0x12fbd4(0x125),'ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID',a47_0x12fbd4(0xfd),a47_0x12fbd4(0xef),a47_0x12fbd4(0xda),a47_0x12fbd4(0x12c),a47_0x12fbd4(0xd8),a47_0x12fbd4(0x116),a47_0x12fbd4(0xdb),a47_0x12fbd4(0x11a),a47_0x12fbd4(0x12a)],a47_0x1118cf[a47_0x12fbd4(0xf0)]=['.apk',a47_0x12fbd4(0x101),a47_0x12fbd4(0xdc)],a47_0x1118cf[a47_0x12fbd4(0x104)]=a47_0x12fbd4(0xd4),a47_0x1118cf['SHAREABLE_ID_REGEX']='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a47_0x1118cf['CI_ARTIFACTS_PATH']=a47_0x12fbd4(0x110),a47_0x1118cf['PLAYWRIGHT_HUB_URL']='wss://cdp.browserstack.com/playwright?caps=',a47_0x1118cf['FRAMEWORKS']=a47_0x44dee4,a47_0x1118cf['PERCY_SUPPORTED_FRAMEWORKS']=[a47_0x12fbd4(0xfc),a47_0x12fbd4(0x106)],a47_0x1118cf[a47_0x12fbd4(0x102)]=a47_0x55cbcd,a47_0x1118cf['AUTOLOGCAPTURE_NOTIFICATION']='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a47_0x1118cf[a47_0x12fbd4(0x108)]=a47_0x13a521,a47_0x1118cf[a47_0x12fbd4(0x11c)]=0x40*0x400,a47_0x1118cf['GIT_META_DATA_TRUNCATED']='...[TRUNCATED]',module['exports']=a47_0x1118cf;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a48_0xb39739=a48_0x4c6d;(function(_0x27a445,_0x405571){const _0x3d957f=a48_0x4c6d,_0x8e9e7f=_0x27a445();while(!![]){try{const _0x867462=-parseInt(_0x3d957f(0x166))/0x1+-parseInt(_0x3d957f(0x164))/0x2*(-parseInt(_0x3d957f(0x160))/0x3)+-parseInt(_0x3d957f(0x16f))/0x4+-parseInt(_0x3d957f(0x172))/0x5*(parseInt(_0x3d957f(0x176))/0x6)+-parseInt(_0x3d957f(0x16c))/0x7*(parseInt(_0x3d957f(0x16e))/0x8)+parseInt(_0x3d957f(0x16d))/0x9*(-parseInt(_0x3d957f(0x165))/0xa)+parseInt(_0x3d957f(0x16b))/0xb*(parseInt(_0x3d957f(0x16a))/0xc);if(_0x867462===_0x405571)break;else _0x8e9e7f['push'](_0x8e9e7f['shift']());}catch(_0x5e5874){_0x8e9e7f['push'](_0x8e9e7f['shift']());}}}(a48_0x55a7,0xac656));function a48_0x4c6d(_0x1e7a7c,_0x558b9){const _0x55a74c=a48_0x55a7();return a48_0x4c6d=function(_0x4c6d63,_0x26264d){_0x4c6d63=_0x4c6d63-0x160;let _0x384971=_0x55a74c[_0x4c6d63];return _0x384971;},a48_0x4c6d(_0x1e7a7c,_0x558b9);}const logReportingAPI=require(a48_0xb39739(0x167)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x5be445,_0x10e3c9){return _0x160551=>{const _0x49e8df=a48_0x4c6d;BSTestOpsLogger[_0x49e8df(0x168)]({'level':_0x160551[_0x49e8df(0x163)]?_0x160551[_0x49e8df(0x163)]['levelStr']:null,'message':_0x160551[_0x49e8df(0x161)]?_0x160551[_0x49e8df(0x161)][_0x49e8df(0x170)]('\x20'):null});};}exports[a48_0xb39739(0x171)]=(_0x53817d,_0x9567e3)=>{const _0x3b3576=a48_0xb39739,_0x18e31e={'hkzPz':function(_0x53e3f1,_0xb2c6a,_0x55c9bb){return _0x53e3f1(_0xb2c6a,_0x55c9bb);}};let _0x541857=_0x9567e3[_0x3b3576(0x162)];return _0x53817d[_0x3b3576(0x174)]&&(_0x541857=_0x9567e3[_0x3b3576(0x174)](_0x53817d[_0x3b3576(0x174)][_0x3b3576(0x173)],_0x53817d[_0x3b3576(0x174)])),_0x18e31e[_0x3b3576(0x169)](BSTestOpsLog4JSAppender,_0x541857,_0x53817d[_0x3b3576(0x175)]);};function a48_0x55a7(){const _0x529389=['level','57378zmHbKC','10VjGSwx','1198163JuYRxy','./logReportingAPI','log','hkzPz','24UOdjAh','21160931dFFMox','21UBEsJF','1794321hEEzsb','1845104IcNEvx','737704aGazpJ','join','configure','5PPYkXf','type','layout','timezoneOffset','6065286SclKEE','15FpOWpz','data','colouredLayout'];a48_0x55a7=function(){return _0x529389;};return a48_0x55a7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a49_0x55ff(_0xfb66e5,_0x33f2d4){const _0x4e8e25=a49_0x4e8e();return a49_0x55ff=function(_0x55ff43,_0x2c59d9){_0x55ff43=_0x55ff43-0x12c;let _0x3b9df8=_0x4e8e25[_0x55ff43];return _0x3b9df8;},a49_0x55ff(_0xfb66e5,_0x33f2d4);}const a49_0x4ca283=a49_0x55ff;(function(_0x1727ae,_0x3846c4){const _0x19e979=a49_0x55ff,_0x274d30=_0x1727ae();while(!![]){try{const _0xcfb362=parseInt(_0x19e979(0x144))/0x1*(parseInt(_0x19e979(0x143))/0x2)+-parseInt(_0x19e979(0x148))/0x3+-parseInt(_0x19e979(0x137))/0x4+-parseInt(_0x19e979(0x147))/0x5*(-parseInt(_0x19e979(0x12c))/0x6)+-parseInt(_0x19e979(0x135))/0x7+parseInt(_0x19e979(0x14b))/0x8+-parseInt(_0x19e979(0x142))/0x9*(-parseInt(_0x19e979(0x13b))/0xa);if(_0xcfb362===_0x3846c4)break;else _0x274d30['push'](_0x274d30['shift']());}catch(_0x8bc1ec){_0x274d30['push'](_0x274d30['shift']());}}}(a49_0x4e8e,0x26082));const Transport=require(a49_0x4ca283(0x13d)),{consoleHolder}=require(a49_0x4ca283(0x13e)),a49_0x35cd60={};a49_0x35cd60[a49_0x4ca283(0x13f)]='INFO',a49_0x35cd60[a49_0x4ca283(0x13a)]=a49_0x4ca283(0x13a),a49_0x35cd60[a49_0x4ca283(0x13c)]='DEBUG',a49_0x35cd60[a49_0x4ca283(0x132)]=a49_0x4ca283(0x132),a49_0x35cd60[a49_0x4ca283(0x146)]='WARN';const LOG_LEVELS=a49_0x35cd60;class logPatcher extends Transport{constructor(_0x53f02a){super(_0x53f02a);}['logToTestOps']=(_0x544a56=LOG_LEVELS[a49_0x4ca283(0x13f)],_0x55a340=[''])=>{const _0x535cd8=a49_0x4ca283,_0x293d9b={};_0x293d9b['jAzJU']=_0x535cd8(0x14c);const _0x20af70=_0x293d9b;consoleHolder[_0x544a56[_0x535cd8(0x14a)]()](..._0x55a340),process[_0x535cd8(0x149)](_0x535cd8(0x139)+process[_0x535cd8(0x12f)],{'timestamp':new Date()['toISOString'](),'level':_0x544a56[_0x535cd8(0x12d)](),'message':'\x22'+_0x55a340[_0x535cd8(0x145)](',\x20')+'\x22','kind':_0x20af70[_0x535cd8(0x140)],'http_response':{}});};[a49_0x4ca283(0x138)]=(..._0x17818e)=>{const _0xe54448=a49_0x4ca283;this[_0xe54448(0x133)](LOG_LEVELS[_0xe54448(0x132)],_0x17818e);};[a49_0x4ca283(0x12e)]=(..._0x3b7116)=>{const _0x2b27a3=a49_0x4ca283;this[_0x2b27a3(0x133)](LOG_LEVELS[_0x2b27a3(0x13c)],_0x3b7116);};[a49_0x4ca283(0x134)]=(..._0x44b3a6)=>{const _0x3d17b5=a49_0x4ca283;this['logToTestOps'](LOG_LEVELS[_0x3d17b5(0x13f)],_0x44b3a6);};[a49_0x4ca283(0x130)]=(..._0x294f00)=>{const _0x1e60ed=a49_0x4ca283;this[_0x1e60ed(0x133)](LOG_LEVELS[_0x1e60ed(0x146)],_0x294f00);};[a49_0x4ca283(0x131)]=(..._0x54d887)=>{const _0x229dac=a49_0x4ca283;this[_0x229dac(0x133)](LOG_LEVELS['ERROR'],_0x54d887);};[a49_0x4ca283(0x141)]=(..._0x41629d)=>{const _0x1d9117=a49_0x4ca283;this[_0x1d9117(0x133)](LOG_LEVELS[_0x1d9117(0x13f)],_0x41629d);};};module[a49_0x4ca283(0x136)]=logPatcher;function a49_0x4e8e(){const _0x48e265=['join','WARN','16355rNqmtQ','529320iyoYDp','emit','toLowerCase','1584784LzpTAc','TEST_LOG','276TIVsmK','toUpperCase','debug','pid','warn','error','TRACE','logToTestOps','info','1065169hyRBeE','exports','770992SELNfj','trace','bs:addLog:','ERROR','3210iFzITz','DEBUG','winston-transport','../../helpers/test-observability/constants','INFO','jAzJU','log','8973pmzxFL','1422dQFpXv','12wGlvfe'];a49_0x4e8e=function(){return _0x48e265;};return a49_0x4e8e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a50_0x5a75(_0x1fd328,_0x57422a){const _0x26a95c=a50_0x26a9();return a50_0x5a75=function(_0x5a7504,_0x258bb6){_0x5a7504=_0x5a7504-0x1f3;let _0x3b9c39=_0x26a95c[_0x5a7504];return _0x3b9c39;},a50_0x5a75(_0x1fd328,_0x57422a);}function a50_0x26a9(){const _0x587d74=['emit','toISOString','pid','216vRFRWe','RjgJL','9cAtdPd','message','VzmLD','ERROR','532948QgynpN','DEBUG','286xwYCci','toUpperCase','svwvR','winston-transport','object','sTQNo','35JSOKzh','7486734qGkfAq','782839cEyIVl','logToTestOps','606DwiQRF','trace','toLowerCase','debug','info','7vmujDC','logged','WARN','INFO','243156QmjrTq','warn','error','TRACE','exports','level','XexCn','292256mAEPPp','pUDSe','12346740rcolKN'];a50_0x26a9=function(){return _0x587d74;};return a50_0x26a9();}const a50_0x4f6537=a50_0x5a75;(function(_0xd00559,_0x684edc){const _0x354056=a50_0x5a75,_0x494ae1=_0xd00559();while(!![]){try{const _0x8b7bb1=-parseInt(_0x354056(0x1fc))/0x1+-parseInt(_0x354056(0x214))/0x2*(parseInt(_0x354056(0x1fe))/0x3)+parseInt(_0x354056(0x21a))/0x4*(parseInt(_0x354056(0x1fa))/0x5)+-parseInt(_0x354056(0x1fb))/0x6*(parseInt(_0x354056(0x203))/0x7)+-parseInt(_0x354056(0x20e))/0x8*(-parseInt(_0x354056(0x216))/0x9)+parseInt(_0x354056(0x210))/0xa+-parseInt(_0x354056(0x1f4))/0xb*(-parseInt(_0x354056(0x207))/0xc);if(_0x8b7bb1===_0x684edc)break;else _0x494ae1['push'](_0x494ae1['shift']());}catch(_0x14e2ee){_0x494ae1['push'](_0x494ae1['shift']());}}}(a50_0x26a9,0xa5973));const Transport=require(a50_0x4f6537(0x1f7)),{consoleHolder}=require('../../helpers/test-observability/constants'),a50_0x3f848b={};a50_0x3f848b[a50_0x4f6537(0x206)]=a50_0x4f6537(0x206),a50_0x3f848b[a50_0x4f6537(0x219)]=a50_0x4f6537(0x219),a50_0x3f848b[a50_0x4f6537(0x1f3)]=a50_0x4f6537(0x1f3),a50_0x3f848b['TRACE']=a50_0x4f6537(0x20a),a50_0x3f848b[a50_0x4f6537(0x205)]='WARN';const LOG_LEVELS=a50_0x3f848b;class logReportingAPI extends Transport{constructor(_0x3392fe){super(_0x3392fe);}['log'](_0xb00c6f,_0x2b8853){const _0x1081b5=a50_0x4f6537,_0x44afeb={'XexCn':_0x1081b5(0x204),'sTQNo':function(_0x8c8e20,_0x4abab3){return _0x8c8e20(_0x4abab3);},'VzmLD':function(_0x38aead,_0x292a61){return _0x38aead===_0x292a61;},'RjgJL':_0x1081b5(0x1f8),'pUDSe':function(_0x268781){return _0x268781();}};_0x44afeb[_0x1081b5(0x1f9)](setImmediate,()=>{const _0x2b639f=_0x1081b5;this[_0x2b639f(0x211)](_0x44afeb[_0x2b639f(0x20d)],_0xb00c6f);}),_0x44afeb[_0x1081b5(0x218)](typeof _0xb00c6f,_0x44afeb[_0x1081b5(0x215)])?this['logToTestOps'](_0xb00c6f[_0x1081b5(0x20c)]||LOG_LEVELS[_0x1081b5(0x206)],_0xb00c6f[_0x1081b5(0x217)],![]):this[_0x1081b5(0x1fd)](LOG_LEVELS[_0x1081b5(0x206)],_0xb00c6f),_0x2b8853&&_0x44afeb[_0x1081b5(0x20f)](_0x2b8853);}[a50_0x4f6537(0x1fd)]=(_0x4196ec=LOG_LEVELS['INFO'],_0x488096='',_0xed6a26=!![])=>{const _0x57a098=a50_0x4f6537,_0x2aea0c={};_0x2aea0c[_0x57a098(0x1f6)]='TEST_LOG';const _0x555f48=_0x2aea0c;_0xed6a26&&consoleHolder[_0x4196ec[_0x57a098(0x200)]()](_0x488096),process['emit']('bs:addLog:'+process[_0x57a098(0x213)],{'timestamp':new Date()[_0x57a098(0x212)](),'level':_0x4196ec[_0x57a098(0x1f5)](),'message':_0x488096,'kind':_0x555f48['svwvR'],'http_response':{}});};[a50_0x4f6537(0x1ff)]=(_0x265a8e,_0x267e66)=>{const _0x45f863=a50_0x4f6537;this[_0x45f863(0x1fd)](LOG_LEVELS['TRACE'],_0x265a8e);};[a50_0x4f6537(0x201)]=(_0x2b14b0,_0x32c38b)=>{const _0xd2b79b=a50_0x4f6537;this[_0xd2b79b(0x1fd)](LOG_LEVELS['DEBUG'],_0x2b14b0);};[a50_0x4f6537(0x202)]=(_0x53518f,_0x309fad)=>{const _0x4e0247=a50_0x4f6537;this[_0x4e0247(0x1fd)](LOG_LEVELS[_0x4e0247(0x206)],_0x53518f);};[a50_0x4f6537(0x208)]=(_0xd8bb09,_0x4f4508)=>{const _0x3ed584=a50_0x4f6537;this['logToTestOps'](LOG_LEVELS[_0x3ed584(0x205)],_0xd8bb09);};[a50_0x4f6537(0x209)]=(_0x4fcc5d,_0x28b24a)=>{const _0x107d71=a50_0x4f6537;this[_0x107d71(0x1fd)](LOG_LEVELS[_0x107d71(0x219)],_0x4fcc5d);};};module[a50_0x4f6537(0x20b)]=logReportingAPI;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a51_0x409339=a51_0x31f1;(function(_0x42adc2,_0x4bd3d2){const _0x126e23=a51_0x31f1,_0x263bf4=_0x42adc2();while(!![]){try{const _0x487f92=-parseInt(_0x126e23(0x170))/0x1+-parseInt(_0x126e23(0x16a))/0x2*(parseInt(_0x126e23(0x159))/0x3)+parseInt(_0x126e23(0x176))/0x4+parseInt(_0x126e23(0x17b))/0x5+parseInt(_0x126e23(0x158))/0x6*(parseInt(_0x126e23(0x160))/0x7)+-parseInt(_0x126e23(0x174))/0x8+parseInt(_0x126e23(0x15a))/0x9;if(_0x487f92===_0x4bd3d2)break;else _0x263bf4['push'](_0x263bf4['shift']());}catch(_0x5722a1){_0x263bf4['push'](_0x263bf4['shift']());}}}(a51_0x2608,0x76004));const fs=require('fs'),path=require('path'),logger=require(a51_0x409339(0x166))[a51_0x409339(0x15c)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a51_0x409339(0x177)),constants=require(a51_0x409339(0x16b)),{parallelVanillaRun}=require(a51_0x409339(0x157));async function run(_0x1054e0,_0x428622){const _0x47bf03=a51_0x409339,_0x4c9c10={'UbBfr':'vanilla','cRiet':function(_0x31fbb6,_0x2f43e3){return _0x31fbb6(_0x2f43e3);},'pMMkZ':'File\x20path\x20is\x20required','ZRtcB':function(_0x20740f,_0x7d6f9){return _0x20740f(_0x7d6f9);},'kcIiF':_0x47bf03(0x175),'bUuDj':function(_0x173345,_0x3409f7){return _0x173345>_0x3409f7;},'aWERS':function(_0x856ac0,_0x1cdc66){return _0x856ac0*_0x1cdc66;},'PYftH':function(_0x27dd58,_0x5528d9,_0x50aa99){return _0x27dd58(_0x5528d9,_0x50aa99);}},_0x57304a=new BrowserStackSetup(_0x1054e0,_0x4c9c10['UbBfr']);await _0x57304a[_0x47bf03(0x16c)](),await helper[_0x47bf03(0x184)](_0x57304a[_0x47bf03(0x180)]);const _0x1ffc9e=[];if(helper[_0x47bf03(0x171)](_0x1054e0['_'][0x1]))throw _0x4c9c10[_0x47bf03(0x17e)](Error,_0x4c9c10[_0x47bf03(0x16d)]);const _0x172e8e=path[_0x47bf03(0x16f)](process[_0x47bf03(0x17a)](),_0x1054e0['_'][0x1]);if(!fs[_0x47bf03(0x181)](_0x172e8e))throw _0x4c9c10[_0x47bf03(0x17e)](Error,_0x47bf03(0x17d)+_0x1054e0['_'][0x1]+_0x47bf03(0x163));if(!_0x57304a['config'])throw _0x4c9c10[_0x47bf03(0x15b)](Error,_0x4c9c10[_0x47bf03(0x165)]);const _0x3a81fa=helper[_0x47bf03(0x185)](_0x57304a[_0x47bf03(0x180)]);_0x57304a[_0x47bf03(0x180)][_0x47bf03(0x182)]&&_0x4c9c10[_0x47bf03(0x179)](_0x57304a['config'][_0x47bf03(0x182)]['length'],0x0)&&_0x57304a[_0x47bf03(0x180)][_0x47bf03(0x182)]['forEach']((_0xdd5d61,_0x2856d6)=>{const _0x4c9291=_0x47bf03;_0x3a81fa?_0x1ffc9e['push'](helper['modifyBrowserStackW3CCaps'](_0x57304a[_0x4c9291(0x180)],_0x4c9c10[_0x4c9291(0x15f)],_0x2856d6)):_0x1ffc9e['push'](helper[_0x4c9291(0x17f)](_0x57304a[_0x4c9291(0x180)],_0x4c9c10[_0x4c9291(0x15f)],_0x2856d6));});let _0x1a6edd,_0x881167;const _0x26f80d=[];if(_0x4c9c10[_0x47bf03(0x179)](_0x1ffc9e['length'],0x0))_0x1ffc9e[_0x47bf03(0x17c)]((_0xa68e52,_0x28d7ca)=>{const _0x3a985f=_0x47bf03;_0x1a6edd={'server':helper['getHubUrl'](_0x57304a[_0x3a985f(0x180)]),'proxySettings':_0x57304a[_0x3a985f(0x180)][_0x3a985f(0x169)],'platform':helper['getPlatformName'](_0xa68e52),'platformCaps':_0x57304a['config'][_0x3a985f(0x182)][_0x28d7ca]};const _0x53f489={'capability':_0xa68e52,..._0x1a6edd};_0x53f489['file']=_0x172e8e,_0x53f489[_0x3a985f(0x15d)]=_0x428622;const _0x225419={};_0x225419[_0x3a985f(0x161)]=_0x53f489,_0x881167=_0x225419,_0x26f80d[_0x3a985f(0x167)](_0x881167);});else{let _0x52344e;_0x3a81fa?_0x52344e=helper[_0x47bf03(0x172)](_0x57304a[_0x47bf03(0x180)],_0x4c9c10[_0x47bf03(0x15f)],0x0):_0x52344e=helper[_0x47bf03(0x17f)](_0x57304a[_0x47bf03(0x180)],_0x4c9c10[_0x47bf03(0x15f)],0x0);_0x1a6edd={'server':helper[_0x47bf03(0x183)](_0x57304a['config']),'proxySettings':_0x57304a[_0x47bf03(0x180)][_0x47bf03(0x169)]};const _0x346e34={'capability':_0x52344e,..._0x1a6edd};_0x346e34[_0x47bf03(0x168)]=_0x172e8e,_0x346e34[_0x47bf03(0x15d)]=_0x428622;const _0x4cde57={};_0x4cde57[_0x47bf03(0x161)]=_0x346e34,_0x881167=_0x4cde57,_0x26f80d[_0x47bf03(0x167)](_0x881167);}const _0x4168cc=_0x4c9c10[_0x47bf03(0x15e)](_0x57304a[_0x47bf03(0x180)]['platforms'][_0x47bf03(0x164)]||0x1,_0x57304a['config']['parallelsPerPlatform']);helper[_0x47bf03(0x162)](),_0x4c9c10[_0x47bf03(0x178)](parallelVanillaRun,_0x26f80d,_0x4168cc)['then'](_0xa9c0a3=>{})[_0x47bf03(0x173)](async()=>{await helper['finalExecution'](_0x57304a);});}function a51_0x31f1(_0x244c1a,_0x379f8b){const _0x260873=a51_0x2608();return a51_0x31f1=function(_0x31f12d,_0x3bd9f9){_0x31f12d=_0x31f12d-0x157;let _0x3babe7=_0x260873[_0x31f12d];return _0x3babe7;},a51_0x31f1(_0x244c1a,_0x379f8b);}module[a51_0x409339(0x16e)]=run;function a51_0x2608(){const _0x433f60=['1936140EzSWIV','forEach','File\x20','cRiet','modifyBrowserStackCaps','config','existsSync','platforms','getHubUrl','handleApp','useW3C','../test-runner','348FXWbYO','3BUjDJI','13025763ARXAtW','ZRtcB','winstonLogger','args','aWERS','UbBfr','36337PMXqRp','configuration','markSDKSetupComplete','\x20doesn\x27t\x20exist','length','kcIiF','../../helpers/logger','push','file','proxySettings','1887022Kznkob','../utils/constants','initialize','pMMkZ','exports','join','527015REoUBq','isUndefined','modifyBrowserStackW3CCaps','finally','3757792DFFHdu','Config\x20yml\x20is\x20required','1151876VTHnlL','../../helpers/helper','PYftH','bUuDj','cwd'];a51_0x2608=function(){return _0x433f60;};return a51_0x2608();}
|
package/src/browserStackSdk.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x7fd8aa=a52_0x48b0;(function(_0x152dc0,_0x241c7b){const _0x5a2a47=a52_0x48b0,_0x44ad52=_0x152dc0();while(!![]){try{const _0x5af679=parseInt(_0x5a2a47(0xa5))/0x1*(parseInt(_0x5a2a47(0x95))/0x2)+parseInt(_0x5a2a47(0x9d))/0x3*(-parseInt(_0x5a2a47(0xa7))/0x4)+-parseInt(_0x5a2a47(0x96))/0x5*(parseInt(_0x5a2a47(0x9e))/0x6)+parseInt(_0x5a2a47(0x99))/0x7*(-parseInt(_0x5a2a47(0xa3))/0x8)+parseInt(_0x5a2a47(0x94))/0x9+parseInt(_0x5a2a47(0x8f))/0xa+parseInt(_0x5a2a47(0x9f))/0xb;if(_0x5af679===_0x241c7b)break;else _0x44ad52['push'](_0x44ad52['shift']());}catch(_0x12cd5e){_0x44ad52['push'](_0x44ad52['shift']());}}}(a52_0x17d0,0x45d77));class BrowserStackSdk{static[a52_0x7fd8aa(0x9b)](){const _0x2027ab=a52_0x7fd8aa,_0x1db7ac={};_0x1db7ac[_0x2027ab(0x98)]='os_version',_0x1db7ac['pWZyp']=_0x2027ab(0xa8),_0x1db7ac['zMpqy']=_0x2027ab(0x87),_0x1db7ac['bilJL']='browserName',_0x1db7ac[_0x2027ab(0x8b)]=_0x2027ab(0xa4),_0x1db7ac[_0x2027ab(0x92)]=_0x2027ab(0x90),_0x1db7ac[_0x2027ab(0x8a)]='device',_0x1db7ac[_0x2027ab(0x8d)]=_0x2027ab(0x89),_0x1db7ac[_0x2027ab(0xa6)]=_0x2027ab(0x9c),_0x1db7ac['PQhST']=_0x2027ab(0x88),_0x1db7ac['QXfzY']=_0x2027ab(0x9a),_0x1db7ac[_0x2027ab(0x91)]=_0x2027ab(0x86),_0x1db7ac['uHgKW']=_0x2027ab(0xa1);const _0x136fb0=_0x1db7ac,_0x2fffee={};if(global['__platformCaps']){const _0x29a5ea=global[_0x2027ab(0x8e)],_0x32b83e=_0x29a5ea[_0x136fb0['LuUnd']]||_0x29a5ea[_0x136fb0[_0x2027ab(0x97)]],_0x2a77c5=_0x29a5ea[_0x136fb0['zMpqy']]||_0x29a5ea[_0x136fb0[_0x2027ab(0xa2)]],_0x21f826=_0x29a5ea[_0x136fb0[_0x2027ab(0x8b)]]||_0x29a5ea[_0x136fb0['hxrHH']],_0x17ed5a=_0x29a5ea[_0x136fb0['VcbzG']]||_0x29a5ea[_0x136fb0['ZEpGG']],_0x3d1f57=_0x29a5ea[_0x136fb0['HNCDi']]||_0x29a5ea[_0x136fb0[_0x2027ab(0x8c)]],_0x3e9b78=_0x29a5ea[_0x136fb0[_0x2027ab(0xa0)]]||_0x29a5ea[_0x136fb0[_0x2027ab(0x91)]];_0x29a5ea['os']&&(_0x2fffee['os']=_0x29a5ea['os']),_0x32b83e&&(_0x2fffee[_0x136fb0[_0x2027ab(0x97)]]=_0x32b83e),_0x2a77c5&&(_0x2fffee[_0x136fb0[_0x2027ab(0xa2)]]=_0x2a77c5),_0x21f826&&(_0x2fffee[_0x136fb0[_0x2027ab(0x92)]]=_0x21f826),_0x17ed5a&&(_0x2fffee[_0x136fb0[_0x2027ab(0x8d)]]=_0x17ed5a),_0x3d1f57&&(_0x2fffee[_0x136fb0['PQhST']]=_0x3d1f57),_0x3e9b78&&(_0x2fffee[_0x136fb0['WFcxQ']]=_0x3e9b78),_0x29a5ea[_0x136fb0['uHgKW']]&&(_0x2fffee[_0x136fb0[_0x2027ab(0x93)]]=_0x29a5ea[_0x136fb0[_0x2027ab(0x93)]]);}return _0x2fffee;}}function a52_0x17d0(){const _0x2f45a1=['824PFnWel','osVersion','exports','platformVersion','browser','platformName','deviceName','VcbzG','mOZUl','PQhST','ZEpGG','__platformCaps','3626120zlOCkI','browserVersion','WFcxQ','hxrHH','uHgKW','862893oIDbir','60nkNyTW','25HFqZbi','pWZyp','LuUnd','340942zqCotW','platform_version','getCurrentPlatform','platform','4899upBGdJ','372612MSQpXb','5350950AnHHuo','QXfzY','customVariables','bilJL','40QaaBXA','browser_version','7719MZXhBj','HNCDi'];a52_0x17d0=function(){return _0x2f45a1;};return a52_0x17d0();}function a52_0x48b0(_0x5c9fb1,_0x27a0c2){const _0x17d09e=a52_0x17d0();return a52_0x48b0=function(_0x48b064,_0x29c71f){_0x48b064=_0x48b064-0x86;let _0x334d19=_0x17d09e[_0x48b064];return _0x334d19;},a52_0x48b0(_0x5c9fb1,_0x27a0c2);}module[a52_0x7fd8aa(0xa9)]=BrowserStackSdk;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a53_0x282143=a53_0x18a3;(function(_0x375e35,_0x275e90){const _0x46da54=a53_0x18a3,_0x3fc90c=_0x375e35();while(!![]){try{const _0x97c5dd=parseInt(_0x46da54(0x255))/0x1+-parseInt(_0x46da54(0x1e4))/0x2*(parseInt(_0x46da54(0x1ee))/0x3)+-parseInt(_0x46da54(0x1dd))/0x4+parseInt(_0x46da54(0x249))/0x5*(-parseInt(_0x46da54(0x24a))/0x6)+parseInt(_0x46da54(0x21b))/0x7*(parseInt(_0x46da54(0x1c1))/0x8)+parseInt(_0x46da54(0x1ff))/0x9*(parseInt(_0x46da54(0x27c))/0xa)+-parseInt(_0x46da54(0x253))/0xb*(-parseInt(_0x46da54(0x1f0))/0xc);if(_0x97c5dd===_0x275e90)break;else _0x3fc90c['push'](_0x3fc90c['shift']());}catch(_0x5af7f3){_0x3fc90c['push'](_0x3fc90c['shift']());}}}(a53_0x4e91,0x47802));const util=require(a53_0x282143(0x25f)),os=require('os'),dotenv=require('dotenv'),{v4:uuidv4}=require(a53_0x282143(0x232)),constants=require(a53_0x282143(0x22a)),{isTurboScaleSession}=require('./ats/helper'),logger=require(a53_0x282143(0x273))[a53_0x282143(0x260)],helper=require('./helper'),percyHelper=require(a53_0x282143(0x1f8)),hubAllocator=require(a53_0x282143(0x235)),PerformanceTester=require(a53_0x282143(0x277)),SessionHandler=require(a53_0x282143(0x1e3)),{setPercyFlag}=require(a53_0x282143(0x251)),TestHubHandler=require(a53_0x282143(0x1db));class BrowserStackSetup{constructor(_0x4d152e,_0x2a7014){const _0x43b5cc=a53_0x282143,_0x4a1a1f={'hyygf':'9|29|24|11|28|8|19|3|30|22|25|10|36|20|26|14|13|32|0|38|33|40|15|35|5|37|31|12|18|6|1|34|27|7|17|4|2|39|23|16|21|41','Rplse':'SDKTestAttempted','MjzKU':function(_0x3efbbe,_0x8f5410){return _0x3efbbe===_0x8f5410;},'NFyyO':function(_0x542be1,_0x4dca9c){return _0x542be1+_0x4dca9c;},'thCmH':_0x43b5cc(0x263),'stGFt':function(_0x46b7d3,_0x1127ec){return _0x46b7d3===_0x1127ec;},'Fhhkc':_0x43b5cc(0x1f5),'nuUqo':_0x43b5cc(0x262),'LvUBW':_0x43b5cc(0x259),'BYNDx':function(_0xc044a0){return _0xc044a0();},'yytmU':'SIGHUP','SgFaY':_0x43b5cc(0x1cc),'BQaPY':_0x43b5cc(0x1e7),'iKTyw':_0x43b5cc(0x21a),'JxLbA':function(_0x560457,_0x207f11){return _0x560457<_0x207f11;},'dMKup':function(_0x1e064c,_0x461317){return _0x1e064c(_0x461317);},'fYQmh':_0x43b5cc(0x26b),'WFkfD':'4.5.0','bNqXq':_0x43b5cc(0x1cd),'oHtdt':function(_0x3239eb,_0x5c11d2){return _0x3239eb!==_0x5c11d2;},'IByCN':_0x43b5cc(0x1fc),'hYkHz':_0x43b5cc(0x246),'oBgeD':_0x43b5cc(0x218),'cggOY':_0x43b5cc(0x228)},_0x266732=_0x4a1a1f[_0x43b5cc(0x25e)]['split']('|');let _0x348e01=0x0;while(!![]){switch(_0x266732[_0x348e01++]){case'0':helper[_0x43b5cc(0x1ed)](this['config'],this['cliConfig']);continue;case'1':if(!helper[_0x43b5cc(0x265)]()){try{process[_0x43b5cc(0x20e)][_0x43b5cc(0x269)]=_0x2a7014,helper[_0x43b5cc(0x240)](_0x4a1a1f[_0x43b5cc(0x250)],{},this[_0x43b5cc(0x24b)],this['framework']);}catch(_0x1c2d6c){logger[_0x43b5cc(0x20f)](_0x43b5cc(0x20a)+_0x1c2d6c);}return;}continue;case'2':!this['config']['disableAutoCaptureLogs']&&logger[_0x43b5cc(0x215)](constants[_0x43b5cc(0x1d2)]);continue;case'3':this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)]=this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)]||{};continue;case'4':try{process['env'][_0x43b5cc(0x269)]=_0x4d152e['_'][0x0],helper[_0x43b5cc(0x240)](_0x4a1a1f[_0x43b5cc(0x250)],{},this[_0x43b5cc(0x24b)],this[_0x43b5cc(0x27e)]);}catch(_0x596823){logger['debug']('Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'+_0x596823);}continue;case'5':helper[_0x43b5cc(0x24e)](this[_0x43b5cc(0x24b)])&&helper['isUndefined'](helper['getLocalIdentifier'](this['config']))&&(!helper[_0x43b5cc(0x23e)](this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)])&&_0x4a1a1f[_0x43b5cc(0x216)](this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)][_0x43b5cc(0x1d0)],Object)?this['config'][_0x43b5cc(0x25c)][_0x43b5cc(0x204)]=helper[_0x43b5cc(0x1f1)]():this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)]={'localIdentifier':helper['generateLocalIdentifier']()});continue;case'6':process['env']['BROWSERSTACK_TURBOSCALE']&&(this['config'][_0x43b5cc(0x237)]=helper[_0x43b5cc(0x256)](process[_0x43b5cc(0x20e)][_0x43b5cc(0x1ef)]),this[_0x43b5cc(0x24b)][_0x43b5cc(0x209)]=this[_0x43b5cc(0x24b)]['turboScaleOptions']||{});continue;case'7':if(this[_0x43b5cc(0x24b)][_0x43b5cc(0x26d)]){logger[_0x43b5cc(0x215)](_0x4a1a1f[_0x43b5cc(0x1fa)](_0x4a1a1f[_0x43b5cc(0x1fd)],this[_0x43b5cc(0x24b)][_0x43b5cc(0x26d)]));const _0x551a9e={};_0x551a9e[_0x43b5cc(0x1e2)]=this[_0x43b5cc(0x24b)][_0x43b5cc(0x26d)],dotenv[_0x43b5cc(0x24b)](_0x551a9e);}else dotenv[_0x43b5cc(0x24b)]();continue;case'8':this[_0x43b5cc(0x24b)]=helper[_0x43b5cc(0x26f)](helper[_0x43b5cc(0x238)](_0x4d152e));continue;case'9':this['unhandledErrors']=[];continue;case'10':helper[_0x43b5cc(0x23c)](this['config']);continue;case'11':this['browserstackLocal']=null;continue;case'12':if(_0x4a1a1f[_0x43b5cc(0x268)](_0x2a7014,_0x4a1a1f[_0x43b5cc(0x207)]))return;continue;case'13':if(helper[_0x43b5cc(0x23e)](this[_0x43b5cc(0x24b)]))throw new Error(_0x4a1a1f[_0x43b5cc(0x267)]);continue;case'14':global[_0x43b5cc(0x1f9)]=this[_0x43b5cc(0x1f9)];continue;case'15':!this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)]&&(this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)]=this[_0x43b5cc(0x24b)][_0x43b5cc(0x222)]||{});continue;case'16':process['on'](_0x4a1a1f[_0x43b5cc(0x231)],this[_0x43b5cc(0x1c0)]);continue;case'17':!this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)]&&(this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)]={});continue;case'18':this[_0x43b5cc(0x1e0)]();continue;case'19':this[_0x43b5cc(0x24b)]['platforms']=this[_0x43b5cc(0x24b)][_0x43b5cc(0x264)]||[];continue;case'20':this[_0x43b5cc(0x1f9)]=_0x4a1a1f[_0x43b5cc(0x211)](uuidv4);continue;case'21':process['on'](_0x4a1a1f[_0x43b5cc(0x272)],this[_0x43b5cc(0x1c0)]);continue;case'22':global[_0x43b5cc(0x24b)]=this['config'];continue;case'23':process['on'](_0x4a1a1f[_0x43b5cc(0x279)],this[_0x43b5cc(0x1c0)]);continue;case'24':this[_0x43b5cc(0x208)]=helper[_0x43b5cc(0x230)]();continue;case'25':global[_0x43b5cc(0x27e)]=_0x2a7014;continue;case'26':this['killSignal']=null;continue;case'27':(helper['isUndefined'](this[_0x43b5cc(0x24b)][_0x43b5cc(0x264)])||helper[_0x43b5cc(0x23e)](this[_0x43b5cc(0x24b)][_0x43b5cc(0x264)][_0x43b5cc(0x26c)]))&&(helper[_0x43b5cc(0x23e)](this[_0x43b5cc(0x24b)]['parallelsPerPlatform'])?logger[_0x43b5cc(0x215)](_0x4a1a1f['BQaPY']):logger[_0x43b5cc(0x242)](_0x4a1a1f[_0x43b5cc(0x1e5)]),this['config']['platforms']=[]);continue;case'28':this[_0x43b5cc(0x23a)]=null;continue;case'29':this[_0x43b5cc(0x214)]=helper[_0x43b5cc(0x1f2)](_0x4d152e);continue;case'30':this[_0x43b5cc(0x234)]={};continue;case'31':helper[_0x43b5cc(0x243)](this[_0x43b5cc(0x24b)],this[_0x43b5cc(0x214)],this['envConfig']);continue;case'32':if(this[_0x43b5cc(0x24b)][_0x43b5cc(0x1ec)])throw new Error(this['config'][_0x43b5cc(0x1ec)]);continue;case'33':this['config']['testContextOptions'][_0x43b5cc(0x1e6)]=!helper[_0x43b5cc(0x265)]()||helper[_0x43b5cc(0x256)](this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)][_0x43b5cc(0x1e6)]);continue;case'34':helper[_0x43b5cc(0x1c8)](_0x2a7014)&&(_0x4a1a1f[_0x43b5cc(0x217)](_0x4a1a1f[_0x43b5cc(0x275)](parseInt,helper[_0x43b5cc(0x258)](_0x4a1a1f[_0x43b5cc(0x226)])),0x3)&&(this['config']['useW3C']=![]),_0x4a1a1f[_0x43b5cc(0x268)](helper[_0x43b5cc(0x212)](helper[_0x43b5cc(0x258)](_0x4a1a1f[_0x43b5cc(0x226)]),_0x4a1a1f[_0x43b5cc(0x1d3)]),0x1)&&(this[_0x43b5cc(0x24b)][_0x43b5cc(0x24f)]=!![]));continue;case'35':if(helper[_0x43b5cc(0x23e)](helper[_0x43b5cc(0x1f3)](this[_0x43b5cc(0x24b)]))||helper['isUndefined'](helper[_0x43b5cc(0x278)](this[_0x43b5cc(0x24b)])))throw new Error(_0x4a1a1f[_0x43b5cc(0x1d5)]);continue;case'36':this[_0x43b5cc(0x27e)]=_0x2a7014;continue;case'37':this[_0x43b5cc(0x24b)]['browserStackLocalOptions'][_0x43b5cc(0x1df)]=helper['isTrue'](this[_0x43b5cc(0x24b)][_0x43b5cc(0x25c)][_0x43b5cc(0x1df)]);continue;case'38':this[_0x43b5cc(0x24b)][_0x43b5cc(0x25b)][_0x43b5cc(0x221)]=!helper[_0x43b5cc(0x265)]()||helper[_0x43b5cc(0x256)](this['config']['testContextOptions'][_0x43b5cc(0x221)]);continue;case'39':this[_0x43b5cc(0x1c0)]=this[_0x43b5cc(0x1c0)]['bind'](this);continue;case'40':helper[_0x43b5cc(0x1d8)](this['config'],this['cliConfig'],this[_0x43b5cc(0x208)]);continue;case'41':_0x4a1a1f['oHtdt'](process[_0x43b5cc(0x203)],_0x4a1a1f['IByCN'])?(process['on'](_0x4a1a1f[_0x43b5cc(0x1c4)],this[_0x43b5cc(0x1c0)]),process['on'](_0x4a1a1f['oBgeD'],this['intExitHandler'])):process['on'](_0x4a1a1f['cggOY'],this[_0x43b5cc(0x1c0)]);continue;}break;}}async['initialize'](){const _0x350521=a53_0x282143,_0x28ff92={'gTYZT':function(_0x2a8458,_0x3b0d53){return _0x2a8458(_0x3b0d53);},'eUbPU':_0x350521(0x27a),'goHeD':_0x350521(0x20d),'ITUdj':_0x350521(0x1f6),'gEhKr':function(_0x6dd464,_0x4fc7e9){return _0x6dd464===_0x4fc7e9;},'glJot':_0x350521(0x1c7),'ZxLOZ':function(_0x2ebafd,_0xcf7e6f){return _0x2ebafd+_0xcf7e6f;},'kdubP':_0x350521(0x22d),'QSlrd':function(_0x2239ab,_0x435646){return _0x2239ab(_0x435646);},'Qdhls':_0x350521(0x206)};if(_0x28ff92[_0x350521(0x21e)](isTurboScaleSession,this[_0x350521(0x24b)])){const _0x442fa0=await helper[_0x350521(0x239)](this[_0x350521(0x24b)]);this[_0x350521(0x24b)][_0x350521(0x205)]=_0x442fa0,_0x442fa0['isTrialGrid']&&(this[_0x350521(0x24b)][_0x350521(0x1f4)]=!![],this[_0x350521(0x24b)][_0x350521(0x25c)]['localIdentifier']=_0x28ff92[_0x350521(0x266)],this[_0x350521(0x24b)]['browserStackLocalOptions'][_0x28ff92[_0x350521(0x276)]]=_0x442fa0['customRepeaters'][_0x350521(0x229)](','),this[_0x350521(0x24b)][_0x350521(0x25c)][_0x350521(0x20b)]=_0x28ff92[_0x350521(0x1e8)]),this['config'][_0x350521(0x22f)]=_0x442fa0[_0x350521(0x21f)],this[_0x350521(0x27e)]&&_0x28ff92['gEhKr'](this[_0x350521(0x27e)][_0x350521(0x1d7)](),_0x28ff92[_0x350521(0x1d1)])&&(this[_0x350521(0x24b)][_0x350521(0x22f)]=_0x28ff92[_0x350521(0x1ce)](_0x442fa0['playwrightUrl'],_0x28ff92['kdubP'])),constants['hubUrl']=helper[_0x350521(0x22c)](this['config']),logger[_0x350521(0x20f)]('HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20'+constants[_0x350521(0x223)]);}helper[_0x350521(0x261)](this[_0x350521(0x24b)]),this[_0x350521(0x1ea)](),_0x28ff92[_0x350521(0x23d)](setPercyFlag,this),await this['setupBrowserstackLocal'](),![_0x28ff92[_0x350521(0x252)]][_0x350521(0x1c2)](this[_0x350521(0x27e)])&&!_0x28ff92['QSlrd'](isTurboScaleSession,this[_0x350521(0x24b)])&&await this['setUpHubUrl']();}async['setupPercy'](){const _0x478ab2=a53_0x282143,_0x230a96={};_0x230a96[_0x478ab2(0x219)]=function(_0x187161,_0x263aab){return _0x187161===_0x263aab;},_0x230a96[_0x478ab2(0x24c)]=_0x478ab2(0x254),_0x230a96[_0x478ab2(0x225)]=_0x478ab2(0x1d4),_0x230a96[_0x478ab2(0x1e9)]=_0x478ab2(0x1de),_0x230a96['plqCm']=_0x478ab2(0x1f6),_0x230a96[_0x478ab2(0x213)]='beforeExit';const _0x56a631=_0x230a96;if(helper[_0x478ab2(0x256)](this[_0x478ab2(0x24b)]['percy'])&&(!this[_0x478ab2(0x23a)]||!this[_0x478ab2(0x23a)][_0x478ab2(0x1fb)]()))try{this['percy']=await percyHelper[_0x478ab2(0x257)](this[_0x478ab2(0x24b)]);if(!this[_0x478ab2(0x23a)]){process[_0x478ab2(0x20e)][_0x478ab2(0x1dc)]=_0x56a631[_0x478ab2(0x24c)];throw new Error(_0x56a631[_0x478ab2(0x225)]);}logger['info'](_0x56a631['PcRWE']),process[_0x478ab2(0x20e)][_0x478ab2(0x1dc)]=_0x56a631[_0x478ab2(0x22b)];let _0x3f9f1f=0x0;const _0x808ef8=async()=>{const _0xeb407=_0x478ab2;_0x3f9f1f++,_0x56a631[_0xeb407(0x219)](_0x3f9f1f,0x1)&&await this[_0xeb407(0x1cf)]();};process['on'](_0x56a631[_0x478ab2(0x213)],_0x808ef8);}catch(_0x5bca30){process[_0x478ab2(0x20e)]['BROWSERSTACK_PERCY']=_0x56a631[_0x478ab2(0x24c)],logger[_0x478ab2(0x20f)](_0x478ab2(0x1eb)+_0x5bca30);throw new Error(_0x5bca30[_0x478ab2(0x1cb)]());}}async[a53_0x282143(0x1cf)](){const _0x3759cb=a53_0x282143,_0x4aac83={};_0x4aac83[_0x3759cb(0x247)]=_0x3759cb(0x220),_0x4aac83['CPqTz']='Error\x20occured\x20while\x20stopping\x20percy';const _0x3a4662=_0x4aac83;if(this['percy']&&this[_0x3759cb(0x23a)][_0x3759cb(0x1fb)]())try{await percyHelper[_0x3759cb(0x1cf)](this[_0x3759cb(0x23a)]),logger[_0x3759cb(0x215)](_0x3a4662['rntiY']);}catch(_0x32c9fc){logger[_0x3759cb(0x1ec)](_0x3a4662[_0x3759cb(0x248)],_0x32c9fc['message']);}}async[a53_0x282143(0x21c)](){const _0x253ea4=a53_0x282143,_0xfae536={};_0xfae536['hIhrn']=function(_0x52eeed,_0x76b1e7){return _0x52eeed===_0x76b1e7;},_0xfae536[_0x253ea4(0x1c6)]=_0x253ea4(0x26a),_0xfae536[_0x253ea4(0x1c9)]=_0x253ea4(0x1c5),_0xfae536[_0x253ea4(0x23f)]=_0x253ea4(0x1da);const _0x1cac9f=_0xfae536;if(helper[_0x253ea4(0x265)]()&&helper[_0x253ea4(0x256)](this[_0x253ea4(0x24b)][_0x253ea4(0x1f4)])&&(!this[_0x253ea4(0x1f4)]||!this[_0x253ea4(0x1f4)][_0x253ea4(0x1fb)]()))try{if(this[_0x253ea4(0x24b)][_0x253ea4(0x25c)]['skipBinaryInitialisation']){logger[_0x253ea4(0x20f)](_0x1cac9f[_0x253ea4(0x1c6)]);return;}this[_0x253ea4(0x1f4)]=await helper[_0x253ea4(0x22e)](this[_0x253ea4(0x24b)]),logger[_0x253ea4(0x215)](_0x1cac9f[_0x253ea4(0x1c9)]);let _0x3b08b2=0x0;const _0x202592=async()=>{const _0x3b5db1=_0x253ea4;_0x3b08b2++,_0x1cac9f[_0x3b5db1(0x202)](_0x3b08b2,0x1)&&helper['checkStopLocalBinaryOnExit'](this[_0x3b5db1(0x27e)])&&await this[_0x3b5db1(0x200)]();};process['on'](_0x1cac9f[_0x253ea4(0x23f)],_0x202592);}catch(_0x531660){logger[_0x253ea4(0x20f)](_0x531660);throw new Error(_0x531660[_0x253ea4(0x1cb)]());}}async['stopBrowserstackLocal'](){const _0x3ae8c9=a53_0x282143,_0x5315e1={};_0x5315e1['dZaEf']=_0x3ae8c9(0x210),_0x5315e1[_0x3ae8c9(0x27d)]=_0x3ae8c9(0x1d9);const _0x13aef2=_0x5315e1;if(this[_0x3ae8c9(0x1f4)]&&this[_0x3ae8c9(0x1f4)][_0x3ae8c9(0x1fb)]())try{await helper[_0x3ae8c9(0x1c3)](this['browserstackLocal']),logger[_0x3ae8c9(0x215)](_0x13aef2[_0x3ae8c9(0x1e1)]);}catch(_0x1c3601){logger['error'](_0x13aef2['czHyA'],_0x1c3601['message']);}}async[a53_0x282143(0x233)](){const _0x347944=a53_0x282143;await hubAllocator[_0x347944(0x25d)](this[_0x347944(0x24b)]);}['setupKeepAlive'](){const _0x1cef47=a53_0x282143,_0x30a853={'zvtwN':function(_0x1e177a,_0xfb0c90){return _0x1e177a(_0xfb0c90);},'ISCoz':_0x1cef47(0x25a)};_0x30a853[_0x1cef47(0x241)](require,_0x30a853[_0x1cef47(0x224)])();}[a53_0x282143(0x1e0)](){const _0x15dd4b=a53_0x282143,_0x5f3489={};_0x5f3489[_0x15dd4b(0x245)]=_0x15dd4b(0x1ca),_0x5f3489[_0x15dd4b(0x1f7)]='uncaughtException';const _0x1b8572=_0x5f3489,_0x1867c6=_0x3e9d75=>{const _0x44730e=_0x15dd4b;logger['error'](_0x3e9d75['message']),logger[_0x44730e(0x20f)](util[_0x44730e(0x236)](_0x3e9d75)),this[_0x44730e(0x27b)][_0x44730e(0x20c)](util[_0x44730e(0x236)]('%j',_0x3e9d75)),PerformanceTester[_0x44730e(0x21d)](_0x3e9d75);};process['on'](_0x1b8572['GqsMA'],_0x1867c6),process['on'](_0x1b8572[_0x15dd4b(0x1f7)],_0x1867c6);}async['intExitHandler'](_0x142765){const _0xb8fc6e=a53_0x282143,_0x2aa4ca={};_0x2aa4ca[_0xb8fc6e(0x23b)]=_0xb8fc6e(0x1fe),_0x2aa4ca['WjtyF']=function(_0x5a6597,_0x70aa0c){return _0x5a6597+_0x70aa0c;},_0x2aa4ca[_0xb8fc6e(0x270)]='Shutdown\x20triggered\x20by\x20',_0x2aa4ca[_0xb8fc6e(0x227)]=function(_0x3b0828,_0x37ca64){return _0x3b0828+_0x37ca64;},_0x2aa4ca[_0xb8fc6e(0x201)]=_0xb8fc6e(0x1d6);const _0x476108=_0x2aa4ca,_0x2c1cfe=_0x476108[_0xb8fc6e(0x23b)][_0xb8fc6e(0x271)]('|');let _0x549527=0x0;while(!![]){switch(_0x2c1cfe[_0x549527++]){case'0':logger[_0xb8fc6e(0x215)](_0x476108[_0xb8fc6e(0x274)](_0x476108[_0xb8fc6e(0x270)],_0x142765));continue;case'1':await TestHubHandler[_0xb8fc6e(0x26e)](_0x142765);continue;case'2':if(this[_0x476108[_0xb8fc6e(0x227)](_0x476108['jJWuQ'],_0x142765)])return;continue;case'3':this[_0x476108[_0xb8fc6e(0x227)](_0x476108[_0xb8fc6e(0x201)],_0x142765)]=!![];continue;case'4':this[_0xb8fc6e(0x244)]=_0x142765;continue;}break;}}}function a53_0x18a3(_0x38452d,_0x5ca58c){const _0x4e91fe=a53_0x4e91();return a53_0x18a3=function(_0x18a39e,_0x1bd1f9){_0x18a39e=_0x18a39e-0x1c0;let _0x4bd03c=_0x4e91fe[_0x18a39e];return _0x4bd03c;},a53_0x18a3(_0x38452d,_0x5ca58c);}function a53_0x4e91(){const _0x4cc9c5=['forceLocal','push','custom-repeater','env','debug','Local\x20binary\x20stopped','BYNDx','compareVersions','bxOiA','cliConfig','info','MjzKU','JxLbA','SIGQUIT','WbOuL','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','7PECCJk','setupBrowserstackLocal','captureError','gTYZT','url','Percy\x20stopped','skipSessionStatus','localOptions','hubUrl','ISCoz','cRIBo','fYQmh','IRHiA','SIGBREAK','join','../bin/utils/constants','plqCm','getHubUrl','?caps=','startLocalBinary','turboScaleUrl','setEnvCaps','LvUBW','uuid','setUpHubUrl','errorMessage','../hubAllocationMethods','format','turboScale','getConfigPath','getTurboScaleGridDetails','percy','MdwSx','sanitizeCaps','QSlrd','isUndefined','fwByY','fireFunnelTestEvent','zvtwN','warn','setLogLevel','killSignal','GqsMA','SIGABRT','rntiY','CPqTz','40gSmXRm','133938mWOxPG','config','sBEkD','default','getLocalConfig','useW3C','Rplse','./testhub/utils','Qdhls','11oefpYr','false','59522TlgTTi','isTrue','startPercy','getPackageVersion','SIGINT','./setKeepAlive','testContextOptions','browserStackLocalOptions','allocateHub','hyygf','util','winstonLogger','setProxySettings','No\x20config\x20provided.','Loading\x20environment\x20from:\x20','platforms','isBrowserstackInfra','eUbPU','nuUqo','stGFt','FRAMEWORK','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','selenium-webdriver','length','envFile','stop','readConfig','MtuPN','split','yytmU','./logger','WjtyF','dMKup','goHeD','./performance-tester','getAccessKey','SgFaY','ats-repeater','unhandledErrors','210TlYICe','czHyA','framework','intExitHandler','725232UmyJkV','includes','stopLocalBinary','hYkHz','Local\x20binary\x20started\x20successfully','NqTQq','playwright','requireSeleniumWebdriverCheck','AGIPp','unhandledRejection','toString','SIGTERM','userName\x20or\x20accessKey\x20is\x20not\x20defined','ZxLOZ','stopPercy','constructor','glJot','AUTOLOGCAPTURE_NOTIFICATION','WFkfD','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','bNqXq','handled','toLowerCase','getFinalCaps','Error\x20occured\x20while\x20stopping\x20local\x20binary','beforeExit','./testhub/testhubHandler','BROWSERSTACK_PERCY','2140384TXusen','Percy\x20started\x20successfully','skipBinaryInitialisation','handleExceptions','dZaEf','path','./test-observability/sessionHandler','106fLQtzy','iKTyw','skipSessionName','Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','ITUdj','PcRWE','setupKeepAlive','Error\x20in\x20percy\x20setup\x20','error','setBrowserstackInfraFromConfig','3981WQYExJ','BROWSERSTACK_TURBOSCALE','9235452WnLJdW','generateLocalIdentifier','setCLICaps','getUserName','browserstackLocal','integrations','true','qogQY','./percy/utils','sdkRunID','NFyyO','isRunning','win32','thCmH','2|3|0|4|1','67320VfYZLc','stopBrowserstackLocal','jJWuQ','hIhrn','platform','localIdentifier','turboScaleGridDetails','codeceptjs','Fhhkc','envConfig','turboScaleOptions','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20'];a53_0x4e91=function(){return _0x4cc9c5;};return a53_0x4e91();}exports[a53_0x282143(0x24d)]=BrowserStackSetup;
|
|
1
|
+
const a53_0x5e3f9f=a53_0x30d9;(function(_0x3bfba9,_0x2f3a5b){const _0x1c5df0=a53_0x30d9,_0x256719=_0x3bfba9();while(!![]){try{const _0xcf1bf8=parseInt(_0x1c5df0(0x161))/0x1+-parseInt(_0x1c5df0(0x1ba))/0x2+parseInt(_0x1c5df0(0x15e))/0x3+-parseInt(_0x1c5df0(0x1c0))/0x4*(-parseInt(_0x1c5df0(0x15f))/0x5)+parseInt(_0x1c5df0(0x1d9))/0x6*(-parseInt(_0x1c5df0(0x1cd))/0x7)+-parseInt(_0x1c5df0(0x164))/0x8*(-parseInt(_0x1c5df0(0x18a))/0x9)+-parseInt(_0x1c5df0(0x17f))/0xa;if(_0xcf1bf8===_0x2f3a5b)break;else _0x256719['push'](_0x256719['shift']());}catch(_0x34dbbf){_0x256719['push'](_0x256719['shift']());}}}(a53_0x269c,0xc60d4));const util=require(a53_0x5e3f9f(0x1c8)),os=require('os'),dotenv=require(a53_0x5e3f9f(0x172)),{v4:uuidv4}=require(a53_0x5e3f9f(0x145)),constants=require('../bin/utils/constants'),{isTurboScaleSession}=require('./ats/helper'),logger=require(a53_0x5e3f9f(0x176))[a53_0x5e3f9f(0x199)],helper=require('./helper'),percyHelper=require(a53_0x5e3f9f(0x195)),hubAllocator=require(a53_0x5e3f9f(0x1b1)),PerformanceTester=require(a53_0x5e3f9f(0x153)),SessionHandler=require('./test-observability/sessionHandler'),{setPercyFlag}=require(a53_0x5e3f9f(0x13f)),TestHubHandler=require('./testhub/testhubHandler');class BrowserStackSetup{constructor(_0x12a812,_0x149ff6){const _0x913fef=a53_0x5e3f9f,_0x2a481e={'QuoKD':_0x913fef(0x14c),'huxkh':function(_0x497fe3){return _0x497fe3();},'GDOCI':_0x913fef(0x1b2),'JQWyY':function(_0x2ccd00,_0x4597e8){return _0x2ccd00+_0x4597e8;},'oDfQf':_0x913fef(0x1e8),'ROKJe':'SIGTERM','vdxXf':_0x913fef(0x1b9),'aTIjN':_0x913fef(0x1c3),'sVoqf':function(_0x314c42,_0x2d55f4){return _0x314c42===_0x2d55f4;},'YQvgJ':function(_0x129f83,_0x511a5d){return _0x129f83<_0x511a5d;},'nlGtV':function(_0xa46c9c,_0x4cfda1){return _0xa46c9c(_0x4cfda1);},'SkQCt':_0x913fef(0x1b4),'RQnHN':'4.5.0','IuNOs':'No\x20config\x20provided.','raSMF':function(_0x318242,_0x24749f){return _0x318242===_0x24749f;},'FVOPk':_0x913fef(0x143),'rXrNE':'Few\x20SDK\x20features\x20were\x20not\x20activated\x20as\x20platforms\x20object\x20was\x20not\x20defined','SoGOi':_0x913fef(0x18d),'LmaFf':'SIGHUP','QKdHe':function(_0x2a2283,_0x45fef3){return _0x2a2283!==_0x45fef3;},'jgOKO':'win32','qndws':_0x913fef(0x1e6),'mSBDK':_0x913fef(0x1aa),'bICar':_0x913fef(0x157)},_0x9e8ca3=_0x2a481e[_0x913fef(0x1a5)][_0x913fef(0x15d)]('|');let _0xa1f652=0x0;while(!![]){switch(_0x9e8ca3[_0xa1f652++]){case'0':this[_0x913fef(0x1b3)][_0x913fef(0x1e0)]=this[_0x913fef(0x1b3)][_0x913fef(0x1e0)]||{};continue;case'1':!this[_0x913fef(0x1b3)][_0x913fef(0x169)]&&(this[_0x913fef(0x1b3)][_0x913fef(0x169)]=this[_0x913fef(0x1b3)][_0x913fef(0x1ce)]||{});continue;case'2':this['sdkRunID']=_0x2a481e[_0x913fef(0x14e)](uuidv4);continue;case'3':process[_0x913fef(0x15a)]['BROWSERSTACK_TURBOSCALE']&&(this[_0x913fef(0x1b3)]['turboScale']=helper['isTrue'](process['env']['BROWSERSTACK_TURBOSCALE']),this[_0x913fef(0x1b3)]['turboScaleOptions']=this['config'][_0x913fef(0x1c2)]||{});continue;case'4':this['framework']=_0x149ff6;continue;case'5':global['framework']=_0x149ff6;continue;case'6':process['on'](_0x2a481e[_0x913fef(0x168)],this[_0x913fef(0x166)]);continue;case'7':if(this['config'][_0x913fef(0x14a)]){logger[_0x913fef(0x17a)](_0x2a481e['JQWyY'](_0x2a481e[_0x913fef(0x190)],this['config'][_0x913fef(0x14a)]));const _0x36f943={};_0x36f943[_0x913fef(0x1cb)]=this[_0x913fef(0x1b3)]['envFile'],dotenv[_0x913fef(0x1b3)](_0x36f943);}else dotenv['config']();continue;case'8':this[_0x913fef(0x1b3)]['browserStackLocalOptions'][_0x913fef(0x14d)]=helper[_0x913fef(0x156)](this[_0x913fef(0x1b3)][_0x913fef(0x169)][_0x913fef(0x14d)]);continue;case'9':global[_0x913fef(0x13e)]=this[_0x913fef(0x13e)];continue;case'10':this[_0x913fef(0x1e4)]();continue;case'11':helper[_0x913fef(0x139)](this['config'],this['cliConfig']);continue;case'12':process['on'](_0x2a481e[_0x913fef(0x1a0)],this['intExitHandler']);continue;case'13':if(!helper[_0x913fef(0x186)]()){try{process['env'][_0x913fef(0x175)]=_0x149ff6,helper[_0x913fef(0x18f)](_0x2a481e['vdxXf'],{},this['config'],this[_0x913fef(0x17c)]);}catch(_0x594420){logger[_0x913fef(0x1e5)](_0x913fef(0x194)+_0x594420);}return;}continue;case'14':if(helper[_0x913fef(0x1d1)](helper[_0x913fef(0x13c)](this[_0x913fef(0x1b3)]))||helper[_0x913fef(0x1d1)](helper[_0x913fef(0x14f)](this[_0x913fef(0x1b3)])))throw new Error(_0x2a481e[_0x913fef(0x1b5)]);continue;case'15':helper[_0x913fef(0x15c)](this[_0x913fef(0x1b3)])&&helper[_0x913fef(0x1d1)](helper['getLocalIdentifier'](this['config']))&&(!helper[_0x913fef(0x1d1)](this[_0x913fef(0x1b3)][_0x913fef(0x169)])&&_0x2a481e['sVoqf'](this[_0x913fef(0x1b3)][_0x913fef(0x169)][_0x913fef(0x184)],Object)?this['config']['browserStackLocalOptions']['localIdentifier']=helper[_0x913fef(0x150)]():this[_0x913fef(0x1b3)]['browserStackLocalOptions']={'localIdentifier':helper[_0x913fef(0x150)]()});continue;case'16':helper['requireSeleniumWebdriverCheck'](_0x149ff6)&&(_0x2a481e[_0x913fef(0x189)](_0x2a481e[_0x913fef(0x1b7)](parseInt,helper[_0x913fef(0x1de)](_0x2a481e[_0x913fef(0x13b)])),0x3)&&(this['config'][_0x913fef(0x197)]=![]),_0x2a481e[_0x913fef(0x174)](helper[_0x913fef(0x1d2)](helper[_0x913fef(0x1de)](_0x2a481e[_0x913fef(0x13b)]),_0x2a481e['RQnHN']),0x1)&&(this[_0x913fef(0x1b3)][_0x913fef(0x197)]=!![]));continue;case'17':try{process['env'][_0x913fef(0x175)]=_0x12a812['_'][0x0],helper[_0x913fef(0x18f)](_0x2a481e[_0x913fef(0x191)],{},this[_0x913fef(0x1b3)],this[_0x913fef(0x17c)]);}catch(_0x25a449){logger[_0x913fef(0x1e5)](_0x913fef(0x194)+_0x25a449);}continue;case'18':!this[_0x913fef(0x1b3)][_0x913fef(0x1c1)]&&logger[_0x913fef(0x17a)](constants['AUTOLOGCAPTURE_NOTIFICATION']);continue;case'19':this[_0x913fef(0x13a)]=null;continue;case'20':this[_0x913fef(0x147)]=[];continue;case'21':if(this[_0x913fef(0x1b3)][_0x913fef(0x1ad)])throw new Error(this['config'][_0x913fef(0x1ad)]);continue;case'22':helper[_0x913fef(0x18c)](this[_0x913fef(0x1b3)],this[_0x913fef(0x1a1)],this[_0x913fef(0x160)]);continue;case'23':this[_0x913fef(0x1b3)][_0x913fef(0x1e0)][_0x913fef(0x170)]=!helper[_0x913fef(0x186)]()||helper[_0x913fef(0x156)](this[_0x913fef(0x1b3)]['testContextOptions'][_0x913fef(0x170)]);continue;case'24':global[_0x913fef(0x1b3)]=this[_0x913fef(0x1b3)];continue;case'25':this['killSignal']=null;continue;case'26':!this[_0x913fef(0x1b3)]['testContextOptions']&&(this[_0x913fef(0x1b3)]['testContextOptions']={});continue;case'27':helper[_0x913fef(0x1c4)](this['config'],this['cliConfig'],this[_0x913fef(0x160)]);continue;case'28':helper[_0x913fef(0x1b8)](this[_0x913fef(0x1b3)]);continue;case'29':this[_0x913fef(0x1b3)][_0x913fef(0x1e0)][_0x913fef(0x144)]=!helper[_0x913fef(0x186)]()||helper[_0x913fef(0x156)](this['config']['testContextOptions'][_0x913fef(0x144)]);continue;case'30':if(helper[_0x913fef(0x1d1)](this[_0x913fef(0x1b3)]))throw new Error(_0x2a481e[_0x913fef(0x1a2)]);continue;case'31':this['envConfig']=helper[_0x913fef(0x192)]();continue;case'32':this[_0x913fef(0x1ca)]=null;continue;case'33':if(_0x2a481e[_0x913fef(0x17e)](_0x149ff6,_0x2a481e[_0x913fef(0x13d)]))return;continue;case'34':this[_0x913fef(0x166)]=this[_0x913fef(0x166)]['bind'](this);continue;case'35':(helper[_0x913fef(0x1d1)](this[_0x913fef(0x1b3)][_0x913fef(0x179)])||helper['isUndefined'](this[_0x913fef(0x1b3)][_0x913fef(0x179)][_0x913fef(0x1d7)]))&&(helper['isUndefined'](this[_0x913fef(0x1b3)][_0x913fef(0x1e2)])?logger[_0x913fef(0x17a)](_0x2a481e[_0x913fef(0x16c)]):logger[_0x913fef(0x198)](_0x2a481e[_0x913fef(0x1d8)]),this[_0x913fef(0x1b3)][_0x913fef(0x179)]=[]);continue;case'36':process['on'](_0x2a481e['LmaFf'],this[_0x913fef(0x166)]);continue;case'37':this[_0x913fef(0x1b3)]=helper['readConfig'](helper[_0x913fef(0x182)](_0x12a812));continue;case'38':_0x2a481e[_0x913fef(0x177)](process[_0x913fef(0x1a9)],_0x2a481e[_0x913fef(0x180)])?(process['on'](_0x2a481e[_0x913fef(0x1c9)],this[_0x913fef(0x166)]),process['on'](_0x2a481e[_0x913fef(0x16a)],this['intExitHandler'])):process['on'](_0x2a481e[_0x913fef(0x173)],this['intExitHandler']);continue;case'39':this[_0x913fef(0x1a1)]=helper['setCLICaps'](_0x12a812);continue;case'40':this[_0x913fef(0x193)]={};continue;case'41':this['config'][_0x913fef(0x179)]=this['config'][_0x913fef(0x179)]||[];continue;}break;}}async[a53_0x5e3f9f(0x1cf)](){const _0x95154f=a53_0x5e3f9f,_0x3ab954={'QbrAY':function(_0x525b9d,_0x5ef9e6){return _0x525b9d(_0x5ef9e6);},'qtbAl':_0x95154f(0x165),'GSSeB':_0x95154f(0x14b),'AuuWl':_0x95154f(0x1bc),'FxKVt':function(_0x12ea85,_0x182ad7){return _0x12ea85===_0x182ad7;},'nZzbC':_0x95154f(0x1ef),'KTSOf':function(_0x58fa5f,_0x1fcdf3){return _0x58fa5f+_0x1fcdf3;},'nfPAT':_0x95154f(0x1d5),'riaDH':function(_0x191091,_0x521304){return _0x191091(_0x521304);},'YKBVK':_0x95154f(0x1af)};if(_0x3ab954[_0x95154f(0x158)](isTurboScaleSession,this['config'])){const _0x48f4ff=await helper[_0x95154f(0x155)](this[_0x95154f(0x1b3)]);this[_0x95154f(0x1b3)][_0x95154f(0x1cc)]=_0x48f4ff,_0x48f4ff[_0x95154f(0x1e9)]&&(this[_0x95154f(0x1b3)][_0x95154f(0x13a)]=!![],this[_0x95154f(0x1b3)][_0x95154f(0x169)]['localIdentifier']=_0x3ab954[_0x95154f(0x146)],this[_0x95154f(0x1b3)]['browserStackLocalOptions'][_0x3ab954[_0x95154f(0x1ed)]]=_0x48f4ff[_0x95154f(0x1bd)][_0x95154f(0x162)](','),this[_0x95154f(0x1b3)][_0x95154f(0x169)]['forceLocal']=_0x3ab954[_0x95154f(0x16b)]),this['config'][_0x95154f(0x167)]=_0x48f4ff[_0x95154f(0x149)],this[_0x95154f(0x17c)]&&_0x3ab954['FxKVt'](this['framework'][_0x95154f(0x1a6)](),_0x3ab954[_0x95154f(0x1a8)])&&(this[_0x95154f(0x1b3)][_0x95154f(0x167)]=_0x3ab954[_0x95154f(0x1f2)](_0x48f4ff['playwrightUrl'],_0x3ab954[_0x95154f(0x183)])),constants[_0x95154f(0x152)]=helper[_0x95154f(0x1d0)](this[_0x95154f(0x1b3)]),logger[_0x95154f(0x1e5)](_0x95154f(0x1b6)+constants[_0x95154f(0x152)]);}helper[_0x95154f(0x1ac)](this['config']),this[_0x95154f(0x1e3)](),_0x3ab954[_0x95154f(0x1db)](setPercyFlag,this),await this[_0x95154f(0x178)](),![_0x3ab954[_0x95154f(0x1ec)]][_0x95154f(0x1c7)](this[_0x95154f(0x17c)])&&!_0x3ab954[_0x95154f(0x158)](isTurboScaleSession,this[_0x95154f(0x1b3)])&&await this[_0x95154f(0x148)]();}async[a53_0x5e3f9f(0x18e)](){const _0xf3dc24=a53_0x5e3f9f,_0x2c778c={};_0x2c778c[_0xf3dc24(0x1a4)]=function(_0xaac106,_0xda5f93){return _0xaac106===_0xda5f93;},_0x2c778c[_0xf3dc24(0x19e)]=_0xf3dc24(0x171),_0x2c778c['HIMVC']=_0xf3dc24(0x181),_0x2c778c[_0xf3dc24(0x1e1)]=_0xf3dc24(0x1c5),_0x2c778c['YKpCi']=_0xf3dc24(0x1bc),_0x2c778c[_0xf3dc24(0x1da)]=_0xf3dc24(0x19a);const _0x6f8921=_0x2c778c;if(helper[_0xf3dc24(0x156)](this[_0xf3dc24(0x1b3)]['percy'])&&(!this[_0xf3dc24(0x1ca)]||!this[_0xf3dc24(0x1ca)][_0xf3dc24(0x1dc)]()))try{this['percy']=await percyHelper[_0xf3dc24(0x1df)](this[_0xf3dc24(0x1b3)]);if(!this[_0xf3dc24(0x1ca)]){process['env'][_0xf3dc24(0x1c6)]=_0x6f8921[_0xf3dc24(0x19e)];throw new Error(_0x6f8921[_0xf3dc24(0x1eb)]);}logger[_0xf3dc24(0x17a)](_0x6f8921[_0xf3dc24(0x1e1)]),process[_0xf3dc24(0x15a)]['BROWSERSTACK_PERCY']=_0x6f8921[_0xf3dc24(0x1bf)];let _0x9e9ad9=0x0;const _0xe2ab6e=async()=>{const _0x3cb72d=_0xf3dc24;_0x9e9ad9++,_0x6f8921['pqoIq'](_0x9e9ad9,0x1)&&await this[_0x3cb72d(0x19d)]();};process['on'](_0x6f8921[_0xf3dc24(0x1da)],_0xe2ab6e);}catch(_0x4c9ddc){process[_0xf3dc24(0x15a)][_0xf3dc24(0x1c6)]=_0x6f8921[_0xf3dc24(0x19e)],logger[_0xf3dc24(0x1e5)](_0xf3dc24(0x19f)+_0x4c9ddc);throw new Error(_0x4c9ddc['toString']());}}async[a53_0x5e3f9f(0x19d)](){const _0x2bf456=a53_0x5e3f9f,_0x2e58c2={};_0x2e58c2[_0x2bf456(0x19c)]='Percy\x20stopped',_0x2e58c2['dcVso']=_0x2bf456(0x1dd);const _0x3254f7=_0x2e58c2;if(this['percy']&&this['percy']['isRunning']())try{await percyHelper[_0x2bf456(0x19d)](this[_0x2bf456(0x1ca)]),logger[_0x2bf456(0x17a)](_0x3254f7[_0x2bf456(0x19c)]);}catch(_0x52a348){logger[_0x2bf456(0x1ad)](_0x3254f7[_0x2bf456(0x1a7)],_0x52a348[_0x2bf456(0x140)]);}}async[a53_0x5e3f9f(0x178)](){const _0x3f8b62=a53_0x5e3f9f,_0x196961={};_0x196961[_0x3f8b62(0x187)]=function(_0x228df4,_0x11f8b5){return _0x228df4===_0x11f8b5;},_0x196961[_0x3f8b62(0x1e7)]=_0x3f8b62(0x18b),_0x196961[_0x3f8b62(0x1ab)]=_0x3f8b62(0x1a3),_0x196961['PniTZ']=_0x3f8b62(0x19a);const _0x5c6d9a=_0x196961;if(helper[_0x3f8b62(0x186)]()&&helper['isTrue'](this[_0x3f8b62(0x1b3)][_0x3f8b62(0x13a)])&&(!this[_0x3f8b62(0x13a)]||!this[_0x3f8b62(0x13a)][_0x3f8b62(0x1dc)]()))try{if(this[_0x3f8b62(0x1b3)][_0x3f8b62(0x169)][_0x3f8b62(0x14d)]){logger[_0x3f8b62(0x1e5)](_0x5c6d9a[_0x3f8b62(0x1e7)]);return;}this['browserstackLocal']=await helper[_0x3f8b62(0x141)](this[_0x3f8b62(0x1b3)]),logger['info'](_0x5c6d9a[_0x3f8b62(0x1ab)]);let _0x34c1e9=0x0;const _0x2b211b=async()=>{const _0x1f6838=_0x3f8b62;_0x34c1e9++,_0x5c6d9a[_0x1f6838(0x187)](_0x34c1e9,0x1)&&helper[_0x1f6838(0x17d)](this[_0x1f6838(0x17c)])&&await this[_0x1f6838(0x1d6)]();};process['on'](_0x5c6d9a[_0x3f8b62(0x151)],_0x2b211b);}catch(_0x1a00aa){logger[_0x3f8b62(0x1e5)](_0x1a00aa);throw new Error(_0x1a00aa[_0x3f8b62(0x16f)]());}}async[a53_0x5e3f9f(0x1d6)](){const _0x5a10bd=a53_0x5e3f9f,_0x1155b8={};_0x1155b8[_0x5a10bd(0x15b)]='Local\x20binary\x20stopped',_0x1155b8['ybnPu']='Error\x20occured\x20while\x20stopping\x20local\x20binary';const _0x375e69=_0x1155b8;if(this[_0x5a10bd(0x13a)]&&this[_0x5a10bd(0x13a)][_0x5a10bd(0x1dc)]())try{await helper['stopLocalBinary'](this[_0x5a10bd(0x13a)]),logger['info'](_0x375e69[_0x5a10bd(0x15b)]);}catch(_0x49e091){logger['error'](_0x375e69[_0x5a10bd(0x142)],_0x49e091[_0x5a10bd(0x140)]);}}async[a53_0x5e3f9f(0x148)](){const _0x115c0c=a53_0x5e3f9f;await hubAllocator[_0x115c0c(0x1ea)](this['config']);}[a53_0x5e3f9f(0x1e3)](){const _0x531323=a53_0x5e3f9f,_0x1b7259={'GNmuH':function(_0x560993,_0x306d7a){return _0x560993(_0x306d7a);},'iATWv':'./setKeepAlive'};_0x1b7259[_0x531323(0x1b0)](require,_0x1b7259[_0x531323(0x1bb)])();}['handleExceptions'](){const _0x30e6dc=a53_0x5e3f9f,_0x2f442a={};_0x2f442a['RwqBy']=_0x30e6dc(0x17b),_0x2f442a[_0x30e6dc(0x1d4)]=_0x30e6dc(0x1ae);const _0x4ee19a=_0x2f442a,_0x19c332=_0x1afafc=>{const _0x173e16=_0x30e6dc;logger[_0x173e16(0x1ad)](_0x1afafc[_0x173e16(0x140)]),logger['debug'](util[_0x173e16(0x188)](_0x1afafc)),this['unhandledErrors'][_0x173e16(0x163)](util[_0x173e16(0x188)]('%j',_0x1afafc)),PerformanceTester['captureError'](_0x1afafc);};process['on'](_0x4ee19a[_0x30e6dc(0x1f1)],_0x19c332),process['on'](_0x4ee19a[_0x30e6dc(0x1d4)],_0x19c332);}async[a53_0x5e3f9f(0x166)](_0x2f7599){const _0x487ecb=a53_0x5e3f9f,_0x3d94c2={};_0x3d94c2[_0x487ecb(0x19b)]=_0x487ecb(0x1f0),_0x3d94c2[_0x487ecb(0x1be)]=function(_0x2fa297,_0xed939c){return _0x2fa297+_0xed939c;},_0x3d94c2[_0x487ecb(0x16e)]=_0x487ecb(0x185),_0x3d94c2[_0x487ecb(0x16d)]=function(_0x466f01,_0x367d89){return _0x466f01+_0x367d89;},_0x3d94c2[_0x487ecb(0x159)]=_0x487ecb(0x154);const _0x19160c=_0x3d94c2,_0x548e20=_0x19160c['vGPgQ'][_0x487ecb(0x15d)]('|');let _0x5d25d0=0x0;while(!![]){switch(_0x548e20[_0x5d25d0++]){case'0':this[_0x487ecb(0x1ee)]=_0x2f7599;continue;case'1':logger[_0x487ecb(0x17a)](_0x19160c[_0x487ecb(0x1be)](_0x19160c[_0x487ecb(0x16e)],_0x2f7599));continue;case'2':await TestHubHandler[_0x487ecb(0x196)](_0x2f7599);continue;case'3':this[_0x19160c[_0x487ecb(0x16d)](_0x19160c[_0x487ecb(0x159)],_0x2f7599)]=!![];continue;case'4':if(this[_0x19160c[_0x487ecb(0x16d)](_0x19160c[_0x487ecb(0x159)],_0x2f7599)])return;continue;}break;}}}function a53_0x30d9(_0x476f38,_0xee6fb1){const _0x269ced=a53_0x269c();return a53_0x30d9=function(_0x30d9c5,_0x5f5cd0){_0x30d9c5=_0x30d9c5-0x139;let _0x213451=_0x269ced[_0x30d9c5];return _0x213451;},a53_0x30d9(_0x476f38,_0xee6fb1);}function a53_0x269c(){const _0x41e0fb=['huxkh','getAccessKey','generateLocalIdentifier','PniTZ','hubUrl','./performance-tester','handled','getTurboScaleGridDetails','isTrue','SIGBREAK','QbrAY','lsfNK','env','MXNfQ','getLocalConfig','split','3209424URbrlO','10JKaUbN','envConfig','1224796impFZB','join','push','40CKskgz','ats-repeater','intExitHandler','turboScaleUrl','GDOCI','browserStackLocalOptions','mSBDK','AuuWl','rXrNE','kSyhs','JrDPs','toString','skipSessionName','false','dotenv','bICar','sVoqf','FRAMEWORK','./logger','QKdHe','setupBrowserstackLocal','platforms','info','unhandledRejection','framework','checkStopLocalBinaryOnExit','raSMF','22722130ZauvOJ','jgOKO','Could\x20not\x20start\x20percy,\x20check\x20percy\x20logs\x20for\x20info.','getConfigPath','nfPAT','constructor','Shutdown\x20triggered\x20by\x20','isBrowserstackInfra','msbxE','format','YQvgJ','724482lpAhcH','Local\x20binary\x20not\x20started\x20as\x20skipBinaryInitialisation\x20is\x20enabled','setLogLevel','parallelsPerPlatform\x20was\x20ignored\x20as\x20platforms\x20object\x20was\x20not\x20defined','setupPercy','fireFunnelTestEvent','oDfQf','vdxXf','setEnvCaps','errorMessage','Error\x20in\x20Fire\x20SDKTestAttempted.\x20Stacktrace:\x20','./percy/utils','stop','useW3C','warn','winstonLogger','beforeExit','vGPgQ','Mgvub','stopPercy','jTydW','Error\x20in\x20percy\x20setup\x20','ROKJe','cliConfig','IuNOs','Local\x20binary\x20started\x20successfully','pqoIq','QuoKD','toLowerCase','dcVso','nZzbC','platform','SIGQUIT','owJnO','setProxySettings','error','uncaughtException','codeceptjs','GNmuH','../hubAllocationMethods','SIGINT','config','selenium-webdriver','aTIjN','HUB\x20URL\x20SET\x20TO\x20TurboScale\x20HUB\x20-\x20','nlGtV','sanitizeCaps','SDKTestAttempted','444986RCyQWi','iATWv','true','customRepeaters','QFdbs','YKpCi','2270556LSLstr','disableAutoCaptureLogs','turboScaleOptions','userName\x20or\x20accessKey\x20is\x20not\x20defined','getFinalCaps','Percy\x20started\x20successfully','BROWSERSTACK_PERCY','includes','util','qndws','percy','path','turboScaleGridDetails','14XVkXgB','localOptions','initialize','getHubUrl','isUndefined','compareVersions','default','abQzJ','?caps=','stopBrowserstackLocal','length','SoGOi','1579338hPNWQE','aZxBF','riaDH','isRunning','Error\x20occured\x20while\x20stopping\x20percy','getPackageVersion','startPercy','testContextOptions','kUYjI','parallelsPerPlatform','setupKeepAlive','handleExceptions','debug','SIGABRT','hMEcH','Loading\x20environment\x20from:\x20','isTrialGrid','allocateHub','HIMVC','YKBVK','GSSeB','killSignal','playwright','4|3|1|0|2','RwqBy','KTSOf','setBrowserstackInfraFromConfig','browserstackLocal','SkQCt','getUserName','FVOPk','sdkRunID','./testhub/utils','message','startLocalBinary','ybnPu','integrations','skipSessionStatus','uuid','qtbAl','unhandledErrors','setUpHubUrl','url','envFile','custom-repeater','20|39|31|19|32|37|41|0|40|24|5|28|4|2|25|9|30|21|11|29|23|27|1|14|15|8|22|33|10|3|13|16|35|7|26|17|18|34|12|6|36|38','skipBinaryInitialisation'];a53_0x269c=function(){return _0x41e0fb;};return a53_0x269c();}exports[a53_0x5e3f9f(0x1d3)]=BrowserStackSetup;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a54_0x1cf7(_0x3d41d4,_0x35e469){var _0x2b788f=a54_0x2b78();return a54_0x1cf7=function(_0x1cf76d,_0xb89793){_0x1cf76d=_0x1cf76d-0x183;var _0x897f67=_0x2b788f[_0x1cf76d];return _0x897f67;},a54_0x1cf7(_0x3d41d4,_0x35e469);}var a54_0x2c29f4=a54_0x1cf7;function a54_0x2b78(){var _0x11b3b4=['21BRuSJA','3230577ThWcyD','275202PtWJxa','20LYQAAZ','2763438FYpTKj','154VzfGJO','8TJxaXc','1245934TgyLYw','3139780laZmCh','API_URL','4544091VbHihX','1120284TSZccs'];a54_0x2b78=function(){return _0x11b3b4;};return a54_0x2b78();}(function(_0x114d3b,_0x2b00b4){var _0x4cb8b4=a54_0x1cf7,_0x557b93=_0x114d3b();while(!![]){try{var _0x834108=-parseInt(_0x4cb8b4(0x187))/0x1+-parseInt(_0x4cb8b4(0x18e))/0x2*(parseInt(_0x4cb8b4(0x18c))/0x3)+-parseInt(_0x4cb8b4(0x18b))/0x4*(parseInt(_0x4cb8b4(0x183))/0x5)+-parseInt(_0x4cb8b4(0x184))/0x6+-parseInt(_0x4cb8b4(0x18d))/0x7+parseInt(_0x4cb8b4(0x186))/0x8*(parseInt(_0x4cb8b4(0x18a))/0x9)+-parseInt(_0x4cb8b4(0x188))/0xa*(-parseInt(_0x4cb8b4(0x185))/0xb);if(_0x834108===_0x2b00b4)break;else _0x557b93['push'](_0x557b93['shift']());}catch(_0x43d8c2){_0x557b93['push'](_0x557b93['shift']());}}}(a54_0x2b78,0x9e77a),exports[a54_0x2c29f4(0x189)]='https://accessibility.browserstack.com/api');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x381a5f=a55_0x31ee;(function(_0xae82b6,_0x298a87){const _0x46ba77=a55_0x31ee,_0x1b9e58=_0xae82b6();while(!![]){try{const _0x104154=parseInt(_0x46ba77(0x240))/0x1*(-parseInt(_0x46ba77(0x266))/0x2)+-parseInt(_0x46ba77(0x265))/0x3*(parseInt(_0x46ba77(0x1fd))/0x4)+parseInt(_0x46ba77(0x1fa))/0x5+-parseInt(_0x46ba77(0x255))/0x6*(parseInt(_0x46ba77(0x1e5))/0x7)+-parseInt(_0x46ba77(0x250))/0x8+-parseInt(_0x46ba77(0x223))/0x9+parseInt(_0x46ba77(0x1f1))/0xa;if(_0x104154===_0x298a87)break;else _0x1b9e58['push'](_0x1b9e58['shift']());}catch(_0x7feac4){_0x1b9e58['push'](_0x1b9e58['shift']());}}}(a55_0x4bf6,0xd69b7));const path=require(a55_0x381a5f(0x25d)),util=require(a55_0x381a5f(0x241)),bsSetupHelper=require(a55_0x381a5f(0x20d)),logger=require('../logger')[a55_0x381a5f(0x1df)],{API_URL}=require(a55_0x381a5f(0x21a)),PerformanceTester=require(a55_0x381a5f(0x224)),scripts=require(a55_0x381a5f(0x256)),globals=require('../globals');function a55_0x4bf6(){const _0x4418e8=['sLSCt','format','Performing\x20scan\x20before\x20getting\x20results\x20summary','PUT','GJhiI','browserstackSessionName','parse','isAccessibilityAutomationSession','dBmlD','Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20','MVxKZ','null','buildName','scannerVersion','checkAccessibilityPlatformConfig','errors','FumOV','stopAccessibilityTestRun','getAgentVersion','statusText','getAccessKey','winstonLogger','assign','mMbpH','fDWLs','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.','7965153jZzhhb','accessibility','isTrue','isUndefined','env','iaXoQ','oaUUq','gEKRZ','string','PRzsK','stack','qDGFl','40151150yigmkO','message','basename','WaxvJ','eLnRA','sUqEe','body','NJlso','test_runs/stop','5506875vuGaay','measureWrapper','some','209540qcgxNb','No\x20accessibility\x20results\x20were\x20found.','getGlobal','Build\x20creation\x20had\x20failed.','bstackA11yShouldScan','resolve','executeAsyncScript','Bearer\x20','includes','debug','isBrowserstackInfra','TWvJd','Performing\x20scan\x20before\x20getting\x20results','v2/test_runs','chAJQ','No\x20accessibility\x20summary\x20was\x20found.','../helper','warn','bdvul','POST','cwd','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','script','Invalid\x20configuration\x20passed.','Content-Type','platforms','length','pZBBL','BS_A11Y_JWT','./constants','createAccessibilityTestRun','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','jBUMU','browserstack_executor','shouldScanTestForAccessibility','status','isArray','method','9161496JkSoNG','../performance-tester','Invalid\x20request:\x20','error','playwright','performScan','bNbRO','isAccessibilityPlatform','uCSVf','ULPlp','getResultsSummary','XKmCd','getHostInfo','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','response','data','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','gZKNM','dOZZW','BROWSERSTACK_TEST_ACCESSIBILITY_YML','application/json','PnGAp','bxzCo','pass','json','buildDescription','QHHtL','ooBwm','96bNwOhX','util','getPlatform','BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20','projectName','TscfX','javascript','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','TrwvM','fpwiQ','DPYSH','excludeTagsInTestingScope','nodeRequest','a11y:start','bulOQ','getPackageVersion','5475152UpMfpa','headers','toJson','Xoxnd','getCiInfo','6sbJLQD','./scripts','getGitMetaData','nkYmh','stringify','JTnwF','xUOUp','getBrowserVersion','path','includeTagsInTestingScope','parseFromJson','vSUuU','auth','QYtiD','toISOString','a11y:stop','78DpdIwg','734PNKpSM','getUserName','fetchPlatformDetails','ohSnm','forEach','dYacX','Authorization'];a55_0x4bf6=function(){return _0x4418e8;};return a55_0x4bf6();}function a55_0x31ee(_0xbd3761,_0x38c3b4){const _0x4bf6d6=a55_0x4bf6();return a55_0x31ee=function(_0x31eeb6,_0x265951){_0x31eeb6=_0x31eeb6-0x1c5;let _0xb9d66a=_0x4bf6d6[_0x31eeb6];return _0xb9d66a;},a55_0x31ee(_0xbd3761,_0x38c3b4);}exports[a55_0x381a5f(0x1c5)]=async _0x51bada=>{const _0xb2c23=a55_0x381a5f,_0x2486d6={};_0x2486d6[_0xb2c23(0x1eb)]=function(_0x17e1a2,_0x2d7ea9){return _0x17e1a2===_0x2d7ea9;},_0x2486d6[_0xb2c23(0x235)]='browserstack';const _0x19687f=_0x2486d6;let _0x42594c={};try{const _0x3c8950=await _0x51bada['getCapabilities']();_0x42594c={'os_name':_0x3c8950[_0xb2c23(0x242)](),'os_version':bsSetupHelper['getPlatformVersion'](_0x19687f['oaUUq'](global['__cloud_provider___'],_0x19687f['gZKNM'])),'browser_name':_0x3c8950['getBrowserName'](),'browser_version':_0x3c8950[_0xb2c23(0x25c)]()};}catch(_0x4e77d0){logger[_0xb2c23(0x206)]('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x4e77d0);}return _0x42594c;},exports['isAccessibilityAutomationSession']=()=>{const _0x187158=a55_0x381a5f,_0x19666c={};_0x19666c[_0x187158(0x1f6)]=function(_0x4b2bea,_0x158d23){return _0x4b2bea===_0x158d23;},_0x19666c['QoVuT']=_0x187158(0x1ed),_0x19666c[_0x187158(0x23e)]=function(_0x162de6,_0x204c4a){return _0x162de6>_0x204c4a;},_0x19666c[_0x187158(0x1e2)]=function(_0x1a52b6,_0x40f039){return _0x1a52b6!==_0x40f039;},_0x19666c[_0x187158(0x260)]=_0x187158(0x1d5),_0x19666c[_0x187158(0x20b)]=function(_0x58fda2,_0x40b648){return _0x58fda2&&_0x40b648;};const _0x281a03=_0x19666c;try{if(!bsSetupHelper[_0x187158(0x207)]())return![];const _0x278d6a=bsSetupHelper['isTrue'](process[_0x187158(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper[_0x187158(0x1e7)](process[_0x187158(0x1e9)][_0x187158(0x21c)]),_0x15743b=_0x281a03[_0x187158(0x1f6)](typeof process[_0x187158(0x1e9)][_0x187158(0x219)],_0x281a03['QoVuT'])&&_0x281a03['QHHtL'](process[_0x187158(0x1e9)]['BS_A11Y_JWT'][_0x187158(0x217)],0x0)&&_0x281a03[_0x187158(0x1e2)](process[_0x187158(0x1e9)][_0x187158(0x219)],_0x281a03[_0x187158(0x260)]);return _0x281a03['chAJQ'](_0x278d6a,_0x15743b);}catch(_0x250ab4){logger['debug'](_0x187158(0x1d3)+_0x250ab4);}return![];},exports[a55_0x381a5f(0x21f)]=(_0x5d337c,_0x336bb4=!![])=>{const _0x4122ea=a55_0x381a5f,_0x4007ec={};_0x4007ec['PRzsK']=function(_0x38e2f5,_0x54ef3e){return _0x38e2f5==_0x54ef3e;},_0x4007ec[_0x4122ea(0x249)]=function(_0x4f2129,_0x15868e){return _0x4f2129===_0x15868e;},_0x4007ec[_0x4122ea(0x25b)]=function(_0x51d65b,_0x22133c){return _0x51d65b&&_0x22133c;},_0x4007ec[_0x4122ea(0x1ce)]='Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20';const _0x625b41=_0x4007ec;if(_0x625b41[_0x4122ea(0x1ee)](process['env'][_0x4122ea(0x247)],null))return!![];try{const _0x2171a8=JSON[_0x4122ea(0x1d0)](process['env'][_0x4122ea(0x247)]),_0x1bc1de=Array[_0x4122ea(0x221)](_0x2171a8[_0x4122ea(0x25e)])?_0x2171a8[_0x4122ea(0x25e)]:[],_0x4f0578=Array[_0x4122ea(0x221)](_0x2171a8[_0x4122ea(0x24b)])?_0x2171a8[_0x4122ea(0x24b)]:[];let _0x1be01b;_0x336bb4?_0x1be01b=_0x5d337c['join']('/'):_0x1be01b=_0x5d337c;const _0x7d7281=_0x4f0578['some'](_0x522a89=>_0x1be01b[_0x4122ea(0x205)](_0x522a89)),_0x64a7e5=_0x625b41[_0x4122ea(0x249)](_0x1bc1de[_0x4122ea(0x217)],0x0)||_0x1bc1de[_0x4122ea(0x1fc)](_0x222a42=>_0x1be01b['includes'](_0x222a42));return _0x625b41[_0x4122ea(0x25b)](!_0x7d7281,_0x64a7e5);}catch(_0x1cf035){logger[_0x4122ea(0x206)](_0x625b41['GJhiI'],_0x1cf035);}return![];},exports[a55_0x381a5f(0x1d8)]=_0xc0e22f=>{const _0x2576b2=a55_0x381a5f;let _0x2b9211=![];try{_0xc0e22f[_0x2576b2(0x216)][_0x2576b2(0x1c7)](_0x437614=>{const _0xbfa9e6=_0x2576b2;if(bsSetupHelper[_0xbfa9e6(0x1e7)](_0x437614[_0xbfa9e6(0x1e6)]))return _0x2b9211=!![],!![];});}catch(_0x2f2bd9){logger[_0x2576b2(0x206)](_0x2576b2(0x1e3)+_0x2f2bd9);}return _0x2b9211;},exports[a55_0x381a5f(0x21b)]=PerformanceTester[a55_0x381a5f(0x1fb)](a55_0x381a5f(0x24d),async function(_0x3e6204,_0x34b7ba){const _0x39cd44=a55_0x381a5f,_0x4b2585={};_0x4b2585[_0x39cd44(0x22e)]=_0x39cd44(0x231),_0x4b2585[_0x39cd44(0x1f0)]=_0x39cd44(0x227),_0x4b2585[_0x39cd44(0x245)]=_0x39cd44(0x246),_0x4b2585[_0x39cd44(0x23a)]=_0x39cd44(0x238),_0x4b2585[_0x39cd44(0x24a)]=_0x39cd44(0x210),_0x4b2585[_0x39cd44(0x1ca)]=_0x39cd44(0x20a),_0x4b2585[_0x39cd44(0x248)]=function(_0x1c46f5,_0x35e1af){return _0x1c46f5===_0x35e1af;},_0x4b2585[_0x39cd44(0x22b)]=_0x39cd44(0x214),_0x4b2585[_0x39cd44(0x262)]='false';const _0x65167c=_0x4b2585,_0x113249=bsSetupHelper[_0x39cd44(0x267)](_0x3e6204),_0x3a759d=bsSetupHelper[_0x39cd44(0x1de)](_0x3e6204);if(bsSetupHelper[_0x39cd44(0x1e8)](_0x113249)||bsSetupHelper[_0x39cd44(0x1e8)](_0x3a759d))return logger[_0x39cd44(0x226)](_0x65167c[_0x39cd44(0x22e)]),[null,null];try{let _0x1af9ed;bsSetupHelper[_0x39cd44(0x1e8)](process[_0x39cd44(0x1e9)][_0x39cd44(0x247)])?_0x1af9ed={}:_0x1af9ed=JSON[_0x39cd44(0x1d0)](process[_0x39cd44(0x1e9)][_0x39cd44(0x247)]);const {name:_0x57e8ce,version:_0x28c646}=bsSetupHelper['getTestFrameworkDetails'](_0x3e6204,_0x34b7ba),_0x98ac1e={'projectName':_0x3e6204[_0x39cd44(0x244)],'buildName':_0x3e6204[_0x39cd44(0x1d6)]||path[_0x39cd44(0x1f3)](path[_0x39cd44(0x202)](process[_0x39cd44(0x211)]())),'startTime':new Date()[_0x39cd44(0x263)](),'description':_0x3e6204[_0x39cd44(0x23d)]||'','source':{'frameworkName':_0x34b7ba[_0x39cd44(0x205)](_0x65167c[_0x39cd44(0x1f0)])?_0x65167c[_0x39cd44(0x1f0)]:_0x34b7ba,'frameworkVersion':bsSetupHelper[_0x39cd44(0x24f)](_0x34b7ba),'sdkVersion':bsSetupHelper[_0x39cd44(0x1dc)](),'language':_0x65167c[_0x39cd44(0x245)],'testFramework':_0x57e8ce,'testFrameworkVersion':_0x28c646},'settings':_0x1af9ed,'versionControl':await bsSetupHelper[_0x39cd44(0x257)](),'ciInfo':bsSetupHelper[_0x39cd44(0x254)](),'hostInfo':bsSetupHelper[_0x39cd44(0x22f)](),'browserstackAutomation':bsSetupHelper[_0x39cd44(0x207)]()},_0x2b6bd4={};_0x2b6bd4['user']=_0x113249,_0x2b6bd4[_0x39cd44(0x23b)]=_0x3a759d;const _0x339ce4={};_0x339ce4[_0x39cd44(0x215)]=_0x65167c[_0x39cd44(0x23a)];const _0x2531ea={};_0x2531ea[_0x39cd44(0x261)]=_0x2b6bd4,_0x2531ea['headers']=_0x339ce4;const _0x32d1c7=_0x2531ea,_0x2e255a={};_0x2e255a['body']=_0x98ac1e,_0x2e255a[_0x39cd44(0x23c)]=!![];const _0x3a44f4=Object[_0x39cd44(0x1e0)](_0x32d1c7,_0x2e255a),_0x100e95=await bsSetupHelper[_0x39cd44(0x24c)](_0x65167c[_0x39cd44(0x24a)],_0x65167c[_0x39cd44(0x1ca)],_0x3a44f4,_0x3e6204,API_URL);let _0x5eab72=process[_0x39cd44(0x1e9)][_0x39cd44(0x247)];return _0x5eab72?_0x5eab72=JSON[_0x39cd44(0x1d0)](process[_0x39cd44(0x1e9)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']):_0x5eab72={},scripts[_0x39cd44(0x25f)](_0x100e95['data'][_0x39cd44(0x233)]),scripts[_0x39cd44(0x252)](),_0x5eab72[_0x39cd44(0x1d7)]=_0x100e95[_0x39cd44(0x233)][_0x39cd44(0x233)]['scannerVersion'],process[_0x39cd44(0x1e9)][_0x39cd44(0x247)]=JSON[_0x39cd44(0x259)](_0x5eab72),[_0x100e95['data'][_0x39cd44(0x233)]['accessibilityToken'],_0x100e95[_0x39cd44(0x233)][_0x39cd44(0x233)]['id']];}catch(_0x8cf881){if(_0x8cf881['response'])logger['error'](_0x39cd44(0x230)+_0x8cf881[_0x39cd44(0x232)]['status']+'\x20'+_0x8cf881[_0x39cd44(0x232)][_0x39cd44(0x1dd)]+'\x20'+JSON[_0x39cd44(0x259)](_0x8cf881[_0x39cd44(0x232)][_0x39cd44(0x233)]));else{if(_0x65167c[_0x39cd44(0x248)](_0x8cf881[_0x39cd44(0x1f2)],_0x65167c[_0x39cd44(0x22b)])){logger['error'](_0x39cd44(0x230)+(_0x8cf881[_0x39cd44(0x1f2)]||_0x8cf881[_0x39cd44(0x1ef)]));for(const _0x1fd283 of _0x8cf881[_0x39cd44(0x1d9)]){logger[_0x39cd44(0x226)](_0x1fd283[_0x39cd44(0x1f2)]);}process[_0x39cd44(0x1e9)][_0x39cd44(0x237)]=_0x65167c[_0x39cd44(0x262)],process[_0x39cd44(0x1e9)][_0x39cd44(0x21c)]=_0x65167c[_0x39cd44(0x262)];}else logger[_0x39cd44(0x226)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x8cf881[_0x39cd44(0x1f2)]||_0x8cf881[_0x39cd44(0x1ef)]));}return[null,null];}}),exports[a55_0x381a5f(0x1db)]=PerformanceTester[a55_0x381a5f(0x1fb)](a55_0x381a5f(0x264),async function(_0x3ac2e8){const _0x4f2324=a55_0x381a5f,_0x281240={};_0x281240[_0x4f2324(0x236)]=function(_0x3bd5d4,_0x3156c0){return _0x3bd5d4!==_0x3156c0;},_0x281240[_0x4f2324(0x258)]='string',_0x281240[_0x4f2324(0x25a)]='error',_0x281240['mWVur']=_0x4f2324(0x200),_0x281240[_0x4f2324(0x1c8)]=_0x4f2324(0x238),_0x281240[_0x4f2324(0x20f)]=_0x4f2324(0x1cd),_0x281240[_0x4f2324(0x1c6)]=_0x4f2324(0x1f9),_0x281240[_0x4f2324(0x1f5)]=function(_0x438b32,_0x1a996c){return _0x438b32+_0x1a996c;},_0x281240['Xoxnd']=_0x4f2324(0x225),_0x281240['iaXoQ']='success';const _0x2e0a80=_0x281240;if(bsSetupHelper[_0x4f2324(0x1e8)](process['env']['BS_A11Y_JWT'])||_0x2e0a80[_0x4f2324(0x236)](typeof process[_0x4f2324(0x1e9)][_0x4f2324(0x219)],_0x2e0a80['nkYmh'])){const _0x2fb297={};return _0x2fb297['status']=_0x2e0a80[_0x4f2324(0x25a)],_0x2fb297[_0x4f2324(0x1f2)]=_0x2e0a80['mWVur'],_0x2fb297;}const _0x159917={'endTime':new Date()[_0x4f2324(0x263)]()},_0x4764a6={};_0x4764a6[_0x4f2324(0x1c9)]=_0x4f2324(0x204)+process[_0x4f2324(0x1e9)][_0x4f2324(0x219)],_0x4764a6[_0x4f2324(0x215)]=_0x2e0a80['dYacX'];const _0x402fbe={};_0x402fbe[_0x4f2324(0x251)]=_0x4764a6;const _0x40ad3e=_0x402fbe,_0x3d4d48={};_0x3d4d48[_0x4f2324(0x1f7)]=_0x159917,_0x3d4d48[_0x4f2324(0x261)]=null,_0x3d4d48['json']=!![];const _0x3e02ad=Object[_0x4f2324(0x1e0)](_0x40ad3e,_0x3d4d48);try{const _0x116ec6=await bsSetupHelper[_0x4f2324(0x24c)](_0x2e0a80['bdvul'],_0x2e0a80[_0x4f2324(0x1c6)],_0x3e02ad,_0x3ac2e8,API_URL);if(_0x116ec6[_0x4f2324(0x233)][_0x4f2324(0x226)])throw new Error(_0x2e0a80[_0x4f2324(0x1f5)](_0x2e0a80[_0x4f2324(0x253)],_0x116ec6['data']['error']));else{logger['info'](_0x4f2324(0x243)+new Date()['toISOString']());const _0x1af915={};return _0x1af915[_0x4f2324(0x220)]=_0x2e0a80[_0x4f2324(0x1ea)],_0x1af915[_0x4f2324(0x1f2)]='',_0x1af915;}}catch(_0xed5bd6){_0xed5bd6[_0x4f2324(0x232)]?logger[_0x4f2324(0x226)]('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+_0xed5bd6[_0x4f2324(0x232)]['status']+'\x20'+_0xed5bd6[_0x4f2324(0x232)][_0x4f2324(0x1dd)]+'\x20'+JSON[_0x4f2324(0x259)](_0xed5bd6['response'][_0x4f2324(0x233)])):logger['error']('Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20'+(_0xed5bd6['message']||util[_0x4f2324(0x1cb)](_0xed5bd6)));const _0x3909ae={};return _0x3909ae[_0x4f2324(0x220)]=_0x2e0a80['JTnwF'],_0x3909ae[_0x4f2324(0x1f2)]=_0xed5bd6[_0x4f2324(0x1f2)]||(_0xed5bd6[_0x4f2324(0x232)]?_0xed5bd6[_0x4f2324(0x232)][_0x4f2324(0x220)]+':'+_0xed5bd6[_0x4f2324(0x232)][_0x4f2324(0x1dd)]:_0xed5bd6),_0x3909ae;}}),exports[a55_0x381a5f(0x228)]=async(_0x28c23d,_0x30f223=null)=>{const _0x51152e=a55_0x381a5f,_0x4f9423={};_0x4f9423[_0x51152e(0x1ec)]=_0x51152e(0x22a),_0x4f9423[_0x51152e(0x218)]=_0x51152e(0x201),_0x4f9423['NJlso']=_0x51152e(0x212);const _0x60ac77=_0x4f9423;if(!this[_0x51152e(0x1d1)]()||!globals['getGlobal'](_0x60ac77[_0x51152e(0x1ec)])||!globals[_0x51152e(0x1ff)](_0x60ac77[_0x51152e(0x218)])){logger['warn'](_0x60ac77[_0x51152e(0x1f8)]);return;}const _0x307831={};_0x307831[_0x51152e(0x222)]=_0x30f223||global[_0x51152e(0x1cf)],logger[_0x51152e(0x206)](util['format'](await _0x28c23d[_0x51152e(0x203)](scripts[_0x51152e(0x228)],_0x307831)));},exports['getAccessibilityResults']=async(_0x460c17,_0x11c690)=>{const _0x1dad53=a55_0x381a5f,_0x475de7={};_0x475de7['mIlre']=_0x1dad53(0x22a),_0x475de7[_0x1dad53(0x1d2)]=_0x1dad53(0x201),_0x475de7['WaxvJ']=_0x1dad53(0x234),_0x475de7['PnGAp']=_0x1dad53(0x209),_0x475de7[_0x1dad53(0x1e1)]=_0x1dad53(0x1fe);const _0x2a7d65=_0x475de7;if(!this[_0x1dad53(0x1d1)]()||!globals[_0x1dad53(0x1ff)](_0x2a7d65['mIlre'])||!globals[_0x1dad53(0x1ff)](_0x2a7d65[_0x1dad53(0x1d2)]))return logger[_0x1dad53(0x20e)](_0x2a7d65[_0x1dad53(0x1f4)]),[];try{logger[_0x1dad53(0x206)](_0x2a7d65[_0x1dad53(0x239)]);const _0x2056a2={};_0x2056a2['method']=_0x11c690['browserstackSessionName'],logger[_0x1dad53(0x206)](util[_0x1dad53(0x1cb)](await _0x460c17[_0x1dad53(0x203)](scripts['performScan'],_0x2056a2)));const _0x239eac=await _0x460c17[_0x1dad53(0x203)](scripts['getResults']);return _0x239eac;}catch{return logger[_0x1dad53(0x226)](_0x2a7d65[_0x1dad53(0x1e1)]),[];}},exports['getAccessibilityResultsSummary']=async(_0x521614,_0x3281b1)=>{const _0x26b2e4=a55_0x381a5f,_0x2d08b5={};_0x2d08b5[_0x26b2e4(0x1d4)]=_0x26b2e4(0x22a),_0x2d08b5[_0x26b2e4(0x21d)]=_0x26b2e4(0x201),_0x2d08b5[_0x26b2e4(0x23f)]=_0x26b2e4(0x1e4),_0x2d08b5[_0x26b2e4(0x24e)]=_0x26b2e4(0x1cc),_0x2d08b5[_0x26b2e4(0x229)]=_0x26b2e4(0x20c);const _0x3f3a25=_0x2d08b5;if(!this['isAccessibilityAutomationSession']()||!globals[_0x26b2e4(0x1ff)](_0x3f3a25[_0x26b2e4(0x1d4)])||!globals[_0x26b2e4(0x1ff)](_0x3f3a25[_0x26b2e4(0x21d)]))return logger[_0x26b2e4(0x20e)](_0x3f3a25[_0x26b2e4(0x23f)]),{};try{logger[_0x26b2e4(0x206)](_0x3f3a25['bulOQ']);const _0x1c9871={};_0x1c9871['method']=_0x3281b1[_0x26b2e4(0x1cf)],logger[_0x26b2e4(0x206)](util[_0x26b2e4(0x1cb)](await _0x521614[_0x26b2e4(0x203)](scripts[_0x26b2e4(0x228)],_0x1c9871)));const _0x4954e2=await _0x521614['executeAsyncScript'](scripts[_0x26b2e4(0x22d)]);return _0x4954e2;}catch{return logger['error'](_0x3f3a25['bNbRO']),{};}},exports['isBrowserStackCommandExecutor']=_0x43b324=>{const _0x103b40=a55_0x381a5f,_0x5041e2={};_0x5041e2['FumOV']=function(_0x540d8c,_0x453abb){return _0x540d8c===_0x453abb;},_0x5041e2[_0x103b40(0x22c)]=_0x103b40(0x1ed),_0x5041e2[_0x103b40(0x208)]=_0x103b40(0x21e);const _0x140d2e=_0x5041e2;if(_0x43b324&&_0x43b324[_0x103b40(0x213)]&&_0x140d2e[_0x103b40(0x1da)](typeof _0x43b324[_0x103b40(0x213)],_0x140d2e[_0x103b40(0x22c)]))return _0x43b324[_0x103b40(0x213)][_0x103b40(0x205)](_0x140d2e[_0x103b40(0x208)]);return![];};
|
|
1
|
+
function a55_0x24fa(){const _0x48ee3f=['isAccessibilityPlatform','measureWrapper','Exception\x20while\x20marking\x20completion\x20of\x20BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run:\x20','pwhGf','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20Missing\x20authentication\x20token','Uosiu','playwright','getResultsSummary','xOZEd','Authorization','ufUAH','excludeTagsInTestingScope','pAwUZ','errors','../helper','ZBeFD','a11y:start','1470087TIOdCX','CvGuf','IziJR','242720yiPivM','zswFR','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','browserstackSessionName','getAccessibilityResults','getCapabilities','resolve','tdakt','No\x20accessibility\x20summary\x20was\x20found.','Invalid\x20request:\x20','Performing\x20scan\x20before\x20getting\x20results','winstonLogger','getPlatformVersion','hrEPG','stringify','Soiai','user','70xXfCHG','json','nodeRequest','JzxFO','KeBFE','assign','./scripts','SvmAe','env','debug','Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20','util','292hLMHzg','1925802nieDiG','TtFfA','false','qruAV','8BxPhAM','success','aBoPR','executeAsyncScript','getGlobal','error','pjsTf','data','getPlatform','jxZJH','createAccessibilityTestRun','message','./constants','stopAccessibilityTestRun','null','application/json','getBrowserName','YIZMJ','buildName','FiYpv','accessibilityToken','Invalid\x20configuration\x20passed.','nqTNz','CBAge','BROWSERSTACK_TEST_ACCESSIBILITY_YML','string','gRpeL','hXJyQ','script','PUT','auth','shouldScanTestForAccessibility','parseFromJson','a11y:stop','../globals','tigFE','Exception\x20in\x20checking\x20accessibility\x20key\x20in\x20platform\x20config.\x20Error\x20','body','includeTagsInTestingScope','POST','3398956EjYJzT','basename','some','statusText','cwd','browserstack_executor','format','path','pass','headers','isArray','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../logger','isUndefined','platforms','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results.','rFUKs','forEach','isBrowserstackInfra','shVXg','7WAnAfq','IXXPn','response','Bearer\x20','parse','CjBjL','getAccessKey','gYPWJ','status','NZBgy','toJson','JIQGn','768748yXsJHZ','accessibility','rkGdU','DcrZa','11540FcdksW','lMjpV','bstackA11yShouldScan','isTrue','buildDescription','warn','ozHhQ','Content-Type','TQhEJ','No\x20accessibility\x20results\x20were\x20found.','getHostInfo','includes','bLOmH','OBwio','isBrowserStackCommandExecutor','scannerVersion','Error\x20while\x20validating\x20test\x20case\x20for\x20accessibility\x20before\x20scanning.\x20Error\x20:\x20','npteT','checkAccessibilityPlatformConfig','277869KAhVJu','isAccessibilityAutomationSession','XiRnd','projectName','getAccessibilityResultsSummary','Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20perform\x20scan.','BS_A11Y_JWT','v2/test_runs','performScan','Build\x20creation\x20had\x20failed.','method','VuMkr','zldsu','stack','toISOString'];a55_0x24fa=function(){return _0x48ee3f;};return a55_0x24fa();}const a55_0x3efb45=a55_0x1a02;(function(_0x4ec6a4,_0x36bd86){const _0x5bfa2a=a55_0x1a02,_0x9a5c07=_0x4ec6a4();while(!![]){try{const _0x4070cb=-parseInt(_0x5bfa2a(0x113))/0x1+parseInt(_0x5bfa2a(0xcb))/0x2*(parseInt(_0x5bfa2a(0x86))/0x3)+parseInt(_0x5bfa2a(0xc6))/0x4*(-parseInt(_0x5bfa2a(0x73))/0x5)+parseInt(_0x5bfa2a(0xc7))/0x6+-parseInt(_0x5bfa2a(0x107))/0x7*(-parseInt(_0x5bfa2a(0xa9))/0x8)+parseInt(_0x5bfa2a(0xa6))/0x9*(parseInt(_0x5bfa2a(0xba))/0xa)+-parseInt(_0x5bfa2a(0xf3))/0xb;if(_0x4070cb===_0x36bd86)break;else _0x9a5c07['push'](_0x9a5c07['shift']());}catch(_0x782d8f){_0x9a5c07['push'](_0x9a5c07['shift']());}}}(a55_0x24fa,0x971dc));function a55_0x1a02(_0x1f64ad,_0x3b306b){const _0x24fa28=a55_0x24fa();return a55_0x1a02=function(_0x1a026e,_0x29de9b){_0x1a026e=_0x1a026e-0x73;let _0x11fd3a=_0x24fa28[_0x1a026e];return _0x11fd3a;},a55_0x1a02(_0x1f64ad,_0x3b306b);}const path=require(a55_0x3efb45(0xfa)),util=require(a55_0x3efb45(0xc5)),bsSetupHelper=require(a55_0x3efb45(0xa3)),logger=require(a55_0x3efb45(0xff))[a55_0x3efb45(0xb4)],{API_URL}=require(a55_0x3efb45(0xd7)),PerformanceTester=require('../performance-tester'),scripts=require(a55_0x3efb45(0xc0)),globals=require(a55_0x3efb45(0xed));exports['fetchPlatformDetails']=async _0x4ac50b=>{const _0x2abb69=a55_0x3efb45,_0x3e6830={};_0x3e6830[_0x2abb69(0xb0)]=function(_0x431995,_0x38d519){return _0x431995===_0x38d519;},_0x3e6830[_0x2abb69(0xbd)]='browserstack';const _0x473804=_0x3e6830;let _0xfe460a={};try{const _0x2aaf05=await _0x4ac50b[_0x2abb69(0xae)]();_0xfe460a={'os_name':_0x2aaf05[_0x2abb69(0xd3)](),'os_version':bsSetupHelper[_0x2abb69(0xb5)](_0x473804[_0x2abb69(0xb0)](global['__cloud_provider___'],_0x473804['JzxFO'])),'browser_name':_0x2aaf05[_0x2abb69(0xdb)](),'browser_version':_0x2aaf05['getBrowserVersion']()};}catch(_0x509847){logger['debug']('Exception\x20in\x20fetching\x20platform\x20details\x20with\x20error\x20:\x20'+_0x509847);}return _0xfe460a;},exports[a55_0x3efb45(0x87)]=()=>{const _0x5c1efb=a55_0x3efb45,_0x296feb={};_0x296feb[_0x5c1efb(0xee)]=function(_0x5aeb72,_0x299c70){return _0x5aeb72===_0x299c70;},_0x296feb['NZBgy']=_0x5c1efb(0xe4),_0x296feb[_0x5c1efb(0x115)]=function(_0x38efa9,_0x5622d4){return _0x38efa9>_0x5622d4;},_0x296feb[_0x5c1efb(0xa8)]=function(_0x4255e7,_0xd2a1a9){return _0x4255e7!==_0xd2a1a9;},_0x296feb['shVXg']=_0x5c1efb(0xd9),_0x296feb[_0x5c1efb(0x80)]=function(_0x40c543,_0x19eedb){return _0x40c543&&_0x19eedb;};const _0x59a3a0=_0x296feb;try{if(!bsSetupHelper[_0x5c1efb(0x105)]())return![];const _0x40e750=bsSetupHelper[_0x5c1efb(0x76)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])||bsSetupHelper['isTrue'](process['env'][_0x5c1efb(0xab)]),_0x2c6891=_0x59a3a0[_0x5c1efb(0xee)](typeof process['env']['BS_A11Y_JWT'],_0x59a3a0[_0x5c1efb(0x110)])&&_0x59a3a0[_0x5c1efb(0x115)](process['env']['BS_A11Y_JWT']['length'],0x0)&&_0x59a3a0['IziJR'](process[_0x5c1efb(0xc2)][_0x5c1efb(0x8c)],_0x59a3a0[_0x5c1efb(0x106)]);return _0x59a3a0['OBwio'](_0x40e750,_0x2c6891);}catch(_0x16b154){logger['debug']('Exception\x20in\x20verifying\x20the\x20Accessibility\x20session\x20with\x20error\x20:\x20'+_0x16b154);}return![];},exports[a55_0x3efb45(0xea)]=(_0x4b3c9a,_0x1905f2=!![])=>{const _0x48dab3=a55_0x3efb45,_0x44a433={};_0x44a433['npteT']=function(_0x559fc4,_0x56b96b){return _0x559fc4==_0x56b96b;},_0x44a433['zldsu']=function(_0x29e9e6,_0x23e8a9){return _0x29e9e6===_0x23e8a9;},_0x44a433[_0x48dab3(0xe2)]=function(_0x14c3c3,_0x23c04d){return _0x14c3c3&&_0x23c04d;},_0x44a433[_0x48dab3(0xd1)]=_0x48dab3(0x83);const _0x515dae=_0x44a433;if(_0x515dae[_0x48dab3(0x84)](process['env'][_0x48dab3(0xfe)],null))return!![];try{const _0x4e996f=JSON[_0x48dab3(0x10b)](process[_0x48dab3(0xc2)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']),_0x47e739=Array[_0x48dab3(0xfd)](_0x4e996f[_0x48dab3(0xf1)])?_0x4e996f[_0x48dab3(0xf1)]:[],_0x4beeaa=Array['isArray'](_0x4e996f['excludeTagsInTestingScope'])?_0x4e996f[_0x48dab3(0xa0)]:[];let _0x1ae9d9;_0x1905f2?_0x1ae9d9=_0x4b3c9a['join']('/'):_0x1ae9d9=_0x4b3c9a;const _0x44d61b=_0x4beeaa['some'](_0x4466bf=>_0x1ae9d9['includes'](_0x4466bf)),_0x1eb7be=_0x515dae[_0x48dab3(0x92)](_0x47e739['length'],0x0)||_0x47e739[_0x48dab3(0xf5)](_0x45270d=>_0x1ae9d9['includes'](_0x45270d));return _0x515dae['CBAge'](!_0x44d61b,_0x1eb7be);}catch(_0x32b366){logger[_0x48dab3(0xc3)](_0x515dae['pjsTf'],_0x32b366);}return![];},exports[a55_0x3efb45(0x85)]=_0x17c7f5=>{const _0x2ea95c=a55_0x3efb45;let _0x465abd=![];try{_0x17c7f5[_0x2ea95c(0x101)][_0x2ea95c(0x104)](_0x526e3c=>{const _0x2a0105=_0x2ea95c;if(bsSetupHelper[_0x2a0105(0x76)](_0x526e3c[_0x2a0105(0x114)]))return _0x465abd=!![],!![];});}catch(_0x11788a){logger[_0x2ea95c(0xc3)](_0x2ea95c(0xef)+_0x11788a);}return _0x465abd;},exports[a55_0x3efb45(0xd5)]=PerformanceTester['measureWrapper'](a55_0x3efb45(0xa5),async function(_0x100920,_0x250d13){const _0x13cfd6=a55_0x3efb45,_0x5207ca={};_0x5207ca[_0x13cfd6(0x74)]=_0x13cfd6(0x99),_0x5207ca[_0x13cfd6(0xca)]=_0x13cfd6(0x9b),_0x5207ca['TQhEJ']='javascript',_0x5207ca[_0x13cfd6(0x10c)]=_0x13cfd6(0xda),_0x5207ca['MvujR']=_0x13cfd6(0xf2),_0x5207ca[_0x13cfd6(0xe5)]=_0x13cfd6(0x8d),_0x5207ca[_0x13cfd6(0x10e)]=function(_0x155165,_0x5865a4){return _0x155165===_0x5865a4;},_0x5207ca[_0x13cfd6(0xa4)]=_0x13cfd6(0xe0),_0x5207ca[_0x13cfd6(0x9d)]=_0x13cfd6(0xc9);const _0x5b9519=_0x5207ca,_0x5e2aed=bsSetupHelper['getUserName'](_0x100920),_0xad7033=bsSetupHelper[_0x13cfd6(0x10d)](_0x100920);if(bsSetupHelper[_0x13cfd6(0x100)](_0x5e2aed)||bsSetupHelper['isUndefined'](_0xad7033))return logger[_0x13cfd6(0xd0)](_0x5b9519[_0x13cfd6(0x74)]),[null,null];try{let _0x534136;bsSetupHelper[_0x13cfd6(0x100)](process[_0x13cfd6(0xc2)][_0x13cfd6(0xfe)])?_0x534136={}:_0x534136=JSON['parse'](process['env'][_0x13cfd6(0xfe)]);const {name:_0x40b48a,version:_0x42a9c2}=bsSetupHelper['getTestFrameworkDetails'](_0x100920,_0x250d13),_0x242f34={'projectName':_0x100920[_0x13cfd6(0x89)],'buildName':_0x100920[_0x13cfd6(0xdd)]||path[_0x13cfd6(0xf4)](path[_0x13cfd6(0xaf)](process[_0x13cfd6(0xf7)]())),'startTime':new Date()[_0x13cfd6(0x94)](),'description':_0x100920[_0x13cfd6(0x77)]||'','source':{'frameworkName':_0x250d13[_0x13cfd6(0x7e)](_0x5b9519['qruAV'])?_0x5b9519['qruAV']:_0x250d13,'frameworkVersion':bsSetupHelper['getPackageVersion'](_0x250d13),'sdkVersion':bsSetupHelper['getAgentVersion'](),'language':_0x5b9519[_0x13cfd6(0x7b)],'testFramework':_0x40b48a,'testFrameworkVersion':_0x42a9c2},'settings':_0x534136,'versionControl':await bsSetupHelper['getGitMetaData'](),'ciInfo':bsSetupHelper['getCiInfo'](),'hostInfo':bsSetupHelper[_0x13cfd6(0x7d)](),'browserstackAutomation':bsSetupHelper[_0x13cfd6(0x105)]()},_0x83b3d7={};_0x83b3d7[_0x13cfd6(0xb9)]=_0x5e2aed,_0x83b3d7[_0x13cfd6(0xfb)]=_0xad7033;const _0x5c028f={};_0x5c028f['Content-Type']=_0x5b9519[_0x13cfd6(0x10c)];const _0x2cd3b3={};_0x2cd3b3[_0x13cfd6(0xe9)]=_0x83b3d7,_0x2cd3b3[_0x13cfd6(0xfc)]=_0x5c028f;const _0x441fa5=_0x2cd3b3,_0x48e5f7={};_0x48e5f7[_0x13cfd6(0xf0)]=_0x242f34,_0x48e5f7['json']=!![];const _0x6cf9cb=Object[_0x13cfd6(0xbf)](_0x441fa5,_0x48e5f7),_0x2374f9=await bsSetupHelper[_0x13cfd6(0xbc)](_0x5b9519['MvujR'],_0x5b9519[_0x13cfd6(0xe5)],_0x6cf9cb,_0x100920,API_URL);let _0x4f4a9c=process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];return _0x4f4a9c?_0x4f4a9c=JSON[_0x13cfd6(0x10b)](process['env'][_0x13cfd6(0xfe)]):_0x4f4a9c={},scripts[_0x13cfd6(0xeb)](_0x2374f9['data'][_0x13cfd6(0xd2)]),scripts[_0x13cfd6(0x111)](),_0x4f4a9c[_0x13cfd6(0x82)]=_0x2374f9[_0x13cfd6(0xd2)][_0x13cfd6(0xd2)][_0x13cfd6(0x82)],process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x13cfd6(0xb7)](_0x4f4a9c),[_0x2374f9['data'][_0x13cfd6(0xd2)][_0x13cfd6(0xdf)],_0x2374f9['data'][_0x13cfd6(0xd2)]['id']];}catch(_0x19cfb5){if(_0x19cfb5[_0x13cfd6(0x109)])logger['error'](_0x13cfd6(0xc4)+_0x19cfb5[_0x13cfd6(0x109)][_0x13cfd6(0x10f)]+'\x20'+_0x19cfb5[_0x13cfd6(0x109)][_0x13cfd6(0xf6)]+'\x20'+JSON['stringify'](_0x19cfb5[_0x13cfd6(0x109)][_0x13cfd6(0xd2)]));else{if(_0x5b9519[_0x13cfd6(0x10e)](_0x19cfb5[_0x13cfd6(0xd6)],_0x5b9519[_0x13cfd6(0xa4)])){logger[_0x13cfd6(0xd0)]('Exception\x20while\x20creating\x20test\x20run\x20for\x20BrowserStack\x20Accessibility\x20Automation:\x20'+(_0x19cfb5[_0x13cfd6(0xd6)]||_0x19cfb5['stack']));for(const _0x1a3638 of _0x19cfb5[_0x13cfd6(0xa2)]){logger[_0x13cfd6(0xd0)](_0x1a3638[_0x13cfd6(0xd6)]);}process[_0x13cfd6(0xc2)][_0x13cfd6(0xe3)]=_0x5b9519[_0x13cfd6(0x9d)],process[_0x13cfd6(0xc2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x5b9519[_0x13cfd6(0x9d)];}else logger[_0x13cfd6(0xd0)](_0x13cfd6(0xc4)+(_0x19cfb5['message']||_0x19cfb5[_0x13cfd6(0x93)]));}return[null,null];}}),exports[a55_0x3efb45(0xd8)]=PerformanceTester[a55_0x3efb45(0x96)](a55_0x3efb45(0xec),async function(_0x144baa){const _0xeb06fd=a55_0x3efb45,_0x346c85={};_0x346c85[_0xeb06fd(0xbe)]=function(_0x58582b,_0x493758){return _0x58582b!==_0x493758;},_0x346c85[_0xeb06fd(0xaa)]=_0xeb06fd(0xe4),_0x346c85[_0xeb06fd(0xa7)]=_0xeb06fd(0xd0),_0x346c85[_0xeb06fd(0x9a)]=_0xeb06fd(0x8f),_0x346c85[_0xeb06fd(0x116)]='application/json',_0x346c85['YIZMJ']=_0xeb06fd(0xe8),_0x346c85[_0xeb06fd(0x103)]='test_runs/stop',_0x346c85['aqDCn']=function(_0x152d77,_0x5b642b){return _0x152d77+_0x5b642b;},_0x346c85[_0xeb06fd(0xb6)]=_0xeb06fd(0xb2),_0x346c85[_0xeb06fd(0x108)]=_0xeb06fd(0xcc);const _0x9b36d9=_0x346c85;if(bsSetupHelper[_0xeb06fd(0x100)](process['env']['BS_A11Y_JWT'])||_0x9b36d9[_0xeb06fd(0xbe)](typeof process[_0xeb06fd(0xc2)][_0xeb06fd(0x8c)],_0x9b36d9[_0xeb06fd(0xaa)])){const _0x5ed72d={};return _0x5ed72d['status']=_0x9b36d9['CvGuf'],_0x5ed72d[_0xeb06fd(0xd6)]=_0x9b36d9['Uosiu'],_0x5ed72d;}const _0x3391cd={'endTime':new Date()[_0xeb06fd(0x94)]()},_0x400e9d={};_0x400e9d[_0xeb06fd(0x9e)]=_0xeb06fd(0x10a)+process[_0xeb06fd(0xc2)][_0xeb06fd(0x8c)],_0x400e9d[_0xeb06fd(0x7a)]=_0x9b36d9[_0xeb06fd(0x116)];const _0x618c82={};_0x618c82[_0xeb06fd(0xfc)]=_0x400e9d;const _0x196f70=_0x618c82,_0x4d6ad0={};_0x4d6ad0[_0xeb06fd(0xf0)]=_0x3391cd,_0x4d6ad0['auth']=null,_0x4d6ad0[_0xeb06fd(0xbb)]=!![];const _0x4c503c=Object[_0xeb06fd(0xbf)](_0x196f70,_0x4d6ad0);try{const _0x545d85=await bsSetupHelper['nodeRequest'](_0x9b36d9[_0xeb06fd(0xdc)],_0x9b36d9['rFUKs'],_0x4c503c,_0x144baa,API_URL);if(_0x545d85['data'][_0xeb06fd(0xd0)])throw new Error(_0x9b36d9['aqDCn'](_0x9b36d9[_0xeb06fd(0xb6)],_0x545d85[_0xeb06fd(0xd2)][_0xeb06fd(0xd0)]));else{logger['info']('BrowserStack\x20Accessibility\x20Automation\x20Test\x20Run\x20marked\x20as\x20completed\x20at\x20'+new Date()[_0xeb06fd(0x94)]());const _0x14c76e={};return _0x14c76e[_0xeb06fd(0x10f)]=_0x9b36d9[_0xeb06fd(0x108)],_0x14c76e[_0xeb06fd(0xd6)]='',_0x14c76e;}}catch(_0x146bd8){_0x146bd8[_0xeb06fd(0x109)]?logger['error'](_0xeb06fd(0x97)+_0x146bd8['response'][_0xeb06fd(0x10f)]+'\x20'+_0x146bd8[_0xeb06fd(0x109)]['statusText']+'\x20'+JSON[_0xeb06fd(0xb7)](_0x146bd8[_0xeb06fd(0x109)][_0xeb06fd(0xd2)])):logger[_0xeb06fd(0xd0)](_0xeb06fd(0x97)+(_0x146bd8[_0xeb06fd(0xd6)]||util[_0xeb06fd(0xf9)](_0x146bd8)));const _0x515402={};return _0x515402[_0xeb06fd(0x10f)]=_0x9b36d9['CvGuf'],_0x515402[_0xeb06fd(0xd6)]=_0x146bd8['message']||(_0x146bd8[_0xeb06fd(0x109)]?_0x146bd8['response'][_0xeb06fd(0x10f)]+':'+_0x146bd8[_0xeb06fd(0x109)][_0xeb06fd(0xf6)]:_0x146bd8),_0x515402;}}),exports[a55_0x3efb45(0x8e)]=async(_0x392db5,_0x4b2edc=null)=>{const _0x45e5b7=a55_0x3efb45,_0x2342d8={};_0x2342d8[_0x45e5b7(0xc8)]=_0x45e5b7(0x95),_0x2342d8[_0x45e5b7(0xde)]='bstackA11yShouldScan',_0x2342d8[_0x45e5b7(0xe1)]=_0x45e5b7(0x8b);const _0x2b9306=_0x2342d8;if(!this['isAccessibilityAutomationSession']()||!globals[_0x45e5b7(0xcf)](_0x2b9306[_0x45e5b7(0xc8)])||!globals[_0x45e5b7(0xcf)](_0x2b9306[_0x45e5b7(0xde)])){logger[_0x45e5b7(0x78)](_0x2b9306[_0x45e5b7(0xe1)]);return;}const _0x5b201c={};_0x5b201c[_0x45e5b7(0x90)]=_0x4b2edc||global[_0x45e5b7(0xac)],logger[_0x45e5b7(0xc3)](util[_0x45e5b7(0xf9)](await _0x392db5[_0x45e5b7(0xce)](scripts[_0x45e5b7(0x8e)],_0x5b201c)));},exports[a55_0x3efb45(0xad)]=async(_0x3bfd25,_0x48cfe2)=>{const _0x180e00=a55_0x3efb45,_0x3d268a={};_0x3d268a[_0x180e00(0x98)]=_0x180e00(0x95),_0x3d268a[_0x180e00(0x79)]=_0x180e00(0x75),_0x3d268a[_0x180e00(0x88)]=_0x180e00(0x102),_0x3d268a['Soiai']=_0x180e00(0xb3),_0x3d268a[_0x180e00(0xcd)]=_0x180e00(0x7c);const _0x3e5972=_0x3d268a;if(!this[_0x180e00(0x87)]()||!globals[_0x180e00(0xcf)](_0x3e5972['pwhGf'])||!globals[_0x180e00(0xcf)](_0x3e5972['ozHhQ']))return logger[_0x180e00(0x78)](_0x3e5972['XiRnd']),[];try{logger[_0x180e00(0xc3)](_0x3e5972[_0x180e00(0xb8)]);const _0x9d92d1={};_0x9d92d1['method']=_0x48cfe2[_0x180e00(0xac)],logger[_0x180e00(0xc3)](util['format'](await _0x3bfd25[_0x180e00(0xce)](scripts[_0x180e00(0x8e)],_0x9d92d1)));const _0x4a78c7=await _0x3bfd25['executeAsyncScript'](scripts['getResults']);return _0x4a78c7;}catch{return logger[_0x180e00(0xd0)](_0x3e5972[_0x180e00(0xcd)]),[];}},exports[a55_0x3efb45(0x8a)]=async(_0x1a409e,_0x559154)=>{const _0x4f01ee=a55_0x3efb45,_0x12cb66={};_0x12cb66[_0x4f01ee(0x7f)]='isAccessibilityPlatform',_0x12cb66[_0x4f01ee(0xa1)]='bstackA11yShouldScan',_0x12cb66[_0x4f01ee(0xc1)]='Not\x20a\x20Accessibility\x20Automation\x20session,\x20cannot\x20retrieve\x20Accessibility\x20results\x20summary.',_0x12cb66[_0x4f01ee(0xe6)]='Performing\x20scan\x20before\x20getting\x20results\x20summary',_0x12cb66[_0x4f01ee(0x91)]=_0x4f01ee(0xb1);const _0x1a037d=_0x12cb66;if(!this[_0x4f01ee(0x87)]()||!globals[_0x4f01ee(0xcf)](_0x1a037d[_0x4f01ee(0x7f)])||!globals[_0x4f01ee(0xcf)](_0x1a037d[_0x4f01ee(0xa1)]))return logger[_0x4f01ee(0x78)](_0x1a037d[_0x4f01ee(0xc1)]),{};try{logger[_0x4f01ee(0xc3)](_0x1a037d['hXJyQ']);const _0x3456fb={};_0x3456fb[_0x4f01ee(0x90)]=_0x559154[_0x4f01ee(0xac)],logger[_0x4f01ee(0xc3)](util[_0x4f01ee(0xf9)](await _0x1a409e[_0x4f01ee(0xce)](scripts[_0x4f01ee(0x8e)],_0x3456fb)));const _0x1a6e3e=await _0x1a409e[_0x4f01ee(0xce)](scripts[_0x4f01ee(0x9c)]);return _0x1a6e3e;}catch{return logger[_0x4f01ee(0xd0)](_0x1a037d[_0x4f01ee(0x91)]),{};}},exports[a55_0x3efb45(0x81)]=_0x66100d=>{const _0x2ee517=a55_0x3efb45,_0x3fd52b={};_0x3fd52b[_0x2ee517(0x112)]=function(_0x87d871,_0x3802c6){return _0x87d871===_0x3802c6;},_0x3fd52b['jxZJH']=_0x2ee517(0xe4),_0x3fd52b[_0x2ee517(0x9f)]=_0x2ee517(0xf8);const _0x226a9c=_0x3fd52b;if(_0x66100d&&_0x66100d[_0x2ee517(0xe7)]&&_0x226a9c[_0x2ee517(0x112)](typeof _0x66100d[_0x2ee517(0xe7)],_0x226a9c[_0x2ee517(0xd4)]))return _0x66100d[_0x2ee517(0xe7)][_0x2ee517(0x7e)](_0x226a9c[_0x2ee517(0x9f)]);return![];};
|