browserstack-node-sdk 1.58.0 → 1.60.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 +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/assets/report.html +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/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.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/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.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/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.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/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.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/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.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/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/loadTestModule.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/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.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/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.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/accessibilityRetryHelper.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/caCertHelper.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/driverInitErrorReporter.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/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a55_0x341a2a=a55_0x1713;(function(_0x4ed043,_0x42c6ca){const _0x205f6b=a55_0x1713,_0x3888b3=_0x4ed043();while(!![]){try{const _0xbb6fa5=-parseInt(_0x205f6b(0x1a3))/0x1+parseInt(_0x205f6b(0x1df))/0x2+parseInt(_0x205f6b(0x16e))/0x3*(-parseInt(_0x205f6b(0x180))/0x4)+parseInt(_0x205f6b(0x1c6))/0x5*(parseInt(_0x205f6b(0x1ae))/0x6)+-parseInt(_0x205f6b(0x1ee))/0x7+parseInt(_0x205f6b(0x18e))/0x8+parseInt(_0x205f6b(0x171))/0x9*(parseInt(_0x205f6b(0x194))/0xa);if(_0xbb6fa5===_0x42c6ca)break;else _0x3888b3['push'](_0x3888b3['shift']());}catch(_0x5e52d5){_0x3888b3['push'](_0x3888b3['shift']());}}}(a55_0x4193,0x753a3));function a55_0x1713(_0x28437d,_0x65e0da){const _0x4193b7=a55_0x4193();return a55_0x1713=function(_0x1713ef,_0x2a1f62){_0x1713ef=_0x1713ef-0x148;let _0x3f713a=_0x4193b7[_0x1713ef];return _0x3f713a;},a55_0x1713(_0x28437d,_0x65e0da);}const path=require('path'),url=require(a55_0x341a2a(0x1e0)),util=require(a55_0x341a2a(0x1cb)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a55_0x341a2a(0x17b)),{o11yErrorHandler}=require(a55_0x341a2a(0x1f1)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a55_0x341a2a(0x162)),logger=require(a55_0x341a2a(0x1ff))[a55_0x341a2a(0x14c)],scripts=require(a55_0x341a2a(0x1f9)),{browserStackExecuteDriver}=require(a55_0x341a2a(0x1ca)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a55_0x341a2a(0x1ab)),BrowserstackCLI=require(a55_0x341a2a(0x186)),AutomationFrameworkState=require('../v2/state/automationFrameworkState.js'),HookState=require('../v2/state/hookState.js'),{performScanWithRetry}=require(a55_0x341a2a(0x1a5)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService.js'),getBrowserNameFromChannel=_0x37389a=>{const _0x27a6dc=a55_0x341a2a,_0x215e83={};_0x215e83['vwEcl']=_0x27a6dc(0x14e),_0x215e83[_0x27a6dc(0x197)]=function(_0x1cdfd0,_0x1720c3){return _0x1cdfd0===_0x1720c3;},_0x215e83['CJbvm']=_0x27a6dc(0x153),_0x215e83[_0x27a6dc(0x1f0)]=_0x27a6dc(0x158),_0x215e83[_0x27a6dc(0x193)]='chromium',_0x215e83[_0x27a6dc(0x1e8)]='chrome',_0x215e83['CedFU']='firefox',_0x215e83[_0x27a6dc(0x191)]=_0x27a6dc(0x1be);const _0x217aa1=_0x215e83,_0x3cc793=_0x217aa1[_0x27a6dc(0x201)][_0x27a6dc(0x18a)]('|');let _0x3b741b=0x0;while(!![]){switch(_0x3cc793[_0x3b741b++]){case'0':if(_0x217aa1[_0x27a6dc(0x197)](_0x37389a,_0x217aa1[_0x27a6dc(0x175)]))return _0x217aa1[_0x27a6dc(0x175)];continue;case'1':if(_0x37389a[_0x27a6dc(0x172)](_0x217aa1[_0x27a6dc(0x1f0)]))return _0x217aa1['lDQow'];continue;case'2':if(_0x37389a[_0x27a6dc(0x172)](_0x217aa1[_0x27a6dc(0x193)]))return _0x217aa1[_0x27a6dc(0x193)];continue;case'3':if(_0x37389a[_0x27a6dc(0x172)](_0x217aa1[_0x27a6dc(0x1e8)]))return _0x217aa1[_0x27a6dc(0x1e8)];continue;case'4':if(_0x37389a[_0x27a6dc(0x172)](_0x217aa1[_0x27a6dc(0x1d7)]))return _0x217aa1[_0x27a6dc(0x1d7)];continue;case'5':if(_0x37389a[_0x27a6dc(0x172)](_0x217aa1[_0x27a6dc(0x191)]))return _0x217aa1[_0x27a6dc(0x191)];continue;}break;}},getBrowserFromWSEndpoint=_0x7dc8b2=>{const _0xad2dc7=a55_0x341a2a,_0x1ee471={'OAHpn':_0xad2dc7(0x14f),'kbisX':function(_0x3f49cc,_0x53e0a7){return _0x3f49cc(_0x53e0a7);}};try{const _0x28e3d4=url[_0xad2dc7(0x190)](_0x7dc8b2),_0x3a9bfa=new URLSearchParams(_0x28e3d4[_0xad2dc7(0x1e1)]),_0x416d8e=Object[_0xad2dc7(0x1de)](_0x3a9bfa['entries']()),_0x56114e=JSON[_0xad2dc7(0x190)](_0x416d8e[_0xad2dc7(0x1e5)]);if(_0x56114e&&(_0x56114e[_0xad2dc7(0x19d)]||_0x56114e[_0xad2dc7(0x1fa)]))return _0x56114e['browser']||_0x56114e['browserName'];return _0x1ee471['OAHpn'];}catch(_0x35b137){_0x1ee471['kbisX'](debug,_0xad2dc7(0x1d9)+_0x35b137[_0xad2dc7(0x1a9)]());}},getCloudProviderFromWsEndpoint=_0x42bbb6=>{const _0x21ee85=a55_0x341a2a,_0x4c8ad1={};_0x4c8ad1[_0x21ee85(0x160)]=_0x21ee85(0x166),_0x4c8ad1[_0x21ee85(0x1e9)]=_0x21ee85(0x1da);const _0x113e3c=_0x4c8ad1;if(_0x42bbb6[_0x21ee85(0x172)](constants[_0x21ee85(0x1c4)])||_0x42bbb6[_0x21ee85(0x172)](constants[_0x21ee85(0x152)]))return _0x113e3c[_0x21ee85(0x160)];return _0x113e3c[_0x21ee85(0x1e9)];},a55_0x47a41b={};a55_0x47a41b[a55_0x341a2a(0x1c3)]=undefined,a55_0x47a41b[a55_0x341a2a(0x16f)]=undefined,a55_0x47a41b['browser']=undefined,a55_0x47a41b[a55_0x341a2a(0x16c)]=undefined,a55_0x47a41b[a55_0x341a2a(0x14d)]=undefined,a55_0x47a41b['platform_version']=undefined,a55_0x47a41b[a55_0x341a2a(0x1ad)]=undefined,a55_0x47a41b['capabilities']={};function a55_0x4193(){const _0x167be8=['split','CRConnection','POST','version','4699600djERqG','Driver\x20Scan\x20result=','parse','NncOv','ATS_WSS_URL_REGEX','caJzQ','2630BVmxQn','model','HTUlU','swlbW','defineProperty','getInstance','HrXha','channel','currentSessionDetails','browser','performScan','platform_version','Page','DTWrC','TSiIV','871891ALfyFR','sessionError','../../helpers/accessibility-automation/accessibilityRetryHelper.js','sqjkX','MaZTA','toLowerCase','toString','platformVersion','../utils/constants','pDCMt','product','132LXuRqQ','project','local_grid','sRfOc','format','rVgcY','BROWSERSTACK_TEST_OBSERVABILITY','turboscale','UPvFy','_type','BQFgm','yTaZv','Failed\x20to\x20perform\x20scan\x20','GUvli','VZBqt','connectOptions','safari','NoQrS','reportSessionLinkingIssue','shouldWrapCommand','mXsfr','cloudProvider','BSTACK_URL','_bstackDispatchPatched','18295EcDSxM','iCaBR','function','assign','../../bin/playwright/accessibility-helper','util','YdkSe','lib','currentTest','sessionId','tSolk','isRemote','join','PLAYWRIGHT_DISPATCH','platformName','HAVBl','dtgft','CedFU','crConnection.js','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','unknown_grid','jCsVv','pnkBs','bstackPerformA11yScan','fromEntries','1123804WiHyNZ','url','query','use','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','mrcao','caps','QglNa','pwPage','BrVRG','nGYUv','QYPDR','info','playwright-','bpTTc','6345528mBfZlC','debug','lDQow','../../helpers/test-observability/error-handler','getAutomationFramework','GNzjk','HXBDA','patchConnection','dispatch','patch','message','../../helpers/accessibility-automation/scripts','browserName','gnEXg','DhsBh','chromium','bStackParams','../../helpers/logger','Performing\x20scan\x20for\x20','vwEcl','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','accessibilityPlatform','isRunning','apply','winstonLogger','platform','2|3|1|4|5|0','chrome','HzntO','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','BSTACK_ATS_URL','webkit','trackEvent','prototype','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','titlePath','edge','_onMessage','rdLsq','ciPpb','LTUcY','automate','uYgXC','server','iuygh','bYeus','../../helpers/accessibility-automation/helper','Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20','env','testInfo','browserstack','__workerDetails','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','QxCWY','WZIoz','BSQCB','browser_version','wsEndpoint','9kOFFCB','bsSessionId','_defaultConnectOptions','64431mFovLU','includes','QztTi','Device\x20Model\x20is\x20not\x20available','CJbvm','_connection','sendMessageToServer','hJwYj','Connection','patchCRConnection','../../helpers/helper','yriky','VDjaA','cptGL','_name','1138812tPcssl','bsParams','Not\x20able\x20to\x20import\x20Connection','params','capabilities','Ibobg','../v2/browserstackCLI','connection.js','Error\x20in\x20finding\x20platform\x20details\x20','SAExj'];a55_0x4193=function(){return _0x167be8;};return a55_0x4193();}class PlaywrightSessionDetails{static [a55_0x341a2a(0x19c)]=a55_0x47a41b;constructor(){const _0x1a1068=a55_0x341a2a,_0x2cbf01={};_0x2cbf01['QxCWY']=_0x1a1068(0x148);const _0x51047d=_0x2cbf01;throw new Error(_0x51047d[_0x1a1068(0x169)]);}static [a55_0x341a2a(0x1a4)]=null;static['setupBrowserDetails'](_0x1e7a9d,_0x76ae29,_0x6a1481=null){const _0x13c274=a55_0x341a2a,_0x74be02={'QglNa':function(_0xfb6147,_0x4fdf62){return _0xfb6147===_0x4fdf62;},'uYgXC':_0x13c274(0x1c8),'JdEkW':'Browser\x20is\x20not\x20defined\x20or\x20not\x20available','dtgft':function(_0x3cd104,_0x2d7940){return _0x3cd104===_0x2d7940;},'iCaBR':_0x13c274(0x174),'SyvFz':_0x13c274(0x1b0),'BLoiM':function(_0x57db95,_0x119ef7,_0x8360a7){return _0x57db95(_0x119ef7,_0x8360a7);},'hJwYj':'_browserType','GNzjk':_0x13c274(0x170),'YdkSe':function(_0x4bc7cc,_0x16f3e8,_0x491f49){return _0x4bc7cc(_0x16f3e8,_0x491f49);},'jCsVv':_0x13c274(0x1af),'Ibobg':_0x13c274(0x1e2),'xftgT':_0x13c274(0x1bd),'rdLsq':function(_0x1ece82,_0x3d6ab9){return _0x1ece82(_0x3d6ab9);},'EjUVd':_0x13c274(0x166),'cptGL':_0x13c274(0x1b5),'HXBDA':_0x13c274(0x15d),'LTUcY':function(_0x4144ef){return _0x4144ef();},'rVgcY':function(_0x1f062d,_0x4d4766){return _0x1f062d&&_0x4d4766;},'gsqst':function(_0x468109){return _0x468109();},'pnkBs':function(_0xeeda8f,_0x471898){return _0xeeda8f+_0x471898;},'JCpyP':_0x13c274(0x1ec),'VDjaA':function(_0x4cf56b){return _0x4cf56b();},'BQFgm':'setupBrowserDetails'},_0x47e670=this;return _0x74be02[_0x13c274(0x1cc)](o11yErrorHandler,async function _0x3a6f24(_0x11494d,_0x39d49e,_0x3a77f5=null){const _0x53f597=_0x13c274;let _0x3aeec6=_0x11494d[_0x53f597(0x17f)],_0x4084f1=null;_0x11494d&&_0x74be02['QglNa'](typeof _0x11494d[_0x53f597(0x18d)],_0x74be02[_0x53f597(0x15e)])?_0x4084f1=_0x11494d[_0x53f597(0x18d)]():logger[_0x53f597(0x1ef)](_0x74be02['JdEkW']);let _0x5d46cc=null;_0x11494d&&_0x74be02[_0x53f597(0x1d6)](typeof _0x11494d[_0x53f597(0x195)],_0x74be02['uYgXC'])?_0x5d46cc=_0x11494d[_0x53f597(0x195)]():logger[_0x53f597(0x1ef)](_0x74be02[_0x53f597(0x1c7)]);let _0x4550f5=null,_0x5114f0=null,_0x345bec=null,_0x4ccaf2=_0x74be02['SyvFz'];if(_0x11494d[_0x53f597(0x176)][_0x53f597(0x1d1)]()||global['accessibilityPlatform']&&!process[_0x53f597(0x164)]['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x5633f3=null;_0x74be02['BLoiM'](nestedKeyValue,_0x11494d,[_0x74be02[_0x53f597(0x178)],_0x74be02[_0x53f597(0x1f3)]])?_0x5633f3=_0x11494d['_browserType'][_0x53f597(0x170)]:_0x5633f3=_0x74be02['YdkSe'](nestedKeyValue,_0x39d49e,[_0x74be02[_0x53f597(0x1db)],_0x74be02[_0x53f597(0x185)],_0x74be02['xftgT']]);const _0x51da4b=_0x3a77f5||_0x5633f3&&_0x5633f3[_0x53f597(0x16d)];if(_0x51da4b){_0x4ccaf2=_0x74be02[_0x53f597(0x15a)](getCloudProviderFromWsEndpoint,_0x51da4b);if(_0x74be02[_0x53f597(0x1e6)](_0x4ccaf2,_0x74be02['EjUVd']))_0x345bec=constants[_0x53f597(0x192)]['test'](_0x51da4b)?_0x74be02[_0x53f597(0x17e)]:_0x74be02[_0x53f597(0x1f4)],_0x3aeec6=_0x74be02[_0x53f597(0x15a)](getBrowserFromWSEndpoint,_0x51da4b)||_0x3aeec6,_0x4550f5=_0x47e670[_0x53f597(0x19c)][_0x53f597(0x14d)],_0x5114f0=_0x47e670['currentSessionDetails'][_0x53f597(0x19f)];else{const _0x571b54=await _0x74be02[_0x53f597(0x15c)](getPlatformDetails);_0x4550f5=_0x571b54[_0x53f597(0x1d4)],_0x5114f0=_0x571b54[_0x53f597(0x1aa)];}}if(_0x74be02[_0x53f597(0x1b3)](!_0x4550f5,!_0x5114f0)&&!_0x74be02['LTUcY'](isBrowserstackInfra)){const _0x1afbdb=await _0x74be02['gsqst'](getPlatformDetails);_0x4550f5=_0x1afbdb[_0x53f597(0x1d4)],_0x5114f0=_0x1afbdb[_0x53f597(0x1aa)];}}else{_0x39d49e&&_0x39d49e['project'][_0x53f597(0x1e2)][_0x53f597(0x19b)]?_0x3aeec6=_0x74be02[_0x53f597(0x15a)](getBrowserNameFromChannel,_0x39d49e[_0x53f597(0x1af)][_0x53f597(0x1e2)]['channel']):_0x3aeec6=_0x74be02[_0x53f597(0x1dc)](_0x74be02['JCpyP'],_0x3aeec6[_0x53f597(0x1a8)]());const _0x723558=await _0x74be02[_0x53f597(0x17d)](getPlatformDetails);_0x4550f5=_0x723558[_0x53f597(0x1d4)],_0x5114f0=_0x723558['platformVersion'];}const _0x558e79={};_0x558e79[_0x53f597(0x19d)]=_0x3aeec6,_0x558e79[_0x53f597(0x16c)]=_0x4084f1,_0x558e79[_0x53f597(0x184)]={},_0x558e79['platform']=_0x4550f5,_0x558e79[_0x53f597(0x19f)]=_0x5114f0,_0x558e79[_0x53f597(0x1ad)]=_0x345bec;const _0xfdc50f=_0x558e79;_0x5d46cc&&(_0xfdc50f[_0x53f597(0x184)]['deviceModel']=_0x5d46cc);const _0x25a827={};_0x25a827['cloudProvider']=_0x4ccaf2,_0x47e670[_0x53f597(0x19c)]=Object[_0x53f597(0x1c9)]({},_0x47e670[_0x53f597(0x19c)],_0x25a827,_0xfdc50f);},_0x74be02[_0x13c274(0x1b8)])(_0x1e7a9d,_0x76ae29,_0x6a1481);}static[a55_0x341a2a(0x1f7)](){const _0x1f9b5d=a55_0x341a2a;this[_0x1f9b5d(0x1f5)](),this[_0x1f9b5d(0x17a)]();}static[a55_0x341a2a(0x1f5)](){const _0x4b425a=a55_0x341a2a,_0x109e28={'mrcao':function(_0x1ee5ed,_0x4dcd09,_0x2c044d){return _0x1ee5ed(_0x4dcd09,_0x2c044d);},'QYPDR':_0x4b425a(0x1ce),'yTaZv':_0x4b425a(0x165),'tSolk':'titlePath','gnEXg':function(_0x104f06,_0x1cf849,_0x5226d2){return _0x104f06(_0x1cf849,_0x5226d2);},'NoQrS':_0x4b425a(0x167),'yDxNc':_0x4b425a(0x1e7),'yriky':function(_0x255e7a,_0x2698a6){return _0x255e7a===_0x2698a6;},'FXMOL':_0x4b425a(0x1a0),'WPaMY':function(_0xc652ba,_0x1f17c8,_0x11041b,_0x1b54d0){return _0xc652ba(_0x1f17c8,_0x11041b,_0x1b54d0);},'BSQCB':function(_0x5738c4,_0x5ed061){return _0x5738c4||_0x5ed061;},'pDCMt':function(_0x548a8e,_0x3065a2){return _0x548a8e(_0x3065a2);},'WZIoz':function(_0x5af7e0,_0x31f88c){return _0x5af7e0(_0x31f88c);},'sqjkX':_0x4b425a(0x1cd),'ciPpb':'client','sRfOc':_0x4b425a(0x187),'vIPQF':function(_0x226a74,_0x5d159f){return _0x226a74(_0x5d159f);},'yQgTT':'../../helpers/playwright-helper','QztTi':function(_0x506d00){return _0x506d00();},'GUvli':function(_0x1e412b,_0x5bc40d){return _0x1e412b(_0x5bc40d);},'bpTTc':_0x4b425a(0x182),'HTUlU':function(_0x34a0d4,_0x59ebb5){return _0x34a0d4!=_0x59ebb5;},'TSiIV':function(_0xdd2a9a){return _0xdd2a9a();},'XfymJ':_0x4b425a(0x177),'btMnn':_0x4b425a(0x1f6),'WRnNu':'Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)'},_0x4a5367=this;if(!this[_0x4b425a(0x179)])try{const _0x312850=path[_0x4b425a(0x1d2)](_0x109e28[_0x4b425a(0x1a6)],_0x109e28[_0x4b425a(0x15b)],_0x109e28[_0x4b425a(0x1b1)]),_0x15cdc2=_0x109e28['pDCMt'](importFileFromPWCore,_0x312850);if(_0x15cdc2&&_0x15cdc2['Connection'])this[_0x4b425a(0x179)]=_0x15cdc2['Connection'];else{const {getBundledConnectionClass:_0x4dc3e6}=_0x109e28['vIPQF'](require,_0x109e28['yQgTT']),_0x5a9f91=_0x109e28[_0x4b425a(0x173)](_0x4dc3e6);_0x5a9f91?this[_0x4b425a(0x179)]=_0x5a9f91:_0x109e28[_0x4b425a(0x1bb)](debug,_0x109e28[_0x4b425a(0x1ed)]);}}catch(_0x4c61ea){_0x109e28[_0x4b425a(0x1ac)](debug,'Error\x20in\x20importing\x20connection\x20'+_0x4c61ea[_0x4b425a(0x1a9)]());}const _0x323edd=this[_0x4b425a(0x179)];if(_0x109e28['HTUlU'](_0x323edd,null)&&_0x323edd[_0x4b425a(0x155)][_0x4b425a(0x1c5)])return;try{if(_0x109e28[_0x4b425a(0x196)](_0x323edd,null)){const _0x3b12ad=_0x323edd[_0x4b425a(0x155)]['dispatch'],_0x5d4491=_0x323edd[_0x4b425a(0x155)][_0x4b425a(0x177)];_0x109e28[_0x4b425a(0x1a2)](isAccessibilityAutomationSession)&&Object[_0x4b425a(0x198)](_0x323edd['prototype'],_0x109e28['XfymJ'],{'get':function(){return async function(){const _0xd4708c=a55_0x1713;try{if(!global[_0xd4708c(0x1dd)]&&global[_0xd4708c(0x149)]&&_0x109e28[_0xd4708c(0x1e4)](nestedKeyValue,global[_0xd4708c(0x167)],[_0x109e28[_0xd4708c(0x1ea)],_0x109e28[_0xd4708c(0x1b9)],_0x109e28[_0xd4708c(0x1d0)]])&&_0x109e28[_0xd4708c(0x1fb)](shouldScanTestForAccessibility,global[_0xd4708c(0x167)][_0xd4708c(0x1ce)][_0xd4708c(0x165)][_0xd4708c(0x157)],!![])&&scripts[_0xd4708c(0x1c1)](arguments[0x1])){logger[_0xd4708c(0x1ef)](_0xd4708c(0x200)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x248c6f=_0x109e28[_0xd4708c(0x1e4)](nestedKeyValue,global,[_0x109e28[_0xd4708c(0x1bf)],_0x109e28['yDxNc']]);_0x248c6f&&logger[_0xd4708c(0x1eb)]('Page\x20Scan\x20result='+util[_0xd4708c(0x1b2)](await _0x109e28[_0xd4708c(0x1fb)](performScanWithRetry,_0x248c6f,arguments[0x1]))),_0x109e28[_0xd4708c(0x17c)](arguments[0x0][_0xd4708c(0x1b7)],_0x109e28['FXMOL'])&&global['__driver']&&logger[_0xd4708c(0x1eb)](_0xd4708c(0x18f)+util[_0xd4708c(0x1b2)](await _0x109e28['WPaMY'](performScanWithRetry,global['__driver'],arguments[0x1],scripts[_0xd4708c(0x19e)])));}}catch(_0x1e5ac0){logger['debug'](_0xd4708c(0x1ba)+util[_0xd4708c(0x1b2)](_0x1e5ac0));}return global[_0xd4708c(0x1dd)]=![],_0x5d4491[_0xd4708c(0x14b)](this,arguments);};}}),!_0x109e28[_0x4b425a(0x1bb)](isFalse,process[_0x4b425a(0x164)][_0x4b425a(0x1b4)])&&Object[_0x4b425a(0x198)](_0x323edd[_0x4b425a(0x155)],_0x109e28['btMnn'],{'get':function(){return async function _0x2fdb52(_0x27dc8a){const _0x1d1a55=a55_0x1713;if(BrowserstackCLI[_0x1d1a55(0x199)]()['isRunning']()){const _0x460dfa={};_0x460dfa[_0x1d1a55(0x1f8)]=_0x27dc8a,await BrowserstackCLI[_0x1d1a55(0x199)]()[_0x1d1a55(0x1f2)]()[_0x1d1a55(0x154)](AutomationFrameworkState[_0x1d1a55(0x1d3)],HookState[_0x1d1a55(0x18c)],_0x460dfa);}else{const _0x5f2114=_0x27dc8a&&_0x27dc8a[_0x1d1a55(0x183)]&&_0x27dc8a[_0x1d1a55(0x183)][_0x1d1a55(0x181)];if(_0x5f2114){const _0x349677=_0x5f2114['sessionId'],_0x10100d=_0x5f2114['platformDetails'];_0x109e28[_0x1d1a55(0x16b)](!_0x349677,!_0x10100d)&&await ClientTroubleShootingService[_0x1d1a55(0x1c0)](),_0x10100d&&(_0x109e28[_0x1d1a55(0x1ac)](debug,_0x1d1a55(0x168)+_0x10100d[_0x1d1a55(0x1a9)]()),_0x4a5367[_0x1d1a55(0x19c)][_0x1d1a55(0x14d)]=_0x10100d[_0x1d1a55(0x1d4)],_0x4a5367[_0x1d1a55(0x19c)]['platform_version']=_0x10100d['platformVersion']),_0x349677&&(_0x109e28[_0x1d1a55(0x16a)](debug,'Setting\x20session\x20id\x20received\x20from\x20BS\x20'+_0x349677),_0x4a5367[_0x1d1a55(0x19c)][_0x1d1a55(0x16f)]=_0x349677);}}return _0x3b12ad[_0x1d1a55(0x14b)](this,arguments);};}}),_0x323edd[_0x4b425a(0x155)][_0x4b425a(0x1c5)]=!![],logger[_0x4b425a(0x1ef)](_0x109e28['WRnNu']);}}catch(_0x56f8c0){_0x109e28[_0x4b425a(0x1bb)](debug,_0x4b425a(0x156)+_0x56f8c0),_0x4a5367[_0x4b425a(0x1a4)]=_0x56f8c0[_0x4b425a(0x1a9)]();}}static[a55_0x341a2a(0x17a)](){const _0x2f29f7=a55_0x341a2a,_0x19c77c={'MaZTA':function(_0x3cc5ea,_0x2e1ea0){return _0x3cc5ea(_0x2e1ea0);},'DhsBh':function(_0x172a57){return _0x172a57();},'mXsfr':_0x2f29f7(0x1cd),'UPvFy':_0x2f29f7(0x15f),'HzntO':_0x2f29f7(0x1fd),'bYeus':_0x2f29f7(0x1d8),'crpNZ':function(_0x12722b,_0x3dd8c0){return _0x12722b(_0x3dd8c0);},'DTWrC':function(_0x23fcf7,_0x3f4bd6){return _0x23fcf7(_0x3f4bd6);},'HAVBl':'Not\x20able\x20to\x20import\x20crConnection','HrXha':'Error\x20in\x20importing\x20crConnection','oiOXv':function(_0x476de9,_0x1b057d){return _0x476de9!=_0x1b057d;},'VZBqt':_0x2f29f7(0x159),'MegtK':function(_0x44f18b,_0x4ff905){return _0x44f18b(_0x4ff905);}},_0x33e00b=this;if(_0x19c77c[_0x2f29f7(0x1fc)](isAccessibilityAutomationSession)){let _0x3ac4c2=null;try{const _0x599ec1=path[_0x2f29f7(0x1d2)](_0x19c77c[_0x2f29f7(0x1c2)],_0x19c77c[_0x2f29f7(0x1b6)],_0x19c77c[_0x2f29f7(0x150)],_0x19c77c[_0x2f29f7(0x161)]),_0x480e4a=_0x19c77c['crpNZ'](importFileFromPWCore,_0x599ec1);!_0x480e4a?_0x19c77c[_0x2f29f7(0x1a1)](debug,_0x19c77c[_0x2f29f7(0x1d5)]):_0x3ac4c2=_0x480e4a[_0x2f29f7(0x18b)];}catch(_0xce5bd7){_0x19c77c[_0x2f29f7(0x1a7)](debug,_0x19c77c[_0x2f29f7(0x19a)]);}try{if(_0x19c77c['oiOXv'](_0x3ac4c2,null)){const _0x471bfa=_0x3ac4c2[_0x2f29f7(0x155)][_0x2f29f7(0x159)];Object[_0x2f29f7(0x198)](_0x3ac4c2[_0x2f29f7(0x155)],_0x19c77c[_0x2f29f7(0x1bc)],{'get':function(){const _0x4eafaf={'SAExj':function(_0x507567,_0x4e6896){const _0x1d317c=a55_0x1713;return _0x19c77c[_0x1d317c(0x1a7)](_0x507567,_0x4e6896);}};return async function _0x3c95cd(_0x1759d1){const _0x4c1384=a55_0x1713;try{if(BrowserstackCLI[_0x4c1384(0x199)]()[_0x4c1384(0x14a)]()){const _0x3acced={};_0x3acced[_0x4c1384(0x1f8)]=_0x1759d1,await BrowserstackCLI['getInstance']()[_0x4c1384(0x1f2)]()[_0x4c1384(0x154)](AutomationFrameworkState[_0x4c1384(0x1d3)],HookState[_0x4c1384(0x18c)],_0x3acced),delete _0x1759d1['bStackParams'];}else{const _0x234f4f=_0x1759d1[_0x4c1384(0x1fe)];if(_0x234f4f){delete _0x1759d1[_0x4c1384(0x1fe)];const _0x1228c9=_0x234f4f[_0x4c1384(0x1cf)],_0x4869bb=_0x234f4f['platformDetails'];_0x4869bb&&(_0x4eafaf['SAExj'](debug,_0x4c1384(0x1e3)+_0x4869bb[_0x4c1384(0x1a9)]()),_0x33e00b[_0x4c1384(0x19c)][_0x4c1384(0x14d)]=_0x4869bb[_0x4c1384(0x1d4)],_0x33e00b[_0x4c1384(0x19c)]['platform_version']=_0x4869bb[_0x4c1384(0x1aa)]),_0x1228c9&&(_0x4eafaf['SAExj'](debug,_0x4c1384(0x151)+_0x1228c9),_0x33e00b[_0x4c1384(0x19c)][_0x4c1384(0x16f)]=_0x1228c9);}}}catch(_0x1ddcbd){_0x4eafaf[_0x4c1384(0x189)](debug,_0x4c1384(0x188)+_0x1ddcbd['toString']());}return _0x471bfa['apply'](this,arguments);};}});}}catch(_0x4ab0b3){_0x19c77c['MegtK'](debug,_0x2f29f7(0x163)+_0x4ab0b3),_0x33e00b['sessionError']=_0x4ab0b3['toString']();}}}static['getDetails'](){const _0x26c5bb=a55_0x341a2a;return this[_0x26c5bb(0x19c)];}}module['exports']=PlaywrightSessionDetails;
|
|
1
|
+
const a55_0x7101c0=a55_0x3ee6;function a55_0x344f(){const _0x5e1cd7=['chromium','0|1|2|3|4|5','setupBrowserDetails','Successfully\x20patched\x20Connection\x20(sendMessageToServer\x20for\x20a11y,\x20dispatch\x20for\x20o11y)','prototype','_connection','hlaAR','parse','product','BSTACK_ATS_URL','model','UUuyL','Not\x20able\x20to\x20resolve\x20Connection\x20class','kMrpl','url','6ZhiwUI','query','UWhxN','Error\x20evaluating\x20Playwright\x20version\x20for\x20CRConnection\x20patch:\x20','bsParams','dispatch','accessibilityPlatform','browserstack','browser_version','includes','Page\x20Scan\x20result=','entries','TtdeT','CRConnection','63dMSJKW','lEIOR','2110350kOLDfR','playwright-','QVgDJ','isRunning','dMZzz','automate','path','__driver','_browserType','resolveConnectionClass','getAutomationFramework','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','sendMessageToServer','lHBOa','2362748oLjcqk','toString','__workerDetails','Error\x20in\x20getting\x20applying\x20Connection\x20patch\x20','edge','testInfo','../v2/state/hookState.js','wRLSw','shouldWrapCommand','../v2/state/automationFrameworkState.js','FWRQj','wsEndpoint','../../helpers/accessibility-automation/helper','obQSD','XvDyb','621697yrEZdf','join','getDetails','YOHsR','cloudProvider','webkit','exports','xmRql','3714972BWomwi','patchCRConnection','safari','lOElc','gbFeT','POST','_bstackDispatchPatched','getInstance','Page','message','BSTACK_URL','currentTest','../utils/clientTroubleshootingService.js','Setting\x20platform\x20details\x20received\x20from\x20browserstack:\x20','titlePath','KfCvq','yTqIG','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','defineProperty','Device\x20Model\x20is\x20not\x20available','AlhLS','winstonLogger','xxooH','Setting\x20session\x20id\x20received\x20from\x20browserstack\x20','1.60.0','DLtIk','assign','WhelH','UWZAs','project','RRORA','CCEdi','HFbqm','../../helpers/logger','eHwuD','Not\x20able\x20to\x20import\x20crConnection','platformVersion','connectOptions','use','sDSVX','version','DNZZc','platform_version','CzzEs','Connection','SJkam','duMQL','qLoZb','ngRmG','sessionError','platform','../../helpers/test-observability/constants','5705616elpIpL','Error\x20in\x20finding\x20platform\x20details\x20','MZvAc','ozvMa','../../bin/playwright/accessibility-helper','params','tyJlm','pwPage','isRemote','toLowerCase','yPrcy','fromEntries','../../helpers/accessibility-automation/accessibilityRetryHelper.js','function','patchConnection','debug','_onMessage','NaLkR','format','DZcab','1670955OBanDJ','../../helpers/test-observability/error-handler','yeDvO','_defaultConnectOptions','bstackPerformA11yScan','lQVYy','platformDetails','capabilities','UoqON','giGkQ','env','KUstE','iDfLC','bsSessionId','lib','lRnhB','CYFDS','884344ybLZAX','sessionId','lVAvd','firefox','yRPrH','currentSessionDetails','browserName','trackEvent','platformName','reportSessionLinkingIssue','compareVersions','Browser\x20is\x20not\x20defined\x20or\x20not\x20available','FdDZv','Failed\x20to\x20perform\x20scan\x20','server','cRieY','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','chrome','BROWSERSTACK_TEST_OBSERVABILITY','gSArz','CRConnection\x20patch\x20unavailable\x20on\x20PW>=1.60\x20(server-side\x20class\x20not\x20reachable\x20in\x20SDK\x20process);\x20platform/sessionId\x20capture\x20continues\x20via\x20Connection.dispatch','IDqtn','../utils/constants','../../helpers/helper','channel','Setting\x20session\x20id\x20received\x20from\x20BS\x20','deviceModel','../v2/browserstackCLI','browser','getFrameworkVersion','Performing\x20scan\x20for\x20','bStackParams','info','Error\x20in\x20importing\x20crConnection','apply','bpIGp','test','dGuoY','tnOyJ'];a55_0x344f=function(){return _0x5e1cd7;};return a55_0x344f();}(function(_0x531e80,_0x539c09){const _0x58dab2=a55_0x3ee6,_0x3f10a3=_0x531e80();while(!![]){try{const _0x4b91fd=-parseInt(_0x58dab2(0x229))/0x1+parseInt(_0x58dab2(0x21a))/0x2+-parseInt(_0x58dab2(0x20c))/0x3+-parseInt(_0x58dab2(0x231))/0x4+parseInt(_0x58dab2(0x279))/0x5+-parseInt(_0x58dab2(0x1fc))/0x6*(-parseInt(_0x58dab2(0x265))/0x7)+-parseInt(_0x58dab2(0x28a))/0x8*(-parseInt(_0x58dab2(0x20a))/0x9);if(_0x4b91fd===_0x539c09)break;else _0x3f10a3['push'](_0x3f10a3['shift']());}catch(_0x5aa11a){_0x3f10a3['push'](_0x3f10a3['shift']());}}}(a55_0x344f,0xcfa84));function a55_0x3ee6(_0x5d1d86,_0x1e8da9){const _0x344fe0=a55_0x344f();return a55_0x3ee6=function(_0x3ee680,_0x538e73){_0x3ee680=_0x3ee680-0x1dd;let _0x1b2f1e=_0x344fe0[_0x3ee680];return _0x1b2f1e;},a55_0x3ee6(_0x5d1d86,_0x1e8da9);}const path=require(a55_0x7101c0(0x212)),url=require(a55_0x7101c0(0x1fb)),util=require('util'),helper=require(a55_0x7101c0(0x1dd)),{nestedKeyValue,isFalse,importFileFromPWCore,requireModule,isBrowserstackInfra}=require(a55_0x7101c0(0x1dd)),{o11yErrorHandler}=require(a55_0x7101c0(0x27a)),{debug,getPlatformDetails}=require('../../helpers/test-observability/utils'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a55_0x7101c0(0x226)),{FRAMEWORKS}=require(a55_0x7101c0(0x264)),logger=require(a55_0x7101c0(0x252))[a55_0x7101c0(0x246)],scripts=require('../../helpers/accessibility-automation/scripts'),{browserStackExecuteDriver}=require(a55_0x7101c0(0x269)),AccessibilityHelper=require('./accessibility-helper'),constants=require(a55_0x7101c0(0x2a0)),BrowserstackCLI=require(a55_0x7101c0(0x1e1)),AutomationFrameworkState=require(a55_0x7101c0(0x223)),HookState=require(a55_0x7101c0(0x220)),{performScanWithRetry}=require(a55_0x7101c0(0x271)),ClientTroubleShootingService=require(a55_0x7101c0(0x23d)),getBrowserNameFromChannel=_0x45f396=>{const _0x4d1a21=a55_0x7101c0,_0x52b7ba={};_0x52b7ba[_0x4d1a21(0x278)]=_0x4d1a21(0x1ee),_0x52b7ba['AlhLS']=_0x4d1a21(0x1ed),_0x52b7ba['HFbqm']=_0x4d1a21(0x29b),_0x52b7ba[_0x4d1a21(0x235)]=_0x4d1a21(0x21e),_0x52b7ba[_0x4d1a21(0x24a)]=_0x4d1a21(0x28d),_0x52b7ba[_0x4d1a21(0x20e)]=_0x4d1a21(0x233),_0x52b7ba[_0x4d1a21(0x1f8)]=function(_0x4122c9,_0x1a0018){return _0x4122c9===_0x1a0018;},_0x52b7ba[_0x4d1a21(0x296)]=_0x4d1a21(0x22e);const _0x29d3a0=_0x52b7ba,_0xa511d6=_0x29d3a0[_0x4d1a21(0x278)]['split']('|');let _0x42548d=0x0;while(!![]){switch(_0xa511d6[_0x42548d++]){case'0':if(_0x45f396[_0x4d1a21(0x205)](_0x29d3a0[_0x4d1a21(0x245)]))return _0x29d3a0['AlhLS'];continue;case'1':if(_0x45f396[_0x4d1a21(0x205)](_0x29d3a0[_0x4d1a21(0x251)]))return _0x29d3a0['HFbqm'];continue;case'2':if(_0x45f396['includes'](_0x29d3a0[_0x4d1a21(0x235)]))return _0x29d3a0[_0x4d1a21(0x235)];continue;case'3':if(_0x45f396[_0x4d1a21(0x205)](_0x29d3a0['DLtIk']))return _0x29d3a0[_0x4d1a21(0x24a)];continue;case'4':if(_0x45f396[_0x4d1a21(0x205)](_0x29d3a0[_0x4d1a21(0x20e)]))return _0x29d3a0[_0x4d1a21(0x20e)];continue;case'5':if(_0x29d3a0['UUuyL'](_0x45f396,_0x29d3a0[_0x4d1a21(0x296)]))return _0x29d3a0['FdDZv'];continue;}break;}},getBrowserFromWSEndpoint=_0x1a5267=>{const _0x4a070b=a55_0x7101c0,_0x2fa542={'ozvMa':_0x4a070b(0x29b),'aqzwv':function(_0x3fd113,_0x12cd57){return _0x3fd113(_0x12cd57);}};try{const _0x4fde0d=url[_0x4a070b(0x1f4)](_0x1a5267),_0x24f402=new URLSearchParams(_0x4fde0d[_0x4a070b(0x1fd)]),_0x59c3e1=Object[_0x4a070b(0x270)](_0x24f402[_0x4a070b(0x207)]()),_0x2e19c9=JSON[_0x4a070b(0x1f4)](_0x59c3e1['caps']);if(_0x2e19c9&&(_0x2e19c9[_0x4a070b(0x1e2)]||_0x2e19c9['browserName']))return _0x2e19c9[_0x4a070b(0x1e2)]||_0x2e19c9[_0x4a070b(0x290)];return _0x2fa542[_0x4a070b(0x268)];}catch(_0x35d7b6){_0x2fa542['aqzwv'](debug,_0x4a070b(0x29a)+_0x35d7b6['toString']());}},getCloudProviderFromWsEndpoint=_0x31b077=>{const _0x473101=a55_0x7101c0,_0x4abfed={};_0x4abfed[_0x473101(0x234)]=_0x473101(0x203),_0x4abfed[_0x473101(0x27e)]='unknown_grid';const _0x2c4e54=_0x4abfed;if(_0x31b077['includes'](constants[_0x473101(0x23b)])||_0x31b077[_0x473101(0x205)](constants[_0x473101(0x1f6)]))return _0x2c4e54[_0x473101(0x234)];return _0x2c4e54[_0x473101(0x27e)];},a55_0x4a7496={};a55_0x4a7496['cloudProvider']=undefined,a55_0x4a7496[a55_0x7101c0(0x286)]=undefined,a55_0x4a7496['browser']=undefined,a55_0x4a7496[a55_0x7101c0(0x204)]=undefined,a55_0x4a7496[a55_0x7101c0(0x263)]=undefined,a55_0x4a7496['platform_version']=undefined,a55_0x4a7496[a55_0x7101c0(0x1f5)]=undefined,a55_0x4a7496[a55_0x7101c0(0x280)]={};class PlaywrightSessionDetails{static [a55_0x7101c0(0x28f)]=a55_0x4a7496;constructor(){const _0x140df7=a55_0x7101c0,_0x1f83be={};_0x1f83be[_0x140df7(0x261)]=_0x140df7(0x217);const _0x4dbc45=_0x1f83be;throw new Error(_0x4dbc45[_0x140df7(0x261)]);}static [a55_0x7101c0(0x262)]=null;static[a55_0x7101c0(0x1ef)](_0x1264da,_0x4eea50,_0x578b9e=null){const _0x109b62=a55_0x7101c0,_0x1c72da={'obQSD':function(_0x75a6de,_0x137224){return _0x75a6de===_0x137224;},'UoqON':_0x109b62(0x272),'yRPrH':_0x109b62(0x295),'bpIGp':_0x109b62(0x244),'txtRR':'local_grid','SJkam':function(_0x14589f,_0x19396c,_0x17254c){return _0x14589f(_0x19396c,_0x17254c);},'BvZpJ':_0x109b62(0x214),'KUstE':_0x109b62(0x27c),'gSArz':'project','xxooH':_0x109b62(0x257),'tnOyJ':_0x109b62(0x256),'kMjgs':function(_0x499d79,_0x243121){return _0x499d79(_0x243121);},'lnmRX':function(_0x1d6166,_0x1a5a5d){return _0x1d6166===_0x1a5a5d;},'xmRql':_0x109b62(0x203),'wRLSw':'turboscale','IDqtn':_0x109b62(0x211),'DNZZc':function(_0x27f92e,_0x10abdd){return _0x27f92e(_0x10abdd);},'lVAvd':function(_0x19646e){return _0x19646e();},'dGuoY':function(_0x3865dd,_0xb03b21){return _0x3865dd&&_0xb03b21;},'qLoZb':function(_0x1c1c95){return _0x1c1c95();},'lEIOR':function(_0xd7bf60,_0x575b4d){return _0xd7bf60(_0x575b4d);},'duMQL':function(_0xb204d1,_0x5a63a2){return _0xb204d1+_0x5a63a2;},'WhelH':_0x109b62(0x20d),'sDSVX':'setupBrowserDetails'},_0x332109=this;return _0x1c72da[_0x109b62(0x25e)](o11yErrorHandler,async function _0x271ddf(_0x59859d,_0x56859d,_0x55c812=null){const _0x30efeb=_0x109b62;let _0x4704f4=_0x59859d['_name'],_0x2d0ced=null;_0x59859d&&_0x1c72da['obQSD'](typeof _0x59859d['version'],_0x1c72da['UoqON'])?_0x2d0ced=_0x59859d[_0x30efeb(0x259)]():logger[_0x30efeb(0x274)](_0x1c72da[_0x30efeb(0x28e)]);let _0x12d84a=null;_0x59859d&&_0x1c72da[_0x30efeb(0x227)](typeof _0x59859d[_0x30efeb(0x1f7)],_0x1c72da[_0x30efeb(0x281)])?_0x12d84a=_0x59859d['model']():logger['debug'](_0x1c72da[_0x30efeb(0x1e9)]);let _0x5a375c=null,_0x551464=null,_0xbc29a6=null,_0x1f10c7=_0x1c72da['txtRR'];if(_0x59859d[_0x30efeb(0x1f2)][_0x30efeb(0x26d)]()||global[_0x30efeb(0x202)]&&!process['env']['BS_A11Y_SKIP_CDP_CONNECT_OVERRIDE']){let _0x3a24bf=null;_0x1c72da['SJkam'](nestedKeyValue,_0x59859d,[_0x1c72da['BvZpJ'],_0x1c72da[_0x30efeb(0x284)]])?_0x3a24bf=_0x59859d[_0x30efeb(0x214)][_0x30efeb(0x27c)]:_0x3a24bf=_0x1c72da[_0x30efeb(0x25e)](nestedKeyValue,_0x56859d,[_0x1c72da[_0x30efeb(0x29d)],_0x1c72da[_0x30efeb(0x247)],_0x1c72da[_0x30efeb(0x1ec)]]);const _0x26bdf6=_0x55c812||_0x3a24bf&&_0x3a24bf[_0x30efeb(0x225)];if(_0x26bdf6){_0x1f10c7=_0x1c72da['kMjgs'](getCloudProviderFromWsEndpoint,_0x26bdf6);if(_0x1c72da['lnmRX'](_0x1f10c7,_0x1c72da[_0x30efeb(0x230)]))_0xbc29a6=constants['ATS_WSS_URL_REGEX'][_0x30efeb(0x1ea)](_0x26bdf6)?_0x1c72da[_0x30efeb(0x221)]:_0x1c72da[_0x30efeb(0x29f)],_0x4704f4=_0x1c72da[_0x30efeb(0x25a)](getBrowserFromWSEndpoint,_0x26bdf6)||_0x4704f4,_0x5a375c=_0x332109[_0x30efeb(0x28f)][_0x30efeb(0x263)],_0x551464=_0x332109[_0x30efeb(0x28f)][_0x30efeb(0x25b)];else{const _0x4500e4=await _0x1c72da[_0x30efeb(0x28c)](getPlatformDetails);_0x5a375c=_0x4500e4[_0x30efeb(0x292)],_0x551464=_0x4500e4['platformVersion'];}}if(_0x1c72da[_0x30efeb(0x1eb)](!_0x5a375c,!_0x551464)&&!_0x1c72da[_0x30efeb(0x28c)](isBrowserstackInfra)){const _0x2078ee=await _0x1c72da[_0x30efeb(0x260)](getPlatformDetails);_0x5a375c=_0x2078ee[_0x30efeb(0x292)],_0x551464=_0x2078ee[_0x30efeb(0x255)];}}else{_0x56859d&&_0x56859d[_0x30efeb(0x24e)][_0x30efeb(0x257)][_0x30efeb(0x1de)]?_0x4704f4=_0x1c72da[_0x30efeb(0x20b)](getBrowserNameFromChannel,_0x56859d[_0x30efeb(0x24e)][_0x30efeb(0x257)][_0x30efeb(0x1de)]):_0x4704f4=_0x1c72da[_0x30efeb(0x25f)](_0x1c72da[_0x30efeb(0x24c)],_0x4704f4[_0x30efeb(0x26e)]());const _0x3fff9a=await _0x1c72da['qLoZb'](getPlatformDetails);_0x5a375c=_0x3fff9a[_0x30efeb(0x292)],_0x551464=_0x3fff9a[_0x30efeb(0x255)];}const _0x2e5b95={};_0x2e5b95[_0x30efeb(0x1e2)]=_0x4704f4,_0x2e5b95[_0x30efeb(0x204)]=_0x2d0ced,_0x2e5b95[_0x30efeb(0x280)]={},_0x2e5b95['platform']=_0x5a375c,_0x2e5b95[_0x30efeb(0x25b)]=_0x551464,_0x2e5b95['product']=_0xbc29a6;const _0x17862d=_0x2e5b95;_0x12d84a&&(_0x17862d[_0x30efeb(0x280)][_0x30efeb(0x1e0)]=_0x12d84a);const _0x31a933={};_0x31a933[_0x30efeb(0x22d)]=_0x1f10c7,_0x332109['currentSessionDetails']=Object[_0x30efeb(0x24b)]({},_0x332109[_0x30efeb(0x28f)],_0x31a933,_0x17862d);},_0x1c72da[_0x109b62(0x258)])(_0x1264da,_0x4eea50,_0x578b9e);}static['patch'](){const _0x5ba453=a55_0x7101c0;this[_0x5ba453(0x273)](),this[_0x5ba453(0x232)]();}static[a55_0x7101c0(0x273)](){const _0x4ce1ec=a55_0x7101c0,_0x50e36b={'giGkQ':function(_0x173800,_0x1ae8c0,_0xe54e2a){return _0x173800(_0x1ae8c0,_0xe54e2a);},'YOHsR':_0x4ce1ec(0x23c),'mhdfY':'testInfo','ynbOa':_0x4ce1ec(0x23f),'kMrpl':function(_0x30237e,_0x733182,_0x2958bb){return _0x30237e(_0x733182,_0x2958bb);},'PYagu':_0x4ce1ec(0x21c),'MZvAc':_0x4ce1ec(0x26c),'NaLkR':function(_0x4018d1,_0xc24691,_0x2bc549){return _0x4018d1(_0xc24691,_0x2bc549);},'XvDyb':function(_0x1c8308,_0x515585){return _0x1c8308===_0x515585;},'eHwuD':_0x4ce1ec(0x239),'KzTXE':function(_0x281678,_0x531d42,_0x3fef1a,_0x1a1fe4){return _0x281678(_0x531d42,_0x3fef1a,_0x1a1fe4);},'yTqIG':function(_0x4812b3,_0x9d56ad){return _0x4812b3||_0x9d56ad;},'UWhxN':function(_0x24125a,_0x4c8850){return _0x24125a(_0x4c8850);},'hlaAR':function(_0x264439,_0x49d766){return _0x264439(_0x49d766);},'CYFDS':_0x4ce1ec(0x1f9),'yPrcy':function(_0x39bebb,_0x544c8c){return _0x39bebb!=_0x544c8c;},'RRORA':function(_0x3ece83,_0x58c555){return _0x3ece83!=_0x58c555;},'FWRQj':function(_0x596ae6){return _0x596ae6();},'iDfLC':_0x4ce1ec(0x218),'gLFkT':function(_0x37e1d1,_0x4a70b1){return _0x37e1d1(_0x4a70b1);},'KjyHz':_0x4ce1ec(0x201),'ofBld':_0x4ce1ec(0x1f0),'lJoWN':function(_0x22b164,_0xccaeab){return _0x22b164(_0xccaeab);}},_0x3fe5d5=this;!this['Connection']&&(this[_0x4ce1ec(0x25d)]=helper[_0x4ce1ec(0x215)](),!this['Connection']&&_0x50e36b[_0x4ce1ec(0x1f3)](debug,_0x50e36b[_0x4ce1ec(0x289)]));const _0x4fe958=this[_0x4ce1ec(0x25d)];if(_0x50e36b[_0x4ce1ec(0x26f)](_0x4fe958,null)&&_0x4fe958[_0x4ce1ec(0x1f1)][_0x4ce1ec(0x237)])return;try{if(_0x50e36b[_0x4ce1ec(0x24f)](_0x4fe958,null)){const _0x15260b=_0x4fe958['prototype'][_0x4ce1ec(0x201)],_0x49eb0b=_0x4fe958['prototype'][_0x4ce1ec(0x218)];_0x50e36b[_0x4ce1ec(0x224)](isAccessibilityAutomationSession)&&Object[_0x4ce1ec(0x243)](_0x4fe958['prototype'],_0x50e36b[_0x4ce1ec(0x285)],{'get':function(){return async function(){const _0x4b99c4=a55_0x3ee6;try{if(!global[_0x4b99c4(0x27d)]&&global['accessibilityPlatform']&&_0x50e36b[_0x4b99c4(0x282)](nestedKeyValue,global['__workerDetails'],[_0x50e36b[_0x4b99c4(0x22c)],_0x50e36b['mhdfY'],_0x50e36b['ynbOa']])&&_0x50e36b['giGkQ'](shouldScanTestForAccessibility,global[_0x4b99c4(0x21c)]['currentTest'][_0x4b99c4(0x21f)]['titlePath'],!![])&&scripts[_0x4b99c4(0x222)](arguments[0x1])){logger[_0x4b99c4(0x274)](_0x4b99c4(0x1e4)+arguments[0x1]),global['bstackPerformA11yScan']=!![];const _0x531d1f=_0x50e36b[_0x4b99c4(0x1fa)](nestedKeyValue,global,[_0x50e36b['PYagu'],_0x50e36b[_0x4b99c4(0x267)]]);_0x531d1f&&logger[_0x4b99c4(0x1e6)](_0x4b99c4(0x206)+util[_0x4b99c4(0x277)](await _0x50e36b[_0x4b99c4(0x276)](performScanWithRetry,_0x531d1f,arguments[0x1]))),_0x50e36b[_0x4b99c4(0x228)](arguments[0x0]['_type'],_0x50e36b[_0x4b99c4(0x253)])&&global[_0x4b99c4(0x213)]&&logger[_0x4b99c4(0x1e6)]('Driver\x20Scan\x20result='+util['format'](await _0x50e36b['KzTXE'](performScanWithRetry,global[_0x4b99c4(0x213)],arguments[0x1],scripts['performScan'])));}}catch(_0x69bca1){logger[_0x4b99c4(0x274)](_0x4b99c4(0x297)+util[_0x4b99c4(0x277)](_0x69bca1));}return global[_0x4b99c4(0x27d)]=![],_0x49eb0b[_0x4b99c4(0x1e8)](this,arguments);};}}),!_0x50e36b['gLFkT'](isFalse,process[_0x4ce1ec(0x283)][_0x4ce1ec(0x29c)])&&Object[_0x4ce1ec(0x243)](_0x4fe958[_0x4ce1ec(0x1f1)],_0x50e36b['KjyHz'],{'get':function(){return async function _0x5ba58e(_0x47f7cb){const _0x5cfe9c=a55_0x3ee6;if(BrowserstackCLI[_0x5cfe9c(0x238)]()['isRunning']()){const _0x170605={};_0x170605[_0x5cfe9c(0x23a)]=_0x47f7cb,await BrowserstackCLI[_0x5cfe9c(0x238)]()[_0x5cfe9c(0x216)]()['trackEvent'](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState[_0x5cfe9c(0x236)],_0x170605);}else{const _0xd01e78=_0x47f7cb&&_0x47f7cb[_0x5cfe9c(0x26a)]&&_0x47f7cb[_0x5cfe9c(0x26a)][_0x5cfe9c(0x200)];if(_0xd01e78){const _0x23b9c9=_0xd01e78[_0x5cfe9c(0x28b)],_0x210504=_0xd01e78['platformDetails'];_0x50e36b[_0x5cfe9c(0x241)](!_0x23b9c9,!_0x210504)&&await ClientTroubleShootingService[_0x5cfe9c(0x293)](),_0x210504&&(_0x50e36b[_0x5cfe9c(0x1fe)](debug,_0x5cfe9c(0x242)+_0x210504[_0x5cfe9c(0x21b)]()),_0x3fe5d5[_0x5cfe9c(0x28f)]['platform']=_0x210504[_0x5cfe9c(0x292)],_0x3fe5d5[_0x5cfe9c(0x28f)][_0x5cfe9c(0x25b)]=_0x210504[_0x5cfe9c(0x255)]),_0x23b9c9&&(_0x50e36b['hlaAR'](debug,_0x5cfe9c(0x1df)+_0x23b9c9),_0x3fe5d5[_0x5cfe9c(0x28f)][_0x5cfe9c(0x286)]=_0x23b9c9);}}return _0x15260b['apply'](this,arguments);};}}),_0x4fe958['prototype'][_0x4ce1ec(0x237)]=!![],logger[_0x4ce1ec(0x274)](_0x50e36b['ofBld']);}}catch(_0x4d92d9){_0x50e36b['lJoWN'](debug,_0x4ce1ec(0x21d)+_0x4d92d9),_0x3fe5d5['sessionError']=_0x4d92d9['toString']();}}static[a55_0x7101c0(0x232)](){const _0x580ad3=a55_0x7101c0,_0x1f85bd={'cRieY':function(_0x53215d,_0x558272){return _0x53215d(_0x558272);},'tyJlm':function(_0x41ca27){return _0x41ca27();},'UWZAs':function(_0x3c9479,_0x1d90e7){return _0x3c9479>=_0x1d90e7;},'lHBOa':_0x580ad3(0x249),'CzzEs':function(_0x775506,_0x410e56){return _0x775506(_0x410e56);},'AUhqy':_0x580ad3(0x29e),'KfCvq':_0x580ad3(0x287),'lRnhB':_0x580ad3(0x298),'AuLpS':'chromium','dMZzz':'crConnection.js','CCEdi':_0x580ad3(0x254),'TtdeT':_0x580ad3(0x1e7),'jYflq':function(_0x4ec7b1,_0x442a01){return _0x4ec7b1!=_0x442a01;},'yeDvO':_0x580ad3(0x275)},_0x1e62fe=this;if(_0x1f85bd[_0x580ad3(0x26b)](isAccessibilityAutomationSession)){let _0x5b8c91=null,_0x2afeb6=![];try{const _0x8a2e7e=helper[_0x580ad3(0x1e3)](FRAMEWORKS['PLAYWRIGHT']);_0x2afeb6=_0x1f85bd[_0x580ad3(0x24d)](helper[_0x580ad3(0x294)](_0x8a2e7e,_0x1f85bd[_0x580ad3(0x219)]),0x0);}catch(_0x1f82b9){_0x1f85bd[_0x580ad3(0x299)](debug,_0x580ad3(0x1ff)+_0x1f82b9['toString']());}if(_0x2afeb6)_0x1f85bd[_0x580ad3(0x25c)](debug,_0x1f85bd['AUhqy']);else try{const _0x41df32=path[_0x580ad3(0x22a)](_0x1f85bd[_0x580ad3(0x240)],_0x1f85bd[_0x580ad3(0x288)],_0x1f85bd['AuLpS'],_0x1f85bd[_0x580ad3(0x210)]),_0x22ea41=_0x1f85bd[_0x580ad3(0x25c)](importFileFromPWCore,_0x41df32);!_0x22ea41?_0x1f85bd['cRieY'](debug,_0x1f85bd[_0x580ad3(0x250)]):_0x5b8c91=_0x22ea41[_0x580ad3(0x209)];}catch(_0x2cf015){_0x1f85bd['cRieY'](debug,_0x1f85bd[_0x580ad3(0x208)]);}try{if(_0x1f85bd['jYflq'](_0x5b8c91,null)){const _0x111fbc=_0x5b8c91[_0x580ad3(0x1f1)]['_onMessage'];Object[_0x580ad3(0x243)](_0x5b8c91[_0x580ad3(0x1f1)],_0x1f85bd[_0x580ad3(0x27b)],{'get':function(){return async function _0x300920(_0x2b25b3){const _0x33e87c=a55_0x3ee6;try{if(BrowserstackCLI[_0x33e87c(0x238)]()[_0x33e87c(0x20f)]()){const _0x492b76={};_0x492b76[_0x33e87c(0x23a)]=_0x2b25b3,await BrowserstackCLI[_0x33e87c(0x238)]()[_0x33e87c(0x216)]()[_0x33e87c(0x291)](AutomationFrameworkState['PLAYWRIGHT_DISPATCH'],HookState['POST'],_0x492b76),delete _0x2b25b3[_0x33e87c(0x1e5)];}else{const _0x5b32d2=_0x2b25b3[_0x33e87c(0x1e5)];if(_0x5b32d2){delete _0x2b25b3[_0x33e87c(0x1e5)];const _0x3eb4e2=_0x5b32d2[_0x33e87c(0x28b)],_0x4c2445=_0x5b32d2[_0x33e87c(0x27f)];_0x4c2445&&(_0x1f85bd[_0x33e87c(0x299)](debug,_0x33e87c(0x23e)+_0x4c2445[_0x33e87c(0x21b)]()),_0x1e62fe[_0x33e87c(0x28f)]['platform']=_0x4c2445[_0x33e87c(0x292)],_0x1e62fe[_0x33e87c(0x28f)]['platform_version']=_0x4c2445[_0x33e87c(0x255)]),_0x3eb4e2&&(_0x1f85bd['cRieY'](debug,_0x33e87c(0x248)+_0x3eb4e2),_0x1e62fe[_0x33e87c(0x28f)]['bsSessionId']=_0x3eb4e2);}}}catch(_0x133513){_0x1f85bd[_0x33e87c(0x299)](debug,_0x33e87c(0x266)+_0x133513['toString']());}return _0x111fbc['apply'](this,arguments);};}});}}catch(_0x169834){_0x1f85bd[_0x580ad3(0x25c)](debug,'Error\x20in\x20getting\x20applying\x20CRConnection\x20patch\x20'+_0x169834),_0x1e62fe['sessionError']=_0x169834[_0x580ad3(0x21b)]();}}}static[a55_0x7101c0(0x22b)](){const _0x4681db=a55_0x7101c0;return this[_0x4681db(0x28f)];}}module[a55_0x7101c0(0x22f)]=PlaywrightSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a56_0x18af(){const _0x1c8f8d=['11zbAhIE','util','5239030zXbkgF','BROWSERSTACK_TEST_OBSERVABILITY','1754128HLLDjH','uploadAttachment','now','ObservabilitySync:','stringify','402FmrJEX','5LNuCYn','66764JNXhmt','200268WVctIY','42LOKImT','../v2/customTagManager','__workerDetails','newPage','../../helpers/performance/constants','browserstack_executor:\x20','Error\x20during\x20syncing\x20o11y\x20with\x20automate\x20','ssCKn','24578isiDsT','20489Hzyaqs','_bstackNewPagePatched','../../helpers/helper','measureWrapper','apply','setCustomTags','format','uploadAttachments','bunWB','SYNC','198952KgyCyK','../../helpers/logger','getInstance','csdXa','../v2/browserstackCLI','isRunning','evaluate','mFLqH','o11ySyncDone','../../helpers/test-observability/error-handler','debug','lUneM'];a56_0x18af=function(){return _0x1c8f8d;};return a56_0x18af();}const a56_0xf7c333=a56_0x5a07;(function(_0x24fe05,_0x4f3321){const _0x5f0215=a56_0x5a07,_0x3775af=_0x24fe05();while(!![]){try{const _0x1cc573=-parseInt(_0x5f0215(0x193))/0x1+-parseInt(_0x5f0215(0x1b4))/0x2*(parseInt(_0x5f0215(0x1ac))/0x3)+-parseInt(_0x5f0215(0x1aa))/0x4*(-parseInt(_0x5f0215(0x1a9))/0x5)+parseInt(_0x5f0215(0x1a8))/0x6*(parseInt(_0x5f0215(0x1b5))/0x7)+-parseInt(_0x5f0215(0x1a3))/0x8+-parseInt(_0x5f0215(0x1ab))/0x9+parseInt(_0x5f0215(0x1a1))/0xa*(parseInt(_0x5f0215(0x19f))/0xb);if(_0x1cc573===_0x4f3321)break;else _0x3775af['push'](_0x3775af['shift']());}catch(_0x361b7f){_0x3775af['push'](_0x3775af['shift']());}}}(a56_0x18af,0x1e51b));function a56_0x5a07(_0x4388f3,_0x94aaa1){const _0x18af15=a56_0x18af();return a56_0x5a07=function(_0x5a072b,_0x9a6d49){_0x5a072b=_0x5a072b-0x18d;let _0x394574=_0x18af15[_0x5a072b];return _0x394574;},a56_0x5a07(_0x4388f3,_0x94aaa1);}const util=require(a56_0xf7c333(0x1a0)),logger=require(a56_0xf7c333(0x194)),{nestedKeyValue,isFalse}=require(a56_0xf7c333(0x1b7)),{o11yErrorHandler}=require(a56_0xf7c333(0x19c)),PerformanceTester=require('../../helpers/performance/performance-tester'),{O11y_EVENTS:PerformanceO11yEvents}=require(a56_0xf7c333(0x1b0)),BrowserstackCLI=require(a56_0xf7c333(0x197)),CustomTagManager=require(a56_0xf7c333(0x1ad)),uploadAttachmentsManager=require('../v2/uploadAttachmentsManager'),doo11ySync=PerformanceTester[a56_0xf7c333(0x1b8)](PerformanceO11yEvents[a56_0xf7c333(0x192)],o11yErrorHandler(async function doo11ySync(_0x1e4e38){const _0x5271f6=a56_0xf7c333,_0x32d5e0={'uqWWC':function(_0x1535cf,_0x8a1db7,_0x424420){return _0x1535cf(_0x8a1db7,_0x424420);},'iFtPw':_0x5271f6(0x1ae),'ssCKn':_0x5271f6(0x19b),'mFLqH':'annotate','VldwB':'debug'};if(_0x32d5e0['uqWWC'](nestedKeyValue,global,[_0x32d5e0['iFtPw'],_0x32d5e0[_0x5271f6(0x1b3)]]))return;await _0x1e4e38[_0x5271f6(0x199)](_0x79a991=>{},_0x5271f6(0x1b1)+JSON[_0x5271f6(0x1a7)]({'action':_0x32d5e0[_0x5271f6(0x19a)],'arguments':{'data':_0x5271f6(0x1a6)+Date[_0x5271f6(0x1a5)](),'level':_0x32d5e0['VldwB']}})),global['__workerDetails'][_0x5271f6(0x19b)]=!![];},'doo11ySync'));exports['patchBrowserNewPage']=_0x5f3aa4=>{const _0x2c780f=a56_0xf7c333,_0x2eea18={'bunWB':function(_0x51d55c,_0x4fee7a){return _0x51d55c(_0x4fee7a);},'csdXa':function(_0x643f30,_0x547e6c){return _0x643f30(_0x547e6c);},'FzRDC':function(_0x10d1a1,_0x3d7729,_0x22a4e4){return _0x10d1a1(_0x3d7729,_0x22a4e4);},'lUneM':'__workerDetails'};if(!_0x5f3aa4||_0x5f3aa4[_0x2c780f(0x1b6)])return;const _0x5a73db=_0x5f3aa4[_0x2c780f(0x1af)]['bind'](_0x5f3aa4);_0x5f3aa4[_0x2c780f(0x1af)]=async function _0x21227a(){const _0x4e46ed=_0x2c780f,_0x33bc0d=await _0x5a73db[_0x4e46ed(0x18d)](_0x5f3aa4,arguments);try{!BrowserstackCLI[_0x4e46ed(0x195)]()[_0x4e46ed(0x198)]()&&!_0x2eea18[_0x4e46ed(0x191)](isFalse,process['env'][_0x4e46ed(0x1a2)])&&await _0x2eea18[_0x4e46ed(0x196)](doo11ySync,_0x33bc0d),BrowserstackCLI[_0x4e46ed(0x195)]()[_0x4e46ed(0x198)]()&&(_0x33bc0d[_0x4e46ed(0x18e)]=async(_0x1d1c4e,_0x504223,_0x136c5e=![])=>{const _0xb85e9d=_0x4e46ed;await CustomTagManager[_0xb85e9d(0x18e)](_0x1d1c4e,_0x504223,_0x136c5e);},_0x33bc0d[_0x4e46ed(0x1a4)]=async(_0x547346,_0x3cc214=![])=>{const _0x17a6f9=_0x4e46ed;await uploadAttachmentsManager[_0x17a6f9(0x190)](_0x547346,_0x3cc214);});}catch(_0x1a8a8a){logger[_0x4e46ed(0x19d)](_0x4e46ed(0x1b2)+util[_0x4e46ed(0x18f)](_0x1a8a8a));}return _0x2eea18['FzRDC'](nestedKeyValue,global,[_0x2eea18[_0x4e46ed(0x19e)]])&&(global[_0x4e46ed(0x1ae)]['pwPage']=_0x33bc0d),_0x33bc0d;},_0x5f3aa4[_0x2c780f(0x1b6)]=!![];};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a57_0x19a4(_0x2b2ba6,_0x191e68){const _0x379d2c=a57_0x379d();return a57_0x19a4=function(_0x19a43a,_0x3a1461){_0x19a43a=_0x19a43a-0x167;let _0x56a2ed=_0x379d2c[_0x19a43a];return _0x56a2ed;},a57_0x19a4(_0x2b2ba6,_0x191e68);}const a57_0x615482=a57_0x19a4;(function(_0x2c96fc,_0x143849){const _0x1adb56=a57_0x19a4,_0x4d38af=_0x2c96fc();while(!![]){try{const _0x7ecab7=parseInt(_0x1adb56(0x199))/0x1*(parseInt(_0x1adb56(0x170))/0x2)+parseInt(_0x1adb56(0x17c))/0x3*(-parseInt(_0x1adb56(0x173))/0x4)+-parseInt(_0x1adb56(0x18c))/0x5*(-parseInt(_0x1adb56(0x184))/0x6)+-parseInt(_0x1adb56(0x16b))/0x7*(-parseInt(_0x1adb56(0x1a3))/0x8)+-parseInt(_0x1adb56(0x16c))/0x9*(parseInt(_0x1adb56(0x190))/0xa)+parseInt(_0x1adb56(0x1a2))/0xb+-parseInt(_0x1adb56(0x1c4))/0xc;if(_0x7ecab7===_0x143849)break;else _0x4d38af['push'](_0x4d38af['shift']());}catch(_0x1adbae){_0x4d38af['push'](_0x4d38af['shift']());}}}(a57_0x379d,0xac7a7));const path=require(a57_0x615482(0x1bb)),url=require('url'),util=require(a57_0x615482(0x195)),{nestedKeyValue,isFalse}=require(a57_0x615482(0x182)),{debug,getPlatformDetails}=require(a57_0x615482(0x1a7)),logger=require(a57_0x615482(0x1b6))[a57_0x615482(0x177)],constants=require(a57_0x615482(0x1a0)),BrowserstackCLI=require(a57_0x615482(0x1c7)),AutomationFrameworkState=require(a57_0x615482(0x1a6)),HookState=require(a57_0x615482(0x1c1)),getBrowserFromWSEndpoint=_0x2ada53=>{const _0x172073=a57_0x615482,_0x45e34a={'PbFof':_0x172073(0x1bc),'Idovr':function(_0x3dc840,_0x1f3b93){return _0x3dc840(_0x1f3b93);}};try{const _0x1cd3f1=url[_0x172073(0x16e)](_0x2ada53),_0x58015f=new URLSearchParams(_0x1cd3f1[_0x172073(0x16a)]),_0x47a6d0=Object['fromEntries'](_0x58015f['entries']()),_0x14facf=JSON[_0x172073(0x16e)](_0x47a6d0[_0x172073(0x1b7)]);if(_0x14facf&&(_0x14facf[_0x172073(0x18d)]||_0x14facf[_0x172073(0x175)]))return _0x14facf['browser']||_0x14facf['browserName'];return _0x45e34a[_0x172073(0x191)];}catch(_0x278576){_0x45e34a[_0x172073(0x19f)](debug,_0x172073(0x187)+_0x278576['toString']());}},getCloudProviderFromWsEndpoint=_0x88433c=>{const _0x2f3352=a57_0x615482,_0x2a6a80={};_0x2a6a80[_0x2f3352(0x18b)]=_0x2f3352(0x176),_0x2a6a80[_0x2f3352(0x186)]='unknown_grid';const _0x34c9d1=_0x2a6a80;if(_0x88433c[_0x2f3352(0x1aa)](constants['BSTACK_URL'])||_0x88433c[_0x2f3352(0x1aa)](constants[_0x2f3352(0x17b)]))return _0x34c9d1['UGiDj'];return _0x34c9d1['TlDyH'];},a57_0xd668cd={};function a57_0x379d(){const _0x355c6=['irYzn','result','path','chrome','sessionError','ATS_WSS_URL_REGEX','POST','Error\x20extracting\x20bsParams\x20from\x20CDP\x20message:\x20','../v2/state/hookState.js','bStackParams','apply','3615000cdKsel','svbhq','bsParams','../v2/browserstackCLI','Error\x20in\x20patchConnection:\x20','Setting\x20session\x20id\x20received\x20from\x20BS\x20','platform','version','query','7uxRjco','9NjqeBH','Setting\x20platform\x20details\x20received\x20from\x20BS:\x20','parse','jyFOi','40nYumSH','toString','browser_version','4RsdgXo','params','browserName','browserstack','winstonLogger','MXoLK','uTpFV','onmessage','BSTACK_ATS_URL','2141706LQcFCy','yzucE','platformName','connection','getAutomationFramework','platform_version','../../helpers/helper','PLAYWRIGHT_DISPATCH','54FHWfHG','Invalid\x20constructor,\x20please\x20use\x20static\x20methods','TlDyH','Error\x20in\x20getting\x20browser\x20from\x20caps:\x20','stringify','message','SAAzx','UGiDj','116535xwCrKw','browser','currentSessionDetails','assign','4021730jRsKDT','PbFof','setupBrowserDetails','VUnfd','capabilities','util','automate','product','tlMWM','54741RvolXu','exports','getDetails','[PuppeteerSessionDetails]\x20Connection\x20patched\x20for\x20session\x20capture','_bstackPatched','local_grid','Idovr','../utils/constants','function','3248762qvswzS','4190968HEnQDV','isRunning','cloudProvider','../v2/state/automationFrameworkState.js','../../helpers/test-observability/utils','patchConnection','RIzFi','includes','cuVqD','ojGbB','oScPM','HmQAk','format','nQkAj','string','Error\x20in\x20setupBrowserDetails:\x20','platformVersion','_connection','bsSessionId','../../helpers/logger','caps','turboscale'];a57_0x379d=function(){return _0x355c6;};return a57_0x379d();}a57_0xd668cd[a57_0x615482(0x1a5)]=undefined,a57_0xd668cd[a57_0x615482(0x1b5)]=undefined,a57_0xd668cd[a57_0x615482(0x18d)]=undefined,a57_0xd668cd[a57_0x615482(0x172)]=undefined,a57_0xd668cd[a57_0x615482(0x168)]=undefined,a57_0xd668cd[a57_0x615482(0x181)]=undefined,a57_0xd668cd[a57_0x615482(0x197)]=undefined,a57_0xd668cd[a57_0x615482(0x194)]={};class PuppeteerSessionDetails{static [a57_0x615482(0x18e)]=a57_0xd668cd;constructor(){const _0x12a11c=a57_0x615482,_0x41cb95={};_0x41cb95[_0x12a11c(0x178)]=_0x12a11c(0x185);const _0x11855c=_0x41cb95;throw new Error(_0x11855c[_0x12a11c(0x178)]);}static [a57_0x615482(0x1bd)]=null;static async[a57_0x615482(0x192)](_0x44ef5d,_0x2de868){const _0x3b12da=a57_0x615482,_0x517cf7={'oScPM':_0x3b12da(0x1bc),'aVcii':function(_0x181fc4,_0x5402e7){return _0x181fc4===_0x5402e7;},'VUnfd':_0x3b12da(0x1a1),'jyFOi':_0x3b12da(0x19e),'uTpFV':function(_0x151acd,_0x3c3fd3){return _0x151acd(_0x3c3fd3);},'nQkAj':_0x3b12da(0x176),'SAAzx':_0x3b12da(0x1b8),'tlMWM':_0x3b12da(0x196),'HmQAk':function(_0x34036b){return _0x34036b();},'svbhq':function(_0x2309e4,_0x48edce){return _0x2309e4(_0x48edce);}};try{let _0x1d8e2f=_0x517cf7[_0x3b12da(0x1ad)],_0x5536af=null;_0x44ef5d&&_0x517cf7['aVcii'](typeof _0x44ef5d[_0x3b12da(0x169)],_0x517cf7[_0x3b12da(0x193)])&&(_0x5536af=await _0x44ef5d[_0x3b12da(0x169)]());let _0x2a5599=null,_0x5ac88c=null,_0x28dca4=null,_0x2d0a89=_0x517cf7[_0x3b12da(0x16f)];if(_0x2de868){_0x2d0a89=_0x517cf7[_0x3b12da(0x179)](getCloudProviderFromWsEndpoint,_0x2de868);if(_0x517cf7['aVcii'](_0x2d0a89,_0x517cf7[_0x3b12da(0x1b0)]))_0x28dca4=constants[_0x3b12da(0x1be)]?constants[_0x3b12da(0x1be)]['test'](_0x2de868)?_0x517cf7[_0x3b12da(0x18a)]:_0x517cf7['tlMWM']:_0x517cf7[_0x3b12da(0x198)],_0x1d8e2f=_0x517cf7[_0x3b12da(0x179)](getBrowserFromWSEndpoint,_0x2de868)||_0x1d8e2f,_0x2a5599=this[_0x3b12da(0x18e)][_0x3b12da(0x168)],_0x5ac88c=this[_0x3b12da(0x18e)]['platform_version'];else{const _0x1bc578=await _0x517cf7[_0x3b12da(0x1ae)](getPlatformDetails);_0x2a5599=_0x1bc578[_0x3b12da(0x17e)],_0x5ac88c=_0x1bc578[_0x3b12da(0x1b3)];}}else{const _0x5da2b4=await _0x517cf7['HmQAk'](getPlatformDetails);_0x2a5599=_0x5da2b4['platformName'],_0x5ac88c=_0x5da2b4['platformVersion'];}const _0x4af009={};_0x4af009[_0x3b12da(0x18d)]=_0x1d8e2f,_0x4af009['browser_version']=_0x5536af,_0x4af009[_0x3b12da(0x194)]={},_0x4af009[_0x3b12da(0x168)]=_0x2a5599,_0x4af009[_0x3b12da(0x181)]=_0x5ac88c,_0x4af009[_0x3b12da(0x197)]=_0x28dca4;const _0x290da4=_0x4af009,_0x323c51={};_0x323c51[_0x3b12da(0x1a5)]=_0x2d0a89,this[_0x3b12da(0x18e)]=Object[_0x3b12da(0x18f)]({},this[_0x3b12da(0x18e)],_0x323c51,_0x290da4);}catch(_0x4ebed4){_0x517cf7[_0x3b12da(0x1c5)](debug,_0x3b12da(0x1b2)+util['format'](_0x4ebed4)),this[_0x3b12da(0x1bd)]=_0x4ebed4[_0x3b12da(0x171)]();}}static[a57_0x615482(0x1a8)](_0x1deea2){const _0x648046=a57_0x615482,_0x55d89e={'RIzFi':function(_0x2c39b5,_0x2064f3){return _0x2c39b5===_0x2064f3;},'ojGbB':_0x648046(0x1b1),'yzucE':function(_0x55a854,_0xf1915e){return _0x55a854(_0xf1915e);},'irYzn':function(_0x2629f1,_0x3e5a80){return _0x2629f1===_0x3e5a80;},'zIfzr':function(_0x5831d1,_0x36f28d){return _0x5831d1(_0x36f28d);},'cuVqD':_0x648046(0x19c)},_0x3e0387=this;try{const _0x336ae0=_0x1deea2[_0x648046(0x1b4)]||_0x1deea2[_0x648046(0x17f)];if(!_0x336ae0||_0x336ae0[_0x648046(0x19d)])return;const _0x123149=_0x336ae0[_0x648046(0x17a)];_0x336ae0[_0x648046(0x17a)]=function(_0x4e0b0b){const _0x408f0b=_0x648046;try{const _0x3c60a2=_0x55d89e[_0x408f0b(0x1a9)](typeof _0x4e0b0b,_0x55d89e[_0x408f0b(0x1ac)])?JSON[_0x408f0b(0x16e)](_0x4e0b0b):_0x4e0b0b,_0x27a7d7=_0x3c60a2?.[_0x408f0b(0x1c2)]||_0x3c60a2?.[_0x408f0b(0x1c6)]||_0x3c60a2?.[_0x408f0b(0x174)]?.[_0x408f0b(0x1c6)]||_0x3c60a2?.['params']?.['bStackParams']||_0x3c60a2?.[_0x408f0b(0x1ba)]?.[_0x408f0b(0x1c6)]||_0x3c60a2?.[_0x408f0b(0x1ba)]?.[_0x408f0b(0x1c2)];if(_0x27a7d7){if(BrowserstackCLI['getInstance']()[_0x408f0b(0x1a4)]()){const _0x20bfb9={};_0x20bfb9[_0x408f0b(0x189)]=_0x3c60a2,BrowserstackCLI['getInstance']()[_0x408f0b(0x180)]()['trackEvent'](AutomationFrameworkState[_0x408f0b(0x183)],HookState[_0x408f0b(0x1bf)],_0x20bfb9);}else{const _0x3f496f=_0x27a7d7['sessionId'],_0x742c68=_0x27a7d7['platformDetails'];_0x742c68&&(_0x55d89e[_0x408f0b(0x17d)](debug,_0x408f0b(0x16d)+JSON[_0x408f0b(0x188)](_0x742c68)),_0x3e0387['currentSessionDetails']['platform']=_0x742c68[_0x408f0b(0x17e)],_0x3e0387[_0x408f0b(0x18e)][_0x408f0b(0x181)]=_0x742c68[_0x408f0b(0x1b3)]),_0x3f496f&&(_0x55d89e[_0x408f0b(0x17d)](debug,_0x408f0b(0x167)+_0x3f496f),_0x3e0387[_0x408f0b(0x18e)]['bsSessionId']=_0x3f496f);}_0x55d89e[_0x408f0b(0x1b9)](typeof _0x4e0b0b,_0x55d89e[_0x408f0b(0x1ac)])&&(delete _0x3c60a2[_0x408f0b(0x1c2)],delete _0x3c60a2[_0x408f0b(0x1c6)],_0x3c60a2[_0x408f0b(0x174)]&&(delete _0x3c60a2[_0x408f0b(0x174)][_0x408f0b(0x1c6)],delete _0x3c60a2['params'][_0x408f0b(0x1c2)]),_0x3c60a2[_0x408f0b(0x1ba)]&&(delete _0x3c60a2[_0x408f0b(0x1ba)][_0x408f0b(0x1c6)],delete _0x3c60a2[_0x408f0b(0x1ba)][_0x408f0b(0x1c2)]));}}catch(_0x409194){_0x55d89e['zIfzr'](debug,_0x408f0b(0x1c0)+_0x409194['message']);}return _0x123149?.[_0x408f0b(0x1c3)](this,arguments);},_0x336ae0[_0x648046(0x19d)]=!![],logger['debug'](_0x55d89e[_0x648046(0x1ab)]);}catch(_0x1df6dd){_0x55d89e['yzucE'](debug,_0x648046(0x1c8)+util[_0x648046(0x1af)](_0x1df6dd)),_0x3e0387[_0x648046(0x1bd)]=_0x1df6dd['toString']();}}static[a57_0x615482(0x19b)](){const _0x444eda=a57_0x615482;return this[_0x444eda(0x18e)];}}module[a57_0x615482(0x19a)]=PuppeteerSessionDetails;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a58_0x337b1a=a58_0x54ef;(function(_0x3be698,_0x1791c8){const _0xfc6047=a58_0x54ef,_0xf128c1=_0x3be698();while(!![]){try{const _0x128a35=parseInt(_0xfc6047(0xe0))/0x1+parseInt(_0xfc6047(0xe3))/0x2+-parseInt(_0xfc6047(0xe7))/0x3+-parseInt(_0xfc6047(0xf3))/0x4*(-parseInt(_0xfc6047(0xd7))/0x5)+parseInt(_0xfc6047(0xf2))/0x6+parseInt(_0xfc6047(0xd9))/0x7*(-parseInt(_0xfc6047(0xe2))/0x8)+-parseInt(_0xfc6047(0xe6))/0x9;if(_0x128a35===_0x1791c8)break;else _0xf128c1['push'](_0xf128c1['shift']());}catch(_0x112b65){_0xf128c1['push'](_0xf128c1['shift']());}}}(a58_0xdf23,0xb5af4));function a58_0x54ef(_0x2f3aee,_0x4f31cf){const _0xdf23b5=a58_0xdf23();return a58_0x54ef=function(_0x54ef7d,_0x26dc5f){_0x54ef7d=_0x54ef7d-0xcb;let _0x2726fd=_0xdf23b5[_0x54ef7d];return _0x2726fd;},a58_0x54ef(_0x2f3aee,_0x4f31cf);}const {isTrue,isBrowserstackInfra}=require(a58_0x337b1a(0xf1)),setKeepAlive=require(a58_0x337b1a(0xdb)),util=require(a58_0x337b1a(0xd0)),logger=require(a58_0x337b1a(0xdc))['winstonLogger'],{shouldProcessEventForTesthub}=require(a58_0x337b1a(0xf8)),{addRequestSpy}=require(a58_0x337b1a(0xdf)),a58_0x415b4e={};a58_0x415b4e[a58_0x337b1a(0xd3)]=undefined,a58_0x415b4e[a58_0x337b1a(0xe1)]={},a58_0x415b4e[a58_0x337b1a(0xf4)]=![],a58_0x415b4e[a58_0x337b1a(0xd5)]=null,a58_0x415b4e[a58_0x337b1a(0xee)]=![],a58_0x415b4e[a58_0x337b1a(0xe1)]['id']=undefined,a58_0x415b4e[a58_0x337b1a(0xe1)][a58_0x337b1a(0xef)]=undefined;const workerDetails=a58_0x415b4e;global[a58_0x337b1a(0xea)]=workerDetails;let puppeteerPatcher=null;setKeepAlive();function a58_0xdf23(){const _0x47446f=['PUPPETEER','80895kUwHEd','__skipSessionName','21VATGrJ','isCliEnabled','../../helpers/setKeepAlive','../../helpers/logger','[PuppeteerTestSetup]\x20Bootstrapping\x20BrowserstackCLI\x20for\x20Jest\x20worker','initializePuppeteerPatching','../../helpers/test-observability/utils','555063MBWANG','currentTest','1726632eNjvCt','2713202yzjwEY','[PuppeteerTestSetup]\x20Patching\x20Puppeteer\x20for\x20Jest','env','13570236DEqYpO','3372246Mxmtfz','[PuppeteerTestSetup]\x20Error\x20initializing\x20Puppeteer\x20patching:\x20','JEST','__workerDetails','[PuppeteerTestSetup]\x20Error\x20bootstrapping\x20BrowserstackCLI:\x20','getInstance','../v2/browserstackCLI','isPageFixture','testInfo','[PuppeteerTestSetup]\x20Jest-Puppeteer\x20test\x20setup\x20completed','../../helpers/helper','5779080JNJuUp','284vEXTCI','o11ySyncDone','../utils/puppeteer-patcher','getPackageVersion','bootstrap','../../helpers/testhub/utils','true','jestConfig','../v2/cliUtils','__skipSessionStatus','catch','[PuppeteerTestSetup]\x20Error\x20reading\x20BrowserStack\x20config:\x20','skipSessionName','util','format','../utils/constants','workerInfo','debug','pwPage'];a58_0xdf23=function(){return _0x47446f;};return a58_0xdf23();}if(global[a58_0x337b1a(0xfa)])try{isBrowserstackInfra()?(global[a58_0x337b1a(0xd8)]=isTrue(global[a58_0x337b1a(0xfa)]?.[a58_0x337b1a(0xcf)]),global['__skipSessionStatus']=isTrue(global['jestConfig']?.['skipSessionStatus'])):(global[a58_0x337b1a(0xd8)]=!![],global[a58_0x337b1a(0xcc)]=!![]);const helper=require(a58_0x337b1a(0xf1)),puppeteerVersion=helper[a58_0x337b1a(0xf6)]('puppeteer')||helper[a58_0x337b1a(0xf6)]('puppeteer-core');if(puppeteerVersion)try{logger[a58_0x337b1a(0xd4)](a58_0x337b1a(0xe4)),puppeteerPatcher=require(a58_0x337b1a(0xf5)),puppeteerPatcher[a58_0x337b1a(0xde)](global[a58_0x337b1a(0xfa)]),logger[a58_0x337b1a(0xd4)]('[PuppeteerTestSetup]\x20Puppeteer\x20patching\x20initialized');}catch(a58_0x342d16){logger['debug'](a58_0x337b1a(0xe8)+util[a58_0x337b1a(0xd1)](a58_0x342d16));}if(puppeteerPatcher)try{const BrowserstackCLI=require(a58_0x337b1a(0xed)),CLIUtils=require(a58_0x337b1a(0xcb)),{FRAMEWORKS}=require(a58_0x337b1a(0xd2));BrowserstackCLI[a58_0x337b1a(0xec)]()[a58_0x337b1a(0xda)]()&&(logger[a58_0x337b1a(0xd4)](a58_0x337b1a(0xdd)),process[a58_0x337b1a(0xe5)]['BROWSERSTACK_PUPPETEER']=a58_0x337b1a(0xf9),CLIUtils['setFrameworkDetail'](FRAMEWORKS[a58_0x337b1a(0xe9)],FRAMEWORKS[a58_0x337b1a(0xd6)]),BrowserstackCLI['getInstance']()[a58_0x337b1a(0xf7)]()[a58_0x337b1a(0xcd)](_0xfe19bf=>{const _0x5d1b24=a58_0x337b1a;logger[_0x5d1b24(0xd4)](_0x5d1b24(0xeb)+util[_0x5d1b24(0xd1)](_0xfe19bf));}));}catch(a58_0x27afbe){logger['debug']('[PuppeteerTestSetup]\x20Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[a58_0x337b1a(0xd1)](a58_0x27afbe));}shouldProcessEventForTesthub()&&addRequestSpy(![]);}catch(a58_0x17392e){logger[a58_0x337b1a(0xd4)](a58_0x337b1a(0xce)+util[a58_0x337b1a(0xd1)](a58_0x17392e));}logger[a58_0x337b1a(0xd4)](a58_0x337b1a(0xf0));
|
package/src/bin/runner.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a59_0x510ff8=a59_0x4ac0;function a59_0x4ac0(_0x384704,_0x2a1741){const _0x51a216=a59_0x51a2();return a59_0x4ac0=function(_0x4ac004,_0x23ab41){_0x4ac004=_0x4ac004-0x9d;let _0x3271ce=_0x51a216[_0x4ac004];return _0x3271ce;},a59_0x4ac0(_0x384704,_0x2a1741);}(function(_0x296717,_0x10bde3){const _0x1a2faa=a59_0x4ac0,_0x218856=_0x296717();while(!![]){try{const _0x2f5822=parseInt(_0x1a2faa(0x117))/0x1+parseInt(_0x1a2faa(0x13c))/0x2+parseInt(_0x1a2faa(0x129))/0x3*(-parseInt(_0x1a2faa(0x113))/0x4)+parseInt(_0x1a2faa(0xba))/0x5*(parseInt(_0x1a2faa(0x11c))/0x6)+parseInt(_0x1a2faa(0xcc))/0x7+parseInt(_0x1a2faa(0x11f))/0x8+-parseInt(_0x1a2faa(0x138))/0x9*(parseInt(_0x1a2faa(0xec))/0xa);if(_0x2f5822===_0x10bde3)break;else _0x218856['push'](_0x218856['shift']());}catch(_0x452c9c){_0x218856['push'](_0x218856['shift']());}}}(a59_0x51a2,0x8ec39));const fs=require('fs'),path=require('path'),util=require(a59_0x510ff8(0x103)),spawn=require(a59_0x510ff8(0xb5))['spawn'],{requireModule}=require(a59_0x510ff8(0x118)),PerformanceTester=require(a59_0x510ff8(0xb4)),PerformanceEvents=require(a59_0x510ff8(0xd9))['EVENTS'],helper=require(a59_0x510ff8(0x118)),utilities=require('../helpers/utilities'),{default:BrowserStackSetup}=require('../helpers/BrowserStackSetup'),{FRAMEWORKS}=require(a59_0x510ff8(0xfa)),runIntegrations=require(a59_0x510ff8(0x137)),yargs=require(a59_0x510ff8(0x9e)),Constants=require(a59_0x510ff8(0xb9)),BrowserstackCLI=require(a59_0x510ff8(0xed)),{isNewman}=require('./newman/helper'),logger=require(a59_0x510ff8(0x13a))[a59_0x510ff8(0xa4)],origArgs=Object[a59_0x510ff8(0x11d)]([],process[a59_0x510ff8(0xbb)]),captureError=async(_0x1fd27e,_0x5186be,_0x1e0b51,_0x345de0=null,_0x545304=![])=>{const _0x2b367e=a59_0x510ff8,_0x561c80={'nfzXu':function(_0xd3fee1,_0x18e724,_0x2d7708,_0x1cc151){return _0xd3fee1(_0x18e724,_0x2d7708,_0x1cc151);},'SDBRm':_0x2b367e(0xe8)};try{logger[_0x2b367e(0xe5)](_0x2b367e(0xc2)+origArgs[_0x2b367e(0x126)]('\x20')),await _0x561c80['nfzXu'](_0x1fd27e,_0x5186be,_0x345de0,_0x1e0b51);}catch(_0x255896){process['exitCode']=0x1,logger[_0x2b367e(0x11a)](util[_0x2b367e(0x142)](_0x255896));const _0x5b33aa={'globalException':util[_0x2b367e(0x142)]('%j',_0x255896)};PerformanceTester['end'](PerformanceEvents[_0x2b367e(0x105)],![],util[_0x2b367e(0x142)](_0x255896));if(helper['isUndefined'](global['config'])&&helper[_0x2b367e(0x109)](global['framework']))return;try{utilities[_0x2b367e(0xd3)](_0x561c80[_0x2b367e(0x146)],_0x5b33aa,global[_0x2b367e(0xaa)],global[_0x2b367e(0xcd)]);}catch(_0x795e9b){logger[_0x2b367e(0xc6)](_0x2b367e(0xd6)+_0x795e9b[_0x2b367e(0x12a)]);}try{await helper[_0x2b367e(0x12d)](global[_0x2b367e(0xaa)]);}catch(_0x436b90){logger[_0x2b367e(0xc6)](_0x2b367e(0xf3)+_0x436b90[_0x2b367e(0x12a)]);}PerformanceTester[_0x2b367e(0x145)](PerformanceEvents[_0x2b367e(0x105)],![],util[_0x2b367e(0x142)](_0x255896));}finally{!_0x545304&&await BrowserstackCLI['getInstance']()[_0x2b367e(0xe4)](),PerformanceTester['start'](PerformanceEvents[_0x2b367e(0x10e)]);}};try{const browserstackFolderPath=path[a59_0x510ff8(0x126)](helper[a59_0x510ff8(0xd8)](),a59_0x510ff8(0xc8));if(fs[a59_0x510ff8(0x10c)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,'.local-not-set.json');fs[a59_0x510ff8(0x10c)](filePath)&&fs[a59_0x510ff8(0xc1)](filePath);}}catch(a59_0x5bff82){logger[a59_0x510ff8(0xc6)](a59_0x510ff8(0xf0)+a59_0x5bff82[a59_0x510ff8(0x127)]);}process['argv'][a59_0x510ff8(0xc0)](a59_0x510ff8(0xc7))&&(!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xc0)]('--opts')&&process['argv'][a59_0x510ff8(0xab)](a59_0x510ff8(0x9f)),!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xf9)](_0x45edca=>_0x45edca['includes']('--config'))&&process['argv'][a59_0x510ff8(0xab)]('--no-config'),!process[a59_0x510ff8(0xbb)][a59_0x510ff8(0xc0)](a59_0x510ff8(0xcb))&&process[a59_0x510ff8(0xbb)]['push'](a59_0x510ff8(0xa3)),helper[a59_0x510ff8(0xbe)](process['argv'],a59_0x510ff8(0x111),'--mochaRequire'));PerformanceTester[a59_0x510ff8(0xa7)](PerformanceEvents[a59_0x510ff8(0x105)]);const a59_0x59494c={};function a59_0x51a2(){const _0x422c6a=['5008493bOxexf','framework','qZGLI','LbxmH','xHHjY','split','DEBUG_FILE','fireFunnelTestEvent','Not\x20a\x20valid\x20command.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','./jest/command','Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20','ujTaV','homedir','../helpers/performance/constants','env','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','MiXXJ','PLAYWRIGHT','./codeceptjs/command','lVJyu','RSrkR','gUBSX','wrap','CODECEPTJS','stop','info','pw:channel\x20auto-capture\x20seed\x20failed:\x20','fAIvr','SDKTestSuccessful','trim','uoeRI','boolean','226910WHSMaP','./v2/browserstackCLI','getConfigPath','-pw:*','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','some','pw:channel','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','KGbia','getPwChannelLogPath','showHelpOnFail','HELP','testcafe','find','../helpers/test-observability/constants','integrations','jlFnq','filter','./newman/command','pw:*','newman','dot-notation','handler','util','./playwright/command','SDK_SETUP','SxCYK','yITWD','NIGHTWATCH','isUndefined','Parsing\x20command\x20line\x20arguments','cbPgb','existsSync','EiwOJ','SDK_CLEANUP','sOXbL','nightwatch','--require','setTestObservabilityDisable','1304wHKOCv','eerXp','node','CZkGo','201838rxkdLM','../helpers/helper','VANILLA','error','-pw:channel','3364428DRVZzB','assign','codeceptjs','3186736lIegql','mJvIQ','JEST','JVRuQ','vWaLJ','help','qkTqW','join','message','pAMfC','3702qzaQMp','stack','version','FWKoy','sendLogs','./cucumber-js/command','qzmns','OPEbo','VERSION','TKQQP','SpPVR','bpwvz','cucumber-js','setBrowserStackAutomationDisable','./integrations/command','450KnlgOi','ByVpe','../helpers/logger','ats','490356qlWFDv','nktcr','../../ats/src/index','ZjgXl','BROWSERSTACK_CONFIG_FILE_PATH','pxGxQ','format','DEBUG','HHnCr','end','SDBRm','exitProcess','yargs','--no-opts','dtyFM','lEAnr','demandCommand','--no-package','winstonLogger','disableAutoCaptureLogs','parserConfiguration','start','map','idLNX','config','push','vanilla','INFO','UocMm','IRjLS','Show\x20help','jest','mocha/lib/cli/commands.js','./load/index','../helpers/performance/performance-tester','child_process','zvxiK','strict','./nightwatch/command','./utils/constants','5NAXSLY','argv','alias','wsdNp','findAndReplace','slice','includes','unlinkSync','Running\x20SDK\x20with\x20args\x20','dFaJq','command','./mocha/command','debug','mocha','.browserstack','djKXo','TESTCAFE','--package'];a59_0x51a2=function(){return _0x422c6a;};return a59_0x51a2();}a59_0x59494c[a59_0x510ff8(0x101)]=![];const argv=yargs[a59_0x510ff8(0xa6)](a59_0x59494c)['usage']('usage:\x20$0\x20<command>\x20[args]')[a59_0x510ff8(0xbc)]('v',a59_0x510ff8(0x12b))['describe']('v')[a59_0x510ff8(0xbc)]('h','help')['help'](a59_0x510ff8(0x124))[a59_0x510ff8(0xf6)](!![],Constants[a59_0x510ff8(0x131)][a59_0x510ff8(0xf7)])[a59_0x510ff8(0xc4)](a59_0x510ff8(0xb1),Constants[a59_0x510ff8(0x121)][a59_0x510ff8(0xad)],function(_0x2c9cda){const _0x9db0b=a59_0x510ff8,_0x4f0d4a={'jMJSP':_0x9db0b(0xb1),'KGJwj':function(_0x1b24a9,_0xebec60,_0xd6b46,_0x4da2cd,_0x4c0c90,_0x2321c3){return _0x1b24a9(_0xebec60,_0xd6b46,_0x4da2cd,_0x4c0c90,_0x2321c3);},'jlFnq':function(_0x16fb08,_0x53310e){return _0x16fb08(_0x53310e);},'pxGxQ':_0x9db0b(0xd5)},_0x281546=process[_0x9db0b(0xbb)][_0x9db0b(0xbf)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x2c9cda[_0x9db0b(0xb7)](![]);const _0x22ffb2=new BrowserStackSetup(_0x2c9cda[_0x9db0b(0xbb)],_0x4f0d4a['jMJSP']);return _0x4f0d4a['KGJwj'](captureError,_0x4f0d4a[_0x9db0b(0xfc)](require,_0x4f0d4a[_0x9db0b(0x141)]),_0x2c9cda[_0x9db0b(0xbb)],_0x22ffb2,_0x281546,!![]);})[a59_0x510ff8(0xc4)]('jasmine',Constants['JASMINE'][a59_0x510ff8(0xad)],function(_0x2b186e){const _0x1cb11e=a59_0x510ff8,_0x102bdb={'IRjLS':'jasmine','dFaJq':function(_0x193ecf,_0x1e1001,_0x20e68b,_0x4c5f17,_0x46445c,_0x585088){return _0x193ecf(_0x1e1001,_0x20e68b,_0x4c5f17,_0x46445c,_0x585088);},'ujTaV':function(_0x291935,_0x2b4f14){return _0x291935(_0x2b4f14);},'SpPVR':'./jasmine/command'},_0x50a9aa=process['argv'][_0x1cb11e(0xbf)](0x2);helper['setTestObservabilityDisable'](),helper['setBrowserStackAutomationDisable'](),_0x2b186e[_0x1cb11e(0xb7)](![]);const _0xe51ec1=new BrowserStackSetup(_0x2b186e[_0x1cb11e(0xbb)],_0x102bdb[_0x1cb11e(0xaf)]);return _0x102bdb[_0x1cb11e(0xc3)](captureError,_0x102bdb[_0x1cb11e(0xd7)](require,_0x102bdb[_0x1cb11e(0x133)]),_0x2b186e['argv'],_0xe51ec1,_0x50a9aa,!![]);})['command'](a59_0x510ff8(0xc7),Constants['MOCHA'][a59_0x510ff8(0xad)],_0x2ce048=>{const _0x5c7b45=a59_0x510ff8,_0x61f315={'uoeRI':function(_0x1bd629,_0x3dac5e,_0x449b5a,_0x469b25){return _0x1bd629(_0x3dac5e,_0x449b5a,_0x469b25);},'dcGcK':function(_0x3b0642,_0x22d5aa){return _0x3b0642(_0x22d5aa);},'zvxiK':_0x5c7b45(0xc5),'yITWD':_0x5c7b45(0xc7),'qzmns':_0x5c7b45(0x10a),'AaXlY':function(_0x47c29e,_0x37403c,_0x24ed95){return _0x47c29e(_0x37403c,_0x24ed95);},'LbxmH':'mocha/lib/cli/run.js','wsdNp':function(_0x38f4df,_0xa47a03,_0x5b9a5f){return _0x38f4df(_0xa47a03,_0x5b9a5f);},'OPEbo':_0x5c7b45(0xb2),'vWaLJ':function(_0x52076c,_0x169a0e,_0x1e6160){return _0x52076c(_0x169a0e,_0x1e6160);},'sOXbL':'mocha/lib/cli/cli.js','cXysG':function(_0x3e9c35){return _0x3e9c35();}};process[_0x5c7b45(0xbb)]=process[_0x5c7b45(0xbb)][_0x5c7b45(0xbf)](0x1),helper[_0x5c7b45(0x112)](),helper['setBrowserStackAutomationDisable']();const _0x520a1a=new BrowserStackSetup(_0x2ce048[_0x5c7b45(0xbb)],_0x61f315[_0x5c7b45(0x107)]);logger[_0x5c7b45(0xc6)](_0x61f315[_0x5c7b45(0x12f)]);const _0x3d00a8=_0x61f315['AaXlY'](requireModule,_0x61f315[_0x5c7b45(0xcf)],_0x61f315[_0x5c7b45(0x107)]),_0x204313=_0x61f315[_0x5c7b45(0xbd)](requireModule,_0x61f315[_0x5c7b45(0x130)],_0x61f315[_0x5c7b45(0x107)]);delete _0x3d00a8[_0x5c7b45(0x102)],_0x3d00a8[_0x5c7b45(0x102)]=function(_0x5b9c84){const _0x2e8507=_0x5c7b45;return _0x61f315[_0x2e8507(0xea)](captureError,_0x61f315['dcGcK'](require,_0x61f315[_0x2e8507(0xb6)]),_0x5b9c84,_0x520a1a);},_0x204313['run']=_0x3d00a8;const {main:_0x4c6209}=_0x61f315[_0x5c7b45(0x123)](requireModule,_0x61f315[_0x5c7b45(0x10f)],_0x61f315[_0x5c7b45(0x107)]);_0x61f315['cXysG'](_0x4c6209);})[a59_0x510ff8(0xc4)]('cucumber-js',Constants['CUCUMBER']['INFO'],function(_0x311085){const _0xdfc2ed=a59_0x510ff8,_0xb99d21={'FWKoy':_0xdfc2ed(0x135),'WmvbC':function(_0x2ef298,_0x3dc076,_0x265fb9,_0x12af93,_0x40bf74,_0x4012b5){return _0x2ef298(_0x3dc076,_0x265fb9,_0x12af93,_0x40bf74,_0x4012b5);},'UocMm':function(_0x86d4a8,_0x24fdaa){return _0x86d4a8(_0x24fdaa);},'uVwMK':_0xdfc2ed(0x12e)},_0x2cfea8=process[_0xdfc2ed(0xbb)][_0xdfc2ed(0xbf)](0x2),_0x3898d7=new BrowserStackSetup(_0x311085[_0xdfc2ed(0xbb)],_0xb99d21[_0xdfc2ed(0x12c)]);return _0xb99d21['WmvbC'](captureError,_0xb99d21[_0xdfc2ed(0xae)](require,_0xb99d21['uVwMK']),_0x311085['argv'],_0x3898d7,_0x2cfea8,!![]);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x115),Constants[a59_0x510ff8(0x119)][a59_0x510ff8(0xad)],function(_0x273dcf){const _0xe32310=a59_0x510ff8,_0xae8a10={'MrDMm':_0xe32310(0xac),'qkTqW':function(_0x3ce3ae,_0x1f990b){return _0x3ce3ae(_0x1f990b);},'nktcr':_0xe32310(0x100),'pAMfC':function(_0x447c71,_0x339072,_0x4a8114,_0x514d5c,_0x4b0db7){return _0x447c71(_0x339072,_0x4a8114,_0x514d5c,_0x4b0db7);},'eerXp':function(_0x4aa00a,_0x2f4ce4){return _0x4aa00a(_0x2f4ce4);},'KGbia':_0xe32310(0xfe),'qZGLI':function(_0x5e0af4,_0x16971c,_0x1faa65,_0x3cd84f,_0x794570){return _0x5e0af4(_0x16971c,_0x1faa65,_0x3cd84f,_0x794570);},'ByVpe':'./vanilla-js/command'},_0x343c0c=process[_0xe32310(0xbb)]['slice'](0x2),_0x3b4768=new BrowserStackSetup(_0x273dcf['argv'],_0xae8a10['MrDMm']),_0x218802=_0x3b4768?_0x3b4768[_0xe32310(0xaa)]:null;if(_0xae8a10[_0xe32310(0x125)](isNewman,_0x218802))return _0x3b4768['framework']=_0xae8a10['nktcr'],global[_0xe32310(0xcd)]=_0xae8a10[_0xe32310(0x13d)],_0xae8a10[_0xe32310(0x128)](captureError,_0xae8a10[_0xe32310(0x114)](require,_0xae8a10[_0xe32310(0xf4)]),_0x273dcf[_0xe32310(0xbb)],_0x3b4768,_0x343c0c);return _0xae8a10[_0xe32310(0xce)](captureError,_0xae8a10[_0xe32310(0x125)](require,_0xae8a10[_0xe32310(0x139)]),_0x273dcf['argv'],_0x3b4768,_0x343c0c);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x110),Constants[a59_0x510ff8(0x108)][a59_0x510ff8(0xad)],function(_0x2083aa){const _0x28bec5=a59_0x510ff8,_0x26e141={'lVJyu':function(_0x1d42f7,_0x37ef71,_0x3f7c4e,_0x34b843,_0x16a3d0){return _0x1d42f7(_0x37ef71,_0x3f7c4e,_0x34b843,_0x16a3d0);},'SxCYK':function(_0x249e74,_0x1d68da){return _0x249e74(_0x1d68da);},'dChvw':_0x28bec5(0xb8)},_0x29237d=process['argv'][_0x28bec5(0xbf)](0x2),_0x36c587=new BrowserStackSetup(_0x2083aa[_0x28bec5(0xbb)]);return _0x26e141[_0x28bec5(0xdf)](captureError,_0x26e141[_0x28bec5(0x106)](require,_0x26e141['dChvw']),_0x2083aa['argv'],_0x36c587,_0x29237d);})[a59_0x510ff8(0xc4)]('codeceptjs',Constants[a59_0x510ff8(0xe3)][a59_0x510ff8(0xad)],function(_0xc25315){const _0x23eae4=a59_0x510ff8,_0x1c3ed6={'ppsjb':_0x23eae4(0x11e),'djKXo':function(_0x5e3f78,_0x3e7be1,_0x298e0c,_0x4bcd2b,_0x14d088){return _0x5e3f78(_0x3e7be1,_0x298e0c,_0x4bcd2b,_0x14d088);},'OtRje':function(_0x19e636,_0x50510d){return _0x19e636(_0x50510d);},'mJvIQ':_0x23eae4(0xde)},_0x59563f=process[_0x23eae4(0xbb)][_0x23eae4(0xbf)](0x2),_0x555321=new BrowserStackSetup(_0xc25315[_0x23eae4(0xbb)],_0x1c3ed6['ppsjb']);return _0x1c3ed6[_0x23eae4(0xc9)](captureError,_0x1c3ed6['OtRje'](require,_0x1c3ed6[_0x23eae4(0x120)]),_0xc25315[_0x23eae4(0xbb)],_0x555321,_0x59563f);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x13b),Constants['HST'][a59_0x510ff8(0xad)],function(_0xa3ffe2){const _0x457209=a59_0x510ff8,_0x44aef8={'bpwvz':function(_0x2054ec,_0x54701f,_0x23c14a){return _0x2054ec(_0x54701f,_0x23c14a);},'lEAnr':function(_0x329490,_0x46d566){return _0x329490(_0x46d566);},'idLNX':_0x457209(0x13e)},_0x2b329c=process[_0x457209(0xbb)][_0x457209(0xbf)](0x2);return _0x44aef8[_0x457209(0x134)](captureError,_0x44aef8[_0x457209(0xa1)](require,_0x44aef8[_0x457209(0xa9)]),_0xa3ffe2);})['command'](a59_0x510ff8(0xfb),Constants['INTEGRATIONS']['INFO'],function(_0x12ca3e){const _0x29ef4a=a59_0x510ff8,_0x1d8ee3={'JVRuQ':function(_0x3553ec,_0x4b9d72){return _0x3553ec(_0x4b9d72);}};return _0x1d8ee3[_0x29ef4a(0x122)](runIntegrations,_0x12ca3e);})['command']('playwright',Constants[a59_0x510ff8(0xdd)][a59_0x510ff8(0xad)],function(_0x44f938){const _0x1e7be4=a59_0x510ff8,_0x4c76df={'HHnCr':_0x1e7be4(0xf2),'MiXXJ':function(_0x18dca8,_0x4964db){return _0x18dca8&&_0x4964db;},'RSrkR':function(_0xbe9cc9,_0x1a63b5,_0x3ec447,_0x8f5c1f,_0x30388e,_0x28a34e){return _0xbe9cc9(_0x1a63b5,_0x3ec447,_0x8f5c1f,_0x30388e,_0x28a34e);},'ZFJLl':function(_0x12032d,_0x2c84d5){return _0x12032d(_0x2c84d5);},'ifFYQ':_0x1e7be4(0x104)},_0x1563e0=process[_0x1e7be4(0xbb)]['slice'](0x2);helper[_0x1e7be4(0xee)](process[_0x1e7be4(0xbb)])&&(process['env'][_0x1e7be4(0x140)]=helper[_0x1e7be4(0xee)](process[_0x1e7be4(0xbb)]));helper['setTestObservabilityDisable'](),helper[_0x1e7be4(0x136)]();const _0xdcc0c9=new BrowserStackSetup(_0x44f938[_0x1e7be4(0xbb)],FRAMEWORKS[_0x1e7be4(0xdd)]);try{if(!_0xdcc0c9[_0x1e7be4(0xaa)]||!_0xdcc0c9['config'][_0x1e7be4(0xa5)]){const _0x41f26d=_0x4c76df[_0x1e7be4(0x144)],_0x13af91=process[_0x1e7be4(0xda)][_0x1e7be4(0x143)]||'',_0x37d305=_0x13af91[_0x1e7be4(0xd1)](',')[_0x1e7be4(0xa8)](_0x139800=>_0x139800[_0x1e7be4(0xe9)]())[_0x1e7be4(0xfd)](Boolean),_0x5bde56=_0x37d305[_0x1e7be4(0xf1)](_0x5c068b=>_0x5c068b===_0x1e7be4(0x11b)||_0x5c068b===_0x1e7be4(0xef)||_0x5c068b==='-*'),_0xf2aff4=_0x37d305[_0x1e7be4(0xf1)](_0x16ecea=>_0x16ecea===_0x41f26d||_0x16ecea===_0x1e7be4(0xff)||_0x16ecea==='*');if(_0x4c76df[_0x1e7be4(0xdc)](!_0x5bde56,!_0xf2aff4)){const _0x143cbb=helper[_0x1e7be4(0xf5)]();_0x143cbb&&(process[_0x1e7be4(0xda)][_0x1e7be4(0x143)]=_0x13af91?_0x13af91+','+_0x41f26d:_0x41f26d,!process[_0x1e7be4(0xda)]['DEBUG_FILE']&&(process['env'][_0x1e7be4(0xd2)]=_0x143cbb));}}}catch(_0x37943d){logger[_0x1e7be4(0xc6)](_0x1e7be4(0xe6)+util['format'](_0x37943d));}return _0x4c76df[_0x1e7be4(0xe0)](captureError,_0x4c76df['ZFJLl'](require,_0x4c76df['ifFYQ']),_0x44f938['argv'],_0xdcc0c9,_0x1563e0,!![]);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0xf8),Constants[a59_0x510ff8(0xca)][a59_0x510ff8(0xad)],function(_0x4c207d){const _0xa5cffc=a59_0x510ff8,_0xa118ca={'dtyFM':_0xa5cffc(0xf8),'CZkGo':function(_0x268a21,_0x4426a0,_0x1e926c,_0x4d2e11,_0x3a9aac,_0x2a638e){return _0x268a21(_0x4426a0,_0x1e926c,_0x4d2e11,_0x3a9aac,_0x2a638e);},'GRZVR':function(_0x1fd3dd,_0x3d4368){return _0x1fd3dd(_0x3d4368);},'bqBLa':'./testcafe/command'},_0x4bc7c3=process[_0xa5cffc(0xbb)][_0xa5cffc(0xbf)](0x2),_0x2b40ef=new BrowserStackSetup(_0x4c207d['argv'],_0xa118ca[_0xa5cffc(0xa0)]);return _0xa118ca[_0xa5cffc(0x116)](captureError,_0xa118ca['GRZVR'](require,_0xa118ca['bqBLa']),_0x4c207d[_0xa5cffc(0xbb)],_0x2b40ef,_0x4bc7c3,!![]);})['command']('load\x20[subcommand]','Runs\x20the\x20binary\x20with\x20load\x20command',function(_0x322c5f){const _0x4c0185=a59_0x510ff8,_0x1c1f65={};_0x1c1f65['DubYn']=_0x4c0185(0x124),_0x1c1f65[_0x4c0185(0xe7)]=_0x4c0185(0xeb),_0x1c1f65[_0x4c0185(0xe1)]=_0x4c0185(0xb0);const _0x36bbc3=_0x1c1f65;return _0x322c5f[_0x4c0185(0x124)](![])['option'](_0x36bbc3['DubYn'],{'alias':'h','type':_0x36bbc3['fAIvr'],'describe':_0x36bbc3[_0x4c0185(0xe1)]})['strict'](![])[_0x4c0185(0x9d)](![]);},function(_0x338c5f){const _0x2c0033=a59_0x510ff8,_0x1f7486={'EiwOJ':function(_0x4070ee,_0x1b3123,_0x1bd10a){return _0x4070ee(_0x1b3123,_0x1bd10a);},'ZjgXl':function(_0x56aac4,_0x2c84d8){return _0x56aac4(_0x2c84d8);},'CzWci':_0x2c0033(0xb3)},_0x8c3378={};return _0x8c3378[_0x2c0033(0xbb)]=_0x338c5f,_0x1f7486[_0x2c0033(0x10d)](captureError,_0x1f7486[_0x2c0033(0x13f)](require,_0x1f7486['CzWci']),_0x8c3378);})[a59_0x510ff8(0xc4)](a59_0x510ff8(0x100),Constants['NEWMAN']['INFO'],function(_0x23bb07){const _0xacda=a59_0x510ff8,_0x352fba={'xHHjY':_0xacda(0x100),'TKQQP':function(_0x2e8034,_0xd761b2,_0x5e58ec,_0x2020e6,_0x3e810e){return _0x2e8034(_0xd761b2,_0x5e58ec,_0x2020e6,_0x3e810e);},'cbPgb':function(_0x1ea705,_0xbb9fc){return _0x1ea705(_0xbb9fc);},'oGHNa':'./newman/command'},_0x5f4f39=process[_0xacda(0xbb)][_0xacda(0xbf)](0x2);helper[_0xacda(0x112)](),helper[_0xacda(0x136)](),_0x23bb07[_0xacda(0xb7)](![]);const _0xea5562=new BrowserStackSetup(_0x23bb07['argv'],_0x352fba[_0xacda(0xd0)]);return _0x352fba[_0xacda(0x132)](captureError,_0x352fba[_0xacda(0x10b)](require,_0x352fba['oGHNa']),_0x23bb07[_0xacda(0xbb)],_0xea5562,_0x5f4f39);})[a59_0x510ff8(0xa2)](0x1,a59_0x510ff8(0xdb))[a59_0x510ff8(0xe2)](null)['argv'];!helper['isUndefined'](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!=='ats'&&console[a59_0x510ff8(0x11a)](a59_0x510ff8(0xd4));
|
|
2
|
+
'use strict';const a59_0x3abfcc=a59_0x5a7d;(function(_0x46b13a,_0x39e43d){const _0x244145=a59_0x5a7d,_0x44db84=_0x46b13a();while(!![]){try{const _0x555f7f=parseInt(_0x244145(0x23e))/0x1+-parseInt(_0x244145(0x242))/0x2*(parseInt(_0x244145(0x1ed))/0x3)+parseInt(_0x244145(0x1c9))/0x4*(parseInt(_0x244145(0x232))/0x5)+-parseInt(_0x244145(0x24f))/0x6*(parseInt(_0x244145(0x1e7))/0x7)+parseInt(_0x244145(0x20c))/0x8*(-parseInt(_0x244145(0x1fb))/0x9)+parseInt(_0x244145(0x240))/0xa*(parseInt(_0x244145(0x226))/0xb)+parseInt(_0x244145(0x1c7))/0xc;if(_0x555f7f===_0x39e43d)break;else _0x44db84['push'](_0x44db84['shift']());}catch(_0x1d9bf2){_0x44db84['push'](_0x44db84['shift']());}}}(a59_0x4d2a,0x4f13f));const fs=require('fs'),path=require(a59_0x3abfcc(0x1dc)),util=require(a59_0x3abfcc(0x1d0)),spawn=require(a59_0x3abfcc(0x21b))[a59_0x3abfcc(0x24d)],{requireModule}=require(a59_0x3abfcc(0x1b8)),PerformanceTester=require(a59_0x3abfcc(0x1a5)),PerformanceEvents=require(a59_0x3abfcc(0x1b1))[a59_0x3abfcc(0x222)],helper=require(a59_0x3abfcc(0x1b8)),utilities=require(a59_0x3abfcc(0x1b9)),{default:BrowserStackSetup}=require(a59_0x3abfcc(0x227)),{FRAMEWORKS}=require(a59_0x3abfcc(0x1c2)),runIntegrations=require('./integrations/command'),yargs=require(a59_0x3abfcc(0x1c5)),Constants=require(a59_0x3abfcc(0x231)),BrowserstackCLI=require(a59_0x3abfcc(0x21f)),{isNewman}=require(a59_0x3abfcc(0x225)),logger=require('../helpers/logger')[a59_0x3abfcc(0x1c1)],origArgs=Object['assign']([],process['argv']),captureError=async(_0x2336f7,_0x50758d,_0xead32,_0x4dd66c=null,_0x4392a4=![])=>{const _0x24f8c6=a59_0x3abfcc,_0x408640={'dxzQD':function(_0x4c9a94,_0x1e39a2,_0x3fb9c5,_0x1fb442){return _0x4c9a94(_0x1e39a2,_0x3fb9c5,_0x1fb442);},'orhgR':_0x24f8c6(0x22d)};try{logger['info'](_0x24f8c6(0x1e6)+origArgs[_0x24f8c6(0x200)]('\x20')),await _0x408640[_0x24f8c6(0x24b)](_0x2336f7,_0x50758d,_0x4dd66c,_0xead32);}catch(_0x49726a){process['exitCode']=0x1,logger['error'](util[_0x24f8c6(0x1dd)](_0x49726a));const _0x35d6aa={'globalException':util[_0x24f8c6(0x1dd)]('%j',_0x49726a)};PerformanceTester[_0x24f8c6(0x1a6)](PerformanceEvents[_0x24f8c6(0x1ba)],![],util[_0x24f8c6(0x1dd)](_0x49726a));if(helper[_0x24f8c6(0x228)](global['config'])&&helper[_0x24f8c6(0x228)](global[_0x24f8c6(0x1bf)]))return;try{utilities[_0x24f8c6(0x252)](_0x408640[_0x24f8c6(0x1f2)],_0x35d6aa,global['config'],global[_0x24f8c6(0x1bf)]);}catch(_0x4cc34e){logger[_0x24f8c6(0x1e9)]('Error\x20in\x20Fire\x20SDKTestSuccessful.\x20Stacktrace:\x20'+_0x4cc34e[_0x24f8c6(0x237)]);}try{await helper['sendLogs'](global[_0x24f8c6(0x1d9)]);}catch(_0x3011fe){logger['debug'](_0x24f8c6(0x236)+_0x3011fe[_0x24f8c6(0x237)]);}PerformanceTester['end'](PerformanceEvents[_0x24f8c6(0x1ba)],![],util[_0x24f8c6(0x1dd)](_0x49726a));}finally{!_0x4392a4&&await BrowserstackCLI[_0x24f8c6(0x209)]()[_0x24f8c6(0x1bb)](),PerformanceTester['start'](PerformanceEvents[_0x24f8c6(0x202)]);}};try{const browserstackFolderPath=path[a59_0x3abfcc(0x200)](helper['homedir'](),a59_0x3abfcc(0x1b7));if(fs[a59_0x3abfcc(0x1c6)](browserstackFolderPath)){const filePath=path['join'](browserstackFolderPath,a59_0x3abfcc(0x1c3));fs[a59_0x3abfcc(0x1c6)](filePath)&&fs[a59_0x3abfcc(0x247)](filePath);}}catch(a59_0x365172){logger[a59_0x3abfcc(0x1e9)](a59_0x3abfcc(0x1ec)+a59_0x365172[a59_0x3abfcc(0x1a9)]);}process[a59_0x3abfcc(0x1af)]['includes']('mocha')&&(!process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x23f)]('--opts')&&process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x1c8)]('--no-opts'),!process[a59_0x3abfcc(0x1af)]['find'](_0x5048e4=>_0x5048e4['includes']('--config'))&&process[a59_0x3abfcc(0x1af)][a59_0x3abfcc(0x1c8)]('--no-config'),!process['argv'][a59_0x3abfcc(0x23f)]('--package')&&process[a59_0x3abfcc(0x1af)]['push'](a59_0x3abfcc(0x249)),helper['findAndReplace'](process['argv'],'--require',a59_0x3abfcc(0x234)));PerformanceTester[a59_0x3abfcc(0x23c)](PerformanceEvents[a59_0x3abfcc(0x1ba)]);function a59_0x5a7d(_0x41a308,_0x59c546){const _0x4d2a2e=a59_0x4d2a();return a59_0x5a7d=function(_0x5a7d62,_0x17e8b4){_0x5a7d62=_0x5a7d62-0x1a5;let _0x2a539a=_0x4d2a2e[_0x5a7d62];return _0x2a539a;},a59_0x5a7d(_0x41a308,_0x59c546);}function a59_0x4d2a(){const _0x53733b=['testcafe','yfhSq','EVENTS','jasmine','PLAYWRIGHT','./newman/helper','3101802ivJngy','../helpers/BrowserStackSetup','isUndefined','pw:channel','env','hTZpL','vanilla','SDKTestSuccessful','disableAutoCaptureLogs','pw:*','JIcLC','./utils/constants','985sqytbS','mocha','--mochaRequire','RXRYD','Error\x20in\x20sending\x20logs.\x20Stacktrace:\x20','stack','option','getConfigPath','TCcGd','jOaXf','start','IZomG','440050rbuCdv','includes','10weumSQ','NggkP','4bbSObr','pOmCg','usage','slice','demandCommand','unlinkSync','MOCHA','--no-package','MjwFg','dxzQD','qwSPg','spawn','ESrow','131142anRRFD','nightwatch','mvpQu','fireFunnelTestEvent','error','./newman/command','../helpers/performance/performance-tester','end','You\x20need\x20at\x20least\x20one\x20command\x20before\x20moving\x20on.\x20Check\x20help\x20and\x20provide\x20a\x20valid\x20command.','command','message','dlcOu','HELP','./jasmine/command','Parsing\x20command\x20line\x20arguments','describe','argv','GuYwK','../helpers/performance/constants','Vxgsc','dot-notation','playwright','tRnzZ','-pw:channel','.browserstack','../helpers/helper','../helpers/utilities','SDK_SETUP','stop','DEBUG','CODECEPTJS','rhLaW','framework','setBrowserStackAutomationDisable','winstonLogger','../helpers/test-observability/constants','.local-not-set.json','split','yargs','existsSync','6120564EJxYql','push','8208XulFqj','-pw:*','aXIvs','NEWMAN','Show\x20help','xxtav','some','util','WZHUh','pQWFB','./jest/command','usage:\x20$0\x20<command>\x20[args]','dcvtr','YZDQr','NETcq','../../ats/src/index','config','IOOQY','rnQDI','path','format','JASMINE','IIheq','newman','boolean','Runs\x20the\x20binary\x20with\x20load\x20command','alias','aIeSS','mocha/lib/cli/commands.js','Running\x20SDK\x20with\x20args\x20','161MoGGHH','ats','debug','cCuGk','MNlkS','Error\x20is\x20Deleting\x20temp\x20.local-not-set.json.\x20Error:\x20','539424RyfTDv','LQYoH','SzVdg','version','NKiaV','orhgR','FyIwT','help','integrations','./testcafe/command','CZrmX','UCcFm','strict','EZbIP','189VIovaS','uxMiI','INTEGRATIONS','jUNBu','INFO','join','XjCFD','SDK_CLEANUP','./vanilla-js/command','uFFjb','./load/index','./mocha/command','kpniV','TESTCAFE','getInstance','HwemT','exitProcess','171464OoIcRl','WxoJr','parserConfiguration','codeceptjs','agLyT','setTestObservabilityDisable','CUCUMBER','HST','VANILLA','./playwright/command','load\x20[subcommand]','jest','BROWSERSTACK_CONFIG_FILE_PATH','node','cucumber-js','child_process','NIGHTWATCH','JEST','getPwChannelLogPath','./v2/browserstackCLI'];a59_0x4d2a=function(){return _0x53733b;};return a59_0x4d2a();}const a59_0x3e1ac3={};a59_0x3e1ac3[a59_0x3abfcc(0x1b3)]=![];const argv=yargs[a59_0x3abfcc(0x20e)](a59_0x3e1ac3)[a59_0x3abfcc(0x244)](a59_0x3abfcc(0x1d4))[a59_0x3abfcc(0x1e3)]('v',a59_0x3abfcc(0x1f0))[a59_0x3abfcc(0x1ae)]('v')[a59_0x3abfcc(0x1e3)]('h',a59_0x3abfcc(0x1f4))[a59_0x3abfcc(0x1f4)]('help')['showHelpOnFail'](!![],Constants['VERSION'][a59_0x3abfcc(0x1ab)])['command'](a59_0x3abfcc(0x217),Constants[a59_0x3abfcc(0x21d)][a59_0x3abfcc(0x1ff)],function(_0x349a87){const _0x2f6136=a59_0x3abfcc,_0x4dceb3={'LIyTy':'jest','jUNBu':function(_0x2e630c,_0x158b7c,_0x2de539,_0x39e1bc,_0x26e81b,_0x2a072a){return _0x2e630c(_0x158b7c,_0x2de539,_0x39e1bc,_0x26e81b,_0x2a072a);},'MjwFg':function(_0x119452,_0x1de1a9){return _0x119452(_0x1de1a9);},'CZrmX':_0x2f6136(0x1d3)},_0x50928d=process[_0x2f6136(0x1af)][_0x2f6136(0x245)](0x2);helper[_0x2f6136(0x211)](),helper['setBrowserStackAutomationDisable'](),_0x349a87[_0x2f6136(0x1f9)](![]);const _0x49644e=new BrowserStackSetup(_0x349a87[_0x2f6136(0x1af)],_0x4dceb3['LIyTy']);return _0x4dceb3[_0x2f6136(0x1fe)](captureError,_0x4dceb3[_0x2f6136(0x24a)](require,_0x4dceb3[_0x2f6136(0x1f7)]),_0x349a87[_0x2f6136(0x1af)],_0x49644e,_0x50928d,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x223),Constants[a59_0x3abfcc(0x1de)][a59_0x3abfcc(0x1ff)],function(_0x3b95c3){const _0x588222=a59_0x3abfcc,_0x188d40={'fBFzb':_0x588222(0x223),'WxoJr':function(_0x3d099f,_0x5e0ffb,_0x220c5a,_0x7d42a3,_0x167653,_0x22801a){return _0x3d099f(_0x5e0ffb,_0x220c5a,_0x7d42a3,_0x167653,_0x22801a);},'TCcGd':function(_0x2b297f,_0x11b133){return _0x2b297f(_0x11b133);},'jOaXf':_0x588222(0x1ac)},_0x473ba8=process['argv'][_0x588222(0x245)](0x2);helper[_0x588222(0x211)](),helper[_0x588222(0x1c0)](),_0x3b95c3[_0x588222(0x1f9)](![]);const _0x2af61d=new BrowserStackSetup(_0x3b95c3[_0x588222(0x1af)],_0x188d40['fBFzb']);return _0x188d40[_0x588222(0x20d)](captureError,_0x188d40[_0x588222(0x23a)](require,_0x188d40[_0x588222(0x23b)]),_0x3b95c3[_0x588222(0x1af)],_0x2af61d,_0x473ba8,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x233),Constants[a59_0x3abfcc(0x248)][a59_0x3abfcc(0x1ff)],_0x4b8c74=>{const _0x4d4fbd=a59_0x3abfcc,_0x80c253={'NETcq':function(_0x7c97ca,_0x2f0819,_0x5ac437,_0x4edf3e){return _0x7c97ca(_0x2f0819,_0x5ac437,_0x4edf3e);},'SsFqp':function(_0x4fd803,_0x51cea2){return _0x4fd803(_0x51cea2);},'tpNfx':_0x4d4fbd(0x206),'aXIvs':_0x4d4fbd(0x233),'rhLaW':_0x4d4fbd(0x1ad),'agLyT':function(_0x40f033,_0x4d6d1e,_0x44bfc0){return _0x40f033(_0x4d6d1e,_0x44bfc0);},'WZHUh':'mocha/lib/cli/run.js','dcvtr':function(_0x4ff35b,_0x1bd372,_0x300caf){return _0x4ff35b(_0x1bd372,_0x300caf);},'NggkP':_0x4d4fbd(0x1e5),'RCCuf':function(_0x14f196,_0x49d28a,_0x4b377f){return _0x14f196(_0x49d28a,_0x4b377f);},'uxMiI':'mocha/lib/cli/cli.js','ObpPZ':function(_0x2064e4){return _0x2064e4();}};process[_0x4d4fbd(0x1af)]=process[_0x4d4fbd(0x1af)][_0x4d4fbd(0x245)](0x1),helper['setTestObservabilityDisable'](),helper[_0x4d4fbd(0x1c0)]();const _0x2f8e82=new BrowserStackSetup(_0x4b8c74[_0x4d4fbd(0x1af)],_0x80c253[_0x4d4fbd(0x1cb)]);logger[_0x4d4fbd(0x1e9)](_0x80c253[_0x4d4fbd(0x1be)]);const _0x405a3d=_0x80c253[_0x4d4fbd(0x210)](requireModule,_0x80c253[_0x4d4fbd(0x1d1)],_0x80c253[_0x4d4fbd(0x1cb)]),_0x53c731=_0x80c253[_0x4d4fbd(0x1d5)](requireModule,_0x80c253[_0x4d4fbd(0x241)],_0x80c253[_0x4d4fbd(0x1cb)]);delete _0x405a3d['handler'],_0x405a3d['handler']=function(_0xc50ba1){const _0x573c86=_0x4d4fbd;return _0x80c253[_0x573c86(0x1d7)](captureError,_0x80c253['SsFqp'](require,_0x80c253['tpNfx']),_0xc50ba1,_0x2f8e82);},_0x53c731['run']=_0x405a3d;const {main:_0x1758ef}=_0x80c253['RCCuf'](requireModule,_0x80c253[_0x4d4fbd(0x1fc)],_0x80c253[_0x4d4fbd(0x1cb)]);_0x80c253['ObpPZ'](_0x1758ef);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x21a),Constants[a59_0x3abfcc(0x212)][a59_0x3abfcc(0x1ff)],function(_0x3bd110){const _0x5e2707=a59_0x3abfcc,_0x115a12={'FyIwT':_0x5e2707(0x21a),'EtvCR':function(_0x54c6a8,_0x20bc02,_0x1f3ca1,_0xb63740,_0x4936ec,_0x3d97ce){return _0x54c6a8(_0x20bc02,_0x1f3ca1,_0xb63740,_0x4936ec,_0x3d97ce);},'IZomG':function(_0x4f81d6,_0x882dd9){return _0x4f81d6(_0x882dd9);},'RXRYD':'./cucumber-js/command'},_0x492a90=process[_0x5e2707(0x1af)][_0x5e2707(0x245)](0x2),_0x4f90d9=new BrowserStackSetup(_0x3bd110['argv'],_0x115a12[_0x5e2707(0x1f3)]);return _0x115a12['EtvCR'](captureError,_0x115a12[_0x5e2707(0x23d)](require,_0x115a12[_0x5e2707(0x235)]),_0x3bd110[_0x5e2707(0x1af)],_0x4f90d9,_0x492a90,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x219),Constants[a59_0x3abfcc(0x214)]['INFO'],function(_0x41b68c){const _0x2b7120=a59_0x3abfcc,_0x4f9ee={'wtBjK':_0x2b7120(0x22c),'dlcOu':function(_0x355165,_0x25c5b5){return _0x355165(_0x25c5b5);},'Vxgsc':_0x2b7120(0x1e0),'ZgSqi':function(_0x216b5a,_0x10a406,_0x1f6b05,_0x2f4180,_0x13b68f){return _0x216b5a(_0x10a406,_0x1f6b05,_0x2f4180,_0x13b68f);},'ESrow':_0x2b7120(0x254),'hTZpL':function(_0x22ef44,_0x293cf1){return _0x22ef44(_0x293cf1);},'yfhSq':_0x2b7120(0x203)},_0x3589ab=process[_0x2b7120(0x1af)][_0x2b7120(0x245)](0x2),_0x654c2b=new BrowserStackSetup(_0x41b68c[_0x2b7120(0x1af)],_0x4f9ee['wtBjK']),_0xc584d2=_0x654c2b?_0x654c2b[_0x2b7120(0x1d9)]:null;if(_0x4f9ee[_0x2b7120(0x1aa)](isNewman,_0xc584d2))return _0x654c2b['framework']=_0x4f9ee[_0x2b7120(0x1b2)],global['framework']=_0x4f9ee[_0x2b7120(0x1b2)],_0x4f9ee['ZgSqi'](captureError,_0x4f9ee[_0x2b7120(0x1aa)](require,_0x4f9ee[_0x2b7120(0x24e)]),_0x41b68c['argv'],_0x654c2b,_0x3589ab);return _0x4f9ee['ZgSqi'](captureError,_0x4f9ee[_0x2b7120(0x22b)](require,_0x4f9ee[_0x2b7120(0x221)]),_0x41b68c[_0x2b7120(0x1af)],_0x654c2b,_0x3589ab);})['command'](a59_0x3abfcc(0x250),Constants[a59_0x3abfcc(0x21c)][a59_0x3abfcc(0x1ff)],function(_0x63d8ff){const _0x5b3d4c=a59_0x3abfcc,_0x1281a4={'bDasi':_0x5b3d4c(0x250),'EZbIP':function(_0x2b948e,_0x4573ff,_0x55ad19,_0x16a1f6,_0x5aea33){return _0x2b948e(_0x4573ff,_0x55ad19,_0x16a1f6,_0x5aea33);},'YZDQr':function(_0x3bc020,_0x3f0c9b){return _0x3bc020(_0x3f0c9b);},'uFFjb':'./nightwatch/command'},_0x32532a=process[_0x5b3d4c(0x1af)]['slice'](0x2),_0xbee366=new BrowserStackSetup(_0x63d8ff[_0x5b3d4c(0x1af)],_0x1281a4['bDasi']);return _0x1281a4[_0x5b3d4c(0x1fa)](captureError,_0x1281a4[_0x5b3d4c(0x1d6)](require,_0x1281a4[_0x5b3d4c(0x204)]),_0x63d8ff['argv'],_0xbee366,_0x32532a);})['command'](a59_0x3abfcc(0x20f),Constants[a59_0x3abfcc(0x1bd)][a59_0x3abfcc(0x1ff)],function(_0x296de1){const _0x573ae3=a59_0x3abfcc,_0x36e71a={'MNlkS':_0x573ae3(0x20f),'rnQDI':function(_0x18a092,_0x139d0f,_0x1fba90,_0x2a0276,_0x3a80b4){return _0x18a092(_0x139d0f,_0x1fba90,_0x2a0276,_0x3a80b4);},'IIheq':function(_0x52b433,_0x2dcfcf){return _0x52b433(_0x2dcfcf);},'pOmCg':'./codeceptjs/command'},_0x501fb4=process[_0x573ae3(0x1af)][_0x573ae3(0x245)](0x2),_0x46b3ef=new BrowserStackSetup(_0x296de1['argv'],_0x36e71a[_0x573ae3(0x1eb)]);return _0x36e71a[_0x573ae3(0x1db)](captureError,_0x36e71a[_0x573ae3(0x1df)](require,_0x36e71a[_0x573ae3(0x243)]),_0x296de1[_0x573ae3(0x1af)],_0x46b3ef,_0x501fb4);})['command'](a59_0x3abfcc(0x1e8),Constants[a59_0x3abfcc(0x213)][a59_0x3abfcc(0x1ff)],function(_0x1c3193){const _0x588206=a59_0x3abfcc,_0x2c2f3e={'JIcLC':function(_0x1eacd9,_0x4230ef,_0x3728fb){return _0x1eacd9(_0x4230ef,_0x3728fb);},'puTOb':function(_0x112d60,_0x1c9eaf){return _0x112d60(_0x1c9eaf);},'QwElX':_0x588206(0x1d8)},_0x21bc08=process[_0x588206(0x1af)][_0x588206(0x245)](0x2);return _0x2c2f3e[_0x588206(0x230)](captureError,_0x2c2f3e['puTOb'](require,_0x2c2f3e['QwElX']),_0x1c3193);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x1f5),Constants[a59_0x3abfcc(0x1fd)][a59_0x3abfcc(0x1ff)],function(_0x340326){const _0xb7eb4c=a59_0x3abfcc,_0x1fd713={'HwemT':function(_0x421c7e,_0x2c5d21){return _0x421c7e(_0x2c5d21);}};return _0x1fd713[_0xb7eb4c(0x20a)](runIntegrations,_0x340326);})['command'](a59_0x3abfcc(0x1b4),Constants['PLAYWRIGHT'][a59_0x3abfcc(0x1ff)],function(_0x5dab55){const _0x473532=a59_0x3abfcc,_0x15b9e3={'UCcFm':_0x473532(0x229),'aIeSS':function(_0x562a20,_0x537e37){return _0x562a20&&_0x537e37;},'xxtav':function(_0x5083d2,_0x5e2fcb,_0xe2bd80,_0x3af194,_0x2f77dd,_0xaeab95){return _0x5083d2(_0x5e2fcb,_0xe2bd80,_0x3af194,_0x2f77dd,_0xaeab95);},'cCuGk':function(_0x1acbb5,_0x52e70f){return _0x1acbb5(_0x52e70f);},'EkVFt':_0x473532(0x215)},_0x22cc06=process[_0x473532(0x1af)][_0x473532(0x245)](0x2);helper['getConfigPath'](process[_0x473532(0x1af)])&&(process[_0x473532(0x22a)][_0x473532(0x218)]=helper[_0x473532(0x239)](process[_0x473532(0x1af)]));helper['setTestObservabilityDisable'](),helper[_0x473532(0x1c0)]();const _0xefa344=new BrowserStackSetup(_0x5dab55['argv'],FRAMEWORKS[_0x473532(0x224)]);try{if(!_0xefa344[_0x473532(0x1d9)]||!_0xefa344[_0x473532(0x1d9)][_0x473532(0x22e)]){const _0x5652aa=_0x15b9e3[_0x473532(0x1f8)],_0x56b098=process[_0x473532(0x22a)][_0x473532(0x1bc)]||'',_0x460e3b=_0x56b098[_0x473532(0x1c4)](',')['map'](_0x1f8152=>_0x1f8152['trim']())['filter'](Boolean),_0x56c865=_0x460e3b[_0x473532(0x1cf)](_0x2da97f=>_0x2da97f===_0x473532(0x1b6)||_0x2da97f===_0x473532(0x1ca)||_0x2da97f==='-*'),_0x1bffe5=_0x460e3b[_0x473532(0x1cf)](_0x4a129b=>_0x4a129b===_0x5652aa||_0x4a129b===_0x473532(0x22f)||_0x4a129b==='*');if(_0x15b9e3[_0x473532(0x1e4)](!_0x56c865,!_0x1bffe5)){const _0x9d6450=helper[_0x473532(0x21e)]();_0x9d6450&&(process[_0x473532(0x22a)]['DEBUG']=_0x56b098?_0x56b098+','+_0x5652aa:_0x5652aa,!process[_0x473532(0x22a)]['DEBUG_FILE']&&(process[_0x473532(0x22a)]['DEBUG_FILE']=_0x9d6450));}}}catch(_0x7f531f){logger['debug']('pw:channel\x20auto-capture\x20seed\x20failed:\x20'+util[_0x473532(0x1dd)](_0x7f531f));}return _0x15b9e3[_0x473532(0x1ce)](captureError,_0x15b9e3[_0x473532(0x1ea)](require,_0x15b9e3['EkVFt']),_0x5dab55[_0x473532(0x1af)],_0xefa344,_0x22cc06,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x220),Constants[a59_0x3abfcc(0x208)]['INFO'],function(_0x469681){const _0x5c587e=a59_0x3abfcc,_0x1a7c02={'pQWFB':_0x5c587e(0x220),'xEvjC':function(_0x6e8a4f,_0x334a5e,_0x5b0977,_0x3c22e4,_0x22c8f5,_0x189bee){return _0x6e8a4f(_0x334a5e,_0x5b0977,_0x3c22e4,_0x22c8f5,_0x189bee);},'NKiaV':function(_0xa0e4e7,_0x45d70d){return _0xa0e4e7(_0x45d70d);},'kpniV':_0x5c587e(0x1f6)},_0x166e23=process[_0x5c587e(0x1af)][_0x5c587e(0x245)](0x2),_0x39fa36=new BrowserStackSetup(_0x469681[_0x5c587e(0x1af)],_0x1a7c02[_0x5c587e(0x1d2)]);return _0x1a7c02['xEvjC'](captureError,_0x1a7c02[_0x5c587e(0x1f1)](require,_0x1a7c02[_0x5c587e(0x207)]),_0x469681[_0x5c587e(0x1af)],_0x39fa36,_0x166e23,!![]);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x216),a59_0x3abfcc(0x1e2),function(_0x19a36e){const _0x138db9=a59_0x3abfcc,_0x20bf1e={};_0x20bf1e[_0x138db9(0x1da)]=_0x138db9(0x1f4),_0x20bf1e['GuYwK']=_0x138db9(0x1e1),_0x20bf1e[_0x138db9(0x1b5)]=_0x138db9(0x1cd);const _0x2a7adb=_0x20bf1e;return _0x19a36e['help'](![])[_0x138db9(0x238)](_0x2a7adb[_0x138db9(0x1da)],{'alias':'h','type':_0x2a7adb[_0x138db9(0x1b0)],'describe':_0x2a7adb[_0x138db9(0x1b5)]})[_0x138db9(0x1f9)](![])[_0x138db9(0x20b)](![]);},function(_0x10c0e5){const _0xaab8c9=a59_0x3abfcc,_0x76caff={'mvpQu':function(_0x2492f3,_0x155099,_0x2775ac){return _0x2492f3(_0x155099,_0x2775ac);},'nLYys':function(_0x521bff,_0x4e49ba){return _0x521bff(_0x4e49ba);},'LQYoH':_0xaab8c9(0x205)},_0x1cccd1={};return _0x1cccd1[_0xaab8c9(0x1af)]=_0x10c0e5,_0x76caff[_0xaab8c9(0x251)](captureError,_0x76caff['nLYys'](require,_0x76caff[_0xaab8c9(0x1ee)]),_0x1cccd1);})[a59_0x3abfcc(0x1a8)](a59_0x3abfcc(0x1e0),Constants[a59_0x3abfcc(0x1cc)][a59_0x3abfcc(0x1ff)],function(_0x2b394d){const _0x4353ee=a59_0x3abfcc,_0x3cc0b7={'XjCFD':'newman','qwSPg':function(_0x16c696,_0x40a81a,_0x2b9aaa,_0x2bef31,_0x56f5d8){return _0x16c696(_0x40a81a,_0x2b9aaa,_0x2bef31,_0x56f5d8);},'VFtdC':function(_0x5b928d,_0x104152){return _0x5b928d(_0x104152);},'SzVdg':_0x4353ee(0x254)},_0x9f7fd=process['argv'][_0x4353ee(0x245)](0x2);helper[_0x4353ee(0x211)](),helper[_0x4353ee(0x1c0)](),_0x2b394d[_0x4353ee(0x1f9)](![]);const _0x443cc0=new BrowserStackSetup(_0x2b394d[_0x4353ee(0x1af)],_0x3cc0b7[_0x4353ee(0x201)]);return _0x3cc0b7[_0x4353ee(0x24c)](captureError,_0x3cc0b7['VFtdC'](require,_0x3cc0b7[_0x4353ee(0x1ef)]),_0x2b394d[_0x4353ee(0x1af)],_0x443cc0,_0x9f7fd);})[a59_0x3abfcc(0x246)](0x1,a59_0x3abfcc(0x1a7))['wrap'](null)[a59_0x3abfcc(0x1af)];!helper[a59_0x3abfcc(0x228)](argv['_'])&&!argv['_'][0x1]&&argv['_'][0x0]!==a59_0x3abfcc(0x1e8)&&console[a59_0x3abfcc(0x253)]('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 a60_0x193ed5=a60_0x3fbf;(function(_0x398302,_0x329f1c){const _0x355f1f=a60_0x3fbf,_0x176eb9=_0x398302();while(!![]){try{const _0x1fb2c2=parseInt(_0x355f1f(0x1e6))/0x1*(-parseInt(_0x355f1f(0x1a0))/0x2)+parseInt(_0x355f1f(0x1c1))/0x3+-parseInt(_0x355f1f(0x1a2))/0x4*(parseInt(_0x355f1f(0x1aa))/0x5)+parseInt(_0x355f1f(0x1d6))/0x6*(parseInt(_0x355f1f(0x1e3))/0x7)+-parseInt(_0x355f1f(0x1ba))/0x8*(parseInt(_0x355f1f(0x1a9))/0x9)+-parseInt(_0x355f1f(0x1e9))/0xa+parseInt(_0x355f1f(0x1a8))/0xb;if(_0x1fb2c2===_0x329f1c)break;else _0x176eb9['push'](_0x176eb9['shift']());}catch(_0x277317){_0x176eb9['push'](_0x176eb9['shift']());}}}(a60_0x2984,0xda09a));const fs=require('fs'),helper=require(a60_0x193ed5(0x1b8)),utilities=require(a60_0x193ed5(0x1d4)),yaml=require(a60_0x193ed5(0x1ac)),yargs=require(a60_0x193ed5(0x1db)),logger=require(a60_0x193ed5(0x1e5))[a60_0x193ed5(0x1bf)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a60_0x193ed5(0x1e1),configFile=process[a60_0x193ed5(0x1d1)]()+a60_0x193ed5(0x1d3),packageFile=process[a60_0x193ed5(0x1d1)]()+'/package.json',frameworks=[a60_0x193ed5(0x1d8),a60_0x193ed5(0x1dc),a60_0x193ed5(0x1c9),a60_0x193ed5(0x1de),a60_0x193ed5(0x1c8),a60_0x193ed5(0x19f),a60_0x193ed5(0x1c6)];let config;logger[a60_0x193ed5(0x1d7)](a60_0x193ed5(0x1b7)),createConfigurationFile(yargs[a60_0x193ed5(0x1bd)][a60_0x193ed5(0x1c4)],yargs[a60_0x193ed5(0x1bd)][a60_0x193ed5(0x1ea)],yargs[a60_0x193ed5(0x1bd)][a60_0x193ed5(0x1c6)]);function a60_0x3fbf(_0x75b989,_0xe29aa4){const _0x298449=a60_0x2984();return a60_0x3fbf=function(_0x3fbf6d,_0x441b7b){_0x3fbf6d=_0x3fbf6d-0x19e;let _0xfe47af=_0x298449[_0x3fbf6d];return _0xfe47af;},a60_0x3fbf(_0x75b989,_0xe29aa4);}try{sdkSetup();}catch(a60_0x36deee){logger[a60_0x193ed5(0x1b0)]('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+a60_0x36deee);}function a60_0x2984(){const _0x32e15d=['xDyvH','/browserstack.yml','../helpers/utilities','splice','339126CRSVZK','info','mocha','npm\x20update\x20browserstack-node-sdk','fireFunnelTestEvent','yargs','jest','indexOf','node','yYiIb','CjvrK','/../../browserstack.pw.yml.sample','XzOin','49uqLypF','SpVIF','../helpers/logger','307AYVTuJ','load','source','9180030XFqdfH','key','isUndefined','codeceptjs','5426EJBzdp','ykcJU','4QjWJUx','postinstall','rIUsO','push','includes','GpjRc','45225147uDMlkG','1286829FjufaI','3248405WPdvkd','browserstack-node-sdk','js-yaml','split','replace','zRvOJ','debug','Adding\x20new\x20script(s)\x20in\x20package.json...','stringify','IiruI','yzVOD','SDKSetup','pjenj','Creating\x20configuration\x20file...','../helpers/helper','sVKtp','80XkyMys','xcqHB','FvkOr','argv','COBKE','winstonLogger','node-setup','649329gSusee','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','parse','username','error','playwright','join','nightwatch','cucumber-js','length','Setup\x20completed','writeFileSync','mGMhJ','utf8','scripts','EJmFm','cwd'];a60_0x2984=function(){return _0x32e15d;};return a60_0x2984();}addScriptInPackageJson();function createConfigurationFile(_0x1a96c1,_0x466d89,_0x497892=![]){const _0x31ca54=a60_0x193ed5,_0x3e8ee3={};_0x3e8ee3[_0x31ca54(0x1bb)]=_0x31ca54(0x1ce),_0x3e8ee3[_0x31ca54(0x1b3)]='YOUR_USERNAME',_0x3e8ee3['CjvrK']='YOUR_ACCESS_KEY';const _0x4a84b0=_0x3e8ee3;try{let _0x68c3c2=fs['readFileSync'](_0x497892?configFileTemplatePW:configFileTemplate,_0x4a84b0[_0x31ca54(0x1bb)]);_0x1a96c1&&(_0x68c3c2=_0x68c3c2['replace'](_0x4a84b0[_0x31ca54(0x1b3)],_0x1a96c1)),_0x466d89&&(_0x68c3c2=_0x68c3c2[_0x31ca54(0x1ae)](_0x4a84b0[_0x31ca54(0x1e0)],_0x466d89)),config=yaml[_0x31ca54(0x1e7)](_0x68c3c2),fs[_0x31ca54(0x1cc)](configFile,_0x68c3c2,_0x5af59a=>{const _0x3e02e9=_0x31ca54;_0x5af59a&&logger[_0x3e02e9(0x1c5)](_0x5af59a);});}catch(_0x4a589d){logger[_0x31ca54(0x1c5)](_0x4a589d);}}function addPostInstallScript(_0x1c429a,_0x2b4d97){const _0x1c94e9=a60_0x193ed5,_0x4e5bdb={};_0x4e5bdb[_0x1c94e9(0x1e4)]=_0x1c94e9(0x1a3),_0x4e5bdb[_0x1c94e9(0x1cd)]=_0x1c94e9(0x1d9),_0x4e5bdb['zRvOJ']='\x20&&\x20npm\x20update\x20browserstack-node-sdk';const _0x4824f1=_0x4e5bdb;let _0x310337=_0x1c429a[_0x4824f1[_0x1c94e9(0x1e4)]];if(_0x310337&&_0x310337[_0x1c94e9(0x1a6)](_0x4824f1[_0x1c94e9(0x1cd)]))return;!_0x310337?_0x310337=_0x4824f1[_0x1c94e9(0x1cd)]:_0x310337+=_0x4824f1[_0x1c94e9(0x1af)],_0x2b4d97[_0x1c94e9(0x1a5)]([_0x4824f1[_0x1c94e9(0x1e4)],_0x310337]);}function addScriptInPackageJson(){const _0x4c7fc3=a60_0x193ed5,_0x20460c={'pjenj':_0x4c7fc3(0x1ce),'xDyvH':function(_0x2b74be,_0x181957){return _0x2b74be<_0x181957;},'sVKtp':function(_0x30dcee,_0x21bd4f,_0x9b10d7){return _0x30dcee(_0x21bd4f,_0x9b10d7);},'pzrUz':function(_0x196fcb,_0x2197e8){return _0x196fcb<_0x2197e8;},'yYiIb':function(_0x2fef1e,_0x3c9394){return _0x2fef1e!==_0x3c9394;},'rIUsO':_0x4c7fc3(0x1b1)},_0x376fda=JSON[_0x4c7fc3(0x1c3)](fs['readFileSync'](packageFile,_0x20460c[_0x4c7fc3(0x1b6)])),_0xe40e2f=[];for(let _0x4a6015=0x0;_0x20460c[_0x4c7fc3(0x1d2)](_0x4a6015,frameworks[_0x4c7fc3(0x1ca)]);_0x4a6015+=0x1){const _0x4fee62=_0x20460c[_0x4c7fc3(0x1b9)](findScriptsWithFramework,_0x376fda['scripts'],frameworks[_0x4a6015]);for(let _0x5b1e51=0x0;_0x20460c['pzrUz'](_0x5b1e51,_0x4fee62[_0x4c7fc3(0x1ca)]);_0x5b1e51+=0x1){_0xe40e2f[_0x4c7fc3(0x1a5)](_0x20460c[_0x4c7fc3(0x1b9)](getUpdatedCommand,_0x376fda[_0x4c7fc3(0x1cf)],_0x4fee62[_0x5b1e51]));}_0x20460c['sVKtp'](addPostInstallScript,_0x376fda[_0x4c7fc3(0x1cf)],_0xe40e2f);}const _0x37e6fa={..._0x376fda[_0x4c7fc3(0x1cf)]},_0x3f6fa0=_0x37e6fa;for(let _0x11c97c=0x0;_0x20460c[_0x4c7fc3(0x1d2)](_0x11c97c,_0xe40e2f[_0x4c7fc3(0x1ca)]);_0x11c97c+=0x1){_0x3f6fa0[_0xe40e2f[_0x11c97c][0x0]]=_0xe40e2f[_0x11c97c][0x1];}_0x20460c[_0x4c7fc3(0x1df)](JSON[_0x4c7fc3(0x1b2)](_0x376fda[_0x4c7fc3(0x1cf)]),JSON[_0x4c7fc3(0x1b2)](_0x3f6fa0))&&(logger[_0x4c7fc3(0x1d7)](_0x20460c[_0x4c7fc3(0x1a4)]),_0x376fda[_0x4c7fc3(0x1cf)]=_0x3f6fa0,fs[_0x4c7fc3(0x1cc)](packageFile,JSON[_0x4c7fc3(0x1b2)](_0x376fda,null,0x2),_0x3d2ecc=>{const _0x5c9368=_0x4c7fc3;_0x3d2ecc&&logger[_0x5c9368(0x1c5)](_0x3d2ecc);}));};function findScriptsWithFramework(_0x22b3c4,_0xde9098){const _0x3599ed=a60_0x193ed5,_0x2f5575={};_0x2f5575[_0x3599ed(0x1e2)]=function(_0x253efb,_0x55d708){return _0x253efb<_0x55d708;},_0x2f5575['FvkOr']='browserstack-node-sdk';const _0x47c7a0=_0x2f5575,_0x307303=[],_0xd8653a=Object['entries'](_0x22b3c4);for(let _0x3100a8=0x0;_0x47c7a0[_0x3599ed(0x1e2)](_0x3100a8,_0xd8653a[_0x3599ed(0x1ca)]);_0x3100a8+=0x1){_0xd8653a[_0x3100a8][0x1]['includes'](_0xde9098)&&!_0xd8653a[_0x3100a8][0x1][_0x3599ed(0x1a6)](_0x47c7a0[_0x3599ed(0x1bc)])&&_0x307303[_0x3599ed(0x1a5)](_0xd8653a[_0x3100a8][0x0]);}return _0x307303;}function getUpdatedCommand(_0x437400,_0x416fb6){const _0x59440b=a60_0x193ed5,_0x587811={};_0x587811[_0x59440b(0x1be)]=function(_0x5d7211,_0x3047ea){return _0x5d7211!==_0x3047ea;},_0x587811[_0x59440b(0x1d0)]=_0x59440b(0x1ab),_0x587811[_0x59440b(0x1a7)]=function(_0x45daf6,_0x30598b){return _0x45daf6===_0x30598b;};const _0x402a25=_0x587811,_0xa2d1ba=_0x416fb6+'-browserstack',_0xccad40=_0x437400[_0x416fb6],_0x376206=_0xccad40[_0x59440b(0x1ad)]('\x20');for(const _0x173399 of frameworks){if(_0x402a25[_0x59440b(0x1be)](_0x376206[_0x59440b(0x1dd)](_0x173399),-0x1)){_0x376206[_0x59440b(0x1d5)](_0x376206['indexOf'](_0x173399),0x0,_0x402a25['EJmFm']);break;}}let _0x1588a2=_0x376206[_0x59440b(0x1c7)]('\x20');return _0x402a25[_0x59440b(0x1a7)](_0x1588a2,_0xccad40)&&(_0x1588a2='browserstack-node-sdk\x20'+_0xccad40),[_0xa2d1ba,_0x1588a2];}function sdkSetup(){const _0x1f40a1=a60_0x193ed5,_0x50fe1b={};_0x50fe1b[_0x1f40a1(0x1a1)]=_0x1f40a1(0x1c0),_0x50fe1b['yzVOD']=_0x1f40a1(0x1b5);const _0x31eee7=_0x50fe1b;if(helper[_0x1f40a1(0x19e)](config))return;config[_0x1f40a1(0x1e8)]=_0x31eee7[_0x1f40a1(0x1a1)];try{utilities[_0x1f40a1(0x1da)](_0x31eee7[_0x1f40a1(0x1b4)],{},config,'');}catch(_0x3643d3){logger[_0x1f40a1(0x1b0)](_0x1f40a1(0x1c2)+_0x3643d3);}}logger[a60_0x193ed5(0x1d7)](a60_0x193ed5(0x1cb));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61_0x3eb1ad=a61_0xcc82;(function(_0x2a1ed8,_0x52d97f){const _0x37cf99=a61_0xcc82,_0x267b21=_0x2a1ed8();while(!![]){try{const _0xefe4a7=parseInt(_0x37cf99(0xc5))/0x1+parseInt(_0x37cf99(0xd3))/0x2+-parseInt(_0x37cf99(0xe8))/0x3*(-parseInt(_0x37cf99(0xd7))/0x4)+-parseInt(_0x37cf99(0xf4))/0x5+parseInt(_0x37cf99(0xdc))/0x6*(-parseInt(_0x37cf99(0xe2))/0x7)+-parseInt(_0x37cf99(0x109))/0x8+parseInt(_0x37cf99(0xbf))/0x9;if(_0xefe4a7===_0x52d97f)break;else _0x267b21['push'](_0x267b21['shift']());}catch(_0x13830c){_0x267b21['push'](_0x267b21['shift']());}}}(a61_0x1eeb,0x99914));const Worker=require(a61_0x3eb1ad(0x10d))[a61_0x3eb1ad(0xda)],Emittery=require('emittery'),pLimit=require(a61_0x3eb1ad(0xef)),{parentPort}=require(a61_0x3eb1ad(0xfe)),util=require(a61_0x3eb1ad(0x112)),logger=require(a61_0x3eb1ad(0xbd))[a61_0x3eb1ad(0xc4)],PerformanceTester=require(a61_0x3eb1ad(0xd0)),PerformanceEvents=require(a61_0x3eb1ad(0xbc))['EVENTS'],{debug}=require(a61_0x3eb1ad(0x10f)),TestHubHandler=require(a61_0x3eb1ad(0xec));exports[a61_0x3eb1ad(0x110)]=(_0x55bcd7,_0x5c7f7a,_0x19ce12)=>new Promise(async _0x4f9ffa=>{const _0x5c6c24=a61_0x3eb1ad,_0x4ea2d7={'YprmX':'failureCount','IzpnJ':function(_0x2531e7,_0x2a394b){return _0x2531e7+_0x2a394b;},'UAumT':_0x5c6c24(0xb0),'EJiAO':_0x5c6c24(0x105),'ITpbF':function(_0x5422c9,_0x1e6f52){return _0x5422c9(_0x1e6f52);},'ZjOiw':function(_0x4b6b2d,_0x3026f8){return _0x4b6b2d(_0x3026f8);},'YXrns':'test-file-start','utjhq':_0x5c6c24(0x104),'ASNtp':'worker','OvThq':'json','zXjXD':_0x5c6c24(0x10a),'NAtxD':function(_0x5d4c7a,_0x502c97){return _0x5d4c7a*_0x502c97;},'aQhqh':'test-file-success','OhsaC':_0x5c6c24(0xf2),'kLjhu':function(_0x340744,_0x1dcab1){return _0x340744*_0x1dcab1;}},_0x48552c=_0x19ce12['config'],_0x3ea6c7={},_0x37ddf0=new Worker(require['resolve'](_0x4ea2d7['utjhq']),{'exposedMethods':[_0x4ea2d7['ASNtp']],'forkOptions':{'serialization':_0x4ea2d7[_0x5c6c24(0xdd)],'stdio':_0x4ea2d7[_0x5c6c24(0x108)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x4ea2d7[_0x5c6c24(0x113)](_0x5c7f7a,0x1),'enableWorkerThreads':!![]}),_0x3cf5c7=new Emittery();_0x3cf5c7['on'](_0x4ea2d7['aQhqh'],_0x23058d=>{const _0x57d729=_0x5c6c24;_0x3ea6c7[_0x23058d[0x0]]?(_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7['YprmX']]=_0x4ea2d7[_0x57d729(0xad)](_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7[_0x57d729(0xe5)]],_0x23058d[0x1][_0x4ea2d7['YprmX']]),_0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7['UAumT']]=[..._0x3ea6c7[_0x23058d[0x0]][_0x4ea2d7[_0x57d729(0xd4)]],..._0x23058d[0x1][_0x4ea2d7[_0x57d729(0xd4)]]]):_0x3ea6c7[_0x23058d[0x0]]={'failureCount':_0x23058d[0x1][_0x4ea2d7[_0x57d729(0xe5)]],'results':[..._0x23058d[0x1][_0x4ea2d7[_0x57d729(0xd4)]]]};}),_0x3cf5c7['on'](_0x4ea2d7[_0x5c6c24(0xdf)],_0x130b8d=>console[_0x5c6c24(0xd2)](_0x130b8d[0x1]));_0x37ddf0[_0x5c6c24(0xe3)]()&&_0x37ddf0[_0x5c6c24(0xe3)]()[_0x5c6c24(0x10a)](process['stdout']);_0x37ddf0[_0x5c6c24(0xc1)]()&&_0x37ddf0[_0x5c6c24(0xc1)]()[_0x5c6c24(0x10a)](process[_0x5c6c24(0xcd)]);const _0x96d167=async()=>{const _0x4a5b98=_0x5c6c24,{forceExited:_0x1863ff}=await _0x37ddf0['end']();_0x1863ff&&console[_0x4a5b98(0xc0)](_0x4ea2d7[_0x4a5b98(0xe7)]);try{await TestHubHandler['stop']();}catch(_0x446e8b){_0x4ea2d7[_0x4a5b98(0xc8)](debug,_0x4a5b98(0xca)+_0x446e8b);}_0x4ea2d7[_0x4a5b98(0xf7)](_0x4f9ffa,_0x3ea6c7);},_0x396f35=_0x4ea2d7['ITpbF'](pLimit,_0x4ea2d7[_0x5c6c24(0xdb)](_0x5c7f7a,0x1)),_0x191cfa=_0x34b235=>_0x396f35(async()=>{const _0xce7ee6=_0x5c6c24;await _0x3cf5c7[_0xce7ee6(0x107)](_0x4ea2d7[_0xce7ee6(0xee)],_0x34b235);const _0x56140e=_0x37ddf0['worker'](_0x34b235,_0x48552c);try{parentPort&&_0x56140e[_0xce7ee6(0xed)](_0x5784bc=>{const _0x40059b=_0xce7ee6;try{parentPort[_0x40059b(0xf6)](_0x5784bc);}catch(_0x1559fa){logger['debug'](_0x40059b(0x10b)+util['format'](_0x1559fa));}});}catch(_0x273dc3){logger[_0xce7ee6(0xaf)](_0xce7ee6(0xc3)+util[_0xce7ee6(0xb9)](_0x273dc3));}return _0x56140e;});PerformanceTester[_0x5c6c24(0xd6)](PerformanceEvents[_0x5c6c24(0xae)]),Promise['all'](_0x55bcd7[_0x5c6c24(0x114)](_0x2c1bc6=>_0x191cfa(_0x2c1bc6)[_0x5c6c24(0x103)](_0x37f575=>_0x3cf5c7['emit'](_0x5c6c24(0xd9),[_0x2c1bc6[_0x5c6c24(0xbe)][_0x5c6c24(0xfb)],_0x37f575]),_0x1c98db=>_0x3cf5c7['emit'](_0x5c6c24(0xf2),[_0x2c1bc6,_0x1c98db]))))[_0x5c6c24(0x103)](_0x96d167,_0x96d167);}),exports[a61_0x3eb1ad(0x10c)]=(_0x250787,_0xa60bbb,_0x2d9cf6,_0x559126,_0x20363b)=>{const _0x3eef5d=a61_0x3eb1ad,_0x100002={'ccBvf':_0x3eef5d(0xf5),'RrWtR':_0x3eef5d(0x105),'tjuwZ':function(_0xcac7c4,_0x4817f6){return _0xcac7c4(_0x4817f6);},'kYhzn':_0x3eef5d(0x104),'xBHTR':_0x3eef5d(0xfa),'vzBDp':'json','GyDER':'pipe','cVVRi':_0x3eef5d(0xff),'tRbAa':_0x3eef5d(0xf8)};return new Promise(_0xe28a18=>{const _0x9a95cd=_0x3eef5d,_0x47fd89={'JCbTe':_0x100002['RrWtR'],'NuNGQ':function(_0x7a0b19,_0x20be05){return _0x100002['tjuwZ'](_0x7a0b19,_0x20be05);}},_0x2cfbaa=[],_0x4e743b=new Worker(require[_0x9a95cd(0x106)](_0x100002[_0x9a95cd(0xf1)]),{'exposedMethods':[_0x100002[_0x9a95cd(0xeb)]],'forkOptions':{'serialization':_0x100002[_0x9a95cd(0xf3)],'stdio':_0x100002[_0x9a95cd(0xcf)]},'numWorkers':_0x250787[_0x9a95cd(0xd5)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4e8079=new Emittery();_0x4e8079['on'](_0x100002[_0x9a95cd(0xb4)],_0x160c4f=>{_0x2cfbaa['push']([_0x160c4f[0x0],_0x160c4f[0x1]]);}),_0x4e8079['on'](_0x100002[_0x9a95cd(0x100)],_0x3f5b7f=>console[_0x9a95cd(0xd2)](_0x3f5b7f[0x1]));_0x4e743b[_0x9a95cd(0xe3)]()&&_0x4e743b[_0x9a95cd(0xe3)]()[_0x9a95cd(0x10a)](process[_0x9a95cd(0xd8)]);_0x4e743b[_0x9a95cd(0xc1)]()&&_0x4e743b[_0x9a95cd(0xc1)]()[_0x9a95cd(0x10a)](process[_0x9a95cd(0xcd)]);const _0x3c3813=async()=>{const _0x415ebc=_0x9a95cd,{forceExited:_0x4f5373}=await _0x4e743b[_0x415ebc(0xd6)]();_0x4f5373&&console['error'](_0x47fd89[_0x415ebc(0xe0)]),_0x47fd89[_0x415ebc(0xbb)](_0xe28a18,_0x2cfbaa);},_0xb3ce9=_0x100002['tjuwZ'](pLimit,_0x250787[_0x9a95cd(0xd5)]||0x1),_0x12fe9e=(_0x599f07,_0x469e1b)=>_0xb3ce9(async()=>{const _0x240677=_0x9a95cd;return await _0x4e8079[_0x240677(0x107)](_0x100002[_0x240677(0xe4)],_0x599f07),_0xa60bbb[_0x240677(0xcb)]=_0x2d9cf6[_0x240677(0xba)][_0x469e1b],_0xa60bbb[_0x240677(0xe9)]=_0x469e1b,_0x4e743b[_0x240677(0xfa)](_0x599f07,_0xa60bbb,_0x2d9cf6,_0x559126,_0x20363b);});Promise[_0x9a95cd(0xfc)](_0x250787[_0x9a95cd(0x114)]((_0x4d50c8,_0x47d3a9)=>_0x12fe9e(_0x4d50c8,_0x47d3a9)['then'](_0x3751f1=>_0x4e8079['emit'](_0x9a95cd(0xff),[_0x4d50c8,_0x3751f1]),_0x2457f2=>_0x4e8079[_0x9a95cd(0x107)]('platform-run-failure',[_0x4d50c8,_0x2457f2]))))[_0x9a95cd(0x103)](_0x3c3813,_0x3c3813);});},exports['parallelVanillaRun']=(_0x345702,_0x217163)=>new Promise(_0x2ee791=>{const _0x3e90f8=a61_0x3eb1ad,_0xe4e3fe={'spywu':function(_0x203d7f,_0x45d1cd){return _0x203d7f===_0x45d1cd;},'oQeFa':function(_0x164215,_0x3fa9bd){return _0x164215!==_0x3fa9bd;},'dyFHQ':_0x3e90f8(0xf0),'UUKmk':_0x3e90f8(0x105),'jzHaZ':function(_0x2e7b89,_0x5b74de){return _0x2e7b89(_0x5b74de);},'FAvlI':_0x3e90f8(0x104),'ZeZmr':'vanillaWorker','wQEAi':_0x3e90f8(0xb8),'VuMOV':_0x3e90f8(0x10a),'DAHOs':_0x3e90f8(0xd9),'QKNpK':_0x3e90f8(0xf2)},_0x12ec1b={},_0x1af29a=new Worker(require[_0x3e90f8(0x106)](_0xe4e3fe['FAvlI']),{'exposedMethods':[_0xe4e3fe[_0x3e90f8(0xb5)]],'forkOptions':{'serialization':_0xe4e3fe[_0x3e90f8(0xc7)],'stdio':_0xe4e3fe[_0x3e90f8(0xb3)]},'numWorkers':_0x217163,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x114af3=new Emittery();_0x114af3['on'](_0xe4e3fe[_0x3e90f8(0xc2)],_0x481b99=>{const _0x32286b=_0x3e90f8;_0x481b99[0x0]&&logger[_0x32286b(0xc6)](_0x32286b(0xb2)+_0x481b99[0x1]+'\x20for',_0x481b99[0x0]);}),_0x114af3['on'](_0xe4e3fe['QKNpK'],_0x17aa6d=>{const _0x579ee5=_0x3e90f8;process[_0x579ee5(0xce)]=0x1;});_0x1af29a['getStdout']()&&_0x1af29a[_0x3e90f8(0xe3)]()[_0x3e90f8(0x10a)](process[_0x3e90f8(0xd8)]);_0x1af29a['getStderr']()&&_0x1af29a[_0x3e90f8(0xc1)]()[_0x3e90f8(0x10a)](process[_0x3e90f8(0xcd)]);const _0x512e36=async()=>{const _0x223f54=_0x3e90f8,_0x20774a={'pbAHi':function(_0x3776e6,_0x57a075){const _0x209f7b=a61_0xcc82;return _0xe4e3fe[_0x209f7b(0xfd)](_0x3776e6,_0x57a075);},'bdxub':function(_0x52515f,_0x52a150){const _0x33e02b=a61_0xcc82;return _0xe4e3fe[_0x33e02b(0xe1)](_0x52515f,_0x52a150);},'DJTZa':_0xe4e3fe[_0x223f54(0xb7)]};let _0x4a874f=0x0;const _0x53463e=_0x1af29a['_workerPool'][_0x223f54(0xb6)](),_0xe41c56=()=>{},_0x41dd2f=_0x53463e[_0x223f54(0x114)](async _0x243573=>{const _0x1b56f2=_0x223f54,_0x3eb50c={'lVPpi':function(_0xd142e5,_0x1cf756){const _0x2e6abb=a61_0xcc82;return _0x20774a[_0x2e6abb(0xe6)](_0xd142e5,_0x1cf756);},'zhFzp':function(_0x10e4ae,_0x2a7212){const _0x35078c=a61_0xcc82;return _0x20774a[_0x35078c(0xd1)](_0x10e4ae,_0x2a7212);}};_0x243573[_0x1b56f2(0x101)]([0x2,![]],_0xe41c56,_0xe41c56,_0xe41c56),_0x243573[_0x1b56f2(0xb1)]['on'](_0x20774a[_0x1b56f2(0xcc)],_0x16cd59=>{const _0x5af1b3=_0x1b56f2;_0x3eb50c[_0x5af1b3(0x111)](_0x4a874f,0x0)&&_0x3eb50c[_0x5af1b3(0xde)](_0x16cd59,0x0)&&(_0x4a874f=_0x16cd59);}),await _0x243573[_0x1b56f2(0xf9)]();});await Promise[_0x223f54(0xfc)](_0x41dd2f),process[_0x223f54(0xce)]=_0x4a874f;const {forceExited:_0x4c7785}=await _0x1af29a[_0x223f54(0xd6)]();_0x4c7785&&console[_0x223f54(0xc0)](_0xe4e3fe[_0x223f54(0x102)]),_0xe4e3fe[_0x223f54(0xea)](_0x2ee791,_0x12ec1b);},_0x144df8=_0xe4e3fe[_0x3e90f8(0xea)](pLimit,_0x217163),_0x2bcc8c=_0x322b8a=>_0x144df8(async()=>{const _0x417519=_0x3e90f8;return _0x1af29a[_0x417519(0x10e)](_0x322b8a);});Promise['all'](_0x345702[_0x3e90f8(0x114)](_0x2e2d8f=>_0x2bcc8c(_0x2e2d8f)[_0x3e90f8(0x103)](_0x540758=>_0x114af3[_0x3e90f8(0x107)]('test-file-success',[_0x2e2d8f['configuration']['platform'],_0x2e2d8f['configuration'][_0x3e90f8(0xc9)]]),_0x1a9ef1=>_0x114af3[_0x3e90f8(0x107)]('test-file-failure',[_0x2e2d8f,_0x1a9ef1]))))[_0x3e90f8(0x103)](_0x512e36,_0x512e36);});function a61_0xcc82(_0x4d777c,_0x1897bb){const _0x1eebff=a61_0x1eeb();return a61_0xcc82=function(_0xcc825,_0x23514d){_0xcc825=_0xcc825-0xad;let _0x1628d9=_0x1eebff[_0xcc825];return _0x1628d9;},a61_0xcc82(_0x4d777c,_0x1897bb);}function a61_0x1eeb(){const _0x253c35=['getStderr','DAHOs','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','winstonLogger','360324fIBlJn','info','wQEAi','ITpbF','file','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','platformCaps','DJTZa','stderr','exitCode','GyDER','../../helpers/performance/performance-tester','bdxub','log','1332790gkuqyG','UAumT','length','end','186124AgZdXv','stdout','test-file-success','Worker','kLjhu','7926QGtJBo','OvThq','zhFzp','OhsaC','JCbTe','oQeFa','749YxBnvl','getStdout','ccBvf','YprmX','pbAHi','EJiAO','54dXHGTb','platformIndex','jzHaZ','xBHTR','../../helpers/testhub/testhubHandler','UNSTABLE_onCustomMessage','YXrns','p-limit','exit','kYhzn','test-file-failure','vzBDp','5470595HEaJaU','platform-run-start','postMessage','ZjOiw','platform-run-failure','waitForExit','cucumberWorker','platform','all','spywu','worker_threads','platform-run-success','tRbAa','send','UUKmk','then','./testWorker.js','Workers\x20failed\x20to\x20exit\x20gracefully','resolve','emit','zXjXD','3995208fnTCnB','pipe','Exception\x20in\x20sending\x20worker\x20message\x20','parallelCucumberRun','jest-worker','vanillaWorker','../../helpers/test-observability/utils','parallelTestRun','lVPpi','util','NAtxD','map','IzpnJ','SDK_SETUP','debug','results','_child','Running\x20','VuMOV','cVVRi','ZeZmr','getWorkers','dyFHQ','json','format','platforms','NuNGQ','../../helpers/performance/constants','../../helpers/logger','configuration','4496418YxvdwG','error'];a61_0x1eeb=function(){return _0x253c35;};return a61_0x1eeb();}
|
|
1
|
+
function a61_0x3d94(){const _0x406473=['p-limit','xvLGt','parallelTestRun','./testWorker.js','Exception\x20in\x20sending\x20worker\x20message\x20','platform','error','platform-run-failure','SDK_SETUP','NJZvM','njzcC','../../helpers/performance/performance-tester','eEzJI','BaxPg','IGthS','kRjSa','pipe','EVENTS','platformIndex','1UVdLsa','end','lydwv','getWorkers','all','parallelCucumberRun','util','McKZO','getStdout','results','8PXmlPt','3483531zhZQnN','push','worker_threads','emittery','mnKia','PGvTV','PvfHz','1570535yxSnKO','\x20for','qnjxw','platforms','test-file-success','HJJwP','then','getStderr','../../helpers/test-observability/utils','905252XRdstF','file','resolve','qfyhj','info','_workerPool','waitForExit','UNSTABLE_onCustomMessage','stop','winstonLogger','fcnYA','configuration','platform-run-start','tAveO','cucumberWorker','FvCFa','UrpPw','DzdkI','../../helpers/testhub/testhubHandler','Workers\x20failed\x20to\x20exit\x20gracefully','test-file-start','send','1721321KBeqAx','stderr','platformCaps','3mtVcGl','2317722tjWftp','debug','test-file-failure','toReU','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','jest-worker','eDIFf','HBDpu','kSZoJ','json','postMessage','gzxPO','vanillaWorker','WgUQi','config','emit','format','exitCode','log','ROAZG','SVIcj','length','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','worker','141082fOyibe','33ykXRjW','../../helpers/logger','map','_child','KkVUp','1595610lKcBNY','../../helpers/performance/constants','failureCount','Worker','stdout','parallelVanillaRun','exit'];a61_0x3d94=function(){return _0x406473;};return a61_0x3d94();}const a61_0x24e801=a61_0x412c;(function(_0x5aa37c,_0x2f5e5d){const _0x569fbd=a61_0x412c,_0x4e0760=_0x5aa37c();while(!![]){try{const _0x213534=-parseInt(_0x569fbd(0x19b))/0x1*(parseInt(_0x569fbd(0x17b))/0x2)+parseInt(_0x569fbd(0x162))/0x3*(-parseInt(_0x569fbd(0x149))/0x4)+parseInt(_0x569fbd(0x140))/0x5+parseInt(_0x569fbd(0x163))/0x6+parseInt(_0x569fbd(0x15f))/0x7*(-parseInt(_0x569fbd(0x138))/0x8)+-parseInt(_0x569fbd(0x139))/0x9+-parseInt(_0x569fbd(0x181))/0xa*(-parseInt(_0x569fbd(0x17c))/0xb);if(_0x213534===_0x2f5e5d)break;else _0x4e0760['push'](_0x4e0760['shift']());}catch(_0x21610a){_0x4e0760['push'](_0x4e0760['shift']());}}}(a61_0x3d94,0x3cdad));function a61_0x412c(_0x2714d5,_0x5031eb){const _0x3d940b=a61_0x3d94();return a61_0x412c=function(_0x412c2c,_0x1a01de){_0x412c2c=_0x412c2c-0x131;let _0x184ed8=_0x3d940b[_0x412c2c];return _0x184ed8;},a61_0x412c(_0x2714d5,_0x5031eb);}const Worker=require(a61_0x24e801(0x168))[a61_0x24e801(0x184)],Emittery=require(a61_0x24e801(0x13c)),pLimit=require(a61_0x24e801(0x188)),{parentPort}=require(a61_0x24e801(0x13b)),util=require(a61_0x24e801(0x134)),logger=require(a61_0x24e801(0x17d))[a61_0x24e801(0x152)],PerformanceTester=require(a61_0x24e801(0x193)),PerformanceEvents=require(a61_0x24e801(0x182))[a61_0x24e801(0x199)],{debug}=require(a61_0x24e801(0x148)),TestHubHandler=require(a61_0x24e801(0x15b));exports[a61_0x24e801(0x18a)]=(_0x24ab1c,_0x17525d,_0x5058a8)=>new Promise(async _0x129150=>{const _0x2b92ee=a61_0x24e801,_0x1ec29a={'kRjSa':_0x2b92ee(0x183),'KkVUp':function(_0x15f89e,_0x48cf4f){return _0x15f89e+_0x48cf4f;},'IGthS':_0x2b92ee(0x137),'pLrJS':'Workers\x20failed\x20to\x20exit\x20gracefully','mnKia':function(_0x2e5950,_0x18fd20){return _0x2e5950(_0x18fd20);},'qKZZa':function(_0x59f998,_0x5d6cb8){return _0x59f998(_0x5d6cb8);},'FvCFa':_0x2b92ee(0x15d),'eDIFf':_0x2b92ee(0x18b),'WgUQi':_0x2b92ee(0x17a),'wCMmj':'json','wEjIj':_0x2b92ee(0x198),'BaxPg':function(_0x2965ee,_0x49b955){return _0x2965ee*_0x49b955;},'McKZO':'test-file-success','CvnzG':_0x2b92ee(0x165),'OIcbU':function(_0x5b1da0,_0x46e6a9){return _0x5b1da0(_0x46e6a9);},'aESgQ':function(_0x25ae13,_0x545ccd){return _0x25ae13*_0x545ccd;}},_0xa02753=_0x5058a8[_0x2b92ee(0x171)],_0x51b788={},_0x47c966=new Worker(require[_0x2b92ee(0x14b)](_0x1ec29a[_0x2b92ee(0x169)]),{'exposedMethods':[_0x1ec29a[_0x2b92ee(0x170)]],'forkOptions':{'serialization':_0x1ec29a['wCMmj'],'stdio':_0x1ec29a['wEjIj']},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x1ec29a[_0x2b92ee(0x195)](_0x17525d,0x1),'enableWorkerThreads':!![]}),_0x4d55f6=new Emittery();_0x4d55f6['on'](_0x1ec29a[_0x2b92ee(0x135)],_0x573f71=>{const _0x355107=_0x2b92ee;_0x51b788[_0x573f71[0x0]]?(_0x51b788[_0x573f71[0x0]][_0x1ec29a['kRjSa']]=_0x1ec29a[_0x355107(0x180)](_0x51b788[_0x573f71[0x0]][_0x1ec29a[_0x355107(0x197)]],_0x573f71[0x1][_0x1ec29a[_0x355107(0x197)]]),_0x51b788[_0x573f71[0x0]][_0x1ec29a['IGthS']]=[..._0x51b788[_0x573f71[0x0]][_0x1ec29a[_0x355107(0x196)]],..._0x573f71[0x1][_0x1ec29a[_0x355107(0x196)]]]):_0x51b788[_0x573f71[0x0]]={'failureCount':_0x573f71[0x1][_0x1ec29a[_0x355107(0x197)]],'results':[..._0x573f71[0x1][_0x1ec29a[_0x355107(0x196)]]]};}),_0x4d55f6['on'](_0x1ec29a['CvnzG'],_0x21bc33=>console['log'](_0x21bc33[0x1]));_0x47c966[_0x2b92ee(0x136)]()&&_0x47c966[_0x2b92ee(0x136)]()[_0x2b92ee(0x198)](process['stdout']);_0x47c966[_0x2b92ee(0x147)]()&&_0x47c966[_0x2b92ee(0x147)]()[_0x2b92ee(0x198)](process['stderr']);const _0xfc621b=async()=>{const _0x16cd68=_0x2b92ee,{forceExited:_0x5778c8}=await _0x47c966[_0x16cd68(0x19c)]();_0x5778c8&&console[_0x16cd68(0x18e)](_0x1ec29a['pLrJS']);try{await TestHubHandler[_0x16cd68(0x151)]();}catch(_0xd9a4f7){_0x1ec29a[_0x16cd68(0x13d)](debug,_0x16cd68(0x179)+_0xd9a4f7);}_0x1ec29a['qKZZa'](_0x129150,_0x51b788);},_0x4df572=_0x1ec29a['OIcbU'](pLimit,_0x1ec29a['aESgQ'](_0x17525d,0x1)),_0x9bc991=_0x59ebac=>_0x4df572(async()=>{const _0x2265bf=_0x2b92ee;await _0x4d55f6[_0x2265bf(0x172)](_0x1ec29a[_0x2265bf(0x158)],_0x59ebac);const _0x282bff=_0x47c966[_0x2265bf(0x17a)](_0x59ebac,_0xa02753);try{parentPort&&_0x282bff[_0x2265bf(0x150)](_0x31fab5=>{const _0x9a9188=_0x2265bf;try{parentPort[_0x9a9188(0x16d)](_0x31fab5);}catch(_0x41632b){logger[_0x9a9188(0x164)](_0x9a9188(0x18c)+util[_0x9a9188(0x173)](_0x41632b));}});}catch(_0x28283a){logger[_0x2265bf(0x164)](_0x2265bf(0x167)+util[_0x2265bf(0x173)](_0x28283a));}return _0x282bff;});PerformanceTester['end'](PerformanceEvents[_0x2b92ee(0x190)]),Promise[_0x2b92ee(0x132)](_0x24ab1c['map'](_0x2c4fa8=>_0x9bc991(_0x2c4fa8)[_0x2b92ee(0x146)](_0x34c8bf=>_0x4d55f6['emit'](_0x2b92ee(0x144),[_0x2c4fa8[_0x2b92ee(0x154)][_0x2b92ee(0x18d)],_0x34c8bf]),_0x3c17b4=>_0x4d55f6[_0x2b92ee(0x172)](_0x2b92ee(0x165),[_0x2c4fa8,_0x3c17b4]))))[_0x2b92ee(0x146)](_0xfc621b,_0xfc621b);}),exports[a61_0x24e801(0x133)]=(_0x521555,_0x39d883,_0x577e0a,_0x2c12d2,_0x1a1d07)=>{const _0x59c263=a61_0x24e801,_0x1b09ee={'PvfHz':_0x59c263(0x15c),'qfyhj':function(_0x373af9,_0x2e59ca){return _0x373af9(_0x2e59ca);},'fcnYA':_0x59c263(0x155),'ROAZG':_0x59c263(0x18b),'toReU':_0x59c263(0x157),'lydwv':'json','gzxPO':_0x59c263(0x198),'PGvTV':'platform-run-success','fWBvT':_0x59c263(0x18f),'PmYHJ':function(_0x2677d0,_0x469cd5){return _0x2677d0(_0x469cd5);}};return new Promise(_0x4fe79c=>{const _0xbe0f89=_0x59c263,_0x1d8508=[],_0x2611fc=new Worker(require['resolve'](_0x1b09ee[_0xbe0f89(0x176)]),{'exposedMethods':[_0x1b09ee[_0xbe0f89(0x166)]],'forkOptions':{'serialization':_0x1b09ee[_0xbe0f89(0x19d)],'stdio':_0x1b09ee[_0xbe0f89(0x16e)]},'numWorkers':_0x521555[_0xbe0f89(0x178)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x375d07=new Emittery();_0x375d07['on'](_0x1b09ee[_0xbe0f89(0x13e)],_0x126e56=>{const _0x5c5e38=_0xbe0f89;_0x1d8508[_0x5c5e38(0x13a)]([_0x126e56[0x0],_0x126e56[0x1]]);}),_0x375d07['on'](_0x1b09ee['fWBvT'],_0x338793=>console[_0xbe0f89(0x175)](_0x338793[0x1]));_0x2611fc[_0xbe0f89(0x136)]()&&_0x2611fc[_0xbe0f89(0x136)]()[_0xbe0f89(0x198)](process[_0xbe0f89(0x185)]);_0x2611fc[_0xbe0f89(0x147)]()&&_0x2611fc['getStderr']()[_0xbe0f89(0x198)](process[_0xbe0f89(0x160)]);const _0x3ca4ad=async()=>{const _0x50e832=_0xbe0f89,{forceExited:_0x590444}=await _0x2611fc[_0x50e832(0x19c)]();_0x590444&&console[_0x50e832(0x18e)](_0x1b09ee[_0x50e832(0x13f)]),_0x1b09ee[_0x50e832(0x14c)](_0x4fe79c,_0x1d8508);},_0x21326f=_0x1b09ee['PmYHJ'](pLimit,_0x521555[_0xbe0f89(0x178)]||0x1),_0x10196e=(_0x5f518f,_0x2be013)=>_0x21326f(async()=>{const _0x217f5b=_0xbe0f89;return await _0x375d07['emit'](_0x1b09ee[_0x217f5b(0x153)],_0x5f518f),_0x39d883[_0x217f5b(0x161)]=_0x577e0a[_0x217f5b(0x143)][_0x2be013],_0x39d883[_0x217f5b(0x19a)]=_0x2be013,_0x2611fc[_0x217f5b(0x157)](_0x5f518f,_0x39d883,_0x577e0a,_0x2c12d2,_0x1a1d07);});Promise[_0xbe0f89(0x132)](_0x521555[_0xbe0f89(0x17e)]((_0x193824,_0x3f3d74)=>_0x10196e(_0x193824,_0x3f3d74)[_0xbe0f89(0x146)](_0x3f07eb=>_0x375d07[_0xbe0f89(0x172)]('platform-run-success',[_0x193824,_0x3f07eb]),_0x17108a=>_0x375d07[_0xbe0f89(0x172)]('platform-run-failure',[_0x193824,_0x17108a]))))[_0xbe0f89(0x146)](_0x3ca4ad,_0x3ca4ad);});},exports[a61_0x24e801(0x186)]=(_0x31b332,_0x5ae56f)=>new Promise(_0x362f4c=>{const _0x160472=a61_0x24e801,_0x41e9e4={'tAveO':function(_0x2aa5d4,_0x43ae8a){return _0x2aa5d4===_0x43ae8a;},'kSZoJ':function(_0x1567f2,_0x882bf1){return _0x1567f2!==_0x882bf1;},'NJZvM':_0x160472(0x187),'HJJwP':_0x160472(0x15c),'njzcC':function(_0x57f2c0,_0x44a053){return _0x57f2c0(_0x44a053);},'eEzJI':_0x160472(0x18b),'pEKxi':'vanillaWorker','qnjxw':_0x160472(0x16c),'xvLGt':_0x160472(0x198),'FytPK':'test-file-success','DzdkI':'test-file-failure'},_0x3d8169={},_0x98f96b=new Worker(require[_0x160472(0x14b)](_0x41e9e4[_0x160472(0x194)]),{'exposedMethods':[_0x41e9e4['pEKxi']],'forkOptions':{'serialization':_0x41e9e4[_0x160472(0x142)],'stdio':_0x41e9e4[_0x160472(0x189)]},'numWorkers':_0x5ae56f,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x590521=new Emittery();_0x590521['on'](_0x41e9e4['FytPK'],_0x5f5d78=>{const _0x3df2c0=_0x160472;_0x5f5d78[0x0]&&logger[_0x3df2c0(0x14d)]('Running\x20'+_0x5f5d78[0x1]+_0x3df2c0(0x141),_0x5f5d78[0x0]);}),_0x590521['on'](_0x41e9e4[_0x160472(0x15a)],_0x433076=>{const _0x30b566=_0x160472;process[_0x30b566(0x174)]=0x1;});_0x98f96b[_0x160472(0x136)]()&&_0x98f96b[_0x160472(0x136)]()[_0x160472(0x198)](process[_0x160472(0x185)]);_0x98f96b[_0x160472(0x147)]()&&_0x98f96b['getStderr']()['pipe'](process[_0x160472(0x160)]);const _0x55c46e=async()=>{const _0x19b2c4=_0x160472,_0x2d683d={'SVIcj':function(_0x109ffd,_0xcdc201){const _0x14fcdb=a61_0x412c;return _0x41e9e4[_0x14fcdb(0x156)](_0x109ffd,_0xcdc201);},'OnvhB':function(_0x3f799d,_0x1eb3c7){const _0x48b823=a61_0x412c;return _0x41e9e4[_0x48b823(0x16b)](_0x3f799d,_0x1eb3c7);},'UrpPw':_0x41e9e4[_0x19b2c4(0x191)]};let _0x364b7f=0x0;const _0x5ee2d2=_0x98f96b[_0x19b2c4(0x14e)][_0x19b2c4(0x131)](),_0x412852=()=>{},_0x235a36=_0x5ee2d2[_0x19b2c4(0x17e)](async _0x4504cc=>{const _0x1d3a83=_0x19b2c4,_0x4d000b={'gBdvW':function(_0x374e61,_0x1bb8b1){const _0x5af60f=a61_0x412c;return _0x2d683d[_0x5af60f(0x177)](_0x374e61,_0x1bb8b1);},'HBDpu':function(_0x1c35fd,_0x8d1df7){return _0x2d683d['OnvhB'](_0x1c35fd,_0x8d1df7);}};_0x4504cc[_0x1d3a83(0x15e)]([0x2,![]],_0x412852,_0x412852,_0x412852),_0x4504cc[_0x1d3a83(0x17f)]['on'](_0x2d683d[_0x1d3a83(0x159)],_0x1c1855=>{const _0x5d9a70=_0x1d3a83;_0x4d000b['gBdvW'](_0x364b7f,0x0)&&_0x4d000b[_0x5d9a70(0x16a)](_0x1c1855,0x0)&&(_0x364b7f=_0x1c1855);}),await _0x4504cc[_0x1d3a83(0x14f)]();});await Promise[_0x19b2c4(0x132)](_0x235a36),process[_0x19b2c4(0x174)]=_0x364b7f;const {forceExited:_0x47fc0a}=await _0x98f96b['end']();_0x47fc0a&&console[_0x19b2c4(0x18e)](_0x41e9e4[_0x19b2c4(0x145)]),_0x41e9e4['njzcC'](_0x362f4c,_0x3d8169);},_0x5b79fa=_0x41e9e4[_0x160472(0x192)](pLimit,_0x5ae56f),_0x55781a=_0xcc2865=>_0x5b79fa(async()=>{const _0x389e7e=_0x160472;return _0x98f96b[_0x389e7e(0x16f)](_0xcc2865);});Promise[_0x160472(0x132)](_0x31b332[_0x160472(0x17e)](_0x4e9e21=>_0x55781a(_0x4e9e21)[_0x160472(0x146)](_0x461dde=>_0x590521[_0x160472(0x172)](_0x160472(0x144),[_0x4e9e21[_0x160472(0x154)]['platform'],_0x4e9e21[_0x160472(0x154)][_0x160472(0x14a)]]),_0x5bda2d=>_0x590521['emit']('test-file-failure',[_0x4e9e21,_0x5bda2d]))))[_0x160472(0x146)](_0x55c46e,_0x55c46e);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a62_0x54b1(){const _0xb90f55=['vanilla','formatter','12783984uEMavh','SDK_POST_TEST','BeKSZ','2856909RyvcYM','run','EoeMT','xphwt','74vDXRHb','12APEafu','../launcher/launcher','2396eOSTEZ','qWZdF','nEIxS','runVanillaTest','runCucumberTest','../../helpers/performance/performance-tester','10LGyAWi','7nIplHA','134008jwHciO','atuCl','mocha','EVENTS','configuration','292765poiEzp','8627crYnUr','861EfmKyc','2580282XoFCje','hCtBV','runTest','../../helpers/performance/constants','IJKqW','end'];a62_0x54b1=function(){return _0xb90f55;};return a62_0x54b1();}const a62_0x5edb25=a62_0x3ea8;function a62_0x3ea8(_0x1c3305,_0x599d1d){const _0x54b12f=a62_0x54b1();return a62_0x3ea8=function(_0x3ea84e,_0x3fcf54){_0x3ea84e=_0x3ea84e-0xd2;let _0x550571=_0x54b12f[_0x3ea84e];return _0x550571;},a62_0x3ea8(_0x1c3305,_0x599d1d);}(function(_0x32dfea,_0x198bc6){const _0x1a845d=a62_0x3ea8,_0x53ed94=_0x32dfea();while(!![]){try{const _0x40ed82=parseInt(_0x1a845d(0xed))/0x1*(-parseInt(_0x1a845d(0xdc))/0x2)+parseInt(_0x1a845d(0xee))/0x3*(parseInt(_0x1a845d(0xdf))/0x4)+parseInt(_0x1a845d(0xec))/0x5*(-parseInt(_0x1a845d(0xdd))/0x6)+-parseInt(_0x1a845d(0xe6))/0x7*(-parseInt(_0x1a845d(0xe7))/0x8)+-parseInt(_0x1a845d(0xef))/0x9+parseInt(_0x1a845d(0xe5))/0xa*(-parseInt(_0x1a845d(0xd8))/0xb)+parseInt(_0x1a845d(0xd5))/0xc;if(_0x40ed82===_0x198bc6)break;else _0x53ed94['push'](_0x53ed94['shift']());}catch(_0xac3e8d){_0x53ed94['push'](_0x53ed94['shift']());}}}(a62_0x54b1,0x423aa));const PerformanceEvents=require(a62_0x5edb25(0xf2))[a62_0x5edb25(0xea)],PerformanceTester=require(a62_0x5edb25(0xe4)),{sleep}=require('../../helpers/test-observability/utils');exports[a62_0x5edb25(0xf1)]=async(_0x5711a8,_0x12fe47)=>{const _0x91be73=a62_0x5edb25,_0x206c0b={'BeKSZ':function(_0x23fc3d,_0x455d63){return _0x23fc3d(_0x455d63);},'xphwt':_0x91be73(0xde),'hCtBV':_0x91be73(0xe9),'qDfiF':function(_0xf39542,_0x363d64){return _0xf39542(_0x363d64);}};PerformanceTester['startMonitoring']();const _0x500f62=_0x206c0b[_0x91be73(0xd7)](require,_0x206c0b[_0x91be73(0xdb)]),_0x5263e6=new _0x500f62(_0x206c0b[_0x91be73(0xf0)],_0x5711a8,_0x12fe47),_0x1dc084=await _0x5263e6[_0x91be73(0xd9)]();return PerformanceTester[_0x91be73(0xd2)](PerformanceEvents[_0x91be73(0xd6)]),await _0x206c0b['qDfiF'](sleep,0x3e8),PerformanceTester['stopMonitoring'](),_0x1dc084;},exports[a62_0x5edb25(0xe3)]=async(_0x40295b,_0x245c7f,_0xf83f3d,_0x15cd38,_0x5b2c8f)=>{const _0x19a907=a62_0x5edb25,_0x4fc954={'qWZdF':function(_0x9fefb8,_0x3cec35){return _0x9fefb8(_0x3cec35);},'IJKqW':_0x19a907(0xde),'EoeMT':'cucumber-js'},_0x175f8b={'capability':_0x40295b,..._0x245c7f},_0x562c5c={};_0x562c5c[_0x19a907(0xeb)]=_0x175f8b,_0x562c5c[_0x19a907(0xd4)]=_0x5b2c8f;const _0x3fcf05=_0x562c5c,_0xbaba1f=_0x4fc954[_0x19a907(0xe0)](require,_0x4fc954[_0x19a907(0xf3)]),_0x1b94d6=new _0xbaba1f(_0x4fc954[_0x19a907(0xda)],_0x3fcf05,_0xf83f3d,_0x15cd38);return await _0x1b94d6[_0x19a907(0xd9)]();},exports[a62_0x5edb25(0xe2)]=async _0x4114ed=>{const _0x35dd26=a62_0x5edb25,_0x5b6235={'atuCl':function(_0x40821e,_0x59f404){return _0x40821e(_0x59f404);},'nEIxS':_0x35dd26(0xde),'NczHm':_0x35dd26(0xd3)},_0x5be002=_0x5b6235[_0x35dd26(0xe8)](require,_0x5b6235[_0x35dd26(0xe1)]),_0xf6f99d=new _0x5be002(_0x5b6235['NczHm'],_0x4114ed);return await _0xf6f99d[_0x35dd26(0xd9)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a63_0x39cd8e=a63_0x4b8a;function a63_0x3914(){const _0x41b375=['1473512aPbJxa','./runTest','wGyJT','6299788YVrdgp','kExNs','185cpxynF','1419674TumvFu','installAll','worker','61890RVIHOK','USGAu','3pxMfdy','18wErjfq','9647370wMnotE','10802736YvzCny','2487466GmYfSB','../../helpers/driverInitErrorReporter'];a63_0x3914=function(){return _0x41b375;};return a63_0x3914();}(function(_0x132d5f,_0x421dd8){const _0x173090=a63_0x4b8a,_0x3c160d=_0x132d5f();while(!![]){try{const _0x4c7855=parseInt(_0x173090(0x12a))/0x1+parseInt(_0x173090(0x122))/0x2+parseInt(_0x173090(0x11e))/0x3*(parseInt(_0x173090(0x127))/0x4)+-parseInt(_0x173090(0x129))/0x5*(parseInt(_0x173090(0x12d))/0x6)+-parseInt(_0x173090(0x121))/0x7+-parseInt(_0x173090(0x124))/0x8*(parseInt(_0x173090(0x11f))/0x9)+-parseInt(_0x173090(0x120))/0xa;if(_0x4c7855===_0x421dd8)break;else _0x3c160d['push'](_0x3c160d['shift']());}catch(_0x153804){_0x3c160d['push'](_0x3c160d['shift']());}}}(a63_0x3914,0xef570));const {runTest,runCucumberTest,runVanillaTest}=require(a63_0x39cd8e(0x125));try{require(a63_0x39cd8e(0x123))[a63_0x39cd8e(0x12b)]();}catch(a63_0xb4a5c8){}function a63_0x4b8a(_0x1146db,_0xbedb48){const _0x3914d4=a63_0x3914();return a63_0x4b8a=function(_0x4b8a9a,_0x595f0c){_0x4b8a9a=_0x4b8a9a-0x11d;let _0x1d7125=_0x3914d4[_0x4b8a9a];return _0x1d7125;},a63_0x4b8a(_0x1146db,_0xbedb48);}exports[a63_0x39cd8e(0x12c)]=async(_0xd70d97,_0x2b5ac5)=>{const _0x109776=a63_0x39cd8e,_0x5d372d={'USGAu':function(_0x5851f4,_0x11e16d,_0x2ae36a){return _0x5851f4(_0x11e16d,_0x2ae36a);}};return await _0x5d372d[_0x109776(0x11d)](runTest,_0xd70d97,_0x2b5ac5);},exports['cucumberWorker']=async(_0x784b16,_0x297171,_0x37c7b3,_0xb336d8,_0x43fe18)=>{const _0x51a389=a63_0x39cd8e,_0x5babc8={'kExNs':function(_0xcc6574,_0x243a53,_0x4d3192,_0x493279,_0x43ac71,_0x454536){return _0xcc6574(_0x243a53,_0x4d3192,_0x493279,_0x43ac71,_0x454536);}};return await _0x5babc8[_0x51a389(0x128)](runCucumberTest,_0x784b16,_0x297171,_0x37c7b3,_0xb336d8,_0x43fe18);},exports['vanillaWorker']=async _0x162fdc=>{const _0x319c7d=a63_0x39cd8e,_0x15ab13={'wGyJT':function(_0x1666be,_0x128058){return _0x1666be(_0x128058);}};return await _0x15ab13[_0x319c7d(0x126)](runVanillaTest,_0x162fdc);};
|