browserstack-node-sdk 1.61.0 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- 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/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a61_0x300201=a61_0x57eb;function a61_0x2db7(){const _0x4e3f66=['viCgl','_child','vTsIf','1689752DxqFpe','end','GLKhK','9679314NIsOqU','results','tsbRb','../../helpers/test-observability/utils','resolve','TZcSq','worker_threads','WUXWu','802722PUPWeA','info','eKepa','parallelVanillaRun','_workerPool','config','parallelTestRun','Rcthl','CkZOP','p-limit','exitCode','map','Exception\x20in\x20sending\x20worker\x20message\x20','qMpJX','nOcIC','vanillaWorker','error','9KBHtcd','emit','Workers\x20failed\x20to\x20exit\x20gracefully','worker','PDctT','platformCaps','stdout','../../helpers/performance/performance-tester','LOUuV','getWorkers','emittery','eJCTy','PuDSG','huuDh','configuration','wDIlb','21jXmMpy','../../helpers/logger','failureCount','fUQaq','CMkAN','oSQkR','winstonLogger','debug','getStderr','platform-run-failure','stderr','verWF','1179784KbgcIY','EVENTS','Wnpej','log','waitForExit','then','platform-run-success','pipe','platforms','oyZXR','push','wZJku','length','uceud','exit','614205fwmJlH','all','platform','QQwEO','1846168DtaNIe','wydRr','9713673HYSarn','./testWorker.js','cucumberWorker','platform-run-start','SEASG','test-file-success','util','format','getStdout','Worker','ymGNA','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','platformIndex','../../helpers/performance/constants','../../helpers/testhub/testhubHandler','postMessage','ZlKnB','SDK_SETUP','jzoap','json','KaeAQ','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','test-file-failure'];a61_0x2db7=function(){return _0x4e3f66;};return a61_0x2db7();}function a61_0x57eb(_0x15133a,_0x5f0075){const _0x2db796=a61_0x2db7();return a61_0x57eb=function(_0x57eb73,_0x4af37e){_0x57eb73=_0x57eb73-0xa2;let _0x1fce53=_0x2db796[_0x57eb73];return _0x1fce53;},a61_0x57eb(_0x15133a,_0x5f0075);}(function(_0x1bff06,_0x4d0293){const _0x23400e=a61_0x57eb,_0x433b42=_0x1bff06();while(!![]){try{const _0x48d216=-parseInt(_0x23400e(0xab))/0x1+-parseInt(_0x23400e(0xe5))/0x2+-parseInt(_0x23400e(0xf6))/0x3*(-parseInt(_0x23400e(0xbe))/0x4)+-parseInt(_0x23400e(0xba))/0x5+parseInt(_0x23400e(0xdd))/0x6+-parseInt(_0x23400e(0x106))/0x7*(-parseInt(_0x23400e(0xda))/0x8)+-parseInt(_0x23400e(0xc0))/0x9;if(_0x48d216===_0x4d0293)break;else _0x433b42['push'](_0x433b42['shift']());}catch(_0x49457b){_0x433b42['push'](_0x433b42['shift']());}}}(a61_0x2db7,0xcf15b));const Worker=require('jest-worker')[a61_0x300201(0xc9)],Emittery=require(a61_0x300201(0x100)),pLimit=require(a61_0x300201(0xee)),{parentPort}=require(a61_0x300201(0xe3)),util=require(a61_0x300201(0xc6)),logger=require(a61_0x300201(0x107))[a61_0x300201(0xa5)],PerformanceTester=require(a61_0x300201(0xfd)),PerformanceEvents=require(a61_0x300201(0xcd))[a61_0x300201(0xac)],{debug}=require(a61_0x300201(0xe0)),TestHubHandler=require(a61_0x300201(0xce));exports[a61_0x300201(0xeb)]=(_0x298f1e,_0x4b5ea2,_0x2d89fb)=>new Promise(async _0x14d9f7=>{const _0x5f2540=a61_0x300201,_0x5a8863={'TZcSq':_0x5f2540(0x108),'GjVwX':function(_0x2d0f61,_0x5db469){return _0x2d0f61+_0x5db469;},'QQwEO':_0x5f2540(0xde),'verWF':_0x5f2540(0xf8),'YjFoI':function(_0xb11a7d,_0x4fa447){return _0xb11a7d(_0x4fa447);},'Wnpej':'test-file-start','Rcthl':'./testWorker.js','gLdXK':_0x5f2540(0xf9),'huuDh':_0x5f2540(0xd3),'ymGNA':'pipe','wydRr':function(_0x10e787,_0x4931a3){return _0x10e787*_0x4931a3;},'PDctT':'test-file-success','eJCTy':_0x5f2540(0xd6),'OCAnH':function(_0x20311c,_0x5b4d2e){return _0x20311c(_0x5b4d2e);}},_0x555b93=_0x2d89fb[_0x5f2540(0xea)],_0x18e8cc={},_0xbc3719=new Worker(require['resolve'](_0x5a8863[_0x5f2540(0xec)]),{'exposedMethods':[_0x5a8863['gLdXK']],'forkOptions':{'serialization':_0x5a8863[_0x5f2540(0x103)],'stdio':_0x5a8863[_0x5f2540(0xca)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x5a8863[_0x5f2540(0xbf)](_0x4b5ea2,0x1),'enableWorkerThreads':!![]}),_0x58b3d6=new Emittery();_0x58b3d6['on'](_0x5a8863[_0x5f2540(0xfa)],_0x36f938=>{const _0x4fb76b=_0x5f2540;_0x18e8cc[_0x36f938[0x0]]?(_0x18e8cc[_0x36f938[0x0]][_0x5a8863[_0x4fb76b(0xe2)]]=_0x5a8863['GjVwX'](_0x18e8cc[_0x36f938[0x0]][_0x5a8863[_0x4fb76b(0xe2)]],_0x36f938[0x1][_0x5a8863[_0x4fb76b(0xe2)]]),_0x18e8cc[_0x36f938[0x0]][_0x5a8863[_0x4fb76b(0xbd)]]=[..._0x18e8cc[_0x36f938[0x0]][_0x5a8863[_0x4fb76b(0xbd)]],..._0x36f938[0x1][_0x5a8863[_0x4fb76b(0xbd)]]]):_0x18e8cc[_0x36f938[0x0]]={'failureCount':_0x36f938[0x1][_0x5a8863[_0x4fb76b(0xe2)]],'results':[..._0x36f938[0x1][_0x5a8863[_0x4fb76b(0xbd)]]]};}),_0x58b3d6['on'](_0x5a8863[_0x5f2540(0x101)],_0x591b1f=>console[_0x5f2540(0xae)](_0x591b1f[0x1]));_0xbc3719[_0x5f2540(0xc8)]()&&_0xbc3719['getStdout']()[_0x5f2540(0xb2)](process[_0x5f2540(0xfc)]);_0xbc3719[_0x5f2540(0xa7)]()&&_0xbc3719['getStderr']()[_0x5f2540(0xb2)](process[_0x5f2540(0xa9)]);const _0x5a60c3=async()=>{const _0x4d6fb2=_0x5f2540,{forceExited:_0x3e8f01}=await _0xbc3719[_0x4d6fb2(0xdb)]();_0x3e8f01&&console['error'](_0x5a8863[_0x4d6fb2(0xaa)]);try{await TestHubHandler['stop']();}catch(_0x3056a5){_0x5a8863['YjFoI'](debug,_0x4d6fb2(0xcb)+_0x3056a5);}_0x5a8863['YjFoI'](_0x14d9f7,_0x18e8cc);},_0x528f66=_0x5a8863['OCAnH'](pLimit,_0x5a8863['wydRr'](_0x4b5ea2,0x1)),_0x3b73b1=_0x311589=>_0x528f66(async()=>{const _0x47add9=_0x5f2540;await _0x58b3d6[_0x47add9(0xf7)](_0x5a8863[_0x47add9(0xad)],_0x311589);const _0x21eb79=_0xbc3719[_0x47add9(0xf9)](_0x311589,_0x555b93);try{parentPort&&_0x21eb79['UNSTABLE_onCustomMessage'](_0x4cef8a=>{const _0x257b78=_0x47add9;try{parentPort[_0x257b78(0xcf)](_0x4cef8a);}catch(_0x44d403){logger['debug'](_0x257b78(0xf1)+util[_0x257b78(0xc7)](_0x44d403));}});}catch(_0x64ee45){logger[_0x47add9(0xa6)](_0x47add9(0xd5)+util[_0x47add9(0xc7)](_0x64ee45));}return _0x21eb79;});PerformanceTester[_0x5f2540(0xdb)](PerformanceEvents[_0x5f2540(0xd1)]),Promise['all'](_0x298f1e['map'](_0x270c9a=>_0x3b73b1(_0x270c9a)[_0x5f2540(0xb0)](_0x3c87e7=>_0x58b3d6['emit'](_0x5f2540(0xc5),[_0x270c9a[_0x5f2540(0x104)]['platform'],_0x3c87e7]),_0x529fd5=>_0x58b3d6[_0x5f2540(0xf7)](_0x5f2540(0xd6),[_0x270c9a,_0x529fd5]))))[_0x5f2540(0xb0)](_0x5a60c3,_0x5a60c3);}),exports['parallelCucumberRun']=(_0x42ba38,_0x47ab50,_0x3892d5,_0x446ff2,_0x16eabc)=>{const _0x42acd9=a61_0x300201,_0x1363ec={'KaeAQ':'Workers\x20failed\x20to\x20exit\x20gracefully','viCgl':function(_0x484f1d,_0x414f51){return _0x484f1d(_0x414f51);},'CMkAN':_0x42acd9(0xc3),'vTsIf':_0x42acd9(0xc1),'eKepa':_0x42acd9(0xc2),'oyZXR':_0x42acd9(0xd3),'yizgf':_0x42acd9(0xb2),'ZlKnB':_0x42acd9(0xb1),'WUXWu':_0x42acd9(0xa8),'SEASG':function(_0x4e4614,_0xd958cf){return _0x4e4614(_0xd958cf);}};return new Promise(_0x2447ff=>{const _0x215865=_0x42acd9,_0x5a201b={};_0x5a201b['tsbRb']=_0x1363ec[_0x215865(0xa3)];const _0x5a71fa=_0x5a201b,_0x50a3e1=[],_0x1b854b=new Worker(require[_0x215865(0xe1)](_0x1363ec[_0x215865(0xd9)]),{'exposedMethods':[_0x1363ec[_0x215865(0xe7)]],'forkOptions':{'serialization':_0x1363ec[_0x215865(0xb4)],'stdio':_0x1363ec['yizgf']},'numWorkers':_0x42ba38[_0x215865(0xb7)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4a812b=new Emittery();_0x4a812b['on'](_0x1363ec[_0x215865(0xd0)],_0x5de47a=>{const _0x3e5c8f=_0x215865;_0x50a3e1[_0x3e5c8f(0xb5)]([_0x5de47a[0x0],_0x5de47a[0x1]]);}),_0x4a812b['on'](_0x1363ec[_0x215865(0xe4)],_0x335adc=>console[_0x215865(0xae)](_0x335adc[0x1]));_0x1b854b['getStdout']()&&_0x1b854b[_0x215865(0xc8)]()['pipe'](process[_0x215865(0xfc)]);_0x1b854b[_0x215865(0xa7)]()&&_0x1b854b['getStderr']()['pipe'](process[_0x215865(0xa9)]);const _0xb81629=async()=>{const _0x1c40be=_0x215865,{forceExited:_0x20a5c4}=await _0x1b854b[_0x1c40be(0xdb)]();_0x20a5c4&&console[_0x1c40be(0xf5)](_0x1363ec[_0x1c40be(0xd4)]),_0x1363ec[_0x1c40be(0xd7)](_0x2447ff,_0x50a3e1);},_0x17a99e=_0x1363ec[_0x215865(0xc4)](pLimit,_0x42ba38[_0x215865(0xb7)]||0x1),_0x3e4eb8=(_0x4fc5e1,_0x3e154f)=>_0x17a99e(async()=>{const _0x521c49=_0x215865;return await _0x4a812b[_0x521c49(0xf7)](_0x5a71fa[_0x521c49(0xdf)],_0x4fc5e1),_0x47ab50[_0x521c49(0xfb)]=_0x3892d5[_0x521c49(0xb3)][_0x3e154f],_0x47ab50[_0x521c49(0xcc)]=_0x3e154f,_0x1b854b[_0x521c49(0xc2)](_0x4fc5e1,_0x47ab50,_0x3892d5,_0x446ff2,_0x16eabc);});Promise[_0x215865(0xbb)](_0x42ba38[_0x215865(0xf0)]((_0x5660be,_0x1ecdf1)=>_0x3e4eb8(_0x5660be,_0x1ecdf1)[_0x215865(0xb0)](_0x19364c=>_0x4a812b[_0x215865(0xf7)]('platform-run-success',[_0x5660be,_0x19364c]),_0x23051b=>_0x4a812b[_0x215865(0xf7)](_0x215865(0xa8),[_0x5660be,_0x23051b]))))[_0x215865(0xb0)](_0xb81629,_0xb81629);});},exports[a61_0x300201(0xe8)]=(_0x2a8801,_0x44ce0f)=>new Promise(_0x28d429=>{const _0x1caf81=a61_0x300201,_0x10b049={'fUQaq':function(_0xc8d2bf,_0x3088ee){return _0xc8d2bf===_0x3088ee;},'Dbuqv':function(_0x311a8b,_0x2a3892){return _0x311a8b!==_0x2a3892;},'wZJku':_0x1caf81(0xb9),'FNgBJ':_0x1caf81(0xf8),'nOcIC':function(_0x2b5887,_0x16d659){return _0x2b5887(_0x16d659);},'qMpJX':_0x1caf81(0xc1),'jzoap':_0x1caf81(0xf4),'CkZOP':_0x1caf81(0xd3),'GLKhK':'pipe','wDIlb':_0x1caf81(0xc5),'PuDSG':_0x1caf81(0xd6),'oSQkR':function(_0x93483e,_0x98275e){return _0x93483e(_0x98275e);}},_0x5ef88b={},_0x2d1a21=new Worker(require['resolve'](_0x10b049[_0x1caf81(0xf2)]),{'exposedMethods':[_0x10b049[_0x1caf81(0xd2)]],'forkOptions':{'serialization':_0x10b049[_0x1caf81(0xed)],'stdio':_0x10b049[_0x1caf81(0xdc)]},'numWorkers':_0x44ce0f,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x2fe2b8=new Emittery();_0x2fe2b8['on'](_0x10b049[_0x1caf81(0x105)],_0x44f3a6=>{const _0x4b2852=_0x1caf81;_0x44f3a6[0x0]&&logger[_0x4b2852(0xe6)]('Running\x20'+_0x44f3a6[0x1]+'\x20for',_0x44f3a6[0x0]);}),_0x2fe2b8['on'](_0x10b049[_0x1caf81(0x102)],_0x98b5f=>{process['exitCode']=0x1;});_0x2d1a21[_0x1caf81(0xc8)]()&&_0x2d1a21[_0x1caf81(0xc8)]()['pipe'](process[_0x1caf81(0xfc)]);_0x2d1a21[_0x1caf81(0xa7)]()&&_0x2d1a21[_0x1caf81(0xa7)]()['pipe'](process['stderr']);const _0x2222a9=async()=>{const _0x81179=_0x1caf81,_0x34e316={'yGQFA':function(_0x3d8166,_0x1eb951){const _0x186075=a61_0x57eb;return _0x10b049[_0x186075(0xa2)](_0x3d8166,_0x1eb951);},'rVOrA':function(_0x196f5b,_0x4d50ac){return _0x10b049['Dbuqv'](_0x196f5b,_0x4d50ac);},'LOUuV':_0x10b049[_0x81179(0xb6)]};let _0x3bd0a9=0x0;const _0x43d363=_0x2d1a21[_0x81179(0xe9)][_0x81179(0xff)](),_0x3b3869=()=>{},_0x5c16fa=_0x43d363[_0x81179(0xf0)](async _0x15b561=>{const _0x4aaf5a=_0x81179,_0x4fc197={'qaztm':function(_0xe9ab65,_0x44f4e8){return _0x34e316['yGQFA'](_0xe9ab65,_0x44f4e8);},'uceud':function(_0x27ae37,_0x11525c){return _0x34e316['rVOrA'](_0x27ae37,_0x11525c);}};_0x15b561['send']([0x2,![]],_0x3b3869,_0x3b3869,_0x3b3869),_0x15b561[_0x4aaf5a(0xd8)]['on'](_0x34e316[_0x4aaf5a(0xfe)],_0x52af76=>{const _0x200017=_0x4aaf5a;_0x4fc197['qaztm'](_0x3bd0a9,0x0)&&_0x4fc197[_0x200017(0xb8)](_0x52af76,0x0)&&(_0x3bd0a9=_0x52af76);}),await _0x15b561[_0x4aaf5a(0xaf)]();});await Promise[_0x81179(0xbb)](_0x5c16fa),process[_0x81179(0xef)]=_0x3bd0a9;const {forceExited:_0x131496}=await _0x2d1a21[_0x81179(0xdb)]();_0x131496&&console[_0x81179(0xf5)](_0x10b049['FNgBJ']),_0x10b049[_0x81179(0xf3)](_0x28d429,_0x5ef88b);},_0x36d818=_0x10b049[_0x1caf81(0xa4)](pLimit,_0x44ce0f),_0x1cca54=_0x25e374=>_0x36d818(async()=>{const _0x286a78=_0x1caf81;return _0x2d1a21[_0x286a78(0xf4)](_0x25e374);});Promise['all'](_0x2a8801['map'](_0x3fcc1c=>_0x1cca54(_0x3fcc1c)[_0x1caf81(0xb0)](_0x5f44fe=>_0x2fe2b8[_0x1caf81(0xf7)](_0x1caf81(0xc5),[_0x3fcc1c[_0x1caf81(0x104)][_0x1caf81(0xbc)],_0x3fcc1c['configuration']['file']]),_0x5d0165=>_0x2fe2b8[_0x1caf81(0xf7)]('test-file-failure',[_0x3fcc1c,_0x5d0165]))))[_0x1caf81(0xb0)](_0x2222a9,_0x2222a9);});
|
|
1
|
+
const a61_0x361674=a61_0x1830;(function(_0x4b97a4,_0x205e69){const _0x343958=a61_0x1830,_0xf09ca=_0x4b97a4();while(!![]){try{const _0x2a7f34=parseInt(_0x343958(0xf9))/0x1+-parseInt(_0x343958(0xd1))/0x2*(parseInt(_0x343958(0xe4))/0x3)+parseInt(_0x343958(0xfe))/0x4*(-parseInt(_0x343958(0xc4))/0x5)+-parseInt(_0x343958(0xf8))/0x6*(parseInt(_0x343958(0xc3))/0x7)+-parseInt(_0x343958(0xcc))/0x8*(parseInt(_0x343958(0x116))/0x9)+-parseInt(_0x343958(0xe9))/0xa*(parseInt(_0x343958(0xd0))/0xb)+-parseInt(_0x343958(0xcb))/0xc*(-parseInt(_0x343958(0x11e))/0xd);if(_0x2a7f34===_0x205e69)break;else _0xf09ca['push'](_0xf09ca['shift']());}catch(_0x4c2def){_0xf09ca['push'](_0xf09ca['shift']());}}}(a61_0x95c5,0x849d4));const Worker=require(a61_0x361674(0xe5))['Worker'],Emittery=require(a61_0x361674(0xc2)),pLimit=require(a61_0x361674(0x10a)),{parentPort}=require(a61_0x361674(0x115)),util=require(a61_0x361674(0xd3)),logger=require(a61_0x361674(0xc0))['winstonLogger'],PerformanceTester=require(a61_0x361674(0xf5)),PerformanceEvents=require(a61_0x361674(0xf3))[a61_0x361674(0xd2)],{debug}=require(a61_0x361674(0xfa)),TestHubHandler=require('../../helpers/testhub/testhubHandler');function a61_0x1830(_0xa1ae23,_0x2665e6){const _0x95c5e3=a61_0x95c5();return a61_0x1830=function(_0x183073,_0x2cb09d){_0x183073=_0x183073-0xb9;let _0x309d1f=_0x95c5e3[_0x183073];return _0x309d1f;},a61_0x1830(_0xa1ae23,_0x2665e6);}exports['parallelTestRun']=(_0x32d629,_0x1c4d02,_0x145ef1)=>new Promise(async _0x547d05=>{const _0x4bcbfa=a61_0x361674,_0x4a9378={'XVutm':_0x4bcbfa(0xeb),'VsIwZ':function(_0x18ea5f,_0x319630){return _0x18ea5f+_0x319630;},'LQiXw':_0x4bcbfa(0xf1),'unrpi':'Workers\x20failed\x20to\x20exit\x20gracefully','BldKe':function(_0x4b8daf,_0x271c00){return _0x4b8daf(_0x271c00);},'xFlCw':function(_0x67edfb,_0xe513b6){return _0x67edfb(_0xe513b6);},'nnSqQ':_0x4bcbfa(0x107),'waAXN':_0x4bcbfa(0xd6),'VYSES':_0x4bcbfa(0x11a),'JkwBZ':_0x4bcbfa(0x113),'KPcpe':_0x4bcbfa(0xc8),'ZLvAG':function(_0x400e6a,_0x4069ae){return _0x400e6a*_0x4069ae;},'qgWjB':'test-file-success','ysabE':_0x4bcbfa(0xcf),'NJIVc':function(_0x211b79,_0x1f8992){return _0x211b79(_0x1f8992);}},_0x391ca6=_0x145ef1[_0x4bcbfa(0xc9)],_0x501a72={},_0x3c1b2c=new Worker(require[_0x4bcbfa(0xd7)](_0x4a9378[_0x4bcbfa(0xf4)]),{'exposedMethods':[_0x4a9378[_0x4bcbfa(0xc1)]],'forkOptions':{'serialization':_0x4a9378['JkwBZ'],'stdio':_0x4a9378[_0x4bcbfa(0xdc)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x4a9378[_0x4bcbfa(0x10f)](_0x1c4d02,0x1),'enableWorkerThreads':!![]}),_0x17d992=new Emittery();_0x17d992['on'](_0x4a9378['qgWjB'],_0x514e98=>{const _0xe5a643=_0x4bcbfa;_0x501a72[_0x514e98[0x0]]?(_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0x10c)]]=_0x4a9378[_0xe5a643(0xbc)](_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0x10c)]],_0x514e98[0x1][_0x4a9378[_0xe5a643(0x10c)]]),_0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0xbb)]]=[..._0x501a72[_0x514e98[0x0]][_0x4a9378[_0xe5a643(0xbb)]],..._0x514e98[0x1][_0x4a9378[_0xe5a643(0xbb)]]]):_0x501a72[_0x514e98[0x0]]={'failureCount':_0x514e98[0x1][_0x4a9378[_0xe5a643(0x10c)]],'results':[..._0x514e98[0x1][_0x4a9378[_0xe5a643(0xbb)]]]};}),_0x17d992['on'](_0x4a9378[_0x4bcbfa(0x109)],_0x1a23e9=>console['log'](_0x1a23e9[0x1]));_0x3c1b2c['getStdout']()&&_0x3c1b2c[_0x4bcbfa(0x10b)]()[_0x4bcbfa(0xc8)](process[_0x4bcbfa(0xec)]);_0x3c1b2c['getStderr']()&&_0x3c1b2c[_0x4bcbfa(0xc7)]()[_0x4bcbfa(0xc8)](process[_0x4bcbfa(0x10e)]);const _0x15b99d=async()=>{const _0x20d3f8=_0x4bcbfa,{forceExited:_0x289cff}=await _0x3c1b2c[_0x20d3f8(0xfb)]();_0x289cff&&console[_0x20d3f8(0xfc)](_0x4a9378['unrpi']);try{await TestHubHandler[_0x20d3f8(0xcd)]();}catch(_0x445c18){_0x4a9378[_0x20d3f8(0x112)](debug,_0x20d3f8(0xee)+_0x445c18);}_0x4a9378[_0x20d3f8(0x10d)](_0x547d05,_0x501a72);},_0x218f70=_0x4a9378[_0x4bcbfa(0x110)](pLimit,_0x4a9378['ZLvAG'](_0x1c4d02,0x1)),_0x328e73=_0x2ed4bc=>_0x218f70(async()=>{const _0xc0b010=_0x4bcbfa;await _0x17d992['emit'](_0x4a9378[_0xc0b010(0x119)],_0x2ed4bc);const _0x23a33d=_0x3c1b2c[_0xc0b010(0x11a)](_0x2ed4bc,_0x391ca6);try{parentPort&&_0x23a33d[_0xc0b010(0x108)](_0x4c694d=>{const _0x4d9bb7=_0xc0b010;try{parentPort[_0x4d9bb7(0x11d)](_0x4c694d);}catch(_0x2179c3){logger[_0x4d9bb7(0xfd)](_0x4d9bb7(0xde)+util['format'](_0x2179c3));}});}catch(_0x3a3e32){logger['debug'](_0xc0b010(0x100)+util[_0xc0b010(0xbe)](_0x3a3e32));}return _0x23a33d;});PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),Promise[_0x4bcbfa(0x102)](_0x32d629[_0x4bcbfa(0xbd)](_0x2e50ec=>_0x328e73(_0x2e50ec)[_0x4bcbfa(0x103)](_0x2cbdc6=>_0x17d992['emit'](_0x4bcbfa(0xdb),[_0x2e50ec[_0x4bcbfa(0x118)]['platform'],_0x2cbdc6]),_0x23eb6c=>_0x17d992[_0x4bcbfa(0xf7)](_0x4bcbfa(0xcf),[_0x2e50ec,_0x23eb6c]))))[_0x4bcbfa(0x103)](_0x15b99d,_0x15b99d);}),exports[a61_0x361674(0xd9)]=(_0x43c242,_0x565684,_0x398886,_0x5166ef,_0x2aec7)=>{const _0x1626b4=a61_0x361674,_0x264ab9={'Zfdqr':'Workers\x20failed\x20to\x20exit\x20gracefully','FpbrD':function(_0x2a5a00,_0x582682){return _0x2a5a00(_0x582682);},'FmHBC':_0x1626b4(0x11c),'ClcmI':'./testWorker.js','XUIiC':_0x1626b4(0xea),'RgpSU':_0x1626b4(0x113),'FeaSd':_0x1626b4(0xc8),'oRTvy':_0x1626b4(0xe1),'eyotH':_0x1626b4(0xff)};return new Promise(_0x287c30=>{const _0x362c63=_0x1626b4,_0x2b2aa6={};_0x2b2aa6[_0x362c63(0xe3)]=_0x264ab9[_0x362c63(0xc5)];const _0x7596e0=_0x2b2aa6,_0xaa29e9=[],_0x4ad8ef=new Worker(require[_0x362c63(0xd7)](_0x264ab9['ClcmI']),{'exposedMethods':[_0x264ab9['XUIiC']],'forkOptions':{'serialization':_0x264ab9['RgpSU'],'stdio':_0x264ab9['FeaSd']},'numWorkers':_0x43c242[_0x362c63(0x105)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4c602d=new Emittery();_0x4c602d['on'](_0x264ab9[_0x362c63(0xd4)],_0xb11d99=>{_0xaa29e9['push']([_0xb11d99[0x0],_0xb11d99[0x1]]);}),_0x4c602d['on'](_0x264ab9['eyotH'],_0x4b63a5=>console[_0x362c63(0x114)](_0x4b63a5[0x1]));_0x4ad8ef[_0x362c63(0x10b)]()&&_0x4ad8ef[_0x362c63(0x10b)]()['pipe'](process[_0x362c63(0xec)]);_0x4ad8ef[_0x362c63(0xc7)]()&&_0x4ad8ef['getStderr']()[_0x362c63(0xc8)](process[_0x362c63(0x10e)]);const _0x47507f=async()=>{const _0x45cd73=_0x362c63,{forceExited:_0x2371d9}=await _0x4ad8ef['end']();_0x2371d9&&console['error'](_0x264ab9[_0x45cd73(0xda)]),_0x264ab9[_0x45cd73(0xf0)](_0x287c30,_0xaa29e9);},_0x50e7a3=_0x264ab9[_0x362c63(0xf0)](pLimit,_0x43c242['length']||0x1),_0x1ae8d9=(_0x462e6c,_0x357110)=>_0x50e7a3(async()=>{const _0x13342e=_0x362c63;return await _0x4c602d[_0x13342e(0xf7)](_0x7596e0['RdkIL'],_0x462e6c),_0x565684[_0x13342e(0xd8)]=_0x398886[_0x13342e(0x104)][_0x357110],_0x565684[_0x13342e(0x106)]=_0x357110,_0x4ad8ef['cucumberWorker'](_0x462e6c,_0x565684,_0x398886,_0x5166ef,_0x2aec7);});Promise['all'](_0x43c242['map']((_0x2a3539,_0x387550)=>_0x1ae8d9(_0x2a3539,_0x387550)['then'](_0x5bf20f=>_0x4c602d[_0x362c63(0xf7)]('platform-run-success',[_0x2a3539,_0x5bf20f]),_0x27c2e6=>_0x4c602d[_0x362c63(0xf7)](_0x362c63(0xff),[_0x2a3539,_0x27c2e6]))))[_0x362c63(0x103)](_0x47507f,_0x47507f);});},exports['parallelVanillaRun']=(_0x5ddd2f,_0x27b67f)=>new Promise(_0xe3cb03=>{const _0x29af20=a61_0x361674,_0x276e66={'UQcZB':function(_0x102806,_0x23012a){return _0x102806===_0x23012a;},'jkgSy':function(_0x25ab11,_0x49a27d){return _0x25ab11!==_0x49a27d;},'hMNJc':_0x29af20(0xb9),'ZhNrf':_0x29af20(0xc6),'OxSSo':function(_0x4110da,_0x41d9d2){return _0x4110da(_0x41d9d2);},'dJeYF':_0x29af20(0xd6),'pAuex':'vanillaWorker','WGkkU':_0x29af20(0x113),'BbjZk':_0x29af20(0xc8),'HfSQM':_0x29af20(0xdb),'ZSejG':'test-file-failure'},_0x2276a4={},_0x3e12a9=new Worker(require['resolve'](_0x276e66[_0x29af20(0xdd)]),{'exposedMethods':[_0x276e66[_0x29af20(0xed)]],'forkOptions':{'serialization':_0x276e66[_0x29af20(0xe2)],'stdio':_0x276e66[_0x29af20(0x117)]},'numWorkers':_0x27b67f,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0xa94340=new Emittery();_0xa94340['on'](_0x276e66['HfSQM'],_0x15e5a8=>{const _0x204ffe=_0x29af20;_0x15e5a8[0x0]&&logger[_0x204ffe(0xe6)](_0x204ffe(0x11b)+_0x15e5a8[0x1]+_0x204ffe(0xbf),_0x15e5a8[0x0]);}),_0xa94340['on'](_0x276e66[_0x29af20(0xef)],_0x2e369b=>{const _0x58a625=_0x29af20;process[_0x58a625(0x120)]=0x1;});_0x3e12a9[_0x29af20(0x10b)]()&&_0x3e12a9[_0x29af20(0x10b)]()[_0x29af20(0xc8)](process[_0x29af20(0xec)]);_0x3e12a9['getStderr']()&&_0x3e12a9['getStderr']()['pipe'](process[_0x29af20(0x10e)]);const _0x15261b=async()=>{const _0x26a575=_0x29af20,_0x394593={'pmysu':function(_0x3f3830,_0x55e20b){return _0x276e66['UQcZB'](_0x3f3830,_0x55e20b);},'aTAAD':function(_0x5536d7,_0x411c73){const _0x50fbfe=a61_0x1830;return _0x276e66[_0x50fbfe(0xe8)](_0x5536d7,_0x411c73);},'idNIr':_0x276e66['hMNJc']};let _0x2a83b3=0x0;const _0x45affa=_0x3e12a9[_0x26a575(0x101)][_0x26a575(0xba)](),_0x216dbb=()=>{},_0xca78fc=_0x45affa[_0x26a575(0xbd)](async _0x3b51cc=>{const _0x1adcc6=_0x26a575;_0x3b51cc[_0x1adcc6(0xe0)]([0x2,![]],_0x216dbb,_0x216dbb,_0x216dbb),_0x3b51cc[_0x1adcc6(0xf6)]['on'](_0x394593[_0x1adcc6(0xe7)],_0x44044a=>{const _0x201ed9=_0x1adcc6;_0x394593[_0x201ed9(0xdf)](_0x2a83b3,0x0)&&_0x394593[_0x201ed9(0x111)](_0x44044a,0x0)&&(_0x2a83b3=_0x44044a);}),await _0x3b51cc[_0x1adcc6(0xd5)]();});await Promise['all'](_0xca78fc),process[_0x26a575(0x120)]=_0x2a83b3;const {forceExited:_0xdbc446}=await _0x3e12a9[_0x26a575(0xfb)]();_0xdbc446&&console[_0x26a575(0xfc)](_0x276e66['ZhNrf']),_0x276e66[_0x26a575(0xca)](_0xe3cb03,_0x2276a4);},_0x2f99db=_0x276e66[_0x29af20(0xca)](pLimit,_0x27b67f),_0x406bed=_0x3ca4c9=>_0x2f99db(async()=>{const _0x29e97a=_0x29af20;return _0x3e12a9[_0x29e97a(0xce)](_0x3ca4c9);});Promise[_0x29af20(0x102)](_0x5ddd2f[_0x29af20(0xbd)](_0x3d8b4d=>_0x406bed(_0x3d8b4d)[_0x29af20(0x103)](_0x2792ce=>_0xa94340[_0x29af20(0xf7)](_0x29af20(0xdb),[_0x3d8b4d['configuration'][_0x29af20(0xf2)],_0x3d8b4d[_0x29af20(0x118)][_0x29af20(0x11f)]]),_0x31aa80=>_0xa94340[_0x29af20(0xf7)](_0x29af20(0xcf),[_0x3d8b4d,_0x31aa80]))))[_0x29af20(0x103)](_0x15261b,_0x15261b);});function a61_0x95c5(){const _0x5b3b02=['exitCode','exit','getWorkers','LQiXw','VsIwZ','map','format','\x20for','../../helpers/logger','VYSES','emittery','2502983RGrSgu','5HZpVUZ','FmHBC','Workers\x20failed\x20to\x20exit\x20gracefully','getStderr','pipe','config','OxSSo','24195048WyiVVt','3640tuesWg','stop','vanillaWorker','test-file-failure','37169tIPMJA','2558jtVIue','EVENTS','util','oRTvy','waitForExit','./testWorker.js','resolve','platformCaps','parallelCucumberRun','Zfdqr','test-file-success','KPcpe','dJeYF','Exception\x20in\x20sending\x20worker\x20message\x20','pmysu','send','platform-run-success','WGkkU','RdkIL','534VmulaE','jest-worker','info','idNIr','jkgSy','390lAeZyu','cucumberWorker','failureCount','stdout','pAuex','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','ZSejG','FpbrD','results','platform','../../helpers/performance/constants','waAXN','../../helpers/performance/performance-tester','_child','emit','6tKgqaW','911299CeysfT','../../helpers/test-observability/utils','end','error','debug','2736392RCfXRJ','platform-run-failure','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','_workerPool','all','then','platforms','length','platformIndex','test-file-start','UNSTABLE_onCustomMessage','ysabE','p-limit','getStdout','XVutm','xFlCw','stderr','ZLvAG','NJIVc','aTAAD','BldKe','json','log','worker_threads','19449MOeQds','BbjZk','configuration','nnSqQ','worker','Running\x20','platform-run-start','postMessage','13LnQXAd','file'];a61_0x95c5=function(){return _0x5b3b02;};return a61_0x95c5();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a62_0x523d68=a62_0x3e9f;(function(_0x1e91e2,_0x47093a){const _0x1261f0=a62_0x3e9f,_0xa36ef7=_0x1e91e2();while(!![]){try{const _0x47dc33=parseInt(_0x1261f0(0x160))/0x1*(-parseInt(_0x1261f0(0x155))/0x2)+-parseInt(_0x1261f0(0x15b))/0x3*(-parseInt(_0x1261f0(0x15e))/0x4)+parseInt(_0x1261f0(0x173))/0x5*(-parseInt(_0x1261f0(0x15c))/0x6)+-parseInt(_0x1261f0(0x16b))/0x7*(parseInt(_0x1261f0(0x158))/0x8)+-parseInt(_0x1261f0(0x172))/0x9+-parseInt(_0x1261f0(0x162))/0xa*(-parseInt(_0x1261f0(0x16e))/0xb)+parseInt(_0x1261f0(0x159))/0xc;if(_0x47dc33===_0x47093a)break;else _0xa36ef7['push'](_0xa36ef7['shift']());}catch(_0x482a9a){_0xa36ef7['push'](_0xa36ef7['shift']());}}}(a62_0x1977,0x4e0ff));const PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],PerformanceTester=require(a62_0x523d68(0x156)),{sleep}=require(a62_0x523d68(0x16f));function a62_0x3e9f(_0xc420ad,_0x26529d){const _0x1977e2=a62_0x1977();return a62_0x3e9f=function(_0x3e9f57,_0x2b805c){_0x3e9f57=_0x3e9f57-0x151;let _0x203aab=_0x1977e2[_0x3e9f57];return _0x203aab;},a62_0x3e9f(_0xc420ad,_0x26529d);}function a62_0x1977(){const _0x5ba680=['fJNtw','end','3840617qdOvni','../../helpers/test-observability/utils','configuration','runCucumberTest','3675735XnhIIb','4960kqFsXz','dyKOJ','formatter','cucumber-js','startMonitoring','18tTzqTU','../../helpers/performance/performance-tester','runTest','968IbdoBz','16921764JpTQoO','mYjPD','3WtLVnH','3006CPjiSO','vanilla','197384ohDSFV','SDK_POST_TEST','45889VdCIpl','MBwOv','10sqKpSm','aHrHB','BMVLc','../launcher/launcher','stopMonitoring','run','LQgpY','runVanillaTest','bOUaW','9863uccrCb'];a62_0x1977=function(){return _0x5ba680;};return a62_0x1977();}exports[a62_0x523d68(0x157)]=async(_0x1059d3,_0x31b538)=>{const _0x21d222=a62_0x523d68,_0x36dfec={'LQgpY':function(_0x1aa089,_0x43c4d6){return _0x1aa089(_0x43c4d6);},'dyKOJ':_0x21d222(0x165),'IIlHG':'mocha'};PerformanceTester[_0x21d222(0x154)]();const _0x2d5343=_0x36dfec[_0x21d222(0x168)](require,_0x36dfec[_0x21d222(0x151)]),_0x38b4b3=new _0x2d5343(_0x36dfec['IIlHG'],_0x1059d3,_0x31b538),_0x1c4d90=await _0x38b4b3[_0x21d222(0x167)]();return PerformanceTester[_0x21d222(0x16d)](PerformanceEvents[_0x21d222(0x15f)]),await _0x36dfec[_0x21d222(0x168)](sleep,0x3e8),PerformanceTester[_0x21d222(0x166)](),_0x1c4d90;},exports[a62_0x523d68(0x171)]=async(_0x3f8392,_0x2e5931,_0x32229e,_0x29f3ac,_0x157352)=>{const _0x42d93a=a62_0x523d68,_0x1d7a02={'MBwOv':function(_0x59f67a,_0x272833){return _0x59f67a(_0x272833);},'mYjPD':_0x42d93a(0x165),'fJNtw':_0x42d93a(0x153)},_0x33a7b0={'capability':_0x3f8392,..._0x2e5931},_0x10a9d6={};_0x10a9d6[_0x42d93a(0x170)]=_0x33a7b0,_0x10a9d6[_0x42d93a(0x152)]=_0x157352;const _0x3d8838=_0x10a9d6,_0x3fac95=_0x1d7a02[_0x42d93a(0x161)](require,_0x1d7a02[_0x42d93a(0x15a)]),_0x372989=new _0x3fac95(_0x1d7a02[_0x42d93a(0x16c)],_0x3d8838,_0x32229e,_0x29f3ac);return await _0x372989[_0x42d93a(0x167)]();},exports[a62_0x523d68(0x169)]=async _0xe07d4d=>{const _0x1269ab=a62_0x523d68,_0x5c134b={'bOUaW':function(_0x426a70,_0x132f39){return _0x426a70(_0x132f39);},'BMVLc':_0x1269ab(0x165),'aHrHB':_0x1269ab(0x15d)},_0x16a087=_0x5c134b[_0x1269ab(0x16a)](require,_0x5c134b[_0x1269ab(0x164)]),_0x30bd45=new _0x16a087(_0x5c134b[_0x1269ab(0x163)],_0xe07d4d);return await _0x30bd45[_0x1269ab(0x167)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x138d1b=a63_0x3cc0;(function(_0x37e0d7,_0xf4c7bd){const _0x4599af=a63_0x3cc0,_0x1c6e85=_0x37e0d7();while(!![]){try{const _0x447fa9=-parseInt(_0x4599af(0x183))/0x1*(parseInt(_0x4599af(0x181))/0x2)+-parseInt(_0x4599af(0x189))/0x3*(-parseInt(_0x4599af(0x18a))/0x4)+parseInt(_0x4599af(0x186))/0x5+-parseInt(_0x4599af(0x184))/0x6*(parseInt(_0x4599af(0x185))/0x7)+parseInt(_0x4599af(0x188))/0x8*(-parseInt(_0x4599af(0x18b))/0x9)+-parseInt(_0x4599af(0x187))/0xa+-parseInt(_0x4599af(0x17e))/0xb*(-parseInt(_0x4599af(0x182))/0xc);if(_0x447fa9===_0xf4c7bd)break;else _0x1c6e85['push'](_0x1c6e85['shift']());}catch(_0x42e32e){_0x1c6e85['push'](_0x1c6e85['shift']());}}}(a63_0x2d31,0xa748c));function a63_0x2d31(){const _0x4a3ce9=['6241705wBaiIg','4567570SBWnCn','86472GLwhuZ','6vJNJHG','1669336bhSrse','198vFZXXw','installAll','UFFak','oYftb','cucumberWorker','22FlXBFL','kccgU','vanillaWorker','148826MkBJRf','4318044dxyymf','4FclMkr','48rawAcP','984620loEntd'];a63_0x2d31=function(){return _0x4a3ce9;};return a63_0x2d31();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');try{require('../../helpers/driverInitErrorReporter')[a63_0x138d1b(0x18c)]();}catch(a63_0x41a51f){}function a63_0x3cc0(_0x3598f7,_0x14f336){const _0x2d3158=a63_0x2d31();return a63_0x3cc0=function(_0x3cc02a,_0x38ab24){_0x3cc02a=_0x3cc02a-0x17c;let _0x41e9c3=_0x2d3158[_0x3cc02a];return _0x41e9c3;},a63_0x3cc0(_0x3598f7,_0x14f336);}exports['worker']=async(_0x242c1e,_0x2fdbab)=>{const _0x129b97=a63_0x138d1b,_0x5053a2={'oYftb':function(_0x4c715c,_0x16a1ff,_0x2e8b36){return _0x4c715c(_0x16a1ff,_0x2e8b36);}};return await _0x5053a2[_0x129b97(0x17c)](runTest,_0x242c1e,_0x2fdbab);},exports[a63_0x138d1b(0x17d)]=async(_0xaebcf0,_0x1a770b,_0x478f46,_0x34158d,_0x1f4e87)=>{const _0x4def21=a63_0x138d1b,_0x121f14={'UFFak':function(_0x1e65f1,_0x5f3d9e,_0x5a79d9,_0x17fe7f,_0x49366d,_0x448b24){return _0x1e65f1(_0x5f3d9e,_0x5a79d9,_0x17fe7f,_0x49366d,_0x448b24);}};return await _0x121f14[_0x4def21(0x18d)](runCucumberTest,_0xaebcf0,_0x1a770b,_0x478f46,_0x34158d,_0x1f4e87);},exports[a63_0x138d1b(0x180)]=async _0x19b13d=>{const _0x36b68a=a63_0x138d1b,_0x566178={'kccgU':function(_0x2f076c,_0x2dc686){return _0x2f076c(_0x2dc686);}};return await _0x566178[_0x36b68a(0x17f)](runVanillaTest,_0x19b13d);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const a64_0xb3f0fc=a64_0x57a2;(function(_0x1b0bf6,_0x2fb485){const _0x3f0d49=a64_0x57a2,_0x304f0d=_0x1b0bf6();while(!![]){try{const _0x226f03=parseInt(_0x3f0d49(0xa5))/0x1+parseInt(_0x3f0d49(0x96))/0x2+parseInt(_0x3f0d49(0x83))/0x3*(-parseInt(_0x3f0d49(0x95))/0x4)+parseInt(_0x3f0d49(0x75))/0x5+-parseInt(_0x3f0d49(0xa0))/0x6+-parseInt(_0x3f0d49(0x92))/0x7+parseInt(_0x3f0d49(0x9e))/0x8*(parseInt(_0x3f0d49(0x9f))/0x9);if(_0x226f03===_0x2fb485)break;else _0x304f0d['push'](_0x304f0d['shift']());}catch(_0xe14344){_0x304f0d['push'](_0x304f0d['shift']());}}}(a64_0x3a0c,0x5599b));const util=require(a64_0xb3f0fc(0xa1)),logger=require(a64_0xb3f0fc(0x80))['winstonLogger'],{automationLogger}=require(a64_0xb3f0fc(0x80)),{AUTOMATION_LOG_COMMANDS}=require(a64_0xb3f0fc(0x93));async function _run(_0x2cc721,_0xe7962d,_0x44f49e,_0x28bf4f){const _0x58306c=a64_0xb3f0fc,_0x45a017={'zulVO':function(_0x1072e7,_0x3e1978){return _0x1072e7(_0x3e1978);},'jDghN':_0x58306c(0x7b),'IxpLF':function(_0x5a8152,_0x254590){return _0x5a8152!==_0x254590;},'CnQuJ':'function','ECzki':function(_0x42177e,_0x4f8c2c){return _0x42177e||_0x4f8c2c;},'EyOse':function(_0x2db1eb,_0x4dc34b){return _0x2db1eb||_0x4dc34b;},'hecQy':_0x58306c(0x7e),'DBuAP':_0x58306c(0xa3)};try{const _0x5cac04=_0x45a017[_0x58306c(0x7a)](require,_0x45a017['jDghN']),_0x45ee04=_0x5cac04[_0x58306c(0x86)]();if(!_0x45ee04||!_0x45ee04[_0x58306c(0x9d)]())return null;const _0x58b18b=_0x45ee04['getAccessibilityModule']&&_0x45ee04[_0x58306c(0x89)]();if(!_0x58b18b)return null;if(_0x45a017['IxpLF'](typeof _0x58b18b[_0x58306c(0x8b)],_0x45a017[_0x58306c(0xa7)]))return null;const _0x1d6028=_0x58b18b[_0x58306c(0x8b)](_0x2cc721);if(!_0x1d6028||!_0x1d6028[_0x58306c(0xa6)])return logger[_0x58306c(0x8a)](_0x58306c(0x94)+_0x2cc721+_0x58306c(0x88)),null;const _0x58b8a7=await _0xe7962d[_0x58306c(0x7c)](_0x1d6028[_0x58306c(0xa6)],_0x45a017[_0x58306c(0x81)](_0x28bf4f,{}));logger[_0x58306c(0x8a)](_0x58306c(0x7d)+_0x2cc721+'\x20result:\x20'+JSON[_0x58306c(0xac)](_0x58b8a7));try{const _0xdd8fa8=AUTOMATION_LOG_COMMANDS[_0x58306c(0x84)](_0x345487=>_0x1d6028[_0x58306c(0xa6)][_0x58306c(0xa4)](_0x345487));if(_0xdd8fa8){const _0x22e45a={};_0x22e45a[_0x58306c(0x97)]=_0x58b8a7,automationLogger['silly']('['+new Date()[_0x58306c(0x82)]()+_0x58306c(0x8c)+JSON[_0x58306c(0xac)]({'request':{'command':_0xdd8fa8,'parameters':[_0x45a017[_0x58306c(0x99)](_0x28bf4f,{})]},'response':_0x22e45a}));}}catch(_0x155aea){logger['debug'](util['format'](_0x45a017[_0x58306c(0x78)],_0x2cc721,_0x155aea));}return _0x58b8a7;}catch(_0x31f60e){return logger['debug'](util[_0x58306c(0xaa)](_0x45a017['DBuAP'],_0x2cc721,_0x31f60e)),null;}}function _argsFor(_0x426247,_0x280f82,_0xcef3a2,_0x4014cd){const _0x44b426=a64_0xb3f0fc,_0x2338d8={'eZHPB':function(_0x35e190,_0x23ce30){return _0x35e190(_0x23ce30);},'qotJT':_0x44b426(0x7b),'qZpQS':function(_0x55ee27,_0x13a6a2){return _0x55ee27===_0x13a6a2;},'PXdOP':_0x44b426(0x8f),'MhCHf':_0x44b426(0xa2),'uRNGd':function(_0x2ec2c5,_0x482029){return _0x2ec2c5||_0x482029;},'DKoTC':function(_0x2c5740,_0xc096d5){return _0x2c5740||_0xc096d5;}},_0x44c2be=_0x2338d8[_0x44b426(0x98)](require,_0x2338d8[_0x44b426(0x85)]),_0x5c4dfe=_0x44c2be[_0x44b426(0x86)](),_0x4daf84=_0x5c4dfe&&_0x5c4dfe[_0x44b426(0x89)]&&_0x5c4dfe['getAccessibilityModule']();let _0x7230f6='';const _0x2cf247=process[_0x44b426(0xab)][_0x44b426(0x76)]||'';try{_0x4daf84&&_0x2338d8[_0x44b426(0x9c)](typeof _0x4daf84[_0x44b426(0x77)],_0x2338d8[_0x44b426(0x8d)])&&(_0x7230f6=_0x4daf84[_0x44b426(0x77)](_0x2338d8['MhCHf'])||'');}catch(_0xfc2ae2){}return{'thTestRunUuid':_0x2338d8[_0x44b426(0x91)](_0x280f82,''),'thBuildUuid':_0x7230f6,'thJwtToken':_0x2cf247,'is_mobile_session':!!_0x4014cd,'commandName':_0x2338d8[_0x44b426(0x8e)](_0xcef3a2,_0x426247)};}function a64_0x57a2(_0x5b4b17,_0xd5c0b2){const _0x3a0c68=a64_0x3a0c();return a64_0x57a2=function(_0x57a213,_0x4a7d53){_0x57a213=_0x57a213-0x75;let _0x217b60=_0x3a0c68[_0x57a213];return _0x217b60;},a64_0x57a2(_0x5b4b17,_0xd5c0b2);}exports[a64_0xb3f0fc(0x87)]=async(_0x216f70,_0x52b1f2,_0x2b01c4,_0xa8f2a4)=>{const _0x42953c=a64_0xb3f0fc,_0x1611fe={'FLyVD':function(_0x344917,_0x18b54a,_0x503051,_0x41bd57,_0x364300){return _0x344917(_0x18b54a,_0x503051,_0x41bd57,_0x364300);},'hPBqk':_0x42953c(0x90)},_0x461da5=_0x1611fe[_0x42953c(0xa9)](_argsFor,_0x1611fe[_0x42953c(0xa8)],_0x52b1f2,_0x2b01c4,_0xa8f2a4);return _0x1611fe[_0x42953c(0xa9)](_run,_0x1611fe[_0x42953c(0xa8)],_0x216f70,_0x52b1f2,_0x461da5);},exports[a64_0xb3f0fc(0x7f)]=async(_0x4b6930,_0x5ec423,_0x22cc47)=>{const _0x3d3f3f=a64_0xb3f0fc,_0x43bbfd={'MdshU':function(_0x13f8c1,_0x521202,_0x132611,_0x4a5417,_0x1df186){return _0x13f8c1(_0x521202,_0x132611,_0x4a5417,_0x1df186);},'pCJqD':_0x3d3f3f(0x9a)},_0x298ce5=_0x43bbfd[_0x3d3f3f(0x9b)](_argsFor,_0x43bbfd['pCJqD'],_0x5ec423,_0x43bbfd[_0x3d3f3f(0x79)],_0x22cc47);return _0x43bbfd[_0x3d3f3f(0x9b)](_run,_0x43bbfd[_0x3d3f3f(0x79)],_0x4b6930,_0x5ec423,_0x298ce5);};function a64_0x3a0c(){const _0x421424=['../../helpers/logger','ECzki','toISOString','12861AcRmwj','find','qotJT','getInstance','runScan','\x27\x20script\x20available','getAccessibilityModule','debug','getScriptByName','][\x20SDK-AUTOMATION\x20]\x20','PXdOP','DKoTC','function','scan','uRNGd','704767VGduNd','../utils/constants','[a11y-runner]\x20no\x20\x27','392aPgfDm','451526uDDklI','body','eZHPB','EyOse','saveResults','MdshU','qZpQS','isRunning','24DiQEVz','131706repnJR','1505802HnBisF','util','testhub_build_uuid','[a11y-runner]\x20%s\x20failed:\x20%O','includes','268708XiZKny','command','CnQuJ','hPBqk','FLyVD','format','env','stringify','2920100uEVjoi','BROWSERSTACK_TESTHUB_JWT','getCapabilityValue','hecQy','pCJqD','zulVO','../v2/browserstackCLI','executeAsyncScript','[a11y-runner]\x20','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','runSaveResults'];a64_0x3a0c=function(){return _0x421424;};return a64_0x3a0c();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a65_0x2161(_0x30843f,_0x208563){const _0x421eef=a65_0x421e();return a65_0x2161=function(_0x2161ba,_0x419ef6){_0x2161ba=_0x2161ba-0x15b;let _0xfabf41=_0x421eef[_0x2161ba];return _0xfabf41;},a65_0x2161(_0x30843f,_0x208563);}const a65_0x23ec68=a65_0x2161;(function(_0x261993,_0xc09b07){const _0x222e6e=a65_0x2161,_0xccc9ac=_0x261993();while(!![]){try{const _0x3d9588=-parseInt(_0x222e6e(0x1d5))/0x1+parseInt(_0x222e6e(0x230))/0x2*(-parseInt(_0x222e6e(0x165))/0x3)+-parseInt(_0x222e6e(0x266))/0x4*(-parseInt(_0x222e6e(0x1dd))/0x5)+-parseInt(_0x222e6e(0x24f))/0x6+-parseInt(_0x222e6e(0x203))/0x7+-parseInt(_0x222e6e(0x254))/0x8*(-parseInt(_0x222e6e(0x184))/0x9)+parseInt(_0x222e6e(0x236))/0xa;if(_0x3d9588===_0xc09b07)break;else _0xccc9ac['push'](_0xccc9ac['shift']());}catch(_0xfcf2b8){_0xccc9ac['push'](_0xccc9ac['shift']());}}}(a65_0x421e,0x34139));const path=require('path'),logger=require(a65_0x23ec68(0x18f))['winstonLogger'],helper=require(a65_0x23ec68(0x1a3)),utilities=require(a65_0x23ec68(0x193)),CLIUtils=require(a65_0x23ec68(0x264)),BrowserstackCLI=require(a65_0x23ec68(0x187)),GrpcClient=require('../v2/grpcClient'),{printBuildLink}=require('../../helpers/test-observability/utils'),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x232dd3=a65_0x23ec68,_0x5cdc7e={};_0x5cdc7e['fuRwQ']=_0x232dd3(0x272),_0x5cdc7e[_0x232dd3(0x213)]=_0x232dd3(0x265);const _0x106752=_0x5cdc7e;try{require[_0x232dd3(0x267)](_0x106752[_0x232dd3(0x23d)],{'paths':[process[_0x232dd3(0x276)]()]});}catch(_0x459c05){throw new Error(_0x106752['nTraQ']);}},loadTestCafeFactory=()=>{const _0xda1ab9=a65_0x23ec68,_0x5188a5={'QjzQK':_0xda1ab9(0x272),'LpAtD':function(_0x9dcf8,_0x4cc6da){return _0x9dcf8(_0x4cc6da);}},_0x260141=require[_0xda1ab9(0x267)](_0x5188a5[_0xda1ab9(0x1e8)],{'paths':[process[_0xda1ab9(0x276)]()]});return _0x5188a5[_0xda1ab9(0x259)](require,_0x260141);},w3cDriver=require('./w3c-driver'),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a65_0x23ec68(0x20d),a65_0x23ec68(0x1f1),'safari','edge','ie','opera',a65_0x23ec68(0x24a),a65_0x23ec68(0x166),a65_0x23ec68(0x277)]),looksLikeBrowserArg=_0x414289=>{const _0x5ced3b=a65_0x23ec68,_0x1be944={};_0x1be944['yOkoJ']='0|2|1|4|3',_0x1be944[_0x5ced3b(0x1e0)]=function(_0x5fd7df,_0x5357ee){return _0x5fd7df!==_0x5357ee;},_0x1be944[_0x5ced3b(0x1e4)]='string',_0x1be944[_0x5ced3b(0x1e3)]=_0x5ced3b(0x1b3),_0x1be944[_0x5ced3b(0x15c)]='firefox:';const _0x35cd69=_0x1be944,_0x1fe2d6=_0x35cd69[_0x5ced3b(0x21f)][_0x5ced3b(0x196)]('|');let _0x2fb49e=0x0;while(!![]){switch(_0x1fe2d6[_0x2fb49e++]){case'0':if(_0x35cd69[_0x5ced3b(0x1e0)](typeof _0x414289,_0x35cd69[_0x5ced3b(0x1e4)]))return![];continue;case'1':if(KNOWN_LOCAL_BROWSERS['has'](_0x414289['toLowerCase']()))return!![];continue;case'2':if(_0x414289[_0x5ced3b(0x269)](':')&&!_0x414289[_0x5ced3b(0x269)]('/'))return!![];continue;case'3':return![];case'4':if(_0x414289['startsWith'](_0x35cd69[_0x5ced3b(0x1e3)])||_0x414289[_0x5ced3b(0x23c)](_0x35cd69[_0x5ced3b(0x15c)]))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x2b07cf=>{const _0x41731f=a65_0x23ec68,_0x4ece87={'soucw':function(_0x5380c1,_0x206db4){return _0x5380c1<_0x206db4;},'xrmGY':function(_0x256f94,_0x351888){return _0x256f94===_0x351888;},'QhbQX':'--browsers','weLoB':_0x41731f(0x1fe),'EZJRV':_0x41731f(0x169),'FRdeI':function(_0x271094,_0x23790c,_0x3416ad){return _0x271094(_0x23790c,_0x3416ad);},'fjenJ':function(_0x60383f,_0x1fc6ca){return _0x60383f+_0x1fc6ca;},'rdwFP':function(_0x352400,_0x3d2a85,_0x4625de){return _0x352400(_0x3d2a85,_0x4625de);},'VayjQ':function(_0x4a181b,_0x412b94){return _0x4a181b+_0x412b94;},'FwXCc':function(_0x17d1f7,_0x4d641f){return _0x17d1f7(_0x4d641f);}},_0x4b686b=[];let _0x2e4337;for(let _0x424261=0x0;_0x4ece87[_0x41731f(0x183)](_0x424261,_0x2b07cf[_0x41731f(0x244)]);_0x424261++){const _0x1f58dc=_0x2b07cf[_0x424261];if(_0x4ece87[_0x41731f(0x252)](_0x1f58dc,'-b')||_0x4ece87[_0x41731f(0x252)](_0x1f58dc,_0x4ece87[_0x41731f(0x1bd)])){_0x424261++;continue;}if(_0x1f58dc[_0x41731f(0x23c)](_0x4ece87[_0x41731f(0x1ff)])||_0x1f58dc['startsWith'](_0x4ece87['EZJRV']))continue;const _0x229504=_0x1f58dc[_0x41731f(0x178)](_CONCURRENCY_PATTERN);if(_0x229504){if(_0x229504[0x1]){_0x2e4337=_0x4ece87['FRdeI'](parseInt,_0x229504[0x1],0xa);continue;}if(_0x2b07cf[_0x4ece87[_0x41731f(0x15b)](_0x424261,0x1)]&&/^\d+$/['test'](_0x2b07cf[_0x4ece87[_0x41731f(0x15b)](_0x424261,0x1)])){_0x2e4337=_0x4ece87[_0x41731f(0x16d)](parseInt,_0x2b07cf[_0x4ece87[_0x41731f(0x1c8)](_0x424261,0x1)],0xa),_0x424261++;continue;}continue;}const _0x4a63c6=_0x1f58dc[_0x41731f(0x178)](/^-c(\d+)$/);if(_0x4a63c6){_0x2e4337=_0x4ece87[_0x41731f(0x1a7)](parseInt,_0x4a63c6[0x1],0xa);continue;}if(_0x4ece87[_0x41731f(0x24b)](looksLikeBrowserArg,_0x1f58dc))continue;_0x4b686b[_0x41731f(0x1e2)](_0x1f58dc);}const _0x53316f={};return _0x53316f[_0x41731f(0x260)]=_0x4b686b,_0x53316f[_0x41731f(0x199)]=_0x2e4337,_0x53316f;},parseCapabilities=_0x35dd11=>{const _0x34963a=a65_0x23ec68,_0x22dcac={};_0x22dcac[_0x34963a(0x218)]=_0x34963a(0x174),_0x22dcac[_0x34963a(0x1d1)]='utf8';const _0x2fdbfe=_0x22dcac,_0x2f56d4=_0x35dd11[_0x34963a(0x26d)]&&_0x35dd11[_0x34963a(0x26d)]()||_0x35dd11[_0x34963a(0x273)];if(!_0x2f56d4)throw new Error(_0x2fdbfe[_0x34963a(0x218)]);const _0x5e96f0=Buffer['isBuffer'](_0x2f56d4)?_0x2f56d4:Buffer[_0x34963a(0x18d)](_0x2f56d4),_0x6885c8=JSON[_0x34963a(0x257)](_0x5e96f0[_0x34963a(0x1ea)](_0x2fdbfe[_0x34963a(0x1d1)])[_0x34963a(0x18a)]());if(_0x6885c8['desiredCapabilities'])return _0x6885c8[_0x34963a(0x20e)];if(_0x6885c8['capabilities']&&_0x6885c8['capabilities'][_0x34963a(0x1ba)])return _0x6885c8['capabilities'][_0x34963a(0x1ba)];return _0x6885c8;};async function provisionSession(_0x4d9199,_0x4dbdc2){const _0x276030=a65_0x23ec68,_0xe61d8={'QOHDD':_0x276030(0x272),'hsxqw':function(_0x575f70,_0x3285c2){return _0x575f70(_0x3285c2);}};logger[_0x276030(0x17e)]('[testcafe]\x20provisioning\x20session\x20for\x20platform['+_0x4dbdc2+']');const _0x1462d7=await _0x4d9199[_0x276030(0x18b)](),_0x1aa95e=await GrpcClient[_0x276030(0x268)]()[_0x276030(0x26f)]({'platformIndex':_0x4dbdc2,'ref':_0xe61d8[_0x276030(0x1ee)],'userInputParams':Buffer[_0x276030(0x18d)](JSON[_0x276030(0x1cd)]({})),'hubUrl':''}),_0x305f84=_0xe61d8[_0x276030(0x1aa)](parseCapabilities,_0x1aa95e),_0x23bf1e=(_0x1aa95e['getHubUrl']&&_0x1aa95e['getHubUrl']()||_0x1aa95e[_0x276030(0x1d3)]||'')[_0x276030(0x18a)]()||BrowserstackCLI['getInstance']()?.[_0x276030(0x1b8)]()?.['hubUrl']||process[_0x276030(0x1b2)][_0x276030(0x1d9)];if(!_0x23bf1e)throw new Error(_0x276030(0x1f9)+_0x4dbdc2+_0x276030(0x15f));logger[_0x276030(0x17e)](_0x276030(0x216)+_0x4dbdc2+_0x276030(0x262)+_0x23bf1e);const _0x2a48bc={};_0x2a48bc[_0x276030(0x1d3)]=_0x23bf1e,_0x2a48bc[_0x276030(0x273)]=_0x305f84;const {driver:_0x4562e,sessionId:_0x50d80a}=await w3cDriver['openSession'](_0x2a48bc);await _0x4562e[_0x276030(0x23e)](_0x1462d7[_0x276030(0x16a)]);const _0x157998={};_0x157998[_0x276030(0x229)]=_0x4dbdc2,_0x157998[_0x276030(0x261)]=_0x4562e,_0x157998[_0x276030(0x1f0)]=_0x50d80a,_0x157998['connection']=_0x1462d7,_0x157998['capabilities']=_0x305f84,_0x157998['hubUrl']=_0x23bf1e,registry['register'](_0x157998),logger[_0x276030(0x17e)]('[testcafe]\x20platform['+_0x4dbdc2+_0x276030(0x1af)+_0x50d80a+'\x20→\x20'+_0x1462d7[_0x276030(0x16a)]);const _0x12a17c={};return _0x12a17c[_0x276030(0x1c3)]=_0x1462d7,_0x12a17c[_0x276030(0x1f0)]=_0x50d80a,_0x12a17c[_0x276030(0x261)]=_0x4562e,_0x12a17c[_0x276030(0x229)]=_0x4dbdc2,_0x12a17c['capabilities']=_0x305f84,_0x12a17c['hubUrl']=_0x23bf1e,_0x12a17c;}async function run(_0xdcd95c,_0x175158,_0x34a28a){const _0x3093c0=a65_0x23ec68,_0x242afd={'uaTBz':function(_0x12edec,_0x209f93){return _0x12edec(_0x209f93);},'TIOTC':function(_0x520314,_0x1012b7,_0xde0e22){return _0x520314(_0x1012b7,_0xde0e22);},'DttOi':function(_0x29dc3d,_0x5d5d3c){return _0x29dc3d===_0x5d5d3c;},'UbUSq':_0x3093c0(0x167),'IHTny':function(_0x242f50,_0x2b6d54){return _0x242f50/_0x2b6d54;},'MNWWT':function(_0x57d894,_0x175c8b){return _0x57d894(_0x175c8b);},'JgAOs':_0x3093c0(0x164),'HrBqo':function(_0x1f585c,_0x1cb041){return _0x1f585c===_0x1cb041;},'aRUeE':_0x3093c0(0x163),'HcEDi':function(_0xdcb301,_0x5a075e){return _0xdcb301===_0x5a075e;},'TngcM':function(_0x1c7c87,_0x5f1bdc){return _0x1c7c87(_0x5f1bdc);},'wqPEx':_0x3093c0(0x19d),'dLfuI':function(_0x19b9fb){return _0x19b9fb();},'ymvhl':_0x3093c0(0x1dc),'KqFJS':function(_0x57fefa,_0x54ae1b){return _0x57fefa===_0x54ae1b;},'icqyT':_0x3093c0(0x205),'BaXZV':function(_0x5c767a,_0x4fa52a){return _0x5c767a(_0x4fa52a);},'pEAxF':function(_0x366ae1,_0x173dea){return _0x366ae1===_0x173dea;},'aHDgb':function(_0x27a9cb,_0x2eb535){return _0x27a9cb(_0x2eb535);},'WsqOx':function(_0x3e7de6,_0x379537){return _0x3e7de6===_0x379537;},'wpvRy':function(_0xd06d21,_0x9b1224){return _0xd06d21&&_0x9b1224;},'gfKFj':function(_0x499d74,_0x1f4227){return _0x499d74!==_0x1f4227;},'ZKjHe':_0x3093c0(0x26e),'WhtRU':'testcafe','SYjOy':'BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','tgBpi':function(_0x2d4aef,_0x24efe6){return _0x2d4aef+_0x24efe6;},'FGDxu':function(_0x3571d0,_0x1b6339){return _0x3571d0+_0x1b6339;},'gxTvu':_0x3093c0(0x23b),'fmytn':_0x3093c0(0x1fb),'LwuEE':function(_0xebf795,_0xcc4b8b){return _0xebf795||_0xcc4b8b;},'GqKxr':function(_0x3e8eb1,_0x5f20aa){return _0x3e8eb1===_0x5f20aa;},'oxuQZ':function(_0x288e39,_0x41b333){return _0x288e39>_0x41b333;},'axWyl':function(_0xceb698,_0x5e4cf6){return _0xceb698===_0x5e4cf6;},'bWotb':_0x3093c0(0x1d6),'EPFPm':function(_0x1772a2,_0x1ac65f){return _0x1772a2===_0x1ac65f;},'OUawv':_0x3093c0(0x173),'xUyNq':function(_0x30f661,_0x234f64){return _0x30f661===_0x234f64;},'AxukR':'[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','woQwc':_0x3093c0(0x20c),'yjBTJ':function(_0x1915b4){return _0x1915b4();},'nrfAq':function(_0xfaa344,_0x5bd7e6){return _0xfaa344(_0x5bd7e6);},'LuAdy':'bs-local.com','mLoDI':_0x3093c0(0x17b),'PhQbQ':function(_0x2215e5,_0x47d8cb){return _0x2215e5(_0x47d8cb);},'nPoBO':_0x3093c0(0x202),'xtWno':_0x3093c0(0x1df),'rnluw':function(_0x4ff08d,_0x58c63e){return _0x4ff08d+_0x58c63e;},'ogAxW':_0x3093c0(0x22e),'MCNCc':_0x3093c0(0x231),'RMrzF':_0x3093c0(0x212),'KxxHU':_0x3093c0(0x21c),'vxpfZ':function(_0x489fd7,_0x5f1f47){return _0x489fd7===_0x5f1f47;},'JYfuS':function(_0x5de037,_0x2c8d19){return _0x5de037===_0x2c8d19;},'aHFMW':function(_0x3a6729,_0x10d8a1){return _0x3a6729(_0x10d8a1);},'psUAc':_0x3093c0(0x1a5),'jiODc':function(_0x58f904,_0x3c5f74){return _0x58f904<_0x3c5f74;},'tOaUO':_0x3093c0(0x160),'XjTYN':function(_0x2ef380,_0x2876f1){return _0x2ef380+_0x2876f1;},'gmHQc':function(_0x591d1e,_0xeca8ef){return _0x591d1e+_0xeca8ef;},'DpAjE':_0x3093c0(0x1fe),'ENfJx':_0x3093c0(0x169),'GwlRq':_0x3093c0(0x15e),'VVOhF':_0x3093c0(0x1c4),'UaZtS':_0x3093c0(0x253),'knFVT':'number','cNQTM':function(_0x260f74,_0x22526c){return _0x260f74>_0x22526c;},'WMert':function(_0x30f956){return _0x30f956();},'oALWZ':function(_0x505257,_0x345e8f,_0x1d0577){return _0x505257(_0x345e8f,_0x1d0577);},'QaAxX':function(_0x2467d3,_0x8f97a8){return _0x2467d3===_0x8f97a8;},'igvyL':function(_0x3658a0,_0x4cc9af){return _0x3658a0*_0x4cc9af;},'dvorz':function(_0x744921,_0x582ffb){return _0x744921+_0x582ffb;},'XyYuq':function(_0x1ecfe3,_0x13fc0a){return _0x1ecfe3!==_0x13fc0a;},'aeAPq':function(_0x4b37f0,_0x58949b){return _0x4b37f0!==_0x58949b;},'NBeEB':_0x3093c0(0x1b9),'YQEOX':_0x3093c0(0x170),'RiBSo':function(_0x1003f6,_0x1a8ff0){return _0x1003f6===_0x1a8ff0;},'zhTNT':function(_0x519431,_0x2b38a5){return _0x519431===_0x2b38a5;}};_0x242afd[_0x3093c0(0x204)](detectPeerDeps);if(!_0x34a28a[_0x3093c0(0x1a4)]){logger['error'](_0x242afd[_0x3093c0(0x1bf)]);return;}const _0xa951b9=_0x34a28a[_0x3093c0(0x1a4)],_0x5de143=_0x242afd[_0x3093c0(0x1fa)](_0xa951b9[_0x3093c0(0x26c)],![])||_0x242afd[_0x3093c0(0x255)](_0xa951b9['browserstackAutomation'],_0x242afd[_0x3093c0(0x1ce)])||_0x242afd[_0x3093c0(0x162)](_0x242afd[_0x3093c0(0x197)](String,_0xa951b9[_0x3093c0(0x26c)]||'')[_0x3093c0(0x192)](),_0x242afd['icqyT']),_0x402f74=_0x242afd[_0x3093c0(0x246)](_0xa951b9[_0x3093c0(0x24c)],![])||_0x242afd[_0x3093c0(0x246)](_0xa951b9[_0x3093c0(0x24c)],_0x242afd[_0x3093c0(0x1ce)])||_0x242afd[_0x3093c0(0x1fa)](_0x242afd[_0x3093c0(0x1f5)](String,_0x242afd[_0x3093c0(0x198)](_0xa951b9['browserstackLocal'],undefined)?'':_0xa951b9[_0x3093c0(0x24c)])[_0x3093c0(0x192)](),_0x242afd[_0x3093c0(0x1ce)]);_0x242afd[_0x3093c0(0x194)](!_0x5de143,!_0x402f74)&&_0x242afd['gfKFj'](_0xa951b9[_0x3093c0(0x24c)],!![])&&(logger['info'](_0x242afd[_0x3093c0(0x1bb)]),_0xa951b9[_0x3093c0(0x24c)]=!![]);await _0x34a28a['initialize'](_0xdcd95c),CLIUtils[_0x3093c0(0x275)](_0x242afd[_0x3093c0(0x1e6)],_0x242afd['WhtRU']),BrowserstackCLI['getInstance']()[_0x3093c0(0x256)](_0x34a28a[_0x3093c0(0x1a4)],_0x34a28a[_0x3093c0(0x22d)],_0x34a28a[_0x3093c0(0x1c5)]);try{await BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x195)]();if(!BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x1e5)]())throw new Error(_0x242afd[_0x3093c0(0x1f3)]);}catch(_0x59ab3f){process['stderr'][_0x3093c0(0x240)](_0x242afd[_0x3093c0(0x16c)](_0x242afd[_0x3093c0(0x21d)]('[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20'+_0x59ab3f[_0x3093c0(0x1a0)]+'\x0a',_0x242afd['gxTvu']),_0x242afd['fmytn'])),logger[_0x3093c0(0x22f)](_0x3093c0(0x181)+(_0x59ab3f[_0x3093c0(0x1c7)]||_0x59ab3f)),process[_0x3093c0(0x210)]=0x1;return;}const _0x519386=BrowserstackCLI['getInstance']()['getConfig'](),_0x3cb719=_0x34a28a[_0x3093c0(0x1a4)]||{};let _0x14aefe=_0x242afd[_0x3093c0(0x251)](_0x519386,_0x3cb719)||{},_0x408ef8=Array[_0x3093c0(0x22a)](_0x14aefe['platforms'])?_0x14aefe[_0x3093c0(0x1ac)]:[];_0x242afd[_0x3093c0(0x1d2)](_0x408ef8['length'],0x0)&&Array[_0x3093c0(0x22a)](_0x3cb719[_0x3093c0(0x1ac)])&&_0x242afd[_0x3093c0(0x190)](_0x3cb719[_0x3093c0(0x1ac)][_0x3093c0(0x244)],0x0)&&(logger[_0x3093c0(0x1c2)]('testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n='+_0x3cb719['platforms']['length']+')'),_0x14aefe=_0x3cb719,_0x408ef8=_0x3cb719[_0x3093c0(0x1ac)]);if(_0x242afd[_0x3093c0(0x206)](_0x408ef8[_0x3093c0(0x244)],0x0)){process['stderr'][_0x3093c0(0x240)](_0x242afd[_0x3093c0(0x1a1)]),process['exitCode']=0x1;return;}if(_0x242afd[_0x3093c0(0x171)](_0x14aefe[_0x3093c0(0x215)],!![])||_0x14aefe[_0x3093c0(0x215)]&&_0x14aefe[_0x3093c0(0x215)][_0x3093c0(0x1fd)]){const _0x76bba4=_0x242afd[_0x3093c0(0x238)];process['stderr']['write'](_0x242afd[_0x3093c0(0x21d)](_0x76bba4,'\x0a')),logger[_0x3093c0(0x1c2)](_0x76bba4);}const {testSources:_0x482b9b,concurrency:_0x4dfb57}=_0x242afd['BaXZV'](filterArgs,_0x175158[_0x3093c0(0x1ec)](0x1));if(_0x242afd[_0x3093c0(0x1de)](_0x482b9b['length'],0x0)){process[_0x3093c0(0x232)][_0x3093c0(0x240)](_0x242afd[_0x3093c0(0x16f)]),process[_0x3093c0(0x210)]=0x1;return;}logger[_0x3093c0(0x17e)](_0x3093c0(0x1ad)+JSON[_0x3093c0(0x1cd)](_0x482b9b)+',\x20platforms='+_0x408ef8[_0x3093c0(0x244)]+_0x3093c0(0x1e1)+_0x242afd['LwuEE'](_0x4dfb57,_0x242afd['woQwc']));let _0x462931;try{_0x462931=_0x242afd['yjBTJ'](loadTestCafeFactory);}catch(_0x29950b){process[_0x3093c0(0x232)]['write']('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0x29950b['message']+'\x0a'),process[_0x3093c0(0x210)]=0x1;return;}const _0x3f1edc=await _0x242afd['nrfAq'](_0x462931,_0x242afd[_0x3093c0(0x175)]);let _0x3d9ea1=0x1;const _0x25757d=0x7530,_0x19d38d=[],_0x1eb8f7=(_0x398be0,_0x3c34dd)=>{const _0x33054e=_0x3093c0,_0x3073b2=_0x242afd[_0x33054e(0x18e)](setInterval,async()=>{const _0x28a64e=_0x33054e;try{await _0x398be0[_0x28a64e(0x24e)]();}catch(_0x4def47){logger['debug'](_0x28a64e(0x233)+_0x3c34dd+':\x20'+_0x4def47['message']+_0x28a64e(0x1b5)),_0x242afd[_0x28a64e(0x1ca)](clearInterval,_0x3073b2);}},_0x25757d);_0x242afd[_0x33054e(0x247)](typeof _0x3073b2['unref'],_0x242afd[_0x33054e(0x201)])&&_0x3073b2['unref'](),_0x19d38d[_0x33054e(0x1e2)](_0x3073b2);},_0x5e6fd6=()=>{const _0x1b7e51=_0x3093c0;for(const _0x1ac5a4 of _0x19d38d){_0x242afd[_0x1b7e51(0x1ca)](clearInterval,_0x1ac5a4);}_0x19d38d['length']=0x0;};_0x3d9ea1=0x0;const _0x16b3ed=_0x242afd['TngcM'](require,_0x242afd[_0x3093c0(0x263)]);_0x16b3ed[_0x3093c0(0x179)]();try{const _0x22e543=BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x176)]&&BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x176)](),_0x5c6154=_0x22e543&&_0x22e543['accessibilityConfig']&&_0x22e543['accessibilityConfig'][_0x3093c0(0x1d4)]&&_0x22e543[_0x3093c0(0x1f4)]['options']['commandsToWrap']&&(_0x22e543[_0x3093c0(0x1f4)][_0x3093c0(0x1d4)][_0x3093c0(0x234)]['commandsList']||_0x22e543[_0x3093c0(0x1f4)][_0x3093c0(0x1d4)][_0x3093c0(0x234)][_0x3093c0(0x211)]);if(Array[_0x3093c0(0x22a)](_0x5c6154)&&_0x242afd[_0x3093c0(0x190)](_0x5c6154[_0x3093c0(0x244)],0x0)){const _0x2e577f=_0x242afd['PhQbQ'](require,_0x242afd[_0x3093c0(0x1ef)]),_0x526ef8=_0x5c6154[_0x3093c0(0x1b6)](_0x3ab8a5=>({'name':_0x3ab8a5[_0x3093c0(0x1c6)]&&_0x3ab8a5[_0x3093c0(0x1c6)]()||_0x3ab8a5[_0x3093c0(0x168)],'module':_0x3ab8a5[_0x3093c0(0x1e9)]&&_0x3ab8a5[_0x3093c0(0x1e9)]()||_0x3ab8a5['module'],'method':_0x3ab8a5[_0x3093c0(0x25d)]&&_0x3ab8a5[_0x3093c0(0x25d)]()||_0x3ab8a5['method']}));_0x2e577f[_0x3093c0(0x179)](_0x526ef8);}else logger[_0x3093c0(0x1f2)](_0x242afd[_0x3093c0(0x17d)]);}catch(_0x58a150){logger[_0x3093c0(0x1f2)](_0x3093c0(0x185)+(_0x58a150[_0x3093c0(0x1a0)]||_0x58a150));}let _0x16b92f='',_0x187ee9=null;try{const _0x189bdf=await GrpcClient[_0x3093c0(0x268)]()[_0x3093c0(0x24d)]();_0x16b92f=_0x189bdf[_0x3093c0(0x1fc)]&&_0x189bdf[_0x3093c0(0x1fc)]()||_0x189bdf[_0x3093c0(0x1f7)]||'';if(_0x16b92f)try{_0x187ee9=new RegExp(_0x16b92f),logger[_0x3093c0(0x17e)](_0x3093c0(0x214)+_0x16b92f);}catch(_0xadd424){const _0x141b11=_0x3093c0(0x20a)+_0xadd424['message']+_0x3093c0(0x26b)+_0x16b92f;process[_0x3093c0(0x232)]['write'](_0x242afd[_0x3093c0(0x15d)](_0x141b11,'\x0a')),logger['error'](_0x141b11),process['exitCode']=0x1;return;}}catch(_0x145c57){if(process[_0x3093c0(0x1b2)][_0x3093c0(0x242)]){const _0x579743=_0x242afd[_0x3093c0(0x1ab)];process['stderr'][_0x3093c0(0x240)](_0x579743),logger[_0x3093c0(0x22f)]('testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20'+_0x145c57[_0x3093c0(0x1a0)]),process[_0x3093c0(0x210)]=0x1;return;}logger[_0x3093c0(0x1f2)](_0x242afd[_0x3093c0(0x19c)],_0x145c57);}const _0x4ba41d=_0x242afd[_0x3093c0(0x197)](require,path[_0x3093c0(0x267)](__dirname,_0x242afd[_0x3093c0(0x208)],_0x242afd[_0x3093c0(0x161)])),_0x18fb45=_0x242afd[_0x3093c0(0x255)](_0x14aefe[_0x3093c0(0x26c)],![])||_0x242afd[_0x3093c0(0x23f)](_0x14aefe[_0x3093c0(0x26c)],_0x242afd[_0x3093c0(0x1ce)])||_0x242afd[_0x3093c0(0x228)](_0x242afd[_0x3093c0(0x248)](String,_0x14aefe[_0x3093c0(0x26c)]||'')[_0x3093c0(0x192)](),_0x242afd[_0x3093c0(0x1ce)]);if(_0x18fb45){logger[_0x3093c0(0x17e)](_0x242afd[_0x3093c0(0x25b)]);const _0x19eb36=[];for(let _0x38f454=0x0;_0x242afd[_0x3093c0(0x1f8)](_0x38f454,_0x175158[_0x3093c0(0x244)]);_0x38f454++){const _0x120bed=_0x175158[_0x38f454];if(_0x242afd[_0x3093c0(0x228)](_0x120bed,'-b')||_0x242afd[_0x3093c0(0x198)](_0x120bed,_0x242afd[_0x3093c0(0x1a2)])){_0x175158[_0x242afd[_0x3093c0(0x219)](_0x38f454,0x1)]&&_0x19eb36[_0x3093c0(0x1e2)](_0x175158[_0x242afd['gmHQc'](_0x38f454,0x1)]);_0x38f454++;continue;}if(_0x120bed[_0x3093c0(0x23c)](_0x242afd[_0x3093c0(0x17c)])){_0x19eb36[_0x3093c0(0x1e2)](_0x120bed['slice'](_0x242afd['DpAjE'][_0x3093c0(0x244)]));continue;}if(_0x120bed[_0x3093c0(0x23c)](_0x242afd['ENfJx'])){_0x19eb36[_0x3093c0(0x1e2)](_0x120bed[_0x3093c0(0x1ec)](_0x242afd['ENfJx'][_0x3093c0(0x244)]));continue;}_0x242afd[_0x3093c0(0x1b0)](looksLikeBrowserArg,_0x120bed)&&_0x19eb36[_0x3093c0(0x1e2)](_0x120bed);}_0x242afd['GqKxr'](_0x19eb36['length'],0x0)&&(_0x19eb36[_0x3093c0(0x1e2)](_0x242afd[_0x3093c0(0x227)]),logger[_0x3093c0(0x17e)](_0x242afd[_0x3093c0(0x189)]));let _0x4947ee=0x1;try{const _0x54eb51=_0x3f1edc[_0x3093c0(0x225)]();_0x54eb51['src'](_0x482b9b),_0x54eb51['browsers'](_0x19eb36),_0x54eb51['reporter']([_0x242afd[_0x3093c0(0x224)],_0x4ba41d]),_0x242afd['DttOi'](typeof _0x4dfb57,_0x242afd[_0x3093c0(0x1db)])&&_0x242afd[_0x3093c0(0x186)](_0x4dfb57,0x0)&&_0x54eb51[_0x3093c0(0x199)](_0x4dfb57),_0x187ee9&&_0x54eb51[_0x3093c0(0x1be)](_0x5f3b1e=>_0x187ee9[_0x3093c0(0x1b1)](_0x5f3b1e)),_0x4947ee=await _0x54eb51['run'](),logger[_0x3093c0(0x17e)]('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x4947ee);}catch(_0x166fd4){logger[_0x3093c0(0x22f)](_0x3093c0(0x16e)+(_0x166fd4[_0x3093c0(0x1c7)]||_0x166fd4)),process[_0x3093c0(0x232)][_0x3093c0(0x240)](_0x3093c0(0x1ed)+_0x166fd4[_0x3093c0(0x1a0)]+'\x0a'),_0x4947ee=0x1;}finally{_0x3d9ea1=_0x4947ee;try{_0x16b3ed[_0x3093c0(0x1a8)]();}catch(_0x526316){}try{await _0x3f1edc[_0x3093c0(0x18c)]();}catch(_0x2b88b7){logger[_0x3093c0(0x1f2)](_0x3093c0(0x1a6)+_0x2b88b7[_0x3093c0(0x1a0)]);}try{const _0x5638bd=BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x22c)]();_0x5638bd&&_0x242afd[_0x3093c0(0x198)](typeof _0x5638bd[_0x3093c0(0x1bc)],_0x242afd['UbUSq'])&&await _0x5638bd[_0x3093c0(0x1bc)]();}catch(_0x4306bd){logger[_0x3093c0(0x1f2)](_0x3093c0(0x23a)+_0x4306bd['message']);}const _0x54fcc0=BrowserstackCLI[_0x3093c0(0x19f)]();await BrowserstackCLI[_0x3093c0(0x268)]()['stop']()[_0x3093c0(0x16b)](_0x15f442=>{const _0x26d191=_0x3093c0;logger['debug'](_0x26d191(0x222)+_0x15f442[_0x26d191(0x1a0)]);}),_0x242afd[_0x3093c0(0x241)](printBuildLink),await utilities[_0x3093c0(0x1f6)](_0x34a28a,_0x54fcc0)['catch'](_0x278251=>{const _0xcd2c=_0x3093c0;logger[_0xcd2c(0x1f2)](_0xcd2c(0x182)+_0x278251[_0xcd2c(0x1a0)]);}),process[_0x3093c0(0x210)]=_0x3d9ea1,logger[_0x3093c0(0x17e)](_0x3093c0(0x245)+_0x3d9ea1);}return;}try{for(let _0x516b13=0x0;_0x242afd[_0x3093c0(0x1f8)](_0x516b13,_0x408ef8[_0x3093c0(0x244)]);_0x516b13++){logger[_0x3093c0(0x17e)](_0x3093c0(0x239)+_0x516b13+_0x3093c0(0x177)+_0x242afd[_0x3093c0(0x21d)](_0x516b13,0x1)+'/'+_0x408ef8[_0x3093c0(0x244)]+')');let _0x2f54de=0x1,_0x19ea2e=null,_0x946540=null;try{_0x19ea2e=await _0x242afd[_0x3093c0(0x1eb)](provisionSession,_0x3f1edc,_0x516b13),_0x242afd['oALWZ'](_0x1eb8f7,_0x19ea2e[_0x3093c0(0x261)],_0x19ea2e['sessionId']);const _0x2267d0=_0x3f1edc['createRunner']();_0x2267d0[_0x3093c0(0x223)](_0x482b9b),_0x2267d0[_0x3093c0(0x207)]([_0x19ea2e[_0x3093c0(0x1c3)]]),_0x2267d0[_0x3093c0(0x212)]([_0x242afd[_0x3093c0(0x224)],_0x4ba41d]);_0x242afd[_0x3093c0(0x1da)](typeof _0x4dfb57,_0x242afd[_0x3093c0(0x1db)])&&_0x242afd[_0x3093c0(0x186)](_0x4dfb57,0x0)&&_0x2267d0['concurrency'](_0x4dfb57);_0x187ee9&&_0x2267d0[_0x3093c0(0x1be)](_0x1bc443=>_0x187ee9[_0x3093c0(0x1b1)](_0x1bc443));const _0x3d9054=_0x14aefe&&_0x14aefe[_0x3093c0(0x1cb)]||0x12c,_0x366bcd=_0x242afd['igvyL'](_0x242afd[_0x3093c0(0x220)](_0x3d9054,0x3c),0x3e8);_0x2f54de=await Promise[_0x3093c0(0x250)]([_0x2267d0[_0x3093c0(0x19a)](),new Promise(_0x3a4310=>setTimeout(()=>{const _0x227381=_0x3093c0;logger[_0x227381(0x1c2)](_0x227381(0x21a)+_0x516b13+_0x227381(0x22b)+_0x242afd['IHTny'](_0x366bcd,0x3e8)+_0x227381(0x226)),_0x946540=_0x227381(0x1c1)+_0x242afd[_0x227381(0x19e)](_0x366bcd,0x3e8)+_0x227381(0x237),_0x242afd[_0x227381(0x217)](_0x3a4310,0x1);},_0x366bcd))]),logger['info'](_0x3093c0(0x21a)+_0x516b13+_0x3093c0(0x1a9)+_0x2f54de),_0x242afd[_0x3093c0(0x188)](_0x2f54de,0x0)&&!_0x946540&&(_0x946540=_0x3093c0(0x1d8)+_0x2f54de);}catch(_0x22f946){const _0x3957ae=((()=>{const _0x36145f=_0x3093c0;if(!_0x22f946)return _0x242afd[_0x36145f(0x1d0)];if(_0x242afd['HrBqo'](typeof _0x22f946,_0x242afd['aRUeE']))return _0x22f946;if(_0x242afd[_0x36145f(0x162)](typeof _0x22f946['message'],_0x242afd[_0x36145f(0x1c9)])&&_0x22f946[_0x36145f(0x1a0)])return _0x22f946['message'];try{return JSON[_0x36145f(0x1cd)](_0x22f946['message']??_0x22f946,null,0x2);}catch(_0x5af94b){const _0x3da02b={};return _0x3da02b[_0x36145f(0x1c0)]=0x4,_0x242afd[_0x36145f(0x274)](require,_0x242afd[_0x36145f(0x180)])[_0x36145f(0x25f)](_0x22f946[_0x36145f(0x1a0)]??_0x22f946,_0x3da02b);}})()),_0x1535c9={};_0x1535c9[_0x3093c0(0x191)]=_0x22f946&&_0x22f946[_0x3093c0(0x191)],_0x1535c9[_0x3093c0(0x25e)]=_0x22f946&&_0x22f946[_0x3093c0(0x25e)],_0x1535c9[_0x3093c0(0x1cc)]=_0x22f946&&_0x22f946[_0x3093c0(0x1cc)],_0x1535c9['name']=_0x22f946&&_0x22f946[_0x3093c0(0x168)],_0x1535c9[_0x3093c0(0x249)]=_0x22f946&&_0x22f946['constructor']&&_0x22f946[_0x3093c0(0x249)][_0x3093c0(0x168)];const _0x33211b=_0x1535c9;logger[_0x3093c0(0x22f)]('testcafe/command.js:\x20platform['+_0x516b13+']\x20run\x20failed\x20—\x20'+_0x3957ae+_0x3093c0(0x1e7)+JSON['stringify'](_0x33211b)+')\x0a'+(_0x22f946&&_0x22f946[_0x3093c0(0x1c7)]||'')),process[_0x3093c0(0x232)]['write']('[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform['+_0x516b13+']:\x20'+_0x3957ae+'\x0a'),_0x2f54de=0x1,_0x946540=_0x3957ae;}finally{try{if(_0x19ea2e&&_0x242afd['aeAPq'](_0x19ea2e[_0x3093c0(0x229)],undefined)){const _0x59a9ef=_0x242afd['HcEDi'](_0x2f54de,0x0)?_0x242afd[_0x3093c0(0x1b4)]:_0x242afd[_0x3093c0(0x20f)],_0xfa5abf=_0x946540;registry[_0x3093c0(0x221)](_0x19ea2e['platformIndex'],_0x59a9ef,_0xfa5abf);}}catch(_0x1bde41){logger[_0x3093c0(0x1c2)](_0x3093c0(0x1b7)+_0x516b13+_0x3093c0(0x25c)+_0x1bde41['message']);}await registry[_0x3093c0(0x235)](),_0x242afd[_0x3093c0(0x271)](_0x5e6fd6);}_0x242afd[_0x3093c0(0x243)](_0x2f54de,0x0)&&_0x242afd[_0x3093c0(0x17f)](_0x3d9ea1,0x0)&&(_0x3d9ea1=_0x2f54de);}}finally{try{_0x16b3ed['uninstall']();}catch(_0x353b65){}try{await _0x3f1edc[_0x3093c0(0x18c)]();}catch(_0x558226){logger[_0x3093c0(0x1f2)](_0x3093c0(0x1a6)+_0x558226[_0x3093c0(0x1a0)]);}try{const _0x53b453=BrowserstackCLI[_0x3093c0(0x268)]()[_0x3093c0(0x22c)]();_0x53b453&&_0x242afd[_0x3093c0(0x21b)](typeof _0x53b453[_0x3093c0(0x1bc)],_0x242afd[_0x3093c0(0x201)])&&await _0x53b453[_0x3093c0(0x1bc)]();}catch(_0x5a3fad){logger['debug']('finalizeOrphans\x20error:\x20'+_0x5a3fad[_0x3093c0(0x1a0)]);}const _0x23811c=BrowserstackCLI[_0x3093c0(0x19f)]();await BrowserstackCLI['getInstance']()[_0x3093c0(0x21e)]()[_0x3093c0(0x16b)](_0x54239a=>{const _0x11423d=_0x3093c0;logger[_0x11423d(0x1f2)](_0x11423d(0x222)+_0x54239a[_0x11423d(0x1a0)]);}),_0x242afd[_0x3093c0(0x241)](printBuildLink),await utilities[_0x3093c0(0x1f6)](_0x34a28a,_0x23811c)[_0x3093c0(0x16b)](_0x21c5a8=>{const _0xe4a8e6=_0x3093c0;logger[_0xe4a8e6(0x1f2)]('finalExecution\x20error:\x20'+_0x21c5a8['message']);}),process[_0x3093c0(0x210)]=_0x3d9ea1,logger[_0x3093c0(0x17e)]('testcafe/command.js:\x20exit\x20code='+_0x3d9ea1);}}let _isExiting=![];function a65_0x421e(){const _0x59f025=['VayjQ','aRUeE','uaTBz','idleTimeout','data','stringify','icqyT','SIGINT','JgAOs','cVRdO','GqKxr','hubUrl','options','127397jujKsV','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','cvAIM','TestCafe\x20runner\x20exited\x20with\x20code\x20','BROWSERSTACK_HUB_URL','QaAxX','knFVT','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','2061550fBVoyp','xUyNq','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','FlQna',',\x20concurrency=','push','suMTI','oTnks','isRunning','WhtRU','\x20(meta=','QjzQK','getModule','toString','oALWZ','slice','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','QOHDD','nPoBO','sessionId','firefox','debug','SYjOy','accessibilityConfig','aHDgb','finalExecution','rerunTestGrep','jiODc','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','KqFJS','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','getRerunTestGrep','projectToken','--browsers=','weLoB','dEwVm','UbUSq','./testcafe-action-patcher','2247483EKmxab','dLfuI','false','axWyl','browsers','RMrzF','WNAEn','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','Aborted\x20by\x20','default','chromium','desiredCapabilities','YQEOX','exitCode','commands','reporter','nTraQ','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','percy','[testcafe]\x20platform[','MNWWT','ZIcXN','XjTYN','testcafe/command.js:\x20platform[','zhTNT','index.js','FGDxu','stop','yOkoJ','dvorz','markStatus','BrowserstackCLI.stop\x20error:\x20','src','UaZtS','createRunner','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','GwlRq','JYfuS','platformIndex','isArray',']\x20runner.run()\x20timed\x20out\x20after\x20','getTestFramework','configPath','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','error','8bGHSck','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','stderr','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','commandsToWrap','quitAll','3202420JFHCqC','s\x20timeout\x20(idleTimeout\x20+\x2060s)','OUawv','testcafe/command.js:\x20starting\x20platform[','finalizeOrphans\x20error:\x20','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','startsWith','fuRwQ','navigateTo','vxpfZ','write','WMert','BROWSERSTACK_RERUN','gfKFj','length','testcafe/command.js:\x20exit\x20code=','pEAxF','DttOi','aHFMW','constructor','chrome:headless','FwXCc','browserstackLocal','testCafeConfig','getCurrentUrl','859254hUqMdh','race','LwuEE','xrmGY','spec','857120tQrTvX','HrBqo','setBrowserstackConfig','parse','listEntries','LpAtD','SIGTERM','psUAc',']:\x20','getMethod','type','inspect','testSources','driver',']\x20hubUrl=','mLoDI','../v2/cliUtils','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','4MdHAFL','resolve','getInstance','includes','kill','.\x20Pattern:\x20','browserstackAutomation','getCapabilities','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','driverInit','\x20before\x20runner.run()\x20completed','yjBTJ','testcafe','capabilities','TngcM','setFrameworkDetail','cwd','remote','fjenJ','PDPdd','rnluw','chrome',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','--browsers','KxxHU','HcEDi','string','unknown\x20error\x20(falsy)','26034YjSpHM','firefox:headless','function','name','-b=','url','catch','tgBpi','rdwFP','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','AxukR','failed','EPFPm','WJBYS','[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.','DriverInit\x20returned\x20no\x20capabilities','LuAdy','getAccessibilityModule',']\x20(','match','install','NdyLi','./stdout-interceptor','DpAjE','xtWno','info','RiBSo','wqPEx','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','finalExecution\x20error:\x20','soucw','9cJUTgh','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','cNQTM','../v2/browserstackCLI','XyYuq','VVOhF','trim','createBrowserConnection','close','from','TIOTC','../../helpers/logger','oxuQZ','code','toLowerCase','../../helpers/utilities','wpvRy','bootstrap','split','BaXZV','WsqOx','concurrency','run','removeListener','MCNCc','util','IHTny','isCLIEnabled','message','bWotb','tOaUO','../../helpers/helper','config','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','tc.close\x20error:\x20','FRdeI','uninstall',']\x20finished\x20with\x20exit=','hsxqw','ogAxW','platforms','testcafe/command.js:\x20testSources=','PAYUq',']\x20BrowserStack\x20session=','nrfAq','test','env','chrome:','NBeEB','\x20—\x20stopping\x20pings\x20for\x20this\x20session','map','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','getConfig','passed','alwaysMatch','ZKjHe','finalizeOrphans','QhbQX','filter','ymvhl','depth','runner.run()\x20exceeded\x20','warn','connection','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','cliConfig','getName','stack'];a65_0x421e=function(){return _0x59f025;};return a65_0x421e();}const propagateSignal=_0x24987b=>{const _0x4f1c21=a65_0x23ec68,_0x212f0e={};_0x212f0e['cvAIM']=_0x4f1c21(0x170),_0x212f0e['ZRvBf']=_0x4f1c21(0x1cf),_0x212f0e[_0x4f1c21(0x209)]=_0x4f1c21(0x25a);const _0x42308e=_0x212f0e;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x237fe8=_0x4f1c21;try{const _0x48c823=registry[_0x237fe8(0x258)]();for(const _0x4f6132 of _0x48c823){try{registry[_0x237fe8(0x221)](_0x4f6132[_0x237fe8(0x229)],_0x42308e[_0x237fe8(0x1d7)],_0x237fe8(0x20b)+_0x24987b+_0x237fe8(0x270));}catch(_0x1698eb){}}await Promise[_0x237fe8(0x250)]([registry[_0x237fe8(0x235)](),new Promise(_0x4ff698=>setTimeout(_0x4ff698,0x1388))]);}catch(_0x1c3bf1){}process['removeListener'](_0x42308e['ZRvBf'],_sigintHandler),process[_0x237fe8(0x19b)](_0x42308e[_0x237fe8(0x209)],_sigtermHandler),process[_0x237fe8(0x26a)](process['pid'],_0x24987b);})());};function _sigintHandler(){const _0x567a82=a65_0x23ec68,_0x1ec611={'dEwVm':function(_0x5e2651,_0x358665){return _0x5e2651(_0x358665);},'WJBYS':_0x567a82(0x1cf)};_0x1ec611[_0x567a82(0x200)](propagateSignal,_0x1ec611[_0x567a82(0x172)]);}function _sigtermHandler(){const _0x1aeded=a65_0x23ec68,_0x33a5d4={'NdyLi':function(_0x5efec2,_0xbb648a){return _0x5efec2(_0xbb648a);},'PAYUq':'SIGTERM'};_0x33a5d4[_0x1aeded(0x17a)](propagateSignal,_0x33a5d4[_0x1aeded(0x1ae)]);}process['on'](a65_0x23ec68(0x1cf),_sigintHandler),process['on'](a65_0x23ec68(0x25a),_sigtermHandler),module['exports']=run;
|
|
2
|
+
'use strict';const a65_0x1eee81=a65_0x5bbf;(function(_0x1dc50b,_0x851fe){const _0x5c6ec9=a65_0x5bbf,_0x2c90cb=_0x1dc50b();while(!![]){try{const _0xc3125a=parseInt(_0x5c6ec9(0x185))/0x1*(-parseInt(_0x5c6ec9(0x195))/0x2)+parseInt(_0x5c6ec9(0xc9))/0x3+-parseInt(_0x5c6ec9(0x104))/0x4+-parseInt(_0x5c6ec9(0xfd))/0x5*(-parseInt(_0x5c6ec9(0x129))/0x6)+-parseInt(_0x5c6ec9(0x189))/0x7+-parseInt(_0x5c6ec9(0x11f))/0x8*(parseInt(_0x5c6ec9(0xcd))/0x9)+parseInt(_0x5c6ec9(0xeb))/0xa;if(_0xc3125a===_0x851fe)break;else _0x2c90cb['push'](_0x2c90cb['shift']());}catch(_0x2c37c7){_0x2c90cb['push'](_0x2c90cb['shift']());}}}(a65_0x4ac5,0xb37f5));const path=require('path'),logger=require('../../helpers/logger')[a65_0x1eee81(0xab)],helper=require('../../helpers/helper'),utilities=require(a65_0x1eee81(0x138)),CLIUtils=require(a65_0x1eee81(0xb7)),BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a65_0x1eee81(0xf9)),{printBuildLink}=require('../../helpers/test-observability/utils'),registry=require(a65_0x1eee81(0x178)),detectPeerDeps=()=>{const _0x7d2dda=a65_0x1eee81,_0x42f98b={};_0x42f98b['uxHuY']=_0x7d2dda(0x119),_0x42f98b[_0x7d2dda(0x112)]=_0x7d2dda(0x8b);const _0x1750d0=_0x42f98b;try{require['resolve'](_0x1750d0[_0x7d2dda(0xba)],{'paths':[process['cwd']()]});}catch(_0x43b22b){throw new Error(_0x1750d0[_0x7d2dda(0x112)]);}},loadTestCafeFactory=()=>{const _0x2008b3=a65_0x1eee81,_0x34401e={'ZWnoW':'testcafe','yOrzX':function(_0xac6d46,_0x18451f){return _0xac6d46(_0x18451f);}},_0x329bbb=require[_0x2008b3(0x15e)](_0x34401e['ZWnoW'],{'paths':[process[_0x2008b3(0x155)]()]});return _0x34401e[_0x2008b3(0x163)](require,_0x329bbb);},w3cDriver=require(a65_0x1eee81(0xf7)),KNOWN_LOCAL_BROWSERS=new Set([a65_0x1eee81(0xc4),a65_0x1eee81(0xb2),'firefox',a65_0x1eee81(0x136),'edge','ie',a65_0x1eee81(0x127),a65_0x1eee81(0x16a),a65_0x1eee81(0x18c),a65_0x1eee81(0x115)]),looksLikeBrowserArg=_0x5151c5=>{const _0x32c858=a65_0x1eee81,_0x1ff0db={};_0x1ff0db[_0x32c858(0xbf)]='1|3|4|2|0',_0x1ff0db['ZEyFE']=function(_0x3bce1c,_0x84f9da){return _0x3bce1c!==_0x84f9da;},_0x1ff0db[_0x32c858(0x13c)]='string',_0x1ff0db['ZsLdG']=_0x32c858(0x16d),_0x1ff0db[_0x32c858(0x12a)]=_0x32c858(0x154);const _0x203269=_0x1ff0db,_0x47d469=_0x203269['rSvAh']['split']('|');let _0x3364ca=0x0;while(!![]){switch(_0x47d469[_0x3364ca++]){case'0':return![];case'1':if(_0x203269[_0x32c858(0xca)](typeof _0x5151c5,_0x203269[_0x32c858(0x13c)]))return![];continue;case'2':if(_0x5151c5[_0x32c858(0xfe)](_0x203269[_0x32c858(0x130)])||_0x5151c5[_0x32c858(0xfe)](_0x203269[_0x32c858(0x12a)]))return!![];continue;case'3':if(_0x5151c5['includes'](':')&&!_0x5151c5[_0x32c858(0x17a)]('/'))return!![];continue;case'4':if(KNOWN_LOCAL_BROWSERS['has'](_0x5151c5[_0x32c858(0x84)]()))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x52708b=>{const _0x7af499=a65_0x1eee81,_0xb5da2f={'ktaRf':function(_0x4b8f9a,_0x24796f){return _0x4b8f9a<_0x24796f;},'FgXNv':function(_0x4912af,_0x4e8b87){return _0x4912af===_0x4e8b87;},'rFVYG':function(_0x16632a,_0x26523a){return _0x16632a===_0x26523a;},'yyqbR':_0x7af499(0xf0),'dBcGN':'--browsers=','uCIVH':_0x7af499(0x177),'uDfGo':function(_0x129fda,_0x375b79,_0x13bb3e){return _0x129fda(_0x375b79,_0x13bb3e);},'VxYyK':function(_0x249670,_0x6128f2){return _0x249670+_0x6128f2;},'SOLUk':function(_0x48ac4b,_0x4491a5){return _0x48ac4b+_0x4491a5;},'gDunP':function(_0x5e237f,_0x409005,_0x459040){return _0x5e237f(_0x409005,_0x459040);},'mHXKE':function(_0x2c4a5d,_0x77e77c){return _0x2c4a5d(_0x77e77c);}},_0x2e46b8=[];let _0x14e140;for(let _0x43aafc=0x0;_0xb5da2f[_0x7af499(0x10f)](_0x43aafc,_0x52708b[_0x7af499(0xf6)]);_0x43aafc++){const _0x46adbf=_0x52708b[_0x43aafc];if(_0xb5da2f[_0x7af499(0x120)](_0x46adbf,'-b')||_0xb5da2f[_0x7af499(0x149)](_0x46adbf,_0xb5da2f[_0x7af499(0xea)])){_0x43aafc++;continue;}if(_0x46adbf['startsWith'](_0xb5da2f[_0x7af499(0xbd)])||_0x46adbf[_0x7af499(0xfe)](_0xb5da2f[_0x7af499(0x161)]))continue;const _0x47a16c=_0x46adbf[_0x7af499(0xef)](_CONCURRENCY_PATTERN);if(_0x47a16c){if(_0x47a16c[0x1]){_0x14e140=_0xb5da2f['uDfGo'](parseInt,_0x47a16c[0x1],0xa);continue;}if(_0x52708b[_0xb5da2f[_0x7af499(0xc0)](_0x43aafc,0x1)]&&/^\d+$/[_0x7af499(0x117)](_0x52708b[_0xb5da2f[_0x7af499(0x15f)](_0x43aafc,0x1)])){_0x14e140=_0xb5da2f[_0x7af499(0x174)](parseInt,_0x52708b[_0xb5da2f[_0x7af499(0xc0)](_0x43aafc,0x1)],0xa),_0x43aafc++;continue;}continue;}const _0x2162f6=_0x46adbf[_0x7af499(0xef)](/^-c(\d+)$/);if(_0x2162f6){_0x14e140=_0xb5da2f['uDfGo'](parseInt,_0x2162f6[0x1],0xa);continue;}if(_0xb5da2f[_0x7af499(0xdf)](looksLikeBrowserArg,_0x46adbf))continue;_0x2e46b8[_0x7af499(0xe7)](_0x46adbf);}const _0x1c6f58={};return _0x1c6f58['testSources']=_0x2e46b8,_0x1c6f58[_0x7af499(0x118)]=_0x14e140,_0x1c6f58;},parseCapabilities=_0x502735=>{const _0x218e59=a65_0x1eee81,_0x2bce10={};_0x2bce10[_0x218e59(0x18b)]=_0x218e59(0x133),_0x2bce10[_0x218e59(0xd3)]=_0x218e59(0xcc);const _0x429058=_0x2bce10,_0x10a0ff=_0x502735[_0x218e59(0x8f)]&&_0x502735[_0x218e59(0x8f)]()||_0x502735[_0x218e59(0xd2)];if(!_0x10a0ff)throw new Error(_0x429058[_0x218e59(0x18b)]);const _0x2eacd2=Buffer[_0x218e59(0x17c)](_0x10a0ff)?_0x10a0ff:Buffer[_0x218e59(0x103)](_0x10a0ff),_0x39f655=JSON['parse'](_0x2eacd2['toString'](_0x429058['MiDhX'])['trim']());if(_0x39f655['desiredCapabilities'])return _0x39f655[_0x218e59(0x92)];if(_0x39f655[_0x218e59(0xd2)]&&_0x39f655[_0x218e59(0xd2)][_0x218e59(0x12c)])return _0x39f655[_0x218e59(0xd2)][_0x218e59(0x12c)];return _0x39f655;};async function provisionSession(_0x445db2,_0x812250){const _0x37e06a=a65_0x1eee81,_0x40ce43={'ilWUj':_0x37e06a(0x119),'MmoOA':function(_0x5144f6,_0x55cc49){return _0x5144f6(_0x55cc49);}};logger[_0x37e06a(0x15c)](_0x37e06a(0x179)+_0x812250+']');const _0xa94e23=await _0x445db2[_0x37e06a(0x16f)](),_0x4d6e59=await GrpcClient[_0x37e06a(0xa5)]()[_0x37e06a(0x187)]({'platformIndex':_0x812250,'ref':_0x40ce43[_0x37e06a(0xbe)],'userInputParams':Buffer[_0x37e06a(0x103)](JSON[_0x37e06a(0xa2)]({})),'hubUrl':''}),_0x18eb2b=_0x40ce43[_0x37e06a(0x143)](parseCapabilities,_0x4d6e59),_0x2c7678=(_0x4d6e59[_0x37e06a(0x116)]&&_0x4d6e59[_0x37e06a(0x116)]()||_0x4d6e59[_0x37e06a(0x191)]||'')[_0x37e06a(0x11c)]()||BrowserstackCLI[_0x37e06a(0xa5)]()?.[_0x37e06a(0xac)]()?.[_0x37e06a(0x191)]||process['env'][_0x37e06a(0x157)];if(!_0x2c7678)throw new Error(_0x37e06a(0x11d)+_0x812250+']\x20—\x20cannot\x20open\x20BrowserStack\x20session');logger[_0x37e06a(0x15c)](_0x37e06a(0x186)+_0x812250+_0x37e06a(0xb9)+_0x2c7678);const _0x150e65={};_0x150e65[_0x37e06a(0x191)]=_0x2c7678,_0x150e65[_0x37e06a(0xd2)]=_0x18eb2b;const {driver:_0x22fa01,sessionId:_0x35b5ed}=await w3cDriver['openSession'](_0x150e65);await _0x22fa01[_0x37e06a(0x9e)](_0xa94e23[_0x37e06a(0x82)]);const _0x163f4d={};_0x163f4d['platformIndex']=_0x812250,_0x163f4d[_0x37e06a(0x15d)]=_0x22fa01,_0x163f4d[_0x37e06a(0xf8)]=_0x35b5ed,_0x163f4d['connection']=_0xa94e23,_0x163f4d[_0x37e06a(0xd2)]=_0x18eb2b,_0x163f4d[_0x37e06a(0x191)]=_0x2c7678,registry[_0x37e06a(0x169)](_0x163f4d),logger[_0x37e06a(0x15c)](_0x37e06a(0x186)+_0x812250+_0x37e06a(0x140)+_0x35b5ed+_0x37e06a(0x176)+_0xa94e23[_0x37e06a(0x82)]);const _0xfe84f5={};return _0xfe84f5[_0x37e06a(0x13d)]=_0xa94e23,_0xfe84f5[_0x37e06a(0xf8)]=_0x35b5ed,_0xfe84f5[_0x37e06a(0x15d)]=_0x22fa01,_0xfe84f5[_0x37e06a(0x10e)]=_0x812250,_0xfe84f5[_0x37e06a(0xd2)]=_0x18eb2b,_0xfe84f5[_0x37e06a(0x191)]=_0x2c7678,_0xfe84f5;}async function run(_0x46abea,_0x1d8f3a,_0x2940f5){const _0x29c444=a65_0x1eee81,_0x1870fb={'IZRwQ':function(_0x46f02a,_0x362707){return _0x46f02a(_0x362707);},'bdfbN':function(_0x3f122a,_0x21b8a9,_0x29fb06){return _0x3f122a(_0x21b8a9,_0x29fb06);},'Xovdg':function(_0x42210f,_0x4c3531){return _0x42210f===_0x4c3531;},'vflLy':_0x29c444(0x16e),'MqAaF':function(_0x1c11ef,_0x2df5ae){return _0x1c11ef/_0x2df5ae;},'hHMTv':function(_0x481490,_0xe0ebc2){return _0x481490(_0xe0ebc2);},'fZNcz':_0x29c444(0x102),'eKYxQ':_0x29c444(0xff),'pqqEC':_0x29c444(0x18f),'CUQWy':function(_0x4d63ac){return _0x4d63ac();},'ivoNR':_0x29c444(0x10d),'FZcxi':'false','Lglmy':function(_0x1ea0f2,_0x442a5f){return _0x1ea0f2===_0x442a5f;},'empYS':function(_0x6a9442,_0x1f8409){return _0x6a9442(_0x1f8409);},'qyKhL':function(_0x27aeb8,_0x20691d){return _0x27aeb8&&_0x20691d;},'nRHtx':function(_0x691652,_0x587eaa){return _0x691652!==_0x587eaa;},'WoytP':_0x29c444(0xe1),'TTIIJ':_0x29c444(0x119),'dedOH':_0x29c444(0xde),'YudCO':function(_0x22c7e6,_0x31507a){return _0x22c7e6+_0x31507a;},'dbuIv':function(_0x19074f,_0x2a3fd5){return _0x19074f+_0x2a3fd5;},'LrpMl':_0x29c444(0xec),'yiztP':_0x29c444(0xe4),'lFEdZ':function(_0xaff28a,_0x2bae35){return _0xaff28a||_0x2bae35;},'XRydu':function(_0x3a8d82,_0x132d91){return _0x3a8d82>_0x132d91;},'krEtW':function(_0x5ce71f,_0x689dc7){return _0x5ce71f===_0x689dc7;},'zneaw':_0x29c444(0x109),'gOQCK':function(_0x4897f3,_0x3b80b8){return _0x4897f3===_0x3b80b8;},'SwESN':_0x29c444(0x8e),'wbpUY':function(_0x594c36,_0x523ccd){return _0x594c36(_0x523ccd);},'PFYmX':function(_0x42a8cd,_0x389766){return _0x42a8cd===_0x389766;},'oBegY':_0x29c444(0xae),'yUXOk':'default','BlRtV':function(_0x165784){return _0x165784();},'xrEIz':function(_0x4f8963,_0x3a9d8a){return _0x4f8963(_0x3a9d8a);},'FtiNX':'bs-local.com','FcQBC':_0x29c444(0xb6),'Slhll':function(_0x3938d0,_0x317bf8){return _0x3938d0>_0x317bf8;},'gPygt':function(_0x4af175,_0x50204b){return _0x4af175(_0x50204b);},'kApRh':'./testcafe-action-patcher','wZFrg':_0x29c444(0x160),'HqeGy':function(_0x6eb25d,_0x36adb6){return _0x6eb25d+_0x36adb6;},'fHFed':_0x29c444(0x147),'wVLBV':_0x29c444(0x128),'gjOmA':function(_0x417123,_0x228dde){return _0x417123(_0x228dde);},'ZEWVt':_0x29c444(0xbc),'gPMNx':_0x29c444(0x164),'sDSPn':function(_0x53ee01,_0xa74b05){return _0x53ee01===_0xa74b05;},'GYEbs':function(_0x423243,_0x1b4356){return _0x423243===_0x1b4356;},'SzQdL':_0x29c444(0xd1),'AhhfJ':function(_0x18ef32,_0x27db51){return _0x18ef32<_0x27db51;},'ZzHZt':_0x29c444(0xf0),'bdUwZ':_0x29c444(0x14f),'ZLTlc':_0x29c444(0x177),'ijDxV':_0x29c444(0xc4),'FKYvj':_0x29c444(0x111),'fRPDZ':_0x29c444(0xb4),'IdFpv':_0x29c444(0xe6),'RgQWL':function(_0x2efa7e,_0x2b3457){return _0x2efa7e===_0x2b3457;},'oAoJp':function(_0x431a22,_0x5c934f){return _0x431a22<_0x5c934f;},'Wzeuc':function(_0x34bc84,_0x50a44a){return _0x34bc84+_0x50a44a;},'alxAG':function(_0x153f92,_0x32f7fd,_0x5a84f8){return _0x153f92(_0x32f7fd,_0x5a84f8);},'psZGn':function(_0x24c5a9,_0x2326be){return _0x24c5a9*_0x2326be;},'uVHFw':function(_0x30c99a,_0x272803){return _0x30c99a+_0x272803;},'jwXfy':function(_0x4f6cf1,_0x4c1e89){return _0x4f6cf1!==_0x4c1e89;},'vYGyb':function(_0x2a0cf4,_0x4a2b98){return _0x2a0cf4===_0x4a2b98;},'ScJMR':'passed','xnBPM':_0x29c444(0x124),'FfKxh':function(_0x222ff8,_0x1603b8){return _0x222ff8===_0x1603b8;},'XKrJn':function(_0x5a34dc,_0x1b9870){return _0x5a34dc===_0x1b9870;},'ptKbh':function(_0x5328e3){return _0x5328e3();}};_0x1870fb[_0x29c444(0x12b)](detectPeerDeps);if(!_0x2940f5[_0x29c444(0xc3)]){logger[_0x29c444(0xa6)](_0x1870fb[_0x29c444(0x8c)]);return;}const _0x3f41fd=_0x2940f5[_0x29c444(0xc3)],_0x20512b=_0x1870fb[_0x29c444(0xad)](_0x3f41fd[_0x29c444(0x113)],![])||_0x1870fb[_0x29c444(0xad)](_0x3f41fd[_0x29c444(0x113)],_0x1870fb[_0x29c444(0xe8)])||_0x1870fb[_0x29c444(0x105)](_0x1870fb[_0x29c444(0x114)](String,_0x3f41fd['browserstackAutomation']||'')['toLowerCase'](),_0x1870fb['FZcxi']),_0x136db1=_0x1870fb[_0x29c444(0xad)](_0x3f41fd[_0x29c444(0xe2)],![])||_0x1870fb[_0x29c444(0x105)](_0x3f41fd[_0x29c444(0xe2)],_0x1870fb['FZcxi'])||_0x1870fb[_0x29c444(0x105)](_0x1870fb[_0x29c444(0x11b)](String,_0x1870fb[_0x29c444(0x105)](_0x3f41fd[_0x29c444(0xe2)],undefined)?'':_0x3f41fd[_0x29c444(0xe2)])['toLowerCase'](),_0x1870fb['FZcxi']);_0x1870fb[_0x29c444(0x159)](!_0x20512b,!_0x136db1)&&_0x1870fb[_0x29c444(0xc8)](_0x3f41fd['browserstackLocal'],!![])&&(logger[_0x29c444(0x15c)](_0x1870fb['WoytP']),_0x3f41fd[_0x29c444(0xe2)]=!![]);await _0x2940f5['initialize'](_0x46abea),CLIUtils[_0x29c444(0x12f)](_0x1870fb[_0x29c444(0xa7)],_0x1870fb[_0x29c444(0xa7)]),BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0x8d)](_0x2940f5[_0x29c444(0xc3)],_0x2940f5[_0x29c444(0xf1)],_0x2940f5[_0x29c444(0x197)]);try{await BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0x145)]();if(!BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0xb0)]())throw new Error(_0x1870fb['dedOH']);}catch(_0x5eb4ac){process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x1870fb[_0x29c444(0x13f)](_0x1870fb[_0x29c444(0xed)]('[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20'+_0x5eb4ac['message']+'\x0a',_0x1870fb[_0x29c444(0x180)]),_0x1870fb[_0x29c444(0xe0)])),logger[_0x29c444(0xa6)](_0x29c444(0x17f)+(_0x5eb4ac['stack']||_0x5eb4ac)),process['exitCode']=0x1;return;}const _0xc9f72f=BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0xac)](),_0x2adc69=_0x2940f5[_0x29c444(0xc3)]||{};let _0x3dddc9=_0x1870fb[_0x29c444(0x13e)](_0xc9f72f,_0x2adc69)||{},_0x3702b2=Array[_0x29c444(0xfc)](_0x3dddc9[_0x29c444(0x89)])?_0x3dddc9['platforms']:[];_0x1870fb[_0x29c444(0x105)](_0x3702b2['length'],0x0)&&Array[_0x29c444(0xfc)](_0x2adc69['platforms'])&&_0x1870fb['XRydu'](_0x2adc69[_0x29c444(0x89)][_0x29c444(0xf6)],0x0)&&(logger['warn'](_0x29c444(0x10b)+_0x2adc69['platforms'][_0x29c444(0xf6)]+')'),_0x3dddc9=_0x2adc69,_0x3702b2=_0x2adc69[_0x29c444(0x89)]);if(_0x1870fb[_0x29c444(0xf5)](_0x3702b2['length'],0x0)){process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x1870fb[_0x29c444(0x17b)]),process[_0x29c444(0xe3)]=0x1;return;}if(_0x1870fb['gOQCK'](_0x3dddc9[_0x29c444(0x166)],!![])||_0x3dddc9[_0x29c444(0x166)]&&_0x3dddc9[_0x29c444(0x166)][_0x29c444(0x137)]){const _0x38b100=_0x1870fb[_0x29c444(0x152)];process['stderr'][_0x29c444(0x9b)](_0x1870fb[_0x29c444(0x13f)](_0x38b100,'\x0a')),logger[_0x29c444(0x183)](_0x38b100);}const {testSources:_0x9f458,concurrency:_0x4ec27b}=_0x1870fb[_0x29c444(0xdc)](filterArgs,_0x1d8f3a[_0x29c444(0xd9)](0x1));if(_0x1870fb[_0x29c444(0x13a)](_0x9f458['length'],0x0)){process['stderr'][_0x29c444(0x9b)](_0x1870fb['oBegY']),process[_0x29c444(0xe3)]=0x1;return;}logger['info'](_0x29c444(0x93)+JSON[_0x29c444(0xa2)](_0x9f458)+_0x29c444(0xd4)+_0x3702b2[_0x29c444(0xf6)]+_0x29c444(0xee)+_0x1870fb[_0x29c444(0x13e)](_0x4ec27b,_0x1870fb['yUXOk']));let _0x39f477;try{_0x39f477=_0x1870fb['BlRtV'](loadTestCafeFactory);}catch(_0x9067c1){process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x29c444(0x146)+_0x9067c1[_0x29c444(0xc2)]+'\x0a'),process[_0x29c444(0xe3)]=0x1;return;}const _0x2d2f63=await _0x1870fb[_0x29c444(0x17e)](_0x39f477,_0x1870fb[_0x29c444(0x14c)]);let _0x3242aa=0x1;const _0x519f00=0x7530,_0x4089ec=[],_0x25f24c=(_0x4ec12a,_0x3650e9)=>{const _0x43cefb=_0x29c444,_0x2b9323={'ookAt':function(_0x40afd4,_0x440d79){const _0xaa47ac=a65_0x5bbf;return _0x1870fb[_0xaa47ac(0x141)](_0x40afd4,_0x440d79);}},_0x348641=_0x1870fb[_0x43cefb(0xfb)](setInterval,async()=>{const _0x1edef4=_0x43cefb;try{await _0x4ec12a['getCurrentUrl']();}catch(_0x4f8fda){logger['debug'](_0x1edef4(0x97)+_0x3650e9+':\x20'+_0x4f8fda[_0x1edef4(0xc2)]+_0x1edef4(0x14d)),_0x2b9323[_0x1edef4(0x188)](clearInterval,_0x348641);}},_0x519f00);_0x1870fb[_0x43cefb(0xad)](typeof _0x348641['unref'],_0x1870fb[_0x43cefb(0xcf)])&&_0x348641['unref'](),_0x4089ec[_0x43cefb(0xe7)](_0x348641);},_0x54c57d=()=>{const _0x9346e3=_0x29c444;for(const _0x403cb5 of _0x4089ec){_0x1870fb[_0x9346e3(0x141)](clearInterval,_0x403cb5);}_0x4089ec[_0x9346e3(0xf6)]=0x0;};_0x3242aa=0x0;const _0x4b90fa=_0x1870fb['hHMTv'](require,_0x1870fb['FcQBC']);_0x4b90fa[_0x29c444(0x126)]();try{const _0x34cf90=BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0x18d)]&&BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0x18d)](),_0x38391d=_0x34cf90&&_0x34cf90[_0x29c444(0x151)]&&_0x34cf90[_0x29c444(0x151)]['options']&&_0x34cf90['accessibilityConfig'][_0x29c444(0xf4)][_0x29c444(0xf2)]&&(_0x34cf90[_0x29c444(0x151)][_0x29c444(0xf4)]['commandsToWrap'][_0x29c444(0x184)]||_0x34cf90['accessibilityConfig'][_0x29c444(0xf4)]['commandsToWrap']['commands']);if(Array['isArray'](_0x38391d)&&_0x1870fb['Slhll'](_0x38391d['length'],0x0)){const _0x1558cf=_0x1870fb[_0x29c444(0x142)](require,_0x1870fb[_0x29c444(0x10c)]),_0xaae428=_0x38391d['map'](_0x4862dd=>({'name':_0x4862dd[_0x29c444(0x168)]&&_0x4862dd[_0x29c444(0x168)]()||_0x4862dd[_0x29c444(0x17d)],'module':_0x4862dd[_0x29c444(0x175)]&&_0x4862dd[_0x29c444(0x175)]()||_0x4862dd[_0x29c444(0xaa)],'method':_0x4862dd[_0x29c444(0x194)]&&_0x4862dd['getMethod']()||_0x4862dd[_0x29c444(0x9f)]}));_0x1558cf[_0x29c444(0x126)](_0xaae428);}else logger['debug'](_0x1870fb[_0x29c444(0x144)]);}catch(_0xb8bfac){logger[_0x29c444(0x15a)](_0x29c444(0x158)+(_0xb8bfac['message']||_0xb8bfac));}let _0x2887fb='',_0x48bfd7=null;try{const _0x42e8a0=await GrpcClient[_0x29c444(0xa5)]()[_0x29c444(0xbb)]();_0x2887fb=_0x42e8a0[_0x29c444(0x193)]&&_0x42e8a0[_0x29c444(0x193)]()||_0x42e8a0[_0x29c444(0x190)]||'';if(_0x2887fb)try{_0x48bfd7=new RegExp(_0x2887fb),logger[_0x29c444(0x15c)](_0x29c444(0xda)+_0x2887fb);}catch(_0x35ba5c){const _0x189e05=_0x29c444(0xdd)+_0x35ba5c['message']+_0x29c444(0xf3)+_0x2887fb;process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x1870fb[_0x29c444(0x9a)](_0x189e05,'\x0a')),logger['error'](_0x189e05),process[_0x29c444(0xe3)]=0x1;return;}}catch(_0x30ed2d){if(process[_0x29c444(0x101)][_0x29c444(0x108)]){const _0x1c14e2=_0x1870fb[_0x29c444(0x162)];process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x1c14e2),logger[_0x29c444(0xa6)](_0x29c444(0xb3)+_0x30ed2d[_0x29c444(0xc2)]),process[_0x29c444(0xe3)]=0x1;return;}logger['debug'](_0x1870fb[_0x29c444(0x16c)],_0x30ed2d);}const _0x5e8add=_0x1870fb[_0x29c444(0x13b)](require,path[_0x29c444(0x15e)](__dirname,_0x1870fb[_0x29c444(0x100)],_0x1870fb[_0x29c444(0x167)])),_0x427b83=_0x1870fb[_0x29c444(0x132)](_0x3dddc9[_0x29c444(0x113)],![])||_0x1870fb[_0x29c444(0x105)](_0x3dddc9[_0x29c444(0x113)],_0x1870fb[_0x29c444(0xe8)])||_0x1870fb[_0x29c444(0x150)](_0x1870fb[_0x29c444(0x114)](String,_0x3dddc9[_0x29c444(0x113)]||'')[_0x29c444(0x84)](),_0x1870fb[_0x29c444(0xe8)]);if(_0x427b83){logger['info'](_0x1870fb[_0x29c444(0xa1)]);const _0x5ddcb9=[];for(let _0xd47abe=0x0;_0x1870fb[_0x29c444(0x14b)](_0xd47abe,_0x1d8f3a[_0x29c444(0xf6)]);_0xd47abe++){const _0x4cbc34=_0x1d8f3a[_0xd47abe];if(_0x1870fb[_0x29c444(0x132)](_0x4cbc34,'-b')||_0x1870fb[_0x29c444(0xad)](_0x4cbc34,_0x1870fb[_0x29c444(0xa4)])){_0x1d8f3a[_0x1870fb['dbuIv'](_0xd47abe,0x1)]&&_0x5ddcb9[_0x29c444(0xe7)](_0x1d8f3a[_0x1870fb[_0x29c444(0xed)](_0xd47abe,0x1)]);_0xd47abe++;continue;}if(_0x4cbc34['startsWith'](_0x1870fb['bdUwZ'])){_0x5ddcb9['push'](_0x4cbc34[_0x29c444(0xd9)](_0x1870fb[_0x29c444(0x90)][_0x29c444(0xf6)]));continue;}if(_0x4cbc34[_0x29c444(0xfe)](_0x1870fb[_0x29c444(0xc5)])){_0x5ddcb9['push'](_0x4cbc34[_0x29c444(0xd9)](_0x1870fb[_0x29c444(0xc5)][_0x29c444(0xf6)]));continue;}_0x1870fb['hHMTv'](looksLikeBrowserArg,_0x4cbc34)&&_0x5ddcb9['push'](_0x4cbc34);}_0x1870fb[_0x29c444(0x181)](_0x5ddcb9[_0x29c444(0xf6)],0x0)&&(_0x5ddcb9[_0x29c444(0xe7)](_0x1870fb['ijDxV']),logger[_0x29c444(0x15c)](_0x1870fb[_0x29c444(0x171)]));let _0x4a18c7=0x1;try{const _0x44f43d=_0x2d2f63['createRunner']();_0x44f43d[_0x29c444(0x18a)](_0x9f458),_0x44f43d[_0x29c444(0x125)](_0x5ddcb9),_0x44f43d[_0x29c444(0xbc)]([_0x1870fb['fRPDZ'],_0x5e8add]),_0x1870fb[_0x29c444(0x132)](typeof _0x4ec27b,_0x1870fb[_0x29c444(0xfa)])&&_0x1870fb['XRydu'](_0x4ec27b,0x0)&&_0x44f43d[_0x29c444(0x118)](_0x4ec27b),_0x48bfd7&&_0x44f43d[_0x29c444(0x11a)](_0x335ae4=>_0x48bfd7['test'](_0x335ae4)),_0x4a18c7=await _0x44f43d[_0x29c444(0x153)](),logger[_0x29c444(0x15c)](_0x29c444(0x110)+_0x4a18c7);}catch(_0x3b9b5a){logger['error'](_0x29c444(0x131)+(_0x3b9b5a[_0x29c444(0x139)]||_0x3b9b5a)),process[_0x29c444(0xa0)][_0x29c444(0x9b)](_0x29c444(0x10a)+_0x3b9b5a[_0x29c444(0xc2)]+'\x0a'),_0x4a18c7=0x1;}finally{_0x3242aa=_0x4a18c7;try{_0x4b90fa[_0x29c444(0xa9)]();}catch(_0x46e284){}try{await _0x2d2f63[_0x29c444(0x182)]();}catch(_0x2601e3){logger['debug'](_0x29c444(0xd8)+_0x2601e3[_0x29c444(0xc2)]);}try{const _0x3758a8=BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0xc7)]();_0x3758a8&&_0x1870fb['RgQWL'](typeof _0x3758a8['finalizeOrphans'],_0x1870fb[_0x29c444(0xcf)])&&await _0x3758a8[_0x29c444(0x16b)]();}catch(_0x2ac584){logger['debug']('finalizeOrphans\x20error:\x20'+_0x2ac584[_0x29c444(0xc2)]);}const _0x2ac621=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI[_0x29c444(0xa5)]()[_0x29c444(0x85)]()['catch'](_0x1ca94a=>{const _0x4dabb2=_0x29c444;logger[_0x4dabb2(0x15a)]('BrowserstackCLI.stop\x20error:\x20'+_0x1ca94a[_0x4dabb2(0xc2)]);}),_0x1870fb['CUQWy'](printBuildLink),await utilities[_0x29c444(0x134)](_0x2940f5,_0x2ac621)[_0x29c444(0x173)](_0x3e857a=>{const _0x23201c=_0x29c444;logger[_0x23201c(0x15a)](_0x23201c(0x95)+_0x3e857a[_0x23201c(0xc2)]);}),process[_0x29c444(0xe3)]=_0x3242aa,logger[_0x29c444(0x15c)](_0x29c444(0xc1)+_0x3242aa);}return;}try{for(let _0x225555=0x0;_0x1870fb[_0x29c444(0x9d)](_0x225555,_0x3702b2[_0x29c444(0xf6)]);_0x225555++){logger[_0x29c444(0x15c)]('testcafe/command.js:\x20starting\x20platform['+_0x225555+']\x20('+_0x1870fb['Wzeuc'](_0x225555,0x1)+'/'+_0x3702b2[_0x29c444(0xf6)]+')');let _0x51a92c=0x1,_0x7b7917=null,_0x495cd8=null;try{_0x7b7917=await _0x1870fb[_0x29c444(0xfb)](provisionSession,_0x2d2f63,_0x225555),_0x1870fb[_0x29c444(0x123)](_0x25f24c,_0x7b7917[_0x29c444(0x15d)],_0x7b7917[_0x29c444(0xf8)]);const _0x1bdc4d=_0x2d2f63['createRunner']();_0x1bdc4d['src'](_0x9f458),_0x1bdc4d[_0x29c444(0x125)]([_0x7b7917[_0x29c444(0x13d)]]),_0x1bdc4d[_0x29c444(0xbc)]([_0x1870fb[_0x29c444(0xb5)],_0x5e8add]);_0x1870fb[_0x29c444(0x181)](typeof _0x4ec27b,_0x1870fb[_0x29c444(0xfa)])&&_0x1870fb[_0x29c444(0xe9)](_0x4ec27b,0x0)&&_0x1bdc4d[_0x29c444(0x118)](_0x4ec27b);_0x48bfd7&&_0x1bdc4d[_0x29c444(0x11a)](_0x761a59=>_0x48bfd7[_0x29c444(0x117)](_0x761a59));const _0x287f54=_0x3dddc9&&_0x3dddc9[_0x29c444(0x198)]||0x12c,_0x1a73c6=_0x1870fb[_0x29c444(0xc6)](_0x1870fb['uVHFw'](_0x287f54,0x3c),0x3e8);_0x51a92c=await Promise['race']([_0x1bdc4d[_0x29c444(0x153)](),new Promise(_0x1d09ab=>setTimeout(()=>{const _0x5c0db0=_0x29c444;logger[_0x5c0db0(0x183)](_0x5c0db0(0x192)+_0x225555+']\x20runner.run()\x20timed\x20out\x20after\x20'+_0x1870fb[_0x5c0db0(0xcb)](_0x1a73c6,0x3e8)+_0x5c0db0(0x9c)),_0x495cd8=_0x5c0db0(0x14e)+_0x1870fb[_0x5c0db0(0xcb)](_0x1a73c6,0x3e8)+_0x5c0db0(0x170),_0x1870fb[_0x5c0db0(0x114)](_0x1d09ab,0x1);},_0x1a73c6))]),logger['info'](_0x29c444(0x192)+_0x225555+_0x29c444(0x11e)+_0x51a92c),_0x1870fb['nRHtx'](_0x51a92c,0x0)&&!_0x495cd8&&(_0x495cd8='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x51a92c);}catch(_0x5dff3d){const _0x82bf7d=((()=>{const _0x3cff8d=_0x29c444;if(!_0x5dff3d)return _0x1870fb[_0x3cff8d(0x172)];if(_0x1870fb[_0x3cff8d(0xad)](typeof _0x5dff3d,_0x1870fb[_0x3cff8d(0xa3)]))return _0x5dff3d;if(_0x1870fb[_0x3cff8d(0xad)](typeof _0x5dff3d[_0x3cff8d(0xc2)],_0x1870fb['eKYxQ'])&&_0x5dff3d[_0x3cff8d(0xc2)])return _0x5dff3d['message'];try{return JSON['stringify'](_0x5dff3d[_0x3cff8d(0xc2)]??_0x5dff3d,null,0x2);}catch(_0x21074e){const _0x48b71c={};return _0x48b71c[_0x3cff8d(0x15b)]=0x4,_0x1870fb[_0x3cff8d(0x114)](require,_0x1870fb[_0x3cff8d(0x98)])[_0x3cff8d(0xaf)](_0x5dff3d[_0x3cff8d(0xc2)]??_0x5dff3d,_0x48b71c);}})()),_0x16e49d={};_0x16e49d['code']=_0x5dff3d&&_0x5dff3d[_0x29c444(0x83)],_0x16e49d[_0x29c444(0xe5)]=_0x5dff3d&&_0x5dff3d[_0x29c444(0xe5)],_0x16e49d[_0x29c444(0xce)]=_0x5dff3d&&_0x5dff3d[_0x29c444(0xce)],_0x16e49d[_0x29c444(0x17d)]=_0x5dff3d&&_0x5dff3d[_0x29c444(0x17d)],_0x16e49d['constructor']=_0x5dff3d&&_0x5dff3d[_0x29c444(0x18e)]&&_0x5dff3d['constructor'][_0x29c444(0x17d)];const _0x4557cc=_0x16e49d;logger[_0x29c444(0xa6)](_0x29c444(0x192)+_0x225555+']\x20run\x20failed\x20—\x20'+_0x82bf7d+'\x20(meta='+JSON[_0x29c444(0xa2)](_0x4557cc)+')\x0a'+(_0x5dff3d&&_0x5dff3d['stack']||'')),process[_0x29c444(0xa0)]['write'](_0x29c444(0x122)+_0x225555+_0x29c444(0xd5)+_0x82bf7d+'\x0a'),_0x51a92c=0x1,_0x495cd8=_0x82bf7d;}finally{try{if(_0x7b7917&&_0x1870fb['jwXfy'](_0x7b7917['platformIndex'],undefined)){const _0x542b54=_0x1870fb[_0x29c444(0x91)](_0x51a92c,0x0)?_0x1870fb[_0x29c444(0x96)]:_0x1870fb['xnBPM'],_0x366f54=_0x495cd8;registry['markStatus'](_0x7b7917['platformIndex'],_0x542b54,_0x366f54);}}catch(_0x1b546b){logger[_0x29c444(0x183)]('testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform['+_0x225555+']:\x20'+_0x1b546b[_0x29c444(0xc2)]);}await registry[_0x29c444(0x156)](),_0x1870fb['BlRtV'](_0x54c57d);}_0x1870fb[_0x29c444(0xc8)](_0x51a92c,0x0)&&_0x1870fb[_0x29c444(0xdb)](_0x3242aa,0x0)&&(_0x3242aa=_0x51a92c);}}finally{try{_0x4b90fa[_0x29c444(0xa9)]();}catch(_0x1c50a8){}try{await _0x2d2f63[_0x29c444(0x182)]();}catch(_0x2af124){logger[_0x29c444(0x15a)](_0x29c444(0xd8)+_0x2af124['message']);}try{const _0x1907ca=BrowserstackCLI['getInstance']()[_0x29c444(0xc7)]();_0x1907ca&&_0x1870fb[_0x29c444(0x196)](typeof _0x1907ca[_0x29c444(0x16b)],_0x1870fb[_0x29c444(0xcf)])&&await _0x1907ca['finalizeOrphans']();}catch(_0x6038a7){logger[_0x29c444(0x15a)](_0x29c444(0x94)+_0x6038a7['message']);}const _0x42b969=BrowserstackCLI[_0x29c444(0xb8)]();await BrowserstackCLI['getInstance']()['stop']()[_0x29c444(0x173)](_0x186e55=>{const _0x40fe03=_0x29c444;logger[_0x40fe03(0x15a)](_0x40fe03(0xa8)+_0x186e55[_0x40fe03(0xc2)]);}),_0x1870fb[_0x29c444(0x107)](printBuildLink),await utilities[_0x29c444(0x134)](_0x2940f5,_0x42b969)[_0x29c444(0x173)](_0x337b5d=>{const _0x1859d4=_0x29c444;logger['debug']('finalExecution\x20error:\x20'+_0x337b5d[_0x1859d4(0xc2)]);}),process[_0x29c444(0xe3)]=_0x3242aa,logger['info']('testcafe/command.js:\x20exit\x20code='+_0x3242aa);}}let _isExiting=![];const propagateSignal=_0xe7a8bf=>{const _0x4a54b1=a65_0x1eee81,_0x60430d={};_0x60430d['vYSur']=_0x4a54b1(0x124),_0x60430d[_0x4a54b1(0xd7)]=_0x4a54b1(0x88),_0x60430d['rKjbX']=_0x4a54b1(0x148);const _0x5ac206=_0x60430d;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x532989=_0x4a54b1;try{const _0x42d1e9=registry[_0x532989(0xd0)]();for(const _0x3ffe07 of _0x42d1e9){try{registry[_0x532989(0x14a)](_0x3ffe07[_0x532989(0x10e)],_0x5ac206[_0x532989(0x12e)],'Aborted\x20by\x20'+_0xe7a8bf+_0x532989(0x135));}catch(_0x298bce){}}await Promise[_0x532989(0xb1)]([registry[_0x532989(0x156)](),new Promise(_0xbe5a1=>setTimeout(_0xbe5a1,0x1388))]);}catch(_0xe0bc89){}process[_0x532989(0x165)](_0x5ac206[_0x532989(0xd7)],_sigintHandler),process[_0x532989(0x165)](_0x5ac206[_0x532989(0xd6)],_sigtermHandler),process[_0x532989(0x106)](process[_0x532989(0x87)],_0xe7a8bf);})());};function a65_0x5bbf(_0x362d92,_0x5077ad){const _0x4ac543=a65_0x4ac5();return a65_0x5bbf=function(_0x5bbf5f,_0x3e3853){_0x5bbf5f=_0x5bbf5f-0x82;let _0x4a57f2=_0x4ac543[_0x5bbf5f];return _0x4a57f2;},a65_0x5bbf(_0x362d92,_0x5077ad);}function _sigintHandler(){const _0x24d85c=a65_0x1eee81,_0xa5dbb0={'gxHaU':function(_0x4d47b4,_0xca2624){return _0x4d47b4(_0xca2624);},'Wruaq':_0x24d85c(0x88)};_0xa5dbb0[_0x24d85c(0x12d)](propagateSignal,_0xa5dbb0[_0x24d85c(0x99)]);}function a65_0x4ac5(){const _0x853261=['listEntries','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','capabilities','MiDhX',',\x20platforms=',']:\x20','rKjbX','FCLrH','tc.close\x20error:\x20','slice','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','FfKxh','wbpUY','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','mHXKE','yiztP','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','browserstackLocal','exitCode','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','type','number','push','FZcxi','Slhll','yyqbR','29371850KhAAPQ','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','dbuIv',',\x20concurrency=','match','--browsers','configPath','commandsToWrap','.\x20Pattern:\x20','options','krEtW','length','./w3c-driver','sessionId','../v2/grpcClient','IdFpv','bdfbN','isArray','7765vODkiu','startsWith','string','ZEWVt','env','unknown\x20error\x20(falsy)','from','3544592MXoVbw','Lglmy','kill','ptKbh','BROWSERSTACK_RERUN','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','kApRh','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','platformIndex','ktaRf','testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit=','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','oqZto','browserstackAutomation','hHMTv','remote','getHubUrl','test','concurrency','testcafe','filter','empYS','trim','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[',']\x20finished\x20with\x20exit=','24uFUXWN','FgXNv','frLHG','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','alxAG','failed','browsers','install','opera','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','2616JacEND','sKXXW','CUQWy','alwaysMatch','gxHaU','vYSur','setFrameworkDetail','ZsLdG','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','sDSPn','DriverInit\x20returned\x20no\x20capabilities','finalExecution','\x20before\x20runner.run()\x20completed','safari','projectToken','../../helpers/utilities','stack','PFYmX','gjOmA','yWsjY','connection','lFEdZ','YudCO',']\x20BrowserStack\x20session=','IZRwQ','gPygt','MmoOA','wZFrg','bootstrap','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','SIGTERM','rFVYG','markStatus','AhhfJ','FtiNX','\x20—\x20stopping\x20pings\x20for\x20this\x20session','runner.run()\x20exceeded\x20','--browsers=','GYEbs','accessibilityConfig','SwESN','run','firefox:','cwd','quitAll','BROWSERSTACK_HUB_URL','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','qyKhL','debug','depth','info','driver','resolve','SOLUk','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','uCIVH','fHFed','yOrzX','index.js','removeListener','percy','gPMNx','getName','register','chrome:headless','finalizeOrphans','wVLBV','chrome:','function','createBrowserConnection','s\x20timeout\x20(idleTimeout\x20+\x2060s)','FKYvj','fZNcz','catch','gDunP','getModule','\x20→\x20','-b=','./session-registry','[testcafe]\x20provisioning\x20session\x20for\x20platform[','includes','zneaw','isBuffer','name','xrEIz','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','LrpMl','gOQCK','close','warn','commandsList','206378MbJjmk','[testcafe]\x20platform[','driverInit','ookAt','4976027kVRIFz','src','yfTfV','firefox:headless','getAccessibilityModule','constructor','util','rerunTestGrep','hubUrl','testcafe/command.js:\x20platform[','getRerunTestGrep','getMethod','10KtzYTQ','XKrJn','cliConfig','idleTimeout','url','code','toLowerCase','stop','exports','pid','SIGINT','platforms','RrgzA','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','ivoNR','setBrowserstackConfig','[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.','getCapabilities','bdUwZ','vYGyb','desiredCapabilities','testcafe/command.js:\x20testSources=','finalizeOrphans\x20error:\x20','finalExecution\x20error:\x20','ScJMR','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','pqqEC','Wruaq','HqeGy','write','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','oAoJp','navigateTo','method','stderr','SzQdL','stringify','eKYxQ','ZzHZt','getInstance','error','TTIIJ','BrowserstackCLI.stop\x20error:\x20','uninstall','module','winstonLogger','getConfig','Xovdg','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','inspect','isRunning','race','chromium','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','spec','fRPDZ','./stdout-interceptor','../v2/cliUtils','isCLIEnabled',']\x20hubUrl=','uxHuY','testCafeConfig','reporter','dBcGN','ilWUj','rSvAh','VxYyK','testcafe/command.js:\x20exit\x20code=','message','config','chrome','ZLTlc','psZGn','getTestFramework','nRHtx','1159254towHxE','ZEyFE','MqAaF','utf8','1909773mQtCDN','data','vflLy'];a65_0x4ac5=function(){return _0x853261;};return a65_0x4ac5();}function _sigtermHandler(){const _0x321598=a65_0x1eee81,_0x171216={'frLHG':function(_0x1ad234,_0x805697){return _0x1ad234(_0x805697);},'RrgzA':_0x321598(0x148)};_0x171216[_0x321598(0x121)](propagateSignal,_0x171216[_0x321598(0x8a)]);}process['on'](a65_0x1eee81(0x88),_sigintHandler),process['on'](a65_0x1eee81(0x148),_sigtermHandler),module[a65_0x1eee81(0x86)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a66_0x325689=a66_0x2446;function a66_0xdb16(){const _0x88a52=['isRunning','fixtureStack','CREATE','fixturePath','\x20tests\x20across\x20','478370HIPxnP','fixtureName','testName','removeInstance','platformIndex','sMRsJ','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','debug','unknown','skipped','push','isArray','testCount','[testcafe-reporter]\x20reportTestDone:\x20','QUIT','endTime','dlXJW','YCabT','length','1170462JRJpbG','testStartInfo','dqSEx','../../v2/TestInfo','info','trackEvent','userAgents','test','AFTER_EACH','HcDgH','mjELp','startTime','[testcafe-reporter]\x20reportFixtureStart:\x20','stack','error','screenshots','jfvsg','NOQuq','5jdpHBk','3400792OXPHzY','NvMxz','PRE','quarantine','uforp','[testcafe-reporter]\x20reportTestStart:\x20','getTestFramework','../../v2/state/automationFrameworkState','9ccYsdI','56fQgbaM','passedCount','TEST','BEFORE_ALL','SwojS','13533455TfftPN','map','110unQMZZ','97524zhyXYl','sessionId','../../v2/browserstackCLI','134193nEuRqs','properties','taskStructure','BEFORE_EACH','\x20warnings=','1BtQpil','instance','BEItB','errs','\x20browsers','skippedCount','testRunInfo','driver','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','hubUrl','../../../helpers/logger','./tcUtils','wWTUy','mQWGm','meta','../../v2/framework/automationFramework','name','12zLpBpR','setup','path','unstable','getInstance','hUrqg','368486wuDnkL','winstonLogger','capabilities','currentTaskInfo','getAutomationFramework','AFTER_ALL','../../v2/framework/testcafeAutomationFramework',',\x20skipped=','POST','durationMs'];a66_0xdb16=function(){return _0x88a52;};return a66_0xdb16();}(function(_0x1397b8,_0xd01fcf){const _0x4edc39=a66_0x2446,_0x97103c=_0x1397b8();while(!![]){try{const _0x2566b2=parseInt(_0x4edc39(0xb7))/0x1*(-parseInt(_0x4edc39(0xce))/0x2)+parseInt(_0x4edc39(0xb2))/0x3*(parseInt(_0x4edc39(0xa7))/0x4)+parseInt(_0x4edc39(0x9d))/0x5*(-parseInt(_0x4edc39(0xf0))/0x6)+-parseInt(_0x4edc39(0xaf))/0x7+-parseInt(_0x4edc39(0x9e))/0x8*(parseInt(_0x4edc39(0xa6))/0x9)+parseInt(_0x4edc39(0xdd))/0xa*(-parseInt(_0x4edc39(0xae))/0xb)+parseInt(_0x4edc39(0xc8))/0xc*(parseInt(_0x4edc39(0xac))/0xd);if(_0x2566b2===_0xd01fcf)break;else _0x97103c['push'](_0x97103c['shift']());}catch(_0x57bcdc){_0x97103c['push'](_0x97103c['shift']());}}}(a66_0xdb16,0x5a774));function a66_0x2446(_0x5b2cd9,_0x29ad51){const _0xdb1672=a66_0xdb16();return a66_0x2446=function(_0x244632,_0x4c1913){_0x244632=_0x244632-0x9d;let _0x3ffd32=_0xdb1672[_0x244632];return _0x3ffd32;},a66_0x2446(_0x5b2cd9,_0x29ad51);}const path=require(a66_0x325689(0xca)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a66_0x325689(0xc2)),logger=require(a66_0x325689(0xc1))[a66_0x325689(0xcf)],BrowserstackCLI=require(a66_0x325689(0xb1)),TestFrameworkState=require('../../v2/state/testFrameworkState'),AutomationFrameworkState=require(a66_0x325689(0xa5)),HookState=require('../../v2/state/hookState'),TestInfo=require(a66_0x325689(0xf3)),AutomationFramework=require(a66_0x325689(0xc6)),TestCafeAutomationFramework=require(a66_0x325689(0xd4)),sessionRegistry=require('../session-registry');module['exports']=function(_0x105569){const _0xa008ac=a66_0x325689,_0x5c295d={'SwojS':function(_0x4289d4,..._0x4afdd6){return _0x4289d4(..._0x4afdd6);},'wWTUy':'handler','wMkVo':'testcafe','jfvsg':function(_0x2fb990,_0x57ca64){return _0x2fb990===_0x57ca64;},'HcDgH':'function','YCabT':function(_0x50feaf,_0x31e6b6){return _0x50feaf<_0x31e6b6;},'mwEwY':function(_0x25b17c,_0x2f90c7){return _0x25b17c||_0x2f90c7;},'uforp':function(_0x282c62,_0x383271){return _0x282c62===_0x383271;},'xdpiv':function(_0x44d0dd,_0x34bd84){return _0x44d0dd-_0x34bd84;},'mjELp':_0xa008ac(0xe5),'sMRsJ':function(_0x42765f,_0x4cdb06,_0x5c5597){return _0x42765f(_0x4cdb06,_0x5c5597);},'mQWGm':function(_0x158e7f,_0x2daa72){return _0x158e7f===_0x2daa72;},'NOQuq':function(_0x2b88e7,_0x1bbccd){return _0x2b88e7(_0x1bbccd);},'dlXJW':function(_0x1924cf,_0x554a95){return _0x1924cf+_0x554a95;},'NvMxz':function(_0x351c4c,_0x470a3f){return _0x351c4c+_0x470a3f;},'hUrqg':function(_0x2f2e66,_0x3f9853){return _0x2f2e66(_0x3f9853);},'dqSEx':function(_0x544386,_0x353edb){return _0x544386(_0x353edb);},'BEItB':function(_0x30b187,_0x565e1b){return _0x30b187(_0x565e1b);}},_0x4dc095={'options':_0x5c295d['mwEwY'](_0x105569,{}),'fixtureStack':[],'currentTaskInfo':null},_0x45e8ef=_0x398e45=>async(..._0x512fd1)=>{const _0x34bcca=_0xa008ac;try{return await _0x5c295d[_0x34bcca(0xab)](_0x398e45,..._0x512fd1);}catch(_0x289743){logger[_0x34bcca(0xfe)](_0x34bcca(0xbf)+(_0x398e45[_0x34bcca(0xc7)]||_0x5c295d[_0x34bcca(0xc3)])+':\x20'+(_0x289743[_0x34bcca(0xfd)]||_0x289743));}};return{'reportTaskStart':_0x5c295d[_0xa008ac(0xcd)](_0x45e8ef,async function _0x4067ae(_0x579831,_0x97acc0,_0x204fb9,_0x4c212e,_0x4a85f9){const _0x36f74e=_0xa008ac,_0x18d64f={};_0x18d64f[_0x36f74e(0xfb)]=_0x579831,_0x18d64f[_0x36f74e(0xf6)]=_0x97acc0,_0x18d64f[_0x36f74e(0xe9)]=_0x204fb9,_0x18d64f['taskStructure']=_0x4c212e,_0x18d64f[_0x36f74e(0xb3)]=_0x4a85f9,_0x4dc095[_0x36f74e(0xd1)]=_0x18d64f,logger[_0x36f74e(0xf4)]('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x204fb9+_0x36f74e(0xdc)+_0x97acc0[_0x36f74e(0xef)]+_0x36f74e(0xbb)),TestInfo[_0x36f74e(0xc9)]&&TestInfo[_0x36f74e(0xc9)](_0x5c295d['wMkVo']);if(!BrowserstackCLI[_0x36f74e(0xcc)]()||!BrowserstackCLI['getInstance']()['isRunning']())return;const _0x2aa1b7=BrowserstackCLI['getInstance'](),_0x51cdf6=_0x2aa1b7[_0x36f74e(0xa4)]();if(_0x51cdf6&&_0x5c295d[_0x36f74e(0x100)](typeof _0x51cdf6['trackEvent'],_0x5c295d[_0x36f74e(0xf9)])){const _0x5f4880={};_0x5f4880['startTime']=_0x579831,_0x5f4880['userAgents']=_0x97acc0,_0x5f4880[_0x36f74e(0xe9)]=_0x204fb9,_0x5f4880[_0x36f74e(0xb4)]=_0x4c212e,await _0x51cdf6[_0x36f74e(0xf5)](TestFrameworkState['INIT_TEST'],HookState['PRE'],_0x5f4880);}const _0x33c17f=_0x2aa1b7[_0x36f74e(0xd2)](),_0x342a19=sessionRegistry['listEntries']();if(_0x33c17f&&_0x5c295d[_0x36f74e(0x100)](typeof _0x33c17f['trackEvent'],_0x5c295d['HcDgH']))for(let _0x22146d=0x0;_0x5c295d[_0x36f74e(0xee)](_0x22146d,(_0x97acc0||[])[_0x36f74e(0xef)]);_0x22146d++){const _0x5bc37f=_0x97acc0[_0x22146d],_0x3b0778=_0x342a19[_0x22146d]||{};await _0x33c17f[_0x36f74e(0xf5)](AutomationFrameworkState[_0x36f74e(0xda)],HookState[_0x36f74e(0xd6)],{'userAgent':_0x5bc37f,'startTime':_0x579831,'driver':_0x3b0778[_0x36f74e(0xbe)],'sessionId':_0x3b0778[_0x36f74e(0xb0)],'platformIndex':Number['isInteger'](_0x3b0778[_0x36f74e(0xe1)])?_0x3b0778['platformIndex']:_0x22146d,'capabilities':_0x3b0778[_0x36f74e(0xd0)]||{},'hubUrl':_0x3b0778[_0x36f74e(0xc0)]||''});}}),'reportFixtureStart':_0x5c295d[_0xa008ac(0xab)](_0x45e8ef,async function _0xf9085(_0x30a8a1,_0x529607,_0x52408b){const _0x122efa=_0xa008ac,_0x15ca82={'name':_0x30a8a1,'path':_0x529607,'meta':_0x5c295d['mwEwY'](_0x52408b,{})};_0x4dc095[_0x122efa(0xd9)][_0x122efa(0xe7)](_0x15ca82),logger[_0x122efa(0xe4)](_0x122efa(0xfc)+_0x30a8a1+'\x20@\x20'+_0x529607);if(BrowserstackCLI[_0x122efa(0xcc)]()&&BrowserstackCLI[_0x122efa(0xcc)]()[_0x122efa(0xd8)]()){const _0x587842=BrowserstackCLI[_0x122efa(0xcc)](),_0x353f29=_0x587842[_0x122efa(0xa4)]();if(_0x353f29&&_0x5c295d[_0x122efa(0xa2)](typeof _0x353f29['trackEvent'],_0x5c295d[_0x122efa(0xf9)])){const _0x52dacb=_0x4dc095[_0x122efa(0xd1)]&&_0x4dc095[_0x122efa(0xd1)][_0x122efa(0xf6)]||[],_0x26ee1a={'fixture':_0x15ca82,'fixtureIdentifier':_0x5c295d[_0x122efa(0xab)](getFixtureIdentifier,_0x15ca82),'userAgents':_0x52dacb};await _0x353f29['trackEvent'](TestFrameworkState[_0x122efa(0xaa)],HookState['PRE'],_0x26ee1a),await _0x353f29['trackEvent'](TestFrameworkState[_0x122efa(0xaa)],HookState[_0x122efa(0xd6)],_0x26ee1a);}}}),'reportTestStart':_0x5c295d[_0xa008ac(0xf2)](_0x45e8ef,async function _0x51cbed(_0x14ed9e,_0x460e12,_0x5c757c){const _0x318d62=_0xa008ac,_0x41fc5f=_0x4dc095[_0x318d62(0xd9)][_0x5c295d['xdpiv'](_0x4dc095['fixtureStack']['length'],0x1)]||{'name':_0x5c295d[_0x318d62(0xfa)],'path':_0x5c295d[_0x318d62(0xfa)]},_0x5283e6={};_0x5283e6[_0x318d62(0xde)]=_0x41fc5f['name'],_0x5283e6[_0x318d62(0xdb)]=_0x41fc5f[_0x318d62(0xca)],_0x5283e6[_0x318d62(0xdf)]=_0x14ed9e,_0x5283e6[_0x318d62(0xc5)]=_0x460e12;const _0xe97f95=_0x5c295d[_0x318d62(0xab)](synthesizeTestObject,_0x5283e6);logger[_0x318d62(0xe4)](_0x318d62(0xa3)+_0x5c295d[_0x318d62(0xe2)](getTestIdentifier,_0xe97f95,0x0));const _0x3dea5c=_0x4dc095[_0x318d62(0xd1)]&&_0x4dc095['currentTaskInfo'][_0x318d62(0xf6)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x318d62(0xcc)]()[_0x318d62(0xd8)]()){const _0x360ddc=BrowserstackCLI['getInstance'](),_0x1b7bba=_0x360ddc['getTestFramework']();if(_0x1b7bba&&_0x5c295d[_0x318d62(0xc4)](typeof _0x1b7bba['trackEvent'],_0x5c295d[_0x318d62(0xf9)])){const _0x102f9d={'fixture':_0x41fc5f,'test':_0xe97f95,'fixtureIdentifier':_0x5c295d[_0x318d62(0xab)](getFixtureIdentifier,_0x41fc5f),'userAgents':_0x3dea5c};await _0x1b7bba[_0x318d62(0xf5)](TestFrameworkState[_0x318d62(0xb5)],HookState[_0x318d62(0xa0)],_0x102f9d),await _0x1b7bba[_0x318d62(0xf5)](TestFrameworkState[_0x318d62(0xb5)],HookState['POST'],_0x102f9d);const _0x3e99b3={};_0x3e99b3['test']=_0xe97f95,_0x3e99b3[_0x318d62(0xf1)]=_0x5c757c,_0x3e99b3['meta']=_0x460e12,_0x3e99b3[_0x318d62(0xf6)]=_0x3dea5c,await _0x1b7bba[_0x318d62(0xf5)](TestFrameworkState[_0x318d62(0xa9)],HookState[_0x318d62(0xa0)],_0x3e99b3);}}}),'reportTestDone':_0x5c295d[_0xa008ac(0xb9)](_0x45e8ef,async function _0x4b392d(_0x22901e,_0x2cc498,_0x43bc30){const _0x324059=_0xa008ac,_0x3f1b5d=_0x4dc095[_0x324059(0xd9)][_0x5c295d['xdpiv'](_0x4dc095[_0x324059(0xd9)]['length'],0x1)]||{'name':_0x5c295d['mjELp'],'path':_0x5c295d[_0x324059(0xfa)]},_0x30655a={};_0x30655a['fixtureName']=_0x3f1b5d[_0x324059(0xc7)],_0x30655a[_0x324059(0xdb)]=_0x3f1b5d['path'],_0x30655a[_0x324059(0xdf)]=_0x22901e,_0x30655a[_0x324059(0xc5)]=_0x43bc30;const _0x37d729=_0x5c295d[_0x324059(0xab)](synthesizeTestObject,_0x30655a),_0x501de6=Array[_0x324059(0xe8)](_0x2cc498&&_0x2cc498[_0x324059(0xba)])?_0x2cc498[_0x324059(0xba)]['map'](formatError)['filter'](Boolean):[],_0x2ac201=_0x5c295d[_0x324059(0x101)](getScreenshotPaths,_0x2cc498)[_0x324059(0xad)](_0xe46e4c=>({'screenshotPath':_0xe46e4c})),_0x53ca05={};_0x53ca05[_0x324059(0xd7)]=_0x2cc498&&_0x2cc498[_0x324059(0xd7)]||0x0,_0x53ca05[_0x324059(0xe6)]=!!(_0x2cc498&&_0x2cc498[_0x324059(0xe6)]),_0x53ca05[_0x324059(0xba)]=_0x501de6,_0x53ca05[_0x324059(0xff)]=_0x2ac201,_0x53ca05[_0x324059(0xcb)]=!!(_0x2cc498&&_0x2cc498[_0x324059(0xcb)]),_0x53ca05[_0x324059(0xa1)]=_0x2cc498&&_0x2cc498[_0x324059(0xa1)];const _0x50dce6=_0x53ca05;logger['debug'](_0x324059(0xea)+_0x5c295d[_0x324059(0xe2)](getTestIdentifier,_0x37d729,0x0)+'\x20(errs='+_0x501de6[_0x324059(0xef)]+_0x324059(0xd5)+_0x50dce6[_0x324059(0xe6)]+')');const _0x27c82c=_0x4dc095[_0x324059(0xd1)]&&_0x4dc095[_0x324059(0xd1)][_0x324059(0xf6)]||[];if(BrowserstackCLI[_0x324059(0xcc)]()&&BrowserstackCLI[_0x324059(0xcc)]()[_0x324059(0xd8)]()){const _0x4d7e62=BrowserstackCLI[_0x324059(0xcc)](),_0x506d9c=_0x4d7e62['getTestFramework']();if(_0x506d9c&&_0x5c295d[_0x324059(0xa2)](typeof _0x506d9c[_0x324059(0xf5)],_0x5c295d['HcDgH'])){const _0x57d018={};_0x57d018[_0x324059(0xf7)]=_0x37d729,_0x57d018[_0x324059(0xbd)]=_0x50dce6,_0x57d018[_0x324059(0xc5)]=_0x43bc30,_0x57d018['userAgents']=_0x27c82c,await _0x506d9c[_0x324059(0xf5)](TestFrameworkState['TEST'],HookState[_0x324059(0xd6)],_0x57d018);const _0x464c06={'fixture':_0x3f1b5d,'test':_0x37d729,'fixtureIdentifier':_0x5c295d[_0x324059(0xab)](getFixtureIdentifier,_0x3f1b5d),'userAgents':_0x27c82c};await _0x506d9c[_0x324059(0xf5)](TestFrameworkState['AFTER_EACH'],HookState[_0x324059(0xa0)],_0x464c06),await _0x506d9c[_0x324059(0xf5)](TestFrameworkState[_0x324059(0xf8)],HookState['POST'],_0x464c06);}}}),'reportTaskDone':_0x5c295d[_0xa008ac(0xb9)](_0x45e8ef,async function _0x598e09(_0x526f75,_0x5daa08,_0x140bfb,_0x3a2129){const _0x40cef5=_0xa008ac;while(_0x4dc095[_0x40cef5(0xd9)][_0x40cef5(0xef)]){const _0x5878b9=_0x4dc095[_0x40cef5(0xd9)]['pop']();if(BrowserstackCLI[_0x40cef5(0xcc)]()&&BrowserstackCLI[_0x40cef5(0xcc)]()[_0x40cef5(0xd8)]()){const _0x2400c6=BrowserstackCLI[_0x40cef5(0xcc)](),_0x1970a=_0x2400c6[_0x40cef5(0xa4)]();if(_0x1970a&&_0x5c295d[_0x40cef5(0xc4)](typeof _0x1970a[_0x40cef5(0xf5)],_0x5c295d['HcDgH'])){const _0x17073a=_0x4dc095[_0x40cef5(0xd1)]&&_0x4dc095[_0x40cef5(0xd1)][_0x40cef5(0xf6)]||[],_0x397e16={'fixture':_0x5878b9,'fixtureIdentifier':_0x5c295d[_0x40cef5(0x101)](getFixtureIdentifier,_0x5878b9),'userAgents':_0x17073a};await _0x1970a[_0x40cef5(0xf5)](TestFrameworkState[_0x40cef5(0xd3)],HookState[_0x40cef5(0xa0)],_0x397e16),await _0x1970a[_0x40cef5(0xf5)](TestFrameworkState[_0x40cef5(0xd3)],HookState[_0x40cef5(0xd6)],_0x397e16);}}}if(BrowserstackCLI[_0x40cef5(0xcc)]()&&BrowserstackCLI[_0x40cef5(0xcc)]()[_0x40cef5(0xd8)]()){const _0x372fb8=BrowserstackCLI[_0x40cef5(0xcc)](),_0x15cb6e=_0x372fb8[_0x40cef5(0xd2)]();if(_0x15cb6e&&_0x5c295d[_0x40cef5(0xc4)](typeof _0x15cb6e[_0x40cef5(0xf5)],_0x5c295d['HcDgH']))for(const {userAgent:_0x56067f,platformIndex:_0x43a91c,instance:_0x3d51aa}of TestCafeAutomationFramework['iterAllInstances']()){try{const _0x10b408={};_0x10b408['userAgent']=_0x56067f,_0x10b408[_0x40cef5(0xe1)]=_0x43a91c,_0x10b408[_0x40cef5(0xec)]=_0x526f75,_0x10b408[_0x40cef5(0xb8)]=_0x3d51aa,await _0x15cb6e[_0x40cef5(0xf5)](AutomationFrameworkState[_0x40cef5(0xeb)],HookState['POST'],_0x10b408);}catch(_0x3d1f69){logger[_0x40cef5(0xfe)](_0x40cef5(0xe3)+_0x56067f+'#'+_0x43a91c+':\x20'+_0x3d1f69['message']);}TestCafeAutomationFramework[_0x40cef5(0xe0)](_0x56067f,_0x43a91c);}}logger[_0x40cef5(0xf4)]('[testcafe-reporter]\x20reportTaskDone:\x20passed='+_0x5daa08+_0x40cef5(0xb6)+(_0x140bfb&&_0x140bfb[_0x40cef5(0xef)])+'\x20totalDuration='+(_0x3a2129&&_0x5c295d[_0x40cef5(0xed)](_0x5c295d[_0x40cef5(0x9f)](_0x3a2129['failedCount'],_0x3a2129[_0x40cef5(0xa8)]),_0x3a2129[_0x40cef5(0xbc)])));})};};
|
|
1
|
+
'use strict';function a66_0xc1fb(_0x3bbb38,_0x520244){const _0x1df95f=a66_0x1df9();return a66_0xc1fb=function(_0xc1fb5c,_0x5c6022){_0xc1fb5c=_0xc1fb5c-0x75;let _0x2e2291=_0x1df95f[_0xc1fb5c];return _0x2e2291;},a66_0xc1fb(_0x3bbb38,_0x520244);}const a66_0x37c681=a66_0xc1fb;(function(_0x5999f2,_0x10e6cc){const _0x2b636=a66_0xc1fb,_0x45807b=_0x5999f2();while(!![]){try{const _0x451cc2=-parseInt(_0x2b636(0x97))/0x1*(-parseInt(_0x2b636(0xba))/0x2)+-parseInt(_0x2b636(0x82))/0x3+parseInt(_0x2b636(0xd6))/0x4*(-parseInt(_0x2b636(0x99))/0x5)+parseInt(_0x2b636(0x7a))/0x6+parseInt(_0x2b636(0xa4))/0x7+-parseInt(_0x2b636(0xdb))/0x8+parseInt(_0x2b636(0x88))/0x9;if(_0x451cc2===_0x10e6cc)break;else _0x45807b['push'](_0x45807b['shift']());}catch(_0x4c28e0){_0x45807b['push'](_0x45807b['shift']());}}}(a66_0x1df9,0x7393e));function a66_0x1df9(){const _0x4e0d56=['name','pop','currentTaskInfo','platformIndex','INIT_TEST','errs','546126NNFvrZ','NZjRS','\x20tests\x20across\x20','length','[testcafe-reporter]\x20reportTestStart:\x20','taskStructure','../../v2/framework/automationFramework','wyOvs','isRunning','testRunInfo','\x20(errs=','getTestFramework','endTime','info','YNJBu','qnINM','sessionId','isInteger','POST','../../v2/state/testFrameworkState','userAgent','path','26TGnwJY','../../v2/state/hookState','BEFORE_ALL','UQalm','JQJvo','setup','capabilities','vssRw','kaFrz','durationMs','\x20@\x20','listEntries','CREATE','BlPOy','userAgents','fixtureStack','properties','[testcafe-reporter]\x20reportTaskStart:\x20','skipped','hcUYm','lVDXd','screenshots','testName','fixturePath','failedCount','getInstance','isArray','oqXOp','47004PCaokh','trackEvent','skippedCount','instance','AFTER_ALL','4223104fXCbqE','testCount','unstable','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','handler','[testcafe-reporter]\x20reportFixtureStart:\x20','unknown','debug','[testcafe-reporter]\x20reportTestDone:\x20','removeInstance','fTTOc','passedCount','stack','quarantine','2142804XRgYmM','BEFORE_EACH','map','fDGge','push','meta','rjAbN',',\x20skipped=','2686050RHDAqr','QUIT','../../../helpers/logger','testStartInfo','winstonLogger','startTime','7965639ffLeBA','ihgJO','testcafe','../../v2/browserstackCLI','EOEMH','iterAllInstances','message','error','../../v2/TestInfo','function','filter','PRE','../../v2/framework/testcafeAutomationFramework','../../v2/state/automationFrameworkState','qJSHp','45244rnXJsi','AFTER_EACH','5ruGzMO','getAutomationFramework','lofHB','JOPcP','test'];a66_0x1df9=function(){return _0x4e0d56;};return a66_0x1df9();}const path=require(a66_0x37c681(0xb9)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require('./tcUtils'),logger=require(a66_0x37c681(0x84))[a66_0x37c681(0x86)],BrowserstackCLI=require(a66_0x37c681(0x8b)),TestFrameworkState=require(a66_0x37c681(0xb7)),AutomationFrameworkState=require(a66_0x37c681(0x95)),HookState=require(a66_0x37c681(0xbb)),TestInfo=require(a66_0x37c681(0x90)),AutomationFramework=require(a66_0x37c681(0xaa)),TestCafeAutomationFramework=require(a66_0x37c681(0x94)),sessionRegistry=require('../session-registry');module['exports']=function(_0xea4c5d){const _0x3fd243=a66_0x37c681,_0x86d418={'YNJBu':function(_0x55b68a,..._0x1655ac){return _0x55b68a(..._0x1655ac);},'BlPOy':_0x3fd243(0xdf),'qJSHp':_0x3fd243(0x8a),'fDGge':function(_0x48f07b,_0xce83c0){return _0x48f07b===_0xce83c0;},'hcUYm':_0x3fd243(0x91),'lVDXd':function(_0x56e674,_0x34670f){return _0x56e674<_0x34670f;},'DcSmH':function(_0x399c60,_0x21bc17){return _0x399c60||_0x21bc17;},'JQJvo':function(_0x15887b,_0x4123ae){return _0x15887b-_0x4123ae;},'kaFrz':_0x3fd243(0xe1),'lofHB':function(_0x4d2a59,_0x532a5c,_0x24c565){return _0x4d2a59(_0x532a5c,_0x24c565);},'wyOvs':function(_0x52af4d,_0x59dea7){return _0x52af4d===_0x59dea7;},'fTTOc':function(_0x4ede57,_0x1508f3){return _0x4ede57(_0x1508f3);},'ihgJO':function(_0x1cff5c,_0x3228a){return _0x1cff5c-_0x3228a;},'oqXOp':function(_0x1e3b26,_0x2d987b){return _0x1e3b26(_0x2d987b);},'rjAbN':function(_0x25e4de,_0x4b0bb6){return _0x25e4de===_0x4b0bb6;},'vssRw':function(_0x414ce1,_0x99e206){return _0x414ce1===_0x99e206;},'JOPcP':function(_0x22cc60,_0x5050e0){return _0x22cc60+_0x5050e0;},'NZjRS':function(_0x125348,_0x17d9d9){return _0x125348||_0x17d9d9;},'qnINM':function(_0x12aa9d,_0x4ca1a8){return _0x12aa9d(_0x4ca1a8);},'EOEMH':function(_0x35fd59,_0x11ba43){return _0x35fd59(_0x11ba43);},'UQalm':function(_0x242973,_0x57b427){return _0x242973(_0x57b427);},'ozeUT':function(_0x556e91,_0x4b5191){return _0x556e91(_0x4b5191);}},_0x34bd61={'options':_0x86d418[_0x3fd243(0xa5)](_0xea4c5d,{}),'fixtureStack':[],'currentTaskInfo':null},_0x2a6ce0=_0x51530f=>async(..._0x46abc)=>{const _0x3e0059=_0x3fd243;try{return await _0x86d418['YNJBu'](_0x51530f,..._0x46abc);}catch(_0x599725){logger['error']('[testcafe-reporter]\x20swallowed\x20error\x20in\x20'+(_0x51530f[_0x3e0059(0x9e)]||_0x86d418[_0x3e0059(0xc7)])+':\x20'+(_0x599725[_0x3e0059(0x78)]||_0x599725));}};return{'reportTaskStart':_0x86d418[_0x3fd243(0xb3)](_0x2a6ce0,async function _0x1e01a6(_0x9ec75,_0x3a534b,_0x279010,_0x12316c,_0x530df2){const _0x105363=_0x3fd243,_0x411654={};_0x411654[_0x105363(0x87)]=_0x9ec75,_0x411654[_0x105363(0xc8)]=_0x3a534b,_0x411654[_0x105363(0xdc)]=_0x279010,_0x411654[_0x105363(0xa9)]=_0x12316c,_0x411654[_0x105363(0xca)]=_0x530df2,_0x34bd61['currentTaskInfo']=_0x411654,logger['info'](_0x105363(0xcb)+_0x279010+_0x105363(0xa6)+_0x3a534b['length']+'\x20browsers'),TestInfo['setup']&&TestInfo[_0x105363(0xbf)](_0x86d418[_0x105363(0x96)]);if(!BrowserstackCLI[_0x105363(0xd3)]()||!BrowserstackCLI[_0x105363(0xd3)]()[_0x105363(0xac)]())return;const _0x45ed3e=BrowserstackCLI[_0x105363(0xd3)](),_0x318b5b=_0x45ed3e[_0x105363(0xaf)]();if(_0x318b5b&&_0x86d418[_0x105363(0x7d)](typeof _0x318b5b[_0x105363(0xd7)],_0x86d418[_0x105363(0xcd)])){const _0xbf4918={};_0xbf4918[_0x105363(0x87)]=_0x9ec75,_0xbf4918[_0x105363(0xc8)]=_0x3a534b,_0xbf4918[_0x105363(0xdc)]=_0x279010,_0xbf4918[_0x105363(0xa9)]=_0x12316c,await _0x318b5b[_0x105363(0xd7)](TestFrameworkState[_0x105363(0xa2)],HookState[_0x105363(0x93)],_0xbf4918);}const _0xff13ea=_0x45ed3e[_0x105363(0x9a)](),_0x17642e=sessionRegistry[_0x105363(0xc5)]();if(_0xff13ea&&_0x86d418[_0x105363(0x7d)](typeof _0xff13ea[_0x105363(0xd7)],_0x86d418['hcUYm']))for(let _0x403c1b=0x0;_0x86d418[_0x105363(0xce)](_0x403c1b,(_0x3a534b||[])['length']);_0x403c1b++){const _0x1bebd9=_0x3a534b[_0x403c1b],_0x9338bd=_0x17642e[_0x403c1b]||{};await _0xff13ea[_0x105363(0xd7)](AutomationFrameworkState[_0x105363(0xc6)],HookState['POST'],{'userAgent':_0x1bebd9,'startTime':_0x9ec75,'driver':_0x9338bd['driver'],'sessionId':_0x9338bd[_0x105363(0xb4)],'platformIndex':Number[_0x105363(0xb5)](_0x9338bd[_0x105363(0xa1)])?_0x9338bd[_0x105363(0xa1)]:_0x403c1b,'capabilities':_0x9338bd[_0x105363(0xc0)]||{},'hubUrl':_0x9338bd['hubUrl']||''});}}),'reportFixtureStart':_0x86d418[_0x3fd243(0x8c)](_0x2a6ce0,async function _0x312bf6(_0x27269e,_0x4c0265,_0x1af59c){const _0x3ad115=_0x3fd243,_0x38fe26={'name':_0x27269e,'path':_0x4c0265,'meta':_0x86d418['DcSmH'](_0x1af59c,{})};_0x34bd61[_0x3ad115(0xc9)][_0x3ad115(0x7e)](_0x38fe26),logger[_0x3ad115(0xe2)](_0x3ad115(0xe0)+_0x27269e+_0x3ad115(0xc4)+_0x4c0265);if(BrowserstackCLI[_0x3ad115(0xd3)]()&&BrowserstackCLI[_0x3ad115(0xd3)]()[_0x3ad115(0xac)]()){const _0x2e1bb2=BrowserstackCLI[_0x3ad115(0xd3)](),_0x402795=_0x2e1bb2[_0x3ad115(0xaf)]();if(_0x402795&&_0x86d418[_0x3ad115(0x7d)](typeof _0x402795[_0x3ad115(0xd7)],_0x86d418[_0x3ad115(0xcd)])){const _0x1d1498=_0x34bd61[_0x3ad115(0xa0)]&&_0x34bd61[_0x3ad115(0xa0)][_0x3ad115(0xc8)]||[],_0x511e90={'fixture':_0x38fe26,'fixtureIdentifier':_0x86d418[_0x3ad115(0xb2)](getFixtureIdentifier,_0x38fe26),'userAgents':_0x1d1498};await _0x402795[_0x3ad115(0xd7)](TestFrameworkState[_0x3ad115(0xbc)],HookState[_0x3ad115(0x93)],_0x511e90),await _0x402795[_0x3ad115(0xd7)](TestFrameworkState[_0x3ad115(0xbc)],HookState[_0x3ad115(0xb6)],_0x511e90);}}}),'reportTestStart':_0x86d418['qnINM'](_0x2a6ce0,async function _0x121e92(_0x4e6adf,_0x5ecb68,_0x2af285){const _0x4032ba=_0x3fd243,_0x456286=_0x34bd61['fixtureStack'][_0x86d418[_0x4032ba(0xbe)](_0x34bd61[_0x4032ba(0xc9)][_0x4032ba(0xa7)],0x1)]||{'name':_0x86d418[_0x4032ba(0xc2)],'path':_0x86d418[_0x4032ba(0xc2)]},_0x44f7a1={};_0x44f7a1['fixtureName']=_0x456286[_0x4032ba(0x9e)],_0x44f7a1[_0x4032ba(0xd1)]=_0x456286[_0x4032ba(0xb9)],_0x44f7a1[_0x4032ba(0xd0)]=_0x4e6adf,_0x44f7a1[_0x4032ba(0x7f)]=_0x5ecb68;const _0x44e871=_0x86d418[_0x4032ba(0xb2)](synthesizeTestObject,_0x44f7a1);logger[_0x4032ba(0xe2)](_0x4032ba(0xa8)+_0x86d418[_0x4032ba(0x9b)](getTestIdentifier,_0x44e871,0x0));const _0x324121=_0x34bd61['currentTaskInfo']&&_0x34bd61[_0x4032ba(0xa0)][_0x4032ba(0xc8)]||[];if(BrowserstackCLI[_0x4032ba(0xd3)]()&&BrowserstackCLI[_0x4032ba(0xd3)]()['isRunning']()){const _0x209063=BrowserstackCLI[_0x4032ba(0xd3)](),_0x3ef7cb=_0x209063['getTestFramework']();if(_0x3ef7cb&&_0x86d418[_0x4032ba(0xab)](typeof _0x3ef7cb[_0x4032ba(0xd7)],_0x86d418['hcUYm'])){const _0x181a80={'fixture':_0x456286,'test':_0x44e871,'fixtureIdentifier':_0x86d418['fTTOc'](getFixtureIdentifier,_0x456286),'userAgents':_0x324121};await _0x3ef7cb[_0x4032ba(0xd7)](TestFrameworkState[_0x4032ba(0x7b)],HookState[_0x4032ba(0x93)],_0x181a80),await _0x3ef7cb['trackEvent'](TestFrameworkState['BEFORE_EACH'],HookState[_0x4032ba(0xb6)],_0x181a80);const _0x4d5029={};_0x4d5029[_0x4032ba(0x9d)]=_0x44e871,_0x4d5029[_0x4032ba(0x85)]=_0x2af285,_0x4d5029[_0x4032ba(0x7f)]=_0x5ecb68,_0x4d5029[_0x4032ba(0xc8)]=_0x324121,await _0x3ef7cb[_0x4032ba(0xd7)](TestFrameworkState['TEST'],HookState[_0x4032ba(0x93)],_0x4d5029);}}}),'reportTestDone':_0x86d418[_0x3fd243(0xbd)](_0x2a6ce0,async function _0x17adea(_0x20e305,_0x3d050c,_0x533d73){const _0x107605=_0x3fd243,_0x4e0e26=_0x34bd61[_0x107605(0xc9)][_0x86d418[_0x107605(0x89)](_0x34bd61[_0x107605(0xc9)][_0x107605(0xa7)],0x1)]||{'name':_0x86d418[_0x107605(0xc2)],'path':_0x86d418[_0x107605(0xc2)]},_0x2120df={};_0x2120df['fixtureName']=_0x4e0e26['name'],_0x2120df['fixturePath']=_0x4e0e26[_0x107605(0xb9)],_0x2120df[_0x107605(0xd0)]=_0x20e305,_0x2120df[_0x107605(0x7f)]=_0x533d73;const _0x266b4f=_0x86d418[_0x107605(0xd5)](synthesizeTestObject,_0x2120df),_0x1103db=Array[_0x107605(0xd4)](_0x3d050c&&_0x3d050c[_0x107605(0xa3)])?_0x3d050c[_0x107605(0xa3)][_0x107605(0x7c)](formatError)[_0x107605(0x92)](Boolean):[],_0x5da800=_0x86d418['fTTOc'](getScreenshotPaths,_0x3d050c)[_0x107605(0x7c)](_0x44ec0e=>({'screenshotPath':_0x44ec0e})),_0x5d68cb={};_0x5d68cb[_0x107605(0xc3)]=_0x3d050c&&_0x3d050c[_0x107605(0xc3)]||0x0,_0x5d68cb[_0x107605(0xcc)]=!!(_0x3d050c&&_0x3d050c[_0x107605(0xcc)]),_0x5d68cb[_0x107605(0xa3)]=_0x1103db,_0x5d68cb[_0x107605(0xcf)]=_0x5da800,_0x5d68cb[_0x107605(0xdd)]=!!(_0x3d050c&&_0x3d050c['unstable']),_0x5d68cb[_0x107605(0x79)]=_0x3d050c&&_0x3d050c[_0x107605(0x79)];const _0x1336e0=_0x5d68cb;logger[_0x107605(0xe2)](_0x107605(0xe3)+_0x86d418[_0x107605(0x9b)](getTestIdentifier,_0x266b4f,0x0)+_0x107605(0xae)+_0x1103db[_0x107605(0xa7)]+_0x107605(0x81)+_0x1336e0[_0x107605(0xcc)]+')');const _0x4023dc=_0x34bd61[_0x107605(0xa0)]&&_0x34bd61[_0x107605(0xa0)][_0x107605(0xc8)]||[];if(BrowserstackCLI[_0x107605(0xd3)]()&&BrowserstackCLI['getInstance']()['isRunning']()){const _0x15e431=BrowserstackCLI['getInstance'](),_0x3e1698=_0x15e431['getTestFramework']();if(_0x3e1698&&_0x86d418[_0x107605(0x80)](typeof _0x3e1698['trackEvent'],_0x86d418[_0x107605(0xcd)])){const _0x3a9b5c={};_0x3a9b5c[_0x107605(0x9d)]=_0x266b4f,_0x3a9b5c[_0x107605(0xad)]=_0x1336e0,_0x3a9b5c[_0x107605(0x7f)]=_0x533d73,_0x3a9b5c[_0x107605(0xc8)]=_0x4023dc,await _0x3e1698['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x3a9b5c);const _0x656be0={'fixture':_0x4e0e26,'test':_0x266b4f,'fixtureIdentifier':_0x86d418[_0x107605(0x76)](getFixtureIdentifier,_0x4e0e26),'userAgents':_0x4023dc};await _0x3e1698[_0x107605(0xd7)](TestFrameworkState[_0x107605(0x98)],HookState[_0x107605(0x93)],_0x656be0),await _0x3e1698[_0x107605(0xd7)](TestFrameworkState[_0x107605(0x98)],HookState[_0x107605(0xb6)],_0x656be0);}}}),'reportTaskDone':_0x86d418['ozeUT'](_0x2a6ce0,async function _0x14c677(_0x5d8124,_0x31fdf7,_0x419ff6,_0x3a70f8){const _0x2ebbc1=_0x3fd243;while(_0x34bd61[_0x2ebbc1(0xc9)][_0x2ebbc1(0xa7)]){const _0xfa05b9=_0x34bd61[_0x2ebbc1(0xc9)][_0x2ebbc1(0x9f)]();if(BrowserstackCLI[_0x2ebbc1(0xd3)]()&&BrowserstackCLI[_0x2ebbc1(0xd3)]()['isRunning']()){const _0x46d772=BrowserstackCLI['getInstance'](),_0x3b48e4=_0x46d772[_0x2ebbc1(0xaf)]();if(_0x3b48e4&&_0x86d418[_0x2ebbc1(0xc1)](typeof _0x3b48e4[_0x2ebbc1(0xd7)],_0x86d418[_0x2ebbc1(0xcd)])){const _0x3c909a=_0x34bd61[_0x2ebbc1(0xa0)]&&_0x34bd61[_0x2ebbc1(0xa0)]['userAgents']||[],_0x2daa45={'fixture':_0xfa05b9,'fixtureIdentifier':_0x86d418[_0x2ebbc1(0x76)](getFixtureIdentifier,_0xfa05b9),'userAgents':_0x3c909a};await _0x3b48e4['trackEvent'](TestFrameworkState['AFTER_ALL'],HookState[_0x2ebbc1(0x93)],_0x2daa45),await _0x3b48e4[_0x2ebbc1(0xd7)](TestFrameworkState[_0x2ebbc1(0xda)],HookState['POST'],_0x2daa45);}}}if(BrowserstackCLI[_0x2ebbc1(0xd3)]()&&BrowserstackCLI[_0x2ebbc1(0xd3)]()[_0x2ebbc1(0xac)]()){const _0x172e83=BrowserstackCLI['getInstance'](),_0x2efe8d=_0x172e83['getAutomationFramework']();if(_0x2efe8d&&_0x86d418[_0x2ebbc1(0xc1)](typeof _0x2efe8d[_0x2ebbc1(0xd7)],_0x86d418[_0x2ebbc1(0xcd)]))for(const {userAgent:_0x4527fb,platformIndex:_0x3e2132,instance:_0x55f194}of TestCafeAutomationFramework[_0x2ebbc1(0x8d)]()){try{const _0x5842a0={};_0x5842a0[_0x2ebbc1(0xb8)]=_0x4527fb,_0x5842a0[_0x2ebbc1(0xa1)]=_0x3e2132,_0x5842a0[_0x2ebbc1(0xb0)]=_0x5d8124,_0x5842a0[_0x2ebbc1(0xd9)]=_0x55f194,await _0x2efe8d[_0x2ebbc1(0xd7)](AutomationFrameworkState[_0x2ebbc1(0x83)],HookState['POST'],_0x5842a0);}catch(_0x345d32){logger[_0x2ebbc1(0x8f)](_0x2ebbc1(0xde)+_0x4527fb+'#'+_0x3e2132+':\x20'+_0x345d32[_0x2ebbc1(0x8e)]);}TestCafeAutomationFramework[_0x2ebbc1(0x75)](_0x4527fb,_0x3e2132);}}logger[_0x2ebbc1(0xb1)]('[testcafe-reporter]\x20reportTaskDone:\x20passed='+_0x31fdf7+'\x20warnings='+(_0x419ff6&&_0x419ff6['length'])+'\x20totalDuration='+(_0x3a70f8&&_0x86d418[_0x2ebbc1(0x9c)](_0x86d418[_0x2ebbc1(0x9c)](_0x3a70f8[_0x2ebbc1(0xd2)],_0x3a70f8[_0x2ebbc1(0x77)]),_0x3a70f8[_0x2ebbc1(0xd8)])));})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a67_0x4dbe2c=a67_0x126e;(function(_0x4b1aa3,_0x5c3ba1){const _0x2ce817=a67_0x126e,_0x20e309=_0x4b1aa3();while(!![]){try{const _0x48addd=parseInt(_0x2ce817(0x137))/0x1*(-parseInt(_0x2ce817(0x136))/0x2)+parseInt(_0x2ce817(0x144))/0x3*(parseInt(_0x2ce817(0x14a))/0x4)+-parseInt(_0x2ce817(0x145))/0x5*(-parseInt(_0x2ce817(0x146))/0x6)+-parseInt(_0x2ce817(0x138))/0x7*(-parseInt(_0x2ce817(0x14e))/0x8)+parseInt(_0x2ce817(0x12a))/0x9*(-parseInt(_0x2ce817(0x129))/0xa)+-parseInt(_0x2ce817(0x12e))/0xb+parseInt(_0x2ce817(0x143))/0xc;if(_0x48addd===_0x5c3ba1)break;else _0x20e309['push'](_0x20e309['shift']());}catch(_0x14d1bb){_0x20e309['push'](_0x20e309['shift']());}}}(a67_0x2fee,0x1bfe0));function a67_0x2fee(){const _0x3db9ec=['formatError','uwXWo','1020mMBiNV','XlRnw','code','stackFilter','568rUXxSu','10dIHrsF','1256301xNOqlT','exports','filter','::retry','2012560kxlxzf','unknown','map','TestCafeError','HXxrl','name','LTJVF','callsite','2EXRyQB','138084DOyRgu','1834LSOMQb','path','uHOES','formattedMessage','screenshots','renderSync','screenshotPath','errMsg','TvNyQ','getScreenshotPaths','fixture','3452556coJmPx','2514dvtIxs','15MgVrfG','110568LKbTJw','xrKqA'];a67_0x2fee=function(){return _0x3db9ec;};return a67_0x2fee();}function getTestIdentifier(_0x3cf38b,_0x213944){const _0x44b224=a67_0x126e,_0x13bff4={};_0x13bff4['xrKqA']='unknown';const _0x30541b=_0x13bff4,_0x3854c5=_0x3cf38b&&_0x3cf38b[_0x44b224(0x142)]&&_0x3cf38b['fixture'][_0x44b224(0x139)]||_0x30541b[_0x44b224(0x147)],_0x185059=_0x3cf38b&&_0x3cf38b[_0x44b224(0x142)]&&_0x3cf38b[_0x44b224(0x142)][_0x44b224(0x133)]||_0x30541b['xrKqA'],_0x5abd0f=_0x3cf38b&&_0x3cf38b[_0x44b224(0x133)]||_0x30541b[_0x44b224(0x147)],_0x58e5ad=_0x3854c5+'::'+_0x185059+'::'+_0x5abd0f;return _0x213944?_0x58e5ad+_0x44b224(0x12d)+_0x213944:_0x58e5ad;}function getFixtureIdentifier(_0x424ac1){const _0x585347=a67_0x126e,_0x2e4f3d={};_0x2e4f3d[_0x585347(0x14b)]=_0x585347(0x12f);const _0x4394cd=_0x2e4f3d,_0x49908f=_0x424ac1&&_0x424ac1[_0x585347(0x139)]||_0x4394cd[_0x585347(0x14b)],_0x38ce7e=_0x424ac1&&_0x424ac1[_0x585347(0x133)]||_0x4394cd['XlRnw'];return _0x49908f+'::'+_0x38ce7e;}function synthesizeTestObject({fixtureName:_0x4fecb9,fixturePath:_0x442f6e,testName:_0x6ceb3f,meta:_0x4f45bc}){const _0x57bc20=a67_0x126e,_0x1610fb={};_0x1610fb['HXxrl']=function(_0x572aee,_0x58b998){return _0x572aee||_0x58b998;};const _0x1fb616=_0x1610fb,_0x161fef={};return _0x161fef[_0x57bc20(0x133)]=_0x4fecb9,_0x161fef[_0x57bc20(0x139)]=_0x442f6e,{'name':_0x6ceb3f,'meta':_0x1fb616[_0x57bc20(0x132)](_0x4f45bc,{}),'fixture':_0x161fef};}function getScreenshotPaths(_0x3cbf36){const _0x33b971=a67_0x126e;if(!_0x3cbf36||!Array['isArray'](_0x3cbf36[_0x33b971(0x13c)]))return[];return _0x3cbf36[_0x33b971(0x13c)][_0x33b971(0x130)](_0x369722=>_0x369722&&(_0x369722[_0x33b971(0x13e)]||_0x369722['screenshotPathForPDF'])||null)[_0x33b971(0x12c)](Boolean);}function a67_0x126e(_0x28e38d,_0x39195c){const _0x2fee4e=a67_0x2fee();return a67_0x126e=function(_0x126e77,_0x34ac66){_0x126e77=_0x126e77-0x129;let _0x2ff62d=_0x2fee4e[_0x126e77];return _0x2ff62d;},a67_0x126e(_0x28e38d,_0x39195c);}function formatError(_0x139beb){const _0x4d72cd=a67_0x126e,_0x2d8d37={'uHOES':_0x4d72cd(0x131),'uwXWo':function(_0x477578,_0x23f947){return _0x477578(_0x23f947);},'MmnOD':function(_0x120c23,_0x59ff03){return _0x120c23(_0x59ff03);}};if(!_0x139beb)return null;return{'type':_0x139beb[_0x4d72cd(0x14c)]||_0x2d8d37[_0x4d72cd(0x13a)],'message':_0x139beb[_0x4d72cd(0x13b)]||_0x139beb[_0x4d72cd(0x13f)]||_0x2d8d37[_0x4d72cd(0x149)](String,_0x139beb),'stack':_0x2d8d37['MmnOD'](_tryRenderCallsite,_0x139beb)};}function _tryRenderCallsite(_0x3d0c30){const _0x450bb1=a67_0x126e,_0x5625e4={};_0x5625e4[_0x450bb1(0x134)]=function(_0x2357a7,_0x46deaa){return _0x2357a7===_0x46deaa;},_0x5625e4[_0x450bb1(0x140)]='function';const _0x2cd785=_0x5625e4;try{if(_0x3d0c30&&_0x3d0c30[_0x450bb1(0x135)]&&_0x2cd785[_0x450bb1(0x134)](typeof _0x3d0c30[_0x450bb1(0x135)][_0x450bb1(0x13d)],_0x2cd785['TvNyQ'])){const _0xc802a3={};return _0xc802a3[_0x450bb1(0x14d)]=()=>!![],_0x3d0c30[_0x450bb1(0x135)][_0x450bb1(0x13d)](_0xc802a3);}}catch(_0x262def){}return'';}const a67_0x349a8a={};a67_0x349a8a['getTestIdentifier']=getTestIdentifier,a67_0x349a8a['getFixtureIdentifier']=getFixtureIdentifier,a67_0x349a8a['synthesizeTestObject']=synthesizeTestObject,a67_0x349a8a[a67_0x4dbe2c(0x141)]=getScreenshotPaths,a67_0x349a8a[a67_0x4dbe2c(0x148)]=formatError,module[a67_0x4dbe2c(0x12b)]=a67_0x349a8a;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a68_0xd8caab=a68_0x1a21;function a68_0x350e(){const _0x10336e=['9055490UmAZet','gSdgA','message','BAuoN','\x20for\x20','rMrke','QWtzL','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','quit','nByNf','jLSft','sessionId','[session-registry]\x20REST\x20setSessionStatus(','reason','../utils/constants','info','1597401SgLCkH','39332zPwsKs','password',')\x20OK\x20for\x20','got','setSessionStatus','11544rnakfg','body','function','warn','throwHttpErrors','status','rWqWx','listEntries','326huXHLl','PQNlj','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','test','[session-registry]\x20executeScript\x20setSessionStatus(','[session-registry]\x20REST\x20mark\x20HTTP\x20','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','statusCode','put','6dhyfEq','27070WjghfD','trim','\x20(will\x20retry\x20via\x20REST):\x20','3300zkomUf','username','DXHIE','FNXqj','5695277IXmPAX','arguments','env','json','56719dZzVNy','qUbRA','vBYYX','stringify','responseType','/automate/sessions/','replace','93EBcbtJ','register','browserstack_executor:\x20','executeScript','DRerc','timeout','BROWSERSTACK_USERNAME','slice','exports','[session-registry]\x20REST\x20mark\x20failed\x20for\x20','48NyLLPU','429uYepCF','request','hubUrl','driver','.json','failed','../../helpers/logger'];a68_0x350e=function(){return _0x10336e;};return a68_0x350e();}(function(_0x2ce48d,_0x5b053f){const _0x9b318f=a68_0x1a21,_0x164ce4=_0x2ce48d();while(!![]){try{const _0x1e1789=-parseInt(_0x9b318f(0x1fb))/0x1*(-parseInt(_0x9b318f(0x1f3))/0x2)+-parseInt(_0x9b318f(0x217))/0x3*(-parseInt(_0x9b318f(0x23a))/0x4)+-parseInt(_0x9b318f(0x229))/0x5+-parseInt(_0x9b318f(0x204))/0x6*(-parseInt(_0x9b318f(0x20c))/0x7)+-parseInt(_0x9b318f(0x221))/0x8*(-parseInt(_0x9b318f(0x239))/0x9)+-parseInt(_0x9b318f(0x205))/0xa*(parseInt(_0x9b318f(0x222))/0xb)+parseInt(_0x9b318f(0x208))/0xc*(-parseInt(_0x9b318f(0x210))/0xd);if(_0x1e1789===_0x5b053f)break;else _0x164ce4['push'](_0x164ce4['shift']());}catch(_0x2be960){_0x164ce4['push'](_0x164ce4['shift']());}}}(a68_0x350e,0xe7940));const got=require(a68_0xd8caab(0x23d)),logger=require(a68_0xd8caab(0x228))['winstonLogger'],{BROWSERSTACK_API_URL}=require(a68_0xd8caab(0x237)),_entries=[];function register(_0x391d12){const _0x141673=a68_0xd8caab,_0x54988a={};_0x54988a[_0x141673(0x212)]=_0x141673(0x227),_0x54988a[_0x141673(0x211)]=_0x141673(0x201);const _0x55b343=_0x54988a,_0x4722a7={'status':_0x55b343['vBYYX'],'reason':_0x55b343['qUbRA'],..._0x391d12};_entries['push'](_0x4722a7);}function listEntries(){return _entries['slice']();}function markStatus(_0x2a1d1a,_0x4420fc,_0x5d685e){const _0xbaf5e5=a68_0xd8caab,_0x29d0a4={};_0x29d0a4['FNXqj']=function(_0x91be1f,_0xbef257){return _0x91be1f===_0xbef257;};const _0x55a9d9=_0x29d0a4;for(const _0x1a4efc of _entries){if(_0x55a9d9[_0xbaf5e5(0x20b)](_0x1a4efc['platformIndex'],_0x2a1d1a))return _0x1a4efc[_0xbaf5e5(0x1f8)]=_0x4420fc,_0x5d685e&&(_0x1a4efc[_0xbaf5e5(0x236)]=_0x5d685e),!![];}return![];}function a68_0x1a21(_0x12c50a,_0xd30622){const _0x350ecd=a68_0x350e();return a68_0x1a21=function(_0x1a2126,_0x3745b5){_0x1a2126=_0x1a2126-0x1f3;let _0x109096=_0x350ecd[_0x1a2126];return _0x109096;},a68_0x1a21(_0x12c50a,_0xd30622);}function _resolveCreds(_0x19cf0b){const _0x3ff8e1=a68_0xd8caab,_0x1802be={'uGQBa':function(_0x296aae,_0x4bc011){return _0x296aae(_0x4bc011);},'gSdgA':function(_0x2cb36c,_0x698550){return _0x2cb36c(_0x698550);}};try{if(_0x19cf0b){const _0x3f25e4=_0x1802be['uGQBa'](String,_0x19cf0b)[_0x3ff8e1(0x206)](),_0x5c3001=/^https?:\/\//i[_0x3ff8e1(0x1fe)](_0x3f25e4)?_0x3f25e4:'https://'+_0x3f25e4[_0x3ff8e1(0x216)](/^\/+/,''),_0x4f79f5=new URL(_0x5c3001);if(_0x4f79f5['username']||_0x4f79f5['password'])return{'username':_0x1802be['uGQBa'](decodeURIComponent,_0x4f79f5[_0x3ff8e1(0x209)]||''),'password':_0x1802be[_0x3ff8e1(0x22a)](decodeURIComponent,_0x4f79f5[_0x3ff8e1(0x23b)]||'')};}}catch(_0x3f489e){}const _0x436964={};return _0x436964['username']=process[_0x3ff8e1(0x20e)][_0x3ff8e1(0x21d)]||'',_0x436964['password']=process[_0x3ff8e1(0x20e)]['BROWSERSTACK_ACCESS_KEY']||'',_0x436964;}async function _markViaRestApi(_0x1d5af5){const _0x468a0b=a68_0xd8caab,_0x4cd1bb={'rMrke':function(_0x192170,_0x46f5d5){return _0x192170(_0x46f5d5);},'DXHIE':function(_0x300d06,_0xf2b0af){return _0x300d06||_0xf2b0af;},'PQNlj':_0x468a0b(0x227),'YdokC':_0x468a0b(0x20f),'jLSft':function(_0x4ed16b,_0x5cb1a6){return _0x4ed16b>=_0x5cb1a6;},'BAuoN':function(_0xac559b,_0xa3b9c3){return _0xac559b<_0xa3b9c3;}},{username:_0x5edbcc,password:_0x47cb01}=_0x4cd1bb[_0x468a0b(0x22e)](_resolveCreds,_0x1d5af5[_0x468a0b(0x224)]);if(_0x4cd1bb[_0x468a0b(0x20a)](!_0x5edbcc,!_0x47cb01))return logger[_0x468a0b(0x1f6)](_0x468a0b(0x1fd)+_0x1d5af5[_0x468a0b(0x234)]+':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY'),![];const _0x28ba09=BROWSERSTACK_API_URL+_0x468a0b(0x215)+_0x1d5af5[_0x468a0b(0x234)]+_0x468a0b(0x226);try{const _0x1cf413={};_0x1cf413[_0x468a0b(0x1f8)]=_0x1d5af5[_0x468a0b(0x1f8)]||_0x4cd1bb[_0x468a0b(0x1fc)],_0x1cf413['reason']=_0x1d5af5[_0x468a0b(0x236)]||'';const _0x1f8157={};_0x1f8157[_0x468a0b(0x223)]=0x7530;const _0x487294={};_0x487294[_0x468a0b(0x209)]=_0x5edbcc,_0x487294['password']=_0x47cb01,_0x487294['json']=_0x1cf413,_0x487294[_0x468a0b(0x214)]=_0x4cd1bb['YdokC'],_0x487294[_0x468a0b(0x1f7)]=![],_0x487294[_0x468a0b(0x21c)]=_0x1f8157;const _0x4ab954=await got[_0x468a0b(0x203)](_0x28ba09,_0x487294);if(_0x4cd1bb[_0x468a0b(0x233)](_0x4ab954['statusCode'],0xc8)&&_0x4cd1bb[_0x468a0b(0x22c)](_0x4ab954[_0x468a0b(0x202)],0x12c))return logger[_0x468a0b(0x238)](_0x468a0b(0x235)+_0x1d5af5['status']+_0x468a0b(0x23c)+_0x1d5af5[_0x468a0b(0x234)]),!![];return logger[_0x468a0b(0x1f6)](_0x468a0b(0x200)+_0x4ab954[_0x468a0b(0x202)]+_0x468a0b(0x22d)+_0x1d5af5['sessionId']+':\x20'+JSON[_0x468a0b(0x213)](_0x4ab954[_0x468a0b(0x1f4)])[_0x468a0b(0x21e)](0x0,0xc8)),![];}catch(_0x54e37d){return logger[_0x468a0b(0x1f6)](_0x468a0b(0x220)+_0x1d5af5[_0x468a0b(0x234)]+':\x20'+_0x54e37d['message']),![];}}async function quitAll(){const _0x3231a8=a68_0xd8caab,_0x45a8e3={'uNzIZ':function(_0x3ae1da,_0x35678f){return _0x3ae1da===_0x35678f;},'rWqWx':_0x3231a8(0x1f5),'DRerc':_0x3231a8(0x23e),'XNIyG':_0x3231a8(0x227),'nByNf':function(_0xf15dcf,_0x426b66){return _0xf15dcf(_0x426b66);},'QWtzL':function(_0x38b00e,_0x2908b6){return _0x38b00e===_0x2908b6;}};try{for(const _0x316871 of _entries){let _0x5d72e6=![];try{if(_0x316871[_0x3231a8(0x225)]&&_0x45a8e3['uNzIZ'](typeof _0x316871[_0x3231a8(0x225)][_0x3231a8(0x21a)],_0x45a8e3['rWqWx'])){const _0x2afdfd={};_0x2afdfd['action']=_0x45a8e3[_0x3231a8(0x21b)],_0x2afdfd[_0x3231a8(0x20d)]={},_0x2afdfd[_0x3231a8(0x20d)][_0x3231a8(0x1f8)]=_0x316871[_0x3231a8(0x1f8)]||_0x45a8e3['XNIyG'],_0x2afdfd[_0x3231a8(0x20d)]['reason']=_0x316871[_0x3231a8(0x236)]||'';const _0x465777=_0x3231a8(0x219)+JSON[_0x3231a8(0x213)](_0x2afdfd);await _0x316871[_0x3231a8(0x225)][_0x3231a8(0x21a)](_0x465777),_0x5d72e6=!![],logger[_0x3231a8(0x238)](_0x3231a8(0x1ff)+_0x316871['status']+_0x3231a8(0x23c)+_0x316871['sessionId']);}}catch(_0x1db001){logger['warn'](_0x3231a8(0x230)+_0x316871['sessionId']+_0x3231a8(0x207)+_0x1db001[_0x3231a8(0x22b)]);}!_0x5d72e6&&await _0x45a8e3[_0x3231a8(0x232)](_markViaRestApi,_0x316871);try{_0x316871[_0x3231a8(0x225)]&&_0x45a8e3[_0x3231a8(0x22f)](typeof _0x316871[_0x3231a8(0x225)][_0x3231a8(0x231)],_0x45a8e3[_0x3231a8(0x1f9)])&&await _0x316871[_0x3231a8(0x225)][_0x3231a8(0x231)]();}catch(_0x522d1f){logger[_0x3231a8(0x1f6)]('[session-registry]\x20driver.quit\x20failed\x20for\x20'+_0x316871[_0x3231a8(0x234)]+':\x20'+_0x522d1f[_0x3231a8(0x22b)]);}}}finally{_entries['length']=0x0;}}const a68_0x4eacc8={};a68_0x4eacc8[a68_0xd8caab(0x218)]=register,a68_0x4eacc8[a68_0xd8caab(0x1fa)]=listEntries,a68_0x4eacc8['markStatus']=markStatus,a68_0x4eacc8['quitAll']=quitAll,module[a68_0xd8caab(0x21f)]=a68_0x4eacc8;
|