browserstack-node-sdk 1.37.0 → 1.38.1
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/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.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/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.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 +66 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.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/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.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/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/processHelper.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/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a44_0x247138=a44_0x48c7;(function(_0x2060d7,_0x4e091a){const _0x320df7=a44_0x48c7,_0x546e6b=_0x2060d7();while(!![]){try{const _0x50b0ef=parseInt(_0x320df7(0x193))/0x1+parseInt(_0x320df7(0x196))/0x2*(-parseInt(_0x320df7(0x10e))/0x3)+-parseInt(_0x320df7(0x1a0))/0x4*(-parseInt(_0x320df7(0x110))/0x5)+-parseInt(_0x320df7(0x116))/0x6+-parseInt(_0x320df7(0x117))/0x7*(parseInt(_0x320df7(0x178))/0x8)+parseInt(_0x320df7(0x184))/0x9+parseInt(_0x320df7(0x172))/0xa;if(_0x50b0ef===_0x4e091a)break;else _0x546e6b['push'](_0x546e6b['shift']());}catch(_0x4df9be){_0x546e6b['push'](_0x546e6b['shift']());}}}(a44_0x1ba6,0x74e2e));const path=require(a44_0x247138(0x160)),url=require(a44_0x247138(0x1b9)),util=require(a44_0x247138(0x176)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a44_0x247138(0x127)),{o11yErrorHandler}=require(a44_0x247138(0x1b8)),{debug,getPlatformDetails}=require(a44_0x247138(0x18a)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a44_0x247138(0x1bb)),logger=require('../../helpers/logger')[a44_0x247138(0x114)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a44_0x247138(0x155)),AccessibilityHelper=require(a44_0x247138(0x16e)),constants=require('../utils/constants'),BrowserstackCLI=require('../v2/browserstackCLI'),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require(a44_0x247138(0x182)),getBrowserNameFromChannel=_0x591452=>{const _0x9bcec6=a44_0x247138,_0x6326ef={};_0x6326ef[_0x9bcec6(0x1b3)]=_0x9bcec6(0x12e),_0x6326ef[_0x9bcec6(0x1b0)]=_0x9bcec6(0x1aa),_0x6326ef[_0x9bcec6(0x131)]=_0x9bcec6(0x194),_0x6326ef['QHTsv']='safari';const _0x31afa9=_0x6326ef;if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9[_0x9bcec6(0x1b3)]))return _0x31afa9[_0x9bcec6(0x1b3)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9['pemgr']))return _0x31afa9[_0x9bcec6(0x1b0)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9['hTNQi']))return _0x31afa9[_0x9bcec6(0x131)];if(_0x591452[_0x9bcec6(0x14b)](_0x31afa9[_0x9bcec6(0x14f)]))return _0x31afa9[_0x9bcec6(0x14f)];},getBrowserFromWSEndpoint=_0x3c130b=>{const _0x38592e=a44_0x247138,_0x1ce3d4={'IEjng':_0x38592e(0x12e),'joRqd':function(_0x31e5bf,_0x5405be){return _0x31e5bf(_0x5405be);}};try{const _0x5209e6=url['parse'](_0x3c130b),_0x42c3e0=new URLSearchParams(_0x5209e6['query']),_0x4b7a54=Object[_0x38592e(0x13c)](_0x42c3e0[_0x38592e(0x11a)]()),_0x520948=JSON[_0x38592e(0x15d)](_0x4b7a54[_0x38592e(0x112)]);if(_0x520948&&(_0x520948[_0x38592e(0x173)]||_0x520948[_0x38592e(0x11d)]))return _0x520948[_0x38592e(0x173)]||_0x520948[_0x38592e(0x11d)];return _0x1ce3d4['IEjng'];}catch(_0x3e9cc1){_0x1ce3d4['joRqd'](debug,_0x38592e(0x157)+_0x3e9cc1[_0x38592e(0x171)]());}},getCloudProviderFromWsEndpoint=_0x210564=>{const _0x50d3d7=a44_0x247138,_0xbeeac={};_0xbeeac[_0x50d3d7(0x15a)]=_0x50d3d7(0x17a),_0xbeeac['hsFXu']=_0x50d3d7(0x11f);const _0x3b5eb9=_0xbeeac;if(_0x210564[_0x50d3d7(0x14b)](constants[_0x50d3d7(0x124)])||_0x210564[_0x50d3d7(0x14b)](constants[_0x50d3d7(0x198)]))return _0x3b5eb9[_0x50d3d7(0x15a)];return _0x3b5eb9[_0x50d3d7(0x13f)];},a44_0x8a4a10={};function a44_0x48c7(_0xa844fb,_0x467d97){const _0x1ba644=a44_0x1ba6();return a44_0x48c7=function(_0x48c73b,_0x39a1e2){_0x48c73b=_0x48c73b-0x10e;let _0x285750=_0x1ba644[_0x48c73b];return _0x285750;},a44_0x48c7(_0xa844fb,_0x467d97);}a44_0x8a4a10[a44_0x247138(0x16b)]=undefined,a44_0x8a4a10['bsSessionId']=undefined,a44_0x8a4a10[a44_0x247138(0x173)]=undefined,a44_0x8a4a10[a44_0x247138(0x183)]=undefined,a44_0x8a4a10[a44_0x247138(0x1b7)]=undefined,a44_0x8a4a10['platform_version']=undefined,a44_0x8a4a10[a44_0x247138(0x128)]=undefined,a44_0x8a4a10['capabilities']={};function a44_0x1ba6(){const _0x21e640=['bsSessionId','deviceModel','local_grid','capabilities','IwriB','../../helpers/test-observability/utils','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','gJxwY','aYRWl','currentTest','trackEvent','RKwMe','defineProperty','__driver','944818jddmYx','firefox','Error\x20in\x20finding\x20platform\x20details\x20','1626GGwVrs','function','BSTACK_ATS_URL','MPMCr','connection.js','format','DgHSy','playwright-','prototype','currentSessionDetails','311408CJoPuy','lib','hHnjz','FxcDl','wsEndpoint','LdebX','zNFpu','_browserType','mSpNT','titlePath','edge','patchCRConnection','message','_connection','xjVXy','lUAAi','pemgr','POST','JUttd','qrBjl','TzEEi','BROWSERSTACK_TEST_OBSERVABILITY','MbxDx','platform','../../helpers/test-observability/error-handler','url','Connection','../../helpers/accessibility-automation/helper','2517gepUPe','ATS_WSS_URL_REGEX','5SCPcUr','LjZgb','caps','getInstance','winstonLogger','platformName','2079492wwjhxN','112AwFDWx','assign','elMSv','entries','channel','shouldWrapCommand','browserName','performScan','unknown_grid','rmVyS','exports','SNTDd','chromium','BSTACK_URL','platformVersion','Page\x20Scan\x20result=','../../helpers/helper','product','Driver\x20Scan\x20result=','patchConnection','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','platform_version','debug','chrome','eSpCs','Jcchi','hTNQi','__workerDetails','bstackPerformA11yScan','QzbME','accessibilityPlatform','Setting\x20session\x20id\x20received\x20from\x20BS\x20','patch','testInfo','method','sendMessageToServer','VeniO','fromEntries','xVALX','GEaLX','hsFXu','pAxIJ','Page','toLowerCase','HkhsR','OqWIu','env','lAYeg','eGJTS','EShbU','dispatch','sessionId','includes','tLMUM','sessionError','getDetails','QHTsv','setupBrowserDetails','uIAjg','project','vyBtK','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../../bin/playwright/accessibility-helper','XbLxe','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','oNADW','zOznT','CXLdQ','getAutomationFramework','parse','automate','pRcKs','path','apply','isRunning','use','Acttd','Performing\x20scan\x20for\x20','StzPz','isRemote','version','_defaultConnectOptions','eUImh','cloudProvider','IvSTc','CRConnection','./accessibility-helper','bStackParams','MgQYx','toString','9273570TDEAyf','browser','TogSb','model','util','WeFhO','423392uYWNga','kVknP','browserstack','client','XgsRR','_name','PLAYWRIGHT_DISPATCH','server','platformDetails','info','../v2/state/hookState.js','browser_version','3637908sXfrpJ'];a44_0x1ba6=function(){return _0x21e640;};return a44_0x1ba6();}class PlaywrightSessionDetails{static ['currentSessionDetails']=a44_0x8a4a10;constructor(){const _0x55e2f4=a44_0x247138,_0xf266ec={};_0xf266ec[_0x55e2f4(0x177)]=_0x55e2f4(0x12b);const _0x4a984e=_0xf266ec;throw new Error(_0x4a984e[_0x55e2f4(0x177)]);}static [a44_0x247138(0x14d)]=null;static[a44_0x247138(0x150)](_0x4eb73a,_0x5ace12,_0x437090=null){const _0x24aeff=a44_0x247138,_0x2039f6={'JUttd':function(_0x5adaaf,_0x4c5483){return _0x5adaaf===_0x4c5483;},'QzbME':_0x24aeff(0x197),'gJxwY':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','LdebX':'Device\x20Model\x20is\x20not\x20available','kVknP':_0x24aeff(0x187),'hHnjz':function(_0x4021e7,_0x266a29,_0x19f4c9){return _0x4021e7(_0x266a29,_0x19f4c9);},'Acttd':_0x24aeff(0x1a7),'sQiQH':'_defaultConnectOptions','tLMUM':function(_0x16045e,_0x56d678,_0x3dd561){return _0x16045e(_0x56d678,_0x3dd561);},'xjVXy':_0x24aeff(0x152),'fayri':_0x24aeff(0x163),'SNTDd':'connectOptions','aYRWl':function(_0x4d6d90,_0x5dac12){return _0x4d6d90(_0x5dac12);},'uIAjg':'browserstack','rmVyS':'turboscale','VeniO':_0x24aeff(0x15e),'mbylk':function(_0x36dc64,_0x411e63){return _0x36dc64(_0x411e63);},'iVOwz':function(_0xe0d41f,_0x3b6a61){return _0xe0d41f(_0x3b6a61);},'eUImh':function(_0x1a5c24,_0x1a530e){return _0x1a5c24+_0x1a530e;},'elMSv':_0x24aeff(0x19d),'pRcKs':function(_0x3fac61){return _0x3fac61();},'xVALX':_0x24aeff(0x150)},_0x335b24=this;return _0x2039f6[_0x24aeff(0x1a2)](o11yErrorHandler,async function _0x31c212(_0x443152,_0x54d765,_0x2bedea=null){const _0x543a7e=_0x24aeff;let _0x4d6eb1=_0x443152[_0x543a7e(0x17d)],_0x59c4ce=null;_0x443152&&_0x2039f6[_0x543a7e(0x1b2)](typeof _0x443152[_0x543a7e(0x168)],_0x2039f6[_0x543a7e(0x134)])?_0x59c4ce=_0x443152[_0x543a7e(0x168)]():logger[_0x543a7e(0x12d)](_0x2039f6[_0x543a7e(0x18c)]);let _0x2aaa90=null;_0x443152&&_0x2039f6[_0x543a7e(0x1b2)](typeof _0x443152[_0x543a7e(0x175)],_0x2039f6[_0x543a7e(0x134)])?_0x2aaa90=_0x443152[_0x543a7e(0x175)]():logger[_0x543a7e(0x12d)](_0x2039f6[_0x543a7e(0x1a5)]);let _0x222db6=null,_0x10fe77=null,_0x14fad8=null,_0x1de2e3=_0x2039f6[_0x543a7e(0x179)];if(_0x443152[_0x543a7e(0x1ad)][_0x543a7e(0x167)]()||global['accessibilityPlatform']){let _0x250d3e=null;_0x2039f6[_0x543a7e(0x1a2)](nestedKeyValue,_0x443152,[_0x2039f6[_0x543a7e(0x164)],_0x2039f6['sQiQH']])?_0x250d3e=_0x443152[_0x543a7e(0x1a7)][_0x543a7e(0x169)]:_0x250d3e=_0x2039f6[_0x543a7e(0x14c)](nestedKeyValue,_0x54d765,[_0x2039f6[_0x543a7e(0x1ae)],_0x2039f6['fayri'],_0x2039f6[_0x543a7e(0x122)]]);const _0x20f26b=_0x2bedea||_0x250d3e&&_0x250d3e[_0x543a7e(0x1a4)];_0x20f26b&&(_0x1de2e3=_0x2039f6[_0x543a7e(0x18d)](getCloudProviderFromWsEndpoint,_0x20f26b),_0x2039f6[_0x543a7e(0x1b2)](_0x1de2e3,_0x2039f6[_0x543a7e(0x151)])&&(_0x14fad8=constants[_0x543a7e(0x10f)]['test'](_0x20f26b)?_0x2039f6[_0x543a7e(0x120)]:_0x2039f6[_0x543a7e(0x13b)],_0x4d6eb1=_0x2039f6['mbylk'](getBrowserFromWSEndpoint,_0x20f26b)||_0x4d6eb1,_0x222db6=_0x335b24['currentSessionDetails'][_0x543a7e(0x1b7)],_0x10fe77=_0x335b24[_0x543a7e(0x19f)][_0x543a7e(0x12c)]));}else{_0x54d765&&_0x54d765[_0x543a7e(0x152)]['use'][_0x543a7e(0x11b)]?_0x4d6eb1=_0x2039f6['iVOwz'](getBrowserNameFromChannel,_0x54d765[_0x543a7e(0x152)][_0x543a7e(0x163)]['channel']):_0x4d6eb1=_0x2039f6[_0x543a7e(0x16a)](_0x2039f6[_0x543a7e(0x119)],_0x4d6eb1[_0x543a7e(0x142)]());const _0x501bd5=await _0x2039f6[_0x543a7e(0x15f)](getPlatformDetails);_0x222db6=_0x501bd5[_0x543a7e(0x115)],_0x10fe77=_0x501bd5[_0x543a7e(0x125)];}const _0x43eaf0={};_0x43eaf0[_0x543a7e(0x173)]=_0x4d6eb1,_0x43eaf0[_0x543a7e(0x183)]=_0x59c4ce,_0x43eaf0['capabilities']={},_0x43eaf0['platform']=_0x222db6,_0x43eaf0[_0x543a7e(0x12c)]=_0x10fe77,_0x43eaf0[_0x543a7e(0x128)]=_0x14fad8;const _0x595337=_0x43eaf0;_0x2aaa90&&(_0x595337[_0x543a7e(0x188)][_0x543a7e(0x186)]=_0x2aaa90);const _0x39c4ee={};_0x39c4ee[_0x543a7e(0x16b)]=_0x1de2e3,_0x335b24[_0x543a7e(0x19f)]=Object[_0x543a7e(0x118)]({},_0x335b24[_0x543a7e(0x19f)],_0x39c4ee,_0x595337);},_0x2039f6[_0x24aeff(0x13d)])(_0x4eb73a,_0x5ace12,_0x437090);}static[a44_0x247138(0x137)](){const _0x11f86c=a44_0x247138;this[_0x11f86c(0x12a)](),this[_0x11f86c(0x1ab)]();}static[a44_0x247138(0x12a)](){const _0x4d6654=a44_0x247138,_0x2f7a22={'EShbU':function(_0x48cfc9,_0x501878,_0x2f37b3){return _0x48cfc9(_0x501878,_0x2f37b3);},'lAYeg':_0x4d6654(0x18e),'eSpCs':_0x4d6654(0x138),'MgQYx':_0x4d6654(0x1a9),'TogSb':_0x4d6654(0x132),'KMzRA':'pwPage','pAxIJ':function(_0x20ad88,_0x2eae02){return _0x20ad88===_0x2eae02;},'TzEEi':_0x4d6654(0x141),'OqWIu':function(_0x77e4b4,_0x5c6b5a,_0x207e9d,_0x330edc){return _0x77e4b4(_0x5c6b5a,_0x207e9d,_0x330edc);},'MbxDx':function(_0x43caf8,_0x3d1794){return _0x43caf8(_0x3d1794);},'OAQDR':_0x4d6654(0x1a1),'HkhsR':_0x4d6654(0x17b),'mkDbP':_0x4d6654(0x19a),'lUAAi':function(_0x228a8,_0x2f93d7){return _0x228a8(_0x2f93d7);},'DgHSy':function(_0x4c17c4,_0x2dd411){return _0x4c17c4(_0x2dd411);},'CXLdQ':'Not\x20able\x20to\x20import\x20Connection','oNADW':function(_0x42f456,_0x1c0622){return _0x42f456(_0x1c0622);},'XgsRR':function(_0x4704ba,_0x295696){return _0x4704ba!=_0x295696;},'mSpNT':function(_0x4c36f){return _0x4c36f();},'MPMCr':_0x4d6654(0x13a),'qkfgW':_0x4d6654(0x149)},_0x37caa2=this;if(!this[_0x4d6654(0x1ba)])try{const _0x245140=path['join'](_0x2f7a22['OAQDR'],_0x2f7a22[_0x4d6654(0x143)],_0x2f7a22['mkDbP']),_0x5024ff=_0x2f7a22['lUAAi'](importFileFromPWCore,_0x245140);!_0x5024ff?_0x2f7a22[_0x4d6654(0x19c)](debug,_0x2f7a22[_0x4d6654(0x15b)]):this[_0x4d6654(0x1ba)]=_0x5024ff[_0x4d6654(0x1ba)];}catch(_0x45ca44){_0x2f7a22[_0x4d6654(0x159)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x45ca44[_0x4d6654(0x171)]());}const _0x2db5d6=this[_0x4d6654(0x1ba)];try{if(_0x2f7a22[_0x4d6654(0x17c)](_0x2db5d6,null)){const _0x5cf45e=_0x2db5d6[_0x4d6654(0x19e)][_0x4d6654(0x149)],_0x3f8f2a=_0x2db5d6[_0x4d6654(0x19e)]['sendMessageToServer'];_0x2f7a22[_0x4d6654(0x1a8)](isAccessibilityAutomationSession)&&Object[_0x4d6654(0x191)](_0x2db5d6[_0x4d6654(0x19e)],_0x2f7a22[_0x4d6654(0x199)],{'get':function(){return async function(){const _0x8e8bf0=a44_0x48c7;try{if(!global[_0x8e8bf0(0x133)]&&global[_0x8e8bf0(0x135)]&&_0x2f7a22[_0x8e8bf0(0x148)](nestedKeyValue,global[_0x8e8bf0(0x132)],[_0x2f7a22[_0x8e8bf0(0x146)],_0x2f7a22[_0x8e8bf0(0x12f)],_0x2f7a22[_0x8e8bf0(0x170)]])&&_0x2f7a22[_0x8e8bf0(0x148)](shouldScanTestForAccessibility,global[_0x8e8bf0(0x132)][_0x8e8bf0(0x18e)][_0x8e8bf0(0x138)][_0x8e8bf0(0x1a9)],!![])&&scripts[_0x8e8bf0(0x11c)](arguments[0x1])){logger[_0x8e8bf0(0x12d)](_0x8e8bf0(0x165)+arguments[0x1]),global[_0x8e8bf0(0x133)]=!![];const _0x1d71d8=_0x2f7a22[_0x8e8bf0(0x148)](nestedKeyValue,global,[_0x2f7a22[_0x8e8bf0(0x174)],_0x2f7a22['KMzRA']]);if(_0x1d71d8){const _0x52d0ad={};_0x52d0ad[_0x8e8bf0(0x139)]=arguments[0x1],logger[_0x8e8bf0(0x181)](_0x8e8bf0(0x126)+util['format'](await AccessibilityHelper[_0x8e8bf0(0x11e)](_0x1d71d8,_0x52d0ad)));}if(_0x2f7a22[_0x8e8bf0(0x140)](arguments[0x0]['_type'],_0x2f7a22[_0x8e8bf0(0x1b4)])&&global[_0x8e8bf0(0x192)]){const _0x91e2cb={};_0x91e2cb[_0x8e8bf0(0x139)]=arguments[0x1],logger['info'](_0x8e8bf0(0x129)+util[_0x8e8bf0(0x19b)](await _0x2f7a22[_0x8e8bf0(0x144)](browserStackExecuteDriver,global[_0x8e8bf0(0x192)],scripts[_0x8e8bf0(0x11e)],_0x91e2cb)));}}}catch(_0x472776){logger[_0x8e8bf0(0x12d)]('Failed\x20to\x20perform\x20scan\x20'+util[_0x8e8bf0(0x19b)](_0x472776));}return global[_0x8e8bf0(0x133)]=![],_0x3f8f2a[_0x8e8bf0(0x161)](this,arguments);};}}),!_0x2f7a22['MbxDx'](isFalse,process[_0x4d6654(0x145)][_0x4d6654(0x1b5)])&&Object[_0x4d6654(0x191)](_0x2db5d6['prototype'],_0x2f7a22['qkfgW'],{'get':function(){return async function _0x1abfef(_0x4fec27){const _0x948ae8=a44_0x48c7;if(BrowserstackCLI[_0x948ae8(0x113)]()[_0x948ae8(0x162)]()){const _0x10d1a5={};_0x10d1a5[_0x948ae8(0x1ac)]=_0x4fec27,await BrowserstackCLI[_0x948ae8(0x113)]()[_0x948ae8(0x15c)]()[_0x948ae8(0x18f)](AutomationFrameworkState[_0x948ae8(0x17e)],HookState[_0x948ae8(0x1b1)],_0x10d1a5);}else{const _0x57830c=_0x4fec27&&_0x4fec27['params']&&_0x4fec27['params']['bsParams'];if(_0x57830c){const _0x2083f4=_0x57830c[_0x948ae8(0x14a)],_0x508122=_0x57830c[_0x948ae8(0x180)];_0x508122&&(_0x2f7a22['MbxDx'](debug,_0x948ae8(0x158)+_0x508122[_0x948ae8(0x171)]()),_0x37caa2[_0x948ae8(0x19f)]['platform']=_0x508122[_0x948ae8(0x115)],_0x37caa2['currentSessionDetails'][_0x948ae8(0x12c)]=_0x508122['platformVersion']),_0x2083f4&&(_0x2f7a22[_0x948ae8(0x1b6)](debug,_0x948ae8(0x136)+_0x2083f4),_0x37caa2[_0x948ae8(0x19f)][_0x948ae8(0x185)]=_0x2083f4);}}return _0x5cf45e[_0x948ae8(0x161)](this,arguments);};}});}}catch(_0x3dfc23){_0x2f7a22[_0x4d6654(0x1af)](debug,_0x4d6654(0x18b)+_0x3dfc23),_0x37caa2[_0x4d6654(0x14d)]=_0x3dfc23['toString']();}}static['patchCRConnection'](){const _0x36a02e=a44_0x247138,_0x513d56={'nTbuh':function(_0x1399fd,_0x221e22){return _0x1399fd(_0x221e22);},'IvSTc':function(_0x4e081f,_0x5e867f){return _0x4e081f(_0x5e867f);},'zNFpu':function(_0x57b343){return _0x57b343();},'Sfiiq':'lib','XbLxe':_0x36a02e(0x17f),'RKwMe':_0x36a02e(0x123),'Jcchi':'crConnection.js','FxcDl':function(_0xa9e100,_0x1757b0){return _0xa9e100(_0x1757b0);},'StzPz':function(_0xe7029e,_0x31d2ed){return _0xe7029e(_0x31d2ed);},'GEaLX':'Not\x20able\x20to\x20import\x20crConnection','puQbi':function(_0x12945b,_0x3f5dfc){return _0x12945b(_0x3f5dfc);},'eGJTS':'Error\x20in\x20importing\x20crConnection','IwriB':function(_0x512bea,_0x35f52a){return _0x512bea!=_0x35f52a;},'LjZgb':'_onMessage','vyBtK':function(_0x268241,_0x562410){return _0x268241(_0x562410);}},_0x47e668=this;if(_0x513d56[_0x36a02e(0x1a6)](isAccessibilityAutomationSession)){let _0x2d80ef=null;try{const _0x23b745=path['join'](_0x513d56['Sfiiq'],_0x513d56[_0x36a02e(0x156)],_0x513d56[_0x36a02e(0x190)],_0x513d56[_0x36a02e(0x130)]),_0x3d75ec=_0x513d56[_0x36a02e(0x1a3)](importFileFromPWCore,_0x23b745);!_0x3d75ec?_0x513d56[_0x36a02e(0x166)](debug,_0x513d56[_0x36a02e(0x13e)]):_0x2d80ef=_0x3d75ec[_0x36a02e(0x16d)];}catch(_0x189e50){_0x513d56['puQbi'](debug,_0x513d56[_0x36a02e(0x147)]);}try{if(_0x513d56[_0x36a02e(0x189)](_0x2d80ef,null)){const _0xac998a=_0x2d80ef[_0x36a02e(0x19e)]['_onMessage'];Object[_0x36a02e(0x191)](_0x2d80ef[_0x36a02e(0x19e)],_0x513d56[_0x36a02e(0x111)],{'get':function(){return async function _0x1cb983(_0x5f287b){const _0x434c91=a44_0x48c7;try{if(BrowserstackCLI['getInstance']()[_0x434c91(0x162)]()){const _0x32f950={};_0x32f950[_0x434c91(0x1ac)]=_0x5f287b,await BrowserstackCLI[_0x434c91(0x113)]()[_0x434c91(0x15c)]()['trackEvent'](AutomationFrameworkState[_0x434c91(0x17e)],HookState['POST'],_0x32f950),delete _0x5f287b[_0x434c91(0x16f)];}else{const _0x42119d=_0x5f287b['bStackParams'];if(_0x42119d){delete _0x5f287b[_0x434c91(0x16f)];const _0x2f9ed2=_0x42119d[_0x434c91(0x14a)],_0x290870=_0x42119d[_0x434c91(0x180)];_0x290870&&(_0x513d56['nTbuh'](debug,'Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20'+_0x290870['toString']()),_0x47e668['currentSessionDetails'][_0x434c91(0x1b7)]=_0x290870[_0x434c91(0x115)],_0x47e668['currentSessionDetails'][_0x434c91(0x12c)]=_0x290870['platformVersion']),_0x2f9ed2&&(_0x513d56[_0x434c91(0x16c)](debug,_0x434c91(0x154)+_0x2f9ed2),_0x47e668['currentSessionDetails'][_0x434c91(0x185)]=_0x2f9ed2);}}}catch(_0x20a4a7){_0x513d56[_0x434c91(0x16c)](debug,_0x434c91(0x195)+_0x20a4a7[_0x434c91(0x171)]());}return _0xac998a[_0x434c91(0x161)](this,arguments);};}});}}catch(_0x221ecc){_0x513d56[_0x36a02e(0x153)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x221ecc),_0x47e668[_0x36a02e(0x14d)]=_0x221ecc[_0x36a02e(0x171)]();}}}static[a44_0x247138(0x14e)](){const _0xad2171=a44_0x247138;return this[_0xad2171(0x19f)];}}module[a44_0x247138(0x121)]=PlaywrightSessionDetails;
|
|
1
|
+
function a44_0x5e57(_0x263fc5,_0x16d35c){const _0x4f4136=a44_0x4f41();return a44_0x5e57=function(_0x5e57f7,_0x43c538){_0x5e57f7=_0x5e57f7-0xff;let _0x2407d2=_0x4f4136[_0x5e57f7];return _0x2407d2;},a44_0x5e57(_0x263fc5,_0x16d35c);}const a44_0x200f12=a44_0x5e57;function a44_0x4f41(){const _0x3dbee0=['browser_version','YOetU','zkqGP','oYvEk','testInfo','getDetails','bstackPerformA11yScan','BROWSERSTACK_TEST_OBSERVABILITY','Page\x20Scan\x20result=','EnwIp','../utils/constants','playwright-','Device\x20Model\x20is\x20not\x20available','qnwQr','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','Driver\x20Scan\x20result=','403fXwhSM','Not\x20able\x20to\x20import\x20Connection','Error\x20in\x20importing\x20crConnection','bsSessionId','Xnegv','connection.js','entries','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','assign','mhpKT','debug','_defaultConnectOptions','query','uMDez','util','POST','vfpCP','zCIyB','../../helpers/test-observability/error-handler','BIBJi','11210cIaMqr','browserstack','function','project','wsEndpoint','mKGbA','isRunning','winstonLogger','232278PHZwgD','platform_version','client','UqKwf','SOGXn','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','QVsJT','patchCRConnection','sendMessageToServer','13849LhdXkO','performScan','includes','JXhYS','toString','../v2/browserstackCLI','../../helpers/accessibility-automation/scripts','RMTRM','NaMFu','server','BnwUJ','eiqXa','BSTACK_ATS_URL','oBhfS','shouldWrapCommand','YqICg','format','Error\x20in\x20importing\x20connection\x20','kcaYU','GlBhy','yZEsf','Setting\x20session\x20id\x20received\x20from\x20BS\x20','__workerDetails','OcAXK','BhSix','qFpDK','sessionId','gjoGS','info','Not\x20able\x20to\x20import\x20crConnection','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','933479vXyUqt','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','browserName','firefox','bStackParams','cloudProvider','olJos','../../helpers/logger','1336344nQcbGL','padGH','unknown_grid','xYawJ','GTDPD','test','dispatch','35622fIPCOx','./accessibility-helper','deviceModel','qVKmM','KfYDu','join','bHxLD','18UmHEHH','REKbT','patchConnection','parse','platformVersion','accessibilityPlatform','isRemote','exports','url','caps','16dGsldR','lib','1249029oQNRVD','getAutomationFramework','toLowerCase','getInstance','eWJtd','OywDC','platformDetails','QcZWQ','env','path','AiEUV','capabilities','../v2/state/automationFrameworkState.js','../../helpers/helper','setupBrowserDetails','method','channel','currentSessionDetails','ZgECh','product','XAlYC','connectOptions','cirmi','defineProperty','_onMessage','CRConnection','BSTACK_URL','sessionError','XSVdz','Connection','../../helpers/accessibility-automation/helper','5238232RAngXE','platformName','platform','595EbinUg','hhDUb','prototype','trackEvent','5ftHchb','HKwxp','browser','patch','safari','turboscale','Performing\x20scan\x20for\x20','currentTest','_connection','jHptG','edge','__driver','chromium','jACBJ','GtIjd','version','LLYDt','pCUxy','titlePath','local_grid','../../bin/playwright/accessibility-helper','crConnection.js'];a44_0x4f41=function(){return _0x3dbee0;};return a44_0x4f41();}(function(_0x4a7c6f,_0x4457ba){const _0x454986=a44_0x5e57,_0x4b180e=_0x4a7c6f();while(!![]){try{const _0x3b6aaf=-parseInt(_0x454986(0x15b))/0x1+-parseInt(_0x454986(0x133))/0x2*(-parseInt(_0x454986(0x171))/0x3)+-parseInt(_0x454986(0x19c))/0x4*(parseInt(_0x454986(0x1a3))/0x5)+-parseInt(_0x454986(0x16a))/0x6*(-parseInt(_0x454986(0x19f))/0x7)+-parseInt(_0x454986(0x17b))/0x8*(parseInt(_0x454986(0x17d))/0x9)+parseInt(_0x454986(0x12b))/0xa*(-parseInt(_0x454986(0x13c))/0xb)+-parseInt(_0x454986(0x163))/0xc*(-parseInt(_0x454986(0x117))/0xd);if(_0x3b6aaf===_0x4457ba)break;else _0x4b180e['push'](_0x4b180e['shift']());}catch(_0x285361){_0x4b180e['push'](_0x4b180e['shift']());}}}(a44_0x4f41,0xb0363));const path=require(a44_0x200f12(0x186)),url=require(a44_0x200f12(0x179)),util=require(a44_0x200f12(0x125)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require(a44_0x200f12(0x18a)),{o11yErrorHandler}=require(a44_0x200f12(0x129)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a44_0x200f12(0x19b)),logger=require(a44_0x200f12(0x162))[a44_0x200f12(0x132)],scripts=require(a44_0x200f12(0x142)),{browserStackExecuteDriver}=require(a44_0x200f12(0x105)),AccessibilityHelper=require(a44_0x200f12(0x16b)),constants=require(a44_0x200f12(0x111)),BrowserstackCLI=require(a44_0x200f12(0x141)),AutomationFrameworkState=require(a44_0x200f12(0x189)),HookState=require('../v2/state/hookState.js'),getBrowserNameFromChannel=_0x1df45c=>{const _0x56c0cb=a44_0x200f12,_0x1ac4b0={};_0x1ac4b0[_0x56c0cb(0x172)]='chrome',_0x1ac4b0[_0x56c0cb(0x114)]=_0x56c0cb(0x1ad),_0x1ac4b0['OcAXK']=_0x56c0cb(0x15e),_0x1ac4b0[_0x56c0cb(0x155)]=_0x56c0cb(0x1a7);const _0x547743=_0x1ac4b0;if(_0x1df45c['includes'](_0x547743[_0x56c0cb(0x172)]))return _0x547743['REKbT'];if(_0x1df45c['includes'](_0x547743['qnwQr']))return _0x547743[_0x56c0cb(0x114)];if(_0x1df45c['includes'](_0x547743[_0x56c0cb(0x153)]))return _0x547743['OcAXK'];if(_0x1df45c[_0x56c0cb(0x13e)](_0x547743[_0x56c0cb(0x155)]))return _0x547743[_0x56c0cb(0x155)];},getBrowserFromWSEndpoint=_0x32073a=>{const _0x2f143e=a44_0x200f12,_0x1567c6={'oYvEk':'chrome','uMDez':function(_0x1a71ee,_0x557e6e){return _0x1a71ee(_0x557e6e);}};try{const _0x15169f=url[_0x2f143e(0x174)](_0x32073a),_0x50eedb=new URLSearchParams(_0x15169f[_0x2f143e(0x123)]),_0x31fda6=Object['fromEntries'](_0x50eedb[_0x2f143e(0x11d)]()),_0xfd30a9=JSON[_0x2f143e(0x174)](_0x31fda6[_0x2f143e(0x17a)]);if(_0xfd30a9&&(_0xfd30a9[_0x2f143e(0x1a5)]||_0xfd30a9['browserName']))return _0xfd30a9['browser']||_0xfd30a9[_0x2f143e(0x15d)];return _0x1567c6[_0x2f143e(0x10a)];}catch(_0x3be155){_0x1567c6[_0x2f143e(0x124)](debug,'Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'+_0x3be155[_0x2f143e(0x140)]());}},getCloudProviderFromWsEndpoint=_0x11ca9a=>{const _0x4b3953=a44_0x200f12,_0x11c9b3={};_0x11c9b3[_0x4b3953(0x14b)]='browserstack',_0x11c9b3[_0x4b3953(0x11b)]=_0x4b3953(0x165);const _0x51f179=_0x11c9b3;if(_0x11ca9a[_0x4b3953(0x13e)](constants[_0x4b3953(0x197)])||_0x11ca9a[_0x4b3953(0x13e)](constants[_0x4b3953(0x148)]))return _0x51f179[_0x4b3953(0x14b)];return _0x51f179[_0x4b3953(0x11b)];},a44_0x37bd77={};a44_0x37bd77[a44_0x200f12(0x160)]=undefined,a44_0x37bd77['bsSessionId']=undefined,a44_0x37bd77[a44_0x200f12(0x1a5)]=undefined,a44_0x37bd77[a44_0x200f12(0x107)]=undefined,a44_0x37bd77[a44_0x200f12(0x19e)]=undefined,a44_0x37bd77[a44_0x200f12(0x134)]=undefined,a44_0x37bd77[a44_0x200f12(0x190)]=undefined,a44_0x37bd77[a44_0x200f12(0x188)]={};class PlaywrightSessionDetails{static ['currentSessionDetails']=a44_0x37bd77;constructor(){const _0x518fff=a44_0x200f12,_0x10e773={};_0x10e773[_0x518fff(0x128)]='Invalid\x20constructor,\x20please\x20use\x20static\x20methods';const _0xbf365a=_0x10e773;throw new Error(_0xbf365a['zCIyB']);}static [a44_0x200f12(0x198)]=null;static[a44_0x200f12(0x18b)](_0x4eb5d1,_0xbff403,_0x2cac32=null){const _0x478935=a44_0x200f12,_0x5f413e={'Tqvrd':function(_0xb137d0,_0x569951){return _0xb137d0===_0x569951;},'bHxLD':_0x478935(0x12d),'mKGbA':_0x478935(0x15a),'eWJtd':function(_0x4467eb,_0x13cdcc){return _0x4467eb===_0x13cdcc;},'pCUxy':_0x478935(0x113),'QcZWQ':_0x478935(0x104),'padGH':function(_0x244bbb,_0x4f73f5,_0x445071){return _0x244bbb(_0x4f73f5,_0x445071);},'wUoqN':'_browserType','OywDC':_0x478935(0x122),'zkqGP':function(_0x5b7933,_0x2b20fb,_0x50a14b){return _0x5b7933(_0x2b20fb,_0x50a14b);},'GlBhy':'project','QoRYD':'use','cSSLx':_0x478935(0x192),'cirmi':function(_0x4035ca,_0x40ff4c){return _0x4035ca(_0x40ff4c);},'nYQQz':_0x478935(0x12c),'FHBMF':_0x478935(0x1a8),'GtIjd':'automate','SOGXn':function(_0xc78015,_0x1b4db2){return _0xc78015(_0x1b4db2);},'BnwUJ':function(_0x4ec349,_0x299c06){return _0x4ec349+_0x299c06;},'yBWNa':_0x478935(0x112),'mhpKT':function(_0x1bd8d0){return _0x1bd8d0();},'RMTRM':function(_0x459b27,_0x3d9f35,_0x3736a7){return _0x459b27(_0x3d9f35,_0x3736a7);},'GTDPD':_0x478935(0x18b)},_0x14f1a2=this;return _0x5f413e[_0x478935(0x143)](o11yErrorHandler,async function _0x2fc587(_0x48ddbe,_0x5dd00e,_0x51b5dd=null){const _0x3929b7=_0x478935;let _0x580959=_0x48ddbe['_name'],_0x4ebb18=null;_0x48ddbe&&_0x5f413e['Tqvrd'](typeof _0x48ddbe[_0x3929b7(0x100)],_0x5f413e['bHxLD'])?_0x4ebb18=_0x48ddbe[_0x3929b7(0x100)]():logger[_0x3929b7(0x121)](_0x5f413e[_0x3929b7(0x130)]);let _0x4997e3=null;_0x48ddbe&&_0x5f413e['eWJtd'](typeof _0x48ddbe['model'],_0x5f413e[_0x3929b7(0x170)])?_0x4997e3=_0x48ddbe['model']():logger[_0x3929b7(0x121)](_0x5f413e[_0x3929b7(0x102)]);let _0x36a65e=null,_0x358ebe=null,_0x3a7601=null,_0x48b0ea=_0x5f413e[_0x3929b7(0x184)];if(_0x48ddbe[_0x3929b7(0x1ab)][_0x3929b7(0x177)]()||global[_0x3929b7(0x176)]){let _0x377a38=null;_0x5f413e[_0x3929b7(0x164)](nestedKeyValue,_0x48ddbe,[_0x5f413e['wUoqN'],_0x5f413e[_0x3929b7(0x182)]])?_0x377a38=_0x48ddbe['_browserType']['_defaultConnectOptions']:_0x377a38=_0x5f413e[_0x3929b7(0x109)](nestedKeyValue,_0x5dd00e,[_0x5f413e[_0x3929b7(0x14f)],_0x5f413e['QoRYD'],_0x5f413e['cSSLx']]);const _0x3e3fca=_0x51b5dd||_0x377a38&&_0x377a38[_0x3929b7(0x12f)];_0x3e3fca&&(_0x48b0ea=_0x5f413e[_0x3929b7(0x193)](getCloudProviderFromWsEndpoint,_0x3e3fca),_0x5f413e[_0x3929b7(0x181)](_0x48b0ea,_0x5f413e['nYQQz'])&&(_0x3a7601=constants['ATS_WSS_URL_REGEX'][_0x3929b7(0x168)](_0x3e3fca)?_0x5f413e['FHBMF']:_0x5f413e[_0x3929b7(0xff)],_0x580959=_0x5f413e[_0x3929b7(0x137)](getBrowserFromWSEndpoint,_0x3e3fca)||_0x580959,_0x36a65e=_0x14f1a2['currentSessionDetails'][_0x3929b7(0x19e)],_0x358ebe=_0x14f1a2[_0x3929b7(0x18e)]['platform_version']));}else{_0x5dd00e&&_0x5dd00e[_0x3929b7(0x12e)]['use']['channel']?_0x580959=_0x5f413e['cirmi'](getBrowserNameFromChannel,_0x5dd00e[_0x3929b7(0x12e)]['use'][_0x3929b7(0x18d)]):_0x580959=_0x5f413e[_0x3929b7(0x146)](_0x5f413e['yBWNa'],_0x580959[_0x3929b7(0x17f)]());const _0x27ea70=await _0x5f413e[_0x3929b7(0x120)](getPlatformDetails);_0x36a65e=_0x27ea70[_0x3929b7(0x19d)],_0x358ebe=_0x27ea70[_0x3929b7(0x175)];}const _0xbe11ea={};_0xbe11ea[_0x3929b7(0x1a5)]=_0x580959,_0xbe11ea[_0x3929b7(0x107)]=_0x4ebb18,_0xbe11ea[_0x3929b7(0x188)]={},_0xbe11ea[_0x3929b7(0x19e)]=_0x36a65e,_0xbe11ea[_0x3929b7(0x134)]=_0x358ebe,_0xbe11ea[_0x3929b7(0x190)]=_0x3a7601;const _0x1a24ae=_0xbe11ea;_0x4997e3&&(_0x1a24ae[_0x3929b7(0x188)][_0x3929b7(0x16c)]=_0x4997e3);const _0x280138={};_0x280138[_0x3929b7(0x160)]=_0x48b0ea,_0x14f1a2[_0x3929b7(0x18e)]=Object[_0x3929b7(0x11f)]({},_0x14f1a2[_0x3929b7(0x18e)],_0x280138,_0x1a24ae);},_0x5f413e[_0x478935(0x167)])(_0x4eb5d1,_0xbff403,_0x2cac32);}static[a44_0x200f12(0x1a6)](){this['patchConnection'](),this['patchCRConnection']();}static[a44_0x200f12(0x173)](){const _0x31345a=a44_0x200f12,_0x39343f={'qVKmM':function(_0x264784,_0x548ae5,_0x45cf29){return _0x264784(_0x548ae5,_0x45cf29);},'xDFsA':'currentTest','yZEsf':_0x31345a(0x10b),'NaMFu':_0x31345a(0x103),'ZgECh':_0x31345a(0x152),'BhSix':'pwPage','YDPfr':function(_0x490863,_0x2f6203){return _0x490863===_0x2f6203;},'jACBJ':'Page','olJos':function(_0x2248b5,_0x51a946,_0x58a81c,_0x276720){return _0x2248b5(_0x51a946,_0x58a81c,_0x276720);},'eiqXa':function(_0x1f50ae,_0x10d09d){return _0x1f50ae(_0x10d09d);},'jHptG':function(_0x530885,_0x3c39fd){return _0x530885(_0x3c39fd);},'UqKwf':_0x31345a(0x17c),'KfYDu':_0x31345a(0x135),'QVsJT':_0x31345a(0x11c),'AiEUV':function(_0x2a540f,_0x239e31){return _0x2a540f(_0x239e31);},'YOetU':_0x31345a(0x118),'LLYDt':function(_0x392cc9,_0x123f36){return _0x392cc9!=_0x123f36;},'QtlRK':function(_0x43d4f4){return _0x43d4f4();},'vfpCP':'sendMessageToServer','XSVdz':function(_0x56bc2a,_0x289489){return _0x56bc2a(_0x289489);},'JXhYS':_0x31345a(0x169),'HKwxp':function(_0x140400,_0x48b5ce){return _0x140400(_0x48b5ce);}},_0x573e75=this;if(!this['Connection'])try{const _0x41d48b=path[_0x31345a(0x16f)](_0x39343f[_0x31345a(0x136)],_0x39343f[_0x31345a(0x16e)],_0x39343f[_0x31345a(0x139)]),_0x355060=_0x39343f['eiqXa'](importFileFromPWCore,_0x41d48b);!_0x355060?_0x39343f[_0x31345a(0x187)](debug,_0x39343f[_0x31345a(0x108)]):this[_0x31345a(0x19a)]=_0x355060[_0x31345a(0x19a)];}catch(_0x375d34){_0x39343f[_0x31345a(0x187)](debug,_0x31345a(0x14d)+_0x375d34['toString']());}const _0x1ebcbb=this[_0x31345a(0x19a)];try{if(_0x39343f[_0x31345a(0x101)](_0x1ebcbb,null)){const _0x433432=_0x1ebcbb[_0x31345a(0x1a1)]['dispatch'],_0x1671a3=_0x1ebcbb[_0x31345a(0x1a1)][_0x31345a(0x13b)];_0x39343f['QtlRK'](isAccessibilityAutomationSession)&&Object[_0x31345a(0x194)](_0x1ebcbb[_0x31345a(0x1a1)],_0x39343f[_0x31345a(0x127)],{'get':function(){return async function(){const _0x549b7d=a44_0x5e57;try{if(!global['bstackPerformA11yScan']&&global[_0x549b7d(0x176)]&&_0x39343f[_0x549b7d(0x16d)](nestedKeyValue,global[_0x549b7d(0x152)],[_0x39343f['xDFsA'],_0x39343f[_0x549b7d(0x150)],_0x39343f[_0x549b7d(0x144)]])&&_0x39343f[_0x549b7d(0x16d)](shouldScanTestForAccessibility,global[_0x549b7d(0x152)][_0x549b7d(0x1aa)][_0x549b7d(0x10b)][_0x549b7d(0x103)],!![])&&scripts[_0x549b7d(0x14a)](arguments[0x1])){logger['debug'](_0x549b7d(0x1a9)+arguments[0x1]),global[_0x549b7d(0x10d)]=!![];const _0x359a83=_0x39343f[_0x549b7d(0x16d)](nestedKeyValue,global,[_0x39343f[_0x549b7d(0x18f)],_0x39343f[_0x549b7d(0x154)]]);if(_0x359a83){const _0x574fe2={};_0x574fe2[_0x549b7d(0x18c)]=arguments[0x1],logger[_0x549b7d(0x158)](_0x549b7d(0x10f)+util[_0x549b7d(0x14c)](await AccessibilityHelper[_0x549b7d(0x13d)](_0x359a83,_0x574fe2)));}if(_0x39343f['YDPfr'](arguments[0x0]['_type'],_0x39343f[_0x549b7d(0x1b0)])&&global[_0x549b7d(0x1ae)]){const _0xeb361d={};_0xeb361d[_0x549b7d(0x18c)]=arguments[0x1],logger[_0x549b7d(0x158)](_0x549b7d(0x116)+util['format'](await _0x39343f[_0x549b7d(0x161)](browserStackExecuteDriver,global[_0x549b7d(0x1ae)],scripts[_0x549b7d(0x13d)],_0xeb361d)));}}}catch(_0x158c09){logger['debug']('Failed\x20to\x20perform\x20scan\x20'+util[_0x549b7d(0x14c)](_0x158c09));}return global[_0x549b7d(0x10d)]=![],_0x1671a3['apply'](this,arguments);};}}),!_0x39343f[_0x31345a(0x199)](isFalse,process[_0x31345a(0x185)][_0x31345a(0x10e)])&&Object['defineProperty'](_0x1ebcbb[_0x31345a(0x1a1)],_0x39343f[_0x31345a(0x13f)],{'get':function(){return async function _0x1047ae(_0x2de7d3){const _0x24aebe=a44_0x5e57;if(BrowserstackCLI[_0x24aebe(0x180)]()[_0x24aebe(0x131)]()){const _0x1aa8a5={};_0x1aa8a5['message']=_0x2de7d3,await BrowserstackCLI['getInstance']()[_0x24aebe(0x17e)]()[_0x24aebe(0x1a2)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x24aebe(0x126)],_0x1aa8a5);}else{const _0x21ab31=_0x2de7d3&&_0x2de7d3['params']&&_0x2de7d3['params']['bsParams'];if(_0x21ab31){const _0x5a3d8b=_0x21ab31[_0x24aebe(0x156)],_0x486543=_0x21ab31[_0x24aebe(0x183)];_0x486543&&(_0x39343f[_0x24aebe(0x147)](debug,_0x24aebe(0x138)+_0x486543[_0x24aebe(0x140)]()),_0x573e75['currentSessionDetails'][_0x24aebe(0x19e)]=_0x486543[_0x24aebe(0x19d)],_0x573e75['currentSessionDetails'][_0x24aebe(0x134)]=_0x486543[_0x24aebe(0x175)]),_0x5a3d8b&&(_0x39343f[_0x24aebe(0x1ac)](debug,_0x24aebe(0x151)+_0x5a3d8b),_0x573e75['currentSessionDetails'][_0x24aebe(0x11a)]=_0x5a3d8b);}}return _0x433432['apply'](this,arguments);};}});}}catch(_0x46ec6d){_0x39343f[_0x31345a(0x1a4)](debug,_0x31345a(0x115)+_0x46ec6d),_0x573e75[_0x31345a(0x198)]=_0x46ec6d[_0x31345a(0x140)]();}}static[a44_0x200f12(0x13a)](){const _0x111cd0=a44_0x200f12,_0x412a25={'BIBJi':function(_0x282442,_0x22e8b6){return _0x282442(_0x22e8b6);},'XAlYC':function(_0x22da27,_0x403d5f){return _0x22da27(_0x403d5f);},'DIEcw':function(_0x4ecc9d,_0x1eaa57){return _0x4ecc9d(_0x1eaa57);},'xYawJ':function(_0x1cd09e){return _0x1cd09e();},'NyyFF':_0x111cd0(0x17c),'QFoAZ':_0x111cd0(0x145),'gjoGS':_0x111cd0(0x1af),'kcaYU':_0x111cd0(0x106),'hhDUb':function(_0x50fa81,_0x498c44){return _0x50fa81(_0x498c44);},'UPUQn':_0x111cd0(0x159),'tKTte':_0x111cd0(0x119),'oBhfS':function(_0x5bd6e2,_0x2e2d1d){return _0x5bd6e2!=_0x2e2d1d;},'EnwIp':_0x111cd0(0x195)},_0x273491=this;if(_0x412a25[_0x111cd0(0x166)](isAccessibilityAutomationSession)){let _0x208d30=null;try{const _0x3847f1=path[_0x111cd0(0x16f)](_0x412a25['NyyFF'],_0x412a25['QFoAZ'],_0x412a25[_0x111cd0(0x157)],_0x412a25[_0x111cd0(0x14e)]),_0x510e71=_0x412a25['DIEcw'](importFileFromPWCore,_0x3847f1);!_0x510e71?_0x412a25[_0x111cd0(0x1a0)](debug,_0x412a25['UPUQn']):_0x208d30=_0x510e71[_0x111cd0(0x196)];}catch(_0x1338c1){_0x412a25[_0x111cd0(0x191)](debug,_0x412a25['tKTte']);}try{if(_0x412a25[_0x111cd0(0x149)](_0x208d30,null)){const _0x506c63=_0x208d30[_0x111cd0(0x1a1)]['_onMessage'];Object[_0x111cd0(0x194)](_0x208d30[_0x111cd0(0x1a1)],_0x412a25[_0x111cd0(0x110)],{'get':function(){return async function _0x4119fa(_0x38f5d5){const _0x33cd5c=a44_0x5e57;try{if(BrowserstackCLI[_0x33cd5c(0x180)]()[_0x33cd5c(0x131)]()){const _0x1705f2={};_0x1705f2['message']=_0x38f5d5,await BrowserstackCLI[_0x33cd5c(0x180)]()['getAutomationFramework']()[_0x33cd5c(0x1a2)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x33cd5c(0x126)],_0x1705f2),delete _0x38f5d5[_0x33cd5c(0x15f)];}else{const _0x6dd715=_0x38f5d5[_0x33cd5c(0x15f)];if(_0x6dd715){delete _0x38f5d5[_0x33cd5c(0x15f)];const _0x1933f1=_0x6dd715['sessionId'],_0xa6f382=_0x6dd715[_0x33cd5c(0x183)];_0xa6f382&&(_0x412a25[_0x33cd5c(0x12a)](debug,_0x33cd5c(0x11e)+_0xa6f382[_0x33cd5c(0x140)]()),_0x273491[_0x33cd5c(0x18e)][_0x33cd5c(0x19e)]=_0xa6f382[_0x33cd5c(0x19d)],_0x273491[_0x33cd5c(0x18e)]['platform_version']=_0xa6f382['platformVersion']),_0x1933f1&&(_0x412a25[_0x33cd5c(0x191)](debug,_0x33cd5c(0x15c)+_0x1933f1),_0x273491[_0x33cd5c(0x18e)][_0x33cd5c(0x11a)]=_0x1933f1);}}}catch(_0x521c66){_0x412a25['DIEcw'](debug,'Error\x20in\x20finding\x20platform\x20details\x20'+_0x521c66[_0x33cd5c(0x140)]());}return _0x506c63['apply'](this,arguments);};}});}}catch(_0x475882){_0x412a25['DIEcw'](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x475882),_0x273491['sessionError']=_0x475882[_0x111cd0(0x140)]();}}}static[a44_0x200f12(0x10c)](){return this['currentSessionDetails'];}}module[a44_0x200f12(0x178)]=PlaywrightSessionDetails;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a45_0x2c47(){const _0x5c9cef=['debug','alias','hzQQu','mocha','../helpers/helper','describe','--no-config','./vanilla-js/command','89559iswNlp','uNRzM','2840118kbLfKu','./v2/browserstackCLI','stack','200990YcGIow','cucumber-js','vanilla','codeceptjs','OPmmA','sendLogs','playwright','winstonLogger','VTVwk','handler','message','SDK_SETUP','.browserstack','path','isUndefined','--opts','command','findAndReplace','showHelpOnFail','--package','10ENkxhf','exitCode','usage','util','ibdXp','552IvQWsn','44986872ZZTXHJ','EnDEF','MinCf','./cucumber-js/command','push','help','wUJxI','boJJi','error','format','pFbzT','end','existsSync','SDK_CLEANUP','kuivQ','mocha/lib/cli/cli.js','yargs','BROWSERSTACK_CONFIG_FILE_PATH','./playwright/command','getInstance','demandCommand','../helpers/logger','VrtDE','PLAYWRIGHT','Ycehn','UqTCn','NIGHTWATCH','ats','setBrowserStackAutomationDisable','CUCUMBER','yaduX','--no-opts','--config','argv','./nightwatch/command','MfNFE','framework','jKBvJ','./codeceptjs/command','SDKTestSuccessful','unlinkSync','2oBeIKv','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','../helpers/utilities','phafb','Parsing\x20command\x20line\x20arguments','mocha/lib/cli/run.js','parserConfiguration','config','kPHXI','pgaUh','dwrNT','--no-package','ogusU','HELP','../helpers/performance/performance-tester','rbltF','3549069SNRCUP','TNfAu','pJuHz','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','includes','FfoVM','1797388nFnOcK','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','jest','7QrnhXG','homedir','../helpers/test-observability/constants','fireFunnelTestEvent','./utils/constants','CODECEPTJS','654779vvJbHk','join','version','../../ats/src/index','mocha/lib/cli/commands.js','node','dot-notation','NJhxl','IAaER','setTestObservabilityDisable','MOCHA','121RkFqoM','VERSION','tMwZp','Running\x20SDK\x20with\x20args\x20','start','KbdSi','slice','INFO'];a45_0x2c47=function(){return _0x5c9cef;};return a45_0x2c47();}const a45_0x1d9e18=a45_0x3779;(function(_0x3e5083,_0x348c73){const _0x5291be=a45_0x3779,_0x1da303=_0x3e5083();while(!![]){try{const _0x5dfd18=parseInt(_0x5291be(0x1e9))/0x1*(parseInt(_0x5291be(0x1ca))/0x2)+-parseInt(_0x5291be(0x1da))/0x3+-parseInt(_0x5291be(0x1e0))/0x4*(parseInt(_0x5291be(0x19b))/0x5)+-parseInt(_0x5291be(0x206))/0x6*(parseInt(_0x5291be(0x1e3))/0x7)+-parseInt(_0x5291be(0x1a0))/0x8*(parseInt(_0x5291be(0x204))/0x9)+-parseInt(_0x5291be(0x209))/0xa*(parseInt(_0x5291be(0x1f4))/0xb)+parseInt(_0x5291be(0x1a1))/0xc;if(_0x5dfd18===_0x348c73)break;else _0x1da303['push'](_0x1da303['shift']());}catch(_0x6f7c11){_0x1da303['push'](_0x1da303['shift']());}}}(a45_0x2c47,0xe5b6b));const fs=require('fs'),path=require(a45_0x1d9e18(0x194)),util=require(a45_0x1d9e18(0x19e)),{requireModule}=require(a45_0x1d9e18(0x200)),PerformanceTester=require(a45_0x1d9e18(0x1d8)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require(a45_0x1d9e18(0x200)),utilities=require(a45_0x1d9e18(0x1cc)),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a45_0x1d9e18(0x1e5)),runIntegrations=require('./integrations/command'),yargs=require(a45_0x1d9e18(0x1b1)),Constants=require(a45_0x1d9e18(0x1e7)),BrowserstackCLI=require(a45_0x1d9e18(0x207)),logger=require(a45_0x1d9e18(0x1b6))[a45_0x1d9e18(0x18e)],origArgs=Object['assign']([],process[a45_0x1d9e18(0x1c2)]),captureError=async(_0x4ed181,_0x505a1b,_0x345313,_0x421b08=null)=>{const _0xbb78ea=a45_0x1d9e18,_0xa813bd={'LMtYf':function(_0x114901,_0x729163,_0x333437,_0x4b1ee1){return _0x114901(_0x729163,_0x333437,_0x4b1ee1);},'ogusU':_0xbb78ea(0x1c8)};try{logger['info'](_0xbb78ea(0x1f7)+origArgs[_0xbb78ea(0x1ea)]('\x20')),await _0xa813bd['LMtYf'](_0x4ed181,_0x505a1b,_0x421b08,_0x345313);}catch(_0x855722){process[_0xbb78ea(0x19c)]=0x1,logger[_0xbb78ea(0x1a9)](util[_0xbb78ea(0x1aa)](_0x855722));const _0x2b62fb={'globalException':util[_0xbb78ea(0x1aa)]('%j',_0x855722)};PerformanceTester[_0xbb78ea(0x1ac)](PerformanceEvents[_0xbb78ea(0x192)],![],util[_0xbb78ea(0x1aa)](_0x855722));if(helper['isUndefined'](global[_0xbb78ea(0x1d1)])&&helper[_0xbb78ea(0x195)](global[_0xbb78ea(0x1c5)]))return;try{utilities[_0xbb78ea(0x1e6)](_0xa813bd[_0xbb78ea(0x1d6)],_0x2b62fb,global[_0xbb78ea(0x1d1)],global['framework']);}catch(_0x369285){logger[_0xbb78ea(0x1fc)](_0xbb78ea(0x1cb)+_0x369285[_0xbb78ea(0x208)]);}try{await helper[_0xbb78ea(0x18c)](global[_0xbb78ea(0x1d1)]);}catch(_0x572976){logger[_0xbb78ea(0x1fc)](_0xbb78ea(0x1e1)+_0x572976[_0xbb78ea(0x208)]);}await BrowserstackCLI[_0xbb78ea(0x1b4)]()['stop'](),PerformanceTester[_0xbb78ea(0x1ac)](PerformanceEvents['SDK_SETUP'],![],util[_0xbb78ea(0x1aa)](_0x855722));}finally{PerformanceTester[_0xbb78ea(0x1f8)](PerformanceEvents[_0xbb78ea(0x1ae)]);}};try{const browserstackFolderPath=path['join'](helper[a45_0x1d9e18(0x1e4)](),a45_0x1d9e18(0x193));if(fs[a45_0x1d9e18(0x1ad)](browserstackFolderPath)){const filePath=path[a45_0x1d9e18(0x1ea)](browserstackFolderPath,'.local-not-set.json');fs[a45_0x1d9e18(0x1ad)](filePath)&&fs[a45_0x1d9e18(0x1c9)](filePath);}}catch(a45_0x171046){logger[a45_0x1d9e18(0x1fc)]('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a45_0x171046[a45_0x1d9e18(0x191)]);}process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x1ff))&&(!process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x196))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x1c0)),!process[a45_0x1d9e18(0x1c2)]['find'](_0x45c370=>_0x45c370[a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x1c1)))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x202)),!process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1de)](a45_0x1d9e18(0x19a))&&process[a45_0x1d9e18(0x1c2)][a45_0x1d9e18(0x1a5)](a45_0x1d9e18(0x1d5)),helper[a45_0x1d9e18(0x198)](process['argv'],'--require','--mochaRequire'));PerformanceTester[a45_0x1d9e18(0x1f8)](PerformanceEvents['SDK_SETUP']);const a45_0x5941fa={};function a45_0x3779(_0x175db8,_0x2ca8ff){const _0x2c47dd=a45_0x2c47();return a45_0x3779=function(_0x3779d2,_0x29ab31){_0x3779d2=_0x3779d2-0x188;let _0x234bb3=_0x2c47dd[_0x3779d2];return _0x234bb3;},a45_0x3779(_0x175db8,_0x2ca8ff);}a45_0x5941fa[a45_0x1d9e18(0x1ef)]=![];const argv=yargs[a45_0x1d9e18(0x1d0)](a45_0x5941fa)[a45_0x1d9e18(0x19d)]('usage:\x20$0\x20<command>\x20[args]')[a45_0x1d9e18(0x1fd)]('v',a45_0x1d9e18(0x1eb))[a45_0x1d9e18(0x201)]('v')[a45_0x1d9e18(0x1fd)]('h','help')[a45_0x1d9e18(0x1a6)](a45_0x1d9e18(0x1a6))[a45_0x1d9e18(0x199)](!![],Constants[a45_0x1d9e18(0x1f5)][a45_0x1d9e18(0x1d7)])['command'](a45_0x1d9e18(0x1e2),Constants['JEST']['INFO'],function(_0x3e1ab1){const _0x41625b=a45_0x1d9e18,_0x4c2551={'kPKNR':_0x41625b(0x1e2),'pFbzT':function(_0x2b1f57,_0x333bd0,_0x538d09,_0x214ec4,_0x59e10c){return _0x2b1f57(_0x333bd0,_0x538d09,_0x214ec4,_0x59e10c);},'rrAXq':function(_0x42d80b,_0x42179b){return _0x42d80b(_0x42179b);},'IAaER':'./jest/command'},_0x473dc7=process[_0x41625b(0x1c2)][_0x41625b(0x1fa)](0x2);helper[_0x41625b(0x1f2)](),helper[_0x41625b(0x1bd)]();const _0x4f42c3=new BrowserStackSetup(_0x3e1ab1[_0x41625b(0x1c2)],_0x4c2551['kPKNR']);return _0x4c2551[_0x41625b(0x1ab)](captureError,_0x4c2551['rrAXq'](require,_0x4c2551[_0x41625b(0x1f1)]),_0x3e1ab1[_0x41625b(0x1c2)],_0x4f42c3,_0x473dc7);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x1ff),Constants[a45_0x1d9e18(0x1f3)][a45_0x1d9e18(0x1fb)],_0x1491cc=>{const _0x5ec257=a45_0x1d9e18,_0x52d1e8={'OSykG':function(_0x54ef39,_0x2c28a0,_0x57632a,_0x30b3e4){return _0x54ef39(_0x2c28a0,_0x57632a,_0x30b3e4);},'dIjDk':function(_0x20ee55,_0x4e5b15){return _0x20ee55(_0x4e5b15);},'tMwZp':'./mocha/command','jKBvJ':'mocha','boJJi':_0x5ec257(0x1ce),'kuivQ':function(_0x241b78,_0x590ae0,_0x3741e1){return _0x241b78(_0x590ae0,_0x3741e1);},'dwrNT':_0x5ec257(0x1cf),'hYUCv':function(_0x3263c5,_0x58319f,_0x153303){return _0x3263c5(_0x58319f,_0x153303);},'KbdSi':_0x5ec257(0x1ed),'rbltF':function(_0x265544,_0x5580d7,_0x3a1efb){return _0x265544(_0x5580d7,_0x3a1efb);},'VrtDE':_0x5ec257(0x1b0),'OPmmA':function(_0x21b67f){return _0x21b67f();}};process[_0x5ec257(0x1c2)]=process[_0x5ec257(0x1c2)]['slice'](0x1),helper[_0x5ec257(0x1f2)](),helper['setBrowserStackAutomationDisable']();const _0x2148fa=new BrowserStackSetup(_0x1491cc[_0x5ec257(0x1c2)],_0x52d1e8[_0x5ec257(0x1c6)]);logger[_0x5ec257(0x1fc)](_0x52d1e8[_0x5ec257(0x1a8)]);const _0x3e8bfa=_0x52d1e8[_0x5ec257(0x1af)](requireModule,_0x52d1e8[_0x5ec257(0x1d4)],_0x52d1e8[_0x5ec257(0x1c6)]),_0x2b5747=_0x52d1e8['hYUCv'](requireModule,_0x52d1e8[_0x5ec257(0x1f9)],_0x52d1e8['jKBvJ']);delete _0x3e8bfa[_0x5ec257(0x190)],_0x3e8bfa['handler']=function(_0xafc9b8){const _0x19b0a1=_0x5ec257;return _0x52d1e8['OSykG'](captureError,_0x52d1e8['dIjDk'](require,_0x52d1e8[_0x19b0a1(0x1f6)]),_0xafc9b8,_0x2148fa);},_0x2b5747['run']=_0x3e8bfa;const {main:_0x30f09c}=_0x52d1e8[_0x5ec257(0x1d9)](requireModule,_0x52d1e8[_0x5ec257(0x1b7)],_0x52d1e8[_0x5ec257(0x1c6)]);_0x52d1e8[_0x5ec257(0x18b)](_0x30f09c);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x188),Constants[a45_0x1d9e18(0x1be)][a45_0x1d9e18(0x1fb)],function(_0x1f69a7){const _0x2ac1f1=a45_0x1d9e18,_0x4c030b={'iVvlx':_0x2ac1f1(0x188),'FfoVM':function(_0x574be9,_0x963bc4,_0x51f07b,_0x55bd98,_0x3c77be){return _0x574be9(_0x963bc4,_0x51f07b,_0x55bd98,_0x3c77be);},'NJhxl':function(_0x3581ec,_0x26da47){return _0x3581ec(_0x26da47);},'MinCf':_0x2ac1f1(0x1a4)},_0x2b0a15=process[_0x2ac1f1(0x1c2)]['slice'](0x2),_0x104cd3=new BrowserStackSetup(_0x1f69a7[_0x2ac1f1(0x1c2)],_0x4c030b['iVvlx']);return _0x4c030b[_0x2ac1f1(0x1df)](captureError,_0x4c030b[_0x2ac1f1(0x1f0)](require,_0x4c030b[_0x2ac1f1(0x1a3)]),_0x1f69a7[_0x2ac1f1(0x1c2)],_0x104cd3,_0x2b0a15);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x1ee),Constants['VANILLA'][a45_0x1d9e18(0x1fb)],function(_0x463f01){const _0x4488bf=a45_0x1d9e18,_0x3df047={'ibdXp':_0x4488bf(0x189),'yaduX':function(_0x390ed2,_0x4dcbe8,_0x208199,_0x5d23d9,_0x515cf8){return _0x390ed2(_0x4dcbe8,_0x208199,_0x5d23d9,_0x515cf8);},'ohUUz':function(_0x536d2d,_0x59ab25){return _0x536d2d(_0x59ab25);},'phafb':_0x4488bf(0x203)},_0x5d314f=process[_0x4488bf(0x1c2)][_0x4488bf(0x1fa)](0x2),_0x4ec868=new BrowserStackSetup(_0x463f01[_0x4488bf(0x1c2)],_0x3df047[_0x4488bf(0x19f)]);return _0x3df047[_0x4488bf(0x1bf)](captureError,_0x3df047['ohUUz'](require,_0x3df047[_0x4488bf(0x1cd)]),_0x463f01[_0x4488bf(0x1c2)],_0x4ec868,_0x5d314f);})[a45_0x1d9e18(0x197)]('nightwatch',Constants[a45_0x1d9e18(0x1bb)][a45_0x1d9e18(0x1fb)],function(_0x637cdf){const _0x10ef8f=a45_0x1d9e18,_0x3edb5e={'uNRzM':function(_0x37529e,_0x481567,_0x53abc3,_0x4e2aab,_0x27ce19){return _0x37529e(_0x481567,_0x53abc3,_0x4e2aab,_0x27ce19);},'pgaUh':function(_0x58d5fd,_0x3704b5){return _0x58d5fd(_0x3704b5);},'EnDEF':_0x10ef8f(0x1c3)},_0x33cc1c=process[_0x10ef8f(0x1c2)][_0x10ef8f(0x1fa)](0x2),_0x29e795=new BrowserStackSetup(_0x637cdf['argv']);return _0x3edb5e[_0x10ef8f(0x205)](captureError,_0x3edb5e[_0x10ef8f(0x1d3)](require,_0x3edb5e[_0x10ef8f(0x1a2)]),_0x637cdf[_0x10ef8f(0x1c2)],_0x29e795,_0x33cc1c);})[a45_0x1d9e18(0x197)](a45_0x1d9e18(0x18a),Constants[a45_0x1d9e18(0x1e8)][a45_0x1d9e18(0x1fb)],function(_0x4c1a5d){const _0x477c21=a45_0x1d9e18,_0x36e1c5={'uqwZD':_0x477c21(0x18a),'TNfAu':function(_0x579d94,_0x295549,_0x182da4,_0x351936,_0x3af26c){return _0x579d94(_0x295549,_0x182da4,_0x351936,_0x3af26c);},'kPHXI':function(_0x54d075,_0x49729b){return _0x54d075(_0x49729b);},'hzQQu':_0x477c21(0x1c7)},_0x100047=process[_0x477c21(0x1c2)][_0x477c21(0x1fa)](0x2),_0x265afc=new BrowserStackSetup(_0x4c1a5d[_0x477c21(0x1c2)],_0x36e1c5['uqwZD']);return _0x36e1c5[_0x477c21(0x1db)](captureError,_0x36e1c5[_0x477c21(0x1d2)](require,_0x36e1c5[_0x477c21(0x1fe)]),_0x4c1a5d[_0x477c21(0x1c2)],_0x265afc,_0x100047);})['command']('ats',Constants['HST'][a45_0x1d9e18(0x1fb)],function(_0x426d50){const _0x1eb0a2=a45_0x1d9e18,_0x236574={'wOXOE':function(_0x27d49c,_0x5af3c9,_0x278397){return _0x27d49c(_0x5af3c9,_0x278397);},'pJuHz':function(_0x293553,_0x17226f){return _0x293553(_0x17226f);},'MfNFE':_0x1eb0a2(0x1ec)},_0x4fcbf3=process['argv'][_0x1eb0a2(0x1fa)](0x2);return _0x236574['wOXOE'](captureError,_0x236574[_0x1eb0a2(0x1dc)](require,_0x236574[_0x1eb0a2(0x1c4)]),_0x426d50);})[a45_0x1d9e18(0x197)]('integrations',Constants['INTEGRATIONS'][a45_0x1d9e18(0x1fb)],function(_0x1f6ed5){const _0x30b80b=a45_0x1d9e18,_0x65c4f8={'Ycehn':function(_0x5a9839,_0x2e7613){return _0x5a9839(_0x2e7613);}};return _0x65c4f8[_0x30b80b(0x1b9)](runIntegrations,_0x1f6ed5);})['command'](a45_0x1d9e18(0x18d),Constants[a45_0x1d9e18(0x1b8)]['INFO'],function(_0x2a1d79){const _0x2b0fe4=a45_0x1d9e18,_0x2c3e24={'wUJxI':function(_0x47d510,_0x4acd7e,_0x28e496,_0x388a5a,_0x59d1f8){return _0x47d510(_0x4acd7e,_0x28e496,_0x388a5a,_0x59d1f8);},'VTVwk':function(_0x450b82,_0x3ef576){return _0x450b82(_0x3ef576);},'UqTCn':_0x2b0fe4(0x1b3)},_0x5848fa=process[_0x2b0fe4(0x1c2)][_0x2b0fe4(0x1fa)](0x2);helper['getConfigPath'](process[_0x2b0fe4(0x1c2)])&&(process['env'][_0x2b0fe4(0x1b2)]=helper['getConfigPath'](process[_0x2b0fe4(0x1c2)]));helper[_0x2b0fe4(0x1f2)](),helper['setBrowserStackAutomationDisable']();const _0x2e4eb9=new BrowserStackSetup(_0x2a1d79[_0x2b0fe4(0x1c2)],FRAMEWORKS[_0x2b0fe4(0x1b8)]);return _0x2c3e24[_0x2b0fe4(0x1a7)](captureError,_0x2c3e24[_0x2b0fe4(0x18f)](require,_0x2c3e24[_0x2b0fe4(0x1ba)]),_0x2a1d79['argv'],_0x2e4eb9,_0x5848fa);})[a45_0x1d9e18(0x1b5)](0x1,a45_0x1d9e18(0x1dd))['wrap'](null)[a45_0x1d9e18(0x1c2)];!helper[a45_0x1d9e18(0x195)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a45_0x1d9e18(0x1bc)&&console[a45_0x1d9e18(0x1a9)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
2
|
+
'use strict';const a45_0x1c68f9=a45_0x30be;(function(_0x5f3bbd,_0x64e41b){const _0x48fb7a=a45_0x30be,_0x18c1e6=_0x5f3bbd();while(!![]){try{const _0x51830e=-parseInt(_0x48fb7a(0x1cd))/0x1*(-parseInt(_0x48fb7a(0x1d9))/0x2)+parseInt(_0x48fb7a(0x1c9))/0x3*(parseInt(_0x48fb7a(0x216))/0x4)+-parseInt(_0x48fb7a(0x1ba))/0x5*(parseInt(_0x48fb7a(0x229))/0x6)+parseInt(_0x48fb7a(0x22a))/0x7+parseInt(_0x48fb7a(0x20a))/0x8*(parseInt(_0x48fb7a(0x1cf))/0x9)+parseInt(_0x48fb7a(0x1ac))/0xa*(-parseInt(_0x48fb7a(0x1bc))/0xb)+-parseInt(_0x48fb7a(0x1e9))/0xc;if(_0x51830e===_0x64e41b)break;else _0x18c1e6['push'](_0x18c1e6['shift']());}catch(_0x2f2b84){_0x18c1e6['push'](_0x18c1e6['shift']());}}}(a45_0x2f8d,0xbccb1));function a45_0x2f8d(){const _0x5e90d8=['805rSRIaG','oABTG','1081782MVvTnc','exitCode','mocha/lib/cli/run.js','GlsHE','VERSION','JBJCf','./playwright/command','../helpers/logger','ESgJo','includes','206CsZWov','isUndefined','getConfigPath','--require','run','JRCDh','slice','winstonLogger','--config','integrations','--no-opts','mocha','PoJQO','playwright','start','nightwatch','803988msbMaz','version','yIsUT','jest','./nightwatch/command','Wkoka','usage:\x20$0\x20<command>\x20[args]','assign','--package','Running\x20SDK\x20with\x20args\x20','.local-not-set.json','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','argv','MOCHA','../helpers/performance/performance-tester','lawlv','haFxx','NIGHTWATCH','../helpers/utilities','existsSync','HELP','Parsing\x20command\x20line\x20arguments','./v2/browserstackCLI','BZaTA','CODECEPTJS','SDK_SETUP','unlinkSync','OwdaL','setTestObservabilityDisable','findAndReplace','./utils/constants','handler','framework','8mtsuTG','node','getInstance','mdKFt','stack','JEST','parserConfiguration','./vanilla-js/command','SDK_CLEANUP','showHelpOnFail','wMkKu','sWeEm','200NSvnzk','help','ppaIU','../../ats/src/index','ats','message','--opts','command','XKhum','config','WIhoR','push','homedir','mocha/lib/cli/commands.js','INFO','stop','fuqKs','FWfqt','UbNiF','6nawAnm','1956164iUnCxl','pNhcO','usage','error','vanilla','./cucumber-js/command','setBrowserStackAutomationDisable','cucumber-js','qWHOJ','10XWYqNx','debug','BCVFW','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','util','INTEGRATIONS','HST','uSTHy','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','SMoJV','./jest/command','wGKqA','join','format','237515CjAkvx','PLAYWRIGHT','1848176QmDrZU','codeceptjs','../helpers/test-observability/constants','alias','../helpers/BrowserStackSetup','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','VUJHj','./codeceptjs/command','MOUwa','VANILLA','SDKTestSuccessful','end','qQyue','34395iFJCTZ','.browserstack','CUCUMBER','pnOtz'];a45_0x2f8d=function(){return _0x5e90d8;};return a45_0x2f8d();}const fs=require('fs'),path=require('path'),util=require(a45_0x1c68f9(0x1b0)),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a45_0x1c68f9(0x1f7)),PerformanceEvents=require('../helpers/performance/constants')['EVENTS'],helper=require('../helpers/helper'),utilities=require(a45_0x1c68f9(0x1fb)),{default:BrowserStackSetup}=require(a45_0x1c68f9(0x1c0)),{FRAMEWORKS}=require(a45_0x1c68f9(0x1be)),runIntegrations=require('./integrations/command'),yargs=require('yargs'),Constants=require(a45_0x1c68f9(0x207)),BrowserstackCLI=require(a45_0x1c68f9(0x1ff)),logger=require(a45_0x1c68f9(0x1d6))[a45_0x1c68f9(0x1e0)],origArgs=Object[a45_0x1c68f9(0x1f0)]([],process[a45_0x1c68f9(0x1f5)]),captureError=async(_0xb32cff,_0x1b558d,_0xcb1a75,_0x10ca95=null)=>{const _0x2a959c=a45_0x1c68f9,_0x4a6afa={'LZNmf':function(_0x10263a,_0x150bd2,_0x1eed71,_0x48fda9){return _0x10263a(_0x150bd2,_0x1eed71,_0x48fda9);},'VUJHj':_0x2a959c(0x1c6)};try{logger['info'](_0x2a959c(0x1f2)+origArgs[_0x2a959c(0x1b8)]('\x20')),await _0x4a6afa['LZNmf'](_0xb32cff,_0x1b558d,_0x10ca95,_0xcb1a75);}catch(_0x5a9649){process[_0x2a959c(0x1d0)]=0x1,logger[_0x2a959c(0x1a6)](util[_0x2a959c(0x1b9)](_0x5a9649));const _0x2feed7={'globalException':util[_0x2a959c(0x1b9)]('%j',_0x5a9649)};PerformanceTester[_0x2a959c(0x1c7)](PerformanceEvents[_0x2a959c(0x202)],![],util[_0x2a959c(0x1b9)](_0x5a9649));if(helper[_0x2a959c(0x1da)](global[_0x2a959c(0x21f)])&&helper[_0x2a959c(0x1da)](global[_0x2a959c(0x209)]))return;try{utilities['fireFunnelTestEvent'](_0x4a6afa[_0x2a959c(0x1c2)],_0x2feed7,global[_0x2a959c(0x21f)],global[_0x2a959c(0x209)]);}catch(_0x394267){logger[_0x2a959c(0x1ad)](_0x2a959c(0x1f4)+_0x394267['stack']);}try{await helper['sendLogs'](global[_0x2a959c(0x21f)]);}catch(_0x262954){logger['debug'](_0x2a959c(0x1af)+_0x262954[_0x2a959c(0x20e)]);}await BrowserstackCLI[_0x2a959c(0x20c)]()[_0x2a959c(0x225)](),PerformanceTester[_0x2a959c(0x1c7)](PerformanceEvents['SDK_SETUP'],![],util[_0x2a959c(0x1b9)](_0x5a9649));}finally{PerformanceTester[_0x2a959c(0x1e7)](PerformanceEvents[_0x2a959c(0x212)]);}};try{const browserstackFolderPath=path[a45_0x1c68f9(0x1b8)](helper[a45_0x1c68f9(0x222)](),a45_0x1c68f9(0x1ca));if(fs['existsSync'](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a45_0x1c68f9(0x1f3));fs[a45_0x1c68f9(0x1fc)](filePath)&&fs[a45_0x1c68f9(0x203)](filePath);}}catch(a45_0x486600){logger[a45_0x1c68f9(0x1ad)](a45_0x1c68f9(0x1c1)+a45_0x486600[a45_0x1c68f9(0x21b)]);}process[a45_0x1c68f9(0x1f5)][a45_0x1c68f9(0x1d8)]('mocha')&&(!process[a45_0x1c68f9(0x1f5)][a45_0x1c68f9(0x1d8)](a45_0x1c68f9(0x21c))&&process[a45_0x1c68f9(0x1f5)][a45_0x1c68f9(0x221)](a45_0x1c68f9(0x1e3)),!process[a45_0x1c68f9(0x1f5)]['find'](_0xf36672=>_0xf36672[a45_0x1c68f9(0x1d8)](a45_0x1c68f9(0x1e1)))&&process[a45_0x1c68f9(0x1f5)][a45_0x1c68f9(0x221)]('--no-config'),!process['argv'][a45_0x1c68f9(0x1d8)](a45_0x1c68f9(0x1f1))&&process[a45_0x1c68f9(0x1f5)][a45_0x1c68f9(0x221)]('--no-package'),helper[a45_0x1c68f9(0x206)](process[a45_0x1c68f9(0x1f5)],a45_0x1c68f9(0x1dc),'--mochaRequire'));PerformanceTester['start'](PerformanceEvents[a45_0x1c68f9(0x202)]);function a45_0x30be(_0x10d8d6,_0x102bbf){const _0x2f8df2=a45_0x2f8d();return a45_0x30be=function(_0x30be4b,_0x39518c){_0x30be4b=_0x30be4b-0x1a6;let _0x54a12a=_0x2f8df2[_0x30be4b];return _0x54a12a;},a45_0x30be(_0x10d8d6,_0x102bbf);}const a45_0x321632={};a45_0x321632['dot-notation']=![];const argv=yargs[a45_0x1c68f9(0x210)](a45_0x321632)[a45_0x1c68f9(0x22c)](a45_0x1c68f9(0x1ef))[a45_0x1c68f9(0x1bf)]('v',a45_0x1c68f9(0x1ea))['describe']('v')[a45_0x1c68f9(0x1bf)]('h',a45_0x1c68f9(0x217))[a45_0x1c68f9(0x217)]('help')[a45_0x1c68f9(0x213)](!![],Constants[a45_0x1c68f9(0x1d3)][a45_0x1c68f9(0x1fd)])[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x1ec),Constants[a45_0x1c68f9(0x20f)]['INFO'],function(_0x52361f){const _0x3161d5=a45_0x1c68f9,_0x4d37c0={'SMoJV':_0x3161d5(0x1ec),'ALxBZ':function(_0x62a4df,_0x56e88e,_0x4ad86d,_0x20a42b,_0x20b0d2){return _0x62a4df(_0x56e88e,_0x4ad86d,_0x20a42b,_0x20b0d2);},'Tqqzf':function(_0x391004,_0x24f6ef){return _0x391004(_0x24f6ef);},'mdKFt':_0x3161d5(0x1b6)},_0xd585bd=process[_0x3161d5(0x1f5)][_0x3161d5(0x1df)](0x2);helper[_0x3161d5(0x205)](),helper[_0x3161d5(0x1a9)]();const _0x530388=new BrowserStackSetup(_0x52361f[_0x3161d5(0x1f5)],_0x4d37c0[_0x3161d5(0x1b5)]);return _0x4d37c0['ALxBZ'](captureError,_0x4d37c0['Tqqzf'](require,_0x4d37c0[_0x3161d5(0x20d)]),_0x52361f[_0x3161d5(0x1f5)],_0x530388,_0xd585bd);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x1e4),Constants[a45_0x1c68f9(0x1f6)][a45_0x1c68f9(0x224)],_0x237c1d=>{const _0x188799=a45_0x1c68f9,_0x3124bb={'ppaIU':function(_0x57cfbb,_0x4b8176,_0x3fc91b,_0x355b48){return _0x57cfbb(_0x4b8176,_0x3fc91b,_0x355b48);},'ESgJo':function(_0x16588c,_0x5183e7){return _0x16588c(_0x5183e7);},'GlsHE':'./mocha/command','wMkKu':'mocha','BZaTA':_0x188799(0x1fe),'fuqKs':function(_0x53244e,_0x11d654,_0x5c56de){return _0x53244e(_0x11d654,_0x5c56de);},'MOUwa':_0x188799(0x1d1),'XKhum':function(_0x17cfcd,_0x32a33e,_0x10abff){return _0x17cfcd(_0x32a33e,_0x10abff);},'FWfqt':_0x188799(0x223),'haFxx':function(_0xafc86e,_0x410124,_0x55ad23){return _0xafc86e(_0x410124,_0x55ad23);},'pnOtz':'mocha/lib/cli/cli.js','UbNiF':function(_0x3d4777){return _0x3d4777();}};process[_0x188799(0x1f5)]=process[_0x188799(0x1f5)][_0x188799(0x1df)](0x1),helper[_0x188799(0x205)](),helper[_0x188799(0x1a9)]();const _0x3440f4=new BrowserStackSetup(_0x237c1d['argv'],_0x3124bb[_0x188799(0x214)]);logger['debug'](_0x3124bb[_0x188799(0x200)]);const _0x4e1cfa=_0x3124bb[_0x188799(0x226)](requireModule,_0x3124bb[_0x188799(0x1c4)],_0x3124bb[_0x188799(0x214)]),_0x44b1c2=_0x3124bb[_0x188799(0x21e)](requireModule,_0x3124bb[_0x188799(0x227)],_0x3124bb[_0x188799(0x214)]);delete _0x4e1cfa['handler'],_0x4e1cfa[_0x188799(0x208)]=function(_0x3fb031){const _0x51e579=_0x188799;return _0x3124bb[_0x51e579(0x218)](captureError,_0x3124bb[_0x51e579(0x1d7)](require,_0x3124bb[_0x51e579(0x1d2)]),_0x3fb031,_0x3440f4);},_0x44b1c2[_0x188799(0x1dd)]=_0x4e1cfa;const {main:_0x508584}=_0x3124bb[_0x188799(0x1f9)](requireModule,_0x3124bb[_0x188799(0x1cc)],_0x3124bb['wMkKu']);_0x3124bb[_0x188799(0x228)](_0x508584);})['command']('cucumber-js',Constants[a45_0x1c68f9(0x1cb)][a45_0x1c68f9(0x224)],function(_0x31a896){const _0x512157=a45_0x1c68f9,_0x121e22={'lawlv':_0x512157(0x1aa),'qWHOJ':function(_0x5b7680,_0x3caa31,_0x257420,_0x38e46c,_0x44e942){return _0x5b7680(_0x3caa31,_0x257420,_0x38e46c,_0x44e942);},'EvwCE':function(_0x34d253,_0xc8e411){return _0x34d253(_0xc8e411);},'yIsUT':_0x512157(0x1a8)},_0x457615=process[_0x512157(0x1f5)]['slice'](0x2),_0x942da5=new BrowserStackSetup(_0x31a896[_0x512157(0x1f5)],_0x121e22[_0x512157(0x1f8)]);return _0x121e22[_0x512157(0x1ab)](captureError,_0x121e22['EvwCE'](require,_0x121e22[_0x512157(0x1eb)]),_0x31a896['argv'],_0x942da5,_0x457615);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x20b),Constants[a45_0x1c68f9(0x1c5)][a45_0x1c68f9(0x224)],function(_0x3e34df){const _0x3b137f=a45_0x1c68f9,_0x10c494={'dpFMT':_0x3b137f(0x1a7),'BCVFW':function(_0x11d317,_0x5cf960,_0x55f684,_0x353fb1,_0x5ceb0e){return _0x11d317(_0x5cf960,_0x55f684,_0x353fb1,_0x5ceb0e);},'qQyue':function(_0x37bfad,_0x3ffbe1){return _0x37bfad(_0x3ffbe1);},'PoJQO':_0x3b137f(0x211)},_0x33a932=process[_0x3b137f(0x1f5)][_0x3b137f(0x1df)](0x2),_0x1e09ee=new BrowserStackSetup(_0x3e34df[_0x3b137f(0x1f5)],_0x10c494['dpFMT']);return _0x10c494[_0x3b137f(0x1ae)](captureError,_0x10c494[_0x3b137f(0x1c8)](require,_0x10c494[_0x3b137f(0x1e5)]),_0x3e34df[_0x3b137f(0x1f5)],_0x1e09ee,_0x33a932);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x1e8),Constants[a45_0x1c68f9(0x1fa)][a45_0x1c68f9(0x224)],function(_0x4041aa){const _0x46d520=a45_0x1c68f9,_0x49f6aa={'wGKqA':function(_0x417dc9,_0x487ce0,_0x2add85,_0x1d4c92,_0x5f18e9){return _0x417dc9(_0x487ce0,_0x2add85,_0x1d4c92,_0x5f18e9);},'OpuZT':function(_0x50cd28,_0x1d8919){return _0x50cd28(_0x1d8919);},'OwdaL':_0x46d520(0x1ed)},_0x5e2e13=process[_0x46d520(0x1f5)][_0x46d520(0x1df)](0x2),_0x538d33=new BrowserStackSetup(_0x4041aa[_0x46d520(0x1f5)]);return _0x49f6aa[_0x46d520(0x1b7)](captureError,_0x49f6aa['OpuZT'](require,_0x49f6aa[_0x46d520(0x204)]),_0x4041aa[_0x46d520(0x1f5)],_0x538d33,_0x5e2e13);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x1bd),Constants[a45_0x1c68f9(0x201)][a45_0x1c68f9(0x224)],function(_0x18659f){const _0x271dce=a45_0x1c68f9,_0x109209={'oABTG':_0x271dce(0x1bd),'uSTHy':function(_0x5392d3,_0x17bae7,_0x3d03ce,_0x2d4888,_0xf7b63c){return _0x5392d3(_0x17bae7,_0x3d03ce,_0x2d4888,_0xf7b63c);},'xznnt':function(_0x134580,_0x45e91f){return _0x134580(_0x45e91f);},'jIFwZ':_0x271dce(0x1c3)},_0x57e198=process[_0x271dce(0x1f5)][_0x271dce(0x1df)](0x2),_0x34e148=new BrowserStackSetup(_0x18659f['argv'],_0x109209[_0x271dce(0x1ce)]);return _0x109209[_0x271dce(0x1b3)](captureError,_0x109209['xznnt'](require,_0x109209['jIFwZ']),_0x18659f[_0x271dce(0x1f5)],_0x34e148,_0x57e198);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x21a),Constants[a45_0x1c68f9(0x1b2)]['INFO'],function(_0x5ab3e5){const _0x2054fc=a45_0x1c68f9,_0x49e775={'sWeEm':function(_0x2e1a46,_0x921640,_0x42466b){return _0x2e1a46(_0x921640,_0x42466b);},'JRCDh':function(_0x2987ff,_0x8a1ca7){return _0x2987ff(_0x8a1ca7);},'WIhoR':_0x2054fc(0x219)},_0x4cdae6=process[_0x2054fc(0x1f5)][_0x2054fc(0x1df)](0x2);return _0x49e775[_0x2054fc(0x215)](captureError,_0x49e775[_0x2054fc(0x1de)](require,_0x49e775[_0x2054fc(0x220)]),_0x5ab3e5);})[a45_0x1c68f9(0x21d)](a45_0x1c68f9(0x1e2),Constants[a45_0x1c68f9(0x1b1)][a45_0x1c68f9(0x224)],function(_0x1a9d98){const _0x496ec7=a45_0x1c68f9,_0x3d46a1={'Wkoka':function(_0x360fba,_0x4ae101){return _0x360fba(_0x4ae101);}};return _0x3d46a1[_0x496ec7(0x1ee)](runIntegrations,_0x1a9d98);})['command'](a45_0x1c68f9(0x1e6),Constants[a45_0x1c68f9(0x1bb)][a45_0x1c68f9(0x224)],function(_0x9a3ead){const _0x1fb88d=a45_0x1c68f9,_0x427ea7={'JBJCf':function(_0x3d34fe,_0x4d11a3,_0x4a9311,_0x35a816,_0x5ee065){return _0x3d34fe(_0x4d11a3,_0x4a9311,_0x35a816,_0x5ee065);},'KCcfh':function(_0x425fd6,_0x49e438){return _0x425fd6(_0x49e438);},'pNhcO':_0x1fb88d(0x1d5)},_0x505da7=process[_0x1fb88d(0x1f5)][_0x1fb88d(0x1df)](0x2);helper[_0x1fb88d(0x1db)](process[_0x1fb88d(0x1f5)])&&(process['env']['BROWSERSTACK_CONFIG_FILE_PATH']=helper[_0x1fb88d(0x1db)](process[_0x1fb88d(0x1f5)]));helper[_0x1fb88d(0x205)](),helper[_0x1fb88d(0x1a9)]();const _0x2dda13=new BrowserStackSetup(_0x9a3ead[_0x1fb88d(0x1f5)],FRAMEWORKS['PLAYWRIGHT']);return _0x427ea7[_0x1fb88d(0x1d4)](captureError,_0x427ea7['KCcfh'](require,_0x427ea7[_0x1fb88d(0x22b)]),_0x9a3ead[_0x1fb88d(0x1f5)],_0x2dda13,_0x505da7);})['demandCommand'](0x1,'You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.')['wrap'](null)[a45_0x1c68f9(0x1f5)];!helper[a45_0x1c68f9(0x1da)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a45_0x1c68f9(0x21a)&&console['error'](a45_0x1c68f9(0x1b4));
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a46_0x3f9965=a46_0x4f34;function a46_0x444f(){const _0x156f58=['2206784DeJMeM','node','browserstack-node-sdk','/browserstack.yml','replace','error','YOUR_ACCESS_KEY','FJIVh','2919pChDsN','length','js-yaml','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','/../../browserstack.yml.sample','../helpers/helper','browserstack-node-sdk\x20','bHxKo','source','jGUUB','Setup\x20completed','info','writeFileSync','jest','/../../browserstack.pw.yml.sample','splice','winstonLogger','24voZpHZ','isUndefined','4291861JXNEkV','/package.json','cucumber-js','key','Creating\x20configuration\x20file...','includes','../helpers/utilities','NKriA','24QlhTLy','mHTbc','xjZWG','entries','debug','parse','stringify','fireFunnelTestEvent','node-setup','split','PoJnq','argv','push','881695mrJZWj','hlGvr','YOUR_USERNAME','playwright','rkFgf','ObJbY','170MaeXIY','LTadb','JZgrL','indexOf','RFFqH','Adding\x20new\x20script(s)\x20in\x20package.json...','698328SfpAYs','RWvzU','KYXbE','utf8','2682620vjezur','MaEaO','864477zfRxDE','cwd','yargs','codeceptjs','npm\x20update\x20browserstack-node-sdk','mocha','XASEt','scripts','readFileSync','postinstall'];a46_0x444f=function(){return _0x156f58;};return a46_0x444f();}(function(_0x586ab8,_0x20d260){const _0x189974=a46_0x4f34,_0x117c4f=_0x586ab8();while(!![]){try{const _0x5c61ac=parseInt(_0x189974(0x22a))/0x1*(-parseInt(_0x189974(0x1f9))/0x2)+-parseInt(_0x189974(0x212))/0x3+parseInt(_0x189974(0x216))/0x4+parseInt(_0x189974(0x206))/0x5*(parseInt(_0x189974(0x1ef))/0x6)+parseInt(_0x189974(0x1f1))/0x7+parseInt(_0x189974(0x222))/0x8+-parseInt(_0x189974(0x218))/0x9*(parseInt(_0x189974(0x20c))/0xa);if(_0x5c61ac===_0x20d260)break;else _0x117c4f['push'](_0x117c4f['shift']());}catch(_0x43459d){_0x117c4f['push'](_0x117c4f['shift']());}}}(a46_0x444f,0x58ef5));const fs=require('fs'),helper=require(a46_0x3f9965(0x22f)),utilities=require(a46_0x3f9965(0x1f7)),yaml=require(a46_0x3f9965(0x22c)),yargs=require(a46_0x3f9965(0x21a)),logger=require('../helpers/logger')[a46_0x3f9965(0x23a)],configFileTemplate=__dirname+a46_0x3f9965(0x22e),configFileTemplatePW=__dirname+a46_0x3f9965(0x238),configFile=process[a46_0x3f9965(0x219)]()+a46_0x3f9965(0x225),packageFile=process[a46_0x3f9965(0x219)]()+a46_0x3f9965(0x1f2),frameworks=[a46_0x3f9965(0x21d),a46_0x3f9965(0x237),a46_0x3f9965(0x1f3),a46_0x3f9965(0x223),'nightwatch',a46_0x3f9965(0x21b),a46_0x3f9965(0x209)];let config;logger[a46_0x3f9965(0x235)](a46_0x3f9965(0x1f5)),createConfigurationFile(yargs[a46_0x3f9965(0x204)]['username'],yargs[a46_0x3f9965(0x204)][a46_0x3f9965(0x1f4)],yargs['argv']['playwright']);try{sdkSetup();}catch(a46_0x44a7e7){logger[a46_0x3f9965(0x1fd)](a46_0x3f9965(0x22d)+a46_0x44a7e7);}addScriptInPackageJson();function createConfigurationFile(_0x4257c0,_0x40eb1f,_0x408f94=![]){const _0x1ce5bc=a46_0x3f9965,_0x13931b={};_0x13931b[_0x1ce5bc(0x21e)]=_0x1ce5bc(0x215),_0x13931b[_0x1ce5bc(0x20a)]=_0x1ce5bc(0x208),_0x13931b[_0x1ce5bc(0x210)]=_0x1ce5bc(0x228);const _0x29d6e1=_0x13931b;try{let _0x57e817=fs[_0x1ce5bc(0x220)](_0x408f94?configFileTemplatePW:configFileTemplate,_0x29d6e1[_0x1ce5bc(0x21e)]);_0x4257c0&&(_0x57e817=_0x57e817[_0x1ce5bc(0x226)](_0x29d6e1[_0x1ce5bc(0x20a)],_0x4257c0)),_0x40eb1f&&(_0x57e817=_0x57e817[_0x1ce5bc(0x226)](_0x29d6e1['RFFqH'],_0x40eb1f)),config=yaml['load'](_0x57e817),fs[_0x1ce5bc(0x236)](configFile,_0x57e817,_0x8a78a5=>{const _0x3ed77d=_0x1ce5bc;_0x8a78a5&&logger[_0x3ed77d(0x227)](_0x8a78a5);});}catch(_0x1bfa8d){logger[_0x1ce5bc(0x227)](_0x1bfa8d);}}function addPostInstallScript(_0x598965,_0x2976ce){const _0x3ec449=a46_0x3f9965,_0x5ca826={};_0x5ca826['ObJbY']=_0x3ec449(0x221),_0x5ca826[_0x3ec449(0x1fa)]=_0x3ec449(0x21c),_0x5ca826[_0x3ec449(0x217)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x41e94a=_0x5ca826;let _0x36026c=_0x598965[_0x41e94a[_0x3ec449(0x20b)]];if(_0x36026c&&_0x36026c[_0x3ec449(0x1f6)](_0x41e94a[_0x3ec449(0x1fa)]))return;!_0x36026c?_0x36026c=_0x41e94a['mHTbc']:_0x36026c+=_0x41e94a[_0x3ec449(0x217)],_0x2976ce[_0x3ec449(0x205)]([_0x41e94a[_0x3ec449(0x20b)],_0x36026c]);}function addScriptInPackageJson(){const _0x28035a=a46_0x3f9965,_0x49f697={'HBBVs':_0x28035a(0x215),'LTadb':function(_0x303bf3,_0x3dde5e){return _0x303bf3<_0x3dde5e;},'hlGvr':function(_0x2eea95,_0x221204,_0xb56f88){return _0x2eea95(_0x221204,_0xb56f88);},'NKriA':function(_0x456444,_0xeefa68){return _0x456444<_0xeefa68;},'KYXbE':function(_0x226c0c,_0x3350c7,_0x570995){return _0x226c0c(_0x3350c7,_0x570995);},'HpIwq':function(_0xc93491,_0x17c53a){return _0xc93491!==_0x17c53a;},'RWvzU':_0x28035a(0x211)},_0x11e73e=JSON[_0x28035a(0x1fe)](fs[_0x28035a(0x220)](packageFile,_0x49f697['HBBVs'])),_0x202bb1=[];for(let _0xe9a9ad=0x0;_0x49f697[_0x28035a(0x20d)](_0xe9a9ad,frameworks['length']);_0xe9a9ad+=0x1){const _0x10de8a=_0x49f697[_0x28035a(0x207)](findScriptsWithFramework,_0x11e73e['scripts'],frameworks[_0xe9a9ad]);for(let _0x118ab6=0x0;_0x49f697[_0x28035a(0x1f8)](_0x118ab6,_0x10de8a[_0x28035a(0x22b)]);_0x118ab6+=0x1){_0x202bb1['push'](_0x49f697[_0x28035a(0x207)](getUpdatedCommand,_0x11e73e[_0x28035a(0x21f)],_0x10de8a[_0x118ab6]));}_0x49f697[_0x28035a(0x214)](addPostInstallScript,_0x11e73e['scripts'],_0x202bb1);}const _0x409de9={..._0x11e73e[_0x28035a(0x21f)]},_0xcc544=_0x409de9;for(let _0x330eb8=0x0;_0x49f697[_0x28035a(0x1f8)](_0x330eb8,_0x202bb1['length']);_0x330eb8+=0x1){_0xcc544[_0x202bb1[_0x330eb8][0x0]]=_0x202bb1[_0x330eb8][0x1];}_0x49f697['HpIwq'](JSON[_0x28035a(0x1ff)](_0x11e73e[_0x28035a(0x21f)]),JSON['stringify'](_0xcc544))&&(logger[_0x28035a(0x235)](_0x49f697[_0x28035a(0x213)]),_0x11e73e[_0x28035a(0x21f)]=_0xcc544,fs[_0x28035a(0x236)](packageFile,JSON[_0x28035a(0x1ff)](_0x11e73e,null,0x2),_0x43a956=>{const _0x2f9a36=_0x28035a;_0x43a956&&logger[_0x2f9a36(0x227)](_0x43a956);}));}function a46_0x4f34(_0x133a55,_0x9e648){const _0x444f15=a46_0x444f();return a46_0x4f34=function(_0x4f3463,_0x1e3599){_0x4f3463=_0x4f3463-0x1ef;let _0x27670b=_0x444f15[_0x4f3463];return _0x27670b;},a46_0x4f34(_0x133a55,_0x9e648);};function findScriptsWithFramework(_0x2fffff,_0x406e80){const _0x2d83e2=a46_0x3f9965,_0x5ac893={};_0x5ac893[_0x2d83e2(0x20e)]=function(_0x3a6dba,_0x30dea4){return _0x3a6dba<_0x30dea4;},_0x5ac893['FJIVh']=_0x2d83e2(0x224);const _0x146d74=_0x5ac893,_0x2246e3=[],_0x5cacb2=Object[_0x2d83e2(0x1fc)](_0x2fffff);for(let _0x500b99=0x0;_0x146d74['JZgrL'](_0x500b99,_0x5cacb2[_0x2d83e2(0x22b)]);_0x500b99+=0x1){_0x5cacb2[_0x500b99][0x1][_0x2d83e2(0x1f6)](_0x406e80)&&!_0x5cacb2[_0x500b99][0x1][_0x2d83e2(0x1f6)](_0x146d74[_0x2d83e2(0x229)])&&_0x2246e3['push'](_0x5cacb2[_0x500b99][0x0]);}return _0x2246e3;}function getUpdatedCommand(_0x4c05a7,_0x1d0045){const _0x1ab31b=a46_0x3f9965,_0x536924={};_0x536924[_0x1ab31b(0x231)]=function(_0x1bbf64,_0x2d1616){return _0x1bbf64!==_0x2d1616;},_0x536924[_0x1ab31b(0x203)]=_0x1ab31b(0x224),_0x536924[_0x1ab31b(0x1fb)]=function(_0x3b452b,_0x547d5b){return _0x3b452b===_0x547d5b;};const _0x460efe=_0x536924,_0x3b7d92=_0x1d0045+'-browserstack',_0x488762=_0x4c05a7[_0x1d0045],_0x3cb526=_0x488762[_0x1ab31b(0x202)]('\x20');for(const _0x17cb9e of frameworks){if(_0x460efe[_0x1ab31b(0x231)](_0x3cb526[_0x1ab31b(0x20f)](_0x17cb9e),-0x1)){_0x3cb526[_0x1ab31b(0x239)](_0x3cb526['indexOf'](_0x17cb9e),0x0,_0x460efe['PoJnq']);break;}}let _0x2c81bc=_0x3cb526['join']('\x20');return _0x460efe[_0x1ab31b(0x1fb)](_0x2c81bc,_0x488762)&&(_0x2c81bc=_0x1ab31b(0x230)+_0x488762),[_0x3b7d92,_0x2c81bc];}function sdkSetup(){const _0x245a15=a46_0x3f9965,_0x5e9517={};_0x5e9517['NKyUx']=_0x245a15(0x201),_0x5e9517[_0x245a15(0x233)]='SDKSetup';const _0x3475ec=_0x5e9517;if(helper[_0x245a15(0x1f0)](config))return;config[_0x245a15(0x232)]=_0x3475ec['NKyUx'];try{utilities[_0x245a15(0x200)](_0x3475ec[_0x245a15(0x233)],{},config,'');}catch(_0x30c563){logger[_0x245a15(0x1fd)](_0x245a15(0x22d)+_0x30c563);}}logger[a46_0x3f9965(0x235)](a46_0x3f9965(0x234));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a47_0x245c73=a47_0x4439;function a47_0x4439(_0x329363,_0x531c46){const _0x471605=a47_0x4716();return a47_0x4439=function(_0x443957,_0x47cbd4){_0x443957=_0x443957-0x1b1;let _0x12a217=_0x471605[_0x443957];return _0x12a217;},a47_0x4439(_0x329363,_0x531c46);}function a47_0x4716(){const _0x35866c=['Exception\x20in\x20sending\x20worker\x20message\x20','QGUcN','SDK_SETUP','../../helpers/performance/performance-tester','5306574YGCJcQ','417431BYtxRB','abgwV','Ljeyz','CsiyD','map','resolve','2900466CMrZYV','lMprZ','Qxqpu','Worker','pipe','getStderr','Running\x20','parallelVanillaRun','vanillaWorker','waitForExit','getWorkers','Workers\x20failed\x20to\x20exit\x20gracefully','_workerPool','EVENTS','jest-worker','emittery','platform-run-failure','error','../../helpers/testhub/testhubHandler','util','stop','results','exit','../../helpers/test-observability/utils','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','winstonLogger','eyOSU','4RUMDkg','xMXiB','then','file','grcKP','BqPSq','all','platforms','KLTbi','stderr','RpLHd','p-limit','postMessage','4572755lVxyEa','498492aTcJhL','yIznC','configuration','debug','send','leEeA','log','end','cucumberWorker','emit','test-file-failure','MKcOL','BsNYq','sCbsN','zPSIT','\x20for','length','EjigR','platform','klRIZ','test-file-success','../../helpers/performance/constants','TxvCG','znslg','zFSGp','1695261OfcHBr','ZMFKm','exitCode','format','./testWorker.js','../../helpers/logger','Tfgpb','getStdout','UNSTABLE_onCustomMessage','platform-run-success','worker','wyWip','14883472rRlxVV','json','_child','stdout','parallelCucumberRun','nhTJd','aqeta'];a47_0x4716=function(){return _0x35866c;};return a47_0x4716();}(function(_0x2316ae,_0x3f5a5f){const _0x414389=a47_0x4439,_0x28f6d3=_0x2316ae();while(!![]){try{const _0x4a3cbf=parseInt(_0x414389(0x1ce))/0x1+parseInt(_0x414389(0x1ef))/0x2*(-parseInt(_0x414389(0x1b6))/0x3)+parseInt(_0x414389(0x1fd))/0x4+-parseInt(_0x414389(0x1fc))/0x5+-parseInt(_0x414389(0x1d4))/0x6+parseInt(_0x414389(0x1cd))/0x7+parseInt(_0x414389(0x1c2))/0x8;if(_0x4a3cbf===_0x3f5a5f)break;else _0x28f6d3['push'](_0x28f6d3['shift']());}catch(_0x530597){_0x28f6d3['push'](_0x28f6d3['shift']());}}}(a47_0x4716,0x9a672));const Worker=require(a47_0x245c73(0x1e2))[a47_0x245c73(0x1d7)],Emittery=require(a47_0x245c73(0x1e3)),pLimit=require(a47_0x245c73(0x1fa)),{parentPort}=require('worker_threads'),util=require(a47_0x245c73(0x1e7)),logger=require(a47_0x245c73(0x1bb))[a47_0x245c73(0x1ed)],PerformanceTester=require(a47_0x245c73(0x1cc)),PerformanceEvents=require(a47_0x245c73(0x1b2))[a47_0x245c73(0x1e1)],{debug}=require(a47_0x245c73(0x1eb)),TestHubHandler=require(a47_0x245c73(0x1e6));exports['parallelTestRun']=(_0x89e932,_0xf8a9bc,_0x5f2710)=>new Promise(async _0xa97712=>{const _0x2bbe26=a47_0x245c73,_0x16cd64={'grcKP':'failureCount','RpLHd':function(_0x91aac3,_0x2f5950){return _0x91aac3+_0x2f5950;},'znslg':_0x2bbe26(0x1e9),'wNykR':_0x2bbe26(0x1df),'jyulo':function(_0x1b9a34,_0x35d5c3){return _0x1b9a34(_0x35d5c3);},'nPaRi':'test-file-start','eyOSU':_0x2bbe26(0x1ba),'sCbsN':_0x2bbe26(0x1c0),'BsNYq':_0x2bbe26(0x1c3),'lMprZ':_0x2bbe26(0x1d8),'nhTJd':function(_0x59d511,_0x5d528e){return _0x59d511*_0x5d528e;},'EcZMu':_0x2bbe26(0x1b1),'XBuvZ':_0x2bbe26(0x207),'yIznC':function(_0x191512,_0x2ce4c0){return _0x191512(_0x2ce4c0);}},_0x313b5a=_0x5f2710['config'],_0x34b754={},_0x4fedae=new Worker(require['resolve'](_0x16cd64[_0x2bbe26(0x1ee)]),{'exposedMethods':[_0x16cd64[_0x2bbe26(0x20a)]],'forkOptions':{'serialization':_0x16cd64[_0x2bbe26(0x209)],'stdio':_0x16cd64[_0x2bbe26(0x1d5)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x16cd64['nhTJd'](_0xf8a9bc,0x1),'enableWorkerThreads':!![]}),_0x436b03=new Emittery();_0x436b03['on'](_0x16cd64['EcZMu'],_0x56d44d=>{const _0x2b3ffd=_0x2bbe26;_0x34b754[_0x56d44d[0x0]]?(_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1f3)]]=_0x16cd64[_0x2b3ffd(0x1f9)](_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1f3)]],_0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1f3)]]),_0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1b4)]]=[..._0x34b754[_0x56d44d[0x0]][_0x16cd64[_0x2b3ffd(0x1b4)]],..._0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1b4)]]]):_0x34b754[_0x56d44d[0x0]]={'failureCount':_0x56d44d[0x1][_0x16cd64['grcKP']],'results':[..._0x56d44d[0x1][_0x16cd64[_0x2b3ffd(0x1b4)]]]};}),_0x436b03['on'](_0x16cd64['XBuvZ'],_0x2f0505=>console['log'](_0x2f0505[0x1]));_0x4fedae[_0x2bbe26(0x1bd)]()&&_0x4fedae[_0x2bbe26(0x1bd)]()[_0x2bbe26(0x1d8)](process[_0x2bbe26(0x1c5)]);_0x4fedae['getStderr']()&&_0x4fedae[_0x2bbe26(0x1d9)]()['pipe'](process[_0x2bbe26(0x1f8)]);const _0x54e443=async()=>{const _0xb2e212=_0x2bbe26,{forceExited:_0x3e9409}=await _0x4fedae[_0xb2e212(0x204)]();_0x3e9409&&console[_0xb2e212(0x1e5)](_0x16cd64['wNykR']);try{await TestHubHandler[_0xb2e212(0x1e8)]();}catch(_0x2e4bd2){_0x16cd64['jyulo'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x2e4bd2);}_0x16cd64['jyulo'](_0xa97712,_0x34b754);},_0x4d53de=_0x16cd64[_0x2bbe26(0x1fe)](pLimit,_0x16cd64[_0x2bbe26(0x1c7)](_0xf8a9bc,0x1)),_0x2f5ea7=_0x278677=>_0x4d53de(async()=>{const _0x3bf04a=_0x2bbe26;await _0x436b03[_0x3bf04a(0x206)](_0x16cd64['nPaRi'],_0x278677);const _0x55c3f6=_0x4fedae[_0x3bf04a(0x1c0)](_0x278677,_0x313b5a);try{parentPort&&_0x55c3f6[_0x3bf04a(0x1be)](_0xb638d5=>{const _0x20644a=_0x3bf04a;try{parentPort[_0x20644a(0x1fb)](_0xb638d5);}catch(_0x95fb33){logger[_0x20644a(0x200)](_0x20644a(0x1c9)+util[_0x20644a(0x1b9)](_0x95fb33));}});}catch(_0x2d8283){logger[_0x3bf04a(0x200)](_0x3bf04a(0x1ec)+util['format'](_0x2d8283));}return _0x55c3f6;});PerformanceTester[_0x2bbe26(0x204)](PerformanceEvents[_0x2bbe26(0x1cb)]),Promise[_0x2bbe26(0x1f5)](_0x89e932[_0x2bbe26(0x1d2)](_0x2317d9=>_0x2f5ea7(_0x2317d9)[_0x2bbe26(0x1f1)](_0x1a81a6=>_0x436b03[_0x2bbe26(0x206)]('test-file-success',[_0x2317d9[_0x2bbe26(0x1ff)][_0x2bbe26(0x20f)],_0x1a81a6]),_0x1d3ea3=>_0x436b03[_0x2bbe26(0x206)](_0x2bbe26(0x207),[_0x2317d9,_0x1d3ea3]))))[_0x2bbe26(0x1f1)](_0x54e443,_0x54e443);}),exports[a47_0x245c73(0x1c6)]=(_0x3cfee6,_0x4926dd,_0x1fa480,_0x14e599,_0x390fb6)=>{const _0x322f17=a47_0x245c73,_0x2c7823={'ZMFKm':'platform-run-start','TxvCG':_0x322f17(0x1df),'rxSUy':function(_0x40562f,_0x29f151){return _0x40562f(_0x29f151);},'KLTbi':_0x322f17(0x1ba),'leEeA':_0x322f17(0x205),'YWDSB':'json','zFSGp':_0x322f17(0x1d8),'klRIZ':_0x322f17(0x1bf),'BSaBb':'platform-run-failure','ZAEmL':function(_0x1963e6,_0xe82875){return _0x1963e6(_0xe82875);}};return new Promise(_0x4e8312=>{const _0x20bfce=_0x322f17,_0x5e90e7={'EjigR':_0x2c7823[_0x20bfce(0x1b3)],'QGUcN':function(_0x17466f,_0x7fff04){return _0x2c7823['rxSUy'](_0x17466f,_0x7fff04);}},_0x100edb=[],_0x46643c=new Worker(require[_0x20bfce(0x1d3)](_0x2c7823[_0x20bfce(0x1f7)]),{'exposedMethods':[_0x2c7823[_0x20bfce(0x202)]],'forkOptions':{'serialization':_0x2c7823['YWDSB'],'stdio':_0x2c7823[_0x20bfce(0x1b5)]},'numWorkers':_0x3cfee6[_0x20bfce(0x20d)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x1f7e6d=new Emittery();_0x1f7e6d['on'](_0x2c7823[_0x20bfce(0x210)],_0x41d1fb=>{_0x100edb['push']([_0x41d1fb[0x0],_0x41d1fb[0x1]]);}),_0x1f7e6d['on'](_0x2c7823['BSaBb'],_0x134e13=>console[_0x20bfce(0x203)](_0x134e13[0x1]));_0x46643c[_0x20bfce(0x1bd)]()&&_0x46643c[_0x20bfce(0x1bd)]()['pipe'](process[_0x20bfce(0x1c5)]);_0x46643c[_0x20bfce(0x1d9)]()&&_0x46643c[_0x20bfce(0x1d9)]()[_0x20bfce(0x1d8)](process[_0x20bfce(0x1f8)]);const _0x307b39=async()=>{const _0x3ad482=_0x20bfce,{forceExited:_0x49210f}=await _0x46643c[_0x3ad482(0x204)]();_0x49210f&&console[_0x3ad482(0x1e5)](_0x5e90e7[_0x3ad482(0x20e)]),_0x5e90e7[_0x3ad482(0x1ca)](_0x4e8312,_0x100edb);},_0x5c8c04=_0x2c7823['ZAEmL'](pLimit,_0x3cfee6[_0x20bfce(0x20d)]||0x1),_0x1641b4=(_0x20aaca,_0x3a1a9b)=>_0x5c8c04(async()=>{const _0x4e099c=_0x20bfce;return await _0x1f7e6d[_0x4e099c(0x206)](_0x2c7823[_0x4e099c(0x1b7)],_0x20aaca),_0x4926dd['platformCaps']=_0x1fa480[_0x4e099c(0x1f6)][_0x3a1a9b],_0x46643c[_0x4e099c(0x205)](_0x20aaca,_0x4926dd,_0x1fa480,_0x14e599,_0x390fb6);});Promise[_0x20bfce(0x1f5)](_0x3cfee6[_0x20bfce(0x1d2)]((_0x477556,_0x40f4de)=>_0x1641b4(_0x477556,_0x40f4de)[_0x20bfce(0x1f1)](_0x473f85=>_0x1f7e6d[_0x20bfce(0x206)](_0x20bfce(0x1bf),[_0x477556,_0x473f85]),_0x21382d=>_0x1f7e6d[_0x20bfce(0x206)](_0x20bfce(0x1e4),[_0x477556,_0x21382d]))))[_0x20bfce(0x1f1)](_0x307b39,_0x307b39);});},exports[a47_0x245c73(0x1db)]=(_0x325491,_0x25a59c)=>new Promise(_0xe5b134=>{const _0xae05a7=a47_0x245c73,_0x71753a={'wyWip':function(_0x17c16,_0x3e641b){return _0x17c16===_0x3e641b;},'Tfgpb':function(_0x596922,_0x98dc8c){return _0x596922!==_0x98dc8c;},'CsiyD':_0xae05a7(0x1ea),'xMXiB':_0xae05a7(0x1df),'BqPSq':function(_0x1e8d88,_0x58aa1a){return _0x1e8d88(_0x58aa1a);},'aqeta':_0xae05a7(0x1ba),'abgwV':_0xae05a7(0x1dc),'MKcOL':_0xae05a7(0x1c3),'zPSIT':_0xae05a7(0x1d8),'iloFO':'test-file-success','Qxqpu':'test-file-failure'},_0xa16a73={},_0x2f49ae=new Worker(require['resolve'](_0x71753a[_0xae05a7(0x1c8)]),{'exposedMethods':[_0x71753a[_0xae05a7(0x1cf)]],'forkOptions':{'serialization':_0x71753a[_0xae05a7(0x208)],'stdio':_0x71753a[_0xae05a7(0x20b)]},'numWorkers':_0x25a59c,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x1bc06f=new Emittery();_0x1bc06f['on'](_0x71753a['iloFO'],_0x56fb93=>{const _0x281a2b=_0xae05a7;_0x56fb93[0x0]&&logger['info'](_0x281a2b(0x1da)+_0x56fb93[0x1]+_0x281a2b(0x20c),_0x56fb93[0x0]);}),_0x1bc06f['on'](_0x71753a[_0xae05a7(0x1d6)],_0x4d05bd=>{const _0x47e7d5=_0xae05a7;process[_0x47e7d5(0x1b8)]=0x1;});_0x2f49ae[_0xae05a7(0x1bd)]()&&_0x2f49ae[_0xae05a7(0x1bd)]()[_0xae05a7(0x1d8)](process[_0xae05a7(0x1c5)]);_0x2f49ae[_0xae05a7(0x1d9)]()&&_0x2f49ae[_0xae05a7(0x1d9)]()[_0xae05a7(0x1d8)](process[_0xae05a7(0x1f8)]);const _0x2368f3=async()=>{const _0x1a18a0=_0xae05a7;let _0x2b9342=0x0;const _0x4ddbd3=_0x2f49ae[_0x1a18a0(0x1e0)][_0x1a18a0(0x1de)](),_0x2a4e51=()=>{},_0x50e001=_0x4ddbd3[_0x1a18a0(0x1d2)](async _0x337d36=>{const _0x1bfe87=_0x1a18a0,_0x558bcf={'Pooqe':function(_0x7eb97d,_0x19a2bc){const _0x4ce835=a47_0x4439;return _0x71753a[_0x4ce835(0x1c1)](_0x7eb97d,_0x19a2bc);},'Ljeyz':function(_0x1753bf,_0x54fdef){const _0x477222=a47_0x4439;return _0x71753a[_0x477222(0x1bc)](_0x1753bf,_0x54fdef);}};_0x337d36[_0x1bfe87(0x201)]([0x2,![]],_0x2a4e51,_0x2a4e51,_0x2a4e51),_0x337d36[_0x1bfe87(0x1c4)]['on'](_0x71753a[_0x1bfe87(0x1d1)],_0x58a701=>{const _0x227569=_0x1bfe87;_0x558bcf['Pooqe'](_0x2b9342,0x0)&&_0x558bcf[_0x227569(0x1d0)](_0x58a701,0x0)&&(_0x2b9342=_0x58a701);}),await _0x337d36[_0x1bfe87(0x1dd)]();});await Promise[_0x1a18a0(0x1f5)](_0x50e001),process[_0x1a18a0(0x1b8)]=_0x2b9342;const {forceExited:_0x33598d}=await _0x2f49ae[_0x1a18a0(0x204)]();_0x33598d&&console['error'](_0x71753a[_0x1a18a0(0x1f0)]),_0x71753a[_0x1a18a0(0x1f4)](_0xe5b134,_0xa16a73);},_0x5c2017=_0x71753a['BqPSq'](pLimit,_0x25a59c),_0x4d1332=_0x527fc5=>_0x5c2017(async()=>{const _0x14156e=_0xae05a7;return _0x2f49ae[_0x14156e(0x1dc)](_0x527fc5);});Promise[_0xae05a7(0x1f5)](_0x325491[_0xae05a7(0x1d2)](_0x25952d=>_0x4d1332(_0x25952d)[_0xae05a7(0x1f1)](_0x3352fd=>_0x1bc06f['emit'](_0xae05a7(0x1b1),[_0x25952d[_0xae05a7(0x1ff)][_0xae05a7(0x20f)],_0x25952d[_0xae05a7(0x1ff)][_0xae05a7(0x1f2)]]),_0x6e715b=>_0x1bc06f[_0xae05a7(0x206)](_0xae05a7(0x207),[_0x25952d,_0x6e715b]))))['then'](_0x2368f3,_0x2368f3);});
|
|
1
|
+
const a47_0x28f5f7=a47_0x38b4;(function(_0x441b26,_0x2d73db){const _0x5cd72a=a47_0x38b4,_0x514982=_0x441b26();while(!![]){try{const _0x2e0923=-parseInt(_0x5cd72a(0x124))/0x1+parseInt(_0x5cd72a(0x10d))/0x2+-parseInt(_0x5cd72a(0x167))/0x3*(-parseInt(_0x5cd72a(0x150))/0x4)+parseInt(_0x5cd72a(0x10a))/0x5*(parseInt(_0x5cd72a(0x12e))/0x6)+parseInt(_0x5cd72a(0x119))/0x7+-parseInt(_0x5cd72a(0x14e))/0x8+parseInt(_0x5cd72a(0x12c))/0x9*(-parseInt(_0x5cd72a(0x10e))/0xa);if(_0x2e0923===_0x2d73db)break;else _0x514982['push'](_0x514982['shift']());}catch(_0x418473){_0x514982['push'](_0x514982['shift']());}}}(a47_0x21d3,0x8b62e));function a47_0x38b4(_0x17fa1d,_0x2a2a9f){const _0x21d361=a47_0x21d3();return a47_0x38b4=function(_0x38b4a3,_0x2bfbd2){_0x38b4a3=_0x38b4a3-0x106;let _0x390377=_0x21d361[_0x38b4a3];return _0x390377;},a47_0x38b4(_0x17fa1d,_0x2a2a9f);}const Worker=require('jest-worker')['Worker'],Emittery=require('emittery'),pLimit=require('p-limit'),{parentPort}=require(a47_0x28f5f7(0x11c)),util=require(a47_0x28f5f7(0x164)),logger=require(a47_0x28f5f7(0x11e))[a47_0x28f5f7(0x135)],PerformanceTester=require(a47_0x28f5f7(0x14f)),PerformanceEvents=require(a47_0x28f5f7(0x156))[a47_0x28f5f7(0x14c)],{debug}=require(a47_0x28f5f7(0x15b)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a47_0x21d3(){const _0x235131=['platform','44772ONQPWb','VitqR','Workers\x20failed\x20to\x20exit\x20gracefully','pipe','getWorkers','json','RraQU','winstonLogger','nEXUJ','end','qeFMV','AdCch','all','_child','awoAB','platform-run-success','wXqeT','debug','lpSMh','./testWorker.js','exitCode','ffmAL','map','_workerPool','error','platform-run-start','SDK_SETUP','emit','ApTgQ','nvMLj','EVENTS','then','1893504mMaZjH','../../helpers/performance/performance-tester','43200vIhkyw','Exception\x20in\x20sending\x20worker\x20message\x20','UNSTABLE_onCustomMessage','postMessage','YDUOC','esDSr','../../helpers/performance/constants','test-file-start','vanillaWorker','platformCaps','test-file-failure','../../helpers/test-observability/utils','smXVA','config','resolve','wDLps','send','CaXHs','yKwyQ','qcmGZ','util','Tmgsj','yENWT','291bAtMCC','getStdout','format','gGtXk','Running\x20','280nazCmp','stdout','kXdbl','746954DQTsYY','10gEQFaM','emAiO','platforms','HTrcY','parallelTestRun','OhyXf','configuration','hLEZp','getStderr','GqPgg','waitForExit','7875833TnuJsT','PIRPL','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','worker_threads','push','../../helpers/logger','cucumberWorker','stderr','nCykd','parallelVanillaRun','kvzll','273027Qnlmxd','xXyTh','worker','platform-run-failure','test-file-success','tPCGJ','file','lyyzD','16950843GXQvyn'];a47_0x21d3=function(){return _0x235131;};return a47_0x21d3();}exports[a47_0x28f5f7(0x112)]=(_0x131f95,_0xf4422a,_0x277c75)=>new Promise(async _0x4e5c11=>{const _0x696651=a47_0x28f5f7,_0x4e05e7={'YDUOC':'failureCount','HTrcY':function(_0x2522e3,_0x15518a){return _0x2522e3+_0x15518a;},'yKwyQ':'results','kvzll':_0x696651(0x130),'RraQU':function(_0x482099,_0x5814c9){return _0x482099(_0x5814c9);},'zIJNp':_0x696651(0x157),'dHRss':'./testWorker.js','lpSMh':_0x696651(0x126),'tPCGJ':_0x696651(0x133),'PXnap':_0x696651(0x131),'gGtXk':function(_0x388d36,_0x5310ea){return _0x388d36*_0x5310ea;},'hLEZp':_0x696651(0x128),'emAiO':_0x696651(0x15a),'ApTgQ':function(_0x33982b,_0x3bfcad){return _0x33982b(_0x3bfcad);}},_0x411603=_0x277c75[_0x696651(0x15d)],_0x17b395={},_0x1367c5=new Worker(require['resolve'](_0x4e05e7['dHRss']),{'exposedMethods':[_0x4e05e7[_0x696651(0x140)]],'forkOptions':{'serialization':_0x4e05e7[_0x696651(0x129)],'stdio':_0x4e05e7['PXnap']},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4e05e7[_0x696651(0x108)](_0xf4422a,0x1),'enableWorkerThreads':!![]}),_0x68f667=new Emittery();_0x68f667['on'](_0x4e05e7[_0x696651(0x115)],_0x52cf69=>{const _0x1ceca5=_0x696651;_0x17b395[_0x52cf69[0x0]]?(_0x17b395[_0x52cf69[0x0]][_0x4e05e7[_0x1ceca5(0x154)]]=_0x4e05e7[_0x1ceca5(0x111)](_0x17b395[_0x52cf69[0x0]][_0x4e05e7['YDUOC']],_0x52cf69[0x1][_0x4e05e7[_0x1ceca5(0x154)]]),_0x17b395[_0x52cf69[0x0]][_0x4e05e7[_0x1ceca5(0x162)]]=[..._0x17b395[_0x52cf69[0x0]][_0x4e05e7[_0x1ceca5(0x162)]],..._0x52cf69[0x1][_0x4e05e7['yKwyQ']]]):_0x17b395[_0x52cf69[0x0]]={'failureCount':_0x52cf69[0x1][_0x4e05e7['YDUOC']],'results':[..._0x52cf69[0x1][_0x4e05e7[_0x1ceca5(0x162)]]]};}),_0x68f667['on'](_0x4e05e7[_0x696651(0x10f)],_0x4c5022=>console['log'](_0x4c5022[0x1]));_0x1367c5['getStdout']()&&_0x1367c5['getStdout']()[_0x696651(0x131)](process['stdout']);_0x1367c5[_0x696651(0x116)]()&&_0x1367c5['getStderr']()[_0x696651(0x131)](process[_0x696651(0x120)]);const _0x1c9d29=async()=>{const _0x10ca94=_0x696651,{forceExited:_0x4ccfa0}=await _0x1367c5['end']();_0x4ccfa0&&console[_0x10ca94(0x146)](_0x4e05e7[_0x10ca94(0x123)]);try{await TestHubHandler['stop']();}catch(_0x22f63e){_0x4e05e7[_0x10ca94(0x134)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x22f63e);}_0x4e05e7[_0x10ca94(0x134)](_0x4e5c11,_0x17b395);},_0x483b37=_0x4e05e7[_0x696651(0x14a)](pLimit,_0x4e05e7[_0x696651(0x108)](_0xf4422a,0x1)),_0x1f61c9=_0x16df86=>_0x483b37(async()=>{const _0x2cb6b8=_0x696651;await _0x68f667[_0x2cb6b8(0x149)](_0x4e05e7['zIJNp'],_0x16df86);const _0x59dc1f=_0x1367c5[_0x2cb6b8(0x126)](_0x16df86,_0x411603);try{parentPort&&_0x59dc1f[_0x2cb6b8(0x152)](_0x1f2366=>{const _0x662b9f=_0x2cb6b8;try{parentPort[_0x662b9f(0x153)](_0x1f2366);}catch(_0x16247c){logger['debug'](_0x662b9f(0x151)+util['format'](_0x16247c));}});}catch(_0x2e51a9){logger[_0x2cb6b8(0x13f)](_0x2cb6b8(0x11b)+util[_0x2cb6b8(0x107)](_0x2e51a9));}return _0x59dc1f;});PerformanceTester[_0x696651(0x137)](PerformanceEvents[_0x696651(0x148)]),Promise[_0x696651(0x13a)](_0x131f95[_0x696651(0x144)](_0x55989b=>_0x1f61c9(_0x55989b)['then'](_0x717c52=>_0x68f667[_0x696651(0x149)]('test-file-success',[_0x55989b['configuration'][_0x696651(0x12d)],_0x717c52]),_0x1f3632=>_0x68f667[_0x696651(0x149)](_0x696651(0x15a),[_0x55989b,_0x1f3632]))))[_0x696651(0x14d)](_0x1c9d29,_0x1c9d29);}),exports['parallelCucumberRun']=(_0x12934e,_0x254199,_0x166a85,_0x520e92,_0x5cd68d)=>{const _0x1e65de=a47_0x28f5f7,_0x106aae={'qcmGZ':_0x1e65de(0x130),'lyyzD':function(_0x3ee8ca,_0x6a2f14){return _0x3ee8ca(_0x6a2f14);},'esDSr':_0x1e65de(0x147),'xXyTh':_0x1e65de(0x141),'OhyXf':_0x1e65de(0x11f),'wXqeT':'json','nCykd':_0x1e65de(0x131),'nvMLj':'platform-run-success','clykC':_0x1e65de(0x127),'smXVA':function(_0x49913c,_0x7c993){return _0x49913c(_0x7c993);}};return new Promise(_0x5a9212=>{const _0x216d40=_0x1e65de,_0x14820f={};_0x14820f['VitqR']=_0x106aae[_0x216d40(0x155)];const _0x855084=_0x14820f,_0x476ec7=[],_0x11f005=new Worker(require[_0x216d40(0x15e)](_0x106aae[_0x216d40(0x125)]),{'exposedMethods':[_0x106aae[_0x216d40(0x113)]],'forkOptions':{'serialization':_0x106aae[_0x216d40(0x13e)],'stdio':_0x106aae[_0x216d40(0x121)]},'numWorkers':_0x12934e['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x438eb9=new Emittery();_0x438eb9['on'](_0x106aae[_0x216d40(0x14b)],_0x45b97e=>{const _0x58335a=_0x216d40;_0x476ec7[_0x58335a(0x11d)]([_0x45b97e[0x0],_0x45b97e[0x1]]);}),_0x438eb9['on'](_0x106aae['clykC'],_0x12fda5=>console['log'](_0x12fda5[0x1]));_0x11f005[_0x216d40(0x106)]()&&_0x11f005[_0x216d40(0x106)]()[_0x216d40(0x131)](process[_0x216d40(0x10b)]);_0x11f005['getStderr']()&&_0x11f005['getStderr']()[_0x216d40(0x131)](process[_0x216d40(0x120)]);const _0x1fbbc0=async()=>{const _0x52d387=_0x216d40,{forceExited:_0x32e429}=await _0x11f005[_0x52d387(0x137)]();_0x32e429&&console[_0x52d387(0x146)](_0x106aae[_0x52d387(0x163)]),_0x106aae[_0x52d387(0x12b)](_0x5a9212,_0x476ec7);},_0x248182=_0x106aae[_0x216d40(0x15c)](pLimit,_0x12934e['length']||0x1),_0x4c9d0f=(_0x456ec1,_0x1ec45d)=>_0x248182(async()=>{const _0x4b83ca=_0x216d40;return await _0x438eb9[_0x4b83ca(0x149)](_0x855084[_0x4b83ca(0x12f)],_0x456ec1),_0x254199[_0x4b83ca(0x159)]=_0x166a85[_0x4b83ca(0x110)][_0x1ec45d],_0x11f005[_0x4b83ca(0x11f)](_0x456ec1,_0x254199,_0x166a85,_0x520e92,_0x5cd68d);});Promise[_0x216d40(0x13a)](_0x12934e[_0x216d40(0x144)]((_0x38012f,_0x563306)=>_0x4c9d0f(_0x38012f,_0x563306)[_0x216d40(0x14d)](_0x1f3f28=>_0x438eb9[_0x216d40(0x149)](_0x216d40(0x13d),[_0x38012f,_0x1f3f28]),_0xd4cf63=>_0x438eb9[_0x216d40(0x149)]('platform-run-failure',[_0x38012f,_0xd4cf63]))))[_0x216d40(0x14d)](_0x1fbbc0,_0x1fbbc0);});},exports[a47_0x28f5f7(0x122)]=(_0x5b88f1,_0x50eed6)=>new Promise(_0x354180=>{const _0x540ab4=a47_0x28f5f7,_0x2697ca={'awoAB':function(_0x28353f,_0x27b9cd){return _0x28353f===_0x27b9cd;},'ZaNPc':function(_0x10e894,_0x16439c){return _0x10e894!==_0x16439c;},'PIRPL':'exit','Tmgsj':'Workers\x20failed\x20to\x20exit\x20gracefully','fUrxp':function(_0x26889e,_0x571cf1){return _0x26889e(_0x571cf1);},'kXdbl':_0x540ab4(0x141),'wDLps':'vanillaWorker','qeFMV':_0x540ab4(0x133),'ffmAL':_0x540ab4(0x131),'CaXHs':_0x540ab4(0x128),'nEXUJ':'test-file-failure','AdCch':function(_0x2917f2,_0x5e8b71){return _0x2917f2(_0x5e8b71);}},_0x5b8532={},_0xdb2535=new Worker(require['resolve'](_0x2697ca[_0x540ab4(0x10c)]),{'exposedMethods':[_0x2697ca[_0x540ab4(0x15f)]],'forkOptions':{'serialization':_0x2697ca[_0x540ab4(0x138)],'stdio':_0x2697ca[_0x540ab4(0x143)]},'numWorkers':_0x50eed6,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x349f68=new Emittery();_0x349f68['on'](_0x2697ca[_0x540ab4(0x161)],_0x14f538=>{const _0x5613ae=_0x540ab4;_0x14f538[0x0]&&logger['info'](_0x5613ae(0x109)+_0x14f538[0x1]+'\x20for',_0x14f538[0x0]);}),_0x349f68['on'](_0x2697ca[_0x540ab4(0x136)],_0xceacc4=>{const _0x20daea=_0x540ab4;process[_0x20daea(0x142)]=0x1;});_0xdb2535[_0x540ab4(0x106)]()&&_0xdb2535['getStdout']()[_0x540ab4(0x131)](process[_0x540ab4(0x10b)]);_0xdb2535['getStderr']()&&_0xdb2535['getStderr']()[_0x540ab4(0x131)](process[_0x540ab4(0x120)]);const _0x4a336c=async()=>{const _0x5d71ee=_0x540ab4,_0x2a75e3={'yENWT':function(_0x283268,_0x53b07b){const _0x2a0a82=a47_0x38b4;return _0x2697ca[_0x2a0a82(0x13c)](_0x283268,_0x53b07b);},'GqPgg':function(_0x4593ce,_0x207133){return _0x2697ca['ZaNPc'](_0x4593ce,_0x207133);},'Lgged':_0x2697ca[_0x5d71ee(0x11a)]};let _0xcaec39=0x0;const _0x3efa16=_0xdb2535[_0x5d71ee(0x145)][_0x5d71ee(0x132)](),_0x486450=()=>{},_0x1a215d=_0x3efa16[_0x5d71ee(0x144)](async _0x2affae=>{const _0x4ba9eb=_0x5d71ee;_0x2affae[_0x4ba9eb(0x160)]([0x2,![]],_0x486450,_0x486450,_0x486450),_0x2affae[_0x4ba9eb(0x13b)]['on'](_0x2a75e3['Lgged'],_0x3fe929=>{const _0x43ad67=_0x4ba9eb;_0x2a75e3[_0x43ad67(0x166)](_0xcaec39,0x0)&&_0x2a75e3[_0x43ad67(0x117)](_0x3fe929,0x0)&&(_0xcaec39=_0x3fe929);}),await _0x2affae[_0x4ba9eb(0x118)]();});await Promise[_0x5d71ee(0x13a)](_0x1a215d),process['exitCode']=_0xcaec39;const {forceExited:_0x5ddda4}=await _0xdb2535[_0x5d71ee(0x137)]();_0x5ddda4&&console['error'](_0x2697ca[_0x5d71ee(0x165)]),_0x2697ca['fUrxp'](_0x354180,_0x5b8532);},_0x302106=_0x2697ca[_0x540ab4(0x139)](pLimit,_0x50eed6),_0x51b5e2=_0x466166=>_0x302106(async()=>{const _0x21d3b4=_0x540ab4;return _0xdb2535[_0x21d3b4(0x158)](_0x466166);});Promise[_0x540ab4(0x13a)](_0x5b88f1[_0x540ab4(0x144)](_0x5bbb5e=>_0x51b5e2(_0x5bbb5e)[_0x540ab4(0x14d)](_0x4f0a81=>_0x349f68[_0x540ab4(0x149)](_0x540ab4(0x128),[_0x5bbb5e[_0x540ab4(0x114)][_0x540ab4(0x12d)],_0x5bbb5e[_0x540ab4(0x114)][_0x540ab4(0x12a)]]),_0x2583e4=>_0x349f68[_0x540ab4(0x149)]('test-file-failure',[_0x5bbb5e,_0x2583e4]))))['then'](_0x4a336c,_0x4a336c);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a48_0x2146(){const _0x1b9af0=['vanilla','../../helpers/performance/performance-tester','bggDQ','437514RkYVll','run','13753440kwbslW','../launcher/launcher','OkQcf','runTest','28ivKpVx','end','runVanillaTest','mocha','208137kKnDlo','10nuMQHp','5619897ySMAGC','yGGaP','WDYSP','cucumber-js','wjLxO','2345285Vtloee','593nAkXIH','wRQUU','rMrkB','runCucumberTest','../../helpers/performance/constants','configuration','startMonitoring','638qTVHlK','formatter','EVENTS','../../helpers/test-observability/utils','7855452wwAyPa'];a48_0x2146=function(){return _0x1b9af0;};return a48_0x2146();}const a48_0x5a8c92=a48_0x4ec6;(function(_0x208ba2,_0x420563){const _0x5c8c83=a48_0x4ec6,_0x44a167=_0x208ba2();while(!![]){try{const _0xfe43a1=-parseInt(_0x5c8c83(0xcc))/0x1*(-parseInt(_0x5c8c83(0xd3))/0x2)+-parseInt(_0x5c8c83(0xc4))/0x3*(-parseInt(_0x5c8c83(0xc0))/0x4)+parseInt(_0x5c8c83(0xcb))/0x5+-parseInt(_0x5c8c83(0xd7))/0x6+-parseInt(_0x5c8c83(0xdb))/0x7+parseInt(_0x5c8c83(0xdd))/0x8+parseInt(_0x5c8c83(0xc6))/0x9*(-parseInt(_0x5c8c83(0xc5))/0xa);if(_0xfe43a1===_0x420563)break;else _0x44a167['push'](_0x44a167['shift']());}catch(_0x2f0a03){_0x44a167['push'](_0x44a167['shift']());}}}(a48_0x2146,0xd3a40));function a48_0x4ec6(_0x4f0f05,_0xa67e82){const _0x21466c=a48_0x2146();return a48_0x4ec6=function(_0x4ec681,_0x10d6af){_0x4ec681=_0x4ec681-0xbd;let _0x149950=_0x21466c[_0x4ec681];return _0x149950;},a48_0x4ec6(_0x4f0f05,_0xa67e82);}const PerformanceEvents=require(a48_0x5a8c92(0xd0))[a48_0x5a8c92(0xd5)],PerformanceTester=require(a48_0x5a8c92(0xd9)),{sleep}=require(a48_0x5a8c92(0xd6));exports[a48_0x5a8c92(0xbf)]=async(_0x1f30d4,_0x5ae454)=>{const _0x146916=a48_0x5a8c92,_0x2b10da={'wjLxO':function(_0x28a755,_0x3c5155){return _0x28a755(_0x3c5155);},'bggDQ':_0x146916(0xbd),'rMrkB':_0x146916(0xc3)};PerformanceTester[_0x146916(0xd2)]();const _0x3c909a=_0x2b10da[_0x146916(0xca)](require,_0x2b10da[_0x146916(0xda)]),_0x29fdfd=new _0x3c909a(_0x2b10da[_0x146916(0xce)],_0x1f30d4,_0x5ae454),_0x40a9fc=await _0x29fdfd[_0x146916(0xdc)]();return PerformanceTester[_0x146916(0xc1)](PerformanceEvents['SDK_POST_TEST']),await _0x2b10da['wjLxO'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x40a9fc;},exports[a48_0x5a8c92(0xcf)]=async(_0x23e89e,_0x64b9de,_0x5e7a68,_0x41c44a,_0x4e49df)=>{const _0x51c202=a48_0x5a8c92,_0x3cad04={'yGGaP':function(_0x41b644,_0x3738e8){return _0x41b644(_0x3738e8);},'gmIch':'../launcher/launcher','avkzz':_0x51c202(0xc9)},_0x1b2329={'capability':_0x23e89e,..._0x64b9de},_0x135b2d={};_0x135b2d[_0x51c202(0xd1)]=_0x1b2329,_0x135b2d[_0x51c202(0xd4)]=_0x4e49df;const _0x23bd02=_0x135b2d,_0x3e5049=_0x3cad04[_0x51c202(0xc7)](require,_0x3cad04['gmIch']),_0x36d897=new _0x3e5049(_0x3cad04['avkzz'],_0x23bd02,_0x5e7a68,_0x41c44a);return await _0x36d897[_0x51c202(0xdc)]();},exports[a48_0x5a8c92(0xc2)]=async _0x17bea5=>{const _0x4f01ab=a48_0x5a8c92,_0xc2534={'OkQcf':function(_0x7e05bd,_0x4db69a){return _0x7e05bd(_0x4db69a);},'wRQUU':_0x4f01ab(0xbd),'WDYSP':_0x4f01ab(0xd8)},_0x4e3970=_0xc2534[_0x4f01ab(0xbe)](require,_0xc2534[_0x4f01ab(0xcd)]),_0xa1cd13=new _0x4e3970(_0xc2534[_0x4f01ab(0xc8)],_0x17bea5);return await _0xa1cd13[_0x4f01ab(0xdc)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a49_0x1af2(){const _0x41d2b9=['218022omYGMO','worker','8034813TnvILz','6597000EjmdVX','1tRVwDh','./runTest','cucumberWorker','8938875cxXMbc','vanillaWorker','992315ohSOKc','10TJLoVR','1810988tVLZgv','IgHml','176788PCUphf','3snJiRa','35LDeDgA'];a49_0x1af2=function(){return _0x41d2b9;};return a49_0x1af2();}const a49_0x166648=a49_0x1892;(function(_0x8fc17,_0x20d8d6){const _0x250d1e=a49_0x1892,_0x1f2743=_0x8fc17();while(!![]){try{const _0x1d3fd8=parseInt(_0x250d1e(0x1f3))/0x1*(parseInt(_0x250d1e(0x1ec))/0x2)+parseInt(_0x250d1e(0x1ed))/0x3*(-parseInt(_0x250d1e(0x1ea))/0x4)+-parseInt(_0x250d1e(0x1e8))/0x5+-parseInt(_0x250d1e(0x1ef))/0x6*(-parseInt(_0x250d1e(0x1ee))/0x7)+parseInt(_0x250d1e(0x1f2))/0x8+parseInt(_0x250d1e(0x1f1))/0x9*(parseInt(_0x250d1e(0x1e9))/0xa)+-parseInt(_0x250d1e(0x1f6))/0xb;if(_0x1d3fd8===_0x20d8d6)break;else _0x1f2743['push'](_0x1f2743['shift']());}catch(_0x4cee24){_0x1f2743['push'](_0x1f2743['shift']());}}}(a49_0x1af2,0x7fd6a));function a49_0x1892(_0x340eb5,_0x1b7a60){const _0x1af22e=a49_0x1af2();return a49_0x1892=function(_0x189206,_0x34caf5){_0x189206=_0x189206-0x1e8;let _0x341ff6=_0x1af22e[_0x189206];return _0x341ff6;},a49_0x1892(_0x340eb5,_0x1b7a60);}const {runTest,runCucumberTest,runVanillaTest}=require(a49_0x166648(0x1f4));exports[a49_0x166648(0x1f0)]=async(_0x514ac3,_0xf324e7)=>{const _0x30e90b={'CGhpJ':function(_0x5f3efe,_0xad3e13,_0x1bc47e){return _0x5f3efe(_0xad3e13,_0x1bc47e);}};return await _0x30e90b['CGhpJ'](runTest,_0x514ac3,_0xf324e7);},exports[a49_0x166648(0x1f5)]=async(_0x1ece3f,_0x50f0b4,_0x1237bb,_0xcb3162,_0x5084a2)=>{const _0x19889b=a49_0x166648,_0x380050={'IgHml':function(_0x55519c,_0x4e726b,_0x3aca53,_0x355a1e,_0x468975,_0x41ba4c){return _0x55519c(_0x4e726b,_0x3aca53,_0x355a1e,_0x468975,_0x41ba4c);}};return await _0x380050[_0x19889b(0x1eb)](runCucumberTest,_0x1ece3f,_0x50f0b4,_0x1237bb,_0xcb3162,_0x5084a2);},exports[a49_0x166648(0x1f7)]=async _0x4a6ae4=>{const _0x3f80e3={'nzChe':function(_0x213caf,_0x2f2fef){return _0x213caf(_0x2f2fef);}};return await _0x3f80e3['nzChe'](runVanillaTest,_0x4a6ae4);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a50_0x303e24=a50_0x1488;(function(_0x4b6363,_0x45ea93){const _0x591bb0=a50_0x1488,_0x316d4b=_0x4b6363();while(!![]){try{const _0x1fb525=parseInt(_0x591bb0(0x87))/0x1*(-parseInt(_0x591bb0(0xc4))/0x2)+-parseInt(_0x591bb0(0xb4))/0x3+-parseInt(_0x591bb0(0xdb))/0x4+parseInt(_0x591bb0(0x12d))/0x5*(-parseInt(_0x591bb0(0x9a))/0x6)+-parseInt(_0x591bb0(0xc9))/0x7*(-parseInt(_0x591bb0(0xb9))/0x8)+parseInt(_0x591bb0(0xb3))/0x9+parseInt(_0x591bb0(0xee))/0xa;if(_0x1fb525===_0x45ea93)break;else _0x316d4b['push'](_0x316d4b['shift']());}catch(_0x26c483){_0x316d4b['push'](_0x316d4b['shift']());}}}(a50_0x1722,0x225c8));const a50_0x176c8a={};a50_0x176c8a[a50_0x303e24(0xa0)]=a50_0x303e24(0xad),a50_0x176c8a[a50_0x303e24(0x7a)]=a50_0x303e24(0x89);const a50_0x6029aa={};a50_0x6029aa[a50_0x303e24(0xa0)]=a50_0x303e24(0x11e);const a50_0x12b3ea={};a50_0x12b3ea['INFO']='Run\x20mocha\x20tests\x20on\x20browserstack';const a50_0xee19ac={};a50_0xee19ac[a50_0x303e24(0xa0)]=a50_0x303e24(0x13a);const a50_0x122666={};a50_0x122666[a50_0x303e24(0xa0)]=a50_0x303e24(0x7e);const a50_0xf2ce47={};a50_0xf2ce47[a50_0x303e24(0xa0)]=a50_0x303e24(0x112);const a50_0x3b55c6={};a50_0x3b55c6[a50_0x303e24(0xa0)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a50_0xa4d272={};a50_0xa4d272[a50_0x303e24(0xa0)]=a50_0x303e24(0xa9);const a50_0x2c5237={};function a50_0x1488(_0x2d068c,_0x3890c1){const _0x17228c=a50_0x1722();return a50_0x1488=function(_0x148805,_0x2b80e9){_0x148805=_0x148805-0x73;let _0x636cc8=_0x17228c[_0x148805];return _0x636cc8;},a50_0x1488(_0x2d068c,_0x3890c1);}a50_0x2c5237['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a50_0x11aab5={};a50_0x11aab5['INFO']=a50_0x303e24(0xaa);const a50_0x447916={};a50_0x447916[a50_0x303e24(0x7d)]=a50_0x303e24(0xae),a50_0x447916[a50_0x303e24(0xe7)]=a50_0x303e24(0x93),a50_0x447916[a50_0x303e24(0xd0)]='jest',a50_0x447916[a50_0x303e24(0xe8)]=a50_0x303e24(0xe4),a50_0x447916[a50_0x303e24(0xb7)]=a50_0x303e24(0xa7),a50_0x447916[a50_0x303e24(0xcf)]=a50_0x303e24(0x11b);const a50_0x345eae={};a50_0x345eae[a50_0x303e24(0xe6)]=a50_0x303e24(0x131),a50_0x345eae[a50_0x303e24(0x8d)]=a50_0x303e24(0xcd),a50_0x345eae[a50_0x303e24(0x90)]=a50_0x303e24(0x122),a50_0x345eae[a50_0x303e24(0x86)]=a50_0x303e24(0xb1);const a50_0x2833df={};function a50_0x1722(){const _0x811d96=['https://api-cloud-devtestops.bsstag.com','turboScaleOptions','APP_UPLOAD_URL','ERR_TIMED_OUT','HELP','acceptSslCerts','percyOptions','PLAYWRIGHT','Run\x20js\x20tests\x20on\x20browserstack','testObservability','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','PACKAGE_TYPE','proxyPassword','GIT_META_DATA_TRUNCATED','ERR_ADDRESS_UNREACHABLE','SDKTestInvalidTcgAuthResponseWithUserImpact','invalidTestInputType','1jKOqhl','prod','Specify\x20--help\x20for\x20available\x20options','browserStackLocalOptions','platforms','UPDATED_CLI_ENDPOINT','uniqueDependency','FRAMEWORKS','LOG_FILE_NAME','mandatoryDependency','hubUrl','wss://cdp-preprod.bsstag.com/playwright?caps=','mocha','observability','CUSTOM_ID_REGEX','httpsProxy','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','accessibilityOptions','HEALING_FAILURE_TIMEOUT','18ynHUic','ERR_CONNECTION_REFUSED','https://upload-observability-preprod.bsstag.com','proxyUser','testContextOptions','https://observability-devtestops.bsstag.com','INFO','playwright','.aab','AI_PROXY_FAILURE','accessibility','BROWSERSTACK_APP_AUTOMATE_URL','COMMONJS','codeceptjs-cucumber','SDKTestTcgProxyFailure','Run\x20codeceptjs\x20tests\x20on\x20browserstack','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','browserVersion','https://hub-devtestops.bsstag.com/wd/hub','shows\x20version\x20information','Playwright','testOrchestrationOptions','https://edsstaging.bsstag.com','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','acceptSslCert','2350557JnHyYq','265293CWGcdo','acceptInsecureCerts','chromeOptions','CODECEPT_CUCUMBER','BROWSERSTACK_AUTOMATE_URL','407752lmPWdW','ATS_HUB_URL_REGEX','preprod','customVariables','SHAREABLE_ID_REGEX','browserstack.userName','PLAYWRIGHT_CONFIG_OPTION_ERRORS','TCG_AUTH_FAILURE','PLAYWRIGHT_HUB_URL','BSTACK_DELTA','edgeOptions','193938McYfIS','SDKTestTcgAuthFailure','MAX_GIT_META_DATA_SIZE_IN_BYTES','exports','browserstack.accessKey','14DHeUgU','automation','proxyPass','SET_TCG_TOKEN_TIMEOUT','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','split','CUCUMBER','JEST','ERR_CONNECTION_FAILED','APP_AUTOMATE_PRODUCTS','proxyUrl','PLAYWRIGHT_TRACE_LOGS','browserstackLocal','https://upload-observability.browserstack.com','ERR_SOCKS_CONNECTION_FAILED','VERSION','CLI_SUPPORTED_FRAMEWORKS','TCG_REGION','131928vRAfVI','./browserstack-artifacts/','AI_ENABLED_FRAMEWORK','ERR_PROXY_CONNECTION_FAILED','bsstag.com','unhandledPromptBehavior','browserstack','firefoxOptions','percy','codeceptjs','ERR_CONNECTION_RESET','invalidKeys','MOCHA','CODECEPT','AUTOMATE','localProxyPass','ERR_BLOCKED_BY_CLIENT','https://observability.browserstack.com','https://api.browserstack.com','995480VWKYmx','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','root','SDK_INSTRUMENTATION_CONFIG','AUTOLOGCAPTURE_NOTIFICATION','INTEGRATIONS','toLowerCase','logLevel','commonjs','vanilla','parallelsPerPlatform','BROWSERSTACK','REDACTED_KEYS','HEALING_LOG_DATA_TIMEOUT','TCG_AUTH_TIMEOUT','BSTACK_URL','percyCaptureMode','https://tcg.browserstack.com','AI_INIT_SUCCESSFUL','framework','VALID_APP_EXTENSION','authToken','sdk/v1/event','CODECEPTJS','automate','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','/usage-debug.log','ERR_SOCKET_NOT_CONNECTED','ERR_CONNECTION_ABORTED','HUB_URL_REGEX','https://automate.browserstack.com/dashboard/v2/builds/','userName','PRIVATE_DOMAIN_OR_IP_REGEX','browserstack.overridelocalInfo.userAuthToken','rerunTests','browserstackAutomation','Run\x20nightwatch\x20tests\x20on\x20browserstack','BROWSERSTACK_API_URL','TCG_URL','httpProxy','SDKTestTcgtInitSuccessful','https://apidevtestops.bsstag.com','use','proxySettings','accessKey','cucumber','ATS_WSS_URL_REGEX','timeouts','Run\x20jest\x20tests\x20on\x20browserstack','app-automate','https://tcg.bsstag.com','turboScale','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','CI_ARTIFACTS_PATH','https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/','O11Y_URL','EDS_URL','ERR_NAME_NOT_RESOLVED','OBSERVABILITY_UPLOAD_URL','https://eds.browserstack.com','.apk','POLL_HEALING_RESULT_TIMEOUT','https://hub-preprod.bsstag.com/wd/hub','172555fWeHEi','MODULE','testObservabilityOptions','localProxyUser','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','NUDGE_LOCAL_ERRORS','localOptions','SDKTestInitFailedResponse','...[TRUNCATED]','https://app-automate.browserstack.com/dashboard/v2/builds/','https://observability-preprod.bsstag.com','0|10|8|11|1|5|9|3|7|2|4|12|6','2|1|9|11|7|3|8|4|12|0|5|6|10','Run\x20cucumber-js\x20tests\x20on\x20browserstack','ROOT_REGEX','ERR_CONNECTION_CLOSED','strictFileInteractability','AUTOMATE_PRODUCTS','disableAutoCaptureLogs','bsstag','ROOT_CAPS'];a50_0x1722=function(){return _0x811d96;};return a50_0x1722();}a50_0x2833df[a50_0x303e24(0xa6)]=a50_0x303e24(0xf6),a50_0x2833df[a50_0x303e24(0x12e)]='module';const a50_0x81b2be={};a50_0x81b2be[a50_0x303e24(0xf0)]=[a50_0x303e24(0x10d),a50_0x303e24(0x11a),a50_0x303e24(0x115),a50_0x303e24(0x96),'customVariables',a50_0x303e24(0xbe),a50_0x303e24(0xc8),a50_0x303e24(0x82),a50_0x303e24(0x103),a50_0x303e24(0xd3),a50_0x303e24(0x10f)],a50_0x81b2be[a50_0x303e24(0x8a)]=[a50_0x303e24(0x9d),a50_0x303e24(0xcb),a50_0x303e24(0x130),a50_0x303e24(0xea)];const a50_0x5dc133={};a50_0x5dc133[a50_0x303e24(0xd5)]='browserstackLocal',a50_0x5dc133[a50_0x303e24(0x8a)]='browserStackLocalOptions',a50_0x5dc133[a50_0x303e24(0x133)]=a50_0x303e24(0x8a),a50_0x5dc133[a50_0x303e24(0xf8)]=a50_0x303e24(0xf8),a50_0x5dc133[a50_0x303e24(0x8b)]=a50_0x303e24(0x8b),a50_0x5dc133['logLevel']=a50_0x303e24(0xf5),a50_0x5dc133['httpProxy']=a50_0x303e24(0x115),a50_0x5dc133[a50_0x303e24(0x96)]=a50_0x303e24(0x96),a50_0x5dc133[a50_0x303e24(0x101)]=a50_0x303e24(0x101),a50_0x5dc133[a50_0x303e24(0x9e)]=a50_0x303e24(0x9e),a50_0x5dc133[a50_0x303e24(0x7f)]=a50_0x303e24(0x7f),a50_0x5dc133['testObservabilityOptions']=a50_0x303e24(0x12f),a50_0x5dc133[a50_0x303e24(0xbc)]=a50_0x303e24(0xbc),a50_0x5dc133[a50_0x303e24(0xca)]=a50_0x303e24(0x111),a50_0x5dc133['browserstackAutomation']=a50_0x303e24(0x111),a50_0x5dc133[a50_0x303e24(0x110)]=a50_0x303e24(0x110),a50_0x5dc133[a50_0x303e24(0xe3)]=a50_0x303e24(0xe3),a50_0x5dc133[a50_0x303e24(0x7c)]=a50_0x303e24(0x7c),a50_0x5dc133[a50_0x303e24(0xfe)]=a50_0x303e24(0xfe),a50_0x5dc133[a50_0x303e24(0x73)]='disableAutoCaptureLogs',a50_0x5dc133[a50_0x303e24(0xa4)]=a50_0x303e24(0xa4),a50_0x5dc133[a50_0x303e24(0x98)]='accessibilityOptions',a50_0x5dc133[a50_0x303e24(0x121)]='turboScale',a50_0x5dc133[a50_0x303e24(0x77)]=a50_0x303e24(0x77),a50_0x5dc133[a50_0x303e24(0x119)]=a50_0x303e24(0x119),a50_0x5dc133['testOrchestrationOptions']=a50_0x303e24(0xaf);const a50_0x44e19b={};a50_0x44e19b[a50_0x303e24(0xd8)]=a50_0x176c8a,a50_0x44e19b['JEST']=a50_0x6029aa,a50_0x44e19b[a50_0x303e24(0xe7)]=a50_0x12b3ea,a50_0x44e19b['CUCUMBER']=a50_0xee19ac,a50_0x44e19b['VANILLA']=a50_0x122666,a50_0x44e19b['NIGHTWATCH']=a50_0xf2ce47,a50_0x44e19b[a50_0x303e24(0x7d)]=a50_0x3b55c6,a50_0x44e19b[a50_0x303e24(0x105)]=a50_0xa4d272,a50_0x44e19b['HST']=a50_0x2c5237,a50_0x44e19b[a50_0x303e24(0xf3)]=a50_0x11aab5,a50_0x44e19b[a50_0x303e24(0xc2)]=0xf*0x3c*0x3e8,a50_0x44e19b[a50_0x303e24(0x91)]='https://hub.browserstack.com/wd/hub',a50_0x44e19b[a50_0x303e24(0x114)]=a50_0x303e24(0xff),a50_0x44e19b[a50_0x303e24(0xda)]=a50_0x303e24(0x118),a50_0x44e19b[a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a50_0x44e19b[a50_0x303e24(0xba)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a50_0x44e19b[a50_0x303e24(0x11c)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a50_0x44e19b[a50_0x303e24(0x75)]=[a50_0x303e24(0xb5),'pageLoadStrategy',a50_0x303e24(0x13d),a50_0x303e24(0xe0),a50_0x303e24(0x11d),'browserName',a50_0x303e24(0xab),a50_0x303e24(0x7b),a50_0x303e24(0xb2),a50_0x303e24(0xb6),a50_0x303e24(0xe2),a50_0x303e24(0xc3),'ieOptions'],a50_0x44e19b[a50_0x303e24(0x13b)]=/^[\w-]+:.*$/,a50_0x44e19b[a50_0x303e24(0x10e)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a50_0x44e19b[a50_0x303e24(0x126)]=a50_0x303e24(0x129),a50_0x44e19b['BROWSERSTACK_API_URL']=a50_0x303e24(0xed),a50_0x44e19b['APP_UPLOAD_URL']='https://api-cloud.browserstack.com',a50_0x44e19b[a50_0x303e24(0x8c)]='sdk/v1/update_cli',a50_0x44e19b['FUNNEL_INSTRUMENTATION_API_URL']=a50_0x303e24(0x104),a50_0x44e19b[a50_0x303e24(0x13e)]=[a50_0x303e24(0x106),a50_0x303e24(0x94)],a50_0x44e19b[a50_0x303e24(0xd2)]=[a50_0x303e24(0x11f),'observability'],a50_0x44e19b['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a50_0x303e24(0x94)],a50_0x44e19b['OBSERVABILITY_UPLOAD_URL']=a50_0x303e24(0xd6),a50_0x44e19b['OBSERVABILITY_SUPPORTED_FWS']=[a50_0x303e24(0x93),a50_0x303e24(0xae)],a50_0x44e19b[a50_0x303e24(0xe9)]=[a50_0x303e24(0x106)],a50_0x44e19b[a50_0x303e24(0xb8)]=a50_0x303e24(0x10c),a50_0x44e19b[a50_0x303e24(0xa5)]=a50_0x303e24(0x136),a50_0x44e19b['APP_AUTOMATE']=['app-automate'],a50_0x44e19b[a50_0x303e24(0x132)]=['ERR_FAILED',a50_0x303e24(0x79),a50_0x303e24(0xeb),'ERR_NETWORK_CHANGED',a50_0x303e24(0x109),a50_0x303e24(0x13c),a50_0x303e24(0xe5),a50_0x303e24(0x9b),a50_0x303e24(0x10a),a50_0x303e24(0xd1),'ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID',a50_0x303e24(0x84),'ERR_TUNNEL_CONNECTION_FAILED','ERR_CONNECTION_TIMED_OUT',a50_0x303e24(0xd7),a50_0x303e24(0xef),a50_0x303e24(0xde),a50_0x303e24(0x127),'ERR_NAME_RESOLUTION_FAILED',a50_0x303e24(0x80)],a50_0x44e19b[a50_0x303e24(0x102)]=[a50_0x303e24(0x12a),a50_0x303e24(0xa2),'.ipa'],a50_0x44e19b[a50_0x303e24(0x95)]='^[a-zA-Z0-9_.-]*$',a50_0x44e19b[a50_0x303e24(0xbd)]='^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$',a50_0x44e19b[a50_0x303e24(0x123)]=a50_0x303e24(0xdc),a50_0x44e19b[a50_0x303e24(0xc1)]='wss://cdp.browserstack.com/playwright?caps=',a50_0x44e19b[a50_0x303e24(0x8e)]=a50_0x447916,a50_0x44e19b['PERCY_SUPPORTED_FRAMEWORKS']=['jest',a50_0x303e24(0x93)],a50_0x44e19b[a50_0x303e24(0xbf)]=a50_0x345eae,a50_0x44e19b[a50_0x303e24(0xf2)]=a50_0x303e24(0x107),a50_0x44e19b[a50_0x303e24(0x81)]=a50_0x2833df,a50_0x44e19b[a50_0x303e24(0xc6)]=0x40*0x400,a50_0x44e19b[a50_0x303e24(0x83)]=a50_0x303e24(0x135),a50_0x44e19b['UPGRADE_REQUIRED']='Upgrade\x20required',a50_0x44e19b['TCG_DOWN']='SDKTestTcgDownResponse',a50_0x44e19b['INVALID_INIT_RESP_WITH_USER_IMPACT']=a50_0x303e24(0x85),a50_0x44e19b[a50_0x303e24(0xc0)]=a50_0x303e24(0xc5),a50_0x44e19b[a50_0x303e24(0x100)]=a50_0x303e24(0x116),a50_0x44e19b['AI_INIT_FAILURE']=a50_0x303e24(0x134),a50_0x44e19b[a50_0x303e24(0xa3)]=a50_0x303e24(0xa8),a50_0x44e19b[a50_0x303e24(0xfc)]=0x1388,a50_0x44e19b[a50_0x303e24(0xcc)]=0x1388,a50_0x44e19b[a50_0x303e24(0xfb)]=0x1388,a50_0x44e19b[a50_0x303e24(0x99)]=0x1388,a50_0x44e19b[a50_0x303e24(0x12b)]=0xc350,a50_0x44e19b[a50_0x303e24(0xfa)]=a50_0x81b2be,a50_0x44e19b[a50_0x303e24(0xdd)]=[a50_0x303e24(0xf7),a50_0x303e24(0xe4)],a50_0x44e19b[a50_0x303e24(0xf1)]=a50_0x5dc133,a50_0x44e19b[a50_0x303e24(0x8f)]='/usage.log',a50_0x44e19b['DEBUG_LOG_FILE_NAME']=a50_0x303e24(0x108),a50_0x44e19b[a50_0x303e24(0xfd)]='browserstack.com',a50_0x44e19b['BSTACK_ATS_URL']='browserstack-ats.com',a50_0x44e19b[a50_0x303e24(0x125)]=a50_0x303e24(0xec),a50_0x44e19b[a50_0x303e24(0xf9)]=a50_0x303e24(0xe1),a50_0x44e19b[a50_0x303e24(0xd9)]=[a50_0x303e24(0xa1)],a50_0x44e19b[a50_0x303e24(0xd4)]='PLAYWRIGHT_TRACE_LOGS',module[a50_0x303e24(0xc7)]=a50_0x44e19b;const _env=(process['env']['BROWSERSTACK_ENV']||a50_0x303e24(0x88))[a50_0x303e24(0xf4)]();if(_env==='staging'||_env==='stag'){const EFxTDb=a50_0x303e24(0x138)[a50_0x303e24(0xce)]('|');let SMXJpT=0x0;while(!![]){switch(EFxTDb[SMXJpT++]){case'0':module['exports']['hubUrl']=a50_0x303e24(0xac);continue;case'1':module[a50_0x303e24(0xc7)][a50_0x303e24(0xb8)]='https://automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'2':module[a50_0x303e24(0xc7)]['O11Y_URL']=a50_0x303e24(0x9f);continue;case'3':module[a50_0x303e24(0xc7)][a50_0x303e24(0xc1)]='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'4':module[a50_0x303e24(0xc7)][a50_0x303e24(0x128)]='https://upload-observability-devtestops-ssi.bsstag.com';continue;case'5':module[a50_0x303e24(0xc7)]['BROWSERSTACK_APP_AUTOMATE_URL']=a50_0x303e24(0x124);continue;case'6':module[a50_0x303e24(0xc7)]['BROWSERSTACK']=a50_0x303e24(0x74);continue;case'7':module[a50_0x303e24(0xc7)][a50_0x303e24(0xfd)]='bsstag.com';continue;case'8':module['exports'][a50_0x303e24(0x114)]=a50_0x303e24(0x120);continue;case'9':module[a50_0x303e24(0xc7)][a50_0x303e24(0x78)]=a50_0x303e24(0x76);continue;case'10':module[a50_0x303e24(0xc7)][a50_0x303e24(0x113)]=a50_0x303e24(0x117);continue;case'11':module['exports'][a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a50_0x303e24(0xc7)]['EDS_URL']='https://edsstaging.bsstag.com';continue;}break;}}else{if(_env===a50_0x303e24(0xbb)||_env==='pre-prod'){const vcxBlK=a50_0x303e24(0x139)[a50_0x303e24(0xce)]('|');let kobjrz=0x0;while(!![]){switch(vcxBlK[kobjrz++]){case'0':module['exports'][a50_0x303e24(0x125)]=a50_0x303e24(0x137);continue;case'1':module[a50_0x303e24(0xc7)][a50_0x303e24(0x113)]='https://api-preprod.bsstag.com';continue;case'2':module['exports'][a50_0x303e24(0x91)]=a50_0x303e24(0x12c);continue;case'3':module[a50_0x303e24(0xc7)][a50_0x303e24(0xa5)]=a50_0x303e24(0x97);continue;case'4':module['exports'][a50_0x303e24(0xc1)]=a50_0x303e24(0x92);continue;case'5':module[a50_0x303e24(0xc7)]['OBSERVABILITY_UPLOAD_URL']=a50_0x303e24(0x9c);continue;case'6':module['exports']['EDS_URL']=a50_0x303e24(0xb0);continue;case'7':module[a50_0x303e24(0xc7)][a50_0x303e24(0xb8)]='https://automate-preprod.bsstag.com/dashboard/v2/builds/';continue;case'8':module[a50_0x303e24(0xc7)]['APP_UPLOAD_URL']='https://api-preprod.bsstag.com';continue;case'9':module[a50_0x303e24(0xc7)][a50_0x303e24(0x114)]='https://tcg-preprod.bsstag.com';continue;case'10':module[a50_0x303e24(0xc7)][a50_0x303e24(0xf9)]=a50_0x303e24(0x74);continue;case'11':module[a50_0x303e24(0xc7)][a50_0x303e24(0x10b)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'12':module[a50_0x303e24(0xc7)][a50_0x303e24(0xfd)]=a50_0x303e24(0xdf);continue;}break;}}}
|
|
1
|
+
const a50_0x4825c1=a50_0x5cff;(function(_0x49ef90,_0x2b1246){const _0x4da003=a50_0x5cff,_0x5344b8=_0x49ef90();while(!![]){try{const _0x237142=-parseInt(_0x4da003(0x222))/0x1+-parseInt(_0x4da003(0x260))/0x2*(parseInt(_0x4da003(0x215))/0x3)+parseInt(_0x4da003(0x223))/0x4+-parseInt(_0x4da003(0x1f1))/0x5*(-parseInt(_0x4da003(0x261))/0x6)+-parseInt(_0x4da003(0x210))/0x7*(-parseInt(_0x4da003(0x296))/0x8)+-parseInt(_0x4da003(0x272))/0x9*(-parseInt(_0x4da003(0x283))/0xa)+-parseInt(_0x4da003(0x208))/0xb;if(_0x237142===_0x2b1246)break;else _0x5344b8['push'](_0x5344b8['shift']());}catch(_0x1ec286){_0x5344b8['push'](_0x5344b8['shift']());}}}(a50_0x1186,0x8b3cf));const a50_0x4ab9da={};a50_0x4ab9da[a50_0x4825c1(0x286)]='shows\x20version\x20information',a50_0x4ab9da[a50_0x4825c1(0x26c)]=a50_0x4825c1(0x25b);function a50_0x1186(){const _0x5ef90d=['BSTACK_ATS_URL','INVALID_INIT_RESP_WITH_USER_IMPACT','https://app-automate-preprod.bsstag.com/dashboard/v2/builds/','APP_AUTOMATE','bsstag','testContextOptions','mandatoryDependency','https://api.browserstack.com','./browserstack-artifacts/','https://eds.browserstack.com','proxyPass','AUTOLOGCAPTURE_NOTIFICATION','PLAYWRIGHT_TRACE_LOGS','https://hub-devtestops.bsstag.com/wd/hub','bsstag.com','Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','commonjs','https://upload-observability.browserstack.com','Specify\x20--help\x20for\x20available\x20options','PLAYWRIGHT_HUB_URL','...[TRUNCATED]','acceptInsecureCerts','preprod','6cUmXzR','6MgMjYV','AI_PROXY_FAILURE','BROWSERSTACK','ERR_CONNECTION_RESET','httpProxy','accessibility','percyCaptureMode','PERCY_SUPPORTED_FRAMEWORKS','JEST','FRAMEWORKS','TCG_AUTH_TIMEOUT','HELP','playwright','ERR_ADDRESS_UNREACHABLE','invalidKeys','acceptSslCert','ERR_TIMED_OUT','1936449ipDIZR','VALID_APP_EXTENSION','browserstack.userName','BROWSERSTACK_APP_AUTOMATE_URL','ERR_SOCKS_CONNECTION_FAILED','Run\x20js\x20tests\x20on\x20browserstack','codeceptjs-cucumber','APP_UPLOAD_URL','https://observability-preprod.bsstag.com','automate','logLevel','POLL_HEALING_RESULT_TIMEOUT','https://observability-devtestops.bsstag.com','https://automate-preprod.bsstag.com/dashboard/v2/builds/','https://edsstaging.bsstag.com','Upgrade\x20required','SDK_INSTRUMENTATION_CONFIG','10IkqCCJ','BROWSERSTACK_AUTOMATE_URL','sdk/v1/update_cli','INFO','cucumber','https://hub.browserstack.com/wd/hub','proxySettings','REDACTED_KEYS','accessibilityOptions','proxyPassword','SHAREABLE_ID_REGEX','https://upload-observability-devtestops-ssi.bsstag.com','MODULE','https://api-preprod.bsstag.com','ATS_WSS_URL_REGEX','CODECEPT_CUCUMBER','DEBUG_LOG_FILE_NAME','ATS_HUB_URL_REGEX','2|7|1|0|4|11|5|12|10|9|3|8|6','8PfskEA','FUNNEL_INSTRUMENTATION_API_URL','https://observability.browserstack.com','PRIVATE_DOMAIN_OR_IP_REGEX','Playwright','browserstackLocal','https://automate-devtestops.bsstag.com/dashboard/v2/builds/','rerunTests','SDKTestInvalidTcgAuthResponseWithUserImpact','mocha','httpsProxy','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','INTEGRATIONS','https://tcg.browserstack.com','NIGHTWATCH','invalidTestInputType','BSTACK_DELTA','turboScale','hubUrl','testObservability','^[a-zA-Z0-9_.-]*$','ERR_NAME_NOT_RESOLVED','testOrchestrationOptions','https://api-cloud-devtestops.bsstag.com','APP_AUTOMATE_PRODUCTS','CI_ARTIFACTS_PATH','UPDATED_CLI_ENDPOINT','HEALING_LOG_DATA_TIMEOUT','ROOT_REGEX','SDKTestTcgProxyFailure','HEALING_FAILURE_TIMEOUT','authToken','TCG_URL','ERR_CONNECTION_CLOSED','testObservabilityOptions','prod','2202355XtAbQI','MOCHA','ERR_CONNECTION_FAILED','edgeOptions','CODECEPT','ERR_NAME_RESOLUTION_FAILED','root','ERR_NETWORK_CHANGED','unhandledPromptBehavior','Connect\x20on\x20prem\x20instances\x20to\x20Browserstack','timeouts','ERR_CONNECTION_ABORTED','Run\x20cucumber-js\x20tests\x20on\x20browserstack','LOG_FILE_NAME','O11Y_URL','UPGRADE_REQUIRED','codeceptjs','use','staging','BROWSERSTACK_API_URL','acceptSslCerts','ERR_BLOCKED_BY_CLIENT','CODECEPTJS','5699397aqWsDR','sdk/v1/event','browserstack','automation','module','CUCUMBER','platforms','ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','6357862ZaPqDP','browserstack.com','ERR_CONNECTION_TIMED_OUT','chromeOptions','EDS_URL','487923JCffDt','customVariables','PRODUCT_IF_NOT_BROWSERSTACK_INFRA','browserVersion','ERR_SOCKET_NOT_CONNECTED','exports','SDKTestTcgDownResponse','ERR_CONNECTION_REFUSED','observability','7|6|5|10|9|11|0|2|4|8|12|1|3','SDKTestTcgAuthFailure','https://upload-observability-preprod.bsstag.com','pageLoadStrategy','1095995gAHukY','4433864Tvxrbo','framework','BROWSERSTACK_ENV','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','accessKey','ERR_MANDATORY_PROXY_CONFIGURATION_FAILED','OBSERVABILITY_SUPPORTED_FWS','CUSTOM_ID_REGEX','parallelsPerPlatform','turboScaleOptions','percyOptions','https://app-automate.browserstack.com/dashboard/v2/builds/','ERR_FAILED','percy','browserstackAutomation','HST','uniqueDependency','PLAYWRIGHT_CONFIG_OPTION_ERRORS','SDKTestInitFailedResponse','AI_ENABLED_FRAMEWORK','split','SDKTestTcgtInitSuccessful','Run\x20nightwatch\x20tests\x20on\x20browserstack','AI_INIT_SUCCESSFUL','disableAutoCaptureLogs','TCG_AUTH_FAILURE','localOptions','app-automate','BSTACK_URL','HUB_URL_REGEX','wss://cdp-preprod.bsstag.com/playwright?caps=','OBSERVABILITY_UPLOAD_URL','https://apidevtestops.bsstag.com','GIT_META_DATA_TRUNCATED','PLAYWRIGHT','browserStackLocalOptions','jest','userName'];a50_0x1186=function(){return _0x5ef90d;};return a50_0x1186();}const a50_0x2e6a29={};a50_0x2e6a29[a50_0x4825c1(0x286)]='Run\x20jest\x20tests\x20on\x20browserstack';const a50_0x4955a9={};a50_0x4955a9[a50_0x4825c1(0x286)]='Run\x20mocha\x20tests\x20on\x20browserstack';const a50_0x56725c={};a50_0x56725c[a50_0x4825c1(0x286)]=a50_0x4825c1(0x1fd);const a50_0x440249={};a50_0x440249['INFO']=a50_0x4825c1(0x277);const a50_0x3ba993={};a50_0x3ba993[a50_0x4825c1(0x286)]=a50_0x4825c1(0x239);const a50_0x5b0e34={};a50_0x5b0e34[a50_0x4825c1(0x286)]='Run\x20playwright\x20tests\x20on\x20Browserstack';const a50_0x448ad8={};a50_0x448ad8[a50_0x4825c1(0x286)]='Run\x20codeceptjs\x20tests\x20on\x20browserstack';const a50_0xf413f4={};a50_0xf413f4[a50_0x4825c1(0x286)]='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';const a50_0x23d65c={};a50_0x23d65c['INFO']=a50_0x4825c1(0x1fa);function a50_0x5cff(_0x8c4848,_0x5c4163){const _0x118652=a50_0x1186();return a50_0x5cff=function(_0x5cff6f,_0x4df051){_0x5cff6f=_0x5cff6f-0x1e1;let _0x30047c=_0x118652[_0x5cff6f];return _0x30047c;},a50_0x5cff(_0x8c4848,_0x5c4163);}const a50_0x3c45a5={};a50_0x3c45a5[a50_0x4825c1(0x245)]=a50_0x4825c1(0x29a),a50_0x3c45a5[a50_0x4825c1(0x1f2)]=a50_0x4825c1(0x29f),a50_0x3c45a5[a50_0x4825c1(0x269)]=a50_0x4825c1(0x247),a50_0x3c45a5[a50_0x4825c1(0x1f5)]=a50_0x4825c1(0x201),a50_0x3c45a5[a50_0x4825c1(0x292)]=a50_0x4825c1(0x278),a50_0x3c45a5[a50_0x4825c1(0x20d)]=a50_0x4825c1(0x287);const a50_0x1332df={};a50_0x1332df[a50_0x4825c1(0x26f)]=a50_0x4825c1(0x258),a50_0x1332df[a50_0x4825c1(0x233)]='name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a50_0x1332df[a50_0x4825c1(0x24f)]='name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a50_0x1332df[a50_0x4825c1(0x2a5)]=a50_0x4825c1(0x226);const a50_0x5d3c8c={};a50_0x5d3c8c['COMMONJS']=a50_0x4825c1(0x259),a50_0x5d3c8c[a50_0x4825c1(0x28f)]=a50_0x4825c1(0x20c);const a50_0x5e6b22={};a50_0x5e6b22[a50_0x4825c1(0x1f7)]=[a50_0x4825c1(0x248),a50_0x4825c1(0x227),a50_0x4825c1(0x265),a50_0x4825c1(0x2a0),a50_0x4825c1(0x216),a50_0x4825c1(0x274),'browserstack.accessKey',a50_0x4825c1(0x28c),a50_0x4825c1(0x1ec),'proxyUrl','browserstack.overridelocalInfo.userAuthToken'],a50_0x5e6b22[a50_0x4825c1(0x246)]=['proxyUser',a50_0x4825c1(0x253),'localProxyUser','localProxyPass'];const a50_0x8e826e={};a50_0x8e826e[a50_0x4825c1(0x29b)]=a50_0x4825c1(0x29b),a50_0x8e826e[a50_0x4825c1(0x246)]=a50_0x4825c1(0x246),a50_0x8e826e[a50_0x4825c1(0x23d)]=a50_0x4825c1(0x246),a50_0x8e826e[a50_0x4825c1(0x22b)]='parallelsPerPlatform',a50_0x8e826e[a50_0x4825c1(0x20e)]=a50_0x4825c1(0x20e),a50_0x8e826e['logLevel']=a50_0x4825c1(0x27c),a50_0x8e826e[a50_0x4825c1(0x265)]=a50_0x4825c1(0x265),a50_0x8e826e['httpsProxy']=a50_0x4825c1(0x2a0),a50_0x8e826e['framework']=a50_0x4825c1(0x224),a50_0x8e826e[a50_0x4825c1(0x24e)]=a50_0x4825c1(0x24e),a50_0x8e826e[a50_0x4825c1(0x2a9)]=a50_0x4825c1(0x2a9),a50_0x8e826e[a50_0x4825c1(0x1ef)]='testObservabilityOptions',a50_0x8e826e[a50_0x4825c1(0x216)]=a50_0x4825c1(0x216),a50_0x8e826e[a50_0x4825c1(0x20b)]=a50_0x4825c1(0x231),a50_0x8e826e['browserstackAutomation']=a50_0x4825c1(0x231),a50_0x8e826e[a50_0x4825c1(0x29d)]='rerunTests',a50_0x8e826e[a50_0x4825c1(0x230)]='percy',a50_0x8e826e[a50_0x4825c1(0x22d)]=a50_0x4825c1(0x22d),a50_0x8e826e['percyCaptureMode']=a50_0x4825c1(0x267),a50_0x8e826e[a50_0x4825c1(0x23b)]=a50_0x4825c1(0x23b),a50_0x8e826e[a50_0x4825c1(0x266)]='accessibility',a50_0x8e826e[a50_0x4825c1(0x28b)]=a50_0x4825c1(0x28b),a50_0x8e826e['turboScale']=a50_0x4825c1(0x2a7),a50_0x8e826e['turboScaleOptions']=a50_0x4825c1(0x22c),a50_0x8e826e['proxySettings']=a50_0x4825c1(0x289),a50_0x8e826e[a50_0x4825c1(0x1e3)]='testOrchestrationOptions';const a50_0x45291a={};a50_0x45291a['VERSION']=a50_0x4ab9da,a50_0x45291a[a50_0x4825c1(0x269)]=a50_0x2e6a29,a50_0x45291a['MOCHA']=a50_0x4955a9,a50_0x45291a[a50_0x4825c1(0x20d)]=a50_0x56725c,a50_0x45291a['VANILLA']=a50_0x440249,a50_0x45291a[a50_0x4825c1(0x2a4)]=a50_0x3ba993,a50_0x45291a['PLAYWRIGHT']=a50_0x5b0e34,a50_0x45291a[a50_0x4825c1(0x207)]=a50_0x448ad8,a50_0x45291a[a50_0x4825c1(0x232)]=a50_0xf413f4,a50_0x45291a[a50_0x4825c1(0x2a2)]=a50_0x23d65c,a50_0x45291a[a50_0x4825c1(0x2a6)]=0xf*0x3c*0x3e8,a50_0x45291a[a50_0x4825c1(0x2a8)]=a50_0x4825c1(0x288),a50_0x45291a[a50_0x4825c1(0x1ed)]=a50_0x4825c1(0x2a3),a50_0x45291a['TCG_REGION']=a50_0x4825c1(0x202),a50_0x45291a[a50_0x4825c1(0x240)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a50_0x45291a[a50_0x4825c1(0x294)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a50_0x45291a[a50_0x4825c1(0x291)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a50_0x45291a['ROOT_CAPS']=[a50_0x4825c1(0x25e),a50_0x4825c1(0x221),'strictFileInteractability',a50_0x4825c1(0x1f9),a50_0x4825c1(0x1fb),'browserName',a50_0x4825c1(0x218),a50_0x4825c1(0x205),a50_0x4825c1(0x270),a50_0x4825c1(0x213),'firefoxOptions',a50_0x4825c1(0x1f4),'ieOptions'],a50_0x45291a[a50_0x4825c1(0x1e9)]=/^[\w-]+:.*$/,a50_0x45291a[a50_0x4825c1(0x299)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a50_0x45291a[a50_0x4825c1(0x214)]=a50_0x4825c1(0x252),a50_0x45291a[a50_0x4825c1(0x204)]=a50_0x4825c1(0x250),a50_0x45291a[a50_0x4825c1(0x279)]='https://api-cloud.browserstack.com',a50_0x45291a[a50_0x4825c1(0x1e7)]=a50_0x4825c1(0x285),a50_0x45291a[a50_0x4825c1(0x297)]=a50_0x4825c1(0x209),a50_0x45291a['AUTOMATE_PRODUCTS']=[a50_0x4825c1(0x27b),a50_0x4825c1(0x21d)],a50_0x45291a[a50_0x4825c1(0x1e5)]=[a50_0x4825c1(0x23e),a50_0x4825c1(0x21d)],a50_0x45291a[a50_0x4825c1(0x217)]=[a50_0x4825c1(0x21d)],a50_0x45291a[a50_0x4825c1(0x242)]=a50_0x4825c1(0x25a),a50_0x45291a[a50_0x4825c1(0x229)]=['mocha','Playwright'],a50_0x45291a['AUTOMATE']=['automate'],a50_0x45291a[a50_0x4825c1(0x284)]='https://automate.browserstack.com/dashboard/v2/builds/',a50_0x45291a[a50_0x4825c1(0x275)]=a50_0x4825c1(0x22e),a50_0x45291a[a50_0x4825c1(0x24c)]=[a50_0x4825c1(0x23e)],a50_0x45291a['NUDGE_LOCAL_ERRORS']=[a50_0x4825c1(0x22f),a50_0x4825c1(0x271),a50_0x4825c1(0x206),a50_0x4825c1(0x1f8),a50_0x4825c1(0x219),a50_0x4825c1(0x1ee),a50_0x4825c1(0x264),a50_0x4825c1(0x21c),a50_0x4825c1(0x1fc),a50_0x4825c1(0x1f3),'ERR_NAME_NOT_RESOLVED','ERR_ADDRESS_INVALID',a50_0x4825c1(0x26e),'ERR_TUNNEL_CONNECTION_FAILED',a50_0x4825c1(0x212),a50_0x4825c1(0x276),a50_0x4825c1(0x20f),'ERR_PROXY_CONNECTION_FAILED',a50_0x4825c1(0x1e2),a50_0x4825c1(0x1f6),a50_0x4825c1(0x228)],a50_0x45291a[a50_0x4825c1(0x273)]=['.apk','.aab','.ipa'],a50_0x45291a[a50_0x4825c1(0x22a)]=a50_0x4825c1(0x1e1),a50_0x45291a[a50_0x4825c1(0x28d)]=a50_0x4825c1(0x2a1),a50_0x45291a[a50_0x4825c1(0x1e6)]=a50_0x4825c1(0x251),a50_0x45291a[a50_0x4825c1(0x25c)]='wss://cdp.browserstack.com/playwright?caps=',a50_0x45291a[a50_0x4825c1(0x26a)]=a50_0x3c45a5,a50_0x45291a[a50_0x4825c1(0x268)]=[a50_0x4825c1(0x247),a50_0x4825c1(0x29f)],a50_0x45291a[a50_0x4825c1(0x234)]=a50_0x1332df,a50_0x45291a[a50_0x4825c1(0x254)]='Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.',a50_0x45291a['PACKAGE_TYPE']=a50_0x5d3c8c,a50_0x45291a['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a50_0x45291a[a50_0x4825c1(0x244)]=a50_0x4825c1(0x25d),a50_0x45291a[a50_0x4825c1(0x200)]=a50_0x4825c1(0x281),a50_0x45291a['TCG_DOWN']=a50_0x4825c1(0x21b),a50_0x45291a[a50_0x4825c1(0x24a)]=a50_0x4825c1(0x29e),a50_0x45291a[a50_0x4825c1(0x23c)]=a50_0x4825c1(0x21f),a50_0x45291a[a50_0x4825c1(0x23a)]=a50_0x4825c1(0x238),a50_0x45291a['AI_INIT_FAILURE']=a50_0x4825c1(0x235),a50_0x45291a[a50_0x4825c1(0x262)]=a50_0x4825c1(0x1ea),a50_0x45291a[a50_0x4825c1(0x26b)]=0x1388,a50_0x45291a['SET_TCG_TOKEN_TIMEOUT']=0x1388,a50_0x45291a[a50_0x4825c1(0x1e8)]=0x1388,a50_0x45291a[a50_0x4825c1(0x1eb)]=0x1388,a50_0x45291a[a50_0x4825c1(0x27d)]=0xc350,a50_0x45291a[a50_0x4825c1(0x28a)]=a50_0x5e6b22,a50_0x45291a[a50_0x4825c1(0x236)]=['vanilla','codeceptjs'],a50_0x45291a[a50_0x4825c1(0x282)]=a50_0x8e826e,a50_0x45291a[a50_0x4825c1(0x1fe)]='/usage.log',a50_0x45291a[a50_0x4825c1(0x293)]='/usage-debug.log',a50_0x45291a['BSTACK_URL']=a50_0x4825c1(0x211),a50_0x45291a[a50_0x4825c1(0x249)]='browserstack-ats.com',a50_0x45291a[a50_0x4825c1(0x1ff)]=a50_0x4825c1(0x298),a50_0x45291a[a50_0x4825c1(0x263)]=a50_0x4825c1(0x20a),a50_0x45291a['CLI_SUPPORTED_FRAMEWORKS']=[a50_0x4825c1(0x26d)],a50_0x45291a[a50_0x4825c1(0x255)]=a50_0x4825c1(0x255),module[a50_0x4825c1(0x21a)]=a50_0x45291a;const _env=(process['env'][a50_0x4825c1(0x225)]||a50_0x4825c1(0x1f0))['toLowerCase']();if(_env===a50_0x4825c1(0x203)||_env==='stag'){const pLIxVx=a50_0x4825c1(0x21e)[a50_0x4825c1(0x237)]('|');let ahBrCg=0x0;while(!![]){switch(pLIxVx[ahBrCg++]){case'0':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x279)]=a50_0x4825c1(0x1e4);continue;case'1':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x214)]=a50_0x4825c1(0x280);continue;case'2':module[a50_0x4825c1(0x21a)]['PLAYWRIGHT_HUB_URL']='wss://cdp-devtestops.bsstag.com/playwright?caps=';continue;case'3':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x263)]=a50_0x4825c1(0x24d);continue;case'4':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x23f)]='bsstag.com';continue;case'5':module['exports'][a50_0x4825c1(0x1ed)]='https://tcg.bsstag.com';continue;case'6':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x204)]=a50_0x4825c1(0x243);continue;case'7':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x2a8)]=a50_0x4825c1(0x256);continue;case'8':module['exports'][a50_0x4825c1(0x1ff)]=a50_0x4825c1(0x27e);continue;case'9':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x284)]=a50_0x4825c1(0x29c);continue;case'10':module['exports'][a50_0x4825c1(0x240)]=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'11':module[a50_0x4825c1(0x21a)]['BROWSERSTACK_APP_AUTOMATE_URL']='https://app-automate-devtestops.bsstag.com/dashboard/v2/builds/';continue;case'12':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x242)]=a50_0x4825c1(0x28e);continue;}break;}}else{if(_env===a50_0x4825c1(0x25f)||_env==='pre-prod'){const HdqYyC=a50_0x4825c1(0x295)[a50_0x4825c1(0x237)]('|');let ygJEEP=0x0;while(!![]){switch(HdqYyC[ygJEEP++]){case'0':module[a50_0x4825c1(0x21a)]['HUB_URL_REGEX']=/^hub(-[a-z]+)?\.bsstag\.com$/;continue;case'1':module[a50_0x4825c1(0x21a)]['TCG_URL']='https://tcg-preprod.bsstag.com';continue;case'2':module[a50_0x4825c1(0x21a)]['hubUrl']='https://hub-preprod.bsstag.com/wd/hub';continue;case'3':module['exports'][a50_0x4825c1(0x242)]=a50_0x4825c1(0x220);continue;case'4':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x284)]=a50_0x4825c1(0x27f);continue;case'5':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x279)]=a50_0x4825c1(0x290);continue;case'6':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x263)]=a50_0x4825c1(0x24d);continue;case'7':module['exports'][a50_0x4825c1(0x204)]=a50_0x4825c1(0x290);continue;case'8':module['exports']['EDS_URL']=a50_0x4825c1(0x280);continue;case'9':module['exports'][a50_0x4825c1(0x1ff)]=a50_0x4825c1(0x27a);continue;case'10':module[a50_0x4825c1(0x21a)]['BSTACK_URL']=a50_0x4825c1(0x257);continue;case'11':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x275)]=a50_0x4825c1(0x24b);continue;case'12':module[a50_0x4825c1(0x21a)][a50_0x4825c1(0x25c)]=a50_0x4825c1(0x241);continue;}break;}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a51_0x5daa(_0x4090b8,_0x3d01d7){const _0x2efb1e=a51_0x2efb();return a51_0x5daa=function(_0x5daa5b,_0x169190){_0x5daa5b=_0x5daa5b-0x15e;let _0x582029=_0x2efb1e[_0x5daa5b];return _0x582029;},a51_0x5daa(_0x4090b8,_0x3d01d7);}function a51_0x2efb(){const _0x1abc81=['92336QZSMGD','30ldcseJ','data','33913kSvZcH','colouredLayout','./logReportingAPI','106aflInP','layout','8536824WReuXL','timezoneOffset','7170920uRvUlL','levelStr','224PGxGRw','5204901DyNxxE','560VbsvcT','8861LXpjNJ','level','804730LHWNMv','FuJFs','configure'];a51_0x2efb=function(){return _0x1abc81;};return a51_0x2efb();}const a51_0x557e97=a51_0x5daa;(function(_0x2566d7,_0x11fb51){const _0xa2b46b=a51_0x5daa,_0xf1569b=_0x2566d7();while(!![]){try{const _0x49d6db=parseInt(_0xa2b46b(0x160))/0x1*(parseInt(_0xa2b46b(0x16b))/0x2)+-parseInt(_0xa2b46b(0x15e))/0x3+parseInt(_0xa2b46b(0x16f))/0x4+-parseInt(_0xa2b46b(0x162))/0x5*(-parseInt(_0xa2b46b(0x166))/0x6)+-parseInt(_0xa2b46b(0x171))/0x7*(-parseInt(_0xa2b46b(0x165))/0x8)+-parseInt(_0xa2b46b(0x16d))/0x9+-parseInt(_0xa2b46b(0x15f))/0xa*(-parseInt(_0xa2b46b(0x168))/0xb);if(_0x49d6db===_0x11fb51)break;else _0xf1569b['push'](_0xf1569b['shift']());}catch(_0x5cd240){_0xf1569b['push'](_0xf1569b['shift']());}}}(a51_0x2efb,0xe1f8e));const logReportingAPI=require(a51_0x557e97(0x16a)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x43a327,_0x43b57a){return _0x2cc2fc=>{const _0x266f44=a51_0x5daa;BSTestOpsLogger['log']({'level':_0x2cc2fc[_0x266f44(0x161)]?_0x2cc2fc[_0x266f44(0x161)][_0x266f44(0x170)]:null,'message':_0x2cc2fc[_0x266f44(0x167)]?_0x2cc2fc['data']['join']('\x20'):null});};}exports[a51_0x557e97(0x164)]=(_0x1f1dee,_0x40f5ee)=>{const _0x56ada3=a51_0x557e97,_0x3aad31={'FuJFs':function(_0x37262a,_0x357d3d,_0x46fedb){return _0x37262a(_0x357d3d,_0x46fedb);}};let _0x39ef9b=_0x40f5ee[_0x56ada3(0x169)];return _0x1f1dee[_0x56ada3(0x16c)]&&(_0x39ef9b=_0x40f5ee[_0x56ada3(0x16c)](_0x1f1dee['layout']['type'],_0x1f1dee[_0x56ada3(0x16c)])),_0x3aad31[_0x56ada3(0x163)](BSTestOpsLog4JSAppender,_0x39ef9b,_0x1f1dee[_0x56ada3(0x16e)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x5b0530=a52_0x5079;(function(_0x53a71b,_0x2eb50f){const _0x570572=a52_0x5079,_0x2a6fc5=_0x53a71b();while(!![]){try{const _0x5a2b31=parseInt(_0x570572(0xde))/0x1*(parseInt(_0x570572(0xed))/0x2)+parseInt(_0x570572(0xcf))/0x3+-parseInt(_0x570572(0xe4))/0x4+-parseInt(_0x570572(0xe6))/0x5+parseInt(_0x570572(0xd0))/0x6*(parseInt(_0x570572(0xd1))/0x7)+parseInt(_0x570572(0xec))/0x8+-parseInt(_0x570572(0xe1))/0x9*(parseInt(_0x570572(0xd6))/0xa);if(_0x5a2b31===_0x2eb50f)break;else _0x2a6fc5['push'](_0x2a6fc5['shift']());}catch(_0x17ad5d){_0x2a6fc5['push'](_0x2a6fc5['shift']());}}}(a52_0x2324,0x233c5));const Transport=require(a52_0x5b0530(0xe0)),{consoleHolder}=require(a52_0x5b0530(0xe5)),a52_0x54dc5a={};a52_0x54dc5a[a52_0x5b0530(0xeb)]=a52_0x5b0530(0xeb),a52_0x54dc5a[a52_0x5b0530(0xce)]='ERROR',a52_0x54dc5a[a52_0x5b0530(0xee)]=a52_0x5b0530(0xee),a52_0x54dc5a[a52_0x5b0530(0xda)]=a52_0x5b0530(0xda),a52_0x54dc5a[a52_0x5b0530(0xd3)]=a52_0x5b0530(0xd3);const LOG_LEVELS=a52_0x54dc5a;class logPatcher extends Transport{constructor(_0x4881e6){super(_0x4881e6);}[a52_0x5b0530(0xdf)]=(_0x280e8b=LOG_LEVELS['INFO'],_0x301e72=[''])=>{const _0xcc724f=a52_0x5b0530,_0x396b6b={};_0x396b6b[_0xcc724f(0xdd)]=_0xcc724f(0xd4);const _0x3cc6d2=_0x396b6b;consoleHolder[_0x280e8b[_0xcc724f(0xd5)]()](..._0x301e72),process[_0xcc724f(0xdc)]('bs:addLog:'+process[_0xcc724f(0xd2)],{'timestamp':new Date()[_0xcc724f(0xe3)](),'level':_0x280e8b[_0xcc724f(0xe7)](),'message':'\x22'+_0x301e72[_0xcc724f(0xdb)](',\x20')+'\x22','kind':_0x3cc6d2[_0xcc724f(0xdd)],'http_response':{}});};[a52_0x5b0530(0xd8)]=(..._0x58738e)=>{const _0x248683=a52_0x5b0530;this[_0x248683(0xdf)](LOG_LEVELS['TRACE'],_0x58738e);};[a52_0x5b0530(0xe8)]=(..._0x4b0a56)=>{const _0x5b1af6=a52_0x5b0530;this[_0x5b1af6(0xdf)](LOG_LEVELS[_0x5b1af6(0xee)],_0x4b0a56);};[a52_0x5b0530(0xd9)]=(..._0x32b017)=>{const _0x2f20f2=a52_0x5b0530;this[_0x2f20f2(0xdf)](LOG_LEVELS['INFO'],_0x32b017);};[a52_0x5b0530(0xe9)]=(..._0x33b0bd)=>{const _0x421e90=a52_0x5b0530;this[_0x421e90(0xdf)](LOG_LEVELS[_0x421e90(0xd3)],_0x33b0bd);};[a52_0x5b0530(0xe2)]=(..._0x3ad25b)=>{const _0x6194bc=a52_0x5b0530;this[_0x6194bc(0xdf)](LOG_LEVELS[_0x6194bc(0xce)],_0x3ad25b);};[a52_0x5b0530(0xd7)]=(..._0x3e88e2)=>{const _0xf8dc01=a52_0x5b0530;this[_0xf8dc01(0xdf)](LOG_LEVELS[_0xf8dc01(0xeb)],_0x3e88e2);};}function a52_0x5079(_0x400925,_0x543b5f){const _0x23245a=a52_0x2324();return a52_0x5079=function(_0x5079ee,_0x16d16e){_0x5079ee=_0x5079ee-0xce;let _0x373e1b=_0x23245a[_0x5079ee];return _0x373e1b;},a52_0x5079(_0x400925,_0x543b5f);};function a52_0x2324(){const _0x28d236=['987049cMBLsV','pid','WARN','TEST_LOG','toLowerCase','35450jgRmtL','log','trace','info','TRACE','join','emit','ECZFT','529QNfGCM','logToTestOps','winston-transport','45ebyxML','error','toISOString','347892yvbIpa','../../helpers/test-observability/constants','1288525oNRPke','toUpperCase','debug','warn','exports','INFO','1532792KrnVnD','356WbaxOW','DEBUG','ERROR','239880QmSZvg','6iUTFwP'];a52_0x2324=function(){return _0x28d236;};return a52_0x2324();}module[a52_0x5b0530(0xea)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a53_0x261964=a53_0x268b;(function(_0x3239af,_0x5d6102){const _0x5a6104=a53_0x268b,_0x10398e=_0x3239af();while(!![]){try{const _0x4c39e=-parseInt(_0x5a6104(0x11b))/0x1+-parseInt(_0x5a6104(0x122))/0x2*(-parseInt(_0x5a6104(0x133))/0x3)+-parseInt(_0x5a6104(0x131))/0x4+-parseInt(_0x5a6104(0x117))/0x5+-parseInt(_0x5a6104(0x128))/0x6*(parseInt(_0x5a6104(0x11c))/0x7)+parseInt(_0x5a6104(0x111))/0x8+parseInt(_0x5a6104(0x11f))/0x9*(parseInt(_0x5a6104(0x10e))/0xa);if(_0x4c39e===_0x5d6102)break;else _0x10398e['push'](_0x10398e['shift']());}catch(_0x42cadb){_0x10398e['push'](_0x10398e['shift']());}}}(a53_0x54c4,0x9d952));const Transport=require(a53_0x261964(0x113)),{consoleHolder}=require('../../helpers/test-observability/constants'),a53_0x141d55={};a53_0x141d55[a53_0x261964(0x110)]=a53_0x261964(0x110),a53_0x141d55[a53_0x261964(0x130)]=a53_0x261964(0x130),a53_0x141d55[a53_0x261964(0x124)]='DEBUG',a53_0x141d55[a53_0x261964(0x119)]=a53_0x261964(0x119),a53_0x141d55[a53_0x261964(0x118)]='WARN';const LOG_LEVELS=a53_0x141d55;class logReportingAPI extends Transport{constructor(_0x4d3de5){super(_0x4d3de5);}[a53_0x261964(0x123)](_0x2407c7,_0x382efd){const _0x3cd14e=a53_0x261964,_0x21a4ee={'HesxG':_0x3cd14e(0x112),'WwPhk':function(_0x40b105,_0x40efdd){return _0x40b105(_0x40efdd);},'FvbJX':function(_0x25ac3a,_0x50b8e6){return _0x25ac3a===_0x50b8e6;},'KKCtB':_0x3cd14e(0x11a),'ynlzY':function(_0x18eea7){return _0x18eea7();}};_0x21a4ee['WwPhk'](setImmediate,()=>{const _0x1d602d=_0x3cd14e;this[_0x1d602d(0x114)](_0x21a4ee[_0x1d602d(0x126)],_0x2407c7);}),_0x21a4ee[_0x3cd14e(0x120)](typeof _0x2407c7,_0x21a4ee[_0x3cd14e(0x127)])?this[_0x3cd14e(0x115)](_0x2407c7[_0x3cd14e(0x129)]||LOG_LEVELS[_0x3cd14e(0x110)],_0x2407c7[_0x3cd14e(0x11e)],![]):this[_0x3cd14e(0x115)](LOG_LEVELS[_0x3cd14e(0x110)],_0x2407c7),_0x382efd&&_0x21a4ee[_0x3cd14e(0x134)](_0x382efd);}[a53_0x261964(0x115)]=(_0x34a7fb=LOG_LEVELS[a53_0x261964(0x110)],_0x3a8b47='',_0xe21715=!![])=>{const _0x441f80=a53_0x261964,_0x4835ae={};_0x4835ae[_0x441f80(0x121)]=_0x441f80(0x12f);const _0x6eae32=_0x4835ae;_0xe21715&&consoleHolder[_0x34a7fb[_0x441f80(0x12e)]()](_0x3a8b47),process[_0x441f80(0x114)](_0x441f80(0x132)+process[_0x441f80(0x135)],{'timestamp':new Date()[_0x441f80(0x10f)](),'level':_0x34a7fb[_0x441f80(0x11d)](),'message':_0x3a8b47,'kind':_0x6eae32['nfZYb'],'http_response':{}});};[a53_0x261964(0x12b)]=(_0x27e197,_0x426d8a)=>{const _0x2937fe=a53_0x261964;this[_0x2937fe(0x115)](LOG_LEVELS[_0x2937fe(0x119)],_0x27e197);};[a53_0x261964(0x125)]=(_0x1e85de,_0x389f95)=>{const _0x56b076=a53_0x261964;this['logToTestOps'](LOG_LEVELS[_0x56b076(0x124)],_0x1e85de);};[a53_0x261964(0x12a)]=(_0x346a7d,_0xd7418)=>{const _0x305784=a53_0x261964;this['logToTestOps'](LOG_LEVELS[_0x305784(0x110)],_0x346a7d);};[a53_0x261964(0x116)]=(_0xd3e05c,_0x4728da)=>{const _0x22626c=a53_0x261964;this[_0x22626c(0x115)](LOG_LEVELS[_0x22626c(0x118)],_0xd3e05c);};[a53_0x261964(0x12c)]=(_0x5e33d2,_0x34c1a4)=>{const _0xaf9120=a53_0x261964;this[_0xaf9120(0x115)](LOG_LEVELS[_0xaf9120(0x130)],_0x5e33d2);};};module[a53_0x261964(0x12d)]=logReportingAPI;function a53_0x268b(_0x1ef183,_0x40560a){const _0x54c440=a53_0x54c4();return a53_0x268b=function(_0x268b37,_0x4443ce){_0x268b37=_0x268b37-0x10e;let _0x324395=_0x54c440[_0x268b37];return _0x324395;},a53_0x268b(_0x1ef183,_0x40560a);}function a53_0x54c4(){const _0x368df5=['FvbJX','nfZYb','64uHVyAo','log','DEBUG','debug','HesxG','KKCtB','1118724TSTChn','level','info','trace','error','exports','toLowerCase','TEST_LOG','ERROR','341620frwXLl','bs:addLog:','46578ISyDZH','ynlzY','pid','310ljkvtj','toISOString','INFO','7950376CrOkEE','logged','winston-transport','emit','logToTestOps','warn','1079095bxOtOJ','WARN','TRACE','object','777968wCnCll','21lpCzhk','toUpperCase','message','230337FpSdWw'];a53_0x54c4=function(){return _0x368df5;};return a53_0x54c4();}
|