browserstack-node-sdk 1.50.2 → 1.50.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/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
|
-
const
|
|
1
|
+
function a10_0x1f11(_0x2ef79a,_0x1fda36){const _0x37af6d=a10_0x37af();return a10_0x1f11=function(_0x1f11e1,_0x23c375){_0x1f11e1=_0x1f11e1-0x1c9;let _0x28b658=_0x37af6d[_0x1f11e1];return _0x28b658;},a10_0x1f11(_0x2ef79a,_0x1fda36);}const a10_0x26a7c4=a10_0x1f11;(function(_0xf2b2e4,_0xd8703){const _0xcd5291=a10_0x1f11,_0x5e3789=_0xf2b2e4();while(!![]){try{const _0x3dcac9=parseInt(_0xcd5291(0x1f7))/0x1+parseInt(_0xcd5291(0x1e7))/0x2*(parseInt(_0xcd5291(0x1d4))/0x3)+-parseInt(_0xcd5291(0x1e3))/0x4+-parseInt(_0xcd5291(0x1d6))/0x5+parseInt(_0xcd5291(0x1f4))/0x6+parseInt(_0xcd5291(0x1e5))/0x7+-parseInt(_0xcd5291(0x1ed))/0x8;if(_0x3dcac9===_0xd8703)break;else _0x5e3789['push'](_0x5e3789['shift']());}catch(_0x145ead){_0x5e3789['push'](_0x5e3789['shift']());}}}(a10_0x37af,0x3a3cb));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x26a7c4(0x1ca)),setKeepAlive=require(a10_0x26a7c4(0x1d2)),cucumberModule=requireModule(a10_0x26a7c4(0x1d1),a10_0x26a7c4(0x1f1)),logger=require(a10_0x26a7c4(0x1e8))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a10_0x26a7c4(0x1cd)],configuration=process[a10_0x26a7c4(0x1e0)][a10_0x26a7c4(0x1dd)];if(configuration!==undefined){const config=JSON[a10_0x26a7c4(0x1cf)](configuration);isTrue(config['skipSessionName'])&&(global[a10_0x26a7c4(0x1e6)]=!![]),global[a10_0x26a7c4(0x1db)]=isTrue(config['skipSessionStatus']),require(a10_0x26a7c4(0x1f3))[a10_0x26a7c4(0x1d8)](config),global['__platformCaps']=config['platformCaps']||{};}global[a10_0x26a7c4(0x1d9)]=0x0;const __setDefaultTimeout=cucumberModule[a10_0x26a7c4(0x1e4)];cucumberModule['setDefaultTimeout']=_0x2bb448=>{const _0x2a3fe3=a10_0x26a7c4,_0x3cc472={'begyy':function(_0x40dca8,_0x17bdf3){return _0x40dca8(_0x17bdf3);}};global[_0x2a3fe3(0x1d9)]=_0x2bb448,_0x3cc472[_0x2a3fe3(0x1ce)](__setDefaultTimeout,_0x2bb448);};const a10_0xf230a1={};a10_0xf230a1[a10_0x26a7c4(0x1cb)]='bstack',Before(a10_0xf230a1,function(){const _0x5e556f=a10_0x26a7c4,_0x2e1908={};_0x2e1908[_0x5e556f(0x1df)]='Inside\x20browserstack\x20Before';const _0x292672=_0x2e1908;logger[_0x5e556f(0x1f6)](_0x292672[_0x5e556f(0x1df)]),global[_0x5e556f(0x1ee)]=[];});const a10_0x1daed8={};a10_0x1daed8[a10_0x26a7c4(0x1cb)]=a10_0x26a7c4(0x1eb),a10_0x1daed8[a10_0x26a7c4(0x1d7)]=0x2710,After(a10_0x1daed8,function(_0x4975fb,_0x4ba87d){const _0xc5acbe=a10_0x26a7c4,_0x41fbd3={'JbMRn':function(_0x4092cb,_0x44b279){return _0x4092cb===_0x44b279;},'urwVO':_0xc5acbe(0x1cc),'YMomK':function(_0x24e1eb,_0x82aa1a,_0x534617,_0x50d91a){return _0x24e1eb(_0x82aa1a,_0x534617,_0x50d91a);},'AKXze':'\x20|\x20','KUMFB':function(_0x6a615d,_0x5ba965,_0x3c1416){return _0x6a615d(_0x5ba965,_0x3c1416);},'uazSn':_0xc5acbe(0x1de),'Kifnk':function(_0x96caa0){return _0x96caa0();},'OuExH':function(_0x36953c,_0x4d78b7){return _0x36953c(_0x4d78b7);},'KZGIe':function(_0x2032cd){return _0x2032cd();},'vhwlE':'Inside\x20browserstack\x20After'};logger[_0xc5acbe(0x1f6)](_0x41fbd3['vhwlE']),new Promise(async(_0x39d6ea,_0x425066)=>{const _0x576129=_0xc5acbe;let _0x582bc2=![];try{await global[_0x576129(0x1e1)]['session_'],_0x582bc2=!![],!global['__skipSessionName']&&await global['__driver']['executeScript'](_0x576129(0x1da)+_0x4975fb['pickle'][_0x576129(0x1cb)]+_0x576129(0x1ec)),_0x41fbd3[_0x576129(0x1c9)](_0x4975fb[_0x576129(0x1e2)][_0x576129(0x1e9)]['toLowerCase'](),_0x41fbd3[_0x576129(0x1d3)])?await _0x41fbd3[_0x576129(0x1f2)](markSessionStatus,global[_0x576129(0x1e1)],_0x41fbd3[_0x576129(0x1d3)],global['__error_messages__']['join'](_0x41fbd3[_0x576129(0x1ea)])):await _0x41fbd3['KUMFB'](markSessionStatus,global[_0x576129(0x1e1)],_0x41fbd3[_0x576129(0x1dc)]);}catch(_0x28bea4){logger[_0x576129(0x1f6)](_0x576129(0x1ef)+_0x28bea4);}if(_0x582bc2)try{await global[_0x576129(0x1e1)][_0x576129(0x1d5)](),_0x41fbd3[_0x576129(0x1f0)](_0x39d6ea);}catch(_0x451c54){logger[_0x576129(0x1f6)](_0x576129(0x1d0)+_0x451c54),_0x41fbd3[_0x576129(0x1f5)](_0x425066,_0x451c54);}else _0x41fbd3[_0x576129(0x1f8)](_0x425066);})['then'](()=>_0x4ba87d());});function a10_0x37af(){const _0x322d33=['JbMRn','../../helpers/helper','name','failed','After','begyy','parse','Error:\x20quiting\x20at\x20After:\x20','cucumber/lib/index.js','../../helpers/setKeepAlive','urwVO','1743kyIfUk','initQuit','2072455JJOVMO','timeout','browserstackAgentV2','__timeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','__skipSessionStatus','uazSn','CONFIG','passed','hEbxa','env','__driver','result','1619368VluCLi','setDefaultTimeout','1366596OYstzg','__skipSessionName','1286MagcaP','../../helpers/logger','status','AKXze','bstack','\x22}}','1526824VSgOnD','__error_messages__','Error:\x20setting\x20status\x20at\x20After:\x20','Kifnk','cucumber','YMomK','../../index','2526294kdAyhy','OuExH','debug','258865todRzR','KZGIe'];a10_0x37af=function(){return _0x322d33;};return a10_0x37af();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x126824=a11_0x3e09;(function(_0x2978e7,_0x5102c0){const _0x4a309c=a11_0x3e09,_0x48e9f7=_0x2978e7();while(!![]){try{const _0x3ee3e3=-parseInt(_0x4a309c(0x185))/0x1+parseInt(_0x4a309c(0x182))/0x2+parseInt(_0x4a309c(0x187))/0x3*(-parseInt(_0x4a309c(0x180))/0x4)+parseInt(_0x4a309c(0x188))/0x5*(parseInt(_0x4a309c(0x189))/0x6)+-parseInt(_0x4a309c(0x186))/0x7+parseInt(_0x4a309c(0x181))/0x8*(parseInt(_0x4a309c(0x183))/0x9)+-parseInt(_0x4a309c(0x17e))/0xa;if(_0x3ee3e3===_0x5102c0)break;else _0x48e9f7['push'](_0x48e9f7['shift']());}catch(_0x2ee66a){_0x48e9f7['push'](_0x48e9f7['shift']());}}}(a11_0x9d91,0xcdcdf));const {requireModule}=require(a11_0x126824(0x17d)),constants=require(a11_0x126824(0x17b));function a11_0x3e09(_0x5e0856,_0x13a68a){const _0x9d9118=a11_0x9d91();return a11_0x3e09=function(_0x3e0940,_0x1d6738){_0x3e0940=_0x3e0940-0x179;let _0x1ffeb8=_0x9d9118[_0x3e0940];return _0x1ffeb8;},a11_0x3e09(_0x5e0856,_0x13a68a);}function a11_0x9d91(){const _0x4a12c9=['2636630tQSNKT','cucumber/lib/index.js','12ixYNqz','853032UOYuKy','2636796uwceFv','117okAINm','setDefaultTimeout','312926tfwvFp','8987286cfCRVn','569139TEKuIA','785TTVruI','21708kVhSyb','__timeout','@cucumber/cucumber','../utils/constants','@cucumber/cucumber/lib/index.js','../../helpers/helper'];a11_0x9d91=function(){return _0x4a12c9;};return a11_0x9d91();};let cucumberModule=null;try{cucumberModule=requireModule(a11_0x126824(0x17c),a11_0x126824(0x17a));}catch(a11_0x3142d9){cucumberModule=requireModule(a11_0x126824(0x17f),'cucumber');}cucumberModule[a11_0x126824(0x184)](constants['BSTACK_DELTA']+global[a11_0x126824(0x179)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a12_0x550224=a12_0x393f;(function(_0x28a364,_0x2e0d8b){const _0x3915bd=a12_0x393f,_0x5ec288=_0x28a364();while(!![]){try{const _0x48060c=-parseInt(_0x3915bd(0x8e))/0x1+-parseInt(_0x3915bd(0x78))/0x2*(-parseInt(_0x3915bd(0xa0))/0x3)+parseInt(_0x3915bd(0x85))/0x4+-parseInt(_0x3915bd(0xab))/0x5*(parseInt(_0x3915bd(0xb0))/0x6)+parseInt(_0x3915bd(0x70))/0x7+parseInt(_0x3915bd(0xa8))/0x8*(-parseInt(_0x3915bd(0xa4))/0x9)+parseInt(_0x3915bd(0x6f))/0xa*(parseInt(_0x3915bd(0xaf))/0xb);if(_0x48060c===_0x2e0d8b)break;else _0x5ec288['push'](_0x5ec288['shift']());}catch(_0x5dddef){_0x5ec288['push'](_0x5ec288['shift']());}}}(a12_0xd0b7,0xda1a2));const {default:BrowserStackSetup}=require(a12_0x550224(0xa6)),logger=require(a12_0x550224(0x7e))[a12_0x550224(0x9a)],{URL}=require('url'),helper=require(a12_0x550224(0x6d)),{HELP_MESSAGES,ERROR_MESSAGES}=require('./constants'),validHosts=function(_0x19df27){return _0x19df27['split'](',')['every'](_0x580983=>{const _0x3438bb=a12_0x393f;try{new URL(_0x580983[_0x3438bb(0xa3)]());}catch(_0x2d0e2d){return![];}return!![];});},parseOnPremHosts=function(_0x4d2ad1){const _0x2758e4=a12_0x550224,_0x35a61e={};_0x35a61e[_0x2758e4(0xa1)]=function(_0x2b6d76,_0x5c1ad1){return _0x2b6d76===_0x5c1ad1;},_0x35a61e[_0x2758e4(0x74)]=_0x2758e4(0x76),_0x35a61e[_0x2758e4(0x8c)]=_0x2758e4(0xa9),_0x35a61e[_0x2758e4(0x75)]=_0x2758e4(0x91);const _0x5cefe9=_0x35a61e;return _0x4d2ad1[_0x2758e4(0x6c)](',')[_0x2758e4(0x7c)](_0x1bd859=>{const _0x3f0a03=_0x2758e4,_0xb134f4=new URL(_0x1bd859['trim']()),_0x5df9d3=_0xb134f4[_0x3f0a03(0xa7)],_0x2d6235=_0xb134f4[_0x3f0a03(0x98)]||(_0x5cefe9[_0x3f0a03(0xa1)](_0xb134f4[_0x3f0a03(0x93)],_0x5cefe9[_0x3f0a03(0x74)])?_0x5cefe9[_0x3f0a03(0x8c)]:'80'),_0x2fb894=_0xb134f4[_0x3f0a03(0x93)][_0x3f0a03(0x94)](':',''),_0x1592ec=_0x5cefe9[_0x3f0a03(0xa1)](_0x2fb894,_0x5cefe9[_0x3f0a03(0x75)])?0x1:0x0;return _0x5df9d3+','+_0x2d6235+','+_0x1592ec;});},connectCommandBuilder=function(_0x44070c){const _0x44f4b3=a12_0x550224,_0xe067de={};_0xe067de[_0x44f4b3(0x69)]=_0x44f4b3(0x6e);const _0x5e73db=_0xe067de,_0x41b908={};_0x41b908[_0x44f4b3(0x96)]=HELP_MESSAGES[_0x44f4b3(0x73)][_0x44f4b3(0x9e)],_0x41b908['type']=_0x5e73db['kscbf'];const _0x3a1664={};_0x3a1664[_0x44f4b3(0x96)]=HELP_MESSAGES['options'][_0x44f4b3(0x80)],_0x3a1664[_0x44f4b3(0x95)]=_0x5e73db[_0x44f4b3(0x69)],_0x3a1664['demandOption']=!![];const _0x3425f2={};return _0x3425f2[_0x44f4b3(0x8b)]=_0x41b908,_0x3425f2[_0x44f4b3(0x80)]=_0x3a1664,_0x44070c['options'](_0x3425f2);},connectCommandHandler=async function(_0x2d5f9d){const _0x35ea05=a12_0x550224,_0x2beca5={'bylZT':'integrations','SrGOG':function(_0x5e191e,_0x26645b){return _0x5e191e===_0x26645b;},'sbNvY':'undefined','fOptR':'BrowserStack\x20access\x20key\x20missing.','gMHTk':_0x35ea05(0x7f),'lLMaZ':function(_0x5c9816,_0x4b1dec){return _0x5c9816(_0x4b1dec);},'agnIH':_0x35ea05(0x7d),'NpqfR':_0x35ea05(0x8a),'rJMvz':_0x35ea05(0xad),'HkhjN':_0x35ea05(0x97)};try{const _0x440dce=new BrowserStackSetup(_0x2d5f9d,_0x2beca5[_0x35ea05(0xae)]);_0x2d5f9d[_0x35ea05(0xa5)]&&(_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0xac)]=_0x2d5f9d[_0x35ea05(0xa5)]);if(_0x2beca5[_0x35ea05(0x90)](typeof _0x440dce['config'][_0x35ea05(0xac)],_0x2beca5['sbNvY'])){logger[_0x35ea05(0xb2)](_0x2beca5[_0x35ea05(0xb1)]);throw new Error(ERROR_MESSAGES['bstackAccessKey'][_0x35ea05(0x9c)]);}const _0x57e61c=_0x2d5f9d[_0x35ea05(0x80)];if(_0x2beca5[_0x35ea05(0x90)](typeof _0x57e61c,_0x2beca5[_0x35ea05(0x99)])){logger['error'](_0x2beca5[_0x35ea05(0x77)]);throw new Error(ERROR_MESSAGES['hosts'][_0x35ea05(0x9c)]);}if(!_0x2beca5[_0x35ea05(0x79)](validHosts,_0x57e61c)){logger[_0x35ea05(0xb2)](_0x2beca5[_0x35ea05(0x7a)]);throw new Error(ERROR_MESSAGES[_0x35ea05(0x80)]['invalid']);}const _0x1cfc37=_0x2beca5['lLMaZ'](parseOnPremHosts,_0x57e61c);_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0x6b)]=!![],_0x440dce[_0x35ea05(0x9f)][_0x35ea05(0x87)][_0x35ea05(0x6a)]=_0x2beca5[_0x35ea05(0x86)],_0x440dce[_0x35ea05(0x9f)]['browserStackLocalOptions'][_0x35ea05(0x89)]=_0x1cfc37['join'](','),helper['setProxySettings'](_0x440dce['config']),await _0x440dce[_0x35ea05(0x84)](),logger[_0x35ea05(0x8d)](_0x2beca5[_0x35ea05(0x82)]);}catch(_0x30add){logger['error'](_0x2beca5[_0x35ea05(0x81)]);throw new Error(_0x30add[_0x35ea05(0x88)]());}};function a12_0x393f(_0xdcd757,_0x46dc7c){const _0xd0b787=a12_0xd0b7();return a12_0x393f=function(_0x393f1b,_0x56b4da){_0x393f1b=_0x393f1b-0x68;let _0x8fea7e=_0xd0b787[_0x393f1b];return _0x8fea7e;},a12_0x393f(_0xdcd757,_0x46dc7c);}function a12_0xd0b7(){const _0xa0013d=['sbNvY','winstonLogger','footer','missing','usage','bstackAccessKey','config','6ldnNch','mekUY','root','trim','81sQiyEO','bstackAccesskey','../../helpers/BrowserStackSetup','hostname','1436792FgRstb','443','xqUkn','2149685WgfLEw','accessKey','Connection\x20established\x20successfully.','bylZT','44kEMDER','6uyyHtS','fOptR','error','connect','kscbf','localIdentifier','browserstackLocal','split','../../helpers/helper','string','6238580IGHFws','4340623pibHlA','fXZAr','demandCommand','options','rQzmR','acTwY','https:','gMHTk','68488ftGdYg','lLMaZ','agnIH','help','map','Hosts\x20not\x20valid','../../helpers/logger','Integration\x20hosts\x20missing.','hosts','HkhjN','rJMvz','command','setupBrowserstackLocal','4879396dFahuA','NpqfR','browserStackLocalOptions','toString','only','integrations-repeater','bstack-accesskey','Vkema','info','1464184QJCFhZ','epilogue','SrGOG','https','exports','protocol','replace','type','describe','Failed\x20to\x20establish\x20connection.','port'];a12_0xd0b7=function(){return _0xa0013d;};return a12_0xd0b7();}function run(_0x295424){const _0x410026=a12_0x550224,_0x5c601e={};_0x5c601e[_0x410026(0xaa)]=_0x410026(0x68),_0x5c601e[_0x410026(0x71)]=_0x410026(0x7b);const _0x1258fd=_0x5c601e;_0x295424[_0x410026(0x9d)](HELP_MESSAGES[_0x410026(0x83)][_0x410026(0xa2)])[_0x410026(0x83)](_0x1258fd[_0x410026(0xaa)],HELP_MESSAGES[_0x410026(0x83)][_0x410026(0x68)],connectCommandBuilder,connectCommandHandler)[_0x410026(0x72)]()['help'](_0x1258fd[_0x410026(0x71)])[_0x410026(0x8f)](HELP_MESSAGES['command'][_0x410026(0x9b)]);}module[a12_0x550224(0x92)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x3a5901=a13_0x320d;(function(_0xb799aa,_0x59e0cc){var _0x302446=a13_0x320d,_0x5b348a=_0xb799aa();while(!![]){try{var _0x489ea9=parseInt(_0x302446(0x11d))/0x1*(parseInt(_0x302446(0x118))/0x2)+-parseInt(_0x302446(0x117))/0x3+parseInt(_0x302446(0x10f))/0x4+parseInt(_0x302446(0x120))/0x5*(-parseInt(_0x302446(0x10c))/0x6)+parseInt(_0x302446(0x121))/0x7*(parseInt(_0x302446(0x113))/0x8)+-parseInt(_0x302446(0x10b))/0x9*(-parseInt(_0x302446(0x119))/0xa)+-parseInt(_0x302446(0x112))/0xb*(parseInt(_0x302446(0x123))/0xc);if(_0x489ea9===_0x59e0cc)break;else _0x5b348a['push'](_0x5b348a['shift']());}catch(_0x383fa2){_0x5b348a['push'](_0x5b348a['shift']());}}}(a13_0x24f0,0x2602b));var a13_0x7f1f41={};a13_0x7f1f41[a13_0x3a5901(0x11c)]=a13_0x3a5901(0x116),a13_0x7f1f41[a13_0x3a5901(0x111)]='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.';var a13_0x478f61={};a13_0x478f61[a13_0x3a5901(0x114)]=a13_0x3a5901(0x11f),a13_0x478f61[a13_0x3a5901(0x109)]=a13_0x3a5901(0x115),a13_0x478f61[a13_0x3a5901(0x10a)]=a13_0x3a5901(0x110);var a13_0x347491={};a13_0x347491[a13_0x3a5901(0x125)]=a13_0x7f1f41,a13_0x347491[a13_0x3a5901(0x124)]=a13_0x478f61,exports[a13_0x3a5901(0x122)]=a13_0x347491;var a13_0x4dcb8f={};a13_0x4dcb8f[a13_0x3a5901(0x11a)]='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';function a13_0x320d(_0x35031a,_0x1243be){var _0x24f020=a13_0x24f0();return a13_0x320d=function(_0x320db4,_0x465015){_0x320db4=_0x320db4-0x109;var _0x2e51a4=_0x24f020[_0x320db4];return _0x2e51a4;},a13_0x320d(_0x35031a,_0x1243be);}function a13_0x24f0(){var _0x49d71d=['Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','809337ZRILhT','2lAnPQy','13780pXZvOK','missing','invalid','bstackAccessKey','87118IFlvYs','ERROR_MESSAGES','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','125WsoyUV','91xAXOGj','HELP_MESSAGES','1452UVbEYB','command','options','connect','footer','1179EueYdi','31494hYOnGb','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.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','971996IeBYWh','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','hosts','18337detxeQ','152472dIuqQU','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.'];a13_0x24f0=function(){return _0x49d71d;};return a13_0x24f0();}var a13_0x418e58={};a13_0x418e58[a13_0x3a5901(0x11a)]=a13_0x3a5901(0x10e),a13_0x418e58[a13_0x3a5901(0x11b)]=a13_0x3a5901(0x10d);var a13_0x3527ca={};a13_0x3527ca[a13_0x3a5901(0x11c)]=a13_0x4dcb8f,a13_0x3527ca['hosts']=a13_0x418e58,exports[a13_0x3a5901(0x11e)]=a13_0x3527ca;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x3c665e=a14_0x5c06;(function(_0x58a9e9,_0x37eb17){const _0x4f1a27=a14_0x5c06,_0x81dc0c=_0x58a9e9();while(!![]){try{const _0x2c2963=parseInt(_0x4f1a27(0xcf))/0x1+parseInt(_0x4f1a27(0xf4))/0x2+-parseInt(_0x4f1a27(0x79))/0x3*(parseInt(_0x4f1a27(0x85))/0x4)+parseInt(_0x4f1a27(0xd8))/0x5+-parseInt(_0x4f1a27(0xfe))/0x6+-parseInt(_0x4f1a27(0x87))/0x7+-parseInt(_0x4f1a27(0x124))/0x8*(-parseInt(_0x4f1a27(0x8f))/0x9);if(_0x2c2963===_0x37eb17)break;else _0x81dc0c['push'](_0x81dc0c['shift']());}catch(_0x486a06){_0x81dc0c['push'](_0x81dc0c['shift']());}}}(a14_0x5496,0xd1a08));const fs=require('fs'),path=require(a14_0x3c665e(0x96)),util=require(a14_0x3c665e(0x111)),{spawn}=require(a14_0x3c665e(0xde)),logger=require(a14_0x3c665e(0xcb))['winstonLogger'],{default:BrowserStackSetup}=require(a14_0x3c665e(0xff)),helper=require('../../helpers/helper'),utilities=require(a14_0x3c665e(0x150)),constants=require(a14_0x3c665e(0x72)),accessibilityHelper=require(a14_0x3c665e(0x98)),{updateTestRerunConfig}=require(a14_0x3c665e(0x131)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x3c665e(0x122)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a14_0x3c665e(0xbe)),TestHubHandler=require(a14_0x3c665e(0x14d)),testhubUtils=require(a14_0x3c665e(0x91)),{FRAMEWORKS}=require(a14_0x3c665e(0xe5)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require('../../helpers/performance/constants')['EVENTS'],TestOrchestrationHandler=require(a14_0x3c665e(0x107)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a14_0x3c665e(0x75)),ClientTroubleShootingService=require(a14_0x3c665e(0x119)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x5a5aa5,_0x56f73b)=>{const _0x1bd281=a14_0x3c665e,_0x46e96c={'Lawqd':'jest-config/build/readConfigFileAndSetRootDir.js','uJbcY':'jest-config','dwmRy':function(_0x494403,_0xe81ee3){return _0x494403||_0xe81ee3;},'oGMAr':function(_0x3114c1,_0x149576){return _0x3114c1(_0x149576);},'hAMQe':'package.json','Sdkzb':_0x1bd281(0x12d),'YzGru':_0x1bd281(0xdc),'gYxaw':_0x1bd281(0x80),'KgRJG':'json'};let _0x4b5b40;try{_0x4b5b40=helper['requireModule'](_0x46e96c[_0x1bd281(0x10f)],_0x46e96c[_0x1bd281(0x77)]);}catch{const _0x106f07=helper[_0x1bd281(0x139)](_0x46e96c['uJbcY']);_0x4b5b40={'default':async _0x4d1cb0=>{const _0x1e8155=_0x1bd281,_0x1de02c=await _0x106f07[_0x1e8155(0x83)](_0x4d1cb0,{});return _0x1de02c[_0x1e8155(0xcc)];}};}const _0x5074f2=_0x56f73b[_0x1bd281(0x12c)](_0xe54b60=>_0xe54b60==='--config');if(!helper[_0x1bd281(0xc1)](_0x5a5aa5[_0x1bd281(0xcc)])){logger['info'](_0x1bd281(0x9d)+_0x5a5aa5[_0x1bd281(0xcc)]),process['env'][_0x1bd281(0xb4)]=_0x5a5aa5['config'];const _0x183e81=await(0x0,_0x4b5b40[_0x1bd281(0xd6)])(path[_0x1bd281(0x7c)](_0x5a5aa5[_0x1bd281(0xcc)]));return _0x56f73b[_0x1bd281(0xec)](_0x5074f2,0x2),_0x46e96c[_0x1bd281(0xf5)](_0x183e81,{});}const _0x138a60=_0x46e96c[_0x1bd281(0x9f)](require,path[_0x1bd281(0x7e)](process[_0x1bd281(0x125)](),_0x46e96c[_0x1bd281(0xf1)]));if(_0x138a60[_0x1bd281(0x127)])return logger[_0x1bd281(0xf8)](_0x46e96c[_0x1bd281(0x106)]),_0x138a60[_0x1bd281(0x127)];const _0x2acf6b=['js',_0x46e96c['YzGru'],_0x46e96c[_0x1bd281(0xba)],_0x46e96c[_0x1bd281(0x9a)],'ts'];for(const _0x31d287 of _0x2acf6b){const _0x553f7a=path[_0x1bd281(0x7e)](process[_0x1bd281(0x125)](),_0x1bd281(0x10b)+_0x31d287);if(fs[_0x1bd281(0xfc)](_0x553f7a)){process['env'][_0x1bd281(0xb4)]=_0x553f7a;const _0x15e9cf=await(0x0,_0x4b5b40[_0x1bd281(0xd6)])(_0x553f7a);return _0x15e9cf;}}return{};},getSerial=(_0x321278,_0x8f99bb)=>{const _0x3516c5=a14_0x3c665e,_0x4b8350={};_0x4b8350[_0x3516c5(0x8d)]='true',_0x4b8350[_0x3516c5(0x137)]=function(_0x284b21,_0x398ff1){return _0x284b21>_0x398ff1;},_0x4b8350[_0x3516c5(0x102)]=_0x3516c5(0x116);const _0x5e9091=_0x4b8350;let _0x2c5bec=_0x5e9091[_0x3516c5(0x8d)];return _0x5e9091[_0x3516c5(0x137)](_0x321278[_0x3516c5(0x128)],0x1)&&(!_0x8f99bb[_0x3516c5(0xac)]&&(helper[_0x3516c5(0xc1)](_0x8f99bb[_0x3516c5(0xdf)])||_0x5e9091[_0x3516c5(0x137)](_0x8f99bb[_0x3516c5(0xdf)],0x1)))&&(_0x2c5bec=_0x5e9091[_0x3516c5(0x102)]),_0x2c5bec;},getMaxWorkers=(_0x28057a,_0x5395d6,_0x5f0152)=>{const _0x22c7ca=a14_0x3c665e,_0x4cf1d6={'GxDnQ':function(_0xb484b3,_0x217dfb){return _0xb484b3(_0x217dfb);}};let _0x4c0d00=0x1;if(!helper[_0x22c7ca(0xc1)](_0x5395d6[_0x22c7ca(0x13b)]))_0x4c0d00=_0x4cf1d6[_0x22c7ca(0x143)](parseInt,_0x5395d6[_0x22c7ca(0x13b)]);else{if(!helper[_0x22c7ca(0xc1)](_0x28057a['maxWorkers']))_0x4c0d00=_0x28057a[_0x22c7ca(0xdf)];else!helper[_0x22c7ca(0xc1)](_0x5f0152['maxWorkers'])&&(_0x4c0d00=_0x5f0152[_0x22c7ca(0xdf)]);}return _0x4c0d00;};async function run(_0x2a10ff,_0x554cb3,_0x23ec7d){const _0x14ed46=a14_0x3c665e,_0x17416f={'tvosD':_0x14ed46(0x81),'oLGPm':_0x14ed46(0x127),'molpf':function(_0x1dca18,_0xe67e1){return _0x1dca18(_0xe67e1);},'iSGPE':'@playwright/test','rYbnw':function(_0x398649,_0x366d2f,_0x5c8d90,_0x3dcb0a){return _0x398649(_0x366d2f,_0x5c8d90,_0x3dcb0a);},'hDHTy':function(_0x1b7505,_0x308b9b){return _0x1b7505!=_0x308b9b;},'vPYUw':_0x14ed46(0xda),'YvMuz':function(_0x1b706d,_0x1d5373,_0x1d0ddf){return _0x1b706d(_0x1d5373,_0x1d0ddf);},'fRiMz':_0x14ed46(0x104),'rSYoF':function(_0x4ee886,_0x3bdaef){return _0x4ee886(_0x3bdaef);},'QZxKo':_0x14ed46(0x116),'vGvJk':function(_0x274c5a,_0x2d3810,_0x40d87f){return _0x274c5a(_0x2d3810,_0x40d87f);},'DcGhI':function(_0x594f81,_0x2775e7){return _0x594f81*_0x2775e7;},'DFkNj':function(_0x4bfef0,_0x305666){return _0x4bfef0===_0x305666;},'KfUFA':_0x14ed46(0xeb),'neVkL':'jest_browserstack.config.js','wNppx':_0x14ed46(0x14f),'PAkkO':_0x14ed46(0x141),'FmWgy':_0x14ed46(0x10c),'WzYPu':_0x14ed46(0xe3),'Utqoq':_0x14ed46(0xb3),'SpQxd':'jest.setup.js','kxGXZ':_0x14ed46(0x113),'JgUYp':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','NUYtL':'jest-circus','NWmcg':_0x14ed46(0xe8),'gpKpn':function(_0x374bd2,_0x420a03){return _0x374bd2(_0x420a03);},'bejiJ':'test-observability','RNKSW':_0x14ed46(0x12a),'vuhPg':'customCircus.js','hrvYT':_0x14ed46(0x74),'cdYcN':_0x14ed46(0xb8),'gGRPs':'playwright','UmqLl':_0x14ed46(0x73),'NTCWJ':_0x14ed46(0xab),'oMnSI':_0x14ed46(0xcd),'MDBKm':_0x14ed46(0xd6),'xlJbL':function(_0x210546,_0x3b6e93,_0x3ed9b3){return _0x210546(_0x3b6e93,_0x3ed9b3);},'sThWj':'@jest/core/build/ReporterDispatcher.js','IQxZk':_0x14ed46(0xaf),'Xgnxl':_0x14ed46(0x92),'Zcxrk':function(_0x459ccd,_0xf2b2ac){return _0x459ccd>_0xf2b2ac;},'yiDEf':_0x14ed46(0xb6),'IOYsx':function(_0x448627,_0x3dbe01,_0xb66eb9,_0x52028a){return _0x448627(_0x3dbe01,_0xb66eb9,_0x52028a);},'gIhDW':'npx','tdyBa':_0x14ed46(0xbc),'LPDxH':_0x14ed46(0x10e),'eytOL':_0x14ed46(0x90),'vQuCG':_0x14ed46(0xfd)},_0x560efa=helper[_0x14ed46(0x86)](_0x17416f['iSGPE']);global[_0x14ed46(0x6d)]=!!_0x560efa;helper[_0x14ed46(0x100)]()?(await _0x23ec7d['initialize'](_0x2a10ff),await helper[_0x14ed46(0xd3)](_0x23ec7d[_0x14ed46(0xcc)])):await _0x23ec7d[_0x14ed46(0x14c)]();await _0x17416f[_0x14ed46(0xc2)](checkPwandBootstrapCli,_0x560efa,constants[_0x14ed46(0x11a)][_0x14ed46(0x93)],_0x23ec7d);if(!_0x23ec7d[_0x14ed46(0xcc)])return;_0x17416f[_0x14ed46(0x13c)](_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xe7)],null)?process[_0x14ed46(0xc0)][_0x14ed46(0x134)]=_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xe7)]:process['env'][_0x14ed46(0x134)]=_0x17416f[_0x14ed46(0xbd)];const _0x23a099=new TestOrchestrationHandler(_0x23ec7d['config']),_0x26aef6=await _0x17416f[_0x14ed46(0xca)](getUserJestConfigs,_0x2a10ff,_0x554cb3);logger[_0x14ed46(0xf8)](_0x17416f[_0x14ed46(0xe9)]);const _0xa541f8=Object[_0x14ed46(0xc7)]({},_0x26aef6);_0xa541f8[_0x14ed46(0x7a)]=Object[_0x14ed46(0xc7)]({},_0xa541f8[_0x14ed46(0x7a)],{'server':helper['getHubUrl'](_0x23ec7d[_0x14ed46(0xcc)]),'environment':_0x26aef6[_0x14ed46(0x123)]}),_0xa541f8['testEnvironmentOptions'][_0x14ed46(0xb1)]=_0x17416f[_0x14ed46(0x8e)](getPercyOptions,_0x23ec7d['config']);const _0x587e8c=helper['useW3C'](_0x23ec7d[_0x14ed46(0xcc)]);!helper['isUndefined'](_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xae)])&&(process[_0x14ed46(0xc0)][_0x14ed46(0xdb)]=JSON[_0x14ed46(0x88)](_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xae)]));if(!BrowserstackCLI[_0x14ed46(0x146)]()[_0x14ed46(0x14a)]()){const _0x58818f=await TestHubHandler[_0x14ed46(0xed)](FRAMEWORKS[_0x14ed46(0x93)],_0x23ec7d);}const _0x1f35c7=helper[_0x14ed46(0x13d)](_0x23ec7d[_0x14ed46(0xcc)],_0x587e8c,constants[_0x14ed46(0x11a)][_0x14ed46(0x93)]);process['env']['BROWSERSTACK_CAPABILITIES']=JSON[_0x14ed46(0x88)](_0x1f35c7);let _0x366d7e=_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0x99)];_0x366d7e=_0x366d7e||accessibilityHelper[_0x14ed46(0x138)](_0x23ec7d[_0x14ed46(0xcc)]),process[_0x14ed46(0xc0)][_0x14ed46(0x9b)]=_0x366d7e,logger['debug'](_0x14ed46(0x121)+_0x366d7e+_0x14ed46(0x118)+BrowserstackCLI[_0x14ed46(0x146)]()['isRunning']());if(_0x560efa)try{const _0x5bfce2=_0x17416f['rSYoF'](checkAccessibilityPlatformConfig,_0x23ec7d[_0x14ed46(0xcc)]);process[_0x14ed46(0xc0)][_0x14ed46(0xa6)]=_0x5bfce2?_0x17416f[_0x14ed46(0xbd)]:_0x17416f[_0x14ed46(0x70)],logger[_0x14ed46(0x14b)](_0x14ed46(0x120)+_0x5bfce2+_0x14ed46(0xc8)+process['env'][_0x14ed46(0xa6)]);}catch(_0x4a1707){logger[_0x14ed46(0x14b)](_0x14ed46(0x8c)+util[_0x14ed46(0xa4)](_0x4a1707));}_0xa541f8[_0x14ed46(0x7a)]['capabilities']=_0x1f35c7,_0xa541f8['testEnvironmentOptions']['serial__']=_0x17416f[_0x14ed46(0x9c)](getSerial,_0x1f35c7,_0x2a10ff),_0xa541f8['testEnvironmentOptions']['parallels__']=_0x17416f[_0x14ed46(0xc2)](getMaxWorkers,_0x2a10ff,_0x23ec7d[_0x14ed46(0xcc)],_0x26aef6),_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0xc3)]=_0x23ec7d['config'][_0x14ed46(0xc3)],_0xa541f8[_0x14ed46(0x7a)]['timeout__']=_0x17416f['DcGhI'](_0x2a10ff['testTimeout'],0x1)||0x1388,_0xa541f8['testEnvironmentOptions'][_0x14ed46(0x129)]=_0x23ec7d['config'][_0x14ed46(0xe2)][_0x14ed46(0x129)],_0xa541f8['testEnvironmentOptions']['skipSessionStatus']=_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xe2)][_0x14ed46(0x10d)],_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0x97)]=_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0x76)],_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0xa5)]=_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xa5)],_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0x101)]=_0x23ec7d['config'][_0x14ed46(0xf0)];const _0x32533f=helper['parseTestOrchestrationOptions'](_0x23ec7d[_0x14ed46(0xcc)]);if(!helper[_0x14ed46(0xa2)](_0x32533f)){helper[_0x14ed46(0x7f)](_0x32533f[_0x14ed46(0xd4)])&&(_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0xe0)]=_0x32533f[_0x14ed46(0xd4)][_0x14ed46(0x11d)]);if(helper[_0x14ed46(0x7f)](_0x32533f[_0x14ed46(0xd5)])&&helper[_0x14ed46(0x7f)](_0x32533f['abortBuildOnFailure']['workingDir'])){const _0x595c62={};_0x595c62[_0x14ed46(0xad)]=_0x32533f[_0x14ed46(0xd5)][_0x14ed46(0xf6)],_0x595c62['workingDir']=_0x32533f[_0x14ed46(0xd5)][_0x14ed46(0x126)],_0xa541f8[_0x14ed46(0x7a)][_0x14ed46(0x82)]=_0x595c62;}}let _0x39b502='';_0x17416f['DFkNj'](helper[_0x14ed46(0xf7)](),constants['PACKAGE_TYPE']['MODULE'])?_0x39b502=_0x17416f['KfUFA']:_0x39b502=_0x17416f['neVkL'];const _0x4e68c5=_0x39b502,_0xf3390f=path[_0x14ed46(0x7e)](__dirname,_0x17416f['wNppx'],_0x17416f[_0x14ed46(0x13a)]),_0x2f4a37=path[_0x14ed46(0x7e)](__dirname,_0x17416f['wNppx'],_0x17416f[_0x14ed46(0x89)]),_0x28b534=path[_0x14ed46(0x7e)](__dirname,_0x17416f[_0x14ed46(0x8a)],_0x17416f[_0x14ed46(0xd2)]);_0xa541f8[_0x14ed46(0x123)]&&(process[_0x14ed46(0xc0)][_0x14ed46(0xc5)]=_0xa541f8[_0x14ed46(0x123)]);_0xa541f8[_0x14ed46(0x123)]=path[_0x14ed46(0x7e)](__dirname,_0x17416f[_0x14ed46(0x8a)],_0x17416f[_0x14ed46(0xa1)]),_0xa541f8[_0x14ed46(0xd0)]=_0x2f4a37,_0xa541f8[_0x14ed46(0x10a)]=_0xa541f8[_0x14ed46(0x10a)]||[],_0xa541f8[_0x14ed46(0x10a)][_0x14ed46(0x71)](path[_0x14ed46(0x7e)](__dirname,_0x17416f['SpQxd']));_0x23a099['isTestOrchestrationEnabled']()&&(_0xa541f8[_0x14ed46(0x84)]=path['join'](__dirname,_0x17416f['wNppx'],_0x17416f[_0x14ed46(0x6e)]));if(testhubUtils[_0x14ed46(0x13f)]()){let _0x99067f=null;try{_0x99067f=helper[_0x14ed46(0x139)](_0x17416f[_0x14ed46(0xdd)],_0x17416f['NUYtL']);}catch(_0x483387){try{_0x99067f=helper[_0x14ed46(0x139)](_0x17416f[_0x14ed46(0x109)],_0x17416f[_0x14ed46(0xf9)]);}catch(_0x2ec302){_0x17416f[_0x14ed46(0x144)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x2ec302);}}_0x99067f&&(_0xa541f8['setupFilesAfterEnv'][_0x14ed46(0x71)](path[_0x14ed46(0x7e)](__dirname,_0x17416f[_0x14ed46(0x8b)],_0x17416f[_0x14ed46(0x11e)])),_0xa541f8[_0x14ed46(0xbb)]=path[_0x14ed46(0x7e)](__dirname,_0x17416f[_0x14ed46(0x8a)],_0x17416f[_0x14ed46(0x12e)]));}_0xa541f8[_0x14ed46(0xa0)]=_0xa541f8['setupFiles']||[];try{helper[_0x14ed46(0xb5)](),_0xa541f8[_0x14ed46(0xa0)][_0x14ed46(0x71)](path['join'](__dirname,_0x17416f[_0x14ed46(0xfa)]));}catch{logger[_0x14ed46(0x14b)](_0x17416f[_0x14ed46(0x112)]);}try{helper[_0x14ed46(0xaa)]['apply'](null,[_0x17416f[_0x14ed46(0xe6)],_0x17416f[_0x14ed46(0x110)]]),logger[_0x14ed46(0x14b)](_0x17416f['UmqLl']),_0xa541f8[_0x14ed46(0xa0)][_0x14ed46(0x71)](path[_0x14ed46(0x7e)](__dirname,_0x17416f[_0x14ed46(0xea)]));}catch(_0x2afaaf){logger['debug'](_0x17416f['oMnSI'],_0x2afaaf);}_0xa541f8[_0x14ed46(0x149)]=_0xa541f8[_0x14ed46(0x149)]||[_0x17416f[_0x14ed46(0x148)]],_0x17416f[_0x14ed46(0xd1)](updateTestRerunConfig,_0xa541f8,_0x23ec7d);const _0x480a15=fs[_0x14ed46(0xe4)](_0x28b534),_0x559f45=helper['resolveModule'](_0x17416f[_0x14ed46(0xe1)],_0x17416f['IQxZk']);!_0x559f45[_0x14ed46(0xbf)]?fs[_0x14ed46(0xb0)](_0xa541f8[_0x14ed46(0xd0)],_0x14ed46(0xef)+_0x480a15+_0x14ed46(0xb7)+_0x23ec7d['config'][_0x14ed46(0xf0)][_0x14ed46(0x128)]+_0x14ed46(0x12b)):fs['writeFileSync'](_0xa541f8['runner'],_0x14ed46(0xef)+_0x480a15+'\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0x23ec7d[_0x14ed46(0xcc)][_0x14ed46(0xf0)][_0x14ed46(0x128)]+_0x14ed46(0x108));logger['info'](_0x14ed46(0x130)+_0x4e68c5+_0x14ed46(0x151)),fs[_0x14ed46(0xb0)](_0x4e68c5,_0x14ed46(0x132)+JSON[_0x14ed46(0x88)](_0xa541f8)+_0x14ed46(0x9e));if(_0x23a099[_0x14ed46(0xa7)]()){logger['debug'](_0x17416f[_0x14ed46(0x11c)]);const _0x2fd2fb=await _0x23a099[_0x14ed46(0xce)](_0xa541f8,_0x554cb3['slice'](0x1),_0x4e68c5);logger[_0x14ed46(0x14b)](_0x14ed46(0xfb)+JSON['stringify'](_0x2fd2fb)+_0x14ed46(0xd7));const _0x1498d4=await _0x23a099[_0x14ed46(0xee)](_0x2fd2fb);logger[_0x14ed46(0x14b)](_0x14ed46(0xc4)+JSON[_0x14ed46(0x88)](_0x1498d4)),_0x1498d4&&_0x17416f[_0x14ed46(0x11b)](_0x1498d4['length'],0x0)&&(process[_0x14ed46(0xc0)][_0x14ed46(0x136)]=_0x1498d4?.['join'](','));}logger['info'](_0x17416f[_0x14ed46(0x14e)]);testhubUtils[_0x14ed46(0x13f)]()&&TestDetails['setup']();helper['filterBrowserstackArgs']({},_0x554cb3),PerformanceTester[_0x14ed46(0xc6)](PerformanceEvents[_0x14ed46(0x140)]);const _0x1a211e=_0x17416f[_0x14ed46(0xf3)](spawn,_0x17416f[_0x14ed46(0x133)],[_0x17416f[_0x14ed46(0x115)],_0x17416f['tdyBa'],_0x4e68c5,..._0x554cb3[_0x14ed46(0xa9)](0x1)],{'shell':_0x17416f['DFkNj'](process['platform'],_0x17416f[_0x14ed46(0x114)]),'stdio':_0x17416f[_0x14ed46(0x103)],'env':Object[_0x14ed46(0xc7)]({},process['env'])});_0x1a211e['on'](_0x17416f['vQuCG'],async _0xa8d406=>{const _0xe7744b=_0x14ed46;PerformanceTester[_0xe7744b(0x78)](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x26809a,tcgConfigPath:_0x980876}=helper[_0xe7744b(0x117)]();fs['unlinkSync'](_0x980876),fs[_0xe7744b(0xb9)](_0x26809a);}catch(_0x46bb72){logger[_0xe7744b(0x14b)](_0x17416f[_0xe7744b(0xb2)],_0x46bb72);}process[_0xe7744b(0x94)]=_0xa8d406,logger[_0xe7744b(0x14b)]('child\x20process\x20exited\x20with\x20code\x20'+_0xa8d406),logger[_0xe7744b(0xf8)](_0xe7744b(0x12f)+_0x4e68c5);if(helper['isNotUndefined'](_0x32533f)&&helper[_0xe7744b(0x7f)](_0x32533f[_0xe7744b(0xd5)])&&fs[_0xe7744b(0xfc)](_0x32533f[_0xe7744b(0xd5)]['workingDir']))try{const _0x4a68ac={};_0x4a68ac[_0xe7744b(0x135)]=!![],_0x4a68ac[_0xe7744b(0xd9)]=!![],fs[_0xe7744b(0x142)](_0x32533f[_0xe7744b(0xd5)][_0xe7744b(0x126)],_0x4a68ac),logger[_0xe7744b(0x14b)](_0xe7744b(0x147)+_0x32533f[_0xe7744b(0xd5)][_0xe7744b(0x126)]);}catch(_0x2f1c39){logger[_0xe7744b(0xbf)](_0xe7744b(0xa3)+_0x2f1c39);}let _0x220783=null;if(fs[_0xe7744b(0xfc)](_0xf3390f)){_0x220783=fs['readFileSync'](_0xf3390f);try{_0x220783=JSON[_0xe7744b(0xa8)](_0x220783);}catch(_0x293b68){logger[_0xe7744b(0x14b)](_0xe7744b(0x105)+_0xf3390f+',\x20'+_0x220783+_0xe7744b(0xf2)+_0x293b68);}fs['unlinkSync'](_0xf3390f);}fs[_0xe7744b(0x95)](_0x4e68c5),fs[_0xe7744b(0x95)](_0x2f4a37),_0x220783&&(_0x23ec7d['errorMessage']=helper[_0xe7744b(0x7d)](_0x220783,_0x17416f[_0xe7744b(0x115)],_0x23ec7d));const _0x1d27cf=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0xe7744b(0x6f)](),await BrowserstackCLI[_0xe7744b(0x146)]()[_0xe7744b(0x6f)]();}catch(_0xd509ee){console['log'](_0xd509ee),_0x17416f[_0xe7744b(0x8e)](debug,_0xe7744b(0x7b)+util[_0xe7744b(0xa4)](_0xd509ee));}testOpsHelper[_0xe7744b(0xc9)](),TestDetails[_0xe7744b(0x145)](),await utilities[_0xe7744b(0x11f)](_0x23ec7d,_0x1d27cf);});}function a14_0x5c06(_0x1a0593,_0x261d88){const _0x5496ea=a14_0x5496();return a14_0x5c06=function(_0x5c060a,_0x414733){_0x5c060a=_0x5c060a-0x6d;let _0x2dca03=_0x5496ea[_0x5c060a];return _0x2dca03;},a14_0x5c06(_0x1a0593,_0x261d88);}function a14_0x5496(){const _0x2496c6=['push','../utils/constants','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','test_before.setup.js','../../helpers/playwright-helper','logLevel','uJbcY','start','550011kdMyjY','testEnvironmentOptions','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','resolve','getErrorMessageFromResults','join','isNotUndefined','cjs','error\x20removing\x20tcg\x20config\x20file','failFast','readInitialOptions','testSequencer','28LjwxmY','getPackageVersion','983108PmnUhP','stringify','FmWgy','wNppx','bejiJ','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','mCcMN','molpf','36KIHtYR','inherit','../../helpers/testhub/utils','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','JEST','exitCode','unlinkSync','path','browserStackLogLevel','../../helpers/accessibility-automation/helper','accessibility','KgRJG','BROWSERSTACK_TEST_ACCESSIBILITY_YML','vGvJk','Getting\x20your\x20jest\x20configs\x20from\x20','\x0amodule.exports\x20=\x20config;','oGMAr','setupFiles','Utqoq','isEmpty','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','format','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','isTestOrchestrationEnabled','parse','slice','requirePWModule','test.setup.js','runInBand','failureThresholdCount','accessibilityOptions','@jest/core','writeFileSync','browserStackPercyOptions','tvosD','customEnvironment.js','USER_CONFIG_DETAILS_PATH','requireSeleniumWebdriver','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','rmdirSync','gYxaw','testRunner','--config','vPYUw','../../helpers/percy/utils','error','env','isUndefined','rYbnw','proxySettings','Reodered\x20Test\x20Files:\x20','BSTACK_JEST_TEST_ENV','end','assign',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','printBuildLink','YvMuz','../../helpers/logger','config','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','findTestFiles','1078361sGzaFI','runner','xlJbL','WzYPu','handleApp','retryTestsOnFailure','abortBuildOnFailure','default','\x20test\x20files\x20to\x20run.','3279210FCEfxG','force','true','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','mjs','JgUYp','child_process','maxWorkers','retries__','sThWj','testContextOptions','customTestRunnerTemplate.js','readFileSync','../../helpers/test-observability/constants','iSGPE','testObservability','jest-circus/build/runner.js','fRiMz','NTCWJ','jest_browserstack.config.cjs','splice','launchBuild','reorderTestFiles','\x0a\x20\x20\x20\x20\x20\x20','platforms','hAMQe','\x20:\x20','IOYsx','947678cdYEdU','dwmRy','maxFailures','getPackageType','info','NUYtL','hrvYT','Found:\x20','existsSync','close','2010978vbWrqt','../../helpers/BrowserStackSetup','isBrowserstackInfra','platformCaps','hxjee','eytOL','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','Error\x20while\x20parsing\x20','Sdkzb','../../helpers/test-orchestration/testOrchestrationHandler',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','NWmcg','setupFilesAfterEnv','jest.config.','customTestRunner.js','skipSessionStatus','win32','Lawqd','gGRPs','util','cdYcN','customSequencer.js','LPDxH','oLGPm','false','getTCGConfigFilePaths',',\x20CLI\x20running:\x20','../utils/clientTroubleshootingService','FRAMEWORKS','Zcxrk','Xgnxl','maxRetries','RNKSW','finalExecution','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','../../helpers/test-observability/utils','testEnvironment','819112pWiQBq','cwd','workingDir','jest','length','skipSessionName','data-hooks.js',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','findIndex','Getting\x20your\x20jest\x20configs\x20from\x20package.json','vuhPg','Deleting\x20','Creating\x20','./test-observability/helper','const\x20config=','gIhDW','BROWSERSTACK_TEST_OBSERVABILITY_YML','recursive','JEST_TEST_ORDER','zaeFU','checkAccessibilityPlatformConfig','requireModule','PAkkO','parallelsPerPlatform','hDHTy','prepareCapabilities','exports','shouldProcessEventForTesthub','SDK_SETUP','jest_browserstack_results.json','rmSync','GxDnQ','gpKpn','shutdown','getInstance','Deleted\x20fail-fast\x20state\x20folder:\x20','MDBKm','reporters','isRunning','debug','setupTCGAuth','../../helpers/testhub/testhubHandler','yiDEf','customImplements','../../helpers/utilities','\x20with\x20browserstack\x20jest\x20configs','__isPlaywrightInstalled','kxGXZ','stop','QZxKo'];a14_0x5496=function(){return _0x2496c6;};return a14_0x5496();}module[a14_0x3c665e(0x13e)]=run;
|
|
2
|
+
'use strict';const a14_0x5a54a7=a14_0xa6ec;(function(_0x583977,_0x4d7d3e){const _0xafcedb=a14_0xa6ec,_0x297d82=_0x583977();while(!![]){try{const _0x5762f3=-parseInt(_0xafcedb(0x1fc))/0x1*(parseInt(_0xafcedb(0x27e))/0x2)+parseInt(_0xafcedb(0x27b))/0x3*(parseInt(_0xafcedb(0x282))/0x4)+-parseInt(_0xafcedb(0x236))/0x5*(parseInt(_0xafcedb(0x294))/0x6)+parseInt(_0xafcedb(0x2b8))/0x7*(parseInt(_0xafcedb(0x248))/0x8)+-parseInt(_0xafcedb(0x2bd))/0x9*(parseInt(_0xafcedb(0x2c9))/0xa)+parseInt(_0xafcedb(0x22a))/0xb+parseInt(_0xafcedb(0x295))/0xc*(parseInt(_0xafcedb(0x2c7))/0xd);if(_0x5762f3===_0x4d7d3e)break;else _0x297d82['push'](_0x297d82['shift']());}catch(_0x1d883c){_0x297d82['push'](_0x297d82['shift']());}}}(a14_0x1555,0x3be63));const fs=require('fs'),path=require(a14_0x5a54a7(0x2ae)),util=require(a14_0x5a54a7(0x1fd)),{spawn}=require(a14_0x5a54a7(0x1ed)),logger=require(a14_0x5a54a7(0x1f4))[a14_0x5a54a7(0x1f3)],{default:BrowserStackSetup}=require(a14_0x5a54a7(0x288)),helper=require(a14_0x5a54a7(0x2c8)),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),accessibilityHelper=require(a14_0x5a54a7(0x1f6)),{updateTestRerunConfig}=require(a14_0x5a54a7(0x2ac)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x5a54a7(0x25e)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a14_0x5a54a7(0x223)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a14_0x5a54a7(0x291)),{FRAMEWORKS}=require(a14_0x5a54a7(0x216)),PerformanceTester=require(a14_0x5a54a7(0x212)),PerformanceEvents=require('../../helpers/performance/constants')[a14_0x5a54a7(0x234)],TestOrchestrationHandler=require(a14_0x5a54a7(0x208)),BrowserstackCLI=require(a14_0x5a54a7(0x263)),{checkPwandBootstrapCli}=require(a14_0x5a54a7(0x207)),ClientTroubleShootingService=require(a14_0x5a54a7(0x2b2)),{checkAccessibilityPlatformConfig}=require(a14_0x5a54a7(0x1f6)),getUserJestConfigs=async(_0x46b62c,_0x33bbcc)=>{const _0x5bb493=a14_0x5a54a7,_0x5511a7={'CNlpv':'jest-config/build/readConfigFileAndSetRootDir.js','PKiko':_0x5bb493(0x254),'ydTSK':function(_0x55677f,_0x3ef8b8){return _0x55677f||_0x3ef8b8;},'VcEnt':function(_0x5a4d32,_0x27bbdf){return _0x5a4d32(_0x27bbdf);},'wfYin':_0x5bb493(0x255),'EjyVd':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','yMXAA':_0x5bb493(0x280),'fgXlM':_0x5bb493(0x23a),'KrYXr':_0x5bb493(0x28d)};let _0x365300;try{_0x365300=helper[_0x5bb493(0x27f)](_0x5511a7[_0x5bb493(0x27d)],_0x5511a7[_0x5bb493(0x201)]);}catch{const _0x5a60ce=helper[_0x5bb493(0x27f)](_0x5511a7[_0x5bb493(0x201)]);_0x365300={'default':async _0xc12fe0=>{const _0x33a4db=_0x5bb493,_0x5a65f0=await _0x5a60ce[_0x33a4db(0x267)](_0xc12fe0,{});return _0x5a65f0['config'];}};}const _0x3a464c=_0x33bbcc[_0x5bb493(0x238)](_0x515204=>_0x515204===_0x5bb493(0x265));if(!helper['isUndefined'](_0x46b62c[_0x5bb493(0x2aa)])){logger[_0x5bb493(0x237)](_0x5bb493(0x251)+_0x46b62c[_0x5bb493(0x2aa)]),process[_0x5bb493(0x229)]['USER_CONFIG_DETAILS_PATH']=_0x46b62c['config'];const _0x43f187=await(0x0,_0x365300['default'])(path[_0x5bb493(0x25b)](_0x46b62c['config']));return _0x33bbcc[_0x5bb493(0x276)](_0x3a464c,0x2),_0x5511a7['ydTSK'](_0x43f187,{});}const _0x3d7af9=_0x5511a7[_0x5bb493(0x26a)](require,path[_0x5bb493(0x1f7)](process[_0x5bb493(0x23f)](),_0x5511a7['wfYin']));if(_0x3d7af9[_0x5bb493(0x257)])return logger[_0x5bb493(0x237)](_0x5511a7['EjyVd']),_0x3d7af9[_0x5bb493(0x257)];const _0x1af9b8=['js',_0x5511a7[_0x5bb493(0x258)],_0x5511a7[_0x5bb493(0x2a4)],_0x5511a7[_0x5bb493(0x270)],'ts'];for(const _0x3503a0 of _0x1af9b8){const _0x2225fd=path[_0x5bb493(0x1f7)](process[_0x5bb493(0x23f)](),_0x5bb493(0x297)+_0x3503a0);if(fs[_0x5bb493(0x23b)](_0x2225fd)){process['env'][_0x5bb493(0x2a2)]=_0x2225fd;const _0x7beccf=await(0x0,_0x365300[_0x5bb493(0x2b0)])(_0x2225fd);return _0x7beccf;}}return{};},getSerial=(_0x503e7d,_0x445730)=>{const _0x38dfbb=a14_0x5a54a7,_0x3f4769={};_0x3f4769[_0x38dfbb(0x2bb)]=_0x38dfbb(0x250),_0x3f4769['dUFZI']=function(_0x4a1674,_0x3820ca){return _0x4a1674>_0x3820ca;},_0x3f4769[_0x38dfbb(0x202)]=_0x38dfbb(0x272);const _0x453b3c=_0x3f4769;let _0x19a5a7=_0x453b3c[_0x38dfbb(0x2bb)];return _0x453b3c['dUFZI'](_0x503e7d['length'],0x1)&&(!_0x445730['runInBand']&&(helper[_0x38dfbb(0x2bc)](_0x445730['maxWorkers'])||_0x453b3c['dUFZI'](_0x445730[_0x38dfbb(0x1fb)],0x1)))&&(_0x19a5a7=_0x453b3c[_0x38dfbb(0x202)]),_0x19a5a7;},getMaxWorkers=(_0x583a91,_0x41a342,_0x465a82)=>{const _0x50722f=a14_0x5a54a7,_0x25b66e={'Qdxls':function(_0x5d2205,_0x1fee37){return _0x5d2205(_0x1fee37);}};let _0x92020c=0x1;if(!helper['isUndefined'](_0x41a342['parallelsPerPlatform']))_0x92020c=_0x25b66e[_0x50722f(0x25d)](parseInt,_0x41a342[_0x50722f(0x2c5)]);else{if(!helper[_0x50722f(0x2bc)](_0x583a91[_0x50722f(0x1fb)]))_0x92020c=_0x583a91[_0x50722f(0x1fb)];else!helper[_0x50722f(0x2bc)](_0x465a82[_0x50722f(0x1fb)])&&(_0x92020c=_0x465a82[_0x50722f(0x1fb)]);}return _0x92020c;};async function run(_0x5bf346,_0x30e1d3,_0x435320){const _0x4bc29c=a14_0x5a54a7,_0x4a3bcf={'ltTvF':_0x4bc29c(0x268),'pGpvB':'jest','OEcun':function(_0x90b1b1,_0x2e0814){return _0x90b1b1(_0x2e0814);},'HEWwv':_0x4bc29c(0x219),'YIsei':function(_0x193644,_0x207c63,_0x162848,_0x3635a2){return _0x193644(_0x207c63,_0x162848,_0x3635a2);},'PbcAU':function(_0x3324d9,_0x2bfe21){return _0x3324d9!=_0x2bfe21;},'tXLzX':_0x4bc29c(0x250),'QeVzl':function(_0x9a8d6f,_0x466840,_0x1d2f29){return _0x9a8d6f(_0x466840,_0x1d2f29);},'LgeBv':'Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','lXhNU':function(_0x140c8c,_0x1f386c){return _0x140c8c(_0x1f386c);},'dkUNF':'false','sbeCU':function(_0x55f56e,_0x22d9b7,_0x4517fa){return _0x55f56e(_0x22d9b7,_0x4517fa);},'YRrMA':function(_0x4c4078,_0x432fb7){return _0x4c4078*_0x432fb7;},'OBaIB':function(_0x196c26,_0x48b25e){return _0x196c26===_0x48b25e;},'jETVc':_0x4bc29c(0x233),'pDmki':_0x4bc29c(0x2c3),'iFjDG':_0x4bc29c(0x299),'yLnBC':_0x4bc29c(0x28a),'JDYMx':_0x4bc29c(0x1f2),'ZLtad':_0x4bc29c(0x2a6),'bKuqZ':_0x4bc29c(0x1e7),'yDsxN':_0x4bc29c(0x214),'IGrjR':'customSequencer.js','TXXbw':_0x4bc29c(0x24a),'iDTzs':_0x4bc29c(0x20c),'aMdig':_0x4bc29c(0x26e),'SRHoB':'test-observability','XwOck':_0x4bc29c(0x284),'ukECp':_0x4bc29c(0x29b),'LKETF':_0x4bc29c(0x244),'UrZEj':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','UBAOY':_0x4bc29c(0x2af),'sVwAJ':_0x4bc29c(0x261),'SNqrt':'test.setup.js','HZGLJ':_0x4bc29c(0x21b),'NEVvZ':'default','JUCrh':_0x4bc29c(0x243),'ujGFI':'@jest/core','ZlIQS':_0x4bc29c(0x226),'todDN':function(_0x52c329,_0x3ac3b8){return _0x52c329>_0x3ac3b8;},'wXpZW':_0x4bc29c(0x26c),'AXvJd':'npx','vxbAM':_0x4bc29c(0x265),'Wzhaw':function(_0x2a23e4,_0x16f4cd){return _0x2a23e4===_0x16f4cd;},'oaWRa':_0x4bc29c(0x21f),'rqoiE':_0x4bc29c(0x22b),'ZqcMo':_0x4bc29c(0x211)},_0x464131=helper[_0x4bc29c(0x220)](_0x4a3bcf[_0x4bc29c(0x293)]);global['__isPlaywrightInstalled']=!!_0x464131;helper[_0x4bc29c(0x266)]()?(await _0x435320[_0x4bc29c(0x23e)](_0x5bf346),await helper[_0x4bc29c(0x25a)](_0x435320[_0x4bc29c(0x2aa)])):await _0x435320['setupTCGAuth']();await _0x4a3bcf[_0x4bc29c(0x231)](checkPwandBootstrapCli,_0x464131,constants[_0x4bc29c(0x296)][_0x4bc29c(0x22e)],_0x435320);if(!_0x435320['config'])return;_0x4a3bcf['PbcAU'](_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x23d)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x23d)]:process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4a3bcf[_0x4bc29c(0x28e)];const _0x52d7a1=new TestOrchestrationHandler(_0x435320['config']),_0x3b51e0=await _0x4a3bcf[_0x4bc29c(0x253)](getUserJestConfigs,_0x5bf346,_0x30e1d3);logger['info'](_0x4a3bcf[_0x4bc29c(0x29d)]);const _0x25a5c7=Object[_0x4bc29c(0x28f)]({},_0x3b51e0);_0x25a5c7['testEnvironmentOptions']=Object['assign']({},_0x25a5c7['testEnvironmentOptions'],{'server':helper[_0x4bc29c(0x24b)](_0x435320[_0x4bc29c(0x2aa)]),'environment':_0x3b51e0[_0x4bc29c(0x2c4)]}),_0x25a5c7[_0x4bc29c(0x23c)][_0x4bc29c(0x259)]=_0x4a3bcf[_0x4bc29c(0x22c)](getPercyOptions,_0x435320[_0x4bc29c(0x2aa)]);const _0xd3a934=helper['useW3C'](_0x435320[_0x4bc29c(0x2aa)]);!helper[_0x4bc29c(0x2bc)](_0x435320[_0x4bc29c(0x2aa)]['accessibilityOptions'])&&(process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4bc29c(0x26f)](_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x210)]));if(!BrowserstackCLI[_0x4bc29c(0x20d)]()['isRunning']()){const _0x2761d0=await TestHubHandler[_0x4bc29c(0x252)](FRAMEWORKS[_0x4bc29c(0x22e)],_0x435320);}const _0x5ea376=helper[_0x4bc29c(0x2bf)](_0x435320[_0x4bc29c(0x2aa)],_0xd3a934,constants[_0x4bc29c(0x296)][_0x4bc29c(0x22e)]);process[_0x4bc29c(0x229)][_0x4bc29c(0x2b3)]=JSON[_0x4bc29c(0x26f)](_0x5ea376);let _0x3466a5=_0x435320[_0x4bc29c(0x2aa)]['accessibility'];_0x3466a5=_0x3466a5||accessibilityHelper[_0x4bc29c(0x20e)](_0x435320['config']),process[_0x4bc29c(0x229)][_0x4bc29c(0x239)]=_0x3466a5,logger[_0x4bc29c(0x262)](_0x4bc29c(0x1fe)+_0x3466a5+_0x4bc29c(0x222)+BrowserstackCLI[_0x4bc29c(0x20d)]()[_0x4bc29c(0x1f5)]());if(_0x464131)try{const _0x439fa6=_0x4a3bcf['lXhNU'](checkAccessibilityPlatformConfig,_0x435320['config']);process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x439fa6?_0x4a3bcf[_0x4bc29c(0x28e)]:_0x4a3bcf[_0x4bc29c(0x230)],logger[_0x4bc29c(0x262)](_0x4bc29c(0x1f0)+_0x439fa6+_0x4bc29c(0x1ea)+process[_0x4bc29c(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']);}catch(_0x48dd47){logger[_0x4bc29c(0x262)]('Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20'+util[_0x4bc29c(0x203)](_0x48dd47));}_0x25a5c7['testEnvironmentOptions']['capabilities']=_0x5ea376,_0x25a5c7[_0x4bc29c(0x23c)]['serial__']=_0x4a3bcf[_0x4bc29c(0x273)](getSerial,_0x5ea376,_0x5bf346),_0x25a5c7[_0x4bc29c(0x23c)]['parallels__']=_0x4a3bcf[_0x4bc29c(0x231)](getMaxWorkers,_0x5bf346,_0x435320['config'],_0x3b51e0),_0x25a5c7['testEnvironmentOptions']['proxySettings']=_0x435320['config'][_0x4bc29c(0x2a5)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x221)]=_0x4a3bcf['YRrMA'](_0x5bf346[_0x4bc29c(0x271)],0x1)||0x1388,_0x25a5c7['testEnvironmentOptions']['skipSessionName']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x232)][_0x4bc29c(0x21e)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x281)]=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x232)][_0x4bc29c(0x281)],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x2c6)]=_0x435320[_0x4bc29c(0x2aa)]['logLevel'],_0x25a5c7[_0x4bc29c(0x23c)]['turboScaleUrl']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x1e8)],_0x25a5c7[_0x4bc29c(0x23c)]['platformCaps']=_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x213)];const _0x63bda=helper[_0x4bc29c(0x269)](_0x435320[_0x4bc29c(0x2aa)]);if(!helper[_0x4bc29c(0x2c1)](_0x63bda)){helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x1ee)])&&(_0x25a5c7[_0x4bc29c(0x23c)][_0x4bc29c(0x2b6)]=_0x63bda[_0x4bc29c(0x1ee)][_0x4bc29c(0x24d)]);if(helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x249)])&&helper[_0x4bc29c(0x206)](_0x63bda[_0x4bc29c(0x249)]['workingDir'])){const _0x4c7001={};_0x4c7001[_0x4bc29c(0x2ca)]=_0x63bda[_0x4bc29c(0x249)]['maxFailures'],_0x4c7001[_0x4bc29c(0x235)]=_0x63bda[_0x4bc29c(0x249)]['workingDir'],_0x25a5c7['testEnvironmentOptions'][_0x4bc29c(0x21c)]=_0x4c7001;}}let _0x16dcc6='';_0x4a3bcf[_0x4bc29c(0x25f)](helper[_0x4bc29c(0x27a)](),constants[_0x4bc29c(0x1fa)][_0x4bc29c(0x204)])?_0x16dcc6=_0x4a3bcf[_0x4bc29c(0x246)]:_0x16dcc6=_0x4a3bcf['pDmki'];const _0x5cbd47=_0x16dcc6,_0x31828d=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['iFjDG'],_0x4a3bcf[_0x4bc29c(0x2b9)]),_0x205fdc=path['join'](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['JDYMx']),_0x31e174=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['iFjDG'],_0x4a3bcf[_0x4bc29c(0x2b4)]);_0x25a5c7[_0x4bc29c(0x2c4)]&&(process[_0x4bc29c(0x229)][_0x4bc29c(0x26b)]=_0x25a5c7[_0x4bc29c(0x2c4)]);_0x25a5c7[_0x4bc29c(0x2c4)]=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['bKuqZ']),_0x25a5c7[_0x4bc29c(0x209)]=_0x205fdc,_0x25a5c7['setupFilesAfterEnv']=_0x25a5c7[_0x4bc29c(0x1ff)]||[],_0x25a5c7[_0x4bc29c(0x1ff)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1f8)]));_0x52d7a1[_0x4bc29c(0x2ba)]()&&(_0x25a5c7[_0x4bc29c(0x25c)]=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf[_0x4bc29c(0x1ef)]));if(testhubUtils[_0x4bc29c(0x22f)]()){let _0x108831=null;try{_0x108831=helper[_0x4bc29c(0x27f)](_0x4a3bcf['TXXbw'],_0x4a3bcf[_0x4bc29c(0x22d)]);}catch(_0x15a586){try{_0x108831=helper[_0x4bc29c(0x27f)](_0x4a3bcf[_0x4bc29c(0x2c0)],_0x4a3bcf[_0x4bc29c(0x22d)]);}catch(_0x25db52){_0x4a3bcf['OEcun'](debug,_0x4bc29c(0x20f)+_0x25db52);}}_0x108831&&(_0x25a5c7[_0x4bc29c(0x1ff)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x26d)],_0x4a3bcf[_0x4bc29c(0x298)])),_0x25a5c7['testRunner']=path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x1eb)],_0x4a3bcf['ukECp']));}_0x25a5c7[_0x4bc29c(0x24c)]=_0x25a5c7[_0x4bc29c(0x24c)]||[];try{helper[_0x4bc29c(0x287)](),_0x25a5c7[_0x4bc29c(0x24c)][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf[_0x4bc29c(0x285)]));}catch{logger[_0x4bc29c(0x262)](_0x4a3bcf[_0x4bc29c(0x27c)]);}try{helper[_0x4bc29c(0x2b5)][_0x4bc29c(0x205)](null,[_0x4a3bcf[_0x4bc29c(0x293)],_0x4a3bcf[_0x4bc29c(0x225)]]),logger[_0x4bc29c(0x262)](_0x4a3bcf[_0x4bc29c(0x217)]),_0x25a5c7['setupFiles'][_0x4bc29c(0x247)](path[_0x4bc29c(0x1f7)](__dirname,_0x4a3bcf['SNqrt']));}catch(_0x38663a){logger['debug'](_0x4a3bcf[_0x4bc29c(0x1ec)],_0x38663a);}_0x25a5c7[_0x4bc29c(0x21a)]=_0x25a5c7[_0x4bc29c(0x21a)]||[_0x4a3bcf[_0x4bc29c(0x2a3)]],_0x4a3bcf[_0x4bc29c(0x273)](updateTestRerunConfig,_0x25a5c7,_0x435320);const _0x2b698d=fs[_0x4bc29c(0x29e)](_0x31e174),_0x1a0e5d=helper[_0x4bc29c(0x292)](_0x4a3bcf[_0x4bc29c(0x21d)],_0x4a3bcf['ujGFI']);!_0x1a0e5d[_0x4bc29c(0x279)]?fs[_0x4bc29c(0x218)](_0x25a5c7[_0x4bc29c(0x209)],_0x4bc29c(0x2b7)+_0x2b698d+_0x4bc29c(0x2be)+_0x435320['config'][_0x4bc29c(0x213)][_0x4bc29c(0x1f1)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20'):fs['writeFileSync'](_0x25a5c7[_0x4bc29c(0x209)],_0x4bc29c(0x2b7)+_0x2b698d+_0x4bc29c(0x215)+_0x435320[_0x4bc29c(0x2aa)][_0x4bc29c(0x213)][_0x4bc29c(0x1f1)]+_0x4bc29c(0x283));logger[_0x4bc29c(0x237)](_0x4bc29c(0x29f)+_0x5cbd47+_0x4bc29c(0x200)),fs[_0x4bc29c(0x218)](_0x5cbd47,_0x4bc29c(0x20b)+JSON[_0x4bc29c(0x26f)](_0x25a5c7)+_0x4bc29c(0x24e));if(_0x52d7a1[_0x4bc29c(0x2ba)]()){logger[_0x4bc29c(0x262)](_0x4a3bcf['ZlIQS']);const _0x4bd782=await _0x52d7a1[_0x4bc29c(0x286)](_0x25a5c7,_0x30e1d3[_0x4bc29c(0x278)](0x1),_0x5cbd47);logger[_0x4bc29c(0x262)](_0x4bc29c(0x2a1)+JSON[_0x4bc29c(0x26f)](_0x4bd782)+_0x4bc29c(0x2ab));const _0x992278=await _0x52d7a1[_0x4bc29c(0x241)](_0x4bd782);logger[_0x4bc29c(0x262)]('Reodered\x20Test\x20Files:\x20'+JSON[_0x4bc29c(0x26f)](_0x992278)),_0x992278&&_0x4a3bcf['todDN'](_0x992278[_0x4bc29c(0x1f1)],0x0)&&(process[_0x4bc29c(0x229)][_0x4bc29c(0x2c2)]=_0x992278?.[_0x4bc29c(0x1f7)](','));}logger['info'](_0x4a3bcf[_0x4bc29c(0x24f)]);testhubUtils[_0x4bc29c(0x22f)]()&&TestDetails[_0x4bc29c(0x29a)]();helper['filterBrowserstackArgs']({},_0x30e1d3),PerformanceTester['end'](PerformanceEvents[_0x4bc29c(0x2cb)]);const _0x5178b7=_0x4a3bcf[_0x4bc29c(0x231)](spawn,_0x4a3bcf['AXvJd'],[_0x4a3bcf[_0x4bc29c(0x245)],_0x4a3bcf[_0x4bc29c(0x29c)],_0x5cbd47,..._0x30e1d3[_0x4bc29c(0x278)](0x1)],{'shell':_0x4a3bcf[_0x4bc29c(0x20a)](process[_0x4bc29c(0x240)],_0x4a3bcf[_0x4bc29c(0x274)]),'stdio':_0x4a3bcf[_0x4bc29c(0x1e9)],'env':Object['assign']({},process[_0x4bc29c(0x229)])});_0x5178b7['on'](_0x4a3bcf['ZqcMo'],async _0x4b4bbc=>{const _0x44dc54=_0x4bc29c;PerformanceTester['start'](PerformanceEvents[_0x44dc54(0x264)]);try{const {browserstackFolderPath:_0x140f32,tcgConfigPath:_0x5ee341}=helper[_0x44dc54(0x277)]();fs[_0x44dc54(0x28b)](_0x5ee341),fs[_0x44dc54(0x256)](_0x140f32);}catch(_0x38c2a8){logger['debug'](_0x4a3bcf[_0x44dc54(0x1f9)],_0x38c2a8);}process[_0x44dc54(0x260)]=_0x4b4bbc,logger[_0x44dc54(0x262)](_0x44dc54(0x2a9)+_0x4b4bbc),logger[_0x44dc54(0x237)](_0x44dc54(0x2a7)+_0x5cbd47);if(helper[_0x44dc54(0x206)](_0x63bda)&&helper[_0x44dc54(0x206)](_0x63bda[_0x44dc54(0x249)])&&fs[_0x44dc54(0x23b)](_0x63bda[_0x44dc54(0x249)][_0x44dc54(0x235)]))try{const _0x1066da={};_0x1066da[_0x44dc54(0x2a8)]=!![],_0x1066da[_0x44dc54(0x2b1)]=!![],fs['rmSync'](_0x63bda[_0x44dc54(0x249)]['workingDir'],_0x1066da),logger[_0x44dc54(0x262)](_0x44dc54(0x224)+_0x63bda['abortBuildOnFailure'][_0x44dc54(0x235)]);}catch(_0x13d775){logger['error'](_0x44dc54(0x228)+_0x13d775);}let _0x4f8ef4=null;if(fs['existsSync'](_0x31828d)){_0x4f8ef4=fs[_0x44dc54(0x29e)](_0x31828d);try{_0x4f8ef4=JSON[_0x44dc54(0x290)](_0x4f8ef4);}catch(_0x15ca66){logger[_0x44dc54(0x262)](_0x44dc54(0x227)+_0x31828d+',\x20'+_0x4f8ef4+'\x20:\x20'+_0x15ca66);}fs[_0x44dc54(0x28b)](_0x31828d);}fs['unlinkSync'](_0x5cbd47),fs[_0x44dc54(0x28b)](_0x205fdc),_0x4f8ef4&&(_0x435320[_0x44dc54(0x275)]=helper['getErrorMessageFromResults'](_0x4f8ef4,_0x4a3bcf[_0x44dc54(0x245)],_0x435320));const _0x2d13f4=BrowserstackCLI[_0x44dc54(0x28c)]();try{await TestHubHandler[_0x44dc54(0x289)](),await BrowserstackCLI[_0x44dc54(0x20d)]()[_0x44dc54(0x289)]();}catch(_0x7d828f){console['log'](_0x7d828f),_0x4a3bcf['OEcun'](debug,'Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20'+util[_0x44dc54(0x203)](_0x7d828f));}testOpsHelper[_0x44dc54(0x242)](),TestDetails[_0x44dc54(0x2a0)](),await utilities['finalExecution'](_0x435320,_0x2d13f4);});}function a14_0x1555(){const _0x13a17d=['accessibilityOptions','close','../../helpers/performance/performance-tester','platforms','jest.setup.js','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','../../helpers/test-observability/constants','sVwAJ','writeFileSync','@playwright/test','reporters','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','failFast','JUCrh','skipSessionName','win32','getPackageVersion','timeout__',',\x20CLI\x20running:\x20','../../helpers/percy/utils','Deleted\x20fail-fast\x20state\x20folder:\x20','UBAOY','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','Error\x20while\x20parsing\x20','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','env','3877533iOrUur','inherit','lXhNU','iDTzs','JEST','shouldProcessEventForTesthub','dkUNF','YIsei','testContextOptions','jest_browserstack.config.cjs','EVENTS','workingDir','10aWguMx','info','findIndex','BROWSERSTACK_TEST_ACCESSIBILITY_YML','cjs','existsSync','testEnvironmentOptions','testObservability','initialize','cwd','platform','reorderTestFiles','printBuildLink','@jest/core/build/ReporterDispatcher.js','test_before.setup.js','pGpvB','jETVc','push','1144urGxdi','abortBuildOnFailure','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','getHubUrl','setupFiles','maxRetries','\x0amodule.exports\x20=\x20config;','wXpZW','true','Getting\x20your\x20jest\x20configs\x20from\x20','launchBuild','QeVzl','jest-config','package.json','rmdirSync','jest','yMXAA','browserStackPercyOptions','handleApp','resolve','testSequencer','Qdxls','../../helpers/test-observability/utils','OBaIB','exitCode','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','debug','../v2/browserstackCLI','SDK_CLEANUP','--config','isBrowserstackInfra','readInitialOptions','error\x20removing\x20tcg\x20config\x20file','parseTestOrchestrationOptions','VcEnt','BSTACK_JEST_TEST_ENV','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','SRHoB','jest-circus/build/runner.js','stringify','KrYXr','testTimeout','false','sbeCU','oaWRa','errorMessage','splice','getTCGConfigFilePaths','slice','error','getPackageType','831CVWZGe','UrZEj','CNlpv','889270xJQXBn','requireModule','mjs','skipSessionStatus','4564mJWSRX',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','data-hooks.js','LKETF','findTestFiles','requireSeleniumWebdriver','../../helpers/BrowserStackSetup','stop','jest_browserstack_results.json','unlinkSync','isCLIEnabled','json','tXLzX','assign','parse','../../helpers/testhub/utils','resolveModule','HEWwv','528414YaaofA','1303908YKwpVN','FRAMEWORKS','jest.config.','XwOck','customImplements','setup','customCircus.js','vxbAM','LgeBv','readFileSync','Creating\x20','shutdown','Found:\x20','USER_CONFIG_DETAILS_PATH','NEVvZ','fgXlM','proxySettings','customTestRunnerTemplate.js','Deleting\x20','recursive','child\x20process\x20exited\x20with\x20code\x20','config','\x20test\x20files\x20to\x20run.','./test-observability/helper','exports','path','playwright','default','force','../utils/clientTroubleshootingService','BROWSERSTACK_CAPABILITIES','ZLtad','requirePWModule','retries__','\x0a\x20\x20\x20\x20\x20\x20','17157drxzLE','yLnBC','isTestOrchestrationEnabled','UIGaU','isUndefined','72ysgInq','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','prepareCapabilities','aMdig','isEmpty','JEST_TEST_ORDER','jest_browserstack.config.js','testEnvironment','parallelsPerPlatform','browserStackLogLevel','13lbxPFX','../../helpers/helper','326990ixXime','failureThresholdCount','SDK_SETUP','customEnvironment.js','turboScaleUrl','rqoiE',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','iFjDG','HZGLJ','child_process','retryTestsOnFailure','IGrjR','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','length','customTestRunner.js','winstonLogger','../../helpers/logger','isRunning','../../helpers/accessibility-automation/helper','join','yDsxN','ltTvF','PACKAGE_TYPE','maxWorkers','1nrPkfo','util','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','setupFilesAfterEnv','\x20with\x20browserstack\x20jest\x20configs','PKiko','mqcwf','format','MODULE','apply','isNotUndefined','../../helpers/playwright-helper','../../helpers/test-orchestration/testOrchestrationHandler','runner','Wzhaw','const\x20config=','jest-circus','getInstance','checkAccessibilityPlatformConfig','Unable\x20to\x20find\x20jest-circus,\x20'];a14_0x1555=function(){return _0x13a17d;};return a14_0x1555();}function a14_0xa6ec(_0x2a6930,_0x286fd0){const _0x1555b4=a14_0x1555();return a14_0xa6ec=function(_0xa6ec5d,_0x38fe54){_0xa6ec5d=_0xa6ec5d-0x1e7;let _0x1169d8=_0x1555b4[_0xa6ec5d];return _0x1169d8;},a14_0xa6ec(_0x2a6930,_0x286fd0);}module[a14_0x5a54a7(0x2ad)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a15_0x4949(){const _0x5c15f1=['default','3643845nAYWJw','path','initRequireModule','6060929qvBcTD','914341uKAvEr','1388378xYWjFV','jest-circus/build/runner.js','yiGQf','../../../helpers/helper','wzxVX','requireInternalModule','jest-circus','join','exports','10320696KiCdFy','DhYRr','212946jEzlLw','includes','6443476BeoRQc','function','5qyDVhH','jestAdapterInit','8NyLPiw'];a15_0x4949=function(){return _0x5c15f1;};return a15_0x4949();}function a15_0x52a5(_0x5f1a9b,_0x7ecbb0){const _0x4949f2=a15_0x4949();return a15_0x52a5=function(_0x52a548,_0x167c1f){_0x52a548=_0x52a548-0x144;let _0x3d773f=_0x4949f2[_0x52a548];return _0x3d773f;},a15_0x52a5(_0x5f1a9b,_0x7ecbb0);}const a15_0x1f2fea=a15_0x52a5;(function(_0x4c98e8,_0xa55b8d){const _0x256532=a15_0x52a5,_0x45e67c=_0x4c98e8();while(!![]){try{const _0x3666d8=parseInt(_0x256532(0x151))/0x1+parseInt(_0x256532(0x152))/0x2+parseInt(_0x256532(0x14d))/0x3+-parseInt(_0x256532(0x147))/0x4+parseInt(_0x256532(0x149))/0x5*(-parseInt(_0x256532(0x145))/0x6)+parseInt(_0x256532(0x150))/0x7*(parseInt(_0x256532(0x14b))/0x8)+-parseInt(_0x256532(0x15b))/0x9;if(_0x3666d8===_0xa55b8d)break;else _0x45e67c['push'](_0x45e67c['shift']());}catch(_0xa9422b){_0x45e67c['push'](_0x45e67c['shift']());}}}(a15_0x4949,0xdab90));const path=require(a15_0x1f2fea(0x14e)),{requireModule}=require(a15_0x1f2fea(0x155));let initJestAdapter;try{initJestAdapter=requireModule('jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js',a15_0x1f2fea(0x158));}catch{initJestAdapter=requireModule(a15_0x1f2fea(0x153),'jest-circus');}initJestAdapter=typeof initJestAdapter===a15_0x1f2fea(0x148)?initJestAdapter:initJestAdapter[a15_0x1f2fea(0x14c)];const FRAMEWORK_INITIALIZER=path[a15_0x1f2fea(0x159)](__dirname,'customJestAdapterInit.js');module[a15_0x1f2fea(0x15a)]=(..._0x39f7ae)=>{const _0x3d9b9d=a15_0x1f2fea,_0xa52c37={'wzxVX':_0x3d9b9d(0x14a),'DhYRr':function(_0x4250b7,_0x1fb8c8){return _0x4250b7===_0x1fb8c8;},'yiGQf':function(_0x31287e,..._0x3af5bf){return _0x31287e(..._0x3af5bf);}};return _0x39f7ae[0x3][_0x3d9b9d(0x14f)]=_0x39f7ae[0x3][_0x3d9b9d(0x157)],_0x39f7ae[0x3]['requireInternalModule']=(..._0xde5b44)=>{const _0x320136=_0x3d9b9d;if(_0xde5b44[0x0]&&_0xde5b44[0x0][_0x320136(0x146)](_0xa52c37[_0x320136(0x156)])&&_0xa52c37[_0x320136(0x144)](_0xde5b44[0x1],undefined))return _0x39f7ae[0x3][_0x320136(0x14f)](FRAMEWORK_INITIALIZER);return _0x39f7ae[0x3]['initRequireModule'](..._0xde5b44);},_0xa52c37[_0x3d9b9d(0x154)](initJestAdapter,..._0x39f7ae);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x4d8850=a16_0xee14;(function(_0x1b7152,_0x173ab5){const _0x369132=a16_0xee14,_0x530765=_0x1b7152();while(!![]){try{const _0x143059=parseInt(_0x369132(0x239))/0x1*(-parseInt(_0x369132(0x1d3))/0x2)+-parseInt(_0x369132(0x1f7))/0x3*(-parseInt(_0x369132(0x220))/0x4)+parseInt(_0x369132(0x1e6))/0x5+parseInt(_0x369132(0x1f9))/0x6+parseInt(_0x369132(0x217))/0x7*(parseInt(_0x369132(0x1ec))/0x8)+-parseInt(_0x369132(0x1ca))/0x9+-parseInt(_0x369132(0x227))/0xa;if(_0x143059===_0x173ab5)break;else _0x530765['push'](_0x530765['shift']());}catch(_0xa22e56){_0x530765['push'](_0x530765['shift']());}}}(a16_0x4f1b,0xc3c7a));const helper=require(a16_0x4d8850(0x1d8)),constants=require('../../utils/constants'),{isTestObservabilitySession}=require(a16_0x4d8850(0x1d9)),RequestQueueHandler=require(a16_0x4d8850(0x201)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x4d8850(0x1d7)),logger=require(a16_0x4d8850(0x228))[a16_0x4d8850(0x202)],getTestEnvironment=((()=>{const _0x2f018c=a16_0x4d8850,_0x4b5138={};_0x4b5138[_0x2f018c(0x207)]=_0x2f018c(0x1fa),_0x4b5138[_0x2f018c(0x22f)]=_0x2f018c(0x1eb);const _0x2a9a1b=_0x4b5138;try{const _0x20c516=helper[_0x2f018c(0x1c9)](_0x2a9a1b[_0x2f018c(0x207)]);if(_0x20c516[_0x2f018c(0x1d5)])return _0x20c516['resolveTestEnvironment'];const _0xacb95=helper['requireModule'](_0x2a9a1b['ldYKA']);if(_0xacb95['getTestEnvironment'])return _0xacb95[_0x2f018c(0x22e)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x2da08d=a16_0x4d8850,_0x438134={'mWFLP':function(_0x2e2734,_0x45b2a7){return _0x2e2734(_0x45b2a7);},'CmdDN':'node','eILhR':_0x2da08d(0x205),'hLASP':function(_0x4ae228,_0x16d426){return _0x4ae228(_0x16d426);}},_0x66559f=_0x438134['mWFLP'](getTestEnvironment,{'rootDir':process[_0x2da08d(0x215)](),'testEnvironment':process[_0x2da08d(0x230)][_0x2da08d(0x21f)]||_0x438134[_0x2da08d(0x213)]});if(!_0x66559f)return _0x438134['mWFLP'](_interopRequireDefault,helper[_0x2da08d(0x1c9)](_0x438134[_0x2da08d(0x1d4)]));return _0x438134[_0x2da08d(0x1f8)](_interopRequireDefault,helper[_0x2da08d(0x1c9)](_0x66559f));})()),_seleniumWebdriver2=((()=>{const _0x59b3bc=a16_0x4d8850,_0x394db5={'prMBw':function(_0x28335b,_0x2a0d72){return _0x28335b(_0x2a0d72);}};try{const _0x58e949=helper[_0x59b3bc(0x1df)]();return helper['modifyCommand'](),_0x394db5[_0x59b3bc(0x238)](_interopRequireDefault,_0x58e949);}catch{return null;}})());function _interopRequireDefault(_0x37fde5){const _0x2f6d0e=a16_0x4d8850;return _0x37fde5&&_0x37fde5[_0x2f6d0e(0x1c6)]?_0x37fde5:{'default':_0x37fde5};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x4d8850(0x20a)][a16_0x4d8850(0x211)]:null;function a16_0xee14(_0xec23c8,_0xcf2a4){const _0x4f1bc6=a16_0x4f1b();return a16_0xee14=function(_0xee1480,_0x9fa6cc){_0xee1480=_0xee1480-0x1c5;let _0x377bcd=_0x4f1bc6[_0xee1480];return _0x377bcd;},a16_0xee14(_0xec23c8,_0xcf2a4);}function a16_0x4f1b(){const _0x4d5460=['__skipSessionStatus','bhbaP','info','shutdown','getInstance','browserStackPercyOptions','13480240gBgctk','../../../helpers/logger','name','retries__','global','percy','builder','getTestEnvironment','ldYKA','env','skipSessionName','browserstackPlatformIndex','__driversArray','__jestRetries','cleanupDrivers','failFast','wLUgO','prMBw','1HWOUtt','dvpis','__esModule','JEST','NYrUt','requireModule','2243691lNJOqx','sessionNameProvided','mode','join','Gules','test_start','capability','AXLhG','message','2258122VQWGqA','eILhR','resolveTestEnvironment','__webdriver','../../../helpers/testhub/utils','../../../helpers/helper','../../../helpers/test-observability/utils','FRAMEWORKS','quit','skip','split','bIaFm','requireSeleniumWebdriver','isBrowserstackInfra','nlUpO','percyCaptureMode','DsmSG','QKJtm','testContext','1869985OPdPwH','WQNIk','shouldFailFast','debug','nestedKeyValue','jest-config','26056FAoCEA','shouldProcessEventForTesthub','timeout__','platformCaps','failFastOptions','skipSessionStatus','browserStackGlobals','PnyKf','setup','registerListeners','testEnvironmentOptions','3NIoPlm','hLASP','5616666aaQiBf','jest-resolve','GnOQE','Error\x20in\x20fail-fast\x20test_done\x20handler:','browserstackPercyBestPlatform','driver','isTrue','capabilities','../../../helpers/test-observability/requestQueueHandler','winstonLogger','onTestDone','isArray','jest-environment-node','exports','gBcHQ','../../../helpers/test-orchestration/failfastManager','__platformCaps','default','projectConfig','buildName','7|0|5|2|6|4|3|1','configuration','BKJKf','cleanup','Builder','fbUrp','CmdDN','../../../index','cwd','failFastActive','3241zSsdsl','RSMYK','__timeout','inqVL','teardown','BSTACK_DELTA','test','jestConfig','BSTACK_JEST_TEST_ENV','2840796mbYNCX'];a16_0x4f1b=function(){return _0x4d5460;};return a16_0x4f1b();}class CustomEnvironment extends _jestUserEnvironment[a16_0x4d8850(0x20a)]{constructor(_0x10cd4c){const _0x521373=a16_0x4d8850,_0x40f6b5={'NYrUt':_0x521373(0x1db),'fbUrp':function(_0x4ce098,_0x27f603){return _0x4ce098+_0x27f603;},'QKJtm':'bstack:options','WQNIk':function(_0x3aeae2,_0x1bb764){return _0x3aeae2(_0x1bb764);},'GXWBR':_0x521373(0x208),'bIaFm':_0x521373(0x20d),'dleaX':_0x521373(0x214),'inqVL':_0x521373(0x1f6),'nlUpO':_0x521373(0x226),'Gules':_0x521373(0x22c),'rANph':_0x521373(0x1fd),'PnyKf':_0x521373(0x1e2)};super(_0x10cd4c),this[_0x521373(0x22b)]['__timeout']=0x0,this['configuration']={};!_0x10cd4c[_0x521373(0x1f6)]&&(_0x10cd4c[_0x521373(0x1f6)]={});if(helper[_0x521373(0x1e0)]()){_0x10cd4c[_0x521373(0x1f6)]=_0x10cd4c['projectConfig']?_0x10cd4c[_0x521373(0x20b)][_0x521373(0x1f6)]:_0x10cd4c[_0x521373(0x1f6)];_seleniumWebdriver2&&(this[_0x521373(0x22d)]=new _seleniumWebdriver2[(_0x521373(0x20a))]['Builder']());this[_0x521373(0x1d0)]=_0x10cd4c['projectConfig']?_0x10cd4c[_0x521373(0x20b)]['capability']:_0x10cd4c['capability'],this[_0x521373(0x22b)][_0x521373(0x219)]=_0x40f6b5[_0x521373(0x212)](_0x10cd4c[_0x521373(0x1f6)][_0x521373(0x1ee)]||0x1388,constants[_0x521373(0x21c)]),this[_0x521373(0x1f0)]=_0x10cd4c['testEnvironmentOptions'][_0x521373(0x236)];if(this[_0x521373(0x1f0)]){const _0x2dae0a=this[_0x521373(0x1d0)][_0x40f6b5[_0x521373(0x1e4)]]?.[_0x521373(0x20c)]||'',_0x3c63aa=this[_0x521373(0x1d0)][_0x40f6b5[_0x521373(0x1e4)]]?.['projectName']||'';this[_0x521373(0x236)]=new(_0x40f6b5[_0x521373(0x1e7)](require,_0x40f6b5['GXWBR']))(this[_0x521373(0x1f0)],_0x2dae0a,_0x3c63aa),this['global'][_0x521373(0x216)]=![];}helper['isNotUndefined'](_0x10cd4c[_0x521373(0x1f6)]['retries__'])&&(this[_0x521373(0x22b)][_0x521373(0x234)]=_0x10cd4c[_0x521373(0x1f6)][_0x521373(0x22a)]);}if(testhubUtils[_0x521373(0x1ed)]()){const _0x4f88f5=new ObservabilityReporter();_0x4f88f5[_0x521373(0x1f5)]();}this['global'][_0x521373(0x1f2)]={},this[_0x521373(0x20e)]=_0x10cd4c['testEnvironmentOptions'],this[_0x521373(0x20e)]['framework']=constants[_0x521373(0x1da)][_0x521373(0x1c7)],this[_0x521373(0x22b)][_0x521373(0x232)]=(_0x10cd4c[_0x521373(0x20b)]?_0x10cd4c[_0x521373(0x20b)][_0x521373(0x232)]:_0x10cd4c[_0x521373(0x232)])||0x0,this[_0x521373(0x22b)][_0x521373(0x209)]=this[_0x521373(0x20e)]&&this[_0x521373(0x20e)][_0x521373(0x1ef)]&&Array['isArray'](this[_0x521373(0x20e)][_0x521373(0x1ef)])&&this[_0x521373(0x20e)][_0x521373(0x1ef)][this[_0x521373(0x22b)][_0x521373(0x232)]]||{};const _0x7df991=this[_0x521373(0x22b)][_0x521373(0x232)],_0x41b302={...this[_0x521373(0x20e)],'capability':this[_0x521373(0x20e)][_0x521373(0x200)]&&Array[_0x521373(0x204)](this[_0x521373(0x20e)]['capabilities'])&&this['configuration'][_0x521373(0x200)][_0x7df991]||{},'platformCaps':this[_0x521373(0x20e)][_0x521373(0x1ef)]&&Array[_0x521373(0x204)](this[_0x521373(0x20e)][_0x521373(0x1ef)])&&this[_0x521373(0x20e)]['platformCaps'][_0x7df991]||{}};delete _0x41b302[_0x521373(0x200)],this['global'][_0x521373(0x21e)]=_0x41b302;if(_seleniumWebdriver2){const _0x1da107=_0x40f6b5[_0x521373(0x1de)][_0x521373(0x1dd)]('|');let _0x14b598=0x0;while(!![]){switch(_0x1da107[_0x14b598++]){case'0':this[_0x521373(0x22b)]['__webdriver']=_0x40f6b5[_0x521373(0x1e7)](require,_0x40f6b5['dleaX'])['browserstackAgentV2']({...this[_0x521373(0x20e)],'capability':this[_0x521373(0x1d0)]||{}},this,testhubUtils[_0x521373(0x1ed)]());continue;case'1':this[_0x521373(0x22b)][_0x521373(0x210)]=async()=>{const _0x1f3122=_0x521373;await this['global'][_0x1f3122(0x1fe)][_0x1f3122(0x1db)](_0x40f6b5[_0x1f3122(0x1c8)]);};continue;case'2':this[_0x521373(0x22b)][_0x521373(0x22c)]=helper[_0x521373(0x1ea)](_0x10cd4c,[_0x40f6b5[_0x521373(0x21a)],_0x40f6b5['nlUpO'],_0x40f6b5[_0x521373(0x1ce)]]);continue;case'3':this[_0x521373(0x22b)][_0x521373(0x221)]=helper['isTrue'](this[_0x521373(0x20e)][_0x521373(0x1f1)]);continue;case'4':helper[_0x521373(0x1ff)](this[_0x521373(0x20e)][_0x521373(0x231)])?this[_0x521373(0x22b)]['sessionNameProvided']=!![]:this[_0x521373(0x22b)][_0x521373(0x1cb)]=![];continue;case'5':this[_0x521373(0x22b)]['browserstackPercyBestPlatform']=helper[_0x521373(0x1ea)](_0x10cd4c,[_0x40f6b5[_0x521373(0x21a)],_0x40f6b5[_0x521373(0x1e1)],_0x40f6b5['rANph']]);continue;case'6':this[_0x521373(0x22b)]['percyCaptureMode']=helper[_0x521373(0x1ea)](_0x10cd4c,[_0x40f6b5[_0x521373(0x21a)],_0x40f6b5[_0x521373(0x1e1)],_0x40f6b5[_0x521373(0x1f3)]]);continue;case'7':this[_0x521373(0x22b)]['__drivers']=[];continue;}break;}}}async['teardown'](){const _0xb7514f=a16_0x4d8850;_seleniumWebdriver2&&(await helper[_0xb7514f(0x235)](this[_0xb7514f(0x22b)][_0xb7514f(0x233)]),this[_0xb7514f(0x22b)][_0xb7514f(0x1d6)][_0xb7514f(0x211)]=originalBuilder),await RequestQueueHandler[_0xb7514f(0x225)]()[_0xb7514f(0x224)]();}async[a16_0x4d8850(0x1f4)](){}async['handleTestEvent'](_0x3b0c07,_0x3942b8){const _0x303db7=a16_0x4d8850,_0x17c5fd={};_0x17c5fd['wLUgO']=function(_0x3a7469,_0x329717){return _0x3a7469===_0x329717;},_0x17c5fd[_0x303db7(0x1c5)]=_0x303db7(0x1cf),_0x17c5fd[_0x303db7(0x20f)]=_0x303db7(0x1dc),_0x17c5fd[_0x303db7(0x222)]='test_done',_0x17c5fd['AXLhG']='\x20>\x20',_0x17c5fd[_0x303db7(0x218)]=function(_0x259970,_0x559e93){return _0x259970===_0x559e93;},_0x17c5fd[_0x303db7(0x1e3)]=_0x303db7(0x1fc),_0x17c5fd[_0x303db7(0x1fb)]=_0x303db7(0x21b);const _0x3c2ba1=_0x17c5fd,{name:_0x2394fc}=_0x3b0c07;if(_0x3c2ba1[_0x303db7(0x237)](_0x2394fc,_0x3c2ba1[_0x303db7(0x1c5)])){this[_0x303db7(0x22b)][_0x303db7(0x1e5)]=_0x3b0c07['test'];if(_0x3c2ba1[_0x303db7(0x237)](this['global'][_0x303db7(0x216)],!![])){const _0x591ded=_0x3b0c07[_0x303db7(0x21d)][_0x303db7(0x229)];logger[_0x303db7(0x223)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x591ded),_0x3b0c07[_0x303db7(0x21d)][_0x303db7(0x1cc)]=_0x3c2ba1['BKJKf'];}}if(this[_0x303db7(0x236)]&&_0x3c2ba1[_0x303db7(0x237)](_0x2394fc,_0x3c2ba1[_0x303db7(0x222)]))try{const _0x4c39df=_0x3b0c07[_0x303db7(0x21d)]['testPath'][_0x303db7(0x1cd)](_0x3c2ba1[_0x303db7(0x1d1)]),_0xd8b181=_0x3b0c07['test']['errors'];await this[_0x303db7(0x236)][_0x303db7(0x203)](_0x4c39df,_0xd8b181);const _0x24ff6a=await this[_0x303db7(0x236)][_0x303db7(0x1e8)]();_0x3c2ba1[_0x303db7(0x218)](this[_0x303db7(0x22b)][_0x303db7(0x216)],![])&&_0x3c2ba1['RSMYK'](_0x24ff6a,!![])&&(this[_0x303db7(0x22b)]['failFastActive']=!![]);}catch(_0x35694a){logger[_0x303db7(0x1e9)](_0x3c2ba1[_0x303db7(0x1e3)],_0x35694a[_0x303db7(0x1d2)]);}_0x3c2ba1[_0x303db7(0x218)](_0x2394fc,_0x3c2ba1[_0x303db7(0x1fb)])&&(this['failFast']&&this[_0x303db7(0x236)][_0x303db7(0x210)]());}}module[a16_0x4d8850(0x206)]=CustomEnvironment;
|
|
1
|
+
function a16_0x4497(){const _0x38fea2=['8cScsNt','../../../helpers/test-observability/requestQueueHandler','JcrHJ','browserStackGlobals','1056614cKCsNn','qwCiC','projectConfig','jestConfig','BToyu','getInstance','nestedKeyValue','__driversArray','jest-environment-node','browserstackPercyBestPlatform','XYJVm','teardown','tXBSf','modifyCommand','FHfIN','Builder','failFastOptions','registerListeners','__webdriver','\x20>\x20','projectName','skipSessionStatus','EyGEn','yzjXQ','../../../helpers/helper','join','isNotUndefined','667390NHsocw','retries__','BSTACK_JEST_TEST_ENV','__skipSessionStatus','isArray','../../../helpers/test-orchestration/failfastManager','AtuMm','testPath','../test-observability/obsReporter','shutdown','shouldFailFast','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','skip','../../../helpers/testhub/utils','info','isTrue','failFast','requireModule','BSTACK_DELTA','test_done','yIXDM','capability','errors','buildName','failFastActive','builder','../../../index','WOCJO','pdReZ','1AHpLhL','__timeout','../../../helpers/test-observability/utils','pIkNm','testContext','browserstackPlatformIndex','77dlrrvD','quit','env','jest-config','__drivers','resolveTestEnvironment','capabilities','471ikhQhE','debug','Error\x20in\x20fail-fast\x20test_done\x20handler:','global','JEST','default','iIvEF','sxFmq','DIKJD','platformCaps','XsaBg','dkdbD','umtIX','FRAMEWORKS','12HAOuYQ','browserstackAgentV2','1955541WlqFzm','sessionNameProvided','testEnvironmentOptions','percy','bstack:options','shouldProcessEventForTesthub','timeout__','zhpiz','configuration','aBZex','../../../helpers/logger','6856XlZJTj','fthhn','jest-resolve','1306719EDTqNJ','onTestDone','cleanupDrivers','700508ESrueK','framework','split','name','getTestEnvironment','48crSolu','__platformCaps','wjEBD','cleanup','538315ILeZHD','XGEWK','cwd','2|4|0|5|3|6|7|1','handleTestEvent','test','kRhIN','../../utils/constants','percyCaptureMode'];a16_0x4497=function(){return _0x38fea2;};return a16_0x4497();}const a16_0x55f03e=a16_0x2a16;(function(_0x2b9224,_0x6cb881){const _0x209601=a16_0x2a16,_0x414ef0=_0x2b9224();while(!![]){try{const _0x3e81c2=parseInt(_0x209601(0x12e))/0x1*(parseInt(_0x209601(0xe0))/0x2)+parseInt(_0x209601(0x13b))/0x3*(-parseInt(_0x209601(0xda))/0x4)+parseInt(_0x209601(0xe9))/0x5*(parseInt(_0x209601(0x149))/0x6)+-parseInt(_0x209601(0xcf))/0x7+-parseInt(_0x209601(0xf2))/0x8*(-parseInt(_0x209601(0xdd))/0x9)+-parseInt(_0x209601(0x111))/0xa*(-parseInt(_0x209601(0x134))/0xb)+-parseInt(_0x209601(0xe5))/0xc*(parseInt(_0x209601(0xf6))/0xd);if(_0x3e81c2===_0x6cb881)break;else _0x414ef0['push'](_0x414ef0['shift']());}catch(_0xe6d60e){_0x414ef0['push'](_0x414ef0['shift']());}}}(a16_0x4497,0x4a4f3));const helper=require(a16_0x55f03e(0x10e)),constants=require(a16_0x55f03e(0xf0)),{isTestObservabilitySession}=require(a16_0x55f03e(0x130)),RequestQueueHandler=require(a16_0x55f03e(0xf3)),ObservabilityReporter=require(a16_0x55f03e(0x119)),testhubUtils=require(a16_0x55f03e(0x11e)),logger=require(a16_0x55f03e(0xd9))['winstonLogger'],getTestEnvironment=((()=>{const _0x41318f=a16_0x55f03e,_0x361408={};_0x361408['aBZex']=_0x41318f(0xdc),_0x361408[_0x41318f(0x141)]=_0x41318f(0x137);const _0x4ccde6=_0x361408;try{const _0x436752=helper['requireModule'](_0x4ccde6[_0x41318f(0xd8)]);if(_0x436752[_0x41318f(0x139)])return _0x436752[_0x41318f(0x139)];const _0x1bb6c9=helper['requireModule'](_0x4ccde6['iIvEF']);if(_0x1bb6c9[_0x41318f(0xe4)])return _0x1bb6c9[_0x41318f(0xe4)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x53a527=a16_0x55f03e,_0x5e8be2={'kRhIN':function(_0x2d5a8b,_0x3c5998){return _0x2d5a8b(_0x3c5998);},'fthhn':'node','wjEBD':function(_0x522d56,_0x184be1){return _0x522d56(_0x184be1);},'dkdbD':_0x53a527(0xfe),'WOCJO':function(_0xd8fb26,_0x344160){return _0xd8fb26(_0x344160);}},_0x344bef=_0x5e8be2[_0x53a527(0xef)](getTestEnvironment,{'rootDir':process[_0x53a527(0xeb)](),'testEnvironment':process[_0x53a527(0x136)][_0x53a527(0x113)]||_0x5e8be2[_0x53a527(0xdb)]});if(!_0x344bef)return _0x5e8be2[_0x53a527(0xe7)](_interopRequireDefault,helper[_0x53a527(0x122)](_0x5e8be2[_0x53a527(0x146)]));return _0x5e8be2[_0x53a527(0x12c)](_interopRequireDefault,helper[_0x53a527(0x122)](_0x344bef));})()),_seleniumWebdriver2=((()=>{const _0x559156=a16_0x55f03e,_0x158357={'TTnsE':function(_0x3058e1,_0x135f26){return _0x3058e1(_0x135f26);}};try{const _0x260702=helper['requireSeleniumWebdriver']();return helper[_0x559156(0x103)](),_0x158357['TTnsE'](_interopRequireDefault,_0x260702);}catch{return null;}})());function _interopRequireDefault(_0x300df1){return _0x300df1&&_0x300df1['__esModule']?_0x300df1:{'default':_0x300df1};}function a16_0x2a16(_0x37cfad,_0x3efd0f){const _0x4497e6=a16_0x4497();return a16_0x2a16=function(_0x2a16ce,_0x4d3f61){_0x2a16ce=_0x2a16ce-0xce;let _0x21823d=_0x4497e6[_0x2a16ce];return _0x21823d;},a16_0x2a16(_0x37cfad,_0x3efd0f);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x55f03e(0x140)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x55f03e(0x140)]{constructor(_0x5912db){const _0x346ae4=a16_0x55f03e,_0x341833={'XsaBg':_0x346ae4(0x135),'mTCJS':function(_0x5e5cf4,_0x1486b7){return _0x5e5cf4+_0x1486b7;},'umtIX':_0x346ae4(0xd3),'pIkNm':function(_0x387e88,_0x1cf3e4){return _0x387e88(_0x1cf3e4);},'TCeEi':_0x346ae4(0x116),'tXBSf':_0x346ae4(0xec),'XYJVm':_0x346ae4(0xd1),'qwCiC':'browserStackPercyOptions','BToyu':_0x346ae4(0xff),'EyGEn':'percyCaptureMode','DIKJD':_0x346ae4(0x12b),'yIXDM':_0x346ae4(0xd2)};super(_0x5912db),this['global'][_0x346ae4(0x12f)]=0x0,this[_0x346ae4(0xd7)]={};!_0x5912db[_0x346ae4(0xd1)]&&(_0x5912db[_0x346ae4(0xd1)]={});if(helper['isBrowserstackInfra']()){_0x5912db[_0x346ae4(0xd1)]=_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)][_0x346ae4(0xd1)]:_0x5912db[_0x346ae4(0xd1)];_seleniumWebdriver2&&(this[_0x346ae4(0x12a)]=new _seleniumWebdriver2[(_0x346ae4(0x140))][(_0x346ae4(0x105))]());this[_0x346ae4(0x126)]=_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)][_0x346ae4(0x126)]:_0x5912db[_0x346ae4(0x126)],this['global'][_0x346ae4(0x12f)]=_0x341833['mTCJS'](_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0xd5)]||0x1388,constants[_0x346ae4(0x123)]),this[_0x346ae4(0x106)]=_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x121)];if(this[_0x346ae4(0x106)]){const _0x596db8=this[_0x346ae4(0x126)][_0x341833[_0x346ae4(0x147)]]?.[_0x346ae4(0x128)]||'',_0x45ad7b=this[_0x346ae4(0x126)][_0x341833[_0x346ae4(0x147)]]?.[_0x346ae4(0x10a)]||'';this[_0x346ae4(0x121)]=new(_0x341833[_0x346ae4(0x131)](require,_0x341833['TCeEi']))(this[_0x346ae4(0x106)],_0x596db8,_0x45ad7b),this['global'][_0x346ae4(0x129)]=![];}helper[_0x346ae4(0x110)](_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x112)])&&(this[_0x346ae4(0x13e)]['__jestRetries']=_0x5912db[_0x346ae4(0xd1)][_0x346ae4(0x112)]);}if(testhubUtils[_0x346ae4(0xd4)]()){const _0x6662e2=new ObservabilityReporter();_0x6662e2[_0x346ae4(0x107)]();}this['global'][_0x346ae4(0xf5)]={},this['configuration']=_0x5912db[_0x346ae4(0xd1)],this[_0x346ae4(0xd7)][_0x346ae4(0xe1)]=constants[_0x346ae4(0x148)][_0x346ae4(0x13f)],this[_0x346ae4(0x13e)][_0x346ae4(0x133)]=(_0x5912db[_0x346ae4(0xf8)]?_0x5912db[_0x346ae4(0xf8)]['browserstackPlatformIndex']:_0x5912db['browserstackPlatformIndex'])||0x0,this[_0x346ae4(0x13e)][_0x346ae4(0xe6)]=this[_0x346ae4(0xd7)]&&this[_0x346ae4(0xd7)]['platformCaps']&&Array[_0x346ae4(0x115)](this[_0x346ae4(0xd7)][_0x346ae4(0x144)])&&this['configuration']['platformCaps'][this[_0x346ae4(0x13e)]['browserstackPlatformIndex']]||{};const _0xa45f8c=this[_0x346ae4(0x13e)][_0x346ae4(0x133)],_0x311e4f={...this[_0x346ae4(0xd7)],'capability':this[_0x346ae4(0xd7)]['capabilities']&&Array['isArray'](this[_0x346ae4(0xd7)][_0x346ae4(0x13a)])&&this[_0x346ae4(0xd7)][_0x346ae4(0x13a)][_0xa45f8c]||{},'platformCaps':this['configuration']['platformCaps']&&Array['isArray'](this[_0x346ae4(0xd7)][_0x346ae4(0x144)])&&this[_0x346ae4(0xd7)][_0x346ae4(0x144)][_0xa45f8c]||{}};delete _0x311e4f[_0x346ae4(0x13a)],this[_0x346ae4(0x13e)][_0x346ae4(0xf9)]=_0x311e4f;if(_seleniumWebdriver2){const _0x350d79=_0x341833[_0x346ae4(0x102)][_0x346ae4(0xe2)]('|');let _0x550f9f=0x0;while(!![]){switch(_0x350d79[_0x550f9f++]){case'0':this['global']['browserstackPercyBestPlatform']=helper['nestedKeyValue'](_0x5912db,[_0x341833['XYJVm'],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0xfa)]]);continue;case'1':this['global'][_0x346ae4(0xe8)]=async()=>{const _0x52328d=_0x346ae4;await this[_0x52328d(0x13e)]['driver']['quit'](_0x341833[_0x52328d(0x145)]);};continue;case'2':this[_0x346ae4(0x13e)][_0x346ae4(0x138)]=[];continue;case'3':this[_0x346ae4(0x13e)][_0x346ae4(0xf1)]=helper['nestedKeyValue'](_0x5912db,[_0x341833['XYJVm'],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0x10c)]]);continue;case'4':this['global'][_0x346ae4(0x108)]=_0x341833[_0x346ae4(0x131)](require,_0x341833[_0x346ae4(0x143)])[_0x346ae4(0xce)]({...this[_0x346ae4(0xd7)],'capability':this[_0x346ae4(0x126)]||{}},this,testhubUtils[_0x346ae4(0xd4)]());continue;case'5':this[_0x346ae4(0x13e)][_0x346ae4(0xd2)]=helper[_0x346ae4(0xfc)](_0x5912db,[_0x341833[_0x346ae4(0x100)],_0x341833[_0x346ae4(0xf7)],_0x341833[_0x346ae4(0x125)]]);continue;case'6':helper['isTrue'](this['configuration']['skipSessionName'])?this['global'][_0x346ae4(0xd0)]=!![]:this[_0x346ae4(0x13e)][_0x346ae4(0xd0)]=![];continue;case'7':this[_0x346ae4(0x13e)][_0x346ae4(0x114)]=helper[_0x346ae4(0x120)](this['configuration'][_0x346ae4(0x10b)]);continue;}break;}}}async[a16_0x55f03e(0x101)](){const _0x5488f7=a16_0x55f03e;_seleniumWebdriver2&&(await helper[_0x5488f7(0xdf)](this[_0x5488f7(0x13e)][_0x5488f7(0xfd)]),this['global'][_0x5488f7(0x108)]['Builder']=originalBuilder),await RequestQueueHandler[_0x5488f7(0xfb)]()[_0x5488f7(0x11a)]();}async['setup'](){}async[a16_0x55f03e(0xed)](_0x35068a,_0xa9a917){const _0x3c7e8d=a16_0x55f03e,_0x4b45be={};_0x4b45be[_0x3c7e8d(0x12d)]=function(_0x5049a4,_0x24ef4d){return _0x5049a4===_0x24ef4d;},_0x4b45be[_0x3c7e8d(0x142)]='test_start',_0x4b45be['KZMJX']=_0x3c7e8d(0x11d),_0x4b45be[_0x3c7e8d(0xf4)]=function(_0x35853f,_0x3438c5){return _0x35853f===_0x3438c5;},_0x4b45be['XGEWK']=_0x3c7e8d(0x124),_0x4b45be[_0x3c7e8d(0x104)]=_0x3c7e8d(0x109),_0x4b45be[_0x3c7e8d(0x117)]=function(_0x52303d,_0x1b116a){return _0x52303d===_0x1b116a;},_0x4b45be[_0x3c7e8d(0x10d)]=_0x3c7e8d(0x13d),_0x4b45be[_0x3c7e8d(0xd6)]=function(_0x1d96c2,_0x28a79b){return _0x1d96c2===_0x28a79b;},_0x4b45be['VdIcd']=_0x3c7e8d(0x101);const _0x3b5930=_0x4b45be,{name:_0x5b0f00}=_0x35068a;if(_0x3b5930[_0x3c7e8d(0x12d)](_0x5b0f00,_0x3b5930[_0x3c7e8d(0x142)])){this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x132)]=_0x35068a[_0x3c7e8d(0xee)];if(_0x3b5930[_0x3c7e8d(0x12d)](this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x129)],!![])){const _0x10d1ec=_0x35068a['test'][_0x3c7e8d(0xe3)];logger[_0x3c7e8d(0x11f)](_0x3c7e8d(0x11c)+_0x10d1ec),_0x35068a['test']['mode']=_0x3b5930['KZMJX'];}}if(this[_0x3c7e8d(0x121)]&&_0x3b5930[_0x3c7e8d(0xf4)](_0x5b0f00,_0x3b5930[_0x3c7e8d(0xea)]))try{const _0x5da041=_0x35068a['test'][_0x3c7e8d(0x118)][_0x3c7e8d(0x10f)](_0x3b5930[_0x3c7e8d(0x104)]),_0x1e7429=_0x35068a[_0x3c7e8d(0xee)][_0x3c7e8d(0x127)];await this[_0x3c7e8d(0x121)][_0x3c7e8d(0xde)](_0x5da041,_0x1e7429);const _0x43eaca=await this[_0x3c7e8d(0x121)][_0x3c7e8d(0x11b)]();_0x3b5930['AtuMm'](this['global']['failFastActive'],![])&&_0x3b5930['JcrHJ'](_0x43eaca,!![])&&(this[_0x3c7e8d(0x13e)][_0x3c7e8d(0x129)]=!![]);}catch(_0x219ad6){logger[_0x3c7e8d(0x13c)](_0x3b5930[_0x3c7e8d(0x10d)],_0x219ad6['message']);}_0x3b5930['zhpiz'](_0x5b0f00,_0x3b5930['VdIcd'])&&(this[_0x3c7e8d(0x121)]&&this[_0x3c7e8d(0x121)][_0x3c7e8d(0xe8)]());}}module['exports']=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17_0x1c79a1=a17_0x1603;(function(_0x5d3f41,_0x2c5df0){const _0x136c4b=a17_0x1603,_0x4aaa33=_0x5d3f41();while(!![]){try{const _0x37c396=-parseInt(_0x136c4b(0x168))/0x1+-parseInt(_0x136c4b(0x186))/0x2*(-parseInt(_0x136c4b(0x184))/0x3)+parseInt(_0x136c4b(0x1d2))/0x4*(parseInt(_0x136c4b(0x14d))/0x5)+parseInt(_0x136c4b(0x13b))/0x6+-parseInt(_0x136c4b(0x1a3))/0x7+-parseInt(_0x136c4b(0x1c9))/0x8+parseInt(_0x136c4b(0x136))/0x9;if(_0x37c396===_0x2c5df0)break;else _0x4aaa33['push'](_0x4aaa33['shift']());}catch(_0x4f196b){_0x4aaa33['push'](_0x4aaa33['shift']());}}}(a17_0x3d81,0x6cd26));const {requireModule}=require(a17_0x1c79a1(0x1ba)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a17_0x1c79a1(0x189)),TestDetails=require(a17_0x1c79a1(0x1da)),{patchConsoleLogger,debug}=require(a17_0x1c79a1(0x1d3)),{o11yErrorHandler}=require(a17_0x1c79a1(0x16a)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils'),testHubConstants=require(a17_0x1c79a1(0x147)),BrowserstackCLI=require(a17_0x1c79a1(0x175)),TestFrameworkState=require(a17_0x1c79a1(0x155)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x1c79a1(0x12d)),{v4:uuidv4}=require(a17_0x1c79a1(0x196)),util=require(a17_0x1c79a1(0x16e)),logger=require(a17_0x1c79a1(0x1cd))[a17_0x1c79a1(0x170)],{FRAMEWORKS}=require(a17_0x1c79a1(0x1ab));let exportsI;try{exportsI=requireModule(a17_0x1c79a1(0x197),a17_0x1c79a1(0x152));}catch{exportsI=requireModule(a17_0x1c79a1(0x1ad),a17_0x1c79a1(0x152));}const initInitialize=exportsI[a17_0x1c79a1(0x1b1)],jestUtils=new JestUtils();function a17_0x1603(_0xf03d45,_0x5f3811){const _0x3d8181=a17_0x3d81();return a17_0x1603=function(_0x160371,_0x4761b1){_0x160371=_0x160371-0x12c;let _0x3aeb21=_0x3d8181[_0x160371];return _0x3aeb21;},a17_0x1603(_0xf03d45,_0x5f3811);}async function isCLIReady(){const _0xbacf31=a17_0x1c79a1,_0x4fd4fe={'nzWyx':_0xbacf31(0x1b9),'FRlGf':function(_0x2acbe7,_0xf29247){return _0x2acbe7(_0xf29247);},'teVks':'../../v2/cliUtils','bMnZE':function(_0x316ed1,_0x5ad1ee){return _0x316ed1(_0x5ad1ee);}};try{const _0x592fab=BrowserstackCLI[_0xbacf31(0x1df)]();if(_0x592fab[_0xbacf31(0x1de)]()&&_0x592fab[_0xbacf31(0x142)]())return logger['debug'](_0x4fd4fe['nzWyx']),!![];const _0x38f6e7=process[_0xbacf31(0x13e)][_0xbacf31(0x1ca)];if(_0x38f6e7&&_0x592fab['isCliEnabled']()){if(!_0x592fab[_0xbacf31(0x142)]())try{const _0xa780d1=_0x4fd4fe[_0xbacf31(0x1ac)](require,_0x4fd4fe['teVks']);_0xa780d1[_0xbacf31(0x187)](FRAMEWORKS[_0xbacf31(0x1d7)],FRAMEWORKS[_0xbacf31(0x18f)]),await _0x592fab[_0xbacf31(0x19a)]();}catch(_0x59cbc2){return _0x4fd4fe[_0xbacf31(0x131)](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0xbacf31(0x134)](_0x59cbc2)),![];}return _0x592fab['isRunning']();}return![];}catch(_0x433be){return _0x4fd4fe[_0xbacf31(0x1ac)](debug,_0xbacf31(0x14e)+util[_0xbacf31(0x134)](_0x433be)),![];}}function getTestIdentifierForHook(_0x5557da){const _0x563dc4=a17_0x1c79a1,_0x33447f={};_0x33447f[_0x563dc4(0x15d)]=function(_0x569eec,_0x5459ef){return _0x569eec===_0x5459ef;},_0x33447f[_0x563dc4(0x1cb)]='beforeEach',_0x33447f[_0x563dc4(0x160)]=function(_0x4f684f,_0x380be5){return _0x4f684f===_0x380be5;},_0x33447f[_0x563dc4(0x19f)]=_0x563dc4(0x1b4),_0x33447f[_0x563dc4(0x183)]=function(_0x569260,_0x26ccbf){return _0x569260===_0x26ccbf;};const _0x47ac36=_0x33447f;if(_0x47ac36[_0x563dc4(0x15d)](_0x5557da['type'],_0x47ac36[_0x563dc4(0x1cb)])||_0x47ac36[_0x563dc4(0x160)](_0x5557da['type'],_0x47ac36[_0x563dc4(0x19f)])){let _0x561893=global[_0x563dc4(0x1cf)];if(!_0x561893&&_0x47ac36['fYodb'](_0x5557da['type'],_0x47ac36[_0x563dc4(0x19f)])&&_0x5557da['parent']){const _0x2b59a4={};_0x2b59a4[_0x563dc4(0x16c)]=_0x5557da['parent'][_0x563dc4(0x16c)],_0x2b59a4[_0x563dc4(0x177)]=_0x5557da[_0x563dc4(0x177)][_0x563dc4(0x177)],_0x2b59a4['asyncError']=_0x5557da[_0x563dc4(0x13c)],_0x2b59a4['file']=_0x5557da['file'];const _0x525d9f=_0x2b59a4;_0x561893=jestUtils[_0x563dc4(0x15f)](_0x525d9f);}return _0x561893;}return global[_0x563dc4(0x1cf)];}function mapHookTypeToState(_0x37f505){const _0x25e2a3=a17_0x1c79a1,_0x2536e4={};_0x2536e4['beforeAll']=TestFrameworkState[_0x25e2a3(0x1a7)],_0x2536e4[_0x25e2a3(0x1b5)]=TestFrameworkState[_0x25e2a3(0x1dd)],_0x2536e4[_0x25e2a3(0x176)]=TestFrameworkState['BEFORE_EACH'],_0x2536e4[_0x25e2a3(0x1ae)]=TestFrameworkState[_0x25e2a3(0x15b)];const _0x578b37=_0x2536e4;return _0x578b37[_0x37f505]||TestFrameworkState[_0x25e2a3(0x1d9)];}async function handleHookEventCLI(_0x557747,_0x296bf2,_0x12c762){const _0x507ad2=a17_0x1c79a1,_0x18c856={'RxApk':function(_0x1e49cd){return _0x1e49cd();},'khMhM':function(_0x2b1457){return _0x2b1457();},'TBAqI':function(_0x18591a,_0x442e65){return _0x18591a===_0x442e65;},'YfiNs':_0x507ad2(0x140),'xvVPG':function(_0x1f8fa7,_0x15e13f){return _0x1f8fa7(_0x15e13f);},'Ejyzw':function(_0x705a93,_0x26c4b8){return _0x705a93===_0x26c4b8;},'ToDsc':function(_0x4612ec,_0x24b559){return _0x4612ec===_0x24b559;},'IMxex':function(_0x3d3c33,_0x1c9558){return _0x3d3c33===_0x1c9558;},'xGKhU':_0x507ad2(0x1be),'DyXwv':_0x507ad2(0x1a4),'VgHLf':function(_0x290142,_0x18da40){return _0x290142===_0x18da40;}};logger['debug']('Handling\x20hook\x20event\x20for\x20CLI:\x20'+_0x296bf2+_0x507ad2(0x135)+_0x557747[_0x507ad2(0x1cc)]);try{if(_0x557747['fn']&&_0x557747['fn'][_0x507ad2(0x19d)]()[_0x507ad2(0x164)](/browserstack internal helper hook/))return;let _0x375db4=_0x557747[_0x507ad2(0x1c3)];if(!_0x375db4)_0x375db4=_0x18c856[_0x507ad2(0x1d4)](uuidv4),_0x557747[_0x507ad2(0x1c3)]=_0x375db4;else _0x557747[_0x507ad2(0x192)]&&(_0x375db4=_0x18c856[_0x507ad2(0x19e)](uuidv4),_0x557747['hookAnalyticsId']=_0x375db4,delete _0x557747[_0x507ad2(0x192)]);_0x18c856['TBAqI'](_0x296bf2,_0x18c856['YfiNs'])&&(_0x557747[_0x507ad2(0x146)]=new Date()[_0x507ad2(0x1c1)]());const _0x46d370=_0x18c856['xvVPG'](getTestIdentifierForHook,_0x557747);!global[_0x507ad2(0x1c2)]&&(global[_0x507ad2(0x1c2)]={});if(_0x18c856[_0x507ad2(0x1a0)](_0x296bf2,_0x18c856[_0x507ad2(0x12c)])){global[_0x507ad2(0x1c2)]['currentHook']={'hookUUID':_0x375db4,'testIdentifier':_0x46d370,'hookType':_0x557747['type'],'startedAt':new Date()[_0x507ad2(0x1c1)]()};const _0x5dd0a0=BrowserstackCLI[_0x507ad2(0x1df)]()[_0x507ad2(0x169)]();_0x5dd0a0&&_0x5dd0a0['setActiveHook']&&_0x5dd0a0[_0x507ad2(0x1c5)](_0x46d370,_0x375db4,_0x557747['type']);}const _0xaa7ebf=await jestUtils[_0x507ad2(0x1c4)](_0x557747,_0x375db4,_0x296bf2,_0x46d370);if(!_0xaa7ebf)return;const _0x84b0d0=_0x18c856[_0x507ad2(0x1d5)](mapHookTypeToState,_0x557747[_0x507ad2(0x1cc)]),_0x29fca=_0x18c856['ToDsc'](_0x296bf2,_0x18c856[_0x507ad2(0x12c)])?HookState['PRE']:HookState[_0x507ad2(0x185)],_0x76963=BrowserstackCLI['getInstance']()['getTestFramework']();if(_0x76963){const _0x3ff878={};_0x3ff878[_0x507ad2(0x182)]=_0xaa7ebf,await _0x76963[_0x507ad2(0x17b)](_0x84b0d0,_0x29fca,_0x3ff878);if(_0x18c856[_0x507ad2(0x156)](_0x296bf2,_0x18c856[_0x507ad2(0x191)])){const _0x4efbe6={};_0x4efbe6[_0x507ad2(0x1c0)]=_0x46d370,_0x4efbe6['type']=_0x18c856[_0x507ad2(0x1c6)],await _0x76963[_0x507ad2(0x17b)](TestFrameworkState[_0x507ad2(0x1bc)],HookState[_0x507ad2(0x185)],_0x4efbe6),global[_0x507ad2(0x1c2)]&&global[_0x507ad2(0x1c2)][_0x507ad2(0x153)]&&_0x18c856[_0x507ad2(0x1d6)](global[_0x507ad2(0x1c2)][_0x507ad2(0x153)][_0x507ad2(0x195)],_0x375db4)&&delete global[_0x507ad2(0x1c2)][_0x507ad2(0x153)],_0x76963[_0x507ad2(0x163)]&&_0x76963['removeActiveHook'](_0x46d370,_0x375db4);}}}catch(_0x782eae){logger[_0x507ad2(0x18b)](_0x507ad2(0x137)+util[_0x507ad2(0x134)](_0x782eae));throw _0x782eae;}}async function handleTestEventCLI(_0x33b355,_0xbd0b74,_0x101896){const _0x504bf3=a17_0x1c79a1,_0x530ac0={};_0x530ac0[_0x504bf3(0x13f)]=function(_0xa60bae,_0x5aeddc){return _0xa60bae===_0x5aeddc;},_0x530ac0[_0x504bf3(0x151)]='TestRunStarted',_0x530ac0['UWpmc']=function(_0x4dca3a,_0x25a367){return _0x4dca3a>_0x25a367;},_0x530ac0[_0x504bf3(0x167)]=function(_0x5c3974,_0x41958d){return _0x5c3974===_0x41958d;},_0x530ac0[_0x504bf3(0x162)]=function(_0x277e65,_0x271b28){return _0x277e65&&_0x271b28;},_0x530ac0['CZjgO']=_0x504bf3(0x1af),_0x530ac0[_0x504bf3(0x19c)]=_0x504bf3(0x14b),_0x530ac0['twMYY']='test';const _0x4e3759=_0x530ac0;logger[_0x504bf3(0x16b)](_0x504bf3(0x1aa)+_0xbd0b74);try{let _0x403355;if(_0x4e3759['iuAow'](_0xbd0b74,_0x4e3759[_0x504bf3(0x151)])){_0x403355=jestUtils[_0x504bf3(0x15f)](_0x33b355),global[_0x504bf3(0x1cf)]=_0x403355,_0x33b355[_0x504bf3(0x12e)]=_0x403355,_0x33b355['id']=_0x403355,_0x33b355[_0x504bf3(0x146)]=new Date()[_0x504bf3(0x1c1)]();const _0x5aff97=_0x101896[_0x504bf3(0x1d0)];_0x101896[_0x504bf3(0x1d0)]=_0x33b355,_0x33b355[_0x504bf3(0x190)]=null;if(_0x4e3759['UWpmc'](_0x33b355[_0x504bf3(0x143)],0x0)&&_0x5aff97&&_0x4e3759['BVJCO'](_0x5aff97[_0x504bf3(0x1ce)],_0x33b355[_0x504bf3(0x1ce)])){_0x33b355[_0x504bf3(0x190)]=_0x5aff97[_0x504bf3(0x12e)];const _0x56c3e6=await jestUtils[_0x504bf3(0x130)](_0x33b355,_0x403355,_0x4e3759[_0x504bf3(0x151)]),_0x1d2480=BrowserstackCLI[_0x504bf3(0x1df)]()[_0x504bf3(0x169)]();if(_0x4e3759['KIsGE'](_0x56c3e6,_0x1d2480)){const _0x5ad566={};_0x5ad566[_0x504bf3(0x18c)]=_0x56c3e6,await _0x1d2480[_0x504bf3(0x17b)](TestFrameworkState[_0x504bf3(0x17d)],HookState['PRE'],_0x5ad566);}_0x5aff97[_0x504bf3(0x1a8)]=_0x4e3759[_0x504bf3(0x1d1)];const _0x36d9bd=await jestUtils[_0x504bf3(0x130)](_0x5aff97,_0x5aff97[_0x504bf3(0x12e)],_0x4e3759[_0x504bf3(0x19c)]);if(_0x4e3759[_0x504bf3(0x162)](_0x36d9bd,_0x1d2480)){const _0x6a4bf3={};_0x6a4bf3[_0x504bf3(0x18c)]=_0x36d9bd,await _0x1d2480[_0x504bf3(0x17b)](TestFrameworkState[_0x504bf3(0x17d)],HookState['POST'],_0x6a4bf3);}}else{const _0x47da30=await jestUtils[_0x504bf3(0x130)](_0x33b355,_0x403355,_0x4e3759[_0x504bf3(0x151)]),_0x3f6226=BrowserstackCLI[_0x504bf3(0x1df)]()['getTestFramework']();if(_0x4e3759[_0x504bf3(0x162)](_0x47da30,_0x3f6226)){const _0x5916d8={};_0x5916d8['test']=_0x47da30,await _0x3f6226[_0x504bf3(0x17b)](TestFrameworkState[_0x504bf3(0x17d)],HookState['PRE'],_0x5916d8);}}}else{_0x403355=_0x33b355[_0x504bf3(0x12e)]||_0x33b355['id']||global[_0x504bf3(0x1cf)];const _0x589f54=await jestUtils[_0x504bf3(0x130)](_0x33b355,_0x403355,_0xbd0b74),_0x17e0a7=BrowserstackCLI['getInstance']()[_0x504bf3(0x169)]();if(_0x4e3759['KIsGE'](_0x589f54,_0x17e0a7)){const _0xe0c169={};_0xe0c169['test']=_0x589f54,_0xe0c169[_0x504bf3(0x1b0)]=_0x33b355,await _0x17e0a7['trackEvent'](TestFrameworkState[_0x504bf3(0x17d)],HookState[_0x504bf3(0x185)],_0xe0c169);const _0x478373={};_0x478373[_0x504bf3(0x1c0)]=_0x403355,_0x478373[_0x504bf3(0x1cc)]=_0x4e3759[_0x504bf3(0x193)],await _0x17e0a7[_0x504bf3(0x17b)](TestFrameworkState[_0x504bf3(0x1bc)],HookState['POST'],_0x478373);}}}catch(_0x319c27){logger[_0x504bf3(0x18b)](_0x504bf3(0x1b2)+util[_0x504bf3(0x134)](_0x319c27));throw _0x319c27;}}function a17_0x3d81(){const _0x59dff0=['OwpXc','hookUUID','uuid','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','MdBHq','yQRxd','bootstrap',':hookAnalyticsId','lguwc','toString','khMhM','JUKyc','Ejyzw','EeOUJ','HqGVW','2439899iEIiat','hook','aWdnr','OfmuY','BEFORE_ALL','state','Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20','Handling\x20test\x20event\x20for\x20CLI:\x20','../../utils/constants','FRlGf','jest-circus/build/jestAdapterInit.js','afterEach','failed','originalTest','initialize','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','setTestUUID','beforeAll','afterAll','vOLBU','RJalq','test_done','CLI\x20is\x20enabled\x20and\x20running.','../../../helpers/helper','test_start','LOG_REPORT','shutdown','HookRunFinished','XCmCS','testUUID','toISOString','__workerDetails','hookAnalyticsId','createHookData','setActiveHook','DyXwv','hook_failure','includes','441128ZUdzCO','BROWSERSTACK_CLI_BIN_SESSION_ID','LJdtk','type','../../../helpers/logger','title','__jestCurrentTestIdentifier','current_test','CZjgO','39716FBxVqk','../../../helpers/test-observability/utils','RxApk','xvVPG','VgHLf','JEST','teardown','BEFORE_EACH','../test-observability/test-details','registerListeners','JHvoe','AFTER_ALL','isCliEnabled','getInstance','YfiNs','../../v2/utils/jest-utils','testAnalyticsId','testStarted','createTestFrameworkData','bMnZE','errorsDetailed','LMTln','format','\x20for\x20hook\x20type:\x20','9008622dBYtkJ','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','hook_start','GsDrT','sendTestRunEvent','1115232vRIhfn','asyncError','BpeYg','env','iuAow','HookRunStarted','hook_success','isRunning','_currentRetry','pzFdv','removeAllListeners','started_at','../../../helpers/testhub/constants','INTRp','TestRunSkipped','poxKk','TestRunFinished','XnFbx','50zCKjjM','Error\x20checking\x20CLI\x20readiness:\x20','weUKs','run_describe_finish','RIqVs','jest-circus','currentHook','Afovo','../../v2/state/testFrameworkState','IMxex','length','RMOKP','Error\x20routing\x20to\x20JestTestFramework:\x20','omJhS','AFTER_EACH','EVENT','wTxwU','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','createIdentifierFromJestTest','WPiFP','lyTsC','KIsGE','removeActiveHook','match','HookStarted','makeSingleTestResult','BVJCO','796221mCbNbl','getTestFramework','../../../helpers/test-observability/error-handler','debug','name','jest-circus/build/state.js','util','VUIGP','winstonLogger','hSuxd','tlXcd','XGdyG','jmLuS','../../v2/browserstackCLI','beforeEach','parent','rbTCM','AAmUi','xKflm','trackEvent','LVijs','TEST','QVBMz','unhandledErrors','jGxUR','QIBgR','hookData','fYodb','63447dDRTRe','POST','34TcuaGV','setFrameworkDetail','hjsqr','../../../helpers/test-observability/requestQueueHandler','addEventHandler','error','test','removeTestUUID','pid','PLAYWRIGHT','retryOf','xGKhU','markedStatus','twMYY'];a17_0x3d81=function(){return _0x59dff0;};return a17_0x3d81();}exportsI[a17_0x1c79a1(0x1b1)]=(..._0x3c6fed)=>{const _0x58e23c=a17_0x1c79a1,_0x3fced5={'weUKs':_0x58e23c(0x138),'xKflm':function(_0x2329ba,_0x5c7823){return _0x2329ba(_0x5c7823);},'poxKk':function(_0x342672){return _0x342672();},'jGxUR':function(_0x9881dc,_0x19aa42,_0x1f0e13,_0x197f68){return _0x9881dc(_0x19aa42,_0x1f0e13,_0x197f68);},'EeOUJ':'HookRunStarted','QVBMz':function(_0x159c2a,_0x269630){return _0x159c2a(_0x269630);},'jmLuS':_0x58e23c(0x141),'yQRxd':_0x58e23c(0x1be),'JHvoe':function(_0x56bc94,_0x46ebbb){return _0x56bc94(_0x46ebbb);},'LOfXK':_0x58e23c(0x1c7),'hSuxd':'beforeAll','QIBgR':_0x58e23c(0x176),'OwpXc':'afterEach','VUIGP':function(_0x128201,_0x50be12){return _0x128201>_0x50be12;},'XnFbx':function(_0x5d07cf,_0x456408){return _0x5d07cf(_0x456408);},'OfmuY':_0x58e23c(0x1bb),'HqGVW':function(_0x4b6e68){return _0x4b6e68();},'RJalq':'TestRunStarted','vOLBU':function(_0x2adfc9,_0x1b6e98){return _0x2adfc9(_0x1b6e98);},'AAmUi':_0x58e23c(0x1b8),'JKTVw':function(_0x19a49a,_0x1c47fe){return _0x19a49a(_0x1c47fe);},'BMKiL':function(_0x37884b){return _0x37884b();},'lyTsC':_0x58e23c(0x14b),'BpeYg':function(_0x111b67,_0x54b030){return _0x111b67(_0x54b030);},'XGdyG':'test_skip','XCmCS':function(_0x5aa105){return _0x5aa105();},'LMTln':_0x58e23c(0x149),'RMOKP':function(_0x4f8a34,_0x1acab4){return _0x4f8a34(_0x1acab4);},'hjsqr':_0x58e23c(0x150),'omJhS':_0x58e23c(0x1d8),'fufdN':function(_0x299a4a){return _0x299a4a();},'GsDrT':function(_0x5d7a59){return _0x5d7a59();},'aWdnr':function(_0x2b980e,_0x1ea4b6,_0x138a01){return _0x2b980e(_0x1ea4b6,_0x138a01);},'INTRp':_0x58e23c(0x16d),'rbTCM':'jest-circus','MdBHq':'jest-circus/build/utils.js','LVijs':function(_0xe4fa26,_0x28641b){return _0xe4fa26(_0x28641b);},'zPyAn':function(_0x33cada,_0x2a5094,_0x493ee8){return _0x33cada(_0x2a5094,_0x493ee8);},'pzFdv':'EventHandler','tlXcd':function(_0x56507c,..._0x263073){return _0x56507c(..._0x263073);}};try{const _0x5a2a0f=new ObservabilityReporter();_0x3fced5['fufdN'](shouldProcessEventForTesthub)&&(_0x3fced5[_0x58e23c(0x139)](patchConsoleLogger),_0x5a2a0f[_0x58e23c(0x1db)]());let _0x3ca790;try{_0x3ca790=_0x3fced5[_0x58e23c(0x1a5)](requireModule,_0x3fced5[_0x58e23c(0x148)],_0x3fced5['rbTCM']);}catch{_0x3ca790=_0x3fced5[_0x58e23c(0x1b6)](requireModule,_0x3fced5['rbTCM']);}let _0x3722f5;try{_0x3722f5=_0x3fced5[_0x58e23c(0x1a5)](requireModule,_0x3fced5[_0x58e23c(0x198)],_0x3fced5[_0x58e23c(0x178)])[_0x58e23c(0x166)];}catch{_0x3722f5=_0x3fced5[_0x58e23c(0x17c)](requireModule,_0x3fced5[_0x58e23c(0x178)])[_0x58e23c(0x166)];}_0x3fced5['HqGVW'](shouldProcessEventForTesthub)&&_0x3ca790[_0x58e23c(0x18a)](_0x3fced5['zPyAn'](o11yErrorHandler,async(_0x3ee6a9,_0x12974a)=>{const _0x4e1890=_0x58e23c;switch(_0x3ee6a9[_0x4e1890(0x16c)]){case _0x3fced5[_0x4e1890(0x14f)]:if(_0x3fced5['xKflm'](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x4e1890(0x165)])){if(_0x3ee6a9[_0x4e1890(0x1a4)]['fn']&&_0x3ee6a9[_0x4e1890(0x1a4)]['fn'][_0x4e1890(0x19d)]()['match'](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x4e1890(0x1df)]()[_0x4e1890(0x1de)]()&&await _0x3fced5[_0x4e1890(0x14a)](isCLIReady))try{await _0x3fced5[_0x4e1890(0x180)](handleHookEventCLI,_0x3ee6a9['hook'],_0x3fced5['EeOUJ'],_0x12974a);break;}catch(_0x17e1ca){_0x3fced5[_0x4e1890(0x17e)](debug,_0x4e1890(0x159)+util[_0x4e1890(0x134)](_0x17e1ca));}if(!_0x3ee6a9[_0x4e1890(0x1a4)][_0x4e1890(0x1c3)]){const _0x57c9df=TestDetails[_0x4e1890(0x1b3)](process[_0x4e1890(0x18e)]+_0x4e1890(0x19b));_0x3ee6a9[_0x4e1890(0x1a4)]['hookAnalyticsId']=_0x57c9df;}else _0x3ee6a9[_0x4e1890(0x1a4)][_0x4e1890(0x192)]&&(_0x3ee6a9[_0x4e1890(0x1a4)]['hookAnalyticsId']=TestDetails[_0x4e1890(0x1b3)](process[_0x4e1890(0x18e)]+_0x4e1890(0x19b)),delete _0x3ee6a9[_0x4e1890(0x1a4)][_0x4e1890(0x192)]);_0x3ee6a9['hook'][_0x4e1890(0x146)]=new Date()['toISOString'](),await _0x5a2a0f[_0x4e1890(0x13a)](_0x3ee6a9[_0x4e1890(0x1a4)],undefined,![],_0x3fced5[_0x4e1890(0x1a1)]);}break;case _0x3fced5[_0x4e1890(0x174)]:if(_0x3fced5[_0x4e1890(0x17a)](shouldProcessEventForTesthub,testHubConstants[_0x4e1890(0x15c)]['HookFinished'])){if(BrowserstackCLI[_0x4e1890(0x1df)]()['isCliEnabled']()&&await _0x3fced5[_0x4e1890(0x14a)](isCLIReady))try{await _0x3fced5[_0x4e1890(0x180)](handleHookEventCLI,_0x3ee6a9[_0x4e1890(0x1a4)],_0x3fced5[_0x4e1890(0x199)],_0x12974a);break;}catch(_0x351e58){_0x3fced5[_0x4e1890(0x1dc)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4e1890(0x134)](_0x351e58));}await _0x5a2a0f[_0x4e1890(0x13a)](_0x3ee6a9[_0x4e1890(0x1a4)],undefined,![],_0x3fced5[_0x4e1890(0x199)]),TestDetails[_0x4e1890(0x18d)](process[_0x4e1890(0x18e)]+':hookAnalyticsId');}break;case _0x3fced5['LOfXK']:[_0x3fced5[_0x4e1890(0x171)],_0x3fced5[_0x4e1890(0x181)],_0x3fced5[_0x4e1890(0x194)]][_0x4e1890(0x1c8)](_0x3ee6a9['hook'][_0x4e1890(0x1cc)])&&(_0x5a2a0f[_0x4e1890(0x1c7)]=_0x3ee6a9['hook'][_0x4e1890(0x1cc)]),_0x12974a[_0x4e1890(0x17f)]&&_0x3fced5[_0x4e1890(0x16f)](_0x12974a[_0x4e1890(0x17f)][_0x4e1890(0x157)],0x0)&&(_0x3ee6a9[_0x4e1890(0x1a4)][_0x4e1890(0x132)]=[_0x12974a[_0x4e1890(0x17f)][0x0][0x0]]);if(_0x3fced5['JHvoe'](shouldProcessEventForTesthub,testHubConstants[_0x4e1890(0x15c)]['HookFinished'])){if(BrowserstackCLI[_0x4e1890(0x1df)]()[_0x4e1890(0x1de)]()&&await _0x3fced5['poxKk'](isCLIReady))try{await _0x3fced5['jGxUR'](handleHookEventCLI,_0x3ee6a9[_0x4e1890(0x1a4)],_0x3fced5[_0x4e1890(0x199)],_0x12974a);break;}catch(_0x179ebd){_0x3fced5[_0x4e1890(0x14c)](debug,_0x4e1890(0x159)+util['format'](_0x179ebd));}await _0x5a2a0f[_0x4e1890(0x13a)](_0x3ee6a9[_0x4e1890(0x1a4)],undefined,![],_0x3fced5['yQRxd']),TestDetails[_0x4e1890(0x18d)](process[_0x4e1890(0x18e)]+':hookAnalyticsId');}break;case _0x3fced5[_0x4e1890(0x1a6)]:if(_0x3fced5[_0x4e1890(0x1a2)](shouldProcessEventForTesthub)){if(BrowserstackCLI[_0x4e1890(0x1df)]()[_0x4e1890(0x1de)]()&&await _0x3fced5[_0x4e1890(0x14a)](isCLIReady))try{await _0x3fced5[_0x4e1890(0x180)](handleTestEventCLI,_0x3ee6a9[_0x4e1890(0x18c)],_0x3fced5[_0x4e1890(0x1b7)],_0x5a2a0f);break;}catch(_0x53679b){_0x3fced5[_0x4e1890(0x1b6)](debug,_0x4e1890(0x159)+util['format'](_0x53679b));}await _0x5a2a0f[_0x4e1890(0x12f)](_0x3ee6a9[_0x4e1890(0x18c)]);}break;case _0x3fced5[_0x4e1890(0x179)]:_0x3ee6a9[_0x4e1890(0x18c)]={..._0x3fced5['JKTVw'](_0x3722f5,_0x3ee6a9[_0x4e1890(0x18c)]),..._0x3ee6a9['test']};if(_0x3fced5[_0x4e1890(0x1a2)](shouldProcessEventForTesthub)){if(!_0x3ee6a9['test'][_0x4e1890(0x192)]){_0x3ee6a9['test'][_0x4e1890(0x192)]=!![];if(BrowserstackCLI[_0x4e1890(0x1df)]()[_0x4e1890(0x1de)]()&&await _0x3fced5['BMKiL'](isCLIReady))try{await _0x3fced5['jGxUR'](handleTestEventCLI,_0x3ee6a9[_0x4e1890(0x18c)],_0x3fced5[_0x4e1890(0x161)],_0x5a2a0f);break;}catch(_0x205f4a){_0x3fced5['BpeYg'](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4e1890(0x134)](_0x205f4a));}await _0x5a2a0f[_0x4e1890(0x13a)](_0x3ee6a9[_0x4e1890(0x18c)]);}}break;case _0x3fced5[_0x4e1890(0x173)]:_0x3ee6a9[_0x4e1890(0x18c)]={..._0x3fced5[_0x4e1890(0x14c)](_0x3722f5,_0x3ee6a9['test']),..._0x3ee6a9[_0x4e1890(0x18c)]};if(_0x3fced5[_0x4e1890(0x1a2)](shouldProcessEventForTesthub)){if(!_0x3ee6a9['test'][_0x4e1890(0x192)]){_0x3ee6a9['test'][_0x4e1890(0x192)]=!![];if(BrowserstackCLI[_0x4e1890(0x1df)]()['isCliEnabled']()&&await _0x3fced5[_0x4e1890(0x1bf)](isCLIReady))try{await _0x3fced5['jGxUR'](handleTestEventCLI,_0x3ee6a9[_0x4e1890(0x18c)],_0x3fced5[_0x4e1890(0x133)],_0x5a2a0f);break;}catch(_0x4e85e6){_0x3fced5[_0x4e1890(0x158)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4e1890(0x134)](_0x4e85e6));}await _0x5a2a0f['sendTestRunEvent'](_0x3ee6a9[_0x4e1890(0x18c)],undefined,![],_0x3fced5[_0x4e1890(0x133)]);}}break;case _0x3fced5[_0x4e1890(0x188)]:_0x5a2a0f[_0x4e1890(0x1c7)]=null;break;case _0x3fced5[_0x4e1890(0x15a)]:await RequestQueueHandler[_0x4e1890(0x1df)]()[_0x4e1890(0x1bd)](),process[_0x4e1890(0x145)]();break;default:}},_0x3fced5[_0x58e23c(0x144)]));}catch(_0x9c4311){_0x3fced5[_0x58e23c(0x13d)](debug,_0x58e23c(0x1a9)+_0x9c4311);}return _0x3fced5[_0x58e23c(0x172)](initInitialize,..._0x3c6fed);};try{Object['keys'](exportsI)['forEach'](_0x153bf3=>{const _0x3e02f9=a17_0x1c79a1,_0x567638={'Afovo':function(_0xe23ccf,_0x5aaf43){return _0xe23ccf(_0x5aaf43);}};try{exports&&(exports[_0x153bf3]=exportsI[_0x153bf3]);}catch(_0x19d49e){_0x567638[_0x3e02f9(0x154)](debug,_0x3e02f9(0x15e)+_0x19d49e);}});}catch(a17_0x372120){debug('Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20'+a17_0x372120);}
|
|
1
|
+
const a17_0x5d0d6e=a17_0xcec9;(function(_0x4582f8,_0x3241f8){const _0x35af8e=a17_0xcec9,_0x1ff3b5=_0x4582f8();while(!![]){try{const _0x3902e9=parseInt(_0x35af8e(0xf1))/0x1+-parseInt(_0x35af8e(0x105))/0x2*(parseInt(_0x35af8e(0x126))/0x3)+-parseInt(_0x35af8e(0x154))/0x4*(-parseInt(_0x35af8e(0xcd))/0x5)+parseInt(_0x35af8e(0x146))/0x6*(parseInt(_0x35af8e(0xcc))/0x7)+parseInt(_0x35af8e(0x10f))/0x8*(-parseInt(_0x35af8e(0x144))/0x9)+-parseInt(_0x35af8e(0x112))/0xa+parseInt(_0x35af8e(0x12a))/0xb*(-parseInt(_0x35af8e(0x113))/0xc);if(_0x3902e9===_0x3241f8)break;else _0x1ff3b5['push'](_0x1ff3b5['shift']());}catch(_0x517ad6){_0x1ff3b5['push'](_0x1ff3b5['shift']());}}}(a17_0x43df,0xd5057));const {requireModule}=require(a17_0x5d0d6e(0x116)),ObservabilityReporter=require(a17_0x5d0d6e(0x13f)),RequestQueueHandler=require(a17_0x5d0d6e(0xff)),TestDetails=require(a17_0x5d0d6e(0xe1)),{patchConsoleLogger,debug}=require(a17_0x5d0d6e(0x153)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a17_0x5d0d6e(0x137)),testHubConstants=require(a17_0x5d0d6e(0x100)),BrowserstackCLI=require('../../v2/browserstackCLI'),TestFrameworkState=require(a17_0x5d0d6e(0x11a)),HookState=require('../../v2/state/hookState'),JestUtils=require(a17_0x5d0d6e(0x111)),{v4:uuidv4}=require(a17_0x5d0d6e(0x13b)),util=require(a17_0x5d0d6e(0xc8)),logger=require('../../../helpers/logger')['winstonLogger'],{FRAMEWORKS}=require(a17_0x5d0d6e(0x145));function a17_0x43df(){const _0x1f1432=['afterEach','ZaMaD','createTestFrameworkData','msTMI','setFrameworkDetail','vlUDX','ajXHJ','../../../helpers/test-observability/requestQueueHandler','../../../helpers/testhub/constants','test_done','test_start','file','CkpLV','2zWmbnC','YlanQ','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','ztHWY','createIdentifierFromJestTest','qdjaS','HZQTz','OQaOT','pndDV','KsrIC','68512jhSWtJ','CLI\x20is\x20enabled\x20and\x20running.','../../v2/utils/jest-utils','5334210JeDiHA','372RTTzVQ','vvsgW','sendTestRunEvent','../../../helpers/helper','forEach','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','jest-circus/build/jestAdapterInit.js','../../v2/state/testFrameworkState','POST','Handling\x20hook\x20event\x20for\x20CLI:\x20','setTestUUID','unhandledErrors','mWhPL','current_test','name','Error\x20handling\x20test\x20event\x20for\x20CLI:\x20','tbVDK','test_skip','hook_success','4505124bLLWov','__workerDetails','toISOString','HookFinished','412181LGrRGn','PQleF','hookAnalyticsId','makeSingleTestResult','hMizC','wLFMd','hookData','removeActiveHook','test','addEventHandler','beforeAll','AFTER_EACH','Error\x20routing\x20to\x20JestTestFramework:\x20','../../../helpers/testhub/utils','meYGU','hook','_currentRetry','uuid','uAwuq','errorsDetailed','hook_start','../test-observability/obsReporter','Error\x20handling\x20hook\x20event\x20for\x20CLI:\x20','getInstance','lOMTz','match','27HdVOcs','../../utils/constants','22194bOViRN','Nubll','createHookData','markedStatus','JEST','hOPqs','toString','LOG_REPORT','GyoYA','../../v2/cliUtils','jest-circus','Error\x20checking\x20CLI\x20readiness:\x20','BEFORE_ALL','../../../helpers/test-observability/utils','41116kSlxvb','XHRSW','zIJDi','initialize','jest-circus/build/state.js','GvehU','asyncError','QHiys','QEamx','BROWSERSTACK_CLI_BIN_SESSION_ID','TestRunFinished','KjTqp','TZgbk','Handling\x20test\x20event\x20for\x20CLI:\x20','hVerc','Oouxj','EVENT','format','aBgrl','teardown','riDks','EventHandler','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','Koxgu','removeAllListeners','YwYRe','testAnalyticsId','GmkgB','ZZErN','\x20for\x20hook\x20type:\x20','TestRunSkipped','run_describe_finish','pid','env','isRunning','util','HookRunStarted','MdfQE','yyxAP','1967wwyBqb','685fPqtOH','removeTestUUID','type','currentHook','title','parent','includes','started_at','getTestFramework','originalTest','afterAll','zIxiD','AFTER_ALL','oGeZx','WsGTn','qwGwV','MPAbN','jest-circus/build/utils.js','trackEvent','failed','../test-observability/test-details','PRE','error','setActiveHook',':hookAnalyticsId','retryOf','shutdown','BEFORE_EACH','RWxFA','TestRunStarted','PwyAk','tXzTY','hook_failure','__jestCurrentTestIdentifier','debug','baTks','1647315GhGgIi','beforeEach','PLAYWRIGHT','registerListeners','isCliEnabled','state','TEST'];a17_0x43df=function(){return _0x1f1432;};return a17_0x43df();}let exportsI;try{exportsI=requireModule(a17_0x5d0d6e(0x118),a17_0x5d0d6e(0x150));}catch{exportsI=requireModule(a17_0x5d0d6e(0x119),'jest-circus');}const initInitialize=exportsI[a17_0x5d0d6e(0x157)],jestUtils=new JestUtils();async function isCLIReady(){const _0x3fdf07=a17_0x5d0d6e,_0x30dec0={'VRoAR':_0x3fdf07(0x110),'CGgrV':function(_0x48e1d6,_0xc7665c){return _0x48e1d6(_0xc7665c);},'aBgrl':_0x3fdf07(0x14f),'FBSCz':function(_0x5c01dc,_0x26b574){return _0x5c01dc(_0x26b574);}};try{const _0x54c572=BrowserstackCLI['getInstance']();if(_0x54c572[_0x3fdf07(0xf5)]()&&_0x54c572[_0x3fdf07(0xc7)]())return logger[_0x3fdf07(0xef)](_0x30dec0['VRoAR']),!![];const _0x3685a2=process[_0x3fdf07(0xc6)][_0x3fdf07(0xae)];if(_0x3685a2&&_0x54c572[_0x3fdf07(0xf5)]()){if(!_0x54c572[_0x3fdf07(0xc7)]())try{const _0x57ae44=_0x30dec0['CGgrV'](require,_0x30dec0[_0x3fdf07(0xb7)]);_0x57ae44[_0x3fdf07(0xfc)](FRAMEWORKS[_0x3fdf07(0x14a)],FRAMEWORKS[_0x3fdf07(0xf3)]),await _0x54c572['bootstrap']();}catch(_0x24eb8d){return _0x30dec0['FBSCz'](debug,'Error\x20bootstrapping\x20CLI\x20in\x20jest\x20adapter:\x20'+util[_0x3fdf07(0xb6)](_0x24eb8d)),![];}return _0x54c572[_0x3fdf07(0xc7)]();}return![];}catch(_0x3c09cc){return _0x30dec0['CGgrV'](debug,_0x3fdf07(0x151)+util[_0x3fdf07(0xb6)](_0x3c09cc)),![];}}function getTestIdentifierForHook(_0x536e1c){const _0x2af490=a17_0x5d0d6e,_0x55510c={};_0x55510c['Oouxj']=function(_0x4fd758,_0x4b4ffc){return _0x4fd758===_0x4b4ffc;},_0x55510c[_0x2af490(0x156)]='beforeEach',_0x55510c['uZspb']=function(_0x576288,_0x26a84b){return _0x576288===_0x26a84b;},_0x55510c[_0x2af490(0xfd)]=_0x2af490(0x134);const _0x3fe2bc=_0x55510c;if(_0x3fe2bc[_0x2af490(0xb4)](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc['zIJDi'])||_0x3fe2bc['uZspb'](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc[_0x2af490(0xfd)])){let _0x369b4b=global[_0x2af490(0xee)];if(!_0x369b4b&&_0x3fe2bc[_0x2af490(0xb4)](_0x536e1c[_0x2af490(0xcf)],_0x3fe2bc['vlUDX'])&&_0x536e1c['parent']){const _0x566bc0={};_0x566bc0[_0x2af490(0x121)]=_0x536e1c[_0x2af490(0xd2)][_0x2af490(0x121)],_0x566bc0[_0x2af490(0xd2)]=_0x536e1c[_0x2af490(0xd2)]['parent'],_0x566bc0[_0x2af490(0x15a)]=_0x536e1c['asyncError'],_0x566bc0[_0x2af490(0x103)]=_0x536e1c[_0x2af490(0x103)];const _0x14493e=_0x566bc0;_0x369b4b=jestUtils['createIdentifierFromJestTest'](_0x14493e);}return _0x369b4b;}return global[_0x2af490(0xee)];}function mapHookTypeToState(_0x5672d1){const _0x486ad1=a17_0x5d0d6e,_0x4670aa={};_0x4670aa[_0x486ad1(0x134)]=TestFrameworkState[_0x486ad1(0x152)],_0x4670aa[_0x486ad1(0xd7)]=TestFrameworkState[_0x486ad1(0xd9)],_0x4670aa['beforeEach']=TestFrameworkState[_0x486ad1(0xe8)],_0x4670aa[_0x486ad1(0xf8)]=TestFrameworkState[_0x486ad1(0x135)];const _0x28714e=_0x4670aa;return _0x28714e[_0x5672d1]||TestFrameworkState[_0x486ad1(0xe8)];}function a17_0xcec9(_0x342a1f,_0x29e80f){const _0x43dfbe=a17_0x43df();return a17_0xcec9=function(_0xcec986,_0x117bcd){_0xcec986=_0xcec986-0xad;let _0x12e828=_0x43dfbe[_0xcec986];return _0x12e828;},a17_0xcec9(_0x342a1f,_0x29e80f);}async function handleHookEventCLI(_0x3452c3,_0x2f698f,_0x1448f0){const _0x578672=a17_0x5d0d6e,_0x455172={'pndDV':function(_0x5f0aa0){return _0x5f0aa0();},'lOMTz':function(_0x5ef927){return _0x5ef927();},'OQaOT':function(_0x2214fa,_0x4dc90f){return _0x2214fa===_0x4dc90f;},'ztHWY':_0x578672(0xc9),'RLFWf':function(_0x526722,_0x3de8fc){return _0x526722(_0x3de8fc);},'FPHWh':function(_0x3c444e,_0xe2b3fd){return _0x3c444e===_0xe2b3fd;},'KjTqp':'HookRunFinished','ZZErN':_0x578672(0x139),'TZgbk':function(_0x43ad85,_0x42b1f3){return _0x43ad85===_0x42b1f3;}};logger[_0x578672(0xef)](_0x578672(0x11c)+_0x2f698f+_0x578672(0xc2)+_0x3452c3['type']);try{if(_0x3452c3['fn']&&_0x3452c3['fn'][_0x578672(0x14c)]()[_0x578672(0x143)](/browserstack internal helper hook/))return;let _0x14a206=_0x3452c3[_0x578672(0x12c)];if(!_0x14a206)_0x14a206=_0x455172[_0x578672(0x10d)](uuidv4),_0x3452c3[_0x578672(0x12c)]=_0x14a206;else _0x3452c3[_0x578672(0x149)]&&(_0x14a206=_0x455172[_0x578672(0x142)](uuidv4),_0x3452c3[_0x578672(0x12c)]=_0x14a206,delete _0x3452c3['markedStatus']);_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172['ztHWY'])&&(_0x3452c3[_0x578672(0xd4)]=new Date()[_0x578672(0x128)]());const _0x52282f=_0x455172['RLFWf'](getTestIdentifierForHook,_0x3452c3);!global[_0x578672(0x127)]&&(global[_0x578672(0x127)]={});if(_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172[_0x578672(0x108)])){global[_0x578672(0x127)]['currentHook']={'hookUUID':_0x14a206,'testIdentifier':_0x52282f,'hookType':_0x3452c3['type'],'startedAt':new Date()[_0x578672(0x128)]()};const _0x5605a7=BrowserstackCLI[_0x578672(0x141)]()[_0x578672(0xd5)]();_0x5605a7&&_0x5605a7[_0x578672(0xe4)]&&_0x5605a7['setActiveHook'](_0x52282f,_0x14a206,_0x3452c3[_0x578672(0xcf)]);}const _0x5d2138=await jestUtils[_0x578672(0x148)](_0x3452c3,_0x14a206,_0x2f698f,_0x52282f);if(!_0x5d2138)return;const _0x283126=_0x455172['RLFWf'](mapHookTypeToState,_0x3452c3[_0x578672(0xcf)]),_0x3299f9=_0x455172[_0x578672(0x10c)](_0x2f698f,_0x455172[_0x578672(0x108)])?HookState[_0x578672(0xe2)]:HookState[_0x578672(0x11b)],_0x1c41ec=BrowserstackCLI['getInstance']()[_0x578672(0xd5)]();if(_0x1c41ec){const _0x535e61={};_0x535e61[_0x578672(0x130)]=_0x5d2138,await _0x1c41ec[_0x578672(0xdf)](_0x283126,_0x3299f9,_0x535e61);if(_0x455172['FPHWh'](_0x2f698f,_0x455172[_0x578672(0xb0)])){const _0xc0390e={};_0xc0390e['testUUID']=_0x52282f,_0xc0390e[_0x578672(0xcf)]=_0x455172[_0x578672(0xc1)],await _0x1c41ec['trackEvent'](TestFrameworkState[_0x578672(0x14d)],HookState['POST'],_0xc0390e),global[_0x578672(0x127)]&&global[_0x578672(0x127)][_0x578672(0xd0)]&&_0x455172[_0x578672(0xb1)](global[_0x578672(0x127)][_0x578672(0xd0)]['hookUUID'],_0x14a206)&&delete global[_0x578672(0x127)]['currentHook'],_0x1c41ec[_0x578672(0x131)]&&_0x1c41ec[_0x578672(0x131)](_0x52282f,_0x14a206);}}}catch(_0xede95a){logger['error'](_0x578672(0x140)+util['format'](_0xede95a));throw _0xede95a;}}async function handleTestEventCLI(_0x15a9f,_0x5d1fb2,_0x4ef085){const _0x4ed3fa=a17_0x5d0d6e,_0x5bb8aa={};_0x5bb8aa[_0x4ed3fa(0x10a)]=function(_0x235b28,_0x1cfffc){return _0x235b28===_0x1cfffc;},_0x5bb8aa[_0x4ed3fa(0xfe)]=_0x4ed3fa(0xea),_0x5bb8aa[_0x4ed3fa(0x15b)]=function(_0x2ccbd0,_0x256469){return _0x2ccbd0>_0x256469;},_0x5bb8aa[_0x4ed3fa(0x155)]=function(_0x1d0df7,_0x13e5ac){return _0x1d0df7===_0x13e5ac;},_0x5bb8aa[_0x4ed3fa(0xd8)]=function(_0x3c22b1,_0x43abbf){return _0x3c22b1&&_0x43abbf;},_0x5bb8aa[_0x4ed3fa(0x10b)]=_0x4ed3fa(0xe0),_0x5bb8aa['TiUjz']=_0x4ed3fa(0xaf),_0x5bb8aa[_0x4ed3fa(0xc0)]=function(_0x5660be,_0x450c54){return _0x5660be&&_0x450c54;},_0x5bb8aa[_0x4ed3fa(0x10e)]=_0x4ed3fa(0x132);const _0x6dc8fd=_0x5bb8aa;logger[_0x4ed3fa(0xef)](_0x4ed3fa(0xb2)+_0x5d1fb2);try{let _0x6dd58b;if(_0x6dc8fd[_0x4ed3fa(0x10a)](_0x5d1fb2,_0x6dc8fd[_0x4ed3fa(0xfe)])){_0x6dd58b=jestUtils[_0x4ed3fa(0x109)](_0x15a9f),global[_0x4ed3fa(0xee)]=_0x6dd58b,_0x15a9f[_0x4ed3fa(0xbf)]=_0x6dd58b,_0x15a9f['id']=_0x6dd58b,_0x15a9f['started_at']=new Date()[_0x4ed3fa(0x128)]();const _0x2f3f81=_0x4ef085[_0x4ed3fa(0x120)];_0x4ef085[_0x4ed3fa(0x120)]=_0x15a9f,_0x15a9f[_0x4ed3fa(0xe6)]=null;if(_0x6dc8fd[_0x4ed3fa(0x15b)](_0x15a9f[_0x4ed3fa(0x13a)],0x0)&&_0x2f3f81&&_0x6dc8fd[_0x4ed3fa(0x155)](_0x2f3f81[_0x4ed3fa(0xd1)],_0x15a9f[_0x4ed3fa(0xd1)])){_0x15a9f[_0x4ed3fa(0xe6)]=_0x2f3f81[_0x4ed3fa(0xbf)];const _0x4f40d7=await jestUtils[_0x4ed3fa(0xfa)](_0x15a9f,_0x6dd58b,_0x6dc8fd[_0x4ed3fa(0xfe)]),_0x579250=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd['zIxiD'](_0x4f40d7,_0x579250)){const _0x149958={};_0x149958[_0x4ed3fa(0x132)]=_0x4f40d7,await _0x579250[_0x4ed3fa(0xdf)](TestFrameworkState['TEST'],HookState[_0x4ed3fa(0xe2)],_0x149958);}_0x2f3f81[_0x4ed3fa(0xf6)]=_0x6dc8fd[_0x4ed3fa(0x10b)];const _0x5c4d18=await jestUtils[_0x4ed3fa(0xfa)](_0x2f3f81,_0x2f3f81[_0x4ed3fa(0xbf)],_0x6dc8fd['TiUjz']);if(_0x6dc8fd['GmkgB'](_0x5c4d18,_0x579250)){const _0x28cec2={};_0x28cec2['test']=_0x5c4d18,await _0x579250['trackEvent'](TestFrameworkState['TEST'],HookState[_0x4ed3fa(0x11b)],_0x28cec2);}}else{const _0x13037c=await jestUtils[_0x4ed3fa(0xfa)](_0x15a9f,_0x6dd58b,_0x6dc8fd[_0x4ed3fa(0xfe)]),_0x5ae7af=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd['zIxiD'](_0x13037c,_0x5ae7af)){const _0x553281={};_0x553281[_0x4ed3fa(0x132)]=_0x13037c,await _0x5ae7af[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0xf7)],HookState[_0x4ed3fa(0xe2)],_0x553281);}}}else{_0x6dd58b=_0x15a9f['testAnalyticsId']||_0x15a9f['id']||global[_0x4ed3fa(0xee)];const _0x2373b9=await jestUtils['createTestFrameworkData'](_0x15a9f,_0x6dd58b,_0x5d1fb2),_0x131435=BrowserstackCLI['getInstance']()[_0x4ed3fa(0xd5)]();if(_0x6dc8fd[_0x4ed3fa(0xc0)](_0x2373b9,_0x131435)){const _0x327580={};_0x327580['test']=_0x2373b9,_0x327580[_0x4ed3fa(0xd6)]=_0x15a9f,await _0x131435[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0xf7)],HookState['POST'],_0x327580);const _0x3a5f92={};_0x3a5f92['testUUID']=_0x6dd58b,_0x3a5f92[_0x4ed3fa(0xcf)]=_0x6dc8fd['KsrIC'],await _0x131435[_0x4ed3fa(0xdf)](TestFrameworkState[_0x4ed3fa(0x14d)],HookState[_0x4ed3fa(0x11b)],_0x3a5f92);}}}catch(_0x585d7c){logger[_0x4ed3fa(0xe3)](_0x4ed3fa(0x122)+util[_0x4ed3fa(0xb6)](_0x585d7c));throw _0x585d7c;}}exportsI['initialize']=(..._0x389f2a)=>{const _0x4aa70d=a17_0x5d0d6e,_0x2330fb={'Nubll':_0x4aa70d(0x13e),'riDks':function(_0x365d3c,_0x19736b){return _0x365d3c(_0x19736b);},'mWhPL':function(_0x5e5f66){return _0x5e5f66();},'uAwuq':function(_0x1e107a,_0x1253ea,_0x560100,_0x48ebe5){return _0x1e107a(_0x1253ea,_0x560100,_0x48ebe5);},'hMizC':'HookRunStarted','WsGTn':_0x4aa70d(0x125),'yEfJw':function(_0x35970d,_0x37734e){return _0x35970d(_0x37734e);},'tXzTY':'HookRunFinished','PwyAk':'hook_failure','oGeZx':_0x4aa70d(0x134),'wLFMd':_0x4aa70d(0xf2),'tbVDK':_0x4aa70d(0xf8),'baTks':function(_0x2e7bee,_0x10b5bb){return _0x2e7bee>_0x10b5bb;},'Koxgu':function(_0x39bc72,_0x100f2b){return _0x39bc72(_0x100f2b);},'ZsMfX':function(_0x488246,_0x49a75b,_0x466f3e,_0x57c2d2){return _0x488246(_0x49a75b,_0x466f3e,_0x57c2d2);},'MdfQE':function(_0x30b920,_0x5d83d0){return _0x30b920(_0x5d83d0);},'PQleF':_0x4aa70d(0x102),'ZaMaD':function(_0xfc052c){return _0xfc052c();},'QEamx':function(_0x258c9e,_0x260a17,_0x486f43,_0x201e06){return _0x258c9e(_0x260a17,_0x486f43,_0x201e06);},'RWxFA':'TestRunStarted','msTMI':_0x4aa70d(0x101),'yyxAP':function(_0x3aef25,_0x204deb){return _0x3aef25(_0x204deb);},'hOPqs':function(_0x70a064){return _0x70a064();},'tfEKU':'TestRunFinished','yKPEY':_0x4aa70d(0x124),'YlanQ':function(_0xef4fc8,_0x3a9266){return _0xef4fc8(_0x3a9266);},'UIVvs':function(_0x20083d){return _0x20083d();},'OxcBK':_0x4aa70d(0xc3),'vvsgW':_0x4aa70d(0xc4),'YwYRe':_0x4aa70d(0xb8),'CkpLV':function(_0x5d4b67,_0x4dc3a0,_0x453695){return _0x5d4b67(_0x4dc3a0,_0x453695);},'GvehU':_0x4aa70d(0x158),'meYGU':'jest-circus','MPAbN':_0x4aa70d(0xde),'QGtSz':_0x4aa70d(0xba),'qwGwV':function(_0x3a588b,_0xcffb89){return _0x3a588b(_0xcffb89);},'GyoYA':function(_0x1e1d46,..._0x5a9733){return _0x1e1d46(..._0x5a9733);}};try{const _0x16dfa2=new ObservabilityReporter();_0x2330fb['ZaMaD'](shouldProcessEventForTesthub)&&(_0x2330fb[_0x4aa70d(0x14b)](patchConsoleLogger),_0x16dfa2[_0x4aa70d(0xf4)]());let _0x1640ea;try{_0x1640ea=_0x2330fb[_0x4aa70d(0x104)](requireModule,_0x2330fb[_0x4aa70d(0x159)],_0x2330fb[_0x4aa70d(0x138)]);}catch{_0x1640ea=_0x2330fb[_0x4aa70d(0xca)](requireModule,_0x2330fb[_0x4aa70d(0x138)]);}let _0x293ec0;try{_0x293ec0=_0x2330fb[_0x4aa70d(0x104)](requireModule,_0x2330fb[_0x4aa70d(0xdd)],_0x2330fb[_0x4aa70d(0x138)])['makeSingleTestResult'];}catch{_0x293ec0=_0x2330fb[_0x4aa70d(0x106)](requireModule,_0x2330fb['meYGU'])[_0x4aa70d(0x12d)];}_0x2330fb[_0x4aa70d(0x14b)](shouldProcessEventForTesthub)&&_0x1640ea[_0x4aa70d(0x133)](_0x2330fb['CkpLV'](o11yErrorHandler,async(_0x3465dc,_0x1f8232)=>{const _0x4fe1e4=_0x4aa70d;switch(_0x3465dc['name']){case _0x2330fb[_0x4fe1e4(0x147)]:if(_0x2330fb['riDks'](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)]['HookStarted'])){if(_0x3465dc['hook']['fn']&&_0x3465dc['hook']['fn']['toString']()[_0x4fe1e4(0x143)](/browserstack internal helper hook/))break;if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x11f)](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0x13c)](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb[_0x4fe1e4(0x12e)],_0x1f8232);break;}catch(_0x10d412){_0x2330fb[_0x4fe1e4(0xb9)](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x10d412));}if(!_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]){const _0x488ebd=TestDetails['setTestUUID'](process[_0x4fe1e4(0xc5)]+':hookAnalyticsId');_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]=_0x488ebd;}else _0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x149)]&&(_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x12c)]=TestDetails[_0x4fe1e4(0x11d)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5)),delete _0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0x149)]);_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0xd4)]=new Date()['toISOString'](),await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0x12e)]);}break;case _0x2330fb[_0x4fe1e4(0xdb)]:if(_0x2330fb['yEfJw'](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)][_0x4fe1e4(0x129)])){if(BrowserstackCLI['getInstance']()[_0x4fe1e4(0xf5)]()&&await _0x2330fb['mWhPL'](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0x13c)](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb['tXzTY'],_0x1f8232);break;}catch(_0x1a08ef){_0x2330fb['yEfJw'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x1a08ef));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0xec)]),TestDetails[_0x4fe1e4(0xce)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5));}break;case _0x2330fb[_0x4fe1e4(0xeb)]:[_0x2330fb[_0x4fe1e4(0xda)],_0x2330fb[_0x4fe1e4(0x12f)],_0x2330fb[_0x4fe1e4(0x123)]][_0x4fe1e4(0xd3)](_0x3465dc['hook'][_0x4fe1e4(0xcf)])&&(_0x16dfa2[_0x4fe1e4(0xed)]=_0x3465dc[_0x4fe1e4(0x139)][_0x4fe1e4(0xcf)]),_0x1f8232['unhandledErrors']&&_0x2330fb[_0x4fe1e4(0xf0)](_0x1f8232['unhandledErrors']['length'],0x0)&&(_0x3465dc['hook'][_0x4fe1e4(0x13d)]=[_0x1f8232[_0x4fe1e4(0x11e)][0x0][0x0]]);if(_0x2330fb[_0x4fe1e4(0xbc)](shouldProcessEventForTesthub,testHubConstants[_0x4fe1e4(0xb5)][_0x4fe1e4(0x129)])){if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x11f)](isCLIReady))try{await _0x2330fb['ZsMfX'](handleHookEventCLI,_0x3465dc[_0x4fe1e4(0x139)],_0x2330fb[_0x4fe1e4(0xec)],_0x1f8232);break;}catch(_0x3a80c2){_0x2330fb['MdfQE'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x3a80c2));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x139)],undefined,![],_0x2330fb[_0x4fe1e4(0xec)]),TestDetails[_0x4fe1e4(0xce)](process[_0x4fe1e4(0xc5)]+_0x4fe1e4(0xe5));}break;case _0x2330fb[_0x4fe1e4(0x12b)]:if(_0x2330fb[_0x4fe1e4(0x11f)](shouldProcessEventForTesthub)){if(BrowserstackCLI['getInstance']()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0xf9)](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0xad)](handleTestEventCLI,_0x3465dc[_0x4fe1e4(0x132)],_0x2330fb[_0x4fe1e4(0xe9)],_0x16dfa2);break;}catch(_0x37654c){_0x2330fb['Koxgu'](debug,_0x4fe1e4(0x136)+util[_0x4fe1e4(0xb6)](_0x37654c));}await _0x16dfa2['testStarted'](_0x3465dc[_0x4fe1e4(0x132)]);}break;case _0x2330fb[_0x4fe1e4(0xfb)]:_0x3465dc[_0x4fe1e4(0x132)]={..._0x2330fb[_0x4fe1e4(0xcb)](_0x293ec0,_0x3465dc[_0x4fe1e4(0x132)]),..._0x3465dc[_0x4fe1e4(0x132)]};if(_0x2330fb[_0x4fe1e4(0xf9)](shouldProcessEventForTesthub)){if(!_0x3465dc['test']['markedStatus']){_0x3465dc['test'][_0x4fe1e4(0x149)]=!![];if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb[_0x4fe1e4(0x14b)](isCLIReady))try{await _0x2330fb['ZsMfX'](handleTestEventCLI,_0x3465dc[_0x4fe1e4(0x132)],_0x2330fb['tfEKU'],_0x16dfa2);break;}catch(_0xa77a05){_0x2330fb[_0x4fe1e4(0xca)](debug,'Error\x20routing\x20to\x20JestTestFramework:\x20'+util[_0x4fe1e4(0xb6)](_0xa77a05));}await _0x16dfa2['sendTestRunEvent'](_0x3465dc[_0x4fe1e4(0x132)]);}}break;case _0x2330fb['yKPEY']:_0x3465dc['test']={..._0x2330fb[_0x4fe1e4(0x106)](_0x293ec0,_0x3465dc[_0x4fe1e4(0x132)]),..._0x3465dc[_0x4fe1e4(0x132)]};if(_0x2330fb['UIVvs'](shouldProcessEventForTesthub)){if(!_0x3465dc[_0x4fe1e4(0x132)][_0x4fe1e4(0x149)]){_0x3465dc['test'][_0x4fe1e4(0x149)]=!![];if(BrowserstackCLI[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xf5)]()&&await _0x2330fb['ZaMaD'](isCLIReady))try{await _0x2330fb[_0x4fe1e4(0xad)](handleTestEventCLI,_0x3465dc['test'],_0x2330fb['OxcBK'],_0x16dfa2);break;}catch(_0x2a187d){_0x2330fb[_0x4fe1e4(0xb9)](debug,_0x4fe1e4(0x136)+util['format'](_0x2a187d));}await _0x16dfa2[_0x4fe1e4(0x115)](_0x3465dc[_0x4fe1e4(0x132)],undefined,![],_0x2330fb['OxcBK']);}}break;case _0x2330fb[_0x4fe1e4(0x114)]:_0x16dfa2[_0x4fe1e4(0xed)]=null;break;case _0x2330fb[_0x4fe1e4(0xbe)]:await RequestQueueHandler[_0x4fe1e4(0x141)]()[_0x4fe1e4(0xe7)](),process[_0x4fe1e4(0xbd)]();break;default:}},_0x2330fb['QGtSz']));}catch(_0x3c1104){_0x2330fb[_0x4aa70d(0xdc)](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x3c1104);}return _0x2330fb[_0x4aa70d(0x14e)](initInitialize,..._0x389f2a);};try{Object['keys'](exportsI)[a17_0x5d0d6e(0x117)](_0x2d2f34=>{const _0xc6c1bc=a17_0x5d0d6e,_0x2a6867={'hVerc':function(_0x2e0745,_0x3811fb){return _0x2e0745(_0x3811fb);}};try{exports&&(exports[_0x2d2f34]=exportsI[_0x2d2f34]);}catch(_0x350297){_0x2a6867[_0xc6c1bc(0xb3)](debug,_0xc6c1bc(0x107)+_0x350297);}});}catch(a17_0x4a25aa){debug(a17_0x5d0d6e(0xbb)+a17_0x4a25aa);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x3e2400=a18_0xdc64;(function(_0x589f7e,_0x1421e5){const _0x4021d5=a18_0xdc64,_0x518e0a=_0x589f7e();while(!![]){try{const _0x1e6d67=-parseInt(_0x4021d5(0x80))/0x1*(parseInt(_0x4021d5(0x71))/0x2)+-parseInt(_0x4021d5(0x7a))/0x3+-parseInt(_0x4021d5(0x75))/0x4*(parseInt(_0x4021d5(0x76))/0x5)+parseInt(_0x4021d5(0x70))/0x6+parseInt(_0x4021d5(0x6f))/0x7*(-parseInt(_0x4021d5(0x77))/0x8)+parseInt(_0x4021d5(0x7c))/0x9*(parseInt(_0x4021d5(0x6d))/0xa)+-parseInt(_0x4021d5(0x81))/0xb*(-parseInt(_0x4021d5(0x7f))/0xc);if(_0x1e6d67===_0x1421e5)break;else _0x518e0a['push'](_0x518e0a['shift']());}catch(_0x78a149){_0x518e0a['push'](_0x518e0a['shift']());}}}(a18_0x3451,0x6652a));function a18_0xdc64(_0x4b27f2,_0x54e684){const _0x34519a=a18_0x3451();return a18_0xdc64=function(_0xdc642b,_0x225f37){_0xdc642b=_0xdc642b-0x6d;let _0x43a8ea=_0x34519a[_0xdc642b];return _0x43a8ea;},a18_0xdc64(_0x4b27f2,_0x54e684);}const Sequencer=require(a18_0x3e2400(0x7d))['default'];function a18_0x3451(){const _0x4fd8a2=['135wRlOfj','@jest/test-sequencer','sort','4462632kHfrrU','398973RHmrwa','22sgbcLI','60470FUzqlz','env','301OfOoPB','4836816hymzDC','4zIeILz','filter','includes','exports','1492ODxJnG','1615iWYdbm','49368bIXOwA','path','split','113163OYPkXu','JEST_TEST_ORDER'];a18_0x3451=function(){return _0x4fd8a2;};return a18_0x3451();}class CustomSequencer extends Sequencer{[a18_0x3e2400(0x7e)](_0x5e4c7c){const _0x2f14b7=a18_0x3e2400,_0x34ca66=process[_0x2f14b7(0x6e)][_0x2f14b7(0x7b)];if(!_0x34ca66)return _0x5e4c7c;const _0x42838d=_0x34ca66[_0x2f14b7(0x79)](','),_0x59087a=new Map(_0x5e4c7c[_0x2f14b7(0x72)](_0x4e3ae8=>_0x42838d[_0x2f14b7(0x73)](_0x4e3ae8['path']))['map'](_0x2a8bf3=>[_0x2a8bf3[_0x2f14b7(0x78)],_0x2a8bf3]));return _0x42838d['map'](_0x1d9c15=>_0x59087a['get'](_0x1d9c15))[_0x2f14b7(0x72)](Boolean);}}module[a18_0x3e2400(0x74)]=CustomSequencer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function a19_0x3bdb(){const _0x385cb6=['runTests','44pIEUBp','1454322BzeSJO','4MlHZQr','default','value','EMXUb','serial__','423040yTyQql','2BGuBKV','xWKxl','jest-runner','config','freeze','2139420NpjIgl','forEach','rfgbQ','length','__esModule','defineProperty','897480iUcbJB','293353EbNDok','kXJRV','_globalConfig','kusVP','push','exports','testEnvironmentOptions','919683IhjKwr','32YDZjQZ','slice','212202eHxuea','context','7BlwbjN'];a19_0x3bdb=function(){return _0x385cb6;};return a19_0x3bdb();}const a19_0x2724e4=a19_0x5443;(function(_0x34e83c,_0x1b7ba1){const _0x4d5a8f=a19_0x5443,_0x44acb0=_0x34e83c();while(!![]){try{const _0x31aef3=parseInt(_0x4d5a8f(0xba))/0x1*(-parseInt(_0x4d5a8f(0xae))/0x2)+parseInt(_0x4d5a8f(0xc1))/0x3*(-parseInt(_0x4d5a8f(0xca))/0x4)+parseInt(_0x4d5a8f(0xb9))/0x5+-parseInt(_0x4d5a8f(0xc9))/0x6*(parseInt(_0x4d5a8f(0xc6))/0x7)+parseInt(_0x4d5a8f(0xc2))/0x8*(parseInt(_0x4d5a8f(0xc4))/0x9)+parseInt(_0x4d5a8f(0xad))/0xa+-parseInt(_0x4d5a8f(0xc8))/0xb*(-parseInt(_0x4d5a8f(0xb3))/0xc);if(_0x31aef3===_0x1b7ba1)break;else _0x44acb0['push'](_0x44acb0['shift']());}catch(_0x1a8077){_0x44acb0['push'](_0x44acb0['shift']());}}}(a19_0x3bdb,0x2da47));const {requireModule,isBrowserstackInfra}=require('../../../helpers/helper'),a19_0x17d4e9={};function a19_0x5443(_0x214ead,_0x54b2c7){const _0x3bdb2d=a19_0x3bdb();return a19_0x5443=function(_0x544345,_0x528649){_0x544345=_0x544345-0xac;let _0x59b80e=_0x3bdb2d[_0x544345];return _0x59b80e;},a19_0x5443(_0x214ead,_0x54b2c7);}a19_0x17d4e9[a19_0x2724e4(0xcc)]=!![],Object[a19_0x2724e4(0xb8)](exports,a19_0x2724e4(0xb7),a19_0x17d4e9),exports[a19_0x2724e4(0xcb)]=void 0x0;function _interopRequireDefault(_0x242c15){const _0x35a988=a19_0x2724e4;return _0x242c15&&_0x242c15[_0x35a988(0xb7)]?_0x242c15:{'default':_0x242c15};}const JestRunner=_interopRequireDefault(requireModule(a19_0x2724e4(0xb0)))[a19_0x2724e4(0xcb)];class TestRunner extends JestRunner{constructor(..._0x63b4e1){super(..._0x63b4e1);}['runTests'](..._0x2e8ee0){const _0x2a422d=a19_0x2724e4,_0x52e3f9={'xWKxl':function(_0x4a6a29){return _0x4a6a29();},'EMXUb':function(_0x43704e,_0x5d07be){return _0x43704e-_0x5d07be;},'kXJRV':function(_0xb6f7ec,_0x49c1fb){return _0xb6f7ec*_0x49c1fb;},'IZatE':function(_0x35573c,_0x213fce){return _0x35573c===_0x213fce;},'kusVP':'false','rfgbQ':function(_0x14a42a,_0x3b8382){return _0x14a42a<_0x3b8382;}};if(!_0x52e3f9[_0x2a422d(0xaf)](isBrowserstackInfra))return super['runTests'](..._0x2e8ee0);const _0x3e338b=_0x2e8ee0[0x0],_0x16756a=_0x2e8ee0[_0x52e3f9[_0x2a422d(0xcd)](_0x2e8ee0[_0x2a422d(0xb6)],0x1)],_0x10ceb1=_0x3e338b[0x0][_0x2a422d(0xc5)]['config'][_0x2a422d(0xc0)]['capabilities'],_0x479650=_0x3e338b[0x0][_0x2a422d(0xc5)][_0x2a422d(0xb1)][_0x2a422d(0xc0)]['parallels__'];_0x479650&&(this['_globalConfig']=Object[_0x2a422d(0xb2)]({...this[_0x2a422d(0xbc)],'maxWorkers':_0x52e3f9[_0x2a422d(0xbb)](_0x479650,_0x10ceb1[_0x2a422d(0xb6)])}));_0x52e3f9['IZatE'](_0x3e338b[0x0][_0x2a422d(0xc5)]['config']['testEnvironmentOptions'][_0x2a422d(0xac)],_0x52e3f9[_0x2a422d(0xbd)])&&(_0x16756a&&(_0x16756a['serial']=![]));const _0x1e0c01=[];for(let _0x4a0f55=0x0;_0x52e3f9[_0x2a422d(0xb5)](_0x4a0f55,_0x3e338b['length']);_0x4a0f55++){const _0x3bb2d3=[];_0x10ceb1[_0x2a422d(0xb4)]((_0x32aa3f,_0x5cf0d5)=>{const _0x509e54=_0x2a422d,_0x357c72={..._0x3e338b[_0x4a0f55]},_0x79ad45=_0x357c72;_0x79ad45[_0x509e54(0xc5)]=Object['freeze']({..._0x79ad45[_0x509e54(0xc5)],'config':{..._0x79ad45['context']['config'],'capability':_0x32aa3f,'browserstackPlatformIndex':_0x5cf0d5}}),_0x3bb2d3[_0x509e54(0xbe)](_0x79ad45);}),_0x1e0c01[_0x2a422d(0xbe)](..._0x3bb2d3);}return super[_0x2a422d(0xc7)](_0x1e0c01,..._0x2e8ee0[_0x2a422d(0xc3)](0x1));}}module[a19_0x2724e4(0xbf)]=TestRunner;
|