browserstack-node-sdk 1.64.1 → 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_0x471794=a14_0x8568;(function(_0x7872c0,_0x4a4d76){const _0x2d14ad=a14_0x8568,_0x1b0d56=_0x7872c0();while(!![]){try{const _0x4820ca=parseInt(_0x2d14ad(0x1c9))/0x1+parseInt(_0x2d14ad(0x19f))/0x2+-parseInt(_0x2d14ad(0x1fe))/0x3+-parseInt(_0x2d14ad(0x1ea))/0x4+-parseInt(_0x2d14ad(0x1e5))/0x5+parseInt(_0x2d14ad(0x1fc))/0x6+-parseInt(_0x2d14ad(0x18a))/0x7*(-parseInt(_0x2d14ad(0x1ff))/0x8);if(_0x4820ca===_0x4a4d76)break;else _0x1b0d56['push'](_0x1b0d56['shift']());}catch(_0x41330e){_0x1b0d56['push'](_0x1b0d56['shift']());}}}(a14_0x29c2,0x9fa65));const path=require(a14_0x471794(0x1cb)),fs=require('fs'),{v4:uuidv4}=require(a14_0x471794(0x1ab)),testhubUtils=require(a14_0x471794(0x1dc)),{FRAMEWORKS}=require(a14_0x471794(0x184)),SessionHandler=require(a14_0x471794(0x188)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a14_0x471794(0x20b)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x471794(0x185),a14_0x311562={};a14_0x311562[a14_0x471794(0x19b)]=a14_0x471794(0x19b),a14_0x311562['failed']='failed',a14_0x311562['pending']=a14_0x471794(0x1c2),a14_0x311562[a14_0x471794(0x1d7)]=a14_0x471794(0x1d6);const STATUS_MAP=a14_0x311562;function a14_0x29c2(){const _0x4e5e07=['TestRunFinished','trim','VLAUu','UnhandledError','../../../helpers/testhub/utils','delete','finished_at','GUQGH','exports','_collapseFailedExpectations','XOEXF','jasmineDone','EGFqZ','763800MnNisa','Ilaki','statSync','MRhNb','add','3194088dnMoNW','KPTXN','cgWjp','suiteDone','failure_reason_expanded','vQZcB','suiteStarted','ahjbt','startsWith','fPuDZ','EtnDi','_suitesById','specStarted','nAoDc','paCml','specDone','fullName','get','1322928oHjkVJ','shouldProcessEventForTesthub','955287NVnwCM','142376hNccyC','hIjYk','sofZb','FOHdv','bQkKQ','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','ETJei','started_at','expected','failure','XHKtt','config','../../../helpers/test-observability/utils','_scopes','../../../helpers/test-observability/constants','Jasmine','setCurrentTestData','slice','../../../helpers/test-observability/sessionHandler','failedExpectations','49NvYMqt','sep','dirname','err','Krobd','lcOSE','_sendSpecEvent','reverse','failure_backtrace','relative','uploadEventData','VaEJA','IqBJL','rvksz','HOqbp','Resag','filename','passed','push','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','status','1202040npRyEs','mmYqg','actual','_paths','ggmFw','TTXgM','remove','message','duration','File\x20path\x20could\x20not\x20be\x20found','lang','wpUuW','uuid','isArray','aUBhZ','has','_findGitConfig','TestRunSkipped','HsCSA','Exception\x20in\x20jasmine\x20specDone\x20for\x20','AssertionError','_resolveFilePath','lyVUY','Fqaru','set','XYyVT','length','zvAQJ','parentSuiteId','join','mDSmL','JQGYQ','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','stack','pending','OBvsU','QSDHH','Spec\x20failed','split','WrEvC','code','977549RjmeQw','number','path','_fileNameByFullName','match','matcherName','testObservability','\x20:\x20','eHlUu','ZlLvL','description','appendTesthubParams','NBCZe','skipped','excluded'];a14_0x29c2=function(){return _0x4e5e07;};return a14_0x29c2();}class BrowserStackJasmineReporter{constructor(_0x1d542a={}){const _0x127c7d=a14_0x471794,_0x4344ad={'SIfEq':function(_0x1a0864){return _0x1a0864();}};this[_0x127c7d(0x1cf)]=_0x4344ad['SIfEq'](isTestObservabilitySession),this[_0x127c7d(0x1a2)]=new PathHelper({'cwd':process['cwd']()},undefined),this[_0x127c7d(0x1cc)]=_0x1d542a&&_0x1d542a['fileNameByFullName']||{},this['_suitesById']=new Map();}['jasmineStarted'](){}[a14_0x471794(0x1f0)](_0x2a1565){const _0x9b6e2=a14_0x471794,_0x1864ae={'mDSmL':function(_0x492e53,_0x5ada5b){return _0x492e53!==_0x5ada5b;},'aUBhZ':function(_0x3893da,_0x4aa21a){return _0x3893da!==_0x4aa21a;},'gforf':function(_0x1d004e,_0x1b7082){return _0x1d004e(_0x1b7082);}};try{_0x2a1565&&_0x1864ae[_0x9b6e2(0x1bd)](_0x2a1565['id'],undefined)&&_0x1864ae[_0x9b6e2(0x1ad)](_0x2a1565['id'],null)&&this[_0x9b6e2(0x1f5)][_0x9b6e2(0x1b7)](_0x2a1565['id'],{'description':_0x2a1565[_0x9b6e2(0x1d3)],'parentSuiteId':_0x2a1565[_0x9b6e2(0x1bb)]});}catch(_0x204ca4){_0x1864ae['gforf'](debug,_0x9b6e2(0x19d)+(_0x2a1565&&_0x2a1565['fullName'])+_0x9b6e2(0x1d0)+_0x204ca4);}}[a14_0x471794(0x1f6)](_0x31fd4a){const _0x17d205=a14_0x471794,_0x1aaa44={'hIjYk':function(_0x2ad799,_0x1abeda){return _0x2ad799!==_0x1abeda;},'mmYqg':function(_0x4efa18){return _0x4efa18();},'ETJei':'TestRunStarted','lDiPw':function(_0xf1d715,_0x595090){return _0xf1d715(_0x595090);}};try{if(_0x1aaa44[_0x17d205(0x200)](testhubUtils[_0x17d205(0x1fd)](),!![]))return;const _0x1927d4=_0x1aaa44[_0x17d205(0x1a0)](uuidv4);testRunMap[_0x17d205(0x1b7)](_0x31fd4a['id'],_0x1927d4),this['_sendSpecEvent'](_0x31fd4a,_0x1927d4,_0x1aaa44[_0x17d205(0x205)]);}catch(_0x45eef9){_0x1aaa44['lDiPw'](debug,_0x17d205(0x204)+(_0x31fd4a&&_0x31fd4a[_0x17d205(0x1fa)])+_0x17d205(0x1d0)+_0x45eef9);}}[a14_0x471794(0x1f9)](_0x4e99d7){const _0x6edcd1=a14_0x471794,_0x45e606={'Ilaki':function(_0x38e556,_0x35d060){return _0x38e556!==_0x35d060;},'paCml':function(_0x535751){return _0x535751();},'vQZcB':function(_0x1f97a1,_0x3496e9){return _0x1f97a1===_0x3496e9;},'KPTXN':_0x6edcd1(0x1d7),'XJnem':_0x6edcd1(0x1b0),'WrEvC':_0x6edcd1(0x1d8),'NBCZe':function(_0x11bce2,_0x54794d){return _0x11bce2(_0x54794d);}};try{if(_0x45e606[_0x6edcd1(0x1e6)](testhubUtils[_0x6edcd1(0x1fd)](),!![]))return;const _0x33d76f=testRunMap[_0x6edcd1(0x1fb)](_0x4e99d7['id'])||_0x45e606[_0x6edcd1(0x1f8)](uuidv4),_0x336e2e=_0x45e606[_0x6edcd1(0x1ef)](_0x4e99d7[_0x6edcd1(0x19e)],_0x45e606[_0x6edcd1(0x1eb)])?_0x45e606['XJnem']:_0x45e606[_0x6edcd1(0x1c7)];this[_0x6edcd1(0x190)](_0x4e99d7,_0x33d76f,_0x336e2e);}catch(_0x628cb7){_0x45e606[_0x6edcd1(0x1d5)](debug,_0x6edcd1(0x1b2)+(_0x4e99d7&&_0x4e99d7[_0x6edcd1(0x1fa)])+_0x6edcd1(0x1d0)+_0x628cb7);}finally{_0x4e99d7&&(testRunMap[_0x6edcd1(0x1a5)](_0x4e99d7['id']),_specStartTimes[_0x6edcd1(0x1dd)](_0x4e99d7['id']));}}[a14_0x471794(0x1ed)](){}[a14_0x471794(0x1e3)](){}['_sendSpecEvent'](_0x36956d,_0x3faac7,_0x3f9f1e){const _0x235c05=a14_0x471794,_0x5192fb={'HsCSA':function(_0x114879,_0x291910){return _0x114879===_0x291910;},'Krobd':_0x235c05(0x1d8),'HkEgd':function(_0xf79d52,_0x926761){return _0xf79d52===_0x926761;},'QSDHH':'TestRunSkipped','GUQGH':_0x235c05(0x1a8),'cgWjp':function(_0xe1e41e,_0x3bc1f3,_0x3280e0){return _0xe1e41e(_0x3bc1f3,_0x3280e0);},'DoHsR':_0x235c05(0x18d),'Fqaru':'TestRunStarted','bQkKQ':function(_0x4fcc7b,_0x34c8fa){return _0x4fcc7b!==_0x34c8fa;},'lcOSE':function(_0x4c5669,_0x54be3d){return _0x4c5669===_0x54be3d;},'ahjbt':'javascript','eHlUu':function(_0x3a1542,_0xc3df89){return _0x3a1542&&_0xc3df89;},'nAoDc':_0x235c05(0x1d6),'MRhNb':'passed','TTXgM':_0x235c05(0x1ca),'rvksz':_0x235c05(0x1b3),'XYyVT':_0x235c05(0x1db),'IqBJL':_0x235c05(0x206),'ggmFw':_0x235c05(0x1de),'MYXCV':_0x235c05(0x208),'HOqbp':_0x235c05(0x192),'ZlLvL':'backtrace','JQGYQ':_0x235c05(0x1ee),'OBvsU':'expanded','aErcY':function(_0x232c46,_0x2730bd){return _0x232c46===_0x2730bd;},'EtnDi':function(_0xc72110,_0x239569){return _0xc72110(_0x239569);}};try{const _0x24075f=_0x5192fb[_0x235c05(0x1b1)](_0x3f9f1e,_0x5192fb[_0x235c05(0x18e)])||_0x5192fb['HkEgd'](_0x3f9f1e,_0x5192fb[_0x235c05(0x1c4)]),_0x58c693=this[_0x235c05(0x1b4)](_0x36956d),_0x2a9ce4=_0x58c693?this['_paths']['prefixTestPath'](_0x58c693):_0x5192fb[_0x235c05(0x1df)],_0x53fa38=_0x58c693?this[_0x235c05(0x1af)](path['dirname'](_0x58c693)):null,_0x1c7a12=this['_collapseFailedExpectations'](_0x36956d[_0x235c05(0x189)]),_0x3cbbe3=_0x1c7a12?_0x1c7a12['message']:undefined,_0x2ed5ce=_0x1c7a12?_0x5192fb[_0x235c05(0x1ec)](failureData,_0x1c7a12,_0x5192fb['DoHsR']):[],_0x54731c=new Date()['toISOString'](),_0x85164=this[_0x235c05(0x183)](_0x36956d);_0x5192fb['HsCSA'](_0x3f9f1e,_0x5192fb[_0x235c05(0x1b6)])&&_0x36956d&&_0x5192fb[_0x235c05(0x203)](_0x36956d['id'],undefined)&&_0x5192fb[_0x235c05(0x203)](_0x36956d['id'],null)&&_specStartTimes[_0x235c05(0x1b7)](_0x36956d['id'],_0x54731c);const _0xe08fb0=_0x5192fb[_0x235c05(0x18f)](_0x3f9f1e,_0x5192fb['Fqaru'])?_0x54731c:_0x36956d&&_specStartTimes[_0x235c05(0x1fb)](_0x36956d['id'])||null,_0x512497={};_0x512497[_0x235c05(0x1a9)]=_0x5192fb[_0x235c05(0x1f1)],_0x512497[_0x235c05(0x1c8)]=null;const _0x4dcb68={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x3faac7,'name':_0x36956d[_0x235c05(0x1d3)],'body':_0x512497,'scope':_0x85164[_0x235c05(0x1bc)]('\x20'),'scopes':_0x85164,'identifier':_0x36956d[_0x235c05(0x1fa)],'file_name':_0x2a9ce4,'vc_filepath':_0x5192fb[_0x235c05(0x1d1)](_0x53fa38,_0x58c693)?path[_0x235c05(0x193)](_0x53fa38,_0x58c693):null,'location':_0x2a9ce4,'result':_0x5192fb[_0x235c05(0x18f)](_0x3f9f1e,_0x5192fb[_0x235c05(0x1c4)])?_0x5192fb[_0x235c05(0x1f7)]:STATUS_MAP[_0x36956d[_0x235c05(0x19e)]]||_0x5192fb[_0x235c05(0x1e8)],'failure_reason':_0x3cbbe3,'duration_in_ms':_0x5192fb['HkEgd'](typeof _0x36956d[_0x235c05(0x1a7)],_0x5192fb[_0x235c05(0x1a4)])?_0x36956d[_0x235c05(0x1a7)]:null,'started_at':_0xe08fb0,'finished_at':_0x24075f?_0x54731c:null,'failure':_0x2ed5ce,'failure_type':!_0x3cbbe3?null:_0x3cbbe3[_0x235c05(0x1cd)](/AssertionError/)?_0x5192fb[_0x235c05(0x197)]:_0x5192fb[_0x235c05(0x1b8)],'retry_of':null};_0x5192fb[_0x235c05(0x1b1)](_0x3f9f1e,_0x5192fb[_0x235c05(0x1c4)])&&!_0x4dcb68[_0x5192fb[_0x235c05(0x196)]]&&(_0x4dcb68[_0x5192fb['IqBJL']]=_0x4dcb68[_0x5192fb[_0x235c05(0x1a3)]]);const _0xaaf4bf=_0x4dcb68[_0x5192fb['MYXCV']][0x0];_0xaaf4bf&&(_0x4dcb68[_0x5192fb[_0x235c05(0x198)]]=_0xaaf4bf[_0x5192fb[_0x235c05(0x1d2)]],_0x4dcb68[_0x5192fb[_0x235c05(0x1be)]]=_0xaaf4bf[_0x5192fb[_0x235c05(0x1c3)]]);testhubUtils[_0x235c05(0x1d4)](_0x4dcb68,_0x3f9f1e,_0x36956d,FRAMEWORKS['JASMINE']);const _0x235204={'event_type':_0x5192fb['aErcY'](_0x3f9f1e,_0x5192fb[_0x235c05(0x1c4)])?_0x5192fb[_0x235c05(0x18e)]:_0x3f9f1e,'test_run':_0x4dcb68};return testhubUtils[_0x235c05(0x186)](FRAMEWORKS['JASMINE'],_0x235204),SessionHandler[_0x235c05(0x194)](_0x235204);}catch(_0x393ece){_0x5192fb[_0x235c05(0x1f4)](debug,_0x235c05(0x1c0)+_0x3f9f1e+_0x235c05(0x1d0)+_0x393ece);}}[a14_0x471794(0x183)](_0x391181){const _0x1c68d4=a14_0x471794,_0x24c396={'VLAUu':function(_0xaea011,_0x4510ba){return _0xaea011!==_0x4510ba;},'VaEJA':function(_0x91d21c,_0x11c900){return _0x91d21c>_0x11c900;},'QCuzN':function(_0x4807b5,_0x31bd64){return _0x4807b5(_0x31bd64);},'EGFqZ':function(_0x1fa245,_0x175d05){return _0x1fa245-_0x175d05;}};try{const _0x40f8d1=[];let _0x53a3ab=_0x391181&&_0x391181[_0x1c68d4(0x1bb)];const _0x24e6c8=new Set();while(_0x24c396[_0x1c68d4(0x1da)](_0x53a3ab,undefined)&&_0x24c396['VLAUu'](_0x53a3ab,null)&&this[_0x1c68d4(0x1f5)]['has'](_0x53a3ab)&&!_0x24e6c8[_0x1c68d4(0x1ae)](_0x53a3ab)){_0x24e6c8[_0x1c68d4(0x1e9)](_0x53a3ab);const _0x196170=this[_0x1c68d4(0x1f5)][_0x1c68d4(0x1fb)](_0x53a3ab);_0x196170&&_0x196170[_0x1c68d4(0x1d3)]&&_0x40f8d1[_0x1c68d4(0x19c)](_0x196170[_0x1c68d4(0x1d3)]),_0x53a3ab=_0x196170?_0x196170[_0x1c68d4(0x1bb)]:null;}if(_0x24c396[_0x1c68d4(0x195)](_0x40f8d1[_0x1c68d4(0x1b9)],0x0))return _0x40f8d1[_0x1c68d4(0x191)]();}catch(_0x124660){_0x24c396['QCuzN'](debug,_0x1c68d4(0x1bf)+(_0x391181&&_0x391181[_0x1c68d4(0x1fa)])+'\x20:\x20'+_0x124660);}const _0x5765e1=_0x391181&&_0x391181[_0x1c68d4(0x1fa)]||'',_0x11a2a0=_0x391181&&_0x391181[_0x1c68d4(0x1d3)]||'';let _0x881925=_0x5765e1;return _0x11a2a0&&_0x5765e1['endsWith'](_0x11a2a0)&&(_0x881925=_0x5765e1[_0x1c68d4(0x187)](0x0,_0x24c396[_0x1c68d4(0x1e4)](_0x5765e1[_0x1c68d4(0x1b9)],_0x11a2a0['length']))[_0x1c68d4(0x1d9)]()),_0x881925?_0x881925[_0x1c68d4(0x1c6)](/\s+/):[];}['_resolveFilePath'](_0xa5094){const _0x72c91f=a14_0x471794,_0x198a85={};_0x198a85[_0x72c91f(0x1b5)]=function(_0x56294b,_0x2a4156){return _0x56294b===_0x2a4156;},_0x198a85[_0x72c91f(0x209)]=function(_0x1cd301,_0x5a8bd){return _0x1cd301+_0x5a8bd;},_0x198a85[_0x72c91f(0x1e2)]=function(_0x4d88af,_0x5e22bd){return _0x4d88af>_0x5e22bd;};const _0x194376=_0x198a85;if(_0xa5094&&_0xa5094[_0x72c91f(0x19a)])return _0xa5094['filename'];if(_0xa5094&&_0xa5094[_0x72c91f(0x1fa)]){if(this[_0x72c91f(0x1cc)][_0xa5094[_0x72c91f(0x1fa)]])return this[_0x72c91f(0x1cc)][_0xa5094[_0x72c91f(0x1fa)]];let _0x247990=null,_0x51a30e=-0x1;for(const _0x3134c4 of Object['keys'](this[_0x72c91f(0x1cc)])){(_0x194376[_0x72c91f(0x1b5)](_0xa5094[_0x72c91f(0x1fa)],_0x3134c4)||_0xa5094[_0x72c91f(0x1fa)][_0x72c91f(0x1f2)](_0x194376[_0x72c91f(0x209)](_0x3134c4,'\x20')))&&_0x194376['XOEXF'](_0x3134c4[_0x72c91f(0x1b9)],_0x51a30e)&&(_0x247990=this['_fileNameByFullName'][_0x3134c4],_0x51a30e=_0x3134c4[_0x72c91f(0x1b9)]);}if(_0x247990)return _0x247990;}return null;}[a14_0x471794(0x1e1)](_0x36a9f1){const _0x193e0c=a14_0x471794,_0x1d271a={};_0x1d271a[_0x193e0c(0x1aa)]=function(_0x526670,_0x4754b1){return _0x526670===_0x4754b1;},_0x1d271a[_0x193e0c(0x201)]=_0x193e0c(0x1c5);const _0x438559=_0x1d271a;if(!Array[_0x193e0c(0x1ac)](_0x36a9f1)||_0x438559[_0x193e0c(0x1aa)](_0x36a9f1[_0x193e0c(0x1b9)],0x0))return undefined;const _0x1536e8=[],_0x24ab65=[];for(const _0x59de6f of _0x36a9f1){_0x59de6f&&_0x59de6f[_0x193e0c(0x1a6)]&&_0x1536e8[_0x193e0c(0x19c)](_0x59de6f[_0x193e0c(0x1a6)]),_0x59de6f&&_0x59de6f[_0x193e0c(0x1c1)]&&_0x24ab65['push'](_0x59de6f['stack']);}const _0x4937be=_0x36a9f1[0x0]||{},_0x330255=_0x1536e8[_0x193e0c(0x1bc)]('\x0a')||_0x4937be[_0x193e0c(0x1a6)]||_0x438559['sofZb'],_0x12ba88=_0x24ab65['join']('\x0a\x0a')||_0x4937be[_0x193e0c(0x1c1)]||_0x330255,_0x53df46={};return _0x53df46[_0x193e0c(0x1a6)]=_0x330255,_0x53df46['stack']=_0x12ba88,_0x53df46[_0x193e0c(0x1ce)]=_0x4937be[_0x193e0c(0x1ce)],_0x53df46[_0x193e0c(0x207)]=_0x4937be[_0x193e0c(0x207)],_0x53df46[_0x193e0c(0x1a1)]=_0x4937be[_0x193e0c(0x1a1)],_0x53df46;}['_findGitConfig'](_0x4c52c7){const _0x348247=a14_0x471794,_0x19f5f9={};_0x19f5f9['fPuDZ']=function(_0x3f0833,_0x42a986){return _0x3f0833===_0x42a986;},_0x19f5f9[_0x348247(0x202)]=function(_0x4e97e4,_0xef3336){return _0x4e97e4===_0xef3336;},_0x19f5f9[_0x348247(0x1ba)]='.git',_0x19f5f9[_0x348247(0x199)]=_0x348247(0x20a);const _0x4d107b=_0x19f5f9,_0x1c3707=path[_0x348247(0x18b)];if(_0x4d107b[_0x348247(0x1f3)](_0x4c52c7,null)||_0x4d107b[_0x348247(0x202)](_0x4c52c7,'')||_0x4d107b[_0x348247(0x202)](_0x4c52c7,_0x1c3707)||_0x4d107b[_0x348247(0x202)](_0x4c52c7,path[_0x348247(0x18c)](_0x4c52c7)))return null;try{return fs[_0x348247(0x1e7)](path[_0x348247(0x1bc)](_0x4c52c7,_0x4d107b['zvAQJ'],_0x4d107b[_0x348247(0x199)])),_0x4c52c7;}catch(_0x3d3e17){return this['_findGitConfig'](path[_0x348247(0x18c)](_0x4c52c7));}}}function a14_0x8568(_0x5b525d,_0x4fc85c){const _0x29c23c=a14_0x29c2();return a14_0x8568=function(_0x85682d,_0x20d797){_0x85682d=_0x85682d-0x183;let _0x58d4a5=_0x29c23c[_0x85682d];return _0x58d4a5;},a14_0x8568(_0x5b525d,_0x4fc85c);}module[a14_0x471794(0x1e0)]=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_0xbeb9b8=a15_0x2ed0;(function(_0x5bff8e,_0x19ff4e){const _0x5cc3b0=a15_0x2ed0,_0x36d692=_0x5bff8e();while(!![]){try{const _0x3c6c15=parseInt(_0x5cc3b0(0x154))/0x1+-parseInt(_0x5cc3b0(0x11e))/0x2*(parseInt(_0x5cc3b0(0x115))/0x3)+-parseInt(_0x5cc3b0(0xd9))/0x4+parseInt(_0x5cc3b0(0x11a))/0x5*(parseInt(_0x5cc3b0(0xf0))/0x6)+-parseInt(_0x5cc3b0(0x146))/0x7*(parseInt(_0x5cc3b0(0x117))/0x8)+-parseInt(_0x5cc3b0(0x10e))/0x9+parseInt(_0x5cc3b0(0x143))/0xa;if(_0x3c6c15===_0x19ff4e)break;else _0x36d692['push'](_0x36d692['shift']());}catch(_0x25f8fc){_0x36d692['push'](_0x36d692['shift']());}}}(a15_0x3f7d,0xacbc5));function a15_0x2ed0(_0x20bb4e,_0x3b24d6){const _0x3f7d17=a15_0x3f7d();return a15_0x2ed0=function(_0x2ed08a,_0x4d42ed){_0x2ed08a=_0x2ed08a-0xd1;let _0x363926=_0x3f7d17[_0x2ed08a];return _0x363926;},a15_0x2ed0(_0x20bb4e,_0x3b24d6);}const fs=require('fs'),path=require(a15_0xbeb9b8(0x16c)),util=require('util'),{spawn}=require(a15_0xbeb9b8(0xe1)),glob=require(a15_0xbeb9b8(0xe0)),pLimit=require('p-limit'),logger=require(a15_0xbeb9b8(0x137))[a15_0xbeb9b8(0x109)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a15_0xbeb9b8(0x16d)),TestHubHandler=require(a15_0xbeb9b8(0xf7)),testOpsHelper=require(a15_0xbeb9b8(0xd8)),{debug}=require(a15_0xbeb9b8(0xd8)),{FRAMEWORKS}=require(a15_0xbeb9b8(0xe8)),PerformanceTester=require(a15_0xbeb9b8(0x105)),PerformanceEvents=require('../../helpers/performance/constants')[a15_0xbeb9b8(0x11d)],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a15_0xbeb9b8(0x160)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x20950b,_0x4788e0)=>{const _0x3b59f3=a15_0xbeb9b8,_0x37896b={'OoHep':function(_0x5795cb,_0x2e0bb0){return _0x5795cb(_0x2e0bb0);}};let _0xcbbfab=0x1;if(!helper[_0x3b59f3(0x112)](_0x4788e0[_0x3b59f3(0x13f)]))_0xcbbfab=_0x37896b[_0x3b59f3(0x131)](parseInt,_0x4788e0['parallelsPerPlatform']);else!helper[_0x3b59f3(0x112)](_0x20950b['maxWorkers'])&&(_0xcbbfab=_0x20950b[_0x3b59f3(0x102)]);return _0xcbbfab;},resolveJasmineConfigPath=()=>{const _0x21b4f7=a15_0xbeb9b8,_0x379efb={};_0x379efb[_0x21b4f7(0x13b)]=_0x21b4f7(0x101);const _0x5f01b1=_0x379efb,_0x178977=[];process[_0x21b4f7(0x171)][_0x21b4f7(0x10d)]&&_0x178977[_0x21b4f7(0xef)](path['resolve'](process[_0x21b4f7(0x163)](),process[_0x21b4f7(0x171)][_0x21b4f7(0x10d)]));_0x178977['push'](path[_0x21b4f7(0x149)](process['cwd'](),_0x5f01b1[_0x21b4f7(0x13b)]));for(const _0xa311ca of _0x178977){try{if(fs[_0x21b4f7(0xe6)](_0xa311ca))return _0xa311ca;}catch(_0x23b03a){}}return null;},enumerateSpecFiles=_0x480b1e=>{const _0x528c1b=a15_0xbeb9b8,_0x4b37da={'qyGtu':function(_0x21a299,_0x4d1124){return _0x21a299(_0x4d1124);},'NbAxm':function(_0x2cb5d4,_0x505fdb){return _0x2cb5d4>_0x505fdb;},'yhQoY':function(_0x4228cb,_0x53be69){return _0x4228cb<_0x53be69;},'NDAiD':function(_0x18289c,_0x2112e9){return _0x18289c===_0x2112e9;},'MXYNM':_0x528c1b(0x15f),'NGGtJ':function(_0x2a995d,_0xae8a1a){return _0x2a995d>_0xae8a1a;},'kGiHX':function(_0x2eba55,_0x361d62,_0x50a757){return _0x2eba55(_0x361d62,_0x50a757);},'HMvWC':function(_0xc0f89c){return _0xc0f89c();},'PWZPT':_0x528c1b(0x103),'VZnxQ':_0x528c1b(0xd5),'BSKYe':function(_0x52c93a,_0x3187e3){return _0x52c93a>_0x3187e3;},'AVRhP':_0x528c1b(0xff),'CAHIn':function(_0x15262c,_0x8594e3){return _0x15262c>_0x8594e3;},'QIusU':function(_0x188855,_0x5589f6){return _0x188855(_0x5589f6);}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x261e8f=testOpsHelper[_0x528c1b(0x153)](process[_0x528c1b(0x171)][_0x528c1b(0xd1)]);if(Array[_0x528c1b(0xed)](_0x261e8f)&&_0x4b37da[_0x528c1b(0xda)](_0x261e8f[_0x528c1b(0x128)],0x0))return _0x261e8f[_0x528c1b(0x125)](_0x5bc780=>path[_0x528c1b(0x149)](process[_0x528c1b(0x163)](),_0x5bc780[_0x528c1b(0x107)]()))[_0x528c1b(0xd7)](Boolean);}}catch(_0x2bbf49){_0x4b37da[_0x528c1b(0x14e)](debug,_0x528c1b(0xdb)+util[_0x528c1b(0x111)](_0x2bbf49));}const _0x1a4d91=[];try{for(let _0x350ae7=0x1;_0x4b37da[_0x528c1b(0xe7)](_0x350ae7,_0x480b1e[_0x528c1b(0x128)]);_0x350ae7++){const _0x1e27fb=_0x480b1e[_0x350ae7];_0x4b37da[_0x528c1b(0x147)](typeof _0x1e27fb,_0x4b37da['MXYNM'])&&!_0x1e27fb[_0x528c1b(0x148)]('-')&&_0x1a4d91[_0x528c1b(0xef)](_0x1e27fb);}}catch(_0x4db3ad){}const _0x5bceaa={'cwd':process[_0x528c1b(0x163)](),'absolute':!![],'nodir':!![]},_0x1c2f04=(_0x4d399d,_0x149cc0)=>{const _0x3d4f45=_0x528c1b,_0x2b390d=[];for(const _0x29c33a of _0x4d399d){try{const _0x2a9492=_0x149cc0?path[_0x3d4f45(0x122)][_0x3d4f45(0x119)](_0x149cc0,_0x29c33a):_0x29c33a,_0x3025b8=glob['globSync'](_0x2a9492,_0x5bceaa);Array[_0x3d4f45(0xed)](_0x3025b8)&&_0x2b390d[_0x3d4f45(0xef)](..._0x3025b8);}catch(_0x431ec){_0x4b37da[_0x3d4f45(0x14e)](debug,_0x3d4f45(0x150)+_0x29c33a+_0x3d4f45(0x10f)+util['format'](_0x431ec));}}return _0x2b390d;};if(_0x4b37da[_0x528c1b(0x120)](_0x1a4d91[_0x528c1b(0x128)],0x0)){const _0x1cb3a8=_0x4b37da['kGiHX'](_0x1c2f04,_0x1a4d91,null);if(_0x4b37da[_0x528c1b(0x120)](_0x1cb3a8['length'],0x0))return Array[_0x528c1b(0x16a)](new Set(_0x1cb3a8));return _0x1a4d91[_0x528c1b(0x125)](_0x4a1d36=>path['resolve'](process[_0x528c1b(0x163)](),_0x4a1d36));}try{const _0x30e4ce=_0x4b37da['HMvWC'](resolveJasmineConfigPath);if(_0x30e4ce){const _0x3f993c=JSON[_0x528c1b(0x172)](fs[_0x528c1b(0x138)](_0x30e4ce,_0x4b37da['PWZPT'])),_0x44b0f4=_0x3f993c['spec_dir']||_0x4b37da['VZnxQ'],_0x2c3aa2=Array[_0x528c1b(0xed)](_0x3f993c[_0x528c1b(0x165)])&&_0x4b37da[_0x528c1b(0xfe)](_0x3f993c[_0x528c1b(0x165)][_0x528c1b(0x128)],0x0)?_0x3f993c[_0x528c1b(0x165)]:[_0x4b37da[_0x528c1b(0xea)]],_0x1fa1a5=_0x4b37da[_0x528c1b(0x14a)](_0x1c2f04,_0x2c3aa2,_0x44b0f4);if(_0x4b37da[_0x528c1b(0x13a)](_0x1fa1a5[_0x528c1b(0x128)],0x0))return Array[_0x528c1b(0x16a)](new Set(_0x1fa1a5));}}catch(_0x3d51){_0x4b37da[_0x528c1b(0x130)](debug,_0x528c1b(0x12e)+util[_0x528c1b(0x111)](_0x3d51));}return null;};async function run(_0xb55f3f,_0x420b1a,_0x1752ec){const _0x416849=a15_0xbeb9b8,_0x5ddd17={'MZFlQ':function(_0xb3e753,_0x2ab226){return _0xb3e753>_0x2ab226;},'CqzeY':_0x416849(0xeb),'CjAOm':function(_0x10a6ab,_0x1e7953){return _0x10a6ab(_0x1e7953);},'lEJsn':function(_0x2bb0b8,_0x23cc1b){return _0x2bb0b8||_0x23cc1b;},'QUxav':function(_0x300b64,_0x3681c2){return _0x300b64(_0x3681c2);},'gztoj':function(_0xc427a9,_0x46a9cc){return _0xc427a9>_0x46a9cc;},'cxhfN':function(_0x33464a,_0x17e93a,_0x50d43f,_0x15c870){return _0x33464a(_0x17e93a,_0x50d43f,_0x15c870);},'JoOkL':'npx','stTlU':_0x416849(0xe3),'Vfhfz':function(_0x122b79,_0x436791){return _0x122b79===_0x436791;},'mFcyf':'win32','SzHgA':_0x416849(0x175),'FnfWa':'close','LCTWC':_0x416849(0x155),'ixDcO':'@playwright/test','wIuil':function(_0x3a1e0c){return _0x3a1e0c();},'XEGgq':function(_0x1c9366,_0x295225,_0x25e44c,_0x377e15){return _0x1c9366(_0x295225,_0x25e44c,_0x377e15);},'UPPSp':function(_0x9640b3,_0x22664d){return _0x9640b3!=_0x22664d;},'FtibZ':_0x416849(0x10a),'LtKrm':function(_0x5cbc74,_0x238d4c){return _0x5cbc74(_0x238d4c);},'ecbTE':function(_0x34db61,_0x2fd5d4){return _0x34db61(_0x2fd5d4);},'omhFU':function(_0x17115c,_0x36e80d,_0x2bc1e3){return _0x17115c(_0x36e80d,_0x2bc1e3);},'zmKhn':function(_0x3b6570,_0x22c767){return _0x3b6570*_0x22c767;},'JGwla':function(_0x1cecb9,_0x5206ff){return _0x1cecb9(_0x5206ff);},'pcVnO':function(_0x1aadaa,_0x5511a5){return _0x1aadaa(_0x5511a5);},'xBVhC':function(_0x21eb12,_0x2f8d76){return _0x21eb12(_0x2f8d76);},'GIOXw':_0x416849(0x16f),'jQLXz':function(_0x575213,_0x5ed65e){return _0x575213(_0x5ed65e);},'QhnAp':function(_0x2f1fdb,_0x33a150){return _0x2f1fdb<_0x33a150;},'gRUzy':function(_0x53b858,_0x4ea116){return _0x53b858>_0x4ea116;},'HhmZf':function(_0x2eae1a,_0x5a0c42){return _0x2eae1a>_0x5a0c42;},'kVSSZ':function(_0x47206f,_0x4182a0){return _0x47206f(_0x4182a0);},'fPpzj':_0x416849(0x12a)},_0xbf6b87=helper[_0x416849(0xee)](_0x5ddd17[_0x416849(0x14c)]);global[_0x416849(0x16e)]=!!_0xbf6b87;const _0x277874=_0x5ddd17[_0x416849(0x133)](getPuppeteerVersion);global[_0x416849(0x173)]=!!_0x277874;helper[_0x416849(0xfc)]()?(await _0x1752ec[_0x416849(0x113)](_0xb55f3f),await helper['handleApp'](_0x1752ec[_0x416849(0x132)])):await _0x1752ec[_0x416849(0xf9)]();if(_0xbf6b87)await _0x5ddd17[_0x416849(0xf3)](checkPwandBootstrapCli,_0xbf6b87,constants[_0x416849(0xdd)]['JASMINE'],_0x1752ec);else _0x277874&&await _0x5ddd17[_0x416849(0x152)](checkPuppeteerAndBootstrapCli,_0x277874,constants[_0x416849(0xdd)][_0x416849(0xf8)],_0x1752ec);if(!_0x1752ec[_0x416849(0x132)])return;_0x5ddd17[_0x416849(0xf1)](_0x1752ec['config'][_0x416849(0x127)],null)?process[_0x416849(0x171)][_0x416849(0x158)]=_0x1752ec[_0x416849(0x132)][_0x416849(0x127)]:process['env'][_0x416849(0x158)]=_0x5ddd17[_0x416849(0x104)];!helper[_0x416849(0x112)](_0x1752ec[_0x416849(0x132)][_0x416849(0x114)])&&(process[_0x416849(0x171)][_0x416849(0x126)]=JSON['stringify'](_0x1752ec[_0x416849(0x132)][_0x416849(0x114)]));try{await TestHubHandler[_0x416849(0xfd)](FRAMEWORKS['JASMINE'],_0x1752ec);}catch(_0x4ff593){logger['error'](_0x416849(0xd4)+util[_0x416849(0x111)](_0x4ff593)),_0x5ddd17[_0x416849(0x174)](debug,_0x416849(0x167)+util[_0x416849(0x111)](_0x4ff593));}let _0x15b9e4=![],_0x2306c1=[];try{_0x15b9e4=helper[_0x416849(0x159)](_0x1752ec[_0x416849(0x132)]),_0x2306c1=helper['prepareCapabilities'](_0x1752ec['config'],_0x15b9e4,constants[_0x416849(0xdd)][_0x416849(0xf8)]),process['env'][_0x416849(0xdf)]=JSON['stringify'](_0x2306c1);}catch(_0x508858){_0x5ddd17[_0x416849(0xf6)](debug,_0x416849(0x168)+util[_0x416849(0x111)](_0x508858));}let _0x5b2ed8=null,_0x1f8cda=![];try{_0x5b2ed8=helper[_0x416849(0x12f)](_0x1752ec[_0x416849(0x132)]),_0x1f8cda=helper[_0x416849(0xf5)](_0x1752ec['config']);}catch(_0x80da80){_0x5ddd17[_0x416849(0x134)](debug,_0x416849(0x142)+util[_0x416849(0x111)](_0x80da80));}const _0x1bfbac=_0x44774a=>{const _0x12f4da=_0x416849,_0x4d9091=Array[_0x12f4da(0xed)](_0x2306c1)&&_0x5ddd17[_0x12f4da(0xf2)](_0x2306c1[_0x12f4da(0x128)],_0x44774a)?_0x2306c1[_0x44774a]:Array['isArray'](_0x2306c1)&&_0x5ddd17[_0x12f4da(0xf2)](_0x2306c1[_0x12f4da(0x128)],0x0)?_0x2306c1[0x0]:{};return{'server':_0x5b2ed8,'capability':_0x4d9091,'proxySettings':_0x1752ec['config'][_0x12f4da(0x13c)],'platform':helper['getPlatformName'](_0x4d9091),'browserStackLogLevel':_0x1752ec[_0x12f4da(0x132)][_0x12f4da(0x12d)],'platformIndex':_0x44774a,'framework':constants[_0x12f4da(0xdd)][_0x12f4da(0xf8)],'platformCaps':_0x1f8cda?Object[_0x12f4da(0x14f)]({'index':_0x44774a},_0x1752ec[_0x12f4da(0x132)][_0x12f4da(0x116)][_0x44774a]):{'index':_0x44774a}};};let _0x4d0c56=0x1,_0x5e99b9=0x1,_0x185148=0x1;try{_0x4d0c56=_0x5ddd17[_0x416849(0x118)](getMaxWorkers,_0xb55f3f,_0x1752ec['config']),_0x5e99b9=_0x1f8cda?_0x1752ec['config']['platforms'][_0x416849(0x128)]:0x1,_0x185148=_0x5ddd17[_0x416849(0x15d)](_0x5e99b9,_0x4d0c56),process[_0x416849(0x171)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x5ddd17[_0x416849(0x12b)](String,_0x185148);}catch(_0x4440e9){_0x5ddd17[_0x416849(0x16b)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util['format'](_0x4440e9));}try{BrowserstackCLI['getInstance']()['binSessionId']&&(process['env'][_0x416849(0x15e)]=BrowserstackCLI['getInstance']()[_0x416849(0x123)]);}catch(_0x3761ba){_0x5ddd17['xBVhC'](debug,_0x416849(0x136)+util['format'](_0x3761ba));}const _0x5b0823=[];try{const _0x91042a=path[_0x416849(0x149)](__dirname,_0x5ddd17[_0x416849(0x162)]);fs['existsSync'](_0x91042a)?_0x5b0823[_0x416849(0xef)](_0x416849(0x135)+_0x91042a):_0x5ddd17[_0x416849(0xfa)](debug,_0x416849(0x140)+_0x91042a+_0x416849(0x13d));}catch(_0x2b4234){_0x5ddd17[_0x416849(0x16b)](debug,_0x416849(0x129)+util[_0x416849(0x111)](_0x2b4234));}const _0xa611b6=_0x420b1a[_0x416849(0x170)](0x1),_0x2b52a0=_0x5ddd17[_0x416849(0xdc)](enumerateSpecFiles,_0x420b1a),_0x8b6fdc=[];for(let _0x25c9e9=0x0;_0x5ddd17[_0x416849(0x12c)](_0x25c9e9,_0x5e99b9);_0x25c9e9++){if(_0x5ddd17['gRUzy'](_0x4d0c56,0x1)&&Array[_0x416849(0xed)](_0x2b52a0)&&_0x5ddd17[_0x416849(0x110)](_0x2b52a0[_0x416849(0x128)],0x0))for(const _0x251914 of _0x2b52a0){const _0x546138={};_0x546138[_0x416849(0xd3)]=_0x25c9e9,_0x546138[_0x416849(0x14d)]=[_0x251914],_0x8b6fdc['push'](_0x546138);}else{const _0x1eeebf={};_0x1eeebf[_0x416849(0xd3)]=_0x25c9e9,_0x1eeebf[_0x416849(0x14d)]=_0x2b52a0,_0x8b6fdc[_0x416849(0xef)](_0x1eeebf);}}logger[_0x416849(0x10c)](_0x416849(0x10b)+_0x5e99b9+'\x20platform(s),\x20parallelsPerPlatform='+_0x4d0c56+'\x20('+_0x8b6fdc[_0x416849(0x128)]+_0x416849(0x11b)+_0x185148+_0x416849(0xe2)),PerformanceTester[_0x416849(0xfb)](PerformanceEvents['SDK_SETUP']);const _0xc154b1=_0x193e15=>new Promise(_0x508f0d=>{const _0x5a1c75=_0x416849,_0x582f7a={'OlcCa':function(_0x787028,_0x825457){const _0x5d1bfc=a15_0x2ed0;return _0x5ddd17[_0x5d1bfc(0x151)](_0x787028,_0x825457);},'ynZZx':function(_0x1c221b,_0x1f5389){return _0x5ddd17['CjAOm'](_0x1c221b,_0x1f5389);}};let _0x556075;try{const _0x4decdf=_0x5ddd17[_0x5a1c75(0x134)](_0x1bfbac,_0x193e15['platformIndex']);_0x556075=Object[_0x5a1c75(0x14f)]({},process[_0x5a1c75(0x171)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x5a1c75(0xe5)](_0x4decdf),'BROWSERSTACK_CAPABILITIES':JSON['stringify']([_0x4decdf[_0x5a1c75(0x11c)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4cc5cd){_0x5ddd17['CjAOm'](debug,_0x5a1c75(0x14b)+_0x193e15[_0x5a1c75(0xd3)]+'\x20:\x20'+util['format'](_0x4cc5cd)),_0x556075=Object[_0x5a1c75(0x14f)]({},process[_0x5a1c75(0x171)]);}const _0x527fcc=Array[_0x5a1c75(0xed)](_0x193e15[_0x5a1c75(0x14d)])?_0x193e15[_0x5a1c75(0x14d)]:[],_0x49fa8d=_0x5ddd17['gztoj'](_0x527fcc[_0x5a1c75(0x128)],0x0)?_0xa611b6[_0x5a1c75(0xd7)](_0x3aec51=>typeof _0x3aec51===_0x5a1c75(0x15f)&&_0x3aec51['startsWith']('-')):_0xa611b6,_0x2d045a=[..._0x5b0823,..._0x49fa8d,..._0x527fcc];try{const _0x556b43=_0x5ddd17[_0x5a1c75(0x152)](spawn,_0x5ddd17['JoOkL'],[_0x5ddd17[_0x5a1c75(0xf4)],..._0x2d045a],{'shell':_0x5ddd17['Vfhfz'](process['platform'],_0x5ddd17['mFcyf']),'stdio':_0x5ddd17[_0x5a1c75(0x124)],'env':_0x556075});_0x556b43['on'](_0x5ddd17[_0x5a1c75(0x156)],_0x3dd7a2=>{const _0xecde98=_0x5a1c75;logger[_0xecde98(0x161)](_0xecde98(0x169)+_0x193e15[_0xecde98(0xd3)]+_0xecde98(0x13e)+(_0x527fcc[_0xecde98(0x128)]?_0x527fcc[_0xecde98(0x119)](','):_0x5ddd17['CqzeY'])+_0xecde98(0xe4)+_0x3dd7a2),_0x5ddd17['CjAOm'](_0x508f0d,_0x5ddd17[_0xecde98(0x141)](_0x3dd7a2,0x0));}),_0x556b43['on'](_0x5ddd17['LCTWC'],_0x34f9a2=>{const _0x51a188=_0x5a1c75;_0x582f7a[_0x51a188(0x145)](debug,_0x51a188(0x139)+_0x193e15['platformIndex']+_0x51a188(0xd6)+util[_0x51a188(0x111)](_0x34f9a2)),_0x582f7a[_0x51a188(0x15c)](_0x508f0d,0x1);});}catch(_0x2e3318){_0x5ddd17['QUxav'](debug,_0x5a1c75(0x11f)+_0x193e15['platformIndex']+')\x20:\x20'+util[_0x5a1c75(0x111)](_0x2e3318)),_0x5ddd17['CjAOm'](_0x508f0d,0x1);}}),_0x246a94=_0x5ddd17[_0x416849(0x15a)](pLimit,_0x5ddd17[_0x416849(0xf2)](_0x185148,0x0)?_0x185148:0x1),_0x57f6d3=await Promise[_0x416849(0xeb)](_0x8b6fdc[_0x416849(0x125)](_0x19edb6=>_0x246a94(()=>_0xc154b1(_0x19edb6))));PerformanceTester[_0x416849(0x106)](PerformanceEvents['SDK_CLEANUP']);const _0xa0fa72=_0x57f6d3['find'](_0x5197e0=>_0x5197e0!==0x0)||0x0;process[_0x416849(0xec)]=_0xa0fa72,logger[_0x416849(0x161)](_0x416849(0xe9)+_0xa0fa72);const _0x3684a1=BrowserstackCLI[_0x416849(0xde)]();try{await TestHubHandler[_0x416849(0xd2)](),await BrowserstackCLI[_0x416849(0x164)]()[_0x416849(0xd2)]();}catch(_0x3b880a){_0x5ddd17['CjAOm'](debug,_0x416849(0x157)+util[_0x416849(0x111)](_0x3b880a));}try{const {browserstackFolderPath:_0x15b06f,tcgConfigPath:_0x526326}=helper[_0x416849(0x144)]();fs[_0x416849(0x108)](_0x526326),fs[_0x416849(0x166)](_0x15b06f);}catch(_0x4796c4){logger[_0x416849(0x161)](_0x5ddd17[_0x416849(0x121)],_0x4796c4);}testOpsHelper[_0x416849(0x15b)](),await utilities[_0x416849(0x100)](_0x1752ec,_0x3684a1);}module['exports']=run;function a15_0x3f7d(){const _0x1352e2=['error','FnfWa','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','useW3C','kVSSZ','printBuildLink','ynZZx','zmKhn','BROWSERSTACK_CLI_BIN_SESSION_ID','string','../../helpers/playwright-helper','debug','GIOXw','cwd','getInstance','spec_files','rmdirSync','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','jasmine\x20child\x20(platformIndex=','from','pcVnO','path','../utils/constants','__isPlaywrightInstalled','test.setup.js','slice','env','parse','__isPuppeteerInstalled','LtKrm','inherit','BROWSERSTACK_RERUN_TESTS','stop','platformIndex','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','spec',')\x20:\x20','filter','../../helpers/test-observability/utils','252800WoWYdu','NbAxm','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','xBVhC','FRAMEWORKS','isCLIEnabled','BROWSERSTACK_CAPABILITIES','glob','child_process','\x20concurrent)','jasmine',')\x20exited\x20with\x20code\x20','stringify','existsSync','yhQoY','../../helpers/test-observability/constants','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','AVRhP','all','exitCode','isArray','getPackageVersion','push','3252174DqRGft','UPPSp','MZFlQ','XEGgq','stTlU','validPlatformsPresent','ecbTE','../../helpers/testhub/testhubHandler','JASMINE','setupTCGAuth','jQLXz','end','isBrowserstackInfra','launchBuild','BSKYe','**/*[sS]pec.?(m)js','finalExecution','spec/support/jasmine.json','maxWorkers','utf8','FtibZ','../../helpers/performance/performance-tester','start','trim','unlinkSync','winstonLogger','true','Running\x20your\x20Jasmine\x20tests\x20across\x20','info','JASMINE_CONFIG_PATH','5109408yBoiMi','\x27\x20:\x20','HhmZf','format','isUndefined','initialize','accessibilityOptions','25053gLJmKb','platforms','10551144RSjmmJ','omhFU','join','10BGUsjR','\x20work-item(s),\x20max\x20','capability','EVENTS','194JiknaH','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','NGGtJ','fPpzj','posix','binSessionId','SzHgA','map','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','length','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','error\x20removing\x20tcg\x20config\x20file','JGwla','QhnAp','logLevel','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','getHubUrl','QIusU','OoHep','config','wIuil','QUxav','--helper=','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','../../helpers/logger','readFileSync','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','CAHIn','WuXlc','proxySettings',';\x20proceeding\x20without\x20injection',',\x20specs=','parallelsPerPlatform','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','lEJsn','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','12850440UHChgX','getTCGConfigFilePaths','OlcCa','7aGTRmz','NDAiD','startsWith','resolve','kGiHX','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','ixDcO','specArgs','qyGtu','assign','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','CjAOm','cxhfN','parseFileNames','1098275mOpnoC'];a15_0x3f7d=function(){return _0x1352e2;};return a15_0x3f7d();}
|
|
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_0x17963d=a16_0x5e22;(function(_0x39219c,_0x3c43ca){const _0xe1c022=a16_0x5e22,_0x4cb4c8=_0x39219c();while(!![]){try{const _0x2b362e=-parseInt(_0xe1c022(0xcc))/0x1*(-parseInt(_0xe1c022(0xa0))/0x2)+parseInt(_0xe1c022(0xc4))/0x3+-parseInt(_0xe1c022(0xa9))/0x4*(parseInt(_0xe1c022(0xb5))/0x5)+-parseInt(_0xe1c022(0xef))/0x6*(parseInt(_0xe1c022(0xe3))/0x7)+-parseInt(_0xe1c022(0xa5))/0x8+parseInt(_0xe1c022(0xa2))/0x9+-parseInt(_0xe1c022(0xfc))/0xa*(-parseInt(_0xe1c022(0xff))/0xb);if(_0x2b362e===_0x3c43ca)break;else _0x4cb4c8['push'](_0x4cb4c8['shift']());}catch(_0xeb771b){_0x4cb4c8['push'](_0x4cb4c8['shift']());}}}(a16_0x3d8a,0x4e136));const util=require(a16_0x17963d(0xe9)),logger=require(a16_0x17963d(0x104))[a16_0x17963d(0x10a)],helper=require(a16_0x17963d(0xd7)),globals=require(a16_0x17963d(0xb4)),{shouldProcessEventForTesthub}=require(a16_0x17963d(0x108)),testHubConstants=require(a16_0x17963d(0xec)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a16_0x17963d(0xb3)),accessibilityRetryHelper=require(a16_0x17963d(0xb6)),testRunMap=require(a16_0x17963d(0xf1));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a16_0x17963d(0xdb)][a16_0x17963d(0xa7)]||process[a16_0x17963d(0xdb)][a16_0x17963d(0x103)];rawConfig!==undefined&&(_bstackConfig=JSON['parse'](rawConfig));}catch(a16_0x4a27ba){logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a16_0x17963d(0xa8)](a16_0x4a27ba));}try{if(_bstackConfig&&!helper['getPackageVersion'](a16_0x17963d(0xe5))){const mOGmZJ=a16_0x17963d(0xf6)['split']('|');let hAPoMu=0x0;while(!![]){switch(mOGmZJ[hAPoMu++]){case'0':shouldProcessEventForTesthub()?require(a16_0x17963d(0xd4))['browserstackAgentV2'](_bstackConfig,null,!![]):require(a16_0x17963d(0xd4))[a16_0x17963d(0xb8)](_bstackConfig);continue;case'1':helper[a16_0x17963d(0xf8)]()?(global['__skipSessionName']=helper['isTrue'](_bstackConfig[a16_0x17963d(0xcd)]),global[a16_0x17963d(0x90)]=helper[a16_0x17963d(0xdd)](_bstackConfig[a16_0x17963d(0xac)])):(global[a16_0x17963d(0xb1)]=!![],global['__skipSessionStatus']=!![]);continue;case'2':logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)');continue;case'3':global[a16_0x17963d(0x93)]=_bstackConfig[a16_0x17963d(0xda)]||{};continue;case'4':global[a16_0x17963d(0x99)]=_bstackConfig['platformIndex'];continue;}break;}}}catch(a16_0x3a3302){logger[a16_0x17963d(0x9c)](a16_0x17963d(0x96)+util[a16_0x17963d(0xa8)](a16_0x3a3302));}const _fileNameByFullName={};try{if(typeof describe==='function'&&typeof global!=='undefined'){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xd771e3=a16_0x17963d,_0x34b214={'DHurT':function(_0x1c0159,_0x5d185f){return _0x1c0159(_0x5d185f);},'uQQCM':_0xd771e3(0xc3),'PCYlG':function(_0x4e0b17,_0x13fbd9){return _0x4e0b17(_0x13fbd9);},'qbLRX':_0xd771e3(0xa3),'AGMFF':_0xd771e3(0xca)},_0x5fff78=Error[_0xd771e3(0xee)];try{const _0x25158d=new Error();Error[_0xd771e3(0xee)]=(_0xd61a77,_0x669e4f)=>_0x669e4f;const _0xd998f9=_0x25158d[_0xd771e3(0xb2)];Error[_0xd771e3(0xee)]=_0x5fff78;if(Array[_0xd771e3(0x10b)](_0xd998f9))for(const _0x28689b of _0xd998f9){const _0x2904d4=_0x28689b['getFileName']&&_0x28689b[_0xd771e3(0x10e)]();if(_0x2904d4&&!_0x2904d4[_0xd771e3(0xf4)](_0xd771e3(0x92)+_0x34b214['DHurT'](require,_0x34b214[_0xd771e3(0x91)])[_0xd771e3(0xdf)]+'jasmine'+_0x34b214['PCYlG'](require,_0x34b214[_0xd771e3(0x91)])[_0xd771e3(0xdf)])&&!_0x2904d4[_0xd771e3(0xd2)](_0x34b214['qbLRX'])&&!_0x2904d4[_0xd771e3(0xf4)](_0x34b214[_0xd771e3(0x10c)]))return _0x2904d4;}}catch(_0x22c8f7){Error['prepareStackTrace']=_0x5fff78;}return null;},_wrappedDescribe=function(_0x4eba0b,_0x2d47c9){const _0x308f3c=a16_0x17963d,_0x2ab699={'xdSUm':function(_0x29869c){return _0x29869c();},'uHqlO':function(_0x59eb03,_0x368717){return _0x59eb03&&_0x368717;},'cGZWC':function(_0x5014c5,_0x494317,_0x1bff12){return _0x5014c5(_0x494317,_0x1bff12);}};let _0x3163f1=null;try{_0x3163f1=_0x2ab699[_0x308f3c(0x9a)](_resolveCallerFile);}catch(_0x1b9d62){}_describeTitleStack[_0x308f3c(0xd5)](_0x4eba0b);const _0x59262d=_describeTitleStack[_0x308f3c(0xc0)]('\x20');_0x2ab699['uHqlO'](_0x3163f1,_0x59262d)&&(_fileNameByFullName[_0x59262d]=_0x3163f1);try{return _0x2ab699[_0x308f3c(0xcf)](_origDescribe,_0x4eba0b,_0x2d47c9);}finally{_describeTitleStack['pop']();}};Object['keys'](_origDescribe)[a16_0x17963d(0xeb)](_0x1e77cf=>{_wrappedDescribe[_0x1e77cf]=_origDescribe[_0x1e77cf];}),global[a16_0x17963d(0xa1)]=_wrappedDescribe;}}catch(a16_0x51c572){logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20'+util['format'](a16_0x51c572));}try{if(typeof jasmine!==a16_0x17963d(0x109)&&jasmine['getEnv']){const BrowserStackJasmineReporter=require(a16_0x17963d(0xb9)),a16_0x301fba={};a16_0x301fba[a16_0x17963d(0xaa)]=_fileNameByFullName,jasmine['getEnv']()['addReporter'](new BrowserStackJasmineReporter(a16_0x301fba)),logger[a16_0x17963d(0x9c)]('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger['debug'](a16_0x17963d(0xfe));}catch(a16_0x20234a){logger['debug'](a16_0x17963d(0xd9)+util['format'](a16_0x20234a));}try{typeof jasmine!=='undefined'&&jasmine[a16_0x17963d(0xd1)]&&jasmine[a16_0x17963d(0xd1)]()['addReporter']({'specStarted'(_0x138417){const _0x5ef171=a16_0x17963d,_0x5839c9={};_0x5839c9[_0x5ef171(0xe7)]=function(_0x10e5d7,_0x5dce87){return _0x10e5d7||_0x5dce87;};const _0xec500e=_0x5839c9;_activeResultId=_0x138417&&_0x138417['id'],_activeFullName=_0x138417&&_0x138417['fullName'],_activeResultRef=_0xec500e[_0x5ef171(0xe7)](_0x138417,null);},'specDone'(){}});}catch(a16_0x513b9d){logger[a16_0x17963d(0x9c)](a16_0x17963d(0xbe)+util[a16_0x17963d(0xa8)](a16_0x513b9d));}const _resolveAutoScanning=()=>{const _0xb5d23a=a16_0x17963d,_0x13c0dc={};_0x13c0dc['nWwOi']=function(_0x287ccc,_0x18bc67){return _0x287ccc===_0x18bc67;};const _0x88b614=_0x13c0dc;let _0x4508ed=!![];try{const _0x294f08=JSON[_0xb5d23a(0x10f)](process[_0xb5d23a(0xdb)][_0xb5d23a(0x110)]||'{}');_0x88b614['nWwOi'](_0x294f08[_0xb5d23a(0xc9)],![])&&(_0x4508ed=![]);}catch(_0x2ff167){logger[_0xb5d23a(0x9c)]('[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20'+_0x2ff167[_0xb5d23a(0xe1)]);}return _0x4508ed;};try{typeof beforeEach==='function'&&beforeEach(function bstackA11yBeforeEach(){const _0x350fa9=a16_0x17963d,_0x6477b={'qidbI':function(_0x1ed5c3){return _0x1ed5c3();},'BfrSp':function(_0x5c977b,_0x5cd882,_0x5e6f8c){return _0x5c977b(_0x5cd882,_0x5e6f8c);},'hjxte':function(_0x1b2622,_0xbaf3a9){return _0x1b2622&&_0xbaf3a9;},'sMKrA':_0x350fa9(0xe0),'NlLXw':_0x350fa9(0xae)};try{const _0x1215d4=_0x6477b[_0x350fa9(0xe2)](_resolveAutoScanning),_0x5f4c53=_0x6477b[_0x350fa9(0xce)](shouldScanTestForAccessibility,null,![]),_0xf28936=_0x6477b[_0x350fa9(0x100)](_0x1215d4,_0x5f4c53);globals[_0x350fa9(0xc2)](_0x6477b['sMKrA'],_0xf28936),globals['setGlobal'](_0x6477b[_0x350fa9(0xe8)],null);}catch(_0x3520fa){logger[_0x350fa9(0x9c)]('[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20'+util[_0x350fa9(0xa8)](_0x3520fa));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5a9c49=a16_0x17963d,_0x1d8475={'KgDCW':function(_0x3f764b,_0x118e8a){return _0x3f764b>_0x118e8a;},'rNUOQ':function(_0x20cb3d,_0x34925c){return _0x20cb3d>_0x34925c;},'vpQvy':_0x5a9c49(0xa4),'ookVB':function(_0x36aaa3,_0x396afc){return _0x36aaa3+_0x396afc;},'jsDcs':_0x5a9c49(0xf3),'MBQVb':'Passed','apZWE':'error','QDLLY':_0x5a9c49(0xc5),'UJWhz':'failed','Ibryv':'passed','ZfhHU':function(_0x4a0db0){return _0x4a0db0();},'qpqUz':_0x5a9c49(0xfa),'JMIQW':_0x5a9c49(0xe0),'LJFMi':_0x5a9c49(0xc8),'CrrFG':'[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','rbdAt':'[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','GgYdE':_0x5a9c49(0xd8),'quzGs':_0x5a9c49(0xed),'jmPJX':_0x5a9c49(0x102),'swPyA':_0x5a9c49(0xdc)};try{if(Array['isArray'](global[_0x5a9c49(0xde)])&&_0x1d8475[_0x5a9c49(0xaf)](global[_0x5a9c49(0xde)][_0x5a9c49(0xad)],0x0)&&global[_0x5a9c49(0xde)][0x0]){const _0x561666=_activeFullName||global['sessionName'];if(!global[_0x5a9c49(0xb1)]&&_0x561666){global[_0x5a9c49(0xc6)]=_0x561666;try{await global['__drivers'][0x0][_0x5a9c49(0x9f)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20'+JSON[_0x5a9c49(0xf5)](_0x561666)+'}}'),global['__drivers'][0x0][_0x5a9c49(0xbc)]=!![];}catch(_0x3199f2){logger['debug'](_0x5a9c49(0xbb)+util[_0x5a9c49(0xa8)](_0x3199f2));}}if(!global[_0x5a9c49(0x90)])try{const _0x16ebed=_activeResultRef&&Array[_0x5a9c49(0x10b)](_activeResultRef[_0x5a9c49(0xbf)])?_activeResultRef[_0x5a9c49(0xbf)]:[],_0x4baffd=_0x1d8475[_0x5a9c49(0x106)](_0x16ebed[_0x5a9c49(0xad)],0x0),_0x3cd9dc=_0x4baffd?_0x16ebed[0x0]&&_0x16ebed[0x0][_0x5a9c49(0xe1)]||_0x1d8475[_0x5a9c49(0x97)]:null;try{await global[_0x5a9c49(0xde)][0x0][_0x5a9c49(0x9f)](_0x5a9c49(0x9b)+JSON[_0x5a9c49(0xf5)](_0x4baffd?_0x1d8475['ookVB'](_0x1d8475[_0x5a9c49(0xc7)],_0x3cd9dc):_0x1d8475[_0x5a9c49(0xf7)])+_0x5a9c49(0x111)+(_0x4baffd?_0x1d8475['apZWE']:_0x1d8475[_0x5a9c49(0xd3)])+_0x5a9c49(0x94));}catch(_0x128e46){logger['debug'](_0x5a9c49(0xf0)+util['format'](_0x128e46));}_0x4baffd&&(global[_0x5a9c49(0x95)]=!![]),await helper[_0x5a9c49(0xc1)](global[_0x5a9c49(0xde)][0x0],_0x4baffd?_0x1d8475[_0x5a9c49(0x9e)]:_0x1d8475['Ibryv'],_0x3cd9dc);}catch(_0x4e1731){logger[_0x5a9c49(0x9c)](_0x5a9c49(0x101)+util['format'](_0x4e1731));}}}catch(_0x4c34b1){logger[_0x5a9c49(0x9c)]('[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20'+util[_0x5a9c49(0xa8)](_0x4c34b1));}try{if(_0x1d8475['ZfhHU'](isAccessibilityAutomationSession)&&globals[_0x5a9c49(0xe6)](_0x1d8475[_0x5a9c49(0xf9)])&&Array[_0x5a9c49(0x10b)](global[_0x5a9c49(0xde)])&&_0x1d8475[_0x5a9c49(0x106)](global[_0x5a9c49(0xde)]['length'],0x0)&&global[_0x5a9c49(0xde)][0x0]){const _0x2b00f5=testRunMap['get'](_activeResultId),_0x4c07be={};_0x4c07be[_0x5a9c49(0xcb)]=_0x2b00f5,_0x4c07be[_0x5a9c49(0xea)]=process[_0x5a9c49(0xdb)][testHubConstants['ENV_VAR'][_0x5a9c49(0x98)]],_0x4c07be[_0x5a9c49(0x105)]=process['env'][testHubConstants[_0x5a9c49(0xfb)]['BROWSERSTACK_TESTHUB_JWT']];const _0x254b7e=_0x4c07be;logger[_0x5a9c49(0x9c)](_0x5a9c49(0x107)+JSON['stringify'](_0x254b7e));if(globals[_0x5a9c49(0xe6)](_0x1d8475['JMIQW'])){logger[_0x5a9c49(0x9c)](_0x1d8475[_0x5a9c49(0xd0)]);const _0x27e967=await accessibilityRetryHelper[_0x5a9c49(0xba)](global['__drivers'][0x0],global[_0x5a9c49(0xab)]);_0x27e967?logger[_0x5a9c49(0x9c)](_0x1d8475[_0x5a9c49(0xfd)]):logger[_0x5a9c49(0xbd)](_0x1d8475[_0x5a9c49(0xd6)]);}else logger['debug'](_0x1d8475[_0x5a9c49(0xf2)]);globals[_0x5a9c49(0xe6)](_0x1d8475[_0x5a9c49(0x9d)])&&(_0x254b7e[_0x5a9c49(0xb7)]=!![]);const _0x4bc582=await accessibilityRetryHelper[_0x5a9c49(0xa6)](global['__drivers'][0x0],_0x254b7e);_0x4bc582?logger['debug'](_0x1d8475[_0x5a9c49(0xe4)]):logger[_0x5a9c49(0xbd)](_0x1d8475['swPyA']);}}catch(_0x51b0f6){logger['error'](_0x5a9c49(0x10d)+util[_0x5a9c49(0xa8)](_0x51b0f6));}});}catch(a16_0x43be05){logger['debug'](a16_0x17963d(0xb0)+util[a16_0x17963d(0xa8)](a16_0x43be05));}function a16_0x3d8a(){const _0x226e23=['performScanWithRetry','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','sessionNameSet__','warn','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','failedExpectations','join','markSessionStatus','setGlobal','path','841407IkSGYF','info','sessionName','jsDcs','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','autoScanning','jasmine-core','thTestRunUuid','1gDqxBN','skipSessionName','BfrSp','cGZWC','LJFMi','getEnv','startsWith','QDLLY','../../index','push','rbdAt','../../helpers/helper','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','platformCaps','env','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','isTrue','__drivers','sep','bstackA11yShouldScan','message','qidbI','7OCZqDP','jmPJX','@playwright/test','getGlobal','kZwWo','NlLXw','util','thBuildUuid','forEach','../../helpers/testhub/constants','isMobilePlatform','prepareStackTrace','3128628cHIxWJ','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','./testRunMap','GgYdE','Failed:\x20','includes','stringify','2|0|3|4|1','MBQVb','isBrowserstackInfra','qpqUz','isAccessibilityPlatform','ENV_VAR','1129420vBhghF','CrrFG','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','11AaIBfG','hjxte','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','CONFIG','../../helpers/logger','thJwtToken','rNUOQ','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','../../helpers/testhub/utils','undefined','winstonLogger','isArray','AGMFF','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','getFileName','parse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML',',\x22level\x22:\x20\x22','__skipSessionStatus','uQQCM','bin','__platformCaps','\x22}}','__sessionFailed','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','vpQvy','BROWSERSTACK_TESTHUB_UUID','browserstackPlatformIndex','xdSUm','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','debug','quzGs','UJWhz','executeScript','1233394dFKAVf','describe','2959434RBXeVc','node:','Spec\x20failed','140632WxUSvS','saveAccessibilityResultsWithRetry','BROWSERSTACK_JASMINE_CONFIG','format','892HxUHFy','fileNameByFullName','browserstackSessionName','skipSessionStatus','length','bstackA11yScanOptions','KgDCW','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','__skipSessionName','stack','../../helpers/accessibility-automation/helper','../../helpers/globals','10765XrGCGp','../../helpers/accessibility-automation/accessibilityRetryHelper','is_mobile_session','browserstackAgentV2','./bstack-reporter/customReporter'];a16_0x3d8a=function(){return _0x226e23;};return a16_0x3d8a();}function a16_0x5e22(_0x31e0a6,_0x5b3b31){const _0x3d8a7d=a16_0x3d8a();return a16_0x5e22=function(_0x5e22c6,_0x264a27){_0x5e22c6=_0x5e22c6-0x90;let _0x318d6c=_0x3d8a7d[_0x5e22c6];return _0x318d6c;},a16_0x5e22(_0x31e0a6,_0x5b3b31);}module['exports']={};
|
|
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';const
|
|
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_0x5c975a=a18_0x2110;(function(_0x4a7965,_0x339629){const _0x25749d=a18_0x2110,_0x4210e1=_0x4a7965();while(!![]){try{const _0x546aac=-parseInt(_0x25749d(0x181))/0x1*(parseInt(_0x25749d(0x13e))/0x2)+parseInt(_0x25749d(0x16d))/0x3+parseInt(_0x25749d(0x115))/0x4*(parseInt(_0x25749d(0xdf))/0x5)+-parseInt(_0x25749d(0xc8))/0x6+-parseInt(_0x25749d(0x15e))/0x7*(parseInt(_0x25749d(0x103))/0x8)+parseInt(_0x25749d(0xef))/0x9+parseInt(_0x25749d(0x175))/0xa*(parseInt(_0x25749d(0x18e))/0xb);if(_0x546aac===_0x339629)break;else _0x4210e1['push'](_0x4210e1['shift']());}catch(_0x5b5ab9){_0x4210e1['push'](_0x4210e1['shift']());}}}(a18_0x1c76,0x3a9a0));function a18_0x1c76(){const _0x5ad4c8=['default','IFHug','getInstance','SDK_SETUP','length','testEnvironment','SDK_CLEANUP','\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','Getting\x20your\x20jest\x20configs\x20from\x20','hrqtp','^puppeteer-core/internal/(.*)','push','retryTestsOnFailure','proxySettings','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','debug','MODULE','Getting\x20your\x20jest\x20configs\x20from\x20package.json','jest_browserstack.config.cjs','BROWSERSTACK_TEST_ACCESSIBILITY_YML','writeFileSync','accessibilityOptions','json','runner','capabilities','getTCGConfigFilePaths','BROWSERSTACK_CAPABILITIES','resolve','config','jest-config/build/readConfigFileAndSetRootDir.js','platform','../../helpers/puppeteer-helper','shouldProcessEventForTesthub','../../helpers/test-observability/constants','start','WFFAU','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','KYzeh','win32','turboScaleUrl','PACKAGE_TYPE','setup','WeSMU','@playwright/test','format','launchBuild','/internal/$1','kbSpr','XlWru','NxkxZ','BSTACK_JEST_TEST_ENV','wotHH','\x20test\x20files\x20to\x20run.','setupBrowserstackLocal','1340844hkGDIw','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','existsSync','pkUow','log',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','setupFilesAfterEnv','customImplements','rmSync','retries__','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','isBrowserstackInfra','./test-observability/test-details','customTestRunnerTemplate.js','findIndex','testTimeout','serial__','requireModule','dirname','winstonLogger',';\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','platformCaps','jest-runner-','345660MugfXA','test_before.setup.js','shutdown','slice','info','\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',',\x20CLI\x20running:\x20','BSTACK_USER_JEST_RUNNER','getHubUrl','false','errorMessage','setupFiles','ulpEn','readInitialOptions','WRGzD','kreJf','2111607JNWKoR','wTsum','lGUJb','LhYyF','eUbLP','timeout__','mRHJs','__isPlaywrightInstalled','TdWWx','SGxdb','../v2/browserstackCLI','@jest/core/build/ReporterDispatcher.js','Deleted\x20fail-fast\x20state\x20folder:\x20','sfSlF','logLevel','../../helpers/accessibility-automation/helper','testObservability','Puppeteer\x20setup\x20error:\x20','parse','handleApp','40QLqfNm','browserStackLogLevel','env','customEnvironment.js','test.setup.js','const\x20config=','rmdirSync','checkAccessibilityPlatformConfig','ZaDiy','npx','UJOOo','child_process','Jievq','message','maxRetries','jest_browserstack.config.js','isRunning','cjs','24OdoAnx','skipSessionStatus','replace','Deleting\x20','test-observability','jest-config','rArsH','customTestRunner.js','../../helpers/playwright-helper','exitCode','Unable\x20to\x20find\x20jest-circus,\x20','cwd','runInBand','customCircus.js','error\x20removing\x20tcg\x20config\x20file','../../helpers/testhub/testhubHandler','testEnvironmentOptions','recursive','Preserving\x20user\x27s\x20Jest\x20runner:\x20','isTestOrchestrationEnabled','BROWSERSTACK_FRAMEWORK','inherit','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','finalExecution','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','IgFHI','jest','moduleNameMapper','isCLIEnabled','cgyRl','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','RjkWL','JARag','JEST','../../helpers/logger','isUndefined','@jest/core','../../helpers/utilities','useW3C','QfEUQ','testSequencer','6150juZMyy','isNotUndefined','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','NvOVo','../../helpers/performance/performance-tester','USER_CONFIG_DETAILS_PATH','setupTCGAuth','../../helpers/performance/constants','reporters','assign','startsWith','ZkFBc','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','CqMtT','filterBrowserstackArgs','Reodered\x20Test\x20Files:\x20','printBuildLink','bZTKM','jest_browserstack_results.json','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','readFileSync','WmUuE','lqiOY','stop','browserStackPercyOptions','util','clozp','getErrorMessageFromResults','findTestFiles','--config','WAwmV','573377uQnnyk','close','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','unlinkSync','abortBuildOnFailure','jest.config.','package.json','Found:\x20','prepareCapabilities','../../helpers/test-orchestration/testOrchestrationHandler','\x0a\x20\x20\x20\x20\x20\x20','ztgIQ','../../helpers/test-observability/utils','isCliEnabled','platforms','148389WbWPDb','../../helpers/BrowserStackSetup','../../helpers/testhub/utils','daHhn','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','RwMwf','error','playwright','3002580SaGBCJ','djeHE','accessibility','zzAjM','JEST_TEST_ORDER','resolveModule','maxWorkers','skipSessionName','requirePWModule','../../helpers/percy/utils','../utils/clientTroubleshootingService','COqqw','41ckMoET','testRunner','join','getPackageVersion','reorderTestFiles',';\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','mfPXu','wYYXO','../utils/constants','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Jidgx','isEmpty','UbfPI','11bFDdob','MbaAS','workingDir','failFast','FRAMEWORKS','true','stringify','parallelsPerPlatform','exports'];a18_0x1c76=function(){return _0x5ad4c8;};return a18_0x1c76();}function a18_0x2110(_0x45f0ef,_0x3a85a8){const _0x1c769f=a18_0x1c76();return a18_0x2110=function(_0x21102c,_0x11af39){_0x21102c=_0x21102c-0xae;let _0x3635ad=_0x1c769f[_0x21102c];return _0x3635ad;},a18_0x2110(_0x45f0ef,_0x3a85a8);}const fs=require('fs'),path=require('path'),util=require(a18_0x5c975a(0x158)),{spawn}=require(a18_0x5c975a(0x10e)),logger=require(a18_0x5c975a(0x137))[a18_0x5c975a(0xdb)],{default:BrowserStackSetup}=require(a18_0x5c975a(0x16e)),helper=require('../../helpers/helper'),utilities=require(a18_0x5c975a(0x13a)),constants=require(a18_0x5c975a(0x189)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require(a18_0x5c975a(0x16a)),{debug}=require(a18_0x5c975a(0x16a)),TestDetails=require(a18_0x5c975a(0xd4)),{getPercyOptions}=require(a18_0x5c975a(0x17e)),TestHubHandler=require(a18_0x5c975a(0x124)),testhubUtils=require(a18_0x5c975a(0x16f)),{FRAMEWORKS}=require(a18_0x5c975a(0xb3)),PerformanceTester=require(a18_0x5c975a(0x142)),PerformanceEvents=require(a18_0x5c975a(0x145))[a18_0x5c975a(0x14a)],TestOrchestrationHandler=require(a18_0x5c975a(0x167)),BrowserstackCLI=require(a18_0x5c975a(0xf9)),{checkPwandBootstrapCli}=require(a18_0x5c975a(0x11d)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a18_0x5c975a(0xb1)),ClientTroubleShootingService=require(a18_0x5c975a(0x17f)),{checkAccessibilityPlatformConfig}=require(a18_0x5c975a(0xfe)),getUserJestConfigs=async(_0x318f78,_0xc36728)=>{const _0x106957=a18_0x5c975a,_0x3d5333={'RjkWL':_0x106957(0xaf),'SGxdb':_0x106957(0x11a),'MImNK':function(_0x3bb50d,_0xdf10a3){return _0x3bb50d||_0xdf10a3;},'MbaAS':function(_0x3932dc,_0x2f2182){return _0x3932dc(_0x2f2182);},'TrtPe':_0x106957(0x164),'kbSpr':_0x106957(0x1a8),'IgFHI':'mjs','fIKFs':_0x106957(0x114),'WAwmV':_0x106957(0x1ad)};let _0x9f40b9;try{_0x9f40b9=helper[_0x106957(0xd9)](_0x3d5333[_0x106957(0x134)],_0x3d5333[_0x106957(0xf8)]);}catch{const _0x4f8d61=helper[_0x106957(0xd9)](_0x3d5333[_0x106957(0xf8)]);_0x9f40b9={'default':async _0x337244=>{const _0x48df87=_0x106957,_0x102950=await _0x4f8d61[_0x48df87(0xec)](_0x337244,{});return _0x102950[_0x48df87(0xae)];}};}const _0x54a114=_0xc36728[_0x106957(0xd6)](_0x5c6a41=>_0x5c6a41===_0x106957(0x15c));if(!helper[_0x106957(0x138)](_0x318f78[_0x106957(0xae)])){logger[_0x106957(0xe3)](_0x106957(0x19f)+_0x318f78[_0x106957(0xae)]),process[_0x106957(0x105)][_0x106957(0x143)]=_0x318f78['config'];const _0x3d2691=await(0x0,_0x9f40b9[_0x106957(0x197)])(path[_0x106957(0x1b2)](_0x318f78[_0x106957(0xae)]));return _0xc36728['splice'](_0x54a114,0x2),_0x3d5333['MImNK'](_0x3d2691,{});}const _0x5bff91=_0x3d5333[_0x106957(0x18f)](require,path[_0x106957(0x183)](process[_0x106957(0x120)](),_0x3d5333['TrtPe']));if(_0x5bff91[_0x106957(0x12f)])return logger[_0x106957(0xe3)](_0x3d5333[_0x106957(0xc1)]),_0x5bff91[_0x106957(0x12f)];const _0xe8f3bc=['js',_0x3d5333[_0x106957(0x12e)],_0x3d5333['fIKFs'],_0x3d5333[_0x106957(0x15d)],'ts'];for(const _0x4e87ad of _0xe8f3bc){const _0x43e7bd=path[_0x106957(0x183)](process[_0x106957(0x120)](),_0x106957(0x163)+_0x4e87ad);if(fs['existsSync'](_0x43e7bd)){process[_0x106957(0x105)][_0x106957(0x143)]=_0x43e7bd;const _0x526c01=await(0x0,_0x9f40b9[_0x106957(0x197)])(_0x43e7bd);return _0x526c01;}}return{};},getSerial=(_0x1d9f7e,_0x3697d5)=>{const _0x64235e=a18_0x5c975a,_0x5b5136={};_0x5b5136['KYzeh']='true',_0x5b5136['ZdJAh']=function(_0x37424c,_0x25493c){return _0x37424c>_0x25493c;},_0x5b5136[_0x64235e(0x159)]=function(_0x59a732,_0x4c609e){return _0x59a732>_0x4c609e;},_0x5b5136['QfEUQ']=_0x64235e(0xe8);const _0x468826=_0x5b5136;let _0x2bd170=_0x468826[_0x64235e(0xb7)];return _0x468826['ZdJAh'](_0x1d9f7e[_0x64235e(0x19b)],0x1)&&(!_0x3697d5[_0x64235e(0x121)]&&(helper['isUndefined'](_0x3697d5[_0x64235e(0x17b)])||_0x468826[_0x64235e(0x159)](_0x3697d5[_0x64235e(0x17b)],0x1)))&&(_0x2bd170=_0x468826[_0x64235e(0x13c)]),_0x2bd170;},getMaxWorkers=(_0x5999da,_0x5a83c3,_0x5d9933)=>{const _0x2706ff=a18_0x5c975a,_0xcef3ba={'psLxy':function(_0x1eb5d,_0x214cab){return _0x1eb5d(_0x214cab);}};let _0x37ae8e=0x1;if(!helper[_0x2706ff(0x138)](_0x5a83c3['parallelsPerPlatform']))_0x37ae8e=_0xcef3ba['psLxy'](parseInt,_0x5a83c3[_0x2706ff(0x195)]);else{if(!helper[_0x2706ff(0x138)](_0x5999da['maxWorkers']))_0x37ae8e=_0x5999da[_0x2706ff(0x17b)];else!helper['isUndefined'](_0x5d9933[_0x2706ff(0x17b)])&&(_0x37ae8e=_0x5d9933[_0x2706ff(0x17b)]);}return _0x37ae8e;};async function run(_0xff314d,_0x19fc9c,_0x4cedad){const _0x462550=a18_0x5c975a,_0x5e03de={'NvOVo':_0x462550(0x123),'WeSMU':_0x462550(0x12f),'IFHug':function(_0x58b07b,_0x4e3dd1){return _0x58b07b(_0x4e3dd1);},'lGUJb':_0x462550(0xbd),'wotHH':function(_0x518dfa){return _0x518dfa();},'WmUuE':function(_0x31cc34,_0x4866a5,_0x40b3dc,_0x5bb578){return _0x31cc34(_0x4866a5,_0x40b3dc,_0x5bb578);},'pkUow':function(_0x31276f,_0x4a0ffb){return _0x31276f!=_0x4a0ffb;},'wYYXO':_0x462550(0x193),'bZTKM':function(_0x4fd12c,_0xbf666,_0x5e4d85){return _0x4fd12c(_0xbf666,_0x5e4d85);},'sfSlF':_0x462550(0x160),'DlQMi':_0x462550(0xe8),'wTsum':function(_0x564a53,_0x4a1fe4,_0x2964e2,_0xf7fc1e){return _0x564a53(_0x4a1fe4,_0x2964e2,_0xf7fc1e);},'TdWWx':function(_0x2bfeab,_0x2658fd){return _0x2bfeab*_0x2658fd;},'Jidgx':function(_0x35b6a7,_0x3bbeb5){return _0x35b6a7===_0x3bbeb5;},'pVngb':_0x462550(0x1a9),'CqMtT':_0x462550(0x112),'mfPXu':_0x462550(0xcf),'wbNqo':_0x462550(0x151),'ZkFBc':_0x462550(0x11c),'zfxZa':_0x462550(0xd5),'pzIQy':_0x462550(0x106),'zTdXx':function(_0x3a94de,_0x23f8fb){return _0x3a94de!==_0x23f8fb;},'Jievq':'jest-runner','daHhn':'jest-runner-','LhYyF':'jest.setup.js','eUbLP':'customSequencer.js','JARag':_0x462550(0x152),'ZaDiy':'jest-circus','oqJmW':'jest-circus/build/runner.js','BvwZv':function(_0x573d63,_0x47d474){return _0x573d63(_0x47d474);},'pFztW':_0x462550(0x119),'qkdMU':'data-hooks.js','RwMwf':_0x462550(0x122),'cgyRl':_0x462550(0xe0),'NxkxZ':_0x462550(0x12b),'iriAf':_0x462550(0x174),'EDFRN':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','kreJf':_0x462550(0x107),'zzAjM':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','yulag':function(_0x39bc76,_0x33fd8a){return _0x39bc76&&_0x33fd8a;},'ozsZI':_0x462550(0xc9),'tKgiU':'puppeteer','UbfPI':'puppeteer-core/package.json','rArsH':_0x462550(0x197),'lqiOY':function(_0xe4b448,_0x24def3,_0x43aed8){return _0xe4b448(_0x24def3,_0x43aed8);},'COqqw':_0x462550(0xfa),'XlWru':_0x462550(0x139),'mRHJs':_0x462550(0xb6),'ulpEn':function(_0x16d31c,_0x57da0c){return _0x16d31c>_0x57da0c;},'WFFAU':_0x462550(0x171),'WRGzD':_0x462550(0x15c),'hrqtp':_0x462550(0x10c),'UJOOo':_0x462550(0xb8),'djeHE':_0x462550(0x12a),'ztgIQ':_0x462550(0x15f)},_0x3b4750=helper[_0x462550(0x184)](_0x5e03de['lGUJb']);global[_0x462550(0xf6)]=!!_0x3b4750;const _0x23c13a=_0x5e03de[_0x462550(0xc5)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x23c13a;helper[_0x462550(0xd3)]()?(await _0x4cedad['initialize'](_0xff314d),await helper[_0x462550(0x102)](_0x4cedad[_0x462550(0xae)])):await _0x4cedad[_0x462550(0x144)]();if(_0x3b4750)await _0x5e03de[_0x462550(0x154)](checkPwandBootstrapCli,_0x3b4750,constants[_0x462550(0x192)][_0x462550(0x136)],_0x4cedad);else _0x23c13a&&await _0x5e03de['WmUuE'](checkPuppeteerAndBootstrapCli,_0x23c13a,constants[_0x462550(0x192)]['JEST'],_0x4cedad);!BrowserstackCLI['getInstance']()[_0x462550(0x113)]()&&await _0x4cedad[_0x462550(0xc7)]();if(!_0x4cedad[_0x462550(0xae)])return;_0x5e03de[_0x462550(0xcb)](_0x4cedad['config'][_0x462550(0xff)],null)?process['env'][_0x462550(0x14b)]=_0x4cedad['config'][_0x462550(0xff)]:process[_0x462550(0x105)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x5e03de[_0x462550(0x188)];const _0x4ba479=new TestOrchestrationHandler(_0x4cedad[_0x462550(0xae)]),_0x8ab799=await _0x5e03de[_0x462550(0x150)](getUserJestConfigs,_0xff314d,_0x19fc9c);logger[_0x462550(0xe3)](_0x5e03de[_0x462550(0xfc)]);const _0x41fa3d=Object[_0x462550(0x147)]({},_0x8ab799);_0x41fa3d[_0x462550(0x125)]=Object[_0x462550(0x147)]({},_0x41fa3d[_0x462550(0x125)],{'server':helper[_0x462550(0xe7)](_0x4cedad[_0x462550(0xae)]),'environment':_0x8ab799[_0x462550(0x19c)]}),_0x41fa3d[_0x462550(0x125)][_0x462550(0x157)]=_0x5e03de['IFHug'](getPercyOptions,_0x4cedad[_0x462550(0xae)]);const _0x260aa4=helper[_0x462550(0x13b)](_0x4cedad[_0x462550(0xae)]);!helper[_0x462550(0x138)](_0x4cedad[_0x462550(0xae)][_0x462550(0x1ac)])&&(process[_0x462550(0x105)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x462550(0x194)](_0x4cedad[_0x462550(0xae)]['accessibilityOptions']));if(!BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x113)]()){const _0x11d3c7=await TestHubHandler[_0x462550(0xbf)](FRAMEWORKS['JEST'],_0x4cedad);}const _0x29a77e=helper[_0x462550(0x166)](_0x4cedad[_0x462550(0xae)],_0x260aa4,constants[_0x462550(0x192)]['JEST']);process[_0x462550(0x105)][_0x462550(0x1b1)]=JSON[_0x462550(0x194)](_0x29a77e);let _0x2f0976=_0x4cedad[_0x462550(0xae)][_0x462550(0x177)];_0x2f0976=_0x2f0976||accessibilityHelper[_0x462550(0x10a)](_0x4cedad[_0x462550(0xae)]),process['env'][_0x462550(0x1aa)]=_0x2f0976,logger[_0x462550(0x1a6)]('[Jest\x20Command]\x20Accessibility\x20enabled:\x20'+_0x2f0976+_0x462550(0xe5)+BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x113)]());if(_0x3b4750)try{const _0x50f8ed=_0x5e03de[_0x462550(0x198)](checkAccessibilityPlatformConfig,_0x4cedad[_0x462550(0xae)]);process[_0x462550(0x105)][_0x462550(0x18a)]=_0x50f8ed?_0x5e03de['wYYXO']:_0x5e03de['DlQMi'],logger[_0x462550(0x1a6)](_0x462550(0x140)+_0x50f8ed+_0x462550(0xcd)+process[_0x462550(0x105)][_0x462550(0x18a)]);}catch(_0x4561b7){logger[_0x462550(0x1a6)](_0x462550(0x1a5)+util[_0x462550(0xbe)](_0x4561b7));}_0x41fa3d[_0x462550(0x125)][_0x462550(0x1af)]=_0x29a77e,_0x41fa3d['testEnvironmentOptions'][_0x462550(0xd8)]=_0x5e03de['bZTKM'](getSerial,_0x29a77e,_0xff314d),_0x41fa3d[_0x462550(0x125)]['parallels__']=_0x5e03de[_0x462550(0xf0)](getMaxWorkers,_0xff314d,_0x4cedad['config'],_0x8ab799),_0x41fa3d[_0x462550(0x125)][_0x462550(0x1a4)]=_0x4cedad[_0x462550(0xae)][_0x462550(0x1a4)],_0x41fa3d[_0x462550(0x125)][_0x462550(0xf4)]=_0x5e03de[_0x462550(0xf7)](_0xff314d[_0x462550(0xd7)],0x1)||0x1388,_0x41fa3d[_0x462550(0x125)]['skipSessionName']=_0x4cedad['config']['testContextOptions'][_0x462550(0x17c)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x116)]=_0x4cedad[_0x462550(0xae)]['testContextOptions'][_0x462550(0x116)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x104)]=_0x4cedad[_0x462550(0xae)][_0x462550(0xfd)],_0x41fa3d[_0x462550(0x125)][_0x462550(0xb9)]=_0x4cedad[_0x462550(0xae)][_0x462550(0xb9)],_0x41fa3d['testEnvironmentOptions'][_0x462550(0xdd)]=_0x4cedad[_0x462550(0xae)][_0x462550(0x16c)];const _0x1190b6=helper['parseTestOrchestrationOptions'](_0x4cedad[_0x462550(0xae)]);if(!helper[_0x462550(0x18c)](_0x1190b6)){helper[_0x462550(0x13f)](_0x1190b6['retryTestsOnFailure'])&&(_0x41fa3d[_0x462550(0x125)][_0x462550(0xd1)]=_0x1190b6[_0x462550(0x1a3)][_0x462550(0x111)]);if(helper[_0x462550(0x13f)](_0x1190b6[_0x462550(0x162)])&&helper['isNotUndefined'](_0x1190b6[_0x462550(0x162)][_0x462550(0x190)])){const _0x20d281={};_0x20d281['failureThresholdCount']=_0x1190b6[_0x462550(0x162)]['maxFailures'],_0x20d281['workingDir']=_0x1190b6[_0x462550(0x162)][_0x462550(0x190)],_0x41fa3d[_0x462550(0x125)][_0x462550(0x191)]=_0x20d281;}}let _0x5632db='';_0x5e03de[_0x462550(0x18b)](helper['getPackageType'](),constants[_0x462550(0xba)][_0x462550(0x1a7)])?_0x5632db=_0x5e03de['pVngb']:_0x5632db=_0x5e03de[_0x462550(0x14c)];const _0x512a75=_0x5632db,_0x7b9b27=path[_0x462550(0x183)](__dirname,_0x5e03de['mfPXu'],_0x5e03de['wbNqo']),_0x274d50=path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de[_0x462550(0x149)]),_0x2fa1ca=path['join'](__dirname,_0x5e03de['mfPXu'],_0x5e03de['zfxZa']);_0x41fa3d[_0x462550(0x19c)]&&(process[_0x462550(0x105)][_0x462550(0xc4)]=_0x41fa3d[_0x462550(0x19c)]);_0x41fa3d[_0x462550(0x19c)]=path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de['pzIQy']);const _0x39952d=_0x8ab799[_0x462550(0x1ae)];if(_0x39952d&&_0x5e03de['zTdXx'](_0x39952d,_0x5e03de[_0x462550(0x10f)])){const _0x30d371=_0x39952d[_0x462550(0x148)](_0x5e03de[_0x462550(0x170)])?_0x39952d:_0x462550(0xde)+_0x39952d;process['env'][_0x462550(0xe6)]=_0x30d371,logger[_0x462550(0xe3)](_0x462550(0x127)+_0x30d371);}_0x41fa3d[_0x462550(0x1ae)]=_0x274d50,_0x41fa3d['setupFilesAfterEnv']=_0x41fa3d['setupFilesAfterEnv']||[],_0x41fa3d[_0x462550(0xce)][_0x462550(0x1a2)](path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0xf2)]));_0x4ba479[_0x462550(0x128)]()&&(_0x41fa3d[_0x462550(0x13d)]=path['join'](__dirname,_0x5e03de[_0x462550(0x187)],_0x5e03de[_0x462550(0xf3)]));if(testhubUtils[_0x462550(0xb2)]()||BrowserstackCLI[_0x462550(0x199)]()[_0x462550(0x16b)]()){let _0x406cc1=null;try{_0x406cc1=helper[_0x462550(0xd9)](_0x5e03de[_0x462550(0x135)],_0x5e03de['ZaDiy']);}catch(_0xfa4837){try{_0x406cc1=helper[_0x462550(0xd9)](_0x5e03de['oqJmW'],_0x5e03de[_0x462550(0x10b)]);}catch(_0x22be0f){_0x5e03de['BvwZv'](debug,_0x462550(0x11f)+_0x22be0f);}}_0x406cc1&&(testhubUtils[_0x462550(0xb2)]()&&_0x41fa3d[_0x462550(0xce)][_0x462550(0x1a2)](path['join'](__dirname,_0x5e03de['pFztW'],_0x5e03de['qkdMU'])),_0x41fa3d[_0x462550(0x182)]=path[_0x462550(0x183)](__dirname,_0x5e03de['mfPXu'],_0x5e03de[_0x462550(0x172)]));}_0x41fa3d[_0x462550(0xea)]=_0x41fa3d['setupFiles']||[];try{helper['requireSeleniumWebdriver'](),_0x41fa3d[_0x462550(0xea)][_0x462550(0x1a2)](path['join'](__dirname,_0x5e03de[_0x462550(0x132)]));}catch{logger['debug'](_0x5e03de[_0x462550(0xc3)]);}try{helper[_0x462550(0x17d)]['apply'](null,[_0x5e03de[_0x462550(0xf1)],_0x5e03de['iriAf']]),logger[_0x462550(0x1a6)](_0x5e03de['EDFRN']),_0x41fa3d[_0x462550(0xea)]['push'](path[_0x462550(0x183)](__dirname,_0x5e03de[_0x462550(0xee)]));}catch(_0x2b646a){logger[_0x462550(0x1a6)](_0x5e03de[_0x462550(0x178)],_0x2b646a);}if(_0x5e03de['yulag'](!_0x3b4750,_0x23c13a)){try{logger[_0x462550(0x1a6)](_0x5e03de['ozsZI']),_0x41fa3d[_0x462550(0xce)]['push'](path[_0x462550(0x183)](__dirname,'..',_0x5e03de['tKgiU'],_0x5e03de[_0x462550(0xee)]));}catch(_0x5cae74){logger['debug'](_0x462550(0x100)+_0x5cae74[_0x462550(0x110)]);}try{const _0x524395=require[_0x462550(0x1b2)](_0x5e03de[_0x462550(0x18d)]),_0x302d75=path[_0x462550(0xda)](_0x524395)[_0x462550(0x117)](/\\/g,'/'),_0x490993={};_0x490993[_0x462550(0x1a1)]=_0x302d75+_0x462550(0xc0),_0x41fa3d['moduleNameMapper']=Object[_0x462550(0x147)]({},_0x41fa3d[_0x462550(0x130)]||{},_0x490993),logger['debug'](_0x462550(0x133)+_0x302d75);}catch(_0x870e7f){logger[_0x462550(0x1a6)]('[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20'+_0x870e7f[_0x462550(0x110)]);}}_0x41fa3d[_0x462550(0x146)]=_0x41fa3d[_0x462550(0x146)]||[_0x5e03de[_0x462550(0x11b)]],_0x5e03de[_0x462550(0x155)](updateTestRerunConfig,_0x41fa3d,_0x4cedad);const _0x15dc4b=fs[_0x462550(0x153)](_0x2fa1ca),_0x55c74c=helper[_0x462550(0x17a)](_0x5e03de[_0x462550(0x180)],_0x5e03de[_0x462550(0xc2)]);!_0x55c74c[_0x462550(0x173)]?fs[_0x462550(0x1ab)](_0x41fa3d[_0x462550(0x1ae)],_0x462550(0x168)+_0x15dc4b+_0x462550(0x19e)+_0x4cedad[_0x462550(0xae)]['platforms'][_0x462550(0x19b)]+_0x462550(0x186)):fs[_0x462550(0x1ab)](_0x41fa3d[_0x462550(0x1ae)],'\x0a\x20\x20\x20\x20\x20\x20'+_0x15dc4b+_0x462550(0xe4)+_0x4cedad[_0x462550(0xae)][_0x462550(0x16c)][_0x462550(0x19b)]+_0x462550(0xdc));logger['info']('Creating\x20'+_0x512a75+'\x20with\x20browserstack\x20jest\x20configs'),fs[_0x462550(0x1ab)](_0x512a75,_0x462550(0x108)+JSON[_0x462550(0x194)](_0x41fa3d)+'\x0amodule.exports\x20=\x20config;');if(_0x4ba479[_0x462550(0x128)]()){logger[_0x462550(0x1a6)](_0x5e03de[_0x462550(0xf5)]);const _0x2dd224=await _0x4ba479[_0x462550(0x15b)](_0x41fa3d,_0x19fc9c['slice'](0x1),_0x512a75);logger['debug'](_0x462550(0x165)+JSON[_0x462550(0x194)](_0x2dd224)+_0x462550(0xc6));const _0x16a3d5=await _0x4ba479[_0x462550(0x185)](_0x2dd224);logger['debug'](_0x462550(0x14e)+JSON[_0x462550(0x194)](_0x16a3d5)),_0x16a3d5&&_0x5e03de[_0x462550(0xeb)](_0x16a3d5[_0x462550(0x19b)],0x0)&&(process[_0x462550(0x105)][_0x462550(0x179)]=_0x16a3d5?.[_0x462550(0x183)](','));}logger[_0x462550(0xe3)](_0x5e03de[_0x462550(0xb5)]);testhubUtils[_0x462550(0xb2)]()&&TestDetails[_0x462550(0xbb)]();helper[_0x462550(0x14d)]({},_0x19fc9c),PerformanceTester['end'](PerformanceEvents[_0x462550(0x19a)]);const _0x4dee01=[_0x5e03de['WeSMU'],_0x5e03de[_0x462550(0xed)],_0x512a75,..._0x19fc9c[_0x462550(0xe2)](0x1)];process[_0x462550(0x105)][_0x462550(0x129)]=process[_0x462550(0x105)][_0x462550(0x129)]||_0x5e03de['WeSMU'];const _0x13fc7f=_0x5e03de[_0x462550(0x154)](spawn,_0x5e03de[_0x462550(0x1a0)],_0x4dee01,{'shell':_0x5e03de[_0x462550(0x18b)](process[_0x462550(0xb0)],_0x5e03de[_0x462550(0x10d)]),'stdio':_0x5e03de[_0x462550(0x176)],'env':Object[_0x462550(0x147)]({},process[_0x462550(0x105)])});_0x13fc7f['on'](_0x5e03de[_0x462550(0x169)],async _0x2fbf2a=>{const _0x3baa29=_0x462550;PerformanceTester[_0x3baa29(0xb4)](PerformanceEvents[_0x3baa29(0x19d)]);try{const {browserstackFolderPath:_0x486c8e,tcgConfigPath:_0x3c6efc}=helper[_0x3baa29(0x1b0)]();fs[_0x3baa29(0x161)](_0x3c6efc),fs[_0x3baa29(0x109)](_0x486c8e);}catch(_0x4275b1){logger[_0x3baa29(0x1a6)](_0x5e03de[_0x3baa29(0x141)],_0x4275b1);}process[_0x3baa29(0x11e)]=_0x2fbf2a,logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x2fbf2a),logger['info'](_0x3baa29(0x118)+_0x512a75);if(helper[_0x3baa29(0x13f)](_0x1190b6)&&helper[_0x3baa29(0x13f)](_0x1190b6['abortBuildOnFailure'])&&fs[_0x3baa29(0xca)](_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)]))try{const _0x3a2e71={};_0x3a2e71[_0x3baa29(0x126)]=!![],_0x3a2e71['force']=!![],fs[_0x3baa29(0xd0)](_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)],_0x3a2e71),logger[_0x3baa29(0x1a6)](_0x3baa29(0xfb)+_0x1190b6[_0x3baa29(0x162)][_0x3baa29(0x190)]);}catch(_0x51a01c){logger[_0x3baa29(0x173)](_0x3baa29(0x12d)+_0x51a01c);}let _0x376eb5=null;if(fs[_0x3baa29(0xca)](_0x7b9b27)){_0x376eb5=fs[_0x3baa29(0x153)](_0x7b9b27);try{_0x376eb5=JSON[_0x3baa29(0x101)](_0x376eb5);}catch(_0x4b1e2b){logger[_0x3baa29(0x1a6)]('Error\x20while\x20parsing\x20'+_0x7b9b27+',\x20'+_0x376eb5+'\x20:\x20'+_0x4b1e2b);}fs[_0x3baa29(0x161)](_0x7b9b27);}fs[_0x3baa29(0x161)](_0x512a75),fs['unlinkSync'](_0x274d50),_0x376eb5&&(_0x4cedad[_0x3baa29(0xe9)]=helper[_0x3baa29(0x15a)](_0x376eb5,_0x5e03de[_0x3baa29(0xbc)],_0x4cedad));const _0x510225=BrowserstackCLI[_0x3baa29(0x131)]();try{await TestHubHandler[_0x3baa29(0x156)](),await BrowserstackCLI[_0x3baa29(0x199)]()['stop']();}catch(_0xb39621){console[_0x3baa29(0xcc)](_0xb39621),_0x5e03de['IFHug'](debug,_0x3baa29(0xd2)+util['format'](_0xb39621));}testOpsHelper[_0x3baa29(0x14f)](),TestDetails[_0x3baa29(0xe1)](),await utilities[_0x3baa29(0x12c)](_0x4cedad,_0x510225);});}module[a18_0x5c975a(0x196)]=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
|
-
|
|
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);};
|