browserstack-node-sdk 1.64.2 → 1.64.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
- package/src/ai-sdk-node/bundle.js +0 -1
- package/src/ai-sdk-node/extensions/chrome_extension.crx +0 -0
- package/src/bin/mocha/test-observability/builderPatch.js +0 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +0 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +0 -1
- package/src/helpers/timeoutPromise.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a11_0x1f2a02=a11_0x5940;(function(_0x168f71,_0x2ca814){const _0x245336=a11_0x5940,_0x21ec29=_0x168f71();while(!![]){try{const _0x38c164=-parseInt(_0x245336(0xc5))/0x1+parseInt(_0x245336(0x9d))/0x2+-parseInt(_0x245336(0xc1))/0x3*(parseInt(_0x245336(0xac))/0x4)+-parseInt(_0x245336(0x87))/0x5*(parseInt(_0x245336(0x9a))/0x6)+parseInt(_0x245336(0x84))/0x7*(parseInt(_0x245336(0xab))/0x8)+-parseInt(_0x245336(0xb8))/0x9+parseInt(_0x245336(0xba))/0xa;if(_0x38c164===_0x2ca814)break;else _0x21ec29['push'](_0x21ec29['shift']());}catch(_0x3e7e02){_0x21ec29['push'](_0x21ec29['shift']());}}}(a11_0x4985,0x703c5));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')['winstonLogger'],{URL}=require(a11_0x1f2a02(0x8f)),helper=require(a11_0x1f2a02(0x91)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x1f2a02(0x8c)),validHosts=function(_0x4b56b4){const _0x2c7b67=a11_0x1f2a02;return _0x4b56b4[_0x2c7b67(0xb0)](',')[_0x2c7b67(0xbc)](_0x55df4e=>{try{new URL(_0x55df4e['trim']());}catch(_0x2d3d8b){return![];}return!![];});},parseOnPremHosts=function(_0x5421ed){const _0x212bd8=a11_0x1f2a02,_0x4ef61d={};_0x4ef61d[_0x212bd8(0x8d)]=function(_0x51eed2,_0xd48c36){return _0x51eed2===_0xd48c36;},_0x4ef61d[_0x212bd8(0x95)]='https:',_0x4ef61d[_0x212bd8(0xbb)]=_0x212bd8(0xcd),_0x4ef61d[_0x212bd8(0xcb)]=function(_0x3234ba,_0x54a67a){return _0x3234ba===_0x54a67a;},_0x4ef61d['Kusvg']='https';const _0x2e5135=_0x4ef61d;return _0x5421ed[_0x212bd8(0xb0)](',')[_0x212bd8(0xca)](_0x5f1c8f=>{const _0x3e487e=_0x212bd8,_0x62ce64=new URL(_0x5f1c8f[_0x3e487e(0x8e)]()),_0x3896d1=_0x62ce64[_0x3e487e(0x98)],_0xbf68df=_0x62ce64[_0x3e487e(0xa5)]||(_0x2e5135[_0x3e487e(0x8d)](_0x62ce64[_0x3e487e(0xae)],_0x2e5135[_0x3e487e(0x95)])?_0x2e5135[_0x3e487e(0xbb)]:'80'),_0x122ff5=_0x62ce64['protocol'][_0x3e487e(0x8b)](':',''),_0x446eb6=_0x2e5135[_0x3e487e(0xcb)](_0x122ff5,_0x2e5135[_0x3e487e(0xbd)])?0x1:0x0;return _0x3896d1+','+_0xbf68df+','+_0x446eb6;});},connectCommandBuilder=function(_0x2ce058){const _0x3fa193=a11_0x1f2a02,_0x5c8ef1={};_0x5c8ef1[_0x3fa193(0x97)]=_0x3fa193(0xa2);const _0x56896b=_0x5c8ef1,_0x295358={};_0x295358[_0x3fa193(0x9e)]=HELP_MESSAGES[_0x3fa193(0xb7)][_0x3fa193(0x9f)],_0x295358[_0x3fa193(0x8a)]=_0x56896b[_0x3fa193(0x97)];const _0x26d1c0={};_0x26d1c0['describe']=HELP_MESSAGES[_0x3fa193(0xb7)][_0x3fa193(0xa6)],_0x26d1c0[_0x3fa193(0x8a)]=_0x56896b[_0x3fa193(0x97)],_0x26d1c0[_0x3fa193(0xb3)]=!![];const _0x24b1d2={};return _0x24b1d2[_0x3fa193(0xaf)]=_0x295358,_0x24b1d2[_0x3fa193(0xa6)]=_0x26d1c0,_0x2ce058['options'](_0x24b1d2);},connectCommandHandler=async function(_0x181fff){const _0x235cd6=a11_0x1f2a02,_0x11ab53={'ZUAVP':_0x235cd6(0x96),'LuRXR':function(_0x21e93e,_0x22d262){return _0x21e93e===_0x22d262;},'UzlLr':'undefined','btVuV':_0x235cd6(0xa3),'Mvciq':function(_0x2f3e85,_0x36e614){return _0x2f3e85===_0x36e614;},'Hqrpo':_0x235cd6(0xa1),'Iznyb':function(_0x4815d7,_0x3c47c7){return _0x4815d7(_0x3c47c7);},'xsKOY':_0x235cd6(0xb9),'eJYSZ':function(_0x34041b,_0x3975df){return _0x34041b(_0x3975df);},'GKfoE':_0x235cd6(0x86),'AWfnb':_0x235cd6(0x89),'MyWAa':_0x235cd6(0xa7)};try{const _0x34b5fc=new BrowserStackSetup(_0x181fff,_0x11ab53['ZUAVP']);_0x181fff[_0x235cd6(0xa8)]&&(_0x34b5fc[_0x235cd6(0x93)][_0x235cd6(0x94)]=_0x181fff['bstackAccesskey']);if(_0x11ab53[_0x235cd6(0xc2)](typeof _0x34b5fc[_0x235cd6(0x93)][_0x235cd6(0x94)],_0x11ab53[_0x235cd6(0x88)])){logger['error'](_0x11ab53[_0x235cd6(0xbe)]);throw new Error(ERROR_MESSAGES[_0x235cd6(0x9f)]['missing']);}const _0xef3a92=_0x181fff[_0x235cd6(0xa6)];if(_0x11ab53[_0x235cd6(0xc0)](typeof _0xef3a92,_0x11ab53[_0x235cd6(0x88)])){logger['error'](_0x11ab53[_0x235cd6(0xc3)]);throw new Error(ERROR_MESSAGES[_0x235cd6(0xa6)][_0x235cd6(0xaa)]);}if(!_0x11ab53[_0x235cd6(0xa4)](validHosts,_0xef3a92)){logger[_0x235cd6(0xb5)](_0x11ab53[_0x235cd6(0xc8)]);throw new Error(ERROR_MESSAGES['hosts'][_0x235cd6(0x85)]);}const _0x523e0d=_0x11ab53[_0x235cd6(0x9b)](parseOnPremHosts,_0xef3a92);_0x34b5fc['config'][_0x235cd6(0xc6)]=!![],_0x34b5fc[_0x235cd6(0x93)][_0x235cd6(0x92)][_0x235cd6(0xa9)]=_0x11ab53[_0x235cd6(0xcc)],_0x34b5fc[_0x235cd6(0x93)][_0x235cd6(0x92)][_0x235cd6(0x90)]=_0x523e0d[_0x235cd6(0xce)](','),helper[_0x235cd6(0xb1)](_0x34b5fc[_0x235cd6(0x93)]),await _0x34b5fc[_0x235cd6(0xb2)](),logger[_0x235cd6(0xc4)](_0x11ab53['AWfnb']);}catch(_0x42b3e5){logger['error'](_0x11ab53['MyWAa']);throw new Error(_0x42b3e5[_0x235cd6(0x99)]());}};function a11_0x4985(){const _0x4995f2=['map','Gxixm','GKfoE','443','join','7bNnMKj','invalid','integrations-repeater','410oSfdzD','UzlLr','Connection\x20established\x20successfully.','type','replace','./constants','privm','trim','url','only','../../helpers/helper','browserStackLocalOptions','config','accessKey','rtxRf','integrations','ZssSW','hostname','toString','43482kDHFRt','eJYSZ','demandCommand','601598mungqN','describe','bstackAccessKey','IrbMw','Integration\x20hosts\x20missing.','string','BrowserStack\x20access\x20key\x20missing.','Iznyb','port','hosts','Failed\x20to\x20establish\x20connection.','bstackAccesskey','localIdentifier','missing','2657464epxpqf','551476YOphem','epilogue','protocol','bstack-accesskey','split','setProxySettings','setupBrowserstackLocal','demandOption','connect','error','BAUNz','options','244053KgWlrc','Hosts\x20not\x20valid','9054950eiHNDS','SFQhI','every','Kusvg','btVuV','help','Mvciq','3lCoLSg','LuRXR','Hqrpo','info','319520GZSCXR','browserstackLocal','usage','xsKOY','footer'];a11_0x4985=function(){return _0x4995f2;};return a11_0x4985();}function run(_0x18c6e9){const _0x2ff09f=a11_0x1f2a02,_0x385021={};_0x385021[_0x2ff09f(0xa0)]=_0x2ff09f(0xb4),_0x385021[_0x2ff09f(0xb6)]=_0x2ff09f(0xbf);const _0x30d0cb=_0x385021;_0x18c6e9[_0x2ff09f(0xc7)](HELP_MESSAGES['command']['root'])['command'](_0x30d0cb[_0x2ff09f(0xa0)],HELP_MESSAGES['command'][_0x2ff09f(0xb4)],connectCommandBuilder,connectCommandHandler)[_0x2ff09f(0x9c)]()[_0x2ff09f(0xbf)](_0x30d0cb[_0x2ff09f(0xb6)])[_0x2ff09f(0xad)](HELP_MESSAGES['command'][_0x2ff09f(0xc9)]);}function a11_0x5940(_0x5c2ec8,_0x105004){const _0x49858c=a11_0x4985();return a11_0x5940=function(_0x594041,_0x2d0aa0){_0x594041=_0x594041-0x84;let _0x296128=_0x49858c[_0x594041];return _0x296128;},a11_0x5940(_0x5c2ec8,_0x105004);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12_0x5b8d4b=a12_0x499a;(function(_0x5ece56,_0xd2060f){var _0x3a9ff9=a12_0x499a,_0x2b26e8=_0x5ece56();while(!![]){try{var _0x7bcd44=-parseInt(_0x3a9ff9(0x140))/0x1+parseInt(_0x3a9ff9(0x137))/0x2*(parseInt(_0x3a9ff9(0x141))/0x3)+-parseInt(_0x3a9ff9(0x13c))/0x4+-parseInt(_0x3a9ff9(0x149))/0x5+parseInt(_0x3a9ff9(0x134))/0x6*(parseInt(_0x3a9ff9(0x14a))/0x7)+parseInt(_0x3a9ff9(0x13d))/0x8+-parseInt(_0x3a9ff9(0x138))/0x9*(-parseInt(_0x3a9ff9(0x14b))/0xa);if(_0x7bcd44===_0xd2060f)break;else _0x2b26e8['push'](_0x2b26e8['shift']());}catch(_0xe54083){_0x2b26e8['push'](_0x2b26e8['shift']());}}}(a12_0x4838,0xc3331));function a12_0x499a(_0x38afe6,_0x1835ed){var _0x483824=a12_0x4838();return a12_0x499a=function(_0x499a3d,_0x46eaed){_0x499a3d=_0x499a3d-0x133;var _0x4aae92=_0x483824[_0x499a3d];return _0x4aae92;},a12_0x499a(_0x38afe6,_0x1835ed);}var a12_0x1e7160={};a12_0x1e7160[a12_0x5b8d4b(0x13e)]=a12_0x5b8d4b(0x142),a12_0x1e7160[a12_0x5b8d4b(0x143)]=a12_0x5b8d4b(0x145);var a12_0x321b32={};a12_0x321b32[a12_0x5b8d4b(0x13a)]=a12_0x5b8d4b(0x13f),a12_0x321b32[a12_0x5b8d4b(0x14c)]=a12_0x5b8d4b(0x13b),a12_0x321b32[a12_0x5b8d4b(0x147)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';var a12_0x41e853={};a12_0x41e853[a12_0x5b8d4b(0x133)]=a12_0x1e7160,a12_0x41e853[a12_0x5b8d4b(0x139)]=a12_0x321b32,exports[a12_0x5b8d4b(0x135)]=a12_0x41e853;var a12_0x4bada7={};a12_0x4bada7[a12_0x5b8d4b(0x148)]=a12_0x5b8d4b(0x136);function a12_0x4838(){var _0x17e50e=['6BfzFCn','HELP_MESSAGES','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','2MGBIfI','33372byTwUp','command','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','5294624wySIhb','11154960fDZuRB','bstackAccessKey','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','933561sFMxOv','154188GVmLEs','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','hosts','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','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.','invalid','footer','missing','4951885CFPgFD','7333991Qeydpv','4190TLJNAQ','connect','options'];a12_0x4838=function(){return _0x17e50e;};return a12_0x4838();}var a12_0x410f30={};a12_0x410f30['missing']=a12_0x5b8d4b(0x144),a12_0x410f30[a12_0x5b8d4b(0x146)]='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.';var a12_0x2daf1e={};a12_0x2daf1e[a12_0x5b8d4b(0x13e)]=a12_0x4bada7,a12_0x2daf1e[a12_0x5b8d4b(0x143)]=a12_0x410f30,exports['ERROR_MESSAGES']=a12_0x2daf1e;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x560a22=a14_0x58b4;(function(_0x860f27,_0x4032b0){const _0x492535=a14_0x58b4,_0xc2cafd=_0x860f27();while(!![]){try{const _0x17928d=parseInt(_0x492535(0x1cf))/0x1*(parseInt(_0x492535(0x18a))/0x2)+-parseInt(_0x492535(0x1d5))/0x3+parseInt(_0x492535(0x15c))/0x4*(parseInt(_0x492535(0x198))/0x5)+-parseInt(_0x492535(0x196))/0x6*(parseInt(_0x492535(0x173))/0x7)+-parseInt(_0x492535(0x15e))/0x8*(-parseInt(_0x492535(0x16c))/0x9)+parseInt(_0x492535(0x1c6))/0xa+-parseInt(_0x492535(0x1a7))/0xb*(parseInt(_0x492535(0x17c))/0xc);if(_0x17928d===_0x4032b0)break;else _0xc2cafd['push'](_0xc2cafd['shift']());}catch(_0x32fb6a){_0xc2cafd['push'](_0xc2cafd['shift']());}}}(a14_0x1551,0xf0dc5));function a14_0x1551(){const _0x526e75=['keys','gihWZ','excluded','JKZVT','WVVhL','uruTg','bFQqk','slice','GlQxV','_sendSpecEvent','4380dnpOku','btWaQ','5pGEAwG','File\x20path\x20could\x20not\x20be\x20found','hOxYo','tJCjS','GlMmD','ZerYA','JASMINE','failure_reason_expanded','JjHlb','UukCz','parentSuiteId','_scopes','stack','number','uIQEY','11cpAjCt','_collapseFailedExpectations','specStarted','AssertionError','xqDcc','nIOaX','statSync','failure_backtrace','length','OKNzU','indIL','specDone','bPRiZ','trim','tEGhG','jasmineDone','../../../helpers/testhub/utils','remove','endsWith','appendTesthubParams','message','dirname','sep','afwQD','EqrHj','suiteDone','set','TestRunStarted','expanded','join','started_at','719780eJsrmU','XLYgB','wNGKa','WuSLo','Jasmine','testObservability','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','SBPsb','relative','268eqhVbl','description','suiteStarted','../../../helpers/test-observability/sessionHandler','exports','oKkPv','1105140DCREHu','TestRunSkipped','pending','finished_at','config','\x20:\x20','filename','SVZyM','rUOyo','failed','ZcmiA','backtrace','../testRunMap','pWKOi','_findGitConfig','duration','yOLlo','uuid','jasmineStarted','TestRunFinished','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','mpmvx','_suitesById','delete','1600172AXzoDg','push','15057176AjxgnD','passed','../../../helpers/test-observability/constants','_fileNameByFullName','status','CtLLH','PAfYX','NZyTx','WYFOZ','jFrel','fwUwV','shouldProcessEventForTesthub','DSsRV','oWFhS','9gXjzTf','toISOString','match','KBdEX','err','path','.git','10444rnPHSF','FyBMR','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','lgjib','get','has','BqLLc','fullName','split','18509412cqNdeZ','uploadEventData','matcherName','actual','setCurrentTestData','kmXAM','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failure','cwd','ukooi','WVScJ','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','WsKuZ','Spec\x20failed','12182bWMnst','zEBKt'];a14_0x1551=function(){return _0x526e75;};return a14_0x1551();}const path=require(a14_0x560a22(0x171)),fs=require('fs'),{v4:uuidv4}=require(a14_0x560a22(0x155)),testhubUtils=require(a14_0x560a22(0x1b7)),{FRAMEWORKS}=require(a14_0x560a22(0x160)),SessionHandler=require(a14_0x560a22(0x1d2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x560a22(0x150)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x560a22(0x1ca),a14_0x478e10={};a14_0x478e10['passed']='passed',a14_0x478e10['failed']=a14_0x560a22(0x14d),a14_0x478e10[a14_0x560a22(0x1d7)]=a14_0x560a22(0x1d7),a14_0x478e10[a14_0x560a22(0x18e)]='skipped';const STATUS_MAP=a14_0x478e10;class BrowserStackJasmineReporter{constructor(_0x6d2d7e={}){const _0x5693eb=a14_0x560a22,_0x37c6a1={'zEBKt':function(_0x305465){return _0x305465();}};this[_0x5693eb(0x1cb)]=_0x37c6a1[_0x5693eb(0x18b)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x5693eb(0x184)]()},undefined),this[_0x5693eb(0x161)]=_0x6d2d7e&&_0x6d2d7e['fileNameByFullName']||{},this['_suitesById']=new Map();}[a14_0x560a22(0x156)](){}[a14_0x560a22(0x1d1)](_0xb802a7){const _0x506c80=a14_0x560a22,_0x13bf2e={'KBdEX':function(_0x1963b0,_0x51f78d){return _0x1963b0!==_0x51f78d;},'afwQD':function(_0xb2894c,_0x1f5ba8){return _0xb2894c(_0x1f5ba8);}};try{_0xb802a7&&_0x13bf2e['KBdEX'](_0xb802a7['id'],undefined)&&_0x13bf2e[_0x506c80(0x16f)](_0xb802a7['id'],null)&&this[_0x506c80(0x15a)][_0x506c80(0x1c1)](_0xb802a7['id'],{'description':_0xb802a7[_0x506c80(0x1d0)],'parentSuiteId':_0xb802a7['parentSuiteId']});}catch(_0x31a713){_0x13bf2e[_0x506c80(0x1be)](debug,_0x506c80(0x187)+(_0xb802a7&&_0xb802a7['fullName'])+_0x506c80(0x1da)+_0x31a713);}}[a14_0x560a22(0x1a9)](_0x16fcd5){const _0x10dbc7=a14_0x560a22,_0x581f68={'gJiIx':function(_0x15ae99,_0x71b8de){return _0x15ae99!==_0x71b8de;},'iWtXL':function(_0x33a526){return _0x33a526();},'oKkPv':_0x10dbc7(0x1c2),'CtLLH':function(_0x599a53,_0x1e38eb){return _0x599a53(_0x1e38eb);}};try{if(_0x581f68['gJiIx'](testhubUtils[_0x10dbc7(0x169)](),!![]))return;const _0x3654c8=_0x581f68['iWtXL'](uuidv4);testRunMap[_0x10dbc7(0x1c1)](_0x16fcd5['id'],_0x3654c8),this['_sendSpecEvent'](_0x16fcd5,_0x3654c8,_0x581f68[_0x10dbc7(0x1d4)]);}catch(_0x2b0b64){_0x581f68[_0x10dbc7(0x163)](debug,_0x10dbc7(0x175)+(_0x16fcd5&&_0x16fcd5['fullName'])+_0x10dbc7(0x1da)+_0x2b0b64);}}[a14_0x560a22(0x1b2)](_0x14f874){const _0x31ad3d=a14_0x560a22,_0x48f756={'bPRiZ':function(_0x4c3dd6,_0x450356){return _0x4c3dd6!==_0x450356;},'vvUFi':function(_0x14f7d5){return _0x14f7d5();},'lgjib':function(_0x136034,_0x31975e){return _0x136034===_0x31975e;},'uruTg':_0x31ad3d(0x18e),'ehdrM':'TestRunSkipped','wNGKa':_0x31ad3d(0x157),'SVZyM':function(_0x5001c8,_0x4a6753){return _0x5001c8(_0x4a6753);}};try{if(_0x48f756[_0x31ad3d(0x1b3)](testhubUtils[_0x31ad3d(0x169)](),!![]))return;const _0x6a8191=testRunMap['get'](_0x14f874['id'])||_0x48f756['vvUFi'](uuidv4),_0x4bc393=_0x48f756[_0x31ad3d(0x176)](_0x14f874[_0x31ad3d(0x162)],_0x48f756[_0x31ad3d(0x191)])?_0x48f756['ehdrM']:_0x48f756[_0x31ad3d(0x1c8)];this[_0x31ad3d(0x195)](_0x14f874,_0x6a8191,_0x4bc393);}catch(_0x10a2ed){_0x48f756[_0x31ad3d(0x1dc)](debug,_0x31ad3d(0x182)+(_0x14f874&&_0x14f874[_0x31ad3d(0x17a)])+_0x31ad3d(0x1da)+_0x10a2ed);}finally{_0x14f874&&(testRunMap[_0x31ad3d(0x1b8)](_0x14f874['id']),_specStartTimes[_0x31ad3d(0x15b)](_0x14f874['id']));}}[a14_0x560a22(0x1c0)](){}[a14_0x560a22(0x1b6)](){}[a14_0x560a22(0x195)](_0x36c0ad,_0xe37608,_0x27cac2){const _0x54af56=a14_0x560a22,_0x34ebb3={'jFrel':function(_0x339d15,_0x488326){return _0x339d15===_0x488326;},'XLYgB':_0x54af56(0x157),'JKZVT':function(_0x50f11a,_0x2eccde){return _0x50f11a===_0x2eccde;},'mpmvx':_0x54af56(0x1d6),'xqDcc':_0x54af56(0x199),'WYFOZ':function(_0x251beb,_0x5a89f2,_0x4e84d5){return _0x251beb(_0x5a89f2,_0x4e84d5);},'JSdwY':_0x54af56(0x170),'uIQEY':function(_0xf92bf5,_0x405033){return _0xf92bf5===_0x405033;},'tEGhG':_0x54af56(0x1c2),'hOxYo':function(_0x1bbc00,_0x1a50fe){return _0x1bbc00!==_0x1a50fe;},'WsKuZ':function(_0x324939,_0x235873){return _0x324939!==_0x235873;},'SBPsb':'javascript','BqLLc':function(_0x2dea6e,_0x5eb6db){return _0x2dea6e&&_0x5eb6db;},'ZcmiA':'skipped','indIL':_0x54af56(0x15f),'WuSLo':function(_0x2f3727,_0x389fb3){return _0x2f3727===_0x389fb3;},'yOLlo':_0x54af56(0x1a5),'NZyTx':_0x54af56(0x1aa),'fwUwV':'UnhandledError','ZerYA':function(_0x14cbf1,_0x3617b0){return _0x14cbf1===_0x3617b0;},'gihWZ':_0x54af56(0x1c5),'JjHlb':_0x54af56(0x1d8),'nEyuy':_0x54af56(0x183),'pWKOi':_0x54af56(0x1ae),'bFQqk':_0x54af56(0x14f),'cBMFm':_0x54af56(0x19f),'FyBMR':_0x54af56(0x1c3),'ukooi':function(_0x1fba91,_0x2fa9df){return _0x1fba91===_0x2fa9df;},'tJCjS':function(_0x13e80a,_0x59ffb5){return _0x13e80a(_0x59ffb5);}};try{const _0x4277a6=_0x34ebb3[_0x54af56(0x167)](_0x27cac2,_0x34ebb3[_0x54af56(0x1c7)])||_0x34ebb3[_0x54af56(0x18f)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)]),_0x4df636=this['_resolveFilePath'](_0x36c0ad),_0x540152=_0x4df636?this['_paths']['prefixTestPath'](_0x4df636):_0x34ebb3[_0x54af56(0x1ab)],_0x145de5=_0x4df636?this[_0x54af56(0x152)](path[_0x54af56(0x1bc)](_0x4df636)):null,_0x3828af=this[_0x54af56(0x1a8)](_0x36c0ad['failedExpectations']),_0xb0de41=_0x3828af?_0x3828af['message']:undefined,_0x5c7ae1=_0x3828af?_0x34ebb3[_0x54af56(0x166)](failureData,_0x3828af,_0x34ebb3['JSdwY']):[],_0x58ef7f=new Date()[_0x54af56(0x16d)](),_0x300303=this[_0x54af56(0x1a3)](_0x36c0ad);_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3['tEGhG'])&&_0x36c0ad&&_0x34ebb3[_0x54af56(0x19a)](_0x36c0ad['id'],undefined)&&_0x34ebb3[_0x54af56(0x188)](_0x36c0ad['id'],null)&&_specStartTimes[_0x54af56(0x1c1)](_0x36c0ad['id'],_0x58ef7f);const _0x35a1c4=_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3[_0x54af56(0x1b5)])?_0x58ef7f:_0x36c0ad&&_specStartTimes[_0x54af56(0x177)](_0x36c0ad['id'])||null,_0x2d0365={};_0x2d0365['lang']=_0x34ebb3[_0x54af56(0x1cd)],_0x2d0365['code']=null;const _0x169230={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0xe37608,'name':_0x36c0ad[_0x54af56(0x1d0)],'body':_0x2d0365,'scope':_0x300303['join']('\x20'),'scopes':_0x300303,'identifier':_0x36c0ad[_0x54af56(0x17a)],'file_name':_0x540152,'vc_filepath':_0x34ebb3[_0x54af56(0x179)](_0x145de5,_0x4df636)?path[_0x54af56(0x1ce)](_0x145de5,_0x4df636):null,'location':_0x540152,'result':_0x34ebb3[_0x54af56(0x1a6)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)])?_0x34ebb3[_0x54af56(0x14e)]:STATUS_MAP[_0x36c0ad[_0x54af56(0x162)]]||_0x34ebb3[_0x54af56(0x1b1)],'failure_reason':_0xb0de41,'duration_in_ms':_0x34ebb3[_0x54af56(0x1c9)](typeof _0x36c0ad[_0x54af56(0x153)],_0x34ebb3[_0x54af56(0x154)])?_0x36c0ad['duration']:null,'started_at':_0x35a1c4,'finished_at':_0x4277a6?_0x58ef7f:null,'failure':_0x5c7ae1,'failure_type':!_0xb0de41?null:_0xb0de41[_0x54af56(0x16e)](/AssertionError/)?_0x34ebb3[_0x54af56(0x165)]:_0x34ebb3[_0x54af56(0x168)],'retry_of':null};_0x34ebb3[_0x54af56(0x19d)](_0x27cac2,_0x34ebb3[_0x54af56(0x159)])&&!_0x169230[_0x34ebb3[_0x54af56(0x18d)]]&&(_0x169230[_0x34ebb3[_0x54af56(0x18d)]]=_0x169230[_0x34ebb3[_0x54af56(0x1a0)]]);const _0x1211c2=_0x169230[_0x34ebb3['nEyuy']][0x0];_0x1211c2&&(_0x169230[_0x34ebb3[_0x54af56(0x151)]]=_0x1211c2[_0x34ebb3[_0x54af56(0x192)]],_0x169230[_0x34ebb3['cBMFm']]=_0x1211c2[_0x34ebb3[_0x54af56(0x174)]]);testhubUtils[_0x54af56(0x1ba)](_0x169230,_0x27cac2,_0x36c0ad,FRAMEWORKS['JASMINE']);const _0x5e51eb={'event_type':_0x34ebb3[_0x54af56(0x185)](_0x27cac2,_0x34ebb3['mpmvx'])?_0x34ebb3['XLYgB']:_0x27cac2,'test_run':_0x169230};return testhubUtils[_0x54af56(0x180)](FRAMEWORKS[_0x54af56(0x19e)],_0x5e51eb),SessionHandler[_0x54af56(0x17d)](_0x5e51eb);}catch(_0xddbd39){_0x34ebb3[_0x54af56(0x19b)](debug,_0x54af56(0x158)+_0x27cac2+_0x54af56(0x1da)+_0xddbd39);}}[a14_0x560a22(0x1a3)](_0x1626f5){const _0x58a890=a14_0x560a22,_0x445823={'EqrHj':function(_0x9360d0,_0x2ddb4c){return _0x9360d0!==_0x2ddb4c;},'PAfYX':function(_0x93efb6,_0x7b080a){return _0x93efb6!==_0x7b080a;},'DSsRV':function(_0x4412c9,_0x33a220){return _0x4412c9>_0x33a220;},'kmXAM':function(_0x49e634,_0x6ecebb){return _0x49e634(_0x6ecebb);},'nIOaX':function(_0x57d55e,_0x230d7e){return _0x57d55e-_0x230d7e;}};try{const _0x3a31ea=[];let _0x4101c7=_0x1626f5&&_0x1626f5[_0x58a890(0x1a2)];const _0x5ac3e4=new Set();while(_0x445823[_0x58a890(0x1bf)](_0x4101c7,undefined)&&_0x445823[_0x58a890(0x164)](_0x4101c7,null)&&this[_0x58a890(0x15a)][_0x58a890(0x178)](_0x4101c7)&&!_0x5ac3e4[_0x58a890(0x178)](_0x4101c7)){_0x5ac3e4['add'](_0x4101c7);const _0x214de9=this['_suitesById'][_0x58a890(0x177)](_0x4101c7);_0x214de9&&_0x214de9[_0x58a890(0x1d0)]&&_0x3a31ea[_0x58a890(0x15d)](_0x214de9['description']),_0x4101c7=_0x214de9?_0x214de9['parentSuiteId']:null;}if(_0x445823[_0x58a890(0x16a)](_0x3a31ea[_0x58a890(0x1af)],0x0))return _0x3a31ea['reverse']();}catch(_0x55063b){_0x445823[_0x58a890(0x181)](debug,_0x58a890(0x1cc)+(_0x1626f5&&_0x1626f5[_0x58a890(0x17a)])+_0x58a890(0x1da)+_0x55063b);}const _0x4ab516=_0x1626f5&&_0x1626f5['fullName']||'',_0x5c221f=_0x1626f5&&_0x1626f5[_0x58a890(0x1d0)]||'';let _0x45dbeb=_0x4ab516;return _0x5c221f&&_0x4ab516[_0x58a890(0x1b9)](_0x5c221f)&&(_0x45dbeb=_0x4ab516[_0x58a890(0x193)](0x0,_0x445823[_0x58a890(0x1ac)](_0x4ab516[_0x58a890(0x1af)],_0x5c221f[_0x58a890(0x1af)]))[_0x58a890(0x1b4)]()),_0x45dbeb?_0x45dbeb[_0x58a890(0x17b)](/\s+/):[];}['_resolveFilePath'](_0x58b969){const _0x52c3ec=a14_0x560a22,_0x543bae={};_0x543bae[_0x52c3ec(0x16b)]=function(_0x460cec,_0x3a5ce1){return _0x460cec===_0x3a5ce1;},_0x543bae[_0x52c3ec(0x197)]=function(_0x5b19ad,_0x55b73b){return _0x5b19ad+_0x55b73b;},_0x543bae['WVScJ']=function(_0x239b99,_0x4ff78b){return _0x239b99>_0x4ff78b;};const _0x5c29b1=_0x543bae;if(_0x58b969&&_0x58b969[_0x52c3ec(0x1db)])return _0x58b969[_0x52c3ec(0x1db)];if(_0x58b969&&_0x58b969[_0x52c3ec(0x17a)]){if(this[_0x52c3ec(0x161)][_0x58b969[_0x52c3ec(0x17a)]])return this['_fileNameByFullName'][_0x58b969[_0x52c3ec(0x17a)]];let _0x3a3660=null,_0xc37a56=-0x1;for(const _0x41c91d of Object[_0x52c3ec(0x18c)](this[_0x52c3ec(0x161)])){(_0x5c29b1[_0x52c3ec(0x16b)](_0x58b969[_0x52c3ec(0x17a)],_0x41c91d)||_0x58b969[_0x52c3ec(0x17a)]['startsWith'](_0x5c29b1[_0x52c3ec(0x197)](_0x41c91d,'\x20')))&&_0x5c29b1[_0x52c3ec(0x186)](_0x41c91d[_0x52c3ec(0x1af)],_0xc37a56)&&(_0x3a3660=this['_fileNameByFullName'][_0x41c91d],_0xc37a56=_0x41c91d[_0x52c3ec(0x1af)]);}if(_0x3a3660)return _0x3a3660;}return null;}[a14_0x560a22(0x1a8)](_0x247f8e){const _0x5e2112=a14_0x560a22,_0x250bbe={};_0x250bbe['UukCz']=function(_0xf24aac,_0xcbc169){return _0xf24aac===_0xcbc169;},_0x250bbe['rgpgH']=_0x5e2112(0x189);const _0x977b04=_0x250bbe;if(!Array['isArray'](_0x247f8e)||_0x977b04[_0x5e2112(0x1a1)](_0x247f8e[_0x5e2112(0x1af)],0x0))return undefined;const _0x579e3b=[],_0x5e1bf0=[];for(const _0x128e49 of _0x247f8e){_0x128e49&&_0x128e49[_0x5e2112(0x1bb)]&&_0x579e3b[_0x5e2112(0x15d)](_0x128e49['message']),_0x128e49&&_0x128e49[_0x5e2112(0x1a4)]&&_0x5e1bf0[_0x5e2112(0x15d)](_0x128e49[_0x5e2112(0x1a4)]);}const _0x14ae3e=_0x247f8e[0x0]||{},_0x1c2950=_0x579e3b['join']('\x0a')||_0x14ae3e['message']||_0x977b04['rgpgH'],_0x1a9d3a=_0x5e1bf0[_0x5e2112(0x1c4)]('\x0a\x0a')||_0x14ae3e['stack']||_0x1c2950,_0x54bc8b={};return _0x54bc8b['message']=_0x1c2950,_0x54bc8b[_0x5e2112(0x1a4)]=_0x1a9d3a,_0x54bc8b[_0x5e2112(0x17e)]=_0x14ae3e['matcherName'],_0x54bc8b['expected']=_0x14ae3e['expected'],_0x54bc8b[_0x5e2112(0x17f)]=_0x14ae3e[_0x5e2112(0x17f)],_0x54bc8b;}[a14_0x560a22(0x152)](_0x375acf){const _0x2142b5=a14_0x560a22,_0x39bc3d={};_0x39bc3d[_0x2142b5(0x14c)]=function(_0x55eaf6,_0x3dd7e){return _0x55eaf6===_0x3dd7e;},_0x39bc3d[_0x2142b5(0x19c)]=function(_0x46f8ff,_0x47ddfb){return _0x46f8ff===_0x47ddfb;},_0x39bc3d[_0x2142b5(0x190)]=function(_0x96f3c3,_0x50ea22){return _0x96f3c3===_0x50ea22;},_0x39bc3d[_0x2142b5(0x194)]=_0x2142b5(0x172),_0x39bc3d[_0x2142b5(0x1b0)]=_0x2142b5(0x1d9);const _0x4982f3=_0x39bc3d,_0x3a55d6=path[_0x2142b5(0x1bd)];if(_0x4982f3[_0x2142b5(0x14c)](_0x375acf,null)||_0x4982f3[_0x2142b5(0x19c)](_0x375acf,'')||_0x4982f3[_0x2142b5(0x14c)](_0x375acf,_0x3a55d6)||_0x4982f3[_0x2142b5(0x190)](_0x375acf,path[_0x2142b5(0x1bc)](_0x375acf)))return null;try{return fs[_0x2142b5(0x1ad)](path['join'](_0x375acf,_0x4982f3[_0x2142b5(0x194)],_0x4982f3[_0x2142b5(0x1b0)])),_0x375acf;}catch(_0x37fae2){return this[_0x2142b5(0x152)](path[_0x2142b5(0x1bc)](_0x375acf));}}}function a14_0x58b4(_0x46cbd1,_0x42bb9b){const _0x155133=a14_0x1551();return a14_0x58b4=function(_0x58b439,_0x41b14a){_0x58b439=_0x58b439-0x14c;let _0x50e7ce=_0x155133[_0x58b439];return _0x50e7ce;},a14_0x58b4(_0x46cbd1,_0x42bb9b);}module[a14_0x560a22(0x1d3)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';function a13_0x1033(){const _0x3f5dd2=['matcherName','backtrace','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','LeBcq','8542170gufDTF','push','vNuzg','failure_reason_expanded','_collapseFailedExpectations','number','4071987AKukTg','QzbUe','_paths','filename','AssertionError','skipped','fullName','boyBY','prefixTestPath','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','endsWith','AIxbw','set','789EWMHOx','keys','excluded','uuid','LDCDk','ftMjy','specStarted','eVxKC','qPVeS','tkoRY','message','dMZpp','XTfvJ','QLBJK','Kbbhh','toISOString','_fileNameByFullName','shouldProcessEventForTesthub','passed','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failed','jXokJ','status','startsWith','parentSuiteId','exports','BPAzb','mNcrX','_findGitConfig','_sendSpecEvent','ArkAA','GPylV','14410FKsmZi','azCCO','TestRunFinished','trim','testObservability','YFKAo','File\x20path\x20could\x20not\x20be\x20found','cwd','has','12278XvrhXL','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','kHvhn','1213785tbfkmN','Wqnec','slice','duration','bfWfy','_resolveFilePath','relative','WdOYj','TestRunSkipped','32FZBHnx','finished_at','pending','BPCdT','enUtZ','uMOeH','delete','avThc','reverse','length','270FjXDbM','config','zHZlX','ajNkA','sep','expanded','../../../helpers/testhub/utils','statSync','stack','GFqAA','expected','fileNameByFullName','BaSyw','1254hTfaBJ','yTKnk','started_at','uploadEventData','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','path','OidHp','_scopes','.git','specDone','../../../helpers/test-observability/utils','setCurrentTestData','XmVor','code','xGiZj','failure','get','tNuHz','\x20:\x20','description','add','dirname','javascript','JASMINE','RYJeP','TXPsK','suiteStarted','TJQXW','aTBaX','failedExpectations','azSPI','lang','5503824NTjmzH','2707606LqTZzn','aFaMI','suiteDone','Zkqqn','jasmineStarted','actual','appendTesthubParams','../testRunMap','match','WmeAw','../../../helpers/test-observability/sessionHandler','JhFZO','uVPlq','remove','_suitesById','split','join','tOTfC'];a13_0x1033=function(){return _0x3f5dd2;};return a13_0x1033();}const a13_0x938cba=a13_0x5ace;(function(_0x2d3e0a,_0x5105ca){const _0x51cd13=a13_0x5ace,_0x4e025f=_0x2d3e0a();while(!![]){try{const _0x2ef0aa=parseInt(_0x51cd13(0x14e))/0x1+-parseInt(_0x51cd13(0x142))/0x2*(-parseInt(_0x51cd13(0x122))/0x3)+parseInt(_0x51cd13(0xf8))/0x4+parseInt(_0x51cd13(0x10f))/0x5+-parseInt(_0x51cd13(0x16e))/0x6*(parseInt(_0x51cd13(0x14b))/0x7)+-parseInt(_0x51cd13(0x157))/0x8*(-parseInt(_0x51cd13(0x115))/0x9)+-parseInt(_0x51cd13(0x161))/0xa*(parseInt(_0x51cd13(0xf9))/0xb);if(_0x2ef0aa===_0x5105ca)break;else _0x4e025f['push'](_0x4e025f['shift']());}catch(_0x4aae95){_0x4e025f['push'](_0x4e025f['shift']());}}}(a13_0x1033,0xf1c7e));const path=require(a13_0x938cba(0x173)),fs=require('fs'),{v4:uuidv4}=require(a13_0x938cba(0x125)),testhubUtils=require(a13_0x938cba(0x167)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x938cba(0x103)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x938cba(0xe2)),testRunMap=require(a13_0x938cba(0x100)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL='Jasmine',a13_0x20944c={};function a13_0x5ace(_0x4364de,_0x42ef7b){const _0x10337b=a13_0x1033();return a13_0x5ace=function(_0x5ace80,_0x1d4867){_0x5ace80=_0x5ace80-0xde;let _0x57246e=_0x10337b[_0x5ace80];return _0x57246e;},a13_0x5ace(_0x4364de,_0x42ef7b);}a13_0x20944c['passed']=a13_0x938cba(0x134),a13_0x20944c[a13_0x938cba(0x136)]=a13_0x938cba(0x136),a13_0x20944c['pending']=a13_0x938cba(0x159),a13_0x20944c[a13_0x938cba(0x124)]='skipped';const STATUS_MAP=a13_0x20944c;class BrowserStackJasmineReporter{constructor(_0x26acd9={}){const _0x4cfafb=a13_0x938cba,_0x4c4951={'eVxKC':function(_0x3a14b5){return _0x3a14b5();}};this[_0x4cfafb(0x146)]=_0x4c4951[_0x4cfafb(0x129)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x4cfafb(0x149)]()},undefined),this[_0x4cfafb(0x132)]=_0x26acd9&&_0x26acd9[_0x4cfafb(0x16c)]||{},this['_suitesById']=new Map();}[a13_0x938cba(0xfd)](){}[a13_0x938cba(0xf2)](_0x559d6a){const _0x2ab365=a13_0x938cba,_0x5b9263={'ajNkA':function(_0x1383d4,_0x520667){return _0x1383d4!==_0x520667;},'XTfvJ':function(_0x3f9c83,_0x14b24c){return _0x3f9c83(_0x14b24c);}};try{_0x559d6a&&_0x5b9263[_0x2ab365(0x164)](_0x559d6a['id'],undefined)&&_0x5b9263[_0x2ab365(0x164)](_0x559d6a['id'],null)&&this[_0x2ab365(0x107)]['set'](_0x559d6a['id'],{'description':_0x559d6a[_0x2ab365(0xeb)],'parentSuiteId':_0x559d6a[_0x2ab365(0x13a)]});}catch(_0x599947){_0x5b9263[_0x2ab365(0x12e)](debug,_0x2ab365(0x10d)+(_0x559d6a&&_0x559d6a[_0x2ab365(0x11b)])+'\x20:\x20'+_0x599947);}}[a13_0x938cba(0x128)](_0x4e9915){const _0x4ca40e=a13_0x938cba,_0x589801={'FShzc':function(_0x5e38c6,_0x2ba613){return _0x5e38c6!==_0x2ba613;},'zHZlX':function(_0x6977dd){return _0x6977dd();},'QLBJK':'TestRunStarted','boyBY':function(_0x29977c,_0xfff690){return _0x29977c(_0xfff690);}};try{if(_0x589801['FShzc'](testhubUtils[_0x4ca40e(0x133)](),!![]))return;const _0x582444=_0x589801[_0x4ca40e(0x163)](uuidv4);testRunMap[_0x4ca40e(0x121)](_0x4e9915['id'],_0x582444),this[_0x4ca40e(0x13f)](_0x4e9915,_0x582444,_0x589801[_0x4ca40e(0x12f)]);}catch(_0x338db6){_0x589801[_0x4ca40e(0x11c)](debug,_0x4ca40e(0x172)+(_0x4e9915&&_0x4e9915[_0x4ca40e(0x11b)])+_0x4ca40e(0xea)+_0x338db6);}}[a13_0x938cba(0xe1)](_0x5acf12){const _0xe66073=a13_0x938cba,_0x22d578={'yTKnk':function(_0x2bfef0,_0x19a5ee){return _0x2bfef0!==_0x19a5ee;},'qPVeS':function(_0x131931){return _0x131931();},'mNcrX':function(_0x5ae731,_0x1f457a){return _0x5ae731===_0x1f457a;},'WnQnL':_0xe66073(0x124),'BaSyw':_0xe66073(0x156),'avThc':_0xe66073(0x144),'tNuHz':function(_0x24b477,_0x47c4f5){return _0x24b477(_0x47c4f5);}};try{if(_0x22d578[_0xe66073(0x16f)](testhubUtils[_0xe66073(0x133)](),!![]))return;const _0x435aa2=testRunMap[_0xe66073(0xe8)](_0x5acf12['id'])||_0x22d578[_0xe66073(0x12a)](uuidv4),_0x21430f=_0x22d578[_0xe66073(0x13d)](_0x5acf12['status'],_0x22d578['WnQnL'])?_0x22d578[_0xe66073(0x16d)]:_0x22d578[_0xe66073(0x15e)];this[_0xe66073(0x13f)](_0x5acf12,_0x435aa2,_0x21430f);}catch(_0x4a038f){_0x22d578[_0xe66073(0xe9)](debug,_0xe66073(0x135)+(_0x5acf12&&_0x5acf12[_0xe66073(0x11b)])+'\x20:\x20'+_0x4a038f);}finally{_0x5acf12&&(testRunMap[_0xe66073(0x106)](_0x5acf12['id']),_specStartTimes[_0xe66073(0x15d)](_0x5acf12['id']));}}[a13_0x938cba(0xfb)](){}['jasmineDone'](){}[a13_0x938cba(0x13f)](_0x45aa1b,_0x2b442d,_0x52be3a){const _0x4f7bd5=a13_0x938cba,_0x2b4254={'uMOeH':function(_0x37de11,_0x6a4c03){return _0x37de11===_0x6a4c03;},'ftMjy':'TestRunFinished','kHvhn':_0x4f7bd5(0x156),'BPAzb':_0x4f7bd5(0x148),'tkoRY':function(_0x3c4f65,_0x13bebc,_0x13c552){return _0x3c4f65(_0x13bebc,_0x13c552);},'azCCO':'err','Kbbhh':function(_0x3e0553,_0x21ab4f){return _0x3e0553===_0x21ab4f;},'wexin':'TestRunStarted','BPCdT':function(_0x5b318b,_0x184450){return _0x5b318b!==_0x184450;},'aFaMI':function(_0x4a2e07,_0x4df0ea){return _0x4a2e07!==_0x4df0ea;},'vNuzg':_0x4f7bd5(0xee),'PsmhY':function(_0x367cfb,_0x53e5d3){return _0x367cfb&&_0x53e5d3;},'MDfeE':function(_0x413c07,_0x4f38e9){return _0x413c07===_0x4f38e9;},'tOTfC':_0x4f7bd5(0x11a),'TJQXW':_0x4f7bd5(0x134),'SDset':function(_0x4302e1,_0x2fb21d){return _0x4302e1===_0x2fb21d;},'AIxbw':_0x4f7bd5(0x114),'OidHp':_0x4f7bd5(0x119),'YFKAo':'UnhandledError','kZAYf':function(_0x5b4ba0,_0x359e4a){return _0x5b4ba0===_0x359e4a;},'uVPlq':_0x4f7bd5(0x170),'azSPI':_0x4f7bd5(0x158),'jXokJ':_0x4f7bd5(0xe7),'dMZpp':'failure_backtrace','GPylV':_0x4f7bd5(0x10c),'KbRQC':_0x4f7bd5(0x112),'bfWfy':_0x4f7bd5(0x166),'LeBcq':function(_0x41a498,_0x4b60a1){return _0x41a498(_0x4b60a1);}};try{const _0x1d8bb6=_0x2b4254[_0x4f7bd5(0x15c)](_0x52be3a,_0x2b4254['ftMjy'])||_0x2b4254[_0x4f7bd5(0x15c)](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)]),_0x4f3bf3=this[_0x4f7bd5(0x153)](_0x45aa1b),_0x2763ff=_0x4f3bf3?this[_0x4f7bd5(0x117)][_0x4f7bd5(0x11d)](_0x4f3bf3):_0x2b4254[_0x4f7bd5(0x13c)],_0x404106=_0x4f3bf3?this['_findGitConfig'](path[_0x4f7bd5(0xed)](_0x4f3bf3)):null,_0x3be413=this[_0x4f7bd5(0x113)](_0x45aa1b[_0x4f7bd5(0xf5)]),_0x308f7d=_0x3be413?_0x3be413[_0x4f7bd5(0x12c)]:undefined,_0x59e960=_0x3be413?_0x2b4254[_0x4f7bd5(0x12b)](failureData,_0x3be413,_0x2b4254[_0x4f7bd5(0x143)]):[],_0x37183f=new Date()[_0x4f7bd5(0x131)](),_0x505161=this[_0x4f7bd5(0xdf)](_0x45aa1b);_0x2b4254[_0x4f7bd5(0x130)](_0x52be3a,_0x2b4254['wexin'])&&_0x45aa1b&&_0x2b4254[_0x4f7bd5(0x15a)](_0x45aa1b['id'],undefined)&&_0x2b4254[_0x4f7bd5(0xfa)](_0x45aa1b['id'],null)&&_specStartTimes[_0x4f7bd5(0x121)](_0x45aa1b['id'],_0x37183f);const _0x1993fa=_0x2b4254[_0x4f7bd5(0x130)](_0x52be3a,_0x2b4254['wexin'])?_0x37183f:_0x45aa1b&&_specStartTimes[_0x4f7bd5(0xe8)](_0x45aa1b['id'])||null,_0x49ce6d={};_0x49ce6d[_0x4f7bd5(0xf7)]=_0x2b4254[_0x4f7bd5(0x111)],_0x49ce6d[_0x4f7bd5(0xe5)]=null;const _0x10a1c8={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x2b442d,'name':_0x45aa1b[_0x4f7bd5(0xeb)],'body':_0x49ce6d,'scope':_0x505161[_0x4f7bd5(0x109)]('\x20'),'scopes':_0x505161,'identifier':_0x45aa1b[_0x4f7bd5(0x11b)],'file_name':_0x2763ff,'vc_filepath':_0x2b4254['PsmhY'](_0x404106,_0x4f3bf3)?path[_0x4f7bd5(0x154)](_0x404106,_0x4f3bf3):null,'location':_0x2763ff,'result':_0x2b4254['MDfeE'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])?_0x2b4254[_0x4f7bd5(0x10a)]:STATUS_MAP[_0x45aa1b[_0x4f7bd5(0x138)]]||_0x2b4254[_0x4f7bd5(0xf3)],'failure_reason':_0x308f7d,'duration_in_ms':_0x2b4254['SDset'](typeof _0x45aa1b[_0x4f7bd5(0x151)],_0x2b4254[_0x4f7bd5(0x120)])?_0x45aa1b[_0x4f7bd5(0x151)]:null,'started_at':_0x1993fa,'finished_at':_0x1d8bb6?_0x37183f:null,'failure':_0x59e960,'failure_type':!_0x308f7d?null:_0x308f7d[_0x4f7bd5(0x101)](/AssertionError/)?_0x2b4254[_0x4f7bd5(0xde)]:_0x2b4254[_0x4f7bd5(0x147)],'retry_of':null};_0x2b4254['kZAYf'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])&&!_0x10a1c8[_0x2b4254[_0x4f7bd5(0x105)]]&&(_0x10a1c8[_0x2b4254[_0x4f7bd5(0x105)]]=_0x10a1c8[_0x2b4254[_0x4f7bd5(0xf6)]]);const _0x177252=_0x10a1c8[_0x2b4254[_0x4f7bd5(0x137)]][0x0];_0x177252&&(_0x10a1c8[_0x2b4254[_0x4f7bd5(0x12d)]]=_0x177252[_0x2b4254[_0x4f7bd5(0x141)]],_0x10a1c8[_0x2b4254['KbRQC']]=_0x177252[_0x2b4254[_0x4f7bd5(0x152)]]);testhubUtils[_0x4f7bd5(0xff)](_0x10a1c8,_0x52be3a,_0x45aa1b,FRAMEWORKS['JASMINE']);const _0x2966b9={'event_type':_0x2b4254['uMOeH'](_0x52be3a,_0x2b4254[_0x4f7bd5(0x14d)])?_0x2b4254[_0x4f7bd5(0x127)]:_0x52be3a,'test_run':_0x10a1c8};return testhubUtils[_0x4f7bd5(0xe3)](FRAMEWORKS[_0x4f7bd5(0xef)],_0x2966b9),SessionHandler[_0x4f7bd5(0x171)](_0x2966b9);}catch(_0x3840db){_0x2b4254[_0x4f7bd5(0x10e)](debug,_0x4f7bd5(0x11e)+_0x52be3a+_0x4f7bd5(0xea)+_0x3840db);}}[a13_0x938cba(0xdf)](_0x6a9b0d){const _0x61d454=a13_0x938cba,_0x3f671d={'aTBaX':function(_0x379639,_0x40fce7){return _0x379639!==_0x40fce7;},'QzbUe':function(_0x591b7d,_0x43909d){return _0x591b7d!==_0x43909d;},'xGiZj':function(_0x159ea2,_0x13b134){return _0x159ea2>_0x13b134;},'Wqnec':function(_0x294de4,_0x31eaee){return _0x294de4(_0x31eaee);},'GFqAA':function(_0x147327,_0x58cdfd){return _0x147327-_0x58cdfd;}};try{const _0x361c03=[];let _0x3e69d5=_0x6a9b0d&&_0x6a9b0d['parentSuiteId'];const _0x26dd94=new Set();while(_0x3f671d[_0x61d454(0xf4)](_0x3e69d5,undefined)&&_0x3f671d[_0x61d454(0x116)](_0x3e69d5,null)&&this[_0x61d454(0x107)][_0x61d454(0x14a)](_0x3e69d5)&&!_0x26dd94[_0x61d454(0x14a)](_0x3e69d5)){_0x26dd94[_0x61d454(0xec)](_0x3e69d5);const _0x5c7fc4=this[_0x61d454(0x107)][_0x61d454(0xe8)](_0x3e69d5);_0x5c7fc4&&_0x5c7fc4[_0x61d454(0xeb)]&&_0x361c03[_0x61d454(0x110)](_0x5c7fc4['description']),_0x3e69d5=_0x5c7fc4?_0x5c7fc4[_0x61d454(0x13a)]:null;}if(_0x3f671d[_0x61d454(0xe6)](_0x361c03[_0x61d454(0x160)],0x0))return _0x361c03[_0x61d454(0x15f)]();}catch(_0x47c6be){_0x3f671d[_0x61d454(0x14f)](debug,_0x61d454(0x14c)+(_0x6a9b0d&&_0x6a9b0d[_0x61d454(0x11b)])+_0x61d454(0xea)+_0x47c6be);}const _0x4aa201=_0x6a9b0d&&_0x6a9b0d[_0x61d454(0x11b)]||'',_0x93a36=_0x6a9b0d&&_0x6a9b0d[_0x61d454(0xeb)]||'';let _0x28124d=_0x4aa201;return _0x93a36&&_0x4aa201[_0x61d454(0x11f)](_0x93a36)&&(_0x28124d=_0x4aa201[_0x61d454(0x150)](0x0,_0x3f671d[_0x61d454(0x16a)](_0x4aa201[_0x61d454(0x160)],_0x93a36[_0x61d454(0x160)]))[_0x61d454(0x145)]()),_0x28124d?_0x28124d[_0x61d454(0x108)](/\s+/):[];}[a13_0x938cba(0x153)](_0x5ecbc7){const _0x20be30=a13_0x938cba,_0x2418a5={};_0x2418a5[_0x20be30(0x104)]=function(_0x1f0110,_0x3dcc74){return _0x1f0110===_0x3dcc74;},_0x2418a5[_0x20be30(0x102)]=function(_0x93d5de,_0x9583ef){return _0x93d5de+_0x9583ef;},_0x2418a5[_0x20be30(0x15b)]=function(_0x2b27b4,_0x3ae711){return _0x2b27b4>_0x3ae711;};const _0x138523=_0x2418a5;if(_0x5ecbc7&&_0x5ecbc7[_0x20be30(0x118)])return _0x5ecbc7[_0x20be30(0x118)];if(_0x5ecbc7&&_0x5ecbc7[_0x20be30(0x11b)]){if(this[_0x20be30(0x132)][_0x5ecbc7['fullName']])return this[_0x20be30(0x132)][_0x5ecbc7[_0x20be30(0x11b)]];let _0xe64d03=null,_0x45f477=-0x1;for(const _0x5bfe08 of Object[_0x20be30(0x123)](this[_0x20be30(0x132)])){(_0x138523[_0x20be30(0x104)](_0x5ecbc7['fullName'],_0x5bfe08)||_0x5ecbc7[_0x20be30(0x11b)][_0x20be30(0x139)](_0x138523[_0x20be30(0x102)](_0x5bfe08,'\x20')))&&_0x138523[_0x20be30(0x15b)](_0x5bfe08[_0x20be30(0x160)],_0x45f477)&&(_0xe64d03=this[_0x20be30(0x132)][_0x5bfe08],_0x45f477=_0x5bfe08[_0x20be30(0x160)]);}if(_0xe64d03)return _0xe64d03;}return null;}['_collapseFailedExpectations'](_0x3d7d88){const _0x2ded3e=a13_0x938cba,_0x5b6e60={};_0x5b6e60[_0x2ded3e(0xf1)]=function(_0x3dd326,_0x1c0290){return _0x3dd326===_0x1c0290;},_0x5b6e60['XmVor']='Spec\x20failed';const _0x19d365=_0x5b6e60;if(!Array['isArray'](_0x3d7d88)||_0x19d365[_0x2ded3e(0xf1)](_0x3d7d88[_0x2ded3e(0x160)],0x0))return undefined;const _0x698917=[],_0x1703bc=[];for(const _0x5b20eb of _0x3d7d88){_0x5b20eb&&_0x5b20eb['message']&&_0x698917[_0x2ded3e(0x110)](_0x5b20eb[_0x2ded3e(0x12c)]),_0x5b20eb&&_0x5b20eb[_0x2ded3e(0x169)]&&_0x1703bc['push'](_0x5b20eb[_0x2ded3e(0x169)]);}const _0x48d68f=_0x3d7d88[0x0]||{},_0x21dab2=_0x698917[_0x2ded3e(0x109)]('\x0a')||_0x48d68f[_0x2ded3e(0x12c)]||_0x19d365[_0x2ded3e(0xe4)],_0x1dac33=_0x1703bc[_0x2ded3e(0x109)]('\x0a\x0a')||_0x48d68f[_0x2ded3e(0x169)]||_0x21dab2,_0x521986={};return _0x521986[_0x2ded3e(0x12c)]=_0x21dab2,_0x521986['stack']=_0x1dac33,_0x521986[_0x2ded3e(0x10b)]=_0x48d68f[_0x2ded3e(0x10b)],_0x521986[_0x2ded3e(0x16b)]=_0x48d68f['expected'],_0x521986[_0x2ded3e(0xfe)]=_0x48d68f[_0x2ded3e(0xfe)],_0x521986;}['_findGitConfig'](_0x4e7a50){const _0x3eb672=a13_0x938cba,_0x59bb54={};_0x59bb54[_0x3eb672(0xfc)]=function(_0x4414d6,_0x1aed14){return _0x4414d6===_0x1aed14;},_0x59bb54[_0x3eb672(0x126)]=function(_0x156d39,_0x34cef0){return _0x156d39===_0x34cef0;},_0x59bb54[_0x3eb672(0xf0)]=function(_0x466a59,_0x3e4200){return _0x466a59===_0x3e4200;},_0x59bb54[_0x3eb672(0x140)]=_0x3eb672(0xe0),_0x59bb54[_0x3eb672(0x155)]=_0x3eb672(0x162);const _0x28c0a7=_0x59bb54,_0x48a0d5=path[_0x3eb672(0x165)];if(_0x28c0a7['Zkqqn'](_0x4e7a50,null)||_0x28c0a7[_0x3eb672(0x126)](_0x4e7a50,'')||_0x28c0a7[_0x3eb672(0x126)](_0x4e7a50,_0x48a0d5)||_0x28c0a7[_0x3eb672(0xf0)](_0x4e7a50,path['dirname'](_0x4e7a50)))return null;try{return fs[_0x3eb672(0x168)](path['join'](_0x4e7a50,_0x28c0a7[_0x3eb672(0x140)],_0x28c0a7[_0x3eb672(0x155)])),_0x4e7a50;}catch(_0x3a63b9){return this[_0x3eb672(0x13e)](path[_0x3eb672(0xed)](_0x4e7a50));}}}module[a13_0x938cba(0x13b)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0x236503=a15_0x534a;function a15_0x5996(){const _0x527c2e=['maxWorkers','BROWSERSTACK_TEST_OBSERVABILITY_YML','yKEgG','platformIndex','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','handleApp','winstonLogger','NXusz','parallelsPerPlatform','finalExecution','__isPuppeteerInstalled','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','GsoBv','child_process','BROWSERSTACK_RERUN_TESTS','BROWSERSTACK_CLI_BIN_SESSION_ID','push','140KAEhGe','**/*[sS]pec.?(m)js','mTxTM','QWzDS','../../helpers/playwright-helper','glob','JyQYN','parseFileNames','string','../../helpers/test-observability/constants','Mamea',')\x20:\x20','isUndefined','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','232984WJijsG','DZwcm','getHubUrl','platforms','stringify','exports','22071840arvSMD','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','win32','isArray','CTQAF','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','getInstance','JBRon','npx','jJlNI','p-limit','close','xjSJw','\x27\x20:\x20','WmXdJ','764659OodvrQ','EBIBI','542500KsXWKE','isBrowserstackInfra','test.setup.js','auqwD','map','getPlatformName','VheRX','../../helpers/utilities','getPackageVersion','debug','find','vKNuK','wnsab','spec',',\x20specs=','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','env','zdINK','stop','gFUYS','all','existsSync','../v2/browserstackCLI','../../helpers/helper','onGhI','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','logLevel','18vymbcK','launchBuild','__isPlaywrightInstalled','@playwright/test','resolve','prepareCapabilities','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','sBsrG','\x20concurrent)','spec_files','spec/support/jasmine.json','SsVHN','error','exitCode','MIBPj','../../helpers/logger','spec_dir','BROWSERSTACK_CAPABILITIES','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','jasmine','../utils/constants','from','capability','start','JtLZu','EOXWN','bHqbs','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','gwJxQ','binSessionId','useW3C','FRAMEWORKS','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','rmdirSync','oAyoP','printBuildLink','unlinkSync','snotC','6pfcEdF','3410648yvnaHL','556876VoIJvM','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','../../helpers/test-observability/utils','\x20platform(s),\x20parallelsPerPlatform=','CtsON','JASMINE_CONFIG_PATH','length','config','specArgs','UcirI','nhvZF','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','bLQak','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','format','JASMINE','filter','assign','cwd','accessibilityOptions','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','util','4490310kFnSOb','uPogu','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','path','\x20work-item(s),\x20max\x20','initialize',';\x20proceeding\x20without\x20injection','jXzzY','startsWith','end','inherit','join','platform'];a15_0x5996=function(){return _0x527c2e;};return a15_0x5996();}(function(_0x52e71d,_0xb73cdc){const _0x4799e4=a15_0x534a,_0x552506=_0x52e71d();while(!![]){try{const _0x13d053=parseInt(_0x4799e4(0x13e))/0x1+parseInt(_0x4799e4(0x181))/0x2+-parseInt(_0x4799e4(0x197))/0x3+-parseInt(_0x4799e4(0x1c3))/0x4*(parseInt(_0x4799e4(0x1b5))/0x5)+-parseInt(_0x4799e4(0x17f))/0x6*(-parseInt(_0x4799e4(0x13c))/0x7)+parseInt(_0x4799e4(0x180))/0x8*(parseInt(_0x4799e4(0x159))/0x9)+parseInt(_0x4799e4(0x12d))/0xa;if(_0x13d053===_0xb73cdc)break;else _0x552506['push'](_0x552506['shift']());}catch(_0x36a092){_0x552506['push'](_0x552506['shift']());}}}(a15_0x5996,0xd289b));function a15_0x534a(_0x3e2a78,_0x4b6387){const _0x5996dc=a15_0x5996();return a15_0x534a=function(_0x534ab6,_0x4f4648){_0x534ab6=_0x534ab6-0x12a;let _0x4b43fd=_0x5996dc[_0x534ab6];return _0x4b43fd;},a15_0x534a(_0x3e2a78,_0x4b6387);}const fs=require('fs'),path=require(a15_0x236503(0x19a)),util=require(a15_0x236503(0x196)),{spawn}=require(a15_0x236503(0x1b1)),glob=require(a15_0x236503(0x1ba)),pLimit=require(a15_0x236503(0x137)),logger=require(a15_0x236503(0x168))[a15_0x236503(0x1aa)],helper=require(a15_0x236503(0x155)),utilities=require(a15_0x236503(0x145)),constants=require(a15_0x236503(0x16d)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x236503(0x183)),{FRAMEWORKS}=require(a15_0x236503(0x1be)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],BrowserstackCLI=require(a15_0x236503(0x154)),{checkPwandBootstrapCli}=require(a15_0x236503(0x1b9)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x1e20ac,_0x3ad54e)=>{const _0x392179=a15_0x236503,_0x87670={'QWzDS':function(_0x13028c,_0xf5b53e){return _0x13028c(_0xf5b53e);}};let _0x3e7a9a=0x1;if(!helper[_0x392179(0x1c1)](_0x3ad54e['parallelsPerPlatform']))_0x3e7a9a=_0x87670[_0x392179(0x1b8)](parseInt,_0x3ad54e[_0x392179(0x1ac)]);else!helper[_0x392179(0x1c1)](_0x1e20ac[_0x392179(0x1a4)])&&(_0x3e7a9a=_0x1e20ac[_0x392179(0x1a4)]);return _0x3e7a9a;},resolveJasmineConfigPath=()=>{const _0x18e269=a15_0x236503,_0x1a7307={};_0x1a7307[_0x18e269(0x1ab)]=_0x18e269(0x163);const _0x5d6ca5=_0x1a7307,_0x4d6f14=[];process[_0x18e269(0x14e)]['JASMINE_CONFIG_PATH']&&_0x4d6f14['push'](path[_0x18e269(0x15d)](process[_0x18e269(0x193)](),process[_0x18e269(0x14e)][_0x18e269(0x186)]));_0x4d6f14[_0x18e269(0x1b4)](path[_0x18e269(0x15d)](process[_0x18e269(0x193)](),_0x5d6ca5[_0x18e269(0x1ab)]));for(const _0x5bc49d of _0x4d6f14){try{if(fs[_0x18e269(0x153)](_0x5bc49d))return _0x5bc49d;}catch(_0x3b5857){}}return null;},enumerateSpecFiles=_0x5a9fe9=>{const _0x409050=a15_0x236503,_0x3efe8b={'WmXdJ':function(_0x192a46,_0x209cd7){return _0x192a46(_0x209cd7);},'vKNuK':function(_0x473ce7,_0x5a5ad5){return _0x473ce7>_0x5a5ad5;},'gwJxQ':function(_0x4dad37,_0x41b15f){return _0x4dad37(_0x41b15f);},'xjSJw':function(_0x3c0bed,_0x3ae0e0){return _0x3c0bed<_0x3ae0e0;},'CTQAF':function(_0x3d6ff9,_0x597d90){return _0x3d6ff9===_0x597d90;},'ocrSL':'string','bLQak':function(_0x4f9e25,_0x5ecd47,_0x1cc6ec){return _0x4f9e25(_0x5ecd47,_0x1cc6ec);},'yKEgG':function(_0x22850f,_0x140843){return _0x22850f>_0x140843;},'JBRon':function(_0x1e6fb3){return _0x1e6fb3();},'DZwcm':'utf8','MIBPj':_0x409050(0x14b),'nRJgQ':_0x409050(0x1b6),'UziIW':function(_0x14096e,_0x5b804f){return _0x14096e>_0x5b804f;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x16c0a2=testOpsHelper[_0x409050(0x1bc)](process['env'][_0x409050(0x1b2)]);if(Array['isArray'](_0x16c0a2)&&_0x3efe8b[_0x409050(0x149)](_0x16c0a2[_0x409050(0x187)],0x0))return _0x16c0a2[_0x409050(0x142)](_0x3c21b9=>path[_0x409050(0x15d)](process[_0x409050(0x193)](),_0x3c21b9['trim']()))[_0x409050(0x191)](Boolean);}}catch(_0x963d8f){_0x3efe8b[_0x409050(0x175)](debug,_0x409050(0x1af)+util[_0x409050(0x18f)](_0x963d8f));}const _0x52597f=[];try{for(let _0x55cb5a=0x1;_0x3efe8b[_0x409050(0x139)](_0x55cb5a,_0x5a9fe9[_0x409050(0x187)]);_0x55cb5a++){const _0x25ce8f=_0x5a9fe9[_0x55cb5a];_0x3efe8b[_0x409050(0x131)](typeof _0x25ce8f,_0x3efe8b['ocrSL'])&&!_0x25ce8f[_0x409050(0x19f)]('-')&&_0x52597f[_0x409050(0x1b4)](_0x25ce8f);}}catch(_0x18d206){}const _0x1be32e={'cwd':process[_0x409050(0x193)](),'absolute':!![],'nodir':!![]},_0x20e91a=(_0x4a66b7,_0x4d01d8)=>{const _0x266d46=_0x409050,_0x200814=[];for(const _0x3a8507 of _0x4a66b7){try{const _0x5ef557=_0x4d01d8?path['posix']['join'](_0x4d01d8,_0x3a8507):_0x3a8507,_0x581171=glob['globSync'](_0x5ef557,_0x1be32e);Array[_0x266d46(0x130)](_0x581171)&&_0x200814[_0x266d46(0x1b4)](..._0x581171);}catch(_0x5169ee){_0x3efe8b[_0x266d46(0x13b)](debug,_0x266d46(0x1c2)+_0x3a8507+_0x266d46(0x13a)+util['format'](_0x5169ee));}}return _0x200814;};if(_0x3efe8b['vKNuK'](_0x52597f['length'],0x0)){const _0xf92bb3=_0x3efe8b[_0x409050(0x18d)](_0x20e91a,_0x52597f,null);if(_0x3efe8b[_0x409050(0x1a6)](_0xf92bb3[_0x409050(0x187)],0x0))return Array[_0x409050(0x16e)](new Set(_0xf92bb3));return _0x52597f[_0x409050(0x142)](_0x3abc59=>path[_0x409050(0x15d)](process[_0x409050(0x193)](),_0x3abc59));}try{const _0x2ebb2c=_0x3efe8b[_0x409050(0x134)](resolveJasmineConfigPath);if(_0x2ebb2c){const _0x5c08de=JSON['parse'](fs['readFileSync'](_0x2ebb2c,_0x3efe8b[_0x409050(0x1c4)])),_0x14e801=_0x5c08de[_0x409050(0x169)]||_0x3efe8b[_0x409050(0x167)],_0x1fb3ff=Array[_0x409050(0x130)](_0x5c08de[_0x409050(0x162)])&&_0x3efe8b[_0x409050(0x149)](_0x5c08de['spec_files'][_0x409050(0x187)],0x0)?_0x5c08de[_0x409050(0x162)]:[_0x3efe8b['nRJgQ']],_0x3d80a6=_0x3efe8b[_0x409050(0x18d)](_0x20e91a,_0x1fb3ff,_0x14e801);if(_0x3efe8b['UziIW'](_0x3d80a6[_0x409050(0x187)],0x0))return Array[_0x409050(0x16e)](new Set(_0x3d80a6));}}catch(_0x490843){_0x3efe8b[_0x409050(0x13b)](debug,_0x409050(0x16b)+util[_0x409050(0x18f)](_0x490843));}return null;};async function run(_0x32559c,_0x1f7b94,_0x44e21e){const _0x6f5b27=a15_0x236503,_0x8c6f78={'UcirI':function(_0x4e6b0e,_0x5040cd){return _0x4e6b0e>_0x5040cd;},'qKNof':'all','snotC':function(_0x3b1a98,_0x4c1d8d){return _0x3b1a98(_0x4c1d8d);},'jXzzY':function(_0x2902eb,_0xfb5853){return _0x2902eb||_0xfb5853;},'sBsrG':function(_0x137adc,_0x13fdc8,_0x97dc6a,_0x26c48d){return _0x137adc(_0x13fdc8,_0x97dc6a,_0x26c48d);},'iwBlL':_0x6f5b27(0x135),'EOXWN':_0x6f5b27(0x16c),'cmXDD':function(_0x157ce2,_0x2bfe4d){return _0x157ce2===_0x2bfe4d;},'SsVHN':_0x6f5b27(0x12f),'auqwD':_0x6f5b27(0x1a1),'jJlNI':_0x6f5b27(0x138),'VheRX':_0x6f5b27(0x165),'CtsON':function(_0x9e48eb,_0x51a102){return _0x9e48eb(_0x51a102);},'qnuaa':_0x6f5b27(0x15c),'bHqbs':function(_0x250fbd){return _0x250fbd();},'wnsab':function(_0x3c7947,_0x536869,_0x2e7716,_0x23a99e){return _0x3c7947(_0x536869,_0x2e7716,_0x23a99e);},'EBIBI':function(_0x3d067d,_0x15fda4,_0x30cb34,_0x442fdf){return _0x3d067d(_0x15fda4,_0x30cb34,_0x442fdf);},'nhvZF':function(_0x52e03f,_0x3a8a05){return _0x52e03f!=_0x3a8a05;},'GsoBv':'true','onGhI':function(_0x238051,_0x2db65d,_0x2e10b8){return _0x238051(_0x2db65d,_0x2e10b8);},'oAyoP':function(_0x306d2d,_0x485a8e){return _0x306d2d*_0x485a8e;},'iMflo':function(_0x3e56ab,_0x451b1a){return _0x3e56ab(_0x451b1a);},'mTxTM':_0x6f5b27(0x140),'SRoyu':function(_0x4d4080,_0x2db4d0){return _0x4d4080(_0x2db4d0);},'JtLZu':function(_0x428150,_0x5d0711){return _0x428150<_0x5d0711;},'gFUYS':function(_0x489606,_0x2f259b){return _0x489606>_0x2f259b;},'Mamea':'error\x20removing\x20tcg\x20config\x20file'},_0x52590d=helper[_0x6f5b27(0x146)](_0x8c6f78['qnuaa']);global[_0x6f5b27(0x15b)]=!!_0x52590d;const _0x43d11a=_0x8c6f78[_0x6f5b27(0x173)](getPuppeteerVersion);global[_0x6f5b27(0x1ae)]=!!_0x43d11a;helper[_0x6f5b27(0x13f)]()?(await _0x44e21e[_0x6f5b27(0x19c)](_0x32559c),await helper[_0x6f5b27(0x1a9)](_0x44e21e[_0x6f5b27(0x188)])):await _0x44e21e['setupTCGAuth']();if(_0x52590d)await _0x8c6f78[_0x6f5b27(0x14a)](checkPwandBootstrapCli,_0x52590d,constants[_0x6f5b27(0x178)][_0x6f5b27(0x190)],_0x44e21e);else _0x43d11a&&await _0x8c6f78[_0x6f5b27(0x13d)](checkPuppeteerAndBootstrapCli,_0x43d11a,constants[_0x6f5b27(0x178)]['JASMINE'],_0x44e21e);if(!_0x44e21e[_0x6f5b27(0x188)])return;_0x8c6f78[_0x6f5b27(0x18b)](_0x44e21e['config']['testObservability'],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x44e21e['config']['testObservability']:process['env'][_0x6f5b27(0x1a5)]=_0x8c6f78[_0x6f5b27(0x1b0)];!helper[_0x6f5b27(0x1c1)](_0x44e21e[_0x6f5b27(0x188)]['accessibilityOptions'])&&(process[_0x6f5b27(0x14e)][_0x6f5b27(0x18e)]=JSON[_0x6f5b27(0x12b)](_0x44e21e['config'][_0x6f5b27(0x194)]));try{await TestHubHandler[_0x6f5b27(0x15a)](FRAMEWORKS['JASMINE'],_0x44e21e);}catch(_0x2560b5){logger[_0x6f5b27(0x165)](_0x6f5b27(0x12e)+util['format'](_0x2560b5)),_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x132)+util[_0x6f5b27(0x18f)](_0x2560b5));}let _0x4e6c62=![],_0x391674=[];try{_0x4e6c62=helper[_0x6f5b27(0x177)](_0x44e21e['config']),_0x391674=helper[_0x6f5b27(0x15e)](_0x44e21e[_0x6f5b27(0x188)],_0x4e6c62,constants[_0x6f5b27(0x178)][_0x6f5b27(0x190)]),process[_0x6f5b27(0x14e)][_0x6f5b27(0x16a)]=JSON[_0x6f5b27(0x12b)](_0x391674);}catch(_0x1893e8){_0x8c6f78['snotC'](debug,_0x6f5b27(0x199)+util[_0x6f5b27(0x18f)](_0x1893e8));}let _0x560f1f=null,_0x1b7115=![];try{_0x560f1f=helper[_0x6f5b27(0x1c5)](_0x44e21e[_0x6f5b27(0x188)]),_0x1b7115=helper['validPlatformsPresent'](_0x44e21e[_0x6f5b27(0x188)]);}catch(_0x1124a6){_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x182)+util[_0x6f5b27(0x18f)](_0x1124a6));}const _0x2c9b3c=_0x947185=>{const _0xc7812e=_0x6f5b27,_0x44c790=Array[_0xc7812e(0x130)](_0x391674)&&_0x8c6f78[_0xc7812e(0x18a)](_0x391674['length'],_0x947185)?_0x391674[_0x947185]:Array[_0xc7812e(0x130)](_0x391674)&&_0x8c6f78[_0xc7812e(0x18a)](_0x391674['length'],0x0)?_0x391674[0x0]:{};return{'server':_0x560f1f,'capability':_0x44c790,'proxySettings':_0x44e21e[_0xc7812e(0x188)]['proxySettings'],'platform':helper[_0xc7812e(0x143)](_0x44c790),'browserStackLogLevel':_0x44e21e['config'][_0xc7812e(0x158)],'platformIndex':_0x947185,'framework':constants[_0xc7812e(0x178)][_0xc7812e(0x190)],'platformCaps':_0x1b7115?Object[_0xc7812e(0x192)]({'index':_0x947185},_0x44e21e[_0xc7812e(0x188)][_0xc7812e(0x12a)][_0x947185]):{'index':_0x947185}};};let _0x520f17=0x1,_0x4baed2=0x1,_0x3c51ac=0x1;try{_0x520f17=_0x8c6f78[_0x6f5b27(0x156)](getMaxWorkers,_0x32559c,_0x44e21e[_0x6f5b27(0x188)]),_0x4baed2=_0x1b7115?_0x44e21e[_0x6f5b27(0x188)]['platforms']['length']:0x1,_0x3c51ac=_0x8c6f78[_0x6f5b27(0x17b)](_0x4baed2,_0x520f17),process[_0x6f5b27(0x14e)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x8c6f78[_0x6f5b27(0x185)](String,_0x3c51ac);}catch(_0x84f326){_0x8c6f78['iMflo'](debug,_0x6f5b27(0x174)+util['format'](_0x84f326));}try{BrowserstackCLI[_0x6f5b27(0x133)]()['binSessionId']&&(process[_0x6f5b27(0x14e)][_0x6f5b27(0x1b3)]=BrowserstackCLI[_0x6f5b27(0x133)]()[_0x6f5b27(0x176)]);}catch(_0x28b1c2){_0x8c6f78[_0x6f5b27(0x185)](debug,_0x6f5b27(0x15f)+util[_0x6f5b27(0x18f)](_0x28b1c2));}const _0x2437d2=[];try{const _0x297595=path[_0x6f5b27(0x15d)](__dirname,_0x8c6f78[_0x6f5b27(0x1b7)]);fs[_0x6f5b27(0x153)](_0x297595)?_0x2437d2[_0x6f5b27(0x1b4)]('--helper='+_0x297595):_0x8c6f78['CtsON'](debug,_0x6f5b27(0x14d)+_0x297595+_0x6f5b27(0x19d));}catch(_0x10416d){_0x8c6f78['SRoyu'](debug,_0x6f5b27(0x1a8)+util[_0x6f5b27(0x18f)](_0x10416d));}const _0x2f4323=_0x1f7b94['slice'](0x1),_0x45207b=_0x8c6f78[_0x6f5b27(0x185)](enumerateSpecFiles,_0x1f7b94),_0x5d2b3d=[];for(let _0x51e213=0x0;_0x8c6f78[_0x6f5b27(0x171)](_0x51e213,_0x4baed2);_0x51e213++){if(_0x8c6f78[_0x6f5b27(0x18a)](_0x520f17,0x1)&&Array['isArray'](_0x45207b)&&_0x8c6f78[_0x6f5b27(0x18a)](_0x45207b[_0x6f5b27(0x187)],0x0))for(const _0x2aac09 of _0x45207b){const _0x23fa29={};_0x23fa29[_0x6f5b27(0x1a7)]=_0x51e213,_0x23fa29[_0x6f5b27(0x189)]=[_0x2aac09],_0x5d2b3d[_0x6f5b27(0x1b4)](_0x23fa29);}else{const _0x425214={};_0x425214['platformIndex']=_0x51e213,_0x425214[_0x6f5b27(0x189)]=_0x45207b,_0x5d2b3d[_0x6f5b27(0x1b4)](_0x425214);}}logger['info']('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x4baed2+_0x6f5b27(0x184)+_0x520f17+'\x20('+_0x5d2b3d[_0x6f5b27(0x187)]+_0x6f5b27(0x19b)+_0x3c51ac+_0x6f5b27(0x161)),PerformanceTester[_0x6f5b27(0x1a0)](PerformanceEvents['SDK_SETUP']);const _0x4453e9=_0xd537ae=>new Promise(_0x4c8be2=>{const _0x11b898=_0x6f5b27,_0x218ffa={'JyQYN':_0x8c6f78['qKNof'],'TcDSn':function(_0xd69fa4,_0x4e38e3){const _0x294e1a=a15_0x534a;return _0x8c6f78[_0x294e1a(0x17e)](_0xd69fa4,_0x4e38e3);},'zdINK':function(_0x12ffec,_0x2647b8){const _0x1e4fa0=a15_0x534a;return _0x8c6f78[_0x1e4fa0(0x19e)](_0x12ffec,_0x2647b8);},'uPogu':function(_0xfdc6f6,_0x23567f){return _0x8c6f78['snotC'](_0xfdc6f6,_0x23567f);}};let _0x5a7636;try{const _0x12346e=_0x8c6f78[_0x11b898(0x17e)](_0x2c9b3c,_0xd537ae[_0x11b898(0x1a7)]);_0x5a7636=Object[_0x11b898(0x192)]({},process['env'],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x11b898(0x12b)](_0x12346e),'BROWSERSTACK_CAPABILITIES':JSON[_0x11b898(0x12b)]([_0x12346e[_0x11b898(0x16f)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x26b3b0){_0x8c6f78['snotC'](debug,_0x11b898(0x179)+_0xd537ae['platformIndex']+'\x20:\x20'+util[_0x11b898(0x18f)](_0x26b3b0)),_0x5a7636=Object[_0x11b898(0x192)]({},process[_0x11b898(0x14e)]);}const _0x3d3177=Array[_0x11b898(0x130)](_0xd537ae[_0x11b898(0x189)])?_0xd537ae[_0x11b898(0x189)]:[],_0x23762d=_0x8c6f78[_0x11b898(0x18a)](_0x3d3177[_0x11b898(0x187)],0x0)?_0x2f4323['filter'](_0x3b781f=>typeof _0x3b781f===_0x11b898(0x1bd)&&_0x3b781f[_0x11b898(0x19f)]('-')):_0x2f4323,_0x246bef=[..._0x2437d2,..._0x23762d,..._0x3d3177];try{const _0x1c93c8=_0x8c6f78[_0x11b898(0x160)](spawn,_0x8c6f78['iwBlL'],[_0x8c6f78[_0x11b898(0x172)],..._0x246bef],{'shell':_0x8c6f78['cmXDD'](process[_0x11b898(0x1a3)],_0x8c6f78[_0x11b898(0x164)]),'stdio':_0x8c6f78[_0x11b898(0x141)],'env':_0x5a7636});_0x1c93c8['on'](_0x8c6f78[_0x11b898(0x136)],_0x5c2d03=>{const _0x5df886=_0x11b898;logger[_0x5df886(0x147)]('jasmine\x20child\x20(platformIndex='+_0xd537ae[_0x5df886(0x1a7)]+_0x5df886(0x14c)+(_0x3d3177['length']?_0x3d3177[_0x5df886(0x1a2)](','):_0x218ffa[_0x5df886(0x1bb)])+')\x20exited\x20with\x20code\x20'+_0x5c2d03),_0x218ffa['TcDSn'](_0x4c8be2,_0x218ffa[_0x5df886(0x14f)](_0x5c2d03,0x0));}),_0x1c93c8['on'](_0x8c6f78[_0x11b898(0x144)],_0x29210e=>{const _0x9fed9e=_0x11b898;_0x218ffa[_0x9fed9e(0x198)](debug,_0x9fed9e(0x18c)+_0xd537ae['platformIndex']+_0x9fed9e(0x1c0)+util['format'](_0x29210e)),_0x218ffa[_0x9fed9e(0x198)](_0x4c8be2,0x1);});}catch(_0x5e2716){_0x8c6f78[_0x11b898(0x185)](debug,_0x11b898(0x157)+_0xd537ae['platformIndex']+_0x11b898(0x1c0)+util[_0x11b898(0x18f)](_0x5e2716)),_0x8c6f78['CtsON'](_0x4c8be2,0x1);}}),_0x452ea6=_0x8c6f78['iMflo'](pLimit,_0x8c6f78[_0x6f5b27(0x151)](_0x3c51ac,0x0)?_0x3c51ac:0x1),_0x8fb402=await Promise[_0x6f5b27(0x152)](_0x5d2b3d[_0x6f5b27(0x142)](_0x3d5c78=>_0x452ea6(()=>_0x4453e9(_0x3d5c78))));PerformanceTester[_0x6f5b27(0x170)](PerformanceEvents['SDK_CLEANUP']);const _0xa1b5d7=_0x8fb402[_0x6f5b27(0x148)](_0x1a13f1=>_0x1a13f1!==0x0)||0x0;process[_0x6f5b27(0x166)]=_0xa1b5d7,logger[_0x6f5b27(0x147)](_0x6f5b27(0x195)+_0xa1b5d7);const _0x4c864b=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x6f5b27(0x150)](),await BrowserstackCLI[_0x6f5b27(0x133)]()[_0x6f5b27(0x150)]();}catch(_0x43ef10){_0x8c6f78['SRoyu'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x6f5b27(0x18f)](_0x43ef10));}try{const {browserstackFolderPath:_0x1cd8ff,tcgConfigPath:_0x29a6e6}=helper['getTCGConfigFilePaths']();fs[_0x6f5b27(0x17d)](_0x29a6e6),fs[_0x6f5b27(0x17a)](_0x1cd8ff);}catch(_0x1549b8){logger['debug'](_0x8c6f78[_0x6f5b27(0x1bf)],_0x1549b8);}testOpsHelper[_0x6f5b27(0x17c)](),await utilities[_0x6f5b27(0x1ad)](_0x44e21e,_0x4c864b);}module[a15_0x236503(0x12c)]=run;
|
|
2
|
+
'use strict';const a14_0x4e0b4d=a14_0x16b0;(function(_0x80c234,_0x305bbc){const _0xa1b04b=a14_0x16b0,_0x3d8d08=_0x80c234();while(!![]){try{const _0x21fe08=parseInt(_0xa1b04b(0x208))/0x1+-parseInt(_0xa1b04b(0x243))/0x2*(parseInt(_0xa1b04b(0x1f8))/0x3)+-parseInt(_0xa1b04b(0x247))/0x4+-parseInt(_0xa1b04b(0x1c9))/0x5+parseInt(_0xa1b04b(0x21e))/0x6+-parseInt(_0xa1b04b(0x1ba))/0x7*(-parseInt(_0xa1b04b(0x1bd))/0x8)+parseInt(_0xa1b04b(0x21a))/0x9;if(_0x21fe08===_0x305bbc)break;else _0x3d8d08['push'](_0x3d8d08['shift']());}catch(_0x3345d1){_0x3d8d08['push'](_0x3d8d08['shift']());}}}(a14_0x2316,0x56daa));const fs=require('fs'),path=require(a14_0x4e0b4d(0x1c5)),util=require('util'),{spawn}=require(a14_0x4e0b4d(0x1bf)),glob=require(a14_0x4e0b4d(0x24f)),pLimit=require(a14_0x4e0b4d(0x245)),logger=require(a14_0x4e0b4d(0x238))[a14_0x4e0b4d(0x20c)],helper=require(a14_0x4e0b4d(0x224)),utilities=require(a14_0x4e0b4d(0x1f9)),constants=require(a14_0x4e0b4d(0x222)),TestHubHandler=require(a14_0x4e0b4d(0x1cf)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x4e0b4d(0x23c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants'),PerformanceTester=require(a14_0x4e0b4d(0x1f2)),PerformanceEvents=require(a14_0x4e0b4d(0x1bc))[a14_0x4e0b4d(0x1c3)],BrowserstackCLI=require(a14_0x4e0b4d(0x1c0)),{checkPwandBootstrapCli}=require(a14_0x4e0b4d(0x1b4)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x4e0b4d(0x1f0)),getMaxWorkers=(_0x48ced3,_0x280017)=>{const _0x283f97=a14_0x4e0b4d,_0x444ea0={'OYczd':function(_0x4c38cf,_0x23d269){return _0x4c38cf(_0x23d269);}};let _0x47cbc4=0x1;if(!helper[_0x283f97(0x1c1)](_0x280017[_0x283f97(0x250)]))_0x47cbc4=_0x444ea0['OYczd'](parseInt,_0x280017[_0x283f97(0x250)]);else!helper['isUndefined'](_0x48ced3[_0x283f97(0x1fe)])&&(_0x47cbc4=_0x48ced3[_0x283f97(0x1fe)]);return _0x47cbc4;},resolveJasmineConfigPath=()=>{const _0x74c1cb=a14_0x4e0b4d,_0x3b2ff0={};_0x3b2ff0[_0x74c1cb(0x20a)]=_0x74c1cb(0x1c2);const _0x3bb01c=_0x3b2ff0,_0x278512=[];process['env'][_0x74c1cb(0x24d)]&&_0x278512[_0x74c1cb(0x231)](path[_0x74c1cb(0x21c)](process[_0x74c1cb(0x244)](),process[_0x74c1cb(0x221)][_0x74c1cb(0x24d)]));_0x278512[_0x74c1cb(0x231)](path[_0x74c1cb(0x21c)](process[_0x74c1cb(0x244)](),_0x3bb01c[_0x74c1cb(0x20a)]));for(const _0x557eee of _0x278512){try{if(fs[_0x74c1cb(0x200)](_0x557eee))return _0x557eee;}catch(_0x5deb30){}}return null;},enumerateSpecFiles=_0x1dca3f=>{const _0x49e606=a14_0x4e0b4d,_0x538230={'JCtjQ':function(_0x1c3292,_0xb24d1e){return _0x1c3292(_0xb24d1e);},'QECBh':function(_0x55ed84,_0x4167ec){return _0x55ed84>_0x4167ec;},'ZPAsb':function(_0x5130dc,_0x5306ad){return _0x5130dc<_0x5306ad;},'SzggA':function(_0x1e089d,_0x5c40f){return _0x1e089d===_0x5c40f;},'HrGXk':_0x49e606(0x1b7),'OnCdJ':function(_0x21a9b0,_0x4f60a8,_0x2f749b){return _0x21a9b0(_0x4f60a8,_0x2f749b);},'jpUII':function(_0x480338,_0x15fa3a){return _0x480338>_0x15fa3a;},'ESEmO':function(_0x5c027b){return _0x5c027b();},'wNOBk':_0x49e606(0x21b),'GxSmM':_0x49e606(0x1af),'BZWfL':_0x49e606(0x232),'afTga':function(_0x3690c5,_0x53cb2d){return _0x3690c5>_0x53cb2d;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x479574=testOpsHelper[_0x49e606(0x204)](process[_0x49e606(0x221)][_0x49e606(0x1ef)]);if(Array[_0x49e606(0x1ed)](_0x479574)&&_0x538230[_0x49e606(0x23f)](_0x479574[_0x49e606(0x218)],0x0))return _0x479574[_0x49e606(0x227)](_0x11b16b=>path[_0x49e606(0x21c)](process[_0x49e606(0x244)](),_0x11b16b['trim']()))['filter'](Boolean);}}catch(_0x398d1c){_0x538230[_0x49e606(0x1fb)](debug,_0x49e606(0x1d7)+util['format'](_0x398d1c));}const _0x318214=[];try{for(let _0x5cc891=0x1;_0x538230[_0x49e606(0x235)](_0x5cc891,_0x1dca3f[_0x49e606(0x218)]);_0x5cc891++){const _0x2a4596=_0x1dca3f[_0x5cc891];_0x538230[_0x49e606(0x1d9)](typeof _0x2a4596,_0x538230[_0x49e606(0x217)])&&!_0x2a4596[_0x49e606(0x1b3)]('-')&&_0x318214[_0x49e606(0x231)](_0x2a4596);}}catch(_0xbe662f){}const _0x536cc1={'cwd':process['cwd'](),'absolute':!![],'nodir':!![]},_0x20d816=(_0xad53e8,_0x4d712d)=>{const _0x442f26=_0x49e606,_0x4cbb6f=[];for(const _0x14505b of _0xad53e8){try{const _0x3c5c4f=_0x4d712d?path['posix'][_0x442f26(0x1e1)](_0x4d712d,_0x14505b):_0x14505b,_0x39811f=glob[_0x442f26(0x1d1)](_0x3c5c4f,_0x536cc1);Array[_0x442f26(0x1ed)](_0x39811f)&&_0x4cbb6f[_0x442f26(0x231)](..._0x39811f);}catch(_0x38ccc1){_0x538230[_0x442f26(0x1fb)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x14505b+_0x442f26(0x21f)+util[_0x442f26(0x22f)](_0x38ccc1));}}return _0x4cbb6f;};if(_0x538230[_0x49e606(0x23f)](_0x318214['length'],0x0)){const _0x354951=_0x538230[_0x49e606(0x1f6)](_0x20d816,_0x318214,null);if(_0x538230[_0x49e606(0x1b0)](_0x354951[_0x49e606(0x218)],0x0))return Array[_0x49e606(0x1c4)](new Set(_0x354951));return _0x318214['map'](_0x4843ad=>path[_0x49e606(0x21c)](process[_0x49e606(0x244)](),_0x4843ad));}try{const _0x2f645d=_0x538230[_0x49e606(0x225)](resolveJasmineConfigPath);if(_0x2f645d){const _0x54b841=JSON['parse'](fs[_0x49e606(0x1b6)](_0x2f645d,_0x538230[_0x49e606(0x207)])),_0x2cccdc=_0x54b841[_0x49e606(0x211)]||_0x538230[_0x49e606(0x24e)],_0x3cfb65=Array[_0x49e606(0x1ed)](_0x54b841['spec_files'])&&_0x538230[_0x49e606(0x23f)](_0x54b841[_0x49e606(0x22c)]['length'],0x0)?_0x54b841[_0x49e606(0x22c)]:[_0x538230[_0x49e606(0x1f4)]],_0x33092f=_0x538230[_0x49e606(0x1f6)](_0x20d816,_0x3cfb65,_0x2cccdc);if(_0x538230[_0x49e606(0x20b)](_0x33092f[_0x49e606(0x218)],0x0))return Array[_0x49e606(0x1c4)](new Set(_0x33092f));}}catch(_0x4fa546){_0x538230[_0x49e606(0x1fb)](debug,_0x49e606(0x246)+util[_0x49e606(0x22f)](_0x4fa546));}return null;};function a14_0x2316(){const _0xf237fb=['isArray','all','BROWSERSTACK_RERUN_TESTS','../../helpers/puppeteer-helper','@playwright/test','../../helpers/performance/performance-tester','jasmine','BZWfL','--helper=','OnCdJ','KBAVj','33QuVNQF','../../helpers/utilities','PsyAg','JCtjQ','printBuildLink','PgJqm','maxWorkers','Hwjoy','existsSync','finalExecution','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','parseFileNames','stop','Lpepk','wNOBk','200096noCEWX','__isPlaywrightInstalled','fdPzV','afTga','winstonLogger','QtFEq','uiFEO','duBAs','MHDAq','spec_dir','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','accessibilityOptions','proxySettings','start','\x20work-item(s),\x20max\x20','HrGXk','length','mpLOz','2954106NaDZaV','utf8','resolve','validPlatformsPresent','2070240ovnnVZ','\x27\x20:\x20','HTboV','env','../utils/constants','initialize','../../helpers/helper','ESEmO','OTRqr','map','__isPuppeteerInstalled','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','filter','qHwSZ','spec_files','SdaRl','zvjNx','format','JASMINE','push','**/*[sS]pec.?(m)js','ojymy','SDK_SETUP','ZPAsb','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','config','../../helpers/logger','close','BROWSERSTACK_CLI_BIN_SESSION_ID',',\x20specs=','../../helpers/test-observability/utils','binSessionId','fYQuS','QECBh','dlHnM','info','exitCode','61366LgVbyD','cwd','p-limit','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','1047864HLzsUE','Running\x20your\x20Jasmine\x20tests\x20across\x20','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','logLevel','platformIndex','getPackageVersion','JASMINE_CONFIG_PATH','GxSmM','glob','parallelsPerPlatform','spec','jpUII','getPlatformName','capability','startsWith','../../helpers/playwright-helper','xfnpl','readFileSync','string','jasmine\x20child\x20(platformIndex=','debug','245BmSHXf','platforms','../../helpers/performance/constants','92240efsnsR','MwHbo','child_process','../v2/browserstackCLI','isUndefined','spec/support/jasmine.json','EVENTS','from','path','specArgs','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','testObservability','1608435hiVLzC','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','kUFxx','Wvcyn','HwOiN',')\x20:\x20','../../helpers/testhub/testhubHandler','true','globSync','DbDln','aVtLL','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','HhgEc','assign','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','SzggA','end','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','getInstance','useW3C','launchBuild','FRAMEWORKS','TSccU','join','find','exports','TPTjU','TIhHq','\x20concurrent)','gUMwT','\x20platform(s),\x20parallelsPerPlatform=','isCLIEnabled','error','stringify','PSwRT'];a14_0x2316=function(){return _0xf237fb;};return a14_0x2316();}async function run(_0x47601b,_0x99034a,_0xb16df){const _0x3e2609=a14_0x4e0b4d,_0x30d754={'uiFEO':function(_0x235165,_0x46c634){return _0x235165>_0x46c634;},'OTRqr':_0x3e2609(0x1ee),'PDnFR':function(_0x2ecc92,_0x3bae90){return _0x2ecc92(_0x3bae90);},'Hwjoy':function(_0x2f4554,_0x5468b0){return _0x2f4554||_0x5468b0;},'fboLe':function(_0x11f433,_0x3ac4b0){return _0x11f433(_0x3ac4b0);},'kUFxx':function(_0xb02f46,_0x4d347e){return _0xb02f46(_0x4d347e);},'fYQuS':function(_0x548811,_0x431213){return _0x548811(_0x431213);},'Lpepk':function(_0x1c627f,_0x406119){return _0x1c627f(_0x406119);},'MHDAq':function(_0x203b9e,_0x51733a,_0xf8a00b,_0x222712){return _0x203b9e(_0x51733a,_0xf8a00b,_0x222712);},'HwOiN':'npx','duBAs':_0x3e2609(0x1f3),'dlHnM':function(_0x951d00,_0x26aae2){return _0x951d00===_0x26aae2;},'aVtLL':'win32','HAbAx':'inherit','PgJqm':_0x3e2609(0x239),'TSccU':_0x3e2609(0x1ea),'TPTjU':function(_0x54e77b,_0x4faf27){return _0x54e77b(_0x4faf27);},'HTboV':_0x3e2609(0x1f1),'ojymy':function(_0x109e21){return _0x109e21();},'gUMwT':function(_0x1dcec4,_0x764738,_0x175488,_0x2f2383){return _0x1dcec4(_0x764738,_0x175488,_0x2f2383);},'PSwRT':function(_0x20b1f5,_0x1dd54d,_0x561df5,_0x33254f){return _0x20b1f5(_0x1dd54d,_0x561df5,_0x33254f);},'KBAVj':function(_0x5ea526,_0x467eac){return _0x5ea526!=_0x467eac;},'Wvcyn':_0x3e2609(0x1d0),'WYePb':function(_0x285bfe,_0x224c5a){return _0x285bfe(_0x224c5a);},'qHwSZ':function(_0x5dcb20,_0x465c16,_0x7caba0){return _0x5dcb20(_0x465c16,_0x7caba0);},'DbDln':function(_0x48a649,_0x2835c3){return _0x48a649*_0x2835c3;},'mpLOz':function(_0x12862b,_0x1fe1f0){return _0x12862b(_0x1fe1f0);},'SdaRl':'test.setup.js','FWLRw':function(_0x14d8bb,_0x23e072){return _0x14d8bb(_0x23e072);},'zvjNx':function(_0x572c0d,_0xce13f2){return _0x572c0d(_0xce13f2);},'TIhHq':function(_0x4417b1,_0x249cf2){return _0x4417b1<_0x249cf2;},'HhgEc':function(_0x30c371,_0x264522){return _0x30c371>_0x264522;},'xfnpl':function(_0x333ff4,_0x1b763a){return _0x333ff4>_0x1b763a;},'MwHbo':function(_0x10ed06,_0x1a13d8){return _0x10ed06>_0x1a13d8;},'QtFEq':function(_0x10d0e0,_0x18c596){return _0x10d0e0(_0x18c596);}},_0x12800c=helper[_0x3e2609(0x24c)](_0x30d754[_0x3e2609(0x220)]);global[_0x3e2609(0x209)]=!!_0x12800c;const _0x183fe0=_0x30d754[_0x3e2609(0x233)](getPuppeteerVersion);global[_0x3e2609(0x228)]=!!_0x183fe0;helper['isBrowserstackInfra']()&&(await _0xb16df[_0x3e2609(0x223)](_0x47601b),await helper['handleApp'](_0xb16df[_0x3e2609(0x237)]));if(_0x12800c)await _0x30d754[_0x3e2609(0x1e7)](checkPwandBootstrapCli,_0x12800c,constants[_0x3e2609(0x1df)]['JASMINE'],_0xb16df);else _0x183fe0&&await _0x30d754[_0x3e2609(0x1ec)](checkPuppeteerAndBootstrapCli,_0x183fe0,constants['FRAMEWORKS']['JASMINE'],_0xb16df);if(!_0xb16df[_0x3e2609(0x237)])return;_0x30d754[_0x3e2609(0x1f7)](_0xb16df['config'][_0x3e2609(0x1c8)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0xb16df[_0x3e2609(0x237)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x30d754[_0x3e2609(0x1cc)];!helper[_0x3e2609(0x1c1)](_0xb16df[_0x3e2609(0x237)][_0x3e2609(0x213)])&&(process[_0x3e2609(0x221)][_0x3e2609(0x1ca)]=JSON['stringify'](_0xb16df['config'][_0x3e2609(0x213)]));try{await TestHubHandler[_0x3e2609(0x1de)](FRAMEWORKS[_0x3e2609(0x230)],_0xb16df);}catch(_0x7cb5a9){logger[_0x3e2609(0x1ea)]('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x3e2609(0x22f)](_0x7cb5a9)),_0x30d754['WYePb'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x3e2609(0x22f)](_0x7cb5a9));}let _0x22061f=![],_0x24273d=[];try{_0x22061f=helper[_0x3e2609(0x1dd)](_0xb16df[_0x3e2609(0x237)]),_0x24273d=helper['prepareCapabilities'](_0xb16df[_0x3e2609(0x237)],_0x22061f,constants[_0x3e2609(0x1df)][_0x3e2609(0x230)]),process[_0x3e2609(0x221)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x3e2609(0x1eb)](_0x24273d);}catch(_0x2ae97c){_0x30d754[_0x3e2609(0x1e4)](debug,_0x3e2609(0x1d4)+util[_0x3e2609(0x22f)](_0x2ae97c));}let _0x1ec555=null,_0x595dde=![];try{_0x1ec555=helper['getHubUrl'](_0xb16df[_0x3e2609(0x237)]),_0x595dde=helper[_0x3e2609(0x21d)](_0xb16df['config']);}catch(_0x5268ef){_0x30d754[_0x3e2609(0x1cb)](debug,_0x3e2609(0x249)+util['format'](_0x5268ef));}const _0x2d7433=_0x4e03d8=>{const _0x24014b=_0x3e2609,_0x226e2e=Array[_0x24014b(0x1ed)](_0x24273d)&&_0x30d754[_0x24014b(0x20e)](_0x24273d[_0x24014b(0x218)],_0x4e03d8)?_0x24273d[_0x4e03d8]:Array['isArray'](_0x24273d)&&_0x30d754[_0x24014b(0x20e)](_0x24273d[_0x24014b(0x218)],0x0)?_0x24273d[0x0]:{};return{'server':_0x1ec555,'capability':_0x226e2e,'proxySettings':_0xb16df[_0x24014b(0x237)][_0x24014b(0x214)],'platform':helper[_0x24014b(0x1b1)](_0x226e2e),'browserStackLogLevel':_0xb16df[_0x24014b(0x237)][_0x24014b(0x24a)],'platformIndex':_0x4e03d8,'framework':constants[_0x24014b(0x1df)][_0x24014b(0x230)],'platformCaps':_0x595dde?Object[_0x24014b(0x1d6)]({'index':_0x4e03d8},_0xb16df[_0x24014b(0x237)][_0x24014b(0x1bb)][_0x4e03d8]):{'index':_0x4e03d8}};};let _0x2d304d=0x1,_0x5bd906=0x1,_0x2742a1=0x1;try{_0x2d304d=_0x30d754[_0x3e2609(0x22b)](getMaxWorkers,_0x47601b,_0xb16df[_0x3e2609(0x237)]),_0x5bd906=_0x595dde?_0xb16df['config'][_0x3e2609(0x1bb)][_0x3e2609(0x218)]:0x1,_0x2742a1=_0x30d754[_0x3e2609(0x1d2)](_0x5bd906,_0x2d304d),process[_0x3e2609(0x221)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x30d754[_0x3e2609(0x219)](String,_0x2742a1);}catch(_0x5573f4){_0x30d754[_0x3e2609(0x1cb)](debug,_0x3e2609(0x236)+util[_0x3e2609(0x22f)](_0x5573f4));}try{BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x23d)]&&(process[_0x3e2609(0x221)][_0x3e2609(0x23a)]=BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x23d)]);}catch(_0x18fc3a){_0x30d754[_0x3e2609(0x23e)](debug,_0x3e2609(0x1c7)+util[_0x3e2609(0x22f)](_0x18fc3a));}const _0x41e75d=[];try{const _0x47f380=path[_0x3e2609(0x21c)](__dirname,_0x30d754[_0x3e2609(0x22d)]);fs[_0x3e2609(0x200)](_0x47f380)?_0x41e75d[_0x3e2609(0x231)](_0x3e2609(0x1f5)+_0x47f380):_0x30d754[_0x3e2609(0x1e4)](debug,_0x3e2609(0x1d8)+_0x47f380+';\x20proceeding\x20without\x20injection');}catch(_0x750419){_0x30d754['FWLRw'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x3e2609(0x22f)](_0x750419));}const _0x109084=_0x99034a['slice'](0x1),_0x2a99f1=_0x30d754[_0x3e2609(0x22e)](enumerateSpecFiles,_0x99034a),_0x36c551=[];for(let _0x427ad9=0x0;_0x30d754[_0x3e2609(0x1e5)](_0x427ad9,_0x5bd906);_0x427ad9++){if(_0x30d754[_0x3e2609(0x1d5)](_0x2d304d,0x1)&&Array[_0x3e2609(0x1ed)](_0x2a99f1)&&_0x30d754[_0x3e2609(0x1b5)](_0x2a99f1[_0x3e2609(0x218)],0x0))for(const _0x2acf96 of _0x2a99f1){const _0x55eaef={};_0x55eaef['platformIndex']=_0x427ad9,_0x55eaef['specArgs']=[_0x2acf96],_0x36c551[_0x3e2609(0x231)](_0x55eaef);}else{const _0x4a6ead={};_0x4a6ead['platformIndex']=_0x427ad9,_0x4a6ead['specArgs']=_0x2a99f1,_0x36c551['push'](_0x4a6ead);}}logger[_0x3e2609(0x241)](_0x3e2609(0x248)+_0x5bd906+_0x3e2609(0x1e8)+_0x2d304d+'\x20('+_0x36c551['length']+_0x3e2609(0x216)+_0x2742a1+_0x3e2609(0x1e6)),PerformanceTester[_0x3e2609(0x1da)](PerformanceEvents[_0x3e2609(0x234)]);const _0x4b2be4=_0xef45f=>new Promise(_0x2cb6f2=>{const _0x5e0905=_0x3e2609,_0x3670b9={'PsyAg':function(_0x4a9784,_0x248343){return _0x30d754['fboLe'](_0x4a9784,_0x248343);},'yJNAX':function(_0x2bc0a9,_0x5f1cbc){const _0x2c81fb=a14_0x16b0;return _0x30d754[_0x2c81fb(0x1cb)](_0x2bc0a9,_0x5f1cbc);}};let _0x3df4d9;try{const _0x3aa8b0=_0x30d754['fYQuS'](_0x2d7433,_0xef45f['platformIndex']);_0x3df4d9=Object[_0x5e0905(0x1d6)]({},process[_0x5e0905(0x221)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5e0905(0x1eb)](_0x3aa8b0),'BROWSERSTACK_CAPABILITIES':JSON[_0x5e0905(0x1eb)]([_0x3aa8b0[_0x5e0905(0x1b2)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x194dda){_0x30d754[_0x5e0905(0x206)](debug,_0x5e0905(0x229)+_0xef45f[_0x5e0905(0x24b)]+'\x20:\x20'+util['format'](_0x194dda)),_0x3df4d9=Object[_0x5e0905(0x1d6)]({},process[_0x5e0905(0x221)]);}const _0x461080=Array[_0x5e0905(0x1ed)](_0xef45f[_0x5e0905(0x1c6)])?_0xef45f[_0x5e0905(0x1c6)]:[],_0x49f402=_0x30d754[_0x5e0905(0x20e)](_0x461080[_0x5e0905(0x218)],0x0)?_0x109084[_0x5e0905(0x22a)](_0x5acf48=>typeof _0x5acf48===_0x5e0905(0x1b7)&&_0x5acf48[_0x5e0905(0x1b3)]('-')):_0x109084,_0x2489f1=[..._0x41e75d,..._0x49f402,..._0x461080];try{const _0xef3d15=_0x30d754[_0x5e0905(0x210)](spawn,_0x30d754[_0x5e0905(0x1cd)],[_0x30d754[_0x5e0905(0x20f)],..._0x2489f1],{'shell':_0x30d754[_0x5e0905(0x240)](process['platform'],_0x30d754[_0x5e0905(0x1d3)]),'stdio':_0x30d754['HAbAx'],'env':_0x3df4d9});_0xef3d15['on'](_0x30d754[_0x5e0905(0x1fd)],_0x2bce8d=>{const _0x31d0bb=_0x5e0905;logger[_0x31d0bb(0x1b9)](_0x31d0bb(0x1b8)+_0xef45f[_0x31d0bb(0x24b)]+_0x31d0bb(0x23b)+(_0x461080[_0x31d0bb(0x218)]?_0x461080[_0x31d0bb(0x1e1)](','):_0x30d754[_0x31d0bb(0x226)])+')\x20exited\x20with\x20code\x20'+_0x2bce8d),_0x30d754['PDnFR'](_0x2cb6f2,_0x30d754[_0x31d0bb(0x1ff)](_0x2bce8d,0x0));}),_0xef3d15['on'](_0x30d754[_0x5e0905(0x1e0)],_0x67fbba=>{const _0x5b9098=_0x5e0905;_0x3670b9[_0x5b9098(0x1fa)](debug,_0x5b9098(0x212)+_0xef45f['platformIndex']+_0x5b9098(0x1ce)+util[_0x5b9098(0x22f)](_0x67fbba)),_0x3670b9['yJNAX'](_0x2cb6f2,0x1);});}catch(_0x4a0c97){_0x30d754[_0x5e0905(0x23e)](debug,_0x5e0905(0x203)+_0xef45f[_0x5e0905(0x24b)]+_0x5e0905(0x1ce)+util[_0x5e0905(0x22f)](_0x4a0c97)),_0x30d754['TPTjU'](_0x2cb6f2,0x1);}}),_0x39a2d8=_0x30d754[_0x3e2609(0x219)](pLimit,_0x30d754[_0x3e2609(0x1be)](_0x2742a1,0x0)?_0x2742a1:0x1),_0x4349d6=await Promise[_0x3e2609(0x1ee)](_0x36c551['map'](_0x45af53=>_0x39a2d8(()=>_0x4b2be4(_0x45af53))));PerformanceTester[_0x3e2609(0x215)](PerformanceEvents['SDK_CLEANUP']);const _0x198833=_0x4349d6[_0x3e2609(0x1e2)](_0x1e891c=>_0x1e891c!==0x0)||0x0;process[_0x3e2609(0x242)]=_0x198833,logger[_0x3e2609(0x1b9)](_0x3e2609(0x1db)+_0x198833);const _0x1e5cb1=BrowserstackCLI[_0x3e2609(0x1e9)]();try{await TestHubHandler[_0x3e2609(0x205)](),await BrowserstackCLI[_0x3e2609(0x1dc)]()[_0x3e2609(0x205)]();}catch(_0x57c3ec){_0x30d754[_0x3e2609(0x20d)](debug,_0x3e2609(0x202)+util['format'](_0x57c3ec));}testOpsHelper[_0x3e2609(0x1fc)](),await utilities[_0x3e2609(0x201)](_0xb16df,_0x1e5cb1);}function a14_0x16b0(_0x3d7fba,_0x1fee54){const _0x231681=a14_0x2316();return a14_0x16b0=function(_0x16b001,_0x4313e7){_0x16b001=_0x16b001-0x1af;let _0x9e6a99=_0x231681[_0x16b001];return _0x9e6a99;},a14_0x16b0(_0x3d7fba,_0x1fee54);}module[a14_0x4e0b4d(0x1e3)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a16_0x28a1f4=a16_0x280f;(function(_0x1fd5b2,_0x31e24d){const _0xe0c33a=a16_0x280f,_0x293d7=_0x1fd5b2();while(!![]){try{const _0x27c649=-parseInt(_0xe0c33a(0x120))/0x1+-parseInt(_0xe0c33a(0x17e))/0x2+-parseInt(_0xe0c33a(0x191))/0x3*(parseInt(_0xe0c33a(0x123))/0x4)+-parseInt(_0xe0c33a(0x14d))/0x5*(parseInt(_0xe0c33a(0x19c))/0x6)+-parseInt(_0xe0c33a(0x14b))/0x7*(-parseInt(_0xe0c33a(0x15c))/0x8)+-parseInt(_0xe0c33a(0x17f))/0x9+parseInt(_0xe0c33a(0x160))/0xa;if(_0x27c649===_0x31e24d)break;else _0x293d7['push'](_0x293d7['shift']());}catch(_0x5eba46){_0x293d7['push'](_0x293d7['shift']());}}}(a16_0x316a,0xb1907));const util=require('util'),logger=require(a16_0x28a1f4(0x12c))[a16_0x28a1f4(0x13b)],helper=require(a16_0x28a1f4(0x13d)),globals=require(a16_0x28a1f4(0x179)),{shouldProcessEventForTesthub}=require(a16_0x28a1f4(0x178)),testHubConstants=require(a16_0x28a1f4(0x11c)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x28a1f4(0x132)),accessibilityRetryHelper=require(a16_0x28a1f4(0x152)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;function a16_0x280f(_0x5644ab,_0x42275f){const _0x316aae=a16_0x316a();return a16_0x280f=function(_0x280fd7,_0x4c91dc){_0x280fd7=_0x280fd7-0x119;let _0x48ea37=_0x316aae[_0x280fd7];return _0x48ea37;},a16_0x280f(_0x5644ab,_0x42275f);}try{const rawConfig=process['env'][a16_0x28a1f4(0x190)]||process[a16_0x28a1f4(0x17a)][a16_0x28a1f4(0x14c)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x2ae383){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x168)+util[a16_0x28a1f4(0x16d)](a16_0x2ae383));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x28a1f4(0x183))){const GXWREf=a16_0x28a1f4(0x12a)[a16_0x28a1f4(0x154)]('|');let Rtzrhl=0x0;while(!![]){switch(GXWREf[Rtzrhl++]){case'0':global['browserstackPlatformIndex']=_bstackConfig[a16_0x28a1f4(0x143)];continue;case'1':helper[a16_0x28a1f4(0x14f)]()?(global['__skipSessionName']=helper[a16_0x28a1f4(0x1a1)](_bstackConfig[a16_0x28a1f4(0x157)]),global[a16_0x28a1f4(0x196)]=helper['isTrue'](_bstackConfig[a16_0x28a1f4(0x173)])):(global[a16_0x28a1f4(0x13f)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':shouldProcessEventForTesthub()?require('../../index')[a16_0x28a1f4(0x11e)](_bstackConfig,null,!![]):require(a16_0x28a1f4(0x11f))['browserstackAgentV2'](_bstackConfig);continue;case'3':logger['debug'](a16_0x28a1f4(0x136));continue;case'4':global[a16_0x28a1f4(0x12d)]=_bstackConfig[a16_0x28a1f4(0x165)]||{};continue;}break;}}}catch(a16_0x16851b){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x189)+util['format'](a16_0x16851b));}const _fileNameByFullName={};try{if(typeof describe===a16_0x28a1f4(0x155)&&typeof global!==a16_0x28a1f4(0x16c)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x5c9aef=a16_0x28a1f4,_0x3debd6={'ckAkk':function(_0x96d44e,_0x1e7c5c){return _0x96d44e(_0x1e7c5c);},'ygcia':_0x5c9aef(0x148),'cpwpO':function(_0x5d6263,_0x442bec){return _0x5d6263(_0x442bec);},'vRCJB':'node:','QzLbx':_0x5c9aef(0x153)},_0x2c4110=Error[_0x5c9aef(0x15e)];try{const _0x11e1fd=new Error();Error[_0x5c9aef(0x15e)]=(_0x312a1d,_0x47684a)=>_0x47684a;const _0x4d1320=_0x11e1fd[_0x5c9aef(0x16b)];Error['prepareStackTrace']=_0x2c4110;if(Array[_0x5c9aef(0x119)](_0x4d1320))for(const _0x545b6b of _0x4d1320){const _0x11c940=_0x545b6b[_0x5c9aef(0x18e)]&&_0x545b6b[_0x5c9aef(0x18e)]();if(_0x11c940&&!_0x11c940[_0x5c9aef(0x1a0)]('bin'+_0x3debd6[_0x5c9aef(0x13e)](require,_0x3debd6[_0x5c9aef(0x15b)])[_0x5c9aef(0x198)]+_0x5c9aef(0x17c)+_0x3debd6[_0x5c9aef(0x164)](require,_0x3debd6[_0x5c9aef(0x15b)])[_0x5c9aef(0x198)])&&!_0x11c940[_0x5c9aef(0x134)](_0x3debd6[_0x5c9aef(0x159)])&&!_0x11c940[_0x5c9aef(0x1a0)](_0x3debd6['QzLbx']))return _0x11c940;}}catch(_0x424150){Error[_0x5c9aef(0x15e)]=_0x2c4110;}return null;},_wrappedDescribe=function(_0x572abe,_0xfb2559){const _0x57fac7=a16_0x28a1f4,_0x39bf37={'FvPKw':function(_0x180cde){return _0x180cde();},'clkRR':function(_0x471071,_0x42e32f){return _0x471071&&_0x42e32f;},'FcVNG':function(_0x144ef8,_0x117a3d,_0x433b1e){return _0x144ef8(_0x117a3d,_0x433b1e);}};let _0x3ac286=null;try{_0x3ac286=_0x39bf37[_0x57fac7(0x170)](_resolveCallerFile);}catch(_0x46a278){}_describeTitleStack[_0x57fac7(0x17b)](_0x572abe);const _0x3159a8=_describeTitleStack['join']('\x20');_0x39bf37['clkRR'](_0x3ac286,_0x3159a8)&&(_fileNameByFullName[_0x3159a8]=_0x3ac286);try{return _0x39bf37['FcVNG'](_origDescribe,_0x572abe,_0xfb2559);}finally{_describeTitleStack['pop']();}};Object[a16_0x28a1f4(0x19a)](_origDescribe)[a16_0x28a1f4(0x18c)](_0x492870=>{_wrappedDescribe[_0x492870]=_origDescribe[_0x492870];}),global[a16_0x28a1f4(0x161)]=_wrappedDescribe;}}catch(a16_0x390723){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x17d)+util[a16_0x28a1f4(0x16d)](a16_0x390723));}try{if(typeof jasmine!==a16_0x28a1f4(0x16c)&&jasmine[a16_0x28a1f4(0x127)]){const BrowserStackJasmineReporter=require('./bstack-reporter/customReporter'),a16_0x2beb0f={};a16_0x2beb0f[a16_0x28a1f4(0x193)]=_fileNameByFullName,jasmine[a16_0x28a1f4(0x127)]()[a16_0x28a1f4(0x11b)](new BrowserStackJasmineReporter(a16_0x2beb0f)),logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x140));}else logger[a16_0x28a1f4(0x18a)]('[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered');}catch(a16_0x5e59c8){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x129)+util[a16_0x28a1f4(0x16d)](a16_0x5e59c8));}function a16_0x316a(){const _0x5715b2=['__sessionFailed','startsWith','jjyXH','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','passed','yBttq','qAMvE','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','winstonLogger','performScanWithRetry','../../helpers/helper','ckAkk','__skipSessionName','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','edCVw','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','platformIndex','thTestRunUuid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','ENV_VAR','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','path','is_mobile_session','autoScanning','1635151sQOJlT','CONFIG','7750ssITfx','error','isBrowserstackInfra','Spec\x20failed','sessionNameSet__','../../helpers/accessibility-automation/accessibilityRetryHelper','jasmine-core','split','function','RblOv','skipSessionName','BROWSERSTACK_TESTHUB_JWT','vRCJB','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','ygcia','24JpGUsI','kWIKM','prepareStackTrace','failedExpectations','34397740SIcMfU','describe','nGOcG','get','cpwpO','platformCaps','thBuildUuid','DlxTe','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','KZerx','stack','undefined','format','spqVq','bxbYZ','FvPKw','mfXyd','exports','skipSessionStatus','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','isMobilePlatform','rJTjM','length','../../helpers/testhub/utils','../../helpers/globals','env','push','jasmine','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','723050sDVwld','2541708gNDbvZ','MIWkP','BgTfD','message','@playwright/test','miiou','bstackA11yScanOptions','qrHdP',',\x22level\x22:\x20\x22','BROWSERSTACK_TESTHUB_UUID','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','debug','failed','forEach','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','getFileName','wfAYl','BROWSERSTACK_JASMINE_CONFIG','2853969jZHdfE','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','fileNameByFullName','VBOju','Passed','__skipSessionStatus','Failed:\x20','sep','stringify','keys','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','4326wRGofn','eVevd','thJwtToken','executeScript','includes','isTrue','isArray','getGlobal','addReporter','../../helpers/testhub/constants','setGlobal','browserstackAgentV2','../../index','700440UxeSQn','__drivers','zsMuH','4pyVtuA','parse','NwnvR','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','getEnv','\x22}}','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','3|2|4|0|1','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','../../helpers/logger','__platformCaps','zeWPc','WhDxf','warn','markSessionStatus','../../helpers/accessibility-automation/helper'];a16_0x316a=function(){return _0x5715b2;};return a16_0x316a();}try{typeof jasmine!==a16_0x28a1f4(0x16c)&&jasmine['getEnv']&&jasmine[a16_0x28a1f4(0x127)]()['addReporter']({'specStarted'(_0x13fdb4){const _0x465544=a16_0x28a1f4,_0x530bf3={};_0x530bf3['jjyXH']=function(_0x2e7916,_0x37f46d){return _0x2e7916||_0x37f46d;};const _0x290c1a=_0x530bf3;_activeResultId=_0x13fdb4&&_0x13fdb4['id'],_activeFullName=_0x13fdb4&&_0x13fdb4['fullName'],_activeResultRef=_0x290c1a[_0x465544(0x135)](_0x13fdb4,null);},'specDone'(){}});}catch(a16_0xa4b287){logger[a16_0x28a1f4(0x18a)](a16_0x28a1f4(0x169)+util[a16_0x28a1f4(0x16d)](a16_0xa4b287));}const _resolveAutoScanning=()=>{const _0x3934bf=a16_0x28a1f4,_0x573745={};_0x573745[_0x3934bf(0x184)]=function(_0x9837f0,_0x9295ac){return _0x9837f0===_0x9295ac;};const _0x3d26d0=_0x573745;let _0x23b4ac=!![];try{const _0x548604=JSON[_0x3934bf(0x124)](process[_0x3934bf(0x17a)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x3d26d0[_0x3934bf(0x184)](_0x548604[_0x3934bf(0x14a)],![])&&(_0x23b4ac=![]);}catch(_0x252153){logger[_0x3934bf(0x18a)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x252153[_0x3934bf(0x182)]);}return _0x23b4ac;};try{typeof beforeEach===a16_0x28a1f4(0x155)&&beforeEach(function bstackA11yBeforeEach(){const _0x484cf2=a16_0x28a1f4,_0x5d9158={'WhDxf':function(_0x3f6600){return _0x3f6600();},'eVevd':function(_0x268c6d,_0x212a45,_0x8a039){return _0x268c6d(_0x212a45,_0x8a039);},'KZerx':function(_0x5600fa,_0x56e02d){return _0x5600fa&&_0x56e02d;},'RblOv':'bstackA11yShouldScan','yBttq':_0x484cf2(0x185)};try{const _0x2e5217=_0x5d9158[_0x484cf2(0x12f)](_resolveAutoScanning),_0x2d8fe5=_0x5d9158[_0x484cf2(0x19d)](shouldScanTestForAccessibility,null,![]),_0x31a9fc=_0x5d9158[_0x484cf2(0x16a)](_0x2e5217,_0x2d8fe5);globals['setGlobal'](_0x5d9158[_0x484cf2(0x156)],_0x31a9fc),globals[_0x484cf2(0x11d)](_0x5d9158[_0x484cf2(0x138)],null);}catch(_0x2d8b30){logger[_0x484cf2(0x18a)](_0x484cf2(0x15a)+util[_0x484cf2(0x16d)](_0x2d8b30));}}),typeof afterEach===a16_0x28a1f4(0x155)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x3e9814=a16_0x28a1f4,_0x3a83df={'mfXyd':function(_0x497da7,_0x28f521){return _0x497da7>_0x28f521;},'zsMuH':_0x3e9814(0x150),'nGOcG':function(_0x3619cb,_0x584123){return _0x3619cb+_0x584123;},'kFZNQ':_0x3e9814(0x197),'spqVq':_0x3e9814(0x195),'bxbYZ':_0x3e9814(0x14e),'qrHdP':'info','VBOju':_0x3e9814(0x18b),'BgTfD':_0x3e9814(0x137),'qAMvE':function(_0x24a844){return _0x24a844();},'MIWkP':'isAccessibilityPlatform','wfAYl':function(_0x1cb03e,_0x380738){return _0x1cb03e>_0x380738;},'flYyX':'bstackA11yShouldScan','edCVw':_0x3e9814(0x126),'rJTjM':_0x3e9814(0x19b),'kLFDd':_0x3e9814(0x18d),'NwnvR':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','DlxTe':_0x3e9814(0x175),'zeWPc':'[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','kWIKM':_0x3e9814(0x174)};try{if(Array['isArray'](global[_0x3e9814(0x121)])&&_0x3a83df[_0x3e9814(0x171)](global['__drivers'][_0x3e9814(0x177)],0x0)&&global[_0x3e9814(0x121)][0x0]){const _0x3edf7c=_activeFullName||global['sessionName'];if(!global[_0x3e9814(0x13f)]&&_0x3edf7c){global['sessionName']=_0x3edf7c;try{await global['__drivers'][0x0][_0x3e9814(0x19f)](_0x3e9814(0x192)+JSON[_0x3e9814(0x199)](_0x3edf7c)+'}}'),global[_0x3e9814(0x121)][0x0][_0x3e9814(0x151)]=!![];}catch(_0x4e7c9c){logger[_0x3e9814(0x18a)](_0x3e9814(0x12b)+util[_0x3e9814(0x16d)](_0x4e7c9c));}}if(!global[_0x3e9814(0x196)])try{const _0x4a6527=_activeResultRef&&Array['isArray'](_activeResultRef['failedExpectations'])?_activeResultRef[_0x3e9814(0x15f)]:[],_0x6cb666=_0x3a83df[_0x3e9814(0x171)](_0x4a6527['length'],0x0),_0x1abb8c=_0x6cb666?_0x4a6527[0x0]&&_0x4a6527[0x0]['message']||_0x3a83df[_0x3e9814(0x122)]:null;try{await global[_0x3e9814(0x121)][0x0][_0x3e9814(0x19f)](_0x3e9814(0x145)+JSON['stringify'](_0x6cb666?_0x3a83df[_0x3e9814(0x162)](_0x3a83df['kFZNQ'],_0x1abb8c):_0x3a83df[_0x3e9814(0x16e)])+_0x3e9814(0x187)+(_0x6cb666?_0x3a83df[_0x3e9814(0x16f)]:_0x3a83df[_0x3e9814(0x186)])+_0x3e9814(0x128));}catch(_0x329841){logger['debug'](_0x3e9814(0x147)+util[_0x3e9814(0x16d)](_0x329841));}_0x6cb666&&(global[_0x3e9814(0x133)]=!![]),await helper[_0x3e9814(0x131)](global[_0x3e9814(0x121)][0x0],_0x6cb666?_0x3a83df[_0x3e9814(0x194)]:_0x3a83df[_0x3e9814(0x181)],_0x1abb8c);}catch(_0x3f51ab){logger['debug'](_0x3e9814(0x13a)+util[_0x3e9814(0x16d)](_0x3f51ab));}}}catch(_0xfd79c2){logger[_0x3e9814(0x18a)](_0x3e9814(0x142)+util[_0x3e9814(0x16d)](_0xfd79c2));}try{if(_0x3a83df[_0x3e9814(0x139)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0x3a83df[_0x3e9814(0x180)])&&Array[_0x3e9814(0x119)](global[_0x3e9814(0x121)])&&_0x3a83df[_0x3e9814(0x18f)](global['__drivers'][_0x3e9814(0x177)],0x0)&&global[_0x3e9814(0x121)][0x0]){const _0x11e06e=testRunMap[_0x3e9814(0x163)](_activeResultId),_0x16d5be={};_0x16d5be[_0x3e9814(0x144)]=_0x11e06e,_0x16d5be[_0x3e9814(0x166)]=process[_0x3e9814(0x17a)][testHubConstants[_0x3e9814(0x146)][_0x3e9814(0x188)]],_0x16d5be[_0x3e9814(0x19e)]=process['env'][testHubConstants[_0x3e9814(0x146)][_0x3e9814(0x158)]];const _0x2e6ebc=_0x16d5be;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x3e9814(0x199)](_0x2e6ebc));if(globals['getGlobal'](_0x3a83df['flYyX'])){logger['debug'](_0x3a83df[_0x3e9814(0x141)]);const _0x4263a7=await accessibilityRetryHelper[_0x3e9814(0x13c)](global[_0x3e9814(0x121)][0x0],global['browserstackSessionName']);_0x4263a7?logger[_0x3e9814(0x18a)](_0x3a83df[_0x3e9814(0x176)]):logger[_0x3e9814(0x130)](_0x3a83df['kLFDd']);}else logger[_0x3e9814(0x18a)](_0x3a83df[_0x3e9814(0x125)]);globals[_0x3e9814(0x11a)](_0x3a83df[_0x3e9814(0x167)])&&(_0x2e6ebc[_0x3e9814(0x149)]=!![]);const _0xe1f850=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global[_0x3e9814(0x121)][0x0],_0x2e6ebc);_0xe1f850?logger['debug'](_0x3a83df[_0x3e9814(0x12e)]):logger[_0x3e9814(0x130)](_0x3a83df[_0x3e9814(0x15d)]);}}catch(_0x5516fe){logger[_0x3e9814(0x14e)]('[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20'+util[_0x3e9814(0x16d)](_0x5516fe));}});}catch(a16_0x2e37fd){logger[a16_0x28a1f4(0x18a)]('[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20'+util[a16_0x28a1f4(0x16d)](a16_0x2e37fd));}module[a16_0x28a1f4(0x172)]={};
|
|
1
|
+
'use strict';const a15_0x3279ff=a15_0x504d;function a15_0x4020(){const _0x1959da=['1|2|4|3|0','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','isAccessibilityPlatform','vMtFU','undefined','mVICW','executeScript','debug','env','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','yjxRU','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','length','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','2294514eLLLLo','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','./testRunMap','browserstackSessionName','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ygvOi','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','browserstackAgentV2','frSdl','460265ZSeSmE','info','failedExpectations','wWKcE','isMobilePlatform','Failed:\x20','get','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','__skipSessionName','QkCSQ','eSWPB','autoScanning','startsWith','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../index','ZLrJz','nBLYt','error','getFileName','../../helpers/accessibility-automation/helper','isBrowserstackInfra','\x22}}','sessionNameSet__','stringify','passed','warn','DQTXs','3qORAOd','describe','keys','browserstackPlatformIndex','__skipSessionStatus','../../helpers/testhub/utils','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','IINWY','pop','6416Yqpnsi','fullName','2961468XjbVcj','forEach','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','format','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','Spec\x20failed','addReporter','isArray','failed','saveAccessibilityResultsWithRetry','join','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','message','prepareStackTrace','../../helpers/globals','ENV_VAR','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','is_mobile_session','../../helpers/helper','xzwNY','BROWSERSTACK_TESTHUB_JWT','EUBWW','bstackA11yScanOptions','cCoxX','util','sep','Passed','qBKRv','skipSessionName','tzMdp','jasmine-core','./bstack-reporter/customReporter','setGlobal','pGRdv','mLpLH','skipSessionStatus','includes','159057BePyRB','7865890fQdasI','thJwtToken','../../helpers/testhub/constants','rDrjw','exports','fileNameByFullName','path','getEnv','121678InxyyD','isTrue','2779uSbwIR','bin','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','qxRCf','dIFQC','__drivers','4HnVHVm','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','parse','getPackageVersion','sessionName','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','OqAwL','uREdz','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','bstackA11yShouldScan','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','getGlobal','YQGXm','split'];a15_0x4020=function(){return _0x1959da;};return a15_0x4020();}(function(_0x359401,_0xc1fd07){const _0x27eff7=a15_0x504d,_0x276069=_0x359401();while(!![]){try{const _0x420645=parseInt(_0x27eff7(0xf9))/0x1+parseInt(_0x27eff7(0x7f))/0x2*(-parseInt(_0x27eff7(0xc8))/0x3)+parseInt(_0x27eff7(0x87))/0x4*(-parseInt(_0x27eff7(0xad))/0x5)+parseInt(_0x27eff7(0xd4))/0x6+parseInt(_0x27eff7(0x81))/0x7*(parseInt(_0x27eff7(0xd2))/0x8)+parseInt(_0x27eff7(0xa4))/0x9+-parseInt(_0x27eff7(0xfa))/0xa;if(_0x420645===_0xc1fd07)break;else _0x276069['push'](_0x276069['shift']());}catch(_0x53e9ba){_0x276069['push'](_0x276069['shift']());}}}(a15_0x4020,0x45f1e));const util=require(a15_0x3279ff(0xec)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0x3279ff(0xe6)),globals=require(a15_0x3279ff(0xe2)),{shouldProcessEventForTesthub}=require(a15_0x3279ff(0xcd)),testHubConstants=require(a15_0x3279ff(0xfc)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0x3279ff(0xc0)),accessibilityRetryHelper=require('../../helpers/accessibility-automation/accessibilityRetryHelper'),testRunMap=require(a15_0x3279ff(0xa6));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x3279ff(0x9e)]['BROWSERSTACK_JASMINE_CONFIG']||process[a15_0x3279ff(0x9e)]['CONFIG'];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x3279ff(0x89)](rawConfig));}catch(a15_0x5dff9a){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x83)+util[a15_0x3279ff(0xd7)](a15_0x5dff9a));}try{if(_bstackConfig&&!helper[a15_0x3279ff(0x8a)]('@playwright/test')){const uJYnWa=a15_0x3279ff(0x95)[a15_0x3279ff(0x94)]('|');let lglqzr=0x0;while(!![]){switch(uJYnWa[lglqzr++]){case'0':helper[a15_0x3279ff(0xc1)]()?(global[a15_0x3279ff(0xb5)]=helper[a15_0x3279ff(0x80)](_bstackConfig[a15_0x3279ff(0xf0)]),global[a15_0x3279ff(0xcc)]=helper['isTrue'](_bstackConfig[a15_0x3279ff(0xf7)])):(global[a15_0x3279ff(0xb5)]=!![],global[a15_0x3279ff(0xcc)]=!![]);continue;case'1':logger[a15_0x3279ff(0x9d)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'2':shouldProcessEventForTesthub()?require(a15_0x3279ff(0xbb))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a15_0x3279ff(0xbb))[a15_0x3279ff(0xab)](_bstackConfig);continue;case'3':global[a15_0x3279ff(0xcb)]=_bstackConfig['platformIndex'];continue;case'4':global['__platformCaps']=_bstackConfig['platformCaps']||{};continue;}break;}}}catch(a15_0x36adea){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xce)+util[a15_0x3279ff(0xd7)](a15_0x36adea));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!==a15_0x3279ff(0x9a)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x56e842=a15_0x3279ff,_0x43b721={'PRELG':function(_0x5e63ea,_0x3195e6){return _0x5e63ea(_0x3195e6);},'uREdz':_0x56e842(0x7d),'yjxRU':function(_0x40c62d,_0x38beca){return _0x40c62d(_0x38beca);},'uitYz':'node:','frSdl':_0x56e842(0xf2)},_0x84ae4b=Error[_0x56e842(0xe1)];try{const _0x331605=new Error();Error[_0x56e842(0xe1)]=(_0x5e1849,_0x50f7e0)=>_0x50f7e0;const _0x13a265=_0x331605['stack'];Error[_0x56e842(0xe1)]=_0x84ae4b;if(Array['isArray'](_0x13a265))for(const _0xece438 of _0x13a265){const _0x4e355c=_0xece438[_0x56e842(0xbf)]&&_0xece438['getFileName']();if(_0x4e355c&&!_0x4e355c[_0x56e842(0xf8)](_0x56e842(0x82)+_0x43b721['PRELG'](require,_0x43b721[_0x56e842(0x8e)])[_0x56e842(0xed)]+'jasmine'+_0x43b721[_0x56e842(0xa0)](require,_0x43b721[_0x56e842(0x8e)])['sep'])&&!_0x4e355c[_0x56e842(0xb9)](_0x43b721['uitYz'])&&!_0x4e355c[_0x56e842(0xf8)](_0x43b721[_0x56e842(0xac)]))return _0x4e355c;}}catch(_0x4c08d6){Error[_0x56e842(0xe1)]=_0x84ae4b;}return null;},_wrappedDescribe=function(_0x216c78,_0x596dae){const _0x8743a4=a15_0x3279ff,_0x2bb4c4={'rDrjw':function(_0x3fcb0c){return _0x3fcb0c();},'UZZOH':function(_0x39401a,_0x5562a3){return _0x39401a&&_0x5562a3;},'qBKRv':function(_0x435217,_0x38b96d,_0x13158d){return _0x435217(_0x38b96d,_0x13158d);}};let _0x319f67=null;try{_0x319f67=_0x2bb4c4[_0x8743a4(0xfd)](_resolveCallerFile);}catch(_0x1ecdc6){}_describeTitleStack['push'](_0x216c78);const _0x36242b=_describeTitleStack[_0x8743a4(0xde)]('\x20');_0x2bb4c4['UZZOH'](_0x319f67,_0x36242b)&&(_fileNameByFullName[_0x36242b]=_0x319f67);try{return _0x2bb4c4[_0x8743a4(0xef)](_origDescribe,_0x216c78,_0x596dae);}finally{_describeTitleStack[_0x8743a4(0xd1)]();}};Object[a15_0x3279ff(0xca)](_origDescribe)[a15_0x3279ff(0xd5)](_0x441a52=>{_wrappedDescribe[_0x441a52]=_origDescribe[_0x441a52];}),global[a15_0x3279ff(0xc9)]=_wrappedDescribe;}}catch(a15_0x247560){logger['debug'](a15_0x3279ff(0xd8)+util[a15_0x3279ff(0xd7)](a15_0x247560));}try{if(typeof jasmine!==a15_0x3279ff(0x9a)&&jasmine[a15_0x3279ff(0x7e)]){const BrowserStackJasmineReporter=require(a15_0x3279ff(0xf3)),a15_0x11cb88={};a15_0x11cb88[a15_0x3279ff(0x7c)]=_fileNameByFullName,jasmine[a15_0x3279ff(0x7e)]()[a15_0x3279ff(0xda)](new BrowserStackJasmineReporter(a15_0x11cb88)),logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xa5));}else logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x9f));}catch(a15_0x479601){logger[a15_0x3279ff(0x9d)]('[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20'+util[a15_0x3279ff(0xd7)](a15_0x479601));}function a15_0x504d(_0x25c60c,_0x4f4c4a){const _0x4020c8=a15_0x4020();return a15_0x504d=function(_0x504d2f,_0x946f5a){_0x504d2f=_0x504d2f-0x7c;let _0x5b4daf=_0x4020c8[_0x504d2f];return _0x5b4daf;},a15_0x504d(_0x25c60c,_0x4f4c4a);}try{typeof jasmine!==a15_0x3279ff(0x9a)&&jasmine[a15_0x3279ff(0x7e)]&&jasmine['getEnv']()[a15_0x3279ff(0xda)]({'specStarted'(_0x46a685){const _0x342747=a15_0x3279ff,_0x26def0={};_0x26def0['ygvOi']=function(_0x499e1d,_0x1fc2a8){return _0x499e1d||_0x1fc2a8;};const _0x206ca4=_0x26def0;_activeResultId=_0x46a685&&_0x46a685['id'],_activeFullName=_0x46a685&&_0x46a685[_0x342747(0xd3)],_activeResultRef=_0x206ca4[_0x342747(0xa9)](_0x46a685,null);},'specDone'(){}});}catch(a15_0x43faa5){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0x96)+util[a15_0x3279ff(0xd7)](a15_0x43faa5));}const _resolveAutoScanning=()=>{const _0x15d916=a15_0x3279ff,_0x1e42cb={};_0x1e42cb['vMtFU']=function(_0x1e76c7,_0xc468b3){return _0x1e76c7===_0xc468b3;};const _0x3dc0b8=_0x1e42cb;let _0x1029c5=!![];try{const _0x5ae005=JSON[_0x15d916(0x89)](process[_0x15d916(0x9e)][_0x15d916(0x91)]||'{}');_0x3dc0b8[_0x15d916(0x99)](_0x5ae005[_0x15d916(0xb8)],![])&&(_0x1029c5=![]);}catch(_0x2e27b2){logger['debug'](_0x15d916(0x97)+_0x2e27b2['message']);}return _0x1029c5;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x49ea4b=a15_0x3279ff,_0x516e09={'SdOVj':function(_0x40273e){return _0x40273e();},'ysyIS':function(_0x9f149e,_0x15db77,_0x2a8e8e){return _0x9f149e(_0x15db77,_0x2a8e8e);},'pGRdv':function(_0x584ade,_0xd8717b){return _0x584ade&&_0xd8717b;},'wWKcE':_0x49ea4b(0x90),'YQGXm':_0x49ea4b(0xea)};try{const _0x4709f1=_0x516e09['SdOVj'](_resolveAutoScanning),_0x302948=_0x516e09['ysyIS'](shouldScanTestForAccessibility,null,![]),_0x3e0cae=_0x516e09[_0x49ea4b(0xf5)](_0x4709f1,_0x302948);globals['setGlobal'](_0x516e09[_0x49ea4b(0xb0)],_0x3e0cae),globals[_0x49ea4b(0xf4)](_0x516e09[_0x49ea4b(0x93)],null);}catch(_0x611d86){logger['debug'](_0x49ea4b(0x88)+util[_0x49ea4b(0xd7)](_0x611d86));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x4d78ea=a15_0x3279ff,_0x25513d={'DQTXs':function(_0x4adfa9,_0xf903b1){return _0x4adfa9>_0xf903b1;},'aKpHy':function(_0x132087,_0x235fad){return _0x132087>_0x235fad;},'cCoxX':_0x4d78ea(0xd9),'OqAwL':function(_0x1fabe7,_0x12177d){return _0x1fabe7+_0x12177d;},'mVICW':_0x4d78ea(0xb2),'dIFQC':_0x4d78ea(0xee),'eSWPB':_0x4d78ea(0xbe),'nBLYt':_0x4d78ea(0xae),'tzMdp':_0x4d78ea(0xdc),'xzwNY':_0x4d78ea(0xc5),'qxRCf':function(_0x4550c7){return _0x4550c7();},'FZDXz':_0x4d78ea(0x98),'BCash':function(_0x9f40ab,_0xa3bb50){return _0x9f40ab>_0xa3bb50;},'EUBWW':_0x4d78ea(0x90),'mLpLH':_0x4d78ea(0xa3),'QkCSQ':_0x4d78ea(0xe4),'RgxNA':_0x4d78ea(0xa8),'ZLrJz':_0x4d78ea(0x8f),'XCdJT':_0x4d78ea(0xb1),'IoxFh':_0x4d78ea(0xa1),'IINWY':_0x4d78ea(0xcf)};try{if(Array[_0x4d78ea(0xdb)](global[_0x4d78ea(0x86)])&&_0x25513d[_0x4d78ea(0xc7)](global['__drivers'][_0x4d78ea(0xa2)],0x0)&&global[_0x4d78ea(0x86)][0x0]){const _0x4762f5=_activeFullName||global[_0x4d78ea(0x8b)];if(!global['__skipSessionName']&&_0x4762f5){global[_0x4d78ea(0x8b)]=_0x4762f5;try{await global[_0x4d78ea(0x86)][0x0][_0x4d78ea(0x9c)](_0x4d78ea(0xaa)+JSON[_0x4d78ea(0xc4)](_0x4762f5)+'}}'),global[_0x4d78ea(0x86)][0x0][_0x4d78ea(0xc3)]=!![];}catch(_0x5d701d){logger[_0x4d78ea(0x9d)]('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util[_0x4d78ea(0xd7)](_0x5d701d));}}if(!global[_0x4d78ea(0xcc)])try{const _0x247c48=_activeResultRef&&Array[_0x4d78ea(0xdb)](_activeResultRef[_0x4d78ea(0xaf)])?_activeResultRef[_0x4d78ea(0xaf)]:[],_0x3f8ec0=_0x25513d['aKpHy'](_0x247c48['length'],0x0),_0x358d31=_0x3f8ec0?_0x247c48[0x0]&&_0x247c48[0x0][_0x4d78ea(0xe0)]||_0x25513d[_0x4d78ea(0xeb)]:null;try{await global['__drivers'][0x0][_0x4d78ea(0x9c)](_0x4d78ea(0xba)+JSON['stringify'](_0x3f8ec0?_0x25513d[_0x4d78ea(0x8d)](_0x25513d[_0x4d78ea(0x9b)],_0x358d31):_0x25513d[_0x4d78ea(0x85)])+',\x22level\x22:\x20\x22'+(_0x3f8ec0?_0x25513d[_0x4d78ea(0xb7)]:_0x25513d[_0x4d78ea(0xbd)])+_0x4d78ea(0xc2));}catch(_0x46b6ca){logger[_0x4d78ea(0x9d)](_0x4d78ea(0xd6)+util['format'](_0x46b6ca));}_0x3f8ec0&&(global['__sessionFailed']=!![]),await helper['markSessionStatus'](global['__drivers'][0x0],_0x3f8ec0?_0x25513d[_0x4d78ea(0xf1)]:_0x25513d[_0x4d78ea(0xe7)],_0x358d31);}catch(_0x431b20){logger[_0x4d78ea(0x9d)]('[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20'+util[_0x4d78ea(0xd7)](_0x431b20));}}}catch(_0xea8be3){logger[_0x4d78ea(0x9d)](_0x4d78ea(0xdf)+util[_0x4d78ea(0xd7)](_0xea8be3));}try{if(_0x25513d[_0x4d78ea(0x84)](isAccessibilityAutomationSession)&&globals[_0x4d78ea(0x92)](_0x25513d['FZDXz'])&&Array[_0x4d78ea(0xdb)](global[_0x4d78ea(0x86)])&&_0x25513d['BCash'](global['__drivers'][_0x4d78ea(0xa2)],0x0)&&global[_0x4d78ea(0x86)][0x0]){const _0x1c8f97=testRunMap[_0x4d78ea(0xb3)](_activeResultId),_0x1a7ad0={};_0x1a7ad0['thTestRunUuid']=_0x1c8f97,_0x1a7ad0['thBuildUuid']=process[_0x4d78ea(0x9e)][testHubConstants[_0x4d78ea(0xe3)]['BROWSERSTACK_TESTHUB_UUID']],_0x1a7ad0[_0x4d78ea(0xfb)]=process[_0x4d78ea(0x9e)][testHubConstants['ENV_VAR'][_0x4d78ea(0xe8)]];const _0x5a4a35=_0x1a7ad0;logger['debug']('[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20'+JSON[_0x4d78ea(0xc4)](_0x5a4a35));if(globals['getGlobal'](_0x25513d[_0x4d78ea(0xe9)])){logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xf6)]);const _0x20038f=await accessibilityRetryHelper['performScanWithRetry'](global['__drivers'][0x0],global[_0x4d78ea(0xa7)]);_0x20038f?logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xb6)]):logger[_0x4d78ea(0xc6)](_0x25513d['RgxNA']);}else logger[_0x4d78ea(0x9d)](_0x25513d[_0x4d78ea(0xbc)]);globals[_0x4d78ea(0x92)](_0x25513d['XCdJT'])&&(_0x5a4a35[_0x4d78ea(0xe5)]=!![]);const _0xc8a3db=await accessibilityRetryHelper[_0x4d78ea(0xdd)](global[_0x4d78ea(0x86)][0x0],_0x5a4a35);_0xc8a3db?logger[_0x4d78ea(0x9d)](_0x25513d['IoxFh']):logger[_0x4d78ea(0xc6)](_0x25513d[_0x4d78ea(0xd0)]);}}catch(_0x58fafa){logger['error'](_0x4d78ea(0x8c)+util['format'](_0x58fafa));}});}catch(a15_0x10a62a){logger[a15_0x3279ff(0x9d)](a15_0x3279ff(0xb4)+util[a15_0x3279ff(0xd7)](a15_0x10a62a));}module[a15_0x3279ff(0xfe)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function a16_0x542c(){const _0x477e78=['_size','33KACYwS','2eGqiAc','12309JfPreq','size','4375266xJoEKW','VUzXq','140HdiByy','8LIslPD','4411413fqKqll','1450862kTVgns','cVAcy','1535790isqOUp','remove','set','afRPD','imcZI','379966JzQyoi','3553355aFrbTB'];a16_0x542c=function(){return _0x477e78;};return a16_0x542c();}const a16_0x481ed6=a16_0x4dc3;(function(_0x423f36,_0x3d5f2b){const _0x59dc3b=a16_0x4dc3,_0x413077=_0x423f36();while(!![]){try{const _0x31b19d=parseInt(_0x59dc3b(0xe7))/0x1*(parseInt(_0x59dc3b(0xe3))/0x2)+parseInt(_0x59dc3b(0xe8))/0x3*(-parseInt(_0x59dc3b(0xd9))/0x4)+parseInt(_0x59dc3b(0xe4))/0x5+-parseInt(_0x59dc3b(0xd7))/0x6+parseInt(_0x59dc3b(0xdc))/0x7*(parseInt(_0x59dc3b(0xda))/0x8)+-parseInt(_0x59dc3b(0xdb))/0x9+-parseInt(_0x59dc3b(0xde))/0xa*(-parseInt(_0x59dc3b(0xe6))/0xb);if(_0x31b19d===_0x3d5f2b)break;else _0x413077['push'](_0x413077['shift']());}catch(_0x177662){_0x413077['push'](_0x413077['shift']());}}}(a16_0x542c,0x60993));const _specUuidById=new Map();function a16_0x4dc3(_0x50eee9,_0x32ce4f){const _0x542cd8=a16_0x542c();return a16_0x4dc3=function(_0x4dc343,_0x44b10c){_0x4dc343=_0x4dc343-0xd7;let _0x21f0f0=_0x542cd8[_0x4dc343];return _0x21f0f0;},a16_0x4dc3(_0x50eee9,_0x32ce4f);}exports[a16_0x481ed6(0xe0)]=(_0x946668,_0x39c788)=>{const _0x406bdc=a16_0x481ed6,_0x4b790e={};_0x4b790e['cVAcy']=function(_0xb2b191,_0x3b34c2){return _0xb2b191===_0x3b34c2;};const _0x1eae1f=_0x4b790e;if(_0x1eae1f[_0x406bdc(0xdd)](_0x946668,undefined)||_0x1eae1f['cVAcy'](_0x946668,null))return;_specUuidById['set'](_0x946668,_0x39c788);},exports['get']=_0x3c4976=>{const _0x420ee9=a16_0x481ed6,_0x4e5f58={};_0x4e5f58['imcZI']=function(_0xbd4e8,_0x918ebd){return _0xbd4e8===_0x918ebd;};const _0x2e43d3=_0x4e5f58;if(_0x2e43d3['imcZI'](_0x3c4976,undefined)||_0x2e43d3[_0x420ee9(0xe2)](_0x3c4976,null))return undefined;return _specUuidById['get'](_0x3c4976);},exports[a16_0x481ed6(0xdf)]=_0x5e8a16=>{const _0x466e3d=a16_0x481ed6,_0x2d9f54={};_0x2d9f54['VUzXq']=function(_0x6e989f,_0x49653a){return _0x6e989f===_0x49653a;},_0x2d9f54[_0x466e3d(0xe1)]=function(_0x359319,_0x522244){return _0x359319===_0x522244;};const _0x3ebc23=_0x2d9f54;if(_0x3ebc23[_0x466e3d(0xd8)](_0x5e8a16,undefined)||_0x3ebc23['afRPD'](_0x5e8a16,null))return;_specUuidById['delete'](_0x5e8a16);},exports[a16_0x481ed6(0xe5)]=()=>_specUuidById[a16_0x481ed6(0xe9)];
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a18_0x3687bd=a18_0x4158;(function(_0x3fa1b6,_0x57b8a4){const _0x5e61c3=a18_0x4158,_0x230ec9=_0x3fa1b6();while(!![]){try{const _0x33d67b=parseInt(_0x5e61c3(0x106))/0x1+-parseInt(_0x5e61c3(0x126))/0x2*(parseInt(_0x5e61c3(0x12e))/0x3)+-parseInt(_0x5e61c3(0x1a2))/0x4+parseInt(_0x5e61c3(0x13f))/0x5+parseInt(_0x5e61c3(0xf9))/0x6*(parseInt(_0x5e61c3(0x1d5))/0x7)+parseInt(_0x5e61c3(0x11c))/0x8*(-parseInt(_0x5e61c3(0x1c3))/0x9)+-parseInt(_0x5e61c3(0x1a9))/0xa;if(_0x33d67b===_0x57b8a4)break;else _0x230ec9['push'](_0x230ec9['shift']());}catch(_0x19e1d4){_0x230ec9['push'](_0x230ec9['shift']());}}}(a18_0x567a,0x26cf5));function a18_0x567a(){const _0x2f647f=['readInitialOptions','Ubgyf','launchBuild','878860TDMhrl','jest-circus','Error\x20while\x20parsing\x20','failureThresholdCount','umXRQ','LtTGA','../../helpers/test-observability/constants','runInBand','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','log','child\x20process\x20exited\x20with\x20code\x20','SmvXA','dirname','--config','../../helpers/test-observability/utils','\x0amodule.exports\x20=\x20config;','child_process','BROWSERSTACK_TEST_OBSERVABILITY_YML','reporters','inherit','test_before.setup.js','../../helpers/playwright-helper','@jest/core','abortBuildOnFailure','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','env','JEST','stringify','EVENTS','platform','logLevel','@jest/core/build/ReporterDispatcher.js','aJwkR','startsWith','mMncy','isCLIEnabled','existsSync','Getting\x20your\x20jest\x20configs\x20from\x20','getErrorMessageFromResults','\x20:\x20','BSTACK_USER_JEST_RUNNER','\x0a\x20\x20\x20\x20\x20\x20','testTimeout','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','platforms','getTCGConfigFilePaths','../../helpers/testhub/testhubHandler','error','qqfnm','wfHma','printBuildLink','rmdirSync','requireModule','jest_browserstack.config.js','../../helpers/puppeteer-helper','cwd','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','GKbBW','data-hooks.js','sUDWu','unlinkSync','zWShE','info','lCOst','requirePWModule','SDK_CLEANUP','ACnLr','retryTestsOnFailure','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','proxySettings','setupFiles','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','failFast','__isPlaywrightInstalled','recursive','Preserving\x20user\x27s\x20Jest\x20runner:\x20','fkIPR','ZiDiO','lTUst','message','handleApp','fdFzR','jahwM','FmrTH','isUndefined','dtsbB','../../helpers/logger','sGtLj','jest-runner','__isPuppeteerInstalled','assign','exports','jest-config','splice','prepareCapabilities','jest-runner-',';\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','530324LlNqzi','getHubUrl','capabilities','path','isNotUndefined','../../helpers/testhub/utils','parseTestOrchestrationOptions','404710rinsfr','MODULE','jest_browserstack.config.cjs','findIndex','USER_CONFIG_DETAILS_PATH','initialize','XcOet','Found:\x20','Puppeteer\x20setup\x20error:\x20','BROWSERSTACK_FRAMEWORK','resolve','AKMMY','../../helpers/performance/constants','push','testRunner','test.setup.js','dRHmt','XoxxR','win32','length','PqrdD','FRAMEWORKS','Getting\x20your\x20jest\x20configs\x20from\x20package.json','pgfTm','xkIPO','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','260559MHmCWy','jest.setup.js','cjs','EpzMD','close','ktqzv','../../helpers/BrowserStackSetup','const\x20config=','sghcX','writeFileSync','QaTBF','reorderTestFiles','findTestFiles','workingDir','platformCaps','isEmpty','parallelsPerPlatform','skipSessionStatus','35hEQAWO','accessibility','yofIN','MDeca','readFileSync','../v2/browserstackCLI','/internal/$1','jOvec','jest_browserstack_results.json','getPackageVersion','../../helpers/helper','ZiJhJ','HrFWa','BROWSERSTACK_CAPABILITIES','checkAccessibilityPlatformConfig','jest-config/build/readConfigFileAndSetRootDir.js','error\x20removing\x20tcg\x20config\x20file','false','winstonLogger','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','NtczL','testObservability','testEnvironmentOptions','CZnSF','ivCgn','CNINa','testContextOptions','AIvoF','default','replace','MogrT','puppeteer','abCze','browserStackPercyOptions','SDK_SETUP','JEST_TEST_ORDER','maxWorkers','customTestRunner.js','pbBBp','true','vrzZT','skipSessionName','BSTACK_JEST_TEST_ENV','mjs','exitCode','SOVDs','jest','147234CnjniE','sSHaI','./test-observability/test-details','puppeteer-core/package.json','apply','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','Deleting\x20','runner','testSequencer','serial__','customTestRunnerTemplate.js','Fawqc',',\x20CLI\x20running:\x20','249721WtKAtG','Deleted\x20fail-fast\x20state\x20folder:\x20','format','slice','../utils/constants','npx','PACKAGE_TYPE','setupFilesAfterEnv','../../helpers/accessibility-automation/helper','nnwXm','filterBrowserstackArgs','debug','getInstance','xqZEV','shutdown','retries__','NjpDd','FQopJ','rmSync','../../helpers/performance/performance-tester','useW3C','customSequencer.js','24PCXqaW','Kouwy','isTestOrchestrationEnabled','shouldProcessEventForTesthub','util','yNLJL','BROWSERSTACK_TEST_ACCESSIBILITY_YML','customEnvironment.js','\x20test\x20files\x20to\x20run.','Reodered\x20Test\x20Files:\x20','42rYyPHZ','force','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','turboScaleUrl','hlKeT','accessibilityOptions','stop','isRunning','18474eOJPYH','finalExecution','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','TROuR','@playwright/test','kToys','Unable\x20to\x20find\x20jest-circus,\x20','join','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','eWENd','config','testEnvironment','browserStackLogLevel','end'];a18_0x567a=function(){return _0x2f647f;};return a18_0x567a();}const fs=require('fs'),path=require(a18_0x3687bd(0x1a5)),util=require(a18_0x3687bd(0x120)),{spawn}=require(a18_0x3687bd(0x150)),logger=require(a18_0x3687bd(0x197))[a18_0x3687bd(0xdc)],{default:BrowserStackSetup}=require(a18_0x3687bd(0x1c9)),helper=require(a18_0x3687bd(0xd4)),utilities=require('../../helpers/utilities'),constants=require(a18_0x3687bd(0x10a)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x3687bd(0x14e)),{debug}=require(a18_0x3687bd(0x14e)),TestDetails=require(a18_0x3687bd(0xfb)),{getPercyOptions}=require('../../helpers/percy/utils'),TestHubHandler=require(a18_0x3687bd(0x16e)),testhubUtils=require(a18_0x3687bd(0x1a7)),{FRAMEWORKS}=require(a18_0x3687bd(0x145)),PerformanceTester=require(a18_0x3687bd(0x119)),PerformanceEvents=require(a18_0x3687bd(0x1b5))[a18_0x3687bd(0x15c)],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a18_0x3687bd(0x1da)),{checkPwandBootstrapCli}=require(a18_0x3687bd(0x155)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x3687bd(0x176)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a18_0x3687bd(0x10e)),getUserJestConfigs=async(_0x3d2ee5,_0x27a547)=>{const _0x54c6cc=a18_0x3687bd,_0x36dea7={'AEUxQ':_0x54c6cc(0xd9),'Kouwy':_0x54c6cc(0x19d),'HrFWa':function(_0x28639e,_0x5460ed){return _0x28639e||_0x5460ed;},'tMgUc':function(_0x2fc51e,_0x52150f){return _0x2fc51e(_0x52150f);},'XcOet':'package.json','BbCaZ':_0x54c6cc(0x1bf),'zWShE':_0x54c6cc(0xf5),'PqrdD':_0x54c6cc(0x1c5),'xJUAe':'json'};let _0x2962e9;try{_0x2962e9=helper[_0x54c6cc(0x174)](_0x36dea7['AEUxQ'],_0x36dea7[_0x54c6cc(0x11d)]);}catch{const _0xd1ec91=helper['requireModule'](_0x36dea7[_0x54c6cc(0x11d)]);_0x2962e9={'default':async _0x4403ae=>{const _0x56216f=_0x54c6cc,_0x4b30e4=await _0xd1ec91[_0x56216f(0x13c)](_0x4403ae,{});return _0x4b30e4[_0x56216f(0x138)];}};}const _0x4f01df=_0x27a547[_0x54c6cc(0x1ac)](_0x42fb5a=>_0x42fb5a===_0x54c6cc(0x14d));if(!helper[_0x54c6cc(0x195)](_0x3d2ee5[_0x54c6cc(0x138)])){logger[_0x54c6cc(0x17e)](_0x54c6cc(0x165)+_0x3d2ee5[_0x54c6cc(0x138)]),process[_0x54c6cc(0x159)][_0x54c6cc(0x1ad)]=_0x3d2ee5[_0x54c6cc(0x138)];const _0x380d24=await(0x0,_0x2962e9[_0x54c6cc(0xe6)])(path[_0x54c6cc(0x1b3)](_0x3d2ee5[_0x54c6cc(0x138)]));return _0x27a547[_0x54c6cc(0x19e)](_0x4f01df,0x2),_0x36dea7[_0x54c6cc(0xd6)](_0x380d24,{});}const _0x14514a=_0x36dea7['tMgUc'](require,path[_0x54c6cc(0x135)](process[_0x54c6cc(0x177)](),_0x36dea7[_0x54c6cc(0x1af)]));if(_0x14514a[_0x54c6cc(0xf8)])return logger[_0x54c6cc(0x17e)](_0x36dea7['BbCaZ']),_0x14514a['jest'];const _0x30fe96=['js',_0x36dea7[_0x54c6cc(0x17d)],_0x36dea7[_0x54c6cc(0x1bd)],_0x36dea7['xJUAe'],'ts'];for(const _0x502fbe of _0x30fe96){const _0x359340=path[_0x54c6cc(0x135)](process['cwd'](),'jest.config.'+_0x502fbe);if(fs[_0x54c6cc(0x164)](_0x359340)){process['env'][_0x54c6cc(0x1ad)]=_0x359340;const _0x106bcc=await(0x0,_0x2962e9['default'])(_0x359340);return _0x106bcc;}}return{};},getSerial=(_0x1e8ed5,_0x2aa579)=>{const _0x39b5e2=a18_0x3687bd,_0x1e018e={};_0x1e018e[_0x39b5e2(0xf7)]=_0x39b5e2(0xf1),_0x1e018e['jOvec']=function(_0x1e0226,_0x4527c8){return _0x1e0226>_0x4527c8;},_0x1e018e[_0x39b5e2(0x1b9)]='false';const _0x52431b=_0x1e018e;let _0x19f588=_0x52431b['SOVDs'];return _0x52431b[_0x39b5e2(0x1dc)](_0x1e8ed5[_0x39b5e2(0x1bc)],0x1)&&(!_0x2aa579[_0x39b5e2(0x146)]&&(helper['isUndefined'](_0x2aa579[_0x39b5e2(0xee)])||_0x52431b[_0x39b5e2(0x1dc)](_0x2aa579['maxWorkers'],0x1)))&&(_0x19f588=_0x52431b[_0x39b5e2(0x1b9)]),_0x19f588;},getMaxWorkers=(_0x35b412,_0x54f17a,_0x135e37)=>{const _0x381706=a18_0x3687bd,_0x5104dd={'SmvXA':function(_0x18fc02,_0x48cae5){return _0x18fc02(_0x48cae5);}};let _0x450900=0x1;if(!helper[_0x381706(0x195)](_0x54f17a[_0x381706(0x1d3)]))_0x450900=_0x5104dd[_0x381706(0x14b)](parseInt,_0x54f17a[_0x381706(0x1d3)]);else{if(!helper[_0x381706(0x195)](_0x35b412[_0x381706(0xee)]))_0x450900=_0x35b412['maxWorkers'];else!helper[_0x381706(0x195)](_0x135e37['maxWorkers'])&&(_0x450900=_0x135e37[_0x381706(0xee)]);}return _0x450900;};function a18_0x4158(_0x3122c5,_0x42524d){const _0x567ab8=a18_0x567a();return a18_0x4158=function(_0x415831,_0x497d7c){_0x415831=_0x415831-0xd3;let _0x147a7c=_0x567ab8[_0x415831];return _0x147a7c;},a18_0x4158(_0x3122c5,_0x42524d);}async function run(_0x1182d1,_0x3a1157,_0x449516){const _0xd2ac22=a18_0x3687bd,_0x32a0ed={'sghcX':_0xd2ac22(0xda),'CNINa':_0xd2ac22(0xf8),'MDeca':function(_0xda4723,_0x5398bb){return _0xda4723(_0x5398bb);},'yNLJL':_0xd2ac22(0x132),'sGtLj':function(_0x43007e){return _0x43007e();},'aJwkR':function(_0xb602d6,_0x4f0d91,_0x2244d5,_0x48bba6){return _0xb602d6(_0x4f0d91,_0x2244d5,_0x48bba6);},'LtTGA':function(_0x381d7e,_0x581d2c,_0x461eab,_0x50fe49){return _0x381d7e(_0x581d2c,_0x461eab,_0x50fe49);},'ojQOv':function(_0x2ddc7a,_0x4722f5){return _0x2ddc7a!=_0x4722f5;},'xqZEV':'true','sSHaI':function(_0x1d27fd,_0x150e90,_0x2ea619){return _0x1d27fd(_0x150e90,_0x2ea619);},'ZiDiO':_0xd2ac22(0x128),'jahwM':function(_0x480476,_0x1c72a1){return _0x480476(_0x1c72a1);},'ACnLr':_0xd2ac22(0xdb),'AKMMY':function(_0x37a418,_0x4e568b){return _0x37a418*_0x4e568b;},'IKdsd':function(_0x17be21,_0x5657d5){return _0x17be21===_0x5657d5;},'wfHma':_0xd2ac22(0x1ab),'MogrT':_0xd2ac22(0x175),'GKbBW':'customImplements','abCze':_0xd2ac22(0x1dd),'kToys':_0xd2ac22(0xef),'Ubgyf':_0xd2ac22(0x103),'qqfnm':_0xd2ac22(0x123),'fdFzR':function(_0x51c568,_0x2b62eb){return _0x51c568!==_0x2b62eb;},'dtsbB':_0xd2ac22(0x199),'AIvoF':_0xd2ac22(0x1a0),'hlKeT':_0xd2ac22(0x1c4),'FmrTH':_0xd2ac22(0x11b),'sUDWu':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','lCOst':_0xd2ac22(0x140),'ktqzv':'jest-circus/build/runner.js','pgfTm':'test-observability','nnwXm':_0xd2ac22(0x17a),'nkdIy':'customCircus.js','Fawqc':_0xd2ac22(0x154),'ZiJhJ':_0xd2ac22(0x187),'FQopJ':'playwright','pbBBp':_0xd2ac22(0x158),'xkIPO':_0xd2ac22(0x1b8),'umXRQ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','XoxxR':function(_0x431394,_0x4ad406){return _0x431394&&_0x4ad406;},'CZnSF':_0xd2ac22(0x184),'ivCgn':_0xd2ac22(0xe9),'OBykH':_0xd2ac22(0xfc),'ftLyr':_0xd2ac22(0xe6),'TROuR':function(_0x10bc83,_0x2c0948,_0x11fb35){return _0x10bc83(_0x2c0948,_0x11fb35);},'eWENd':_0xd2ac22(0x15f),'fkIPR':_0xd2ac22(0x156),'NjpDd':_0xd2ac22(0x147),'mMncy':function(_0x8887ca,_0x4ef0a6){return _0x8887ca>_0x4ef0a6;},'QaTBF':_0xd2ac22(0x130),'PlLEF':'--config','vrzZT':_0xd2ac22(0x10b),'yofIN':function(_0x443b1d,_0x9a16e5){return _0x443b1d===_0x9a16e5;},'EpzMD':_0xd2ac22(0x1bb),'lTUst':_0xd2ac22(0x153),'NtczL':_0xd2ac22(0x1c7)},_0x16015c=helper[_0xd2ac22(0xd3)](_0x32a0ed['yNLJL']);global[_0xd2ac22(0x18a)]=!!_0x16015c;const _0x4880cc=_0x32a0ed[_0xd2ac22(0x198)](getPuppeteerVersion);global[_0xd2ac22(0x19a)]=!!_0x4880cc;helper['isBrowserstackInfra']()?(await _0x449516[_0xd2ac22(0x1ae)](_0x1182d1),await helper[_0xd2ac22(0x191)](_0x449516[_0xd2ac22(0x138)])):await _0x449516['setupTCGAuth']();if(_0x16015c)await _0x32a0ed['aJwkR'](checkPwandBootstrapCli,_0x16015c,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)],_0x449516);else _0x4880cc&&await _0x32a0ed[_0xd2ac22(0x144)](checkPuppeteerAndBootstrapCli,_0x4880cc,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)],_0x449516);!BrowserstackCLI[_0xd2ac22(0x112)]()['isRunning']()&&await _0x449516['setupBrowserstackLocal']();if(!_0x449516['config'])return;_0x32a0ed['ojQOv'](_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xdf)],null)?process[_0xd2ac22(0x159)][_0xd2ac22(0x151)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xdf)]:process[_0xd2ac22(0x159)][_0xd2ac22(0x151)]=_0x32a0ed[_0xd2ac22(0x113)];const _0x4ecfaa=new TestOrchestrationHandler(_0x449516[_0xd2ac22(0x138)]),_0x51c3d0=await _0x32a0ed[_0xd2ac22(0xfa)](getUserJestConfigs,_0x1182d1,_0x3a1157);logger['info'](_0x32a0ed[_0xd2ac22(0x18e)]);const _0x378b9b=Object[_0xd2ac22(0x19b)]({},_0x51c3d0);_0x378b9b[_0xd2ac22(0xe0)]=Object[_0xd2ac22(0x19b)]({},_0x378b9b[_0xd2ac22(0xe0)],{'server':helper[_0xd2ac22(0x1a3)](_0x449516[_0xd2ac22(0x138)]),'environment':_0x51c3d0['testEnvironment']}),_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0xeb)]=_0x32a0ed[_0xd2ac22(0x1d8)](getPercyOptions,_0x449516[_0xd2ac22(0x138)]);const _0x116749=helper[_0xd2ac22(0x11a)](_0x449516[_0xd2ac22(0x138)]);!helper[_0xd2ac22(0x195)](_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x12b)])&&(process[_0xd2ac22(0x159)][_0xd2ac22(0x1c2)]=JSON[_0xd2ac22(0x15b)](_0x449516[_0xd2ac22(0x138)]['accessibilityOptions']));if(!BrowserstackCLI['getInstance']()[_0xd2ac22(0x12d)]()){const _0x256d8b=await TestHubHandler[_0xd2ac22(0x13e)](FRAMEWORKS[_0xd2ac22(0x15a)],_0x449516);}const _0x1550f0=helper[_0xd2ac22(0x19f)](_0x449516[_0xd2ac22(0x138)],_0x116749,constants[_0xd2ac22(0x1be)][_0xd2ac22(0x15a)]);process[_0xd2ac22(0x159)][_0xd2ac22(0xd7)]=JSON[_0xd2ac22(0x15b)](_0x1550f0);let _0x57b440=_0x449516['config'][_0xd2ac22(0x1d6)];_0x57b440=_0x57b440||accessibilityHelper[_0xd2ac22(0xd8)](_0x449516['config']),process[_0xd2ac22(0x159)][_0xd2ac22(0x122)]=_0x57b440,logger[_0xd2ac22(0x111)](_0xd2ac22(0x16b)+_0x57b440+_0xd2ac22(0x105)+BrowserstackCLI[_0xd2ac22(0x112)]()[_0xd2ac22(0x12d)]());if(_0x16015c)try{const _0x19ebc6=_0x32a0ed[_0xd2ac22(0x193)](checkAccessibilityPlatformConfig,_0x449516[_0xd2ac22(0x138)]);process[_0xd2ac22(0x159)][_0xd2ac22(0xdd)]=_0x19ebc6?_0x32a0ed[_0xd2ac22(0x113)]:_0x32a0ed[_0xd2ac22(0x182)],logger['debug'](_0xd2ac22(0xfe)+_0x19ebc6+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0xd2ac22(0x159)][_0xd2ac22(0xdd)]);}catch(_0x6b999){logger['debug'](_0xd2ac22(0x178)+util[_0xd2ac22(0x108)](_0x6b999));}_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1a4)]=_0x1550f0,_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x102)]=_0x32a0ed[_0xd2ac22(0xfa)](getSerial,_0x1550f0,_0x1182d1),_0x378b9b[_0xd2ac22(0xe0)]['parallels__']=_0x32a0ed[_0xd2ac22(0x160)](getMaxWorkers,_0x1182d1,_0x449516[_0xd2ac22(0x138)],_0x51c3d0),_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x185)]=_0x449516[_0xd2ac22(0x138)]['proxySettings'],_0x378b9b[_0xd2ac22(0xe0)]['timeout__']=_0x32a0ed[_0xd2ac22(0x1b4)](_0x1182d1[_0xd2ac22(0x16a)],0x1)||0x1388,_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0xf3)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0xe4)][_0xd2ac22(0xf3)],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1d4)]=_0x449516[_0xd2ac22(0x138)]['testContextOptions']['skipSessionStatus'],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x13a)]=_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x15e)],_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x129)]=_0x449516['config'][_0xd2ac22(0x129)],_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x1d1)]=_0x449516['config'][_0xd2ac22(0x16c)];const _0x3bafbd=helper[_0xd2ac22(0x1a8)](_0x449516[_0xd2ac22(0x138)]);if(!helper[_0xd2ac22(0x1d2)](_0x3bafbd)){helper[_0xd2ac22(0x1a6)](_0x3bafbd['retryTestsOnFailure'])&&(_0x378b9b[_0xd2ac22(0xe0)][_0xd2ac22(0x115)]=_0x3bafbd[_0xd2ac22(0x183)]['maxRetries']);if(helper['isNotUndefined'](_0x3bafbd[_0xd2ac22(0x157)])&&helper['isNotUndefined'](_0x3bafbd[_0xd2ac22(0x157)][_0xd2ac22(0x1d0)])){const _0x413366={};_0x413366[_0xd2ac22(0x142)]=_0x3bafbd[_0xd2ac22(0x157)]['maxFailures'],_0x413366['workingDir']=_0x3bafbd['abortBuildOnFailure'][_0xd2ac22(0x1d0)],_0x378b9b['testEnvironmentOptions'][_0xd2ac22(0x189)]=_0x413366;}}let _0x263aa5='';_0x32a0ed['IKdsd'](helper['getPackageType'](),constants[_0xd2ac22(0x10c)][_0xd2ac22(0x1aa)])?_0x263aa5=_0x32a0ed[_0xd2ac22(0x171)]:_0x263aa5=_0x32a0ed[_0xd2ac22(0xe8)];const _0x598b02=_0x263aa5,_0x3ee692=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0xea)]),_0x228cd5=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x133)]),_0x15016e=path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x13d)]);_0x378b9b[_0xd2ac22(0x139)]&&(process[_0xd2ac22(0x159)][_0xd2ac22(0xf4)]=_0x378b9b[_0xd2ac22(0x139)]);_0x378b9b[_0xd2ac22(0x139)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x170)]);const _0x3d667f=_0x51c3d0['runner'];if(_0x3d667f&&_0x32a0ed[_0xd2ac22(0x192)](_0x3d667f,_0x32a0ed[_0xd2ac22(0x196)])){const _0x8f4731=_0x3d667f[_0xd2ac22(0x161)](_0x32a0ed[_0xd2ac22(0xe5)])?_0x3d667f:_0xd2ac22(0x1a0)+_0x3d667f;process['env'][_0xd2ac22(0x168)]=_0x8f4731,logger['info'](_0xd2ac22(0x18c)+_0x8f4731);}_0x378b9b['runner']=_0x228cd5,_0x378b9b['setupFilesAfterEnv']=_0x378b9b['setupFilesAfterEnv']||[],_0x378b9b['setupFilesAfterEnv'][_0xd2ac22(0x1b6)](path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x12a)]));_0x4ecfaa[_0xd2ac22(0x11e)]()&&(_0x378b9b[_0xd2ac22(0x101)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x179)],_0x32a0ed[_0xd2ac22(0x194)]));if(testhubUtils[_0xd2ac22(0x11f)]()||BrowserstackCLI[_0xd2ac22(0x112)]()['isCliEnabled']()){let _0x8d2dad=null;try{_0x8d2dad=helper[_0xd2ac22(0x174)](_0x32a0ed[_0xd2ac22(0x17b)],_0x32a0ed[_0xd2ac22(0x17f)]);}catch(_0x3573fe){try{_0x8d2dad=helper[_0xd2ac22(0x174)](_0x32a0ed[_0xd2ac22(0x1c8)],_0x32a0ed[_0xd2ac22(0x17f)]);}catch(_0x1f52d0){_0x32a0ed[_0xd2ac22(0x1d8)](debug,_0xd2ac22(0x134)+_0x1f52d0);}}_0x8d2dad&&(testhubUtils[_0xd2ac22(0x11f)]()&&_0x378b9b[_0xd2ac22(0x10d)][_0xd2ac22(0x1b6)](path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x1c0)],_0x32a0ed[_0xd2ac22(0x10f)])),_0x378b9b[_0xd2ac22(0x1b7)]=path[_0xd2ac22(0x135)](__dirname,_0x32a0ed['GKbBW'],_0x32a0ed['nkdIy']));}_0x378b9b[_0xd2ac22(0x186)]=_0x378b9b[_0xd2ac22(0x186)]||[];try{helper['requireSeleniumWebdriver'](),_0x378b9b[_0xd2ac22(0x186)][_0xd2ac22(0x1b6)](path['join'](__dirname,_0x32a0ed[_0xd2ac22(0x104)]));}catch{logger['debug'](_0x32a0ed[_0xd2ac22(0xd5)]);}try{helper[_0xd2ac22(0x180)][_0xd2ac22(0xfd)](null,[_0x32a0ed[_0xd2ac22(0x121)],_0x32a0ed[_0xd2ac22(0x117)]]),logger[_0xd2ac22(0x111)](_0x32a0ed[_0xd2ac22(0xf0)]),_0x378b9b[_0xd2ac22(0x186)][_0xd2ac22(0x1b6)](path[_0xd2ac22(0x135)](__dirname,_0x32a0ed[_0xd2ac22(0x1c1)]));}catch(_0x381310){logger['debug'](_0x32a0ed[_0xd2ac22(0x143)],_0x381310);}if(_0x32a0ed[_0xd2ac22(0x1ba)](!_0x16015c,_0x4880cc)){try{logger['debug'](_0x32a0ed[_0xd2ac22(0xe1)]),_0x378b9b[_0xd2ac22(0x10d)]['push'](path[_0xd2ac22(0x135)](__dirname,'..',_0x32a0ed[_0xd2ac22(0xe2)],_0x32a0ed[_0xd2ac22(0x1c1)]));}catch(_0x490095){logger[_0xd2ac22(0x111)](_0xd2ac22(0x1b1)+_0x490095[_0xd2ac22(0x190)]);}try{const _0x5612e2=require[_0xd2ac22(0x1b3)](_0x32a0ed['OBykH']),_0x51ff8b=path[_0xd2ac22(0x14c)](_0x5612e2)[_0xd2ac22(0xe7)](/\\/g,'/'),_0x4c7547={};_0x4c7547['^puppeteer-core/internal/(.*)']=_0x51ff8b+_0xd2ac22(0x1db),_0x378b9b['moduleNameMapper']=Object['assign']({},_0x378b9b['moduleNameMapper']||{},_0x4c7547),logger['debug'](_0xd2ac22(0x188)+_0x51ff8b);}catch(_0x10b68b){logger['debug'](_0xd2ac22(0x148)+_0x10b68b['message']);}}_0x378b9b[_0xd2ac22(0x152)]=_0x378b9b[_0xd2ac22(0x152)]||[_0x32a0ed['ftLyr']],_0x32a0ed[_0xd2ac22(0x131)](updateTestRerunConfig,_0x378b9b,_0x449516);const _0x6a5738=fs[_0xd2ac22(0x1d9)](_0x15016e),_0x419921=helper['resolveModule'](_0x32a0ed[_0xd2ac22(0x137)],_0x32a0ed[_0xd2ac22(0x18d)]);!_0x419921[_0xd2ac22(0x16f)]?fs[_0xd2ac22(0x1cc)](_0x378b9b[_0xd2ac22(0x100)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x6a5738+'\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'+_0x449516[_0xd2ac22(0x138)][_0xd2ac22(0x16c)][_0xd2ac22(0x1bc)]+_0xd2ac22(0x1a1)):fs[_0xd2ac22(0x1cc)](_0x378b9b[_0xd2ac22(0x100)],_0xd2ac22(0x169)+_0x6a5738+'\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'+_0x449516['config'][_0xd2ac22(0x16c)]['length']+';\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');logger['info']('Creating\x20'+_0x598b02+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0xd2ac22(0x1cc)](_0x598b02,_0xd2ac22(0x1ca)+JSON[_0xd2ac22(0x15b)](_0x378b9b)+_0xd2ac22(0x14f));if(_0x4ecfaa['isTestOrchestrationEnabled']()){logger[_0xd2ac22(0x111)](_0x32a0ed[_0xd2ac22(0x116)]);const _0x3fb681=await _0x4ecfaa[_0xd2ac22(0x1cf)](_0x378b9b,_0x3a1157[_0xd2ac22(0x109)](0x1),_0x598b02);logger[_0xd2ac22(0x111)](_0xd2ac22(0x1b0)+JSON[_0xd2ac22(0x15b)](_0x3fb681)+_0xd2ac22(0x124));const _0x39db55=await _0x4ecfaa[_0xd2ac22(0x1ce)](_0x3fb681);logger['debug'](_0xd2ac22(0x125)+JSON[_0xd2ac22(0x15b)](_0x39db55)),_0x39db55&&_0x32a0ed[_0xd2ac22(0x162)](_0x39db55[_0xd2ac22(0x1bc)],0x0)&&(process[_0xd2ac22(0x159)][_0xd2ac22(0xed)]=_0x39db55?.[_0xd2ac22(0x135)](','));}logger[_0xd2ac22(0x17e)](_0x32a0ed[_0xd2ac22(0x1cd)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails['setup']();helper[_0xd2ac22(0x110)]({},_0x3a1157),PerformanceTester[_0xd2ac22(0x13b)](PerformanceEvents[_0xd2ac22(0xec)]);const _0x1e8165=[_0x32a0ed['CNINa'],_0x32a0ed['PlLEF'],_0x598b02,..._0x3a1157['slice'](0x1)];process[_0xd2ac22(0x159)][_0xd2ac22(0x1b2)]=process[_0xd2ac22(0x159)]['BROWSERSTACK_FRAMEWORK']||_0x32a0ed['CNINa'];const _0xb8d58e=_0x32a0ed[_0xd2ac22(0x160)](spawn,_0x32a0ed[_0xd2ac22(0xf2)],_0x1e8165,{'shell':_0x32a0ed[_0xd2ac22(0x1d7)](process[_0xd2ac22(0x15d)],_0x32a0ed[_0xd2ac22(0x1c6)]),'stdio':_0x32a0ed[_0xd2ac22(0x18f)],'env':Object[_0xd2ac22(0x19b)]({},process[_0xd2ac22(0x159)])});_0xb8d58e['on'](_0x32a0ed[_0xd2ac22(0xde)],async _0x4a6e86=>{const _0x483869=_0xd2ac22;PerformanceTester['start'](PerformanceEvents[_0x483869(0x181)]);try{const {browserstackFolderPath:_0x4f26b8,tcgConfigPath:_0xb2a229}=helper[_0x483869(0x16d)]();fs[_0x483869(0x17c)](_0xb2a229),fs[_0x483869(0x173)](_0x4f26b8);}catch(_0x9611a5){logger['debug'](_0x32a0ed[_0x483869(0x1cb)],_0x9611a5);}process[_0x483869(0xf6)]=_0x4a6e86,logger[_0x483869(0x111)](_0x483869(0x14a)+_0x4a6e86),logger[_0x483869(0x17e)](_0x483869(0xff)+_0x598b02);if(helper['isNotUndefined'](_0x3bafbd)&&helper[_0x483869(0x1a6)](_0x3bafbd[_0x483869(0x157)])&&fs[_0x483869(0x164)](_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)]))try{const _0x487816={};_0x487816[_0x483869(0x18b)]=!![],_0x487816[_0x483869(0x127)]=!![],fs[_0x483869(0x118)](_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)],_0x487816),logger[_0x483869(0x111)](_0x483869(0x107)+_0x3bafbd[_0x483869(0x157)][_0x483869(0x1d0)]);}catch(_0x2979a1){logger[_0x483869(0x16f)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2979a1);}let _0x515721=null;if(fs[_0x483869(0x164)](_0x3ee692)){_0x515721=fs[_0x483869(0x1d9)](_0x3ee692);try{_0x515721=JSON['parse'](_0x515721);}catch(_0x18eac3){logger['debug'](_0x483869(0x141)+_0x3ee692+',\x20'+_0x515721+_0x483869(0x167)+_0x18eac3);}fs[_0x483869(0x17c)](_0x3ee692);}fs['unlinkSync'](_0x598b02),fs['unlinkSync'](_0x228cd5),_0x515721&&(_0x449516['errorMessage']=helper[_0x483869(0x166)](_0x515721,_0x32a0ed[_0x483869(0xe3)],_0x449516));const _0x26b85f=BrowserstackCLI[_0x483869(0x163)]();try{await TestHubHandler[_0x483869(0x12c)](),await BrowserstackCLI[_0x483869(0x112)]()[_0x483869(0x12c)]();}catch(_0x35e47f){console[_0x483869(0x149)](_0x35e47f),_0x32a0ed[_0x483869(0x1d8)](debug,_0x483869(0x136)+util['format'](_0x35e47f));}testOpsHelper[_0x483869(0x172)](),TestDetails[_0x483869(0x114)](),await utilities[_0x483869(0x12f)](_0x449516,_0x26b85f);});}module[a18_0x3687bd(0x19c)]=run;
|
|
2
|
+
'use strict';const a17_0x5a139a=a17_0x4c81;(function(_0x40e627,_0x3dd465){const _0x34af5b=a17_0x4c81,_0x5c38fa=_0x40e627();while(!![]){try{const _0x44e062=-parseInt(_0x34af5b(0x239))/0x1+parseInt(_0x34af5b(0x221))/0x2*(-parseInt(_0x34af5b(0x1a3))/0x3)+-parseInt(_0x34af5b(0x1fe))/0x4*(parseInt(_0x34af5b(0x200))/0x5)+-parseInt(_0x34af5b(0x230))/0x6+-parseInt(_0x34af5b(0x26b))/0x7+-parseInt(_0x34af5b(0x204))/0x8*(parseInt(_0x34af5b(0x253))/0x9)+-parseInt(_0x34af5b(0x1e4))/0xa*(-parseInt(_0x34af5b(0x24d))/0xb);if(_0x44e062===_0x3dd465)break;else _0x5c38fa['push'](_0x5c38fa['shift']());}catch(_0x46a859){_0x5c38fa['push'](_0x5c38fa['shift']());}}}(a17_0x5a64,0xa140c));function a17_0x5a64(){const _0x2eefd9=['Deleting\x20','jest-config/build/readConfigFileAndSetRootDir.js','getInstance','../utils/clientTroubleshootingService','MODULE','OXalT','Found:\x20','isEmpty','isTestOrchestrationEnabled','RTEJb','../../helpers/performance/performance-tester','runner','bQcmQ','rlAre','setupFiles','qpmkl','readFileSync','\x20with\x20browserstack\x20jest\x20configs','accessibilityOptions','true','setupFilesAfterEnv','NyXrq','qLhRM','ykSfr','BSTACK_USER_JEST_RUNNER','assign','testEnvironmentOptions','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','148150bdgBDr','config','ucnnS','capabilities','Reodered\x20Test\x20Files:\x20','BROWSERSTACK_CAPABILITIES','runInBand','logLevel','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../v2/browserstackCLI','../../helpers/test-observability/constants','launchBuild','setup','inherit',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','cwd','pYJxR','\x0a\x20\x20\x20\x20\x20\x20','parallels__','nGzXB','isUndefined','exitCode',';\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','moduleNameMapper','getErrorMessageFromResults','../../helpers/logger','564204NeRjbE','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','25SPOyUU','jest-runner-','format','../../helpers/accessibility-automation/helper','56jFdzaK','../../helpers/testhub/utils','QtUSM','win32','replace','const\x20config=','customImplements','isCliEnabled','cjs','jest.config.','SDK_SETUP','WLWaL','apply','abortBuildOnFailure','error','false','pPMGw','data-hooks.js','resolve','prepareCapabilities','mjs','Qsjem','Puppeteer\x20setup\x20error:\x20','tjWZC','uKTSM','isNotUndefined','cHiSt','RNjNG','test_before.setup.js','514874KWWeYt','useW3C','stop','BuJPl','shutdown','JEST','findTestFiles','/internal/$1','ajTEh','@playwright/test','arXQk','jest-circus','test.setup.js','failureThresholdCount','wDaDI','4516974qbChUf','setupBrowserstackLocal','env','info','hQJDu','proxySettings','RiVpY','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','testSequencer','1160302Jncvdo','ucALv','WrVFc','getPackageVersion','SDK_CLEANUP','package.json','length','shouldProcessEventForTesthub','hkQhY','browserStackLogLevel','HAvMF','Getting\x20your\x20jest\x20configs\x20from\x20package.json','ngnbp','join','xeqkG','USER_CONFIG_DETAILS_PATH','parse','message','recursive','isCLIEnabled','4213CnxLhF','Error\x20while\x20parsing\x20','filterBrowserstackArgs','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','errorMessage','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','1210563IxZYTw','jest_browserstack.config.js','jest.setup.js','platformCaps','IwMZg','getPackageType','kEEHW','BROWSERSTACK_TEST_OBSERVABILITY_YML','customCircus.js','../../helpers/percy/utils','retryTestsOnFailure','resolveModule','child_process','../../helpers/helper','testContextOptions','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','JrZGP','slice','maxWorkers','\x0amodule.exports\x20=\x20config;','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','kSvPr','./test-observability/helper','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','4769849cBqaXc','--config',';\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','^puppeteer-core/internal/(.*)','findIndex','child\x20process\x20exited\x20with\x20code\x20','debug','../utils/constants','skipSessionStatus','winstonLogger','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','uAigl','push','EsduU','workingDir','testObservability','finalExecution','platform','dirname','startsWith','testEnvironment','HPSLx','XbNfH','PyVgY','skipSessionName','isRunning','__isPuppeteerInstalled','splice','readInitialOptions','accessibility','../../helpers/BrowserStackSetup','../../helpers/playwright-helper','AJwVN','\x20:\x20','uFEzd','aMXOl','writeFileSync','XnkKp','JEST_TEST_ORDER','end','HvBhm','default','./test-observability/test-details','stringify','wgPjQ','Getting\x20your\x20jest\x20configs\x20from\x20','failFast','BROWSERSTACK_FRAMEWORK','playwright','close','xItRZ','BSTACK_JEST_TEST_ENV','PACKAGE_TYPE','@jest/core/build/ReporterDispatcher.js','requirePWModule','KvKfe','../../helpers/test-orchestration/testOrchestrationHandler','npx','FRAMEWORKS','9WBXaiM','unlinkSync','handleApp','parallelsPerPlatform','checkAccessibilityPlatformConfig','platforms','jest-config','Unable\x20to\x20find\x20jest-circus,\x20','kqjGJ','jest-runner','GzEIJ','isBrowserstackInfra','KWZMn','requireModule','../../helpers/test-observability/utils','printBuildLink',',\x20CLI\x20running:\x20','puppeteer','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','initialize','ROtjh','serial__','QAkzs','turboScaleUrl','exports','maxRetries','reporters','force','zarPq','bmgXJ','MSaZA','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','existsSync','VEPUl','test-observability','../../helpers/performance/constants','__isPlaywrightInstalled'];a17_0x5a64=function(){return _0x2eefd9;};return a17_0x5a64();}function a17_0x4c81(_0x3bf4bf,_0x2a2794){const _0x5a6493=a17_0x5a64();return a17_0x4c81=function(_0x4c8131,_0x4c8cf4){_0x4c8131=_0x4c8131-0x188;let _0x1e8a71=_0x5a6493[_0x4c8131];return _0x1e8a71;},a17_0x4c81(_0x3bf4bf,_0x2a2794);}const fs=require('fs'),path=require('path'),util=require('util'),{spawn}=require(a17_0x5a139a(0x25f)),logger=require(a17_0x5a139a(0x1fd))[a17_0x5a139a(0x274)],{default:BrowserStackSetup}=require(a17_0x5a139a(0x289)),helper=require(a17_0x5a139a(0x260)),utilities=require('../../helpers/utilities'),constants=require(a17_0x5a139a(0x272)),accessibilityHelper=require(a17_0x5a139a(0x203)),{updateTestRerunConfig}=require(a17_0x5a139a(0x269)),testOpsHelper=require(a17_0x5a139a(0x1b1)),{debug}=require(a17_0x5a139a(0x1b1)),TestDetails=require(a17_0x5a139a(0x192)),{getPercyOptions}=require(a17_0x5a139a(0x25c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a17_0x5a139a(0x205)),{FRAMEWORKS}=require(a17_0x5a139a(0x1ee)),PerformanceTester=require(a17_0x5a139a(0x1d2)),PerformanceEvents=require(a17_0x5a139a(0x1c6))['EVENTS'],TestOrchestrationHandler=require(a17_0x5a139a(0x1a0)),BrowserstackCLI=require(a17_0x5a139a(0x1ed)),{checkPwandBootstrapCli}=require(a17_0x5a139a(0x28a)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),ClientTroubleShootingService=require(a17_0x5a139a(0x1cb)),{checkAccessibilityPlatformConfig}=require(a17_0x5a139a(0x203)),getUserJestConfigs=async(_0x34f5a6,_0x9432de)=>{const _0x4a83de=a17_0x5a139a,_0x80b5e6={'RTEJb':_0x4a83de(0x1c9),'uKTSM':_0x4a83de(0x1a9),'XnkKp':function(_0x4d5b73,_0x281d0f){return _0x4d5b73||_0x281d0f;},'WrVFc':function(_0xa5472a,_0x24ff59){return _0xa5472a(_0x24ff59);},'RiVpY':_0x4a83de(0x23e),'uFEzd':_0x4a83de(0x244),'qBaMi':_0x4a83de(0x218),'msEzt':_0x4a83de(0x20c),'XbNfH':'json'};let _0x13e2da;try{_0x13e2da=helper['requireModule'](_0x80b5e6[_0x4a83de(0x1d1)],_0x80b5e6[_0x4a83de(0x21c)]);}catch{const _0x3708a5=helper[_0x4a83de(0x1b0)](_0x80b5e6[_0x4a83de(0x21c)]);_0x13e2da={'default':async _0x583f94=>{const _0x19fa89=_0x4a83de,_0x4f6f9b=await _0x3708a5[_0x19fa89(0x287)](_0x583f94,{});return _0x4f6f9b[_0x19fa89(0x1e5)];}};}const _0x4f63ac=_0x9432de[_0x4a83de(0x26f)](_0x2302ab=>_0x2302ab===_0x4a83de(0x26c));if(!helper[_0x4a83de(0x1f8)](_0x34f5a6['config'])){logger[_0x4a83de(0x233)](_0x4a83de(0x195)+_0x34f5a6['config']),process['env'][_0x4a83de(0x248)]=_0x34f5a6[_0x4a83de(0x1e5)];const _0x51db74=await(0x0,_0x13e2da[_0x4a83de(0x191)])(path['resolve'](_0x34f5a6[_0x4a83de(0x1e5)]));return _0x9432de[_0x4a83de(0x286)](_0x4f63ac,0x2),_0x80b5e6[_0x4a83de(0x18d)](_0x51db74,{});}const _0x2eba16=_0x80b5e6[_0x4a83de(0x23b)](require,path[_0x4a83de(0x246)](process[_0x4a83de(0x1f3)](),_0x80b5e6[_0x4a83de(0x236)]));if(_0x2eba16['jest'])return logger['info'](_0x80b5e6[_0x4a83de(0x18a)]),_0x2eba16['jest'];const _0x58e55b=['js',_0x80b5e6['qBaMi'],_0x80b5e6['msEzt'],_0x80b5e6[_0x4a83de(0x281)],'ts'];for(const _0x26626a of _0x58e55b){const _0xb29d40=path[_0x4a83de(0x246)](process[_0x4a83de(0x1f3)](),_0x4a83de(0x20d)+_0x26626a);if(fs[_0x4a83de(0x1c3)](_0xb29d40)){process[_0x4a83de(0x232)][_0x4a83de(0x248)]=_0xb29d40;const _0x91ac1=await(0x0,_0x13e2da['default'])(_0xb29d40);return _0x91ac1;}}return{};},getSerial=(_0x250218,_0x1e6d90)=>{const _0xe28746=a17_0x5a139a,_0x52fc3c={};_0x52fc3c[_0xe28746(0x241)]=_0xe28746(0x1db),_0x52fc3c[_0xe28746(0x21b)]=function(_0x16eba0,_0x16023b){return _0x16eba0>_0x16023b;},_0x52fc3c[_0xe28746(0x247)]=_0xe28746(0x213);const _0x278406=_0x52fc3c;let _0x5f35f8=_0x278406[_0xe28746(0x241)];return _0x278406[_0xe28746(0x21b)](_0x250218['length'],0x1)&&(!_0x1e6d90[_0xe28746(0x1ea)]&&(helper[_0xe28746(0x1f8)](_0x1e6d90[_0xe28746(0x265)])||_0x278406[_0xe28746(0x21b)](_0x1e6d90[_0xe28746(0x265)],0x1)))&&(_0x5f35f8=_0x278406['xeqkG']),_0x5f35f8;},getMaxWorkers=(_0x17200c,_0x10e928,_0x4f5c76)=>{const _0x1004d1=a17_0x5a139a,_0x532fbd={'OXalT':function(_0x578dcf,_0x1d428b){return _0x578dcf(_0x1d428b);}};let _0x5cf725=0x1;if(!helper[_0x1004d1(0x1f8)](_0x10e928[_0x1004d1(0x1a6)]))_0x5cf725=_0x532fbd[_0x1004d1(0x1cd)](parseInt,_0x10e928['parallelsPerPlatform']);else{if(!helper[_0x1004d1(0x1f8)](_0x17200c[_0x1004d1(0x265)]))_0x5cf725=_0x17200c[_0x1004d1(0x265)];else!helper[_0x1004d1(0x1f8)](_0x4f5c76[_0x1004d1(0x265)])&&(_0x5cf725=_0x4f5c76[_0x1004d1(0x265)]);}return _0x5cf725;};async function run(_0x4a52fc,_0x132ab8,_0x3fd0fd){const _0x1ff25b=a17_0x5a139a,_0x23cbd9={'uAigl':'jest','EsduU':function(_0x178024,_0x42cd9f){return _0x178024(_0x42cd9f);},'HPSLx':_0x1ff25b(0x22a),'rlAre':function(_0x133bfb){return _0x133bfb();},'Qsjem':function(_0x46e529,_0x5e1634,_0x4e30af,_0x312934){return _0x46e529(_0x5e1634,_0x4e30af,_0x312934);},'xItRZ':function(_0x4ba82a,_0x5d8042,_0x5cb338,_0x175697){return _0x4ba82a(_0x5d8042,_0x5cb338,_0x175697);},'BuJPl':function(_0x2d58bc,_0x509357){return _0x2d58bc!=_0x509357;},'HvBhm':_0x1ff25b(0x1db),'MSaZA':function(_0x3b0ecb,_0x13a110,_0x526fe5){return _0x3b0ecb(_0x13a110,_0x526fe5);},'PyVgY':_0x1ff25b(0x262),'edWJG':function(_0xb47287,_0x506721){return _0xb47287(_0x506721);},'HAvMF':function(_0x476777,_0x3fb5cc){return _0x476777(_0x3fb5cc);},'KvKfe':_0x1ff25b(0x213),'zarPq':function(_0x247d60,_0x487c34,_0x542d7d){return _0x247d60(_0x487c34,_0x542d7d);},'aMXOl':function(_0x595058,_0x5cf872){return _0x595058*_0x5cf872;},'wDaDI':function(_0x5afc94,_0x348954){return _0x5afc94===_0x348954;},'pZFYH':'jest_browserstack.config.cjs','ngnbp':_0x1ff25b(0x254),'bmgXJ':_0x1ff25b(0x20a),'GzEIJ':'jest_browserstack_results.json','HVxdX':'customTestRunner.js','qpmkl':'customTestRunnerTemplate.js','buFlT':'customEnvironment.js','pPMGw':function(_0x1d9636,_0x22017e){return _0x1d9636!==_0x22017e;},'nGzXB':_0x1ff25b(0x1ac),'IwMZg':_0x1ff25b(0x201),'qLhRM':_0x1ff25b(0x255),'kSvPr':'customSequencer.js','QAkzs':_0x1ff25b(0x267),'ajTEh':_0x1ff25b(0x22c),'BPvuo':'jest-circus/build/runner.js','KWZMn':_0x1ff25b(0x1c5),'IKlWe':_0x1ff25b(0x215),'NyXrq':_0x1ff25b(0x25b),'wgPjQ':_0x1ff25b(0x220),'fnXGD':_0x1ff25b(0x1ec),'RNjNG':_0x1ff25b(0x198),'BhFLC':_0x1ff25b(0x1b5),'pYJxR':_0x1ff25b(0x22d),'JrZGP':_0x1ff25b(0x250),'VEPUl':function(_0x935fbd,_0x922710){return _0x935fbd&&_0x922710;},'AJwVN':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','ykSfr':_0x1ff25b(0x1b4),'ROtjh':'puppeteer-core/package.json','kEEHW':'default','MvERL':function(_0x107480,_0x55a318,_0x32f8e1){return _0x107480(_0x55a318,_0x32f8e1);},'QtUSM':_0x1ff25b(0x19d),'arXQk':'@jest/core','bQcmQ':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','hQJDu':function(_0x297f89,_0xfea062){return _0x297f89>_0xfea062;},'ucALv':_0x1ff25b(0x275),'cHiSt':'--config','qgxeA':_0x1ff25b(0x1a1),'ucnnS':function(_0x53dbb4,_0x5e8aa5){return _0x53dbb4===_0x5e8aa5;},'hGXQe':_0x1ff25b(0x207),'kqjGJ':_0x1ff25b(0x1f1),'WLWaL':_0x1ff25b(0x199)},_0x2119ad=helper[_0x1ff25b(0x23c)](_0x23cbd9[_0x1ff25b(0x280)]);global[_0x1ff25b(0x1c7)]=!!_0x2119ad;const _0x53f1d1=_0x23cbd9[_0x1ff25b(0x1d5)](getPuppeteerVersion);global[_0x1ff25b(0x285)]=!!_0x53f1d1;helper[_0x1ff25b(0x1ae)]()&&(await _0x3fd0fd[_0x1ff25b(0x1b6)](_0x4a52fc),await helper[_0x1ff25b(0x1a5)](_0x3fd0fd['config']));if(_0x2119ad)await _0x23cbd9[_0x1ff25b(0x219)](checkPwandBootstrapCli,_0x2119ad,constants[_0x1ff25b(0x1a2)][_0x1ff25b(0x226)],_0x3fd0fd);else _0x53f1d1&&await _0x23cbd9['xItRZ'](checkPuppeteerAndBootstrapCli,_0x53f1d1,constants['FRAMEWORKS']['JEST'],_0x3fd0fd);!BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x284)]()&&await _0x3fd0fd[_0x1ff25b(0x231)]();if(!_0x3fd0fd[_0x1ff25b(0x1e5)])return;_0x23cbd9[_0x1ff25b(0x224)](_0x3fd0fd[_0x1ff25b(0x1e5)]['testObservability'],null)?process[_0x1ff25b(0x232)][_0x1ff25b(0x25a)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x27a)]:process['env'][_0x1ff25b(0x25a)]=_0x23cbd9[_0x1ff25b(0x190)];const _0x286ca3=new TestOrchestrationHandler(_0x3fd0fd[_0x1ff25b(0x1e5)]),_0x121b69=await _0x23cbd9[_0x1ff25b(0x1c1)](getUserJestConfigs,_0x4a52fc,_0x132ab8);logger['info'](_0x23cbd9[_0x1ff25b(0x282)]);const _0x2f4649=Object['assign']({},_0x121b69);_0x2f4649[_0x1ff25b(0x1e2)]=Object[_0x1ff25b(0x1e1)]({},_0x2f4649['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x3fd0fd[_0x1ff25b(0x1e5)]),'environment':_0x121b69[_0x1ff25b(0x27f)]}),_0x2f4649[_0x1ff25b(0x1e2)]['browserStackPercyOptions']=_0x23cbd9['edWJG'](getPercyOptions,_0x3fd0fd[_0x1ff25b(0x1e5)]);const _0x1661a2=helper[_0x1ff25b(0x222)](_0x3fd0fd[_0x1ff25b(0x1e5)]);!helper[_0x1ff25b(0x1f8)](_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1da)])&&(process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x1ff25b(0x193)](_0x3fd0fd['config'][_0x1ff25b(0x1da)]));if(!BrowserstackCLI[_0x1ff25b(0x1ca)]()['isRunning']()){const _0x4db962=await TestHubHandler[_0x1ff25b(0x1ef)](FRAMEWORKS[_0x1ff25b(0x226)],_0x3fd0fd);}const _0x48b939=helper[_0x1ff25b(0x217)](_0x3fd0fd[_0x1ff25b(0x1e5)],_0x1661a2,constants[_0x1ff25b(0x1a2)][_0x1ff25b(0x226)]);process[_0x1ff25b(0x232)][_0x1ff25b(0x1e9)]=JSON[_0x1ff25b(0x193)](_0x48b939);let _0x164a4b=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x288)];_0x164a4b=_0x164a4b||accessibilityHelper[_0x1ff25b(0x1a7)](_0x3fd0fd[_0x1ff25b(0x1e5)]),process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x164a4b,logger[_0x1ff25b(0x271)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x164a4b+_0x1ff25b(0x1b3)+BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x284)]());if(_0x2119ad)try{const _0x186cfa=_0x23cbd9[_0x1ff25b(0x243)](checkAccessibilityPlatformConfig,_0x3fd0fd[_0x1ff25b(0x1e5)]);process[_0x1ff25b(0x232)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x186cfa?_0x23cbd9['HvBhm']:_0x23cbd9[_0x1ff25b(0x19f)],logger[_0x1ff25b(0x271)](_0x1ff25b(0x1ff)+_0x186cfa+_0x1ff25b(0x1f2)+process['env'][_0x1ff25b(0x237)]);}catch(_0x33a86a){logger[_0x1ff25b(0x271)](_0x1ff25b(0x26a)+util[_0x1ff25b(0x202)](_0x33a86a));}_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1e7)]=_0x48b939,_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1b8)]=_0x23cbd9[_0x1ff25b(0x1bf)](getSerial,_0x48b939,_0x4a52fc),_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x1f6)]=_0x23cbd9[_0x1ff25b(0x219)](getMaxWorkers,_0x4a52fc,_0x3fd0fd[_0x1ff25b(0x1e5)],_0x121b69),_0x2f4649[_0x1ff25b(0x1e2)]['proxySettings']=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x235)],_0x2f4649['testEnvironmentOptions']['timeout__']=_0x23cbd9[_0x1ff25b(0x18b)](_0x4a52fc['testTimeout'],0x1)||0x1388,_0x2f4649['testEnvironmentOptions'][_0x1ff25b(0x283)]=_0x3fd0fd['config']['testContextOptions'][_0x1ff25b(0x283)],_0x2f4649['testEnvironmentOptions'][_0x1ff25b(0x273)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x261)]['skipSessionStatus'],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x242)]=_0x3fd0fd['config'][_0x1ff25b(0x1eb)],_0x2f4649['testEnvironmentOptions']['turboScaleUrl']=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1ba)],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x256)]=_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)];const _0x4c0ff4=helper['parseTestOrchestrationOptions'](_0x3fd0fd[_0x1ff25b(0x1e5)]);if(!helper[_0x1ff25b(0x1cf)](_0x4c0ff4)){helper[_0x1ff25b(0x21d)](_0x4c0ff4[_0x1ff25b(0x25d)])&&(_0x2f4649['testEnvironmentOptions']['retries__']=_0x4c0ff4[_0x1ff25b(0x25d)][_0x1ff25b(0x1bc)]);if(helper[_0x1ff25b(0x21d)](_0x4c0ff4[_0x1ff25b(0x211)])&&helper[_0x1ff25b(0x21d)](_0x4c0ff4['abortBuildOnFailure'][_0x1ff25b(0x279)])){const _0x320868={};_0x320868[_0x1ff25b(0x22e)]=_0x4c0ff4['abortBuildOnFailure']['maxFailures'],_0x320868[_0x1ff25b(0x279)]=_0x4c0ff4['abortBuildOnFailure'][_0x1ff25b(0x279)],_0x2f4649[_0x1ff25b(0x1e2)][_0x1ff25b(0x196)]=_0x320868;}}let _0xe80c91='';_0x23cbd9[_0x1ff25b(0x22f)](helper[_0x1ff25b(0x258)](),constants[_0x1ff25b(0x19c)][_0x1ff25b(0x1cc)])?_0xe80c91=_0x23cbd9['pZFYH']:_0xe80c91=_0x23cbd9[_0x1ff25b(0x245)];const _0x3cae22=_0xe80c91,_0x2f9916=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1ad)]),_0x45c44c=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9['HVxdX']),_0x5632f1=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1d7)]);_0x2f4649[_0x1ff25b(0x27f)]&&(process[_0x1ff25b(0x232)][_0x1ff25b(0x19b)]=_0x2f4649[_0x1ff25b(0x27f)]);_0x2f4649[_0x1ff25b(0x27f)]=path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1c0)],_0x23cbd9['buFlT']);const _0x599d60=_0x121b69[_0x1ff25b(0x1d3)];if(_0x599d60&&_0x23cbd9[_0x1ff25b(0x214)](_0x599d60,_0x23cbd9[_0x1ff25b(0x1f7)])){const _0x1372f4=_0x599d60[_0x1ff25b(0x27e)](_0x23cbd9[_0x1ff25b(0x257)])?_0x599d60:_0x1ff25b(0x201)+_0x599d60;process['env'][_0x1ff25b(0x1e0)]=_0x1372f4,logger[_0x1ff25b(0x233)]('Preserving\x20user\x27s\x20Jest\x20runner:\x20'+_0x1372f4);}_0x2f4649['runner']=_0x45c44c,_0x2f4649[_0x1ff25b(0x1dc)]=_0x2f4649[_0x1ff25b(0x1dc)]||[],_0x2f4649[_0x1ff25b(0x1dc)][_0x1ff25b(0x277)](path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1de)]));_0x286ca3[_0x1ff25b(0x1d0)]()&&(_0x2f4649[_0x1ff25b(0x238)]=path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x1c0)],_0x23cbd9[_0x1ff25b(0x268)]));if(testhubUtils[_0x1ff25b(0x240)]()||BrowserstackCLI[_0x1ff25b(0x1ca)]()[_0x1ff25b(0x20b)]()){let _0x4bdab1=null;try{_0x4bdab1=helper[_0x1ff25b(0x1b0)](_0x23cbd9[_0x1ff25b(0x1b9)],_0x23cbd9[_0x1ff25b(0x229)]);}catch(_0x1a3bef){try{_0x4bdab1=helper[_0x1ff25b(0x1b0)](_0x23cbd9['BPvuo'],_0x23cbd9['ajTEh']);}catch(_0x17e9e5){_0x23cbd9[_0x1ff25b(0x278)](debug,_0x1ff25b(0x1aa)+_0x17e9e5);}}_0x4bdab1&&(testhubUtils[_0x1ff25b(0x240)]()&&_0x2f4649['setupFilesAfterEnv'][_0x1ff25b(0x277)](path['join'](__dirname,_0x23cbd9[_0x1ff25b(0x1af)],_0x23cbd9['IKlWe'])),_0x2f4649['testRunner']=path['join'](__dirname,_0x23cbd9['bmgXJ'],_0x23cbd9[_0x1ff25b(0x1dd)]));}_0x2f4649[_0x1ff25b(0x1d6)]=_0x2f4649[_0x1ff25b(0x1d6)]||[];try{helper['requireSeleniumWebdriver'](),_0x2f4649['setupFiles'][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x194)]));}catch{logger[_0x1ff25b(0x271)](_0x23cbd9['fnXGD']);}try{helper[_0x1ff25b(0x19e)][_0x1ff25b(0x210)](null,[_0x23cbd9[_0x1ff25b(0x280)],_0x23cbd9[_0x1ff25b(0x21f)]]),logger[_0x1ff25b(0x271)](_0x23cbd9['BhFLC']),_0x2f4649[_0x1ff25b(0x1d6)][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,_0x23cbd9[_0x1ff25b(0x1f4)]));}catch(_0x19b23d){logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x263)],_0x19b23d);}if(_0x23cbd9[_0x1ff25b(0x1c4)](!_0x2119ad,_0x53f1d1)){try{logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x188)]),_0x2f4649['setupFilesAfterEnv'][_0x1ff25b(0x277)](path[_0x1ff25b(0x246)](__dirname,'..',_0x23cbd9[_0x1ff25b(0x1df)],_0x23cbd9['pYJxR']));}catch(_0x47290a){logger[_0x1ff25b(0x271)](_0x1ff25b(0x21a)+_0x47290a[_0x1ff25b(0x24a)]);}try{const _0x179630=require[_0x1ff25b(0x216)](_0x23cbd9[_0x1ff25b(0x1b7)]),_0x514c1e=path[_0x1ff25b(0x27d)](_0x179630)[_0x1ff25b(0x208)](/\\/g,'/'),_0x282108={};_0x282108[_0x1ff25b(0x26e)]=_0x514c1e+_0x1ff25b(0x228),_0x2f4649[_0x1ff25b(0x1fb)]=Object[_0x1ff25b(0x1e1)]({},_0x2f4649['moduleNameMapper']||{},_0x282108),logger['debug'](_0x1ff25b(0x1e3)+_0x514c1e);}catch(_0x47f77c){logger['debug'](_0x1ff25b(0x1c2)+_0x47f77c[_0x1ff25b(0x24a)]);}}_0x2f4649['reporters']=_0x2f4649[_0x1ff25b(0x1bd)]||[_0x23cbd9[_0x1ff25b(0x259)]],_0x23cbd9['MvERL'](updateTestRerunConfig,_0x2f4649,_0x3fd0fd);const _0x28af24=fs[_0x1ff25b(0x1d8)](_0x5632f1),_0x18134b=helper[_0x1ff25b(0x25e)](_0x23cbd9[_0x1ff25b(0x206)],_0x23cbd9[_0x1ff25b(0x22b)]);!_0x18134b[_0x1ff25b(0x212)]?fs[_0x1ff25b(0x18c)](_0x2f4649['runner'],_0x1ff25b(0x1f5)+_0x28af24+'\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'+_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)][_0x1ff25b(0x23f)]+_0x1ff25b(0x26d)):fs[_0x1ff25b(0x18c)](_0x2f4649[_0x1ff25b(0x1d3)],_0x1ff25b(0x1f5)+_0x28af24+'\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'+_0x3fd0fd[_0x1ff25b(0x1e5)][_0x1ff25b(0x1a8)]['length']+_0x1ff25b(0x1fa));logger['info']('Creating\x20'+_0x3cae22+_0x1ff25b(0x1d9)),fs[_0x1ff25b(0x18c)](_0x3cae22,_0x1ff25b(0x209)+JSON[_0x1ff25b(0x193)](_0x2f4649)+_0x1ff25b(0x266));if(_0x286ca3[_0x1ff25b(0x1d0)]()){logger[_0x1ff25b(0x271)](_0x23cbd9[_0x1ff25b(0x1d4)]);const _0x361aaa=await _0x286ca3[_0x1ff25b(0x227)](_0x2f4649,_0x132ab8[_0x1ff25b(0x264)](0x1),_0x3cae22);logger['debug'](_0x1ff25b(0x1ce)+JSON[_0x1ff25b(0x193)](_0x361aaa)+'\x20test\x20files\x20to\x20run.');const _0x28fcb7=await _0x286ca3['reorderTestFiles'](_0x361aaa);logger[_0x1ff25b(0x271)](_0x1ff25b(0x1e8)+JSON[_0x1ff25b(0x193)](_0x28fcb7)),_0x28fcb7&&_0x23cbd9[_0x1ff25b(0x234)](_0x28fcb7[_0x1ff25b(0x23f)],0x0)&&(process[_0x1ff25b(0x232)][_0x1ff25b(0x18e)]=_0x28fcb7?.[_0x1ff25b(0x246)](','));}logger['info'](_0x23cbd9[_0x1ff25b(0x23a)]);testhubUtils[_0x1ff25b(0x240)]()&&TestDetails[_0x1ff25b(0x1f0)]();helper[_0x1ff25b(0x24f)]({},_0x132ab8),PerformanceTester[_0x1ff25b(0x18f)](PerformanceEvents[_0x1ff25b(0x20e)]);const _0x16ee7a=[_0x23cbd9[_0x1ff25b(0x276)],_0x23cbd9[_0x1ff25b(0x21e)],_0x3cae22,..._0x132ab8[_0x1ff25b(0x264)](0x1)];process[_0x1ff25b(0x232)]['BROWSERSTACK_FRAMEWORK']=process[_0x1ff25b(0x232)][_0x1ff25b(0x197)]||_0x23cbd9['uAigl'];const _0x7f2dc0=_0x23cbd9[_0x1ff25b(0x19a)](spawn,_0x23cbd9['qgxeA'],_0x16ee7a,{'shell':_0x23cbd9[_0x1ff25b(0x1e6)](process[_0x1ff25b(0x27c)],_0x23cbd9['hGXQe']),'stdio':_0x23cbd9[_0x1ff25b(0x1ab)],'env':Object[_0x1ff25b(0x1e1)]({},process['env'])});_0x7f2dc0['on'](_0x23cbd9[_0x1ff25b(0x20f)],async _0x595fc7=>{const _0x14ee42=_0x1ff25b;PerformanceTester['start'](PerformanceEvents[_0x14ee42(0x23d)]),process[_0x14ee42(0x1f9)]=_0x595fc7,logger['debug'](_0x14ee42(0x270)+_0x595fc7),logger['info'](_0x14ee42(0x1c8)+_0x3cae22);if(helper['isNotUndefined'](_0x4c0ff4)&&helper[_0x14ee42(0x21d)](_0x4c0ff4[_0x14ee42(0x211)])&&fs[_0x14ee42(0x1c3)](_0x4c0ff4[_0x14ee42(0x211)]['workingDir']))try{const _0x2ccad8={};_0x2ccad8[_0x14ee42(0x24b)]=!![],_0x2ccad8[_0x14ee42(0x1be)]=!![],fs['rmSync'](_0x4c0ff4['abortBuildOnFailure'][_0x14ee42(0x279)],_0x2ccad8),logger[_0x14ee42(0x271)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x4c0ff4[_0x14ee42(0x211)]['workingDir']);}catch(_0x13dc13){logger['error'](_0x14ee42(0x252)+_0x13dc13);}let _0x38ab4b=null;if(fs[_0x14ee42(0x1c3)](_0x2f9916)){_0x38ab4b=fs[_0x14ee42(0x1d8)](_0x2f9916);try{_0x38ab4b=JSON[_0x14ee42(0x249)](_0x38ab4b);}catch(_0x30d33f){logger['debug'](_0x14ee42(0x24e)+_0x2f9916+',\x20'+_0x38ab4b+_0x14ee42(0x189)+_0x30d33f);}fs[_0x14ee42(0x1a4)](_0x2f9916);}fs[_0x14ee42(0x1a4)](_0x3cae22),fs[_0x14ee42(0x1a4)](_0x45c44c),_0x38ab4b&&(_0x3fd0fd[_0x14ee42(0x251)]=helper[_0x14ee42(0x1fc)](_0x38ab4b,_0x23cbd9['uAigl'],_0x3fd0fd));const _0x41060d=BrowserstackCLI[_0x14ee42(0x24c)]();try{await TestHubHandler[_0x14ee42(0x223)](),await BrowserstackCLI['getInstance']()[_0x14ee42(0x223)]();}catch(_0xb0f37a){console['log'](_0xb0f37a),_0x23cbd9[_0x14ee42(0x278)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util['format'](_0xb0f37a));}testOpsHelper[_0x14ee42(0x1b2)](),TestDetails[_0x14ee42(0x225)](),await utilities[_0x14ee42(0x27b)](_0x3fd0fd,_0x41060d);});}module[a17_0x5a139a(0x1bb)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x248cda=a18_0x464a;(function(_0x344b40,_0x3cc662){const _0x35becf=a18_0x464a,_0x280dbb=_0x344b40();while(!![]){try{const _0x5ea883=parseInt(_0x35becf(0x1a2))/0x1+parseInt(_0x35becf(0x1a6))/0x2*(parseInt(_0x35becf(0x19e))/0x3)+-parseInt(_0x35becf(0x197))/0x4+parseInt(_0x35becf(0x191))/0x5+-parseInt(_0x35becf(0x1a4))/0x6*(-parseInt(_0x35becf(0x19c))/0x7)+-parseInt(_0x35becf(0x194))/0x8*(parseInt(_0x35becf(0x193))/0x9)+parseInt(_0x35becf(0x1a0))/0xa;if(_0x5ea883===_0x3cc662)break;else _0x280dbb['push'](_0x280dbb['shift']());}catch(_0x157c79){_0x280dbb['push'](_0x280dbb['shift']());}}}(a18_0x3e66,0x3cc27));const path=require('path'),{requireModule}=require(a18_0x248cda(0x19d));function a18_0x464a(_0x4f22df,_0xca5d98){const _0x3e6697=a18_0x3e66();return a18_0x464a=function(_0x464a19,_0xdcfff8){_0x464a19=_0x464a19-0x190;let _0x29a377=_0x3e6697[_0x464a19];return _0x29a377;},a18_0x464a(_0x4f22df,_0xca5d98);}function a18_0x3e66(){const _0x16948b=['1140988JOLVSn','default','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','join','customJestAdapterInit.js','392VKdKEb','../../../helpers/helper','2229OjrGxM','tQtqK','988640FjSCQC','jestAdapterInit','188gkKdfu','requireInternalModule','22944cCuRah','jest-circus','730RwlFhL','initRequireModule','exports','495715rqDtkl','includes','168093aUALeY','64RSFUHe','HaVth','function'];a18_0x3e66=function(){return _0x16948b;};return a18_0x3e66();}let initJestAdapter;try{initJestAdapter=requireModule(a18_0x248cda(0x199),a18_0x248cda(0x1a5));}catch{initJestAdapter=requireModule('jest-circus/build/runner.js','jest-circus');}initJestAdapter=typeof initJestAdapter===a18_0x248cda(0x196)?initJestAdapter:initJestAdapter[a18_0x248cda(0x198)];const FRAMEWORK_INITIALIZER=path[a18_0x248cda(0x19a)](__dirname,a18_0x248cda(0x19b));module[a18_0x248cda(0x190)]=(..._0xac54e9)=>{const _0x1dd404=a18_0x248cda,_0x1e1efd={'PYrgt':_0x1dd404(0x1a1),'tQtqK':function(_0x4c73d4,_0x1b01c4){return _0x4c73d4===_0x1b01c4;},'HaVth':function(_0x5bb36c,..._0x387521){return _0x5bb36c(..._0x387521);}};return _0xac54e9[0x3]['initRequireModule']=_0xac54e9[0x3][_0x1dd404(0x1a3)],_0xac54e9[0x3][_0x1dd404(0x1a3)]=(..._0x21aca4)=>{const _0x7e1fa5=_0x1dd404;if(_0x21aca4[0x0]&&_0x21aca4[0x0][_0x7e1fa5(0x192)](_0x1e1efd['PYrgt'])&&_0x1e1efd[_0x7e1fa5(0x19f)](_0x21aca4[0x1],undefined))return _0xac54e9[0x3][_0x7e1fa5(0x1a7)](FRAMEWORK_INITIALIZER);return _0xac54e9[0x3][_0x7e1fa5(0x1a7)](..._0x21aca4);},_0x1e1efd[_0x1dd404(0x195)](initJestAdapter,..._0xac54e9);};
|