browserstack-node-sdk 1.58.0 → 1.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a65_0xbbbdc4=a65_0x179a;(function(_0x346887,_0x802113){const _0x5e853a=a65_0x179a,_0x5104fd=_0x346887();while(!![]){try{const _0x57a800=-parseInt(_0x5e853a(0x184))/0x1*(parseInt(_0x5e853a(0x188))/0x2)+-parseInt(_0x5e853a(0x13f))/0x3*(parseInt(_0x5e853a(0x16e))/0x4)+parseInt(_0x5e853a(0x186))/0x5+parseInt(_0x5e853a(0x25a))/0x6+-parseInt(_0x5e853a(0x25e))/0x7*(-parseInt(_0x5e853a(0x1d9))/0x8)+parseInt(_0x5e853a(0x14d))/0x9*(-parseInt(_0x5e853a(0x242))/0xa)+-parseInt(_0x5e853a(0x1bc))/0xb;if(_0x57a800===_0x802113)break;else _0x5104fd['push'](_0x5104fd['shift']());}catch(_0x1a1340){_0x5104fd['push'](_0x5104fd['shift']());}}}(a65_0x4f77,0x3065f));function a65_0x179a(_0x48f0f1,_0x157e06){const _0x4f777c=a65_0x4f77();return a65_0x179a=function(_0x179a94,_0x288938){_0x179a94=_0x179a94-0x13e;let _0x6c4423=_0x4f777c[_0x179a94];return _0x6c4423;},a65_0x179a(_0x48f0f1,_0x157e06);}const path=require(a65_0xbbbdc4(0x19b)),logger=require(a65_0xbbbdc4(0x23d))[a65_0xbbbdc4(0x1bd)],helper=require(a65_0xbbbdc4(0x213)),utilities=require('../../helpers/utilities'),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require(a65_0xbbbdc4(0x146)),GrpcClient=require(a65_0xbbbdc4(0x1fe)),{printBuildLink}=require(a65_0xbbbdc4(0x1f7)),registry=require(a65_0xbbbdc4(0x23c)),detectPeerDeps=()=>{const _0x328d7c=a65_0xbbbdc4,_0x2ec4e6={};_0x2ec4e6[_0x328d7c(0x142)]='testcafe',_0x2ec4e6[_0x328d7c(0x243)]='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 _0x351d7c=_0x2ec4e6;try{require[_0x328d7c(0x189)](_0x351d7c[_0x328d7c(0x142)],{'paths':[process[_0x328d7c(0x21f)]()]});}catch(_0x23af01){throw new Error(_0x351d7c['RNObz']);}},loadTestCafeFactory=()=>{const _0x5aad60=a65_0xbbbdc4,_0x1455af={'zDiiN':_0x5aad60(0x22c),'gzPLL':function(_0x30bbcd,_0x346190){return _0x30bbcd(_0x346190);}},_0x1d739e=require[_0x5aad60(0x189)](_0x1455af[_0x5aad60(0x1d5)],{'paths':[process[_0x5aad60(0x21f)]()]});return _0x1455af[_0x5aad60(0x196)](require,_0x1d739e);},w3cDriver=require(a65_0xbbbdc4(0x1a9)),KNOWN_LOCAL_BROWSERS=new Set([a65_0xbbbdc4(0x217),a65_0xbbbdc4(0x1aa),a65_0xbbbdc4(0x149),'safari',a65_0xbbbdc4(0x1f3),'ie',a65_0xbbbdc4(0x216),a65_0xbbbdc4(0x23f),a65_0xbbbdc4(0x14c),a65_0xbbbdc4(0x244)]),looksLikeBrowserArg=_0x180c79=>{const _0x33e397=a65_0xbbbdc4,_0x31e6cd={};_0x31e6cd[_0x33e397(0x155)]=_0x33e397(0x1e6),_0x31e6cd[_0x33e397(0x219)]=function(_0x2a36c3,_0x26de9c){return _0x2a36c3!==_0x26de9c;},_0x31e6cd[_0x33e397(0x167)]=_0x33e397(0x232),_0x31e6cd[_0x33e397(0x193)]='chrome:',_0x31e6cd[_0x33e397(0x24a)]=_0x33e397(0x255);const _0x337655=_0x31e6cd,_0x29916a=_0x337655[_0x33e397(0x155)]['split']('|');let _0x40cff3=0x0;while(!![]){switch(_0x29916a[_0x40cff3++]){case'0':if(_0x180c79[_0x33e397(0x241)](':')&&!_0x180c79['includes']('/'))return!![];continue;case'1':if(_0x337655[_0x33e397(0x219)](typeof _0x180c79,_0x337655[_0x33e397(0x167)]))return![];continue;case'2':return![];case'3':if(KNOWN_LOCAL_BROWSERS['has'](_0x180c79[_0x33e397(0x17b)]()))return!![];continue;case'4':if(_0x180c79[_0x33e397(0x220)](_0x337655[_0x33e397(0x193)])||_0x180c79[_0x33e397(0x220)](_0x337655[_0x33e397(0x24a)]))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x5103ec=>{const _0x18cda2=a65_0xbbbdc4,_0x164e53={'JOdnY':function(_0x1a2901,_0x2192fc){return _0x1a2901<_0x2192fc;},'bBGij':function(_0x37f073,_0x16b27d){return _0x37f073===_0x16b27d;},'yGGmZ':_0x18cda2(0x166),'qToAJ':_0x18cda2(0x1d8),'AUODo':_0x18cda2(0x173),'snICk':function(_0x28dca9,_0x19739b,_0x2925c8){return _0x28dca9(_0x19739b,_0x2925c8);},'MKPqc':function(_0x24a541,_0x4595e9){return _0x24a541+_0x4595e9;},'nxPRK':function(_0x2107eb,_0x22da20){return _0x2107eb+_0x22da20;},'GUxPV':function(_0x5d4460,_0x1c7d87,_0x36746b){return _0x5d4460(_0x1c7d87,_0x36746b);},'wKKvi':function(_0x1b1862,_0x539758){return _0x1b1862+_0x539758;},'GeojM':function(_0x34b11c,_0x41d5f4,_0x1aacef){return _0x34b11c(_0x41d5f4,_0x1aacef);},'wqRtD':function(_0x40d574,_0x26cf79){return _0x40d574(_0x26cf79);}},_0x183058=[];let _0x57bf77;for(let _0x112b11=0x0;_0x164e53[_0x18cda2(0x18a)](_0x112b11,_0x5103ec[_0x18cda2(0x159)]);_0x112b11++){const _0x126d9d=_0x5103ec[_0x112b11];if(_0x164e53[_0x18cda2(0x1c5)](_0x126d9d,'-b')||_0x164e53['bBGij'](_0x126d9d,_0x164e53['yGGmZ'])){_0x112b11++;continue;}if(_0x126d9d['startsWith'](_0x164e53[_0x18cda2(0x192)])||_0x126d9d[_0x18cda2(0x220)](_0x164e53[_0x18cda2(0x203)]))continue;const _0x20dfbe=_0x126d9d[_0x18cda2(0x160)](_CONCURRENCY_PATTERN);if(_0x20dfbe){if(_0x20dfbe[0x1]){_0x57bf77=_0x164e53[_0x18cda2(0x1ef)](parseInt,_0x20dfbe[0x1],0xa);continue;}if(_0x5103ec[_0x164e53['MKPqc'](_0x112b11,0x1)]&&/^\d+$/[_0x18cda2(0x1b6)](_0x5103ec[_0x164e53[_0x18cda2(0x223)](_0x112b11,0x1)])){_0x57bf77=_0x164e53[_0x18cda2(0x171)](parseInt,_0x5103ec[_0x164e53[_0x18cda2(0x1d2)](_0x112b11,0x1)],0xa),_0x112b11++;continue;}continue;}const _0x21fb04=_0x126d9d[_0x18cda2(0x160)](/^-c(\d+)$/);if(_0x21fb04){_0x57bf77=_0x164e53[_0x18cda2(0x246)](parseInt,_0x21fb04[0x1],0xa);continue;}if(_0x164e53[_0x18cda2(0x1d7)](looksLikeBrowserArg,_0x126d9d))continue;_0x183058[_0x18cda2(0x17e)](_0x126d9d);}const _0x525a91={};return _0x525a91['testSources']=_0x183058,_0x525a91[_0x18cda2(0x207)]=_0x57bf77,_0x525a91;},parseCapabilities=_0x1f5d72=>{const _0x3fc183=a65_0xbbbdc4,_0x5d00d5={};_0x5d00d5[_0x3fc183(0x1eb)]=_0x3fc183(0x252),_0x5d00d5[_0x3fc183(0x177)]=_0x3fc183(0x226);const _0x527a7a=_0x5d00d5,_0x92014f=_0x1f5d72[_0x3fc183(0x161)]&&_0x1f5d72[_0x3fc183(0x161)]()||_0x1f5d72['capabilities'];if(!_0x92014f)throw new Error(_0x527a7a[_0x3fc183(0x1eb)]);const _0x439046=Buffer[_0x3fc183(0x1c0)](_0x92014f)?_0x92014f:Buffer[_0x3fc183(0x1ad)](_0x92014f),_0x33d4f7=JSON['parse'](_0x439046['toString'](_0x527a7a[_0x3fc183(0x177)])['trim']());if(_0x33d4f7[_0x3fc183(0x1cf)])return _0x33d4f7['desiredCapabilities'];if(_0x33d4f7[_0x3fc183(0x22d)]&&_0x33d4f7['capabilities']['alwaysMatch'])return _0x33d4f7[_0x3fc183(0x22d)][_0x3fc183(0x212)];return _0x33d4f7;};async function provisionSession(_0x4d5531,_0x1cc7c6){const _0x29a87f=a65_0xbbbdc4,_0x14ab0c={'DEUQN':_0x29a87f(0x22c),'RAuCt':function(_0x469c86,_0x3c8c2d){return _0x469c86(_0x3c8c2d);}};logger[_0x29a87f(0x248)](_0x29a87f(0x1d1)+_0x1cc7c6+']');const _0x152412=await _0x4d5531[_0x29a87f(0x1c3)](),_0x12b212=await GrpcClient[_0x29a87f(0x16c)]()[_0x29a87f(0x200)]({'platformIndex':_0x1cc7c6,'ref':_0x14ab0c[_0x29a87f(0x16d)],'userInputParams':Buffer[_0x29a87f(0x1ad)](JSON[_0x29a87f(0x209)]({})),'hubUrl':''}),_0x19833c=_0x14ab0c['RAuCt'](parseCapabilities,_0x12b212),_0x45f9b5=(_0x12b212['getHubUrl']&&_0x12b212[_0x29a87f(0x1a5)]()||_0x12b212['hubUrl']||'')[_0x29a87f(0x237)]()||BrowserstackCLI['getInstance']()?.[_0x29a87f(0x19c)]()?.[_0x29a87f(0x1ee)]||process['env'][_0x29a87f(0x17a)];if(!_0x45f9b5)throw new Error(_0x29a87f(0x249)+_0x1cc7c6+_0x29a87f(0x198));logger['info'](_0x29a87f(0x179)+_0x1cc7c6+_0x29a87f(0x24d)+_0x45f9b5);const _0x3c5fc8={};_0x3c5fc8['hubUrl']=_0x45f9b5,_0x3c5fc8[_0x29a87f(0x22d)]=_0x19833c;const {driver:_0x42cbec,sessionId:_0x7edfea}=await w3cDriver[_0x29a87f(0x1dd)](_0x3c5fc8);await _0x42cbec[_0x29a87f(0x1b7)](_0x152412[_0x29a87f(0x15c)]);const _0x1af509={};_0x1af509[_0x29a87f(0x256)]=_0x1cc7c6,_0x1af509[_0x29a87f(0x25b)]=_0x42cbec,_0x1af509['sessionId']=_0x7edfea,_0x1af509[_0x29a87f(0x1e8)]=_0x152412,_0x1af509[_0x29a87f(0x22d)]=_0x19833c,_0x1af509[_0x29a87f(0x1ee)]=_0x45f9b5,registry[_0x29a87f(0x22e)](_0x1af509),logger[_0x29a87f(0x248)](_0x29a87f(0x179)+_0x1cc7c6+_0x29a87f(0x1a2)+_0x7edfea+_0x29a87f(0x227)+_0x152412[_0x29a87f(0x15c)]);const _0x2c61a6={};return _0x2c61a6[_0x29a87f(0x1e8)]=_0x152412,_0x2c61a6['sessionId']=_0x7edfea,_0x2c61a6[_0x29a87f(0x25b)]=_0x42cbec,_0x2c61a6[_0x29a87f(0x256)]=_0x1cc7c6,_0x2c61a6[_0x29a87f(0x22d)]=_0x19833c,_0x2c61a6[_0x29a87f(0x1ee)]=_0x45f9b5,_0x2c61a6;}async function run(_0x3ce776,_0x2241ad,_0x949517){const _0x1c1a1c=a65_0xbbbdc4,_0x26aeb8={'PsQQw':function(_0x3af2eb,_0x2f2f07){return _0x3af2eb(_0x2f2f07);},'YynXu':function(_0x2a9b83,_0x4f2f8b,_0x31a289){return _0x2a9b83(_0x4f2f8b,_0x31a289);},'EMHyw':function(_0x210dbb,_0x3db678){return _0x210dbb===_0x3db678;},'vTUtt':_0x1c1a1c(0x225),'sIwhx':function(_0x1c26ca,_0x1a6f54){return _0x1c26ca/_0x1a6f54;},'VngpM':function(_0x4b1ab6,_0x18f394){return _0x4b1ab6/_0x18f394;},'yoHlH':function(_0x561459,_0x1eece7){return _0x561459(_0x1eece7);},'dgIvw':_0x1c1a1c(0x1fd),'VJwzV':function(_0x55a89a,_0x2979f9){return _0x55a89a===_0x2979f9;},'hKLri':_0x1c1a1c(0x232),'GUtID':_0x1c1a1c(0x16b),'CQZNX':function(_0xd3b01){return _0xd3b01();},'fxONO':_0x1c1a1c(0x25d),'TeDiZ':function(_0x4b925e,_0x333e48){return _0x4b925e===_0x333e48;},'dMgOf':_0x1c1a1c(0x222),'dnBfH':function(_0x3f28ed,_0x38205e){return _0x3f28ed(_0x38205e);},'wlcEv':function(_0x329811,_0x32c6d1){return _0x329811===_0x32c6d1;},'qGFtW':function(_0x5789ec,_0x148ce5){return _0x5789ec===_0x148ce5;},'PmGYA':function(_0x123e17,_0x1e38d2){return _0x123e17&&_0x1e38d2;},'DoyiK':function(_0x334286,_0x89d75){return _0x334286!==_0x89d75;},'QtFhI':_0x1c1a1c(0x17f),'LTaKO':'testcafe','sgzbT':_0x1c1a1c(0x1bf),'qTbEx':function(_0x49eb42,_0x475609){return _0x49eb42+_0x475609;},'VQDHD':function(_0x4a5b01,_0x40b2da){return _0x4a5b01+_0x40b2da;},'eenZm':_0x1c1a1c(0x21e),'rSkPa':'Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','IXSPJ':function(_0x56cdda,_0x54bde7){return _0x56cdda||_0x54bde7;},'UdRDt':function(_0x48ed44,_0x5a652a){return _0x48ed44===_0x5a652a;},'PIExC':function(_0x217407,_0xe4dce5){return _0x217407>_0xe4dce5;},'HcVEw':_0x1c1a1c(0x240),'PLwOZ':_0x1c1a1c(0x13e),'vnoHw':function(_0x9f4f1b,_0x2e038c){return _0x9f4f1b+_0x2e038c;},'WfSdB':function(_0x1b881e,_0x5b911f){return _0x1b881e(_0x5b911f);},'oWkVd':function(_0x1cace0,_0x27554a){return _0x1cace0===_0x27554a;},'pCuUM':'[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','lyxzn':function(_0x16eb2a,_0x3b073f){return _0x16eb2a||_0x3b073f;},'IDZUN':_0x1c1a1c(0x257),'ojAiM':function(_0x5afc4f){return _0x5afc4f();},'xxcOz':'bs-local.com','hoqoE':function(_0xd6b7a9,_0x4a998b){return _0xd6b7a9(_0x4a998b);},'hzaxu':'./stdout-interceptor','khhvL':function(_0x5933b2,_0x42eb6){return _0x5933b2>_0x42eb6;},'PdKCQ':function(_0x1daac5,_0x2426a4){return _0x1daac5(_0x2426a4);},'Lbhea':'./testcafe-action-patcher','YUecD':_0x1c1a1c(0x162),'ZzdZX':_0x1c1a1c(0x158),'krCbY':_0x1c1a1c(0x148),'QcJLO':function(_0x54c7e6,_0x5ddc00){return _0x54c7e6(_0x5ddc00);},'DzbUZ':_0x1c1a1c(0x24e),'lkchX':_0x1c1a1c(0x14a),'KoIKV':function(_0x53b06b,_0x5c988c){return _0x53b06b===_0x5c988c;},'ETosB':function(_0x45797e,_0x3a9ad9){return _0x45797e===_0x3a9ad9;},'VlGBO':function(_0x2f7876,_0x1a48f2){return _0x2f7876(_0x1a48f2);},'Pqojx':_0x1c1a1c(0x1fb),'DtdxC':function(_0x41d104,_0x61e573){return _0x41d104<_0x61e573;},'FznZh':function(_0x387ab5,_0x4f4822){return _0x387ab5===_0x4f4822;},'HNsHP':'--browsers','jUKbA':function(_0x571e89,_0x3f5323){return _0x571e89+_0x3f5323;},'RpZYf':_0x1c1a1c(0x1d8),'IpWnp':_0x1c1a1c(0x173),'zuLZz':function(_0x35ffed,_0x2b6718){return _0x35ffed(_0x2b6718);},'AQfhq':function(_0x357b71,_0x59ce9f){return _0x357b71===_0x59ce9f;},'zESFG':'chrome','RPsZp':'testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','IZSOV':'spec','MvFgH':function(_0x386788,_0x4b21d1){return _0x386788===_0x4b21d1;},'OicNO':_0x1c1a1c(0x1b9),'PlEkr':function(_0x3cbb29,_0x25b12d){return _0x3cbb29===_0x25b12d;},'kFzrd':function(_0x130702){return _0x130702();},'LvMpg':function(_0x2fb291,_0x424964,_0x44c651){return _0x2fb291(_0x424964,_0x44c651);},'imVoH':function(_0x48d3ed,_0x1cc125){return _0x48d3ed===_0x1cc125;},'MZOXy':function(_0x548b8a,_0x1bfaa1){return _0x548b8a>_0x1bfaa1;},'USanM':function(_0x345111,_0x3a6032){return _0x345111*_0x3a6032;},'hhKzm':function(_0x4fab3c,_0x5d568b){return _0x4fab3c+_0x5d568b;},'ObTuF':_0x1c1a1c(0x210),'ZyMPh':_0x1c1a1c(0x154),'evYCX':function(_0x5f1d78){return _0x5f1d78();},'aBMqj':function(_0xb520a7,_0x15709b){return _0xb520a7===_0x15709b;}};_0x26aeb8['CQZNX'](detectPeerDeps);if(!_0x949517[_0x1c1a1c(0x208)]){logger[_0x1c1a1c(0x23e)](_0x26aeb8[_0x1c1a1c(0x1ae)]);return;}const _0x29d00f=_0x949517[_0x1c1a1c(0x208)],_0x190deb=_0x26aeb8[_0x1c1a1c(0x1e2)](_0x29d00f[_0x1c1a1c(0x221)],![])||_0x26aeb8[_0x1c1a1c(0x1e0)](_0x29d00f['browserstackAutomation'],_0x26aeb8[_0x1c1a1c(0x1c8)])||_0x26aeb8['VJwzV'](_0x26aeb8[_0x1c1a1c(0x215)](String,_0x29d00f[_0x1c1a1c(0x221)]||'')['toLowerCase'](),_0x26aeb8[_0x1c1a1c(0x1c8)]),_0xe32ce0=_0x26aeb8[_0x1c1a1c(0x1f1)](_0x29d00f[_0x1c1a1c(0x1f2)],![])||_0x26aeb8[_0x1c1a1c(0x1e2)](_0x29d00f['browserstackLocal'],_0x26aeb8[_0x1c1a1c(0x1c8)])||_0x26aeb8[_0x1c1a1c(0x1e0)](_0x26aeb8['dnBfH'](String,_0x26aeb8[_0x1c1a1c(0x19d)](_0x29d00f[_0x1c1a1c(0x1f2)],undefined)?'':_0x29d00f[_0x1c1a1c(0x1f2)])[_0x1c1a1c(0x17b)](),_0x26aeb8[_0x1c1a1c(0x1c8)]);_0x26aeb8['PmGYA'](!_0x190deb,!_0xe32ce0)&&_0x26aeb8[_0x1c1a1c(0x172)](_0x29d00f[_0x1c1a1c(0x1f2)],!![])&&(logger['info'](_0x26aeb8[_0x1c1a1c(0x234)]),_0x29d00f[_0x1c1a1c(0x1f2)]=!![]);await _0x949517[_0x1c1a1c(0x164)](_0x3ce776),CLIUtils[_0x1c1a1c(0x1cb)](_0x26aeb8[_0x1c1a1c(0x1ba)],_0x26aeb8[_0x1c1a1c(0x1ba)]),BrowserstackCLI[_0x1c1a1c(0x16c)]()['setBrowserstackConfig'](_0x949517['config'],_0x949517[_0x1c1a1c(0x24c)],_0x949517[_0x1c1a1c(0x150)]);try{await BrowserstackCLI[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x228)]();if(!BrowserstackCLI['getInstance']()[_0x1c1a1c(0x224)]())throw new Error(_0x26aeb8[_0x1c1a1c(0x14f)]);}catch(_0x349e03){process[_0x1c1a1c(0x19a)][_0x1c1a1c(0x1c9)](_0x26aeb8['qTbEx'](_0x26aeb8[_0x1c1a1c(0x20e)](_0x1c1a1c(0x1cc)+_0x349e03[_0x1c1a1c(0x22a)]+'\x0a',_0x26aeb8['eenZm']),_0x26aeb8[_0x1c1a1c(0x1b0)])),logger[_0x1c1a1c(0x23e)](_0x1c1a1c(0x21c)+(_0x349e03[_0x1c1a1c(0x21d)]||_0x349e03)),process[_0x1c1a1c(0x190)]=0x1;return;}const _0x42ba7a=BrowserstackCLI[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x19c)](),_0x21219b=_0x949517['config']||{};let _0xbca9ba=_0x26aeb8[_0x1c1a1c(0x199)](_0x42ba7a,_0x21219b)||{},_0x46fb93=Array[_0x1c1a1c(0x1e1)](_0xbca9ba[_0x1c1a1c(0x1a3)])?_0xbca9ba[_0x1c1a1c(0x1a3)]:[];_0x26aeb8[_0x1c1a1c(0x181)](_0x46fb93[_0x1c1a1c(0x159)],0x0)&&Array[_0x1c1a1c(0x1e1)](_0x21219b['platforms'])&&_0x26aeb8[_0x1c1a1c(0x18b)](_0x21219b['platforms'][_0x1c1a1c(0x159)],0x0)&&(logger['warn'](_0x1c1a1c(0x19e)+_0x21219b['platforms'][_0x1c1a1c(0x159)]+')'),_0xbca9ba=_0x21219b,_0x46fb93=_0x21219b['platforms']);if(_0x26aeb8[_0x1c1a1c(0x19d)](_0x46fb93[_0x1c1a1c(0x159)],0x0)){process['stderr'][_0x1c1a1c(0x1c9)](_0x26aeb8[_0x1c1a1c(0x165)]),process[_0x1c1a1c(0x190)]=0x1;return;}if(_0x26aeb8[_0x1c1a1c(0x181)](_0xbca9ba[_0x1c1a1c(0x16a)],!![])||_0xbca9ba['percy']&&_0xbca9ba[_0x1c1a1c(0x16a)][_0x1c1a1c(0x15d)]){const _0x240f20=_0x26aeb8[_0x1c1a1c(0x1a6)];process['stderr'][_0x1c1a1c(0x1c9)](_0x26aeb8['vnoHw'](_0x240f20,'\x0a')),logger[_0x1c1a1c(0x17c)](_0x240f20);}const {testSources:_0x3cbbd0,concurrency:_0x1d8ee1}=_0x26aeb8['WfSdB'](filterArgs,_0x2241ad[_0x1c1a1c(0x169)](0x1));if(_0x26aeb8[_0x1c1a1c(0x194)](_0x3cbbd0['length'],0x0)){process[_0x1c1a1c(0x19a)][_0x1c1a1c(0x1c9)](_0x26aeb8[_0x1c1a1c(0x170)]),process['exitCode']=0x1;return;}logger[_0x1c1a1c(0x248)](_0x1c1a1c(0x23a)+JSON[_0x1c1a1c(0x209)](_0x3cbbd0)+_0x1c1a1c(0x1b3)+_0x46fb93[_0x1c1a1c(0x159)]+',\x20concurrency='+_0x26aeb8[_0x1c1a1c(0x1ed)](_0x1d8ee1,_0x26aeb8[_0x1c1a1c(0x144)]));let _0x3c2eec;try{_0x3c2eec=_0x26aeb8[_0x1c1a1c(0x230)](loadTestCafeFactory);}catch(_0x4d58d0){process[_0x1c1a1c(0x19a)][_0x1c1a1c(0x1c9)](_0x1c1a1c(0x1e4)+_0x4d58d0[_0x1c1a1c(0x22a)]+'\x0a'),process[_0x1c1a1c(0x190)]=0x1;return;}const _0x469b5b=await _0x26aeb8['PsQQw'](_0x3c2eec,_0x26aeb8['xxcOz']);let _0x462e1e=0x1;const _0x3ca914=0x7530,_0x5b0454=[],_0x1d1c11=(_0x364e20,_0xb96023)=>{const _0x4f3ec3=_0x1c1a1c,_0x267353={'LBLvg':function(_0x2de2d1,_0x2797da){const _0x4354cf=a65_0x179a;return _0x26aeb8[_0x4354cf(0x1da)](_0x2de2d1,_0x2797da);}},_0x361f8e=_0x26aeb8[_0x4f3ec3(0x204)](setInterval,async()=>{const _0x1bb710=_0x4f3ec3;try{await _0x364e20[_0x1bb710(0x1b4)]();}catch(_0x505e93){logger[_0x1bb710(0x201)](_0x1bb710(0x1f6)+_0xb96023+':\x20'+_0x505e93[_0x1bb710(0x22a)]+'\x20—\x20stopping\x20pings\x20for\x20this\x20session'),_0x267353[_0x1bb710(0x1c2)](clearInterval,_0x361f8e);}},_0x3ca914);_0x26aeb8[_0x4f3ec3(0x1b8)](typeof _0x361f8e[_0x4f3ec3(0x214)],_0x26aeb8[_0x4f3ec3(0x1e5)])&&_0x361f8e['unref'](),_0x5b0454[_0x4f3ec3(0x17e)](_0x361f8e);},_0x92354b=()=>{const _0x1b04d6=_0x1c1a1c;for(const _0x245d19 of _0x5b0454){_0x26aeb8[_0x1b04d6(0x1da)](clearInterval,_0x245d19);}_0x5b0454[_0x1b04d6(0x159)]=0x0;};_0x462e1e=0x0;const _0x383b2e=_0x26aeb8[_0x1c1a1c(0x187)](require,_0x26aeb8[_0x1c1a1c(0x20d)]);_0x383b2e[_0x1c1a1c(0x156)]();try{const _0x3a5f90=BrowserstackCLI['getInstance']()[_0x1c1a1c(0x1a8)]&&BrowserstackCLI[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x1a8)](),_0x3be80a=_0x3a5f90&&_0x3a5f90[_0x1c1a1c(0x1de)]&&_0x3a5f90['accessibilityConfig'][_0x1c1a1c(0x238)]&&_0x3a5f90[_0x1c1a1c(0x1de)]['options'][_0x1c1a1c(0x176)]&&(_0x3a5f90[_0x1c1a1c(0x1de)][_0x1c1a1c(0x238)]['commandsToWrap'][_0x1c1a1c(0x254)]||_0x3a5f90['accessibilityConfig']['options'][_0x1c1a1c(0x176)][_0x1c1a1c(0x14b)]);if(Array[_0x1c1a1c(0x1e1)](_0x3be80a)&&_0x26aeb8['khhvL'](_0x3be80a[_0x1c1a1c(0x159)],0x0)){const _0x15f3a4=_0x26aeb8[_0x1c1a1c(0x247)](require,_0x26aeb8[_0x1c1a1c(0x1d3)]),_0x295f48=_0x3be80a[_0x1c1a1c(0x195)](_0x2d800e=>({'name':_0x2d800e[_0x1c1a1c(0x1e7)]&&_0x2d800e[_0x1c1a1c(0x1e7)]()||_0x2d800e[_0x1c1a1c(0x1bb)],'module':_0x2d800e['getModule']&&_0x2d800e[_0x1c1a1c(0x197)]()||_0x2d800e[_0x1c1a1c(0x18f)],'method':_0x2d800e[_0x1c1a1c(0x245)]&&_0x2d800e['getMethod']()||_0x2d800e['method']}));_0x15f3a4['install'](_0x295f48);}else logger[_0x1c1a1c(0x201)](_0x26aeb8['YUecD']);}catch(_0x2b9ffd){logger[_0x1c1a1c(0x201)](_0x1c1a1c(0x1dc)+(_0x2b9ffd[_0x1c1a1c(0x22a)]||_0x2b9ffd));}let _0x37c417='',_0x2b4fb9=null;try{const _0x4488cc=await GrpcClient[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x1a4)]();_0x37c417=_0x4488cc[_0x1c1a1c(0x175)]&&_0x4488cc[_0x1c1a1c(0x175)]()||_0x4488cc['rerunTestGrep']||'';if(_0x37c417)try{_0x2b4fb9=new RegExp(_0x37c417),logger[_0x1c1a1c(0x248)]('testcafe/command.js:\x20applied\x20rerun\x20filter\x20'+_0x37c417);}catch(_0x296c5e){const _0x567470=_0x1c1a1c(0x1a1)+_0x296c5e[_0x1c1a1c(0x22a)]+_0x1c1a1c(0x1db)+_0x37c417;process['stderr'][_0x1c1a1c(0x1c9)](_0x26aeb8[_0x1c1a1c(0x16f)](_0x567470,'\x0a')),logger[_0x1c1a1c(0x23e)](_0x567470),process['exitCode']=0x1;return;}}catch(_0x238ed2){if(process[_0x1c1a1c(0x1d6)][_0x1c1a1c(0x1a7)]){const _0x25b71d=_0x26aeb8[_0x1c1a1c(0x182)];process[_0x1c1a1c(0x19a)]['write'](_0x25b71d),logger['error'](_0x1c1a1c(0x1fc)+_0x238ed2[_0x1c1a1c(0x22a)]),process[_0x1c1a1c(0x190)]=0x1;return;}logger['debug'](_0x26aeb8[_0x1c1a1c(0x141)],_0x238ed2);}const _0x19450d=_0x26aeb8[_0x1c1a1c(0x206)](require,path['resolve'](__dirname,_0x26aeb8[_0x1c1a1c(0x205)],_0x26aeb8[_0x1c1a1c(0x1af)])),_0x5cacfd=_0x26aeb8['KoIKV'](_0xbca9ba[_0x1c1a1c(0x221)],![])||_0x26aeb8[_0x1c1a1c(0x250)](_0xbca9ba[_0x1c1a1c(0x221)],_0x26aeb8[_0x1c1a1c(0x1c8)])||_0x26aeb8[_0x1c1a1c(0x19f)](_0x26aeb8[_0x1c1a1c(0x1b2)](String,_0xbca9ba['browserstackAutomation']||'')[_0x1c1a1c(0x17b)](),_0x26aeb8[_0x1c1a1c(0x1c8)]);if(_0x5cacfd){logger[_0x1c1a1c(0x248)](_0x26aeb8[_0x1c1a1c(0x259)]);const _0x46fc67=[];for(let _0x3d1a6b=0x0;_0x26aeb8[_0x1c1a1c(0x145)](_0x3d1a6b,_0x2241ad[_0x1c1a1c(0x159)]);_0x3d1a6b++){const _0x3ef24d=_0x2241ad[_0x3d1a6b];if(_0x26aeb8[_0x1c1a1c(0x22b)](_0x3ef24d,'-b')||_0x26aeb8['UdRDt'](_0x3ef24d,_0x26aeb8['HNsHP'])){_0x2241ad[_0x26aeb8[_0x1c1a1c(0x233)](_0x3d1a6b,0x1)]&&_0x46fc67[_0x1c1a1c(0x17e)](_0x2241ad[_0x26aeb8[_0x1c1a1c(0x1f0)](_0x3d1a6b,0x1)]);_0x3d1a6b++;continue;}if(_0x3ef24d[_0x1c1a1c(0x220)](_0x26aeb8[_0x1c1a1c(0x163)])){_0x46fc67[_0x1c1a1c(0x17e)](_0x3ef24d['slice'](_0x26aeb8[_0x1c1a1c(0x163)][_0x1c1a1c(0x159)]));continue;}if(_0x3ef24d[_0x1c1a1c(0x220)](_0x26aeb8['IpWnp'])){_0x46fc67[_0x1c1a1c(0x17e)](_0x3ef24d[_0x1c1a1c(0x169)](_0x26aeb8['IpWnp'][_0x1c1a1c(0x159)]));continue;}_0x26aeb8['zuLZz'](looksLikeBrowserArg,_0x3ef24d)&&_0x46fc67[_0x1c1a1c(0x17e)](_0x3ef24d);}_0x26aeb8[_0x1c1a1c(0x143)](_0x46fc67[_0x1c1a1c(0x159)],0x0)&&(_0x46fc67[_0x1c1a1c(0x17e)](_0x26aeb8[_0x1c1a1c(0x231)]),logger[_0x1c1a1c(0x248)](_0x26aeb8[_0x1c1a1c(0x17d)]));let _0xc689f2=0x1;try{const _0x439672=_0x469b5b['createRunner']();_0x439672[_0x1c1a1c(0x180)](_0x3cbbd0),_0x439672[_0x1c1a1c(0x153)](_0x46fc67),_0x439672[_0x1c1a1c(0x24e)]([_0x26aeb8['IZSOV'],_0x19450d]),_0x26aeb8[_0x1c1a1c(0x253)](typeof _0x1d8ee1,_0x26aeb8[_0x1c1a1c(0x1c4)])&&_0x26aeb8['PIExC'](_0x1d8ee1,0x0)&&_0x439672[_0x1c1a1c(0x207)](_0x1d8ee1),_0x2b4fb9&&_0x439672[_0x1c1a1c(0x1a0)](_0x469052=>_0x2b4fb9['test'](_0x469052)),_0xc689f2=await _0x439672['run'](),logger['info']('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0xc689f2);}catch(_0x37fd04){logger['error']('testcafe/command.js:\x20local\x20run\x20failed\x20—\x20'+(_0x37fd04[_0x1c1a1c(0x21d)]||_0x37fd04)),process[_0x1c1a1c(0x19a)]['write']('[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20'+_0x37fd04[_0x1c1a1c(0x22a)]+'\x0a'),_0xc689f2=0x1;}finally{_0x462e1e=_0xc689f2;try{_0x383b2e[_0x1c1a1c(0x23b)]();}catch(_0x16bf2f){}try{await _0x469b5b[_0x1c1a1c(0x1df)]();}catch(_0x280a53){logger['debug'](_0x1c1a1c(0x15a)+_0x280a53[_0x1c1a1c(0x22a)]);}try{const _0x10b373=BrowserstackCLI['getInstance']()[_0x1c1a1c(0x1c1)]();_0x10b373&&_0x26aeb8[_0x1c1a1c(0x185)](typeof _0x10b373['finalizeOrphans'],_0x26aeb8['vTUtt'])&&await _0x10b373[_0x1c1a1c(0x1ec)]();}catch(_0x343cd0){logger['debug'](_0x1c1a1c(0x1ce)+_0x343cd0['message']);}const _0x126a1a=BrowserstackCLI[_0x1c1a1c(0x1f8)]();await BrowserstackCLI[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x1f9)]()['catch'](_0x291cb9=>{const _0x257c55=_0x1c1a1c;logger[_0x257c55(0x201)]('BrowserstackCLI.stop\x20error:\x20'+_0x291cb9['message']);}),_0x26aeb8[_0x1c1a1c(0x147)](printBuildLink),await utilities[_0x1c1a1c(0x18c)](_0x949517,_0x126a1a)['catch'](_0xa9a063=>{const _0x40b8a8=_0x1c1a1c;logger[_0x40b8a8(0x201)]('finalExecution\x20error:\x20'+_0xa9a063[_0x40b8a8(0x22a)]);}),process[_0x1c1a1c(0x190)]=_0x462e1e,logger[_0x1c1a1c(0x248)](_0x1c1a1c(0x20c)+_0x462e1e);}return;}try{for(let _0x6b68db=0x0;_0x26aeb8[_0x1c1a1c(0x145)](_0x6b68db,_0x46fb93[_0x1c1a1c(0x159)]);_0x6b68db++){logger[_0x1c1a1c(0x248)](_0x1c1a1c(0x14e)+_0x6b68db+_0x1c1a1c(0x21b)+_0x26aeb8[_0x1c1a1c(0x16f)](_0x6b68db,0x1)+'/'+_0x46fb93[_0x1c1a1c(0x159)]+')');let _0x385f82=0x1,_0x14148d=null,_0x572e8c=null;try{_0x14148d=await _0x26aeb8[_0x1c1a1c(0x251)](provisionSession,_0x469b5b,_0x6b68db),_0x26aeb8[_0x1c1a1c(0x251)](_0x1d1c11,_0x14148d[_0x1c1a1c(0x25b)],_0x14148d['sessionId']);const _0x24cec8=_0x469b5b[_0x1c1a1c(0x22f)]();_0x24cec8[_0x1c1a1c(0x180)](_0x3cbbd0),_0x24cec8[_0x1c1a1c(0x153)]([_0x14148d[_0x1c1a1c(0x1e8)]]),_0x24cec8[_0x1c1a1c(0x24e)]([_0x26aeb8[_0x1c1a1c(0x15f)],_0x19450d]);_0x26aeb8['imVoH'](typeof _0x1d8ee1,_0x26aeb8[_0x1c1a1c(0x1c4)])&&_0x26aeb8[_0x1c1a1c(0x1cd)](_0x1d8ee1,0x0)&&_0x24cec8[_0x1c1a1c(0x207)](_0x1d8ee1);_0x2b4fb9&&_0x24cec8[_0x1c1a1c(0x1a0)](_0x2cbeae=>_0x2b4fb9['test'](_0x2cbeae));const _0x51c170=_0xbca9ba&&_0xbca9ba[_0x1c1a1c(0x1d4)]||0x12c,_0x22c7f5=_0x26aeb8['USanM'](_0x26aeb8[_0x1c1a1c(0x236)](_0x51c170,0x3c),0x3e8);_0x385f82=await Promise[_0x1c1a1c(0x1e9)]([_0x24cec8[_0x1c1a1c(0x1c7)](),new Promise(_0x4e8333=>setTimeout(()=>{const _0x32b6d6=_0x1c1a1c;logger['warn']('testcafe/command.js:\x20platform['+_0x6b68db+_0x32b6d6(0x1c6)+_0x26aeb8['sIwhx'](_0x22c7f5,0x3e8)+_0x32b6d6(0x1f5)),_0x572e8c=_0x32b6d6(0x21a)+_0x26aeb8[_0x32b6d6(0x235)](_0x22c7f5,0x3e8)+_0x32b6d6(0x1f4),_0x26aeb8[_0x32b6d6(0x140)](_0x4e8333,0x1);},_0x22c7f5))]),logger[_0x1c1a1c(0x248)](_0x1c1a1c(0x20b)+_0x6b68db+_0x1c1a1c(0x152)+_0x385f82),_0x26aeb8[_0x1c1a1c(0x172)](_0x385f82,0x0)&&!_0x572e8c&&(_0x572e8c='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x385f82);}catch(_0x209f36){const _0x1bc1f2=((()=>{const _0x260ad1=_0x1c1a1c;if(!_0x209f36)return _0x26aeb8[_0x260ad1(0x1ac)];if(_0x26aeb8[_0x260ad1(0x1e2)](typeof _0x209f36,_0x26aeb8[_0x260ad1(0x151)]))return _0x209f36;if(_0x26aeb8[_0x260ad1(0x1e2)](typeof _0x209f36[_0x260ad1(0x22a)],_0x26aeb8[_0x260ad1(0x151)])&&_0x209f36[_0x260ad1(0x22a)])return _0x209f36[_0x260ad1(0x22a)];try{return JSON[_0x260ad1(0x209)](_0x209f36[_0x260ad1(0x22a)]??_0x209f36,null,0x2);}catch(_0x3093a6){const _0x41adf4={};return _0x41adf4[_0x260ad1(0x202)]=0x4,_0x26aeb8[_0x260ad1(0x1da)](require,_0x26aeb8['GUtID'])[_0x260ad1(0x25c)](_0x209f36['message']??_0x209f36,_0x41adf4);}})()),_0x284d6f={};_0x284d6f[_0x1c1a1c(0x229)]=_0x209f36&&_0x209f36['code'],_0x284d6f[_0x1c1a1c(0x24f)]=_0x209f36&&_0x209f36[_0x1c1a1c(0x24f)],_0x284d6f[_0x1c1a1c(0x1ff)]=_0x209f36&&_0x209f36[_0x1c1a1c(0x1ff)],_0x284d6f['name']=_0x209f36&&_0x209f36[_0x1c1a1c(0x1bb)],_0x284d6f[_0x1c1a1c(0x18e)]=_0x209f36&&_0x209f36[_0x1c1a1c(0x18e)]&&_0x209f36['constructor'][_0x1c1a1c(0x1bb)];const _0x2b45f7=_0x284d6f;logger[_0x1c1a1c(0x23e)]('testcafe/command.js:\x20platform['+_0x6b68db+_0x1c1a1c(0x191)+_0x1bc1f2+_0x1c1a1c(0x18d)+JSON['stringify'](_0x2b45f7)+')\x0a'+(_0x209f36&&_0x209f36[_0x1c1a1c(0x21d)]||'')),process[_0x1c1a1c(0x19a)][_0x1c1a1c(0x1c9)](_0x1c1a1c(0x20a)+_0x6b68db+_0x1c1a1c(0x183)+_0x1bc1f2+'\x0a'),_0x385f82=0x1,_0x572e8c=_0x1bc1f2;}finally{try{if(_0x14148d&&_0x26aeb8['DoyiK'](_0x14148d[_0x1c1a1c(0x256)],undefined)){const _0x1ca456=_0x26aeb8[_0x1c1a1c(0x181)](_0x385f82,0x0)?_0x26aeb8[_0x1c1a1c(0x1ea)]:_0x26aeb8['ZyMPh'],_0x6e8016=_0x572e8c;registry['markStatus'](_0x14148d[_0x1c1a1c(0x256)],_0x1ca456,_0x6e8016);}}catch(_0x56e6c8){logger['warn'](_0x1c1a1c(0x24b)+_0x6b68db+_0x1c1a1c(0x183)+_0x56e6c8[_0x1c1a1c(0x22a)]);}await registry['quitAll'](),_0x26aeb8[_0x1c1a1c(0x157)](_0x92354b);}_0x26aeb8[_0x1c1a1c(0x172)](_0x385f82,0x0)&&_0x26aeb8[_0x1c1a1c(0x218)](_0x462e1e,0x0)&&(_0x462e1e=_0x385f82);}}finally{try{_0x383b2e[_0x1c1a1c(0x23b)]();}catch(_0x44b92b){}try{await _0x469b5b[_0x1c1a1c(0x1df)]();}catch(_0x178c19){logger[_0x1c1a1c(0x201)](_0x1c1a1c(0x15a)+_0x178c19['message']);}try{const _0x5eb6d3=BrowserstackCLI['getInstance']()[_0x1c1a1c(0x1c1)]();_0x5eb6d3&&_0x26aeb8[_0x1c1a1c(0x19f)](typeof _0x5eb6d3[_0x1c1a1c(0x1ec)],_0x26aeb8['vTUtt'])&&await _0x5eb6d3[_0x1c1a1c(0x1ec)]();}catch(_0x1ccc78){logger['debug']('finalizeOrphans\x20error:\x20'+_0x1ccc78[_0x1c1a1c(0x22a)]);}const _0x28b4d3=BrowserstackCLI[_0x1c1a1c(0x1f8)]();await BrowserstackCLI[_0x1c1a1c(0x16c)]()[_0x1c1a1c(0x1f9)]()[_0x1c1a1c(0x211)](_0x21d306=>{const _0xd358af=_0x1c1a1c;logger[_0xd358af(0x201)](_0xd358af(0x1ca)+_0x21d306['message']);}),_0x26aeb8[_0x1c1a1c(0x230)](printBuildLink),await utilities['finalExecution'](_0x949517,_0x28b4d3)[_0x1c1a1c(0x211)](_0x3f78a6=>{const _0x3af4b5=_0x1c1a1c;logger[_0x3af4b5(0x201)]('finalExecution\x20error:\x20'+_0x3f78a6[_0x3af4b5(0x22a)]);}),process['exitCode']=_0x462e1e,logger[_0x1c1a1c(0x248)](_0x1c1a1c(0x20c)+_0x462e1e);}}let _isExiting=![];const propagateSignal=_0x323fb5=>{const _0x5f5a04=a65_0xbbbdc4,_0x3322bf={};_0x3322bf[_0x5f5a04(0x15b)]=_0x5f5a04(0x154),_0x3322bf[_0x5f5a04(0x1e3)]=_0x5f5a04(0x168),_0x3322bf[_0x5f5a04(0x1d0)]=_0x5f5a04(0x178);const _0x3a693b=_0x3322bf;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x27fa86=_0x5f5a04;try{const _0x2a7990=registry[_0x27fa86(0x1be)]();for(const _0xc48b97 of _0x2a7990){try{registry[_0x27fa86(0x15e)](_0xc48b97[_0x27fa86(0x256)],_0x3a693b[_0x27fa86(0x15b)],'Aborted\x20by\x20'+_0x323fb5+_0x27fa86(0x239));}catch(_0x1e0a31){}}await Promise['race']([registry['quitAll'](),new Promise(_0x376cec=>setTimeout(_0x376cec,0x1388))]);}catch(_0x5841f0){}process[_0x27fa86(0x20f)](_0x3a693b[_0x27fa86(0x1e3)],_sigintHandler),process[_0x27fa86(0x20f)](_0x3a693b[_0x27fa86(0x1d0)],_sigtermHandler),process[_0x27fa86(0x1fa)](process[_0x27fa86(0x1b1)],_0x323fb5);})());};function _sigintHandler(){const _0x1ed3cb=a65_0xbbbdc4,_0x44de87={'gdxZG':function(_0x2ee45c,_0x171aae){return _0x2ee45c(_0x171aae);},'gHKKM':_0x1ed3cb(0x168)};_0x44de87[_0x1ed3cb(0x1b5)](propagateSignal,_0x44de87[_0x1ed3cb(0x174)]);}function _sigtermHandler(){const _0x2a9bf4=a65_0xbbbdc4,_0x8f6a99={'ATNGA':function(_0x1b2833,_0x338267){return _0x1b2833(_0x338267);},'QnzVe':_0x2a9bf4(0x178)};_0x8f6a99[_0x2a9bf4(0x258)](propagateSignal,_0x8f6a99['QnzVe']);}process['on']('SIGINT',_sigintHandler),process['on'](a65_0xbbbdc4(0x178),_sigtermHandler),module[a65_0xbbbdc4(0x1ab)]=run;function a65_0x4f77(){const _0x42f3e6=['VngpM','hhKzm','trim','options','\x20before\x20runner.run()\x20completed','testcafe/command.js:\x20testSources=','uninstall','./session-registry','../../helpers/logger','error','chrome:headless','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','includes','580RSqgIF','RNObz','remote','getMethod','GeojM','PdKCQ','info','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','netnk','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','configPath',']\x20hubUrl=','reporter','type','KoIKV','LvMpg','DriverInit\x20returned\x20no\x20capabilities','MvFgH','commandsList','firefox:','platformIndex','default','ATNGA','Pqojx','1950696acwXHk','driver','inspect','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','7sSxaMO','[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.','687YXiaWu','yoHlH','krCbY','SSHTv','AQfhq','IDZUN','DtdxC','../v2/browserstackCLI','kFzrd','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','firefox','index.js','commands','firefox:headless','57816sqHvzY','testcafe/command.js:\x20starting\x20platform[','sgzbT','cliConfig','hKLri',']\x20finished\x20with\x20exit=','browsers','failed','TbrMm','install','evYCX','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','length','tc.close\x20error:\x20','xyyRf','url','projectToken','markStatus','IZSOV','match','getCapabilities','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','RpZYf','initialize','HcVEw','--browsers','hwJFq','SIGINT','slice','percy','util','getInstance','DEUQN','1088nUxSIh','qTbEx','pCuUM','GUxPV','DoyiK','-b=','gHKKM','getRerunTestGrep','commandsToWrap','cgOrm','SIGTERM','[testcafe]\x20platform[','BROWSERSTACK_HUB_URL','toLowerCase','warn','RPsZp','push','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','src','UdRDt','ZzdZX',']:\x20','1ieVyAj','PlEkr','656640JYGLBx','hoqoE','85322jgIRwj','resolve','JOdnY','PIExC','finalExecution','\x20(meta=','constructor','module','exitCode',']\x20run\x20failed\x20—\x20','qToAJ','bwCPo','oWkVd','map','gzPLL','getModule',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','IXSPJ','stderr','path','getConfig','qGFtW','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','ETosB','filter','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20',']\x20BrowserStack\x20session=','platforms','testCafeConfig','getHubUrl','PLwOZ','BROWSERSTACK_RERUN','getAccessibilityModule','./w3c-driver','chromium','exports','dgIvw','from','fxONO','lkchX','rSkPa','pid','VlGBO',',\x20platforms=','getCurrentUrl','gdxZG','test','navigateTo','EMHyw','number','LTaKO','name','1322893BusawH','winstonLogger','listEntries','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','isBuffer','getTestFramework','LBLvg','createBrowserConnection','OicNO','bBGij',']\x20runner.run()\x20timed\x20out\x20after\x20','run','dMgOf','write','BrowserstackCLI.stop\x20error:\x20','setFrameworkDetail','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','MZOXy','finalizeOrphans\x20error:\x20','desiredCapabilities','aMRua','[testcafe]\x20provisioning\x20session\x20for\x20platform[','wKKvi','Lbhea','idleTimeout','zDiiN','env','wqRtD','--browsers=','2716792HOJXBC','PsQQw','.\x20Pattern:\x20','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','openSession','accessibilityConfig','close','TeDiZ','isArray','VJwzV','jtOgn','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','vTUtt','1|0|3|4|2','getName','connection','race','ObTuF','UANmc','finalizeOrphans','lyxzn','hubUrl','snICk','vnoHw','wlcEv','browserstackLocal','edge','s\x20timeout\x20(idleTimeout\x20+\x2060s)','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','../../helpers/test-observability/utils','isCLIEnabled','stop','kill','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','unknown\x20error\x20(falsy)','../v2/grpcClient','data','driverInit','debug','depth','AUODo','YynXu','DzbUZ','QcJLO','concurrency','config','stringify','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','testcafe/command.js:\x20platform[','testcafe/command.js:\x20exit\x20code=','hzaxu','VQDHD','removeListener','passed','catch','alwaysMatch','../../helpers/helper','unref','dnBfH','opera','chrome','aBMqj','xgenu','runner.run()\x20exceeded\x20',']\x20(','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','stack','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','cwd','startsWith','browserstackAutomation','false','nxPRK','isRunning','function','utf8','\x20→\x20','bootstrap','code','message','FznZh','testcafe','capabilities','register','createRunner','ojAiM','zESFG','string','jUKbA','QtFhI'];a65_0x4f77=function(){return _0x42f3e6;};return a65_0x4f77();}
|
|
2
|
+
'use strict';const a65_0x5a8c0f=a65_0x298f;(function(_0x274961,_0xeee401){const _0x124a9f=a65_0x298f,_0x1a9a5a=_0x274961();while(!![]){try{const _0x58effc=parseInt(_0x124a9f(0x27b))/0x1+-parseInt(_0x124a9f(0x18e))/0x2*(-parseInt(_0x124a9f(0x192))/0x3)+-parseInt(_0x124a9f(0x179))/0x4+-parseInt(_0x124a9f(0x176))/0x5*(-parseInt(_0x124a9f(0x19f))/0x6)+parseInt(_0x124a9f(0x18f))/0x7+-parseInt(_0x124a9f(0x25d))/0x8+-parseInt(_0x124a9f(0x1b3))/0x9;if(_0x58effc===_0xeee401)break;else _0x1a9a5a['push'](_0x1a9a5a['shift']());}catch(_0x3f495c){_0x1a9a5a['push'](_0x1a9a5a['shift']());}}}(a65_0x2d65,0x7ba8b));const path=require(a65_0x5a8c0f(0x261)),logger=require(a65_0x5a8c0f(0x16e))[a65_0x5a8c0f(0x264)],helper=require(a65_0x5a8c0f(0x1b0)),utilities=require(a65_0x5a8c0f(0x220)),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require(a65_0x5a8c0f(0x258)),GrpcClient=require('../v2/grpcClient'),{printBuildLink}=require(a65_0x5a8c0f(0x171)),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x189bf3=a65_0x5a8c0f,_0x8d34fe={};_0x8d34fe[_0x189bf3(0x22f)]='testcafe',_0x8d34fe[_0x189bf3(0x207)]=_0x189bf3(0x262);const _0x17c7dc=_0x8d34fe;try{require[_0x189bf3(0x1ea)](_0x17c7dc[_0x189bf3(0x22f)],{'paths':[process[_0x189bf3(0x1db)]()]});}catch(_0x4fc71d){throw new Error(_0x17c7dc[_0x189bf3(0x207)]);}},loadTestCafeFactory=()=>{const _0xfa6cce=a65_0x5a8c0f,_0x3b7657={'XPDtm':_0xfa6cce(0x1cb),'lWIbO':function(_0x5d502f,_0x3c03e5){return _0x5d502f(_0x3c03e5);}},_0x2a9253=require['resolve'](_0x3b7657['XPDtm'],{'paths':[process[_0xfa6cce(0x1db)]()]});return _0x3b7657['lWIbO'](require,_0x2a9253);},w3cDriver=require('./w3c-driver'),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a65_0x5a8c0f(0x235),a65_0x5a8c0f(0x1d2),a65_0x5a8c0f(0x1b5),a65_0x5a8c0f(0x1f2),'ie','opera',a65_0x5a8c0f(0x16f),a65_0x5a8c0f(0x269),a65_0x5a8c0f(0x1a2)]),looksLikeBrowserArg=_0x43152e=>{const _0x3b2c6d=a65_0x5a8c0f,_0x4640b2={};_0x4640b2[_0x3b2c6d(0x213)]=_0x3b2c6d(0x1d0),_0x4640b2[_0x3b2c6d(0x1ec)]=function(_0x475d6f,_0x32bcdb){return _0x475d6f!==_0x32bcdb;},_0x4640b2['aLqVL']=_0x3b2c6d(0x254),_0x4640b2[_0x3b2c6d(0x219)]=_0x3b2c6d(0x1c1),_0x4640b2[_0x3b2c6d(0x194)]=_0x3b2c6d(0x24e);const _0x17d107=_0x4640b2,_0x3e817d=_0x17d107[_0x3b2c6d(0x213)][_0x3b2c6d(0x197)]('|');let _0x5273c6=0x0;while(!![]){switch(_0x3e817d[_0x5273c6++]){case'0':if(KNOWN_LOCAL_BROWSERS['has'](_0x43152e[_0x3b2c6d(0x247)]()))return!![];continue;case'1':if(_0x17d107['PhTiJ'](typeof _0x43152e,_0x17d107[_0x3b2c6d(0x20f)]))return![];continue;case'2':if(_0x43152e[_0x3b2c6d(0x243)](':')&&!_0x43152e['includes']('/'))return!![];continue;case'3':return![];case'4':if(_0x43152e[_0x3b2c6d(0x24c)](_0x17d107[_0x3b2c6d(0x219)])||_0x43152e[_0x3b2c6d(0x24c)](_0x17d107[_0x3b2c6d(0x194)]))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x211d71=>{const _0x3b2c1d=a65_0x5a8c0f,_0x5c3496={'LlYHt':function(_0x49f2fa,_0x39a40d){return _0x49f2fa<_0x39a40d;},'HmyPm':function(_0x452bb8,_0x4e7343){return _0x452bb8===_0x4e7343;},'xQdoi':'--browsers','SVoyZ':_0x3b2c1d(0x25a),'KBKfU':_0x3b2c1d(0x279),'oNbir':function(_0x1e2784,_0x1b581f,_0x4e3aac){return _0x1e2784(_0x1b581f,_0x4e3aac);},'gmnFe':function(_0x27366c,_0x2ca761){return _0x27366c+_0x2ca761;},'AyTnq':function(_0x4247d6,_0x1f32a9,_0x2224bd){return _0x4247d6(_0x1f32a9,_0x2224bd);},'vBiwv':function(_0x2d93db,_0x1c119c){return _0x2d93db(_0x1c119c);}},_0x20ad16=[];let _0x158f5e;for(let _0x2bc8ba=0x0;_0x5c3496['LlYHt'](_0x2bc8ba,_0x211d71[_0x3b2c1d(0x203)]);_0x2bc8ba++){const _0x23d93b=_0x211d71[_0x2bc8ba];if(_0x5c3496['HmyPm'](_0x23d93b,'-b')||_0x5c3496[_0x3b2c1d(0x1a3)](_0x23d93b,_0x5c3496['xQdoi'])){_0x2bc8ba++;continue;}if(_0x23d93b['startsWith'](_0x5c3496['SVoyZ'])||_0x23d93b[_0x3b2c1d(0x24c)](_0x5c3496[_0x3b2c1d(0x1d6)]))continue;const _0x3bbfa2=_0x23d93b[_0x3b2c1d(0x1cd)](_CONCURRENCY_PATTERN);if(_0x3bbfa2){if(_0x3bbfa2[0x1]){_0x158f5e=_0x5c3496[_0x3b2c1d(0x21d)](parseInt,_0x3bbfa2[0x1],0xa);continue;}if(_0x211d71[_0x5c3496[_0x3b2c1d(0x1fc)](_0x2bc8ba,0x1)]&&/^\d+$/[_0x3b2c1d(0x1cc)](_0x211d71[_0x5c3496[_0x3b2c1d(0x1fc)](_0x2bc8ba,0x1)])){_0x158f5e=_0x5c3496[_0x3b2c1d(0x211)](parseInt,_0x211d71[_0x5c3496[_0x3b2c1d(0x1fc)](_0x2bc8ba,0x1)],0xa),_0x2bc8ba++;continue;}continue;}const _0x55fcfd=_0x23d93b[_0x3b2c1d(0x1cd)](/^-c(\d+)$/);if(_0x55fcfd){_0x158f5e=_0x5c3496[_0x3b2c1d(0x21d)](parseInt,_0x55fcfd[0x1],0xa);continue;}if(_0x5c3496['vBiwv'](looksLikeBrowserArg,_0x23d93b))continue;_0x20ad16[_0x3b2c1d(0x209)](_0x23d93b);}const _0x585b00={};return _0x585b00[_0x3b2c1d(0x182)]=_0x20ad16,_0x585b00['concurrency']=_0x158f5e,_0x585b00;},parseCapabilities=_0x1d6e1f=>{const _0x2f2b67=a65_0x5a8c0f,_0x1f6c44={};_0x1f6c44[_0x2f2b67(0x1de)]='DriverInit\x20returned\x20no\x20capabilities',_0x1f6c44[_0x2f2b67(0x20a)]=_0x2f2b67(0x190);const _0x5dd532=_0x1f6c44,_0x165e30=_0x1d6e1f[_0x2f2b67(0x1b7)]&&_0x1d6e1f[_0x2f2b67(0x1b7)]()||_0x1d6e1f[_0x2f2b67(0x271)];if(!_0x165e30)throw new Error(_0x5dd532[_0x2f2b67(0x1de)]);const _0x4b6c9c=Buffer[_0x2f2b67(0x201)](_0x165e30)?_0x165e30:Buffer[_0x2f2b67(0x26f)](_0x165e30),_0x30e3ab=JSON[_0x2f2b67(0x221)](_0x4b6c9c[_0x2f2b67(0x242)](_0x5dd532['PclEU'])[_0x2f2b67(0x198)]());if(_0x30e3ab[_0x2f2b67(0x230)])return _0x30e3ab[_0x2f2b67(0x230)];if(_0x30e3ab[_0x2f2b67(0x271)]&&_0x30e3ab[_0x2f2b67(0x271)]['alwaysMatch'])return _0x30e3ab[_0x2f2b67(0x271)][_0x2f2b67(0x1fb)];return _0x30e3ab;};async function provisionSession(_0x474944,_0x4fa020){const _0x5691e6=a65_0x5a8c0f,_0x3f8d6f={'EPCcu':_0x5691e6(0x1cb),'MUZeE':function(_0x357a63,_0x60c242){return _0x357a63(_0x60c242);}};logger[_0x5691e6(0x1d7)](_0x5691e6(0x265)+_0x4fa020+']');const _0x17979c=await _0x474944[_0x5691e6(0x1ef)](),_0x2cab03=await GrpcClient['getInstance']()['driverInit']({'platformIndex':_0x4fa020,'ref':_0x3f8d6f['EPCcu'],'userInputParams':Buffer[_0x5691e6(0x26f)](JSON['stringify']({})),'hubUrl':''}),_0x481da8=_0x3f8d6f[_0x5691e6(0x1fa)](parseCapabilities,_0x2cab03),_0x194e08=(_0x2cab03[_0x5691e6(0x256)]&&_0x2cab03['getHubUrl']()||_0x2cab03[_0x5691e6(0x249)]||'')[_0x5691e6(0x198)]()||BrowserstackCLI[_0x5691e6(0x1fd)]()?.['getConfig']()?.[_0x5691e6(0x249)]||process[_0x5691e6(0x280)][_0x5691e6(0x17e)];if(!_0x194e08)throw new Error(_0x5691e6(0x25c)+_0x4fa020+_0x5691e6(0x267));logger[_0x5691e6(0x1d7)](_0x5691e6(0x1cf)+_0x4fa020+_0x5691e6(0x25f)+_0x194e08);const _0x3de71e={};_0x3de71e['hubUrl']=_0x194e08,_0x3de71e['capabilities']=_0x481da8;const {driver:_0x5d0952,sessionId:_0x5ea079}=await w3cDriver[_0x5691e6(0x237)](_0x3de71e);await _0x5d0952[_0x5691e6(0x1ce)](_0x17979c['url']);const _0xf2dbe5={};_0xf2dbe5[_0x5691e6(0x266)]=_0x4fa020,_0xf2dbe5['driver']=_0x5d0952,_0xf2dbe5[_0x5691e6(0x189)]=_0x5ea079,_0xf2dbe5['connection']=_0x17979c,_0xf2dbe5['capabilities']=_0x481da8,_0xf2dbe5[_0x5691e6(0x249)]=_0x194e08,registry[_0x5691e6(0x1c0)](_0xf2dbe5),logger['info'](_0x5691e6(0x1cf)+_0x4fa020+']\x20BrowserStack\x20session='+_0x5ea079+_0x5691e6(0x226)+_0x17979c[_0x5691e6(0x19d)]);const _0x7e236e={};return _0x7e236e[_0x5691e6(0x282)]=_0x17979c,_0x7e236e[_0x5691e6(0x189)]=_0x5ea079,_0x7e236e[_0x5691e6(0x172)]=_0x5d0952,_0x7e236e[_0x5691e6(0x266)]=_0x4fa020,_0x7e236e[_0x5691e6(0x271)]=_0x481da8,_0x7e236e[_0x5691e6(0x249)]=_0x194e08,_0x7e236e;}async function run(_0x5640f1,_0xc81966,_0x3d47e7){const _0x5a1583=a65_0x5a8c0f,_0x4e6d72={'NCUQE':function(_0x17b5c5,_0x3c0c59){return _0x17b5c5(_0x3c0c59);},'LETYm':function(_0x395244,_0x13d3d9,_0x181f9b){return _0x395244(_0x13d3d9,_0x181f9b);},'kJRHv':function(_0x173bbd,_0x1a0775){return _0x173bbd===_0x1a0775;},'LLTwf':_0x5a1583(0x206),'zlFnz':function(_0x1d4002,_0x14ba1b){return _0x1d4002(_0x14ba1b);},'fbQaS':function(_0x5e0950,_0x59737b){return _0x5e0950/_0x59737b;},'wCwvA':function(_0x2d1742,_0x814de1){return _0x2d1742(_0x814de1);},'bBGXN':'unknown\x20error\x20(falsy)','IKjue':function(_0x1c77df,_0x26b2a9){return _0x1c77df===_0x26b2a9;},'uGTsm':'string','fjANS':'util','GxQfZ':function(_0x5ce460){return _0x5ce460();},'BvUsM':_0x5a1583(0x1bf),'iFsbu':function(_0xacee78,_0x3d2988){return _0xacee78===_0x3d2988;},'jDZyc':function(_0x60f5bf,_0x12c5b8){return _0x60f5bf===_0x12c5b8;},'cfASw':_0x5a1583(0x248),'zsAwG':function(_0x214570,_0x4c2e9a){return _0x214570===_0x4c2e9a;},'xaXES':function(_0x496c44,_0x52a175){return _0x496c44===_0x52a175;},'MkdbA':function(_0x46eeb9,_0x58ec2c){return _0x46eeb9===_0x58ec2c;},'QnKvv':function(_0x44b03b,_0x4f9415){return _0x44b03b===_0x4f9415;},'xUWKW':function(_0x57fe8b,_0x645db5){return _0x57fe8b===_0x645db5;},'vbAiv':function(_0x548125,_0x4a8edd){return _0x548125&&_0x4a8edd;},'iZdzq':function(_0x1be928,_0x23d3b5){return _0x1be928!==_0x23d3b5;},'LMLAo':_0x5a1583(0x1ca),'xoHwz':'testcafe','hCHYI':_0x5a1583(0x214),'YMjww':function(_0x1eaca1,_0x33ea09){return _0x1eaca1+_0x33ea09;},'XYpyD':_0x5a1583(0x18c),'INvqa':_0x5a1583(0x1a6),'awsYx':function(_0x346e9f,_0x3d5422){return _0x346e9f||_0x3d5422;},'NLTmj':function(_0x1c3bf3,_0x1a36d0){return _0x1c3bf3===_0x1a36d0;},'OSNGV':function(_0x1c6b12,_0x4fff0e){return _0x1c6b12>_0x4fff0e;},'mzSqH':function(_0x3d32eb,_0x17d44b){return _0x3d32eb===_0x17d44b;},'MlnxZ':_0x5a1583(0x25e),'MBkAc':'[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.','DSafG':function(_0x16bb75,_0x216a7d){return _0x16bb75+_0x216a7d;},'LyrZH':function(_0x56da8b,_0x2f84c3){return _0x56da8b(_0x2f84c3);},'rrTPm':function(_0x14b9ee,_0x42f892){return _0x14b9ee===_0x42f892;},'vfXgQ':'[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','OfooA':function(_0x4eb37d,_0x590cee){return _0x4eb37d||_0x590cee;},'salDv':_0x5a1583(0x1e1),'ODDdj':function(_0x16a813,_0x24d7ba){return _0x16a813(_0x24d7ba);},'mlumT':_0x5a1583(0x20b),'ZoNlH':_0x5a1583(0x260),'eTFOe':function(_0x2aa0bb,_0x3bc9eb){return _0x2aa0bb>_0x3bc9eb;},'TTFjQ':_0x5a1583(0x181),'qbDOo':_0x5a1583(0x238),'qulZL':_0x5a1583(0x1bd),'KNVxb':_0x5a1583(0x225),'jHXFA':_0x5a1583(0x184),'qxYRc':_0x5a1583(0x17c),'jTRpo':function(_0x5de044,_0xb1a74e){return _0x5de044===_0xb1a74e;},'ZLKjR':function(_0x398962,_0x2a1f18){return _0x398962===_0x2a1f18;},'SUGPW':function(_0x1712a8,_0x3866cd){return _0x1712a8(_0x3866cd);},'sSzBZ':_0x5a1583(0x1c7),'CUTSS':function(_0x283735,_0x4a7f39){return _0x283735<_0x4a7f39;},'RJsZA':function(_0x9569a,_0x21769b){return _0x9569a===_0x21769b;},'HgEwh':_0x5a1583(0x240),'ndXQE':function(_0x1c72d1,_0x2a3e7e){return _0x1c72d1+_0x2a3e7e;},'kkhVn':_0x5a1583(0x25a),'AMeHJ':_0x5a1583(0x279),'CnuAd':function(_0x426512,_0x17f3e6){return _0x426512===_0x17f3e6;},'jmcof':'chrome','ryPEg':_0x5a1583(0x217),'Epkea':_0x5a1583(0x21c),'sVKPE':_0x5a1583(0x1aa),'sGXzI':function(_0x534e60,_0x334e36){return _0x534e60>_0x334e36;},'DeHii':function(_0x27cdc3){return _0x27cdc3();},'WxBLb':function(_0xfcd60b,_0x54230d){return _0xfcd60b<_0x54230d;},'gdpKM':function(_0x4d14f6,_0x2cbcd1){return _0x4d14f6>_0x2cbcd1;},'MlpRv':function(_0xd02cf3,_0x1bf53f){return _0xd02cf3*_0x1bf53f;},'ENppi':function(_0x487fcb,_0x24c8f9){return _0x487fcb+_0x24c8f9;},'REogg':function(_0x2d42c0,_0x5754ab){return _0x2d42c0!==_0x5754ab;},'HMybw':function(_0x50f82a,_0x54461b){return _0x50f82a===_0x54461b;},'CPSTk':_0x5a1583(0x1ff),'MxehN':_0x5a1583(0x26c),'zwbtG':function(_0xf50d57,_0x55cabe){return _0xf50d57!==_0x55cabe;},'AjzLq':function(_0x3e760a,_0x58e511){return _0x3e760a===_0x58e511;},'LasFL':function(_0x335937){return _0x335937();}};_0x4e6d72[_0x5a1583(0x234)](detectPeerDeps);if(!_0x3d47e7[_0x5a1583(0x23d)]){logger['error'](_0x4e6d72['BvUsM']);return;}const _0x52f15f=_0x3d47e7['config'],_0xaf86b1=_0x4e6d72[_0x5a1583(0x17d)](_0x52f15f[_0x5a1583(0x1e2)],![])||_0x4e6d72['jDZyc'](_0x52f15f[_0x5a1583(0x1e2)],_0x4e6d72[_0x5a1583(0x281)])||_0x4e6d72[_0x5a1583(0x1a9)](_0x4e6d72[_0x5a1583(0x1ad)](String,_0x52f15f[_0x5a1583(0x1e2)]||'')['toLowerCase'](),_0x4e6d72[_0x5a1583(0x281)]),_0x49da07=_0x4e6d72[_0x5a1583(0x1b8)](_0x52f15f[_0x5a1583(0x1ba)],![])||_0x4e6d72[_0x5a1583(0x278)](_0x52f15f['browserstackLocal'],_0x4e6d72[_0x5a1583(0x281)])||_0x4e6d72[_0x5a1583(0x215)](_0x4e6d72[_0x5a1583(0x26b)](String,_0x4e6d72[_0x5a1583(0x27d)](_0x52f15f[_0x5a1583(0x1ba)],undefined)?'':_0x52f15f[_0x5a1583(0x1ba)])[_0x5a1583(0x247)](),_0x4e6d72[_0x5a1583(0x281)]);_0x4e6d72[_0x5a1583(0x257)](!_0xaf86b1,!_0x49da07)&&_0x4e6d72[_0x5a1583(0x1ae)](_0x52f15f[_0x5a1583(0x1ba)],!![])&&(logger['info'](_0x4e6d72['LMLAo']),_0x52f15f[_0x5a1583(0x1ba)]=!![]);await _0x3d47e7[_0x5a1583(0x205)](_0x5640f1),CLIUtils[_0x5a1583(0x188)](_0x4e6d72[_0x5a1583(0x255)],_0x4e6d72[_0x5a1583(0x255)]),BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x1d3)](_0x3d47e7[_0x5a1583(0x23d)],_0x3d47e7[_0x5a1583(0x1ed)],_0x3d47e7['cliConfig']);try{await BrowserstackCLI['getInstance']()['bootstrap']();if(!BrowserstackCLI['getInstance']()[_0x5a1583(0x232)]())throw new Error(_0x4e6d72['hCHYI']);}catch(_0x299439){process[_0x5a1583(0x27f)][_0x5a1583(0x1f3)](_0x4e6d72['YMjww'](_0x4e6d72[_0x5a1583(0x1f6)]('[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20'+_0x299439[_0x5a1583(0x276)]+'\x0a',_0x4e6d72[_0x5a1583(0x204)]),_0x4e6d72[_0x5a1583(0x27a)])),logger['error']('testcafe/command.js:\x20bootstrap\x20failed\x20—\x20'+(_0x299439[_0x5a1583(0x17a)]||_0x299439)),process[_0x5a1583(0x173)]=0x1;return;}const _0x1aff5e=BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x20d)](),_0x29cf9b=_0x3d47e7[_0x5a1583(0x23d)]||{};let _0xc8c9b2=_0x4e6d72[_0x5a1583(0x236)](_0x1aff5e,_0x29cf9b)||{},_0x6e6ebc=Array['isArray'](_0xc8c9b2[_0x5a1583(0x21f)])?_0xc8c9b2[_0x5a1583(0x21f)]:[];_0x4e6d72[_0x5a1583(0x1da)](_0x6e6ebc[_0x5a1583(0x203)],0x0)&&Array['isArray'](_0x29cf9b['platforms'])&&_0x4e6d72[_0x5a1583(0x1e4)](_0x29cf9b[_0x5a1583(0x21f)]['length'],0x0)&&(logger[_0x5a1583(0x246)](_0x5a1583(0x22c)+_0x29cf9b['platforms'][_0x5a1583(0x203)]+')'),_0xc8c9b2=_0x29cf9b,_0x6e6ebc=_0x29cf9b['platforms']);if(_0x4e6d72[_0x5a1583(0x183)](_0x6e6ebc['length'],0x0)){process[_0x5a1583(0x27f)]['write'](_0x4e6d72[_0x5a1583(0x199)]),process['exitCode']=0x1;return;}if(_0x4e6d72[_0x5a1583(0x1b8)](_0xc8c9b2[_0x5a1583(0x1c4)],!![])||_0xc8c9b2[_0x5a1583(0x1c4)]&&_0xc8c9b2[_0x5a1583(0x1c4)][_0x5a1583(0x1a0)]){const _0x1a0c6a=_0x4e6d72[_0x5a1583(0x253)];process['stderr'][_0x5a1583(0x1f3)](_0x4e6d72[_0x5a1583(0x1e5)](_0x1a0c6a,'\x0a')),logger[_0x5a1583(0x246)](_0x1a0c6a);}const {testSources:_0x6fbabf,concurrency:_0x5c9a3a}=_0x4e6d72['LyrZH'](filterArgs,_0xc81966[_0x5a1583(0x210)](0x1));if(_0x4e6d72[_0x5a1583(0x174)](_0x6fbabf[_0x5a1583(0x203)],0x0)){process['stderr'][_0x5a1583(0x1f3)](_0x4e6d72[_0x5a1583(0x26a)]),process['exitCode']=0x1;return;}logger['info']('testcafe/command.js:\x20testSources='+JSON['stringify'](_0x6fbabf)+',\x20platforms='+_0x6e6ebc[_0x5a1583(0x203)]+_0x5a1583(0x1a4)+_0x4e6d72[_0x5a1583(0x233)](_0x5c9a3a,_0x4e6d72[_0x5a1583(0x27c)]));let _0x32359c;try{_0x32359c=_0x4e6d72['GxQfZ'](loadTestCafeFactory);}catch(_0x52ebc8){process['stderr'][_0x5a1583(0x1f3)](_0x5a1583(0x186)+_0x52ebc8[_0x5a1583(0x276)]+'\x0a'),process[_0x5a1583(0x173)]=0x1;return;}const _0xa2d5e8=await _0x4e6d72[_0x5a1583(0x1e6)](_0x32359c,_0x4e6d72[_0x5a1583(0x21b)]);let _0x3db3b0=0x1;const _0x19aec3=0x7530,_0x6a01b7=[],_0x403aec=(_0x96fdb1,_0xd1a43)=>{const _0x5f35ee=_0x5a1583,_0x176a41=_0x4e6d72[_0x5f35ee(0x1c2)](setInterval,async()=>{const _0x4185b7=_0x5f35ee;try{await _0x96fdb1[_0x4185b7(0x1bc)]();}catch(_0x41ac21){logger[_0x4185b7(0x23e)](_0x4185b7(0x1e3)+_0xd1a43+':\x20'+_0x41ac21[_0x4185b7(0x276)]+_0x4185b7(0x1f9)),_0x4e6d72[_0x4185b7(0x1ad)](clearInterval,_0x176a41);}},_0x19aec3);_0x4e6d72[_0x5f35ee(0x24d)](typeof _0x176a41[_0x5f35ee(0x252)],_0x4e6d72[_0x5f35ee(0x24a)])&&_0x176a41[_0x5f35ee(0x252)](),_0x6a01b7['push'](_0x176a41);},_0x949bed=()=>{const _0x9ed6a=_0x5a1583;for(const _0x13e2c3 of _0x6a01b7){_0x4e6d72[_0x9ed6a(0x1ab)](clearInterval,_0x13e2c3);}_0x6a01b7[_0x9ed6a(0x203)]=0x0;};_0x3db3b0=0x0;const _0x58cc1f=_0x4e6d72[_0x5a1583(0x1e6)](require,_0x4e6d72['ZoNlH']);_0x58cc1f[_0x5a1583(0x228)]();try{const _0x52f84e=BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x24f)]&&BrowserstackCLI['getInstance']()[_0x5a1583(0x24f)](),_0x16ae4d=_0x52f84e&&_0x52f84e[_0x5a1583(0x18b)]&&_0x52f84e[_0x5a1583(0x18b)][_0x5a1583(0x21e)]&&_0x52f84e[_0x5a1583(0x18b)][_0x5a1583(0x21e)][_0x5a1583(0x23f)]&&(_0x52f84e[_0x5a1583(0x18b)][_0x5a1583(0x21e)]['commandsToWrap'][_0x5a1583(0x185)]||_0x52f84e['accessibilityConfig'][_0x5a1583(0x21e)]['commandsToWrap']['commands']);if(Array[_0x5a1583(0x170)](_0x16ae4d)&&_0x4e6d72['eTFOe'](_0x16ae4d[_0x5a1583(0x203)],0x0)){const _0xa693e0=_0x4e6d72[_0x5a1583(0x1ad)](require,_0x4e6d72[_0x5a1583(0x1a1)]),_0x10c38a=_0x16ae4d[_0x5a1583(0x224)](_0xd6f703=>({'name':_0xd6f703[_0x5a1583(0x23a)]&&_0xd6f703[_0x5a1583(0x23a)]()||_0xd6f703[_0x5a1583(0x1af)],'module':_0xd6f703['getModule']&&_0xd6f703[_0x5a1583(0x1ac)]()||_0xd6f703[_0x5a1583(0x18d)],'method':_0xd6f703[_0x5a1583(0x277)]&&_0xd6f703[_0x5a1583(0x277)]()||_0xd6f703[_0x5a1583(0x195)]}));_0xa693e0[_0x5a1583(0x228)](_0x10c38a);}else logger[_0x5a1583(0x23e)](_0x4e6d72[_0x5a1583(0x1f0)]);}catch(_0x5c4b20){logger[_0x5a1583(0x23e)](_0x5a1583(0x25b)+(_0x5c4b20[_0x5a1583(0x276)]||_0x5c4b20));}let _0x1935f3='',_0x296d3d=null;try{const _0x3535a3=await GrpcClient['getInstance']()[_0x5a1583(0x268)]();_0x1935f3=_0x3535a3[_0x5a1583(0x21a)]&&_0x3535a3[_0x5a1583(0x21a)]()||_0x3535a3[_0x5a1583(0x1b4)]||'';if(_0x1935f3)try{_0x296d3d=new RegExp(_0x1935f3),logger[_0x5a1583(0x1d7)]('testcafe/command.js:\x20applied\x20rerun\x20filter\x20'+_0x1935f3);}catch(_0x275154){const _0x5466fd=_0x5a1583(0x272)+_0x275154[_0x5a1583(0x276)]+_0x5a1583(0x1d1)+_0x1935f3;process[_0x5a1583(0x27f)][_0x5a1583(0x1f3)](_0x4e6d72[_0x5a1583(0x1e5)](_0x5466fd,'\x0a')),logger['error'](_0x5466fd),process[_0x5a1583(0x173)]=0x1;return;}}catch(_0xe2028b){if(process[_0x5a1583(0x280)][_0x5a1583(0x208)]){const _0x18662e=_0x4e6d72['qulZL'];process[_0x5a1583(0x27f)][_0x5a1583(0x1f3)](_0x18662e),logger[_0x5a1583(0x1b9)](_0x5a1583(0x1ee)+_0xe2028b[_0x5a1583(0x276)]),process['exitCode']=0x1;return;}logger['debug'](_0x4e6d72[_0x5a1583(0x244)],_0xe2028b);}const _0x4cde4a=_0x4e6d72['LyrZH'](require,path['resolve'](__dirname,_0x4e6d72[_0x5a1583(0x1e0)],_0x4e6d72[_0x5a1583(0x1d9)])),_0x3f236d=_0x4e6d72[_0x5a1583(0x212)](_0xc8c9b2[_0x5a1583(0x1e2)],![])||_0x4e6d72[_0x5a1583(0x212)](_0xc8c9b2['browserstackAutomation'],_0x4e6d72[_0x5a1583(0x281)])||_0x4e6d72[_0x5a1583(0x1dc)](_0x4e6d72['SUGPW'](String,_0xc8c9b2[_0x5a1583(0x1e2)]||'')[_0x5a1583(0x247)](),_0x4e6d72[_0x5a1583(0x281)]);if(_0x3f236d){logger['info'](_0x4e6d72['sSzBZ']);const _0x231c08=[];for(let _0x254d31=0x0;_0x4e6d72[_0x5a1583(0x1b2)](_0x254d31,_0xc81966['length']);_0x254d31++){const _0x2c052e=_0xc81966[_0x254d31];if(_0x4e6d72['iFsbu'](_0x2c052e,'-b')||_0x4e6d72['RJsZA'](_0x2c052e,_0x4e6d72[_0x5a1583(0x17b)])){_0xc81966[_0x4e6d72['DSafG'](_0x254d31,0x1)]&&_0x231c08[_0x5a1583(0x209)](_0xc81966[_0x4e6d72[_0x5a1583(0x274)](_0x254d31,0x1)]);_0x254d31++;continue;}if(_0x2c052e[_0x5a1583(0x24c)](_0x4e6d72[_0x5a1583(0x18a)])){_0x231c08[_0x5a1583(0x209)](_0x2c052e[_0x5a1583(0x210)](_0x4e6d72[_0x5a1583(0x18a)][_0x5a1583(0x203)]));continue;}if(_0x2c052e['startsWith'](_0x4e6d72[_0x5a1583(0x1b1)])){_0x231c08['push'](_0x2c052e[_0x5a1583(0x210)](_0x4e6d72[_0x5a1583(0x1b1)][_0x5a1583(0x203)]));continue;}_0x4e6d72[_0x5a1583(0x1e6)](looksLikeBrowserArg,_0x2c052e)&&_0x231c08[_0x5a1583(0x209)](_0x2c052e);}_0x4e6d72[_0x5a1583(0x19a)](_0x231c08[_0x5a1583(0x203)],0x0)&&(_0x231c08[_0x5a1583(0x209)](_0x4e6d72[_0x5a1583(0x17f)]),logger[_0x5a1583(0x1d7)](_0x4e6d72[_0x5a1583(0x1df)]));let _0x29ff28=0x1;try{const _0x288999=_0xa2d5e8[_0x5a1583(0x1bb)]();_0x288999['src'](_0x6fbabf),_0x288999[_0x5a1583(0x1d4)](_0x231c08),_0x288999[_0x5a1583(0x184)]([_0x4e6d72['Epkea'],_0x4cde4a]),_0x4e6d72['CnuAd'](typeof _0x5c9a3a,_0x4e6d72[_0x5a1583(0x1c6)])&&_0x4e6d72[_0x5a1583(0x200)](_0x5c9a3a,0x0)&&_0x288999[_0x5a1583(0x22d)](_0x5c9a3a),_0x296d3d&&_0x288999[_0x5a1583(0x22b)](_0x2e8c5b=>_0x296d3d[_0x5a1583(0x1cc)](_0x2e8c5b)),_0x29ff28=await _0x288999[_0x5a1583(0x218)](),logger[_0x5a1583(0x1d7)](_0x5a1583(0x263)+_0x29ff28);}catch(_0x555fb6){logger[_0x5a1583(0x1b9)]('testcafe/command.js:\x20local\x20run\x20failed\x20—\x20'+(_0x555fb6[_0x5a1583(0x17a)]||_0x555fb6)),process['stderr']['write'](_0x5a1583(0x1a5)+_0x555fb6['message']+'\x0a'),_0x29ff28=0x1;}finally{_0x3db3b0=_0x29ff28;try{_0x58cc1f['uninstall']();}catch(_0xc1601d){}try{await _0xa2d5e8[_0x5a1583(0x1a8)]();}catch(_0x41ed8b){logger[_0x5a1583(0x23e)](_0x5a1583(0x229)+_0x41ed8b[_0x5a1583(0x276)]);}try{const _0x4da462=BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x227)]();_0x4da462&&_0x4e6d72[_0x5a1583(0x183)](typeof _0x4da462[_0x5a1583(0x239)],_0x4e6d72[_0x5a1583(0x24a)])&&await _0x4da462[_0x5a1583(0x239)]();}catch(_0x5dcb12){logger[_0x5a1583(0x23e)](_0x5a1583(0x23c)+_0x5dcb12[_0x5a1583(0x276)]);}const _0x25402f=BrowserstackCLI[_0x5a1583(0x250)]();await BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x177)]()[_0x5a1583(0x245)](_0x1c22da=>{const _0x2e2641=_0x5a1583;logger[_0x2e2641(0x23e)](_0x2e2641(0x1d5)+_0x1c22da[_0x2e2641(0x276)]);}),_0x4e6d72[_0x5a1583(0x1b6)](printBuildLink),await utilities['finalExecution'](_0x3d47e7,_0x25402f)[_0x5a1583(0x245)](_0x3a68cf=>{const _0x35ae0d=_0x5a1583;logger[_0x35ae0d(0x23e)](_0x35ae0d(0x191)+_0x3a68cf['message']);}),process[_0x5a1583(0x173)]=_0x3db3b0,logger[_0x5a1583(0x1d7)](_0x5a1583(0x1c8)+_0x3db3b0);}return;}try{for(let _0x5def2b=0x0;_0x4e6d72['WxBLb'](_0x5def2b,_0x6e6ebc[_0x5a1583(0x203)]);_0x5def2b++){logger[_0x5a1583(0x1d7)](_0x5a1583(0x1e8)+_0x5def2b+_0x5a1583(0x1c3)+_0x4e6d72[_0x5a1583(0x274)](_0x5def2b,0x1)+'/'+_0x6e6ebc[_0x5a1583(0x203)]+')');let _0x16d3cf=0x1,_0x301188=null,_0xafca81=null;try{_0x301188=await _0x4e6d72[_0x5a1583(0x1c2)](provisionSession,_0xa2d5e8,_0x5def2b),_0x4e6d72[_0x5a1583(0x1c2)](_0x403aec,_0x301188[_0x5a1583(0x172)],_0x301188[_0x5a1583(0x189)]);const _0x4c5e96=_0xa2d5e8[_0x5a1583(0x1bb)]();_0x4c5e96['src'](_0x6fbabf),_0x4c5e96[_0x5a1583(0x1d4)]([_0x301188['connection']]),_0x4c5e96['reporter']([_0x4e6d72[_0x5a1583(0x187)],_0x4cde4a]);_0x4e6d72[_0x5a1583(0x26e)](typeof _0x5c9a3a,_0x4e6d72[_0x5a1583(0x1c6)])&&_0x4e6d72[_0x5a1583(0x1eb)](_0x5c9a3a,0x0)&&_0x4c5e96['concurrency'](_0x5c9a3a);_0x296d3d&&_0x4c5e96[_0x5a1583(0x22b)](_0x37d35e=>_0x296d3d[_0x5a1583(0x1cc)](_0x37d35e));const _0x3ce044=_0xc8c9b2&&_0xc8c9b2['idleTimeout']||0x12c,_0x1bea68=_0x4e6d72[_0x5a1583(0x222)](_0x4e6d72[_0x5a1583(0x26d)](_0x3ce044,0x3c),0x3e8);_0x16d3cf=await Promise[_0x5a1583(0x1fe)]([_0x4c5e96[_0x5a1583(0x218)](),new Promise(_0x28141a=>setTimeout(()=>{const _0x2832a9=_0x5a1583;logger[_0x2832a9(0x246)](_0x2832a9(0x1c5)+_0x5def2b+_0x2832a9(0x1f1)+_0x4e6d72['fbQaS'](_0x1bea68,0x3e8)+'s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup'),_0xafca81='runner.run()\x20exceeded\x20'+_0x4e6d72['fbQaS'](_0x1bea68,0x3e8)+_0x2832a9(0x259),_0x4e6d72['wCwvA'](_0x28141a,0x1);},_0x1bea68))]),logger[_0x5a1583(0x1d7)](_0x5a1583(0x1c5)+_0x5def2b+']\x20finished\x20with\x20exit='+_0x16d3cf),_0x4e6d72[_0x5a1583(0x19e)](_0x16d3cf,0x0)&&!_0xafca81&&(_0xafca81=_0x5a1583(0x1f7)+_0x16d3cf);}catch(_0x37a4a9){const _0x322c3e=((()=>{const _0x30d90b=_0x5a1583;if(!_0x37a4a9)return _0x4e6d72[_0x30d90b(0x193)];if(_0x4e6d72[_0x30d90b(0x1e9)](typeof _0x37a4a9,_0x4e6d72[_0x30d90b(0x275)]))return _0x37a4a9;if(_0x4e6d72[_0x30d90b(0x1e9)](typeof _0x37a4a9[_0x30d90b(0x276)],_0x4e6d72[_0x30d90b(0x275)])&&_0x37a4a9[_0x30d90b(0x276)])return _0x37a4a9[_0x30d90b(0x276)];try{return JSON[_0x30d90b(0x1dd)](_0x37a4a9['message']??_0x37a4a9,null,0x2);}catch(_0x401514){const _0x5ba328={};return _0x5ba328['depth']=0x4,_0x4e6d72[_0x30d90b(0x26b)](require,_0x4e6d72[_0x30d90b(0x1f4)])['inspect'](_0x37a4a9[_0x30d90b(0x276)]??_0x37a4a9,_0x5ba328);}})()),_0x31c921={};_0x31c921[_0x5a1583(0x24b)]=_0x37a4a9&&_0x37a4a9['code'],_0x31c921[_0x5a1583(0x20e)]=_0x37a4a9&&_0x37a4a9[_0x5a1583(0x20e)],_0x31c921[_0x5a1583(0x1a7)]=_0x37a4a9&&_0x37a4a9[_0x5a1583(0x1a7)],_0x31c921[_0x5a1583(0x1af)]=_0x37a4a9&&_0x37a4a9[_0x5a1583(0x1af)],_0x31c921[_0x5a1583(0x20c)]=_0x37a4a9&&_0x37a4a9['constructor']&&_0x37a4a9[_0x5a1583(0x20c)]['name'];const _0x1cca9d=_0x31c921;logger[_0x5a1583(0x1b9)](_0x5a1583(0x1c5)+_0x5def2b+_0x5a1583(0x241)+_0x322c3e+'\x20(meta='+JSON['stringify'](_0x1cca9d)+')\x0a'+(_0x37a4a9&&_0x37a4a9['stack']||'')),process[_0x5a1583(0x27f)][_0x5a1583(0x1f3)]('[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform['+_0x5def2b+_0x5a1583(0x178)+_0x322c3e+'\x0a'),_0x16d3cf=0x1,_0xafca81=_0x322c3e;}finally{try{if(_0x301188&&_0x4e6d72[_0x5a1583(0x19e)](_0x301188[_0x5a1583(0x266)],undefined)){const _0x234c06=_0x4e6d72['HMybw'](_0x16d3cf,0x0)?_0x4e6d72[_0x5a1583(0x202)]:_0x4e6d72[_0x5a1583(0x1c9)],_0x36e8e5=_0xafca81;registry[_0x5a1583(0x216)](_0x301188[_0x5a1583(0x266)],_0x234c06,_0x36e8e5);}}catch(_0x59b7ef){logger[_0x5a1583(0x246)](_0x5a1583(0x19b)+_0x5def2b+_0x5a1583(0x178)+_0x59b7ef[_0x5a1583(0x276)]);}await registry[_0x5a1583(0x19c)](),_0x4e6d72[_0x5a1583(0x1b6)](_0x949bed);}_0x4e6d72['zwbtG'](_0x16d3cf,0x0)&&_0x4e6d72[_0x5a1583(0x175)](_0x3db3b0,0x0)&&(_0x3db3b0=_0x16d3cf);}}finally{try{_0x58cc1f[_0x5a1583(0x180)]();}catch(_0x11f628){}try{await _0xa2d5e8[_0x5a1583(0x1a8)]();}catch(_0x31a388){logger['debug'](_0x5a1583(0x229)+_0x31a388[_0x5a1583(0x276)]);}try{const _0x50a2ae=BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x227)]();_0x50a2ae&&_0x4e6d72[_0x5a1583(0x1da)](typeof _0x50a2ae[_0x5a1583(0x239)],_0x4e6d72[_0x5a1583(0x24a)])&&await _0x50a2ae['finalizeOrphans']();}catch(_0x2f8afc){logger[_0x5a1583(0x23e)](_0x5a1583(0x23c)+_0x2f8afc[_0x5a1583(0x276)]);}const _0x5b97b3=BrowserstackCLI[_0x5a1583(0x250)]();await BrowserstackCLI[_0x5a1583(0x1fd)]()[_0x5a1583(0x177)]()[_0x5a1583(0x245)](_0x46ce91=>{const _0x2dac34=_0x5a1583;logger['debug'](_0x2dac34(0x1d5)+_0x46ce91[_0x2dac34(0x276)]);}),_0x4e6d72[_0x5a1583(0x27e)](printBuildLink),await utilities[_0x5a1583(0x196)](_0x3d47e7,_0x5b97b3)[_0x5a1583(0x245)](_0x3dfde1=>{const _0x14ba96=_0x5a1583;logger[_0x14ba96(0x23e)](_0x14ba96(0x191)+_0x3dfde1['message']);}),process['exitCode']=_0x3db3b0,logger['info'](_0x5a1583(0x1c8)+_0x3db3b0);}}let _isExiting=![];const propagateSignal=_0x4876a0=>{const _0x3aeebe=a65_0x5a8c0f,_0x4ebd54={};_0x4ebd54[_0x3aeebe(0x22a)]=_0x3aeebe(0x26c),_0x4ebd54[_0x3aeebe(0x23b)]=_0x3aeebe(0x1e7),_0x4ebd54[_0x3aeebe(0x22e)]=_0x3aeebe(0x1be);const _0x22d260=_0x4ebd54;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x2b0d0c=_0x3aeebe;try{const _0x48910f=registry[_0x2b0d0c(0x1f8)]();for(const _0x84d21 of _0x48910f){try{registry[_0x2b0d0c(0x216)](_0x84d21[_0x2b0d0c(0x266)],_0x22d260['IFGfl'],_0x2b0d0c(0x273)+_0x4876a0+_0x2b0d0c(0x223));}catch(_0x28acd6){}}await Promise[_0x2b0d0c(0x1fe)]([registry[_0x2b0d0c(0x19c)](),new Promise(_0x41e69b=>setTimeout(_0x41e69b,0x1388))]);}catch(_0x851ee1){}process[_0x2b0d0c(0x251)](_0x22d260['LaUjK'],_sigintHandler),process[_0x2b0d0c(0x251)](_0x22d260['VtIFx'],_sigtermHandler),process['kill'](process['pid'],_0x4876a0);})());};function _sigintHandler(){const _0x3707f0=a65_0x5a8c0f,_0xf3b0e7={'VpFwd':function(_0x49c895,_0x2b0001){return _0x49c895(_0x2b0001);},'bWFfP':_0x3707f0(0x1e7)};_0xf3b0e7[_0x3707f0(0x231)](propagateSignal,_0xf3b0e7[_0x3707f0(0x270)]);}function a65_0x298f(_0x24e267,_0x36d469){const _0x2d657e=a65_0x2d65();return a65_0x298f=function(_0x298f66,_0x3e429e){_0x298f66=_0x298f66-0x16e;let _0x507317=_0x2d657e[_0x298f66];return _0x507317;},a65_0x298f(_0x24e267,_0x36d469);}function _sigtermHandler(){const _0x11c95e=a65_0x5a8c0f,_0x2c1cc5={'ueBrJ':function(_0x183e51,_0x1e01d5){return _0x183e51(_0x1e01d5);},'cpsNm':_0x11c95e(0x1be)};_0x2c1cc5[_0x11c95e(0x1d8)](propagateSignal,_0x2c1cc5[_0x11c95e(0x1f5)]);}function a65_0x2d65(){const _0x96793b=['DeHii','getCapabilities','xaXES','error','browserstackLocal','createRunner','getCurrentUrl','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','SIGTERM','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','register','chrome:','LETYm',']\x20(','percy','testcafe/command.js:\x20platform[','sVKPE','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','testcafe/command.js:\x20exit\x20code=','MxehN','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','testcafe','test','match','navigateTo','[testcafe]\x20platform[','1|2|0|4|3','.\x20Pattern:\x20','firefox','setBrowserstackConfig','browsers','BrowserstackCLI.stop\x20error:\x20','KBKfU','info','ueBrJ','qxYRc','NLTmj','cwd','ZLKjR','stringify','okbLh','ryPEg','jHXFA','default','browserstackAutomation','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','OSNGV','DSafG','ODDdj','SIGINT','testcafe/command.js:\x20starting\x20platform[','IKjue','resolve','gdpKM','PhTiJ','configPath','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','createBrowserConnection','qbDOo',']\x20runner.run()\x20timed\x20out\x20after\x20','edge','write','fjANS','cpsNm','YMjww','TestCafe\x20runner\x20exited\x20with\x20code\x20','listEntries','\x20—\x20stopping\x20pings\x20for\x20this\x20session','MUZeE','alwaysMatch','gmnFe','getInstance','race','passed','sGXzI','isBuffer','CPSTk','length','XYpyD','initialize','function','Ubabm','BROWSERSTACK_RERUN','push','PclEU','bs-local.com','constructor','getConfig','type','aLqVL','slice','AyTnq','jTRpo','sQVXk','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','QnKvv','markStatus','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','run','jTmLc','getRerunTestGrep','mlumT','spec','oNbir','options','platforms','../../helpers/utilities','parse','MlpRv','\x20before\x20runner.run()\x20completed','map','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','\x20→\x20','getTestFramework','install','tc.close\x20error:\x20','IFGfl','filter','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','concurrency','VtIFx','JGHDG','desiredCapabilities','VpFwd','isRunning','OfooA','GxQfZ','chromium','awsYx','openSession','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','finalizeOrphans','getName','LaUjK','finalizeOrphans\x20error:\x20','config','debug','commandsToWrap','--browsers',']\x20run\x20failed\x20—\x20','toString','includes','KNVxb','catch','warn','toLowerCase','false','hubUrl','LLTwf','code','startsWith','kJRHv','firefox:','getAccessibilityModule','isCLIEnabled','removeListener','unref','MBkAc','string','xoHwz','getHubUrl','vbAiv','../v2/browserstackCLI','s\x20timeout\x20(idleTimeout\x20+\x2060s)','--browsers=','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','5921192cdDcPs','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a',']\x20hubUrl=','./stdout-interceptor','path','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit=','winstonLogger','[testcafe]\x20provisioning\x20session\x20for\x20platform[','platformIndex',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','testCafeConfig','firefox:headless','vfXgQ','wCwvA','failed','ENppi','jDZyc','from','bWFfP','capabilities','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','Aborted\x20by\x20','ndXQE','uGTsm','message','getMethod','MkdbA','-b=','INvqa','954439sEMKuD','salDv','xUWKW','LasFL','stderr','env','cfASw','connection','../../helpers/logger','chrome:headless','isArray','../../helpers/test-observability/utils','driver','exitCode','rrTPm','AjzLq','50375pzjcXK','stop',']:\x20','503312Tkknlv','stack','HgEwh','index.js','iFsbu','BROWSERSTACK_HUB_URL','jmcof','uninstall','./testcafe-action-patcher','testSources','mzSqH','reporter','commandsList','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','Epkea','setFrameworkDetail','sessionId','kkhVn','accessibilityConfig','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','module','38158aWPqFI','4035976GzICdQ','utf8','finalExecution\x20error:\x20','81DLgWWD','bBGXN','zxDbv','method','finalExecution','split','trim','MlnxZ','CnuAd','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','quitAll','url','REogg','318ScmSxA','projectToken','TTFjQ','remote','HmyPm',',\x20concurrency=','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','data','close','zsAwG','number','zlFnz','getModule','NCUQE','iZdzq','name','../../helpers/helper','AMeHJ','CUTSS','10868679jeVadG','rerunTestGrep','safari'];a65_0x2d65=function(){return _0x96793b;};return a65_0x2d65();}process['on']('SIGINT',_sigintHandler),process['on']('SIGTERM',_sigtermHandler),module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a66_0x1e30a8=a66_0x3802;(function(_0x242382,_0x1bf032){const _0x457645=a66_0x3802,_0x25f391=_0x242382();while(!![]){try{const _0x145780=-parseInt(_0x457645(0x194))/0x1*(parseInt(_0x457645(0x18b))/0x2)+parseInt(_0x457645(0x1ba))/0x3*(parseInt(_0x457645(0x1d6))/0x4)+parseInt(_0x457645(0x1e5))/0x5+-parseInt(_0x457645(0x1c8))/0x6*(-parseInt(_0x457645(0x181))/0x7)+-parseInt(_0x457645(0x1cc))/0x8+parseInt(_0x457645(0x1d9))/0x9*(-parseInt(_0x457645(0x1b2))/0xa)+parseInt(_0x457645(0x189))/0xb*(parseInt(_0x457645(0x186))/0xc);if(_0x145780===_0x1bf032)break;else _0x25f391['push'](_0x25f391['shift']());}catch(_0x18ebcc){_0x25f391['push'](_0x25f391['shift']());}}}(a66_0x3ae9,0xcc438));function a66_0x3ae9(){const _0x11880f=['AFTER_ALL','failedCount','testName','26580JeSluv','isRunning','[testcafe-reporter]\x20reportTestStart:\x20','7227lVaWmO','../../v2/framework/automationFramework','unknown','testCount','XpcIo','PChIk','stack','TEST','path','info','yhYOx','userAgents','4989130DSQHvi','errs','[testcafe-reporter]\x20reportTestDone:\x20','../../v2/state/hookState','meta','\x20tests\x20across\x20','nRDpf','7yDppCg','iOkhv','IQFfg','screenshots','iterAllInstances','12ayAIiE','\x20totalDuration=','../../v2/state/automationFrameworkState','13356409UdittH','gybRI','1146YaxkCs','BEFORE_EACH','map','properties','skipped','../../v2/state/testFrameworkState','passedCount','sessionId','\x20@\x20','1321NjglYv','KLAUy','OJSnc','quarantine','NupUZ','AFTER_EACH','durationMs','sIYoD','taskStructure','debug','spfmW','ebsii','getInstance','userAgent','getTestFramework','uciVd','function','getAutomationFramework','capabilities','[testcafe-reporter]\x20reportTaskStart:\x20','INIT_TEST','exports','listEntries','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','PRE','test','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','TiDiv','platformIndex','instance','11140qopWlV','currentTaskInfo','driver','trackEvent','URteP','fixturePath','fawWs','endTime','510AfabbW','isInteger','hubUrl','fixtureStack','../../v2/TestInfo','handler','startTime','pop','error','BEFORE_ALL',',\x20skipped=','length','BxJNA','removeInstance','2495166dJGtSY','testStartInfo','./tcUtils','SuIqh','10155336uSmXIw','\x20warnings=','fixtureName','unstable','POST','[testcafe-reporter]\x20reportFixtureStart:\x20','name'];a66_0x3ae9=function(){return _0x11880f;};return a66_0x3ae9();}function a66_0x3802(_0x3012e5,_0x33a8c0){const _0x3ae958=a66_0x3ae9();return a66_0x3802=function(_0x380282,_0x42b9db){_0x380282=_0x380282-0x180;let _0x5bc4b9=_0x3ae958[_0x380282];return _0x5bc4b9;},a66_0x3802(_0x3012e5,_0x33a8c0);}const path=require(a66_0x1e30a8(0x1e1)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a66_0x1e30a8(0x1ca)),logger=require('../../../helpers/logger')['winstonLogger'],BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a66_0x1e30a8(0x190)),AutomationFrameworkState=require(a66_0x1e30a8(0x188)),HookState=require(a66_0x1e30a8(0x1e8)),TestInfo=require(a66_0x1e30a8(0x1be)),AutomationFramework=require(a66_0x1e30a8(0x1da)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require('../session-registry');module[a66_0x1e30a8(0x1a9)]=function(_0x4bcbe0){const _0xa2b07d=a66_0x1e30a8,_0x3f34bc={'nRDpf':function(_0x582460,..._0x3ba6b3){return _0x582460(..._0x3ba6b3);},'KLAUy':_0xa2b07d(0x1bf),'ghsCD':'testcafe','gybRI':function(_0x3cc8d7,_0xd5e755){return _0x3cc8d7===_0xd5e755;},'uciVd':_0xa2b07d(0x1a4),'SuIqh':function(_0x3e367c,_0x579c64){return _0x3e367c<_0x579c64;},'ZiuBE':function(_0x11d1c9,_0x29a27e){return _0x11d1c9||_0x29a27e;},'fawWs':function(_0x59db1c,_0x5d3154){return _0x59db1c===_0x5d3154;},'OJSnc':function(_0x5c527b,_0x40cffc){return _0x5c527b-_0x40cffc;},'URteP':_0xa2b07d(0x1db),'IQFfg':function(_0x40a341,_0x9f6acf,_0x4a17e4){return _0x40a341(_0x9f6acf,_0x4a17e4);},'TiDiv':function(_0x4b7d53,_0x5d682f){return _0x4b7d53===_0x5d682f;},'BxJNA':function(_0x4aeae1,_0x172572){return _0x4aeae1(_0x172572);},'XpcIo':function(_0x1dd360,_0x4c925e){return _0x1dd360(_0x4c925e);},'sIYoD':function(_0x5e7b5a,_0x4ee684){return _0x5e7b5a(_0x4ee684);},'yhYOx':function(_0x29d1c0,_0x185bd8){return _0x29d1c0(_0x185bd8);},'spfmW':function(_0x46a21b,_0x5109d4){return _0x46a21b===_0x5109d4;},'PChIk':function(_0x14626d,_0x4ecdd3){return _0x14626d+_0x4ecdd3;},'iOkhv':function(_0x8233c4,_0x3fe0ae){return _0x8233c4+_0x3fe0ae;},'NupUZ':function(_0x39f27b,_0xde11db){return _0x39f27b||_0xde11db;},'gnVxz':function(_0x3697a6,_0x2c7346){return _0x3697a6(_0x2c7346);},'ebsii':function(_0x58f3de,_0x5c3eb5){return _0x58f3de(_0x5c3eb5);}},_0x3c6e37={'options':_0x3f34bc[_0xa2b07d(0x198)](_0x4bcbe0,{}),'fixtureStack':[],'currentTaskInfo':null},_0x31ca2d=_0x43f861=>async(..._0x26fc89)=>{const _0xc07d76=_0xa2b07d;try{return await _0x3f34bc[_0xc07d76(0x180)](_0x43f861,..._0x26fc89);}catch(_0x5aeb40){logger[_0xc07d76(0x1c2)](_0xc07d76(0x1ae)+(_0x43f861['name']||_0x3f34bc[_0xc07d76(0x195)])+':\x20'+(_0x5aeb40[_0xc07d76(0x1df)]||_0x5aeb40));}};return{'reportTaskStart':_0x3f34bc['gnVxz'](_0x31ca2d,async function _0x2d5bfd(_0x315bc4,_0x118e1b,_0x37e8d1,_0x5ee710,_0x1f2f26){const _0x357dbb=_0xa2b07d,_0x2c617b={};_0x2c617b[_0x357dbb(0x1c0)]=_0x315bc4,_0x2c617b[_0x357dbb(0x1e4)]=_0x118e1b,_0x2c617b['testCount']=_0x37e8d1,_0x2c617b[_0x357dbb(0x19c)]=_0x5ee710,_0x2c617b[_0x357dbb(0x18e)]=_0x1f2f26,_0x3c6e37[_0x357dbb(0x1b3)]=_0x2c617b,logger[_0x357dbb(0x1e2)](_0x357dbb(0x1a7)+_0x37e8d1+_0x357dbb(0x1ea)+_0x118e1b[_0x357dbb(0x1c5)]+'\x20browsers'),TestInfo['setup']&&TestInfo['setup'](_0x3f34bc['ghsCD']);if(!BrowserstackCLI[_0x357dbb(0x1a0)]()||!BrowserstackCLI[_0x357dbb(0x1a0)]()['isRunning']())return;const _0x3c26e3=BrowserstackCLI[_0x357dbb(0x1a0)](),_0x1a133e=_0x3c26e3[_0x357dbb(0x1a2)]();if(_0x1a133e&&_0x3f34bc[_0x357dbb(0x18a)](typeof _0x1a133e[_0x357dbb(0x1b5)],_0x3f34bc[_0x357dbb(0x1a3)])){const _0x2168e7={};_0x2168e7[_0x357dbb(0x1c0)]=_0x315bc4,_0x2168e7[_0x357dbb(0x1e4)]=_0x118e1b,_0x2168e7[_0x357dbb(0x1dc)]=_0x37e8d1,_0x2168e7[_0x357dbb(0x19c)]=_0x5ee710,await _0x1a133e[_0x357dbb(0x1b5)](TestFrameworkState[_0x357dbb(0x1a8)],HookState['PRE'],_0x2168e7);}const _0x39d32d=_0x3c26e3[_0x357dbb(0x1a5)](),_0xcd270e=sessionRegistry[_0x357dbb(0x1aa)]();if(_0x39d32d&&_0x3f34bc[_0x357dbb(0x18a)](typeof _0x39d32d[_0x357dbb(0x1b5)],_0x3f34bc[_0x357dbb(0x1a3)]))for(let _0x2dd65f=0x0;_0x3f34bc[_0x357dbb(0x1cb)](_0x2dd65f,(_0x118e1b||[])[_0x357dbb(0x1c5)]);_0x2dd65f++){const _0x559485=_0x118e1b[_0x2dd65f],_0x57dbd9=_0xcd270e[_0x2dd65f]||{};await _0x39d32d[_0x357dbb(0x1b5)](AutomationFrameworkState['CREATE'],HookState['POST'],{'userAgent':_0x559485,'startTime':_0x315bc4,'driver':_0x57dbd9[_0x357dbb(0x1b4)],'sessionId':_0x57dbd9[_0x357dbb(0x192)],'platformIndex':Number[_0x357dbb(0x1bb)](_0x57dbd9['platformIndex'])?_0x57dbd9[_0x357dbb(0x1b0)]:_0x2dd65f,'capabilities':_0x57dbd9[_0x357dbb(0x1a6)]||{},'hubUrl':_0x57dbd9[_0x357dbb(0x1bc)]||''});}}),'reportFixtureStart':_0x3f34bc[_0xa2b07d(0x180)](_0x31ca2d,async function _0x1c7854(_0x136daa,_0x25e76a,_0xf8688a){const _0x4944f5=_0xa2b07d,_0x2cf72d={'name':_0x136daa,'path':_0x25e76a,'meta':_0x3f34bc['ZiuBE'](_0xf8688a,{})};_0x3c6e37[_0x4944f5(0x1bd)]['push'](_0x2cf72d),logger[_0x4944f5(0x19d)](_0x4944f5(0x1d1)+_0x136daa+_0x4944f5(0x193)+_0x25e76a);if(BrowserstackCLI[_0x4944f5(0x1a0)]()&&BrowserstackCLI[_0x4944f5(0x1a0)]()['isRunning']()){const _0x52dc21=BrowserstackCLI['getInstance'](),_0x435903=_0x52dc21[_0x4944f5(0x1a2)]();if(_0x435903&&_0x3f34bc[_0x4944f5(0x1b8)](typeof _0x435903[_0x4944f5(0x1b5)],_0x3f34bc[_0x4944f5(0x1a3)])){const _0x55373b=_0x3c6e37[_0x4944f5(0x1b3)]&&_0x3c6e37[_0x4944f5(0x1b3)][_0x4944f5(0x1e4)]||[],_0x1085c2={'fixture':_0x2cf72d,'fixtureIdentifier':_0x3f34bc[_0x4944f5(0x180)](getFixtureIdentifier,_0x2cf72d),'userAgents':_0x55373b};await _0x435903[_0x4944f5(0x1b5)](TestFrameworkState[_0x4944f5(0x1c3)],HookState['PRE'],_0x1085c2),await _0x435903[_0x4944f5(0x1b5)](TestFrameworkState[_0x4944f5(0x1c3)],HookState[_0x4944f5(0x1d0)],_0x1085c2);}}}),'reportTestStart':_0x3f34bc[_0xa2b07d(0x19f)](_0x31ca2d,async function _0x43f679(_0x55e04d,_0x236cfb,_0xf032c0){const _0xb21b67=_0xa2b07d,_0x4be16d=_0x3c6e37[_0xb21b67(0x1bd)][_0x3f34bc[_0xb21b67(0x196)](_0x3c6e37['fixtureStack'][_0xb21b67(0x1c5)],0x1)]||{'name':_0x3f34bc[_0xb21b67(0x1b6)],'path':_0x3f34bc[_0xb21b67(0x1b6)]},_0x49a872={};_0x49a872[_0xb21b67(0x1ce)]=_0x4be16d[_0xb21b67(0x1d2)],_0x49a872[_0xb21b67(0x1b7)]=_0x4be16d[_0xb21b67(0x1e1)],_0x49a872[_0xb21b67(0x1d5)]=_0x55e04d,_0x49a872['meta']=_0x236cfb;const _0x4550af=_0x3f34bc[_0xb21b67(0x180)](synthesizeTestObject,_0x49a872);logger[_0xb21b67(0x19d)](_0xb21b67(0x1d8)+_0x3f34bc['IQFfg'](getTestIdentifier,_0x4550af,0x0));const _0x5296d2=_0x3c6e37[_0xb21b67(0x1b3)]&&_0x3c6e37[_0xb21b67(0x1b3)]['userAgents']||[];if(BrowserstackCLI[_0xb21b67(0x1a0)]()&&BrowserstackCLI['getInstance']()[_0xb21b67(0x1d7)]()){const _0x384aa7=BrowserstackCLI[_0xb21b67(0x1a0)](),_0x4faaa0=_0x384aa7[_0xb21b67(0x1a2)]();if(_0x4faaa0&&_0x3f34bc[_0xb21b67(0x1af)](typeof _0x4faaa0[_0xb21b67(0x1b5)],_0x3f34bc['uciVd'])){const _0x40c42c={'fixture':_0x4be16d,'test':_0x4550af,'fixtureIdentifier':_0x3f34bc[_0xb21b67(0x1c6)](getFixtureIdentifier,_0x4be16d),'userAgents':_0x5296d2};await _0x4faaa0[_0xb21b67(0x1b5)](TestFrameworkState[_0xb21b67(0x18c)],HookState['PRE'],_0x40c42c),await _0x4faaa0[_0xb21b67(0x1b5)](TestFrameworkState[_0xb21b67(0x18c)],HookState['POST'],_0x40c42c);const _0x556e9a={};_0x556e9a[_0xb21b67(0x1ad)]=_0x4550af,_0x556e9a[_0xb21b67(0x1c9)]=_0xf032c0,_0x556e9a['meta']=_0x236cfb,_0x556e9a[_0xb21b67(0x1e4)]=_0x5296d2,await _0x4faaa0['trackEvent'](TestFrameworkState[_0xb21b67(0x1e0)],HookState[_0xb21b67(0x1ac)],_0x556e9a);}}}),'reportTestDone':_0x3f34bc['ebsii'](_0x31ca2d,async function _0x5a4d2d(_0x2f552c,_0x1c10e7,_0x19b194){const _0x218b01=_0xa2b07d,_0x6e680c=_0x3c6e37['fixtureStack'][_0x3f34bc[_0x218b01(0x196)](_0x3c6e37[_0x218b01(0x1bd)]['length'],0x1)]||{'name':_0x3f34bc[_0x218b01(0x1b6)],'path':_0x3f34bc[_0x218b01(0x1b6)]},_0x43b788={};_0x43b788[_0x218b01(0x1ce)]=_0x6e680c[_0x218b01(0x1d2)],_0x43b788[_0x218b01(0x1b7)]=_0x6e680c[_0x218b01(0x1e1)],_0x43b788[_0x218b01(0x1d5)]=_0x2f552c,_0x43b788[_0x218b01(0x1e9)]=_0x19b194;const _0x1c1771=_0x3f34bc[_0x218b01(0x1dd)](synthesizeTestObject,_0x43b788),_0x501ec0=Array['isArray'](_0x1c10e7&&_0x1c10e7['errs'])?_0x1c10e7[_0x218b01(0x1e6)][_0x218b01(0x18d)](formatError)['filter'](Boolean):[],_0x4b1ad4=_0x3f34bc[_0x218b01(0x180)](getScreenshotPaths,_0x1c10e7)[_0x218b01(0x18d)](_0x2192a0=>({'screenshotPath':_0x2192a0})),_0xcc6cfa={};_0xcc6cfa['durationMs']=_0x1c10e7&&_0x1c10e7[_0x218b01(0x19a)]||0x0,_0xcc6cfa[_0x218b01(0x18f)]=!!(_0x1c10e7&&_0x1c10e7['skipped']),_0xcc6cfa[_0x218b01(0x1e6)]=_0x501ec0,_0xcc6cfa[_0x218b01(0x184)]=_0x4b1ad4,_0xcc6cfa['unstable']=!!(_0x1c10e7&&_0x1c10e7[_0x218b01(0x1cf)]),_0xcc6cfa[_0x218b01(0x197)]=_0x1c10e7&&_0x1c10e7[_0x218b01(0x197)];const _0x3b6d72=_0xcc6cfa;logger[_0x218b01(0x19d)](_0x218b01(0x1e7)+_0x3f34bc[_0x218b01(0x183)](getTestIdentifier,_0x1c1771,0x0)+'\x20(errs='+_0x501ec0[_0x218b01(0x1c5)]+_0x218b01(0x1c4)+_0x3b6d72[_0x218b01(0x18f)]+')');const _0x5de274=_0x3c6e37[_0x218b01(0x1b3)]&&_0x3c6e37[_0x218b01(0x1b3)][_0x218b01(0x1e4)]||[];if(BrowserstackCLI[_0x218b01(0x1a0)]()&&BrowserstackCLI[_0x218b01(0x1a0)]()[_0x218b01(0x1d7)]()){const _0x20b0b9=BrowserstackCLI['getInstance'](),_0x2b5555=_0x20b0b9[_0x218b01(0x1a2)]();if(_0x2b5555&&_0x3f34bc['TiDiv'](typeof _0x2b5555[_0x218b01(0x1b5)],_0x3f34bc[_0x218b01(0x1a3)])){const _0x37590c={};_0x37590c[_0x218b01(0x1ad)]=_0x1c1771,_0x37590c['testRunInfo']=_0x3b6d72,_0x37590c['meta']=_0x19b194,_0x37590c[_0x218b01(0x1e4)]=_0x5de274,await _0x2b5555[_0x218b01(0x1b5)](TestFrameworkState['TEST'],HookState[_0x218b01(0x1d0)],_0x37590c);const _0x55d4e2={'fixture':_0x6e680c,'test':_0x1c1771,'fixtureIdentifier':_0x3f34bc[_0x218b01(0x19b)](getFixtureIdentifier,_0x6e680c),'userAgents':_0x5de274};await _0x2b5555[_0x218b01(0x1b5)](TestFrameworkState[_0x218b01(0x199)],HookState[_0x218b01(0x1ac)],_0x55d4e2),await _0x2b5555[_0x218b01(0x1b5)](TestFrameworkState['AFTER_EACH'],HookState[_0x218b01(0x1d0)],_0x55d4e2);}}}),'reportTaskDone':_0x3f34bc['nRDpf'](_0x31ca2d,async function _0x22624a(_0x5d4d33,_0x1dc79c,_0x471d20,_0x3f2e4a){const _0x4ed916=_0xa2b07d;while(_0x3c6e37[_0x4ed916(0x1bd)]['length']){const _0xe8237a=_0x3c6e37[_0x4ed916(0x1bd)][_0x4ed916(0x1c1)]();if(BrowserstackCLI[_0x4ed916(0x1a0)]()&&BrowserstackCLI[_0x4ed916(0x1a0)]()['isRunning']()){const _0x2a5b4d=BrowserstackCLI[_0x4ed916(0x1a0)](),_0x497515=_0x2a5b4d['getTestFramework']();if(_0x497515&&_0x3f34bc['fawWs'](typeof _0x497515['trackEvent'],_0x3f34bc[_0x4ed916(0x1a3)])){const _0x27ed83=_0x3c6e37[_0x4ed916(0x1b3)]&&_0x3c6e37[_0x4ed916(0x1b3)][_0x4ed916(0x1e4)]||[],_0x115b3d={'fixture':_0xe8237a,'fixtureIdentifier':_0x3f34bc[_0x4ed916(0x1e3)](getFixtureIdentifier,_0xe8237a),'userAgents':_0x27ed83};await _0x497515[_0x4ed916(0x1b5)](TestFrameworkState[_0x4ed916(0x1d3)],HookState[_0x4ed916(0x1ac)],_0x115b3d),await _0x497515[_0x4ed916(0x1b5)](TestFrameworkState['AFTER_ALL'],HookState[_0x4ed916(0x1d0)],_0x115b3d);}}}if(BrowserstackCLI[_0x4ed916(0x1a0)]()&&BrowserstackCLI[_0x4ed916(0x1a0)]()[_0x4ed916(0x1d7)]()){const _0xb57aa9=BrowserstackCLI[_0x4ed916(0x1a0)](),_0x38dcfd=_0xb57aa9[_0x4ed916(0x1a5)]();if(_0x38dcfd&&_0x3f34bc[_0x4ed916(0x19e)](typeof _0x38dcfd[_0x4ed916(0x1b5)],_0x3f34bc[_0x4ed916(0x1a3)]))for(const {userAgent:_0x9609c4,platformIndex:_0x119685,instance:_0x11f35c}of TestCafeAutomationFramework[_0x4ed916(0x185)]()){try{const _0x5cfe8d={};_0x5cfe8d[_0x4ed916(0x1a1)]=_0x9609c4,_0x5cfe8d[_0x4ed916(0x1b0)]=_0x119685,_0x5cfe8d[_0x4ed916(0x1b9)]=_0x5d4d33,_0x5cfe8d[_0x4ed916(0x1b1)]=_0x11f35c,await _0x38dcfd[_0x4ed916(0x1b5)](AutomationFrameworkState['QUIT'],HookState[_0x4ed916(0x1d0)],_0x5cfe8d);}catch(_0x5bbe47){logger[_0x4ed916(0x1c2)](_0x4ed916(0x1ab)+_0x9609c4+'#'+_0x119685+':\x20'+_0x5bbe47['message']);}TestCafeAutomationFramework[_0x4ed916(0x1c7)](_0x9609c4,_0x119685);}}logger[_0x4ed916(0x1e2)]('[testcafe-reporter]\x20reportTaskDone:\x20passed='+_0x1dc79c+_0x4ed916(0x1cd)+(_0x471d20&&_0x471d20[_0x4ed916(0x1c5)])+_0x4ed916(0x187)+(_0x3f2e4a&&_0x3f34bc[_0x4ed916(0x1de)](_0x3f34bc[_0x4ed916(0x182)](_0x3f2e4a[_0x4ed916(0x1d4)],_0x3f2e4a[_0x4ed916(0x191)]),_0x3f2e4a['skippedCount'])));})};};
|
|
1
|
+
'use strict';function a66_0x5275(){const _0x20d872=['[testcafe-reporter]\x20swallowed\x20error\x20in\x20','pUidR','isRunning','NgVAH','MmTPS','POST','BEFORE_ALL','SVDYj','properties','tJYtr','\x20@\x20','unknown','quarantine','VjNYR','fixtureName','CREATE','failedCount','userAgents','../../v2/state/testFrameworkState','\x20browsers','1599783OlPKxy','TYEDU','1731066zuMyKU','setup','BEFORE_EACH','136AJTnlo','listEntries',',\x20skipped=','map','error','durationMs','message','taskStructure','testCount','\x20(errs=','388380TehrNq','PmEZh','exports','test','platformIndex','../../v2/framework/automationFramework','debug','isInteger','currentTaskInfo','testName','push','name','winstonLogger','getInstance','removeInstance','INIT_TEST','AFTER_EACH','instance','path','\x20warnings=','[testcafe-reporter]\x20reportTaskDone:\x20passed=','iterAllInstances','VnMJp','yBlVZ','endTime','MdLPY','[testcafe-reporter]\x20reportFixtureStart:\x20','fixturePath','504184ubDtyg','smPDx','\x20tests\x20across\x20','handler','filter','meta','pZAvB','[testcafe-reporter]\x20reportTestStart:\x20','kHDOp','getAutomationFramework','startTime','AIJpx','../../v2/state/hookState','errs','FQyJq','pop','50NJDfPL','PRE','length','info','isArray','1128294MGyABr','unstable','hubUrl','skippedCount','jvrDk','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','[testcafe-reporter]\x20reportTaskStart:\x20','kRCsR','TEST','testRunInfo','userAgent','getTestFramework','fixtureStack','453334SgxhQB','2SHggqj','sessionId','112924FbnLCK','cZfPL','AFTER_ALL','../../v2/state/automationFrameworkState','screenshots','QUIT','trackEvent','\x20totalDuration='];a66_0x5275=function(){return _0x20d872;};return a66_0x5275();}const a66_0x32a98e=a66_0x439e;(function(_0x59bcaa,_0x277aeb){const _0x5a386b=a66_0x439e,_0x39bfa4=_0x59bcaa();while(!![]){try{const _0x2b0dec=parseInt(_0x5a386b(0x205))/0x1+parseInt(_0x5a386b(0x206))/0x2*(parseInt(_0x5a386b(0x224))/0x3)+-parseInt(_0x5a386b(0x1e3))/0x4+parseInt(_0x5a386b(0x233))/0x5+parseInt(_0x5a386b(0x226))/0x6+-parseInt(_0x5a386b(0x208))/0x7*(parseInt(_0x5a386b(0x229))/0x8)+parseInt(_0x5a386b(0x1f8))/0x9*(-parseInt(_0x5a386b(0x1f3))/0xa);if(_0x2b0dec===_0x277aeb)break;else _0x39bfa4['push'](_0x39bfa4['shift']());}catch(_0x698c88){_0x39bfa4['push'](_0x39bfa4['shift']());}}}(a66_0x5275,0x4f81e));const path=require(a66_0x32a98e(0x245)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require('./tcUtils'),logger=require('../../../helpers/logger')[a66_0x32a98e(0x23f)],BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a66_0x32a98e(0x222)),AutomationFrameworkState=require(a66_0x32a98e(0x20b)),HookState=require(a66_0x32a98e(0x1ef)),TestInfo=require('../../v2/TestInfo'),AutomationFramework=require(a66_0x32a98e(0x238)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require('../session-registry');function a66_0x439e(_0x4c1c6d,_0x442fb0){const _0x527534=a66_0x5275();return a66_0x439e=function(_0x439ea6,_0x1035c0){_0x439ea6=_0x439ea6-0x1e0;let _0xcf5d6a=_0x527534[_0x439ea6];return _0xcf5d6a;},a66_0x439e(_0x4c1c6d,_0x442fb0);}module[a66_0x32a98e(0x235)]=function(_0x970249){const _0x37f943=a66_0x32a98e,_0x36bf46={'VnMJp':function(_0xad4dce,..._0x1d21c3){return _0xad4dce(..._0x1d21c3);},'MmTPS':_0x37f943(0x1e6),'UkHAw':'testcafe','MdLPY':function(_0x5b0d68,_0x41c8b8){return _0x5b0d68===_0x41c8b8;},'smPDx':'function','cSmzG':function(_0x3ba7bb,_0x11a7e7){return _0x3ba7bb===_0x11a7e7;},'AIJpx':function(_0x180cf6,_0x30809f){return _0x180cf6<_0x30809f;},'EmRUa':function(_0x41d5fc,_0x5dc237){return _0x41d5fc||_0x5dc237;},'yBlVZ':function(_0xb36001,_0x158fba){return _0xb36001-_0x158fba;},'cZfPL':_0x37f943(0x21b),'NgVAH':function(_0x55d02d,_0x4e35f6){return _0x55d02d(_0x4e35f6);},'PmEZh':function(_0x2d730b,_0x457632,_0x2bdad8){return _0x2d730b(_0x457632,_0x2bdad8);},'XmkaN':function(_0x597cd5,_0x2a7769){return _0x597cd5===_0x2a7769;},'kRCsR':function(_0x61774c,_0x3d9cd2){return _0x61774c-_0x3d9cd2;},'pUidR':function(_0x241e2e,_0x22af30){return _0x241e2e(_0x22af30);},'tJYtr':function(_0x224445,_0x125ae2,_0x203340){return _0x224445(_0x125ae2,_0x203340);},'SVDYj':function(_0x31210c,_0x435154){return _0x31210c===_0x435154;},'TYEDU':function(_0x15ad85,_0x292d2c){return _0x15ad85(_0x292d2c);},'kHDOp':function(_0x359b51,_0x2133b2){return _0x359b51===_0x2133b2;},'FQyJq':function(_0x336246,_0x527f29){return _0x336246+_0x527f29;},'dysUL':function(_0x17f95f,_0xb2bd33){return _0x17f95f+_0xb2bd33;},'lESQP':function(_0x59520e,_0xa02937){return _0x59520e||_0xa02937;},'jvrDk':function(_0x518ab3,_0x3eba2c){return _0x518ab3(_0x3eba2c);},'pZAvB':function(_0x4de964,_0x2461a5){return _0x4de964(_0x2461a5);},'VjNYR':function(_0x589314,_0x5c2ed1){return _0x589314(_0x5c2ed1);}},_0x378342={'options':_0x36bf46['lESQP'](_0x970249,{}),'fixtureStack':[],'currentTaskInfo':null},_0x370b1c=_0x2d1e8a=>async(..._0x266c22)=>{const _0xc4a4b9=_0x37f943;try{return await _0x36bf46[_0xc4a4b9(0x249)](_0x2d1e8a,..._0x266c22);}catch(_0xf915fd){logger[_0xc4a4b9(0x22d)](_0xc4a4b9(0x210)+(_0x2d1e8a[_0xc4a4b9(0x23e)]||_0x36bf46[_0xc4a4b9(0x214)])+':\x20'+(_0xf915fd['stack']||_0xf915fd));}};return{'reportTaskStart':_0x36bf46[_0x37f943(0x211)](_0x370b1c,async function _0x1c5e66(_0x2627ee,_0x4eb8e0,_0x4bbfc7,_0x2f5730,_0x10875d){const _0x23dcf1=_0x37f943,_0x10527f={};_0x10527f['startTime']=_0x2627ee,_0x10527f['userAgents']=_0x4eb8e0,_0x10527f[_0x23dcf1(0x231)]=_0x4bbfc7,_0x10527f[_0x23dcf1(0x230)]=_0x2f5730,_0x10527f[_0x23dcf1(0x218)]=_0x10875d,_0x378342[_0x23dcf1(0x23b)]=_0x10527f,logger[_0x23dcf1(0x1f6)](_0x23dcf1(0x1fe)+_0x4bbfc7+_0x23dcf1(0x1e5)+_0x4eb8e0[_0x23dcf1(0x1f5)]+_0x23dcf1(0x223)),TestInfo[_0x23dcf1(0x227)]&&TestInfo[_0x23dcf1(0x227)](_0x36bf46['UkHAw']);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x23dcf1(0x240)]()[_0x23dcf1(0x212)]())return;const _0x11e761=BrowserstackCLI[_0x23dcf1(0x240)](),_0xc79738=_0x11e761[_0x23dcf1(0x203)]();if(_0xc79738&&_0x36bf46[_0x23dcf1(0x1e0)](typeof _0xc79738[_0x23dcf1(0x20e)],_0x36bf46[_0x23dcf1(0x1e4)])){const _0x140800={};_0x140800[_0x23dcf1(0x1ed)]=_0x2627ee,_0x140800['userAgents']=_0x4eb8e0,_0x140800[_0x23dcf1(0x231)]=_0x4bbfc7,_0x140800[_0x23dcf1(0x230)]=_0x2f5730,await _0xc79738[_0x23dcf1(0x20e)](TestFrameworkState[_0x23dcf1(0x242)],HookState[_0x23dcf1(0x1f4)],_0x140800);}const _0x317c44=_0x11e761[_0x23dcf1(0x1ec)](),_0x17441d=sessionRegistry[_0x23dcf1(0x22a)]();if(_0x317c44&&_0x36bf46['cSmzG'](typeof _0x317c44[_0x23dcf1(0x20e)],_0x36bf46[_0x23dcf1(0x1e4)]))for(let _0x1aed4e=0x0;_0x36bf46[_0x23dcf1(0x1ee)](_0x1aed4e,(_0x4eb8e0||[])[_0x23dcf1(0x1f5)]);_0x1aed4e++){const _0x308b77=_0x4eb8e0[_0x1aed4e],_0x106ad4=_0x17441d[_0x1aed4e]||{};await _0x317c44['trackEvent'](AutomationFrameworkState[_0x23dcf1(0x21f)],HookState[_0x23dcf1(0x215)],{'userAgent':_0x308b77,'startTime':_0x2627ee,'driver':_0x106ad4['driver'],'sessionId':_0x106ad4[_0x23dcf1(0x207)],'platformIndex':Number[_0x23dcf1(0x23a)](_0x106ad4[_0x23dcf1(0x237)])?_0x106ad4[_0x23dcf1(0x237)]:_0x1aed4e,'capabilities':_0x106ad4['capabilities']||{},'hubUrl':_0x106ad4[_0x23dcf1(0x1fa)]||''});}}),'reportFixtureStart':_0x36bf46[_0x37f943(0x1fc)](_0x370b1c,async function _0x52ccf0(_0x272e6c,_0x4d0225,_0x423d35){const _0x30c8c8=_0x37f943,_0x334eab={'name':_0x272e6c,'path':_0x4d0225,'meta':_0x36bf46['EmRUa'](_0x423d35,{})};_0x378342['fixtureStack'][_0x30c8c8(0x23d)](_0x334eab),logger[_0x30c8c8(0x239)](_0x30c8c8(0x1e1)+_0x272e6c+_0x30c8c8(0x21a)+_0x4d0225);if(BrowserstackCLI[_0x30c8c8(0x240)]()&&BrowserstackCLI[_0x30c8c8(0x240)]()[_0x30c8c8(0x212)]()){const _0x462176=BrowserstackCLI[_0x30c8c8(0x240)](),_0x2de81b=_0x462176[_0x30c8c8(0x203)]();if(_0x2de81b&&_0x36bf46['cSmzG'](typeof _0x2de81b[_0x30c8c8(0x20e)],_0x36bf46['smPDx'])){const _0x2bde3a=_0x378342[_0x30c8c8(0x23b)]&&_0x378342[_0x30c8c8(0x23b)]['userAgents']||[],_0x1e59d6={'fixture':_0x334eab,'fixtureIdentifier':_0x36bf46[_0x30c8c8(0x249)](getFixtureIdentifier,_0x334eab),'userAgents':_0x2bde3a};await _0x2de81b[_0x30c8c8(0x20e)](TestFrameworkState[_0x30c8c8(0x216)],HookState[_0x30c8c8(0x1f4)],_0x1e59d6),await _0x2de81b['trackEvent'](TestFrameworkState[_0x30c8c8(0x216)],HookState[_0x30c8c8(0x215)],_0x1e59d6);}}}),'reportTestStart':_0x36bf46[_0x37f943(0x249)](_0x370b1c,async function _0x32aebc(_0x4098fa,_0x187345,_0x334088){const _0xc269d3=_0x37f943,_0x3f30ef=_0x378342[_0xc269d3(0x204)][_0x36bf46[_0xc269d3(0x24a)](_0x378342[_0xc269d3(0x204)][_0xc269d3(0x1f5)],0x1)]||{'name':_0x36bf46[_0xc269d3(0x209)],'path':_0x36bf46[_0xc269d3(0x209)]},_0x26e277={};_0x26e277[_0xc269d3(0x21e)]=_0x3f30ef[_0xc269d3(0x23e)],_0x26e277[_0xc269d3(0x1e2)]=_0x3f30ef[_0xc269d3(0x245)],_0x26e277['testName']=_0x4098fa,_0x26e277['meta']=_0x187345;const _0x450240=_0x36bf46[_0xc269d3(0x213)](synthesizeTestObject,_0x26e277);logger[_0xc269d3(0x239)](_0xc269d3(0x1ea)+_0x36bf46[_0xc269d3(0x234)](getTestIdentifier,_0x450240,0x0));const _0x1614b1=_0x378342[_0xc269d3(0x23b)]&&_0x378342[_0xc269d3(0x23b)][_0xc269d3(0x221)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI['getInstance']()[_0xc269d3(0x212)]()){const _0x58edeb=BrowserstackCLI['getInstance'](),_0x42b59b=_0x58edeb[_0xc269d3(0x203)]();if(_0x42b59b&&_0x36bf46['XmkaN'](typeof _0x42b59b[_0xc269d3(0x20e)],_0x36bf46[_0xc269d3(0x1e4)])){const _0x351425={'fixture':_0x3f30ef,'test':_0x450240,'fixtureIdentifier':_0x36bf46[_0xc269d3(0x249)](getFixtureIdentifier,_0x3f30ef),'userAgents':_0x1614b1};await _0x42b59b['trackEvent'](TestFrameworkState[_0xc269d3(0x228)],HookState[_0xc269d3(0x1f4)],_0x351425),await _0x42b59b['trackEvent'](TestFrameworkState[_0xc269d3(0x228)],HookState[_0xc269d3(0x215)],_0x351425);const _0x4adc1e={};_0x4adc1e[_0xc269d3(0x236)]=_0x450240,_0x4adc1e['testStartInfo']=_0x334088,_0x4adc1e[_0xc269d3(0x1e8)]=_0x187345,_0x4adc1e[_0xc269d3(0x221)]=_0x1614b1,await _0x42b59b[_0xc269d3(0x20e)](TestFrameworkState[_0xc269d3(0x200)],HookState[_0xc269d3(0x1f4)],_0x4adc1e);}}}),'reportTestDone':_0x36bf46[_0x37f943(0x1e9)](_0x370b1c,async function _0x87f9fb(_0x559572,_0x533eef,_0x4cddab){const _0x12c347=_0x37f943,_0x32ee03=_0x378342[_0x12c347(0x204)][_0x36bf46[_0x12c347(0x1ff)](_0x378342[_0x12c347(0x204)][_0x12c347(0x1f5)],0x1)]||{'name':_0x36bf46[_0x12c347(0x209)],'path':_0x36bf46['cZfPL']},_0x5695a0={};_0x5695a0[_0x12c347(0x21e)]=_0x32ee03[_0x12c347(0x23e)],_0x5695a0[_0x12c347(0x1e2)]=_0x32ee03[_0x12c347(0x245)],_0x5695a0[_0x12c347(0x23c)]=_0x559572,_0x5695a0[_0x12c347(0x1e8)]=_0x4cddab;const _0x341e25=_0x36bf46[_0x12c347(0x211)](synthesizeTestObject,_0x5695a0),_0x1902e0=Array[_0x12c347(0x1f7)](_0x533eef&&_0x533eef[_0x12c347(0x1f0)])?_0x533eef['errs'][_0x12c347(0x22c)](formatError)[_0x12c347(0x1e7)](Boolean):[],_0xdc7da7=_0x36bf46[_0x12c347(0x213)](getScreenshotPaths,_0x533eef)[_0x12c347(0x22c)](_0x306b02=>({'screenshotPath':_0x306b02})),_0x51f134={};_0x51f134[_0x12c347(0x22e)]=_0x533eef&&_0x533eef[_0x12c347(0x22e)]||0x0,_0x51f134['skipped']=!!(_0x533eef&&_0x533eef['skipped']),_0x51f134[_0x12c347(0x1f0)]=_0x1902e0,_0x51f134[_0x12c347(0x20c)]=_0xdc7da7,_0x51f134[_0x12c347(0x1f9)]=!!(_0x533eef&&_0x533eef[_0x12c347(0x1f9)]),_0x51f134[_0x12c347(0x21c)]=_0x533eef&&_0x533eef[_0x12c347(0x21c)];const _0x2fd137=_0x51f134;logger[_0x12c347(0x239)]('[testcafe-reporter]\x20reportTestDone:\x20'+_0x36bf46[_0x12c347(0x219)](getTestIdentifier,_0x341e25,0x0)+_0x12c347(0x232)+_0x1902e0['length']+_0x12c347(0x22b)+_0x2fd137['skipped']+')');const _0x34dca1=_0x378342[_0x12c347(0x23b)]&&_0x378342[_0x12c347(0x23b)][_0x12c347(0x221)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x12c347(0x240)]()[_0x12c347(0x212)]()){const _0x28aa27=BrowserstackCLI['getInstance'](),_0x4414dc=_0x28aa27[_0x12c347(0x203)]();if(_0x4414dc&&_0x36bf46[_0x12c347(0x217)](typeof _0x4414dc[_0x12c347(0x20e)],_0x36bf46[_0x12c347(0x1e4)])){const _0x4eeaf7={};_0x4eeaf7[_0x12c347(0x236)]=_0x341e25,_0x4eeaf7[_0x12c347(0x201)]=_0x2fd137,_0x4eeaf7[_0x12c347(0x1e8)]=_0x4cddab,_0x4eeaf7['userAgents']=_0x34dca1,await _0x4414dc[_0x12c347(0x20e)](TestFrameworkState[_0x12c347(0x200)],HookState['POST'],_0x4eeaf7);const _0x427b1b={'fixture':_0x32ee03,'test':_0x341e25,'fixtureIdentifier':_0x36bf46[_0x12c347(0x225)](getFixtureIdentifier,_0x32ee03),'userAgents':_0x34dca1};await _0x4414dc[_0x12c347(0x20e)](TestFrameworkState[_0x12c347(0x243)],HookState[_0x12c347(0x1f4)],_0x427b1b),await _0x4414dc[_0x12c347(0x20e)](TestFrameworkState['AFTER_EACH'],HookState[_0x12c347(0x215)],_0x427b1b);}}}),'reportTaskDone':_0x36bf46[_0x37f943(0x21d)](_0x370b1c,async function _0x4dac0f(_0x50ba58,_0x2dc90d,_0x5304a5,_0x1b5343){const _0x1c5e5c=_0x37f943;while(_0x378342['fixtureStack']['length']){const _0x43a45d=_0x378342['fixtureStack'][_0x1c5e5c(0x1f2)]();if(BrowserstackCLI[_0x1c5e5c(0x240)]()&&BrowserstackCLI['getInstance']()[_0x1c5e5c(0x212)]()){const _0x5391f4=BrowserstackCLI['getInstance'](),_0x2281f3=_0x5391f4[_0x1c5e5c(0x203)]();if(_0x2281f3&&_0x36bf46[_0x1c5e5c(0x1e0)](typeof _0x2281f3[_0x1c5e5c(0x20e)],_0x36bf46[_0x1c5e5c(0x1e4)])){const _0x10ebb5=_0x378342[_0x1c5e5c(0x23b)]&&_0x378342[_0x1c5e5c(0x23b)][_0x1c5e5c(0x221)]||[],_0x42188a={'fixture':_0x43a45d,'fixtureIdentifier':_0x36bf46[_0x1c5e5c(0x211)](getFixtureIdentifier,_0x43a45d),'userAgents':_0x10ebb5};await _0x2281f3['trackEvent'](TestFrameworkState[_0x1c5e5c(0x20a)],HookState[_0x1c5e5c(0x1f4)],_0x42188a),await _0x2281f3[_0x1c5e5c(0x20e)](TestFrameworkState[_0x1c5e5c(0x20a)],HookState[_0x1c5e5c(0x215)],_0x42188a);}}}if(BrowserstackCLI[_0x1c5e5c(0x240)]()&&BrowserstackCLI[_0x1c5e5c(0x240)]()[_0x1c5e5c(0x212)]()){const _0x4e6651=BrowserstackCLI[_0x1c5e5c(0x240)](),_0x4d0a7b=_0x4e6651['getAutomationFramework']();if(_0x4d0a7b&&_0x36bf46[_0x1c5e5c(0x1eb)](typeof _0x4d0a7b[_0x1c5e5c(0x20e)],_0x36bf46[_0x1c5e5c(0x1e4)]))for(const {userAgent:_0x56a483,platformIndex:_0x33a2d7,instance:_0x38e0ce}of TestCafeAutomationFramework[_0x1c5e5c(0x248)]()){try{const _0x119743={};_0x119743[_0x1c5e5c(0x202)]=_0x56a483,_0x119743[_0x1c5e5c(0x237)]=_0x33a2d7,_0x119743[_0x1c5e5c(0x24b)]=_0x50ba58,_0x119743[_0x1c5e5c(0x244)]=_0x38e0ce,await _0x4d0a7b[_0x1c5e5c(0x20e)](AutomationFrameworkState[_0x1c5e5c(0x20d)],HookState[_0x1c5e5c(0x215)],_0x119743);}catch(_0x3e5975){logger[_0x1c5e5c(0x22d)](_0x1c5e5c(0x1fd)+_0x56a483+'#'+_0x33a2d7+':\x20'+_0x3e5975[_0x1c5e5c(0x22f)]);}TestCafeAutomationFramework[_0x1c5e5c(0x241)](_0x56a483,_0x33a2d7);}}logger[_0x1c5e5c(0x1f6)](_0x1c5e5c(0x247)+_0x2dc90d+_0x1c5e5c(0x246)+(_0x5304a5&&_0x5304a5[_0x1c5e5c(0x1f5)])+_0x1c5e5c(0x20f)+(_0x1b5343&&_0x36bf46[_0x1c5e5c(0x1f1)](_0x36bf46['dysUL'](_0x1b5343[_0x1c5e5c(0x220)],_0x1b5343['passedCount']),_0x1b5343[_0x1c5e5c(0x1fb)])));})};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a67_0x359652=a67_0x268a;function a67_0x268a(_0x1bc2eb,_0x402e8f){const _0xbd41b8=a67_0xbd41();return a67_0x268a=function(_0x268a5a,_0x210f6f){_0x268a5a=_0x268a5a-0x1ac;let _0x22590e=_0xbd41b8[_0x268a5a];return _0x22590e;},a67_0x268a(_0x1bc2eb,_0x402e8f);}(function(_0x3e0d27,_0x468651){const _0x3193b8=a67_0x268a,_0x382b9f=_0x3e0d27();while(!![]){try{const _0x380601=parseInt(_0x3193b8(0x1b2))/0x1*(-parseInt(_0x3193b8(0x1b7))/0x2)+-parseInt(_0x3193b8(0x1c8))/0x3+-parseInt(_0x3193b8(0x1ad))/0x4+-parseInt(_0x3193b8(0x1ac))/0x5+parseInt(_0x3193b8(0x1bd))/0x6*(-parseInt(_0x3193b8(0x1b1))/0x7)+parseInt(_0x3193b8(0x1c2))/0x8+-parseInt(_0x3193b8(0x1ce))/0x9*(-parseInt(_0x3193b8(0x1c9))/0xa);if(_0x380601===_0x468651)break;else _0x382b9f['push'](_0x382b9f['shift']());}catch(_0x913b38){_0x382b9f['push'](_0x382b9f['shift']());}}}(a67_0xbd41,0xb5ba1));function getTestIdentifier(_0x4d2dff,_0x24e35e){const _0x22cda5=a67_0x268a,_0x2e71c9={};_0x2e71c9[_0x22cda5(0x1b4)]=_0x22cda5(0x1cb);const _0x172812=_0x2e71c9,_0x26f103=_0x4d2dff&&_0x4d2dff[_0x22cda5(0x1be)]&&_0x4d2dff[_0x22cda5(0x1be)]['path']||_0x172812[_0x22cda5(0x1b4)],_0x22c260=_0x4d2dff&&_0x4d2dff[_0x22cda5(0x1be)]&&_0x4d2dff[_0x22cda5(0x1be)][_0x22cda5(0x1c1)]||_0x172812['sydxr'],_0x1df1c9=_0x4d2dff&&_0x4d2dff['name']||_0x172812['sydxr'],_0x5313d3=_0x26f103+'::'+_0x22c260+'::'+_0x1df1c9;return _0x24e35e?_0x5313d3+_0x22cda5(0x1cc)+_0x24e35e:_0x5313d3;}function a67_0xbd41(){const _0x1c769c=['path','4090281zqJuov','3079580aEEtzW','isArray','unknown','::retry','errMsg','144cIHHDQ','6932330TAqCmG','739864qcPDre','PvGXZ','MGqOG','FUGfj','7MbbnoB','534269ewHPeu','PBJfv','sydxr','BmwwA','screenshotPath','2qZEAcb','formatError','getTestIdentifier','synthesizeTestObject','filter','screenshotPathForPDF','4835316jPDfhF','fixture','TestCafeError','renderSync','name','736312dTtzRV','WeRDO','screenshots','callsite','formattedMessage'];a67_0xbd41=function(){return _0x1c769c;};return a67_0xbd41();}function getFixtureIdentifier(_0x57f1db){const _0x83b38=a67_0x268a,_0x57c863={};_0x57c863[_0x83b38(0x1b3)]=_0x83b38(0x1cb);const _0x398648=_0x57c863,_0x1c5e12=_0x57f1db&&_0x57f1db[_0x83b38(0x1c7)]||_0x398648['PBJfv'],_0x35ed35=_0x57f1db&&_0x57f1db[_0x83b38(0x1c1)]||_0x398648[_0x83b38(0x1b3)];return _0x1c5e12+'::'+_0x35ed35;}function synthesizeTestObject({fixtureName:_0x243537,fixturePath:_0x109e1f,testName:_0x4e7924,meta:_0x13d3f3}){const _0x270f9d=a67_0x268a,_0x100f1e={};_0x100f1e[_0x270f9d(0x1c3)]=function(_0x170663,_0x30fab2){return _0x170663||_0x30fab2;};const _0x3a720f=_0x100f1e,_0x21420c={};return _0x21420c[_0x270f9d(0x1c1)]=_0x243537,_0x21420c[_0x270f9d(0x1c7)]=_0x109e1f,{'name':_0x4e7924,'meta':_0x3a720f['WeRDO'](_0x13d3f3,{}),'fixture':_0x21420c};}function getScreenshotPaths(_0x3dd112){const _0x25a2d3=a67_0x268a;if(!_0x3dd112||!Array[_0x25a2d3(0x1ca)](_0x3dd112[_0x25a2d3(0x1c4)]))return[];return _0x3dd112[_0x25a2d3(0x1c4)]['map'](_0x463284=>_0x463284&&(_0x463284[_0x25a2d3(0x1b6)]||_0x463284[_0x25a2d3(0x1bc)])||null)[_0x25a2d3(0x1bb)](Boolean);}function formatError(_0x512623){const _0x21d6a6=a67_0x268a,_0x45e99d={'uceWz':_0x21d6a6(0x1bf),'BmwwA':function(_0x552512,_0x4090d4){return _0x552512(_0x4090d4);},'PvGXZ':function(_0x4abb71,_0xea2367){return _0x4abb71(_0xea2367);}};if(!_0x512623)return null;return{'type':_0x512623['code']||_0x45e99d['uceWz'],'message':_0x512623[_0x21d6a6(0x1c6)]||_0x512623[_0x21d6a6(0x1cd)]||_0x45e99d[_0x21d6a6(0x1b5)](String,_0x512623),'stack':_0x45e99d[_0x21d6a6(0x1ae)](_tryRenderCallsite,_0x512623)};}function _tryRenderCallsite(_0x4612cb){const _0x52bb67=a67_0x268a,_0x58f641={};_0x58f641[_0x52bb67(0x1af)]=function(_0x2cb871,_0xe5642a){return _0x2cb871===_0xe5642a;},_0x58f641[_0x52bb67(0x1b0)]='function';const _0x495f62=_0x58f641;try{if(_0x4612cb&&_0x4612cb[_0x52bb67(0x1c5)]&&_0x495f62[_0x52bb67(0x1af)](typeof _0x4612cb['callsite'][_0x52bb67(0x1c0)],_0x495f62['FUGfj'])){const _0xb963f3={};return _0xb963f3['stackFilter']=()=>!![],_0x4612cb['callsite']['renderSync'](_0xb963f3);}}catch(_0x409b8a){}return'';}const a67_0xf414a3={};a67_0xf414a3[a67_0x359652(0x1b9)]=getTestIdentifier,a67_0xf414a3['getFixtureIdentifier']=getFixtureIdentifier,a67_0xf414a3[a67_0x359652(0x1ba)]=synthesizeTestObject,a67_0xf414a3['getScreenshotPaths']=getScreenshotPaths,a67_0xf414a3[a67_0x359652(0x1b8)]=formatError,module['exports']=a67_0xf414a3;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a68_0xc7bf91=a68_0x48d9;(function(_0x3d74cc,_0x359fcd){const _0x264b8d=a68_0x48d9,_0x1b9e4b=_0x3d74cc();while(!![]){try{const _0x4cb3ce=parseInt(_0x264b8d(0x1ee))/0x1+parseInt(_0x264b8d(0x1c9))/0x2+-parseInt(_0x264b8d(0x1f7))/0x3*(parseInt(_0x264b8d(0x1db))/0x4)+parseInt(_0x264b8d(0x1ca))/0x5+parseInt(_0x264b8d(0x1cb))/0x6+-parseInt(_0x264b8d(0x1d3))/0x7*(parseInt(_0x264b8d(0x1f4))/0x8)+parseInt(_0x264b8d(0x1df))/0x9*(-parseInt(_0x264b8d(0x1d0))/0xa);if(_0x4cb3ce===_0x359fcd)break;else _0x1b9e4b['push'](_0x1b9e4b['shift']());}catch(_0x1ec9c3){_0x1b9e4b['push'](_0x1b9e4b['shift']());}}}(a68_0xbee3,0xc51b1));function a68_0x48d9(_0x5d9599,_0x1ad873){const _0xbee36a=a68_0xbee3();return a68_0x48d9=function(_0x48d92b,_0x24057c){_0x48d92b=_0x48d92b-0x1af;let _0x1c2cf6=_0xbee36a[_0x48d92b];return _0x1c2cf6;},a68_0x48d9(_0x5d9599,_0x1ad873);}const got=require(a68_0xc7bf91(0x1c2)),logger=require(a68_0xc7bf91(0x1cf))[a68_0xc7bf91(0x1e7)],{BROWSERSTACK_API_URL}=require('../utils/constants'),_entries=[];function register(_0x6783f){const _0x4827d5=a68_0xc7bf91,_0x3b1540={};_0x3b1540[_0x4827d5(0x1bd)]=_0x4827d5(0x1c0),_0x3b1540[_0x4827d5(0x1ef)]=_0x4827d5(0x1e1);const _0x557143=_0x3b1540,_0x5334fe={'status':_0x557143[_0x4827d5(0x1bd)],'reason':_0x557143[_0x4827d5(0x1ef)],..._0x6783f};_entries['push'](_0x5334fe);}function listEntries(){return _entries['slice']();}function a68_0xbee3(){const _0x1edc82=['username','40oLnfkl','browserstack_executor:\x20','reason','BROWSERSTACK_USERNAME','72PvsOmv','status','TestCafe\x20session\x20ended\x20without\x20an\x20explicit\x20pass/fail\x20marker','message','body','platformIndex','json',':\x20no\x20BROWSERSTACK_USERNAME/ACCESS_KEY','winstonLogger','https://','test','[session-registry]\x20REST\x20mark\x20HTTP\x20','[session-registry]\x20driver.quit\x20failed\x20for\x20','[session-registry]\x20executeScript\x20setSessionStatus\x20failed\x20for\x20','trim','1190112CgStAn','bkCNh','xTeXU','action','warn','timeout','63344GalugI','IglAy','request','7443fJTASY','exports','executeScript','HWUxI','DNltL','responseType','throwHttpErrors','env','sessionId','LyXRd','markStatus','\x20(will\x20retry\x20via\x20REST):\x20','slice',')\x20OK\x20for\x20','kZEIg','/automate/sessions/','MYRgX','HCsAs','replace','asZRZ','arguments','password','failed','statusCode','got','[session-registry]\x20REST\x20setSessionStatus(','bdfeq','quit','DTYbD','\x20for\x20','[session-registry]\x20executeScript\x20setSessionStatus(','2804916lBkPlW','3391380xxmanB','302586EEXAhL','setSessionStatus','put','ctzkf','../../helpers/logger','1498110sfydxg','oDUkn','Kytqc','1141TzRwTk','BROWSERSTACK_ACCESS_KEY','info','driver','function','.json','length'];a68_0xbee3=function(){return _0x1edc82;};return a68_0xbee3();}function markStatus(_0x4ac9d3,_0x57ac08,_0x2a54b5){const _0x224660=a68_0xc7bf91,_0x2a4f78={};_0x2a4f78['LyXRd']=function(_0x1647af,_0x9d15f9){return _0x1647af===_0x9d15f9;};const _0x3780a3=_0x2a4f78;for(const _0x49af2d of _entries){if(_0x3780a3[_0x224660(0x1b3)](_0x49af2d[_0x224660(0x1e4)],_0x4ac9d3))return _0x49af2d[_0x224660(0x1e0)]=_0x57ac08,_0x2a54b5&&(_0x49af2d['reason']=_0x2a54b5),!![];}return![];}function _resolveCreds(_0x2c3dcb){const _0x41efd6=a68_0xc7bf91,_0x22b792={'kZEIg':function(_0x118d99,_0x49c9f1){return _0x118d99(_0x49c9f1);},'LNGNW':function(_0x24c0be,_0x35beb0){return _0x24c0be(_0x35beb0);}};try{if(_0x2c3dcb){const _0x2e5360=_0x22b792[_0x41efd6(0x1b8)](String,_0x2c3dcb)[_0x41efd6(0x1ed)](),_0x4e2926=/^https?:\/\//i[_0x41efd6(0x1e9)](_0x2e5360)?_0x2e5360:_0x41efd6(0x1e8)+_0x2e5360[_0x41efd6(0x1bc)](/^\/+/,''),_0x524046=new URL(_0x4e2926);if(_0x524046['username']||_0x524046[_0x41efd6(0x1bf)])return{'username':_0x22b792[_0x41efd6(0x1b8)](decodeURIComponent,_0x524046[_0x41efd6(0x1da)]||''),'password':_0x22b792['LNGNW'](decodeURIComponent,_0x524046['password']||'')};}}catch(_0x9f15c){}const _0x2ae1dd={};return _0x2ae1dd['username']=process['env'][_0x41efd6(0x1de)]||'',_0x2ae1dd[_0x41efd6(0x1bf)]=process[_0x41efd6(0x1b1)][_0x41efd6(0x1d4)]||'',_0x2ae1dd;}async function _markViaRestApi(_0xbb0953){const _0x3d16ea=a68_0xc7bf91,_0x28eff2={'xTeXU':function(_0x5d64bd,_0x55761d){return _0x5d64bd(_0x55761d);},'HCsAs':function(_0x168411,_0x42ef1c){return _0x168411||_0x42ef1c;},'MYRgX':_0x3d16ea(0x1c0),'IglAy':_0x3d16ea(0x1e5),'oDUkn':function(_0x439e56,_0x3c47f4){return _0x439e56>=_0x3c47f4;},'bdfeq':function(_0x5640bd,_0x1aa828){return _0x5640bd<_0x1aa828;}},{username:_0x409724,password:_0x1d2645}=_0x28eff2[_0x3d16ea(0x1f0)](_resolveCreds,_0xbb0953['hubUrl']);if(_0x28eff2[_0x3d16ea(0x1bb)](!_0x409724,!_0x1d2645))return logger[_0x3d16ea(0x1f2)]('[session-registry]\x20REST\x20mark\x20skipped\x20for\x20'+_0xbb0953[_0x3d16ea(0x1b2)]+_0x3d16ea(0x1e6)),![];const _0xc81f90=BROWSERSTACK_API_URL+_0x3d16ea(0x1b9)+_0xbb0953[_0x3d16ea(0x1b2)]+_0x3d16ea(0x1d8);try{const _0x4400c={};_0x4400c[_0x3d16ea(0x1e0)]=_0xbb0953[_0x3d16ea(0x1e0)]||_0x28eff2[_0x3d16ea(0x1ba)],_0x4400c[_0x3d16ea(0x1dd)]=_0xbb0953['reason']||'';const _0x2adc54={};_0x2adc54[_0x3d16ea(0x1f6)]=0x7530;const _0x57343d={};_0x57343d[_0x3d16ea(0x1da)]=_0x409724,_0x57343d[_0x3d16ea(0x1bf)]=_0x1d2645,_0x57343d[_0x3d16ea(0x1e5)]=_0x4400c,_0x57343d[_0x3d16ea(0x1af)]=_0x28eff2[_0x3d16ea(0x1f5)],_0x57343d[_0x3d16ea(0x1b0)]=![],_0x57343d[_0x3d16ea(0x1f3)]=_0x2adc54;const _0x45b8f1=await got[_0x3d16ea(0x1cd)](_0xc81f90,_0x57343d);if(_0x28eff2[_0x3d16ea(0x1d1)](_0x45b8f1[_0x3d16ea(0x1c1)],0xc8)&&_0x28eff2[_0x3d16ea(0x1c4)](_0x45b8f1[_0x3d16ea(0x1c1)],0x12c))return logger[_0x3d16ea(0x1d5)](_0x3d16ea(0x1c3)+_0xbb0953[_0x3d16ea(0x1e0)]+_0x3d16ea(0x1b7)+_0xbb0953['sessionId']),!![];return logger[_0x3d16ea(0x1f2)](_0x3d16ea(0x1ea)+_0x45b8f1['statusCode']+_0x3d16ea(0x1c7)+_0xbb0953[_0x3d16ea(0x1b2)]+':\x20'+JSON['stringify'](_0x45b8f1[_0x3d16ea(0x1e3)])[_0x3d16ea(0x1b6)](0x0,0xc8)),![];}catch(_0x1bc857){return logger['warn']('[session-registry]\x20REST\x20mark\x20failed\x20for\x20'+_0xbb0953['sessionId']+':\x20'+_0x1bc857[_0x3d16ea(0x1e2)]),![];}}async function quitAll(){const _0x1f22e4=a68_0xc7bf91,_0x381b8a={'DTYbD':function(_0x1a8e28,_0xa711cf){return _0x1a8e28===_0xa711cf;},'ctzkf':_0x1f22e4(0x1d7),'DNltL':_0x1f22e4(0x1cc),'lTPIH':_0x1f22e4(0x1c0),'Kytqc':function(_0x4e419e,_0x30eea5){return _0x4e419e(_0x30eea5);},'HWUxI':function(_0x2d2ca9,_0x3070a2){return _0x2d2ca9===_0x3070a2;}};try{for(const _0xf239a7 of _entries){let _0x5b1304=![];try{if(_0xf239a7[_0x1f22e4(0x1d6)]&&_0x381b8a[_0x1f22e4(0x1c6)](typeof _0xf239a7[_0x1f22e4(0x1d6)]['executeScript'],_0x381b8a[_0x1f22e4(0x1ce)])){const _0x1d8279={};_0x1d8279[_0x1f22e4(0x1f1)]=_0x381b8a[_0x1f22e4(0x1fb)],_0x1d8279[_0x1f22e4(0x1be)]={},_0x1d8279[_0x1f22e4(0x1be)][_0x1f22e4(0x1e0)]=_0xf239a7[_0x1f22e4(0x1e0)]||_0x381b8a['lTPIH'],_0x1d8279[_0x1f22e4(0x1be)]['reason']=_0xf239a7[_0x1f22e4(0x1dd)]||'';const _0x58ddbd=_0x1f22e4(0x1dc)+JSON['stringify'](_0x1d8279);await _0xf239a7['driver'][_0x1f22e4(0x1f9)](_0x58ddbd),_0x5b1304=!![],logger['info'](_0x1f22e4(0x1c8)+_0xf239a7['status']+_0x1f22e4(0x1b7)+_0xf239a7[_0x1f22e4(0x1b2)]);}}catch(_0x5f292d){logger[_0x1f22e4(0x1f2)](_0x1f22e4(0x1ec)+_0xf239a7[_0x1f22e4(0x1b2)]+_0x1f22e4(0x1b5)+_0x5f292d[_0x1f22e4(0x1e2)]);}!_0x5b1304&&await _0x381b8a[_0x1f22e4(0x1d2)](_markViaRestApi,_0xf239a7);try{_0xf239a7[_0x1f22e4(0x1d6)]&&_0x381b8a[_0x1f22e4(0x1fa)](typeof _0xf239a7[_0x1f22e4(0x1d6)][_0x1f22e4(0x1c5)],_0x381b8a[_0x1f22e4(0x1ce)])&&await _0xf239a7[_0x1f22e4(0x1d6)][_0x1f22e4(0x1c5)]();}catch(_0x3581da){logger[_0x1f22e4(0x1f2)](_0x1f22e4(0x1eb)+_0xf239a7['sessionId']+':\x20'+_0x3581da[_0x1f22e4(0x1e2)]);}}}finally{_entries[_0x1f22e4(0x1d9)]=0x0;}}const a68_0x3b30af={};a68_0x3b30af['register']=register,a68_0x3b30af['listEntries']=listEntries,a68_0x3b30af[a68_0xc7bf91(0x1b4)]=markStatus,a68_0x3b30af['quitAll']=quitAll,module[a68_0xc7bf91(0x1f8)]=a68_0x3b30af;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a69_0x42555d=a69_0x169c;(function(_0x103b6a,_0x14a890){const _0x45a07e=a69_0x169c,_0x58c2eb=_0x103b6a();while(!![]){try{const _0x3030c2=-parseInt(_0x45a07e(0xa2))/0x1*(parseInt(_0x45a07e(0x7f))/0x2)+-parseInt(_0x45a07e(0xb7))/0x3+parseInt(_0x45a07e(0x84))/0x4+parseInt(_0x45a07e(0x7b))/0x5*(parseInt(_0x45a07e(0x9c))/0x6)+-parseInt(_0x45a07e(0x7e))/0x7+parseInt(_0x45a07e(0xbb))/0x8*(parseInt(_0x45a07e(0xca))/0x9)+parseInt(_0x45a07e(0xa5))/0xa;if(_0x3030c2===_0x14a890)break;else _0x58c2eb['push'](_0x58c2eb['shift']());}catch(_0xb46943){_0x58c2eb['push'](_0x58c2eb['shift']());}}}(a69_0x1ee8,0x92bf3));function a69_0x1ee8(){const _0x2660ab=['jNBSm','catch','message','qUjeF','stderr','info','testFrameworkState','getTestFrameworks','KVfak','WZLic','25shbuFx','utf8','length','1405432QCtHGg','10GmIkmB','[✓✔✗✘×]\x5cs','platformIndex','getTestFramework','TEST','121952gvvywE','WAgLP','|\x5cd+\x5cs+skipped','get','BTwxQ','delete','test_run_uuid','[stdout-interceptor]\x20installed','split','|Hostname:','clear','|\x5cd+\x5cs+passed','6|3|1|4|5|2|0|7','../../helpers/logger','getTestFrameworksVersions','../v2/browserstackCLI','yXdeT','testFrameworkVersion','ldxWR','KAiCW','KIND_LOG','cShdP','[stdout-interceptor]\x20uninstalled','debug','969726sEcgBx','WHxCm','|Connecting\x20to\x20.*://','INVWE','logCreatedEvent','aEDmk','227131lptjwp','write','stdout','2234280yBtmwA','xZSkD','DSIKt','|\x5cd+\x5cs+failed','Afwhs','set','^(\x5cs*)','SoxrA','__currentPlatformUuids','OBKvm','test','NFkoD','size','ojgpU','level','uuid','isRunning','|Waiting\x20for','607701yeipSG','getInstance','wQcxw','bind','2156104Dibihe','uninstall','string','stbev','QCdUw','ydocV','trim','function','PrDWR','getTrackedInstance','KDVUP','winstonLogger','cZOCm','../v2/framework/testFramework','../v2/grpcClient','36VfRhwb','../v2/framework/constants/testFrameworkConstants','timestamp','xVwTO'];a69_0x1ee8=function(){return _0x2660ab;};return a69_0x1ee8();}const {v4:uuidv4}=require(a69_0x42555d(0xb4)),logger=require(a69_0x42555d(0x91))[a69_0x42555d(0xc6)];let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];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(a69_0x42555d(0xab)+'('+a69_0x42555d(0x80)+a69_0x42555d(0x8f)+a69_0x42555d(0xa8)+a69_0x42555d(0x86)+'|Running\x20tests\x20in'+a69_0x42555d(0x8d)+'|Test\x20\x5cd+\x20of\x20\x5cd+'+a69_0x42555d(0x9e)+a69_0x42555d(0xb6)+')');function _stripAnsi(_0x113d5d){const _0x279e97=a69_0x42555d,_0x112176={};_0x112176['DSIKt']=function(_0x2f5c9c,_0x1c1b6e){return _0x2f5c9c!==_0x1c1b6e;},_0x112176[_0x279e97(0x9d)]=_0x279e97(0xbd);const _0x1691c1=_0x112176;if(_0x1691c1[_0x279e97(0xa7)](typeof _0x113d5d,_0x1691c1[_0x279e97(0x9d)]))return _0x113d5d;return _0x113d5d['replace'](ANSI_RE,'');}function _shouldForward(_0x8e791d){const _0x5f40b8=a69_0x42555d,_0x393303={'aEDmk':function(_0x357610,_0x449726){return _0x357610(_0x449726);}};if(!_0x8e791d||!_0x8e791d[_0x5f40b8(0xc1)]())return![];if(INTERNAL_LOG_RE[_0x5f40b8(0xaf)](_0x8e791d))return![];const _0xd54356=_0x393303[_0x5f40b8(0xa1)](_stripAnsi,_0x8e791d)[_0x5f40b8(0xc1)]();if(!_0xd54356)return![];if(SPEC_REPORTER_RE['test'](_0xd54356))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0x3ec180){const _0x139492=a69_0x42555d,_0x2217c5={};_0x2217c5[_0x139492(0x79)]=function(_0x53663f,_0x2bd02b){return _0x53663f>_0x2bd02b;},_0x2217c5[_0x139492(0xb0)]=function(_0xce3b97,_0x2954ce){return _0xce3b97>_0x2954ce;},_0x2217c5['qUjeF']=function(_0x455206,_0x2ae44a){return _0x455206-_0x2ae44a;},_0x2217c5['BTwxQ']=function(_0xbdca6f,_0x465c22){return _0xbdca6f!==_0x465c22;},_0x2217c5[_0x139492(0xac)]=function(_0x29f65a,_0x1e97e4){return _0x29f65a<_0x1e97e4;},_0x2217c5[_0x139492(0x96)]=function(_0x59643c,_0x49e275){return _0x59643c-_0x49e275;};const _0x2d8ecc=_0x2217c5,_0xbf63ad=Date['now']();if(_0x2d8ecc['KVfak'](_recent[_0x139492(0xb1)],0xc8))for(const [_0x3a84e0,_0x224042]of _recent){_0x2d8ecc[_0x139492(0xb0)](_0x2d8ecc[_0x139492(0xd1)](_0xbf63ad,_0x224042),DEDUP_WINDOW_MS)&&_recent[_0x139492(0x89)](_0x3a84e0);}const _0x3fcb18=_recent[_0x139492(0x87)](_0x3ec180);if(_0x2d8ecc[_0x139492(0x88)](_0x3fcb18,undefined)&&_0x2d8ecc[_0x139492(0xac)](_0x2d8ecc[_0x139492(0x96)](_0xbf63ad,_0x3fcb18),DEDUP_WINDOW_MS))return!![];return _recent[_0x139492(0xaa)](_0x3ec180,_0xbf63ad),![];}function _emitLog(_0x2ce251){const _0xbe7924=a69_0x42555d,_0x29547b={'QCdUw':function(_0xdaf0f2,_0x212629){return _0xdaf0f2(_0x212629);},'OBKvm':_0xbe7924(0x93),'cZOCm':function(_0x4bff6e,_0x15c91c){return _0x4bff6e(_0x15c91c);},'ffvHm':_0xbe7924(0xc9),'wTiRd':_0xbe7924(0xc8),'ojgpU':function(_0x3e74ff,_0x844d82){return _0x3e74ff(_0x844d82);},'WZLic':_0xbe7924(0xcb),'KDVUP':_0xbe7924(0xad),'INVWE':function(_0x660382,_0x2b6397){return _0x660382===_0x2b6397;},'bzukj':function(_0x554dd3,_0x46991b){return _0x554dd3===_0x46991b;},'PrDWR':_0xbe7924(0xc2),'ydocV':function(_0x445dcd,_0x7a5faa){return _0x445dcd<_0x7a5faa;},'stbev':_0xbe7924(0x76),'Afwhs':'testcafe','ZVTRk':_0xbe7924(0x83)};try{const _0x298e47=_0x29547b['QCdUw'](require,_0x29547b[_0xbe7924(0xae)]),_0x5d05b0=_0x29547b[_0xbe7924(0xc7)](require,_0x29547b['ffvHm']),_0x48cf59=_0x29547b[_0xbe7924(0xbf)](require,_0x29547b['wTiRd']),_0x349c34=_0x29547b[_0xbe7924(0xb2)](require,_0x29547b[_0xbe7924(0x7a)]),_0x3ea689=_0x298e47['getInstance']&&_0x298e47['getInstance']();if(!_0x3ea689||!_0x3ea689[_0xbe7924(0xb5)]())return;const _0x251908=_0x3ea689[_0xbe7924(0x82)]&&_0x3ea689[_0xbe7924(0x82)](),_0x5df2b3=_0x48cf59[_0xbe7924(0xc4)]&&_0x48cf59[_0xbe7924(0xc4)]();if(!_0x5df2b3)return;const _0x148228=Array['isArray'](_0x5df2b3['getData'](_0x29547b[_0xbe7924(0xc5)]))?_0x5df2b3['getData'](_0x29547b['KDVUP']):[];if(_0x29547b['INVWE'](_0x148228[_0xbe7924(0x7d)],0x0))return;const _0x35bdb3=_0x251908&&_0x29547b['bzukj'](typeof _0x251908[_0xbe7924(0x92)],_0x29547b[_0xbe7924(0xc3)])?_0x251908[_0xbe7924(0x92)]():{},_0x38ef84=_0x251908&&_0x29547b[_0xbe7924(0x9f)](typeof _0x251908[_0xbe7924(0x78)],_0x29547b['PrDWR'])?_0x251908['getTestFrameworks']():[],_0x3537b2=_0x38ef84&&_0x38ef84[0x0]&&_0x35bdb3&&_0x35bdb3[_0x38ef84[0x0]]||'',_0x53e70a=_0x29547b['cZOCm'](_stripAnsi,_0x2ce251)[_0xbe7924(0xc1)]();if(_0x29547b['ojgpU'](_isDuplicate,_0x53e70a))return;const _0x495ea5=new Date()['toISOString']();for(let _0x2d33ae=0x0;_0x29547b[_0xbe7924(0xc0)](_0x2d33ae,_0x148228['length']);_0x2d33ae++){const _0x3130e6=_0x148228[_0x2d33ae];if(!_0x3130e6)continue;const _0x427b9f={};_0x427b9f[_0xbe7924(0xb4)]=_0x3130e6,_0x427b9f[_0xbe7924(0x8a)]=_0x3130e6,_0x427b9f[_0xbe7924(0xcc)]=_0x495ea5,_0x427b9f[_0xbe7924(0xd0)]=_0x53e70a,_0x427b9f['kind']=_0x349c34[_0xbe7924(0x98)],_0x427b9f[_0xbe7924(0xb3)]=_0x29547b[_0xbe7924(0xbe)];const _0xafe0a8=_0x427b9f,_0x5bfba9={};_0x5bfba9[_0xbe7924(0x81)]=_0x2d33ae,_0x5bfba9['logs']=[_0xafe0a8],_0x5bfba9['testFrameworkName']=_0x29547b[_0xbe7924(0xa9)],_0x5bfba9[_0xbe7924(0x95)]=_0x3537b2,_0x5bfba9[_0xbe7924(0x77)]=_0x29547b['ZVTRk'];const _0x1f55e3=_0x5bfba9;_0x5d05b0[_0xbe7924(0xb8)]()[_0xbe7924(0xa0)](_0x1f55e3)[_0xbe7924(0xcf)](()=>{});}}catch(_0x254eed){}}function _wrap(_0xea6fd0){const _0x5366e8=a69_0x42555d,_0x307be2={'xVwTO':function(_0x544bba,_0x2ce83f,_0x3a7c77,_0x2a33fc){return _0x544bba(_0x2ce83f,_0x3a7c77,_0x2a33fc);},'KAiCW':function(_0x5a872b,_0x1ef241){return _0x5a872b===_0x1ef241;},'STROx':_0x5366e8(0xbd),'jNBSm':_0x5366e8(0x7c),'wQcxw':function(_0x28a248,_0x41a9c5){return _0x28a248(_0x41a9c5);}};return function(_0xc86445,_0x5ed912,_0x1dfd9e){const _0x2682a4=_0x5366e8,_0x45c035=_0x307be2[_0x2682a4(0xcd)](_0xea6fd0,_0xc86445,_0x5ed912,_0x1dfd9e);try{const _0xe90e56=_0x307be2[_0x2682a4(0x97)](typeof _0xc86445,_0x307be2['STROx'])?_0xc86445:Buffer['isBuffer'](_0xc86445)?_0xc86445['toString'](_0x307be2[_0x2682a4(0xce)]):_0x307be2[_0x2682a4(0xb9)](String,_0xc86445),_0x131c5c=_0xe90e56['split'](/\r?\n/);for(const _0x477e90 of _0x131c5c){_0x307be2[_0x2682a4(0xb9)](_shouldForward,_0x477e90)&&_0x307be2[_0x2682a4(0xb9)](_emitLog,_0x477e90);}}catch(_0x5ff7a8){}return _0x45c035;};}function a69_0x169c(_0x5c3738,_0x58f54b){const _0x1ee84a=a69_0x1ee8();return a69_0x169c=function(_0x169c27,_0x1133a0){_0x169c27=_0x169c27-0x75;let _0x59af82=_0x1ee84a[_0x169c27];return _0x59af82;},a69_0x169c(_0x5c3738,_0x58f54b);}exports['install']=()=>{const _0x251534=a69_0x42555d,_0x21d90a={'yXdeT':'4|0|6|5|1|3|2','cShdP':function(_0x12e006,_0x13abf0){return _0x12e006(_0x13abf0);},'xZSkD':_0x251534(0x8b)},_0xe579d7=_0x21d90a[_0x251534(0x94)][_0x251534(0x8c)]('|');let _0x5ec56f=0x0;while(!![]){switch(_0xe579d7[_0x5ec56f++]){case'0':_origStdoutWrite=process[_0x251534(0xa4)][_0x251534(0xa3)][_0x251534(0xba)](process[_0x251534(0xa4)]);continue;case'1':process[_0x251534(0x75)]['write']=_0x21d90a['cShdP'](_wrap,_origStderrWrite);continue;case'2':logger['debug'](_0x21d90a[_0x251534(0xa6)]);continue;case'3':_installed=!![];continue;case'4':if(_installed)return;continue;case'5':process[_0x251534(0xa4)][_0x251534(0xa3)]=_0x21d90a[_0x251534(0x99)](_wrap,_origStdoutWrite);continue;case'6':_origStderrWrite=process['stderr'][_0x251534(0xa3)][_0x251534(0xba)](process[_0x251534(0x75)]);continue;}break;}},exports[a69_0x42555d(0xbc)]=()=>{const _0x3c6094=a69_0x42555d,_0x547ae6={};_0x547ae6['WAgLP']=_0x3c6094(0x90),_0x547ae6['CLwZm']=_0x3c6094(0x9a);const _0x510f93=_0x547ae6,_0x28f858=_0x510f93[_0x3c6094(0x85)][_0x3c6094(0x8c)]('|');let _0x37359c=0x0;while(!![]){switch(_0x28f858[_0x37359c++]){case'0':_recent[_0x3c6094(0x8e)]();continue;case'1':_origStderrWrite&&(process[_0x3c6094(0x75)][_0x3c6094(0xa3)]=_origStderrWrite);continue;case'2':_installed=![];continue;case'3':_origStdoutWrite&&(process[_0x3c6094(0xa4)][_0x3c6094(0xa3)]=_origStdoutWrite);continue;case'4':_origStdoutWrite=null;continue;case'5':_origStderrWrite=null;continue;case'6':if(!_installed)return;continue;case'7':logger[_0x3c6094(0x9b)](_0x510f93['CLwZm']);continue;}break;}};
|
|
1
|
+
'use strict';const a69_0x243a00=a69_0x3db7;function a69_0x3a2e(){const _0x119726=['../v2/framework/constants/testFrameworkConstants','write','install','RONFs','Glfnh','winstonLogger','3640250HnHeYo','getTrackedInstance','[stdout-interceptor]\x20installed','trim','EZmwJ','1119648ydbIsw','split','vfnsx','UBKXI','|Test\x20\x5cd+\x20of\x20\x5cd+','113750UkZYrw','ZsMsm','570906xsmoiL','3|0|4|6|2|5|1','string','fcTes','|\x5cd+\x5cs+skipped','uuid','sORRB','debug','level','isBuffer','replace','yTORh','[✓✔✗✘×]\x5cs','|Waiting\x20for','KIND_LOG','toISOString','../../helpers/logger','clear','^(\x5cs*)','|\x5cd+\x5cs+failed','uninstall','getTestFramework','info','__currentPlatformUuids','get','vTsmS','logs','length','getTestFrameworksVersions','1578573LYMajy','stderr','jUOZg','huRMl','NOPtT','TEST','platformIndex','getTestFrameworks','720024nYZfcf','bind','../v2/browserstackCLI','CPgfL','UixeQ','test_run_uuid','zlPUx','stdout','crahG','getData','isRunning','16DGsTiD','aGYaA','[stdout-interceptor]\x20uninstalled','5652073QOWezF','qVPDc','testFrameworkState','|Connecting\x20to\x20.*://','../v2/grpcClient','testFrameworkVersion','kind','4|3|1|5|6|7|2|0','eRHUa','now','RNvJt','function','isArray','NCIIQ','toString','gqaus','test','|Hostname:','getInstance','WZuvd','logCreatedEvent','moVmP','utf8','EfBuQ','catch','2TFTshg','tAuJi','XGUpF','size','iPYcn'];a69_0x3a2e=function(){return _0x119726;};return a69_0x3a2e();}(function(_0x7c71cd,_0x16436d){const _0x3c69a1=a69_0x3db7,_0x13ef83=_0x7c71cd();while(!![]){try{const _0x59f242=parseInt(_0x3c69a1(0x20d))/0x1*(parseInt(_0x3c69a1(0x222))/0x2)+-parseInt(_0x3c69a1(0x249))/0x3+parseInt(_0x3c69a1(0x21d))/0x4+parseInt(_0x3c69a1(0x218))/0x5+parseInt(_0x3c69a1(0x224))/0x6+-parseInt(_0x3c69a1(0x1f4))/0x7+parseInt(_0x3c69a1(0x1f1))/0x8*(parseInt(_0x3c69a1(0x241))/0x9);if(_0x59f242===_0x16436d)break;else _0x13ef83['push'](_0x13ef83['shift']());}catch(_0x34744c){_0x13ef83['push'](_0x13ef83['shift']());}}}(a69_0x3a2e,0x7f012));const {v4:uuidv4}=require(a69_0x243a00(0x229)),logger=require(a69_0x243a00(0x234))[a69_0x243a00(0x217)];function a69_0x3db7(_0x2f1d42,_0x1eaa03){const _0x3a2e35=a69_0x3a2e();return a69_0x3db7=function(_0x3db787,_0x459ee2){_0x3db787=_0x3db787-0x1e9;let _0xe63770=_0x3a2e35[_0x3db787];return _0xe63770;},a69_0x3db7(_0x2f1d42,_0x1eaa03);}let _origStdoutWrite=null,_origStderrWrite=null,_installed=![];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(a69_0x243a00(0x236)+'('+a69_0x243a00(0x230)+'|\x5cd+\x5cs+passed'+a69_0x243a00(0x237)+a69_0x243a00(0x228)+'|Running\x20tests\x20in'+a69_0x243a00(0x205)+a69_0x243a00(0x221)+a69_0x243a00(0x1f7)+a69_0x243a00(0x231)+')');function _stripAnsi(_0x56ef75){const _0xf4e0d5=a69_0x243a00,_0x299c48={};_0x299c48[_0xf4e0d5(0x1ec)]=function(_0x6bba48,_0x51af39){return _0x6bba48!==_0x51af39;},_0x299c48['aOHom']=_0xf4e0d5(0x226);const _0x4c5ad5=_0x299c48;if(_0x4c5ad5[_0xf4e0d5(0x1ec)](typeof _0x56ef75,_0x4c5ad5['aOHom']))return _0x56ef75;return _0x56ef75[_0xf4e0d5(0x22e)](ANSI_RE,'');}function _shouldForward(_0x57a529){const _0x75643c=a69_0x243a00,_0x74fa32={'NOPtT':function(_0x4bdd08,_0x3af23d){return _0x4bdd08(_0x3af23d);}};if(!_0x57a529||!_0x57a529[_0x75643c(0x21b)]())return![];if(INTERNAL_LOG_RE[_0x75643c(0x204)](_0x57a529))return![];const _0x8169e=_0x74fa32[_0x75643c(0x245)](_stripAnsi,_0x57a529)['trim']();if(!_0x8169e)return![];if(SPEC_REPORTER_RE['test'](_0x8169e))return![];return!![];}const DEDUP_WINDOW_MS=0xbb8,_recent=new Map();function _isDuplicate(_0xb97b9c){const _0x5232db=a69_0x243a00,_0x35e03b={};_0x35e03b[_0x5232db(0x211)]=function(_0x1a1cdb,_0x51d631){return _0x1a1cdb>_0x51d631;},_0x35e03b[_0x5232db(0x203)]=function(_0x5af243,_0x34935c){return _0x5af243>_0x34935c;},_0x35e03b[_0x5232db(0x227)]=function(_0x393c27,_0x2ae703){return _0x393c27-_0x2ae703;},_0x35e03b['RNvJt']=function(_0x4dce43,_0x3b6733){return _0x4dce43!==_0x3b6733;},_0x35e03b[_0x5232db(0x207)]=function(_0x13f546,_0x346e59){return _0x13f546<_0x346e59;};const _0x2a07b4=_0x35e03b,_0x485c8e=Date[_0x5232db(0x1fd)]();if(_0x2a07b4[_0x5232db(0x211)](_recent[_0x5232db(0x210)],0xc8))for(const [_0x515853,_0x49b87b]of _recent){_0x2a07b4[_0x5232db(0x203)](_0x2a07b4['fcTes'](_0x485c8e,_0x49b87b),DEDUP_WINDOW_MS)&&_recent['delete'](_0x515853);}const _0x2e8a1b=_recent[_0x5232db(0x23c)](_0xb97b9c);if(_0x2a07b4[_0x5232db(0x1fe)](_0x2e8a1b,undefined)&&_0x2a07b4[_0x5232db(0x207)](_0x2a07b4[_0x5232db(0x227)](_0x485c8e,_0x2e8a1b),DEDUP_WINDOW_MS))return!![];return _recent['set'](_0xb97b9c,_0x485c8e),![];}function _emitLog(_0x56ad17){const _0x30e8f5=a69_0x243a00,_0x5962ef={'tAuJi':function(_0x480bba,_0x1b22d3){return _0x480bba(_0x1b22d3);},'vTsmS':_0x30e8f5(0x24b),'RONFs':_0x30e8f5(0x1f8),'NCIIQ':function(_0x198fde,_0x13279c){return _0x198fde(_0x13279c);},'huRMl':'../v2/framework/testFramework','EZmwJ':_0x30e8f5(0x212),'sORRB':_0x30e8f5(0x23b),'ZXusD':function(_0x199fc2,_0x58a47d){return _0x199fc2===_0x58a47d;},'jUOZg':function(_0x37a1ce,_0x3b96e0){return _0x37a1ce===_0x3b96e0;},'nZAmm':_0x30e8f5(0x1ff),'LvTgu':function(_0x4819f0,_0x47ec44){return _0x4819f0===_0x47ec44;},'EfBuQ':function(_0x32321c,_0x380ac3){return _0x32321c<_0x380ac3;},'mYZSY':_0x30e8f5(0x23a),'moVmP':'testcafe','Glfnh':_0x30e8f5(0x246)};try{const _0x85747=_0x5962ef['tAuJi'](require,_0x5962ef[_0x30e8f5(0x23d)]),_0x3b5156=_0x5962ef[_0x30e8f5(0x20e)](require,_0x5962ef[_0x30e8f5(0x215)]),_0x36f195=_0x5962ef[_0x30e8f5(0x201)](require,_0x5962ef[_0x30e8f5(0x244)]),_0x5c3e07=_0x5962ef[_0x30e8f5(0x20e)](require,_0x5962ef[_0x30e8f5(0x21c)]),_0x5bfb63=_0x85747[_0x30e8f5(0x206)]&&_0x85747[_0x30e8f5(0x206)]();if(!_0x5bfb63||!_0x5bfb63[_0x30e8f5(0x1f0)]())return;const _0x39eec7=_0x5bfb63[_0x30e8f5(0x239)]&&_0x5bfb63['getTestFramework'](),_0xa9b286=_0x36f195[_0x30e8f5(0x219)]&&_0x36f195['getTrackedInstance']();if(!_0xa9b286)return;const _0x51a6c3=Array[_0x30e8f5(0x200)](_0xa9b286[_0x30e8f5(0x1ef)](_0x5962ef['sORRB']))?_0xa9b286[_0x30e8f5(0x1ef)](_0x5962ef[_0x30e8f5(0x22a)]):[];if(_0x5962ef['ZXusD'](_0x51a6c3['length'],0x0))return;const _0x28beb1=_0x39eec7&&_0x5962ef[_0x30e8f5(0x243)](typeof _0x39eec7[_0x30e8f5(0x240)],_0x5962ef['nZAmm'])?_0x39eec7['getTestFrameworksVersions']():{},_0x455b2b=_0x39eec7&&_0x5962ef['LvTgu'](typeof _0x39eec7[_0x30e8f5(0x248)],_0x5962ef['nZAmm'])?_0x39eec7['getTestFrameworks']():[],_0x530aaa=_0x455b2b&&_0x455b2b[0x0]&&_0x28beb1&&_0x28beb1[_0x455b2b[0x0]]||'',_0x25efff=_0x5962ef[_0x30e8f5(0x201)](_stripAnsi,_0x56ad17)['trim']();if(_0x5962ef['tAuJi'](_isDuplicate,_0x25efff))return;const _0x34380=new Date()[_0x30e8f5(0x233)]();for(let _0x27b09c=0x0;_0x5962ef[_0x30e8f5(0x20b)](_0x27b09c,_0x51a6c3[_0x30e8f5(0x23f)]);_0x27b09c++){const _0x528cbb=_0x51a6c3[_0x27b09c];if(!_0x528cbb)continue;const _0x2abf33={};_0x2abf33[_0x30e8f5(0x229)]=_0x528cbb,_0x2abf33[_0x30e8f5(0x1eb)]=_0x528cbb,_0x2abf33['timestamp']=_0x34380,_0x2abf33['message']=_0x25efff,_0x2abf33[_0x30e8f5(0x1fa)]=_0x5c3e07[_0x30e8f5(0x232)],_0x2abf33[_0x30e8f5(0x22c)]=_0x5962ef['mYZSY'];const _0x532286=_0x2abf33,_0x3c8b4f={};_0x3c8b4f[_0x30e8f5(0x247)]=_0x27b09c,_0x3c8b4f[_0x30e8f5(0x23e)]=[_0x532286],_0x3c8b4f['testFrameworkName']=_0x5962ef[_0x30e8f5(0x209)],_0x3c8b4f[_0x30e8f5(0x1f9)]=_0x530aaa,_0x3c8b4f[_0x30e8f5(0x1f6)]=_0x5962ef[_0x30e8f5(0x216)];const _0x25b916=_0x3c8b4f;_0x3b5156[_0x30e8f5(0x206)]()[_0x30e8f5(0x208)](_0x25b916)[_0x30e8f5(0x20c)](()=>{});}}catch(_0x509a53){}}function _wrap(_0x2170ca){const _0x3e983b=a69_0x243a00,_0x169101={'crahG':function(_0x25722e,_0x15a04a,_0x528406,_0x42a920){return _0x25722e(_0x15a04a,_0x528406,_0x42a920);},'UixeQ':function(_0x4af853,_0x472d5b){return _0x4af853===_0x472d5b;},'bVDfW':'string','vfnsx':_0x3e983b(0x20a),'RHpaI':function(_0xb3a055,_0x51da20){return _0xb3a055(_0x51da20);},'CPgfL':function(_0x5aa620,_0x16a0a9){return _0x5aa620(_0x16a0a9);},'eRHUa':function(_0x135056,_0xbdf549){return _0x135056(_0xbdf549);}};return function(_0x11c1e6,_0x5c3db2,_0x3481d7){const _0x83b9c6=_0x3e983b,_0x1e69a3=_0x169101[_0x83b9c6(0x1ee)](_0x2170ca,_0x11c1e6,_0x5c3db2,_0x3481d7);try{const _0x2462ae=_0x169101[_0x83b9c6(0x1ea)](typeof _0x11c1e6,_0x169101['bVDfW'])?_0x11c1e6:Buffer[_0x83b9c6(0x22d)](_0x11c1e6)?_0x11c1e6[_0x83b9c6(0x202)](_0x169101[_0x83b9c6(0x21f)]):_0x169101['RHpaI'](String,_0x11c1e6),_0x4358e7=_0x2462ae['split'](/\r?\n/);for(const _0x3ea616 of _0x4358e7){_0x169101[_0x83b9c6(0x1e9)](_shouldForward,_0x3ea616)&&_0x169101[_0x83b9c6(0x1fc)](_emitLog,_0x3ea616);}}catch(_0x4f5222){}return _0x1e69a3;};}exports[a69_0x243a00(0x214)]=()=>{const _0x512681=a69_0x243a00,_0x5df23a={'ZsMsm':_0x512681(0x225),'aGYaA':_0x512681(0x21a),'qVPDc':function(_0x123411,_0x4a1918){return _0x123411(_0x4a1918);},'XGUpF':function(_0x45c653,_0x1f551a){return _0x45c653(_0x1f551a);}},_0x4638d6=_0x5df23a[_0x512681(0x223)]['split']('|');let _0x1c1a9c=0x0;while(!![]){switch(_0x4638d6[_0x1c1a9c++]){case'0':_origStdoutWrite=process[_0x512681(0x1ed)][_0x512681(0x213)][_0x512681(0x24a)](process[_0x512681(0x1ed)]);continue;case'1':logger['debug'](_0x5df23a[_0x512681(0x1f2)]);continue;case'2':process[_0x512681(0x242)][_0x512681(0x213)]=_0x5df23a[_0x512681(0x1f5)](_wrap,_origStderrWrite);continue;case'3':if(_installed)return;continue;case'4':_origStderrWrite=process[_0x512681(0x242)][_0x512681(0x213)][_0x512681(0x24a)](process[_0x512681(0x242)]);continue;case'5':_installed=!![];continue;case'6':process[_0x512681(0x1ed)][_0x512681(0x213)]=_0x5df23a[_0x512681(0x20f)](_wrap,_origStdoutWrite);continue;}break;}},exports[a69_0x243a00(0x238)]=()=>{const _0xa4f99=a69_0x243a00,_0x581db9={};_0x581db9[_0xa4f99(0x220)]=_0xa4f99(0x1fb),_0x581db9[_0xa4f99(0x22f)]=_0xa4f99(0x1f3);const _0x5c7e95=_0x581db9,_0x174ba4=_0x5c7e95[_0xa4f99(0x220)][_0xa4f99(0x21e)]('|');let _0x250b4c=0x0;while(!![]){switch(_0x174ba4[_0x250b4c++]){case'0':logger[_0xa4f99(0x22b)](_0x5c7e95[_0xa4f99(0x22f)]);continue;case'1':_origStderrWrite&&(process[_0xa4f99(0x242)][_0xa4f99(0x213)]=_origStderrWrite);continue;case'2':_recent[_0xa4f99(0x235)]();continue;case'3':_origStdoutWrite&&(process[_0xa4f99(0x1ed)][_0xa4f99(0x213)]=_origStdoutWrite);continue;case'4':if(!_installed)return;continue;case'5':_origStdoutWrite=null;continue;case'6':_origStderrWrite=null;continue;case'7':_installed=![];continue;}break;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a70_0x3cbac8=a70_0x1734;(function(_0x4b1a91,_0x3ddd15){const _0x7bef15=a70_0x1734,_0x33611f=_0x4b1a91();while(!![]){try{const _0x502b96=parseInt(_0x7bef15(0x200))/0x1*(-parseInt(_0x7bef15(0x24e))/0x2)+parseInt(_0x7bef15(0x226))/0x3*(parseInt(_0x7bef15(0x1eb))/0x4)+parseInt(_0x7bef15(0x20f))/0x5+-parseInt(_0x7bef15(0x1e8))/0x6*(-parseInt(_0x7bef15(0x250))/0x7)+parseInt(_0x7bef15(0x21e))/0x8*(-parseInt(_0x7bef15(0x1f9))/0x9)+parseInt(_0x7bef15(0x207))/0xa*(-parseInt(_0x7bef15(0x238))/0xb)+parseInt(_0x7bef15(0x1e9))/0xc*(parseInt(_0x7bef15(0x1f2))/0xd);if(_0x502b96===_0x3ddd15)break;else _0x33611f['push'](_0x33611f['shift']());}catch(_0x3504e1){_0x33611f['push'](_0x33611f['shift']());}}}(a70_0x33b9,0x93b89));const logger=require(a70_0x3cbac8(0x220))[a70_0x3cbac8(0x1e6)];let _installed=![];function a70_0x33b9(){const _0x38f012=['EoHdR','../v2/framework/constants/testFrameworkConstants','2ycCZxW','get','3476102gxcmKN','<unnamed>','nGEag','call','length','winstonLogger','iiypQ','6cjTyKh','659256vUNXQo','debug','496JqgSPS','prototype','pWmNX','../v2/framework/automationFramework','owner','lzIAX','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','169CMDeQY','\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)','shYiq','KEY_TEST_RESULT','getOwnPropertyDescriptor','testController','pending','63fneLJo','\x20testName=','getPrototypeOf','JddEb','__currentPlatformUuids','enumerable','DEFAULT_TEST_RESULT','1054901qksQiO','FbPeD','NAaCF','../v2/framework/testFramework','clear','getInstance','descriptor','6940uCSCkw','catch','PArHP','__bstack_a11y_wrapped','hkVKX','getData','cRZbQ','resolve','4751980kUDEmn','gLlHx','originalDescriptor','rckuB','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','isArray','[testcafe-action-patcher]\x20wrapped\x20','getState','ZXiZn','function','stringify','cucumber','install','../v2/browserstackCLI','getTrackedInstance','530864DDIRWH','message','../../helpers/logger','module','dirname','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','isRunning','22014wzRUVU','nSCJu','apply','join','uninstall','default','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','path','AicAR','values','tbHUv','KHmRs','exports','getAllData','TCnAy','isEnabledTestcase','../v2/modules/testcafeDriverModule','[testcafe-action-patcher]\x20uninstalled','15004vokJru','defineProperty','MPYxV','KEY_TEST_STARTED_AT','cwd','rfEtV','NtNGG','shouldScanForCommand','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','api','../v2/framework/testcafeAutomationFramework','[testcafe-action-patcher]\x20performScan\x20pi=','getAccessibilityModule','test-controller','value','set','DQqit','mKKKU','XBfut','eezCb'];a70_0x33b9=function(){return _0x38f012;};return a70_0x33b9();}const _patchedDescriptors=new Map();function _requireTestController(){const _0x327f18=a70_0x3cbac8,_0x2b233c={'cRZbQ':function(_0x2fb86f,_0x486988){return _0x2fb86f(_0x486988);},'opNHM':_0x327f18(0x22d),'PArHP':'testcafe/package.json','hVIiF':'lib','NtNGG':_0x327f18(0x241),'cxGnf':_0x327f18(0x245)},_0x415ecf=_0x2b233c[_0x327f18(0x20d)](require,_0x2b233c['opNHM']),_0x52190e=_0x415ecf[_0x327f18(0x222)](require[_0x327f18(0x20e)](_0x2b233c[_0x327f18(0x209)],{'paths':[process[_0x327f18(0x23c)]()]})),_0x4dc174=_0x415ecf[_0x327f18(0x229)](_0x52190e,_0x2b233c['hVIiF'],_0x2b233c[_0x327f18(0x23e)],_0x2b233c['cxGnf']),_0x3ae00b=_0x2b233c['cRZbQ'](require,_0x4dc174);return _0x3ae00b&&(_0x3ae00b[_0x327f18(0x22b)]||_0x3ae00b);}async function _performScanForAllDrivers(_0x8410a9){const _0x243c5e=a70_0x3cbac8,_0x58d4a6={'eezCb':function(_0xe0d00b,_0x500c0d){return _0xe0d00b(_0x500c0d);},'shYiq':_0x243c5e(0x21c),'JMbav':_0x243c5e(0x242),'CxLwt':function(_0xbc2941,_0x3c6569){return _0xbc2941(_0x3c6569);},'lzIAX':_0x243c5e(0x1ee),'KHmRs':function(_0x54862f,_0x260ec9){return _0x54862f(_0x260ec9);},'ZXiZn':_0x243c5e(0x236),'qNNFm':_0x243c5e(0x203),'nSCJu':function(_0x4869bf,_0xfaeb8){return _0x4869bf===_0xfaeb8;},'rckuB':_0x243c5e(0x218),'rfEtV':_0x243c5e(0x1fd),'EoHdR':_0x243c5e(0x24d),'DQqit':function(_0xaf963f,_0x1f7de6){return _0xaf963f===_0x1f7de6;},'iiypQ':_0x243c5e(0x1f8),'yYqNK':function(_0x4f10fe,_0x1fd70c){return _0x4f10fe>_0x1fd70c;},'TCnAy':_0x243c5e(0x251),'gevMv':_0x243c5e(0x21a),'FioYx':function(_0x581592,_0xbd66e1){return _0x581592(_0xbd66e1);},'nGEag':'./a11y-runner'};try{const _0x2621ca=_0x58d4a6[_0x243c5e(0x24b)](require,_0x58d4a6[_0x243c5e(0x1f4)]),_0x158fd0=_0x58d4a6[_0x243c5e(0x24b)](require,_0x58d4a6['JMbav']),_0x326676=_0x58d4a6['CxLwt'](require,_0x58d4a6[_0x243c5e(0x1f0)]),_0x2e18f1=_0x58d4a6['KHmRs'](require,_0x58d4a6[_0x243c5e(0x217)]),_0x26d005=_0x58d4a6[_0x243c5e(0x24b)](require,_0x58d4a6['qNNFm']),_0x2fb581=_0x2621ca[_0x243c5e(0x205)]();if(!_0x2fb581||!_0x2fb581[_0x243c5e(0x225)]())return;const _0x184248=_0x2fb581[_0x243c5e(0x244)]&&_0x2fb581['getAccessibilityModule']();if(!_0x184248)return;if(_0x58d4a6[_0x243c5e(0x227)](typeof _0x184248[_0x243c5e(0x23f)],_0x58d4a6[_0x243c5e(0x212)])&&!_0x184248[_0x243c5e(0x23f)](_0x8410a9))return;const _0x3d2de9=_0x26d005[_0x243c5e(0x21d)]&&_0x26d005['getTrackedInstance']();if(!_0x3d2de9)return;const _0x1caa1d=Array['isArray'](_0x3d2de9['getData'](_0x58d4a6[_0x243c5e(0x23d)]))?_0x3d2de9[_0x243c5e(0x20c)](_0x58d4a6['rfEtV']):[];if(_0x58d4a6[_0x243c5e(0x227)](_0x1caa1d[_0x243c5e(0x254)],0x0))return;try{const _0x4fbe19=_0x58d4a6[_0x243c5e(0x231)](require,_0x58d4a6[_0x243c5e(0x24c)]),_0x59801b=_0x58d4a6[_0x243c5e(0x227)](typeof _0x3d2de9[_0x243c5e(0x233)],_0x58d4a6[_0x243c5e(0x212)])?_0x3d2de9[_0x243c5e(0x233)]():null;if(_0x59801b&&_0x58d4a6['nSCJu'](typeof _0x59801b['values'],_0x58d4a6[_0x243c5e(0x212)])&&_0x58d4a6['nSCJu'](typeof _0x184248['isEnabledTestcase'],_0x58d4a6[_0x243c5e(0x212)])){let _0x5f4168=null,_0x2b3952='';for(const _0x1b67a4 of _0x59801b[_0x243c5e(0x22f)]()){if(!_0x1b67a4)continue;const _0x5f49b8=_0x1b67a4[_0x4fbe19[_0x243c5e(0x23b)]],_0x4fd04c=_0x1b67a4[_0x4fbe19[_0x243c5e(0x1f5)]];_0x5f49b8&&(_0x58d4a6[_0x243c5e(0x248)](_0x4fd04c,_0x58d4a6[_0x243c5e(0x1e7)])||_0x58d4a6[_0x243c5e(0x227)](_0x4fd04c,_0x4fbe19[_0x243c5e(0x1ff)]))&&(_0x58d4a6['yYqNK'](_0x5f49b8,_0x2b3952)&&(_0x2b3952=_0x5f49b8,_0x5f4168=_0x1b67a4));}if(_0x5f4168){const _0x422ced=_0x5f4168[_0x4fbe19['KEY_TEST_TAGS']]||[],_0x4814bb=_0x5f4168[_0x4fbe19['KEY_TEST_NAME']]||_0x58d4a6[_0x243c5e(0x234)],_0x4f171d=_0x184248[_0x243c5e(0x235)](_0x422ced,null,_0x58d4a6['gevMv']);if(!_0x4f171d){logger[_0x243c5e(0x1ea)](_0x243c5e(0x213)+_0x8410a9+_0x243c5e(0x1fa)+_0x4814bb+'\x20tags='+JSON[_0x243c5e(0x219)](_0x422ced)+_0x243c5e(0x1f3));return;}}}}catch(_0x406db8){logger['debug'](_0x243c5e(0x1f1)+(_0x406db8[_0x243c5e(0x21f)]||_0x406db8));}const _0x439252=_0x58d4a6['FioYx'](require,_0x58d4a6[_0x243c5e(0x252)]);for(const {platformIndex:_0x5214c4,instance:_0x18e901}of _0x158fd0['iterAllInstances']()){const _0x1e4287=_0x326676[_0x243c5e(0x216)](_0x18e901,_0x2e18f1['KEY_DRIVER'],null);if(!_0x1e4287)continue;const _0x2d33c0=_0x1caa1d[_0x5214c4]||_0x1caa1d[0x0]||'';try{await _0x439252['runScan'](_0x1e4287,_0x2d33c0,_0x8410a9,![]);}catch(_0x5b574e){logger[_0x243c5e(0x1ea)](_0x243c5e(0x243)+_0x5214c4+'\x20cmd='+_0x8410a9+'\x20failed:\x20'+(_0x5b574e[_0x243c5e(0x21f)]||_0x5b574e));}}}catch(_0x438ec2){logger[_0x243c5e(0x1ea)]('[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20'+(_0x438ec2['message']||_0x438ec2));}}function install(_0x578708){const _0x5d38fd=a70_0x3cbac8,_0x5954e6={'hkVKX':function(_0x41feaa,_0x5232b6){return _0x41feaa(_0x5232b6);},'mKKKU':function(_0x4438c8,_0x3bf8ff){return _0x4438c8!==_0x3bf8ff;},'tbHUv':_0x5d38fd(0x218),'gLlHx':function(_0x3c2d4d,_0x521dcf){return _0x3c2d4d===_0x521dcf;},'XBfut':_0x5d38fd(0x22c),'pWmNX':function(_0x28e0fb){return _0x28e0fb();},'MPYxV':_0x5d38fd(0x224),'NAaCF':_0x5d38fd(0x1f7),'AicAR':function(_0x2167b6,_0x20775e){return _0x2167b6===_0x20775e;}};if(_installed)return;if(!Array[_0x5d38fd(0x214)](_0x578708)||_0x5954e6[_0x5d38fd(0x210)](_0x578708[_0x5d38fd(0x254)],0x0)){logger[_0x5d38fd(0x1ea)](_0x5954e6[_0x5d38fd(0x24a)]);return;}let _0x2225b8;try{_0x2225b8=_0x5954e6[_0x5d38fd(0x1ed)](_requireTestController);}catch(_0x5f23ec){logger[_0x5d38fd(0x1ea)]('[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20'+(_0x5f23ec['message']||_0x5f23ec));return;}if(!_0x2225b8||!_0x2225b8['prototype']){logger[_0x5d38fd(0x1ea)](_0x5954e6[_0x5d38fd(0x23a)]);return;}const _0x466d0c=_0x2225b8[_0x5d38fd(0x1ec)];let _0x48e902=0x0;function _0x4cd069(_0x388ec6){const _0x2e3d0e=_0x5d38fd;let _0x2c3dbd=_0x466d0c;while(_0x2c3dbd){const _0x427919=Object[_0x2e3d0e(0x1f6)](_0x2c3dbd,_0x388ec6);if(_0x427919){const _0x246b07={};return _0x246b07[_0x2e3d0e(0x206)]=_0x427919,_0x246b07[_0x2e3d0e(0x1ef)]=_0x2c3dbd,_0x246b07;}_0x2c3dbd=Object[_0x2e3d0e(0x1fb)](_0x2c3dbd);}return null;}for(const _0x3a9609 of _0x578708){if(!_0x3a9609||_0x5954e6[_0x5d38fd(0x249)](_0x3a9609[_0x5d38fd(0x221)],_0x5954e6[_0x5d38fd(0x202)]))continue;const _0x4b3161=_0x3a9609['name'],_0x4245a9=_0x5954e6['hkVKX'](_0x4cd069,_0x4b3161);if(!_0x4245a9)continue;const {descriptor:_0x1f41ae,owner:_0x56fb1a}=_0x4245a9;if(_0x1f41ae[_0x5d38fd(0x20a)])continue;let _0x177a7e;if(_0x5954e6[_0x5d38fd(0x210)](typeof _0x1f41ae[_0x5d38fd(0x246)],_0x5954e6[_0x5d38fd(0x230)])){const _0x58c943=_0x1f41ae[_0x5d38fd(0x246)];_0x177a7e={'configurable':!![],'writable':!![],'enumerable':_0x1f41ae[_0x5d38fd(0x1fe)],'value':function(..._0x47f4ec){const _0x43259d=_0x5d38fd;return _0x5954e6[_0x43259d(0x20b)](_performScanForAllDrivers,_0x4b3161)[_0x43259d(0x208)](()=>{}),_0x58c943[_0x43259d(0x228)](this,_0x47f4ec);}};}else{if(_0x5954e6[_0x5d38fd(0x22e)](typeof _0x1f41ae[_0x5d38fd(0x24f)],_0x5954e6[_0x5d38fd(0x230)])){const _0x419925=_0x1f41ae[_0x5d38fd(0x24f)];_0x177a7e={'configurable':!![],'enumerable':_0x1f41ae['enumerable'],'get'(){const _0x3282b9=_0x5d38fd,_0x2920e9={'JddEb':function(_0x160884,_0x27557a){const _0x5b6bdc=a70_0x1734;return _0x5954e6[_0x5b6bdc(0x20b)](_0x160884,_0x27557a);}},_0x5e386c=_0x419925[_0x3282b9(0x253)](this);if(_0x5954e6[_0x3282b9(0x249)](typeof _0x5e386c,_0x5954e6['tbHUv']))return _0x5e386c;return function(..._0x4a3c2c){const _0x797a99=_0x3282b9;return _0x2920e9[_0x797a99(0x1fc)](_performScanForAllDrivers,_0x4b3161)[_0x797a99(0x208)](()=>{}),_0x5e386c[_0x797a99(0x228)](this,_0x4a3c2c);};},'set':_0x1f41ae[_0x5d38fd(0x247)]||function(){}};}else continue;}_0x177a7e['__bstack_a11y_wrapped']=!![];try{Object[_0x5d38fd(0x239)](_0x56fb1a,_0x4b3161,_0x177a7e);const _0x2fbbb3={};_0x2fbbb3[_0x5d38fd(0x1ef)]=_0x56fb1a,_0x2fbbb3[_0x5d38fd(0x211)]=_0x1f41ae,_patchedDescriptors[_0x5d38fd(0x247)](_0x4b3161,_0x2fbbb3),_0x48e902+=0x1;}catch(_0x19b634){logger[_0x5d38fd(0x1ea)](_0x5d38fd(0x240)+_0x4b3161+':\x20'+(_0x19b634['message']||_0x19b634));}}_installed=!![],logger['info'](_0x5d38fd(0x215)+_0x48e902+'/'+_0x578708[_0x5d38fd(0x254)]+_0x5d38fd(0x223));}function uninstall(){const _0x39d40a=a70_0x3cbac8,_0x46173a={};_0x46173a[_0x39d40a(0x201)]=_0x39d40a(0x237);const _0xc1373b=_0x46173a;if(!_installed)return;for(const [_0x3a6dd0,{owner:_0x1c8e1b,originalDescriptor:_0xd11945}]of _patchedDescriptors){try{Object[_0x39d40a(0x239)](_0x1c8e1b,_0x3a6dd0,_0xd11945);}catch(_0x14fe7e){logger[_0x39d40a(0x1ea)]('[testcafe-action-patcher]\x20could\x20not\x20restore\x20'+_0x3a6dd0+':\x20'+(_0x14fe7e['message']||_0x14fe7e));}}_patchedDescriptors[_0x39d40a(0x204)](),_installed=![],logger[_0x39d40a(0x1ea)](_0xc1373b['FbPeD']);}function a70_0x1734(_0x284fc7,_0x19265d){const _0x33b940=a70_0x33b9();return a70_0x1734=function(_0x17342b,_0x595844){_0x17342b=_0x17342b-0x1e6;let _0xd965d5=_0x33b940[_0x17342b];return _0xd965d5;},a70_0x1734(_0x284fc7,_0x19265d);}const a70_0x28a3be={};a70_0x28a3be[a70_0x3cbac8(0x21b)]=install,a70_0x28a3be[a70_0x3cbac8(0x22a)]=uninstall,module[a70_0x3cbac8(0x232)]=a70_0x28a3be;
|
|
1
|
+
'use strict';const a70_0x47eac5=a70_0x1adb;(function(_0x3d86b1,_0x261c26){const _0x4e4b21=a70_0x1adb,_0x1ac45b=_0x3d86b1();while(!![]){try{const _0x18d309=-parseInt(_0x4e4b21(0xb4))/0x1*(parseInt(_0x4e4b21(0xd5))/0x2)+parseInt(_0x4e4b21(0xf9))/0x3*(parseInt(_0x4e4b21(0xfe))/0x4)+parseInt(_0x4e4b21(0xed))/0x5*(parseInt(_0x4e4b21(0xfa))/0x6)+parseInt(_0x4e4b21(0xd1))/0x7*(parseInt(_0x4e4b21(0xc5))/0x8)+parseInt(_0x4e4b21(0xd8))/0x9+-parseInt(_0x4e4b21(0xe1))/0xa*(parseInt(_0x4e4b21(0xc0))/0xb)+-parseInt(_0x4e4b21(0xb6))/0xc;if(_0x18d309===_0x261c26)break;else _0x1ac45b['push'](_0x1ac45b['shift']());}catch(_0x239c28){_0x1ac45b['push'](_0x1ac45b['shift']());}}}(a70_0x39ae,0x2f23d));const logger=require('../../helpers/logger')[a70_0x47eac5(0xb0)];function a70_0x1adb(_0x419757,_0x405e4b){const _0x39aea7=a70_0x39ae();return a70_0x1adb=function(_0x1adb63,_0x2107f2){_0x1adb63=_0x1adb63-0xa1;let _0x464b82=_0x39aea7[_0x1adb63];return _0x464b82;},a70_0x1adb(_0x419757,_0x405e4b);}let _installed=![];const _patchedDescriptors=new Map();function _requireTestController(){const _0x4e2a42=a70_0x47eac5,_0xe7cb0={'lcSIH':function(_0x342c50,_0x5c4be7){return _0x342c50(_0x5c4be7);},'xSfLv':_0x4e2a42(0xf4),'KySuc':'testcafe/package.json','lBGCA':_0x4e2a42(0xa4),'AxZfV':_0x4e2a42(0xda),'tIPvt':_0x4e2a42(0xcb),'aIprF':function(_0x124968,_0x22b45a){return _0x124968(_0x22b45a);}},_0xd614a9=_0xe7cb0['lcSIH'](require,_0xe7cb0[_0x4e2a42(0xf6)]),_0x1819d3=_0xd614a9[_0x4e2a42(0xe6)](require[_0x4e2a42(0xc7)](_0xe7cb0[_0x4e2a42(0xb7)],{'paths':[process[_0x4e2a42(0xc4)]()]})),_0x359f53=_0xd614a9['join'](_0x1819d3,_0xe7cb0[_0x4e2a42(0xeb)],_0xe7cb0[_0x4e2a42(0xd7)],_0xe7cb0[_0x4e2a42(0xbb)]),_0x31c69d=_0xe7cb0[_0x4e2a42(0xf2)](require,_0x359f53);return _0x31c69d&&(_0x31c69d['default']||_0x31c69d);}async function _performScanForAllDrivers(_0x4cba97){const _0x33362a=a70_0x47eac5,_0xf018df={'agRCQ':function(_0x26681b,_0x1aaff3){return _0x26681b(_0x1aaff3);},'VsrZX':_0x33362a(0xcd),'RZVtU':_0x33362a(0x103),'NuilV':_0x33362a(0xca),'MslBI':'../v2/modules/testcafeDriverModule','gwKWk':_0x33362a(0xa5),'JeFPS':function(_0x575713,_0x17e622){return _0x575713===_0x17e622;},'pwLQA':_0x33362a(0xff),'lCNsw':_0x33362a(0xb3),'XVBGu':_0x33362a(0xef),'UGpUR':function(_0x14a98d,_0x3439d8){return _0x14a98d===_0x3439d8;},'RhyEp':_0x33362a(0xd3),'bjsYr':function(_0x39b837,_0x3db7ff){return _0x39b837===_0x3db7ff;},'kINeo':function(_0x3ce123,_0x429e4f){return _0x3ce123>_0x429e4f;},'qJsKl':'<unnamed>','LtXXK':_0x33362a(0xb2),'MNcrV':_0x33362a(0xad)};try{const _0xbbbc16=_0xf018df[_0x33362a(0xb1)](require,_0xf018df['VsrZX']),_0x369821=_0xf018df['agRCQ'](require,_0xf018df[_0x33362a(0xbc)]),_0x49f382=_0xf018df[_0x33362a(0xb1)](require,_0xf018df[_0x33362a(0xa6)]),_0x54fc66=_0xf018df[_0x33362a(0xb1)](require,_0xf018df[_0x33362a(0xd0)]),_0x28aee9=_0xf018df[_0x33362a(0xb1)](require,_0xf018df[_0x33362a(0xbf)]),_0xb2e2e8=_0xbbbc16['getInstance']();if(!_0xb2e2e8||!_0xb2e2e8[_0x33362a(0x105)]())return;const _0x402b25=_0xb2e2e8[_0x33362a(0xc2)]&&_0xb2e2e8[_0x33362a(0xc2)]();if(!_0x402b25)return;if(_0xf018df[_0x33362a(0xee)](typeof _0x402b25[_0x33362a(0xce)],_0xf018df[_0x33362a(0xf8)])&&!_0x402b25[_0x33362a(0xce)](_0x4cba97))return;const _0x2d94bf=_0x28aee9[_0x33362a(0xf5)]&&_0x28aee9[_0x33362a(0xf5)]();if(!_0x2d94bf)return;const _0x4757a9=Array[_0x33362a(0xdc)](_0x2d94bf['getData'](_0xf018df[_0x33362a(0xa7)]))?_0x2d94bf['getData'](_0xf018df['lCNsw']):[];if(_0xf018df[_0x33362a(0xee)](_0x4757a9[_0x33362a(0xd4)],0x0))return;try{const _0x23e728=_0xf018df[_0x33362a(0xb1)](require,_0xf018df[_0x33362a(0xaf)]),_0x59c06b=_0xf018df['UGpUR'](typeof _0x2d94bf[_0x33362a(0xcf)],_0xf018df['pwLQA'])?_0x2d94bf[_0x33362a(0xcf)]():null;if(_0x59c06b&&_0xf018df[_0x33362a(0xee)](typeof _0x59c06b[_0x33362a(0xdf)],_0xf018df[_0x33362a(0xf8)])&&_0xf018df['UGpUR'](typeof _0x402b25[_0x33362a(0xbd)],_0xf018df['pwLQA'])){let _0x243f36=null,_0x2352a7='';for(const _0x5ef133 of _0x59c06b['values']()){if(!_0x5ef133)continue;const _0x55a3c4=_0x5ef133[_0x23e728[_0x33362a(0x108)]],_0x4ac34c=_0x5ef133[_0x23e728['KEY_TEST_RESULT']];_0x55a3c4&&(_0xf018df['UGpUR'](_0x4ac34c,_0xf018df[_0x33362a(0xb9)])||_0xf018df[_0x33362a(0xf1)](_0x4ac34c,_0x23e728['DEFAULT_TEST_RESULT']))&&(_0xf018df['kINeo'](_0x55a3c4,_0x2352a7)&&(_0x2352a7=_0x55a3c4,_0x243f36=_0x5ef133));}if(_0x243f36){const _0x5d19b5=_0x243f36[_0x23e728[_0x33362a(0x109)]]||[],_0x1e6e5d=_0x243f36[_0x23e728['KEY_TEST_NAME']]||_0xf018df[_0x33362a(0xd2)],_0x573bf2=_0x402b25['isEnabledTestcase'](_0x5d19b5,null,_0xf018df['LtXXK']);if(!_0x573bf2){logger[_0x33362a(0xe0)](_0x33362a(0xfc)+_0x4cba97+_0x33362a(0xe9)+_0x1e6e5d+'\x20tags='+JSON[_0x33362a(0x101)](_0x5d19b5)+'\x20(test\x20is\x20excluded\x20by\x20includeTagsInTestingScope\x20/\x20excludeTagsInTestingScope)');return;}}}}catch(_0x467517){logger[_0x33362a(0xe0)](_0x33362a(0xc6)+(_0x467517[_0x33362a(0x107)]||_0x467517));}const _0x12c46f=_0xf018df[_0x33362a(0xb1)](require,_0xf018df[_0x33362a(0xe4)]);for(const {platformIndex:_0x4341f5,instance:_0x4dbcfa}of _0x369821[_0x33362a(0xf0)]()){const _0x22d9bb=_0x49f382[_0x33362a(0xb5)](_0x4dbcfa,_0x54fc66[_0x33362a(0xf7)],null);if(!_0x22d9bb)continue;const _0x272610=_0x4757a9[_0x4341f5]||_0x4757a9[0x0]||'';try{await _0x12c46f[_0x33362a(0xd9)](_0x22d9bb,_0x272610,_0x4cba97,![]);}catch(_0x129794){logger[_0x33362a(0xe0)]('[testcafe-action-patcher]\x20performScan\x20pi='+_0x4341f5+_0x33362a(0xec)+_0x4cba97+_0x33362a(0xe2)+(_0x129794[_0x33362a(0x107)]||_0x129794));}}}catch(_0x4f7155){logger[_0x33362a(0xe0)](_0x33362a(0xa9)+(_0x4f7155[_0x33362a(0x107)]||_0x4f7155));}}function install(_0x2dc58d){const _0x47f0ea=a70_0x47eac5,_0x1962a9={'VvRsE':function(_0x161792,_0x442f2d){return _0x161792(_0x442f2d);},'bohes':function(_0x215073,_0xb02922){return _0x215073(_0xb02922);},'clxVI':function(_0x15282e,_0x3e4dba){return _0x15282e!==_0x3e4dba;},'wLmUt':'function','lWBMJ':function(_0xde739f,_0x1d4698){return _0xde739f===_0x1d4698;},'BdGtP':_0x47f0ea(0xa2),'yUgcb':function(_0x298907){return _0x298907();},'CiGRt':_0x47f0ea(0xcc),'iwFgR':function(_0x4f6e9c,_0x48ed31){return _0x4f6e9c!==_0x48ed31;},'dtrMu':_0x47f0ea(0xa1),'sVgZt':function(_0x27e336,_0x123e0e){return _0x27e336===_0x123e0e;}};if(_installed)return;if(!Array[_0x47f0ea(0xdc)](_0x2dc58d)||_0x1962a9[_0x47f0ea(0xc3)](_0x2dc58d['length'],0x0)){logger[_0x47f0ea(0xe0)](_0x1962a9[_0x47f0ea(0xba)]);return;}let _0x4c186d;try{_0x4c186d=_0x1962a9[_0x47f0ea(0x106)](_requireTestController);}catch(_0x32d1f8){logger[_0x47f0ea(0xe0)](_0x47f0ea(0xe7)+(_0x32d1f8[_0x47f0ea(0x107)]||_0x32d1f8));return;}if(!_0x4c186d||!_0x4c186d['prototype']){logger['debug'](_0x1962a9[_0x47f0ea(0xde)]);return;}const _0x1b17be=_0x4c186d[_0x47f0ea(0xea)];let _0x32e66d=0x0;function _0x1adabe(_0x4fcd05){const _0x430649=_0x47f0ea;let _0x430d44=_0x1b17be;while(_0x430d44){const _0x478cad=Object[_0x430649(0xab)](_0x430d44,_0x4fcd05);if(_0x478cad){const _0x21a922={};return _0x21a922['descriptor']=_0x478cad,_0x21a922[_0x430649(0x100)]=_0x430d44,_0x21a922;}_0x430d44=Object[_0x430649(0xbe)](_0x430d44);}return null;}for(const _0x532020 of _0x2dc58d){if(!_0x532020||_0x1962a9[_0x47f0ea(0xe5)](_0x532020[_0x47f0ea(0xc8)],_0x1962a9['dtrMu']))continue;const _0x16f19d=_0x532020[_0x47f0ea(0xd6)],_0x5636a4=_0x1962a9[_0x47f0ea(0xdb)](_0x1adabe,_0x16f19d);if(!_0x5636a4)continue;const {descriptor:_0x2deeb2,owner:_0x3aff83}=_0x5636a4;if(_0x2deeb2[_0x47f0ea(0xae)])continue;let _0x36a64c;if(_0x1962a9['sVgZt'](typeof _0x2deeb2['value'],_0x1962a9[_0x47f0ea(0xb8)])){const _0x51b72a=_0x2deeb2[_0x47f0ea(0xa3)];_0x36a64c={'configurable':!![],'writable':!![],'enumerable':_0x2deeb2['enumerable'],'value':function(..._0x5d1dbf){const _0x127809=_0x47f0ea;return _0x1962a9[_0x127809(0xfd)](_performScanForAllDrivers,_0x16f19d)[_0x127809(0xe3)](()=>{}),_0x51b72a['apply'](this,_0x5d1dbf);}};}else{if(_0x1962a9['sVgZt'](typeof _0x2deeb2[_0x47f0ea(0xac)],_0x1962a9[_0x47f0ea(0xb8)])){const _0x20e1d4=_0x2deeb2[_0x47f0ea(0xac)];_0x36a64c={'configurable':!![],'enumerable':_0x2deeb2['enumerable'],'get'(){const _0x363582=_0x47f0ea,_0x42125a=_0x20e1d4['call'](this);if(_0x1962a9[_0x363582(0x104)](typeof _0x42125a,_0x1962a9['wLmUt']))return _0x42125a;return function(..._0x5c95fb){const _0x4dd203=_0x363582;return _0x1962a9[_0x4dd203(0xdb)](_performScanForAllDrivers,_0x16f19d)[_0x4dd203(0xe3)](()=>{}),_0x42125a['apply'](this,_0x5c95fb);};},'set':_0x2deeb2[_0x47f0ea(0xa8)]||function(){}};}else continue;}_0x36a64c['__bstack_a11y_wrapped']=!![];try{Object['defineProperty'](_0x3aff83,_0x16f19d,_0x36a64c);const _0xcc9ba8={};_0xcc9ba8['owner']=_0x3aff83,_0xcc9ba8[_0x47f0ea(0x102)]=_0x2deeb2,_patchedDescriptors['set'](_0x16f19d,_0xcc9ba8),_0x32e66d+=0x1;}catch(_0x30a497){logger['debug'](_0x47f0ea(0xdd)+_0x16f19d+':\x20'+(_0x30a497[_0x47f0ea(0x107)]||_0x30a497));}}_installed=!![],logger['info']('[testcafe-action-patcher]\x20wrapped\x20'+_0x32e66d+'/'+_0x2dc58d['length']+_0x47f0ea(0xf3));}function uninstall(){const _0x4f87aa=a70_0x47eac5,_0x4ff545={};_0x4ff545['mdMOb']='[testcafe-action-patcher]\x20uninstalled';const _0x1d5e05=_0x4ff545;if(!_installed)return;for(const [_0x51461b,{owner:_0x3e07cd,originalDescriptor:_0x3f9c2}]of _patchedDescriptors){try{Object['defineProperty'](_0x3e07cd,_0x51461b,_0x3f9c2);}catch(_0x15903c){logger[_0x4f87aa(0xe0)](_0x4f87aa(0xc1)+_0x51461b+':\x20'+(_0x15903c[_0x4f87aa(0x107)]||_0x15903c));}}_patchedDescriptors['clear'](),_installed=![],logger[_0x4f87aa(0xe0)](_0x1d5e05[_0x4f87aa(0xe8)]);}function a70_0x39ae(){const _0x2105ee=['228824lVwWVy','[testcafe-action-patcher]\x20tag-scope\x20filter\x20error\x20(continuing\x20scan):\x20','resolve','module','exports','../v2/framework/automationFramework','test-controller','[testcafe-action-patcher]\x20TestController.prototype\x20missing,\x20skipping','../v2/browserstackCLI','shouldScanForCommand','getAllData','MslBI','56dYKRsH','qJsKl','pending','length','18MXUVfZ','name','AxZfV','1220112cEUlNg','runScan','api','bohes','isArray','[testcafe-action-patcher]\x20could\x20not\x20patch\x20','CiGRt','values','debug','10vcqBzY','\x20failed:\x20','catch','MNcrV','iwFgR','dirname','[testcafe-action-patcher]\x20could\x20not\x20load\x20TestController:\x20','mdMOb','\x20testName=','prototype','lBGCA','\x20cmd=','3935ybCWhn','JeFPS','../v2/framework/constants/testFrameworkConstants','iterAllInstances','bjsYr','aIprF','\x20TestController\x20methods\x20for\x20accessibility\x20scanning','path','getTrackedInstance','xSfLv','KEY_DRIVER','pwLQA','12nlBmjl','1572NAKTGX','uninstall','[testcafe-action-patcher]\x20scope-filter\x20skipped\x20scan\x20for\x20cmd=','VvRsE','258052DIxZzG','function','owner','stringify','originalDescriptor','../v2/framework/testcafeAutomationFramework','clxVI','isRunning','yUgcb','message','KEY_TEST_STARTED_AT','KEY_TEST_TAGS','testController','[testcafe-action-patcher]\x20no\x20commands\x20to\x20wrap,\x20skipping','value','lib','../v2/framework/testFramework','NuilV','lCNsw','set','[testcafe-action-patcher]\x20_performScanForAllDrivers\x20failed:\x20','install','getOwnPropertyDescriptor','get','./a11y-runner','__bstack_a11y_wrapped','XVBGu','winstonLogger','agRCQ','cucumber','__currentPlatformUuids','3476LQnshy','getState','6590532bDedui','KySuc','wLmUt','RhyEp','BdGtP','tIPvt','RZVtU','isEnabledTestcase','getPrototypeOf','gwKWk','605638nDuEim','[testcafe-action-patcher]\x20could\x20not\x20restore\x20','getAccessibilityModule','lWBMJ','cwd'];a70_0x39ae=function(){return _0x2105ee;};return a70_0x39ae();}const a70_0x5c2d43={};a70_0x5c2d43[a70_0x47eac5(0xaa)]=install,a70_0x5c2d43[a70_0x47eac5(0xfb)]=uninstall,module[a70_0x47eac5(0xc9)]=a70_0x5c2d43;
|