browserstack-node-sdk 1.65.0 → 1.65.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/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/node-generic/client.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/reporterArgs.js +1 -0
- 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/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/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/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_0x369295=a61_0x1157;(function(_0x5f42a4,_0x27ea11){const _0xdda2f7=a61_0x1157,_0x54b7b8=_0x5f42a4();while(!![]){try{const _0x11c724=parseInt(_0xdda2f7(0x1a4))/0x1*(-parseInt(_0xdda2f7(0x1d8))/0x2)+-parseInt(_0xdda2f7(0x170))/0x3+-parseInt(_0xdda2f7(0x175))/0x4*(parseInt(_0xdda2f7(0x191))/0x5)+parseInt(_0xdda2f7(0x193))/0x6*(parseInt(_0xdda2f7(0x1ce))/0x7)+-parseInt(_0xdda2f7(0x180))/0x8*(-parseInt(_0xdda2f7(0x16d))/0x9)+parseInt(_0xdda2f7(0x17c))/0xa+parseInt(_0xdda2f7(0x1d2))/0xb*(-parseInt(_0xdda2f7(0x179))/0xc);if(_0x11c724===_0x27ea11)break;else _0x54b7b8['push'](_0x54b7b8['shift']());}catch(_0x54f6e8){_0x54b7b8['push'](_0x54b7b8['shift']());}}}(a61_0x1a76,0x5970b));const Worker=require(a61_0x369295(0x197))[a61_0x369295(0x1d9)],Emittery=require(a61_0x369295(0x1b5)),pLimit=require(a61_0x369295(0x1ab)),{parentPort}=require(a61_0x369295(0x190)),util=require(a61_0x369295(0x1cb)),logger=require(a61_0x369295(0x1bb))[a61_0x369295(0x1a6)],PerformanceTester=require(a61_0x369295(0x1c5)),PerformanceEvents=require(a61_0x369295(0x177))[a61_0x369295(0x1cd)],{debug}=require(a61_0x369295(0x184)),TestHubHandler=require(a61_0x369295(0x1b2));function a61_0x1a76(){const _0x5639ac=['stderr','debug','platform-run-failure','getStderr','p-limit','PNbzO','obzNd','parallelVanillaRun','worker','lEUtR','stop','../../helpers/testhub/testhubHandler','platform-run-success','platforms','emittery','_workerPool','test-file-start','cucumberWorker','platform-run-start','platform','../../helpers/logger','xZlWm','yEwdM','gsnWa','configuration','pJWtG','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','getStdout','IRDbb','log','../../helpers/performance/performance-tester','GEFty','resolve','qibjN','bVcwW','format','util','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','EVENTS','224980zENDzP','UsPEC','GyhmF','rBHYj','1353396NTCwrH','exit','BEmlq','pipe','fpfWB','zIPgR','2tCEXxM','Worker','results','UNSTABLE_onCustomMessage','getWorkers','579051fGwIXA','test-file-failure','HPzXG','1959954YEAvXo','failureCount','wLfmG','Workers\x20failed\x20to\x20exit\x20gracefully','emit','1184DuIPHi','parallelTestRun','../../helpers/performance/constants','all','12NechfN','./testWorker.js','send','5071030gIwPqA','platformCaps','bIBsB','exitCode','88zBGUAa','config','platformIndex','nrAmX','../../helpers/test-observability/utils','sWBiv','stdout','BwQtX','XVxwo','vanillaWorker','length','postMessage','map','json','_child','gEiYt','worker_threads','160gKgJyh','waitForExit','114hRXMrV','wJxnT','vrhqx','TEpNv','jest-worker','BEKZX','vRIsU','file','then','eDjfG','PeThT','\x20for','end','WpAPN','error','Running\x20','push','673319dwYvNE','test-file-success','winstonLogger'];a61_0x1a76=function(){return _0x5639ac;};return a61_0x1a76();}function a61_0x1157(_0x250c50,_0x7f40e1){const _0x1a76a9=a61_0x1a76();return a61_0x1157=function(_0x115712,_0x3db463){_0x115712=_0x115712-0x16a;let _0x2e5065=_0x1a76a9[_0x115712];return _0x2e5065;},a61_0x1157(_0x250c50,_0x7f40e1);}exports[a61_0x369295(0x176)]=(_0x55ab40,_0x39c696,_0x1bf414)=>new Promise(async _0x3ecc53=>{const _0x111308=a61_0x369295,_0x22fa0e={'vrhqx':_0x111308(0x171),'vRIsU':function(_0x25b318,_0x5097ee){return _0x25b318+_0x5097ee;},'bVcwW':_0x111308(0x16a),'HPzXG':_0x111308(0x173),'gsnWa':function(_0x10a24e,_0x2083ea){return _0x10a24e(_0x2083ea);},'eDjfG':_0x111308(0x1b7),'BwQtX':_0x111308(0x17a),'nrAmX':'worker','PeThT':_0x111308(0x18d),'fpfWB':'pipe','yEwdM':function(_0x4cc9db,_0x845bd){return _0x4cc9db*_0x845bd;},'xZlWm':_0x111308(0x1a5),'wJxnT':_0x111308(0x16e),'XVxwo':function(_0x106c58,_0x4040e9){return _0x106c58(_0x4040e9);}},_0x22e971=_0x1bf414[_0x111308(0x181)],_0x15b04b={},_0x33aba=new Worker(require[_0x111308(0x1c7)](_0x22fa0e[_0x111308(0x187)]),{'exposedMethods':[_0x22fa0e[_0x111308(0x183)]],'forkOptions':{'serialization':_0x22fa0e[_0x111308(0x19d)],'stdio':_0x22fa0e[_0x111308(0x1d6)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x22fa0e[_0x111308(0x1bd)](_0x39c696,0x1),'enableWorkerThreads':!![]}),_0x40d999=new Emittery();_0x40d999['on'](_0x22fa0e[_0x111308(0x1bc)],_0x508081=>{const _0x50d593=_0x111308;_0x15b04b[_0x508081[0x0]]?(_0x15b04b[_0x508081[0x0]][_0x22fa0e['vrhqx']]=_0x22fa0e[_0x50d593(0x199)](_0x15b04b[_0x508081[0x0]][_0x22fa0e[_0x50d593(0x195)]],_0x508081[0x1][_0x22fa0e['vrhqx']]),_0x15b04b[_0x508081[0x0]][_0x22fa0e[_0x50d593(0x1c9)]]=[..._0x15b04b[_0x508081[0x0]][_0x22fa0e['bVcwW']],..._0x508081[0x1][_0x22fa0e[_0x50d593(0x1c9)]]]):_0x15b04b[_0x508081[0x0]]={'failureCount':_0x508081[0x1][_0x22fa0e['vrhqx']],'results':[..._0x508081[0x1][_0x22fa0e[_0x50d593(0x1c9)]]]};}),_0x40d999['on'](_0x22fa0e[_0x111308(0x194)],_0xf7105f=>console[_0x111308(0x1c4)](_0xf7105f[0x1]));_0x33aba[_0x111308(0x1c2)]()&&_0x33aba['getStdout']()[_0x111308(0x1d5)](process[_0x111308(0x186)]);_0x33aba[_0x111308(0x1aa)]()&&_0x33aba['getStderr']()['pipe'](process[_0x111308(0x1a7)]);const _0x419d7b=async()=>{const _0x55545c=_0x111308,{forceExited:_0x10589b}=await _0x33aba[_0x55545c(0x19f)]();_0x10589b&&console[_0x55545c(0x1a1)](_0x22fa0e[_0x55545c(0x16f)]);try{await TestHubHandler[_0x55545c(0x1b1)]();}catch(_0x1128b0){_0x22fa0e[_0x55545c(0x1be)](debug,_0x55545c(0x1c1)+_0x1128b0);}_0x22fa0e['gsnWa'](_0x3ecc53,_0x15b04b);},_0x29d97e=_0x22fa0e[_0x111308(0x188)](pLimit,_0x22fa0e['yEwdM'](_0x39c696,0x1)),_0xb4d3d=_0x69a95b=>_0x29d97e(async()=>{const _0x4bb91f=_0x111308;await _0x40d999[_0x4bb91f(0x174)](_0x22fa0e[_0x4bb91f(0x19c)],_0x69a95b);const _0x4be5b3=_0x33aba[_0x4bb91f(0x1af)](_0x69a95b,_0x22e971);try{parentPort&&_0x4be5b3[_0x4bb91f(0x16b)](_0xf030c4=>{const _0x1ff01a=_0x4bb91f;try{parentPort[_0x1ff01a(0x18b)](_0xf030c4);}catch(_0x4cac1d){logger[_0x1ff01a(0x1a8)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x1ff01a(0x1ca)](_0x4cac1d));}});}catch(_0xe645e3){logger['debug'](_0x4bb91f(0x1cc)+util[_0x4bb91f(0x1ca)](_0xe645e3));}return _0x4be5b3;});PerformanceTester[_0x111308(0x19f)](PerformanceEvents['SDK_SETUP']),Promise[_0x111308(0x178)](_0x55ab40[_0x111308(0x18c)](_0x1a3848=>_0xb4d3d(_0x1a3848)[_0x111308(0x19b)](_0x8f68e5=>_0x40d999['emit'](_0x111308(0x1a5),[_0x1a3848[_0x111308(0x1bf)][_0x111308(0x1ba)],_0x8f68e5]),_0x4e6d3f=>_0x40d999[_0x111308(0x174)](_0x111308(0x16e),[_0x1a3848,_0x4e6d3f]))))[_0x111308(0x19b)](_0x419d7b,_0x419d7b);}),exports['parallelCucumberRun']=(_0x1f2a7b,_0x486c08,_0x516a90,_0x2c8e00,_0x2c9ee6)=>{const _0x330218=a61_0x369295,_0x1f34fd={'UsPEC':_0x330218(0x1b9),'HpcMJ':_0x330218(0x173),'pJWtG':function(_0x1d9418,_0x202954){return _0x1d9418(_0x202954);},'GEFty':'./testWorker.js','Ykapv':_0x330218(0x1b8),'gEiYt':_0x330218(0x18d),'BEmlq':'pipe','lEUtR':_0x330218(0x1b3),'wLfmG':'platform-run-failure','TGxnD':function(_0x154a48,_0x250140){return _0x154a48(_0x250140);}};return new Promise(_0x5f45ec=>{const _0xd9f5ff=_0x330218,_0x5697e7={'BEKZX':_0x1f34fd['HpcMJ'],'sWBiv':function(_0x4d34ad,_0x2b8a46){const _0xbeeb6c=a61_0x1157;return _0x1f34fd[_0xbeeb6c(0x1c0)](_0x4d34ad,_0x2b8a46);}},_0x437305=[],_0x31c042=new Worker(require['resolve'](_0x1f34fd[_0xd9f5ff(0x1c6)]),{'exposedMethods':[_0x1f34fd['Ykapv']],'forkOptions':{'serialization':_0x1f34fd[_0xd9f5ff(0x18f)],'stdio':_0x1f34fd[_0xd9f5ff(0x1d4)]},'numWorkers':_0x1f2a7b[_0xd9f5ff(0x18a)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x23d6da=new Emittery();_0x23d6da['on'](_0x1f34fd[_0xd9f5ff(0x1b0)],_0x7f3427=>{const _0x14dac7=_0xd9f5ff;_0x437305[_0x14dac7(0x1a3)]([_0x7f3427[0x0],_0x7f3427[0x1]]);}),_0x23d6da['on'](_0x1f34fd[_0xd9f5ff(0x172)],_0x167d9e=>console[_0xd9f5ff(0x1c4)](_0x167d9e[0x1]));_0x31c042[_0xd9f5ff(0x1c2)]()&&_0x31c042[_0xd9f5ff(0x1c2)]()[_0xd9f5ff(0x1d5)](process['stdout']);_0x31c042[_0xd9f5ff(0x1aa)]()&&_0x31c042[_0xd9f5ff(0x1aa)]()[_0xd9f5ff(0x1d5)](process[_0xd9f5ff(0x1a7)]);const _0x361348=async()=>{const _0xb41832=_0xd9f5ff,{forceExited:_0x4e6d75}=await _0x31c042[_0xb41832(0x19f)]();_0x4e6d75&&console[_0xb41832(0x1a1)](_0x5697e7[_0xb41832(0x198)]),_0x5697e7[_0xb41832(0x185)](_0x5f45ec,_0x437305);},_0x3bb3f9=_0x1f34fd['TGxnD'](pLimit,_0x1f2a7b[_0xd9f5ff(0x18a)]||0x1),_0x1500b9=(_0x4b44ee,_0x1f32e4)=>_0x3bb3f9(async()=>{const _0x5791d3=_0xd9f5ff;return await _0x23d6da[_0x5791d3(0x174)](_0x1f34fd[_0x5791d3(0x1cf)],_0x4b44ee),_0x486c08[_0x5791d3(0x17d)]=_0x516a90[_0x5791d3(0x1b4)][_0x1f32e4],_0x486c08[_0x5791d3(0x182)]=_0x1f32e4,_0x31c042[_0x5791d3(0x1b8)](_0x4b44ee,_0x486c08,_0x516a90,_0x2c8e00,_0x2c9ee6);});Promise[_0xd9f5ff(0x178)](_0x1f2a7b[_0xd9f5ff(0x18c)]((_0x4e86a4,_0x577810)=>_0x1500b9(_0x4e86a4,_0x577810)['then'](_0x350e29=>_0x23d6da['emit'](_0xd9f5ff(0x1b3),[_0x4e86a4,_0x350e29]),_0x22da89=>_0x23d6da['emit'](_0xd9f5ff(0x1a9),[_0x4e86a4,_0x22da89]))))[_0xd9f5ff(0x19b)](_0x361348,_0x361348);});},exports[a61_0x369295(0x1ae)]=(_0xc7bd98,_0x90ecf6)=>new Promise(_0xc678c3=>{const _0x17c7a7=a61_0x369295,_0x4cfc84={'TMPRp':function(_0x2c23db,_0x126c5d){return _0x2c23db===_0x126c5d;},'qibjN':function(_0x4e293f,_0x3b4ea6){return _0x4e293f!==_0x3b4ea6;},'WpAPN':_0x17c7a7(0x1d3),'lBZhW':'Workers\x20failed\x20to\x20exit\x20gracefully','sKeGL':function(_0x39483e,_0x237b28){return _0x39483e(_0x237b28);},'weuNn':_0x17c7a7(0x17a),'zIPgR':_0x17c7a7(0x189),'rBHYj':_0x17c7a7(0x18d),'IRDbb':_0x17c7a7(0x1d5),'GyhmF':_0x17c7a7(0x1a5),'kaOSf':_0x17c7a7(0x16e),'obzNd':function(_0x2e106d,_0xadb41d){return _0x2e106d(_0xadb41d);}},_0x5d5f86={},_0x5d263a=new Worker(require[_0x17c7a7(0x1c7)](_0x4cfc84['weuNn']),{'exposedMethods':[_0x4cfc84[_0x17c7a7(0x1d7)]],'forkOptions':{'serialization':_0x4cfc84[_0x17c7a7(0x1d1)],'stdio':_0x4cfc84[_0x17c7a7(0x1c3)]},'numWorkers':_0x90ecf6,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x60ff6=new Emittery();_0x60ff6['on'](_0x4cfc84[_0x17c7a7(0x1d0)],_0x49ef4d=>{const _0x304b75=_0x17c7a7;_0x49ef4d[0x0]&&logger['info'](_0x304b75(0x1a2)+_0x49ef4d[0x1]+_0x304b75(0x19e),_0x49ef4d[0x0]);}),_0x60ff6['on'](_0x4cfc84['kaOSf'],_0xf2649b=>{const _0x1cef50=_0x17c7a7;process[_0x1cef50(0x17f)]=0x1;});_0x5d263a[_0x17c7a7(0x1c2)]()&&_0x5d263a[_0x17c7a7(0x1c2)]()[_0x17c7a7(0x1d5)](process[_0x17c7a7(0x186)]);_0x5d263a[_0x17c7a7(0x1aa)]()&&_0x5d263a[_0x17c7a7(0x1aa)]()['pipe'](process[_0x17c7a7(0x1a7)]);const _0xf561d1=async()=>{const _0x198956=_0x17c7a7,_0x2d2b83={'TEpNv':function(_0x226484,_0x584828){return _0x4cfc84['TMPRp'](_0x226484,_0x584828);},'bIBsB':function(_0x31aaab,_0x31cf26){const _0x3c7fc8=a61_0x1157;return _0x4cfc84[_0x3c7fc8(0x1c8)](_0x31aaab,_0x31cf26);},'PNbzO':_0x4cfc84[_0x198956(0x1a0)]};let _0x1a2fb6=0x0;const _0x10a719=_0x5d263a[_0x198956(0x1b6)][_0x198956(0x16c)](),_0xc176f1=()=>{},_0x356e56=_0x10a719[_0x198956(0x18c)](async _0x38c937=>{const _0x341dde=_0x198956;_0x38c937[_0x341dde(0x17b)]([0x2,![]],_0xc176f1,_0xc176f1,_0xc176f1),_0x38c937[_0x341dde(0x18e)]['on'](_0x2d2b83[_0x341dde(0x1ac)],_0x2443ef=>{const _0x7596=_0x341dde;_0x2d2b83[_0x7596(0x196)](_0x1a2fb6,0x0)&&_0x2d2b83[_0x7596(0x17e)](_0x2443ef,0x0)&&(_0x1a2fb6=_0x2443ef);}),await _0x38c937[_0x341dde(0x192)]();});await Promise[_0x198956(0x178)](_0x356e56),process[_0x198956(0x17f)]=_0x1a2fb6;const {forceExited:_0x1d2707}=await _0x5d263a['end']();_0x1d2707&&console[_0x198956(0x1a1)](_0x4cfc84['lBZhW']),_0x4cfc84['sKeGL'](_0xc678c3,_0x5d5f86);},_0x549d91=_0x4cfc84[_0x17c7a7(0x1ad)](pLimit,_0x90ecf6),_0x5630a5=_0x52d135=>_0x549d91(async()=>{return _0x5d263a['vanillaWorker'](_0x52d135);});Promise['all'](_0xc7bd98['map'](_0x59b1cf=>_0x5630a5(_0x59b1cf)[_0x17c7a7(0x19b)](_0x51b9a0=>_0x60ff6[_0x17c7a7(0x174)](_0x17c7a7(0x1a5),[_0x59b1cf['configuration'][_0x17c7a7(0x1ba)],_0x59b1cf[_0x17c7a7(0x1bf)][_0x17c7a7(0x19a)]]),_0x23341c=>_0x60ff6['emit'](_0x17c7a7(0x16e),[_0x59b1cf,_0x23341c]))))[_0x17c7a7(0x19b)](_0xf561d1,_0xf561d1);});
|
|
1
|
+
function a62_0x2870(_0x53f39e,_0x48a23a){const _0x5b4b1d=a62_0x5b4b();return a62_0x2870=function(_0x2870fa,_0xd1c02b){_0x2870fa=_0x2870fa-0x1e6;let _0x4a7e90=_0x5b4b1d[_0x2870fa];return _0x4a7e90;},a62_0x2870(_0x53f39e,_0x48a23a);}const a62_0x5537e8=a62_0x2870;function a62_0x5b4b(){const _0x3c39d1=['svAOH','wuwDp','./testWorker.js','resolve','../../helpers/performance/performance-tester','hlWqI','config','aMuQn','file','getStderr','ldwxy','platform-run-failure','\x20for','test-file-failure','iFqhB','ELNHk','aXbIK','test-file-success','getStdout','Worker','pipe','end','exit','zQWEc','exitCode','nbndv','Workers\x20failed\x20to\x20exit\x20gracefully','stderr','emit','6154368zNhepC','../../helpers/test-observability/utils','failureCount','DnMvr','4232998woRJTH','log','piejH','parallelVanillaRun','4926gIYAiR','934476zhiOos','platformIndex','p-limit','parallelCucumberRun','fuUxd','util','platform-run-success','platformCaps','oldUI','json','cXFrI','sltBv','1457181gtIGRt','../../helpers/testhub/testhubHandler','gVfus','OSBIH','configuration','403679HfrXup','worker','length','MJwYT','qsWcj','NjMWk','hLjgm','QpvSx','error','../../helpers/performance/constants','then','cucumberWorker','NRQRg','awxXo','dMZnp','emittery','getWorkers','platforms','platform','25eDWVwy','UNSTABLE_onCustomMessage','EVENTS','map','LBMQK','pmPIa','665944VyNguy','debug','results','all','50UGRfwu','push','_child','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','platform-run-start','_workerPool','ORQno','jest-worker','stdout','vanillaWorker','InUCV','WZEmc','SDK_SETUP','qFKuF','apPQq','parallelTestRun','waitForExit','TYsmN','dBMdE','Running\x20','WKCCQ','873OGlyzf','stop'];a62_0x5b4b=function(){return _0x3c39d1;};return a62_0x5b4b();}(function(_0x44400c,_0x128827){const _0x1b9123=a62_0x2870,_0x1fdea4=_0x44400c();while(!![]){try{const _0x1c36ae=-parseInt(_0x1b9123(0x202))/0x1+parseInt(_0x1b9123(0x1f0))/0x2*(-parseInt(_0x1b9123(0x234))/0x3)+parseInt(_0x1b9123(0x21b))/0x4*(parseInt(_0x1b9123(0x215))/0x5)+parseInt(_0x1b9123(0x1f1))/0x6+parseInt(_0x1b9123(0x1ec))/0x7+-parseInt(_0x1b9123(0x1e8))/0x8+-parseInt(_0x1b9123(0x1fd))/0x9*(-parseInt(_0x1b9123(0x21f))/0xa);if(_0x1c36ae===_0x128827)break;else _0x1fdea4['push'](_0x1fdea4['shift']());}catch(_0x6d704c){_0x1fdea4['push'](_0x1fdea4['shift']());}}}(a62_0x5b4b,0x7d2d7));const Worker=require(a62_0x5537e8(0x226))[a62_0x5537e8(0x249)],Emittery=require(a62_0x5537e8(0x211)),pLimit=require(a62_0x5537e8(0x1f3)),{parentPort}=require('worker_threads'),util=require(a62_0x5537e8(0x1f6)),logger=require('../../helpers/logger')['winstonLogger'],PerformanceTester=require(a62_0x5537e8(0x23a)),PerformanceEvents=require(a62_0x5537e8(0x20b))[a62_0x5537e8(0x217)],{debug}=require(a62_0x5537e8(0x1e9)),TestHubHandler=require(a62_0x5537e8(0x1fe));exports[a62_0x5537e8(0x22e)]=(_0x299748,_0x138e8a,_0x25f73e)=>new Promise(async _0x296cc5=>{const _0x1c26dd=a62_0x5537e8,_0x3a1d37={'dBMdE':_0x1c26dd(0x1ea),'piejH':function(_0x5d7882,_0xe52754){return _0x5d7882+_0xe52754;},'MJwYT':_0x1c26dd(0x21d),'wuwDp':'Workers\x20failed\x20to\x20exit\x20gracefully','qFKuF':function(_0x4a7674,_0x337711){return _0x4a7674(_0x337711);},'WKCCQ':function(_0x337182,_0x456a46){return _0x337182(_0x456a46);},'WZEmc':'test-file-start','gVfus':'./testWorker.js','iFqhB':_0x1c26dd(0x203),'pmPIa':_0x1c26dd(0x1fa),'svAOH':_0x1c26dd(0x24a),'NRQRg':function(_0x2dd214,_0x506b38){return _0x2dd214*_0x506b38;},'cXFrI':_0x1c26dd(0x247),'ORQno':_0x1c26dd(0x243),'yrxbX':function(_0xc03280,_0x3832f7){return _0xc03280(_0x3832f7);},'nbndv':function(_0x1b0217,_0x14eb08){return _0x1b0217*_0x14eb08;}},_0x62c054=_0x25f73e[_0x1c26dd(0x23c)],_0x578236={},_0x409fe0=new Worker(require[_0x1c26dd(0x239)](_0x3a1d37[_0x1c26dd(0x1ff)]),{'exposedMethods':[_0x3a1d37[_0x1c26dd(0x244)]],'forkOptions':{'serialization':_0x3a1d37[_0x1c26dd(0x21a)],'stdio':_0x3a1d37[_0x1c26dd(0x236)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x3a1d37[_0x1c26dd(0x20e)](_0x138e8a,0x1),'enableWorkerThreads':!![]}),_0x23f951=new Emittery();_0x23f951['on'](_0x3a1d37[_0x1c26dd(0x1fb)],_0x4107c3=>{const _0x1b58a1=_0x1c26dd;_0x578236[_0x4107c3[0x0]]?(_0x578236[_0x4107c3[0x0]][_0x3a1d37[_0x1b58a1(0x231)]]=_0x3a1d37[_0x1b58a1(0x1ee)](_0x578236[_0x4107c3[0x0]][_0x3a1d37[_0x1b58a1(0x231)]],_0x4107c3[0x1][_0x3a1d37['dBMdE']]),_0x578236[_0x4107c3[0x0]][_0x3a1d37[_0x1b58a1(0x205)]]=[..._0x578236[_0x4107c3[0x0]][_0x3a1d37['MJwYT']],..._0x4107c3[0x1][_0x3a1d37[_0x1b58a1(0x205)]]]):_0x578236[_0x4107c3[0x0]]={'failureCount':_0x4107c3[0x1][_0x3a1d37[_0x1b58a1(0x231)]],'results':[..._0x4107c3[0x1][_0x3a1d37[_0x1b58a1(0x205)]]]};}),_0x23f951['on'](_0x3a1d37[_0x1c26dd(0x225)],_0x2ac9f0=>console[_0x1c26dd(0x1ed)](_0x2ac9f0[0x1]));_0x409fe0['getStdout']()&&_0x409fe0[_0x1c26dd(0x248)]()[_0x1c26dd(0x24a)](process[_0x1c26dd(0x227)]);_0x409fe0[_0x1c26dd(0x23f)]()&&_0x409fe0[_0x1c26dd(0x23f)]()[_0x1c26dd(0x24a)](process['stderr']);const _0x41ff08=async()=>{const _0x7e59b8=_0x1c26dd,{forceExited:_0x395f3a}=await _0x409fe0['end']();_0x395f3a&&console[_0x7e59b8(0x20a)](_0x3a1d37[_0x7e59b8(0x237)]);try{await TestHubHandler[_0x7e59b8(0x235)]();}catch(_0x4f66dd){_0x3a1d37[_0x7e59b8(0x22c)](debug,_0x7e59b8(0x222)+_0x4f66dd);}_0x3a1d37[_0x7e59b8(0x233)](_0x296cc5,_0x578236);},_0x368124=_0x3a1d37['yrxbX'](pLimit,_0x3a1d37[_0x1c26dd(0x24f)](_0x138e8a,0x1)),_0x3878e1=_0xe16c11=>_0x368124(async()=>{const _0x195f4d=_0x1c26dd;await _0x23f951[_0x195f4d(0x1e7)](_0x3a1d37[_0x195f4d(0x22a)],_0xe16c11);const _0x2f8a40=_0x409fe0[_0x195f4d(0x203)](_0xe16c11,_0x62c054);try{parentPort&&_0x2f8a40[_0x195f4d(0x216)](_0x4a66f6=>{try{parentPort['postMessage'](_0x4a66f6);}catch(_0x5cc306){logger['debug']('Exception\x20in\x20sending\x20worker\x20message\x20'+util['format'](_0x5cc306));}});}catch(_0x58eb20){logger[_0x195f4d(0x21c)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util['format'](_0x58eb20));}return _0x2f8a40;});PerformanceTester[_0x1c26dd(0x24b)](PerformanceEvents[_0x1c26dd(0x22b)]),Promise[_0x1c26dd(0x21e)](_0x299748[_0x1c26dd(0x218)](_0x6713d0=>_0x3878e1(_0x6713d0)[_0x1c26dd(0x20c)](_0xa7a801=>_0x23f951[_0x1c26dd(0x1e7)](_0x1c26dd(0x247),[_0x6713d0[_0x1c26dd(0x201)][_0x1c26dd(0x214)],_0xa7a801]),_0x275213=>_0x23f951[_0x1c26dd(0x1e7)](_0x1c26dd(0x243),[_0x6713d0,_0x275213]))))[_0x1c26dd(0x20c)](_0x41ff08,_0x41ff08);}),exports[a62_0x5537e8(0x1f4)]=(_0x516162,_0x55d2ca,_0x4d960b,_0x352818,_0x184116)=>{const _0x5d6675=a62_0x5537e8,_0x255963={'NjMWk':_0x5d6675(0x250),'hLjgm':function(_0x571a74,_0x12f41d){return _0x571a74(_0x12f41d);},'ldwxy':_0x5d6675(0x223),'PrcbA':_0x5d6675(0x238),'fuUxd':_0x5d6675(0x20d),'QOJkl':'json','TYsmN':_0x5d6675(0x24a),'oldUI':_0x5d6675(0x1f7),'LBMQK':_0x5d6675(0x241)};return new Promise(_0x5051db=>{const _0x2fe5c9=_0x5d6675,_0x5394f0={'ELNHk':_0x255963[_0x2fe5c9(0x207)],'InUCV':function(_0x184389,_0x764d55){const _0x5008f6=_0x2fe5c9;return _0x255963[_0x5008f6(0x208)](_0x184389,_0x764d55);},'QpvSx':_0x255963[_0x2fe5c9(0x240)]},_0x1a93d6=[],_0x40f776=new Worker(require['resolve'](_0x255963['PrcbA']),{'exposedMethods':[_0x255963[_0x2fe5c9(0x1f5)]],'forkOptions':{'serialization':_0x255963['QOJkl'],'stdio':_0x255963[_0x2fe5c9(0x230)]},'numWorkers':_0x516162[_0x2fe5c9(0x204)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x4dc167=new Emittery();_0x4dc167['on'](_0x255963[_0x2fe5c9(0x1f9)],_0x6dea98=>{const _0x12f342=_0x2fe5c9;_0x1a93d6[_0x12f342(0x220)]([_0x6dea98[0x0],_0x6dea98[0x1]]);}),_0x4dc167['on'](_0x255963[_0x2fe5c9(0x219)],_0xba8bc3=>console[_0x2fe5c9(0x1ed)](_0xba8bc3[0x1]));_0x40f776[_0x2fe5c9(0x248)]()&&_0x40f776['getStdout']()[_0x2fe5c9(0x24a)](process[_0x2fe5c9(0x227)]);_0x40f776[_0x2fe5c9(0x23f)]()&&_0x40f776[_0x2fe5c9(0x23f)]()[_0x2fe5c9(0x24a)](process[_0x2fe5c9(0x1e6)]);const _0x2b9ceb=async()=>{const _0x3cd6d9=_0x2fe5c9,{forceExited:_0x4d55be}=await _0x40f776[_0x3cd6d9(0x24b)]();_0x4d55be&&console['error'](_0x5394f0[_0x3cd6d9(0x245)]),_0x5394f0[_0x3cd6d9(0x229)](_0x5051db,_0x1a93d6);},_0x46a8be=_0x255963['hLjgm'](pLimit,_0x516162[_0x2fe5c9(0x204)]||0x1),_0x5b9a91=(_0x3aef90,_0x206d5d)=>_0x46a8be(async()=>{const _0x5e75ea=_0x2fe5c9;return await _0x4dc167[_0x5e75ea(0x1e7)](_0x5394f0[_0x5e75ea(0x209)],_0x3aef90),_0x55d2ca[_0x5e75ea(0x1f8)]=_0x4d960b[_0x5e75ea(0x213)][_0x206d5d],_0x55d2ca[_0x5e75ea(0x1f2)]=_0x206d5d,_0x40f776[_0x5e75ea(0x20d)](_0x3aef90,_0x55d2ca,_0x4d960b,_0x352818,_0x184116);});Promise[_0x2fe5c9(0x21e)](_0x516162[_0x2fe5c9(0x218)]((_0x4f92a2,_0x1576e9)=>_0x5b9a91(_0x4f92a2,_0x1576e9)['then'](_0xa664e=>_0x4dc167[_0x2fe5c9(0x1e7)](_0x2fe5c9(0x1f7),[_0x4f92a2,_0xa664e]),_0x2ee7ec=>_0x4dc167[_0x2fe5c9(0x1e7)](_0x2fe5c9(0x241),[_0x4f92a2,_0x2ee7ec]))))['then'](_0x2b9ceb,_0x2b9ceb);});},exports[a62_0x5537e8(0x1ef)]=(_0x5412ac,_0x5cd68b)=>new Promise(_0x407380=>{const _0x8a3f9d=a62_0x5537e8,_0x3e3136={'ilZhk':function(_0x339521,_0x2e1e9c){return _0x339521===_0x2e1e9c;},'hhgFg':function(_0x17581,_0x15724d){return _0x17581!==_0x15724d;},'awxXo':_0x8a3f9d(0x24c),'kefgv':_0x8a3f9d(0x250),'dMZnp':function(_0x36498a,_0x5ef169){return _0x36498a(_0x5ef169);},'qsWcj':_0x8a3f9d(0x238),'VLwAG':_0x8a3f9d(0x228),'ubTjh':_0x8a3f9d(0x1fa),'zQWEc':_0x8a3f9d(0x24a),'DnMvr':_0x8a3f9d(0x247),'aMuQn':_0x8a3f9d(0x243),'hlWqI':function(_0x4e9a48,_0xdc5cbd){return _0x4e9a48(_0xdc5cbd);}},_0x3459f7={},_0x3c4b39=new Worker(require[_0x8a3f9d(0x239)](_0x3e3136[_0x8a3f9d(0x206)]),{'exposedMethods':[_0x3e3136['VLwAG']],'forkOptions':{'serialization':_0x3e3136['ubTjh'],'stdio':_0x3e3136[_0x8a3f9d(0x24d)]},'numWorkers':_0x5cd68b,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0xf91485=new Emittery();_0xf91485['on'](_0x3e3136[_0x8a3f9d(0x1eb)],_0x2e85cb=>{const _0x3b2373=_0x8a3f9d;_0x2e85cb[0x0]&&logger['info'](_0x3b2373(0x232)+_0x2e85cb[0x1]+_0x3b2373(0x242),_0x2e85cb[0x0]);}),_0xf91485['on'](_0x3e3136[_0x8a3f9d(0x23d)],_0x2355f4=>{const _0x9653ce=_0x8a3f9d;process[_0x9653ce(0x24e)]=0x1;});_0x3c4b39[_0x8a3f9d(0x248)]()&&_0x3c4b39['getStdout']()[_0x8a3f9d(0x24a)](process[_0x8a3f9d(0x227)]);_0x3c4b39[_0x8a3f9d(0x23f)]()&&_0x3c4b39['getStderr']()[_0x8a3f9d(0x24a)](process[_0x8a3f9d(0x1e6)]);const _0x1fcfb4=async()=>{const _0x53be03=_0x8a3f9d,_0x309d8d={'apPQq':function(_0x2e1371,_0x8b70aa){return _0x3e3136['ilZhk'](_0x2e1371,_0x8b70aa);},'aXbIK':function(_0x5b936d,_0xe1eeaf){return _0x3e3136['hhgFg'](_0x5b936d,_0xe1eeaf);},'ldOcc':_0x3e3136[_0x53be03(0x20f)]};let _0x8f0d4d=0x0;const _0x3c7343=_0x3c4b39[_0x53be03(0x224)][_0x53be03(0x212)](),_0x36d4f6=()=>{},_0x21d1f0=_0x3c7343[_0x53be03(0x218)](async _0x3e8fc6=>{const _0x2a5ab3=_0x53be03,_0x226a0d={'sltBv':function(_0x1af023,_0x1f3a3f){const _0x5680e7=a62_0x2870;return _0x309d8d[_0x5680e7(0x22d)](_0x1af023,_0x1f3a3f);},'OSBIH':function(_0x1eec2f,_0x3f78da){const _0x4d699e=a62_0x2870;return _0x309d8d[_0x4d699e(0x246)](_0x1eec2f,_0x3f78da);}};_0x3e8fc6['send']([0x2,![]],_0x36d4f6,_0x36d4f6,_0x36d4f6),_0x3e8fc6[_0x2a5ab3(0x221)]['on'](_0x309d8d['ldOcc'],_0x2c792f=>{const _0x1699b3=_0x2a5ab3;_0x226a0d[_0x1699b3(0x1fc)](_0x8f0d4d,0x0)&&_0x226a0d[_0x1699b3(0x200)](_0x2c792f,0x0)&&(_0x8f0d4d=_0x2c792f);}),await _0x3e8fc6[_0x2a5ab3(0x22f)]();});await Promise[_0x53be03(0x21e)](_0x21d1f0),process[_0x53be03(0x24e)]=_0x8f0d4d;const {forceExited:_0x1f2fa7}=await _0x3c4b39['end']();_0x1f2fa7&&console[_0x53be03(0x20a)](_0x3e3136['kefgv']),_0x3e3136[_0x53be03(0x210)](_0x407380,_0x3459f7);},_0x4adbac=_0x3e3136[_0x8a3f9d(0x23b)](pLimit,_0x5cd68b),_0x1f9530=_0x267dcf=>_0x4adbac(async()=>{const _0x23f7eb=_0x8a3f9d;return _0x3c4b39[_0x23f7eb(0x228)](_0x267dcf);});Promise['all'](_0x5412ac[_0x8a3f9d(0x218)](_0x48b7f7=>_0x1f9530(_0x48b7f7)[_0x8a3f9d(0x20c)](_0x1c1118=>_0xf91485['emit'](_0x8a3f9d(0x247),[_0x48b7f7[_0x8a3f9d(0x201)][_0x8a3f9d(0x214)],_0x48b7f7[_0x8a3f9d(0x201)][_0x8a3f9d(0x23e)]]),_0x2c7d62=>_0xf91485[_0x8a3f9d(0x1e7)](_0x8a3f9d(0x243),[_0x48b7f7,_0x2c7d62]))))[_0x8a3f9d(0x20c)](_0x1fcfb4,_0x1fcfb4);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0xcac34c=a63_0x578c;function a63_0x578c(_0xf4d302,_0x179c48){const _0x442de5=a63_0x442d();return a63_0x578c=function(_0x578c0f,_0x19fcb9){_0x578c0f=_0x578c0f-0x179;let _0x549d81=_0x442de5[_0x578c0f];return _0x549d81;},a63_0x578c(_0xf4d302,_0x179c48);}(function(_0x382fa9,_0x4a0dd9){const _0x4cb85d=a63_0x578c,_0x2619a1=_0x382fa9();while(!![]){try{const _0x304d63=-parseInt(_0x4cb85d(0x18b))/0x1+-parseInt(_0x4cb85d(0x186))/0x2+parseInt(_0x4cb85d(0x192))/0x3+-parseInt(_0x4cb85d(0x17a))/0x4+parseInt(_0x4cb85d(0x17f))/0x5*(-parseInt(_0x4cb85d(0x17e))/0x6)+-parseInt(_0x4cb85d(0x196))/0x7+-parseInt(_0x4cb85d(0x198))/0x8*(-parseInt(_0x4cb85d(0x194))/0x9);if(_0x304d63===_0x4a0dd9)break;else _0x2619a1['push'](_0x2619a1['shift']());}catch(_0x1a7769){_0x2619a1['push'](_0x2619a1['shift']());}}}(a63_0x442d,0xe5d8b));function a63_0x442d(){const _0x1204e9=['SDK_POST_TEST','3329004ohdEoq','GIRbL','cUEoz','../../helpers/test-observability/utils','tWREX','440205cehXKI','../../helpers/performance/performance-tester','run','XUXMv','end','oOVtK','mocha','5357040dhiLmt','EVENTS','1840599lpXmoH','formatter','2002819aAhhrG','startMonitoring','152PnDICg','eTtaQ','6803172XChbiu','../launcher/launcher','runCucumberTest','runTest','6amTAfe','3191605tjkApP','stopMonitoring','configuration','runVanillaTest','../../helpers/performance/constants','PtHwq'];a63_0x442d=function(){return _0x1204e9;};return a63_0x442d();}const PerformanceEvents=require(a63_0xcac34c(0x183))[a63_0xcac34c(0x193)],PerformanceTester=require(a63_0xcac34c(0x18c)),{sleep}=require(a63_0xcac34c(0x189));exports[a63_0xcac34c(0x17d)]=async(_0x4865db,_0x410bf2)=>{const _0x315bd5=a63_0xcac34c,_0x34a217={'PtHwq':function(_0x42fcff,_0x548015){return _0x42fcff(_0x548015);},'wEFbH':_0x315bd5(0x17b),'txgSG':_0x315bd5(0x191),'GIRbL':function(_0x41d1a4,_0x1675b8){return _0x41d1a4(_0x1675b8);}};PerformanceTester[_0x315bd5(0x197)]();const _0x36b2b6=_0x34a217[_0x315bd5(0x184)](require,_0x34a217['wEFbH']),_0x10e025=new _0x36b2b6(_0x34a217['txgSG'],_0x4865db,_0x410bf2),_0x404319=await _0x10e025[_0x315bd5(0x18d)]();return PerformanceTester[_0x315bd5(0x18f)](PerformanceEvents[_0x315bd5(0x185)]),await _0x34a217[_0x315bd5(0x187)](sleep,0x3e8),PerformanceTester[_0x315bd5(0x180)](),_0x404319;},exports[a63_0xcac34c(0x17c)]=async(_0x527ea2,_0x44a637,_0x4bf68b,_0x115c6a,_0x27f834)=>{const _0xf6a30f=a63_0xcac34c,_0x119fe2={'eijXI':function(_0x535fd9,_0x5d13d8){return _0x535fd9(_0x5d13d8);},'XUXMv':_0xf6a30f(0x17b),'tWREX':'cucumber-js'},_0x2413de={'capability':_0x527ea2,..._0x44a637},_0x5d6b9e={};_0x5d6b9e[_0xf6a30f(0x181)]=_0x2413de,_0x5d6b9e[_0xf6a30f(0x195)]=_0x27f834;const _0xe61cdc=_0x5d6b9e,_0x2eb441=_0x119fe2['eijXI'](require,_0x119fe2[_0xf6a30f(0x18e)]),_0x4c95d0=new _0x2eb441(_0x119fe2[_0xf6a30f(0x18a)],_0xe61cdc,_0x4bf68b,_0x115c6a);return await _0x4c95d0[_0xf6a30f(0x18d)]();},exports[a63_0xcac34c(0x182)]=async _0x448b64=>{const _0x7632f9=a63_0xcac34c,_0x41f150={'cUEoz':function(_0x27db99,_0x59c5e6){return _0x27db99(_0x59c5e6);},'eTtaQ':_0x7632f9(0x17b),'oOVtK':'vanilla'},_0x57eaf2=_0x41f150[_0x7632f9(0x188)](require,_0x41f150[_0x7632f9(0x179)]),_0x250e00=new _0x57eaf2(_0x41f150[_0x7632f9(0x190)],_0x448b64);return await _0x250e00['run']();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a64_0x2ebb77=a64_0x446f;(function(_0x48aea9,_0x4c29fc){const _0x5800ea=a64_0x446f,_0x554dcf=_0x48aea9();while(!![]){try{const _0x23e1cc=parseInt(_0x5800ea(0x180))/0x1*(-parseInt(_0x5800ea(0x170))/0x2)+-parseInt(_0x5800ea(0x17e))/0x3*(-parseInt(_0x5800ea(0x17f))/0x4)+parseInt(_0x5800ea(0x17c))/0x5*(-parseInt(_0x5800ea(0x175))/0x6)+parseInt(_0x5800ea(0x176))/0x7+parseInt(_0x5800ea(0x177))/0x8*(-parseInt(_0x5800ea(0x174))/0x9)+parseInt(_0x5800ea(0x172))/0xa*(parseInt(_0x5800ea(0x173))/0xb)+parseInt(_0x5800ea(0x16f))/0xc;if(_0x23e1cc===_0x4c29fc)break;else _0x554dcf['push'](_0x554dcf['shift']());}catch(_0x4cd3f0){_0x554dcf['push'](_0x554dcf['shift']());}}}(a64_0x1875,0xf2415));function a64_0x446f(_0x1a2116,_0x3a37ff){const _0x187517=a64_0x1875();return a64_0x446f=function(_0x446fa5,_0x5123f4){_0x446fa5=_0x446fa5-0x16f;let _0x3104aa=_0x187517[_0x446fa5];return _0x3104aa;},a64_0x446f(_0x1a2116,_0x3a37ff);}const {runTest,runCucumberTest,runVanillaTest}=require(a64_0x2ebb77(0x171));try{require(a64_0x2ebb77(0x17d))['installAll']();}catch(a64_0xfef4ef){}exports[a64_0x2ebb77(0x178)]=async(_0x164636,_0x1b724a)=>{const _0x5aa168=a64_0x2ebb77,_0x66cd40={'WMMMK':function(_0x5cedda,_0x59cff7,_0x3c99b1){return _0x5cedda(_0x59cff7,_0x3c99b1);}};return await _0x66cd40[_0x5aa168(0x17b)](runTest,_0x164636,_0x1b724a);},exports[a64_0x2ebb77(0x17a)]=async(_0x4a6335,_0x57ff01,_0x474dc2,_0x5b8e90,_0x2b6c25)=>{const _0x3d9211={'ZtwEi':function(_0xc990d6,_0x3b3a26,_0x2af594,_0x12c01e,_0x2145a1,_0x3d0076){return _0xc990d6(_0x3b3a26,_0x2af594,_0x12c01e,_0x2145a1,_0x3d0076);}};return await _0x3d9211['ZtwEi'](runCucumberTest,_0x4a6335,_0x57ff01,_0x474dc2,_0x5b8e90,_0x2b6c25);},exports[a64_0x2ebb77(0x181)]=async _0x170bb5=>{const _0x4883ea=a64_0x2ebb77,_0x3b165c={'TYHHk':function(_0x32ecd7,_0x48096e){return _0x32ecd7(_0x48096e);}};return await _0x3b165c[_0x4883ea(0x179)](runVanillaTest,_0x170bb5);};function a64_0x1875(){const _0x54b2c1=['11uAsdxT','9251721HzcvgO','3372xKfdYJ','6301022xGYmuD','8ToSFqw','worker','TYHHk','cucumberWorker','WMMMK','16715wJtdTl','../../helpers/driverInitErrorReporter','27381qzHGFH','752wAOepz','631xNsjKd','vanillaWorker','18898680jHwwab','1766HrWnui','./runTest','2652730usTDVZ'];a64_0x1875=function(){return _0x54b2c1;};return a64_0x1875();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a65_0xe17abe=a65_0x415b;(function(_0x3c4bf3,_0x27a2b7){const _0x1fb326=a65_0x415b,_0xc79893=_0x3c4bf3();while(!![]){try{const _0x4f39fa=-parseInt(_0x1fb326(0xa2))/0x1*(-parseInt(_0x1fb326(0xc2))/0x2)+-parseInt(_0x1fb326(0xa0))/0x3*(-parseInt(_0x1fb326(0xc8))/0x4)+-parseInt(_0x1fb326(0xcd))/0x5*(parseInt(_0x1fb326(0x9b))/0x6)+-parseInt(_0x1fb326(0xb1))/0x7+parseInt(_0x1fb326(0xc7))/0x8*(parseInt(_0x1fb326(0x9d))/0x9)+parseInt(_0x1fb326(0xbe))/0xa+parseInt(_0x1fb326(0xbf))/0xb*(parseInt(_0x1fb326(0x9a))/0xc);if(_0x4f39fa===_0x27a2b7)break;else _0xc79893['push'](_0xc79893['shift']());}catch(_0x2c7621){_0xc79893['push'](_0xc79893['shift']());}}}(a65_0xf777,0x65bcc));const util=require(a65_0xe17abe(0xc4)),logger=require(a65_0xe17abe(0xab))['winstonLogger'],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require('../utils/constants');async function _run(_0x440d23,_0x181a17,_0x7306a2,_0x3f474f){const _0x56beb1=a65_0xe17abe,_0x3d2824={'Cpsgk':function(_0x1f3416,_0x19707a){return _0x1f3416(_0x19707a);},'EcKOU':_0x56beb1(0xaf),'ufCFw':function(_0x2e1d1b,_0x2473a9){return _0x2e1d1b!==_0x2473a9;},'cZcZZ':'function','dxUBW':function(_0x4aaa85,_0x521cf6){return _0x4aaa85||_0x521cf6;},'RsVyz':function(_0x574e26,_0x242453){return _0x574e26||_0x242453;},'vSirH':_0x56beb1(0xc5),'lzUMX':_0x56beb1(0xce)};try{const _0x8cc345=_0x3d2824['Cpsgk'](require,_0x3d2824['EcKOU']),_0x1b26ea=_0x8cc345[_0x56beb1(0xc6)]();if(!_0x1b26ea||!_0x1b26ea[_0x56beb1(0xc9)]())return null;const _0x47f790=_0x1b26ea[_0x56beb1(0xa8)]&&_0x1b26ea['getAccessibilityModule']();if(!_0x47f790)return null;if(_0x3d2824[_0x56beb1(0xae)](typeof _0x47f790['getScriptByName'],_0x3d2824[_0x56beb1(0xca)]))return null;const _0xfbf034=_0x47f790['getScriptByName'](_0x440d23);if(!_0xfbf034||!_0xfbf034['command'])return logger[_0x56beb1(0x9f)](_0x56beb1(0xbc)+_0x440d23+_0x56beb1(0xa5)),null;const _0x55bc8=await _0x181a17[_0x56beb1(0xa4)](_0xfbf034[_0x56beb1(0xb7)],_0x3d2824[_0x56beb1(0xba)](_0x3f474f,{}));logger[_0x56beb1(0x9f)](_0x56beb1(0xcc)+_0x440d23+_0x56beb1(0xa6)+JSON[_0x56beb1(0xc0)](_0x55bc8));try{const _0xb5c2d=AUTOMATION_LOG_COMMANDS['find'](_0x1e01b8=>_0xfbf034[_0x56beb1(0xb7)][_0x56beb1(0xad)](_0x1e01b8));if(_0xb5c2d){const _0xbb65d9={};_0xbb65d9[_0x56beb1(0xcb)]=_0x55bc8,automationLogger[_0x56beb1(0x9e)]('['+new Date()[_0x56beb1(0xc1)]()+_0x56beb1(0xb2)+JSON[_0x56beb1(0xc0)]({'request':{'command':_0xb5c2d,'parameters':[_0x3d2824[_0x56beb1(0xb4)](_0x3f474f,{})]},'response':_0xbb65d9}));}}catch(_0x110ccf){logger[_0x56beb1(0x9f)](util[_0x56beb1(0xbd)](_0x3d2824['vSirH'],_0x440d23,_0x110ccf));}return _0x55bc8;}catch(_0xacc04b){return logger[_0x56beb1(0x9f)](util[_0x56beb1(0xbd)](_0x3d2824[_0x56beb1(0xa7)],_0x440d23,_0xacc04b)),null;}}function _argsFor(_0x286aec,_0x170761,_0x2a9eab,_0x5abb8c){const _0x5f5b4d=a65_0xe17abe,_0x851492={'pwqRL':function(_0x27dd4e,_0x5749cc){return _0x27dd4e(_0x5749cc);},'ebIFj':'../v2/browserstackCLI','GREST':function(_0x57316c,_0x4b6b59){return _0x57316c===_0x4b6b59;},'xqZKh':_0x5f5b4d(0xb6),'chsyi':_0x5f5b4d(0xd1),'kEgmz':function(_0x439e11,_0x294d46){return _0x439e11||_0x294d46;},'KlJPK':function(_0x4df806,_0xfc7f9a){return _0x4df806||_0xfc7f9a;}},_0x59dc89=_0x851492[_0x5f5b4d(0xa3)](require,_0x851492[_0x5f5b4d(0xb8)]),_0x5a5f70=_0x59dc89[_0x5f5b4d(0xc6)](),_0x12619c=_0x5a5f70&&_0x5a5f70[_0x5f5b4d(0xa8)]&&_0x5a5f70['getAccessibilityModule']();let _0x23a97b='';const _0x526c54=process[_0x5f5b4d(0xb9)][_0x5f5b4d(0xd0)]||'';try{_0x12619c&&_0x851492['GREST'](typeof _0x12619c['getCapabilityValue'],_0x851492[_0x5f5b4d(0xa1)])&&(_0x23a97b=_0x12619c[_0x5f5b4d(0xaa)](_0x851492['chsyi'])||'');}catch(_0x3b3f34){}return{'thTestRunUuid':_0x851492[_0x5f5b4d(0xb0)](_0x170761,''),'thBuildUuid':_0x23a97b,'thJwtToken':_0x526c54,'is_mobile_session':!!_0x5abb8c,'commandName':_0x851492['KlJPK'](_0x2a9eab,_0x286aec)};}exports[a65_0xe17abe(0xbb)]=async(_0x5a90ae,_0x14585f,_0x3e3b49,_0x390f72)=>{const _0x2143d7=a65_0xe17abe,_0x3b9be3={'saDPa':function(_0x52d244,_0x2fa8f5,_0x4fa522,_0x36170e,_0x5a3790){return _0x52d244(_0x2fa8f5,_0x4fa522,_0x36170e,_0x5a3790);},'vkCxl':_0x2143d7(0xb3)},_0xc1da2e=_0x3b9be3['saDPa'](_argsFor,_0x3b9be3[_0x2143d7(0xac)],_0x14585f,_0x3e3b49,_0x390f72);return _0x3b9be3[_0x2143d7(0xb5)](_run,_0x3b9be3['vkCxl'],_0x5a90ae,_0x14585f,_0xc1da2e);},exports[a65_0xe17abe(0x9c)]=async(_0x2bf016,_0x4322c0,_0x2e21ba)=>{const _0xe0c108=a65_0xe17abe,_0x6a5b79={'RlhRH':function(_0x4a9191,_0x1c7322,_0xc8bbf1,_0xf24936,_0x244359){return _0x4a9191(_0x1c7322,_0xc8bbf1,_0xf24936,_0x244359);},'lBkkz':_0xe0c108(0xcf)},_0x4f5966=_0x6a5b79[_0xe0c108(0xc3)](_argsFor,_0x6a5b79[_0xe0c108(0xa9)],_0x4322c0,_0x6a5b79['lBkkz'],_0x2e21ba);return _0x6a5b79[_0xe0c108(0xc3)](_run,_0x6a5b79[_0xe0c108(0xa9)],_0x2bf016,_0x4322c0,_0x4f5966);};function a65_0x415b(_0x37ee94,_0x4adc46){const _0xf77774=a65_0xf777();return a65_0x415b=function(_0x415b62,_0x1fbb52){_0x415b62=_0x415b62-0x9a;let _0x1658b7=_0xf77774[_0x415b62];return _0x1658b7;},a65_0x415b(_0x37ee94,_0x4adc46);}function a65_0xf777(){const _0x255bc4=['\x20result:\x20','lzUMX','getAccessibilityModule','lBkkz','getCapabilityValue','../../helpers/logger','vkCxl','includes','ufCFw','../v2/browserstackCLI','kEgmz','5575486BTotsc','][\x20SDK-AUTOMATION\x20]\x20','scan','RsVyz','saDPa','function','command','ebIFj','env','dxUBW','runScan','[a11y-runner]\x20no\x20\x27','format','7080380dAnfMd','218713HxgaQB','stringify','toISOString','74278nVRArS','RlhRH','util','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','getInstance','16bjJEXW','104BiPkQr','isRunning','cZcZZ','body','[a11y-runner]\x20','5kEJVyr','[a11y-runner]\x20%s\x20failed:\x20%O','saveResults','BROWSERSTACK_TESTHUB_JWT','testhub_build_uuid','12FraQzh','1516272JFatCr','runSaveResults','537885SZXUrZ','silly','debug','15654nDTReD','xqZKh','13rOlfNR','pwqRL','executeAsyncScript','\x27\x20script\x20available'];a65_0xf777=function(){return _0x255bc4;};return a65_0xf777();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a65_0x495968=a65_0x2b81;(function(_0x99b076,_0x4b4b37){const _0x5f1f31=a65_0x2b81,_0x14aa79=_0x99b076();while(!![]){try{const _0x405e6b=-parseInt(_0x5f1f31(0x14b))/0x1*(parseInt(_0x5f1f31(0x139))/0x2)+parseInt(_0x5f1f31(0x19a))/0x3+parseInt(_0x5f1f31(0xbf))/0x4*(parseInt(_0x5f1f31(0x10e))/0x5)+parseInt(_0x5f1f31(0x134))/0x6*(parseInt(_0x5f1f31(0x117))/0x7)+-parseInt(_0x5f1f31(0xbe))/0x8*(-parseInt(_0x5f1f31(0x116))/0x9)+-parseInt(_0x5f1f31(0xc2))/0xa*(-parseInt(_0x5f1f31(0xd1))/0xb)+-parseInt(_0x5f1f31(0x186))/0xc;if(_0x405e6b===_0x4b4b37)break;else _0x14aa79['push'](_0x14aa79['shift']());}catch(_0x2b9667){_0x14aa79['push'](_0x14aa79['shift']());}}}(a65_0x48a8,0x2b232));const path=require('path'),logger=require(a65_0x495968(0xde))[a65_0x495968(0x136)],helper=require(a65_0x495968(0xd7)),utilities=require(a65_0x495968(0x127)),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require(a65_0x495968(0xfe)),GrpcClient=require(a65_0x495968(0x158)),{printBuildLink}=require(a65_0x495968(0x18d)),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x43389e=a65_0x495968,_0x407698={};_0x407698[_0x43389e(0x15e)]='testcafe',_0x407698[_0x43389e(0x119)]='testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.';const _0x40ca69=_0x407698;try{require[_0x43389e(0xb9)](_0x40ca69[_0x43389e(0x15e)],{'paths':[process['cwd']()]});}catch(_0xc07c5c){throw new Error(_0x40ca69['fJPsF']);}},loadTestCafeFactory=()=>{const _0xeea0e7=a65_0x495968,_0x40d218={'JXOuo':_0xeea0e7(0xf6),'RJSWi':function(_0x24cfb1,_0x4adab6){return _0x24cfb1(_0x4adab6);}},_0x2c6de4=require[_0xeea0e7(0xb9)](_0x40d218[_0xeea0e7(0x16c)],{'paths':[process[_0xeea0e7(0x19b)]()]});return _0x40d218[_0xeea0e7(0x10a)](require,_0x2c6de4);},w3cDriver=require(a65_0x495968(0x101)),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a65_0x495968(0x1ac),a65_0x495968(0x1ba),'safari',a65_0x495968(0xec),'ie',a65_0x495968(0xfc),a65_0x495968(0x16d),a65_0x495968(0xf5),'remote']),looksLikeBrowserArg=_0x4065e0=>{const _0x420353=a65_0x495968,_0x2e9d07={};_0x2e9d07[_0x420353(0xa8)]='0|3|2|1|4',_0x2e9d07[_0x420353(0x165)]=function(_0x4754f2,_0x5df761){return _0x4754f2!==_0x5df761;},_0x2e9d07[_0x420353(0x12b)]=_0x420353(0x189),_0x2e9d07['KpuhE']=_0x420353(0x13e),_0x2e9d07[_0x420353(0x18a)]='firefox:';const _0x4f9004=_0x2e9d07,_0x1f3599=_0x4f9004[_0x420353(0xa8)][_0x420353(0xfd)]('|');let _0x6323c8=0x0;while(!![]){switch(_0x1f3599[_0x6323c8++]){case'0':if(_0x4f9004['lEjZL'](typeof _0x4065e0,_0x4f9004[_0x420353(0x12b)]))return![];continue;case'1':if(_0x4065e0[_0x420353(0x13a)](_0x4f9004['KpuhE'])||_0x4065e0[_0x420353(0x13a)](_0x4f9004[_0x420353(0x18a)]))return!![];continue;case'2':if(KNOWN_LOCAL_BROWSERS[_0x420353(0x174)](_0x4065e0[_0x420353(0x142)]()))return!![];continue;case'3':if(_0x4065e0[_0x420353(0x16a)](':')&&!_0x4065e0[_0x420353(0x16a)]('/'))return!![];continue;case'4':return![];}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x1ff27f=>{const _0x442ba0=a65_0x495968,_0x41b841={'mlIyW':function(_0x1936c8,_0x1db3ca){return _0x1936c8<_0x1db3ca;},'zfOQS':function(_0x5d84a7,_0x5e2db5){return _0x5d84a7===_0x5e2db5;},'jGlee':_0x442ba0(0x146),'vVoYj':_0x442ba0(0xc6),'jfkol':'-b=','NHxgg':function(_0x1db3d5,_0x3e5047,_0x58c415){return _0x1db3d5(_0x3e5047,_0x58c415);},'HhuhJ':function(_0xbe02eb,_0x328a8c){return _0xbe02eb+_0x328a8c;},'ewVUy':function(_0x2ea5d5,_0x3da08b){return _0x2ea5d5+_0x3da08b;},'TSmLS':function(_0x142f50,_0x51f808,_0xf32722){return _0x142f50(_0x51f808,_0xf32722);},'ZReEE':function(_0x2183b9,_0x411291){return _0x2183b9(_0x411291);}},_0x45aa70=[];let _0x4f032;for(let _0x1b62fa=0x0;_0x41b841[_0x442ba0(0xaf)](_0x1b62fa,_0x1ff27f[_0x442ba0(0x190)]);_0x1b62fa++){const _0x1ed256=_0x1ff27f[_0x1b62fa];if(_0x41b841['zfOQS'](_0x1ed256,'-b')||_0x41b841[_0x442ba0(0xe3)](_0x1ed256,_0x41b841[_0x442ba0(0xc9)])){_0x1b62fa++;continue;}if(_0x1ed256['startsWith'](_0x41b841[_0x442ba0(0x110)])||_0x1ed256[_0x442ba0(0x13a)](_0x41b841[_0x442ba0(0x173)]))continue;const _0x1e3285=_0x1ed256[_0x442ba0(0x148)](_CONCURRENCY_PATTERN);if(_0x1e3285){if(_0x1e3285[0x1]){_0x4f032=_0x41b841[_0x442ba0(0x11a)](parseInt,_0x1e3285[0x1],0xa);continue;}if(_0x1ff27f[_0x41b841[_0x442ba0(0x18e)](_0x1b62fa,0x1)]&&/^\d+$/[_0x442ba0(0x192)](_0x1ff27f[_0x41b841[_0x442ba0(0x1a3)](_0x1b62fa,0x1)])){_0x4f032=_0x41b841[_0x442ba0(0x11a)](parseInt,_0x1ff27f[_0x41b841[_0x442ba0(0x18e)](_0x1b62fa,0x1)],0xa),_0x1b62fa++;continue;}continue;}const _0x4c70ff=_0x1ed256[_0x442ba0(0x148)](/^-c(\d+)$/);if(_0x4c70ff){_0x4f032=_0x41b841['TSmLS'](parseInt,_0x4c70ff[0x1],0xa);continue;}if(_0x41b841[_0x442ba0(0xf4)](looksLikeBrowserArg,_0x1ed256))continue;_0x45aa70[_0x442ba0(0x1aa)](_0x1ed256);}const _0x524799={};return _0x524799[_0x442ba0(0x102)]=_0x45aa70,_0x524799[_0x442ba0(0x149)]=_0x4f032,_0x524799;},parseCapabilities=_0x434968=>{const _0x1fcd37=a65_0x495968,_0x78cae9={};_0x78cae9['qKwFa']=_0x1fcd37(0xd0),_0x78cae9[_0x1fcd37(0x106)]=_0x1fcd37(0x17a);const _0x5d7a23=_0x78cae9,_0x58b11b=_0x434968['getCapabilities']&&_0x434968['getCapabilities']()||_0x434968[_0x1fcd37(0xda)];if(!_0x58b11b)throw new Error(_0x5d7a23[_0x1fcd37(0xc3)]);const _0x647d76=Buffer[_0x1fcd37(0x122)](_0x58b11b)?_0x58b11b:Buffer[_0x1fcd37(0xbc)](_0x58b11b),_0x34d72a=JSON[_0x1fcd37(0xa3)](_0x647d76[_0x1fcd37(0xd4)](_0x5d7a23[_0x1fcd37(0x106)])[_0x1fcd37(0x153)]());if(_0x34d72a[_0x1fcd37(0x157)])return _0x34d72a['desiredCapabilities'];if(_0x34d72a[_0x1fcd37(0xda)]&&_0x34d72a[_0x1fcd37(0xda)][_0x1fcd37(0x114)])return _0x34d72a['capabilities'][_0x1fcd37(0x114)];return _0x34d72a;};async function provisionSession(_0x9065a5,_0x58f62b){const _0x5446ef=a65_0x495968,_0x281a47={'oJipc':_0x5446ef(0xf6),'eNPyG':function(_0x45baf2,_0x646b99){return _0x45baf2(_0x646b99);}};logger[_0x5446ef(0xe9)]('[testcafe]\x20provisioning\x20session\x20for\x20platform['+_0x58f62b+']');const _0x34da69=await _0x9065a5[_0x5446ef(0x11c)](),_0x3607b8=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x58f62b,'ref':_0x281a47[_0x5446ef(0x1b7)],'userInputParams':Buffer[_0x5446ef(0xbc)](JSON[_0x5446ef(0xe1)]({})),'hubUrl':''}),_0x188904=_0x281a47[_0x5446ef(0xe8)](parseCapabilities,_0x3607b8),_0x2dd5fc=(_0x3607b8['getHubUrl']&&_0x3607b8[_0x5446ef(0xac)]()||_0x3607b8['hubUrl']||'')[_0x5446ef(0x153)]()||BrowserstackCLI[_0x5446ef(0xed)]()?.['getConfig']()?.['hubUrl']||process['env'][_0x5446ef(0x154)];if(!_0x2dd5fc)throw new Error('[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform['+_0x58f62b+']\x20—\x20cannot\x20open\x20BrowserStack\x20session');logger['info']('[testcafe]\x20platform['+_0x58f62b+_0x5446ef(0x10c)+_0x2dd5fc);const _0x25c480={};_0x25c480[_0x5446ef(0xa5)]=_0x2dd5fc,_0x25c480[_0x5446ef(0xda)]=_0x188904;const {driver:_0x36a425,sessionId:_0x10afe2}=await w3cDriver[_0x5446ef(0x13c)](_0x25c480);await _0x36a425[_0x5446ef(0x179)](_0x34da69[_0x5446ef(0x1be)]);const _0x355601={};_0x355601['platformIndex']=_0x58f62b,_0x355601['driver']=_0x36a425,_0x355601[_0x5446ef(0x17b)]=_0x10afe2,_0x355601[_0x5446ef(0xb5)]=_0x34da69,_0x355601[_0x5446ef(0xda)]=_0x188904,_0x355601['hubUrl']=_0x2dd5fc,registry[_0x5446ef(0x13d)](_0x355601),logger[_0x5446ef(0xe9)]('[testcafe]\x20platform['+_0x58f62b+']\x20BrowserStack\x20session='+_0x10afe2+_0x5446ef(0x17f)+_0x34da69[_0x5446ef(0x1be)]);const _0x5041c2={};return _0x5041c2[_0x5446ef(0xb5)]=_0x34da69,_0x5041c2[_0x5446ef(0x17b)]=_0x10afe2,_0x5041c2[_0x5446ef(0xc5)]=_0x36a425,_0x5041c2['platformIndex']=_0x58f62b,_0x5041c2[_0x5446ef(0xda)]=_0x188904,_0x5041c2['hubUrl']=_0x2dd5fc,_0x5041c2;}async function run(_0x30ff7d,_0xfe0e86,_0x1a8bed){const _0x2c29f0=a65_0x495968,_0x2eaf40={'rKgJZ':function(_0x12bff5,_0x17754f){return _0x12bff5(_0x17754f);},'agXPI':function(_0x22b500,_0x1c5078,_0x252671){return _0x22b500(_0x1c5078,_0x252671);},'LubTY':function(_0xe6a499,_0x3820d1){return _0xe6a499===_0x3820d1;},'ORzcr':_0x2c29f0(0x18f),'TnTnt':function(_0xd0c229,_0x524f9b){return _0xd0c229(_0x524f9b);},'GFaEV':function(_0xaccdb,_0x46034d){return _0xaccdb/_0x46034d;},'XHRWd':function(_0xbd2143,_0x1a3a84){return _0xbd2143/_0x1a3a84;},'BgEcr':function(_0x2f1d5b,_0x33a3fa){return _0x2f1d5b(_0x33a3fa);},'gUEjK':'unknown\x20error\x20(falsy)','IAWMz':function(_0xb849e0,_0x486826){return _0xb849e0===_0x486826;},'FODiD':_0x2c29f0(0x189),'XEFTG':function(_0x5a7da3,_0x245414){return _0x5a7da3===_0x245414;},'MyqhN':function(_0x32ed61,_0x76e71d){return _0x32ed61(_0x76e71d);},'xAYsT':_0x2c29f0(0xd5),'xVfEx':function(_0x19a036){return _0x19a036();},'vjisW':_0x2c29f0(0x113),'xCtWB':function(_0x2e03f6,_0x177757){return _0x2e03f6===_0x177757;},'iCxUi':function(_0xa82d2,_0x4d6ca1){return _0xa82d2===_0x4d6ca1;},'EjJUu':'false','LQCee':function(_0x25e5dc,_0x2064ba){return _0x25e5dc===_0x2064ba;},'VubLc':function(_0x53679b,_0x4be150){return _0x53679b===_0x4be150;},'gXYbh':function(_0x2f7dc4,_0x3f9cc7){return _0x2f7dc4===_0x3f9cc7;},'dZKEc':function(_0x1f5f73,_0x36583d){return _0x1f5f73(_0x36583d);},'ZpCbX':function(_0x30daf3,_0x282ea9){return _0x30daf3===_0x282ea9;},'ELvte':function(_0x31b6a6,_0x4843e3){return _0x31b6a6&&_0x4843e3;},'OZnws':function(_0x3369fb,_0x14c991){return _0x3369fb!==_0x14c991;},'scGWN':_0x2c29f0(0x180),'Axjjp':'testcafe','ZTJST':_0x2c29f0(0x16e),'aVGAx':function(_0x507f39,_0x1affc){return _0x507f39+_0x1affc;},'YvESu':_0x2c29f0(0x115),'OwMbk':_0x2c29f0(0x175),'jURho':function(_0x109734,_0x3ed7fa){return _0x109734||_0x3ed7fa;},'rmOpM':function(_0x3ade41,_0x4347e8){return _0x3ade41===_0x4347e8;},'ETUON':function(_0x51fd8e,_0x306219){return _0x51fd8e>_0x306219;},'POjxP':_0x2c29f0(0xef),'CwnJL':'[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.','JWdKM':function(_0xcd06f4,_0x58cf2f){return _0xcd06f4+_0x58cf2f;},'nGqrE':function(_0x417491,_0xb78ace){return _0x417491(_0xb78ace);},'Kfzkz':_0x2c29f0(0x194),'cGeZC':_0x2c29f0(0x14d),'sIFby':function(_0x308112,_0x480585){return _0x308112(_0x480585);},'LNnqp':_0x2c29f0(0x138),'dHrcj':function(_0x189a20,_0x443a10){return _0x189a20(_0x443a10);},'HXkWc':_0x2c29f0(0x171),'pazCc':function(_0x5e2d32,_0x45e167){return _0x5e2d32>_0x45e167;},'McqdR':function(_0x4a1381,_0x343fd5){return _0x4a1381(_0x343fd5);},'ztWDs':'./testcafe-action-patcher','bQJam':'testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','phMrk':_0x2c29f0(0x12f),'ipBet':_0x2c29f0(0xe4),'CxyBb':_0x2c29f0(0xd6),'SEgqB':_0x2c29f0(0xa1),'NOuIl':function(_0x11a310,_0x3742d1){return _0x11a310===_0x3742d1;},'NGLKw':function(_0x237ca7,_0x3090b1){return _0x237ca7===_0x3090b1;},'PnVOj':function(_0x3ecfe2,_0xf3b647){return _0x3ecfe2(_0xf3b647);},'HdnIp':_0x2c29f0(0x1af),'BnPSK':function(_0x335553,_0x304889){return _0x335553<_0x304889;},'TTNbp':function(_0x458991,_0x45d225){return _0x458991===_0x45d225;},'cwbDR':function(_0xbf263e,_0x530ed4){return _0xbf263e===_0x530ed4;},'ylGpS':_0x2c29f0(0x146),'KlZBn':function(_0x33cfdd,_0x3589){return _0x33cfdd+_0x3589;},'LBkSo':_0x2c29f0(0xc6),'mRPCj':_0x2c29f0(0xdc),'OrXHK':_0x2c29f0(0xfb),'KfRPG':_0x2c29f0(0x156),'blSpL':_0x2c29f0(0xc0),'KfDGW':function(_0x105b39,_0x4c5a2d){return _0x105b39===_0x4c5a2d;},'PSpog':_0x2c29f0(0x121),'CTzzB':function(_0x29ab64,_0x478cc0){return _0x29ab64>_0x478cc0;},'kaqNx':function(_0x436cd0){return _0x436cd0();},'Bvjpl':function(_0xd8f36c,_0x31dca6,_0x296b1d){return _0xd8f36c(_0x31dca6,_0x296b1d);},'ZgRoE':function(_0x2fe98d,_0x28425a,_0xc9a455){return _0x2fe98d(_0x28425a,_0xc9a455);},'WwyIv':function(_0x4a2e2e,_0x42a6ba){return _0x4a2e2e*_0x42a6ba;},'nryhm':_0x2c29f0(0x104),'lyOTL':'failed','tQZTh':function(_0x56b6b0){return _0x56b6b0();},'LeIFA':function(_0x2d346c,_0x2b5532){return _0x2d346c!==_0x2b5532;},'FQRgl':function(_0x5ea704,_0x3fb50c){return _0x5ea704===_0x3fb50c;},'JVDyP':function(_0x2b84a1){return _0x2b84a1();}};_0x2eaf40['xVfEx'](detectPeerDeps);if(!_0x1a8bed[_0x2c29f0(0xfa)]){logger[_0x2c29f0(0xe7)](_0x2eaf40[_0x2c29f0(0x14e)]);return;}const _0x2f950f=_0x1a8bed[_0x2c29f0(0xfa)],_0x429766=_0x2eaf40[_0x2c29f0(0xdd)](_0x2f950f['browserstackAutomation'],![])||_0x2eaf40[_0x2c29f0(0x181)](_0x2f950f[_0x2c29f0(0x15d)],_0x2eaf40[_0x2c29f0(0x13b)])||_0x2eaf40[_0x2c29f0(0x193)](_0x2eaf40[_0x2c29f0(0x191)](String,_0x2f950f[_0x2c29f0(0x15d)]||'')[_0x2c29f0(0x142)](),_0x2eaf40[_0x2c29f0(0x13b)]),_0x73369d=_0x2eaf40[_0x2c29f0(0x11e)](_0x2f950f[_0x2c29f0(0x129)],![])||_0x2eaf40['IAWMz'](_0x2f950f[_0x2c29f0(0x129)],_0x2eaf40[_0x2c29f0(0x13b)])||_0x2eaf40['gXYbh'](_0x2eaf40[_0x2c29f0(0x105)](String,_0x2eaf40[_0x2c29f0(0x172)](_0x2f950f['browserstackLocal'],undefined)?'':_0x2f950f[_0x2c29f0(0x129)])[_0x2c29f0(0x142)](),_0x2eaf40[_0x2c29f0(0x13b)]);_0x2eaf40['ELvte'](!_0x429766,!_0x73369d)&&_0x2eaf40[_0x2c29f0(0x14c)](_0x2f950f[_0x2c29f0(0x129)],!![])&&(logger[_0x2c29f0(0xe9)](_0x2eaf40[_0x2c29f0(0x1b5)]),_0x2f950f[_0x2c29f0(0x129)]=!![]);await _0x1a8bed[_0x2c29f0(0xa6)](_0x30ff7d),CLIUtils['setFrameworkDetail'](_0x2eaf40[_0x2c29f0(0x160)],_0x2eaf40[_0x2c29f0(0x160)]),BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0x18b)](_0x1a8bed[_0x2c29f0(0xfa)],_0x1a8bed[_0x2c29f0(0xf3)],_0x1a8bed[_0x2c29f0(0xff)]);try{await BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0x188)]();if(!BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0x108)]())throw new Error(_0x2eaf40[_0x2c29f0(0x10f)]);}catch(_0x182b4a){process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x2eaf40[_0x2c29f0(0x1a5)](_0x2eaf40[_0x2c29f0(0x1a5)](_0x2c29f0(0x164)+_0x182b4a['message']+'\x0a',_0x2eaf40[_0x2c29f0(0x167)]),_0x2eaf40[_0x2c29f0(0x15c)])),logger[_0x2c29f0(0xe7)](_0x2c29f0(0x100)+(_0x182b4a['stack']||_0x182b4a)),process[_0x2c29f0(0x168)]=0x1;return;}const _0x546642=BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0xcb)](),_0x2df7d2=_0x1a8bed[_0x2c29f0(0xfa)]||{};let _0x19b9f8=_0x2eaf40[_0x2c29f0(0xf2)](_0x546642,_0x2df7d2)||{},_0x7ba477=Array[_0x2c29f0(0x11b)](_0x19b9f8['platforms'])?_0x19b9f8[_0x2c29f0(0x1a1)]:[];_0x2eaf40['rmOpM'](_0x7ba477['length'],0x0)&&Array[_0x2c29f0(0x11b)](_0x2df7d2[_0x2c29f0(0x1a1)])&&_0x2eaf40[_0x2c29f0(0xb4)](_0x2df7d2[_0x2c29f0(0x1a1)][_0x2c29f0(0x190)],0x0)&&(logger[_0x2c29f0(0xb8)](_0x2c29f0(0x176)+_0x2df7d2[_0x2c29f0(0x1a1)][_0x2c29f0(0x190)]+')'),_0x19b9f8=_0x2df7d2,_0x7ba477=_0x2df7d2[_0x2c29f0(0x1a1)]);if(_0x2eaf40[_0x2c29f0(0x18c)](_0x7ba477[_0x2c29f0(0x190)],0x0)){process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x2eaf40[_0x2c29f0(0x133)]),process[_0x2c29f0(0x168)]=0x1;return;}if(_0x2eaf40[_0x2c29f0(0x147)](_0x19b9f8[_0x2c29f0(0x1b0)],!![])||_0x19b9f8[_0x2c29f0(0x1b0)]&&_0x19b9f8[_0x2c29f0(0x1b0)]['projectToken']){const _0x3ab6db=_0x2eaf40[_0x2c29f0(0xee)];process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x2eaf40['JWdKM'](_0x3ab6db,'\x0a')),logger[_0x2c29f0(0xb8)](_0x3ab6db);}const {testSources:_0x2ab4a0,concurrency:_0x2ab24d}=_0x2eaf40['nGqrE'](filterArgs,_0xfe0e86[_0x2c29f0(0xdf)](0x1));if(_0x2eaf40[_0x2c29f0(0x10b)](_0x2ab4a0[_0x2c29f0(0x190)],0x0)){process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x2eaf40[_0x2c29f0(0x198)]),process[_0x2c29f0(0x168)]=0x1;return;}logger[_0x2c29f0(0xe9)](_0x2c29f0(0x182)+JSON[_0x2c29f0(0xe1)](_0x2ab4a0)+_0x2c29f0(0x1b4)+_0x7ba477[_0x2c29f0(0x190)]+',\x20concurrency='+_0x2eaf40[_0x2c29f0(0xf2)](_0x2ab24d,_0x2eaf40[_0x2c29f0(0xbb)]));let _0xd3418c;try{_0xd3418c=_0x2eaf40[_0x2c29f0(0x1ad)](loadTestCafeFactory);}catch(_0xca19a9){process[_0x2c29f0(0x19c)]['write']('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0xca19a9[_0x2c29f0(0x151)]+'\x0a'),process[_0x2c29f0(0x168)]=0x1;return;}const _0x1bb1ac=await _0x2eaf40[_0x2c29f0(0x1a2)](_0xd3418c,_0x2eaf40[_0x2c29f0(0x1b6)]);let _0x2d925e=0x1;const _0x515d87=0x7530,_0x44ed65=[],_0x583c8e=(_0x424a14,_0x478bc4)=>{const _0x16b59d=_0x2c29f0,_0x2052e4=_0x2eaf40[_0x16b59d(0x1bb)](setInterval,async()=>{const _0x6f8a59=_0x16b59d;try{await _0x424a14['getCurrentUrl']();}catch(_0x469382){logger['debug'](_0x6f8a59(0x145)+_0x478bc4+':\x20'+_0x469382[_0x6f8a59(0x151)]+_0x6f8a59(0xad)),_0x2eaf40[_0x6f8a59(0x112)](clearInterval,_0x2052e4);}},_0x515d87);_0x2eaf40[_0x16b59d(0x11d)](typeof _0x2052e4[_0x16b59d(0xb1)],_0x2eaf40[_0x16b59d(0x184)])&&_0x2052e4[_0x16b59d(0xb1)](),_0x44ed65[_0x16b59d(0x1aa)](_0x2052e4);},_0x403dc5=()=>{const _0xa9e3d2=_0x2c29f0;for(const _0x56f9d5 of _0x44ed65){_0x2eaf40[_0xa9e3d2(0xb0)](clearInterval,_0x56f9d5);}_0x44ed65[_0xa9e3d2(0x190)]=0x0;};_0x2d925e=0x0;const _0x5a758a=_0x2eaf40[_0x2c29f0(0xc1)](require,_0x2eaf40[_0x2c29f0(0x10d)]);_0x5a758a[_0x2c29f0(0xf7)]();try{const _0xf3ee11=BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0x132)]&&BrowserstackCLI['getInstance']()[_0x2c29f0(0x132)](),_0x3a4b83=_0xf3ee11&&_0xf3ee11[_0x2c29f0(0xab)]&&_0xf3ee11[_0x2c29f0(0xab)][_0x2c29f0(0x155)]&&_0xf3ee11[_0x2c29f0(0xab)][_0x2c29f0(0x155)][_0x2c29f0(0x141)]&&(_0xf3ee11[_0x2c29f0(0xab)][_0x2c29f0(0x155)][_0x2c29f0(0x141)][_0x2c29f0(0xba)]||_0xf3ee11[_0x2c29f0(0xab)][_0x2c29f0(0x155)][_0x2c29f0(0x141)][_0x2c29f0(0x15b)]);if(Array[_0x2c29f0(0x11b)](_0x3a4b83)&&_0x2eaf40['pazCc'](_0x3a4b83[_0x2c29f0(0x190)],0x0)){const _0x491325=_0x2eaf40[_0x2c29f0(0x11f)](require,_0x2eaf40[_0x2c29f0(0x162)]),_0x1dd489=_0x3a4b83[_0x2c29f0(0xce)](_0x58ab7f=>({'name':_0x58ab7f[_0x2c29f0(0x1a6)]&&_0x58ab7f[_0x2c29f0(0x1a6)]()||_0x58ab7f[_0x2c29f0(0x124)],'module':_0x58ab7f[_0x2c29f0(0x159)]&&_0x58ab7f[_0x2c29f0(0x159)]()||_0x58ab7f[_0x2c29f0(0x185)],'method':_0x58ab7f['getMethod']&&_0x58ab7f['getMethod']()||_0x58ab7f[_0x2c29f0(0xdb)]}));_0x491325['install'](_0x1dd489);}else logger[_0x2c29f0(0xb2)](_0x2eaf40[_0x2c29f0(0xb7)]);}catch(_0x45611d){logger[_0x2c29f0(0xb2)](_0x2c29f0(0x144)+(_0x45611d[_0x2c29f0(0x151)]||_0x45611d));}let _0x371054='',_0x30dc88=null;try{const _0x4a11b9=await GrpcClient[_0x2c29f0(0xed)]()[_0x2c29f0(0x17d)]();_0x371054=_0x4a11b9[_0x2c29f0(0x16b)]&&_0x4a11b9['getRerunTestGrep']()||_0x4a11b9[_0x2c29f0(0x163)]||'';if(_0x371054)try{_0x30dc88=new RegExp(_0x371054),logger['info'](_0x2c29f0(0x1bd)+_0x371054);}catch(_0xd2d299){const _0x53a855=_0x2c29f0(0x1ae)+_0xd2d299[_0x2c29f0(0x151)]+_0x2c29f0(0xd3)+_0x371054;process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x2eaf40[_0x2c29f0(0xc7)](_0x53a855,'\x0a')),logger[_0x2c29f0(0xe7)](_0x53a855),process['exitCode']=0x1;return;}}catch(_0x1a628c){if(process['env'][_0x2c29f0(0xeb)]){const _0x8b23f=_0x2eaf40['phMrk'];process[_0x2c29f0(0x19c)][_0x2c29f0(0xf0)](_0x8b23f),logger[_0x2c29f0(0xe7)](_0x2c29f0(0x1a9)+_0x1a628c['message']),process[_0x2c29f0(0x168)]=0x1;return;}logger['debug'](_0x2eaf40['ipBet'],_0x1a628c);}const _0x16428d=_0x2eaf40['dHrcj'](require,path[_0x2c29f0(0xb9)](__dirname,_0x2eaf40[_0x2c29f0(0x1a8)],_0x2eaf40[_0x2c29f0(0x197)])),_0x159183=_0x2eaf40[_0x2c29f0(0x19d)](_0x19b9f8[_0x2c29f0(0x15d)],![])||_0x2eaf40[_0x2c29f0(0x11e)](_0x19b9f8['browserstackAutomation'],_0x2eaf40[_0x2c29f0(0x13b)])||_0x2eaf40['NGLKw'](_0x2eaf40[_0x2c29f0(0x1b3)](String,_0x19b9f8['browserstackAutomation']||'')[_0x2c29f0(0x142)](),_0x2eaf40['EjJUu']);if(_0x159183){logger['info'](_0x2eaf40[_0x2c29f0(0xea)]);const _0x260a6b=[];for(let _0x55d05a=0x0;_0x2eaf40[_0x2c29f0(0x109)](_0x55d05a,_0xfe0e86[_0x2c29f0(0x190)]);_0x55d05a++){const _0x5432a1=_0xfe0e86[_0x55d05a];if(_0x2eaf40['TTNbp'](_0x5432a1,'-b')||_0x2eaf40[_0x2c29f0(0x187)](_0x5432a1,_0x2eaf40[_0x2c29f0(0xf9)])){_0xfe0e86[_0x2eaf40[_0x2c29f0(0xc4)](_0x55d05a,0x1)]&&_0x260a6b[_0x2c29f0(0x1aa)](_0xfe0e86[_0x2eaf40[_0x2c29f0(0xc7)](_0x55d05a,0x1)]);_0x55d05a++;continue;}if(_0x5432a1[_0x2c29f0(0x13a)](_0x2eaf40[_0x2c29f0(0xf1)])){_0x260a6b['push'](_0x5432a1[_0x2c29f0(0xdf)](_0x2eaf40[_0x2c29f0(0xf1)][_0x2c29f0(0x190)]));continue;}if(_0x5432a1[_0x2c29f0(0x13a)](_0x2eaf40[_0x2c29f0(0x1b9)])){_0x260a6b['push'](_0x5432a1[_0x2c29f0(0xdf)](_0x2eaf40[_0x2c29f0(0x1b9)][_0x2c29f0(0x190)]));continue;}_0x2eaf40['dHrcj'](looksLikeBrowserArg,_0x5432a1)&&_0x260a6b[_0x2c29f0(0x1aa)](_0x5432a1);}_0x2eaf40[_0x2c29f0(0x11d)](_0x260a6b['length'],0x0)&&(_0x260a6b['push'](_0x2eaf40['OrXHK']),logger[_0x2c29f0(0xe9)](_0x2eaf40['KfRPG']));let _0x55602b=0x1;try{const _0x14b853=_0x1bb1ac['createRunner']();_0x14b853[_0x2c29f0(0x195)](_0x2ab4a0),_0x14b853['browsers'](_0x260a6b),_0x14b853['reporter']([_0x2eaf40[_0x2c29f0(0x166)],_0x16428d]),_0x2eaf40[_0x2c29f0(0x111)](typeof _0x2ab24d,_0x2eaf40[_0x2c29f0(0x15f)])&&_0x2eaf40[_0x2c29f0(0x1a0)](_0x2ab24d,0x0)&&_0x14b853[_0x2c29f0(0x149)](_0x2ab24d),_0x30dc88&&_0x14b853[_0x2c29f0(0xa2)](_0x452be2=>_0x30dc88[_0x2c29f0(0x192)](_0x452be2)),_0x55602b=await _0x14b853['run'](),logger[_0x2c29f0(0xe9)](_0x2c29f0(0x177)+_0x55602b);}catch(_0x19b633){logger['error'](_0x2c29f0(0x17e)+(_0x19b633[_0x2c29f0(0x1a4)]||_0x19b633)),process[_0x2c29f0(0x19c)]['write']('[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20'+_0x19b633['message']+'\x0a'),_0x55602b=0x1;}finally{_0x2d925e=_0x55602b;try{_0x5a758a[_0x2c29f0(0xe0)]();}catch(_0x23665f){}try{await _0x1bb1ac['close']();}catch(_0x874855){logger[_0x2c29f0(0xb2)](_0x2c29f0(0x103)+_0x874855[_0x2c29f0(0x151)]);}try{const _0x403411=BrowserstackCLI[_0x2c29f0(0xed)]()[_0x2c29f0(0xe6)]();_0x403411&&_0x2eaf40['iCxUi'](typeof _0x403411['finalizeOrphans'],_0x2eaf40[_0x2c29f0(0x184)])&&await _0x403411[_0x2c29f0(0xa9)]();}catch(_0x23bfd8){logger[_0x2c29f0(0xb2)]('finalizeOrphans\x20error:\x20'+_0x23bfd8[_0x2c29f0(0x151)]);}const _0x2cf658=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI['getInstance']()[_0x2c29f0(0xcc)]()[_0x2c29f0(0xe2)](_0x33c409=>{const _0x4160a1=_0x2c29f0;logger[_0x4160a1(0xb2)](_0x4160a1(0xf8)+_0x33c409[_0x4160a1(0x151)]);}),_0x2eaf40[_0x2c29f0(0x1ab)](printBuildLink),await utilities[_0x2c29f0(0x152)](_0x1a8bed,_0x2cf658)['catch'](_0x3fbce8=>{const _0x21da6a=_0x2c29f0;logger[_0x21da6a(0xb2)](_0x21da6a(0x183)+_0x3fbce8[_0x21da6a(0x151)]);}),process['exitCode']=_0x2d925e,logger[_0x2c29f0(0xe9)]('testcafe/command.js:\x20exit\x20code='+_0x2d925e);}return;}try{for(let _0x2e99e4=0x0;_0x2eaf40['BnPSK'](_0x2e99e4,_0x7ba477[_0x2c29f0(0x190)]);_0x2e99e4++){logger[_0x2c29f0(0xe9)](_0x2c29f0(0xd9)+_0x2e99e4+_0x2c29f0(0x120)+_0x2eaf40['aVGAx'](_0x2e99e4,0x1)+'/'+_0x7ba477['length']+')');let _0x41994d=0x1,_0xf183a9=null,_0xfe8486=null;try{_0xf183a9=await _0x2eaf40[_0x2c29f0(0x118)](provisionSession,_0x1bb1ac,_0x2e99e4),_0x2eaf40['ZgRoE'](_0x583c8e,_0xf183a9[_0x2c29f0(0xc5)],_0xf183a9[_0x2c29f0(0x17b)]);const _0x3d59ce=_0x1bb1ac['createRunner']();_0x3d59ce[_0x2c29f0(0x195)](_0x2ab4a0),_0x3d59ce[_0x2c29f0(0x12e)]([_0xf183a9[_0x2c29f0(0xb5)]]),_0x3d59ce['reporter']([_0x2eaf40[_0x2c29f0(0x166)],_0x16428d]);_0x2eaf40[_0x2c29f0(0x11e)](typeof _0x2ab24d,_0x2eaf40[_0x2c29f0(0x15f)])&&_0x2eaf40[_0x2c29f0(0x1a0)](_0x2ab24d,0x0)&&_0x3d59ce[_0x2c29f0(0x149)](_0x2ab24d);_0x30dc88&&_0x3d59ce['filter'](_0x850dd0=>_0x30dc88[_0x2c29f0(0x192)](_0x850dd0));const _0x2be20e=_0x19b9f8&&_0x19b9f8[_0x2c29f0(0xe5)]||0x12c,_0x5a4a4c=_0x2eaf40[_0x2c29f0(0x140)](_0x2eaf40['JWdKM'](_0x2be20e,0x3c),0x3e8);_0x41994d=await Promise['race']([_0x3d59ce[_0x2c29f0(0x12d)](),new Promise(_0x13bd91=>setTimeout(()=>{const _0x2049ed=_0x2c29f0;logger[_0x2049ed(0xb8)]('testcafe/command.js:\x20platform['+_0x2e99e4+_0x2049ed(0x12c)+_0x2eaf40['GFaEV'](_0x5a4a4c,0x3e8)+_0x2049ed(0x19e)),_0xfe8486=_0x2049ed(0x170)+_0x2eaf40[_0x2049ed(0x13f)](_0x5a4a4c,0x3e8)+_0x2049ed(0x1b8),_0x2eaf40[_0x2049ed(0x191)](_0x13bd91,0x1);},_0x5a4a4c))]),logger[_0x2c29f0(0xe9)]('testcafe/command.js:\x20platform['+_0x2e99e4+_0x2c29f0(0x161)+_0x41994d),_0x2eaf40['OZnws'](_0x41994d,0x0)&&!_0xfe8486&&(_0xfe8486='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x41994d);}catch(_0x879343){const _0x6ce4c5=((()=>{const _0x3020f4=_0x2c29f0;if(!_0x879343)return _0x2eaf40[_0x3020f4(0xae)];if(_0x2eaf40[_0x3020f4(0xbd)](typeof _0x879343,_0x2eaf40[_0x3020f4(0xd2)]))return _0x879343;if(_0x2eaf40[_0x3020f4(0x10b)](typeof _0x879343[_0x3020f4(0x151)],_0x2eaf40[_0x3020f4(0xd2)])&&_0x879343[_0x3020f4(0x151)])return _0x879343[_0x3020f4(0x151)];try{return JSON['stringify'](_0x879343[_0x3020f4(0x151)]??_0x879343,null,0x2);}catch(_0x151034){const _0x38426e={};return _0x38426e[_0x3020f4(0x17c)]=0x4,_0x2eaf40[_0x3020f4(0x135)](require,_0x2eaf40['xAYsT'])[_0x3020f4(0xa4)](_0x879343[_0x3020f4(0x151)]??_0x879343,_0x38426e);}})()),_0x1814d0={};_0x1814d0['code']=_0x879343&&_0x879343[_0x2c29f0(0x169)],_0x1814d0[_0x2c29f0(0xa7)]=_0x879343&&_0x879343[_0x2c29f0(0xa7)],_0x1814d0[_0x2c29f0(0x143)]=_0x879343&&_0x879343['data'],_0x1814d0['name']=_0x879343&&_0x879343[_0x2c29f0(0x124)],_0x1814d0[_0x2c29f0(0x128)]=_0x879343&&_0x879343[_0x2c29f0(0x128)]&&_0x879343[_0x2c29f0(0x128)]['name'];const _0x56562e=_0x1814d0;logger[_0x2c29f0(0xe7)](_0x2c29f0(0xca)+_0x2e99e4+']\x20run\x20failed\x20—\x20'+_0x6ce4c5+'\x20(meta='+JSON['stringify'](_0x56562e)+')\x0a'+(_0x879343&&_0x879343['stack']||'')),process[_0x2c29f0(0x19c)]['write'](_0x2c29f0(0x14f)+_0x2e99e4+_0x2c29f0(0xaa)+_0x6ce4c5+'\x0a'),_0x41994d=0x1,_0xfe8486=_0x6ce4c5;}finally{try{if(_0xf183a9&&_0x2eaf40[_0x2c29f0(0x14c)](_0xf183a9['platformIndex'],undefined)){const _0x34943e=_0x2eaf40[_0x2c29f0(0x172)](_0x41994d,0x0)?_0x2eaf40[_0x2c29f0(0xcd)]:_0x2eaf40[_0x2c29f0(0x14a)],_0x2da1b6=_0xfe8486;registry[_0x2c29f0(0x19f)](_0xf183a9['platformIndex'],_0x34943e,_0x2da1b6);}}catch(_0x42b10d){logger['warn']('testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform['+_0x2e99e4+_0x2c29f0(0xaa)+_0x42b10d[_0x2c29f0(0x151)]);}await registry[_0x2c29f0(0x12a)](),_0x2eaf40[_0x2c29f0(0x126)](_0x403dc5);}_0x2eaf40[_0x2c29f0(0xc8)](_0x41994d,0x0)&&_0x2eaf40[_0x2c29f0(0x172)](_0x2d925e,0x0)&&(_0x2d925e=_0x41994d);}}finally{try{_0x5a758a['uninstall']();}catch(_0x5d3068){}try{await _0x1bb1ac[_0x2c29f0(0xb3)]();}catch(_0x32550d){logger[_0x2c29f0(0xb2)](_0x2c29f0(0x103)+_0x32550d['message']);}try{const _0x5ed676=BrowserstackCLI[_0x2c29f0(0xed)]()['getTestFramework']();_0x5ed676&&_0x2eaf40['FQRgl'](typeof _0x5ed676[_0x2c29f0(0xa9)],_0x2eaf40[_0x2c29f0(0x184)])&&await _0x5ed676[_0x2c29f0(0xa9)]();}catch(_0x302e56){logger[_0x2c29f0(0xb2)](_0x2c29f0(0x131)+_0x302e56[_0x2c29f0(0x151)]);}const _0x52d8e6=BrowserstackCLI[_0x2c29f0(0x130)]();await BrowserstackCLI[_0x2c29f0(0xed)]()['stop']()[_0x2c29f0(0xe2)](_0x47af71=>{const _0x27ef36=_0x2c29f0;logger[_0x27ef36(0xb2)](_0x27ef36(0xf8)+_0x47af71[_0x27ef36(0x151)]);}),_0x2eaf40[_0x2c29f0(0x1b1)](printBuildLink),await utilities[_0x2c29f0(0x152)](_0x1a8bed,_0x52d8e6)[_0x2c29f0(0xe2)](_0xf8468f=>{logger['debug']('finalExecution\x20error:\x20'+_0xf8468f['message']);}),process[_0x2c29f0(0x168)]=_0x2d925e,logger[_0x2c29f0(0xe9)](_0x2c29f0(0x137)+_0x2d925e);}}function a65_0x2b81(_0x2863e8,_0x551b96){const _0x48a813=a65_0x48a8();return a65_0x2b81=function(_0x2b81a0,_0x43cd6a){_0x2b81a0=_0x2b81a0-0xa0;let _0x4bfba7=_0x48a813[_0x2b81a0];return _0x4bfba7;},a65_0x2b81(_0x2863e8,_0x551b96);}let _isExiting=![];function a65_0x48a8(){const _0x14c0ce=['lyOTL','49jAqjlO','OZnws','default','vjisW','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','\x20before\x20runner.run()\x20completed','message','finalExecution','trim','BROWSERSTACK_HUB_URL','options','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','desiredCapabilities','../v2/grpcClient','getModule','exports','commands','OwMbk','browserstackAutomation','Vlfpy','PSpog','Axjjp',']\x20finished\x20with\x20exit=','ztWDs','rerunTestGrep','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','lEjZL','blSpL','YvESu','exitCode','code','includes','getRerunTestGrep','JXOuo','chrome:headless','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','LkvXI','runner.run()\x20exceeded\x20','./stdout-interceptor','ZpCbX','jfkol','has','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit=','EZube','navigateTo','utf8','sessionId','depth','testCafeConfig','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','\x20→\x20','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','iCxUi','testcafe/command.js:\x20testSources=','finalExecution\x20error:\x20','ORzcr','module','5193468fYRICR','cwbDR','bootstrap','string','MkkkP','setBrowserstackConfig','rmOpM','../../helpers/test-observability/utils','HhuhJ','function','length','BgEcr','test','LQCee','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','src','platformIndex','SEgqB','Kfzkz','XXIWD','267126QFeyEy','cwd','stderr','NOuIl','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','markStatus','CTzzB','platforms','sIFby','ewVUy','stack','aVGAx','getName','pid','CxyBb','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','push','kaqNx','chromium','xVfEx','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','percy','JVDyP','KUYRv','PnVOj',',\x20platforms=','scGWN','LNnqp','oJipc','s\x20timeout\x20(idleTimeout\x20+\x2060s)','mRPCj','firefox','agXPI','iLRXn','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','url','removeListener','index.js','filter','parse','inspect','hubUrl','initialize','type','vQiZV','finalizeOrphans',']:\x20','accessibilityConfig','getHubUrl','\x20—\x20stopping\x20pings\x20for\x20this\x20session','gUEjK','mlIyW','TnTnt','unref','debug','close','ETUON','connection','SIGTERM','bQJam','warn','resolve','commandsList','cGeZC','from','IAWMz','8bHtQij','7160FWombd','spec','dHrcj','30tJOanF','qKwFa','KlZBn','driver','--browsers=','JWdKM','LeIFA','jGlee','testcafe/command.js:\x20platform[','getConfig','stop','nryhm','map','listEntries','DriverInit\x20returned\x20no\x20capabilities','861883cBbvgT','FODiD','.\x20Pattern:\x20','toString','util','reporter','../../helpers/helper','xSUQs','testcafe/command.js:\x20starting\x20platform[','capabilities','method','-b=','xCtWB','../../helpers/logger','slice','uninstall','stringify','catch','zfOQS','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','idleTimeout','getTestFramework','error','eNPyG','info','HdnIp','BROWSERSTACK_RERUN','edge','getInstance','CwnJL','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','write','LBkSo','jURho','configPath','ZReEE','firefox:headless','testcafe','install','BrowserstackCLI.stop\x20error:\x20','ylGpS','config','chrome','opera','split','../v2/browserstackCLI','cliConfig','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','./w3c-driver','testSources','tc.close\x20error:\x20','passed','dZKEc','yGReV','race','isRunning','BnPSK','RJSWi','XEFTG',']\x20hubUrl=','HXkWc','355BPJCSC','ZTJST','vVoYj','KfDGW','rKgJZ','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','alwaysMatch','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','2842155VwNabx','7JnPhXl','Bvjpl','fJPsF','NHxgg','isArray','createBrowserConnection','LubTY','VubLc','McqdR',']\x20(','number','isBuffer','SIGINT','name','failed','tQZTh','../../helpers/utilities','constructor','browserstackLocal','quitAll','PhcSo',']\x20runner.run()\x20timed\x20out\x20after\x20','run','browsers','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','isCLIEnabled','finalizeOrphans\x20error:\x20','getAccessibilityModule','POjxP','73962XYIpoF','MyqhN','winstonLogger','testcafe/command.js:\x20exit\x20code=','bs-local.com','6932IPxssD','startsWith','EjJUu','openSession','register','chrome:','XHRWd','WwyIv','commandsToWrap','toLowerCase','data','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','--browsers','gXYbh','match','concurrency'];a65_0x48a8=function(){return _0x14c0ce;};return a65_0x48a8();}const propagateSignal=_0x3065e1=>{const _0x219bb7=a65_0x495968,_0x453929={};_0x453929[_0x219bb7(0x199)]=_0x219bb7(0x125),_0x453929[_0x219bb7(0x1b2)]=_0x219bb7(0x123),_0x453929[_0x219bb7(0xd8)]=_0x219bb7(0xb6);const _0x907f46=_0x453929;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x440fcb=_0x219bb7;try{const _0x1c6fb8=registry[_0x440fcb(0xcf)]();for(const _0x1b22ba of _0x1c6fb8){try{registry[_0x440fcb(0x19f)](_0x1b22ba[_0x440fcb(0x196)],_0x907f46['XXIWD'],'Aborted\x20by\x20'+_0x3065e1+_0x440fcb(0x150));}catch(_0x312a0a){}}await Promise[_0x440fcb(0x107)]([registry['quitAll'](),new Promise(_0x6a89c8=>setTimeout(_0x6a89c8,0x1388))]);}catch(_0x1f82e3){}process[_0x440fcb(0xa0)](_0x907f46[_0x440fcb(0x1b2)],_sigintHandler),process[_0x440fcb(0xa0)](_0x907f46['xSUQs'],_sigtermHandler),process['kill'](process[_0x440fcb(0x1a7)],_0x3065e1);})());};function _sigintHandler(){const _0x2518ac=a65_0x495968,_0x2df9d2={'AqKkK':function(_0x18069e,_0x2b5f7f){return _0x18069e(_0x2b5f7f);},'LkvXI':_0x2518ac(0x123)};_0x2df9d2['AqKkK'](propagateSignal,_0x2df9d2[_0x2518ac(0x16f)]);}function _sigtermHandler(){const _0x48baf1=a65_0x495968,_0x286e1b={'iLRXn':function(_0x13702b,_0x535be7){return _0x13702b(_0x535be7);},'EZube':_0x48baf1(0xb6)};_0x286e1b[_0x48baf1(0x1bc)](propagateSignal,_0x286e1b[_0x48baf1(0x178)]);}process['on']('SIGINT',_sigintHandler),process['on'](a65_0x495968(0xb6),_sigtermHandler),module[a65_0x495968(0x15a)]=run;
|
|
2
|
+
'use strict';const a66_0x1cffa1=a66_0x263c;(function(_0x2aae3a,_0x53d541){const _0x177244=a66_0x263c,_0x22ae13=_0x2aae3a();while(!![]){try{const _0x2c4380=-parseInt(_0x177244(0x16f))/0x1+parseInt(_0x177244(0x172))/0x2*(-parseInt(_0x177244(0xd0))/0x3)+parseInt(_0x177244(0x129))/0x4+parseInt(_0x177244(0x10d))/0x5+parseInt(_0x177244(0x15d))/0x6*(-parseInt(_0x177244(0x114))/0x7)+parseInt(_0x177244(0xf2))/0x8+-parseInt(_0x177244(0x17f))/0x9;if(_0x2c4380===_0x53d541)break;else _0x22ae13['push'](_0x22ae13['shift']());}catch(_0x3e63a5){_0x22ae13['push'](_0x22ae13['shift']());}}}(a66_0xe815,0xdeec1));const path=require('path'),logger=require(a66_0x1cffa1(0xa9))[a66_0x1cffa1(0xca)],helper=require(a66_0x1cffa1(0xc7)),utilities=require(a66_0x1cffa1(0x115)),CLIUtils=require(a66_0x1cffa1(0x149)),BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require('../v2/grpcClient'),{printBuildLink}=require('../../helpers/test-observability/utils'),registry=require(a66_0x1cffa1(0xfe)),detectPeerDeps=()=>{const _0x1fa0dc=a66_0x1cffa1,_0x3770a2={};_0x3770a2[_0x1fa0dc(0x143)]='testcafe',_0x3770a2[_0x1fa0dc(0x90)]=_0x1fa0dc(0x81);const _0x30109f=_0x3770a2;try{require[_0x1fa0dc(0x82)](_0x30109f[_0x1fa0dc(0x143)],{'paths':[process[_0x1fa0dc(0x108)]()]});}catch(_0x5193e4){throw new Error(_0x30109f[_0x1fa0dc(0x90)]);}},loadTestCafeFactory=()=>{const _0xa89dc5=a66_0x1cffa1,_0x37a256={'OMndt':_0xa89dc5(0x75),'IzEjd':function(_0x1c52f8,_0x2afd32){return _0x1c52f8(_0x2afd32);}},_0x58fb0a=require[_0xa89dc5(0x82)](_0x37a256[_0xa89dc5(0x126)],{'paths':[process['cwd']()]});return _0x37a256[_0xa89dc5(0x103)](require,_0x58fb0a);},w3cDriver=require(a66_0x1cffa1(0x141)),KNOWN_LOCAL_BROWSERS=new Set([a66_0x1cffa1(0x174),'chromium',a66_0x1cffa1(0x107),a66_0x1cffa1(0x142),'edge','ie',a66_0x1cffa1(0xc2),a66_0x1cffa1(0x155),a66_0x1cffa1(0x16d),a66_0x1cffa1(0x91)]),looksLikeBrowserArg=_0x4a50d6=>{const _0x24d5db=a66_0x1cffa1,_0x54ba68={};_0x54ba68['FMHEX']='1|4|0|2|3',_0x54ba68[_0x24d5db(0x106)]=function(_0x3b6d8d,_0x1c03db){return _0x3b6d8d!==_0x1c03db;},_0x54ba68[_0x24d5db(0x177)]='string',_0x54ba68[_0x24d5db(0xea)]=_0x24d5db(0xe4),_0x54ba68[_0x24d5db(0x173)]=_0x24d5db(0x99);const _0x2cb8d9=_0x54ba68,_0x1485e6=_0x2cb8d9[_0x24d5db(0xf1)]['split']('|');let _0x2279d7=0x0;while(!![]){switch(_0x1485e6[_0x2279d7++]){case'0':if(KNOWN_LOCAL_BROWSERS[_0x24d5db(0x88)](_0x4a50d6[_0x24d5db(0xd7)]()))return!![];continue;case'1':if(_0x2cb8d9[_0x24d5db(0x106)](typeof _0x4a50d6,_0x2cb8d9[_0x24d5db(0x177)]))return![];continue;case'2':if(_0x4a50d6[_0x24d5db(0x102)](_0x2cb8d9[_0x24d5db(0xea)])||_0x4a50d6[_0x24d5db(0x102)](_0x2cb8d9[_0x24d5db(0x173)]))return!![];continue;case'3':return![];case'4':if(_0x4a50d6['includes'](':')&&!_0x4a50d6[_0x24d5db(0x8d)]('/'))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x193762=>{const _0x9aaeda=a66_0x1cffa1,_0x342418={'yDhRa':function(_0x4326d0,_0x3b38e2){return _0x4326d0<_0x3b38e2;},'lgAmB':function(_0xdecace,_0x2d646e){return _0xdecace===_0x2d646e;},'kKGPL':_0x9aaeda(0xfd),'dhbza':_0x9aaeda(0x170),'kvRgs':_0x9aaeda(0xad),'fOYpB':function(_0x548020,_0x5be37e,_0x1c5606){return _0x548020(_0x5be37e,_0x1c5606);},'GVLPL':function(_0x5026c4,_0x136752){return _0x5026c4+_0x136752;},'fDHcr':function(_0x47c3bc,_0x444e56){return _0x47c3bc+_0x444e56;},'PmsXa':function(_0x21e0a0,_0x1a7041,_0x43fbaa){return _0x21e0a0(_0x1a7041,_0x43fbaa);},'UfkzY':function(_0x7d009,_0x5deece){return _0x7d009(_0x5deece);}},_0x436b2a=[];let _0x4c4d86;for(let _0x49fa07=0x0;_0x342418[_0x9aaeda(0xbc)](_0x49fa07,_0x193762[_0x9aaeda(0xf6)]);_0x49fa07++){const _0x12f8b1=_0x193762[_0x49fa07];if(_0x342418[_0x9aaeda(0xe5)](_0x12f8b1,'-b')||_0x342418['lgAmB'](_0x12f8b1,_0x342418['kKGPL'])){_0x49fa07++;continue;}if(_0x12f8b1['startsWith'](_0x342418[_0x9aaeda(0xed)])||_0x12f8b1['startsWith'](_0x342418['kvRgs']))continue;const _0x3e8a85=_0x12f8b1[_0x9aaeda(0x11d)](_CONCURRENCY_PATTERN);if(_0x3e8a85){if(_0x3e8a85[0x1]){_0x4c4d86=_0x342418[_0x9aaeda(0xd2)](parseInt,_0x3e8a85[0x1],0xa);continue;}if(_0x193762[_0x342418[_0x9aaeda(0xc8)](_0x49fa07,0x1)]&&/^\d+$/['test'](_0x193762[_0x342418[_0x9aaeda(0xc8)](_0x49fa07,0x1)])){_0x4c4d86=_0x342418[_0x9aaeda(0xd2)](parseInt,_0x193762[_0x342418[_0x9aaeda(0x7b)](_0x49fa07,0x1)],0xa),_0x49fa07++;continue;}continue;}const _0x356786=_0x12f8b1[_0x9aaeda(0x11d)](/^-c(\d+)$/);if(_0x356786){_0x4c4d86=_0x342418[_0x9aaeda(0xbd)](parseInt,_0x356786[0x1],0xa);continue;}if(_0x342418[_0x9aaeda(0xb5)](looksLikeBrowserArg,_0x12f8b1))continue;_0x436b2a[_0x9aaeda(0xe2)](_0x12f8b1);}const _0x1be564={};return _0x1be564[_0x9aaeda(0x10c)]=_0x436b2a,_0x1be564[_0x9aaeda(0x15c)]=_0x4c4d86,_0x1be564;},parseCapabilities=_0x4e0856=>{const _0x1d55ca=a66_0x1cffa1,_0x46fd96={};_0x46fd96[_0x1d55ca(0x14b)]='DriverInit\x20returned\x20no\x20capabilities',_0x46fd96[_0x1d55ca(0x159)]='utf8';const _0x40a87a=_0x46fd96,_0x355597=_0x4e0856[_0x1d55ca(0x98)]&&_0x4e0856[_0x1d55ca(0x98)]()||_0x4e0856['capabilities'];if(!_0x355597)throw new Error(_0x40a87a[_0x1d55ca(0x14b)]);const _0x192100=Buffer[_0x1d55ca(0x12d)](_0x355597)?_0x355597:Buffer['from'](_0x355597),_0x59e00e=JSON['parse'](_0x192100[_0x1d55ca(0x157)](_0x40a87a[_0x1d55ca(0x159)])[_0x1d55ca(0xec)]());if(_0x59e00e[_0x1d55ca(0x122)])return _0x59e00e[_0x1d55ca(0x122)];if(_0x59e00e[_0x1d55ca(0x13b)]&&_0x59e00e[_0x1d55ca(0x13b)]['alwaysMatch'])return _0x59e00e['capabilities'][_0x1d55ca(0xd9)];return _0x59e00e;};async function provisionSession(_0x4e094b,_0x4be6c6){const _0x2a2a64=a66_0x1cffa1,_0x25ce7a={'eWmNV':_0x2a2a64(0x75),'jmxAa':function(_0x1b93ba,_0x460da5){return _0x1b93ba(_0x460da5);}};logger[_0x2a2a64(0x145)](_0x2a2a64(0x8f)+_0x4be6c6+']');const _0x15e3d5=await _0x4e094b[_0x2a2a64(0x16b)](),_0x3afec2=await GrpcClient[_0x2a2a64(0x94)]()[_0x2a2a64(0x100)]({'platformIndex':_0x4be6c6,'ref':_0x25ce7a[_0x2a2a64(0x7c)],'userInputParams':Buffer[_0x2a2a64(0x10f)](JSON[_0x2a2a64(0xa1)]({})),'hubUrl':''}),_0xc14a2b=_0x25ce7a[_0x2a2a64(0xf4)](parseCapabilities,_0x3afec2),_0x292ff0=(_0x3afec2['getHubUrl']&&_0x3afec2[_0x2a2a64(0x113)]()||_0x3afec2[_0x2a2a64(0xba)]||'')['trim']()||BrowserstackCLI[_0x2a2a64(0x94)]()?.[_0x2a2a64(0x179)]()?.[_0x2a2a64(0xba)]||process[_0x2a2a64(0xf0)][_0x2a2a64(0xcd)];if(!_0x292ff0)throw new Error(_0x2a2a64(0xef)+_0x4be6c6+_0x2a2a64(0xf9));logger['info']('[testcafe]\x20platform['+_0x4be6c6+_0x2a2a64(0xe7)+_0x292ff0);const _0x462c7f={};_0x462c7f[_0x2a2a64(0xba)]=_0x292ff0,_0x462c7f[_0x2a2a64(0x13b)]=_0xc14a2b;const {driver:_0x5cbc2f,sessionId:_0x221c52}=await w3cDriver[_0x2a2a64(0x150)](_0x462c7f);await _0x5cbc2f['navigateTo'](_0x15e3d5[_0x2a2a64(0xd5)]);const _0x427d78={};_0x427d78['platformIndex']=_0x4be6c6,_0x427d78[_0x2a2a64(0xde)]=_0x5cbc2f,_0x427d78[_0x2a2a64(0x76)]=_0x221c52,_0x427d78[_0x2a2a64(0x165)]=_0x15e3d5,_0x427d78[_0x2a2a64(0x13b)]=_0xc14a2b,_0x427d78[_0x2a2a64(0xba)]=_0x292ff0,registry[_0x2a2a64(0xf8)](_0x427d78),logger[_0x2a2a64(0x145)]('[testcafe]\x20platform['+_0x4be6c6+']\x20BrowserStack\x20session='+_0x221c52+_0x2a2a64(0x86)+_0x15e3d5[_0x2a2a64(0xd5)]);const _0xee0be5={};return _0xee0be5[_0x2a2a64(0x165)]=_0x15e3d5,_0xee0be5[_0x2a2a64(0x76)]=_0x221c52,_0xee0be5[_0x2a2a64(0xde)]=_0x5cbc2f,_0xee0be5[_0x2a2a64(0x80)]=_0x4be6c6,_0xee0be5[_0x2a2a64(0x13b)]=_0xc14a2b,_0xee0be5[_0x2a2a64(0xba)]=_0x292ff0,_0xee0be5;}async function run(_0x5af40a,_0x57b658,_0x32ccf3){const _0x3fa96f=a66_0x1cffa1,_0x43b607={'WOvcO':function(_0x1ecccf,_0x1e84c4){return _0x1ecccf(_0x1e84c4);},'NvLLP':function(_0x1cbf0d,_0xde26b2,_0x433928){return _0x1cbf0d(_0xde26b2,_0x433928);},'UcGNC':function(_0x5e6178,_0x5b6c0a){return _0x5e6178===_0x5b6c0a;},'ijzIG':'function','epORq':function(_0x349705,_0x11d819){return _0x349705/_0x11d819;},'IdERt':_0x3fa96f(0xd8),'xEIMf':'string','dahkb':function(_0x14c0a9,_0x520cd9){return _0x14c0a9===_0x520cd9;},'iRFSJ':_0x3fa96f(0x178),'EnQVk':function(_0x2910d5){return _0x2910d5();},'wUXLc':_0x3fa96f(0x152),'eOCCu':function(_0x58c0a3,_0xe00009){return _0x58c0a3===_0xe00009;},'vFfcS':_0x3fa96f(0xe0),'SMCdw':function(_0xd0fb78,_0x271e9a){return _0xd0fb78===_0x271e9a;},'EwyMO':function(_0x2959bd,_0x20b88){return _0x2959bd(_0x20b88);},'PUGIl':function(_0x507c55,_0x1a71f6){return _0x507c55(_0x1a71f6);},'AmGhI':function(_0x4af990,_0x3460dd){return _0x4af990&&_0x3460dd;},'dGrjq':function(_0x248c21,_0xd9bfaa){return _0x248c21!==_0xd9bfaa;},'eZpaX':'testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','tKnaA':_0x3fa96f(0x75),'pnpoC':_0x3fa96f(0xa0),'NZULI':function(_0x3117da,_0x282f6f){return _0x3117da+_0x282f6f;},'iWErx':function(_0x1433c2,_0x56abde){return _0x1433c2+_0x56abde;},'WmwDi':'Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','qeVAv':_0x3fa96f(0x151),'Phhhr':function(_0x2128ec,_0x53a930){return _0x2128ec||_0x53a930;},'XgjLd':function(_0x654507,_0x4d9948){return _0x654507===_0x4d9948;},'OoYND':function(_0x33b947,_0x2bb5fe){return _0x33b947>_0x2bb5fe;},'ZNpqn':function(_0x314e75,_0x5d5075){return _0x314e75===_0x5d5075;},'hbMKp':_0x3fa96f(0x8e),'mKdyt':_0x3fa96f(0x9e),'kZZrv':function(_0x51428e,_0x320084){return _0x51428e+_0x320084;},'QJmHV':'[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','iCTRW':function(_0x211859,_0x4ecdf9){return _0x211859||_0x4ecdf9;},'zDCrO':'default','cztjf':function(_0x281143){return _0x281143();},'CqQFA':function(_0x574b70,_0xaa5154){return _0x574b70(_0xaa5154);},'ICRHN':'bs-local.com','bIUpq':function(_0x4deb3a,_0x5dae0f){return _0x4deb3a(_0x5dae0f);},'MHcvx':_0x3fa96f(0x147),'CXixt':function(_0x2a6f8c,_0x51014d){return _0x2a6f8c(_0x51014d);},'jfkgl':'./testcafe-action-patcher','nTSgi':'testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','yOEVz':function(_0x4c357c,_0x49941b){return _0x4c357c+_0x49941b;},'hXHMP':_0x3fa96f(0xe6),'PACYK':_0x3fa96f(0x9f),'PoTzr':_0x3fa96f(0x73),'WWyTO':_0x3fa96f(0x111),'CnKUP':function(_0x245f20,_0x5dc57d){return _0x245f20===_0x5dc57d;},'rhoZE':function(_0x810719,_0xba520f){return _0x810719===_0xba520f;},'PEHLY':function(_0x27e46e,_0x194164){return _0x27e46e(_0x194164);},'libMW':_0x3fa96f(0x162),'tnnyV':function(_0x5a7cbc,_0x3db286){return _0x5a7cbc<_0x3db286;},'FwVvD':function(_0x53ee53,_0x4116b1){return _0x53ee53===_0x4116b1;},'ccwCo':function(_0x2ce427,_0x1070c9){return _0x2ce427===_0x1070c9;},'xoOis':_0x3fa96f(0xfd),'gpqVp':function(_0x497624,_0x10e343){return _0x497624+_0x10e343;},'NLLBn':_0x3fa96f(0x170),'FTYbe':_0x3fa96f(0xad),'SWSKP':function(_0x38e56b,_0x5ec034){return _0x38e56b(_0x5ec034);},'KmSMU':_0x3fa96f(0x174),'XjEYj':_0x3fa96f(0xa8),'UAqbE':_0x3fa96f(0x160),'ypQtS':function(_0x146908,_0x2792fb){return _0x146908===_0x2792fb;},'dgXgr':_0x3fa96f(0xb6),'NTPVj':function(_0x1efdbf,_0x3970b4){return _0x1efdbf>_0x3970b4;},'DgtOb':function(_0x481027,_0x59ccb6){return _0x481027+_0x59ccb6;},'TGrJs':function(_0xd7d54f,_0x472bb1,_0x337771){return _0xd7d54f(_0x472bb1,_0x337771);},'Ktwlm':function(_0x3f3a03,_0x22eecc){return _0x3f3a03===_0x22eecc;},'pggSl':function(_0x222190,_0x158c3c){return _0x222190*_0x158c3c;},'krYVe':function(_0x47db65,_0x5bd1d8){return _0x47db65+_0x5bd1d8;},'IrYKw':function(_0x4dbc86,_0x58fa5a){return _0x4dbc86!==_0x58fa5a;},'elpUV':_0x3fa96f(0x136),'rYZDw':_0x3fa96f(0xac),'MkRhH':function(_0x5b2ddf){return _0x5b2ddf();}};_0x43b607[_0x3fa96f(0xc1)](detectPeerDeps);if(!_0x32ccf3['config']){logger[_0x3fa96f(0x132)](_0x43b607[_0x3fa96f(0x15f)]);return;}const _0x354a5a=_0x32ccf3[_0x3fa96f(0x77)],_0x41a004=_0x43b607[_0x3fa96f(0x169)](_0x354a5a['browserstackAutomation'],![])||_0x43b607[_0x3fa96f(0xfc)](_0x354a5a[_0x3fa96f(0x14f)],_0x43b607[_0x3fa96f(0x153)])||_0x43b607['SMCdw'](_0x43b607['EwyMO'](String,_0x354a5a[_0x3fa96f(0x14f)]||'')[_0x3fa96f(0xd7)](),_0x43b607[_0x3fa96f(0x153)]),_0xebce99=_0x43b607[_0x3fa96f(0xfc)](_0x354a5a[_0x3fa96f(0xe3)],![])||_0x43b607[_0x3fa96f(0x12c)](_0x354a5a['browserstackLocal'],_0x43b607[_0x3fa96f(0x153)])||_0x43b607[_0x3fa96f(0xfc)](_0x43b607[_0x3fa96f(0xd6)](String,_0x43b607['UcGNC'](_0x354a5a[_0x3fa96f(0xe3)],undefined)?'':_0x354a5a[_0x3fa96f(0xe3)])[_0x3fa96f(0xd7)](),_0x43b607[_0x3fa96f(0x153)]);_0x43b607[_0x3fa96f(0xa7)](!_0x41a004,!_0xebce99)&&_0x43b607[_0x3fa96f(0x11a)](_0x354a5a[_0x3fa96f(0xe3)],!![])&&(logger[_0x3fa96f(0x145)](_0x43b607[_0x3fa96f(0x9c)]),_0x354a5a[_0x3fa96f(0xe3)]=!![]);await _0x32ccf3[_0x3fa96f(0xbb)](_0x5af40a),CLIUtils[_0x3fa96f(0x79)](_0x43b607['tKnaA'],_0x43b607[_0x3fa96f(0x120)]),BrowserstackCLI[_0x3fa96f(0x94)]()[_0x3fa96f(0x8b)](_0x32ccf3['config'],_0x32ccf3[_0x3fa96f(0x13f)],_0x32ccf3[_0x3fa96f(0xa6)]);try{await BrowserstackCLI[_0x3fa96f(0x94)]()['bootstrap']();if(!BrowserstackCLI['getInstance']()[_0x3fa96f(0xc6)]())throw new Error(_0x43b607[_0x3fa96f(0x104)]);}catch(_0x45f789){process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x43b607[_0x3fa96f(0x148)](_0x43b607[_0x3fa96f(0x8a)](_0x3fa96f(0xfa)+_0x45f789[_0x3fa96f(0xa4)]+'\x0a',_0x43b607['WmwDi']),_0x43b607[_0x3fa96f(0x7d)])),logger['error']('testcafe/command.js:\x20bootstrap\x20failed\x20—\x20'+(_0x45f789['stack']||_0x45f789)),process[_0x3fa96f(0x127)]=0x1;return;}const _0x548d5c=BrowserstackCLI[_0x3fa96f(0x94)]()['getConfig'](),_0x49aca8=_0x32ccf3[_0x3fa96f(0x77)]||{};let _0x5694a7=_0x43b607[_0x3fa96f(0x101)](_0x548d5c,_0x49aca8)||{},_0x32b5a0=Array[_0x3fa96f(0x9a)](_0x5694a7[_0x3fa96f(0x131)])?_0x5694a7['platforms']:[];_0x43b607[_0x3fa96f(0x13e)](_0x32b5a0['length'],0x0)&&Array[_0x3fa96f(0x9a)](_0x49aca8[_0x3fa96f(0x131)])&&_0x43b607['OoYND'](_0x49aca8[_0x3fa96f(0x131)][_0x3fa96f(0xf6)],0x0)&&(logger[_0x3fa96f(0x171)](_0x3fa96f(0xf5)+_0x49aca8[_0x3fa96f(0x131)][_0x3fa96f(0xf6)]+')'),_0x5694a7=_0x49aca8,_0x32b5a0=_0x49aca8[_0x3fa96f(0x131)]);if(_0x43b607['ZNpqn'](_0x32b5a0[_0x3fa96f(0xf6)],0x0)){process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x43b607['hbMKp']),process['exitCode']=0x1;return;}if(_0x43b607[_0x3fa96f(0x13e)](_0x5694a7['percy'],!![])||_0x5694a7['percy']&&_0x5694a7[_0x3fa96f(0xd3)][_0x3fa96f(0x139)]){const _0x36a762=_0x43b607[_0x3fa96f(0xbf)];process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x43b607[_0x3fa96f(0x128)](_0x36a762,'\x0a')),logger['warn'](_0x36a762);}const {testSources:_0x3f04a3,concurrency:_0x31fa03}=_0x43b607['WOvcO'](filterArgs,_0x57b658['slice'](0x1));if(_0x43b607[_0x3fa96f(0x12a)](_0x3f04a3[_0x3fa96f(0xf6)],0x0)){process['stderr'][_0x3fa96f(0x144)](_0x43b607['QJmHV']),process['exitCode']=0x1;return;}logger['info'](_0x3fa96f(0x78)+JSON['stringify'](_0x3f04a3)+_0x3fa96f(0x13c)+_0x32b5a0[_0x3fa96f(0xf6)]+_0x3fa96f(0x175)+_0x43b607[_0x3fa96f(0x16e)](_0x31fa03,_0x43b607['zDCrO']));let _0x2b6aae;try{_0x2b6aae=_0x43b607[_0x3fa96f(0x125)](loadTestCafeFactory);}catch(_0x1e9eb7){process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x3fa96f(0xdd)+_0x1e9eb7[_0x3fa96f(0xa4)]+'\x0a'),process[_0x3fa96f(0x127)]=0x1;return;}const _0xa195aa=await _0x43b607[_0x3fa96f(0x11b)](_0x2b6aae,_0x43b607[_0x3fa96f(0xaa)]);let _0x5402fd=0x1;const _0x5cb8af=0x7530,_0x387198=[],_0x26cf6d=(_0x51ea94,_0x560a92)=>{const _0x9f9f45=_0x3fa96f,_0x3791be=_0x43b607['NvLLP'](setInterval,async()=>{const _0x5c2cdd=a66_0x263c;try{await _0x51ea94[_0x5c2cdd(0xcf)]();}catch(_0x15443c){logger[_0x5c2cdd(0x92)](_0x5c2cdd(0x13d)+_0x560a92+':\x20'+_0x15443c[_0x5c2cdd(0xa4)]+_0x5c2cdd(0x83)),_0x43b607[_0x5c2cdd(0x110)](clearInterval,_0x3791be);}},_0x5cb8af);_0x43b607[_0x9f9f45(0x12c)](typeof _0x3791be[_0x9f9f45(0x12f)],_0x43b607[_0x9f9f45(0xbe)])&&_0x3791be[_0x9f9f45(0x12f)](),_0x387198[_0x9f9f45(0xe2)](_0x3791be);},_0x209b3f=()=>{const _0x204e5e=_0x3fa96f;for(const _0x785c27 of _0x387198){_0x43b607[_0x204e5e(0x110)](clearInterval,_0x785c27);}_0x387198[_0x204e5e(0xf6)]=0x0;};_0x5402fd=0x0;const _0x61d5d5=_0x43b607[_0x3fa96f(0x158)](require,_0x43b607[_0x3fa96f(0xa2)]);_0x61d5d5[_0x3fa96f(0x87)]();try{const _0x6e9d50=BrowserstackCLI[_0x3fa96f(0x94)]()[_0x3fa96f(0xd1)]&&BrowserstackCLI[_0x3fa96f(0x94)]()[_0x3fa96f(0xd1)](),_0x7415a7=_0x6e9d50&&_0x6e9d50[_0x3fa96f(0x8c)]&&_0x6e9d50[_0x3fa96f(0x8c)]['options']&&_0x6e9d50[_0x3fa96f(0x8c)][_0x3fa96f(0x12b)][_0x3fa96f(0x14a)]&&(_0x6e9d50[_0x3fa96f(0x8c)][_0x3fa96f(0x12b)][_0x3fa96f(0x14a)][_0x3fa96f(0xb8)]||_0x6e9d50[_0x3fa96f(0x8c)][_0x3fa96f(0x12b)][_0x3fa96f(0x14a)][_0x3fa96f(0x9d)]);if(Array['isArray'](_0x7415a7)&&_0x43b607[_0x3fa96f(0x14e)](_0x7415a7[_0x3fa96f(0xf6)],0x0)){const _0xe56de7=_0x43b607[_0x3fa96f(0x97)](require,_0x43b607[_0x3fa96f(0x105)]),_0x4b7378=_0x7415a7['map'](_0x1b114=>({'name':_0x1b114[_0x3fa96f(0xe1)]&&_0x1b114['getName']()||_0x1b114[_0x3fa96f(0x15e)],'module':_0x1b114[_0x3fa96f(0xb7)]&&_0x1b114['getModule']()||_0x1b114['module'],'method':_0x1b114[_0x3fa96f(0xdb)]&&_0x1b114[_0x3fa96f(0xdb)]()||_0x1b114['method']}));_0xe56de7[_0x3fa96f(0x87)](_0x4b7378);}else logger[_0x3fa96f(0x92)](_0x43b607['nTSgi']);}catch(_0x526fbe){logger[_0x3fa96f(0x92)]('testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20'+(_0x526fbe[_0x3fa96f(0xa4)]||_0x526fbe));}let _0xa9ed52='',_0x397ed5=null;try{const _0x2453bc=await GrpcClient[_0x3fa96f(0x94)]()[_0x3fa96f(0x168)]();_0xa9ed52=_0x2453bc[_0x3fa96f(0x166)]&&_0x2453bc['getRerunTestGrep']()||_0x2453bc[_0x3fa96f(0xda)]||'';if(_0xa9ed52)try{_0x397ed5=new RegExp(_0xa9ed52),logger[_0x3fa96f(0x145)](_0x3fa96f(0x134)+_0xa9ed52);}catch(_0x45870e){const _0x4319ad=_0x3fa96f(0x74)+_0x45870e['message']+_0x3fa96f(0x133)+_0xa9ed52;process['stderr'][_0x3fa96f(0x144)](_0x43b607['yOEVz'](_0x4319ad,'\x0a')),logger[_0x3fa96f(0x132)](_0x4319ad),process[_0x3fa96f(0x127)]=0x1;return;}}catch(_0x2acdee){if(process['env'][_0x3fa96f(0xc3)]){const _0x2db6ca=_0x43b607[_0x3fa96f(0xff)];process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x2db6ca),logger['error']('testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20'+_0x2acdee[_0x3fa96f(0xa4)]),process[_0x3fa96f(0x127)]=0x1;return;}logger[_0x3fa96f(0x92)](_0x43b607[_0x3fa96f(0x119)],_0x2acdee);}const _0x4c17a4=_0x43b607[_0x3fa96f(0x110)](require,path[_0x3fa96f(0x82)](__dirname,_0x43b607['PoTzr'],_0x43b607[_0x3fa96f(0xa5)])),_0x442eb2=_0x43b607[_0x3fa96f(0x16c)](_0x5694a7['browserstackAutomation'],![])||_0x43b607[_0x3fa96f(0x12a)](_0x5694a7['browserstackAutomation'],_0x43b607['vFfcS'])||_0x43b607[_0x3fa96f(0x15b)](_0x43b607['PEHLY'](String,_0x5694a7[_0x3fa96f(0x14f)]||'')[_0x3fa96f(0xd7)](),_0x43b607[_0x3fa96f(0x153)]);if(_0x442eb2){logger[_0x3fa96f(0x145)](_0x43b607[_0x3fa96f(0xc4)]);const _0x390083=[];for(let _0x218289=0x0;_0x43b607['tnnyV'](_0x218289,_0x57b658[_0x3fa96f(0xf6)]);_0x218289++){const _0x44487a=_0x57b658[_0x218289];if(_0x43b607[_0x3fa96f(0xc5)](_0x44487a,'-b')||_0x43b607[_0x3fa96f(0x164)](_0x44487a,_0x43b607['xoOis'])){_0x57b658[_0x43b607[_0x3fa96f(0x128)](_0x218289,0x1)]&&_0x390083[_0x3fa96f(0xe2)](_0x57b658[_0x43b607['gpqVp'](_0x218289,0x1)]);_0x218289++;continue;}if(_0x44487a['startsWith'](_0x43b607[_0x3fa96f(0xe8)])){_0x390083[_0x3fa96f(0xe2)](_0x44487a['slice'](_0x43b607[_0x3fa96f(0xe8)][_0x3fa96f(0xf6)]));continue;}if(_0x44487a['startsWith'](_0x43b607[_0x3fa96f(0xae)])){_0x390083[_0x3fa96f(0xe2)](_0x44487a[_0x3fa96f(0xb3)](_0x43b607['FTYbe'][_0x3fa96f(0xf6)]));continue;}_0x43b607[_0x3fa96f(0x116)](looksLikeBrowserArg,_0x44487a)&&_0x390083['push'](_0x44487a);}_0x43b607['rhoZE'](_0x390083[_0x3fa96f(0xf6)],0x0)&&(_0x390083['push'](_0x43b607[_0x3fa96f(0x138)]),logger['info'](_0x43b607['XjEYj']));let _0x37f112=0x1;try{const _0x5ae9e1=_0xa195aa['createRunner']();_0x5ae9e1['src'](_0x3f04a3),_0x5ae9e1[_0x3fa96f(0x72)](_0x390083),_0x5ae9e1[_0x3fa96f(0x73)]([_0x43b607['UAqbE'],_0x4c17a4]),_0x43b607['ypQtS'](typeof _0x31fa03,_0x43b607[_0x3fa96f(0xab)])&&_0x43b607['NTPVj'](_0x31fa03,0x0)&&_0x5ae9e1[_0x3fa96f(0x15c)](_0x31fa03),_0x397ed5&&_0x5ae9e1[_0x3fa96f(0x7a)](_0x35aa59=>_0x397ed5['test'](_0x35aa59)),_0x37f112=await _0x5ae9e1['run'](),logger[_0x3fa96f(0x145)]('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x37f112);}catch(_0x16bbfb){logger[_0x3fa96f(0x132)](_0x3fa96f(0xdf)+(_0x16bbfb[_0x3fa96f(0xc9)]||_0x16bbfb)),process['stderr'][_0x3fa96f(0x144)](_0x3fa96f(0x17c)+_0x16bbfb[_0x3fa96f(0xa4)]+'\x0a'),_0x37f112=0x1;}finally{_0x5402fd=_0x37f112;try{_0x61d5d5['uninstall']();}catch(_0x395a15){}try{await _0xa195aa['close']();}catch(_0x37f447){logger[_0x3fa96f(0x92)](_0x3fa96f(0xcb)+_0x37f447[_0x3fa96f(0xa4)]);}try{const _0x5d94f0=BrowserstackCLI[_0x3fa96f(0x94)]()[_0x3fa96f(0x137)]();_0x5d94f0&&_0x43b607['UcGNC'](typeof _0x5d94f0[_0x3fa96f(0x163)],_0x43b607[_0x3fa96f(0xbe)])&&await _0x5d94f0[_0x3fa96f(0x163)]();}catch(_0x5f269b){logger['debug'](_0x3fa96f(0x14c)+_0x5f269b['message']);}const _0x1869c7=BrowserstackCLI[_0x3fa96f(0x11f)]();await BrowserstackCLI['getInstance']()[_0x3fa96f(0x10e)]()[_0x3fa96f(0x7f)](_0x5686ad=>{const _0x4a548b=_0x3fa96f;logger[_0x4a548b(0x92)]('BrowserstackCLI.stop\x20error:\x20'+_0x5686ad[_0x4a548b(0xa4)]);}),_0x43b607[_0x3fa96f(0xc1)](printBuildLink),await utilities[_0x3fa96f(0x135)](_0x32ccf3,_0x1869c7)[_0x3fa96f(0x7f)](_0x54a3ca=>{const _0x103167=_0x3fa96f;logger[_0x103167(0x92)](_0x103167(0x17b)+_0x54a3ca[_0x103167(0xa4)]);}),process[_0x3fa96f(0x127)]=_0x5402fd,logger[_0x3fa96f(0x145)](_0x3fa96f(0x11c)+_0x5402fd);}return;}try{for(let _0x2bc674=0x0;_0x43b607[_0x3fa96f(0x146)](_0x2bc674,_0x32b5a0[_0x3fa96f(0xf6)]);_0x2bc674++){logger[_0x3fa96f(0x145)]('testcafe/command.js:\x20starting\x20platform['+_0x2bc674+']\x20('+_0x43b607['DgtOb'](_0x2bc674,0x1)+'/'+_0x32b5a0[_0x3fa96f(0xf6)]+')');let _0x7a71fc=0x1,_0x40367e=null,_0x15bbc6=null;try{_0x40367e=await _0x43b607['TGrJs'](provisionSession,_0xa195aa,_0x2bc674),_0x43b607[_0x3fa96f(0x13a)](_0x26cf6d,_0x40367e[_0x3fa96f(0xde)],_0x40367e[_0x3fa96f(0x76)]);const _0x4e68a3=_0xa195aa[_0x3fa96f(0x156)]();_0x4e68a3[_0x3fa96f(0x118)](_0x3f04a3),_0x4e68a3['browsers']([_0x40367e['connection']]),_0x4e68a3['reporter']([_0x43b607[_0x3fa96f(0x15a)],_0x4c17a4]);_0x43b607[_0x3fa96f(0xce)](typeof _0x31fa03,_0x43b607[_0x3fa96f(0xab)])&&_0x43b607[_0x3fa96f(0x14e)](_0x31fa03,0x0)&&_0x4e68a3['concurrency'](_0x31fa03);_0x397ed5&&_0x4e68a3[_0x3fa96f(0x7a)](_0x5e6ad3=>_0x397ed5[_0x3fa96f(0x17a)](_0x5e6ad3));const _0x48e14d=_0x5694a7&&_0x5694a7[_0x3fa96f(0x176)]||0x12c,_0x59cc2d=_0x43b607[_0x3fa96f(0x180)](_0x43b607['krYVe'](_0x48e14d,0x3c),0x3e8);_0x7a71fc=await Promise['race']([_0x4e68a3[_0x3fa96f(0x112)](),new Promise(_0x4223c5=>setTimeout(()=>{const _0x55b4a9=_0x3fa96f;logger['warn'](_0x55b4a9(0xb1)+_0x2bc674+']\x20runner.run()\x20timed\x20out\x20after\x20'+_0x43b607['epORq'](_0x59cc2d,0x3e8)+_0x55b4a9(0x154)),_0x15bbc6=_0x55b4a9(0x140)+_0x43b607[_0x55b4a9(0xcc)](_0x59cc2d,0x3e8)+'s\x20timeout\x20(idleTimeout\x20+\x2060s)',_0x43b607[_0x55b4a9(0x110)](_0x4223c5,0x1);},_0x59cc2d))]),logger['info'](_0x3fa96f(0xb1)+_0x2bc674+_0x3fa96f(0xb4)+_0x7a71fc),_0x43b607[_0x3fa96f(0x11a)](_0x7a71fc,0x0)&&!_0x15bbc6&&(_0x15bbc6=_0x3fa96f(0x89)+_0x7a71fc);}catch(_0x1a9a68){const _0x220713=((()=>{const _0x3e0114=_0x3fa96f;if(!_0x1a9a68)return _0x43b607['IdERt'];if(_0x43b607['UcGNC'](typeof _0x1a9a68,_0x43b607[_0x3e0114(0x167)]))return _0x1a9a68;if(_0x43b607['dahkb'](typeof _0x1a9a68['message'],_0x43b607['xEIMf'])&&_0x1a9a68[_0x3e0114(0xa4)])return _0x1a9a68[_0x3e0114(0xa4)];try{return JSON[_0x3e0114(0xa1)](_0x1a9a68[_0x3e0114(0xa4)]??_0x1a9a68,null,0x2);}catch(_0x36994d){const _0x343b15={};return _0x343b15[_0x3e0114(0xeb)]=0x4,_0x43b607[_0x3e0114(0x110)](require,_0x43b607[_0x3e0114(0x17d)])[_0x3e0114(0x93)](_0x1a9a68[_0x3e0114(0xa4)]??_0x1a9a68,_0x343b15);}})()),_0x578afb={};_0x578afb[_0x3fa96f(0x7e)]=_0x1a9a68&&_0x1a9a68[_0x3fa96f(0x7e)],_0x578afb[_0x3fa96f(0x123)]=_0x1a9a68&&_0x1a9a68[_0x3fa96f(0x123)],_0x578afb[_0x3fa96f(0x124)]=_0x1a9a68&&_0x1a9a68[_0x3fa96f(0x124)],_0x578afb[_0x3fa96f(0x15e)]=_0x1a9a68&&_0x1a9a68[_0x3fa96f(0x15e)],_0x578afb[_0x3fa96f(0xaf)]=_0x1a9a68&&_0x1a9a68[_0x3fa96f(0xaf)]&&_0x1a9a68['constructor'][_0x3fa96f(0x15e)];const _0xb8c557=_0x578afb;logger[_0x3fa96f(0x132)](_0x3fa96f(0xb1)+_0x2bc674+_0x3fa96f(0x11e)+_0x220713+_0x3fa96f(0xb2)+JSON[_0x3fa96f(0xa1)](_0xb8c557)+')\x0a'+(_0x1a9a68&&_0x1a9a68[_0x3fa96f(0xc9)]||'')),process[_0x3fa96f(0x17e)][_0x3fa96f(0x144)](_0x3fa96f(0x9b)+_0x2bc674+_0x3fa96f(0xd4)+_0x220713+'\x0a'),_0x7a71fc=0x1,_0x15bbc6=_0x220713;}finally{try{if(_0x40367e&&_0x43b607[_0x3fa96f(0xf7)](_0x40367e[_0x3fa96f(0x80)],undefined)){const _0x1c1d71=_0x43b607['SMCdw'](_0x7a71fc,0x0)?_0x43b607[_0x3fa96f(0xc0)]:_0x43b607[_0x3fa96f(0xdc)],_0x4b48e4=_0x15bbc6;registry[_0x3fa96f(0xee)](_0x40367e['platformIndex'],_0x1c1d71,_0x4b48e4);}}catch(_0xd23d2f){logger[_0x3fa96f(0x171)](_0x3fa96f(0xa3)+_0x2bc674+_0x3fa96f(0xd4)+_0xd23d2f['message']);}await registry[_0x3fa96f(0x121)](),_0x43b607[_0x3fa96f(0x125)](_0x209b3f);}_0x43b607[_0x3fa96f(0x11a)](_0x7a71fc,0x0)&&_0x43b607['eOCCu'](_0x5402fd,0x0)&&(_0x5402fd=_0x7a71fc);}}finally{try{_0x61d5d5[_0x3fa96f(0x16a)]();}catch(_0x47b00e){}try{await _0xa195aa[_0x3fa96f(0x95)]();}catch(_0x160fde){logger[_0x3fa96f(0x92)](_0x3fa96f(0xcb)+_0x160fde[_0x3fa96f(0xa4)]);}try{const _0x3fe782=BrowserstackCLI[_0x3fa96f(0x94)]()[_0x3fa96f(0x137)]();_0x3fe782&&_0x43b607[_0x3fa96f(0x169)](typeof _0x3fe782[_0x3fa96f(0x163)],_0x43b607[_0x3fa96f(0xbe)])&&await _0x3fe782[_0x3fa96f(0x163)]();}catch(_0x2e7b95){logger['debug'](_0x3fa96f(0x14c)+_0x2e7b95[_0x3fa96f(0xa4)]);}const _0x5733cc=BrowserstackCLI[_0x3fa96f(0x11f)]();await BrowserstackCLI['getInstance']()[_0x3fa96f(0x10e)]()[_0x3fa96f(0x7f)](_0x4a208d=>{const _0x26dac5=_0x3fa96f;logger['debug'](_0x26dac5(0x117)+_0x4a208d[_0x26dac5(0xa4)]);}),_0x43b607[_0x3fa96f(0x130)](printBuildLink),await utilities['finalExecution'](_0x32ccf3,_0x5733cc)[_0x3fa96f(0x7f)](_0x3bb030=>{const _0x3c9bc3=_0x3fa96f;logger[_0x3c9bc3(0x92)]('finalExecution\x20error:\x20'+_0x3bb030['message']);}),process[_0x3fa96f(0x127)]=_0x5402fd,logger[_0x3fa96f(0x145)]('testcafe/command.js:\x20exit\x20code='+_0x5402fd);}}let _isExiting=![];const propagateSignal=_0x263fbb=>{const _0x16f8a0=a66_0x1cffa1,_0x2bfd6d={};_0x2bfd6d[_0x16f8a0(0xe9)]='failed',_0x2bfd6d[_0x16f8a0(0x10a)]=_0x16f8a0(0xf3),_0x2bfd6d['LPPbr']=_0x16f8a0(0xb9);const _0xaff7b3=_0x2bfd6d;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x15db80=_0x16f8a0;try{const _0x6fa645=registry[_0x15db80(0x109)]();for(const _0x32564e of _0x6fa645){try{registry[_0x15db80(0xee)](_0x32564e[_0x15db80(0x80)],_0xaff7b3[_0x15db80(0xe9)],_0x15db80(0x84)+_0x263fbb+'\x20before\x20runner.run()\x20completed');}catch(_0x30fb23){}}await Promise[_0x15db80(0x10b)]([registry[_0x15db80(0x121)](),new Promise(_0x3736ed=>setTimeout(_0x3736ed,0x1388))]);}catch(_0x53168e){}process[_0x15db80(0xfb)](_0xaff7b3[_0x15db80(0x10a)],_sigintHandler),process[_0x15db80(0xfb)](_0xaff7b3[_0x15db80(0x85)],_sigtermHandler),process[_0x15db80(0x161)](process[_0x15db80(0x14d)],_0x263fbb);})());};function a66_0x263c(_0x51211c,_0xe37ea5){const _0xe8154f=a66_0xe815();return a66_0x263c=function(_0x263cce,_0x385735){_0x263cce=_0x263cce-0x72;let _0x1652b7=_0xe8154f[_0x263cce];return _0x1652b7;},a66_0x263c(_0x51211c,_0xe37ea5);}function a66_0xe815(){const _0x2ce3e8=['push','browserstackLocal','chrome:','lgAmB','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a',']\x20hubUrl=','NLLBn','EkgFS','SQdPO','depth','trim','dhbza','markStatus','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','env','FMHEX','12417640TAsTox','SIGINT','jmxAa','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','length','IrYKw','register',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','removeListener','dahkb','--browsers','./session-registry','hXHMP','driverInit','Phhhr','startsWith','IzEjd','pnpoC','jfkgl','FuFcK','firefox','cwd','listEntries','NOKvO','race','testSources','6812760yPhjHn','stop','from','WOvcO','index.js','run','getHubUrl','34909XXwtOu','../../helpers/utilities','SWSKP','BrowserstackCLI.stop\x20error:\x20','src','PACYK','dGrjq','CqQFA','testcafe/command.js:\x20exit\x20code=','match',']\x20run\x20failed\x20—\x20','isCLIEnabled','tKnaA','quitAll','desiredCapabilities','type','data','cztjf','OMndt','exitCode','kZZrv','5342992uNoScL','ZNpqn','options','UcGNC','isBuffer','HITwJ','unref','MkRhH','platforms','error','.\x20Pattern:\x20','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','finalExecution','passed','getTestFramework','KmSMU','projectToken','NvLLP','capabilities',',\x20platforms=','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','XgjLd','configPath','runner.run()\x20exceeded\x20','./w3c-driver','safari','XdRQD','write','info','tnnyV','./stdout-interceptor','NZULI','../v2/cliUtils','commandsToWrap','kQrIH','finalizeOrphans\x20error:\x20','pid','OoYND','browserstackAutomation','openSession','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','vFfcS','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','chrome:headless','createRunner','toString','bIUpq','owaXP','UAqbE','rhoZE','concurrency','474rSUhTi','name','wUXLc','spec','kill','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','finalizeOrphans','ccwCo','connection','getRerunTestGrep','xEIMf','testCafeConfig','eOCCu','uninstall','createBrowserConnection','CnKUP','firefox:headless','iCTRW','346248oNOxMf','--browsers=','warn','26426JrzUkI','RDsBA','chrome',',\x20concurrency=','idleTimeout','spBau','util','getConfig','test','finalExecution\x20error:\x20','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','iRFSJ','stderr','12315474ocvuAn','pggSl','browsers','reporter','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','testcafe','sessionId','config','testcafe/command.js:\x20testSources=','setFrameworkDetail','filter','fDHcr','eWmNV','qeVAv','code','catch','platformIndex','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','resolve','\x20—\x20stopping\x20pings\x20for\x20this\x20session','Aborted\x20by\x20','LPPbr','\x20→\x20','install','has','TestCafe\x20runner\x20exited\x20with\x20code\x20','iWErx','setBrowserstackConfig','accessibilityConfig','includes','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','[testcafe]\x20provisioning\x20session\x20for\x20platform[','cUpia','remote','debug','inspect','getInstance','close','KvpYr','CXixt','getCapabilities','firefox:','isArray','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','eZpaX','commands','[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.','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','stringify','MHcvx','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','message','WWyTO','cliConfig','AmGhI','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','../../helpers/logger','ICRHN','dgXgr','failed','-b=','FTYbe','constructor','ssZby','testcafe/command.js:\x20platform[','\x20(meta=','slice',']\x20finished\x20with\x20exit=','UfkzY','number','getModule','commandsList','SIGTERM','hubUrl','initialize','yDhRa','PmsXa','ijzIG','mKdyt','elpUV','EnQVk','opera','BROWSERSTACK_RERUN','libMW','FwVvD','isRunning','../../helpers/helper','GVLPL','stack','winstonLogger','tc.close\x20error:\x20','epORq','BROWSERSTACK_HUB_URL','Ktwlm','getCurrentUrl','279GhrTuR','getAccessibilityModule','fOYpB','percy',']:\x20','url','PUGIl','toLowerCase','unknown\x20error\x20(falsy)','alwaysMatch','rerunTestGrep','getMethod','rYZDw','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','driver','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','false','getName'];a66_0xe815=function(){return _0x2ce3e8;};return a66_0xe815();}function _sigintHandler(){const _0x82af3f=a66_0x1cffa1,_0x308d14={'MktYm':function(_0x18ba97,_0x5133c3){return _0x18ba97(_0x5133c3);},'HITwJ':_0x82af3f(0xf3)};_0x308d14['MktYm'](propagateSignal,_0x308d14[_0x82af3f(0x12e)]);}function _sigtermHandler(){const _0x2a6ecf=a66_0x1cffa1,_0x59f110={'KvpYr':function(_0x3fda07,_0x2ac1a2){return _0x3fda07(_0x2ac1a2);},'ssZby':'SIGTERM'};_0x59f110[_0x2a6ecf(0x96)](propagateSignal,_0x59f110[_0x2a6ecf(0xb0)]);}process['on'](a66_0x1cffa1(0xf3),_sigintHandler),process['on']('SIGTERM',_sigtermHandler),module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a66_0x1095(_0x8741a4,_0x69d316){const _0x45871d=a66_0x4587();return a66_0x1095=function(_0x10953d,_0x5686b4){_0x10953d=_0x10953d-0xd5;let _0x493383=_0x45871d[_0x10953d];return _0x493383;},a66_0x1095(_0x8741a4,_0x69d316);}const a66_0x2c4919=a66_0x1095;(function(_0x159118,_0xeb9d4d){const _0x19eb75=a66_0x1095,_0x4f42e8=_0x159118();while(!![]){try{const _0x3238e7=parseInt(_0x19eb75(0x12f))/0x1*(-parseInt(_0x19eb75(0x103))/0x2)+parseInt(_0x19eb75(0xd8))/0x3*(-parseInt(_0x19eb75(0xfa))/0x4)+-parseInt(_0x19eb75(0x12e))/0x5*(-parseInt(_0x19eb75(0x100))/0x6)+parseInt(_0x19eb75(0x114))/0x7+parseInt(_0x19eb75(0xdd))/0x8+-parseInt(_0x19eb75(0xea))/0x9+-parseInt(_0x19eb75(0xf2))/0xa*(parseInt(_0x19eb75(0x11d))/0xb);if(_0x3238e7===_0xeb9d4d)break;else _0x4f42e8['push'](_0x4f42e8['shift']());}catch(_0x4a6a2d){_0x4f42e8['push'](_0x4f42e8['shift']());}}}(a66_0x4587,0xc69ea));const path=require(a66_0x2c4919(0x145)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a66_0x2c4919(0x10c)),logger=require(a66_0x2c4919(0xdf))[a66_0x2c4919(0x115)],BrowserstackCLI=require(a66_0x2c4919(0x138)),TestFrameworkState=require(a66_0x2c4919(0xe6)),AutomationFrameworkState=require(a66_0x2c4919(0x108)),HookState=require(a66_0x2c4919(0x109)),TestInfo=require(a66_0x2c4919(0x127)),AutomationFramework=require('../../v2/framework/automationFramework'),TestCafeAutomationFramework=require(a66_0x2c4919(0xdc)),sessionRegistry=require(a66_0x2c4919(0xf0));function a66_0x4587(){const _0x2b0eee=['../../v2/browserstackCLI','currentTaskInfo','unknown','info','test','\x20@\x20','[testcafe-reporter]\x20reportTaskDone:\x20passed=','JfnQc','filter','IFrBC','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','AFTER_ALL','nhlEa','path','meta','MBBjU','fixturePath','4536hPXDYf','CBweP','userAgent','capabilities','../../v2/framework/testcafeAutomationFramework','9761472PwGrRu','BEFORE_ALL','../../../helpers/logger','trackEvent','VeIna','qXgdA','PRE','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','[testcafe-reporter]\x20reportTestStart:\x20','../../v2/state/testFrameworkState','name','endTime','getAutomationFramework','7921170nSNHNl','stack','platformIndex','\x20totalDuration=','StTlJ','userAgents','../session-registry','function','170310zADyBb','taskStructure','map','[testcafe-reporter]\x20reportFixtureStart:\x20','bCYiZ','startTime','getInstance','fixtureStack','2168ljAxwt','getTestFramework','vDfdr','SQqqm','sogaB','setup','9515334NOyaRh','isRunning','ZHDNG','169276PSeKDz','oKauP','failedCount','isInteger','errs','../../v2/state/automationFrameworkState','../../v2/state/hookState','FbiNk','isArray','./tcUtils','error','testRunInfo','QlZLQ','cauVO','skippedCount','\x20tests\x20across\x20','AFTER_EACH','1403423qMYbID','winstonLogger','testStartInfo','unstable','[testcafe-reporter]\x20reportTaskStart:\x20',',\x20skipped=','POST','length','[testcafe-reporter]\x20reportTestDone:\x20','264OUzzUd','testName','BEFORE_EACH','HaXWz','iterAllInstances','fixtureName','hLBBw','passedCount','driver','hubUrl','../../v2/TestInfo','removeInstance','TEST','durationMs','\x20(errs=','skipped','listEntries','5PDpzsO','1XeJYDt','debug','jWGDt','RSUdI','properties','screenshots','exports','QUIT','quarantine'];a66_0x4587=function(){return _0x2b0eee;};return a66_0x4587();}module[a66_0x2c4919(0x135)]=function(_0x20a702){const _0x53c429=a66_0x2c4919,_0x127a68={'HaXWz':function(_0x223222,..._0x56f064){return _0x223222(..._0x56f064);},'sogaB':'handler','cauVO':'testcafe','MBBjU':function(_0x54441b,_0x7d1e48){return _0x54441b===_0x7d1e48;},'QlZLQ':_0x53c429(0xf1),'raUcA':function(_0x3aad6e,_0x248cc1){return _0x3aad6e<_0x248cc1;},'jWGDt':function(_0x10f74f,_0x3dd330){return _0x10f74f||_0x3dd330;},'bCYiZ':function(_0xc18fb7,_0x5c246d){return _0xc18fb7(_0x5c246d);},'VeIna':function(_0x5b71f1,_0x8bcc4){return _0x5b71f1-_0x8bcc4;},'hLBBw':_0x53c429(0x13a),'FbiNk':function(_0x1c4432,_0x151cd6){return _0x1c4432(_0x151cd6);},'qXgdA':function(_0x137d25,_0x46811b,_0x4928db){return _0x137d25(_0x46811b,_0x4928db);},'vDfdr':function(_0x2bdd14,_0x3c0295){return _0x2bdd14(_0x3c0295);},'nhlEa':function(_0x424297,_0xdde31d){return _0x424297-_0xdde31d;},'SQqqm':function(_0xf4fb78,_0xdcdff4){return _0xf4fb78(_0xdcdff4);},'oKauP':function(_0x3a7580,_0x4fcbdf){return _0x3a7580(_0x4fcbdf);},'StTlJ':function(_0x2a19fa,_0x34151b){return _0x2a19fa(_0x34151b);},'ZHDNG':function(_0x2e96f0,_0x4935f5){return _0x2e96f0===_0x4935f5;},'CBweP':function(_0x27ebd1,_0x5529ac){return _0x27ebd1+_0x5529ac;},'JfnQc':function(_0x341c0d,_0x4f7569){return _0x341c0d+_0x4f7569;},'IFrBC':function(_0x561161,_0x385a0a){return _0x561161||_0x385a0a;},'RSUdI':function(_0xeb9433,_0x2fb2c2){return _0xeb9433(_0x2fb2c2);},'IAlTt':function(_0x3f0c1a,_0x488a2f){return _0x3f0c1a(_0x488a2f);}},_0x4c4c1f={'options':_0x127a68[_0x53c429(0x141)](_0x20a702,{}),'fixtureStack':[],'currentTaskInfo':null},_0x5cc605=_0x4f5db1=>async(..._0x26db05)=>{const _0x1d5ae7=_0x53c429;try{return await _0x127a68[_0x1d5ae7(0x120)](_0x4f5db1,..._0x26db05);}catch(_0x3caf73){logger[_0x1d5ae7(0x10d)](_0x1d5ae7(0xe4)+(_0x4f5db1['name']||_0x127a68[_0x1d5ae7(0xfe)])+':\x20'+(_0x3caf73[_0x1d5ae7(0xeb)]||_0x3caf73));}};return{'reportTaskStart':_0x127a68[_0x53c429(0x132)](_0x5cc605,async function _0xd5aeb7(_0x36c1fd,_0x48ebfc,_0x43a6bc,_0x1341f1,_0x59f0fa){const _0xfea7fa=_0x53c429,_0x4eab09={};_0x4eab09[_0xfea7fa(0xf7)]=_0x36c1fd,_0x4eab09[_0xfea7fa(0xef)]=_0x48ebfc,_0x4eab09['testCount']=_0x43a6bc,_0x4eab09[_0xfea7fa(0xf3)]=_0x1341f1,_0x4eab09[_0xfea7fa(0x133)]=_0x59f0fa,_0x4c4c1f[_0xfea7fa(0x139)]=_0x4eab09,logger[_0xfea7fa(0x13b)](_0xfea7fa(0x118)+_0x43a6bc+_0xfea7fa(0x112)+_0x48ebfc[_0xfea7fa(0x11b)]+'\x20browsers'),TestInfo[_0xfea7fa(0xff)]&&TestInfo['setup'](_0x127a68[_0xfea7fa(0x110)]);if(!BrowserstackCLI[_0xfea7fa(0xf8)]()||!BrowserstackCLI[_0xfea7fa(0xf8)]()[_0xfea7fa(0x101)]())return;const _0x398e7a=BrowserstackCLI[_0xfea7fa(0xf8)](),_0x265da2=_0x398e7a[_0xfea7fa(0xfb)]();if(_0x265da2&&_0x127a68['MBBjU'](typeof _0x265da2[_0xfea7fa(0xe0)],_0x127a68[_0xfea7fa(0x10f)])){const _0xc23df7={};_0xc23df7[_0xfea7fa(0xf7)]=_0x36c1fd,_0xc23df7[_0xfea7fa(0xef)]=_0x48ebfc,_0xc23df7['testCount']=_0x43a6bc,_0xc23df7[_0xfea7fa(0xf3)]=_0x1341f1,await _0x265da2[_0xfea7fa(0xe0)](TestFrameworkState['INIT_TEST'],HookState['PRE'],_0xc23df7);}const _0x30b0b0=_0x398e7a[_0xfea7fa(0xe9)](),_0xdebfec=sessionRegistry[_0xfea7fa(0x12d)]();if(_0x30b0b0&&_0x127a68['MBBjU'](typeof _0x30b0b0[_0xfea7fa(0xe0)],_0x127a68[_0xfea7fa(0x10f)]))for(let _0x2398f2=0x0;_0x127a68['raUcA'](_0x2398f2,(_0x48ebfc||[])[_0xfea7fa(0x11b)]);_0x2398f2++){const _0x131e5f=_0x48ebfc[_0x2398f2],_0x5dc2d7=_0xdebfec[_0x2398f2]||{};await _0x30b0b0[_0xfea7fa(0xe0)](AutomationFrameworkState['CREATE'],HookState[_0xfea7fa(0x11a)],{'userAgent':_0x131e5f,'startTime':_0x36c1fd,'driver':_0x5dc2d7[_0xfea7fa(0x125)],'sessionId':_0x5dc2d7['sessionId'],'platformIndex':Number[_0xfea7fa(0x106)](_0x5dc2d7[_0xfea7fa(0xec)])?_0x5dc2d7[_0xfea7fa(0xec)]:_0x2398f2,'capabilities':_0x5dc2d7[_0xfea7fa(0xdb)]||{},'hubUrl':_0x5dc2d7[_0xfea7fa(0x126)]||''});}}),'reportFixtureStart':_0x127a68[_0x53c429(0xfd)](_0x5cc605,async function _0x55212c(_0x5b039a,_0x11fae5,_0x4ba531){const _0x41440f=_0x53c429,_0x322865={'name':_0x5b039a,'path':_0x11fae5,'meta':_0x127a68[_0x41440f(0x131)](_0x4ba531,{})};_0x4c4c1f[_0x41440f(0xf9)]['push'](_0x322865),logger['debug'](_0x41440f(0xf5)+_0x5b039a+_0x41440f(0x13d)+_0x11fae5);if(BrowserstackCLI[_0x41440f(0xf8)]()&&BrowserstackCLI['getInstance']()[_0x41440f(0x101)]()){const _0x2f710b=BrowserstackCLI[_0x41440f(0xf8)](),_0x43460b=_0x2f710b[_0x41440f(0xfb)]();if(_0x43460b&&_0x127a68[_0x41440f(0xd6)](typeof _0x43460b[_0x41440f(0xe0)],_0x127a68[_0x41440f(0x10f)])){const _0x1f9453=_0x4c4c1f['currentTaskInfo']&&_0x4c4c1f[_0x41440f(0x139)]['userAgents']||[],_0x319668={'fixture':_0x322865,'fixtureIdentifier':_0x127a68[_0x41440f(0xf6)](getFixtureIdentifier,_0x322865),'userAgents':_0x1f9453};await _0x43460b[_0x41440f(0xe0)](TestFrameworkState[_0x41440f(0xde)],HookState[_0x41440f(0xe3)],_0x319668),await _0x43460b[_0x41440f(0xe0)](TestFrameworkState[_0x41440f(0xde)],HookState[_0x41440f(0x11a)],_0x319668);}}}),'reportTestStart':_0x127a68[_0x53c429(0xee)](_0x5cc605,async function _0xbb9afc(_0x291dc0,_0x1e5ab2,_0x45a781){const _0x3afac7=_0x53c429,_0x46a388=_0x4c4c1f[_0x3afac7(0xf9)][_0x127a68[_0x3afac7(0xe1)](_0x4c4c1f[_0x3afac7(0xf9)][_0x3afac7(0x11b)],0x1)]||{'name':_0x127a68[_0x3afac7(0x123)],'path':_0x127a68[_0x3afac7(0x123)]},_0x11aceb={};_0x11aceb['fixtureName']=_0x46a388[_0x3afac7(0xe7)],_0x11aceb['fixturePath']=_0x46a388[_0x3afac7(0x145)],_0x11aceb[_0x3afac7(0x11e)]=_0x291dc0,_0x11aceb[_0x3afac7(0xd5)]=_0x1e5ab2;const _0x4bdb40=_0x127a68[_0x3afac7(0x10a)](synthesizeTestObject,_0x11aceb);logger[_0x3afac7(0x130)](_0x3afac7(0xe5)+_0x127a68['qXgdA'](getTestIdentifier,_0x4bdb40,0x0));const _0x26d4ef=_0x4c4c1f[_0x3afac7(0x139)]&&_0x4c4c1f['currentTaskInfo'][_0x3afac7(0xef)]||[];if(BrowserstackCLI[_0x3afac7(0xf8)]()&&BrowserstackCLI[_0x3afac7(0xf8)]()[_0x3afac7(0x101)]()){const _0x16e4f2=BrowserstackCLI[_0x3afac7(0xf8)](),_0x5213cc=_0x16e4f2['getTestFramework']();if(_0x5213cc&&_0x127a68['MBBjU'](typeof _0x5213cc[_0x3afac7(0xe0)],_0x127a68[_0x3afac7(0x10f)])){const _0x2ac2fa={'fixture':_0x46a388,'test':_0x4bdb40,'fixtureIdentifier':_0x127a68[_0x3afac7(0xfc)](getFixtureIdentifier,_0x46a388),'userAgents':_0x26d4ef};await _0x5213cc[_0x3afac7(0xe0)](TestFrameworkState[_0x3afac7(0x11f)],HookState[_0x3afac7(0xe3)],_0x2ac2fa),await _0x5213cc[_0x3afac7(0xe0)](TestFrameworkState['BEFORE_EACH'],HookState[_0x3afac7(0x11a)],_0x2ac2fa);const _0x5e34e2={};_0x5e34e2[_0x3afac7(0x13c)]=_0x4bdb40,_0x5e34e2[_0x3afac7(0x116)]=_0x45a781,_0x5e34e2[_0x3afac7(0xd5)]=_0x1e5ab2,_0x5e34e2[_0x3afac7(0xef)]=_0x26d4ef,await _0x5213cc[_0x3afac7(0xe0)](TestFrameworkState[_0x3afac7(0x129)],HookState['PRE'],_0x5e34e2);}}}),'reportTestDone':_0x127a68['IAlTt'](_0x5cc605,async function _0x54717(_0xaf94b5,_0x15d4d9,_0x511667){const _0x567295=_0x53c429,_0x4842a0=_0x4c4c1f[_0x567295(0xf9)][_0x127a68[_0x567295(0x144)](_0x4c4c1f['fixtureStack'][_0x567295(0x11b)],0x1)]||{'name':_0x127a68[_0x567295(0x123)],'path':_0x127a68[_0x567295(0x123)]},_0x2491fd={};_0x2491fd[_0x567295(0x122)]=_0x4842a0[_0x567295(0xe7)],_0x2491fd[_0x567295(0xd7)]=_0x4842a0[_0x567295(0x145)],_0x2491fd[_0x567295(0x11e)]=_0xaf94b5,_0x2491fd[_0x567295(0xd5)]=_0x511667;const _0x5b334d=_0x127a68[_0x567295(0x10a)](synthesizeTestObject,_0x2491fd),_0x5940ed=Array[_0x567295(0x10b)](_0x15d4d9&&_0x15d4d9['errs'])?_0x15d4d9[_0x567295(0x107)][_0x567295(0xf4)](formatError)[_0x567295(0x140)](Boolean):[],_0x391219=_0x127a68[_0x567295(0xfd)](getScreenshotPaths,_0x15d4d9)[_0x567295(0xf4)](_0x3268e1=>({'screenshotPath':_0x3268e1})),_0x29de1e={};_0x29de1e[_0x567295(0x12a)]=_0x15d4d9&&_0x15d4d9[_0x567295(0x12a)]||0x0,_0x29de1e['skipped']=!!(_0x15d4d9&&_0x15d4d9[_0x567295(0x12c)]),_0x29de1e[_0x567295(0x107)]=_0x5940ed,_0x29de1e[_0x567295(0x134)]=_0x391219,_0x29de1e[_0x567295(0x117)]=!!(_0x15d4d9&&_0x15d4d9[_0x567295(0x117)]),_0x29de1e['quarantine']=_0x15d4d9&&_0x15d4d9[_0x567295(0x137)];const _0x71b31b=_0x29de1e;logger[_0x567295(0x130)](_0x567295(0x11c)+_0x127a68[_0x567295(0xe2)](getTestIdentifier,_0x5b334d,0x0)+_0x567295(0x12b)+_0x5940ed['length']+_0x567295(0x119)+_0x71b31b[_0x567295(0x12c)]+')');const _0xe13ab=_0x4c4c1f['currentTaskInfo']&&_0x4c4c1f[_0x567295(0x139)][_0x567295(0xef)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI['getInstance']()[_0x567295(0x101)]()){const _0x4d73b7=BrowserstackCLI[_0x567295(0xf8)](),_0x5680f4=_0x4d73b7[_0x567295(0xfb)]();if(_0x5680f4&&_0x127a68[_0x567295(0xd6)](typeof _0x5680f4[_0x567295(0xe0)],_0x127a68[_0x567295(0x10f)])){const _0x4a34bf={};_0x4a34bf[_0x567295(0x13c)]=_0x5b334d,_0x4a34bf[_0x567295(0x10e)]=_0x71b31b,_0x4a34bf[_0x567295(0xd5)]=_0x511667,_0x4a34bf[_0x567295(0xef)]=_0xe13ab,await _0x5680f4[_0x567295(0xe0)](TestFrameworkState['TEST'],HookState['POST'],_0x4a34bf);const _0x50bbc0={'fixture':_0x4842a0,'test':_0x5b334d,'fixtureIdentifier':_0x127a68[_0x567295(0x104)](getFixtureIdentifier,_0x4842a0),'userAgents':_0xe13ab};await _0x5680f4[_0x567295(0xe0)](TestFrameworkState[_0x567295(0x113)],HookState[_0x567295(0xe3)],_0x50bbc0),await _0x5680f4[_0x567295(0xe0)](TestFrameworkState[_0x567295(0x113)],HookState[_0x567295(0x11a)],_0x50bbc0);}}}),'reportTaskDone':_0x127a68[_0x53c429(0x120)](_0x5cc605,async function _0x1c4faa(_0x342a5d,_0x590dba,_0x22a184,_0x2ee15c){const _0x39c4aa=_0x53c429;while(_0x4c4c1f[_0x39c4aa(0xf9)][_0x39c4aa(0x11b)]){const _0x276125=_0x4c4c1f[_0x39c4aa(0xf9)]['pop']();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI['getInstance']()[_0x39c4aa(0x101)]()){const _0x34adf1=BrowserstackCLI[_0x39c4aa(0xf8)](),_0x43e4ff=_0x34adf1[_0x39c4aa(0xfb)]();if(_0x43e4ff&&_0x127a68[_0x39c4aa(0xd6)](typeof _0x43e4ff[_0x39c4aa(0xe0)],_0x127a68[_0x39c4aa(0x10f)])){const _0x3cbd1f=_0x4c4c1f[_0x39c4aa(0x139)]&&_0x4c4c1f[_0x39c4aa(0x139)]['userAgents']||[],_0x440584={'fixture':_0x276125,'fixtureIdentifier':_0x127a68['StTlJ'](getFixtureIdentifier,_0x276125),'userAgents':_0x3cbd1f};await _0x43e4ff[_0x39c4aa(0xe0)](TestFrameworkState[_0x39c4aa(0x143)],HookState[_0x39c4aa(0xe3)],_0x440584),await _0x43e4ff[_0x39c4aa(0xe0)](TestFrameworkState[_0x39c4aa(0x143)],HookState[_0x39c4aa(0x11a)],_0x440584);}}}if(BrowserstackCLI['getInstance']()&&BrowserstackCLI['getInstance']()[_0x39c4aa(0x101)]()){const _0x4e6f69=BrowserstackCLI[_0x39c4aa(0xf8)](),_0x835a1a=_0x4e6f69['getAutomationFramework']();if(_0x835a1a&&_0x127a68[_0x39c4aa(0x102)](typeof _0x835a1a[_0x39c4aa(0xe0)],_0x127a68['QlZLQ']))for(const {userAgent:_0x3ef048,platformIndex:_0x32e076,instance:_0x519158}of TestCafeAutomationFramework[_0x39c4aa(0x121)]()){try{const _0x1894b4={};_0x1894b4[_0x39c4aa(0xda)]=_0x3ef048,_0x1894b4[_0x39c4aa(0xec)]=_0x32e076,_0x1894b4[_0x39c4aa(0xe8)]=_0x342a5d,_0x1894b4['instance']=_0x519158,await _0x835a1a[_0x39c4aa(0xe0)](AutomationFrameworkState[_0x39c4aa(0x136)],HookState[_0x39c4aa(0x11a)],_0x1894b4);}catch(_0x33833c){logger['error'](_0x39c4aa(0x142)+_0x3ef048+'#'+_0x32e076+':\x20'+_0x33833c['message']);}TestCafeAutomationFramework[_0x39c4aa(0x128)](_0x3ef048,_0x32e076);}}logger['info'](_0x39c4aa(0x13e)+_0x590dba+'\x20warnings='+(_0x22a184&&_0x22a184[_0x39c4aa(0x11b)])+_0x39c4aa(0xed)+(_0x2ee15c&&_0x127a68[_0x39c4aa(0xd9)](_0x127a68[_0x39c4aa(0x13f)](_0x2ee15c[_0x39c4aa(0x105)],_0x2ee15c[_0x39c4aa(0x124)]),_0x2ee15c[_0x39c4aa(0x111)])));})};};
|
|
1
|
+
'use strict';const a67_0x33a5df=a67_0x167e;(function(_0x253f1b,_0x533c94){const _0x235261=a67_0x167e,_0x4e6d29=_0x253f1b();while(!![]){try{const _0x70cf0c=parseInt(_0x235261(0x1d7))/0x1*(-parseInt(_0x235261(0x18a))/0x2)+parseInt(_0x235261(0x1ab))/0x3*(-parseInt(_0x235261(0x199))/0x4)+-parseInt(_0x235261(0x18e))/0x5*(parseInt(_0x235261(0x192))/0x6)+parseInt(_0x235261(0x1a5))/0x7*(parseInt(_0x235261(0x1b3))/0x8)+parseInt(_0x235261(0x1aa))/0x9+-parseInt(_0x235261(0x17e))/0xa+parseInt(_0x235261(0x1b9))/0xb*(parseInt(_0x235261(0x1a0))/0xc);if(_0x70cf0c===_0x533c94)break;else _0x4e6d29['push'](_0x4e6d29['shift']());}catch(_0x3b16ab){_0x4e6d29['push'](_0x4e6d29['shift']());}}}(a67_0x3e45,0x53202));const path=require(a67_0x33a5df(0x190)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a67_0x33a5df(0x1c9)),logger=require(a67_0x33a5df(0x189))['winstonLogger'],BrowserstackCLI=require(a67_0x33a5df(0x19e)),TestFrameworkState=require(a67_0x33a5df(0x198)),AutomationFrameworkState=require(a67_0x33a5df(0x1be)),HookState=require(a67_0x33a5df(0x1b1)),TestInfo=require('../../v2/TestInfo'),AutomationFramework=require(a67_0x33a5df(0x17d)),TestCafeAutomationFramework=require(a67_0x33a5df(0x1db)),sessionRegistry=require(a67_0x33a5df(0x1cd));module[a67_0x33a5df(0x191)]=function(_0x4e8b38){const _0x3463d6=a67_0x33a5df,_0x32eb11={'NngJw':function(_0x2f2f86,..._0x15647a){return _0x2f2f86(..._0x15647a);},'Bxrai':_0x3463d6(0x1d6),'ujpkm':'testcafe','RrjPu':function(_0x533bd1,_0xf2fde){return _0x533bd1===_0xf2fde;},'WsQTN':_0x3463d6(0x1cb),'pHgsz':function(_0x4de581,_0x2fe35f){return _0x4de581<_0x2fe35f;},'qWgwQ':function(_0x28b493,_0x2337aa){return _0x28b493||_0x2337aa;},'TuVNV':function(_0x480b40,_0x3ec7d4){return _0x480b40===_0x3ec7d4;},'XyMSg':function(_0x484d83,_0x477675){return _0x484d83-_0x477675;},'neUKA':_0x3463d6(0x19a),'rRNMP':function(_0x123577,_0x3f5270){return _0x123577(_0x3f5270);},'ilZHe':function(_0x4f2c56,_0x3cc09c,_0x288c73){return _0x4f2c56(_0x3cc09c,_0x288c73);},'laWWW':function(_0x141f21,_0x3a3bfa,_0x595505){return _0x141f21(_0x3a3bfa,_0x595505);},'jMTqi':function(_0x419915,_0x4febdc){return _0x419915===_0x4febdc;},'pjLYv':function(_0x4e8ff9,_0x2d4c36){return _0x4e8ff9(_0x2d4c36);},'RhQqz':function(_0x3f5649,_0x3f6eba){return _0x3f5649(_0x3f6eba);},'IVUUJ':function(_0x14dcd3,_0x338063){return _0x14dcd3===_0x338063;},'SqklF':function(_0x40bb35,_0x5303fd){return _0x40bb35+_0x5303fd;},'HYZLL':function(_0x28a0bb,_0x4b2a35){return _0x28a0bb(_0x4b2a35);}},_0x4d845f={'options':_0x32eb11[_0x3463d6(0x183)](_0x4e8b38,{}),'fixtureStack':[],'currentTaskInfo':null},_0x297119=_0x41e7f5=>async(..._0x4fe2f5)=>{const _0x45c9a7=_0x3463d6;try{return await _0x32eb11['NngJw'](_0x41e7f5,..._0x4fe2f5);}catch(_0x510586){logger['error'](_0x45c9a7(0x1a9)+(_0x41e7f5[_0x45c9a7(0x181)]||_0x32eb11[_0x45c9a7(0x1de)])+':\x20'+(_0x510586[_0x45c9a7(0x1d2)]||_0x510586));}};return{'reportTaskStart':_0x32eb11[_0x3463d6(0x1cf)](_0x297119,async function _0x4ccbc3(_0x388591,_0xee7390,_0x1ccf7e,_0x3db471,_0x1447b1){const _0x571773=_0x3463d6,_0x364adb={};_0x364adb[_0x571773(0x1b2)]=_0x388591,_0x364adb[_0x571773(0x1e1)]=_0xee7390,_0x364adb[_0x571773(0x1bd)]=_0x1ccf7e,_0x364adb[_0x571773(0x1d0)]=_0x3db471,_0x364adb[_0x571773(0x1c5)]=_0x1447b1,_0x4d845f[_0x571773(0x1c8)]=_0x364adb,logger['info']('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x1ccf7e+_0x571773(0x17c)+_0xee7390['length']+'\x20browsers'),TestInfo[_0x571773(0x1b6)]&&TestInfo[_0x571773(0x1b6)](_0x32eb11[_0x571773(0x1bf)]);if(!BrowserstackCLI[_0x571773(0x1e0)]()||!BrowserstackCLI[_0x571773(0x1e0)]()[_0x571773(0x193)]())return;const _0x19bc74=BrowserstackCLI['getInstance'](),_0xfc0233=_0x19bc74[_0x571773(0x1d4)]();if(_0xfc0233&&_0x32eb11[_0x571773(0x17f)](typeof _0xfc0233['trackEvent'],_0x32eb11['WsQTN'])){const _0x27492a={};_0x27492a[_0x571773(0x1b2)]=_0x388591,_0x27492a[_0x571773(0x1e1)]=_0xee7390,_0x27492a[_0x571773(0x1bd)]=_0x1ccf7e,_0x27492a[_0x571773(0x1d0)]=_0x3db471,await _0xfc0233[_0x571773(0x19d)](TestFrameworkState['INIT_TEST'],HookState[_0x571773(0x184)],_0x27492a);}const _0x3fdb78=_0x19bc74[_0x571773(0x195)](),_0x3dac95=sessionRegistry['listEntries']();if(_0x3fdb78&&_0x32eb11['RrjPu'](typeof _0x3fdb78[_0x571773(0x19d)],_0x32eb11['WsQTN']))for(let _0x450eb6=0x0;_0x32eb11[_0x571773(0x17b)](_0x450eb6,(_0xee7390||[])[_0x571773(0x1ad)]);_0x450eb6++){const _0x4773fb=_0xee7390[_0x450eb6],_0x4d9ba3=_0x3dac95[_0x450eb6]||{};await _0x3fdb78[_0x571773(0x19d)](AutomationFrameworkState[_0x571773(0x1a3)],HookState[_0x571773(0x187)],{'userAgent':_0x4773fb,'startTime':_0x388591,'driver':_0x4d9ba3[_0x571773(0x18c)],'sessionId':_0x4d9ba3[_0x571773(0x1ac)],'platformIndex':Number['isInteger'](_0x4d9ba3[_0x571773(0x17a)])?_0x4d9ba3['platformIndex']:_0x450eb6,'capabilities':_0x4d9ba3[_0x571773(0x1a4)]||{},'hubUrl':_0x4d9ba3['hubUrl']||''});}}),'reportFixtureStart':_0x32eb11[_0x3463d6(0x1a2)](_0x297119,async function _0x3b3769(_0x48b261,_0x28f1cc,_0x4ba3c9){const _0x3b42b6=_0x3463d6,_0x4debf9={'name':_0x48b261,'path':_0x28f1cc,'meta':_0x32eb11[_0x3b42b6(0x183)](_0x4ba3c9,{})};_0x4d845f['fixtureStack']['push'](_0x4debf9),logger[_0x3b42b6(0x1d9)]('[testcafe-reporter]\x20reportFixtureStart:\x20'+_0x48b261+_0x3b42b6(0x19b)+_0x28f1cc);if(BrowserstackCLI[_0x3b42b6(0x1e0)]()&&BrowserstackCLI[_0x3b42b6(0x1e0)]()[_0x3b42b6(0x193)]()){const _0x9b431f=BrowserstackCLI[_0x3b42b6(0x1e0)](),_0xc7c01=_0x9b431f[_0x3b42b6(0x1d4)]();if(_0xc7c01&&_0x32eb11[_0x3b42b6(0x18f)](typeof _0xc7c01[_0x3b42b6(0x19d)],_0x32eb11[_0x3b42b6(0x1ce)])){const _0x65fc46=_0x4d845f[_0x3b42b6(0x1c8)]&&_0x4d845f['currentTaskInfo'][_0x3b42b6(0x1e1)]||[],_0x7e47c4={'fixture':_0x4debf9,'fixtureIdentifier':_0x32eb11[_0x3b42b6(0x1b5)](getFixtureIdentifier,_0x4debf9),'userAgents':_0x65fc46};await _0xc7c01[_0x3b42b6(0x19d)](TestFrameworkState[_0x3b42b6(0x1d1)],HookState[_0x3b42b6(0x184)],_0x7e47c4),await _0xc7c01[_0x3b42b6(0x19d)](TestFrameworkState[_0x3b42b6(0x1d1)],HookState['POST'],_0x7e47c4);}}}),'reportTestStart':_0x32eb11[_0x3463d6(0x1da)](_0x297119,async function _0x63b8bc(_0x2e6f19,_0x35057e,_0x7e31c6){const _0x4ca655=_0x3463d6,_0x2c057b=_0x4d845f['fixtureStack'][_0x32eb11['XyMSg'](_0x4d845f[_0x4ca655(0x1dc)][_0x4ca655(0x1ad)],0x1)]||{'name':_0x32eb11[_0x4ca655(0x1c0)],'path':_0x32eb11[_0x4ca655(0x1c0)]},_0x14957d={};_0x14957d[_0x4ca655(0x18b)]=_0x2c057b[_0x4ca655(0x181)],_0x14957d['fixturePath']=_0x2c057b['path'],_0x14957d[_0x4ca655(0x182)]=_0x2e6f19,_0x14957d[_0x4ca655(0x1a1)]=_0x35057e;const _0x5a00cb=_0x32eb11[_0x4ca655(0x1cf)](synthesizeTestObject,_0x14957d);logger[_0x4ca655(0x1d9)](_0x4ca655(0x1d3)+_0x32eb11[_0x4ca655(0x1ca)](getTestIdentifier,_0x5a00cb,0x0));const _0x136b85=_0x4d845f[_0x4ca655(0x1c8)]&&_0x4d845f[_0x4ca655(0x1c8)]['userAgents']||[];if(BrowserstackCLI[_0x4ca655(0x1e0)]()&&BrowserstackCLI['getInstance']()[_0x4ca655(0x193)]()){const _0x5c94aa=BrowserstackCLI['getInstance'](),_0x354829=_0x5c94aa[_0x4ca655(0x1d4)]();if(_0x354829&&_0x32eb11[_0x4ca655(0x18f)](typeof _0x354829[_0x4ca655(0x19d)],_0x32eb11[_0x4ca655(0x1ce)])){const _0x1c543a={'fixture':_0x2c057b,'test':_0x5a00cb,'fixtureIdentifier':_0x32eb11[_0x4ca655(0x1cf)](getFixtureIdentifier,_0x2c057b),'userAgents':_0x136b85};await _0x354829['trackEvent'](TestFrameworkState[_0x4ca655(0x18d)],HookState['PRE'],_0x1c543a),await _0x354829['trackEvent'](TestFrameworkState['BEFORE_EACH'],HookState[_0x4ca655(0x187)],_0x1c543a);const _0x2b74cd={};_0x2b74cd[_0x4ca655(0x19f)]=_0x5a00cb,_0x2b74cd['testStartInfo']=_0x7e31c6,_0x2b74cd[_0x4ca655(0x1a1)]=_0x35057e,_0x2b74cd[_0x4ca655(0x1e1)]=_0x136b85,await _0x354829[_0x4ca655(0x19d)](TestFrameworkState[_0x4ca655(0x1bc)],HookState[_0x4ca655(0x184)],_0x2b74cd);}}}),'reportTestDone':_0x32eb11['NngJw'](_0x297119,async function _0x204b7e(_0x32b3a4,_0x5a4dc4,_0x43eabe){const _0x148d00=_0x3463d6,_0x4b6343=_0x4d845f[_0x148d00(0x1dc)][_0x32eb11[_0x148d00(0x1b8)](_0x4d845f[_0x148d00(0x1dc)][_0x148d00(0x1ad)],0x1)]||{'name':_0x32eb11[_0x148d00(0x1c0)],'path':_0x32eb11[_0x148d00(0x1c0)]},_0x9280e5={};_0x9280e5[_0x148d00(0x18b)]=_0x4b6343[_0x148d00(0x181)],_0x9280e5[_0x148d00(0x194)]=_0x4b6343[_0x148d00(0x190)],_0x9280e5[_0x148d00(0x182)]=_0x32b3a4,_0x9280e5[_0x148d00(0x1a1)]=_0x43eabe;const _0x4f20e1=_0x32eb11[_0x148d00(0x1cf)](synthesizeTestObject,_0x9280e5),_0x6990a5=Array[_0x148d00(0x186)](_0x5a4dc4&&_0x5a4dc4[_0x148d00(0x19c)])?_0x5a4dc4['errs'][_0x148d00(0x1b4)](formatError)[_0x148d00(0x1b0)](Boolean):[],_0xa567b3=_0x32eb11[_0x148d00(0x1cf)](getScreenshotPaths,_0x5a4dc4)['map'](_0xa0283d=>({'screenshotPath':_0xa0283d})),_0x207266={};_0x207266['durationMs']=_0x5a4dc4&&_0x5a4dc4[_0x148d00(0x1af)]||0x0,_0x207266[_0x148d00(0x1b7)]=!!(_0x5a4dc4&&_0x5a4dc4[_0x148d00(0x1b7)]),_0x207266[_0x148d00(0x19c)]=_0x6990a5,_0x207266['screenshots']=_0xa567b3,_0x207266[_0x148d00(0x1c4)]=!!(_0x5a4dc4&&_0x5a4dc4[_0x148d00(0x1c4)]),_0x207266[_0x148d00(0x180)]=_0x5a4dc4&&_0x5a4dc4[_0x148d00(0x180)];const _0x485d16=_0x207266;logger['debug'](_0x148d00(0x1d5)+_0x32eb11[_0x148d00(0x179)](getTestIdentifier,_0x4f20e1,0x0)+'\x20(errs='+_0x6990a5[_0x148d00(0x1ad)]+',\x20skipped='+_0x485d16['skipped']+')');const _0x4d7642=_0x4d845f[_0x148d00(0x1c8)]&&_0x4d845f['currentTaskInfo'][_0x148d00(0x1e1)]||[];if(BrowserstackCLI[_0x148d00(0x1e0)]()&&BrowserstackCLI[_0x148d00(0x1e0)]()[_0x148d00(0x193)]()){const _0x4763f8=BrowserstackCLI['getInstance'](),_0x4173b1=_0x4763f8[_0x148d00(0x1d4)]();if(_0x4173b1&&_0x32eb11[_0x148d00(0x1c2)](typeof _0x4173b1[_0x148d00(0x19d)],_0x32eb11[_0x148d00(0x1ce)])){const _0x3afd25={};_0x3afd25[_0x148d00(0x19f)]=_0x4f20e1,_0x3afd25['testRunInfo']=_0x485d16,_0x3afd25[_0x148d00(0x1a1)]=_0x43eabe,_0x3afd25[_0x148d00(0x1e1)]=_0x4d7642,await _0x4173b1['trackEvent'](TestFrameworkState['TEST'],HookState[_0x148d00(0x187)],_0x3afd25);const _0x2949e3={'fixture':_0x4b6343,'test':_0x4f20e1,'fixtureIdentifier':_0x32eb11[_0x148d00(0x1d8)](getFixtureIdentifier,_0x4b6343),'userAgents':_0x4d7642};await _0x4173b1[_0x148d00(0x19d)](TestFrameworkState[_0x148d00(0x188)],HookState['PRE'],_0x2949e3),await _0x4173b1['trackEvent'](TestFrameworkState[_0x148d00(0x188)],HookState['POST'],_0x2949e3);}}}),'reportTaskDone':_0x32eb11[_0x3463d6(0x1cf)](_0x297119,async function _0x3367d0(_0x12ded9,_0x28ade9,_0x4319ac,_0xf1d84a){const _0x4c6114=_0x3463d6;while(_0x4d845f[_0x4c6114(0x1dc)][_0x4c6114(0x1ad)]){const _0x146b14=_0x4d845f[_0x4c6114(0x1dc)][_0x4c6114(0x1a8)]();if(BrowserstackCLI[_0x4c6114(0x1e0)]()&&BrowserstackCLI[_0x4c6114(0x1e0)]()['isRunning']()){const _0x57b231=BrowserstackCLI[_0x4c6114(0x1e0)](),_0x2e7066=_0x57b231['getTestFramework']();if(_0x2e7066&&_0x32eb11[_0x4c6114(0x17f)](typeof _0x2e7066['trackEvent'],_0x32eb11[_0x4c6114(0x1ce)])){const _0x2e49d0=_0x4d845f[_0x4c6114(0x1c8)]&&_0x4d845f[_0x4c6114(0x1c8)][_0x4c6114(0x1e1)]||[],_0x48c30a={'fixture':_0x146b14,'fixtureIdentifier':_0x32eb11[_0x4c6114(0x1a2)](getFixtureIdentifier,_0x146b14),'userAgents':_0x2e49d0};await _0x2e7066[_0x4c6114(0x19d)](TestFrameworkState['AFTER_ALL'],HookState[_0x4c6114(0x184)],_0x48c30a),await _0x2e7066[_0x4c6114(0x19d)](TestFrameworkState[_0x4c6114(0x1ba)],HookState[_0x4c6114(0x187)],_0x48c30a);}}}if(BrowserstackCLI[_0x4c6114(0x1e0)]()&&BrowserstackCLI[_0x4c6114(0x1e0)]()[_0x4c6114(0x193)]()){const _0x320e6b=BrowserstackCLI[_0x4c6114(0x1e0)](),_0x2d9df0=_0x320e6b[_0x4c6114(0x195)]();if(_0x2d9df0&&_0x32eb11[_0x4c6114(0x196)](typeof _0x2d9df0[_0x4c6114(0x19d)],_0x32eb11['WsQTN']))for(const {userAgent:_0x50933b,platformIndex:_0x36438d,instance:_0x1e90a2}of TestCafeAutomationFramework[_0x4c6114(0x1dd)]()){try{const _0x5df172={};_0x5df172[_0x4c6114(0x1c7)]=_0x50933b,_0x5df172[_0x4c6114(0x17a)]=_0x36438d,_0x5df172[_0x4c6114(0x185)]=_0x12ded9,_0x5df172['instance']=_0x1e90a2,await _0x2d9df0[_0x4c6114(0x19d)](AutomationFrameworkState['QUIT'],HookState['POST'],_0x5df172);}catch(_0x113de3){logger[_0x4c6114(0x1a6)](_0x4c6114(0x197)+_0x50933b+'#'+_0x36438d+':\x20'+_0x113de3[_0x4c6114(0x1df)]);}TestCafeAutomationFramework['removeInstance'](_0x50933b,_0x36438d);}}logger[_0x4c6114(0x1c6)](_0x4c6114(0x1bb)+_0x28ade9+_0x4c6114(0x1ae)+(_0x4319ac&&_0x4319ac[_0x4c6114(0x1ad)])+_0x4c6114(0x1a7)+(_0xf1d84a&&_0x32eb11['SqklF'](_0x32eb11['SqklF'](_0xf1d84a[_0x4c6114(0x1c3)],_0xf1d84a[_0x4c6114(0x1cc)]),_0xf1d84a[_0x4c6114(0x1c1)])));})};};function a67_0x167e(_0x43e638,_0x248656){const _0x3e4583=a67_0x3e45();return a67_0x167e=function(_0x167e21,_0x35d88c){_0x167e21=_0x167e21-0x179;let _0x441f95=_0x3e4583[_0x167e21];return _0x441f95;},a67_0x167e(_0x43e638,_0x248656);}function a67_0x3e45(){const _0x21b4d1=['getInstance','userAgents','laWWW','platformIndex','pHgsz','\x20tests\x20across\x20','../../v2/framework/automationFramework','4557980GstwHv','RrjPu','quarantine','name','testName','qWgwQ','PRE','endTime','isArray','POST','AFTER_EACH','../../../helpers/logger','22ZRFHnw','fixtureName','driver','BEFORE_EACH','5qmxECC','TuVNV','path','exports','1879398VmdfSV','isRunning','fixturePath','getAutomationFramework','IVUUJ','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','../../v2/state/testFrameworkState','4KQfWTW','unknown','\x20@\x20','errs','trackEvent','../../v2/browserstackCLI','test','12OJLxkl','meta','RhQqz','CREATE','capabilities','7MPVJxr','error','\x20totalDuration=','pop','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','2817369FWERpL','282279edGUeD','sessionId','length','\x20warnings=','durationMs','filter','../../v2/state/hookState','startTime','3232072sZjhDr','map','NngJw','setup','skipped','XyMSg','8860753WgRjKJ','AFTER_ALL','[testcafe-reporter]\x20reportTaskDone:\x20passed=','TEST','testCount','../../v2/state/automationFrameworkState','ujpkm','neUKA','skippedCount','jMTqi','failedCount','unstable','properties','info','userAgent','currentTaskInfo','./tcUtils','ilZHe','function','passedCount','../session-registry','WsQTN','rRNMP','taskStructure','BEFORE_ALL','stack','[testcafe-reporter]\x20reportTestStart:\x20','getTestFramework','[testcafe-reporter]\x20reportTestDone:\x20','handler','28997gnwHHz','pjLYv','debug','HYZLL','../../v2/framework/testcafeAutomationFramework','fixtureStack','iterAllInstances','Bxrai','message'];a67_0x3e45=function(){return _0x21b4d1;};return a67_0x3e45();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a68_0x57ef5d=a68_0x51fd;(function(_0x24a936,_0x26ae1e){const _0xeec6db=a68_0x51fd,_0x553b23=_0x24a936();while(!![]){try{const _0x2beb57=parseInt(_0xeec6db(0x13d))/0x1*(-parseInt(_0xeec6db(0x12e))/0x2)+parseInt(_0xeec6db(0x13f))/0x3*(-parseInt(_0xeec6db(0x146))/0x4)+parseInt(_0xeec6db(0x130))/0x5+-parseInt(_0xeec6db(0x149))/0x6*(parseInt(_0xeec6db(0x131))/0x7)+parseInt(_0xeec6db(0x13b))/0x8+parseInt(_0xeec6db(0x12f))/0x9*(parseInt(_0xeec6db(0x127))/0xa)+parseInt(_0xeec6db(0x129))/0xb*(-parseInt(_0xeec6db(0x12b))/0xc);if(_0x2beb57===_0x26ae1e)break;else _0x553b23['push'](_0x553b23['shift']());}catch(_0x3d0180){_0x553b23['push'](_0x553b23['shift']());}}}(a68_0x5db5,0x1e550));function getTestIdentifier(_0x20249e,_0x1c1d8c){const _0x3ae1da=a68_0x51fd,_0x27c2e1={};_0x27c2e1[_0x3ae1da(0x136)]='unknown';const _0x23c25d=_0x27c2e1,_0x5d1ccd=_0x20249e&&_0x20249e[_0x3ae1da(0x12c)]&&_0x20249e[_0x3ae1da(0x12c)]['path']||_0x23c25d[_0x3ae1da(0x136)],_0x2d90bb=_0x20249e&&_0x20249e[_0x3ae1da(0x12c)]&&_0x20249e['fixture'][_0x3ae1da(0x135)]||_0x23c25d[_0x3ae1da(0x136)],_0xbcde0d=_0x20249e&&_0x20249e[_0x3ae1da(0x135)]||_0x23c25d[_0x3ae1da(0x136)],_0x18824e=_0x5d1ccd+'::'+_0x2d90bb+'::'+_0xbcde0d;return _0x1c1d8c?_0x18824e+'::retry'+_0x1c1d8c:_0x18824e;}function a68_0x51fd(_0x4d0891,_0x26bc65){const _0x5db58f=a68_0x5db5();return a68_0x51fd=function(_0x51fda4,_0x14e7e8){_0x51fda4=_0x51fda4-0x124;let _0x3a5d9c=_0x5db58f[_0x51fda4];return _0x3a5d9c;},a68_0x51fd(_0x4d0891,_0x26bc65);}function getFixtureIdentifier(_0x57d001){const _0x38823f=a68_0x51fd,_0x5d6741={};_0x5d6741[_0x38823f(0x140)]='unknown';const _0x4e8a81=_0x5d6741,_0x44e46f=_0x57d001&&_0x57d001[_0x38823f(0x126)]||_0x4e8a81[_0x38823f(0x140)],_0x4332dd=_0x57d001&&_0x57d001['name']||_0x4e8a81[_0x38823f(0x140)];return _0x44e46f+'::'+_0x4332dd;}function synthesizeTestObject({fixtureName:_0x401205,fixturePath:_0x4b8689,testName:_0x26443c,meta:_0x3181d1}){const _0xba0cfc=a68_0x51fd,_0x15ea6f={};_0x15ea6f[_0xba0cfc(0x144)]=function(_0x4379fc,_0x51e309){return _0x4379fc||_0x51e309;};const _0x2825f4=_0x15ea6f,_0x3ddf62={};return _0x3ddf62['name']=_0x401205,_0x3ddf62[_0xba0cfc(0x126)]=_0x4b8689,{'name':_0x26443c,'meta':_0x2825f4[_0xba0cfc(0x144)](_0x3181d1,{}),'fixture':_0x3ddf62};}function getScreenshotPaths(_0x3e496a){const _0x38fb31=a68_0x51fd;if(!_0x3e496a||!Array[_0x38fb31(0x145)](_0x3e496a[_0x38fb31(0x137)]))return[];return _0x3e496a[_0x38fb31(0x137)][_0x38fb31(0x143)](_0x3d5066=>_0x3d5066&&(_0x3d5066['screenshotPath']||_0x3d5066[_0x38fb31(0x133)])||null)[_0x38fb31(0x128)](Boolean);}function formatError(_0x6b1027){const _0x15d93f=a68_0x51fd,_0x4077d5={'BMekO':'TestCafeError','GWHYO':function(_0x5bafbd,_0x4ce9ff){return _0x5bafbd(_0x4ce9ff);},'dQcAa':function(_0x527015,_0x339424){return _0x527015(_0x339424);}};if(!_0x6b1027)return null;return{'type':_0x6b1027[_0x15d93f(0x148)]||_0x4077d5[_0x15d93f(0x124)],'message':_0x6b1027[_0x15d93f(0x147)]||_0x6b1027[_0x15d93f(0x138)]||_0x4077d5[_0x15d93f(0x132)](String,_0x6b1027),'stack':_0x4077d5[_0x15d93f(0x13a)](_tryRenderCallsite,_0x6b1027)};}function _tryRenderCallsite(_0x4a169a){const _0x54a9e7=a68_0x51fd,_0x5b5837={};_0x5b5837['DIlXd']=function(_0x29e96e,_0x44bca9){return _0x29e96e===_0x44bca9;},_0x5b5837[_0x54a9e7(0x139)]=_0x54a9e7(0x13e);const _0x267782=_0x5b5837;try{if(_0x4a169a&&_0x4a169a['callsite']&&_0x267782[_0x54a9e7(0x13c)](typeof _0x4a169a['callsite'][_0x54a9e7(0x125)],_0x267782[_0x54a9e7(0x139)])){const _0x1f4d41={};return _0x1f4d41['stackFilter']=()=>!![],_0x4a169a['callsite'][_0x54a9e7(0x125)](_0x1f4d41);}}catch(_0x4613fe){}return'';}function a68_0x5db5(){const _0x33731b=['17579BbUMvV','function','2061coPhvm','uFUFn','getScreenshotPaths','getTestIdentifier','map','bgKvW','isArray','1180FtRHgy','formattedMessage','code','24llBEpv','BMekO','renderSync','path','4210iySgAI','filter','614867xGYcAN','getFixtureIdentifier','12XUrOau','fixture','synthesizeTestObject','8xXLyzQ','3960ZeNdCo','732440ASJXsJ','19453MsbKKO','GWHYO','screenshotPathForPDF','formatError','name','IYaSN','screenshots','errMsg','MtORq','dQcAa','1060048ydpqXE','DIlXd'];a68_0x5db5=function(){return _0x33731b;};return a68_0x5db5();}const a68_0x55cf4e={};a68_0x55cf4e[a68_0x57ef5d(0x142)]=getTestIdentifier,a68_0x55cf4e[a68_0x57ef5d(0x12a)]=getFixtureIdentifier,a68_0x55cf4e[a68_0x57ef5d(0x12d)]=synthesizeTestObject,a68_0x55cf4e[a68_0x57ef5d(0x141)]=getScreenshotPaths,a68_0x55cf4e[a68_0x57ef5d(0x134)]=formatError,module['exports']=a68_0x55cf4e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a69_0x29fab0=a69_0x1465;(function(_0x2a8e78,_0x3b0002){const _0x534e00=a69_0x1465,_0xdddea3=_0x2a8e78();while(!![]){try{const _0x3e9959=parseInt(_0x534e00(0x176))/0x1+parseInt(_0x534e00(0x194))/0x2*(parseInt(_0x534e00(0x168))/0x3)+parseInt(_0x534e00(0x166))/0x4*(parseInt(_0x534e00(0x179))/0x5)+parseInt(_0x534e00(0x17d))/0x6*(parseInt(_0x534e00(0x188))/0x7)+-parseInt(_0x534e00(0x16a))/0x8+-parseInt(_0x534e00(0x186))/0x9*(parseInt(_0x534e00(0x173))/0xa)+parseInt(_0x534e00(0x19b))/0xb*(-parseInt(_0x534e00(0x182))/0xc);if(_0x3e9959===_0x3b0002)break;else _0xdddea3['push'](_0xdddea3['shift']());}catch(_0x3c1773){_0xdddea3['push'](_0xdddea3['shift']());}}}(a69_0x37ab,0x614a3));function a69_0x1465(_0x5e945,_0xfa3abe){const _0x37ab45=a69_0x37ab();return a69_0x1465=function(_0x146563,_0xea1221){_0x146563=_0x146563-0x152;let _0x53b093=_0x37ab45[_0x146563];return _0x53b093;},a69_0x1465(_0x5e945,_0xfa3abe);}const got=require(a69_0x29fab0(0x17c)),logger=require(a69_0x29fab0(0x16f))[a69_0x29fab0(0x16e)],{BROWSERSTACK_API_URL}=require(a69_0x29fab0(0x162)),_entries=[];function register(_0x48ea31){const _0x22ff75=a69_0x29fab0,_0x299d74={};_0x299d74[_0x22ff75(0x198)]=_0x22ff75(0x169),_0x299d74[_0x22ff75(0x18a)]=_0x22ff75(0x19a);const _0x3c56f8=_0x299d74,_0x4db540={'status':_0x3c56f8['kpYFM'],'reason':_0x3c56f8[_0x22ff75(0x18a)],..._0x48ea31};_entries[_0x22ff75(0x171)](_0x4db540);}function a69_0x37ab(){const _0x12de9f=['BROWSERSTACK_ACCESS_KEY','.json','472229kTkmlW','statusCode','action','10KRBQfx','env','status','got','6caWgXx','quit',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','arguments','executeScript','15972zzPxCd','[session-registry]\x20REST\x20setSessionStatus(','warn','wKxyT','1359RvHoXw','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','2310210NogFqF','/automate/sessions/','PCzKC','stringify','sessionId','platformIndex','timeout','slice','tsQLU','nZeyf','message','password','111638DzZlyS','test','quitAll','uUeEt','kpYFM','bDEVW','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','1573UUztSH','fZrep','setSessionStatus','[session-registry]\x20executeScript\x20setSessionStatus(','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','exports','itlMF','[session-registry]\x20driver.quit\x20failed\x20for\x20','username','listEntries','replace','json','trim','driver',')\x20OK\x20for\x20','reason','sAeOn','BROWSERSTACK_USERNAME','body','responseType','hubUrl','../utils/constants','request','ukNVs','https://','186056yHxERp','jynVg','27HwuAQj','failed','5640712HfLNBp','\x20(will\x20retry\x20via\x20REST):\x20','[session-registry]\x20REST\x20mark\x20failed\x20for\x20','info','winstonLogger','../../helpers/logger','length','push','function','6870jbIgje'];a69_0x37ab=function(){return _0x12de9f;};return a69_0x37ab();}function listEntries(){const _0x5ac25f=a69_0x29fab0;return _entries[_0x5ac25f(0x18f)]();}function markStatus(_0x4f3efc,_0x1d42ae,_0x55a174){const _0x174d0e=a69_0x29fab0,_0x125352={};_0x125352['sAeOn']=function(_0x439ae3,_0x7f4b4b){return _0x439ae3===_0x7f4b4b;};const _0x6a8b6b=_0x125352;for(const _0x21e2e3 of _entries){if(_0x6a8b6b[_0x174d0e(0x15d)](_0x21e2e3[_0x174d0e(0x18d)],_0x4f3efc))return _0x21e2e3[_0x174d0e(0x17b)]=_0x1d42ae,_0x55a174&&(_0x21e2e3['reason']=_0x55a174),!![];}return![];}function _resolveCreds(_0x33dd67){const _0x13d5b5=a69_0x29fab0,_0x4336d1={'itlMF':function(_0x717c59,_0x2d1cda){return _0x717c59(_0x2d1cda);}};try{if(_0x33dd67){const _0x5b1e2a=_0x4336d1[_0x13d5b5(0x153)](String,_0x33dd67)[_0x13d5b5(0x159)](),_0x5ebff2=/^https?:\/\//i[_0x13d5b5(0x195)](_0x5b1e2a)?_0x5b1e2a:_0x13d5b5(0x165)+_0x5b1e2a[_0x13d5b5(0x157)](/^\/+/,''),_0x288a16=new URL(_0x5ebff2);if(_0x288a16[_0x13d5b5(0x155)]||_0x288a16[_0x13d5b5(0x193)])return{'username':_0x4336d1[_0x13d5b5(0x153)](decodeURIComponent,_0x288a16['username']||''),'password':_0x4336d1['itlMF'](decodeURIComponent,_0x288a16[_0x13d5b5(0x193)]||'')};}}catch(_0x1bfeec){}const _0x515bf5={};return _0x515bf5[_0x13d5b5(0x155)]=process[_0x13d5b5(0x17a)][_0x13d5b5(0x15e)]||'',_0x515bf5[_0x13d5b5(0x193)]=process[_0x13d5b5(0x17a)][_0x13d5b5(0x174)]||'',_0x515bf5;}async function _markViaRestApi(_0x1c2329){const _0x4dd5eb=a69_0x29fab0,_0x3dffa3={'uQzcm':function(_0x352eb0,_0x272967){return _0x352eb0(_0x272967);},'msPCS':function(_0x4a3643,_0xd81917){return _0x4a3643||_0xd81917;},'hetaD':_0x4dd5eb(0x169),'fZrep':_0x4dd5eb(0x158),'nZeyf':function(_0x502a0e,_0x5173fc){return _0x502a0e>=_0x5173fc;},'pfUdu':function(_0xe3077,_0x5dad54){return _0xe3077<_0x5dad54;}},{username:_0x1df77e,password:_0x27b45e}=_0x3dffa3['uQzcm'](_resolveCreds,_0x1c2329[_0x4dd5eb(0x161)]);if(_0x3dffa3['msPCS'](!_0x1df77e,!_0x27b45e))return logger[_0x4dd5eb(0x184)](_0x4dd5eb(0x187)+_0x1c2329['sessionId']+_0x4dd5eb(0x17f)),![];const _0x3ebfd0=BROWSERSTACK_API_URL+_0x4dd5eb(0x189)+_0x1c2329[_0x4dd5eb(0x18c)]+_0x4dd5eb(0x175);try{const _0x104bb1={};_0x104bb1[_0x4dd5eb(0x17b)]=_0x1c2329[_0x4dd5eb(0x17b)]||_0x3dffa3['hetaD'],_0x104bb1['reason']=_0x1c2329[_0x4dd5eb(0x15c)]||'';const _0x3b53db={};_0x3b53db[_0x4dd5eb(0x163)]=0x7530;const _0x5d39c0={};_0x5d39c0[_0x4dd5eb(0x155)]=_0x1df77e,_0x5d39c0[_0x4dd5eb(0x193)]=_0x27b45e,_0x5d39c0[_0x4dd5eb(0x158)]=_0x104bb1,_0x5d39c0[_0x4dd5eb(0x160)]=_0x3dffa3[_0x4dd5eb(0x19c)],_0x5d39c0['throwHttpErrors']=![],_0x5d39c0[_0x4dd5eb(0x18e)]=_0x3b53db;const _0x54f8a3=await got['put'](_0x3ebfd0,_0x5d39c0);if(_0x3dffa3[_0x4dd5eb(0x191)](_0x54f8a3['statusCode'],0xc8)&&_0x3dffa3['pfUdu'](_0x54f8a3[_0x4dd5eb(0x177)],0x12c))return logger['info'](_0x4dd5eb(0x183)+_0x1c2329['status']+')\x20OK\x20for\x20'+_0x1c2329[_0x4dd5eb(0x18c)]),!![];return logger[_0x4dd5eb(0x184)]('[session-registry]\x20REST\x20mark\x20HTTP\x20'+_0x54f8a3[_0x4dd5eb(0x177)]+'\x20for\x20'+_0x1c2329[_0x4dd5eb(0x18c)]+':\x20'+JSON['stringify'](_0x54f8a3[_0x4dd5eb(0x15f)])['slice'](0x0,0xc8)),![];}catch(_0x483483){return logger[_0x4dd5eb(0x184)](_0x4dd5eb(0x16c)+_0x1c2329['sessionId']+':\x20'+_0x483483[_0x4dd5eb(0x192)]),![];}}async function quitAll(){const _0x103599=a69_0x29fab0,_0x8c6e5b={'ukNVs':function(_0xd7e402,_0x4b2795){return _0xd7e402===_0x4b2795;},'jynVg':_0x103599(0x172),'uUeEt':_0x103599(0x19d),'bDEVW':'failed','tsQLU':function(_0xc9349,_0x5540bb){return _0xc9349(_0x5540bb);},'wKxyT':function(_0x44bec3,_0x2fbc59){return _0x44bec3===_0x2fbc59;}};try{for(const _0x4e2e51 of _entries){let _0x825582=![];try{if(_0x4e2e51[_0x103599(0x15a)]&&_0x8c6e5b[_0x103599(0x164)](typeof _0x4e2e51['driver'][_0x103599(0x181)],_0x8c6e5b[_0x103599(0x167)])){const _0x332b27={};_0x332b27[_0x103599(0x178)]=_0x8c6e5b[_0x103599(0x197)],_0x332b27[_0x103599(0x180)]={},_0x332b27[_0x103599(0x180)][_0x103599(0x17b)]=_0x4e2e51['status']||_0x8c6e5b[_0x103599(0x199)],_0x332b27[_0x103599(0x180)]['reason']=_0x4e2e51[_0x103599(0x15c)]||'';const _0x41ad5f='browserstack_executor:\x20'+JSON[_0x103599(0x18b)](_0x332b27);await _0x4e2e51[_0x103599(0x15a)][_0x103599(0x181)](_0x41ad5f),_0x825582=!![],logger[_0x103599(0x16d)](_0x103599(0x19e)+_0x4e2e51[_0x103599(0x17b)]+_0x103599(0x15b)+_0x4e2e51['sessionId']);}}catch(_0x42196b){logger[_0x103599(0x184)](_0x103599(0x19f)+_0x4e2e51[_0x103599(0x18c)]+_0x103599(0x16b)+_0x42196b[_0x103599(0x192)]);}!_0x825582&&await _0x8c6e5b[_0x103599(0x190)](_markViaRestApi,_0x4e2e51);try{_0x4e2e51[_0x103599(0x15a)]&&_0x8c6e5b[_0x103599(0x185)](typeof _0x4e2e51[_0x103599(0x15a)][_0x103599(0x17e)],_0x8c6e5b['jynVg'])&&await _0x4e2e51[_0x103599(0x15a)][_0x103599(0x17e)]();}catch(_0x48a491){logger[_0x103599(0x184)](_0x103599(0x154)+_0x4e2e51[_0x103599(0x18c)]+':\x20'+_0x48a491[_0x103599(0x192)]);}}}finally{_entries[_0x103599(0x170)]=0x0;}}const a69_0x95cea7={};a69_0x95cea7['register']=register,a69_0x95cea7[a69_0x29fab0(0x156)]=listEntries,a69_0x95cea7['markStatus']=markStatus,a69_0x95cea7[a69_0x29fab0(0x196)]=quitAll,module[a69_0x29fab0(0x152)]=a69_0x95cea7;
|