browserstack-node-sdk 1.68.1 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +172 -0
- package/generated/sdk-messages_pb.js +1334 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +69 -0
- package/package.json +5 -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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.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 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/mochaTestFramework.js +1 -0
- 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/seleniumAutomationFramework.js +1 -0
- 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/runStateStore.js +1 -0
- 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,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a70_0xc1ce94=a70_0x39d4;(function(_0x1b1258,_0x33f1bb){const _0x29d423=a70_0x39d4,_0xd8f25b=_0x1b1258();while(!![]){try{const _0x5a0504=-parseInt(_0x29d423(0x240))/0x1+parseInt(_0x29d423(0x148))/0x2+-parseInt(_0x29d423(0x17c))/0x3*(parseInt(_0x29d423(0x205))/0x4)+parseInt(_0x29d423(0x22a))/0x5+parseInt(_0x29d423(0x1da))/0x6*(parseInt(_0x29d423(0x21e))/0x7)+-parseInt(_0x29d423(0x16d))/0x8*(-parseInt(_0x29d423(0x1b1))/0x9)+-parseInt(_0x29d423(0x1b5))/0xa;if(_0x5a0504===_0x33f1bb)break;else _0xd8f25b['push'](_0xd8f25b['shift']());}catch(_0x48bc16){_0xd8f25b['push'](_0xd8f25b['shift']());}}}(a70_0x3ae3,0x2ba84));function a70_0x3ae3(){const _0x50c9ab=['info','getTestFramework','stop','uninstall','etwGP','9NtdWaY','RpdLe','tBfpX','run','1506460bgMJzP','suxmD','getAccessibilityModule','default','path','hSzOt','finalizeOrphans','wFmgT','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','hubUrl','getMethod',']\x20(','remote','length','getConfig','CilYm','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','PlSsi','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[',']\x20run\x20failed\x20—\x20','qgSdM','Aborted\x20by\x20','isArray','parse','BrowserstackCLI.stop\x20error:\x20','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','rFxkD','markStatus','firefox:headless','failed','runner.run()\x20exceeded\x20','ZQiVq','startsWith','getModule','utf8','finalExecution\x20error:\x20','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','124770wQBWCt','../v2/grpcClient','CSuGg','install',']\x20finished\x20with\x20exit=','getCapabilities','trim','createBrowserConnection','./stdout-interceptor','getCurrentUrl','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','tvIYH','stack','NwKlH','xEraC','[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.','isCLIEnabled','QtmcP','platformIndex','percy','chrome:','race','xJRKg','unref','twRTR','ilIyE','../../helpers/helper','JRxuh','index.js','rerunTestGrep','\x20→\x20','type','pGodW',',\x20concurrency=','./session-registry','browsers','SIGINT','exports','SoXof','XVEGg','constructor','function','kill','2564wWXjMs','2|1|4|0|3','stderr','ZefcL','fFHSX','util','xbJdR','split','cNciO','lQsIf','error','fPppB','browserstackLocal','VdGGf','cpYlf','jXVEN','WyAJe','OWjga','pAUMW','isBuffer','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','firefox:','firefox','data','HsXbc','56xEBoxG','finalizeOrphans\x20error:\x20','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','ZXJXm','concurrency','spec','catch','string','idleTimeout','close','yUZfU','finalExecution','1293185LbAisj','removeListener','write','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','ZwUVk',']\x20runner.run()\x20timed\x20out\x20after\x20','KWRUH','jlcHx','url','../v2/browserstackCLI',']:\x20','testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit=','DnubG','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','reporter','LJBdG','iIepk','izwrm','hOwiC',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','eSBUB','from','304549AHyFGu','aeQfA','platforms','message','twnIU','mXszg','\x20—\x20stopping\x20pings\x20for\x20this\x20session','desiredCapabilities','testcafe/command.js:\x20platform[','src','commandsList','bs-local.com',',\x20platforms=','driver','oFFxG','rDpax','s\x20timeout\x20(idleTimeout\x20+\x2060s)','testCafeConfig','slice','WXAkC','connection','bRvIP','test','dKBqS',']\x20hubUrl=','testcafe/command.js:\x20exit\x20code=','uCQMZ',']\x20BrowserStack\x20session=','eoDHT','[testcafe]\x20platform[','chromium','commandsToWrap','has','509698WHeJNR','options','testcafe','lQvnK','ZELAR','AUVwN','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','initialize','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','env','pMhfS','BROWSERSTACK_HUB_URL','match','./w3c-driver','qGfTq','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','qXRLx','code','stringify','config','fThip','bootstrap','tc.close\x20error:\x20','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','DBdDD','aoiPv','hJHRd','eLsrx','browserstackAutomation','includes','tzstj','listEntries','--browsers','capabilities','getHubUrl','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','2028128APAysV','createRunner','module','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','.\x20Pattern:\x20','gbaLF','push','uMacG','SIGTERM','getName','MNSko','register','oVFOt','THWpM','exitCode','1401bndvwY','JGfbw','getInstance','warn','debug','xOpem','iHBeV','./testcafe-action-patcher','map','alwaysMatch','quitAll','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','zlrUi','[testcafe]\x20provisioning\x20session\x20for\x20platform[','chrome:headless','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','filter','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','../../helpers/utilities','testcafe/command.js:\x20testSources=','ShfVj','testSources','safari','unknown\x20error\x20(falsy)','HorTC','\x20before\x20runner.run()\x20completed','XCJIn','oYnml','hcqmW','--browsers=','NbCwb','PnRiP','sessionId','DriverInit\x20returned\x20no\x20capabilities','pid','toString','toLowerCase','../../helpers/test-observability/utils','NxYzz','rTvEu','resolve','cwd','ABClJ','GNeio','getRerunTestGrep','accessibilityConfig','method','name'];a70_0x3ae3=function(){return _0x50c9ab;};return a70_0x3ae3();}function a70_0x39d4(_0x5a033c,_0xa898f6){const _0x3ae3c9=a70_0x3ae3();return a70_0x39d4=function(_0x39d48e,_0x740d1a){_0x39d48e=_0x39d48e-0x136;let _0x18377c=_0x3ae3c9[_0x39d48e];return _0x18377c;},a70_0x39d4(_0x5a033c,_0xa898f6);}const path=require(a70_0xc1ce94(0x1b9)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a70_0xc1ce94(0x1f4)),utilities=require(a70_0xc1ce94(0x18e)),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require(a70_0xc1ce94(0x233)),GrpcClient=require(a70_0xc1ce94(0x1db)),{printBuildLink}=require(a70_0xc1ce94(0x1a1)),registry=require(a70_0xc1ce94(0x1fc)),detectPeerDeps=()=>{const _0x802c49=a70_0xc1ce94,_0x1a2d32={};_0x1a2d32[_0x802c49(0x244)]=_0x802c49(0x14a),_0x1a2d32['etwGP']=_0x802c49(0x150);const _0x2186f7=_0x1a2d32;try{require[_0x802c49(0x1a4)](_0x2186f7[_0x802c49(0x244)],{'paths':[process['cwd']()]});}catch(_0x10a09a){throw new Error(_0x2186f7[_0x802c49(0x1b0)]);}},loadTestCafeFactory=()=>{const _0xc62903=a70_0xc1ce94,_0x105a61={'JRxuh':_0xc62903(0x14a),'eSBUB':function(_0x45b075,_0x22936c){return _0x45b075(_0x22936c);}},_0x28bf7e=require[_0xc62903(0x1a4)](_0x105a61[_0xc62903(0x1f5)],{'paths':[process[_0xc62903(0x1a5)]()]});return _0x105a61[_0xc62903(0x23e)](require,_0x28bf7e);},w3cDriver=require(a70_0xc1ce94(0x155)),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a70_0xc1ce94(0x145),a70_0xc1ce94(0x21b),a70_0xc1ce94(0x192),'edge','ie','opera',a70_0xc1ce94(0x18a),a70_0xc1ce94(0x1d1),a70_0xc1ce94(0x1c1)]),looksLikeBrowserArg=_0x453644=>{const _0x2ed21c=a70_0xc1ce94,_0x359b98={};_0x359b98[_0x2ed21c(0x17a)]=_0x2ed21c(0x206),_0x359b98['eLsrx']=_0x2ed21c(0x1ee),_0x359b98[_0x2ed21c(0x1a3)]=_0x2ed21c(0x21a),_0x359b98[_0x2ed21c(0x17d)]=function(_0x1d33e9,_0x110d10){return _0x1d33e9!==_0x110d10;},_0x359b98['NxYzz']=_0x2ed21c(0x225);const _0x1e197b=_0x359b98,_0x2374df=_0x1e197b[_0x2ed21c(0x17a)][_0x2ed21c(0x20c)]('|');let _0x57dd21=0x0;while(!![]){switch(_0x2374df[_0x57dd21++]){case'0':if(_0x453644[_0x2ed21c(0x1d5)](_0x1e197b[_0x2ed21c(0x164)])||_0x453644[_0x2ed21c(0x1d5)](_0x1e197b[_0x2ed21c(0x1a3)]))return!![];continue;case'1':if(_0x453644[_0x2ed21c(0x166)](':')&&!_0x453644[_0x2ed21c(0x166)]('/'))return!![];continue;case'2':if(_0x1e197b[_0x2ed21c(0x17d)](typeof _0x453644,_0x1e197b[_0x2ed21c(0x1a2)]))return![];continue;case'3':return![];case'4':if(KNOWN_LOCAL_BROWSERS[_0x2ed21c(0x147)](_0x453644[_0x2ed21c(0x1a0)]()))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x5292bb=>{const _0x13e3d2=a70_0xc1ce94,_0x38fb39={'xbJdR':function(_0x14c233,_0x5335c2){return _0x14c233<_0x5335c2;},'jXVEN':function(_0x3fb64b,_0x50f6f7){return _0x3fb64b===_0x50f6f7;},'YZbmL':function(_0x747ca4,_0x4cf2e5){return _0x747ca4===_0x4cf2e5;},'hSzOt':_0x13e3d2(0x169),'vONpp':_0x13e3d2(0x199),'MNSko':'-b=','xEraC':function(_0x13cd1c,_0x50f07b,_0x2e3f7b){return _0x13cd1c(_0x50f07b,_0x2e3f7b);},'xOpem':function(_0x34309f,_0x13594b){return _0x34309f+_0x13594b;},'fFHSX':function(_0x3d6577,_0x2186e0,_0x285f8c){return _0x3d6577(_0x2186e0,_0x285f8c);},'tBfpX':function(_0x487938,_0x1628ff,_0x2eba67){return _0x487938(_0x1628ff,_0x2eba67);},'CFqVf':function(_0x52f69b,_0x174c05){return _0x52f69b(_0x174c05);}},_0x15dc83=[];let _0x35d88f;for(let _0x564849=0x0;_0x38fb39[_0x13e3d2(0x20b)](_0x564849,_0x5292bb[_0x13e3d2(0x1c2)]);_0x564849++){const _0x37fe69=_0x5292bb[_0x564849];if(_0x38fb39[_0x13e3d2(0x214)](_0x37fe69,'-b')||_0x38fb39['YZbmL'](_0x37fe69,_0x38fb39[_0x13e3d2(0x1ba)])){_0x564849++;continue;}if(_0x37fe69[_0x13e3d2(0x1d5)](_0x38fb39['vONpp'])||_0x37fe69[_0x13e3d2(0x1d5)](_0x38fb39[_0x13e3d2(0x177)]))continue;const _0x133e10=_0x37fe69[_0x13e3d2(0x154)](_CONCURRENCY_PATTERN);if(_0x133e10){if(_0x133e10[0x1]){_0x35d88f=_0x38fb39[_0x13e3d2(0x1e8)](parseInt,_0x133e10[0x1],0xa);continue;}if(_0x5292bb[_0x38fb39['xOpem'](_0x564849,0x1)]&&/^\d+$/[_0x13e3d2(0x13d)](_0x5292bb[_0x38fb39[_0x13e3d2(0x181)](_0x564849,0x1)])){_0x35d88f=_0x38fb39[_0x13e3d2(0x209)](parseInt,_0x5292bb[_0x38fb39['xOpem'](_0x564849,0x1)],0xa),_0x564849++;continue;}continue;}const _0x10ddb8=_0x37fe69[_0x13e3d2(0x154)](/^-c(\d+)$/);if(_0x10ddb8){_0x35d88f=_0x38fb39[_0x13e3d2(0x1b3)](parseInt,_0x10ddb8[0x1],0xa);continue;}if(_0x38fb39['CFqVf'](looksLikeBrowserArg,_0x37fe69))continue;_0x15dc83['push'](_0x37fe69);}const _0x468889={};return _0x468889[_0x13e3d2(0x191)]=_0x15dc83,_0x468889['concurrency']=_0x35d88f,_0x468889;},parseCapabilities=_0x513fa6=>{const _0x4f6a09=a70_0xc1ce94,_0x4a58b2={};_0x4a58b2[_0x4f6a09(0x208)]=_0x4f6a09(0x19d),_0x4a58b2[_0x4f6a09(0x143)]=_0x4f6a09(0x1d7);const _0x15d4fd=_0x4a58b2,_0x40f476=_0x513fa6[_0x4f6a09(0x1df)]&&_0x513fa6['getCapabilities']()||_0x513fa6[_0x4f6a09(0x16a)];if(!_0x40f476)throw new Error(_0x15d4fd['ZefcL']);const _0x270aa5=Buffer[_0x4f6a09(0x218)](_0x40f476)?_0x40f476:Buffer[_0x4f6a09(0x23f)](_0x40f476),_0x2157d2=JSON[_0x4f6a09(0x1cc)](_0x270aa5[_0x4f6a09(0x19f)](_0x15d4fd['eoDHT'])[_0x4f6a09(0x1e0)]());if(_0x2157d2['desiredCapabilities'])return _0x2157d2[_0x4f6a09(0x247)];if(_0x2157d2[_0x4f6a09(0x16a)]&&_0x2157d2[_0x4f6a09(0x16a)][_0x4f6a09(0x185)])return _0x2157d2[_0x4f6a09(0x16a)][_0x4f6a09(0x185)];return _0x2157d2;};async function provisionSession(_0x28c839,_0x269f88){const _0x3136f8=a70_0xc1ce94,_0x32ff8e={'jlcHx':_0x3136f8(0x14a),'hcqmW':function(_0x2dd9cd,_0x1c8028){return _0x2dd9cd(_0x1c8028);}};logger['info'](_0x3136f8(0x189)+_0x269f88+']');const _0xde33c=await _0x28c839[_0x3136f8(0x1e1)](),_0x9030e6=await GrpcClient[_0x3136f8(0x17e)]()['driverInit']({'platformIndex':_0x269f88,'ref':_0x32ff8e[_0x3136f8(0x231)],'userInputParams':Buffer['from'](JSON[_0x3136f8(0x15b)]({})),'hubUrl':''}),_0x436e9c=_0x32ff8e[_0x3136f8(0x198)](parseCapabilities,_0x9030e6),_0x5a67e1=(_0x9030e6[_0x3136f8(0x16b)]&&_0x9030e6[_0x3136f8(0x16b)]()||_0x9030e6[_0x3136f8(0x1be)]||'')[_0x3136f8(0x1e0)]()||BrowserstackCLI[_0x3136f8(0x17e)]()?.[_0x3136f8(0x1c3)]()?.[_0x3136f8(0x1be)]||process[_0x3136f8(0x151)][_0x3136f8(0x153)];if(!_0x5a67e1)throw new Error('[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform['+_0x269f88+_0x3136f8(0x23d));logger['info'](_0x3136f8(0x144)+_0x269f88+_0x3136f8(0x13f)+_0x5a67e1);const _0x7fc95e={};_0x7fc95e[_0x3136f8(0x1be)]=_0x5a67e1,_0x7fc95e['capabilities']=_0x436e9c;const {driver:_0x1a309c,sessionId:_0x4e914c}=await w3cDriver['openSession'](_0x7fc95e);await _0x1a309c['navigateTo'](_0xde33c[_0x3136f8(0x232)]);const _0x1ce5a2={};_0x1ce5a2['platformIndex']=_0x269f88,_0x1ce5a2[_0x3136f8(0x24d)]=_0x1a309c,_0x1ce5a2[_0x3136f8(0x19c)]=_0x4e914c,_0x1ce5a2[_0x3136f8(0x13b)]=_0xde33c,_0x1ce5a2[_0x3136f8(0x16a)]=_0x436e9c,_0x1ce5a2[_0x3136f8(0x1be)]=_0x5a67e1,registry[_0x3136f8(0x178)](_0x1ce5a2),logger['info'](_0x3136f8(0x144)+_0x269f88+_0x3136f8(0x142)+_0x4e914c+_0x3136f8(0x1f8)+_0xde33c[_0x3136f8(0x232)]);const _0x2815ab={};return _0x2815ab[_0x3136f8(0x13b)]=_0xde33c,_0x2815ab[_0x3136f8(0x19c)]=_0x4e914c,_0x2815ab[_0x3136f8(0x24d)]=_0x1a309c,_0x2815ab['platformIndex']=_0x269f88,_0x2815ab['capabilities']=_0x436e9c,_0x2815ab[_0x3136f8(0x1be)]=_0x5a67e1,_0x2815ab;}async function run(_0x3ca919,_0xac4d1,_0x8007e3){const _0x58c725=a70_0xc1ce94,_0x55cc39={'AUVwN':function(_0x5b60be,_0x120eb2){return _0x5b60be(_0x120eb2);},'EbeXl':function(_0x1662ba,_0x1ebc49,_0x34a346){return _0x1662ba(_0x1ebc49,_0x34a346);},'ABClJ':function(_0x6d8413,_0xd8a7c7){return _0x6d8413===_0xd8a7c7;},'twRTR':_0x58c725(0x203),'DBdDD':function(_0x5efb3b,_0x2ee447){return _0x5efb3b/_0x2ee447;},'jKtMQ':function(_0x4de98e,_0x9ae27){return _0x4de98e(_0x9ae27);},'VdGGf':_0x58c725(0x193),'hOwiC':function(_0x45c69a,_0x23dc15){return _0x45c69a===_0x23dc15;},'ilIyE':_0x58c725(0x225),'aeQfA':function(_0x4315cd,_0x29720e){return _0x4315cd===_0x29720e;},'icAsB':function(_0x21b97f,_0x46096e){return _0x21b97f(_0x46096e);},'aoiPv':_0x58c725(0x20a),'rFxkD':function(_0x1ced41){return _0x1ced41();},'wFmgT':'BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','PnRiP':function(_0x12752f,_0x49af2b){return _0x12752f===_0x49af2b;},'pGodW':function(_0x2b2737,_0x3a580a){return _0x2b2737===_0x3a580a;},'SoXof':'false','fPppB':function(_0x1535a0,_0xa10cc7){return _0x1535a0===_0xa10cc7;},'LJBdG':function(_0xbbdce6,_0x15a29a){return _0xbbdce6(_0x15a29a);},'HRzlL':function(_0x3f5cac,_0x4975ad){return _0x3f5cac===_0x4975ad;},'WXAkC':function(_0x1d58a4,_0x51390b){return _0x1d58a4(_0x51390b);},'WoYrn':function(_0x275e57,_0x3d85fc){return _0x275e57&&_0x3d85fc;},'uMacG':function(_0x5d5779,_0xd50247){return _0x5d5779!==_0xd50247;},'pAUMW':'testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','ZwUVk':_0x58c725(0x14a),'gwvaR':_0x58c725(0x237),'tvIYH':function(_0x11de05,_0x5985be){return _0x11de05+_0x5985be;},'CSuGg':_0x58c725(0x160),'KWRUH':_0x58c725(0x158),'NbCwb':function(_0x336f83,_0x77256f){return _0x336f83||_0x77256f;},'qgSdM':function(_0x18427b,_0x30fda9){return _0x18427b>_0x30fda9;},'pMhfS':function(_0x340e9a,_0x55f402){return _0x340e9a===_0x55f402;},'NEkZM':'[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','qXRLx':function(_0x4743c0,_0x2cafd3){return _0x4743c0===_0x2cafd3;},'fThip':_0x58c725(0x1e9),'zlrUi':function(_0x1a3a53,_0x5171df){return _0x1a3a53===_0x5171df;},'lQvnK':_0x58c725(0x220),'oFFxG':function(_0x13593d,_0x2838be){return _0x13593d||_0x2838be;},'PlSsi':_0x58c725(0x1b8),'yUZfU':function(_0x3ce257,_0x49b8c0){return _0x3ce257(_0x49b8c0);},'oVFOt':_0x58c725(0x24b),'GNeio':_0x58c725(0x1e2),'ZELAR':function(_0x2d4917,_0x26290c){return _0x2d4917(_0x26290c);},'izwrm':_0x58c725(0x183),'oYnml':_0x58c725(0x1d9),'lQsIf':function(_0x220ff5,_0x12e398){return _0x220ff5+_0x12e398;},'XCJIn':_0x58c725(0x170),'xNaCs':_0x58c725(0x18d),'axjeq':function(_0x4a3ecf,_0x5c44e2){return _0x4a3ecf(_0x5c44e2);},'cpYlf':_0x58c725(0x238),'rDpax':_0x58c725(0x1f6),'uCQMZ':function(_0x41ed54,_0x1bc75c){return _0x41ed54===_0x1bc75c;},'iHBeV':function(_0x53f1c5,_0x547935){return _0x53f1c5(_0x547935);},'ZQiVq':_0x58c725(0x14e),'gbaLF':function(_0x3498f7,_0x5d9869){return _0x3498f7<_0x5d9869;},'DnubG':_0x58c725(0x169),'ZXJXm':'--browsers=','ShfVj':'-b=','HorTC':function(_0x1b5121,_0x51516b){return _0x1b5121(_0x51516b);},'tzstj':'chrome','HsXbc':'testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','hJHRd':_0x58c725(0x223),'xJRKg':'number','iIepk':function(_0x5d137b,_0x27c184){return _0x5d137b>_0x27c184;},'bRvIP':function(_0x123855){return _0x123855();},'OWjga':function(_0x4a04b,_0xa123dd){return _0x4a04b+_0xa123dd;},'WyAJe':function(_0x493aae,_0x2e478b,_0x18a3e7){return _0x493aae(_0x2e478b,_0x18a3e7);},'NwKlH':function(_0x375bd2,_0x1483c7){return _0x375bd2*_0x1483c7;},'RpdLe':function(_0x16ba8a,_0x1725c4){return _0x16ba8a+_0x1725c4;},'qGfTq':'passed','dKBqS':_0x58c725(0x1d2),'cNciO':function(_0x2ee9ee,_0x6bbd92){return _0x2ee9ee===_0x6bbd92;},'INTqi':function(_0x1c3fe8){return _0x1c3fe8();}};_0x55cc39[_0x58c725(0x1cf)](detectPeerDeps);if(!_0x8007e3[_0x58c725(0x15c)]){logger['error'](_0x55cc39[_0x58c725(0x1bc)]);return;}const _0x447be7=_0x8007e3[_0x58c725(0x15c)],_0x1ecd34=_0x55cc39[_0x58c725(0x19b)](_0x447be7[_0x58c725(0x165)],![])||_0x55cc39[_0x58c725(0x1fa)](_0x447be7[_0x58c725(0x165)],_0x55cc39[_0x58c725(0x200)])||_0x55cc39[_0x58c725(0x210)](_0x55cc39[_0x58c725(0x239)](String,_0x447be7[_0x58c725(0x165)]||'')[_0x58c725(0x1a0)](),_0x55cc39[_0x58c725(0x200)]),_0x4ee3be=_0x55cc39[_0x58c725(0x241)](_0x447be7[_0x58c725(0x211)],![])||_0x55cc39[_0x58c725(0x241)](_0x447be7[_0x58c725(0x211)],_0x55cc39[_0x58c725(0x200)])||_0x55cc39['HRzlL'](_0x55cc39[_0x58c725(0x13a)](String,_0x55cc39['ABClJ'](_0x447be7[_0x58c725(0x211)],undefined)?'':_0x447be7['browserstackLocal'])[_0x58c725(0x1a0)](),_0x55cc39[_0x58c725(0x200)]);_0x55cc39['WoYrn'](!_0x1ecd34,!_0x4ee3be)&&_0x55cc39[_0x58c725(0x174)](_0x447be7[_0x58c725(0x211)],!![])&&(logger['info'](_0x55cc39[_0x58c725(0x217)]),_0x447be7[_0x58c725(0x211)]=!![]);await _0x8007e3[_0x58c725(0x14f)](_0x3ca919),CLIUtils['setFrameworkDetail'](_0x55cc39[_0x58c725(0x22e)],_0x55cc39['ZwUVk']),BrowserstackCLI['getInstance']()['setBrowserstackConfig'](_0x8007e3[_0x58c725(0x15c)],_0x8007e3['configPath'],_0x8007e3['cliConfig']);try{await BrowserstackCLI[_0x58c725(0x17e)]()[_0x58c725(0x15e)]();if(!BrowserstackCLI[_0x58c725(0x17e)]()['isRunning']())throw new Error(_0x55cc39['gwvaR']);}catch(_0x80ff94){process['stderr'][_0x58c725(0x22c)](_0x55cc39[_0x58c725(0x1e5)](_0x55cc39[_0x58c725(0x1e5)]('[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20'+_0x80ff94['message']+'\x0a',_0x55cc39[_0x58c725(0x1dc)]),_0x55cc39[_0x58c725(0x230)])),logger[_0x58c725(0x20f)](_0x58c725(0x157)+(_0x80ff94[_0x58c725(0x1e6)]||_0x80ff94)),process[_0x58c725(0x17b)]=0x1;return;}const _0x3aef95=BrowserstackCLI[_0x58c725(0x17e)]()[_0x58c725(0x1c3)](),_0x2dcfcd=_0x8007e3[_0x58c725(0x15c)]||{};let _0x1c4547=_0x55cc39[_0x58c725(0x19a)](_0x3aef95,_0x2dcfcd)||{},_0x3f8f3d=Array[_0x58c725(0x1cb)](_0x1c4547['platforms'])?_0x1c4547[_0x58c725(0x242)]:[];_0x55cc39['hOwiC'](_0x3f8f3d[_0x58c725(0x1c2)],0x0)&&Array[_0x58c725(0x1cb)](_0x2dcfcd[_0x58c725(0x242)])&&_0x55cc39[_0x58c725(0x1c9)](_0x2dcfcd[_0x58c725(0x242)][_0x58c725(0x1c2)],0x0)&&(logger['warn']('testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n='+_0x2dcfcd[_0x58c725(0x242)][_0x58c725(0x1c2)]+')'),_0x1c4547=_0x2dcfcd,_0x3f8f3d=_0x2dcfcd[_0x58c725(0x242)]);if(_0x55cc39[_0x58c725(0x152)](_0x3f8f3d[_0x58c725(0x1c2)],0x0)){process[_0x58c725(0x207)][_0x58c725(0x22c)](_0x55cc39['NEkZM']),process[_0x58c725(0x17b)]=0x1;return;}if(_0x55cc39[_0x58c725(0x159)](_0x1c4547['percy'],!![])||_0x1c4547[_0x58c725(0x1ed)]&&_0x1c4547[_0x58c725(0x1ed)]['projectToken']){const _0x19ef96=_0x55cc39[_0x58c725(0x15d)];process[_0x58c725(0x207)]['write'](_0x55cc39[_0x58c725(0x1e5)](_0x19ef96,'\x0a')),logger['warn'](_0x19ef96);}const {testSources:_0x434e04,concurrency:_0x58a802}=_0x55cc39[_0x58c725(0x14d)](filterArgs,_0xac4d1['slice'](0x1));if(_0x55cc39[_0x58c725(0x188)](_0x434e04[_0x58c725(0x1c2)],0x0)){process[_0x58c725(0x207)]['write'](_0x55cc39[_0x58c725(0x14b)]),process['exitCode']=0x1;return;}logger[_0x58c725(0x1ac)](_0x58c725(0x18f)+JSON[_0x58c725(0x15b)](_0x434e04)+_0x58c725(0x24c)+_0x3f8f3d[_0x58c725(0x1c2)]+_0x58c725(0x1fb)+_0x55cc39[_0x58c725(0x24e)](_0x58a802,_0x55cc39[_0x58c725(0x1c6)]));let _0x3b5e67;try{_0x3b5e67=_0x55cc39[_0x58c725(0x1cf)](loadTestCafeFactory);}catch(_0x573b69){process[_0x58c725(0x207)][_0x58c725(0x22c)]('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0x573b69[_0x58c725(0x243)]+'\x0a'),process[_0x58c725(0x17b)]=0x1;return;}const _0x20e575=await _0x55cc39[_0x58c725(0x228)](_0x3b5e67,_0x55cc39[_0x58c725(0x179)]);let _0x22873f=0x1;const _0x194cae=0x7530,_0x5c251b=[],_0x2655a0=(_0x3dc09e,_0x39c06d)=>{const _0x411d6b=_0x58c725,_0x5d1c9e=_0x55cc39['EbeXl'](setInterval,async()=>{const _0x1369e4=a70_0x39d4;try{await _0x3dc09e[_0x1369e4(0x1e3)]();}catch(_0x4cc03c){logger[_0x1369e4(0x180)](_0x1369e4(0x1ce)+_0x39c06d+':\x20'+_0x4cc03c[_0x1369e4(0x243)]+_0x1369e4(0x246)),_0x55cc39['AUVwN'](clearInterval,_0x5d1c9e);}},_0x194cae);_0x55cc39[_0x411d6b(0x1a6)](typeof _0x5d1c9e['unref'],_0x55cc39['twRTR'])&&_0x5d1c9e[_0x411d6b(0x1f1)](),_0x5c251b[_0x411d6b(0x173)](_0x5d1c9e);},_0x2bd318=()=>{const _0x3f3e26=_0x58c725;for(const _0x1b344c of _0x5c251b){_0x55cc39[_0x3f3e26(0x14d)](clearInterval,_0x1b344c);}_0x5c251b['length']=0x0;};_0x22873f=0x0;const _0x2b7a2f=_0x55cc39[_0x58c725(0x239)](require,_0x55cc39[_0x58c725(0x1a7)]);_0x2b7a2f[_0x58c725(0x1dd)]();try{const _0x398266=BrowserstackCLI['getInstance']()[_0x58c725(0x1b7)]&&BrowserstackCLI['getInstance']()[_0x58c725(0x1b7)](),_0xab6f25=_0x398266&&_0x398266[_0x58c725(0x1a9)]&&_0x398266[_0x58c725(0x1a9)][_0x58c725(0x149)]&&_0x398266[_0x58c725(0x1a9)][_0x58c725(0x149)][_0x58c725(0x146)]&&(_0x398266['accessibilityConfig'][_0x58c725(0x149)][_0x58c725(0x146)][_0x58c725(0x24a)]||_0x398266[_0x58c725(0x1a9)][_0x58c725(0x149)][_0x58c725(0x146)]['commands']);if(Array[_0x58c725(0x1cb)](_0xab6f25)&&_0x55cc39[_0x58c725(0x1c9)](_0xab6f25[_0x58c725(0x1c2)],0x0)){const _0x4b14a2=_0x55cc39[_0x58c725(0x14c)](require,_0x55cc39[_0x58c725(0x23b)]),_0x476210=_0xab6f25[_0x58c725(0x184)](_0x537931=>({'name':_0x537931[_0x58c725(0x176)]&&_0x537931[_0x58c725(0x176)]()||_0x537931[_0x58c725(0x1ab)],'module':_0x537931[_0x58c725(0x1d6)]&&_0x537931[_0x58c725(0x1d6)]()||_0x537931[_0x58c725(0x16f)],'method':_0x537931['getMethod']&&_0x537931[_0x58c725(0x1bf)]()||_0x537931[_0x58c725(0x1aa)]}));_0x4b14a2[_0x58c725(0x1dd)](_0x476210);}else logger[_0x58c725(0x180)](_0x55cc39[_0x58c725(0x197)]);}catch(_0x2bb983){logger[_0x58c725(0x180)](_0x58c725(0x219)+(_0x2bb983[_0x58c725(0x243)]||_0x2bb983));}let _0x34a3e1='',_0x3d1d59=null;try{const _0x215cc1=await GrpcClient[_0x58c725(0x17e)]()[_0x58c725(0x138)]();_0x34a3e1=_0x215cc1[_0x58c725(0x1a8)]&&_0x215cc1[_0x58c725(0x1a8)]()||_0x215cc1[_0x58c725(0x1f7)]||'';if(_0x34a3e1)try{_0x3d1d59=new RegExp(_0x34a3e1),logger[_0x58c725(0x1ac)](_0x58c725(0x16c)+_0x34a3e1);}catch(_0x15d67c){const _0x143c79=_0x58c725(0x187)+_0x15d67c[_0x58c725(0x243)]+_0x58c725(0x171)+_0x34a3e1;process[_0x58c725(0x207)][_0x58c725(0x22c)](_0x55cc39[_0x58c725(0x20e)](_0x143c79,'\x0a')),logger[_0x58c725(0x20f)](_0x143c79),process[_0x58c725(0x17b)]=0x1;return;}}catch(_0x405833){if(process[_0x58c725(0x151)]['BROWSERSTACK_RERUN']){const _0xffca86=_0x55cc39[_0x58c725(0x196)];process[_0x58c725(0x207)][_0x58c725(0x22c)](_0xffca86),logger[_0x58c725(0x20f)](_0x58c725(0x1e4)+_0x405833[_0x58c725(0x243)]),process[_0x58c725(0x17b)]=0x1;return;}logger['debug'](_0x55cc39['xNaCs'],_0x405833);}const _0x3c12b8=_0x55cc39['axjeq'](require,path[_0x58c725(0x1a4)](__dirname,_0x55cc39[_0x58c725(0x213)],_0x55cc39[_0x58c725(0x136)])),_0x3ccd36=_0x55cc39[_0x58c725(0x23c)](_0x1c4547[_0x58c725(0x165)],![])||_0x55cc39['qXRLx'](_0x1c4547[_0x58c725(0x165)],_0x55cc39['SoXof'])||_0x55cc39[_0x58c725(0x141)](_0x55cc39[_0x58c725(0x182)](String,_0x1c4547['browserstackAutomation']||'')['toLowerCase'](),_0x55cc39[_0x58c725(0x200)]);if(_0x3ccd36){logger[_0x58c725(0x1ac)](_0x55cc39[_0x58c725(0x1d4)]);const _0x5b7103=[];for(let _0x7fa6d5=0x0;_0x55cc39[_0x58c725(0x172)](_0x7fa6d5,_0xac4d1[_0x58c725(0x1c2)]);_0x7fa6d5++){const _0x1d2fd9=_0xac4d1[_0x7fa6d5];if(_0x55cc39[_0x58c725(0x23c)](_0x1d2fd9,'-b')||_0x55cc39[_0x58c725(0x1fa)](_0x1d2fd9,_0x55cc39[_0x58c725(0x236)])){_0xac4d1[_0x55cc39[_0x58c725(0x20e)](_0x7fa6d5,0x1)]&&_0x5b7103[_0x58c725(0x173)](_0xac4d1[_0x55cc39[_0x58c725(0x1e5)](_0x7fa6d5,0x1)]);_0x7fa6d5++;continue;}if(_0x1d2fd9[_0x58c725(0x1d5)](_0x55cc39[_0x58c725(0x221)])){_0x5b7103[_0x58c725(0x173)](_0x1d2fd9[_0x58c725(0x139)](_0x55cc39['ZXJXm'][_0x58c725(0x1c2)]));continue;}if(_0x1d2fd9[_0x58c725(0x1d5)](_0x55cc39[_0x58c725(0x190)])){_0x5b7103['push'](_0x1d2fd9['slice'](_0x55cc39[_0x58c725(0x190)][_0x58c725(0x1c2)]));continue;}_0x55cc39[_0x58c725(0x194)](looksLikeBrowserArg,_0x1d2fd9)&&_0x5b7103[_0x58c725(0x173)](_0x1d2fd9);}_0x55cc39[_0x58c725(0x1a6)](_0x5b7103[_0x58c725(0x1c2)],0x0)&&(_0x5b7103['push'](_0x55cc39[_0x58c725(0x167)]),logger[_0x58c725(0x1ac)](_0x55cc39[_0x58c725(0x21d)]));let _0x158fb2=0x1;try{const _0x5ac524=_0x20e575['createRunner']();_0x5ac524[_0x58c725(0x249)](_0x434e04),_0x5ac524[_0x58c725(0x1fd)](_0x5b7103),_0x5ac524[_0x58c725(0x238)]([_0x55cc39[_0x58c725(0x163)],_0x3c12b8]),_0x55cc39['uCQMZ'](typeof _0x58a802,_0x55cc39[_0x58c725(0x1f0)])&&_0x55cc39[_0x58c725(0x23a)](_0x58a802,0x0)&&_0x5ac524[_0x58c725(0x222)](_0x58a802),_0x3d1d59&&_0x5ac524[_0x58c725(0x18c)](_0x5f51f5=>_0x3d1d59['test'](_0x5f51f5)),_0x158fb2=await _0x5ac524[_0x58c725(0x1b4)](),logger[_0x58c725(0x1ac)](_0x58c725(0x235)+_0x158fb2);}catch(_0x28c534){logger['error'](_0x58c725(0x1bd)+(_0x28c534[_0x58c725(0x1e6)]||_0x28c534)),process[_0x58c725(0x207)]['write'](_0x58c725(0x18b)+_0x28c534[_0x58c725(0x243)]+'\x0a'),_0x158fb2=0x1;}finally{_0x22873f=_0x158fb2;try{_0x2b7a2f[_0x58c725(0x1af)]();}catch(_0x3bcb91){}try{await _0x20e575['close']();}catch(_0x32c5f0){logger[_0x58c725(0x180)](_0x58c725(0x15f)+_0x32c5f0[_0x58c725(0x243)]);}try{const _0x1b9507=BrowserstackCLI['getInstance']()[_0x58c725(0x1ad)]();_0x1b9507&&_0x55cc39[_0x58c725(0x23c)](typeof _0x1b9507['finalizeOrphans'],_0x55cc39[_0x58c725(0x1f2)])&&await _0x1b9507[_0x58c725(0x1bb)]();}catch(_0x51d5e4){logger[_0x58c725(0x180)](_0x58c725(0x21f)+_0x51d5e4[_0x58c725(0x243)]);}const _0x197477=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI[_0x58c725(0x17e)]()[_0x58c725(0x1ae)]()[_0x58c725(0x224)](_0x53fbca=>{const _0x3a6297=_0x58c725;logger['debug'](_0x3a6297(0x1cd)+_0x53fbca[_0x3a6297(0x243)]);}),_0x55cc39[_0x58c725(0x13c)](printBuildLink),await utilities[_0x58c725(0x229)](_0x8007e3,_0x197477)[_0x58c725(0x224)](_0x49d82b=>{const _0x19804a=_0x58c725;logger['debug'](_0x19804a(0x1d8)+_0x49d82b[_0x19804a(0x243)]);}),process['exitCode']=_0x22873f,logger['info'](_0x58c725(0x140)+_0x22873f);}return;}try{for(let _0x2ddb22=0x0;_0x55cc39['gbaLF'](_0x2ddb22,_0x3f8f3d['length']);_0x2ddb22++){logger['info']('testcafe/command.js:\x20starting\x20platform['+_0x2ddb22+_0x58c725(0x1c0)+_0x55cc39[_0x58c725(0x216)](_0x2ddb22,0x1)+'/'+_0x3f8f3d[_0x58c725(0x1c2)]+')');let _0x37738b=0x1,_0x48bea4=null,_0x750a73=null;try{_0x48bea4=await _0x55cc39['WyAJe'](provisionSession,_0x20e575,_0x2ddb22),_0x55cc39[_0x58c725(0x215)](_0x2655a0,_0x48bea4[_0x58c725(0x24d)],_0x48bea4[_0x58c725(0x19c)]);const _0x4eca59=_0x20e575[_0x58c725(0x16e)]();_0x4eca59[_0x58c725(0x249)](_0x434e04),_0x4eca59['browsers']([_0x48bea4[_0x58c725(0x13b)]]),_0x4eca59[_0x58c725(0x238)]([_0x55cc39[_0x58c725(0x163)],_0x3c12b8]);_0x55cc39['zlrUi'](typeof _0x58a802,_0x55cc39[_0x58c725(0x1f0)])&&_0x55cc39[_0x58c725(0x23a)](_0x58a802,0x0)&&_0x4eca59[_0x58c725(0x222)](_0x58a802);_0x3d1d59&&_0x4eca59[_0x58c725(0x18c)](_0x186ed0=>_0x3d1d59[_0x58c725(0x13d)](_0x186ed0));const _0x68750=_0x1c4547&&_0x1c4547[_0x58c725(0x226)]||0x12c,_0xdd32e3=_0x55cc39[_0x58c725(0x1e7)](_0x55cc39[_0x58c725(0x1b2)](_0x68750,0x3c),0x3e8);_0x37738b=await Promise[_0x58c725(0x1ef)]([_0x4eca59[_0x58c725(0x1b4)](),new Promise(_0x728f2d=>setTimeout(()=>{const _0x2ed832=_0x58c725;logger[_0x2ed832(0x17f)](_0x2ed832(0x248)+_0x2ddb22+_0x2ed832(0x22f)+_0x55cc39[_0x2ed832(0x161)](_0xdd32e3,0x3e8)+_0x2ed832(0x22d)),_0x750a73=_0x2ed832(0x1d3)+_0x55cc39['DBdDD'](_0xdd32e3,0x3e8)+_0x2ed832(0x137),_0x55cc39['jKtMQ'](_0x728f2d,0x1);},_0xdd32e3))]),logger[_0x58c725(0x1ac)](_0x58c725(0x248)+_0x2ddb22+_0x58c725(0x1de)+_0x37738b),_0x55cc39[_0x58c725(0x174)](_0x37738b,0x0)&&!_0x750a73&&(_0x750a73='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x37738b);}catch(_0x4b5d3e){const _0x543d2e=((()=>{const _0x14f9a1=_0x58c725;if(!_0x4b5d3e)return _0x55cc39[_0x14f9a1(0x212)];if(_0x55cc39['hOwiC'](typeof _0x4b5d3e,_0x55cc39['ilIyE']))return _0x4b5d3e;if(_0x55cc39[_0x14f9a1(0x241)](typeof _0x4b5d3e[_0x14f9a1(0x243)],_0x55cc39[_0x14f9a1(0x1f3)])&&_0x4b5d3e['message'])return _0x4b5d3e['message'];try{return JSON[_0x14f9a1(0x15b)](_0x4b5d3e[_0x14f9a1(0x243)]??_0x4b5d3e,null,0x2);}catch(_0x2d449f){const _0x4a8020={};return _0x4a8020['depth']=0x4,_0x55cc39['icAsB'](require,_0x55cc39[_0x14f9a1(0x162)])['inspect'](_0x4b5d3e[_0x14f9a1(0x243)]??_0x4b5d3e,_0x4a8020);}})()),_0x477e47={};_0x477e47[_0x58c725(0x15a)]=_0x4b5d3e&&_0x4b5d3e[_0x58c725(0x15a)],_0x477e47['type']=_0x4b5d3e&&_0x4b5d3e[_0x58c725(0x1f9)],_0x477e47[_0x58c725(0x21c)]=_0x4b5d3e&&_0x4b5d3e[_0x58c725(0x21c)],_0x477e47['name']=_0x4b5d3e&&_0x4b5d3e['name'],_0x477e47[_0x58c725(0x202)]=_0x4b5d3e&&_0x4b5d3e['constructor']&&_0x4b5d3e[_0x58c725(0x202)][_0x58c725(0x1ab)];const _0x46583d=_0x477e47;logger['error'](_0x58c725(0x248)+_0x2ddb22+_0x58c725(0x1c8)+_0x543d2e+'\x20(meta='+JSON['stringify'](_0x46583d)+')\x0a'+(_0x4b5d3e&&_0x4b5d3e[_0x58c725(0x1e6)]||'')),process[_0x58c725(0x207)][_0x58c725(0x22c)](_0x58c725(0x1c7)+_0x2ddb22+_0x58c725(0x234)+_0x543d2e+'\x0a'),_0x37738b=0x1,_0x750a73=_0x543d2e;}finally{try{if(_0x48bea4&&_0x55cc39[_0x58c725(0x174)](_0x48bea4[_0x58c725(0x1ec)],undefined)){const _0x4ea22d=_0x55cc39['hOwiC'](_0x37738b,0x0)?_0x55cc39[_0x58c725(0x156)]:_0x55cc39[_0x58c725(0x13e)],_0x19a0ed=_0x750a73;registry[_0x58c725(0x1d0)](_0x48bea4[_0x58c725(0x1ec)],_0x4ea22d,_0x19a0ed);}}catch(_0xf6e2e2){logger['warn'](_0x58c725(0x1c5)+_0x2ddb22+']:\x20'+_0xf6e2e2[_0x58c725(0x243)]);}await registry[_0x58c725(0x186)](),_0x55cc39['bRvIP'](_0x2bd318);}_0x55cc39[_0x58c725(0x174)](_0x37738b,0x0)&&_0x55cc39[_0x58c725(0x20d)](_0x22873f,0x0)&&(_0x22873f=_0x37738b);}}finally{try{_0x2b7a2f[_0x58c725(0x1af)]();}catch(_0x332681){}try{await _0x20e575[_0x58c725(0x227)]();}catch(_0x6e1f6){logger[_0x58c725(0x180)](_0x58c725(0x15f)+_0x6e1f6[_0x58c725(0x243)]);}try{const _0x4d7b55=BrowserstackCLI[_0x58c725(0x17e)]()['getTestFramework']();_0x4d7b55&&_0x55cc39[_0x58c725(0x23c)](typeof _0x4d7b55[_0x58c725(0x1bb)],_0x55cc39[_0x58c725(0x1f2)])&&await _0x4d7b55['finalizeOrphans']();}catch(_0x70fe06){logger[_0x58c725(0x180)](_0x58c725(0x21f)+_0x70fe06['message']);}const _0x38d2be=BrowserstackCLI[_0x58c725(0x1ea)]();await BrowserstackCLI[_0x58c725(0x17e)]()['stop']()[_0x58c725(0x224)](_0x3a2e3f=>{const _0xf5e013=_0x58c725;logger[_0xf5e013(0x180)](_0xf5e013(0x1cd)+_0x3a2e3f[_0xf5e013(0x243)]);}),_0x55cc39['INTqi'](printBuildLink),await utilities[_0x58c725(0x229)](_0x8007e3,_0x38d2be)[_0x58c725(0x224)](_0x2a9251=>{logger['debug']('finalExecution\x20error:\x20'+_0x2a9251['message']);}),process[_0x58c725(0x17b)]=_0x22873f,logger['info'](_0x58c725(0x140)+_0x22873f);}}let _isExiting=![];const propagateSignal=_0x53b69c=>{const _0x100d0f=a70_0xc1ce94,_0x4bf1bd={};_0x4bf1bd[_0x100d0f(0x201)]='failed',_0x4bf1bd[_0x100d0f(0x1c4)]=_0x100d0f(0x1fe),_0x4bf1bd[_0x100d0f(0x1b6)]=_0x100d0f(0x175);const _0x2e43dd=_0x4bf1bd;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x6e34af=_0x100d0f;try{const _0x52f8d9=registry[_0x6e34af(0x168)]();for(const _0x10fa2b of _0x52f8d9){try{registry[_0x6e34af(0x1d0)](_0x10fa2b['platformIndex'],_0x2e43dd[_0x6e34af(0x201)],_0x6e34af(0x1ca)+_0x53b69c+_0x6e34af(0x195));}catch(_0x492290){}}await Promise[_0x6e34af(0x1ef)]([registry[_0x6e34af(0x186)](),new Promise(_0x2a2b29=>setTimeout(_0x2a2b29,0x1388))]);}catch(_0x4cadd2){}process[_0x6e34af(0x22b)](_0x2e43dd[_0x6e34af(0x1c4)],_sigintHandler),process['removeListener'](_0x2e43dd[_0x6e34af(0x1b6)],_sigtermHandler),process[_0x6e34af(0x204)](process[_0x6e34af(0x19e)],_0x53b69c);})());};function _sigintHandler(){const _0x50e84e=a70_0xc1ce94,_0x2517ee={'WMEmB':function(_0x55bb57,_0x51f535){return _0x55bb57(_0x51f535);},'mXszg':_0x50e84e(0x1fe)};_0x2517ee['WMEmB'](propagateSignal,_0x2517ee[_0x50e84e(0x245)]);}function _sigtermHandler(){const _0x40badf=a70_0xc1ce94,_0x5097c2={'fclNv':function(_0x2ce4f9,_0x29d133){return _0x2ce4f9(_0x29d133);},'QtmcP':_0x40badf(0x175)};_0x5097c2['fclNv'](propagateSignal,_0x5097c2[_0x40badf(0x1eb)]);}process['on']('SIGINT',_sigintHandler),process['on']('SIGTERM',_sigtermHandler),module[a70_0xc1ce94(0x1ff)]=run;
|
|
2
|
+
'use strict';const a70_0xc9a257=a70_0x561b;(function(_0x2f55e0,_0x575064){const _0x2663da=a70_0x561b,_0x4fdc5b=_0x2f55e0();while(!![]){try{const _0x3bae6c=parseInt(_0x2663da(0x27e))/0x1*(parseInt(_0x2663da(0x22b))/0x2)+parseInt(_0x2663da(0x252))/0x3+-parseInt(_0x2663da(0x237))/0x4*(-parseInt(_0x2663da(0x211))/0x5)+parseInt(_0x2663da(0x2e8))/0x6+-parseInt(_0x2663da(0x259))/0x7+parseInt(_0x2663da(0x25a))/0x8*(parseInt(_0x2663da(0x203))/0x9)+-parseInt(_0x2663da(0x26a))/0xa*(parseInt(_0x2663da(0x2fb))/0xb);if(_0x3bae6c===_0x575064)break;else _0x4fdc5b['push'](_0x4fdc5b['shift']());}catch(_0x536dfd){_0x4fdc5b['push'](_0x4fdc5b['shift']());}}}(a70_0x2254,0x4761e));function a70_0x2254(){const _0x32709b=['[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','slice','xEhLW','hzmcq','QItxR','cHBsG','tc.close\x20error:\x20','commands','Jmdcw','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','TUgrN','fqmvL','configPath','SlRCJ','isBuffer','PVVIJ','platformIndex','uIEaP','BROWSERSTACK_RERUN','src','PzEyF','816780XEfakE','parse','../v2/cliUtils','GkTTD','lPWQY','ePhDX','module','2387490NOrlIk','1139624MAzSXY','info','test','YBPaT','finalExecution','chrome:','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','alwaysMatch','mBrJN','browserstackLocal','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','./stdout-interceptor','wKQeE','2|0|3|4|1','testcafe/command.js:\x20starting\x20platform[','6791570wKTFcV','DriverInit\x20returned\x20no\x20capabilities','ynrGL','exports','driver','eKIaP','--browsers','xnYpO','.\x20Pattern:\x20','lMecw','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','BrowserstackCLI.stop\x20error:\x20','concurrency','capabilities','data','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','hJjMd','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','16nrIBvo','testcafe/command.js:\x20platform[','testSources','createRunner','type','\x20before\x20runner.run()\x20completed','markStatus','message','WnmbX',']\x20BrowserStack\x20session=','--browsers=','qbcSE','qDXLc','znlvL','EAtnq','filter','resolve',']\x20runner.run()\x20timed\x20out\x20after\x20','-b=','\x20→\x20','getHubUrl','catch','UKuCo','from','setBrowserstackConfig','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','LHvKa','MgSvC','getCapabilities','Lsssg','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','trim','kXlMl','HPGnM','\x20(meta=','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','getMethod','RpWCh',',\x20concurrency=',']\x20(','stop','UGfXF','warn','wjKqs','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','utf8','sessionId','firefox:headless',']\x20run\x20failed\x20—\x20','desiredCapabilities','finalizeOrphans\x20error:\x20','install','[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.','getConfig','isRunning','match','function','cliConfig','./w3c-driver','removeListener','uTKEn','Htnem','Aborted\x20by\x20','getInstance','neUpi',']:\x20','WbERo','connection','driverInit','run','stringify','browsers','Ovvlj','index.js','testcafe','szWCN','uCmSI','KXtfg','initialize','CmKdy','getTestFramework','url','edge','DRFqm','finalizeOrphans','fNLsH','KMAGb','AnTUd','nPPmI','cuZRF','env','browserstackAutomation','config','getModule','BoQng','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','race','length','register','cwd','TestCafe\x20runner\x20exited\x20with\x20code\x20','s\x20timeout\x20(idleTimeout\x20+\x2060s)','DxvFL','exitCode','getRerunTestGrep','constructor','3291132YpfrCO','SIGTERM','percy','chrome:headless','../../helpers/test-observability/utils','getCurrentUrl','getName','hubUrl','wDVoH','HjyBZ','TsDkD','commandsToWrap','iYuVo','bOfCH','passed','uThyv','unref','has','winstonLogger','22xQuMSw','includes','yHHCo','zRlnj','Iyyna','dczBN','INSqY','fvAYD','toLowerCase','firefox','krroT','FLLoC','depth','error','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','isArray','close','util','code','uUUrr','bxnOw','commandsList','LJYAn','../../helpers/utilities','fgmQI','IEHcw','stderr','uHmAR','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','[testcafe]\x20provisioning\x20session\x20for\x20platform[','KcFJo','wtBcT','reporter','stack','jvutE','9PfQXHE','name',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','toString','xEqyE','startsWith','firefox:','RBOMv','[testcafe]\x20platform[','options','quitAll','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','projectToken','isCLIEnabled','5bfJuaM','push','rcPjh','failed','bYBQe','string','false','platforms','VZZeX','accessibilityConfig','VmGtW','bs-local.com','map','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','write','raWyo','inspect','udUtc','VWrBh','../../helpers/logger','SIGINT','JtuOj','default',']\x20hubUrl=','JxkaN','66338RXXGKn','xLObU','../v2/browserstackCLI','ARwYe','pGmZi','kill','spec','ZfXfC','BbYsx','finalExecution\x20error:\x20','wvDLv','debug','1991308acNtzY','../../helpers/helper','testCafeConfig','rqeEb','vUZKp'];a70_0x2254=function(){return _0x32709b;};return a70_0x2254();}const path=require('path'),logger=require(a70_0xc9a257(0x225))[a70_0xc9a257(0x2fa)],helper=require(a70_0xc9a257(0x238)),utilities=require(a70_0xc9a257(0x1f7)),CLIUtils=require(a70_0xc9a257(0x254)),BrowserstackCLI=require(a70_0xc9a257(0x22d)),GrpcClient=require('../v2/grpcClient'),{printBuildLink}=require(a70_0xc9a257(0x2ec)),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x354e66=a70_0xc9a257,_0x5a9659={};_0x5a9659[_0x354e66(0x22c)]=_0x354e66(0x2c8),_0x5a9659[_0x354e66(0x248)]='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 _0x52bee9=_0x5a9659;try{require[_0x354e66(0x28e)](_0x52bee9[_0x354e66(0x22c)],{'paths':[process[_0x354e66(0x2e1)]()]});}catch(_0x449300){throw new Error(_0x52bee9[_0x354e66(0x248)]);}},loadTestCafeFactory=()=>{const _0x4ac83b=a70_0xc9a257,_0x5e297b={'TBXJm':'testcafe','Lsssg':function(_0x2a0083,_0x95e7f6){return _0x2a0083(_0x95e7f6);}},_0x1f73c2=require['resolve'](_0x5e297b['TBXJm'],{'paths':[process['cwd']()]});return _0x5e297b[_0x4ac83b(0x29b)](require,_0x1f73c2);},w3cDriver=require(a70_0xc9a257(0x2b8)),KNOWN_LOCAL_BROWSERS=new Set(['chrome','chromium',a70_0xc9a257(0x1e9),'safari',a70_0xc9a257(0x2d0),'ie','opera',a70_0xc9a257(0x2eb),a70_0xc9a257(0x2ad),'remote']),looksLikeBrowserArg=_0x8f1ade=>{const _0x5f3a70=a70_0xc9a257,_0x4bbc81={};_0x4bbc81['VZZeX']=_0x5f3a70(0x268),_0x4bbc81['zRlnj']=function(_0x4ed3b5,_0x2d8477){return _0x4ed3b5!==_0x2d8477;},_0x4bbc81[_0x5f3a70(0x2a9)]='string',_0x4bbc81[_0x5f3a70(0x273)]=_0x5f3a70(0x25f),_0x4bbc81[_0x5f3a70(0x2e4)]=_0x5f3a70(0x209);const _0x90355f=_0x4bbc81,_0x4bb6cd=_0x90355f[_0x5f3a70(0x219)]['split']('|');let _0x5d6f88=0x0;while(!![]){switch(_0x4bb6cd[_0x5d6f88++]){case'0':if(_0x8f1ade['includes'](':')&&!_0x8f1ade[_0x5f3a70(0x2fc)]('/'))return!![];continue;case'1':return![];case'2':if(_0x90355f[_0x5f3a70(0x2fe)](typeof _0x8f1ade,_0x90355f[_0x5f3a70(0x2a9)]))return![];continue;case'3':if(KNOWN_LOCAL_BROWSERS[_0x5f3a70(0x2f9)](_0x8f1ade['toLowerCase']()))return!![];continue;case'4':if(_0x8f1ade[_0x5f3a70(0x208)](_0x90355f[_0x5f3a70(0x273)])||_0x8f1ade[_0x5f3a70(0x208)](_0x90355f['DxvFL']))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x4e3845=>{const _0x4a9bf1=a70_0xc9a257,_0x407441={'qbcSE':function(_0x5f1d9d,_0xd96d17){return _0x5f1d9d<_0xd96d17;},'krroT':function(_0x2fe5c8,_0x4ef8b2){return _0x2fe5c8===_0x4ef8b2;},'xEhLW':_0x4a9bf1(0x270),'raWyo':_0x4a9bf1(0x288),'rqeEb':'-b=','iaMQc':function(_0x453c67,_0x13415a,_0x40dfa0){return _0x453c67(_0x13415a,_0x40dfa0);},'znlvL':function(_0x3d312f,_0x52919b){return _0x3d312f+_0x52919b;},'UGfXF':function(_0x461de6,_0x349d04){return _0x461de6+_0x349d04;},'igtKF':function(_0x4f9f5f,_0xe28dcf,_0x5bd552){return _0x4f9f5f(_0xe28dcf,_0x5bd552);},'MgSvC':function(_0x30e32a,_0x7b004b,_0x1c9524){return _0x30e32a(_0x7b004b,_0x1c9524);},'wDVoH':function(_0x2f5b22,_0x59f345){return _0x2f5b22(_0x59f345);}},_0x5eeec9=[];let _0x29ff5d;for(let _0x4ceef1=0x0;_0x407441[_0x4a9bf1(0x289)](_0x4ceef1,_0x4e3845['length']);_0x4ceef1++){const _0x336bb1=_0x4e3845[_0x4ceef1];if(_0x407441['krroT'](_0x336bb1,'-b')||_0x407441[_0x4a9bf1(0x1ea)](_0x336bb1,_0x407441[_0x4a9bf1(0x23e)])){_0x4ceef1++;continue;}if(_0x336bb1[_0x4a9bf1(0x208)](_0x407441[_0x4a9bf1(0x221)])||_0x336bb1[_0x4a9bf1(0x208)](_0x407441[_0x4a9bf1(0x23a)]))continue;const _0x124bc7=_0x336bb1[_0x4a9bf1(0x2b5)](_CONCURRENCY_PATTERN);if(_0x124bc7){if(_0x124bc7[0x1]){_0x29ff5d=_0x407441['iaMQc'](parseInt,_0x124bc7[0x1],0xa);continue;}if(_0x4e3845[_0x407441[_0x4a9bf1(0x28b)](_0x4ceef1,0x1)]&&/^\d+$/[_0x4a9bf1(0x25c)](_0x4e3845[_0x407441[_0x4a9bf1(0x2a7)](_0x4ceef1,0x1)])){_0x29ff5d=_0x407441['igtKF'](parseInt,_0x4e3845[_0x407441[_0x4a9bf1(0x28b)](_0x4ceef1,0x1)],0xa),_0x4ceef1++;continue;}continue;}const _0x4091fd=_0x336bb1[_0x4a9bf1(0x2b5)](/^-c(\d+)$/);if(_0x4091fd){_0x29ff5d=_0x407441[_0x4a9bf1(0x299)](parseInt,_0x4091fd[0x1],0xa);continue;}if(_0x407441[_0x4a9bf1(0x2f0)](looksLikeBrowserArg,_0x336bb1))continue;_0x5eeec9[_0x4a9bf1(0x212)](_0x336bb1);}const _0x2e1f93={};return _0x2e1f93[_0x4a9bf1(0x280)]=_0x5eeec9,_0x2e1f93['concurrency']=_0x29ff5d,_0x2e1f93;},parseCapabilities=_0x4b1824=>{const _0x25dc6a=a70_0xc9a257,_0x69caa6={};_0x69caa6[_0x25dc6a(0x21b)]=_0x25dc6a(0x26b),_0x69caa6['GlDMv']=_0x25dc6a(0x2ab);const _0x1805d1=_0x69caa6,_0x3181c8=_0x4b1824['getCapabilities']&&_0x4b1824[_0x25dc6a(0x29a)]()||_0x4b1824[_0x25dc6a(0x279)];if(!_0x3181c8)throw new Error(_0x1805d1[_0x25dc6a(0x21b)]);const _0x387099=Buffer[_0x25dc6a(0x24b)](_0x3181c8)?_0x3181c8:Buffer[_0x25dc6a(0x295)](_0x3181c8),_0x1d86ef=JSON[_0x25dc6a(0x253)](_0x387099[_0x25dc6a(0x206)](_0x1805d1['GlDMv'])[_0x25dc6a(0x29d)]());if(_0x1d86ef[_0x25dc6a(0x2af)])return _0x1d86ef['desiredCapabilities'];if(_0x1d86ef[_0x25dc6a(0x279)]&&_0x1d86ef[_0x25dc6a(0x279)][_0x25dc6a(0x262)])return _0x1d86ef[_0x25dc6a(0x279)][_0x25dc6a(0x262)];return _0x1d86ef;};async function provisionSession(_0x4259a9,_0x4b9555){const _0x31f074=a70_0xc9a257,_0x546c9={'uDfLB':_0x31f074(0x2c8),'oiekm':function(_0x37e125,_0x4cf9d2){return _0x37e125(_0x4cf9d2);}};logger[_0x31f074(0x25b)](_0x31f074(0x1fd)+_0x4b9555+']');const _0xb755ef=await _0x4259a9['createBrowserConnection'](),_0x181833=await GrpcClient[_0x31f074(0x2bd)]()[_0x31f074(0x2c2)]({'platformIndex':_0x4b9555,'ref':_0x546c9['uDfLB'],'userInputParams':Buffer[_0x31f074(0x295)](JSON['stringify']({})),'hubUrl':''}),_0x5bb382=_0x546c9['oiekm'](parseCapabilities,_0x181833),_0x1fc5c1=(_0x181833[_0x31f074(0x292)]&&_0x181833['getHubUrl']()||_0x181833[_0x31f074(0x2ef)]||'')[_0x31f074(0x29d)]()||BrowserstackCLI[_0x31f074(0x2bd)]()?.['getConfig']()?.[_0x31f074(0x2ef)]||process['env']['BROWSERSTACK_HUB_URL'];if(!_0x1fc5c1)throw new Error('[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform['+_0x4b9555+_0x31f074(0x205));logger[_0x31f074(0x25b)]('[testcafe]\x20platform['+_0x4b9555+_0x31f074(0x229)+_0x1fc5c1);const _0xd6faea={};_0xd6faea[_0x31f074(0x2ef)]=_0x1fc5c1,_0xd6faea['capabilities']=_0x5bb382;const {driver:_0x4f9377,sessionId:_0x528f5d}=await w3cDriver['openSession'](_0xd6faea);await _0x4f9377['navigateTo'](_0xb755ef['url']);const _0x493ee8={};_0x493ee8[_0x31f074(0x24d)]=_0x4b9555,_0x493ee8[_0x31f074(0x26e)]=_0x4f9377,_0x493ee8[_0x31f074(0x2ac)]=_0x528f5d,_0x493ee8[_0x31f074(0x2c1)]=_0xb755ef,_0x493ee8[_0x31f074(0x279)]=_0x5bb382,_0x493ee8[_0x31f074(0x2ef)]=_0x1fc5c1,registry[_0x31f074(0x2e0)](_0x493ee8),logger['info'](_0x31f074(0x20b)+_0x4b9555+_0x31f074(0x287)+_0x528f5d+_0x31f074(0x291)+_0xb755ef[_0x31f074(0x2cf)]);const _0x5b8f69={};return _0x5b8f69[_0x31f074(0x2c1)]=_0xb755ef,_0x5b8f69[_0x31f074(0x2ac)]=_0x528f5d,_0x5b8f69[_0x31f074(0x26e)]=_0x4f9377,_0x5b8f69[_0x31f074(0x24d)]=_0x4b9555,_0x5b8f69[_0x31f074(0x279)]=_0x5bb382,_0x5b8f69['hubUrl']=_0x1fc5c1,_0x5b8f69;}async function run(_0x5c8726,_0x14faae,_0x14cca1){const _0x2029c6=a70_0xc9a257,_0x1edbec={'CmKdy':function(_0x1f5204,_0x805da7){return _0x1f5204(_0x805da7);},'wKQeE':function(_0x5bd272,_0x206bb9,_0x39ed9b){return _0x5bd272(_0x206bb9,_0x39ed9b);},'bYBQe':function(_0x183f90,_0x56a02e){return _0x183f90===_0x56a02e;},'BoQng':_0x2029c6(0x2b6),'RpWCh':function(_0x3ba6a1,_0x5a87d6){return _0x3ba6a1/_0x5a87d6;},'EAtnq':function(_0x5b1e42,_0x48bf6f){return _0x5b1e42(_0x48bf6f);},'vUZKp':'unknown\x20error\x20(falsy)','Jmdcw':function(_0x26f98b,_0x54ce49){return _0x26f98b===_0x54ce49;},'IEHcw':_0x2029c6(0x216),'iYuVo':function(_0x10f741,_0x5ecdb4){return _0x10f741===_0x5ecdb4;},'Iyyna':function(_0x2990f4,_0x2afa8d){return _0x2990f4(_0x2afa8d);},'uCmSI':_0x2029c6(0x1f1),'JtuOj':function(_0x305f41){return _0x305f41();},'wvDLv':_0x2029c6(0x27d),'JxkaN':function(_0x23f128,_0x54882f){return _0x23f128===_0x54882f;},'BbYsx':_0x2029c6(0x217),'WnmbX':function(_0x5c047c,_0x3f2d99){return _0x5c047c(_0x3f2d99);},'PVVIJ':function(_0x5d663b,_0x41f2a9){return _0x5d663b===_0x41f2a9;},'qDXLc':function(_0x1f6182,_0x11fb3c){return _0x1f6182===_0x11fb3c;},'Htnem':function(_0x180009,_0x3e604d){return _0x180009(_0x3e604d);},'TsDkD':function(_0x42806c,_0x71373){return _0x42806c===_0x71373;},'KXtfg':function(_0x52e115,_0x49479f){return _0x52e115&&_0x49479f;},'ArFRy':function(_0x3eba5f,_0x1fc003){return _0x3eba5f!==_0x1fc003;},'rKfek':'testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','bxnOw':_0x2029c6(0x2c8),'QItxR':_0x2029c6(0x276),'Ovvlj':function(_0x1231e4,_0x388e11){return _0x1231e4+_0x388e11;},'jvutE':_0x2029c6(0x20e),'pGmZi':_0x2029c6(0x246),'nPPmI':function(_0x4eb847,_0x32f4a4){return _0x4eb847||_0x32f4a4;},'neUpi':function(_0x7c6bcc,_0xd31903){return _0x7c6bcc===_0xd31903;},'udUtc':function(_0x36f32d,_0x3b4cae){return _0x36f32d>_0x3b4cae;},'xiEdj':function(_0x1b05d5,_0x2004c7){return _0x1b05d5===_0x2004c7;},'VnJQb':_0x2029c6(0x260),'cuZRF':_0x2029c6(0x2b2),'PzEyF':function(_0x3fadb0,_0x5c8a6d){return _0x3fadb0+_0x5c8a6d;},'AnTUd':function(_0x43f243,_0x2257d8){return _0x43f243(_0x2257d8);},'TUgrN':function(_0x3af430,_0x3ac5de){return _0x3af430===_0x3ac5de;},'WbERo':_0x2029c6(0x297),'ARwYe':function(_0x1b5af4,_0x25837c){return _0x1b5af4||_0x25837c;},'mBrJN':_0x2029c6(0x228),'FLLoC':_0x2029c6(0x21c),'uTKEn':_0x2029c6(0x266),'SlRCJ':function(_0x5794f9,_0x3f70e5){return _0x5794f9>_0x3f70e5;},'uIEaP':function(_0x565dc5,_0x50b2ae){return _0x565dc5(_0x50b2ae);},'fgmQI':'./testcafe-action-patcher','xEqyE':_0x2029c6(0x29c),'wtBcT':function(_0x3217c5,_0x450476){return _0x3217c5+_0x450476;},'iNQAZ':'[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','uHmAR':_0x2029c6(0x21e),'yHHCo':'reporter','INSqY':_0x2029c6(0x2c7),'KcFJo':function(_0x32edc0,_0x656ddc){return _0x32edc0===_0x656ddc;},'dczBN':function(_0x1e4a93,_0x163587){return _0x1e4a93===_0x163587;},'GkTTD':function(_0x57bdd1,_0x5e5047){return _0x57bdd1(_0x5e5047);},'eGmzs':'testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','szWCN':function(_0x5429e6,_0x1a0e70){return _0x5429e6<_0x1a0e70;},'uThyv':function(_0x1ec599,_0x4d5287){return _0x1ec599===_0x4d5287;},'UKuCo':_0x2029c6(0x270),'LHvKa':_0x2029c6(0x288),'RBOMv':_0x2029c6(0x290),'bOfCH':function(_0x1be5cb,_0x1b1f13){return _0x1be5cb===_0x1b1f13;},'HPGnM':'chrome','DRFqm':_0x2029c6(0x265),'lPWQY':_0x2029c6(0x231),'FvlVK':function(_0x4b7d97,_0x1070c7){return _0x4b7d97===_0x1070c7;},'HjyBZ':'number','bkpZy':function(_0x57bc6c,_0x3eb34c){return _0x57bc6c>_0x3eb34c;},'eKIaP':function(_0xc172a1){return _0xc172a1();},'uUUrr':function(_0x16c5a5,_0x473846){return _0x16c5a5+_0x473846;},'YBPaT':function(_0x4dbf73,_0x223dca,_0x3d1290){return _0x4dbf73(_0x223dca,_0x3d1290);},'KMAGb':function(_0x4fbced,_0x11e35a){return _0x4fbced>_0x11e35a;},'hJjMd':function(_0x1c9e32,_0x2c10d2){return _0x1c9e32*_0x2c10d2;},'kXlMl':function(_0x126b05,_0x27ee1a){return _0x126b05+_0x27ee1a;},'ZfXfC':function(_0x1fd07b,_0x3a1970){return _0x1fd07b!==_0x3a1970;},'gujvP':function(_0x2740ad,_0x1d66dc){return _0x2740ad===_0x1d66dc;},'xnYpO':_0x2029c6(0x2f6),'cHBsG':_0x2029c6(0x214),'fvAYD':function(_0x34131b,_0x49230b){return _0x34131b!==_0x49230b;},'ElZUn':function(_0x302dd6,_0x49eedb){return _0x302dd6===_0x49eedb;},'WdHBX':function(_0x3557a8,_0xe7fdb8){return _0x3557a8===_0xe7fdb8;},'VWrBh':function(_0x1e3927){return _0x1e3927();}};_0x1edbec[_0x2029c6(0x227)](detectPeerDeps);if(!_0x14cca1[_0x2029c6(0x2da)]){logger['error'](_0x1edbec[_0x2029c6(0x235)]);return;}const _0x314614=_0x14cca1[_0x2029c6(0x2da)],_0xeaf41f=_0x1edbec[_0x2029c6(0x22a)](_0x314614[_0x2029c6(0x2d9)],![])||_0x1edbec[_0x2029c6(0x244)](_0x314614[_0x2029c6(0x2d9)],_0x1edbec[_0x2029c6(0x233)])||_0x1edbec[_0x2029c6(0x22a)](_0x1edbec[_0x2029c6(0x286)](String,_0x314614[_0x2029c6(0x2d9)]||'')[_0x2029c6(0x1e8)](),_0x1edbec[_0x2029c6(0x233)]),_0x4fd9d8=_0x1edbec[_0x2029c6(0x22a)](_0x314614[_0x2029c6(0x264)],![])||_0x1edbec[_0x2029c6(0x24c)](_0x314614[_0x2029c6(0x264)],_0x1edbec['BbYsx'])||_0x1edbec[_0x2029c6(0x28a)](_0x1edbec[_0x2029c6(0x2bb)](String,_0x1edbec[_0x2029c6(0x2f2)](_0x314614[_0x2029c6(0x264)],undefined)?'':_0x314614['browserstackLocal'])[_0x2029c6(0x1e8)](),_0x1edbec[_0x2029c6(0x233)]);_0x1edbec[_0x2029c6(0x2cb)](!_0xeaf41f,!_0x4fd9d8)&&_0x1edbec['ArFRy'](_0x314614[_0x2029c6(0x264)],!![])&&(logger[_0x2029c6(0x25b)](_0x1edbec['rKfek']),_0x314614[_0x2029c6(0x264)]=!![]);await _0x14cca1[_0x2029c6(0x2cc)](_0x5c8726),CLIUtils['setFrameworkDetail'](_0x1edbec[_0x2029c6(0x1f4)],_0x1edbec[_0x2029c6(0x1f4)]),BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x296)](_0x14cca1[_0x2029c6(0x2da)],_0x14cca1[_0x2029c6(0x249)],_0x14cca1[_0x2029c6(0x2b7)]);try{await BrowserstackCLI[_0x2029c6(0x2bd)]()['bootstrap']();if(!BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x2b4)]())throw new Error(_0x1edbec[_0x2029c6(0x240)]);}catch(_0x179fa1){process['stderr'][_0x2029c6(0x220)](_0x1edbec[_0x2029c6(0x2c6)](_0x1edbec[_0x2029c6(0x2c6)](_0x2029c6(0x1fc)+_0x179fa1[_0x2029c6(0x285)]+'\x0a',_0x1edbec[_0x2029c6(0x202)]),_0x1edbec[_0x2029c6(0x22f)])),logger[_0x2029c6(0x1ed)]('testcafe/command.js:\x20bootstrap\x20failed\x20—\x20'+(_0x179fa1[_0x2029c6(0x201)]||_0x179fa1)),process[_0x2029c6(0x2e5)]=0x1;return;}const _0x231b0a=BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x2b3)](),_0x1e7da0=_0x14cca1['config']||{};let _0x3d7867=_0x1edbec[_0x2029c6(0x2d6)](_0x231b0a,_0x1e7da0)||{},_0x2076c9=Array['isArray'](_0x3d7867[_0x2029c6(0x218)])?_0x3d7867[_0x2029c6(0x218)]:[];_0x1edbec[_0x2029c6(0x2be)](_0x2076c9['length'],0x0)&&Array[_0x2029c6(0x1ef)](_0x1e7da0[_0x2029c6(0x218)])&&_0x1edbec[_0x2029c6(0x223)](_0x1e7da0[_0x2029c6(0x218)]['length'],0x0)&&(logger['warn'](_0x2029c6(0x274)+_0x1e7da0['platforms']['length']+')'),_0x3d7867=_0x1e7da0,_0x2076c9=_0x1e7da0[_0x2029c6(0x218)]);if(_0x1edbec['xiEdj'](_0x2076c9[_0x2029c6(0x2df)],0x0)){process['stderr'][_0x2029c6(0x220)](_0x1edbec['VnJQb']),process[_0x2029c6(0x2e5)]=0x1;return;}if(_0x1edbec[_0x2029c6(0x244)](_0x3d7867[_0x2029c6(0x2ea)],!![])||_0x3d7867[_0x2029c6(0x2ea)]&&_0x3d7867[_0x2029c6(0x2ea)][_0x2029c6(0x20f)]){const _0x2bdc4f=_0x1edbec[_0x2029c6(0x2d7)];process[_0x2029c6(0x1fa)][_0x2029c6(0x220)](_0x1edbec[_0x2029c6(0x251)](_0x2bdc4f,'\x0a')),logger[_0x2029c6(0x2a8)](_0x2bdc4f);}const {testSources:_0x346f2c,concurrency:_0x43b5d2}=_0x1edbec[_0x2029c6(0x2d5)](filterArgs,_0x14faae[_0x2029c6(0x23d)](0x1));if(_0x1edbec[_0x2029c6(0x247)](_0x346f2c[_0x2029c6(0x2df)],0x0)){process[_0x2029c6(0x1fa)]['write'](_0x1edbec[_0x2029c6(0x2c0)]),process['exitCode']=0x1;return;}logger[_0x2029c6(0x25b)]('testcafe/command.js:\x20testSources='+JSON[_0x2029c6(0x2c4)](_0x346f2c)+',\x20platforms='+_0x2076c9['length']+_0x2029c6(0x2a4)+_0x1edbec[_0x2029c6(0x22e)](_0x43b5d2,_0x1edbec[_0x2029c6(0x263)]));let _0x1e41ae;try{_0x1e41ae=_0x1edbec[_0x2029c6(0x227)](loadTestCafeFactory);}catch(_0x5bc317){process[_0x2029c6(0x1fa)][_0x2029c6(0x220)](_0x2029c6(0x27b)+_0x5bc317['message']+'\x0a'),process[_0x2029c6(0x2e5)]=0x1;return;}const _0x1e9f37=await _0x1edbec[_0x2029c6(0x286)](_0x1e41ae,_0x1edbec[_0x2029c6(0x1eb)]);let _0x1c1b76=0x1;const _0x1cf60b=0x7530,_0x494da2=[],_0x1496a1=(_0x3f96d7,_0x1068a4)=>{const _0x28fdbe=_0x2029c6,_0x64875a={'tVQCt':function(_0xfb163e,_0x11d3f3){const _0x3d1872=a70_0x561b;return _0x1edbec[_0x3d1872(0x2cd)](_0xfb163e,_0x11d3f3);}},_0x368925=_0x1edbec[_0x28fdbe(0x267)](setInterval,async()=>{const _0x16f234=_0x28fdbe;try{await _0x3f96d7[_0x16f234(0x2ed)]();}catch(_0xb0b560){logger[_0x16f234(0x236)](_0x16f234(0x245)+_0x1068a4+':\x20'+_0xb0b560[_0x16f234(0x285)]+'\x20—\x20stopping\x20pings\x20for\x20this\x20session'),_0x64875a['tVQCt'](clearInterval,_0x368925);}},_0x1cf60b);_0x1edbec[_0x28fdbe(0x215)](typeof _0x368925[_0x28fdbe(0x2f8)],_0x1edbec[_0x28fdbe(0x2dc)])&&_0x368925[_0x28fdbe(0x2f8)](),_0x494da2[_0x28fdbe(0x212)](_0x368925);},_0x2ab325=()=>{const _0x1a2248=_0x2029c6;for(const _0xea03a3 of _0x494da2){_0x1edbec[_0x1a2248(0x2cd)](clearInterval,_0xea03a3);}_0x494da2[_0x1a2248(0x2df)]=0x0;};_0x1c1b76=0x0;const _0x4f4e88=_0x1edbec[_0x2029c6(0x286)](require,_0x1edbec[_0x2029c6(0x2ba)]);_0x4f4e88[_0x2029c6(0x2b1)]();try{const _0x36df77=BrowserstackCLI['getInstance']()['getAccessibilityModule']&&BrowserstackCLI['getInstance']()['getAccessibilityModule'](),_0x472ef9=_0x36df77&&_0x36df77[_0x2029c6(0x21a)]&&_0x36df77[_0x2029c6(0x21a)][_0x2029c6(0x20c)]&&_0x36df77[_0x2029c6(0x21a)][_0x2029c6(0x20c)][_0x2029c6(0x2f3)]&&(_0x36df77['accessibilityConfig'][_0x2029c6(0x20c)][_0x2029c6(0x2f3)][_0x2029c6(0x1f5)]||_0x36df77['accessibilityConfig'][_0x2029c6(0x20c)]['commandsToWrap'][_0x2029c6(0x243)]);if(Array[_0x2029c6(0x1ef)](_0x472ef9)&&_0x1edbec[_0x2029c6(0x24a)](_0x472ef9[_0x2029c6(0x2df)],0x0)){const _0x7966a6=_0x1edbec[_0x2029c6(0x24e)](require,_0x1edbec[_0x2029c6(0x1f8)]),_0x545c25=_0x472ef9[_0x2029c6(0x21d)](_0x31686a=>({'name':_0x31686a[_0x2029c6(0x2ee)]&&_0x31686a[_0x2029c6(0x2ee)]()||_0x31686a[_0x2029c6(0x204)],'module':_0x31686a['getModule']&&_0x31686a[_0x2029c6(0x2db)]()||_0x31686a[_0x2029c6(0x258)],'method':_0x31686a[_0x2029c6(0x2a2)]&&_0x31686a['getMethod']()||_0x31686a['method']}));_0x7966a6['install'](_0x545c25);}else logger[_0x2029c6(0x236)](_0x1edbec[_0x2029c6(0x207)]);}catch(_0x4f76e4){logger[_0x2029c6(0x236)]('testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20'+(_0x4f76e4[_0x2029c6(0x285)]||_0x4f76e4));}let _0x512442='',_0xe46d85=null;try{const _0x135993=await GrpcClient['getInstance']()[_0x2029c6(0x239)]();_0x512442=_0x135993[_0x2029c6(0x2e6)]&&_0x135993[_0x2029c6(0x2e6)]()||_0x135993['rerunTestGrep']||'';if(_0x512442)try{_0xe46d85=new RegExp(_0x512442),logger['info'](_0x2029c6(0x2a1)+_0x512442);}catch(_0x853e92){const _0x37dd58=_0x2029c6(0x275)+_0x853e92[_0x2029c6(0x285)]+_0x2029c6(0x272)+_0x512442;process[_0x2029c6(0x1fa)][_0x2029c6(0x220)](_0x1edbec[_0x2029c6(0x1ff)](_0x37dd58,'\x0a')),logger[_0x2029c6(0x1ed)](_0x37dd58),process[_0x2029c6(0x2e5)]=0x1;return;}}catch(_0x339e6c){if(process[_0x2029c6(0x2d8)][_0x2029c6(0x24f)]){const _0x543693=_0x1edbec['iNQAZ'];process[_0x2029c6(0x1fa)]['write'](_0x543693),logger[_0x2029c6(0x1ed)](_0x2029c6(0x21f)+_0x339e6c['message']),process['exitCode']=0x1;return;}logger[_0x2029c6(0x236)](_0x1edbec[_0x2029c6(0x1fb)],_0x339e6c);}const _0x300a9c=_0x1edbec['Htnem'](require,path[_0x2029c6(0x28e)](__dirname,_0x1edbec[_0x2029c6(0x2fd)],_0x1edbec[_0x2029c6(0x1e6)])),_0x794be8=_0x1edbec[_0x2029c6(0x247)](_0x3d7867[_0x2029c6(0x2d9)],![])||_0x1edbec[_0x2029c6(0x1fe)](_0x3d7867['browserstackAutomation'],_0x1edbec[_0x2029c6(0x233)])||_0x1edbec[_0x2029c6(0x1e5)](_0x1edbec[_0x2029c6(0x255)](String,_0x3d7867['browserstackAutomation']||'')[_0x2029c6(0x1e8)](),_0x1edbec['BbYsx']);if(_0x794be8){logger[_0x2029c6(0x25b)](_0x1edbec['eGmzs']);const _0x1f8c80=[];for(let _0x6610e1=0x0;_0x1edbec[_0x2029c6(0x2c9)](_0x6610e1,_0x14faae[_0x2029c6(0x2df)]);_0x6610e1++){const _0x8f1bde=_0x14faae[_0x6610e1];if(_0x1edbec[_0x2029c6(0x2f4)](_0x8f1bde,'-b')||_0x1edbec[_0x2029c6(0x2f7)](_0x8f1bde,_0x1edbec[_0x2029c6(0x294)])){_0x14faae[_0x1edbec['wtBcT'](_0x6610e1,0x1)]&&_0x1f8c80[_0x2029c6(0x212)](_0x14faae[_0x1edbec[_0x2029c6(0x2c6)](_0x6610e1,0x1)]);_0x6610e1++;continue;}if(_0x8f1bde[_0x2029c6(0x208)](_0x1edbec[_0x2029c6(0x298)])){_0x1f8c80[_0x2029c6(0x212)](_0x8f1bde[_0x2029c6(0x23d)](_0x1edbec[_0x2029c6(0x298)][_0x2029c6(0x2df)]));continue;}if(_0x8f1bde[_0x2029c6(0x208)](_0x1edbec[_0x2029c6(0x20a)])){_0x1f8c80['push'](_0x8f1bde['slice'](_0x1edbec[_0x2029c6(0x20a)][_0x2029c6(0x2df)]));continue;}_0x1edbec[_0x2029c6(0x2cd)](looksLikeBrowserArg,_0x8f1bde)&&_0x1f8c80[_0x2029c6(0x212)](_0x8f1bde);}_0x1edbec[_0x2029c6(0x2f5)](_0x1f8c80[_0x2029c6(0x2df)],0x0)&&(_0x1f8c80[_0x2029c6(0x212)](_0x1edbec[_0x2029c6(0x29f)]),logger[_0x2029c6(0x25b)](_0x1edbec[_0x2029c6(0x2d1)]));let _0x1f9cc6=0x1;try{const _0x539fd8=_0x1e9f37['createRunner']();_0x539fd8[_0x2029c6(0x250)](_0x346f2c),_0x539fd8[_0x2029c6(0x2c5)](_0x1f8c80),_0x539fd8['reporter']([_0x1edbec['lPWQY'],_0x300a9c]),_0x1edbec['FvlVK'](typeof _0x43b5d2,_0x1edbec[_0x2029c6(0x2f1)])&&_0x1edbec['bkpZy'](_0x43b5d2,0x0)&&_0x539fd8[_0x2029c6(0x278)](_0x43b5d2),_0xe46d85&&_0x539fd8['filter'](_0x176cd8=>_0xe46d85['test'](_0x176cd8)),_0x1f9cc6=await _0x539fd8[_0x2029c6(0x2c3)](),logger[_0x2029c6(0x25b)]('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x1f9cc6);}catch(_0x442306){logger['error'](_0x2029c6(0x2dd)+(_0x442306[_0x2029c6(0x201)]||_0x442306)),process[_0x2029c6(0x1fa)][_0x2029c6(0x220)](_0x2029c6(0x23c)+_0x442306['message']+'\x0a'),_0x1f9cc6=0x1;}finally{_0x1c1b76=_0x1f9cc6;try{_0x4f4e88['uninstall']();}catch(_0x164700){}try{await _0x1e9f37[_0x2029c6(0x1f0)]();}catch(_0x27671a){logger[_0x2029c6(0x236)](_0x2029c6(0x242)+_0x27671a['message']);}try{const _0x359c2d=BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x2ce)]();_0x359c2d&&_0x1edbec['TsDkD'](typeof _0x359c2d[_0x2029c6(0x2d2)],_0x1edbec[_0x2029c6(0x2dc)])&&await _0x359c2d[_0x2029c6(0x2d2)]();}catch(_0x28b6d4){logger['debug'](_0x2029c6(0x2b0)+_0x28b6d4[_0x2029c6(0x285)]);}const _0xc6a492=BrowserstackCLI['isCLIEnabled']();await BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x2a6)]()['catch'](_0x20feb3=>{const _0x3949bb=_0x2029c6;logger[_0x3949bb(0x236)]('BrowserstackCLI.stop\x20error:\x20'+_0x20feb3['message']);}),_0x1edbec[_0x2029c6(0x26f)](printBuildLink),await utilities[_0x2029c6(0x25e)](_0x14cca1,_0xc6a492)['catch'](_0x44627c=>{const _0x3112c7=_0x2029c6;logger[_0x3112c7(0x236)]('finalExecution\x20error:\x20'+_0x44627c[_0x3112c7(0x285)]);}),process['exitCode']=_0x1c1b76,logger['info']('testcafe/command.js:\x20exit\x20code='+_0x1c1b76);}return;}try{for(let _0x5f77d5=0x0;_0x1edbec[_0x2029c6(0x2c9)](_0x5f77d5,_0x2076c9[_0x2029c6(0x2df)]);_0x5f77d5++){logger['info'](_0x2029c6(0x269)+_0x5f77d5+_0x2029c6(0x2a5)+_0x1edbec[_0x2029c6(0x1f3)](_0x5f77d5,0x1)+'/'+_0x2076c9[_0x2029c6(0x2df)]+')');let _0x21f933=0x1,_0x30a0b6=null,_0x4587ae=null;try{_0x30a0b6=await _0x1edbec['wKQeE'](provisionSession,_0x1e9f37,_0x5f77d5),_0x1edbec[_0x2029c6(0x25d)](_0x1496a1,_0x30a0b6['driver'],_0x30a0b6['sessionId']);const _0x5b6060=_0x1e9f37[_0x2029c6(0x281)]();_0x5b6060[_0x2029c6(0x250)](_0x346f2c),_0x5b6060[_0x2029c6(0x2c5)]([_0x30a0b6[_0x2029c6(0x2c1)]]),_0x5b6060[_0x2029c6(0x200)]([_0x1edbec[_0x2029c6(0x256)],_0x300a9c]);_0x1edbec[_0x2029c6(0x2f2)](typeof _0x43b5d2,_0x1edbec[_0x2029c6(0x2f1)])&&_0x1edbec[_0x2029c6(0x2d4)](_0x43b5d2,0x0)&&_0x5b6060['concurrency'](_0x43b5d2);_0xe46d85&&_0x5b6060[_0x2029c6(0x28d)](_0x4041df=>_0xe46d85[_0x2029c6(0x25c)](_0x4041df));const _0x12b050=_0x3d7867&&_0x3d7867['idleTimeout']||0x12c,_0x550f53=_0x1edbec[_0x2029c6(0x27c)](_0x1edbec[_0x2029c6(0x29e)](_0x12b050,0x3c),0x3e8);_0x21f933=await Promise[_0x2029c6(0x2de)]([_0x5b6060['run'](),new Promise(_0x148e17=>setTimeout(()=>{const _0x4e0772=_0x2029c6;logger['warn'](_0x4e0772(0x27f)+_0x5f77d5+_0x4e0772(0x28f)+_0x1edbec[_0x4e0772(0x2a3)](_0x550f53,0x3e8)+_0x4e0772(0x2aa)),_0x4587ae='runner.run()\x20exceeded\x20'+_0x1edbec['RpWCh'](_0x550f53,0x3e8)+_0x4e0772(0x2e3),_0x1edbec[_0x4e0772(0x28c)](_0x148e17,0x1);},_0x550f53))]),logger[_0x2029c6(0x25b)](_0x2029c6(0x27f)+_0x5f77d5+']\x20finished\x20with\x20exit='+_0x21f933),_0x1edbec['ArFRy'](_0x21f933,0x0)&&!_0x4587ae&&(_0x4587ae=_0x2029c6(0x2e2)+_0x21f933);}catch(_0x269165){const _0x26d08a=((()=>{const _0x5004be=_0x2029c6;if(!_0x269165)return _0x1edbec[_0x5004be(0x23b)];if(_0x1edbec[_0x5004be(0x244)](typeof _0x269165,_0x1edbec[_0x5004be(0x1f9)]))return _0x269165;if(_0x1edbec['iYuVo'](typeof _0x269165[_0x5004be(0x285)],_0x1edbec['IEHcw'])&&_0x269165[_0x5004be(0x285)])return _0x269165[_0x5004be(0x285)];try{return JSON[_0x5004be(0x2c4)](_0x269165[_0x5004be(0x285)]??_0x269165,null,0x2);}catch(_0xf4bacd){const _0xe86b00={};return _0xe86b00[_0x5004be(0x1ec)]=0x4,_0x1edbec[_0x5004be(0x1e4)](require,_0x1edbec[_0x5004be(0x2ca)])[_0x5004be(0x222)](_0x269165['message']??_0x269165,_0xe86b00);}})()),_0xe34ab5={};_0xe34ab5[_0x2029c6(0x1f2)]=_0x269165&&_0x269165[_0x2029c6(0x1f2)],_0xe34ab5[_0x2029c6(0x282)]=_0x269165&&_0x269165['type'],_0xe34ab5[_0x2029c6(0x27a)]=_0x269165&&_0x269165[_0x2029c6(0x27a)],_0xe34ab5[_0x2029c6(0x204)]=_0x269165&&_0x269165[_0x2029c6(0x204)],_0xe34ab5[_0x2029c6(0x2e7)]=_0x269165&&_0x269165[_0x2029c6(0x2e7)]&&_0x269165[_0x2029c6(0x2e7)][_0x2029c6(0x204)];const _0x58cdb2=_0xe34ab5;logger[_0x2029c6(0x1ed)](_0x2029c6(0x27f)+_0x5f77d5+_0x2029c6(0x2ae)+_0x26d08a+_0x2029c6(0x2a0)+JSON[_0x2029c6(0x2c4)](_0x58cdb2)+')\x0a'+(_0x269165&&_0x269165['stack']||'')),process[_0x2029c6(0x1fa)][_0x2029c6(0x220)](_0x2029c6(0x261)+_0x5f77d5+']:\x20'+_0x26d08a+'\x0a'),_0x21f933=0x1,_0x4587ae=_0x26d08a;}finally{try{if(_0x30a0b6&&_0x1edbec[_0x2029c6(0x232)](_0x30a0b6['platformIndex'],undefined)){const _0x8a9448=_0x1edbec['gujvP'](_0x21f933,0x0)?_0x1edbec[_0x2029c6(0x271)]:_0x1edbec[_0x2029c6(0x241)],_0x88443e=_0x4587ae;registry[_0x2029c6(0x284)](_0x30a0b6['platformIndex'],_0x8a9448,_0x88443e);}}catch(_0xc5d825){logger[_0x2029c6(0x2a8)](_0x2029c6(0x1ee)+_0x5f77d5+_0x2029c6(0x2bf)+_0xc5d825[_0x2029c6(0x285)]);}await registry['quitAll'](),_0x1edbec[_0x2029c6(0x227)](_0x2ab325);}_0x1edbec[_0x2029c6(0x1e7)](_0x21f933,0x0)&&_0x1edbec['ElZUn'](_0x1c1b76,0x0)&&(_0x1c1b76=_0x21f933);}}finally{try{_0x4f4e88['uninstall']();}catch(_0x4204e6){}try{await _0x1e9f37[_0x2029c6(0x1f0)]();}catch(_0x3d6522){logger[_0x2029c6(0x236)](_0x2029c6(0x242)+_0x3d6522[_0x2029c6(0x285)]);}try{const _0x802264=BrowserstackCLI[_0x2029c6(0x2bd)]()[_0x2029c6(0x2ce)]();_0x802264&&_0x1edbec['WdHBX'](typeof _0x802264[_0x2029c6(0x2d2)],_0x1edbec['BoQng'])&&await _0x802264['finalizeOrphans']();}catch(_0x468b14){logger[_0x2029c6(0x236)](_0x2029c6(0x2b0)+_0x468b14[_0x2029c6(0x285)]);}const _0x377625=BrowserstackCLI[_0x2029c6(0x210)]();await BrowserstackCLI['getInstance']()[_0x2029c6(0x2a6)]()[_0x2029c6(0x293)](_0x1f4c95=>{const _0x3a672f=_0x2029c6;logger[_0x3a672f(0x236)](_0x3a672f(0x277)+_0x1f4c95[_0x3a672f(0x285)]);}),_0x1edbec[_0x2029c6(0x224)](printBuildLink),await utilities[_0x2029c6(0x25e)](_0x14cca1,_0x377625)[_0x2029c6(0x293)](_0x2b0f64=>{const _0x516b8a=_0x2029c6;logger[_0x516b8a(0x236)](_0x516b8a(0x234)+_0x2b0f64[_0x516b8a(0x285)]);}),process['exitCode']=_0x1c1b76,logger[_0x2029c6(0x25b)]('testcafe/command.js:\x20exit\x20code='+_0x1c1b76);}}let _isExiting=![];const propagateSignal=_0x4ce397=>{const _0x36ea25=a70_0xc9a257,_0x257b57={};_0x257b57[_0x36ea25(0x2d3)]=_0x36ea25(0x214),_0x257b57['ePhDX']='SIGINT',_0x257b57['ynrGL']=_0x36ea25(0x2e9);const _0x1b3e02=_0x257b57;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x51be0c=_0x36ea25;try{const _0x34766f=registry['listEntries']();for(const _0x3234da of _0x34766f){try{registry['markStatus'](_0x3234da[_0x51be0c(0x24d)],_0x1b3e02[_0x51be0c(0x2d3)],_0x51be0c(0x2bc)+_0x4ce397+_0x51be0c(0x283));}catch(_0x56841c){}}await Promise[_0x51be0c(0x2de)]([registry[_0x51be0c(0x20d)](),new Promise(_0x309327=>setTimeout(_0x309327,0x1388))]);}catch(_0x9ef645){}process['removeListener'](_0x1b3e02[_0x51be0c(0x257)],_sigintHandler),process[_0x51be0c(0x2b9)](_0x1b3e02[_0x51be0c(0x26c)],_sigtermHandler),process[_0x51be0c(0x230)](process['pid'],_0x4ce397);})());};function _sigintHandler(){const _0xa764f=a70_0xc9a257,_0x92a62f={'LJYAn':function(_0x56e844,_0x355bb7){return _0x56e844(_0x355bb7);},'stbDc':'SIGINT'};_0x92a62f[_0xa764f(0x1f6)](propagateSignal,_0x92a62f['stbDc']);}function _sigtermHandler(){const _0x1952c9=a70_0xc9a257,_0x40c052={'hzmcq':function(_0x4a7a45,_0x4a2bfb){return _0x4a7a45(_0x4a2bfb);},'rcPjh':'SIGTERM'};_0x40c052[_0x1952c9(0x23f)](propagateSignal,_0x40c052[_0x1952c9(0x213)]);}function a70_0x561b(_0x3e6591,_0x3ddae1){const _0x225463=a70_0x2254();return a70_0x561b=function(_0x561b82,_0x2eb526){_0x561b82=_0x561b82-0x1e4;let _0x11cef3=_0x225463[_0x561b82];return _0x11cef3;},a70_0x561b(_0x3e6591,_0x3ddae1);}process['on'](a70_0xc9a257(0x226),_sigintHandler),process['on'](a70_0xc9a257(0x2e9),_sigtermHandler),module[a70_0xc9a257(0x26d)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a71_0x4c1afa=a71_0x2983;(function(_0x344b9d,_0x3f3068){const _0x585f66=a71_0x2983,_0x1e2ec9=_0x344b9d();while(!![]){try{const _0x135868=parseInt(_0x585f66(0x126))/0x1*(parseInt(_0x585f66(0x104))/0x2)+-parseInt(_0x585f66(0xf9))/0x3*(parseInt(_0x585f66(0xd1))/0x4)+parseInt(_0x585f66(0xfe))/0x5*(parseInt(_0x585f66(0x113))/0x6)+-parseInt(_0x585f66(0x120))/0x7*(-parseInt(_0x585f66(0x131))/0x8)+-parseInt(_0x585f66(0x137))/0x9+-parseInt(_0x585f66(0x100))/0xa+parseInt(_0x585f66(0xd9))/0xb;if(_0x135868===_0x3f3068)break;else _0x1e2ec9['push'](_0x1e2ec9['shift']());}catch(_0x311127){_0x1e2ec9['push'](_0x1e2ec9['shift']());}}}(a71_0x1a5b,0xcb628));function a71_0x1a5b(){const _0x5327d1=['[testcafe-reporter]\x20swallowed\x20error\x20in\x20','ecBnb','driver','getInstance','userAgents','POST','[testcafe-reporter]\x20reportTaskDone:\x20passed=','61458zTPiaX','\x20totalDuration=','taskStructure','\x20tests\x20across\x20','pop','skippedCount','BEFORE_EACH','../../v2/framework/automationFramework','name','listEntries','WxIgJ','userAgent','RvNvO','2611zVjTIh','mvetd','\x20browsers','handler','setup','TEST','19rbPMRW','path','../../v2/TestInfo','trackEvent','isArray','VHhoy','message','cmOvd','map','screenshots','winstonLogger','4480aPDUzt','debug','kKeOX','startTime','currentTaskInfo','info','10211652kYgXnv','unknown','testCount','instance','TcYfn','../../../helpers/logger','testName','PRE','76hUGUYL','errs','PBUIx','testStartInfo','test','CREATE','GnaEb','quarantine','41728357bprTgY','gizwF','platformIndex','AFTER_ALL','PiToM',',\x20skipped=','durationMs','AFTER_EACH','passedCount','error','QAmAv','../../v2/state/testFrameworkState','../../v2/state/hookState','[testcafe-reporter]\x20reportFixtureStart:\x20','skipped','HMgrK','push','../../v2/browserstackCLI','exports','INIT_TEST','meta','QUIT','fixtureStack','\x20warnings=','[testcafe-reporter]\x20reportTestStart:\x20','capabilities','getTestFramework','../session-registry','isRunning','\x20@\x20','fixturePath','stack','260877ccSTwY','wmzru','[testcafe-reporter]\x20reportTaskStart:\x20','failedCount','testRunInfo','15ZLWhPE','getAutomationFramework','4357360RQchis','gjeHP','fixtureName','properties','2374tVGueI','CUszE','kmhlu','NUuHw','../../v2/state/automationFrameworkState','length','ONgkE','guRdL'];a71_0x1a5b=function(){return _0x5327d1;};return a71_0x1a5b();}function a71_0x2983(_0x41f59d,_0x3e3299){const _0x1a5bf2=a71_0x1a5b();return a71_0x2983=function(_0x29839c,_0x2dfa23){_0x29839c=_0x29839c-0xcf;let _0x10fd6b=_0x1a5bf2[_0x29839c];return _0x10fd6b;},a71_0x2983(_0x41f59d,_0x3e3299);}const path=require(a71_0x4c1afa(0x127)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require('./tcUtils'),logger=require(a71_0x4c1afa(0x13c))[a71_0x4c1afa(0x130)],BrowserstackCLI=require(a71_0x4c1afa(0xea)),TestFrameworkState=require(a71_0x4c1afa(0xe4)),AutomationFrameworkState=require(a71_0x4c1afa(0x108)),HookState=require(a71_0x4c1afa(0xe5)),TestInfo=require(a71_0x4c1afa(0x128)),AutomationFramework=require(a71_0x4c1afa(0x11a)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require(a71_0x4c1afa(0xf4));module[a71_0x4c1afa(0xeb)]=function(_0x1fbc62){const _0x32a366=a71_0x4c1afa,_0x3a1b31={'guRdL':function(_0x50079d,..._0x16ef7e){return _0x50079d(..._0x16ef7e);},'ONgkE':_0x32a366(0x123),'gizwF':'testcafe','ecBnb':function(_0x7c98d7,_0x511a0f){return _0x7c98d7===_0x511a0f;},'WxIgJ':'function','cmOvd':function(_0x18c94c,_0x3cf1ea){return _0x18c94c<_0x3cf1ea;},'QAmAv':function(_0x55f984,_0x5c5f14){return _0x55f984||_0x5c5f14;},'NUuHw':function(_0xca3eff,_0x506a84){return _0xca3eff(_0x506a84);},'kKeOX':function(_0x34a193,_0x1dc629){return _0x34a193-_0x1dc629;},'TcYfn':_0x32a366(0x138),'CUszE':function(_0x31888d,_0x3652bd){return _0x31888d(_0x3652bd);},'VHhoy':function(_0x1a62a6,_0x5f4931,_0x4b2712){return _0x1a62a6(_0x5f4931,_0x4b2712);},'PBUIx':function(_0xcd7dea,_0x569c0b){return _0xcd7dea(_0x569c0b);},'HMgrK':function(_0xfb53c1,_0x30680b){return _0xfb53c1(_0x30680b);},'RvNvO':function(_0x1d9df2,_0x24b156){return _0x1d9df2(_0x24b156);},'PiToM':function(_0x282740,_0x4cfbd4,_0x14120d){return _0x282740(_0x4cfbd4,_0x14120d);},'kmhlu':function(_0x22e1b7,_0x5388ae){return _0x22e1b7(_0x5388ae);},'mvetd':function(_0x2ffebd,_0x480719){return _0x2ffebd===_0x480719;},'GnaEb':function(_0x16b6a2,_0x1a0ea8){return _0x16b6a2+_0x1a0ea8;},'wmzru':function(_0x4b078f,_0x295117){return _0x4b078f(_0x295117);},'gjeHP':function(_0x42a87a,_0x49858c){return _0x42a87a(_0x49858c);}},_0x3c221c={'options':_0x3a1b31[_0x32a366(0xe3)](_0x1fbc62,{}),'fixtureStack':[],'currentTaskInfo':null},_0x2a1792=_0x56a195=>async(..._0x16adff)=>{const _0x2b5044=_0x32a366;try{return await _0x3a1b31[_0x2b5044(0x10b)](_0x56a195,..._0x16adff);}catch(_0x1ea085){logger[_0x2b5044(0xe2)](_0x2b5044(0x10c)+(_0x56a195[_0x2b5044(0x11b)]||_0x3a1b31[_0x2b5044(0x10a)])+':\x20'+(_0x1ea085[_0x2b5044(0xf8)]||_0x1ea085));}};return{'reportTaskStart':_0x3a1b31[_0x32a366(0xd3)](_0x2a1792,async function _0x54f97c(_0x49251c,_0x158c5d,_0x57d412,_0x35c075,_0x3f4573){const _0x1ac08c=_0x32a366,_0x5352f3={};_0x5352f3['startTime']=_0x49251c,_0x5352f3[_0x1ac08c(0x110)]=_0x158c5d,_0x5352f3[_0x1ac08c(0x139)]=_0x57d412,_0x5352f3['taskStructure']=_0x35c075,_0x5352f3[_0x1ac08c(0x103)]=_0x3f4573,_0x3c221c[_0x1ac08c(0x135)]=_0x5352f3,logger['info'](_0x1ac08c(0xfb)+_0x57d412+_0x1ac08c(0x116)+_0x158c5d['length']+_0x1ac08c(0x122)),TestInfo[_0x1ac08c(0x124)]&&TestInfo[_0x1ac08c(0x124)](_0x3a1b31[_0x1ac08c(0xda)]);if(!BrowserstackCLI[_0x1ac08c(0x10f)]()||!BrowserstackCLI[_0x1ac08c(0x10f)]()[_0x1ac08c(0xf5)]())return;const _0x939367=BrowserstackCLI[_0x1ac08c(0x10f)](),_0x197f1a=_0x939367['getTestFramework']();if(_0x197f1a&&_0x3a1b31[_0x1ac08c(0x10d)](typeof _0x197f1a['trackEvent'],_0x3a1b31[_0x1ac08c(0x11d)])){const _0x8ab129={};_0x8ab129[_0x1ac08c(0x134)]=_0x49251c,_0x8ab129[_0x1ac08c(0x110)]=_0x158c5d,_0x8ab129[_0x1ac08c(0x139)]=_0x57d412,_0x8ab129[_0x1ac08c(0x115)]=_0x35c075,await _0x197f1a['trackEvent'](TestFrameworkState[_0x1ac08c(0xec)],HookState[_0x1ac08c(0xd0)],_0x8ab129);}const _0xd01321=_0x939367[_0x1ac08c(0xff)](),_0x4b990c=sessionRegistry[_0x1ac08c(0x11c)]();if(_0xd01321&&_0x3a1b31[_0x1ac08c(0x10d)](typeof _0xd01321['trackEvent'],_0x3a1b31[_0x1ac08c(0x11d)]))for(let _0x554752=0x0;_0x3a1b31[_0x1ac08c(0x12d)](_0x554752,(_0x158c5d||[])[_0x1ac08c(0x109)]);_0x554752++){const _0x196603=_0x158c5d[_0x554752],_0x304a4c=_0x4b990c[_0x554752]||{};await _0xd01321[_0x1ac08c(0x129)](AutomationFrameworkState[_0x1ac08c(0xd6)],HookState[_0x1ac08c(0x111)],{'userAgent':_0x196603,'startTime':_0x49251c,'driver':_0x304a4c[_0x1ac08c(0x10e)],'sessionId':_0x304a4c['sessionId'],'platformIndex':Number['isInteger'](_0x304a4c[_0x1ac08c(0xdb)])?_0x304a4c['platformIndex']:_0x554752,'capabilities':_0x304a4c[_0x1ac08c(0xf2)]||{},'hubUrl':_0x304a4c['hubUrl']||''});}}),'reportFixtureStart':_0x3a1b31[_0x32a366(0x11f)](_0x2a1792,async function _0x5b3696(_0xb7addd,_0x286fce,_0x1460b2){const _0x2569af=_0x32a366,_0x5d5bbd={'name':_0xb7addd,'path':_0x286fce,'meta':_0x3a1b31[_0x2569af(0xe3)](_0x1460b2,{})};_0x3c221c[_0x2569af(0xef)][_0x2569af(0xe9)](_0x5d5bbd),logger[_0x2569af(0x132)](_0x2569af(0xe6)+_0xb7addd+_0x2569af(0xf6)+_0x286fce);if(BrowserstackCLI[_0x2569af(0x10f)]()&&BrowserstackCLI[_0x2569af(0x10f)]()[_0x2569af(0xf5)]()){const _0x25987e=BrowserstackCLI[_0x2569af(0x10f)](),_0xff0532=_0x25987e[_0x2569af(0xf3)]();if(_0xff0532&&_0x3a1b31[_0x2569af(0x10d)](typeof _0xff0532[_0x2569af(0x129)],_0x3a1b31[_0x2569af(0x11d)])){const _0x130d8b=_0x3c221c[_0x2569af(0x135)]&&_0x3c221c[_0x2569af(0x135)][_0x2569af(0x110)]||[],_0x133fda={'fixture':_0x5d5bbd,'fixtureIdentifier':_0x3a1b31[_0x2569af(0x107)](getFixtureIdentifier,_0x5d5bbd),'userAgents':_0x130d8b};await _0xff0532[_0x2569af(0x129)](TestFrameworkState['BEFORE_ALL'],HookState[_0x2569af(0xd0)],_0x133fda),await _0xff0532[_0x2569af(0x129)](TestFrameworkState['BEFORE_ALL'],HookState[_0x2569af(0x111)],_0x133fda);}}}),'reportTestStart':_0x3a1b31[_0x32a366(0xfa)](_0x2a1792,async function _0x140dd2(_0x5c763d,_0x3e39df,_0x12cc23){const _0x1510d7=_0x32a366,_0x58e873=_0x3c221c[_0x1510d7(0xef)][_0x3a1b31[_0x1510d7(0x133)](_0x3c221c[_0x1510d7(0xef)]['length'],0x1)]||{'name':_0x3a1b31['TcYfn'],'path':_0x3a1b31[_0x1510d7(0x13b)]},_0x3366b3={};_0x3366b3[_0x1510d7(0x102)]=_0x58e873[_0x1510d7(0x11b)],_0x3366b3['fixturePath']=_0x58e873['path'],_0x3366b3[_0x1510d7(0xcf)]=_0x5c763d,_0x3366b3[_0x1510d7(0xed)]=_0x3e39df;const _0x956a31=_0x3a1b31[_0x1510d7(0x105)](synthesizeTestObject,_0x3366b3);logger[_0x1510d7(0x132)](_0x1510d7(0xf1)+_0x3a1b31[_0x1510d7(0x12b)](getTestIdentifier,_0x956a31,0x0));const _0x324e55=_0x3c221c['currentTaskInfo']&&_0x3c221c[_0x1510d7(0x135)][_0x1510d7(0x110)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x1510d7(0x10f)]()[_0x1510d7(0xf5)]()){const _0x52971e=BrowserstackCLI['getInstance'](),_0x2fda83=_0x52971e[_0x1510d7(0xf3)]();if(_0x2fda83&&_0x3a1b31['ecBnb'](typeof _0x2fda83['trackEvent'],_0x3a1b31[_0x1510d7(0x11d)])){const _0x133bfd={'fixture':_0x58e873,'test':_0x956a31,'fixtureIdentifier':_0x3a1b31['PBUIx'](getFixtureIdentifier,_0x58e873),'userAgents':_0x324e55};await _0x2fda83[_0x1510d7(0x129)](TestFrameworkState[_0x1510d7(0x119)],HookState[_0x1510d7(0xd0)],_0x133bfd),await _0x2fda83[_0x1510d7(0x129)](TestFrameworkState[_0x1510d7(0x119)],HookState[_0x1510d7(0x111)],_0x133bfd);const _0x3f2bd9={};_0x3f2bd9['test']=_0x956a31,_0x3f2bd9[_0x1510d7(0xd4)]=_0x12cc23,_0x3f2bd9['meta']=_0x3e39df,_0x3f2bd9[_0x1510d7(0x110)]=_0x324e55,await _0x2fda83['trackEvent'](TestFrameworkState[_0x1510d7(0x125)],HookState[_0x1510d7(0xd0)],_0x3f2bd9);}}}),'reportTestDone':_0x3a1b31[_0x32a366(0xfa)](_0x2a1792,async function _0x58874d(_0x162952,_0x2e35bc,_0x3198fb){const _0x476abe=_0x32a366,_0x3552ef=_0x3c221c[_0x476abe(0xef)][_0x3a1b31[_0x476abe(0x133)](_0x3c221c[_0x476abe(0xef)][_0x476abe(0x109)],0x1)]||{'name':_0x3a1b31[_0x476abe(0x13b)],'path':_0x3a1b31['TcYfn']},_0x4792d6={};_0x4792d6[_0x476abe(0x102)]=_0x3552ef[_0x476abe(0x11b)],_0x4792d6[_0x476abe(0xf7)]=_0x3552ef[_0x476abe(0x127)],_0x4792d6[_0x476abe(0xcf)]=_0x162952,_0x4792d6['meta']=_0x3198fb;const _0x1ec53a=_0x3a1b31[_0x476abe(0xe8)](synthesizeTestObject,_0x4792d6),_0x4f58c4=Array[_0x476abe(0x12a)](_0x2e35bc&&_0x2e35bc[_0x476abe(0xd2)])?_0x2e35bc[_0x476abe(0xd2)][_0x476abe(0x12e)](formatError)['filter'](Boolean):[],_0x134aa8=_0x3a1b31[_0x476abe(0x11f)](getScreenshotPaths,_0x2e35bc)[_0x476abe(0x12e)](_0x4b06a7=>({'screenshotPath':_0x4b06a7})),_0x523b86={};_0x523b86['durationMs']=_0x2e35bc&&_0x2e35bc[_0x476abe(0xdf)]||0x0,_0x523b86[_0x476abe(0xe7)]=!!(_0x2e35bc&&_0x2e35bc[_0x476abe(0xe7)]),_0x523b86[_0x476abe(0xd2)]=_0x4f58c4,_0x523b86[_0x476abe(0x12f)]=_0x134aa8,_0x523b86['unstable']=!!(_0x2e35bc&&_0x2e35bc['unstable']),_0x523b86['quarantine']=_0x2e35bc&&_0x2e35bc[_0x476abe(0xd8)];const _0x2580e0=_0x523b86;logger[_0x476abe(0x132)]('[testcafe-reporter]\x20reportTestDone:\x20'+_0x3a1b31[_0x476abe(0xdd)](getTestIdentifier,_0x1ec53a,0x0)+'\x20(errs='+_0x4f58c4[_0x476abe(0x109)]+_0x476abe(0xde)+_0x2580e0['skipped']+')');const _0x307ffc=_0x3c221c[_0x476abe(0x135)]&&_0x3c221c[_0x476abe(0x135)]['userAgents']||[];if(BrowserstackCLI[_0x476abe(0x10f)]()&&BrowserstackCLI[_0x476abe(0x10f)]()[_0x476abe(0xf5)]()){const _0x378c7e=BrowserstackCLI[_0x476abe(0x10f)](),_0x498fb7=_0x378c7e[_0x476abe(0xf3)]();if(_0x498fb7&&_0x3a1b31[_0x476abe(0x10d)](typeof _0x498fb7[_0x476abe(0x129)],_0x3a1b31[_0x476abe(0x11d)])){const _0x41c552={};_0x41c552[_0x476abe(0xd5)]=_0x1ec53a,_0x41c552[_0x476abe(0xfd)]=_0x2580e0,_0x41c552['meta']=_0x3198fb,_0x41c552[_0x476abe(0x110)]=_0x307ffc,await _0x498fb7[_0x476abe(0x129)](TestFrameworkState[_0x476abe(0x125)],HookState[_0x476abe(0x111)],_0x41c552);const _0x2c4861={'fixture':_0x3552ef,'test':_0x1ec53a,'fixtureIdentifier':_0x3a1b31[_0x476abe(0x106)](getFixtureIdentifier,_0x3552ef),'userAgents':_0x307ffc};await _0x498fb7[_0x476abe(0x129)](TestFrameworkState[_0x476abe(0xe0)],HookState[_0x476abe(0xd0)],_0x2c4861),await _0x498fb7['trackEvent'](TestFrameworkState[_0x476abe(0xe0)],HookState['POST'],_0x2c4861);}}}),'reportTaskDone':_0x3a1b31[_0x32a366(0x101)](_0x2a1792,async function _0x19088d(_0x32e569,_0x30eb01,_0x5cb2dc,_0x2ada63){const _0x57b7f1=_0x32a366;while(_0x3c221c[_0x57b7f1(0xef)][_0x57b7f1(0x109)]){const _0x110d20=_0x3c221c[_0x57b7f1(0xef)][_0x57b7f1(0x117)]();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x57b7f1(0x10f)]()[_0x57b7f1(0xf5)]()){const _0x3af8c7=BrowserstackCLI[_0x57b7f1(0x10f)](),_0x5e308c=_0x3af8c7[_0x57b7f1(0xf3)]();if(_0x5e308c&&_0x3a1b31[_0x57b7f1(0x10d)](typeof _0x5e308c[_0x57b7f1(0x129)],_0x3a1b31[_0x57b7f1(0x11d)])){const _0x1d03eb=_0x3c221c[_0x57b7f1(0x135)]&&_0x3c221c[_0x57b7f1(0x135)]['userAgents']||[],_0x1ee38e={'fixture':_0x110d20,'fixtureIdentifier':_0x3a1b31[_0x57b7f1(0x10b)](getFixtureIdentifier,_0x110d20),'userAgents':_0x1d03eb};await _0x5e308c[_0x57b7f1(0x129)](TestFrameworkState[_0x57b7f1(0xdc)],HookState[_0x57b7f1(0xd0)],_0x1ee38e),await _0x5e308c[_0x57b7f1(0x129)](TestFrameworkState[_0x57b7f1(0xdc)],HookState[_0x57b7f1(0x111)],_0x1ee38e);}}}if(BrowserstackCLI[_0x57b7f1(0x10f)]()&&BrowserstackCLI[_0x57b7f1(0x10f)]()['isRunning']()){const _0x2d35e8=BrowserstackCLI[_0x57b7f1(0x10f)](),_0x2f0dad=_0x2d35e8[_0x57b7f1(0xff)]();if(_0x2f0dad&&_0x3a1b31[_0x57b7f1(0x121)](typeof _0x2f0dad[_0x57b7f1(0x129)],_0x3a1b31[_0x57b7f1(0x11d)]))for(const {userAgent:_0x3865db,platformIndex:_0x6f3310,instance:_0x2f51c0}of TestCafeAutomationFramework['iterAllInstances']()){try{const _0x38b62d={};_0x38b62d[_0x57b7f1(0x11e)]=_0x3865db,_0x38b62d['platformIndex']=_0x6f3310,_0x38b62d['endTime']=_0x32e569,_0x38b62d[_0x57b7f1(0x13a)]=_0x2f51c0,await _0x2f0dad[_0x57b7f1(0x129)](AutomationFrameworkState[_0x57b7f1(0xee)],HookState['POST'],_0x38b62d);}catch(_0x2e3282){logger['error']('[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent='+_0x3865db+'#'+_0x6f3310+':\x20'+_0x2e3282[_0x57b7f1(0x12c)]);}TestCafeAutomationFramework['removeInstance'](_0x3865db,_0x6f3310);}}logger[_0x57b7f1(0x136)](_0x57b7f1(0x112)+_0x30eb01+_0x57b7f1(0xf0)+(_0x5cb2dc&&_0x5cb2dc[_0x57b7f1(0x109)])+_0x57b7f1(0x114)+(_0x2ada63&&_0x3a1b31[_0x57b7f1(0xd7)](_0x3a1b31[_0x57b7f1(0xd7)](_0x2ada63[_0x57b7f1(0xfc)],_0x2ada63[_0x57b7f1(0xe1)]),_0x2ada63[_0x57b7f1(0x118)])));})};};
|
|
1
|
+
'use strict';function a71_0xbbe7(){const _0x49b4e5=['[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','4InDNLJ','UuZYS','../../v2/browserstackCLI','currentTaskInfo','cDDgt','../session-registry','userAgent','trackEvent','sessionId','listEntries','\x20browsers','stack','skippedCount','AFTER_ALL','rJOon','ylJKS','exports','length','pcNqS','UJGRL','map','info','../../v2/TestInfo','isArray','[testcafe-reporter]\x20reportTestStart:\x20','fixtureName','QUIT','AFTER_EACH','meta','658434UsXgvD','winstonLogger','test','iterAllInstances','testStartInfo','testCount','\x20tests\x20across\x20','31591467DxSZmV','message','isInteger','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','debug','POST','7368774OznfYW','userAgents','sbTDy','\x20@\x20','durationMs','getAutomationFramework','TEST','skipped','lUhHw','BEFORE_ALL','name','capabilities','nFsbg','YVkWX','pop','bkUSY','BEFORE_EACH','handler','2593287shcIwt','quarantine','HqoMj','1136324XhfjyU','push','instance','startTime','testRunInfo','fixtureStack','6742472WkkkEM','BYSRz','INIT_TEST','../../v2/framework/testcafeAutomationFramework','gJSAt','endTime','2rRWGIV','1526415MFGfrZ','PRE','testcafe','hubUrl','getInstance','properties','taskStructure','testName','isRunning','platformIndex','errs','getTestFramework','VauGt','unknown','CREATE','./tcUtils','fixturePath','unstable','FPIZY','[testcafe-reporter]\x20reportTestDone:\x20','10FBWzpX'];a71_0xbbe7=function(){return _0x49b4e5;};return a71_0xbbe7();}const a71_0x11656d=a71_0x3f8b;function a71_0x3f8b(_0x49d775,_0x2fa385){const _0xbbe731=a71_0xbbe7();return a71_0x3f8b=function(_0x3f8ba1,_0x1e26e7){_0x3f8ba1=_0x3f8ba1-0x98;let _0x1c67d8=_0xbbe731[_0x3f8ba1];return _0x1c67d8;},a71_0x3f8b(_0x49d775,_0x2fa385);}(function(_0x24a1ec,_0x188648){const _0x57e19b=a71_0x3f8b,_0x2eef63=_0x24a1ec();while(!![]){try{const _0xf917c4=-parseInt(_0x57e19b(0xb2))/0x1*(parseInt(_0x57e19b(0xa6))/0x2)+-parseInt(_0x57e19b(0xa3))/0x3+parseInt(_0x57e19b(0xc9))/0x4*(-parseInt(_0x57e19b(0xb3))/0x5)+-parseInt(_0x57e19b(0xf3))/0x6+parseInt(_0x57e19b(0xe6))/0x7+parseInt(_0x57e19b(0xac))/0x8+-parseInt(_0x57e19b(0xed))/0x9*(-parseInt(_0x57e19b(0xc7))/0xa);if(_0xf917c4===_0x188648)break;else _0x2eef63['push'](_0x2eef63['shift']());}catch(_0x9dd23a){_0x2eef63['push'](_0x2eef63['shift']());}}}(a71_0xbbe7,0xdede5));const path=require('path'),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a71_0x11656d(0xc2)),logger=require('../../../helpers/logger')[a71_0x11656d(0xe7)],BrowserstackCLI=require(a71_0x11656d(0xcb)),TestFrameworkState=require('../../v2/state/testFrameworkState'),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require('../../v2/state/hookState'),TestInfo=require(a71_0x11656d(0xdf)),AutomationFramework=require('../../v2/framework/automationFramework'),TestCafeAutomationFramework=require(a71_0x11656d(0xaf)),sessionRegistry=require(a71_0x11656d(0xce));module[a71_0x11656d(0xd9)]=function(_0x418aa0){const _0x2a72c7=a71_0x11656d,_0x3eb0e5={'FPIZY':function(_0x41b034,..._0x6c2da4){return _0x41b034(..._0x6c2da4);},'ylJKS':_0x2a72c7(0xa2),'YqlNs':_0x2a72c7(0xb5),'bkUSY':function(_0x3e8c45,_0x1f6fc6){return _0x3e8c45===_0x1f6fc6;},'BYSRz':'function','HtfTl':function(_0x2ce358,_0x51d049){return _0x2ce358===_0x51d049;},'rJOon':function(_0x5c553e,_0x3b1f31){return _0x5c553e<_0x3b1f31;},'UJGRL':function(_0x9ef9a3,_0x57c9ba){return _0x9ef9a3||_0x57c9ba;},'nFsbg':function(_0x5d5709,_0x1450aa){return _0x5d5709===_0x1450aa;},'vcZow':function(_0x527e4,_0x578520){return _0x527e4-_0x578520;},'gJSAt':_0x2a72c7(0xc0),'VauGt':function(_0x4bbd5f,_0x5a346d,_0x2ac29f){return _0x4bbd5f(_0x5a346d,_0x2ac29f);},'TmdKy':function(_0x217eb2,_0x48eed9){return _0x217eb2===_0x48eed9;},'HqoMj':function(_0x2bfeb6,_0x3f454d){return _0x2bfeb6(_0x3f454d);},'lUhHw':function(_0x15c9e7,_0x56df3f){return _0x15c9e7(_0x56df3f);},'NdDoK':function(_0x1cd483,_0x4befd8,_0x50b784){return _0x1cd483(_0x4befd8,_0x50b784);},'pcNqS':function(_0x167462,_0x5352a4){return _0x167462===_0x5352a4;},'UuZYS':function(_0x253e32,_0x41d86e){return _0x253e32(_0x41d86e);},'cDDgt':function(_0x47e4d6,_0x40b095){return _0x47e4d6===_0x40b095;},'sbTDy':function(_0x25dc11,_0x131664){return _0x25dc11+_0x131664;},'JJBWC':function(_0x1e0ae8,_0x260bb8){return _0x1e0ae8(_0x260bb8);},'YVkWX':function(_0x2182a2,_0x3a6c9a){return _0x2182a2(_0x3a6c9a);}},_0x51b2bd={'options':_0x3eb0e5['UJGRL'](_0x418aa0,{}),'fixtureStack':[],'currentTaskInfo':null},_0x5304ed=_0x12541e=>async(..._0x2d4458)=>{const _0x44bd40=_0x2a72c7;try{return await _0x3eb0e5[_0x44bd40(0xc5)](_0x12541e,..._0x2d4458);}catch(_0x1838c8){logger['error'](_0x44bd40(0xf0)+(_0x12541e['name']||_0x3eb0e5[_0x44bd40(0xd8)])+':\x20'+(_0x1838c8[_0x44bd40(0xd4)]||_0x1838c8));}};return{'reportTaskStart':_0x3eb0e5['HqoMj'](_0x5304ed,async function _0x4ae875(_0x53d16c,_0x121d2e,_0x53eb0c,_0xe59b6b,_0x2f81e0){const _0x3abd17=_0x2a72c7,_0x565f6b={};_0x565f6b[_0x3abd17(0xa9)]=_0x53d16c,_0x565f6b['userAgents']=_0x121d2e,_0x565f6b[_0x3abd17(0xeb)]=_0x53eb0c,_0x565f6b[_0x3abd17(0xb9)]=_0xe59b6b,_0x565f6b[_0x3abd17(0xb8)]=_0x2f81e0,_0x51b2bd['currentTaskInfo']=_0x565f6b,logger[_0x3abd17(0xde)]('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x53eb0c+_0x3abd17(0xec)+_0x121d2e['length']+_0x3abd17(0xd3)),TestInfo['setup']&&TestInfo['setup'](_0x3eb0e5['YqlNs']);if(!BrowserstackCLI[_0x3abd17(0xb7)]()||!BrowserstackCLI[_0x3abd17(0xb7)]()[_0x3abd17(0xbb)]())return;const _0x58dbea=BrowserstackCLI[_0x3abd17(0xb7)](),_0x237ccc=_0x58dbea[_0x3abd17(0xbe)]();if(_0x237ccc&&_0x3eb0e5['bkUSY'](typeof _0x237ccc['trackEvent'],_0x3eb0e5['BYSRz'])){const _0x56e1be={};_0x56e1be['startTime']=_0x53d16c,_0x56e1be[_0x3abd17(0xf4)]=_0x121d2e,_0x56e1be[_0x3abd17(0xeb)]=_0x53eb0c,_0x56e1be['taskStructure']=_0xe59b6b,await _0x237ccc[_0x3abd17(0xd0)](TestFrameworkState[_0x3abd17(0xae)],HookState['PRE'],_0x56e1be);}const _0xb949aa=_0x58dbea[_0x3abd17(0xf8)](),_0x24b8b9=sessionRegistry[_0x3abd17(0xd2)]();if(_0xb949aa&&_0x3eb0e5['HtfTl'](typeof _0xb949aa[_0x3abd17(0xd0)],_0x3eb0e5[_0x3abd17(0xad)]))for(let _0x5cbe92=0x0;_0x3eb0e5[_0x3abd17(0xd7)](_0x5cbe92,(_0x121d2e||[])[_0x3abd17(0xda)]);_0x5cbe92++){const _0x5c2e0e=_0x121d2e[_0x5cbe92],_0x2fb414=_0x24b8b9[_0x5cbe92]||{};await _0xb949aa[_0x3abd17(0xd0)](AutomationFrameworkState[_0x3abd17(0xc1)],HookState['POST'],{'userAgent':_0x5c2e0e,'startTime':_0x53d16c,'driver':_0x2fb414['driver'],'sessionId':_0x2fb414[_0x3abd17(0xd1)],'platformIndex':Number[_0x3abd17(0xef)](_0x2fb414['platformIndex'])?_0x2fb414[_0x3abd17(0xbc)]:_0x5cbe92,'capabilities':_0x2fb414[_0x3abd17(0x9c)]||{},'hubUrl':_0x2fb414[_0x3abd17(0xb6)]||''});}}),'reportFixtureStart':_0x3eb0e5[_0x2a72c7(0x99)](_0x5304ed,async function _0x273df8(_0x34ffe1,_0x22243c,_0x345716){const _0x1ce742=_0x2a72c7,_0x566041={'name':_0x34ffe1,'path':_0x22243c,'meta':_0x3eb0e5[_0x1ce742(0xdc)](_0x345716,{})};_0x51b2bd[_0x1ce742(0xab)][_0x1ce742(0xa7)](_0x566041),logger['debug']('[testcafe-reporter]\x20reportFixtureStart:\x20'+_0x34ffe1+_0x1ce742(0xf6)+_0x22243c);if(BrowserstackCLI[_0x1ce742(0xb7)]()&&BrowserstackCLI[_0x1ce742(0xb7)]()[_0x1ce742(0xbb)]()){const _0x51eacc=BrowserstackCLI[_0x1ce742(0xb7)](),_0x4170d3=_0x51eacc[_0x1ce742(0xbe)]();if(_0x4170d3&&_0x3eb0e5[_0x1ce742(0x9d)](typeof _0x4170d3[_0x1ce742(0xd0)],_0x3eb0e5[_0x1ce742(0xad)])){const _0xecd2d5=_0x51b2bd[_0x1ce742(0xcc)]&&_0x51b2bd[_0x1ce742(0xcc)][_0x1ce742(0xf4)]||[],_0x3dd3b3={'fixture':_0x566041,'fixtureIdentifier':_0x3eb0e5['FPIZY'](getFixtureIdentifier,_0x566041),'userAgents':_0xecd2d5};await _0x4170d3[_0x1ce742(0xd0)](TestFrameworkState['BEFORE_ALL'],HookState[_0x1ce742(0xb4)],_0x3dd3b3),await _0x4170d3[_0x1ce742(0xd0)](TestFrameworkState[_0x1ce742(0x9a)],HookState[_0x1ce742(0xf2)],_0x3dd3b3);}}}),'reportTestStart':_0x3eb0e5['JJBWC'](_0x5304ed,async function _0x5c43e5(_0x3f7d65,_0x1abe8c,_0x3b84ae){const _0x4229bc=_0x2a72c7,_0x1dfe23=_0x51b2bd[_0x4229bc(0xab)][_0x3eb0e5['vcZow'](_0x51b2bd[_0x4229bc(0xab)][_0x4229bc(0xda)],0x1)]||{'name':_0x3eb0e5[_0x4229bc(0xb0)],'path':_0x3eb0e5[_0x4229bc(0xb0)]},_0x4a6142={};_0x4a6142['fixtureName']=_0x1dfe23['name'],_0x4a6142[_0x4229bc(0xc3)]=_0x1dfe23['path'],_0x4a6142[_0x4229bc(0xba)]=_0x3f7d65,_0x4a6142[_0x4229bc(0xe5)]=_0x1abe8c;const _0x273566=_0x3eb0e5[_0x4229bc(0xc5)](synthesizeTestObject,_0x4a6142);logger[_0x4229bc(0xf1)](_0x4229bc(0xe1)+_0x3eb0e5[_0x4229bc(0xbf)](getTestIdentifier,_0x273566,0x0));const _0x1809f7=_0x51b2bd[_0x4229bc(0xcc)]&&_0x51b2bd[_0x4229bc(0xcc)][_0x4229bc(0xf4)]||[];if(BrowserstackCLI[_0x4229bc(0xb7)]()&&BrowserstackCLI[_0x4229bc(0xb7)]()[_0x4229bc(0xbb)]()){const _0x4e1174=BrowserstackCLI[_0x4229bc(0xb7)](),_0x45b086=_0x4e1174[_0x4229bc(0xbe)]();if(_0x45b086&&_0x3eb0e5['TmdKy'](typeof _0x45b086[_0x4229bc(0xd0)],_0x3eb0e5[_0x4229bc(0xad)])){const _0xa6bb73={'fixture':_0x1dfe23,'test':_0x273566,'fixtureIdentifier':_0x3eb0e5[_0x4229bc(0xa5)](getFixtureIdentifier,_0x1dfe23),'userAgents':_0x1809f7};await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xa1)],HookState[_0x4229bc(0xb4)],_0xa6bb73),await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xa1)],HookState[_0x4229bc(0xf2)],_0xa6bb73);const _0x15bc1c={};_0x15bc1c[_0x4229bc(0xe8)]=_0x273566,_0x15bc1c[_0x4229bc(0xea)]=_0x3b84ae,_0x15bc1c[_0x4229bc(0xe5)]=_0x1abe8c,_0x15bc1c[_0x4229bc(0xf4)]=_0x1809f7,await _0x45b086['trackEvent'](TestFrameworkState[_0x4229bc(0xf9)],HookState[_0x4229bc(0xb4)],_0x15bc1c);}}}),'reportTestDone':_0x3eb0e5[_0x2a72c7(0x9e)](_0x5304ed,async function _0xe1a329(_0x2b49e5,_0x43550a,_0x5c2e88){const _0x307ecc=_0x2a72c7,_0x264638=_0x51b2bd[_0x307ecc(0xab)][_0x3eb0e5['vcZow'](_0x51b2bd[_0x307ecc(0xab)][_0x307ecc(0xda)],0x1)]||{'name':_0x3eb0e5[_0x307ecc(0xb0)],'path':_0x3eb0e5[_0x307ecc(0xb0)]},_0xf9dd08={};_0xf9dd08[_0x307ecc(0xe2)]=_0x264638[_0x307ecc(0x9b)],_0xf9dd08[_0x307ecc(0xc3)]=_0x264638['path'],_0xf9dd08[_0x307ecc(0xba)]=_0x2b49e5,_0xf9dd08[_0x307ecc(0xe5)]=_0x5c2e88;const _0x297555=_0x3eb0e5['lUhHw'](synthesizeTestObject,_0xf9dd08),_0x1b2388=Array[_0x307ecc(0xe0)](_0x43550a&&_0x43550a['errs'])?_0x43550a['errs'][_0x307ecc(0xdd)](formatError)['filter'](Boolean):[],_0x1c4754=_0x3eb0e5['lUhHw'](getScreenshotPaths,_0x43550a)[_0x307ecc(0xdd)](_0x9c49d=>({'screenshotPath':_0x9c49d})),_0x448263={};_0x448263[_0x307ecc(0xf7)]=_0x43550a&&_0x43550a[_0x307ecc(0xf7)]||0x0,_0x448263[_0x307ecc(0x98)]=!!(_0x43550a&&_0x43550a[_0x307ecc(0x98)]),_0x448263[_0x307ecc(0xbd)]=_0x1b2388,_0x448263['screenshots']=_0x1c4754,_0x448263[_0x307ecc(0xc4)]=!!(_0x43550a&&_0x43550a[_0x307ecc(0xc4)]),_0x448263[_0x307ecc(0xa4)]=_0x43550a&&_0x43550a['quarantine'];const _0x2a925a=_0x448263;logger[_0x307ecc(0xf1)](_0x307ecc(0xc6)+_0x3eb0e5['NdDoK'](getTestIdentifier,_0x297555,0x0)+'\x20(errs='+_0x1b2388[_0x307ecc(0xda)]+',\x20skipped='+_0x2a925a[_0x307ecc(0x98)]+')');const _0xe4adc6=_0x51b2bd[_0x307ecc(0xcc)]&&_0x51b2bd[_0x307ecc(0xcc)][_0x307ecc(0xf4)]||[];if(BrowserstackCLI[_0x307ecc(0xb7)]()&&BrowserstackCLI[_0x307ecc(0xb7)]()[_0x307ecc(0xbb)]()){const _0x1f6320=BrowserstackCLI[_0x307ecc(0xb7)](),_0x53707d=_0x1f6320[_0x307ecc(0xbe)]();if(_0x53707d&&_0x3eb0e5[_0x307ecc(0xdb)](typeof _0x53707d[_0x307ecc(0xd0)],_0x3eb0e5[_0x307ecc(0xad)])){const _0x29fdfb={};_0x29fdfb[_0x307ecc(0xe8)]=_0x297555,_0x29fdfb[_0x307ecc(0xaa)]=_0x2a925a,_0x29fdfb[_0x307ecc(0xe5)]=_0x5c2e88,_0x29fdfb['userAgents']=_0xe4adc6,await _0x53707d[_0x307ecc(0xd0)](TestFrameworkState['TEST'],HookState[_0x307ecc(0xf2)],_0x29fdfb);const _0x4de9b8={'fixture':_0x264638,'test':_0x297555,'fixtureIdentifier':_0x3eb0e5[_0x307ecc(0xca)](getFixtureIdentifier,_0x264638),'userAgents':_0xe4adc6};await _0x53707d['trackEvent'](TestFrameworkState[_0x307ecc(0xe4)],HookState[_0x307ecc(0xb4)],_0x4de9b8),await _0x53707d[_0x307ecc(0xd0)](TestFrameworkState[_0x307ecc(0xe4)],HookState[_0x307ecc(0xf2)],_0x4de9b8);}}}),'reportTaskDone':_0x3eb0e5[_0x2a72c7(0x9e)](_0x5304ed,async function _0x9b9475(_0x2e5c27,_0xe38841,_0x5b474a,_0x56a66b){const _0x2bd273=_0x2a72c7;while(_0x51b2bd[_0x2bd273(0xab)][_0x2bd273(0xda)]){const _0x237d21=_0x51b2bd[_0x2bd273(0xab)][_0x2bd273(0x9f)]();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x2bd273(0xb7)]()[_0x2bd273(0xbb)]()){const _0x2e40e5=BrowserstackCLI[_0x2bd273(0xb7)](),_0x1fcfac=_0x2e40e5[_0x2bd273(0xbe)]();if(_0x1fcfac&&_0x3eb0e5[_0x2bd273(0xa0)](typeof _0x1fcfac['trackEvent'],_0x3eb0e5['BYSRz'])){const _0x50c62c=_0x51b2bd[_0x2bd273(0xcc)]&&_0x51b2bd[_0x2bd273(0xcc)]['userAgents']||[],_0x5ca4de={'fixture':_0x237d21,'fixtureIdentifier':_0x3eb0e5['FPIZY'](getFixtureIdentifier,_0x237d21),'userAgents':_0x50c62c};await _0x1fcfac[_0x2bd273(0xd0)](TestFrameworkState[_0x2bd273(0xd6)],HookState['PRE'],_0x5ca4de),await _0x1fcfac[_0x2bd273(0xd0)](TestFrameworkState['AFTER_ALL'],HookState[_0x2bd273(0xf2)],_0x5ca4de);}}}if(BrowserstackCLI[_0x2bd273(0xb7)]()&&BrowserstackCLI[_0x2bd273(0xb7)]()[_0x2bd273(0xbb)]()){const _0x3099ce=BrowserstackCLI[_0x2bd273(0xb7)](),_0x56c9f9=_0x3099ce['getAutomationFramework']();if(_0x56c9f9&&_0x3eb0e5[_0x2bd273(0xcd)](typeof _0x56c9f9[_0x2bd273(0xd0)],_0x3eb0e5[_0x2bd273(0xad)]))for(const {userAgent:_0x425449,platformIndex:_0x112cd2,instance:_0x42c1d9}of TestCafeAutomationFramework[_0x2bd273(0xe9)]()){try{const _0x146a06={};_0x146a06[_0x2bd273(0xcf)]=_0x425449,_0x146a06[_0x2bd273(0xbc)]=_0x112cd2,_0x146a06[_0x2bd273(0xb1)]=_0x2e5c27,_0x146a06[_0x2bd273(0xa8)]=_0x42c1d9,await _0x56c9f9['trackEvent'](AutomationFrameworkState[_0x2bd273(0xe3)],HookState[_0x2bd273(0xf2)],_0x146a06);}catch(_0x4b776d){logger['error'](_0x2bd273(0xc8)+_0x425449+'#'+_0x112cd2+':\x20'+_0x4b776d[_0x2bd273(0xee)]);}TestCafeAutomationFramework['removeInstance'](_0x425449,_0x112cd2);}}logger[_0x2bd273(0xde)]('[testcafe-reporter]\x20reportTaskDone:\x20passed='+_0xe38841+'\x20warnings='+(_0x5b474a&&_0x5b474a[_0x2bd273(0xda)])+'\x20totalDuration='+(_0x56a66b&&_0x3eb0e5[_0x2bd273(0xf5)](_0x3eb0e5[_0x2bd273(0xf5)](_0x56a66b['failedCount'],_0x56a66b['passedCount']),_0x56a66b[_0x2bd273(0xd5)])));})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a72_0x43ca(_0x226209,_0x1c215d){const _0x2b911e=a72_0x2b91();return a72_0x43ca=function(_0x43ca4b,_0x258a90){_0x43ca4b=_0x43ca4b-0x12c;let _0x39df67=_0x2b911e[_0x43ca4b];return _0x39df67;},a72_0x43ca(_0x226209,_0x1c215d);}const a72_0x2073e2=a72_0x43ca;(function(_0x37f1d2,_0x4e4cf4){const _0x19c172=a72_0x43ca,_0x235e6=_0x37f1d2();while(!![]){try{const _0x1595a1=parseInt(_0x19c172(0x149))/0x1*(-parseInt(_0x19c172(0x14c))/0x2)+parseInt(_0x19c172(0x138))/0x3*(-parseInt(_0x19c172(0x140))/0x4)+-parseInt(_0x19c172(0x13e))/0x5+-parseInt(_0x19c172(0x12e))/0x6+-parseInt(_0x19c172(0x154))/0x7*(-parseInt(_0x19c172(0x141))/0x8)+-parseInt(_0x19c172(0x133))/0x9*(-parseInt(_0x19c172(0x152))/0xa)+-parseInt(_0x19c172(0x146))/0xb*(-parseInt(_0x19c172(0x135))/0xc);if(_0x1595a1===_0x4e4cf4)break;else _0x235e6['push'](_0x235e6['shift']());}catch(_0x14c92c){_0x235e6['push'](_0x235e6['shift']());}}}(a72_0x2b91,0x7d46c));function getTestIdentifier(_0x3a9c9d,_0x2942ce){const _0xd008dd=a72_0x43ca,_0x518eeb={};_0x518eeb['fKYKc']='unknown';const _0x5354ab=_0x518eeb,_0x12606c=_0x3a9c9d&&_0x3a9c9d[_0xd008dd(0x132)]&&_0x3a9c9d[_0xd008dd(0x132)][_0xd008dd(0x12d)]||_0x5354ab[_0xd008dd(0x134)],_0x4c402d=_0x3a9c9d&&_0x3a9c9d['fixture']&&_0x3a9c9d[_0xd008dd(0x132)][_0xd008dd(0x139)]||_0x5354ab[_0xd008dd(0x134)],_0x4228d1=_0x3a9c9d&&_0x3a9c9d['name']||_0x5354ab[_0xd008dd(0x134)],_0x3ef74d=_0x12606c+'::'+_0x4c402d+'::'+_0x4228d1;return _0x2942ce?_0x3ef74d+_0xd008dd(0x155)+_0x2942ce:_0x3ef74d;}function getFixtureIdentifier(_0x14fa14){const _0x2b43e9=a72_0x43ca,_0x4cd33d={};_0x4cd33d[_0x2b43e9(0x144)]=_0x2b43e9(0x14e);const _0x1ed976=_0x4cd33d,_0x57f800=_0x14fa14&&_0x14fa14['path']||_0x1ed976[_0x2b43e9(0x144)],_0x3cf747=_0x14fa14&&_0x14fa14[_0x2b43e9(0x139)]||_0x1ed976[_0x2b43e9(0x144)];return _0x57f800+'::'+_0x3cf747;}function synthesizeTestObject({fixtureName:_0x51a8bb,fixturePath:_0x3aaf4b,testName:_0x4f085e,meta:_0x5ce760}){const _0x14dee3=a72_0x43ca,_0x5b69c4={};_0x5b69c4['CwRUS']=function(_0x370c03,_0xdf5128){return _0x370c03||_0xdf5128;};const _0x376c0d=_0x5b69c4,_0x3bce9c={};return _0x3bce9c[_0x14dee3(0x139)]=_0x51a8bb,_0x3bce9c['path']=_0x3aaf4b,{'name':_0x4f085e,'meta':_0x376c0d[_0x14dee3(0x148)](_0x5ce760,{}),'fixture':_0x3bce9c};}function getScreenshotPaths(_0x185cfe){const _0x5b0492=a72_0x43ca;if(!_0x185cfe||!Array['isArray'](_0x185cfe[_0x5b0492(0x150)]))return[];return _0x185cfe[_0x5b0492(0x150)][_0x5b0492(0x136)](_0x4e4008=>_0x4e4008&&(_0x4e4008['screenshotPath']||_0x4e4008[_0x5b0492(0x153)])||null)[_0x5b0492(0x130)](Boolean);}function a72_0x2b91(){const _0x35fafe=['name','exports','fnEQi','formatError','PVYmf','2556910yrOrGR','function','412owcqZb','16vbNqfk','synthesizeTestObject','YhePk','vxeWn','code','21547482qPcKmL','renderSync','CwRUS','900297bZyger','callsite','stackFilter','2rskswq','YPgOZ','unknown','TestCafeError','screenshots','getTestIdentifier','10PIuERu','screenshotPathForPDF','405874ayoNyx','::retry','getScreenshotPaths','path','773376kQBAPV','getFixtureIdentifier','filter','formattedMessage','fixture','2622447fVVZtI','fKYKc','12blyLbU','map','errMsg','9102ugyxXM'];a72_0x2b91=function(){return _0x35fafe;};return a72_0x2b91();}function formatError(_0x2dd7be){const _0x30e408=a72_0x43ca,_0x2416d6={'PVYmf':_0x30e408(0x14f),'YhePk':function(_0x4349f1,_0x3a087a){return _0x4349f1(_0x3a087a);},'ZTobI':function(_0xcea6f3,_0x4d7b54){return _0xcea6f3(_0x4d7b54);}};if(!_0x2dd7be)return null;return{'type':_0x2dd7be[_0x30e408(0x145)]||_0x2416d6[_0x30e408(0x13d)],'message':_0x2dd7be[_0x30e408(0x131)]||_0x2dd7be[_0x30e408(0x137)]||_0x2416d6[_0x30e408(0x143)](String,_0x2dd7be),'stack':_0x2416d6['ZTobI'](_tryRenderCallsite,_0x2dd7be)};}function _tryRenderCallsite(_0x466e78){const _0x3e3568=a72_0x43ca,_0x1287b1={};_0x1287b1[_0x3e3568(0x14d)]=function(_0x8311a1,_0x3479d4){return _0x8311a1===_0x3479d4;},_0x1287b1[_0x3e3568(0x13b)]=_0x3e3568(0x13f);const _0x374c9e=_0x1287b1;try{if(_0x466e78&&_0x466e78[_0x3e3568(0x14a)]&&_0x374c9e['YPgOZ'](typeof _0x466e78[_0x3e3568(0x14a)][_0x3e3568(0x147)],_0x374c9e[_0x3e3568(0x13b)])){const _0x3e7b7f={};return _0x3e7b7f[_0x3e3568(0x14b)]=()=>!![],_0x466e78[_0x3e3568(0x14a)][_0x3e3568(0x147)](_0x3e7b7f);}}catch(_0x4bb562){}return'';}const a72_0x203834={};a72_0x203834[a72_0x2073e2(0x151)]=getTestIdentifier,a72_0x203834[a72_0x2073e2(0x12f)]=getFixtureIdentifier,a72_0x203834[a72_0x2073e2(0x142)]=synthesizeTestObject,a72_0x203834[a72_0x2073e2(0x12c)]=getScreenshotPaths,a72_0x203834[a72_0x2073e2(0x13c)]=formatError,module[a72_0x2073e2(0x13a)]=a72_0x203834;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a73_0x43dc60=a73_0x3be2;(function(_0x188069,_0x9315cc){const _0x55ee=a73_0x3be2,_0x2798bd=_0x188069();while(!![]){try{const _0x3abe84=-parseInt(_0x55ee(0x143))/0x1*(-parseInt(_0x55ee(0x142))/0x2)+parseInt(_0x55ee(0x13d))/0x3+-parseInt(_0x55ee(0x138))/0x4+-parseInt(_0x55ee(0x110))/0x5+parseInt(_0x55ee(0x11f))/0x6+parseInt(_0x55ee(0x132))/0x7+-parseInt(_0x55ee(0x11e))/0x8;if(_0x3abe84===_0x9315cc)break;else _0x2798bd['push'](_0x2798bd['shift']());}catch(_0x266fc7){_0x2798bd['push'](_0x2798bd['shift']());}}}(a73_0x12bd,0x63743));const got=require('got'),logger=require('../../helpers/logger')[a73_0x43dc60(0x112)],{BROWSERSTACK_API_URL}=require(a73_0x43dc60(0x103)),_entries=[];function register(_0x17a602){const _0x628c77=a73_0x43dc60,_0x5affa6={};_0x5affa6[_0x628c77(0x116)]=_0x628c77(0x118),_0x5affa6[_0x628c77(0x113)]='TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker';const _0x16aa6e=_0x5affa6,_0x3f9e04={'status':_0x16aa6e[_0x628c77(0x116)],'reason':_0x16aa6e[_0x628c77(0x113)],..._0x17a602};_entries['push'](_0x3f9e04);}function a73_0x3be2(_0x469d16,_0x128f00){const _0x12bd28=a73_0x12bd();return a73_0x3be2=function(_0x3be222,_0x1c0b64){_0x3be222=_0x3be222-0xff;let _0x538f18=_0x12bd28[_0x3be222];return _0x538f18;},a73_0x3be2(_0x469d16,_0x128f00);}function listEntries(){return _entries['slice']();}function markStatus(_0x3b4f11,_0x35ad54,_0x5b91ca){const _0x2cc506=a73_0x43dc60,_0x2afc70={};_0x2afc70[_0x2cc506(0x106)]=function(_0x35b2e,_0xf2128a){return _0x35b2e===_0xf2128a;};const _0x50350b=_0x2afc70;for(const _0x3853df of _entries){if(_0x50350b[_0x2cc506(0x106)](_0x3853df[_0x2cc506(0x141)],_0x3b4f11))return _0x3853df[_0x2cc506(0x11b)]=_0x35ad54,_0x5b91ca&&(_0x3853df[_0x2cc506(0x135)]=_0x5b91ca),!![];}return![];}function _resolveCreds(_0xb68896){const _0x135c63=a73_0x43dc60,_0x2cb0ab={'BJcGR':function(_0x15bac6,_0x300dea){return _0x15bac6(_0x300dea);},'cQTHe':function(_0x3aecf4,_0x49766b){return _0x3aecf4(_0x49766b);},'hOuOY':function(_0x18888d,_0x3189ba){return _0x18888d(_0x3189ba);}};try{if(_0xb68896){const _0x429e24=_0x2cb0ab[_0x135c63(0x122)](String,_0xb68896)['trim'](),_0x3c63dd=/^https?:\/\//i[_0x135c63(0x12d)](_0x429e24)?_0x429e24:_0x135c63(0x12a)+_0x429e24[_0x135c63(0x13f)](/^\/+/,''),_0x133306=new URL(_0x3c63dd);if(_0x133306['username']||_0x133306['password'])return{'username':_0x2cb0ab['cQTHe'](decodeURIComponent,_0x133306[_0x135c63(0x114)]||''),'password':_0x2cb0ab[_0x135c63(0x137)](decodeURIComponent,_0x133306[_0x135c63(0x125)]||'')};}}catch(_0x4517a2){}const _0x1dcc82={};return _0x1dcc82['username']=process[_0x135c63(0x101)][_0x135c63(0x10f)]||'',_0x1dcc82[_0x135c63(0x125)]=process[_0x135c63(0x101)][_0x135c63(0x13a)]||'',_0x1dcc82;}async function _markViaRestApi(_0x1d8d41){const _0x9d9465=a73_0x43dc60,_0x5c3f32={'ODMJD':function(_0x13b14f,_0x4e3e76){return _0x13b14f(_0x4e3e76);},'cuczh':function(_0x57f80b,_0x2fe96a){return _0x57f80b||_0x2fe96a;},'KpFUb':'failed','pgBLO':_0x9d9465(0x13b),'cVtQD':function(_0x2e1966,_0x3536db){return _0x2e1966>=_0x3536db;},'OBXyM':function(_0x1aeb06,_0x44a39e){return _0x1aeb06<_0x44a39e;}},{username:_0x44fedf,password:_0x45db7a}=_0x5c3f32[_0x9d9465(0x11a)](_resolveCreds,_0x1d8d41['hubUrl']);if(_0x5c3f32[_0x9d9465(0x130)](!_0x44fedf,!_0x45db7a))return logger['warn'](_0x9d9465(0x121)+_0x1d8d41[_0x9d9465(0x100)]+_0x9d9465(0x123)),![];const _0x148770=BROWSERSTACK_API_URL+'/automate/sessions/'+_0x1d8d41[_0x9d9465(0x100)]+_0x9d9465(0x119);try{const _0x496942={};_0x496942[_0x9d9465(0x11b)]=_0x1d8d41[_0x9d9465(0x11b)]||_0x5c3f32[_0x9d9465(0x136)],_0x496942[_0x9d9465(0x135)]=_0x1d8d41['reason']||'';const _0x2c45ee={};_0x2c45ee[_0x9d9465(0x105)]=0x7530;const _0x4642db={};_0x4642db[_0x9d9465(0x114)]=_0x44fedf,_0x4642db[_0x9d9465(0x125)]=_0x45db7a,_0x4642db['json']=_0x496942,_0x4642db['responseType']=_0x5c3f32['pgBLO'],_0x4642db['throwHttpErrors']=![],_0x4642db[_0x9d9465(0x133)]=_0x2c45ee;const _0x2e7c00=await got[_0x9d9465(0x117)](_0x148770,_0x4642db);if(_0x5c3f32[_0x9d9465(0x13e)](_0x2e7c00['statusCode'],0xc8)&&_0x5c3f32[_0x9d9465(0x124)](_0x2e7c00[_0x9d9465(0xff)],0x12c))return logger[_0x9d9465(0x12c)](_0x9d9465(0x111)+_0x1d8d41['status']+_0x9d9465(0x131)+_0x1d8d41[_0x9d9465(0x100)]),!![];return logger[_0x9d9465(0x128)](_0x9d9465(0x10c)+_0x2e7c00[_0x9d9465(0xff)]+_0x9d9465(0x10a)+_0x1d8d41[_0x9d9465(0x100)]+':\x20'+JSON['stringify'](_0x2e7c00[_0x9d9465(0x10d)])['slice'](0x0,0xc8)),![];}catch(_0x2af1f0){return logger[_0x9d9465(0x128)](_0x9d9465(0x12e)+_0x1d8d41['sessionId']+':\x20'+_0x2af1f0[_0x9d9465(0x10b)]),![];}}async function quitAll(){const _0x30f885=a73_0x43dc60,_0x48515c={'HCmTv':function(_0x25db97,_0x2c3b0b){return _0x25db97===_0x2c3b0b;},'jgpaS':'function','GgDay':_0x30f885(0x107),'ZErao':_0x30f885(0x118),'YaRAr':function(_0x1963e1,_0x35343a){return _0x1963e1(_0x35343a);}};try{for(const _0x3e8ca2 of _entries){let _0x381777=![];try{if(_0x3e8ca2['driver']&&_0x48515c[_0x30f885(0x115)](typeof _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x134)],_0x48515c['jgpaS'])){const _0x248114={};_0x248114[_0x30f885(0x109)]=_0x48515c[_0x30f885(0x129)],_0x248114[_0x30f885(0x104)]={},_0x248114[_0x30f885(0x104)][_0x30f885(0x11b)]=_0x3e8ca2[_0x30f885(0x11b)]||_0x48515c[_0x30f885(0x102)],_0x248114[_0x30f885(0x104)][_0x30f885(0x135)]=_0x3e8ca2[_0x30f885(0x135)]||'';const _0x31c542=_0x30f885(0x10e)+JSON[_0x30f885(0x12f)](_0x248114);await _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x134)](_0x31c542),_0x381777=!![],logger[_0x30f885(0x12c)](_0x30f885(0x11c)+_0x3e8ca2[_0x30f885(0x11b)]+_0x30f885(0x131)+_0x3e8ca2[_0x30f885(0x100)]);}}catch(_0x2acd8f){logger[_0x30f885(0x128)](_0x30f885(0x120)+_0x3e8ca2[_0x30f885(0x100)]+'\x20(will\x20retry\x20via\x20REST):\x20'+_0x2acd8f['message']);}!_0x381777&&await _0x48515c[_0x30f885(0x140)](_markViaRestApi,_0x3e8ca2);try{_0x3e8ca2[_0x30f885(0x12b)]&&_0x48515c[_0x30f885(0x115)](typeof _0x3e8ca2[_0x30f885(0x12b)][_0x30f885(0x127)],_0x48515c['jgpaS'])&&await _0x3e8ca2[_0x30f885(0x12b)]['quit']();}catch(_0x23393b){logger['warn'](_0x30f885(0x13c)+_0x3e8ca2[_0x30f885(0x100)]+':\x20'+_0x23393b['message']);}}}finally{_entries[_0x30f885(0x11d)]=0x0;}}const a73_0x571171={};a73_0x571171[a73_0x43dc60(0x139)]=register,a73_0x571171['listEntries']=listEntries,a73_0x571171[a73_0x43dc60(0x126)]=markStatus,a73_0x571171['quitAll']=quitAll,module[a73_0x43dc60(0x108)]=a73_0x571171;function a73_0x12bd(){const _0x3c1076=['replace','YaRAr','platformIndex','167710vdIlhC','3cQCsXj','statusCode','sessionId','env','ZErao','../utils/constants','arguments','request','PpZMr','setSessionStatus','exports','action','\x20for\x20','message','[session-registry]\x20REST\x20mark\x20HTTP\x20','body','browserstack_executor:\x20','BROWSERSTACK_USERNAME','1196920nONGJq','[session-registry]\x20REST\x20setSessionStatus(','winstonLogger','smgUw','username','HCmTv','SkiXL','put','failed','.json','ODMJD','status','[session-registry]\x20executeScript\x20setSessionStatus(','length','1050368FeNFta','4264668ObczAV','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','[session-registry]\x20REST\x20mark\x20skipped\x20for\x20','BJcGR',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','OBXyM','password','markStatus','quit','warn','GgDay','https://','driver','info','test','[session-registry]\x20REST\x20mark\x20failed\x20for\x20','stringify','cuczh',')\x20OK\x20for\x20','1245125BQXnmR','timeout','executeScript','reason','KpFUb','hOuOY','1506112JqRbsB','register','BROWSERSTACK_ACCESS_KEY','json','[session-registry]\x20driver.quit\x20failed\x20for\x20','43059TJDEIC','cVtQD'];a73_0x12bd=function(){return _0x3c1076;};return a73_0x12bd();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a74_0x215dda=a74_0x3005;(function(_0x4d0600,_0x3f42b9){const _0x385031=a74_0x3005,_0x53834e=_0x4d0600();while(!![]){try{const _0x44260d=-parseInt(_0x385031(0x206))/0x1+-parseInt(_0x385031(0x1ff))/0x2*(parseInt(_0x385031(0x233))/0x3)+-parseInt(_0x385031(0x220))/0x4*(-parseInt(_0x385031(0x230))/0x5)+parseInt(_0x385031(0x1e2))/0x6+-parseInt(_0x385031(0x20f))/0x7*(parseInt(_0x385031(0x20b))/0x8)+parseInt(_0x385031(0x212))/0x9*(-parseInt(_0x385031(0x236))/0xa)+parseInt(_0x385031(0x1e8))/0xb;if(_0x44260d===_0x3f42b9)break;else _0x53834e['push'](_0x53834e['shift']());}catch(_0x2fafbe){_0x53834e['push'](_0x53834e['shift']());}}}(a74_0x53c1,0x42f31));function a74_0x53c1(){const _0x4d97fb=['../v2/framework/constants/testFrameworkConstants','[✓✔✗✘×]\x5cs','JZasN','isArray','dcaAU','|\x5cd+\x5cs+passed','isBuffer','testFrameworkName','OTjsH','clear','debug','logCreatedEvent','nPVgu','uuid','getTestFrameworks','../v2/browserstackCLI','|Waiting\x20for','getTestFramework','lgyiC','UfEoi','isRunning','ENTnz','29628AFXKWr','__currentPlatformUuids','OXpTz','testcafe','[stdout-interceptor]\x20uninstalled','vptVy','toString','326491rtkXFL','QvuTg','QBfqs','testFrameworkState','Tnsqi','24jhtAaC','|Hostname:','test_run_uuid','FGcao','68803qhBkXu','../v2/framework/testFramework','getTestFrameworksVersions','6219pluytY','|\x5cd+\x5cs+failed','kind','[stdout-interceptor]\x20installed','utf8','lnVsI','SDugy','TEST','info','^(\x5cs*)','function','Wbdcy','Ughtj','size','72pvqtrw','|Test\x20\x5cd+\x20of\x20\x5cd+','trim','toISOString','jWjSw','set','ElXbO','string','SkLFx','ZzOXE','fYDmJ','stdout','message','EhSwc','hFryw','length','51570ZXjWnR','delete','split','9uewMls','getData','CdCyR','1990OYGKpC','LCAPD','uninstall','xLrZG','get','test','6|0|2|7|4|1|3|5','getInstance','write','install','now','nFADA','1534974hhXwRX','bind','../v2/grpcClient','stderr','|\x5cd+\x5cs+skipped','../../helpers/logger','4077403BWHAGO'];a74_0x53c1=function(){return _0x4d97fb;};return a74_0x53c1();}const {v4:uuidv4}=require(a74_0x215dda(0x1f6)),logger=require(a74_0x215dda(0x1e7))['winstonLogger'];let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];function a74_0x3005(_0x1537d0,_0x187bad){const _0x53c1ac=a74_0x53c1();return a74_0x3005=function(_0x3005a5,_0x2e0441){_0x3005a5=_0x3005a5-0x1de;let _0x5762c2=_0x53c1ac[_0x3005a5];return _0x5762c2;},a74_0x3005(_0x1537d0,_0x187bad);}const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp(a74_0x215dda(0x21b)+'('+a74_0x215dda(0x1ea)+a74_0x215dda(0x1ee)+a74_0x215dda(0x213)+a74_0x215dda(0x1e6)+'|Running\x20tests\x20in'+a74_0x215dda(0x20c)+a74_0x215dda(0x221)+'|Connecting\x20to\x20.*://'+a74_0x215dda(0x1f9)+')');function _stripAnsi(_0x393132){const _0x303c50=a74_0x215dda,_0x23b27b={};_0x23b27b[_0x303c50(0x218)]=function(_0x4d7483,_0x4ce1a7){return _0x4d7483!==_0x4ce1a7;},_0x23b27b[_0x303c50(0x20e)]='string';const _0x594c36=_0x23b27b;if(_0x594c36[_0x303c50(0x218)](typeof _0x393132,_0x594c36[_0x303c50(0x20e)]))return _0x393132;return _0x393132['replace'](ANSI_RE,'');}function _shouldForward(_0x21b9dd){const _0x3a1cbf=a74_0x215dda,_0x50e2f5={'dcaAU':function(_0x155138,_0x4a2064){return _0x155138(_0x4a2064);}};if(!_0x21b9dd||!_0x21b9dd[_0x3a1cbf(0x222)]())return![];if(INTERNAL_LOG_RE[_0x3a1cbf(0x23b)](_0x21b9dd))return![];const _0x260363=_0x50e2f5[_0x3a1cbf(0x1ed)](_stripAnsi,_0x21b9dd)[_0x3a1cbf(0x222)]();if(!_0x260363)return![];if(SPEC_REPORTER_RE['test'](_0x260363))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x384e24){const _0x4a6812=a74_0x215dda,_0x3599ad={};_0x3599ad[_0x4a6812(0x208)]=function(_0x54744f,_0x493f07){return _0x54744f>_0x493f07;},_0x3599ad[_0x4a6812(0x207)]=function(_0x54d5cd,_0x2e88aa){return _0x54d5cd-_0x2e88aa;},_0x3599ad[_0x4a6812(0x239)]=function(_0x513dab,_0x3bd2e1){return _0x513dab!==_0x3bd2e1;},_0x3599ad['JZasN']=function(_0xf3d156,_0x3f2d58){return _0xf3d156<_0x3f2d58;};const _0x152138=_0x3599ad,_0x1df4d4=Date[_0x4a6812(0x1e0)]();if(_0x152138[_0x4a6812(0x208)](_recent[_0x4a6812(0x21f)],0xc8))for(const [_0x1ee23,_0x2fc464]of _recent){_0x152138[_0x4a6812(0x208)](_0x152138[_0x4a6812(0x207)](_0x1df4d4,_0x2fc464),DEDUP_WINDOW_MS)&&_recent[_0x4a6812(0x231)](_0x1ee23);}const _0x20e6e7=_recent[_0x4a6812(0x23a)](_0x384e24);if(_0x152138[_0x4a6812(0x239)](_0x20e6e7,undefined)&&_0x152138[_0x4a6812(0x1eb)](_0x152138['QvuTg'](_0x1df4d4,_0x20e6e7),DEDUP_WINDOW_MS))return!![];return _recent[_0x4a6812(0x225)](_0x384e24,_0x1df4d4),![];}function _emitLog(_0x510c61){const _0x15d5b2=a74_0x215dda,_0x2ca693={'nFADA':function(_0x51cdb0,_0x1f8f3f){return _0x51cdb0(_0x1f8f3f);},'OXpTz':_0x15d5b2(0x1f8),'UfEoi':_0x15d5b2(0x1e4),'SkLFx':function(_0xa01637,_0x4dd21d){return _0xa01637(_0x4dd21d);},'ENTnz':_0x15d5b2(0x210),'vptVy':_0x15d5b2(0x1e9),'nPVgu':_0x15d5b2(0x200),'EhSwc':function(_0x196038,_0x5dfa42){return _0x196038===_0x5dfa42;},'jWjSw':_0x15d5b2(0x21c),'CdCyR':function(_0xdb5dd,_0x514039){return _0xdb5dd===_0x514039;},'Wbdcy':function(_0xbf86a4,_0x4ddc33){return _0xbf86a4(_0x4ddc33);},'Tnsqi':function(_0xd6c663,_0x31bc6b){return _0xd6c663<_0x31bc6b;},'hFryw':_0x15d5b2(0x21a),'lnVsI':_0x15d5b2(0x202),'LCAPD':_0x15d5b2(0x219)};try{const _0x8c34ce=_0x2ca693[_0x15d5b2(0x1e1)](require,_0x2ca693[_0x15d5b2(0x201)]),_0x225abf=_0x2ca693[_0x15d5b2(0x1e1)](require,_0x2ca693[_0x15d5b2(0x1fc)]),_0x593a41=_0x2ca693[_0x15d5b2(0x228)](require,_0x2ca693[_0x15d5b2(0x1fe)]),_0xb3abde=_0x2ca693['nFADA'](require,_0x2ca693[_0x15d5b2(0x204)]),_0x68eb27=_0x8c34ce['getInstance']&&_0x8c34ce[_0x15d5b2(0x23d)]();if(!_0x68eb27||!_0x68eb27[_0x15d5b2(0x1fd)]())return;const _0x55f6fa=_0x68eb27[_0x15d5b2(0x1fa)]&&_0x68eb27[_0x15d5b2(0x1fa)](),_0x22696c=_0x593a41['getTrackedInstance']&&_0x593a41['getTrackedInstance']();if(!_0x22696c)return;const _0x402f2b=Array[_0x15d5b2(0x1ec)](_0x22696c[_0x15d5b2(0x234)](_0x2ca693[_0x15d5b2(0x1f5)]))?_0x22696c[_0x15d5b2(0x234)](_0x2ca693[_0x15d5b2(0x1f5)]):[];if(_0x2ca693[_0x15d5b2(0x22d)](_0x402f2b[_0x15d5b2(0x22f)],0x0))return;const _0x59ccc4=_0x55f6fa&&_0x2ca693[_0x15d5b2(0x22d)](typeof _0x55f6fa['getTestFrameworksVersions'],_0x2ca693[_0x15d5b2(0x224)])?_0x55f6fa[_0x15d5b2(0x211)]():{},_0x2cc46b=_0x55f6fa&&_0x2ca693[_0x15d5b2(0x235)](typeof _0x55f6fa[_0x15d5b2(0x1f7)],_0x2ca693[_0x15d5b2(0x224)])?_0x55f6fa[_0x15d5b2(0x1f7)]():[],_0x44651e=_0x2cc46b&&_0x2cc46b[0x0]&&_0x59ccc4&&_0x59ccc4[_0x2cc46b[0x0]]||'',_0x69aa10=_0x2ca693[_0x15d5b2(0x1e1)](_stripAnsi,_0x510c61)[_0x15d5b2(0x222)]();if(_0x2ca693[_0x15d5b2(0x21d)](_isDuplicate,_0x69aa10))return;const _0x33c443=new Date()[_0x15d5b2(0x223)]();for(let _0x1ea87b=0x0;_0x2ca693[_0x15d5b2(0x20a)](_0x1ea87b,_0x402f2b[_0x15d5b2(0x22f)]);_0x1ea87b++){const _0xea4a66=_0x402f2b[_0x1ea87b];if(!_0xea4a66)continue;const _0x34f8f7={};_0x34f8f7[_0x15d5b2(0x1f6)]=_0xea4a66,_0x34f8f7[_0x15d5b2(0x20d)]=_0xea4a66,_0x34f8f7['timestamp']=_0x33c443,_0x34f8f7[_0x15d5b2(0x22c)]=_0x69aa10,_0x34f8f7[_0x15d5b2(0x214)]=_0xb3abde['KIND_LOG'],_0x34f8f7['level']=_0x2ca693[_0x15d5b2(0x22e)];const _0x4fd5a9=_0x34f8f7,_0x535265={};_0x535265['platformIndex']=_0x1ea87b,_0x535265['logs']=[_0x4fd5a9],_0x535265[_0x15d5b2(0x1f0)]=_0x2ca693[_0x15d5b2(0x217)],_0x535265['testFrameworkVersion']=_0x44651e,_0x535265[_0x15d5b2(0x209)]=_0x2ca693[_0x15d5b2(0x237)];const _0x3fb165=_0x535265;_0x225abf[_0x15d5b2(0x23d)]()[_0x15d5b2(0x1f4)](_0x3fb165)['catch'](()=>{});}}catch(_0x50c65d){}}function _wrap(_0x1c4093){const _0x28b5d7=a74_0x215dda,_0x224ebb={'fYDmJ':function(_0x191002,_0x1daa60,_0x5fff80,_0x40b629){return _0x191002(_0x1daa60,_0x5fff80,_0x40b629);},'nDaIh':function(_0x5d5217,_0x4a6c0a){return _0x5d5217===_0x4a6c0a;},'NKwvj':_0x28b5d7(0x227),'FxTvx':_0x28b5d7(0x216),'Ughtj':function(_0x4636a0,_0x3149ae){return _0x4636a0(_0x3149ae);},'ZzOXE':function(_0x274d77,_0x10e1c9){return _0x274d77(_0x10e1c9);}};return function(_0x5c0452,_0x8faa91,_0x5ccc44){const _0x2eab14=_0x28b5d7,_0x3e1166=_0x224ebb[_0x2eab14(0x22a)](_0x1c4093,_0x5c0452,_0x8faa91,_0x5ccc44);try{const _0x1ea5c2=_0x224ebb['nDaIh'](typeof _0x5c0452,_0x224ebb['NKwvj'])?_0x5c0452:Buffer[_0x2eab14(0x1ef)](_0x5c0452)?_0x5c0452[_0x2eab14(0x205)](_0x224ebb['FxTvx']):_0x224ebb[_0x2eab14(0x21e)](String,_0x5c0452),_0x455dd5=_0x1ea5c2[_0x2eab14(0x232)](/\r?\n/);for(const _0x589d19 of _0x455dd5){_0x224ebb[_0x2eab14(0x229)](_shouldForward,_0x589d19)&&_0x224ebb['ZzOXE'](_emitLog,_0x589d19);}}catch(_0x30f937){}return _0x3e1166;};}exports[a74_0x215dda(0x1df)]=()=>{const _0x50d390=a74_0x215dda,_0x5d3f70={'AtVmF':'6|2|1|5|0|3|4','OTjsH':function(_0x45aaad,_0x4ca7c1){return _0x45aaad(_0x4ca7c1);},'earTU':_0x50d390(0x215),'NuYag':function(_0x4df579,_0x150efc){return _0x4df579(_0x150efc);}},_0x14fe7b=_0x5d3f70['AtVmF'][_0x50d390(0x232)]('|');let _0x1688f6=0x0;while(!![]){switch(_0x14fe7b[_0x1688f6++]){case'0':process[_0x50d390(0x1e5)]['write']=_0x5d3f70[_0x50d390(0x1f1)](_wrap,_origStderrWrite);continue;case'1':_origStderrWrite=process['stderr']['write'][_0x50d390(0x1e3)](process[_0x50d390(0x1e5)]);continue;case'2':_origStdoutWrite=process['stdout'][_0x50d390(0x1de)]['bind'](process[_0x50d390(0x22b)]);continue;case'3':_installed=!![];continue;case'4':logger[_0x50d390(0x1f3)](_0x5d3f70['earTU']);continue;case'5':process['stdout'][_0x50d390(0x1de)]=_0x5d3f70['NuYag'](_wrap,_origStdoutWrite);continue;case'6':if(_installed)return;continue;}break;}},exports[a74_0x215dda(0x238)]=()=>{const _0x84e122=a74_0x215dda,_0xd4f10c={};_0xd4f10c['lgyiC']=_0x84e122(0x23c),_0xd4f10c[_0x84e122(0x226)]=_0x84e122(0x203);const _0xdf0fc3=_0xd4f10c,_0x16854e=_0xdf0fc3[_0x84e122(0x1fb)][_0x84e122(0x232)]('|');let _0x3d817a=0x0;while(!![]){switch(_0x16854e[_0x3d817a++]){case'0':_origStdoutWrite&&(process[_0x84e122(0x22b)]['write']=_origStdoutWrite);continue;case'1':_installed=![];continue;case'2':_origStderrWrite&&(process[_0x84e122(0x1e5)][_0x84e122(0x1de)]=_origStderrWrite);continue;case'3':_recent[_0x84e122(0x1f2)]();continue;case'4':_origStderrWrite=null;continue;case'5':logger[_0x84e122(0x1f3)](_0xdf0fc3[_0x84e122(0x226)]);continue;case'6':if(!_installed)return;continue;case'7':_origStdoutWrite=null;continue;}break;}};
|
|
1
|
+
'use strict';const a74_0x1b8ab8=a74_0x3b6e;(function(_0x180674,_0x3efc37){const _0x33836b=a74_0x3b6e,_0x17501b=_0x180674();while(!![]){try{const _0x254aeb=-parseInt(_0x33836b(0x9c))/0x1*(-parseInt(_0x33836b(0x72))/0x2)+parseInt(_0x33836b(0x75))/0x3*(parseInt(_0x33836b(0x85))/0x4)+parseInt(_0x33836b(0x70))/0x5*(-parseInt(_0x33836b(0xae))/0x6)+parseInt(_0x33836b(0x6c))/0x7+parseInt(_0x33836b(0x8e))/0x8+-parseInt(_0x33836b(0xb7))/0x9+-parseInt(_0x33836b(0x88))/0xa*(parseInt(_0x33836b(0x6f))/0xb);if(_0x254aeb===_0x3efc37)break;else _0x17501b['push'](_0x17501b['shift']());}catch(_0x55117c){_0x17501b['push'](_0x17501b['shift']());}}}(a74_0x21e8,0x449fb));const {v4:uuidv4}=require(a74_0x1b8ab8(0x71)),logger=require(a74_0x1b8ab8(0x76))['winstonLogger'];let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];function a74_0x3b6e(_0xc8772e,_0x47a31c){const _0x21e8ea=a74_0x21e8();return a74_0x3b6e=function(_0x3b6e77,_0x4b1df8){_0x3b6e77=_0x3b6e77-0x64;let _0x4e899c=_0x21e8ea[_0x3b6e77];return _0x4e899c;},a74_0x3b6e(_0xc8772e,_0x47a31c);}const INTERNAL_LOG_RE=/^\d{4}-\d{2}-\d{2}[ T]\d{2}:\d{2}:\d{2}/,ANSI_RE=/\x1b\[[0-9;]*[a-zA-Z]/g,SPEC_REPORTER_RE=new RegExp('^(\x5cs*)'+'('+'[✓✔✗✘×]\x5cs'+'|\x5cd+\x5cs+passed'+'|\x5cd+\x5cs+failed'+a74_0x1b8ab8(0x98)+'|Running\x20tests\x20in'+a74_0x1b8ab8(0xa8)+'|Test\x20\x5cd+\x20of\x20\x5cd+'+'|Connecting\x20to\x20.*://'+a74_0x1b8ab8(0xa3)+')');function _stripAnsi(_0xab1212){const _0x120a06=a74_0x1b8ab8,_0x277ac2={};_0x277ac2['VKmBd']=function(_0x32ba28,_0x30617f){return _0x32ba28!==_0x30617f;},_0x277ac2[_0x120a06(0x6b)]=_0x120a06(0x7a);const _0x509782=_0x277ac2;if(_0x509782[_0x120a06(0xbc)](typeof _0xab1212,_0x509782[_0x120a06(0x6b)]))return _0xab1212;return _0xab1212['replace'](ANSI_RE,'');}function _shouldForward(_0x1e3095){const _0x44f139=a74_0x1b8ab8,_0x47f552={'ioMGl':function(_0x232414,_0x35d576){return _0x232414(_0x35d576);}};if(!_0x1e3095||!_0x1e3095['trim']())return![];if(INTERNAL_LOG_RE[_0x44f139(0x66)](_0x1e3095))return![];const _0x4efd6b=_0x47f552[_0x44f139(0xb2)](_stripAnsi,_0x1e3095)[_0x44f139(0xa2)]();if(!_0x4efd6b)return![];if(SPEC_REPORTER_RE[_0x44f139(0x66)](_0x4efd6b))return![];return!![];}function a74_0x21e8(){const _0x24b369=['testFrameworkState','toString','10LSicXT','TEST','KIND_LOG','getInstance','WbHhO','isBuffer','1266688HWKvpA','xBfOy','now','info','OciTD','kOzJI','debug','[stdout-interceptor]\x20uninstalled','Byqml','nBsgz','|\x5cd+\x5cs+skipped','EPYSP','stdout','rFngr','1GfKSAP','lKKoY','kPofW','timestamp','function','2|5|7|3|6|4|1|0','trim','|Waiting\x20for','toISOString','[stdout-interceptor]\x20installed','uninstall','utf8','|Hostname:','__currentPlatformUuids','stderr','testcafe','izWNI','install','6CzUYan','logs','dbAzJ','nUCkW','ioMGl','split','aeIPK','RsaUJ','Hdjtt','812871hSNcov','getTestFrameworksVersions','catch','clear','MKLay','VKmBd','zvpdJ','getData','delete','test','../v2/framework/constants/testFrameworkConstants','FabKJ','test_run_uuid','length','mphQq','1857191SAWxGE','1|2|0|3|4|6|5','write','4381179wRjazp','2216125XsQSpQ','uuid','614028NbGDbE','set','getTrackedInstance','9jcnRgX','../../helpers/logger','HrdVa','platformIndex','getTestFrameworks','string','IzgNd','BNRqO','bind','MyCDw','gUQBh','kMZBL','../v2/grpcClient','getTestFramework','IfyuH','YctFX','643004FPIpsP'];a74_0x21e8=function(){return _0x24b369;};return a74_0x21e8();}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x6d1804){const _0x17489c=a74_0x1b8ab8,_0x4329fc={};_0x4329fc[_0x17489c(0x80)]=function(_0x2f7d74,_0x4e97bd){return _0x2f7d74>_0x4e97bd;},_0x4329fc[_0x17489c(0x68)]=function(_0x2921ac,_0xdbec45){return _0x2921ac>_0xdbec45;},_0x4329fc['BNRqO']=function(_0x4b4caf,_0x177f9f){return _0x4b4caf-_0x177f9f;},_0x4329fc[_0x17489c(0x77)]=function(_0x5d7d40,_0x5a5e4f){return _0x5d7d40!==_0x5a5e4f;},_0x4329fc[_0x17489c(0x84)]=function(_0x2fcd4a,_0x21fca0){return _0x2fcd4a<_0x21fca0;};const _0x311a22=_0x4329fc,_0x287b8a=Date[_0x17489c(0x90)]();if(_0x311a22[_0x17489c(0x80)](_recent['size'],0xc8))for(const [_0x49b314,_0x20bffe]of _recent){_0x311a22[_0x17489c(0x68)](_0x311a22[_0x17489c(0x7c)](_0x287b8a,_0x20bffe),DEDUP_WINDOW_MS)&&_recent[_0x17489c(0x65)](_0x49b314);}const _0x42cf17=_recent['get'](_0x6d1804);if(_0x311a22['HrdVa'](_0x42cf17,undefined)&&_0x311a22[_0x17489c(0x84)](_0x311a22[_0x17489c(0x7c)](_0x287b8a,_0x42cf17),DEDUP_WINDOW_MS))return!![];return _recent[_0x17489c(0x73)](_0x6d1804,_0x287b8a),![];}function _emitLog(_0x3bffa8){const _0x2e153e=a74_0x1b8ab8,_0x2e372c={'Hdjtt':function(_0x186c94,_0x267076){return _0x186c94(_0x267076);},'EgxzY':'../v2/browserstackCLI','nUCkW':function(_0x365949,_0x4979b4){return _0x365949(_0x4979b4);},'rFngr':_0x2e153e(0x81),'zvpdJ':'../v2/framework/testFramework','xBfOy':_0x2e153e(0x67),'RsaUJ':_0x2e153e(0xa9),'izWNI':function(_0x3dc839,_0x2c156a){return _0x3dc839===_0x2c156a;},'MyCDw':function(_0x43f982,_0x202a3a){return _0x43f982===_0x202a3a;},'lKKoY':_0x2e153e(0xa0),'EPYSP':function(_0xd61507,_0x22baf2){return _0xd61507(_0x22baf2);},'xRfnB':function(_0x5ad37d,_0x31f391){return _0x5ad37d(_0x31f391);},'YerSK':function(_0xf04274,_0x3eb0ec){return _0xf04274<_0x3eb0ec;},'kOzJI':_0x2e153e(0x91),'Josqj':_0x2e153e(0xab),'MKLay':_0x2e153e(0x89)};try{const _0x570e80=_0x2e372c[_0x2e153e(0xb6)](require,_0x2e372c['EgxzY']),_0x220138=_0x2e372c[_0x2e153e(0xb1)](require,_0x2e372c[_0x2e153e(0x9b)]),_0x20f025=_0x2e372c[_0x2e153e(0xb1)](require,_0x2e372c[_0x2e153e(0xbd)]),_0x2be9c8=_0x2e372c[_0x2e153e(0xb6)](require,_0x2e372c[_0x2e153e(0x8f)]),_0x543327=_0x570e80['getInstance']&&_0x570e80['getInstance']();if(!_0x543327||!_0x543327['isRunning']())return;const _0xab939=_0x543327['getTestFramework']&&_0x543327[_0x2e153e(0x82)](),_0x4414e6=_0x20f025[_0x2e153e(0x74)]&&_0x20f025[_0x2e153e(0x74)]();if(!_0x4414e6)return;const _0x5f08ad=Array['isArray'](_0x4414e6['getData'](_0x2e372c['RsaUJ']))?_0x4414e6[_0x2e153e(0x64)](_0x2e372c[_0x2e153e(0xb5)]):[];if(_0x2e372c[_0x2e153e(0xac)](_0x5f08ad[_0x2e153e(0x6a)],0x0))return;const _0x4dffe5=_0xab939&&_0x2e372c[_0x2e153e(0x7e)](typeof _0xab939[_0x2e153e(0xb8)],_0x2e372c[_0x2e153e(0x9d)])?_0xab939[_0x2e153e(0xb8)]():{},_0xbb0972=_0xab939&&_0x2e372c[_0x2e153e(0xac)](typeof _0xab939[_0x2e153e(0x79)],_0x2e372c[_0x2e153e(0x9d)])?_0xab939[_0x2e153e(0x79)]():[],_0x2a7bef=_0xbb0972&&_0xbb0972[0x0]&&_0x4dffe5&&_0x4dffe5[_0xbb0972[0x0]]||'',_0x3e0f09=_0x2e372c[_0x2e153e(0x99)](_stripAnsi,_0x3bffa8)['trim']();if(_0x2e372c['xRfnB'](_isDuplicate,_0x3e0f09))return;const _0xbd670a=new Date()[_0x2e153e(0xa4)]();for(let _0xc2bcfc=0x0;_0x2e372c['YerSK'](_0xc2bcfc,_0x5f08ad[_0x2e153e(0x6a)]);_0xc2bcfc++){const _0x295ec0=_0x5f08ad[_0xc2bcfc];if(!_0x295ec0)continue;const _0x56d5a={};_0x56d5a[_0x2e153e(0x71)]=_0x295ec0,_0x56d5a[_0x2e153e(0x69)]=_0x295ec0,_0x56d5a[_0x2e153e(0x9f)]=_0xbd670a,_0x56d5a['message']=_0x3e0f09,_0x56d5a['kind']=_0x2be9c8[_0x2e153e(0x8a)],_0x56d5a['level']=_0x2e372c[_0x2e153e(0x93)];const _0x37e6c9=_0x56d5a,_0x3168f1={};_0x3168f1[_0x2e153e(0x78)]=_0xc2bcfc,_0x3168f1[_0x2e153e(0xaf)]=[_0x37e6c9],_0x3168f1['testFrameworkName']=_0x2e372c['Josqj'],_0x3168f1['testFrameworkVersion']=_0x2a7bef,_0x3168f1[_0x2e153e(0x86)]=_0x2e372c[_0x2e153e(0xbb)];const _0x205372=_0x3168f1;_0x220138[_0x2e153e(0x8b)]()['logCreatedEvent'](_0x205372)[_0x2e153e(0xb9)](()=>{});}}catch(_0x915cd0){}}function _wrap(_0x4cf0ff){const _0x399c1c=a74_0x1b8ab8,_0x3d67f3={'IzgNd':function(_0x5719bb,_0x224a34,_0x1ffda9,_0x38800e){return _0x5719bb(_0x224a34,_0x1ffda9,_0x38800e);},'nBsgz':function(_0x2377ee,_0x62a5b6){return _0x2377ee===_0x62a5b6;},'gUQBh':_0x399c1c(0x7a),'WbHhO':_0x399c1c(0xa7),'kPofW':function(_0x34ef8b,_0x5322b0){return _0x34ef8b(_0x5322b0);}};return function(_0x411508,_0x22ef72,_0x4268a5){const _0x3043ef=_0x399c1c,_0x97ee0e=_0x3d67f3[_0x3043ef(0x7b)](_0x4cf0ff,_0x411508,_0x22ef72,_0x4268a5);try{const _0x22d09f=_0x3d67f3[_0x3043ef(0x97)](typeof _0x411508,_0x3d67f3[_0x3043ef(0x7f)])?_0x411508:Buffer[_0x3043ef(0x8d)](_0x411508)?_0x411508[_0x3043ef(0x87)](_0x3d67f3[_0x3043ef(0x8c)]):_0x3d67f3[_0x3043ef(0x9e)](String,_0x411508),_0x18902b=_0x22d09f['split'](/\r?\n/);for(const _0xeacd1d of _0x18902b){_0x3d67f3[_0x3043ef(0x9e)](_shouldForward,_0xeacd1d)&&_0x3d67f3[_0x3043ef(0x9e)](_emitLog,_0xeacd1d);}}catch(_0x36fa41){}return _0x97ee0e;};}exports[a74_0x1b8ab8(0xad)]=()=>{const _0xbefe7=a74_0x1b8ab8,_0x5da9d4={'OciTD':_0xbefe7(0x6d),'aeIPK':function(_0x2c79b3,_0x3e6dd3){return _0x2c79b3(_0x3e6dd3);},'dbAzJ':_0xbefe7(0xa5)},_0x32fd3d=_0x5da9d4[_0xbefe7(0x92)]['split']('|');let _0xbdf245=0x0;while(!![]){switch(_0x32fd3d[_0xbdf245++]){case'0':_origStderrWrite=process[_0xbefe7(0xaa)][_0xbefe7(0x6e)][_0xbefe7(0x7d)](process[_0xbefe7(0xaa)]);continue;case'1':if(_installed)return;continue;case'2':_origStdoutWrite=process[_0xbefe7(0x9a)][_0xbefe7(0x6e)][_0xbefe7(0x7d)](process['stdout']);continue;case'3':process[_0xbefe7(0x9a)][_0xbefe7(0x6e)]=_0x5da9d4[_0xbefe7(0xb4)](_wrap,_origStdoutWrite);continue;case'4':process[_0xbefe7(0xaa)]['write']=_0x5da9d4[_0xbefe7(0xb4)](_wrap,_origStderrWrite);continue;case'5':logger['debug'](_0x5da9d4[_0xbefe7(0xb0)]);continue;case'6':_installed=!![];continue;}break;}},exports[a74_0x1b8ab8(0xa6)]=()=>{const _0x58fb14=a74_0x1b8ab8,_0x3a8eca={};_0x3a8eca[_0x58fb14(0x83)]=_0x58fb14(0xa1),_0x3a8eca['Byqml']=_0x58fb14(0x95);const _0x4297ee=_0x3a8eca,_0x365a34=_0x4297ee[_0x58fb14(0x83)][_0x58fb14(0xb3)]('|');let _0x12da1e=0x0;while(!![]){switch(_0x365a34[_0x12da1e++]){case'0':logger[_0x58fb14(0x94)](_0x4297ee[_0x58fb14(0x96)]);continue;case'1':_recent[_0x58fb14(0xba)]();continue;case'2':if(!_installed)return;continue;case'3':_origStdoutWrite=null;continue;case'4':_installed=![];continue;case'5':_origStdoutWrite&&(process['stdout'][_0x58fb14(0x6e)]=_origStdoutWrite);continue;case'6':_origStderrWrite=null;continue;case'7':_origStderrWrite&&(process[_0x58fb14(0xaa)][_0x58fb14(0x6e)]=_origStderrWrite);continue;}break;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a75_0xf728f9=a75_0x2180;(function(_0x3f7a82,_0xa3ae56){const _0x2ce979=a75_0x2180,_0x39a1f9=_0x3f7a82();while(!![]){try{const _0x166ce6=-parseInt(_0x2ce979(0x159))/0x1*(-parseInt(_0x2ce979(0x182))/0x2)+-parseInt(_0x2ce979(0x144))/0x3+parseInt(_0x2ce979(0x143))/0x4*(parseInt(_0x2ce979(0x176))/0x5)+parseInt(_0x2ce979(0x17c))/0x6+parseInt(_0x2ce979(0x12e))/0x7*(-parseInt(_0x2ce979(0x17b))/0x8)+-parseInt(_0x2ce979(0x178))/0x9*(parseInt(_0x2ce979(0x191))/0xa)+-parseInt(_0x2ce979(0x14b))/0xb*(-parseInt(_0x2ce979(0x16b))/0xc);if(_0x166ce6===_0xa3ae56)break;else _0x39a1f9['push'](_0x39a1f9['shift']());}catch(_0x1f16a9){_0x39a1f9['push'](_0x39a1f9['shift']());}}}(a75_0x5df3,0x7c3d3));const logger=require(a75_0xf728f9(0x15a))[a75_0xf728f9(0x190)];function a75_0x5df3(){const _0x1561e5=['jiqIo','get','../v2/framework/testFramework','test-controller','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','clear','defineProperty','7KOEdBY','exports','message','getPrototypeOf','yIgre','KUAKf','KEY_DRIVER','VBxak','default','../v2/modules/testcafeDriverModule','DEFAULT_TEST_RESULT','api','WMhBt','isEnabledTestcase','TvqYw','aynwG','isArray','stringify','originalDescriptor','\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)','value','2610604WyyRXe','1875903vrsGvT','debug','nzjRk','AhXSF','shouldScanForCommand','getData','EuasQ','11kOdqPV','length','\x20testName=','GRmcd','pending','zbwdd','OFGVJ','zdPAK','DyXcT','bNolR','set','install','GOztR','lovOF','7cWCCQI','../../helpers/logger','../v2/framework/constants/testFrameworkConstants','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','resolve','RYQwN','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','isRunning','iGKFd','uninstall','MbTjb','getOwnPropertyDescriptor','TDjHR','POyRB','NBIkJ','[testcafe-action-patcher]\x20could\x20not\x20restore\x20','edKpj','KEY_TEST_RESULT','3405084hTzmuJ','cwd','[testcafe-action-patcher]\x20wrapped\x20','cucumber','FJtlm','UCIfS','pckhZ','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','GWpvu','tJxjL','prototype','5YVSUyb','iterAllInstances','437490HdyYgS','call','getState','457912dzwRxG','107916VKSPau','IbQWi','[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20','enumerable','dirname','apply','151054vgwQxB','../v2/browserstackCLI','getAccessibilityModule','testController','\x20tags=','owner','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','KEY_TEST_TAGS','function','<unnamed>','__currentPlatformUuids','JWyPo','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','__bstack_a11y_wrapped','winstonLogger','60xTnFFm','../v2/framework/testcafeAutomationFramework','CeUYe','\x20failed:\x20'];a75_0x5df3=function(){return _0x1561e5;};return a75_0x5df3();}function a75_0x2180(_0x5007c9,_0x27451d){const _0x5df347=a75_0x5df3();return a75_0x2180=function(_0x2180ec,_0x11b757){_0x2180ec=_0x2180ec-0x125;let _0x44f509=_0x5df347[_0x2180ec];return _0x44f509;},a75_0x2180(_0x5007c9,_0x27451d);}let _installed=![];const _patchedDescriptors=new Map();function _requireTestController(){const _0x1217d0=a75_0xf728f9,_0x1f9846={'NBIkJ':function(_0x1d3c0a,_0x37ab34){return _0x1d3c0a(_0x37ab34);},'aynwG':'path','nNLtw':'testcafe/package.json','EuasQ':'lib','UCIfS':_0x1217d0(0x139),'yIgre':_0x1217d0(0x12a)},_0x48debf=_0x1f9846[_0x1217d0(0x167)](require,_0x1f9846[_0x1217d0(0x13d)]),_0x414f08=_0x48debf[_0x1217d0(0x180)](require[_0x1217d0(0x15d)](_0x1f9846['nNLtw'],{'paths':[process[_0x1217d0(0x16c)]()]})),_0x58cf24=_0x48debf['join'](_0x414f08,_0x1f9846[_0x1217d0(0x14a)],_0x1f9846[_0x1217d0(0x170)],_0x1f9846[_0x1217d0(0x132)]),_0x5770fc=_0x1f9846[_0x1217d0(0x167)](require,_0x58cf24);return _0x5770fc&&(_0x5770fc[_0x1217d0(0x136)]||_0x5770fc);}async function _performScanForAllDrivers(_0x1a90e2){const _0x423b61=a75_0xf728f9,_0x39a5e0={'TDjHR':function(_0x424eb6,_0x1ad4a2){return _0x424eb6(_0x1ad4a2);},'MbTjb':_0x423b61(0x183),'JWyPo':_0x423b61(0x192),'KUAKf':'../v2/framework/automationFramework','edKpj':function(_0x5f5512,_0x58061b){return _0x5f5512(_0x58061b);},'gKpSq':_0x423b61(0x137),'WMhBt':_0x423b61(0x129),'iGKFd':function(_0x3f8fed,_0x4616d2){return _0x3f8fed===_0x4616d2;},'jiqIo':'function','pckhZ':_0x423b61(0x18c),'bNolR':_0x423b61(0x15b),'DyXcT':function(_0xe96970,_0x500df2){return _0xe96970===_0x500df2;},'TvqYw':function(_0x18274d,_0x4fa2c7){return _0x18274d===_0x4fa2c7;},'bHGZe':function(_0x4cb253,_0x44e274){return _0x4cb253===_0x44e274;},'XbnQM':_0x423b61(0x14f),'zbwdd':function(_0x3011a0,_0x331f4f){return _0x3011a0>_0x331f4f;},'tJxjL':_0x423b61(0x18b),'OFGVJ':_0x423b61(0x16e),'ekhMx':'./a11y-runner'};try{const _0x1a20fe=_0x39a5e0['TDjHR'](require,_0x39a5e0[_0x423b61(0x163)]),_0x5138a0=_0x39a5e0[_0x423b61(0x165)](require,_0x39a5e0[_0x423b61(0x18d)]),_0xdd2e1b=_0x39a5e0['TDjHR'](require,_0x39a5e0[_0x423b61(0x133)]),_0x185611=_0x39a5e0[_0x423b61(0x169)](require,_0x39a5e0['gKpSq']),_0x11c6d6=_0x39a5e0[_0x423b61(0x165)](require,_0x39a5e0[_0x423b61(0x13a)]),_0x4f15e8=_0x1a20fe['getInstance']();if(!_0x4f15e8||!_0x4f15e8[_0x423b61(0x160)]())return;const _0x1f13c2=_0x4f15e8[_0x423b61(0x184)]&&_0x4f15e8[_0x423b61(0x184)]();if(!_0x1f13c2)return;if(_0x39a5e0[_0x423b61(0x161)](typeof _0x1f13c2[_0x423b61(0x148)],_0x39a5e0['jiqIo'])&&!_0x1f13c2['shouldScanForCommand'](_0x1a90e2))return;const _0x3d34cf=_0x11c6d6['getTrackedInstance']&&_0x11c6d6['getTrackedInstance']();if(!_0x3d34cf)return;const _0x2fd0fd=Array['isArray'](_0x3d34cf[_0x423b61(0x149)](_0x39a5e0['pckhZ']))?_0x3d34cf[_0x423b61(0x149)](_0x39a5e0[_0x423b61(0x171)]):[];if(_0x39a5e0[_0x423b61(0x161)](_0x2fd0fd[_0x423b61(0x14c)],0x0))return;try{const _0x2c31c7=_0x39a5e0[_0x423b61(0x169)](require,_0x39a5e0[_0x423b61(0x154)]),_0x57642f=_0x39a5e0[_0x423b61(0x153)](typeof _0x3d34cf['getAllData'],_0x39a5e0[_0x423b61(0x127)])?_0x3d34cf['getAllData']():null;if(_0x57642f&&_0x39a5e0[_0x423b61(0x13c)](typeof _0x57642f['values'],_0x39a5e0[_0x423b61(0x127)])&&_0x39a5e0['TvqYw'](typeof _0x1f13c2['isEnabledTestcase'],_0x39a5e0[_0x423b61(0x127)])){let _0x41ba22=null,_0x235b7e='';for(const _0x2b592a of _0x57642f['values']()){if(!_0x2b592a)continue;const _0xc9d669=_0x2b592a[_0x2c31c7['KEY_TEST_STARTED_AT']],_0x45b2e3=_0x2b592a[_0x2c31c7[_0x423b61(0x16a)]];_0xc9d669&&(_0x39a5e0['bHGZe'](_0x45b2e3,_0x39a5e0['XbnQM'])||_0x39a5e0['DyXcT'](_0x45b2e3,_0x2c31c7[_0x423b61(0x138)]))&&(_0x39a5e0[_0x423b61(0x150)](_0xc9d669,_0x235b7e)&&(_0x235b7e=_0xc9d669,_0x41ba22=_0x2b592a));}if(_0x41ba22){const _0x50d386=_0x41ba22[_0x2c31c7[_0x423b61(0x189)]]||[],_0x2644b6=_0x41ba22[_0x2c31c7['KEY_TEST_NAME']]||_0x39a5e0[_0x423b61(0x174)],_0x4f429d=_0x1f13c2[_0x423b61(0x13b)](_0x50d386,null,_0x39a5e0[_0x423b61(0x151)]);if(!_0x4f429d){logger[_0x423b61(0x145)](_0x423b61(0x18e)+_0x1a90e2+_0x423b61(0x14d)+_0x2644b6+_0x423b61(0x186)+JSON[_0x423b61(0x13f)](_0x50d386)+_0x423b61(0x141));return;}}}}catch(_0x246fce){logger[_0x423b61(0x145)](_0x423b61(0x15c)+(_0x246fce[_0x423b61(0x130)]||_0x246fce));}const _0x12ca5b=_0x39a5e0[_0x423b61(0x165)](require,_0x39a5e0['ekhMx']);for(const {platformIndex:_0x64703d,instance:_0x1dacd0}of _0x5138a0[_0x423b61(0x177)]()){const _0x532906=_0xdd2e1b[_0x423b61(0x17a)](_0x1dacd0,_0x185611[_0x423b61(0x134)],null);if(!_0x532906)continue;const _0x1a0007=_0x2fd0fd[_0x64703d]||_0x2fd0fd[0x0]||'';try{await _0x12ca5b['runScan'](_0x532906,_0x1a0007,_0x1a90e2,![]);}catch(_0x5b7500){logger['debug']('[testcafe-action-patcher]\x20performScan\x20pi='+_0x64703d+'\x20cmd='+_0x1a90e2+_0x423b61(0x126)+(_0x5b7500[_0x423b61(0x130)]||_0x5b7500));}}}catch(_0x338873){logger[_0x423b61(0x145)](_0x423b61(0x12b)+(_0x338873[_0x423b61(0x130)]||_0x338873));}}function install(_0x4b9f38){const _0x4cdb67=a75_0xf728f9,_0x299234={'lovOF':function(_0x28d4c9,_0x321b28){return _0x28d4c9(_0x321b28);},'VBxak':function(_0x531bca,_0x3aebde){return _0x531bca!==_0x3aebde;},'IbQWi':_0x4cdb67(0x18a),'RYQwN':function(_0x20fc3f,_0x2a24fa){return _0x20fc3f===_0x2a24fa;},'GWpvu':_0x4cdb67(0x188),'AhXSF':function(_0x4c8fb2){return _0x4c8fb2();},'nzjRk':_0x4cdb67(0x15f),'GOztR':function(_0x4865ae,_0x3ddd43){return _0x4865ae!==_0x3ddd43;},'CeUYe':_0x4cdb67(0x185),'zdPAK':function(_0x3debd1,_0x5cc55c){return _0x3debd1===_0x5cc55c;},'GRmcd':function(_0x5f3a2f,_0x59c9f7){return _0x5f3a2f===_0x59c9f7;}};if(_installed)return;if(!Array[_0x4cdb67(0x13e)](_0x4b9f38)||_0x299234[_0x4cdb67(0x15e)](_0x4b9f38[_0x4cdb67(0x14c)],0x0)){logger[_0x4cdb67(0x145)](_0x299234[_0x4cdb67(0x173)]);return;}let _0x4d1a4f;try{_0x4d1a4f=_0x299234[_0x4cdb67(0x147)](_requireTestController);}catch(_0x2418c9){logger[_0x4cdb67(0x145)](_0x4cdb67(0x17e)+(_0x2418c9[_0x4cdb67(0x130)]||_0x2418c9));return;}if(!_0x4d1a4f||!_0x4d1a4f[_0x4cdb67(0x175)]){logger[_0x4cdb67(0x145)](_0x299234[_0x4cdb67(0x146)]);return;}const _0x5a5cf9=_0x4d1a4f['prototype'];let _0x4c255d=0x0;function _0x1ff926(_0x566fbf){const _0x11235f=_0x4cdb67;let _0xd1ce3d=_0x5a5cf9;while(_0xd1ce3d){const _0x326e0c=Object[_0x11235f(0x164)](_0xd1ce3d,_0x566fbf);if(_0x326e0c){const _0x3d5e0f={};return _0x3d5e0f['descriptor']=_0x326e0c,_0x3d5e0f[_0x11235f(0x187)]=_0xd1ce3d,_0x3d5e0f;}_0xd1ce3d=Object[_0x11235f(0x131)](_0xd1ce3d);}return null;}for(const _0x5a0d42 of _0x4b9f38){if(!_0x5a0d42||_0x299234[_0x4cdb67(0x157)](_0x5a0d42['module'],_0x299234[_0x4cdb67(0x125)]))continue;const _0x23908c=_0x5a0d42['name'],_0x3f2cbc=_0x299234[_0x4cdb67(0x158)](_0x1ff926,_0x23908c);if(!_0x3f2cbc)continue;const {descriptor:_0x1141f5,owner:_0x3192e6}=_0x3f2cbc;if(_0x1141f5[_0x4cdb67(0x18f)])continue;let _0x56087a;if(_0x299234[_0x4cdb67(0x152)](typeof _0x1141f5['value'],_0x299234[_0x4cdb67(0x17d)])){const _0x178ce1=_0x1141f5[_0x4cdb67(0x142)];_0x56087a={'configurable':!![],'writable':!![],'enumerable':_0x1141f5[_0x4cdb67(0x17f)],'value':function(..._0x458cf2){const _0x5023a6=_0x4cdb67;return _0x299234[_0x5023a6(0x158)](_performScanForAllDrivers,_0x23908c)['catch'](()=>{}),_0x178ce1[_0x5023a6(0x181)](this,_0x458cf2);}};}else{if(_0x299234[_0x4cdb67(0x14e)](typeof _0x1141f5[_0x4cdb67(0x128)],_0x299234['IbQWi'])){const _0x45940c=_0x1141f5[_0x4cdb67(0x128)];_0x56087a={'configurable':!![],'enumerable':_0x1141f5[_0x4cdb67(0x17f)],'get'(){const _0x2b377d=_0x4cdb67,_0x3bfc38={'POyRB':function(_0x584834,_0x487d63){const _0x46f7fc=a75_0x2180;return _0x299234[_0x46f7fc(0x158)](_0x584834,_0x487d63);}},_0x53a39f=_0x45940c[_0x2b377d(0x179)](this);if(_0x299234[_0x2b377d(0x135)](typeof _0x53a39f,_0x299234[_0x2b377d(0x17d)]))return _0x53a39f;return function(..._0x57eeaa){const _0x34d1b6=_0x2b377d;return _0x3bfc38[_0x34d1b6(0x166)](_performScanForAllDrivers,_0x23908c)['catch'](()=>{}),_0x53a39f[_0x34d1b6(0x181)](this,_0x57eeaa);};},'set':_0x1141f5['set']||function(){}};}else continue;}_0x56087a[_0x4cdb67(0x18f)]=!![];try{Object['defineProperty'](_0x3192e6,_0x23908c,_0x56087a);const _0xf7a848={};_0xf7a848[_0x4cdb67(0x187)]=_0x3192e6,_0xf7a848[_0x4cdb67(0x140)]=_0x1141f5,_patchedDescriptors[_0x4cdb67(0x155)](_0x23908c,_0xf7a848),_0x4c255d+=0x1;}catch(_0x208255){logger[_0x4cdb67(0x145)](_0x4cdb67(0x172)+_0x23908c+':\x20'+(_0x208255[_0x4cdb67(0x130)]||_0x208255));}}_installed=!![],logger['info'](_0x4cdb67(0x16d)+_0x4c255d+'/'+_0x4b9f38[_0x4cdb67(0x14c)]+'\x20TestController\x20methods\x20for\x20accessibility\x20scanning');}function uninstall(){const _0x92e0f4=a75_0xf728f9,_0x359701={};_0x359701[_0x92e0f4(0x16f)]='[testcafe-action-patcher]\x20uninstalled';const _0x1807b1=_0x359701;if(!_installed)return;for(const [_0x151e11,{owner:_0x2df865,originalDescriptor:_0x37ad9e}]of _patchedDescriptors){try{Object[_0x92e0f4(0x12d)](_0x2df865,_0x151e11,_0x37ad9e);}catch(_0x4dd8fd){logger[_0x92e0f4(0x145)](_0x92e0f4(0x168)+_0x151e11+':\x20'+(_0x4dd8fd[_0x92e0f4(0x130)]||_0x4dd8fd));}}_patchedDescriptors[_0x92e0f4(0x12c)](),_installed=![],logger['debug'](_0x1807b1[_0x92e0f4(0x16f)]);}const a75_0x2aa3dd={};a75_0x2aa3dd[a75_0xf728f9(0x156)]=install,a75_0x2aa3dd[a75_0xf728f9(0x162)]=uninstall,module[a75_0xf728f9(0x12f)]=a75_0x2aa3dd;
|
|
1
|
+
'use strict';const a75_0x4c2ebb=a75_0x3ae1;(function(_0x2c38f2,_0x97d13e){const _0x52713a=a75_0x3ae1,_0xb3b9af=_0x2c38f2();while(!![]){try{const _0x3b39d8=-parseInt(_0x52713a(0x1ab))/0x1*(-parseInt(_0x52713a(0x1e1))/0x2)+parseInt(_0x52713a(0x1d9))/0x3+parseInt(_0x52713a(0x209))/0x4+-parseInt(_0x52713a(0x1d0))/0x5*(parseInt(_0x52713a(0x1e5))/0x6)+-parseInt(_0x52713a(0x1d3))/0x7+-parseInt(_0x52713a(0x1dc))/0x8*(parseInt(_0x52713a(0x1b3))/0x9)+-parseInt(_0x52713a(0x1ff))/0xa*(-parseInt(_0x52713a(0x1b9))/0xb);if(_0x3b39d8===_0x97d13e)break;else _0xb3b9af['push'](_0xb3b9af['shift']());}catch(_0x18e7f6){_0xb3b9af['push'](_0xb3b9af['shift']());}}}(a75_0x52a8,0xbfee8));const logger=require(a75_0x4c2ebb(0x1f8))[a75_0x4c2ebb(0x1ac)];function a75_0x3ae1(_0x563c64,_0x2a984e){const _0x52a83f=a75_0x52a8();return a75_0x3ae1=function(_0x3ae16d,_0x56f2c7){_0x3ae16d=_0x3ae16d-0x1a3;let _0x4ac6fc=_0x52a83f[_0x3ae16d];return _0x4ac6fc;},a75_0x3ae1(_0x563c64,_0x2a984e);}let _installed=![];function a75_0x52a8(){const _0x44e292=['catch','KEY_TEST_RESULT','owner','ybPHy','dRoLg','nnzQN','nJQdj','prototype','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','module','values','sCkdT','DEFAULT_TEST_RESULT','value','getInstance','aNaJC','dirname','pending','../../helpers/logger','zaTqD','originalDescriptor','debug','getAccessibilityModule','length','uninstall','320510JNOcke','defineProperty','./a11y-runner','qUKdD','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','\x20testName=','call','getData','test-controller','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','1933696FATACV','__currentPlatformUuids','getState','[testcafe-action-patcher]\x20wrapped\x20','yhXoR','../v2/browserstackCLI','XvFlx','cucumber','DKMOX','install','clear','KEY_TEST_STARTED_AT','gNRaE','exports','PmNoV','KEY_TEST_TAGS','getAllData','info','MRxim','WbdaV','OVRdY','11kczahm','winstonLogger','message','[testcafe-action-patcher]\x20uninstalled','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','\x20cmd=','testController','getTrackedInstance','284886udiHFy','KEY_TEST_NAME','FpGyP','FgGiv','\x20tags=','name','451PgqHQM','resolve','cwd','fOVOC','AaNxn','AEJbO','bQxqJ','join','fdMZG','lib','../v2/framework/testcafeAutomationFramework','set','default','isEnabledTestcase','enumerable','api','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','../v2/framework/testFramework','isRunning','../v2/modules/testcafeDriverModule','PbwXN','XBYpa','5tJCYpO','getOwnPropertyDescriptor','DAcNd','1557080yblhtB','iterAllInstances','shouldScanForCommand','testcafe/package.json','bnEQI','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','522054iQJTzY','TkPIc','\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)','136ZVzRNS','fmPFC','isArray','EfJVz','path','39086BtopJg','lIOWs','dOXxC','../v2/framework/constants/testFrameworkConstants','3838776TpLDNN'];a75_0x52a8=function(){return _0x44e292;};return a75_0x52a8();}const _patchedDescriptors=new Map();function _requireTestController(){const _0x4deb1f=a75_0x4c2ebb,_0xda3342={'yhXoR':function(_0x4bffdf,_0x3aa617){return _0x4bffdf(_0x3aa617);},'sCkdT':_0x4deb1f(0x1e0),'dRoLg':_0x4deb1f(0x1d6),'ybPHy':_0x4deb1f(0x1c2),'FgGiv':_0x4deb1f(0x1c8),'bnEQI':_0x4deb1f(0x207)},_0x550a8d=_0xda3342[_0x4deb1f(0x20d)](require,_0xda3342[_0x4deb1f(0x1f1)]),_0x4266da=_0x550a8d[_0x4deb1f(0x1f6)](require[_0x4deb1f(0x1ba)](_0xda3342[_0x4deb1f(0x1ea)],{'paths':[process[_0x4deb1f(0x1bb)]()]})),_0x2a6425=_0x550a8d[_0x4deb1f(0x1c0)](_0x4266da,_0xda3342[_0x4deb1f(0x1e9)],_0xda3342[_0x4deb1f(0x1b6)],_0xda3342[_0x4deb1f(0x1d7)]),_0x539228=_0xda3342[_0x4deb1f(0x20d)](require,_0x2a6425);return _0x539228&&(_0x539228[_0x4deb1f(0x1c5)]||_0x539228);}async function _performScanForAllDrivers(_0x3f30c9){const _0x5896ee=a75_0x4c2ebb,_0x3d22e9={'PbwXN':function(_0x2e4b86,_0x2266dd){return _0x2e4b86(_0x2266dd);},'AaNxn':_0x5896ee(0x20e),'lIOWs':function(_0xe35a4b,_0x5e6025){return _0xe35a4b(_0x5e6025);},'GBfmO':_0x5896ee(0x1c3),'MRxim':function(_0x1dcba5,_0x479564){return _0x1dcba5(_0x479564);},'NOjdl':'../v2/framework/automationFramework','neLOM':function(_0x2594c9,_0x59f273){return _0x2594c9(_0x59f273);},'AEJbO':_0x5896ee(0x1cd),'fOVOC':function(_0x46c35c,_0x40905b){return _0x46c35c(_0x40905b);},'qUKdD':_0x5896ee(0x1cb),'zaTqD':function(_0x38e6f4,_0x15b010){return _0x38e6f4===_0x15b010;},'TkPIc':'function','DKMOX':_0x5896ee(0x20a),'OVRdY':function(_0x81aeaa,_0xd2bf4a){return _0x81aeaa===_0xd2bf4a;},'WbdaV':_0x5896ee(0x1e4),'FpGyP':function(_0x4abee9,_0x24ebe8){return _0x4abee9===_0x24ebe8;},'gNRaE':_0x5896ee(0x1f7),'XBYpa':function(_0x11baa8,_0x33b3c0){return _0x11baa8>_0x33b3c0;},'fmPFC':'<unnamed>','dOXxC':_0x5896ee(0x210),'DAcNd':_0x5896ee(0x201)};try{const _0x38ae72=_0x3d22e9[_0x5896ee(0x1ce)](require,_0x3d22e9[_0x5896ee(0x1bd)]),_0x33fb7f=_0x3d22e9[_0x5896ee(0x1e2)](require,_0x3d22e9['GBfmO']),_0x355f3=_0x3d22e9['MRxim'](require,_0x3d22e9['NOjdl']),_0x3bab7e=_0x3d22e9['neLOM'](require,_0x3d22e9[_0x5896ee(0x1be)]),_0x2f54e7=_0x3d22e9[_0x5896ee(0x1bc)](require,_0x3d22e9[_0x5896ee(0x202)]),_0x4b75c9=_0x38ae72[_0x5896ee(0x1f4)]();if(!_0x4b75c9||!_0x4b75c9[_0x5896ee(0x1cc)]())return;const _0xd982a7=_0x4b75c9[_0x5896ee(0x1fc)]&&_0x4b75c9[_0x5896ee(0x1fc)]();if(!_0xd982a7)return;if(_0x3d22e9[_0x5896ee(0x1f9)](typeof _0xd982a7['shouldScanForCommand'],_0x3d22e9[_0x5896ee(0x1da)])&&!_0xd982a7[_0x5896ee(0x1d5)](_0x3f30c9))return;const _0x2eabb3=_0x2f54e7['getTrackedInstance']&&_0x2f54e7[_0x5896ee(0x1b2)]();if(!_0x2eabb3)return;const _0x44d225=Array['isArray'](_0x2eabb3[_0x5896ee(0x206)](_0x3d22e9[_0x5896ee(0x211)]))?_0x2eabb3[_0x5896ee(0x206)](_0x3d22e9[_0x5896ee(0x211)]):[];if(_0x3d22e9[_0x5896ee(0x1aa)](_0x44d225[_0x5896ee(0x1fd)],0x0))return;try{const _0x5aba78=_0x3d22e9[_0x5896ee(0x1a8)](require,_0x3d22e9[_0x5896ee(0x1a9)]),_0x2d5f09=_0x3d22e9['zaTqD'](typeof _0x2eabb3[_0x5896ee(0x1a6)],_0x3d22e9[_0x5896ee(0x1da)])?_0x2eabb3[_0x5896ee(0x1a6)]():null;if(_0x2d5f09&&_0x3d22e9[_0x5896ee(0x1f9)](typeof _0x2d5f09[_0x5896ee(0x1f0)],_0x3d22e9['TkPIc'])&&_0x3d22e9[_0x5896ee(0x1b5)](typeof _0xd982a7[_0x5896ee(0x1c6)],_0x3d22e9[_0x5896ee(0x1da)])){let _0x300bba=null,_0x19bce9='';for(const _0x4b6183 of _0x2d5f09[_0x5896ee(0x1f0)]()){if(!_0x4b6183)continue;const _0x31497a=_0x4b6183[_0x5aba78[_0x5896ee(0x214)]],_0x1ec2c3=_0x4b6183[_0x5aba78[_0x5896ee(0x1e7)]];_0x31497a&&(_0x3d22e9[_0x5896ee(0x1f9)](_0x1ec2c3,_0x3d22e9[_0x5896ee(0x215)])||_0x3d22e9[_0x5896ee(0x1f9)](_0x1ec2c3,_0x5aba78[_0x5896ee(0x1f2)]))&&(_0x3d22e9[_0x5896ee(0x1cf)](_0x31497a,_0x19bce9)&&(_0x19bce9=_0x31497a,_0x300bba=_0x4b6183));}if(_0x300bba){const _0x4c9343=_0x300bba[_0x5aba78[_0x5896ee(0x1a5)]]||[],_0x2ebb3e=_0x300bba[_0x5aba78[_0x5896ee(0x1b4)]]||_0x3d22e9[_0x5896ee(0x1dd)],_0x19e597=_0xd982a7[_0x5896ee(0x1c6)](_0x4c9343,null,_0x3d22e9[_0x5896ee(0x1e3)]);if(!_0x19e597){logger[_0x5896ee(0x1fb)](_0x5896ee(0x1ca)+_0x3f30c9+_0x5896ee(0x204)+_0x2ebb3e+_0x5896ee(0x1b7)+JSON['stringify'](_0x4c9343)+_0x5896ee(0x1db));return;}}}}catch(_0x40af09){logger[_0x5896ee(0x1fb)](_0x5896ee(0x1d8)+(_0x40af09[_0x5896ee(0x1ad)]||_0x40af09));}const _0x4d746a=_0x3d22e9[_0x5896ee(0x1bc)](require,_0x3d22e9[_0x5896ee(0x1d2)]);for(const {platformIndex:_0x49d504,instance:_0x2bef00}of _0x33fb7f[_0x5896ee(0x1d4)]()){const _0x287b9b=_0x355f3[_0x5896ee(0x20b)](_0x2bef00,_0x3bab7e['KEY_DRIVER'],null);if(!_0x287b9b)continue;const _0x59c7cd=_0x44d225[_0x49d504]||_0x44d225[0x0]||'';try{await _0x4d746a['runScan'](_0x287b9b,_0x59c7cd,_0x3f30c9,![]);}catch(_0x5405d0){logger['debug']('[testcafe-action-patcher]\x20performScan\x20pi='+_0x49d504+_0x5896ee(0x1b0)+_0x3f30c9+'\x20failed:\x20'+(_0x5405d0['message']||_0x5405d0));}}}catch(_0x113cec){logger['debug'](_0x5896ee(0x1c9)+(_0x113cec['message']||_0x113cec));}}function install(_0x5788c9){const _0x3e8881=a75_0x4c2ebb,_0x342a1b={'gskTH':function(_0x4d2b0b,_0x4c137e){return _0x4d2b0b(_0x4c137e);},'QyxrV':function(_0xdf2a93,_0x2dd5ce){return _0xdf2a93(_0x2dd5ce);},'uRnKa':function(_0x200f11,_0x744e45){return _0x200f11!==_0x744e45;},'aNaJC':'function','pBCzY':function(_0x36ebfe,_0x182f10){return _0x36ebfe===_0x182f10;},'nnzQN':_0x3e8881(0x208),'XvFlx':function(_0x15c882){return _0x15c882();},'EGQky':_0x3e8881(0x1af),'nJQdj':function(_0x932970,_0x5b7a17){return _0x932970!==_0x5b7a17;},'bQxqJ':_0x3e8881(0x1b1),'QnZaJ':function(_0x5ca343,_0x2a8740){return _0x5ca343(_0x2a8740);},'EfJVz':function(_0x55c9d5,_0x28fbca){return _0x55c9d5===_0x28fbca;}};if(_installed)return;if(!Array[_0x3e8881(0x1de)](_0x5788c9)||_0x342a1b['pBCzY'](_0x5788c9[_0x3e8881(0x1fd)],0x0)){logger['debug'](_0x342a1b[_0x3e8881(0x1eb)]);return;}let _0x5d32a1;try{_0x5d32a1=_0x342a1b[_0x3e8881(0x20f)](_requireTestController);}catch(_0x3b2a44){logger[_0x3e8881(0x1fb)]('[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20'+(_0x3b2a44['message']||_0x3b2a44));return;}if(!_0x5d32a1||!_0x5d32a1['prototype']){logger['debug'](_0x342a1b['EGQky']);return;}const _0x50f564=_0x5d32a1[_0x3e8881(0x1ed)];let _0x566106=0x0;function _0x3a1de0(_0x1067fd){const _0x2f40a0=_0x3e8881;let _0x49ed21=_0x50f564;while(_0x49ed21){const _0x4f1f78=Object[_0x2f40a0(0x1d1)](_0x49ed21,_0x1067fd);if(_0x4f1f78){const _0x215a37={};return _0x215a37['descriptor']=_0x4f1f78,_0x215a37[_0x2f40a0(0x1e8)]=_0x49ed21,_0x215a37;}_0x49ed21=Object['getPrototypeOf'](_0x49ed21);}return null;}for(const _0xa06fff of _0x5788c9){if(!_0xa06fff||_0x342a1b[_0x3e8881(0x1ec)](_0xa06fff[_0x3e8881(0x1ef)],_0x342a1b[_0x3e8881(0x1bf)]))continue;const _0x4775e7=_0xa06fff[_0x3e8881(0x1b8)],_0x204c71=_0x342a1b['QnZaJ'](_0x3a1de0,_0x4775e7);if(!_0x204c71)continue;const {descriptor:_0x653957,owner:_0x2b1c2b}=_0x204c71;if(_0x653957['__bstack_a11y_wrapped'])continue;let _0x110f08;if(_0x342a1b[_0x3e8881(0x1df)](typeof _0x653957['value'],_0x342a1b[_0x3e8881(0x1f5)])){const _0x54953d=_0x653957[_0x3e8881(0x1f3)];_0x110f08={'configurable':!![],'writable':!![],'enumerable':_0x653957[_0x3e8881(0x1c7)],'value':function(..._0x280b0a){const _0x140318=_0x3e8881;return _0x342a1b['gskTH'](_performScanForAllDrivers,_0x4775e7)[_0x140318(0x1e6)](()=>{}),_0x54953d['apply'](this,_0x280b0a);}};}else{if(_0x342a1b[_0x3e8881(0x1df)](typeof _0x653957['get'],_0x342a1b['aNaJC'])){const _0x5c84a8=_0x653957['get'];_0x110f08={'configurable':!![],'enumerable':_0x653957[_0x3e8881(0x1c7)],'get'(){const _0x21e056=_0x3e8881,_0x21cc8e={'fdMZG':function(_0x1e3a30,_0x483cc5){return _0x342a1b['QyxrV'](_0x1e3a30,_0x483cc5);}},_0x351417=_0x5c84a8[_0x21e056(0x205)](this);if(_0x342a1b['uRnKa'](typeof _0x351417,_0x342a1b[_0x21e056(0x1f5)]))return _0x351417;return function(..._0x2bebdf){const _0x5bc6e4=_0x21e056;return _0x21cc8e[_0x5bc6e4(0x1c1)](_performScanForAllDrivers,_0x4775e7)['catch'](()=>{}),_0x351417['apply'](this,_0x2bebdf);};},'set':_0x653957[_0x3e8881(0x1c4)]||function(){}};}else continue;}_0x110f08['__bstack_a11y_wrapped']=!![];try{Object[_0x3e8881(0x200)](_0x2b1c2b,_0x4775e7,_0x110f08);const _0x481b45={};_0x481b45['owner']=_0x2b1c2b,_0x481b45[_0x3e8881(0x1fa)]=_0x653957,_patchedDescriptors[_0x3e8881(0x1c4)](_0x4775e7,_0x481b45),_0x566106+=0x1;}catch(_0x20a2e1){logger['debug'](_0x3e8881(0x203)+_0x4775e7+':\x20'+(_0x20a2e1['message']||_0x20a2e1));}}_installed=!![],logger[_0x3e8881(0x1a7)](_0x3e8881(0x20c)+_0x566106+'/'+_0x5788c9['length']+_0x3e8881(0x1ee));}function uninstall(){const _0x2545b0=a75_0x4c2ebb,_0x50ee31={};_0x50ee31[_0x2545b0(0x1a4)]=_0x2545b0(0x1ae);const _0x2bd54e=_0x50ee31;if(!_installed)return;for(const [_0x11621c,{owner:_0xc0cd54,originalDescriptor:_0x1ed1af}]of _patchedDescriptors){try{Object[_0x2545b0(0x200)](_0xc0cd54,_0x11621c,_0x1ed1af);}catch(_0x287248){logger['debug']('[testcafe-action-patcher]\x20could\x20not\x20restore\x20'+_0x11621c+':\x20'+(_0x287248[_0x2545b0(0x1ad)]||_0x287248));}}_patchedDescriptors[_0x2545b0(0x213)](),_installed=![],logger[_0x2545b0(0x1fb)](_0x2bd54e[_0x2545b0(0x1a4)]);}const a75_0x3f5f76={};a75_0x3f5f76[a75_0x4c2ebb(0x212)]=install,a75_0x3f5f76[a75_0x4c2ebb(0x1fe)]=uninstall,module[a75_0x4c2ebb(0x1a3)]=a75_0x3f5f76;
|