browserstack-node-sdk 1.65.4 → 1.65.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -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/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
package/src/bin/setup.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
function a61_0x59d3(){const _0x15bdef=['9780gnMyDH','67604gjbORu','argv','isUndefined','Mbrjp','error','LyhIA','8544963qTgOiR','\x20&&\x20npm\x20update\x20browserstack-node-sdk','npm\x20update\x20browserstack-node-sdk','codeceptjs','scripts','MDjPl','../helpers/helper','push','cwd','6dMToiS','dIIlT','plZuA','/package.json','/../../browserstack.yml.sample','winstonLogger','stringify','indexOf','splice','cMJXZ','source','1916tiLsFT','includes','node','length','63vskcll','KdbAI','info','YOUR_ACCESS_KEY','-browserstack','921mSRjZs','ZlLiu','jest','wbPme','798391ujubHt','YOUR_USERNAME','nightwatch','SDKSetup','owMNy','TgLuS','key','zgvVX','cucumber-js','63vnqOOf','VfpZn','browserstack-node-sdk\x20','split','parse','MHBWh','replace','7397iljnmT','130CqbBLa','273576wtbgEg','fireFunnelTestEvent','browserstack-node-sdk','EklWB','playwright','js-yaml','entries','iJmgq','readFileSync','nGFFY','/browserstack.yml','Ensat','Creating\x20configuration\x20file...','writeFileSync','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','947195kIVpfw'];a61_0x59d3=function(){return _0x15bdef;};return a61_0x59d3();}const a61_0x2a859f=a61_0x1e3c;(function(_0x25fd03,_0x27d4f9){const _0x2d7cda=a61_0x1e3c,_0x3d4d09=_0x25fd03();while(!![]){try{const _0x2c5fed=parseInt(_0x2d7cda(0x113))/0x1*(parseInt(_0x2d7cda(0x154))/0x2)+parseInt(_0x2d7cda(0x120))/0x3*(parseInt(_0x2d7cda(0x13a))/0x4)+-parseInt(_0x2d7cda(0x138))/0x5*(parseInt(_0x2d7cda(0x149))/0x6)+parseInt(_0x2d7cda(0x140))/0x7+parseInt(_0x2d7cda(0x129))/0x8*(-parseInt(_0x2d7cda(0x158))/0x9)+parseInt(_0x2d7cda(0x128))/0xa*(-parseInt(_0x2d7cda(0x117))/0xb)+parseInt(_0x2d7cda(0x139))/0xc*(-parseInt(_0x2d7cda(0x127))/0xd);if(_0x2c5fed===_0x27d4f9)break;else _0x3d4d09['push'](_0x3d4d09['shift']());}catch(_0x2b5a80){_0x3d4d09['push'](_0x3d4d09['shift']());}}}(a61_0x59d3,0x97d12));const fs=require('fs'),helper=require(a61_0x2a859f(0x146)),utilities=require('../helpers/utilities'),yaml=require(a61_0x2a859f(0x12e)),yargs=require('yargs'),logger=require('../helpers/logger')[a61_0x2a859f(0x14e)],configFileTemplate=__dirname+a61_0x2a859f(0x14d),configFileTemplatePW=__dirname+'/../../browserstack.pw.yml.sample',configFile=process[a61_0x2a859f(0x148)]()+a61_0x2a859f(0x133),packageFile=process[a61_0x2a859f(0x148)]()+a61_0x2a859f(0x14c),frameworks=['mocha',a61_0x2a859f(0x115),a61_0x2a859f(0x11f),a61_0x2a859f(0x156),a61_0x2a859f(0x119),a61_0x2a859f(0x143),'playwright'];function a61_0x1e3c(_0x549ba5,_0x2ad379){const _0x59d37e=a61_0x59d3();return a61_0x1e3c=function(_0x1e3c46,_0x818506){_0x1e3c46=_0x1e3c46-0x112;let _0x330ae0=_0x59d37e[_0x1e3c46];return _0x330ae0;},a61_0x1e3c(_0x549ba5,_0x2ad379);}let config;logger[a61_0x2a859f(0x15a)](a61_0x2a859f(0x135)),createConfigurationFile(yargs[a61_0x2a859f(0x13b)]['username'],yargs['argv'][a61_0x2a859f(0x11d)],yargs[a61_0x2a859f(0x13b)][a61_0x2a859f(0x12d)]);try{sdkSetup();}catch(a61_0x11c817){logger['debug'](a61_0x2a859f(0x137)+a61_0x11c817);}addScriptInPackageJson();function createConfigurationFile(_0x387841,_0x1b025e,_0x37d963=![]){const _0xb5deee=a61_0x2a859f,_0x111c7a={};_0x111c7a[_0xb5deee(0x11e)]='utf8',_0x111c7a[_0xb5deee(0x12c)]=_0xb5deee(0x118),_0x111c7a['HRxJA']=_0xb5deee(0x15b);const _0x3b076a=_0x111c7a;try{let _0x3cd962=fs[_0xb5deee(0x131)](_0x37d963?configFileTemplatePW:configFileTemplate,_0x3b076a[_0xb5deee(0x11e)]);_0x387841&&(_0x3cd962=_0x3cd962['replace'](_0x3b076a[_0xb5deee(0x12c)],_0x387841)),_0x1b025e&&(_0x3cd962=_0x3cd962[_0xb5deee(0x126)](_0x3b076a['HRxJA'],_0x1b025e)),config=yaml['load'](_0x3cd962),fs[_0xb5deee(0x136)](configFile,_0x3cd962,_0x13cd36=>{const _0x39a3c5=_0xb5deee;_0x13cd36&&logger[_0x39a3c5(0x13e)](_0x13cd36);});}catch(_0x1070ee){logger['error'](_0x1070ee);}}function addPostInstallScript(_0x358ca2,_0x3232b3){const _0x55c2a6=a61_0x2a859f,_0x516bae={};_0x516bae[_0x55c2a6(0x134)]='postinstall',_0x516bae[_0x55c2a6(0x130)]=_0x55c2a6(0x142),_0x516bae[_0x55c2a6(0x132)]=_0x55c2a6(0x141);const _0x1fe7d0=_0x516bae;let _0x3b8c53=_0x358ca2[_0x1fe7d0[_0x55c2a6(0x134)]];if(_0x3b8c53&&_0x3b8c53[_0x55c2a6(0x155)](_0x1fe7d0[_0x55c2a6(0x130)]))return;!_0x3b8c53?_0x3b8c53=_0x1fe7d0[_0x55c2a6(0x130)]:_0x3b8c53+=_0x1fe7d0['nGFFY'],_0x3232b3[_0x55c2a6(0x147)]([_0x1fe7d0[_0x55c2a6(0x134)],_0x3b8c53]);}function addScriptInPackageJson(){const _0x56ebb8=a61_0x2a859f,_0x53dc8c={'LyhIA':'utf8','wbPme':function(_0x1594aa,_0x53190c){return _0x1594aa<_0x53190c;},'MHBWh':function(_0x4ec051,_0x5e07ce,_0x4ed8ed){return _0x4ec051(_0x5e07ce,_0x4ed8ed);},'MDjPl':function(_0x6c9236,_0x55ae67,_0x2ddc65){return _0x6c9236(_0x55ae67,_0x2ddc65);},'cMJXZ':function(_0x168595,_0xdc1689){return _0x168595!==_0xdc1689;},'owMNy':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x260997=JSON[_0x56ebb8(0x124)](fs['readFileSync'](packageFile,_0x53dc8c[_0x56ebb8(0x13f)])),_0x5eccf7=[];for(let _0x14f64a=0x0;_0x53dc8c[_0x56ebb8(0x116)](_0x14f64a,frameworks[_0x56ebb8(0x157)]);_0x14f64a+=0x1){const _0xfe67ce=_0x53dc8c[_0x56ebb8(0x125)](findScriptsWithFramework,_0x260997[_0x56ebb8(0x144)],frameworks[_0x14f64a]);for(let _0x46052b=0x0;_0x53dc8c['wbPme'](_0x46052b,_0xfe67ce[_0x56ebb8(0x157)]);_0x46052b+=0x1){_0x5eccf7[_0x56ebb8(0x147)](_0x53dc8c[_0x56ebb8(0x125)](getUpdatedCommand,_0x260997[_0x56ebb8(0x144)],_0xfe67ce[_0x46052b]));}_0x53dc8c[_0x56ebb8(0x145)](addPostInstallScript,_0x260997[_0x56ebb8(0x144)],_0x5eccf7);}const _0x39484e={..._0x260997['scripts']},_0x4f1416=_0x39484e;for(let _0x1237db=0x0;_0x53dc8c[_0x56ebb8(0x116)](_0x1237db,_0x5eccf7[_0x56ebb8(0x157)]);_0x1237db+=0x1){_0x4f1416[_0x5eccf7[_0x1237db][0x0]]=_0x5eccf7[_0x1237db][0x1];}_0x53dc8c[_0x56ebb8(0x152)](JSON[_0x56ebb8(0x14f)](_0x260997[_0x56ebb8(0x144)]),JSON[_0x56ebb8(0x14f)](_0x4f1416))&&(logger[_0x56ebb8(0x15a)](_0x53dc8c[_0x56ebb8(0x11b)]),_0x260997[_0x56ebb8(0x144)]=_0x4f1416,fs['writeFileSync'](packageFile,JSON[_0x56ebb8(0x14f)](_0x260997,null,0x2),_0x5a6a32=>{const _0x2f0e1d=_0x56ebb8;_0x5a6a32&&logger[_0x2f0e1d(0x13e)](_0x5a6a32);}));};function findScriptsWithFramework(_0x3cb491,_0x5f28db){const _0x45b822=a61_0x2a859f,_0x455fca={};_0x455fca[_0x45b822(0x159)]=function(_0x497074,_0xcf9cf9){return _0x497074<_0xcf9cf9;},_0x455fca[_0x45b822(0x14b)]='browserstack-node-sdk';const _0x13ff9e=_0x455fca,_0x141d90=[],_0x23076d=Object[_0x45b822(0x12f)](_0x3cb491);for(let _0x57127c=0x0;_0x13ff9e[_0x45b822(0x159)](_0x57127c,_0x23076d['length']);_0x57127c+=0x1){_0x23076d[_0x57127c][0x1][_0x45b822(0x155)](_0x5f28db)&&!_0x23076d[_0x57127c][0x1][_0x45b822(0x155)](_0x13ff9e[_0x45b822(0x14b)])&&_0x141d90[_0x45b822(0x147)](_0x23076d[_0x57127c][0x0]);}return _0x141d90;}function getUpdatedCommand(_0x40ae4f,_0x1ab44e){const _0x2923bd=a61_0x2a859f,_0x1a5122={};_0x1a5122[_0x2923bd(0x14a)]=function(_0xff50e4,_0x4ec5ab){return _0xff50e4!==_0x4ec5ab;},_0x1a5122[_0x2923bd(0x11c)]=_0x2923bd(0x12b),_0x1a5122[_0x2923bd(0x13d)]=function(_0x2bf6c0,_0x530cee){return _0x2bf6c0===_0x530cee;};const _0x570490=_0x1a5122,_0x5a9891=_0x1ab44e+_0x2923bd(0x112),_0x309453=_0x40ae4f[_0x1ab44e],_0x1fb262=_0x309453[_0x2923bd(0x123)]('\x20');for(const _0x3720dc of frameworks){if(_0x570490[_0x2923bd(0x14a)](_0x1fb262[_0x2923bd(0x150)](_0x3720dc),-0x1)){_0x1fb262[_0x2923bd(0x151)](_0x1fb262[_0x2923bd(0x150)](_0x3720dc),0x0,_0x570490['TgLuS']);break;}}let _0x52850b=_0x1fb262['join']('\x20');return _0x570490[_0x2923bd(0x13d)](_0x52850b,_0x309453)&&(_0x52850b=_0x2923bd(0x122)+_0x309453),[_0x5a9891,_0x52850b];}function sdkSetup(){const _0x13c0d5=a61_0x2a859f,_0x9bb28e={};_0x9bb28e[_0x13c0d5(0x121)]='node-setup',_0x9bb28e[_0x13c0d5(0x114)]=_0x13c0d5(0x11a);const _0x10c847=_0x9bb28e;if(helper[_0x13c0d5(0x13c)](config))return;config[_0x13c0d5(0x153)]=_0x10c847[_0x13c0d5(0x121)];try{utilities[_0x13c0d5(0x12a)](_0x10c847[_0x13c0d5(0x114)],{},config,'');}catch(_0xa89fa){logger['debug']('Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20'+_0xa89fa);}}logger[a61_0x2a859f(0x15a)]('Setup\x20completed');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a62_0x22cad9=a62_0x3432;function a62_0x3432(_0x1c64ec,_0x15f882){const _0x406450=a62_0x4064();return a62_0x3432=function(_0x343251,_0x54895a){_0x343251=_0x343251-0x12b;let _0x3a7ace=_0x406450[_0x343251];return _0x3a7ace;},a62_0x3432(_0x1c64ec,_0x15f882);}(function(_0x1daa96,_0x31292a){const _0x27071f=a62_0x3432,_0x107191=_0x1daa96();while(!![]){try{const _0x190244=-parseInt(_0x27071f(0x159))/0x1+-parseInt(_0x27071f(0x14a))/0x2+parseInt(_0x27071f(0x180))/0x3+-parseInt(_0x27071f(0x14b))/0x4*(parseInt(_0x27071f(0x137))/0x5)+-parseInt(_0x27071f(0x151))/0x6*(-parseInt(_0x27071f(0x138))/0x7)+parseInt(_0x27071f(0x169))/0x8+parseInt(_0x27071f(0x182))/0x9;if(_0x190244===_0x31292a)break;else _0x107191['push'](_0x107191['shift']());}catch(_0x557980){_0x107191['push'](_0x107191['shift']());}}}(a62_0x4064,0x725ed));const Worker=require(a62_0x22cad9(0x18d))[a62_0x22cad9(0x18a)],Emittery=require(a62_0x22cad9(0x14e)),pLimit=require('p-limit'),{parentPort}=require(a62_0x22cad9(0x16a)),util=require(a62_0x22cad9(0x12e)),logger=require(a62_0x22cad9(0x153))[a62_0x22cad9(0x168)],PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a62_0x22cad9(0x189))[a62_0x22cad9(0x141)],{debug}=require(a62_0x22cad9(0x135)),TestHubHandler=require(a62_0x22cad9(0x15d));exports[a62_0x22cad9(0x163)]=(_0x1fea04,_0x1a73d9,_0x10cd1c)=>new Promise(async _0x488afe=>{const _0x5ddfc2=a62_0x22cad9,_0x13cc3e={'HzxUL':_0x5ddfc2(0x15a),'jlYic':function(_0x4a186f,_0x4285e6){return _0x4a186f+_0x4285e6;},'VlShX':_0x5ddfc2(0x178),'sUONa':_0x5ddfc2(0x173),'UkcnZ':function(_0x5cd26a,_0x168f19){return _0x5cd26a(_0x168f19);},'xLtdK':function(_0x3ede2f,_0x918a85){return _0x3ede2f(_0x918a85);},'dvQrE':'test-file-start','kyOjj':_0x5ddfc2(0x150),'UXwYi':_0x5ddfc2(0x145),'hYQaE':_0x5ddfc2(0x13e),'pqlRk':_0x5ddfc2(0x14f),'ZWEcJ':function(_0x55634c,_0x541f1e){return _0x55634c*_0x541f1e;},'ygnSX':_0x5ddfc2(0x12d),'IQpjO':_0x5ddfc2(0x166),'RhzPD':function(_0x455b7d,_0x472db2){return _0x455b7d*_0x472db2;}},_0x555d48=_0x10cd1c['config'],_0x462e6d={},_0x4b5197=new Worker(require[_0x5ddfc2(0x167)](_0x13cc3e[_0x5ddfc2(0x184)]),{'exposedMethods':[_0x13cc3e[_0x5ddfc2(0x15c)]],'forkOptions':{'serialization':_0x13cc3e[_0x5ddfc2(0x13a)],'stdio':_0x13cc3e[_0x5ddfc2(0x131)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x13cc3e[_0x5ddfc2(0x179)](_0x1a73d9,0x1),'enableWorkerThreads':!![]}),_0x4fbb10=new Emittery();_0x4fbb10['on'](_0x13cc3e['ygnSX'],_0xc231ec=>{const _0x20eec8=_0x5ddfc2;_0x462e6d[_0xc231ec[0x0]]?(_0x462e6d[_0xc231ec[0x0]][_0x13cc3e['HzxUL']]=_0x13cc3e['jlYic'](_0x462e6d[_0xc231ec[0x0]][_0x13cc3e[_0x20eec8(0x165)]],_0xc231ec[0x1][_0x13cc3e['HzxUL']]),_0x462e6d[_0xc231ec[0x0]][_0x13cc3e[_0x20eec8(0x156)]]=[..._0x462e6d[_0xc231ec[0x0]][_0x13cc3e[_0x20eec8(0x156)]],..._0xc231ec[0x1][_0x13cc3e['VlShX']]]):_0x462e6d[_0xc231ec[0x0]]={'failureCount':_0xc231ec[0x1][_0x13cc3e[_0x20eec8(0x165)]],'results':[..._0xc231ec[0x1][_0x13cc3e[_0x20eec8(0x156)]]]};}),_0x4fbb10['on'](_0x13cc3e[_0x5ddfc2(0x188)],_0x367f47=>console['log'](_0x367f47[0x1]));_0x4b5197['getStdout']()&&_0x4b5197['getStdout']()[_0x5ddfc2(0x14f)](process[_0x5ddfc2(0x164)]);_0x4b5197[_0x5ddfc2(0x149)]()&&_0x4b5197[_0x5ddfc2(0x149)]()[_0x5ddfc2(0x14f)](process[_0x5ddfc2(0x12c)]);const _0x2b0924=async()=>{const _0x539fb5=_0x5ddfc2,{forceExited:_0x640256}=await _0x4b5197[_0x539fb5(0x17c)]();_0x640256&&console[_0x539fb5(0x18c)](_0x13cc3e[_0x539fb5(0x139)]);try{await TestHubHandler[_0x539fb5(0x171)]();}catch(_0x2bf9b9){_0x13cc3e['UkcnZ'](debug,_0x539fb5(0x183)+_0x2bf9b9);}_0x13cc3e['xLtdK'](_0x488afe,_0x462e6d);},_0x28d3ca=_0x13cc3e['xLtdK'](pLimit,_0x13cc3e[_0x5ddfc2(0x15f)](_0x1a73d9,0x1)),_0x4b8499=_0x375740=>_0x28d3ca(async()=>{const _0x5006a5=_0x5ddfc2;await _0x4fbb10[_0x5006a5(0x154)](_0x13cc3e[_0x5006a5(0x16b)],_0x375740);const _0x2d00b4=_0x4b5197['worker'](_0x375740,_0x555d48);try{parentPort&&_0x2d00b4[_0x5006a5(0x175)](_0x9c153e=>{const _0x57a2ef=_0x5006a5;try{parentPort[_0x57a2ef(0x18b)](_0x9c153e);}catch(_0x5836c0){logger[_0x57a2ef(0x187)](_0x57a2ef(0x172)+util['format'](_0x5836c0));}});}catch(_0x314b78){logger[_0x5006a5(0x187)]('Exception\x20in\x20adding\x20custom\x20message\x20channel\x20'+util[_0x5006a5(0x160)](_0x314b78));}return _0x2d00b4;});PerformanceTester[_0x5ddfc2(0x17c)](PerformanceEvents['SDK_SETUP']),Promise['all'](_0x1fea04[_0x5ddfc2(0x13d)](_0x46c694=>_0x4b8499(_0x46c694)[_0x5ddfc2(0x12f)](_0x4159c6=>_0x4fbb10['emit']('test-file-success',[_0x46c694[_0x5ddfc2(0x162)][_0x5ddfc2(0x174)],_0x4159c6]),_0x2f88f4=>_0x4fbb10[_0x5ddfc2(0x154)](_0x5ddfc2(0x166),[_0x46c694,_0x2f88f4]))))['then'](_0x2b0924,_0x2b0924);}),exports[a62_0x22cad9(0x130)]=(_0x5b2065,_0x12d87d,_0x130de6,_0xa32abf,_0x2a07c1)=>{const _0x2b1e13=a62_0x22cad9,_0x283a20={'JETWA':_0x2b1e13(0x173),'hIMFr':function(_0x3454f3,_0x258c4a){return _0x3454f3(_0x258c4a);},'UYZcF':_0x2b1e13(0x148),'CXJgn':_0x2b1e13(0x150),'ecGBI':'cucumberWorker','yQBeQ':_0x2b1e13(0x13e),'jkvHR':_0x2b1e13(0x14f),'zENHQ':'platform-run-success','dBusI':_0x2b1e13(0x14d)};return new Promise(_0x46487f=>{const _0x49a1ef=_0x2b1e13,_0x3849f1={'bYhQh':_0x283a20[_0x49a1ef(0x155)],'AYEhr':function(_0x364426,_0xa4fcf8){const _0x10e549=_0x49a1ef;return _0x283a20[_0x10e549(0x142)](_0x364426,_0xa4fcf8);},'ORfKI':_0x283a20[_0x49a1ef(0x17d)]},_0x419799=[],_0xde24af=new Worker(require['resolve'](_0x283a20[_0x49a1ef(0x13c)]),{'exposedMethods':[_0x283a20[_0x49a1ef(0x143)]],'forkOptions':{'serialization':_0x283a20[_0x49a1ef(0x134)],'stdio':_0x283a20[_0x49a1ef(0x16f)]},'numWorkers':_0x5b2065['length']||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x111a39=new Emittery();_0x111a39['on'](_0x283a20[_0x49a1ef(0x158)],_0x952c7f=>{const _0x16771d=_0x49a1ef;_0x419799[_0x16771d(0x186)]([_0x952c7f[0x0],_0x952c7f[0x1]]);}),_0x111a39['on'](_0x283a20[_0x49a1ef(0x18e)],_0x524e88=>console[_0x49a1ef(0x140)](_0x524e88[0x1]));_0xde24af[_0x49a1ef(0x146)]()&&_0xde24af[_0x49a1ef(0x146)]()[_0x49a1ef(0x14f)](process[_0x49a1ef(0x164)]);_0xde24af[_0x49a1ef(0x149)]()&&_0xde24af[_0x49a1ef(0x149)]()['pipe'](process[_0x49a1ef(0x12c)]);const _0x502e5d=async()=>{const _0x38fa83=_0x49a1ef,{forceExited:_0xa54862}=await _0xde24af[_0x38fa83(0x17c)]();_0xa54862&&console[_0x38fa83(0x18c)](_0x3849f1['bYhQh']),_0x3849f1['AYEhr'](_0x46487f,_0x419799);},_0x18c8a5=_0x283a20[_0x49a1ef(0x142)](pLimit,_0x5b2065[_0x49a1ef(0x15b)]||0x1),_0x42b0d2=(_0x4ec56b,_0x420d2f)=>_0x18c8a5(async()=>{const _0x421427=_0x49a1ef;return await _0x111a39[_0x421427(0x154)](_0x3849f1['ORfKI'],_0x4ec56b),_0x12d87d[_0x421427(0x17e)]=_0x130de6[_0x421427(0x177)][_0x420d2f],_0x12d87d[_0x421427(0x16d)]=_0x420d2f,_0xde24af[_0x421427(0x176)](_0x4ec56b,_0x12d87d,_0x130de6,_0xa32abf,_0x2a07c1);});Promise[_0x49a1ef(0x13b)](_0x5b2065[_0x49a1ef(0x13d)]((_0x270dde,_0x10cb9a)=>_0x42b0d2(_0x270dde,_0x10cb9a)[_0x49a1ef(0x12f)](_0x5189d2=>_0x111a39[_0x49a1ef(0x154)](_0x49a1ef(0x14c),[_0x270dde,_0x5189d2]),_0x496af2=>_0x111a39[_0x49a1ef(0x154)](_0x49a1ef(0x14d),[_0x270dde,_0x496af2]))))['then'](_0x502e5d,_0x502e5d);});},exports['parallelVanillaRun']=(_0x1cd584,_0x420f98)=>new Promise(_0x1ac6bc=>{const _0x36cef7=a62_0x22cad9,_0x44d821={'kEtUX':function(_0x5a811a,_0xe009b9){return _0x5a811a===_0xe009b9;},'OUxVu':function(_0x36a868,_0x2263f8){return _0x36a868!==_0x2263f8;},'EercH':'exit','xmnFf':'Workers\x20failed\x20to\x20exit\x20gracefully','qVJiN':function(_0x26e5d3,_0x247953){return _0x26e5d3(_0x247953);},'aqgCG':_0x36cef7(0x150),'vLtyp':_0x36cef7(0x16e),'tetdm':_0x36cef7(0x13e),'cxchr':_0x36cef7(0x14f),'sZSoS':_0x36cef7(0x12d),'nzTEP':_0x36cef7(0x166),'RJacc':function(_0x21e152,_0x3c6d51){return _0x21e152(_0x3c6d51);}},_0xa66303={},_0x4ecf8c=new Worker(require[_0x36cef7(0x167)](_0x44d821[_0x36cef7(0x147)]),{'exposedMethods':[_0x44d821[_0x36cef7(0x170)]],'forkOptions':{'serialization':_0x44d821[_0x36cef7(0x17f)],'stdio':_0x44d821['cxchr']},'numWorkers':_0x420f98,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x5e2193=new Emittery();_0x5e2193['on'](_0x44d821[_0x36cef7(0x132)],_0x3422e=>{const _0x2b8964=_0x36cef7;_0x3422e[0x0]&&logger['info'](_0x2b8964(0x152)+_0x3422e[0x1]+_0x2b8964(0x181),_0x3422e[0x0]);}),_0x5e2193['on'](_0x44d821['nzTEP'],_0x5101f1=>{const _0x51c6c4=_0x36cef7;process[_0x51c6c4(0x157)]=0x1;});_0x4ecf8c[_0x36cef7(0x146)]()&&_0x4ecf8c[_0x36cef7(0x146)]()[_0x36cef7(0x14f)](process[_0x36cef7(0x164)]);_0x4ecf8c['getStderr']()&&_0x4ecf8c['getStderr']()[_0x36cef7(0x14f)](process[_0x36cef7(0x12c)]);const _0x5ce0da=async()=>{const _0x4d92de=_0x36cef7;let _0x2e69e2=0x0;const _0x20d5d1=_0x4ecf8c[_0x4d92de(0x17a)][_0x4d92de(0x144)](),_0x4ecd69=()=>{},_0x3fecf5=_0x20d5d1[_0x4d92de(0x13d)](async _0x4b1ba6=>{const _0xabebff=_0x4d92de,_0x5ac55a={'IOEXM':function(_0x16e295,_0xdc0b85){return _0x44d821['kEtUX'](_0x16e295,_0xdc0b85);},'zVwoR':function(_0x3392db,_0x1a8289){const _0x1c1f94=a62_0x3432;return _0x44d821[_0x1c1f94(0x13f)](_0x3392db,_0x1a8289);}};_0x4b1ba6[_0xabebff(0x136)]([0x2,![]],_0x4ecd69,_0x4ecd69,_0x4ecd69),_0x4b1ba6['_child']['on'](_0x44d821[_0xabebff(0x15e)],_0x4b4335=>{const _0x3241c1=_0xabebff;_0x5ac55a['IOEXM'](_0x2e69e2,0x0)&&_0x5ac55a[_0x3241c1(0x17b)](_0x4b4335,0x0)&&(_0x2e69e2=_0x4b4335);}),await _0x4b1ba6[_0xabebff(0x185)]();});await Promise[_0x4d92de(0x13b)](_0x3fecf5),process[_0x4d92de(0x157)]=_0x2e69e2;const {forceExited:_0x5c4692}=await _0x4ecf8c[_0x4d92de(0x17c)]();_0x5c4692&&console[_0x4d92de(0x18c)](_0x44d821[_0x4d92de(0x161)]),_0x44d821[_0x4d92de(0x16c)](_0x1ac6bc,_0xa66303);},_0x724a1b=_0x44d821[_0x36cef7(0x12b)](pLimit,_0x420f98),_0x26327b=_0x4c9d20=>_0x724a1b(async()=>{const _0x52ccbf=_0x36cef7;return _0x4ecf8c[_0x52ccbf(0x16e)](_0x4c9d20);});Promise['all'](_0x1cd584[_0x36cef7(0x13d)](_0x2f9133=>_0x26327b(_0x2f9133)[_0x36cef7(0x12f)](_0x1a0648=>_0x5e2193['emit'](_0x36cef7(0x12d),[_0x2f9133[_0x36cef7(0x162)][_0x36cef7(0x174)],_0x2f9133[_0x36cef7(0x162)][_0x36cef7(0x133)]]),_0x59b417=>_0x5e2193[_0x36cef7(0x154)](_0x36cef7(0x166),[_0x2f9133,_0x59b417]))))['then'](_0x5ce0da,_0x5ce0da);});function a62_0x4064(){const _0x3d16c8=['cucumberWorker','platforms','results','ZWEcJ','_workerPool','zVwoR','end','UYZcF','platformCaps','tetdm','1909251DUdjUJ','\x20for','3396285sSqkMU','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','kyOjj','waitForExit','push','debug','IQpjO','../../helpers/performance/constants','Worker','postMessage','error','jest-worker','dBusI','RJacc','stderr','test-file-success','util','then','parallelCucumberRun','pqlRk','sZSoS','file','yQBeQ','../../helpers/test-observability/utils','send','46135eXTlai','202370wXKvSr','sUONa','hYQaE','all','CXJgn','map','json','OUxVu','log','EVENTS','hIMFr','ecGBI','getWorkers','worker','getStdout','aqgCG','platform-run-start','getStderr','1830384pIsAay','244IGEdcs','platform-run-success','platform-run-failure','emittery','pipe','./testWorker.js','84vLBEnM','Running\x20','../../helpers/logger','emit','JETWA','VlShX','exitCode','zENHQ','302833MPoOqw','failureCount','length','UXwYi','../../helpers/testhub/testhubHandler','EercH','RhzPD','format','xmnFf','configuration','parallelTestRun','stdout','HzxUL','test-file-failure','resolve','winstonLogger','6646488xzlHNy','worker_threads','dvQrE','qVJiN','platformIndex','vanillaWorker','jkvHR','vLtyp','stop','Exception\x20in\x20sending\x20worker\x20message\x20','Workers\x20failed\x20to\x20exit\x20gracefully','platform','UNSTABLE_onCustomMessage'];a62_0x4064=function(){return _0x3d16c8;};return a62_0x4064();}
|
|
1
|
+
function a62_0x2fe5(_0x686106,_0xd64371){const _0x576624=a62_0x5766();return a62_0x2fe5=function(_0x2fe5db,_0xa5d58f){_0x2fe5db=_0x2fe5db-0xeb;let _0x279138=_0x576624[_0x2fe5db];return _0x279138;},a62_0x2fe5(_0x686106,_0xd64371);}function a62_0x5766(){const _0x35e913=['all','XPWXx','dLKLo','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','dUYoV','stdout','length','6aUfCXd','Worker','XChmo','vanillaWorker','tbCnX','results','exitCode','format','stderr','oXKNf','test-file-failure','getStdout','parallelTestRun','test-file-success','WQHRR','SDK_SETUP','simrN','hbKEx','9JQQvve','error','AZUoV','siElK','../../helpers/performance/performance-tester','vLZCI','resolve','config','UNSTABLE_onCustomMessage','_child','11tNKTgx','\x20for','then','TJJVM','exit','kURjA','_workerPool','file','map','dSktC','34777164hBALfj','Fbcoj','PFphP','45lcOiFp','cucumberWorker','Exception\x20in\x20sending\x20worker\x20message\x20','../../helpers/logger','../../helpers/performance/constants','failureCount','mtBGR','8735200rErluk','vFQdd','emit','Running\x20','EBrbi','mnsUf','util','debug','ufsbG','platformIndex','platforms','parallelVanillaRun','plRVK','EcDyb','1231764bgCGtn','1kEDlec','4875598qDASoM','getWorkers','qKtZc','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','331722jQZDsh','uDQRT','platform-run-failure','json','KheIT','platformCaps','platform','./testWorker.js','Workers\x20failed\x20to\x20exit\x20gracefully','2037512qNLmji','SAtem','OvJeb','../../helpers/testhub/testhubHandler','info','postMessage','Zaabo','worker_threads','push','7176095icYVhy','btDPI','YCRcP','platform-run-success','configuration','getStderr','hhRGL','emittery','end','EVENTS','log','parallelCucumberRun','pipe','test-file-start'];a62_0x5766=function(){return _0x35e913;};return a62_0x5766();}const a62_0x2a6cb9=a62_0x2fe5;(function(_0x35c093,_0x423e84){const _0x1725d2=a62_0x2fe5,_0x2259cd=_0x35c093();while(!![]){try{const _0x387572=-parseInt(_0x1725d2(0x11b))/0x1*(parseInt(_0x1725d2(0x120))/0x2)+-parseInt(_0x1725d2(0xee))/0x3*(-parseInt(_0x1725d2(0x11a))/0x4)+parseInt(_0x1725d2(0x132))/0x5*(-parseInt(_0x1725d2(0x147))/0x6)+parseInt(_0x1725d2(0x11c))/0x7+parseInt(_0x1725d2(0x129))/0x8*(-parseInt(_0x1725d2(0x105))/0x9)+-parseInt(_0x1725d2(0x10c))/0xa+parseInt(_0x1725d2(0xf8))/0xb*(parseInt(_0x1725d2(0x102))/0xc);if(_0x387572===_0x423e84)break;else _0x2259cd['push'](_0x2259cd['shift']());}catch(_0x7a91f0){_0x2259cd['push'](_0x2259cd['shift']());}}}(a62_0x5766,0xbc155));const Worker=require('jest-worker')[a62_0x2a6cb9(0x148)],Emittery=require(a62_0x2a6cb9(0x139)),pLimit=require('p-limit'),{parentPort}=require(a62_0x2a6cb9(0x130)),util=require(a62_0x2a6cb9(0x112)),logger=require(a62_0x2a6cb9(0x108))['winstonLogger'],PerformanceTester=require(a62_0x2a6cb9(0xf2)),PerformanceEvents=require(a62_0x2a6cb9(0x109))[a62_0x2a6cb9(0x13b)],{debug}=require('../../helpers/test-observability/utils'),TestHubHandler=require(a62_0x2a6cb9(0x12c));exports[a62_0x2a6cb9(0x153)]=(_0x55ff91,_0x476ca7,_0x588109)=>new Promise(async _0x2a3c52=>{const _0x59dc21=a62_0x2a6cb9,_0x53ef82={'WQHRR':_0x59dc21(0x10a),'hhRGL':function(_0x4c9c23,_0xbf800d){return _0x4c9c23+_0xbf800d;},'XChmo':_0x59dc21(0x14c),'dUYoV':_0x59dc21(0x128),'EBrbi':function(_0x16971b,_0x185cf0){return _0x16971b(_0x185cf0);},'Fbcoj':function(_0x3dcaa6,_0x3220d9){return _0x3dcaa6(_0x3220d9);},'oXKNf':_0x59dc21(0x13f),'mtBGR':_0x59dc21(0x127),'tbCnX':'worker','plRVK':_0x59dc21(0x123),'YCRcP':'pipe','dSktC':function(_0x2c73d3,_0x3843d2){return _0x2c73d3*_0x3843d2;},'kURjA':_0x59dc21(0x154),'siElK':_0x59dc21(0x151),'PFphP':function(_0x51854f,_0x5cdacb){return _0x51854f*_0x5cdacb;}},_0x92ae9=_0x588109[_0x59dc21(0xf5)],_0x484d11={},_0x30d5d4=new Worker(require[_0x59dc21(0xf4)](_0x53ef82[_0x59dc21(0x10b)]),{'exposedMethods':[_0x53ef82[_0x59dc21(0x14b)]],'forkOptions':{'serialization':_0x53ef82[_0x59dc21(0x118)],'stdio':_0x53ef82[_0x59dc21(0x134)]},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x53ef82[_0x59dc21(0x101)](_0x476ca7,0x1),'enableWorkerThreads':!![]}),_0x5bf2a7=new Emittery();_0x5bf2a7['on'](_0x53ef82[_0x59dc21(0xfd)],_0x1366e3=>{const _0x46c2b3=_0x59dc21;_0x484d11[_0x1366e3[0x0]]?(_0x484d11[_0x1366e3[0x0]][_0x53ef82['WQHRR']]=_0x53ef82[_0x46c2b3(0x138)](_0x484d11[_0x1366e3[0x0]][_0x53ef82[_0x46c2b3(0x155)]],_0x1366e3[0x1][_0x53ef82[_0x46c2b3(0x155)]]),_0x484d11[_0x1366e3[0x0]][_0x53ef82[_0x46c2b3(0x149)]]=[..._0x484d11[_0x1366e3[0x0]][_0x53ef82['XChmo']],..._0x1366e3[0x1][_0x53ef82[_0x46c2b3(0x149)]]]):_0x484d11[_0x1366e3[0x0]]={'failureCount':_0x1366e3[0x1][_0x53ef82[_0x46c2b3(0x155)]],'results':[..._0x1366e3[0x1][_0x53ef82[_0x46c2b3(0x149)]]]};}),_0x5bf2a7['on'](_0x53ef82[_0x59dc21(0xf1)],_0x460447=>console[_0x59dc21(0x13c)](_0x460447[0x1]));_0x30d5d4[_0x59dc21(0x152)]()&&_0x30d5d4[_0x59dc21(0x152)]()[_0x59dc21(0x13e)](process['stdout']);_0x30d5d4[_0x59dc21(0x137)]()&&_0x30d5d4[_0x59dc21(0x137)]()[_0x59dc21(0x13e)](process[_0x59dc21(0x14f)]);const _0x35e5f9=async()=>{const _0x49a974=_0x59dc21,{forceExited:_0x1ad997}=await _0x30d5d4[_0x49a974(0x13a)]();_0x1ad997&&console[_0x49a974(0xef)](_0x53ef82[_0x49a974(0x144)]);try{await TestHubHandler['stop']();}catch(_0x4cbab9){_0x53ef82[_0x49a974(0x110)](debug,_0x49a974(0x11f)+_0x4cbab9);}_0x53ef82[_0x49a974(0x103)](_0x2a3c52,_0x484d11);},_0x173d5e=_0x53ef82[_0x59dc21(0x103)](pLimit,_0x53ef82[_0x59dc21(0x104)](_0x476ca7,0x1)),_0x5dd339=_0x5bea75=>_0x173d5e(async()=>{const _0x3edc76=_0x59dc21;await _0x5bf2a7['emit'](_0x53ef82[_0x3edc76(0x150)],_0x5bea75);const _0x345103=_0x30d5d4['worker'](_0x5bea75,_0x92ae9);try{parentPort&&_0x345103[_0x3edc76(0xf6)](_0x27f16c=>{const _0x73f057=_0x3edc76;try{parentPort[_0x73f057(0x12e)](_0x27f16c);}catch(_0x56cf7b){logger['debug'](_0x73f057(0x107)+util[_0x73f057(0x14e)](_0x56cf7b));}});}catch(_0x1acf18){logger[_0x3edc76(0x113)](_0x3edc76(0x143)+util['format'](_0x1acf18));}return _0x345103;});PerformanceTester['end'](PerformanceEvents[_0x59dc21(0xeb)]),Promise[_0x59dc21(0x140)](_0x55ff91[_0x59dc21(0x100)](_0x5371cd=>_0x5dd339(_0x5371cd)['then'](_0x357d48=>_0x5bf2a7['emit'](_0x59dc21(0x154),[_0x5371cd[_0x59dc21(0x136)][_0x59dc21(0x126)],_0x357d48]),_0x3d6ce=>_0x5bf2a7[_0x59dc21(0x10e)](_0x59dc21(0x151),[_0x5371cd,_0x3d6ce]))))[_0x59dc21(0xfa)](_0x35e5f9,_0x35e5f9);}),exports[a62_0x2a6cb9(0x13d)]=(_0x2735bb,_0x50d444,_0x3159ef,_0x268382,_0x448d89)=>{const _0x1bdf2c=a62_0x2a6cb9,_0x322c89={'qKtZc':_0x1bdf2c(0x128),'EcDyb':function(_0x52b136,_0x44cf8e){return _0x52b136(_0x44cf8e);},'XPWXx':'platform-run-start','OvJeb':'./testWorker.js','AZUoV':'cucumberWorker','uDQRT':'json','vLZCI':_0x1bdf2c(0x13e),'vFQdd':_0x1bdf2c(0x135),'bYBsY':_0x1bdf2c(0x122)};return new Promise(_0x186daa=>{const _0x219438=_0x1bdf2c,_0x8748d=[],_0x235d48=new Worker(require[_0x219438(0xf4)](_0x322c89[_0x219438(0x12b)]),{'exposedMethods':[_0x322c89[_0x219438(0xf0)]],'forkOptions':{'serialization':_0x322c89[_0x219438(0x121)],'stdio':_0x322c89[_0x219438(0xf3)]},'numWorkers':_0x2735bb[_0x219438(0x146)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x2c185e=new Emittery();_0x2c185e['on'](_0x322c89[_0x219438(0x10d)],_0x14f0cf=>{const _0xc2ec78=_0x219438;_0x8748d[_0xc2ec78(0x131)]([_0x14f0cf[0x0],_0x14f0cf[0x1]]);}),_0x2c185e['on'](_0x322c89['bYBsY'],_0x82bdb8=>console[_0x219438(0x13c)](_0x82bdb8[0x1]));_0x235d48['getStdout']()&&_0x235d48[_0x219438(0x152)]()[_0x219438(0x13e)](process[_0x219438(0x145)]);_0x235d48[_0x219438(0x137)]()&&_0x235d48[_0x219438(0x137)]()[_0x219438(0x13e)](process[_0x219438(0x14f)]);const _0x2be2b4=async()=>{const _0x2663ec=_0x219438,{forceExited:_0x10aa9a}=await _0x235d48['end']();_0x10aa9a&&console[_0x2663ec(0xef)](_0x322c89[_0x2663ec(0x11e)]),_0x322c89[_0x2663ec(0x119)](_0x186daa,_0x8748d);},_0xeda72e=_0x322c89[_0x219438(0x119)](pLimit,_0x2735bb[_0x219438(0x146)]||0x1),_0x804228=(_0x22ff50,_0x5864d1)=>_0xeda72e(async()=>{const _0x505647=_0x219438;return await _0x2c185e[_0x505647(0x10e)](_0x322c89[_0x505647(0x141)],_0x22ff50),_0x50d444[_0x505647(0x125)]=_0x3159ef[_0x505647(0x116)][_0x5864d1],_0x50d444[_0x505647(0x115)]=_0x5864d1,_0x235d48[_0x505647(0x106)](_0x22ff50,_0x50d444,_0x3159ef,_0x268382,_0x448d89);});Promise[_0x219438(0x140)](_0x2735bb[_0x219438(0x100)]((_0x5423e9,_0x165afc)=>_0x804228(_0x5423e9,_0x165afc)[_0x219438(0xfa)](_0x375720=>_0x2c185e['emit'](_0x219438(0x135),[_0x5423e9,_0x375720]),_0x7f1af2=>_0x2c185e[_0x219438(0x10e)](_0x219438(0x122),[_0x5423e9,_0x7f1af2]))))[_0x219438(0xfa)](_0x2be2b4,_0x2be2b4);});},exports[a62_0x2a6cb9(0x117)]=(_0x2b96f1,_0x2e76d9)=>new Promise(_0x372328=>{const _0x507a95=a62_0x2a6cb9,_0x58c21e={'tzFhp':_0x507a95(0xfc),'TJJVM':function(_0x4e5d8,_0x31d4ce){return _0x4e5d8===_0x31d4ce;},'dNbeo':function(_0x565cdf,_0x7d2217){return _0x565cdf!==_0x7d2217;},'btDPI':_0x507a95(0x128),'dLKLo':function(_0x965286,_0x59c5af){return _0x965286(_0x59c5af);},'Zaabo':_0x507a95(0x127),'hbKEx':_0x507a95(0x14a),'simrN':'json','KheIT':_0x507a95(0x13e),'FxNiv':_0x507a95(0x154),'ufsbG':_0x507a95(0x151)},_0x1fb0fe={},_0x1cc8dc=new Worker(require['resolve'](_0x58c21e[_0x507a95(0x12f)]),{'exposedMethods':[_0x58c21e[_0x507a95(0xed)]],'forkOptions':{'serialization':_0x58c21e[_0x507a95(0xec)],'stdio':_0x58c21e[_0x507a95(0x124)]},'numWorkers':_0x2e76d9,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x37c2ff=new Emittery();_0x37c2ff['on'](_0x58c21e['FxNiv'],_0x257d67=>{const _0x68072e=_0x507a95;_0x257d67[0x0]&&logger[_0x68072e(0x12d)](_0x68072e(0x10f)+_0x257d67[0x1]+_0x68072e(0xf9),_0x257d67[0x0]);}),_0x37c2ff['on'](_0x58c21e[_0x507a95(0x114)],_0x47b974=>{const _0x50b2bf=_0x507a95;process[_0x50b2bf(0x14d)]=0x1;});_0x1cc8dc[_0x507a95(0x152)]()&&_0x1cc8dc['getStdout']()[_0x507a95(0x13e)](process[_0x507a95(0x145)]);_0x1cc8dc['getStderr']()&&_0x1cc8dc[_0x507a95(0x137)]()[_0x507a95(0x13e)](process[_0x507a95(0x14f)]);const _0xc83ec0=async()=>{const _0x2f49d8=_0x507a95,_0x3f3ff9={'mnsUf':function(_0x43f3fd,_0x45339e){const _0x213832=a62_0x2fe5;return _0x58c21e[_0x213832(0xfb)](_0x43f3fd,_0x45339e);},'SAtem':function(_0x356200,_0x102bf9){return _0x58c21e['dNbeo'](_0x356200,_0x102bf9);}};let _0x446558=0x0;const _0x590d8f=_0x1cc8dc[_0x2f49d8(0xfe)][_0x2f49d8(0x11d)](),_0x6f0544=()=>{},_0x4e001d=_0x590d8f[_0x2f49d8(0x100)](async _0x228345=>{const _0x4f30c3=_0x2f49d8;_0x228345['send']([0x2,![]],_0x6f0544,_0x6f0544,_0x6f0544),_0x228345[_0x4f30c3(0xf7)]['on'](_0x58c21e['tzFhp'],_0x4a4abe=>{const _0x468aa0=_0x4f30c3;_0x3f3ff9[_0x468aa0(0x111)](_0x446558,0x0)&&_0x3f3ff9[_0x468aa0(0x12a)](_0x4a4abe,0x0)&&(_0x446558=_0x4a4abe);}),await _0x228345['waitForExit']();});await Promise['all'](_0x4e001d),process['exitCode']=_0x446558;const {forceExited:_0x18de82}=await _0x1cc8dc[_0x2f49d8(0x13a)]();_0x18de82&&console[_0x2f49d8(0xef)](_0x58c21e[_0x2f49d8(0x133)]),_0x58c21e[_0x2f49d8(0x142)](_0x372328,_0x1fb0fe);},_0x3044c3=_0x58c21e[_0x507a95(0x142)](pLimit,_0x2e76d9),_0x331219=_0x46406f=>_0x3044c3(async()=>{const _0x7939e1=_0x507a95;return _0x1cc8dc[_0x7939e1(0x14a)](_0x46406f);});Promise[_0x507a95(0x140)](_0x2b96f1['map'](_0xe3cbf5=>_0x331219(_0xe3cbf5)['then'](_0x3adfb0=>_0x37c2ff[_0x507a95(0x10e)]('test-file-success',[_0xe3cbf5['configuration'][_0x507a95(0x126)],_0xe3cbf5[_0x507a95(0x136)][_0x507a95(0xff)]]),_0x10806b=>_0x37c2ff['emit']('test-file-failure',[_0xe3cbf5,_0x10806b]))))[_0x507a95(0xfa)](_0xc83ec0,_0xc83ec0);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a63_0x281d36=a63_0x2eb5;function a63_0x2eb5(_0x5cd759,_0x537392){const _0x348289=a63_0x3482();return a63_0x2eb5=function(_0x2eb5f3,_0x193cb3){_0x2eb5f3=_0x2eb5f3-0x6f;let _0x264186=_0x348289[_0x2eb5f3];return _0x264186;},a63_0x2eb5(_0x5cd759,_0x537392);}function a63_0x3482(){const _0x5c1195=['formatter','kNpsb','yUpsw','7YwGpBO','9808976cgwhgI','../../helpers/performance/performance-tester','6316764ReHQet','bvyQm','run','78KDwNzD','../launcher/launcher','29245122uUeazL','IqNCZ','EvMlD','8128495NPInto','BIufD','runCucumberTest','EVENTS','mocha','433494yUNkkX','runVanillaTest','end','cucumber-js','../../helpers/test-observability/utils','SDK_POST_TEST','499JZNfDc','5933058tXUWxB','stopMonitoring'];a63_0x3482=function(){return _0x5c1195;};return a63_0x3482();}(function(_0x4fdc1e,_0x1f24a6){const _0x338cc8=a63_0x2eb5,_0x1716c5=_0x4fdc1e();while(!![]){try{const _0xf2d627=-parseInt(_0x338cc8(0x72))/0x1*(parseInt(_0x338cc8(0x7e))/0x2)+-parseInt(_0x338cc8(0x88))/0x3+parseInt(_0x338cc8(0x7b))/0x4+-parseInt(_0x338cc8(0x83))/0x5+-parseInt(_0x338cc8(0x73))/0x6*(parseInt(_0x338cc8(0x78))/0x7)+-parseInt(_0x338cc8(0x79))/0x8+parseInt(_0x338cc8(0x80))/0x9;if(_0xf2d627===_0x1f24a6)break;else _0x1716c5['push'](_0x1716c5['shift']());}catch(_0x33aaa1){_0x1716c5['push'](_0x1716c5['shift']());}}}(a63_0x3482,0xc92da));const PerformanceEvents=require('../../helpers/performance/constants')[a63_0x281d36(0x86)],PerformanceTester=require(a63_0x281d36(0x7a)),{sleep}=require(a63_0x281d36(0x70));exports['runTest']=async(_0x10b69e,_0x26851d)=>{const _0x4b0c99=a63_0x281d36,_0x13abd7={'bvyQm':function(_0x8fd74d,_0x4bdd7a){return _0x8fd74d(_0x4bdd7a);},'nZAEA':_0x4b0c99(0x7f),'IqNCZ':_0x4b0c99(0x87),'BIufD':function(_0x3dd229,_0x1dfcdc){return _0x3dd229(_0x1dfcdc);}};PerformanceTester['startMonitoring']();const _0x41e0cd=_0x13abd7[_0x4b0c99(0x7c)](require,_0x13abd7['nZAEA']),_0x567bcd=new _0x41e0cd(_0x13abd7[_0x4b0c99(0x81)],_0x10b69e,_0x26851d),_0x2e9139=await _0x567bcd['run']();return PerformanceTester[_0x4b0c99(0x8a)](PerformanceEvents[_0x4b0c99(0x71)]),await _0x13abd7[_0x4b0c99(0x84)](sleep,0x3e8),PerformanceTester[_0x4b0c99(0x74)](),_0x2e9139;},exports[a63_0x281d36(0x85)]=async(_0x467998,_0x3b6ba9,_0x4fcd02,_0x74812d,_0x3e9a39)=>{const _0x46eb89=a63_0x281d36,_0x36c59b={'muhmo':function(_0x17eeed,_0x209d3c){return _0x17eeed(_0x209d3c);},'kNpsb':_0x46eb89(0x7f),'EvMlD':_0x46eb89(0x6f)},_0x5cfd95={'capability':_0x467998,..._0x3b6ba9},_0x4c4951={};_0x4c4951['configuration']=_0x5cfd95,_0x4c4951[_0x46eb89(0x75)]=_0x3e9a39;const _0x1782ff=_0x4c4951,_0xd257d5=_0x36c59b['muhmo'](require,_0x36c59b[_0x46eb89(0x76)]),_0x4ea044=new _0xd257d5(_0x36c59b[_0x46eb89(0x82)],_0x1782ff,_0x4fcd02,_0x74812d);return await _0x4ea044[_0x46eb89(0x7d)]();},exports[a63_0x281d36(0x89)]=async _0x3079c9=>{const _0x46c22f=a63_0x281d36,_0x4fc7da={'ByIKH':function(_0x3f52b1,_0x62c723){return _0x3f52b1(_0x62c723);},'yUpsw':_0x46c22f(0x7f),'eneMO':'vanilla'},_0x561a24=_0x4fc7da['ByIKH'](require,_0x4fc7da[_0x46c22f(0x77)]),_0x14342d=new _0x561a24(_0x4fc7da['eneMO'],_0x3079c9);return await _0x14342d[_0x46c22f(0x7d)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0x331b54=a64_0x4a6d;(function(_0x23ab8b,_0x202ea2){const _0x1c81e3=a64_0x4a6d,_0x3bed00=_0x23ab8b();while(!![]){try{const _0x5a36f4=parseInt(_0x1c81e3(0x8a))/0x1+parseInt(_0x1c81e3(0x8d))/0x2+parseInt(_0x1c81e3(0x89))/0x3*(-parseInt(_0x1c81e3(0x8b))/0x4)+-parseInt(_0x1c81e3(0x93))/0x5+parseInt(_0x1c81e3(0x91))/0x6*(-parseInt(_0x1c81e3(0x8f))/0x7)+parseInt(_0x1c81e3(0x8c))/0x8+-parseInt(_0x1c81e3(0x88))/0x9;if(_0x5a36f4===_0x202ea2)break;else _0x3bed00['push'](_0x3bed00['shift']());}catch(_0x8753d8){_0x3bed00['push'](_0x3bed00['shift']());}}}(a64_0xbadf,0x2fda0));const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');function a64_0xbadf(){const _0x2484e7=['339087QzSERL','225020WFxbUf','2051744JbZsgd','467312lkiLTy','worker','20937DSREEw','vanillaWorker','768twglJU','installAll','700670UFOJDf','cucumberWorker','YsWlS','oBwqy','AdXod','485766vRVGDJ','3GMWfel'];a64_0xbadf=function(){return _0x2484e7;};return a64_0xbadf();}try{require('../../helpers/driverInitErrorReporter')[a64_0x331b54(0x92)]();}catch(a64_0x572af6){}function a64_0x4a6d(_0x205907,_0x24fca5){const _0xbadf87=a64_0xbadf();return a64_0x4a6d=function(_0x4a6d15,_0x5675de){_0x4a6d15=_0x4a6d15-0x84;let _0x261395=_0xbadf87[_0x4a6d15];return _0x261395;},a64_0x4a6d(_0x205907,_0x24fca5);}exports[a64_0x331b54(0x8e)]=async(_0x2a7183,_0x3da7e0)=>{const _0x4afdcc=a64_0x331b54,_0x1e124={'YsWlS':function(_0x490b95,_0x2c8180,_0x513e56){return _0x490b95(_0x2c8180,_0x513e56);}};return await _0x1e124[_0x4afdcc(0x85)](runTest,_0x2a7183,_0x3da7e0);},exports[a64_0x331b54(0x84)]=async(_0x24cd6c,_0x5a1525,_0x53c466,_0x4280b3,_0x1dea94)=>{const _0x5ca8ad=a64_0x331b54,_0x5f2e56={'oBwqy':function(_0x59e2a5,_0x13961b,_0x134d3f,_0x293c3b,_0x3c898d,_0x255464){return _0x59e2a5(_0x13961b,_0x134d3f,_0x293c3b,_0x3c898d,_0x255464);}};return await _0x5f2e56[_0x5ca8ad(0x86)](runCucumberTest,_0x24cd6c,_0x5a1525,_0x53c466,_0x4280b3,_0x1dea94);},exports[a64_0x331b54(0x90)]=async _0x331436=>{const _0x1dfb72=a64_0x331b54,_0x1f2c13={'AdXod':function(_0x293f4e,_0x3a48eb){return _0x293f4e(_0x3a48eb);}};return await _0x1f2c13[_0x1dfb72(0x87)](runVanillaTest,_0x331436);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a65_0x5b2e0d=a65_0x1709;(function(_0x135bf6,_0x4a3974){const _0x181a2a=a65_0x1709,_0x4bc1a4=_0x135bf6();while(!![]){try{const _0x5e4732=parseInt(_0x181a2a(0x131))/0x1+parseInt(_0x181a2a(0x14b))/0x2*(parseInt(_0x181a2a(0x130))/0x3)+parseInt(_0x181a2a(0x133))/0x4*(parseInt(_0x181a2a(0x13e))/0x5)+-parseInt(_0x181a2a(0x14f))/0x6*(-parseInt(_0x181a2a(0x154))/0x7)+parseInt(_0x181a2a(0x15a))/0x8*(-parseInt(_0x181a2a(0x13c))/0x9)+-parseInt(_0x181a2a(0x156))/0xa+-parseInt(_0x181a2a(0x15c))/0xb;if(_0x5e4732===_0x4a3974)break;else _0x4bc1a4['push'](_0x4bc1a4['shift']());}catch(_0x655cca){_0x4bc1a4['push'](_0x4bc1a4['shift']());}}}(a65_0x3870,0x3255d));function a65_0x3870(){const _0x4d0397=['debug','dPaSy','108XfakGQ','tEfnv','vhtJW','ORYYM','12plewNv','[a11y-runner]\x20','find','[a11y-runner]\x20no\x20\x27','[a11y-runner]\x20%s\x20failed:\x20%O','1154531cmngOK','../../helpers/logger','3043730QspDMw','getScriptByName','uiigO','lPERU','712MMFVzJ','testhub_build_uuid','4086511WKBXlj','][\x20SDK-AUTOMATION\x20]\x20','bsdCg','uvqEu','ViVBy','BJzhq','command','body','getAccessibilityModule','function','BROWSERSTACK_TESTHUB_JWT','toISOString','executeAsyncScript','IbREe','../utils/constants','8022iZSFoD','388945gxPeNF','silly','1044748SqZjvk','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','../v2/browserstackCLI','format','fQYFR','LXwVc','\x20result:\x20','HpjwM','cEwPd','24507MAhuPW','getCapabilityValue','5uNFRdt','getInstance','util','includes','winstonLogger','scan','isRunning','stringify','imJut','\x27\x20script\x20available','runScan'];a65_0x3870=function(){return _0x4d0397;};return a65_0x3870();}const util=require(a65_0x5b2e0d(0x140)),logger=require(a65_0x5b2e0d(0x155))[a65_0x5b2e0d(0x142)],{automationLogger}=require('../../helpers/logger'),{AUTOMATION_LOG_COMMANDS}=require(a65_0x5b2e0d(0x12f));function a65_0x1709(_0x45b90a,_0x3fc9c2){const _0x38702b=a65_0x3870();return a65_0x1709=function(_0x17096b,_0x2ad45c){_0x17096b=_0x17096b-0x122;let _0x404fd0=_0x38702b[_0x17096b];return _0x404fd0;},a65_0x1709(_0x45b90a,_0x3fc9c2);}async function _run(_0x1e906f,_0x3f0ccf,_0x14b602,_0x288828){const _0x11a27b=a65_0x5b2e0d,_0x16f4bb={'ViVBy':function(_0x8d86db,_0x1d19b2){return _0x8d86db(_0x1d19b2);},'Beswj':'../v2/browserstackCLI','bsdCg':function(_0x10d7f1,_0x33d362){return _0x10d7f1!==_0x33d362;},'EsGYC':_0x11a27b(0x12a),'NjwPk':function(_0x3a62fd,_0x3d1c1e){return _0x3a62fd||_0x3d1c1e;},'uvqEu':function(_0x173389,_0x4bbe15){return _0x173389||_0x4bbe15;},'cEwPd':_0x11a27b(0x134),'BJzhq':_0x11a27b(0x153)};try{const _0x287a5b=_0x16f4bb[_0x11a27b(0x125)](require,_0x16f4bb['Beswj']),_0x29c365=_0x287a5b[_0x11a27b(0x13f)]();if(!_0x29c365||!_0x29c365[_0x11a27b(0x144)]())return null;const _0xef7eb=_0x29c365[_0x11a27b(0x129)]&&_0x29c365[_0x11a27b(0x129)]();if(!_0xef7eb)return null;if(_0x16f4bb[_0x11a27b(0x123)](typeof _0xef7eb[_0x11a27b(0x157)],_0x16f4bb['EsGYC']))return null;const _0x24b7fc=_0xef7eb['getScriptByName'](_0x1e906f);if(!_0x24b7fc||!_0x24b7fc[_0x11a27b(0x127)])return logger[_0x11a27b(0x149)](_0x11a27b(0x152)+_0x1e906f+_0x11a27b(0x147)),null;const _0xab9fed=await _0x3f0ccf[_0x11a27b(0x12d)](_0x24b7fc[_0x11a27b(0x127)],_0x16f4bb['NjwPk'](_0x288828,{}));logger['debug'](_0x11a27b(0x150)+_0x1e906f+_0x11a27b(0x139)+JSON[_0x11a27b(0x145)](_0xab9fed));try{const _0x181673=AUTOMATION_LOG_COMMANDS[_0x11a27b(0x151)](_0x2153ea=>_0x24b7fc['command'][_0x11a27b(0x141)](_0x2153ea));if(_0x181673){const _0x360634={};_0x360634[_0x11a27b(0x128)]=_0xab9fed,automationLogger[_0x11a27b(0x132)]('['+new Date()[_0x11a27b(0x12c)]()+_0x11a27b(0x122)+JSON['stringify']({'request':{'command':_0x181673,'parameters':[_0x16f4bb[_0x11a27b(0x124)](_0x288828,{})]},'response':_0x360634}));}}catch(_0x16c97a){logger[_0x11a27b(0x149)](util[_0x11a27b(0x136)](_0x16f4bb[_0x11a27b(0x13b)],_0x1e906f,_0x16c97a));}return _0xab9fed;}catch(_0x52292a){return logger[_0x11a27b(0x149)](util['format'](_0x16f4bb[_0x11a27b(0x126)],_0x1e906f,_0x52292a)),null;}}function _argsFor(_0x57f5f6,_0x22b762,_0x3dc3d3,_0x1810c6){const _0x2c093e=a65_0x5b2e0d,_0x38a97f={'AANjb':function(_0x627f7e,_0x432d94){return _0x627f7e(_0x432d94);},'LXwVc':_0x2c093e(0x135),'lPERU':function(_0x2a56f0,_0x3a571f){return _0x2a56f0===_0x3a571f;},'tEfnv':_0x2c093e(0x12a),'ORYYM':_0x2c093e(0x15b),'dPaSy':function(_0x350fb7,_0x4b809f){return _0x350fb7||_0x4b809f;},'fQYFR':function(_0x2721f0,_0x5cc0f6){return _0x2721f0||_0x5cc0f6;}},_0x212917=_0x38a97f['AANjb'](require,_0x38a97f[_0x2c093e(0x138)]),_0x378742=_0x212917[_0x2c093e(0x13f)](),_0x4c8e9c=_0x378742&&_0x378742[_0x2c093e(0x129)]&&_0x378742[_0x2c093e(0x129)]();let _0x5d476c='';const _0x54333f=process['env'][_0x2c093e(0x12b)]||'';try{_0x4c8e9c&&_0x38a97f[_0x2c093e(0x159)](typeof _0x4c8e9c[_0x2c093e(0x13d)],_0x38a97f[_0x2c093e(0x14c)])&&(_0x5d476c=_0x4c8e9c['getCapabilityValue'](_0x38a97f[_0x2c093e(0x14e)])||'');}catch(_0x234b41){}return{'thTestRunUuid':_0x38a97f[_0x2c093e(0x14a)](_0x22b762,''),'thBuildUuid':_0x5d476c,'thJwtToken':_0x54333f,'is_mobile_session':!!_0x1810c6,'commandName':_0x38a97f[_0x2c093e(0x137)](_0x3dc3d3,_0x57f5f6)};}exports[a65_0x5b2e0d(0x148)]=async(_0x42a03f,_0x474242,_0x5fba50,_0x1605d3)=>{const _0x55cf75=a65_0x5b2e0d,_0x5a05ed={'HpjwM':function(_0x1ed00d,_0xf7cd95,_0x592732,_0x278128,_0x23a0b9){return _0x1ed00d(_0xf7cd95,_0x592732,_0x278128,_0x23a0b9);},'vhtJW':_0x55cf75(0x143),'imJut':function(_0x3915e4,_0x30b3bf,_0x56060e,_0x2fe7ef,_0x5bf2e3){return _0x3915e4(_0x30b3bf,_0x56060e,_0x2fe7ef,_0x5bf2e3);}},_0x24ce68=_0x5a05ed[_0x55cf75(0x13a)](_argsFor,_0x5a05ed[_0x55cf75(0x14d)],_0x474242,_0x5fba50,_0x1605d3);return _0x5a05ed[_0x55cf75(0x146)](_run,_0x5a05ed[_0x55cf75(0x14d)],_0x42a03f,_0x474242,_0x24ce68);},exports['runSaveResults']=async(_0x490d13,_0x38169f,_0x4e357a)=>{const _0x5c65a1=a65_0x5b2e0d,_0x3afe5b={'IbREe':function(_0xf4b9a,_0x4960f4,_0x534548,_0x2efa56,_0x390087){return _0xf4b9a(_0x4960f4,_0x534548,_0x2efa56,_0x390087);},'uiigO':'saveResults'},_0x579715=_0x3afe5b[_0x5c65a1(0x12e)](_argsFor,_0x3afe5b[_0x5c65a1(0x158)],_0x38169f,_0x3afe5b['uiigO'],_0x4e357a);return _0x3afe5b[_0x5c65a1(0x12e)](_run,_0x3afe5b[_0x5c65a1(0x158)],_0x490d13,_0x38169f,_0x579715);};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a66_0x2ccd3c=a66_0x2c8d;(function(_0x1fdc2e,_0x219ad9){const _0x228215=a66_0x2c8d,_0x330af6=_0x1fdc2e();while(!![]){try{const _0x21392d=parseInt(_0x228215(0x191))/0x1+parseInt(_0x228215(0xfb))/0x2+-parseInt(_0x228215(0x117))/0x3*(parseInt(_0x228215(0x1a2))/0x4)+-parseInt(_0x228215(0x1be))/0x5+parseInt(_0x228215(0x14d))/0x6*(-parseInt(_0x228215(0x1ca))/0x7)+parseInt(_0x228215(0xfc))/0x8*(parseInt(_0x228215(0xcf))/0x9)+parseInt(_0x228215(0x14a))/0xa;if(_0x21392d===_0x219ad9)break;else _0x330af6['push'](_0x330af6['shift']());}catch(_0x47db7f){_0x330af6['push'](_0x330af6['shift']());}}}(a66_0x464c,0x43293));const path=require(a66_0x2ccd3c(0x162)),logger=require(a66_0x2ccd3c(0x17f))[a66_0x2ccd3c(0x1d7)],helper=require(a66_0x2ccd3c(0x14c)),utilities=require(a66_0x2ccd3c(0x1b9)),CLIUtils=require(a66_0x2ccd3c(0x1c5)),BrowserstackCLI=require(a66_0x2ccd3c(0x16d)),GrpcClient=require(a66_0x2ccd3c(0x152)),{printBuildLink}=require(a66_0x2ccd3c(0x19d)),registry=require('./session-registry'),detectPeerDeps=()=>{const _0x55b5c4=a66_0x2ccd3c,_0x532348={};_0x532348[_0x55b5c4(0x169)]=_0x55b5c4(0x19f),_0x532348[_0x55b5c4(0x132)]=_0x55b5c4(0x14b);const _0xc2955a=_0x532348;try{require[_0x55b5c4(0x1d9)](_0xc2955a[_0x55b5c4(0x169)],{'paths':[process[_0x55b5c4(0xed)]()]});}catch(_0x4e8c54){throw new Error(_0xc2955a[_0x55b5c4(0x132)]);}},loadTestCafeFactory=()=>{const _0x36157c=a66_0x2ccd3c,_0xce512d={'dWQsj':_0x36157c(0x19f),'hKKJi':function(_0x5b7f31,_0x590333){return _0x5b7f31(_0x590333);}},_0x12e747=require[_0x36157c(0x1d9)](_0xce512d[_0x36157c(0x1db)],{'paths':[process[_0x36157c(0xed)]()]});return _0xce512d[_0x36157c(0x1aa)](require,_0x12e747);},w3cDriver=require('./w3c-driver'),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a66_0x2ccd3c(0xd2),a66_0x2ccd3c(0x137),a66_0x2ccd3c(0x18a),a66_0x2ccd3c(0x187),'ie',a66_0x2ccd3c(0xee),a66_0x2ccd3c(0x1c6),'firefox:headless',a66_0x2ccd3c(0x10b)]),looksLikeBrowserArg=_0x4d7231=>{const _0x23908d=a66_0x2ccd3c,_0x28324b={};_0x28324b[_0x23908d(0x1e0)]=_0x23908d(0x13e),_0x28324b[_0x23908d(0x10f)]=_0x23908d(0x1df),_0x28324b[_0x23908d(0x10a)]=_0x23908d(0x150),_0x28324b[_0x23908d(0x148)]=function(_0x161088,_0x51186c){return _0x161088!==_0x51186c;},_0x28324b[_0x23908d(0x143)]=_0x23908d(0xf3);const _0x1cd465=_0x28324b,_0x104b2c=_0x1cd465['zEgmH']['split']('|');let _0x298b49=0x0;while(!![]){switch(_0x104b2c[_0x298b49++]){case'0':if(_0x4d7231['startsWith'](_0x1cd465[_0x23908d(0x10f)])||_0x4d7231[_0x23908d(0x179)](_0x1cd465[_0x23908d(0x10a)]))return!![];continue;case'1':if(KNOWN_LOCAL_BROWSERS[_0x23908d(0xe6)](_0x4d7231['toLowerCase']()))return!![];continue;case'2':if(_0x4d7231['includes'](':')&&!_0x4d7231[_0x23908d(0x174)]('/'))return!![];continue;case'3':return![];case'4':if(_0x1cd465[_0x23908d(0x148)](typeof _0x4d7231,_0x1cd465['nZIpc']))return![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x1e04cb=>{const _0x469e49=a66_0x2ccd3c,_0x3fc30d={'rJqGT':function(_0x51adfe,_0x4c593f){return _0x51adfe<_0x4c593f;},'SlPMb':function(_0x310e77,_0x1f660f){return _0x310e77===_0x1f660f;},'HLVYs':function(_0x2364dc,_0x3f322c){return _0x2364dc===_0x3f322c;},'gdXif':_0x469e49(0x18d),'MWyrq':'--browsers=','cvAka':'-b=','NcbkE':function(_0x20c5b8,_0x5abe47,_0x5916a6){return _0x20c5b8(_0x5abe47,_0x5916a6);},'LDCUF':function(_0x10d510,_0x1205a1){return _0x10d510+_0x1205a1;},'XXCqp':function(_0x2661a0,_0x573108,_0x52d534){return _0x2661a0(_0x573108,_0x52d534);},'DYcVH':function(_0x30d9af,_0x262311){return _0x30d9af(_0x262311);}},_0x2fd4a8=[];let _0xe1698;for(let _0x2fc137=0x0;_0x3fc30d['rJqGT'](_0x2fc137,_0x1e04cb[_0x469e49(0x15a)]);_0x2fc137++){const _0x590fb2=_0x1e04cb[_0x2fc137];if(_0x3fc30d[_0x469e49(0x1d1)](_0x590fb2,'-b')||_0x3fc30d[_0x469e49(0xf7)](_0x590fb2,_0x3fc30d['gdXif'])){_0x2fc137++;continue;}if(_0x590fb2[_0x469e49(0x179)](_0x3fc30d[_0x469e49(0x128)])||_0x590fb2[_0x469e49(0x179)](_0x3fc30d[_0x469e49(0x189)]))continue;const _0xca8a4a=_0x590fb2[_0x469e49(0x1b4)](_CONCURRENCY_PATTERN);if(_0xca8a4a){if(_0xca8a4a[0x1]){_0xe1698=_0x3fc30d[_0x469e49(0x100)](parseInt,_0xca8a4a[0x1],0xa);continue;}if(_0x1e04cb[_0x3fc30d[_0x469e49(0x192)](_0x2fc137,0x1)]&&/^\d+$/[_0x469e49(0x15f)](_0x1e04cb[_0x3fc30d['LDCUF'](_0x2fc137,0x1)])){_0xe1698=_0x3fc30d[_0x469e49(0x15d)](parseInt,_0x1e04cb[_0x3fc30d[_0x469e49(0x192)](_0x2fc137,0x1)],0xa),_0x2fc137++;continue;}continue;}const _0x299417=_0x590fb2['match'](/^-c(\d+)$/);if(_0x299417){_0xe1698=_0x3fc30d['NcbkE'](parseInt,_0x299417[0x1],0xa);continue;}if(_0x3fc30d[_0x469e49(0x183)](looksLikeBrowserArg,_0x590fb2))continue;_0x2fd4a8[_0x469e49(0x130)](_0x590fb2);}const _0xdf3efb={};return _0xdf3efb['testSources']=_0x2fd4a8,_0xdf3efb[_0x469e49(0x13b)]=_0xe1698,_0xdf3efb;},parseCapabilities=_0x1ce73f=>{const _0x21d527=a66_0x2ccd3c,_0x5a806b={};_0x5a806b['QbJyA']=_0x21d527(0x1d2),_0x5a806b[_0x21d527(0x118)]='utf8';const _0x4bd6e4=_0x5a806b,_0x276c30=_0x1ce73f[_0x21d527(0xda)]&&_0x1ce73f[_0x21d527(0xda)]()||_0x1ce73f[_0x21d527(0xd1)];if(!_0x276c30)throw new Error(_0x4bd6e4['QbJyA']);const _0x563c75=Buffer[_0x21d527(0xd3)](_0x276c30)?_0x276c30:Buffer[_0x21d527(0x1d3)](_0x276c30),_0x90a7bf=JSON['parse'](_0x563c75[_0x21d527(0x18b)](_0x4bd6e4[_0x21d527(0x118)])[_0x21d527(0x164)]());if(_0x90a7bf['desiredCapabilities'])return _0x90a7bf['desiredCapabilities'];if(_0x90a7bf[_0x21d527(0xd1)]&&_0x90a7bf['capabilities'][_0x21d527(0x1c3)])return _0x90a7bf['capabilities'][_0x21d527(0x1c3)];return _0x90a7bf;};async function provisionSession(_0x4d1294,_0x107a71){const _0x1fb5a4=a66_0x2ccd3c,_0x45a39d={'UPpgW':'testcafe','Srlqg':function(_0x2f16e2,_0x35b96b){return _0x2f16e2(_0x35b96b);}};logger[_0x1fb5a4(0x16a)](_0x1fb5a4(0x17d)+_0x107a71+']');const _0x5df5be=await _0x4d1294[_0x1fb5a4(0xf4)](),_0xb294f2=await GrpcClient[_0x1fb5a4(0xe7)]()[_0x1fb5a4(0x182)]({'platformIndex':_0x107a71,'ref':_0x45a39d[_0x1fb5a4(0x153)],'userInputParams':Buffer[_0x1fb5a4(0x1d3)](JSON[_0x1fb5a4(0x135)]({})),'hubUrl':''}),_0x4d6f59=_0x45a39d[_0x1fb5a4(0x195)](parseCapabilities,_0xb294f2),_0x25689a=(_0xb294f2['getHubUrl']&&_0xb294f2['getHubUrl']()||_0xb294f2[_0x1fb5a4(0xea)]||'')['trim']()||BrowserstackCLI[_0x1fb5a4(0xe7)]()?.[_0x1fb5a4(0xe2)]()?.[_0x1fb5a4(0xea)]||process[_0x1fb5a4(0x141)][_0x1fb5a4(0x1ac)];if(!_0x25689a)throw new Error(_0x1fb5a4(0x149)+_0x107a71+_0x1fb5a4(0x165));logger[_0x1fb5a4(0x16a)](_0x1fb5a4(0x16c)+_0x107a71+_0x1fb5a4(0x167)+_0x25689a);const _0x423b64={};_0x423b64['hubUrl']=_0x25689a,_0x423b64[_0x1fb5a4(0xd1)]=_0x4d6f59;const {driver:_0x32daa0,sessionId:_0x4bcf0e}=await w3cDriver['openSession'](_0x423b64);await _0x32daa0[_0x1fb5a4(0x11a)](_0x5df5be['url']);const _0x16fd91={};_0x16fd91['platformIndex']=_0x107a71,_0x16fd91['driver']=_0x32daa0,_0x16fd91[_0x1fb5a4(0xd8)]=_0x4bcf0e,_0x16fd91['connection']=_0x5df5be,_0x16fd91['capabilities']=_0x4d6f59,_0x16fd91['hubUrl']=_0x25689a,registry[_0x1fb5a4(0x1bb)](_0x16fd91),logger[_0x1fb5a4(0x16a)](_0x1fb5a4(0x16c)+_0x107a71+_0x1fb5a4(0x171)+_0x4bcf0e+_0x1fb5a4(0x198)+_0x5df5be[_0x1fb5a4(0xdf)]);const _0x17371e={};return _0x17371e['connection']=_0x5df5be,_0x17371e[_0x1fb5a4(0xd8)]=_0x4bcf0e,_0x17371e[_0x1fb5a4(0x176)]=_0x32daa0,_0x17371e['platformIndex']=_0x107a71,_0x17371e[_0x1fb5a4(0xd1)]=_0x4d6f59,_0x17371e[_0x1fb5a4(0xea)]=_0x25689a,_0x17371e;}async function run(_0x4c137d,_0x55ebf3,_0x17de9b){const _0x46aebc=a66_0x2ccd3c,_0x327fbf={'CrwBs':function(_0x40ed43,_0x4c7f0d){return _0x40ed43(_0x4c7f0d);},'Lijiu':function(_0x41383f,_0x5f2418,_0x84d21f){return _0x41383f(_0x5f2418,_0x84d21f);},'qXszF':function(_0x4574ed,_0x43e1d8){return _0x4574ed===_0x43e1d8;},'UElWf':_0x46aebc(0x15b),'ntzWO':function(_0x91b990,_0x7a1771){return _0x91b990/_0x7a1771;},'Dymld':_0x46aebc(0x101),'ddFQS':_0x46aebc(0xf3),'hZkbe':function(_0xda4a30,_0x2b1c35){return _0xda4a30===_0x2b1c35;},'scKUS':'util','ymCWc':function(_0x88b5eb){return _0x88b5eb();},'KYzMG':_0x46aebc(0x13d),'ZzSOb':function(_0x1b747c,_0x2d2d37){return _0x1b747c===_0x2d2d37;},'hTLly':function(_0xca296f,_0x137ed1){return _0xca296f===_0x137ed1;},'Viahj':'false','SgGtg':function(_0xb0ac4e,_0x5905b5){return _0xb0ac4e===_0x5905b5;},'yqDZc':function(_0x36637f,_0x2d955b){return _0x36637f(_0x2d955b);},'xWiqb':function(_0x17f12b,_0xd6b29f){return _0x17f12b===_0xd6b29f;},'tROlg':function(_0x4f9ad4,_0x14b16e){return _0x4f9ad4&&_0x14b16e;},'WleRi':function(_0x494b84,_0x17ea13){return _0x494b84!==_0x17ea13;},'roIOo':'testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','CrwIf':_0x46aebc(0x19f),'MKUTk':_0x46aebc(0x14e),'WWoXu':function(_0x3304f2,_0x157dd5){return _0x3304f2+_0x157dd5;},'WTLNc':function(_0x51c8e9,_0x35cd1f){return _0x51c8e9+_0x35cd1f;},'LKbKd':'Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','UCwzB':_0x46aebc(0x110),'KIWAx':function(_0x5a612c,_0x23a986){return _0x5a612c||_0x23a986;},'oskal':function(_0x3d271,_0x4bc972){return _0x3d271===_0x4bc972;},'aLZyY':function(_0x4b7b3a,_0x5ac7a3){return _0x4b7b3a>_0x5ac7a3;},'jtSrB':function(_0x49856b,_0x12c370){return _0x49856b===_0x12c370;},'EXnNF':_0x46aebc(0xf1),'kKdsA':function(_0x1bd608,_0x8d53c){return _0x1bd608===_0x8d53c;},'gRHzn':_0x46aebc(0x178),'mxpLc':function(_0x53b224,_0x472a58){return _0x53b224+_0x472a58;},'wxkwV':function(_0x351373,_0x535549){return _0x351373(_0x535549);},'AfiQq':_0x46aebc(0xe9),'bEnwk':function(_0x5f5778,_0x3a954e){return _0x5f5778||_0x3a954e;},'HDJqq':_0x46aebc(0x17a),'hRGoY':'bs-local.com','xSBbI':_0x46aebc(0x1d5),'oBSrV':_0x46aebc(0x113),'pSKLj':_0x46aebc(0x1d4),'pBHMI':_0x46aebc(0x123),'AwKwv':_0x46aebc(0x10e),'NYLJK':function(_0x2c9717,_0x47029a){return _0x2c9717(_0x47029a);},'UdWHF':_0x46aebc(0x15c),'KXBie':_0x46aebc(0xfa),'cHUVw':function(_0x36a9c1,_0x4ea9a){return _0x36a9c1===_0x4ea9a;},'nOwoh':function(_0x2ec8cc,_0x5a5ee0){return _0x2ec8cc(_0x5a5ee0);},'WbbFQ':'testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','NtIos':function(_0x2f131c,_0x1f3d63){return _0x2f131c<_0x1f3d63;},'NFzkT':function(_0x3ea31c,_0x5d2fc8){return _0x3ea31c===_0x5d2fc8;},'jKKBc':function(_0x12ea2c,_0x10e309){return _0x12ea2c===_0x10e309;},'XsCAr':_0x46aebc(0x18d),'PKZaY':function(_0x2b6a70,_0xa5957d){return _0x2b6a70+_0xa5957d;},'muYpR':function(_0x5da4d9,_0x20dc2a){return _0x5da4d9+_0x20dc2a;},'ejXWj':_0x46aebc(0x1c8),'HGKXk':_0x46aebc(0x1af),'pEcKX':_0x46aebc(0x1a4),'Gfxrn':_0x46aebc(0x1b5),'GlUpZ':_0x46aebc(0x159),'NtFXF':function(_0x4faeac,_0x244fc4){return _0x4faeac===_0x244fc4;},'casVL':'number','alIKx':function(_0xaee48b,_0x534278){return _0xaee48b+_0x534278;},'IcpZU':function(_0x4a6294,_0x1502e3){return _0x4a6294===_0x1502e3;},'sWnJE':function(_0x20a13c,_0x11799a){return _0x20a13c*_0x11799a;},'MiHHJ':function(_0x2c6a09,_0x58e56d){return _0x2c6a09===_0x58e56d;},'PECho':_0x46aebc(0x199),'lSydr':_0x46aebc(0x111),'XyeNk':function(_0x4dea33,_0x334539){return _0x4dea33===_0x334539;},'tlfjH':function(_0x56f72f){return _0x56f72f();}};_0x327fbf[_0x46aebc(0x1bc)](detectPeerDeps);if(!_0x17de9b[_0x46aebc(0xe8)]){logger[_0x46aebc(0x16b)](_0x327fbf['KYzMG']);return;}const _0x413814=_0x17de9b[_0x46aebc(0xe8)],_0x11bca7=_0x327fbf[_0x46aebc(0x1cc)](_0x413814[_0x46aebc(0x17b)],![])||_0x327fbf['hTLly'](_0x413814['browserstackAutomation'],_0x327fbf[_0x46aebc(0x18f)])||_0x327fbf[_0x46aebc(0xe5)](_0x327fbf[_0x46aebc(0xf6)](String,_0x413814[_0x46aebc(0x17b)]||'')[_0x46aebc(0x16e)](),_0x327fbf[_0x46aebc(0x18f)]),_0x4f0d06=_0x327fbf['hTLly'](_0x413814[_0x46aebc(0x125)],![])||_0x327fbf['hTLly'](_0x413814[_0x46aebc(0x125)],_0x327fbf['Viahj'])||_0x327fbf['xWiqb'](_0x327fbf[_0x46aebc(0xf6)](String,_0x327fbf['ZzSOb'](_0x413814[_0x46aebc(0x125)],undefined)?'':_0x413814['browserstackLocal'])[_0x46aebc(0x16e)](),_0x327fbf['Viahj']);_0x327fbf[_0x46aebc(0x157)](!_0x11bca7,!_0x4f0d06)&&_0x327fbf[_0x46aebc(0x1c2)](_0x413814['browserstackLocal'],!![])&&(logger[_0x46aebc(0x16a)](_0x327fbf['roIOo']),_0x413814[_0x46aebc(0x125)]=!![]);await _0x17de9b['initialize'](_0x4c137d),CLIUtils[_0x46aebc(0x11d)](_0x327fbf[_0x46aebc(0x1ad)],_0x327fbf['CrwIf']),BrowserstackCLI[_0x46aebc(0xe7)]()[_0x46aebc(0xf0)](_0x17de9b['config'],_0x17de9b[_0x46aebc(0x1b3)],_0x17de9b['cliConfig']);try{await BrowserstackCLI['getInstance']()[_0x46aebc(0x103)]();if(!BrowserstackCLI['getInstance']()[_0x46aebc(0x1cf)]())throw new Error(_0x327fbf[_0x46aebc(0x12c)]);}catch(_0x5d790d){process[_0x46aebc(0x197)][_0x46aebc(0x155)](_0x327fbf[_0x46aebc(0x1e1)](_0x327fbf[_0x46aebc(0x194)](_0x46aebc(0x15e)+_0x5d790d[_0x46aebc(0x18e)]+'\x0a',_0x327fbf[_0x46aebc(0x120)]),_0x327fbf['UCwzB'])),logger['error'](_0x46aebc(0x196)+(_0x5d790d[_0x46aebc(0x19c)]||_0x5d790d)),process[_0x46aebc(0x142)]=0x1;return;}const _0x314398=BrowserstackCLI['getInstance']()[_0x46aebc(0xe2)](),_0x479371=_0x17de9b[_0x46aebc(0xe8)]||{};let _0x335f8d=_0x327fbf[_0x46aebc(0x13a)](_0x314398,_0x479371)||{},_0x583fff=Array['isArray'](_0x335f8d['platforms'])?_0x335f8d['platforms']:[];_0x327fbf[_0x46aebc(0x107)](_0x583fff[_0x46aebc(0x15a)],0x0)&&Array[_0x46aebc(0x1de)](_0x479371[_0x46aebc(0x193)])&&_0x327fbf[_0x46aebc(0x127)](_0x479371['platforms']['length'],0x0)&&(logger['warn'](_0x46aebc(0x102)+_0x479371[_0x46aebc(0x193)][_0x46aebc(0x15a)]+')'),_0x335f8d=_0x479371,_0x583fff=_0x479371[_0x46aebc(0x193)]);if(_0x327fbf[_0x46aebc(0xf2)](_0x583fff[_0x46aebc(0x15a)],0x0)){process[_0x46aebc(0x197)][_0x46aebc(0x155)](_0x327fbf[_0x46aebc(0x14f)]),process['exitCode']=0x1;return;}if(_0x327fbf[_0x46aebc(0x106)](_0x335f8d[_0x46aebc(0x1a6)],!![])||_0x335f8d['percy']&&_0x335f8d[_0x46aebc(0x1a6)][_0x46aebc(0x114)]){const _0x2825c2=_0x327fbf[_0x46aebc(0x158)];process[_0x46aebc(0x197)][_0x46aebc(0x155)](_0x327fbf[_0x46aebc(0x188)](_0x2825c2,'\x0a')),logger['warn'](_0x2825c2);}const {testSources:_0x597534,concurrency:_0x4157e4}=_0x327fbf[_0x46aebc(0x112)](filterArgs,_0x55ebf3[_0x46aebc(0x136)](0x1));if(_0x327fbf[_0x46aebc(0x1cc)](_0x597534[_0x46aebc(0x15a)],0x0)){process[_0x46aebc(0x197)]['write'](_0x327fbf[_0x46aebc(0x166)]),process['exitCode']=0x1;return;}logger[_0x46aebc(0x16a)]('testcafe/command.js:\x20testSources='+JSON[_0x46aebc(0x135)](_0x597534)+',\x20platforms='+_0x583fff['length']+',\x20concurrency='+_0x327fbf[_0x46aebc(0x115)](_0x4157e4,_0x327fbf[_0x46aebc(0x190)]));let _0x31827e;try{_0x31827e=_0x327fbf['ymCWc'](loadTestCafeFactory);}catch(_0x4573ec){process[_0x46aebc(0x197)]['write'](_0x46aebc(0xff)+_0x4573ec[_0x46aebc(0x18e)]+'\x0a'),process[_0x46aebc(0x142)]=0x1;return;}const _0x52c947=await _0x327fbf[_0x46aebc(0xf6)](_0x31827e,_0x327fbf[_0x46aebc(0x1b8)]);let _0x2ee97d=0x1;const _0x7bbe8=0x7530,_0x185a42=[],_0x5102f1=(_0x3fa521,_0x467ccc)=>{const _0x57b7d0=_0x46aebc,_0x360fce={'bCyFN':function(_0x4ed4bd,_0x282f09){const _0x48c74e=a66_0x2c8d;return _0x327fbf[_0x48c74e(0x108)](_0x4ed4bd,_0x282f09);}},_0x576e8e=_0x327fbf[_0x57b7d0(0x11f)](setInterval,async()=>{const _0x3e6ea0=_0x57b7d0;try{await _0x3fa521[_0x3e6ea0(0x10d)]();}catch(_0x55b68b){logger[_0x3e6ea0(0x1dd)](_0x3e6ea0(0xec)+_0x467ccc+':\x20'+_0x55b68b[_0x3e6ea0(0x18e)]+_0x3e6ea0(0x17c)),_0x360fce['bCyFN'](clearInterval,_0x576e8e);}},_0x7bbe8);_0x327fbf[_0x57b7d0(0x1c4)](typeof _0x576e8e[_0x57b7d0(0xf5)],_0x327fbf[_0x57b7d0(0x119)])&&_0x576e8e[_0x57b7d0(0xf5)](),_0x185a42[_0x57b7d0(0x130)](_0x576e8e);},_0x66aa9f=()=>{const _0x5c680a=_0x46aebc;for(const _0x103cce of _0x185a42){_0x327fbf[_0x5c680a(0x108)](clearInterval,_0x103cce);}_0x185a42[_0x5c680a(0x15a)]=0x0;};_0x2ee97d=0x0;const _0x49841b=_0x327fbf[_0x46aebc(0x112)](require,_0x327fbf[_0x46aebc(0x1a3)]);_0x49841b[_0x46aebc(0x13c)]();try{const _0x206187=BrowserstackCLI[_0x46aebc(0xe7)]()[_0x46aebc(0x10c)]&&BrowserstackCLI[_0x46aebc(0xe7)]()['getAccessibilityModule'](),_0x2ca512=_0x206187&&_0x206187[_0x46aebc(0x163)]&&_0x206187[_0x46aebc(0x163)][_0x46aebc(0xdc)]&&_0x206187[_0x46aebc(0x163)][_0x46aebc(0xdc)][_0x46aebc(0xf9)]&&(_0x206187[_0x46aebc(0x163)][_0x46aebc(0xdc)][_0x46aebc(0xf9)][_0x46aebc(0x146)]||_0x206187[_0x46aebc(0x163)][_0x46aebc(0xdc)][_0x46aebc(0xf9)][_0x46aebc(0xe3)]);if(Array[_0x46aebc(0x1de)](_0x2ca512)&&_0x327fbf[_0x46aebc(0x127)](_0x2ca512[_0x46aebc(0x15a)],0x0)){const _0x2ed82c=_0x327fbf[_0x46aebc(0x112)](require,_0x327fbf[_0x46aebc(0x12f)]),_0x1b8a0f=_0x2ca512[_0x46aebc(0xdd)](_0x19012d=>({'name':_0x19012d['getName']&&_0x19012d[_0x46aebc(0x1d0)]()||_0x19012d['name'],'module':_0x19012d[_0x46aebc(0x175)]&&_0x19012d[_0x46aebc(0x175)]()||_0x19012d[_0x46aebc(0xe1)],'method':_0x19012d[_0x46aebc(0x11e)]&&_0x19012d[_0x46aebc(0x11e)]()||_0x19012d['method']}));_0x2ed82c[_0x46aebc(0x13c)](_0x1b8a0f);}else logger[_0x46aebc(0x1dd)](_0x327fbf[_0x46aebc(0x1cd)]);}catch(_0xdbe859){logger[_0x46aebc(0x1dd)]('testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20'+(_0xdbe859['message']||_0xdbe859));}let _0x24dda0='',_0x4a3bd4=null;try{const _0x1fa157=await GrpcClient[_0x46aebc(0xe7)]()[_0x46aebc(0x12b)]();_0x24dda0=_0x1fa157[_0x46aebc(0x168)]&&_0x1fa157[_0x46aebc(0x168)]()||_0x1fa157[_0x46aebc(0x109)]||'';if(_0x24dda0)try{_0x4a3bd4=new RegExp(_0x24dda0),logger[_0x46aebc(0x16a)]('testcafe/command.js:\x20applied\x20rerun\x20filter\x20'+_0x24dda0);}catch(_0x288182){const _0x76f85e=_0x46aebc(0x16f)+_0x288182[_0x46aebc(0x18e)]+_0x46aebc(0x1a9)+_0x24dda0;process['stderr'][_0x46aebc(0x155)](_0x327fbf['WWoXu'](_0x76f85e,'\x0a')),logger['error'](_0x76f85e),process[_0x46aebc(0x142)]=0x1;return;}}catch(_0x172e40){if(process['env']['BROWSERSTACK_RERUN']){const _0x4f7f17=_0x327fbf[_0x46aebc(0xde)];process[_0x46aebc(0x197)][_0x46aebc(0x155)](_0x4f7f17),logger[_0x46aebc(0x16b)](_0x46aebc(0x17e)+_0x172e40[_0x46aebc(0x18e)]),process[_0x46aebc(0x142)]=0x1;return;}logger[_0x46aebc(0x1dd)](_0x327fbf[_0x46aebc(0x177)],_0x172e40);}const _0x552a22=_0x327fbf[_0x46aebc(0x160)](require,path['resolve'](__dirname,_0x327fbf[_0x46aebc(0x1b6)],_0x327fbf['KXBie'])),_0x4b8170=_0x327fbf[_0x46aebc(0xd0)](_0x335f8d[_0x46aebc(0x17b)],![])||_0x327fbf[_0x46aebc(0xf2)](_0x335f8d[_0x46aebc(0x17b)],_0x327fbf[_0x46aebc(0x18f)])||_0x327fbf[_0x46aebc(0x106)](_0x327fbf[_0x46aebc(0x1b7)](String,_0x335f8d[_0x46aebc(0x17b)]||'')['toLowerCase'](),_0x327fbf[_0x46aebc(0x18f)]);if(_0x4b8170){logger[_0x46aebc(0x16a)](_0x327fbf[_0x46aebc(0xce)]);const _0x969e68=[];for(let _0x283098=0x0;_0x327fbf['NtIos'](_0x283098,_0x55ebf3[_0x46aebc(0x15a)]);_0x283098++){const _0x3f5a0f=_0x55ebf3[_0x283098];if(_0x327fbf[_0x46aebc(0x1c0)](_0x3f5a0f,'-b')||_0x327fbf[_0x46aebc(0x11c)](_0x3f5a0f,_0x327fbf['XsCAr'])){_0x55ebf3[_0x327fbf[_0x46aebc(0x1cb)](_0x283098,0x1)]&&_0x969e68['push'](_0x55ebf3[_0x327fbf['muYpR'](_0x283098,0x1)]);_0x283098++;continue;}if(_0x3f5a0f['startsWith'](_0x327fbf['ejXWj'])){_0x969e68['push'](_0x3f5a0f[_0x46aebc(0x136)](_0x327fbf[_0x46aebc(0x1bd)][_0x46aebc(0x15a)]));continue;}if(_0x3f5a0f[_0x46aebc(0x179)](_0x327fbf[_0x46aebc(0xe0)])){_0x969e68[_0x46aebc(0x130)](_0x3f5a0f['slice'](_0x327fbf[_0x46aebc(0xe0)][_0x46aebc(0x15a)]));continue;}_0x327fbf[_0x46aebc(0x108)](looksLikeBrowserArg,_0x3f5a0f)&&_0x969e68[_0x46aebc(0x130)](_0x3f5a0f);}_0x327fbf[_0x46aebc(0x129)](_0x969e68[_0x46aebc(0x15a)],0x0)&&(_0x969e68[_0x46aebc(0x130)](_0x327fbf[_0x46aebc(0x133)]),logger[_0x46aebc(0x16a)](_0x327fbf[_0x46aebc(0x1dc)]));let _0x1303f5=0x1;try{const _0x558d09=_0x52c947['createRunner']();_0x558d09['src'](_0x597534),_0x558d09[_0x46aebc(0x1bf)](_0x969e68),_0x558d09[_0x46aebc(0x15c)]([_0x327fbf[_0x46aebc(0xf8)],_0x552a22]),_0x327fbf['NtFXF'](typeof _0x4157e4,_0x327fbf['casVL'])&&_0x327fbf[_0x46aebc(0x127)](_0x4157e4,0x0)&&_0x558d09[_0x46aebc(0x13b)](_0x4157e4),_0x4a3bd4&&_0x558d09[_0x46aebc(0xfd)](_0x567ddc=>_0x4a3bd4[_0x46aebc(0x15f)](_0x567ddc)),_0x1303f5=await _0x558d09[_0x46aebc(0xcd)](),logger['info'](_0x46aebc(0x131)+_0x1303f5);}catch(_0x4e1613){logger[_0x46aebc(0x16b)](_0x46aebc(0x1b2)+(_0x4e1613[_0x46aebc(0x19c)]||_0x4e1613)),process[_0x46aebc(0x197)][_0x46aebc(0x155)]('[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20'+_0x4e1613[_0x46aebc(0x18e)]+'\x0a'),_0x1303f5=0x1;}finally{_0x2ee97d=_0x1303f5;try{_0x49841b['uninstall']();}catch(_0x1576e0){}try{await _0x52c947[_0x46aebc(0x1c7)]();}catch(_0x4532cc){logger[_0x46aebc(0x1dd)]('tc.close\x20error:\x20'+_0x4532cc[_0x46aebc(0x18e)]);}try{const _0xc53e86=BrowserstackCLI[_0x46aebc(0xe7)]()['getTestFramework']();_0xc53e86&&_0x327fbf[_0x46aebc(0xf2)](typeof _0xc53e86['finalizeOrphans'],_0x327fbf[_0x46aebc(0x119)])&&await _0xc53e86[_0x46aebc(0x145)]();}catch(_0x2a2996){logger[_0x46aebc(0x1dd)](_0x46aebc(0x104)+_0x2a2996[_0x46aebc(0x18e)]);}const _0x678dd=BrowserstackCLI[_0x46aebc(0x19a)]();await BrowserstackCLI[_0x46aebc(0xe7)]()[_0x46aebc(0x180)]()[_0x46aebc(0xeb)](_0x3675a7=>{const _0xe58052=_0x46aebc;logger[_0xe58052(0x1dd)](_0xe58052(0x185)+_0x3675a7['message']);}),_0x327fbf[_0x46aebc(0x1bc)](printBuildLink),await utilities[_0x46aebc(0xd7)](_0x17de9b,_0x678dd)[_0x46aebc(0xeb)](_0x2f04ba=>{const _0x2702ef=_0x46aebc;logger[_0x2702ef(0x1dd)]('finalExecution\x20error:\x20'+_0x2f04ba[_0x2702ef(0x18e)]);}),process['exitCode']=_0x2ee97d,logger[_0x46aebc(0x16a)](_0x46aebc(0x1ba)+_0x2ee97d);}return;}try{for(let _0xd184ba=0x0;_0x327fbf[_0x46aebc(0x1b1)](_0xd184ba,_0x583fff['length']);_0xd184ba++){logger['info'](_0x46aebc(0x1d6)+_0xd184ba+_0x46aebc(0x12e)+_0x327fbf[_0x46aebc(0xd6)](_0xd184ba,0x1)+'/'+_0x583fff[_0x46aebc(0x15a)]+')');let _0x33a8fa=0x1,_0x45f224=null,_0xae50a1=null;try{_0x45f224=await _0x327fbf['Lijiu'](provisionSession,_0x52c947,_0xd184ba),_0x327fbf[_0x46aebc(0x11f)](_0x5102f1,_0x45f224[_0x46aebc(0x176)],_0x45f224['sessionId']);const _0x4f084e=_0x52c947[_0x46aebc(0x181)]();_0x4f084e['src'](_0x597534),_0x4f084e[_0x46aebc(0x1bf)]([_0x45f224[_0x46aebc(0x1ab)]]),_0x4f084e['reporter']([_0x327fbf[_0x46aebc(0xf8)],_0x552a22]);_0x327fbf['IcpZU'](typeof _0x4157e4,_0x327fbf[_0x46aebc(0x186)])&&_0x327fbf[_0x46aebc(0x127)](_0x4157e4,0x0)&&_0x4f084e[_0x46aebc(0x13b)](_0x4157e4);_0x4a3bd4&&_0x4f084e['filter'](_0x5f13b6=>_0x4a3bd4['test'](_0x5f13b6));const _0x115810=_0x335f8d&&_0x335f8d[_0x46aebc(0x156)]||0x12c,_0x2ac86e=_0x327fbf['sWnJE'](_0x327fbf['WWoXu'](_0x115810,0x3c),0x3e8);_0x33a8fa=await Promise[_0x46aebc(0x124)]([_0x4f084e['run'](),new Promise(_0xf95d7c=>setTimeout(()=>{const _0xd4bf83=_0x46aebc;logger[_0xd4bf83(0x1da)](_0xd4bf83(0xe4)+_0xd184ba+_0xd4bf83(0x147)+_0x327fbf[_0xd4bf83(0x116)](_0x2ac86e,0x3e8)+'s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup'),_0xae50a1=_0xd4bf83(0x134)+_0x327fbf['ntzWO'](_0x2ac86e,0x3e8)+'s\x20timeout\x20(idleTimeout\x20+\x2060s)',_0x327fbf[_0xd4bf83(0x108)](_0xf95d7c,0x1);},_0x2ac86e))]),logger[_0x46aebc(0x16a)](_0x46aebc(0xe4)+_0xd184ba+']\x20finished\x20with\x20exit='+_0x33a8fa),_0x327fbf[_0x46aebc(0x1c2)](_0x33a8fa,0x0)&&!_0xae50a1&&(_0xae50a1='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x33a8fa);}catch(_0x448903){const _0x4d3aed=((()=>{const _0x31b003=_0x46aebc;if(!_0x448903)return _0x327fbf[_0x31b003(0x19b)];if(_0x327fbf['qXszF'](typeof _0x448903,_0x327fbf[_0x31b003(0x1a7)]))return _0x448903;if(_0x327fbf[_0x31b003(0x1c9)](typeof _0x448903['message'],_0x327fbf[_0x31b003(0x1a7)])&&_0x448903[_0x31b003(0x18e)])return _0x448903[_0x31b003(0x18e)];try{return JSON['stringify'](_0x448903[_0x31b003(0x18e)]??_0x448903,null,0x2);}catch(_0x1a33c2){const _0x5e383d={};return _0x5e383d[_0x31b003(0x1d8)]=0x4,_0x327fbf[_0x31b003(0x108)](require,_0x327fbf[_0x31b003(0x122)])[_0x31b003(0x121)](_0x448903[_0x31b003(0x18e)]??_0x448903,_0x5e383d);}})()),_0x41e6e1={};_0x41e6e1[_0x46aebc(0x12a)]=_0x448903&&_0x448903[_0x46aebc(0x12a)],_0x41e6e1['type']=_0x448903&&_0x448903[_0x46aebc(0x144)],_0x41e6e1['data']=_0x448903&&_0x448903[_0x46aebc(0x1a5)],_0x41e6e1[_0x46aebc(0x1a1)]=_0x448903&&_0x448903['name'],_0x41e6e1['constructor']=_0x448903&&_0x448903[_0x46aebc(0x13f)]&&_0x448903[_0x46aebc(0x13f)]['name'];const _0x4c2ff4=_0x41e6e1;logger[_0x46aebc(0x16b)](_0x46aebc(0xe4)+_0xd184ba+_0x46aebc(0xef)+_0x4d3aed+'\x20(meta='+JSON[_0x46aebc(0x135)](_0x4c2ff4)+')\x0a'+(_0x448903&&_0x448903[_0x46aebc(0x19c)]||'')),process[_0x46aebc(0x197)][_0x46aebc(0x155)](_0x46aebc(0x1e2)+_0xd184ba+']:\x20'+_0x4d3aed+'\x0a'),_0x33a8fa=0x1,_0xae50a1=_0x4d3aed;}finally{try{if(_0x45f224&&_0x327fbf['WleRi'](_0x45f224['platformIndex'],undefined)){const _0x131f69=_0x327fbf[_0x46aebc(0x151)](_0x33a8fa,0x0)?_0x327fbf['PECho']:_0x327fbf[_0x46aebc(0x1ce)],_0x3aa55a=_0xae50a1;registry[_0x46aebc(0x19e)](_0x45f224[_0x46aebc(0x105)],_0x131f69,_0x3aa55a);}}catch(_0x119105){logger[_0x46aebc(0x1da)](_0x46aebc(0xdb)+_0xd184ba+_0x46aebc(0x140)+_0x119105[_0x46aebc(0x18e)]);}await registry['quitAll'](),_0x327fbf[_0x46aebc(0x1bc)](_0x66aa9f);}_0x327fbf[_0x46aebc(0x1c2)](_0x33a8fa,0x0)&&_0x327fbf[_0x46aebc(0xd9)](_0x2ee97d,0x0)&&(_0x2ee97d=_0x33a8fa);}}finally{try{_0x49841b[_0x46aebc(0x1b0)]();}catch(_0x4405a0){}try{await _0x52c947['close']();}catch(_0x436413){logger[_0x46aebc(0x1dd)](_0x46aebc(0x126)+_0x436413['message']);}try{const _0x5adb43=BrowserstackCLI['getInstance']()[_0x46aebc(0x172)]();_0x5adb43&&_0x327fbf[_0x46aebc(0xd4)](typeof _0x5adb43[_0x46aebc(0x145)],_0x327fbf[_0x46aebc(0x119)])&&await _0x5adb43[_0x46aebc(0x145)]();}catch(_0x4ffeb2){logger[_0x46aebc(0x1dd)](_0x46aebc(0x104)+_0x4ffeb2[_0x46aebc(0x18e)]);}const _0x1680d9=BrowserstackCLI[_0x46aebc(0x19a)]();await BrowserstackCLI[_0x46aebc(0xe7)]()[_0x46aebc(0x180)]()[_0x46aebc(0xeb)](_0x4db182=>{const _0x61dea0=_0x46aebc;logger[_0x61dea0(0x1dd)](_0x61dea0(0x185)+_0x4db182['message']);}),_0x327fbf['tlfjH'](printBuildLink),await utilities[_0x46aebc(0xd7)](_0x17de9b,_0x1680d9)[_0x46aebc(0xeb)](_0x4d9a46=>{const _0x410a9f=_0x46aebc;logger[_0x410a9f(0x1dd)](_0x410a9f(0x1ae)+_0x4d9a46[_0x410a9f(0x18e)]);}),process[_0x46aebc(0x142)]=_0x2ee97d,logger[_0x46aebc(0x16a)](_0x46aebc(0x1ba)+_0x2ee97d);}}function a66_0x2c8d(_0x315e33,_0x12ddf6){const _0x464cc4=a66_0x464c();return a66_0x2c8d=function(_0x2c8db8,_0x1f1d42){_0x2c8db8=_0x2c8db8-0xcd;let _0x4ef4d4=_0x464cc4[_0x2c8db8];return _0x4ef4d4;},a66_0x2c8d(_0x315e33,_0x12ddf6);}let _isExiting=![];function a66_0x464c(){const _0x1e6e95=['ntzWO','121257dqIcJa','ocLKE','UElWf','navigateTo','kill','jKKBc','setFrameworkDetail','getMethod','Lijiu','LKbKd','inspect','scKUS','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','race','browserstackLocal','tc.close\x20error:\x20','aLZyY','MWyrq','xWiqb','code','testCafeConfig','MKUTk','SIGTERM',']\x20(','oBSrV','push','testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit=','wKchq','pEcKX','runner.run()\x20exceeded\x20','stringify','slice','firefox','SIGINT','FwpwK','KIWAx','concurrency','install','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','4|2|1|0|3','constructor',']:\x20','env','exitCode','nZIpc','type','finalizeOrphans','commandsList',']\x20runner.run()\x20timed\x20out\x20after\x20','YlyYP','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','2216850yTBHwD','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','../../helpers/helper','366ntQcZH','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','EXnNF','firefox:','MiHHJ','../v2/grpcClient','UPpgW','\x20before\x20runner.run()\x20completed','write','idleTimeout','tROlg','gRHzn','spec','length','function','reporter','XXCqp','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','test','NYLJK','pswct','path','accessibilityConfig','trim',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','AfiQq',']\x20hubUrl=','getRerunTestGrep','BjZMH','info','error','[testcafe]\x20platform[','../v2/browserstackCLI','toLowerCase','[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20','removeListener',']\x20BrowserStack\x20session=','getTestFramework','exports','includes','getModule','driver','AwKwv','[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.','startsWith','default','browserstackAutomation','\x20—\x20stopping\x20pings\x20for\x20this\x20session','[testcafe]\x20provisioning\x20session\x20for\x20platform[','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','../../helpers/logger','stop','createRunner','driverInit','DYcVH','LKenz','BrowserstackCLI.stop\x20error:\x20','casVL','edge','mxpLc','cvAka','safari','toString','Aborted\x20by\x20','--browsers','message','Viahj','HDJqq','384009epcfan','LDCUF','platforms','WTLNc','Srlqg','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','stderr','\x20→\x20','passed','isCLIEnabled','Dymld','stack','../../helpers/test-observability/utils','markStatus','testcafe','JBYLN','name','32MYcwMx','xSBbI','chrome','data','percy','ddFQS','NtmEx','.\x20Pattern:\x20','hKKJi','connection','BROWSERSTACK_HUB_URL','CrwIf','finalExecution\x20error:\x20','-b=','uninstall','NtIos','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','configPath','match','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','UdWHF','nOwoh','hRGoY','../../helpers/utilities','testcafe/command.js:\x20exit\x20code=','register','ymCWc','ejXWj','1768370AtDIjA','browsers','NFzkT','pid','WleRi','alwaysMatch','qXszF','../v2/cliUtils','chrome:headless','close','--browsers=','hZkbe','14581GEQMHU','PKZaY','ZzSOb','pSKLj','lSydr','isRunning','getName','SlPMb','DriverInit\x20returned\x20no\x20capabilities','from','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','./stdout-interceptor','testcafe/command.js:\x20starting\x20platform[','winstonLogger','depth','resolve','warn','dWQsj','Gfxrn','debug','isArray','chrome:','zEgmH','WWoXu','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','run','WbbFQ','1214181zDVRLd','cHUVw','capabilities','chromium','isBuffer','XyeNk','ItbxJ','alIKx','finalExecution','sessionId','hTLly','getCapabilities','testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform[','options','map','pBHMI','url','HGKXk','module','getConfig','commands','testcafe/command.js:\x20platform[','SgGtg','has','getInstance','config','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','hubUrl','catch','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','cwd','opera',']\x20run\x20failed\x20—\x20','setBrowserstackConfig','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','jtSrB','string','createBrowserConnection','unref','yqDZc','HLVYs','GlUpZ','commandsToWrap','index.js','407336tVAcmx','16LgijTj','filter','QLWCB','[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20','NcbkE','unknown\x20error\x20(falsy)','testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n=','bootstrap','finalizeOrphans\x20error:\x20','platformIndex','kKdsA','oskal','CrwBs','rerunTestGrep','AdCEA','remote','getAccessibilityModule','getCurrentUrl','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','AahEw','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','failed','wxkwV','./testcafe-action-patcher','projectToken','bEnwk'];a66_0x464c=function(){return _0x1e6e95;};return a66_0x464c();}const propagateSignal=_0x3207c9=>{const _0x1bd39a=a66_0x2ccd3c,_0x429d58={};_0x429d58[_0x1bd39a(0x184)]=_0x1bd39a(0x111),_0x429d58[_0x1bd39a(0xd5)]=_0x1bd39a(0x138),_0x429d58[_0x1bd39a(0x1a8)]=_0x1bd39a(0x12d);const _0x5654e9=_0x429d58;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x178224=_0x1bd39a;try{const _0x395f82=registry['listEntries']();for(const _0x2f886e of _0x395f82){try{registry[_0x178224(0x19e)](_0x2f886e[_0x178224(0x105)],_0x5654e9[_0x178224(0x184)],_0x178224(0x18c)+_0x3207c9+_0x178224(0x154));}catch(_0x10cba5){}}await Promise[_0x178224(0x124)]([registry['quitAll'](),new Promise(_0x15518f=>setTimeout(_0x15518f,0x1388))]);}catch(_0x455bff){}process['removeListener'](_0x5654e9[_0x178224(0xd5)],_sigintHandler),process[_0x178224(0x170)](_0x5654e9[_0x178224(0x1a8)],_sigtermHandler),process[_0x178224(0x11b)](process[_0x178224(0x1c1)],_0x3207c9);})());};function _sigintHandler(){const _0x1a2014=a66_0x2ccd3c,_0x18651f={'JBYLN':function(_0x2ef184,_0x1ee9eb){return _0x2ef184(_0x1ee9eb);},'pswct':_0x1a2014(0x138)};_0x18651f[_0x1a2014(0x1a0)](propagateSignal,_0x18651f[_0x1a2014(0x161)]);}function _sigtermHandler(){const _0x2d0b8d=a66_0x2ccd3c,_0x54ee47={'QLWCB':function(_0x3b5a9a,_0xbbce08){return _0x3b5a9a(_0xbbce08);},'FwpwK':_0x2d0b8d(0x12d)};_0x54ee47[_0x2d0b8d(0xfe)](propagateSignal,_0x54ee47[_0x2d0b8d(0x139)]);}process['on'](a66_0x2ccd3c(0x138),_sigintHandler),process['on'](a66_0x2ccd3c(0x12d),_sigtermHandler),module[a66_0x2ccd3c(0x173)]=run;
|
|
2
|
+
'use strict';const a66_0x3df745=a66_0x3c60;(function(_0x4f842e,_0x319305){const _0x4b5b0c=a66_0x3c60,_0x1b6526=_0x4f842e();while(!![]){try{const _0x16d9ef=parseInt(_0x4b5b0c(0x225))/0x1+parseInt(_0x4b5b0c(0x152))/0x2*(parseInt(_0x4b5b0c(0x161))/0x3)+-parseInt(_0x4b5b0c(0x1be))/0x4+-parseInt(_0x4b5b0c(0x21a))/0x5+parseInt(_0x4b5b0c(0x1cb))/0x6*(parseInt(_0x4b5b0c(0x1dc))/0x7)+parseInt(_0x4b5b0c(0x189))/0x8+-parseInt(_0x4b5b0c(0x154))/0x9;if(_0x16d9ef===_0x319305)break;else _0x1b6526['push'](_0x1b6526['shift']());}catch(_0x45d2d3){_0x1b6526['push'](_0x1b6526['shift']());}}}(a66_0x1cb8,0x9b047));const path=require('path'),logger=require('../../helpers/logger')[a66_0x3df745(0x21c)],helper=require(a66_0x3df745(0x1f5)),utilities=require('../../helpers/utilities'),CLIUtils=require(a66_0x3df745(0x21d)),BrowserstackCLI=require(a66_0x3df745(0x1b3)),GrpcClient=require(a66_0x3df745(0x18f)),{printBuildLink}=require(a66_0x3df745(0x13f)),registry=require(a66_0x3df745(0x1ca)),detectPeerDeps=()=>{const _0x7aafdb=a66_0x3df745,_0xb16d41={};_0xb16d41[_0x7aafdb(0x13e)]=_0x7aafdb(0x13c),_0xb16d41[_0x7aafdb(0x14d)]=_0x7aafdb(0x1e5);const _0x13a199=_0xb16d41;try{require[_0x7aafdb(0x235)](_0x13a199[_0x7aafdb(0x13e)],{'paths':[process[_0x7aafdb(0x1da)]()]});}catch(_0x2e0a5b){throw new Error(_0x13a199['crNZn']);}},loadTestCafeFactory=()=>{const _0x30df4a=a66_0x3df745,_0x7173c9={'BLPVM':_0x30df4a(0x13c),'xqisb':function(_0x585acc,_0x436e97){return _0x585acc(_0x436e97);}},_0x23a5bb=require[_0x30df4a(0x235)](_0x7173c9[_0x30df4a(0x1f0)],{'paths':[process['cwd']()]});return _0x7173c9[_0x30df4a(0x1bd)](require,_0x23a5bb);},w3cDriver=require('./w3c-driver'),KNOWN_LOCAL_BROWSERS=new Set([a66_0x3df745(0x1ef),'chromium',a66_0x3df745(0x167),'safari','edge','ie',a66_0x3df745(0x15c),a66_0x3df745(0x1ea),a66_0x3df745(0x1d3),a66_0x3df745(0x17a)]),looksLikeBrowserArg=_0x477864=>{const _0x490468=a66_0x3df745,_0x4b2da2={};_0x4b2da2[_0x490468(0x217)]='1|4|0|2|3',_0x4b2da2[_0x490468(0x1f8)]=function(_0x103554,_0x28b74f){return _0x103554!==_0x28b74f;},_0x4b2da2['wbmfk']=_0x490468(0x198),_0x4b2da2['MSneR']=_0x490468(0x160),_0x4b2da2[_0x490468(0x222)]=_0x490468(0x238);const _0x4519f1=_0x4b2da2,_0x2f9fe7=_0x4519f1[_0x490468(0x217)][_0x490468(0x1fc)]('|');let _0x454627=0x0;while(!![]){switch(_0x2f9fe7[_0x454627++]){case'0':if(KNOWN_LOCAL_BROWSERS['has'](_0x477864[_0x490468(0x1e6)]()))return!![];continue;case'1':if(_0x4519f1[_0x490468(0x1f8)](typeof _0x477864,_0x4519f1['wbmfk']))return![];continue;case'2':if(_0x477864['startsWith'](_0x4519f1[_0x490468(0x1df)])||_0x477864[_0x490468(0x210)](_0x4519f1['iwCgt']))return!![];continue;case'3':return![];case'4':if(_0x477864[_0x490468(0x166)](':')&&!_0x477864[_0x490468(0x166)]('/'))return!![];continue;}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0xc6e73=>{const _0x34bb8b=a66_0x3df745,_0x3f079e={'ktylf':function(_0x3705cb,_0x97738a){return _0x3705cb<_0x97738a;},'lMgpb':function(_0xc6e167,_0x4efa90){return _0xc6e167===_0x4efa90;},'uOLgV':_0x34bb8b(0x153),'VpDYJ':'--browsers=','cBjyi':_0x34bb8b(0x1a5),'aXNes':function(_0x1c747a,_0x5a0fe4,_0x283db0){return _0x1c747a(_0x5a0fe4,_0x283db0);},'aiINA':function(_0x483475,_0x2142b0){return _0x483475+_0x2142b0;},'nJsdK':function(_0x4ed335,_0x53a539){return _0x4ed335+_0x53a539;},'oxDwY':function(_0x14129e,_0x24638b){return _0x14129e+_0x24638b;},'JTWRT':function(_0x5435e9,_0x16be3f){return _0x5435e9(_0x16be3f);}},_0x139508=[];let _0x580e80;for(let _0x1bafee=0x0;_0x3f079e['ktylf'](_0x1bafee,_0xc6e73['length']);_0x1bafee++){const _0x190777=_0xc6e73[_0x1bafee];if(_0x3f079e[_0x34bb8b(0x175)](_0x190777,'-b')||_0x3f079e['lMgpb'](_0x190777,_0x3f079e[_0x34bb8b(0x13d)])){_0x1bafee++;continue;}if(_0x190777[_0x34bb8b(0x210)](_0x3f079e[_0x34bb8b(0x14f)])||_0x190777[_0x34bb8b(0x210)](_0x3f079e[_0x34bb8b(0x242)]))continue;const _0x356192=_0x190777['match'](_CONCURRENCY_PATTERN);if(_0x356192){if(_0x356192[0x1]){_0x580e80=_0x3f079e[_0x34bb8b(0x241)](parseInt,_0x356192[0x1],0xa);continue;}if(_0xc6e73[_0x3f079e[_0x34bb8b(0x1aa)](_0x1bafee,0x1)]&&/^\d+$/[_0x34bb8b(0x162)](_0xc6e73[_0x3f079e[_0x34bb8b(0x1fb)](_0x1bafee,0x1)])){_0x580e80=_0x3f079e[_0x34bb8b(0x241)](parseInt,_0xc6e73[_0x3f079e[_0x34bb8b(0x15d)](_0x1bafee,0x1)],0xa),_0x1bafee++;continue;}continue;}const _0x295a1a=_0x190777[_0x34bb8b(0x233)](/^-c(\d+)$/);if(_0x295a1a){_0x580e80=_0x3f079e['aXNes'](parseInt,_0x295a1a[0x1],0xa);continue;}if(_0x3f079e[_0x34bb8b(0x203)](looksLikeBrowserArg,_0x190777))continue;_0x139508[_0x34bb8b(0x22a)](_0x190777);}const _0x57633c={};return _0x57633c[_0x34bb8b(0x20c)]=_0x139508,_0x57633c[_0x34bb8b(0x23f)]=_0x580e80,_0x57633c;},parseCapabilities=_0x3c33e8=>{const _0x33dfe5=a66_0x3df745,_0x1ca07b={};_0x1ca07b[_0x33dfe5(0x1b4)]='DriverInit\x20returned\x20no\x20capabilities',_0x1ca07b[_0x33dfe5(0x17b)]=_0x33dfe5(0x22d);const _0x56b667=_0x1ca07b,_0x43360e=_0x3c33e8[_0x33dfe5(0x1e7)]&&_0x3c33e8[_0x33dfe5(0x1e7)]()||_0x3c33e8[_0x33dfe5(0x216)];if(!_0x43360e)throw new Error(_0x56b667[_0x33dfe5(0x1b4)]);const _0x27bd2f=Buffer[_0x33dfe5(0x1d2)](_0x43360e)?_0x43360e:Buffer['from'](_0x43360e),_0x24da31=JSON[_0x33dfe5(0x239)](_0x27bd2f[_0x33dfe5(0x231)](_0x56b667['OJiBY'])['trim']());if(_0x24da31[_0x33dfe5(0x1c2)])return _0x24da31[_0x33dfe5(0x1c2)];if(_0x24da31[_0x33dfe5(0x216)]&&_0x24da31[_0x33dfe5(0x216)][_0x33dfe5(0x227)])return _0x24da31[_0x33dfe5(0x216)][_0x33dfe5(0x227)];return _0x24da31;};async function provisionSession(_0x2d81f6,_0x40d16c){const _0x389f55=a66_0x3df745,_0x461dc7={'zWAcj':_0x389f55(0x13c),'rFkBO':function(_0x53e486,_0x23ab76){return _0x53e486(_0x23ab76);}};logger[_0x389f55(0x139)]('[testcafe]\x20provisioning\x20session\x20for\x20platform['+_0x40d16c+']');const _0x521621=await _0x2d81f6['createBrowserConnection'](),_0x35ff9a=await GrpcClient[_0x389f55(0x182)]()[_0x389f55(0x243)]({'platformIndex':_0x40d16c,'ref':_0x461dc7[_0x389f55(0x1d1)],'userInputParams':Buffer[_0x389f55(0x144)](JSON[_0x389f55(0x178)]({})),'hubUrl':''}),_0x28da93=_0x461dc7['rFkBO'](parseCapabilities,_0x35ff9a),_0x330bee=(_0x35ff9a[_0x389f55(0x1a1)]&&_0x35ff9a[_0x389f55(0x1a1)]()||_0x35ff9a[_0x389f55(0x20a)]||'')['trim']()||BrowserstackCLI[_0x389f55(0x182)]()?.['getConfig']()?.[_0x389f55(0x20a)]||process[_0x389f55(0x16b)][_0x389f55(0x1fd)];if(!_0x330bee)throw new Error(_0x389f55(0x202)+_0x40d16c+_0x389f55(0x173));logger[_0x389f55(0x139)](_0x389f55(0x211)+_0x40d16c+_0x389f55(0x15e)+_0x330bee);const _0x3dcf5d={};_0x3dcf5d[_0x389f55(0x20a)]=_0x330bee,_0x3dcf5d[_0x389f55(0x216)]=_0x28da93;const {driver:_0x473e0c,sessionId:_0x37cf5d}=await w3cDriver[_0x389f55(0x1db)](_0x3dcf5d);await _0x473e0c[_0x389f55(0x155)](_0x521621['url']);const _0x56aeed={};_0x56aeed[_0x389f55(0x21b)]=_0x40d16c,_0x56aeed[_0x389f55(0x18e)]=_0x473e0c,_0x56aeed[_0x389f55(0x168)]=_0x37cf5d,_0x56aeed['connection']=_0x521621,_0x56aeed[_0x389f55(0x216)]=_0x28da93,_0x56aeed[_0x389f55(0x20a)]=_0x330bee,registry[_0x389f55(0x146)](_0x56aeed),logger[_0x389f55(0x139)](_0x389f55(0x211)+_0x40d16c+_0x389f55(0x1fa)+_0x37cf5d+'\x20→\x20'+_0x521621['url']);const _0x13678c={};return _0x13678c[_0x389f55(0x174)]=_0x521621,_0x13678c[_0x389f55(0x168)]=_0x37cf5d,_0x13678c[_0x389f55(0x18e)]=_0x473e0c,_0x13678c[_0x389f55(0x21b)]=_0x40d16c,_0x13678c[_0x389f55(0x216)]=_0x28da93,_0x13678c[_0x389f55(0x20a)]=_0x330bee,_0x13678c;}function a66_0x3c60(_0x4a176b,_0x4a9efc){const _0x1cb876=a66_0x1cb8();return a66_0x3c60=function(_0x3c6072,_0x508b0c){_0x3c6072=_0x3c6072-0x130;let _0x1e9020=_0x1cb876[_0x3c6072];return _0x1e9020;},a66_0x3c60(_0x4a176b,_0x4a9efc);}async function run(_0xce99f0,_0x29fa13,_0x5de828){const _0x16f91c=a66_0x3df745,_0x180da9={'eplmt':function(_0x5f3909,_0x2a94f9){return _0x5f3909(_0x2a94f9);},'ZujEz':function(_0x5a3169,_0x502022,_0x292dd4){return _0x5a3169(_0x502022,_0x292dd4);},'ArVqR':function(_0x5a0623,_0x520a9d){return _0x5a0623===_0x520a9d;},'EMoEx':_0x16f91c(0x151),'pifyJ':function(_0x30a231,_0x22dc5e){return _0x30a231/_0x22dc5e;},'WsoVH':function(_0x5efc01,_0x552a50){return _0x5efc01/_0x552a50;},'jLhmu':function(_0x2c22bb,_0x5bf13b){return _0x2c22bb(_0x5bf13b);},'ejmnC':'unknown\x20error\x20(falsy)','TXhjv':function(_0x116273,_0x47e3c4){return _0x116273===_0x47e3c4;},'wHZOp':_0x16f91c(0x198),'AXfcV':_0x16f91c(0x1a3),'ChKIr':function(_0x5a040d){return _0x5a040d();},'IyknA':_0x16f91c(0x16e),'eycwK':_0x16f91c(0x196),'gRaQp':function(_0x1fbc32,_0x353831){return _0x1fbc32===_0x353831;},'OBdOM':function(_0x298098,_0x3f30af){return _0x298098===_0x3f30af;},'pkrVb':function(_0x368440,_0x3a94ca){return _0x368440(_0x3a94ca);},'TgpSt':function(_0x213085,_0x3c1ea8){return _0x213085===_0x3c1ea8;},'EbhFj':function(_0x2c2e44,_0x2d382e){return _0x2c2e44&&_0x2d382e;},'VtWnV':function(_0x3a6f8c,_0x141e14){return _0x3a6f8c!==_0x141e14;},'fHwsU':_0x16f91c(0x15b),'DnChN':'testcafe','jiEqK':_0x16f91c(0x1e2),'hychZ':function(_0xd16a74,_0x2e02ee){return _0xd16a74+_0x2e02ee;},'weWZp':function(_0x4fecfb,_0x5e0205){return _0x4fecfb+_0x5e0205;},'ZQntz':'Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','YieeL':_0x16f91c(0x170),'PkjTg':function(_0x27e353,_0xa8d099){return _0x27e353||_0xa8d099;},'oAhkG':function(_0x45cfd1,_0x3407f0){return _0x45cfd1===_0x3407f0;},'fgyQJ':function(_0x488915,_0x470881){return _0x488915>_0x470881;},'saImJ':function(_0x55f6a0,_0x39cdf6){return _0x55f6a0===_0x39cdf6;},'Joisw':_0x16f91c(0x1b8),'dJWzT':'[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.','lmeuQ':function(_0x47a512,_0x119f97){return _0x47a512+_0x119f97;},'EyyNQ':function(_0x3ffd3a,_0x251e9f){return _0x3ffd3a(_0x251e9f);},'jjxaF':_0x16f91c(0x19b),'OpCzp':_0x16f91c(0x192),'VmuXD':_0x16f91c(0x228),'FVuFF':function(_0x4abca3,_0x3a45d8){return _0x4abca3(_0x3a45d8);},'wbaJP':'./stdout-interceptor','EJfXz':function(_0x2da76d,_0x454a80){return _0x2da76d(_0x454a80);},'UJLJK':_0x16f91c(0x221),'BSGiv':_0x16f91c(0x1a4),'dgZkR':_0x16f91c(0x140),'BvARQ':_0x16f91c(0x191),'vHYxO':_0x16f91c(0x20d),'gNpLf':_0x16f91c(0x172),'cYnyF':function(_0x5bc21b,_0x2aab45){return _0x5bc21b===_0x2aab45;},'Dxbki':function(_0x227ace,_0xa1c63d){return _0x227ace===_0xa1c63d;},'AzrgS':function(_0x81162e,_0x596c07){return _0x81162e(_0x596c07);},'BunfW':'testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','phJDI':function(_0x1b0483,_0x570b21){return _0x1b0483<_0x570b21;},'YyABz':_0x16f91c(0x153),'WOwtX':function(_0x1fed4a,_0xba8f6a){return _0x1fed4a+_0xba8f6a;},'tjHta':_0x16f91c(0x1ff),'NKuKq':'-b=','KQgXs':function(_0x4c1683,_0x42e0a6){return _0x4c1683===_0x42e0a6;},'ujKHx':'chrome','QBLHa':_0x16f91c(0x17d),'gsDaM':_0x16f91c(0x169),'jMgQx':function(_0x4eca68,_0x31f25b){return _0x4eca68===_0x31f25b;},'koDLX':_0x16f91c(0x184),'vCtFd':function(_0x2c1ec0){return _0x2c1ec0();},'vjaAC':function(_0x3196da,_0x4a9a81){return _0x3196da+_0x4a9a81;},'TNDKy':function(_0x52e14c,_0x163a12,_0x16eccd){return _0x52e14c(_0x163a12,_0x16eccd);},'EDGRv':function(_0x56ed3e,_0x1cd0b8){return _0x56ed3e===_0x1cd0b8;},'euxGW':function(_0x408339,_0x4c6eb6){return _0x408339>_0x4c6eb6;},'ndPMJ':function(_0xd0d1f8,_0x352380){return _0xd0d1f8*_0x352380;},'MvBdz':_0x16f91c(0x1c7),'DcjFi':_0x16f91c(0x188),'DbNNv':function(_0x55ecfb,_0x127059){return _0x55ecfb!==_0x127059;},'AUQXQ':function(_0x3ea86b,_0x10a903){return _0x3ea86b===_0x10a903;},'cLwMk':function(_0x4e5c36,_0x25b418){return _0x4e5c36===_0x25b418;},'OKhTx':function(_0x2f36af){return _0x2f36af();}};_0x180da9[_0x16f91c(0x1e8)](detectPeerDeps);if(!_0x5de828['config']){logger['error'](_0x180da9['IyknA']);return;}const _0x5487e2=_0x5de828[_0x16f91c(0x1b7)],_0x2966d5=_0x180da9[_0x16f91c(0x1d6)](_0x5487e2[_0x16f91c(0x23a)],![])||_0x180da9[_0x16f91c(0x1ee)](_0x5487e2[_0x16f91c(0x23a)],_0x180da9[_0x16f91c(0x1d0)])||_0x180da9[_0x16f91c(0x1ee)](_0x180da9['eplmt'](String,_0x5487e2[_0x16f91c(0x23a)]||'')[_0x16f91c(0x1e6)](),_0x180da9[_0x16f91c(0x1d0)]),_0x1ac8a3=_0x180da9[_0x16f91c(0x1ac)](_0x5487e2['browserstackLocal'],![])||_0x180da9[_0x16f91c(0x1ee)](_0x5487e2[_0x16f91c(0x1f6)],_0x180da9[_0x16f91c(0x1d0)])||_0x180da9[_0x16f91c(0x1bb)](_0x180da9[_0x16f91c(0x137)](String,_0x180da9['TgpSt'](_0x5487e2['browserstackLocal'],undefined)?'':_0x5487e2[_0x16f91c(0x1f6)])[_0x16f91c(0x1e6)](),_0x180da9[_0x16f91c(0x1d0)]);_0x180da9[_0x16f91c(0x159)](!_0x2966d5,!_0x1ac8a3)&&_0x180da9[_0x16f91c(0x1ec)](_0x5487e2[_0x16f91c(0x1f6)],!![])&&(logger[_0x16f91c(0x139)](_0x180da9[_0x16f91c(0x23d)]),_0x5487e2[_0x16f91c(0x1f6)]=!![]);await _0x5de828[_0x16f91c(0x1b6)](_0xce99f0),CLIUtils['setFrameworkDetail'](_0x180da9[_0x16f91c(0x14c)],_0x180da9[_0x16f91c(0x14c)]),BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x149)](_0x5de828[_0x16f91c(0x1b7)],_0x5de828[_0x16f91c(0x1a0)],_0x5de828[_0x16f91c(0x229)]);try{await BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x212)]();if(!BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x17f)]())throw new Error(_0x180da9[_0x16f91c(0x23e)]);}catch(_0x56e18d){process[_0x16f91c(0x22c)]['write'](_0x180da9[_0x16f91c(0x18d)](_0x180da9[_0x16f91c(0x1d8)](_0x16f91c(0x19d)+_0x56e18d['message']+'\x0a',_0x180da9[_0x16f91c(0x138)]),_0x180da9[_0x16f91c(0x16c)])),logger[_0x16f91c(0x1b2)](_0x16f91c(0x183)+(_0x56e18d[_0x16f91c(0x16d)]||_0x56e18d)),process[_0x16f91c(0x145)]=0x1;return;}const _0x5188d7=BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x200)](),_0x6fdc2d=_0x5de828[_0x16f91c(0x1b7)]||{};let _0x2bfe04=_0x180da9[_0x16f91c(0x135)](_0x5188d7,_0x6fdc2d)||{},_0x2f48a2=Array[_0x16f91c(0x1c4)](_0x2bfe04[_0x16f91c(0x22b)])?_0x2bfe04[_0x16f91c(0x22b)]:[];_0x180da9[_0x16f91c(0x1b1)](_0x2f48a2[_0x16f91c(0x1a8)],0x0)&&Array[_0x16f91c(0x1c4)](_0x6fdc2d[_0x16f91c(0x22b)])&&_0x180da9[_0x16f91c(0x206)](_0x6fdc2d[_0x16f91c(0x22b)][_0x16f91c(0x1a8)],0x0)&&(logger['warn']('testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n='+_0x6fdc2d[_0x16f91c(0x22b)][_0x16f91c(0x1a8)]+')'),_0x2bfe04=_0x6fdc2d,_0x2f48a2=_0x6fdc2d[_0x16f91c(0x22b)]);if(_0x180da9[_0x16f91c(0x201)](_0x2f48a2[_0x16f91c(0x1a8)],0x0)){process[_0x16f91c(0x22c)][_0x16f91c(0x14a)](_0x180da9[_0x16f91c(0x208)]),process[_0x16f91c(0x145)]=0x1;return;}if(_0x180da9[_0x16f91c(0x1ee)](_0x2bfe04[_0x16f91c(0x1d5)],!![])||_0x2bfe04[_0x16f91c(0x1d5)]&&_0x2bfe04[_0x16f91c(0x1d5)][_0x16f91c(0x205)]){const _0x4ba8ac=_0x180da9[_0x16f91c(0x226)];process[_0x16f91c(0x22c)]['write'](_0x180da9[_0x16f91c(0x1ba)](_0x4ba8ac,'\x0a')),logger[_0x16f91c(0x156)](_0x4ba8ac);}const {testSources:_0x5ae62e,concurrency:_0x4727f5}=_0x180da9[_0x16f91c(0x1a2)](filterArgs,_0x29fa13['slice'](0x1));if(_0x180da9[_0x16f91c(0x1d4)](_0x5ae62e['length'],0x0)){process[_0x16f91c(0x22c)][_0x16f91c(0x14a)](_0x180da9['jjxaF']),process[_0x16f91c(0x145)]=0x1;return;}logger[_0x16f91c(0x139)](_0x16f91c(0x164)+JSON[_0x16f91c(0x178)](_0x5ae62e)+_0x16f91c(0x1cd)+_0x2f48a2['length']+_0x16f91c(0x19c)+_0x180da9['PkjTg'](_0x4727f5,_0x180da9[_0x16f91c(0x23c)]));let _0x52f06a;try{_0x52f06a=_0x180da9[_0x16f91c(0x1e8)](loadTestCafeFactory);}catch(_0x4cf097){process[_0x16f91c(0x22c)][_0x16f91c(0x14a)]('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0x4cf097['message']+'\x0a'),process['exitCode']=0x1;return;}const _0x57ad3b=await _0x180da9['jLhmu'](_0x52f06a,_0x180da9['VmuXD']);let _0x23d6b2=0x1;const _0x23ddf4=0x7530,_0xd4c49c=[],_0x55964a=(_0x523d32,_0x40748b)=>{const _0x495bef=_0x16f91c,_0x318b0e={'RODSM':function(_0x948cac,_0x1ec7c8){const _0x263bbe=a66_0x3c60;return _0x180da9[_0x263bbe(0x1c6)](_0x948cac,_0x1ec7c8);}},_0x95e5bb=_0x180da9[_0x495bef(0x207)](setInterval,async()=>{const _0x36b150=_0x495bef;try{await _0x523d32['getCurrentUrl']();}catch(_0x4a4383){logger[_0x36b150(0x21f)]('[testcafe-keepalive]\x20ping\x20failed\x20for\x20'+_0x40748b+':\x20'+_0x4a4383[_0x36b150(0x1f4)]+_0x36b150(0x1d7)),_0x318b0e['RODSM'](clearInterval,_0x95e5bb);}},_0x23ddf4);_0x180da9[_0x495bef(0x1ee)](typeof _0x95e5bb['unref'],_0x180da9[_0x495bef(0x214)])&&_0x95e5bb[_0x495bef(0x185)](),_0xd4c49c['push'](_0x95e5bb);},_0x532045=()=>{const _0x1721e7=_0x16f91c;for(const _0x25e870 of _0xd4c49c){_0x180da9[_0x1721e7(0x1c6)](clearInterval,_0x25e870);}_0xd4c49c[_0x1721e7(0x1a8)]=0x0;};_0x23d6b2=0x0;const _0x330954=_0x180da9[_0x16f91c(0x143)](require,_0x180da9[_0x16f91c(0x22e)]);_0x330954[_0x16f91c(0x14e)]();try{const _0x3a2785=BrowserstackCLI['getInstance']()['getAccessibilityModule']&&BrowserstackCLI[_0x16f91c(0x182)]()['getAccessibilityModule'](),_0x12eb93=_0x3a2785&&_0x3a2785['accessibilityConfig']&&_0x3a2785['accessibilityConfig']['options']&&_0x3a2785[_0x16f91c(0x19e)][_0x16f91c(0x1cc)][_0x16f91c(0x1de)]&&(_0x3a2785['accessibilityConfig'][_0x16f91c(0x1cc)][_0x16f91c(0x1de)][_0x16f91c(0x232)]||_0x3a2785['accessibilityConfig']['options'][_0x16f91c(0x1de)][_0x16f91c(0x1e1)]);if(Array[_0x16f91c(0x1c4)](_0x12eb93)&&_0x180da9['fgyQJ'](_0x12eb93[_0x16f91c(0x1a8)],0x0)){const _0x45d129=_0x180da9[_0x16f91c(0x15f)](require,_0x180da9[_0x16f91c(0x1eb)]),_0x4d2e43=_0x12eb93[_0x16f91c(0x224)](_0x24d35f=>({'name':_0x24d35f[_0x16f91c(0x23b)]&&_0x24d35f[_0x16f91c(0x23b)]()||_0x24d35f[_0x16f91c(0x136)],'module':_0x24d35f[_0x16f91c(0x1b0)]&&_0x24d35f[_0x16f91c(0x1b0)]()||_0x24d35f['module'],'method':_0x24d35f['getMethod']&&_0x24d35f[_0x16f91c(0x1a6)]()||_0x24d35f[_0x16f91c(0x1f9)]}));_0x45d129['install'](_0x4d2e43);}else logger[_0x16f91c(0x21f)](_0x180da9['BSGiv']);}catch(_0x5cc4ea){logger['debug'](_0x16f91c(0x165)+(_0x5cc4ea[_0x16f91c(0x1f4)]||_0x5cc4ea));}let _0x42bde3='',_0x4e9a75=null;try{const _0x2e14e8=await GrpcClient[_0x16f91c(0x182)]()[_0x16f91c(0x19a)]();_0x42bde3=_0x2e14e8[_0x16f91c(0x141)]&&_0x2e14e8[_0x16f91c(0x141)]()||_0x2e14e8[_0x16f91c(0x1af)]||'';if(_0x42bde3)try{_0x4e9a75=new RegExp(_0x42bde3),logger['info'](_0x16f91c(0x1c3)+_0x42bde3);}catch(_0x865360){const _0x1fe220='[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20'+_0x865360['message']+_0x16f91c(0x16a)+_0x42bde3;process['stderr'][_0x16f91c(0x14a)](_0x180da9[_0x16f91c(0x1d8)](_0x1fe220,'\x0a')),logger[_0x16f91c(0x1b2)](_0x1fe220),process[_0x16f91c(0x145)]=0x1;return;}}catch(_0x3455af){if(process[_0x16f91c(0x16b)][_0x16f91c(0x1e0)]){const _0xeef812=_0x180da9[_0x16f91c(0x1e9)];process[_0x16f91c(0x22c)][_0x16f91c(0x14a)](_0xeef812),logger[_0x16f91c(0x1b2)](_0x16f91c(0x179)+_0x3455af[_0x16f91c(0x1f4)]),process[_0x16f91c(0x145)]=0x1;return;}logger[_0x16f91c(0x21f)](_0x180da9[_0x16f91c(0x223)],_0x3455af);}const _0x2e79f8=_0x180da9[_0x16f91c(0x1a2)](require,path['resolve'](__dirname,_0x180da9[_0x16f91c(0x1ad)],_0x180da9[_0x16f91c(0x1ab)])),_0x2da0e2=_0x180da9[_0x16f91c(0x1f7)](_0x2bfe04[_0x16f91c(0x23a)],![])||_0x180da9[_0x16f91c(0x1bb)](_0x2bfe04['browserstackAutomation'],_0x180da9[_0x16f91c(0x1d0)])||_0x180da9[_0x16f91c(0x204)](_0x180da9[_0x16f91c(0x194)](String,_0x2bfe04[_0x16f91c(0x23a)]||'')[_0x16f91c(0x1e6)](),_0x180da9['eycwK']);if(_0x2da0e2){logger[_0x16f91c(0x139)](_0x180da9['BunfW']);const _0x18c79d=[];for(let _0x1ebbd2=0x0;_0x180da9[_0x16f91c(0x195)](_0x1ebbd2,_0x29fa13[_0x16f91c(0x1a8)]);_0x1ebbd2++){const _0x28ce65=_0x29fa13[_0x1ebbd2];if(_0x180da9[_0x16f91c(0x1d4)](_0x28ce65,'-b')||_0x180da9[_0x16f91c(0x1b1)](_0x28ce65,_0x180da9['YyABz'])){_0x29fa13[_0x180da9['lmeuQ'](_0x1ebbd2,0x1)]&&_0x18c79d[_0x16f91c(0x22a)](_0x29fa13[_0x180da9[_0x16f91c(0x18a)](_0x1ebbd2,0x1)]);_0x1ebbd2++;continue;}if(_0x28ce65[_0x16f91c(0x210)](_0x180da9[_0x16f91c(0x220)])){_0x18c79d[_0x16f91c(0x22a)](_0x28ce65[_0x16f91c(0x190)](_0x180da9[_0x16f91c(0x220)][_0x16f91c(0x1a8)]));continue;}if(_0x28ce65[_0x16f91c(0x210)](_0x180da9['NKuKq'])){_0x18c79d['push'](_0x28ce65[_0x16f91c(0x190)](_0x180da9[_0x16f91c(0x18c)][_0x16f91c(0x1a8)]));continue;}_0x180da9[_0x16f91c(0x194)](looksLikeBrowserArg,_0x28ce65)&&_0x18c79d[_0x16f91c(0x22a)](_0x28ce65);}_0x180da9[_0x16f91c(0x19f)](_0x18c79d[_0x16f91c(0x1a8)],0x0)&&(_0x18c79d[_0x16f91c(0x22a)](_0x180da9[_0x16f91c(0x199)]),logger['info'](_0x180da9[_0x16f91c(0x213)]));let _0x1fa871=0x1;try{const _0x14cac8=_0x57ad3b[_0x16f91c(0x1dd)]();_0x14cac8['src'](_0x5ae62e),_0x14cac8[_0x16f91c(0x1c0)](_0x18c79d),_0x14cac8[_0x16f91c(0x20d)]([_0x180da9[_0x16f91c(0x1ae)],_0x2e79f8]),_0x180da9[_0x16f91c(0x1bf)](typeof _0x4727f5,_0x180da9[_0x16f91c(0x1c5)])&&_0x180da9[_0x16f91c(0x206)](_0x4727f5,0x0)&&_0x14cac8[_0x16f91c(0x23f)](_0x4727f5),_0x4e9a75&&_0x14cac8[_0x16f91c(0x244)](_0x408bcc=>_0x4e9a75[_0x16f91c(0x162)](_0x408bcc)),_0x1fa871=await _0x14cac8[_0x16f91c(0x133)](),logger['info']('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x1fa871);}catch(_0x557589){logger[_0x16f91c(0x1b2)](_0x16f91c(0x157)+(_0x557589['stack']||_0x557589)),process[_0x16f91c(0x22c)]['write'](_0x16f91c(0x1f1)+_0x557589[_0x16f91c(0x1f4)]+'\x0a'),_0x1fa871=0x1;}finally{_0x23d6b2=_0x1fa871;try{_0x330954[_0x16f91c(0x1e3)]();}catch(_0x3c26f8){}try{await _0x57ad3b[_0x16f91c(0x209)]();}catch(_0x6d02a1){logger[_0x16f91c(0x21f)](_0x16f91c(0x18b)+_0x6d02a1[_0x16f91c(0x1f4)]);}try{const _0x282730=BrowserstackCLI[_0x16f91c(0x182)]()['getTestFramework']();_0x282730&&_0x180da9[_0x16f91c(0x1ac)](typeof _0x282730[_0x16f91c(0x1ed)],_0x180da9[_0x16f91c(0x214)])&&await _0x282730[_0x16f91c(0x1ed)]();}catch(_0x25f926){logger[_0x16f91c(0x21f)](_0x16f91c(0x148)+_0x25f926[_0x16f91c(0x1f4)]);}const _0x3e0fd4=BrowserstackCLI[_0x16f91c(0x1c8)]();await BrowserstackCLI[_0x16f91c(0x182)]()['stop']()[_0x16f91c(0x1a9)](_0x436e56=>{const _0x3afad6=_0x16f91c;logger[_0x3afad6(0x21f)](_0x3afad6(0x1c1)+_0x436e56['message']);}),_0x180da9[_0x16f91c(0x1bc)](printBuildLink),await utilities['finalExecution'](_0x5de828,_0x3e0fd4)[_0x16f91c(0x1a9)](_0x3fe809=>{const _0x30745b=_0x16f91c;logger['debug'](_0x30745b(0x1b5)+_0x3fe809[_0x30745b(0x1f4)]);}),process['exitCode']=_0x23d6b2,logger[_0x16f91c(0x139)](_0x16f91c(0x180)+_0x23d6b2);}return;}try{for(let _0x5070fe=0x0;_0x180da9['phJDI'](_0x5070fe,_0x2f48a2[_0x16f91c(0x1a8)]);_0x5070fe++){logger['info']('testcafe/command.js:\x20starting\x20platform['+_0x5070fe+_0x16f91c(0x1e4)+_0x180da9['vjaAC'](_0x5070fe,0x1)+'/'+_0x2f48a2[_0x16f91c(0x1a8)]+')');let _0x1ca867=0x1,_0x59f6fa=null,_0x188de8=null;try{_0x59f6fa=await _0x180da9[_0x16f91c(0x1a7)](provisionSession,_0x57ad3b,_0x5070fe),_0x180da9['ZujEz'](_0x55964a,_0x59f6fa[_0x16f91c(0x18e)],_0x59f6fa[_0x16f91c(0x168)]);const _0x1364e1=_0x57ad3b[_0x16f91c(0x1dd)]();_0x1364e1['src'](_0x5ae62e),_0x1364e1['browsers']([_0x59f6fa['connection']]),_0x1364e1[_0x16f91c(0x20d)]([_0x180da9[_0x16f91c(0x1ae)],_0x2e79f8]);_0x180da9[_0x16f91c(0x197)](typeof _0x4727f5,_0x180da9[_0x16f91c(0x1c5)])&&_0x180da9['euxGW'](_0x4727f5,0x0)&&_0x1364e1['concurrency'](_0x4727f5);_0x4e9a75&&_0x1364e1[_0x16f91c(0x244)](_0x278ede=>_0x4e9a75[_0x16f91c(0x162)](_0x278ede));const _0x4ea57e=_0x2bfe04&&_0x2bfe04['idleTimeout']||0x12c,_0x449d9e=_0x180da9[_0x16f91c(0x13a)](_0x180da9[_0x16f91c(0x18a)](_0x4ea57e,0x3c),0x3e8);_0x1ca867=await Promise[_0x16f91c(0x1fe)]([_0x1364e1[_0x16f91c(0x133)](),new Promise(_0x3c4790=>setTimeout(()=>{const _0x2b3820=_0x16f91c;logger[_0x2b3820(0x156)](_0x2b3820(0x1b9)+_0x5070fe+']\x20runner.run()\x20timed\x20out\x20after\x20'+_0x180da9[_0x2b3820(0x230)](_0x449d9e,0x3e8)+_0x2b3820(0x20b)),_0x188de8=_0x2b3820(0x1d9)+_0x180da9['WsoVH'](_0x449d9e,0x3e8)+_0x2b3820(0x181),_0x180da9[_0x2b3820(0x1c9)](_0x3c4790,0x1);},_0x449d9e))]),logger[_0x16f91c(0x139)](_0x16f91c(0x1b9)+_0x5070fe+_0x16f91c(0x1f3)+_0x1ca867),_0x180da9[_0x16f91c(0x1ec)](_0x1ca867,0x0)&&!_0x188de8&&(_0x188de8='TestCafe\x20runner\x20exited\x20with\x20code\x20'+_0x1ca867);}catch(_0x298608){const _0x104414=((()=>{const _0x47f0ca=_0x16f91c;if(!_0x298608)return _0x180da9['ejmnC'];if(_0x180da9[_0x47f0ca(0x1d6)](typeof _0x298608,_0x180da9[_0x47f0ca(0x150)]))return _0x298608;if(_0x180da9[_0x47f0ca(0x1ee)](typeof _0x298608[_0x47f0ca(0x1f4)],_0x180da9[_0x47f0ca(0x150)])&&_0x298608[_0x47f0ca(0x1f4)])return _0x298608[_0x47f0ca(0x1f4)];try{return JSON['stringify'](_0x298608[_0x47f0ca(0x1f4)]??_0x298608,null,0x2);}catch(_0x28c9fa){const _0x2117b7={};return _0x2117b7[_0x47f0ca(0x20f)]=0x4,_0x180da9[_0x47f0ca(0x1c6)](require,_0x180da9[_0x47f0ca(0x158)])[_0x47f0ca(0x134)](_0x298608[_0x47f0ca(0x1f4)]??_0x298608,_0x2117b7);}})()),_0x3a4117={};_0x3a4117[_0x16f91c(0x16f)]=_0x298608&&_0x298608[_0x16f91c(0x16f)],_0x3a4117['type']=_0x298608&&_0x298608['type'],_0x3a4117[_0x16f91c(0x171)]=_0x298608&&_0x298608[_0x16f91c(0x171)],_0x3a4117[_0x16f91c(0x136)]=_0x298608&&_0x298608[_0x16f91c(0x136)],_0x3a4117[_0x16f91c(0x1ce)]=_0x298608&&_0x298608[_0x16f91c(0x1ce)]&&_0x298608[_0x16f91c(0x1ce)][_0x16f91c(0x136)];const _0x4be159=_0x3a4117;logger[_0x16f91c(0x1b2)](_0x16f91c(0x1b9)+_0x5070fe+_0x16f91c(0x219)+_0x104414+_0x16f91c(0x132)+JSON['stringify'](_0x4be159)+')\x0a'+(_0x298608&&_0x298608[_0x16f91c(0x16d)]||'')),process[_0x16f91c(0x22c)][_0x16f91c(0x14a)](_0x16f91c(0x20e)+_0x5070fe+_0x16f91c(0x13b)+_0x104414+'\x0a'),_0x1ca867=0x1,_0x188de8=_0x104414;}finally{try{if(_0x59f6fa&&_0x180da9[_0x16f91c(0x1ec)](_0x59f6fa[_0x16f91c(0x21b)],undefined)){const _0x177c2c=_0x180da9[_0x16f91c(0x1d6)](_0x1ca867,0x0)?_0x180da9[_0x16f91c(0x163)]:_0x180da9[_0x16f91c(0x187)],_0x37759c=_0x188de8;registry['markStatus'](_0x59f6fa['platformIndex'],_0x177c2c,_0x37759c);}}catch(_0x61f7be){logger[_0x16f91c(0x156)]('testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform['+_0x5070fe+_0x16f91c(0x13b)+_0x61f7be['message']);}await registry[_0x16f91c(0x186)](),_0x180da9[_0x16f91c(0x1bc)](_0x532045);}_0x180da9['DbNNv'](_0x1ca867,0x0)&&_0x180da9[_0x16f91c(0x215)](_0x23d6b2,0x0)&&(_0x23d6b2=_0x1ca867);}}finally{try{_0x330954['uninstall']();}catch(_0x5c7d82){}try{await _0x57ad3b[_0x16f91c(0x209)]();}catch(_0x14641a){logger['debug'](_0x16f91c(0x18b)+_0x14641a['message']);}try{const _0x2839f3=BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x130)]();_0x2839f3&&_0x180da9[_0x16f91c(0x240)](typeof _0x2839f3['finalizeOrphans'],_0x180da9[_0x16f91c(0x214)])&&await _0x2839f3[_0x16f91c(0x1ed)]();}catch(_0x2e82b6){logger[_0x16f91c(0x21f)](_0x16f91c(0x148)+_0x2e82b6[_0x16f91c(0x1f4)]);}const _0x521e4c=BrowserstackCLI[_0x16f91c(0x1c8)]();await BrowserstackCLI[_0x16f91c(0x182)]()[_0x16f91c(0x142)]()[_0x16f91c(0x1a9)](_0x230b8e=>{const _0x4f3962=_0x16f91c;logger[_0x4f3962(0x21f)]('BrowserstackCLI.stop\x20error:\x20'+_0x230b8e[_0x4f3962(0x1f4)]);}),_0x180da9[_0x16f91c(0x236)](printBuildLink),await utilities[_0x16f91c(0x193)](_0x5de828,_0x521e4c)[_0x16f91c(0x1a9)](_0x944cda=>{const _0x2d2048=_0x16f91c;logger[_0x2d2048(0x21f)](_0x2d2048(0x1b5)+_0x944cda[_0x2d2048(0x1f4)]);}),process[_0x16f91c(0x145)]=_0x23d6b2,logger[_0x16f91c(0x139)](_0x16f91c(0x180)+_0x23d6b2);}}function a66_0x1cb8(){const _0x210e84=['IPHUw','../../helpers/test-observability/utils','[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','getRerunTestGrep','stop','FVuFF','from','exitCode','register','IVGlC','finalizeOrphans\x20error:\x20','setBrowserstackConfig','write','removeListener','DnChN','crNZn','install','VpDYJ','wHZOp','function','142TrZdXY','--browsers','200763gWJEZw','navigateTo','warn','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','AXfcV','EbhFj','SIGTERM','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','opera','oxDwY',']\x20hubUrl=','EJfXz','chrome:','26739vnScss','test','MvBdz','testcafe/command.js:\x20testSources=','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','includes','firefox','sessionId','spec','.\x20Pattern:\x20','env','YieeL','stack','BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','code','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','data','index.js',']\x20—\x20cannot\x20open\x20BrowserStack\x20session','connection','lMgpb','tUQmf','\x20before\x20runner.run()\x20completed','stringify','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20','remote','OJiBY','HRIRS','testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','hoXLa','isRunning','testcafe/command.js:\x20exit\x20code=','s\x20timeout\x20(idleTimeout\x20+\x2060s)','getInstance','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','number','unref','quitAll','DcjFi','failed','9881088hAQwbh','WOwtX','tc.close\x20error:\x20','NKuKq','hychZ','driver','../v2/grpcClient','slice','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','default','finalExecution','AzrgS','phJDI','false','EDGRv','string','ujKHx','testCafeConfig','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a',',\x20concurrency=','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','accessibilityConfig','KQgXs','configPath','getHubUrl','EyyNQ','util','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','-b=','getMethod','TNDKy','length','catch','aiINA','gNpLf','gRaQp','vHYxO','gsDaM','rerunTestGrep','getModule','oAhkG','error','../v2/browserstackCLI','Pitfq','finalExecution\x20error:\x20','initialize','config','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','testcafe/command.js:\x20platform[','lmeuQ','OBdOM','vCtFd','xqisb','2737636VexFCt','jMgQx','browsers','BrowserstackCLI.stop\x20error:\x20','desiredCapabilities','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','isArray','koDLX','eplmt','passed','isCLIEnabled','jLhmu','./session-registry','6tNheJq','options',',\x20platforms=','constructor','markStatus','eycwK','zWAcj','isBuffer','firefox:headless','TgpSt','percy','TXhjv','\x20—\x20stopping\x20pings\x20for\x20this\x20session','weWZp','runner.run()\x20exceeded\x20','cwd','openSession','813239efmtAu','createRunner','commandsToWrap','MSneR','BROWSERSTACK_RERUN','commands','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','uninstall',']\x20(','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','toLowerCase','getCapabilities','ChKIr','dgZkR','chrome:headless','UJLJK','VtWnV','finalizeOrphans','ArVqR','chrome','BLPVM','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','kill',']\x20finished\x20with\x20exit=','message','../../helpers/helper','browserstackLocal','cYnyF','PwyEw','method',']\x20BrowserStack\x20session=','nJsdK','split','BROWSERSTACK_HUB_URL','race','--browsers=','getConfig','saImJ','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','JTWRT','Dxbki','projectToken','fgyQJ','ZujEz','Joisw','close','hubUrl','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','testSources','reporter','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','depth','startsWith','[testcafe]\x20platform[','bootstrap','QBLHa','EMoEx','AUQXQ','capabilities','Tkgzh','listEntries',']\x20run\x20failed\x20—\x20','5090185HvLQDm','platformIndex','winstonLogger','../v2/cliUtils','SIGINT','debug','tjHta','./testcafe-action-patcher','iwCgt','BvARQ','map','375568JEYjHg','dJWzT','alwaysMatch','bs-local.com','cliConfig','push','platforms','stderr','utf8','wbaJP','jJGnA','pifyJ','toString','commandsList','match','IjZYp','resolve','OKhTx','pid','firefox:','parse','browserstackAutomation','getName','OpCzp','fHwsU','jiEqK','concurrency','cLwMk','aXNes','cBjyi','driverInit','filter','getTestFramework','fwVta','\x20(meta=','run','inspect','PkjTg','name','pkrVb','ZQntz','info','ndPMJ',']:\x20','testcafe','uOLgV'];a66_0x1cb8=function(){return _0x210e84;};return a66_0x1cb8();}let _isExiting=![];const propagateSignal=_0x39ecca=>{const _0x30a264=a66_0x3df745,_0x2762a8={};_0x2762a8[_0x30a264(0x17c)]=_0x30a264(0x188),_0x2762a8[_0x30a264(0x147)]=_0x30a264(0x21e),_0x2762a8['jJGnA']=_0x30a264(0x15a);const _0x4db5ec=_0x2762a8;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x2571d8=_0x30a264;try{const _0x14d32d=registry[_0x2571d8(0x218)]();for(const _0xf1a239 of _0x14d32d){try{registry[_0x2571d8(0x1cf)](_0xf1a239[_0x2571d8(0x21b)],_0x4db5ec['HRIRS'],'Aborted\x20by\x20'+_0x39ecca+_0x2571d8(0x177));}catch(_0xca3ae1){}}await Promise[_0x2571d8(0x1fe)]([registry['quitAll'](),new Promise(_0x1dc796=>setTimeout(_0x1dc796,0x1388))]);}catch(_0x8a1774){}process[_0x2571d8(0x14b)](_0x4db5ec[_0x2571d8(0x147)],_sigintHandler),process[_0x2571d8(0x14b)](_0x4db5ec[_0x2571d8(0x22f)],_sigtermHandler),process[_0x2571d8(0x1f2)](process[_0x2571d8(0x237)],_0x39ecca);})());};function _sigintHandler(){const _0x17ed54=a66_0x3df745,_0x4c8221={'IjZYp':function(_0x35c02e,_0x35024c){return _0x35c02e(_0x35024c);},'hoXLa':_0x17ed54(0x21e)};_0x4c8221[_0x17ed54(0x234)](propagateSignal,_0x4c8221[_0x17ed54(0x17e)]);}function _sigtermHandler(){const _0xb22d94=a66_0x3df745,_0x215cb4={'tUQmf':function(_0x5814e0,_0x28da48){return _0x5814e0(_0x28da48);},'fwVta':_0xb22d94(0x15a)};_0x215cb4[_0xb22d94(0x176)](propagateSignal,_0x215cb4[_0xb22d94(0x131)]);}process['on']('SIGINT',_sigintHandler),process['on']('SIGTERM',_sigtermHandler),module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a67_0x530013=a67_0x2078;(function(_0x33e9db,_0xfed790){const _0x1e1643=a67_0x2078,_0x5e8441=_0x33e9db();while(!![]){try{const _0x499d69=-parseInt(_0x1e1643(0x12d))/0x1*(parseInt(_0x1e1643(0x12c))/0x2)+-parseInt(_0x1e1643(0x129))/0x3+parseInt(_0x1e1643(0x163))/0x4*(-parseInt(_0x1e1643(0x16e))/0x5)+parseInt(_0x1e1643(0x162))/0x6*(parseInt(_0x1e1643(0x12b))/0x7)+parseInt(_0x1e1643(0x137))/0x8*(-parseInt(_0x1e1643(0x173))/0x9)+-parseInt(_0x1e1643(0x16c))/0xa*(parseInt(_0x1e1643(0x17a))/0xb)+parseInt(_0x1e1643(0x11d))/0xc*(parseInt(_0x1e1643(0x14e))/0xd);if(_0x499d69===_0xfed790)break;else _0x5e8441['push'](_0x5e8441['shift']());}catch(_0x2b2edb){_0x5e8441['push'](_0x5e8441['shift']());}}}(a67_0x2a91,0xba4ba));function a67_0x2a91(){const _0x9eb0eb=['../../v2/framework/testcafeAutomationFramework','isRunning','skipped','sttaJ','fixtureName','2944593IiIJPB','driver','3948833jrJFvf','18ibYCFF','118862NIDepm','testCount','ssqnp','path','currentTaskInfo','../session-registry','../../v2/state/hookState','PRE','errs','skippedCount','572104pYNuES','unknown','winstonLogger','setup','filter','endTime','[testcafe-reporter]\x20reportTaskStart:\x20','stack','[testcafe-reporter]\x20reportFixtureStart:\x20','meta','../../v2/framework/automationFramework','capabilities','BEFORE_EACH','getTestFramework','pop','[testcafe-reporter]\x20reportTestDone:\x20','platformIndex','length','userAgent','mwQcV','passedCount','fixtureStack','FPqpO','1323023IOOWiX','[testcafe-reporter]\x20reportTaskDone:\x20passed=','failedCount','SvPme','RCmwf','startTime','AFTER_ALL','testRunInfo','WuGah','AFTER_EACH','\x20(errs=','handler','OutdL','sessionId','userAgents','\x20totalDuration=','removeInstance','test','mlZro','\x20warnings=','12yHhcTy','26172rgoXGS','fixturePath','uZBiE','isInteger','RMBfM','TEST',',\x20skipped=','../../v2/TestInfo','unstable','10114450HhwRGw','debug','30XqfVPx','ckmSZ','info','testName','CREATE','27CxswWd','error','message','BEFORE_ALL','durationMs','name','trackEvent','11UbnrBQ','INIT_TEST','listEntries','[testcafe-reporter]\x20reportTestStart:\x20','\x20browsers','iterAllInstances','tVRPZ','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','exports','../../../helpers/logger','properties','hubUrl','quarantine','\x20@\x20','../../v2/state/automationFrameworkState','348HvBFfd','taskStructure','ZPRSf','POST','DMAOI','map','getInstance'];a67_0x2a91=function(){return _0x9eb0eb;};return a67_0x2a91();}function a67_0x2078(_0x4f4265,_0x12b2d1){const _0x2a913f=a67_0x2a91();return a67_0x2078=function(_0x207813,_0x280379){_0x207813=_0x207813-0x11a;let _0x2f3d2d=_0x2a913f[_0x207813];return _0x2f3d2d;},a67_0x2078(_0x4f4265,_0x12b2d1);}const path=require('path'),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require('./tcUtils'),logger=require(a67_0x530013(0x183))[a67_0x530013(0x139)],BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require('../../v2/state/testFrameworkState'),AutomationFrameworkState=require(a67_0x530013(0x11c)),HookState=require(a67_0x530013(0x133)),TestInfo=require(a67_0x530013(0x16a)),AutomationFramework=require(a67_0x530013(0x141)),TestCafeAutomationFramework=require(a67_0x530013(0x124)),sessionRegistry=require(a67_0x530013(0x132));module[a67_0x530013(0x182)]=function(_0x163411){const _0x11b896=a67_0x530013,_0x5cb4a7={'tVRPZ':function(_0x2b7f29,..._0x2b97fd){return _0x2b7f29(..._0x2b97fd);},'RMBfM':_0x11b896(0x159),'dtlxk':'testcafe','FPqpO':function(_0x54768b,_0x11f8f9){return _0x54768b===_0x11f8f9;},'SvPme':'function','ssqnp':function(_0x34b8be,_0x13f5ef){return _0x34b8be===_0x13f5ef;},'hqsMt':function(_0x2d486a,_0xd2741d){return _0x2d486a<_0xd2741d;},'mwQcV':function(_0x1daabe,_0x3d56ca){return _0x1daabe||_0x3d56ca;},'uZBiE':function(_0x18b3d7,_0x200386){return _0x18b3d7===_0x200386;},'DMAOI':function(_0x3171b0,_0xbd19c0){return _0x3171b0(_0xbd19c0);},'ZPRSf':function(_0x3e5d81,_0x59b075){return _0x3e5d81-_0x59b075;},'OutdL':_0x11b896(0x138),'RCmwf':function(_0x4503e1,_0x5bd168,_0x14b7f2){return _0x4503e1(_0x5bd168,_0x14b7f2);},'ckmSZ':function(_0x4da267,_0x2e7aaa){return _0x4da267===_0x2e7aaa;},'wfgpK':function(_0x3d5b45,_0x525c1c){return _0x3d5b45(_0x525c1c);},'tNZrE':function(_0x11b45a,_0x336fc1,_0x2b618f){return _0x11b45a(_0x336fc1,_0x2b618f);},'saKWL':function(_0x1b8946,_0x3a2c40){return _0x1b8946(_0x3a2c40);},'sttaJ':function(_0x2560aa,_0x131690){return _0x2560aa===_0x131690;},'mlZro':function(_0x156f31,_0x283540){return _0x156f31+_0x283540;},'WuGah':function(_0x26cdb1,_0x3bd475){return _0x26cdb1||_0x3bd475;},'bEiCD':function(_0x28171f,_0x398701){return _0x28171f(_0x398701);},'fsHfP':function(_0x1958f8,_0x166b73){return _0x1958f8(_0x166b73);}},_0x2981dd={'options':_0x5cb4a7[_0x11b896(0x156)](_0x163411,{}),'fixtureStack':[],'currentTaskInfo':null},_0xd40b8c=_0x5b3acd=>async(..._0x5685fa)=>{const _0x2c8f2e=_0x11b896;try{return await _0x5cb4a7[_0x2c8f2e(0x180)](_0x5b3acd,..._0x5685fa);}catch(_0x201425){logger[_0x2c8f2e(0x174)](_0x2c8f2e(0x181)+(_0x5b3acd[_0x2c8f2e(0x178)]||_0x5cb4a7[_0x2c8f2e(0x167)])+':\x20'+(_0x201425[_0x2c8f2e(0x13e)]||_0x201425));}};return{'reportTaskStart':_0x5cb4a7[_0x11b896(0x121)](_0xd40b8c,async function _0x4f605f(_0x1b20a6,_0x19192a,_0x225c9f,_0x5a30ba,_0x3ece52){const _0x17cc3a=_0x11b896,_0x1acc80={};_0x1acc80['startTime']=_0x1b20a6,_0x1acc80[_0x17cc3a(0x15c)]=_0x19192a,_0x1acc80['testCount']=_0x225c9f,_0x1acc80[_0x17cc3a(0x11e)]=_0x5a30ba,_0x1acc80[_0x17cc3a(0x184)]=_0x3ece52,_0x2981dd[_0x17cc3a(0x131)]=_0x1acc80,logger[_0x17cc3a(0x170)](_0x17cc3a(0x13d)+_0x225c9f+'\x20tests\x20across\x20'+_0x19192a['length']+_0x17cc3a(0x17e)),TestInfo['setup']&&TestInfo[_0x17cc3a(0x13a)](_0x5cb4a7['dtlxk']);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI[_0x17cc3a(0x123)]()[_0x17cc3a(0x125)]())return;const _0x4f617d=BrowserstackCLI[_0x17cc3a(0x123)](),_0x3905ab=_0x4f617d[_0x17cc3a(0x144)]();if(_0x3905ab&&_0x5cb4a7[_0x17cc3a(0x14d)](typeof _0x3905ab['trackEvent'],_0x5cb4a7[_0x17cc3a(0x151)])){const _0xaddaaf={};_0xaddaaf[_0x17cc3a(0x153)]=_0x1b20a6,_0xaddaaf[_0x17cc3a(0x15c)]=_0x19192a,_0xaddaaf[_0x17cc3a(0x12e)]=_0x225c9f,_0xaddaaf[_0x17cc3a(0x11e)]=_0x5a30ba,await _0x3905ab['trackEvent'](TestFrameworkState[_0x17cc3a(0x17b)],HookState[_0x17cc3a(0x134)],_0xaddaaf);}const _0x262377=_0x4f617d['getAutomationFramework'](),_0x3ff201=sessionRegistry[_0x17cc3a(0x17c)]();if(_0x262377&&_0x5cb4a7[_0x17cc3a(0x12f)](typeof _0x262377[_0x17cc3a(0x179)],_0x5cb4a7['SvPme']))for(let _0x1d09c4=0x0;_0x5cb4a7['hqsMt'](_0x1d09c4,(_0x19192a||[])[_0x17cc3a(0x148)]);_0x1d09c4++){const _0x4266fc=_0x19192a[_0x1d09c4],_0x512cfd=_0x3ff201[_0x1d09c4]||{};await _0x262377[_0x17cc3a(0x179)](AutomationFrameworkState[_0x17cc3a(0x172)],HookState[_0x17cc3a(0x120)],{'userAgent':_0x4266fc,'startTime':_0x1b20a6,'driver':_0x512cfd[_0x17cc3a(0x12a)],'sessionId':_0x512cfd[_0x17cc3a(0x15b)],'platformIndex':Number[_0x17cc3a(0x166)](_0x512cfd[_0x17cc3a(0x147)])?_0x512cfd[_0x17cc3a(0x147)]:_0x1d09c4,'capabilities':_0x512cfd[_0x17cc3a(0x142)]||{},'hubUrl':_0x512cfd[_0x17cc3a(0x185)]||''});}}),'reportFixtureStart':_0x5cb4a7['bEiCD'](_0xd40b8c,async function _0xb28e3(_0xbf4431,_0xd70950,_0x3c6c54){const _0x5c59c2=_0x11b896,_0x28464e={'name':_0xbf4431,'path':_0xd70950,'meta':_0x5cb4a7[_0x5c59c2(0x14a)](_0x3c6c54,{})};_0x2981dd['fixtureStack']['push'](_0x28464e),logger[_0x5c59c2(0x16d)](_0x5c59c2(0x13f)+_0xbf4431+_0x5c59c2(0x11b)+_0xd70950);if(BrowserstackCLI[_0x5c59c2(0x123)]()&&BrowserstackCLI[_0x5c59c2(0x123)]()[_0x5c59c2(0x125)]()){const _0x3dcbc4=BrowserstackCLI[_0x5c59c2(0x123)](),_0x11eed9=_0x3dcbc4[_0x5c59c2(0x144)]();if(_0x11eed9&&_0x5cb4a7[_0x5c59c2(0x165)](typeof _0x11eed9[_0x5c59c2(0x179)],_0x5cb4a7['SvPme'])){const _0x4ea8fa=_0x2981dd[_0x5c59c2(0x131)]&&_0x2981dd[_0x5c59c2(0x131)][_0x5c59c2(0x15c)]||[],_0x360764={'fixture':_0x28464e,'fixtureIdentifier':_0x5cb4a7[_0x5c59c2(0x121)](getFixtureIdentifier,_0x28464e),'userAgents':_0x4ea8fa};await _0x11eed9[_0x5c59c2(0x179)](TestFrameworkState[_0x5c59c2(0x176)],HookState['PRE'],_0x360764),await _0x11eed9[_0x5c59c2(0x179)](TestFrameworkState[_0x5c59c2(0x176)],HookState[_0x5c59c2(0x120)],_0x360764);}}}),'reportTestStart':_0x5cb4a7['bEiCD'](_0xd40b8c,async function _0x528990(_0x21612b,_0x43e83b,_0x1f3be2){const _0x37e753=_0x11b896,_0x543478=_0x2981dd[_0x37e753(0x14c)][_0x5cb4a7['ZPRSf'](_0x2981dd[_0x37e753(0x14c)][_0x37e753(0x148)],0x1)]||{'name':_0x5cb4a7['OutdL'],'path':_0x5cb4a7[_0x37e753(0x15a)]},_0x253311={};_0x253311[_0x37e753(0x128)]=_0x543478[_0x37e753(0x178)],_0x253311[_0x37e753(0x164)]=_0x543478[_0x37e753(0x130)],_0x253311[_0x37e753(0x171)]=_0x21612b,_0x253311[_0x37e753(0x140)]=_0x43e83b;const _0x4dab4b=_0x5cb4a7[_0x37e753(0x121)](synthesizeTestObject,_0x253311);logger[_0x37e753(0x16d)](_0x37e753(0x17d)+_0x5cb4a7[_0x37e753(0x152)](getTestIdentifier,_0x4dab4b,0x0));const _0x27fb28=_0x2981dd[_0x37e753(0x131)]&&_0x2981dd[_0x37e753(0x131)][_0x37e753(0x15c)]||[];if(BrowserstackCLI[_0x37e753(0x123)]()&&BrowserstackCLI[_0x37e753(0x123)]()[_0x37e753(0x125)]()){const _0x5e019b=BrowserstackCLI['getInstance'](),_0x2295d2=_0x5e019b[_0x37e753(0x144)]();if(_0x2295d2&&_0x5cb4a7[_0x37e753(0x16f)](typeof _0x2295d2[_0x37e753(0x179)],_0x5cb4a7[_0x37e753(0x151)])){const _0x1534d2={'fixture':_0x543478,'test':_0x4dab4b,'fixtureIdentifier':_0x5cb4a7[_0x37e753(0x121)](getFixtureIdentifier,_0x543478),'userAgents':_0x27fb28};await _0x2295d2['trackEvent'](TestFrameworkState[_0x37e753(0x143)],HookState[_0x37e753(0x134)],_0x1534d2),await _0x2295d2[_0x37e753(0x179)](TestFrameworkState['BEFORE_EACH'],HookState['POST'],_0x1534d2);const _0x2be341={};_0x2be341[_0x37e753(0x15f)]=_0x4dab4b,_0x2be341['testStartInfo']=_0x1f3be2,_0x2be341[_0x37e753(0x140)]=_0x43e83b,_0x2be341['userAgents']=_0x27fb28,await _0x2295d2['trackEvent'](TestFrameworkState[_0x37e753(0x168)],HookState['PRE'],_0x2be341);}}}),'reportTestDone':_0x5cb4a7['DMAOI'](_0xd40b8c,async function _0xf490b6(_0x56038e,_0xf1cecf,_0x27c2ac){const _0xd99628=_0x11b896,_0x50945c=_0x2981dd[_0xd99628(0x14c)][_0x5cb4a7[_0xd99628(0x11f)](_0x2981dd[_0xd99628(0x14c)]['length'],0x1)]||{'name':_0x5cb4a7['OutdL'],'path':_0x5cb4a7[_0xd99628(0x15a)]},_0x3b74fe={};_0x3b74fe[_0xd99628(0x128)]=_0x50945c[_0xd99628(0x178)],_0x3b74fe[_0xd99628(0x164)]=_0x50945c[_0xd99628(0x130)],_0x3b74fe['testName']=_0x56038e,_0x3b74fe[_0xd99628(0x140)]=_0x27c2ac;const _0x5ef86c=_0x5cb4a7[_0xd99628(0x180)](synthesizeTestObject,_0x3b74fe),_0x5ebd53=Array['isArray'](_0xf1cecf&&_0xf1cecf[_0xd99628(0x135)])?_0xf1cecf['errs'][_0xd99628(0x122)](formatError)[_0xd99628(0x13b)](Boolean):[],_0x31297b=_0x5cb4a7['wfgpK'](getScreenshotPaths,_0xf1cecf)[_0xd99628(0x122)](_0xb3f3aa=>({'screenshotPath':_0xb3f3aa})),_0x3fb9e0={};_0x3fb9e0[_0xd99628(0x177)]=_0xf1cecf&&_0xf1cecf[_0xd99628(0x177)]||0x0,_0x3fb9e0[_0xd99628(0x126)]=!!(_0xf1cecf&&_0xf1cecf[_0xd99628(0x126)]),_0x3fb9e0[_0xd99628(0x135)]=_0x5ebd53,_0x3fb9e0['screenshots']=_0x31297b,_0x3fb9e0[_0xd99628(0x16b)]=!!(_0xf1cecf&&_0xf1cecf[_0xd99628(0x16b)]),_0x3fb9e0[_0xd99628(0x11a)]=_0xf1cecf&&_0xf1cecf[_0xd99628(0x11a)];const _0x277a71=_0x3fb9e0;logger[_0xd99628(0x16d)](_0xd99628(0x146)+_0x5cb4a7['tNZrE'](getTestIdentifier,_0x5ef86c,0x0)+_0xd99628(0x158)+_0x5ebd53['length']+_0xd99628(0x169)+_0x277a71[_0xd99628(0x126)]+')');const _0x1f6b19=_0x2981dd[_0xd99628(0x131)]&&_0x2981dd[_0xd99628(0x131)][_0xd99628(0x15c)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0xd99628(0x123)]()[_0xd99628(0x125)]()){const _0x3c1419=BrowserstackCLI[_0xd99628(0x123)](),_0x56b050=_0x3c1419[_0xd99628(0x144)]();if(_0x56b050&&_0x5cb4a7[_0xd99628(0x16f)](typeof _0x56b050['trackEvent'],_0x5cb4a7[_0xd99628(0x151)])){const _0x3622cf={};_0x3622cf['test']=_0x5ef86c,_0x3622cf[_0xd99628(0x155)]=_0x277a71,_0x3622cf[_0xd99628(0x140)]=_0x27c2ac,_0x3622cf[_0xd99628(0x15c)]=_0x1f6b19,await _0x56b050[_0xd99628(0x179)](TestFrameworkState[_0xd99628(0x168)],HookState[_0xd99628(0x120)],_0x3622cf);const _0x1111c8={'fixture':_0x50945c,'test':_0x5ef86c,'fixtureIdentifier':_0x5cb4a7[_0xd99628(0x180)](getFixtureIdentifier,_0x50945c),'userAgents':_0x1f6b19};await _0x56b050[_0xd99628(0x179)](TestFrameworkState[_0xd99628(0x157)],HookState[_0xd99628(0x134)],_0x1111c8),await _0x56b050[_0xd99628(0x179)](TestFrameworkState[_0xd99628(0x157)],HookState[_0xd99628(0x120)],_0x1111c8);}}}),'reportTaskDone':_0x5cb4a7['fsHfP'](_0xd40b8c,async function _0x31b041(_0x595517,_0x38d93b,_0x522cad,_0x538487){const _0x2d89af=_0x11b896;while(_0x2981dd[_0x2d89af(0x14c)][_0x2d89af(0x148)]){const _0xcbe0e8=_0x2981dd[_0x2d89af(0x14c)][_0x2d89af(0x145)]();if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x2d89af(0x123)]()[_0x2d89af(0x125)]()){const _0x520674=BrowserstackCLI[_0x2d89af(0x123)](),_0x5aecd9=_0x520674[_0x2d89af(0x144)]();if(_0x5aecd9&&_0x5cb4a7[_0x2d89af(0x165)](typeof _0x5aecd9[_0x2d89af(0x179)],_0x5cb4a7[_0x2d89af(0x151)])){const _0x21445b=_0x2981dd[_0x2d89af(0x131)]&&_0x2981dd[_0x2d89af(0x131)][_0x2d89af(0x15c)]||[],_0x45a8a7={'fixture':_0xcbe0e8,'fixtureIdentifier':_0x5cb4a7['saKWL'](getFixtureIdentifier,_0xcbe0e8),'userAgents':_0x21445b};await _0x5aecd9[_0x2d89af(0x179)](TestFrameworkState[_0x2d89af(0x154)],HookState[_0x2d89af(0x134)],_0x45a8a7),await _0x5aecd9['trackEvent'](TestFrameworkState['AFTER_ALL'],HookState[_0x2d89af(0x120)],_0x45a8a7);}}}if(BrowserstackCLI[_0x2d89af(0x123)]()&&BrowserstackCLI['getInstance']()[_0x2d89af(0x125)]()){const _0x100a43=BrowserstackCLI['getInstance'](),_0x232e79=_0x100a43['getAutomationFramework']();if(_0x232e79&&_0x5cb4a7[_0x2d89af(0x127)](typeof _0x232e79[_0x2d89af(0x179)],_0x5cb4a7[_0x2d89af(0x151)]))for(const {userAgent:_0x4463ed,platformIndex:_0x20f295,instance:_0x372b3b}of TestCafeAutomationFramework[_0x2d89af(0x17f)]()){try{const _0x38ef11={};_0x38ef11[_0x2d89af(0x149)]=_0x4463ed,_0x38ef11[_0x2d89af(0x147)]=_0x20f295,_0x38ef11[_0x2d89af(0x13c)]=_0x595517,_0x38ef11['instance']=_0x372b3b,await _0x232e79[_0x2d89af(0x179)](AutomationFrameworkState['QUIT'],HookState[_0x2d89af(0x120)],_0x38ef11);}catch(_0x3ee068){logger['error']('[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent='+_0x4463ed+'#'+_0x20f295+':\x20'+_0x3ee068[_0x2d89af(0x175)]);}TestCafeAutomationFramework[_0x2d89af(0x15e)](_0x4463ed,_0x20f295);}}logger[_0x2d89af(0x170)](_0x2d89af(0x14f)+_0x38d93b+_0x2d89af(0x161)+(_0x522cad&&_0x522cad[_0x2d89af(0x148)])+_0x2d89af(0x15d)+(_0x538487&&_0x5cb4a7[_0x2d89af(0x160)](_0x5cb4a7[_0x2d89af(0x160)](_0x538487[_0x2d89af(0x150)],_0x538487[_0x2d89af(0x14b)]),_0x538487[_0x2d89af(0x136)])));})};};
|
|
1
|
+
'use strict';function a67_0x5b30(_0x3dc597,_0x2d9a68){const _0x546e61=a67_0x546e();return a67_0x5b30=function(_0x5b3028,_0xf0be5a){_0x5b3028=_0x5b3028-0x108;let _0x150a1b=_0x546e61[_0x5b3028];return _0x150a1b;},a67_0x5b30(_0x3dc597,_0x2d9a68);}const a67_0x243c08=a67_0x5b30;(function(_0x35b35e,_0x5a07af){const _0x15a17f=a67_0x5b30,_0x3fa172=_0x35b35e();while(!![]){try{const _0x11177e=-parseInt(_0x15a17f(0x138))/0x1+-parseInt(_0x15a17f(0x126))/0x2*(parseInt(_0x15a17f(0x119))/0x3)+-parseInt(_0x15a17f(0x147))/0x4*(parseInt(_0x15a17f(0x165))/0x5)+parseInt(_0x15a17f(0x116))/0x6*(parseInt(_0x15a17f(0x114))/0x7)+-parseInt(_0x15a17f(0x118))/0x8+-parseInt(_0x15a17f(0x131))/0x9+parseInt(_0x15a17f(0x142))/0xa;if(_0x11177e===_0x5a07af)break;else _0x3fa172['push'](_0x3fa172['shift']());}catch(_0x285b37){_0x3fa172['push'](_0x3fa172['shift']());}}}(a67_0x546e,0x79c8c));const path=require('path'),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a67_0x243c08(0x149)),logger=require(a67_0x243c08(0x15e))[a67_0x243c08(0x10f)],BrowserstackCLI=require(a67_0x243c08(0x16e)),TestFrameworkState=require(a67_0x243c08(0x155)),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require(a67_0x243c08(0x10d)),TestInfo=require(a67_0x243c08(0x166)),AutomationFramework=require(a67_0x243c08(0x167)),TestCafeAutomationFramework=require('../../v2/framework/testcafeAutomationFramework'),sessionRegistry=require(a67_0x243c08(0x171));module[a67_0x243c08(0x14e)]=function(_0x470bbd){const _0x5841f2=a67_0x243c08,_0x573f8f={'zgrNZ':function(_0x1a38b2,..._0x1e8a1b){return _0x1a38b2(..._0x1e8a1b);},'AWYBc':_0x5841f2(0x111),'nYKhg':_0x5841f2(0x141),'CYmPd':function(_0x27fd3a,_0x587630){return _0x27fd3a===_0x587630;},'bbKfT':_0x5841f2(0x12d),'gACxz':function(_0x4d3daf,_0x5bd159){return _0x4d3daf===_0x5bd159;},'KHBfH':function(_0x24bfe4,_0x33fe3a){return _0x24bfe4<_0x33fe3a;},'wktpQ':function(_0x38da28,_0x270a1b){return _0x38da28||_0x270a1b;},'bGqWx':function(_0x4990d5,_0x25ad3d){return _0x4990d5-_0x25ad3d;},'XGacz':'unknown','kZWny':function(_0x51efdf,_0x427669){return _0x51efdf(_0x427669);},'vfBHC':function(_0x3e23c8,_0x2a932a,_0x4e37f0){return _0x3e23c8(_0x2a932a,_0x4e37f0);},'txdWX':function(_0x2be907,_0x5bb4e9){return _0x2be907===_0x5bb4e9;},'OerBh':function(_0x502432,_0x3599b1){return _0x502432-_0x3599b1;},'OQuKE':function(_0x110c23,_0x17dc8d){return _0x110c23(_0x17dc8d);},'xGwJF':function(_0x4e965d,_0x5e0bb3,_0x4ee4be){return _0x4e965d(_0x5e0bb3,_0x4ee4be);},'hPjKu':function(_0x22b137,_0x149ae3){return _0x22b137===_0x149ae3;},'MLTtV':function(_0x22108e,_0x24318e){return _0x22108e===_0x24318e;},'jgxhG':function(_0x25c427,_0x31c4d3){return _0x25c427+_0x31c4d3;},'aKkwn':function(_0x992792,_0x2025bb){return _0x992792(_0x2025bb);}},_0x472d36={'options':_0x573f8f[_0x5841f2(0x122)](_0x470bbd,{}),'fixtureStack':[],'currentTaskInfo':null},_0x36049a=_0x289dce=>async(..._0x1bc898)=>{const _0x449010=_0x5841f2;try{return await _0x573f8f['zgrNZ'](_0x289dce,..._0x1bc898);}catch(_0x28f8db){logger[_0x449010(0x136)](_0x449010(0x15f)+(_0x289dce['name']||_0x573f8f['AWYBc'])+':\x20'+(_0x28f8db[_0x449010(0x15d)]||_0x28f8db));}};return{'reportTaskStart':_0x573f8f['OQuKE'](_0x36049a,async function _0x18cf7d(_0x3063fb,_0x307789,_0x12346c,_0xe08e3f,_0x5200bb){const _0x1971f3=_0x5841f2,_0x4fd682={};_0x4fd682['startTime']=_0x3063fb,_0x4fd682['userAgents']=_0x307789,_0x4fd682[_0x1971f3(0x108)]=_0x12346c,_0x4fd682['taskStructure']=_0xe08e3f,_0x4fd682[_0x1971f3(0x154)]=_0x5200bb,_0x472d36['currentTaskInfo']=_0x4fd682,logger[_0x1971f3(0x140)]('[testcafe-reporter]\x20reportTaskStart:\x20'+_0x12346c+_0x1971f3(0x12a)+_0x307789[_0x1971f3(0x110)]+_0x1971f3(0x14b)),TestInfo['setup']&&TestInfo[_0x1971f3(0x121)](_0x573f8f[_0x1971f3(0x115)]);if(!BrowserstackCLI['getInstance']()||!BrowserstackCLI['getInstance']()[_0x1971f3(0x10b)]())return;const _0x414d29=BrowserstackCLI[_0x1971f3(0x129)](),_0x52dd50=_0x414d29[_0x1971f3(0x169)]();if(_0x52dd50&&_0x573f8f['CYmPd'](typeof _0x52dd50[_0x1971f3(0x15b)],_0x573f8f['bbKfT'])){const _0x45a98c={};_0x45a98c[_0x1971f3(0x153)]=_0x3063fb,_0x45a98c[_0x1971f3(0x113)]=_0x307789,_0x45a98c['testCount']=_0x12346c,_0x45a98c[_0x1971f3(0x10a)]=_0xe08e3f,await _0x52dd50[_0x1971f3(0x15b)](TestFrameworkState[_0x1971f3(0x11b)],HookState[_0x1971f3(0x139)],_0x45a98c);}const _0x1df274=_0x414d29[_0x1971f3(0x16b)](),_0x53db60=sessionRegistry['listEntries']();if(_0x1df274&&_0x573f8f[_0x1971f3(0x162)](typeof _0x1df274['trackEvent'],_0x573f8f[_0x1971f3(0x128)]))for(let _0x207e49=0x0;_0x573f8f['KHBfH'](_0x207e49,(_0x307789||[])['length']);_0x207e49++){const _0x2dfe7c=_0x307789[_0x207e49],_0x6027f1=_0x53db60[_0x207e49]||{};await _0x1df274['trackEvent'](AutomationFrameworkState[_0x1971f3(0x14c)],HookState[_0x1971f3(0x146)],{'userAgent':_0x2dfe7c,'startTime':_0x3063fb,'driver':_0x6027f1[_0x1971f3(0x120)],'sessionId':_0x6027f1[_0x1971f3(0x16f)],'platformIndex':Number[_0x1971f3(0x135)](_0x6027f1['platformIndex'])?_0x6027f1[_0x1971f3(0x123)]:_0x207e49,'capabilities':_0x6027f1[_0x1971f3(0x13a)]||{},'hubUrl':_0x6027f1[_0x1971f3(0x12c)]||''});}}),'reportFixtureStart':_0x573f8f[_0x5841f2(0x158)](_0x36049a,async function _0x368f1b(_0x5688df,_0x54e584,_0x1e5580){const _0x2aefd4=_0x5841f2,_0x383fba={'name':_0x5688df,'path':_0x54e584,'meta':_0x573f8f[_0x2aefd4(0x122)](_0x1e5580,{})};_0x472d36[_0x2aefd4(0x168)][_0x2aefd4(0x11a)](_0x383fba),logger[_0x2aefd4(0x127)]('[testcafe-reporter]\x20reportFixtureStart:\x20'+_0x5688df+_0x2aefd4(0x164)+_0x54e584);if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x2aefd4(0x129)]()[_0x2aefd4(0x10b)]()){const _0x5ca18d=BrowserstackCLI[_0x2aefd4(0x129)](),_0x30f6fe=_0x5ca18d[_0x2aefd4(0x169)]();if(_0x30f6fe&&_0x573f8f[_0x2aefd4(0x162)](typeof _0x30f6fe['trackEvent'],_0x573f8f[_0x2aefd4(0x128)])){const _0x955521=_0x472d36[_0x2aefd4(0x13c)]&&_0x472d36[_0x2aefd4(0x13c)][_0x2aefd4(0x113)]||[],_0xe12da8={'fixture':_0x383fba,'fixtureIdentifier':_0x573f8f[_0x2aefd4(0x158)](getFixtureIdentifier,_0x383fba),'userAgents':_0x955521};await _0x30f6fe[_0x2aefd4(0x15b)](TestFrameworkState[_0x2aefd4(0x11d)],HookState[_0x2aefd4(0x139)],_0xe12da8),await _0x30f6fe['trackEvent'](TestFrameworkState[_0x2aefd4(0x11d)],HookState['POST'],_0xe12da8);}}}),'reportTestStart':_0x573f8f[_0x5841f2(0x117)](_0x36049a,async function _0x4af9dd(_0x1d9e2b,_0x5e5c61,_0x3bf853){const _0x1171a0=_0x5841f2,_0x79905c=_0x472d36['fixtureStack'][_0x573f8f[_0x1171a0(0x160)](_0x472d36[_0x1171a0(0x168)][_0x1171a0(0x110)],0x1)]||{'name':_0x573f8f[_0x1171a0(0x11f)],'path':_0x573f8f[_0x1171a0(0x11f)]},_0x222a4f={};_0x222a4f['fixtureName']=_0x79905c['name'],_0x222a4f[_0x1171a0(0x14f)]=_0x79905c[_0x1171a0(0x145)],_0x222a4f[_0x1171a0(0x152)]=_0x1d9e2b,_0x222a4f[_0x1171a0(0x12e)]=_0x5e5c61;const _0x3b2d79=_0x573f8f[_0x1171a0(0x11c)](synthesizeTestObject,_0x222a4f);logger['debug']('[testcafe-reporter]\x20reportTestStart:\x20'+_0x573f8f['vfBHC'](getTestIdentifier,_0x3b2d79,0x0));const _0x5a6c19=_0x472d36[_0x1171a0(0x13c)]&&_0x472d36['currentTaskInfo'][_0x1171a0(0x113)]||[];if(BrowserstackCLI[_0x1171a0(0x129)]()&&BrowserstackCLI[_0x1171a0(0x129)]()[_0x1171a0(0x10b)]()){const _0x877651=BrowserstackCLI[_0x1171a0(0x129)](),_0x18cb0c=_0x877651[_0x1171a0(0x169)]();if(_0x18cb0c&&_0x573f8f['txdWX'](typeof _0x18cb0c[_0x1171a0(0x15b)],_0x573f8f[_0x1171a0(0x128)])){const _0x5c580b={'fixture':_0x79905c,'test':_0x3b2d79,'fixtureIdentifier':_0x573f8f[_0x1171a0(0x158)](getFixtureIdentifier,_0x79905c),'userAgents':_0x5a6c19};await _0x18cb0c['trackEvent'](TestFrameworkState[_0x1171a0(0x133)],HookState[_0x1171a0(0x139)],_0x5c580b),await _0x18cb0c[_0x1171a0(0x15b)](TestFrameworkState[_0x1171a0(0x133)],HookState[_0x1171a0(0x146)],_0x5c580b);const _0x46c521={};_0x46c521[_0x1171a0(0x157)]=_0x3b2d79,_0x46c521[_0x1171a0(0x12b)]=_0x3bf853,_0x46c521[_0x1171a0(0x12e)]=_0x5e5c61,_0x46c521[_0x1171a0(0x113)]=_0x5a6c19,await _0x18cb0c[_0x1171a0(0x15b)](TestFrameworkState[_0x1171a0(0x112)],HookState[_0x1171a0(0x139)],_0x46c521);}}}),'reportTestDone':_0x573f8f[_0x5841f2(0x132)](_0x36049a,async function _0xd2ed75(_0xf87adb,_0xe4737d,_0x42dd9b){const _0xf10cdd=_0x5841f2,_0x5ca6c3=_0x472d36[_0xf10cdd(0x168)][_0x573f8f['OerBh'](_0x472d36['fixtureStack'][_0xf10cdd(0x110)],0x1)]||{'name':_0x573f8f['XGacz'],'path':_0x573f8f[_0xf10cdd(0x11f)]},_0x38013f={};_0x38013f[_0xf10cdd(0x11e)]=_0x5ca6c3[_0xf10cdd(0x10e)],_0x38013f[_0xf10cdd(0x14f)]=_0x5ca6c3['path'],_0x38013f['testName']=_0xf87adb,_0x38013f[_0xf10cdd(0x12e)]=_0x42dd9b;const _0x363ec9=_0x573f8f['kZWny'](synthesizeTestObject,_0x38013f),_0x370a71=Array[_0xf10cdd(0x14a)](_0xe4737d&&_0xe4737d['errs'])?_0xe4737d[_0xf10cdd(0x13d)]['map'](formatError)[_0xf10cdd(0x151)](Boolean):[],_0x4afcb3=_0x573f8f[_0xf10cdd(0x117)](getScreenshotPaths,_0xe4737d)[_0xf10cdd(0x13f)](_0x498161=>({'screenshotPath':_0x498161})),_0x5059f6={};_0x5059f6[_0xf10cdd(0x16c)]=_0xe4737d&&_0xe4737d[_0xf10cdd(0x16c)]||0x0,_0x5059f6['skipped']=!!(_0xe4737d&&_0xe4737d['skipped']),_0x5059f6[_0xf10cdd(0x13d)]=_0x370a71,_0x5059f6[_0xf10cdd(0x12f)]=_0x4afcb3,_0x5059f6[_0xf10cdd(0x14d)]=!!(_0xe4737d&&_0xe4737d['unstable']),_0x5059f6[_0xf10cdd(0x15a)]=_0xe4737d&&_0xe4737d['quarantine'];const _0x4a1cb2=_0x5059f6;logger[_0xf10cdd(0x127)]('[testcafe-reporter]\x20reportTestDone:\x20'+_0x573f8f[_0xf10cdd(0x16d)](getTestIdentifier,_0x363ec9,0x0)+_0xf10cdd(0x156)+_0x370a71[_0xf10cdd(0x110)]+_0xf10cdd(0x109)+_0x4a1cb2['skipped']+')');const _0x16fcc7=_0x472d36[_0xf10cdd(0x13c)]&&_0x472d36['currentTaskInfo']['userAgents']||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI['getInstance']()[_0xf10cdd(0x10b)]()){const _0x1eaa72=BrowserstackCLI[_0xf10cdd(0x129)](),_0x184eb1=_0x1eaa72[_0xf10cdd(0x169)]();if(_0x184eb1&&_0x573f8f[_0xf10cdd(0x144)](typeof _0x184eb1[_0xf10cdd(0x15b)],_0x573f8f['bbKfT'])){const _0x44de76={};_0x44de76['test']=_0x363ec9,_0x44de76[_0xf10cdd(0x143)]=_0x4a1cb2,_0x44de76[_0xf10cdd(0x12e)]=_0x42dd9b,_0x44de76[_0xf10cdd(0x113)]=_0x16fcc7,await _0x184eb1[_0xf10cdd(0x15b)](TestFrameworkState[_0xf10cdd(0x112)],HookState['POST'],_0x44de76);const _0x6cb96c={'fixture':_0x5ca6c3,'test':_0x363ec9,'fixtureIdentifier':_0x573f8f[_0xf10cdd(0x158)](getFixtureIdentifier,_0x5ca6c3),'userAgents':_0x16fcc7};await _0x184eb1[_0xf10cdd(0x15b)](TestFrameworkState[_0xf10cdd(0x159)],HookState[_0xf10cdd(0x139)],_0x6cb96c),await _0x184eb1[_0xf10cdd(0x15b)](TestFrameworkState[_0xf10cdd(0x159)],HookState['POST'],_0x6cb96c);}}}),'reportTaskDone':_0x573f8f['OQuKE'](_0x36049a,async function _0x143482(_0x2ae9fb,_0x127d0e,_0x3e2583,_0x12d3ad){const _0x1c78c4=_0x5841f2;while(_0x472d36['fixtureStack']['length']){const _0x5a0164=_0x472d36['fixtureStack'][_0x1c78c4(0x137)]();if(BrowserstackCLI[_0x1c78c4(0x129)]()&&BrowserstackCLI[_0x1c78c4(0x129)]()[_0x1c78c4(0x10b)]()){const _0x32739e=BrowserstackCLI[_0x1c78c4(0x129)](),_0x4f22d1=_0x32739e[_0x1c78c4(0x169)]();if(_0x4f22d1&&_0x573f8f[_0x1c78c4(0x16a)](typeof _0x4f22d1[_0x1c78c4(0x15b)],_0x573f8f['bbKfT'])){const _0x28ceec=_0x472d36['currentTaskInfo']&&_0x472d36[_0x1c78c4(0x13c)][_0x1c78c4(0x113)]||[],_0x25a5e={'fixture':_0x5a0164,'fixtureIdentifier':_0x573f8f[_0x1c78c4(0x117)](getFixtureIdentifier,_0x5a0164),'userAgents':_0x28ceec};await _0x4f22d1[_0x1c78c4(0x15b)](TestFrameworkState['AFTER_ALL'],HookState['PRE'],_0x25a5e),await _0x4f22d1[_0x1c78c4(0x15b)](TestFrameworkState[_0x1c78c4(0x124)],HookState[_0x1c78c4(0x146)],_0x25a5e);}}}if(BrowserstackCLI[_0x1c78c4(0x129)]()&&BrowserstackCLI[_0x1c78c4(0x129)]()['isRunning']()){const _0x983836=BrowserstackCLI[_0x1c78c4(0x129)](),_0x322c3c=_0x983836[_0x1c78c4(0x16b)]();if(_0x322c3c&&_0x573f8f[_0x1c78c4(0x163)](typeof _0x322c3c[_0x1c78c4(0x15b)],_0x573f8f[_0x1c78c4(0x128)]))for(const {userAgent:_0x300954,platformIndex:_0x1fbc34,instance:_0x5da2bd}of TestCafeAutomationFramework[_0x1c78c4(0x150)]()){try{const _0x3ec7ef={};_0x3ec7ef[_0x1c78c4(0x10c)]=_0x300954,_0x3ec7ef[_0x1c78c4(0x123)]=_0x1fbc34,_0x3ec7ef[_0x1c78c4(0x15c)]=_0x2ae9fb,_0x3ec7ef[_0x1c78c4(0x134)]=_0x5da2bd,await _0x322c3c['trackEvent'](AutomationFrameworkState['QUIT'],HookState[_0x1c78c4(0x146)],_0x3ec7ef);}catch(_0x2c7691){logger[_0x1c78c4(0x136)](_0x1c78c4(0x125)+_0x300954+'#'+_0x1fbc34+':\x20'+_0x2c7691[_0x1c78c4(0x130)]);}TestCafeAutomationFramework['removeInstance'](_0x300954,_0x1fbc34);}}logger[_0x1c78c4(0x140)](_0x1c78c4(0x148)+_0x127d0e+_0x1c78c4(0x170)+(_0x3e2583&&_0x3e2583[_0x1c78c4(0x110)])+_0x1c78c4(0x13e)+(_0x12d3ad&&_0x573f8f[_0x1c78c4(0x13b)](_0x573f8f[_0x1c78c4(0x13b)](_0x12d3ad['failedCount'],_0x12d3ad['passedCount']),_0x12d3ad[_0x1c78c4(0x161)])));})};};function a67_0x546e(){const _0x4afd42=['\x20@\x20','1690RdTXnt','../../v2/TestInfo','../../v2/framework/automationFramework','fixtureStack','getTestFramework','MLTtV','getAutomationFramework','durationMs','xGwJF','../../v2/browserstackCLI','sessionId','\x20warnings=','../session-registry','testCount',',\x20skipped=','taskStructure','isRunning','userAgent','../../v2/state/hookState','name','winstonLogger','length','handler','TEST','userAgents','1537270WODxDe','nYKhg','12nKSBLb','OQuKE','6888968xGCsNV','24BWbsWQ','push','INIT_TEST','kZWny','BEFORE_ALL','fixtureName','XGacz','driver','setup','wktpQ','platformIndex','AFTER_ALL','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','80664oZWslK','debug','bbKfT','getInstance','\x20tests\x20across\x20','testStartInfo','hubUrl','function','meta','screenshots','message','6710796PNMlmh','aKkwn','BEFORE_EACH','instance','isInteger','error','pop','206248QZdMYI','PRE','capabilities','jgxhG','currentTaskInfo','errs','\x20totalDuration=','map','info','testcafe','31528310XmPUmy','testRunInfo','hPjKu','path','POST','11332WkHAmk','[testcafe-reporter]\x20reportTaskDone:\x20passed=','./tcUtils','isArray','\x20browsers','CREATE','unstable','exports','fixturePath','iterAllInstances','filter','testName','startTime','properties','../../v2/state/testFrameworkState','\x20(errs=','test','zgrNZ','AFTER_EACH','quarantine','trackEvent','endTime','stack','../../../helpers/logger','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','bGqWx','skippedCount','gACxz','CYmPd'];a67_0x546e=function(){return _0x4afd42;};return a67_0x546e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a68_0x67880c=a68_0x226e;(function(_0x2afc3e,_0x488ae0){const _0x37d5be=a68_0x226e,_0x396455=_0x2afc3e();while(!![]){try{const _0x2328f8=-parseInt(_0x37d5be(0x137))/0x1*(parseInt(_0x37d5be(0x13d))/0x2)+parseInt(_0x37d5be(0x14a))/0x3+-parseInt(_0x37d5be(0x134))/0x4*(parseInt(_0x37d5be(0x12f))/0x5)+-parseInt(_0x37d5be(0x141))/0x6+-parseInt(_0x37d5be(0x140))/0x7+-parseInt(_0x37d5be(0x149))/0x8+parseInt(_0x37d5be(0x143))/0x9*(parseInt(_0x37d5be(0x152))/0xa);if(_0x2328f8===_0x488ae0)break;else _0x396455['push'](_0x396455['shift']());}catch(_0x274b86){_0x396455['push'](_0x396455['shift']());}}}(a68_0x2735,0x87187));function getTestIdentifier(_0x150f42,_0x3ec133){const _0x3c5449=a68_0x226e,_0x3d628d={};_0x3d628d[_0x3c5449(0x13f)]=_0x3c5449(0x146);const _0x1a18d4=_0x3d628d,_0x22c2fa=_0x150f42&&_0x150f42[_0x3c5449(0x13e)]&&_0x150f42[_0x3c5449(0x13e)][_0x3c5449(0x151)]||_0x1a18d4[_0x3c5449(0x13f)],_0x3eb6e9=_0x150f42&&_0x150f42[_0x3c5449(0x13e)]&&_0x150f42[_0x3c5449(0x13e)][_0x3c5449(0x13a)]||_0x1a18d4[_0x3c5449(0x13f)],_0x11f64f=_0x150f42&&_0x150f42[_0x3c5449(0x13a)]||_0x1a18d4['nWfii'],_0x8d427f=_0x22c2fa+'::'+_0x3eb6e9+'::'+_0x11f64f;return _0x3ec133?_0x8d427f+_0x3c5449(0x13c)+_0x3ec133:_0x8d427f;}function getFixtureIdentifier(_0xe8f49c){const _0x431fc2=a68_0x226e,_0x5bbe2a={};_0x5bbe2a[_0x431fc2(0x138)]=_0x431fc2(0x146);const _0x44609f=_0x5bbe2a,_0x5574f7=_0xe8f49c&&_0xe8f49c[_0x431fc2(0x151)]||_0x44609f[_0x431fc2(0x138)],_0x57c970=_0xe8f49c&&_0xe8f49c[_0x431fc2(0x13a)]||_0x44609f[_0x431fc2(0x138)];return _0x5574f7+'::'+_0x57c970;}function a68_0x2735(){const _0x4ea142=['synthesizeTestObject','unknown','exports','GZVfk','4649976jwcFXN','2994786dRJfKQ','function','filter','lBPBr','screenshots','GbgoJ','getTestIdentifier','path','83350nitABY','215ebeRmo','renderSync','getScreenshotPaths','screenshotPathForPDF','formatError','45416eFxGFQ','screenshotPath','code','68gWpoei','mDQTE','map','name','AJzmt','::retry','16486ENLJQb','fixture','nWfii','1882097GHwots','4828992ubxXUb','isArray','2439NkijAc','callsite'];a68_0x2735=function(){return _0x4ea142;};return a68_0x2735();}function synthesizeTestObject({fixtureName:_0x18656b,fixturePath:_0x175381,testName:_0x12803b,meta:_0x17514e}){const _0x259d29=a68_0x226e,_0x12d9fd={};_0x12d9fd[_0x259d29(0x14f)]=function(_0x259005,_0x43138a){return _0x259005||_0x43138a;};const _0x54703c=_0x12d9fd,_0x20cfa3={};return _0x20cfa3[_0x259d29(0x13a)]=_0x18656b,_0x20cfa3[_0x259d29(0x151)]=_0x175381,{'name':_0x12803b,'meta':_0x54703c[_0x259d29(0x14f)](_0x17514e,{}),'fixture':_0x20cfa3};}function a68_0x226e(_0x21ca59,_0x2c9f1e){const _0x273511=a68_0x2735();return a68_0x226e=function(_0x226e5e,_0x57aad8){_0x226e5e=_0x226e5e-0x12f;let _0x32d6d3=_0x273511[_0x226e5e];return _0x32d6d3;},a68_0x226e(_0x21ca59,_0x2c9f1e);}function getScreenshotPaths(_0x4b4b69){const _0x577b83=a68_0x226e;if(!_0x4b4b69||!Array[_0x577b83(0x142)](_0x4b4b69[_0x577b83(0x14e)]))return[];return _0x4b4b69['screenshots'][_0x577b83(0x139)](_0x3d51b6=>_0x3d51b6&&(_0x3d51b6[_0x577b83(0x135)]||_0x3d51b6[_0x577b83(0x132)])||null)[_0x577b83(0x14c)](Boolean);}function formatError(_0x2ff5c2){const _0x3df39a=a68_0x226e,_0x4c570d={'AJzmt':'TestCafeError','owhxA':function(_0x138f75,_0x48662a){return _0x138f75(_0x48662a);}};if(!_0x2ff5c2)return null;return{'type':_0x2ff5c2[_0x3df39a(0x136)]||_0x4c570d[_0x3df39a(0x13b)],'message':_0x2ff5c2['formattedMessage']||_0x2ff5c2['errMsg']||_0x4c570d['owhxA'](String,_0x2ff5c2),'stack':_0x4c570d['owhxA'](_tryRenderCallsite,_0x2ff5c2)};}function _tryRenderCallsite(_0x4e3f15){const _0x3ba1b1=a68_0x226e,_0x41a956={};_0x41a956[_0x3ba1b1(0x148)]=function(_0x277997,_0x272ac8){return _0x277997===_0x272ac8;},_0x41a956[_0x3ba1b1(0x14d)]=_0x3ba1b1(0x14b);const _0x3dda9f=_0x41a956;try{if(_0x4e3f15&&_0x4e3f15[_0x3ba1b1(0x144)]&&_0x3dda9f[_0x3ba1b1(0x148)](typeof _0x4e3f15[_0x3ba1b1(0x144)][_0x3ba1b1(0x130)],_0x3dda9f[_0x3ba1b1(0x14d)])){const _0x59360b={};return _0x59360b['stackFilter']=()=>!![],_0x4e3f15[_0x3ba1b1(0x144)][_0x3ba1b1(0x130)](_0x59360b);}}catch(_0x2332c2){}return'';}const a68_0x29f2b0={};a68_0x29f2b0[a68_0x67880c(0x150)]=getTestIdentifier,a68_0x29f2b0['getFixtureIdentifier']=getFixtureIdentifier,a68_0x29f2b0[a68_0x67880c(0x145)]=synthesizeTestObject,a68_0x29f2b0[a68_0x67880c(0x131)]=getScreenshotPaths,a68_0x29f2b0[a68_0x67880c(0x133)]=formatError,module[a68_0x67880c(0x147)]=a68_0x29f2b0;
|