browserstack-node-sdk 1.68.0 → 1.68.2
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/detox/a11ySetup.js +1 -1
- package/src/bin/detox/command.js +1 -1
- package/src/bin/detox/modifyDetoxConf.js +1 -1
- package/src/bin/detox/traEmitter.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a15_0x5f2a3b=a15_0x5b9a;(function(_0x2d64df,_0x53fe8a){const _0x18827c=a15_0x5b9a,_0xf70817=_0x2d64df();while(!![]){try{const _0x4faa50=parseInt(_0x18827c(0x204))/0x1*(-parseInt(_0x18827c(0x1fb))/0x2)+-parseInt(_0x18827c(0x200))/0x3+parseInt(_0x18827c(0x1ee))/0x4+-parseInt(_0x18827c(0x215))/0x5+-parseInt(_0x18827c(0x211))/0x6+-parseInt(_0x18827c(0x205))/0x7*(parseInt(_0x18827c(0x201))/0x8)+parseInt(_0x18827c(0x1f9))/0x9;if(_0x4faa50===_0x53fe8a)break;else _0xf70817['push'](_0xf70817['shift']());}catch(_0x415a17){_0xf70817['push'](_0xf70817['shift']());}}}(a15_0x531e,0x2e509));const {default:BrowserStackSetup}=require(a15_0x5f2a3b(0x1f0)),logger=require(a15_0x5f2a3b(0x21d))['winstonLogger'],{URL}=require(a15_0x5f2a3b(0x22b)),helper=require(a15_0x5f2a3b(0x1ec)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a15_0x5f2a3b(0x232)),validHosts=function(_0x5662c2){const _0x188070=a15_0x5f2a3b;return _0x5662c2['split'](',')[_0x188070(0x1fc)](_0x30260b=>{const _0xde18bb=_0x188070;try{new URL(_0x30260b[_0xde18bb(0x208)]());}catch(_0x4c36ed){return![];}return!![];});},parseOnPremHosts=function(_0x40cf2e){const _0x5721e6=a15_0x5f2a3b,_0x343cf4={};_0x343cf4['EKSSQ']=function(_0x227857,_0x686e56){return _0x227857===_0x686e56;},_0x343cf4[_0x5721e6(0x20a)]='https:',_0x343cf4[_0x5721e6(0x231)]=_0x5721e6(0x1fd),_0x343cf4[_0x5721e6(0x222)]=_0x5721e6(0x22c);const _0x7fe832=_0x343cf4;return _0x40cf2e['split'](',')[_0x5721e6(0x1f6)](_0x250167=>{const _0x4a13ce=_0x5721e6,_0x2ad5eb=new URL(_0x250167[_0x4a13ce(0x208)]()),_0x18fac0=_0x2ad5eb[_0x4a13ce(0x1f1)],_0xbbf985=_0x2ad5eb[_0x4a13ce(0x1fe)]||(_0x7fe832[_0x4a13ce(0x1ea)](_0x2ad5eb[_0x4a13ce(0x1eb)],_0x7fe832[_0x4a13ce(0x20a)])?_0x7fe832['tQxwh']:'80'),_0x35d0ec=_0x2ad5eb[_0x4a13ce(0x1eb)][_0x4a13ce(0x1f5)](':',''),_0x1a4d8e=_0x7fe832[_0x4a13ce(0x1ea)](_0x35d0ec,_0x7fe832['UDgWo'])?0x1:0x0;return _0x18fac0+','+_0xbbf985+','+_0x1a4d8e;});},connectCommandBuilder=function(_0x2f22d8){const _0x12eb0a=a15_0x5f2a3b,_0x10c6d6={};_0x10c6d6['qAkrO']=_0x12eb0a(0x20e);const _0x6573f=_0x10c6d6,_0x52b604={};_0x52b604[_0x12eb0a(0x1ff)]=HELP_MESSAGES[_0x12eb0a(0x21e)][_0x12eb0a(0x20d)],_0x52b604[_0x12eb0a(0x1ef)]=_0x6573f[_0x12eb0a(0x20b)];const _0x11466b={};_0x11466b[_0x12eb0a(0x1ff)]=HELP_MESSAGES[_0x12eb0a(0x21e)][_0x12eb0a(0x21c)],_0x11466b[_0x12eb0a(0x1ef)]=_0x6573f[_0x12eb0a(0x20b)],_0x11466b[_0x12eb0a(0x212)]=!![];const _0x3976e9={};return _0x3976e9[_0x12eb0a(0x22a)]=_0x52b604,_0x3976e9[_0x12eb0a(0x21c)]=_0x11466b,_0x2f22d8[_0x12eb0a(0x21e)](_0x3976e9);},connectCommandHandler=async function(_0x4dc5f5){const _0x5032a5=a15_0x5f2a3b,_0x5223b8={'nOvKX':_0x5032a5(0x20f),'lSktQ':function(_0x55425f,_0x17ec8a){return _0x55425f===_0x17ec8a;},'HYpAS':_0x5032a5(0x210),'pDrYz':_0x5032a5(0x220),'wQlkR':function(_0x596282,_0x3ea973){return _0x596282===_0x3ea973;},'BaJqU':_0x5032a5(0x226),'GKGxv':function(_0x49ca5d,_0x4c944b){return _0x49ca5d(_0x4c944b);},'mVTja':'Hosts\x20not\x20valid','qxFFy':function(_0x36322d,_0x2a8353){return _0x36322d(_0x2a8353);},'DquDF':'integrations-repeater','Enjdi':_0x5032a5(0x229),'nLEbr':_0x5032a5(0x22f)};try{const _0x42be7c=new BrowserStackSetup(_0x4dc5f5,_0x5223b8[_0x5032a5(0x224)]);_0x4dc5f5['bstackAccesskey']&&(_0x42be7c[_0x5032a5(0x225)]['accessKey']=_0x4dc5f5[_0x5032a5(0x1f3)]);if(_0x5223b8[_0x5032a5(0x1f4)](typeof _0x42be7c[_0x5032a5(0x225)][_0x5032a5(0x223)],_0x5223b8['HYpAS'])){logger['error'](_0x5223b8[_0x5032a5(0x21b)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x5032a5(0x213)]);}const _0x125a65=_0x4dc5f5[_0x5032a5(0x21c)];if(_0x5223b8[_0x5032a5(0x207)](typeof _0x125a65,_0x5223b8['HYpAS'])){logger[_0x5032a5(0x214)](_0x5223b8[_0x5032a5(0x22e)]);throw new Error(ERROR_MESSAGES['hosts']['missing']);}if(!_0x5223b8[_0x5032a5(0x206)](validHosts,_0x125a65)){logger[_0x5032a5(0x214)](_0x5223b8[_0x5032a5(0x230)]);throw new Error(ERROR_MESSAGES[_0x5032a5(0x21c)]['invalid']);}const _0x59f234=_0x5223b8['qxFFy'](parseOnPremHosts,_0x125a65);_0x42be7c[_0x5032a5(0x225)][_0x5032a5(0x21f)]=!![],_0x42be7c[_0x5032a5(0x225)][_0x5032a5(0x202)][_0x5032a5(0x1fa)]=_0x5223b8[_0x5032a5(0x21a)],_0x42be7c['config']['browserStackLocalOptions'][_0x5032a5(0x218)]=_0x59f234['join'](','),helper[_0x5032a5(0x227)](_0x42be7c[_0x5032a5(0x225)]),await _0x42be7c[_0x5032a5(0x221)](),logger[_0x5032a5(0x1f7)](_0x5223b8[_0x5032a5(0x233)]);}catch(_0x4041a1){logger[_0x5032a5(0x214)](_0x5223b8['nLEbr']);throw new Error(_0x4041a1[_0x5032a5(0x1f8)]());}};function a15_0x531e(){const _0x1c69bf=['protocol','../../helpers/helper','footer','931348oNHEZQ','type','../../helpers/BrowserStackSetup','hostname','connect','bstackAccesskey','lSktQ','replace','map','info','toString','8619516ntBcXQ','localIdentifier','60fBGfkv','every','443','port','describe','222540WIBYMS','16oiqKhN','browserStackLocalOptions','root','11805CaRwYh','324583iEMfXI','GKGxv','wQlkR','trim','epilogue','hvqdo','qAkrO','help','bstackAccessKey','string','integrations','undefined','961452XfQkoF','demandOption','missing','error','1597730xEpErP','RRrLm','usage','only','demandCommand','DquDF','pDrYz','hosts','../../helpers/logger','options','browserstackLocal','BrowserStack\x20access\x20key\x20missing.','setupBrowserstackLocal','UDgWo','accessKey','nOvKX','config','Integration\x20hosts\x20missing.','setProxySettings','command','Connection\x20established\x20successfully.','bstack-accesskey','url','https','XllKT','BaJqU','Failed\x20to\x20establish\x20connection.','mVTja','tQxwh','./constants','Enjdi','EKSSQ'];a15_0x531e=function(){return _0x1c69bf;};return a15_0x531e();}function a15_0x5b9a(_0x53daf3,_0x52054b){const _0x531e8d=a15_0x531e();return a15_0x5b9a=function(_0x5b9aac,_0x26f5ef){_0x5b9aac=_0x5b9aac-0x1ea;let _0x139740=_0x531e8d[_0x5b9aac];return _0x139740;},a15_0x5b9a(_0x53daf3,_0x52054b);}function run(_0xe26cda){const _0x226f95=a15_0x5f2a3b,_0x2c3dfa={};_0x2c3dfa[_0x226f95(0x22d)]='connect',_0x2c3dfa[_0x226f95(0x216)]=_0x226f95(0x20c);const _0x312d98=_0x2c3dfa;_0xe26cda[_0x226f95(0x217)](HELP_MESSAGES[_0x226f95(0x228)][_0x226f95(0x203)])[_0x226f95(0x228)](_0x312d98[_0x226f95(0x22d)],HELP_MESSAGES[_0x226f95(0x228)][_0x226f95(0x1f2)],connectCommandBuilder,connectCommandHandler)[_0x226f95(0x219)]()[_0x226f95(0x20c)](_0x312d98[_0x226f95(0x216)])[_0x226f95(0x209)](HELP_MESSAGES[_0x226f95(0x228)][_0x226f95(0x1ed)]);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a16_0x3973c0=a16_0x4184;function a16_0x4184(_0x11298a,_0x5883d7){var _0x1da0f0=a16_0x1da0();return a16_0x4184=function(_0x4184a3,_0x463df8){_0x4184a3=_0x4184a3-0x17b;var _0x395705=_0x1da0f0[_0x4184a3];return _0x395705;},a16_0x4184(_0x11298a,_0x5883d7);}(function(_0x3f98c5,_0x330628){var _0x53cddf=a16_0x4184,_0x5052dc=_0x3f98c5();while(!![]){try{var _0x367332=-parseInt(_0x53cddf(0x181))/0x1*(-parseInt(_0x53cddf(0x17c))/0x2)+parseInt(_0x53cddf(0x190))/0x3+-parseInt(_0x53cddf(0x17e))/0x4*(parseInt(_0x53cddf(0x18a))/0x5)+parseInt(_0x53cddf(0x184))/0x6*(-parseInt(_0x53cddf(0x185))/0x7)+parseInt(_0x53cddf(0x17d))/0x8+parseInt(_0x53cddf(0x18f))/0x9+parseInt(_0x53cddf(0x17b))/0xa*(parseInt(_0x53cddf(0x180))/0xb);if(_0x367332===_0x330628)break;else _0x5052dc['push'](_0x5052dc['shift']());}catch(_0x140830){_0x5052dc['push'](_0x5052dc['shift']());}}}(a16_0x1da0,0x6a61d));var a16_0x488a75={};a16_0x488a75[a16_0x3973c0(0x18d)]=a16_0x3973c0(0x18c),a16_0x488a75[a16_0x3973c0(0x18e)]=a16_0x3973c0(0x186);var a16_0x3e93f9={};a16_0x3e93f9['root']=a16_0x3973c0(0x18b),a16_0x3e93f9[a16_0x3973c0(0x17f)]='Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.',a16_0x3e93f9['footer']=a16_0x3973c0(0x189);var a16_0x3c7fb8={};a16_0x3c7fb8['options']=a16_0x488a75,a16_0x3c7fb8[a16_0x3973c0(0x183)]=a16_0x3e93f9,exports['HELP_MESSAGES']=a16_0x3c7fb8;var a16_0x5908fc={};a16_0x5908fc[a16_0x3973c0(0x187)]=a16_0x3973c0(0x188);var a16_0x618349={};a16_0x618349[a16_0x3973c0(0x187)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a16_0x618349['invalid']=a16_0x3973c0(0x182);function a16_0x1da0(){var _0x3d3fc6=['command','3336apyYDP','5915kSDOor','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','missing','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','13180brIVEj','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','hosts','486270fmlMuF','133050KiJKpo','10WdpICU','20KMjmhZ','2713872DROiDs','1204eqyEtL','connect','12639803Drxcwi','11231wjhNbT','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.'];a16_0x1da0=function(){return _0x3d3fc6;};return a16_0x1da0();}var a16_0x13bcfa={};a16_0x13bcfa['bstackAccessKey']=a16_0x5908fc,a16_0x13bcfa[a16_0x3973c0(0x18e)]=a16_0x618349,exports['ERROR_MESSAGES']=a16_0x13bcfa;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function a17_0x4d32(_0x19c801,_0x5c2236){const _0x3ebae9=a17_0x3eba();return a17_0x4d32=function(_0x4d32f8,_0x324d13){_0x4d32f8=_0x4d32f8-0xd1;let _0x2a6f9f=_0x3ebae9[_0x4d32f8];return _0x2a6f9f;},a17_0x4d32(_0x19c801,_0x5c2236);}function a17_0x3eba(){const _0xd8c5ff=['Exception\x20in\x20jasmine\x20specStarted\x20for\x20','jasmineDone','suiteStarted','dirname','TAshS','remove','xqGig','fDhZC','pending','Jasmine','specDone','suiteDone','qxygF','err','../../../helpers/testhub/utils','lhdWW','_sendSpecEvent','has','aebLd','11354147knYGPv','endsWith','JPwzE','code','beiDy','TestRunSkipped','AssertionError','8VHaVuT','\x20:\x20','Itmtw','description','failed','1907466IcBcHH','failure_reason_expanded','ELzRF','statSync','kitKD','jasmineStarted','GaTYU','actual','MLAjq','Spec\x20failed','stack','MtoMo','join','expanded','fullName','config','hNgbi','started_at','MhcOR','push','1153566IFRTyM','duration','JASMINE','exports','_paths','get','trim','expected','WyJUs','267399hcnCaJ','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_collapseFailedExpectations','uploadEventData','status','ZSctl','UKpre','vUFSa','DpYeu','excluded','JhdBX','48028uSLFZq','VLxyT','parentSuiteId','passed','yAIYA','filename','appendTesthubParams','vetEV','../../../helpers/test-observability/sessionHandler','Cmura','wNxuK','UnhandledError','TestRunFinished','../../../helpers/test-observability/utils','pyiLG','lbYWe','AnOre','set','ibHvA','length','oDCCC','keys','skipped','1900050OpThXE','number','_scopes','gmUrJ','Exception\x20in\x20jasmine\x20specDone\x20for\x20','prefixTestPath','94568YuuDPq','CWRgD','InWkB','fileNameByFullName','clwFJ','MUahN','sep','AbzIQ','cwd','zEOEh','wCUOY','PulQI','match','TestRunStarted','_suitesById','message','delete','testObservability','../../../helpers/test-observability/constants','specStarted','.git','VvLFe','finished_at','_findGitConfig','matcherName','reverse','_fileNameByFullName','Urlcr'];a17_0x3eba=function(){return _0xd8c5ff;};return a17_0x3eba();}const a17_0x56bd4e=a17_0x4d32;(function(_0x5993c7,_0xda6da1){const _0x321567=a17_0x4d32,_0x3dd98e=_0x5993c7();while(!![]){try{const _0x36c8c5=-parseInt(_0x321567(0xed))/0x1+parseInt(_0x321567(0xf8))/0x2+-parseInt(_0x321567(0xe4))/0x3+-parseInt(_0x321567(0x115))/0x4+-parseInt(_0x321567(0x10f))/0x5+-parseInt(_0x321567(0x150))/0x6+parseInt(_0x321567(0x144))/0x7*(parseInt(_0x321567(0x14b))/0x8);if(_0x36c8c5===_0xda6da1)break;else _0x3dd98e['push'](_0x3dd98e['shift']());}catch(_0x17b9c0){_0x3dd98e['push'](_0x3dd98e['shift']());}}}(a17_0x3eba,0x428a7));const path=require('path'),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a17_0x56bd4e(0x13f)),{FRAMEWORKS}=require(a17_0x56bd4e(0x127)),SessionHandler=require(a17_0x56bd4e(0x100)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x56bd4e(0x105)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x56bd4e(0x13a),a17_0x1b6b25={};a17_0x1b6b25[a17_0x56bd4e(0xfb)]=a17_0x56bd4e(0xfb),a17_0x1b6b25[a17_0x56bd4e(0x14f)]=a17_0x56bd4e(0x14f),a17_0x1b6b25[a17_0x56bd4e(0x139)]=a17_0x56bd4e(0x139),a17_0x1b6b25[a17_0x56bd4e(0xf6)]=a17_0x56bd4e(0x10e);const STATUS_MAP=a17_0x1b6b25;class BrowserStackJasmineReporter{constructor(_0x1b61fc={}){const _0x1a0dec=a17_0x56bd4e,_0x2c83c3={'oDCCC':function(_0x2416a2){return _0x2416a2();}};this[_0x1a0dec(0x126)]=_0x2c83c3[_0x1a0dec(0x10c)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x1a0dec(0x11d)]()},undefined),this[_0x1a0dec(0x12f)]=_0x1b61fc&&_0x1b61fc[_0x1a0dec(0x118)]||{},this[_0x1a0dec(0x123)]=new Map();}[a17_0x56bd4e(0xd5)](){}[a17_0x56bd4e(0x133)](_0x3662a9){const _0x3284ac=a17_0x56bd4e,_0x20f378={'beiDy':function(_0x1a407d,_0x27c5ac){return _0x1a407d!==_0x27c5ac;},'pyiLG':function(_0x220202,_0x1fb2a9){return _0x220202(_0x1fb2a9);}};try{_0x3662a9&&_0x20f378['beiDy'](_0x3662a9['id'],undefined)&&_0x20f378[_0x3284ac(0x148)](_0x3662a9['id'],null)&&this[_0x3284ac(0x123)]['set'](_0x3662a9['id'],{'description':_0x3662a9['description'],'parentSuiteId':_0x3662a9[_0x3284ac(0xfa)]});}catch(_0x370734){_0x20f378[_0x3284ac(0x106)](debug,_0x3284ac(0xee)+(_0x3662a9&&_0x3662a9[_0x3284ac(0xde)])+'\x20:\x20'+_0x370734);}}[a17_0x56bd4e(0x128)](_0x53c034){const _0x335a17=a17_0x56bd4e,_0x45f22e={'gmUrJ':function(_0x14ebed,_0x2f3494){return _0x14ebed!==_0x2f3494;},'wNxuK':function(_0x181c8c){return _0x181c8c();},'CWRgD':'TestRunStarted','iBYqN':function(_0x3ebd4d,_0x496efd){return _0x3ebd4d(_0x496efd);}};try{if(_0x45f22e[_0x335a17(0x112)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x3734e4=_0x45f22e[_0x335a17(0x102)](uuidv4);testRunMap['set'](_0x53c034['id'],_0x3734e4),this[_0x335a17(0x141)](_0x53c034,_0x3734e4,_0x45f22e[_0x335a17(0x116)]);}catch(_0x35ecbd){_0x45f22e['iBYqN'](debug,_0x335a17(0x131)+(_0x53c034&&_0x53c034[_0x335a17(0xde)])+_0x335a17(0x14c)+_0x35ecbd);}}[a17_0x56bd4e(0x13b)](_0x5fb464){const _0x2e5e63=a17_0x56bd4e,_0x1af2be={'zEOEh':function(_0x26673e,_0x47c7f4){return _0x26673e!==_0x47c7f4;},'eVcfI':function(_0x2b11a5){return _0x2b11a5();},'TAshS':function(_0x38c14d,_0x43436d){return _0x38c14d===_0x43436d;},'WyJUs':'excluded','JhdBX':'TestRunSkipped','aebLd':_0x2e5e63(0x104),'InWkB':function(_0x2620f5,_0x21ee9d){return _0x2620f5(_0x21ee9d);}};try{if(_0x1af2be[_0x2e5e63(0x11e)](testhubUtils['shouldProcessEventForTesthub'](),!![]))return;const _0x2e202a=testRunMap[_0x2e5e63(0xe9)](_0x5fb464['id'])||_0x1af2be['eVcfI'](uuidv4),_0x470719=_0x1af2be[_0x2e5e63(0x135)](_0x5fb464[_0x2e5e63(0xf1)],_0x1af2be[_0x2e5e63(0xec)])?_0x1af2be[_0x2e5e63(0xf7)]:_0x1af2be[_0x2e5e63(0x143)];this[_0x2e5e63(0x141)](_0x5fb464,_0x2e202a,_0x470719);}catch(_0x4e091f){_0x1af2be[_0x2e5e63(0x117)](debug,_0x2e5e63(0x113)+(_0x5fb464&&_0x5fb464[_0x2e5e63(0xde)])+_0x2e5e63(0x14c)+_0x4e091f);}finally{_0x5fb464&&(testRunMap[_0x2e5e63(0x136)](_0x5fb464['id']),_specStartTimes[_0x2e5e63(0x125)](_0x5fb464['id']));}}[a17_0x56bd4e(0x13c)](){}[a17_0x56bd4e(0x132)](){}[a17_0x56bd4e(0x141)](_0x10d3a0,_0x47166d,_0x4ed901){const _0x44f291=a17_0x56bd4e,_0x7d7af7={'MUahN':function(_0x457b47,_0x2be09d){return _0x457b47===_0x2be09d;},'lbYWe':_0x44f291(0x104),'clwFJ':_0x44f291(0x149),'Cmura':'File\x20path\x20could\x20not\x20be\x20found','GaTYU':function(_0x2b9db5,_0x4b2496,_0x5b7e95){return _0x2b9db5(_0x4b2496,_0x5b7e95);},'dApwD':_0x44f291(0x13e),'kitKD':_0x44f291(0x122),'AnOre':function(_0x3685fd,_0x357003){return _0x3685fd!==_0x357003;},'Abxmq':function(_0x4b1256,_0x12809c){return _0x4b1256!==_0x12809c;},'MhcOR':function(_0x534f67,_0x550d78){return _0x534f67===_0x550d78;},'Rdwqf':'javascript','MLAjq':function(_0x47fc19,_0xe2efb7){return _0x47fc19&&_0xe2efb7;},'ibHvA':'skipped','VLxyT':'passed','UKpre':function(_0x1609f0,_0x548154){return _0x1609f0===_0x548154;},'HStLP':_0x44f291(0x110),'hNgbi':_0x44f291(0x14a),'xqGig':_0x44f291(0x103),'TTDbP':function(_0x218d80,_0x7fd1c7){return _0x218d80===_0x7fd1c7;},'DpYeu':_0x44f291(0xe1),'lhdWW':_0x44f291(0x12b),'vetEV':'failure','VvLFe':'failure_backtrace','PZVWB':'backtrace','AbzIQ':_0x44f291(0xd1),'QaQlT':_0x44f291(0xdd),'vUFSa':function(_0x3095c5,_0x2089be){return _0x3095c5(_0x2089be);}};try{const _0x29cb9b=_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7['lbYWe'])||_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7['clwFJ']),_0x4aac7c=this['_resolveFilePath'](_0x10d3a0),_0x19eb5b=_0x4aac7c?this[_0x44f291(0xe8)][_0x44f291(0x114)](_0x4aac7c):_0x7d7af7[_0x44f291(0x101)],_0xc6162a=_0x4aac7c?this[_0x44f291(0x12c)](path['dirname'](_0x4aac7c)):null,_0x148719=this[_0x44f291(0xef)](_0x10d3a0['failedExpectations']),_0x4df924=_0x148719?_0x148719[_0x44f291(0x124)]:undefined,_0x53fe57=_0x148719?_0x7d7af7[_0x44f291(0xd6)](failureData,_0x148719,_0x7d7af7['dApwD']):[],_0x45116c=new Date()['toISOString'](),_0x2e71c2=this['_scopes'](_0x10d3a0);_0x7d7af7[_0x44f291(0x11a)](_0x4ed901,_0x7d7af7[_0x44f291(0xd4)])&&_0x10d3a0&&_0x7d7af7[_0x44f291(0x108)](_0x10d3a0['id'],undefined)&&_0x7d7af7['Abxmq'](_0x10d3a0['id'],null)&&_specStartTimes[_0x44f291(0x109)](_0x10d3a0['id'],_0x45116c);const _0x3a1259=_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0xd4)])?_0x45116c:_0x10d3a0&&_specStartTimes[_0x44f291(0xe9)](_0x10d3a0['id'])||null,_0x3e9d6e={};_0x3e9d6e['lang']=_0x7d7af7['Rdwqf'],_0x3e9d6e[_0x44f291(0x147)]=null;const _0x48b143={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x47166d,'name':_0x10d3a0[_0x44f291(0x14e)],'body':_0x3e9d6e,'scope':_0x2e71c2['join']('\x20'),'scopes':_0x2e71c2,'identifier':_0x10d3a0['fullName'],'file_name':_0x19eb5b,'vc_filepath':_0x7d7af7[_0x44f291(0xd8)](_0xc6162a,_0x4aac7c)?path['relative'](_0xc6162a,_0x4aac7c):null,'location':_0x19eb5b,'result':_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])?_0x7d7af7[_0x44f291(0x10a)]:STATUS_MAP[_0x10d3a0['status']]||_0x7d7af7[_0x44f291(0xf9)],'failure_reason':_0x4df924,'duration_in_ms':_0x7d7af7[_0x44f291(0xf3)](typeof _0x10d3a0[_0x44f291(0xe5)],_0x7d7af7['HStLP'])?_0x10d3a0[_0x44f291(0xe5)]:null,'started_at':_0x3a1259,'finished_at':_0x29cb9b?_0x45116c:null,'failure':_0x53fe57,'failure_type':!_0x4df924?null:_0x4df924[_0x44f291(0x121)](/AssertionError/)?_0x7d7af7[_0x44f291(0xe0)]:_0x7d7af7[_0x44f291(0x137)],'retry_of':null};_0x7d7af7['TTDbP'](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])&&!_0x48b143[_0x7d7af7['DpYeu']]&&(_0x48b143[_0x7d7af7[_0x44f291(0xf5)]]=_0x48b143[_0x7d7af7[_0x44f291(0x140)]]);const _0x178eb8=_0x48b143[_0x7d7af7[_0x44f291(0xff)]][0x0];_0x178eb8&&(_0x48b143[_0x7d7af7[_0x44f291(0x12a)]]=_0x178eb8[_0x7d7af7['PZVWB']],_0x48b143[_0x7d7af7[_0x44f291(0x11c)]]=_0x178eb8[_0x7d7af7['QaQlT']]);testhubUtils[_0x44f291(0xfe)](_0x48b143,_0x4ed901,_0x10d3a0,FRAMEWORKS[_0x44f291(0xe6)]);const _0xe2c222={'event_type':_0x7d7af7[_0x44f291(0xe2)](_0x4ed901,_0x7d7af7[_0x44f291(0x119)])?_0x7d7af7[_0x44f291(0x107)]:_0x4ed901,'test_run':_0x48b143};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x44f291(0xe6)],_0xe2c222),SessionHandler[_0x44f291(0xf0)](_0xe2c222);}catch(_0x587065){_0x7d7af7[_0x44f291(0xf4)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x4ed901+_0x44f291(0x14c)+_0x587065);}}[a17_0x56bd4e(0x111)](_0x352719){const _0x1f13d2=a17_0x56bd4e,_0x10ba35={'PulQI':function(_0x47e4f6,_0xef60a4){return _0x47e4f6!==_0xef60a4;},'wCUOY':function(_0x25c6d9,_0x244645){return _0x25c6d9>_0x244645;},'Urlcr':function(_0x34b470,_0xf83cc6){return _0x34b470(_0xf83cc6);},'qxygF':function(_0x2cd6b6,_0x4457d9){return _0x2cd6b6-_0x4457d9;}};try{const _0x2bd2e3=[];let _0x2fafcb=_0x352719&&_0x352719[_0x1f13d2(0xfa)];const _0x283c63=new Set();while(_0x10ba35[_0x1f13d2(0x120)](_0x2fafcb,undefined)&&_0x10ba35['PulQI'](_0x2fafcb,null)&&this[_0x1f13d2(0x123)][_0x1f13d2(0x142)](_0x2fafcb)&&!_0x283c63[_0x1f13d2(0x142)](_0x2fafcb)){_0x283c63['add'](_0x2fafcb);const _0x3c17f9=this[_0x1f13d2(0x123)][_0x1f13d2(0xe9)](_0x2fafcb);_0x3c17f9&&_0x3c17f9[_0x1f13d2(0x14e)]&&_0x2bd2e3[_0x1f13d2(0xe3)](_0x3c17f9[_0x1f13d2(0x14e)]),_0x2fafcb=_0x3c17f9?_0x3c17f9[_0x1f13d2(0xfa)]:null;}if(_0x10ba35[_0x1f13d2(0x11f)](_0x2bd2e3[_0x1f13d2(0x10b)],0x0))return _0x2bd2e3[_0x1f13d2(0x12e)]();}catch(_0x5f2950){_0x10ba35[_0x1f13d2(0x130)](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x352719&&_0x352719[_0x1f13d2(0xde)])+_0x1f13d2(0x14c)+_0x5f2950);}const _0x5de79b=_0x352719&&_0x352719[_0x1f13d2(0xde)]||'',_0x44de18=_0x352719&&_0x352719[_0x1f13d2(0x14e)]||'';let _0x54d9f0=_0x5de79b;return _0x44de18&&_0x5de79b[_0x1f13d2(0x145)](_0x44de18)&&(_0x54d9f0=_0x5de79b['slice'](0x0,_0x10ba35[_0x1f13d2(0x13d)](_0x5de79b['length'],_0x44de18['length']))[_0x1f13d2(0xea)]()),_0x54d9f0?_0x54d9f0['split'](/\s+/):[];}['_resolveFilePath'](_0x5b2dab){const _0x12386b=a17_0x56bd4e,_0x24b610={};_0x24b610[_0x12386b(0xfc)]=function(_0x5c58f4,_0x2a53d0){return _0x5c58f4===_0x2a53d0;},_0x24b610['oKCev']=function(_0x587b0c,_0x25a363){return _0x587b0c+_0x25a363;},_0x24b610[_0x12386b(0xd2)]=function(_0x51b878,_0x3deaab){return _0x51b878>_0x3deaab;};const _0x620e1f=_0x24b610;if(_0x5b2dab&&_0x5b2dab['filename'])return _0x5b2dab[_0x12386b(0xfd)];if(_0x5b2dab&&_0x5b2dab[_0x12386b(0xde)]){if(this[_0x12386b(0x12f)][_0x5b2dab[_0x12386b(0xde)]])return this[_0x12386b(0x12f)][_0x5b2dab[_0x12386b(0xde)]];let _0x5a1022=null,_0x3e612b=-0x1;for(const _0x1fd799 of Object[_0x12386b(0x10d)](this[_0x12386b(0x12f)])){(_0x620e1f[_0x12386b(0xfc)](_0x5b2dab[_0x12386b(0xde)],_0x1fd799)||_0x5b2dab[_0x12386b(0xde)]['startsWith'](_0x620e1f['oKCev'](_0x1fd799,'\x20')))&&_0x620e1f['ELzRF'](_0x1fd799['length'],_0x3e612b)&&(_0x5a1022=this[_0x12386b(0x12f)][_0x1fd799],_0x3e612b=_0x1fd799['length']);}if(_0x5a1022)return _0x5a1022;}return null;}['_collapseFailedExpectations'](_0x226116){const _0x2cc59d=a17_0x56bd4e,_0x13b668={};_0x13b668['NSXZZ']=function(_0x4d38d5,_0x5cd323){return _0x4d38d5===_0x5cd323;},_0x13b668[_0x2cc59d(0x14d)]=_0x2cc59d(0xd9);const _0x9f80c3=_0x13b668;if(!Array['isArray'](_0x226116)||_0x9f80c3['NSXZZ'](_0x226116[_0x2cc59d(0x10b)],0x0))return undefined;const _0x1b7070=[],_0x4e75da=[];for(const _0x377cd7 of _0x226116){_0x377cd7&&_0x377cd7[_0x2cc59d(0x124)]&&_0x1b7070[_0x2cc59d(0xe3)](_0x377cd7[_0x2cc59d(0x124)]),_0x377cd7&&_0x377cd7[_0x2cc59d(0xda)]&&_0x4e75da[_0x2cc59d(0xe3)](_0x377cd7[_0x2cc59d(0xda)]);}const _0x2fb811=_0x226116[0x0]||{},_0x22d94e=_0x1b7070[_0x2cc59d(0xdc)]('\x0a')||_0x2fb811[_0x2cc59d(0x124)]||_0x9f80c3[_0x2cc59d(0x14d)],_0x5ce382=_0x4e75da[_0x2cc59d(0xdc)]('\x0a\x0a')||_0x2fb811[_0x2cc59d(0xda)]||_0x22d94e,_0x475328={};return _0x475328[_0x2cc59d(0x124)]=_0x22d94e,_0x475328[_0x2cc59d(0xda)]=_0x5ce382,_0x475328['matcherName']=_0x2fb811[_0x2cc59d(0x12d)],_0x475328['expected']=_0x2fb811[_0x2cc59d(0xeb)],_0x475328[_0x2cc59d(0xd7)]=_0x2fb811[_0x2cc59d(0xd7)],_0x475328;}[a17_0x56bd4e(0x12c)](_0x560a3f){const _0x2fb47=a17_0x56bd4e,_0x49b836={};_0x49b836['JPwzE']=function(_0x12ee8e,_0x121388){return _0x12ee8e===_0x121388;},_0x49b836['ZSctl']=function(_0x3b4422,_0xc28acf){return _0x3b4422===_0xc28acf;},_0x49b836[_0x2fb47(0xdb)]=_0x2fb47(0x129),_0x49b836[_0x2fb47(0x138)]=_0x2fb47(0xdf);const _0x33897d=_0x49b836,_0x377e2b=path[_0x2fb47(0x11b)];if(_0x33897d[_0x2fb47(0x146)](_0x560a3f,null)||_0x33897d[_0x2fb47(0x146)](_0x560a3f,'')||_0x33897d[_0x2fb47(0x146)](_0x560a3f,_0x377e2b)||_0x33897d[_0x2fb47(0xf2)](_0x560a3f,path[_0x2fb47(0x134)](_0x560a3f)))return null;try{return fs[_0x2fb47(0xd3)](path[_0x2fb47(0xdc)](_0x560a3f,_0x33897d[_0x2fb47(0xdb)],_0x33897d[_0x2fb47(0x138)])),_0x560a3f;}catch(_0x59271a){return this[_0x2fb47(0x12c)](path[_0x2fb47(0x134)](_0x560a3f));}}}module[a17_0x56bd4e(0xe7)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';function a17_0x49b7(){const _0x56177d=['sQamu','javascript','uqQWm','startsWith','prefixTestPath','DzdeR','jnosR','XXxnI','YQeYI','keys','CLiEI','config','../../../helpers/test-observability/sessionHandler','Tjtxo','XqFUj','Jasmine','code','join','ftOfY','failure','fMdBd','xrEbW','cHXph','SMciI','ycQTq','TBeKm','match','reverse','pending','_paths','mKvIE','../../../helpers/test-observability/constants','set','passed','LyIFw','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','MKJhS','AssertionError','status','UqaYw','ORQmN','_fileNameByFullName','1271210VAgQHZ','_scopes','_collapseFailedExpectations','finished_at','JruFY','Spec\x20failed','_findGitConfig','519104tlhmMP','Yuegz','jasmineDone','_resolveFilePath','split','endsWith','shouldProcessEventForTesthub','get','GQNZE','lang','NdAlU','fNVgP','exports','fullName','duration','jasmineStarted','toISOString','matcherName','delete','suiteDone','NGsCN','224nMSoam','raLmr','trim','TestRunFinished','failure_reason_expanded','../../../helpers/testhub/utils','setCurrentTestData','slice','CsROP','File\x20path\x20could\x20not\x20be\x20found','511TEHBwM','_suitesById','86cqTdMm','isArray','SPlLf','23970kuvXhI','path','suiteStarted','parentSuiteId','HRUfo','TestRunSkipped','excluded','jdaxX','kEGfS','Exception\x20in\x20jasmine\x20specDone\x20for\x20','stack','expanded','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','sep','appendTesthubParams','dirname','add','filename','number','dzQXh','length','cPcFy','dWdba','CxGuo','687TzAvPh','skipped','actual','specDone','failure_backtrace','\x20:\x20','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','raDzu','17450IWRfuV','expected','TWCrm','LubWf','1616571juwAvm','WyupC','154092mKncXr','piQMC','backtrace','xJVQI','qAlmj','../../../helpers/test-observability/utils','../testRunMap','Obphx','description','_sendSpecEvent','duUpr','message','JASMINE','started_at','uuid','push','NvCQN','TestRunStarted'];a17_0x49b7=function(){return _0x56177d;};return a17_0x49b7();}const a17_0x182341=a17_0x2ffa;function a17_0x2ffa(_0x139433,_0x2e0c64){const _0x49b771=a17_0x49b7();return a17_0x2ffa=function(_0x2ffa49,_0x170a40){_0x2ffa49=_0x2ffa49-0xdb;let _0x3d4fb2=_0x49b771[_0x2ffa49];return _0x3d4fb2;},a17_0x2ffa(_0x139433,_0x2e0c64);}(function(_0x5d00f5,_0x176137){const _0x2bf27c=a17_0x2ffa,_0x2fb58e=_0x5d00f5();while(!![]){try{const _0x58d8cb=-parseInt(_0x2bf27c(0x13c))/0x1+parseInt(_0x2bf27c(0x113))/0x2*(-parseInt(_0x2bf27c(0x12e))/0x3)+parseInt(_0x2bf27c(0x107))/0x4*(-parseInt(_0x2bf27c(0x136))/0x5)+parseInt(_0x2bf27c(0x116))/0x6*(parseInt(_0x2bf27c(0x111))/0x7)+-parseInt(_0x2bf27c(0xf2))/0x8+parseInt(_0x2bf27c(0x13a))/0x9+parseInt(_0x2bf27c(0xeb))/0xa;if(_0x58d8cb===_0x176137)break;else _0x2fb58e['push'](_0x2fb58e['shift']());}catch(_0x53bd2c){_0x2fb58e['push'](_0x2fb58e['shift']());}}}(a17_0x49b7,0x2a81c));const path=require(a17_0x182341(0x117)),fs=require('fs'),{v4:uuidv4}=require(a17_0x182341(0x14a)),testhubUtils=require(a17_0x182341(0x10c)),{FRAMEWORKS}=require(a17_0x182341(0xe0)),SessionHandler=require(a17_0x182341(0x15a)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a17_0x182341(0x141)),testRunMap=require(a17_0x182341(0x142)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a17_0x182341(0x15d),a17_0x3cd059={};a17_0x3cd059[a17_0x182341(0xe2)]=a17_0x182341(0xe2),a17_0x3cd059['failed']='failed',a17_0x3cd059['pending']=a17_0x182341(0xdd),a17_0x3cd059[a17_0x182341(0x11c)]=a17_0x182341(0x12f);const STATUS_MAP=a17_0x3cd059;class BrowserStackJasmineReporter{constructor(_0x246c04={}){const _0x4b0d13=a17_0x182341,_0x100c12={'UqaYw':function(_0xfa3878){return _0xfa3878();}};this['testObservability']=_0x100c12[_0x4b0d13(0xe8)](isTestObservabilitySession),this[_0x4b0d13(0xde)]=new PathHelper({'cwd':process['cwd']()},undefined),this['_fileNameByFullName']=_0x246c04&&_0x246c04['fileNameByFullName']||{},this[_0x4b0d13(0x112)]=new Map();}[a17_0x182341(0x101)](){}[a17_0x182341(0x118)](_0x26a692){const _0x9a0a27=a17_0x182341,_0x328047={'RArxb':function(_0x247562,_0xd0194){return _0x247562!==_0xd0194;},'OZiRS':function(_0x546a07,_0x3bffb5){return _0x546a07!==_0x3bffb5;},'LyIFw':function(_0x4c9539,_0x113f2a){return _0x4c9539(_0x113f2a);}};try{_0x26a692&&_0x328047['RArxb'](_0x26a692['id'],undefined)&&_0x328047['OZiRS'](_0x26a692['id'],null)&&this[_0x9a0a27(0x112)][_0x9a0a27(0xe1)](_0x26a692['id'],{'description':_0x26a692[_0x9a0a27(0x144)],'parentSuiteId':_0x26a692[_0x9a0a27(0x119)]});}catch(_0x2dadf8){_0x328047[_0x9a0a27(0xe3)](debug,_0x9a0a27(0x122)+(_0x26a692&&_0x26a692[_0x9a0a27(0xff)])+'\x20:\x20'+_0x2dadf8);}}['specStarted'](_0x23451a){const _0x42a7d9=a17_0x182341,_0x5a8f41={'TqiuC':function(_0x5f0208,_0x486dfb){return _0x5f0208!==_0x486dfb;},'TBeKm':function(_0x2d092c){return _0x2d092c();},'fMdBd':'TestRunStarted','mKvIE':function(_0x52f386,_0x12d3b6){return _0x52f386(_0x12d3b6);}};try{if(_0x5a8f41['TqiuC'](testhubUtils[_0x42a7d9(0xf8)](),!![]))return;const _0x4bf89d=_0x5a8f41[_0x42a7d9(0x167)](uuidv4);testRunMap[_0x42a7d9(0xe1)](_0x23451a['id'],_0x4bf89d),this[_0x42a7d9(0x145)](_0x23451a,_0x4bf89d,_0x5a8f41[_0x42a7d9(0x162)]);}catch(_0x57eef0){_0x5a8f41[_0x42a7d9(0xdf)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x23451a&&_0x23451a[_0x42a7d9(0xff)])+_0x42a7d9(0x133)+_0x57eef0);}}[a17_0x182341(0x131)](_0x32b821){const _0x2ba5e2=a17_0x182341,_0x570eef={'Qudkq':function(_0x556687,_0x3a02ae){return _0x556687!==_0x3a02ae;},'qAlmj':function(_0x2ed403){return _0x2ed403();},'DVhSP':function(_0x4cd814,_0x375b2e){return _0x4cd814===_0x375b2e;},'NGsCN':_0x2ba5e2(0x11c),'skrDi':'TestRunSkipped','raLmr':'TestRunFinished','YQeYI':function(_0x3e10fd,_0x1f6c80){return _0x3e10fd(_0x1f6c80);}};try{if(_0x570eef['Qudkq'](testhubUtils[_0x2ba5e2(0xf8)](),!![]))return;const _0x228d0d=testRunMap[_0x2ba5e2(0xf9)](_0x32b821['id'])||_0x570eef[_0x2ba5e2(0x140)](uuidv4),_0x502b98=_0x570eef['DVhSP'](_0x32b821[_0x2ba5e2(0xe7)],_0x570eef[_0x2ba5e2(0x106)])?_0x570eef['skrDi']:_0x570eef[_0x2ba5e2(0x108)];this[_0x2ba5e2(0x145)](_0x32b821,_0x228d0d,_0x502b98);}catch(_0x5a974b){_0x570eef[_0x2ba5e2(0x156)](debug,_0x2ba5e2(0x11f)+(_0x32b821&&_0x32b821[_0x2ba5e2(0xff)])+'\x20:\x20'+_0x5a974b);}finally{_0x32b821&&(testRunMap['remove'](_0x32b821['id']),_specStartTimes[_0x2ba5e2(0x104)](_0x32b821['id']));}}[a17_0x182341(0x105)](){}[a17_0x182341(0xf4)](){}[a17_0x182341(0x145)](_0x5bfc56,_0x5e6daa,_0x3069e6){const _0x50dda9=a17_0x182341,_0x245f47={'CsROP':function(_0x2193f9,_0x3a3004){return _0x2193f9===_0x3a3004;},'kEGfS':_0x50dda9(0x10a),'dWdba':function(_0x55ad99,_0x593b63){return _0x55ad99===_0x593b63;},'cHXph':_0x50dda9(0x11b),'xrEbW':_0x50dda9(0x110),'XqFUj':function(_0x4e5f2a,_0x3c0744,_0x566fe9){return _0x4e5f2a(_0x3c0744,_0x566fe9);},'TWCrm':'err','ycQTq':function(_0x17d646,_0x57d6b2){return _0x17d646===_0x57d6b2;},'DzdeR':_0x50dda9(0x14d),'cPcFy':function(_0x40a738,_0x1f0e19){return _0x40a738!==_0x1f0e19;},'piQMC':function(_0x170b5a,_0x6d789f){return _0x170b5a===_0x6d789f;},'JruFY':_0x50dda9(0x14f),'SMciI':function(_0x221270,_0x230610){return _0x221270&&_0x230610;},'Cjjis':function(_0x4b2210,_0x1fdf31){return _0x4b2210===_0x1fdf31;},'xJVQI':_0x50dda9(0x12f),'NdAlU':_0x50dda9(0xe2),'CxGuo':_0x50dda9(0x128),'raDzu':_0x50dda9(0xe6),'Obphx':'UnhandledError','fNVgP':_0x50dda9(0x149),'OZKSF':_0x50dda9(0xee),'XXxnI':_0x50dda9(0x161),'hQsEE':_0x50dda9(0x132),'HRUfo':_0x50dda9(0x13e),'duUpr':_0x50dda9(0x10b),'MdWPI':_0x50dda9(0x121),'ORQmN':function(_0x255363,_0x7f82ad){return _0x255363===_0x7f82ad;},'jnosR':function(_0x3706b7,_0xff4665){return _0x3706b7(_0xff4665);}};try{const _0x16bf3d=_0x245f47[_0x50dda9(0x10f)](_0x3069e6,_0x245f47[_0x50dda9(0x11e)])||_0x245f47[_0x50dda9(0x12c)](_0x3069e6,_0x245f47['cHXph']),_0x47d0b3=this[_0x50dda9(0xf5)](_0x5bfc56),_0x50f247=_0x47d0b3?this['_paths'][_0x50dda9(0x152)](_0x47d0b3):_0x245f47[_0x50dda9(0x163)],_0x209f12=_0x47d0b3?this['_findGitConfig'](path[_0x50dda9(0x125)](_0x47d0b3)):null,_0x4b807c=this[_0x50dda9(0xed)](_0x5bfc56['failedExpectations']),_0xbd4f82=_0x4b807c?_0x4b807c[_0x50dda9(0x147)]:undefined,_0x3bae8a=_0x4b807c?_0x245f47[_0x50dda9(0x15c)](failureData,_0x4b807c,_0x245f47[_0x50dda9(0x138)]):[],_0x22e065=new Date()[_0x50dda9(0x102)](),_0x226f19=this[_0x50dda9(0xec)](_0x5bfc56);_0x245f47[_0x50dda9(0x166)](_0x3069e6,_0x245f47[_0x50dda9(0x153)])&&_0x5bfc56&&_0x245f47[_0x50dda9(0x12b)](_0x5bfc56['id'],undefined)&&_0x245f47[_0x50dda9(0x12b)](_0x5bfc56['id'],null)&&_specStartTimes[_0x50dda9(0xe1)](_0x5bfc56['id'],_0x22e065);const _0x21dab8=_0x245f47[_0x50dda9(0x13d)](_0x3069e6,_0x245f47[_0x50dda9(0x153)])?_0x22e065:_0x5bfc56&&_specStartTimes['get'](_0x5bfc56['id'])||null,_0x4bcca7={};_0x4bcca7[_0x50dda9(0xfb)]=_0x245f47[_0x50dda9(0xef)],_0x4bcca7[_0x50dda9(0x15e)]=null;const _0x2a055e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x5e6daa,'name':_0x5bfc56[_0x50dda9(0x144)],'body':_0x4bcca7,'scope':_0x226f19[_0x50dda9(0x15f)]('\x20'),'scopes':_0x226f19,'identifier':_0x5bfc56[_0x50dda9(0xff)],'file_name':_0x50f247,'vc_filepath':_0x245f47[_0x50dda9(0x165)](_0x209f12,_0x47d0b3)?path['relative'](_0x209f12,_0x47d0b3):null,'location':_0x50f247,'result':_0x245f47['Cjjis'](_0x3069e6,_0x245f47[_0x50dda9(0x164)])?_0x245f47[_0x50dda9(0x13f)]:STATUS_MAP[_0x5bfc56[_0x50dda9(0xe7)]]||_0x245f47[_0x50dda9(0xfc)],'failure_reason':_0xbd4f82,'duration_in_ms':_0x245f47['ycQTq'](typeof _0x5bfc56[_0x50dda9(0x100)],_0x245f47[_0x50dda9(0x12d)])?_0x5bfc56[_0x50dda9(0x100)]:null,'started_at':_0x21dab8,'finished_at':_0x16bf3d?_0x22e065:null,'failure':_0x3bae8a,'failure_type':!_0xbd4f82?null:_0xbd4f82[_0x50dda9(0xdb)](/AssertionError/)?_0x245f47[_0x50dda9(0x135)]:_0x245f47[_0x50dda9(0x143)],'retry_of':null};_0x245f47['CsROP'](_0x3069e6,_0x245f47[_0x50dda9(0x164)])&&!_0x2a055e[_0x245f47[_0x50dda9(0xfd)]]&&(_0x2a055e[_0x245f47[_0x50dda9(0xfd)]]=_0x2a055e[_0x245f47['OZKSF']]);const _0x14867c=_0x2a055e[_0x245f47[_0x50dda9(0x155)]][0x0];_0x14867c&&(_0x2a055e[_0x245f47['hQsEE']]=_0x14867c[_0x245f47[_0x50dda9(0x11a)]],_0x2a055e[_0x245f47[_0x50dda9(0x146)]]=_0x14867c[_0x245f47['MdWPI']]);testhubUtils[_0x50dda9(0x124)](_0x2a055e,_0x3069e6,_0x5bfc56,FRAMEWORKS[_0x50dda9(0x148)]);const _0x2c47eb={'event_type':_0x245f47[_0x50dda9(0xe9)](_0x3069e6,_0x245f47['cHXph'])?_0x245f47['kEGfS']:_0x3069e6,'test_run':_0x2a055e};return testhubUtils[_0x50dda9(0x10d)](FRAMEWORKS[_0x50dda9(0x148)],_0x2c47eb),SessionHandler['uploadEventData'](_0x2c47eb);}catch(_0x5ed567){_0x245f47[_0x50dda9(0x154)](debug,_0x50dda9(0xe4)+_0x3069e6+'\x20:\x20'+_0x5ed567);}}[a17_0x182341(0xec)](_0x15fb50){const _0x17600c=a17_0x182341,_0x286b86={'Yuegz':function(_0x54300d,_0x2bb883){return _0x54300d!==_0x2bb883;},'ftOfY':function(_0x53c328,_0x36a28c){return _0x53c328!==_0x36a28c;},'eBXHz':function(_0x6d6c88,_0xcb38c4){return _0x6d6c88>_0xcb38c4;},'SPlLf':function(_0x512230,_0x486315){return _0x512230(_0x486315);},'LubWf':function(_0xe6bbbb,_0x1378e8){return _0xe6bbbb-_0x1378e8;}};try{const _0xc79e99=[];let _0x1e9c10=_0x15fb50&&_0x15fb50['parentSuiteId'];const _0x463a3a=new Set();while(_0x286b86[_0x17600c(0xf3)](_0x1e9c10,undefined)&&_0x286b86[_0x17600c(0x160)](_0x1e9c10,null)&&this[_0x17600c(0x112)]['has'](_0x1e9c10)&&!_0x463a3a['has'](_0x1e9c10)){_0x463a3a[_0x17600c(0x126)](_0x1e9c10);const _0x565ba4=this[_0x17600c(0x112)][_0x17600c(0xf9)](_0x1e9c10);_0x565ba4&&_0x565ba4[_0x17600c(0x144)]&&_0xc79e99[_0x17600c(0x14b)](_0x565ba4[_0x17600c(0x144)]),_0x1e9c10=_0x565ba4?_0x565ba4[_0x17600c(0x119)]:null;}if(_0x286b86['eBXHz'](_0xc79e99['length'],0x0))return _0xc79e99[_0x17600c(0xdc)]();}catch(_0x555bdb){_0x286b86[_0x17600c(0x115)](debug,_0x17600c(0x134)+(_0x15fb50&&_0x15fb50['fullName'])+_0x17600c(0x133)+_0x555bdb);}const _0x7d6c42=_0x15fb50&&_0x15fb50[_0x17600c(0xff)]||'',_0x20e513=_0x15fb50&&_0x15fb50[_0x17600c(0x144)]||'';let _0x7c9e=_0x7d6c42;return _0x20e513&&_0x7d6c42[_0x17600c(0xf7)](_0x20e513)&&(_0x7c9e=_0x7d6c42[_0x17600c(0x10e)](0x0,_0x286b86[_0x17600c(0x139)](_0x7d6c42[_0x17600c(0x12a)],_0x20e513[_0x17600c(0x12a)]))[_0x17600c(0x109)]()),_0x7c9e?_0x7c9e[_0x17600c(0xf6)](/\s+/):[];}[a17_0x182341(0xf5)](_0x2b505c){const _0x40f813=a17_0x182341,_0x5a82c2={};_0x5a82c2[_0x40f813(0x14e)]=function(_0x357592,_0x595c85){return _0x357592===_0x595c85;},_0x5a82c2[_0x40f813(0x158)]=function(_0x5e2256,_0x465784){return _0x5e2256+_0x465784;},_0x5a82c2['WyupC']=function(_0x589a2c,_0x5d26ef){return _0x589a2c>_0x5d26ef;};const _0x4c1145=_0x5a82c2;if(_0x2b505c&&_0x2b505c[_0x40f813(0x127)])return _0x2b505c[_0x40f813(0x127)];if(_0x2b505c&&_0x2b505c[_0x40f813(0xff)]){if(this['_fileNameByFullName'][_0x2b505c[_0x40f813(0xff)]])return this[_0x40f813(0xea)][_0x2b505c[_0x40f813(0xff)]];let _0x40525c=null,_0x2b1e58=-0x1;for(const _0x2a7cd0 of Object[_0x40f813(0x157)](this[_0x40f813(0xea)])){(_0x4c1145[_0x40f813(0x14e)](_0x2b505c[_0x40f813(0xff)],_0x2a7cd0)||_0x2b505c[_0x40f813(0xff)][_0x40f813(0x151)](_0x4c1145[_0x40f813(0x158)](_0x2a7cd0,'\x20')))&&_0x4c1145[_0x40f813(0x13b)](_0x2a7cd0['length'],_0x2b1e58)&&(_0x40525c=this[_0x40f813(0xea)][_0x2a7cd0],_0x2b1e58=_0x2a7cd0['length']);}if(_0x40525c)return _0x40525c;}return null;}[a17_0x182341(0xed)](_0x37e6f3){const _0x49f0c8=a17_0x182341,_0x5ad73a={};_0x5ad73a[_0x49f0c8(0xe5)]=function(_0x4fec10,_0x2ff8c3){return _0x4fec10===_0x2ff8c3;},_0x5ad73a[_0x49f0c8(0xfa)]=_0x49f0c8(0xf0);const _0xaab8d1=_0x5ad73a;if(!Array[_0x49f0c8(0x114)](_0x37e6f3)||_0xaab8d1[_0x49f0c8(0xe5)](_0x37e6f3[_0x49f0c8(0x12a)],0x0))return undefined;const _0x4b5481=[],_0x608803=[];for(const _0x4d65ca of _0x37e6f3){_0x4d65ca&&_0x4d65ca[_0x49f0c8(0x147)]&&_0x4b5481['push'](_0x4d65ca['message']),_0x4d65ca&&_0x4d65ca['stack']&&_0x608803[_0x49f0c8(0x14b)](_0x4d65ca[_0x49f0c8(0x120)]);}const _0x356d94=_0x37e6f3[0x0]||{},_0x2d78d4=_0x4b5481['join']('\x0a')||_0x356d94[_0x49f0c8(0x147)]||_0xaab8d1[_0x49f0c8(0xfa)],_0x55bd1d=_0x608803[_0x49f0c8(0x15f)]('\x0a\x0a')||_0x356d94[_0x49f0c8(0x120)]||_0x2d78d4,_0x59e99d={};return _0x59e99d[_0x49f0c8(0x147)]=_0x2d78d4,_0x59e99d[_0x49f0c8(0x120)]=_0x55bd1d,_0x59e99d[_0x49f0c8(0x103)]=_0x356d94['matcherName'],_0x59e99d['expected']=_0x356d94[_0x49f0c8(0x137)],_0x59e99d['actual']=_0x356d94[_0x49f0c8(0x130)],_0x59e99d;}[a17_0x182341(0xf1)](_0x4c9abf){const _0x1724cc=a17_0x182341,_0x38dc3e={};_0x38dc3e[_0x1724cc(0x14c)]=function(_0x26a2b5,_0x115261){return _0x26a2b5===_0x115261;},_0x38dc3e[_0x1724cc(0x150)]=function(_0x47baba,_0x170b34){return _0x47baba===_0x170b34;},_0x38dc3e[_0x1724cc(0x129)]=function(_0x3bb96c,_0x459891){return _0x3bb96c===_0x459891;},_0x38dc3e[_0x1724cc(0x11d)]='.git',_0x38dc3e[_0x1724cc(0x15b)]=_0x1724cc(0x159);const _0x5e1680=_0x38dc3e,_0x282d18=path[_0x1724cc(0x123)];if(_0x5e1680[_0x1724cc(0x14c)](_0x4c9abf,null)||_0x5e1680[_0x1724cc(0x150)](_0x4c9abf,'')||_0x5e1680[_0x1724cc(0x129)](_0x4c9abf,_0x282d18)||_0x5e1680[_0x1724cc(0x14c)](_0x4c9abf,path[_0x1724cc(0x125)](_0x4c9abf)))return null;try{return fs['statSync'](path['join'](_0x4c9abf,_0x5e1680[_0x1724cc(0x11d)],_0x5e1680[_0x1724cc(0x15b)])),_0x4c9abf;}catch(_0x5c7a1e){return this[_0x1724cc(0xf1)](path['dirname'](_0x4c9abf));}}}module[a17_0x182341(0xfe)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a18_0x1d22(){const _0x1c3c81=['parseFileNames','6beFrts','platformIndex','Running\x20your\x20Jasmine\x20tests\x20across\x20','existsSync','string','isBrowserstackInfra','LZHSc','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','getPackageVersion','MrjKr','iWPow','utf8','../../helpers/test-observability/utils','olxTS','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','debug',';\x20proceeding\x20without\x20injection','RXRXd','winstonLogger','capability','mdTPo','eoJsK','uHVtV','platforms','env','../../helpers/helper','trim','JASMINE','2358480UngpGC','uWDpA','finalExecution','10190484nQMdqh','getPlatformName','TUuJM','MOHFp','exports','\x20:\x20','isArray','FEKNW','\x20platform(s),\x20parallelsPerPlatform=','exitCode','specArgs','glob','UYmyH','getHubUrl','FHknw','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','Bacjb','error','**/*[sS]pec.?(m)js','314349zkmZjT','BROWSERSTACK_TEST_OBSERVABILITY_YML','test.setup.js','parallelsPerPlatform','util','filter','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','VDdqU','shouldReRunObservabilityTests','posix','binSessionId','parse','../../helpers/testhub/testhubHandler','eKwfb','useW3C','spec','ESswU','RamGb','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','FVhjP','accessibilityOptions','fsaoc','BROWSERSTACK_JASMINE_PARALLELS','startsWith','10pszXLZ','win32','EOIdk','../v2/browserstackCLI','FRAMEWORKS','BROWSERSTACK_RERUN_TESTS','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','../../helpers/performance/constants','UahMl','../../helpers/utilities','199017ZthPpy','EVENTS','../utils/constants','slice','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','start','inherit','../../helpers/test-observability/constants','TaEBc','sMfcx','spec_dir','635VSXQAF','initialize','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','info','length','mBxuH','SDK_CLEANUP','getMultiDriverWorkerConfig','npx','format','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','LrXnO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','SDK_SETUP','../../helpers/playwright-helper','getInstance','gQHVc','../../helpers/logger','PWPmy','jasmine\x20child\x20(platformIndex=','4036gPGBmc','QnakN','push','testObservability','nphYz','qElxH','418812WcpkpH','../../helpers/puppeteer-helper','close','wxreA','resolve','maxWorkers','__isPuppeteerInstalled','QfBcQ','assign','cwd','true','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','stringify','spec/support/jasmine.json','spec_files','\x27\x20:\x20',')\x20:\x20','config','yxMiH','SWKKL','from','cwrbT','child_process','../../helpers/performance/performance-tester','ihHrd','all','336801nqGpeg','path','printBuildLink','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','AwdOL','p-limit','yVgvQ','AgDiN','end','JASMINE_CONFIG_PATH','platform','ARGoJ','wrChu',',\x20specs=','handleApp','ZpJSQ','map','join'];a18_0x1d22=function(){return _0x1c3c81;};return a18_0x1d22();}function a18_0xaf8a(_0x396a6b,_0x5eb097){const _0x1d2229=a18_0x1d22();return a18_0xaf8a=function(_0xaf8a9c,_0x584e7e){_0xaf8a9c=_0xaf8a9c-0xe1;let _0x4204e4=_0x1d2229[_0xaf8a9c];return _0x4204e4;},a18_0xaf8a(_0x396a6b,_0x5eb097);}const a18_0x333131=a18_0xaf8a;(function(_0x430e44,_0x129ad7){const _0x5c21bb=a18_0xaf8a,_0x207267=_0x430e44();while(!![]){try{const _0x424067=-parseInt(_0x5c21bb(0x108))/0x1+-parseInt(_0x5c21bb(0x11b))/0x2*(parseInt(_0x5c21bb(0x14d))/0x3)+parseInt(_0x5c21bb(0xe8))/0x4*(parseInt(_0x5c21bb(0x17a))/0x5)+-parseInt(_0x5c21bb(0xee))/0x6+-parseInt(_0x5c21bb(0x16f))/0x7+-parseInt(_0x5c21bb(0x137))/0x8+-parseInt(_0x5c21bb(0x13a))/0x9*(-parseInt(_0x5c21bb(0x165))/0xa);if(_0x424067===_0x129ad7)break;else _0x207267['push'](_0x207267['shift']());}catch(_0x478d87){_0x207267['push'](_0x207267['shift']());}}}(a18_0x1d22,0x34ca2));const fs=require('fs'),path=require(a18_0x333131(0x109)),util=require(a18_0x333131(0x151)),{spawn}=require(a18_0x333131(0x104)),glob=require(a18_0x333131(0x145)),pLimit=require(a18_0x333131(0x10d)),logger=require(a18_0x333131(0xe5))[a18_0x333131(0x12d)],helper=require(a18_0x333131(0x134)),utilities=require(a18_0x333131(0x16e)),constants=require(a18_0x333131(0x171)),TestHubHandler=require(a18_0x333131(0x159)),testOpsHelper=require(a18_0x333131(0x127)),{debug}=require(a18_0x333131(0x127)),{FRAMEWORKS}=require(a18_0x333131(0x176)),PerformanceTester=require(a18_0x333131(0x105)),PerformanceEvents=require(a18_0x333131(0x16c))[a18_0x333131(0x170)],BrowserstackCLI=require(a18_0x333131(0x168)),{checkPwandBootstrapCli}=require(a18_0x333131(0xe2)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x333131(0xef)),getMaxWorkers=(_0x203c31,_0x3b2f2c)=>{const _0x5cf663=a18_0x333131,_0x12c81f={'mBxuH':function(_0x402ee7,_0x1c216d){return _0x402ee7(_0x1c216d);}};let _0x267aa1=0x1;if(!helper['isUndefined'](_0x3b2f2c[_0x5cf663(0x150)]))_0x267aa1=_0x12c81f[_0x5cf663(0x17f)](parseInt,_0x3b2f2c[_0x5cf663(0x150)]);else!helper['isUndefined'](_0x203c31[_0x5cf663(0xf3)])&&(_0x267aa1=_0x203c31[_0x5cf663(0xf3)]);return _0x267aa1;},resolveJasmineConfigPath=()=>{const _0x361333=a18_0x333131,_0x4f5ad4={};_0x4f5ad4[_0x361333(0xf1)]=_0x361333(0xfb);const _0x48a0d8=_0x4f5ad4,_0x134365=[];process['env'][_0x361333(0x111)]&&_0x134365[_0x361333(0xea)](path['resolve'](process[_0x361333(0xf7)](),process[_0x361333(0x133)][_0x361333(0x111)]));_0x134365[_0x361333(0xea)](path['resolve'](process[_0x361333(0xf7)](),_0x48a0d8[_0x361333(0xf1)]));for(const _0xb01449 of _0x134365){try{if(fs['existsSync'](_0xb01449))return _0xb01449;}catch(_0x2c98e9){}}return null;},enumerateSpecFiles=_0x1f9363=>{const _0x345b67=a18_0x333131,_0x4d86e0={'UYmyH':function(_0x120231,_0x3b42e8){return _0x120231(_0x3b42e8);},'uWDpA':function(_0x4917c4,_0x28d4fd){return _0x4917c4>_0x28d4fd;},'VDdqU':function(_0x52a0b9,_0x58acb3){return _0x52a0b9<_0x58acb3;},'LZHSc':function(_0x442e88,_0x1b580f){return _0x442e88===_0x1b580f;},'TUuJM':_0x345b67(0x11f),'MrjKr':function(_0x27e090,_0x32427f){return _0x27e090>_0x32427f;},'qElxH':function(_0x528b06,_0x3a0ec7,_0x57f653){return _0x528b06(_0x3a0ec7,_0x57f653);},'sMfcx':function(_0x408392){return _0x408392();},'iWPow':_0x345b67(0x126),'LrXnO':_0x345b67(0x15c),'cwrbT':function(_0x19ca35,_0x3a7474){return _0x19ca35>_0x3a7474;},'AwdOL':_0x345b67(0x14c),'ESswU':function(_0x24c670,_0x43fc62,_0x3bb351){return _0x24c670(_0x43fc62,_0x3bb351);}};try{if(testOpsHelper[_0x345b67(0x155)]()){const _0x4c86c6=testOpsHelper[_0x345b67(0x11a)](process[_0x345b67(0x133)][_0x345b67(0x16a)]);if(Array[_0x345b67(0x140)](_0x4c86c6)&&_0x4d86e0[_0x345b67(0x138)](_0x4c86c6[_0x345b67(0x17e)],0x0))return _0x4c86c6[_0x345b67(0x118)](_0x7882e4=>path['resolve'](process[_0x345b67(0xf7)](),_0x7882e4[_0x345b67(0x135)]()))[_0x345b67(0x152)](Boolean);}}catch(_0x491919){_0x4d86e0[_0x345b67(0x146)](debug,'Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20'+util[_0x345b67(0x183)](_0x491919));}const _0x2e2d75=[];try{for(let _0x2eaf74=0x1;_0x4d86e0[_0x345b67(0x154)](_0x2eaf74,_0x1f9363[_0x345b67(0x17e)]);_0x2eaf74++){const _0x3d35b2=_0x1f9363[_0x2eaf74];_0x4d86e0[_0x345b67(0x121)](typeof _0x3d35b2,_0x4d86e0[_0x345b67(0x13c)])&&!_0x3d35b2[_0x345b67(0x164)]('-')&&_0x2e2d75[_0x345b67(0xea)](_0x3d35b2);}}catch(_0x789215){}const _0x4ba2e8={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x5cd436=(_0x1632a,_0x222c91)=>{const _0x5c7dd0=_0x345b67,_0x25bc13=[];for(const _0x112dff of _0x1632a){try{const _0xdc2f30=_0x222c91?path[_0x5c7dd0(0x156)]['join'](_0x222c91,_0x112dff):_0x112dff,_0x34d7fe=glob['globSync'](_0xdc2f30,_0x4ba2e8);Array[_0x5c7dd0(0x140)](_0x34d7fe)&&_0x25bc13[_0x5c7dd0(0xea)](..._0x34d7fe);}catch(_0x4ee08d){_0x4d86e0[_0x5c7dd0(0x146)](debug,_0x5c7dd0(0x16b)+_0x112dff+_0x5c7dd0(0xfd)+util['format'](_0x4ee08d));}}return _0x25bc13;};if(_0x4d86e0['MrjKr'](_0x2e2d75['length'],0x0)){const _0x894f8c=_0x4d86e0[_0x345b67(0xed)](_0x5cd436,_0x2e2d75,null);if(_0x4d86e0[_0x345b67(0x124)](_0x894f8c[_0x345b67(0x17e)],0x0))return Array[_0x345b67(0x102)](new Set(_0x894f8c));return _0x2e2d75[_0x345b67(0x118)](_0x370f6c=>path[_0x345b67(0xf2)](process[_0x345b67(0xf7)](),_0x370f6c));}try{const _0x4fecc6=_0x4d86e0[_0x345b67(0x178)](resolveJasmineConfigPath);if(_0x4fecc6){const _0x1c239d=JSON[_0x345b67(0x158)](fs['readFileSync'](_0x4fecc6,_0x4d86e0[_0x345b67(0x125)])),_0x1b79f6=_0x1c239d[_0x345b67(0x179)]||_0x4d86e0[_0x345b67(0x185)],_0x171ae8=Array[_0x345b67(0x140)](_0x1c239d[_0x345b67(0xfc)])&&_0x4d86e0['cwrbT'](_0x1c239d[_0x345b67(0xfc)][_0x345b67(0x17e)],0x0)?_0x1c239d[_0x345b67(0xfc)]:[_0x4d86e0[_0x345b67(0x10c)]],_0x302e19=_0x4d86e0[_0x345b67(0x15d)](_0x5cd436,_0x171ae8,_0x1b79f6);if(_0x4d86e0[_0x345b67(0x103)](_0x302e19['length'],0x0))return Array[_0x345b67(0x102)](new Set(_0x302e19));}}catch(_0x347154){_0x4d86e0[_0x345b67(0x146)](debug,_0x345b67(0x129)+util[_0x345b67(0x183)](_0x347154));}return null;};async function run(_0x480cd8,_0x1914df,_0x4ed903){const _0x1b23b4=a18_0x333131,_0x141bd1={'QnakN':function(_0x5403cf,_0x6215fc){return _0x5403cf>_0x6215fc;},'gQHVc':_0x1b23b4(0x107),'FEKNW':function(_0x317546,_0x2b8e7f){return _0x317546(_0x2b8e7f);},'yxMiH':function(_0x35adfe,_0x3f73c5){return _0x35adfe||_0x3f73c5;},'EOIdk':function(_0x47aa41,_0x300036){return _0x47aa41(_0x300036);},'eoJsK':function(_0x227db5,_0x339948){return _0x227db5(_0x339948);},'QfBcQ':function(_0x4e6df2,_0xd02701){return _0x4e6df2>_0xd02701;},'sKzri':function(_0xdbed7b,_0x1961ab,_0x54f5af,_0xe60f6d){return _0xdbed7b(_0x1961ab,_0x54f5af,_0xe60f6d);},'laKuE':_0x1b23b4(0x182),'uHVtV':'jasmine','qBCcg':function(_0x4de54a,_0x34f41b){return _0x4de54a===_0x34f41b;},'FHknw':_0x1b23b4(0x166),'SWKKL':_0x1b23b4(0x175),'ARGoJ':_0x1b23b4(0xf0),'PWPmy':_0x1b23b4(0x14b),'eKwfb':'@playwright/test','Bacjb':function(_0x5cf1b4){return _0x5cf1b4();},'olxTS':function(_0x4a73c5,_0x122c1d,_0x74ea51,_0x443d93){return _0x4a73c5(_0x122c1d,_0x74ea51,_0x443d93);},'nphYz':function(_0x3691af,_0x3a4139){return _0x3691af!=_0x3a4139;},'fsaoc':_0x1b23b4(0xf8),'wrChu':function(_0x55513e,_0xc94912){return _0x55513e(_0xc94912);},'UahMl':function(_0x58ee28,_0x416824){return _0x58ee28(_0x416824);},'xNCKp':function(_0x2aa187,_0x2cffad){return _0x2aa187(_0x2cffad);},'TaEBc':function(_0x51028c,_0x18d02b){return _0x51028c(_0x18d02b);},'RamGb':function(_0xf68cdb,_0x1e1664,_0x6c56d1){return _0xf68cdb(_0x1e1664,_0x6c56d1);},'yVgvQ':function(_0x4efc63,_0x19b54f){return _0x4efc63*_0x19b54f;},'MOHFp':function(_0x7a8844,_0x22b6b1){return _0x7a8844(_0x22b6b1);},'AgDiN':_0x1b23b4(0x14f),'mdTPo':function(_0xebeb79,_0xbcfeff){return _0xebeb79(_0xbcfeff);},'RXRXd':function(_0x3267e9,_0x175273){return _0x3267e9(_0x175273);},'ZpJSQ':function(_0xbfad73,_0x499ed7){return _0xbfad73(_0x499ed7);},'FVhjP':function(_0xea3af0,_0x49576c){return _0xea3af0<_0x49576c;},'ivBvr':function(_0x1831fa,_0xb484f8){return _0x1831fa>_0xb484f8;},'zWMzF':function(_0x30edc9,_0x13c6cd){return _0x30edc9>_0x13c6cd;},'ihHrd':function(_0x3cd032,_0x7db874){return _0x3cd032(_0x7db874);}},_0x1e7592=helper[_0x1b23b4(0x123)](_0x141bd1[_0x1b23b4(0x15a)]);global['__isPlaywrightInstalled']=!!_0x1e7592;const _0x557602=_0x141bd1[_0x1b23b4(0x14a)](getPuppeteerVersion);global[_0x1b23b4(0xf4)]=!!_0x557602;helper[_0x1b23b4(0x120)]()&&(await _0x4ed903[_0x1b23b4(0x17b)](_0x480cd8),await helper[_0x1b23b4(0x116)](_0x4ed903[_0x1b23b4(0xff)]));if(_0x1e7592)await _0x141bd1['sKzri'](checkPwandBootstrapCli,_0x1e7592,constants[_0x1b23b4(0x169)]['JASMINE'],_0x4ed903);else _0x557602&&await _0x141bd1[_0x1b23b4(0x128)](checkPuppeteerAndBootstrapCli,_0x557602,constants['FRAMEWORKS'][_0x1b23b4(0x136)],_0x4ed903);if(!_0x4ed903[_0x1b23b4(0xff)])return;_0x141bd1[_0x1b23b4(0xec)](_0x4ed903[_0x1b23b4(0xff)][_0x1b23b4(0xeb)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4ed903[_0x1b23b4(0xff)]['testObservability']:process['env'][_0x1b23b4(0x14e)]=_0x141bd1[_0x1b23b4(0x162)];!helper['isUndefined'](_0x4ed903[_0x1b23b4(0xff)]['accessibilityOptions'])&&(process['env'][_0x1b23b4(0x186)]=JSON[_0x1b23b4(0xfa)](_0x4ed903[_0x1b23b4(0xff)][_0x1b23b4(0x161)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0x1b23b4(0x136)],_0x4ed903);}catch(_0x2b2e0b){logger[_0x1b23b4(0x14b)](_0x1b23b4(0x173)+util['format'](_0x2b2e0b)),_0x141bd1[_0x1b23b4(0x114)](debug,_0x1b23b4(0x149)+util['format'](_0x2b2e0b));}let _0x18c8f7=![],_0x5d9a52=[];try{_0x18c8f7=helper[_0x1b23b4(0x15b)](_0x4ed903[_0x1b23b4(0xff)]),_0x5d9a52=helper['prepareCapabilities'](_0x4ed903[_0x1b23b4(0xff)],_0x18c8f7,constants[_0x1b23b4(0x169)][_0x1b23b4(0x136)]),process[_0x1b23b4(0x133)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x1b23b4(0xfa)](_0x5d9a52);}catch(_0x578c55){_0x141bd1[_0x1b23b4(0x16d)](debug,_0x1b23b4(0x15f)+util[_0x1b23b4(0x183)](_0x578c55));}let _0xb80f1b=null,_0xb359bd=![];try{_0xb80f1b=helper[_0x1b23b4(0x147)](_0x4ed903[_0x1b23b4(0xff)]),_0xb359bd=helper['validPlatformsPresent'](_0x4ed903['config']);}catch(_0x242460){_0x141bd1['xNCKp'](debug,_0x1b23b4(0x10b)+util[_0x1b23b4(0x183)](_0x242460));}let _0x5455b2={};try{_0x5455b2=helper[_0x1b23b4(0x181)](_0x4ed903[_0x1b23b4(0xff)],_0x18c8f7,constants[_0x1b23b4(0x169)][_0x1b23b4(0x136)]);}catch(_0x120432){_0x141bd1[_0x1b23b4(0x177)](debug,'Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20'+util[_0x1b23b4(0x183)](_0x120432));}const _0x1740bc=_0x19899c=>{const _0x251368=_0x1b23b4,_0x2cdfb7=Array[_0x251368(0x140)](_0x5d9a52)&&_0x141bd1['QnakN'](_0x5d9a52[_0x251368(0x17e)],_0x19899c)?_0x5d9a52[_0x19899c]:Array[_0x251368(0x140)](_0x5d9a52)&&_0x141bd1[_0x251368(0xe9)](_0x5d9a52[_0x251368(0x17e)],0x0)?_0x5d9a52[0x0]:{};return Object[_0x251368(0xf6)]({'server':_0xb80f1b,'capability':_0x2cdfb7,'proxySettings':_0x4ed903[_0x251368(0xff)]['proxySettings'],'platform':helper[_0x251368(0x13b)](_0x2cdfb7),'browserStackLogLevel':_0x4ed903['config']['logLevel'],'platformIndex':_0x19899c,'framework':constants[_0x251368(0x169)][_0x251368(0x136)],'platformCaps':_0xb359bd?Object[_0x251368(0xf6)]({'index':_0x19899c},_0x4ed903[_0x251368(0xff)][_0x251368(0x132)][_0x19899c]):{'index':_0x19899c}},_0x5455b2);};let _0x223a02=0x1,_0x2f6973=0x1,_0x20467e=0x1;try{_0x223a02=_0x141bd1[_0x1b23b4(0x15e)](getMaxWorkers,_0x480cd8,_0x4ed903['config']),_0x2f6973=_0xb359bd?_0x4ed903['config'][_0x1b23b4(0x132)][_0x1b23b4(0x17e)]:0x1,_0x20467e=_0x141bd1[_0x1b23b4(0x10e)](_0x2f6973,_0x223a02),process[_0x1b23b4(0x133)][_0x1b23b4(0x163)]=_0x141bd1[_0x1b23b4(0x130)](String,_0x20467e);}catch(_0x46c374){_0x141bd1[_0x1b23b4(0x167)](debug,_0x1b23b4(0x153)+util[_0x1b23b4(0x183)](_0x46c374));}try{BrowserstackCLI[_0x1b23b4(0xe3)]()[_0x1b23b4(0x157)]&&(process[_0x1b23b4(0x133)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()['binSessionId']);}catch(_0x4156fa){_0x141bd1['MOHFp'](debug,'Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20'+util['format'](_0x4156fa));}const _0x37f0b6=[];try{const _0xcda6cd=path[_0x1b23b4(0xf2)](__dirname,_0x141bd1[_0x1b23b4(0x10f)]);fs[_0x1b23b4(0x11e)](_0xcda6cd)?_0x37f0b6['push']('--helper='+_0xcda6cd):_0x141bd1[_0x1b23b4(0x12f)](debug,_0x1b23b4(0x184)+_0xcda6cd+_0x1b23b4(0x12b));}catch(_0x456487){_0x141bd1[_0x1b23b4(0x12c)](debug,_0x1b23b4(0x17c)+util[_0x1b23b4(0x183)](_0x456487));}const _0x465a37=_0x1914df[_0x1b23b4(0x172)](0x1),_0x21121b=_0x141bd1[_0x1b23b4(0x117)](enumerateSpecFiles,_0x1914df),_0x21fbae=[];for(let _0x4d4dfc=0x0;_0x141bd1[_0x1b23b4(0x160)](_0x4d4dfc,_0x2f6973);_0x4d4dfc++){if(_0x141bd1[_0x1b23b4(0xf5)](_0x223a02,0x1)&&Array[_0x1b23b4(0x140)](_0x21121b)&&_0x141bd1['ivBvr'](_0x21121b[_0x1b23b4(0x17e)],0x0))for(const _0x309225 of _0x21121b){const _0x23edda={};_0x23edda['platformIndex']=_0x4d4dfc,_0x23edda[_0x1b23b4(0x144)]=[_0x309225],_0x21fbae[_0x1b23b4(0xea)](_0x23edda);}else{const _0x4ddc60={};_0x4ddc60[_0x1b23b4(0x11c)]=_0x4d4dfc,_0x4ddc60[_0x1b23b4(0x144)]=_0x21121b,_0x21fbae[_0x1b23b4(0xea)](_0x4ddc60);}}logger[_0x1b23b4(0x17d)](_0x1b23b4(0x11d)+_0x2f6973+_0x1b23b4(0x142)+_0x223a02+'\x20('+_0x21fbae[_0x1b23b4(0x17e)]+'\x20work-item(s),\x20max\x20'+_0x20467e+'\x20concurrent)'),PerformanceTester[_0x1b23b4(0x110)](PerformanceEvents[_0x1b23b4(0xe1)]);const _0x3c1261=_0x24226e=>new Promise(_0x36ef52=>{const _0x1a0800=_0x1b23b4;let _0x38d8e2;try{const _0x2868fc=_0x141bd1[_0x1a0800(0x130)](_0x1740bc,_0x24226e[_0x1a0800(0x11c)]);_0x38d8e2=Object[_0x1a0800(0xf6)]({},process[_0x1a0800(0x133)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x1a0800(0xfa)](_0x2868fc),'BROWSERSTACK_CAPABILITIES':JSON[_0x1a0800(0xfa)]([_0x2868fc[_0x1a0800(0x12e)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x14d1ab){_0x141bd1[_0x1a0800(0x167)](debug,_0x1a0800(0x122)+_0x24226e[_0x1a0800(0x11c)]+_0x1a0800(0x13f)+util['format'](_0x14d1ab)),_0x38d8e2=Object[_0x1a0800(0xf6)]({},process[_0x1a0800(0x133)]);}const _0x316cb9=Array[_0x1a0800(0x140)](_0x24226e['specArgs'])?_0x24226e[_0x1a0800(0x144)]:[],_0x12a77a=_0x141bd1[_0x1a0800(0xf5)](_0x316cb9[_0x1a0800(0x17e)],0x0)?_0x465a37[_0x1a0800(0x152)](_0x1df932=>typeof _0x1df932===_0x1a0800(0x11f)&&_0x1df932[_0x1a0800(0x164)]('-')):_0x465a37,_0x483cfa=[..._0x37f0b6,..._0x12a77a,..._0x316cb9];try{const _0x28ac95=_0x141bd1['sKzri'](spawn,_0x141bd1['laKuE'],[_0x141bd1[_0x1a0800(0x131)],..._0x483cfa],{'shell':_0x141bd1['qBCcg'](process[_0x1a0800(0x112)],_0x141bd1[_0x1a0800(0x148)]),'stdio':_0x141bd1[_0x1a0800(0x101)],'env':_0x38d8e2});_0x28ac95['on'](_0x141bd1[_0x1a0800(0x113)],_0x1c5f14=>{const _0x14d1fa=_0x1a0800;logger['debug'](_0x14d1fa(0xe7)+_0x24226e['platformIndex']+_0x14d1fa(0x115)+(_0x316cb9[_0x14d1fa(0x17e)]?_0x316cb9[_0x14d1fa(0x119)](','):_0x141bd1[_0x14d1fa(0xe4)])+')\x20exited\x20with\x20code\x20'+_0x1c5f14),_0x141bd1[_0x14d1fa(0x141)](_0x36ef52,_0x141bd1[_0x14d1fa(0x100)](_0x1c5f14,0x0));}),_0x28ac95['on'](_0x141bd1[_0x1a0800(0xe6)],_0x2106b0=>{const _0x2ffe1b=_0x1a0800;_0x141bd1['FEKNW'](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x24226e[_0x2ffe1b(0x11c)]+_0x2ffe1b(0xfe)+util[_0x2ffe1b(0x183)](_0x2106b0)),_0x141bd1[_0x2ffe1b(0x167)](_0x36ef52,0x1);});}catch(_0x1a0274){_0x141bd1['eoJsK'](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x24226e[_0x1a0800(0x11c)]+')\x20:\x20'+util['format'](_0x1a0274)),_0x141bd1[_0x1a0800(0x130)](_0x36ef52,0x1);}}),_0x2faa77=_0x141bd1[_0x1b23b4(0x13d)](pLimit,_0x141bd1['zWMzF'](_0x20467e,0x0)?_0x20467e:0x1),_0x8824c6=await Promise['all'](_0x21fbae['map'](_0x2c3f26=>_0x2faa77(()=>_0x3c1261(_0x2c3f26))));PerformanceTester[_0x1b23b4(0x174)](PerformanceEvents[_0x1b23b4(0x180)]);const _0x358a56=_0x8824c6['find'](_0x2bc156=>_0x2bc156!==0x0)||0x0;process[_0x1b23b4(0x143)]=_0x358a56,logger[_0x1b23b4(0x12a)]('All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20'+_0x358a56);const _0xecc875=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x1b23b4(0xe3)]()['stop']();}catch(_0x10301){_0x141bd1[_0x1b23b4(0x106)](debug,_0x1b23b4(0xf9)+util[_0x1b23b4(0x183)](_0x10301));}testOpsHelper[_0x1b23b4(0x10a)](),await utilities[_0x1b23b4(0x139)](_0x4ed903,_0xecc875);}module[a18_0x333131(0x13e)]=run;
|
|
2
|
+
'use strict';const a18_0xd3a528=a18_0x58a2;(function(_0x3bad8a,_0x18acfb){const _0x4fc21a=a18_0x58a2,_0x19e5dc=_0x3bad8a();while(!![]){try{const _0x16313f=-parseInt(_0x4fc21a(0x20e))/0x1+parseInt(_0x4fc21a(0x25a))/0x2+parseInt(_0x4fc21a(0x216))/0x3+parseInt(_0x4fc21a(0x24b))/0x4*(parseInt(_0x4fc21a(0x21b))/0x5)+parseInt(_0x4fc21a(0x23c))/0x6*(parseInt(_0x4fc21a(0x1f0))/0x7)+parseInt(_0x4fc21a(0x231))/0x8+-parseInt(_0x4fc21a(0x1f3))/0x9;if(_0x16313f===_0x18acfb)break;else _0x19e5dc['push'](_0x19e5dc['shift']());}catch(_0x36dee7){_0x19e5dc['push'](_0x19e5dc['shift']());}}}(a18_0x3257,0x65247));function a18_0x58a2(_0x5a28e5,_0x599f7f){const _0x325780=a18_0x3257();return a18_0x58a2=function(_0x58a245,_0x1b64a2){_0x58a245=_0x58a245-0x1ed;let _0x22f386=_0x325780[_0x58a245];return _0x22f386;},a18_0x58a2(_0x5a28e5,_0x599f7f);}const fs=require('fs'),path=require(a18_0xd3a528(0x223)),util=require(a18_0xd3a528(0x23b)),{spawn}=require(a18_0xd3a528(0x293)),glob=require(a18_0xd3a528(0x200)),pLimit=require('p-limit'),logger=require('../../helpers/logger')[a18_0xd3a528(0x271)],helper=require(a18_0xd3a528(0x256)),utilities=require(a18_0xd3a528(0x1ee)),constants=require(a18_0xd3a528(0x28e)),TestHubHandler=require(a18_0xd3a528(0x20c)),testOpsHelper=require(a18_0xd3a528(0x254)),{debug}=require(a18_0xd3a528(0x254)),{FRAMEWORKS}=require(a18_0xd3a528(0x282)),PerformanceTester=require(a18_0xd3a528(0x273)),PerformanceEvents=require('../../helpers/performance/constants')[a18_0xd3a528(0x249)],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a18_0xd3a528(0x1fa)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0xd3a528(0x26f)),getMaxWorkers=(_0x131295,_0x293ae6)=>{const _0x1d0e76=a18_0xd3a528,_0x452427={'REOSV':function(_0x294a7e,_0xe03193){return _0x294a7e(_0xe03193);}};let _0x21e774=0x1;if(!helper[_0x1d0e76(0x25e)](_0x293ae6['parallelsPerPlatform']))_0x21e774=_0x452427[_0x1d0e76(0x27f)](parseInt,_0x293ae6[_0x1d0e76(0x1f2)]);else!helper[_0x1d0e76(0x25e)](_0x131295[_0x1d0e76(0x288)])&&(_0x21e774=_0x131295['maxWorkers']);return _0x21e774;},resolveJasmineConfigPath=()=>{const _0x389186=a18_0xd3a528,_0x55ac86={};_0x55ac86[_0x389186(0x281)]=_0x389186(0x278);const _0x36c16a=_0x55ac86,_0xcf50b2=[];process[_0x389186(0x22e)]['JASMINE_CONFIG_PATH']&&_0xcf50b2['push'](path['resolve'](process['cwd'](),process[_0x389186(0x22e)][_0x389186(0x244)]));_0xcf50b2['push'](path[_0x389186(0x289)](process[_0x389186(0x269)](),_0x36c16a['CyVpV']));for(const _0x4cc8d7 of _0xcf50b2){try{if(fs[_0x389186(0x206)](_0x4cc8d7))return _0x4cc8d7;}catch(_0x30b66d){}}return null;},enumerateSpecFiles=_0x4d334d=>{const _0x3b2013=a18_0xd3a528,_0x232e79={'Iycwl':function(_0x1bbcd4,_0x1afcd7){return _0x1bbcd4(_0x1afcd7);},'pRlwQ':function(_0x212150,_0x1db717){return _0x212150>_0x1db717;},'WuEmM':function(_0x45e94e,_0x300d9b){return _0x45e94e(_0x300d9b);},'IgAFc':function(_0x52edc8,_0x1ba848){return _0x52edc8<_0x1ba848;},'Jmwbc':function(_0x366e9c,_0x354238){return _0x366e9c===_0x354238;},'oIVoN':_0x3b2013(0x21c),'ozwcg':function(_0x4fd32e,_0x3a4ec){return _0x4fd32e>_0x3a4ec;},'VeZGv':function(_0x2092fd,_0x4771d6,_0x14b36b){return _0x2092fd(_0x4771d6,_0x14b36b);},'HecyF':function(_0x1220a6,_0x55867c){return _0x1220a6>_0x55867c;},'GoARR':function(_0x567502){return _0x567502();},'xMBDT':_0x3b2013(0x283),'FEqow':_0x3b2013(0x259),'wQTvW':_0x3b2013(0x210),'xeATL':function(_0xdd95fc,_0x11569d,_0x3bb966){return _0xdd95fc(_0x11569d,_0x3bb966);},'qowJS':function(_0xc87d3,_0xf4a468){return _0xc87d3>_0xf4a468;}};try{if(testOpsHelper[_0x3b2013(0x28b)]()){const _0x35afe2=testOpsHelper[_0x3b2013(0x280)](process[_0x3b2013(0x22e)][_0x3b2013(0x1f1)]);if(Array['isArray'](_0x35afe2)&&_0x232e79['pRlwQ'](_0x35afe2[_0x3b2013(0x286)],0x0))return _0x35afe2[_0x3b2013(0x251)](_0x156a52=>path[_0x3b2013(0x289)](process['cwd'](),_0x156a52[_0x3b2013(0x1f5)]()))[_0x3b2013(0x264)](Boolean);}}catch(_0x2b5925){_0x232e79[_0x3b2013(0x21e)](debug,_0x3b2013(0x24f)+util[_0x3b2013(0x208)](_0x2b5925));}const _0x20ded5=[];try{for(let _0xf5d305=0x1;_0x232e79['IgAFc'](_0xf5d305,_0x4d334d['length']);_0xf5d305++){const _0x585b5e=_0x4d334d[_0xf5d305];_0x232e79[_0x3b2013(0x265)](typeof _0x585b5e,_0x232e79['oIVoN'])&&!_0x585b5e[_0x3b2013(0x28a)]('-')&&_0x20ded5[_0x3b2013(0x267)](_0x585b5e);}}catch(_0x2fd956){}const _0x9d24bd={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x533eda=(_0x1faf1b,_0x381ff7)=>{const _0x2e3bd5=_0x3b2013,_0x3522df=[];for(const _0x2c6af8 of _0x1faf1b){try{const _0x5da145=_0x381ff7?path[_0x2e3bd5(0x241)][_0x2e3bd5(0x258)](_0x381ff7,_0x2c6af8):_0x2c6af8,_0x2b1bfe=glob[_0x2e3bd5(0x287)](_0x5da145,_0x9d24bd);Array[_0x2e3bd5(0x218)](_0x2b1bfe)&&_0x3522df['push'](..._0x2b1bfe);}catch(_0x519d34){_0x232e79[_0x2e3bd5(0x291)](debug,_0x2e3bd5(0x248)+_0x2c6af8+_0x2e3bd5(0x28f)+util['format'](_0x519d34));}}return _0x3522df;};if(_0x232e79[_0x3b2013(0x226)](_0x20ded5[_0x3b2013(0x286)],0x0)){const _0x23994c=_0x232e79[_0x3b2013(0x230)](_0x533eda,_0x20ded5,null);if(_0x232e79['HecyF'](_0x23994c[_0x3b2013(0x286)],0x0))return Array[_0x3b2013(0x24a)](new Set(_0x23994c));return _0x20ded5[_0x3b2013(0x251)](_0x38802d=>path['resolve'](process[_0x3b2013(0x269)](),_0x38802d));}try{const _0x204699=_0x232e79[_0x3b2013(0x21d)](resolveJasmineConfigPath);if(_0x204699){const _0x2cb603=JSON[_0x3b2013(0x285)](fs['readFileSync'](_0x204699,_0x232e79[_0x3b2013(0x26c)])),_0x30dc21=_0x2cb603[_0x3b2013(0x246)]||_0x232e79[_0x3b2013(0x22c)],_0x175470=Array[_0x3b2013(0x218)](_0x2cb603[_0x3b2013(0x261)])&&_0x232e79[_0x3b2013(0x275)](_0x2cb603[_0x3b2013(0x261)][_0x3b2013(0x286)],0x0)?_0x2cb603[_0x3b2013(0x261)]:[_0x232e79[_0x3b2013(0x268)]],_0x5f530e=_0x232e79[_0x3b2013(0x239)](_0x533eda,_0x175470,_0x30dc21);if(_0x232e79[_0x3b2013(0x24c)](_0x5f530e[_0x3b2013(0x286)],0x0))return Array['from'](new Set(_0x5f530e));}}catch(_0x39f5e5){_0x232e79['WuEmM'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x3b2013(0x208)](_0x39f5e5));}return null;};async function run(_0x2acf83,_0x3756d5,_0x18fa3c){const _0xe8fa54=a18_0xd3a528,_0x364889={'Vjflc':function(_0x1fb0d4,_0xc198be){return _0x1fb0d4>_0xc198be;},'DXSAi':'all','THgyn':function(_0x4f5ac4,_0x78ad26){return _0x4f5ac4(_0x78ad26);},'bBVYk':function(_0x16d2d9,_0x1c810d){return _0x16d2d9||_0x1c810d;},'jdYEQ':function(_0x40a329,_0x4fce08){return _0x40a329(_0x4fce08);},'ugVQz':function(_0x3f8f81,_0x3597aa){return _0x3f8f81(_0x3597aa);},'TsGAF':function(_0x296ec8,_0x416875){return _0x296ec8>_0x416875;},'huEII':function(_0x3dd3f8,_0x17f8db,_0x1a052d,_0x8d2f10){return _0x3dd3f8(_0x17f8db,_0x1a052d,_0x8d2f10);},'DSvPF':_0xe8fa54(0x252),'GcqxY':_0xe8fa54(0x22a),'kvLue':function(_0x129892,_0x43e6f5){return _0x129892===_0x43e6f5;},'gSDzb':_0xe8fa54(0x240),'qmOTi':_0xe8fa54(0x25d),'dCNzo':_0xe8fa54(0x215),'RWkvS':_0xe8fa54(0x250),'CNNGe':function(_0x2073e9,_0xe1fc5a){return _0x2073e9(_0xe1fc5a);},'oEUli':_0xe8fa54(0x220),'aPYOd':function(_0x2ed451){return _0x2ed451();},'fZVRV':function(_0x350e2a,_0x2efe2e,_0x42489b,_0x4d3358){return _0x350e2a(_0x2efe2e,_0x42489b,_0x4d3358);},'asNDR':function(_0x3f175a,_0x51effb){return _0x3f175a!=_0x51effb;},'kImRH':_0xe8fa54(0x28c),'qcsmy':function(_0x11170f,_0x487266){return _0x11170f(_0x487266);},'VMJSv':function(_0x1e7e8f,_0x49e27c){return _0x1e7e8f(_0x49e27c);},'tBFjy':function(_0xe11be5,_0x473241,_0x3744da){return _0xe11be5(_0x473241,_0x3744da);},'llNOr':function(_0x4547ad,_0x32c51e){return _0x4547ad*_0x32c51e;},'qhjui':function(_0x305553,_0x51a48a){return _0x305553(_0x51a48a);},'VPmsw':_0xe8fa54(0x201),'fYSXu':function(_0x503d22,_0x1c718b){return _0x503d22(_0x1c718b);},'OljNk':function(_0x3987ef,_0x58d527){return _0x3987ef(_0x58d527);},'KfpNJ':function(_0x1d3cc9,_0x15eda9){return _0x1d3cc9(_0x15eda9);},'KWHgt':function(_0x42fc83,_0x322e46){return _0x42fc83<_0x322e46;},'KrbQw':function(_0x1a709b,_0x4bb562){return _0x1a709b>_0x4bb562;},'rmpqh':function(_0x27c9cf,_0x3ee48b){return _0x27c9cf(_0x3ee48b);}},_0x48f0b3=helper[_0xe8fa54(0x277)](_0x364889[_0xe8fa54(0x24d)]);global['__isPlaywrightInstalled']=!!_0x48f0b3;const _0x282992=_0x364889[_0xe8fa54(0x20b)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x282992;helper[_0xe8fa54(0x23f)]()&&(await _0x18fa3c[_0xe8fa54(0x21f)](_0x2acf83),await helper[_0xe8fa54(0x253)](_0x18fa3c[_0xe8fa54(0x232)]));if(_0x48f0b3)await _0x364889[_0xe8fa54(0x27a)](checkPwandBootstrapCli,_0x48f0b3,constants['FRAMEWORKS'][_0xe8fa54(0x229)],_0x18fa3c);else _0x282992&&await _0x364889['fZVRV'](checkPuppeteerAndBootstrapCli,_0x282992,constants['FRAMEWORKS'][_0xe8fa54(0x229)],_0x18fa3c);if(!_0x18fa3c['config'])return;_0x364889[_0xe8fa54(0x235)](_0x18fa3c[_0xe8fa54(0x232)][_0xe8fa54(0x23a)],null)?process['env'][_0xe8fa54(0x238)]=_0x18fa3c['config']['testObservability']:process[_0xe8fa54(0x22e)][_0xe8fa54(0x238)]=_0x364889[_0xe8fa54(0x211)];!helper[_0xe8fa54(0x25e)](_0x18fa3c[_0xe8fa54(0x232)]['accessibilityOptions'])&&(process[_0xe8fa54(0x22e)][_0xe8fa54(0x25c)]=JSON[_0xe8fa54(0x209)](_0x18fa3c['config'][_0xe8fa54(0x20f)]));try{await TestHubHandler['launchBuild'](FRAMEWORKS[_0xe8fa54(0x229)],_0x18fa3c);}catch(_0x22be22){logger[_0xe8fa54(0x250)](_0xe8fa54(0x214)+util[_0xe8fa54(0x208)](_0x22be22)),_0x364889[_0xe8fa54(0x1ef)](debug,_0xe8fa54(0x279)+util[_0xe8fa54(0x208)](_0x22be22));}let _0x5aa7f3=![],_0x47a01c=[];try{_0x5aa7f3=helper['useW3C'](_0x18fa3c[_0xe8fa54(0x232)]),_0x47a01c=helper[_0xe8fa54(0x243)](_0x18fa3c[_0xe8fa54(0x232)],_0x5aa7f3,constants[_0xe8fa54(0x205)][_0xe8fa54(0x229)]),process['env'][_0xe8fa54(0x1f6)]=JSON[_0xe8fa54(0x209)](_0x47a01c);}catch(_0x45be24){_0x364889[_0xe8fa54(0x1f4)](debug,_0xe8fa54(0x221)+util[_0xe8fa54(0x208)](_0x45be24));}let _0x390047=null,_0x326b7f=![];try{_0x390047=helper['getHubUrl'](_0x18fa3c[_0xe8fa54(0x232)]),_0x326b7f=helper[_0xe8fa54(0x276)](_0x18fa3c[_0xe8fa54(0x232)]);}catch(_0x3547ac){_0x364889[_0xe8fa54(0x257)](debug,_0xe8fa54(0x1ff)+util[_0xe8fa54(0x208)](_0x3547ac));}let _0x382d63={};try{_0x382d63=helper[_0xe8fa54(0x1f8)](_0x18fa3c[_0xe8fa54(0x232)],_0x5aa7f3,constants[_0xe8fa54(0x205)][_0xe8fa54(0x229)]);}catch(_0x28d1f1){_0x364889['jdYEQ'](debug,_0xe8fa54(0x227)+util[_0xe8fa54(0x208)](_0x28d1f1));}const _0xed9a6=_0x1573c9=>{const _0x24097f=_0xe8fa54,_0x20e6fb=Array['isArray'](_0x47a01c)&&_0x364889[_0x24097f(0x284)](_0x47a01c[_0x24097f(0x286)],_0x1573c9)?_0x47a01c[_0x1573c9]:Array[_0x24097f(0x218)](_0x47a01c)&&_0x364889['Vjflc'](_0x47a01c[_0x24097f(0x286)],0x0)?_0x47a01c[0x0]:{};return Object[_0x24097f(0x28d)]({'server':_0x390047,'capability':_0x20e6fb,'proxySettings':_0x18fa3c[_0x24097f(0x232)][_0x24097f(0x237)],'platform':helper[_0x24097f(0x266)](_0x20e6fb),'browserStackLogLevel':_0x18fa3c['config'][_0x24097f(0x270)],'platformIndex':_0x1573c9,'framework':constants[_0x24097f(0x205)][_0x24097f(0x229)],'platformCaps':_0x326b7f?Object[_0x24097f(0x28d)]({'index':_0x1573c9},_0x18fa3c['config'][_0x24097f(0x292)][_0x1573c9]):{'index':_0x1573c9}},_0x382d63);};let _0x31155e=0x1,_0x13d1e5=0x1,_0x534150=0x1;try{_0x31155e=_0x364889['tBFjy'](getMaxWorkers,_0x2acf83,_0x18fa3c[_0xe8fa54(0x232)]),_0x13d1e5=_0x326b7f?_0x18fa3c[_0xe8fa54(0x232)][_0xe8fa54(0x292)][_0xe8fa54(0x286)]:0x1,_0x534150=_0x364889['llNOr'](_0x13d1e5,_0x31155e),process['env'][_0xe8fa54(0x212)]=_0x364889[_0xe8fa54(0x207)](String,_0x534150);}catch(_0x165364){_0x364889[_0xe8fa54(0x245)](debug,_0xe8fa54(0x262)+util[_0xe8fa54(0x208)](_0x165364));}try{BrowserstackCLI[_0xe8fa54(0x242)]()[_0xe8fa54(0x260)]&&(process[_0xe8fa54(0x22e)][_0xe8fa54(0x217)]=BrowserstackCLI[_0xe8fa54(0x242)]()['binSessionId']);}catch(_0x2eb0d4){_0x364889[_0xe8fa54(0x27c)](debug,_0xe8fa54(0x225)+util[_0xe8fa54(0x208)](_0x2eb0d4));}const _0x2c3acb=[];try{const _0x520ef8=path[_0xe8fa54(0x289)](__dirname,_0x364889[_0xe8fa54(0x203)]);fs[_0xe8fa54(0x206)](_0x520ef8)?_0x2c3acb[_0xe8fa54(0x267)](_0xe8fa54(0x255)+_0x520ef8):_0x364889[_0xe8fa54(0x224)](debug,_0xe8fa54(0x1fb)+_0x520ef8+';\x20proceeding\x20without\x20injection');}catch(_0x104af7){_0x364889['OljNk'](debug,_0xe8fa54(0x25f)+util[_0xe8fa54(0x208)](_0x104af7));}const _0x23fa5c=_0x3756d5['slice'](0x1),_0x2cc0bd=_0x364889['KfpNJ'](enumerateSpecFiles,_0x3756d5),_0x31a981=[];for(let _0x2c730a=0x0;_0x364889['KWHgt'](_0x2c730a,_0x13d1e5);_0x2c730a++){if(_0x364889['KrbQw'](_0x31155e,0x1)&&Array[_0xe8fa54(0x218)](_0x2cc0bd)&&_0x364889[_0xe8fa54(0x1f7)](_0x2cc0bd[_0xe8fa54(0x286)],0x0))for(const _0xb6a639 of _0x2cc0bd){const _0x2996bb={};_0x2996bb[_0xe8fa54(0x236)]=_0x2c730a,_0x2996bb[_0xe8fa54(0x274)]=[_0xb6a639],_0x31a981[_0xe8fa54(0x267)](_0x2996bb);}else{const _0x2777eb={};_0x2777eb[_0xe8fa54(0x236)]=_0x2c730a,_0x2777eb['specArgs']=_0x2cc0bd,_0x31a981[_0xe8fa54(0x267)](_0x2777eb);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x13d1e5+_0xe8fa54(0x213)+_0x31155e+'\x20('+_0x31a981[_0xe8fa54(0x286)]+_0xe8fa54(0x21a)+_0x534150+'\x20concurrent)'),PerformanceTester[_0xe8fa54(0x1f9)](PerformanceEvents[_0xe8fa54(0x25b)]);const _0xdd1cb2=_0x15f62e=>new Promise(_0xf09609=>{const _0x5878b8=_0xe8fa54,_0x3375f3={'tQWIy':_0x364889[_0x5878b8(0x1ed)],'uuOHp':function(_0x51071a,_0x234a6c){return _0x364889['THgyn'](_0x51071a,_0x234a6c);},'XuNcQ':function(_0x57d170,_0x19cf60){const _0xdf15ef=_0x5878b8;return _0x364889[_0xdf15ef(0x22f)](_0x57d170,_0x19cf60);},'yBywG':function(_0x53a39b,_0x3ca5a4){return _0x364889['THgyn'](_0x53a39b,_0x3ca5a4);},'veRZw':function(_0x2a1b20,_0x3968d8){return _0x364889['jdYEQ'](_0x2a1b20,_0x3968d8);}};let _0x2a9893;try{const _0x41826d=_0x364889[_0x5878b8(0x207)](_0xed9a6,_0x15f62e[_0x5878b8(0x236)]);_0x2a9893=Object[_0x5878b8(0x28d)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5878b8(0x209)](_0x41826d),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x41826d['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x49bfd5){_0x364889[_0x5878b8(0x1f4)](debug,_0x5878b8(0x26b)+_0x15f62e[_0x5878b8(0x236)]+_0x5878b8(0x27b)+util[_0x5878b8(0x208)](_0x49bfd5)),_0x2a9893=Object[_0x5878b8(0x28d)]({},process[_0x5878b8(0x22e)]);}const _0x8df7eb=Array[_0x5878b8(0x218)](_0x15f62e[_0x5878b8(0x274)])?_0x15f62e[_0x5878b8(0x274)]:[],_0x18d2e5=_0x364889['TsGAF'](_0x8df7eb[_0x5878b8(0x286)],0x0)?_0x23fa5c[_0x5878b8(0x264)](_0x55abe6=>typeof _0x55abe6===_0x5878b8(0x21c)&&_0x55abe6[_0x5878b8(0x28a)]('-')):_0x23fa5c,_0x9f8a8f=[..._0x2c3acb,..._0x18d2e5,..._0x8df7eb];try{const _0x1a80f7=_0x364889[_0x5878b8(0x27a)](spawn,_0x364889[_0x5878b8(0x234)],[_0x364889['GcqxY'],..._0x9f8a8f],{'shell':_0x364889[_0x5878b8(0x202)](process[_0x5878b8(0x26a)],_0x364889[_0x5878b8(0x1fc)]),'stdio':_0x364889[_0x5878b8(0x27d)],'env':_0x2a9893});_0x1a80f7['on'](_0x364889[_0x5878b8(0x247)],_0x2dae74=>{const _0xe2ae53=_0x5878b8;logger[_0xe2ae53(0x22b)]('jasmine\x20child\x20(platformIndex='+_0x15f62e[_0xe2ae53(0x236)]+_0xe2ae53(0x20a)+(_0x8df7eb[_0xe2ae53(0x286)]?_0x8df7eb['join'](','):_0x3375f3[_0xe2ae53(0x1fe)])+')\x20exited\x20with\x20code\x20'+_0x2dae74),_0x3375f3[_0xe2ae53(0x24e)](_0xf09609,_0x3375f3[_0xe2ae53(0x1fd)](_0x2dae74,0x0));}),_0x1a80f7['on'](_0x364889[_0x5878b8(0x233)],_0x2dd6ef=>{const _0x251310=_0x5878b8;_0x3375f3[_0x251310(0x23d)](debug,_0x251310(0x222)+_0x15f62e[_0x251310(0x236)]+_0x251310(0x228)+util[_0x251310(0x208)](_0x2dd6ef)),_0x3375f3['veRZw'](_0xf09609,0x1);});}catch(_0x5abd9e){_0x364889[_0x5878b8(0x245)](debug,_0x5878b8(0x204)+_0x15f62e[_0x5878b8(0x236)]+')\x20:\x20'+util['format'](_0x5abd9e)),_0x364889[_0x5878b8(0x245)](_0xf09609,0x1);}}),_0x4894dc=_0x364889[_0xe8fa54(0x26d)](pLimit,_0x364889[_0xe8fa54(0x1f7)](_0x534150,0x0)?_0x534150:0x1),_0xe99d91=await Promise['all'](_0x31a981[_0xe8fa54(0x251)](_0x16db0d=>_0x4894dc(()=>_0xdd1cb2(_0x16db0d))));PerformanceTester[_0xe8fa54(0x272)](PerformanceEvents[_0xe8fa54(0x290)]);const _0x161ed0=_0xe99d91[_0xe8fa54(0x27e)](_0x492602=>_0x492602!==0x0)||0x0;process[_0xe8fa54(0x23e)]=_0x161ed0,logger['debug'](_0xe8fa54(0x22d)+_0x161ed0);const _0x4a1875=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0xe8fa54(0x242)]()[_0xe8fa54(0x263)]();}catch(_0x510099){_0x364889[_0xe8fa54(0x1ef)](debug,_0xe8fa54(0x26e)+util[_0xe8fa54(0x208)](_0x510099));}testOpsHelper[_0xe8fa54(0x219)](),await utilities['finalExecution'](_0x18fa3c,_0x4a1875);}module[a18_0xd3a528(0x20d)]=run;function a18_0x3257(){const _0x1f2061=['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','inherit','isUndefined','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','binSessionId','spec_files','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','stop','filter','Jmwbc','getPlatformName','push','wQTvW','cwd','platform','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','xMBDT','rmpqh','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/puppeteer-helper','logLevel','winstonLogger','start','../../helpers/performance/performance-tester','specArgs','pRlwQ','validPlatformsPresent','getPackageVersion','spec/support/jasmine.json','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','huEII','\x20:\x20','qhjui','qmOTi','find','REOSV','parseFileNames','CyVpV','../../helpers/test-observability/constants','utf8','Vjflc','parse','length','globSync','maxWorkers','resolve','startsWith','shouldReRunObservabilityTests','true','assign','../utils/constants','\x27\x20:\x20','SDK_CLEANUP','Iycwl','platforms','child_process','DXSAi','../../helpers/utilities','qcsmy','14fYfnXr','BROWSERSTACK_RERUN_TESTS','parallelsPerPlatform','15548022WYvaLN','THgyn','trim','BROWSERSTACK_CAPABILITIES','TsGAF','getMultiDriverWorkerConfig','end','../../helpers/playwright-helper','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','gSDzb','XuNcQ','tQWIy','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','glob','test.setup.js','kvLue','VPmsw','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','FRAMEWORKS','existsSync','ugVQz','format','stringify',',\x20specs=','aPYOd','../../helpers/testhub/testhubHandler','exports','2774BLHLKx','accessibilityOptions','**/*[sS]pec.?(m)js','kImRH','BROWSERSTACK_JASMINE_PARALLELS','\x20platform(s),\x20parallelsPerPlatform=','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','close','729504RFBngT','BROWSERSTACK_CLI_BIN_SESSION_ID','isArray','printBuildLink','\x20work-item(s),\x20max\x20','2114815HPrjko','string','GoARR','WuEmM','initialize','@playwright/test','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','path','fYSXu','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','ozwcg','Exception\x20preparing\x20Jasmine\x20multi-driver\x20config;\x20spawning\x20children\x20single-driver\x20:\x20',')\x20:\x20','JASMINE','jasmine','debug','FEqow','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','env','bBVYk','VeZGv','2934304Gbwnmy','config','RWkvS','DSvPF','asNDR','platformIndex','proxySettings','BROWSERSTACK_TEST_OBSERVABILITY_YML','xeATL','testObservability','util','2286462VHKVez','yBywG','exitCode','isBrowserstackInfra','win32','posix','getInstance','prepareCapabilities','JASMINE_CONFIG_PATH','CNNGe','spec_dir','dCNzo','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','EVENTS','from','4zaRVOi','qowJS','oEUli','uuOHp','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','error','map','npx','handleApp','../../helpers/test-observability/utils','--helper=','../../helpers/helper','VMJSv','join','spec','699076DQBkoe','SDK_SETUP'];a18_0x3257=function(){return _0x1f2061;};return a18_0x3257();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a19_0x1436da=a19_0x483a;(function(_0x2e72ba,_0x383eac){const _0x4dba05=a19_0x483a,_0xabb00e=_0x2e72ba();while(!![]){try{const _0x2be041=parseInt(_0x4dba05(0x176))/0x1+-parseInt(_0x4dba05(0x167))/0x2+parseInt(_0x4dba05(0x113))/0x3*(parseInt(_0x4dba05(0x16f))/0x4)+parseInt(_0x4dba05(0x13e))/0x5+-parseInt(_0x4dba05(0x136))/0x6*(parseInt(_0x4dba05(0x15a))/0x7)+parseInt(_0x4dba05(0x17c))/0x8+-parseInt(_0x4dba05(0x109))/0x9;if(_0x2be041===_0x383eac)break;else _0xabb00e['push'](_0xabb00e['shift']());}catch(_0x3a8e56){_0xabb00e['push'](_0xabb00e['shift']());}}}(a19_0x242e,0x99325));const util=require(a19_0x1436da(0x140)),logger=require('../../helpers/logger')[a19_0x1436da(0x171)],helper=require('../../helpers/helper'),globals=require(a19_0x1436da(0x183)),{shouldProcessEventForTesthub}=require(a19_0x1436da(0x117)),testHubConstants=require(a19_0x1436da(0x157)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a19_0x1436da(0x166)),accessibilityRetryHelper=require(a19_0x1436da(0x10e)),testRunMap=require(a19_0x1436da(0x14d));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a19_0x242e(){const _0x1b44ff=['getEnv','lnXwp','is_mobile_session','saveAccessibilityResultsWithRetry','QaTVB','session_','559134CNcCsA','[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20','__platformCaps','Passed','debug','../../helpers/accessibility-automation/accessibilityRetryHelper','split','getFileName','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','skipSessionName','3Hlpybr','thBuildUuid','markSessionStatus','platformIndex','../../helpers/testhub/utils','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','EqSgE','\x22}}','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','exports','[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20','function','browserstackPlatformIndex','autoScanning','ezZBd','startsWith','DlGmy','BROWSERSTACK_JASMINE_CONFIG','pop','isMobilePlatform','sDzsm','format','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','addReporter','@playwright/test','join','BROWSERSTACK_TESTHUB_JWT','thJwtToken','PqdOP','eWxpQ','path','sessionNameSet__','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','JUWKN','failed','90BPZjIt','keys','__skipSessionName','node:','sessionName','Failed:\x20','parse','env','4174715lnTnNs','eJxqp','util','describe','isTrue','IGurp','nPeOx','shift','ENV_VAR','xsWsq','hrpXk','setGlobal','bstackA11yScanOptions','bstackA11yShouldScan','dcNcv','./testRunMap','__skipSessionStatus','undefined','bin','EoRuh','WSVFs','ZpnKM','sep','push','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','../../helpers/testhub/constants','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','NDODq','445837JdoPqC','browserstackSessionName','platformCaps','isArray','__drivers','pSISr','KnvRd','KpxAJ','thTestRunUuid','YrUWZ','forEach','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','../../helpers/accessibility-automation/helper','1944272LqtYJm','jasmine-core','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','browserstackAgentV2','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','SpvKy','info','2448512ewVbEP','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','winstonLogger','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','failedExpectations','BROWSERSTACK_TESTHUB_UUID','fileNameByFullName','386229SIzMGw','Spec\x20failed','get','initQuit','tjkmo','length','6270560cQyrxM','executeScript','BgWMk','prepareStackTrace','error','wpurE','message','../../helpers/globals','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stack','warn','SzgSr','isBrowserstackInfra','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','./bstack-reporter/customReporter','includes','niCzI','../../index','XvBgF','stringify'];a19_0x242e=function(){return _0x1b44ff;};return a19_0x242e();}try{const rawConfig=process[a19_0x1436da(0x13d)][a19_0x1436da(0x124)]||process['env']['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1436da(0x13c)](rawConfig));}catch(a19_0x50e0e3){logger['debug'](a19_0x1436da(0x11b)+util['format'](a19_0x50e0e3));}try{if(_bstackConfig&&!helper['getPackageVersion'](a19_0x1436da(0x12b))){const BuItKB='3|2|4|0|1'[a19_0x1436da(0x10f)]('|');let TioanC=0x0;while(!![]){switch(BuItKB[TioanC++]){case'0':global[a19_0x1436da(0x11f)]=_bstackConfig[a19_0x1436da(0x116)];continue;case'1':helper[a19_0x1436da(0xfa)]()?(global[a19_0x1436da(0x138)]=helper[a19_0x1436da(0x142)](_bstackConfig[a19_0x1436da(0x112)]),global[a19_0x1436da(0x14e)]=helper[a19_0x1436da(0x142)](_bstackConfig['skipSessionStatus'])):(global['__skipSessionName']=!![],global[a19_0x1436da(0x14e)]=!![]);continue;case'2':shouldProcessEventForTesthub()?require('../../index')[a19_0x1436da(0x16a)](_bstackConfig,null,!![]):require(a19_0x1436da(0x100))[a19_0x1436da(0x16a)](_bstackConfig);continue;case'3':logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'4':global[a19_0x1436da(0x10b)]=_bstackConfig[a19_0x1436da(0x15c)]||{};continue;}break;}}}catch(a19_0x243928){logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a19_0x1436da(0x128)](a19_0x243928));}const _fileNameByFullName={};function a19_0x483a(_0x25a9dc,_0x3cfd89){const _0x242e42=a19_0x242e();return a19_0x483a=function(_0x483aad,_0x69a838){_0x483aad=_0x483aad-0xf8;let _0x3e4f73=_0x242e42[_0x483aad];return _0x3e4f73;},a19_0x483a(_0x25a9dc,_0x3cfd89);}try{if(typeof describe===a19_0x1436da(0x11e)&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x2ed080=a19_0x1436da,_0x4c520c={'xsWsq':function(_0x2a0c6a,_0x4f1c1a){return _0x2a0c6a(_0x4f1c1a);},'lnXwp':_0x2ed080(0x131),'nPeOx':_0x2ed080(0x139),'KpxAJ':_0x2ed080(0x168)},_0x184cd8=Error['prepareStackTrace'];try{const _0x4cda5a=new Error();Error[_0x2ed080(0x17f)]=(_0x1dfa31,_0xc065a8)=>_0xc065a8;const _0x11e80c=_0x4cda5a[_0x2ed080(0x187)];Error[_0x2ed080(0x17f)]=_0x184cd8;if(Array[_0x2ed080(0x15d)](_0x11e80c))for(const _0xc7c970 of _0x11e80c){const _0xd4d768=_0xc7c970['getFileName']&&_0xc7c970[_0x2ed080(0x110)]();if(_0xd4d768&&!_0xd4d768['includes'](_0x2ed080(0x150)+_0x4c520c[_0x2ed080(0x147)](require,_0x4c520c[_0x2ed080(0x104)])[_0x2ed080(0x154)]+'jasmine'+_0x4c520c[_0x2ed080(0x147)](require,_0x4c520c[_0x2ed080(0x104)])[_0x2ed080(0x154)])&&!_0xd4d768[_0x2ed080(0x122)](_0x4c520c[_0x2ed080(0x144)])&&!_0xd4d768[_0x2ed080(0xfe)](_0x4c520c[_0x2ed080(0x161)]))return _0xd4d768;}}catch(_0x24d4ff){Error[_0x2ed080(0x17f)]=_0x184cd8;}return null;},_wrappedDescribe=function(_0x141940,_0x4a8901){const _0x3b7fcb=a19_0x1436da,_0x9239e7={'wpurE':function(_0x23ad6c){return _0x23ad6c();},'JUWKN':function(_0x2c7f4a,_0x4b2ae4){return _0x2c7f4a&&_0x4b2ae4;},'BgWMk':function(_0x74a633,_0x4b5164,_0x9c1ed1){return _0x74a633(_0x4b5164,_0x9c1ed1);}};let _0x586232=null;try{_0x586232=_0x9239e7[_0x3b7fcb(0x181)](_resolveCallerFile);}catch(_0x48d4c9){}_describeTitleStack[_0x3b7fcb(0x155)](_0x141940);const _0x685535=_describeTitleStack[_0x3b7fcb(0x12c)]('\x20');_0x9239e7[_0x3b7fcb(0x134)](_0x586232,_0x685535)&&(_fileNameByFullName[_0x685535]=_0x586232);try{return _0x9239e7[_0x3b7fcb(0x17e)](_origDescribe,_0x141940,_0x4a8901);}finally{_describeTitleStack[_0x3b7fcb(0x125)]();}};Object[a19_0x1436da(0x137)](_origDescribe)[a19_0x1436da(0x164)](_0x2df33c=>{_wrappedDescribe[_0x2df33c]=_origDescribe[_0x2df33c];}),global[a19_0x1436da(0x141)]=_wrappedDescribe;}}catch(a19_0x1b6fb2){logger[a19_0x1436da(0x10d)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util[a19_0x1436da(0x128)](a19_0x1b6fb2));}try{if(typeof jasmine!=='undefined'&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a19_0x1436da(0xfd)),a19_0x5173f3={};a19_0x5173f3[a19_0x1436da(0x175)]=_fileNameByFullName,jasmine[a19_0x1436da(0x103)]()[a19_0x1436da(0x12a)](new BrowserStackJasmineReporter(a19_0x5173f3)),logger[a19_0x1436da(0x10d)](a19_0x1436da(0x169));}else logger['debug'](a19_0x1436da(0x170));}catch(a19_0xd3844b){logger[a19_0x1436da(0x10d)](a19_0x1436da(0xfc)+util[a19_0x1436da(0x128)](a19_0xd3844b));}try{typeof jasmine!==a19_0x1436da(0x14f)&&jasmine['getEnv']&&jasmine[a19_0x1436da(0x103)]()['addReporter']({'specStarted'(_0x44108c){const _0x4daf88=a19_0x1436da,_0x3d4b16={};_0x3d4b16['ezZBd']=function(_0x3ac7ef,_0x31f756){return _0x3ac7ef||_0x31f756;};const _0x98e6c1=_0x3d4b16;_activeResultId=_0x44108c&&_0x44108c['id'],_activeFullName=_0x44108c&&_0x44108c['fullName'],_activeResultRef=_0x98e6c1[_0x4daf88(0x121)](_0x44108c,null);},'specDone'(){}});}catch(a19_0x6043dd){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20'+util[a19_0x1436da(0x128)](a19_0x6043dd));}const _resolveAutoScanning=()=>{const _0x5e5237=a19_0x1436da,_0x402aed={};_0x402aed[_0x5e5237(0x160)]=function(_0x4cbeaf,_0x44b4a6){return _0x4cbeaf===_0x44b4a6;};const _0x317a88=_0x402aed;let _0x50c389=!![];try{const _0xceb363=JSON[_0x5e5237(0x13c)](process[_0x5e5237(0x13d)][_0x5e5237(0x186)]||'{}');_0x317a88[_0x5e5237(0x160)](_0xceb363[_0x5e5237(0x120)],![])&&(_0x50c389=![]);}catch(_0x5e45c8){logger[_0x5e5237(0x10d)](_0x5e5237(0x16c)+_0x5e45c8['message']);}return _0x50c389;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x3e785d=a19_0x1436da,_0x1ec999={'sDzsm':function(_0x51a49b){return _0x51a49b();},'EqSgE':function(_0x480179,_0x51140e,_0x398a83){return _0x480179(_0x51140e,_0x398a83);},'IGurp':function(_0x314080,_0x2e4b48){return _0x314080&&_0x2e4b48;},'eJxqp':_0x3e785d(0x14b),'SpvKy':_0x3e785d(0x14a)};try{const _0x56130f=_0x1ec999[_0x3e785d(0x127)](_resolveAutoScanning),_0xb450fc=_0x1ec999[_0x3e785d(0x119)](shouldScanTestForAccessibility,null,![]),_0x3a1a8a=_0x1ec999[_0x3e785d(0x143)](_0x56130f,_0xb450fc);globals[_0x3e785d(0x149)](_0x1ec999[_0x3e785d(0x13f)],_0x3a1a8a),globals[_0x3e785d(0x149)](_0x1ec999[_0x3e785d(0x16d)],null);}catch(_0xd6db31){logger[_0x3e785d(0x10d)](_0x3e785d(0x165)+util[_0x3e785d(0x128)](_0xd6db31));}}),typeof afterEach===a19_0x1436da(0x11e)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x2bbe5c=a19_0x1436da,_0x1d0a87={'EoRuh':function(_0x1014e0,_0x4d1570){return _0x1014e0>_0x4d1570;},'NDODq':function(_0x34da32,_0x2ef651){return _0x34da32>_0x2ef651;},'cxBox':function(_0x8bfb9,_0x57195c){return _0x8bfb9>_0x57195c;},'zTEaU':_0x2bbe5c(0x177),'eWxpQ':function(_0x196a44,_0x1ea52b){return _0x196a44+_0x1ea52b;},'DvGKn':_0x2bbe5c(0x13b),'hrpXk':_0x2bbe5c(0x10c),'PqdOP':_0x2bbe5c(0x180),'QaTVB':_0x2bbe5c(0x16e),'pSISr':_0x2bbe5c(0x135),'OObeM':'passed','XvBgF':function(_0x57abde){return _0x57abde();},'ZpnKM':'isAccessibilityPlatform','niCzI':_0x2bbe5c(0x14b),'WSVFs':'[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','YrUWZ':_0x2bbe5c(0x172),'SzgSr':_0x2bbe5c(0x184),'DlGmy':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','Ycinw':_0x2bbe5c(0x126),'tjkmo':_0x2bbe5c(0x111),'UwVAz':_0x2bbe5c(0x133)};try{if(Array[_0x2bbe5c(0x15d)](global[_0x2bbe5c(0x15e)])&&_0x1d0a87[_0x2bbe5c(0x151)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x1)){const _0x1dba13=global[_0x2bbe5c(0x15e)][0x0];try{await _0x1dba13[_0x2bbe5c(0x108)],await _0x1dba13[_0x2bbe5c(0x179)]();}catch(_0x1da762){logger[_0x2bbe5c(0x10d)]('[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20'+util['format'](_0x1da762));}global['__drivers'][_0x2bbe5c(0x145)]();}}catch(_0x259854){logger['debug'](_0x2bbe5c(0x10a)+util[_0x2bbe5c(0x128)](_0x259854));}try{if(Array[_0x2bbe5c(0x15d)](global['__drivers'])&&_0x1d0a87[_0x2bbe5c(0x159)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x0)&&global[_0x2bbe5c(0x15e)][0x0]){const _0x43378e=_activeFullName||global[_0x2bbe5c(0x13a)];if(!global['__skipSessionName']&&_0x43378e){global['sessionName']=_0x43378e;try{await global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x17d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x2bbe5c(0x102)](_0x43378e)+'}}'),global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x132)]=!![];}catch(_0x46794c){logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0x156)+util[_0x2bbe5c(0x128)](_0x46794c));}}if(!global[_0x2bbe5c(0x14e)])try{const _0x40d85a=_activeResultRef&&Array[_0x2bbe5c(0x15d)](_activeResultRef[_0x2bbe5c(0x173)])?_activeResultRef[_0x2bbe5c(0x173)]:[],_0x5e0ed6=_0x1d0a87['cxBox'](_0x40d85a[_0x2bbe5c(0x17b)],0x0),_0x565271=_0x5e0ed6?_0x40d85a[0x0]&&_0x40d85a[0x0][_0x2bbe5c(0x182)]||_0x1d0a87['zTEaU']:null;try{await global[_0x2bbe5c(0x15e)][0x0][_0x2bbe5c(0x17d)](_0x2bbe5c(0x185)+JSON[_0x2bbe5c(0x102)](_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x130)](_0x1d0a87['DvGKn'],_0x565271):_0x1d0a87[_0x2bbe5c(0x148)])+',\x22level\x22:\x20\x22'+(_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x12f)]:_0x1d0a87[_0x2bbe5c(0x107)])+_0x2bbe5c(0x11a));}catch(_0x406a36){logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0x129)+util[_0x2bbe5c(0x128)](_0x406a36));}_0x5e0ed6&&(global['__sessionFailed']=!![]),await helper[_0x2bbe5c(0x115)](global[_0x2bbe5c(0x15e)][0x0],_0x5e0ed6?_0x1d0a87[_0x2bbe5c(0x15f)]:_0x1d0a87['OObeM'],_0x565271);}catch(_0x574d8e){logger['debug'](_0x2bbe5c(0x16b)+util['format'](_0x574d8e));}}}catch(_0x4f1ef3){logger[_0x2bbe5c(0x10d)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util['format'](_0x4f1ef3));}try{if(_0x1d0a87[_0x2bbe5c(0x101)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x1d0a87[_0x2bbe5c(0x153)])&&Array[_0x2bbe5c(0x15d)](global[_0x2bbe5c(0x15e)])&&_0x1d0a87[_0x2bbe5c(0x159)](global[_0x2bbe5c(0x15e)][_0x2bbe5c(0x17b)],0x0)&&global[_0x2bbe5c(0x15e)][0x0]){const _0xb0b5d6=testRunMap[_0x2bbe5c(0x178)](_activeResultId),_0x121c61={};_0x121c61[_0x2bbe5c(0x162)]=_0xb0b5d6,_0x121c61[_0x2bbe5c(0x114)]=process[_0x2bbe5c(0x13d)][testHubConstants[_0x2bbe5c(0x146)][_0x2bbe5c(0x174)]],_0x121c61[_0x2bbe5c(0x12e)]=process[_0x2bbe5c(0x13d)][testHubConstants['ENV_VAR'][_0x2bbe5c(0x12d)]];const _0x32e9be=_0x121c61;logger[_0x2bbe5c(0x10d)](_0x2bbe5c(0xfb)+JSON[_0x2bbe5c(0x102)](_0x32e9be));if(globals['getGlobal'](_0x1d0a87[_0x2bbe5c(0xff)])){logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x152)]);const _0x2bfafb=await accessibilityRetryHelper['performScanWithRetry'](global[_0x2bbe5c(0x15e)][0x0],global[_0x2bbe5c(0x15b)]);_0x2bfafb?logger['debug'](_0x1d0a87[_0x2bbe5c(0x163)]):logger['warn'](_0x1d0a87[_0x2bbe5c(0xf9)]);}else logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x123)]);globals['getGlobal'](_0x1d0a87['Ycinw'])&&(_0x32e9be[_0x2bbe5c(0x105)]=!![]);const _0x8e0826=await accessibilityRetryHelper[_0x2bbe5c(0x106)](global[_0x2bbe5c(0x15e)][0x0],_0x32e9be);_0x8e0826?logger[_0x2bbe5c(0x10d)](_0x1d0a87[_0x2bbe5c(0x17a)]):logger[_0x2bbe5c(0xf8)](_0x1d0a87['UwVAz']);}}catch(_0x5b749d){logger[_0x2bbe5c(0x180)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x2bbe5c(0x128)](_0x5b749d));}});}catch(a19_0x55a56e){logger[a19_0x1436da(0x10d)](a19_0x1436da(0x158)+util[a19_0x1436da(0x128)](a19_0x55a56e));}try{typeof afterAll===a19_0x1436da(0x11e)&&afterAll(async function bstackFinalDriverQuit(){const _0x566e02=a19_0x1436da,_0x201ffa={};_0x201ffa[_0x566e02(0x14c)]=function(_0x6a8e1d,_0x23f787){return _0x6a8e1d>_0x23f787;};const _0x4a629b=_0x201ffa;try{Array['isArray'](global[_0x566e02(0x15e)])&&_0x4a629b[_0x566e02(0x14c)](global[_0x566e02(0x15e)]['length'],0x0)&&global[_0x566e02(0x15e)][0x0]&&(await global[_0x566e02(0x15e)][0x0][_0x566e02(0x108)],await global[_0x566e02(0x15e)][0x0][_0x566e02(0x179)]());}catch(_0x30a425){logger['debug'](_0x566e02(0x118)+util['format'](_0x30a425));}});}catch(a19_0x362551){logger[a19_0x1436da(0x10d)](a19_0x1436da(0x11d)+util[a19_0x1436da(0x128)](a19_0x362551));}module[a19_0x1436da(0x11c)]={};
|
|
1
|
+
'use strict';const a19_0x1c53ee=a19_0x1100;(function(_0x59fb0e,_0x48c48e){const _0x4bdfd3=a19_0x1100,_0x44e143=_0x59fb0e();while(!![]){try{const _0x543577=parseInt(_0x4bdfd3(0x7d))/0x1+-parseInt(_0x4bdfd3(0xbf))/0x2+parseInt(_0x4bdfd3(0xc6))/0x3+parseInt(_0x4bdfd3(0xdb))/0x4*(parseInt(_0x4bdfd3(0x101))/0x5)+-parseInt(_0x4bdfd3(0xed))/0x6*(-parseInt(_0x4bdfd3(0xb4))/0x7)+parseInt(_0x4bdfd3(0xba))/0x8+parseInt(_0x4bdfd3(0xe4))/0x9*(-parseInt(_0x4bdfd3(0x96))/0xa);if(_0x543577===_0x48c48e)break;else _0x44e143['push'](_0x44e143['shift']());}catch(_0xba3180){_0x44e143['push'](_0x44e143['shift']());}}}(a19_0x48c4,0x5490e));const util=require(a19_0x1c53ee(0xf2)),logger=require(a19_0x1c53ee(0xbe))['winstonLogger'],helper=require(a19_0x1c53ee(0x7c)),globals=require(a19_0x1c53ee(0x90)),{shouldProcessEventForTesthub}=require(a19_0x1c53ee(0xd5)),testHubConstants=require('../../helpers/testhub/constants'),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a19_0x1c53ee(0x80)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a19_0x1c53ee(0xe1)]['BROWSERSTACK_JASMINE_CONFIG']||process[a19_0x1c53ee(0xe1)][a19_0x1c53ee(0xad)];rawConfig!==undefined&&(_bstackConfig=JSON[a19_0x1c53ee(0xc3)](rawConfig));}catch(a19_0x55886c){logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x55886c));}function a19_0x1100(_0x2f293b,_0x5e8fe1){const _0x48c424=a19_0x48c4();return a19_0x1100=function(_0x110053,_0xa32b29){_0x110053=_0x110053-0x7a;let _0x11e63c=_0x48c424[_0x110053];return _0x11e63c;},a19_0x1100(_0x2f293b,_0x5e8fe1);}try{if(_bstackConfig&&!helper[a19_0x1c53ee(0xaa)](a19_0x1c53ee(0xb7))){const ldTDwE=a19_0x1c53ee(0xcb)[a19_0x1c53ee(0xbc)]('|');let xwEfOD=0x0;while(!![]){switch(ldTDwE[xwEfOD++]){case'0':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a19_0x1c53ee(0x87)](_bstackConfig[a19_0x1c53ee(0xe0)]),global[a19_0x1c53ee(0x86)]=helper['isTrue'](_bstackConfig[a19_0x1c53ee(0xfb)])):(global['__skipSessionName']=!![],global[a19_0x1c53ee(0x86)]=!![]);continue;case'1':global[a19_0x1c53ee(0xc2)]=_bstackConfig[a19_0x1c53ee(0xb2)]||{};continue;case'2':logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xbb));continue;case'3':shouldProcessEventForTesthub()?require(a19_0x1c53ee(0xce))[a19_0x1c53ee(0xd0)](_bstackConfig,null,!![]):require(a19_0x1c53ee(0xce))['browserstackAgentV2'](_bstackConfig);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a19_0x3d191b){logger['debug']('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util['format'](a19_0x3d191b));}const _fileNameByFullName={};try{if(typeof describe===a19_0x1c53ee(0x83)&&typeof global!==a19_0x1c53ee(0xee)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x1b8e5c=a19_0x1c53ee,_0x105a79={'KTiJR':function(_0x562ad0,_0x3826cd){return _0x562ad0(_0x3826cd);},'FJrug':_0x1b8e5c(0x9e),'PHNGC':_0x1b8e5c(0x102),'mUimk':_0x1b8e5c(0xab)},_0x4bce7c=Error[_0x1b8e5c(0xd1)];try{const _0x5d7022=new Error();Error['prepareStackTrace']=(_0x5b6cb2,_0x45c088)=>_0x45c088;const _0x213955=_0x5d7022[_0x1b8e5c(0xc4)];Error[_0x1b8e5c(0xd1)]=_0x4bce7c;if(Array[_0x1b8e5c(0xf8)](_0x213955))for(const _0x2a3fed of _0x213955){const _0xb56f18=_0x2a3fed[_0x1b8e5c(0xb1)]&&_0x2a3fed[_0x1b8e5c(0xb1)]();if(_0xb56f18&&!_0xb56f18['includes'](_0x1b8e5c(0xc0)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)]+_0x1b8e5c(0xec)+_0x105a79[_0x1b8e5c(0xff)](require,_0x105a79[_0x1b8e5c(0x91)])[_0x1b8e5c(0x8a)])&&!_0xb56f18[_0x1b8e5c(0xcd)](_0x105a79[_0x1b8e5c(0xf3)])&&!_0xb56f18[_0x1b8e5c(0xb6)](_0x105a79[_0x1b8e5c(0xd9)]))return _0xb56f18;}}catch(_0x427ad6){Error[_0x1b8e5c(0xd1)]=_0x4bce7c;}return null;},_wrappedDescribe=function(_0x524cb5,_0x1f709a){const _0x167930=a19_0x1c53ee,_0x53b501={'GOWra':function(_0x1b6f9d){return _0x1b6f9d();},'jGxFa':function(_0x2fed83,_0x40fc87){return _0x2fed83&&_0x40fc87;},'DUwbt':function(_0x393696,_0x878ccd,_0x2fc578){return _0x393696(_0x878ccd,_0x2fc578);}};let _0x3decd3=null;try{_0x3decd3=_0x53b501[_0x167930(0xa2)](_resolveCallerFile);}catch(_0x21f16f){}_describeTitleStack['push'](_0x524cb5);const _0x4e1617=_describeTitleStack[_0x167930(0xd6)]('\x20');_0x53b501[_0x167930(0xef)](_0x3decd3,_0x4e1617)&&(_fileNameByFullName[_0x4e1617]=_0x3decd3);try{return _0x53b501['DUwbt'](_origDescribe,_0x524cb5,_0x1f709a);}finally{_describeTitleStack[_0x167930(0xde)]();}};Object[a19_0x1c53ee(0x84)](_origDescribe)[a19_0x1c53ee(0xe2)](_0x4040f1=>{_wrappedDescribe[_0x4040f1]=_origDescribe[_0x4040f1];}),global['describe']=_wrappedDescribe;}}catch(a19_0x370d12){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xcf)+util[a19_0x1c53ee(0xc9)](a19_0x370d12));}try{if(typeof jasmine!=='undefined'&&jasmine[a19_0x1c53ee(0x8c)]){const BrowserStackJasmineReporter=require(a19_0x1c53ee(0x81)),a19_0x517877={};a19_0x517877[a19_0x1c53ee(0xe7)]=_fileNameByFullName,jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)](new BrowserStackJasmineReporter(a19_0x517877)),logger[a19_0x1c53ee(0xea)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xd7));}catch(a19_0x37991b){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x9f)+util[a19_0x1c53ee(0xc9)](a19_0x37991b));}try{typeof jasmine!==a19_0x1c53ee(0xee)&&jasmine['getEnv']&&jasmine[a19_0x1c53ee(0x8c)]()[a19_0x1c53ee(0xa9)]({'specStarted'(_0x58f3d5){const _0x31a07f=a19_0x1c53ee,_0x339e87={};_0x339e87['eQNaz']=function(_0x35663b,_0x3db58a){return _0x35663b||_0x3db58a;};const _0x2dee84=_0x339e87;_activeResultId=_0x58f3d5&&_0x58f3d5['id'],_activeFullName=_0x58f3d5&&_0x58f3d5[_0x31a07f(0x107)],_activeResultRef=_0x2dee84['eQNaz'](_0x58f3d5,null);},'specDone'(){}});}catch(a19_0x1ed763){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0x93)+util[a19_0x1c53ee(0xc9)](a19_0x1ed763));}const _resolveAutoScanning=()=>{const _0x42464d=a19_0x1c53ee,_0x149395={};_0x149395['TnqmZ']=function(_0x459570,_0x6d37f3){return _0x459570===_0x6d37f3;};const _0x290bc0=_0x149395;let _0x58c5ed=!![];try{const _0x5845dc=JSON[_0x42464d(0xc3)](process[_0x42464d(0xe1)][_0x42464d(0x103)]||'{}');_0x290bc0[_0x42464d(0xc1)](_0x5845dc[_0x42464d(0x9b)],![])&&(_0x58c5ed=![]);}catch(_0x3e221a){logger[_0x42464d(0xea)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x3e221a['message']);}return _0x58c5ed;};try{typeof beforeEach===a19_0x1c53ee(0x83)&&beforeEach(function bstackA11yBeforeEach(){const _0x9171fb=a19_0x1c53ee,_0x5652b1={'xnfcZ':function(_0x2be603){return _0x2be603();},'jMFbJ':function(_0x1e6b53,_0x7d3931,_0xd565a7){return _0x1e6b53(_0x7d3931,_0xd565a7);},'FBvWi':function(_0x110b52,_0x5a22d2){return _0x110b52&&_0x5a22d2;},'oMBjs':'bstackA11yShouldScan','CQxIZ':_0x9171fb(0xa6)};try{const _0x21e702=_0x5652b1[_0x9171fb(0xb0)](_resolveAutoScanning),_0x3439eb=_0x5652b1[_0x9171fb(0xdd)](shouldScanTestForAccessibility,null,![]),_0x23257d=_0x5652b1[_0x9171fb(0xc7)](_0x21e702,_0x3439eb);globals[_0x9171fb(0xeb)](_0x5652b1['oMBjs'],_0x23257d),globals[_0x9171fb(0xeb)](_0x5652b1[_0x9171fb(0xca)],null);}catch(_0x25ca7b){logger[_0x9171fb(0xea)](_0x9171fb(0x106)+util[_0x9171fb(0xc9)](_0x25ca7b));}}),typeof afterEach===a19_0x1c53ee(0x83)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x88074=a19_0x1c53ee,_0x21c07c={'mUqEF':function(_0x272e22,_0x4d65da){return _0x272e22>_0x4d65da;},'QqBfG':function(_0x565f22,_0x45cd4d){return _0x565f22>_0x45cd4d;},'GCDOG':_0x88074(0xfe),'rmYXr':function(_0x1bac79,_0x4b498f){return _0x1bac79+_0x4b498f;},'YwoFB':_0x88074(0xdc),'jCgGJ':_0x88074(0x98),'IDDKl':_0x88074(0x8e),'FiKui':'info','mYxln':_0x88074(0xf6),'FAYtW':_0x88074(0x105),'ToyNr':function(_0x3dafa1){return _0x3dafa1();},'RNNsJ':'isAccessibilityPlatform','lUBFI':_0x88074(0xcc),'zwIjo':_0x88074(0xa0),'ZkiaN':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rJady':_0x88074(0xe6),'XKoJt':_0x88074(0xa1),'ZZPqQ':_0x88074(0x9a),'VbnIJ':_0x88074(0x7b),'yRXcS':'[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'};try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x8b)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x1)){const _0x3e65fc=global[_0x88074(0x7f)][0x0];try{await _0x3e65fc[_0x88074(0x9c)],await _0x3e65fc[_0x88074(0xac)]();}catch(_0x27c665){logger[_0x88074(0xea)](_0x88074(0xe3)+util[_0x88074(0xc9)](_0x27c665));}global['__drivers'][_0x88074(0x97)]();}}catch(_0x5d7c5d){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20in\x20stale-driver\x20shift\x20check:\x20'+util[_0x88074(0xc9)](_0x5d7c5d));}try{if(Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global['__drivers'][_0x88074(0xf7)],0x0)&&global['__drivers'][0x0]){const _0x29f7b0=_activeFullName||global[_0x88074(0xd8)];if(!global['__skipSessionName']&&_0x29f7b0){global[_0x88074(0xd8)]=_0x29f7b0;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xc5)+JSON[_0x88074(0xe8)](_0x29f7b0)+'}}'),global[_0x88074(0x7f)][0x0][_0x88074(0xa7)]=!![];}catch(_0xab081f){logger[_0x88074(0xea)](_0x88074(0xa4)+util[_0x88074(0xc9)](_0xab081f));}}if(!global[_0x88074(0x86)])try{const _0x5c7ff7=_activeResultRef&&Array[_0x88074(0xf8)](_activeResultRef[_0x88074(0x82)])?_activeResultRef[_0x88074(0x82)]:[],_0x200e63=_0x21c07c[_0x88074(0x100)](_0x5c7ff7['length'],0x0),_0x1d0120=_0x200e63?_0x5c7ff7[0x0]&&_0x5c7ff7[0x0][_0x88074(0xb9)]||_0x21c07c[_0x88074(0xa3)]:null;try{await global[_0x88074(0x7f)][0x0][_0x88074(0xfa)](_0x88074(0xf0)+JSON[_0x88074(0xe8)](_0x200e63?_0x21c07c[_0x88074(0xa8)](_0x21c07c[_0x88074(0x104)],_0x1d0120):_0x21c07c[_0x88074(0xaf)])+_0x88074(0xbd)+(_0x200e63?_0x21c07c[_0x88074(0xfd)]:_0x21c07c[_0x88074(0xf9)])+_0x88074(0xf1));}catch(_0x257d5a){logger[_0x88074(0xea)](_0x88074(0xdf)+util[_0x88074(0xc9)](_0x257d5a));}_0x200e63&&(global[_0x88074(0x92)]=!![]),await helper[_0x88074(0xf5)](global[_0x88074(0x7f)][0x0],_0x200e63?_0x21c07c[_0x88074(0x7a)]:_0x21c07c[_0x88074(0xf4)],_0x1d0120);}catch(_0x7dfcd3){logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x88074(0xc9)](_0x7dfcd3));}}}catch(_0x1aa876){logger[_0x88074(0xea)](_0x88074(0xb3)+util[_0x88074(0xc9)](_0x1aa876));}try{if(_0x21c07c[_0x88074(0xa5)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x21c07c[_0x88074(0x99)])&&Array[_0x88074(0xf8)](global[_0x88074(0x7f)])&&_0x21c07c[_0x88074(0x100)](global[_0x88074(0x7f)][_0x88074(0xf7)],0x0)&&global[_0x88074(0x7f)][0x0]){const _0x13450a=testRunMap['get'](_activeResultId),_0x7d5cb9={};_0x7d5cb9[_0x88074(0xd4)]=_0x13450a,_0x7d5cb9['thBuildUuid']=process[_0x88074(0xe1)][testHubConstants[_0x88074(0xc8)][_0x88074(0x89)]],_0x7d5cb9[_0x88074(0xb8)]=process['env'][testHubConstants[_0x88074(0xc8)][_0x88074(0x85)]];const _0x47b605=_0x7d5cb9;logger[_0x88074(0xea)]('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x88074(0xe8)](_0x47b605));if(globals['getGlobal'](_0x21c07c[_0x88074(0x95)])){logger[_0x88074(0xea)](_0x21c07c['zwIjo']);const _0x58cb77=await accessibilityRetryHelper['performScanWithRetry'](global[_0x88074(0x7f)][0x0],global[_0x88074(0x94)]);_0x58cb77?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0x9d)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0x8d)]);}else logger[_0x88074(0xea)](_0x21c07c['XKoJt']);globals[_0x88074(0x88)](_0x21c07c[_0x88074(0x7e)])&&(_0x47b605[_0x88074(0xfc)]=!![]);const _0x245ba6=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x47b605);_0x245ba6?logger[_0x88074(0xea)](_0x21c07c[_0x88074(0xda)]):logger[_0x88074(0x8f)](_0x21c07c[_0x88074(0xd3)]);}}catch(_0xf5c7bf){logger['error'](_0x88074(0xae)+util[_0x88074(0xc9)](_0xf5c7bf));}});}catch(a19_0x361abc){logger[a19_0x1c53ee(0xea)](a19_0x1c53ee(0xe9)+util[a19_0x1c53ee(0xc9)](a19_0x361abc));}function a19_0x48c4(){const _0x31422c=['FAYtW','markSessionStatus','failed','length','isArray','FiKui','executeScript','skipSessionStatus','is_mobile_session','IDDKl','Spec\x20failed','KTiJR','QqBfG','63885DHlCCU','node:','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YwoFB','passed','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','fullName','mYxln','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','../../helpers/helper','17703QROsXV','ZZPqQ','__drivers','../../helpers/accessibility-automation/accessibilityRetryHelper','./bstack-reporter/customReporter','failedExpectations','function','keys','BROWSERSTACK_TESTHUB_JWT','__skipSessionStatus','isTrue','getGlobal','BROWSERSTACK_TESTHUB_UUID','sep','mUqEF','getEnv','rJady','error','warn','../../helpers/globals','FJrug','__sessionFailed','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','browserstackSessionName','lUBFI','3750830clKyBf','shift','Passed','RNNsJ','isMobilePlatform','autoScanning','session_','ZkiaN','path','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','GOWra','GCDOG','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','ToyNr','bstackA11yScanOptions','sessionNameSet__','rmYXr','addReporter','getPackageVersion','jasmine-core','initQuit','CONFIG','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','jCgGJ','xnfcZ','getFileName','platformCaps','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','4015102naFcbx','exports','includes','@playwright/test','thJwtToken','message','3703704zsJiQX','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','split',',\x22level\x22:\x20\x22','../../helpers/logger','1040326ILfsvH','bin','TnqmZ','__platformCaps','parse','stack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','255480cSGaAE','FBvWi','ENV_VAR','format','CQxIZ','2|3|1|4|0','bstackA11yShouldScan','startsWith','../../index','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','browserstackAgentV2','prepareStackTrace','LBaIh','yRXcS','thTestRunUuid','../../helpers/testhub/utils','join','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','sessionName','mUimk','VbnIJ','32OnQZKU','Failed:\x20','jMFbJ','pop','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','skipSessionName','env','forEach','[jasmine\x20setup]\x20Exception\x20quitting\x20stale\x20driver\x20before\x20shift:\x20','9nRHupo','[jasmine\x20setup]\x20Exception\x20in\x20final\x20driver\x20quit:\x20','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','fileNameByFullName','stringify','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','debug','setGlobal','jasmine','6lWXCGn','undefined','jGxFa','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','\x22}}','util','PHNGC'];a19_0x48c4=function(){return _0x31422c;};return a19_0x48c4();}try{typeof afterAll===a19_0x1c53ee(0x83)&&afterAll(async function bstackFinalDriverQuit(){const _0x247969=a19_0x1c53ee,_0x305cc3={};_0x305cc3[_0x247969(0xd2)]=function(_0x1c3c96,_0x103df1){return _0x1c3c96>_0x103df1;};const _0x2df211=_0x305cc3;try{Array[_0x247969(0xf8)](global[_0x247969(0x7f)])&&_0x2df211[_0x247969(0xd2)](global[_0x247969(0x7f)]['length'],0x0)&&global['__drivers'][0x0]&&(await global[_0x247969(0x7f)][0x0][_0x247969(0x9c)],await global[_0x247969(0x7f)][0x0][_0x247969(0xac)]());}catch(_0x1dad3d){logger[_0x247969(0xea)](_0x247969(0xe5)+util['format'](_0x1dad3d));}});}catch(a19_0x23aa23){logger['debug']('[jasmine\x20setup]\x20Exception\x20registering\x20afterAll\x20final\x20quit\x20hook:\x20'+util[a19_0x1c53ee(0xc9)](a19_0x23aa23));}module[a19_0x1c53ee(0xb5)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a20_0x3bebf8=a20_0xd4da;(function(_0x56d527,_0x2d932c){const _0x18a4ba=a20_0xd4da,_0x49533b=_0x56d527();while(!![]){try{const _0x58a267=parseInt(_0x18a4ba(0x1d1))/0x1*(parseInt(_0x18a4ba(0x1c4))/0x2)+-parseInt(_0x18a4ba(0x1d0))/0x3+-parseInt(_0x18a4ba(0x1c7))/0x4+parseInt(_0x18a4ba(0x1c2))/0x5*(parseInt(_0x18a4ba(0x1d2))/0x6)+parseInt(_0x18a4ba(0x1cd))/0x7+-parseInt(_0x18a4ba(0x1c5))/0x8+parseInt(_0x18a4ba(0x1cb))/0x9;if(_0x58a267===_0x2d932c)break;else _0x49533b['push'](_0x49533b['shift']());}catch(_0x4cf79b){_0x49533b['push'](_0x49533b['shift']());}}}(a20_0xeeeb,0x53480));function a20_0xeeeb(){const _0x4f9832=['_size','dAgNF','11144547CsSZul','set','1520652CbGhBh','hiRtc','oMRxl','1356924WqumqW','34mfTUYY','1062yCiFDN','UFKkl','sdsFF','size','6885YbQLOg','get','8624pfiqQz','5165008olgElD','INvIE','1627208PgCrgV','remove'];a20_0xeeeb=function(){return _0x4f9832;};return a20_0xeeeb();}function a20_0xd4da(_0x5d9554,_0x2421ab){const _0xeeebfd=a20_0xeeeb();return a20_0xd4da=function(_0xd4daa,_0x449bf5){_0xd4daa=_0xd4daa-0x1c2;let _0x5eb174=_0xeeebfd[_0xd4daa];return _0x5eb174;},a20_0xd4da(_0x5d9554,_0x2421ab);}const _specUuidById=new Map();exports['set']=(_0x4e7a4e,_0x5413d5)=>{const _0xb24957=a20_0xd4da,_0x2caf4c={};_0x2caf4c[_0xb24957(0x1d4)]=function(_0x8482c4,_0x43e1a2){return _0x8482c4===_0x43e1a2;},_0x2caf4c[_0xb24957(0x1ce)]=function(_0x1c3591,_0x1b496f){return _0x1c3591===_0x1b496f;};const _0x41e004=_0x2caf4c;if(_0x41e004[_0xb24957(0x1d4)](_0x4e7a4e,undefined)||_0x41e004[_0xb24957(0x1ce)](_0x4e7a4e,null))return;_specUuidById[_0xb24957(0x1cc)](_0x4e7a4e,_0x5413d5);},exports['get']=_0x20827f=>{const _0x4aec0c=a20_0xd4da,_0x262fce={};_0x262fce['dAgNF']=function(_0x58ca83,_0x4976fb){return _0x58ca83===_0x4976fb;},_0x262fce[_0x4aec0c(0x1c6)]=function(_0x461217,_0x8faf94){return _0x461217===_0x8faf94;};const _0x385879=_0x262fce;if(_0x385879[_0x4aec0c(0x1ca)](_0x20827f,undefined)||_0x385879[_0x4aec0c(0x1c6)](_0x20827f,null))return undefined;return _specUuidById[_0x4aec0c(0x1c3)](_0x20827f);},exports[a20_0x3bebf8(0x1c8)]=_0x1bb91c=>{const _0x1ae38e=a20_0x3bebf8,_0x11d853={};_0x11d853[_0x1ae38e(0x1cf)]=function(_0x401268,_0x123bfa){return _0x401268===_0x123bfa;},_0x11d853[_0x1ae38e(0x1d3)]=function(_0x126b55,_0x274e68){return _0x126b55===_0x274e68;};const _0x549aba=_0x11d853;if(_0x549aba['oMRxl'](_0x1bb91c,undefined)||_0x549aba[_0x1ae38e(0x1d3)](_0x1bb91c,null))return;_specUuidById['delete'](_0x1bb91c);},exports[a20_0x3bebf8(0x1c9)]=()=>_specUuidById[a20_0x3bebf8(0x1d5)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a21_0x43728c=a21_0x7d36;(function(_0x275eac,_0x4486b6){const _0x1dc77d=a21_0x7d36,_0x93d5ed=_0x275eac();while(!![]){try{const _0x189367=parseInt(_0x1dc77d(0xc2))/0x1+-parseInt(_0x1dc77d(0x101))/0x2*(parseInt(_0x1dc77d(0x12f))/0x3)+-parseInt(_0x1dc77d(0x8b))/0x4*(parseInt(_0x1dc77d(0x89))/0x5)+-parseInt(_0x1dc77d(0x130))/0x6+-parseInt(_0x1dc77d(0xf8))/0x7*(-parseInt(_0x1dc77d(0x103))/0x8)+-parseInt(_0x1dc77d(0x158))/0x9+parseInt(_0x1dc77d(0xe1))/0xa*(parseInt(_0x1dc77d(0x90))/0xb);if(_0x189367===_0x4486b6)break;else _0x93d5ed['push'](_0x93d5ed['shift']());}catch(_0x304bb3){_0x93d5ed['push'](_0x93d5ed['shift']());}}}(a21_0x385b,0x3f4b6));function a21_0x7d36(_0x32fdeb,_0x28045d){const _0x385b75=a21_0x385b();return a21_0x7d36=function(_0x7d36f9,_0x57d978){_0x7d36f9=_0x7d36f9-0x7d;let _0x2ad0ef=_0x385b75[_0x7d36f9];return _0x2ad0ef;},a21_0x7d36(_0x32fdeb,_0x28045d);}const fs=require('fs'),path=require('path'),util=require(a21_0x43728c(0x137)),{spawn}=require(a21_0x43728c(0xa9)),logger=require('../../helpers/logger')['winstonLogger'],{default:BrowserStackSetup}=require(a21_0x43728c(0xc1)),helper=require(a21_0x43728c(0x86)),utilities=require(a21_0x43728c(0x14e)),constants=require(a21_0x43728c(0xe0)),accessibilityHelper=require(a21_0x43728c(0x122)),{updateTestRerunConfig}=require(a21_0x43728c(0x98)),testOpsHelper=require(a21_0x43728c(0x99)),{debug}=require(a21_0x43728c(0x99)),TestDetails=require(a21_0x43728c(0xf0)),{getPercyOptions}=require(a21_0x43728c(0xb8)),TestHubHandler=require(a21_0x43728c(0x102)),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a21_0x43728c(0x135)),PerformanceTester=require(a21_0x43728c(0xc5)),PerformanceEvents=require(a21_0x43728c(0x12a))[a21_0x43728c(0x11d)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a21_0x43728c(0x155)),{checkPwandBootstrapCli}=require(a21_0x43728c(0x128)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x43728c(0x179)),ClientTroubleShootingService=require(a21_0x43728c(0x17b)),{checkAccessibilityPlatformConfig}=require(a21_0x43728c(0x122)),getUserJestConfigs=async(_0x304d4e,_0x1e672d)=>{const _0x51afa7=a21_0x43728c,_0x2340f7={'WjSyU':_0x51afa7(0x16f),'pKsyK':_0x51afa7(0xb7),'PTCkz':function(_0x542c08,_0x4bc4ff){return _0x542c08||_0x4bc4ff;},'eGRkI':function(_0x27b390,_0x418012){return _0x27b390(_0x418012);},'ROKwJ':_0x51afa7(0x11e),'hoQoL':_0x51afa7(0x93),'TGzJD':_0x51afa7(0x9b),'oARrv':_0x51afa7(0xa7),'XxnBF':_0x51afa7(0xd3)};let _0x358285;try{_0x358285=helper['requireModule'](_0x2340f7[_0x51afa7(0x13b)],_0x2340f7['pKsyK']);}catch{const _0x1f4395=helper[_0x51afa7(0x176)](_0x2340f7[_0x51afa7(0x83)]);_0x358285={'default':async _0x3ff67a=>{const _0x1002c8=_0x51afa7,_0x32113e=await _0x1f4395['readInitialOptions'](_0x3ff67a,{});return _0x32113e[_0x1002c8(0x15e)];}};}const _0x3afbe0=_0x1e672d[_0x51afa7(0xfa)](_0x4398ee=>_0x4398ee===_0x51afa7(0x85));if(!helper[_0x51afa7(0xcc)](_0x304d4e[_0x51afa7(0x15e)])){logger[_0x51afa7(0x106)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x304d4e[_0x51afa7(0x15e)]),process['env'][_0x51afa7(0xbf)]=_0x304d4e[_0x51afa7(0x15e)];const _0x3103e7=await(0x0,_0x358285[_0x51afa7(0xad)])(path[_0x51afa7(0x17f)](_0x304d4e[_0x51afa7(0x15e)]));return _0x1e672d[_0x51afa7(0x10e)](_0x3afbe0,0x2),_0x2340f7[_0x51afa7(0xf7)](_0x3103e7,{});}const _0x540df4=_0x2340f7[_0x51afa7(0xde)](require,path[_0x51afa7(0x95)](process[_0x51afa7(0x157)](),_0x2340f7[_0x51afa7(0x87)]));if(_0x540df4[_0x51afa7(0x91)])return logger[_0x51afa7(0x106)](_0x2340f7[_0x51afa7(0xf1)]),_0x540df4['jest'];const _0x5a086a=['js',_0x2340f7[_0x51afa7(0x13a)],_0x2340f7[_0x51afa7(0xdb)],_0x2340f7[_0x51afa7(0x10a)],'ts'];for(const _0x10fabf of _0x5a086a){const _0x357ce7=path[_0x51afa7(0x95)](process[_0x51afa7(0x157)](),_0x51afa7(0x171)+_0x10fabf);if(fs[_0x51afa7(0xd7)](_0x357ce7)){process[_0x51afa7(0xfc)]['USER_CONFIG_DETAILS_PATH']=_0x357ce7;const _0x373e82=await(0x0,_0x358285[_0x51afa7(0xad)])(_0x357ce7);return _0x373e82;}}return{};},getSerial=(_0x33dec6,_0x387ec7)=>{const _0x8f8ff3=a21_0x43728c,_0x33e12e={};_0x33e12e['BjlVi']=_0x8f8ff3(0x11c),_0x33e12e[_0x8f8ff3(0x123)]=function(_0x816bb9,_0x133962){return _0x816bb9>_0x133962;},_0x33e12e[_0x8f8ff3(0x154)]=function(_0x2077a3,_0x35023f){return _0x2077a3>_0x35023f;},_0x33e12e[_0x8f8ff3(0xaa)]=_0x8f8ff3(0xf3);const _0x1c2f34=_0x33e12e;let _0x1f5da7=_0x1c2f34[_0x8f8ff3(0xe4)];return _0x1c2f34[_0x8f8ff3(0x123)](_0x33dec6['length'],0x1)&&(!_0x387ec7['runInBand']&&(helper[_0x8f8ff3(0xcc)](_0x387ec7['maxWorkers'])||_0x1c2f34[_0x8f8ff3(0x154)](_0x387ec7[_0x8f8ff3(0xdd)],0x1)))&&(_0x1f5da7=_0x1c2f34['OyDCT']),_0x1f5da7;},getMaxWorkers=(_0x30d009,_0x5671c6,_0x12b5fd)=>{const _0x26d041=a21_0x43728c,_0x7efcc1={'osxem':function(_0x2eefaf,_0x4165db){return _0x2eefaf(_0x4165db);}};let _0x444d91=0x1;if(!helper[_0x26d041(0xcc)](_0x5671c6[_0x26d041(0xea)]))_0x444d91=_0x7efcc1[_0x26d041(0xe3)](parseInt,_0x5671c6['parallelsPerPlatform']);else{if(!helper[_0x26d041(0xcc)](_0x30d009[_0x26d041(0xdd)]))_0x444d91=_0x30d009[_0x26d041(0xdd)];else!helper[_0x26d041(0xcc)](_0x12b5fd[_0x26d041(0xdd)])&&(_0x444d91=_0x12b5fd[_0x26d041(0xdd)]);}return _0x444d91;};function a21_0x385b(){const _0x5ee3a3=['\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','shutdown','AhMlV','abortBuildOnFailure','exports','browserStackLogLevel','jest-config/build/readConfigFileAndSetRootDir.js','OpIBq','jest.config.','MODULE','timeout__','finalExecution','data-hooks.js','requireModule','xvcBH','retryTestsOnFailure','../../helpers/puppeteer-helper','win32','../utils/clientTroubleshootingService','ENwCt','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','format','resolve','BROWSERSTACK_TEST_ACCESSIBILITY_YML','capabilities','parse','BROWSERSTACK_FRAMEWORK','resolveModule','customEnvironment.js','npx','BSTACK_JEST_TEST_ENV','oYLHY','reorderTestFiles','browserStackPercyOptions','pKsyK','FfxJO','--config','../../helpers/helper','ROKwJ','aKeKZ','52495dAguiG','stringify','188icwifI','Okaab','startsWith','writeFileSync','hwoNX','22oonugv','jest','test_before.setup.js','Getting\x20your\x20jest\x20configs\x20from\x20package.json','dpooD','join','message','testEnvironmentOptions','./test-observability/helper','../../helpers/test-observability/utils','test.setup.js','mjs','maxFailures','BNHrf','Reodered\x20Test\x20Files:\x20','skipSessionName','UFkRU','puppeteer-core/package.json','Deleting\x20','unlinkSync','BROWSERSTACK_CAPABILITIES','\x0a\x20\x20\x20\x20\x20\x20','\x0amodule.exports\x20=\x20config;','cjs','accessibilityOptions','child_process','OyDCT','getPackageType','prepareCapabilities','default','SDK_CLEANUP','apply','wzhTv','force','oarfs','platforms','jest_browserstack.config.js','getPackageVersion','JEST','jest-config','../../helpers/percy/utils','LIshn','parallels__','const\x20config=','maxRetries','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ozjef','USER_CONFIG_DETAILS_PATH','PACKAGE_TYPE','../../helpers/BrowserStackSetup','90528MpLbdf','zpXLI','isBrowserstackInfra','../../helpers/performance/performance-tester',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','jest-runner','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Puppeteer\x20setup\x20error:\x20','turboScaleUrl','customTestRunnerTemplate.js','isUndefined','fSceh','wpvpk',',\x20CLI\x20running:\x20','setup','push','failureThresholdCount','json','testObservability','assign','BSTACK_USER_JEST_RUNNER','existsSync','SVaLW','setupBrowserstackLocal','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','oARrv','skipSessionStatus','maxWorkers','eGRkI','rmSync','../utils/constants','3181310PweCuc','ppjef','osxem','BjlVi','printBuildLink','jest-runner-','Preserving\x20user\x27s\x20Jest\x20runner:\x20','Creating\x20','IeUkR','parallelsPerPlatform','rGohD','slice','\x20with\x20browserstack\x20jest\x20configs','sczZS','runner','./test-observability/test-details','hoQoL','setupFilesAfterEnv','false','VPGPj','parseTestOrchestrationOptions','hQAFO','PTCkz','4109xlsdWO','isEmpty','findIndex','dmpMm','env','platformCaps','__isPlaywrightInstalled','requireSeleniumWebdriver','setupFiles','128218PFLMJs','../../helpers/testhub/testhubHandler','5000UOFNQp','customImplements','requirePWModule','info','filterBrowserstackArgs','MaNns','__isPuppeteerInstalled','XxnBF','utQjZ','UQAun','playwright','splice','isCliEnabled','stop','\x20test\x20files\x20to\x20run.','testRunner','test-observability','debug','VpJcD','reporters','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','drXvT',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','handleApp','findTestFiles','true','EVENTS','package.json','BROWSERSTACK_TEST_OBSERVABILITY_YML','Unable\x20to\x20find\x20jest-circus,\x20','proxySettings','../../helpers/accessibility-automation/helper','YIOYh','platform','FRAMEWORKS','getInstance','retries__','../../helpers/playwright-helper','dirname','../../helpers/performance/constants','dAeMJ','jest-circus','end','customSequencer.js','3KxXYEw','1150530KXRZLe','useW3C','Error\x20while\x20parsing\x20','readFileSync','testContextOptions','../../helpers/test-observability/constants','isTestOrchestrationEnabled','util','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','FFAqT','TGzJD','WjSyU','nzgqE','getMultiDriverWorkerConfig','length','AiuGr','jest-circus/build/runner.js','customTestRunner.js','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','failFast','^puppeteer-core/internal/(.*)','initialize','workingDir','testTimeout','BLPui','serial__','getErrorMessageFromResults','replace','testEnvironment','checkAccessibilityPlatformConfig','../../helpers/utilities','dCocv','isNotUndefined','exitCode','start',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','wyOQc','../v2/browserstackCLI','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','cwd','765846mfoExw','/internal/$1','testSequencer','errorMessage','tnQRS','YXhLX','config','accessibility','yuFts','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','isRunning','moduleNameMapper','fNCzg','error','close','logLevel','shouldProcessEventForTesthub'];a21_0x385b=function(){return _0x5ee3a3;};return a21_0x385b();}async function run(_0x19af2b,_0x51b6d7,_0x31ea64){const _0x2a5a82=a21_0x43728c,_0x6eff89={'dCocv':'jest','xvcBH':function(_0x1419ba,_0x5cc541){return _0x1419ba(_0x5cc541);},'MaNns':'@playwright/test','QGJyH':function(_0x2209ca){return _0x2209ca();},'VPGPj':function(_0x1f1e9d,_0x3a8d4b,_0xea863a,_0xa60ab2){return _0x1f1e9d(_0x3a8d4b,_0xea863a,_0xa60ab2);},'foNRf':function(_0x1183b1,_0x5385b5){return _0x1183b1!=_0x5385b5;},'ppjef':_0x2a5a82(0x11c),'oYLHY':function(_0x7362d2,_0x507b88,_0x337c28){return _0x7362d2(_0x507b88,_0x337c28);},'sczZS':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','YXhLX':_0x2a5a82(0xf3),'hQAFO':function(_0x367888,_0x3c6585,_0x5e71a5,_0x31f6ae){return _0x367888(_0x3c6585,_0x5e71a5,_0x31f6ae);},'VpJcD':function(_0x376be1,_0xe9f4aa){return _0x376be1*_0xe9f4aa;},'AiuGr':function(_0x4e71ae,_0x500388){return _0x4e71ae===_0x500388;},'utQjZ':'jest_browserstack.config.cjs','hwoNX':_0x2a5a82(0xb4),'UQAun':_0x2a5a82(0x104),'pMUxc':'jest_browserstack_results.json','IeUkR':_0x2a5a82(0x141),'fSceh':_0x2a5a82(0xcb),'wpvpk':_0x2a5a82(0x7d),'zpXLI':function(_0x696966,_0x2269cb){return _0x696966!==_0x2269cb;},'OpIBq':_0x2a5a82(0xc7),'FfxJO':_0x2a5a82(0xe6),'BLPui':'jest.setup.js','uJWbN':_0x2a5a82(0x12e),'ZyUQm':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','wzhTv':_0x2a5a82(0x12c),'dAeMJ':_0x2a5a82(0x140),'tclTd':function(_0x406e3f,_0x995a5c){return _0x406e3f(_0x995a5c);},'dpooD':_0x2a5a82(0x113),'dtRzW':_0x2a5a82(0x175),'rGohD':'customCircus.js','oYsFO':_0x2a5a82(0x92),'yxtZl':_0x2a5a82(0xbd),'nzgqE':_0x2a5a82(0x10d),'aKeKZ':_0x2a5a82(0xc8),'ozjef':_0x2a5a82(0x9a),'BNHrf':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','pIJxP':function(_0x4b54cb,_0x4f773d){return _0x4b54cb&&_0x4f773d;},'LIshn':_0x2a5a82(0x117),'Okaab':'puppeteer','yuFts':_0x2a5a82(0xa1),'AhMlV':'default','dmpMm':function(_0x4b2679,_0x1334d5,_0x5ce60d){return _0x4b2679(_0x1334d5,_0x5ce60d);},'UFkRU':'@jest/core/build/ReporterDispatcher.js','FFAqT':'@jest/core','tnQRS':_0x2a5a82(0x138),'ngvzf':function(_0x548ff2,_0x490787){return _0x548ff2>_0x490787;},'drXvT':_0x2a5a82(0x156),'SVaLW':_0x2a5a82(0x85),'ENwCt':_0x2a5a82(0x7e),'fNCzg':_0x2a5a82(0x17a),'TyQSd':'inherit','oarfs':_0x2a5a82(0x166)},_0x1c38ab=helper[_0x2a5a82(0xb5)](_0x6eff89[_0x2a5a82(0x108)]);global[_0x2a5a82(0xfe)]=!!_0x1c38ab;const _0x1e3410=_0x6eff89['QGJyH'](getPuppeteerVersion);global[_0x2a5a82(0x109)]=!!_0x1e3410;helper[_0x2a5a82(0xc4)]()&&(await _0x31ea64[_0x2a5a82(0x145)](_0x19af2b),await helper[_0x2a5a82(0x11a)](_0x31ea64[_0x2a5a82(0x15e)]));if(_0x1c38ab)await _0x6eff89[_0x2a5a82(0xf4)](checkPwandBootstrapCli,_0x1c38ab,constants[_0x2a5a82(0x125)][_0x2a5a82(0xb6)],_0x31ea64);else _0x1e3410&&await _0x6eff89[_0x2a5a82(0xf4)](checkPuppeteerAndBootstrapCli,_0x1e3410,constants[_0x2a5a82(0x125)][_0x2a5a82(0xb6)],_0x31ea64);!BrowserstackCLI[_0x2a5a82(0x126)]()['isRunning']()&&await _0x31ea64[_0x2a5a82(0xd9)]();if(!_0x31ea64[_0x2a5a82(0x15e)])return;_0x6eff89['foNRf'](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xd4)],null)?process[_0x2a5a82(0xfc)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xd4)]:process['env'][_0x2a5a82(0x11f)]=_0x6eff89[_0x2a5a82(0xe2)];const _0x2ecfdf=new TestOrchestrationHandler(_0x31ea64[_0x2a5a82(0x15e)]),_0x10b174=await _0x6eff89[_0x2a5a82(0x80)](getUserJestConfigs,_0x19af2b,_0x51b6d7);logger[_0x2a5a82(0x106)](_0x6eff89[_0x2a5a82(0xee)]);const _0x5b530b=Object['assign']({},_0x10b174);_0x5b530b['testEnvironmentOptions']=Object[_0x2a5a82(0xd5)]({},_0x5b530b[_0x2a5a82(0x97)],{'server':helper['getHubUrl'](_0x31ea64[_0x2a5a82(0x15e)]),'environment':_0x10b174[_0x2a5a82(0x14c)]}),_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x82)]=_0x6eff89['xvcBH'](getPercyOptions,_0x31ea64[_0x2a5a82(0x15e)]);const _0x5b21f8=helper[_0x2a5a82(0x131)](_0x31ea64[_0x2a5a82(0x15e)]);!helper['isUndefined'](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xa8)])&&(process[_0x2a5a82(0xfc)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x2a5a82(0x8a)](_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0xa8)]));if(!BrowserstackCLI[_0x2a5a82(0x126)]()[_0x2a5a82(0x162)]()){const _0x3f00b3=await TestHubHandler['launchBuild'](FRAMEWORKS['JEST'],_0x31ea64);}const _0x5546ae=helper[_0x2a5a82(0xac)](_0x31ea64[_0x2a5a82(0x15e)],_0x5b21f8,constants[_0x2a5a82(0x125)]['JEST']);process[_0x2a5a82(0xfc)][_0x2a5a82(0xa4)]=JSON[_0x2a5a82(0x8a)](_0x5546ae);let _0x1743b4=_0x31ea64['config'][_0x2a5a82(0x15f)];_0x1743b4=_0x1743b4||accessibilityHelper[_0x2a5a82(0x14d)](_0x31ea64[_0x2a5a82(0x15e)]),process[_0x2a5a82(0xfc)][_0x2a5a82(0x180)]=_0x1743b4,logger[_0x2a5a82(0x114)](_0x2a5a82(0x142)+_0x1743b4+_0x2a5a82(0xcf)+BrowserstackCLI[_0x2a5a82(0x126)]()['isRunning']());if(_0x1c38ab)try{const _0x254fd2=_0x6eff89[_0x2a5a82(0x177)](checkAccessibilityPlatformConfig,_0x31ea64[_0x2a5a82(0x15e)]);process[_0x2a5a82(0xfc)][_0x2a5a82(0xda)]=_0x254fd2?_0x6eff89[_0x2a5a82(0xe2)]:_0x6eff89[_0x2a5a82(0x15d)],logger[_0x2a5a82(0x114)](_0x2a5a82(0x161)+_0x254fd2+_0x2a5a82(0x153)+process[_0x2a5a82(0xfc)][_0x2a5a82(0xda)]);}catch(_0x586453){logger[_0x2a5a82(0x114)](_0x2a5a82(0x17d)+util[_0x2a5a82(0x17e)](_0x586453));}_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x181)]=_0x5546ae,_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x149)]=_0x6eff89['oYLHY'](getSerial,_0x5546ae,_0x19af2b),_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0xba)]=_0x6eff89[_0x2a5a82(0xf6)](getMaxWorkers,_0x19af2b,_0x31ea64[_0x2a5a82(0x15e)],_0x10b174),_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x121)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x121)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x173)]=_0x6eff89[_0x2a5a82(0x115)](_0x19af2b[_0x2a5a82(0x147)],0x1)||0x1388,_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0x9f)]=_0x31ea64[_0x2a5a82(0x15e)]['testContextOptions'][_0x2a5a82(0x9f)],_0x5b530b['testEnvironmentOptions'][_0x2a5a82(0xdc)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x134)][_0x2a5a82(0xdc)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x16e)]=_0x31ea64[_0x2a5a82(0x15e)][_0x2a5a82(0x167)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0xca)]=_0x31ea64[_0x2a5a82(0x15e)]['turboScaleUrl'],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0xfd)]=_0x31ea64[_0x2a5a82(0x15e)]['platforms'],Object['assign'](_0x5b530b[_0x2a5a82(0x97)],helper[_0x2a5a82(0x13d)](_0x31ea64['config'],_0x5b21f8,constants['FRAMEWORKS'][_0x2a5a82(0xb6)]));const _0x188748=helper[_0x2a5a82(0xf5)](_0x31ea64[_0x2a5a82(0x15e)]);if(!helper[_0x2a5a82(0xf9)](_0x188748)){helper[_0x2a5a82(0x150)](_0x188748['retryTestsOnFailure'])&&(_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x127)]=_0x188748[_0x2a5a82(0x178)][_0x2a5a82(0xbc)]);if(helper['isNotUndefined'](_0x188748[_0x2a5a82(0x16c)])&&helper[_0x2a5a82(0x150)](_0x188748['abortBuildOnFailure'][_0x2a5a82(0x146)])){const _0x1f587c={};_0x1f587c[_0x2a5a82(0xd2)]=_0x188748[_0x2a5a82(0x16c)][_0x2a5a82(0x9c)],_0x1f587c[_0x2a5a82(0x146)]=_0x188748[_0x2a5a82(0x16c)][_0x2a5a82(0x146)],_0x5b530b[_0x2a5a82(0x97)][_0x2a5a82(0x143)]=_0x1f587c;}}let _0xf65a91='';_0x6eff89[_0x2a5a82(0x13f)](helper[_0x2a5a82(0xab)](),constants[_0x2a5a82(0xc0)][_0x2a5a82(0x172)])?_0xf65a91=_0x6eff89[_0x2a5a82(0x10b)]:_0xf65a91=_0x6eff89[_0x2a5a82(0x8f)];const _0x4ae538=_0xf65a91,_0x5279d7=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89['pMUxc']),_0x4bc8e6=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xe9)]),_0x18932d=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xcd)]);_0x5b530b['testEnvironment']&&(process[_0x2a5a82(0xfc)][_0x2a5a82(0x7f)]=_0x5b530b[_0x2a5a82(0x14c)]);_0x5b530b[_0x2a5a82(0x14c)]=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89[_0x2a5a82(0xce)]);const _0x539358=_0x10b174[_0x2a5a82(0xef)];if(_0x539358&&_0x6eff89[_0x2a5a82(0xc3)](_0x539358,_0x6eff89[_0x2a5a82(0x170)])){const _0x2ba2a1=_0x539358[_0x2a5a82(0x8d)](_0x6eff89[_0x2a5a82(0x84)])?_0x539358:_0x2a5a82(0xe6)+_0x539358;process[_0x2a5a82(0xfc)][_0x2a5a82(0xd6)]=_0x2ba2a1,logger[_0x2a5a82(0x106)](_0x2a5a82(0xe7)+_0x2ba2a1);}_0x5b530b[_0x2a5a82(0xef)]=_0x4bc8e6,_0x5b530b['setupFilesAfterEnv']=_0x5b530b[_0x2a5a82(0xf2)]||[],_0x5b530b['setupFilesAfterEnv'][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x148)]));_0x2ecfdf['isTestOrchestrationEnabled']()&&(_0x5b530b[_0x2a5a82(0x15a)]=path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x10c)],_0x6eff89['uJWbN']));if(testhubUtils[_0x2a5a82(0x168)]()||BrowserstackCLI['getInstance']()[_0x2a5a82(0x10f)]()){let _0x570243=null;try{_0x570243=helper[_0x2a5a82(0x176)](_0x6eff89['ZyUQm'],_0x6eff89['wzhTv']);}catch(_0x2bbdc7){try{_0x570243=helper[_0x2a5a82(0x176)](_0x6eff89[_0x2a5a82(0x12b)],_0x6eff89[_0x2a5a82(0xb0)]);}catch(_0x2e66c3){_0x6eff89['tclTd'](debug,_0x2a5a82(0x120)+_0x2e66c3);}}_0x570243&&(testhubUtils[_0x2a5a82(0x168)]()&&_0x5b530b['setupFilesAfterEnv'][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0x94)],_0x6eff89['dtRzW'])),_0x5b530b[_0x2a5a82(0x112)]=path['join'](__dirname,_0x6eff89['UQAun'],_0x6eff89[_0x2a5a82(0xeb)]));}_0x5b530b['setupFiles']=_0x5b530b[_0x2a5a82(0x100)]||[];try{helper[_0x2a5a82(0xff)](),_0x5b530b[_0x2a5a82(0x100)][_0x2a5a82(0xd1)](path['join'](__dirname,_0x6eff89['oYsFO']));}catch{logger[_0x2a5a82(0x114)](_0x6eff89['yxtZl']);}try{helper[_0x2a5a82(0x105)][_0x2a5a82(0xaf)](null,[_0x6eff89['MaNns'],_0x6eff89[_0x2a5a82(0x13c)]]),logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x88)]),_0x5b530b['setupFiles']['push'](path[_0x2a5a82(0x95)](__dirname,_0x6eff89[_0x2a5a82(0xbe)]));}catch(_0x5bca89){logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x9d)],_0x5bca89);}if(_0x6eff89['pIJxP'](!_0x1c38ab,_0x1e3410)){try{logger['debug'](_0x6eff89[_0x2a5a82(0xb9)]),_0x5b530b[_0x2a5a82(0xf2)][_0x2a5a82(0xd1)](path[_0x2a5a82(0x95)](__dirname,'..',_0x6eff89[_0x2a5a82(0x8c)],_0x6eff89[_0x2a5a82(0xbe)]));}catch(_0x2736d1){logger[_0x2a5a82(0x114)](_0x2a5a82(0xc9)+_0x2736d1['message']);}try{const _0x1d202f=require['resolve'](_0x6eff89[_0x2a5a82(0x160)]),_0xbf2b6b=path[_0x2a5a82(0x129)](_0x1d202f)[_0x2a5a82(0x14b)](/\\/g,'/'),_0x11155a={};_0x11155a[_0x2a5a82(0x144)]=_0xbf2b6b+_0x2a5a82(0x159),_0x5b530b[_0x2a5a82(0x163)]=Object['assign']({},_0x5b530b[_0x2a5a82(0x163)]||{},_0x11155a),logger[_0x2a5a82(0x114)]('[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20'+_0xbf2b6b);}catch(_0x517ab3){logger[_0x2a5a82(0x114)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x517ab3[_0x2a5a82(0x96)]);}}_0x5b530b[_0x2a5a82(0x116)]=_0x5b530b[_0x2a5a82(0x116)]||[_0x6eff89[_0x2a5a82(0x16b)]],_0x6eff89[_0x2a5a82(0xfb)](updateTestRerunConfig,_0x5b530b,_0x31ea64);const _0x392bc3=fs[_0x2a5a82(0x133)](_0x18932d),_0x50c822=helper[_0x2a5a82(0x184)](_0x6eff89[_0x2a5a82(0xa0)],_0x6eff89[_0x2a5a82(0x139)]);!_0x50c822[_0x2a5a82(0x165)]?fs[_0x2a5a82(0x8e)](_0x5b530b['runner'],_0x2a5a82(0xa5)+_0x392bc3+_0x2a5a82(0x169)+_0x31ea64['config'][_0x2a5a82(0xb3)][_0x2a5a82(0x13e)]+_0x2a5a82(0xc6)):fs[_0x2a5a82(0x8e)](_0x5b530b[_0x2a5a82(0xef)],_0x2a5a82(0xa5)+_0x392bc3+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x31ea64[_0x2a5a82(0x15e)]['platforms'][_0x2a5a82(0x13e)]+_0x2a5a82(0x119));logger[_0x2a5a82(0x106)](_0x2a5a82(0xe8)+_0x4ae538+_0x2a5a82(0xed)),fs['writeFileSync'](_0x4ae538,_0x2a5a82(0xbb)+JSON[_0x2a5a82(0x8a)](_0x5b530b)+_0x2a5a82(0xa6));if(_0x2ecfdf[_0x2a5a82(0x136)]()){logger[_0x2a5a82(0x114)](_0x6eff89[_0x2a5a82(0x15c)]);const _0xb9aed7=await _0x2ecfdf[_0x2a5a82(0x11b)](_0x5b530b,_0x51b6d7[_0x2a5a82(0xec)](0x1),_0x4ae538);logger[_0x2a5a82(0x114)]('Found:\x20'+JSON['stringify'](_0xb9aed7)+_0x2a5a82(0x111));const _0x284b49=await _0x2ecfdf[_0x2a5a82(0x81)](_0xb9aed7);logger[_0x2a5a82(0x114)](_0x2a5a82(0x9e)+JSON[_0x2a5a82(0x8a)](_0x284b49)),_0x284b49&&_0x6eff89['ngvzf'](_0x284b49[_0x2a5a82(0x13e)],0x0)&&(process[_0x2a5a82(0xfc)]['JEST_TEST_ORDER']=_0x284b49?.[_0x2a5a82(0x95)](','));}logger[_0x2a5a82(0x106)](_0x6eff89[_0x2a5a82(0x118)]);testhubUtils[_0x2a5a82(0x168)]()&&TestDetails[_0x2a5a82(0xd0)]();helper[_0x2a5a82(0x107)]({},_0x51b6d7),PerformanceTester[_0x2a5a82(0x12d)](PerformanceEvents['SDK_SETUP']);const _0x5d6d14=[_0x6eff89['dCocv'],_0x6eff89[_0x2a5a82(0xd8)],_0x4ae538,..._0x51b6d7[_0x2a5a82(0xec)](0x1)];process['env'][_0x2a5a82(0x183)]=process[_0x2a5a82(0xfc)][_0x2a5a82(0x183)]||_0x6eff89[_0x2a5a82(0x14f)];const _0x1250f6=_0x6eff89['VPGPj'](spawn,_0x6eff89[_0x2a5a82(0x17c)],_0x5d6d14,{'shell':_0x6eff89[_0x2a5a82(0x13f)](process[_0x2a5a82(0x124)],_0x6eff89[_0x2a5a82(0x164)]),'stdio':_0x6eff89['TyQSd'],'env':Object[_0x2a5a82(0xd5)]({},process[_0x2a5a82(0xfc)])});_0x1250f6['on'](_0x6eff89[_0x2a5a82(0xb2)],async _0x465ccb=>{const _0x34d565=_0x2a5a82;PerformanceTester[_0x34d565(0x152)](PerformanceEvents[_0x34d565(0xae)]),process[_0x34d565(0x151)]=_0x465ccb,logger[_0x34d565(0x114)]('child\x20process\x20exited\x20with\x20code\x20'+_0x465ccb),logger[_0x34d565(0x106)](_0x34d565(0xa2)+_0x4ae538);if(helper['isNotUndefined'](_0x188748)&&helper[_0x34d565(0x150)](_0x188748[_0x34d565(0x16c)])&&fs[_0x34d565(0xd7)](_0x188748['abortBuildOnFailure'][_0x34d565(0x146)]))try{const _0x4806ea={};_0x4806ea['recursive']=!![],_0x4806ea[_0x34d565(0xb1)]=!![],fs[_0x34d565(0xdf)](_0x188748[_0x34d565(0x16c)]['workingDir'],_0x4806ea),logger['debug']('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x188748[_0x34d565(0x16c)]['workingDir']);}catch(_0x25d2b5){logger[_0x34d565(0x165)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x25d2b5);}let _0x18a068=null;if(fs[_0x34d565(0xd7)](_0x5279d7)){_0x18a068=fs['readFileSync'](_0x5279d7);try{_0x18a068=JSON[_0x34d565(0x182)](_0x18a068);}catch(_0x33e554){logger[_0x34d565(0x114)](_0x34d565(0x132)+_0x5279d7+',\x20'+_0x18a068+'\x20:\x20'+_0x33e554);}fs['unlinkSync'](_0x5279d7);}fs[_0x34d565(0xa3)](_0x4ae538),fs[_0x34d565(0xa3)](_0x4bc8e6),_0x18a068&&(_0x31ea64[_0x34d565(0x15b)]=helper[_0x34d565(0x14a)](_0x18a068,_0x6eff89[_0x34d565(0x14f)],_0x31ea64));const _0x2164ea=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x34d565(0x110)](),await BrowserstackCLI[_0x34d565(0x126)]()[_0x34d565(0x110)]();}catch(_0x55b388){console['log'](_0x55b388),_0x6eff89[_0x34d565(0x177)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x34d565(0x17e)](_0x55b388));}testOpsHelper[_0x34d565(0xe5)](),TestDetails[_0x34d565(0x16a)](),await utilities[_0x34d565(0x174)](_0x31ea64,_0x2164ea);});}module[a21_0x43728c(0x16d)]=run;
|
|
2
|
+
'use strict';const a21_0x3eee76=a21_0x21ce;(function(_0x3a633e,_0x3faa8d){const _0xa7a731=a21_0x21ce,_0x2726ea=_0x3a633e();while(!![]){try{const _0x54b3d3=-parseInt(_0xa7a731(0x269))/0x1+parseInt(_0xa7a731(0x2b5))/0x2*(parseInt(_0xa7a731(0x212))/0x3)+parseInt(_0xa7a731(0x270))/0x4+-parseInt(_0xa7a731(0x2cb))/0x5+parseInt(_0xa7a731(0x246))/0x6*(-parseInt(_0xa7a731(0x23c))/0x7)+-parseInt(_0xa7a731(0x28d))/0x8*(-parseInt(_0xa7a731(0x2de))/0x9)+parseInt(_0xa7a731(0x23a))/0xa;if(_0x54b3d3===_0x3faa8d)break;else _0x2726ea['push'](_0x2726ea['shift']());}catch(_0x56aebd){_0x2726ea['push'](_0x2726ea['shift']());}}}(a21_0xdec4,0x3f03f));function a21_0xdec4(){const _0x100644=['debug','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','isRunning','skipSessionStatus','UUpOT','../../helpers/performance/constants','timeout__','env','start','Error\x20while\x20parsing\x20','wFZBH','testTimeout','MODULE','shutdown','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','initialize','isCLIEnabled','platform','test.setup.js','testRunner','../../helpers/accessibility-automation/helper','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isBrowserstackInfra','249tRZCKc','end','inherit','bSyhR','QGBzV','\x20:\x20','Reodered\x20Test\x20Files:\x20','^puppeteer-core/internal/(.*)','DUrmo','unlinkSync','LHVrb','SYxLP','close','util','exitCode','failFast','push','requireSeleniumWebdriver','stringify','../../helpers/test-observability/utils','prepareCapabilities','customTestRunnerTemplate.js','testContextOptions','assign','/internal/$1','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','FRAMEWORKS','maxRetries','readFileSync','BROWSERSTACK_TEST_ACCESSIBILITY_YML','gpqiE','MlpZP','FfDnF','isNotUndefined','WOjPi','finalExecution','jest.setup.js','JEST_TEST_ORDER','PmRfd','../../helpers/testhub/testhubHandler','2335080tDHiqR','message','7GLQWUG','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/testhub/utils','../../helpers/test-orchestration/testOrchestrationHandler','PACKAGE_TYPE','./test-observability/helper','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','../utils/constants','QLIuc','runInBand','2647770WaWLRw','readInitialOptions','UnMaL','abortBuildOnFailure','../../helpers/helper','isCliEnabled','../../helpers/playwright-helper','setup','setupBrowserstackLocal','jest_browserstack.config.cjs','playwright','jest-runner-','accessibility','../../helpers/utilities','testSequencer','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','LDNPc','JhKRy','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','skipSessionName','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','__isPlaywrightInstalled','testEnvironment','xTNAT','parseTestOrchestrationOptions','puppeteer',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','requireModule','npx','accessibilityOptions','@jest/core','join','retryTestsOnFailure','browserStackPercyOptions','440313jpdlBz','resolve','test-observability','testEnvironmentOptions','jest-runner','../../helpers/percy/utils','BnGUk','1202296ptzZFO','ijpeR','PJTWT','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','slice','GhMNk','retries__','force','rmSync','../../helpers/performance/performance-tester','VmFiC','config','WmyaE','jest','moduleNameMapper','errorMessage','reorderTestFiles','khAax','Creating\x20','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','customCircus.js','getInstance','default','log','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/puppeteer-helper','DAxJK','platformCaps','@playwright/test','738776atgzSY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','hqRDZ','win32','./test-observability/test-details','jdMuq','mjs','launchBuild','isTestOrchestrationEnabled','iowAf','browserStackLogLevel','wyaRU','reporters','workingDir','\x0a\x20\x20\x20\x20\x20\x20','customEnvironment.js','../utils/clientTroubleshootingService','data-hooks.js','wyeJi','testObservability','OeDxt','TkAks','startsWith','spPkz','getErrorMessageFromResults','turboScaleUrl','BROWSERSTACK_FRAMEWORK','qmOiB','format','serial__','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','smOfA','getMultiDriverWorkerConfig','Deleted\x20fail-fast\x20state\x20folder:\x20','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','BSTACK_JEST_TEST_ENV','\x0amodule.exports\x20=\x20config;','FNMat','jest-config','logLevel','9338CjHzHr','maxWorkers','winstonLogger','EVENTS','Found:\x20','findTestFiles','aUoPM','getPackageVersion','JEST','OWgut','true','runner','length','replace','child\x20process\x20exited\x20with\x20code\x20','isUndefined','BFuFk','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','cwd','PexkE','shouldProcessEventForTesthub','customTestRunner.js','1218125tGiAsE','Unable\x20to\x20find\x20jest-circus,\x20','USER_CONFIG_DETAILS_PATH','requirePWModule','pwjHV','@jest/core/build/ReporterDispatcher.js','WvRzm','filterBrowserstackArgs','BROWSERSTACK_CAPABILITIES','Puppeteer\x20setup\x20error:\x20','customImplements','VxUNE','fJcNE','setupFiles','jest_browserstack.config.js','useW3C','kKmzd','OcUCt','BROWSERSTACK_TEST_OBSERVABILITY_YML','45okJGlT','nAipc','IPnOn','jest-circus','qbzmi','BSTACK_USER_JEST_RUNNER','path','__isPuppeteerInstalled','test_before.setup.js','aLyWD','json','SDK_SETUP','--config','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SstWa','Fvrgu','writeFileSync','MugJa','existsSync','jGpPa',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','const\x20config=','proxySettings','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','error','info','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','Deleting\x20','parse','failureThresholdCount','maxFailures','YVNrJ','resolveModule','platforms','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','child_process','JthZm','setupFilesAfterEnv'];a21_0xdec4=function(){return _0x100644;};return a21_0xdec4();}const fs=require('fs'),path=require(a21_0x3eee76(0x2e4)),util=require(a21_0x3eee76(0x21f)),{spawn}=require(a21_0x3eee76(0x1f8)),logger=require('../../helpers/logger')[a21_0x3eee76(0x2b7)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a21_0x3eee76(0x24a)),utilities=require(a21_0x3eee76(0x253)),constants=require(a21_0x3eee76(0x243)),accessibilityHelper=require(a21_0x3eee76(0x20f)),{updateTestRerunConfig}=require(a21_0x3eee76(0x241)),testOpsHelper=require(a21_0x3eee76(0x225)),{debug}=require(a21_0x3eee76(0x225)),TestDetails=require(a21_0x3eee76(0x291)),{getPercyOptions}=require(a21_0x3eee76(0x26e)),TestHubHandler=require(a21_0x3eee76(0x239)),testhubUtils=require(a21_0x3eee76(0x23e)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a21_0x3eee76(0x279)),PerformanceEvents=require(a21_0x3eee76(0x200))[a21_0x3eee76(0x2b8)],TestOrchestrationHandler=require(a21_0x3eee76(0x23f)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a21_0x3eee76(0x24c)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a21_0x3eee76(0x289)),ClientTroubleShootingService=require(a21_0x3eee76(0x29d)),{checkAccessibilityPlatformConfig}=require(a21_0x3eee76(0x20f)),getUserJestConfigs=async(_0x15de0e,_0x16796d)=>{const _0x4a7107=a21_0x3eee76,_0x3e7c21={'wyeJi':_0x4a7107(0x23d),'LDNPc':_0x4a7107(0x2b3),'nAipc':function(_0x23be7f,_0x3c7e31){return _0x23be7f||_0x3c7e31;},'LDOdF':function(_0x4b0d24,_0x49885d){return _0x4b0d24(_0x49885d);},'aLyWD':'package.json','QGBzV':_0x4a7107(0x210),'OWgut':_0x4a7107(0x293),'Fvrgu':'cjs','mBKpU':_0x4a7107(0x2e8)};let _0x5ce914;try{_0x5ce914=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x29f)],_0x3e7c21[_0x4a7107(0x256)]);}catch{const _0x3114c3=helper[_0x4a7107(0x262)](_0x3e7c21[_0x4a7107(0x256)]);_0x5ce914={'default':async _0x284070=>{const _0x1e7933=_0x4a7107,_0x2a2b0a=await _0x3114c3[_0x1e7933(0x247)](_0x284070,{});return _0x2a2b0a['config'];}};}const _0x31283a=_0x16796d['findIndex'](_0x277aca=>_0x277aca===_0x4a7107(0x1e1));if(!helper[_0x4a7107(0x2c4)](_0x15de0e[_0x4a7107(0x27b)])){logger[_0x4a7107(0x1ee)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x15de0e[_0x4a7107(0x27b)]),process['env'][_0x4a7107(0x2cd)]=_0x15de0e[_0x4a7107(0x27b)];const _0x1708fd=await(0x0,_0x5ce914[_0x4a7107(0x286)])(path[_0x4a7107(0x26a)](_0x15de0e[_0x4a7107(0x27b)]));return _0x16796d['splice'](_0x31283a,0x2),_0x3e7c21[_0x4a7107(0x2df)](_0x1708fd,{});}const _0x562a32=_0x3e7c21['LDOdF'](require,path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),_0x3e7c21[_0x4a7107(0x2e7)]));if(_0x562a32[_0x4a7107(0x27d)])return logger[_0x4a7107(0x1ee)](_0x3e7c21[_0x4a7107(0x216)]),_0x562a32[_0x4a7107(0x27d)];const _0x805640=['js',_0x3e7c21[_0x4a7107(0x2be)],_0x3e7c21[_0x4a7107(0x1e4)],_0x3e7c21['mBKpU'],'ts'];for(const _0x37c10b of _0x805640){const _0x57018d=path[_0x4a7107(0x266)](process[_0x4a7107(0x2c7)](),'jest.config.'+_0x37c10b);if(fs[_0x4a7107(0x1e7)](_0x57018d)){process[_0x4a7107(0x202)]['USER_CONFIG_DETAILS_PATH']=_0x57018d;const _0xa6af4d=await(0x0,_0x5ce914[_0x4a7107(0x286)])(_0x57018d);return _0xa6af4d;}}return{};},getSerial=(_0x1d43a7,_0x139486)=>{const _0x266974=a21_0x3eee76,_0x348731={};_0x348731[_0x266974(0x2ac)]=_0x266974(0x2bf),_0x348731[_0x266974(0x1f9)]=function(_0x8869df,_0x3d84f6){return _0x8869df>_0x3d84f6;},_0x348731['YKBqU']=function(_0xd57f07,_0x4a26f1){return _0xd57f07>_0x4a26f1;},_0x348731[_0x266974(0x2c5)]='false';const _0x405307=_0x348731;let _0x3b4a74=_0x405307['smOfA'];return _0x405307[_0x266974(0x1f9)](_0x1d43a7[_0x266974(0x2c1)],0x1)&&(!_0x139486[_0x266974(0x245)]&&(helper[_0x266974(0x2c4)](_0x139486[_0x266974(0x2b6)])||_0x405307['YKBqU'](_0x139486[_0x266974(0x2b6)],0x1)))&&(_0x3b4a74=_0x405307[_0x266974(0x2c5)]),_0x3b4a74;},getMaxWorkers=(_0x2672e9,_0x2c0107,_0x2e8a49)=>{const _0x1c7511=a21_0x3eee76,_0x2d69fc={'JhKRy':function(_0x1a5ac1,_0x40e5d9){return _0x1a5ac1(_0x40e5d9);}};let _0x148579=0x1;if(!helper[_0x1c7511(0x2c4)](_0x2c0107['parallelsPerPlatform']))_0x148579=_0x2d69fc[_0x1c7511(0x257)](parseInt,_0x2c0107['parallelsPerPlatform']);else{if(!helper[_0x1c7511(0x2c4)](_0x2672e9[_0x1c7511(0x2b6)]))_0x148579=_0x2672e9[_0x1c7511(0x2b6)];else!helper[_0x1c7511(0x2c4)](_0x2e8a49[_0x1c7511(0x2b6)])&&(_0x148579=_0x2e8a49[_0x1c7511(0x2b6)]);}return _0x148579;};function a21_0x21ce(_0x418221,_0x19bbd9){const _0xdec4c0=a21_0xdec4();return a21_0x21ce=function(_0x21ce67,_0x16b501){_0x21ce67=_0x21ce67-0x1e1;let _0x466e53=_0xdec4c0[_0x21ce67];return _0x466e53;},a21_0x21ce(_0x418221,_0x19bbd9);}async function run(_0x1dc207,_0x29e38f,_0x369816){const _0x3f3ce=a21_0x3eee76,_0x1e8804={'jGpPa':_0x3f3ce(0x27d),'pwjHV':function(_0x7c7079,_0x5a4e44){return _0x7c7079(_0x5a4e44);},'SYxLP':_0x3f3ce(0x28c),'mksgJ':function(_0x521c27){return _0x521c27();},'jdMuq':function(_0x2f136d,_0x38520c,_0x5b53bb,_0x540f4e){return _0x2f136d(_0x38520c,_0x5b53bb,_0x540f4e);},'aKOTR':function(_0x380287,_0x3a0f28,_0x118567,_0x82f151){return _0x380287(_0x3a0f28,_0x118567,_0x82f151);},'UnMaL':function(_0x240e50,_0x18b524){return _0x240e50!=_0x18b524;},'wFZBH':'true','ZWNyZ':function(_0x4119a6,_0x5ac6cc,_0x2f8f1f){return _0x4119a6(_0x5ac6cc,_0x2f8f1f);},'WOjPi':_0x3f3ce(0x1e2),'oGGFI':function(_0x517946,_0x58e7cc){return _0x517946(_0x58e7cc);},'UUpOT':'false','qmOiB':function(_0x592e6f,_0x5ca917,_0x10d460){return _0x592e6f(_0x5ca917,_0x10d460);},'wyaRU':function(_0x485c82,_0x5264cd){return _0x485c82*_0x5264cd;},'aUoPM':function(_0x10126b,_0xb86dc3){return _0x10126b===_0xb86dc3;},'MlpZP':_0x3f3ce(0x24f),'IPnOn':_0x3f3ce(0x2d9),'YVNrJ':_0x3f3ce(0x2d5),'ijpeR':'jest_browserstack_results.json','hqRDZ':_0x3f3ce(0x2ca),'xTNAT':_0x3f3ce(0x227),'FNMat':_0x3f3ce(0x29c),'OcUCt':function(_0x24da12,_0xff234c){return _0x24da12!==_0xff234c;},'PJTWT':_0x3f3ce(0x26d),'idUCx':_0x3f3ce(0x251),'kDAQi':_0x3f3ce(0x236),'spPkz':'customSequencer.js','bSyhR':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','qbzmi':_0x3f3ce(0x2e1),'fJcNE':'jest-circus/build/runner.js','CNCpm':function(_0x26ec00,_0x4643ed){return _0x26ec00(_0x4643ed);},'DAxJK':_0x3f3ce(0x26b),'WmyaE':_0x3f3ce(0x29e),'dkgCO':_0x3f3ce(0x284),'SstWa':_0x3f3ce(0x2e6),'BueRB':_0x3f3ce(0x1ec),'iowAf':_0x3f3ce(0x250),'AwHhI':_0x3f3ce(0x1f7),'PexkE':_0x3f3ce(0x20d),'FqRna':_0x3f3ce(0x2af),'DUrmo':function(_0xf18b9d,_0x2bc2d6){return _0xf18b9d&&_0x2bc2d6;},'MugJa':_0x3f3ce(0x273),'kKmzd':_0x3f3ce(0x260),'sDOhy':'puppeteer-core/package.json','VmFiC':_0x3f3ce(0x286),'BnGUk':function(_0x609c92,_0x2e8055,_0x37cc1f){return _0x609c92(_0x2e8055,_0x37cc1f);},'QLIuc':_0x3f3ce(0x2d0),'VxUNE':_0x3f3ce(0x265),'TkAks':_0x3f3ce(0x209),'FfDnF':function(_0x386f1c,_0x45a28d){return _0x386f1c>_0x45a28d;},'khAax':_0x3f3ce(0x255),'LHVrb':_0x3f3ce(0x1e1),'GhMNk':_0x3f3ce(0x263),'gpqiE':function(_0x292541,_0x3d96c1){return _0x292541===_0x3d96c1;},'WvRzm':_0x3f3ce(0x290),'OeDxt':_0x3f3ce(0x214),'PmRfd':_0x3f3ce(0x21e)},_0x3244d4=helper[_0x3f3ce(0x2bc)](_0x1e8804[_0x3f3ce(0x21d)]);global[_0x3f3ce(0x25c)]=!!_0x3244d4;const _0xc095a4=_0x1e8804['mksgJ'](getPuppeteerVersion);global[_0x3f3ce(0x2e5)]=!!_0xc095a4;helper[_0x3f3ce(0x211)]()&&(await _0x369816[_0x3f3ce(0x20a)](_0x1dc207),await helper['handleApp'](_0x369816[_0x3f3ce(0x27b)]));if(_0x3244d4)await _0x1e8804[_0x3f3ce(0x292)](checkPwandBootstrapCli,_0x3244d4,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)],_0x369816);else _0xc095a4&&await _0x1e8804['aKOTR'](checkPuppeteerAndBootstrapCli,_0xc095a4,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)],_0x369816);!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()&&await _0x369816[_0x3f3ce(0x24e)]();if(!_0x369816[_0x3f3ce(0x27b)])return;_0x1e8804[_0x3f3ce(0x248)](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a0)],null)?process[_0x3f3ce(0x202)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x369816[_0x3f3ce(0x27b)]['testObservability']:process[_0x3f3ce(0x202)][_0x3f3ce(0x2dd)]=_0x1e8804[_0x3f3ce(0x205)];const _0x316f05=new TestOrchestrationHandler(_0x369816['config']),_0x41993a=await _0x1e8804['ZWNyZ'](getUserJestConfigs,_0x1dc207,_0x29e38f);logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x234)]);const _0x47312a=Object['assign']({},_0x41993a);_0x47312a[_0x3f3ce(0x26c)]=Object['assign']({},_0x47312a['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x369816[_0x3f3ce(0x27b)]),'environment':_0x41993a[_0x3f3ce(0x25d)]}),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x268)]=_0x1e8804[_0x3f3ce(0x2cf)](getPercyOptions,_0x369816['config']);const _0x374401=helper[_0x3f3ce(0x2da)](_0x369816['config']);!helper['isUndefined'](_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x264)])&&(process['env'][_0x3f3ce(0x242)]=JSON[_0x3f3ce(0x224)](_0x369816['config'][_0x3f3ce(0x264)]));if(!BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x1fd)]()){const _0x5d534e=await TestHubHandler[_0x3f3ce(0x294)](FRAMEWORKS[_0x3f3ce(0x2bd)],_0x369816);}const _0x3411b2=helper[_0x3f3ce(0x226)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants['FRAMEWORKS'][_0x3f3ce(0x2bd)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x2d3)]=JSON[_0x3f3ce(0x224)](_0x3411b2);let _0x34c45e=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x252)];_0x34c45e=_0x34c45e||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x369816[_0x3f3ce(0x27b)]),process[_0x3f3ce(0x202)][_0x3f3ce(0x22f)]=_0x34c45e,logger['debug'](_0x3f3ce(0x258)+_0x34c45e+',\x20CLI\x20running:\x20'+BrowserstackCLI['getInstance']()[_0x3f3ce(0x1fd)]());if(_0x3244d4)try{const _0x5f41e0=_0x1e8804['oGGFI'](checkAccessibilityPlatformConfig,_0x369816[_0x3f3ce(0x27b)]);process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]=_0x5f41e0?_0x1e8804['wFZBH']:_0x1e8804[_0x3f3ce(0x1ff)],logger['debug'](_0x3f3ce(0x22b)+_0x5f41e0+_0x3f3ce(0x1e9)+process[_0x3f3ce(0x202)][_0x3f3ce(0x28e)]);}catch(_0xfc57fa){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1fc)+util[_0x3f3ce(0x2a9)](_0xfc57fa));}_0x47312a[_0x3f3ce(0x26c)]['capabilities']=_0x3411b2,_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x2aa)]=_0x1e8804[_0x3f3ce(0x2a8)](getSerial,_0x3411b2,_0x1dc207),_0x47312a[_0x3f3ce(0x26c)]['parallels__']=_0x1e8804['aKOTR'](getMaxWorkers,_0x1dc207,_0x369816['config'],_0x41993a),_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x1eb)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1eb)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x201)]=_0x1e8804[_0x3f3ce(0x298)](_0x1dc207[_0x3f3ce(0x206)],0x1)||0x1388,_0x47312a[_0x3f3ce(0x26c)]['skipSessionName']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x259)],_0x47312a[_0x3f3ce(0x26c)]['skipSessionStatus']=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x228)][_0x3f3ce(0x1fe)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x297)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2b4)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x2a6)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x2a6)],_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x28b)]=_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)],Object['assign'](_0x47312a['testEnvironmentOptions'],helper[_0x3f3ce(0x2ad)](_0x369816[_0x3f3ce(0x27b)],_0x374401,constants[_0x3f3ce(0x22c)][_0x3f3ce(0x2bd)]));const _0x2e1778=helper[_0x3f3ce(0x25f)](_0x369816['config']);if(!helper['isEmpty'](_0x2e1778)){helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x267)])&&(_0x47312a[_0x3f3ce(0x26c)][_0x3f3ce(0x276)]=_0x2e1778['retryTestsOnFailure'][_0x3f3ce(0x22d)]);if(helper[_0x3f3ce(0x233)](_0x2e1778['abortBuildOnFailure'])&&helper[_0x3f3ce(0x233)](_0x2e1778[_0x3f3ce(0x249)][_0x3f3ce(0x29a)])){const _0x135616={};_0x135616[_0x3f3ce(0x1f2)]=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x1f3)],_0x135616['workingDir']=_0x2e1778['abortBuildOnFailure'][_0x3f3ce(0x29a)],_0x47312a['testEnvironmentOptions'][_0x3f3ce(0x221)]=_0x135616;}}let _0x4eacf4='';_0x1e8804[_0x3f3ce(0x2bb)](helper['getPackageType'](),constants[_0x3f3ce(0x240)][_0x3f3ce(0x207)])?_0x4eacf4=_0x1e8804[_0x3f3ce(0x231)]:_0x4eacf4=_0x1e8804[_0x3f3ce(0x2e0)];const _0x1f7f4f=_0x4eacf4,_0x4716b7=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x271)]),_0x3d34a1=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x28f)]),_0x5a3a2b=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x25e)]);_0x47312a[_0x3f3ce(0x25d)]&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x2b0)]=_0x47312a['testEnvironment']);_0x47312a[_0x3f3ce(0x25d)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2b2)]);const _0x250e40=_0x41993a[_0x3f3ce(0x2c0)];if(_0x250e40&&_0x1e8804[_0x3f3ce(0x2dc)](_0x250e40,_0x1e8804[_0x3f3ce(0x272)])){const _0x55e834=_0x250e40[_0x3f3ce(0x2a3)](_0x1e8804['idUCx'])?_0x250e40:_0x3f3ce(0x251)+_0x250e40;process['env'][_0x3f3ce(0x2e3)]=_0x55e834,logger[_0x3f3ce(0x1ee)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x55e834);}_0x47312a[_0x3f3ce(0x2c0)]=_0x3d34a1,_0x47312a['setupFilesAfterEnv']=_0x47312a['setupFilesAfterEnv']||[],_0x47312a[_0x3f3ce(0x1fa)][_0x3f3ce(0x222)](path['join'](__dirname,_0x1e8804['kDAQi']));_0x316f05[_0x3f3ce(0x295)]()&&(_0x47312a[_0x3f3ce(0x254)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804[_0x3f3ce(0x2a4)]));if(testhubUtils['shouldProcessEventForTesthub']()||BrowserstackCLI[_0x3f3ce(0x285)]()[_0x3f3ce(0x24b)]()){let _0x185957=null;try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x215)],_0x1e8804['qbzmi']);}catch(_0x4130ca){try{_0x185957=helper[_0x3f3ce(0x262)](_0x1e8804[_0x3f3ce(0x2d7)],_0x1e8804[_0x3f3ce(0x2e2)]);}catch(_0x4f354e){_0x1e8804['CNCpm'](debug,_0x3f3ce(0x2cc)+_0x4f354e);}}_0x185957&&(testhubUtils[_0x3f3ce(0x2c9)]()&&_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x28a)],_0x1e8804[_0x3f3ce(0x27c)])),_0x47312a[_0x3f3ce(0x20e)]=path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1f4)],_0x1e8804['dkgCO']));}_0x47312a[_0x3f3ce(0x2d8)]=_0x47312a['setupFiles']||[];try{helper[_0x3f3ce(0x223)](),_0x47312a['setupFiles'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x1e3)]));}catch{logger['debug'](_0x1e8804['BueRB']);}try{helper[_0x3f3ce(0x2ce)]['apply'](null,[_0x1e8804['SYxLP'],_0x1e8804[_0x3f3ce(0x296)]]),logger['debug'](_0x1e8804['AwHhI']),_0x47312a[_0x3f3ce(0x2d8)]['push'](path[_0x3f3ce(0x266)](__dirname,_0x1e8804[_0x3f3ce(0x2c8)]));}catch(_0x5bd0d3){logger['debug'](_0x1e8804['FqRna'],_0x5bd0d3);}if(_0x1e8804[_0x3f3ce(0x21a)](!_0x3244d4,_0xc095a4)){try{logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x1e6)]),_0x47312a['setupFilesAfterEnv'][_0x3f3ce(0x222)](path[_0x3f3ce(0x266)](__dirname,'..',_0x1e8804[_0x3f3ce(0x2db)],_0x1e8804['PexkE']));}catch(_0x18d3f4){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2d4)+_0x18d3f4['message']);}try{const _0x4a63b7=require[_0x3f3ce(0x26a)](_0x1e8804['sDOhy']),_0x1b599f=path['dirname'](_0x4a63b7)[_0x3f3ce(0x2c2)](/\\/g,'/'),_0x4bebf7={};_0x4bebf7[_0x3f3ce(0x219)]=_0x1b599f+_0x3f3ce(0x22a),_0x47312a['moduleNameMapper']=Object[_0x3f3ce(0x229)]({},_0x47312a[_0x3f3ce(0x27e)]||{},_0x4bebf7),logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x1ef)+_0x1b599f);}catch(_0x3d6abe){logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2ab)+_0x3d6abe[_0x3f3ce(0x23b)]);}}_0x47312a[_0x3f3ce(0x299)]=_0x47312a['reporters']||[_0x1e8804[_0x3f3ce(0x27a)]],_0x1e8804[_0x3f3ce(0x26f)](updateTestRerunConfig,_0x47312a,_0x369816);const _0x7050d7=fs[_0x3f3ce(0x22e)](_0x5a3a2b),_0x2bf6ce=helper[_0x3f3ce(0x1f5)](_0x1e8804[_0x3f3ce(0x244)],_0x1e8804[_0x3f3ce(0x2d6)]);!_0x2bf6ce[_0x3f3ce(0x1ed)]?fs[_0x3f3ce(0x1e5)](_0x47312a[_0x3f3ce(0x2c0)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x7050d7+_0x3f3ce(0x2c6)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)][_0x3f3ce(0x2c1)]+_0x3f3ce(0x25b)):fs[_0x3f3ce(0x1e5)](_0x47312a['runner'],_0x3f3ce(0x29b)+_0x7050d7+_0x3f3ce(0x283)+_0x369816[_0x3f3ce(0x27b)][_0x3f3ce(0x1f6)]['length']+_0x3f3ce(0x261));logger[_0x3f3ce(0x1ee)](_0x3f3ce(0x282)+_0x1f7f4f+'\x20with\x20browserstack\x20jest\x20configs'),fs['writeFileSync'](_0x1f7f4f,_0x3f3ce(0x1ea)+JSON[_0x3f3ce(0x224)](_0x47312a)+_0x3f3ce(0x2b1));if(_0x316f05[_0x3f3ce(0x295)]()){logger[_0x3f3ce(0x1fb)](_0x1e8804[_0x3f3ce(0x2a2)]);const _0x56db49=await _0x316f05[_0x3f3ce(0x2ba)](_0x47312a,_0x29e38f[_0x3f3ce(0x274)](0x1),_0x1f7f4f);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x2b9)+JSON[_0x3f3ce(0x224)](_0x56db49)+'\x20test\x20files\x20to\x20run.');const _0x114e66=await _0x316f05[_0x3f3ce(0x280)](_0x56db49);logger[_0x3f3ce(0x1fb)](_0x3f3ce(0x218)+JSON[_0x3f3ce(0x224)](_0x114e66)),_0x114e66&&_0x1e8804[_0x3f3ce(0x232)](_0x114e66[_0x3f3ce(0x2c1)],0x0)&&(process[_0x3f3ce(0x202)][_0x3f3ce(0x237)]=_0x114e66?.[_0x3f3ce(0x266)](','));}logger[_0x3f3ce(0x1ee)](_0x1e8804[_0x3f3ce(0x281)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x3f3ce(0x24d)]();helper[_0x3f3ce(0x2d2)]({},_0x29e38f),PerformanceTester[_0x3f3ce(0x213)](PerformanceEvents[_0x3f3ce(0x2e9)]);const _0x30e877=[_0x1e8804[_0x3f3ce(0x1e8)],_0x1e8804[_0x3f3ce(0x21c)],_0x1f7f4f,..._0x29e38f[_0x3f3ce(0x274)](0x1)];process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]=process[_0x3f3ce(0x202)][_0x3f3ce(0x2a7)]||_0x1e8804[_0x3f3ce(0x1e8)];const _0x49fbeb=_0x1e8804['aKOTR'](spawn,_0x1e8804[_0x3f3ce(0x275)],_0x30e877,{'shell':_0x1e8804[_0x3f3ce(0x230)](process[_0x3f3ce(0x20c)],_0x1e8804[_0x3f3ce(0x2d1)]),'stdio':_0x1e8804[_0x3f3ce(0x2a1)],'env':Object[_0x3f3ce(0x229)]({},process[_0x3f3ce(0x202)])});_0x49fbeb['on'](_0x1e8804[_0x3f3ce(0x238)],async _0x21524e=>{const _0x4b2a4c=_0x3f3ce;PerformanceTester[_0x4b2a4c(0x203)](PerformanceEvents['SDK_CLEANUP']),process[_0x4b2a4c(0x220)]=_0x21524e,logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2c3)+_0x21524e),logger[_0x4b2a4c(0x1ee)](_0x4b2a4c(0x1f0)+_0x1f7f4f);if(helper[_0x4b2a4c(0x233)](_0x2e1778)&&helper['isNotUndefined'](_0x2e1778['abortBuildOnFailure'])&&fs[_0x4b2a4c(0x1e7)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir']))try{const _0xa0c2f9={};_0xa0c2f9['recursive']=!![],_0xa0c2f9[_0x4b2a4c(0x277)]=!![],fs[_0x4b2a4c(0x278)](_0x2e1778[_0x4b2a4c(0x249)]['workingDir'],_0xa0c2f9),logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x2ae)+_0x2e1778['abortBuildOnFailure']['workingDir']);}catch(_0x2deb80){logger['error'](_0x4b2a4c(0x25a)+_0x2deb80);}let _0x25b2b5=null;if(fs[_0x4b2a4c(0x1e7)](_0x4716b7)){_0x25b2b5=fs[_0x4b2a4c(0x22e)](_0x4716b7);try{_0x25b2b5=JSON[_0x4b2a4c(0x1f1)](_0x25b2b5);}catch(_0x5617cf){logger[_0x4b2a4c(0x1fb)](_0x4b2a4c(0x204)+_0x4716b7+',\x20'+_0x25b2b5+_0x4b2a4c(0x217)+_0x5617cf);}fs['unlinkSync'](_0x4716b7);}fs[_0x4b2a4c(0x21b)](_0x1f7f4f),fs['unlinkSync'](_0x3d34a1),_0x25b2b5&&(_0x369816[_0x4b2a4c(0x27f)]=helper[_0x4b2a4c(0x2a5)](_0x25b2b5,_0x1e8804[_0x4b2a4c(0x1e8)],_0x369816));const _0x265df4=BrowserstackCLI[_0x4b2a4c(0x20b)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x44930b){console[_0x4b2a4c(0x287)](_0x44930b),_0x1e8804['pwjHV'](debug,_0x4b2a4c(0x288)+util[_0x4b2a4c(0x2a9)](_0x44930b));}testOpsHelper['printBuildLink'](),TestDetails[_0x4b2a4c(0x208)](),await utilities[_0x4b2a4c(0x235)](_0x369816,_0x265df4);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a22_0x3a0965=a22_0x49cb;function a22_0x2c05(){const _0x50162f=['../../../helpers/helper','exports','1737646sxHOcU','29110qTEkKg','includes','fVtxr','OJwKr','jestAdapterInit','requireInternalModule','customJestAdapterInit.js','329783VXWRBY','join','initRequireModule','jest-circus/build/runner.js','564XhhXwY','20RDIKFc','507783YruAbD','10588011GqbQcq','function','jest-circus','mzDtj','8421248vgPRlo','190MfHgCy','100278uzeqeW'];a22_0x2c05=function(){return _0x50162f;};return a22_0x2c05();}(function(_0x2d1114,_0x19d60b){const _0x490e00=a22_0x49cb,_0x2ac175=_0x2d1114();while(!![]){try{const _0x229bd1=-parseInt(_0x490e00(0x188))/0x1+-parseInt(_0x490e00(0x198))/0x2+-parseInt(_0x490e00(0x18e))/0x3*(-parseInt(_0x490e00(0x18d))/0x4)+parseInt(_0x490e00(0x199))/0x5*(parseInt(_0x490e00(0x18c))/0x6)+parseInt(_0x490e00(0x18f))/0x7+-parseInt(_0x490e00(0x193))/0x8+-parseInt(_0x490e00(0x195))/0x9*(-parseInt(_0x490e00(0x194))/0xa);if(_0x229bd1===_0x19d60b)break;else _0x2ac175['push'](_0x2ac175['shift']());}catch(_0x525fe8){_0x2ac175['push'](_0x2ac175['shift']());}}}(a22_0x2c05,0xd3916));const path=require('path'),{requireModule}=require(a22_0x3a0965(0x196));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a22_0x3a0965(0x191));}catch{initJestAdapter=requireModule(a22_0x3a0965(0x18b),a22_0x3a0965(0x191));}function a22_0x49cb(_0x58342e,_0x2b40e0){const _0x2c05a7=a22_0x2c05();return a22_0x49cb=function(_0x49cb28,_0xc846e4){_0x49cb28=_0x49cb28-0x182;let _0x4c00e2=_0x2c05a7[_0x49cb28];return _0x4c00e2;},a22_0x49cb(_0x58342e,_0x2b40e0);}initJestAdapter=typeof initJestAdapter===a22_0x3a0965(0x190)?initJestAdapter:initJestAdapter['default'];const FRAMEWORK_INITIALIZER=path[a22_0x3a0965(0x189)](__dirname,a22_0x3a0965(0x187));module[a22_0x3a0965(0x197)]=(..._0x3bfc9a)=>{const _0x2d74e4=a22_0x3a0965,_0x222ba9={'mzDtj':_0x2d74e4(0x185),'OJwKr':function(_0x37b55d,_0x32043f){return _0x37b55d===_0x32043f;},'fVtxr':function(_0x131383,..._0x9c0ec5){return _0x131383(..._0x9c0ec5);}};return _0x3bfc9a[0x3]['initRequireModule']=_0x3bfc9a[0x3][_0x2d74e4(0x186)],_0x3bfc9a[0x3][_0x2d74e4(0x186)]=(..._0x5c6fa1)=>{const _0x238fca=_0x2d74e4;if(_0x5c6fa1[0x0]&&_0x5c6fa1[0x0][_0x238fca(0x182)](_0x222ba9[_0x238fca(0x192)])&&_0x222ba9[_0x238fca(0x184)](_0x5c6fa1[0x1],undefined))return _0x3bfc9a[0x3][_0x238fca(0x18a)](FRAMEWORK_INITIALIZER);return _0x3bfc9a[0x3][_0x238fca(0x18a)](..._0x5c6fa1);},_0x222ba9[_0x2d74e4(0x183)](initJestAdapter,..._0x3bfc9a);};
|