browserstack-node-sdk 1.36.6 → 1.37.0
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 +1 -66
- 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 -0
- 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 -0
- package/src/helpers/test-orchestration/failfastManager.js +1 -0
- package/src/helpers/test-orchestration/fileHelper.js +1 -0
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -0
- package/src/helpers/test-orchestration/requestUtils.js +1 -0
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -0
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -0
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/helpers/test-orchestration/fail-fast/fileHelper.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/jest.js +0 -1
- package/src/helpers/test-orchestration/fail-fast/requestUtils.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a43_0x5d0230=a43_0x2578;function a43_0x2578(_0x1d24cc,_0x106000){const _0x4ef60c=a43_0x4ef6();return a43_0x2578=function(_0x25788e,_0x2e9c90){_0x25788e=_0x25788e-0x64;let _0x5dc77a=_0x4ef60c[_0x25788e];return _0x5dc77a;},a43_0x2578(_0x1d24cc,_0x106000);}(function(_0xe5a4ec,_0x39f1e3){const _0x4ead16=a43_0x2578,_0x3ca107=_0xe5a4ec();while(!![]){try{const _0x4a103e=parseInt(_0x4ead16(0xff))/0x1*(-parseInt(_0x4ead16(0x71))/0x2)+parseInt(_0x4ead16(0xaf))/0x3*(-parseInt(_0x4ead16(0xc5))/0x4)+-parseInt(_0x4ead16(0xe5))/0x5+-parseInt(_0x4ead16(0xdf))/0x6*(parseInt(_0x4ead16(0x9f))/0x7)+parseInt(_0x4ead16(0xa8))/0x8*(parseInt(_0x4ead16(0xb2))/0x9)+-parseInt(_0x4ead16(0x69))/0xa*(parseInt(_0x4ead16(0xbb))/0xb)+parseInt(_0x4ead16(0xd0))/0xc;if(_0x4a103e===_0x39f1e3)break;else _0x3ca107['push'](_0x3ca107['shift']());}catch(_0x2454bc){_0x3ca107['push'](_0x3ca107['shift']());}}}(a43_0x4ef6,0x75f2e));function a43_0x4ef6(){const _0x56060f=['local_grid','jAySl','qqVcZ','lYvoD','HJRuu','429592xpNLAP','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','../v2/state/automationFrameworkState.js','_browserType','function','info','accessibilityPlatform','24yFedrt','unknown_grid','wsEndpoint','18AfAVql','apply','getAutomationFramework','bzYIB','ejnHu','eGBMK','turboscale','ghnxN','sessionError','367180CMnpjr','ttAAX','currentSessionDetails','BGWZC','OYLNr','getInstance','Xheia','join','YHRDM','model','219508knSPjS','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','client','NylZv','qQziK','performScan','edge','BROWSERSTACK_TEST_OBSERVABILITY','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','currentTest','../v2/browserstackCLI','41655816KUxPLi','QpoNh','testInfo','POST','_onMessage','test','hGDPz','nhyuy','UZcPe','../../helpers/accessibility-automation/scripts','browserstack','browser','JpVPp','LyyFP','prototype','30Sjecxe','includes','cloudProvider','trackEvent','bstackPerformA11yScan','deviceModel','2205440YeUGNw','getDetails','gvZAD','fromEntries','env','TIZqR','__driver','use','version','product','dEYKM','sessionId','entries','platformName','platformDetails','SkWob','MYRRR','url','path','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','../../helpers/test-observability/utils','ENJHR','../../helpers/test-observability/error-handler','message','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','server','27EQurvU','isRunning','chromium','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','MAbIi','LojBZ','../../helpers/accessibility-automation/helper','format','Driver\x20Scan\x20result=','params','PLAYWRIGHT_DISPATCH','Connection','TOgmX','rymjq','connection.js','jbLiC','caps','method','_type','crConnection.js','Not\x20able\x20to\x20import\x20crConnection','connectOptions','QuoPc','lib','bsSessionId','isSZe','jzKvK','Error\x20in\x20finding\x20platform\x20details\x20','Error\x20in\x20importing\x20connection\x20','130hrDZpX','IbCLF','sendMessageToServer','platformVersion','shouldWrapCommand','XvmMt','HQFUT','gwmqL','71014OyryUi','dispatch','ROIvP','TENyy','defineProperty','nGvtN','GZeiW','Error\x20in\x20importing\x20crConnection','platform','dpQNj','bXBzA','Not\x20able\x20to\x20import\x20Connection','ZTJHN','Vvsag','safari','Device\x20Model\x20is\x20not\x20available','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','./accessibility-helper','patchCRConnection','parse','_defaultConnectOptions','_name','KDJiH','toString','wMNbC','DOHiJ','project','ytRee','platform_version','PgtPU','Page\x20Scan\x20result=','zsqpL','setupBrowserDetails','util','bStackParams','Setting\x20session\x20id\x20received\x20from\x20BS\x20','__workerDetails','../v2/state/hookState.js','debug','Page','patchConnection','browserstack-ats.com','mUgoJ','capabilities','titlePath','chrome','1152011zhXAzv','../utils/constants','isRemote','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20'];a43_0x4ef6=function(){return _0x56060f;};return a43_0x4ef6();}const path=require(a43_0x5d0230(0xf7)),url=require(a43_0x5d0230(0xf6)),util=require(a43_0x5d0230(0x92)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule}=require('../../helpers/helper'),{o11yErrorHandler}=require(a43_0x5d0230(0xfb)),{debug,getPlatformDetails}=require(a43_0x5d0230(0xf9)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a43_0x5d0230(0x105)),logger=require('../../helpers/logger')['winstonLogger'],scripts=require(a43_0x5d0230(0xd9)),{browserStackExecuteDriver}=require('../../bin/playwright/accessibility-helper'),AccessibilityHelper=require(a43_0x5d0230(0x82)),constants=require(a43_0x5d0230(0xa0)),BrowserstackCLI=require(a43_0x5d0230(0xcf)),AutomationFrameworkState=require(a43_0x5d0230(0xaa)),HookState=require(a43_0x5d0230(0x96)),getBrowserNameFromChannel=_0x2cd61a=>{const _0x52fa74=a43_0x5d0230,_0x31f894={};_0x31f894[_0x52fa74(0xd1)]=_0x52fa74(0x9e),_0x31f894['ttAAX']=_0x52fa74(0xcb),_0x31f894['bzYIB']='firefox',_0x31f894[_0x52fa74(0xdc)]=_0x52fa74(0x7f);const _0x32e28a=_0x31f894;if(_0x2cd61a[_0x52fa74(0xe0)](_0x32e28a[_0x52fa74(0xd1)]))return _0x32e28a[_0x52fa74(0xd1)];if(_0x2cd61a['includes'](_0x32e28a[_0x52fa74(0xbc)]))return _0x32e28a['ttAAX'];if(_0x2cd61a[_0x52fa74(0xe0)](_0x32e28a[_0x52fa74(0xb5)]))return _0x32e28a['bzYIB'];if(_0x2cd61a[_0x52fa74(0xe0)](_0x32e28a[_0x52fa74(0xdc)]))return _0x32e28a[_0x52fa74(0xdc)];},getBrowserFromWSEndpoint=_0x3dbbd7=>{const _0x332775=a43_0x5d0230,_0xc73510={'jbLiC':_0x332775(0x9e),'KDJiH':function(_0xcc5535,_0x11e0cf){return _0xcc5535(_0x11e0cf);}};try{const _0xec9ca4=url[_0x332775(0x84)](_0x3dbbd7),_0x523d25=new URLSearchParams(_0xec9ca4['query']),_0x2aaf38=Object[_0x332775(0xe8)](_0x523d25[_0x332775(0xf1)]()),_0x1932cb=JSON['parse'](_0x2aaf38[_0x332775(0x10f)]);if(_0x1932cb&&(_0x1932cb[_0x332775(0xdb)]||_0x1932cb['browserName']))return _0x1932cb[_0x332775(0xdb)]||_0x1932cb['browserName'];return _0xc73510[_0x332775(0x10e)];}catch(_0x5fe86c){_0xc73510[_0x332775(0x87)](debug,_0x332775(0xa2)+_0x5fe86c[_0x332775(0x88)]());}},getCloudProviderFromWsEndpoint=_0x5de709=>{const _0x1ac074=a43_0x5d0230,_0x48c180={};_0x48c180[_0x1ac074(0x6f)]='browserstack.com',_0x48c180[_0x1ac074(0xc1)]=_0x1ac074(0x9a),_0x48c180[_0x1ac074(0xef)]=_0x1ac074(0xda),_0x48c180['qqVcZ']=_0x1ac074(0xb0);const _0x48f8f0=_0x48c180;if(_0x5de709['includes'](_0x48f8f0[_0x1ac074(0x6f)])||_0x5de709[_0x1ac074(0xe0)](_0x48f8f0[_0x1ac074(0xc1)]))return _0x48f8f0[_0x1ac074(0xef)];return _0x48f8f0[_0x1ac074(0xa5)];},a43_0x471c10={};a43_0x471c10[a43_0x5d0230(0xe1)]=undefined,a43_0x471c10[a43_0x5d0230(0x64)]=undefined,a43_0x471c10[a43_0x5d0230(0xdb)]=undefined,a43_0x471c10['browser_version']=undefined,a43_0x471c10[a43_0x5d0230(0x79)]=undefined,a43_0x471c10['platform_version']=undefined,a43_0x471c10[a43_0x5d0230(0xee)]=undefined,a43_0x471c10[a43_0x5d0230(0x9c)]={};class PlaywrightSessionDetails{static [a43_0x5d0230(0xbd)]=a43_0x471c10;constructor(){const _0x1fb775=a43_0x5d0230,_0xd067f1={};_0xd067f1[_0x1fb775(0xc9)]=_0x1fb775(0x81);const _0x1417cd=_0xd067f1;throw new Error(_0x1417cd[_0x1fb775(0xc9)]);}static [a43_0x5d0230(0xba)]=null;static['setupBrowserDetails'](_0x180406,_0xacc19,_0x37b778=null){const _0x2c1e69=a43_0x5d0230,_0x1ad475={'nGvtN':function(_0x2e3cb6,_0x3996ae){return _0x2e3cb6===_0x3996ae;},'Vvsag':_0x2c1e69(0xac),'ytRee':_0x2c1e69(0xcd),'ENJHR':_0x2c1e69(0x80),'rymjq':_0x2c1e69(0xa3),'PgtPU':function(_0x3d2900,_0x1cb504,_0x438720){return _0x3d2900(_0x1cb504,_0x438720);},'LDuVp':_0x2c1e69(0xab),'TOgmX':_0x2c1e69(0x85),'BGWZC':function(_0x33f3b5,_0xeffcf1,_0xa4d053){return _0x33f3b5(_0xeffcf1,_0xa4d053);},'zsqpL':_0x2c1e69(0x8b),'HJRuu':_0x2c1e69(0xec),'XvmMt':_0x2c1e69(0x114),'jzKvK':function(_0xfa4972,_0x1af37){return _0xfa4972(_0x1af37);},'SkZIJ':function(_0x3423c2,_0x31f86a){return _0x3423c2===_0x31f86a;},'TIZqR':_0x2c1e69(0xda),'wMNbC':_0x2c1e69(0xb8),'ncoEY':'automate','gKwtw':function(_0x30b8c4,_0x41495e){return _0x30b8c4(_0x41495e);},'OYLNr':function(_0x15a1cf,_0x547f20){return _0x15a1cf+_0x547f20;},'isSZe':'playwright-','MAbIi':function(_0xf33171){return _0xf33171();},'ejnHu':_0x2c1e69(0x91)},_0x32308c=this;return _0x1ad475[_0x2c1e69(0xbe)](o11yErrorHandler,async function _0x3c5c24(_0xec4487,_0x3034c3,_0x25a49d=null){const _0x219113=_0x2c1e69;let _0x5e297c=_0xec4487[_0x219113(0x86)],_0x35d27e=null;_0xec4487&&_0x1ad475[_0x219113(0x76)](typeof _0xec4487['version'],_0x1ad475[_0x219113(0x7e)])?_0x35d27e=_0xec4487[_0x219113(0xed)]():logger[_0x219113(0x97)](_0x1ad475[_0x219113(0x8c)]);let _0x120f0e=null;_0xec4487&&_0x1ad475[_0x219113(0x76)](typeof _0xec4487[_0x219113(0xc4)],_0x1ad475[_0x219113(0x7e)])?_0x120f0e=_0xec4487['model']():logger[_0x219113(0x97)](_0x1ad475[_0x219113(0xfa)]);let _0x416f6e=null,_0x4393cc=null,_0x5018f9=null,_0x3d5d64=_0x1ad475[_0x219113(0x10c)];if(_0xec4487['_connection'][_0x219113(0xa1)]()||global[_0x219113(0xae)]){let _0x3edf8a=null;_0x1ad475[_0x219113(0x8e)](nestedKeyValue,_0xec4487,[_0x1ad475['LDuVp'],_0x1ad475[_0x219113(0x10b)]])?_0x3edf8a=_0xec4487['_browserType'][_0x219113(0x85)]:_0x3edf8a=_0x1ad475[_0x219113(0xbe)](nestedKeyValue,_0x3034c3,[_0x1ad475[_0x219113(0x90)],_0x1ad475[_0x219113(0xa7)],_0x1ad475[_0x219113(0x6e)]]);const _0x4a6956=_0x25a49d||_0x3edf8a&&_0x3edf8a[_0x219113(0xb1)];_0x4a6956&&(_0x3d5d64=_0x1ad475[_0x219113(0x66)](getCloudProviderFromWsEndpoint,_0x4a6956),_0x1ad475['SkZIJ'](_0x3d5d64,_0x1ad475[_0x219113(0xea)])&&(_0x5018f9=constants['ATS_WSS_URL_REGEX'][_0x219113(0xd5)](_0x4a6956)?_0x1ad475[_0x219113(0x89)]:_0x1ad475['ncoEY'],_0x5e297c=_0x1ad475[_0x219113(0x66)](getBrowserFromWSEndpoint,_0x4a6956)||_0x5e297c,_0x416f6e=_0x32308c[_0x219113(0xbd)][_0x219113(0x79)],_0x4393cc=_0x32308c[_0x219113(0xbd)][_0x219113(0x8d)]));}else{_0x3034c3&&_0x3034c3[_0x219113(0x8b)][_0x219113(0xec)]['channel']?_0x5e297c=_0x1ad475['gKwtw'](getBrowserNameFromChannel,_0x3034c3['project'][_0x219113(0xec)]['channel']):_0x5e297c=_0x1ad475[_0x219113(0xbf)](_0x1ad475[_0x219113(0x65)],_0x5e297c['toLowerCase']());const _0x540864=await _0x1ad475[_0x219113(0x103)](getPlatformDetails);_0x416f6e=_0x540864[_0x219113(0xf2)],_0x4393cc=_0x540864[_0x219113(0x6c)];}const _0x400e2d={};_0x400e2d[_0x219113(0xdb)]=_0x5e297c,_0x400e2d['browser_version']=_0x35d27e,_0x400e2d['capabilities']={},_0x400e2d['platform']=_0x416f6e,_0x400e2d[_0x219113(0x8d)]=_0x4393cc,_0x400e2d[_0x219113(0xee)]=_0x5018f9;const _0x2f1df0=_0x400e2d;_0x120f0e&&(_0x2f1df0[_0x219113(0x9c)][_0x219113(0xe4)]=_0x120f0e);const _0x4e9d8d={};_0x4e9d8d[_0x219113(0xe1)]=_0x3d5d64,_0x32308c['currentSessionDetails']=Object['assign']({},_0x32308c[_0x219113(0xbd)],_0x4e9d8d,_0x2f1df0);},_0x1ad475[_0x2c1e69(0xb6)])(_0x180406,_0xacc19,_0x37b778);}static['patch'](){const _0x454577=a43_0x5d0230;this[_0x454577(0x99)](),this['patchCRConnection']();}static[a43_0x5d0230(0x99)](){const _0x47b57d=a43_0x5d0230,_0x1082e0={'eGBMK':function(_0x4d6174,_0x746fac,_0xb4064){return _0x4d6174(_0x746fac,_0xb4064);},'AZpzo':_0x47b57d(0xce),'jAySl':_0x47b57d(0xd2),'GZeiW':_0x47b57d(0x9d),'rWaut':function(_0x47d87c,_0x243bdf,_0x18ded2){return _0x47d87c(_0x243bdf,_0x18ded2);},'lUIJl':_0x47b57d(0x95),'UZcPe':'pwPage','hGDPz':function(_0x4415c8,_0x1cbaf5){return _0x4415c8===_0x1cbaf5;},'dpQNj':_0x47b57d(0x98),'SkWob':function(_0xd4b745,_0x27ab7d,_0x57bcfd,_0x53bd15){return _0xd4b745(_0x27ab7d,_0x57bcfd,_0x53bd15);},'ZTJHN':function(_0x4f40d6,_0x2b7f1d){return _0x4f40d6(_0x2b7f1d);},'gwmqL':function(_0x3255cc,_0x5c2b4b){return _0x3255cc(_0x5c2b4b);},'BZZmG':_0x47b57d(0x116),'gvZAD':_0x47b57d(0xc7),'IbCLF':_0x47b57d(0x10d),'ghnxN':function(_0x2297be,_0x111c68){return _0x2297be(_0x111c68);},'ebbEX':_0x47b57d(0x7c),'LojBZ':function(_0x30ee7d,_0x36a68d){return _0x30ee7d!=_0x36a68d;},'BoKIe':function(_0x505c20){return _0x505c20();},'YHRDM':'sendMessageToServer','NylZv':_0x47b57d(0x72)},_0x456b33=this;if(!this['Connection'])try{const _0xfc3a6f=path[_0x47b57d(0xc2)](_0x1082e0['BZZmG'],_0x1082e0[_0x47b57d(0xe7)],_0x1082e0[_0x47b57d(0x6a)]),_0x73afd5=_0x1082e0[_0x47b57d(0xb9)](importFileFromPWCore,_0xfc3a6f);!_0x73afd5?_0x1082e0[_0x47b57d(0x70)](debug,_0x1082e0['ebbEX']):this[_0x47b57d(0x10a)]=_0x73afd5[_0x47b57d(0x10a)];}catch(_0x278ead){_0x1082e0[_0x47b57d(0x7d)](debug,_0x47b57d(0x68)+_0x278ead['toString']());}const _0x31be91=this[_0x47b57d(0x10a)];try{if(_0x1082e0[_0x47b57d(0x104)](_0x31be91,null)){const _0xab06d0=_0x31be91[_0x47b57d(0xde)][_0x47b57d(0x72)],_0x11e65e=_0x31be91[_0x47b57d(0xde)][_0x47b57d(0x6b)];_0x1082e0['BoKIe'](isAccessibilityAutomationSession)&&Object[_0x47b57d(0x75)](_0x31be91[_0x47b57d(0xde)],_0x1082e0[_0x47b57d(0xc3)],{'get':function(){return async function(){const _0x1e9d4f=a43_0x2578;try{if(!global['bstackPerformA11yScan']&&global[_0x1e9d4f(0xae)]&&_0x1082e0[_0x1e9d4f(0xb7)](nestedKeyValue,global[_0x1e9d4f(0x95)],[_0x1082e0['AZpzo'],_0x1082e0[_0x1e9d4f(0xa4)],_0x1082e0[_0x1e9d4f(0x77)]])&&_0x1082e0['rWaut'](shouldScanTestForAccessibility,global[_0x1e9d4f(0x95)][_0x1e9d4f(0xce)][_0x1e9d4f(0xd2)][_0x1e9d4f(0x9d)],!![])&&scripts[_0x1e9d4f(0x6d)](arguments[0x1])){logger[_0x1e9d4f(0x97)]('Performing\x20scan\x20for\x20'+arguments[0x1]),global[_0x1e9d4f(0xe3)]=!![];const _0x46d763=_0x1082e0['eGBMK'](nestedKeyValue,global,[_0x1082e0['lUIJl'],_0x1082e0[_0x1e9d4f(0xd8)]]);if(_0x46d763){const _0x6a90f7={};_0x6a90f7[_0x1e9d4f(0x110)]=arguments[0x1],logger['info'](_0x1e9d4f(0x8f)+util[_0x1e9d4f(0x106)](await AccessibilityHelper['performScan'](_0x46d763,_0x6a90f7)));}if(_0x1082e0[_0x1e9d4f(0xd6)](arguments[0x0][_0x1e9d4f(0x111)],_0x1082e0[_0x1e9d4f(0x7a)])&&global[_0x1e9d4f(0xeb)]){const _0x1ec286={};_0x1ec286[_0x1e9d4f(0x110)]=arguments[0x1],logger[_0x1e9d4f(0xad)](_0x1e9d4f(0x107)+util[_0x1e9d4f(0x106)](await _0x1082e0[_0x1e9d4f(0xf4)](browserStackExecuteDriver,global[_0x1e9d4f(0xeb)],scripts[_0x1e9d4f(0xca)],_0x1ec286)));}}}catch(_0x1c9366){logger['debug']('Failed\x20to\x20perform\x20scan\x20'+util[_0x1e9d4f(0x106)](_0x1c9366));}return global[_0x1e9d4f(0xe3)]=![],_0x11e65e['apply'](this,arguments);};}}),!_0x1082e0[_0x47b57d(0x70)](isFalse,process[_0x47b57d(0xe9)][_0x47b57d(0xcc)])&&Object[_0x47b57d(0x75)](_0x31be91[_0x47b57d(0xde)],_0x1082e0[_0x47b57d(0xc8)],{'get':function(){return async function _0x33c648(_0x85060c){const _0x50d405=a43_0x2578;if(BrowserstackCLI[_0x50d405(0xc0)]()[_0x50d405(0x100)]()){const _0x3cdcc9={};_0x3cdcc9['message']=_0x85060c,await BrowserstackCLI[_0x50d405(0xc0)]()[_0x50d405(0xb4)]()[_0x50d405(0xe2)](AutomationFrameworkState[_0x50d405(0x109)],HookState[_0x50d405(0xd3)],_0x3cdcc9);}else{const _0x2798f4=_0x85060c&&_0x85060c[_0x50d405(0x108)]&&_0x85060c[_0x50d405(0x108)]['bsParams'];if(_0x2798f4){const _0x2988aa=_0x2798f4['sessionId'],_0x3c7a79=_0x2798f4[_0x50d405(0xf3)];_0x3c7a79&&(_0x1082e0[_0x50d405(0x7d)](debug,_0x50d405(0x102)+_0x3c7a79[_0x50d405(0x88)]()),_0x456b33['currentSessionDetails'][_0x50d405(0x79)]=_0x3c7a79[_0x50d405(0xf2)],_0x456b33['currentSessionDetails'][_0x50d405(0x8d)]=_0x3c7a79[_0x50d405(0x6c)]),_0x2988aa&&(_0x1082e0['gwmqL'](debug,_0x50d405(0x94)+_0x2988aa),_0x456b33[_0x50d405(0xbd)][_0x50d405(0x64)]=_0x2988aa);}}return _0xab06d0[_0x50d405(0xb3)](this,arguments);};}});}}catch(_0xfd5eb5){_0x1082e0[_0x47b57d(0xb9)](debug,_0x47b57d(0xc6)+_0xfd5eb5),_0x456b33[_0x47b57d(0xba)]=_0xfd5eb5[_0x47b57d(0x88)]();}}static[a43_0x5d0230(0x83)](){const _0x52a917=a43_0x5d0230,_0x26f409={'TENyy':function(_0x2fc555,_0x4796cb){return _0x2fc555(_0x4796cb);},'mUgoJ':function(_0x116356,_0x283ddd){return _0x116356(_0x283ddd);},'ROIvP':function(_0x1f8fde){return _0x1f8fde();},'CyLwS':_0x52a917(0x116),'nhyuy':_0x52a917(0xfe),'QuoPc':_0x52a917(0x101),'kfDKe':_0x52a917(0x112),'PZCBJ':_0x52a917(0x113),'bXBzA':_0x52a917(0x78),'QEdsk':function(_0x30409a,_0x3307d4){return _0x30409a!=_0x3307d4;},'lYvoD':'_onMessage','lukpd':function(_0x3402bd,_0x50a967){return _0x3402bd(_0x50a967);}},_0x373097=this;if(_0x26f409[_0x52a917(0x73)](isAccessibilityAutomationSession)){let _0x18d75c=null;try{const _0x5bc391=path[_0x52a917(0xc2)](_0x26f409['CyLwS'],_0x26f409[_0x52a917(0xd7)],_0x26f409[_0x52a917(0x115)],_0x26f409['kfDKe']),_0x32b875=_0x26f409[_0x52a917(0x9b)](importFileFromPWCore,_0x5bc391);!_0x32b875?_0x26f409['mUgoJ'](debug,_0x26f409['PZCBJ']):_0x18d75c=_0x32b875['CRConnection'];}catch(_0xb6e643){_0x26f409[_0x52a917(0x9b)](debug,_0x26f409[_0x52a917(0x7b)]);}try{if(_0x26f409['QEdsk'](_0x18d75c,null)){const _0x22fb85=_0x18d75c[_0x52a917(0xde)][_0x52a917(0xd4)];Object[_0x52a917(0x75)](_0x18d75c[_0x52a917(0xde)],_0x26f409[_0x52a917(0xa6)],{'get':function(){const _0x35393a={'DOHiJ':function(_0x7f63cb,_0x25a7ce){const _0xa2ea1a=a43_0x2578;return _0x26f409[_0xa2ea1a(0x74)](_0x7f63cb,_0x25a7ce);},'MYRRR':function(_0x535238,_0x4c2b26){const _0x5e723c=a43_0x2578;return _0x26f409[_0x5e723c(0x74)](_0x535238,_0x4c2b26);},'LyyFP':function(_0x20bf70,_0x2872db){return _0x26f409['mUgoJ'](_0x20bf70,_0x2872db);}};return async function _0x5a4c8(_0x54e230){const _0x29a662=a43_0x2578;try{if(BrowserstackCLI[_0x29a662(0xc0)]()[_0x29a662(0x100)]()){const _0x11223c={};_0x11223c[_0x29a662(0xfc)]=_0x54e230,await BrowserstackCLI[_0x29a662(0xc0)]()[_0x29a662(0xb4)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x29a662(0xd3)],_0x11223c),delete _0x54e230[_0x29a662(0x93)];}else{const _0xa908da=_0x54e230['bStackParams'];if(_0xa908da){delete _0x54e230[_0x29a662(0x93)];const _0x57b05d=_0xa908da[_0x29a662(0xf0)],_0x101b72=_0xa908da[_0x29a662(0xf3)];_0x101b72&&(_0x35393a[_0x29a662(0x8a)](debug,_0x29a662(0xf8)+_0x101b72[_0x29a662(0x88)]()),_0x373097[_0x29a662(0xbd)][_0x29a662(0x79)]=_0x101b72[_0x29a662(0xf2)],_0x373097[_0x29a662(0xbd)][_0x29a662(0x8d)]=_0x101b72[_0x29a662(0x6c)]),_0x57b05d&&(_0x35393a[_0x29a662(0xf5)](debug,_0x29a662(0xa9)+_0x57b05d),_0x373097[_0x29a662(0xbd)][_0x29a662(0x64)]=_0x57b05d);}}}catch(_0x556158){_0x35393a[_0x29a662(0xdd)](debug,_0x29a662(0x67)+_0x556158[_0x29a662(0x88)]());}return _0x22fb85[_0x29a662(0xb3)](this,arguments);};}});}}catch(_0x1a822d){_0x26f409['lukpd'](debug,_0x52a917(0xfd)+_0x1a822d),_0x373097[_0x52a917(0xba)]=_0x1a822d[_0x52a917(0x88)]();}}}static[a43_0x5d0230(0xe6)](){const _0x1ecc05=a43_0x5d0230;return this[_0x1ecc05(0xbd)];}}module['exports']=PlaywrightSessionDetails;
|
|
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;
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a44_0x393f0e=a44_0xa014;(function(_0x4665b4,_0x1a332b){const _0x41c1f4=a44_0xa014,_0x53d40b=_0x4665b4();while(!![]){try{const _0x1435a2=-parseInt(_0x41c1f4(0x178))/0x1*(parseInt(_0x41c1f4(0x15b))/0x2)+parseInt(_0x41c1f4(0x14f))/0x3+parseInt(_0x41c1f4(0x167))/0x4+-parseInt(_0x41c1f4(0x11c))/0x5*(parseInt(_0x41c1f4(0x125))/0x6)+parseInt(_0x41c1f4(0x133))/0x7*(-parseInt(_0x41c1f4(0x16a))/0x8)+-parseInt(_0x41c1f4(0x16d))/0x9*(parseInt(_0x41c1f4(0x112))/0xa)+-parseInt(_0x41c1f4(0x127))/0xb*(-parseInt(_0x41c1f4(0x137))/0xc);if(_0x1435a2===_0x1a332b)break;else _0x53d40b['push'](_0x53d40b['shift']());}catch(_0x4b8936){_0x53d40b['push'](_0x53d40b['shift']());}}}(a44_0x5580,0x53293));const fs=require('fs'),path=require('path'),util=require('util'),{requireModule}=require('../helpers/helper'),PerformanceTester=require(a44_0x393f0e(0x184)),PerformanceEvents=require(a44_0x393f0e(0x144))[a44_0x393f0e(0x15d)],helper=require(a44_0x393f0e(0x138)),utilities=require(a44_0x393f0e(0x150)),{default:BrowserStackSetup}=require(a44_0x393f0e(0x154)),{FRAMEWORKS}=require(a44_0x393f0e(0x107)),runIntegrations=require(a44_0x393f0e(0x11f)),yargs=require('yargs'),Constants=require(a44_0x393f0e(0x175)),BrowserstackCLI=require(a44_0x393f0e(0x153)),logger=require(a44_0x393f0e(0x147))[a44_0x393f0e(0x185)],origArgs=Object[a44_0x393f0e(0x130)]([],process[a44_0x393f0e(0x187)]),captureError=async(_0x57c613,_0x9125e7,_0x38dde0,_0x293189=null)=>{const _0x5a0d66=a44_0x393f0e,_0x56f366={'CHhsV':function(_0xea5e79,_0x1da8b9,_0x3d0ff7,_0x450d6f){return _0xea5e79(_0x1da8b9,_0x3d0ff7,_0x450d6f);},'YPPjq':_0x5a0d66(0x13f)};try{logger[_0x5a0d66(0x163)](_0x5a0d66(0x12e)+origArgs[_0x5a0d66(0x128)]('\x20')),await _0x56f366[_0x5a0d66(0x124)](_0x57c613,_0x9125e7,_0x293189,_0x38dde0);}catch(_0x4d52d1){process[_0x5a0d66(0x169)]=0x1,logger[_0x5a0d66(0x126)](util['format'](_0x4d52d1));const _0x3c0c3c={'globalException':util[_0x5a0d66(0x155)]('%j',_0x4d52d1)};PerformanceTester['end'](PerformanceEvents[_0x5a0d66(0x117)],![],util[_0x5a0d66(0x155)](_0x4d52d1));if(helper[_0x5a0d66(0x11a)](global['config'])&&helper[_0x5a0d66(0x11a)](global['framework']))return;try{utilities[_0x5a0d66(0x13d)](_0x56f366[_0x5a0d66(0x13e)],_0x3c0c3c,global[_0x5a0d66(0x129)],global[_0x5a0d66(0x135)]);}catch(_0x54979a){logger[_0x5a0d66(0x105)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x54979a[_0x5a0d66(0x14e)]);}try{await helper[_0x5a0d66(0x145)](global[_0x5a0d66(0x129)]);}catch(_0x55b7af){logger[_0x5a0d66(0x105)](_0x5a0d66(0x122)+_0x55b7af['stack']);}await BrowserstackCLI['getInstance']()[_0x5a0d66(0x131)](),PerformanceTester[_0x5a0d66(0x15e)](PerformanceEvents[_0x5a0d66(0x117)],![],util[_0x5a0d66(0x155)](_0x4d52d1));}finally{PerformanceTester[_0x5a0d66(0x16b)](PerformanceEvents[_0x5a0d66(0x116)]);}};try{const browserstackFolderPath=path[a44_0x393f0e(0x128)](helper[a44_0x393f0e(0x142)](),'.browserstack');if(fs[a44_0x393f0e(0x12f)](browserstackFolderPath)){const filePath=path[a44_0x393f0e(0x128)](browserstackFolderPath,a44_0x393f0e(0x17a));fs[a44_0x393f0e(0x12f)](filePath)&&fs[a44_0x393f0e(0x12b)](filePath);}}catch(a44_0x3090fa){logger['debug']('Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20'+a44_0x3090fa[a44_0x393f0e(0x160)]);}function a44_0x5580(){const _0x2274be=['7wvDnlW','llZTs','.local-not-set.json','aARzA','INFO','--no-package','demandCommand','push','LSDXr','xQHsz','BaNvz','VERSION','../helpers/performance/performance-tester','winstonLogger','xkgrB','argv','slice','kaImk','setBrowserStackAutomationDisable','cfVXL','./playwright/command','debug','sIcHf','../helpers/test-observability/constants','lsbnt','nswgq','alias','ZAHxR','describe','--require','--mochaRequire','CaOcR','handler','FlNQD','10QDumQm','help','qwsRE','./jest/command','SDK_CLEANUP','SDK_SETUP','ats','version','isUndefined','JKCdJ','5FZwQCo','./mocha/command','command','./integrations/command','usage:\x20$0\x20<command>\x20[args]','xgcPG','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','includes','CHhsV','2772036udADpQ','error','1617nXqtOG','join','config','VMYIK','unlinkSync','oKlgx','showHelpOnFail','Running\x20SDK\x20with\x20args\x20','existsSync','assign','stop','./vanilla-js/command','3122147nkKeaM','dot-notation','framework','cucumber-js','103476DvOTmI','../helpers/helper','Parsing\x20command\x20line\x20arguments','./cucumber-js/command','dqrdD','HELP','fireFunnelTestEvent','YPPjq','SDKTestSuccessful','mocha/lib/cli/cli.js','NIGHTWATCH','homedir','mocha/lib/cli/run.js','../helpers/performance/constants','sendLogs','findAndReplace','../helpers/logger','--no-opts','--config','QrPEH','prHhq','integrations','VANILLA','stack','1017597ZpSBeV','../helpers/utilities','WCknG','ZvLLh','./v2/browserstackCLI','../helpers/BrowserStackSetup','format','run','setTestObservabilityDisable','RPAwM','JEST','find','97740WHFZfi','HST','EVENTS','end','mocha','message','node','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','info','./nightwatch/command','--no-config','usage','1137344hiYkNZ','PLAYWRIGHT','exitCode','8nLUqMN','start','CODECEPTJS','2703348ukpmhz','jest','codeceptjs','vanilla','VepdC','../../ats/src/index','wbLOh','playwright','./utils/constants','nightwatch','GgGBn'];a44_0x5580=function(){return _0x2274be;};return a44_0x5580();}function a44_0xa014(_0x94be21,_0x3cdcf9){const _0x5580e7=a44_0x5580();return a44_0xa014=function(_0xa014aa,_0x16179b){_0xa014aa=_0xa014aa-0x100;let _0x28c58c=_0x5580e7[_0xa014aa];return _0x28c58c;},a44_0xa014(_0x94be21,_0x3cdcf9);}process[a44_0x393f0e(0x187)][a44_0x393f0e(0x123)]('mocha')&&(!process['argv'][a44_0x393f0e(0x123)]('--opts')&&process[a44_0x393f0e(0x187)][a44_0x393f0e(0x17f)](a44_0x393f0e(0x148)),!process['argv'][a44_0x393f0e(0x15a)](_0x37d4ce=>_0x37d4ce[a44_0x393f0e(0x123)](a44_0x393f0e(0x149)))&&process[a44_0x393f0e(0x187)][a44_0x393f0e(0x17f)](a44_0x393f0e(0x165)),!process['argv'][a44_0x393f0e(0x123)]('--package')&&process['argv'][a44_0x393f0e(0x17f)](a44_0x393f0e(0x17d)),helper[a44_0x393f0e(0x146)](process[a44_0x393f0e(0x187)],a44_0x393f0e(0x10d),a44_0x393f0e(0x10e)));PerformanceTester[a44_0x393f0e(0x16b)](PerformanceEvents[a44_0x393f0e(0x117)]);const a44_0x41ad8d={};a44_0x41ad8d[a44_0x393f0e(0x134)]=![];const argv=yargs['parserConfiguration'](a44_0x41ad8d)[a44_0x393f0e(0x166)](a44_0x393f0e(0x120))[a44_0x393f0e(0x10a)]('v',a44_0x393f0e(0x119))[a44_0x393f0e(0x10c)]('v')[a44_0x393f0e(0x10a)]('h','help')[a44_0x393f0e(0x113)](a44_0x393f0e(0x113))[a44_0x393f0e(0x12d)](!![],Constants[a44_0x393f0e(0x183)][a44_0x393f0e(0x13c)])[a44_0x393f0e(0x11e)](a44_0x393f0e(0x16e),Constants[a44_0x393f0e(0x159)][a44_0x393f0e(0x17c)],function(_0xedd8cf){const _0x340f3a=a44_0x393f0e,_0x2663e5={'prHhq':_0x340f3a(0x16e),'ZAHxR':function(_0x55f7b1,_0x4563e5,_0x3c4255,_0x4d934b,_0xf04a4a){return _0x55f7b1(_0x4563e5,_0x3c4255,_0x4d934b,_0xf04a4a);},'WRjQK':function(_0x25f1ba,_0x10bca1){return _0x25f1ba(_0x10bca1);},'BaNvz':_0x340f3a(0x115)},_0x92788c=process[_0x340f3a(0x187)]['slice'](0x2);helper[_0x340f3a(0x157)](),helper['setBrowserStackAutomationDisable']();const _0x29fb76=new BrowserStackSetup(_0xedd8cf[_0x340f3a(0x187)],_0x2663e5[_0x340f3a(0x14b)]);return _0x2663e5[_0x340f3a(0x10b)](captureError,_0x2663e5['WRjQK'](require,_0x2663e5[_0x340f3a(0x182)]),_0xedd8cf['argv'],_0x29fb76,_0x92788c);})[a44_0x393f0e(0x11e)](a44_0x393f0e(0x15f),Constants['MOCHA']['INFO'],_0x59f04c=>{const _0x1dafaf=a44_0x393f0e,_0x65dbf4={'ZvLLh':function(_0x3feb36,_0x35061f,_0x311b12,_0x1793d4){return _0x3feb36(_0x35061f,_0x311b12,_0x1793d4);},'VMYIK':function(_0x286461,_0x4b240d){return _0x286461(_0x4b240d);},'VepdC':_0x1dafaf(0x11d),'oKlgx':_0x1dafaf(0x15f),'FlNQD':_0x1dafaf(0x139),'kaImk':function(_0x404fd9,_0xf6f32d,_0x1c0382){return _0x404fd9(_0xf6f32d,_0x1c0382);},'xkgrB':_0x1dafaf(0x143),'LSDXr':'mocha/lib/cli/commands.js','QMWme':function(_0x1ee3fe,_0xadd1ab,_0x931e74){return _0x1ee3fe(_0xadd1ab,_0x931e74);},'wbLOh':_0x1dafaf(0x140),'WiSpV':function(_0x4a7660){return _0x4a7660();}};process['argv']=process[_0x1dafaf(0x187)][_0x1dafaf(0x100)](0x1),helper[_0x1dafaf(0x157)](),helper['setBrowserStackAutomationDisable']();const _0x17d13b=new BrowserStackSetup(_0x59f04c['argv'],_0x65dbf4[_0x1dafaf(0x12c)]);logger[_0x1dafaf(0x105)](_0x65dbf4[_0x1dafaf(0x111)]);const _0x354944=_0x65dbf4[_0x1dafaf(0x101)](requireModule,_0x65dbf4[_0x1dafaf(0x186)],_0x65dbf4['oKlgx']),_0x33308c=_0x65dbf4['kaImk'](requireModule,_0x65dbf4[_0x1dafaf(0x180)],_0x65dbf4[_0x1dafaf(0x12c)]);delete _0x354944['handler'],_0x354944[_0x1dafaf(0x110)]=function(_0x470cfe){const _0xb121cf=_0x1dafaf;return _0x65dbf4[_0xb121cf(0x152)](captureError,_0x65dbf4[_0xb121cf(0x12a)](require,_0x65dbf4[_0xb121cf(0x171)]),_0x470cfe,_0x17d13b);},_0x33308c[_0x1dafaf(0x156)]=_0x354944;const {main:_0x42349e}=_0x65dbf4['QMWme'](requireModule,_0x65dbf4[_0x1dafaf(0x173)],_0x65dbf4[_0x1dafaf(0x12c)]);_0x65dbf4['WiSpV'](_0x42349e);})[a44_0x393f0e(0x11e)](a44_0x393f0e(0x136),Constants['CUCUMBER']['INFO'],function(_0x1f383a){const _0x1f0e99=a44_0x393f0e,_0x6d394c={'llZTs':_0x1f0e99(0x136),'GgGBn':function(_0x20a9c3,_0x2190f4,_0x385ef8,_0x2a55a8,_0xe3ec05){return _0x20a9c3(_0x2190f4,_0x385ef8,_0x2a55a8,_0xe3ec05);},'ptteE':function(_0x32f13d,_0x5c89a5){return _0x32f13d(_0x5c89a5);},'RPAwM':_0x1f0e99(0x13a)},_0x1b1cd7=process['argv']['slice'](0x2),_0x5ec896=new BrowserStackSetup(_0x1f383a['argv'],_0x6d394c[_0x1f0e99(0x179)]);return _0x6d394c[_0x1f0e99(0x177)](captureError,_0x6d394c['ptteE'](require,_0x6d394c[_0x1f0e99(0x158)]),_0x1f383a[_0x1f0e99(0x187)],_0x5ec896,_0x1b1cd7);})[a44_0x393f0e(0x11e)](a44_0x393f0e(0x161),Constants[a44_0x393f0e(0x14d)][a44_0x393f0e(0x17c)],function(_0x3b96cb){const _0x58386c=a44_0x393f0e,_0x5efea5={'WCknG':_0x58386c(0x170),'qwsRE':function(_0x3bf240,_0x53d7d9,_0x4727cb,_0xa2d7a6,_0x39f6ed){return _0x3bf240(_0x53d7d9,_0x4727cb,_0xa2d7a6,_0x39f6ed);},'CaOcR':function(_0x1d4f08,_0x56cfb2){return _0x1d4f08(_0x56cfb2);},'xQHsz':_0x58386c(0x132)},_0x100362=process[_0x58386c(0x187)][_0x58386c(0x100)](0x2),_0x4ae728=new BrowserStackSetup(_0x3b96cb[_0x58386c(0x187)],_0x5efea5[_0x58386c(0x151)]);return _0x5efea5[_0x58386c(0x114)](captureError,_0x5efea5[_0x58386c(0x10f)](require,_0x5efea5[_0x58386c(0x181)]),_0x3b96cb['argv'],_0x4ae728,_0x100362);})[a44_0x393f0e(0x11e)](a44_0x393f0e(0x176),Constants[a44_0x393f0e(0x141)][a44_0x393f0e(0x17c)],function(_0x12dc38){const _0x502749=a44_0x393f0e,_0x368a7c={'QrPEH':function(_0x4e38ca,_0x471258,_0x3c0b62,_0x484290,_0x3182fc){return _0x4e38ca(_0x471258,_0x3c0b62,_0x484290,_0x3182fc);},'IcAUf':function(_0x14c26b,_0x2f8b83){return _0x14c26b(_0x2f8b83);},'dqrdD':_0x502749(0x164)},_0x2ae8a1=process[_0x502749(0x187)]['slice'](0x2),_0x4ace6d=new BrowserStackSetup(_0x12dc38[_0x502749(0x187)]);return _0x368a7c[_0x502749(0x14a)](captureError,_0x368a7c['IcAUf'](require,_0x368a7c[_0x502749(0x13b)]),_0x12dc38['argv'],_0x4ace6d,_0x2ae8a1);})[a44_0x393f0e(0x11e)]('codeceptjs',Constants[a44_0x393f0e(0x16c)]['INFO'],function(_0x1826a3){const _0x38099e=a44_0x393f0e,_0x1f6c1a={'lxBwZ':_0x38099e(0x16f),'cfVXL':function(_0x2d2bd5,_0x17de15,_0x2aa330,_0x5b7670,_0x4ba342){return _0x2d2bd5(_0x17de15,_0x2aa330,_0x5b7670,_0x4ba342);},'sIcHf':function(_0x17d5d5,_0x569df2){return _0x17d5d5(_0x569df2);},'bXXdr':'./codeceptjs/command'},_0x474737=process['argv'][_0x38099e(0x100)](0x2),_0x465792=new BrowserStackSetup(_0x1826a3['argv'],_0x1f6c1a['lxBwZ']);return _0x1f6c1a[_0x38099e(0x103)](captureError,_0x1f6c1a[_0x38099e(0x106)](require,_0x1f6c1a['bXXdr']),_0x1826a3[_0x38099e(0x187)],_0x465792,_0x474737);})['command'](a44_0x393f0e(0x118),Constants[a44_0x393f0e(0x15c)][a44_0x393f0e(0x17c)],function(_0x16c4cd){const _0x3bf560=a44_0x393f0e,_0x165b11={'PrArl':function(_0xd9d17e,_0x49cbe3,_0x31f81b){return _0xd9d17e(_0x49cbe3,_0x31f81b);},'JKCdJ':function(_0x347807,_0x1e0df8){return _0x347807(_0x1e0df8);},'nswgq':_0x3bf560(0x172)},_0x48011e=process[_0x3bf560(0x187)][_0x3bf560(0x100)](0x2);return _0x165b11['PrArl'](captureError,_0x165b11[_0x3bf560(0x11b)](require,_0x165b11[_0x3bf560(0x109)]),_0x16c4cd);})[a44_0x393f0e(0x11e)](a44_0x393f0e(0x14c),Constants['INTEGRATIONS']['INFO'],function(_0x168522){const _0x4611a2=a44_0x393f0e,_0x1e8540={'lsbnt':function(_0x58aac7,_0x325fda){return _0x58aac7(_0x325fda);}};return _0x1e8540[_0x4611a2(0x108)](runIntegrations,_0x168522);})['command'](a44_0x393f0e(0x174),Constants[a44_0x393f0e(0x168)][a44_0x393f0e(0x17c)],function(_0x6e0722){const _0x52e764=a44_0x393f0e,_0x160a26={'xeCQA':function(_0x5dfe85,_0x3b84e5,_0x4224f4,_0x379b7e,_0x7873b5){return _0x5dfe85(_0x3b84e5,_0x4224f4,_0x379b7e,_0x7873b5);},'aARzA':function(_0x2c1791,_0x1f80bf){return _0x2c1791(_0x1f80bf);},'xgcPG':_0x52e764(0x104)},_0x3b5fd0=process[_0x52e764(0x187)][_0x52e764(0x100)](0x2);helper[_0x52e764(0x157)](),helper[_0x52e764(0x102)]();const _0x4be804=new BrowserStackSetup(_0x6e0722[_0x52e764(0x187)],FRAMEWORKS['PLAYWRIGHT']);return _0x160a26['xeCQA'](captureError,_0x160a26[_0x52e764(0x17b)](require,_0x160a26[_0x52e764(0x121)]),_0x6e0722['argv'],_0x4be804,_0x3b5fd0);})[a44_0x393f0e(0x17e)](0x1,a44_0x393f0e(0x162))['wrap'](null)[a44_0x393f0e(0x187)];!helper[a44_0x393f0e(0x11a)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a44_0x393f0e(0x126)]('Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.');
|
|
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.');
|
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const a46_0x232a37=a46_0x46eb;(function(_0x4f801d,_0x47ad24){const _0x44b561=a46_0x46eb,_0x1a3f22=_0x4f801d();while(!![]){try{const _0xa6eb88=-parseInt(_0x44b561(0x1d6))/0x1*(-parseInt(_0x44b561(0x1b9))/0x2)+-parseInt(_0x44b561(0x1ec))/0x3*(parseInt(_0x44b561(0x1d8))/0x4)+-parseInt(_0x44b561(0x1cf))/0x5*(parseInt(_0x44b561(0x1b7))/0x6)+parseInt(_0x44b561(0x1f1))/0x7*(-parseInt(_0x44b561(0x1be))/0x8)+-parseInt(_0x44b561(0x1d9))/0x9+-parseInt(_0x44b561(0x1bb))/0xa+parseInt(_0x44b561(0x1cc))/0xb;if(_0xa6eb88===_0x47ad24)break;else _0x1a3f22['push'](_0x1a3f22['shift']());}catch(_0x5eb6c2){_0x1a3f22['push'](_0x1a3f22['shift']());}}}(a46_0x11d0,0x683d4));const fs=require('fs'),helper=require('../helpers/helper'),utilities=require(a46_0x232a37(0x1de)),yaml=require('js-yaml'),yargs=require(a46_0x232a37(0x1b3)),logger=require('../helpers/logger')[a46_0x232a37(0x1c7)],configFileTemplate=__dirname+a46_0x232a37(0x1b0),configFileTemplatePW=__dirname+a46_0x232a37(0x1c3),configFile=process[a46_0x232a37(0x1d3)]()+'/browserstack.yml',packageFile=process[a46_0x232a37(0x1d3)]()+a46_0x232a37(0x1b1),frameworks=[a46_0x232a37(0x1b8),'jest',a46_0x232a37(0x1ed),a46_0x232a37(0x1e2),a46_0x232a37(0x1c2),a46_0x232a37(0x1c8),a46_0x232a37(0x1c9)];function a46_0x46eb(_0x5b6d0e,_0x3af1a0){const _0x11d08a=a46_0x11d0();return a46_0x46eb=function(_0x46ebcf,_0x39d7d9){_0x46ebcf=_0x46ebcf-0x1af;let _0x3ba33c=_0x11d08a[_0x46ebcf];return _0x3ba33c;},a46_0x46eb(_0x5b6d0e,_0x3af1a0);}let config;logger[a46_0x232a37(0x1f0)](a46_0x232a37(0x1e0)),createConfigurationFile(yargs[a46_0x232a37(0x1ea)]['username'],yargs[a46_0x232a37(0x1ea)][a46_0x232a37(0x1c6)],yargs[a46_0x232a37(0x1ea)]['playwright']);try{sdkSetup();}catch(a46_0x28731f){logger[a46_0x232a37(0x1d4)](a46_0x232a37(0x1c5)+a46_0x28731f);}addScriptInPackageJson();function createConfigurationFile(_0x327789,_0xc1d258,_0x4a40f4=![]){const _0x612c5d=a46_0x232a37,_0x3f64fa={};_0x3f64fa[_0x612c5d(0x1bf)]=_0x612c5d(0x1e3),_0x3f64fa['MrEBf']=_0x612c5d(0x1ce),_0x3f64fa['HYLUz']='YOUR_ACCESS_KEY';const _0x4627e8=_0x3f64fa;try{let _0x3068d6=fs[_0x612c5d(0x1c0)](_0x4a40f4?configFileTemplatePW:configFileTemplate,_0x4627e8[_0x612c5d(0x1bf)]);_0x327789&&(_0x3068d6=_0x3068d6[_0x612c5d(0x1f3)](_0x4627e8[_0x612c5d(0x1bc)],_0x327789)),_0xc1d258&&(_0x3068d6=_0x3068d6[_0x612c5d(0x1f3)](_0x4627e8['HYLUz'],_0xc1d258)),config=yaml[_0x612c5d(0x1c1)](_0x3068d6),fs['writeFileSync'](configFile,_0x3068d6,_0x47c876=>{const _0x4a441c=_0x612c5d;_0x47c876&&logger[_0x4a441c(0x1e7)](_0x47c876);});}catch(_0x26570b){logger[_0x612c5d(0x1e7)](_0x26570b);}}function addPostInstallScript(_0xa0765f,_0x1aa23f){const _0x450fb0=a46_0x232a37,_0x1e05c4={};_0x1e05c4[_0x450fb0(0x1c4)]=_0x450fb0(0x1af),_0x1e05c4[_0x450fb0(0x1b4)]='npm\x20update\x20browserstack-node-sdk',_0x1e05c4[_0x450fb0(0x1dc)]='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x1babad=_0x1e05c4;let _0x1a5d45=_0xa0765f[_0x1babad[_0x450fb0(0x1c4)]];if(_0x1a5d45&&_0x1a5d45['includes'](_0x1babad['Fklby']))return;!_0x1a5d45?_0x1a5d45=_0x1babad[_0x450fb0(0x1b4)]:_0x1a5d45+=_0x1babad['VSyjj'],_0x1aa23f[_0x450fb0(0x1f7)]([_0x1babad[_0x450fb0(0x1c4)],_0x1a5d45]);}function addScriptInPackageJson(){const _0x1f1fce=a46_0x232a37,_0x21bf96={'BEZtw':'utf8','ckwMm':function(_0x3c6f41,_0x14b439){return _0x3c6f41<_0x14b439;},'pnDRj':function(_0x4f9c76,_0x15175e,_0x46a271){return _0x4f9c76(_0x15175e,_0x46a271);},'iKrZK':function(_0x2c95f5,_0x4091e6,_0x2c9fa7){return _0x2c95f5(_0x4091e6,_0x2c9fa7);},'DCDgL':function(_0x1bc499,_0x5ca332){return _0x1bc499<_0x5ca332;},'dbDae':function(_0x4f602c,_0x1fd576){return _0x4f602c!==_0x1fd576;},'SdNjg':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x5cdc34=JSON[_0x1f1fce(0x1ca)](fs['readFileSync'](packageFile,_0x21bf96[_0x1f1fce(0x1eb)])),_0x52ac21=[];for(let _0x436278=0x0;_0x21bf96[_0x1f1fce(0x1d2)](_0x436278,frameworks[_0x1f1fce(0x1d1)]);_0x436278+=0x1){const _0x55c0de=_0x21bf96[_0x1f1fce(0x1e9)](findScriptsWithFramework,_0x5cdc34[_0x1f1fce(0x1df)],frameworks[_0x436278]);for(let _0x5b44bf=0x0;_0x21bf96[_0x1f1fce(0x1d2)](_0x5b44bf,_0x55c0de[_0x1f1fce(0x1d1)]);_0x5b44bf+=0x1){_0x52ac21['push'](_0x21bf96['iKrZK'](getUpdatedCommand,_0x5cdc34[_0x1f1fce(0x1df)],_0x55c0de[_0x5b44bf]));}_0x21bf96[_0x1f1fce(0x1e4)](addPostInstallScript,_0x5cdc34[_0x1f1fce(0x1df)],_0x52ac21);}const _0x8600f6={..._0x5cdc34[_0x1f1fce(0x1df)]},_0x10abda=_0x8600f6;for(let _0x4907be=0x0;_0x21bf96['DCDgL'](_0x4907be,_0x52ac21[_0x1f1fce(0x1d1)]);_0x4907be+=0x1){_0x10abda[_0x52ac21[_0x4907be][0x0]]=_0x52ac21[_0x4907be][0x1];}_0x21bf96['dbDae'](JSON[_0x1f1fce(0x1f2)](_0x5cdc34['scripts']),JSON[_0x1f1fce(0x1f2)](_0x10abda))&&(logger['info'](_0x21bf96[_0x1f1fce(0x1b5)]),_0x5cdc34[_0x1f1fce(0x1df)]=_0x10abda,fs[_0x1f1fce(0x1e6)](packageFile,JSON['stringify'](_0x5cdc34,null,0x2),_0x3c3cc7=>{_0x3c3cc7&&logger['error'](_0x3c3cc7);}));}function a46_0x11d0(){const _0x3a155a=['cucumber-js','includes','split','info','2807Ewrcqv','stringify','replace','fWyxr','source','-browserstack','push','postinstall','/../../browserstack.yml.sample','/package.json','rvfDK','yargs','Fklby','SdNjg','fireFunnelTestEvent','54714ijkDKg','mocha','14200kqSNHz','browserstack-node-sdk\x20','5183550NvFoDe','MrEBf','join','944cPQZHj','JnqPb','readFileSync','load','nightwatch','/../../browserstack.pw.yml.sample','oZObm','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','key','winstonLogger','codeceptjs','playwright','parse','SDKSetup','18296267JfrbiF','entries','YOUR_USERNAME','5akZxSE','qTYOc','length','ckwMm','cwd','debug','bzAbW','106xUdFFf','Guvzp','599232yLrTWn','5985909tmmlqN','eRfAn','browserstack-node-sdk','VSyjj','Setup\x20completed','../helpers/utilities','scripts','Creating\x20configuration\x20file...','splice','node','utf8','iKrZK','TFtTy','writeFileSync','error','indexOf','pnDRj','argv','BEZtw','15xcgBFM'];a46_0x11d0=function(){return _0x3a155a;};return a46_0x11d0();};function findScriptsWithFramework(_0x493727,_0x129220){const _0x1cf1bd=a46_0x232a37,_0x4b2762={};_0x4b2762[_0x1cf1bd(0x1f4)]=function(_0x27da10,_0x2e44e5){return _0x27da10<_0x2e44e5;},_0x4b2762[_0x1cf1bd(0x1da)]=_0x1cf1bd(0x1db);const _0x57439b=_0x4b2762,_0x92a02e=[],_0xdd4d52=Object[_0x1cf1bd(0x1cd)](_0x493727);for(let _0xff5a86=0x0;_0x57439b[_0x1cf1bd(0x1f4)](_0xff5a86,_0xdd4d52[_0x1cf1bd(0x1d1)]);_0xff5a86+=0x1){_0xdd4d52[_0xff5a86][0x1][_0x1cf1bd(0x1ee)](_0x129220)&&!_0xdd4d52[_0xff5a86][0x1]['includes'](_0x57439b['eRfAn'])&&_0x92a02e[_0x1cf1bd(0x1f7)](_0xdd4d52[_0xff5a86][0x0]);}return _0x92a02e;}function getUpdatedCommand(_0x3565d0,_0x3707aa){const _0x2889c1=a46_0x232a37,_0xe82b0d={};_0xe82b0d[_0x2889c1(0x1d7)]=function(_0x313e9d,_0x13f1cf){return _0x313e9d!==_0x13f1cf;},_0xe82b0d[_0x2889c1(0x1e5)]=_0x2889c1(0x1db),_0xe82b0d[_0x2889c1(0x1d0)]=function(_0x2e3d28,_0x3512f1){return _0x2e3d28===_0x3512f1;};const _0x3b13a6=_0xe82b0d,_0x37e1fe=_0x3707aa+_0x2889c1(0x1f6),_0x1ac491=_0x3565d0[_0x3707aa],_0x3f4290=_0x1ac491[_0x2889c1(0x1ef)]('\x20');for(const _0x678355 of frameworks){if(_0x3b13a6[_0x2889c1(0x1d7)](_0x3f4290[_0x2889c1(0x1e8)](_0x678355),-0x1)){_0x3f4290[_0x2889c1(0x1e1)](_0x3f4290[_0x2889c1(0x1e8)](_0x678355),0x0,_0x3b13a6[_0x2889c1(0x1e5)]);break;}}let _0x1ed554=_0x3f4290[_0x2889c1(0x1bd)]('\x20');return _0x3b13a6[_0x2889c1(0x1d0)](_0x1ed554,_0x1ac491)&&(_0x1ed554=_0x2889c1(0x1ba)+_0x1ac491),[_0x37e1fe,_0x1ed554];}function sdkSetup(){const _0x1e9bc6=a46_0x232a37,_0x1501c5={};_0x1501c5[_0x1e9bc6(0x1d5)]='node-setup',_0x1501c5[_0x1e9bc6(0x1b2)]=_0x1e9bc6(0x1cb);const _0x1fe761=_0x1501c5;if(helper['isUndefined'](config))return;config[_0x1e9bc6(0x1f5)]=_0x1fe761[_0x1e9bc6(0x1d5)];try{utilities[_0x1e9bc6(0x1b6)](_0x1fe761[_0x1e9bc6(0x1b2)],{},config,'');}catch(_0x1debd8){logger['debug'](_0x1e9bc6(0x1c5)+_0x1debd8);}}logger[a46_0x232a37(0x1f0)](a46_0x232a37(0x1dd));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a46_0xe02257=a46_0x28f4;function a46_0x28f4(_0x19aec0,_0x160c37){const _0x5a7b59=a46_0x5a7b();return a46_0x28f4=function(_0x28f44e,_0x45d028){_0x28f44e=_0x28f44e-0xae;let _0x47bc02=_0x5a7b59[_0x28f44e];return _0x47bc02;},a46_0x28f4(_0x19aec0,_0x160c37);}(function(_0x4f1e08,_0x113f34){const _0x487a11=a46_0x28f4,_0x4dafe7=_0x4f1e08();while(!![]){try{const _0x2e7920=parseInt(_0x487a11(0xfd))/0x1*(parseInt(_0x487a11(0xb2))/0x2)+-parseInt(_0x487a11(0x101))/0x3+parseInt(_0x487a11(0xf7))/0x4*(-parseInt(_0x487a11(0xb3))/0x5)+-parseInt(_0x487a11(0xb8))/0x6+-parseInt(_0x487a11(0xff))/0x7+-parseInt(_0x487a11(0xaf))/0x8+parseInt(_0x487a11(0xba))/0x9;if(_0x2e7920===_0x113f34)break;else _0x4dafe7['push'](_0x4dafe7['shift']());}catch(_0x4ea696){_0x4dafe7['push'](_0x4dafe7['shift']());}}}(a46_0x5a7b,0x5e9ee));function a46_0x5a7b(){const _0x13e0be=['platform-run-success','jfUdX','stdout','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','waitForExit','Running\x20','file','postMessage','all','winstonLogger','OIfFt','results','IUXiD','config','send','xvJUG','platformCaps','lFXop','Worker','fEkAG','SdmEP','resolve','platform-run-start','../../helpers/performance/performance-tester','hxzFS','57124xuOeGC','TUMfc','cucumberWorker','../../helpers/logger','UNSTABLE_onCustomMessage','emittery','711ItccOp','EVENTS','2990512eOJXHm','parallelVanillaRun','153726uhooRA','failureCount','vanillaWorker','oMgQG','parallelCucumberRun','oFHPF','worker','dYETn','stderr','jest-worker','../../helpers/testhub/testhubHandler','WcQak','length','test-file-failure','worker_threads','./testWorker.js','push','2771864gzeTwT','BVHnB','jjUXk','1084imGILh','50RDJevP','getStderr','log','configuration','PNWRs','3069060eqmxLS','pipe','13333185lNIgqr','SahQu','gKKPr','error','_workerPool','test-file-success','emit','json','PeCDm','Jnifn','SDK_SETUP','test-file-start','stop','getWorkers','platform-run-failure','DFuMx','p-limit','end','iwBTA','OqDHX','NjVkZ','Exception\x20in\x20sending\x20worker\x20message\x20','PRwKM','format','platform','util','FpkBj','Workers\x20failed\x20to\x20exit\x20gracefully','platforms','oYUWc','map','getStdout','_child','then','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','parallelTestRun'];a46_0x5a7b=function(){return _0x13e0be;};return a46_0x5a7b();}const Worker=require(a46_0xe02257(0x10a))[a46_0xe02257(0xf0)],Emittery=require(a46_0xe02257(0xfc)),pLimit=require(a46_0xe02257(0xca)),{parentPort}=require(a46_0xe02257(0x10f)),util=require(a46_0xe02257(0xd3)),logger=require(a46_0xe02257(0xfa))[a46_0xe02257(0xe7)],PerformanceTester=require(a46_0xe02257(0xf5)),PerformanceEvents=require('../../helpers/performance/constants')[a46_0xe02257(0xfe)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a46_0xe02257(0x10b));exports[a46_0xe02257(0xdd)]=(_0x2e8fa4,_0x111140,_0x3420a6)=>new Promise(async _0x2e0ecd=>{const _0x72a12b=a46_0xe02257,_0x4e88af={'PeCDm':_0x72a12b(0x102),'FpkBj':function(_0xff5c61,_0x47fd25){return _0xff5c61+_0x47fd25;},'lFXop':_0x72a12b(0xe9),'DFuMx':_0x72a12b(0xd5),'oFHPF':function(_0x5f31d7,_0x1c9a2b){return _0x5f31d7(_0x1c9a2b);},'WcQak':function(_0x348658,_0x59cb4c){return _0x348658(_0x59cb4c);},'fEkAG':_0x72a12b(0xc5),'IYpXE':_0x72a12b(0x110),'OqDHX':_0x72a12b(0x107),'OIfFt':_0x72a12b(0xc1),'NjVkZ':_0x72a12b(0xb9),'sUOha':function(_0x59da54,_0x5d1d0d){return _0x59da54*_0x5d1d0d;},'ZkdGu':_0x72a12b(0xbf),'xvJUG':_0x72a12b(0x10e),'UJKpl':function(_0x3e4ac6,_0x22b5fb){return _0x3e4ac6*_0x22b5fb;}},_0x2e5623=_0x3420a6[_0x72a12b(0xeb)],_0x51bbf6={},_0x225751=new Worker(require[_0x72a12b(0xf3)](_0x4e88af['IYpXE']),{'exposedMethods':[_0x4e88af[_0x72a12b(0xcd)]],'forkOptions':{'serialization':_0x4e88af[_0x72a12b(0xe8)],'stdio':_0x4e88af[_0x72a12b(0xce)]},'idleMemoryLimit':undefined,'maxRetries':0x1,'numWorkers':_0x4e88af['sUOha'](_0x111140,0x1),'enableWorkerThreads':!![]}),_0x4df9eb=new Emittery();_0x4df9eb['on'](_0x4e88af['ZkdGu'],_0x5daacc=>{const _0x4ebff6=_0x72a12b;_0x51bbf6[_0x5daacc[0x0]]?(_0x51bbf6[_0x5daacc[0x0]][_0x4e88af['PeCDm']]=_0x4e88af[_0x4ebff6(0xd4)](_0x51bbf6[_0x5daacc[0x0]][_0x4e88af[_0x4ebff6(0xc2)]],_0x5daacc[0x1][_0x4e88af[_0x4ebff6(0xc2)]]),_0x51bbf6[_0x5daacc[0x0]][_0x4e88af[_0x4ebff6(0xef)]]=[..._0x51bbf6[_0x5daacc[0x0]][_0x4e88af[_0x4ebff6(0xef)]],..._0x5daacc[0x1][_0x4e88af['lFXop']]]):_0x51bbf6[_0x5daacc[0x0]]={'failureCount':_0x5daacc[0x1][_0x4e88af[_0x4ebff6(0xc2)]],'results':[..._0x5daacc[0x1][_0x4e88af[_0x4ebff6(0xef)]]]};}),_0x4df9eb['on'](_0x4e88af[_0x72a12b(0xed)],_0x4f8834=>console[_0x72a12b(0xb5)](_0x4f8834[0x1]));_0x225751[_0x72a12b(0xd9)]()&&_0x225751[_0x72a12b(0xd9)]()[_0x72a12b(0xb9)](process[_0x72a12b(0xe0)]);_0x225751[_0x72a12b(0xb4)]()&&_0x225751[_0x72a12b(0xb4)]()[_0x72a12b(0xb9)](process[_0x72a12b(0x109)]);const _0x4a2564=async()=>{const _0x83e239=_0x72a12b,{forceExited:_0x2e5da0}=await _0x225751[_0x83e239(0xcb)]();_0x2e5da0&&console[_0x83e239(0xbd)](_0x4e88af[_0x83e239(0xc9)]);try{await TestHubHandler[_0x83e239(0xc6)]();}catch(_0x202187){_0x4e88af[_0x83e239(0x106)](debug,_0x83e239(0xe1)+_0x202187);}_0x4e88af[_0x83e239(0x10c)](_0x2e0ecd,_0x51bbf6);},_0x27b70f=_0x4e88af['oFHPF'](pLimit,_0x4e88af['UJKpl'](_0x111140,0x1)),_0x455169=_0x5bd1e8=>_0x27b70f(async()=>{const _0x11cf1e=_0x72a12b;await _0x4df9eb['emit'](_0x4e88af[_0x11cf1e(0xf1)],_0x5bd1e8);const _0x2337fd=_0x225751[_0x11cf1e(0x107)](_0x5bd1e8,_0x2e5623);try{parentPort&&_0x2337fd[_0x11cf1e(0xfb)](_0x364a49=>{const _0x150921=_0x11cf1e;try{parentPort[_0x150921(0xe5)](_0x364a49);}catch(_0x55f64){logger['debug'](_0x150921(0xcf)+util[_0x150921(0xd1)](_0x55f64));}});}catch(_0x1768e2){logger['debug'](_0x11cf1e(0xdc)+util[_0x11cf1e(0xd1)](_0x1768e2));}return _0x2337fd;});PerformanceTester[_0x72a12b(0xcb)](PerformanceEvents[_0x72a12b(0xc4)]),Promise['all'](_0x2e8fa4[_0x72a12b(0xd8)](_0xea237c=>_0x455169(_0xea237c)[_0x72a12b(0xdb)](_0x116f62=>_0x4df9eb['emit']('test-file-success',[_0xea237c[_0x72a12b(0xb6)][_0x72a12b(0xd2)],_0x116f62]),_0x1e0fa2=>_0x4df9eb[_0x72a12b(0xc0)](_0x72a12b(0x10e),[_0xea237c,_0x1e0fa2]))))[_0x72a12b(0xdb)](_0x4a2564,_0x4a2564);}),exports[a46_0xe02257(0x105)]=(_0x2594e1,_0x34e088,_0x23ba1d,_0x207183,_0x560fc6)=>{const _0x467d78=a46_0xe02257,_0x2d6dc5={'oMgQG':_0x467d78(0xf4),'Ibxcz':'Workers\x20failed\x20to\x20exit\x20gracefully','SahQu':function(_0x1f7361,_0x2049e9){return _0x1f7361(_0x2049e9);},'IUXiD':_0x467d78(0x110),'XtLom':_0x467d78(0xf9),'gKKPr':_0x467d78(0xc1),'TpuiZ':_0x467d78(0xb9),'SdmEP':_0x467d78(0xde),'dYETn':_0x467d78(0xc8)};return new Promise(_0x2acbd5=>{const _0x185a27=_0x467d78,_0x5badcc={'jfUdX':_0x2d6dc5['Ibxcz'],'nDSkM':function(_0x415d99,_0x13a211){const _0x4b81f6=a46_0x28f4;return _0x2d6dc5[_0x4b81f6(0xbb)](_0x415d99,_0x13a211);}},_0x4caebf=[],_0x3f07cd=new Worker(require[_0x185a27(0xf3)](_0x2d6dc5[_0x185a27(0xea)]),{'exposedMethods':[_0x2d6dc5['XtLom']],'forkOptions':{'serialization':_0x2d6dc5[_0x185a27(0xbc)],'stdio':_0x2d6dc5['TpuiZ']},'numWorkers':_0x2594e1[_0x185a27(0x10d)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x1}),_0x568b38=new Emittery();_0x568b38['on'](_0x2d6dc5[_0x185a27(0xf2)],_0x348750=>{const _0x23be5f=_0x185a27;_0x4caebf[_0x23be5f(0xae)]([_0x348750[0x0],_0x348750[0x1]]);}),_0x568b38['on'](_0x2d6dc5[_0x185a27(0x108)],_0x26775c=>console[_0x185a27(0xb5)](_0x26775c[0x1]));_0x3f07cd['getStdout']()&&_0x3f07cd['getStdout']()[_0x185a27(0xb9)](process['stdout']);_0x3f07cd['getStderr']()&&_0x3f07cd['getStderr']()[_0x185a27(0xb9)](process[_0x185a27(0x109)]);const _0x210f89=async()=>{const _0x2e642d=_0x185a27,{forceExited:_0x5684db}=await _0x3f07cd[_0x2e642d(0xcb)]();_0x5684db&&console[_0x2e642d(0xbd)](_0x5badcc[_0x2e642d(0xdf)]),_0x5badcc['nDSkM'](_0x2acbd5,_0x4caebf);},_0x4b43be=_0x2d6dc5['SahQu'](pLimit,_0x2594e1[_0x185a27(0x10d)]||0x1),_0x13510e=(_0x4662e5,_0x59b80b)=>_0x4b43be(async()=>{const _0x471667=_0x185a27;return await _0x568b38[_0x471667(0xc0)](_0x2d6dc5[_0x471667(0x104)],_0x4662e5),_0x34e088[_0x471667(0xee)]=_0x23ba1d[_0x471667(0xd6)][_0x59b80b],_0x3f07cd[_0x471667(0xf9)](_0x4662e5,_0x34e088,_0x23ba1d,_0x207183,_0x560fc6);});Promise['all'](_0x2594e1[_0x185a27(0xd8)]((_0x2a02f9,_0x18e37b)=>_0x13510e(_0x2a02f9,_0x18e37b)['then'](_0xe7f9d4=>_0x568b38[_0x185a27(0xc0)](_0x185a27(0xde),[_0x2a02f9,_0xe7f9d4]),_0x4b7528=>_0x568b38[_0x185a27(0xc0)](_0x185a27(0xc8),[_0x2a02f9,_0x4b7528]))))[_0x185a27(0xdb)](_0x210f89,_0x210f89);});},exports[a46_0xe02257(0x100)]=(_0x52d886,_0x2de7d9)=>new Promise(_0x4763d9=>{const _0xa8251e=a46_0xe02257,_0x487dd7={'oYUWc':'exit','Jnifn':function(_0x2074d7,_0x1e235b){return _0x2074d7===_0x1e235b;},'hxzFS':function(_0x320dfe,_0x364756){return _0x320dfe!==_0x364756;},'TUMfc':'Workers\x20failed\x20to\x20exit\x20gracefully','PRwKM':function(_0x59e123,_0x38b645){return _0x59e123(_0x38b645);},'qzQDz':_0xa8251e(0x110),'HSjha':_0xa8251e(0x103),'bHrgM':_0xa8251e(0xc1),'YDIaZ':_0xa8251e(0xb9),'jjUXk':_0xa8251e(0xbf),'iwBTA':'test-file-failure'},_0x366ae1={},_0xeb41a9=new Worker(require[_0xa8251e(0xf3)](_0x487dd7['qzQDz']),{'exposedMethods':[_0x487dd7['HSjha']],'forkOptions':{'serialization':_0x487dd7['bHrgM'],'stdio':_0x487dd7['YDIaZ']},'numWorkers':_0x2de7d9,'enableWorkerThreads':![],'maxRetries':0x1,'idleMemoryLimit':undefined}),_0x2d289c=new Emittery();_0x2d289c['on'](_0x487dd7[_0xa8251e(0xb1)],_0x218a68=>{const _0x77e333=_0xa8251e;_0x218a68[0x0]&&logger['info'](_0x77e333(0xe3)+_0x218a68[0x1]+'\x20for',_0x218a68[0x0]);}),_0x2d289c['on'](_0x487dd7[_0xa8251e(0xcc)],_0x159092=>{process['exitCode']=0x1;});_0xeb41a9['getStdout']()&&_0xeb41a9[_0xa8251e(0xd9)]()['pipe'](process['stdout']);_0xeb41a9['getStderr']()&&_0xeb41a9['getStderr']()['pipe'](process[_0xa8251e(0x109)]);const _0x31dc33=async()=>{const _0x48440c=_0xa8251e,_0x5d08b2={'BVHnB':function(_0x5e4e79,_0x4c1d73){const _0x147b5d=a46_0x28f4;return _0x487dd7[_0x147b5d(0xc3)](_0x5e4e79,_0x4c1d73);},'PNWRs':function(_0x18d349,_0x42e518){const _0xe5f108=a46_0x28f4;return _0x487dd7[_0xe5f108(0xf6)](_0x18d349,_0x42e518);}};let _0x40173d=0x0;const _0xece7bd=_0xeb41a9[_0x48440c(0xbe)][_0x48440c(0xc7)](),_0x1117d9=()=>{},_0x47bca4=_0xece7bd[_0x48440c(0xd8)](async _0x2fc2b9=>{const _0x2c7829=_0x48440c;_0x2fc2b9[_0x2c7829(0xec)]([0x2,![]],_0x1117d9,_0x1117d9,_0x1117d9),_0x2fc2b9[_0x2c7829(0xda)]['on'](_0x487dd7[_0x2c7829(0xd7)],_0x42ea94=>{const _0x2da3d1=_0x2c7829;_0x5d08b2[_0x2da3d1(0xb0)](_0x40173d,0x0)&&_0x5d08b2[_0x2da3d1(0xb7)](_0x42ea94,0x0)&&(_0x40173d=_0x42ea94);}),await _0x2fc2b9[_0x2c7829(0xe2)]();});await Promise[_0x48440c(0xe6)](_0x47bca4),process['exitCode']=_0x40173d;const {forceExited:_0x5a336e}=await _0xeb41a9[_0x48440c(0xcb)]();_0x5a336e&&console[_0x48440c(0xbd)](_0x487dd7[_0x48440c(0xf8)]),_0x487dd7[_0x48440c(0xd0)](_0x4763d9,_0x366ae1);},_0x32b0c2=_0x487dd7[_0xa8251e(0xd0)](pLimit,_0x2de7d9),_0x262acb=_0x4a6abc=>_0x32b0c2(async()=>{const _0x344144=_0xa8251e;return _0xeb41a9[_0x344144(0x103)](_0x4a6abc);});Promise[_0xa8251e(0xe6)](_0x52d886[_0xa8251e(0xd8)](_0x40ecf0=>_0x262acb(_0x40ecf0)[_0xa8251e(0xdb)](_0x45c803=>_0x2d289c[_0xa8251e(0xc0)](_0xa8251e(0xbf),[_0x40ecf0['configuration'][_0xa8251e(0xd2)],_0x40ecf0[_0xa8251e(0xb6)][_0xa8251e(0xe4)]]),_0x3687b7=>_0x2d289c[_0xa8251e(0xc0)](_0xa8251e(0x10e),[_0x40ecf0,_0x3687b7]))))[_0xa8251e(0xdb)](_0x31dc33,_0x31dc33);});
|
|
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 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a48_0x3d0f(){const _0x20b73b=['mocha','6350124sxZUuX','BgtAi','2265723NJJMEc','end','1167416CEUhRe','../../helpers/test-observability/utils','7226784NLCElg','21wRNEbn','2471712hjlkoY','stopMonitoring','formatter','run','runTest','15GhJsYa','../launcher/launcher','TrYrS','startMonitoring','../../helpers/performance/performance-tester','44890sMxvsU','ixiXF','TQTMI','aVlWQ','cucumber-js','vanilla','runCucumberTest','runVanillaTest','3042WVqhjs','hQMus','EVENTS','898wKfunH','251qVVfbT','../../helpers/performance/constants','configuration'];a48_0x3d0f=function(){return _0x20b73b;};return a48_0x3d0f();}function a48_0x5c77(_0x263b0a,_0x5885c2){const _0x3d0fdc=a48_0x3d0f();return a48_0x5c77=function(_0x5c7738,_0x2c544a){_0x5c7738=_0x5c7738-0x8a;let _0x2c95ea=_0x3d0fdc[_0x5c7738];return _0x2c95ea;},a48_0x5c77(_0x263b0a,_0x5885c2);}const a48_0x429a83=a48_0x5c77;(function(_0x4bbbb9,_0x59482e){const _0x1b5764=a48_0x5c77,_0x2fcfcf=_0x4bbbb9();while(!![]){try{const _0x159913=-parseInt(_0x1b5764(0x8a))/0x1*(-parseInt(_0x1b5764(0xab))/0x2)+-parseInt(_0x1b5764(0x90))/0x3+-parseInt(_0x1b5764(0x92))/0x4*(-parseInt(_0x1b5764(0x9b))/0x5)+-parseInt(_0x1b5764(0x94))/0x6+parseInt(_0x1b5764(0x95))/0x7*(parseInt(_0x1b5764(0x96))/0x8)+parseInt(_0x1b5764(0xa8))/0x9*(parseInt(_0x1b5764(0xa0))/0xa)+-parseInt(_0x1b5764(0x8e))/0xb;if(_0x159913===_0x59482e)break;else _0x2fcfcf['push'](_0x2fcfcf['shift']());}catch(_0x5bc118){_0x2fcfcf['push'](_0x2fcfcf['shift']());}}}(a48_0x3d0f,0xda9d6));const PerformanceEvents=require(a48_0x429a83(0x8b))[a48_0x429a83(0xaa)],PerformanceTester=require(a48_0x429a83(0x9f)),{sleep}=require(a48_0x429a83(0x93));exports[a48_0x429a83(0x9a)]=async(_0x50fd39,_0x1df709)=>{const _0x2db737=a48_0x429a83,_0x1523ae={'BgtAi':function(_0x3aa255,_0x3c5f45){return _0x3aa255(_0x3c5f45);},'jkaKP':_0x2db737(0x9c),'TrYrS':_0x2db737(0x8d),'iQpaV':function(_0x21ae4a,_0x2faed3){return _0x21ae4a(_0x2faed3);}};PerformanceTester[_0x2db737(0x9e)]();const _0x1755f5=_0x1523ae[_0x2db737(0x8f)](require,_0x1523ae['jkaKP']),_0x28d03d=new _0x1755f5(_0x1523ae[_0x2db737(0x9d)],_0x50fd39,_0x1df709),_0x21c6ae=await _0x28d03d[_0x2db737(0x99)]();return PerformanceTester[_0x2db737(0x91)](PerformanceEvents['SDK_POST_TEST']),await _0x1523ae['iQpaV'](sleep,0x3e8),PerformanceTester[_0x2db737(0x97)](),_0x21c6ae;},exports[a48_0x429a83(0xa6)]=async(_0x16ff9f,_0x2b89ed,_0x5d13bb,_0x1639af,_0x3ef10b)=>{const _0x5c92b1=a48_0x429a83,_0x32747c={'aVlWQ':function(_0x32047f,_0x32d8f7){return _0x32047f(_0x32d8f7);},'hQMus':_0x5c92b1(0x9c),'TQTMI':_0x5c92b1(0xa4)},_0x4cad8d={'capability':_0x16ff9f,..._0x2b89ed},_0x3bb7c5={};_0x3bb7c5[_0x5c92b1(0x8c)]=_0x4cad8d,_0x3bb7c5[_0x5c92b1(0x98)]=_0x3ef10b;const _0x2dbe57=_0x3bb7c5,_0x48238a=_0x32747c[_0x5c92b1(0xa3)](require,_0x32747c[_0x5c92b1(0xa9)]),_0x58d75e=new _0x48238a(_0x32747c[_0x5c92b1(0xa2)],_0x2dbe57,_0x5d13bb,_0x1639af);return await _0x58d75e[_0x5c92b1(0x99)]();},exports[a48_0x429a83(0xa7)]=async _0xecd05e=>{const _0x1164da=a48_0x429a83,_0x219699={'SqZJR':function(_0x344027,_0x54545d){return _0x344027(_0x54545d);},'ixiXF':'../launcher/launcher','ElEmD':_0x1164da(0xa5)},_0x3e7f4f=_0x219699['SqZJR'](require,_0x219699[_0x1164da(0xa1)]),_0x233dc9=new _0x3e7f4f(_0x219699['ElEmD'],_0xecd05e);return await _0x233dc9[_0x1164da(0x99)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a49_0x65713f=a49_0x2532;(function(_0x3feb44,_0x2f5f44){const _0x410e34=a49_0x2532,_0xfdc8b9=_0x3feb44();while(!![]){try{const _0x3fa73e=parseInt(_0x410e34(0x8c))/0x1+-parseInt(_0x410e34(0x82))/0x2+-parseInt(_0x410e34(0x87))/0x3+parseInt(_0x410e34(0x89))/0x4*(parseInt(_0x410e34(0x84))/0x5)+parseInt(_0x410e34(0x88))/0x6*(parseInt(_0x410e34(0x8a))/0x7)+parseInt(_0x410e34(0x8d))/0x8*(parseInt(_0x410e34(0x8b))/0x9)+parseInt(_0x410e34(0x86))/0xa*(-parseInt(_0x410e34(0x83))/0xb);if(_0x3fa73e===_0x2f5f44)break;else _0xfdc8b9['push'](_0xfdc8b9['shift']());}catch(_0x7af1cc){_0xfdc8b9['push'](_0xfdc8b9['shift']());}}}(a49_0x1f22,0x38315));function a49_0x1f22(){const _0xc020b3=['656614suCBFN','4104mNQjpV','318646vMXAlt','3264dxbdEI','eDTvS','./runTest','lAcdT','vanillaWorker','288596fjkjwA','935BYHLpQ','10Byvlyc','tRDej','32090KbOyRJ','1011228SctYch','24xqolEt','208804DSrOpq'];a49_0x1f22=function(){return _0xc020b3;};return a49_0x1f22();}const {runTest,runCucumberTest,runVanillaTest}=require(a49_0x65713f(0x8f));function a49_0x2532(_0xab08bd,_0xad9eb5){const _0x1f2230=a49_0x1f22();return a49_0x2532=function(_0x253228,_0x47b37f){_0x253228=_0x253228-0x81;let _0x39c228=_0x1f2230[_0x253228];return _0x39c228;},a49_0x2532(_0xab08bd,_0xad9eb5);}exports['worker']=async(_0x4f5294,_0x33eb30)=>{const _0xd57d36=a49_0x65713f,_0x3395ae={'tRDej':function(_0x395af8,_0x4a1474,_0x57771b){return _0x395af8(_0x4a1474,_0x57771b);}};return await _0x3395ae[_0xd57d36(0x85)](runTest,_0x4f5294,_0x33eb30);},exports['cucumberWorker']=async(_0x1a1a1a,_0x5b5d9c,_0x2e67cb,_0x23dc3e,_0xc8d2c9)=>{const _0x55d89c=a49_0x65713f,_0xf0444b={'eDTvS':function(_0x1ad614,_0x4f7b26,_0x3a151b,_0x225491,_0x5b08b7,_0x1fe3d){return _0x1ad614(_0x4f7b26,_0x3a151b,_0x225491,_0x5b08b7,_0x1fe3d);}};return await _0xf0444b[_0x55d89c(0x8e)](runCucumberTest,_0x1a1a1a,_0x5b5d9c,_0x2e67cb,_0x23dc3e,_0xc8d2c9);},exports[a49_0x65713f(0x81)]=async _0x39c756=>{const _0x34d29f=a49_0x65713f,_0x116ce8={'lAcdT':function(_0x3a77d6,_0x69c10b){return _0x3a77d6(_0x69c10b);}};return await _0x116ce8[_0x34d29f(0x90)](runVanillaTest,_0x39c756);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a49_0x38556c=a49_0x2f39;(function(_0x279bef,_0x1ec8c1){var _0x30c2ba=a49_0x2f39,_0x273e23=_0x279bef();while(!![]){try{var _0x5f435b=parseInt(_0x30c2ba(0x24a))/0x1*(parseInt(_0x30c2ba(0x220))/0x2)+-parseInt(_0x30c2ba(0x20a))/0x3*(-parseInt(_0x30c2ba(0x22b))/0x4)+parseInt(_0x30c2ba(0x23f))/0x5*(parseInt(_0x30c2ba(0x229))/0x6)+parseInt(_0x30c2ba(0x289))/0x7+parseInt(_0x30c2ba(0x271))/0x8+parseInt(_0x30c2ba(0x278))/0x9+-parseInt(_0x30c2ba(0x297))/0xa;if(_0x5f435b===_0x1ec8c1)break;else _0x273e23['push'](_0x273e23['shift']());}catch(_0x2add6d){_0x273e23['push'](_0x273e23['shift']());}}}(a49_0x1c53,0x7c5b8));var a49_0x442ae3={};a49_0x442ae3[a49_0x38556c(0x28f)]='shows\x20version\x20information',a49_0x442ae3['HELP']='Specify\x20--help\x20for\x20available\x20options';var a49_0x3d3ff1={};a49_0x3d3ff1[a49_0x38556c(0x28f)]='Run\x20jest\x20tests\x20on\x20browserstack';function a49_0x1c53(){var _0x5a72b1=['ERR_NETWORK_CHANGED','https://tcg.browserstack.com','proxyUrl','automate','testOrchestrationOptions','AI_PROXY_FAILURE','strictFileInteractability','^[a-zA-Z0-9_.-]*/[a-zA-Z0-9_.-]*$','codeceptjs','ERR_BLOCKED_BY_CLIENT','HEALING_FAILURE_TIMEOUT','turboScaleOptions','https://automate.browserstack.com/dashboard/v2/builds/','VALID_APP_EXTENSION','https://app-automate.browserstack.com/dashboard/v2/builds/','CLI_SUPPORTED_FRAMEWORKS','percyCaptureMode','use','315485JtDWZC','UPDATED_CLI_ENDPOINT','turboScale','AUTOMATE','FRAMEWORKS','browserName','.ipa','AUTOMATE_PRODUCTS','Upgrade\x20required','^[a-zA-Z0-9_.-]*$','https://api.browserstack.com','3455tIaSuP','ERR_CONNECTION_TIMED_OUT','BROWSERSTACK_AUTOMATE_URL','MODULE','accessibilityOptions','ERR_TIMED_OUT','hubUrl','browserStackLocalOptions','sdk/v1/update_cli','PLAYWRIGHT','.apk','commonjs','httpsProxy','BROWSERSTACK_API_URL','MOCHA','ERR_CONNECTION_REFUSED','PRIVATE_DOMAIN_OR_IP_REGEX','https://upload-observability.browserstack.com','...[TRUNCATED]','invalidKeys','SDKTestTcgDownResponse','pageLoadStrategy','logLevel','INTEGRATIONS','HEALING_LOG_DATA_TIMEOUT','invalidTestInputType','ERR_CONNECTION_RESET','SDKTestTcgAuthFailure','PERCY_SUPPORTED_FRAMEWORKS','ERR_ADDRESS_INVALID','/usage-debug.log','framework','SDKTestTcgtInitSuccessful','ERR_TUNNEL_CONNECTION_FAILED','Invalid\x20value\x20for\x20\x27%s\x27\x20key\x20in\x20the\x20yml\x20file','percyOptions','INVALID_INIT_RESP_WITH_USER_IMPACT','BSTACK_DELTA','COMMONJS','5949504CbzJUs','APP_AUTOMATE','browserstackAutomation','ERR_ADDRESS_UNREACHABLE','TCG_REGION','PLAYWRIGHT_HUB_URL','SET_TCG_TOKEN_TIMEOUT','139122waAGdc','Run\x20playwright\x20tests\x20on\x20Browserstack','percy','https://api-cloud.browserstack.com','jest','OBSERVABILITY_UPLOAD_URL','ROOT_CAPS','VANILLA','testObservabilityOptions','name\x20and\x20testMatch\x20are\x20required\x20for\x20the\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','testObservability','root','https://eds.browserstack.com','timeouts','parallelsPerPlatform','ERR_NAME_RESOLUTION_FAILED','NIGHTWATCH','2211769QSFFfc','Playwright','customVariables','vanilla','TCG_DOWN','edgeOptions','INFO','SDKTestInitFailedResponse','playwright','ieOptions','codeceptjs-cucumber','ERR_SOCKS_CONNECTION_FAILED','firefoxOptions','OBSERVABILITY_SUPPORTED_FWS','21337560FiTpIu','testContextOptions','localOptions','LOG_FILE_NAME','SDK_INSTRUMENTATION_CONFIG','Project\x20and\x20debug\x20logs\x20are\x20captured\x20by\x20default.\x20To\x20disable,\x20set\x20disableAutoCaptureLogs:\x20true\x20in\x20config.','rerunTests','ERR_SOCKET_NOT_CONNECTED','proxyPassword','sdk/v1/event','platforms','acceptInsecureCerts','app-automate','uniqueDependency','TCG_AUTH_FAILURE','chromeOptions','JEST','FUNNEL_INSTRUMENTATION_API_URL','proxyUser','PLAYWRIGHT_TRACE_LOGS','ERR_CONNECTION_CLOSED','CUCUMBER','observability','browserstack.userName','CUSTOM_ID_REGEX','mocha','Run\x20nightwatch\x20tests\x20on\x20browserstack','1613706NckChN','accessKey','disableAutoCaptureLogs','ATS_HUB_URL_REGEX','PACKAGE_TYPE','cucumber','POLL_HEALING_RESULT_TIMEOUT','DEBUG_LOG_FILE_NAME','.aab','REDACTED_KEYS','./browserstack-artifacts/','ATS_WSS_URL_REGEX','unhandledPromptBehavior','localProxyUser','httpProxy','PLAYWRIGHT_CONFIG_OPTION_ERRORS','ERR_CONNECTION_ABORTED','acceptSslCert','name\x20property\x20must\x20be\x20unique\x20within\x20%s\x20key\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file','EDS_URL','userName','proxySettings','158aCdGlu','HUB_URL_REGEX','browserstackLocal','SDKTestInvalidTcgAuthResponseWithUserImpact','browserstack.accessKey','browserstack.overridelocalInfo.userAuthToken','module','accessibility','CODECEPT_CUCUMBER','72eSbgrH','wss://cdp.browserstack.com/playwright?caps=','4GqTifj','/usage.log'];a49_0x1c53=function(){return _0x5a72b1;};return a49_0x1c53();}var a49_0x17b97f={};a49_0x17b97f[a49_0x38556c(0x28f)]='Run\x20mocha\x20tests\x20on\x20browserstack';var a49_0x462fe2={};a49_0x462fe2[a49_0x38556c(0x28f)]='Run\x20cucumber-js\x20tests\x20on\x20browserstack';var a49_0x545206={};a49_0x545206[a49_0x38556c(0x28f)]='Run\x20js\x20tests\x20on\x20browserstack';var a49_0x2bc651={};a49_0x2bc651['INFO']=a49_0x38556c(0x209);var a49_0x55d067={};a49_0x55d067['INFO']=a49_0x38556c(0x279);var a49_0x37b92a={};a49_0x37b92a['INFO']='Run\x20codeceptjs\x20tests\x20on\x20browserstack';var a49_0x4c52d6={};a49_0x4c52d6['INFO']='Create\x20and\x20Manage\x20scalable\x20browser\x20automation\x20grids\x20for\x20Functional\x20Testing';var a49_0x2933a2={};a49_0x2933a2[a49_0x38556c(0x28f)]='Connect\x20on\x20prem\x20instances\x20to\x20Browserstack';var a49_0x113ae6={};a49_0x113ae6['PLAYWRIGHT']='Playwright',a49_0x113ae6[a49_0x38556c(0x258)]=a49_0x38556c(0x208),a49_0x113ae6[a49_0x38556c(0x1ff)]='jest',a49_0x113ae6['CODECEPT']=a49_0x38556c(0x235),a49_0x113ae6[a49_0x38556c(0x228)]=a49_0x38556c(0x293),a49_0x113ae6[a49_0x38556c(0x204)]=a49_0x38556c(0x20f);var a49_0x1ffe9e={};a49_0x1ffe9e[a49_0x38556c(0x25d)]='Invalid\x20property\x20added\x20for\x20the\x20%s\x20in\x20playwrightConfigOptions\x20in\x20the\x20yml\x20file',a49_0x1ffe9e[a49_0x38556c(0x1fc)]=a49_0x38556c(0x21c),a49_0x1ffe9e['mandatoryDependency']=a49_0x38556c(0x281),a49_0x1ffe9e[a49_0x38556c(0x263)]=a49_0x38556c(0x26c);var a49_0x3f6417={};a49_0x3f6417[a49_0x38556c(0x270)]=a49_0x38556c(0x255),a49_0x3f6417[a49_0x38556c(0x24d)]=a49_0x38556c(0x226);function a49_0x2f39(_0x2c3ab4,_0x4ffc7b){var _0x1c53bc=a49_0x1c53();return a49_0x2f39=function(_0x2f3963,_0x56f80b){_0x2f3963=_0x2f3963-0x1f1;var _0x16c60c=_0x1c53bc[_0x2f3963];return _0x16c60c;},a49_0x2f39(_0x2c3ab4,_0x4ffc7b);}var a49_0x561608={};a49_0x561608[a49_0x38556c(0x283)]=[a49_0x38556c(0x21e),a49_0x38556c(0x20b),a49_0x38556c(0x218),'httpsProxy',a49_0x38556c(0x28b),a49_0x38556c(0x206),a49_0x38556c(0x224),a49_0x38556c(0x1f7),'authToken',a49_0x38556c(0x22f),a49_0x38556c(0x225)],a49_0x561608[a49_0x38556c(0x251)]=[a49_0x38556c(0x201),'proxyPass',a49_0x38556c(0x217),'localProxyPass'];var a49_0x552b90={};a49_0x552b90[a49_0x38556c(0x222)]='browserstackLocal',a49_0x552b90[a49_0x38556c(0x251)]=a49_0x38556c(0x251),a49_0x552b90[a49_0x38556c(0x1f1)]='browserStackLocalOptions',a49_0x552b90[a49_0x38556c(0x286)]=a49_0x38556c(0x286),a49_0x552b90['platforms']=a49_0x38556c(0x1f9),a49_0x552b90['logLevel']=a49_0x38556c(0x260),a49_0x552b90[a49_0x38556c(0x218)]=a49_0x38556c(0x218),a49_0x552b90[a49_0x38556c(0x256)]=a49_0x38556c(0x256),a49_0x552b90[a49_0x38556c(0x269)]=a49_0x38556c(0x269),a49_0x552b90[a49_0x38556c(0x298)]=a49_0x38556c(0x298),a49_0x552b90[a49_0x38556c(0x282)]='testObservability',a49_0x552b90['testObservabilityOptions']=a49_0x38556c(0x280),a49_0x552b90['customVariables']=a49_0x38556c(0x28b),a49_0x552b90['automation']=a49_0x38556c(0x273),a49_0x552b90[a49_0x38556c(0x273)]=a49_0x38556c(0x273),a49_0x552b90[a49_0x38556c(0x1f5)]=a49_0x38556c(0x1f5),a49_0x552b90[a49_0x38556c(0x27a)]='percy',a49_0x552b90[a49_0x38556c(0x26d)]=a49_0x38556c(0x26d),a49_0x552b90[a49_0x38556c(0x23d)]=a49_0x38556c(0x23d),a49_0x552b90[a49_0x38556c(0x20c)]='disableAutoCaptureLogs',a49_0x552b90[a49_0x38556c(0x227)]=a49_0x38556c(0x227),a49_0x552b90[a49_0x38556c(0x24e)]='accessibilityOptions',a49_0x552b90[a49_0x38556c(0x241)]=a49_0x38556c(0x241),a49_0x552b90['turboScaleOptions']=a49_0x38556c(0x238),a49_0x552b90['proxySettings']=a49_0x38556c(0x21f),a49_0x552b90[a49_0x38556c(0x231)]='testOrchestrationOptions';var a49_0x5ef699={};a49_0x5ef699['VERSION']=a49_0x442ae3,a49_0x5ef699['JEST']=a49_0x3d3ff1,a49_0x5ef699[a49_0x38556c(0x258)]=a49_0x17b97f,a49_0x5ef699[a49_0x38556c(0x204)]=a49_0x462fe2,a49_0x5ef699[a49_0x38556c(0x27f)]=a49_0x545206,a49_0x5ef699[a49_0x38556c(0x288)]=a49_0x2bc651,a49_0x5ef699[a49_0x38556c(0x253)]=a49_0x55d067,a49_0x5ef699['CODECEPTJS']=a49_0x37b92a,a49_0x5ef699['HST']=a49_0x4c52d6,a49_0x5ef699[a49_0x38556c(0x261)]=a49_0x2933a2,a49_0x5ef699[a49_0x38556c(0x26f)]=0xf*0x3c*0x3e8,a49_0x5ef699[a49_0x38556c(0x250)]='https://hub.browserstack.com/wd/hub',a49_0x5ef699['TCG_URL']=a49_0x38556c(0x22e),a49_0x5ef699[a49_0x38556c(0x275)]=a49_0x38556c(0x23e),a49_0x5ef699[a49_0x38556c(0x221)]=/^hub(-[a-z]+)?\.browserstack\.com$/,a49_0x5ef699[a49_0x38556c(0x20d)]=/^[a-zA-Z0-9]+-hub\.browserstack-ats\.com$/,a49_0x5ef699[a49_0x38556c(0x215)]=/wss?:\/\/(?:[a-zA-Z0-9_-]+-)?hub(?:-ft)?\.browserstack(-ats)?\.com/,a49_0x5ef699[a49_0x38556c(0x27e)]=[a49_0x38556c(0x1fa),a49_0x38556c(0x25f),a49_0x38556c(0x233),a49_0x38556c(0x216),a49_0x38556c(0x285),a49_0x38556c(0x244),'browserVersion','acceptSslCerts',a49_0x38556c(0x21b),a49_0x38556c(0x1fe),a49_0x38556c(0x295),a49_0x38556c(0x28e),a49_0x38556c(0x292)],a49_0x5ef699['ROOT_REGEX']=/^[\w-]+:.*$/,a49_0x5ef699[a49_0x38556c(0x25a)]=[/localhost/,/bs-local.com/,/^127\./,/^10\./,/^172\.1[6-9]\./,/^172\.2[0-9]\./,/^172\.3[0-1]\./,/^192\.168\./],a49_0x5ef699[a49_0x38556c(0x21d)]=a49_0x38556c(0x284),a49_0x5ef699[a49_0x38556c(0x257)]=a49_0x38556c(0x249),a49_0x5ef699['APP_UPLOAD_URL']=a49_0x38556c(0x27b),a49_0x5ef699[a49_0x38556c(0x240)]=a49_0x38556c(0x252),a49_0x5ef699[a49_0x38556c(0x200)]=a49_0x38556c(0x1f8),a49_0x5ef699[a49_0x38556c(0x246)]=['automate',a49_0x38556c(0x205)],a49_0x5ef699['APP_AUTOMATE_PRODUCTS']=[a49_0x38556c(0x1fb),a49_0x38556c(0x205)],a49_0x5ef699['PRODUCT_IF_NOT_BROWSERSTACK_INFRA']=[a49_0x38556c(0x205)],a49_0x5ef699[a49_0x38556c(0x27d)]=a49_0x38556c(0x25b),a49_0x5ef699[a49_0x38556c(0x296)]=[a49_0x38556c(0x208),a49_0x38556c(0x28a)],a49_0x5ef699[a49_0x38556c(0x242)]=[a49_0x38556c(0x230)],a49_0x5ef699[a49_0x38556c(0x24c)]=a49_0x38556c(0x239),a49_0x5ef699['BROWSERSTACK_APP_AUTOMATE_URL']=a49_0x38556c(0x23b),a49_0x5ef699[a49_0x38556c(0x272)]=[a49_0x38556c(0x1fb)],a49_0x5ef699['NUDGE_LOCAL_ERRORS']=['ERR_FAILED',a49_0x38556c(0x24f),a49_0x38556c(0x236),a49_0x38556c(0x22d),a49_0x38556c(0x1f6),a49_0x38556c(0x203),a49_0x38556c(0x264),a49_0x38556c(0x259),a49_0x38556c(0x21a),'ERR_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED',a49_0x38556c(0x267),a49_0x38556c(0x274),a49_0x38556c(0x26b),a49_0x38556c(0x24b),a49_0x38556c(0x294),'ERR_SOCKS_CONNECTION_HOST_UNREACHABLE','ERR_PROXY_CONNECTION_FAILED','ERR_NAME_NOT_RESOLVED',a49_0x38556c(0x287),'ERR_MANDATORY_PROXY_CONFIGURATION_FAILED'],a49_0x5ef699[a49_0x38556c(0x23a)]=[a49_0x38556c(0x254),a49_0x38556c(0x212),a49_0x38556c(0x245)],a49_0x5ef699[a49_0x38556c(0x207)]=a49_0x38556c(0x248),a49_0x5ef699['SHAREABLE_ID_REGEX']=a49_0x38556c(0x234),a49_0x5ef699['CI_ARTIFACTS_PATH']=a49_0x38556c(0x214),a49_0x5ef699[a49_0x38556c(0x276)]=a49_0x38556c(0x22a),a49_0x5ef699[a49_0x38556c(0x243)]=a49_0x113ae6,a49_0x5ef699[a49_0x38556c(0x266)]=[a49_0x38556c(0x27c),'mocha'],a49_0x5ef699[a49_0x38556c(0x219)]=a49_0x1ffe9e,a49_0x5ef699['AUTOLOGCAPTURE_NOTIFICATION']=a49_0x38556c(0x1f4),a49_0x5ef699[a49_0x38556c(0x20e)]=a49_0x3f6417,a49_0x5ef699['MAX_GIT_META_DATA_SIZE_IN_BYTES']=0x40*0x400,a49_0x5ef699['GIT_META_DATA_TRUNCATED']=a49_0x38556c(0x25c),a49_0x5ef699['UPGRADE_REQUIRED']=a49_0x38556c(0x247),a49_0x5ef699[a49_0x38556c(0x28d)]=a49_0x38556c(0x25e),a49_0x5ef699[a49_0x38556c(0x26e)]=a49_0x38556c(0x223),a49_0x5ef699[a49_0x38556c(0x1fd)]=a49_0x38556c(0x265),a49_0x5ef699['AI_INIT_SUCCESSFUL']=a49_0x38556c(0x26a),a49_0x5ef699['AI_INIT_FAILURE']=a49_0x38556c(0x290),a49_0x5ef699[a49_0x38556c(0x232)]='SDKTestTcgProxyFailure',a49_0x5ef699['TCG_AUTH_TIMEOUT']=0x1388,a49_0x5ef699[a49_0x38556c(0x277)]=0x1388,a49_0x5ef699[a49_0x38556c(0x262)]=0x1388,a49_0x5ef699[a49_0x38556c(0x237)]=0x1388,a49_0x5ef699[a49_0x38556c(0x210)]=0xc350,a49_0x5ef699[a49_0x38556c(0x213)]=a49_0x561608,a49_0x5ef699['AI_ENABLED_FRAMEWORK']=[a49_0x38556c(0x28c),'codeceptjs'],a49_0x5ef699[a49_0x38556c(0x1f3)]=a49_0x552b90,a49_0x5ef699[a49_0x38556c(0x1f2)]=a49_0x38556c(0x22c),a49_0x5ef699[a49_0x38556c(0x211)]=a49_0x38556c(0x268),a49_0x5ef699[a49_0x38556c(0x23c)]=[a49_0x38556c(0x291)],a49_0x5ef699[a49_0x38556c(0x202)]='PLAYWRIGHT_TRACE_LOGS',module['exports']=a49_0x5ef699;
|
|
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 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a51_0x3963(){const _0x222a21=['join','143FcRelR','121494RZxnPT','30560qOifjM','456kUioWh','configure','level','135GTixGT','type','timezoneOffset','log','levelStr','./logReportingAPI','1802785mILZbX','layout','5006cJXENs','5280884CPDirq','10861407btKzfr','10AFkeVP','colouredLayout','231cyNRfV','data','943848gJNWYK'];a51_0x3963=function(){return _0x222a21;};return a51_0x3963();}const a51_0x1d898=a51_0x37a7;(function(_0x141a60,_0x17eeda){const _0x4649c8=a51_0x37a7,_0x595d7b=_0x141a60();while(!![]){try{const _0x53d226=parseInt(_0x4649c8(0x7f))/0x1+parseInt(_0x4649c8(0x81))/0x2*(-parseInt(_0x4649c8(0x76))/0x3)+parseInt(_0x4649c8(0x82))/0x4+-parseInt(_0x4649c8(0x79))/0x5*(-parseInt(_0x4649c8(0x74))/0x6)+parseInt(_0x4649c8(0x6f))/0x7*(-parseInt(_0x4649c8(0x75))/0x8)+parseInt(_0x4649c8(0x83))/0x9*(-parseInt(_0x4649c8(0x84))/0xa)+-parseInt(_0x4649c8(0x73))/0xb*(parseInt(_0x4649c8(0x71))/0xc);if(_0x53d226===_0x17eeda)break;else _0x595d7b['push'](_0x595d7b['shift']());}catch(_0x5ddb69){_0x595d7b['push'](_0x595d7b['shift']());}}}(a51_0x3963,0xe4000));function a51_0x37a7(_0xb168b9,_0x2bb41){const _0x396351=a51_0x3963();return a51_0x37a7=function(_0x37a783,_0xa15430){_0x37a783=_0x37a783-0x6f;let _0x3ffff6=_0x396351[_0x37a783];return _0x3ffff6;},a51_0x37a7(_0xb168b9,_0x2bb41);}const logReportingAPI=require(a51_0x1d898(0x7e)),BSTestOpsLogger=new logReportingAPI({});function BSTestOpsLog4JSAppender(_0x43763e,_0x126ec7){return _0x1353b9=>{const _0x4d4607=a51_0x37a7;BSTestOpsLogger[_0x4d4607(0x7c)]({'level':_0x1353b9[_0x4d4607(0x78)]?_0x1353b9['level'][_0x4d4607(0x7d)]:null,'message':_0x1353b9[_0x4d4607(0x70)]?_0x1353b9[_0x4d4607(0x70)][_0x4d4607(0x72)]('\x20'):null});};}exports[a51_0x1d898(0x77)]=(_0x1dae1f,_0x426a10)=>{const _0x2fc18f=a51_0x1d898,_0x165c17={'iSqsy':function(_0x52aaf8,_0x4e5b04,_0x2b45fb){return _0x52aaf8(_0x4e5b04,_0x2b45fb);}};let _0xef91af=_0x426a10[_0x2fc18f(0x85)];return _0x1dae1f[_0x2fc18f(0x80)]&&(_0xef91af=_0x426a10['layout'](_0x1dae1f[_0x2fc18f(0x80)][_0x2fc18f(0x7a)],_0x1dae1f[_0x2fc18f(0x80)])),_0x165c17['iSqsy'](BSTestOpsLog4JSAppender,_0xef91af,_0x1dae1f[_0x2fc18f(0x7b)]);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a52_0x528227=a52_0x5946;function a52_0x5946(_0x2cf9cc,_0x58e389){const _0x7438b9=a52_0x7438();return a52_0x5946=function(_0x594671,_0x3c6acc){_0x594671=_0x594671-0x1e4;let _0x12a49c=_0x7438b9[_0x594671];return _0x12a49c;},a52_0x5946(_0x2cf9cc,_0x58e389);}(function(_0x19e847,_0x1987bb){const _0x589a54=a52_0x5946,_0x186016=_0x19e847();while(!![]){try{const _0x353a98=-parseInt(_0x589a54(0x1e8))/0x1+parseInt(_0x589a54(0x1ec))/0x2+-parseInt(_0x589a54(0x1ee))/0x3*(parseInt(_0x589a54(0x1f1))/0x4)+-parseInt(_0x589a54(0x203))/0x5*(-parseInt(_0x589a54(0x1f3))/0x6)+-parseInt(_0x589a54(0x1fc))/0x7*(-parseInt(_0x589a54(0x1f0))/0x8)+-parseInt(_0x589a54(0x1f2))/0x9*(-parseInt(_0x589a54(0x1e4))/0xa)+-parseInt(_0x589a54(0x1eb))/0xb;if(_0x353a98===_0x1987bb)break;else _0x186016['push'](_0x186016['shift']());}catch(_0x989a76){_0x186016['push'](_0x186016['shift']());}}}(a52_0x7438,0x513e7));const Transport=require(a52_0x528227(0x204)),{consoleHolder}=require(a52_0x528227(0x1e5)),a52_0x5b2e71={};a52_0x5b2e71[a52_0x528227(0x1e7)]='INFO',a52_0x5b2e71[a52_0x528227(0x1ef)]='ERROR',a52_0x5b2e71[a52_0x528227(0x1ff)]=a52_0x528227(0x1ff),a52_0x5b2e71[a52_0x528227(0x1fd)]=a52_0x528227(0x1fd),a52_0x5b2e71[a52_0x528227(0x1e6)]='WARN';const LOG_LEVELS=a52_0x5b2e71;class logPatcher extends Transport{constructor(_0x1c8c27){super(_0x1c8c27);}[a52_0x528227(0x201)]=(_0x1d61b3=LOG_LEVELS['INFO'],_0x42f34f=[''])=>{const _0x4affab=a52_0x528227,_0x4c4834={};_0x4c4834[_0x4affab(0x1fa)]=_0x4affab(0x1f9);const _0x3451fb=_0x4c4834;consoleHolder[_0x1d61b3[_0x4affab(0x202)]()](..._0x42f34f),process[_0x4affab(0x1e9)](_0x4affab(0x1f5)+process[_0x4affab(0x1f8)],{'timestamp':new Date()[_0x4affab(0x1ea)](),'level':_0x1d61b3[_0x4affab(0x1fb)](),'message':'\x22'+_0x42f34f['join'](',\x20')+'\x22','kind':_0x3451fb[_0x4affab(0x1fa)],'http_response':{}});};[a52_0x528227(0x1f4)]=(..._0xdf4a7c)=>{this['logToTestOps'](LOG_LEVELS['TRACE'],_0xdf4a7c);};['debug']=(..._0x15eba2)=>{const _0x4ffdc8=a52_0x528227;this['logToTestOps'](LOG_LEVELS[_0x4ffdc8(0x1ff)],_0x15eba2);};[a52_0x528227(0x1f7)]=(..._0x52276b)=>{const _0x5a4533=a52_0x528227;this[_0x5a4533(0x201)](LOG_LEVELS[_0x5a4533(0x1e7)],_0x52276b);};[a52_0x528227(0x1ed)]=(..._0x30f077)=>{const _0x530375=a52_0x528227;this[_0x530375(0x201)](LOG_LEVELS[_0x530375(0x1e6)],_0x30f077);};[a52_0x528227(0x1fe)]=(..._0x5b1f4e)=>{const _0x34f1ed=a52_0x528227;this[_0x34f1ed(0x201)](LOG_LEVELS[_0x34f1ed(0x1ef)],_0x5b1f4e);};[a52_0x528227(0x1f6)]=(..._0x421703)=>{const _0x3f457b=a52_0x528227;this[_0x3f457b(0x201)](LOG_LEVELS[_0x3f457b(0x1e7)],_0x421703);};};function a52_0x7438(){const _0x376dad=['UXxhf','toUpperCase','228991qzdxHk','TRACE','error','DEBUG','exports','logToTestOps','toLowerCase','261955DAUyRm','winston-transport','110tAgGxS','../../helpers/test-observability/constants','WARN','INFO','615413VtbEsO','emit','toISOString','1968175bYMFoO','742534mGBNKK','warn','158901wAVaaV','ERROR','24CwpydF','4jzJjeG','281403dwsYVr','42tZnpMU','trace','bs:addLog:','log','info','pid','TEST_LOG'];a52_0x7438=function(){return _0x376dad;};return a52_0x7438();}module[a52_0x528227(0x200)]=logPatcher;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a53_0xf1c0(_0x23b73b,_0x40ba72){const _0x6cd600=a53_0x6cd6();return a53_0xf1c0=function(_0xf1c01e,_0x2837e0){_0xf1c01e=_0xf1c01e-0x64;let _0x2c5456=_0x6cd600[_0xf1c01e];return _0x2c5456;},a53_0xf1c0(_0x23b73b,_0x40ba72);}const a53_0x24cd4c=a53_0xf1c0;function a53_0x6cd6(){const _0x37b18f=['2843YnXTph','debug','1236tbFECj','cPNWt','2123raIAxn','TDNun','exports','TEST_LOG','pid','toISOString','logToTestOps','level','7UgEKAD','hTABq','23410dXSfkh','ytASP','trace','logged','info','WARN','DEBUG','647998SJQCrG','winston-transport','object','error','5342244tSOeWq','8dKXPaT','ERROR','HxILC','KiDCO','warn','INFO','516VTLJmT','1408nXCAhS','2741913MyKxYD','log','358LMlZRY','2679655xdbdTx','TRACE'];a53_0x6cd6=function(){return _0x37b18f;};return a53_0x6cd6();}(function(_0x184f6e,_0x3b55bd){const _0x4b7e45=a53_0xf1c0,_0x1d78cc=_0x184f6e();while(!![]){try{const _0x31ea29=-parseInt(_0x4b7e45(0x73))/0x1*(parseInt(_0x4b7e45(0x70))/0x2)+parseInt(_0x4b7e45(0x75))/0x3*(parseInt(_0x4b7e45(0x6d))/0x4)+-parseInt(_0x4b7e45(0x71))/0x5+-parseInt(_0x4b7e45(0x65))/0x6*(parseInt(_0x4b7e45(0x7f))/0x7)+parseInt(_0x4b7e45(0x66))/0x8*(-parseInt(_0x4b7e45(0x6e))/0x9)+-parseInt(_0x4b7e45(0x81))/0xa*(-parseInt(_0x4b7e45(0x77))/0xb)+parseInt(_0x4b7e45(0x6c))/0xc*(parseInt(_0x4b7e45(0x88))/0xd);if(_0x31ea29===_0x3b55bd)break;else _0x1d78cc['push'](_0x1d78cc['shift']());}catch(_0x24d753){_0x1d78cc['push'](_0x1d78cc['shift']());}}}(a53_0x6cd6,0x7a284));const Transport=require(a53_0x24cd4c(0x89)),{consoleHolder}=require('../../helpers/test-observability/constants'),a53_0x5671cc={};a53_0x5671cc[a53_0x24cd4c(0x6b)]=a53_0x24cd4c(0x6b),a53_0x5671cc[a53_0x24cd4c(0x67)]=a53_0x24cd4c(0x67),a53_0x5671cc[a53_0x24cd4c(0x87)]=a53_0x24cd4c(0x87),a53_0x5671cc[a53_0x24cd4c(0x72)]=a53_0x24cd4c(0x72),a53_0x5671cc[a53_0x24cd4c(0x86)]=a53_0x24cd4c(0x86);const LOG_LEVELS=a53_0x5671cc;class logReportingAPI extends Transport{constructor(_0x2916d6){super(_0x2916d6);}[a53_0x24cd4c(0x6f)](_0x29e3ba,_0x32d7e3){const _0x139542=a53_0x24cd4c,_0x489ed5={'TDNun':_0x139542(0x84),'cPNWt':function(_0x22ec3c,_0x2f0778){return _0x22ec3c(_0x2f0778);},'KiDCO':function(_0x858b55,_0x3d84c2){return _0x858b55===_0x3d84c2;},'ytASP':_0x139542(0x8a),'hTABq':function(_0x567fdd){return _0x567fdd();}};_0x489ed5[_0x139542(0x76)](setImmediate,()=>{const _0x17b3d6=_0x139542;this['emit'](_0x489ed5[_0x17b3d6(0x78)],_0x29e3ba);}),_0x489ed5[_0x139542(0x69)](typeof _0x29e3ba,_0x489ed5[_0x139542(0x82)])?this['logToTestOps'](_0x29e3ba[_0x139542(0x7e)]||LOG_LEVELS[_0x139542(0x6b)],_0x29e3ba['message'],![]):this[_0x139542(0x7d)](LOG_LEVELS[_0x139542(0x6b)],_0x29e3ba),_0x32d7e3&&_0x489ed5[_0x139542(0x80)](_0x32d7e3);}[a53_0x24cd4c(0x7d)]=(_0xeb6b87=LOG_LEVELS[a53_0x24cd4c(0x6b)],_0x9edaf7='',_0x3bc5f8=!![])=>{const _0x3f49dc=a53_0x24cd4c,_0x3e5093={};_0x3e5093[_0x3f49dc(0x68)]=_0x3f49dc(0x7a);const _0x189c1a=_0x3e5093;_0x3bc5f8&&consoleHolder[_0xeb6b87['toLowerCase']()](_0x9edaf7),process['emit']('bs:addLog:'+process[_0x3f49dc(0x7b)],{'timestamp':new Date()[_0x3f49dc(0x7c)](),'level':_0xeb6b87['toUpperCase'](),'message':_0x9edaf7,'kind':_0x189c1a[_0x3f49dc(0x68)],'http_response':{}});};[a53_0x24cd4c(0x83)]=(_0x3a9aac,_0x4225f0)=>{const _0x4de09f=a53_0x24cd4c;this[_0x4de09f(0x7d)](LOG_LEVELS[_0x4de09f(0x72)],_0x3a9aac);};[a53_0x24cd4c(0x74)]=(_0x332f5d,_0x20bf6c)=>{const _0x3717c0=a53_0x24cd4c;this[_0x3717c0(0x7d)](LOG_LEVELS[_0x3717c0(0x87)],_0x332f5d);};[a53_0x24cd4c(0x85)]=(_0x54d57c,_0x711fd2)=>{const _0x407de1=a53_0x24cd4c;this['logToTestOps'](LOG_LEVELS[_0x407de1(0x6b)],_0x54d57c);};[a53_0x24cd4c(0x6a)]=(_0x3ffdea,_0x1f96e8)=>{const _0x200ec3=a53_0x24cd4c;this[_0x200ec3(0x7d)](LOG_LEVELS[_0x200ec3(0x86)],_0x3ffdea);};[a53_0x24cd4c(0x64)]=(_0x36b963,_0xebc234)=>{const _0x2b2b0e=a53_0x24cd4c;this[_0x2b2b0e(0x7d)](LOG_LEVELS[_0x2b2b0e(0x67)],_0x36b963);};};module[a53_0x24cd4c(0x79)]=logReportingAPI;
|