browserstack-node-sdk 1.63.6 → 1.64.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/loadErrors.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/sdkErrorHandler.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 a62_0x56edcd=a62_0x195d;(function(_0x32146c,_0x3fcfa1){const _0x341c51=a62_0x195d,_0x583540=_0x32146c();while(!![]){try{const _0x5ab95b=parseInt(_0x341c51(0x1e2))/0x1+-parseInt(_0x341c51(0x241))/0x2*(parseInt(_0x341c51(0x222))/0x3)+parseInt(_0x341c51(0x1f1))/0x4*(parseInt(_0x341c51(0x201))/0x5)+parseInt(_0x341c51(0x1ed))/0x6+-parseInt(_0x341c51(0x224))/0x7+-parseInt(_0x341c51(0x236))/0x8+parseInt(_0x341c51(0x226))/0x9;if(_0x5ab95b===_0x3fcfa1)break;else _0x583540['push'](_0x583540['shift']());}catch(_0x10c50e){_0x583540['push'](_0x583540['shift']());}}}(a62_0x4396,0x96434));const Worker=require(a62_0x56edcd(0x227))['Worker'],Emittery=require('emittery'),pLimit=require(a62_0x56edcd(0x20d)),{parentPort}=require(a62_0x56edcd(0x23b)),util=require(a62_0x56edcd(0x238)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require(a62_0x56edcd(0x1fd)),PerformanceEvents=require(a62_0x56edcd(0x1fe))[a62_0x56edcd(0x1f9)],{debug}=require(a62_0x56edcd(0x229)),TestHubHandler=require(a62_0x56edcd(0x21d));function a62_0x4396(){const _0x4e549c=['log','vanillaWorker','_child','3utbjji','Workers\x20failed\x20to\x20exit\x20gracefully','3947916YHuaOa','waitForExit','6773220UDfCEA','jest-worker','aLSMM','../../helpers/test-observability/utils','pipe','tKMRv','map','krZfM','GRFkA','uiChM','wMtDQ','configuration','Kewfe','oaUhC','emit','worker','5604336JzgkpL','stdout','util','IMfvO','RrSAY','worker_threads','wRNyg','bOzqW','test-file-failure','test-file-start','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','2451652zVQhhF','DHQFR','964343gVbsBg','gJaOU','length','cWeWF','platform-run-success','stop','Running\x20','HESFc','INaGD','eeoQU','debug','7186272HeqRSm','oYAgq','end','then','76GKQQlc','info','CbUvr','getWorkers','json','failureCount','UNSTABLE_onCustomMessage','gwJJk','EVENTS','platform','kWWea','OOKkd','../../helpers/performance/performance-tester','../../helpers/performance/constants','test-file-success','platform-run-failure','50315kSkHbc','format','./testWorker.js','getStdout','cucumberWorker','resolve','ARQlN','getStderr','platforms','exit','vYKDQ','wgXMj','p-limit','FFjxQ','all','error','push','send','SlGKi','myYzQ','parallelCucumberRun','exitCode','parallelVanillaRun','file','stderr','XEpLA','tttRx','\x20for','../../helpers/testhub/testhubHandler','GvEEb'];a62_0x4396=function(){return _0x4e549c;};return a62_0x4396();}function a62_0x195d(_0x4224a2,_0x4d019b){const _0x43961f=a62_0x4396();return a62_0x195d=function(_0x195ddf,_0x5412b6){_0x195ddf=_0x195ddf-0x1e1;let _0x72eeea=_0x43961f[_0x195ddf];return _0x72eeea;},a62_0x195d(_0x4224a2,_0x4d019b);}exports['parallelTestRun']=(_0xb0ee2d,_0x53be97,_0x489e9a)=>new Promise(async _0x1f1247=>{const _0x1f2811=a62_0x56edcd,_0x47b42a={'gwJJk':_0x1f2811(0x1f6),'ARQlN':function(_0x5a610a,_0x5d9a85){return _0x5a610a+_0x5d9a85;},'wgXMj':'results','cWeWF':_0x1f2811(0x223),'deRnb':function(_0x3c847e,_0x4aa9e1){return _0x3c847e(_0x4aa9e1);},'tttRx':function(_0x33c131,_0x268eeb){return _0x33c131(_0x268eeb);},'bOzqW':_0x1f2811(0x23f),'ueRzc':'./testWorker.js','OOKkd':_0x1f2811(0x235),'SiNjI':_0x1f2811(0x1f5),'PBxIY':'pipe','vYKDQ':function(_0x188bf1,_0x486a86){return _0x188bf1*_0x486a86;},'HESFc':_0x1f2811(0x1ff),'AOBQz':'test-file-failure','upFjF':function(_0x1b8125,_0x20ac89){return _0x1b8125(_0x20ac89);},'uiChM':function(_0x17556b,_0x26ec91){return _0x17556b*_0x26ec91;}},_0x37a75b=_0x489e9a['config'],_0x5cc17a={},_0x4b93e9=new Worker(require[_0x1f2811(0x206)](_0x47b42a['ueRzc']),{'exposedMethods':[_0x47b42a[_0x1f2811(0x1fc)]],'forkOptions':{'serialization':_0x47b42a['SiNjI'],'stdio':_0x47b42a['PBxIY']},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x47b42a[_0x1f2811(0x20b)](_0x53be97,0x1),'enableWorkerThreads':!![]}),_0x45345b=new Emittery();_0x45345b['on'](_0x47b42a[_0x1f2811(0x1e9)],_0x21a2f7=>{const _0x26ea22=_0x1f2811;_0x5cc17a[_0x21a2f7[0x0]]?(_0x5cc17a[_0x21a2f7[0x0]][_0x47b42a[_0x26ea22(0x1f8)]]=_0x47b42a[_0x26ea22(0x207)](_0x5cc17a[_0x21a2f7[0x0]][_0x47b42a[_0x26ea22(0x1f8)]],_0x21a2f7[0x1][_0x47b42a[_0x26ea22(0x1f8)]]),_0x5cc17a[_0x21a2f7[0x0]][_0x47b42a[_0x26ea22(0x20c)]]=[..._0x5cc17a[_0x21a2f7[0x0]][_0x47b42a[_0x26ea22(0x20c)]],..._0x21a2f7[0x1][_0x47b42a[_0x26ea22(0x20c)]]]):_0x5cc17a[_0x21a2f7[0x0]]={'failureCount':_0x21a2f7[0x1][_0x47b42a[_0x26ea22(0x1f8)]],'results':[..._0x21a2f7[0x1][_0x47b42a[_0x26ea22(0x20c)]]]};}),_0x45345b['on'](_0x47b42a['AOBQz'],_0x349377=>console['log'](_0x349377[0x1]));_0x4b93e9[_0x1f2811(0x204)]()&&_0x4b93e9[_0x1f2811(0x204)]()['pipe'](process[_0x1f2811(0x237)]);_0x4b93e9['getStderr']()&&_0x4b93e9['getStderr']()['pipe'](process[_0x1f2811(0x219)]);const _0x5b63c8=async()=>{const _0x32e20d=_0x1f2811,{forceExited:_0x13d65c}=await _0x4b93e9[_0x32e20d(0x1ef)]();_0x13d65c&&console[_0x32e20d(0x210)](_0x47b42a[_0x32e20d(0x1e5)]);try{await TestHubHandler[_0x32e20d(0x1e7)]();}catch(_0x2b7dc5){_0x47b42a['deRnb'](debug,_0x32e20d(0x240)+_0x2b7dc5);}_0x47b42a[_0x32e20d(0x21b)](_0x1f1247,_0x5cc17a);},_0x143ef1=_0x47b42a['upFjF'](pLimit,_0x47b42a[_0x1f2811(0x22f)](_0x53be97,0x1)),_0x48417e=_0x298b8e=>_0x143ef1(async()=>{const _0x1137e8=_0x1f2811;await _0x45345b[_0x1137e8(0x234)](_0x47b42a[_0x1137e8(0x23d)],_0x298b8e);const _0x11d125=_0x4b93e9[_0x1137e8(0x235)](_0x298b8e,_0x37a75b);try{parentPort&&_0x11d125[_0x1137e8(0x1f7)](_0x521046=>{const _0x1fba77=_0x1137e8;try{parentPort['postMessage'](_0x521046);}catch(_0x2178b9){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x1fba77(0x202)](_0x2178b9));}});}catch(_0xb9307e){logger[_0x1137e8(0x1ec)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x1137e8(0x202)](_0xb9307e));}return _0x11d125;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x1f2811(0x20f)](_0xb0ee2d['map'](_0x590121=>_0x48417e(_0x590121)[_0x1f2811(0x1f0)](_0x38986d=>_0x45345b['emit'](_0x1f2811(0x1ff),[_0x590121['configuration'][_0x1f2811(0x1fa)],_0x38986d]),_0x31b9e2=>_0x45345b[_0x1f2811(0x234)](_0x1f2811(0x23e),[_0x590121,_0x31b9e2]))))['then'](_0x5b63c8,_0x5b63c8);}),exports[a62_0x56edcd(0x215)]=(_0x3b462e,_0x500dd7,_0xb256fc,_0x2ea3ab,_0x3f1f84)=>{const _0x4f43a6=a62_0x56edcd,_0x5a34f5={'DHQFR':_0x4f43a6(0x223),'kWWea':function(_0x4ef228,_0x2f98f1){return _0x4ef228(_0x2f98f1);},'XEpLA':'platform-run-start','aLSMM':'./testWorker.js','JWgZD':_0x4f43a6(0x205),'Kewfe':_0x4f43a6(0x1f5),'tKMRv':'pipe','SlGKi':_0x4f43a6(0x1e6),'oYAgq':_0x4f43a6(0x200),'gJaOU':function(_0x20d89d,_0x3ef5fc){return _0x20d89d(_0x3ef5fc);}};return new Promise(_0x4aeb9d=>{const _0x56aa0b=_0x4f43a6,_0xabcc42={};_0xabcc42[_0x56aa0b(0x23c)]=_0x5a34f5[_0x56aa0b(0x21a)];const _0x306e62=_0xabcc42,_0xbc069f=[],_0x42adf4=new Worker(require[_0x56aa0b(0x206)](_0x5a34f5[_0x56aa0b(0x228)]),{'exposedMethods':[_0x5a34f5['JWgZD']],'forkOptions':{'serialization':_0x5a34f5[_0x56aa0b(0x232)],'stdio':_0x5a34f5[_0x56aa0b(0x22b)]},'numWorkers':_0x3b462e['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x481f7c=new Emittery();_0x481f7c['on'](_0x5a34f5[_0x56aa0b(0x213)],_0x20fe0a=>{const _0x44a464=_0x56aa0b;_0xbc069f[_0x44a464(0x211)]([_0x20fe0a[0x0],_0x20fe0a[0x1]]);}),_0x481f7c['on'](_0x5a34f5[_0x56aa0b(0x1ee)],_0x4a42f6=>console[_0x56aa0b(0x21f)](_0x4a42f6[0x1]));_0x42adf4[_0x56aa0b(0x204)]()&&_0x42adf4['getStdout']()[_0x56aa0b(0x22a)](process[_0x56aa0b(0x237)]);_0x42adf4[_0x56aa0b(0x208)]()&&_0x42adf4[_0x56aa0b(0x208)]()[_0x56aa0b(0x22a)](process[_0x56aa0b(0x219)]);const _0x595bed=async()=>{const _0x4a22dd=_0x56aa0b,{forceExited:_0x14c3b2}=await _0x42adf4[_0x4a22dd(0x1ef)]();_0x14c3b2&&console[_0x4a22dd(0x210)](_0x5a34f5[_0x4a22dd(0x1e1)]),_0x5a34f5[_0x4a22dd(0x1fb)](_0x4aeb9d,_0xbc069f);},_0x103f43=_0x5a34f5[_0x56aa0b(0x1e3)](pLimit,_0x3b462e[_0x56aa0b(0x1e4)]||0x1),_0x200c5c=(_0x3e52ce,_0x390d43)=>_0x103f43(async()=>{const _0x5ab733=_0x56aa0b;return await _0x481f7c['emit'](_0x306e62[_0x5ab733(0x23c)],_0x3e52ce),_0x500dd7['platformCaps']=_0xb256fc[_0x5ab733(0x209)][_0x390d43],_0x500dd7['platformIndex']=_0x390d43,_0x42adf4['cucumberWorker'](_0x3e52ce,_0x500dd7,_0xb256fc,_0x2ea3ab,_0x3f1f84);});Promise[_0x56aa0b(0x20f)](_0x3b462e[_0x56aa0b(0x22c)]((_0x172d16,_0x19805e)=>_0x200c5c(_0x172d16,_0x19805e)['then'](_0x4adeef=>_0x481f7c[_0x56aa0b(0x234)](_0x56aa0b(0x1e6),[_0x172d16,_0x4adeef]),_0x3bdbeb=>_0x481f7c[_0x56aa0b(0x234)]('platform-run-failure',[_0x172d16,_0x3bdbeb]))))[_0x56aa0b(0x1f0)](_0x595bed,_0x595bed);});},exports[a62_0x56edcd(0x217)]=(_0xe9b678,_0x1fa246)=>new Promise(_0xcf8baa=>{const _0x503725=a62_0x56edcd,_0xbe659d={'wMtDQ':function(_0x561926,_0x7aaaeb){return _0x561926===_0x7aaaeb;},'TpdXG':function(_0x5d2343,_0x52614b){return _0x5d2343!==_0x52614b;},'CbUvr':_0x503725(0x20a),'GvEEb':_0x503725(0x223),'oaUhC':function(_0x406b21,_0x3a5052){return _0x406b21(_0x3a5052);},'eeoQU':_0x503725(0x203),'krZfM':'vanillaWorker','GRFkA':_0x503725(0x1f5),'RrSAY':'pipe','IMfvO':_0x503725(0x1ff),'myYzQ':'test-file-failure'},_0xd8c4ca={},_0x2d21ba=new Worker(require[_0x503725(0x206)](_0xbe659d[_0x503725(0x1eb)]),{'exposedMethods':[_0xbe659d[_0x503725(0x22d)]],'forkOptions':{'serialization':_0xbe659d[_0x503725(0x22e)],'stdio':_0xbe659d[_0x503725(0x23a)]},'numWorkers':_0x1fa246,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x30f8f7=new Emittery();_0x30f8f7['on'](_0xbe659d[_0x503725(0x239)],_0x48acd0=>{const _0x1f1a14=_0x503725;_0x48acd0[0x0]&&logger[_0x1f1a14(0x1f2)](_0x1f1a14(0x1e8)+_0x48acd0[0x1]+_0x1f1a14(0x21c),_0x48acd0[0x0]);}),_0x30f8f7['on'](_0xbe659d[_0x503725(0x214)],_0xdf49c9=>{const _0x130e5b=_0x503725;process[_0x130e5b(0x216)]=0x1;});_0x2d21ba[_0x503725(0x204)]()&&_0x2d21ba[_0x503725(0x204)]()[_0x503725(0x22a)](process[_0x503725(0x237)]);_0x2d21ba['getStderr']()&&_0x2d21ba['getStderr']()[_0x503725(0x22a)](process[_0x503725(0x219)]);const _0x57a6bf=async()=>{const _0x5bdd2e=_0x503725,_0x20771b={'MFbHT':function(_0x38f1d5,_0x53e080){const _0xf93473=a62_0x195d;return _0xbe659d[_0xf93473(0x230)](_0x38f1d5,_0x53e080);},'INaGD':function(_0xe9b60b,_0x5908cc){return _0xbe659d['TpdXG'](_0xe9b60b,_0x5908cc);},'FFjxQ':_0xbe659d[_0x5bdd2e(0x1f3)]};let _0xc0aff2=0x0;const _0x23f0e0=_0x2d21ba['_workerPool'][_0x5bdd2e(0x1f4)](),_0x594bea=()=>{},_0x3efd8b=_0x23f0e0[_0x5bdd2e(0x22c)](async _0x4c9fe8=>{const _0x1a10dc=_0x5bdd2e;_0x4c9fe8[_0x1a10dc(0x212)]([0x2,![]],_0x594bea,_0x594bea,_0x594bea),_0x4c9fe8[_0x1a10dc(0x221)]['on'](_0x20771b[_0x1a10dc(0x20e)],_0x1d162f=>{const _0x3ea863=_0x1a10dc;_0x20771b['MFbHT'](_0xc0aff2,0x0)&&_0x20771b[_0x3ea863(0x1ea)](_0x1d162f,0x0)&&(_0xc0aff2=_0x1d162f);}),await _0x4c9fe8[_0x1a10dc(0x225)]();});await Promise[_0x5bdd2e(0x20f)](_0x3efd8b),process[_0x5bdd2e(0x216)]=_0xc0aff2;const {forceExited:_0x1404a1}=await _0x2d21ba[_0x5bdd2e(0x1ef)]();_0x1404a1&&console[_0x5bdd2e(0x210)](_0xbe659d[_0x5bdd2e(0x21e)]),_0xbe659d[_0x5bdd2e(0x233)](_0xcf8baa,_0xd8c4ca);},_0x53ca2b=_0xbe659d[_0x503725(0x233)](pLimit,_0x1fa246),_0x4e063f=_0x621f41=>_0x53ca2b(async()=>{const _0x4ac558=_0x503725;return _0x2d21ba[_0x4ac558(0x220)](_0x621f41);});Promise[_0x503725(0x20f)](_0xe9b678[_0x503725(0x22c)](_0x33e732=>_0x4e063f(_0x33e732)[_0x503725(0x1f0)](_0xe30125=>_0x30f8f7[_0x503725(0x234)]('test-file-success',[_0x33e732[_0x503725(0x231)][_0x503725(0x1fa)],_0x33e732[_0x503725(0x231)][_0x503725(0x218)]]),_0x32a30a=>_0x30f8f7['emit'](_0x503725(0x23e),[_0x33e732,_0x32a30a]))))[_0x503725(0x1f0)](_0x57a6bf,_0x57a6bf);});
|
|
1
|
+
const a62_0x251424=a62_0x2263;function a62_0x2263(_0x406ff2,_0x39b602){const _0x149673=a62_0x1496();return a62_0x2263=function(_0x226396,_0x20a0bd){_0x226396=_0x226396-0x1d6;let _0x424851=_0x149673[_0x226396];return _0x424851;},a62_0x2263(_0x406ff2,_0x39b602);}(function(_0x5be85c,_0x15a825){const _0xae5532=a62_0x2263,_0x1702f4=_0x5be85c();while(!![]){try{const _0x2270c2=parseInt(_0xae5532(0x201))/0x1*(parseInt(_0xae5532(0x219))/0x2)+parseInt(_0xae5532(0x20b))/0x3*(-parseInt(_0xae5532(0x1f8))/0x4)+-parseInt(_0xae5532(0x230))/0x5*(parseInt(_0xae5532(0x225))/0x6)+parseInt(_0xae5532(0x211))/0x7+-parseInt(_0xae5532(0x20e))/0x8+parseInt(_0xae5532(0x1ee))/0x9+-parseInt(_0xae5532(0x210))/0xa*(-parseInt(_0xae5532(0x206))/0xb);if(_0x2270c2===_0x15a825)break;else _0x1702f4['push'](_0x1702f4['shift']());}catch(_0x28072b){_0x1702f4['push'](_0x1702f4['shift']());}}}(a62_0x1496,0x32299));function a62_0x1496(){const _0x788ae4=['32aOOcom','_workerPool','\x20for','platform','parallelTestRun','emit','stderr','results','parallelVanillaRun','1jkqtxO','configuration','BeKRQ','RlRkJ','length','11FhHBNN','getWorkers','TuSWY','util','platform-run-success','47412VUvCgu','worker_threads','resolve','1028880XrvBXp','_child','307570BBYLTv','1705340oJBXar','jSwaI','DOlDJ','hWYzy','Wvuhy','UNSTABLE_onCustomMessage','wlKWa','send','332186uEUIZR','platformIndex','exit','parallelCucumberRun','file','jedRP','getStdout','vanillaWorker','ltnrK','SDK_SETUP','jiiIo','SGNHT','8298sgVGgs','exitCode','Exception\x20in\x20sending\x20worker\x20message\x20','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','all','lXvqH','WbdPa','TFOUt','./testWorker.js','platform-run-failure','MkhXb','915ojFSMt','failureCount','ofxUa','stop','platforms','UxBku','getStderr','Running\x20','AoVif','mRvsO','worker','platformCaps','PmRhb','platform-run-start','map','RsRdv','kdLbK','test-file-success','push','MZoSb','end','edTww','../../helpers/testhub/testhubHandler','lgmEm','format','../../helpers/test-observability/utils','test-file-failure','then','error','gYbMK','stdout','winstonLogger','postMessage','Umdtj','Etohh','Workers\x20failed\x20to\x20exit\x20gracefully','p-limit','2458134oZGrBi','pipe','cucumberWorker','../../helpers/logger','json','jest-worker','debug','CXoed','Worker','../../helpers/performance/constants'];a62_0x1496=function(){return _0x788ae4;};return a62_0x1496();}const Worker=require(a62_0x251424(0x1f3))[a62_0x251424(0x1f6)],Emittery=require('emittery'),pLimit=require(a62_0x251424(0x1ed)),{parentPort}=require(a62_0x251424(0x20c)),util=require(a62_0x251424(0x209)),logger=require(a62_0x251424(0x1f1))[a62_0x251424(0x1e8)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a62_0x251424(0x1f7))['EVENTS'],{debug}=require(a62_0x251424(0x1e2)),TestHubHandler=require(a62_0x251424(0x1df));exports[a62_0x251424(0x1fc)]=(_0x3ca5d0,_0x340c3a,_0x5f0a67)=>new Promise(async _0x5e1e26=>{const _0x2cf838=a62_0x251424,_0x365163={'jedRP':_0x2cf838(0x231),'ltnrK':function(_0x491718,_0x9973ad){return _0x491718+_0x9973ad;},'DOlDJ':_0x2cf838(0x1ff),'RsRdv':_0x2cf838(0x1ec),'UxBku':function(_0x3fe565,_0x31b2a5){return _0x3fe565(_0x31b2a5);},'GcORR':function(_0x59afbb,_0x2d8a2c){return _0x59afbb(_0x2d8a2c);},'wlKWa':'test-file-start','Wvuhy':_0x2cf838(0x22d),'MuMIb':_0x2cf838(0x23a),'uMqRh':'json','gYbMK':_0x2cf838(0x1ef),'DyXQA':function(_0x25d9f9,_0x8366b9){return _0x25d9f9*_0x8366b9;},'hWYzy':_0x2cf838(0x1da),'BQhID':'test-file-failure','Umdtj':function(_0x28e8fc,_0x258581){return _0x28e8fc(_0x258581);}},_0x449f0c=_0x5f0a67['config'],_0x59ac6e={},_0x2fdf57=new Worker(require['resolve'](_0x365163[_0x2cf838(0x215)]),{'exposedMethods':[_0x365163['MuMIb']],'forkOptions':{'serialization':_0x365163['uMqRh'],'stdio':_0x365163[_0x2cf838(0x1e6)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x365163['DyXQA'](_0x340c3a,0x1),'enableWorkerThreads':!![]}),_0x101c7d=new Emittery();_0x101c7d['on'](_0x365163[_0x2cf838(0x214)],_0x2cef77=>{const _0x552975=_0x2cf838;_0x59ac6e[_0x2cef77[0x0]]?(_0x59ac6e[_0x2cef77[0x0]][_0x365163[_0x552975(0x21e)]]=_0x365163[_0x552975(0x221)](_0x59ac6e[_0x2cef77[0x0]][_0x365163['jedRP']],_0x2cef77[0x1][_0x365163[_0x552975(0x21e)]]),_0x59ac6e[_0x2cef77[0x0]][_0x365163[_0x552975(0x213)]]=[..._0x59ac6e[_0x2cef77[0x0]][_0x365163[_0x552975(0x213)]],..._0x2cef77[0x1][_0x365163[_0x552975(0x213)]]]):_0x59ac6e[_0x2cef77[0x0]]={'failureCount':_0x2cef77[0x1][_0x365163[_0x552975(0x21e)]],'results':[..._0x2cef77[0x1][_0x365163[_0x552975(0x213)]]]};}),_0x101c7d['on'](_0x365163['BQhID'],_0x230484=>console['log'](_0x230484[0x1]));_0x2fdf57[_0x2cf838(0x21f)]()&&_0x2fdf57[_0x2cf838(0x21f)]()[_0x2cf838(0x1ef)](process[_0x2cf838(0x1e7)]);_0x2fdf57[_0x2cf838(0x236)]()&&_0x2fdf57[_0x2cf838(0x236)]()['pipe'](process[_0x2cf838(0x1fe)]);const _0x542e71=async()=>{const _0x563b48=_0x2cf838,{forceExited:_0x44e3a6}=await _0x2fdf57[_0x563b48(0x1dd)]();_0x44e3a6&&console[_0x563b48(0x1e5)](_0x365163[_0x563b48(0x1d8)]);try{await TestHubHandler[_0x563b48(0x233)]();}catch(_0x1bdffc){_0x365163[_0x563b48(0x235)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20'+_0x1bdffc);}_0x365163['GcORR'](_0x5e1e26,_0x59ac6e);},_0x3e3cb2=_0x365163[_0x2cf838(0x1ea)](pLimit,_0x365163['DyXQA'](_0x340c3a,0x1)),_0x4da65e=_0x1dca6c=>_0x3e3cb2(async()=>{const _0x54fb48=_0x2cf838;await _0x101c7d[_0x54fb48(0x1fd)](_0x365163[_0x54fb48(0x217)],_0x1dca6c);const _0x2006e6=_0x2fdf57['worker'](_0x1dca6c,_0x449f0c);try{parentPort&&_0x2006e6[_0x54fb48(0x216)](_0x336b1b=>{const _0x5b17e0=_0x54fb48;try{parentPort[_0x5b17e0(0x1e9)](_0x336b1b);}catch(_0x47d0a5){logger[_0x5b17e0(0x1f4)](_0x5b17e0(0x227)+util[_0x5b17e0(0x1e1)](_0x47d0a5));}});}catch(_0x40592e){logger[_0x54fb48(0x1f4)](_0x54fb48(0x228)+util[_0x54fb48(0x1e1)](_0x40592e));}return _0x2006e6;});PerformanceTester[_0x2cf838(0x1dd)](PerformanceEvents[_0x2cf838(0x222)]),Promise[_0x2cf838(0x229)](_0x3ca5d0[_0x2cf838(0x1d7)](_0x3f6ac8=>_0x4da65e(_0x3f6ac8)[_0x2cf838(0x1e4)](_0x2a498f=>_0x101c7d[_0x2cf838(0x1fd)](_0x2cf838(0x1da),[_0x3f6ac8[_0x2cf838(0x202)][_0x2cf838(0x1fb)],_0x2a498f]),_0x1bfb58=>_0x101c7d[_0x2cf838(0x1fd)](_0x2cf838(0x1e3),[_0x3f6ac8,_0x1bfb58]))))[_0x2cf838(0x1e4)](_0x542e71,_0x542e71);}),exports[a62_0x251424(0x21c)]=(_0x1de326,_0x55a5de,_0x44d2e8,_0x464b6e,_0x368e04)=>{const _0x3500f8=a62_0x251424,_0x4ed81f={'AoVif':_0x3500f8(0x1d6),'SGNHT':'Workers\x20failed\x20to\x20exit\x20gracefully','MkhXb':function(_0x5a5465,_0x5f1cde){return _0x5a5465(_0x5f1cde);},'asufH':_0x3500f8(0x22d),'mRvsO':'cucumberWorker','WbdPa':'json','lXvqH':'pipe','kdLbK':'platform-run-success','BeKRQ':_0x3500f8(0x22e)};return new Promise(_0x27710e=>{const _0x485b50=_0x3500f8,_0x13dcde={'jSwaI':_0x4ed81f[_0x485b50(0x224)],'iyAAH':function(_0x1df714,_0x4fd631){return _0x4ed81f['MkhXb'](_0x1df714,_0x4fd631);}},_0x14c134=[],_0xfb9fa4=new Worker(require[_0x485b50(0x20d)](_0x4ed81f['asufH']),{'exposedMethods':[_0x4ed81f[_0x485b50(0x239)]],'forkOptions':{'serialization':_0x4ed81f[_0x485b50(0x22b)],'stdio':_0x4ed81f[_0x485b50(0x22a)]},'numWorkers':_0x1de326[_0x485b50(0x205)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x35b52e=new Emittery();_0x35b52e['on'](_0x4ed81f[_0x485b50(0x1d9)],_0x1e4976=>{const _0x2ddc73=_0x485b50;_0x14c134[_0x2ddc73(0x1db)]([_0x1e4976[0x0],_0x1e4976[0x1]]);}),_0x35b52e['on'](_0x4ed81f[_0x485b50(0x203)],_0x591dde=>console['log'](_0x591dde[0x1]));_0xfb9fa4[_0x485b50(0x21f)]()&&_0xfb9fa4[_0x485b50(0x21f)]()[_0x485b50(0x1ef)](process['stdout']);_0xfb9fa4[_0x485b50(0x236)]()&&_0xfb9fa4[_0x485b50(0x236)]()[_0x485b50(0x1ef)](process[_0x485b50(0x1fe)]);const _0x559dc4=async()=>{const _0x46de4e=_0x485b50,{forceExited:_0x451627}=await _0xfb9fa4[_0x46de4e(0x1dd)]();_0x451627&&console[_0x46de4e(0x1e5)](_0x13dcde[_0x46de4e(0x212)]),_0x13dcde['iyAAH'](_0x27710e,_0x14c134);},_0x68c7df=_0x4ed81f[_0x485b50(0x22f)](pLimit,_0x1de326[_0x485b50(0x205)]||0x1),_0x4005df=(_0x53c2da,_0x2e7e77)=>_0x68c7df(async()=>{const _0x393f92=_0x485b50;return await _0x35b52e['emit'](_0x4ed81f[_0x393f92(0x238)],_0x53c2da),_0x55a5de[_0x393f92(0x23b)]=_0x44d2e8[_0x393f92(0x234)][_0x2e7e77],_0x55a5de[_0x393f92(0x21a)]=_0x2e7e77,_0xfb9fa4[_0x393f92(0x1f0)](_0x53c2da,_0x55a5de,_0x44d2e8,_0x464b6e,_0x368e04);});Promise['all'](_0x1de326['map']((_0x54438a,_0x46e18f)=>_0x4005df(_0x54438a,_0x46e18f)[_0x485b50(0x1e4)](_0x4cec39=>_0x35b52e['emit'](_0x485b50(0x20a),[_0x54438a,_0x4cec39]),_0x4b4b96=>_0x35b52e[_0x485b50(0x1fd)](_0x485b50(0x22e),[_0x54438a,_0x4b4b96]))))[_0x485b50(0x1e4)](_0x559dc4,_0x559dc4);});},exports[a62_0x251424(0x200)]=(_0x157d7c,_0x39110c)=>new Promise(_0x15b88a=>{const _0x5dfc95=a62_0x251424,_0x589878={'edTww':_0x5dfc95(0x21b),'LHEcI':function(_0x2171b4,_0x143217){return _0x2171b4===_0x143217;},'oPYJI':function(_0x3e2f6d,_0x26fd6d){return _0x3e2f6d!==_0x26fd6d;},'lgmEm':'Workers\x20failed\x20to\x20exit\x20gracefully','CXoed':function(_0x2b00c9,_0xa789b3){return _0x2b00c9(_0xa789b3);},'Etohh':_0x5dfc95(0x22d),'PmRhb':_0x5dfc95(0x220),'RlRkJ':_0x5dfc95(0x1f2),'ofxUa':_0x5dfc95(0x1ef),'kbKRG':_0x5dfc95(0x1da),'jiiIo':'test-file-failure','TFOUt':function(_0x337ca1,_0x236b26){return _0x337ca1(_0x236b26);}},_0x2264f6={},_0x5e9dd4=new Worker(require[_0x5dfc95(0x20d)](_0x589878[_0x5dfc95(0x1eb)]),{'exposedMethods':[_0x589878[_0x5dfc95(0x23c)]],'forkOptions':{'serialization':_0x589878[_0x5dfc95(0x204)],'stdio':_0x589878[_0x5dfc95(0x232)]},'numWorkers':_0x39110c,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x3d273f=new Emittery();_0x3d273f['on'](_0x589878['kbKRG'],_0x5a544f=>{const _0x39abb8=_0x5dfc95;_0x5a544f[0x0]&&logger['info'](_0x39abb8(0x237)+_0x5a544f[0x1]+_0x39abb8(0x1fa),_0x5a544f[0x0]);}),_0x3d273f['on'](_0x589878[_0x5dfc95(0x223)],_0x1c08b7=>{const _0x1f15d7=_0x5dfc95;process[_0x1f15d7(0x226)]=0x1;});_0x5e9dd4['getStdout']()&&_0x5e9dd4[_0x5dfc95(0x21f)]()['pipe'](process[_0x5dfc95(0x1e7)]);_0x5e9dd4['getStderr']()&&_0x5e9dd4[_0x5dfc95(0x236)]()[_0x5dfc95(0x1ef)](process[_0x5dfc95(0x1fe)]);const _0x2f3336=async()=>{const _0xb020be=_0x5dfc95,_0x47373a={'TuSWY':function(_0x1d0936,_0xe0469d){return _0x589878['LHEcI'](_0x1d0936,_0xe0469d);},'MZoSb':function(_0x2d933e,_0x4b213c){return _0x589878['oPYJI'](_0x2d933e,_0x4b213c);}};let _0x5ea7e0=0x0;const _0x14f3ee=_0x5e9dd4[_0xb020be(0x1f9)][_0xb020be(0x207)](),_0x480c25=()=>{},_0x1defb3=_0x14f3ee[_0xb020be(0x1d7)](async _0x28f17e=>{const _0x247e88=_0xb020be;_0x28f17e[_0x247e88(0x218)]([0x2,![]],_0x480c25,_0x480c25,_0x480c25),_0x28f17e[_0x247e88(0x20f)]['on'](_0x589878[_0x247e88(0x1de)],_0x27fd69=>{const _0x4de739=_0x247e88;_0x47373a[_0x4de739(0x208)](_0x5ea7e0,0x0)&&_0x47373a[_0x4de739(0x1dc)](_0x27fd69,0x0)&&(_0x5ea7e0=_0x27fd69);}),await _0x28f17e['waitForExit']();});await Promise['all'](_0x1defb3),process[_0xb020be(0x226)]=_0x5ea7e0;const {forceExited:_0xe1cca2}=await _0x5e9dd4[_0xb020be(0x1dd)]();_0xe1cca2&&console['error'](_0x589878[_0xb020be(0x1e0)]),_0x589878[_0xb020be(0x1f5)](_0x15b88a,_0x2264f6);},_0x1e97ca=_0x589878[_0x5dfc95(0x22c)](pLimit,_0x39110c),_0x13850c=_0x509d4a=>_0x1e97ca(async()=>{return _0x5e9dd4['vanillaWorker'](_0x509d4a);});Promise['all'](_0x157d7c[_0x5dfc95(0x1d7)](_0x3c2b30=>_0x13850c(_0x3c2b30)[_0x5dfc95(0x1e4)](_0x5b4796=>_0x3d273f[_0x5dfc95(0x1fd)](_0x5dfc95(0x1da),[_0x3c2b30['configuration'][_0x5dfc95(0x1fb)],_0x3c2b30['configuration'][_0x5dfc95(0x21d)]]),_0x4c42d2=>_0x3d273f[_0x5dfc95(0x1fd)](_0x5dfc95(0x1e3),[_0x3c2b30,_0x4c42d2]))))['then'](_0x2f3336,_0x2f3336);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a63_0x927846=a63_0x2634;(function(_0x8ef7ee,_0x58d17f){const _0x3c1034=a63_0x2634,_0x5c6d82=_0x8ef7ee();while(!![]){try{const _0x34153f=-parseInt(_0x3c1034(0xdf))/0x1+-parseInt(_0x3c1034(0xe8))/0x2+parseInt(_0x3c1034(0xde))/0x3*(parseInt(_0x3c1034(0xe0))/0x4)+-parseInt(_0x3c1034(0xe9))/0x5*(parseInt(_0x3c1034(0xe4))/0x6)+-parseInt(_0x3c1034(0xd9))/0x7+-parseInt(_0x3c1034(0xdc))/0x8+parseInt(_0x3c1034(0xe3))/0x9;if(_0x34153f===_0x58d17f)break;else _0x5c6d82['push'](_0x5c6d82['shift']());}catch(_0x482fe2){_0x5c6d82['push'](_0x5c6d82['shift']());}}}(a63_0x59d8,0xb677f));const PerformanceEvents=require(a63_0x927846(0xd8))[a63_0x927846(0xf1)],PerformanceTester=require(a63_0x927846(0xe2)),{sleep}=require('../../helpers/test-observability/utils');exports[a63_0x927846(0xf3)]=async(_0x113369,_0x21057d)=>{const _0x4ad00f=a63_0x927846,_0xbe12e0={'vNNZN':function(_0x203381,_0x4dbe31){return _0x203381(_0x4dbe31);},'HLXqZ':_0x4ad00f(0xea),'csghb':'mocha'};PerformanceTester[_0x4ad00f(0xeb)]();const _0x246c46=_0xbe12e0['vNNZN'](require,_0xbe12e0[_0x4ad00f(0xe7)]),_0x190e4c=new _0x246c46(_0xbe12e0[_0x4ad00f(0xed)],_0x113369,_0x21057d),_0x87b798=await _0x190e4c[_0x4ad00f(0xdd)]();return PerformanceTester[_0x4ad00f(0xec)](PerformanceEvents[_0x4ad00f(0xf2)]),await _0xbe12e0['vNNZN'](sleep,0x3e8),PerformanceTester[_0x4ad00f(0xe5)](),_0x87b798;},exports['runCucumberTest']=async(_0x4b8cce,_0x131655,_0x41c77a,_0x186bb4,_0x3b984c)=>{const _0x33d2ec=a63_0x927846,_0x571bcc={'maOrW':function(_0x26db96,_0x45455e){return _0x26db96(_0x45455e);},'TYSVk':_0x33d2ec(0xea),'Essyt':_0x33d2ec(0xee)},_0x41ded8={'capability':_0x4b8cce,..._0x131655},_0x48b68f={};_0x48b68f['configuration']=_0x41ded8,_0x48b68f[_0x33d2ec(0xda)]=_0x3b984c;const _0x5d9824=_0x48b68f,_0x35fd34=_0x571bcc[_0x33d2ec(0xe6)](require,_0x571bcc['TYSVk']),_0x80524f=new _0x35fd34(_0x571bcc[_0x33d2ec(0xf0)],_0x5d9824,_0x41c77a,_0x186bb4);return await _0x80524f[_0x33d2ec(0xdd)]();},exports[a63_0x927846(0xdb)]=async _0x399942=>{const _0x45af73=a63_0x927846,_0x5a2b0d={'JVdWc':function(_0x507c43,_0x17d33c){return _0x507c43(_0x17d33c);},'kmwqP':'../launcher/launcher','iCdqZ':'vanilla'},_0x2e023b=_0x5a2b0d[_0x45af73(0xe1)](require,_0x5a2b0d[_0x45af73(0xef)]),_0x1eb4de=new _0x2e023b(_0x5a2b0d['iCdqZ'],_0x399942);return await _0x1eb4de[_0x45af73(0xdd)]();};function a63_0x2634(_0x494a6e,_0x2e049a){const _0x59d8b8=a63_0x59d8();return a63_0x2634=function(_0x263468,_0x7fd871){_0x263468=_0x263468-0xd8;let _0x5967f1=_0x59d8b8[_0x263468];return _0x5967f1;},a63_0x2634(_0x494a6e,_0x2e049a);}function a63_0x59d8(){const _0x1ce794=['21138QUXizU','stopMonitoring','maOrW','HLXqZ','1571036yxbBrU','850TmeBsh','../launcher/launcher','startMonitoring','end','csghb','cucumber-js','kmwqP','Essyt','EVENTS','SDK_POST_TEST','runTest','../../helpers/performance/constants','10098816RIFptG','formatter','runVanillaTest','8909336AeqtIY','run','3HGUObc','299729Pzlfwd','1780472tZmLmr','JVdWc','../../helpers/performance/performance-tester','40885065wjedBT'];a63_0x59d8=function(){return _0x1ce794;};return a63_0x59d8();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0xb13323=a64_0x39d2;function a64_0x1e83(){const _0xf6559e=['892yWPmCH','770XoVLlK','apWkn','8256640HnIOXo','6OmAoxO','1107342oQAMhw','cqkKr','5841148VeNgKC','3365005yzttqV','cucumberWorker','1332335zZkLul','./runTest','../../helpers/driverInitErrorReporter','installAll','worker','508150SdrOwJ','5MVTcSu','syhcS','6948ieDOoK'];a64_0x1e83=function(){return _0xf6559e;};return a64_0x1e83();}(function(_0x623e9c,_0x4c1b38){const _0x4ea232=a64_0x39d2,_0x3347cf=_0x623e9c();while(!![]){try{const _0x2c9a20=parseInt(_0x4ea232(0x7f))/0x1+-parseInt(_0x4ea232(0x75))/0x2*(-parseInt(_0x4ea232(0x74))/0x3)+-parseInt(_0x4ea232(0x7c))/0x4*(-parseInt(_0x4ea232(0x72))/0x5)+-parseInt(_0x4ea232(0x79))/0x6*(parseInt(_0x4ea232(0x7d))/0x7)+parseInt(_0x4ea232(0x78))/0x8+parseInt(_0x4ea232(0x7a))/0x9+-parseInt(_0x4ea232(0x71))/0xa*(parseInt(_0x4ea232(0x76))/0xb);if(_0x2c9a20===_0x4c1b38)break;else _0x3347cf['push'](_0x3347cf['shift']());}catch(_0x211618){_0x3347cf['push'](_0x3347cf['shift']());}}}(a64_0x1e83,0xe633f));function a64_0x39d2(_0x20d78c,_0xe78812){const _0x1e8381=a64_0x1e83();return a64_0x39d2=function(_0x39d2ca,_0x4a7def){_0x39d2ca=_0x39d2ca-0x6f;let _0x534c67=_0x1e8381[_0x39d2ca];return _0x534c67;},a64_0x39d2(_0x20d78c,_0xe78812);}const {runTest,runCucumberTest,runVanillaTest}=require(a64_0xb13323(0x80));try{require(a64_0xb13323(0x81))[a64_0xb13323(0x6f)]();}catch(a64_0x29a6e7){}exports[a64_0xb13323(0x70)]=async(_0x387712,_0x229a91)=>{const _0xd97898=a64_0xb13323,_0x12a20c={'apWkn':function(_0x1e3558,_0x481ec4,_0x1bf3b6){return _0x1e3558(_0x481ec4,_0x1bf3b6);}};return await _0x12a20c[_0xd97898(0x77)](runTest,_0x387712,_0x229a91);},exports[a64_0xb13323(0x7e)]=async(_0x25948a,_0x122523,_0x1e5d60,_0x11fec0,_0x3dbe50)=>{const _0x4fe355=a64_0xb13323,_0x57ae90={'syhcS':function(_0x21e728,_0x1bf079,_0x40b259,_0x175ef5,_0x32e1c6,_0x590f6a){return _0x21e728(_0x1bf079,_0x40b259,_0x175ef5,_0x32e1c6,_0x590f6a);}};return await _0x57ae90[_0x4fe355(0x73)](runCucumberTest,_0x25948a,_0x122523,_0x1e5d60,_0x11fec0,_0x3dbe50);},exports['vanillaWorker']=async _0x263d95=>{const _0x15be08=a64_0xb13323,_0x1f5f21={'cqkKr':function(_0xead4d,_0x32ba65){return _0xead4d(_0x32ba65);}};return await _0x1f5f21[_0x15be08(0x7b)](runVanillaTest,_0x263d95);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a65_0x22850c=a65_0x7cae;(function(_0x5207d6,_0xdd8376){const _0x419379=a65_0x7cae,_0x401f70=_0x5207d6();while(!![]){try{const _0x16bf11=parseInt(_0x419379(0x1fa))/0x1+parseInt(_0x419379(0x217))/0x2+-parseInt(_0x419379(0x221))/0x3+parseInt(_0x419379(0x204))/0x4*(parseInt(_0x419379(0x206))/0x5)+-parseInt(_0x419379(0x1fd))/0x6*(-parseInt(_0x419379(0x1fc))/0x7)+-parseInt(_0x419379(0x20c))/0x8*(-parseInt(_0x419379(0x219))/0x9)+-parseInt(_0x419379(0x20d))/0xa*(parseInt(_0x419379(0x1f3))/0xb);if(_0x16bf11===_0xdd8376)break;else _0x401f70['push'](_0x401f70['shift']());}catch(_0xab6e3b){_0x401f70['push'](_0x401f70['shift']());}}}(a65_0x1a88,0xcc63b));const util=require(a65_0x22850c(0x1fe)),logger=require(a65_0x22850c(0x214))[a65_0x22850c(0x200)],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require(a65_0x22850c(0x222));async function _run(_0x5313aa,_0x566de0,_0x53ab05,_0x26ffdd){const _0x45face=a65_0x22850c,_0x53581b={'CnILd':function(_0x247c41,_0x35779d){return _0x247c41(_0x35779d);},'HInkq':_0x45face(0x203),'MojZE':function(_0x35a821,_0x3d7cc1){return _0x35a821!==_0x3d7cc1;},'enyur':_0x45face(0x212),'dSEpT':function(_0x85b833,_0x353c5c){return _0x85b833||_0x353c5c;},'hefMU':'[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','dodZR':_0x45face(0x21d)};try{const _0x1e223d=_0x53581b['CnILd'](require,_0x53581b['HInkq']),_0x3fe825=_0x1e223d[_0x45face(0x1ff)]();if(!_0x3fe825||!_0x3fe825[_0x45face(0x1f8)]())return null;const _0x4e9b2f=_0x3fe825[_0x45face(0x226)]&&_0x3fe825[_0x45face(0x226)]();if(!_0x4e9b2f)return null;if(_0x53581b['MojZE'](typeof _0x4e9b2f[_0x45face(0x208)],_0x53581b[_0x45face(0x225)]))return null;const _0x388b9e=_0x4e9b2f['getScriptByName'](_0x5313aa);if(!_0x388b9e||!_0x388b9e[_0x45face(0x202)])return logger[_0x45face(0x21f)]('[a11y-runner]\x20no\x20\x27'+_0x5313aa+_0x45face(0x1f7)),null;const _0x50f39e=await _0x566de0['executeAsyncScript'](_0x388b9e[_0x45face(0x202)],_0x53581b[_0x45face(0x216)](_0x26ffdd,{}));logger['debug'](_0x45face(0x21c)+_0x5313aa+_0x45face(0x209)+JSON['stringify'](_0x50f39e));try{const _0x218f21=AUTOMATION_LOG_COMMANDS[_0x45face(0x211)](_0x3fd841=>_0x388b9e['command'][_0x45face(0x218)](_0x3fd841));if(_0x218f21){const _0x504357={};_0x504357['body']=_0x50f39e,automationLogger['silly']('['+new Date()[_0x45face(0x213)]()+_0x45face(0x21a)+JSON[_0x45face(0x224)]({'request':{'command':_0x218f21,'parameters':[_0x53581b[_0x45face(0x216)](_0x26ffdd,{})]},'response':_0x504357}));}}catch(_0x501476){logger['debug'](util[_0x45face(0x205)](_0x53581b[_0x45face(0x1fb)],_0x5313aa,_0x501476));}return _0x50f39e;}catch(_0x138a23){return logger[_0x45face(0x21f)](util['format'](_0x53581b[_0x45face(0x201)],_0x5313aa,_0x138a23)),null;}}function a65_0x7cae(_0x11e3dc,_0x5b88f7){const _0x1a883b=a65_0x1a88();return a65_0x7cae=function(_0x7cae24,_0x45ee55){_0x7cae24=_0x7cae24-0x1f2;let _0x4f1245=_0x1a883b[_0x7cae24];return _0x4f1245;},a65_0x7cae(_0x11e3dc,_0x5b88f7);}function a65_0x1a88(){const _0x55b2dd=['661717wPUQHY','60djTbQa','util','getInstance','winstonLogger','dodZR','command','../v2/browserstackCLI','1140632GWTxTU','format','5GiaHFC','jWIXb','getScriptByName','\x20result:\x20','getCapabilityValue','mAbsx','4482488LGlKLn','32180KQwEBe','aRlGY','xKYBJ','env','find','function','toISOString','../../helpers/logger','BOKxJ','dSEpT','2335242KBAtRP','includes','9IqOlCJ','][\x20SDK-AUTOMATION\x20]\x20','saveResults','[a11y-runner]\x20','[a11y-runner]\x20%s\x20failed:\x20%O','KNBtO','debug','testhub_build_uuid','930885enRUBe','../utils/constants','runSaveResults','stringify','enyur','getAccessibilityModule','tOsyT','11891gmeUbO','gylrk','uqlYH','BROWSERSTACK_TESTHUB_JWT','\x27\x20script\x20available','isRunning','runScan','1667732XxXGmi','hefMU'];a65_0x1a88=function(){return _0x55b2dd;};return a65_0x1a88();}function _argsFor(_0x320e3d,_0x5e523c,_0x33e35a,_0xe4fed7){const _0x465514=a65_0x22850c,_0x18c3bd={'aRlGY':function(_0x5f4f4e,_0x5ea24f){return _0x5f4f4e(_0x5ea24f);},'jWIXb':_0x465514(0x203),'Acxib':function(_0x2029ed,_0x4b69f8){return _0x2029ed===_0x4b69f8;},'tOsyT':_0x465514(0x212),'eKSBl':_0x465514(0x220),'uqlYH':function(_0x51ec2a,_0x56fe16){return _0x51ec2a||_0x56fe16;},'gylrk':function(_0x58e643,_0x32f94f){return _0x58e643||_0x32f94f;}},_0x3d630b=_0x18c3bd[_0x465514(0x20e)](require,_0x18c3bd[_0x465514(0x207)]),_0x141698=_0x3d630b[_0x465514(0x1ff)](),_0x1e278d=_0x141698&&_0x141698[_0x465514(0x226)]&&_0x141698[_0x465514(0x226)]();let _0x552fe7='';const _0x158038=process[_0x465514(0x210)][_0x465514(0x1f6)]||'';try{_0x1e278d&&_0x18c3bd['Acxib'](typeof _0x1e278d[_0x465514(0x20a)],_0x18c3bd[_0x465514(0x1f2)])&&(_0x552fe7=_0x1e278d[_0x465514(0x20a)](_0x18c3bd['eKSBl'])||'');}catch(_0x37e691){}return{'thTestRunUuid':_0x18c3bd[_0x465514(0x1f5)](_0x5e523c,''),'thBuildUuid':_0x552fe7,'thJwtToken':_0x158038,'is_mobile_session':!!_0xe4fed7,'commandName':_0x18c3bd[_0x465514(0x1f4)](_0x33e35a,_0x320e3d)};}exports[a65_0x22850c(0x1f9)]=async(_0x4dfd28,_0x6b6a87,_0x4d7406,_0x510600)=>{const _0x494f23=a65_0x22850c,_0x1050c4={'nxXrc':function(_0xcdc840,_0x37dc0a,_0x5a4845,_0x3f5dc8,_0x3f0166){return _0xcdc840(_0x37dc0a,_0x5a4845,_0x3f5dc8,_0x3f0166);},'mAbsx':'scan','KNBtO':function(_0x2ff7b1,_0x44a9fc,_0x4b5110,_0x180c38,_0x624b35){return _0x2ff7b1(_0x44a9fc,_0x4b5110,_0x180c38,_0x624b35);}},_0x4e533e=_0x1050c4['nxXrc'](_argsFor,_0x1050c4[_0x494f23(0x20b)],_0x6b6a87,_0x4d7406,_0x510600);return _0x1050c4[_0x494f23(0x21e)](_run,_0x1050c4[_0x494f23(0x20b)],_0x4dfd28,_0x6b6a87,_0x4e533e);},exports[a65_0x22850c(0x223)]=async(_0x175fa4,_0xfaac17,_0x597a96)=>{const _0x233c74=a65_0x22850c,_0x447c={'BOKxJ':function(_0x1a748e,_0x30e9cb,_0x49c8fd,_0x313b37,_0x58256a){return _0x1a748e(_0x30e9cb,_0x49c8fd,_0x313b37,_0x58256a);},'xKYBJ':_0x233c74(0x21b)},_0x127b63=_0x447c[_0x233c74(0x215)](_argsFor,_0x447c[_0x233c74(0x20f)],_0xfaac17,_0x447c['xKYBJ'],_0x597a96);return _0x447c[_0x233c74(0x215)](_run,_0x447c[_0x233c74(0x20f)],_0x175fa4,_0xfaac17,_0x127b63);};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a66_0x46831e=a66_0x5340;(function(_0x2c772e,_0x3bbaa1){const _0x539940=a66_0x5340,_0x3d6585=_0x2c772e();while(!![]){try{const _0x317871=parseInt(_0x539940(0x232))/0x1*(parseInt(_0x539940(0x21f))/0x2)+-parseInt(_0x539940(0x1f4))/0x3+-parseInt(_0x539940(0x21a))/0x4+parseInt(_0x539940(0x175))/0x5+parseInt(_0x539940(0x1c3))/0x6*(-parseInt(_0x539940(0x242))/0x7)+-parseInt(_0x539940(0x204))/0x8*(-parseInt(_0x539940(0x1ed))/0x9)+parseInt(_0x539940(0x1fe))/0xa*(-parseInt(_0x539940(0x1c0))/0xb);if(_0x317871===_0x3bbaa1)break;else _0x3d6585['push'](_0x3d6585['shift']());}catch(_0x407935){_0x3d6585['push'](_0x3d6585['shift']());}}}(a66_0x2c22,0x434dd));const path=require(a66_0x46831e(0x26f)),logger=require(a66_0x46831e(0x1d8))[a66_0x46831e(0x1dd)],helper=require('../../helpers/helper'),utilities=require(a66_0x46831e(0x224)),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require(a66_0x46831e(0x1f7)),GrpcClient=require(a66_0x46831e(0x25f)),{printBuildLink}=require(a66_0x46831e(0x1ad)),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x4c2779=a66_0x46831e,_0x49b79b={};_0x49b79b['bziOq']=_0x4c2779(0x26a),_0x49b79b[_0x4c2779(0x1c5)]=_0x4c2779(0x213);const _0x2c0eb3=_0x49b79b;try{require['resolve'](_0x2c0eb3[_0x4c2779(0x272)],{'paths':[process[_0x4c2779(0x21b)]()]});}catch(_0xf577c5){throw new Error(_0x2c0eb3[_0x4c2779(0x1c5)]);}},loadTestCafeFactory=()=>{const _0x4b87db=a66_0x46831e,_0x16e627={'tXjBJ':_0x4b87db(0x26a),'QPrqo':function(_0x4941f4,_0x3376fb){return _0x4941f4(_0x3376fb);}},_0x9d4b59=require[_0x4b87db(0x1c1)](_0x16e627[_0x4b87db(0x194)],{'paths':[process['cwd']()]});return _0x16e627[_0x4b87db(0x19f)](require,_0x9d4b59);},w3cDriver=require(a66_0x46831e(0x255)),KNOWN_LOCAL_BROWSERS=new Set([a66_0x46831e(0x257),a66_0x46831e(0x191),a66_0x46831e(0x220),a66_0x46831e(0x20e),a66_0x46831e(0x1d4),'ie',a66_0x46831e(0x1ab),a66_0x46831e(0x198),a66_0x46831e(0x227),a66_0x46831e(0x17a)]),looksLikeBrowserArg=_0x168187=>{const _0x272551=a66_0x46831e,_0x490191={};_0x490191['HMkcn']=_0x272551(0x1cc),_0x490191['mJYaQ']=function(_0x2d8655,_0x1b1963){return _0x2d8655!==_0x1b1963;},_0x490191[_0x272551(0x17f)]=_0x272551(0x1dc),_0x490191['IumeT']='chrome:',_0x490191['jlThG']=_0x272551(0x1eb);const _0x239858=_0x490191,_0x34829e=_0x239858[_0x272551(0x262)][_0x272551(0x1d2)]('|');let _0x4b8ad7=0x0;while(!![]){switch(_0x34829e[_0x4b8ad7++]){case'0':if(_0x168187[_0x272551(0x266)](':')&&!_0x168187[_0x272551(0x266)]('/'))return!![];continue;case'1':return![];case'2':if(_0x239858[_0x272551(0x1a3)](typeof _0x168187,_0x239858[_0x272551(0x17f)]))return![];continue;case'3':if(KNOWN_LOCAL_BROWSERS['has'](_0x168187['toLowerCase']()))return!![];continue;case'4':if(_0x168187[_0x272551(0x1b2)](_0x239858[_0x272551(0x264)])||_0x168187[_0x272551(0x1b2)](_0x239858['jlThG']))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x1c34d4=>{const _0xfc425b=a66_0x46831e,_0x1a325c={'hKYGi':function(_0x44b121,_0x45e9ac){return _0x44b121<_0x45e9ac;},'gwhmC':function(_0x39d2fa,_0x5f17d9){return _0x39d2fa===_0x5f17d9;},'SrEpy':'--browsers','KICrj':'--browsers=','VJbAM':_0xfc425b(0x1be),'lUZRB':function(_0x112a4e,_0x29adc8,_0x395b58){return _0x112a4e(_0x29adc8,_0x395b58);},'AfTro':function(_0x32fa55,_0x57ef8e){return _0x32fa55+_0x57ef8e;},'AoJGr':function(_0x3e3878,_0x4a2ccc){return _0x3e3878+_0x4a2ccc;},'Pyajs':function(_0x23dafe,_0x38173f,_0x18d95e){return _0x23dafe(_0x38173f,_0x18d95e);},'yPbgo':function(_0x12868c,_0x4412f0,_0x291489){return _0x12868c(_0x4412f0,_0x291489);},'vFJPU':function(_0x1aa8df,_0x27f4c0){return _0x1aa8df(_0x27f4c0);}},_0x300f01=[];let _0x4ac44a;for(let _0x1cdafd=0x0;_0x1a325c[_0xfc425b(0x1b1)](_0x1cdafd,_0x1c34d4[_0xfc425b(0x19e)]);_0x1cdafd++){const _0x4aeb6d=_0x1c34d4[_0x1cdafd];if(_0x1a325c[_0xfc425b(0x25a)](_0x4aeb6d,'-b')||_0x1a325c['gwhmC'](_0x4aeb6d,_0x1a325c['SrEpy'])){_0x1cdafd++;continue;}if(_0x4aeb6d[_0xfc425b(0x1b2)](_0x1a325c[_0xfc425b(0x229)])||_0x4aeb6d['startsWith'](_0x1a325c[_0xfc425b(0x268)]))continue;const _0x27d773=_0x4aeb6d[_0xfc425b(0x1e9)](_CONCURRENCY_PATTERN);if(_0x27d773){if(_0x27d773[0x1]){_0x4ac44a=_0x1a325c[_0xfc425b(0x1b3)](parseInt,_0x27d773[0x1],0xa);continue;}if(_0x1c34d4[_0x1a325c[_0xfc425b(0x223)](_0x1cdafd,0x1)]&&/^\d+$/['test'](_0x1c34d4[_0x1a325c['AoJGr'](_0x1cdafd,0x1)])){_0x4ac44a=_0x1a325c[_0xfc425b(0x1ac)](parseInt,_0x1c34d4[_0x1a325c['AoJGr'](_0x1cdafd,0x1)],0xa),_0x1cdafd++;continue;}continue;}const _0x3550eb=_0x4aeb6d[_0xfc425b(0x1e9)](/^-c(\d+)$/);if(_0x3550eb){_0x4ac44a=_0x1a325c[_0xfc425b(0x1d9)](parseInt,_0x3550eb[0x1],0xa);continue;}if(_0x1a325c[_0xfc425b(0x1af)](looksLikeBrowserArg,_0x4aeb6d))continue;_0x300f01[_0xfc425b(0x1b0)](_0x4aeb6d);}const _0x236fdf={};return _0x236fdf[_0xfc425b(0x17d)]=_0x300f01,_0x236fdf[_0xfc425b(0x18f)]=_0x4ac44a,_0x236fdf;},parseCapabilities=_0x230cd6=>{const _0x48ceab=a66_0x46831e,_0x2cc866={};_0x2cc866[_0x48ceab(0x1c6)]=_0x48ceab(0x231),_0x2cc866['JkpxM']=_0x48ceab(0x1e6);const _0x4cc8c2=_0x2cc866,_0x1216e8=_0x230cd6[_0x48ceab(0x1f1)]&&_0x230cd6[_0x48ceab(0x1f1)]()||_0x230cd6[_0x48ceab(0x188)];if(!_0x1216e8)throw new Error(_0x4cc8c2[_0x48ceab(0x1c6)]);const _0x1be395=Buffer[_0x48ceab(0x1ba)](_0x1216e8)?_0x1216e8:Buffer['from'](_0x1216e8),_0x222d12=JSON[_0x48ceab(0x251)](_0x1be395[_0x48ceab(0x26e)](_0x4cc8c2[_0x48ceab(0x23c)])[_0x48ceab(0x1e1)]());if(_0x222d12[_0x48ceab(0x190)])return _0x222d12[_0x48ceab(0x190)];if(_0x222d12[_0x48ceab(0x188)]&&_0x222d12[_0x48ceab(0x188)][_0x48ceab(0x1f6)])return _0x222d12[_0x48ceab(0x188)][_0x48ceab(0x1f6)];return _0x222d12;};async function provisionSession(_0x54ebcf,_0x42a592){const _0x15daf0=a66_0x46831e,_0x3b8421={'TtvBJ':'testcafe','TEpih':function(_0x5016fd,_0x27ade8){return _0x5016fd(_0x27ade8);}};logger[_0x15daf0(0x1c4)](_0x15daf0(0x20f)+_0x42a592+']');const _0x49e2bd=await _0x54ebcf[_0x15daf0(0x1ea)](),_0x4b3f9c=await GrpcClient['getInstance']()[_0x15daf0(0x248)]({'platformIndex':_0x42a592,'ref':_0x3b8421['TtvBJ'],'userInputParams':Buffer[_0x15daf0(0x1ce)](JSON[_0x15daf0(0x208)]({})),'hubUrl':''}),_0x4b7fbd=_0x3b8421[_0x15daf0(0x172)](parseCapabilities,_0x4b3f9c),_0x35990d=(_0x4b3f9c[_0x15daf0(0x181)]&&_0x4b3f9c[_0x15daf0(0x181)]()||_0x4b3f9c[_0x15daf0(0x205)]||'')['trim']()||BrowserstackCLI[_0x15daf0(0x218)]()?.[_0x15daf0(0x207)]()?.[_0x15daf0(0x205)]||process[_0x15daf0(0x1a7)][_0x15daf0(0x1a2)];if(!_0x35990d)throw new Error(_0x15daf0(0x24c)+_0x42a592+_0x15daf0(0x274));logger[_0x15daf0(0x1c4)]('[testcafe]\x20platform['+_0x42a592+_0x15daf0(0x249)+_0x35990d);const _0x57c6b1={};_0x57c6b1[_0x15daf0(0x205)]=_0x35990d,_0x57c6b1[_0x15daf0(0x188)]=_0x4b7fbd;const {driver:_0x105776,sessionId:_0x433044}=await w3cDriver[_0x15daf0(0x22f)](_0x57c6b1);await _0x105776[_0x15daf0(0x1de)](_0x49e2bd[_0x15daf0(0x1c2)]);const _0x57d3e7={};_0x57d3e7['platformIndex']=_0x42a592,_0x57d3e7['driver']=_0x105776,_0x57d3e7[_0x15daf0(0x212)]=_0x433044,_0x57d3e7[_0x15daf0(0x17e)]=_0x49e2bd,_0x57d3e7[_0x15daf0(0x188)]=_0x4b7fbd,_0x57d3e7['hubUrl']=_0x35990d,registry[_0x15daf0(0x1f3)](_0x57d3e7),logger['info'](_0x15daf0(0x18b)+_0x42a592+']\x20BrowserStack\x20session='+_0x433044+_0x15daf0(0x26d)+_0x49e2bd[_0x15daf0(0x1c2)]);const _0x5774de={};return _0x5774de[_0x15daf0(0x17e)]=_0x49e2bd,_0x5774de['sessionId']=_0x433044,_0x5774de[_0x15daf0(0x253)]=_0x105776,_0x5774de[_0x15daf0(0x16e)]=_0x42a592,_0x5774de[_0x15daf0(0x188)]=_0x4b7fbd,_0x5774de[_0x15daf0(0x205)]=_0x35990d,_0x5774de;}async function run(_0x5e09bd,_0xa7f9f8,_0x506ec0){const _0x1f1b48=a66_0x46831e,_0x5e1493={'WMZKw':function(_0x30aba1,_0x2b626d){return _0x30aba1(_0x2b626d);},'EiLLH':function(_0x2827d9,_0x47d491,_0x16d45a){return _0x2827d9(_0x47d491,_0x16d45a);},'NfYAY':function(_0x2f5a05,_0x107908){return _0x2f5a05===_0x107908;},'Fwoil':'function','GOAVy':function(_0x4cf61c,_0x287ccf){return _0x4cf61c(_0x287ccf);},'xuKCG':function(_0xc9abb8,_0x2b8a58){return _0xc9abb8/_0x2b8a58;},'MBIgi':function(_0x4e9eb3,_0x1c2aae){return _0x4e9eb3/_0x1c2aae;},'XZocP':'unknown\x20error\x20(falsy)','zPwur':_0x1f1b48(0x1dc),'IHSwL':function(_0x2102ad,_0x4ba700){return _0x2102ad===_0x4ba700;},'FToEM':function(_0xb940e6,_0x43ee5c){return _0xb940e6(_0x43ee5c);},'rrQZr':_0x1f1b48(0x277),'TeTHA':function(_0x360947){return _0x360947();},'RtAOo':'BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','XYvPa':_0x1f1b48(0x173),'uOVdO':function(_0x363cc8,_0x500dc2){return _0x363cc8===_0x500dc2;},'FdcHU':function(_0x5ef33e,_0x2b8bae){return _0x5ef33e===_0x2b8bae;},'fYQGf':function(_0x282a8b,_0x37d1ec){return _0x282a8b&&_0x37d1ec;},'YzlrE':function(_0x30f8cf,_0x4b2314){return _0x30f8cf!==_0x4b2314;},'RHerj':_0x1f1b48(0x1fc),'ZuZeG':_0x1f1b48(0x26a),'dnVLW':'BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','RbHAP':function(_0x25b977,_0x3a34f4){return _0x25b977+_0x3a34f4;},'ZiPyJ':_0x1f1b48(0x23b),'jhIPI':_0x1f1b48(0x238),'Pdgwx':function(_0x4a85ed,_0x5354b4){return _0x4a85ed||_0x5354b4;},'KzWsO':function(_0x3adf96,_0x1c3ee9){return _0x3adf96===_0x1c3ee9;},'nQEPr':function(_0x4e5c01,_0x210569){return _0x4e5c01>_0x210569;},'uYvkc':_0x1f1b48(0x1f5),'MqTLn':_0x1f1b48(0x19a),'MwbTr':_0x1f1b48(0x254),'FADFQ':_0x1f1b48(0x210),'powSg':function(_0xf3a57e,_0x2ad7c4){return _0xf3a57e(_0x2ad7c4);},'urQLt':_0x1f1b48(0x240),'EukNP':_0x1f1b48(0x271),'icZJK':function(_0x4d14bc,_0x5988df){return _0x4d14bc(_0x5988df);},'KRxrs':_0x1f1b48(0x1ff),'NGzhv':'testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','bitlj':function(_0x5a7ed5,_0x3f2684){return _0x5a7ed5+_0x3f2684;},'rdtwJ':_0x1f1b48(0x24d),'TDPMT':_0x1f1b48(0x16d),'sDHYm':function(_0x3ca68b,_0x395676){return _0x3ca68b(_0x395676);},'xKraW':_0x1f1b48(0x250),'pWCvR':'index.js','xSEpp':_0x1f1b48(0x1e4),'eUuSs':function(_0x25419a,_0x2a7594){return _0x25419a<_0x2a7594;},'vntRw':function(_0x4df4d4,_0x421bac){return _0x4df4d4===_0x421bac;},'HWQKS':function(_0x487837,_0x34b175){return _0x487837===_0x34b175;},'gFalx':_0x1f1b48(0x1a6),'CGZLg':function(_0x257c1e,_0x22d8c0){return _0x257c1e+_0x22d8c0;},'GxajL':'--browsers=','uIEAM':_0x1f1b48(0x1be),'uLqrc':function(_0x481a36,_0x1b620d){return _0x481a36(_0x1b620d);},'djvWk':function(_0x43ab2b,_0x58018f){return _0x43ab2b===_0x58018f;},'sLcaz':_0x1f1b48(0x257),'IKohs':_0x1f1b48(0x23e),'vLitr':_0x1f1b48(0x1cb),'aMiYV':function(_0xcc236e,_0x45fca4){return _0xcc236e===_0x45fca4;},'uqPwQ':_0x1f1b48(0x239),'szYQX':function(_0x235392,_0x3eefe7){return _0x235392>_0x3eefe7;},'OpYty':function(_0x5e35c1){return _0x5e35c1();},'TWPyX':function(_0x1efb4c,_0x24fe43,_0x5140e3){return _0x1efb4c(_0x24fe43,_0x5140e3);},'sIvRf':function(_0xc56e1b,_0x546f09){return _0xc56e1b===_0x546f09;},'nWNca':function(_0x2d6754,_0x2708b7){return _0x2d6754>_0x2708b7;},'YEYfN':function(_0x22ee0b,_0x24795f){return _0x22ee0b*_0x24795f;},'biEcR':function(_0xee488e,_0x4075a3){return _0xee488e!==_0x4075a3;},'ZtmBr':_0x1f1b48(0x1ee),'UYZio':_0x1f1b48(0x215),'ptMlv':function(_0x531e5d){return _0x531e5d();}};_0x5e1493['TeTHA'](detectPeerDeps);if(!_0x506ec0[_0x1f1b48(0x1bd)]){logger['error'](_0x5e1493['RtAOo']);return;}const _0x4fb7dd=_0x506ec0[_0x1f1b48(0x1bd)],_0x507aee=_0x5e1493[_0x1f1b48(0x1b6)](_0x4fb7dd[_0x1f1b48(0x222)],![])||_0x5e1493[_0x1f1b48(0x1b6)](_0x4fb7dd[_0x1f1b48(0x222)],_0x5e1493[_0x1f1b48(0x187)])||_0x5e1493[_0x1f1b48(0x20c)](_0x5e1493[_0x1f1b48(0x184)](String,_0x4fb7dd[_0x1f1b48(0x222)]||'')[_0x1f1b48(0x1f8)](),_0x5e1493['XYvPa']),_0x2d0e20=_0x5e1493[_0x1f1b48(0x1b6)](_0x4fb7dd['browserstackLocal'],![])||_0x5e1493['IHSwL'](_0x4fb7dd[_0x1f1b48(0x192)],_0x5e1493[_0x1f1b48(0x187)])||_0x5e1493[_0x1f1b48(0x1e3)](_0x5e1493[_0x1f1b48(0x24a)](String,_0x5e1493[_0x1f1b48(0x1e3)](_0x4fb7dd[_0x1f1b48(0x192)],undefined)?'':_0x4fb7dd[_0x1f1b48(0x192)])['toLowerCase'](),_0x5e1493['XYvPa']);_0x5e1493[_0x1f1b48(0x168)](!_0x507aee,!_0x2d0e20)&&_0x5e1493[_0x1f1b48(0x1bf)](_0x4fb7dd[_0x1f1b48(0x192)],!![])&&(logger[_0x1f1b48(0x1c4)](_0x5e1493[_0x1f1b48(0x1ca)]),_0x4fb7dd[_0x1f1b48(0x192)]=!![]);await _0x506ec0[_0x1f1b48(0x1da)](_0x5e09bd),CLIUtils[_0x1f1b48(0x1c9)](_0x5e1493[_0x1f1b48(0x256)],_0x5e1493[_0x1f1b48(0x256)]),BrowserstackCLI[_0x1f1b48(0x218)]()['setBrowserstackConfig'](_0x506ec0[_0x1f1b48(0x1bd)],_0x506ec0[_0x1f1b48(0x185)],_0x506ec0['cliConfig']);try{await BrowserstackCLI[_0x1f1b48(0x218)]()['bootstrap']();if(!BrowserstackCLI[_0x1f1b48(0x218)]()['isRunning']())throw new Error(_0x5e1493[_0x1f1b48(0x1c7)]);}catch(_0x3c3309){process[_0x1f1b48(0x25b)]['write'](_0x5e1493['RbHAP'](_0x5e1493[_0x1f1b48(0x18d)]('[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20'+_0x3c3309[_0x1f1b48(0x193)]+'\x0a',_0x5e1493[_0x1f1b48(0x1aa)]),_0x5e1493[_0x1f1b48(0x22c)])),logger['error'](_0x1f1b48(0x1f0)+(_0x3c3309[_0x1f1b48(0x230)]||_0x3c3309)),process[_0x1f1b48(0x200)]=0x1;return;}const _0x5968c6=BrowserstackCLI['getInstance']()[_0x1f1b48(0x207)](),_0x24a3cc=_0x506ec0[_0x1f1b48(0x1bd)]||{};let _0x222b86=_0x5e1493[_0x1f1b48(0x1b9)](_0x5968c6,_0x24a3cc)||{},_0x59546c=Array['isArray'](_0x222b86[_0x1f1b48(0x203)])?_0x222b86['platforms']:[];_0x5e1493[_0x1f1b48(0x16f)](_0x59546c[_0x1f1b48(0x19e)],0x0)&&Array[_0x1f1b48(0x21e)](_0x24a3cc[_0x1f1b48(0x203)])&&_0x5e1493[_0x1f1b48(0x1d5)](_0x24a3cc[_0x1f1b48(0x203)][_0x1f1b48(0x19e)],0x0)&&(logger[_0x1f1b48(0x16b)]('testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n='+_0x24a3cc['platforms'][_0x1f1b48(0x19e)]+')'),_0x222b86=_0x24a3cc,_0x59546c=_0x24a3cc[_0x1f1b48(0x203)]);if(_0x5e1493[_0x1f1b48(0x1a5)](_0x59546c[_0x1f1b48(0x19e)],0x0)){process['stderr'][_0x1f1b48(0x25e)](_0x5e1493[_0x1f1b48(0x260)]),process[_0x1f1b48(0x200)]=0x1;return;}if(_0x5e1493[_0x1f1b48(0x16f)](_0x222b86['percy'],!![])||_0x222b86[_0x1f1b48(0x1f2)]&&_0x222b86[_0x1f1b48(0x1f2)][_0x1f1b48(0x1db)]){const _0x242435=_0x5e1493[_0x1f1b48(0x1c8)];process['stderr'][_0x1f1b48(0x25e)](_0x5e1493[_0x1f1b48(0x18d)](_0x242435,'\x0a')),logger[_0x1f1b48(0x16b)](_0x242435);}const {testSources:_0x42895b,concurrency:_0x298e5d}=_0x5e1493['FToEM'](filterArgs,_0xa7f9f8['slice'](0x1));if(_0x5e1493['FdcHU'](_0x42895b['length'],0x0)){process[_0x1f1b48(0x25b)]['write'](_0x5e1493[_0x1f1b48(0x18a)]),process[_0x1f1b48(0x200)]=0x1;return;}logger[_0x1f1b48(0x1c4)](_0x1f1b48(0x1a1)+JSON[_0x1f1b48(0x208)](_0x42895b)+_0x1f1b48(0x1e0)+_0x59546c['length']+',\x20concurrency='+_0x5e1493['Pdgwx'](_0x298e5d,_0x5e1493[_0x1f1b48(0x228)]));let _0x30d51c;try{_0x30d51c=_0x5e1493[_0x1f1b48(0x17c)](loadTestCafeFactory);}catch(_0x2e6d40){process[_0x1f1b48(0x25b)][_0x1f1b48(0x25e)]('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0x2e6d40[_0x1f1b48(0x193)]+'\x0a'),process['exitCode']=0x1;return;}const _0x1f9759=await _0x5e1493['powSg'](_0x30d51c,_0x5e1493[_0x1f1b48(0x246)]);let _0x3a3cb6=0x1;const _0x380888=0x7530,_0x4211f5=[],_0x1f87d6=(_0x25b535,_0x343dca)=>{const _0x5cc3dc=_0x1f1b48,_0x24ad98=_0x5e1493[_0x5cc3dc(0x169)](setInterval,async()=>{const _0x92812d=_0x5cc3dc;try{await _0x25b535[_0x92812d(0x235)]();}catch(_0x4f182b){logger[_0x92812d(0x202)](_0x92812d(0x225)+_0x343dca+':\x20'+_0x4f182b['message']+'\x20—\x20stopping\x20pings\x20for\x20this\x20session'),_0x5e1493['WMZKw'](clearInterval,_0x24ad98);}},_0x380888);_0x5e1493[_0x5cc3dc(0x1b6)](typeof _0x24ad98[_0x5cc3dc(0x176)],_0x5e1493['Fwoil'])&&_0x24ad98['unref'](),_0x4211f5[_0x5cc3dc(0x1b0)](_0x24ad98);},_0xec2ed2=()=>{const _0x460cce=_0x1f1b48;for(const _0x4b6f01 of _0x4211f5){_0x5e1493[_0x460cce(0x184)](clearInterval,_0x4b6f01);}_0x4211f5['length']=0x0;};_0x3a3cb6=0x0;const _0x3a589d=_0x5e1493['WMZKw'](require,_0x5e1493[_0x1f1b48(0x214)]);_0x3a589d['install']();try{const _0x25034f=BrowserstackCLI[_0x1f1b48(0x218)]()['getAccessibilityModule']&&BrowserstackCLI[_0x1f1b48(0x218)]()['getAccessibilityModule'](),_0x579989=_0x25034f&&_0x25034f[_0x1f1b48(0x275)]&&_0x25034f[_0x1f1b48(0x275)][_0x1f1b48(0x1e2)]&&_0x25034f[_0x1f1b48(0x275)][_0x1f1b48(0x1e2)][_0x1f1b48(0x211)]&&(_0x25034f[_0x1f1b48(0x275)]['options'][_0x1f1b48(0x211)]['commandsList']||_0x25034f[_0x1f1b48(0x275)][_0x1f1b48(0x1e2)][_0x1f1b48(0x211)][_0x1f1b48(0x24b)]);if(Array[_0x1f1b48(0x21e)](_0x579989)&&_0x5e1493[_0x1f1b48(0x1d5)](_0x579989['length'],0x0)){const _0x1b7aa3=_0x5e1493[_0x1f1b48(0x1e7)](require,_0x5e1493[_0x1f1b48(0x180)]),_0x508502=_0x579989['map'](_0x255ff7=>({'name':_0x255ff7[_0x1f1b48(0x24f)]&&_0x255ff7['getName']()||_0x255ff7[_0x1f1b48(0x1d0)],'module':_0x255ff7['getModule']&&_0x255ff7['getModule']()||_0x255ff7['module'],'method':_0x255ff7[_0x1f1b48(0x236)]&&_0x255ff7[_0x1f1b48(0x236)]()||_0x255ff7[_0x1f1b48(0x245)]}));_0x1b7aa3[_0x1f1b48(0x22a)](_0x508502);}else logger['debug'](_0x5e1493[_0x1f1b48(0x1cd)]);}catch(_0x471d99){logger[_0x1f1b48(0x202)](_0x1f1b48(0x201)+(_0x471d99['message']||_0x471d99));}let _0xa312b6='',_0x3c25d7=null;try{const _0x1490cf=await GrpcClient[_0x1f1b48(0x218)]()[_0x1f1b48(0x25c)]();_0xa312b6=_0x1490cf['getRerunTestGrep']&&_0x1490cf[_0x1f1b48(0x269)]()||_0x1490cf[_0x1f1b48(0x183)]||'';if(_0xa312b6)try{_0x3c25d7=new RegExp(_0xa312b6),logger[_0x1f1b48(0x1c4)]('testcafe/command.js:\x20applied\x20rerun\x20filter\x20'+_0xa312b6);}catch(_0x516309){const _0x4b371f=_0x1f1b48(0x1b7)+_0x516309['message']+_0x1f1b48(0x1d6)+_0xa312b6;process[_0x1f1b48(0x25b)]['write'](_0x5e1493[_0x1f1b48(0x1fd)](_0x4b371f,'\x0a')),logger['error'](_0x4b371f),process[_0x1f1b48(0x200)]=0x1;return;}}catch(_0x1466cb){if(process[_0x1f1b48(0x1a7)][_0x1f1b48(0x171)]){const _0x30e07b=_0x5e1493[_0x1f1b48(0x1e5)];process[_0x1f1b48(0x25b)][_0x1f1b48(0x25e)](_0x30e07b),logger['error']('testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20'+_0x1466cb[_0x1f1b48(0x193)]),process[_0x1f1b48(0x200)]=0x1;return;}logger[_0x1f1b48(0x202)](_0x5e1493['TDPMT'],_0x1466cb);}const _0x35299e=_0x5e1493[_0x1f1b48(0x20b)](require,path[_0x1f1b48(0x1c1)](__dirname,_0x5e1493[_0x1f1b48(0x26c)],_0x5e1493[_0x1f1b48(0x1fa)])),_0x3cdfec=_0x5e1493[_0x1f1b48(0x16f)](_0x222b86[_0x1f1b48(0x222)],![])||_0x5e1493['uOVdO'](_0x222b86[_0x1f1b48(0x222)],_0x5e1493[_0x1f1b48(0x187)])||_0x5e1493[_0x1f1b48(0x16f)](_0x5e1493[_0x1f1b48(0x23f)](String,_0x222b86[_0x1f1b48(0x222)]||'')['toLowerCase'](),_0x5e1493[_0x1f1b48(0x187)]);if(_0x3cdfec){logger[_0x1f1b48(0x1c4)](_0x5e1493['xSEpp']);const _0x415538=[];for(let _0x432639=0x0;_0x5e1493['eUuSs'](_0x432639,_0xa7f9f8[_0x1f1b48(0x19e)]);_0x432639++){const _0xc36316=_0xa7f9f8[_0x432639];if(_0x5e1493[_0x1f1b48(0x170)](_0xc36316,'-b')||_0x5e1493[_0x1f1b48(0x219)](_0xc36316,_0x5e1493[_0x1f1b48(0x16c)])){_0xa7f9f8[_0x5e1493[_0x1f1b48(0x18d)](_0x432639,0x1)]&&_0x415538['push'](_0xa7f9f8[_0x5e1493['CGZLg'](_0x432639,0x1)]);_0x432639++;continue;}if(_0xc36316['startsWith'](_0x5e1493['GxajL'])){_0x415538[_0x1f1b48(0x1b0)](_0xc36316[_0x1f1b48(0x263)](_0x5e1493[_0x1f1b48(0x1b4)][_0x1f1b48(0x19e)]));continue;}if(_0xc36316[_0x1f1b48(0x1b2)](_0x5e1493[_0x1f1b48(0x1f9)])){_0x415538['push'](_0xc36316[_0x1f1b48(0x263)](_0x5e1493[_0x1f1b48(0x1f9)][_0x1f1b48(0x19e)]));continue;}_0x5e1493['uLqrc'](looksLikeBrowserArg,_0xc36316)&&_0x415538['push'](_0xc36316);}_0x5e1493['djvWk'](_0x415538[_0x1f1b48(0x19e)],0x0)&&(_0x415538[_0x1f1b48(0x1b0)](_0x5e1493[_0x1f1b48(0x18c)]),logger['info'](_0x5e1493[_0x1f1b48(0x259)]));let _0x33edac=0x1;try{const _0x3c332f=_0x1f9759['createRunner']();_0x3c332f[_0x1f1b48(0x1e8)](_0x42895b),_0x3c332f[_0x1f1b48(0x267)](_0x415538),_0x3c332f['reporter']([_0x5e1493[_0x1f1b48(0x243)],_0x35299e]),_0x5e1493[_0x1f1b48(0x19c)](typeof _0x298e5d,_0x5e1493[_0x1f1b48(0x261)])&&_0x5e1493[_0x1f1b48(0x182)](_0x298e5d,0x0)&&_0x3c332f['concurrency'](_0x298e5d),_0x3c25d7&&_0x3c332f[_0x1f1b48(0x252)](_0x421e25=>_0x3c25d7['test'](_0x421e25)),_0x33edac=await _0x3c332f['run'](),logger[_0x1f1b48(0x1c4)]('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x33edac);}catch(_0x44ce15){logger[_0x1f1b48(0x196)](_0x1f1b48(0x167)+(_0x44ce15[_0x1f1b48(0x230)]||_0x44ce15)),process[_0x1f1b48(0x25b)][_0x1f1b48(0x25e)](_0x1f1b48(0x21d)+_0x44ce15['message']+'\x0a'),_0x33edac=0x1;}finally{_0x3a3cb6=_0x33edac;try{_0x3a589d['uninstall']();}catch(_0x34453e){}try{await _0x1f9759[_0x1f1b48(0x265)]();}catch(_0x55ccc5){logger[_0x1f1b48(0x202)]('tc.close\x20error:\x20'+_0x55ccc5[_0x1f1b48(0x193)]);}try{const _0x2ff2fc=BrowserstackCLI[_0x1f1b48(0x218)]()[_0x1f1b48(0x1df)]();_0x2ff2fc&&_0x5e1493['IHSwL'](typeof _0x2ff2fc[_0x1f1b48(0x1d1)],_0x5e1493[_0x1f1b48(0x226)])&&await _0x2ff2fc['finalizeOrphans']();}catch(_0x5877c9){logger[_0x1f1b48(0x202)](_0x1f1b48(0x273)+_0x5877c9[_0x1f1b48(0x193)]);}const _0x5a51cd=BrowserstackCLI[_0x1f1b48(0x23a)]();await BrowserstackCLI['getInstance']()[_0x1f1b48(0x247)]()[_0x1f1b48(0x16a)](_0x95090a=>{const _0xe3fa00=_0x1f1b48;logger[_0xe3fa00(0x202)](_0xe3fa00(0x186)+_0x95090a['message']);}),_0x5e1493[_0x1f1b48(0x270)](printBuildLink),await utilities['finalExecution'](_0x506ec0,_0x5a51cd)[_0x1f1b48(0x16a)](_0xb2a754=>{const _0x360abb=_0x1f1b48;logger[_0x360abb(0x202)](_0x360abb(0x19d)+_0xb2a754[_0x360abb(0x193)]);}),process[_0x1f1b48(0x200)]=_0x3a3cb6,logger['info']('testcafe/command.js:\x20exit\x20code='+_0x3a3cb6);}return;}try{for(let _0x2f6c98=0x0;_0x5e1493['eUuSs'](_0x2f6c98,_0x59546c[_0x1f1b48(0x19e)]);_0x2f6c98++){logger['info']('testcafe/command.js:\x20starting\x20platform['+_0x2f6c98+_0x1f1b48(0x22d)+_0x5e1493['CGZLg'](_0x2f6c98,0x1)+'/'+_0x59546c[_0x1f1b48(0x19e)]+')');let _0x38d680=0x1,_0x48965b=null,_0x119b4e=null;try{_0x48965b=await _0x5e1493[_0x1f1b48(0x169)](provisionSession,_0x1f9759,_0x2f6c98),_0x5e1493['TWPyX'](_0x1f87d6,_0x48965b[_0x1f1b48(0x253)],_0x48965b[_0x1f1b48(0x212)]);const _0x456ee7=_0x1f9759['createRunner']();_0x456ee7[_0x1f1b48(0x1e8)](_0x42895b),_0x456ee7[_0x1f1b48(0x267)]([_0x48965b[_0x1f1b48(0x17e)]]),_0x456ee7['reporter']([_0x5e1493[_0x1f1b48(0x243)],_0x35299e]);_0x5e1493[_0x1f1b48(0x1bc)](typeof _0x298e5d,_0x5e1493[_0x1f1b48(0x261)])&&_0x5e1493[_0x1f1b48(0x1b5)](_0x298e5d,0x0)&&_0x456ee7[_0x1f1b48(0x18f)](_0x298e5d);_0x3c25d7&&_0x456ee7[_0x1f1b48(0x252)](_0x1b3617=>_0x3c25d7[_0x1f1b48(0x18e)](_0x1b3617));const _0x3e2a24=_0x222b86&&_0x222b86[_0x1f1b48(0x199)]||0x12c,_0x35ab33=_0x5e1493[_0x1f1b48(0x19b)](_0x5e1493[_0x1f1b48(0x206)](_0x3e2a24,0x3c),0x3e8);_0x38d680=await Promise['race']([_0x456ee7['run'](),new Promise(_0x41de42=>setTimeout(()=>{const _0x96189b=_0x1f1b48;logger[_0x96189b(0x16b)](_0x96189b(0x24e)+_0x2f6c98+']\x20runner.run()\x20timed\x20out\x20after\x20'+_0x5e1493[_0x96189b(0x217)](_0x35ab33,0x3e8)+_0x96189b(0x25d)),_0x119b4e=_0x96189b(0x278)+_0x5e1493['MBIgi'](_0x35ab33,0x3e8)+_0x96189b(0x197),_0x5e1493[_0x96189b(0x23f)](_0x41de42,0x1);},_0x35ab33))]),logger['info'](_0x1f1b48(0x24e)+_0x2f6c98+_0x1f1b48(0x209)+_0x38d680),_0x5e1493['YzlrE'](_0x38d680,0x0)&&!_0x119b4e&&(_0x119b4e=_0x1f1b48(0x221)+_0x38d680);}catch(_0x349da1){const _0x2394ff=((()=>{const _0x137702=_0x1f1b48;if(!_0x349da1)return _0x5e1493[_0x137702(0x234)];if(_0x5e1493[_0x137702(0x1b6)](typeof _0x349da1,_0x5e1493[_0x137702(0x17b)]))return _0x349da1;if(_0x5e1493[_0x137702(0x1a5)](typeof _0x349da1['message'],_0x5e1493[_0x137702(0x17b)])&&_0x349da1[_0x137702(0x193)])return _0x349da1['message'];try{return JSON[_0x137702(0x208)](_0x349da1[_0x137702(0x193)]??_0x349da1,null,0x2);}catch(_0x182850){const _0x1531c1={};return _0x1531c1[_0x137702(0x1fb)]=0x4,_0x5e1493[_0x137702(0x24a)](require,_0x5e1493['rrQZr'])[_0x137702(0x20d)](_0x349da1['message']??_0x349da1,_0x1531c1);}})()),_0x19cd8b={};_0x19cd8b['code']=_0x349da1&&_0x349da1['code'],_0x19cd8b[_0x1f1b48(0x1a4)]=_0x349da1&&_0x349da1['type'],_0x19cd8b[_0x1f1b48(0x233)]=_0x349da1&&_0x349da1['data'],_0x19cd8b[_0x1f1b48(0x1d0)]=_0x349da1&&_0x349da1['name'],_0x19cd8b[_0x1f1b48(0x22e)]=_0x349da1&&_0x349da1['constructor']&&_0x349da1[_0x1f1b48(0x22e)][_0x1f1b48(0x1d0)];const _0x27bc16=_0x19cd8b;logger['error']('testcafe/command.js:\x20platform['+_0x2f6c98+']\x20run\x20failed\x20—\x20'+_0x2394ff+_0x1f1b48(0x1a8)+JSON['stringify'](_0x27bc16)+')\x0a'+(_0x349da1&&_0x349da1['stack']||'')),process[_0x1f1b48(0x25b)][_0x1f1b48(0x25e)](_0x1f1b48(0x237)+_0x2f6c98+_0x1f1b48(0x174)+_0x2394ff+'\x0a'),_0x38d680=0x1,_0x119b4e=_0x2394ff;}finally{try{if(_0x48965b&&_0x5e1493[_0x1f1b48(0x1b8)](_0x48965b['platformIndex'],undefined)){const _0x292f04=_0x5e1493['vntRw'](_0x38d680,0x0)?_0x5e1493[_0x1f1b48(0x21c)]:_0x5e1493[_0x1f1b48(0x216)],_0x267d31=_0x119b4e;registry['markStatus'](_0x48965b[_0x1f1b48(0x16e)],_0x292f04,_0x267d31);}}catch(_0x172eea){logger[_0x1f1b48(0x16b)](_0x1f1b48(0x1ec)+_0x2f6c98+_0x1f1b48(0x174)+_0x172eea[_0x1f1b48(0x193)]);}await registry[_0x1f1b48(0x177)](),_0x5e1493[_0x1f1b48(0x17c)](_0xec2ed2);}_0x5e1493[_0x1f1b48(0x1b8)](_0x38d680,0x0)&&_0x5e1493[_0x1f1b48(0x1a5)](_0x3a3cb6,0x0)&&(_0x3a3cb6=_0x38d680);}}finally{try{_0x3a589d[_0x1f1b48(0x22b)]();}catch(_0x50047c){}try{await _0x1f9759[_0x1f1b48(0x265)]();}catch(_0x1f8fdb){logger[_0x1f1b48(0x202)]('tc.close\x20error:\x20'+_0x1f8fdb[_0x1f1b48(0x193)]);}try{const _0x217a47=BrowserstackCLI[_0x1f1b48(0x218)]()[_0x1f1b48(0x1df)]();_0x217a47&&_0x5e1493[_0x1f1b48(0x1bc)](typeof _0x217a47['finalizeOrphans'],_0x5e1493['Fwoil'])&&await _0x217a47['finalizeOrphans']();}catch(_0x5366d9){logger[_0x1f1b48(0x202)](_0x1f1b48(0x273)+_0x5366d9[_0x1f1b48(0x193)]);}const _0x495e3a=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI['getInstance']()[_0x1f1b48(0x247)]()[_0x1f1b48(0x16a)](_0x5e0e5d=>{const _0xde4c33=_0x1f1b48;logger[_0xde4c33(0x202)]('BrowserstackCLI.stop\x20error:\x20'+_0x5e0e5d[_0xde4c33(0x193)]);}),_0x5e1493[_0x1f1b48(0x1a0)](printBuildLink),await utilities[_0x1f1b48(0x189)](_0x506ec0,_0x495e3a)['catch'](_0xca63f0=>{const _0x376578=_0x1f1b48;logger['debug']('finalExecution\x20error:\x20'+_0xca63f0[_0x376578(0x193)]);}),process[_0x1f1b48(0x200)]=_0x3a3cb6,logger['info'](_0x1f1b48(0x1d3)+_0x3a3cb6);}}let _isExiting=![];function a66_0x2c22(){const _0x1ef4fb=['testSources','connection','hlLxj','KRxrs','getHubUrl','szYQX','rerunTestGrep','GOAVy','configPath','BrowserstackCLI.stop\x20error:\x20','XYvPa','capabilities','finalExecution','MwbTr','[testcafe]\x20platform[','sLcaz','RbHAP','test','concurrency','desiredCapabilities','chromium','browserstackLocal','message','tXjBJ','SIGINT','error','s\x20timeout\x20(idleTimeout\x20+\x2060s)','chrome:headless','idleTimeout','[BrowserStack\x20SDK]\x20Percy\x20is\x20not\x20yet\x20supported\x20for\x20TestCafe\x20—\x20per-test\x20snapshot\x20instrumentation\x20is\x20in\x20development.\x20Remove\x20`percy`\x20from\x20browserstack.yml\x20or\x20wait\x20for\x20the\x20next\x20release\x20that\x20wires\x20it.','YEYfN','aMiYV','finalExecution\x20error:\x20','length','QPrqo','ptMlv','testcafe/command.js:\x20testSources=','BROWSERSTACK_HUB_URL','mJYaQ','type','IHSwL','--browsers','env','\x20(meta=','DyhSN','ZiPyJ','opera','Pyajs','../../helpers/test-observability/utils','pid','vFJPU','push','hKYGi','startsWith','lUZRB','GxajL','nWNca','NfYAY','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','biEcR','Pdgwx','isBuffer','SIGTERM','sIvRf','config','-b=','YzlrE','13343XhmjkG','resolve','url','408756VgShUW','info','RxdXA','YEMFD','dnVLW','MqTLn','setFrameworkDetail','RHerj','spec','2|0|3|4|1','NGzhv','from','\x20before\x20runner.run()\x20completed','name','finalizeOrphans','split','testcafe/command.js:\x20exit\x20code=','edge','nQEPr','.\x20Pattern:\x20','exports','../../helpers/logger','yPbgo','initialize','projectToken','string','winstonLogger','navigateTo','getTestFramework',',\x20platforms=','trim','options','FdcHU','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','rdtwJ','utf8','icZJK','src','match','createBrowserConnection','firefox:','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','2630187vSwhQF','passed','race','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','getCapabilities','percy','register','556764UAFoap','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','alwaysMatch','../v2/browserstackCLI','toLowerCase','uIEAM','pWCvR','depth','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','bitlj','930ZVQuoe','./testcafe-action-patcher','exitCode','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','debug','platforms','8XfSmIT','hubUrl','CGZLg','getConfig','stringify',']\x20finished\x20with\x20exit=','markStatus','sDHYm','uOVdO','inspect','safari','[testcafe]\x20provisioning\x20session\x20for\x20platform[','default','commandsToWrap','sessionId','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','EukNP','failed','UYZio','xuKCG','getInstance','HWQKS','756908iqeCdK','cwd','ZtmBr','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','isArray','2666VRnOPq','firefox','TestCafe\x20runner\x20exited\x20with\x20code\x20','browserstackAutomation','AfTro','../../helpers/utilities','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','Fwoil','firefox:headless','FADFQ','KICrj','install','uninstall','jhIPI',']\x20(','constructor','openSession','stack','DriverInit\x20returned\x20no\x20capabilities','21hESNUR','data','XZocP','getCurrentUrl','getMethod','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','number','isCLIEnabled','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','JkpxM','fGbGF','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','WMZKw','bs-local.com','ZItEz','7GSXTfT','vLitr','kill','method','urQLt','stop','driverInit',']\x20hubUrl=','FToEM','commands','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','testcafe/command.js:\x20platform[','getName','reporter','parse','filter','driver','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','./w3c-driver','ZuZeG','chrome','listEntries','IKohs','gwhmC','stderr','testCafeConfig','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','write','../v2/grpcClient','uYvkc','uqPwQ','HMkcn','slice','IumeT','close','includes','browsers','VJbAM','getRerunTestGrep','testcafe','removeListener','xKraW','\x20→\x20','toString','path','OpYty','./stdout-interceptor','bziOq','finalizeOrphans\x20error:\x20',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','accessibilityConfig','IWAOa','util','runner.run()\x20exceeded\x20','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','fYQGf','EiLLH','catch','warn','gFalx','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','platformIndex','KzWsO','vntRw','BROWSERSTACK_RERUN','TEpih','false',']:\x20','2555955pgjNqa','unref','quitAll','qfbKq','rZhEP','remote','zPwur','TeTHA'];a66_0x2c22=function(){return _0x1ef4fb;};return a66_0x2c22();}function a66_0x5340(_0x3bbd45,_0x16d2c8){const _0x2c22d9=a66_0x2c22();return a66_0x5340=function(_0x53408e,_0x586b21){_0x53408e=_0x53408e-0x167;let _0x13716f=_0x2c22d9[_0x53408e];return _0x13716f;},a66_0x5340(_0x3bbd45,_0x16d2c8);}const propagateSignal=_0x5082c1=>{const _0x4d9416=a66_0x46831e,_0x3da03d={};_0x3da03d['IWAOa']='failed',_0x3da03d[_0x4d9416(0x241)]='SIGINT',_0x3da03d[_0x4d9416(0x1a9)]=_0x4d9416(0x1bb);const _0x20a523=_0x3da03d;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x2844ef=_0x4d9416;try{const _0x9260e8=registry[_0x2844ef(0x258)]();for(const _0x20be7f of _0x9260e8){try{registry[_0x2844ef(0x20a)](_0x20be7f['platformIndex'],_0x20a523[_0x2844ef(0x276)],'Aborted\x20by\x20'+_0x5082c1+_0x2844ef(0x1cf));}catch(_0x346f22){}}await Promise[_0x2844ef(0x1ef)]([registry['quitAll'](),new Promise(_0x6f1aa8=>setTimeout(_0x6f1aa8,0x1388))]);}catch(_0x181a29){}process[_0x2844ef(0x26b)](_0x20a523['ZItEz'],_sigintHandler),process[_0x2844ef(0x26b)](_0x20a523[_0x2844ef(0x1a9)],_sigtermHandler),process[_0x2844ef(0x244)](process[_0x2844ef(0x1ae)],_0x5082c1);})());};function _sigintHandler(){const _0x1789de=a66_0x46831e,_0x1caeca={'qfbKq':function(_0x57fc5a,_0x53e589){return _0x57fc5a(_0x53e589);},'rZhEP':'SIGINT'};_0x1caeca[_0x1789de(0x178)](propagateSignal,_0x1caeca[_0x1789de(0x179)]);}function _sigtermHandler(){const _0x53b462=a66_0x46831e,_0x3d501b={'XQwxS':function(_0x53272a,_0x5753a9){return _0x53272a(_0x5753a9);},'fGbGF':_0x53b462(0x1bb)};_0x3d501b['XQwxS'](propagateSignal,_0x3d501b[_0x53b462(0x23d)]);}process['on'](a66_0x46831e(0x195),_sigintHandler),process['on'](a66_0x46831e(0x1bb),_sigtermHandler),module[a66_0x46831e(0x1d7)]=run;
|
|
2
|
+
'use strict';const a66_0x5be948=a66_0x460f;(function(_0x4eab7a,_0x2423b1){const _0x572a56=a66_0x460f,_0x6e7a1a=_0x4eab7a();while(!![]){try{const _0x35d037=-parseInt(_0x572a56(0x101))/0x1+-parseInt(_0x572a56(0x1d2))/0x2+parseInt(_0x572a56(0x143))/0x3*(-parseInt(_0x572a56(0x201))/0x4)+-parseInt(_0x572a56(0x1b8))/0x5*(parseInt(_0x572a56(0x195))/0x6)+-parseInt(_0x572a56(0x1fa))/0x7+-parseInt(_0x572a56(0x192))/0x8+parseInt(_0x572a56(0x10c))/0x9*(parseInt(_0x572a56(0x16f))/0xa);if(_0x35d037===_0x2423b1)break;else _0x6e7a1a['push'](_0x6e7a1a['shift']());}catch(_0x44ff2e){_0x6e7a1a['push'](_0x6e7a1a['shift']());}}}(a66_0x5dcb,0xab4db));function a66_0x460f(_0x2d62df,_0x2a9648){const _0x5dcb47=a66_0x5dcb();return a66_0x460f=function(_0x460f33,_0x42b659){_0x460f33=_0x460f33-0xfb;let _0x2305f7=_0x5dcb47[_0x460f33];return _0x2305f7;},a66_0x460f(_0x2d62df,_0x2a9648);}const path=require(a66_0x5be948(0x145)),logger=require('../../helpers/logger')[a66_0x5be948(0x1cb)],helper=require(a66_0x5be948(0x18e)),utilities=require('../../helpers/utilities'),CLIUtils=require(a66_0x5be948(0x17d)),BrowserstackCLI=require(a66_0x5be948(0x166)),GrpcClient=require(a66_0x5be948(0x1b6)),{printBuildLink}=require(a66_0x5be948(0xfd)),registry=require(a66_0x5be948(0x14a)),detectPeerDeps=()=>{const _0x2f9ee1=a66_0x5be948,_0x24532b={};_0x24532b['jKBmu']=_0x2f9ee1(0x15e),_0x24532b['DaAgB']=_0x2f9ee1(0x123);const _0x31f187=_0x24532b;try{require[_0x2f9ee1(0x20d)](_0x31f187[_0x2f9ee1(0x20e)],{'paths':[process[_0x2f9ee1(0x1ed)]()]});}catch(_0x121c69){throw new Error(_0x31f187['DaAgB']);}},loadTestCafeFactory=()=>{const _0x5831c7=a66_0x5be948,_0x22388f={'moTSo':_0x5831c7(0x15e),'IlrAL':function(_0x24c996,_0x37f69a){return _0x24c996(_0x37f69a);}},_0x479d2d=require[_0x5831c7(0x20d)](_0x22388f[_0x5831c7(0x18a)],{'paths':[process[_0x5831c7(0x1ed)]()]});return _0x22388f[_0x5831c7(0x1cd)](require,_0x479d2d);},w3cDriver=require(a66_0x5be948(0x1bb)),KNOWN_LOCAL_BROWSERS=new Set([a66_0x5be948(0x17a),a66_0x5be948(0x202),a66_0x5be948(0x190),a66_0x5be948(0x18f),a66_0x5be948(0x155),'ie',a66_0x5be948(0x1bc),a66_0x5be948(0x11b),'firefox:headless',a66_0x5be948(0x20f)]),looksLikeBrowserArg=_0x5872aa=>{const _0x808c88=a66_0x5be948,_0x4cff92={};_0x4cff92[_0x808c88(0x12b)]=_0x808c88(0x107),_0x4cff92[_0x808c88(0x1e0)]=_0x808c88(0x19b),_0x4cff92[_0x808c88(0x14d)]=_0x808c88(0x1e8),_0x4cff92[_0x808c88(0x147)]=function(_0x36de87,_0x20a5dc){return _0x36de87!==_0x20a5dc;},_0x4cff92['KExNJ']=_0x808c88(0x1c7);const _0x2722a0=_0x4cff92,_0xf8617b=_0x2722a0['WZqjg'][_0x808c88(0x13c)]('|');let _0x572c92=0x0;while(!![]){switch(_0xf8617b[_0x572c92++]){case'0':if(_0x5872aa['includes'](':')&&!_0x5872aa[_0x808c88(0x18c)]('/'))return!![];continue;case'1':if(_0x5872aa[_0x808c88(0x1c2)](_0x2722a0['zTrEy'])||_0x5872aa[_0x808c88(0x1c2)](_0x2722a0[_0x808c88(0x14d)]))return!![];continue;case'2':if(KNOWN_LOCAL_BROWSERS[_0x808c88(0x1c6)](_0x5872aa[_0x808c88(0x1ff)]()))return!![];continue;case'3':if(_0x2722a0[_0x808c88(0x147)](typeof _0x5872aa,_0x2722a0[_0x808c88(0xfb)]))return![];continue;case'4':return![];}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x4da1db=>{const _0x41da48=a66_0x5be948,_0x4fe3b6={'OoVIZ':function(_0x1714e0,_0xcfdf0a){return _0x1714e0<_0xcfdf0a;},'uCbCM':function(_0x1e614a,_0x467057){return _0x1e614a===_0x467057;},'UXQNm':function(_0x335982,_0x210b2d){return _0x335982===_0x210b2d;},'pTNqB':_0x41da48(0x114),'OnzbM':_0x41da48(0x17f),'ZyUWa':_0x41da48(0x19d),'aCqNh':function(_0x4034dc,_0x295732,_0x2c2cbf){return _0x4034dc(_0x295732,_0x2c2cbf);},'VQXQB':function(_0x1eef4f,_0x3fa49f){return _0x1eef4f+_0x3fa49f;},'oXfhS':function(_0x4efae0,_0x5ba97c){return _0x4efae0+_0x5ba97c;},'lrGbq':function(_0x2d7d9a,_0x4d0c8b,_0x4c98e1){return _0x2d7d9a(_0x4d0c8b,_0x4c98e1);},'hZrnm':function(_0x5a98c2,_0x362430){return _0x5a98c2(_0x362430);}},_0x1d52c7=[];let _0x48afe3;for(let _0x118cb2=0x0;_0x4fe3b6[_0x41da48(0x184)](_0x118cb2,_0x4da1db[_0x41da48(0x1f6)]);_0x118cb2++){const _0x4bad19=_0x4da1db[_0x118cb2];if(_0x4fe3b6[_0x41da48(0x150)](_0x4bad19,'-b')||_0x4fe3b6[_0x41da48(0x1df)](_0x4bad19,_0x4fe3b6[_0x41da48(0x12d)])){_0x118cb2++;continue;}if(_0x4bad19[_0x41da48(0x1c2)](_0x4fe3b6['OnzbM'])||_0x4bad19[_0x41da48(0x1c2)](_0x4fe3b6[_0x41da48(0x106)]))continue;const _0x5afb11=_0x4bad19['match'](_CONCURRENCY_PATTERN);if(_0x5afb11){if(_0x5afb11[0x1]){_0x48afe3=_0x4fe3b6['aCqNh'](parseInt,_0x5afb11[0x1],0xa);continue;}if(_0x4da1db[_0x4fe3b6[_0x41da48(0x13e)](_0x118cb2,0x1)]&&/^\d+$/[_0x41da48(0x1b3)](_0x4da1db[_0x4fe3b6[_0x41da48(0x12a)](_0x118cb2,0x1)])){_0x48afe3=_0x4fe3b6['lrGbq'](parseInt,_0x4da1db[_0x4fe3b6[_0x41da48(0x13e)](_0x118cb2,0x1)],0xa),_0x118cb2++;continue;}continue;}const _0x4e79a3=_0x4bad19[_0x41da48(0x197)](/^-c(\d+)$/);if(_0x4e79a3){_0x48afe3=_0x4fe3b6[_0x41da48(0x194)](parseInt,_0x4e79a3[0x1],0xa);continue;}if(_0x4fe3b6[_0x41da48(0x193)](looksLikeBrowserArg,_0x4bad19))continue;_0x1d52c7[_0x41da48(0x1a5)](_0x4bad19);}const _0x2d932d={};return _0x2d932d[_0x41da48(0x187)]=_0x1d52c7,_0x2d932d[_0x41da48(0x1e7)]=_0x48afe3,_0x2d932d;},parseCapabilities=_0x33565c=>{const _0xb114a1=a66_0x5be948,_0x1c6e44={};_0x1c6e44['yVHNq']=_0xb114a1(0x1b2),_0x1c6e44['odgKT']=_0xb114a1(0xfe);const _0x272de2=_0x1c6e44,_0x281c99=_0x33565c[_0xb114a1(0x1e9)]&&_0x33565c[_0xb114a1(0x1e9)]()||_0x33565c[_0xb114a1(0x1b0)];if(!_0x281c99)throw new Error(_0x272de2['yVHNq']);const _0x15d0f3=Buffer[_0xb114a1(0x104)](_0x281c99)?_0x281c99:Buffer[_0xb114a1(0x1f0)](_0x281c99),_0xaadb69=JSON[_0xb114a1(0x17e)](_0x15d0f3[_0xb114a1(0x135)](_0x272de2[_0xb114a1(0x10b)])['trim']());if(_0xaadb69['desiredCapabilities'])return _0xaadb69[_0xb114a1(0x1f9)];if(_0xaadb69[_0xb114a1(0x1b0)]&&_0xaadb69[_0xb114a1(0x1b0)]['alwaysMatch'])return _0xaadb69[_0xb114a1(0x1b0)]['alwaysMatch'];return _0xaadb69;};async function provisionSession(_0x1ae418,_0x4baac4){const _0x1871ea=a66_0x5be948,_0x353198={'Ovjtb':_0x1871ea(0x15e),'XfARF':function(_0x3f5a92,_0x2c14cc){return _0x3f5a92(_0x2c14cc);}};logger[_0x1871ea(0x13a)]('[testcafe]\x20provisioning\x20session\x20for\x20platform['+_0x4baac4+']');const _0x5b9fea=await _0x1ae418[_0x1871ea(0x159)](),_0x59242d=await GrpcClient[_0x1871ea(0x191)]()[_0x1871ea(0x1ef)]({'platformIndex':_0x4baac4,'ref':_0x353198[_0x1871ea(0x12c)],'userInputParams':Buffer[_0x1871ea(0x1f0)](JSON[_0x1871ea(0x1a9)]({})),'hubUrl':''}),_0x2f5d84=_0x353198[_0x1871ea(0x204)](parseCapabilities,_0x59242d),_0x1239da=(_0x59242d[_0x1871ea(0x1f4)]&&_0x59242d[_0x1871ea(0x1f4)]()||_0x59242d[_0x1871ea(0x12e)]||'')[_0x1871ea(0x18b)]()||BrowserstackCLI['getInstance']()?.[_0x1871ea(0x1eb)]()?.[_0x1871ea(0x12e)]||process['env'][_0x1871ea(0x186)];if(!_0x1239da)throw new Error(_0x1871ea(0x1e5)+_0x4baac4+']\x20—\x20cannot\x20open\x20BrowserStack\x20session');logger[_0x1871ea(0x13a)](_0x1871ea(0x1b9)+_0x4baac4+_0x1871ea(0x1c0)+_0x1239da);const _0x350afb={};_0x350afb[_0x1871ea(0x12e)]=_0x1239da,_0x350afb[_0x1871ea(0x1b0)]=_0x2f5d84;const {driver:_0x6fef20,sessionId:_0xa8a40c}=await w3cDriver[_0x1871ea(0x205)](_0x350afb);await _0x6fef20[_0x1871ea(0x196)](_0x5b9fea['url']);const _0x3109d2={};_0x3109d2[_0x1871ea(0x148)]=_0x4baac4,_0x3109d2[_0x1871ea(0x10a)]=_0x6fef20,_0x3109d2['sessionId']=_0xa8a40c,_0x3109d2['connection']=_0x5b9fea,_0x3109d2[_0x1871ea(0x1b0)]=_0x2f5d84,_0x3109d2[_0x1871ea(0x12e)]=_0x1239da,registry[_0x1871ea(0x1a0)](_0x3109d2),logger[_0x1871ea(0x13a)]('[testcafe]\x20platform['+_0x4baac4+_0x1871ea(0x1d3)+_0xa8a40c+_0x1871ea(0x141)+_0x5b9fea[_0x1871ea(0x203)]);const _0x296774={};return _0x296774[_0x1871ea(0x1a7)]=_0x5b9fea,_0x296774[_0x1871ea(0x140)]=_0xa8a40c,_0x296774[_0x1871ea(0x10a)]=_0x6fef20,_0x296774['platformIndex']=_0x4baac4,_0x296774['capabilities']=_0x2f5d84,_0x296774[_0x1871ea(0x12e)]=_0x1239da,_0x296774;}function a66_0x5dcb(){const _0x130f98=['cItjb','BrowserstackCLI.stop\x20error:\x20','1338022mVRbsy','exports','aZrwT','isBuffer','getRerunTestGrep','ZyUWa','3|0|2|1|4','run','number','driver','odgKT','333SIikXb','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)',']:\x20','getModule','options','yfUhp','bs-local.com','FayJd','--browsers','yHLLo','krSBK','lHvaE','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','hCXOi','finalExecution','chrome:headless','SIGINT','initialize','index.js','pdDhB','browserstackLocal','BmeSS','sxdiT','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.',']\x20run\x20failed\x20—\x20','map','nLAbO','finalizeOrphans','\x20(meta=','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','oXfhS','WZqjg','Ovjtb','pTNqB','hubUrl','warn','ZBEHU','race','finalExecution\x20error:\x20','sKGHx','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','toString','configPath','\x20before\x20runner.run()\x20completed','getMethod','lQgIe','info','rerunTestGrep','split','VjUTr','VQXQB','constructor','sessionId','\x20→\x20','bootstrap','858009HqqaNZ','pGIBq','path','config','MEOzj','platformIndex','error','./session-registry','getCurrentUrl','JvmSe','pDKKL','[BrowserStack\x20SDK]\x20Percy\x20is\x20not\x20yet\x20supported\x20for\x20TestCafe\x20—\x20per-test\x20snapshot\x20instrumentation\x20is\x20in\x20development.\x20Remove\x20`percy`\x20from\x20browserstack.yml\x20or\x20wait\x20for\x20the\x20next\x20release\x20that\x20wires\x20it.','kill','uCbCM','awwpl','XIToh','catch','unref','edge','setBrowserstackConfig','reporter','MYzsW','createBrowserConnection','env','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','AtsCj','gOvGo','testcafe','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','markStatus','src','xXpla','XqPRt','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','accessibilityConfig','../v2/browserstackCLI','FMEfX','USxsV','uhWMO','Aborted\x20by\x20','close','ALFDN','uninstall','Jyhho','1617740ELtdOh','UjDTB','cTObk','listEntries','data','s\x20timeout\x20(idleTimeout\x20+\x2060s)','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','GxIoJ','pbzSq','code','spec','chrome','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','DjFkZ','../v2/cliUtils','parse','--browsers=','testcafe/command.js:\x20starting\x20platform[','NyVxH','debug','./stdout-interceptor','OoVIZ','mZhMh','BROWSERSTACK_HUB_URL','testSources','isCLIEnabled','filter','moTSo','trim','includes','testcafe/command.js:\x20platform[','../../helpers/helper','safari','firefox','getInstance','1272368sviKpk','hZrnm','lrGbq','4182474RDhcqF','navigateTo','match','finalizeOrphans\x20error:\x20','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','YjzwW','chrome:','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','-b=','BROWSERSTACK_RERUN','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','register','testcafe/command.js:\x20exit\x20code=','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','push','VuhWH','connection',']\x20(','stringify','percy','gsvLJ','qFYPC','nEpge','jUmnF','isRunning','capabilities',']\x20finished\x20with\x20exit=','DriverInit\x20returned\x20no\x20capabilities','test','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','default','../v2/grpcClient','LxOkP','10NLAXwj','[testcafe]\x20platform[','JsMpI','./w3c-driver','opera','TQMJy','commandsList','./testcafe-action-patcher',']\x20hubUrl=','JkhCA','startsWith','MalEn','IXwCE','PCflc','has','string','bMKzN','type','install','winstonLogger','inspect','IlrAL','hJPVz','dOnnC','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','jRicE','2299182GJymTa',']\x20BrowserStack\x20session=','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','method','isArray','quitAll',']\x20runner.run()\x20timed\x20out\x20after\x20','name','commandsToWrap','HfMYv','testcafe/command.js:\x20testSources=','browserstackAutomation','amfRv','UXQNm','zTrEy','setFrameworkDetail','stop','exitCode','SIGTERM','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','commands','concurrency','firefox:','getCapabilities','FMkuI','getConfig','slice','cwd','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','driverInit','from','write','message','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','getHubUrl','stack','length','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','SkPrz','desiredCapabilities','694050AHYnYj','getTestFramework','failed',',\x20platforms=','util','toLowerCase','qwFfG','16XAvjEE','chromium','url','XfARF','openSession','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','getName','VAprk','stderr','flVtf','FjmBZ','QAQpq','resolve','jKBmu','remote','aFjHM','kbIVC','aigNn','getAccessibilityModule','LbyAG','passed','platforms','false','createRunner','KExNJ','unknown\x20error\x20(falsy)','../../helpers/test-observability/utils','utf8'];a66_0x5dcb=function(){return _0x130f98;};return a66_0x5dcb();}async function run(_0x30caf0,_0x38183c,_0x4dea82){const _0x453c3a=a66_0x5be948,_0x1df4a6={'XIToh':function(_0x568411,_0x5268f8){return _0x568411(_0x5268f8);},'FMEfX':function(_0x212179,_0x24135f,_0x468e31){return _0x212179(_0x24135f,_0x468e31);},'pGIBq':function(_0x376e76,_0x48f8db){return _0x376e76===_0x48f8db;},'USxsV':'function','FjmBZ':function(_0x5b33d9,_0x3ec388){return _0x5b33d9/_0x3ec388;},'FMkuI':function(_0x277a5e,_0x482555){return _0x277a5e(_0x482555);},'nLAbO':_0x453c3a(0xfc),'Jyhho':_0x453c3a(0x1c7),'sKGHx':function(_0x35a5bd,_0x3dc895){return _0x35a5bd===_0x3dc895;},'VuhWH':function(_0x4bc480,_0x200d12){return _0x4bc480(_0x200d12);},'MYzsW':_0x453c3a(0x1fe),'sxdiT':function(_0x49e625){return _0x49e625();},'dIsov':_0x453c3a(0x1a2),'mZhMh':function(_0x3b952d,_0x3ef258){return _0x3b952d===_0x3ef258;},'PCflc':_0x453c3a(0x217),'dOnnC':function(_0x5ae0a1,_0x4d806a){return _0x5ae0a1===_0x4d806a;},'MalEn':function(_0x1571f0,_0x37cea6){return _0x1571f0&&_0x37cea6;},'VAprk':function(_0x203191,_0x597d80){return _0x203191!==_0x597d80;},'TQMJy':_0x453c3a(0x10d),'ALFDN':_0x453c3a(0x15e),'fAcIf':_0x453c3a(0x15b),'XqPRt':function(_0x248373,_0x23d96c){return _0x248373+_0x23d96c;},'yfUhp':function(_0x154d23,_0x3d3592){return _0x154d23+_0x3d3592;},'awwpl':'Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','jmGoy':'Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','NyVxH':function(_0x9788be,_0x1067de){return _0x9788be||_0x1067de;},'aigNn':function(_0x49f01c,_0x6ee3e9){return _0x49f01c===_0x6ee3e9;},'tcokW':function(_0x3a4b86,_0x38df32){return _0x3a4b86>_0x38df32;},'hJPVz':function(_0x4a7242,_0x517837){return _0x4a7242===_0x517837;},'MhKtL':_0x453c3a(0x206),'BmeSS':_0x453c3a(0x14e),'bMKzN':_0x453c3a(0x1d4),'JvmSe':_0x453c3a(0x1b5),'DjFkZ':function(_0x1c301c){return _0x1c301c();},'xXpla':_0x453c3a(0x112),'LxOkP':function(_0x56b730,_0x4d7ce7){return _0x56b730(_0x4d7ce7);},'ACzJv':_0x453c3a(0x183),'yHLLo':function(_0x4c633a,_0x9e6ae5){return _0x4c633a(_0x9e6ae5);},'aFjHM':_0x453c3a(0x1bf),'aZrwT':_0x453c3a(0x1f7),'hCXOi':_0x453c3a(0x19f),'qFYPC':_0x453c3a(0x1ee),'gAPVO':_0x453c3a(0x157),'amfRv':_0x453c3a(0x11e),'YixuE':function(_0x4d5c59,_0x1fac4b){return _0x4d5c59(_0x1fac4b);},'kbIVC':_0x453c3a(0x175),'JsMpI':function(_0x4d1662,_0x2d92a0){return _0x4d1662<_0x2d92a0;},'uhWMO':_0x453c3a(0x114),'QAQpq':function(_0x85bb39,_0x1aa612){return _0x85bb39+_0x1aa612;},'JkhCA':'--browsers=','YjzwW':_0x453c3a(0x19d),'flVtf':_0x453c3a(0x17a),'GxIoJ':_0x453c3a(0x129),'VjUTr':_0x453c3a(0x179),'cTObk':_0x453c3a(0x109),'UjDTB':function(_0x144297,_0x20edf2){return _0x144297>_0x20edf2;},'ZBEHU':function(_0x104f29,_0x2b7e59){return _0x104f29===_0x2b7e59;},'LbyAG':function(_0x5b8d46){return _0x5b8d46();},'qwFfG':function(_0x1480be,_0x2380a1){return _0x1480be+_0x2380a1;},'lQgIe':function(_0x14c4f1,_0x5aa943){return _0x14c4f1===_0x5aa943;},'pbzSq':function(_0xb208be,_0x4dd2cc){return _0xb208be>_0x4dd2cc;},'HfMYv':function(_0x32f12c,_0x455038){return _0x32f12c*_0x455038;},'SkPrz':function(_0x58b6b5,_0x28e8e9){return _0x58b6b5+_0x28e8e9;},'krSBK':function(_0x3157bf,_0x5618e1){return _0x3157bf!==_0x5618e1;},'gOvGo':function(_0x339d39,_0x595bf6){return _0x339d39===_0x595bf6;},'weYhx':_0x453c3a(0x215),'IXwCE':_0x453c3a(0x1fc),'nEpge':function(_0x44034f){return _0x44034f();},'lHvaE':function(_0x43a5f3,_0xcf4831){return _0x43a5f3===_0xcf4831;},'jRicE':function(_0xad5d0d){return _0xad5d0d();}};_0x1df4a6[_0x453c3a(0x122)](detectPeerDeps);if(!_0x4dea82[_0x453c3a(0x146)]){logger[_0x453c3a(0x149)](_0x1df4a6['dIsov']);return;}const _0x349c0d=_0x4dea82[_0x453c3a(0x146)],_0xb17563=_0x1df4a6['mZhMh'](_0x349c0d[_0x453c3a(0x1dd)],![])||_0x1df4a6[_0x453c3a(0x185)](_0x349c0d[_0x453c3a(0x1dd)],_0x1df4a6['PCflc'])||_0x1df4a6[_0x453c3a(0x185)](_0x1df4a6[_0x453c3a(0x152)](String,_0x349c0d[_0x453c3a(0x1dd)]||'')[_0x453c3a(0x1ff)](),_0x1df4a6[_0x453c3a(0x1c5)]),_0x2b1578=_0x1df4a6['sKGHx'](_0x349c0d[_0x453c3a(0x120)],![])||_0x1df4a6[_0x453c3a(0x1cf)](_0x349c0d[_0x453c3a(0x120)],_0x1df4a6['PCflc'])||_0x1df4a6['pGIBq'](_0x1df4a6[_0x453c3a(0x1a6)](String,_0x1df4a6['mZhMh'](_0x349c0d[_0x453c3a(0x120)],undefined)?'':_0x349c0d[_0x453c3a(0x120)])[_0x453c3a(0x1ff)](),_0x1df4a6[_0x453c3a(0x1c5)]);_0x1df4a6[_0x453c3a(0x1c3)](!_0xb17563,!_0x2b1578)&&_0x1df4a6[_0x453c3a(0x208)](_0x349c0d[_0x453c3a(0x120)],!![])&&(logger[_0x453c3a(0x13a)](_0x1df4a6[_0x453c3a(0x1bd)]),_0x349c0d['browserstackLocal']=!![]);await _0x4dea82[_0x453c3a(0x11d)](_0x30caf0),CLIUtils[_0x453c3a(0x1e1)](_0x1df4a6['ALFDN'],_0x1df4a6[_0x453c3a(0x16c)]),BrowserstackCLI[_0x453c3a(0x191)]()[_0x453c3a(0x156)](_0x4dea82[_0x453c3a(0x146)],_0x4dea82[_0x453c3a(0x136)],_0x4dea82['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x453c3a(0x142)]();if(!BrowserstackCLI[_0x453c3a(0x191)]()[_0x453c3a(0x1af)]())throw new Error(_0x1df4a6['fAcIf']);}catch(_0x5d2d93){process['stderr']['write'](_0x1df4a6[_0x453c3a(0x163)](_0x1df4a6['yfUhp'](_0x453c3a(0x164)+_0x5d2d93[_0x453c3a(0x1f2)]+'\x0a',_0x1df4a6[_0x453c3a(0x151)]),_0x1df4a6['jmGoy'])),logger[_0x453c3a(0x149)](_0x453c3a(0x1a4)+(_0x5d2d93['stack']||_0x5d2d93)),process['exitCode']=0x1;return;}const _0x20cf18=BrowserstackCLI[_0x453c3a(0x191)]()[_0x453c3a(0x1eb)](),_0x3c8dc5=_0x4dea82[_0x453c3a(0x146)]||{};let _0x13d0c5=_0x1df4a6[_0x453c3a(0x181)](_0x20cf18,_0x3c8dc5)||{},_0x59740e=Array[_0x453c3a(0x1d6)](_0x13d0c5[_0x453c3a(0x216)])?_0x13d0c5['platforms']:[];_0x1df4a6[_0x453c3a(0x212)](_0x59740e['length'],0x0)&&Array['isArray'](_0x3c8dc5['platforms'])&&_0x1df4a6['tcokW'](_0x3c8dc5['platforms']['length'],0x0)&&(logger[_0x453c3a(0x12f)](_0x453c3a(0x19c)+_0x3c8dc5[_0x453c3a(0x216)][_0x453c3a(0x1f6)]+')'),_0x13d0c5=_0x3c8dc5,_0x59740e=_0x3c8dc5['platforms']);if(_0x1df4a6[_0x453c3a(0x1ce)](_0x59740e[_0x453c3a(0x1f6)],0x0)){process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x1df4a6['MhKtL']),process[_0x453c3a(0x1e3)]=0x1;return;}if(_0x1df4a6[_0x453c3a(0x1ce)](_0x13d0c5[_0x453c3a(0x1aa)],!![])||_0x13d0c5[_0x453c3a(0x1aa)]&&_0x13d0c5[_0x453c3a(0x1aa)]['projectToken']){const _0x532b96=_0x1df4a6[_0x453c3a(0x121)];process[_0x453c3a(0x209)]['write'](_0x1df4a6['XqPRt'](_0x532b96,'\x0a')),logger['warn'](_0x532b96);}const {testSources:_0x1ef4e3,concurrency:_0x390030}=_0x1df4a6[_0x453c3a(0x152)](filterArgs,_0x38183c[_0x453c3a(0x1ec)](0x1));if(_0x1df4a6[_0x453c3a(0x185)](_0x1ef4e3[_0x453c3a(0x1f6)],0x0)){process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x1df4a6[_0x453c3a(0x1c8)]),process['exitCode']=0x1;return;}logger[_0x453c3a(0x13a)](_0x453c3a(0x1dc)+JSON['stringify'](_0x1ef4e3)+_0x453c3a(0x1fd)+_0x59740e[_0x453c3a(0x1f6)]+',\x20concurrency='+_0x1df4a6['NyVxH'](_0x390030,_0x1df4a6[_0x453c3a(0x14c)]));let _0xa720e;try{_0xa720e=_0x1df4a6[_0x453c3a(0x17c)](loadTestCafeFactory);}catch(_0x527592){process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x453c3a(0x17b)+_0x527592['message']+'\x0a'),process['exitCode']=0x1;return;}const _0x37bf9e=await _0x1df4a6[_0x453c3a(0x152)](_0xa720e,_0x1df4a6[_0x453c3a(0x162)]);let _0x10c545=0x1;const _0x472540=0x7530,_0x2e6441=[],_0x43ab48=(_0x5162d2,_0x490977)=>{const _0x525d30=_0x453c3a,_0x3cb6b7={'cItjb':function(_0xaa53e,_0x415863){const _0x374781=a66_0x460f;return _0x1df4a6[_0x374781(0x152)](_0xaa53e,_0x415863);}},_0x4fad72=_0x1df4a6[_0x525d30(0x167)](setInterval,async()=>{const _0x34b771=_0x525d30;try{await _0x5162d2[_0x34b771(0x14b)]();}catch(_0x2521c7){logger[_0x34b771(0x182)]('[testcafe-keepalive]\x20ping\x20failed\x20for\x20'+_0x490977+':\x20'+_0x2521c7[_0x34b771(0x1f2)]+'\x20—\x20stopping\x20pings\x20for\x20this\x20session'),_0x3cb6b7[_0x34b771(0xff)](clearInterval,_0x4fad72);}},_0x472540);_0x1df4a6[_0x525d30(0x144)](typeof _0x4fad72[_0x525d30(0x154)],_0x1df4a6[_0x525d30(0x168)])&&_0x4fad72[_0x525d30(0x154)](),_0x2e6441[_0x525d30(0x1a5)](_0x4fad72);},_0x1481cb=()=>{const _0x3e2dd2=_0x453c3a;for(const _0x565f2d of _0x2e6441){_0x1df4a6[_0x3e2dd2(0x152)](clearInterval,_0x565f2d);}_0x2e6441[_0x3e2dd2(0x1f6)]=0x0;};_0x10c545=0x0;const _0x223f8c=_0x1df4a6[_0x453c3a(0x1b7)](require,_0x1df4a6['ACzJv']);_0x223f8c[_0x453c3a(0x1ca)]();try{const _0x24450c=BrowserstackCLI[_0x453c3a(0x191)]()['getAccessibilityModule']&&BrowserstackCLI[_0x453c3a(0x191)]()[_0x453c3a(0x213)](),_0x48668d=_0x24450c&&_0x24450c['accessibilityConfig']&&_0x24450c[_0x453c3a(0x165)][_0x453c3a(0x110)]&&_0x24450c[_0x453c3a(0x165)]['options'][_0x453c3a(0x1da)]&&(_0x24450c['accessibilityConfig'][_0x453c3a(0x110)][_0x453c3a(0x1da)][_0x453c3a(0x1be)]||_0x24450c[_0x453c3a(0x165)][_0x453c3a(0x110)][_0x453c3a(0x1da)][_0x453c3a(0x1e6)]);if(Array[_0x453c3a(0x1d6)](_0x48668d)&&_0x1df4a6['tcokW'](_0x48668d[_0x453c3a(0x1f6)],0x0)){const _0x13ee41=_0x1df4a6[_0x453c3a(0x115)](require,_0x1df4a6[_0x453c3a(0x210)]),_0x5157b1=_0x48668d[_0x453c3a(0x125)](_0x446362=>({'name':_0x446362['getName']&&_0x446362[_0x453c3a(0x207)]()||_0x446362['name'],'module':_0x446362['getModule']&&_0x446362[_0x453c3a(0x10f)]()||_0x446362['module'],'method':_0x446362[_0x453c3a(0x138)]&&_0x446362['getMethod']()||_0x446362[_0x453c3a(0x1d5)]}));_0x13ee41['install'](_0x5157b1);}else logger[_0x453c3a(0x182)](_0x1df4a6[_0x453c3a(0x103)]);}catch(_0x1b651e){logger[_0x453c3a(0x182)](_0x453c3a(0x1a3)+(_0x1b651e[_0x453c3a(0x1f2)]||_0x1b651e));}let _0x11ab09='',_0x1d0c46=null;try{const _0x41b25b=await GrpcClient[_0x453c3a(0x191)]()['testCafeConfig']();_0x11ab09=_0x41b25b['getRerunTestGrep']&&_0x41b25b[_0x453c3a(0x105)]()||_0x41b25b[_0x453c3a(0x13b)]||'';if(_0x11ab09)try{_0x1d0c46=new RegExp(_0x11ab09),logger[_0x453c3a(0x13a)]('testcafe/command.js:\x20applied\x20rerun\x20filter\x20'+_0x11ab09);}catch(_0x11bc94){const _0x320dc3=_0x453c3a(0x199)+_0x11bc94[_0x453c3a(0x1f2)]+'.\x20Pattern:\x20'+_0x11ab09;process[_0x453c3a(0x209)]['write'](_0x1df4a6[_0x453c3a(0x111)](_0x320dc3,'\x0a')),logger[_0x453c3a(0x149)](_0x320dc3),process['exitCode']=0x1;return;}}catch(_0xdb4fc8){if(process[_0x453c3a(0x15a)][_0x453c3a(0x19e)]){const _0x1d635c=_0x1df4a6[_0x453c3a(0x119)];process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x1d635c),logger[_0x453c3a(0x149)](_0x453c3a(0x1f3)+_0xdb4fc8[_0x453c3a(0x1f2)]),process['exitCode']=0x1;return;}logger[_0x453c3a(0x182)](_0x1df4a6[_0x453c3a(0x1ac)],_0xdb4fc8);}const _0x4bad6e=_0x1df4a6[_0x453c3a(0x1b7)](require,path['resolve'](__dirname,_0x1df4a6['gAPVO'],_0x1df4a6[_0x453c3a(0x1de)])),_0x6389ad=_0x1df4a6['sKGHx'](_0x13d0c5['browserstackAutomation'],![])||_0x1df4a6[_0x453c3a(0x212)](_0x13d0c5[_0x453c3a(0x1dd)],_0x1df4a6['PCflc'])||_0x1df4a6[_0x453c3a(0x1cf)](_0x1df4a6['YixuE'](String,_0x13d0c5[_0x453c3a(0x1dd)]||'')['toLowerCase'](),_0x1df4a6[_0x453c3a(0x1c5)]);if(_0x6389ad){logger['info'](_0x1df4a6[_0x453c3a(0x211)]);const _0x354b54=[];for(let _0x46fdc5=0x0;_0x1df4a6[_0x453c3a(0x1ba)](_0x46fdc5,_0x38183c[_0x453c3a(0x1f6)]);_0x46fdc5++){const _0x4ca154=_0x38183c[_0x46fdc5];if(_0x1df4a6[_0x453c3a(0x1cf)](_0x4ca154,'-b')||_0x1df4a6[_0x453c3a(0x185)](_0x4ca154,_0x1df4a6[_0x453c3a(0x169)])){_0x38183c[_0x1df4a6[_0x453c3a(0x20c)](_0x46fdc5,0x1)]&&_0x354b54[_0x453c3a(0x1a5)](_0x38183c[_0x1df4a6[_0x453c3a(0x111)](_0x46fdc5,0x1)]);_0x46fdc5++;continue;}if(_0x4ca154[_0x453c3a(0x1c2)](_0x1df4a6['JkhCA'])){_0x354b54[_0x453c3a(0x1a5)](_0x4ca154[_0x453c3a(0x1ec)](_0x1df4a6[_0x453c3a(0x1c1)][_0x453c3a(0x1f6)]));continue;}if(_0x4ca154[_0x453c3a(0x1c2)](_0x1df4a6[_0x453c3a(0x19a)])){_0x354b54[_0x453c3a(0x1a5)](_0x4ca154[_0x453c3a(0x1ec)](_0x1df4a6['YjzwW']['length']));continue;}_0x1df4a6[_0x453c3a(0x1b7)](looksLikeBrowserArg,_0x4ca154)&&_0x354b54[_0x453c3a(0x1a5)](_0x4ca154);}_0x1df4a6['aigNn'](_0x354b54[_0x453c3a(0x1f6)],0x0)&&(_0x354b54[_0x453c3a(0x1a5)](_0x1df4a6[_0x453c3a(0x20a)]),logger[_0x453c3a(0x13a)](_0x1df4a6[_0x453c3a(0x176)]));let _0x540b99=0x1;try{const _0x5a6bf8=_0x37bf9e[_0x453c3a(0x218)]();_0x5a6bf8['src'](_0x1ef4e3),_0x5a6bf8['browsers'](_0x354b54),_0x5a6bf8[_0x453c3a(0x157)]([_0x1df4a6[_0x453c3a(0x13d)],_0x4bad6e]),_0x1df4a6['mZhMh'](typeof _0x390030,_0x1df4a6[_0x453c3a(0x171)])&&_0x1df4a6[_0x453c3a(0x170)](_0x390030,0x0)&&_0x5a6bf8[_0x453c3a(0x1e7)](_0x390030),_0x1d0c46&&_0x5a6bf8[_0x453c3a(0x189)](_0x14e2d5=>_0x1d0c46[_0x453c3a(0x1b3)](_0x14e2d5)),_0x540b99=await _0x5a6bf8[_0x453c3a(0x108)](),logger['info']('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x540b99);}catch(_0x5275ec){logger[_0x453c3a(0x149)](_0x453c3a(0x134)+(_0x5275ec[_0x453c3a(0x1f5)]||_0x5275ec)),process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x453c3a(0x1d0)+_0x5275ec['message']+'\x0a'),_0x540b99=0x1;}finally{_0x10c545=_0x540b99;try{_0x223f8c[_0x453c3a(0x16d)]();}catch(_0x21d33f){}try{await _0x37bf9e[_0x453c3a(0x16b)]();}catch(_0x400862){logger[_0x453c3a(0x182)]('tc.close\x20error:\x20'+_0x400862[_0x453c3a(0x1f2)]);}try{const _0x224f5c=BrowserstackCLI[_0x453c3a(0x191)]()['getTestFramework']();_0x224f5c&&_0x1df4a6[_0x453c3a(0x130)](typeof _0x224f5c[_0x453c3a(0x127)],_0x1df4a6[_0x453c3a(0x168)])&&await _0x224f5c[_0x453c3a(0x127)]();}catch(_0x352723){logger[_0x453c3a(0x182)](_0x453c3a(0x198)+_0x352723[_0x453c3a(0x1f2)]);}const _0x134394=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI['getInstance']()[_0x453c3a(0x1e2)]()[_0x453c3a(0x153)](_0x3beb4f=>{const _0x13e5fb=_0x453c3a;logger[_0x13e5fb(0x182)](_0x13e5fb(0x100)+_0x3beb4f[_0x13e5fb(0x1f2)]);}),_0x1df4a6[_0x453c3a(0x214)](printBuildLink),await utilities[_0x453c3a(0x11a)](_0x4dea82,_0x134394)[_0x453c3a(0x153)](_0x115ef3=>{const _0x13c39b=_0x453c3a;logger[_0x13c39b(0x182)](_0x13c39b(0x132)+_0x115ef3[_0x13c39b(0x1f2)]);}),process[_0x453c3a(0x1e3)]=_0x10c545,logger[_0x453c3a(0x13a)](_0x453c3a(0x1a1)+_0x10c545);}return;}try{for(let _0x4253f9=0x0;_0x1df4a6[_0x453c3a(0x1ba)](_0x4253f9,_0x59740e[_0x453c3a(0x1f6)]);_0x4253f9++){logger[_0x453c3a(0x13a)](_0x453c3a(0x180)+_0x4253f9+_0x453c3a(0x1a8)+_0x1df4a6[_0x453c3a(0x200)](_0x4253f9,0x1)+'/'+_0x59740e['length']+')');let _0x5b8c60=0x1,_0x2c323d=null,_0x5b606e=null;try{_0x2c323d=await _0x1df4a6[_0x453c3a(0x167)](provisionSession,_0x37bf9e,_0x4253f9),_0x1df4a6[_0x453c3a(0x167)](_0x43ab48,_0x2c323d[_0x453c3a(0x10a)],_0x2c323d[_0x453c3a(0x140)]);const _0x37d498=_0x37bf9e[_0x453c3a(0x218)]();_0x37d498[_0x453c3a(0x161)](_0x1ef4e3),_0x37d498['browsers']([_0x2c323d['connection']]),_0x37d498[_0x453c3a(0x157)]([_0x1df4a6['VjUTr'],_0x4bad6e]);_0x1df4a6[_0x453c3a(0x139)](typeof _0x390030,_0x1df4a6[_0x453c3a(0x171)])&&_0x1df4a6[_0x453c3a(0x177)](_0x390030,0x0)&&_0x37d498[_0x453c3a(0x1e7)](_0x390030);_0x1d0c46&&_0x37d498[_0x453c3a(0x189)](_0x303f6d=>_0x1d0c46[_0x453c3a(0x1b3)](_0x303f6d));const _0x2b2bd0=_0x13d0c5&&_0x13d0c5['idleTimeout']||0x12c,_0x538c32=_0x1df4a6[_0x453c3a(0x1db)](_0x1df4a6[_0x453c3a(0x1f8)](_0x2b2bd0,0x3c),0x3e8);_0x5b8c60=await Promise[_0x453c3a(0x131)]([_0x37d498['run'](),new Promise(_0x1b6f71=>setTimeout(()=>{const _0x59cc28=_0x453c3a;logger['warn']('testcafe/command.js:\x20platform['+_0x4253f9+_0x59cc28(0x1d8)+_0x1df4a6['FjmBZ'](_0x538c32,0x3e8)+_0x59cc28(0x1b4)),_0x5b606e='runner.run()\x20exceeded\x20'+_0x1df4a6[_0x59cc28(0x20b)](_0x538c32,0x3e8)+_0x59cc28(0x174),_0x1df4a6[_0x59cc28(0x1ea)](_0x1b6f71,0x1);},_0x538c32))]),logger[_0x453c3a(0x13a)](_0x453c3a(0x18d)+_0x4253f9+_0x453c3a(0x1b1)+_0x5b8c60),_0x1df4a6[_0x453c3a(0x116)](_0x5b8c60,0x0)&&!_0x5b606e&&(_0x5b606e='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x5b8c60);}catch(_0x45f0f2){const _0x21b144=((()=>{const _0x7fc734=_0x453c3a;if(!_0x45f0f2)return _0x1df4a6[_0x7fc734(0x126)];if(_0x1df4a6[_0x7fc734(0x144)](typeof _0x45f0f2,_0x1df4a6[_0x7fc734(0x16e)]))return _0x45f0f2;if(_0x1df4a6[_0x7fc734(0x133)](typeof _0x45f0f2[_0x7fc734(0x1f2)],_0x1df4a6[_0x7fc734(0x16e)])&&_0x45f0f2[_0x7fc734(0x1f2)])return _0x45f0f2['message'];try{return JSON[_0x7fc734(0x1a9)](_0x45f0f2['message']??_0x45f0f2,null,0x2);}catch(_0x17770b){const _0x2f0f1b={};return _0x2f0f1b['depth']=0x4,_0x1df4a6[_0x7fc734(0x1a6)](require,_0x1df4a6[_0x7fc734(0x158)])[_0x7fc734(0x1cc)](_0x45f0f2['message']??_0x45f0f2,_0x2f0f1b);}})()),_0x1cfd0d={};_0x1cfd0d[_0x453c3a(0x178)]=_0x45f0f2&&_0x45f0f2[_0x453c3a(0x178)],_0x1cfd0d[_0x453c3a(0x1c9)]=_0x45f0f2&&_0x45f0f2[_0x453c3a(0x1c9)],_0x1cfd0d[_0x453c3a(0x173)]=_0x45f0f2&&_0x45f0f2['data'],_0x1cfd0d[_0x453c3a(0x1d9)]=_0x45f0f2&&_0x45f0f2[_0x453c3a(0x1d9)],_0x1cfd0d['constructor']=_0x45f0f2&&_0x45f0f2[_0x453c3a(0x13f)]&&_0x45f0f2[_0x453c3a(0x13f)][_0x453c3a(0x1d9)];const _0x31b007=_0x1cfd0d;logger[_0x453c3a(0x149)](_0x453c3a(0x18d)+_0x4253f9+_0x453c3a(0x124)+_0x21b144+_0x453c3a(0x128)+JSON[_0x453c3a(0x1a9)](_0x31b007)+')\x0a'+(_0x45f0f2&&_0x45f0f2[_0x453c3a(0x1f5)]||'')),process[_0x453c3a(0x209)][_0x453c3a(0x1f1)](_0x453c3a(0x118)+_0x4253f9+_0x453c3a(0x10e)+_0x21b144+'\x0a'),_0x5b8c60=0x1,_0x5b606e=_0x21b144;}finally{try{if(_0x2c323d&&_0x1df4a6[_0x453c3a(0x116)](_0x2c323d['platformIndex'],undefined)){const _0x434796=_0x1df4a6[_0x453c3a(0x15d)](_0x5b8c60,0x0)?_0x1df4a6['weYhx']:_0x1df4a6[_0x453c3a(0x1c4)],_0xd8254d=_0x5b606e;registry[_0x453c3a(0x160)](_0x2c323d[_0x453c3a(0x148)],_0x434796,_0xd8254d);}}catch(_0x1275da){logger['warn'](_0x453c3a(0x15f)+_0x4253f9+_0x453c3a(0x10e)+_0x1275da[_0x453c3a(0x1f2)]);}await registry[_0x453c3a(0x1d7)](),_0x1df4a6[_0x453c3a(0x1ad)](_0x1481cb);}_0x1df4a6['krSBK'](_0x5b8c60,0x0)&&_0x1df4a6[_0x453c3a(0x185)](_0x10c545,0x0)&&(_0x10c545=_0x5b8c60);}}finally{try{_0x223f8c[_0x453c3a(0x16d)]();}catch(_0xf38c7d){}try{await _0x37bf9e[_0x453c3a(0x16b)]();}catch(_0x133b8c){logger[_0x453c3a(0x182)]('tc.close\x20error:\x20'+_0x133b8c[_0x453c3a(0x1f2)]);}try{const _0x98d477=BrowserstackCLI[_0x453c3a(0x191)]()[_0x453c3a(0x1fb)]();_0x98d477&&_0x1df4a6[_0x453c3a(0x117)](typeof _0x98d477[_0x453c3a(0x127)],_0x1df4a6[_0x453c3a(0x168)])&&await _0x98d477[_0x453c3a(0x127)]();}catch(_0x3d9742){logger[_0x453c3a(0x182)](_0x453c3a(0x198)+_0x3d9742[_0x453c3a(0x1f2)]);}const _0x5d8046=BrowserstackCLI[_0x453c3a(0x188)]();await BrowserstackCLI['getInstance']()['stop']()[_0x453c3a(0x153)](_0x4edce6=>{const _0x3164c4=_0x453c3a;logger['debug'](_0x3164c4(0x100)+_0x4edce6[_0x3164c4(0x1f2)]);}),_0x1df4a6[_0x453c3a(0x1d1)](printBuildLink),await utilities[_0x453c3a(0x11a)](_0x4dea82,_0x5d8046)['catch'](_0x446753=>{const _0x2a6cfa=_0x453c3a;logger[_0x2a6cfa(0x182)](_0x2a6cfa(0x132)+_0x446753[_0x2a6cfa(0x1f2)]);}),process[_0x453c3a(0x1e3)]=_0x10c545,logger[_0x453c3a(0x13a)]('testcafe/command.js:\x20exit\x20code='+_0x10c545);}}let _isExiting=![];const propagateSignal=_0xe2c2d7=>{const _0x45d304=a66_0x5be948,_0x5d485d={};_0x5d485d['pdDhB']=_0x45d304(0x1fc),_0x5d485d['AtsCj']='SIGINT',_0x5d485d[_0x45d304(0x113)]=_0x45d304(0x1e4);const _0xe592d=_0x5d485d;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x4403c0=_0x45d304;try{const _0x1de430=registry[_0x4403c0(0x172)]();for(const _0x54384b of _0x1de430){try{registry['markStatus'](_0x54384b[_0x4403c0(0x148)],_0xe592d[_0x4403c0(0x11f)],_0x4403c0(0x16a)+_0xe2c2d7+_0x4403c0(0x137));}catch(_0x3a50cc){}}await Promise['race']([registry[_0x4403c0(0x1d7)](),new Promise(_0x5b11bc=>setTimeout(_0x5b11bc,0x1388))]);}catch(_0x10a811){}process['removeListener'](_0xe592d[_0x4403c0(0x15c)],_sigintHandler),process['removeListener'](_0xe592d['FayJd'],_sigtermHandler),process[_0x4403c0(0x14f)](process['pid'],_0xe2c2d7);})());};function _sigintHandler(){const _0x2e29f2=a66_0x5be948,_0x27cb67={'ZZcKs':function(_0x535143,_0x23a001){return _0x535143(_0x23a001);},'vcWkM':_0x2e29f2(0x11c)};_0x27cb67['ZZcKs'](propagateSignal,_0x27cb67['vcWkM']);}function _sigtermHandler(){const _0xadb9e0=a66_0x5be948,_0x3f7daa={'gsvLJ':function(_0x4f9a82,_0x2d1f8c){return _0x4f9a82(_0x2d1f8c);},'jUmnF':_0xadb9e0(0x1e4)};_0x3f7daa[_0xadb9e0(0x1ab)](propagateSignal,_0x3f7daa[_0xadb9e0(0x1ae)]);}process['on']('SIGINT',_sigintHandler),process['on'](a66_0x5be948(0x1e4),_sigtermHandler),module[a66_0x5be948(0x102)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a67_0x7d28(_0x105fb3,_0x58b634){const _0x17277d=a67_0x1727();return a67_0x7d28=function(_0x7d2846,_0x806c95){_0x7d2846=_0x7d2846-0x1d1;let _0x56fa81=_0x17277d[_0x7d2846];return _0x56fa81;},a67_0x7d28(_0x105fb3,_0x58b634);}const a67_0x46166a=a67_0x7d28;(function(_0x4c669f,_0x468693){const _0xba2ce8=a67_0x7d28,_0x463e5d=_0x4c669f();while(!![]){try{const _0x1a914b=-parseInt(_0xba2ce8(0x215))/0x1+parseInt(_0xba2ce8(0x226))/0x2+-parseInt(_0xba2ce8(0x1d3))/0x3*(-parseInt(_0xba2ce8(0x1ea))/0x4)+-parseInt(_0xba2ce8(0x1e5))/0x5+parseInt(_0xba2ce8(0x222))/0x6*(parseInt(_0xba2ce8(0x1d9))/0x7)+-parseInt(_0xba2ce8(0x206))/0x8+parseInt(_0xba2ce8(0x218))/0x9;if(_0x1a914b===_0x468693)break;else _0x463e5d['push'](_0x463e5d['shift']());}catch(_0x31f856){_0x463e5d['push'](_0x463e5d['shift']());}}}(a67_0x1727,0xc848c));function a67_0x1727(){const _0x4de9e1=['iuibM','getInstance','failedCount','unstable','8vaITQf','getTestFramework','fixtureStack','VcQAM','hxKDs','info','test','../../v2/state/hookState','skippedCount','errs','Gooqt','aylYL','instance','fixturePath','../session-registry','[testcafe-reporter]\x20reportFixtureStart:\x20','filter','TEST','../../../helpers/logger','zhfNA','taskStructure','durationMs','IFWgk','BEFORE_ALL','testName','error','userAgent','ztKRh','2203216RzPonX','meta','BEFORE_EACH','winstonLogger','\x20warnings=','RReRU','name','platformIndex','isRunning','jlkAH','../../v2/state/testFrameworkState','startTime','PRE','getAutomationFramework','currentTaskInfo','261869CZyrlU','isInteger','\x20browsers','364266jtbtXS','stack','unknown','../../v2/TestInfo','AFTER_ALL','passedCount','path','rhIhP','pFAig','message','3959394kzusZh','trackEvent','driver','./tcUtils','2418426zoCBAP','iterAllInstances','\x20@\x20','testcafe','ULiNn','TzfTg','isArray','URdCq','etjnN','QUIT','../../v2/framework/automationFramework','length','hubUrl','pop','AFTER_EACH','quarantine','sessionId','debug','removeInstance','\x20tests\x20across\x20','push','594429nbJQLC','[testcafe-reporter]\x20reportTaskStart:\x20','userAgents','exports','CREATE','POST','7RJsefu','testCount','PcEvy','../../v2/browserstackCLI','[testcafe-reporter]\x20reportTaskDone:\x20passed=','../../v2/state/automationFrameworkState','setup','skipped','capabilities','[testcafe-reporter]\x20reportTestStart:\x20','fixtureName','endTime','4741185iKNtKu'];a67_0x1727=function(){return _0x4de9e1;};return a67_0x1727();}const path=require(a67_0x46166a(0x21e)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a67_0x46166a(0x225)),logger=require(a67_0x46166a(0x1fc))[a67_0x46166a(0x209)],BrowserstackCLI=require(a67_0x46166a(0x1dc)),TestFrameworkState=require(a67_0x46166a(0x210)),AutomationFrameworkState=require(a67_0x46166a(0x1de)),HookState=require(a67_0x46166a(0x1f1)),TestInfo=require(a67_0x46166a(0x21b)),AutomationFramework=require(a67_0x46166a(0x230)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require(a67_0x46166a(0x1f8));module[a67_0x46166a(0x1d6)]=function(_0x15fd0d){const _0x76201e=a67_0x46166a,_0x116336={'aylYL':function(_0x44f3a2,..._0x14dfc3){return _0x44f3a2(..._0x14dfc3);},'ZmTEm':'handler','iuibM':_0x76201e(0x229),'IFWgk':function(_0x3b16d3,_0x50867a){return _0x3b16d3===_0x50867a;},'PcEvy':'function','rhIhP':function(_0x54d8a4,_0x1e336f){return _0x54d8a4===_0x1e336f;},'ULiNn':function(_0x6c5b55,_0x21b445){return _0x6c5b55<_0x21b445;},'hxKDs':function(_0x3a989b,_0x8b168f){return _0x3a989b||_0x8b168f;},'etjnN':function(_0x3996d7,_0x6b733b){return _0x3996d7-_0x6b733b;},'jlkAH':_0x76201e(0x21a),'TzfTg':function(_0x11b041,_0xfea82c){return _0x11b041(_0xfea82c);},'RReRU':function(_0x4530a8,_0x2854f7,_0x2c1b9f){return _0x4530a8(_0x2854f7,_0x2c1b9f);},'Gooqt':function(_0x563dca,_0x19f337,_0x404fbb){return _0x563dca(_0x19f337,_0x404fbb);},'pFAig':function(_0x332b59,_0x24e22f){return _0x332b59===_0x24e22f;},'URdCq':function(_0x670c1c,_0x2e5a2f){return _0x670c1c===_0x2e5a2f;},'zhfNA':function(_0x13798a,_0x411690){return _0x13798a+_0x411690;},'kvuJn':function(_0x1dd17b,_0x55fa3b){return _0x1dd17b+_0x55fa3b;},'VcQAM':function(_0x41b83d,_0x460ec2){return _0x41b83d(_0x460ec2);},'ztKRh':function(_0x38ce68,_0x420980){return _0x38ce68(_0x420980);}},_0x327ae6={'options':_0x116336[_0x76201e(0x1ee)](_0x15fd0d,{}),'fixtureStack':[],'currentTaskInfo':null},_0x56dbb7=_0x1711f2=>async(..._0x1c01cd)=>{const _0x4d16f6=_0x76201e;try{return await _0x116336['aylYL'](_0x1711f2,..._0x1c01cd);}catch(_0x5c4955){logger[_0x4d16f6(0x203)]('[testcafe-reporter]\x20swallowed\x20error\x20in\x20'+(_0x1711f2[_0x4d16f6(0x20c)]||_0x116336['ZmTEm'])+':\x20'+(_0x5c4955[_0x4d16f6(0x219)]||_0x5c4955));}};return{'reportTaskStart':_0x116336[_0x76201e(0x1f5)](_0x56dbb7,async function _0x585732(_0x50c95d,_0x3121cd,_0x4dea3f,_0x5f1c6c,_0x592c8a){const _0x19ec8e=_0x76201e,_0x56899b={};_0x56899b[_0x19ec8e(0x211)]=_0x50c95d,_0x56899b[_0x19ec8e(0x1d5)]=_0x3121cd,_0x56899b[_0x19ec8e(0x1da)]=_0x4dea3f,_0x56899b[_0x19ec8e(0x1fe)]=_0x5f1c6c,_0x56899b['properties']=_0x592c8a,_0x327ae6[_0x19ec8e(0x214)]=_0x56899b,logger[_0x19ec8e(0x1ef)](_0x19ec8e(0x1d4)+_0x4dea3f+_0x19ec8e(0x1d1)+_0x3121cd[_0x19ec8e(0x231)]+_0x19ec8e(0x217)),TestInfo[_0x19ec8e(0x1df)]&&TestInfo[_0x19ec8e(0x1df)](_0x116336[_0x19ec8e(0x1e6)]);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x19ec8e(0x1e7)]()['isRunning']())return;const _0x34eaed=BrowserstackCLI['getInstance'](),_0xf7a666=_0x34eaed[_0x19ec8e(0x1eb)]();if(_0xf7a666&&_0x116336[_0x19ec8e(0x200)](typeof _0xf7a666[_0x19ec8e(0x223)],_0x116336[_0x19ec8e(0x1db)])){const _0x322811={};_0x322811[_0x19ec8e(0x211)]=_0x50c95d,_0x322811[_0x19ec8e(0x1d5)]=_0x3121cd,_0x322811[_0x19ec8e(0x1da)]=_0x4dea3f,_0x322811[_0x19ec8e(0x1fe)]=_0x5f1c6c,await _0xf7a666[_0x19ec8e(0x223)](TestFrameworkState['INIT_TEST'],HookState[_0x19ec8e(0x212)],_0x322811);}const _0x4f388e=_0x34eaed[_0x19ec8e(0x213)](),_0x5dc9fa=sessionRegistry['listEntries']();if(_0x4f388e&&_0x116336[_0x19ec8e(0x21f)](typeof _0x4f388e[_0x19ec8e(0x223)],_0x116336['PcEvy']))for(let _0x50c279=0x0;_0x116336[_0x19ec8e(0x22a)](_0x50c279,(_0x3121cd||[])['length']);_0x50c279++){const _0x3e78e2=_0x3121cd[_0x50c279],_0x22f4c4=_0x5dc9fa[_0x50c279]||{};await _0x4f388e[_0x19ec8e(0x223)](AutomationFrameworkState[_0x19ec8e(0x1d7)],HookState[_0x19ec8e(0x1d8)],{'userAgent':_0x3e78e2,'startTime':_0x50c95d,'driver':_0x22f4c4[_0x19ec8e(0x224)],'sessionId':_0x22f4c4[_0x19ec8e(0x236)],'platformIndex':Number[_0x19ec8e(0x216)](_0x22f4c4[_0x19ec8e(0x20d)])?_0x22f4c4[_0x19ec8e(0x20d)]:_0x50c279,'capabilities':_0x22f4c4[_0x19ec8e(0x1e1)]||{},'hubUrl':_0x22f4c4[_0x19ec8e(0x232)]||''});}}),'reportFixtureStart':_0x116336['aylYL'](_0x56dbb7,async function _0x493f46(_0xf8024e,_0x5e07b4,_0x1dd335){const _0x2c6e2f=_0x76201e,_0x4fdb29={'name':_0xf8024e,'path':_0x5e07b4,'meta':_0x116336[_0x2c6e2f(0x1ee)](_0x1dd335,{})};_0x327ae6['fixtureStack'][_0x2c6e2f(0x1d2)](_0x4fdb29),logger[_0x2c6e2f(0x237)](_0x2c6e2f(0x1f9)+_0xf8024e+_0x2c6e2f(0x228)+_0x5e07b4);if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x2c6e2f(0x1e7)]()[_0x2c6e2f(0x20e)]()){const _0x545ccc=BrowserstackCLI['getInstance'](),_0x13a9fd=_0x545ccc[_0x2c6e2f(0x1eb)]();if(_0x13a9fd&&_0x116336['IFWgk'](typeof _0x13a9fd['trackEvent'],_0x116336[_0x2c6e2f(0x1db)])){const _0x29544a=_0x327ae6[_0x2c6e2f(0x214)]&&_0x327ae6[_0x2c6e2f(0x214)][_0x2c6e2f(0x1d5)]||[],_0x43c36f={'fixture':_0x4fdb29,'fixtureIdentifier':_0x116336[_0x2c6e2f(0x1f5)](getFixtureIdentifier,_0x4fdb29),'userAgents':_0x29544a};await _0x13a9fd[_0x2c6e2f(0x223)](TestFrameworkState[_0x2c6e2f(0x201)],HookState['PRE'],_0x43c36f),await _0x13a9fd[_0x2c6e2f(0x223)](TestFrameworkState[_0x2c6e2f(0x201)],HookState['POST'],_0x43c36f);}}}),'reportTestStart':_0x116336[_0x76201e(0x1ed)](_0x56dbb7,async function _0x58df06(_0x241cea,_0x4d33cd,_0x21d8da){const _0xa2afd2=_0x76201e,_0x481ed5=_0x327ae6[_0xa2afd2(0x1ec)][_0x116336['etjnN'](_0x327ae6['fixtureStack'][_0xa2afd2(0x231)],0x1)]||{'name':_0x116336['jlkAH'],'path':_0x116336['jlkAH']},_0x40d31d={};_0x40d31d['fixtureName']=_0x481ed5[_0xa2afd2(0x20c)],_0x40d31d['fixturePath']=_0x481ed5['path'],_0x40d31d[_0xa2afd2(0x202)]=_0x241cea,_0x40d31d[_0xa2afd2(0x207)]=_0x4d33cd;const _0x37ac49=_0x116336[_0xa2afd2(0x22b)](synthesizeTestObject,_0x40d31d);logger[_0xa2afd2(0x237)](_0xa2afd2(0x1e2)+_0x116336[_0xa2afd2(0x20b)](getTestIdentifier,_0x37ac49,0x0));const _0x4692fa=_0x327ae6['currentTaskInfo']&&_0x327ae6[_0xa2afd2(0x214)]['userAgents']||[];if(BrowserstackCLI[_0xa2afd2(0x1e7)]()&&BrowserstackCLI[_0xa2afd2(0x1e7)]()[_0xa2afd2(0x20e)]()){const _0x71b799=BrowserstackCLI['getInstance'](),_0x169acc=_0x71b799[_0xa2afd2(0x1eb)]();if(_0x169acc&&_0x116336[_0xa2afd2(0x200)](typeof _0x169acc['trackEvent'],_0x116336[_0xa2afd2(0x1db)])){const _0x383b66={'fixture':_0x481ed5,'test':_0x37ac49,'fixtureIdentifier':_0x116336[_0xa2afd2(0x22b)](getFixtureIdentifier,_0x481ed5),'userAgents':_0x4692fa};await _0x169acc[_0xa2afd2(0x223)](TestFrameworkState['BEFORE_EACH'],HookState[_0xa2afd2(0x212)],_0x383b66),await _0x169acc[_0xa2afd2(0x223)](TestFrameworkState[_0xa2afd2(0x208)],HookState[_0xa2afd2(0x1d8)],_0x383b66);const _0x129c9b={};_0x129c9b['test']=_0x37ac49,_0x129c9b['testStartInfo']=_0x21d8da,_0x129c9b[_0xa2afd2(0x207)]=_0x4d33cd,_0x129c9b['userAgents']=_0x4692fa,await _0x169acc[_0xa2afd2(0x223)](TestFrameworkState[_0xa2afd2(0x1fb)],HookState[_0xa2afd2(0x212)],_0x129c9b);}}}),'reportTestDone':_0x116336[_0x76201e(0x22b)](_0x56dbb7,async function _0xca02ff(_0xa9a9dd,_0x542472,_0x4178c2){const _0x401b9d=_0x76201e,_0x387562=_0x327ae6[_0x401b9d(0x1ec)][_0x116336[_0x401b9d(0x22e)](_0x327ae6[_0x401b9d(0x1ec)][_0x401b9d(0x231)],0x1)]||{'name':_0x116336['jlkAH'],'path':_0x116336[_0x401b9d(0x20f)]},_0x4734ac={};_0x4734ac[_0x401b9d(0x1e3)]=_0x387562[_0x401b9d(0x20c)],_0x4734ac[_0x401b9d(0x1f7)]=_0x387562['path'],_0x4734ac[_0x401b9d(0x202)]=_0xa9a9dd,_0x4734ac[_0x401b9d(0x207)]=_0x4178c2;const _0x3b2d83=_0x116336['TzfTg'](synthesizeTestObject,_0x4734ac),_0x42484a=Array[_0x401b9d(0x22c)](_0x542472&&_0x542472[_0x401b9d(0x1f3)])?_0x542472[_0x401b9d(0x1f3)]['map'](formatError)[_0x401b9d(0x1fa)](Boolean):[],_0x2f1a68=_0x116336['aylYL'](getScreenshotPaths,_0x542472)['map'](_0x137efc=>({'screenshotPath':_0x137efc})),_0x49cd0d={};_0x49cd0d[_0x401b9d(0x1ff)]=_0x542472&&_0x542472['durationMs']||0x0,_0x49cd0d[_0x401b9d(0x1e0)]=!!(_0x542472&&_0x542472[_0x401b9d(0x1e0)]),_0x49cd0d[_0x401b9d(0x1f3)]=_0x42484a,_0x49cd0d['screenshots']=_0x2f1a68,_0x49cd0d['unstable']=!!(_0x542472&&_0x542472[_0x401b9d(0x1e9)]),_0x49cd0d[_0x401b9d(0x235)]=_0x542472&&_0x542472[_0x401b9d(0x235)];const _0x3228f5=_0x49cd0d;logger['debug']('[testcafe-reporter]\x20reportTestDone:\x20'+_0x116336[_0x401b9d(0x1f4)](getTestIdentifier,_0x3b2d83,0x0)+'\x20(errs='+_0x42484a[_0x401b9d(0x231)]+',\x20skipped='+_0x3228f5[_0x401b9d(0x1e0)]+')');const _0xd1e632=_0x327ae6['currentTaskInfo']&&_0x327ae6[_0x401b9d(0x214)]['userAgents']||[];if(BrowserstackCLI[_0x401b9d(0x1e7)]()&&BrowserstackCLI[_0x401b9d(0x1e7)]()[_0x401b9d(0x20e)]()){const _0x66f9a4=BrowserstackCLI[_0x401b9d(0x1e7)](),_0x145283=_0x66f9a4['getTestFramework']();if(_0x145283&&_0x116336[_0x401b9d(0x220)](typeof _0x145283[_0x401b9d(0x223)],_0x116336[_0x401b9d(0x1db)])){const _0x526497={};_0x526497[_0x401b9d(0x1f0)]=_0x3b2d83,_0x526497['testRunInfo']=_0x3228f5,_0x526497[_0x401b9d(0x207)]=_0x4178c2,_0x526497[_0x401b9d(0x1d5)]=_0xd1e632,await _0x145283['trackEvent'](TestFrameworkState[_0x401b9d(0x1fb)],HookState['POST'],_0x526497);const _0x3fabac={'fixture':_0x387562,'test':_0x3b2d83,'fixtureIdentifier':_0x116336[_0x401b9d(0x22b)](getFixtureIdentifier,_0x387562),'userAgents':_0xd1e632};await _0x145283[_0x401b9d(0x223)](TestFrameworkState[_0x401b9d(0x234)],HookState[_0x401b9d(0x212)],_0x3fabac),await _0x145283[_0x401b9d(0x223)](TestFrameworkState['AFTER_EACH'],HookState[_0x401b9d(0x1d8)],_0x3fabac);}}}),'reportTaskDone':_0x116336[_0x76201e(0x205)](_0x56dbb7,async function _0xca8b39(_0x35bd08,_0x461eb6,_0x35a17c,_0x360686){const _0x65afc=_0x76201e;while(_0x327ae6['fixtureStack']['length']){const _0x476285=_0x327ae6[_0x65afc(0x1ec)][_0x65afc(0x233)]();if(BrowserstackCLI[_0x65afc(0x1e7)]()&&BrowserstackCLI[_0x65afc(0x1e7)]()[_0x65afc(0x20e)]()){const _0x4d192d=BrowserstackCLI[_0x65afc(0x1e7)](),_0x1bbf77=_0x4d192d[_0x65afc(0x1eb)]();if(_0x1bbf77&&_0x116336[_0x65afc(0x22d)](typeof _0x1bbf77[_0x65afc(0x223)],_0x116336[_0x65afc(0x1db)])){const _0x326ec3=_0x327ae6['currentTaskInfo']&&_0x327ae6['currentTaskInfo'][_0x65afc(0x1d5)]||[],_0x359ab3={'fixture':_0x476285,'fixtureIdentifier':_0x116336[_0x65afc(0x22b)](getFixtureIdentifier,_0x476285),'userAgents':_0x326ec3};await _0x1bbf77[_0x65afc(0x223)](TestFrameworkState[_0x65afc(0x21c)],HookState['PRE'],_0x359ab3),await _0x1bbf77['trackEvent'](TestFrameworkState[_0x65afc(0x21c)],HookState[_0x65afc(0x1d8)],_0x359ab3);}}}if(BrowserstackCLI[_0x65afc(0x1e7)]()&&BrowserstackCLI[_0x65afc(0x1e7)]()[_0x65afc(0x20e)]()){const _0x5057d2=BrowserstackCLI[_0x65afc(0x1e7)](),_0x15c6f8=_0x5057d2[_0x65afc(0x213)]();if(_0x15c6f8&&_0x116336[_0x65afc(0x220)](typeof _0x15c6f8[_0x65afc(0x223)],_0x116336[_0x65afc(0x1db)]))for(const {userAgent:_0x29427e,platformIndex:_0x356a15,instance:_0x1a58fa}of TestCafeAutomationFramework[_0x65afc(0x227)]()){try{const _0x1e06da={};_0x1e06da[_0x65afc(0x204)]=_0x29427e,_0x1e06da[_0x65afc(0x20d)]=_0x356a15,_0x1e06da[_0x65afc(0x1e4)]=_0x35bd08,_0x1e06da[_0x65afc(0x1f6)]=_0x1a58fa,await _0x15c6f8[_0x65afc(0x223)](AutomationFrameworkState[_0x65afc(0x22f)],HookState[_0x65afc(0x1d8)],_0x1e06da);}catch(_0x3ac66f){logger[_0x65afc(0x203)]('[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent='+_0x29427e+'#'+_0x356a15+':\x20'+_0x3ac66f[_0x65afc(0x221)]);}TestCafeAutomationFramework[_0x65afc(0x238)](_0x29427e,_0x356a15);}}logger[_0x65afc(0x1ef)](_0x65afc(0x1dd)+_0x461eb6+_0x65afc(0x20a)+(_0x35a17c&&_0x35a17c[_0x65afc(0x231)])+'\x20totalDuration='+(_0x360686&&_0x116336[_0x65afc(0x1fd)](_0x116336['kvuJn'](_0x360686[_0x65afc(0x1e8)],_0x360686[_0x65afc(0x21d)]),_0x360686[_0x65afc(0x1f2)])));})};};
|
|
1
|
+
'use strict';const a67_0x5e7c81=a67_0x3704;function a67_0x3704(_0x20efd6,_0x22e41a){const _0x3ce5d3=a67_0x3ce5();return a67_0x3704=function(_0x37042b,_0x26af38){_0x37042b=_0x37042b-0xbc;let _0x54a561=_0x3ce5d3[_0x37042b];return _0x54a561;},a67_0x3704(_0x20efd6,_0x22e41a);}(function(_0x18f53a,_0x50a5e1){const _0x14391e=a67_0x3704,_0xa37369=_0x18f53a();while(!![]){try{const _0x35ab6b=parseInt(_0x14391e(0xc6))/0x1*(parseInt(_0x14391e(0x102))/0x2)+-parseInt(_0x14391e(0xd7))/0x3*(-parseInt(_0x14391e(0xfe))/0x4)+-parseInt(_0x14391e(0x10f))/0x5+parseInt(_0x14391e(0x117))/0x6+parseInt(_0x14391e(0xe4))/0x7+-parseInt(_0x14391e(0xe2))/0x8+parseInt(_0x14391e(0x116))/0x9*(-parseInt(_0x14391e(0xc3))/0xa);if(_0x35ab6b===_0x50a5e1)break;else _0xa37369['push'](_0xa37369['shift']());}catch(_0x1ce7c4){_0xa37369['push'](_0xa37369['shift']());}}}(a67_0x3ce5,0x89ff5));function a67_0x3ce5(){const _0x357f56=['durationMs','mkbFR','iterAllInstances','instance','../../v2/browserstackCLI','failedCount','currentTaskInfo','trackEvent','../session-registry','\x20@\x20','meta','BEFORE_EACH','platformIndex','isArray','WBXjZ','path','[testcafe-reporter]\x20reportTaskStart:\x20','POST','quarantine','stack','testStartInfo','rrMJS','FWlSi','50QKqzxs','\x20(errs=','PXNyQ','1pcrxOK','setup','../../../helpers/logger','../../v2/state/hookState','INIT_TEST','hubUrl','\x20tests\x20across\x20','listEntries','jTEvc','userAgents','akrlb','skippedCount','skipped','screenshots','BEFORE_ALL','taskStructure','properties','1189803qsrzXT','BqnML','map','QUIT','testcafe','\x20totalDuration=','../../v2/framework/testcafeAutomationFramework','AFTER_EACH','test','capabilities','debug','8022696LFTkqR','bHTbK','7825979KhxsLo','izgUU','JchyZ','length','HdOIF','winstonLogger','[testcafe-reporter]\x20reportTaskDone:\x20passed=','getAutomationFramework','driver','removeInstance','filter','push','../../v2/TestInfo','[testcafe-reporter]\x20reportTestDone:\x20','TEST','message','info','endTime','unstable','getInstance','sessionId','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','testCount','fixtureName','fixturePath','getTestFramework','4LFqtqo','qQbzz','IztQA','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','1755974eOcmfd','FopMV','name','PRE','CREATE','fixtureStack','userAgent','sKPjD','../../v2/framework/automationFramework','function','startTime','AFTER_ALL','unknown','383760KAUCll','error','pJEpZ','wMidI','[testcafe-reporter]\x20reportTestStart:\x20','../../v2/state/testFrameworkState','isRunning','1697454eFgDQS','1171626uhGMMQ','errs','../../v2/state/automationFrameworkState','handler','testName','exports'];a67_0x3ce5=function(){return _0x357f56;};return a67_0x3ce5();}const path=require(a67_0x5e7c81(0x12c)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require('./tcUtils'),logger=require(a67_0x5e7c81(0xc8))[a67_0x5e7c81(0xe9)],BrowserstackCLI=require(a67_0x5e7c81(0x121)),TestFrameworkState=require(a67_0x5e7c81(0x114)),AutomationFrameworkState=require(a67_0x5e7c81(0x119)),HookState=require(a67_0x5e7c81(0xc9)),TestInfo=require(a67_0x5e7c81(0xf0)),AutomationFramework=require(a67_0x5e7c81(0x10a)),TestCafeAutomationFramework=require(a67_0x5e7c81(0xdd)),sessionRegistry=require(a67_0x5e7c81(0x125));module[a67_0x5e7c81(0x11c)]=function(_0x578656){const _0x195d27=a67_0x5e7c81,_0x2996cd={'wMidI':function(_0xa29b37,..._0xf8905d){return _0xa29b37(..._0xf8905d);},'eVEWB':_0x195d27(0x11a),'PsVDC':_0x195d27(0xdb),'qQbzz':function(_0xa5e414,_0x5d13f9){return _0xa5e414===_0x5d13f9;},'sKPjD':_0x195d27(0x10b),'pJEpZ':function(_0x51aaa4,_0x16a107){return _0x51aaa4===_0x16a107;},'JchyZ':function(_0x5a705a,_0x5d24c8){return _0x5a705a<_0x5d24c8;},'kVWHY':function(_0x3e83a8,_0x503f64){return _0x3e83a8||_0x503f64;},'WBXjZ':function(_0x3461e2,_0x23b3ac){return _0x3461e2-_0x23b3ac;},'mkbFR':_0x195d27(0x10e),'bHTbK':function(_0x650d91,_0x2a9a89){return _0x650d91(_0x2a9a89);},'FopMV':function(_0x515307,_0x1f45c5,_0x1538ca){return _0x515307(_0x1f45c5,_0x1538ca);},'PXNyQ':function(_0x269338,_0x25238a){return _0x269338-_0x25238a;},'YuFbX':function(_0xcc6dfb,_0x17de3f){return _0xcc6dfb(_0x17de3f);},'BqnML':function(_0x27aeec,_0x554ca6){return _0x27aeec===_0x554ca6;},'rrMJS':function(_0x45fecf,_0x5d8382){return _0x45fecf(_0x5d8382);},'kuqXR':function(_0x41e3f4,_0xcbda9f){return _0x41e3f4(_0xcbda9f);},'IztQA':function(_0x5340b9,_0x2515a5){return _0x5340b9===_0x2515a5;},'HdOIF':function(_0x2401ca,_0x56abaf){return _0x2401ca+_0x56abaf;},'akrlb':function(_0x365e39,_0x55ade6){return _0x365e39+_0x55ade6;},'FWlSi':function(_0x19bd54,_0xa81d0a){return _0x19bd54||_0xa81d0a;},'izgUU':function(_0x12a728,_0x274aad){return _0x12a728(_0x274aad);},'DCDrr':function(_0xedd892,_0x374e23){return _0xedd892(_0x374e23);},'jTEvc':function(_0x136aeb,_0x24e91d){return _0x136aeb(_0x24e91d);}},_0x1f782e={'options':_0x2996cd[_0x195d27(0xc2)](_0x578656,{}),'fixtureStack':[],'currentTaskInfo':null},_0x7e4f2c=_0x5216aa=>async(..._0xe87c8)=>{const _0x6fb2d=_0x195d27;try{return await _0x2996cd[_0x6fb2d(0x112)](_0x5216aa,..._0xe87c8);}catch(_0x5d84f1){logger[_0x6fb2d(0x110)](_0x6fb2d(0x101)+(_0x5216aa[_0x6fb2d(0x104)]||_0x2996cd['eVEWB'])+':\x20'+(_0x5d84f1[_0x6fb2d(0xbf)]||_0x5d84f1));}};return{'reportTaskStart':_0x2996cd[_0x195d27(0xe5)](_0x7e4f2c,async function _0x3e6efd(_0x33889c,_0x477bcf,_0x1efa92,_0x3aeeda,_0x6b2432){const _0x71339a=_0x195d27,_0x366f34={};_0x366f34[_0x71339a(0x10c)]=_0x33889c,_0x366f34[_0x71339a(0xcf)]=_0x477bcf,_0x366f34[_0x71339a(0xfa)]=_0x1efa92,_0x366f34[_0x71339a(0xd5)]=_0x3aeeda,_0x366f34[_0x71339a(0xd6)]=_0x6b2432,_0x1f782e['currentTaskInfo']=_0x366f34,logger[_0x71339a(0xf4)](_0x71339a(0xbc)+_0x1efa92+_0x71339a(0xcc)+_0x477bcf[_0x71339a(0xe7)]+'\x20browsers'),TestInfo['setup']&&TestInfo[_0x71339a(0xc7)](_0x2996cd['PsVDC']);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x71339a(0xf7)]()[_0x71339a(0x115)]())return;const _0x3d5a6d=BrowserstackCLI[_0x71339a(0xf7)](),_0x191245=_0x3d5a6d['getTestFramework']();if(_0x191245&&_0x2996cd[_0x71339a(0xff)](typeof _0x191245['trackEvent'],_0x2996cd[_0x71339a(0x109)])){const _0x4682bf={};_0x4682bf[_0x71339a(0x10c)]=_0x33889c,_0x4682bf[_0x71339a(0xcf)]=_0x477bcf,_0x4682bf['testCount']=_0x1efa92,_0x4682bf[_0x71339a(0xd5)]=_0x3aeeda,await _0x191245[_0x71339a(0x124)](TestFrameworkState[_0x71339a(0xca)],HookState[_0x71339a(0x105)],_0x4682bf);}const _0x4234d5=_0x3d5a6d[_0x71339a(0xeb)](),_0x1461a0=sessionRegistry[_0x71339a(0xcd)]();if(_0x4234d5&&_0x2996cd['pJEpZ'](typeof _0x4234d5[_0x71339a(0x124)],_0x2996cd['sKPjD']))for(let _0x3e8bf6=0x0;_0x2996cd[_0x71339a(0xe6)](_0x3e8bf6,(_0x477bcf||[])[_0x71339a(0xe7)]);_0x3e8bf6++){const _0x1363c2=_0x477bcf[_0x3e8bf6],_0x4067de=_0x1461a0[_0x3e8bf6]||{};await _0x4234d5['trackEvent'](AutomationFrameworkState[_0x71339a(0x106)],HookState['POST'],{'userAgent':_0x1363c2,'startTime':_0x33889c,'driver':_0x4067de[_0x71339a(0xec)],'sessionId':_0x4067de[_0x71339a(0xf8)],'platformIndex':Number['isInteger'](_0x4067de[_0x71339a(0x129)])?_0x4067de['platformIndex']:_0x3e8bf6,'capabilities':_0x4067de[_0x71339a(0xe0)]||{},'hubUrl':_0x4067de[_0x71339a(0xcb)]||''});}}),'reportFixtureStart':_0x2996cd[_0x195d27(0xe5)](_0x7e4f2c,async function _0x273bf1(_0x149bf1,_0x4dc200,_0x21f3d0){const _0x31a579=_0x195d27,_0x288a37={'name':_0x149bf1,'path':_0x4dc200,'meta':_0x2996cd['kVWHY'](_0x21f3d0,{})};_0x1f782e[_0x31a579(0x107)][_0x31a579(0xef)](_0x288a37),logger[_0x31a579(0xe1)]('[testcafe-reporter]\x20reportFixtureStart:\x20'+_0x149bf1+_0x31a579(0x126)+_0x4dc200);if(BrowserstackCLI[_0x31a579(0xf7)]()&&BrowserstackCLI[_0x31a579(0xf7)]()[_0x31a579(0x115)]()){const _0x1edf5f=BrowserstackCLI[_0x31a579(0xf7)](),_0x335861=_0x1edf5f[_0x31a579(0xfd)]();if(_0x335861&&_0x2996cd[_0x31a579(0xff)](typeof _0x335861[_0x31a579(0x124)],_0x2996cd[_0x31a579(0x109)])){const _0x5735ff=_0x1f782e[_0x31a579(0x123)]&&_0x1f782e[_0x31a579(0x123)][_0x31a579(0xcf)]||[],_0x3b8883={'fixture':_0x288a37,'fixtureIdentifier':_0x2996cd[_0x31a579(0x112)](getFixtureIdentifier,_0x288a37),'userAgents':_0x5735ff};await _0x335861[_0x31a579(0x124)](TestFrameworkState[_0x31a579(0xd4)],HookState['PRE'],_0x3b8883),await _0x335861[_0x31a579(0x124)](TestFrameworkState[_0x31a579(0xd4)],HookState[_0x31a579(0xbd)],_0x3b8883);}}}),'reportTestStart':_0x2996cd['DCDrr'](_0x7e4f2c,async function _0x5b7291(_0x5c0fee,_0x5b44b9,_0x56f7bb){const _0x576542=_0x195d27,_0x53f365=_0x1f782e[_0x576542(0x107)][_0x2996cd[_0x576542(0x12b)](_0x1f782e[_0x576542(0x107)][_0x576542(0xe7)],0x1)]||{'name':_0x2996cd[_0x576542(0x11e)],'path':_0x2996cd[_0x576542(0x11e)]},_0x2e4795={};_0x2e4795['fixtureName']=_0x53f365[_0x576542(0x104)],_0x2e4795[_0x576542(0xfc)]=_0x53f365['path'],_0x2e4795[_0x576542(0x11b)]=_0x5c0fee,_0x2e4795[_0x576542(0x127)]=_0x5b44b9;const _0x4f5dd3=_0x2996cd[_0x576542(0xe3)](synthesizeTestObject,_0x2e4795);logger['debug'](_0x576542(0x113)+_0x2996cd[_0x576542(0x103)](getTestIdentifier,_0x4f5dd3,0x0));const _0x30b2ff=_0x1f782e[_0x576542(0x123)]&&_0x1f782e[_0x576542(0x123)][_0x576542(0xcf)]||[];if(BrowserstackCLI[_0x576542(0xf7)]()&&BrowserstackCLI[_0x576542(0xf7)]()['isRunning']()){const _0x155639=BrowserstackCLI[_0x576542(0xf7)](),_0x5e7ac1=_0x155639[_0x576542(0xfd)]();if(_0x5e7ac1&&_0x2996cd[_0x576542(0x111)](typeof _0x5e7ac1['trackEvent'],_0x2996cd['sKPjD'])){const _0x1f00fa={'fixture':_0x53f365,'test':_0x4f5dd3,'fixtureIdentifier':_0x2996cd[_0x576542(0x112)](getFixtureIdentifier,_0x53f365),'userAgents':_0x30b2ff};await _0x5e7ac1['trackEvent'](TestFrameworkState[_0x576542(0x128)],HookState[_0x576542(0x105)],_0x1f00fa),await _0x5e7ac1[_0x576542(0x124)](TestFrameworkState[_0x576542(0x128)],HookState['POST'],_0x1f00fa);const _0x4db372={};_0x4db372['test']=_0x4f5dd3,_0x4db372[_0x576542(0xc0)]=_0x56f7bb,_0x4db372['meta']=_0x5b44b9,_0x4db372['userAgents']=_0x30b2ff,await _0x5e7ac1[_0x576542(0x124)](TestFrameworkState['TEST'],HookState[_0x576542(0x105)],_0x4db372);}}}),'reportTestDone':_0x2996cd[_0x195d27(0xce)](_0x7e4f2c,async function _0x45b273(_0x95473b,_0x176f31,_0xbb45f6){const _0x299289=_0x195d27,_0x462f2d=_0x1f782e[_0x299289(0x107)][_0x2996cd[_0x299289(0xc5)](_0x1f782e['fixtureStack'][_0x299289(0xe7)],0x1)]||{'name':_0x2996cd[_0x299289(0x11e)],'path':_0x2996cd['mkbFR']},_0xd4767a={};_0xd4767a[_0x299289(0xfb)]=_0x462f2d[_0x299289(0x104)],_0xd4767a['fixturePath']=_0x462f2d['path'],_0xd4767a['testName']=_0x95473b,_0xd4767a[_0x299289(0x127)]=_0xbb45f6;const _0x4be68e=_0x2996cd['YuFbX'](synthesizeTestObject,_0xd4767a),_0x3442b1=Array[_0x299289(0x12a)](_0x176f31&&_0x176f31['errs'])?_0x176f31[_0x299289(0x118)][_0x299289(0xd9)](formatError)[_0x299289(0xee)](Boolean):[],_0x59a37b=_0x2996cd[_0x299289(0xe3)](getScreenshotPaths,_0x176f31)['map'](_0x2b442c=>({'screenshotPath':_0x2b442c})),_0x29926={};_0x29926[_0x299289(0x11d)]=_0x176f31&&_0x176f31[_0x299289(0x11d)]||0x0,_0x29926['skipped']=!!(_0x176f31&&_0x176f31['skipped']),_0x29926[_0x299289(0x118)]=_0x3442b1,_0x29926[_0x299289(0xd3)]=_0x59a37b,_0x29926[_0x299289(0xf6)]=!!(_0x176f31&&_0x176f31['unstable']),_0x29926[_0x299289(0xbe)]=_0x176f31&&_0x176f31[_0x299289(0xbe)];const _0x1d5219=_0x29926;logger[_0x299289(0xe1)](_0x299289(0xf1)+_0x2996cd[_0x299289(0x103)](getTestIdentifier,_0x4be68e,0x0)+_0x299289(0xc4)+_0x3442b1[_0x299289(0xe7)]+',\x20skipped='+_0x1d5219[_0x299289(0xd2)]+')');const _0xa9c1b6=_0x1f782e[_0x299289(0x123)]&&_0x1f782e[_0x299289(0x123)][_0x299289(0xcf)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x299289(0xf7)]()['isRunning']()){const _0x4360d2=BrowserstackCLI['getInstance'](),_0x16833f=_0x4360d2[_0x299289(0xfd)]();if(_0x16833f&&_0x2996cd[_0x299289(0xd8)](typeof _0x16833f[_0x299289(0x124)],_0x2996cd[_0x299289(0x109)])){const _0xb9214={};_0xb9214[_0x299289(0xdf)]=_0x4be68e,_0xb9214['testRunInfo']=_0x1d5219,_0xb9214[_0x299289(0x127)]=_0xbb45f6,_0xb9214['userAgents']=_0xa9c1b6,await _0x16833f[_0x299289(0x124)](TestFrameworkState[_0x299289(0xf2)],HookState[_0x299289(0xbd)],_0xb9214);const _0x290d77={'fixture':_0x462f2d,'test':_0x4be68e,'fixtureIdentifier':_0x2996cd[_0x299289(0xc1)](getFixtureIdentifier,_0x462f2d),'userAgents':_0xa9c1b6};await _0x16833f['trackEvent'](TestFrameworkState[_0x299289(0xde)],HookState[_0x299289(0x105)],_0x290d77),await _0x16833f['trackEvent'](TestFrameworkState[_0x299289(0xde)],HookState[_0x299289(0xbd)],_0x290d77);}}}),'reportTaskDone':_0x2996cd[_0x195d27(0x112)](_0x7e4f2c,async function _0x5e5c50(_0x2954d7,_0x183c34,_0x558fab,_0x235caf){const _0x360e73=_0x195d27;while(_0x1f782e[_0x360e73(0x107)][_0x360e73(0xe7)]){const _0x3f1c35=_0x1f782e['fixtureStack']['pop']();if(BrowserstackCLI[_0x360e73(0xf7)]()&&BrowserstackCLI[_0x360e73(0xf7)]()[_0x360e73(0x115)]()){const _0x165d69=BrowserstackCLI['getInstance'](),_0x1bdcd4=_0x165d69[_0x360e73(0xfd)]();if(_0x1bdcd4&&_0x2996cd[_0x360e73(0xff)](typeof _0x1bdcd4[_0x360e73(0x124)],_0x2996cd[_0x360e73(0x109)])){const _0x52f13b=_0x1f782e[_0x360e73(0x123)]&&_0x1f782e[_0x360e73(0x123)]['userAgents']||[],_0x3a50ec={'fixture':_0x3f1c35,'fixtureIdentifier':_0x2996cd['kuqXR'](getFixtureIdentifier,_0x3f1c35),'userAgents':_0x52f13b};await _0x1bdcd4['trackEvent'](TestFrameworkState['AFTER_ALL'],HookState[_0x360e73(0x105)],_0x3a50ec),await _0x1bdcd4['trackEvent'](TestFrameworkState[_0x360e73(0x10d)],HookState['POST'],_0x3a50ec);}}}if(BrowserstackCLI[_0x360e73(0xf7)]()&&BrowserstackCLI[_0x360e73(0xf7)]()[_0x360e73(0x115)]()){const _0x3ebbcd=BrowserstackCLI['getInstance'](),_0x4292d6=_0x3ebbcd['getAutomationFramework']();if(_0x4292d6&&_0x2996cd[_0x360e73(0x100)](typeof _0x4292d6[_0x360e73(0x124)],_0x2996cd[_0x360e73(0x109)]))for(const {userAgent:_0x25b83b,platformIndex:_0x127878,instance:_0x3c5921}of TestCafeAutomationFramework[_0x360e73(0x11f)]()){try{const _0x664ea7={};_0x664ea7[_0x360e73(0x108)]=_0x25b83b,_0x664ea7[_0x360e73(0x129)]=_0x127878,_0x664ea7[_0x360e73(0xf5)]=_0x2954d7,_0x664ea7[_0x360e73(0x120)]=_0x3c5921,await _0x4292d6[_0x360e73(0x124)](AutomationFrameworkState[_0x360e73(0xda)],HookState[_0x360e73(0xbd)],_0x664ea7);}catch(_0x3f447e){logger[_0x360e73(0x110)](_0x360e73(0xf9)+_0x25b83b+'#'+_0x127878+':\x20'+_0x3f447e[_0x360e73(0xf3)]);}TestCafeAutomationFramework[_0x360e73(0xed)](_0x25b83b,_0x127878);}}logger[_0x360e73(0xf4)](_0x360e73(0xea)+_0x183c34+'\x20warnings='+(_0x558fab&&_0x558fab[_0x360e73(0xe7)])+_0x360e73(0xdc)+(_0x235caf&&_0x2996cd[_0x360e73(0xe8)](_0x2996cd[_0x360e73(0xd0)](_0x235caf[_0x360e73(0x122)],_0x235caf['passedCount']),_0x235caf[_0x360e73(0xd1)])));})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a68_0x5931(){const _0x1e4f06=['1308848MselAa','formattedMessage','getFixtureIdentifier','screenshots','ZnyvZ','647cxiDRw','errMsg','3890100NSpsGD','9bhJZLg','renderSync','screenshotPath','NaYJd','screenshotPathForPDF','302GeGJLN','map','4793148bOpdkI','function','5EJVDdp','iCHuo','WbRNU','fixture','7536000VLnWsF','TestCafeError','1707335hxPxQt','unknown','1484097IWvJAy','vzOGL','getScreenshotPaths','getTestIdentifier','synthesizeTestObject','isArray','redip','filter','nSfDx','dfTnA','name','code','path'];a68_0x5931=function(){return _0x1e4f06;};return a68_0x5931();}const a68_0x40dad3=a68_0x20d4;(function(_0x15fd91,_0x5355ab){const _0x36ce81=a68_0x20d4,_0x2c0067=_0x15fd91();while(!![]){try{const _0x19734a=parseInt(_0x36ce81(0x14e))/0x1*(parseInt(_0x36ce81(0x156))/0x2)+-parseInt(_0x36ce81(0x162))/0x3+parseInt(_0x36ce81(0x158))/0x4+-parseInt(_0x36ce81(0x15a))/0x5*(-parseInt(_0x36ce81(0x150))/0x6)+-parseInt(_0x36ce81(0x160))/0x7+parseInt(_0x36ce81(0x149))/0x8*(parseInt(_0x36ce81(0x151))/0x9)+-parseInt(_0x36ce81(0x15e))/0xa;if(_0x19734a===_0x5355ab)break;else _0x2c0067['push'](_0x2c0067['shift']());}catch(_0x5cafae){_0x2c0067['push'](_0x2c0067['shift']());}}}(a68_0x5931,0x96538));function a68_0x20d4(_0x3222dc,_0x3139df){const _0x593139=a68_0x5931();return a68_0x20d4=function(_0x20d40d,_0x6a3ad6){_0x20d40d=_0x20d40d-0x147;let _0x4b0576=_0x593139[_0x20d40d];return _0x4b0576;},a68_0x20d4(_0x3222dc,_0x3139df);}function getTestIdentifier(_0x141b48,_0x53eb5f){const _0x35d171=a68_0x20d4,_0x1f22f9={};_0x1f22f9['WbRNU']=_0x35d171(0x161);const _0x4227cd=_0x1f22f9,_0x4ec015=_0x141b48&&_0x141b48[_0x35d171(0x15d)]&&_0x141b48[_0x35d171(0x15d)][_0x35d171(0x148)]||_0x4227cd[_0x35d171(0x15c)],_0x3b3ec3=_0x141b48&&_0x141b48[_0x35d171(0x15d)]&&_0x141b48[_0x35d171(0x15d)][_0x35d171(0x16c)]||_0x4227cd[_0x35d171(0x15c)],_0x15559d=_0x141b48&&_0x141b48['name']||_0x4227cd[_0x35d171(0x15c)],_0x47fb4e=_0x4ec015+'::'+_0x3b3ec3+'::'+_0x15559d;return _0x53eb5f?_0x47fb4e+'::retry'+_0x53eb5f:_0x47fb4e;}function getFixtureIdentifier(_0x117d21){const _0x19c0d9=a68_0x20d4,_0x23e034={};_0x23e034[_0x19c0d9(0x154)]='unknown';const _0x56dd17=_0x23e034,_0x14633e=_0x117d21&&_0x117d21[_0x19c0d9(0x148)]||_0x56dd17[_0x19c0d9(0x154)],_0x29aad7=_0x117d21&&_0x117d21[_0x19c0d9(0x16c)]||_0x56dd17['NaYJd'];return _0x14633e+'::'+_0x29aad7;}function synthesizeTestObject({fixtureName:_0x1901ae,fixturePath:_0x2590d9,testName:_0x314de8,meta:_0x22b77d}){const _0x577587=a68_0x20d4,_0x4e37a6={};_0x4e37a6[_0x577587(0x163)]=function(_0x459063,_0x10697f){return _0x459063||_0x10697f;};const _0x424f96=_0x4e37a6,_0x1599f8={};return _0x1599f8[_0x577587(0x16c)]=_0x1901ae,_0x1599f8['path']=_0x2590d9,{'name':_0x314de8,'meta':_0x424f96[_0x577587(0x163)](_0x22b77d,{}),'fixture':_0x1599f8};}function getScreenshotPaths(_0x15bb10){const _0x5069cf=a68_0x20d4;if(!_0x15bb10||!Array[_0x5069cf(0x167)](_0x15bb10['screenshots']))return[];return _0x15bb10[_0x5069cf(0x14c)][_0x5069cf(0x157)](_0x611475=>_0x611475&&(_0x611475[_0x5069cf(0x153)]||_0x611475[_0x5069cf(0x155)])||null)[_0x5069cf(0x169)](Boolean);}function formatError(_0x2ca94a){const _0x2aa119=a68_0x20d4,_0x365971={'ZnyvZ':_0x2aa119(0x15f),'dfTnA':function(_0x1648cd,_0x22a55a){return _0x1648cd(_0x22a55a);},'redip':function(_0x218dac,_0x243e0c){return _0x218dac(_0x243e0c);}};if(!_0x2ca94a)return null;return{'type':_0x2ca94a[_0x2aa119(0x147)]||_0x365971[_0x2aa119(0x14d)],'message':_0x2ca94a[_0x2aa119(0x14a)]||_0x2ca94a[_0x2aa119(0x14f)]||_0x365971[_0x2aa119(0x16b)](String,_0x2ca94a),'stack':_0x365971[_0x2aa119(0x168)](_tryRenderCallsite,_0x2ca94a)};}function _tryRenderCallsite(_0x55a7f7){const _0x3004fb=a68_0x20d4,_0x289fd4={};_0x289fd4['nSfDx']=function(_0x4591b6,_0x4e77f2){return _0x4591b6===_0x4e77f2;},_0x289fd4[_0x3004fb(0x15b)]=_0x3004fb(0x159);const _0x44e856=_0x289fd4;try{if(_0x55a7f7&&_0x55a7f7['callsite']&&_0x44e856[_0x3004fb(0x16a)](typeof _0x55a7f7['callsite'][_0x3004fb(0x152)],_0x44e856[_0x3004fb(0x15b)])){const _0x9babe9={};return _0x9babe9['stackFilter']=()=>!![],_0x55a7f7['callsite'][_0x3004fb(0x152)](_0x9babe9);}}catch(_0x129d05){}return'';}const a68_0x2b876e={};a68_0x2b876e[a68_0x40dad3(0x165)]=getTestIdentifier,a68_0x2b876e[a68_0x40dad3(0x14b)]=getFixtureIdentifier,a68_0x2b876e[a68_0x40dad3(0x166)]=synthesizeTestObject,a68_0x2b876e[a68_0x40dad3(0x164)]=getScreenshotPaths,a68_0x2b876e['formatError']=formatError,module['exports']=a68_0x2b876e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a69_0xb7f615=a69_0x4eef;(function(_0x267db6,_0x36ca56){const _0x37ea83=a69_0x4eef,_0x10c75c=_0x267db6();while(!![]){try{const _0x47cdbd=parseInt(_0x37ea83(0x88))/0x1*(parseInt(_0x37ea83(0xa6))/0x2)+-parseInt(_0x37ea83(0x87))/0x3+-parseInt(_0x37ea83(0x74))/0x4+parseInt(_0x37ea83(0xa3))/0x5*(-parseInt(_0x37ea83(0x82))/0x6)+parseInt(_0x37ea83(0xaf))/0x7*(parseInt(_0x37ea83(0xb8))/0x8)+parseInt(_0x37ea83(0x92))/0x9+-parseInt(_0x37ea83(0x9e))/0xa*(-parseInt(_0x37ea83(0x91))/0xb);if(_0x47cdbd===_0x36ca56)break;else _0x10c75c['push'](_0x10c75c['shift']());}catch(_0x2fa829){_0x10c75c['push'](_0x10c75c['shift']());}}}(a69_0x1cc6,0x19726));function a69_0x1cc6(){const _0x5b95e0=['683504cFwgRw','driver','warn','JFdpK','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','length','kKiKn',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','status','hdNUq',')\x20OK\x20for\x20','winstonLogger','env','106074rzBGFq','register','BROWSERSTACK_USERNAME','stringify','reason','401190LczTfV','169PJxJUF','\x20(will\x20retry\x20via\x20REST):\x20','message','DzKMX','info','vzkBy','throwHttpErrors','put','json','3932973nnvzHn','68589YgNtfw','ChXwT','OoChB','[session-registry]\x20REST\x20mark\x20failed\x20for\x20','platformIndex','executeScript','../../helpers/logger','password','action','markStatus','trim','exports','10AvzzXS','responseType','request','KuNXu','hiUjU','40iRquts','KnOsB','TfUmO','1046fQAVVz','function','replace','MQvmR','statusCode','slice','timeout','BROWSERSTACK_ACCESS_KEY','\x20for\x20','2163EHTxrs','username','got','arguments','[session-registry]\x20driver.quit\x20failed\x20for\x20','quitAll','[session-registry]\x20executeScript\x20setSessionStatus(','sessionId','failed','2504zJFPDy','test','.json','jamve','quit','BbprQ'];a69_0x1cc6=function(){return _0x5b95e0;};return a69_0x1cc6();}const got=require(a69_0xb7f615(0xb1)),logger=require(a69_0xb7f615(0x98))[a69_0xb7f615(0x80)],{BROWSERSTACK_API_URL}=require('../utils/constants'),_entries=[];function register(_0x24e223){const _0x12fd08=a69_0xb7f615,_0x37c65c={};_0x37c65c[_0x12fd08(0xbb)]=_0x12fd08(0xb7),_0x37c65c[_0x12fd08(0xa2)]=_0x12fd08(0x7c);const _0x349fd1=_0x37c65c,_0xe3c34f={'status':_0x349fd1[_0x12fd08(0xbb)],'reason':_0x349fd1[_0x12fd08(0xa2)],..._0x24e223};_entries['push'](_0xe3c34f);}function a69_0x4eef(_0x4c144e,_0x4216eb){const _0x1cc6f7=a69_0x1cc6();return a69_0x4eef=function(_0x4eefa2,_0x288e6c){_0x4eefa2=_0x4eefa2-0x74;let _0x539b9d=_0x1cc6f7[_0x4eefa2];return _0x539b9d;},a69_0x4eef(_0x4c144e,_0x4216eb);}function listEntries(){const _0x31d61=a69_0xb7f615;return _entries[_0x31d61(0xab)]();}function markStatus(_0x4b6819,_0x2e1de8,_0x11b525){const _0x292323=a69_0xb7f615,_0x2f28d2={};_0x2f28d2['ChXwT']=function(_0x38e6c3,_0x10a57d){return _0x38e6c3===_0x10a57d;};const _0x3446d9=_0x2f28d2;for(const _0x3e0eb0 of _entries){if(_0x3446d9[_0x292323(0x93)](_0x3e0eb0[_0x292323(0x96)],_0x4b6819))return _0x3e0eb0[_0x292323(0x7d)]=_0x2e1de8,_0x11b525&&(_0x3e0eb0[_0x292323(0x86)]=_0x11b525),!![];}return![];}function _resolveCreds(_0x50b916){const _0x435540=a69_0xb7f615,_0x110e6={'OoChB':function(_0x555cbf,_0x32c373){return _0x555cbf(_0x32c373);},'DzKMX':function(_0x163b65,_0x4b7e54){return _0x163b65(_0x4b7e54);}};try{if(_0x50b916){const _0x1b80e9=_0x110e6[_0x435540(0x94)](String,_0x50b916)[_0x435540(0x9c)](),_0x3faefc=/^https?:\/\//i[_0x435540(0xb9)](_0x1b80e9)?_0x1b80e9:'https://'+_0x1b80e9[_0x435540(0xa8)](/^\/+/,''),_0x2be807=new URL(_0x3faefc);if(_0x2be807['username']||_0x2be807['password'])return{'username':_0x110e6['OoChB'](decodeURIComponent,_0x2be807[_0x435540(0xb0)]||''),'password':_0x110e6[_0x435540(0x8b)](decodeURIComponent,_0x2be807[_0x435540(0x99)]||'')};}}catch(_0x1a82ad){}const _0x54c69f={};return _0x54c69f[_0x435540(0xb0)]=process[_0x435540(0x81)][_0x435540(0x84)]||'',_0x54c69f[_0x435540(0x99)]=process[_0x435540(0x81)][_0x435540(0xad)]||'',_0x54c69f;}async function _markViaRestApi(_0x58b473){const _0x5a1286=a69_0xb7f615,_0x2f9935={'vzkBy':function(_0x5aae93,_0x4c21d7){return _0x5aae93(_0x4c21d7);},'hdNUq':function(_0x22494c,_0x318b6e){return _0x22494c||_0x318b6e;},'kKiKn':'failed','YDRqk':'json','MQvmR':function(_0x3d9cfb,_0x1e78e1){return _0x3d9cfb>=_0x1e78e1;},'KnOsB':function(_0x4f3557,_0x593f0b){return _0x4f3557<_0x593f0b;}},{username:_0x36c5db,password:_0x5dd5d4}=_0x2f9935[_0x5a1286(0x8d)](_resolveCreds,_0x58b473['hubUrl']);if(_0x2f9935[_0x5a1286(0x7e)](!_0x36c5db,!_0x5dd5d4))return logger[_0x5a1286(0x76)](_0x5a1286(0x78)+_0x58b473[_0x5a1286(0xb6)]+_0x5a1286(0x7b)),![];const _0x294a4c=BROWSERSTACK_API_URL+'/automate/sessions/'+_0x58b473[_0x5a1286(0xb6)]+_0x5a1286(0xba);try{const _0x22f712={};_0x22f712[_0x5a1286(0x7d)]=_0x58b473['status']||_0x2f9935[_0x5a1286(0x7a)],_0x22f712[_0x5a1286(0x86)]=_0x58b473[_0x5a1286(0x86)]||'';const _0x2fa30d={};_0x2fa30d[_0x5a1286(0xa0)]=0x7530;const _0x34b81d={};_0x34b81d[_0x5a1286(0xb0)]=_0x36c5db,_0x34b81d[_0x5a1286(0x99)]=_0x5dd5d4,_0x34b81d[_0x5a1286(0x90)]=_0x22f712,_0x34b81d[_0x5a1286(0x9f)]=_0x2f9935['YDRqk'],_0x34b81d[_0x5a1286(0x8e)]=![],_0x34b81d[_0x5a1286(0xac)]=_0x2fa30d;const _0x5b0a50=await got[_0x5a1286(0x8f)](_0x294a4c,_0x34b81d);if(_0x2f9935[_0x5a1286(0xa9)](_0x5b0a50[_0x5a1286(0xaa)],0xc8)&&_0x2f9935[_0x5a1286(0xa4)](_0x5b0a50[_0x5a1286(0xaa)],0x12c))return logger[_0x5a1286(0x8c)]('[session-registry]\x20REST\x20setSessionStatus('+_0x58b473[_0x5a1286(0x7d)]+_0x5a1286(0x7f)+_0x58b473[_0x5a1286(0xb6)]),!![];return logger[_0x5a1286(0x76)]('[session-registry]\x20REST\x20mark\x20HTTP\x20'+_0x5b0a50[_0x5a1286(0xaa)]+_0x5a1286(0xae)+_0x58b473[_0x5a1286(0xb6)]+':\x20'+JSON[_0x5a1286(0x85)](_0x5b0a50['body'])[_0x5a1286(0xab)](0x0,0xc8)),![];}catch(_0xa52681){return logger['warn'](_0x5a1286(0x95)+_0x58b473[_0x5a1286(0xb6)]+':\x20'+_0xa52681[_0x5a1286(0x8a)]),![];}}async function quitAll(){const _0x148814=a69_0xb7f615,_0x2bb1b5={'JFdpK':function(_0x5f1d49,_0x228ffd){return _0x5f1d49===_0x228ffd;},'BbprQ':_0x148814(0xa7),'TfUmO':'setSessionStatus','xgagg':_0x148814(0xb7),'KuNXu':function(_0x217fa1,_0x728fbb){return _0x217fa1(_0x728fbb);}};try{for(const _0x4af6ec of _entries){let _0x4e7c23=![];try{if(_0x4af6ec['driver']&&_0x2bb1b5[_0x148814(0x77)](typeof _0x4af6ec[_0x148814(0x75)][_0x148814(0x97)],_0x2bb1b5[_0x148814(0xbd)])){const _0x23e20b={};_0x23e20b[_0x148814(0x9a)]=_0x2bb1b5[_0x148814(0xa5)],_0x23e20b[_0x148814(0xb2)]={},_0x23e20b[_0x148814(0xb2)]['status']=_0x4af6ec[_0x148814(0x7d)]||_0x2bb1b5['xgagg'],_0x23e20b[_0x148814(0xb2)]['reason']=_0x4af6ec[_0x148814(0x86)]||'';const _0x11ee14='browserstack_executor:\x20'+JSON[_0x148814(0x85)](_0x23e20b);await _0x4af6ec[_0x148814(0x75)][_0x148814(0x97)](_0x11ee14),_0x4e7c23=!![],logger['info'](_0x148814(0xb5)+_0x4af6ec['status']+_0x148814(0x7f)+_0x4af6ec[_0x148814(0xb6)]);}}catch(_0x114a17){logger['warn']('[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20'+_0x4af6ec[_0x148814(0xb6)]+_0x148814(0x89)+_0x114a17[_0x148814(0x8a)]);}!_0x4e7c23&&await _0x2bb1b5[_0x148814(0xa1)](_markViaRestApi,_0x4af6ec);try{_0x4af6ec[_0x148814(0x75)]&&_0x2bb1b5['JFdpK'](typeof _0x4af6ec['driver'][_0x148814(0xbc)],_0x2bb1b5[_0x148814(0xbd)])&&await _0x4af6ec['driver'][_0x148814(0xbc)]();}catch(_0x405c71){logger[_0x148814(0x76)](_0x148814(0xb3)+_0x4af6ec[_0x148814(0xb6)]+':\x20'+_0x405c71[_0x148814(0x8a)]);}}}finally{_entries[_0x148814(0x79)]=0x0;}}const a69_0x1fe1e0={};a69_0x1fe1e0[a69_0xb7f615(0x83)]=register,a69_0x1fe1e0['listEntries']=listEntries,a69_0x1fe1e0[a69_0xb7f615(0x9b)]=markStatus,a69_0x1fe1e0[a69_0xb7f615(0xb4)]=quitAll,module[a69_0xb7f615(0x9d)]=a69_0x1fe1e0;
|