browserstack-node-sdk 1.46.3 → 1.46.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +108 -0
- package/generated/sdk-messages_pb.js +830 -0
- package/generated/sdk_grpc_pb.d.ts +10 -0
- package/generated/sdk_grpc_pb.js +66 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +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/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/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/builderPatch.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/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/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/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -0
- 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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.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/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.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/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/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.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/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/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a10_0x3f89(){const _0x161f4d=['../../index','skipSessionStatus','193270ZWJkYe','name','7RwthjS','skipSessionName','session_','pickle','bFUNm','97581xINeRh','Inside\x20browserstack\x20Before','Error:\x20setting\x20status\x20at\x20After:\x20','debug','cucumber','NIdCX','passed','HmuPB','pjCFZ','170350zWoNhN','\x20|\x20','__error_messages__','kHxku','result','245674MAJoyl','oYLQS','2215twcbhi','CODFm','setDefaultTimeout','Inside\x20browserstack\x20After','parse','env','../../helpers/logger','281520jEPJHV','then','timeout','status','After','DuMNV','__timeout','NCrfY','45tCodwr','toLowerCase','CONFIG','cucumber/lib/index.js','__skipSessionName','__platformCaps','KHhIH','\x22}}','104230CrJHdf','winstonLogger','Error:\x20quiting\x20at\x20After:\x20','browserstackAgentV2','bstack','__driver','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','../../helpers/setKeepAlive','2736IeRcMt','8fsHMgn','../../helpers/helper','__skipSessionStatus','failed'];a10_0x3f89=function(){return _0x161f4d;};return a10_0x3f89();}const a10_0x2c126d=a10_0xc502;(function(_0xc89583,_0x419e54){const _0x3a6fbc=a10_0xc502,_0x2e487e=_0xc89583();while(!![]){try{const _0x5bfdcd=-parseInt(_0x3a6fbc(0x1d2))/0x1+-parseInt(_0x3a6fbc(0x1ff))/0x2+-parseInt(_0x3a6fbc(0x1c9))/0x3*(-parseInt(_0x3a6fbc(0x1f9))/0x4)+parseInt(_0x3a6fbc(0x1d9))/0x5*(parseInt(_0x3a6fbc(0x1f8))/0x6)+-parseInt(_0x3a6fbc(0x201))/0x7*(-parseInt(_0x3a6fbc(0x1e0))/0x8)+-parseInt(_0x3a6fbc(0x1e8))/0x9*(-parseInt(_0x3a6fbc(0x1f0))/0xa)+parseInt(_0x3a6fbc(0x1d7))/0xb;if(_0x5bfdcd===_0x419e54)break;else _0x2e487e['push'](_0x2e487e['shift']());}catch(_0x13560b){_0x2e487e['push'](_0x2e487e['shift']());}}}(a10_0x3f89,0x1ac94));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x2c126d(0x1fa)),setKeepAlive=require(a10_0x2c126d(0x1f7)),cucumberModule=requireModule(a10_0x2c126d(0x1eb),a10_0x2c126d(0x1cd)),logger=require(a10_0x2c126d(0x1df))[a10_0x2c126d(0x1f1)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x2c126d(0x1e4)],configuration=process[a10_0x2c126d(0x1de)][a10_0x2c126d(0x1ea)];if(configuration!==undefined){const config=JSON[a10_0x2c126d(0x1dd)](configuration);isTrue(config[a10_0x2c126d(0x202)])&&(global[a10_0x2c126d(0x1ec)]=!![]),global[a10_0x2c126d(0x1fb)]=isTrue(config[a10_0x2c126d(0x1fe)]),require(a10_0x2c126d(0x1fd))[a10_0x2c126d(0x1f3)](config),global[a10_0x2c126d(0x1ed)]=config['platformCaps']||{};}function a10_0xc502(_0x5551ad,_0x6074e){const _0x3f894b=a10_0x3f89();return a10_0xc502=function(_0xc502f0,_0x4a65d5){_0xc502f0=_0xc502f0-0x1c8;let _0x39ecbb=_0x3f894b[_0xc502f0];return _0x39ecbb;},a10_0xc502(_0x5551ad,_0x6074e);}global[a10_0x2c126d(0x1e6)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x2c126d(0x1db)];cucumberModule[a10_0x2c126d(0x1db)]=_0x4d5f6b=>{const _0x3f0032=a10_0x2c126d,_0x1fd3e3={'bFUNm':function(_0x2440ba,_0xbd430c){return _0x2440ba(_0xbd430c);}};global[_0x3f0032(0x1e6)]=_0x4d5f6b,_0x1fd3e3[_0x3f0032(0x1c8)](__setDefaultTimeout,_0x4d5f6b);};const a10_0x5f47a9={};a10_0x5f47a9[a10_0x2c126d(0x200)]=a10_0x2c126d(0x1f4),Before(a10_0x5f47a9,function(){const _0xb999e3=a10_0x2c126d,_0x13f3e4={};_0x13f3e4[_0xb999e3(0x1e5)]=_0xb999e3(0x1ca);const _0x48798a=_0x13f3e4;logger[_0xb999e3(0x1cc)](_0x48798a[_0xb999e3(0x1e5)]),global[_0xb999e3(0x1d4)]=[];});const a10_0x2ade2e={};a10_0x2ade2e[a10_0x2c126d(0x200)]=a10_0x2c126d(0x1f4),a10_0x2ade2e[a10_0x2c126d(0x1e2)]=0x2710,After(a10_0x2ade2e,function(_0xb2db5,_0x5306af){const _0x33a0dc=a10_0x2c126d,_0x2c2db0={'kHxku':function(_0xd0bc68,_0x5ce0d0){return _0xd0bc68===_0x5ce0d0;},'HmuPB':_0x33a0dc(0x1fc),'KHhIH':function(_0x17746f,_0x3c00cf,_0x47e83b,_0x3f5449){return _0x17746f(_0x3c00cf,_0x47e83b,_0x3f5449);},'CODFm':_0x33a0dc(0x1d3),'FaXsm':function(_0x2706de,_0x3d7018,_0x467bf0){return _0x2706de(_0x3d7018,_0x467bf0);},'NCrfY':_0x33a0dc(0x1cf),'NIdCX':function(_0x3789c3){return _0x3789c3();},'gGPHA':function(_0xd1cf7b,_0x3c283e){return _0xd1cf7b(_0x3c283e);},'pjCFZ':function(_0x49150f){return _0x49150f();},'oYLQS':_0x33a0dc(0x1dc)};logger[_0x33a0dc(0x1cc)](_0x2c2db0[_0x33a0dc(0x1d8)]),new Promise(async(_0x5d3c08,_0x11712e)=>{const _0x239fa8=_0x33a0dc;let _0x4fad7f=![];try{await global['__driver'][_0x239fa8(0x203)],_0x4fad7f=!![],!global[_0x239fa8(0x1ec)]&&await global[_0x239fa8(0x1f5)]['executeScript'](_0x239fa8(0x1f6)+_0xb2db5[_0x239fa8(0x204)]['name']+_0x239fa8(0x1ef)),_0x2c2db0[_0x239fa8(0x1d5)](_0xb2db5[_0x239fa8(0x1d6)][_0x239fa8(0x1e3)][_0x239fa8(0x1e9)](),_0x2c2db0[_0x239fa8(0x1d0)])?await _0x2c2db0[_0x239fa8(0x1ee)](markSessionStatus,global['__driver'],_0x2c2db0[_0x239fa8(0x1d0)],global[_0x239fa8(0x1d4)]['join'](_0x2c2db0[_0x239fa8(0x1da)])):await _0x2c2db0['FaXsm'](markSessionStatus,global[_0x239fa8(0x1f5)],_0x2c2db0[_0x239fa8(0x1e7)]);}catch(_0x408625){logger['debug'](_0x239fa8(0x1cb)+_0x408625);}if(_0x4fad7f)try{await global[_0x239fa8(0x1f5)]['initQuit'](),_0x2c2db0[_0x239fa8(0x1ce)](_0x5d3c08);}catch(_0x3ef911){logger[_0x239fa8(0x1cc)](_0x239fa8(0x1f2)+_0x3ef911),_0x2c2db0['gGPHA'](_0x11712e,_0x3ef911);}else _0x2c2db0[_0x239fa8(0x1d1)](_0x11712e);})[_0x33a0dc(0x1e1)](()=>_0x5306af());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x3b4efa=a11_0x911d;(function(_0x3cfdb5,_0x4d0b0c){const _0x2f698b=a11_0x911d,_0x33c37c=_0x3cfdb5();while(!![]){try{const _0x5d7c2f=-parseInt(_0x2f698b(0x155))/0x1*(parseInt(_0x2f698b(0x153))/0x2)+parseInt(_0x2f698b(0x159))/0x3+-parseInt(_0x2f698b(0x154))/0x4*(-parseInt(_0x2f698b(0x157))/0x5)+-parseInt(_0x2f698b(0x151))/0x6+-parseInt(_0x2f698b(0x150))/0x7*(parseInt(_0x2f698b(0x152))/0x8)+-parseInt(_0x2f698b(0x15a))/0x9+parseInt(_0x2f698b(0x156))/0xa;if(_0x5d7c2f===_0x4d0b0c)break;else _0x33c37c['push'](_0x33c37c['shift']());}catch(_0x120071){_0x33c37c['push'](_0x33c37c['shift']());}}}(a11_0x2b5b,0xb50ed));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x3b4efa(0x158));function a11_0x911d(_0xf0e7a3,_0x35192b){const _0x2b5b40=a11_0x2b5b();return a11_0x911d=function(_0x911d02,_0x243671){_0x911d02=_0x911d02-0x150;let _0x17bdb1=_0x2b5b40[_0x911d02];return _0x17bdb1;},a11_0x911d(_0xf0e7a3,_0x35192b);};let cucumberModule=null;try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber');}catch(a11_0x50f424){cucumberModule=requireModule('cucumber/lib/index.js',a11_0x3b4efa(0x15c));}cucumberModule['setDefaultTimeout'](constants['BSTACK_DELTA']+global[a11_0x3b4efa(0x15b)]*0x1);function a11_0x2b5b(){const _0x2d074b=['19118130ozJOOc','6690mBdrbX','../utils/constants','3638361DgmrVZ','4502664SGbmvF','__timeout','cucumber','10213szbJSL','7714248KbUVIW','3544KfndNF','2JXctSC','212PUonKB','21560nnUeqm'];a11_0x2b5b=function(){return _0x2d074b;};return a11_0x2b5b();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0xb2719=a12_0x4544;(function(_0x16381e,_0x290cc8){const _0x25cf08=a12_0x4544,_0x275234=_0x16381e();while(!![]){try{const _0x3bfaa2=-parseInt(_0x25cf08(0x115))/0x1*(-parseInt(_0x25cf08(0xf1))/0x2)+-parseInt(_0x25cf08(0xf3))/0x3*(-parseInt(_0x25cf08(0x116))/0x4)+-parseInt(_0x25cf08(0x10f))/0x5+-parseInt(_0x25cf08(0x11b))/0x6*(-parseInt(_0x25cf08(0x11e))/0x7)+parseInt(_0x25cf08(0xed))/0x8*(-parseInt(_0x25cf08(0xeb))/0x9)+-parseInt(_0x25cf08(0x11a))/0xa+parseInt(_0x25cf08(0x11c))/0xb*(parseInt(_0x25cf08(0x123))/0xc);if(_0x3bfaa2===_0x290cc8)break;else _0x275234['push'](_0x275234['shift']());}catch(_0x164afe){_0x275234['push'](_0x275234['shift']());}}}(a12_0x47c6,0x7af19));function a12_0x4544(_0x4fb16d,_0x1aad2d){const _0x47c65c=a12_0x47c6();return a12_0x4544=function(_0x4544f1,_0x325d7d){_0x4544f1=_0x4544f1-0xe3;let _0x1d0561=_0x47c65c[_0x4544f1];return _0x1d0561;},a12_0x4544(_0x4fb16d,_0x1aad2d);}const {default:BrowserStackSetup}=require(a12_0xb2719(0xf8)),logger=require(a12_0xb2719(0xf4))['winstonLogger'],{URL}=require(a12_0xb2719(0xee)),helper=require(a12_0xb2719(0x129)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0xb2719(0x113)),validHosts=function(_0x2cdad1){const _0x31c5b8=a12_0xb2719;return _0x2cdad1['split'](',')[_0x31c5b8(0x124)](_0x45bf9d=>{try{new URL(_0x45bf9d['trim']());}catch(_0x10a4d5){return![];}return!![];});},parseOnPremHosts=function(_0x171bc7){const _0x43f5a5=a12_0xb2719,_0x5b7cb1={};_0x5b7cb1[_0x43f5a5(0x108)]=function(_0x4c6dc7,_0x19d0c2){return _0x4c6dc7===_0x19d0c2;},_0x5b7cb1[_0x43f5a5(0xef)]=_0x43f5a5(0x126),_0x5b7cb1[_0x43f5a5(0xe8)]=_0x43f5a5(0x12e),_0x5b7cb1[_0x43f5a5(0x120)]=_0x43f5a5(0xe4);const _0x220b47=_0x5b7cb1;return _0x171bc7[_0x43f5a5(0x122)](',')[_0x43f5a5(0x10d)](_0x2b95fe=>{const _0x2ea6de=_0x43f5a5,_0x5cde74=new URL(_0x2b95fe[_0x2ea6de(0x114)]()),_0x2c70e3=_0x5cde74['hostname'],_0x183afe=_0x5cde74[_0x2ea6de(0x105)]||(_0x220b47[_0x2ea6de(0x108)](_0x5cde74[_0x2ea6de(0x12a)],_0x220b47[_0x2ea6de(0xef)])?_0x220b47[_0x2ea6de(0xe8)]:'80'),_0x4a1fdd=_0x5cde74[_0x2ea6de(0x12a)][_0x2ea6de(0x11d)](':',''),_0x1f87d4=_0x220b47[_0x2ea6de(0x108)](_0x4a1fdd,_0x220b47[_0x2ea6de(0x120)])?0x1:0x0;return _0x2c70e3+','+_0x183afe+','+_0x1f87d4;});},connectCommandBuilder=function(_0x1f15bc){const _0x296a0f=a12_0xb2719,_0x291c4a={};_0x291c4a[_0x296a0f(0xec)]=_0x296a0f(0xfb);const _0x4ffa3a=_0x291c4a,_0x27ecda={};_0x27ecda[_0x296a0f(0x12b)]=HELP_MESSAGES[_0x296a0f(0x109)][_0x296a0f(0x127)],_0x27ecda['type']=_0x4ffa3a[_0x296a0f(0xec)];const _0x4d9d48={};_0x4d9d48[_0x296a0f(0x12b)]=HELP_MESSAGES[_0x296a0f(0x109)][_0x296a0f(0xe6)],_0x4d9d48['type']=_0x4ffa3a[_0x296a0f(0xec)],_0x4d9d48[_0x296a0f(0xe5)]=!![];const _0x339e50={};return _0x339e50['bstack-accesskey']=_0x27ecda,_0x339e50[_0x296a0f(0xe6)]=_0x4d9d48,_0x1f15bc[_0x296a0f(0x109)](_0x339e50);},connectCommandHandler=async function(_0x12500d){const _0x554f19=a12_0xb2719,_0x313543={'ZZYud':_0x554f19(0x106),'kAjGO':function(_0x2a3fea,_0x20011f){return _0x2a3fea===_0x20011f;},'ejCvz':_0x554f19(0x11f),'XZExU':_0x554f19(0xff),'uVzfg':_0x554f19(0xf7),'kwNOi':function(_0x3d2e46,_0x531beb){return _0x3d2e46(_0x531beb);},'diPKW':'Hosts\x20not\x20valid','KFoBP':function(_0x5da5ac,_0x58a994){return _0x5da5ac(_0x58a994);},'vyeRo':'integrations-repeater','wjcKR':'Connection\x20established\x20successfully.','qkvQi':_0x554f19(0xfa)};try{const _0x2d618e=new BrowserStackSetup(_0x12500d,_0x313543[_0x554f19(0xe7)]);_0x12500d[_0x554f19(0x104)]&&(_0x2d618e['config'][_0x554f19(0x128)]=_0x12500d[_0x554f19(0x104)]);if(_0x313543[_0x554f19(0xf5)](typeof _0x2d618e['config']['accessKey'],_0x313543[_0x554f19(0x12f)])){logger[_0x554f19(0x10c)](_0x313543[_0x554f19(0x10a)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x554f19(0x107)]);}const _0x5e6bd7=_0x12500d[_0x554f19(0xe6)];if(_0x313543['kAjGO'](typeof _0x5e6bd7,_0x313543['ejCvz'])){logger['error'](_0x313543['uVzfg']);throw new Error(ERROR_MESSAGES[_0x554f19(0xe6)]['missing']);}if(!_0x313543[_0x554f19(0x102)](validHosts,_0x5e6bd7)){logger[_0x554f19(0x10c)](_0x313543[_0x554f19(0xf9)]);throw new Error(ERROR_MESSAGES[_0x554f19(0xe6)][_0x554f19(0x117)]);}const _0x1396c9=_0x313543[_0x554f19(0x100)](parseOnPremHosts,_0x5e6bd7);_0x2d618e[_0x554f19(0xf6)][_0x554f19(0xf0)]=!![],_0x2d618e[_0x554f19(0xf6)]['browserStackLocalOptions'][_0x554f19(0x10b)]=_0x313543[_0x554f19(0x10e)],_0x2d618e[_0x554f19(0xf6)][_0x554f19(0x103)][_0x554f19(0x101)]=_0x1396c9[_0x554f19(0x125)](','),helper[_0x554f19(0xfd)](_0x2d618e['config']),await _0x2d618e[_0x554f19(0xe3)](),logger['info'](_0x313543[_0x554f19(0x118)]);}catch(_0x13bbd9){logger[_0x554f19(0x10c)](_0x313543[_0x554f19(0xea)]);throw new Error(_0x13bbd9[_0x554f19(0xe9)]());}};function run(_0x3d1db2){const _0xe58e59=a12_0xb2719,_0x4bd420={};_0x4bd420[_0xe58e59(0x12c)]=_0xe58e59(0x112),_0x4bd420['iTNuD']=_0xe58e59(0x12d);const _0x257b9d=_0x4bd420;_0x3d1db2[_0xe58e59(0xfe)](HELP_MESSAGES['command'][_0xe58e59(0x111)])[_0xe58e59(0x119)](_0x257b9d[_0xe58e59(0x12c)],HELP_MESSAGES[_0xe58e59(0x119)]['connect'],connectCommandBuilder,connectCommandHandler)[_0xe58e59(0x110)]()[_0xe58e59(0x12d)](_0x257b9d['iTNuD'])[_0xe58e59(0xf2)](HELP_MESSAGES[_0xe58e59(0x119)][_0xe58e59(0xfc)]);}function a12_0x47c6(){const _0x5267a6=['toString','qkvQi','1006452dYHJmF','Ejbwy','24TCbVaT','url','eHXEq','browserstackLocal','2tLznMh','epilogue','90ElTpMK','../../helpers/logger','kAjGO','config','Integration\x20hosts\x20missing.','../../helpers/BrowserStackSetup','diPKW','Failed\x20to\x20establish\x20connection.','string','footer','setProxySettings','usage','BrowserStack\x20access\x20key\x20missing.','KFoBP','only','kwNOi','browserStackLocalOptions','bstackAccesskey','port','integrations','missing','Zgtha','options','XZExU','localIdentifier','error','map','vyeRo','3645605HcZXeH','demandCommand','root','connect','./constants','trim','406659kedOge','129164BTcaTT','invalid','wjcKR','command','2355210KUAPqE','4566IcucDs','11ixZhBV','replace','3451WYyOkA','undefined','DSAJI','exports','split','637692XmHXot','every','join','https:','bstackAccessKey','accessKey','../../helpers/helper','protocol','describe','vzgIz','help','443','ejCvz','setupBrowserstackLocal','https','demandOption','hosts','ZZYud','YHhOO'];a12_0x47c6=function(){return _0x5267a6;};return a12_0x47c6();}module[a12_0xb2719(0x121)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x49729c=a13_0x255f;(function(_0x335295,_0x3abe9b){var _0x231554=a13_0x255f,_0x329315=_0x335295();while(!![]){try{var _0x3186b4=parseInt(_0x231554(0x165))/0x1*(-parseInt(_0x231554(0x166))/0x2)+-parseInt(_0x231554(0x17b))/0x3*(-parseInt(_0x231554(0x16f))/0x4)+parseInt(_0x231554(0x178))/0x5+-parseInt(_0x231554(0x173))/0x6*(parseInt(_0x231554(0x17e))/0x7)+-parseInt(_0x231554(0x177))/0x8*(-parseInt(_0x231554(0x175))/0x9)+parseInt(_0x231554(0x171))/0xa+-parseInt(_0x231554(0x17c))/0xb*(parseInt(_0x231554(0x174))/0xc);if(_0x3186b4===_0x3abe9b)break;else _0x329315['push'](_0x329315['shift']());}catch(_0x402da0){_0x329315['push'](_0x329315['shift']());}}}(a13_0x6b04,0x216cc));var a13_0xb963be={};a13_0xb963be[a13_0x49729c(0x164)]=a13_0x49729c(0x179),a13_0xb963be['hosts']=a13_0x49729c(0x17a);var a13_0x4dc6bd={};a13_0x4dc6bd[a13_0x49729c(0x16c)]=a13_0x49729c(0x170),a13_0x4dc6bd['connect']=a13_0x49729c(0x16d),a13_0x4dc6bd['footer']=a13_0x49729c(0x17d);var a13_0x38ea02={};function a13_0x255f(_0x4e6b09,_0x2551b0){var _0x6b0429=a13_0x6b04();return a13_0x255f=function(_0x255fce,_0x24ffec){_0x255fce=_0x255fce-0x164;var _0x162c0c=_0x6b0429[_0x255fce];return _0x162c0c;},a13_0x255f(_0x4e6b09,_0x2551b0);}a13_0x38ea02[a13_0x49729c(0x169)]=a13_0xb963be,a13_0x38ea02[a13_0x49729c(0x16e)]=a13_0x4dc6bd,exports[a13_0x49729c(0x176)]=a13_0x38ea02;function a13_0x6b04(){var _0x354879=['8DRlnIK','354235RhuIMK','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','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.','258ACAIbi','550lGNDFf','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','86933crKEXH','bstackAccessKey','93179wgbWjX','2haEGwb','invalid','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','options','ERROR_MESSAGES','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.','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','command','1912DFGenl','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','2183180HVbSfP','missing','102UAsggc','35592ShOsGo','2333133RtNQZf','HELP_MESSAGES'];a13_0x6b04=function(){return _0x354879;};return a13_0x6b04();}var a13_0x1d0de7={};a13_0x1d0de7[a13_0x49729c(0x172)]=a13_0x49729c(0x168);var a13_0x54d281={};a13_0x54d281[a13_0x49729c(0x172)]='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0x54d281[a13_0x49729c(0x167)]=a13_0x49729c(0x16b);var a13_0x93e10f={};a13_0x93e10f[a13_0x49729c(0x164)]=a13_0x1d0de7,a13_0x93e10f['hosts']=a13_0x54d281,exports[a13_0x49729c(0x16a)]=a13_0x93e10f;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x330e89=a14_0x2e82;function a14_0x5eeb(){const _0x503b88=['\x20:\x20','474yapVey','findTestFiles','../../helpers/testhub/utils','env','TNVjs','2641869dBqikw','12nmIpPL','win32','BROWSERSTACK_TEST_ACCESSIBILITY_YML','kHcZO','platformCaps','JEST','exports','test.setup.js','path','EhnED','parse','customImplements','../../helpers/test-orchestration/testOrchestrationHandler','51821ekxOCJ','../../helpers/testhub/testhubHandler','testEnvironmentOptions','wiGEz','../../helpers/helper','../../helpers/performance/performance-tester','__isPlaywrightInstalled','../../helpers/utilities','357925kNhWsl','zriMx','shutdown','filterBrowserstackArgs','DokDN','uUxHz','ITfKW','default','util','\x0a\x20\x20\x20\x20','isRunning','MODULE','getPackageVersion','parallelsPerPlatform','24IqxfCx','../../helpers/playwright-helper','3DTFWyR','runInBand','customCircus.js','force','length','../../helpers/percy/utils','YmydP','DddvP','Getting\x20your\x20jest\x20configs\x20from\x20package.json','package.json','getTCGConfigFilePaths','jest.config.','getInstance','parseTestOrchestrationOptions','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','close','WZeel','jWplf','capabilities','Unable\x20to\x20find\x20jest-circus,\x20','testContextOptions','jest.setup.js','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','getPackageType','info','config','existsSync','@playwright/test','debug','meaWX','foqSA','942260flsZDO','customSequencer.js','setup','hmRsT','isUndefined','yjkrx','readFileSync','end','dtzGP','ADqww','workingDir','SDK_CLEANUP','14189527hOEWSD','useW3C','FRAMEWORKS','jest_browserstack_results.json','push','stop','../../helpers/test-observability/constants',';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','cwd','phSPb','qmoQs','turboScaleUrl','isTestOrchestrationEnabled','testSequencer','launchBuild','BROWSERSTACK_TEST_OBSERVABILITY_YML','initialize','winstonLogger','cjs','reporters','MDVCh','Reodered\x20Test\x20Files:\x20','requirePWModule','SDK_SETUP','IRSrY','test-observability','CTraS','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','Found:\x20','EVENTS','checkAccessibilityPlatformConfig','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','failFast','mjs','finalExecution','errorMessage','child_process','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','MTIRn','\x0amodule.exports\x20=\x20config;','timeout__','jest-config/build/readConfigFileAndSetRootDir.js','../../helpers/BrowserStackSetup','hApIw','aEmMF','failureThresholdCount','jest_browserstack.config.js','format','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','jest-config','setupFiles','isEmpty','npx','../../helpers/test-observability/utils','UbCna','Creating\x20','abortBuildOnFailure','prCgc','logLevel','../../helpers/accessibility-automation/helper','shouldProcessEventForTesthub','skipSessionStatus','xYHjL','pYkjB','writeFileSync','BSTACK_JEST_TEST_ENV','rmSync','assign','true','isNotUndefined','4YWyuHO','join','1690530NiCoAI','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','retryTestsOnFailure','requireModule','xVTjZ','4985090RpSqDS','Error\x20while\x20parsing\x20','printBuildLink','false','KOhTp','piwXt','./test-observability/helper','jest','unlinkSync','retries__','testRunner','getHubUrl','ewXJS','maxWorkers','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','JOfjV','stringify','findIndex','maxFailures','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','exitCode','PLpdn','maxRetries','proxySettings','gxmoY','slice','data-hooks.js','skipSessionName','DipEW','customEnvironment.js','serial__','json','parallels__','Deleted\x20fail-fast\x20state\x20folder:\x20','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','XvGFt','setupFilesAfterEnv','ajJCG','testObservability','KURud','--config','QDKSP','handleApp','browserStackLogLevel','recursive','resolve','HPPOC','Deleting\x20','testEnvironment','hehEt','\x20with\x20browserstack\x20jest\x20configs','error','qfrQo','runner','ZKwPa','jest-circus','../../helpers/logger','JEST_TEST_ORDER','platforms','biIIs'];a14_0x5eeb=function(){return _0x503b88;};return a14_0x5eeb();}(function(_0x1f6495,_0x456b9b){const _0x167261=a14_0x2e82,_0x50b1be=_0x1f6495();while(!![]){try{const _0xab7a8=-parseInt(_0x167261(0xd0))/0x1*(parseInt(_0x167261(0x151))/0x2)+parseInt(_0x167261(0xe0))/0x3*(-parseInt(_0x167261(0xff))/0x4)+parseInt(_0x167261(0x153))/0x5+parseInt(_0x167261(0xb5))/0x6*(-parseInt(_0x167261(0xc8))/0x7)+-parseInt(_0x167261(0xde))/0x8*(-parseInt(_0x167261(0xba))/0x9)+-parseInt(_0x167261(0x158))/0xa+parseInt(_0x167261(0x10b))/0xb*(parseInt(_0x167261(0xbb))/0xc);if(_0xab7a8===_0x456b9b)break;else _0x50b1be['push'](_0x50b1be['shift']());}catch(_0xa1d551){_0x50b1be['push'](_0x50b1be['shift']());}}}(a14_0x5eeb,0x73b45));const fs=require('fs'),path=require(a14_0x330e89(0xc3)),util=require(a14_0x330e89(0xd8)),{spawn}=require(a14_0x330e89(0x12f)),logger=require(a14_0x330e89(0xb0))[a14_0x330e89(0x11c)],{default:BrowserStackSetup}=require(a14_0x330e89(0x135)),helper=require(a14_0x330e89(0xcc)),utilities=require(a14_0x330e89(0xcf)),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x330e89(0x146)),{updateTestRerunConfig}=require(a14_0x330e89(0x15e)),testOpsHelper=require(a14_0x330e89(0x140)),{debug}=require(a14_0x330e89(0x140)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a14_0x330e89(0xe5)),TestHubHandler=require(a14_0x330e89(0xc9)),testhubUtils=require(a14_0x330e89(0xb7)),{FRAMEWORKS}=require(a14_0x330e89(0x111)),PerformanceTester=require(a14_0x330e89(0xcd)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x330e89(0x128)],TestOrchestrationHandler=require(a14_0x330e89(0xc7)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x330e89(0xdf)),getUserJestConfigs=async(_0x1e37ff,_0x1d2729)=>{const _0x5d1ff8=a14_0x330e89,_0x434f48={'xYHjL':_0x5d1ff8(0x134),'piwXt':_0x5d1ff8(0x13c),'DipEW':function(_0x14837f,_0x31e5c4){return _0x14837f||_0x31e5c4;},'yxXlX':function(_0x122c56,_0x322d9c){return _0x122c56(_0x322d9c);},'zhQBb':_0x5d1ff8(0xe9),'biIIs':_0x5d1ff8(0xe8),'UbCna':_0x5d1ff8(0x12c),'meaWX':_0x5d1ff8(0x11d),'gxmoY':_0x5d1ff8(0x177)},_0x1086c5=helper['requireModule'](_0x434f48[_0x5d1ff8(0x149)],_0x434f48[_0x5d1ff8(0x15d)]),_0xe6cc2b=_0x1d2729[_0x5d1ff8(0x169)](_0x2df7fd=>_0x2df7fd==='--config');if(!helper['isUndefined'](_0x1e37ff[_0x5d1ff8(0xf9)])){logger[_0x5d1ff8(0xf8)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x1e37ff[_0x5d1ff8(0xf9)]),process['env']['USER_CONFIG_DETAILS_PATH']=_0x1e37ff[_0x5d1ff8(0xf9)];const _0x1ac232=await(0x0,_0x1086c5[_0x5d1ff8(0xd7)])(path[_0x5d1ff8(0x185)](_0x1e37ff[_0x5d1ff8(0xf9)]));return _0x1d2729['splice'](_0xe6cc2b,0x2),_0x434f48[_0x5d1ff8(0x174)](_0x1ac232,{});}const _0x652fef=_0x434f48['yxXlX'](require,path[_0x5d1ff8(0x152)](process[_0x5d1ff8(0x113)](),_0x434f48['zhQBb']));if(_0x652fef['jest'])return logger[_0x5d1ff8(0xf8)](_0x434f48[_0x5d1ff8(0xb3)]),_0x652fef[_0x5d1ff8(0x15f)];const _0x1576f5=['js',_0x434f48[_0x5d1ff8(0x141)],_0x434f48[_0x5d1ff8(0xfd)],_0x434f48[_0x5d1ff8(0x170)],'ts'];for(const _0x21b0f9 of _0x1576f5){const _0x3dfc0e=path['join'](process[_0x5d1ff8(0x113)](),_0x5d1ff8(0xeb)+_0x21b0f9);if(fs[_0x5d1ff8(0xfa)](_0x3dfc0e)){process[_0x5d1ff8(0xb8)]['USER_CONFIG_DETAILS_PATH']=_0x3dfc0e;const _0x3b7102=await(0x0,_0x1086c5[_0x5d1ff8(0xd7)])(_0x3dfc0e);return _0x3b7102;}}return{};},getSerial=(_0x3f1801,_0x1a5acb)=>{const _0x23cc59=a14_0x330e89,_0xa2354c={};_0xa2354c[_0x23cc59(0xcb)]=_0x23cc59(0x14f),_0xa2354c[_0x23cc59(0x123)]=function(_0x29121d,_0x26e708){return _0x29121d>_0x26e708;},_0xa2354c['ZKwPa']=_0x23cc59(0x15b);const _0x4667a1=_0xa2354c;let _0x4fe0e1=_0x4667a1['wiGEz'];return _0x4667a1[_0x23cc59(0x123)](_0x3f1801[_0x23cc59(0xe4)],0x1)&&(!_0x1a5acb[_0x23cc59(0xe1)]&&(helper[_0x23cc59(0x103)](_0x1a5acb[_0x23cc59(0x165)])||_0x4667a1[_0x23cc59(0x123)](_0x1a5acb['maxWorkers'],0x1)))&&(_0x4fe0e1=_0x4667a1[_0x23cc59(0xae)]),_0x4fe0e1;},getMaxWorkers=(_0x539b18,_0x539c38,_0x8c8207)=>{const _0x5923eb=a14_0x330e89,_0xb54a0b={'foqSA':function(_0x39e052,_0x12751c){return _0x39e052(_0x12751c);}};let _0xfbe075=0x1;if(!helper[_0x5923eb(0x103)](_0x539c38[_0x5923eb(0xdd)]))_0xfbe075=_0xb54a0b[_0x5923eb(0xfe)](parseInt,_0x539c38[_0x5923eb(0xdd)]);else{if(!helper['isUndefined'](_0x539b18[_0x5923eb(0x165)]))_0xfbe075=_0x539b18[_0x5923eb(0x165)];else!helper[_0x5923eb(0x103)](_0x8c8207[_0x5923eb(0x165)])&&(_0xfbe075=_0x8c8207['maxWorkers']);}return _0xfbe075;};function a14_0x2e82(_0xfb132a,_0x12a2f4){const _0x5eeb2e=a14_0x5eeb();return a14_0x2e82=function(_0x2e823b,_0x488f42){_0x2e823b=_0x2e823b-0xad;let _0x53f563=_0x5eeb2e[_0x2e823b];return _0x53f563;},a14_0x2e82(_0xfb132a,_0x12a2f4);}async function run(_0x3f52f6,_0x120d2a,_0x46101c){const _0xb630c2=a14_0x330e89,_0x2de18c={'uUxHz':'error\x20removing\x20tcg\x20config\x20file','ADqww':'jest','HPPOC':function(_0x46bc93,_0x5d8ac0){return _0x46bc93(_0x5d8ac0);},'xVTjZ':_0xb630c2(0xfb),'YmydP':function(_0x27b3ab,_0x11ca4a,_0x1f9855,_0x34f06b){return _0x27b3ab(_0x11ca4a,_0x1f9855,_0x34f06b);},'PLpdn':function(_0x102a5c,_0x5b7c60){return _0x102a5c!=_0x5b7c60;},'hmRsT':_0xb630c2(0x14f),'yjkrx':function(_0x528830,_0x116154,_0x2030ab){return _0x528830(_0x116154,_0x2030ab);},'KOhTp':_0xb630c2(0x130),'hApIw':function(_0x261129,_0xc8db28){return _0x261129*_0xc8db28;},'MTIRn':function(_0x1cac78,_0x1aed2c){return _0x1cac78===_0x1aed2c;},'ITfKW':'jest_browserstack.config.cjs','jWplf':_0xb630c2(0x139),'prCgc':_0xb630c2(0xc6),'TNVjs':_0xb630c2(0x10e),'QDKSP':'customTestRunner.js','zriMx':'customTestRunnerTemplate.js','yxnzG':_0xb630c2(0x175),'kHcZO':_0xb630c2(0xf5),'KURud':_0xb630c2(0x100),'ajJCG':_0xb630c2(0x17a),'pYkjB':_0xb630c2(0xaf),'phSPb':function(_0x5cac0d,_0x22fd04){return _0x5cac0d(_0x22fd04);},'DddvP':_0xb630c2(0x124),'CTraS':_0xb630c2(0x172),'WZeel':_0xb630c2(0xe2),'hehEt':'test_before.setup.js','EhnED':_0xb630c2(0xee),'aEmMF':'playwright','azKBZ':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','JOfjV':_0xb630c2(0xc2),'DokDN':_0xb630c2(0xf6),'uVoSi':_0xb630c2(0xd7),'UZjLY':_0xb630c2(0x154),'MDVCh':function(_0x51de3a,_0x1cc63a){return _0x51de3a>_0x1cc63a;},'XvGFt':_0xb630c2(0x16b),'ewXJS':_0xb630c2(0x13f),'ylWrZ':_0xb630c2(0x180),'rqBkz':function(_0x1c0f59,_0x27f8f6){return _0x1c0f59===_0x27f8f6;},'dtzGP':_0xb630c2(0xbc),'qfrQo':'inherit','qmoQs':_0xb630c2(0xef)},_0x5b0358=helper[_0xb630c2(0xdc)](_0x2de18c[_0xb630c2(0x157)]);global[_0xb630c2(0xce)]=!!_0x5b0358;helper['isBrowserstackInfra']()?(await _0x46101c[_0xb630c2(0x11b)](_0x3f52f6),await helper[_0xb630c2(0x182)](_0x46101c['config'])):await _0x46101c['setupTCGAuth']();await _0x2de18c[_0xb630c2(0xe6)](checkPwandBootstrapCli,_0x5b0358,constants['FRAMEWORKS'][_0xb630c2(0xc0)],_0x46101c);if(!_0x46101c[_0xb630c2(0xf9)])return;_0x2de18c[_0xb630c2(0x16d)](_0x46101c[_0xb630c2(0xf9)]['testObservability'],null)?process[_0xb630c2(0xb8)][_0xb630c2(0x11a)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0x17e)]:process[_0xb630c2(0xb8)][_0xb630c2(0x11a)]=_0x2de18c[_0xb630c2(0x102)];const _0x537aba=new TestOrchestrationHandler(_0x46101c[_0xb630c2(0xf9)]),_0x37ebd3=await _0x2de18c[_0xb630c2(0x104)](getUserJestConfigs,_0x3f52f6,_0x120d2a);logger[_0xb630c2(0xf8)](_0x2de18c[_0xb630c2(0x15c)]);const _0x2f2ca6=Object[_0xb630c2(0x14e)]({},_0x37ebd3);_0x2f2ca6['testEnvironmentOptions']=Object[_0xb630c2(0x14e)]({},_0x2f2ca6['testEnvironmentOptions'],{'server':helper[_0xb630c2(0x163)](_0x46101c[_0xb630c2(0xf9)]),'environment':_0x37ebd3[_0xb630c2(0x188)]}),_0x2f2ca6['testEnvironmentOptions']['browserStackPercyOptions']=_0x2de18c[_0xb630c2(0x186)](getPercyOptions,_0x46101c['config']);const _0x5290ea=helper[_0xb630c2(0x10c)](_0x46101c[_0xb630c2(0xf9)]);!helper['isUndefined'](_0x46101c['config']['accessibilityOptions'])&&(process['env'][_0xb630c2(0x13b)]=JSON[_0xb630c2(0x168)](_0x46101c['config']['accessibilityOptions']));if(!BrowserstackCLI[_0xb630c2(0xec)]()[_0xb630c2(0xda)]()){const _0x245d4c=await TestHubHandler[_0xb630c2(0x119)](FRAMEWORKS[_0xb630c2(0xc0)],_0x46101c);}const _0x172c70=helper['prepareCapabilities'](_0x46101c[_0xb630c2(0xf9)],_0x5290ea,constants[_0xb630c2(0x10d)][_0xb630c2(0xc0)]);process['env']['BROWSERSTACK_CAPABILITIES']=JSON['stringify'](_0x172c70);let _0x3d886c=_0x46101c[_0xb630c2(0xf9)]['accessibility'];_0x3d886c=_0x3d886c||accessibilityHelper[_0xb630c2(0x129)](_0x46101c[_0xb630c2(0xf9)]),process['env'][_0xb630c2(0xbd)]=_0x3d886c,_0x2f2ca6['testEnvironmentOptions'][_0xb630c2(0xf2)]=_0x172c70,_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x176)]=_0x2de18c[_0xb630c2(0x104)](getSerial,_0x172c70,_0x3f52f6),_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x178)]=_0x2de18c[_0xb630c2(0xe6)](getMaxWorkers,_0x3f52f6,_0x46101c['config'],_0x37ebd3),_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x16f)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0x16f)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x133)]=_0x2de18c[_0xb630c2(0x136)](_0x3f52f6['testTimeout'],0x1)||0x1388,_0x2f2ca6[_0xb630c2(0xca)]['skipSessionName']=_0x46101c['config']['testContextOptions'][_0xb630c2(0x173)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x148)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0xf4)][_0xb630c2(0x148)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x183)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0x145)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x116)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0x116)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0xbf)]=_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0xb2)];const _0x2a1c60=helper[_0xb630c2(0xed)](_0x46101c[_0xb630c2(0xf9)]);if(!helper[_0xb630c2(0x13e)](_0x2a1c60)){helper[_0xb630c2(0x150)](_0x2a1c60[_0xb630c2(0x155)])&&(_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x161)]=_0x2a1c60[_0xb630c2(0x155)][_0xb630c2(0x16e)]);if(helper[_0xb630c2(0x150)](_0x2a1c60[_0xb630c2(0x143)])&&helper[_0xb630c2(0x150)](_0x2a1c60[_0xb630c2(0x143)][_0xb630c2(0x109)])){const _0x10f7a2={};_0x10f7a2[_0xb630c2(0x138)]=_0x2a1c60['abortBuildOnFailure'][_0xb630c2(0x16a)],_0x10f7a2[_0xb630c2(0x109)]=_0x2a1c60[_0xb630c2(0x143)][_0xb630c2(0x109)],_0x2f2ca6[_0xb630c2(0xca)][_0xb630c2(0x12b)]=_0x10f7a2;}}let _0x5550e5='';_0x2de18c[_0xb630c2(0x131)](helper[_0xb630c2(0xf7)](),constants['PACKAGE_TYPE'][_0xb630c2(0xdb)])?_0x5550e5=_0x2de18c[_0xb630c2(0xd6)]:_0x5550e5=_0x2de18c[_0xb630c2(0xf1)];const _0x5f0d0f=_0x5550e5,_0x1343c1=path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x144)],_0x2de18c[_0xb630c2(0xb9)]),_0x47157b=path[_0xb630c2(0x152)](__dirname,_0x2de18c['prCgc'],_0x2de18c[_0xb630c2(0x181)]),_0x24eb7f=path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x144)],_0x2de18c[_0xb630c2(0xd1)]);_0x2f2ca6[_0xb630c2(0x188)]&&(process[_0xb630c2(0xb8)][_0xb630c2(0x14c)]=_0x2f2ca6[_0xb630c2(0x188)]);_0x2f2ca6[_0xb630c2(0x188)]=path[_0xb630c2(0x152)](__dirname,_0x2de18c['prCgc'],_0x2de18c['yxnzG']),_0x2f2ca6[_0xb630c2(0xad)]=_0x47157b,_0x2f2ca6[_0xb630c2(0x17c)]=_0x2f2ca6['setupFilesAfterEnv']||[],_0x2f2ca6[_0xb630c2(0x17c)][_0xb630c2(0x10f)](path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0xbe)]));_0x537aba['isTestOrchestrationEnabled']()&&(_0x2f2ca6[_0xb630c2(0x118)]=path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x144)],_0x2de18c[_0xb630c2(0x17f)]));if(testhubUtils[_0xb630c2(0x147)]()){let _0x4949ef=null;try{_0x4949ef=helper[_0xb630c2(0x156)](_0x2de18c[_0xb630c2(0x17d)],_0x2de18c[_0xb630c2(0x14a)]);}catch(_0x16659e){_0x2de18c[_0xb630c2(0x114)](debug,_0xb630c2(0xf3)+_0x16659e);}_0x4949ef&&(_0x2f2ca6[_0xb630c2(0x17c)]['push'](path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0xe7)],_0x2de18c[_0xb630c2(0x125)])),_0x2f2ca6[_0xb630c2(0x162)]=path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x144)],_0x2de18c[_0xb630c2(0xf0)]));}_0x2f2ca6[_0xb630c2(0x13d)]=_0x2f2ca6[_0xb630c2(0x13d)]||[];try{helper['requireSeleniumWebdriver'](),_0x2f2ca6[_0xb630c2(0x13d)][_0xb630c2(0x10f)](path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x189)]));}catch{logger[_0xb630c2(0xfc)](_0x2de18c[_0xb630c2(0xc4)]);}try{helper[_0xb630c2(0x121)]['apply'](null,[_0x2de18c[_0xb630c2(0x157)],_0x2de18c[_0xb630c2(0x137)]]),logger[_0xb630c2(0xfc)](_0x2de18c['azKBZ']),_0x2f2ca6[_0xb630c2(0x13d)]['push'](path[_0xb630c2(0x152)](__dirname,_0x2de18c[_0xb630c2(0x167)]));}catch(_0x5272b0){logger['debug'](_0x2de18c[_0xb630c2(0xd4)],_0x5272b0);}_0x2f2ca6['reporters']=_0x2f2ca6[_0xb630c2(0x11e)]||[_0x2de18c['uVoSi']],_0x2de18c[_0xb630c2(0x104)](updateTestRerunConfig,_0x2f2ca6,_0x46101c);const _0x4f25ae=fs['readFileSync'](_0x24eb7f);fs[_0xb630c2(0x14b)](_0x2f2ca6[_0xb630c2(0xad)],_0xb630c2(0xd9)+_0x4f25ae+_0xb630c2(0x12a)+_0x46101c[_0xb630c2(0xf9)][_0xb630c2(0xb2)][_0xb630c2(0xe4)]+_0xb630c2(0x112)),logger[_0xb630c2(0xf8)](_0xb630c2(0x142)+_0x5f0d0f+_0xb630c2(0x18a)),fs['writeFileSync'](_0x5f0d0f,'const\x20config='+JSON[_0xb630c2(0x168)](_0x2f2ca6)+_0xb630c2(0x132));if(_0x537aba[_0xb630c2(0x117)]()){logger[_0xb630c2(0xfc)](_0x2de18c['UZjLY']);const _0x537fb2=await _0x537aba[_0xb630c2(0xb6)](_0x2f2ca6,_0x120d2a[_0xb630c2(0x171)](0x1),_0x5f0d0f);logger[_0xb630c2(0xfc)](_0xb630c2(0x127)+JSON[_0xb630c2(0x168)](_0x537fb2)+'\x20test\x20files\x20to\x20run.');const _0x42dad1=await _0x537aba['reorderTestFiles'](_0x537fb2);logger[_0xb630c2(0xfc)](_0xb630c2(0x120)+JSON[_0xb630c2(0x168)](_0x42dad1)),_0x42dad1&&_0x2de18c[_0xb630c2(0x11f)](_0x42dad1[_0xb630c2(0xe4)],0x0)&&(process['env'][_0xb630c2(0xb1)]=_0x42dad1?.[_0xb630c2(0x152)](','));}logger[_0xb630c2(0xf8)](_0x2de18c[_0xb630c2(0x17b)]);testhubUtils[_0xb630c2(0x147)]()&&TestDetails[_0xb630c2(0x101)]();helper[_0xb630c2(0xd3)]({},_0x120d2a),PerformanceTester[_0xb630c2(0x106)](PerformanceEvents[_0xb630c2(0x122)]);const _0x3ef837=_0x2de18c[_0xb630c2(0xe6)](spawn,_0x2de18c[_0xb630c2(0x164)],[_0x2de18c[_0xb630c2(0x108)],_0x2de18c['ylWrZ'],_0x5f0d0f,..._0x120d2a[_0xb630c2(0x171)](0x1)],{'shell':_0x2de18c['rqBkz'](process['platform'],_0x2de18c[_0xb630c2(0x107)]),'stdio':_0x2de18c[_0xb630c2(0x18c)],'env':Object[_0xb630c2(0x14e)]({},process[_0xb630c2(0xb8)])});_0x3ef837['on'](_0x2de18c[_0xb630c2(0x115)],async _0x53aec7=>{const _0x12cb4e=_0xb630c2;PerformanceTester['start'](PerformanceEvents[_0x12cb4e(0x10a)]);try{const {browserstackFolderPath:_0x4ddea6,tcgConfigPath:_0x5b2942}=helper[_0x12cb4e(0xea)]();fs['unlinkSync'](_0x5b2942),fs['rmdirSync'](_0x4ddea6);}catch(_0x3c9cbb){logger['debug'](_0x2de18c[_0x12cb4e(0xd5)],_0x3c9cbb);}process[_0x12cb4e(0x16c)]=_0x53aec7,logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x53aec7),logger[_0x12cb4e(0xf8)](_0x12cb4e(0x187)+_0x5f0d0f);if(helper[_0x12cb4e(0x150)](_0x2a1c60)&&helper['isNotUndefined'](_0x2a1c60['abortBuildOnFailure'])&&fs[_0x12cb4e(0xfa)](_0x2a1c60[_0x12cb4e(0x143)][_0x12cb4e(0x109)]))try{const _0xf6b006={};_0xf6b006[_0x12cb4e(0x184)]=!![],_0xf6b006[_0x12cb4e(0xe3)]=!![],fs[_0x12cb4e(0x14d)](_0x2a1c60[_0x12cb4e(0x143)][_0x12cb4e(0x109)],_0xf6b006),logger[_0x12cb4e(0xfc)](_0x12cb4e(0x179)+_0x2a1c60['abortBuildOnFailure']['workingDir']);}catch(_0x376f08){logger[_0x12cb4e(0x18b)](_0x12cb4e(0x126)+_0x376f08);}let _0x15222e=null;if(fs[_0x12cb4e(0xfa)](_0x1343c1)){_0x15222e=fs[_0x12cb4e(0x105)](_0x1343c1);try{_0x15222e=JSON[_0x12cb4e(0xc5)](_0x15222e);}catch(_0x4950c6){logger[_0x12cb4e(0xfc)](_0x12cb4e(0x159)+_0x1343c1+',\x20'+_0x15222e+_0x12cb4e(0xb4)+_0x4950c6);}fs['unlinkSync'](_0x1343c1);}fs['unlinkSync'](_0x5f0d0f),fs[_0x12cb4e(0x160)](_0x47157b),_0x15222e&&(_0x46101c[_0x12cb4e(0x12e)]=helper['getErrorMessageFromResults'](_0x15222e,_0x2de18c[_0x12cb4e(0x108)],_0x46101c)),testOpsHelper[_0x12cb4e(0x15a)](),TestDetails[_0x12cb4e(0xd2)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x12cb4e(0xec)]()[_0x12cb4e(0x110)]();}catch(_0x38c11d){console['log'](_0x38c11d),_0x2de18c[_0x12cb4e(0x186)](debug,_0x12cb4e(0x166)+util[_0x12cb4e(0x13a)](_0x38c11d));}await utilities[_0x12cb4e(0x12d)](_0x46101c);});}module[a14_0x330e89(0xc1)]=run;
|
|
2
|
+
'use strict';function a14_0x2264(_0x225bce,_0x5033e8){const _0x29e2af=a14_0x29e2();return a14_0x2264=function(_0x2264c3,_0x12f408){_0x2264c3=_0x2264c3-0x9e;let _0x5bfcbd=_0x29e2af[_0x2264c3];return _0x5bfcbd;},a14_0x2264(_0x225bce,_0x5033e8);}const a14_0x4df326=a14_0x2264;(function(_0x3c7384,_0x2935c1){const _0x15e8b0=a14_0x2264,_0x124f5f=_0x3c7384();while(!![]){try{const _0x4155d8=parseInt(_0x15e8b0(0x148))/0x1+-parseInt(_0x15e8b0(0xef))/0x2*(parseInt(_0x15e8b0(0x117))/0x3)+-parseInt(_0x15e8b0(0xcb))/0x4+parseInt(_0x15e8b0(0x121))/0x5+-parseInt(_0x15e8b0(0xf8))/0x6+parseInt(_0x15e8b0(0xb5))/0x7+-parseInt(_0x15e8b0(0x111))/0x8;if(_0x4155d8===_0x2935c1)break;else _0x124f5f['push'](_0x124f5f['shift']());}catch(_0x1bf3e8){_0x124f5f['push'](_0x124f5f['shift']());}}}(a14_0x29e2,0x84904));function a14_0x29e2(){const _0x31e19c=['EVENTS','recursive','push','npx','turboScaleUrl','7333823vCNMxV','reporters','hJVRE','ABqEy','requirePWModule','Getting\x20your\x20jest\x20configs\x20from\x20','failureThresholdCount','\x0amodule.exports\x20=\x20config;','child_process','FgPoW','errorMessage','../utils/clientTroubleshootingService','test_before.setup.js','Viunn','testObservability','rmdirSync','test-observability','launchBuild','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/test-observability/utils','slice','ahxOq','1398216sReoqN','jest-config','testContextOptions','isEmpty','AyXXV','cwd','win32','test.setup.js','\x20test\x20files\x20to\x20run.','resolve','maxWorkers','Getting\x20your\x20jest\x20configs\x20from\x20package.json','USER_CONFIG_DETAILS_PATH','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../../helpers/accessibility-automation/helper','Ofdks','platforms','true','JEST_TEST_ORDER','default','jqmAG','env','skipSessionStatus','../v2/browserstackCLI','FTzQi','cjs','getPackageType','writeFileSync','Creating\x20','path','log','OdFyP','browserStackLogLevel','handleApp','JEST','BROWSERSTACK_TEST_ACCESSIBILITY_YML','84040NXrAEi','retryTestsOnFailure','isRunning','stop','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','debug','jest_browserstack.config.js','qNUBK','jest_browserstack_results.json','2394036EYbSHt','bpnOE','start','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','WqCXR','../../helpers/playwright-helper','ryIZX','AxDNo','requireModule','SDK_CLEANUP','findIndex','false','nvZje','jest-config/build/readConfigFileAndSetRootDir.js','maxFailures','existsSync','nGVeB','./test-observability/helper','./test-observability/test-details','mjs','setupTCGAuth','LcWRW','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getPackageVersion','info','5925856nkjgKD','readFileSync','initialize','workingDir',';\x0a\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\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','config','18WbbBOJ','../../helpers/logger','Reodered\x20Test\x20Files:\x20','customEnvironment.js','../../helpers/performance/constants','format','splice','Found:\x20','reorderTestFiles','rmSync','5011810qqCBHL','getTCGConfigFilePaths','jest.config.','error\x20removing\x20tcg\x20config\x20file','platformCaps','../../helpers/test-observability/constants','abortBuildOnFailure','parallelsPerPlatform','IARIN','join','ecUMf','getInstance','Error\x20while\x20parsing\x20','testRunner','testEnvironment','\x20:\x20','poeYb','pFWBq','../../helpers/performance/performance-tester','kyjKg','JnsWR','const\x20config=','PACKAGE_TYPE','proxySettings','NZxqQ','MODULE','BROWSERSTACK_CAPABILITIES','assign','../../helpers/testhub/utils','customCircus.js','timeout__','isTestOrchestrationEnabled','xHNPl','prepareCapabilities','customTestRunnerTemplate.js','WwwaE','findTestFiles','isBrowserstackInfra','browserStackPercyOptions','234341RVTOyL','runInBand','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','oSxlf','../../helpers/test-orchestration/testOrchestrationHandler','AakRZ','apply','stringify','../../helpers/testhub/testhubHandler','testSequencer','exports','qaPBy','Deleting\x20','data-hooks.js','customImplements','geLkR','CqzGn','Deleted\x20fail-fast\x20state\x20folder:\x20','testTimeout','child\x20process\x20exited\x20with\x20code\x20','@playwright/test','CIrER','setupFilesAfterEnv','exitCode','--config','icEZg','getHubUrl','joNIV','customSequencer.js','klcYv','koNTi','../../helpers/percy/utils','unlinkSync','parallels__','setup','testEnvironmentOptions','shutdown','end','FRAMEWORKS','jest-circus','\x20with\x20browserstack\x20jest\x20configs','../utils/constants','skipSessionName','isNotUndefined','maxRetries','BSTACK_JEST_TEST_ENV','veSSp','LTnYr','aFMqR','setupFiles','checkAccessibilityPlatformConfig','jest','shouldProcessEventForTesthub','isUndefined','GEiVZ','bhgQZ','hTSZo','wFPgX','parse','../../helpers/helper','printBuildLink','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','qrHjr','logLevel','accessibilityOptions','parseTestOrchestrationOptions','kWMst','\x0a\x20\x20\x20\x20'];a14_0x29e2=function(){return _0x31e19c;};return a14_0x29e2();}const fs=require('fs'),path=require(a14_0x4df326(0xe8)),util=require('util'),{spawn}=require(a14_0x4df326(0xbd)),logger=require(a14_0x4df326(0x118))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a14_0x4df326(0xa7)),utilities=require('../../helpers/utilities'),constants=require(a14_0x4df326(0x171)),accessibilityHelper=require(a14_0x4df326(0xd9)),{updateTestRerunConfig}=require(a14_0x4df326(0x109)),testOpsHelper=require(a14_0x4df326(0xc8)),{debug}=require(a14_0x4df326(0xc8)),TestDetails=require(a14_0x4df326(0x10a)),{getPercyOptions}=require(a14_0x4df326(0x167)),TestHubHandler=require(a14_0x4df326(0x150)),testhubUtils=require(a14_0x4df326(0x13d)),{FRAMEWORKS}=require(a14_0x4df326(0x126)),PerformanceTester=require(a14_0x4df326(0x133)),PerformanceEvents=require(a14_0x4df326(0x11b))[a14_0x4df326(0xb0)],TestOrchestrationHandler=require(a14_0x4df326(0x14c)),BrowserstackCLI=require(a14_0x4df326(0xe2)),{checkPwandBootstrapCli}=require(a14_0x4df326(0xfd)),ClientTroubleShootingService=require(a14_0x4df326(0xc0)),getUserJestConfigs=async(_0x54eabe,_0x14c405)=>{const _0x1f7794=a14_0x4df326,_0x4d06b4={'pFWBq':_0x1f7794(0x105),'ryIZX':_0x1f7794(0xcc),'vCltW':function(_0x4805ef,_0x5cf514){return _0x4805ef||_0x5cf514;},'ldXEc':function(_0xe8589a,_0x323cfa){return _0xe8589a(_0x323cfa);},'EztHR':'package.json','nvZje':_0x1f7794(0xd6),'hTSZo':_0x1f7794(0x10b),'LTnYr':_0x1f7794(0xe4),'JnsWR':'json'},_0x2d044b=helper['requireModule'](_0x4d06b4[_0x1f7794(0x132)],_0x4d06b4[_0x1f7794(0xfe)]),_0x5ead23=_0x14c405[_0x1f7794(0x102)](_0x15e2c6=>_0x15e2c6==='--config');if(!helper[_0x1f7794(0xa1)](_0x54eabe[_0x1f7794(0x116)])){logger[_0x1f7794(0x110)](_0x1f7794(0xba)+_0x54eabe['config']),process[_0x1f7794(0xe0)][_0x1f7794(0xd7)]=_0x54eabe[_0x1f7794(0x116)];const _0x2b57c4=await(0x0,_0x2d044b[_0x1f7794(0xde)])(path[_0x1f7794(0xd4)](_0x54eabe['config']));return _0x14c405[_0x1f7794(0x11d)](_0x5ead23,0x2),_0x4d06b4['vCltW'](_0x2b57c4,{});}const _0x420714=_0x4d06b4['ldXEc'](require,path[_0x1f7794(0x12a)](process[_0x1f7794(0xd0)](),_0x4d06b4['EztHR']));if(_0x420714[_0x1f7794(0x9f)])return logger[_0x1f7794(0x110)](_0x4d06b4[_0x1f7794(0x104)]),_0x420714[_0x1f7794(0x9f)];const _0x1d7213=['js',_0x4d06b4[_0x1f7794(0xa4)],_0x4d06b4[_0x1f7794(0x177)],_0x4d06b4[_0x1f7794(0x135)],'ts'];for(const _0x17d726 of _0x1d7213){const _0x32ada9=path[_0x1f7794(0x12a)](process['cwd'](),_0x1f7794(0x123)+_0x17d726);if(fs['existsSync'](_0x32ada9)){process[_0x1f7794(0xe0)][_0x1f7794(0xd7)]=_0x32ada9;const _0x50af69=await(0x0,_0x2d044b[_0x1f7794(0xde)])(_0x32ada9);return _0x50af69;}}return{};},getSerial=(_0x36c974,_0x3c6a46)=>{const _0x2ac931=a14_0x4df326,_0x6cbb9f={};_0x6cbb9f['kyjKg']=_0x2ac931(0xdc),_0x6cbb9f[_0x2ac931(0x15d)]=function(_0x5269b1,_0x46ace3){return _0x5269b1>_0x46ace3;},_0x6cbb9f['PrIzb']=function(_0x27e845,_0x43945e){return _0x27e845>_0x43945e;},_0x6cbb9f[_0x2ac931(0x141)]=_0x2ac931(0x103);const _0x31836e=_0x6cbb9f;let _0x701db4=_0x31836e[_0x2ac931(0x134)];return _0x31836e[_0x2ac931(0x15d)](_0x36c974['length'],0x1)&&(!_0x3c6a46[_0x2ac931(0x149)]&&(helper[_0x2ac931(0xa1)](_0x3c6a46[_0x2ac931(0xd5)])||_0x31836e['PrIzb'](_0x3c6a46[_0x2ac931(0xd5)],0x1)))&&(_0x701db4=_0x31836e[_0x2ac931(0x141)]),_0x701db4;},getMaxWorkers=(_0x182963,_0x3b6d9,_0x29d9ea)=>{const _0x16795e=a14_0x4df326,_0x462023={'OBCZR':function(_0x56e50d,_0x51532f){return _0x56e50d(_0x51532f);}};let _0x51f4f6=0x1;if(!helper['isUndefined'](_0x3b6d9[_0x16795e(0x128)]))_0x51f4f6=_0x462023['OBCZR'](parseInt,_0x3b6d9[_0x16795e(0x128)]);else{if(!helper[_0x16795e(0xa1)](_0x182963['maxWorkers']))_0x51f4f6=_0x182963[_0x16795e(0xd5)];else!helper[_0x16795e(0xa1)](_0x29d9ea['maxWorkers'])&&(_0x51f4f6=_0x29d9ea[_0x16795e(0xd5)]);}return _0x51f4f6;};async function run(_0x370fa4,_0x36ff43,_0x47df9c){const _0x23c498=a14_0x4df326,_0x1089c1={'bhgQZ':_0x23c498(0x124),'iJNTr':_0x23c498(0x9f),'AakRZ':function(_0x1a7c40,_0x3c2167){return _0x1a7c40(_0x3c2167);},'poeYb':_0x23c498(0x15c),'qNUBK':function(_0x14e668,_0x502905,_0x11024f,_0x545caf){return _0x14e668(_0x502905,_0x11024f,_0x545caf);},'joNIV':function(_0x230087,_0x223624){return _0x230087!=_0x223624;},'ecUMf':_0x23c498(0xdc),'FTzQi':function(_0x2d7f98,_0x14affd,_0x268cfb){return _0x2d7f98(_0x14affd,_0x268cfb);},'qaPBy':_0x23c498(0x10e),'veSSp':function(_0x486aa5,_0x54fc4d){return _0x486aa5(_0x54fc4d);},'AyXXV':function(_0x1aed7d,_0x367be2,_0x14f780,_0x3b30e0){return _0x1aed7d(_0x367be2,_0x14f780,_0x3b30e0);},'tcRXv':function(_0x2ac35b,_0x2a6c22){return _0x2ac35b*_0x2a6c22;},'aFMqR':function(_0x4e8d2e,_0x228f9a){return _0x4e8d2e===_0x228f9a;},'icEZg':'jest_browserstack.config.cjs','CqzGn':_0x23c498(0xf5),'GEiVZ':_0x23c498(0x156),'Viunn':_0x23c498(0xf7),'kugpo':'customTestRunner.js','kWMst':_0x23c498(0x143),'PIZKF':_0x23c498(0x11a),'SCRsz':'jest.setup.js','VFazV':_0x23c498(0x164),'WqCXR':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','koNTi':_0x23c498(0x16f),'nGVeB':function(_0x1b82b8,_0x8bb2d9){return _0x1b82b8(_0x8bb2d9);},'BLlLE':_0x23c498(0xc5),'oSxlf':_0x23c498(0x155),'bpnOE':_0x23c498(0x13e),'Ofdks':_0x23c498(0xc1),'wFPgX':_0x23c498(0xd8),'geLkR':'playwright','qrHjr':_0x23c498(0xfb),'ahxOq':_0x23c498(0xd2),'jqmAG':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','NZxqQ':_0x23c498(0xde),'LcWRW':_0x23c498(0xf3),'asjWY':function(_0x35761e,_0x2b6301){return _0x35761e>_0x2b6301;},'WwwaE':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','OdFyP':function(_0x456a51,_0x47e3a7,_0x3456d0,_0x2e7537){return _0x456a51(_0x47e3a7,_0x3456d0,_0x2e7537);},'AxDNo':_0x23c498(0xb3),'ABqEy':_0x23c498(0x160),'IARIN':function(_0x4c16e8,_0x168946){return _0x4c16e8===_0x168946;},'klcYv':_0x23c498(0xd1),'hJVRE':'inherit','FgPoW':'close'},_0x2b9e65=helper[_0x23c498(0x10f)](_0x1089c1['poeYb']);global['__isPlaywrightInstalled']=!!_0x2b9e65;helper[_0x23c498(0x146)]()?(await _0x47df9c[_0x23c498(0x113)](_0x370fa4),await helper[_0x23c498(0xec)](_0x47df9c[_0x23c498(0x116)])):await _0x47df9c[_0x23c498(0x10c)]();await _0x1089c1[_0x23c498(0xf6)](checkPwandBootstrapCli,_0x2b9e65,constants['FRAMEWORKS']['JEST'],_0x47df9c);if(!_0x47df9c[_0x23c498(0x116)])return;_0x1089c1[_0x23c498(0x163)](_0x47df9c[_0x23c498(0x116)][_0x23c498(0xc3)],null)?process[_0x23c498(0xe0)][_0x23c498(0xc7)]=_0x47df9c[_0x23c498(0x116)][_0x23c498(0xc3)]:process[_0x23c498(0xe0)][_0x23c498(0xc7)]=_0x1089c1[_0x23c498(0x12b)];const _0x4b37fe=new TestOrchestrationHandler(_0x47df9c['config']),_0x186618=await _0x1089c1[_0x23c498(0xe3)](getUserJestConfigs,_0x370fa4,_0x36ff43);logger[_0x23c498(0x110)](_0x1089c1[_0x23c498(0x153)]);const _0x20e3f3=Object[_0x23c498(0x13c)]({},_0x186618);_0x20e3f3[_0x23c498(0x16b)]=Object['assign']({},_0x20e3f3['testEnvironmentOptions'],{'server':helper[_0x23c498(0x162)](_0x47df9c['config']),'environment':_0x186618[_0x23c498(0x12f)]}),_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0x147)]=_0x1089c1[_0x23c498(0x176)](getPercyOptions,_0x47df9c[_0x23c498(0x116)]);const _0x4812d5=helper['useW3C'](_0x47df9c[_0x23c498(0x116)]);!helper[_0x23c498(0xa1)](_0x47df9c[_0x23c498(0x116)][_0x23c498(0xac)])&&(process[_0x23c498(0xe0)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x47df9c['config'][_0x23c498(0xac)]));if(!BrowserstackCLI[_0x23c498(0x12c)]()[_0x23c498(0xf1)]()){const _0x23b387=await TestHubHandler[_0x23c498(0xc6)](FRAMEWORKS[_0x23c498(0xed)],_0x47df9c);}const _0x4e5cf7=helper[_0x23c498(0x142)](_0x47df9c[_0x23c498(0x116)],_0x4812d5,constants[_0x23c498(0x16e)][_0x23c498(0xed)]);process[_0x23c498(0xe0)][_0x23c498(0x13b)]=JSON[_0x23c498(0x14f)](_0x4e5cf7);let _0x2f29b2=_0x47df9c[_0x23c498(0x116)]['accessibility'];_0x2f29b2=_0x2f29b2||accessibilityHelper[_0x23c498(0x9e)](_0x47df9c[_0x23c498(0x116)]),process[_0x23c498(0xe0)][_0x23c498(0xee)]=_0x2f29b2,_0x20e3f3[_0x23c498(0x16b)]['capabilities']=_0x4e5cf7,_0x20e3f3['testEnvironmentOptions']['serial__']=_0x1089c1[_0x23c498(0xe3)](getSerial,_0x4e5cf7,_0x370fa4),_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0x169)]=_0x1089c1[_0x23c498(0xcf)](getMaxWorkers,_0x370fa4,_0x47df9c[_0x23c498(0x116)],_0x186618),_0x20e3f3['testEnvironmentOptions'][_0x23c498(0x138)]=_0x47df9c[_0x23c498(0x116)][_0x23c498(0x138)],_0x20e3f3['testEnvironmentOptions'][_0x23c498(0x13f)]=_0x1089c1['tcRXv'](_0x370fa4[_0x23c498(0x15a)],0x1)||0x1388,_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0x172)]=_0x47df9c[_0x23c498(0x116)][_0x23c498(0xcd)][_0x23c498(0x172)],_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0xe1)]=_0x47df9c[_0x23c498(0x116)][_0x23c498(0xcd)][_0x23c498(0xe1)],_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0xeb)]=_0x47df9c['config'][_0x23c498(0xab)],_0x20e3f3['testEnvironmentOptions'][_0x23c498(0xb4)]=_0x47df9c['config'][_0x23c498(0xb4)],_0x20e3f3[_0x23c498(0x16b)][_0x23c498(0x125)]=_0x47df9c[_0x23c498(0x116)][_0x23c498(0xdb)];const _0x2c2429=helper[_0x23c498(0xad)](_0x47df9c['config']);if(!helper[_0x23c498(0xce)](_0x2c2429)){helper[_0x23c498(0x173)](_0x2c2429[_0x23c498(0xf0)])&&(_0x20e3f3[_0x23c498(0x16b)]['retries__']=_0x2c2429[_0x23c498(0xf0)][_0x23c498(0x174)]);if(helper[_0x23c498(0x173)](_0x2c2429[_0x23c498(0x127)])&&helper[_0x23c498(0x173)](_0x2c2429['abortBuildOnFailure']['workingDir'])){const _0x4d6865={};_0x4d6865[_0x23c498(0xbb)]=_0x2c2429[_0x23c498(0x127)][_0x23c498(0x106)],_0x4d6865[_0x23c498(0x114)]=_0x2c2429['abortBuildOnFailure'][_0x23c498(0x114)],_0x20e3f3[_0x23c498(0x16b)]['failFast']=_0x4d6865;}}let _0x4a30df='';_0x1089c1[_0x23c498(0x178)](helper[_0x23c498(0xe5)](),constants[_0x23c498(0x137)][_0x23c498(0x13a)])?_0x4a30df=_0x1089c1[_0x23c498(0x161)]:_0x4a30df=_0x1089c1[_0x23c498(0x158)];const _0x3fa73d=_0x4a30df,_0x487434=path['join'](__dirname,_0x1089c1['GEiVZ'],_0x1089c1[_0x23c498(0xc2)]),_0x569e98=path[_0x23c498(0x12a)](__dirname,_0x1089c1[_0x23c498(0xa2)],_0x1089c1['kugpo']),_0x5811d8=path['join'](__dirname,_0x1089c1[_0x23c498(0xa2)],_0x1089c1[_0x23c498(0xae)]);_0x20e3f3['testEnvironment']&&(process[_0x23c498(0xe0)][_0x23c498(0x175)]=_0x20e3f3['testEnvironment']);_0x20e3f3[_0x23c498(0x12f)]=path[_0x23c498(0x12a)](__dirname,_0x1089c1[_0x23c498(0xa2)],_0x1089c1['PIZKF']),_0x20e3f3['runner']=_0x569e98,_0x20e3f3[_0x23c498(0x15e)]=_0x20e3f3[_0x23c498(0x15e)]||[],_0x20e3f3['setupFilesAfterEnv'][_0x23c498(0xb2)](path[_0x23c498(0x12a)](__dirname,_0x1089c1['SCRsz']));_0x4b37fe[_0x23c498(0x140)]()&&(_0x20e3f3[_0x23c498(0x151)]=path[_0x23c498(0x12a)](__dirname,_0x1089c1[_0x23c498(0xa2)],_0x1089c1['VFazV']));if(testhubUtils[_0x23c498(0xa0)]()){let _0x34a670=null;try{_0x34a670=helper[_0x23c498(0x100)](_0x1089c1[_0x23c498(0xfc)],_0x1089c1[_0x23c498(0x166)]);}catch(_0x3db9da){_0x1089c1[_0x23c498(0x108)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x3db9da);}_0x34a670&&(_0x20e3f3['setupFilesAfterEnv'][_0x23c498(0xb2)](path['join'](__dirname,_0x1089c1['BLlLE'],_0x1089c1[_0x23c498(0x14b)])),_0x20e3f3[_0x23c498(0x12e)]=path['join'](__dirname,_0x1089c1[_0x23c498(0xa2)],_0x1089c1[_0x23c498(0xf9)]));}_0x20e3f3[_0x23c498(0x179)]=_0x20e3f3[_0x23c498(0x179)]||[];try{helper['requireSeleniumWebdriver'](),_0x20e3f3[_0x23c498(0x179)]['push'](path[_0x23c498(0x12a)](__dirname,_0x1089c1[_0x23c498(0xda)]));}catch{logger[_0x23c498(0xf4)](_0x1089c1[_0x23c498(0xa5)]);}try{helper[_0x23c498(0xb9)][_0x23c498(0x14e)](null,[_0x1089c1[_0x23c498(0x131)],_0x1089c1[_0x23c498(0x157)]]),logger[_0x23c498(0xf4)](_0x1089c1[_0x23c498(0xaa)]),_0x20e3f3[_0x23c498(0x179)][_0x23c498(0xb2)](path[_0x23c498(0x12a)](__dirname,_0x1089c1[_0x23c498(0xca)]));}catch(_0x4331dd){logger[_0x23c498(0xf4)](_0x1089c1[_0x23c498(0xdf)],_0x4331dd);}_0x20e3f3['reporters']=_0x20e3f3[_0x23c498(0xb6)]||[_0x1089c1[_0x23c498(0x139)]],_0x1089c1[_0x23c498(0xe3)](updateTestRerunConfig,_0x20e3f3,_0x47df9c);const _0x43bdb6=fs[_0x23c498(0x112)](_0x5811d8);fs[_0x23c498(0xe6)](_0x20e3f3['runner'],_0x23c498(0xaf)+_0x43bdb6+_0x23c498(0xa9)+_0x47df9c[_0x23c498(0x116)][_0x23c498(0xdb)]['length']+_0x23c498(0x115)),logger[_0x23c498(0x110)](_0x23c498(0xe7)+_0x3fa73d+_0x23c498(0x170)),fs[_0x23c498(0xe6)](_0x3fa73d,_0x23c498(0x136)+JSON[_0x23c498(0x14f)](_0x20e3f3)+_0x23c498(0xbc));if(_0x4b37fe['isTestOrchestrationEnabled']()){logger['debug'](_0x1089c1[_0x23c498(0x10d)]);const _0x222001=await _0x4b37fe[_0x23c498(0x145)](_0x20e3f3,_0x36ff43[_0x23c498(0xc9)](0x1),_0x3fa73d);logger[_0x23c498(0xf4)](_0x23c498(0x11e)+JSON[_0x23c498(0x14f)](_0x222001)+_0x23c498(0xd3));const _0x3fc472=await _0x4b37fe[_0x23c498(0x11f)](_0x222001);logger[_0x23c498(0xf4)](_0x23c498(0x119)+JSON[_0x23c498(0x14f)](_0x3fc472)),_0x3fc472&&_0x1089c1['asjWY'](_0x3fc472['length'],0x0)&&(process[_0x23c498(0xe0)][_0x23c498(0xdd)]=_0x3fc472?.['join'](','));}logger[_0x23c498(0x110)](_0x1089c1[_0x23c498(0x144)]);testhubUtils[_0x23c498(0xa0)]()&&TestDetails[_0x23c498(0x16a)]();helper['filterBrowserstackArgs']({},_0x36ff43),PerformanceTester[_0x23c498(0x16d)](PerformanceEvents['SDK_SETUP']);const _0x45dd1e=_0x1089c1[_0x23c498(0xea)](spawn,_0x1089c1[_0x23c498(0xff)],[_0x1089c1['iJNTr'],_0x1089c1[_0x23c498(0xb8)],_0x3fa73d,..._0x36ff43['slice'](0x1)],{'shell':_0x1089c1[_0x23c498(0x129)](process['platform'],_0x1089c1[_0x23c498(0x165)]),'stdio':_0x1089c1[_0x23c498(0xb7)],'env':Object[_0x23c498(0x13c)]({},process['env'])});_0x45dd1e['on'](_0x1089c1[_0x23c498(0xbe)],async _0x4cc4fa=>{const _0x246bd7=_0x23c498;PerformanceTester[_0x246bd7(0xfa)](PerformanceEvents[_0x246bd7(0x101)]);try{const {browserstackFolderPath:_0x38184f,tcgConfigPath:_0x57fb4b}=helper[_0x246bd7(0x122)]();fs[_0x246bd7(0x168)](_0x57fb4b),fs[_0x246bd7(0xc4)](_0x38184f);}catch(_0x20dfa3){logger['debug'](_0x1089c1[_0x246bd7(0xa3)],_0x20dfa3);}process[_0x246bd7(0x15f)]=_0x4cc4fa,logger['debug'](_0x246bd7(0x15b)+_0x4cc4fa),logger[_0x246bd7(0x110)](_0x246bd7(0x154)+_0x3fa73d);if(helper[_0x246bd7(0x173)](_0x2c2429)&&helper[_0x246bd7(0x173)](_0x2c2429[_0x246bd7(0x127)])&&fs[_0x246bd7(0x107)](_0x2c2429['abortBuildOnFailure']['workingDir']))try{const _0x5c7219={};_0x5c7219[_0x246bd7(0xb1)]=!![],_0x5c7219['force']=!![],fs[_0x246bd7(0x120)](_0x2c2429[_0x246bd7(0x127)][_0x246bd7(0x114)],_0x5c7219),logger[_0x246bd7(0xf4)](_0x246bd7(0x159)+_0x2c2429[_0x246bd7(0x127)][_0x246bd7(0x114)]);}catch(_0x2a23b7){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2a23b7);}let _0x34fa4a=null;if(fs[_0x246bd7(0x107)](_0x487434)){_0x34fa4a=fs[_0x246bd7(0x112)](_0x487434);try{_0x34fa4a=JSON[_0x246bd7(0xa6)](_0x34fa4a);}catch(_0xe4920){logger[_0x246bd7(0xf4)](_0x246bd7(0x12d)+_0x487434+',\x20'+_0x34fa4a+_0x246bd7(0x130)+_0xe4920);}fs['unlinkSync'](_0x487434);}fs['unlinkSync'](_0x3fa73d),fs['unlinkSync'](_0x569e98),_0x34fa4a&&(_0x47df9c[_0x246bd7(0xbf)]=helper['getErrorMessageFromResults'](_0x34fa4a,_0x1089c1['iJNTr'],_0x47df9c)),testOpsHelper[_0x246bd7(0xa8)](),TestDetails[_0x246bd7(0x16c)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x246bd7(0xf2)]();}catch(_0x28b104){console[_0x246bd7(0xe9)](_0x28b104),_0x1089c1[_0x246bd7(0x14d)](debug,_0x246bd7(0x14a)+util[_0x246bd7(0x11c)](_0x28b104));}await utilities['finalExecution'](_0x47df9c);});}module[a14_0x4df326(0x152)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a15_0xa5c74e=a15_0x1f94;function a15_0x25f5(){const _0xf05949=['../../../helpers/helper','1997460kllkEK','includes','23119272NlFewx','jestAdapterInit','171LpPCPF','path','7132640GhAGqh','71564XkFtVX','default','GnmMI','customJestAdapterInit.js','initRequireModule','112165dTSiLG','4408pCkynD','jest-circus','1141RatUOA','OILqX','63480jZCCrP','378dqPgGQ','requireInternalModule','629oAngZk'];a15_0x25f5=function(){return _0xf05949;};return a15_0x25f5();}(function(_0x16ef4d,_0x53c17b){const _0x4d7669=a15_0x1f94,_0x481a09=_0x16ef4d();while(!![]){try{const _0x41dd21=-parseInt(_0x4d7669(0x177))/0x1*(parseInt(_0x4d7669(0x170))/0x2)+parseInt(_0x4d7669(0x17d))/0x3*(-parseInt(_0x4d7669(0x180))/0x4)+parseInt(_0x4d7669(0x16f))/0x5*(parseInt(_0x4d7669(0x175))/0x6)+parseInt(_0x4d7669(0x172))/0x7*(-parseInt(_0x4d7669(0x174))/0x8)+parseInt(_0x4d7669(0x179))/0x9+parseInt(_0x4d7669(0x17f))/0xa+parseInt(_0x4d7669(0x17b))/0xb;if(_0x41dd21===_0x53c17b)break;else _0x481a09['push'](_0x481a09['shift']());}catch(_0x63fbd0){_0x481a09['push'](_0x481a09['shift']());}}}(a15_0x25f5,0xb7487));const path=require(a15_0xa5c74e(0x17e)),{requireModule}=require(a15_0xa5c74e(0x178));let initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0xa5c74e(0x171));initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0xa5c74e(0x181)];function a15_0x1f94(_0x591177,_0x55cc0a){const _0x25f5e4=a15_0x25f5();return a15_0x1f94=function(_0x1f949c,_0x4ca53f){_0x1f949c=_0x1f949c-0x16c;let _0x5cd3c3=_0x25f5e4[_0x1f949c];return _0x5cd3c3;},a15_0x1f94(_0x591177,_0x55cc0a);}const FRAMEWORK_INITIALIZER=path['join'](__dirname,a15_0xa5c74e(0x16d));module['exports']=(..._0x27bf97)=>{const _0x5e47ae=a15_0xa5c74e,_0xa8a561={'zNbvX':_0x5e47ae(0x17c),'OILqX':function(_0x1cbc5a,_0x45cfa0){return _0x1cbc5a===_0x45cfa0;},'GnmMI':function(_0x567f0e,..._0x3a092e){return _0x567f0e(..._0x3a092e);}};return _0x27bf97[0x3][_0x5e47ae(0x16e)]=_0x27bf97[0x3][_0x5e47ae(0x176)],_0x27bf97[0x3][_0x5e47ae(0x176)]=(..._0x2d6382)=>{const _0x41fb73=_0x5e47ae;if(_0x2d6382[0x0]&&_0x2d6382[0x0][_0x41fb73(0x17a)](_0xa8a561['zNbvX'])&&_0xa8a561[_0x41fb73(0x173)](_0x2d6382[0x1],undefined))return _0x27bf97[0x3][_0x41fb73(0x16e)](FRAMEWORK_INITIALIZER);return _0x27bf97[0x3]['initRequireModule'](..._0x2d6382);},_0xa8a561[_0x5e47ae(0x16c)](initJestAdapter,..._0x27bf97);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x467dcc=a16_0xfb03;function a16_0xfb03(_0xffccab,_0x1cd83e){const _0x2cfca9=a16_0x2cfc();return a16_0xfb03=function(_0xfb0378,_0x45eec9){_0xfb0378=_0xfb0378-0x1c6;let _0x5e9384=_0x2cfca9[_0xfb0378];return _0x5e9384;},a16_0xfb03(_0xffccab,_0x1cd83e);}(function(_0x830c30,_0x4450a9){const _0x3d1e22=a16_0xfb03,_0x4b546d=_0x830c30();while(!![]){try{const _0x4bbd61=parseInt(_0x3d1e22(0x1cc))/0x1+-parseInt(_0x3d1e22(0x1d8))/0x2*(-parseInt(_0x3d1e22(0x1fa))/0x3)+parseInt(_0x3d1e22(0x1d0))/0x4*(-parseInt(_0x3d1e22(0x1eb))/0x5)+parseInt(_0x3d1e22(0x20c))/0x6+-parseInt(_0x3d1e22(0x212))/0x7*(-parseInt(_0x3d1e22(0x1f3))/0x8)+parseInt(_0x3d1e22(0x22b))/0x9*(parseInt(_0x3d1e22(0x201))/0xa)+-parseInt(_0x3d1e22(0x238))/0xb;if(_0x4bbd61===_0x4450a9)break;else _0x4b546d['push'](_0x4b546d['shift']());}catch(_0x5a1b43){_0x4b546d['push'](_0x4b546d['shift']());}}}(a16_0x2cfc,0xeaa3d));const helper=require(a16_0x467dcc(0x221)),constants=require(a16_0x467dcc(0x204)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require(a16_0x467dcc(0x209)),ObservabilityReporter=require(a16_0x467dcc(0x1fb)),testhubUtils=require(a16_0x467dcc(0x207)),logger=require('../../../helpers/logger')[a16_0x467dcc(0x1f9)],getTestEnvironment=((()=>{const _0x18f65a=a16_0x467dcc,_0xd9b4e={};_0xd9b4e[_0x18f65a(0x1d4)]=_0x18f65a(0x202),_0xd9b4e[_0x18f65a(0x226)]=_0x18f65a(0x1c9);const _0x260abd=_0xd9b4e;try{const _0xe35a6a=helper[_0x18f65a(0x232)](_0x260abd[_0x18f65a(0x1d4)]);if(_0xe35a6a[_0x18f65a(0x1d5)])return _0xe35a6a[_0x18f65a(0x1d5)];const _0x3b292c=helper[_0x18f65a(0x232)](_0x260abd['dNbRE']);if(_0x3b292c['getTestEnvironment'])return _0x3b292c[_0x18f65a(0x1df)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0xb8b273=a16_0x467dcc,_0x33d045={'RTWqq':function(_0x38b2c6,_0x56ef66){return _0x38b2c6(_0x56ef66);},'MNDRO':_0xb8b273(0x1c8),'xtHUq':function(_0x1fc6a9,_0x4b98c9){return _0x1fc6a9(_0x4b98c9);},'wwwkZ':'jest-environment-node','kTPIb':function(_0x522422,_0x208a9b){return _0x522422(_0x208a9b);}},_0x37076f=_0x33d045[_0xb8b273(0x1e0)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0xb8b273(0x1ca)][_0xb8b273(0x22d)]||_0x33d045[_0xb8b273(0x1cf)]});if(!_0x37076f)return _0x33d045[_0xb8b273(0x237)](_interopRequireDefault,helper[_0xb8b273(0x232)](_0x33d045['wwwkZ']));return _0x33d045['kTPIb'](_interopRequireDefault,helper[_0xb8b273(0x232)](_0x37076f));})()),_seleniumWebdriver2=((()=>{const _0x51bbe1=a16_0x467dcc,_0x1631d8={'NocLI':function(_0x5dc2dc,_0x47dd6e){return _0x5dc2dc(_0x47dd6e);}};try{const _0x56d8f0=helper[_0x51bbe1(0x21b)]();return helper[_0x51bbe1(0x21e)](),_0x1631d8['NocLI'](_interopRequireDefault,_0x56d8f0);}catch{return null;}})());function _interopRequireDefault(_0x17d72c){const _0x85728a=a16_0x467dcc;return _0x17d72c&&_0x17d72c[_0x85728a(0x1c6)]?_0x17d72c:{'default':_0x17d72c};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2['default'][a16_0x467dcc(0x1e7)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x467dcc(0x224)]{constructor(_0x49242c){const _0x5b7035=a16_0x467dcc,_0x2dd2f4={'arQOy':_0x5b7035(0x20f),'NtIZs':function(_0x302738,_0x4d6705){return _0x302738+_0x4d6705;},'ZIxWC':_0x5b7035(0x1d7),'gTAWg':function(_0x596385,_0x4cdaf3){return _0x596385(_0x4cdaf3);},'rbnoV':_0x5b7035(0x205),'BnZgk':'4|6|2|3|7|1|0|5','nGEGB':_0x5b7035(0x1ec),'PLuhy':'browserStackPercyOptions','XcYwG':'browserstackPercyBestPlatform','PJltx':_0x5b7035(0x230),'ozfAO':_0x5b7035(0x20e),'SxQij':_0x5b7035(0x1e2)};super(_0x49242c),this[_0x5b7035(0x216)][_0x5b7035(0x21d)]=0x0,this['configuration']={};!_0x49242c[_0x5b7035(0x1ec)]&&(_0x49242c[_0x5b7035(0x1ec)]={});if(helper['isBrowserstackInfra']()){_0x49242c[_0x5b7035(0x1ec)]=_0x49242c['projectConfig']?_0x49242c[_0x5b7035(0x1fc)]['testEnvironmentOptions']:_0x49242c[_0x5b7035(0x1ec)];_seleniumWebdriver2&&(this['builder']=new _seleniumWebdriver2[(_0x5b7035(0x224))][(_0x5b7035(0x1e7))]());this[_0x5b7035(0x225)]=_0x49242c[_0x5b7035(0x1fc)]?_0x49242c[_0x5b7035(0x1fc)]['capability']:_0x49242c[_0x5b7035(0x225)],this[_0x5b7035(0x216)][_0x5b7035(0x21d)]=_0x2dd2f4[_0x5b7035(0x223)](_0x49242c[_0x5b7035(0x1ec)]['timeout__']||0x1388,constants[_0x5b7035(0x1dd)]),this[_0x5b7035(0x203)]=_0x49242c[_0x5b7035(0x1ec)][_0x5b7035(0x213)];if(this[_0x5b7035(0x203)]){const _0xc167=this[_0x5b7035(0x225)][_0x2dd2f4[_0x5b7035(0x1f1)]]?.[_0x5b7035(0x22c)]||'',_0x49b9a2=this[_0x5b7035(0x225)][_0x2dd2f4[_0x5b7035(0x1f1)]]?.[_0x5b7035(0x1d2)]||'';this[_0x5b7035(0x213)]=new(_0x2dd2f4[_0x5b7035(0x218)](require,_0x2dd2f4['rbnoV']))(this['failFastOptions'],_0xc167,_0x49b9a2),this[_0x5b7035(0x216)][_0x5b7035(0x1fe)]=![];}helper[_0x5b7035(0x1f8)](_0x49242c[_0x5b7035(0x1ec)][_0x5b7035(0x236)])&&(this['global'][_0x5b7035(0x1de)]=_0x49242c['testEnvironmentOptions'][_0x5b7035(0x236)]);}if(testhubUtils[_0x5b7035(0x1d6)]()){const _0xadb296=new ObservabilityReporter();_0xadb296[_0x5b7035(0x20a)]();}this['global'][_0x5b7035(0x235)]={},this['configuration']=_0x49242c[_0x5b7035(0x1ec)],this[_0x5b7035(0x1cd)][_0x5b7035(0x20b)]=constants['FRAMEWORKS']['JEST'],this[_0x5b7035(0x216)][_0x5b7035(0x1f4)]=(_0x49242c['projectConfig']?_0x49242c[_0x5b7035(0x1fc)][_0x5b7035(0x1f4)]:_0x49242c['browserstackPlatformIndex'])||0x0,this['global'][_0x5b7035(0x1e4)]=this['configuration']&&this['configuration']['platformCaps']&&Array[_0x5b7035(0x1e3)](this[_0x5b7035(0x1cd)][_0x5b7035(0x1e1)])&&this['configuration'][_0x5b7035(0x1e1)][this[_0x5b7035(0x216)][_0x5b7035(0x1f4)]]||{};const _0x3dfb0c=this['global'][_0x5b7035(0x1f4)],_0x3e360a={...this[_0x5b7035(0x1cd)],'capability':this[_0x5b7035(0x1cd)][_0x5b7035(0x1ef)]&&Array['isArray'](this[_0x5b7035(0x1cd)][_0x5b7035(0x1ef)])&&this[_0x5b7035(0x1cd)][_0x5b7035(0x1ef)][_0x3dfb0c]||{},'platformCaps':this[_0x5b7035(0x1cd)][_0x5b7035(0x1e1)]&&Array[_0x5b7035(0x1e3)](this[_0x5b7035(0x1cd)][_0x5b7035(0x1e1)])&&this['configuration']['platformCaps'][_0x3dfb0c]||{}};delete _0x3e360a['capabilities'],this['global']['jestConfig']=_0x3e360a;if(_seleniumWebdriver2){const _0x2254c9=_0x2dd2f4[_0x5b7035(0x1ff)][_0x5b7035(0x1d3)]('|');let _0x5a03d6=0x0;while(!![]){switch(_0x2254c9[_0x5a03d6++]){case'0':this[_0x5b7035(0x216)][_0x5b7035(0x22a)]=helper['isTrue'](this[_0x5b7035(0x1cd)][_0x5b7035(0x228)]);continue;case'1':helper['isTrue'](this[_0x5b7035(0x1cd)][_0x5b7035(0x22f)])?this[_0x5b7035(0x216)][_0x5b7035(0x219)]=!![]:this['global'][_0x5b7035(0x219)]=![];continue;case'2':this['global'][_0x5b7035(0x222)]=helper['nestedKeyValue'](_0x49242c,[_0x2dd2f4[_0x5b7035(0x1d9)],_0x2dd2f4[_0x5b7035(0x21f)],_0x2dd2f4[_0x5b7035(0x21a)]]);continue;case'3':this[_0x5b7035(0x216)]['percy']=helper['nestedKeyValue'](_0x49242c,[_0x2dd2f4[_0x5b7035(0x1d9)],_0x2dd2f4['PLuhy'],_0x2dd2f4[_0x5b7035(0x1ed)]]);continue;case'4':this[_0x5b7035(0x216)]['__drivers']=[];continue;case'5':this[_0x5b7035(0x216)][_0x5b7035(0x1f2)]=async()=>{const _0x442be4=_0x5b7035;await this[_0x442be4(0x216)][_0x442be4(0x1f6)]['quit'](_0x2dd2f4[_0x442be4(0x1da)]);};continue;case'6':this[_0x5b7035(0x216)][_0x5b7035(0x227)]=_0x2dd2f4['gTAWg'](require,_0x2dd2f4[_0x5b7035(0x1e5)])[_0x5b7035(0x22e)]({...this['configuration'],'capability':this[_0x5b7035(0x225)]||{}},this,testhubUtils[_0x5b7035(0x1d6)]());continue;case'7':this[_0x5b7035(0x216)][_0x5b7035(0x1e2)]=helper['nestedKeyValue'](_0x49242c,[_0x2dd2f4[_0x5b7035(0x1d9)],_0x2dd2f4[_0x5b7035(0x21f)],_0x2dd2f4[_0x5b7035(0x229)]]);continue;}break;}}}async[a16_0x467dcc(0x1d1)](){const _0x576319=a16_0x467dcc;_seleniumWebdriver2&&(await helper[_0x576319(0x1ee)](this[_0x576319(0x216)][_0x576319(0x1dc)]),this['global'][_0x576319(0x227)][_0x576319(0x1e7)]=originalBuilder),await RequestQueueHandler[_0x576319(0x231)]()[_0x576319(0x1ce)]();}async[a16_0x467dcc(0x1fd)](){}async[a16_0x467dcc(0x1c7)](_0x466b38,_0x4b0c46){const _0x2fa295=a16_0x467dcc,_0x4fbdbd={};_0x4fbdbd[_0x2fa295(0x1cb)]=function(_0x36f67e,_0x105531){return _0x36f67e===_0x105531;},_0x4fbdbd[_0x2fa295(0x200)]=_0x2fa295(0x214),_0x4fbdbd['vMNEX']=function(_0x3e4380,_0x439568){return _0x3e4380===_0x439568;},_0x4fbdbd[_0x2fa295(0x211)]='skip',_0x4fbdbd[_0x2fa295(0x1db)]=_0x2fa295(0x21c),_0x4fbdbd[_0x2fa295(0x210)]=_0x2fa295(0x233),_0x4fbdbd[_0x2fa295(0x1f5)]=function(_0x2af3db,_0xa2dee2){return _0x2af3db===_0xa2dee2;},_0x4fbdbd[_0x2fa295(0x217)]=_0x2fa295(0x1e9),_0x4fbdbd['ZuaQg']=function(_0x1a7c53,_0x337217){return _0x1a7c53===_0x337217;},_0x4fbdbd[_0x2fa295(0x20d)]=_0x2fa295(0x1d1);const _0x19c5fa=_0x4fbdbd,{name:_0x1cc681}=_0x466b38;if(_0x19c5fa[_0x2fa295(0x1cb)](_0x1cc681,_0x19c5fa[_0x2fa295(0x200)])){this['global']['testContext']=_0x466b38[_0x2fa295(0x208)];if(_0x19c5fa['vMNEX'](this['global'][_0x2fa295(0x1fe)],!![])){const _0x8ff22=_0x466b38[_0x2fa295(0x208)][_0x2fa295(0x206)];logger[_0x2fa295(0x215)](_0x2fa295(0x1f0)+_0x8ff22),_0x466b38[_0x2fa295(0x208)][_0x2fa295(0x220)]=_0x19c5fa[_0x2fa295(0x211)];}}if(this['failFast']&&_0x19c5fa['DNKWI'](_0x1cc681,_0x19c5fa[_0x2fa295(0x1db)]))try{const _0x431e3d=_0x466b38[_0x2fa295(0x208)][_0x2fa295(0x1ea)]['join'](_0x19c5fa[_0x2fa295(0x210)]),_0x3d9e5f=_0x466b38[_0x2fa295(0x208)]['errors'];await this[_0x2fa295(0x213)]['onTestDone'](_0x431e3d,_0x3d9e5f);const _0x1f227a=await this[_0x2fa295(0x213)][_0x2fa295(0x234)]();_0x19c5fa[_0x2fa295(0x1f5)](this['global'][_0x2fa295(0x1fe)],![])&&_0x19c5fa[_0x2fa295(0x1f5)](_0x1f227a,!![])&&(this['global']['failFastActive']=!![]);}catch(_0x381bb0){logger['debug'](_0x19c5fa[_0x2fa295(0x217)],_0x381bb0[_0x2fa295(0x1e8)]);}_0x19c5fa[_0x2fa295(0x1f7)](_0x1cc681,_0x19c5fa[_0x2fa295(0x20d)])&&(this[_0x2fa295(0x213)]&&this['failFast'][_0x2fa295(0x1f2)]());}}function a16_0x2cfc(){const _0x1afafa=['cleanupDrivers','capabilities','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','ZIxWC','cleanup','14038616wZezZY','browserstackPlatformIndex','eIUKZ','driver','ZuaQg','isNotUndefined','winstonLogger','3fmhCOM','../test-observability/obsReporter','projectConfig','setup','failFastActive','BnZgk','lZyon','47400hFkfTP','jest-resolve','failFastOptions','../../utils/constants','../../../helpers/test-orchestration/failfastManager','name','../../../helpers/testhub/utils','test','../../../helpers/test-observability/requestQueueHandler','registerListeners','framework','9552120Cxvehh','NJXnj','../../../index','quit','MwGJK','EOmey','7yoEWzR','failFast','test_start','info','global','olyWu','gTAWg','sessionNameProvided','XcYwG','requireSeleniumWebdriver','test_done','__timeout','modifyCommand','PLuhy','mode','../../../helpers/helper','browserstackPercyBestPlatform','NtIZs','default','capability','dNbRE','__webdriver','skipSessionStatus','SxQij','__skipSessionStatus','747MiimDi','buildName','BSTACK_JEST_TEST_ENV','browserstackAgentV2','skipSessionName','percy','getInstance','requireModule','\x20>\x20','shouldFailFast','browserStackGlobals','retries__','xtHUq','47907332ryBNnf','__esModule','handleTestEvent','node','jest-config','env','DNKWI','1831942zOROid','configuration','shutdown','MNDRO','8igSmZL','teardown','projectName','split','VDGij','resolveTestEnvironment','shouldProcessEventForTesthub','bstack:options','677964YdpcHq','nGEGB','arQOy','fRvey','__driversArray','BSTACK_DELTA','__jestRetries','getTestEnvironment','RTWqq','platformCaps','percyCaptureMode','isArray','__platformCaps','ozfAO','exports','Builder','message','Error\x20in\x20fail-fast\x20test_done\x20handler:','testPath','1487235hKnQTO','testEnvironmentOptions','PJltx'];a16_0x2cfc=function(){return _0x1afafa;};return a16_0x2cfc();}module[a16_0x467dcc(0x1e6)]=CustomEnvironment;
|
|
1
|
+
const a16_0xa83193=a16_0x5ca8;function a16_0x5ca8(_0x1e58dc,_0xf49c74){const _0x435120=a16_0x4351();return a16_0x5ca8=function(_0x5ca81e,_0x54cbd9){_0x5ca81e=_0x5ca81e-0x1d7;let _0x273e22=_0x435120[_0x5ca81e];return _0x273e22;},a16_0x5ca8(_0x1e58dc,_0xf49c74);}(function(_0x2c8595,_0xc9e4ca){const _0x2903da=a16_0x5ca8,_0x5713f6=_0x2c8595();while(!![]){try{const _0x2aec27=parseInt(_0x2903da(0x1df))/0x1+parseInt(_0x2903da(0x1fd))/0x2*(parseInt(_0x2903da(0x21e))/0x3)+-parseInt(_0x2903da(0x232))/0x4+-parseInt(_0x2903da(0x1e5))/0x5+parseInt(_0x2903da(0x1f0))/0x6+-parseInt(_0x2903da(0x224))/0x7+parseInt(_0x2903da(0x1e0))/0x8*(parseInt(_0x2903da(0x22f))/0x9);if(_0x2aec27===_0xc9e4ca)break;else _0x5713f6['push'](_0x5713f6['shift']());}catch(_0x5b5ddc){_0x5713f6['push'](_0x5713f6['shift']());}}}(a16_0x4351,0x6ad1f));const helper=require(a16_0xa83193(0x218)),constants=require(a16_0xa83193(0x21c)),{isTestObservabilitySession}=require(a16_0xa83193(0x1f3)),RequestQueueHandler=require(a16_0xa83193(0x208)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0xa83193(0x1f2)),logger=require('../../../helpers/logger')[a16_0xa83193(0x234)],getTestEnvironment=((()=>{const _0x303636=a16_0xa83193,_0x46a057={};_0x46a057[_0x303636(0x205)]=_0x303636(0x23e),_0x46a057['GXzte']=_0x303636(0x217);const _0x377e9b=_0x46a057;try{const _0x58d54b=helper[_0x303636(0x23c)](_0x377e9b[_0x303636(0x205)]);if(_0x58d54b[_0x303636(0x211)])return _0x58d54b[_0x303636(0x211)];const _0x118c8f=helper[_0x303636(0x23c)](_0x377e9b[_0x303636(0x1e8)]);if(_0x118c8f[_0x303636(0x227)])return _0x118c8f['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x373c2a=a16_0xa83193,_0x47f507={'xAvoK':function(_0x467785,_0x39eec1){return _0x467785(_0x39eec1);},'XOKbm':_0x373c2a(0x230),'GJTaf':'jest-environment-node','nPYQw':function(_0x44e4d7,_0x3a5d1b){return _0x44e4d7(_0x3a5d1b);}},_0x5c1c25=_0x47f507[_0x373c2a(0x1dc)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x373c2a(0x1ef)][_0x373c2a(0x236)]||_0x47f507[_0x373c2a(0x1e4)]});if(!_0x5c1c25)return _0x47f507['xAvoK'](_interopRequireDefault,helper['requireModule'](_0x47f507[_0x373c2a(0x1de)]));return _0x47f507[_0x373c2a(0x1e9)](_interopRequireDefault,helper[_0x373c2a(0x23c)](_0x5c1c25));})()),_seleniumWebdriver2=((()=>{const _0x2bd5ba=a16_0xa83193,_0x28102d={'chfhN':function(_0x13b77e,_0x31c563){return _0x13b77e(_0x31c563);}};try{const _0x165a1c=helper[_0x2bd5ba(0x210)]();return helper[_0x2bd5ba(0x1fc)](),_0x28102d[_0x2bd5ba(0x1d7)](_interopRequireDefault,_0x165a1c);}catch{return null;}})());function _interopRequireDefault(_0x10c932){return _0x10c932&&_0x10c932['__esModule']?_0x10c932:{'default':_0x10c932};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0xa83193(0x1eb)][a16_0xa83193(0x1ea)]:null;function a16_0x4351(){const _0x169bc8=['../../utils/constants','getInstance','3hOjqVY','registerListeners','test_start','Vtewm','driver','testContext','3158330XYlZOu','failFastActive','info','getTestEnvironment','timeout__','shouldFailFast','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','lYMUf','test','builder','isTrue','10359MjwDni','node','YjzJg','2701808qXpxed','global','winstonLogger','jestConfig','BSTACK_JEST_TEST_ENV','buildName','debug','errors','percy','platformCaps','requireModule','percyCaptureMode','jest-resolve','failFast','__jestRetries','testEnvironmentOptions','gKrwD','cleanup','ZjZWw','browserStackPercyOptions','chfhN','__driversArray','__skipSessionStatus','test_done','tFVEw','xAvoK','isArray','GJTaf','420027aHeIrJ','5552vuioPJ','browserstackAgentV2','vqQtK','__timeout','XOKbm','3265750WGJdMV','shutdown','ZImUw','GXzte','nPYQw','Builder','default','hapEp','shouldProcessEventForTesthub','__platformCaps','env','2389530sJrasp','pgJYn','../../../helpers/testhub/utils','../../../helpers/test-observability/utils','handleTestEvent','FRAMEWORKS','__webdriver','failFastOptions','pyidT','fJsPx','nestedKeyValue','Error\x20in\x20fail-fast\x20test_done\x20handler:','modifyCommand','1200502VLPMZN','djSIN','projectName','__drivers','skipSessionName','capabilities','BSTACK_DELTA','skipSessionStatus','fHMqB','framework','browserstackPercyBestPlatform','../../../helpers/test-observability/requestQueueHandler','KrouL','browserStackGlobals','cleanupDrivers','projectConfig','teardown','sessionNameProvided','split','requireSeleniumWebdriver','resolveTestEnvironment','quit','configuration','isBrowserstackInfra','capability','browserstackPlatformIndex','jest-config','../../../helpers/helper','tgZMu','PwYbp','setup'];a16_0x4351=function(){return _0x169bc8;};return a16_0x4351();}class CustomEnvironment extends _jestUserEnvironment[a16_0xa83193(0x1eb)]{constructor(_0x394ba2){const _0x1e7fd6=a16_0xa83193,_0x3a34d6={'OSdjO':_0x1e7fd6(0x212),'heQQc':function(_0x728c82,_0x24fc9c){return _0x728c82+_0x24fc9c;},'tFVEw':'bstack:options','djSIN':function(_0x2fa130,_0x20f604){return _0x2fa130(_0x20f604);},'ORCMs':'../../../helpers/test-orchestration/failfastManager','baviE':'2|1|6|4|7|5|3|0','gKrwD':function(_0x1e4a8e,_0x10e851){return _0x1e4a8e(_0x10e851);},'pyidT':'../../../index','YjzJg':_0x1e7fd6(0x241),'pgJYn':_0x1e7fd6(0x245),'lYMUf':'percy','ZjZWw':_0x1e7fd6(0x207),'Vtewm':_0x1e7fd6(0x23d)};super(_0x394ba2),this[_0x1e7fd6(0x233)][_0x1e7fd6(0x1e3)]=0x0,this[_0x1e7fd6(0x213)]={};!_0x394ba2[_0x1e7fd6(0x241)]&&(_0x394ba2[_0x1e7fd6(0x241)]={});if(helper[_0x1e7fd6(0x214)]()){_0x394ba2[_0x1e7fd6(0x241)]=_0x394ba2[_0x1e7fd6(0x20c)]?_0x394ba2['projectConfig'][_0x1e7fd6(0x241)]:_0x394ba2[_0x1e7fd6(0x241)];_seleniumWebdriver2&&(this[_0x1e7fd6(0x22d)]=new _seleniumWebdriver2['default']['Builder']());this[_0x1e7fd6(0x215)]=_0x394ba2['projectConfig']?_0x394ba2[_0x1e7fd6(0x20c)][_0x1e7fd6(0x215)]:_0x394ba2['capability'],this['global'][_0x1e7fd6(0x1e3)]=_0x3a34d6['heQQc'](_0x394ba2[_0x1e7fd6(0x241)][_0x1e7fd6(0x228)]||0x1388,constants[_0x1e7fd6(0x203)]),this[_0x1e7fd6(0x1f7)]=_0x394ba2[_0x1e7fd6(0x241)]['failFast'];if(this[_0x1e7fd6(0x1f7)]){const _0x12164c=this[_0x1e7fd6(0x215)][_0x3a34d6[_0x1e7fd6(0x1db)]]?.[_0x1e7fd6(0x237)]||'',_0x53b3e9=this[_0x1e7fd6(0x215)][_0x3a34d6[_0x1e7fd6(0x1db)]]?.[_0x1e7fd6(0x1ff)]||'';this[_0x1e7fd6(0x23f)]=new(_0x3a34d6[_0x1e7fd6(0x1fe)](require,_0x3a34d6['ORCMs']))(this['failFastOptions'],_0x12164c,_0x53b3e9),this[_0x1e7fd6(0x233)][_0x1e7fd6(0x225)]=![];}helper['isNotUndefined'](_0x394ba2[_0x1e7fd6(0x241)]['retries__'])&&(this['global'][_0x1e7fd6(0x240)]=_0x394ba2['testEnvironmentOptions']['retries__']);}if(testhubUtils[_0x1e7fd6(0x1ed)]()){const _0x51e895=new ObservabilityReporter();_0x51e895[_0x1e7fd6(0x21f)]();}this[_0x1e7fd6(0x233)][_0x1e7fd6(0x20a)]={},this[_0x1e7fd6(0x213)]=_0x394ba2[_0x1e7fd6(0x241)],this['configuration'][_0x1e7fd6(0x206)]=constants[_0x1e7fd6(0x1f5)]['JEST'],this[_0x1e7fd6(0x233)][_0x1e7fd6(0x216)]=(_0x394ba2[_0x1e7fd6(0x20c)]?_0x394ba2['projectConfig'][_0x1e7fd6(0x216)]:_0x394ba2[_0x1e7fd6(0x216)])||0x0,this[_0x1e7fd6(0x233)][_0x1e7fd6(0x1ee)]=this[_0x1e7fd6(0x213)]&&this[_0x1e7fd6(0x213)]['platformCaps']&&Array[_0x1e7fd6(0x1dd)](this[_0x1e7fd6(0x213)]['platformCaps'])&&this['configuration'][_0x1e7fd6(0x23b)][this['global'][_0x1e7fd6(0x216)]]||{};const _0x1cd4a4=this[_0x1e7fd6(0x233)][_0x1e7fd6(0x216)],_0x5496b9={...this[_0x1e7fd6(0x213)],'capability':this[_0x1e7fd6(0x213)][_0x1e7fd6(0x202)]&&Array['isArray'](this[_0x1e7fd6(0x213)][_0x1e7fd6(0x202)])&&this['configuration'][_0x1e7fd6(0x202)][_0x1cd4a4]||{},'platformCaps':this[_0x1e7fd6(0x213)][_0x1e7fd6(0x23b)]&&Array[_0x1e7fd6(0x1dd)](this[_0x1e7fd6(0x213)][_0x1e7fd6(0x23b)])&&this[_0x1e7fd6(0x213)][_0x1e7fd6(0x23b)][_0x1cd4a4]||{}};delete _0x5496b9[_0x1e7fd6(0x202)],this['global'][_0x1e7fd6(0x235)]=_0x5496b9;if(_seleniumWebdriver2){const _0x29f515=_0x3a34d6['baviE'][_0x1e7fd6(0x20f)]('|');let _0x310570=0x0;while(!![]){switch(_0x29f515[_0x310570++]){case'0':this[_0x1e7fd6(0x233)][_0x1e7fd6(0x243)]=async()=>{const _0x362ddf=_0x1e7fd6;await this['global'][_0x362ddf(0x222)][_0x362ddf(0x212)](_0x3a34d6['OSdjO']);};continue;case'1':this[_0x1e7fd6(0x233)][_0x1e7fd6(0x1f6)]=_0x3a34d6[_0x1e7fd6(0x242)](require,_0x3a34d6[_0x1e7fd6(0x1f8)])[_0x1e7fd6(0x1e1)]({...this['configuration'],'capability':this[_0x1e7fd6(0x215)]||{}},this,testhubUtils[_0x1e7fd6(0x1ed)]());continue;case'2':this['global'][_0x1e7fd6(0x200)]=[];continue;case'3':this['global'][_0x1e7fd6(0x1d9)]=helper[_0x1e7fd6(0x22e)](this[_0x1e7fd6(0x213)][_0x1e7fd6(0x204)]);continue;case'4':this[_0x1e7fd6(0x233)][_0x1e7fd6(0x23a)]=helper['nestedKeyValue'](_0x394ba2,[_0x3a34d6[_0x1e7fd6(0x231)],_0x3a34d6[_0x1e7fd6(0x1f1)],_0x3a34d6[_0x1e7fd6(0x22b)]]);continue;case'5':helper[_0x1e7fd6(0x22e)](this['configuration'][_0x1e7fd6(0x201)])?this['global'][_0x1e7fd6(0x20e)]=!![]:this['global'][_0x1e7fd6(0x20e)]=![];continue;case'6':this['global'][_0x1e7fd6(0x207)]=helper[_0x1e7fd6(0x1fa)](_0x394ba2,[_0x3a34d6[_0x1e7fd6(0x231)],_0x3a34d6[_0x1e7fd6(0x1f1)],_0x3a34d6[_0x1e7fd6(0x244)]]);continue;case'7':this[_0x1e7fd6(0x233)][_0x1e7fd6(0x23d)]=helper[_0x1e7fd6(0x1fa)](_0x394ba2,[_0x3a34d6[_0x1e7fd6(0x231)],_0x3a34d6['pgJYn'],_0x3a34d6[_0x1e7fd6(0x221)]]);continue;}break;}}}async[a16_0xa83193(0x20d)](){const _0x4faab9=a16_0xa83193;_seleniumWebdriver2&&(await helper[_0x4faab9(0x20b)](this[_0x4faab9(0x233)][_0x4faab9(0x1d8)]),this[_0x4faab9(0x233)]['__webdriver'][_0x4faab9(0x1ea)]=originalBuilder),await RequestQueueHandler[_0x4faab9(0x21d)]()[_0x4faab9(0x1e6)]();}async[a16_0xa83193(0x21b)](){}async[a16_0xa83193(0x1f4)](_0x3cd7c2,_0x436b22){const _0x253791=a16_0xa83193,_0x1d6711={};_0x1d6711[_0x253791(0x1ec)]=function(_0x5cb607,_0x20d0d9){return _0x5cb607===_0x20d0d9;},_0x1d6711[_0x253791(0x1e2)]=_0x253791(0x220),_0x1d6711['ZImUw']='skip',_0x1d6711[_0x253791(0x219)]=function(_0x60326,_0x668287){return _0x60326===_0x668287;},_0x1d6711[_0x253791(0x1f9)]=_0x253791(0x1da),_0x1d6711['irZyZ']='\x20>\x20',_0x1d6711['CcAER']=function(_0x442a4a,_0x2f4fd8){return _0x442a4a===_0x2f4fd8;},_0x1d6711[_0x253791(0x209)]=_0x253791(0x1fb),_0x1d6711[_0x253791(0x21a)]=_0x253791(0x20d);const _0x1f8d4e=_0x1d6711,{name:_0x21b90e}=_0x3cd7c2;if(_0x1f8d4e[_0x253791(0x1ec)](_0x21b90e,_0x1f8d4e[_0x253791(0x1e2)])){this['global'][_0x253791(0x223)]=_0x3cd7c2['test'];if(_0x1f8d4e[_0x253791(0x1ec)](this[_0x253791(0x233)][_0x253791(0x225)],!![])){const _0x8a068=_0x3cd7c2[_0x253791(0x22c)]['name'];logger[_0x253791(0x226)](_0x253791(0x22a)+_0x8a068),_0x3cd7c2[_0x253791(0x22c)]['mode']=_0x1f8d4e[_0x253791(0x1e7)];}}if(this[_0x253791(0x23f)]&&_0x1f8d4e[_0x253791(0x219)](_0x21b90e,_0x1f8d4e[_0x253791(0x1f9)]))try{const _0x38cd9f=_0x3cd7c2[_0x253791(0x22c)]['testPath']['join'](_0x1f8d4e['irZyZ']),_0x321476=_0x3cd7c2[_0x253791(0x22c)][_0x253791(0x239)];await this[_0x253791(0x23f)]['onTestDone'](_0x38cd9f,_0x321476);const _0x54f4fa=await this[_0x253791(0x23f)][_0x253791(0x229)]();_0x1f8d4e[_0x253791(0x219)](this[_0x253791(0x233)][_0x253791(0x225)],![])&&_0x1f8d4e['CcAER'](_0x54f4fa,!![])&&(this['global'][_0x253791(0x225)]=!![]);}catch(_0xd3ba04){logger[_0x253791(0x238)](_0x1f8d4e['KrouL'],_0xd3ba04['message']);}_0x1f8d4e[_0x253791(0x219)](_0x21b90e,_0x1f8d4e[_0x253791(0x21a)])&&(this[_0x253791(0x23f)]&&this[_0x253791(0x23f)][_0x253791(0x243)]());}}module['exports']=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a17_0x4e5ee5=a17_0x4c6b;(function(_0x31d495,_0x2b1088){const _0x3ffcfc=a17_0x4c6b,_0x40bd76=_0x31d495();while(!![]){try{const _0x54af59=-parseInt(_0x3ffcfc(0x1e3))/0x1*(parseInt(_0x3ffcfc(0x20f))/0x2)+parseInt(_0x3ffcfc(0x221))/0x3*(parseInt(_0x3ffcfc(0x210))/0x4)+-parseInt(_0x3ffcfc(0x228))/0x5*(parseInt(_0x3ffcfc(0x226))/0x6)+parseInt(_0x3ffcfc(0x212))/0x7+parseInt(_0x3ffcfc(0x214))/0x8*(-parseInt(_0x3ffcfc(0x223))/0x9)+-parseInt(_0x3ffcfc(0x207))/0xa*(parseInt(_0x3ffcfc(0x211))/0xb)+parseInt(_0x3ffcfc(0x230))/0xc*(parseInt(_0x3ffcfc(0x218))/0xd);if(_0x54af59===_0x2b1088)break;else _0x40bd76['push'](_0x40bd76['shift']());}catch(_0x585967){_0x40bd76['push'](_0x40bd76['shift']());}}}(a17_0x2632,0x4c45e));function a17_0x4c6b(_0x330cc7,_0x23594f){const _0x2632c9=a17_0x2632();return a17_0x4c6b=function(_0x4c6bf8,_0x51c849){_0x4c6bf8=_0x4c6bf8-0x1e3;let _0x46d01c=_0x2632c9[_0x4c6bf8];return _0x46d01c;},a17_0x4c6b(_0x330cc7,_0x23594f);}const {requireModule}=require(a17_0x4e5ee5(0x1f7)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x4e5ee5(0x1ee)),TestDetails=require(a17_0x4e5ee5(0x21e)),{patchConsoleLogger,debug}=require(a17_0x4e5ee5(0x224)),{o11yErrorHandler}=require(a17_0x4e5ee5(0x1f0)),{shouldProcessEventForTesthub}=require(a17_0x4e5ee5(0x20d)),testHubConstants=require('../../../helpers/testhub/constants'),exportsI=requireModule(a17_0x4e5ee5(0x1ed),a17_0x4e5ee5(0x1fe)),initInitialize=exportsI[a17_0x4e5ee5(0x1e6)];exportsI[a17_0x4e5ee5(0x1e6)]=(..._0x3a7af2)=>{const _0x24af1a=a17_0x4e5ee5,_0x29086d={'acxmA':function(_0x3665e3,_0x389868,_0x1edfcd){return _0x3665e3(_0x389868,_0x1edfcd);},'zKgHS':'jest-circus/build/utils.js','GYnvp':_0x24af1a(0x1fe),'ZnzNM':'hook_start','GIbPX':function(_0x485418,_0x4b928d){return _0x485418(_0x4b928d);},'fNXWc':'HookRunStarted','QwNxH':'hook_success','DAeRt':function(_0xc11999,_0x59d2a6){return _0xc11999(_0x59d2a6);},'MsCSa':'HookRunFinished','HAuTD':_0x24af1a(0x219),'WWhEn':_0x24af1a(0x1f4),'IHJTK':_0x24af1a(0x1f8),'owmli':'afterEach','cUfWN':function(_0x5b6ab9,_0x50e658){return _0x5b6ab9>_0x50e658;},'eMhAS':_0x24af1a(0x22c),'diGAk':function(_0x25a5ff){return _0x25a5ff();},'PwRbL':_0x24af1a(0x21b),'Mpwwv':_0x24af1a(0x22f),'KXsaX':function(_0x2fd100){return _0x2fd100();},'pfghp':_0x24af1a(0x1eb),'RJrJS':_0x24af1a(0x1e5),'QrOFR':_0x24af1a(0x20b),'kJYHI':function(_0x575a6e){return _0x575a6e();},'rHxqC':'jest-circus/build/state.js','gxbjr':_0x24af1a(0x205),'REomH':function(_0xa4345e,_0x57d4fc){return _0xa4345e(_0x57d4fc);},'JsHHA':function(_0x2753e5,..._0x5bd78d){return _0x2753e5(..._0x5bd78d);}};try{const _0x572aca=new ObservabilityReporter();_0x29086d[_0x24af1a(0x21a)](shouldProcessEventForTesthub)&&(_0x29086d[_0x24af1a(0x220)](patchConsoleLogger),_0x572aca[_0x24af1a(0x1e4)]()),_0x29086d['diGAk'](shouldProcessEventForTesthub)&&_0x29086d[_0x24af1a(0x216)](requireModule,_0x29086d[_0x24af1a(0x215)],_0x29086d[_0x24af1a(0x1f3)])['addEventHandler'](_0x29086d[_0x24af1a(0x216)](o11yErrorHandler,async(_0x1bc41a,_0x2e15b0)=>{const _0x49a2c4=_0x24af1a,_0x9562e0=_0x29086d[_0x49a2c4(0x216)](requireModule,_0x29086d[_0x49a2c4(0x225)],_0x29086d[_0x49a2c4(0x1f3)])[_0x49a2c4(0x21f)];switch(_0x1bc41a[_0x49a2c4(0x1ef)]){case _0x29086d[_0x49a2c4(0x227)]:if(_0x29086d['GIbPX'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookStarted'])){if(!_0x1bc41a['hook'][_0x49a2c4(0x229)]){const _0x303a43=TestDetails[_0x49a2c4(0x231)](process[_0x49a2c4(0x1e9)]+':hookAnalyticsId');_0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x229)]=_0x303a43;}else _0x1bc41a[_0x49a2c4(0x204)]['markedStatus']&&(_0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x229)]=TestDetails[_0x49a2c4(0x231)](process[_0x49a2c4(0x1e9)]+_0x49a2c4(0x208)),delete _0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x206)]);_0x1bc41a[_0x49a2c4(0x204)]['started_at']=new Date()[_0x49a2c4(0x1fc)](),await _0x572aca[_0x49a2c4(0x22a)](_0x1bc41a[_0x49a2c4(0x204)],undefined,![],_0x29086d[_0x49a2c4(0x22e)]);}break;case _0x29086d[_0x49a2c4(0x217)]:_0x29086d['DAeRt'](shouldProcessEventForTesthub,testHubConstants['EVENT']['HookFinished'])&&(await _0x572aca['sendTestRunEvent'](_0x1bc41a[_0x49a2c4(0x204)],undefined,![],_0x29086d[_0x49a2c4(0x201)]),TestDetails[_0x49a2c4(0x1ff)](process['pid']+_0x49a2c4(0x208)));break;case _0x29086d[_0x49a2c4(0x1f6)]:[_0x29086d[_0x49a2c4(0x1f2)],_0x29086d[_0x49a2c4(0x1e7)],_0x29086d['owmli']]['includes'](_0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x203)])&&(_0x572aca[_0x49a2c4(0x219)]=_0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x203)]),_0x2e15b0[_0x49a2c4(0x1ea)]&&_0x29086d[_0x49a2c4(0x202)](_0x2e15b0[_0x49a2c4(0x1ea)][_0x49a2c4(0x1f5)],0x0)&&(_0x1bc41a[_0x49a2c4(0x204)][_0x49a2c4(0x1fb)]=[_0x2e15b0['unhandledErrors'][0x0][0x0]]);_0x29086d[_0x49a2c4(0x1f1)](shouldProcessEventForTesthub,testHubConstants[_0x49a2c4(0x21c)][_0x49a2c4(0x22b)])&&(await _0x572aca['sendTestRunEvent'](_0x1bc41a[_0x49a2c4(0x204)],undefined,![],_0x29086d[_0x49a2c4(0x201)]),TestDetails[_0x49a2c4(0x1ff)](process['pid']+_0x49a2c4(0x208)));break;case _0x29086d['eMhAS']:_0x29086d[_0x49a2c4(0x220)](shouldProcessEventForTesthub)&&await _0x572aca[_0x49a2c4(0x200)](_0x1bc41a['test']);break;case _0x29086d[_0x49a2c4(0x1fa)]:_0x1bc41a[_0x49a2c4(0x1f9)]={..._0x29086d['DAeRt'](_0x9562e0,_0x1bc41a[_0x49a2c4(0x1f9)]),..._0x1bc41a[_0x49a2c4(0x1f9)]};_0x29086d['diGAk'](shouldProcessEventForTesthub)&&(!_0x1bc41a[_0x49a2c4(0x1f9)][_0x49a2c4(0x206)]&&(_0x1bc41a['test']['markedStatus']=!![],await _0x572aca['sendTestRunEvent'](_0x1bc41a[_0x49a2c4(0x1f9)])));break;case _0x29086d[_0x49a2c4(0x213)]:_0x1bc41a[_0x49a2c4(0x1f9)]={..._0x29086d[_0x49a2c4(0x1f1)](_0x9562e0,_0x1bc41a[_0x49a2c4(0x1f9)]),..._0x1bc41a[_0x49a2c4(0x1f9)]};_0x29086d['KXsaX'](shouldProcessEventForTesthub)&&(!_0x1bc41a[_0x49a2c4(0x1f9)]['markedStatus']&&(_0x1bc41a[_0x49a2c4(0x1f9)][_0x49a2c4(0x206)]=!![],await _0x572aca['sendTestRunEvent'](_0x1bc41a['test'],undefined,![],_0x29086d[_0x49a2c4(0x21d)])));break;case _0x29086d[_0x49a2c4(0x22d)]:_0x572aca[_0x49a2c4(0x219)]=null;break;case _0x29086d['QrOFR']:await RequestQueueHandler[_0x49a2c4(0x20a)]()[_0x49a2c4(0x222)](),process['removeAllListeners']();break;default:}},_0x29086d[_0x24af1a(0x1e8)]));}catch(_0xc216a){_0x29086d[_0x24af1a(0x20c)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0xc216a);}return _0x29086d[_0x24af1a(0x1fd)](initInitialize,..._0x3a7af2);};function a17_0x2632(){const _0x6c58f0=['26786wXxtAw','248fuVReK','1505592mGeWMV','3560459uhAijy','Mpwwv','904huKIYZ','rHxqC','acxmA','QwNxH','16523OAXxpu','hook_failure','kJYHI','test_done','EVENT','pfghp','../test-observability/test-details','makeSingleTestResult','diGAk','11490cxrYPE','shutdown','7191nIbNOF','../../../helpers/test-observability/utils','zKgHS','6lESLjH','ZnzNM','2710520JkGvUE','hookAnalyticsId','sendTestRunEvent','HookFinished','test_start','RJrJS','fNXWc','test_skip','6456NPqVbC','setTestUUID','26OAKzEk','registerListeners','run_describe_finish','initialize','IHJTK','gxbjr','pid','unhandledErrors','TestRunSkipped','keys','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','../../../helpers/test-observability/requestQueueHandler','name','../../../helpers/test-observability/error-handler','GIbPX','WWhEn','GYnvp','beforeAll','length','HAuTD','../../../helpers/helper','beforeEach','test','PwRbL','errorsDetailed','toISOString','JsHHA','jest-circus','removeTestUUID','testStarted','MsCSa','cUfWN','type','hook','EventHandler','markedStatus','10lzhijV',':hookAnalyticsId','forEach','getInstance','teardown','REomH','../../../helpers/testhub/utils','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20'];a17_0x2632=function(){return _0x6c58f0;};return a17_0x2632();}try{Object[a17_0x4e5ee5(0x1ec)](exportsI)[a17_0x4e5ee5(0x209)](_0x184cc1=>{const _0x25d83f=a17_0x4e5ee5,_0x526d5b={'ZnTNn':function(_0x4f41f3,_0x3d0925){return _0x4f41f3(_0x3d0925);}};try{exports&&(exports[_0x184cc1]=exportsI[_0x184cc1]);}catch(_0x4e540e){_0x526d5b['ZnTNn'](debug,_0x25d83f(0x20e)+_0x4e540e);}});}catch(a17_0xf370fa){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0xf370fa);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a18_0x3aca(){const _0x32e0a7=['71tjOnTO','618JvWpQb','15582zwcTUM','6870656CgiZSa','7YdyQCT','exports','includes','sort','map','filter','path','1980igpxsR','3716251bTAHXi','1908096vpOUVG','24382ndQIaE','39070mrcoFC','split','default','364xSkncZ','29355IfNFXU','@jest/test-sequencer','get','JEST_TEST_ORDER'];a18_0x3aca=function(){return _0x32e0a7;};return a18_0x3aca();}function a18_0x5707(_0x4671cd,_0x48688b){const _0x3aca9e=a18_0x3aca();return a18_0x5707=function(_0x57078d,_0x22d42a){_0x57078d=_0x57078d-0xaa;let _0x1b069f=_0x3aca9e[_0x57078d];return _0x1b069f;},a18_0x5707(_0x4671cd,_0x48688b);}const a18_0x447c46=a18_0x5707;(function(_0x5437d6,_0x576c97){const _0x722eeb=a18_0x5707,_0x387646=_0x5437d6();while(!![]){try{const _0x18bd19=parseInt(_0x722eeb(0xb7))/0x1*(parseInt(_0x722eeb(0xae))/0x2)+parseInt(_0x722eeb(0xb9))/0x3*(-parseInt(_0x722eeb(0xb2))/0x4)+-parseInt(_0x722eeb(0xb3))/0x5*(-parseInt(_0x722eeb(0xb8))/0x6)+-parseInt(_0x722eeb(0xbb))/0x7*(-parseInt(_0x722eeb(0xba))/0x8)+parseInt(_0x722eeb(0xab))/0x9*(-parseInt(_0x722eeb(0xaf))/0xa)+-parseInt(_0x722eeb(0xac))/0xb+-parseInt(_0x722eeb(0xad))/0xc;if(_0x18bd19===_0x576c97)break;else _0x387646['push'](_0x387646['shift']());}catch(_0x13875f){_0x387646['push'](_0x387646['shift']());}}}(a18_0x3aca,0x7a15f));const Sequencer=require(a18_0x447c46(0xb4))[a18_0x447c46(0xb1)];class CustomSequencer extends Sequencer{[a18_0x447c46(0xbe)](_0x430bd7){const _0x2b253c=a18_0x447c46,_0xddeaee=process['env'][_0x2b253c(0xb6)];if(!_0xddeaee)return _0x430bd7;const _0x5077e2=_0xddeaee[_0x2b253c(0xb0)](','),_0x197349=new Map(_0x430bd7[_0x2b253c(0xc0)](_0x2ff117=>_0x5077e2[_0x2b253c(0xbd)](_0x2ff117[_0x2b253c(0xaa)]))[_0x2b253c(0xbf)](_0x2f983b=>[_0x2f983b['path'],_0x2f983b]));return _0x5077e2[_0x2b253c(0xbf)](_0x243e46=>_0x197349[_0x2b253c(0xb5)](_0x243e46))['filter'](Boolean);}}module[a18_0x447c46(0xbc)]=CustomSequencer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const a19_0x17a15f=a19_0x56f8;function a19_0x56f8(_0x16fd5c,_0x561bd6){const _0x534165=a19_0x5341();return a19_0x56f8=function(_0x56f845,_0x345708){_0x56f845=_0x56f845-0x6c;let _0x1ce3a2=_0x534165[_0x56f845];return _0x1ce3a2;},a19_0x56f8(_0x16fd5c,_0x561bd6);}(function(_0x4c95a5,_0x1af618){const _0x5782f2=a19_0x56f8,_0x264cd8=_0x4c95a5();while(!![]){try{const _0x1687af=-parseInt(_0x5782f2(0x7d))/0x1*(-parseInt(_0x5782f2(0x88))/0x2)+-parseInt(_0x5782f2(0x82))/0x3*(-parseInt(_0x5782f2(0x8a))/0x4)+parseInt(_0x5782f2(0x79))/0x5+parseInt(_0x5782f2(0x6c))/0x6*(parseInt(_0x5782f2(0x71))/0x7)+-parseInt(_0x5782f2(0x70))/0x8*(parseInt(_0x5782f2(0x72))/0x9)+-parseInt(_0x5782f2(0x77))/0xa+parseInt(_0x5782f2(0x85))/0xb;if(_0x1687af===_0x1af618)break;else _0x264cd8['push'](_0x264cd8['shift']());}catch(_0x10421e){_0x264cd8['push'](_0x264cd8['shift']());}}}(a19_0x5341,0xe20ed));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0x232748={};a19_0x232748[a19_0x17a15f(0x78)]=!![],Object[a19_0x17a15f(0x89)](exports,'__esModule',a19_0x232748),exports[a19_0x17a15f(0x73)]=void 0x0;function a19_0x5341(){const _0x20973f=['JVkdc','slice','1766484axzcjn','HBsve','capabilities','false','416LiMToQ','7ABhtNM','60345NjJaKl','default','runTests','length','YMUMs','15651190ZnUCbV','value','8289475ItThQD','forEach','push','serial__','1qBAvEW','context','testEnvironmentOptions','serial','Ldtcj','9jlzqdk','exports','jest-runner','4363293BDkEPI','_globalConfig','freeze','559374xOCpUQ','defineProperty','281404AfisTd'];a19_0x5341=function(){return _0x20973f;};return a19_0x5341();}function _interopRequireDefault(_0x358825){return _0x358825&&_0x358825['__esModule']?_0x358825:{'default':_0x358825};}const JestRunner=_interopRequireDefault(requireModule(a19_0x17a15f(0x84)))[a19_0x17a15f(0x73)];class TestRunner extends JestRunner{constructor(..._0x288a43){super(..._0x288a43);}[a19_0x17a15f(0x74)](..._0x8ea33a){const _0x5f014a=a19_0x17a15f,_0x1f6587={'YMUMs':function(_0x1b4c76){return _0x1b4c76();},'LfOQT':function(_0x372201,_0x1e6916){return _0x372201-_0x1e6916;},'FRBCp':function(_0x42ead0,_0x399154){return _0x42ead0*_0x399154;},'JVkdc':function(_0x286fb8,_0x196e0d){return _0x286fb8===_0x196e0d;},'HBsve':_0x5f014a(0x6f),'Ldtcj':function(_0x5c774d,_0xacb304){return _0x5c774d<_0xacb304;}};if(!_0x1f6587[_0x5f014a(0x76)](isBrowserstackInfra))return super[_0x5f014a(0x74)](..._0x8ea33a);const _0x49c122=_0x8ea33a[0x0],_0x4c79e5=_0x8ea33a[_0x1f6587['LfOQT'](_0x8ea33a[_0x5f014a(0x75)],0x1)],_0x1cd1e3=_0x49c122[0x0][_0x5f014a(0x7e)]['config'][_0x5f014a(0x7f)][_0x5f014a(0x6e)],_0x444391=_0x49c122[0x0][_0x5f014a(0x7e)]['config']['testEnvironmentOptions']['parallels__'];_0x444391&&(this['_globalConfig']=Object[_0x5f014a(0x87)]({...this[_0x5f014a(0x86)],'maxWorkers':_0x1f6587['FRBCp'](_0x444391,_0x1cd1e3[_0x5f014a(0x75)])}));_0x1f6587[_0x5f014a(0x8b)](_0x49c122[0x0]['context']['config'][_0x5f014a(0x7f)][_0x5f014a(0x7c)],_0x1f6587[_0x5f014a(0x6d)])&&(_0x4c79e5&&(_0x4c79e5[_0x5f014a(0x80)]=![]));const _0x58fbbe=[];for(let _0x24fade=0x0;_0x1f6587[_0x5f014a(0x81)](_0x24fade,_0x49c122[_0x5f014a(0x75)]);_0x24fade++){const _0x3f8656=[];_0x1cd1e3[_0x5f014a(0x7a)]((_0x29ba86,_0x8899f4)=>{const _0x15634f=_0x5f014a,_0x3bea94={..._0x49c122[_0x24fade]},_0x25fb01=_0x3bea94;_0x25fb01[_0x15634f(0x7e)]=Object[_0x15634f(0x87)]({..._0x25fb01['context'],'config':{..._0x25fb01[_0x15634f(0x7e)]['config'],'capability':_0x29ba86,'browserstackPlatformIndex':_0x8899f4}}),_0x3f8656[_0x15634f(0x7b)](_0x25fb01);}),_0x58fbbe[_0x5f014a(0x7b)](..._0x3f8656);}return super[_0x5f014a(0x74)](_0x58fbbe,..._0x8ea33a[_0x5f014a(0x8c)](0x1));}}module[a19_0x17a15f(0x83)]=TestRunner;
|