browserstack-node-sdk 1.49.8 → 1.49.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/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 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/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/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/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/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/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
|
-
|
|
1
|
+
const a10_0x27ad45=a10_0x1aa0;(function(_0x4ac50d,_0x31e0a2){const _0x5276c6=a10_0x1aa0,_0x550e69=_0x4ac50d();while(!![]){try{const _0x2d282e=parseInt(_0x5276c6(0x9f))/0x1+-parseInt(_0x5276c6(0xa1))/0x2+parseInt(_0x5276c6(0xb8))/0x3*(-parseInt(_0x5276c6(0xc4))/0x4)+-parseInt(_0x5276c6(0xac))/0x5+-parseInt(_0x5276c6(0xa7))/0x6+-parseInt(_0x5276c6(0xa5))/0x7+parseInt(_0x5276c6(0x9d))/0x8;if(_0x2d282e===_0x31e0a2)break;else _0x550e69['push'](_0x550e69['shift']());}catch(_0x55ca86){_0x550e69['push'](_0x550e69['shift']());}}}(a10_0x29b6,0x1bf21));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x27ad45(0xbf)),setKeepAlive=require(a10_0x27ad45(0x9c)),cucumberModule=requireModule(a10_0x27ad45(0xc7),a10_0x27ad45(0xb5)),logger=require('../../helpers/logger')[a10_0x27ad45(0xc3)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a10_0x27ad45(0xb7)],After=cucumberModule[a10_0x27ad45(0xaf)],configuration=process[a10_0x27ad45(0xb4)]['CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a10_0x27ad45(0xa4)])&&(global[a10_0x27ad45(0xcb)]=!![]),global[a10_0x27ad45(0xa3)]=isTrue(config['skipSessionStatus']),require(a10_0x27ad45(0xc8))['browserstackAgentV2'](config),global[a10_0x27ad45(0xb1)]=config[a10_0x27ad45(0xc9)]||{};}global[a10_0x27ad45(0x9e)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x27ad45(0xcd)];cucumberModule['setDefaultTimeout']=_0x11ef6b=>{const _0x32c72f=a10_0x27ad45,_0x56717e={'sHDDb':function(_0x2c76aa,_0x36d0cb){return _0x2c76aa(_0x36d0cb);}};global[_0x32c72f(0x9e)]=_0x11ef6b,_0x56717e[_0x32c72f(0xbe)](__setDefaultTimeout,_0x11ef6b);};const a10_0xd4a36={};a10_0xd4a36['name']=a10_0x27ad45(0xa9),Before(a10_0xd4a36,function(){const _0x487163=a10_0x27ad45,_0x19f32d={};_0x19f32d[_0x487163(0xae)]='Inside\x20browserstack\x20Before';const _0xcec7e4=_0x19f32d;logger[_0x487163(0xd0)](_0xcec7e4['JZQDx']),global[_0x487163(0xbc)]=[];});function a10_0x29b6(){const _0x28ec38=['join','__error_messages__','dBSlO','sHDDb','../../helpers/helper','failed','initQuit','jzTuQ','winstonLogger','48illwgG','toLowerCase','status','cucumber/lib/index.js','../../index','platformCaps','result','__skipSessionName','Error:\x20setting\x20status\x20at\x20After:\x20','setDefaultTimeout','MLRqC','__driver','debug','../../helpers/setKeepAlive','3749856AECMlC','__timeout','30665ynQqJY','Error:\x20quiting\x20at\x20After:\x20','277912ACrQLv','timeout','__skipSessionStatus','skipSessionName','532735pnEPQE','nudhX','353484aVkaRn','BXjBM','bstack','Inside\x20browserstack\x20After','pickle','425665YmSyaY','\x20|\x20','JZQDx','After','session_','__platformCaps','QHkuJ','executeScript','env','cucumber','FpNbD','Before','6456IEbOnW','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','name'];a10_0x29b6=function(){return _0x28ec38;};return a10_0x29b6();}const a10_0x3fa5f0={};function a10_0x1aa0(_0xb0be3c,_0x11efaf){const _0x29b601=a10_0x29b6();return a10_0x1aa0=function(_0x1aa06d,_0x269009){_0x1aa06d=_0x1aa06d-0x9c;let _0x4424bf=_0x29b601[_0x1aa06d];return _0x4424bf;},a10_0x1aa0(_0xb0be3c,_0x11efaf);}a10_0x3fa5f0[a10_0x27ad45(0xba)]='bstack',a10_0x3fa5f0[a10_0x27ad45(0xa2)]=0x2710,After(a10_0x3fa5f0,function(_0x435600,_0x10383e){const _0x4eda33=a10_0x27ad45,_0x32d819={'dBSlO':function(_0x407718,_0x2da891){return _0x407718===_0x2da891;},'nudhX':_0x4eda33(0xc0),'QHkuJ':function(_0x33cacc,_0xb60a72,_0x242cdc,_0x37e590){return _0x33cacc(_0xb60a72,_0x242cdc,_0x37e590);},'EJcNx':_0x4eda33(0xad),'FpNbD':function(_0x400c21,_0x4ce16a,_0x52083e){return _0x400c21(_0x4ce16a,_0x52083e);},'jzTuQ':'passed','jfDVr':function(_0x30d231){return _0x30d231();},'jBpJV':function(_0x14fe32,_0xdbba1b){return _0x14fe32(_0xdbba1b);},'BXjBM':function(_0x59e920){return _0x59e920();},'MLRqC':_0x4eda33(0xaa)};logger['debug'](_0x32d819[_0x4eda33(0xce)]),new Promise(async(_0xd47bd4,_0x58a7bb)=>{const _0x4ddfd9=_0x4eda33;let _0x5437d1=![];try{await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xb0)],_0x5437d1=!![],!global['__skipSessionName']&&await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xb3)](_0x4ddfd9(0xb9)+_0x435600[_0x4ddfd9(0xab)]['name']+'\x22}}'),_0x32d819[_0x4ddfd9(0xbd)](_0x435600[_0x4ddfd9(0xca)][_0x4ddfd9(0xc6)][_0x4ddfd9(0xc5)](),_0x32d819['nudhX'])?await _0x32d819[_0x4ddfd9(0xb2)](markSessionStatus,global[_0x4ddfd9(0xcf)],_0x32d819[_0x4ddfd9(0xa6)],global[_0x4ddfd9(0xbc)][_0x4ddfd9(0xbb)](_0x32d819['EJcNx'])):await _0x32d819[_0x4ddfd9(0xb6)](markSessionStatus,global[_0x4ddfd9(0xcf)],_0x32d819[_0x4ddfd9(0xc2)]);}catch(_0x5a4dc7){logger[_0x4ddfd9(0xd0)](_0x4ddfd9(0xcc)+_0x5a4dc7);}if(_0x5437d1)try{await global[_0x4ddfd9(0xcf)][_0x4ddfd9(0xc1)](),_0x32d819['jfDVr'](_0xd47bd4);}catch(_0x23e9f6){logger[_0x4ddfd9(0xd0)](_0x4ddfd9(0xa0)+_0x23e9f6),_0x32d819['jBpJV'](_0x58a7bb,_0x23e9f6);}else _0x32d819[_0x4ddfd9(0xa8)](_0x58a7bb);})['then'](()=>_0x10383e());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11_0x21f9(_0x4cd417,_0x57c251){const _0x484715=a11_0x4847();return a11_0x21f9=function(_0x21f9ab,_0x4b5430){_0x21f9ab=_0x21f9ab-0xc3;let _0x66769b=_0x484715[_0x21f9ab];return _0x66769b;},a11_0x21f9(_0x4cd417,_0x57c251);}const a11_0x5839f2=a11_0x21f9;(function(_0x3879c6,_0x841aa0){const _0x12a181=a11_0x21f9,_0x369498=_0x3879c6();while(!![]){try{const _0x3b9699=parseInt(_0x12a181(0xd2))/0x1*(parseInt(_0x12a181(0xcc))/0x2)+-parseInt(_0x12a181(0xce))/0x3+-parseInt(_0x12a181(0xcf))/0x4*(parseInt(_0x12a181(0xd0))/0x5)+parseInt(_0x12a181(0xd3))/0x6+-parseInt(_0x12a181(0xcb))/0x7*(-parseInt(_0x12a181(0xc8))/0x8)+-parseInt(_0x12a181(0xc5))/0x9+parseInt(_0x12a181(0xd1))/0xa*(parseInt(_0x12a181(0xd4))/0xb);if(_0x3b9699===_0x841aa0)break;else _0x369498['push'](_0x369498['shift']());}catch(_0x15d9f9){_0x369498['push'](_0x369498['shift']());}}}(a11_0x4847,0x7c746));const {requireModule}=require(a11_0x5839f2(0xc9)),constants=require(a11_0x5839f2(0xc7));;function a11_0x4847(){const _0x2ca70a=['BSTACK_DELTA','setDefaultTimeout','cucumber','6185628aOTKHi','cucumber/lib/index.js','../utils/constants','536etWvqY','../../helpers/helper','@cucumber/cucumber/lib/index.js','27867SDUgrj','1003082QAVzqx','__timeout','513234KzEKAJ','2127748QygeMZ','5jWqeHd','10QyIFWF','1HqzbBL','1206840LwQATB','10237315ZHpKSU'];a11_0x4847=function(){return _0x2ca70a;};return a11_0x4847();}let cucumberModule=null;try{cucumberModule=requireModule(a11_0x5839f2(0xca),'@cucumber/cucumber');}catch(a11_0x314aff){cucumberModule=requireModule(a11_0x5839f2(0xc6),a11_0x5839f2(0xc4));}cucumberModule[a11_0x5839f2(0xc3)](constants[a11_0x5839f2(0xd5)]+global[a11_0x5839f2(0xcd)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x48ec46=a12_0x5071;function a12_0x5071(_0x53fb3f,_0x3dbdcb){const _0x9a90ff=a12_0x9a90();return a12_0x5071=function(_0x5071ae,_0x2e641e){_0x5071ae=_0x5071ae-0xaf;let _0x2a6532=_0x9a90ff[_0x5071ae];return _0x2a6532;},a12_0x5071(_0x53fb3f,_0x3dbdcb);}(function(_0x557e63,_0x1b1dbf){const _0x505448=a12_0x5071,_0x2fc8a2=_0x557e63();while(!![]){try{const _0x452a84=-parseInt(_0x505448(0xc6))/0x1+parseInt(_0x505448(0xd9))/0x2+parseInt(_0x505448(0xd5))/0x3+parseInt(_0x505448(0xc7))/0x4*(-parseInt(_0x505448(0xed))/0x5)+parseInt(_0x505448(0xc3))/0x6+-parseInt(_0x505448(0xd4))/0x7+-parseInt(_0x505448(0xe5))/0x8*(-parseInt(_0x505448(0xdb))/0x9);if(_0x452a84===_0x1b1dbf)break;else _0x2fc8a2['push'](_0x2fc8a2['shift']());}catch(_0x462f9a){_0x2fc8a2['push'](_0x2fc8a2['shift']());}}}(a12_0x9a90,0xab335));function a12_0x9a90(){const _0x4f6853=['bstackAccesskey','browserstackLocal','../../helpers/helper','tHGHz','winstonLogger','epilogue','5oGSxlz','only','443','accessKey','BrowserStack\x20access\x20key\x20missing.','info','demandCommand','https:','type','Hosts\x20not\x20valid','setupBrowserstackLocal','toString','eTlji','bstack-accesskey','join','exports','hosts','TPMEv','invalid','map','bstackAccessKey','https','Integration\x20hosts\x20missing.','root','trim','Failed\x20to\x20establish\x20connection.','integrations','IYOMJ','footer','toPdW','localIdentifier','907782FWoUnV','url','config','1206490ekbxQj','4189516XubGFa','port','setProxySettings','hostname','replace','split','WAPXv','connect','command','integrations-repeater','help','./constants','QbPoX','4178216OuZUUj','2438013LkmUvA','every','describe','ETIHz','1581590ikZUFT','options','1773mPjhne','uHROY','ZJRcN','string','error','fjQLR','protocol','GPcSs','missing','browserStackLocalOptions','72984rKBSFj','demandOption'];a12_0x9a90=function(){return _0x4f6853;};return a12_0x9a90();}const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require('../../helpers/logger')[a12_0x48ec46(0xeb)],{URL}=require(a12_0x48ec46(0xc4)),helper=require(a12_0x48ec46(0xe9)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x48ec46(0xd2)),validHosts=function(_0x1729a9){const _0x41dcc0=a12_0x48ec46;return _0x1729a9[_0x41dcc0(0xcc)](',')[_0x41dcc0(0xd6)](_0x30880b=>{const _0x2acd36=_0x41dcc0;try{new URL(_0x30880b[_0x2acd36(0xbc)]());}catch(_0x525955){return![];}return!![];});},parseOnPremHosts=function(_0x108d1e){const _0x239bdc=a12_0x48ec46,_0x555e62={};_0x555e62[_0x239bdc(0xb5)]=function(_0x4e07b7,_0x17a935){return _0x4e07b7===_0x17a935;},_0x555e62[_0x239bdc(0xcd)]=_0x239bdc(0xf4),_0x555e62[_0x239bdc(0xe0)]=_0x239bdc(0xef),_0x555e62['tlnFe']=_0x239bdc(0xb9);const _0x4dbcc2=_0x555e62;return _0x108d1e[_0x239bdc(0xcc)](',')[_0x239bdc(0xb7)](_0x2d8f77=>{const _0x1d838b=_0x239bdc,_0x24c9d2=new URL(_0x2d8f77[_0x1d838b(0xbc)]()),_0x395499=_0x24c9d2[_0x1d838b(0xca)],_0x2b4c27=_0x24c9d2[_0x1d838b(0xc8)]||(_0x4dbcc2[_0x1d838b(0xb5)](_0x24c9d2[_0x1d838b(0xe1)],_0x4dbcc2['WAPXv'])?_0x4dbcc2[_0x1d838b(0xe0)]:'80'),_0x3348d0=_0x24c9d2[_0x1d838b(0xe1)][_0x1d838b(0xcb)](':',''),_0x2cf67d=_0x4dbcc2['TPMEv'](_0x3348d0,_0x4dbcc2['tlnFe'])?0x1:0x0;return _0x395499+','+_0x2b4c27+','+_0x2cf67d;});},connectCommandBuilder=function(_0x59dace){const _0x4d160a=a12_0x48ec46,_0x39c129={};_0x39c129[_0x4d160a(0xea)]=_0x4d160a(0xde);const _0x3257ee=_0x39c129,_0x392aa6={};_0x392aa6[_0x4d160a(0xd7)]=HELP_MESSAGES[_0x4d160a(0xda)][_0x4d160a(0xb8)],_0x392aa6[_0x4d160a(0xf5)]=_0x3257ee['tHGHz'];const _0x29581b={};_0x29581b[_0x4d160a(0xd7)]=HELP_MESSAGES['options'][_0x4d160a(0xb4)],_0x29581b[_0x4d160a(0xf5)]=_0x3257ee[_0x4d160a(0xea)],_0x29581b[_0x4d160a(0xe6)]=!![];const _0x104441={};return _0x104441[_0x4d160a(0xb1)]=_0x392aa6,_0x104441['hosts']=_0x29581b,_0x59dace[_0x4d160a(0xda)](_0x104441);},connectCommandHandler=async function(_0x2605a7){const _0x5e87fd=a12_0x48ec46,_0x3fb183={'ogISj':_0x5e87fd(0xbe),'FsOvl':function(_0x57c8ef,_0xd5c371){return _0x57c8ef===_0xd5c371;},'GPcSs':'undefined','BabCH':_0x5e87fd(0xf1),'QbPoX':_0x5e87fd(0xba),'uHROY':function(_0x33e9c0,_0x2e0696){return _0x33e9c0(_0x2e0696);},'toPdW':_0x5e87fd(0xf6),'ETIHz':function(_0x365249,_0x3b8485){return _0x365249(_0x3b8485);},'DLYQK':_0x5e87fd(0xd0),'IYOMJ':'Connection\x20established\x20successfully.','ZJRcN':_0x5e87fd(0xbd)};try{const _0x17abdd=new BrowserStackSetup(_0x2605a7,_0x3fb183['ogISj']);_0x2605a7[_0x5e87fd(0xe7)]&&(_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xf0)]=_0x2605a7[_0x5e87fd(0xe7)]);if(_0x3fb183['FsOvl'](typeof _0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xf0)],_0x3fb183[_0x5e87fd(0xe2)])){logger[_0x5e87fd(0xdf)](_0x3fb183['BabCH']);throw new Error(ERROR_MESSAGES['bstackAccessKey']['missing']);}const _0xc0c9a3=_0x2605a7[_0x5e87fd(0xb4)];if(_0x3fb183['FsOvl'](typeof _0xc0c9a3,_0x3fb183[_0x5e87fd(0xe2)])){logger['error'](_0x3fb183[_0x5e87fd(0xd3)]);throw new Error(ERROR_MESSAGES[_0x5e87fd(0xb4)][_0x5e87fd(0xe3)]);}if(!_0x3fb183[_0x5e87fd(0xdc)](validHosts,_0xc0c9a3)){logger[_0x5e87fd(0xdf)](_0x3fb183[_0x5e87fd(0xc1)]);throw new Error(ERROR_MESSAGES['hosts'][_0x5e87fd(0xb6)]);}const _0xc1fbe5=_0x3fb183[_0x5e87fd(0xd8)](parseOnPremHosts,_0xc0c9a3);_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xe8)]=!![],_0x17abdd[_0x5e87fd(0xc5)][_0x5e87fd(0xe4)][_0x5e87fd(0xc2)]=_0x3fb183['DLYQK'],_0x17abdd['config'][_0x5e87fd(0xe4)][_0x5e87fd(0xee)]=_0xc1fbe5[_0x5e87fd(0xb2)](','),helper[_0x5e87fd(0xc9)](_0x17abdd[_0x5e87fd(0xc5)]),await _0x17abdd[_0x5e87fd(0xf7)](),logger[_0x5e87fd(0xf2)](_0x3fb183[_0x5e87fd(0xbf)]);}catch(_0x5c8146){logger[_0x5e87fd(0xdf)](_0x3fb183[_0x5e87fd(0xdd)]);throw new Error(_0x5c8146[_0x5e87fd(0xaf)]());}};function run(_0xfdffab){const _0x1a2f86=a12_0x48ec46,_0x5698b4={};_0x5698b4[_0x1a2f86(0xb0)]='connect',_0x5698b4['NFKAv']=_0x1a2f86(0xd1);const _0x55a4b7=_0x5698b4;_0xfdffab['usage'](HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xbb)])['command'](_0x55a4b7['eTlji'],HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xce)],connectCommandBuilder,connectCommandHandler)[_0x1a2f86(0xf3)]()[_0x1a2f86(0xd1)](_0x55a4b7['NFKAv'])[_0x1a2f86(0xec)](HELP_MESSAGES[_0x1a2f86(0xcf)][_0x1a2f86(0xc0)]);}module[a12_0x48ec46(0xb3)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x3f7a4c=a13_0x18c8;(function(_0x1fa524,_0x392088){var _0x3d8cc8=a13_0x18c8,_0x320f12=_0x1fa524();while(!![]){try{var _0x4c0e0e=parseInt(_0x3d8cc8(0x206))/0x1+parseInt(_0x3d8cc8(0x207))/0x2+-parseInt(_0x3d8cc8(0x1f3))/0x3*(parseInt(_0x3d8cc8(0x1f2))/0x4)+parseInt(_0x3d8cc8(0x20a))/0x5+-parseInt(_0x3d8cc8(0x205))/0x6+-parseInt(_0x3d8cc8(0x1f6))/0x7*(parseInt(_0x3d8cc8(0x20b))/0x8)+-parseInt(_0x3d8cc8(0x1f8))/0x9*(parseInt(_0x3d8cc8(0x1f4))/0xa);if(_0x4c0e0e===_0x392088)break;else _0x320f12['push'](_0x320f12['shift']());}catch(_0x98812a){_0x320f12['push'](_0x320f12['shift']());}}}(a13_0x1d09,0xc9e90));var a13_0x497bfd={};a13_0x497bfd['bstackAccessKey']='Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.',a13_0x497bfd[a13_0x3f7a4c(0x209)]=a13_0x3f7a4c(0x1ff);var a13_0x1604b6={};a13_0x1604b6['root']=a13_0x3f7a4c(0x208),a13_0x1604b6[a13_0x3f7a4c(0x1f5)]=a13_0x3f7a4c(0x1fd),a13_0x1604b6[a13_0x3f7a4c(0x1f7)]=a13_0x3f7a4c(0x1fe);var a13_0x1e4a11={};a13_0x1e4a11[a13_0x3f7a4c(0x204)]=a13_0x497bfd,a13_0x1e4a11[a13_0x3f7a4c(0x1fc)]=a13_0x1604b6,exports[a13_0x3f7a4c(0x1f9)]=a13_0x1e4a11;var a13_0x294d24={};a13_0x294d24[a13_0x3f7a4c(0x1fb)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';function a13_0x1d09(){var _0x107439=['7431qDhbqG','10nHSQYk','connect','2922262YOKxSd','footer','8450586KoMUGI','HELP_MESSAGES','invalid','missing','command','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','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.','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.','bstackAccessKey','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','ERROR_MESSAGES','options','7261356ZJeSNU','1025255PscURR','2459878kswMbf','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','hosts','7804480AVMjAa','16YSBlKo','8LehvdY'];a13_0x1d09=function(){return _0x107439;};return a13_0x1d09();}function a13_0x18c8(_0x52cc02,_0x2d438c){var _0x1d097d=a13_0x1d09();return a13_0x18c8=function(_0x18c89b,_0x4a61b4){_0x18c89b=_0x18c89b-0x1f2;var _0x2bb365=_0x1d097d[_0x18c89b];return _0x2bb365;},a13_0x18c8(_0x52cc02,_0x2d438c);}var a13_0x3d7ec5={};a13_0x3d7ec5[a13_0x3f7a4c(0x1fb)]=a13_0x3f7a4c(0x202),a13_0x3d7ec5[a13_0x3f7a4c(0x1fa)]=a13_0x3f7a4c(0x200);var a13_0x30bf68={};a13_0x30bf68[a13_0x3f7a4c(0x201)]=a13_0x294d24,a13_0x30bf68[a13_0x3f7a4c(0x209)]=a13_0x3d7ec5,exports[a13_0x3f7a4c(0x203)]=a13_0x30bf68;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0xae9c2e=a14_0x50b2;function a14_0x28a5(){const _0x339110=['aLTpb','maxWorkers','test-observability','BSTACK_JEST_TEST_ENV','browserStackLogLevel','platform','setupTCGAuth','HuCSF','runInBand','20LcOilE','rBozE','../../helpers/utilities','isRunning','gFMTl','cwd','4054875avMaUB','BfqjS','../../helpers/logger','isNotUndefined','testTimeout','USER_CONFIG_DETAILS_PATH','../utils/clientTroubleshootingService','XmbyR','retryTestsOnFailure','../../helpers/testhub/utils','accessibilityOptions','uZWmL','config','../../helpers/performance/performance-tester','playwright',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','child_process','./test-observability/test-details','Pcbzc','xSFjO','../../helpers/test-observability/utils','parseTestOrchestrationOptions','\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','skipSessionStatus','filterBrowserstackArgs','QJgpd','kOfOo','YnVyI','RFHTT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','customTestRunnerTemplate.js','EdhHh','join','setup','\x20:\x20','exports','getErrorMessageFromResults','error\x20removing\x20tcg\x20config\x20file','skipSessionName','570hqqdDj','testObservability','isBrowserstackInfra','22312sAatbj','znaFg','FRAMEWORKS','getPackageType','winstonLogger','serial__','end','turboScaleUrl','platformCaps','customSequencer.js','PZnNH','1435562sLKvdo','capabilities','requireSeleniumWebdriver','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','zmEmQ','NlkDW','default','requireModule','cNYDC','close','cblTl','JEcIK','package.json','cjs','length','SDK_CLEANUP','vwvpw','zwbdM','../../helpers/percy/utils','splice','customTestRunner.js','BROWSERSTACK_CAPABILITIES','win32','../utils/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','getInstance','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','const\x20config=','parallelsPerPlatform','Deleted\x20fail-fast\x20state\x20folder:\x20','jest-config/build/readConfigFileAndSetRootDir.js','parse','shouldProcessEventForTesthub','\x20with\x20browserstack\x20jest\x20configs','kQrpu','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','setupFilesAfterEnv','setupFiles','isEmpty','46844iqNlqE','yaVdA','\x0amodule.exports\x20=\x20config;','Getting\x20your\x20jest\x20configs\x20from\x20','jnPtL','BROWSERSTACK_TEST_OBSERVABILITY_YML','customEnvironment.js','path','../../helpers/performance/constants','\x20test\x20files\x20to\x20run.','errorMessage','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','initialize','jest-circus','PACKAGE_TYPE','printBuildLink','testEnvironment','debug','failFast','readFileSync','../../helpers/testhub/testhubHandler','writeFileSync','jest.setup.js','jest','yuqxY','iEGGF','../../helpers/accessibility-automation/helper','xYDIJ','183sJCZRX','6487281PHMXFg','393658JwZBCr','getPackageVersion','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','maxRetries','prepareCapabilities','KmsuW','BROWSERSTACK_TEST_ACCESSIBILITY_YML','existsSync','accessibility','util','abortBuildOnFailure','MODULE','format','force','BBmeY','runner','../v2/browserstackCLI','requirePWModule','shutdown','reporters','findTestFiles','Reodered\x20Test\x20Files:\x20','testContextOptions','TJqOQ','log','mjs','testSequencer','proxySettings','__isPlaywrightInstalled','../../helpers/BrowserStackSetup','CQWyC','HzfXA','data-hooks.js','stop','UALTE','jest-config','UkklD','false','customImplements','assign','jest.config.','test.setup.js','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','inherit','jest_browserstack.config.cjs','DLERX','JEST','isUndefined','failureThresholdCount','unlinkSync','json','workingDir','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','../../helpers/playwright-helper','isTestOrchestrationEnabled','stringify','JEST_TEST_ORDER','Deleting\x20','osabX','apply','info','Getting\x20your\x20jest\x20configs\x20from\x20package.json','Unable\x20to\x20find\x20jest-circus,\x20','testEnvironmentOptions','rmSync','reorderTestFiles','launchBuild','browserStackPercyOptions','platforms','--config','bwYHq','slice','ebJey','timeout__','XrOCV','parallels__','push','../../helpers/test-observability/constants','Error\x20while\x20parsing\x20','4542864XwqlDk','./test-observability/helper','test_before.setup.js','Creating\x20','retries__','useW3C','env','LEgLU','resolve','SDK_SETUP'];a14_0x28a5=function(){return _0x339110;};return a14_0x28a5();}function a14_0x50b2(_0x38ab55,_0x23f8ec){const _0x28a563=a14_0x28a5();return a14_0x50b2=function(_0x50b200,_0xdc4644){_0x50b200=_0x50b200-0xe2;let _0x666b78=_0x28a563[_0x50b200];return _0x666b78;},a14_0x50b2(_0x38ab55,_0x23f8ec);}(function(_0x681cf3,_0x159704){const _0x4f5876=a14_0x50b2,_0xb5bc63=_0x681cf3();while(!![]){try{const _0x541e8c=parseInt(_0x4f5876(0x10d))/0x1+-parseInt(_0x4f5876(0x1aa))/0x2+parseInt(_0x4f5876(0x10b))/0x3*(parseInt(_0x4f5876(0x19f))/0x4)+parseInt(_0x4f5876(0x175))/0x5+-parseInt(_0x4f5876(0x19c))/0x6*(-parseInt(_0x4f5876(0xef))/0x7)+parseInt(_0x4f5876(0x15c))/0x8+-parseInt(_0x4f5876(0x10c))/0x9*(parseInt(_0x4f5876(0x16f))/0xa);if(_0x541e8c===_0x159704)break;else _0xb5bc63['push'](_0xb5bc63['shift']());}catch(_0x4c8ab3){_0xb5bc63['push'](_0xb5bc63['shift']());}}}(a14_0x28a5,0x8fd22));const fs=require('fs'),path=require(a14_0xae9c2e(0xf6)),util=require(a14_0xae9c2e(0x116)),{spawn}=require(a14_0xae9c2e(0x185)),logger=require(a14_0xae9c2e(0x177))[a14_0xae9c2e(0x1a3)],{default:BrowserStackSetup}=require(a14_0xae9c2e(0x12a)),helper=require('../../helpers/helper'),utilities=require(a14_0xae9c2e(0x171)),constants=require(a14_0xae9c2e(0x1c1)),accessibilityHelper=require(a14_0xae9c2e(0x109)),{updateTestRerunConfig}=require(a14_0xae9c2e(0x15d)),testOpsHelper=require(a14_0xae9c2e(0x189)),{debug}=require(a14_0xae9c2e(0x189)),TestDetails=require(a14_0xae9c2e(0x186)),{getPercyOptions}=require(a14_0xae9c2e(0x1bc)),TestHubHandler=require(a14_0xae9c2e(0x103)),testhubUtils=require(a14_0xae9c2e(0x17e)),{FRAMEWORKS}=require(a14_0xae9c2e(0x15a)),PerformanceTester=require(a14_0xae9c2e(0x182)),PerformanceEvents=require(a14_0xae9c2e(0xf7))['EVENTS'],TestOrchestrationHandler=require('../../helpers/test-orchestration/testOrchestrationHandler'),BrowserstackCLI=require(a14_0xae9c2e(0x11d)),{checkPwandBootstrapCli}=require(a14_0xae9c2e(0x142)),ClientTroubleShootingService=require(a14_0xae9c2e(0x17b)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x3f2555,_0x4f03aa)=>{const _0x359b3f=a14_0xae9c2e,_0x3fa1d5={'xSFjO':_0x359b3f(0xe6),'KmsuW':_0x359b3f(0x130),'WEhEn':function(_0x2557e3,_0x450be0){return _0x2557e3||_0x450be0;},'vwvpw':function(_0x671032,_0x46398e){return _0x671032(_0x46398e);},'EdhHh':_0x359b3f(0x1b6),'aLTpb':_0x359b3f(0x14a),'zGokD':_0x359b3f(0x126),'pwOWf':_0x359b3f(0x1b7),'DLERX':_0x359b3f(0x13f)},_0x79d8fd=helper[_0x359b3f(0x1b1)](_0x3fa1d5[_0x359b3f(0x188)],_0x3fa1d5[_0x359b3f(0x112)]),_0x1875ad=_0x4f03aa['findIndex'](_0x54d6da=>_0x54d6da===_0x359b3f(0x152));if(!helper['isUndefined'](_0x3f2555['config'])){logger[_0x359b3f(0x149)](_0x359b3f(0xf2)+_0x3f2555[_0x359b3f(0x181)]),process[_0x359b3f(0x162)][_0x359b3f(0x17a)]=_0x3f2555[_0x359b3f(0x181)];const _0x2a9b7e=await(0x0,_0x79d8fd[_0x359b3f(0x1b0)])(path[_0x359b3f(0x164)](_0x3f2555[_0x359b3f(0x181)]));return _0x4f03aa[_0x359b3f(0x1bd)](_0x1875ad,0x2),_0x3fa1d5['WEhEn'](_0x2a9b7e,{});}const _0x2efb7e=_0x3fa1d5[_0x359b3f(0x1ba)](require,path[_0x359b3f(0x195)](process['cwd'](),_0x3fa1d5[_0x359b3f(0x194)]));if(_0x2efb7e[_0x359b3f(0x106)])return logger['info'](_0x3fa1d5[_0x359b3f(0x166)]),_0x2efb7e[_0x359b3f(0x106)];const _0x36e26e=['js',_0x3fa1d5['zGokD'],_0x3fa1d5['pwOWf'],_0x3fa1d5[_0x359b3f(0x13a)],'ts'];for(const _0x3d7ac7 of _0x36e26e){const _0x9c0040=path['join'](process[_0x359b3f(0x174)](),_0x359b3f(0x135)+_0x3d7ac7);if(fs[_0x359b3f(0x114)](_0x9c0040)){process[_0x359b3f(0x162)]['USER_CONFIG_DETAILS_PATH']=_0x9c0040;const _0xc29c84=await(0x0,_0x79d8fd['default'])(_0x9c0040);return _0xc29c84;}}return{};},getSerial=(_0x5f0e33,_0x3003bf)=>{const _0x1a34e8=a14_0xae9c2e,_0x89b7c4={};_0x89b7c4['uZWmL']='true',_0x89b7c4['HuCSF']=function(_0x50a968,_0x2c2e16){return _0x50a968>_0x2c2e16;},_0x89b7c4[_0x1a34e8(0x18f)]=_0x1a34e8(0x132);const _0x877c2b=_0x89b7c4;let _0xbe2a14=_0x877c2b[_0x1a34e8(0x180)];return _0x877c2b[_0x1a34e8(0x16d)](_0x5f0e33[_0x1a34e8(0x1b8)],0x1)&&(!_0x3003bf[_0x1a34e8(0x16e)]&&(helper[_0x1a34e8(0x13c)](_0x3003bf[_0x1a34e8(0x167)])||_0x877c2b[_0x1a34e8(0x16d)](_0x3003bf[_0x1a34e8(0x167)],0x1)))&&(_0xbe2a14=_0x877c2b['kOfOo']),_0xbe2a14;},getMaxWorkers=(_0x3e4cdf,_0x56df24,_0x36f978)=>{const _0x7b8993=a14_0xae9c2e,_0x5d8b6f={'HzfXA':function(_0x260c52,_0x5dc77a){return _0x260c52(_0x5dc77a);}};let _0x535509=0x1;if(!helper[_0x7b8993(0x13c)](_0x56df24[_0x7b8993(0xe4)]))_0x535509=_0x5d8b6f[_0x7b8993(0x12c)](parseInt,_0x56df24['parallelsPerPlatform']);else{if(!helper[_0x7b8993(0x13c)](_0x3e4cdf[_0x7b8993(0x167)]))_0x535509=_0x3e4cdf['maxWorkers'];else!helper[_0x7b8993(0x13c)](_0x36f978[_0x7b8993(0x167)])&&(_0x535509=_0x36f978[_0x7b8993(0x167)]);}return _0x535509;};async function run(_0x389d61,_0x5c2f6a,_0x467d68){const _0x3096ee=a14_0xae9c2e,_0x25ed0a={'gFMTl':_0x3096ee(0x19a),'jnPtL':_0x3096ee(0x106),'YnVyI':function(_0xd58a1c,_0x5a8366){return _0xd58a1c(_0x5a8366);},'yuqxY':'@playwright/test','ebJey':function(_0x31a4ba,_0x252653,_0x170e2d,_0x553e45){return _0x31a4ba(_0x252653,_0x170e2d,_0x553e45);},'osabX':function(_0x2d708f,_0x5b63b3){return _0x2d708f!=_0x5b63b3;},'TJqOQ':'true','QJgpd':function(_0x5c336b,_0x55fbbe,_0x310e74){return _0x5c336b(_0x55fbbe,_0x310e74);},'vAeRL':_0x3096ee(0x10f),'RFHTT':function(_0xcdb18f,_0x219610){return _0xcdb18f(_0x219610);},'kQrpu':_0x3096ee(0x132),'Pcbzc':function(_0x344d8e,_0x31b164){return _0x344d8e*_0x31b164;},'BwoQd':function(_0x1e7240,_0x593588){return _0x1e7240===_0x593588;},'aqwFg':_0x3096ee(0x139),'LxkHN':'jest_browserstack.config.js','zwbdM':_0x3096ee(0x133),'edMDA':'jest_browserstack_results.json','ZqsYm':_0x3096ee(0x1be),'zmEmQ':_0x3096ee(0x193),'aojHl':_0x3096ee(0xf5),'BBmeY':_0x3096ee(0x105),'JEcIK':_0x3096ee(0x1a8),'PZnNH':_0x3096ee(0x141),'iEGGF':_0x3096ee(0xfc),'XrOCV':function(_0x1efb2e,_0x168b86){return _0x1efb2e(_0x168b86);},'NGUbd':_0x3096ee(0x168),'cNYDC':_0x3096ee(0x12d),'hYgJf':'customCircus.js','znaFg':_0x3096ee(0x15e),'IvOqF':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','XmbyR':_0x3096ee(0x183),'UkklD':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','yaVdA':_0x3096ee(0x136),'EUGPD':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','bwYHq':'default','UALTE':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','rBozE':function(_0x7706eb,_0x4bb2e0){return _0x7706eb>_0x4bb2e0;},'cblTl':_0x3096ee(0xeb),'NlkDW':'npx','LEgLU':_0x3096ee(0x152),'BfqjS':function(_0x4e4446,_0x3cc41e){return _0x4e4446===_0x3cc41e;},'mDRby':_0x3096ee(0x1c0),'CQWyC':_0x3096ee(0x138),'xYDIJ':_0x3096ee(0x1b3)},_0x13ad3a=helper[_0x3096ee(0x10e)](_0x25ed0a[_0x3096ee(0x107)]);global[_0x3096ee(0x129)]=!!_0x13ad3a;helper[_0x3096ee(0x19e)]()?(await _0x467d68[_0x3096ee(0xfb)](_0x389d61),await helper['handleApp'](_0x467d68[_0x3096ee(0x181)])):await _0x467d68[_0x3096ee(0x16c)]();await _0x25ed0a['ebJey'](checkPwandBootstrapCli,_0x13ad3a,constants[_0x3096ee(0x1a1)]['JEST'],_0x467d68);if(!_0x467d68[_0x3096ee(0x181)])return;_0x25ed0a[_0x3096ee(0x147)](_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x19d)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x19d)]:process[_0x3096ee(0x162)][_0x3096ee(0xf4)]=_0x25ed0a[_0x3096ee(0x124)];const _0x9e7ab3=new TestOrchestrationHandler(_0x467d68[_0x3096ee(0x181)]),_0xf36d90=await _0x25ed0a['QJgpd'](getUserJestConfigs,_0x389d61,_0x5c2f6a);logger['info'](_0x25ed0a['vAeRL']);const _0x126df3=Object[_0x3096ee(0x134)]({},_0xf36d90);_0x126df3[_0x3096ee(0x14c)]=Object[_0x3096ee(0x134)]({},_0x126df3['testEnvironmentOptions'],{'server':helper['getHubUrl'](_0x467d68['config']),'environment':_0xf36d90['testEnvironment']}),_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x150)]=_0x25ed0a[_0x3096ee(0x191)](getPercyOptions,_0x467d68[_0x3096ee(0x181)]);const _0x473a9c=helper[_0x3096ee(0x161)](_0x467d68[_0x3096ee(0x181)]);!helper[_0x3096ee(0x13c)](_0x467d68['config'][_0x3096ee(0x17f)])&&(process['env'][_0x3096ee(0x192)]=JSON['stringify'](_0x467d68['config'][_0x3096ee(0x17f)]));if(!BrowserstackCLI[_0x3096ee(0x1c3)]()[_0x3096ee(0x172)]()){const _0x4932b3=await TestHubHandler[_0x3096ee(0x14f)](FRAMEWORKS[_0x3096ee(0x13b)],_0x467d68);}const _0x37fe65=helper[_0x3096ee(0x111)](_0x467d68['config'],_0x473a9c,constants[_0x3096ee(0x1a1)][_0x3096ee(0x13b)]);process[_0x3096ee(0x162)][_0x3096ee(0x1bf)]=JSON[_0x3096ee(0x144)](_0x37fe65);let _0x2a4db4=_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x115)];_0x2a4db4=_0x2a4db4||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x467d68[_0x3096ee(0x181)]),process[_0x3096ee(0x162)][_0x3096ee(0x113)]=_0x2a4db4,logger[_0x3096ee(0x100)](_0x3096ee(0x1ad)+_0x2a4db4+',\x20CLI\x20running:\x20'+BrowserstackCLI['getInstance']()['isRunning']());if(_0x13ad3a)try{const _0x320e8b=_0x25ed0a[_0x3096ee(0x191)](checkAccessibilityPlatformConfig,_0x467d68[_0x3096ee(0x181)]);process[_0x3096ee(0x162)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x320e8b?_0x25ed0a['TJqOQ']:_0x25ed0a[_0x3096ee(0xea)],logger[_0x3096ee(0x100)](_0x3096ee(0xe2)+_0x320e8b+_0x3096ee(0x184)+process[_0x3096ee(0x162)][_0x3096ee(0xfa)]);}catch(_0x26d542){logger['debug'](_0x3096ee(0x137)+util[_0x3096ee(0x119)](_0x26d542));}_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x1ab)]=_0x37fe65,_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x1a4)]=_0x25ed0a[_0x3096ee(0x18e)](getSerial,_0x37fe65,_0x389d61),_0x126df3['testEnvironmentOptions'][_0x3096ee(0x158)]=_0x25ed0a[_0x3096ee(0x155)](getMaxWorkers,_0x389d61,_0x467d68[_0x3096ee(0x181)],_0xf36d90),_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x128)]=_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x128)],_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x156)]=_0x25ed0a[_0x3096ee(0x187)](_0x389d61[_0x3096ee(0x179)],0x1)||0x1388,_0x126df3[_0x3096ee(0x14c)]['skipSessionName']=_0x467d68['config'][_0x3096ee(0x123)][_0x3096ee(0x19b)],_0x126df3[_0x3096ee(0x14c)]['skipSessionStatus']=_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x123)][_0x3096ee(0x18c)],_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x16a)]=_0x467d68[_0x3096ee(0x181)]['logLevel'],_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x1a6)]=_0x467d68['config']['turboScaleUrl'],_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x1a7)]=_0x467d68[_0x3096ee(0x181)][_0x3096ee(0x151)];const _0x2622b1=helper[_0x3096ee(0x18a)](_0x467d68['config']);if(!helper[_0x3096ee(0xee)](_0x2622b1)){helper['isNotUndefined'](_0x2622b1[_0x3096ee(0x17d)])&&(_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x160)]=_0x2622b1[_0x3096ee(0x17d)][_0x3096ee(0x110)]);if(helper[_0x3096ee(0x178)](_0x2622b1['abortBuildOnFailure'])&&helper[_0x3096ee(0x178)](_0x2622b1[_0x3096ee(0x117)][_0x3096ee(0x140)])){const _0x3b56ef={};_0x3b56ef[_0x3096ee(0x13d)]=_0x2622b1[_0x3096ee(0x117)]['maxFailures'],_0x3b56ef[_0x3096ee(0x140)]=_0x2622b1[_0x3096ee(0x117)][_0x3096ee(0x140)],_0x126df3[_0x3096ee(0x14c)][_0x3096ee(0x101)]=_0x3b56ef;}}let _0x5cc150='';_0x25ed0a['BwoQd'](helper[_0x3096ee(0x1a2)](),constants[_0x3096ee(0xfd)][_0x3096ee(0x118)])?_0x5cc150=_0x25ed0a['aqwFg']:_0x5cc150=_0x25ed0a['LxkHN'];const _0xcc24bb=_0x5cc150,_0x469a65=path[_0x3096ee(0x195)](__dirname,_0x25ed0a[_0x3096ee(0x1bb)],_0x25ed0a['edMDA']),_0x449f06=path[_0x3096ee(0x195)](__dirname,_0x25ed0a[_0x3096ee(0x1bb)],_0x25ed0a['ZqsYm']),_0x5ed549=path[_0x3096ee(0x195)](__dirname,_0x25ed0a[_0x3096ee(0x1bb)],_0x25ed0a[_0x3096ee(0x1ae)]);_0x126df3[_0x3096ee(0xff)]&&(process[_0x3096ee(0x162)][_0x3096ee(0x169)]=_0x126df3[_0x3096ee(0xff)]);_0x126df3['testEnvironment']=path['join'](__dirname,_0x25ed0a['zwbdM'],_0x25ed0a['aojHl']),_0x126df3[_0x3096ee(0x11c)]=_0x449f06,_0x126df3[_0x3096ee(0xec)]=_0x126df3[_0x3096ee(0xec)]||[],_0x126df3[_0x3096ee(0xec)]['push'](path['join'](__dirname,_0x25ed0a[_0x3096ee(0x11b)]));_0x9e7ab3[_0x3096ee(0x143)]()&&(_0x126df3[_0x3096ee(0x127)]=path['join'](__dirname,_0x25ed0a['zwbdM'],_0x25ed0a[_0x3096ee(0x1b5)]));if(testhubUtils[_0x3096ee(0xe8)]()){let _0x14ca8f=null;try{_0x14ca8f=helper[_0x3096ee(0x1b1)](_0x25ed0a[_0x3096ee(0x1a9)],_0x25ed0a[_0x3096ee(0x108)]);}catch(_0x4fc2db){_0x25ed0a[_0x3096ee(0x157)](debug,_0x3096ee(0x14b)+_0x4fc2db);}_0x14ca8f&&(_0x126df3['setupFilesAfterEnv'][_0x3096ee(0x159)](path[_0x3096ee(0x195)](__dirname,_0x25ed0a['NGUbd'],_0x25ed0a[_0x3096ee(0x1b2)])),_0x126df3['testRunner']=path[_0x3096ee(0x195)](__dirname,_0x25ed0a[_0x3096ee(0x1bb)],_0x25ed0a['hYgJf']));}_0x126df3[_0x3096ee(0xed)]=_0x126df3[_0x3096ee(0xed)]||[];try{helper[_0x3096ee(0x1ac)](),_0x126df3[_0x3096ee(0xed)]['push'](path['join'](__dirname,_0x25ed0a[_0x3096ee(0x1a0)]));}catch{logger['debug'](_0x25ed0a['IvOqF']);}try{helper[_0x3096ee(0x11e)][_0x3096ee(0x148)](null,[_0x25ed0a[_0x3096ee(0x107)],_0x25ed0a[_0x3096ee(0x17c)]]),logger[_0x3096ee(0x100)](_0x25ed0a[_0x3096ee(0x131)]),_0x126df3[_0x3096ee(0xed)][_0x3096ee(0x159)](path[_0x3096ee(0x195)](__dirname,_0x25ed0a[_0x3096ee(0xf0)]));}catch(_0x34ded9){logger[_0x3096ee(0x100)](_0x25ed0a['EUGPD'],_0x34ded9);}_0x126df3['reporters']=_0x126df3[_0x3096ee(0x120)]||[_0x25ed0a[_0x3096ee(0x153)]],_0x25ed0a[_0x3096ee(0x18e)](updateTestRerunConfig,_0x126df3,_0x467d68);const _0xc2de79=fs[_0x3096ee(0x102)](_0x5ed549);fs[_0x3096ee(0x104)](_0x126df3[_0x3096ee(0x11c)],'\x0a\x20\x20\x20\x20'+_0xc2de79+_0x3096ee(0x18b)+_0x467d68['config'][_0x3096ee(0x151)]['length']+_0x3096ee(0x1c2)),logger['info'](_0x3096ee(0x15f)+_0xcc24bb+_0x3096ee(0xe9)),fs[_0x3096ee(0x104)](_0xcc24bb,_0x3096ee(0xe3)+JSON[_0x3096ee(0x144)](_0x126df3)+_0x3096ee(0xf1));if(_0x9e7ab3['isTestOrchestrationEnabled']()){logger[_0x3096ee(0x100)](_0x25ed0a[_0x3096ee(0x12f)]);const _0x26edcb=await _0x9e7ab3[_0x3096ee(0x121)](_0x126df3,_0x5c2f6a[_0x3096ee(0x154)](0x1),_0xcc24bb);logger[_0x3096ee(0x100)]('Found:\x20'+JSON[_0x3096ee(0x144)](_0x26edcb)+_0x3096ee(0xf8));const _0x4b4b1f=await _0x9e7ab3[_0x3096ee(0x14e)](_0x26edcb);logger[_0x3096ee(0x100)](_0x3096ee(0x122)+JSON[_0x3096ee(0x144)](_0x4b4b1f)),_0x4b4b1f&&_0x25ed0a[_0x3096ee(0x170)](_0x4b4b1f[_0x3096ee(0x1b8)],0x0)&&(process['env'][_0x3096ee(0x145)]=_0x4b4b1f?.[_0x3096ee(0x195)](','));}logger[_0x3096ee(0x149)](_0x25ed0a[_0x3096ee(0x1b4)]);testhubUtils[_0x3096ee(0xe8)]()&&TestDetails[_0x3096ee(0x196)]();helper[_0x3096ee(0x18d)]({},_0x5c2f6a),PerformanceTester[_0x3096ee(0x1a5)](PerformanceEvents[_0x3096ee(0x165)]);const _0xd33de7=_0x25ed0a[_0x3096ee(0x155)](spawn,_0x25ed0a[_0x3096ee(0x1af)],[_0x25ed0a[_0x3096ee(0xf3)],_0x25ed0a[_0x3096ee(0x163)],_0xcc24bb,..._0x5c2f6a[_0x3096ee(0x154)](0x1)],{'shell':_0x25ed0a[_0x3096ee(0x176)](process[_0x3096ee(0x16b)],_0x25ed0a['mDRby']),'stdio':_0x25ed0a[_0x3096ee(0x12b)],'env':Object[_0x3096ee(0x134)]({},process[_0x3096ee(0x162)])});_0xd33de7['on'](_0x25ed0a[_0x3096ee(0x10a)],async _0x49d549=>{const _0x2fe3a1=_0x3096ee;PerformanceTester['start'](PerformanceEvents[_0x2fe3a1(0x1b9)]);try{const {browserstackFolderPath:_0xed276a,tcgConfigPath:_0x45790b}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x45790b),fs['rmdirSync'](_0xed276a);}catch(_0x57e6c1){logger[_0x2fe3a1(0x100)](_0x25ed0a[_0x2fe3a1(0x173)],_0x57e6c1);}process['exitCode']=_0x49d549,logger['debug']('child\x20process\x20exited\x20with\x20code\x20'+_0x49d549),logger['info'](_0x2fe3a1(0x146)+_0xcc24bb);if(helper['isNotUndefined'](_0x2622b1)&&helper['isNotUndefined'](_0x2622b1[_0x2fe3a1(0x117)])&&fs['existsSync'](_0x2622b1['abortBuildOnFailure'][_0x2fe3a1(0x140)]))try{const _0x42e45c={};_0x42e45c['recursive']=!![],_0x42e45c[_0x2fe3a1(0x11a)]=!![],fs[_0x2fe3a1(0x14d)](_0x2622b1[_0x2fe3a1(0x117)][_0x2fe3a1(0x140)],_0x42e45c),logger['debug'](_0x2fe3a1(0xe5)+_0x2622b1[_0x2fe3a1(0x117)]['workingDir']);}catch(_0x1fc965){logger['error']('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x1fc965);}let _0x280a20=null;if(fs['existsSync'](_0x469a65)){_0x280a20=fs[_0x2fe3a1(0x102)](_0x469a65);try{_0x280a20=JSON[_0x2fe3a1(0xe7)](_0x280a20);}catch(_0x317a5b){logger[_0x2fe3a1(0x100)](_0x2fe3a1(0x15b)+_0x469a65+',\x20'+_0x280a20+_0x2fe3a1(0x197)+_0x317a5b);}fs[_0x2fe3a1(0x13e)](_0x469a65);}fs[_0x2fe3a1(0x13e)](_0xcc24bb),fs[_0x2fe3a1(0x13e)](_0x449f06),_0x280a20&&(_0x467d68[_0x2fe3a1(0xf9)]=helper[_0x2fe3a1(0x199)](_0x280a20,_0x25ed0a['jnPtL'],_0x467d68));try{await TestHubHandler[_0x2fe3a1(0x12e)](),await BrowserstackCLI[_0x2fe3a1(0x1c3)]()['stop']();}catch(_0x28ef79){console[_0x2fe3a1(0x125)](_0x28ef79),_0x25ed0a[_0x2fe3a1(0x190)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x2fe3a1(0x119)](_0x28ef79));}testOpsHelper[_0x2fe3a1(0xfe)](),TestDetails[_0x2fe3a1(0x11f)](),await utilities['finalExecution'](_0x467d68);});}module[a14_0xae9c2e(0x198)]=run;
|
|
2
|
+
'use strict';const a14_0xd6f5d6=a14_0xdc07;(function(_0x237515,_0x4aa46b){const _0x1d1450=a14_0xdc07,_0xd581cf=_0x237515();while(!![]){try{const _0x356cbd=parseInt(_0x1d1450(0xef))/0x1+parseInt(_0x1d1450(0x168))/0x2+parseInt(_0x1d1450(0xa7))/0x3+parseInt(_0x1d1450(0xb2))/0x4*(parseInt(_0x1d1450(0xfa))/0x5)+-parseInt(_0x1d1450(0x115))/0x6*(parseInt(_0x1d1450(0xc8))/0x7)+-parseInt(_0x1d1450(0x114))/0x8*(-parseInt(_0x1d1450(0x8e))/0x9)+-parseInt(_0x1d1450(0x148))/0xa;if(_0x356cbd===_0x4aa46b)break;else _0xd581cf['push'](_0xd581cf['shift']());}catch(_0x4fc2b5){_0xd581cf['push'](_0xd581cf['shift']());}}}(a14_0x798a,0x6fe93));function a14_0xdc07(_0x146b8e,_0x3c4ddc){const _0x798ae6=a14_0x798a();return a14_0xdc07=function(_0xdc07cc,_0x1fc3f9){_0xdc07cc=_0xdc07cc-0x8c;let _0x560c5f=_0x798ae6[_0xdc07cc];return _0x560c5f;},a14_0xdc07(_0x146b8e,_0x3c4ddc);}const fs=require('fs'),path=require(a14_0xd6f5d6(0x131)),util=require(a14_0xd6f5d6(0x162)),{spawn}=require('child_process'),logger=require(a14_0xd6f5d6(0x121))[a14_0xd6f5d6(0x157)],{default:BrowserStackSetup}=require(a14_0xd6f5d6(0xb5)),helper=require('../../helpers/helper'),utilities=require(a14_0xd6f5d6(0x11e)),constants=require(a14_0xd6f5d6(0x14f)),accessibilityHelper=require('../../helpers/accessibility-automation/helper'),{updateTestRerunConfig}=require('./test-observability/helper'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require(a14_0xd6f5d6(0xd4)),{getPercyOptions}=require(a14_0xd6f5d6(0x13b)),TestHubHandler=require(a14_0xd6f5d6(0x90)),testhubUtils=require(a14_0xd6f5d6(0x11c)),{FRAMEWORKS}=require(a14_0xd6f5d6(0xcb)),PerformanceTester=require(a14_0xd6f5d6(0xc5)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0xd6f5d6(0xd7)],TestOrchestrationHandler=require(a14_0xd6f5d6(0xce)),BrowserstackCLI=require(a14_0xd6f5d6(0xfb)),{checkPwandBootstrapCli}=require(a14_0xd6f5d6(0xc6)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a14_0xd6f5d6(0x11f)),getUserJestConfigs=async(_0x463f35,_0x5de4c5)=>{const _0x511392=a14_0xd6f5d6,_0x19e01f={'gIpiI':_0x511392(0x10d),'TodeM':_0x511392(0x144),'AzZXf':function(_0x2b1875,_0x5b0a5c){return _0x2b1875||_0x5b0a5c;},'eHyJc':function(_0x411a5c,_0x495abd){return _0x411a5c(_0x495abd);},'HlTKe':_0x511392(0x10c),'tMkkQ':_0x511392(0xdd),'VtaYy':'mjs','aaLwo':_0x511392(0xc3),'giHeq':'json'},_0xca52aa=helper['requireModule'](_0x19e01f[_0x511392(0xbe)],_0x19e01f['TodeM']),_0x18d4f0=_0x5de4c5[_0x511392(0xa0)](_0x424d1f=>_0x424d1f==='--config');if(!helper[_0x511392(0xc1)](_0x463f35[_0x511392(0x14c)])){logger[_0x511392(0xd0)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x463f35[_0x511392(0x14c)]),process[_0x511392(0x9b)][_0x511392(0x136)]=_0x463f35[_0x511392(0x14c)];const _0x33ea48=await(0x0,_0xca52aa['default'])(path[_0x511392(0xa5)](_0x463f35[_0x511392(0x14c)]));return _0x5de4c5['splice'](_0x18d4f0,0x2),_0x19e01f['AzZXf'](_0x33ea48,{});}const _0x1ab472=_0x19e01f[_0x511392(0x146)](require,path['join'](process[_0x511392(0x126)](),_0x19e01f[_0x511392(0xbd)]));if(_0x1ab472[_0x511392(0x160)])return logger[_0x511392(0xd0)](_0x19e01f['tMkkQ']),_0x1ab472[_0x511392(0x160)];const _0x228f46=['js',_0x19e01f[_0x511392(0x155)],_0x19e01f['aaLwo'],_0x19e01f[_0x511392(0x100)],'ts'];for(const _0x59e022 of _0x228f46){const _0x4d7424=path[_0x511392(0xf2)](process[_0x511392(0x126)](),_0x511392(0xee)+_0x59e022);if(fs[_0x511392(0xff)](_0x4d7424)){process[_0x511392(0x9b)][_0x511392(0x136)]=_0x4d7424;const _0x415e21=await(0x0,_0xca52aa[_0x511392(0x102)])(_0x4d7424);return _0x415e21;}}return{};},getSerial=(_0x16bcb3,_0x48d25c)=>{const _0x1978c5=a14_0xd6f5d6,_0x3dff76={};_0x3dff76['zGTTi']=_0x1978c5(0x154),_0x3dff76[_0x1978c5(0xfd)]=function(_0x46e78e,_0x2992d1){return _0x46e78e>_0x2992d1;},_0x3dff76[_0x1978c5(0xcf)]=_0x1978c5(0xa6);const _0x2ac512=_0x3dff76;let _0x2a9134=_0x2ac512['zGTTi'];return _0x2ac512[_0x1978c5(0xfd)](_0x16bcb3[_0x1978c5(0xbb)],0x1)&&(!_0x48d25c[_0x1978c5(0x118)]&&(helper[_0x1978c5(0xc1)](_0x48d25c[_0x1978c5(0x133)])||_0x2ac512['lhLCX'](_0x48d25c[_0x1978c5(0x133)],0x1)))&&(_0x2a9134=_0x2ac512['izKwD']),_0x2a9134;},getMaxWorkers=(_0x3ccee7,_0x1f0e51,_0x3c28a7)=>{const _0x288cc6=a14_0xd6f5d6,_0x39c69e={'XuRwB':function(_0x157858,_0x40c831){return _0x157858(_0x40c831);}};let _0x573eaf=0x1;if(!helper['isUndefined'](_0x1f0e51['parallelsPerPlatform']))_0x573eaf=_0x39c69e[_0x288cc6(0xe4)](parseInt,_0x1f0e51['parallelsPerPlatform']);else{if(!helper[_0x288cc6(0xc1)](_0x3ccee7[_0x288cc6(0x133)]))_0x573eaf=_0x3ccee7[_0x288cc6(0x133)];else!helper[_0x288cc6(0xc1)](_0x3c28a7[_0x288cc6(0x133)])&&(_0x573eaf=_0x3c28a7[_0x288cc6(0x133)]);}return _0x573eaf;};async function run(_0x5a2ae3,_0x438458,_0x28a398){const _0x3d11cf=a14_0xd6f5d6,_0x3ae434={'Vuqcy':_0x3d11cf(0xb9),'MFYmX':_0x3d11cf(0x160),'ZimMC':function(_0x12f945,_0x56979b){return _0x12f945(_0x56979b);},'DkTVk':'@playwright/test','IzSHw':function(_0x5c9048,_0x489432,_0x1b958d,_0x2174e6){return _0x5c9048(_0x489432,_0x1b958d,_0x2174e6);},'eOLJv':function(_0x346f61,_0x41538e){return _0x346f61!=_0x41538e;},'puyQZ':'true','IbpJv':function(_0x304ad2,_0x2166c8,_0x507b7c){return _0x304ad2(_0x2166c8,_0x507b7c);},'LAneM':_0x3d11cf(0x15d),'YeTnR':function(_0x1031d2,_0x347c32){return _0x1031d2(_0x347c32);},'bCYHP':_0x3d11cf(0xa6),'cHsOa':function(_0x4a0916,_0x3bb401,_0x5dabb0){return _0x4a0916(_0x3bb401,_0x5dabb0);},'lUMit':function(_0x34513b,_0x5f4af6){return _0x34513b*_0x5f4af6;},'idmnd':function(_0xc9df8b,_0x33169c){return _0xc9df8b===_0x33169c;},'OdodF':_0x3d11cf(0x9c),'eAroP':'jest_browserstack.config.js','KuWDD':_0x3d11cf(0x12a),'CATun':_0x3d11cf(0x166),'RjSzQ':'customTestRunner.js','Oyzzx':_0x3d11cf(0xeb),'eUkei':_0x3d11cf(0x137),'BjiMB':_0x3d11cf(0xa1),'iVJpL':'customSequencer.js','KiWSY':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','USrfc':_0x3d11cf(0x99),'RhmWs':function(_0x390b95,_0xe7f0e7){return _0x390b95(_0xe7f0e7);},'VyzeC':_0x3d11cf(0x14a),'vBfxM':_0x3d11cf(0xf1),'DfUvB':_0x3d11cf(0xf6),'eLduQ':'test_before.setup.js','cOBou':_0x3d11cf(0xed),'AOOTa':_0x3d11cf(0xb8),'gRBsj':_0x3d11cf(0x142),'Wtrno':_0x3d11cf(0xd5),'KQnKQ':'Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','gstqe':_0x3d11cf(0x102),'ZVChW':_0x3d11cf(0x14d),'ZtLdV':function(_0x31deea,_0x315b72){return _0x31deea>_0x315b72;},'iUqzP':_0x3d11cf(0x98),'Nbvkk':function(_0x2c9831,_0x43f9f0,_0x21c2bc,_0x3f762d){return _0x2c9831(_0x43f9f0,_0x21c2bc,_0x3f762d);},'fvRhL':_0x3d11cf(0x14b),'jlcVu':'--config','QFPnV':'win32','DtBAA':'inherit','TfKOI':_0x3d11cf(0xa8)},_0x3970eb=helper[_0x3d11cf(0xb0)](_0x3ae434[_0x3d11cf(0x122)]);global[_0x3d11cf(0x129)]=!!_0x3970eb;helper[_0x3d11cf(0x16b)]()?(await _0x28a398[_0x3d11cf(0x128)](_0x5a2ae3),await helper['handleApp'](_0x28a398[_0x3d11cf(0x14c)])):await _0x28a398[_0x3d11cf(0x13f)]();await _0x3ae434[_0x3d11cf(0x10e)](checkPwandBootstrapCli,_0x3970eb,constants['FRAMEWORKS'][_0x3d11cf(0x13e)],_0x28a398);if(!_0x28a398[_0x3d11cf(0x14c)])return;_0x3ae434[_0x3d11cf(0x105)](_0x28a398[_0x3d11cf(0x14c)]['testObservability'],null)?process['env'][_0x3d11cf(0xd9)]=_0x28a398['config'][_0x3d11cf(0xbf)]:process['env'][_0x3d11cf(0xd9)]=_0x3ae434[_0x3d11cf(0xec)];const _0x597a8e=new TestOrchestrationHandler(_0x28a398[_0x3d11cf(0x14c)]),_0x24c764=await _0x3ae434['IbpJv'](getUserJestConfigs,_0x5a2ae3,_0x438458);logger['info'](_0x3ae434[_0x3d11cf(0xcd)]);const _0x4013f2=Object['assign']({},_0x24c764);_0x4013f2['testEnvironmentOptions']=Object[_0x3d11cf(0x112)]({},_0x4013f2[_0x3d11cf(0xad)],{'server':helper[_0x3d11cf(0xb7)](_0x28a398[_0x3d11cf(0x14c)]),'environment':_0x24c764['testEnvironment']}),_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xe3)]=_0x3ae434[_0x3d11cf(0x150)](getPercyOptions,_0x28a398[_0x3d11cf(0x14c)]);const _0x586120=helper[_0x3d11cf(0xb1)](_0x28a398[_0x3d11cf(0x14c)]);!helper[_0x3d11cf(0xc1)](_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x11d)])&&(process[_0x3d11cf(0x9b)][_0x3d11cf(0x93)]=JSON[_0x3d11cf(0xe5)](_0x28a398['config'][_0x3d11cf(0x11d)]));if(!BrowserstackCLI[_0x3d11cf(0xe1)]()[_0x3d11cf(0xd3)]()){const _0x5b6b7c=await TestHubHandler[_0x3d11cf(0x10f)](FRAMEWORKS[_0x3d11cf(0x13e)],_0x28a398);}const _0x541481=helper[_0x3d11cf(0xda)](_0x28a398[_0x3d11cf(0x14c)],_0x586120,constants[_0x3d11cf(0x127)][_0x3d11cf(0x13e)]);process[_0x3d11cf(0x9b)][_0x3d11cf(0xe8)]=JSON[_0x3d11cf(0xe5)](_0x541481);let _0x250599=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0xe0)];_0x250599=_0x250599||accessibilityHelper[_0x3d11cf(0xcc)](_0x28a398[_0x3d11cf(0x14c)]),process[_0x3d11cf(0x9b)][_0x3d11cf(0xa3)]=_0x250599,logger[_0x3d11cf(0x169)](_0x3d11cf(0x140)+_0x250599+_0x3d11cf(0xea)+BrowserstackCLI[_0x3d11cf(0xe1)]()[_0x3d11cf(0xd3)]());if(_0x3970eb)try{const _0x2d0bc1=_0x3ae434['YeTnR'](checkAccessibilityPlatformConfig,_0x28a398['config']);process['env'][_0x3d11cf(0x163)]=_0x2d0bc1?_0x3ae434[_0x3d11cf(0xec)]:_0x3ae434['bCYHP'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x2d0bc1+_0x3d11cf(0xba)+process[_0x3d11cf(0x9b)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x9fa415){logger[_0x3d11cf(0x169)](_0x3d11cf(0x139)+util[_0x3d11cf(0xc0)](_0x9fa415));}_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xfe)]=_0x541481,_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x9a)]=_0x3ae434[_0x3d11cf(0x16a)](getSerial,_0x541481,_0x5a2ae3),_0x4013f2['testEnvironmentOptions']['parallels__']=_0x3ae434[_0x3d11cf(0x10e)](getMaxWorkers,_0x5a2ae3,_0x28a398[_0x3d11cf(0x14c)],_0x24c764),_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x159)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x159)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xc2)]=_0x3ae434['lUMit'](_0x5a2ae3[_0x3d11cf(0xdc)],0x1)||0x1388,_0x4013f2[_0x3d11cf(0xad)]['skipSessionName']=_0x28a398['config'][_0x3d11cf(0xbc)][_0x3d11cf(0x103)],_0x4013f2['testEnvironmentOptions'][_0x3d11cf(0x124)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0xbc)][_0x3d11cf(0x124)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0xa9)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x95)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x12d)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x12d)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x11b)]=_0x28a398[_0x3d11cf(0x14c)][_0x3d11cf(0x132)];const _0x167267=helper[_0x3d11cf(0x15e)](_0x28a398[_0x3d11cf(0x14c)]);if(!helper['isEmpty'](_0x167267)){helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x130)])&&(_0x4013f2['testEnvironmentOptions'][_0x3d11cf(0xab)]=_0x167267[_0x3d11cf(0x130)][_0x3d11cf(0x9f)]);if(helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x101)])&&helper[_0x3d11cf(0x104)](_0x167267[_0x3d11cf(0x101)][_0x3d11cf(0xac)])){const _0x2d3a65={};_0x2d3a65['failureThresholdCount']=_0x167267[_0x3d11cf(0x101)][_0x3d11cf(0x113)],_0x2d3a65[_0x3d11cf(0xac)]=_0x167267['abortBuildOnFailure'][_0x3d11cf(0xac)],_0x4013f2[_0x3d11cf(0xad)][_0x3d11cf(0x107)]=_0x2d3a65;}}let _0x8efb14='';_0x3ae434[_0x3d11cf(0x12b)](helper[_0x3d11cf(0x156)](),constants[_0x3d11cf(0xaf)][_0x3d11cf(0xe9)])?_0x8efb14=_0x3ae434['OdodF']:_0x8efb14=_0x3ae434['eAroP'];const _0x5aeab1=_0x8efb14,_0x211d85=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['CATun']),_0x3beee9=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['RjSzQ']),_0x4aadbb=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434['Oyzzx']);_0x4013f2[_0x3d11cf(0x14e)]&&(process['env'][_0x3d11cf(0x108)]=_0x4013f2[_0x3d11cf(0x14e)]);_0x4013f2[_0x3d11cf(0x14e)]=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434['KuWDD'],_0x3ae434[_0x3d11cf(0x149)]),_0x4013f2[_0x3d11cf(0x94)]=_0x3beee9,_0x4013f2[_0x3d11cf(0x152)]=_0x4013f2[_0x3d11cf(0x152)]||[],_0x4013f2['setupFilesAfterEnv']['push'](path['join'](__dirname,_0x3ae434[_0x3d11cf(0x15c)]));_0x597a8e[_0x3d11cf(0xf4)]()&&(_0x4013f2[_0x3d11cf(0xd6)]=path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434[_0x3d11cf(0xc4)]));if(testhubUtils['shouldProcessEventForTesthub']()){let _0x1ce118=null;try{_0x1ce118=helper[_0x3d11cf(0xf9)](_0x3ae434[_0x3d11cf(0xdf)],_0x3ae434[_0x3d11cf(0x12e)]);}catch(_0x57cc86){_0x3ae434['RhmWs'](debug,_0x3d11cf(0x8f)+_0x57cc86);}_0x1ce118&&(_0x4013f2[_0x3d11cf(0x152)][_0x3d11cf(0xdb)](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x9d)],_0x3ae434[_0x3d11cf(0x97)])),_0x4013f2[_0x3d11cf(0xe7)]=path['join'](__dirname,_0x3ae434[_0x3d11cf(0x165)],_0x3ae434[_0x3d11cf(0xb6)]));}_0x4013f2[_0x3d11cf(0x11a)]=_0x4013f2['setupFiles']||[];try{helper[_0x3d11cf(0xd8)](),_0x4013f2[_0x3d11cf(0x11a)][_0x3d11cf(0xdb)](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434[_0x3d11cf(0x138)]));}catch{logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0x109)]);}try{helper[_0x3d11cf(0x141)][_0x3d11cf(0x12c)](null,[_0x3ae434[_0x3d11cf(0x122)],_0x3ae434[_0x3d11cf(0x91)]]),logger['debug'](_0x3ae434[_0x3d11cf(0xc7)]),_0x4013f2[_0x3d11cf(0x11a)]['push'](path[_0x3d11cf(0xf2)](__dirname,_0x3ae434['Wtrno']));}catch(_0x5e1124){logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0x158)],_0x5e1124);}_0x4013f2[_0x3d11cf(0x8d)]=_0x4013f2[_0x3d11cf(0x8d)]||[_0x3ae434[_0x3d11cf(0xfc)]],_0x3ae434[_0x3d11cf(0xc9)](updateTestRerunConfig,_0x4013f2,_0x28a398);const _0xbdb214=fs[_0x3d11cf(0x15f)](_0x4aadbb);fs[_0x3d11cf(0x10b)](_0x4013f2[_0x3d11cf(0x94)],'\x0a\x20\x20\x20\x20'+_0xbdb214+'\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'+_0x28a398['config'][_0x3d11cf(0x132)][_0x3d11cf(0xbb)]+_0x3d11cf(0xde)),logger['info'](_0x3d11cf(0x145)+_0x5aeab1+_0x3d11cf(0xae)),fs[_0x3d11cf(0x10b)](_0x5aeab1,_0x3d11cf(0x116)+JSON[_0x3d11cf(0xe5)](_0x4013f2)+_0x3d11cf(0xb4));if(_0x597a8e[_0x3d11cf(0xf4)]()){logger[_0x3d11cf(0x169)](_0x3ae434[_0x3d11cf(0xd1)]);const _0x6fa0cf=await _0x597a8e[_0x3d11cf(0x117)](_0x4013f2,_0x438458[_0x3d11cf(0x147)](0x1),_0x5aeab1);logger[_0x3d11cf(0x169)]('Found:\x20'+JSON['stringify'](_0x6fa0cf)+'\x20test\x20files\x20to\x20run.');const _0x1ac380=await _0x597a8e['reorderTestFiles'](_0x6fa0cf);logger[_0x3d11cf(0x169)](_0x3d11cf(0x143)+JSON[_0x3d11cf(0xe5)](_0x1ac380)),_0x1ac380&&_0x3ae434[_0x3d11cf(0x13c)](_0x1ac380[_0x3d11cf(0xbb)],0x0)&&(process[_0x3d11cf(0x9b)]['JEST_TEST_ORDER']=_0x1ac380?.[_0x3d11cf(0xf2)](','));}logger['info'](_0x3ae434[_0x3d11cf(0x10a)]);testhubUtils[_0x3d11cf(0xb3)]()&&TestDetails[_0x3d11cf(0x161)]();helper[_0x3d11cf(0x134)]({},_0x438458),PerformanceTester[_0x3d11cf(0xf3)](PerformanceEvents[_0x3d11cf(0x9e)]);const _0x579cad=_0x3ae434[_0x3d11cf(0x167)](spawn,_0x3ae434[_0x3d11cf(0xaa)],[_0x3ae434[_0x3d11cf(0x8c)],_0x3ae434[_0x3d11cf(0x96)],_0x5aeab1,..._0x438458[_0x3d11cf(0x147)](0x1)],{'shell':_0x3ae434[_0x3d11cf(0x12b)](process[_0x3d11cf(0x106)],_0x3ae434[_0x3d11cf(0x120)]),'stdio':_0x3ae434[_0x3d11cf(0x123)],'env':Object[_0x3d11cf(0x112)]({},process['env'])});_0x579cad['on'](_0x3ae434[_0x3d11cf(0x125)],async _0x2fadb8=>{const _0x496810=_0x3d11cf;PerformanceTester['start'](PerformanceEvents[_0x496810(0xa4)]);try{const {browserstackFolderPath:_0x4fba2d,tcgConfigPath:_0x496ad2}=helper[_0x496810(0x12f)]();fs[_0x496810(0x15a)](_0x496ad2),fs[_0x496810(0x111)](_0x4fba2d);}catch(_0x2da378){logger[_0x496810(0x169)](_0x3ae434[_0x496810(0x153)],_0x2da378);}process[_0x496810(0x164)]=_0x2fadb8,logger[_0x496810(0x169)](_0x496810(0x13d)+_0x2fadb8),logger[_0x496810(0xd0)](_0x496810(0xe6)+_0x5aeab1);if(helper[_0x496810(0x104)](_0x167267)&&helper[_0x496810(0x104)](_0x167267[_0x496810(0x101)])&&fs[_0x496810(0xff)](_0x167267[_0x496810(0x101)][_0x496810(0xac)]))try{const _0x2d24a8={};_0x2d24a8['recursive']=!![],_0x2d24a8[_0x496810(0x135)]=!![],fs[_0x496810(0xf5)](_0x167267['abortBuildOnFailure'][_0x496810(0xac)],_0x2d24a8),logger[_0x496810(0x169)](_0x496810(0x13a)+_0x167267['abortBuildOnFailure'][_0x496810(0xac)]);}catch(_0x24f1e5){logger[_0x496810(0xf8)](_0x496810(0x92)+_0x24f1e5);}let _0x4bdc6f=null;if(fs[_0x496810(0xff)](_0x211d85)){_0x4bdc6f=fs[_0x496810(0x15f)](_0x211d85);try{_0x4bdc6f=JSON[_0x496810(0x110)](_0x4bdc6f);}catch(_0x47f5f8){logger[_0x496810(0x169)]('Error\x20while\x20parsing\x20'+_0x211d85+',\x20'+_0x4bdc6f+_0x496810(0xf0)+_0x47f5f8);}fs['unlinkSync'](_0x211d85);}fs[_0x496810(0x15a)](_0x5aeab1),fs['unlinkSync'](_0x3beee9),_0x4bdc6f&&(_0x28a398[_0x496810(0xa2)]=helper[_0x496810(0x15b)](_0x4bdc6f,_0x3ae434[_0x496810(0x8c)],_0x28a398));try{await TestHubHandler[_0x496810(0xe2)](),await BrowserstackCLI[_0x496810(0xe1)]()['stop']();}catch(_0x3ea3bd){console[_0x496810(0xf7)](_0x3ea3bd),_0x3ae434[_0x496810(0x150)](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x496810(0xc0)](_0x3ea3bd));}testOpsHelper[_0x496810(0xd2)](),TestDetails[_0x496810(0x119)](),await utilities[_0x496810(0x151)](_0x28a398);});}module[a14_0xd6f5d6(0xca)]=run;function a14_0x798a(){const _0x12cfff=['cjs','iVJpL','../../helpers/performance/performance-tester','../../helpers/playwright-helper','gRBsj','28pQScWj','IbpJv','exports','../../helpers/test-observability/constants','checkAccessibilityPlatformConfig','LAneM','../../helpers/test-orchestration/testOrchestrationHandler','izKwD','info','ZVChW','printBuildLink','isRunning','./test-observability/test-details','test.setup.js','testSequencer','EVENTS','requireSeleniumWebdriver','BROWSERSTACK_TEST_OBSERVABILITY_YML','prepareCapabilities','push','testTimeout','Getting\x20your\x20jest\x20configs\x20from\x20package.json',';\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','KiWSY','accessibility','getInstance','stop','browserStackPercyOptions','XuRwB','stringify','Deleting\x20','testRunner','BROWSERSTACK_CAPABILITIES','MODULE',',\x20CLI\x20running:\x20','customTestRunnerTemplate.js','puyQZ','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','jest.config.','547450CngbHg','\x20:\x20','data-hooks.js','join','end','isTestOrchestrationEnabled','rmSync','customCircus.js','log','error','requireModule','315nElPoa','../v2/browserstackCLI','gstqe','lhLCX','capabilities','existsSync','giHeq','abortBuildOnFailure','default','skipSessionName','isNotUndefined','eOLJv','platform','failFast','BSTACK_JEST_TEST_ENV','cOBou','iUqzP','writeFileSync','package.json','jest-config/build/readConfigFileAndSetRootDir.js','IzSHw','launchBuild','parse','rmdirSync','assign','maxFailures','80nqutBP','828510BxIWcc','const\x20config=','findTestFiles','runInBand','shutdown','setupFiles','platformCaps','../../helpers/testhub/utils','accessibilityOptions','../../helpers/utilities','../../helpers/accessibility-automation/helper','QFPnV','../../helpers/logger','DkTVk','DtBAA','skipSessionStatus','TfKOI','cwd','FRAMEWORKS','initialize','__isPlaywrightInstalled','customImplements','idmnd','apply','turboScaleUrl','USrfc','getTCGConfigFilePaths','retryTestsOnFailure','path','platforms','maxWorkers','filterBrowserstackArgs','force','USER_CONFIG_DETAILS_PATH','customEnvironment.js','eLduQ','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','../../helpers/percy/utils','ZtLdV','child\x20process\x20exited\x20with\x20code\x20','JEST','setupTCGAuth','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','requirePWModule','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','Reodered\x20Test\x20Files:\x20','jest-config','Creating\x20','eHyJc','slice','9611650MudbUv','eUkei','test-observability','npx','config','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','testEnvironment','../utils/constants','ZimMC','finalExecution','setupFilesAfterEnv','Vuqcy','true','VtaYy','getPackageType','winstonLogger','KQnKQ','proxySettings','unlinkSync','getErrorMessageFromResults','BjiMB','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','parseTestOrchestrationOptions','readFileSync','jest','setup','util','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','exitCode','KuWDD','jest_browserstack_results.json','Nbvkk','1639350lckONC','debug','cHsOa','isBrowserstackInfra','MFYmX','reporters','353151xBYIli','Unable\x20to\x20find\x20jest-circus,\x20','../../helpers/testhub/testhubHandler','AOOTa','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','runner','logLevel','jlcVu','vBfxM','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','jest-circus','serial__','env','jest_browserstack.config.cjs','VyzeC','SDK_SETUP','maxRetries','findIndex','jest.setup.js','errorMessage','BROWSERSTACK_TEST_ACCESSIBILITY_YML','SDK_CLEANUP','resolve','false','194304RhQfau','close','browserStackLogLevel','fvRhL','retries__','workingDir','testEnvironmentOptions','\x20with\x20browserstack\x20jest\x20configs','PACKAGE_TYPE','getPackageVersion','useW3C','9372iwZXLu','shouldProcessEventForTesthub','\x0amodule.exports\x20=\x20config;','../../helpers/BrowserStackSetup','DfUvB','getHubUrl','playwright','error\x20removing\x20tcg\x20config\x20file',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','length','testContextOptions','HlTKe','gIpiI','testObservability','format','isUndefined','timeout__'];a14_0x798a=function(){return _0x12cfff;};return a14_0x798a();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a15_0x18a5(_0x416f49,_0x575cfb){const _0xbd389a=a15_0xbd38();return a15_0x18a5=function(_0x18a5f8,_0x43c94c){_0x18a5f8=_0x18a5f8-0x1b0;let _0x57c546=_0xbd389a[_0x18a5f8];return _0x57c546;},a15_0x18a5(_0x416f49,_0x575cfb);}const a15_0x20f7be=a15_0x18a5;(function(_0x5495b7,_0x1d4ca4){const _0x4fc6aa=a15_0x18a5,_0x3e0808=_0x5495b7();while(!![]){try{const _0x3181f2=parseInt(_0x4fc6aa(0x1b3))/0x1+-parseInt(_0x4fc6aa(0x1b7))/0x2+parseInt(_0x4fc6aa(0x1b8))/0x3+-parseInt(_0x4fc6aa(0x1c1))/0x4*(-parseInt(_0x4fc6aa(0x1bc))/0x5)+parseInt(_0x4fc6aa(0x1bf))/0x6*(parseInt(_0x4fc6aa(0x1b9))/0x7)+-parseInt(_0x4fc6aa(0x1c0))/0x8+-parseInt(_0x4fc6aa(0x1b2))/0x9;if(_0x3181f2===_0x1d4ca4)break;else _0x3e0808['push'](_0x3e0808['shift']());}catch(_0x570b49){_0x3e0808['push'](_0x3e0808['shift']());}}}(a15_0xbd38,0xc8e6d));const path=require('path'),{requireModule}=require(a15_0x20f7be(0x1c2));function a15_0xbd38(){const _0x10c548=['../../../helpers/helper','includes','Hbksl','6233490wCeSOI','616904CQhWLB','initRequireModule','NvXsC','ceuDC','1821416TOOvPJ','26874hGhyMT','5341qBotrI','jestAdapterInit','requireInternalModule','17780phBWfV','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','10914xdRZLe','9473536vZFnnI','1796VFBACa'];a15_0xbd38=function(){return _0x10c548;};return a15_0xbd38();}let initJestAdapter=requireModule(a15_0x20f7be(0x1bd),'jest-circus');initJestAdapter=typeof initJestAdapter==='function'?initJestAdapter:initJestAdapter[a15_0x20f7be(0x1be)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,'customJestAdapterInit.js');module['exports']=(..._0x3ef461)=>{const _0x55cbe6=a15_0x20f7be,_0x278082={'Hbksl':_0x55cbe6(0x1ba),'ceuDC':function(_0x4c328b,_0x330279){return _0x4c328b===_0x330279;},'NvXsC':function(_0x1d0d00,..._0x43365e){return _0x1d0d00(..._0x43365e);}};return _0x3ef461[0x3][_0x55cbe6(0x1b4)]=_0x3ef461[0x3][_0x55cbe6(0x1bb)],_0x3ef461[0x3][_0x55cbe6(0x1bb)]=(..._0x1f380b)=>{const _0x4e043d=_0x55cbe6;if(_0x1f380b[0x0]&&_0x1f380b[0x0][_0x4e043d(0x1b0)](_0x278082[_0x4e043d(0x1b1)])&&_0x278082[_0x4e043d(0x1b6)](_0x1f380b[0x1],undefined))return _0x3ef461[0x3][_0x4e043d(0x1b4)](FRAMEWORK_INITIALIZER);return _0x3ef461[0x3]['initRequireModule'](..._0x1f380b);},_0x278082[_0x55cbe6(0x1b5)](initJestAdapter,..._0x3ef461);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x1d476f=a16_0x350c;(function(_0x3f3013,_0x599457){const _0x15ae48=a16_0x350c,_0x110042=_0x3f3013();while(!![]){try{const _0x12ddef=-parseInt(_0x15ae48(0x242))/0x1+-parseInt(_0x15ae48(0x220))/0x2*(-parseInt(_0x15ae48(0x1f4))/0x3)+-parseInt(_0x15ae48(0x231))/0x4+-parseInt(_0x15ae48(0x23e))/0x5*(-parseInt(_0x15ae48(0x20e))/0x6)+-parseInt(_0x15ae48(0x22b))/0x7*(parseInt(_0x15ae48(0x1fb))/0x8)+-parseInt(_0x15ae48(0x237))/0x9+parseInt(_0x15ae48(0x1f7))/0xa;if(_0x12ddef===_0x599457)break;else _0x110042['push'](_0x110042['shift']());}catch(_0x1043eb){_0x110042['push'](_0x110042['shift']());}}}(a16_0x33a3,0xd31bb));function a16_0x33a3(){const _0x408f59=['registerListeners','66xwomsi','test','projectConfig','skipSessionStatus','winstonLogger','../../../helpers/testhub/utils','capabilities','percyCaptureMode','getTestEnvironment','shouldProcessEventForTesthub','skipSessionName','rlegY','test_done','testPath','join','requireModule','resolveTestEnvironment','FRAMEWORKS','3073010sbZLQu','browserstackPercyBestPlatform','buildName','skip','cleanupDrivers','zkyrW','split','projectName','LtHvk','testContext','sessionNameProvided','6728323Xvjsfz','failFast','ZQJeB','__webdriver','global','JEST','5510548GYCtcx','nestedKeyValue','VJWdO','BSTACK_DELTA','oSpmy','test_start','1626129jKhmhs','../../../helpers/test-orchestration/failfastManager','tkvRM','teardown','TrMtg','retries__','default','539170udAIOv','setup','../../../index','cleanup','1564508xrjyEK','qJcJs','percy','testEnvironmentOptions','HZwdG','driver','../../../helpers/test-observability/utils','env','nQcxL','framework','jest-environment-node','quit','configuration','uaYtC','jestConfig','2|3|4|7|1|0|6|5','__jestRetries','cpzWf','isNotUndefined','modifyCommand','TAJZF','handleTestEvent','isBrowserstackInfra','PEpYZ','../../../helpers/test-observability/requestQueueHandler','Builder','__timeout','browserstackPlatformIndex','errors','builder','isArray','failFastOptions','cvsqR','../../../helpers/logger','QsJbw','3ZKopBo','platformCaps','ivLUc','22260350hwiFZT','BSTACK_JEST_TEST_ENV','capability','DYxkV','8kDKiTY','__drivers','isTrue','URudM','__skipSessionStatus','RCkYt','YvNnv','name','timeout__','mYwUq','jest-resolve','\x20>\x20','../test-observability/obsReporter','info','browserstackAgentV2','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','failFastActive','browserStackGlobals'];a16_0x33a3=function(){return _0x408f59;};return a16_0x33a3();}function a16_0x350c(_0x2a38d6,_0x516f76){const _0x33a3e5=a16_0x33a3();return a16_0x350c=function(_0x350c8b,_0x521cbc){_0x350c8b=_0x350c8b-0x1e5;let _0x1a9f83=_0x33a3e5[_0x350c8b];return _0x1a9f83;},a16_0x350c(_0x2a38d6,_0x516f76);}const helper=require('../../../helpers/helper'),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x1d476f(0x248)),RequestQueueHandler=require(a16_0x1d476f(0x1e9)),ObservabilityReporter=require(a16_0x1d476f(0x207)),testhubUtils=require(a16_0x1d476f(0x213)),logger=require(a16_0x1d476f(0x1f2))[a16_0x1d476f(0x212)],getTestEnvironment=((()=>{const _0x45ddbd=a16_0x1d476f,_0x5b488d={};_0x5b488d['RCkYt']=_0x45ddbd(0x205),_0x5b488d[_0x45ddbd(0x201)]='jest-config';const _0x7f3aa8=_0x5b488d;try{const _0x479ce7=helper[_0x45ddbd(0x21d)](_0x7f3aa8[_0x45ddbd(0x200)]);if(_0x479ce7[_0x45ddbd(0x21e)])return _0x479ce7[_0x45ddbd(0x21e)];const _0x5a72ea=helper[_0x45ddbd(0x21d)](_0x7f3aa8[_0x45ddbd(0x201)]);if(_0x5a72ea['getTestEnvironment'])return _0x5a72ea[_0x45ddbd(0x216)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x4fa7ca=a16_0x1d476f,_0x3101f1={'PEpYZ':function(_0x45a358,_0x511efa){return _0x45a358(_0x511efa);},'dlNUR':'node','mYwUq':function(_0x449899,_0x1fc585){return _0x449899(_0x1fc585);},'nQcxL':_0x4fa7ca(0x24c)},_0x3cb8d4=_0x3101f1[_0x4fa7ca(0x1e8)](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process[_0x4fa7ca(0x249)][_0x4fa7ca(0x1f8)]||_0x3101f1['dlNUR']});if(!_0x3cb8d4)return _0x3101f1[_0x4fa7ca(0x204)](_interopRequireDefault,helper['requireModule'](_0x3101f1[_0x4fa7ca(0x24a)]));return _0x3101f1['mYwUq'](_interopRequireDefault,helper[_0x4fa7ca(0x21d)](_0x3cb8d4));})()),_seleniumWebdriver2=((()=>{const _0x1e968a=a16_0x1d476f,_0x245007={'rlegY':function(_0x3ed799,_0x5acd3e){return _0x3ed799(_0x5acd3e);}};try{const _0x1095f9=helper['requireSeleniumWebdriver']();return helper[_0x1e968a(0x255)](),_0x245007[_0x1e968a(0x219)](_interopRequireDefault,_0x1095f9);}catch{return null;}})());function _interopRequireDefault(_0x2d9fb5){return _0x2d9fb5&&_0x2d9fb5['__esModule']?_0x2d9fb5:{'default':_0x2d9fb5};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1d476f(0x23d)][a16_0x1d476f(0x1ea)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x1d476f(0x23d)]{constructor(_0x57b163){const _0x1a1984=a16_0x1d476f,_0x3c5e31={'QsJbw':_0x1a1984(0x24d),'TrMtg':function(_0x15c4ec,_0x56b95b){return _0x15c4ec+_0x56b95b;},'TAJZF':'bstack:options','tkvRM':function(_0x1ef66d,_0x5c0e9e){return _0x1ef66d(_0x5c0e9e);},'Hnwda':_0x1a1984(0x238),'URudM':_0x1a1984(0x251),'uaYtC':'testEnvironmentOptions','ivLUc':'browserStackPercyOptions','ZPhTc':_0x1a1984(0x215),'hFmkB':function(_0xf662b,_0x550d16){return _0xf662b(_0x550d16);},'HZwdG':_0x1a1984(0x240),'oSpmy':'browserstackPercyBestPlatform','zkyrW':_0x1a1984(0x244)};super(_0x57b163),this[_0x1a1984(0x22f)][_0x1a1984(0x1eb)]=0x0,this[_0x1a1984(0x24e)]={};!_0x57b163['testEnvironmentOptions']&&(_0x57b163['testEnvironmentOptions']={});if(helper[_0x1a1984(0x1e7)]()){_0x57b163[_0x1a1984(0x245)]=_0x57b163[_0x1a1984(0x210)]?_0x57b163[_0x1a1984(0x210)][_0x1a1984(0x245)]:_0x57b163[_0x1a1984(0x245)];_seleniumWebdriver2&&(this[_0x1a1984(0x1ee)]=new _seleniumWebdriver2['default']['Builder']());this[_0x1a1984(0x1f9)]=_0x57b163[_0x1a1984(0x210)]?_0x57b163[_0x1a1984(0x210)][_0x1a1984(0x1f9)]:_0x57b163[_0x1a1984(0x1f9)],this['global'][_0x1a1984(0x1eb)]=_0x3c5e31[_0x1a1984(0x23b)](_0x57b163[_0x1a1984(0x245)][_0x1a1984(0x203)]||0x1388,constants[_0x1a1984(0x234)]),this['failFastOptions']=_0x57b163[_0x1a1984(0x245)]['failFast'];if(this[_0x1a1984(0x1f0)]){const _0x304ac0=this[_0x1a1984(0x1f9)][_0x3c5e31[_0x1a1984(0x1e5)]]?.[_0x1a1984(0x222)]||'',_0x243ad8=this[_0x1a1984(0x1f9)][_0x3c5e31[_0x1a1984(0x1e5)]]?.[_0x1a1984(0x227)]||'';this[_0x1a1984(0x22c)]=new(_0x3c5e31[_0x1a1984(0x239)](require,_0x3c5e31['Hnwda']))(this[_0x1a1984(0x1f0)],_0x304ac0,_0x243ad8),this[_0x1a1984(0x22f)]['failFastActive']=![];}helper[_0x1a1984(0x254)](_0x57b163[_0x1a1984(0x245)][_0x1a1984(0x23c)])&&(this[_0x1a1984(0x22f)][_0x1a1984(0x252)]=_0x57b163['testEnvironmentOptions'][_0x1a1984(0x23c)]);}if(testhubUtils[_0x1a1984(0x217)]()){const _0x5ed715=new ObservabilityReporter();_0x5ed715[_0x1a1984(0x20d)]();}this[_0x1a1984(0x22f)][_0x1a1984(0x20c)]={},this[_0x1a1984(0x24e)]=_0x57b163[_0x1a1984(0x245)],this[_0x1a1984(0x24e)][_0x1a1984(0x24b)]=constants[_0x1a1984(0x21f)][_0x1a1984(0x230)],this[_0x1a1984(0x22f)][_0x1a1984(0x1ec)]=(_0x57b163[_0x1a1984(0x210)]?_0x57b163[_0x1a1984(0x210)][_0x1a1984(0x1ec)]:_0x57b163[_0x1a1984(0x1ec)])||0x0,this[_0x1a1984(0x22f)]['__platformCaps']=this['configuration']&&this['configuration'][_0x1a1984(0x1f5)]&&Array[_0x1a1984(0x1ef)](this[_0x1a1984(0x24e)]['platformCaps'])&&this[_0x1a1984(0x24e)][_0x1a1984(0x1f5)][this['global'][_0x1a1984(0x1ec)]]||{};const _0x26bcd1=this['global']['browserstackPlatformIndex'],_0x286a27={...this['configuration'],'capability':this['configuration'][_0x1a1984(0x214)]&&Array['isArray'](this[_0x1a1984(0x24e)][_0x1a1984(0x214)])&&this[_0x1a1984(0x24e)][_0x1a1984(0x214)][_0x26bcd1]||{},'platformCaps':this[_0x1a1984(0x24e)][_0x1a1984(0x1f5)]&&Array['isArray'](this['configuration'][_0x1a1984(0x1f5)])&&this[_0x1a1984(0x24e)][_0x1a1984(0x1f5)][_0x26bcd1]||{}};delete _0x286a27[_0x1a1984(0x214)],this[_0x1a1984(0x22f)][_0x1a1984(0x250)]=_0x286a27;if(_seleniumWebdriver2){const _0x57e3ec=_0x3c5e31[_0x1a1984(0x1fe)][_0x1a1984(0x226)]('|');let _0x21a3ea=0x0;while(!![]){switch(_0x57e3ec[_0x21a3ea++]){case'0':helper['isTrue'](this['configuration'][_0x1a1984(0x218)])?this[_0x1a1984(0x22f)][_0x1a1984(0x22a)]=!![]:this['global'][_0x1a1984(0x22a)]=![];continue;case'1':this['global'][_0x1a1984(0x215)]=helper[_0x1a1984(0x232)](_0x57b163,[_0x3c5e31[_0x1a1984(0x24f)],_0x3c5e31['ivLUc'],_0x3c5e31['ZPhTc']]);continue;case'2':this['global'][_0x1a1984(0x1fc)]=[];continue;case'3':this[_0x1a1984(0x22f)]['__webdriver']=_0x3c5e31['hFmkB'](require,_0x3c5e31[_0x1a1984(0x246)])[_0x1a1984(0x209)]({...this['configuration'],'capability':this[_0x1a1984(0x1f9)]||{}},this,testhubUtils[_0x1a1984(0x217)]());continue;case'4':this[_0x1a1984(0x22f)][_0x1a1984(0x221)]=helper[_0x1a1984(0x232)](_0x57b163,[_0x3c5e31[_0x1a1984(0x24f)],_0x3c5e31[_0x1a1984(0x1f6)],_0x3c5e31[_0x1a1984(0x235)]]);continue;case'5':this[_0x1a1984(0x22f)]['cleanup']=async()=>{const _0x40fbe3=_0x1a1984;await this[_0x40fbe3(0x22f)][_0x40fbe3(0x247)][_0x40fbe3(0x24d)](_0x3c5e31[_0x40fbe3(0x1f3)]);};continue;case'6':this[_0x1a1984(0x22f)][_0x1a1984(0x1ff)]=helper[_0x1a1984(0x1fd)](this[_0x1a1984(0x24e)][_0x1a1984(0x211)]);continue;case'7':this[_0x1a1984(0x22f)]['percy']=helper[_0x1a1984(0x232)](_0x57b163,[_0x3c5e31[_0x1a1984(0x24f)],_0x3c5e31['ivLUc'],_0x3c5e31[_0x1a1984(0x225)]]);continue;}break;}}}async[a16_0x1d476f(0x23a)](){const _0x3f3b3e=a16_0x1d476f;_seleniumWebdriver2&&(await helper[_0x3f3b3e(0x224)](this[_0x3f3b3e(0x22f)]['__driversArray']),this[_0x3f3b3e(0x22f)][_0x3f3b3e(0x22e)][_0x3f3b3e(0x1ea)]=originalBuilder),await RequestQueueHandler['getInstance']()['shutdown']();}async[a16_0x1d476f(0x23f)](){}async[a16_0x1d476f(0x1e6)](_0x247963,_0x3e2460){const _0x6777f6=a16_0x1d476f,_0x1a623f={};_0x1a623f['qJcJs']=function(_0x4414a6,_0x592fdb){return _0x4414a6===_0x592fdb;},_0x1a623f[_0x6777f6(0x228)]=_0x6777f6(0x236),_0x1a623f['DYxkV']=_0x6777f6(0x223),_0x1a623f['nXTTc']=function(_0xa05012,_0x5cad41){return _0xa05012===_0x5cad41;},_0x1a623f['VJWdO']=_0x6777f6(0x21a),_0x1a623f[_0x6777f6(0x253)]=_0x6777f6(0x206),_0x1a623f['ZQJeB']=function(_0x2b26a0,_0x9dec53){return _0x2b26a0===_0x9dec53;},_0x1a623f['iZLrP']='Error\x20in\x20fail-fast\x20test_done\x20handler:',_0x1a623f[_0x6777f6(0x1f1)]=_0x6777f6(0x23a);const _0x9e6e52=_0x1a623f,{name:_0x5023dd}=_0x247963;if(_0x9e6e52[_0x6777f6(0x243)](_0x5023dd,_0x9e6e52[_0x6777f6(0x228)])){this[_0x6777f6(0x22f)][_0x6777f6(0x229)]=_0x247963[_0x6777f6(0x20f)];if(_0x9e6e52[_0x6777f6(0x243)](this[_0x6777f6(0x22f)][_0x6777f6(0x20b)],!![])){const _0x429b26=_0x247963[_0x6777f6(0x20f)][_0x6777f6(0x202)];logger[_0x6777f6(0x208)](_0x6777f6(0x20a)+_0x429b26),_0x247963[_0x6777f6(0x20f)]['mode']=_0x9e6e52[_0x6777f6(0x1fa)];}}if(this[_0x6777f6(0x22c)]&&_0x9e6e52['nXTTc'](_0x5023dd,_0x9e6e52[_0x6777f6(0x233)]))try{const _0x23c443=_0x247963['test'][_0x6777f6(0x21b)][_0x6777f6(0x21c)](_0x9e6e52[_0x6777f6(0x253)]),_0xa9d6e4=_0x247963[_0x6777f6(0x20f)][_0x6777f6(0x1ed)];await this['failFast']['onTestDone'](_0x23c443,_0xa9d6e4);const _0x393303=await this['failFast']['shouldFailFast']();_0x9e6e52['nXTTc'](this[_0x6777f6(0x22f)][_0x6777f6(0x20b)],![])&&_0x9e6e52[_0x6777f6(0x22d)](_0x393303,!![])&&(this[_0x6777f6(0x22f)][_0x6777f6(0x20b)]=!![]);}catch(_0x9817b4){logger['debug'](_0x9e6e52['iZLrP'],_0x9817b4['message']);}_0x9e6e52[_0x6777f6(0x243)](_0x5023dd,_0x9e6e52[_0x6777f6(0x1f1)])&&(this['failFast']&&this[_0x6777f6(0x22c)][_0x6777f6(0x241)]());}}module['exports']=CustomEnvironment;
|
|
1
|
+
function a16_0x6a27(_0x1b2b92,_0x5e0001){const _0x150ba6=a16_0x150b();return a16_0x6a27=function(_0x6a27a8,_0xc66e7f){_0x6a27a8=_0x6a27a8-0xea;let _0xe5964f=_0x150ba6[_0x6a27a8];return _0xe5964f;},a16_0x6a27(_0x1b2b92,_0x5e0001);}const a16_0x1bc5ee=a16_0x6a27;(function(_0x349094,_0x5ee977){const _0x476ad3=a16_0x6a27,_0x3f0509=_0x349094();while(!![]){try{const _0x29d46b=-parseInt(_0x476ad3(0x107))/0x1*(-parseInt(_0x476ad3(0x150))/0x2)+-parseInt(_0x476ad3(0xed))/0x3+-parseInt(_0x476ad3(0x117))/0x4+-parseInt(_0x476ad3(0x124))/0x5*(-parseInt(_0x476ad3(0x154))/0x6)+-parseInt(_0x476ad3(0x15b))/0x7+parseInt(_0x476ad3(0xf7))/0x8*(-parseInt(_0x476ad3(0xfc))/0x9)+-parseInt(_0x476ad3(0x13b))/0xa*(-parseInt(_0x476ad3(0xff))/0xb);if(_0x29d46b===_0x5ee977)break;else _0x3f0509['push'](_0x3f0509['shift']());}catch(_0x3eed1c){_0x3f0509['push'](_0x3f0509['shift']());}}}(a16_0x150b,0xf2659));const helper=require('../../../helpers/helper'),constants=require(a16_0x1bc5ee(0xf2)),{isTestObservabilitySession}=require(a16_0x1bc5ee(0x159)),RequestQueueHandler=require(a16_0x1bc5ee(0xf0)),ObservabilityReporter=require(a16_0x1bc5ee(0x110)),testhubUtils=require(a16_0x1bc5ee(0x12c)),logger=require('../../../helpers/logger')[a16_0x1bc5ee(0xec)],getTestEnvironment=((()=>{const _0x1eafce=a16_0x1bc5ee,_0x21cc43={};_0x21cc43['ZAVen']=_0x1eafce(0x114),_0x21cc43['dhfCK']=_0x1eafce(0x132);const _0x2d979d=_0x21cc43;try{const _0x147acd=helper[_0x1eafce(0xfb)](_0x2d979d[_0x1eafce(0x138)]);if(_0x147acd[_0x1eafce(0x15c)])return _0x147acd['resolveTestEnvironment'];const _0x1ac392=helper[_0x1eafce(0xfb)](_0x2d979d['dhfCK']);if(_0x1ac392['getTestEnvironment'])return _0x1ac392[_0x1eafce(0x151)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x122769=a16_0x1bc5ee,_0x48e870={'GFHCD':function(_0x5ae126,_0x26a054){return _0x5ae126(_0x26a054);},'RrSsd':_0x122769(0x14b),'shykK':function(_0x747f67,_0x14024c){return _0x747f67(_0x14024c);},'YoQVG':_0x122769(0xf3)},_0x4e2447=_0x48e870[_0x122769(0x12d)](getTestEnvironment,{'rootDir':process[_0x122769(0x126)](),'testEnvironment':process[_0x122769(0x118)][_0x122769(0x155)]||_0x48e870[_0x122769(0x108)]});if(!_0x4e2447)return _0x48e870[_0x122769(0x160)](_interopRequireDefault,helper[_0x122769(0xfb)](_0x48e870[_0x122769(0x12e)]));return _0x48e870['GFHCD'](_interopRequireDefault,helper[_0x122769(0xfb)](_0x4e2447));})()),_seleniumWebdriver2=((()=>{const _0x3a3dde=a16_0x1bc5ee,_0x4ee15f={'ZxLKu':function(_0x10e57e,_0x2423d8){return _0x10e57e(_0x2423d8);}};try{const _0x1c8fd4=helper[_0x3a3dde(0x11b)]();return helper[_0x3a3dde(0xeb)](),_0x4ee15f[_0x3a3dde(0x112)](_interopRequireDefault,_0x1c8fd4);}catch{return null;}})());function _interopRequireDefault(_0x28ba2f){return _0x28ba2f&&_0x28ba2f['__esModule']?_0x28ba2f:{'default':_0x28ba2f};}function a16_0x150b(){const _0x25b74d=['failFast','setup','name','oRMth','ZAVen','errors','shouldProcessEventForTesthub','170IMRode','buildName','__skipSessionStatus','__timeout','retries__','browserstackPlatformIndex','xlkGb','debug','skip','browserStackPercyOptions','skipSessionStatus','browserstackPercyBestPlatform','__platformCaps','onTestDone','Cshjb','\x20>\x20','node','info','7|4|0|5|6|3|1|2','AzEHj','failFastOptions','1309902PUaFvc','getTestEnvironment','__drivers','eCaxS','1028964NJvtHo','BSTACK_JEST_TEST_ENV','NrasP','timeout__','testPath','../../../helpers/test-observability/utils','skipSessionName','2593080YgkgzW','resolveTestEnvironment','sessionNameProvided','teardown','builder','shykK','mode','capability','modifyCommand','winstonLogger','5712147psRzdQ','Vfsuv','Builder','../../../helpers/test-observability/requestQueueHandler','capabilities','../../utils/constants','jest-environment-node','jestConfig','__jestRetries','isArray','22984eOsLpe','saWIO','percy','driver','requireModule','3699UXgNLD','configuration','BSTACK_DELTA','2058683xDzpks','Error\x20in\x20fail-fast\x20test_done\x20handler:','test_done','isBrowserstackInfra','nCPOv','getInstance','testEnvironmentOptions','WmVpe','1RULNyR','RrSsd','global','hWWhM','../../../index','bhOpp','fqagh','shutdown','framework','../test-observability/obsReporter','default','ZxLKu','__driversArray','jest-resolve','eYfGY','CTJVM','5099348PgwswG','env','ZMrKb','nestedKeyValue','requireSeleniumWebdriver','__webdriver','shouldFailFast','projectConfig','htoxH','test','cleanup','registerListeners','platformCaps','55nmugya','split','cwd','handleTestEvent','FRAMEWORKS','wTfbP','quit','projectName','../../../helpers/testhub/utils','GFHCD','YoQVG','WFtsz','../../../helpers/test-orchestration/failfastManager','failFastActive','jest-config','isTrue'];a16_0x150b=function(){return _0x25b74d;};return a16_0x150b();}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x1bc5ee(0x111)][a16_0x1bc5ee(0xef)]:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x1bc5ee(0x111)]{constructor(_0x390de9){const _0x5ecec8=a16_0x1bc5ee,_0x1bf69c={'eCaxS':_0x5ecec8(0x12a),'Cshjb':function(_0x2fa5d7,_0x4b1d25){return _0x2fa5d7+_0x4b1d25;},'bhOpp':'bstack:options','xlkGb':function(_0x257d87,_0x5b4adc){return _0x257d87(_0x5b4adc);},'Vfsuv':_0x5ecec8(0x130),'eYfGY':_0x5ecec8(0x14d),'oRMth':'testEnvironmentOptions','htoxH':_0x5ecec8(0x144),'POkUf':'browserstackPercyBestPlatform','WmVpe':_0x5ecec8(0x10b),'CTJVM':'percy','ZMrKb':'percyCaptureMode'};super(_0x390de9),this[_0x5ecec8(0x109)][_0x5ecec8(0x13e)]=0x0,this[_0x5ecec8(0xfd)]={};!_0x390de9[_0x5ecec8(0x105)]&&(_0x390de9[_0x5ecec8(0x105)]={});if(helper[_0x5ecec8(0x102)]()){_0x390de9['testEnvironmentOptions']=_0x390de9[_0x5ecec8(0x11e)]?_0x390de9['projectConfig']['testEnvironmentOptions']:_0x390de9['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x5ecec8(0x15f)]=new _seleniumWebdriver2['default'][(_0x5ecec8(0xef))]());this[_0x5ecec8(0xea)]=_0x390de9[_0x5ecec8(0x11e)]?_0x390de9[_0x5ecec8(0x11e)][_0x5ecec8(0xea)]:_0x390de9[_0x5ecec8(0xea)],this[_0x5ecec8(0x109)][_0x5ecec8(0x13e)]=_0x1bf69c[_0x5ecec8(0x149)](_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x157)]||0x1388,constants[_0x5ecec8(0xfe)]),this[_0x5ecec8(0x14f)]=_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x134)];if(this[_0x5ecec8(0x14f)]){const _0x4d6d62=this[_0x5ecec8(0xea)][_0x1bf69c['bhOpp']]?.[_0x5ecec8(0x13c)]||'',_0x5bf1de=this['capability'][_0x1bf69c[_0x5ecec8(0x10c)]]?.[_0x5ecec8(0x12b)]||'';this[_0x5ecec8(0x134)]=new(_0x1bf69c['xlkGb'](require,_0x1bf69c[_0x5ecec8(0xee)]))(this['failFastOptions'],_0x4d6d62,_0x5bf1de),this[_0x5ecec8(0x109)][_0x5ecec8(0x131)]=![];}helper['isNotUndefined'](_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x13f)])&&(this[_0x5ecec8(0x109)][_0x5ecec8(0xf5)]=_0x390de9[_0x5ecec8(0x105)][_0x5ecec8(0x13f)]);}if(testhubUtils[_0x5ecec8(0x13a)]()){const _0x43f0cc=new ObservabilityReporter();_0x43f0cc[_0x5ecec8(0x122)]();}this[_0x5ecec8(0x109)]['browserStackGlobals']={},this[_0x5ecec8(0xfd)]=_0x390de9['testEnvironmentOptions'],this['configuration'][_0x5ecec8(0x10f)]=constants[_0x5ecec8(0x128)]['JEST'],this[_0x5ecec8(0x109)][_0x5ecec8(0x140)]=(_0x390de9[_0x5ecec8(0x11e)]?_0x390de9['projectConfig'][_0x5ecec8(0x140)]:_0x390de9[_0x5ecec8(0x140)])||0x0,this[_0x5ecec8(0x109)][_0x5ecec8(0x147)]=this[_0x5ecec8(0xfd)]&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)]&&Array['isArray'](this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)])&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)][this[_0x5ecec8(0x109)][_0x5ecec8(0x140)]]||{};const _0x45e1a8=this['global']['browserstackPlatformIndex'],_0x5cf0d5={...this[_0x5ecec8(0xfd)],'capability':this[_0x5ecec8(0xfd)][_0x5ecec8(0xf1)]&&Array[_0x5ecec8(0xf6)](this[_0x5ecec8(0xfd)]['capabilities'])&&this['configuration']['capabilities'][_0x45e1a8]||{},'platformCaps':this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)]&&Array['isArray'](this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)])&&this[_0x5ecec8(0xfd)][_0x5ecec8(0x123)][_0x45e1a8]||{}};delete _0x5cf0d5[_0x5ecec8(0xf1)],this[_0x5ecec8(0x109)][_0x5ecec8(0xf4)]=_0x5cf0d5;if(_seleniumWebdriver2){const _0x23f4a7=_0x1bf69c[_0x5ecec8(0x115)][_0x5ecec8(0x125)]('|');let _0x10d7b6=0x0;while(!![]){switch(_0x23f4a7[_0x10d7b6++]){case'0':this['global'][_0x5ecec8(0x146)]=helper['nestedKeyValue'](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c['POkUf']]);continue;case'1':this['global'][_0x5ecec8(0x13d)]=helper[_0x5ecec8(0x133)](this[_0x5ecec8(0xfd)][_0x5ecec8(0x145)]);continue;case'2':this[_0x5ecec8(0x109)][_0x5ecec8(0x121)]=async()=>{const _0x49b79b=_0x5ecec8;await this['global'][_0x49b79b(0xfa)][_0x49b79b(0x12a)](_0x1bf69c[_0x49b79b(0x153)]);};continue;case'3':helper[_0x5ecec8(0x133)](this[_0x5ecec8(0xfd)][_0x5ecec8(0x15a)])?this[_0x5ecec8(0x109)][_0x5ecec8(0x15d)]=!![]:this[_0x5ecec8(0x109)]['sessionNameProvided']=![];continue;case'4':this[_0x5ecec8(0x109)][_0x5ecec8(0x11c)]=_0x1bf69c[_0x5ecec8(0x141)](require,_0x1bf69c[_0x5ecec8(0x106)])['browserstackAgentV2']({...this[_0x5ecec8(0xfd)],'capability':this[_0x5ecec8(0xea)]||{}},this,testhubUtils[_0x5ecec8(0x13a)]());continue;case'5':this['global'][_0x5ecec8(0xf9)]=helper[_0x5ecec8(0x11a)](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c[_0x5ecec8(0x116)]]);continue;case'6':this[_0x5ecec8(0x109)]['percyCaptureMode']=helper[_0x5ecec8(0x11a)](_0x390de9,[_0x1bf69c[_0x5ecec8(0x137)],_0x1bf69c[_0x5ecec8(0x11f)],_0x1bf69c[_0x5ecec8(0x119)]]);continue;case'7':this[_0x5ecec8(0x109)][_0x5ecec8(0x152)]=[];continue;}break;}}}async[a16_0x1bc5ee(0x15e)](){const _0x3f6021=a16_0x1bc5ee;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x3f6021(0x109)][_0x3f6021(0x113)]),this['global'][_0x3f6021(0x11c)][_0x3f6021(0xef)]=originalBuilder),await RequestQueueHandler[_0x3f6021(0x104)]()[_0x3f6021(0x10e)]();}async[a16_0x1bc5ee(0x135)](){}async[a16_0x1bc5ee(0x127)](_0x2a6769,_0x314895){const _0x4bea03=a16_0x1bc5ee,_0x272b1d={};_0x272b1d[_0x4bea03(0x10a)]=function(_0x5eaa06,_0x1a1b42){return _0x5eaa06===_0x1a1b42;},_0x272b1d[_0x4bea03(0x10d)]='test_start',_0x272b1d[_0x4bea03(0x14e)]=_0x4bea03(0x143),_0x272b1d['NrasP']=function(_0x4af10b,_0x15236f){return _0x4af10b===_0x15236f;},_0x272b1d[_0x4bea03(0x129)]=_0x4bea03(0x101),_0x272b1d[_0x4bea03(0x103)]=_0x4bea03(0x14a),_0x272b1d[_0x4bea03(0xf8)]=_0x4bea03(0x100),_0x272b1d[_0x4bea03(0x12f)]=_0x4bea03(0x15e);const _0x49c07b=_0x272b1d,{name:_0x27b7a8}=_0x2a6769;if(_0x49c07b[_0x4bea03(0x10a)](_0x27b7a8,_0x49c07b[_0x4bea03(0x10d)])){this[_0x4bea03(0x109)]['testContext']=_0x2a6769[_0x4bea03(0x120)];if(_0x49c07b['hWWhM'](this[_0x4bea03(0x109)]['failFastActive'],!![])){const _0x65cd9c=_0x2a6769['test'][_0x4bea03(0x136)];logger[_0x4bea03(0x14c)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x65cd9c),_0x2a6769[_0x4bea03(0x120)][_0x4bea03(0x161)]=_0x49c07b[_0x4bea03(0x14e)];}}if(this['failFast']&&_0x49c07b[_0x4bea03(0x156)](_0x27b7a8,_0x49c07b[_0x4bea03(0x129)]))try{const _0x4a7072=_0x2a6769['test'][_0x4bea03(0x158)]['join'](_0x49c07b['nCPOv']),_0x2626e3=_0x2a6769[_0x4bea03(0x120)][_0x4bea03(0x139)];await this[_0x4bea03(0x134)][_0x4bea03(0x148)](_0x4a7072,_0x2626e3);const _0x4f8b89=await this['failFast'][_0x4bea03(0x11d)]();_0x49c07b[_0x4bea03(0x156)](this[_0x4bea03(0x109)]['failFastActive'],![])&&_0x49c07b[_0x4bea03(0x10a)](_0x4f8b89,!![])&&(this['global'][_0x4bea03(0x131)]=!![]);}catch(_0xddbf8){logger[_0x4bea03(0x142)](_0x49c07b[_0x4bea03(0xf8)],_0xddbf8['message']);}_0x49c07b[_0x4bea03(0x156)](_0x27b7a8,_0x49c07b[_0x4bea03(0x12f)])&&(this[_0x4bea03(0x134)]&&this['failFast']['cleanup']());}}module['exports']=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x3e87eb=a17_0x3f7a;function a17_0x3f7a(_0x1b6b0a,_0x1480f0){const _0x25d201=a17_0x25d2();return a17_0x3f7a=function(_0x3f7a30,_0x1db952){_0x3f7a30=_0x3f7a30-0x12d;let _0x484d6d=_0x25d201[_0x3f7a30];return _0x484d6d;},a17_0x3f7a(_0x1b6b0a,_0x1480f0);}(function(_0x3ff810,_0x45c10b){const _0x5a9811=a17_0x3f7a,_0x6e5131=_0x3ff810();while(!![]){try{const _0x4bddc3=-parseInt(_0x5a9811(0x131))/0x1+-parseInt(_0x5a9811(0x182))/0x2*(-parseInt(_0x5a9811(0x1d6))/0x3)+parseInt(_0x5a9811(0x140))/0x4*(parseInt(_0x5a9811(0x136))/0x5)+parseInt(_0x5a9811(0x166))/0x6+-parseInt(_0x5a9811(0x16a))/0x7+-parseInt(_0x5a9811(0x1c4))/0x8*(parseInt(_0x5a9811(0x18d))/0x9)+parseInt(_0x5a9811(0x152))/0xa*(parseInt(_0x5a9811(0x132))/0xb);if(_0x4bddc3===_0x45c10b)break;else _0x6e5131['push'](_0x6e5131['shift']());}catch(_0x4688ae){_0x6e5131['push'](_0x6e5131['shift']());}}}(a17_0x25d2,0x7a9c1));const {requireModule}=require('../../../helpers/helper'),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),TestDetails=require(a17_0x3e87eb(0x18f)),{patchConsoleLogger,debug}=require(a17_0x3e87eb(0x181)),{o11yErrorHandler}=require(a17_0x3e87eb(0x1b7)),{shouldProcessEventForTesthub}=require(a17_0x3e87eb(0x1b8)),testHubConstants=require(a17_0x3e87eb(0x1bd)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x3e87eb(0x174)),HookState=require(a17_0x3e87eb(0x156)),JestUtils=require('../../v2/utils/jest-utils'),{v4:uuidv4}=require(a17_0x3e87eb(0x1c1)),util=require(a17_0x3e87eb(0x19d)),logger=require(a17_0x3e87eb(0x1ad))['winstonLogger'],{FRAMEWORKS}=require(a17_0x3e87eb(0x16c)),exportsI=requireModule(a17_0x3e87eb(0x184),'jest-circus'),initInitialize=exportsI[a17_0x3e87eb(0x153)],jestUtils=new JestUtils();function a17_0x25d2(){const _0x3af2bb=['shutdown','../../v2/cliUtils','setFrameworkDetail','isCliEnabled','CsvGF','UlRGg','XNYGi','AFTER_EACH','ZgClM','332382hohjdb','aQJQi','hwQWQ','GAhTU','4897564bhvTiM','hook_success','../../utils/constants','__jestCurrentTestIdentifier','isRunning','DOnaW','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','GkXeT','hookData','setActiveHook','../../v2/state/testFrameworkState','includes','EVENT','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','MoHSm','currentHook','ipmUp','afterAll','piSRe','registerListeners','testStarted','EventHandler','getTestFramework','../../../helpers/test-observability/utils','2PMGkIb','nkRlc','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','toISOString','xPWIz','PLAYWRIGHT','__workerDetails','Handling\x20test\x20event\x20for\x20CLI:\x20','AeJpz','beforeEach','knvmQ','1427022OupOzx','mzRAn','../test-observability/test-details','debug','Error\x20checking\x20CLI\x20readiness:\x20','cmLqi','afterEach','keys','toString','getInstance','HookFinished','POST','beforeAll','ysiLY','jest-circus/build/utils.js','testAnalyticsId','util','sendTestRunEvent','tOHNr','TEST','unhandledErrors','LOG_REPORT','retryOf','PRE','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','GEoYk','shYvl','Liqxh','UEIHj','match','hook','HookRunStarted','../../../helpers/logger','Handling\x20hook\x20event\x20for\x20CLI:\x20','vXKUE','test_start','TestRunFinished','makeSingleTestResult','title','hook_start','PVkNF','DHqDD','../../../helpers/test-observability/error-handler','../../../helpers/testhub/utils','qSPvs','forEach',':hookAnalyticsId','Error\x20routing\x20to\x20JestTestFramework:\x20','../../../helpers/testhub/constants','nCBHa','CAFjm','format','uuid','ZgtRe','run_describe_finish','8osvzcG','testUUID','TestRunStarted','name','error','BEFORE_EACH','LRscQ','psDlr','failed','BROWSERSTACK_CLI_BIN_SESSION_ID','originalTest','test_skip','removeActiveHook','markedStatus','bBaoF','NbDOe','hookUUID','GWVTG','193584FlvaCk','hoVbp','teardown','asyncError','jest-circus/build/state.js','AOKAo','type','started_at','843316rYIASG','1514887RGwFrL','BEFORE_ALL','env','createIdentifierFromJestTest','1065WZPUnv','rEkGh','gwJZM','current_test','removeAllListeners','mfjbm','_currentRetry','parent','AFTER_ALL','createTestFrameworkData','10684TRYBrF','setTestUUID','kyJKX','KijHD','file','test_done','errorsDetailed','czpKW','TestRunSkipped','hookAnalyticsId','xszqW','addEventHandler','YUAsx','test','removeTestUUID','fowMC','vNeRY','length','110YkPJrc','initialize','ckamt','HookStarted','../../v2/state/hookState','trackEvent','bgMKu','state','\x20for\x20hook\x20type:\x20','fNsAU','pid'];a17_0x25d2=function(){return _0x3af2bb;};return a17_0x25d2();}async function isCLIReady(){const _0x42c9d4=a17_0x3e87eb,_0x26b4a5={'DrZBQ':'CLI\x20is\x20enabled\x20and\x20running.','rEkGh':function(_0x178a6f,_0xfa3614){return _0x178a6f(_0xfa3614);},'NbDOe':_0x42c9d4(0x15e),'CsvGF':function(_0x4106e0,_0x1b790a){return _0x4106e0(_0x1b790a);}};try{const _0x20b44f=BrowserstackCLI[_0x42c9d4(0x196)]();if(_0x20b44f[_0x42c9d4(0x160)]()&&_0x20b44f[_0x42c9d4(0x16e)]())return logger[_0x42c9d4(0x190)](_0x26b4a5['DrZBQ']),!![];const _0x4dc2d0=process[_0x42c9d4(0x134)][_0x42c9d4(0x1cd)];if(_0x4dc2d0&&_0x20b44f[_0x42c9d4(0x160)]()){if(!_0x20b44f[_0x42c9d4(0x16e)]())try{const _0x3dd687=_0x26b4a5[_0x42c9d4(0x137)](require,_0x26b4a5[_0x42c9d4(0x1d3)]);_0x3dd687[_0x42c9d4(0x15f)](FRAMEWORKS['JEST'],FRAMEWORKS[_0x42c9d4(0x187)]),await _0x20b44f['bootstrap']();}catch(_0x24fa74){return _0x26b4a5[_0x42c9d4(0x137)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x42c9d4(0x1c0)](_0x24fa74)),![];}return _0x20b44f[_0x42c9d4(0x16e)]();}return![];}catch(_0xa85faa){return _0x26b4a5[_0x42c9d4(0x161)](debug,_0x42c9d4(0x191)+util[_0x42c9d4(0x1c0)](_0xa85faa)),![];}}function getTestIdentifierForHook(_0x3f6a79){const _0x429ab3=a17_0x3e87eb,_0x431c5f={};_0x431c5f[_0x429ab3(0x1a9)]=function(_0x228528,_0x1d818c){return _0x228528===_0x1d818c;},_0x431c5f[_0x429ab3(0x18a)]=_0x429ab3(0x18b),_0x431c5f[_0x429ab3(0x1b9)]='beforeAll';const _0x2e4a44=_0x431c5f;if(_0x2e4a44[_0x429ab3(0x1a9)](_0x3f6a79['type'],_0x2e4a44[_0x429ab3(0x18a)])||_0x2e4a44['UEIHj'](_0x3f6a79['type'],_0x2e4a44[_0x429ab3(0x1b9)])){let _0xfda3c7=global[_0x429ab3(0x16d)];if(!_0xfda3c7&&_0x2e4a44[_0x429ab3(0x1a9)](_0x3f6a79[_0x429ab3(0x12f)],_0x2e4a44[_0x429ab3(0x1b9)])&&_0x3f6a79[_0x429ab3(0x13d)]){const _0x1a1828={};_0x1a1828[_0x429ab3(0x1c7)]=_0x3f6a79[_0x429ab3(0x13d)][_0x429ab3(0x1c7)],_0x1a1828[_0x429ab3(0x13d)]=_0x3f6a79['parent'][_0x429ab3(0x13d)],_0x1a1828[_0x429ab3(0x1d9)]=_0x3f6a79[_0x429ab3(0x1d9)],_0x1a1828[_0x429ab3(0x144)]=_0x3f6a79[_0x429ab3(0x144)];const _0x5ac708=_0x1a1828;_0xfda3c7=jestUtils['createIdentifierFromJestTest'](_0x5ac708);}return _0xfda3c7;}return global[_0x429ab3(0x16d)];}function mapHookTypeToState(_0x1161ad){const _0x3a5358=a17_0x3e87eb,_0xd99168={};_0xd99168['beforeAll']=TestFrameworkState[_0x3a5358(0x133)],_0xd99168[_0x3a5358(0x17b)]=TestFrameworkState[_0x3a5358(0x13e)],_0xd99168[_0x3a5358(0x18b)]=TestFrameworkState[_0x3a5358(0x1c9)],_0xd99168[_0x3a5358(0x193)]=TestFrameworkState[_0x3a5358(0x164)];const _0x504f36=_0xd99168;return _0x504f36[_0x1161ad]||TestFrameworkState[_0x3a5358(0x1c9)];}async function handleHookEventCLI(_0x2711a4,_0x341753,_0x1842da){const _0x6d55ab=a17_0x3e87eb,_0x231131={'piSRe':function(_0x227de0){return _0x227de0();},'Liqxh':function(_0x3327c9,_0x4cd0ac){return _0x3327c9===_0x4cd0ac;},'nkRlc':_0x6d55ab(0x1ac),'GEoYk':function(_0x2bfa2a,_0x2e3353){return _0x2bfa2a(_0x2e3353);},'UKymD':function(_0x542eb9,_0x2bdac1){return _0x542eb9===_0x2bdac1;},'dCyWD':function(_0x2537a4,_0x172378){return _0x2537a4(_0x172378);},'ysiLY':function(_0x253e6d,_0x19e061){return _0x253e6d===_0x19e061;},'vXKUE':'HookRunFinished','nCBHa':'hook','mfjbm':function(_0x2ea841,_0x378722){return _0x2ea841===_0x378722;}};logger[_0x6d55ab(0x190)](_0x6d55ab(0x1ae)+_0x341753+_0x6d55ab(0x15a)+_0x2711a4[_0x6d55ab(0x12f)]);try{if(_0x2711a4['fn']&&_0x2711a4['fn'][_0x6d55ab(0x195)]()[_0x6d55ab(0x1aa)](/browserstack internal helper hook/))return;let _0x1a4def=_0x2711a4[_0x6d55ab(0x149)];if(!_0x1a4def)_0x1a4def=_0x231131[_0x6d55ab(0x17c)](uuidv4),_0x2711a4[_0x6d55ab(0x149)]=_0x1a4def;else _0x2711a4[_0x6d55ab(0x1d1)]&&(_0x1a4def=_0x231131[_0x6d55ab(0x17c)](uuidv4),_0x2711a4[_0x6d55ab(0x149)]=_0x1a4def,delete _0x2711a4[_0x6d55ab(0x1d1)]);_0x231131[_0x6d55ab(0x1a8)](_0x341753,_0x231131['nkRlc'])&&(_0x2711a4['started_at']=new Date()[_0x6d55ab(0x185)]());const _0x269b84=_0x231131[_0x6d55ab(0x1a6)](getTestIdentifierForHook,_0x2711a4);!global['__workerDetails']&&(global[_0x6d55ab(0x188)]={});if(_0x231131['UKymD'](_0x341753,_0x231131[_0x6d55ab(0x183)])){global['__workerDetails'][_0x6d55ab(0x179)]={'hookUUID':_0x1a4def,'testIdentifier':_0x269b84,'hookType':_0x2711a4[_0x6d55ab(0x12f)],'startedAt':new Date()['toISOString']()};const _0x2e59e4=BrowserstackCLI[_0x6d55ab(0x196)]()[_0x6d55ab(0x180)]();_0x2e59e4&&_0x2e59e4[_0x6d55ab(0x173)]&&_0x2e59e4[_0x6d55ab(0x173)](_0x269b84,_0x1a4def,_0x2711a4[_0x6d55ab(0x12f)]);}const _0xf6340=await jestUtils['createHookData'](_0x2711a4,_0x1a4def,_0x341753,_0x269b84);if(!_0xf6340)return;const _0x166173=_0x231131['dCyWD'](mapHookTypeToState,_0x2711a4[_0x6d55ab(0x12f)]),_0x55ebee=_0x231131['UKymD'](_0x341753,_0x231131[_0x6d55ab(0x183)])?HookState['PRE']:HookState['POST'],_0x52b019=BrowserstackCLI[_0x6d55ab(0x196)]()['getTestFramework']();if(_0x52b019){const _0x94a92f={};_0x94a92f[_0x6d55ab(0x172)]=_0xf6340,await _0x52b019[_0x6d55ab(0x157)](_0x166173,_0x55ebee,_0x94a92f);if(_0x231131[_0x6d55ab(0x19a)](_0x341753,_0x231131[_0x6d55ab(0x1af)])){const _0x5c237e={};_0x5c237e[_0x6d55ab(0x1c5)]=_0x269b84,_0x5c237e[_0x6d55ab(0x12f)]=_0x231131[_0x6d55ab(0x1be)],await _0x52b019[_0x6d55ab(0x157)](TestFrameworkState[_0x6d55ab(0x1a2)],HookState['POST'],_0x5c237e),global[_0x6d55ab(0x188)]&&global['__workerDetails'][_0x6d55ab(0x179)]&&_0x231131[_0x6d55ab(0x13b)](global[_0x6d55ab(0x188)][_0x6d55ab(0x179)][_0x6d55ab(0x1d4)],_0x1a4def)&&delete global['__workerDetails'][_0x6d55ab(0x179)],_0x52b019[_0x6d55ab(0x1d0)]&&_0x52b019['removeActiveHook'](_0x269b84,_0x1a4def);}}}catch(_0x119f67){logger[_0x6d55ab(0x1c8)](_0x6d55ab(0x1a5)+util[_0x6d55ab(0x1c0)](_0x119f67));throw _0x119f67;}}async function handleTestEventCLI(_0x5a0645,_0x51f0d7,_0x73a1f2){const _0x31d043=a17_0x3e87eb,_0xa84b7a={};_0xa84b7a['dpqry']=function(_0x479589,_0x42cfb3){return _0x479589===_0x42cfb3;},_0xa84b7a[_0x31d043(0x19f)]=_0x31d043(0x1c6),_0xa84b7a['geqwQ']=function(_0x2c7d9c,_0x2e5178){return _0x2c7d9c>_0x2e5178;},_0xa84b7a['ctkqQ']=function(_0x1ecdbd,_0xef0cb9){return _0x1ecdbd===_0xef0cb9;},_0xa84b7a['RdTfJ']=function(_0x1d0815,_0x4048ae){return _0x1d0815&&_0x4048ae;},_0xa84b7a[_0x31d043(0x147)]=_0x31d043(0x1cc),_0xa84b7a['YUAsx']=_0x31d043(0x1b1),_0xa84b7a['bgMKu']=function(_0x55cb6e,_0x22ca55){return _0x55cb6e&&_0x22ca55;},_0xa84b7a[_0x31d043(0x1c2)]=_0x31d043(0x14d);const _0x42a9da=_0xa84b7a;logger[_0x31d043(0x190)](_0x31d043(0x189)+_0x51f0d7);try{let _0x2a4f4e;if(_0x42a9da['dpqry'](_0x51f0d7,_0x42a9da['tOHNr'])){_0x2a4f4e=jestUtils[_0x31d043(0x135)](_0x5a0645),global[_0x31d043(0x16d)]=_0x2a4f4e,_0x5a0645['testAnalyticsId']=_0x2a4f4e,_0x5a0645['id']=_0x2a4f4e,_0x5a0645['started_at']=new Date()[_0x31d043(0x185)]();const _0x237862=_0x73a1f2[_0x31d043(0x139)];_0x73a1f2[_0x31d043(0x139)]=_0x5a0645,_0x5a0645['retryOf']=null;if(_0x42a9da['geqwQ'](_0x5a0645[_0x31d043(0x13c)],0x0)&&_0x237862&&_0x42a9da['ctkqQ'](_0x237862['title'],_0x5a0645[_0x31d043(0x1b3)])){_0x5a0645[_0x31d043(0x1a3)]=_0x237862[_0x31d043(0x19c)];const _0x40efa0=await jestUtils[_0x31d043(0x13f)](_0x5a0645,_0x2a4f4e,_0x42a9da[_0x31d043(0x19f)]),_0x95b4a4=BrowserstackCLI[_0x31d043(0x196)]()[_0x31d043(0x180)]();if(_0x42a9da['RdTfJ'](_0x40efa0,_0x95b4a4)){const _0x373509={};_0x373509[_0x31d043(0x14d)]=_0x40efa0,await _0x95b4a4['trackEvent'](TestFrameworkState['TEST'],HookState[_0x31d043(0x1a4)],_0x373509);}_0x237862[_0x31d043(0x159)]=_0x42a9da[_0x31d043(0x147)];const _0x2ab823=await jestUtils[_0x31d043(0x13f)](_0x237862,_0x237862[_0x31d043(0x19c)],_0x42a9da[_0x31d043(0x14c)]);if(_0x42a9da['bgMKu'](_0x2ab823,_0x95b4a4)){const _0x3af9c1={};_0x3af9c1['test']=_0x2ab823,await _0x95b4a4[_0x31d043(0x157)](TestFrameworkState[_0x31d043(0x1a0)],HookState[_0x31d043(0x198)],_0x3af9c1);}}else{const _0x180a40=await jestUtils[_0x31d043(0x13f)](_0x5a0645,_0x2a4f4e,_0x42a9da[_0x31d043(0x19f)]),_0x3c2ed9=BrowserstackCLI[_0x31d043(0x196)]()['getTestFramework']();if(_0x42a9da[_0x31d043(0x158)](_0x180a40,_0x3c2ed9)){const _0x3014cb={};_0x3014cb[_0x31d043(0x14d)]=_0x180a40,await _0x3c2ed9[_0x31d043(0x157)](TestFrameworkState[_0x31d043(0x1a0)],HookState[_0x31d043(0x1a4)],_0x3014cb);}}}else{_0x2a4f4e=_0x5a0645[_0x31d043(0x19c)]||_0x5a0645['id']||global['__jestCurrentTestIdentifier'];const _0x5c252d=await jestUtils['createTestFrameworkData'](_0x5a0645,_0x2a4f4e,_0x51f0d7),_0x33cd27=BrowserstackCLI[_0x31d043(0x196)]()['getTestFramework']();if(_0x42a9da[_0x31d043(0x158)](_0x5c252d,_0x33cd27)){const _0x56ea3b={};_0x56ea3b['test']=_0x5c252d,_0x56ea3b[_0x31d043(0x1ce)]=_0x5a0645,await _0x33cd27['trackEvent'](TestFrameworkState[_0x31d043(0x1a0)],HookState[_0x31d043(0x198)],_0x56ea3b);const _0x16df8c={};_0x16df8c[_0x31d043(0x1c5)]=_0x2a4f4e,_0x16df8c[_0x31d043(0x12f)]=_0x42a9da[_0x31d043(0x1c2)],await _0x33cd27[_0x31d043(0x157)](TestFrameworkState['LOG_REPORT'],HookState[_0x31d043(0x198)],_0x16df8c);}}}catch(_0x3a98ec){logger['error']('Error\x20handling\x20test\x20event\x20for\x20CLI:\x20'+util['format'](_0x3a98ec));throw _0x3a98ec;}}exportsI[a17_0x3e87eb(0x153)]=(..._0x590b7e)=>{const _0x1f35f0=a17_0x3e87eb,_0x2ac19e={'ckamt':function(_0x141344,_0x5b633a,_0x74a9d){return _0x141344(_0x5b633a,_0x74a9d);},'hwQWQ':_0x1f35f0(0x19b),'fowMC':'jest-circus','mzRAn':_0x1f35f0(0x1b4),'hoVbp':function(_0x463cdf,_0x20cdfa){return _0x463cdf(_0x20cdfa);},'XNYGi':function(_0x2a312c){return _0x2a312c();},'GAhTU':function(_0x10cf05,_0x22469c,_0x5bff3f,_0x955577){return _0x10cf05(_0x22469c,_0x5bff3f,_0x955577);},'KijHD':_0x1f35f0(0x1ac),'cmLqi':_0x1f35f0(0x16b),'fNsAU':function(_0x1d63ac,_0x5a21c0){return _0x1d63ac(_0x5a21c0);},'DOnaW':function(_0x5302da){return _0x5302da();},'ipmUp':function(_0x571794,_0x4d9178,_0x39a1e2,_0x1ed9d5){return _0x571794(_0x4d9178,_0x39a1e2,_0x1ed9d5);},'kyJKX':'HookRunFinished','GkXeT':'hook_failure','shYvl':_0x1f35f0(0x199),'ypYFb':_0x1f35f0(0x18b),'oBrJb':_0x1f35f0(0x193),'AOKAo':function(_0x15042d,_0x31d6f8){return _0x15042d>_0x31d6f8;},'xPWIz':function(_0x5bcd49,_0xe91bf0){return _0x5bcd49(_0xe91bf0);},'LRscQ':_0x1f35f0(0x1b0),'gwJZM':_0x1f35f0(0x1c6),'DHqDD':_0x1f35f0(0x145),'vNeRY':function(_0x5a147a){return _0x5a147a();},'ZgClM':'TestRunFinished','bBaoF':function(_0x14e232,_0x401598){return _0x14e232(_0x401598);},'knvmQ':_0x1f35f0(0x1cf),'MoHSm':function(_0x3fc8c9){return _0x3fc8c9();},'PVkNF':function(_0x1d7b0c,_0x1a2aed,_0xee98ca,_0x2e1fce){return _0x1d7b0c(_0x1a2aed,_0xee98ca,_0x2e1fce);},'xszqW':_0x1f35f0(0x148),'rSvYd':_0x1f35f0(0x1c3),'aQJQi':_0x1f35f0(0x1d8),'psDlr':_0x1f35f0(0x12d),'OSrYt':function(_0x27fe47,_0x385584,_0x3e298f){return _0x27fe47(_0x385584,_0x3e298f);},'stWFQ':_0x1f35f0(0x17f),'UlRGg':function(_0x4e0b8d,_0x3174aa){return _0x4e0b8d(_0x3174aa);},'GWVTG':function(_0x33e750,..._0x39062b){return _0x33e750(..._0x39062b);}};try{const _0x2a87a3=new ObservabilityReporter();_0x2ac19e[_0x1f35f0(0x150)](shouldProcessEventForTesthub)&&(_0x2ac19e[_0x1f35f0(0x163)](patchConsoleLogger),_0x2a87a3[_0x1f35f0(0x17d)]()),_0x2ac19e[_0x1f35f0(0x178)](shouldProcessEventForTesthub)&&_0x2ac19e[_0x1f35f0(0x154)](requireModule,_0x2ac19e[_0x1f35f0(0x1cb)],_0x2ac19e[_0x1f35f0(0x14f)])[_0x1f35f0(0x14b)](_0x2ac19e['OSrYt'](o11yErrorHandler,async(_0x448264,_0x30ec8c)=>{const _0x57e15b=_0x1f35f0,_0x363b1c=_0x2ac19e[_0x57e15b(0x154)](requireModule,_0x2ac19e[_0x57e15b(0x168)],_0x2ac19e[_0x57e15b(0x14f)])[_0x57e15b(0x1b2)];switch(_0x448264['name']){case _0x2ac19e[_0x57e15b(0x18e)]:if(_0x2ac19e[_0x57e15b(0x1d7)](shouldProcessEventForTesthub,testHubConstants[_0x57e15b(0x176)][_0x57e15b(0x155)])){if(_0x448264[_0x57e15b(0x1ab)]['fn']&&_0x448264[_0x57e15b(0x1ab)]['fn']['toString']()[_0x57e15b(0x1aa)](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x2ac19e['XNYGi'](isCLIReady))try{await _0x2ac19e[_0x57e15b(0x169)](handleHookEventCLI,_0x448264[_0x57e15b(0x1ab)],_0x2ac19e[_0x57e15b(0x143)],_0x30ec8c);break;}catch(_0xce22b6){_0x2ac19e['hoVbp'](debug,_0x57e15b(0x1bc)+util[_0x57e15b(0x1c0)](_0xce22b6));}if(!_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x149)]){const _0xed09b=TestDetails['setTestUUID'](process[_0x57e15b(0x15c)]+_0x57e15b(0x1bb));_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x149)]=_0xed09b;}else _0x448264['hook'][_0x57e15b(0x1d1)]&&(_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x149)]=TestDetails[_0x57e15b(0x141)](process[_0x57e15b(0x15c)]+_0x57e15b(0x1bb)),delete _0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x1d1)]);_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x130)]=new Date()[_0x57e15b(0x185)](),await _0x2a87a3[_0x57e15b(0x19e)](_0x448264[_0x57e15b(0x1ab)],undefined,![],_0x2ac19e[_0x57e15b(0x143)]);}break;case _0x2ac19e[_0x57e15b(0x192)]:if(_0x2ac19e[_0x57e15b(0x15b)](shouldProcessEventForTesthub,testHubConstants[_0x57e15b(0x176)][_0x57e15b(0x197)])){if(BrowserstackCLI['getInstance']()[_0x57e15b(0x160)]()&&await _0x2ac19e['DOnaW'](isCLIReady))try{await _0x2ac19e['ipmUp'](handleHookEventCLI,_0x448264[_0x57e15b(0x1ab)],_0x2ac19e['kyJKX'],_0x30ec8c);break;}catch(_0x3b4034){_0x2ac19e[_0x57e15b(0x1d7)](debug,_0x57e15b(0x1bc)+util[_0x57e15b(0x1c0)](_0x3b4034));}await _0x2a87a3[_0x57e15b(0x19e)](_0x448264[_0x57e15b(0x1ab)],undefined,![],_0x2ac19e['kyJKX']),TestDetails[_0x57e15b(0x14e)](process[_0x57e15b(0x15c)]+':hookAnalyticsId');}break;case _0x2ac19e[_0x57e15b(0x171)]:[_0x2ac19e[_0x57e15b(0x1a7)],_0x2ac19e['ypYFb'],_0x2ac19e['oBrJb']][_0x57e15b(0x175)](_0x448264[_0x57e15b(0x1ab)]['type'])&&(_0x2a87a3['hook_failure']=_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x12f)]),_0x30ec8c['unhandledErrors']&&_0x2ac19e[_0x57e15b(0x12e)](_0x30ec8c[_0x57e15b(0x1a1)][_0x57e15b(0x151)],0x0)&&(_0x448264[_0x57e15b(0x1ab)][_0x57e15b(0x146)]=[_0x30ec8c[_0x57e15b(0x1a1)][0x0][0x0]]);if(_0x2ac19e[_0x57e15b(0x186)](shouldProcessEventForTesthub,testHubConstants[_0x57e15b(0x176)][_0x57e15b(0x197)])){if(BrowserstackCLI[_0x57e15b(0x196)]()['isCliEnabled']()&&await _0x2ac19e[_0x57e15b(0x16f)](isCLIReady))try{await _0x2ac19e[_0x57e15b(0x17a)](handleHookEventCLI,_0x448264[_0x57e15b(0x1ab)],_0x2ac19e[_0x57e15b(0x142)],_0x30ec8c);break;}catch(_0x413d56){_0x2ac19e[_0x57e15b(0x186)](debug,_0x57e15b(0x1bc)+util[_0x57e15b(0x1c0)](_0x413d56));}await _0x2a87a3['sendTestRunEvent'](_0x448264[_0x57e15b(0x1ab)],undefined,![],_0x2ac19e[_0x57e15b(0x142)]),TestDetails[_0x57e15b(0x14e)](process[_0x57e15b(0x15c)]+_0x57e15b(0x1bb));}break;case _0x2ac19e[_0x57e15b(0x1ca)]:if(_0x2ac19e[_0x57e15b(0x163)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x57e15b(0x196)]()['isCliEnabled']()&&await _0x2ac19e[_0x57e15b(0x163)](isCLIReady))try{await _0x2ac19e[_0x57e15b(0x169)](handleTestEventCLI,_0x448264['test'],_0x2ac19e[_0x57e15b(0x138)],_0x2a87a3);break;}catch(_0x367e26){_0x2ac19e['xPWIz'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x57e15b(0x1c0)](_0x367e26));}await _0x2a87a3[_0x57e15b(0x17e)](_0x448264['test']);}break;case _0x2ac19e[_0x57e15b(0x1b6)]:_0x448264['test']={..._0x2ac19e[_0x57e15b(0x15b)](_0x363b1c,_0x448264['test']),..._0x448264['test']};if(_0x2ac19e['XNYGi'](shouldProcessEventForTesthub)){if(!_0x448264['test']['markedStatus']){_0x448264['test'][_0x57e15b(0x1d1)]=!![];if(BrowserstackCLI['getInstance']()[_0x57e15b(0x160)]()&&await _0x2ac19e[_0x57e15b(0x150)](isCLIReady))try{await _0x2ac19e[_0x57e15b(0x17a)](handleTestEventCLI,_0x448264[_0x57e15b(0x14d)],_0x2ac19e[_0x57e15b(0x165)],_0x2a87a3);break;}catch(_0xdb5f4){_0x2ac19e[_0x57e15b(0x1d2)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x57e15b(0x1c0)](_0xdb5f4));}await _0x2a87a3[_0x57e15b(0x19e)](_0x448264[_0x57e15b(0x14d)]);}}break;case _0x2ac19e[_0x57e15b(0x18c)]:_0x448264[_0x57e15b(0x14d)]={..._0x2ac19e[_0x57e15b(0x1d2)](_0x363b1c,_0x448264['test']),..._0x448264[_0x57e15b(0x14d)]};if(_0x2ac19e[_0x57e15b(0x178)](shouldProcessEventForTesthub)){if(!_0x448264[_0x57e15b(0x14d)][_0x57e15b(0x1d1)]){_0x448264['test']['markedStatus']=!![];if(BrowserstackCLI['getInstance']()[_0x57e15b(0x160)]()&&await _0x2ac19e[_0x57e15b(0x16f)](isCLIReady))try{await _0x2ac19e[_0x57e15b(0x1b5)](handleTestEventCLI,_0x448264[_0x57e15b(0x14d)],_0x2ac19e[_0x57e15b(0x14a)],_0x2a87a3);break;}catch(_0x4546d1){_0x2ac19e[_0x57e15b(0x186)](debug,_0x57e15b(0x1bc)+util[_0x57e15b(0x1c0)](_0x4546d1));}await _0x2a87a3[_0x57e15b(0x19e)](_0x448264[_0x57e15b(0x14d)],undefined,![],_0x2ac19e[_0x57e15b(0x14a)]);}}break;case _0x2ac19e['rSvYd']:_0x2a87a3['hook_failure']=null;break;case _0x2ac19e[_0x57e15b(0x167)]:await RequestQueueHandler[_0x57e15b(0x196)]()[_0x57e15b(0x15d)](),process[_0x57e15b(0x13a)]();break;default:}},_0x2ac19e['stWFQ']));}catch(_0x347dd3){_0x2ac19e[_0x1f35f0(0x162)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x347dd3);}return _0x2ac19e[_0x1f35f0(0x1d5)](initInitialize,..._0x590b7e);};try{Object[a17_0x3e87eb(0x194)](exportsI)[a17_0x3e87eb(0x1ba)](_0x4cd727=>{const _0x50a9f5=a17_0x3e87eb,_0x1674a4={'CAFjm':function(_0x20bd79,_0x2cae2b){return _0x20bd79(_0x2cae2b);}};try{exports&&(exports[_0x4cd727]=exportsI[_0x4cd727]);}catch(_0xef2422){_0x1674a4[_0x50a9f5(0x1bf)](debug,_0x50a9f5(0x177)+_0xef2422);}});}catch(a17_0x24cca5){debug(a17_0x3e87eb(0x170)+a17_0x24cca5);}
|
|
1
|
+
const a17_0x28ace8=a17_0xb1fa;(function(_0x17588d,_0x57a606){const _0x4c2cf4=a17_0xb1fa,_0x4a19b0=_0x17588d();while(!![]){try{const _0x50fb82=-parseInt(_0x4c2cf4(0x104))/0x1+parseInt(_0x4c2cf4(0xc1))/0x2*(-parseInt(_0x4c2cf4(0x106))/0x3)+-parseInt(_0x4c2cf4(0x100))/0x4+parseInt(_0x4c2cf4(0xcc))/0x5+parseInt(_0x4c2cf4(0x138))/0x6*(parseInt(_0x4c2cf4(0x131))/0x7)+parseInt(_0x4c2cf4(0x13e))/0x8*(-parseInt(_0x4c2cf4(0xea))/0x9)+parseInt(_0x4c2cf4(0x140))/0xa;if(_0x50fb82===_0x57a606)break;else _0x4a19b0['push'](_0x4a19b0['shift']());}catch(_0x5a1767){_0x4a19b0['push'](_0x4a19b0['shift']());}}}(a17_0x2fcb,0x81bf5));const {requireModule}=require(a17_0x28ace8(0xc0)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x28ace8(0x142)),TestDetails=require(a17_0x28ace8(0xe1)),{patchConsoleLogger,debug}=require(a17_0x28ace8(0xd4)),{o11yErrorHandler}=require(a17_0x28ace8(0x13b)),{shouldProcessEventForTesthub}=require(a17_0x28ace8(0xfe)),testHubConstants=require(a17_0x28ace8(0xc7)),BrowserstackCLI=require(a17_0x28ace8(0xe0)),TestFrameworkState=require('../../v2/state/testFrameworkState'),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x28ace8(0xb2)),{v4:uuidv4}=require(a17_0x28ace8(0xd9)),util=require(a17_0x28ace8(0xe2)),logger=require(a17_0x28ace8(0xf2))[a17_0x28ace8(0xfc)],{FRAMEWORKS}=require(a17_0x28ace8(0xa6)),exportsI=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js',a17_0x28ace8(0x10e)),initInitialize=exportsI[a17_0x28ace8(0x110)],jestUtils=new JestUtils();function a17_0x2fcb(){const _0x4353d2=['trackEvent','BEFORE_EACH','setActiveHook','hookAnalyticsId','qwDys','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','jest-circus/build/state.js','HbznC','isCliEnabled','147auEFrr','shutdown','toISOString','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','started_at','createTestFrameworkData','currentHook','266004ourFGM','format','pid','../../../helpers/test-observability/error-handler','VniVS','qABGp','152OidqvG','setTestUUID','15126200nhgPOH','state','../../../helpers/test-observability/requestQueueHandler','gvNve','OMTJJ','GRSxX','POST','Error\x20routing\x20to\x20JestTestFramework:\x20','TestRunStarted','gvXEo','MJKtN','rrcvc','IYqhF','name','__jestCurrentTestIdentifier','TestRunFinished','makeSingleTestResult','hookData','PpXHC','../../utils/constants','afterAll','afterEach','DpDGj','getInstance','__workerDetails','run_describe_finish','WvWHp','TyUFJ','TEST','pnboO','hook_start','../../v2/utils/jest-utils','iygCV','hook_success','type','length','BEFORE_ALL','getTestFramework','file','wMaUh','VCqcU','DFsrZ','errorsDetailed','match','iXjSl','../../../helpers/helper','2KGETjB','AFTER_EACH','uvMuB','beforeAll','HookRunFinished','title','../../../helpers/testhub/constants','removeAllListeners','qkQhf','hook_failure','YnoMR','3056785gAVhHG','isRunning','jest-circus/build/utils.js','test_start','EVENT','LOG_REPORT','sendTestRunEvent','GrDgc','../../../helpers/test-observability/utils','testAnalyticsId','unhandledErrors','TReXQ','registerListeners','uuid','ZEzFL','asyncError','WBDuK','testStarted','pFHrY','nlTWA','../../v2/browserstackCLI','../test-observability/test-details','util','removeActiveHook','AFTER_ALL','KOgCt','TzZMD','xqWRz','MHHDv','test','325233YPOBBe','debug','_currentRetry','PRE','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','wnGZK','vnFVJ','upUEQ','../../../helpers/logger','jKidk','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','testUUID','BuhWX','aWyrc','Error\x20checking\x20CLI\x20readiness:\x20','FsqVY','\x20for\x20hook\x20type:\x20','failed','winstonLogger','HookRunStarted','../../../helpers/testhub/utils','HookFinished','2746048kBSfOy','PHKLw','hook','aEHpv','596990CAMWRc','InPJS','1660323YNNSDd','Handling\x20test\x20event\x20for\x20CLI:\x20','../../v2/cliUtils','bootstrap','NbVHA','eIVHG','toString','setFrameworkDetail','jest-circus',':hookAnalyticsId','initialize','markedStatus','IgDxB','removeTestUUID','current_test','wrGxZ','JEST','HookStarted','test_skip','addEventHandler','test_done','cMKTv','LByoH','beforeEach','parent','PTovY','Wogst','olXJh','Yjlvd','keKuD','createIdentifierFromJestTest','Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20','error','forEach'];a17_0x2fcb=function(){return _0x4353d2;};return a17_0x2fcb();}async function isCLIReady(){const _0x373147=a17_0x28ace8,_0x16f97d={'MJKtN':'CLI\x20is\x20enabled\x20and\x20running.','WvWHp':function(_0x2ab51b,_0x22e833){return _0x2ab51b(_0x22e833);},'qkQhf':_0x373147(0x108)};try{const _0x3e887c=BrowserstackCLI[_0x373147(0xaa)]();if(_0x3e887c[_0x373147(0x130)]()&&_0x3e887c[_0x373147(0xcd)]())return logger[_0x373147(0xeb)](_0x16f97d[_0x373147(0x14a)]),!![];const _0x38a8b7=process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(_0x38a8b7&&_0x3e887c[_0x373147(0x130)]()){if(!_0x3e887c[_0x373147(0xcd)]())try{const _0x12f847=_0x16f97d[_0x373147(0xad)](require,_0x16f97d[_0x373147(0xc9)]);_0x12f847[_0x373147(0x10d)](FRAMEWORKS[_0x373147(0x116)],FRAMEWORKS['PLAYWRIGHT']),await _0x3e887c[_0x373147(0x109)]();}catch(_0x320e91){return _0x16f97d['WvWHp'](debug,_0x373147(0x125)+util[_0x373147(0x139)](_0x320e91)),![];}return _0x3e887c[_0x373147(0xcd)]();}return![];}catch(_0x817b78){return _0x16f97d[_0x373147(0xad)](debug,_0x373147(0xf8)+util[_0x373147(0x139)](_0x817b78)),![];}}function getTestIdentifierForHook(_0x4712ae){const _0x4c87f8=a17_0x28ace8,_0x25b383={};_0x25b383[_0x4c87f8(0xa9)]=function(_0xd77ce3,_0x3a271e){return _0xd77ce3===_0x3a271e;},_0x25b383[_0x4c87f8(0x123)]=_0x4c87f8(0x11d),_0x25b383[_0x4c87f8(0xbb)]=function(_0x5d4a3e,_0x272adf){return _0x5d4a3e===_0x272adf;},_0x25b383[_0x4c87f8(0x13c)]=_0x4c87f8(0xc4),_0x25b383['LByoH']=function(_0x131a5f,_0x5c0bfe){return _0x131a5f===_0x5c0bfe;};const _0x3dc79f=_0x25b383;if(_0x3dc79f['DpDGj'](_0x4712ae['type'],_0x3dc79f[_0x4c87f8(0x123)])||_0x3dc79f[_0x4c87f8(0xbb)](_0x4712ae[_0x4c87f8(0xb5)],_0x3dc79f[_0x4c87f8(0x13c)])){let _0x4b6bec=global[_0x4c87f8(0xa1)];if(!_0x4b6bec&&_0x3dc79f[_0x4c87f8(0x11c)](_0x4712ae['type'],_0x3dc79f[_0x4c87f8(0x13c)])&&_0x4712ae[_0x4c87f8(0x11e)]){const _0x3718e4={};_0x3718e4[_0x4c87f8(0x14d)]=_0x4712ae[_0x4c87f8(0x11e)][_0x4c87f8(0x14d)],_0x3718e4['parent']=_0x4712ae['parent'][_0x4c87f8(0x11e)],_0x3718e4[_0x4c87f8(0xdb)]=_0x4712ae[_0x4c87f8(0xdb)],_0x3718e4['file']=_0x4712ae[_0x4c87f8(0xb9)];const _0x31af58=_0x3718e4;_0x4b6bec=jestUtils['createIdentifierFromJestTest'](_0x31af58);}return _0x4b6bec;}return global[_0x4c87f8(0xa1)];}function mapHookTypeToState(_0x34f312){const _0x3dde1f=a17_0x28ace8,_0x49cc27={};_0x49cc27[_0x3dde1f(0xc4)]=TestFrameworkState[_0x3dde1f(0xb7)],_0x49cc27[_0x3dde1f(0xa7)]=TestFrameworkState[_0x3dde1f(0xe4)],_0x49cc27[_0x3dde1f(0x11d)]=TestFrameworkState[_0x3dde1f(0x129)],_0x49cc27[_0x3dde1f(0xa8)]=TestFrameworkState[_0x3dde1f(0xc2)];const _0x3b39bf=_0x49cc27;return _0x3b39bf[_0x34f312]||TestFrameworkState[_0x3dde1f(0x129)];}function a17_0xb1fa(_0x4b8901,_0x350b84){const _0x2fcbf1=a17_0x2fcb();return a17_0xb1fa=function(_0xb1facd,_0x1362ad){_0xb1facd=_0xb1facd-0xa1;let _0xcf7b5=_0x2fcbf1[_0xb1facd];return _0xcf7b5;},a17_0xb1fa(_0x4b8901,_0x350b84);}async function handleHookEventCLI(_0x13f122,_0x9a4279,_0x567361){const _0x44715a=a17_0x28ace8,_0x4caa95={'jMPNK':function(_0x2ff3e5){return _0x2ff3e5();},'TReXQ':function(_0x228c46,_0x4ade92){return _0x228c46===_0x4ade92;},'nlTWA':_0x44715a(0xfd),'GRSxX':function(_0x4f0614,_0x1433ad){return _0x4f0614(_0x1433ad);},'ESSTN':function(_0x340a65,_0x244d68){return _0x340a65===_0x244d68;},'Shzhr':function(_0x2afd99,_0x4c4c6c){return _0x2afd99(_0x4c4c6c);},'jgqHS':function(_0x51d437,_0x47370c){return _0x51d437===_0x47370c;},'pnboO':_0x44715a(0xc5),'NbVHA':'hook','GrDgc':function(_0x174643,_0x34bacb){return _0x174643===_0x34bacb;}};logger[_0x44715a(0xeb)]('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x9a4279+_0x44715a(0xfa)+_0x13f122[_0x44715a(0xb5)]);try{if(_0x13f122['fn']&&_0x13f122['fn'][_0x44715a(0x10c)]()[_0x44715a(0xbe)](/browserstack internal helper hook/))return;let _0x5b39f4=_0x13f122[_0x44715a(0x12b)];if(!_0x5b39f4)_0x5b39f4=_0x4caa95['jMPNK'](uuidv4),_0x13f122[_0x44715a(0x12b)]=_0x5b39f4;else _0x13f122[_0x44715a(0x111)]&&(_0x5b39f4=_0x4caa95['jMPNK'](uuidv4),_0x13f122['hookAnalyticsId']=_0x5b39f4,delete _0x13f122[_0x44715a(0x111)]);_0x4caa95[_0x44715a(0xd7)](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])&&(_0x13f122[_0x44715a(0x135)]=new Date()['toISOString']());const _0x417c67=_0x4caa95[_0x44715a(0x145)](getTestIdentifierForHook,_0x13f122);!global[_0x44715a(0xab)]&&(global[_0x44715a(0xab)]={});if(_0x4caa95['ESSTN'](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])){global[_0x44715a(0xab)]['currentHook']={'hookUUID':_0x5b39f4,'testIdentifier':_0x417c67,'hookType':_0x13f122[_0x44715a(0xb5)],'startedAt':new Date()[_0x44715a(0x133)]()};const _0x2f514f=BrowserstackCLI[_0x44715a(0xaa)]()[_0x44715a(0xb8)]();_0x2f514f&&_0x2f514f['setActiveHook']&&_0x2f514f[_0x44715a(0x12a)](_0x417c67,_0x5b39f4,_0x13f122[_0x44715a(0xb5)]);}const _0x25fde2=await jestUtils['createHookData'](_0x13f122,_0x5b39f4,_0x9a4279,_0x417c67);if(!_0x25fde2)return;const _0x4ca15f=_0x4caa95['Shzhr'](mapHookTypeToState,_0x13f122[_0x44715a(0xb5)]),_0xc3be98=_0x4caa95['ESSTN'](_0x9a4279,_0x4caa95[_0x44715a(0xdf)])?HookState[_0x44715a(0xed)]:HookState[_0x44715a(0x146)],_0x2868fc=BrowserstackCLI['getInstance']()[_0x44715a(0xb8)]();if(_0x2868fc){const _0x2ef327={};_0x2ef327[_0x44715a(0xa4)]=_0x25fde2,await _0x2868fc[_0x44715a(0x128)](_0x4ca15f,_0xc3be98,_0x2ef327);if(_0x4caa95['jgqHS'](_0x9a4279,_0x4caa95[_0x44715a(0xb0)])){const _0xfd6e28={};_0xfd6e28[_0x44715a(0xf5)]=_0x417c67,_0xfd6e28['type']=_0x4caa95[_0x44715a(0x10a)],await _0x2868fc[_0x44715a(0x128)](TestFrameworkState[_0x44715a(0xd1)],HookState['POST'],_0xfd6e28),global[_0x44715a(0xab)]&&global['__workerDetails'][_0x44715a(0x137)]&&_0x4caa95[_0x44715a(0xd3)](global[_0x44715a(0xab)][_0x44715a(0x137)]['hookUUID'],_0x5b39f4)&&delete global[_0x44715a(0xab)][_0x44715a(0x137)],_0x2868fc['removeActiveHook']&&_0x2868fc[_0x44715a(0xe3)](_0x417c67,_0x5b39f4);}}}catch(_0x2c8aaa){logger[_0x44715a(0x126)](_0x44715a(0x134)+util[_0x44715a(0x139)](_0x2c8aaa));throw _0x2c8aaa;}}async function handleTestEventCLI(_0x2a51fe,_0xf2c644,_0x16fa90){const _0x554f55=a17_0x28ace8,_0x239863={};_0x239863[_0x554f55(0x122)]=function(_0x446d94,_0xe0dc84){return _0x446d94===_0xe0dc84;},_0x239863[_0x554f55(0x144)]=_0x554f55(0x148),_0x239863['uvMuB']=function(_0x3fc350,_0x199a20){return _0x3fc350>_0x199a20;},_0x239863['IgDxB']=function(_0x214cb7,_0x3a7e7c){return _0x214cb7===_0x3a7e7c;},_0x239863['KOgCt']=function(_0x557f22,_0xda442d){return _0x557f22&&_0xda442d;},_0x239863[_0x554f55(0x11f)]=_0x554f55(0xfb),_0x239863[_0x554f55(0xcb)]='TestRunFinished',_0x239863[_0x554f55(0xf1)]=function(_0x23bb02,_0x262dbe){return _0x23bb02&&_0x262dbe;},_0x239863[_0x554f55(0x101)]=function(_0x4f7770,_0x425531){return _0x4f7770&&_0x425531;},_0x239863[_0x554f55(0x11b)]=_0x554f55(0xe9);const _0x209c65=_0x239863;logger[_0x554f55(0xeb)](_0x554f55(0x107)+_0xf2c644);try{let _0x162483;if(_0x209c65[_0x554f55(0x122)](_0xf2c644,_0x209c65[_0x554f55(0x144)])){_0x162483=jestUtils[_0x554f55(0x124)](_0x2a51fe),global[_0x554f55(0xa1)]=_0x162483,_0x2a51fe[_0x554f55(0xd5)]=_0x162483,_0x2a51fe['id']=_0x162483,_0x2a51fe[_0x554f55(0x135)]=new Date()[_0x554f55(0x133)]();const _0x142c1a=_0x16fa90['current_test'];_0x16fa90[_0x554f55(0x114)]=_0x2a51fe,_0x2a51fe['retryOf']=null;if(_0x209c65[_0x554f55(0xc3)](_0x2a51fe[_0x554f55(0xec)],0x0)&&_0x142c1a&&_0x209c65[_0x554f55(0x112)](_0x142c1a[_0x554f55(0xc6)],_0x2a51fe[_0x554f55(0xc6)])){_0x2a51fe['retryOf']=_0x142c1a[_0x554f55(0xd5)];const _0x580dab=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0x209c65[_0x554f55(0x144)]),_0x577622=BrowserstackCLI['getInstance']()[_0x554f55(0xb8)]();if(_0x209c65['KOgCt'](_0x580dab,_0x577622)){const _0x49e890={};_0x49e890['test']=_0x580dab,await _0x577622[_0x554f55(0x128)](TestFrameworkState['TEST'],HookState[_0x554f55(0xed)],_0x49e890);}_0x142c1a[_0x554f55(0x141)]=_0x209c65[_0x554f55(0x11f)];const _0x4552e6=await jestUtils[_0x554f55(0x136)](_0x142c1a,_0x142c1a['testAnalyticsId'],_0x209c65['YnoMR']);if(_0x209c65['upUEQ'](_0x4552e6,_0x577622)){const _0x1d05f8={};_0x1d05f8[_0x554f55(0xe9)]=_0x4552e6,await _0x577622[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xaf)],HookState[_0x554f55(0x146)],_0x1d05f8);}}else{const _0x575137=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0x209c65[_0x554f55(0x144)]),_0x190b92=BrowserstackCLI[_0x554f55(0xaa)]()['getTestFramework']();if(_0x209c65[_0x554f55(0xe5)](_0x575137,_0x190b92)){const _0x3fb762={};_0x3fb762['test']=_0x575137,await _0x190b92['trackEvent'](TestFrameworkState[_0x554f55(0xaf)],HookState[_0x554f55(0xed)],_0x3fb762);}}}else{_0x162483=_0x2a51fe[_0x554f55(0xd5)]||_0x2a51fe['id']||global['__jestCurrentTestIdentifier'];const _0x5c9aaa=await jestUtils[_0x554f55(0x136)](_0x2a51fe,_0x162483,_0xf2c644),_0x2432bf=BrowserstackCLI[_0x554f55(0xaa)]()[_0x554f55(0xb8)]();if(_0x209c65['PHKLw'](_0x5c9aaa,_0x2432bf)){const _0x3fbbfa={};_0x3fbbfa['test']=_0x5c9aaa,_0x3fbbfa['originalTest']=_0x2a51fe,await _0x2432bf[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xaf)],HookState['POST'],_0x3fbbfa);const _0x32112d={};_0x32112d[_0x554f55(0xf5)]=_0x162483,_0x32112d[_0x554f55(0xb5)]=_0x209c65[_0x554f55(0x11b)],await _0x2432bf[_0x554f55(0x128)](TestFrameworkState[_0x554f55(0xd1)],HookState['POST'],_0x32112d);}}}catch(_0x270393){logger['error'](_0x554f55(0xee)+util['format'](_0x270393));throw _0x270393;}}exportsI[a17_0x28ace8(0x110)]=(..._0x467cb6)=>{const _0x37b59a=a17_0x28ace8,_0x5573ec={'ZEzFL':function(_0x35a787,_0x514465,_0x545247){return _0x35a787(_0x514465,_0x545247);},'PpXHC':_0x37b59a(0xce),'MHHDv':_0x37b59a(0x10e),'WBDuK':_0x37b59a(0xb1),'jKidk':function(_0x560df2,_0x1167e7){return _0x560df2(_0x1167e7);},'wMaUh':function(_0x4526f9){return _0x4526f9();},'wrGxZ':function(_0x41e42c,_0x29e1a7,_0x3aba71,_0x3a6a3b){return _0x41e42c(_0x29e1a7,_0x3aba71,_0x3a6a3b);},'Wogst':_0x37b59a(0xfd),'ZKPtj':_0x37b59a(0xb4),'hDNfu':function(_0x20a956,_0x2041ab,_0x1cd39d,_0x291914){return _0x20a956(_0x2041ab,_0x1cd39d,_0x291914);},'eIVHG':_0x37b59a(0xc5),'iXjSl':_0x37b59a(0xca),'olXJh':_0x37b59a(0xc4),'qylQr':_0x37b59a(0x11d),'qwDys':_0x37b59a(0xa8),'hKYXw':function(_0x14ffdf,_0x31acbc){return _0x14ffdf>_0x31acbc;},'iygCV':function(_0x5485fd,_0x41db8c,_0x1e20f1,_0x7342db){return _0x5485fd(_0x41db8c,_0x1e20f1,_0x7342db);},'aEHpv':function(_0x442426,_0x5ef5cf){return _0x442426(_0x5ef5cf);},'TyUFJ':_0x37b59a(0xcf),'InPJS':function(_0x180051,_0x14e74f,_0x268196,_0x15e7dd){return _0x180051(_0x14e74f,_0x268196,_0x15e7dd);},'pFHrY':_0x37b59a(0x148),'aWyrc':function(_0x5c2397,_0x270743){return _0x5c2397(_0x270743);},'psfwO':_0x37b59a(0x11a),'nZuoi':function(_0x353a09,_0x327286){return _0x353a09(_0x327286);},'FsqVY':function(_0x25cdf3){return _0x25cdf3();},'gvXEo':_0x37b59a(0xa2),'rrcvc':_0x37b59a(0x118),'TzZMD':function(_0x3b9831,_0x2a2d71){return _0x3b9831(_0x2a2d71);},'HbznC':function(_0xd8c5ef,_0x4e6274,_0x3307f6,_0x5147d4){return _0xd8c5ef(_0x4e6274,_0x3307f6,_0x5147d4);},'IYqhF':'TestRunSkipped','vnFVJ':function(_0x14c063,_0x41fb46){return _0x14c063(_0x41fb46);},'VIKEZ':_0x37b59a(0xac),'wnGZK':'teardown','gvNve':function(_0x25e65d){return _0x25e65d();},'qABGp':function(_0x335785){return _0x335785();},'nEzhf':_0x37b59a(0x12e),'BuhWX':function(_0x77c18c,_0x3cd20e,_0x321057){return _0x77c18c(_0x3cd20e,_0x321057);},'DFsrZ':'EventHandler'};try{const _0x3317bd=new ObservabilityReporter();_0x5573ec[_0x37b59a(0x143)](shouldProcessEventForTesthub)&&(_0x5573ec[_0x37b59a(0x13d)](patchConsoleLogger),_0x3317bd[_0x37b59a(0xd8)]()),_0x5573ec[_0x37b59a(0xba)](shouldProcessEventForTesthub)&&_0x5573ec[_0x37b59a(0xda)](requireModule,_0x5573ec['nEzhf'],_0x5573ec[_0x37b59a(0xe8)])[_0x37b59a(0x119)](_0x5573ec[_0x37b59a(0xf6)](o11yErrorHandler,async(_0x103904,_0x27129d)=>{const _0x2b55c7=_0x37b59a,_0x8c2fbf=_0x5573ec[_0x2b55c7(0xda)](requireModule,_0x5573ec[_0x2b55c7(0xa5)],_0x5573ec[_0x2b55c7(0xe8)])[_0x2b55c7(0xa3)];switch(_0x103904[_0x2b55c7(0x14d)]){case _0x5573ec[_0x2b55c7(0xdc)]:if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x2b55c7(0x117)])){if(_0x103904[_0x2b55c7(0x102)]['fn']&&_0x103904[_0x2b55c7(0x102)]['fn']['toString']()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI['getInstance']()[_0x2b55c7(0x130)]()&&await _0x5573ec['wMaUh'](isCLIReady))try{await _0x5573ec['wrGxZ'](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec[_0x2b55c7(0x120)],_0x27129d);break;}catch(_0x1a6e73){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x1a6e73));}if(!_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x12b)]){const _0x914504=TestDetails[_0x2b55c7(0x13f)](process[_0x2b55c7(0x13a)]+':hookAnalyticsId');_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x12b)]=_0x914504;}else _0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x111)]&&(_0x103904['hook'][_0x2b55c7(0x12b)]=TestDetails['setTestUUID'](process[_0x2b55c7(0x13a)]+':hookAnalyticsId'),delete _0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x111)]);_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0x135)]=new Date()[_0x2b55c7(0x133)](),await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x120)]);}break;case _0x5573ec['ZKPtj']:if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants[_0x2b55c7(0xd0)][_0x2b55c7(0xff)])){if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec['hDNfu'](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec['eIVHG'],_0x27129d);break;}catch(_0x14a37a){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x14a37a));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x10b)]),TestDetails[_0x2b55c7(0x113)](process[_0x2b55c7(0x13a)]+_0x2b55c7(0x10f));}break;case _0x5573ec[_0x2b55c7(0xbf)]:[_0x5573ec[_0x2b55c7(0x121)],_0x5573ec['qylQr'],_0x5573ec[_0x2b55c7(0x12c)]]['includes'](_0x103904[_0x2b55c7(0x102)]['type'])&&(_0x3317bd['hook_failure']=_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0xb5)]),_0x27129d['unhandledErrors']&&_0x5573ec['hKYXw'](_0x27129d[_0x2b55c7(0xd6)][_0x2b55c7(0xb6)],0x0)&&(_0x103904[_0x2b55c7(0x102)][_0x2b55c7(0xbd)]=[_0x27129d[_0x2b55c7(0xd6)][0x0][0x0]]);if(_0x5573ec[_0x2b55c7(0xf3)](shouldProcessEventForTesthub,testHubConstants[_0x2b55c7(0xd0)][_0x2b55c7(0xff)])){if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0xb3)](handleHookEventCLI,_0x103904[_0x2b55c7(0x102)],_0x5573ec[_0x2b55c7(0x10b)],_0x27129d);break;}catch(_0x3cf75f){_0x5573ec[_0x2b55c7(0x103)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x3cf75f));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0x102)],undefined,![],_0x5573ec[_0x2b55c7(0x10b)]),TestDetails[_0x2b55c7(0x113)](process[_0x2b55c7(0x13a)]+':hookAnalyticsId');}break;case _0x5573ec[_0x2b55c7(0xae)]:if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x2b55c7(0xaa)]()['isCliEnabled']()&&await _0x5573ec[_0x2b55c7(0xba)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x105)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0xde)],_0x3317bd);break;}catch(_0x3dcdfa){_0x5573ec[_0x2b55c7(0xf7)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x3dcdfa));}await _0x3317bd[_0x2b55c7(0xdd)](_0x103904[_0x2b55c7(0xe9)]);}break;case _0x5573ec['psfwO']:_0x103904[_0x2b55c7(0xe9)]={..._0x5573ec['nZuoi'](_0x8c2fbf,_0x103904[_0x2b55c7(0xe9)]),..._0x103904[_0x2b55c7(0xe9)]};if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(!_0x103904[_0x2b55c7(0xe9)]['markedStatus']){_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]=!![];if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xf9)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x115)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0x149)],_0x3317bd);break;}catch(_0x6873f8){_0x5573ec[_0x2b55c7(0xf3)](debug,_0x2b55c7(0x147)+util[_0x2b55c7(0x139)](_0x6873f8));}await _0x3317bd['sendTestRunEvent'](_0x103904['test']);}}break;case _0x5573ec[_0x2b55c7(0x14b)]:_0x103904['test']={..._0x5573ec[_0x2b55c7(0xe6)](_0x8c2fbf,_0x103904['test']),..._0x103904[_0x2b55c7(0xe9)]};if(_0x5573ec[_0x2b55c7(0xba)](shouldProcessEventForTesthub)){if(!_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]){_0x103904[_0x2b55c7(0xe9)][_0x2b55c7(0x111)]=!![];if(BrowserstackCLI[_0x2b55c7(0xaa)]()[_0x2b55c7(0x130)]()&&await _0x5573ec[_0x2b55c7(0xf9)](isCLIReady))try{await _0x5573ec[_0x2b55c7(0x12f)](handleTestEventCLI,_0x103904[_0x2b55c7(0xe9)],_0x5573ec[_0x2b55c7(0x14c)],_0x3317bd);break;}catch(_0x44f899){_0x5573ec[_0x2b55c7(0xf0)](debug,_0x2b55c7(0x147)+util['format'](_0x44f899));}await _0x3317bd[_0x2b55c7(0xd2)](_0x103904[_0x2b55c7(0xe9)],undefined,![],_0x5573ec[_0x2b55c7(0x14c)]);}}break;case _0x5573ec['VIKEZ']:_0x3317bd[_0x2b55c7(0xca)]=null;break;case _0x5573ec[_0x2b55c7(0xef)]:await RequestQueueHandler[_0x2b55c7(0xaa)]()[_0x2b55c7(0x132)](),process[_0x2b55c7(0xc8)]();break;default:}},_0x5573ec[_0x37b59a(0xbc)]));}catch(_0x3d6cd7){_0x5573ec[_0x37b59a(0xf0)](debug,_0x37b59a(0x12d)+_0x3d6cd7);}return _0x5573ec['nZuoi'](initInitialize,..._0x467cb6);};try{Object['keys'](exportsI)[a17_0x28ace8(0x127)](_0x12b641=>{const _0x49958e=a17_0x28ace8,_0x3f25d8={'xqWRz':function(_0xc6d154,_0x382c4d){return _0xc6d154(_0x382c4d);}};try{exports&&(exports[_0x12b641]=exportsI[_0x12b641]);}catch(_0x59d931){_0x3f25d8[_0x49958e(0xe7)](debug,_0x49958e(0xf4)+_0x59d931);}});}catch(a17_0x1f6f09){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x1f6f09);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
const a18_0x4534d6=a18_0x4b19;function a18_0x43a3(){const _0x5e7a2d=['26232nxUFaV','9sEYkjw','includes','27912iVJhcl','env','4392160rMNJWD','path','869bJHfOB','map','2sTplMv','2210275kZDAtZ','default','483467VFYmhn','300CrCUUe','7851ANRuEw','@jest/test-sequencer','868uevUNh','split','sort','exports','filter','4827168YgpOoS'];a18_0x43a3=function(){return _0x5e7a2d;};return a18_0x43a3();}(function(_0x12a4cd,_0x3a5050){const _0x29a232=a18_0x4b19,_0x5dd954=_0x12a4cd();while(!![]){try{const _0x46d95f=parseInt(_0x29a232(0x7e))/0x1*(-parseInt(_0x29a232(0x7b))/0x2)+-parseInt(_0x29a232(0x80))/0x3*(parseInt(_0x29a232(0x7f))/0x4)+parseInt(_0x29a232(0x7c))/0x5+parseInt(_0x29a232(0x75))/0x6*(parseInt(_0x29a232(0x82))/0x7)+parseInt(_0x29a232(0x87))/0x8+-parseInt(_0x29a232(0x73))/0x9*(parseInt(_0x29a232(0x77))/0xa)+-parseInt(_0x29a232(0x79))/0xb*(parseInt(_0x29a232(0x72))/0xc);if(_0x46d95f===_0x3a5050)break;else _0x5dd954['push'](_0x5dd954['shift']());}catch(_0x5a1249){_0x5dd954['push'](_0x5dd954['shift']());}}}(a18_0x43a3,0x50b97));function a18_0x4b19(_0x2e7e89,_0x2c09c5){const _0x43a3cc=a18_0x43a3();return a18_0x4b19=function(_0x4b1990,_0x4afc41){_0x4b1990=_0x4b1990-0x72;let _0x2f37ed=_0x43a3cc[_0x4b1990];return _0x2f37ed;},a18_0x4b19(_0x2e7e89,_0x2c09c5);}const Sequencer=require(a18_0x4534d6(0x81))[a18_0x4534d6(0x7d)];class CustomSequencer extends Sequencer{[a18_0x4534d6(0x84)](_0x45c523){const _0x571423=a18_0x4534d6,_0x5972a9=process[_0x571423(0x76)]['JEST_TEST_ORDER'];if(!_0x5972a9)return _0x45c523;const _0x5ae280=_0x5972a9[_0x571423(0x83)](','),_0x181a44=new Map(_0x45c523[_0x571423(0x86)](_0x4da785=>_0x5ae280[_0x571423(0x74)](_0x4da785['path']))[_0x571423(0x7a)](_0x5d0ba8=>[_0x5d0ba8[_0x571423(0x78)],_0x5d0ba8]));return _0x5ae280[_0x571423(0x7a)](_0x5cf946=>_0x181a44['get'](_0x5cf946))[_0x571423(0x86)](Boolean);}}module[a18_0x4534d6(0x85)]=CustomSequencer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a19_0x2a90c1=a19_0x4fa6;function a19_0x4fa6(_0x2deaca,_0x5ba0af){const _0x1b0ca9=a19_0x1b0c();return a19_0x4fa6=function(_0x4fa67d,_0xf9650a){_0x4fa67d=_0x4fa67d-0xac;let _0x5b20d5=_0x1b0ca9[_0x4fa67d];return _0x5b20d5;},a19_0x4fa6(_0x2deaca,_0x5ba0af);}(function(_0x219b31,_0x5bfeeb){const _0x146aac=a19_0x4fa6,_0x2f1f25=_0x219b31();while(!![]){try{const _0x4a1c31=parseInt(_0x146aac(0xba))/0x1*(parseInt(_0x146aac(0xae))/0x2)+-parseInt(_0x146aac(0xc7))/0x3*(-parseInt(_0x146aac(0xb9))/0x4)+parseInt(_0x146aac(0xb8))/0x5*(parseInt(_0x146aac(0xc1))/0x6)+-parseInt(_0x146aac(0xc8))/0x7*(parseInt(_0x146aac(0xbc))/0x8)+parseInt(_0x146aac(0xac))/0x9*(-parseInt(_0x146aac(0xb4))/0xa)+parseInt(_0x146aac(0xc3))/0xb+-parseInt(_0x146aac(0xcb))/0xc*(-parseInt(_0x146aac(0xc0))/0xd);if(_0x4a1c31===_0x5bfeeb)break;else _0x2f1f25['push'](_0x2f1f25['shift']());}catch(_0x3bcfca){_0x2f1f25['push'](_0x2f1f25['shift']());}}}(a19_0x1b0c,0xeff5f));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0xf7dd56={};function a19_0x1b0c(){const _0x5d0b9f=['2wFBfte','runTests','testEnvironmentOptions','default','value','context','350osIyjr','serial__','parallels__','LNfIq','317465LHnBvl','328tVNHWL','1701043YcGIia','serial','145384IZEZDe','_globalConfig','forEach','jest-runner','1677039xlmpzN','6psDkWL','length','315755vFuacn','defineProperty','bfSIr','__esModule','13899EjNJSR','553wkawgh','oDocr','push','156DWrDks','slice','freeze','config','Kxtxb','false','368136ZToJLG','exports'];a19_0x1b0c=function(){return _0x5d0b9f;};return a19_0x1b0c();}a19_0xf7dd56[a19_0x2a90c1(0xb2)]=!![],Object[a19_0x2a90c1(0xc4)](exports,a19_0x2a90c1(0xc6),a19_0xf7dd56),exports[a19_0x2a90c1(0xb1)]=void 0x0;function _interopRequireDefault(_0x547cd5){const _0xf4f365=a19_0x2a90c1;return _0x547cd5&&_0x547cd5[_0xf4f365(0xc6)]?_0x547cd5:{'default':_0x547cd5};}const JestRunner=_interopRequireDefault(requireModule(a19_0x2a90c1(0xbf)))[a19_0x2a90c1(0xb1)];class TestRunner extends JestRunner{constructor(..._0x1cfc79){super(..._0x1cfc79);}[a19_0x2a90c1(0xaf)](..._0x3477cf){const _0x10e2aa=a19_0x2a90c1,_0x525b48={'oDocr':function(_0x56d5ef){return _0x56d5ef();},'bfSIr':function(_0x32b59e,_0x20ca2f){return _0x32b59e-_0x20ca2f;},'Kxtxb':function(_0x57cf06,_0x37a989){return _0x57cf06*_0x37a989;},'YtKmX':function(_0x2b7d8d,_0x6cb39e){return _0x2b7d8d===_0x6cb39e;},'xBcfK':_0x10e2aa(0xd0),'LNfIq':function(_0x551003,_0xe09912){return _0x551003<_0xe09912;}};if(!_0x525b48[_0x10e2aa(0xc9)](isBrowserstackInfra))return super['runTests'](..._0x3477cf);const _0x4281bd=_0x3477cf[0x0],_0x2adcc9=_0x3477cf[_0x525b48[_0x10e2aa(0xc5)](_0x3477cf[_0x10e2aa(0xc2)],0x1)],_0x209576=_0x4281bd[0x0][_0x10e2aa(0xb3)][_0x10e2aa(0xce)]['testEnvironmentOptions']['capabilities'],_0x8c2243=_0x4281bd[0x0][_0x10e2aa(0xb3)][_0x10e2aa(0xce)][_0x10e2aa(0xb0)][_0x10e2aa(0xb6)];_0x8c2243&&(this[_0x10e2aa(0xbd)]=Object[_0x10e2aa(0xcd)]({...this[_0x10e2aa(0xbd)],'maxWorkers':_0x525b48[_0x10e2aa(0xcf)](_0x8c2243,_0x209576['length'])}));_0x525b48['YtKmX'](_0x4281bd[0x0][_0x10e2aa(0xb3)]['config'][_0x10e2aa(0xb0)][_0x10e2aa(0xb5)],_0x525b48['xBcfK'])&&(_0x2adcc9&&(_0x2adcc9[_0x10e2aa(0xbb)]=![]));const _0x51d7ae=[];for(let _0x94afb9=0x0;_0x525b48[_0x10e2aa(0xb7)](_0x94afb9,_0x4281bd['length']);_0x94afb9++){const _0x17816f=[];_0x209576[_0x10e2aa(0xbe)]((_0x56e45b,_0xfe03c5)=>{const _0x229cd3=_0x10e2aa,_0x357eb7={..._0x4281bd[_0x94afb9]},_0x5f4895=_0x357eb7;_0x5f4895[_0x229cd3(0xb3)]=Object[_0x229cd3(0xcd)]({..._0x5f4895[_0x229cd3(0xb3)],'config':{..._0x5f4895[_0x229cd3(0xb3)][_0x229cd3(0xce)],'capability':_0x56e45b,'browserstackPlatformIndex':_0xfe03c5}}),_0x17816f[_0x229cd3(0xca)](_0x5f4895);}),_0x51d7ae[_0x10e2aa(0xca)](..._0x17816f);}return super[_0x10e2aa(0xaf)](_0x51d7ae,..._0x3477cf[_0x10e2aa(0xcc)](0x1));}}module[a19_0x2a90c1(0xad)]=TestRunner;
|