browserstack-node-sdk 1.65.3 → 1.65.4
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
|
+
const a61_0x804d4c=a61_0x5c16;(function(_0x3749ea,_0x5b73a5){const _0x2de269=a61_0x5c16,_0xaee94f=_0x3749ea();while(!![]){try{const _0x4721a6=parseInt(_0x2de269(0x19f))/0x1+-parseInt(_0x2de269(0x1a9))/0x2*(-parseInt(_0x2de269(0x1b3))/0x3)+-parseInt(_0x2de269(0x1c0))/0x4*(-parseInt(_0x2de269(0x1b7))/0x5)+parseInt(_0x2de269(0x1c6))/0x6+parseInt(_0x2de269(0x196))/0x7+parseInt(_0x2de269(0x1bf))/0x8+parseInt(_0x2de269(0x1ce))/0x9*(-parseInt(_0x2de269(0x1c5))/0xa);if(_0x4721a6===_0x5b73a5)break;else _0xaee94f['push'](_0xaee94f['shift']());}catch(_0x524ce1){_0xaee94f['push'](_0xaee94f['shift']());}}}(a61_0x38e7,0xf10e3));const fs=require('fs'),helper=require(a61_0x804d4c(0x1a6)),utilities=require('../helpers/utilities'),yaml=require(a61_0x804d4c(0x1d8)),yargs=require(a61_0x804d4c(0x1ca)),logger=require(a61_0x804d4c(0x1a1))[a61_0x804d4c(0x1a5)],configFileTemplate=__dirname+'/../../browserstack.yml.sample',configFileTemplatePW=__dirname+a61_0x804d4c(0x1a0),configFile=process[a61_0x804d4c(0x1c1)]()+'/browserstack.yml',packageFile=process[a61_0x804d4c(0x1c1)]()+a61_0x804d4c(0x1b8),frameworks=[a61_0x804d4c(0x1b0),'jest','cucumber-js',a61_0x804d4c(0x1b5),'nightwatch','codeceptjs',a61_0x804d4c(0x1d1)];let config;logger['info'](a61_0x804d4c(0x1bd)),createConfigurationFile(yargs['argv'][a61_0x804d4c(0x1ac)],yargs['argv'][a61_0x804d4c(0x1a3)],yargs['argv'][a61_0x804d4c(0x1d1)]);try{sdkSetup();}catch(a61_0x46345e){logger['debug'](a61_0x804d4c(0x1b6)+a61_0x46345e);}addScriptInPackageJson();function createConfigurationFile(_0x4bce37,_0x2bcdfd,_0x52b438=![]){const _0x1d8d38=a61_0x804d4c,_0x4658f8={};_0x4658f8[_0x1d8d38(0x1c8)]=_0x1d8d38(0x1d3),_0x4658f8[_0x1d8d38(0x1a2)]='YOUR_USERNAME',_0x4658f8['wTdwU']=_0x1d8d38(0x1b9);const _0x6886c9=_0x4658f8;try{let _0x4fe5a3=fs[_0x1d8d38(0x1d2)](_0x52b438?configFileTemplatePW:configFileTemplate,_0x6886c9['WFSHY']);_0x4bce37&&(_0x4fe5a3=_0x4fe5a3['replace'](_0x6886c9[_0x1d8d38(0x1a2)],_0x4bce37)),_0x2bcdfd&&(_0x4fe5a3=_0x4fe5a3[_0x1d8d38(0x1bc)](_0x6886c9[_0x1d8d38(0x1c7)],_0x2bcdfd)),config=yaml[_0x1d8d38(0x1a8)](_0x4fe5a3),fs[_0x1d8d38(0x1cb)](configFile,_0x4fe5a3,_0x5cb8fd=>{const _0x1aced6=_0x1d8d38;_0x5cb8fd&&logger[_0x1aced6(0x1bb)](_0x5cb8fd);});}catch(_0x11295c){logger[_0x1d8d38(0x1bb)](_0x11295c);}}function addPostInstallScript(_0x469da1,_0x1297e0){const _0x24af8c=a61_0x804d4c,_0x44b871={};_0x44b871[_0x24af8c(0x1ab)]=_0x24af8c(0x1c3),_0x44b871['WbcHb']='npm\x20update\x20browserstack-node-sdk',_0x44b871[_0x24af8c(0x19a)]=_0x24af8c(0x199);const _0x2dbb3a=_0x44b871;let _0x21acf0=_0x469da1[_0x2dbb3a['fUHyo']];if(_0x21acf0&&_0x21acf0['includes'](_0x2dbb3a['WbcHb']))return;!_0x21acf0?_0x21acf0=_0x2dbb3a['WbcHb']:_0x21acf0+=_0x2dbb3a['CsFlg'],_0x1297e0[_0x24af8c(0x1be)]([_0x2dbb3a[_0x24af8c(0x1ab)],_0x21acf0]);}function addScriptInPackageJson(){const _0x547b31=a61_0x804d4c,_0x335987={'rotbg':_0x547b31(0x1d3),'ocCfZ':function(_0x12dc33,_0x285424){return _0x12dc33<_0x285424;},'SboWm':function(_0x27c1d6,_0x2bf6f2,_0x1018bf){return _0x27c1d6(_0x2bf6f2,_0x1018bf);},'UbVkY':function(_0xe4c96b,_0x3d7d6c,_0x3adac6){return _0xe4c96b(_0x3d7d6c,_0x3adac6);},'ULTrZ':function(_0x1e2c56,_0x4a1a76,_0x40f08d){return _0x1e2c56(_0x4a1a76,_0x40f08d);},'YYkNz':function(_0x1651fb,_0x1bc983){return _0x1651fb<_0x1bc983;},'xAxOz':function(_0x265a4d,_0x88c77a){return _0x265a4d!==_0x88c77a;},'pDixF':'Adding\x20new\x20script(s)\x20in\x20package.json...'},_0x49da10=JSON['parse'](fs[_0x547b31(0x1d2)](packageFile,_0x335987[_0x547b31(0x193)])),_0x2abdd2=[];for(let _0x2a6eef=0x0;_0x335987[_0x547b31(0x1d0)](_0x2a6eef,frameworks[_0x547b31(0x19b)]);_0x2a6eef+=0x1){const _0x2132e4=_0x335987[_0x547b31(0x1cf)](findScriptsWithFramework,_0x49da10[_0x547b31(0x195)],frameworks[_0x2a6eef]);for(let _0x1cd49d=0x0;_0x335987[_0x547b31(0x1d0)](_0x1cd49d,_0x2132e4[_0x547b31(0x19b)]);_0x1cd49d+=0x1){_0x2abdd2[_0x547b31(0x1be)](_0x335987[_0x547b31(0x1cd)](getUpdatedCommand,_0x49da10[_0x547b31(0x195)],_0x2132e4[_0x1cd49d]));}_0x335987['ULTrZ'](addPostInstallScript,_0x49da10[_0x547b31(0x195)],_0x2abdd2);}const _0x37350b={..._0x49da10[_0x547b31(0x195)]},_0x32c723=_0x37350b;for(let _0x580a5a=0x0;_0x335987[_0x547b31(0x198)](_0x580a5a,_0x2abdd2[_0x547b31(0x19b)]);_0x580a5a+=0x1){_0x32c723[_0x2abdd2[_0x580a5a][0x0]]=_0x2abdd2[_0x580a5a][0x1];}_0x335987['xAxOz'](JSON[_0x547b31(0x1ae)](_0x49da10[_0x547b31(0x195)]),JSON[_0x547b31(0x1ae)](_0x32c723))&&(logger['info'](_0x335987['pDixF']),_0x49da10['scripts']=_0x32c723,fs[_0x547b31(0x1cb)](packageFile,JSON['stringify'](_0x49da10,null,0x2),_0x4d13f0=>{_0x4d13f0&&logger['error'](_0x4d13f0);}));};function a61_0x5c16(_0xde2021,_0x85697b){const _0x38e73c=a61_0x38e7();return a61_0x5c16=function(_0x5c164d,_0x2f2a53){_0x5c164d=_0x5c164d-0x192;let _0x15e925=_0x38e73c[_0x5c164d];return _0x15e925;},a61_0x5c16(_0xde2021,_0x85697b);}function a61_0x38e7(){const _0x2cc30b=['username','fireFunnelTestEvent','stringify','splice','mocha','lfdKa','includes','21RlVaWS','oixNL','node','Error\x20in\x20Fire\x20SDKSetup.\x20Stacktrace:\x20','9037580ZhWXvZ','/package.json','YOUR_ACCESS_KEY','info','error','replace','Creating\x20configuration\x20file...','push','1798536ysDUUF','4FFAoHX','cwd','node-setup','postinstall','indexOf','55994120SqVDin','9531222GEdYUS','wTdwU','WFSHY','browserstack-node-sdk','yargs','writeFileSync','Setup\x20completed','UbVkY','9LuWniF','SboWm','ocCfZ','playwright','readFileSync','utf8','Kpsee','split','source','SDKSetup','js-yaml','rxIbm','rotbg','browserstack-node-sdk\x20','scripts','10029775ZZmZKl','tyQvX','YYkNz','\x20&&\x20npm\x20update\x20browserstack-node-sdk','CsFlg','length','uIFZp','ObRNU','entries','912691gaVChm','/../../browserstack.pw.yml.sample','../helpers/logger','LWnbi','key','isUndefined','winstonLogger','../helpers/helper','-browserstack','load','177254fyjqGU','join','fUHyo'];a61_0x38e7=function(){return _0x2cc30b;};return a61_0x38e7();}function findScriptsWithFramework(_0x48a0ee,_0x2b8420){const _0x42ca45=a61_0x804d4c,_0xb4b66={};_0xb4b66[_0x42ca45(0x197)]=function(_0x8e8d3d,_0x5081ce){return _0x8e8d3d<_0x5081ce;},_0xb4b66['lfdKa']='browserstack-node-sdk';const _0xfc9c45=_0xb4b66,_0x558366=[],_0x15268d=Object[_0x42ca45(0x19e)](_0x48a0ee);for(let _0x47bc99=0x0;_0xfc9c45[_0x42ca45(0x197)](_0x47bc99,_0x15268d[_0x42ca45(0x19b)]);_0x47bc99+=0x1){_0x15268d[_0x47bc99][0x1][_0x42ca45(0x1b2)](_0x2b8420)&&!_0x15268d[_0x47bc99][0x1]['includes'](_0xfc9c45[_0x42ca45(0x1b1)])&&_0x558366['push'](_0x15268d[_0x47bc99][0x0]);}return _0x558366;}function getUpdatedCommand(_0x4948a4,_0x2a2a05){const _0x287d4c=a61_0x804d4c,_0x14a209={};_0x14a209[_0x287d4c(0x192)]=function(_0x5a651d,_0x16da32){return _0x5a651d!==_0x16da32;},_0x14a209[_0x287d4c(0x1b4)]=_0x287d4c(0x1c9),_0x14a209[_0x287d4c(0x1d4)]=function(_0x2a0237,_0x39b0bb){return _0x2a0237===_0x39b0bb;};const _0x3e75b1=_0x14a209,_0x460523=_0x2a2a05+_0x287d4c(0x1a7),_0x664840=_0x4948a4[_0x2a2a05],_0x16aada=_0x664840[_0x287d4c(0x1d5)]('\x20');for(const _0x429b95 of frameworks){if(_0x3e75b1[_0x287d4c(0x192)](_0x16aada[_0x287d4c(0x1c4)](_0x429b95),-0x1)){_0x16aada[_0x287d4c(0x1af)](_0x16aada[_0x287d4c(0x1c4)](_0x429b95),0x0,_0x3e75b1[_0x287d4c(0x1b4)]);break;}}let _0x136a95=_0x16aada[_0x287d4c(0x1aa)]('\x20');return _0x3e75b1['Kpsee'](_0x136a95,_0x664840)&&(_0x136a95=_0x287d4c(0x194)+_0x664840),[_0x460523,_0x136a95];}function sdkSetup(){const _0xf67bcc=a61_0x804d4c,_0x18d59e={};_0x18d59e['uIFZp']=_0xf67bcc(0x1c2),_0x18d59e[_0xf67bcc(0x19d)]=_0xf67bcc(0x1d7);const _0x12a5ae=_0x18d59e;if(helper[_0xf67bcc(0x1a4)](config))return;config[_0xf67bcc(0x1d6)]=_0x12a5ae[_0xf67bcc(0x19c)];try{utilities[_0xf67bcc(0x1ad)](_0x12a5ae[_0xf67bcc(0x19d)],{},config,'');}catch(_0xc1e08d){logger['debug'](_0xf67bcc(0x1b6)+_0xc1e08d);}}logger[a61_0x804d4c(0x1ba)](a61_0x804d4c(0x1cc));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a62_0x4407(_0x3ec0fc,_0x524869){const _0x594605=a62_0x5946();return a62_0x4407=function(_0x440772,_0x2cc4b0){_0x440772=_0x440772-0x156;let _0x23ed7e=_0x594605[_0x440772];return _0x23ed7e;},a62_0x4407(_0x3ec0fc,_0x524869);}const a62_0x61401c=a62_0x4407;(function(_0x22fc31,_0x30262e){const _0x2e730d=a62_0x4407,_0x31f5b4=_0x22fc31();while(!![]){try{const _0x55d170=parseInt(_0x2e730d(0x177))/0x1*(-parseInt(_0x2e730d(0x157))/0x2)+parseInt(_0x2e730d(0x16c))/0x3+-parseInt(_0x2e730d(0x176))/0x4+parseInt(_0x2e730d(0x191))/0x5*(-parseInt(_0x2e730d(0x16a))/0x6)+-parseInt(_0x2e730d(0x197))/0x7+parseInt(_0x2e730d(0x1bd))/0x8*(parseInt(_0x2e730d(0x165))/0x9)+parseInt(_0x2e730d(0x1ae))/0xa;if(_0x55d170===_0x30262e)break;else _0x31f5b4['push'](_0x31f5b4['shift']());}catch(_0x68991){_0x31f5b4['push'](_0x31f5b4['shift']());}}}(a62_0x5946,0xb18ed));function a62_0x5946(){const _0x4e1ab1=['PapeA','config','worker_threads','../../helpers/performance/constants','p-limit','configuration','oXyvM','nMfdE','debug','SDK_SETUP','json','info','aCUEk','file','emit','log','postMessage','133675CfjjvT','pBNdI','OwEkY','Xxknd','CcyRj','YPVlH','10077081qBdEOn','length','error','KaRJH','VQAVv','platformIndex','_child','orGEJ','winstonLogger','wCowT','fkpaz','Exception\x20in\x20stop\x20build\x20request\x20to\x20Testhub\x20:\x20','waitForExit','test-file-failure','POJHg','end','YmLZP','stdout','XiKRj','push','platform-run-success','test-file-start','stderr','24452740wHKagH','vXvwH','../../helpers/test-observability/utils','mRSOw','QXZNw','jest-worker','Worker','getStderr','lgHob','gkEQU','SXQFa','KQpoo','../../helpers/testhub/testhubHandler','getWorkers','futEB','47224yAHfwU','test-file-success','platformCaps','WeDUb','parallelCucumberRun','AyEnC','resolve','../../helpers/logger','34bnEJDt','LnEKZ','eREAs','EVENTS','JFedP','QdAcW','then','platform','exit','pipe','all','format','ualEs','qwXEQ','1098DdmWzB','nYEih','cucumberWorker','yaCfN','parallelVanillaRun','36vkqeyV','./testWorker.js','3321432gauHNm','Workers\x20failed\x20to\x20exit\x20gracefully','platform-run-failure','Running\x20','vanillaWorker','results','FejAZ','UNSTABLE_onCustomMessage','exitCode','stop','4568528djEGbf','47246PiwgUy','QEKRE','_workerPool','worker','../../helpers/performance/performance-tester','map','Exception\x20in\x20adding\x20custom\x20message\x20channel\x20','platform-run-start','getStdout'];a62_0x5946=function(){return _0x4e1ab1;};return a62_0x5946();}const Worker=require(a62_0x61401c(0x1b3))[a62_0x61401c(0x1b4)],Emittery=require('emittery'),pLimit=require(a62_0x61401c(0x184)),{parentPort}=require(a62_0x61401c(0x182)),util=require('util'),logger=require(a62_0x61401c(0x156))[a62_0x61401c(0x19f)],PerformanceTester=require(a62_0x61401c(0x17b)),PerformanceEvents=require(a62_0x61401c(0x183))[a62_0x61401c(0x15a)],{debug}=require(a62_0x61401c(0x1b0)),TestHubHandler=require(a62_0x61401c(0x1ba));exports['parallelTestRun']=(_0x437776,_0x2d8194,_0x4d6c55)=>new Promise(async _0x151238=>{const _0x3cafea=a62_0x61401c,_0x2eecdf={'LnEKZ':'failureCount','KaRJH':function(_0x3baf7a,_0x3537ff){return _0x3baf7a+_0x3537ff;},'CcyRj':_0x3cafea(0x171),'gkEQU':_0x3cafea(0x16d),'aCUEk':function(_0x29f94f,_0x298b53){return _0x29f94f(_0x298b53);},'fkpaz':_0x3cafea(0x1ac),'futEB':_0x3cafea(0x16b),'nMfdE':_0x3cafea(0x17a),'vXvwH':_0x3cafea(0x18a),'TCVsz':_0x3cafea(0x160),'QdAcW':function(_0x589ccc,_0x40c715){return _0x589ccc*_0x40c715;},'IGlBF':_0x3cafea(0x1be),'WeDUb':'test-file-failure','eREAs':function(_0x22aa09,_0x1a6754){return _0x22aa09(_0x1a6754);},'Ndmac':function(_0x258476,_0xda1003){return _0x258476*_0xda1003;}},_0x390a83=_0x4d6c55[_0x3cafea(0x181)],_0x3c7210={},_0x4b56ba=new Worker(require[_0x3cafea(0x1c3)](_0x2eecdf[_0x3cafea(0x1bc)]),{'exposedMethods':[_0x2eecdf[_0x3cafea(0x187)]],'forkOptions':{'serialization':_0x2eecdf[_0x3cafea(0x1af)],'stdio':_0x2eecdf['TCVsz']},'idleMemoryLimit':undefined,'maxRetries':0x0,'numWorkers':_0x2eecdf[_0x3cafea(0x15c)](_0x2d8194,0x1),'enableWorkerThreads':!![]}),_0xc78f39=new Emittery();_0xc78f39['on'](_0x2eecdf['IGlBF'],_0x4e85e2=>{const _0x1facab=_0x3cafea;_0x3c7210[_0x4e85e2[0x0]]?(_0x3c7210[_0x4e85e2[0x0]][_0x2eecdf['LnEKZ']]=_0x2eecdf[_0x1facab(0x19a)](_0x3c7210[_0x4e85e2[0x0]][_0x2eecdf[_0x1facab(0x158)]],_0x4e85e2[0x1][_0x2eecdf[_0x1facab(0x158)]]),_0x3c7210[_0x4e85e2[0x0]][_0x2eecdf['CcyRj']]=[..._0x3c7210[_0x4e85e2[0x0]][_0x2eecdf[_0x1facab(0x195)]],..._0x4e85e2[0x1][_0x2eecdf[_0x1facab(0x195)]]]):_0x3c7210[_0x4e85e2[0x0]]={'failureCount':_0x4e85e2[0x1][_0x2eecdf[_0x1facab(0x158)]],'results':[..._0x4e85e2[0x1][_0x2eecdf['CcyRj']]]};}),_0xc78f39['on'](_0x2eecdf[_0x3cafea(0x1c0)],_0x193bc4=>console['log'](_0x193bc4[0x1]));_0x4b56ba['getStdout']()&&_0x4b56ba[_0x3cafea(0x17f)]()['pipe'](process[_0x3cafea(0x1a8)]);_0x4b56ba['getStderr']()&&_0x4b56ba[_0x3cafea(0x1b5)]()[_0x3cafea(0x160)](process[_0x3cafea(0x1ad)]);const _0x2b92ea=async()=>{const _0x16e5f3=_0x3cafea,{forceExited:_0x514211}=await _0x4b56ba[_0x16e5f3(0x1a6)]();_0x514211&&console[_0x16e5f3(0x199)](_0x2eecdf[_0x16e5f3(0x1b7)]);try{await TestHubHandler[_0x16e5f3(0x175)]();}catch(_0x550c78){_0x2eecdf[_0x16e5f3(0x18c)](debug,_0x16e5f3(0x1a2)+_0x550c78);}_0x2eecdf[_0x16e5f3(0x18c)](_0x151238,_0x3c7210);},_0x2047c5=_0x2eecdf[_0x3cafea(0x159)](pLimit,_0x2eecdf['Ndmac'](_0x2d8194,0x1)),_0x5f339b=_0xdd181d=>_0x2047c5(async()=>{const _0x2d4a23=_0x3cafea;await _0xc78f39[_0x2d4a23(0x18e)](_0x2eecdf[_0x2d4a23(0x1a1)],_0xdd181d);const _0x408f69=_0x4b56ba[_0x2d4a23(0x17a)](_0xdd181d,_0x390a83);try{parentPort&&_0x408f69[_0x2d4a23(0x173)](_0x390360=>{const _0x49cbfd=_0x2d4a23;try{parentPort[_0x49cbfd(0x190)](_0x390360);}catch(_0x25dd11){logger[_0x49cbfd(0x188)]('Exception\x20in\x20sending\x20worker\x20message\x20'+util[_0x49cbfd(0x162)](_0x25dd11));}});}catch(_0x45dcc2){logger[_0x2d4a23(0x188)](_0x2d4a23(0x17d)+util[_0x2d4a23(0x162)](_0x45dcc2));}return _0x408f69;});PerformanceTester[_0x3cafea(0x1a6)](PerformanceEvents[_0x3cafea(0x189)]),Promise[_0x3cafea(0x161)](_0x437776[_0x3cafea(0x17c)](_0x2991df=>_0x5f339b(_0x2991df)['then'](_0x2fa0b2=>_0xc78f39[_0x3cafea(0x18e)]('test-file-success',[_0x2991df[_0x3cafea(0x185)][_0x3cafea(0x15e)],_0x2fa0b2]),_0x314275=>_0xc78f39['emit'](_0x3cafea(0x1a4),[_0x2991df,_0x314275]))))[_0x3cafea(0x15d)](_0x2b92ea,_0x2b92ea);}),exports[a62_0x61401c(0x1c1)]=(_0x8bdd93,_0x40d6b8,_0x48f386,_0x57345c,_0x434a94)=>{const _0x5b7a95=a62_0x61401c,_0x40e429={'AyEnC':_0x5b7a95(0x17e),'dpnEN':_0x5b7a95(0x16d),'KQpoo':function(_0x337b0b,_0x5ea7f9){return _0x337b0b(_0x5ea7f9);},'nYEih':'./testWorker.js','FejAZ':_0x5b7a95(0x167),'ualEs':_0x5b7a95(0x18a),'Zwsag':_0x5b7a95(0x160),'YmLZP':_0x5b7a95(0x1ab),'XiKRj':'platform-run-failure'};return new Promise(_0x36b744=>{const _0x94fe88=_0x5b7a95,_0x4ce384={'JFedP':_0x40e429['dpnEN'],'VQAVv':function(_0x435261,_0x1a6cbd){const _0x95f554=a62_0x4407;return _0x40e429[_0x95f554(0x1b9)](_0x435261,_0x1a6cbd);}},_0x1681a4=[],_0x34e72f=new Worker(require['resolve'](_0x40e429[_0x94fe88(0x166)]),{'exposedMethods':[_0x40e429[_0x94fe88(0x172)]],'forkOptions':{'serialization':_0x40e429[_0x94fe88(0x163)],'stdio':_0x40e429['Zwsag']},'numWorkers':_0x8bdd93[_0x94fe88(0x198)]||0x1,'enableWorkerThreads':!![],'idleMemoryLimit':undefined,'maxRetries':0x0}),_0x31211a=new Emittery();_0x31211a['on'](_0x40e429[_0x94fe88(0x1a7)],_0x57b8a5=>{const _0x25eeda=_0x94fe88;_0x1681a4[_0x25eeda(0x1aa)]([_0x57b8a5[0x0],_0x57b8a5[0x1]]);}),_0x31211a['on'](_0x40e429[_0x94fe88(0x1a9)],_0x4dae25=>console[_0x94fe88(0x18f)](_0x4dae25[0x1]));_0x34e72f[_0x94fe88(0x17f)]()&&_0x34e72f[_0x94fe88(0x17f)]()[_0x94fe88(0x160)](process[_0x94fe88(0x1a8)]);_0x34e72f['getStderr']()&&_0x34e72f[_0x94fe88(0x1b5)]()[_0x94fe88(0x160)](process[_0x94fe88(0x1ad)]);const _0x58c2da=async()=>{const _0x695af5=_0x94fe88,{forceExited:_0x892d9c}=await _0x34e72f[_0x695af5(0x1a6)]();_0x892d9c&&console[_0x695af5(0x199)](_0x4ce384[_0x695af5(0x15b)]),_0x4ce384[_0x695af5(0x19b)](_0x36b744,_0x1681a4);},_0x56adc5=_0x40e429[_0x94fe88(0x1b9)](pLimit,_0x8bdd93[_0x94fe88(0x198)]||0x1),_0x3f6b2a=(_0x5c4e31,_0x33aafb)=>_0x56adc5(async()=>{const _0x50cd5e=_0x94fe88;return await _0x31211a['emit'](_0x40e429[_0x50cd5e(0x1c2)],_0x5c4e31),_0x40d6b8[_0x50cd5e(0x1bf)]=_0x48f386['platforms'][_0x33aafb],_0x40d6b8[_0x50cd5e(0x19c)]=_0x33aafb,_0x34e72f['cucumberWorker'](_0x5c4e31,_0x40d6b8,_0x48f386,_0x57345c,_0x434a94);});Promise[_0x94fe88(0x161)](_0x8bdd93['map']((_0x328a6f,_0x334225)=>_0x3f6b2a(_0x328a6f,_0x334225)[_0x94fe88(0x15d)](_0x409c0b=>_0x31211a[_0x94fe88(0x18e)](_0x94fe88(0x1ab),[_0x328a6f,_0x409c0b]),_0x3c8cfa=>_0x31211a[_0x94fe88(0x18e)](_0x94fe88(0x16e),[_0x328a6f,_0x3c8cfa]))))[_0x94fe88(0x15d)](_0x58c2da,_0x58c2da);});},exports[a62_0x61401c(0x169)]=(_0x849e1b,_0x42ec02)=>new Promise(_0x1bf221=>{const _0x3d6543=a62_0x61401c,_0x27281b={'SXQFa':function(_0x184690,_0x4dd01e){return _0x184690===_0x4dd01e;},'QEKRE':function(_0x2a0045,_0x2747cc){return _0x2a0045!==_0x2747cc;},'OwEkY':_0x3d6543(0x15f),'Xxknd':'Workers\x20failed\x20to\x20exit\x20gracefully','mRSOw':function(_0x4d3fac,_0x2f0adc){return _0x4d3fac(_0x2f0adc);},'orGEJ':_0x3d6543(0x16b),'pBNdI':'vanillaWorker','qwXEQ':'json','YPVlH':'pipe','POJHg':_0x3d6543(0x1be),'PapeA':'test-file-failure'},_0x14238c={},_0x1c8348=new Worker(require['resolve'](_0x27281b[_0x3d6543(0x19e)]),{'exposedMethods':[_0x27281b[_0x3d6543(0x192)]],'forkOptions':{'serialization':_0x27281b[_0x3d6543(0x164)],'stdio':_0x27281b[_0x3d6543(0x196)]},'numWorkers':_0x42ec02,'enableWorkerThreads':![],'maxRetries':0x0,'idleMemoryLimit':undefined}),_0x30caf2=new Emittery();_0x30caf2['on'](_0x27281b[_0x3d6543(0x1a5)],_0x16ac81=>{const _0x109337=_0x3d6543;_0x16ac81[0x0]&&logger[_0x109337(0x18b)](_0x109337(0x16f)+_0x16ac81[0x1]+'\x20for',_0x16ac81[0x0]);}),_0x30caf2['on'](_0x27281b[_0x3d6543(0x180)],_0x405672=>{const _0x50882f=_0x3d6543;process[_0x50882f(0x174)]=0x1;});_0x1c8348[_0x3d6543(0x17f)]()&&_0x1c8348['getStdout']()['pipe'](process[_0x3d6543(0x1a8)]);_0x1c8348[_0x3d6543(0x1b5)]()&&_0x1c8348[_0x3d6543(0x1b5)]()[_0x3d6543(0x160)](process[_0x3d6543(0x1ad)]);const _0x3d70df=async()=>{const _0x2197eb=_0x3d6543,_0x2ba682={'wCowT':function(_0x3db218,_0x444fd1){const _0x350228=a62_0x4407;return _0x27281b[_0x350228(0x1b8)](_0x3db218,_0x444fd1);},'oXyvM':function(_0x59ea28,_0x3a683e){const _0x2e6792=a62_0x4407;return _0x27281b[_0x2e6792(0x178)](_0x59ea28,_0x3a683e);},'lgHob':_0x27281b[_0x2197eb(0x193)]};let _0x750634=0x0;const _0x1b3eca=_0x1c8348[_0x2197eb(0x179)][_0x2197eb(0x1bb)](),_0x4da8a4=()=>{},_0x21ed4a=_0x1b3eca[_0x2197eb(0x17c)](async _0x139c7a=>{const _0x1920fc=_0x2197eb,_0x4af5ea={'yaCfN':function(_0x106c1f,_0x1643a6){const _0x141ec9=a62_0x4407;return _0x2ba682[_0x141ec9(0x1a0)](_0x106c1f,_0x1643a6);},'QXZNw':function(_0x8cf1c3,_0x1b5bb5){const _0x3743a5=a62_0x4407;return _0x2ba682[_0x3743a5(0x186)](_0x8cf1c3,_0x1b5bb5);}};_0x139c7a['send']([0x2,![]],_0x4da8a4,_0x4da8a4,_0x4da8a4),_0x139c7a[_0x1920fc(0x19d)]['on'](_0x2ba682[_0x1920fc(0x1b6)],_0x26894a=>{const _0x44f5dc=_0x1920fc;_0x4af5ea[_0x44f5dc(0x168)](_0x750634,0x0)&&_0x4af5ea[_0x44f5dc(0x1b2)](_0x26894a,0x0)&&(_0x750634=_0x26894a);}),await _0x139c7a[_0x1920fc(0x1a3)]();});await Promise[_0x2197eb(0x161)](_0x21ed4a),process[_0x2197eb(0x174)]=_0x750634;const {forceExited:_0x43ffe0}=await _0x1c8348[_0x2197eb(0x1a6)]();_0x43ffe0&&console['error'](_0x27281b[_0x2197eb(0x194)]),_0x27281b['mRSOw'](_0x1bf221,_0x14238c);},_0x245d33=_0x27281b[_0x3d6543(0x1b1)](pLimit,_0x42ec02),_0x209a49=_0x405840=>_0x245d33(async()=>{const _0x3d9524=_0x3d6543;return _0x1c8348[_0x3d9524(0x170)](_0x405840);});Promise[_0x3d6543(0x161)](_0x849e1b[_0x3d6543(0x17c)](_0x327278=>_0x209a49(_0x327278)['then'](_0x29e1f5=>_0x30caf2['emit']('test-file-success',[_0x327278[_0x3d6543(0x185)][_0x3d6543(0x15e)],_0x327278[_0x3d6543(0x185)][_0x3d6543(0x18d)]]),_0x25eaf5=>_0x30caf2[_0x3d6543(0x18e)](_0x3d6543(0x1a4),[_0x327278,_0x25eaf5]))))['then'](_0x3d70df,_0x3d70df);});
|
|
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 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a63_0x46b37c=a63_0x4704;function a63_0x4002(){const _0x2bc2c7=['SDK_POST_TEST','stopMonitoring','963998BqlBCu','run','22hINtQX','1889289hyvoHc','runVanillaTest','EVENTS','809529MtxHaV','AptPe','vanilla','29hHWsMJ','xzmbv','NPySS','4pcJTLE','startMonitoring','Ksget','XVtzW','../../helpers/performance/performance-tester','12OOhNUC','../../helpers/test-observability/utils','2426216lJegNH','jmIJu','cucumber-js','47200EjvGus','formatter','UawWg','mocha','end','configuration','../launcher/launcher','qwZxz','999260mAWSDU','7802uOMrtl'];a63_0x4002=function(){return _0x2bc2c7;};return a63_0x4002();}function a63_0x4704(_0x103c92,_0x3f7f0c){const _0x4002c0=a63_0x4002();return a63_0x4704=function(_0x470465,_0x2195fc){_0x470465=_0x470465-0xa6;let _0x3c6c2=_0x4002c0[_0x470465];return _0x3c6c2;},a63_0x4704(_0x103c92,_0x3f7f0c);}(function(_0x18d101,_0x3f038e){const _0x5464a3=a63_0x4704,_0x32af8c=_0x18d101();while(!![]){try{const _0x2bbd83=-parseInt(_0x5464a3(0xb0))/0x1*(parseInt(_0x5464a3(0xc6))/0x2)+-parseInt(_0x5464a3(0xad))/0x3*(-parseInt(_0x5464a3(0xb3))/0x4)+-parseInt(_0x5464a3(0xbd))/0x5*(parseInt(_0x5464a3(0xb8))/0x6)+parseInt(_0x5464a3(0xa7))/0x7+parseInt(_0x5464a3(0xba))/0x8+-parseInt(_0x5464a3(0xaa))/0x9+-parseInt(_0x5464a3(0xc5))/0xa*(parseInt(_0x5464a3(0xa9))/0xb);if(_0x2bbd83===_0x3f038e)break;else _0x32af8c['push'](_0x32af8c['shift']());}catch(_0x1ea1df){_0x32af8c['push'](_0x32af8c['shift']());}}}(a63_0x4002,0x2945c));const PerformanceEvents=require('../../helpers/performance/constants')[a63_0x46b37c(0xac)],PerformanceTester=require(a63_0x46b37c(0xb7)),{sleep}=require(a63_0x46b37c(0xb9));exports['runTest']=async(_0x39e9c7,_0x2bf11b)=>{const _0x400214=a63_0x46b37c,_0x378408={'qwZxz':function(_0x514c6a,_0x1759e9){return _0x514c6a(_0x1759e9);},'UawWg':_0x400214(0xc3),'jmIJu':_0x400214(0xc0)};PerformanceTester[_0x400214(0xb4)]();const _0x1919d5=_0x378408[_0x400214(0xc4)](require,_0x378408[_0x400214(0xbf)]),_0x40ba1b=new _0x1919d5(_0x378408[_0x400214(0xbb)],_0x39e9c7,_0x2bf11b),_0x5b6b14=await _0x40ba1b[_0x400214(0xa8)]();return PerformanceTester[_0x400214(0xc1)](PerformanceEvents[_0x400214(0xc7)]),await _0x378408[_0x400214(0xc4)](sleep,0x3e8),PerformanceTester[_0x400214(0xa6)](),_0x5b6b14;},exports['runCucumberTest']=async(_0x3a3bcf,_0x27c8cf,_0x209ee6,_0x58c98,_0x10db8d)=>{const _0x27ba33=a63_0x46b37c,_0x393428={'Ksget':function(_0x28163f,_0x5c43ac){return _0x28163f(_0x5c43ac);},'xmPkT':'../launcher/launcher','AptPe':_0x27ba33(0xbc)},_0x5c1c09={'capability':_0x3a3bcf,..._0x27c8cf},_0x44ed26={};_0x44ed26[_0x27ba33(0xc2)]=_0x5c1c09,_0x44ed26[_0x27ba33(0xbe)]=_0x10db8d;const _0x26dcbe=_0x44ed26,_0x1ed103=_0x393428[_0x27ba33(0xb5)](require,_0x393428['xmPkT']),_0x1da9ff=new _0x1ed103(_0x393428[_0x27ba33(0xae)],_0x26dcbe,_0x209ee6,_0x58c98);return await _0x1da9ff['run']();},exports[a63_0x46b37c(0xab)]=async _0x255473=>{const _0x4ebe4c=a63_0x46b37c,_0x59f3f9={'XVtzW':function(_0x5ccee6,_0x3f6871){return _0x5ccee6(_0x3f6871);},'xzmbv':'../launcher/launcher','NPySS':_0x4ebe4c(0xaf)},_0x4331d2=_0x59f3f9[_0x4ebe4c(0xb6)](require,_0x59f3f9[_0x4ebe4c(0xb1)]),_0x296b51=new _0x4331d2(_0x59f3f9[_0x4ebe4c(0xb2)],_0x255473);return await _0x296b51[_0x4ebe4c(0xa8)]();};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a64_0x4da85b=a64_0x3064;function a64_0x3064(_0x5e37b5,_0x2ea79c){const _0x1ecc0f=a64_0x1ecc();return a64_0x3064=function(_0x306400,_0x30bb40){_0x306400=_0x306400-0x15b;let _0x199b59=_0x1ecc0f[_0x306400];return _0x199b59;},a64_0x3064(_0x5e37b5,_0x2ea79c);}(function(_0x3f2b3a,_0x1296da){const _0x5224f7=a64_0x3064,_0x73aeb7=_0x3f2b3a();while(!![]){try{const _0x39a5d1=parseInt(_0x5224f7(0x15b))/0x1+-parseInt(_0x5224f7(0x15e))/0x2*(-parseInt(_0x5224f7(0x160))/0x3)+parseInt(_0x5224f7(0x168))/0x4*(parseInt(_0x5224f7(0x15f))/0x5)+parseInt(_0x5224f7(0x167))/0x6+-parseInt(_0x5224f7(0x15c))/0x7*(-parseInt(_0x5224f7(0x15d))/0x8)+-parseInt(_0x5224f7(0x161))/0x9+-parseInt(_0x5224f7(0x169))/0xa*(parseInt(_0x5224f7(0x164))/0xb);if(_0x39a5d1===_0x1296da)break;else _0x73aeb7['push'](_0x73aeb7['shift']());}catch(_0x2d9ee1){_0x73aeb7['push'](_0x73aeb7['shift']());}}}(a64_0x1ecc,0x72340));function a64_0x1ecc(){const _0x1457f8=['2989140ywLRDH','2490648UEFMbh','6167860VjTzxI','OdDsw','vanillaWorker','590737DYNnGB','2798572GVOeEH','16JtjrbC','2dznPso','5ZETDNY','213405BJXaOP','7928712DYvZDR','installAll','worker','22rctCYG','cucumberWorker','../../helpers/driverInitErrorReporter'];a64_0x1ecc=function(){return _0x1457f8;};return a64_0x1ecc();}const {runTest,runCucumberTest,runVanillaTest}=require('./runTest');try{require(a64_0x4da85b(0x166))[a64_0x4da85b(0x162)]();}catch(a64_0x47a881){}exports[a64_0x4da85b(0x163)]=async(_0x4db698,_0x47c807)=>{const _0x539433={'uNnol':function(_0xb53234,_0x33c899,_0x1b1bee){return _0xb53234(_0x33c899,_0x1b1bee);}};return await _0x539433['uNnol'](runTest,_0x4db698,_0x47c807);},exports[a64_0x4da85b(0x165)]=async(_0x18601e,_0x334278,_0x51dc02,_0x23df8e,_0x39a862)=>{const _0x47310f=a64_0x4da85b,_0x1f919d={'OdDsw':function(_0x10411c,_0x48447e,_0x4924e1,_0x2d0d85,_0x27d6d0,_0x400dfb){return _0x10411c(_0x48447e,_0x4924e1,_0x2d0d85,_0x27d6d0,_0x400dfb);}};return await _0x1f919d[_0x47310f(0x16a)](runCucumberTest,_0x18601e,_0x334278,_0x51dc02,_0x23df8e,_0x39a862);},exports[a64_0x4da85b(0x16b)]=async _0x5a5076=>{const _0x54bbfb={'OIDuQ':function(_0x4df3d8,_0x3476e3){return _0x4df3d8(_0x3476e3);}};return await _0x54bbfb['OIDuQ'](runVanillaTest,_0x5a5076);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a65_0x50d5ea=a65_0x12ca;(function(_0x12e124,_0x401db4){const _0x28789c=a65_0x12ca,_0x146343=_0x12e124();while(!![]){try{const _0x5f5129=parseInt(_0x28789c(0x163))/0x1+parseInt(_0x28789c(0x167))/0x2+parseInt(_0x28789c(0x153))/0x3+-parseInt(_0x28789c(0x16e))/0x4+-parseInt(_0x28789c(0x15d))/0x5+-parseInt(_0x28789c(0x14e))/0x6*(parseInt(_0x28789c(0x148))/0x7)+parseInt(_0x28789c(0x159))/0x8;if(_0x5f5129===_0x401db4)break;else _0x146343['push'](_0x146343['shift']());}catch(_0x4f4083){_0x146343['push'](_0x146343['shift']());}}}(a65_0x1c5e,0xebb41));function a65_0x1c5e(){const _0x18600e=['sTufK','lvZar','3377768pvsxZM','includes','runSaveResults','getAccessibilityModule','yPkae','[a11y-runner]\x20','toISOString','../utils/constants','function','runScan','MDilB','Eeexb','debug','getCapabilityValue','find','[a11y-runner]\x20%s\x20failed:\x20%O','407953jXDJnP','command','jUCwZ','scan','format','\x27\x20script\x20available','168lnRrXt','[a11y-runner]\x20no\x20\x27','silly','executeAsyncScript','UKgNI','289059ZKGcpo','getInstance','stringify','../../helpers/logger','util','TBUIR','21510480sUucuv','ScjuM','\x20result:\x20','RGWjl','3863225zHbMMk','nccRD','DdBPw','[a11y-runner]\x20error\x20logging\x20SDK-AUTOMATION\x20for\x20%s:\x20%O','../v2/browserstackCLI','getScriptByName','131757sFkgNi','testhub_build_uuid','BeWro','env','2594840MMpvOh','body','ZbnVN','winstonLogger','BROWSERSTACK_TESTHUB_JWT'];a65_0x1c5e=function(){return _0x18600e;};return a65_0x1c5e();}function a65_0x12ca(_0x536bd1,_0x238b08){const _0x1c5e4c=a65_0x1c5e();return a65_0x12ca=function(_0x12ca06,_0x53b515){_0x12ca06=_0x12ca06-0x142;let _0xeaf728=_0x1c5e4c[_0x12ca06];return _0xeaf728;},a65_0x12ca(_0x536bd1,_0x238b08);}const util=require(a65_0x50d5ea(0x157)),logger=require('../../helpers/logger')[a65_0x50d5ea(0x16a)],{automationLogger}=require(a65_0x50d5ea(0x156)),{AUTOMATION_LOG_COMMANDS}=require(a65_0x50d5ea(0x175));async function _run(_0x40b069,_0x11c7da,_0x6770fe,_0x3d63fe){const _0x28644d=a65_0x50d5ea,_0x52f4c6={'Eeexb':function(_0x391c10,_0x16805c){return _0x391c10(_0x16805c);},'nccRD':_0x28644d(0x161),'MDilB':function(_0x1d3548,_0x5b6519){return _0x1d3548!==_0x5b6519;},'ScjuM':_0x28644d(0x176),'TBUIR':function(_0x3396c2,_0x282d02){return _0x3396c2||_0x282d02;},'hrImj':_0x28644d(0x160),'GAYbL':_0x28644d(0x147)};try{const _0x1c4977=_0x52f4c6[_0x28644d(0x143)](require,_0x52f4c6[_0x28644d(0x15e)]),_0x3baa15=_0x1c4977['getInstance']();if(!_0x3baa15||!_0x3baa15['isRunning']())return null;const _0x2fe958=_0x3baa15[_0x28644d(0x171)]&&_0x3baa15[_0x28644d(0x171)]();if(!_0x2fe958)return null;if(_0x52f4c6[_0x28644d(0x142)](typeof _0x2fe958[_0x28644d(0x162)],_0x52f4c6[_0x28644d(0x15a)]))return null;const _0x449543=_0x2fe958[_0x28644d(0x162)](_0x40b069);if(!_0x449543||!_0x449543[_0x28644d(0x149)])return logger[_0x28644d(0x144)](_0x28644d(0x14f)+_0x40b069+_0x28644d(0x14d)),null;const _0xf26ba4=await _0x11c7da[_0x28644d(0x151)](_0x449543[_0x28644d(0x149)],_0x52f4c6[_0x28644d(0x158)](_0x3d63fe,{}));logger[_0x28644d(0x144)](_0x28644d(0x173)+_0x40b069+_0x28644d(0x15b)+JSON[_0x28644d(0x155)](_0xf26ba4));try{const _0x544813=AUTOMATION_LOG_COMMANDS[_0x28644d(0x146)](_0x4b9f1a=>_0x449543['command'][_0x28644d(0x16f)](_0x4b9f1a));if(_0x544813){const _0x3a5d32={};_0x3a5d32[_0x28644d(0x168)]=_0xf26ba4,automationLogger[_0x28644d(0x150)]('['+new Date()[_0x28644d(0x174)]()+'][\x20SDK-AUTOMATION\x20]\x20'+JSON[_0x28644d(0x155)]({'request':{'command':_0x544813,'parameters':[_0x52f4c6[_0x28644d(0x158)](_0x3d63fe,{})]},'response':_0x3a5d32}));}}catch(_0x442e6d){logger[_0x28644d(0x144)](util[_0x28644d(0x14c)](_0x52f4c6['hrImj'],_0x40b069,_0x442e6d));}return _0xf26ba4;}catch(_0x31030f){return logger['debug'](util[_0x28644d(0x14c)](_0x52f4c6['GAYbL'],_0x40b069,_0x31030f)),null;}}function _argsFor(_0xd5fa26,_0x21b209,_0x53f4c8,_0x31dc9e){const _0x50d859=a65_0x50d5ea,_0x467665={'yPkae':function(_0x21e56f,_0x391433){return _0x21e56f(_0x391433);},'lvZar':_0x50d859(0x161),'RGWjl':function(_0x1f6ce4,_0x27fe2e){return _0x1f6ce4===_0x27fe2e;},'jUCwZ':_0x50d859(0x176),'ZbnVN':_0x50d859(0x164),'sTufK':function(_0xe00a24,_0x2027b0){return _0xe00a24||_0x2027b0;}},_0x5dc071=_0x467665[_0x50d859(0x172)](require,_0x467665[_0x50d859(0x16d)]),_0xdb27c3=_0x5dc071[_0x50d859(0x154)](),_0x57542e=_0xdb27c3&&_0xdb27c3[_0x50d859(0x171)]&&_0xdb27c3[_0x50d859(0x171)]();let _0x49d5f9='';const _0x545620=process[_0x50d859(0x166)][_0x50d859(0x16b)]||'';try{_0x57542e&&_0x467665[_0x50d859(0x15c)](typeof _0x57542e[_0x50d859(0x145)],_0x467665[_0x50d859(0x14a)])&&(_0x49d5f9=_0x57542e[_0x50d859(0x145)](_0x467665[_0x50d859(0x169)])||'');}catch(_0x50d1bf){}return{'thTestRunUuid':_0x467665[_0x50d859(0x16c)](_0x21b209,''),'thBuildUuid':_0x49d5f9,'thJwtToken':_0x545620,'is_mobile_session':!!_0x31dc9e,'commandName':_0x467665[_0x50d859(0x16c)](_0x53f4c8,_0xd5fa26)};}exports[a65_0x50d5ea(0x177)]=async(_0xdca6d2,_0x5240d4,_0xdb5d69,_0x4170b1)=>{const _0x5b1e22=a65_0x50d5ea,_0x230ea6={'DdBPw':function(_0x1242ac,_0x1de62e,_0x1101df,_0x579a40,_0x1bc28b){return _0x1242ac(_0x1de62e,_0x1101df,_0x579a40,_0x1bc28b);},'LpaiD':_0x5b1e22(0x14b)},_0x39bf9b=_0x230ea6[_0x5b1e22(0x15f)](_argsFor,_0x230ea6['LpaiD'],_0x5240d4,_0xdb5d69,_0x4170b1);return _0x230ea6[_0x5b1e22(0x15f)](_run,_0x230ea6['LpaiD'],_0xdca6d2,_0x5240d4,_0x39bf9b);},exports[a65_0x50d5ea(0x170)]=async(_0x251d2,_0x4bfb74,_0x4a9390)=>{const _0x11f96a=a65_0x50d5ea,_0x63e7d4={'BeWro':function(_0x17f36e,_0x508a75,_0x51489b,_0x7823b0,_0x679dc0){return _0x17f36e(_0x508a75,_0x51489b,_0x7823b0,_0x679dc0);},'UKgNI':'saveResults'},_0x4af6a3=_0x63e7d4[_0x11f96a(0x165)](_argsFor,_0x63e7d4[_0x11f96a(0x152)],_0x4bfb74,_0x63e7d4[_0x11f96a(0x152)],_0x4a9390);return _0x63e7d4['BeWro'](_run,_0x63e7d4[_0x11f96a(0x152)],_0x251d2,_0x4bfb74,_0x4af6a3);};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a66_0x1f07f0=a66_0x4ac8;(function(_0x48f6ab,_0x4f54bb){const _0x3e8452=a66_0x4ac8,_0x2ca77e=_0x48f6ab();while(!![]){try{const _0x502350=-parseInt(_0x3e8452(0x25e))/0x1+parseInt(_0x3e8452(0x1ca))/0x2+parseInt(_0x3e8452(0x268))/0x3+parseInt(_0x3e8452(0x25c))/0x4*(-parseInt(_0x3e8452(0x215))/0x5)+parseInt(_0x3e8452(0x25d))/0x6*(parseInt(_0x3e8452(0x1f9))/0x7)+-parseInt(_0x3e8452(0x24f))/0x8*(parseInt(_0x3e8452(0x2ad))/0x9)+parseInt(_0x3e8452(0x263))/0xa;if(_0x502350===_0x4f54bb)break;else _0x2ca77e['push'](_0x2ca77e['shift']());}catch(_0x5d9f7e){_0x2ca77e['push'](_0x2ca77e['shift']());}}}(a66_0x4ada,0xc701e));function a66_0x4ac8(_0x41d3cd,_0x363adb){const _0x4ada98=a66_0x4ada();return a66_0x4ac8=function(_0x4ac867,_0x4c2de5){_0x4ac867=_0x4ac867-0x1a4;let _0x881959=_0x4ada98[_0x4ac867];return _0x881959;},a66_0x4ac8(_0x41d3cd,_0x363adb);}const path=require(a66_0x1f07f0(0x1db)),logger=require(a66_0x1f07f0(0x283))[a66_0x1f07f0(0x299)],helper=require(a66_0x1f07f0(0x1dc)),utilities=require(a66_0x1f07f0(0x208)),CLIUtils=require('../v2/cliUtils'),BrowserstackCLI=require('../v2/browserstackCLI'),GrpcClient=require(a66_0x1f07f0(0x241)),{printBuildLink}=require(a66_0x1f07f0(0x24e)),registry=require(a66_0x1f07f0(0x204)),detectPeerDeps=()=>{const _0x3fe0e0=a66_0x1f07f0,_0x172f43={};_0x172f43[_0x3fe0e0(0x200)]=_0x3fe0e0(0x1c6),_0x172f43['GJQXH']=_0x3fe0e0(0x27f);const _0x33a7fa=_0x172f43;try{require[_0x3fe0e0(0x2b1)](_0x33a7fa[_0x3fe0e0(0x200)],{'paths':[process['cwd']()]});}catch(_0x3e78c3){throw new Error(_0x33a7fa[_0x3fe0e0(0x229)]);}},loadTestCafeFactory=()=>{const _0x4df75f=a66_0x1f07f0,_0x453664={'OCzHS':_0x4df75f(0x1c6),'cwxiB':function(_0x1b4d0e,_0x5e3c76){return _0x1b4d0e(_0x5e3c76);}},_0x186361=require[_0x4df75f(0x2b1)](_0x453664[_0x4df75f(0x1d1)],{'paths':[process['cwd']()]});return _0x453664[_0x4df75f(0x1ba)](require,_0x186361);},w3cDriver=require(a66_0x1f07f0(0x1d6)),KNOWN_LOCAL_BROWSERS=new Set(['chrome',a66_0x1f07f0(0x253),a66_0x1f07f0(0x21e),a66_0x1f07f0(0x275),'edge','ie',a66_0x1f07f0(0x1cf),'chrome:headless',a66_0x1f07f0(0x1c7),a66_0x1f07f0(0x276)]),looksLikeBrowserArg=_0x5010be=>{const _0x4778bd=a66_0x1f07f0,_0x463879={};_0x463879[_0x4778bd(0x27c)]=_0x4778bd(0x27e),_0x463879[_0x4778bd(0x1ab)]=function(_0xbf0df7,_0x43e0a1){return _0xbf0df7!==_0x43e0a1;},_0x463879['TzTmM']='string',_0x463879['bOTXY']=_0x4778bd(0x2b4),_0x463879[_0x4778bd(0x1c0)]=_0x4778bd(0x233);const _0x1aee4f=_0x463879,_0x18c5f0=_0x1aee4f[_0x4778bd(0x27c)][_0x4778bd(0x1e9)]('|');let _0x1beab8=0x0;while(!![]){switch(_0x18c5f0[_0x1beab8++]){case'0':if(_0x1aee4f[_0x4778bd(0x1ab)](typeof _0x5010be,_0x1aee4f[_0x4778bd(0x290)]))return![];continue;case'1':if(_0x5010be[_0x4778bd(0x1bd)](':')&&!_0x5010be[_0x4778bd(0x1bd)]('/'))return!![];continue;case'2':if(KNOWN_LOCAL_BROWSERS['has'](_0x5010be['toLowerCase']()))return!![];continue;case'3':if(_0x5010be['startsWith'](_0x1aee4f[_0x4778bd(0x1ed)])||_0x5010be['startsWith'](_0x1aee4f['qQaMC']))return!![];continue;case'4':return![];}break;}},_CONCURRENCY_PATTERN=/^(?:--concurrency|-c)(?:=(\d+))?$/,filterArgs=_0x577d07=>{const _0x623d9b=a66_0x1f07f0,_0x5e6294={'GrtEf':function(_0xe4f2db,_0x2b5a01){return _0xe4f2db<_0x2b5a01;},'LVqKX':function(_0x483fdb,_0x35301e){return _0x483fdb===_0x35301e;},'YifTG':function(_0x539022,_0x35e30a){return _0x539022===_0x35e30a;},'CdkYr':'--browsers','InIOS':'--browsers=','MZkKk':'-b=','hNjAu':function(_0x9b6e23,_0x2df45e,_0x1eceb6){return _0x9b6e23(_0x2df45e,_0x1eceb6);},'RAgPM':function(_0x4055d8,_0x3b1e2f){return _0x4055d8+_0x3b1e2f;},'DDPbT':function(_0x53b4ae,_0x21f912){return _0x53b4ae+_0x21f912;},'FzUXo':function(_0x197524,_0x390005){return _0x197524(_0x390005);}},_0x3e4012=[];let _0x38a3b8;for(let _0x5df80a=0x0;_0x5e6294['GrtEf'](_0x5df80a,_0x577d07['length']);_0x5df80a++){const _0x177c97=_0x577d07[_0x5df80a];if(_0x5e6294[_0x623d9b(0x28b)](_0x177c97,'-b')||_0x5e6294[_0x623d9b(0x23a)](_0x177c97,_0x5e6294[_0x623d9b(0x28d)])){_0x5df80a++;continue;}if(_0x177c97[_0x623d9b(0x1d4)](_0x5e6294[_0x623d9b(0x288)])||_0x177c97[_0x623d9b(0x1d4)](_0x5e6294[_0x623d9b(0x25f)]))continue;const _0x3e464e=_0x177c97[_0x623d9b(0x2ab)](_CONCURRENCY_PATTERN);if(_0x3e464e){if(_0x3e464e[0x1]){_0x38a3b8=_0x5e6294[_0x623d9b(0x2b5)](parseInt,_0x3e464e[0x1],0xa);continue;}if(_0x577d07[_0x5e6294['RAgPM'](_0x5df80a,0x1)]&&/^\d+$/['test'](_0x577d07[_0x5e6294[_0x623d9b(0x1f8)](_0x5df80a,0x1)])){_0x38a3b8=_0x5e6294['hNjAu'](parseInt,_0x577d07[_0x5e6294[_0x623d9b(0x1f8)](_0x5df80a,0x1)],0xa),_0x5df80a++;continue;}continue;}const _0x2a0630=_0x177c97[_0x623d9b(0x2ab)](/^-c(\d+)$/);if(_0x2a0630){_0x38a3b8=_0x5e6294[_0x623d9b(0x2b5)](parseInt,_0x2a0630[0x1],0xa);continue;}if(_0x5e6294[_0x623d9b(0x1fd)](looksLikeBrowserArg,_0x177c97))continue;_0x3e4012[_0x623d9b(0x20b)](_0x177c97);}const _0x16aa6b={};return _0x16aa6b['testSources']=_0x3e4012,_0x16aa6b['concurrency']=_0x38a3b8,_0x16aa6b;},parseCapabilities=_0x2da1bf=>{const _0x47baa7=a66_0x1f07f0,_0x430a00={};_0x430a00[_0x47baa7(0x28a)]=_0x47baa7(0x266),_0x430a00[_0x47baa7(0x2ac)]=_0x47baa7(0x23d);const _0x3ae8be=_0x430a00,_0x287469=_0x2da1bf[_0x47baa7(0x2b3)]&&_0x2da1bf[_0x47baa7(0x2b3)]()||_0x2da1bf[_0x47baa7(0x2aa)];if(!_0x287469)throw new Error(_0x3ae8be['QJZDn']);const _0x19cb7f=Buffer[_0x47baa7(0x22f)](_0x287469)?_0x287469:Buffer[_0x47baa7(0x1d3)](_0x287469),_0x2f166e=JSON[_0x47baa7(0x1b5)](_0x19cb7f[_0x47baa7(0x291)](_0x3ae8be['XhZPk'])[_0x47baa7(0x1e1)]());if(_0x2f166e[_0x47baa7(0x1dd)])return _0x2f166e['desiredCapabilities'];if(_0x2f166e[_0x47baa7(0x2aa)]&&_0x2f166e['capabilities'][_0x47baa7(0x1d7)])return _0x2f166e[_0x47baa7(0x2aa)]['alwaysMatch'];return _0x2f166e;};async function provisionSession(_0x49d991,_0x50dd3f){const _0xb5ca70=a66_0x1f07f0,_0x18bdbe={'iwETS':_0xb5ca70(0x1c6),'mqIIo':function(_0x32389c,_0x5654eb){return _0x32389c(_0x5654eb);}};logger['info'](_0xb5ca70(0x26a)+_0x50dd3f+']');const _0x55e13b=await _0x49d991[_0xb5ca70(0x1d8)](),_0x19da4f=await GrpcClient[_0xb5ca70(0x1c9)]()[_0xb5ca70(0x272)]({'platformIndex':_0x50dd3f,'ref':_0x18bdbe[_0xb5ca70(0x1f5)],'userInputParams':Buffer['from'](JSON[_0xb5ca70(0x1aa)]({})),'hubUrl':''}),_0x136df1=_0x18bdbe['mqIIo'](parseCapabilities,_0x19da4f),_0x28053b=(_0x19da4f[_0xb5ca70(0x1b9)]&&_0x19da4f['getHubUrl']()||_0x19da4f[_0xb5ca70(0x292)]||'')[_0xb5ca70(0x1e1)]()||BrowserstackCLI[_0xb5ca70(0x1c9)]()?.['getConfig']()?.[_0xb5ca70(0x292)]||process[_0xb5ca70(0x280)]['BROWSERSTACK_HUB_URL'];if(!_0x28053b)throw new Error(_0xb5ca70(0x243)+_0x50dd3f+']\x20—\x20cannot\x20open\x20BrowserStack\x20session');logger[_0xb5ca70(0x20a)](_0xb5ca70(0x28e)+_0x50dd3f+_0xb5ca70(0x1d9)+_0x28053b);const _0x11dfd8={};_0x11dfd8[_0xb5ca70(0x292)]=_0x28053b,_0x11dfd8['capabilities']=_0x136df1;const {driver:_0x3037f2,sessionId:_0x1dc464}=await w3cDriver['openSession'](_0x11dfd8);await _0x3037f2[_0xb5ca70(0x1cc)](_0x55e13b[_0xb5ca70(0x298)]);const _0x345228={};_0x345228[_0xb5ca70(0x267)]=_0x50dd3f,_0x345228['driver']=_0x3037f2,_0x345228['sessionId']=_0x1dc464,_0x345228[_0xb5ca70(0x246)]=_0x55e13b,_0x345228[_0xb5ca70(0x2aa)]=_0x136df1,_0x345228[_0xb5ca70(0x292)]=_0x28053b,registry[_0xb5ca70(0x23f)](_0x345228),logger[_0xb5ca70(0x20a)](_0xb5ca70(0x28e)+_0x50dd3f+_0xb5ca70(0x218)+_0x1dc464+'\x20→\x20'+_0x55e13b['url']);const _0x47e3a2={};return _0x47e3a2[_0xb5ca70(0x246)]=_0x55e13b,_0x47e3a2[_0xb5ca70(0x1f7)]=_0x1dc464,_0x47e3a2['driver']=_0x3037f2,_0x47e3a2['platformIndex']=_0x50dd3f,_0x47e3a2[_0xb5ca70(0x2aa)]=_0x136df1,_0x47e3a2[_0xb5ca70(0x292)]=_0x28053b,_0x47e3a2;}async function run(_0x43770f,_0x5436b7,_0x5995df){const _0x219cbc=a66_0x1f07f0,_0x13fa58={'qOsOR':function(_0x480edf,_0x34673e){return _0x480edf(_0x34673e);},'SKofz':function(_0x2b391f,_0x371639,_0x494ac4){return _0x2b391f(_0x371639,_0x494ac4);},'PXdqM':function(_0x593019,_0x4d1710){return _0x593019===_0x4d1710;},'gBGSR':_0x219cbc(0x1bc),'nTTui':function(_0x4e6751,_0x2c8d9b){return _0x4e6751/_0x2c8d9b;},'Aosbr':function(_0xf094bf,_0x19845d){return _0xf094bf(_0x19845d);},'mSjce':_0x219cbc(0x295),'DSNLC':_0x219cbc(0x25b),'FbtTN':function(_0x515b2e,_0x5a9fab){return _0x515b2e===_0x5a9fab;},'OkcVk':_0x219cbc(0x1f0),'uKqyx':function(_0x12d67e){return _0x12d67e();},'GuLuV':'BrowserStack\x20config\x20file\x20(browserstack.yml)\x20not\x20found.','dLtwY':function(_0x3bac1e,_0x2ddb90){return _0x3bac1e===_0x2ddb90;},'hRSaE':'false','LavDB':function(_0x5e25b6,_0x52403c){return _0x5e25b6(_0x52403c);},'FNNwH':function(_0x5caef3,_0x27d201){return _0x5caef3===_0x27d201;},'VDhtS':function(_0x5b5bdc,_0x1fd199){return _0x5b5bdc(_0x1fd199);},'OjDyo':function(_0x2b8338,_0x2e1454){return _0x2b8338===_0x2e1454;},'nGgmk':function(_0x5ef933,_0x527837){return _0x5ef933&&_0x527837;},'YoXrB':function(_0x2ba436,_0x49f745){return _0x2ba436!==_0x49f745;},'vGEUU':_0x219cbc(0x234),'EIOlE':'testcafe','TlCdo':_0x219cbc(0x29a),'qKqXA':function(_0x5c4b47,_0x31f7c6){return _0x5c4b47+_0x31f7c6;},'CtdLW':_0x219cbc(0x265),'GCtXO':_0x219cbc(0x27b),'zJZmK':function(_0x17a705,_0x3fcca5){return _0x17a705||_0x3fcca5;},'UAydM':function(_0x407dd9,_0x186b9e){return _0x407dd9>_0x186b9e;},'KoKAI':function(_0xcda71c,_0x89f5f8){return _0xcda71c===_0x89f5f8;},'ocmRk':_0x219cbc(0x223),'qcbyA':_0x219cbc(0x235),'dtwiF':_0x219cbc(0x1e2),'RatLr':function(_0x57a3a9,_0x5d5a1e){return _0x57a3a9||_0x5d5a1e;},'IoRxe':_0x219cbc(0x237),'xiWkr':function(_0x1f3e5f,_0x46ee25){return _0x1f3e5f(_0x46ee25);},'YCrFw':_0x219cbc(0x284),'VnLRE':'./stdout-interceptor','lkkBW':function(_0x218109,_0x4e2bc1){return _0x218109>_0x4e2bc1;},'WOsOj':function(_0x20aaf2,_0x49b8e1){return _0x20aaf2(_0x49b8e1);},'AGBjG':'./testcafe-action-patcher','mpWLs':_0x219cbc(0x203),'RUUNw':function(_0x158c97,_0x3863e1){return _0x158c97+_0x3863e1;},'QDJfI':'[BrowserStack\x20SDK]\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun\x20—\x20cannot\x20determine\x20test\x20filter.\x20Aborting.\x0a','rJhiK':_0x219cbc(0x260),'sLEok':_0x219cbc(0x1b2),'Wzxyn':_0x219cbc(0x1bb),'bBZuh':function(_0x972ad7,_0x2a082b){return _0x972ad7===_0x2a082b;},'oPgHa':function(_0x5f19bd,_0x109e54){return _0x5f19bd===_0x109e54;},'uSCyb':_0x219cbc(0x1f4),'lzjOP':function(_0x4afbc2,_0x258a47){return _0x4afbc2<_0x258a47;},'xuPuA':function(_0x9bce12,_0x295e91){return _0x9bce12===_0x295e91;},'PAabT':function(_0x295645,_0x239ae4){return _0x295645===_0x239ae4;},'QXPhA':_0x219cbc(0x294),'zFpdi':function(_0x2da9ec,_0x2cc400){return _0x2da9ec+_0x2cc400;},'PpSFd':function(_0x3267dc,_0x2acc57){return _0x3267dc+_0x2acc57;},'baHNi':_0x219cbc(0x258),'tDqmJ':_0x219cbc(0x239),'umGqG':_0x219cbc(0x220),'UCyYH':'testcafe/command.js:\x20no\x20browser\x20arg\x20found\x20in\x20CLI\x20—\x20defaulting\x20local\x20run\x20to\x20chrome','zCzow':_0x219cbc(0x214),'UfGpU':_0x219cbc(0x231),'VKMBW':function(_0x3f85ef,_0x536b25){return _0x3f85ef>_0x536b25;},'CEqCG':function(_0xd74538,_0x5c7f18){return _0xd74538<_0x5c7f18;},'mPumi':function(_0x5859d6,_0x4637a2,_0x282171){return _0x5859d6(_0x4637a2,_0x282171);},'NbJSI':function(_0x44edfb,_0x526281,_0x53abea){return _0x44edfb(_0x526281,_0x53abea);},'aSjjn':function(_0x4b8fac,_0x218f3a){return _0x4b8fac===_0x218f3a;},'kEuhG':function(_0xde338b,_0x272c39){return _0xde338b>_0x272c39;},'UJnjr':function(_0x61ef42,_0x12908d){return _0x61ef42*_0x12908d;},'nPqga':function(_0x3b72b6,_0x50022b){return _0x3b72b6+_0x50022b;},'CChsw':function(_0x14f7dc,_0xb56972){return _0x14f7dc!==_0xb56972;},'LxkQb':_0x219cbc(0x242),'IpGVM':'failed','oKwHn':function(_0x599690){return _0x599690();}};_0x13fa58[_0x219cbc(0x22b)](detectPeerDeps);if(!_0x5995df[_0x219cbc(0x2b2)]){logger[_0x219cbc(0x285)](_0x13fa58['GuLuV']);return;}const _0x1dfdc9=_0x5995df[_0x219cbc(0x2b2)],_0x15f465=_0x13fa58['dLtwY'](_0x1dfdc9[_0x219cbc(0x1de)],![])||_0x13fa58[_0x219cbc(0x2b0)](_0x1dfdc9['browserstackAutomation'],_0x13fa58[_0x219cbc(0x217)])||_0x13fa58['PXdqM'](_0x13fa58[_0x219cbc(0x249)](String,_0x1dfdc9[_0x219cbc(0x1de)]||'')[_0x219cbc(0x26d)](),_0x13fa58[_0x219cbc(0x217)]),_0x1a85a1=_0x13fa58[_0x219cbc(0x1a7)](_0x1dfdc9[_0x219cbc(0x1ac)],![])||_0x13fa58['FNNwH'](_0x1dfdc9[_0x219cbc(0x1ac)],_0x13fa58['hRSaE'])||_0x13fa58[_0x219cbc(0x22a)](_0x13fa58[_0x219cbc(0x24d)](String,_0x13fa58[_0x219cbc(0x248)](_0x1dfdc9['browserstackLocal'],undefined)?'':_0x1dfdc9[_0x219cbc(0x1ac)])['toLowerCase'](),_0x13fa58[_0x219cbc(0x217)]);_0x13fa58[_0x219cbc(0x255)](!_0x15f465,!_0x1a85a1)&&_0x13fa58[_0x219cbc(0x228)](_0x1dfdc9[_0x219cbc(0x1ac)],!![])&&(logger[_0x219cbc(0x20a)](_0x13fa58[_0x219cbc(0x271)]),_0x1dfdc9['browserstackLocal']=!![]);await _0x5995df[_0x219cbc(0x250)](_0x43770f),CLIUtils[_0x219cbc(0x296)](_0x13fa58[_0x219cbc(0x262)],_0x13fa58[_0x219cbc(0x262)]),BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x2a9)](_0x5995df['config'],_0x5995df[_0x219cbc(0x2ae)],_0x5995df['cliConfig']);try{await BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x1c5)]();if(!BrowserstackCLI['getInstance']()['isRunning']())throw new Error(_0x13fa58[_0x219cbc(0x2a4)]);}catch(_0x3d4851){process[_0x219cbc(0x26b)]['write'](_0x13fa58[_0x219cbc(0x236)](_0x13fa58[_0x219cbc(0x236)](_0x219cbc(0x1d5)+_0x3d4851['message']+'\x0a',_0x13fa58[_0x219cbc(0x27a)]),_0x13fa58['GCtXO'])),logger[_0x219cbc(0x285)](_0x219cbc(0x257)+(_0x3d4851[_0x219cbc(0x273)]||_0x3d4851)),process['exitCode']=0x1;return;}const _0x51ce4b=BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x1ea)](),_0x40962a=_0x5995df['config']||{};let _0x4263f2=_0x13fa58[_0x219cbc(0x1e8)](_0x51ce4b,_0x40962a)||{},_0x10a1ff=Array[_0x219cbc(0x22d)](_0x4263f2['platforms'])?_0x4263f2['platforms']:[];_0x13fa58[_0x219cbc(0x2b0)](_0x10a1ff[_0x219cbc(0x213)],0x0)&&Array[_0x219cbc(0x22d)](_0x40962a['platforms'])&&_0x13fa58[_0x219cbc(0x1cd)](_0x40962a[_0x219cbc(0x1c4)][_0x219cbc(0x213)],0x0)&&(logger[_0x219cbc(0x225)]('testcafe/command.js:\x20cliConfig.platforms\x20is\x20empty;\x20falling\x20back\x20to\x20yml-loaded\x20browserstackSetup.config.platforms\x20(n='+_0x40962a['platforms'][_0x219cbc(0x213)]+')'),_0x4263f2=_0x40962a,_0x10a1ff=_0x40962a['platforms']);if(_0x13fa58[_0x219cbc(0x21b)](_0x10a1ff[_0x219cbc(0x213)],0x0)){process[_0x219cbc(0x26b)][_0x219cbc(0x1b7)](_0x13fa58[_0x219cbc(0x1f1)]),process[_0x219cbc(0x1c1)]=0x1;return;}if(_0x13fa58[_0x219cbc(0x1a7)](_0x4263f2[_0x219cbc(0x29f)],!![])||_0x4263f2['percy']&&_0x4263f2[_0x219cbc(0x29f)][_0x219cbc(0x1f3)]){const _0x292e0e=_0x13fa58['qcbyA'];process[_0x219cbc(0x26b)][_0x219cbc(0x1b7)](_0x13fa58[_0x219cbc(0x236)](_0x292e0e,'\x0a')),logger['warn'](_0x292e0e);}const {testSources:_0x352f44,concurrency:_0x420cbc}=_0x13fa58[_0x219cbc(0x238)](filterArgs,_0x5436b7['slice'](0x1));if(_0x13fa58['FbtTN'](_0x352f44[_0x219cbc(0x213)],0x0)){process['stderr']['write'](_0x13fa58[_0x219cbc(0x212)]),process[_0x219cbc(0x1c1)]=0x1;return;}logger[_0x219cbc(0x20a)](_0x219cbc(0x277)+JSON[_0x219cbc(0x1aa)](_0x352f44)+',\x20platforms='+_0x10a1ff[_0x219cbc(0x213)]+_0x219cbc(0x1e7)+_0x13fa58[_0x219cbc(0x1cb)](_0x420cbc,_0x13fa58['IoRxe']));let _0xa40c17;try{_0xa40c17=_0x13fa58[_0x219cbc(0x22b)](loadTestCafeFactory);}catch(_0x2a38e3){process[_0x219cbc(0x26b)]['write']('[BrowserStack\x20SDK]\x20Failed\x20to\x20load\x20testcafe:\x20'+_0x2a38e3[_0x219cbc(0x1ef)]+'\x0a'),process[_0x219cbc(0x1c1)]=0x1;return;}const _0x3f1f2a=await _0x13fa58[_0x219cbc(0x1f6)](_0xa40c17,_0x13fa58[_0x219cbc(0x1ec)]);let _0x3f4037=0x1;const _0x44c449=0x7530,_0x39aa74=[],_0x218cba=(_0x22ee4e,_0x25373d)=>{const _0x210ce3=_0x219cbc,_0x115137=_0x13fa58[_0x210ce3(0x1e3)](setInterval,async()=>{const _0x3f8224=_0x210ce3;try{await _0x22ee4e[_0x3f8224(0x27d)]();}catch(_0x191bbe){logger['debug'](_0x3f8224(0x21c)+_0x25373d+':\x20'+_0x191bbe['message']+'\x20—\x20stopping\x20pings\x20for\x20this\x20session'),_0x13fa58['qOsOR'](clearInterval,_0x115137);}},_0x44c449);_0x13fa58[_0x210ce3(0x26e)](typeof _0x115137[_0x210ce3(0x24c)],_0x13fa58[_0x210ce3(0x201)])&&_0x115137[_0x210ce3(0x24c)](),_0x39aa74[_0x210ce3(0x20b)](_0x115137);},_0x383e80=()=>{const _0x4a9f1c=_0x219cbc;for(const _0x3006b8 of _0x39aa74){_0x13fa58[_0x4a9f1c(0x21a)](clearInterval,_0x3006b8);}_0x39aa74[_0x4a9f1c(0x213)]=0x0;};_0x3f4037=0x0;const _0x577576=_0x13fa58[_0x219cbc(0x21a)](require,_0x13fa58['VnLRE']);_0x577576[_0x219cbc(0x219)]();try{const _0x5efe71=BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x21f)]&&BrowserstackCLI['getInstance']()['getAccessibilityModule'](),_0x4fbea9=_0x5efe71&&_0x5efe71[_0x219cbc(0x251)]&&_0x5efe71['accessibilityConfig'][_0x219cbc(0x1af)]&&_0x5efe71[_0x219cbc(0x251)][_0x219cbc(0x1af)][_0x219cbc(0x293)]&&(_0x5efe71[_0x219cbc(0x251)]['options'][_0x219cbc(0x293)][_0x219cbc(0x269)]||_0x5efe71[_0x219cbc(0x251)][_0x219cbc(0x1af)][_0x219cbc(0x293)][_0x219cbc(0x245)]);if(Array[_0x219cbc(0x22d)](_0x4fbea9)&&_0x13fa58[_0x219cbc(0x244)](_0x4fbea9[_0x219cbc(0x213)],0x0)){const _0x1ed8f6=_0x13fa58['WOsOj'](require,_0x13fa58[_0x219cbc(0x1e5)]),_0x522fcb=_0x4fbea9[_0x219cbc(0x1be)](_0x2435d1=>({'name':_0x2435d1[_0x219cbc(0x1f2)]&&_0x2435d1[_0x219cbc(0x1f2)]()||_0x2435d1[_0x219cbc(0x20f)],'module':_0x2435d1[_0x219cbc(0x240)]&&_0x2435d1['getModule']()||_0x2435d1['module'],'method':_0x2435d1[_0x219cbc(0x29c)]&&_0x2435d1['getMethod']()||_0x2435d1[_0x219cbc(0x1e0)]}));_0x1ed8f6[_0x219cbc(0x219)](_0x522fcb);}else logger[_0x219cbc(0x1c8)](_0x13fa58[_0x219cbc(0x274)]);}catch(_0x53f345){logger[_0x219cbc(0x1c8)](_0x219cbc(0x2af)+(_0x53f345[_0x219cbc(0x1ef)]||_0x53f345));}let _0x2734ff='',_0x56c933=null;try{const _0x1f296a=await GrpcClient[_0x219cbc(0x1c9)]()['testCafeConfig']();_0x2734ff=_0x1f296a['getRerunTestGrep']&&_0x1f296a[_0x219cbc(0x1ee)]()||_0x1f296a[_0x219cbc(0x20c)]||'';if(_0x2734ff)try{_0x56c933=new RegExp(_0x2734ff),logger[_0x219cbc(0x20a)](_0x219cbc(0x1c2)+_0x2734ff);}catch(_0x35ccf){const _0x1ae36f='[BrowserStack\x20SDK]\x20TestCafe\x20rerun\x20filter\x20from\x20binary\x20is\x20not\x20a\x20valid\x20regex:\x20'+_0x35ccf[_0x219cbc(0x1ef)]+_0x219cbc(0x224)+_0x2734ff;process['stderr'][_0x219cbc(0x1b7)](_0x13fa58['RUUNw'](_0x1ae36f,'\x0a')),logger[_0x219cbc(0x285)](_0x1ae36f),process[_0x219cbc(0x1c1)]=0x1;return;}}catch(_0x47e541){if(process[_0x219cbc(0x280)]['BROWSERSTACK_RERUN']){const _0xb4a46f=_0x13fa58['QDJfI'];process[_0x219cbc(0x26b)][_0x219cbc(0x1b7)](_0xb4a46f),logger[_0x219cbc(0x285)]('testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20during\x20rerun:\x20'+_0x47e541[_0x219cbc(0x1ef)]),process[_0x219cbc(0x1c1)]=0x1;return;}logger[_0x219cbc(0x1c8)](_0x13fa58[_0x219cbc(0x23b)],_0x47e541);}const _0x4e7ca6=_0x13fa58[_0x219cbc(0x238)](require,path[_0x219cbc(0x2b1)](__dirname,_0x13fa58[_0x219cbc(0x1e4)],_0x13fa58[_0x219cbc(0x1fa)])),_0x50f751=_0x13fa58['bBZuh'](_0x4263f2[_0x219cbc(0x1de)],![])||_0x13fa58['dLtwY'](_0x4263f2[_0x219cbc(0x1de)],_0x13fa58[_0x219cbc(0x217)])||_0x13fa58[_0x219cbc(0x1fc)](_0x13fa58['xiWkr'](String,_0x4263f2['browserstackAutomation']||'')[_0x219cbc(0x26d)](),_0x13fa58[_0x219cbc(0x217)]);if(_0x50f751){logger[_0x219cbc(0x20a)](_0x13fa58[_0x219cbc(0x2a1)]);const _0x31331c=[];for(let _0x5695c3=0x0;_0x13fa58['lzjOP'](_0x5695c3,_0x5436b7[_0x219cbc(0x213)]);_0x5695c3++){const _0x59cdd0=_0x5436b7[_0x5695c3];if(_0x13fa58[_0x219cbc(0x1a6)](_0x59cdd0,'-b')||_0x13fa58[_0x219cbc(0x264)](_0x59cdd0,_0x13fa58[_0x219cbc(0x1bf)])){_0x5436b7[_0x13fa58[_0x219cbc(0x278)](_0x5695c3,0x1)]&&_0x31331c['push'](_0x5436b7[_0x13fa58[_0x219cbc(0x28c)](_0x5695c3,0x1)]);_0x5695c3++;continue;}if(_0x59cdd0[_0x219cbc(0x1d4)](_0x13fa58[_0x219cbc(0x2a2)])){_0x31331c[_0x219cbc(0x20b)](_0x59cdd0[_0x219cbc(0x252)](_0x13fa58[_0x219cbc(0x2a2)][_0x219cbc(0x213)]));continue;}if(_0x59cdd0['startsWith'](_0x13fa58[_0x219cbc(0x281)])){_0x31331c[_0x219cbc(0x20b)](_0x59cdd0[_0x219cbc(0x252)](_0x13fa58['tDqmJ'][_0x219cbc(0x213)]));continue;}_0x13fa58[_0x219cbc(0x1f6)](looksLikeBrowserArg,_0x59cdd0)&&_0x31331c[_0x219cbc(0x20b)](_0x59cdd0);}_0x13fa58['PXdqM'](_0x31331c[_0x219cbc(0x213)],0x0)&&(_0x31331c[_0x219cbc(0x20b)](_0x13fa58[_0x219cbc(0x2a0)]),logger['info'](_0x13fa58[_0x219cbc(0x29e)]));let _0x19f34a=0x1;try{const _0x5a8be5=_0x3f1f2a[_0x219cbc(0x1fe)]();_0x5a8be5[_0x219cbc(0x2a8)](_0x352f44),_0x5a8be5['browsers'](_0x31331c),_0x5a8be5[_0x219cbc(0x1b2)]([_0x13fa58[_0x219cbc(0x24a)],_0x4e7ca6]),_0x13fa58[_0x219cbc(0x2b0)](typeof _0x420cbc,_0x13fa58[_0x219cbc(0x210)])&&_0x13fa58[_0x219cbc(0x247)](_0x420cbc,0x0)&&_0x5a8be5[_0x219cbc(0x211)](_0x420cbc),_0x56c933&&_0x5a8be5[_0x219cbc(0x29b)](_0x5676ed=>_0x56c933[_0x219cbc(0x261)](_0x5676ed)),_0x19f34a=await _0x5a8be5[_0x219cbc(0x1ae)](),logger['info']('testcafe/command.js:\x20local\x20run\x20finished\x20with\x20exit='+_0x19f34a);}catch(_0x3983ba){logger[_0x219cbc(0x285)](_0x219cbc(0x259)+(_0x3983ba['stack']||_0x3983ba)),process['stderr'][_0x219cbc(0x1b7)](_0x219cbc(0x230)+_0x3983ba[_0x219cbc(0x1ef)]+'\x0a'),_0x19f34a=0x1;}finally{_0x3f4037=_0x19f34a;try{_0x577576[_0x219cbc(0x2b6)]();}catch(_0x40f3ae){}try{await _0x3f1f2a[_0x219cbc(0x1a8)]();}catch(_0x44da11){logger[_0x219cbc(0x1c8)](_0x219cbc(0x25a)+_0x44da11[_0x219cbc(0x1ef)]);}try{const _0x370989=BrowserstackCLI['getInstance']()[_0x219cbc(0x222)]();_0x370989&&_0x13fa58[_0x219cbc(0x26e)](typeof _0x370989['finalizeOrphans'],_0x13fa58['gBGSR'])&&await _0x370989['finalizeOrphans']();}catch(_0x29111e){logger['debug'](_0x219cbc(0x20e)+_0x29111e['message']);}const _0x5cd4a8=BrowserstackCLI[_0x219cbc(0x2a5)]();await BrowserstackCLI['getInstance']()[_0x219cbc(0x1a5)]()[_0x219cbc(0x1da)](_0x2fa698=>{const _0x3f1f4b=_0x219cbc;logger['debug'](_0x3f1f4b(0x232)+_0x2fa698[_0x3f1f4b(0x1ef)]);}),_0x13fa58['uKqyx'](printBuildLink),await utilities['finalExecution'](_0x5995df,_0x5cd4a8)[_0x219cbc(0x1da)](_0x54cb5a=>{const _0x349ea4=_0x219cbc;logger[_0x349ea4(0x1c8)](_0x349ea4(0x270)+_0x54cb5a[_0x349ea4(0x1ef)]);}),process[_0x219cbc(0x1c1)]=_0x3f4037,logger[_0x219cbc(0x20a)](_0x219cbc(0x23e)+_0x3f4037);}return;}try{for(let _0x58720e=0x0;_0x13fa58[_0x219cbc(0x1c3)](_0x58720e,_0x10a1ff[_0x219cbc(0x213)]);_0x58720e++){logger[_0x219cbc(0x20a)](_0x219cbc(0x2b7)+_0x58720e+_0x219cbc(0x254)+_0x13fa58[_0x219cbc(0x28c)](_0x58720e,0x1)+'/'+_0x10a1ff[_0x219cbc(0x213)]+')');let _0x5ac68f=0x1,_0x200f3f=null,_0x1fc18c=null;try{_0x200f3f=await _0x13fa58['mPumi'](provisionSession,_0x3f1f2a,_0x58720e),_0x13fa58[_0x219cbc(0x286)](_0x218cba,_0x200f3f[_0x219cbc(0x23c)],_0x200f3f['sessionId']);const _0xee2178=_0x3f1f2a['createRunner']();_0xee2178[_0x219cbc(0x2a8)](_0x352f44),_0xee2178[_0x219cbc(0x279)]([_0x200f3f[_0x219cbc(0x246)]]),_0xee2178['reporter']([_0x13fa58['zCzow'],_0x4e7ca6]);_0x13fa58[_0x219cbc(0x1eb)](typeof _0x420cbc,_0x13fa58['UfGpU'])&&_0x13fa58[_0x219cbc(0x256)](_0x420cbc,0x0)&&_0xee2178[_0x219cbc(0x211)](_0x420cbc);_0x56c933&&_0xee2178[_0x219cbc(0x29b)](_0x2892f6=>_0x56c933[_0x219cbc(0x261)](_0x2892f6));const _0xf44696=_0x4263f2&&_0x4263f2['idleTimeout']||0x12c,_0x11986f=_0x13fa58[_0x219cbc(0x1a4)](_0x13fa58[_0x219cbc(0x28f)](_0xf44696,0x3c),0x3e8);_0x5ac68f=await Promise[_0x219cbc(0x22e)]([_0xee2178[_0x219cbc(0x1ae)](),new Promise(_0x35d5a7=>setTimeout(()=>{const _0x54b3bf=_0x219cbc;logger[_0x54b3bf(0x225)](_0x54b3bf(0x1df)+_0x58720e+_0x54b3bf(0x287)+_0x13fa58[_0x54b3bf(0x221)](_0x11986f,0x3e8)+_0x54b3bf(0x2a7)),_0x1fc18c='runner.run()\x20exceeded\x20'+_0x13fa58[_0x54b3bf(0x221)](_0x11986f,0x3e8)+_0x54b3bf(0x282),_0x13fa58[_0x54b3bf(0x238)](_0x35d5a7,0x1);},_0x11986f))]),logger['info']('testcafe/command.js:\x20platform['+_0x58720e+_0x219cbc(0x1ce)+_0x5ac68f),_0x13fa58[_0x219cbc(0x228)](_0x5ac68f,0x0)&&!_0x1fc18c&&(_0x1fc18c=_0x219cbc(0x22c)+_0x5ac68f);}catch(_0x192dd3){const _0x294cad=((()=>{const _0x494183=_0x219cbc;if(!_0x192dd3)return _0x13fa58[_0x494183(0x26c)];if(_0x13fa58[_0x494183(0x26e)](typeof _0x192dd3,_0x13fa58['DSNLC']))return _0x192dd3;if(_0x13fa58[_0x494183(0x1a7)](typeof _0x192dd3['message'],_0x13fa58[_0x494183(0x20d)])&&_0x192dd3[_0x494183(0x1ef)])return _0x192dd3[_0x494183(0x1ef)];try{return JSON[_0x494183(0x1aa)](_0x192dd3[_0x494183(0x1ef)]??_0x192dd3,null,0x2);}catch(_0xaa43a2){const _0x5ea4fb={};return _0x5ea4fb[_0x494183(0x209)]=0x4,_0x13fa58[_0x494183(0x238)](require,_0x13fa58[_0x494183(0x297)])['inspect'](_0x192dd3[_0x494183(0x1ef)]??_0x192dd3,_0x5ea4fb);}})()),_0x10e349={};_0x10e349['code']=_0x192dd3&&_0x192dd3[_0x219cbc(0x216)],_0x10e349[_0x219cbc(0x1d2)]=_0x192dd3&&_0x192dd3['type'],_0x10e349[_0x219cbc(0x202)]=_0x192dd3&&_0x192dd3[_0x219cbc(0x202)],_0x10e349['name']=_0x192dd3&&_0x192dd3[_0x219cbc(0x20f)],_0x10e349[_0x219cbc(0x289)]=_0x192dd3&&_0x192dd3[_0x219cbc(0x289)]&&_0x192dd3[_0x219cbc(0x289)][_0x219cbc(0x20f)];const _0x3be3b3=_0x10e349;logger[_0x219cbc(0x285)](_0x219cbc(0x1df)+_0x58720e+_0x219cbc(0x1d0)+_0x294cad+_0x219cbc(0x1b0)+JSON[_0x219cbc(0x1aa)](_0x3be3b3)+')\x0a'+(_0x192dd3&&_0x192dd3[_0x219cbc(0x273)]||'')),process[_0x219cbc(0x26b)][_0x219cbc(0x1b7)](_0x219cbc(0x2a3)+_0x58720e+_0x219cbc(0x227)+_0x294cad+'\x0a'),_0x5ac68f=0x1,_0x1fc18c=_0x294cad;}finally{try{if(_0x200f3f&&_0x13fa58[_0x219cbc(0x1ad)](_0x200f3f[_0x219cbc(0x267)],undefined)){const _0x133a2e=_0x13fa58[_0x219cbc(0x26e)](_0x5ac68f,0x0)?_0x13fa58[_0x219cbc(0x24b)]:_0x13fa58[_0x219cbc(0x226)],_0x31fd17=_0x1fc18c;registry['markStatus'](_0x200f3f[_0x219cbc(0x267)],_0x133a2e,_0x31fd17);}}catch(_0x11704d){logger[_0x219cbc(0x225)]('testcafe/command.js:\x20markStatus\x20failed\x20for\x20platform['+_0x58720e+_0x219cbc(0x227)+_0x11704d[_0x219cbc(0x1ef)]);}await registry[_0x219cbc(0x1fb)](),_0x13fa58[_0x219cbc(0x22b)](_0x383e80);}_0x13fa58[_0x219cbc(0x228)](_0x5ac68f,0x0)&&_0x13fa58[_0x219cbc(0x1a6)](_0x3f4037,0x0)&&(_0x3f4037=_0x5ac68f);}}finally{try{_0x577576[_0x219cbc(0x2b6)]();}catch(_0x4a1caf){}try{await _0x3f1f2a[_0x219cbc(0x1a8)]();}catch(_0x2d9316){logger[_0x219cbc(0x1c8)]('tc.close\x20error:\x20'+_0x2d9316[_0x219cbc(0x1ef)]);}try{const _0x31062a=BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x222)]();_0x31062a&&_0x13fa58['bBZuh'](typeof _0x31062a[_0x219cbc(0x1b4)],_0x13fa58['gBGSR'])&&await _0x31062a[_0x219cbc(0x1b4)]();}catch(_0x1ea7a0){logger['debug'](_0x219cbc(0x20e)+_0x1ea7a0[_0x219cbc(0x1ef)]);}const _0x2208f8=BrowserstackCLI[_0x219cbc(0x2a5)]();await BrowserstackCLI[_0x219cbc(0x1c9)]()[_0x219cbc(0x1a5)]()['catch'](_0x250fd3=>{const _0xdb4d0f=_0x219cbc;logger[_0xdb4d0f(0x1c8)](_0xdb4d0f(0x232)+_0x250fd3['message']);}),_0x13fa58[_0x219cbc(0x1ff)](printBuildLink),await utilities[_0x219cbc(0x1a9)](_0x5995df,_0x2208f8)[_0x219cbc(0x1da)](_0x50581c=>{const _0x34e399=_0x219cbc;logger[_0x34e399(0x1c8)](_0x34e399(0x270)+_0x50581c[_0x34e399(0x1ef)]);}),process[_0x219cbc(0x1c1)]=_0x3f4037,logger[_0x219cbc(0x20a)](_0x219cbc(0x23e)+_0x3f4037);}}let _isExiting=![];const propagateSignal=_0x15855d=>{const _0x3fb438=a66_0x1f07f0,_0x4d5ff2={};_0x4d5ff2['BBDlR']='failed',_0x4d5ff2['geFTx']='SIGINT',_0x4d5ff2[_0x3fb438(0x1b1)]=_0x3fb438(0x2a6);const _0x197868=_0x4d5ff2;if(_isExiting)return;_isExiting=!![],((async()=>{const _0x176519=_0x3fb438;try{const _0x3ccb24=registry[_0x176519(0x1e6)]();for(const _0x12f5a2 of _0x3ccb24){try{registry['markStatus'](_0x12f5a2[_0x176519(0x267)],_0x197868[_0x176519(0x1b8)],_0x176519(0x21d)+_0x15855d+'\x20before\x20runner.run()\x20completed');}catch(_0x58d2c4){}}await Promise['race']([registry[_0x176519(0x1fb)](),new Promise(_0xdc2f1f=>setTimeout(_0xdc2f1f,0x1388))]);}catch(_0x111134){}process[_0x176519(0x1b6)](_0x197868[_0x176519(0x29d)],_sigintHandler),process[_0x176519(0x1b6)](_0x197868['uHBHC'],_sigtermHandler),process[_0x176519(0x1b3)](process['pid'],_0x15855d);})());};function _sigintHandler(){const _0x4295ad=a66_0x1f07f0,_0x54debf={'JiLpL':function(_0x5d7a3d,_0x1a6325){return _0x5d7a3d(_0x1a6325);},'BFfRx':_0x4295ad(0x205)};_0x54debf['JiLpL'](propagateSignal,_0x54debf[_0x4295ad(0x26f)]);}function a66_0x4ada(){const _0x50f5a3=['stringify','dJEmK','browserstackLocal','CChsw','run','options','\x20(meta=','uHBHC','reporter','kill','finalizeOrphans','parse','removeListener','write','BBDlR','getHubUrl','cwxiB','index.js','function','includes','map','QXPhA','qQaMC','exitCode','testcafe/command.js:\x20applied\x20rerun\x20filter\x20','CEqCG','platforms','bootstrap','testcafe','firefox:headless','debug','getInstance','2396006IhVJBh','RatLr','navigateTo','UAydM',']\x20finished\x20with\x20exit=','opera',']\x20run\x20failed\x20—\x20','OCzHS','type','from','startsWith','[BrowserStack\x20SDK]\x20Binary\x20failed\x20to\x20start:\x20','./w3c-driver','alwaysMatch','createBrowserConnection',']\x20hubUrl=','catch','path','../../helpers/helper','desiredCapabilities','browserstackAutomation','testcafe/command.js:\x20platform[','method','trim','[BrowserStack\x20SDK]\x20No\x20test\x20source\x20given.\x20Usage:\x20browserstack-node-sdk\x20testcafe\x20<test-path>\x0a','SKofz','sLEok','AGBjG','listEntries',',\x20concurrency=','zJZmK','split','getConfig','aSjjn','YCrFw','bOTXY','getRerunTestGrep','message','util','ocmRk','getName','projectToken','testcafe/command.js:\x20browserstackAutomation=false\x20—\x20running\x20TestCafe\x20LOCALLY\x20(no\x20remote\x20session)\x20and\x20reporting\x20to\x20TRA\x20only','iwETS','xiWkr','sessionId','DDPbT','2429NshPKH','Wzxyn','quitAll','oPgHa','FzUXo','createRunner','oKwHn','VszPU','gBGSR','data','testcafe/command.js:\x20accessibility\x20commandsToWrap\x20not\x20available,\x20skipping\x20TestController\x20patch','./session-registry','SIGINT','plxNl','BQWGs','../../helpers/utilities','depth','info','push','rerunTestGrep','DSNLC','finalizeOrphans\x20error:\x20','name','UfGpU','concurrency','dtwiF','length','spec','5255570sXNXKa','code','hRSaE',']\x20BrowserStack\x20session=','install','qOsOR','KoKAI','[testcafe-keepalive]\x20ping\x20failed\x20for\x20','Aborted\x20by\x20','firefox','getAccessibilityModule','chrome','nTTui','getTestFramework','[BrowserStack\x20SDK]\x20browserstack.yml\x20has\x20no\x20`platforms:`\x20—\x20nothing\x20to\x20run.\x0a','.\x20Pattern:\x20','warn','IpGVM',']:\x20','YoXrB','GJQXH','FNNwH','uKqyx','TestCafe\x20runner\x20exited\x20with\x20code\x20','isArray','race','isBuffer','[BrowserStack\x20SDK]\x20TestCafe\x20local\x20run\x20failed:\x20','number','BrowserstackCLI.stop\x20error:\x20','firefox:','testcafe/command.js:\x20forcing\x20browserstackLocal=true\x20(TestCafe\x20hammerhead\x20requires\x20Local\x20tunnel\x20for\x20bs-local.com\x20reachability\x20from\x20remote\x20browsers)','[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.','qKqXA','default','Aosbr','-b=','YifTG','rJhiK','driver','utf8','testcafe/command.js:\x20exit\x20code=','register','getModule','../v2/grpcClient','passed','[testcafe]\x20DriverInit\x20returned\x20no\x20hubUrl\x20for\x20platform[','lkkBW','commands','connection','VKMBW','OjDyo','LavDB','zCzow','LxkQb','unref','VDhtS','../../helpers/test-observability/utils','824xPfYgy','initialize','accessibilityConfig','slice','chromium',']\x20(','nGgmk','kEuhG','testcafe/command.js:\x20bootstrap\x20failed\x20—\x20','--browsers=','testcafe/command.js:\x20local\x20run\x20failed\x20—\x20','tc.close\x20error:\x20','string','4KkMvcQ','4146glouAI','353820SoVMnL','MZkKk','testcafe/command.js:\x20TestCafeConfig\x20RPC\x20failed\x20(non-rerun\x20run,\x20continuing\x20without\x20filter)','test','EIOlE','4246150GAiAeP','PAabT','Aborting\x20TestCafe\x20run\x20—\x20capability\x20resolution,\x20build\x20creation,\x20Observability,\x20','DriverInit\x20returned\x20no\x20capabilities','platformIndex','4798632DNJXpt','commandsList','[testcafe]\x20provisioning\x20session\x20for\x20platform[','stderr','mSjce','toLowerCase','PXdqM','BFfRx','finalExecution\x20error:\x20','vGEUU','driverInit','stack','mpWLs','safari','remote','testcafe/command.js:\x20testSources=','zFpdi','browsers','CtdLW','Accessibility,\x20and\x20Percy\x20all\x20require\x20the\x20binary.\x0a','CBxwP','getCurrentUrl','0|1|2|3|4','testcafe\x20is\x20not\x20installed\x20in\x20your\x20project.\x20Run\x20\x27npm\x20install\x20--save-dev\x20testcafe\x27\x20before\x20using\x20\x27browserstack-node-sdk\x20testcafe\x27.','env','tDqmJ','s\x20timeout\x20(idleTimeout\x20+\x2060s)','../../helpers/logger','bs-local.com','error','NbJSI',']\x20runner.run()\x20timed\x20out\x20after\x20','InIOS','constructor','QJZDn','LVqKX','PpSFd','CdkYr','[testcafe]\x20platform[','nPqga','TzTmM','toString','hubUrl','commandsToWrap','--browsers','unknown\x20error\x20(falsy)','setFrameworkDetail','OkcVk','url','winstonLogger','BrowserstackCLI.bootstrap()\x20completed\x20but\x20binary\x20is\x20not\x20running','filter','getMethod','geFTx','UCyYH','percy','umGqG','uSCyb','baHNi','[BrowserStack\x20SDK]\x20TestCafe\x20run\x20failed\x20on\x20platform[','TlCdo','isCLIEnabled','SIGTERM','s\x20—\x20abandoning\x20to\x20per-platform\x20cleanup','src','setBrowserstackConfig','capabilities','match','XhZPk','108513peKDkF','configPath','testcafe/command.js:\x20accessibility\x20patch\x20failed:\x20','dLtwY','resolve','config','getCapabilities','chrome:','hNjAu','uninstall','testcafe/command.js:\x20starting\x20platform[','UJnjr','stop','xuPuA','FbtTN','close','finalExecution'];a66_0x4ada=function(){return _0x50f5a3;};return a66_0x4ada();}function _sigtermHandler(){const _0x2df3e5=a66_0x1f07f0,_0x1347b8={'plxNl':function(_0x2c9c56,_0x5ac4e8){return _0x2c9c56(_0x5ac4e8);},'BQWGs':_0x2df3e5(0x2a6)};_0x1347b8[_0x2df3e5(0x206)](propagateSignal,_0x1347b8[_0x2df3e5(0x207)]);}process['on'](a66_0x1f07f0(0x205),_sigintHandler),process['on'](a66_0x1f07f0(0x2a6),_sigtermHandler),module['exports']=run;
|
|
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;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a67_0x54e8(_0x3a4e54,_0x599647){const _0xf3b527=a67_0xf3b5();return a67_0x54e8=function(_0x54e826,_0x1314fa){_0x54e826=_0x54e826-0x14f;let _0x1f9521=_0xf3b527[_0x54e826];return _0x1f9521;},a67_0x54e8(_0x3a4e54,_0x599647);}const a67_0x132433=a67_0x54e8;(function(_0x5db9d3,_0x5c237e){const _0x28e4fc=a67_0x54e8,_0x14d4d2=_0x5db9d3();while(!![]){try{const _0x21aebd=-parseInt(_0x28e4fc(0x177))/0x1*(-parseInt(_0x28e4fc(0x157))/0x2)+parseInt(_0x28e4fc(0x17b))/0x3+-parseInt(_0x28e4fc(0x1a6))/0x4*(-parseInt(_0x28e4fc(0x180))/0x5)+parseInt(_0x28e4fc(0x19d))/0x6+-parseInt(_0x28e4fc(0x1a4))/0x7*(parseInt(_0x28e4fc(0x1a8))/0x8)+parseInt(_0x28e4fc(0x17e))/0x9*(parseInt(_0x28e4fc(0x16c))/0xa)+parseInt(_0x28e4fc(0x1b3))/0xb*(-parseInt(_0x28e4fc(0x18d))/0xc);if(_0x21aebd===_0x5c237e)break;else _0x14d4d2['push'](_0x14d4d2['shift']());}catch(_0x13c872){_0x14d4d2['push'](_0x14d4d2['shift']());}}}(a67_0xf3b5,0x4c9f2));const path=require(a67_0x132433(0x172)),{getTestIdentifier,getFixtureIdentifier,synthesizeTestObject,getScreenshotPaths,formatError}=require(a67_0x132433(0x154)),logger=require(a67_0x132433(0x1bb))[a67_0x132433(0x169)],BrowserstackCLI=require(a67_0x132433(0x184)),TestFrameworkState=require(a67_0x132433(0x15f)),AutomationFrameworkState=require('../../v2/state/automationFrameworkState'),HookState=require(a67_0x132433(0x17a)),TestInfo=require(a67_0x132433(0x1a7)),AutomationFramework=require(a67_0x132433(0x193)),TestCafeAutomationFramework=require(a67_0x132433(0x192)),sessionRegistry=require(a67_0x132433(0x181));module[a67_0x132433(0x15b)]=function(_0x1e35a0){const _0x52ba48=a67_0x132433,_0x5d9da2={'ycxpq':function(_0x26b77f,..._0x2fb260){return _0x26b77f(..._0x2fb260);},'gGzIY':'handler','bwdMZ':_0x52ba48(0x1b1),'NEvWH':function(_0x5f0d42,_0x2843df){return _0x5f0d42===_0x2843df;},'pZqTE':_0x52ba48(0x188),'nIlpL':function(_0x22cf7e,_0x215257){return _0x22cf7e===_0x215257;},'aEMRz':function(_0x21077b,_0x1e1c69){return _0x21077b<_0x1e1c69;},'AoZUa':function(_0xb05036,_0x2d23f0){return _0xb05036||_0x2d23f0;},'fCjfz':function(_0x3885fe,_0x4d7244){return _0x3885fe===_0x4d7244;},'wCvKb':function(_0xe644fd,_0x1ad91b){return _0xe644fd-_0x1ad91b;},'XONCr':_0x52ba48(0x15e),'DSYhU':function(_0x2fc43c,_0x3e555f,_0x7eb5ec){return _0x2fc43c(_0x3e555f,_0x7eb5ec);},'sUALm':function(_0x4ba3a1,_0x1e029c){return _0x4ba3a1===_0x1e029c;},'wnQZS':function(_0x35b3ea,_0xf7777f){return _0x35b3ea(_0xf7777f);},'vsjKQ':function(_0x30d181,_0x4cef03,_0x1a6a84){return _0x30d181(_0x4cef03,_0x1a6a84);},'IMHFH':function(_0x1c6e81,_0x2191ba){return _0x1c6e81===_0x2191ba;},'JunhF':function(_0x3cac88,_0x4dd8c7){return _0x3cac88+_0x4dd8c7;},'xrgsZ':function(_0x559f76,_0x1c40eb){return _0x559f76+_0x1c40eb;},'vhhsN':function(_0x41d57a,_0x29da67){return _0x41d57a||_0x29da67;},'KDoAD':function(_0x51d6ba,_0x4b6742){return _0x51d6ba(_0x4b6742);},'NxAgh':function(_0x3fbb25,_0x37508b){return _0x3fbb25(_0x37508b);},'PgkNJ':function(_0x2ba442,_0x2147d2){return _0x2ba442(_0x2147d2);}},_0x44c451={'options':_0x5d9da2[_0x52ba48(0x167)](_0x1e35a0,{}),'fixtureStack':[],'currentTaskInfo':null},_0x4181fa=_0x28d0f4=>async(..._0x22963c)=>{const _0x25f442=_0x52ba48;try{return await _0x5d9da2[_0x25f442(0x153)](_0x28d0f4,..._0x22963c);}catch(_0x247e7f){logger[_0x25f442(0x1b0)](_0x25f442(0x176)+(_0x28d0f4[_0x25f442(0x16b)]||_0x5d9da2['gGzIY'])+':\x20'+(_0x247e7f[_0x25f442(0x1a5)]||_0x247e7f));}};return{'reportTaskStart':_0x5d9da2['wnQZS'](_0x4181fa,async function _0x4da5b8(_0x20e467,_0x506397,_0x59bc63,_0x5349ad,_0x21fc56){const _0x2ec700=_0x52ba48,_0x4ca609={};_0x4ca609[_0x2ec700(0x182)]=_0x20e467,_0x4ca609[_0x2ec700(0x1ac)]=_0x506397,_0x4ca609[_0x2ec700(0x159)]=_0x59bc63,_0x4ca609[_0x2ec700(0x195)]=_0x5349ad,_0x4ca609[_0x2ec700(0x156)]=_0x21fc56,_0x44c451[_0x2ec700(0x158)]=_0x4ca609,logger[_0x2ec700(0x1a0)](_0x2ec700(0x17f)+_0x59bc63+'\x20tests\x20across\x20'+_0x506397[_0x2ec700(0x1a3)]+'\x20browsers'),TestInfo[_0x2ec700(0x151)]&&TestInfo[_0x2ec700(0x151)](_0x5d9da2[_0x2ec700(0x186)]);if(!BrowserstackCLI[_0x2ec700(0x196)]()||!BrowserstackCLI[_0x2ec700(0x196)]()['isRunning']())return;const _0x17ad5d=BrowserstackCLI[_0x2ec700(0x196)](),_0x19188a=_0x17ad5d[_0x2ec700(0x191)]();if(_0x19188a&&_0x5d9da2['NEvWH'](typeof _0x19188a[_0x2ec700(0x189)],_0x5d9da2[_0x2ec700(0x1a9)])){const _0x16e209={};_0x16e209[_0x2ec700(0x182)]=_0x20e467,_0x16e209[_0x2ec700(0x1ac)]=_0x506397,_0x16e209['testCount']=_0x59bc63,_0x16e209['taskStructure']=_0x5349ad,await _0x19188a[_0x2ec700(0x189)](TestFrameworkState[_0x2ec700(0x1bf)],HookState[_0x2ec700(0x194)],_0x16e209);}const _0x3ce179=_0x17ad5d[_0x2ec700(0x14f)](),_0x17022f=sessionRegistry[_0x2ec700(0x1a2)]();if(_0x3ce179&&_0x5d9da2[_0x2ec700(0x18a)](typeof _0x3ce179['trackEvent'],_0x5d9da2['pZqTE']))for(let _0x869e94=0x0;_0x5d9da2[_0x2ec700(0x164)](_0x869e94,(_0x506397||[])[_0x2ec700(0x1a3)]);_0x869e94++){const _0x30ceae=_0x506397[_0x869e94],_0x25bb87=_0x17022f[_0x869e94]||{};await _0x3ce179[_0x2ec700(0x189)](AutomationFrameworkState[_0x2ec700(0x1a1)],HookState[_0x2ec700(0x18c)],{'userAgent':_0x30ceae,'startTime':_0x20e467,'driver':_0x25bb87[_0x2ec700(0x1b2)],'sessionId':_0x25bb87[_0x2ec700(0x19b)],'platformIndex':Number[_0x2ec700(0x1aa)](_0x25bb87['platformIndex'])?_0x25bb87[_0x2ec700(0x170)]:_0x869e94,'capabilities':_0x25bb87[_0x2ec700(0x174)]||{},'hubUrl':_0x25bb87[_0x2ec700(0x16d)]||''});}}),'reportFixtureStart':_0x5d9da2[_0x52ba48(0x166)](_0x4181fa,async function _0x27db31(_0xac931f,_0x56b43e,_0x56d672){const _0xa8a9a0=_0x52ba48,_0x8718b1={'name':_0xac931f,'path':_0x56b43e,'meta':_0x5d9da2[_0xa8a9a0(0x155)](_0x56d672,{})};_0x44c451[_0xa8a9a0(0x198)][_0xa8a9a0(0x19c)](_0x8718b1),logger[_0xa8a9a0(0x175)](_0xa8a9a0(0x1b8)+_0xac931f+_0xa8a9a0(0x1b5)+_0x56b43e);if(BrowserstackCLI[_0xa8a9a0(0x196)]()&&BrowserstackCLI[_0xa8a9a0(0x196)]()[_0xa8a9a0(0x161)]()){const _0x3e74e7=BrowserstackCLI[_0xa8a9a0(0x196)](),_0x46884b=_0x3e74e7[_0xa8a9a0(0x191)]();if(_0x46884b&&_0x5d9da2[_0xa8a9a0(0x160)](typeof _0x46884b[_0xa8a9a0(0x189)],_0x5d9da2[_0xa8a9a0(0x1a9)])){const _0x21a5f2=_0x44c451[_0xa8a9a0(0x158)]&&_0x44c451['currentTaskInfo'][_0xa8a9a0(0x1ac)]||[],_0xbc2d65={'fixture':_0x8718b1,'fixtureIdentifier':_0x5d9da2['ycxpq'](getFixtureIdentifier,_0x8718b1),'userAgents':_0x21a5f2};await _0x46884b[_0xa8a9a0(0x189)](TestFrameworkState['BEFORE_ALL'],HookState[_0xa8a9a0(0x194)],_0xbc2d65),await _0x46884b['trackEvent'](TestFrameworkState[_0xa8a9a0(0x16f)],HookState[_0xa8a9a0(0x18c)],_0xbc2d65);}}}),'reportTestStart':_0x5d9da2['NxAgh'](_0x4181fa,async function _0x2084a6(_0x53f44d,_0x104d1e,_0xfa6c68){const _0x3c9e5c=_0x52ba48,_0x56ba45=_0x44c451[_0x3c9e5c(0x198)][_0x5d9da2[_0x3c9e5c(0x1ad)](_0x44c451[_0x3c9e5c(0x198)][_0x3c9e5c(0x1a3)],0x1)]||{'name':_0x5d9da2[_0x3c9e5c(0x1b4)],'path':_0x5d9da2[_0x3c9e5c(0x1b4)]},_0x963a89={};_0x963a89['fixtureName']=_0x56ba45[_0x3c9e5c(0x16b)],_0x963a89[_0x3c9e5c(0x15c)]=_0x56ba45[_0x3c9e5c(0x172)],_0x963a89[_0x3c9e5c(0x173)]=_0x53f44d,_0x963a89[_0x3c9e5c(0x1b7)]=_0x104d1e;const _0x2c0aa7=_0x5d9da2['ycxpq'](synthesizeTestObject,_0x963a89);logger[_0x3c9e5c(0x175)]('[testcafe-reporter]\x20reportTestStart:\x20'+_0x5d9da2[_0x3c9e5c(0x163)](getTestIdentifier,_0x2c0aa7,0x0));const _0x23604b=_0x44c451[_0x3c9e5c(0x158)]&&_0x44c451['currentTaskInfo'][_0x3c9e5c(0x1ac)]||[];if(BrowserstackCLI['getInstance']()&&BrowserstackCLI[_0x3c9e5c(0x196)]()[_0x3c9e5c(0x161)]()){const _0x34ff2d=BrowserstackCLI[_0x3c9e5c(0x196)](),_0x541baa=_0x34ff2d['getTestFramework']();if(_0x541baa&&_0x5d9da2[_0x3c9e5c(0x1b6)](typeof _0x541baa[_0x3c9e5c(0x189)],_0x5d9da2[_0x3c9e5c(0x1a9)])){const _0x17bcf9={'fixture':_0x56ba45,'test':_0x2c0aa7,'fixtureIdentifier':_0x5d9da2[_0x3c9e5c(0x153)](getFixtureIdentifier,_0x56ba45),'userAgents':_0x23604b};await _0x541baa[_0x3c9e5c(0x189)](TestFrameworkState[_0x3c9e5c(0x1bc)],HookState[_0x3c9e5c(0x194)],_0x17bcf9),await _0x541baa['trackEvent'](TestFrameworkState[_0x3c9e5c(0x1bc)],HookState['POST'],_0x17bcf9);const _0x3a9492={};_0x3a9492[_0x3c9e5c(0x165)]=_0x2c0aa7,_0x3a9492[_0x3c9e5c(0x15a)]=_0xfa6c68,_0x3a9492[_0x3c9e5c(0x1b7)]=_0x104d1e,_0x3a9492[_0x3c9e5c(0x1ac)]=_0x23604b,await _0x541baa[_0x3c9e5c(0x189)](TestFrameworkState[_0x3c9e5c(0x19f)],HookState[_0x3c9e5c(0x194)],_0x3a9492);}}}),'reportTestDone':_0x5d9da2['KDoAD'](_0x4181fa,async function _0x5e10d7(_0x5b6f56,_0x26b601,_0x3bfb81){const _0x27d7fe=_0x52ba48,_0x1df022=_0x44c451[_0x27d7fe(0x198)][_0x5d9da2[_0x27d7fe(0x1ad)](_0x44c451[_0x27d7fe(0x198)]['length'],0x1)]||{'name':_0x5d9da2['XONCr'],'path':_0x5d9da2['XONCr']},_0x49b072={};_0x49b072[_0x27d7fe(0x179)]=_0x1df022[_0x27d7fe(0x16b)],_0x49b072[_0x27d7fe(0x15c)]=_0x1df022[_0x27d7fe(0x172)],_0x49b072[_0x27d7fe(0x173)]=_0x5b6f56,_0x49b072[_0x27d7fe(0x1b7)]=_0x3bfb81;const _0x3bd19a=_0x5d9da2['wnQZS'](synthesizeTestObject,_0x49b072),_0x3cafba=Array[_0x27d7fe(0x1be)](_0x26b601&&_0x26b601[_0x27d7fe(0x162)])?_0x26b601[_0x27d7fe(0x162)][_0x27d7fe(0x18b)](formatError)[_0x27d7fe(0x17d)](Boolean):[],_0xed896f=_0x5d9da2[_0x27d7fe(0x153)](getScreenshotPaths,_0x26b601)[_0x27d7fe(0x18b)](_0x48536b=>({'screenshotPath':_0x48536b})),_0x4af196={};_0x4af196[_0x27d7fe(0x18f)]=_0x26b601&&_0x26b601[_0x27d7fe(0x18f)]||0x0,_0x4af196['skipped']=!!(_0x26b601&&_0x26b601[_0x27d7fe(0x1ab)]),_0x4af196[_0x27d7fe(0x162)]=_0x3cafba,_0x4af196[_0x27d7fe(0x183)]=_0xed896f,_0x4af196[_0x27d7fe(0x18e)]=!!(_0x26b601&&_0x26b601[_0x27d7fe(0x18e)]),_0x4af196[_0x27d7fe(0x15d)]=_0x26b601&&_0x26b601['quarantine'];const _0x261337=_0x4af196;logger['debug'](_0x27d7fe(0x1bd)+_0x5d9da2[_0x27d7fe(0x168)](getTestIdentifier,_0x3bd19a,0x0)+_0x27d7fe(0x178)+_0x3cafba[_0x27d7fe(0x1a3)]+_0x27d7fe(0x19e)+_0x261337[_0x27d7fe(0x1ab)]+')');const _0x459247=_0x44c451[_0x27d7fe(0x158)]&&_0x44c451['currentTaskInfo'][_0x27d7fe(0x1ac)]||[];if(BrowserstackCLI[_0x27d7fe(0x196)]()&&BrowserstackCLI[_0x27d7fe(0x196)]()[_0x27d7fe(0x161)]()){const _0x40efe0=BrowserstackCLI[_0x27d7fe(0x196)](),_0x56810c=_0x40efe0[_0x27d7fe(0x191)]();if(_0x56810c&&_0x5d9da2[_0x27d7fe(0x199)](typeof _0x56810c[_0x27d7fe(0x189)],_0x5d9da2[_0x27d7fe(0x1a9)])){const _0x5b51d3={};_0x5b51d3[_0x27d7fe(0x165)]=_0x3bd19a,_0x5b51d3[_0x27d7fe(0x187)]=_0x261337,_0x5b51d3['meta']=_0x3bfb81,_0x5b51d3[_0x27d7fe(0x1ac)]=_0x459247,await _0x56810c['trackEvent'](TestFrameworkState[_0x27d7fe(0x19f)],HookState[_0x27d7fe(0x18c)],_0x5b51d3);const _0x55d773={'fixture':_0x1df022,'test':_0x3bd19a,'fixtureIdentifier':_0x5d9da2['ycxpq'](getFixtureIdentifier,_0x1df022),'userAgents':_0x459247};await _0x56810c[_0x27d7fe(0x189)](TestFrameworkState[_0x27d7fe(0x152)],HookState[_0x27d7fe(0x194)],_0x55d773),await _0x56810c['trackEvent'](TestFrameworkState[_0x27d7fe(0x152)],HookState[_0x27d7fe(0x18c)],_0x55d773);}}}),'reportTaskDone':_0x5d9da2[_0x52ba48(0x197)](_0x4181fa,async function _0x31f2e6(_0x2698b0,_0x2dcc58,_0x54b104,_0x51e21a){const _0x31f7e4=_0x52ba48;while(_0x44c451[_0x31f7e4(0x198)][_0x31f7e4(0x1a3)]){const _0x25e817=_0x44c451[_0x31f7e4(0x198)][_0x31f7e4(0x19a)]();if(BrowserstackCLI[_0x31f7e4(0x196)]()&&BrowserstackCLI['getInstance']()['isRunning']()){const _0x644a0d=BrowserstackCLI[_0x31f7e4(0x196)](),_0x493b40=_0x644a0d[_0x31f7e4(0x191)]();if(_0x493b40&&_0x5d9da2['IMHFH'](typeof _0x493b40[_0x31f7e4(0x189)],_0x5d9da2[_0x31f7e4(0x1a9)])){const _0x11b9a2=_0x44c451['currentTaskInfo']&&_0x44c451['currentTaskInfo'][_0x31f7e4(0x1ac)]||[],_0x4f8951={'fixture':_0x25e817,'fixtureIdentifier':_0x5d9da2[_0x31f7e4(0x153)](getFixtureIdentifier,_0x25e817),'userAgents':_0x11b9a2};await _0x493b40['trackEvent'](TestFrameworkState[_0x31f7e4(0x1af)],HookState['PRE'],_0x4f8951),await _0x493b40[_0x31f7e4(0x189)](TestFrameworkState['AFTER_ALL'],HookState[_0x31f7e4(0x18c)],_0x4f8951);}}}if(BrowserstackCLI[_0x31f7e4(0x196)]()&&BrowserstackCLI['getInstance']()['isRunning']()){const _0xdfcfe2=BrowserstackCLI[_0x31f7e4(0x196)](),_0x35ac76=_0xdfcfe2[_0x31f7e4(0x14f)]();if(_0x35ac76&&_0x5d9da2[_0x31f7e4(0x199)](typeof _0x35ac76[_0x31f7e4(0x189)],_0x5d9da2[_0x31f7e4(0x1a9)]))for(const {userAgent:_0x2a0aa8,platformIndex:_0x369f0e,instance:_0x324dcc}of TestCafeAutomationFramework[_0x31f7e4(0x185)]()){try{const _0x1e4f0e={};_0x1e4f0e['userAgent']=_0x2a0aa8,_0x1e4f0e[_0x31f7e4(0x170)]=_0x369f0e,_0x1e4f0e[_0x31f7e4(0x190)]=_0x2698b0,_0x1e4f0e['instance']=_0x324dcc,await _0x35ac76[_0x31f7e4(0x189)](AutomationFrameworkState[_0x31f7e4(0x16a)],HookState[_0x31f7e4(0x18c)],_0x1e4f0e);}catch(_0xb4ce50){logger[_0x31f7e4(0x1b0)](_0x31f7e4(0x150)+_0x2a0aa8+'#'+_0x369f0e+':\x20'+_0xb4ce50['message']);}TestCafeAutomationFramework['removeInstance'](_0x2a0aa8,_0x369f0e);}}logger[_0x31f7e4(0x1a0)](_0x31f7e4(0x17c)+_0x2dcc58+_0x31f7e4(0x16e)+(_0x54b104&&_0x54b104['length'])+_0x31f7e4(0x1ae)+(_0x51e21a&&_0x5d9da2[_0x31f7e4(0x171)](_0x5d9da2['xrgsZ'](_0x51e21a['failedCount'],_0x51e21a[_0x31f7e4(0x1ba)]),_0x51e21a[_0x31f7e4(0x1b9)])));})};};function a67_0xf3b5(){const _0x6f57b6=['screenshots','../../v2/browserstackCLI','iterAllInstances','bwdMZ','testRunInfo','function','trackEvent','nIlpL','map','POST','239268iukYdO','unstable','durationMs','endTime','getTestFramework','../../v2/framework/testcafeAutomationFramework','../../v2/framework/automationFramework','PRE','taskStructure','getInstance','PgkNJ','fixtureStack','NEvWH','pop','sessionId','push','2403612WDGhhL',',\x20skipped=','TEST','info','CREATE','listEntries','length','127771vpxoaY','stack','4RWPNdL','../../v2/TestInfo','8SPVRfo','pZqTE','isInteger','skipped','userAgents','wCvKb','\x20totalDuration=','AFTER_ALL','error','testcafe','driver','561gyObtc','XONCr','\x20@\x20','sUALm','meta','[testcafe-reporter]\x20reportFixtureStart:\x20','skippedCount','passedCount','../../../helpers/logger','BEFORE_EACH','[testcafe-reporter]\x20reportTestDone:\x20','isArray','INIT_TEST','getAutomationFramework','[testcafe-reporter]\x20QUIT/POST\x20trackEvent\x20failed\x20for\x20userAgent=','setup','AFTER_EACH','ycxpq','./tcUtils','AoZUa','properties','2ySHaBY','currentTaskInfo','testCount','testStartInfo','exports','fixturePath','quarantine','unknown','../../v2/state/testFrameworkState','fCjfz','isRunning','errs','DSYhU','aEMRz','test','KDoAD','vhhsN','vsjKQ','winstonLogger','QUIT','name','3699590DiZiEK','hubUrl','\x20warnings=','BEFORE_ALL','platformIndex','JunhF','path','testName','capabilities','debug','[testcafe-reporter]\x20swallowed\x20error\x20in\x20','105225DElfPC','\x20(errs=','fixtureName','../../v2/state/hookState','1348707zibHAN','[testcafe-reporter]\x20reportTaskDone:\x20passed=','filter','9bnehbH','[testcafe-reporter]\x20reportTaskStart:\x20','118145ysnnJE','../session-registry','startTime'];a67_0xf3b5=function(){return _0x6f57b6;};return a67_0xf3b5();}
|
|
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 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a68_0x39d150=a68_0x59ac;(function(_0x1e1cfd,_0x443dcc){const _0x3345a1=a68_0x59ac,_0xbed93b=_0x1e1cfd();while(!![]){try{const _0xd8b8a8=-parseInt(_0x3345a1(0x126))/0x1+-parseInt(_0x3345a1(0x10f))/0x2+-parseInt(_0x3345a1(0x118))/0x3+parseInt(_0x3345a1(0x127))/0x4+-parseInt(_0x3345a1(0x123))/0x5+-parseInt(_0x3345a1(0x10d))/0x6+-parseInt(_0x3345a1(0x10e))/0x7*(-parseInt(_0x3345a1(0x11e))/0x8);if(_0xd8b8a8===_0x443dcc)break;else _0xbed93b['push'](_0xbed93b['shift']());}catch(_0x39fc25){_0xbed93b['push'](_0xbed93b['shift']());}}}(a68_0x1870,0x8f987));function a68_0x1870(){const _0x33ce3b=['fixture','585510pAJggB','241591vGWSYA','1581498tMaLld','PJfJU','formattedMessage','map','GRyMA','getScreenshotPaths','unknown','renderSync','getTestIdentifier','3403467rdGUir','TestCafeError','stackFilter','kyyXq','exports','path','584fisgdZ','name','screenshots','code','errMsg','1445560unziag','::retry','qQvri','439121tTUxzJ','3279096bFfCJa','function','XldYd','getFixtureIdentifier','callsite','Gwxaw','GKHve','FNdUx','isArray','screenshotPath','formatError'];a68_0x1870=function(){return _0x33ce3b;};return a68_0x1870();}function a68_0x59ac(_0x1e37e8,_0xb04397){const _0x18704b=a68_0x1870();return a68_0x59ac=function(_0x59ac6a,_0x56f724){_0x59ac6a=_0x59ac6a-0x10c;let _0xc0b5f1=_0x18704b[_0x59ac6a];return _0xc0b5f1;},a68_0x59ac(_0x1e37e8,_0xb04397);}function getTestIdentifier(_0x3930b2,_0x2c2db8){const _0x4bb6f6=a68_0x59ac,_0x567c90={};_0x567c90[_0x4bb6f6(0x11b)]=_0x4bb6f6(0x115);const _0x485728=_0x567c90,_0x3f4c9a=_0x3930b2&&_0x3930b2[_0x4bb6f6(0x10c)]&&_0x3930b2[_0x4bb6f6(0x10c)][_0x4bb6f6(0x11d)]||_0x485728[_0x4bb6f6(0x11b)],_0x3e6fa1=_0x3930b2&&_0x3930b2['fixture']&&_0x3930b2[_0x4bb6f6(0x10c)][_0x4bb6f6(0x11f)]||_0x485728[_0x4bb6f6(0x11b)],_0x501236=_0x3930b2&&_0x3930b2[_0x4bb6f6(0x11f)]||_0x485728[_0x4bb6f6(0x11b)],_0x3ed39b=_0x3f4c9a+'::'+_0x3e6fa1+'::'+_0x501236;return _0x2c2db8?_0x3ed39b+_0x4bb6f6(0x124)+_0x2c2db8:_0x3ed39b;}function getFixtureIdentifier(_0x462c64){const _0x16f583=a68_0x59ac,_0x4757a6={};_0x4757a6[_0x16f583(0x12d)]=_0x16f583(0x115);const _0x1a6620=_0x4757a6,_0x16a7ea=_0x462c64&&_0x462c64[_0x16f583(0x11d)]||_0x1a6620['GKHve'],_0x2017a9=_0x462c64&&_0x462c64[_0x16f583(0x11f)]||_0x1a6620['GKHve'];return _0x16a7ea+'::'+_0x2017a9;}function synthesizeTestObject({fixtureName:_0x39e556,fixturePath:_0x149cd0,testName:_0x5081c6,meta:_0x585c87}){const _0x3a42e0=a68_0x59ac,_0x2e599a={};_0x2e599a[_0x3a42e0(0x110)]=function(_0x5c0ead,_0x90dd63){return _0x5c0ead||_0x90dd63;};const _0x250a13=_0x2e599a,_0x2926d9={};return _0x2926d9[_0x3a42e0(0x11f)]=_0x39e556,_0x2926d9[_0x3a42e0(0x11d)]=_0x149cd0,{'name':_0x5081c6,'meta':_0x250a13[_0x3a42e0(0x110)](_0x585c87,{}),'fixture':_0x2926d9};}function getScreenshotPaths(_0x49390f){const _0x260506=a68_0x59ac;if(!_0x49390f||!Array[_0x260506(0x12f)](_0x49390f['screenshots']))return[];return _0x49390f[_0x260506(0x120)][_0x260506(0x112)](_0x46f25c=>_0x46f25c&&(_0x46f25c[_0x260506(0x130)]||_0x46f25c['screenshotPathForPDF'])||null)['filter'](Boolean);}function formatError(_0x11869c){const _0x5dee3a=a68_0x59ac,_0x441efb={'GRyMA':_0x5dee3a(0x119),'FNdUx':function(_0x285aa6,_0x127845){return _0x285aa6(_0x127845);},'XldYd':function(_0x29e356,_0x42d8fa){return _0x29e356(_0x42d8fa);}};if(!_0x11869c)return null;return{'type':_0x11869c[_0x5dee3a(0x121)]||_0x441efb[_0x5dee3a(0x113)],'message':_0x11869c[_0x5dee3a(0x111)]||_0x11869c[_0x5dee3a(0x122)]||_0x441efb[_0x5dee3a(0x12e)](String,_0x11869c),'stack':_0x441efb[_0x5dee3a(0x129)](_tryRenderCallsite,_0x11869c)};}function _tryRenderCallsite(_0x19052e){const _0xbf1da0=a68_0x59ac,_0x4ce78a={};_0x4ce78a[_0xbf1da0(0x125)]=function(_0x20f1fd,_0x4f1ff8){return _0x20f1fd===_0x4f1ff8;},_0x4ce78a[_0xbf1da0(0x12c)]=_0xbf1da0(0x128);const _0x5054a7=_0x4ce78a;try{if(_0x19052e&&_0x19052e[_0xbf1da0(0x12b)]&&_0x5054a7[_0xbf1da0(0x125)](typeof _0x19052e[_0xbf1da0(0x12b)][_0xbf1da0(0x116)],_0x5054a7[_0xbf1da0(0x12c)])){const _0x1dc76e={};return _0x1dc76e[_0xbf1da0(0x11a)]=()=>!![],_0x19052e['callsite'][_0xbf1da0(0x116)](_0x1dc76e);}}catch(_0x361564){}return'';}const a68_0x53a708={};a68_0x53a708[a68_0x39d150(0x117)]=getTestIdentifier,a68_0x53a708[a68_0x39d150(0x12a)]=getFixtureIdentifier,a68_0x53a708['synthesizeTestObject']=synthesizeTestObject,a68_0x53a708[a68_0x39d150(0x114)]=getScreenshotPaths,a68_0x53a708[a68_0x39d150(0x131)]=formatError,module[a68_0x39d150(0x11c)]=a68_0x53a708;
|