browserstack-node-sdk 1.41.0 → 1.42.0
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/cucumber-sessionDetails.js +1 -0
- 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/playwright-patcher.js +1 -0
- 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_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/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.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 -0
- 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 a9_0x4d258d=a9_0x44ba;(function(_0x3b7b10,_0x3d78c2){const _0x527fc6=a9_0x44ba,_0x506693=_0x3b7b10();while(!![]){try{const _0x1009ee=parseInt(_0x527fc6(0x159))/0x1+parseInt(_0x527fc6(0x148))/0x2*(parseInt(_0x527fc6(0x142))/0x3)+-parseInt(_0x527fc6(0x140))/0x4*(parseInt(_0x527fc6(0x107))/0x5)+parseInt(_0x527fc6(0x161))/0x6*(-parseInt(_0x527fc6(0x10c))/0x7)+-parseInt(_0x527fc6(0x163))/0x8*(parseInt(_0x527fc6(0xbd))/0x9)+-parseInt(_0x527fc6(0x13f))/0xa*(parseInt(_0x527fc6(0x127))/0xb)+-parseInt(_0x527fc6(0x130))/0xc;if(_0x1009ee===_0x3d78c2)break;else _0x506693['push'](_0x506693['shift']());}catch(_0x3f6a8c){_0x506693['push'](_0x506693['shift']());}}}(a9_0x1a41,0x8e6cb));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra}=require(a9_0x4d258d(0x131)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a9_0x4d258d(0xfa)),setKeepAlive=require(a9_0x4d258d(0x146)),util=require(a9_0x4d258d(0x124)),PerformanceTester=require(a9_0x4d258d(0xe7)),{commandRepository}=require(a9_0x4d258d(0xde)),cucumberModule=requireModule(a9_0x4d258d(0x15e),'@cucumber/cucumber'),logger=require('../../helpers/logger')[a9_0x4d258d(0x16d)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x4d258d(0x11b)),RequestQueueHandler=require(a9_0x4d258d(0x13d)),{o11yErrorHandler}=require(a9_0x4d258d(0x156)),MyReporter=require(a9_0x4d258d(0xd2)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),testHubConstants=require(a9_0x4d258d(0x15f)),{shouldScanTestForAccessibility}=require(a9_0x4d258d(0x15c)),{isUndefined}=require('lodash'),a9_0x8f41c1={};a9_0x8f41c1[a9_0x4d258d(0xf5)]=undefined,a9_0x8f41c1[a9_0x4d258d(0xf0)]={},a9_0x8f41c1[a9_0x4d258d(0x10a)]=![],a9_0x8f41c1[a9_0x4d258d(0xf0)]['id']=undefined,a9_0x8f41c1[a9_0x4d258d(0xf0)]['testInfo']=undefined;const workerDetails=a9_0x8f41c1;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x1f8bf6){const _0x1f04d5=a9_0x4d258d,_0x333dec=workerDetails['currentTest'][_0x1f04d5(0x151)];if(!_0x333dec)return;await MyReporter[_0x1f04d5(0x10f)](_0x333dec,_0x1f8bf6);}),registerListeners=()=>{const _0x1cbb0f=a9_0x4d258d,_0x2a83a7={};_0x2a83a7[_0x1cbb0f(0x126)]=_0x1cbb0f(0xe2);const _0xc3b6e4=_0x2a83a7;logger['debug'](_0xc3b6e4[_0x1cbb0f(0x126)]),process[_0x1cbb0f(0xf6)](_0x1cbb0f(0xec)+process[_0x1cbb0f(0x112)]),process['on'](_0x1cbb0f(0xec)+process[_0x1cbb0f(0x112)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x4d258d(0xbf)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x4d258d(0x115)],BeforeAll=cucumberModule[a9_0x4d258d(0x16f)],AfterStep=cucumberModule[a9_0x4d258d(0x136)],configuration=process[a9_0x4d258d(0xef)][a9_0x4d258d(0x16e)],bstackConfig=process[a9_0x4d258d(0xef)][a9_0x4d258d(0xd0)];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global[a9_0x4d258d(0xd3)]=isTrue(config[a9_0x4d258d(0x139)]),global[a9_0x4d258d(0xd7)]=isTrue(config[a9_0x4d258d(0x14d)])):(global[a9_0x4d258d(0xd3)]=!![],global[a9_0x4d258d(0xd7)]=!![]),shouldProcessEventForTesthub()?require('../../index')[a9_0x4d258d(0x141)](config,null,!![]):require('../../index')[a9_0x4d258d(0x141)](config),global[a9_0x4d258d(0xea)]=config[a9_0x4d258d(0x15d)]||{};}function a9_0x1a41(){const _0x4331c8=['shift','../utils/constants','CtGmU','Failed:\x20','Hlghy','ieXro','UMpgP','length','setTestNameForHealingContext','driverCleanup','hHQsl','QsZGZ','setConfig','qenmr','35wWenfa','vahgU','jZEOE','o11ySyncDone','uuid','21tHDIjS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thTestRunUuid','addTestUIDAndReportLog','nkbrq','WLmiL','pid','QPPJR','__drivers','AfterAll','testCaseStartedId','Cucumber-JS','Passed','debug','Ffyxv','../playwright/reporter/test-details.js','performScan','setGlobal','NEkCn','tqMPn','result','Error:\x20in\x20quitting\x20driver\x20','OCseW','timeout','util','sznIB','TcjhR','11pTdMwe','Inside\x20browserstack\x20AfterStep','QGqYo','\x20|\x20','pRkSH','stringify','__sessionFailed','isAccessibilityPlatform','passed','3415968gKVruX','../../helpers/helper','session_','xPOie','dRSBO','Performing\x20scan\x20before\x20saving\x20results','AfterStep','toString','DhoAS','skipSessionName',',\x22level\x22:\x20\x22','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/test-observability/requestQueueHandler','uploadEventData','2435210IHDaQv','67068wsfFsv','browserstackAgentV2','2665527BPnBmK','pickleStep','message','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/setKeepAlive','saveTestResults','2AXgzCP','map','VDXha','executeScript','getInstance','skipSessionStatus','__error_messages__','test_run','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','testInfo','doWOY','CWtml','BROWSERSTACK_TESTHUB_JWT','name','../../helpers/test-observability/error-handler','__timeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','819606TPkIPF','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','executeAsyncScript','../../helpers/accessibility-automation/helper','platformCaps','@cucumber/cucumber/lib/index.js','../../helpers/testhub/constants.js','Error:\x20at\x20After:\x20','465342QsxkQr','getId','219128GPZASW','Error:\x20quiting\x20driver\x20at\x20After:\x20','quitCount_','tuRPj','initQuit','ilGtQ','eVScw','info','aufQR','error','winstonLogger','CONFIG','BeforeAll','startMonitoring','jyZPu','bstackA11yShouldScan','81cWtiKg','bstack','Before','setDefaultTimeout','split','ENV_VAR','Inside\x20browserstack\x20Before','pickle','Inside\x20browserstack\x20AfterAll','then','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','event_type','CBTSessionCreated','Inside\x20browserstack\x20BeforeAll','getTestUUID','stopMonitoring','\x22}}','cucumber-js','FSzMk','BSTACK_CONFIG','text','../playwright/reporter/reporter.js','__skipSessionName','BaTuJ','0|2|4|1|3','ImgYI','__skipSessionStatus','join','hSRrp','JRBkh','Passed:\x20','cUaFk','push','../../helpers/ai-sdk/autoHealHelper','tags','thBuildUuid','\x0aError:\x20','Inside\x20browserstack\x20registerListeners','getGlobal','rFmqX','status','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','../../helpers/performance/performance-tester','foPfi','toLowerCase','__platformCaps','browserstackSessionName','bs:addLog:','failed','EhySo','env','currentTest','Error:\x20cleaning\x20up\x20driver:\x20','Inside\x20browserstack\x20After','format','thJwtToken','workerInfo','removeAllListeners','PSyAF','finally'];a9_0x1a41=function(){return _0x4331c8;};return a9_0x1a41();}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x4d258d(0x105)](browserStackConfig),commandRepository['setFramework'](a9_0x4d258d(0xce)));}global[a9_0x4d258d(0x157)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x4d258d(0xc0)];cucumberModule[a9_0x4d258d(0xc0)]=_0x1ae73d=>{const _0x3c6366=a9_0x4d258d,_0xf819c0={'foPfi':function(_0x25c25f,_0x2aecb6){return _0x25c25f(_0x2aecb6);}};global[_0x3c6366(0x157)]=_0x1ae73d,_0xf819c0[_0x3c6366(0xe8)](__setDefaultTimeout,_0x1ae73d);};const a9_0x285e0b={};function a9_0x44ba(_0x1639a3,_0x43ae67){const _0x1a41d6=a9_0x1a41();return a9_0x44ba=function(_0x44bad7,_0x46fc1e){_0x44bad7=_0x44bad7-0xba;let _0x7657bd=_0x1a41d6[_0x44bad7];return _0x7657bd;},a9_0x44ba(_0x1639a3,_0x43ae67);}a9_0x285e0b[a9_0x4d258d(0x155)]=a9_0x4d258d(0xbe),BeforeAll(a9_0x285e0b,function(){const _0x26a95b=a9_0x4d258d,_0x200c5d={'ilGtQ':function(_0x20e2a4,_0x43c342,_0x6bef46,_0x3e0201){return _0x20e2a4(_0x43c342,_0x6bef46,_0x3e0201);},'nkbrq':_0x26a95b(0xed),'aufQR':_0x26a95b(0x12a),'pRkSH':function(_0x252bb7,_0xca988e,_0x489c60){return _0x252bb7(_0xca988e,_0x489c60);},'ImgYI':_0x26a95b(0x12f),'CtGmU':_0x26a95b(0xca),'tuRPj':function(_0x273987){return _0x273987();},'ieXro':function(_0x2b383c){return _0x2b383c();},'DhoAS':function(_0x51b9bd,_0x39b512){return _0x51b9bd(_0x39b512);}};PerformanceTester[_0x26a95b(0xba)](),logger[_0x26a95b(0x119)](_0x200c5d[_0x26a95b(0xfb)]),global['__error_messages__']=[],global[_0x26a95b(0x12d)]=![],_0x200c5d[_0x26a95b(0x166)](shouldProcessEventForTesthub)&&(_0x200c5d[_0x26a95b(0xfe)](registerListeners),_0x200c5d[_0x26a95b(0x138)](addRequestSpy,![])),global[_0x26a95b(0x102)]=async()=>{const _0x2d4414=_0x26a95b;let _0x4c9c82=![];try{await global[_0x2d4414(0x114)][0x0][_0x2d4414(0x132)],_0x4c9c82=!![],global['__sessionFailed']?await _0x200c5d[_0x2d4414(0x168)](markSessionStatus,global['__drivers'][0x0],_0x200c5d[_0x2d4414(0x110)],global[_0x2d4414(0x14e)][_0x2d4414(0xd8)](_0x200c5d[_0x2d4414(0x16b)])):await _0x200c5d[_0x2d4414(0x12b)](markSessionStatus,global[_0x2d4414(0x114)][0x0],_0x200c5d[_0x2d4414(0xd6)]);}catch(_0x59c3ef){logger['debug'](_0x2d4414(0xf1)+_0x59c3ef);}global[_0x2d4414(0x14e)]=[],global[_0x2d4414(0x12d)]=![];if(_0x4c9c82)try{await global[_0x2d4414(0x114)][0x0][_0x2d4414(0x167)](),global['__drivers'][0x0][_0x2d4414(0x132)][_0x2d4414(0xc6)](_0x758f7f=>{const _0x1edafe=_0x2d4414;logger['debug'](_0x1edafe(0x121)+_0x758f7f[_0x1edafe(0x162)]());})['catch'](_0x19962=>{});}catch(_0x56ca40){logger['debug'](_0x2d4414(0xe6)+_0x56ca40);}};});const a9_0x918c58={};a9_0x918c58[a9_0x4d258d(0x155)]=a9_0x4d258d(0xbe),a9_0x918c58[a9_0x4d258d(0x123)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4d258d(0x117)],Before(a9_0x918c58,function(_0x2e6210,_0x147e89){const _0x53f35a=a9_0x4d258d,_0x13ea1f={'FSzMk':function(_0x5be400,_0x46ac9e){return _0x5be400>_0x46ac9e;},'sznIB':function(_0x5a2d62,_0x1e45fe){return _0x5a2d62(_0x1e45fe);},'lPwkk':function(_0x4b1288,_0x592e22,_0x85c10d,_0x265d32){return _0x4b1288(_0x592e22,_0x85c10d,_0x265d32);},'wtNPI':_0x53f35a(0xbc),'hHQsl':function(_0x2025dd){return _0x2025dd();},'JRBkh':_0x53f35a(0xc3)};commandRepository[_0x53f35a(0x101)](_0x2e6210[_0x53f35a(0xc4)][_0x53f35a(0x155)]),logger[_0x53f35a(0x119)](_0x13ea1f[_0x53f35a(0xda)]),new Promise(async _0xd31a0a=>{const _0x2a4496=_0x53f35a;try{_0x13ea1f['FSzMk'](global[_0x2a4496(0x114)][_0x2a4496(0x100)],0x1)&&(await global['driverCleanup'](),global[_0x2a4496(0x114)][_0x2a4496(0xf9)]()),global[_0x2a4496(0x114)][0x0][_0x2a4496(0x165)]&&_0x13ea1f[_0x2a4496(0xcf)](global['__drivers'][0x0][_0x2a4496(0x165)],0x0)&&await global[_0x2a4496(0x102)]();}catch(_0x1c4db6){logger['debug'](_0x2a4496(0xc7)+_0x1c4db6);}workerDetails[_0x2a4496(0xf0)][_0x2a4496(0x151)]=_0x2e6210[_0x2a4496(0x116)];try{if(!_0x13ea1f[_0x2a4496(0x125)](isUndefined,_0x2e6210[_0x2a4496(0xc4)][_0x2a4496(0xdf)])){const _0x507d96=_0x13ea1f['lPwkk'](shouldScanTestForAccessibility,null,![],_0x2e6210[_0x2a4496(0xc4)][_0x2a4496(0xdf)][_0x2a4496(0x149)](({name:_0x117372})=>_0x117372));globals[_0x2a4496(0x11d)](_0x13ea1f['wtNPI'],_0x507d96);}}catch(_0x377947){logger[_0x2a4496(0x119)](_0x2a4496(0x13b)+util['format'](_0x377947));}_0x13ea1f[_0x2a4496(0x103)](_0xd31a0a);})[_0x53f35a(0xf8)](_0x147e89);});const a9_0x31a969={};a9_0x31a969[a9_0x4d258d(0x155)]='bstack',a9_0x31a969[a9_0x4d258d(0x123)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4d258d(0x117)],After(a9_0x31a969,function(_0x5735af,_0x2e3b9b){const _0x3f6d72=a9_0x4d258d,_0x35819e={'CWtml':_0x3f6d72(0xd5),'CPfmr':function(_0x40f9ad,_0x4fc483){return _0x40f9ad>_0x4fc483;},'PSyAF':function(_0x3b8b18,_0x29bac9){return _0x3b8b18===_0x29bac9;},'BaTuJ':_0x3f6d72(0xed),'tgoem':function(_0x36b30b,_0x9f4e63){return _0x36b30b===_0x9f4e63;},'WLmiL':function(_0x3ff118,_0x3ddd24,_0x365f29,_0x18ce17){return _0x3ff118(_0x3ddd24,_0x365f29,_0x18ce17);},'QmqGi':_0x3f6d72(0x12a),'hSRrp':function(_0x22a251,_0x2f6011,_0x3787c5){return _0x22a251(_0x2f6011,_0x3787c5);},'IMkSm':_0x3f6d72(0x12f),'OCseW':function(_0x1fb4cd){return _0x1fb4cd();},'UMpgP':_0x3f6d72(0xc9),'Ffyxv':_0x3f6d72(0x12e),'yWZqr':_0x3f6d72(0xbc),'lWfeM':_0x3f6d72(0x13c),'VDXha':_0x3f6d72(0x135),'EhySo':_0x3f6d72(0x10d),'Itsej':_0x3f6d72(0xf2)};logger[_0x3f6d72(0x119)](_0x35819e['Itsej']),workerDetails[_0x3f6d72(0xf0)][_0x3f6d72(0x151)]=_0x5735af[_0x3f6d72(0x116)],new Promise(async _0x139f5b=>{const _0x239ee1=_0x3f6d72;let _0x34a2a7=![];try{const _0x16b214=_0x35819e[_0x239ee1(0x153)][_0x239ee1(0xc1)]('|');let _0x5c1448=0x0;while(!![]){switch(_0x16b214[_0x5c1448++]){case'0':_0x35819e['CPfmr'](global[_0x239ee1(0x114)][_0x239ee1(0x100)],0x1)&&(await global[_0x239ee1(0x102)](),global['__drivers'][_0x239ee1(0xf9)](),global['__error_messages__']=[],global[_0x239ee1(0x12d)]=![]);continue;case'1':!global[_0x239ee1(0xd3)]&&await global[_0x239ee1(0x114)][0x0][_0x239ee1(0x14b)](_0x239ee1(0x158)+_0x5735af[_0x239ee1(0xc4)]['name']+_0x239ee1(0xcd));continue;case'2':await global[_0x239ee1(0x114)][0x0][_0x239ee1(0x132)];continue;case'3':if(_0x35819e[_0x239ee1(0xf7)](_0x5735af['result']['status'][_0x239ee1(0x137)]()[_0x239ee1(0xe9)](),_0x35819e[_0x239ee1(0xd4)])||_0x35819e['tgoem'](_0x5735af[_0x239ee1(0x120)][_0x239ee1(0xe5)][_0x239ee1(0x137)]()['toLowerCase'](),'6')){try{global[_0x239ee1(0x14e)]['push'](_0x5735af[_0x239ee1(0x120)][_0x239ee1(0x144)]);}catch(_0x47a19a){logger[_0x239ee1(0x119)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x47a19a);}await _0x35819e[_0x239ee1(0x111)](markSessionStatus,global['__drivers'][0x0],_0x35819e[_0x239ee1(0xd4)],global[_0x239ee1(0x14e)][_0x239ee1(0xd8)](_0x35819e['QmqGi']));}else await _0x35819e[_0x239ee1(0xd9)](markSessionStatus,global[_0x239ee1(0x114)][0x0],_0x35819e['IMkSm']);continue;case'4':_0x34a2a7=!![];continue;}break;}}catch(_0x54d7aa){logger[_0x239ee1(0x119)](_0x239ee1(0x160)+util['format'](_0x54d7aa));}try{if(_0x35819e[_0x239ee1(0x122)](shouldProcessEventForTesthub)){const _0x48bbe7=TestDetails['getTestUUID'](_0x5735af[_0x239ee1(0x116)]),_0x290678=await _0x35819e[_0x239ee1(0x111)](sendPlatformDetails,global[_0x239ee1(0x114)][0x0],_0x48bbe7,!![]),_0x23bc80={};_0x23bc80[_0x239ee1(0x10b)]=_0x48bbe7,_0x23bc80['integrations']=_0x290678;const _0x184eef=_0x23bc80,_0x320a7b={};_0x320a7b[_0x239ee1(0xc8)]=_0x35819e[_0x239ee1(0xff)],_0x320a7b[_0x239ee1(0x14f)]=_0x184eef,await SessionHandler[_0x239ee1(0x13e)](_0x320a7b);}}catch(_0x1350c4){logger[_0x239ee1(0x119)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x239ee1(0xf3)](_0x1350c4));}try{if(globals[_0x239ee1(0xe3)](_0x35819e[_0x239ee1(0x11a)])&&globals['getGlobal'](_0x35819e['yWZqr'])){logger[_0x239ee1(0x16a)](_0x35819e['lWfeM']);const _0x2a0936=TestDetails[_0x239ee1(0xcb)](_0x5735af['testCaseStartedId']),_0x3b1de7={};_0x3b1de7[_0x239ee1(0x10e)]=_0x2a0936,_0x3b1de7[_0x239ee1(0xe0)]=process['env'][testHubConstants[_0x239ee1(0xc2)]['BROWSERSTACK_TESTHUB_UUID']],_0x3b1de7[_0x239ee1(0xf4)]=process[_0x239ee1(0xef)][testHubConstants[_0x239ee1(0xc2)][_0x239ee1(0x154)]];const _0x4ada85=_0x3b1de7;logger[_0x239ee1(0x119)](_0x239ee1(0x15a)+JSON[_0x239ee1(0x12c)](_0x4ada85)),logger[_0x239ee1(0x119)](_0x35819e[_0x239ee1(0x14a)]),logger[_0x239ee1(0x119)](util[_0x239ee1(0xf3)](await global['__drivers'][0x0][_0x239ee1(0x15b)](scripts[_0x239ee1(0x11c)],{'method':global[_0x239ee1(0xeb)]}))),await global[_0x239ee1(0x114)][0x0]['executeAsyncScript'](scripts[_0x239ee1(0x147)],_0x4ada85),logger[_0x239ee1(0x16a)](_0x35819e[_0x239ee1(0xee)]);}}catch(_0x284bfa){logger[_0x239ee1(0x16c)](_0x239ee1(0x150)+util[_0x239ee1(0xf3)]);}if(_0x34a2a7)try{global[_0x239ee1(0x114)][0x0]&&_0x35819e['CPfmr'](global['__drivers'][0x0][_0x239ee1(0x165)],0x0)&&await global[_0x239ee1(0x114)][0x0][_0x239ee1(0x167)]();}catch(_0x3a6b5a){logger[_0x239ee1(0x119)](_0x239ee1(0x164)+_0x3a6b5a);}_0x35819e[_0x239ee1(0x122)](_0x139f5b);})[_0x3f6d72(0xf8)](()=>_0x2e3b9b());});const a9_0x3929b6={};a9_0x3929b6[a9_0x4d258d(0x155)]='bstack',a9_0x3929b6[a9_0x4d258d(0x123)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a9_0x3929b6,function(_0x1ca1f5,_0x86b51c){const _0x2533f2=a9_0x4d258d,_0x574bd7={'IyIhJ':function(_0x3093c1,_0x604cf8){return _0x3093c1===_0x604cf8;},'QPPJR':_0x2533f2(0xed),'eVScw':function(_0x5b7fdc,_0x245227){return _0x5b7fdc===_0x245227;},'dRSBO':function(_0x3417ef,_0x1ce592){return _0x3417ef!==_0x1ce592;},'jZEOE':function(_0xf08a93,_0xfb6f88,_0x1d04a6){return _0xf08a93(_0xfb6f88,_0x1d04a6);},'doWOY':function(_0x1991f7,_0x46e8b6){return _0x1991f7+_0x46e8b6;},'QGqYo':function(_0x4df87a,_0x109d6a){return _0x4df87a+_0x109d6a;},'tqMPn':_0x2533f2(0xfc),'xPOie':_0x2533f2(0xe1),'Hlghy':_0x2533f2(0x16c),'pmZox':function(_0x4b8fb4,_0x10bc82){return _0x4b8fb4!==_0x10bc82;},'vahgU':function(_0x2a5569,_0x4ea409,_0x1893f4){return _0x2a5569(_0x4ea409,_0x1893f4);},'AzreQ':function(_0x1ce84e,_0x5e06c2){return _0x1ce84e+_0x5e06c2;},'pCMMG':_0x2533f2(0xdb),'cUaFk':'info','rFmqX':function(_0x5cd97c,_0x5b1a13,_0x3454b1){return _0x5cd97c(_0x5b1a13,_0x3454b1);},'jyZPu':_0x2533f2(0x118),'QsZGZ':function(_0x55be2e){return _0x55be2e();},'FgHjk':_0x2533f2(0x128)};logger[_0x2533f2(0x119)](_0x574bd7['FgHjk']);const _0x26a5a4=async(_0x3c7757,_0x2a85e2)=>{const _0x40282d=_0x2533f2;await global[_0x40282d(0x114)][0x0]['executeScript'](_0x40282d(0x145)+_0x3c7757+_0x40282d(0x13a)+_0x2a85e2+'\x22}}');};new Promise(async _0x454060=>{const _0x3740fd=_0x2533f2;try{_0x574bd7['IyIhJ'](_0x1ca1f5[_0x3740fd(0x120)][_0x3740fd(0xe5)][_0x3740fd(0x137)]()[_0x3740fd(0xe9)](),_0x574bd7[_0x3740fd(0x113)])||_0x574bd7[_0x3740fd(0x169)](_0x1ca1f5['result'][_0x3740fd(0xe5)][_0x3740fd(0x137)]()[_0x3740fd(0xe9)](),'6')?(global[_0x3740fd(0x12d)]=!![],global[_0x3740fd(0x14e)][_0x3740fd(0xdd)](_0x1ca1f5[_0x3740fd(0x120)][_0x3740fd(0x144)]),_0x574bd7[_0x3740fd(0x134)](_0x1ca1f5[_0x3740fd(0x143)],undefined)?await _0x574bd7['jZEOE'](_0x26a5a4,JSON[_0x3740fd(0x12c)](_0x574bd7[_0x3740fd(0x152)](_0x574bd7['doWOY'](_0x574bd7[_0x3740fd(0x129)](_0x574bd7[_0x3740fd(0x11f)],'\x22'+_0x1ca1f5['pickleStep']['text']+'\x22\x20'),_0x574bd7[_0x3740fd(0x133)]),_0x1ca1f5['result']['message'])),_0x574bd7['Hlghy']):await _0x574bd7[_0x3740fd(0x109)](_0x26a5a4,JSON[_0x3740fd(0x12c)](_0x574bd7[_0x3740fd(0x129)](_0x574bd7[_0x3740fd(0x11f)],_0x1ca1f5[_0x3740fd(0x120)][_0x3740fd(0x144)])),_0x574bd7[_0x3740fd(0xfd)])):_0x574bd7['pmZox'](_0x1ca1f5[_0x3740fd(0x143)],undefined)?await _0x574bd7[_0x3740fd(0x108)](_0x26a5a4,JSON[_0x3740fd(0x12c)](_0x574bd7['AzreQ'](_0x574bd7['pCMMG'],'\x22'+_0x1ca1f5['pickleStep'][_0x3740fd(0xd1)]+'\x22')),_0x574bd7[_0x3740fd(0xdc)]):await _0x574bd7[_0x3740fd(0xe4)](_0x26a5a4,JSON[_0x3740fd(0x12c)](_0x574bd7[_0x3740fd(0xbb)]),_0x574bd7[_0x3740fd(0xdc)]),global[_0x3740fd(0x114)][0x0]['session_']['then'](_0x182d7f=>{})['catch'](_0x4312ec=>{const _0xfb5565=_0x3740fd;logger[_0xfb5565(0x119)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0xfb5565(0xf3)](_0x4312ec));});}catch(_0x5be37f){logger['debug']('Error:\x20at\x20After\x20Step:\x20'+_0x5be37f);}_0x574bd7[_0x3740fd(0x104)](_0x454060);})[_0x2533f2(0xf8)](()=>_0x86b51c());});const a9_0xc5c3c4={};a9_0xc5c3c4[a9_0x4d258d(0x155)]='bstack',a9_0xc5c3c4[a9_0x4d258d(0x123)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0xc5c3c4,async function(_0x2fe0cf,_0x34e2c2){const _0x5d7a6d=a9_0x4d258d,_0x53eb3c={'qenmr':function(_0x2cea77){return _0x2cea77();},'NEkCn':_0x5d7a6d(0xc5)};logger[_0x5d7a6d(0x119)](_0x53eb3c[_0x5d7a6d(0x11e)]),await new Promise(async _0x5a1979=>{const _0x41b08b=_0x5d7a6d;await RequestQueueHandler[_0x41b08b(0x14c)]()['shutdown'](),PerformanceTester[_0x41b08b(0xcc)](),await global['driverCleanup'](),_0x53eb3c[_0x41b08b(0x106)](_0x5a1979);});});
|
|
1
|
+
const a11_0x56db94=a11_0x2cd5;(function(_0x447a80,_0x176fcb){const _0x30b616=a11_0x2cd5,_0xb156a5=_0x447a80();while(!![]){try{const _0x45c356=parseInt(_0x30b616(0x18f))/0x1*(parseInt(_0x30b616(0x1cc))/0x2)+parseInt(_0x30b616(0x1d1))/0x3*(parseInt(_0x30b616(0x193))/0x4)+-parseInt(_0x30b616(0x158))/0x5+parseInt(_0x30b616(0x18d))/0x6*(parseInt(_0x30b616(0x190))/0x7)+-parseInt(_0x30b616(0x1cf))/0x8+-parseInt(_0x30b616(0x154))/0x9+-parseInt(_0x30b616(0x163))/0xa*(-parseInt(_0x30b616(0x1e5))/0xb);if(_0x45c356===_0x176fcb)break;else _0xb156a5['push'](_0xb156a5['shift']());}catch(_0x1c03e8){_0xb156a5['push'](_0xb156a5['shift']());}}}(a11_0xcf3a,0x7beee));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x56db94(0x17c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x56db94(0x1ca)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a11_0x56db94(0x1ef)),PerformanceTester=require(a11_0x56db94(0x1f7)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x56db94(0x1be),a11_0x56db94(0x1dc)),logger=require(a11_0x56db94(0x199))[a11_0x56db94(0x13c)],{shouldProcessEventForTesthub}=require(a11_0x56db94(0x1a0)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x56db94(0x132)),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a11_0x56db94(0x1a1)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0x56db94(0x160)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a11_0x56db94(0x1de)),globals=require(a11_0x56db94(0x1c0)),testHubConstants=require(a11_0x56db94(0x1d5)),{shouldScanTestForAccessibility}=require(a11_0x56db94(0x189)),{isUndefined}=require(a11_0x56db94(0x18a)),helper=require(a11_0x56db94(0x17c)),a11_0x314355={};a11_0x314355[a11_0x56db94(0x1a4)]=undefined,a11_0x314355[a11_0x56db94(0x1e6)]={},a11_0x314355[a11_0x56db94(0x1e3)]=![],a11_0x314355[a11_0x56db94(0x133)]=null,a11_0x314355[a11_0x56db94(0x1bf)]=![],a11_0x314355[a11_0x56db94(0x1e6)]['id']=undefined,a11_0x314355[a11_0x56db94(0x1e6)]['testInfo']=undefined;const workerDetails=a11_0x314355;global[a11_0x56db94(0x1f1)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x35b133){const _0x3d8507=a11_0x56db94,_0x3e34b0=workerDetails[_0x3d8507(0x1e6)][_0x3d8507(0x139)];if(!_0x3e34b0)return;await MyReporter[_0x3d8507(0x12d)](_0x3e34b0,_0x35b133);}),registerListeners=()=>{const _0x141efb=a11_0x56db94,_0xf0593a={};_0xf0593a[_0x141efb(0x1b3)]=_0x141efb(0x1a5);const _0x2b3418=_0xf0593a;logger[_0x141efb(0x191)](_0x2b3418[_0x141efb(0x1b3)]),process['removeAllListeners'](_0x141efb(0x1a9)+process[_0x141efb(0x195)]),process['on'](_0x141efb(0x1a9)+process[_0x141efb(0x195)],sendTestLog),PerformanceTester[_0x141efb(0x13b)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x56db94(0x1c7)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x56db94(0x1cd)],BeforeAll=cucumberModule[a11_0x56db94(0x1a6)],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x56db94(0x188)][a11_0x56db94(0x1e1)],bstackConfig=process[a11_0x56db94(0x188)][a11_0x56db94(0x1b7)];if(configuration!==undefined){const config=JSON[a11_0x56db94(0x12f)](configuration);isBrowserstackInfra()?(global[a11_0x56db94(0x156)]=isTrue(config['skipSessionName']),global[a11_0x56db94(0x1d3)]=isTrue(config[a11_0x56db94(0x14b)])):(global['__skipSessionName']=!![],global[a11_0x56db94(0x1d3)]=!![]);!helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153))&&(logger['debug'](a11_0x56db94(0x1b5)),shouldProcessEventForTesthub()?require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config,null,!![]):require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config));global['__platformCaps']=config[a11_0x56db94(0x131)]||{};if(helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153)))try{logger[a11_0x56db94(0x191)]('Performing\x20Playwright\x20Patching'),playwrightPatcher=require(a11_0x56db94(0x14f)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a11_0x56db94(0x191)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a11_0x13c9fd){logger[a11_0x56db94(0x191)](a11_0x56db94(0x16a)+util[a11_0x56db94(0x1ed)](a11_0x13c9fd));}}function a11_0xcf3a(){const _0x5ee931=['Inside\x20browserstack\x20Before','uaBFP','../v2/browserstackCLI','SqSQs',',\x20isPlaywrightFlow=','Performing\x20Selenium\x20Patching','pickle','BSTACK_CONFIG','initQuit','status','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Inside\x20browserstack\x20AfterStep','then','toString','@cucumber/cucumber/lib/index.js','isPageFixture','../../helpers/globals','Passed:\x20','ImRyP','shift','kNbBO','CZIcK','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Before','__error_messages__','XvynZ','../utils/constants','odLVv','98sISdWE','AfterAll','Cleaned\x20up\x20Playwright\x20close\x20tracker','3092232WNvKQP','beforeTestHook','1671xCoqeI','Inside\x20browserstack\x20After','__skipSessionStatus','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/constants.js','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','testCaseStartedId','eAhyW','exjse','BROWSERSTACK_TESTHUB_UUID','map','@cucumber/cucumber','tXXTB','../../helpers/accessibility-automation/scripts','cucumber-js','integrations','CONFIG','quitCount_','o11ySyncDone','SrOJp','55uLipTU','currentTest','bstackA11yShouldScan','pickleStep','OWueD','getInstance','getGlobal','session_','format','__timeout','util','NLJcN','__workerDetails','tags','bstack','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','getPackageVersion','yRQFP','../../helpers/performance/performance-tester','toLowerCase','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','setDefaultTimeout','failed','WuzRK','Error:\x20at\x20After\x20(Playwright):\x20','uiHhh','UAUjj','addTestUIDAndReportLog','CDpPa','parse','lMsbT','platformCaps','../../helpers/test-observability/utils','pwPage','thJwtToken','Error\x20in\x20playwright\x20beforeTestHook:\x20','executeDeferredCloses','\x20|\x20','info','testInfo','Error:\x20at\x20After\x20Step:\x20','startMonitoring','winstonLogger','XkUFw','Error:\x20in\x20quitting\x20driver\x20','Error:\x20quiting\x20driver\x20at\x20After:\x20','closeTracker','sKrNh','YmEHg','LlGbA','MzCZj','PHkiP','stringify','error','Error:\x20cleaning\x20up\x20driver:\x20','KDIKu','iRgOa','skipSessionStatus','finally','Failed:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','./playwright-patcher','AOKax','__drivers','event_type','@playwright/test','5857479BOhtwI','text','__skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','4200200aZwmPL','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','executeAsyncScript','0|4|2|3|1','saveTestResults','setFrameworkDetail','NMPVQ','HaCMF','../playwright/reporter/reporter.js','timeout','WRxXc','1980710qKKgqK','QufJi','test_run','getTestUUID','length','UjDLA','QoZfg','Error\x20initializing\x20Playwright\x20patching:\x20','passed','Inside\x20browserstack\x20BeforeAll','executeScript','zYcYn','Error:\x20sendPlatformDetails\x20at\x20After:\x20','\x0aError:\x20','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uuid','push','rRtRQ','browserstackAgentV2','setTestNameForHealingContext','Cucumber-JS','catch','wzTSh','CUCUMBER','../../helpers/helper','message','xRFRd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Inside\x20browserstack\x20AfterAll','sNbal','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','UxzcN','../../index','Cqxwa','thBuildUuid','__sessionFailed','env','../../helpers/accessibility-automation/helper','lodash',',\x22level\x22:\x20\x22','driverCleanup','6UThOgK','ECpDM','14750wsYrsF','1681750KnsmXt','debug','name','3100mXrSjx','ENV_VAR','pid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','hfRtM','IUABj','../../helpers/logger','result','stopMonitoring','uploadEventData','join','isAccessibilityPlatform','split','../../helpers/testhub/utils','../../helpers/test-observability/requestQueueHandler','CBTSessionCreated','\x22}}','workerInfo','Inside\x20browserstack\x20registerListeners','BeforeAll','lxJhg','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','bs:addLog:','GMcft','WmIpj','dNbeE','Passed','QLJsi','uQUXu'];a11_0xcf3a=function(){return _0x5ee931;};return a11_0xcf3a();}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x56db94(0x12f)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a11_0x56db94(0x1df)));}global[a11_0x56db94(0x1ee)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x56db94(0x127)]=_0x4d2a91=>{const _0x239a84=a11_0x56db94,_0x116696={'LlGbA':function(_0x5cb915,_0x145a1f){return _0x5cb915(_0x145a1f);}};global[_0x239a84(0x1ee)]=_0x4d2a91,_0x116696[_0x239a84(0x143)](__setDefaultTimeout,_0x4d2a91);};const a11_0x4f3eba={};a11_0x4f3eba[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),BeforeAll(a11_0x4f3eba,async function(){const _0x38e4b1=a11_0x56db94,_0x2c034b={'TgwYG':function(_0x1cd34b,_0xe5cbae,_0x1b06b5,_0x3f7d5e){return _0x1cd34b(_0xe5cbae,_0x1b06b5,_0x3f7d5e);},'ImRyP':'failed','HaCMF':_0x38e4b1(0x137),'uQUXu':function(_0xe01a07,_0x32567c,_0x2196ce){return _0xe01a07(_0x32567c,_0x2196ce);},'NMPVQ':_0x38e4b1(0x16b),'GMcft':_0x38e4b1(0x16c),'QufJi':function(_0x32d062,_0x25ea17){return _0x32d062(_0x25ea17);},'UAUjj':_0x38e4b1(0x1b2),'WuzRK':'../v2/cliUtils','lxJhg':_0x38e4b1(0x1ca),'PHkiP':_0x38e4b1(0x182),'XvynZ':function(_0x6e9211){return _0x6e9211();},'MNBNY':function(_0x4f71e7){return _0x4f71e7();},'NLJcN':function(_0x3d98b2,_0x3a5f24){return _0x3d98b2(_0x3a5f24);}};PerformanceTester[_0x38e4b1(0x13b)](),logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x1aa)]),global[_0x38e4b1(0x1c8)]=[],global[_0x38e4b1(0x187)]=![];if(playwrightPatcher)try{const _0x18a718=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x12c)]),_0x31ddc1=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x129)]),{FRAMEWORKS:_0x1dead2}=_0x2c034b[_0x38e4b1(0x164)](require,_0x2c034b[_0x38e4b1(0x1a7)]);_0x18a718[_0x38e4b1(0x1ea)]()['isCliEnabled']()&&(logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x145)]),_0x31ddc1[_0x38e4b1(0x15d)](_0x1dead2[_0x38e4b1(0x17b)],_0x1dead2['PLAYWRIGHT']),await _0x18a718[_0x38e4b1(0x1ea)]()['bootstrap']());}catch(_0x14f47a){logger[_0x38e4b1(0x191)](_0x38e4b1(0x172)+util[_0x38e4b1(0x1ed)](_0x14f47a));}_0x2c034b[_0x38e4b1(0x1c9)](shouldProcessEventForTesthub)&&(_0x2c034b['MNBNY'](registerListeners),_0x2c034b[_0x38e4b1(0x1f0)](addRequestSpy,![])),global[_0x38e4b1(0x18c)]=async()=>{const _0x41f23a=_0x38e4b1;let _0x1895dd=![];try{global['__drivers']&&global[_0x41f23a(0x151)][0x0]&&(await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)],_0x1895dd=!![],global[_0x41f23a(0x187)]?await _0x2c034b['TgwYG'](markSessionStatus,global['__drivers'][0x0],_0x2c034b[_0x41f23a(0x1c2)],global[_0x41f23a(0x1c8)][_0x41f23a(0x19d)](_0x2c034b[_0x41f23a(0x15f)])):await _0x2c034b[_0x41f23a(0x1af)](markSessionStatus,global[_0x41f23a(0x151)][0x0],_0x2c034b[_0x41f23a(0x15e)]));}catch(_0x2a01b9){logger['debug'](_0x41f23a(0x148)+_0x2a01b9);}global[_0x41f23a(0x1c8)]=[],global[_0x41f23a(0x187)]=![];if(_0x1895dd)try{await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1b8)](),global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)][_0x41f23a(0x1bc)](_0x10311a=>{const _0x47ab1f=_0x41f23a;logger[_0x47ab1f(0x191)](_0x47ab1f(0x13e)+_0x10311a['getId']());})[_0x41f23a(0x179)](_0x3a1540=>{});}catch(_0x33c5fc){logger['debug'](_0x41f23a(0x159)+_0x33c5fc);}};});function a11_0x2cd5(_0x47001e,_0x4c5b80){const _0xcf3ae9=a11_0xcf3a();return a11_0x2cd5=function(_0x2cd588,_0x4cdcc2){_0x2cd588=_0x2cd588-0x127;let _0x3fb111=_0xcf3ae9[_0x2cd588];return _0x3fb111;},a11_0x2cd5(_0x47001e,_0x4c5b80);}const a11_0x26c47e={};a11_0x26c47e[a11_0x56db94(0x192)]='bstack',a11_0x26c47e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],Before(a11_0x26c47e,function(_0x54cdfc,_0x59183d){const _0x16bda0=a11_0x56db94,_0x3d5d74={'uiHhh':function(_0x1d4c3e,_0xb4a031){return _0x1d4c3e>_0xb4a031;},'DFnUQ':function(_0x257745,_0x4d5cde){return _0x257745(_0x4d5cde);},'lwVnp':function(_0x3205cd,_0x53fa09,_0x4b11c0,_0x19690a){return _0x3205cd(_0x53fa09,_0x4b11c0,_0x19690a);},'wzTSh':_0x16bda0(0x1e7),'dNbeE':function(_0x58ef9d){return _0x58ef9d();},'tXXTB':_0x16bda0(0x1b0)};commandRepository[_0x16bda0(0x177)](_0x54cdfc['pickle'][_0x16bda0(0x192)]),logger['debug'](_0x3d5d74[_0x16bda0(0x1dd)]),new Promise(async _0x53003a=>{const _0x586000=_0x16bda0;try{global['__drivers']&&_0x3d5d74[_0x586000(0x12b)](global[_0x586000(0x151)]['length'],0x1)&&(await global[_0x586000(0x18c)](),global[_0x586000(0x151)][_0x586000(0x1c3)]()),global[_0x586000(0x151)]&&global[_0x586000(0x151)][0x0]&&global['__drivers'][0x0][_0x586000(0x1e2)]&&_0x3d5d74[_0x586000(0x12b)](global['__drivers'][0x0][_0x586000(0x1e2)],0x0)&&await global[_0x586000(0x18c)]();}catch(_0x1c845d){logger['debug'](_0x586000(0x1f9)+_0x1c845d);}workerDetails[_0x586000(0x1e6)][_0x586000(0x139)]=_0x54cdfc;if(playwrightPatcher)try{await playwrightPatcher[_0x586000(0x1d0)](_0x54cdfc);}catch(_0x316e4a){logger[_0x586000(0x191)](_0x586000(0x135)+util[_0x586000(0x1ed)](_0x316e4a));}try{if(!_0x3d5d74['DFnUQ'](isUndefined,_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)])){const _0xb04fd8=_0x3d5d74['lwVnp'](shouldScanTestForAccessibility,null,![],_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)][_0x586000(0x1db)](({name:_0x2a7a1d})=>_0x2a7a1d));globals['setGlobal'](_0x3d5d74[_0x586000(0x17a)],_0xb04fd8);}}catch(_0x119e8e){logger[_0x586000(0x191)](_0x586000(0x1f4)+util[_0x586000(0x1ed)](_0x119e8e));}_0x3d5d74[_0x586000(0x1ac)](_0x53003a);})['finally'](_0x59183d);});const a11_0x176e92={};a11_0x176e92[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x176e92['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a11_0x176e92,function(_0x2a2b41,_0x42d56e){const _0x45a1c5=a11_0x56db94,_0x4f991a={'zYcYn':function(_0x1f57ee,_0x3f73e5){return _0x1f57ee>_0x3f73e5;},'yRQFP':function(_0x3d6ccf,_0x514b1c){return _0x3d6ccf===_0x514b1c;},'UxzcN':_0x45a1c5(0x128),'iRgOa':function(_0x1dbba5,_0x305776,_0x36866a,_0xdf6a5a){return _0x1dbba5(_0x305776,_0x36866a,_0xdf6a5a);},'WRxXc':_0x45a1c5(0x137),'OSiPB':function(_0x3d7cc3,_0x1d94a8,_0x1e7a1c){return _0x3d7cc3(_0x1d94a8,_0x1e7a1c);},'xRFRd':_0x45a1c5(0x16b),'MzCZj':'Completed\x20Playwright\x20afterTestHook\x20execution','eiVXE':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','FnPVs':function(_0x2e96d4){return _0x2e96d4();},'SrOJp':function(_0x2eeecd,_0x341516,_0xa1d821,_0x34e349){return _0x2eeecd(_0x341516,_0xa1d821,_0x34e349);},'YmEHg':_0x45a1c5(0x1a2),'KDIKu':_0x45a1c5(0x19e),'WmIpj':_0x45a1c5(0x1e7),'rRtRQ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PBORX':'Performing\x20scan\x20before\x20saving\x20results','Cqxwa':_0x45a1c5(0x14e),'QoZfg':function(_0x4096cb){return _0x4096cb();},'AoMBN':_0x45a1c5(0x1d2)};logger['debug'](_0x4f991a['AoMBN']),workerDetails[_0x45a1c5(0x1e6)]['testInfo']=_0x2a2b41,new Promise(async _0xe2b4ad=>{const _0x13188a=_0x45a1c5;let _0x513b03=![],_0x443a5d=![],_0x38f1aa=![];try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)][_0x13188a(0x167)],0x0)&&(_0x443a5d=!![]),playwrightPatcher&&global[_0x13188a(0x1f1)]&&global[_0x13188a(0x1f1)]['pwPage']&&(_0x38f1aa=!![],logger[_0x13188a(0x191)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x13188a(0x1f1)]['pwPage']));}catch(_0x5d875b){logger[_0x13188a(0x191)]('Error\x20determining\x20test\x20flow:\x20'+_0x5d875b);}logger[_0x13188a(0x191)]('Flow\x20detection:\x20isSeleniumFlow='+_0x443a5d+_0x13188a(0x1b4)+_0x38f1aa);const _0x295a5e=_0x2a2b41[_0x13188a(0x19a)]['status'][_0x13188a(0x1bd)]()[_0x13188a(0x1f8)](),_0x29ff39=_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,_0x4f991a[_0x13188a(0x183)])||_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,'6'),_0xc0d2b1=_0x29ff39?_0x2a2b41[_0x13188a(0x19a)][_0x13188a(0x17d)]:null;if(_0x29ff39)try{global[_0x13188a(0x1c8)][_0x13188a(0x174)](_0x2a2b41[_0x13188a(0x19a)]['message']),global[_0x13188a(0x187)]=!![];}catch(_0x357975){logger[_0x13188a(0x191)](_0x13188a(0x171)+_0x357975);}if(_0x443a5d)try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)]['length'],0x1)&&(await global[_0x13188a(0x18c)](),global[_0x13188a(0x151)]['shift'](),global[_0x13188a(0x1c8)]=[],global['__sessionFailed']=![]),global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(await global[_0x13188a(0x151)][0x0][_0x13188a(0x1ec)],_0x513b03=!![],!global[_0x13188a(0x156)]&&await global[_0x13188a(0x151)][0x0][_0x13188a(0x16d)](_0x13188a(0x17f)+_0x2a2b41[_0x13188a(0x1b6)][_0x13188a(0x192)]+_0x13188a(0x1a3)),_0x29ff39?await _0x4f991a[_0x13188a(0x14a)](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x183)],global['__error_messages__']['join'](_0x4f991a[_0x13188a(0x162)])):await _0x4f991a['OSiPB'](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x17e)]));}catch(_0x90760d){logger[_0x13188a(0x191)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x13188a(0x1ed)](_0x90760d));}if(_0x38f1aa)try{const _0x30ccef=_0x29ff39?_0x4f991a[_0x13188a(0x183)]:_0x4f991a['xRFRd'];await playwrightPatcher['afterTestHook'](_0x2a2b41,_0x30ccef,_0xc0d2b1),logger['debug'](_0x4f991a[_0x13188a(0x144)]);}catch(_0x428139){logger[_0x13188a(0x191)](_0x13188a(0x12a)+util[_0x13188a(0x1ed)](_0x428139));try{playwrightPatcher[_0x13188a(0x136)]&&(await playwrightPatcher[_0x13188a(0x136)](),logger['debug'](_0x4f991a['eiVXE']));}catch(_0x39900f){logger[_0x13188a(0x191)](_0x13188a(0x1a8)+util['format'](_0x39900f));}}try{if(_0x4f991a['FnPVs'](shouldProcessEventForTesthub)){const _0x1d4053=TestDetails['getTestUUID'](_0x2a2b41[_0x13188a(0x1d7)]);let _0x487d94=null;global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(_0x487d94=await _0x4f991a[_0x13188a(0x1e4)](sendPlatformDetails,global['__drivers'][0x0],_0x1d4053,!![]));const _0x56d979={};_0x56d979[_0x13188a(0x173)]=_0x1d4053,_0x56d979[_0x13188a(0x1e0)]=_0x487d94;const _0x4e01ce=_0x56d979,_0x58ead9={};_0x58ead9[_0x13188a(0x152)]=_0x4f991a[_0x13188a(0x142)],_0x58ead9[_0x13188a(0x165)]=_0x4e01ce,await SessionHandler[_0x13188a(0x19c)](_0x58ead9);}}catch(_0x149097){logger[_0x13188a(0x191)](_0x13188a(0x16f)+util['format'](_0x149097));}try{if(globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x149)])&&globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x1ab)])){logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x175)]);const _0x8b2851=TestDetails[_0x13188a(0x166)](_0x2a2b41[_0x13188a(0x1d7)]),_0x1a55be={};_0x1a55be['thTestRunUuid']=_0x8b2851,_0x1a55be[_0x13188a(0x186)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1da)]],_0x1a55be[_0x13188a(0x134)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1d4)]];const _0x5029a8=_0x1a55be;logger[_0x13188a(0x191)](_0x13188a(0x1d6)+JSON[_0x13188a(0x146)](_0x5029a8)),logger[_0x13188a(0x191)](_0x4f991a['PBORX']),global['__drivers']&&global[_0x13188a(0x151)][0x0]&&(logger[_0x13188a(0x191)](util[_0x13188a(0x1ed)](await global[_0x13188a(0x151)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x13188a(0x151)][0x0][_0x13188a(0x15a)](scripts[_0x13188a(0x15c)],_0x5029a8)),logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x185)]);}}catch(_0x1dcd21){logger[_0x13188a(0x147)](_0x13188a(0x157)+util[_0x13188a(0x1ed)]);}if(_0x513b03)try{global['__drivers'][0x0]&&_0x4f991a[_0x13188a(0x16e)](global['__drivers'][0x0][_0x13188a(0x1e2)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x39abdd){logger[_0x13188a(0x191)](_0x13188a(0x13f)+_0x39abdd);}_0x4f991a[_0x13188a(0x169)](_0xe2b4ad);})[_0x45a1c5(0x14c)](()=>_0x42d56e());});const a11_0x3c1a2e={};a11_0x3c1a2e[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x3c1a2e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterStep(a11_0x3c1a2e,function(_0x1df907,_0x1d6773){const _0x5574b1=a11_0x56db94,_0x1ef5fd={'sNbal':function(_0x4b387b,_0x55d184){return _0x4b387b===_0x55d184;},'QMyDG':_0x5574b1(0x128),'kNbBO':function(_0x373f6a,_0x4cf504){return _0x373f6a!==_0x4cf504;},'lMsbT':function(_0x22a899,_0x2ce748,_0xc5dd5c){return _0x22a899(_0x2ce748,_0xc5dd5c);},'sKrNh':function(_0x132ca8,_0x413765){return _0x132ca8+_0x413765;},'XkUFw':function(_0x1d5261,_0x44779b){return _0x1d5261+_0x44779b;},'CDpPa':_0x5574b1(0x14d),'odLVv':_0x5574b1(0x170),'UjDLA':_0x5574b1(0x147),'CZIcK':function(_0x32a1db,_0x362dc1,_0x59e78f){return _0x32a1db(_0x362dc1,_0x59e78f);},'QLJsi':function(_0x406ae9,_0x5e1c1a){return _0x406ae9!==_0x5e1c1a;},'IUABj':function(_0x291831,_0x432a6b,_0x418672){return _0x291831(_0x432a6b,_0x418672);},'hfRtM':_0x5574b1(0x1c1),'AOKax':_0x5574b1(0x138),'ECpDM':function(_0x541c87,_0xcb8897,_0x3a238d){return _0x541c87(_0xcb8897,_0x3a238d);},'osNMp':_0x5574b1(0x1ad),'OWueD':function(_0x53c9e0){return _0x53c9e0();},'exjse':_0x5574b1(0x1bb)};logger[_0x5574b1(0x191)](_0x1ef5fd[_0x5574b1(0x1d9)]);const _0x5d3a67=async(_0x54381c,_0x1c14e7)=>{const _0x5dd93b=_0x5574b1;global[_0x5dd93b(0x151)]&&global[_0x5dd93b(0x151)][0x0]&&await global[_0x5dd93b(0x151)][0x0][_0x5dd93b(0x16d)](_0x5dd93b(0x196)+_0x54381c+_0x5dd93b(0x18b)+_0x1c14e7+_0x5dd93b(0x1a3));};new Promise(async _0x379066=>{const _0x599405=_0x5574b1;try{_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)]['status'][_0x599405(0x1bd)]()['toLowerCase'](),_0x1ef5fd['QMyDG'])||_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)][_0x599405(0x1b9)][_0x599405(0x1bd)]()[_0x599405(0x1f8)](),'6')?(global[_0x599405(0x187)]=!![],global[_0x599405(0x1c8)][_0x599405(0x174)](_0x1df907[_0x599405(0x19a)][_0x599405(0x17d)]),_0x1ef5fd[_0x599405(0x1c4)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x130)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['sKrNh'](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x12e)],'\x22'+_0x1df907[_0x599405(0x1e8)]['text']+'\x22\x20'),_0x1ef5fd[_0x599405(0x1cb)]),_0x1df907['result']['message'])),_0x1ef5fd[_0x599405(0x168)]):await _0x1ef5fd[_0x599405(0x1c5)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x12e)],_0x1df907[_0x599405(0x19a)]['message'])),_0x1ef5fd[_0x599405(0x168)])):_0x1ef5fd[_0x599405(0x1ae)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x198)](_0x5d3a67,JSON['stringify'](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x197)],'\x22'+_0x1df907[_0x599405(0x1e8)][_0x599405(0x155)]+'\x22')),_0x1ef5fd[_0x599405(0x150)]):await _0x1ef5fd[_0x599405(0x18e)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['osNMp']),_0x1ef5fd[_0x599405(0x150)]),global['__drivers']&&global[_0x599405(0x151)][0x0]&&global[_0x599405(0x151)][0x0][_0x599405(0x1ec)][_0x599405(0x1bc)](_0x2622d9=>{})['catch'](_0x20012f=>{const _0x3ab19e=_0x599405;logger[_0x3ab19e(0x191)](_0x3ab19e(0x1c6)+util['format'](_0x20012f));});}catch(_0x2a3bfa){logger['debug'](_0x599405(0x13a)+_0x2a3bfa);}_0x1ef5fd[_0x599405(0x1e9)](_0x379066);})[_0x5574b1(0x14c)](()=>_0x1d6773());});const a11_0x2bd6d8={};a11_0x2bd6d8['name']='bstack',a11_0x2bd6d8[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterAll(a11_0x2bd6d8,async function(_0x43e34b,_0x10d930){const _0x36db4e=a11_0x56db94,_0x12926b={'umXnu':_0x36db4e(0x15b),'uaBFP':function(_0x1bf896){return _0x1bf896();},'eAhyW':_0x36db4e(0x1ce),'uoucw':_0x36db4e(0x180)};logger[_0x36db4e(0x191)](_0x12926b['uoucw']),await new Promise(async _0x247bc9=>{const _0x20a0bf=_0x36db4e,_0x54b9e0=_0x12926b['umXnu'][_0x20a0bf(0x19f)]('|');let _0x181fb9=0x0;while(!![]){switch(_0x54b9e0[_0x181fb9++]){case'0':await RequestQueueHandler[_0x20a0bf(0x1ea)]()['shutdown']();continue;case'1':_0x12926b[_0x20a0bf(0x1b1)](_0x247bc9);continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x20a0bf(0x136)]&&(await playwrightPatcher[_0x20a0bf(0x136)](),playwrightPatcher[_0x20a0bf(0x140)]&&playwrightPatcher['closeTracker']['cleanup'](),logger[_0x20a0bf(0x191)](_0x12926b[_0x20a0bf(0x1d8)]));}catch(_0x5379a6){logger[_0x20a0bf(0x191)](_0x20a0bf(0x1ba)+util[_0x20a0bf(0x1ed)](_0x5379a6));}continue;case'3':await global[_0x20a0bf(0x18c)]();continue;case'4':PerformanceTester[_0x20a0bf(0x19b)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0xa5e78=a12_0x397e;(function(_0x4dae68,_0x3fe22d){const _0x3ea77d=a12_0x397e,_0xc02e35=_0x4dae68();while(!![]){try{const _0x4a51f7=parseInt(_0x3ea77d(0x79))/0x1*(-parseInt(_0x3ea77d(0x82))/0x2)+-parseInt(_0x3ea77d(0x89))/0x3*(-parseInt(_0x3ea77d(0xa7))/0x4)+-parseInt(_0x3ea77d(0xa4))/0x5+-parseInt(_0x3ea77d(0xac))/0x6*(parseInt(_0x3ea77d(0x97))/0x7)+parseInt(_0x3ea77d(0x9b))/0x8*(-parseInt(_0x3ea77d(0xa2))/0x9)+parseInt(_0x3ea77d(0x8b))/0xa+parseInt(_0x3ea77d(0x81))/0xb*(parseInt(_0x3ea77d(0x7d))/0xc);if(_0x4a51f7===_0x3fe22d)break;else _0xc02e35['push'](_0xc02e35['shift']());}catch(_0x409306){_0xc02e35['push'](_0xc02e35['shift']());}}}(a12_0xacbf,0x29119));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0xa5e78(0xa3)),setKeepAlive=require(a12_0xa5e78(0x80)),cucumberModule=requireModule(a12_0xa5e78(0x9e),a12_0xa5e78(0xa0)),logger=require(a12_0xa5e78(0x93))[a12_0xa5e78(0x95)];modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0xa5e78(0x90)],After=cucumberModule[a12_0xa5e78(0x96)],configuration=process['env'][a12_0xa5e78(0x9f)];function a12_0xacbf(){const _0x11ac69=['__platformCaps','45HbNcOp','../../helpers/helper','548645OGjGAi','__timeout','status','211832MMEQhq','__error_messages__','debug','XrTds','NpZiW','621270hpVUFo','platformCaps','skipSessionName','then','2857ArQYuN','\x20|\x20','guRPQ','gerVC','137568gLjlab','FChNC','cgTEv','../../helpers/setKeepAlive','704xntKZp','160CcZswl','../../index','Error:\x20setting\x20status\x20at\x20After:\x20','DKlKa','\x22}}','CzmBM','passed','12ZxFYGT','__driver','650730uuJOUx','__skipSessionStatus','join','executeScript','VwBpB','Before','Inside\x20browserstack\x20After','Error:\x20quiting\x20at\x20After:\x20','../../helpers/logger','Inside\x20browserstack\x20Before','winstonLogger','After','14IrBvWB','bstack','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','pickle','475208ukwouB','result','name','cucumber/lib/index.js','CONFIG','cucumber'];a12_0xacbf=function(){return _0x11ac69;};return a12_0xacbf();}if(configuration!==undefined){const config=JSON['parse'](configuration);isTrue(config[a12_0xa5e78(0xae)])&&(global['__skipSessionName']=!![]),global[a12_0xa5e78(0x8c)]=isTrue(config['skipSessionStatus']),require(a12_0xa5e78(0x83))['browserstackAgentV2'](config),global[a12_0xa5e78(0xa1)]=config[a12_0xa5e78(0xad)]||{};}global[a12_0xa5e78(0xa5)]=0x0;function a12_0x397e(_0xf93922,_0xbee5c8){const _0xacbf41=a12_0xacbf();return a12_0x397e=function(_0x397e0e,_0x369b9d){_0x397e0e=_0x397e0e-0x78;let _0x5ab7d6=_0xacbf41[_0x397e0e];return _0x5ab7d6;},a12_0x397e(_0xf93922,_0xbee5c8);}const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x26c526=>{const _0x5b562a=a12_0xa5e78,_0x3be4cd={'cgTEv':function(_0x4b08b0,_0x21989c){return _0x4b08b0(_0x21989c);}};global['__timeout']=_0x26c526,_0x3be4cd[_0x5b562a(0x7f)](__setDefaultTimeout,_0x26c526);};const a12_0x315f4d={};a12_0x315f4d['name']=a12_0xa5e78(0x98),Before(a12_0x315f4d,function(){const _0xfb8fa7=a12_0xa5e78,_0x3fcd67={};_0x3fcd67[_0xfb8fa7(0xaa)]=_0xfb8fa7(0x94);const _0x3b9909=_0x3fcd67;logger[_0xfb8fa7(0xa9)](_0x3b9909['XrTds']),global[_0xfb8fa7(0xa8)]=[];});const a12_0x54c391={};a12_0x54c391[a12_0xa5e78(0x9d)]=a12_0xa5e78(0x98),a12_0x54c391['timeout']=0x2710,After(a12_0x54c391,function(_0x576811,_0x566845){const _0x34d759=a12_0xa5e78,_0x41bec={'NpZiW':function(_0x2deb4b,_0x2a3cf5){return _0x2deb4b===_0x2a3cf5;},'CzmBM':'failed','FChNC':function(_0x374ea6,_0xd06ef4,_0x107aa3,_0x742d41){return _0x374ea6(_0xd06ef4,_0x107aa3,_0x742d41);},'DKlKa':_0x34d759(0x7a),'uugCa':function(_0x5c5d90,_0x1a1515,_0x2133ab){return _0x5c5d90(_0x1a1515,_0x2133ab);},'gerVC':_0x34d759(0x88),'TnLEv':function(_0xde6a70){return _0xde6a70();},'VwBpB':function(_0x886d0d,_0x558040){return _0x886d0d(_0x558040);},'guRPQ':_0x34d759(0x91)};logger[_0x34d759(0xa9)](_0x41bec[_0x34d759(0x7b)]),new Promise(async(_0x464415,_0x227c62)=>{const _0x3761a3=_0x34d759;let _0x319f8e=![];try{await global[_0x3761a3(0x8a)]['session_'],_0x319f8e=!![],!global['__skipSessionName']&&await global[_0x3761a3(0x8a)][_0x3761a3(0x8e)](_0x3761a3(0x99)+_0x576811[_0x3761a3(0x9a)]['name']+_0x3761a3(0x86)),_0x41bec[_0x3761a3(0xab)](_0x576811[_0x3761a3(0x9c)][_0x3761a3(0xa6)]['toLowerCase'](),_0x41bec['CzmBM'])?await _0x41bec[_0x3761a3(0x7e)](markSessionStatus,global[_0x3761a3(0x8a)],_0x41bec[_0x3761a3(0x87)],global[_0x3761a3(0xa8)][_0x3761a3(0x8d)](_0x41bec[_0x3761a3(0x85)])):await _0x41bec['uugCa'](markSessionStatus,global[_0x3761a3(0x8a)],_0x41bec[_0x3761a3(0x7c)]);}catch(_0x4d10d7){logger[_0x3761a3(0xa9)](_0x3761a3(0x84)+_0x4d10d7);}if(_0x319f8e)try{await global['__driver']['initQuit'](),_0x41bec['TnLEv'](_0x464415);}catch(_0x569d97){logger[_0x3761a3(0xa9)](_0x3761a3(0x92)+_0x569d97),_0x41bec[_0x3761a3(0x8f)](_0x227c62,_0x569d97);}else _0x41bec['TnLEv'](_0x227c62);})[_0x34d759(0x78)](()=>_0x566845());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0x1f35df=a13_0x351a;(function(_0x6d2377,_0x16c0ec){const _0x38f99f=a13_0x351a,_0x37d6e3=_0x6d2377();while(!![]){try{const _0x20dbf8=-parseInt(_0x38f99f(0x154))/0x1+-parseInt(_0x38f99f(0x155))/0x2+-parseInt(_0x38f99f(0x152))/0x3+-parseInt(_0x38f99f(0x150))/0x4+parseInt(_0x38f99f(0x151))/0x5+-parseInt(_0x38f99f(0x15e))/0x6+parseInt(_0x38f99f(0x159))/0x7;if(_0x20dbf8===_0x16c0ec)break;else _0x37d6e3['push'](_0x37d6e3['shift']());}catch(_0x1b4d5d){_0x37d6e3['push'](_0x37d6e3['shift']());}}}(a13_0x45f7,0xe32aa));const {requireModule}=require(a13_0x1f35df(0x15c)),constants=require(a13_0x1f35df(0x157));;function a13_0x45f7(){const _0x10c143=['725418JXPGBt','cucumber/lib/index.js','../utils/constants','BSTACK_DELTA','16435034AzDnoQ','__timeout','@cucumber/cucumber','../../helpers/helper','@cucumber/cucumber/lib/index.js','1527354Aqbwug','setDefaultTimeout','347620oizwmY','4531190ZnlHlL','119193vbgrgb','cucumber','1579722IIeFvM'];a13_0x45f7=function(){return _0x10c143;};return a13_0x45f7();}function a13_0x351a(_0x158d99,_0x20e32e){const _0x45f7c9=a13_0x45f7();return a13_0x351a=function(_0x351a64,_0x1fb08c){_0x351a64=_0x351a64-0x14f;let _0x4ca7bc=_0x45f7c9[_0x351a64];return _0x4ca7bc;},a13_0x351a(_0x158d99,_0x20e32e);}let cucumberModule=null;try{cucumberModule=requireModule(a13_0x1f35df(0x15d),a13_0x1f35df(0x15b));}catch(a13_0x520905){cucumberModule=requireModule(a13_0x1f35df(0x156),a13_0x1f35df(0x153));}cucumberModule[a13_0x1f35df(0x14f)](constants[a13_0x1f35df(0x158)]+global[a13_0x1f35df(0x15a)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a14_0x3a3527=a14_0x2f4e;(function(_0x8e05f,_0x38ad51){const _0x4be423=a14_0x2f4e,_0xc89b7e=_0x8e05f();while(!![]){try{const _0xb07aae=parseInt(_0x4be423(0x176))/0x1*(-parseInt(_0x4be423(0x158))/0x2)+parseInt(_0x4be423(0x14f))/0x3*(parseInt(_0x4be423(0x163))/0x4)+parseInt(_0x4be423(0x156))/0x5+-parseInt(_0x4be423(0x173))/0x6*(parseInt(_0x4be423(0x144))/0x7)+parseInt(_0x4be423(0x164))/0x8+parseInt(_0x4be423(0x14b))/0x9+-parseInt(_0x4be423(0x16f))/0xa;if(_0xb07aae===_0x38ad51)break;else _0xc89b7e['push'](_0xc89b7e['shift']());}catch(_0x15e4ca){_0xc89b7e['push'](_0xc89b7e['shift']());}}}(a14_0x46ac,0xa51bc));const {default:BrowserStackSetup}=require(a14_0x3a3527(0x162)),logger=require(a14_0x3a3527(0x15c))[a14_0x3a3527(0x166)],{URL}=require(a14_0x3a3527(0x16c)),helper=require(a14_0x3a3527(0x154)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x3a3527(0x13d)),validHosts=function(_0x159f92){const _0x52b76d=a14_0x3a3527;return _0x159f92[_0x52b76d(0x143)](',')['every'](_0x1a26dd=>{const _0x1badbc=_0x52b76d;try{new URL(_0x1a26dd[_0x1badbc(0x159)]());}catch(_0x40572e){return![];}return!![];});},parseOnPremHosts=function(_0x2a54de){const _0x19fa25=a14_0x3a3527,_0x475d4f={};_0x475d4f['pBTLq']=function(_0x45c0db,_0x5c8089){return _0x45c0db===_0x5c8089;},_0x475d4f[_0x19fa25(0x15f)]='https:',_0x475d4f[_0x19fa25(0x130)]='443',_0x475d4f[_0x19fa25(0x169)]=_0x19fa25(0x132);const _0x5891f4=_0x475d4f;return _0x2a54de['split'](',')['map'](_0x49aba=>{const _0x49c793=_0x19fa25,_0x3f0604=new URL(_0x49aba[_0x49c793(0x159)]()),_0x24e929=_0x3f0604[_0x49c793(0x13c)],_0x25e20e=_0x3f0604[_0x49c793(0x13b)]||(_0x5891f4[_0x49c793(0x170)](_0x3f0604[_0x49c793(0x146)],_0x5891f4[_0x49c793(0x15f)])?_0x5891f4[_0x49c793(0x130)]:'80'),_0x353098=_0x3f0604['protocol'][_0x49c793(0x177)](':',''),_0x5712b8=_0x5891f4[_0x49c793(0x170)](_0x353098,_0x5891f4[_0x49c793(0x169)])?0x1:0x0;return _0x24e929+','+_0x25e20e+','+_0x5712b8;});},connectCommandBuilder=function(_0x10928d){const _0x26065b=a14_0x3a3527,_0x4619b0={};_0x4619b0[_0x26065b(0x16b)]='string';const _0x18e8fe=_0x4619b0,_0x258ec2={};_0x258ec2[_0x26065b(0x133)]=HELP_MESSAGES['options'][_0x26065b(0x16a)],_0x258ec2[_0x26065b(0x139)]=_0x18e8fe[_0x26065b(0x16b)];const _0x11ea97={};_0x11ea97[_0x26065b(0x133)]=HELP_MESSAGES[_0x26065b(0x160)]['hosts'],_0x11ea97[_0x26065b(0x139)]=_0x18e8fe[_0x26065b(0x16b)],_0x11ea97['demandOption']=!![];const _0x35d546={};return _0x35d546[_0x26065b(0x149)]=_0x258ec2,_0x35d546[_0x26065b(0x147)]=_0x11ea97,_0x10928d[_0x26065b(0x160)](_0x35d546);},connectCommandHandler=async function(_0x5adb3f){const _0x34f0ea=a14_0x3a3527,_0xbcca5e={'SZexm':_0x34f0ea(0x157),'bLrCd':function(_0x481120,_0x1de06e){return _0x481120===_0x1de06e;},'aoErX':_0x34f0ea(0x15d),'sHRxK':_0x34f0ea(0x16d),'ykBCx':function(_0x211680,_0x5e2d32){return _0x211680===_0x5e2d32;},'JzIDY':'Integration\x20hosts\x20missing.','mXUVa':function(_0x3583ea,_0x1f2a73){return _0x3583ea(_0x1f2a73);},'DIKhK':_0x34f0ea(0x145),'appbc':function(_0x11e1af,_0x5c5e25){return _0x11e1af(_0x5c5e25);},'vJCUO':'integrations-repeater','EWJMj':_0x34f0ea(0x135),'xjJjt':_0x34f0ea(0x13f)};try{const _0x3a91c9=new BrowserStackSetup(_0x5adb3f,_0xbcca5e[_0x34f0ea(0x155)]);_0x5adb3f[_0x34f0ea(0x138)]&&(_0x3a91c9['config'][_0x34f0ea(0x13e)]=_0x5adb3f[_0x34f0ea(0x138)]);if(_0xbcca5e[_0x34f0ea(0x167)](typeof _0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x13e)],_0xbcca5e[_0x34f0ea(0x131)])){logger['error'](_0xbcca5e[_0x34f0ea(0x16e)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x16a)][_0x34f0ea(0x136)]);}const _0x3cf567=_0x5adb3f['hosts'];if(_0xbcca5e[_0x34f0ea(0x134)](typeof _0x3cf567,_0xbcca5e[_0x34f0ea(0x131)])){logger[_0x34f0ea(0x14a)](_0xbcca5e[_0x34f0ea(0x179)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x147)][_0x34f0ea(0x136)]);}if(!_0xbcca5e[_0x34f0ea(0x14e)](validHosts,_0x3cf567)){logger[_0x34f0ea(0x14a)](_0xbcca5e[_0x34f0ea(0x153)]);throw new Error(ERROR_MESSAGES[_0x34f0ea(0x147)][_0x34f0ea(0x15a)]);}const _0x20c78e=_0xbcca5e[_0x34f0ea(0x15b)](parseOnPremHosts,_0x3cf567);_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x168)]=!![],_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x165)][_0x34f0ea(0x174)]=_0xbcca5e[_0x34f0ea(0x148)],_0x3a91c9[_0x34f0ea(0x150)][_0x34f0ea(0x165)][_0x34f0ea(0x13a)]=_0x20c78e[_0x34f0ea(0x137)](','),helper[_0x34f0ea(0x161)](_0x3a91c9['config']),await _0x3a91c9['setupBrowserstackLocal'](),logger[_0x34f0ea(0x140)](_0xbcca5e[_0x34f0ea(0x142)]);}catch(_0x589112){logger['error'](_0xbcca5e['xjJjt']);throw new Error(_0x589112[_0x34f0ea(0x14c)]());}};function a14_0x2f4e(_0x333e42,_0x456402){const _0x46ac45=a14_0x46ac();return a14_0x2f4e=function(_0x2f4e00,_0x463b8b){_0x2f4e00=_0x2f4e00-0x130;let _0x472734=_0x46ac45[_0x2f4e00];return _0x472734;},a14_0x2f4e(_0x333e42,_0x456402);}function run(_0x185236){const _0x5548a=a14_0x3a3527,_0x55cf92={};_0x55cf92[_0x5548a(0x141)]=_0x5548a(0x152),_0x55cf92[_0x5548a(0x14d)]=_0x5548a(0x171);const _0x305ac8=_0x55cf92;_0x185236[_0x5548a(0x172)](HELP_MESSAGES[_0x5548a(0x175)][_0x5548a(0x15e)])[_0x5548a(0x175)](_0x305ac8[_0x5548a(0x141)],HELP_MESSAGES[_0x5548a(0x175)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x5548a(0x178)]()[_0x5548a(0x171)](_0x305ac8['aWDYb'])[_0x5548a(0x151)](HELP_MESSAGES['command']['footer']);}module['exports']=run;function a14_0x46ac(){const _0x541397=['12rbqlTR','trim','invalid','appbc','../../helpers/logger','undefined','root','ttXac','options','setProxySettings','../../helpers/BrowserStackSetup','4fRrDAa','3046248HmmrTy','browserStackLocalOptions','winstonLogger','bLrCd','browserstackLocal','zzlLX','bstackAccessKey','wByKC','url','BrowserStack\x20access\x20key\x20missing.','sHRxK','3568040GVVpJK','pBTLq','help','usage','6701172lZyTph','localIdentifier','command','225303OHzbQU','replace','demandCommand','JzIDY','JqvMH','aoErX','https','describe','ykBCx','Connection\x20established\x20successfully.','missing','join','bstackAccesskey','type','only','port','hostname','./constants','accessKey','Failed\x20to\x20establish\x20connection.','info','zvXLx','EWJMj','split','7CkBZAf','Hosts\x20not\x20valid','protocol','hosts','vJCUO','bstack-accesskey','error','10750635YOvBmR','toString','aWDYb','mXUVa','2828649XoNkhn','config','epilogue','connect','DIKhK','../../helpers/helper','SZexm','4917945FsHUny','integrations'];a14_0x46ac=function(){return _0x541397;};return a14_0x46ac();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a15_0x2b95f0=a15_0x4eb6;(function(_0x277266,_0x206115){var _0x46aba1=a15_0x4eb6,_0x1a60be=_0x277266();while(!![]){try{var _0x55c4c9=parseInt(_0x46aba1(0x10f))/0x1+-parseInt(_0x46aba1(0x105))/0x2*(parseInt(_0x46aba1(0x10a))/0x3)+-parseInt(_0x46aba1(0x115))/0x4+parseInt(_0x46aba1(0x111))/0x5+-parseInt(_0x46aba1(0x10b))/0x6*(-parseInt(_0x46aba1(0x107))/0x7)+parseInt(_0x46aba1(0xfb))/0x8*(-parseInt(_0x46aba1(0x114))/0x9)+-parseInt(_0x46aba1(0xfe))/0xa;if(_0x55c4c9===_0x206115)break;else _0x1a60be['push'](_0x1a60be['shift']());}catch(_0x142fbf){_0x1a60be['push'](_0x1a60be['shift']());}}}(a15_0x396b,0x24c82));var a15_0x540b54={};function a15_0x396b(){var _0x2c5e4d=['ERROR_MESSAGES','106799wDdcKa','options','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.','3951iMDsTX','30RzvTuS','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.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','missing','254481QFBFlV','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','643245bXfZEE','hosts','root','108pcevaR','188508pEINwZ','62304cxjhyv','footer','invalid','193530brPTga','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','bstackAccessKey','command','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','226ATAYWW'];a15_0x396b=function(){return _0x2c5e4d;};return a15_0x396b();}a15_0x540b54[a15_0x2b95f0(0x101)]=a15_0x2b95f0(0x103),a15_0x540b54[a15_0x2b95f0(0x112)]=a15_0x2b95f0(0x109);var a15_0x48dfb4={};a15_0x48dfb4[a15_0x2b95f0(0x113)]=a15_0x2b95f0(0x104),a15_0x48dfb4['connect']=a15_0x2b95f0(0x100),a15_0x48dfb4[a15_0x2b95f0(0xfc)]=a15_0x2b95f0(0x110);var a15_0x545f3c={};a15_0x545f3c[a15_0x2b95f0(0x108)]=a15_0x540b54,a15_0x545f3c[a15_0x2b95f0(0x102)]=a15_0x48dfb4,exports['HELP_MESSAGES']=a15_0x545f3c;var a15_0x4f0bcf={};a15_0x4f0bcf[a15_0x2b95f0(0x10e)]=a15_0x2b95f0(0x10d);var a15_0x5134d4={};a15_0x5134d4[a15_0x2b95f0(0x10e)]=a15_0x2b95f0(0xff),a15_0x5134d4[a15_0x2b95f0(0xfd)]=a15_0x2b95f0(0x10c);var a15_0x1553e1={};function a15_0x4eb6(_0x50e0f6,_0x47e043){var _0x396bdd=a15_0x396b();return a15_0x4eb6=function(_0x4eb692,_0x13ab4c){_0x4eb692=_0x4eb692-0xfb;var _0x509edd=_0x396bdd[_0x4eb692];return _0x509edd;},a15_0x4eb6(_0x50e0f6,_0x47e043);}a15_0x1553e1[a15_0x2b95f0(0x101)]=a15_0x4f0bcf,a15_0x1553e1[a15_0x2b95f0(0x112)]=a15_0x5134d4,exports[a15_0x2b95f0(0x106)]=a15_0x1553e1;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a14_0x52de3b=a14_0x32ab;(function(_0x34d72a,_0xf8bb62){const _0x12b93d=a14_0x32ab,_0x25add1=_0x34d72a();while(!![]){try{const _0x28864b=-parseInt(_0x12b93d(0x1ac))/0x1*(parseInt(_0x12b93d(0x17d))/0x2)+-parseInt(_0x12b93d(0x18b))/0x3+-parseInt(_0x12b93d(0x1a6))/0x4*(parseInt(_0x12b93d(0x1f4))/0x5)+-parseInt(_0x12b93d(0x1e5))/0x6+parseInt(_0x12b93d(0x19d))/0x7*(-parseInt(_0x12b93d(0x1d8))/0x8)+-parseInt(_0x12b93d(0x1c2))/0x9*(parseInt(_0x12b93d(0x22e))/0xa)+-parseInt(_0x12b93d(0x20c))/0xb*(-parseInt(_0x12b93d(0x219))/0xc);if(_0x28864b===_0xf8bb62)break;else _0x25add1['push'](_0x25add1['shift']());}catch(_0x18cec5){_0x25add1['push'](_0x25add1['shift']());}}}(a14_0x10e4,0x90e00));const fs=require('fs'),path=require('path'),util=require(a14_0x52de3b(0x1ff)),{spawn}=require(a14_0x52de3b(0x1c5)),logger=require(a14_0x52de3b(0x1f9))[a14_0x52de3b(0x20a)],{default:BrowserStackSetup}=require(a14_0x52de3b(0x1ce)),helper=require(a14_0x52de3b(0x18f)),utilities=require(a14_0x52de3b(0x1f7)),constants=require(a14_0x52de3b(0x1ae)),accessibilityHelper=require(a14_0x52de3b(0x230)),{updateTestRerunConfig}=require(a14_0x52de3b(0x1c4)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x52de3b(0x19b)),TestDetails=require(a14_0x52de3b(0x1b9)),{getPercyOptions}=require(a14_0x52de3b(0x1e0)),TestHubHandler=require(a14_0x52de3b(0x19e)),testhubUtils=require(a14_0x52de3b(0x1ea)),{FRAMEWORKS}=require(a14_0x52de3b(0x206)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0x52de3b(0x1ee))['EVENTS'],TestOrchestrationHandler=require(a14_0x52de3b(0x1ed)),getUserJestConfigs=async(_0x4efe42,_0x591aa4)=>{const _0x3d6ab9=a14_0x52de3b,_0x2776fb={'xqsRG':_0x3d6ab9(0x1d0),'TGDKM':_0x3d6ab9(0x193),'IwIiI':function(_0x3160da,_0x5654da){return _0x3160da||_0x5654da;},'puTGt':function(_0x413682,_0x12c21b){return _0x413682(_0x12c21b);},'gjJBu':_0x3d6ab9(0x1fc),'LxbqM':_0x3d6ab9(0x1a0),'HrQOm':_0x3d6ab9(0x180),'FfWYz':_0x3d6ab9(0x181),'gsawG':_0x3d6ab9(0x1df)},_0x374ce=helper['requireModule'](_0x2776fb['xqsRG'],_0x2776fb[_0x3d6ab9(0x215)]),_0x124b17=_0x591aa4['findIndex'](_0x1aa709=>_0x1aa709===_0x3d6ab9(0x1a3));if(!helper[_0x3d6ab9(0x212)](_0x4efe42[_0x3d6ab9(0x178)])){logger[_0x3d6ab9(0x184)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x4efe42[_0x3d6ab9(0x178)]),process[_0x3d6ab9(0x21f)][_0x3d6ab9(0x20f)]=_0x4efe42[_0x3d6ab9(0x178)];const _0x2d3f5b=await(0x0,_0x374ce['default'])(path['resolve'](_0x4efe42[_0x3d6ab9(0x178)]));return _0x591aa4['splice'](_0x124b17,0x2),_0x2776fb['IwIiI'](_0x2d3f5b,{});}const _0x57c92d=_0x2776fb['puTGt'](require,path['join'](process[_0x3d6ab9(0x1d6)](),_0x2776fb['gjJBu']));if(_0x57c92d['jest'])return logger[_0x3d6ab9(0x184)](_0x2776fb[_0x3d6ab9(0x198)]),_0x57c92d['jest'];const _0x2885f5=['js',_0x2776fb[_0x3d6ab9(0x1fa)],_0x2776fb[_0x3d6ab9(0x223)],_0x2776fb[_0x3d6ab9(0x1d4)],'ts'];for(const _0x247f94 of _0x2885f5){const _0x29ff52=path[_0x3d6ab9(0x1b0)](process['cwd'](),_0x3d6ab9(0x226)+_0x247f94);if(fs[_0x3d6ab9(0x222)](_0x29ff52)){process[_0x3d6ab9(0x21f)][_0x3d6ab9(0x20f)]=_0x29ff52;const _0x363ecf=await(0x0,_0x374ce[_0x3d6ab9(0x1cc)])(_0x29ff52);return _0x363ecf;}}return{};},getSerial=(_0x125152,_0x196127)=>{const _0x4c61ce=a14_0x52de3b,_0x345558={};_0x345558[_0x4c61ce(0x190)]=_0x4c61ce(0x19a),_0x345558[_0x4c61ce(0x207)]=function(_0x46f563,_0xcb807){return _0x46f563>_0xcb807;},_0x345558[_0x4c61ce(0x1e1)]=function(_0x43a0e0,_0x14d9d4){return _0x43a0e0>_0x14d9d4;},_0x345558[_0x4c61ce(0x21c)]=_0x4c61ce(0x22a);const _0x2213b1=_0x345558;let _0x110bbd=_0x2213b1[_0x4c61ce(0x190)];return _0x2213b1[_0x4c61ce(0x207)](_0x125152[_0x4c61ce(0x210)],0x1)&&(!_0x196127[_0x4c61ce(0x18c)]&&(helper[_0x4c61ce(0x212)](_0x196127['maxWorkers'])||_0x2213b1[_0x4c61ce(0x1e1)](_0x196127['maxWorkers'],0x1)))&&(_0x110bbd=_0x2213b1[_0x4c61ce(0x21c)]),_0x110bbd;},getMaxWorkers=(_0x57e245,_0x164a17,_0x58dca9)=>{const _0x2fce55=a14_0x52de3b,_0x361eae={'jeIJI':function(_0x204baf,_0x459fd6){return _0x204baf(_0x459fd6);}};let _0x395681=0x1;if(!helper[_0x2fce55(0x212)](_0x164a17[_0x2fce55(0x1ad)]))_0x395681=_0x361eae[_0x2fce55(0x23b)](parseInt,_0x164a17[_0x2fce55(0x1ad)]);else{if(!helper[_0x2fce55(0x212)](_0x57e245[_0x2fce55(0x242)]))_0x395681=_0x57e245['maxWorkers'];else!helper[_0x2fce55(0x212)](_0x58dca9[_0x2fce55(0x242)])&&(_0x395681=_0x58dca9[_0x2fce55(0x242)]);}return _0x395681;};async function run(_0x24cf30,_0x2acc2e,_0xfebe41){const _0x4ba5f9=a14_0x52de3b,_0x302952={'zqwaD':_0x4ba5f9(0x239),'fCwxd':'jest','aRZJe':function(_0x3cafea,_0x3b3989){return _0x3cafea(_0x3b3989);},'VgGOo':function(_0x2e1641,_0x8d4f18){return _0x2e1641!=_0x8d4f18;},'PBZwG':'true','nWeiy':function(_0x4a0483,_0x2d0fb5,_0x5e0d61){return _0x4a0483(_0x2d0fb5,_0x5e0d61);},'EbrNq':_0x4ba5f9(0x229),'synhH':function(_0x3b52cd,_0x1a6670,_0x15fe2b){return _0x3b52cd(_0x1a6670,_0x15fe2b);},'Wkuvy':function(_0x3784cf,_0x4c3910,_0x13905b,_0x2c7ae1){return _0x3784cf(_0x4c3910,_0x13905b,_0x2c7ae1);},'ObufD':function(_0x5a74b3,_0x17de71){return _0x5a74b3*_0x17de71;},'bIQYI':function(_0x26f096,_0x439072){return _0x26f096===_0x439072;},'FcWeS':_0x4ba5f9(0x1bc),'hscmY':_0x4ba5f9(0x22b),'sovDf':_0x4ba5f9(0x1a5),'BFhnz':'jest_browserstack_results.json','OVWes':_0x4ba5f9(0x18a),'VlESB':_0x4ba5f9(0x22c),'qKhEI':_0x4ba5f9(0x213),'ONEID':_0x4ba5f9(0x1d2),'KjtiA':_0x4ba5f9(0x1f8),'wukgh':_0x4ba5f9(0x199),'JGiWk':'jest-circus','JOidK':'test-observability','FrVoA':_0x4ba5f9(0x20b),'xYddl':'customCircus.js','ZiYlC':_0x4ba5f9(0x20e),'rKNjQ':_0x4ba5f9(0x1f1),'JEeGn':_0x4ba5f9(0x1cc),'SpBeN':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','eGCZJ':function(_0x4b56c5,_0xe50d27){return _0x4b56c5>_0xe50d27;},'Kjkov':_0x4ba5f9(0x220),'bXQru':function(_0x3baec0,_0x1278f3,_0x438848,_0x1118e6){return _0x3baec0(_0x1278f3,_0x438848,_0x1118e6);},'KoHKn':'npx','qKSom':'--config','KNqqw':function(_0x3e7e88,_0x2b2e8c){return _0x3e7e88===_0x2b2e8c;},'PruXH':_0x4ba5f9(0x1a8),'qLLYu':'inherit','emwGk':_0x4ba5f9(0x1af)};helper[_0x4ba5f9(0x1b8)]()?(await _0xfebe41[_0x4ba5f9(0x183)](_0x24cf30),await helper['handleApp'](_0xfebe41[_0x4ba5f9(0x178)])):await _0xfebe41['setupTCGAuth']();if(!_0xfebe41[_0x4ba5f9(0x178)])return;_0x302952[_0x4ba5f9(0x1dc)](_0xfebe41[_0x4ba5f9(0x178)]['testObservability'],null)?process['env'][_0x4ba5f9(0x1ba)]=_0xfebe41['config'][_0x4ba5f9(0x1f2)]:process[_0x4ba5f9(0x21f)][_0x4ba5f9(0x1ba)]=_0x302952[_0x4ba5f9(0x1e4)];const _0x5caaad=new TestOrchestrationHandler(_0xfebe41[_0x4ba5f9(0x178)]),_0x2445d8=await _0x302952['nWeiy'](getUserJestConfigs,_0x24cf30,_0x2acc2e);logger[_0x4ba5f9(0x184)](_0x302952[_0x4ba5f9(0x1a2)]);const _0x40c761=Object[_0x4ba5f9(0x196)]({},_0x2445d8);_0x40c761[_0x4ba5f9(0x192)]=Object[_0x4ba5f9(0x196)]({},_0x40c761[_0x4ba5f9(0x192)],{'server':helper['getHubUrl'](_0xfebe41[_0x4ba5f9(0x178)]),'environment':_0x2445d8[_0x4ba5f9(0x18e)]}),_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x1aa)]=_0x302952[_0x4ba5f9(0x205)](getPercyOptions,_0xfebe41['config']);const _0x35704c=helper[_0x4ba5f9(0x17c)](_0xfebe41[_0x4ba5f9(0x178)]);!helper[_0x4ba5f9(0x212)](_0xfebe41[_0x4ba5f9(0x178)]['accessibilityOptions'])&&(process['env'][_0x4ba5f9(0x201)]=JSON[_0x4ba5f9(0x21a)](_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1f5)]));const _0x15a35f=await TestHubHandler['launchBuild'](FRAMEWORKS[_0x4ba5f9(0x1b3)],_0xfebe41),_0x49de2a=helper[_0x4ba5f9(0x1f6)](_0xfebe41['config'],_0x35704c,constants[_0x4ba5f9(0x177)]['JEST']);let _0x523a13=_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1b7)];_0x523a13=_0x523a13||accessibilityHelper[_0x4ba5f9(0x228)](_0xfebe41[_0x4ba5f9(0x178)]),process[_0x4ba5f9(0x21f)][_0x4ba5f9(0x195)]=_0x523a13,_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x186)]=_0x49de2a,_0x40c761['testEnvironmentOptions'][_0x4ba5f9(0x217)]=_0x302952[_0x4ba5f9(0x1fe)](getSerial,_0x49de2a,_0x24cf30),_0x40c761[_0x4ba5f9(0x192)]['parallels__']=_0x302952[_0x4ba5f9(0x1e6)](getMaxWorkers,_0x24cf30,_0xfebe41[_0x4ba5f9(0x178)],_0x2445d8),_0x40c761['testEnvironmentOptions'][_0x4ba5f9(0x1b4)]=_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1b4)],_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x241)]=_0x302952[_0x4ba5f9(0x1c6)](_0x24cf30[_0x4ba5f9(0x1d7)],0x1)||0x1388,_0x40c761['testEnvironmentOptions']['skipSessionName']=_0xfebe41[_0x4ba5f9(0x178)]['testContextOptions'][_0x4ba5f9(0x23d)],_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x1b2)]=_0xfebe41[_0x4ba5f9(0x178)]['testContextOptions'][_0x4ba5f9(0x1b2)],_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x221)]=_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x194)],_0x40c761['testEnvironmentOptions']['turboScaleUrl']=_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1d3)],_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x1de)]=_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1e3)];const _0xd56177=helper['parseTestOrchestrationOptions'](_0xfebe41['config']);if(!helper[_0x4ba5f9(0x1a9)](_0xd56177)){helper[_0x4ba5f9(0x1d1)](_0xd56177[_0x4ba5f9(0x1bb)])&&(_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x23c)]=_0xd56177['retryTestsOnFailure']['maxRetries']);if(helper[_0x4ba5f9(0x1d1)](_0xd56177['abortBuildOnFailure'])&&helper[_0x4ba5f9(0x1d1)](_0xd56177['abortBuildOnFailure']['workingDir'])){const _0x27fd45={};_0x27fd45['failureThresholdCount']=_0xd56177[_0x4ba5f9(0x179)][_0x4ba5f9(0x1ef)],_0x27fd45[_0x4ba5f9(0x21e)]=_0xd56177['abortBuildOnFailure'][_0x4ba5f9(0x21e)],_0x40c761[_0x4ba5f9(0x192)][_0x4ba5f9(0x214)]=_0x27fd45;}}let _0x2f2043='';_0x302952[_0x4ba5f9(0x1b1)](helper['getPackageType'](),constants[_0x4ba5f9(0x1bf)][_0x4ba5f9(0x182)])?_0x2f2043=_0x302952[_0x4ba5f9(0x185)]:_0x2f2043=_0x302952[_0x4ba5f9(0x1db)];const _0x1f747c=_0x2f2043,_0x37e90f=path[_0x4ba5f9(0x1b0)](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952[_0x4ba5f9(0x17b)]),_0x3307f3=path['join'](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952[_0x4ba5f9(0x189)]),_0x59739f=path[_0x4ba5f9(0x1b0)](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952['VlESB']);_0x40c761[_0x4ba5f9(0x18e)]&&(process['env'][_0x4ba5f9(0x22f)]=_0x40c761['testEnvironment']);_0x40c761[_0x4ba5f9(0x18e)]=path['join'](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952['qKhEI']),_0x40c761['runner']=_0x3307f3,_0x40c761['setupFilesAfterEnv']=_0x40c761['setupFilesAfterEnv']||[],_0x40c761[_0x4ba5f9(0x1e7)][_0x4ba5f9(0x233)](path[_0x4ba5f9(0x1b0)](__dirname,_0x302952[_0x4ba5f9(0x1ca)]));_0x5caaad[_0x4ba5f9(0x1a1)]()&&(_0x40c761[_0x4ba5f9(0x187)]=path[_0x4ba5f9(0x1b0)](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952[_0x4ba5f9(0x1c7)]));if(testhubUtils[_0x4ba5f9(0x1c0)]()){let _0x30dcb4=null;try{_0x30dcb4=helper[_0x4ba5f9(0x23f)](_0x302952[_0x4ba5f9(0x243)],_0x302952[_0x4ba5f9(0x176)]);}catch(_0x46e403){_0x302952[_0x4ba5f9(0x205)](debug,_0x4ba5f9(0x231)+_0x46e403);}_0x30dcb4&&(_0x40c761['setupFilesAfterEnv'][_0x4ba5f9(0x233)](path[_0x4ba5f9(0x1b0)](__dirname,_0x302952['JOidK'],_0x302952[_0x4ba5f9(0x1c3)])),_0x40c761[_0x4ba5f9(0x1eb)]=path[_0x4ba5f9(0x1b0)](__dirname,_0x302952[_0x4ba5f9(0x208)],_0x302952[_0x4ba5f9(0x1dd)]));}_0x40c761['setupFiles']=_0x40c761[_0x4ba5f9(0x1b6)]||[];try{helper[_0x4ba5f9(0x1c8)](),_0x40c761[_0x4ba5f9(0x1b6)]['push'](path['join'](__dirname,_0x302952[_0x4ba5f9(0x22d)]));}catch{logger[_0x4ba5f9(0x188)](_0x302952[_0x4ba5f9(0x19f)]);}_0x40c761['reporters']=_0x40c761[_0x4ba5f9(0x23e)]||[_0x302952[_0x4ba5f9(0x1c9)]],_0x302952[_0x4ba5f9(0x1d5)](updateTestRerunConfig,_0x40c761,_0xfebe41);const _0xb476e8=fs[_0x4ba5f9(0x218)](_0x59739f);fs[_0x4ba5f9(0x1d9)](_0x40c761[_0x4ba5f9(0x204)],'\x0a\x20\x20\x20\x20'+_0xb476e8+'\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20'+_0xfebe41[_0x4ba5f9(0x178)][_0x4ba5f9(0x1e3)][_0x4ba5f9(0x210)]+_0x4ba5f9(0x1c1)),logger[_0x4ba5f9(0x184)](_0x4ba5f9(0x1a4)+_0x1f747c+_0x4ba5f9(0x197)),fs[_0x4ba5f9(0x1d9)](_0x1f747c,_0x4ba5f9(0x1e9)+JSON[_0x4ba5f9(0x21a)](_0x40c761)+_0x4ba5f9(0x21b));if(_0x5caaad[_0x4ba5f9(0x1a1)]()){logger[_0x4ba5f9(0x188)](_0x302952[_0x4ba5f9(0x1fb)]);const _0x458af4=await _0x5caaad['findTestFiles'](_0x40c761,_0x2acc2e[_0x4ba5f9(0x235)](0x1),_0x1f747c);logger['debug'](_0x4ba5f9(0x1ec)+JSON[_0x4ba5f9(0x21a)](_0x458af4)+_0x4ba5f9(0x20d));const _0x3a47b2=await _0x5caaad[_0x4ba5f9(0x1a7)](_0x458af4);logger[_0x4ba5f9(0x188)]('Reodered\x20Test\x20Files:\x20'+JSON['stringify'](_0x3a47b2)),_0x3a47b2&&_0x302952['eGCZJ'](_0x3a47b2['length'],0x0)&&(process['env'][_0x4ba5f9(0x1fd)]=_0x3a47b2?.[_0x4ba5f9(0x1b0)](','));}logger[_0x4ba5f9(0x184)](_0x302952['Kjkov']);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x4ba5f9(0x211)]();helper[_0x4ba5f9(0x1ab)]({},_0x2acc2e),PerformanceTester[_0x4ba5f9(0x1cf)](PerformanceEvents[_0x4ba5f9(0x236)]);const _0x4db9ef=_0x302952[_0x4ba5f9(0x23a)](spawn,_0x302952[_0x4ba5f9(0x1be)],[_0x302952[_0x4ba5f9(0x18d)],_0x302952[_0x4ba5f9(0x237)],_0x1f747c,..._0x2acc2e[_0x4ba5f9(0x235)](0x1)],{'shell':_0x302952['KNqqw'](process[_0x4ba5f9(0x17a)],_0x302952[_0x4ba5f9(0x216)]),'stdio':_0x302952[_0x4ba5f9(0x1cb)],'env':Object[_0x4ba5f9(0x196)]({},process[_0x4ba5f9(0x21f)])});_0x4db9ef['on'](_0x302952[_0x4ba5f9(0x1b5)],async _0x40360b=>{const _0x262e24=_0x4ba5f9;PerformanceTester[_0x262e24(0x234)](PerformanceEvents[_0x262e24(0x1f3)]);try{const {browserstackFolderPath:_0x2dff8c,tcgConfigPath:_0x2445d3}=helper[_0x262e24(0x200)]();fs[_0x262e24(0x1e2)](_0x2445d3),fs[_0x262e24(0x209)](_0x2dff8c);}catch(_0x35971e){logger['debug'](_0x302952[_0x262e24(0x238)],_0x35971e);}process['exitCode']=_0x40360b,logger[_0x262e24(0x188)](_0x262e24(0x17e)+_0x40360b),logger['info'](_0x262e24(0x202)+_0x1f747c);if(helper[_0x262e24(0x1d1)](_0xd56177)&&helper[_0x262e24(0x1d1)](_0xd56177['abortBuildOnFailure'])&&fs['existsSync'](_0xd56177[_0x262e24(0x179)][_0x262e24(0x21e)]))try{const _0x1e528a={};_0x1e528a[_0x262e24(0x232)]=!![],_0x1e528a[_0x262e24(0x1bd)]=!![],fs[_0x262e24(0x240)](_0xd56177[_0x262e24(0x179)][_0x262e24(0x21e)],_0x1e528a),logger['debug'](_0x262e24(0x1cd)+_0xd56177[_0x262e24(0x179)]['workingDir']);}catch(_0x1c8594){logger[_0x262e24(0x19c)](_0x262e24(0x1da)+_0x1c8594);}let _0x50d4eb=null;if(fs['existsSync'](_0x37e90f)){_0x50d4eb=fs[_0x262e24(0x218)](_0x37e90f);try{_0x50d4eb=JSON[_0x262e24(0x203)](_0x50d4eb);}catch(_0x246871){logger[_0x262e24(0x188)](_0x262e24(0x244)+_0x37e90f+',\x20'+_0x50d4eb+'\x20:\x20'+_0x246871);}fs[_0x262e24(0x1e2)](_0x37e90f);}fs[_0x262e24(0x1e2)](_0x1f747c),fs[_0x262e24(0x1e2)](_0x3307f3),_0x50d4eb&&(_0xfebe41[_0x262e24(0x1e8)]=helper[_0x262e24(0x17f)](_0x50d4eb,_0x302952[_0x262e24(0x18d)],_0xfebe41));try{await TestHubHandler['stop']();}catch(_0x401d5d){console[_0x262e24(0x1f0)](_0x401d5d),_0x302952[_0x262e24(0x205)](debug,_0x262e24(0x191)+util[_0x262e24(0x224)](_0x401d5d));}testOpsHelper[_0x262e24(0x21d)](),TestDetails['shutdown'](),await utilities[_0x262e24(0x227)](_0xfebe41);});}module[a14_0x52de3b(0x225)]=run;function a14_0x32ab(_0xf8f763,_0x23e781){const _0x10e4ad=a14_0x10e4();return a14_0x32ab=function(_0x32ab52,_0x1489de){_0x32ab52=_0x32ab52-0x176;let _0x16feff=_0x10e4ad[_0x32ab52];return _0x16feff;},a14_0x32ab(_0xf8f763,_0x23e781);}function a14_0x10e4(){const _0x377367=['MODULE','initialize','info','FcWeS','capabilities','testSequencer','debug','OVWes','customTestRunner.js','298725YTlzbq','runInBand','fCwxd','testEnvironment','../../helpers/helper','qKgET','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','testEnvironmentOptions','jest-config','logLevel','BROWSERSTACK_TEST_ACCESSIBILITY_YML','assign','\x20with\x20browserstack\x20jest\x20configs','LxbqM','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','true','../../helpers/test-observability/utils','error','14wEQfiz','../../helpers/testhub/testhubHandler','rKNjQ','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isTestOrchestrationEnabled','EbrNq','--config','Creating\x20','customImplements','52szdsUC','reorderTestFiles','win32','isEmpty','browserStackPercyOptions','filterBrowserstackArgs','3qoocil','parallelsPerPlatform','../utils/constants','close','join','bIQYI','skipSessionStatus','JEST','proxySettings','emwGk','setupFiles','accessibility','isBrowserstackInfra','./test-observability/test-details','BROWSERSTACK_TEST_OBSERVABILITY_YML','retryTestsOnFailure','jest_browserstack.config.cjs','force','KoHKn','PACKAGE_TYPE','shouldProcessEventForTesthub',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','45xIgkYv','FrVoA','./test-observability/helper','child_process','ObufD','KjtiA','requireSeleniumWebdriver','JEeGn','ONEID','qLLYu','default','Deleted\x20fail-fast\x20state\x20folder:\x20','../../helpers/BrowserStackSetup','end','jest-config/build/readConfigFileAndSetRootDir.js','isNotUndefined','jest.setup.js','turboScaleUrl','gsawG','nWeiy','cwd','testTimeout','2784872knodbw','writeFileSync','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','hscmY','VgGOo','xYddl','platformCaps','json','../../helpers/percy/utils','pAufv','unlinkSync','platforms','PBZwG','3491568ETbrAI','Wkuvy','setupFilesAfterEnv','errorMessage','const\x20config=','../../helpers/testhub/utils','testRunner','Found:\x20','../../helpers/test-orchestration/testOrchestrationHandler','../../helpers/performance/constants','maxFailures','log','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','testObservability','SDK_CLEANUP','95035jqNqim','accessibilityOptions','prepareCapabilities','../../helpers/utilities','customSequencer.js','../../helpers/logger','HrQOm','SpBeN','package.json','JEST_TEST_ORDER','synhH','util','getTCGConfigFilePaths','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Deleting\x20','parse','runner','aRZJe','../../helpers/test-observability/constants','Riyxy','sovDf','rmdirSync','winstonLogger','data-hooks.js','9031WCJdQI','\x20test\x20files\x20to\x20run.','test_before.setup.js','USER_CONFIG_DETAILS_PATH','length','setup','isUndefined','customEnvironment.js','failFast','TGDKM','PruXH','serial__','readFileSync','45672zVgTxY','stringify','\x0amodule.exports\x20=\x20config;','LbJnH','printBuildLink','workingDir','env','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','browserStackLogLevel','existsSync','FfWYz','format','exports','jest.config.','finalExecution','checkAccessibilityPlatformConfig','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','false','jest_browserstack.config.js','customTestRunnerTemplate.js','ZiYlC','344470KdGGWP','BSTACK_JEST_TEST_ENV','../../helpers/accessibility-automation/helper','Unable\x20to\x20find\x20jest-circus,\x20','recursive','push','start','slice','SDK_SETUP','qKSom','zqwaD','error\x20removing\x20tcg\x20config\x20file','bXQru','jeIJI','retries__','skipSessionName','reporters','requireModule','rmSync','timeout__','maxWorkers','wukgh','Error\x20while\x20parsing\x20','JGiWk','FRAMEWORKS','config','abortBuildOnFailure','platform','BFhnz','useW3C','489514WthSiL','child\x20process\x20exited\x20with\x20code\x20','getErrorMessageFromResults','mjs','cjs'];a14_0x10e4=function(){return _0x377367;};return a14_0x10e4();}
|
|
2
|
+
'use strict';const a16_0x25834f=a16_0x1ef0;(function(_0x5064da,_0x1293ab){const _0x4b6624=a16_0x1ef0,_0x230cdf=_0x5064da();while(!![]){try{const _0x76af48=parseInt(_0x4b6624(0x15e))/0x1+parseInt(_0x4b6624(0x118))/0x2*(parseInt(_0x4b6624(0xeb))/0x3)+-parseInt(_0x4b6624(0x172))/0x4+parseInt(_0x4b6624(0x138))/0x5+-parseInt(_0x4b6624(0x12a))/0x6+-parseInt(_0x4b6624(0x12e))/0x7+parseInt(_0x4b6624(0x17e))/0x8*(parseInt(_0x4b6624(0x14f))/0x9);if(_0x76af48===_0x1293ab)break;else _0x230cdf['push'](_0x230cdf['shift']());}catch(_0x28cc95){_0x230cdf['push'](_0x230cdf['shift']());}}}(a16_0x7f03,0xe042a));function a16_0x7f03(){const _0x67a8b5=['maxFailures','\x20:\x20','AKXWD','SubBV','isTestOrchestrationEnabled','retryTestsOnFailure','jest.setup.js','Fsdqw','accessibility','env','Unable\x20to\x20find\x20jest-circus,\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20test\x20files\x20to\x20run.','7506324dONoHg','yafcX','useW3C','jest','10379558DMzSsz','resolve','QjNUu','USER_CONFIG_DETAILS_PATH','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','udVNo','./test-observability/helper','../../helpers/utilities','EVENTS','testObservability','2366785LFhdRb','isNotUndefined','customCircus.js','customImplements','Ycrrh','setupFiles','rmdirSync','requireModule','runner','abortBuildOnFailure','\x0a\x20\x20\x20\x20','readFileSync','test_before.setup.js','lgwpP','cOpIP','jest-config/build/readConfigFileAndSetRootDir.js','turboScaleUrl','slice','setup','fHUxG','BSTACK_JEST_TEST_ENV','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','23364qPKLfL','jest_browserstack.config.cjs','length','../../helpers/test-observability/utils','logLevel','QIbYn','isUndefined','serial__','assign','stringify','Dgetz','accessibilityOptions','findIndex','setupFilesAfterEnv','../../helpers/BrowserStackSetup','901237WHDJaQ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','stop','end','TCZok','tYfeX','errorMessage','util','data-hooks.js','pQssy','skipSessionStatus','../../helpers/performance/performance-tester','SDK_SETUP','maxWorkers','error\x20removing\x20tcg\x20config\x20file','vgzYN','config','jest_browserstack.config.js','Error\x20while\x20parsing\x20','browserStackPercyOptions','3782648bUOSPa','rmSync','json','WbWes','proxySettings','krrQb','testEnvironmentOptions','testEnvironment','cwd','IPsUr','shouldProcessEventForTesthub','sjjgg','8128GSViEq','Deleted\x20fail-fast\x20state\x20folder:\x20','reorderTestFiles','isEmpty','browserStackLogLevel','testContextOptions','failureThresholdCount','getHubUrl','../../helpers/percy/utils','qlhgx','skipSessionName','writeFileSync','error','isBrowserstackInfra','\x20with\x20browserstack\x20jest\x20configs','XQzxo','launchBuild','workingDir','MmQTI','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','biTVE','exports','\x0amodule.exports\x20=\x20config;','child\x20process\x20exited\x20with\x20code\x20','kCRrD','../../helpers/helper','debug','JEST','peNzF','force','true','VDrDQ','zAvFe','testSequencer','AktkD','const\x20config=','../../helpers/testhub/utils','dbXQG','JEST_TEST_ORDER','close','unlinkSync','Eezgt','getPackageType','30ciavIO','../../helpers/test-observability/constants','cOfdM','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getErrorMessageFromResults','testTimeout','child_process','parallelsPerPlatform','retries__','splice','failFast','prvhH','info','jest_browserstack_results.json','existsSync','ohnNW','default','capabilities','winstonLogger','parallels__','FRAMEWORKS','MODULE','customTestRunnerTemplate.js','reporters','log','../../helpers/test-orchestration/testOrchestrationHandler','MWnlD','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','prepareCapabilities','jest-circus','Getting\x20your\x20jest\x20configs\x20from\x20package.json','false','join',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','clXoa','testRunner','platforms','maxRetries','Found:\x20','aJlTJ','push','checkAccessibilityPlatformConfig','requireSeleniumWebdriver','runInBand','117190gHpKrT','--config','../../helpers/performance/constants','FJlsm','../../helpers/accessibility-automation/helper'];a16_0x7f03=function(){return _0x67a8b5;};return a16_0x7f03();}function a16_0x1ef0(_0x32aeec,_0x351348){const _0x7f0321=a16_0x7f03();return a16_0x1ef0=function(_0x1ef02f,_0x5ef960){_0x1ef02f=_0x1ef02f-0xc6;let _0xca12cc=_0x7f0321[_0x1ef02f];return _0xca12cc;},a16_0x1ef0(_0x32aeec,_0x351348);}const fs=require('fs'),path=require('path'),util=require(a16_0x25834f(0x165)),{spawn}=require(a16_0x25834f(0xf2)),logger=require('../../helpers/logger')[a16_0x25834f(0xfe)],{default:BrowserStackSetup}=require(a16_0x25834f(0x15d)),helper=require(a16_0x25834f(0xd9)),utilities=require(a16_0x25834f(0x135)),constants=require('../utils/constants'),accessibilityHelper=require(a16_0x25834f(0x11c)),{updateTestRerunConfig}=require(a16_0x25834f(0x134)),testOpsHelper=require(a16_0x25834f(0x152)),{debug}=require(a16_0x25834f(0x152)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x25834f(0xc8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a16_0x25834f(0xe4)),{FRAMEWORKS}=require(a16_0x25834f(0xec)),PerformanceTester=require(a16_0x25834f(0x169)),PerformanceEvents=require(a16_0x25834f(0x11a))[a16_0x25834f(0x136)],TestOrchestrationHandler=require(a16_0x25834f(0x105)),getUserJestConfigs=async(_0x4f18fb,_0x16b7f9)=>{const _0x6d20a1=a16_0x25834f,_0x1ec390={'npuqt':_0x6d20a1(0x147),'NyfGN':'jest-config','prvhH':function(_0x431d97,_0x66f3d0){return _0x431d97||_0x66f3d0;},'ijVRm':function(_0x4535e7,_0xe647e9){return _0x4535e7(_0xe647e9);},'Ycrrh':'package.json','PLLDK':_0x6d20a1(0x10a),'OxApQ':'mjs','QIbYn':'cjs','dbXQG':_0x6d20a1(0x174)},_0x568295=helper[_0x6d20a1(0x13f)](_0x1ec390['npuqt'],_0x1ec390['NyfGN']),_0x5b7da8=_0x16b7f9[_0x6d20a1(0x15b)](_0x518938=>_0x518938==='--config');if(!helper[_0x6d20a1(0x155)](_0x4f18fb[_0x6d20a1(0x16e)])){logger[_0x6d20a1(0xf8)](_0x6d20a1(0x14d)+_0x4f18fb[_0x6d20a1(0x16e)]),process['env'][_0x6d20a1(0x131)]=_0x4f18fb[_0x6d20a1(0x16e)];const _0x212193=await(0x0,_0x568295['default'])(path[_0x6d20a1(0x12f)](_0x4f18fb[_0x6d20a1(0x16e)]));return _0x16b7f9[_0x6d20a1(0xf5)](_0x5b7da8,0x2),_0x1ec390[_0x6d20a1(0xf7)](_0x212193,{});}const _0x333b02=_0x1ec390['ijVRm'](require,path['join'](process['cwd'](),_0x1ec390[_0x6d20a1(0x13c)]));if(_0x333b02[_0x6d20a1(0x12d)])return logger[_0x6d20a1(0xf8)](_0x1ec390['PLLDK']),_0x333b02[_0x6d20a1(0x12d)];const _0x132680=['js',_0x1ec390['OxApQ'],_0x1ec390[_0x6d20a1(0x154)],_0x1ec390[_0x6d20a1(0xe5)],'ts'];for(const _0x1b9f5c of _0x132680){const _0x14392e=path['join'](process[_0x6d20a1(0x17a)](),'jest.config.'+_0x1b9f5c);if(fs[_0x6d20a1(0xfa)](_0x14392e)){process['env'][_0x6d20a1(0x131)]=_0x14392e;const _0x4493fc=await(0x0,_0x568295[_0x6d20a1(0xfc)])(_0x14392e);return _0x4493fc;}}return{};},getSerial=(_0x27aea2,_0x37ca84)=>{const _0x1bb1bb=a16_0x25834f,_0xa3120a={};_0xa3120a[_0x1bb1bb(0xd2)]=_0x1bb1bb(0xde),_0xa3120a[_0x1bb1bb(0xe2)]=function(_0x126eac,_0xf9515c){return _0x126eac>_0xf9515c;},_0xa3120a['vgzYN']=_0x1bb1bb(0x10b);const _0x1296c7=_0xa3120a;let _0x184363=_0x1296c7['MmQTI'];return _0x1296c7[_0x1bb1bb(0xe2)](_0x27aea2[_0x1bb1bb(0x151)],0x1)&&(!_0x37ca84[_0x1bb1bb(0x117)]&&(helper['isUndefined'](_0x37ca84['maxWorkers'])||_0x1296c7[_0x1bb1bb(0xe2)](_0x37ca84[_0x1bb1bb(0x16b)],0x1)))&&(_0x184363=_0x1296c7[_0x1bb1bb(0x16d)]),_0x184363;},getMaxWorkers=(_0x28a24a,_0x18f71d,_0x3d5ec5)=>{const _0x53bd02=a16_0x25834f,_0x1b65b0={'gQtBm':function(_0x4544ad,_0x213399){return _0x4544ad(_0x213399);}};let _0x4baf78=0x1;if(!helper['isUndefined'](_0x18f71d[_0x53bd02(0xf3)]))_0x4baf78=_0x1b65b0['gQtBm'](parseInt,_0x18f71d[_0x53bd02(0xf3)]);else{if(!helper[_0x53bd02(0x155)](_0x28a24a[_0x53bd02(0x16b)]))_0x4baf78=_0x28a24a[_0x53bd02(0x16b)];else!helper[_0x53bd02(0x155)](_0x3d5ec5[_0x53bd02(0x16b)])&&(_0x4baf78=_0x3d5ec5[_0x53bd02(0x16b)]);}return _0x4baf78;};async function run(_0x19837a,_0x4721b0,_0x19af38){const _0x528504=a16_0x25834f,_0x54341b={'cOfdM':_0x528504(0x16c),'lgwpP':_0x528504(0x12d),'YbdlM':function(_0x425ef0,_0x42516e){return _0x425ef0(_0x42516e);},'cOpIP':function(_0x3ac7b1,_0xa86bef){return _0x3ac7b1!=_0xa86bef;},'biTVE':'true','TCZok':function(_0x4c53bb,_0x44b850,_0x1f439f){return _0x4c53bb(_0x44b850,_0x1f439f);},'yafcX':_0x528504(0xef),'dsWwn':function(_0xe28740,_0xc39908,_0x5cbf25,_0x464f4a){return _0xe28740(_0xc39908,_0x5cbf25,_0x464f4a);},'Fsdqw':function(_0x37a764,_0x1f86b9){return _0x37a764*_0x1f86b9;},'WbWes':function(_0x4bf703,_0x1f259b){return _0x4bf703===_0x1f259b;},'udVNo':_0x528504(0x150),'clXoa':_0x528504(0x16f),'zAvFe':_0x528504(0x13b),'XQzxo':_0x528504(0xf9),'PtUod':'customTestRunner.js','IPsUr':_0x528504(0x102),'tYfeX':'customEnvironment.js','FJlsm':_0x528504(0x123),'MHddy':'customSequencer.js','qlhgx':_0x528504(0x15f),'fHUxG':_0x528504(0x109),'kKadr':function(_0x1e521a,_0xb18025){return _0x1e521a(_0xb18025);},'ACZzl':'test-observability','Eezgt':_0x528504(0x166),'VDrDQ':_0x528504(0x13a),'krrQb':_0x528504(0x144),'gKZLP':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','sjjgg':_0x528504(0xfc),'SubBV':function(_0x12a3cc,_0x5b24c5,_0x3e2281){return _0x12a3cc(_0x5b24c5,_0x3e2281);},'Dgetz':_0x528504(0x132),'pQssy':function(_0x11d554,_0x390096){return _0x11d554>_0x390096;},'ohnNW':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','kCRrD':'npx','aJlTJ':_0x528504(0x119),'peNzF':function(_0x21600c,_0x13533b){return _0x21600c===_0x13533b;},'AKXWD':'win32','MWnlD':'inherit','QjNUu':_0x528504(0xe7)};helper[_0x528504(0xcd)]()?(await _0x19af38['initialize'](_0x19837a),await helper['handleApp'](_0x19af38[_0x528504(0x16e)])):await _0x19af38['setupTCGAuth']();if(!_0x19af38[_0x528504(0x16e)])return;_0x54341b[_0x528504(0x146)](_0x19af38['config'][_0x528504(0x137)],null)?process[_0x528504(0x126)][_0x528504(0x128)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x137)]:process[_0x528504(0x126)][_0x528504(0x128)]=_0x54341b[_0x528504(0xd4)];const _0x2faef0=new TestOrchestrationHandler(_0x19af38['config']),_0x2085ba=await _0x54341b[_0x528504(0x162)](getUserJestConfigs,_0x19837a,_0x4721b0);logger[_0x528504(0xf8)](_0x54341b[_0x528504(0x12b)]);const _0x2bbc3e=Object[_0x528504(0x157)]({},_0x2085ba);_0x2bbc3e[_0x528504(0x178)]=Object['assign']({},_0x2bbc3e[_0x528504(0x178)],{'server':helper[_0x528504(0xc7)](_0x19af38['config']),'environment':_0x2085ba['testEnvironment']}),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x171)]=_0x54341b['YbdlM'](getPercyOptions,_0x19af38[_0x528504(0x16e)]);const _0x193203=helper[_0x528504(0x12c)](_0x19af38[_0x528504(0x16e)]);!helper[_0x528504(0x155)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)])&&(process[_0x528504(0x126)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x528504(0x158)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)]));const _0x47bd6b=await TestHubHandler[_0x528504(0xd0)](FRAMEWORKS[_0x528504(0xdb)],_0x19af38),_0x23c896=helper[_0x528504(0x108)](_0x19af38[_0x528504(0x16e)],_0x193203,constants[_0x528504(0x100)][_0x528504(0xdb)]);let _0xfcf407=_0x19af38[_0x528504(0x16e)][_0x528504(0x125)];_0xfcf407=_0xfcf407||accessibilityHelper[_0x528504(0x115)](_0x19af38[_0x528504(0x16e)]),process[_0x528504(0x126)][_0x528504(0xee)]=_0xfcf407,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xfd)]=_0x23c896,_0x2bbc3e[_0x528504(0x178)][_0x528504(0x156)]=_0x54341b[_0x528504(0x162)](getSerial,_0x23c896,_0x19837a),_0x2bbc3e[_0x528504(0x178)][_0x528504(0xff)]=_0x54341b['dsWwn'](getMaxWorkers,_0x19837a,_0x19af38['config'],_0x2085ba),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x176)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x176)],_0x2bbc3e[_0x528504(0x178)]['timeout__']=_0x54341b[_0x528504(0x124)](_0x19837a[_0x528504(0xf1)],0x1)||0x1388,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xca)]=_0x19af38[_0x528504(0x16e)]['testContextOptions'][_0x528504(0xca)],_0x2bbc3e[_0x528504(0x178)]['skipSessionStatus']=_0x19af38[_0x528504(0x16e)][_0x528504(0x183)][_0x528504(0x168)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0x182)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x153)],_0x2bbc3e[_0x528504(0x178)]['turboScaleUrl']=_0x19af38[_0x528504(0x16e)][_0x528504(0x148)],_0x2bbc3e[_0x528504(0x178)]['platformCaps']=_0x19af38[_0x528504(0x16e)][_0x528504(0x110)];const _0x54789c=helper['parseTestOrchestrationOptions'](_0x19af38[_0x528504(0x16e)]);if(!helper[_0x528504(0x181)](_0x54789c)){helper[_0x528504(0x139)](_0x54789c[_0x528504(0x122)])&&(_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf4)]=_0x54789c[_0x528504(0x122)][_0x528504(0x111)]);if(helper[_0x528504(0x139)](_0x54789c['abortBuildOnFailure'])&&helper[_0x528504(0x139)](_0x54789c[_0x528504(0x141)][_0x528504(0xd1)])){const _0x4fee42={};_0x4fee42[_0x528504(0xc6)]=_0x54789c['abortBuildOnFailure'][_0x528504(0x11d)],_0x4fee42[_0x528504(0xd1)]=_0x54789c[_0x528504(0x141)][_0x528504(0xd1)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf6)]=_0x4fee42;}}let _0x24e1fc='';_0x54341b[_0x528504(0x175)](helper[_0x528504(0xea)](),constants['PACKAGE_TYPE'][_0x528504(0x101)])?_0x24e1fc=_0x54341b[_0x528504(0x133)]:_0x24e1fc=_0x54341b[_0x528504(0x10e)];const _0x528a1a=_0x24e1fc,_0xe273c2=path[_0x528504(0x10c)](__dirname,_0x54341b['zAvFe'],_0x54341b[_0x528504(0xcf)]),_0x1013c6=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['PtUod']),_0x7e0559=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x17b)]);_0x2bbc3e[_0x528504(0x179)]&&(process[_0x528504(0x126)][_0x528504(0x14c)]=_0x2bbc3e[_0x528504(0x179)]);_0x2bbc3e[_0x528504(0x179)]=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x163)]),_0x2bbc3e[_0x528504(0x140)]=_0x1013c6,_0x2bbc3e[_0x528504(0x15c)]=_0x2bbc3e['setupFilesAfterEnv']||[],_0x2bbc3e[_0x528504(0x15c)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x11b)]));_0x2faef0['isTestOrchestrationEnabled']()&&(_0x2bbc3e[_0x528504(0xe1)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['MHddy']));if(testhubUtils[_0x528504(0x17c)]()){let _0x26dddf=null;try{_0x26dddf=helper[_0x528504(0x13f)](_0x54341b[_0x528504(0xc9)],_0x54341b[_0x528504(0x14b)]);}catch(_0x458928){_0x54341b['kKadr'](debug,_0x528504(0x127)+_0x458928);}_0x26dddf&&(_0x2bbc3e[_0x528504(0x15c)]['push'](path[_0x528504(0x10c)](__dirname,_0x54341b['ACZzl'],_0x54341b[_0x528504(0xe9)])),_0x2bbc3e[_0x528504(0x10f)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0xdf)]));}_0x2bbc3e[_0x528504(0x13d)]=_0x2bbc3e[_0x528504(0x13d)]||[];try{helper[_0x528504(0x116)](),_0x2bbc3e[_0x528504(0x13d)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x177)]));}catch{logger[_0x528504(0xda)](_0x54341b['gKZLP']);}_0x2bbc3e[_0x528504(0x103)]=_0x2bbc3e[_0x528504(0x103)]||[_0x54341b[_0x528504(0x17d)]],_0x54341b[_0x528504(0x120)](updateTestRerunConfig,_0x2bbc3e,_0x19af38);const _0x2cd35e=fs[_0x528504(0x143)](_0x7e0559);fs[_0x528504(0xcb)](_0x2bbc3e[_0x528504(0x140)],_0x528504(0x142)+_0x2cd35e+_0x528504(0xd3)+_0x19af38[_0x528504(0x16e)][_0x528504(0x110)][_0x528504(0x151)]+_0x528504(0x10d)),logger[_0x528504(0xf8)]('Creating\x20'+_0x528a1a+_0x528504(0xce)),fs['writeFileSync'](_0x528a1a,_0x528504(0xe3)+JSON[_0x528504(0x158)](_0x2bbc3e)+_0x528504(0xd6));if(_0x2faef0[_0x528504(0x121)]()){logger[_0x528504(0xda)](_0x54341b[_0x528504(0x159)]);const _0x102e8e=await _0x2faef0['findTestFiles'](_0x2bbc3e,_0x4721b0[_0x528504(0x149)](0x1),_0x528a1a);logger[_0x528504(0xda)](_0x528504(0x112)+JSON['stringify'](_0x102e8e)+_0x528504(0x129));const _0xa5f862=await _0x2faef0[_0x528504(0x180)](_0x102e8e);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x528504(0x158)](_0xa5f862)),_0xa5f862&&_0x54341b[_0x528504(0x167)](_0xa5f862[_0x528504(0x151)],0x0)&&(process[_0x528504(0x126)][_0x528504(0xe6)]=_0xa5f862?.['join'](','));}logger[_0x528504(0xf8)](_0x54341b[_0x528504(0xfb)]);testhubUtils[_0x528504(0x17c)]()&&TestDetails[_0x528504(0x14a)]();helper['filterBrowserstackArgs']({},_0x4721b0),PerformanceTester[_0x528504(0x161)](PerformanceEvents[_0x528504(0x16a)]);const _0x34a60d=_0x54341b['dsWwn'](spawn,_0x54341b[_0x528504(0xd8)],[_0x54341b[_0x528504(0x145)],_0x54341b[_0x528504(0x113)],_0x528a1a,..._0x4721b0[_0x528504(0x149)](0x1)],{'shell':_0x54341b[_0x528504(0xdc)](process['platform'],_0x54341b[_0x528504(0x11f)]),'stdio':_0x54341b[_0x528504(0x106)],'env':Object[_0x528504(0x157)]({},process['env'])});_0x34a60d['on'](_0x54341b[_0x528504(0x130)],async _0x502a16=>{const _0x516db0=_0x528504;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x15b10b,tcgConfigPath:_0x56b126}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x56b126),fs[_0x516db0(0x13e)](_0x15b10b);}catch(_0x55b80c){logger[_0x516db0(0xda)](_0x54341b[_0x516db0(0xed)],_0x55b80c);}process[_0x516db0(0x14e)]=_0x502a16,logger['debug'](_0x516db0(0xd7)+_0x502a16),logger[_0x516db0(0xf8)]('Deleting\x20'+_0x528a1a);if(helper[_0x516db0(0x139)](_0x54789c)&&helper[_0x516db0(0x139)](_0x54789c[_0x516db0(0x141)])&&fs['existsSync'](_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]))try{const _0x436368={};_0x436368['recursive']=!![],_0x436368[_0x516db0(0xdd)]=!![],fs[_0x516db0(0x173)](_0x54789c['abortBuildOnFailure'][_0x516db0(0xd1)],_0x436368),logger['debug'](_0x516db0(0x17f)+_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]);}catch(_0x2a986f){logger[_0x516db0(0xcc)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2a986f);}let _0x15721f=null;if(fs[_0x516db0(0xfa)](_0xe273c2)){_0x15721f=fs['readFileSync'](_0xe273c2);try{_0x15721f=JSON['parse'](_0x15721f);}catch(_0x5d6713){logger['debug'](_0x516db0(0x170)+_0xe273c2+',\x20'+_0x15721f+_0x516db0(0x11e)+_0x5d6713);}fs[_0x516db0(0xe8)](_0xe273c2);}fs[_0x516db0(0xe8)](_0x528a1a),fs[_0x516db0(0xe8)](_0x1013c6),_0x15721f&&(_0x19af38[_0x516db0(0x164)]=helper[_0x516db0(0xf0)](_0x15721f,_0x54341b['lgwpP'],_0x19af38));try{await TestHubHandler[_0x516db0(0x160)]();}catch(_0x5bd32e){console[_0x516db0(0x104)](_0x5bd32e),_0x54341b['YbdlM'](debug,_0x516db0(0x107)+util['format'](_0x5bd32e));}testOpsHelper['printBuildLink'](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x19af38);});}module[a16_0x25834f(0xd5)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a17_0x2a13(){const _0x17ce5c=['3363032nZJlGE','jest-circus','RYBNp','function','3ByqmmB','jestAdapterInit','../../../helpers/helper','exports','join','826723VSCIKy','5051205juBjwz','default','2660862XcwicK','initRequireModule','33295023AjHSpp','requireInternalModule','1552FBOvLp','MRzwW','4949NKtCiz','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jIGVt','includes','4247058lQfhlO','path'];a17_0x2a13=function(){return _0x17ce5c;};return a17_0x2a13();}const a17_0x2e5756=a17_0x1b1b;(function(_0x4dc327,_0xbd589e){const _0x32057e=a17_0x1b1b,_0x2b47ea=_0x4dc327();while(!![]){try{const _0x5717b5=parseInt(_0x32057e(0x1b4))/0x1+-parseInt(_0x32057e(0x1b7))/0x2*(parseInt(_0x32057e(0x1af))/0x3)+-parseInt(_0x32057e(0x1ab))/0x4+-parseInt(_0x32057e(0x1b5))/0x5+-parseInt(_0x32057e(0x1a9))/0x6+parseInt(_0x32057e(0x1bd))/0x7*(parseInt(_0x32057e(0x1bb))/0x8)+parseInt(_0x32057e(0x1b9))/0x9;if(_0x5717b5===_0xbd589e)break;else _0x2b47ea['push'](_0x2b47ea['shift']());}catch(_0x509111){_0x2b47ea['push'](_0x2b47ea['shift']());}}}(a17_0x2a13,0xbcfa7));const path=require(a17_0x2e5756(0x1aa)),{requireModule}=require(a17_0x2e5756(0x1b1));let initJestAdapter=requireModule(a17_0x2e5756(0x1a6),a17_0x2e5756(0x1ac));function a17_0x1b1b(_0x13d524,_0x3f7130){const _0x2a13e3=a17_0x2a13();return a17_0x1b1b=function(_0x1b1be7,_0x80aabb){_0x1b1be7=_0x1b1be7-0x1a6;let _0x5367c4=_0x2a13e3[_0x1b1be7];return _0x5367c4;},a17_0x1b1b(_0x13d524,_0x3f7130);}initJestAdapter=typeof initJestAdapter===a17_0x2e5756(0x1ae)?initJestAdapter:initJestAdapter[a17_0x2e5756(0x1b6)];const FRAMEWORK_INITIALIZER=path[a17_0x2e5756(0x1b3)](__dirname,'customJestAdapterInit.js');module[a17_0x2e5756(0x1b2)]=(..._0x4edad7)=>{const _0x1ce7c5=a17_0x2e5756,_0x3f96f3={'jIGVt':_0x1ce7c5(0x1b0),'RYBNp':function(_0x5d7a03,_0x520dd0){return _0x5d7a03===_0x520dd0;},'MRzwW':function(_0x3b8602,..._0xce3813){return _0x3b8602(..._0xce3813);}};return _0x4edad7[0x3][_0x1ce7c5(0x1b8)]=_0x4edad7[0x3][_0x1ce7c5(0x1ba)],_0x4edad7[0x3]['requireInternalModule']=(..._0x28e4dd)=>{const _0x24127d=_0x1ce7c5;if(_0x28e4dd[0x0]&&_0x28e4dd[0x0][_0x24127d(0x1a8)](_0x3f96f3[_0x24127d(0x1a7)])&&_0x3f96f3[_0x24127d(0x1ad)](_0x28e4dd[0x1],undefined))return _0x4edad7[0x3][_0x24127d(0x1b8)](FRAMEWORK_INITIALIZER);return _0x4edad7[0x3][_0x24127d(0x1b8)](..._0x28e4dd);},_0x3f96f3[_0x1ce7c5(0x1bc)](initJestAdapter,..._0x4edad7);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16_0x5ec900=a16_0x1f53;function a16_0x5ed8(){const _0x70e3ea=['failFast','global','__platformCaps','getTestEnvironment','browserStackPercyOptions','cpLkm','../../../index','browserStackGlobals','skipSessionName','jest-resolve','ACgdV','115711qBdaXe','retries__','../../../helpers/test-observability/requestQueueHandler','NsRmL','Error\x20in\x20fail-fast\x20test_done\x20handler:','Guefu','6899310cVvSLh','isTrue','setup','skip','mode','oKnpb','testPath','\x20>\x20','percy','bstack:options','__driversArray','getInstance','node','split','__jestRetries','6099230fgpAgq','20728sjTEBD','1635240KBBxnZ','lHqUQ','../../../helpers/helper','percyCaptureMode','registerListeners','lEMET','onTestDone','default','mcLGU','../../utils/constants','IsenO','projectConfig','../../../helpers/test-observability/utils','__drivers','Builder','iaqrt','platformCaps','info','framework','3|5|9|6|1|0|7|8|4|2','message','eKTzc','join','shouldProcessEventForTesthub','modifyCommand','ZCLVl','test_start','__esModule','buildName','10305mQQGjQ','requireModule','cwd','tVMoG','winstonLogger','4nlvJxn','2877ASMoqb','teardown','quit','projectName','__webdriver','isNotUndefined','bkxJM','test','isBrowserstackInfra','__skipSessionStatus','sessionNameProvided','browserstackAgentV2','10090BdTzif','18YHwDmP','../../../helpers/testhub/utils','name','resolveTestEnvironment','SXaUN','51127494onGxgL','testEnvironmentOptions','env','nestedKeyValue','browserstackPercyBestPlatform','BSTACK_JEST_TEST_ENV','browserstackPlatformIndex','tRhVU','TbRXR','cleanup','PFxXV','capability','requireSeleniumWebdriver','RWTwL','failFastOptions','shutdown','xDRaq','zQWKs','__timeout','failFastActive','xRUIh','configuration','FRAMEWORKS'];a16_0x5ed8=function(){return _0x70e3ea;};return a16_0x5ed8();}(function(_0x179131,_0x87a7f0){const _0x42c535=a16_0x1f53,_0x4b12a9=_0x179131();while(!![]){try{const _0x11a4fe=parseInt(_0x42c535(0x22a))/0x1*(-parseInt(_0x42c535(0x203))/0x2)+-parseInt(_0x42c535(0x1d3))/0x3+parseInt(_0x42c535(0x1f5))/0x4*(parseInt(_0x42c535(0x23f))/0x5)+-parseInt(_0x42c535(0x230))/0x6+-parseInt(_0x42c535(0x1f6))/0x7*(parseInt(_0x42c535(0x1d2))/0x8)+-parseInt(_0x42c535(0x1f0))/0x9*(parseInt(_0x42c535(0x202))/0xa)+parseInt(_0x42c535(0x208))/0xb;if(_0x11a4fe===_0x87a7f0)break;else _0x4b12a9['push'](_0x4b12a9['shift']());}catch(_0x444735){_0x4b12a9['push'](_0x4b12a9['shift']());}}}(a16_0x5ed8,0xde77e));const helper=require(a16_0x5ec900(0x1d5)),constants=require(a16_0x5ec900(0x1dc)),{isTestObservabilitySession}=require(a16_0x5ec900(0x1df)),RequestQueueHandler=require(a16_0x5ec900(0x22c)),ObservabilityReporter=require('../test-observability/obsReporter'),testhubUtils=require(a16_0x5ec900(0x204)),logger=require('../../../helpers/logger')[a16_0x5ec900(0x1f4)],getTestEnvironment=((()=>{const _0x2e0975=a16_0x5ec900,_0x3cdfec={};_0x3cdfec[_0x2e0975(0x207)]=_0x2e0975(0x228),_0x3cdfec['iaqrt']='jest-config';const _0x5706cf=_0x3cdfec;try{const _0x59d042=helper[_0x2e0975(0x1f1)](_0x5706cf[_0x2e0975(0x207)]);if(_0x59d042[_0x2e0975(0x206)])return _0x59d042[_0x2e0975(0x206)];const _0x3553c7=helper[_0x2e0975(0x1f1)](_0x5706cf[_0x2e0975(0x1e2)]);if(_0x3553c7[_0x2e0975(0x222)])return _0x3553c7[_0x2e0975(0x222)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x3f9861=a16_0x5ec900,_0xc8313b={'xDRaq':function(_0x5883f9,_0x3191d0){return _0x5883f9(_0x3191d0);},'FmUnT':_0x3f9861(0x23c),'ACgdV':function(_0x103110,_0x5a8b07){return _0x103110(_0x5a8b07);},'TmzdA':'jest-environment-node','NsRmL':function(_0x26e4fc,_0x4b44f6){return _0x26e4fc(_0x4b44f6);}},_0x1a88ff=_0xc8313b[_0x3f9861(0x218)](getTestEnvironment,{'rootDir':process[_0x3f9861(0x1f2)](),'testEnvironment':process[_0x3f9861(0x20a)][_0x3f9861(0x20d)]||_0xc8313b['FmUnT']});if(!_0x1a88ff)return _0xc8313b[_0x3f9861(0x229)](_interopRequireDefault,helper['requireModule'](_0xc8313b['TmzdA']));return _0xc8313b[_0x3f9861(0x22d)](_interopRequireDefault,helper[_0x3f9861(0x1f1)](_0x1a88ff));})()),_seleniumWebdriver2=((()=>{const _0xc53a59=a16_0x5ec900,_0x3b533a={'xRUIh':function(_0x3e5e05,_0x4ad1be){return _0x3e5e05(_0x4ad1be);}};try{const _0x2766bc=helper[_0xc53a59(0x214)]();return helper[_0xc53a59(0x1eb)](),_0x3b533a[_0xc53a59(0x21c)](_interopRequireDefault,_0x2766bc);}catch{return null;}})());function a16_0x1f53(_0x46958e,_0x293731){const _0x5ed8b0=a16_0x5ed8();return a16_0x1f53=function(_0x1f5377,_0xc6d3e9){_0x1f5377=_0x1f5377-0x1d2;let _0x4b1ed6=_0x5ed8b0[_0x1f5377];return _0x4b1ed6;},a16_0x1f53(_0x46958e,_0x293731);}function _interopRequireDefault(_0x2abbdc){const _0x544426=a16_0x5ec900;return _0x2abbdc&&_0x2abbdc[_0x544426(0x1ee)]?_0x2abbdc:{'default':_0x2abbdc};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a16_0x5ec900(0x1da)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a16_0x5ec900(0x1da)]{constructor(_0x318ba6){const _0x4bcb5c=a16_0x5ec900,_0x489771={'IsenO':'quit','cpLkm':function(_0x2c33e8,_0xa60585){return _0x2c33e8+_0xa60585;},'lHqUQ':_0x4bcb5c(0x239),'tRhVU':function(_0x25a62d,_0x4b5826){return _0x25a62d(_0x4b5826);},'zQWKs':'../../../helpers/test-orchestration/failfastManager','bkxJM':_0x4bcb5c(0x1e6),'tVMoG':_0x4bcb5c(0x209),'lEMET':_0x4bcb5c(0x223),'TbRXR':_0x4bcb5c(0x1d6),'ESdxN':_0x4bcb5c(0x238),'eKTzc':_0x4bcb5c(0x225),'PFxXV':_0x4bcb5c(0x20c),'oKnpb':_0x4bcb5c(0x1e3)};super(_0x318ba6),this[_0x4bcb5c(0x220)][_0x4bcb5c(0x21a)]=0x0,this['configuration']={};!_0x318ba6[_0x4bcb5c(0x209)]&&(_0x318ba6[_0x4bcb5c(0x209)]={});if(helper[_0x4bcb5c(0x1fe)]()){_0x318ba6[_0x4bcb5c(0x209)]=_0x318ba6[_0x4bcb5c(0x1de)]?_0x318ba6['projectConfig'][_0x4bcb5c(0x209)]:_0x318ba6[_0x4bcb5c(0x209)],this['builder']=new _seleniumWebdriver2['default']['Builder'](),this[_0x4bcb5c(0x213)]=_0x318ba6['projectConfig']?_0x318ba6['projectConfig'][_0x4bcb5c(0x213)]:_0x318ba6[_0x4bcb5c(0x213)],this[_0x4bcb5c(0x220)]['__timeout']=_0x489771[_0x4bcb5c(0x224)](this['configuration']['timeout__'],constants['BSTACK_DELTA']),this[_0x4bcb5c(0x216)]=_0x318ba6[_0x4bcb5c(0x209)][_0x4bcb5c(0x21f)];if(this[_0x4bcb5c(0x216)]){const _0x48ec3=this['capability'][_0x489771[_0x4bcb5c(0x1d4)]]?.[_0x4bcb5c(0x1ef)]||'',_0x3213df=this[_0x4bcb5c(0x213)][_0x489771[_0x4bcb5c(0x1d4)]]?.[_0x4bcb5c(0x1f9)]||'';this[_0x4bcb5c(0x21f)]=new(_0x489771['tRhVU'](require,_0x489771[_0x4bcb5c(0x219)]))(this[_0x4bcb5c(0x216)],_0x48ec3,_0x3213df),this[_0x4bcb5c(0x220)]['failFastActive']=![];}helper[_0x4bcb5c(0x1fb)](this['configuration'][_0x4bcb5c(0x22b)])&&(this[_0x4bcb5c(0x220)][_0x4bcb5c(0x23e)]=this[_0x4bcb5c(0x21d)][_0x4bcb5c(0x22b)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0x40e08e=new ObservabilityReporter();_0x40e08e[_0x4bcb5c(0x1d7)]();}this[_0x4bcb5c(0x220)][_0x4bcb5c(0x226)]={},this[_0x4bcb5c(0x21d)]=_0x318ba6[_0x4bcb5c(0x209)],this['configuration'][_0x4bcb5c(0x1e5)]=constants[_0x4bcb5c(0x21e)]['JEST'];if(_seleniumWebdriver2){const _0x54e75c=_0x489771[_0x4bcb5c(0x1fc)][_0x4bcb5c(0x23d)]('|');let _0x477f86=0x0;while(!![]){switch(_0x54e75c[_0x477f86++]){case'0':this['global']['percyCaptureMode']=helper['nestedKeyValue'](_0x318ba6,[_0x489771[_0x4bcb5c(0x1f3)],_0x489771[_0x4bcb5c(0x1d8)],_0x489771[_0x4bcb5c(0x210)]]);continue;case'1':this[_0x4bcb5c(0x220)]['percy']=helper[_0x4bcb5c(0x20b)](_0x318ba6,[_0x489771[_0x4bcb5c(0x1f3)],_0x489771['lEMET'],_0x489771['ESdxN']]);continue;case'2':this[_0x4bcb5c(0x220)][_0x4bcb5c(0x211)]=async()=>{const _0xa38cec=_0x4bcb5c;await this['global']['driver'][_0xa38cec(0x1f8)](_0x489771[_0xa38cec(0x1dd)]);};continue;case'3':this[_0x4bcb5c(0x220)][_0x4bcb5c(0x1e0)]=[];continue;case'4':this['global'][_0x4bcb5c(0x1ff)]=helper['isTrue'](this[_0x4bcb5c(0x21d)]['skipSessionStatus']);continue;case'5':this[_0x4bcb5c(0x220)][_0x4bcb5c(0x1fa)]=_0x489771[_0x4bcb5c(0x20f)](require,_0x489771[_0x4bcb5c(0x1e8)])[_0x4bcb5c(0x201)]({...this[_0x4bcb5c(0x21d)],'capability':this[_0x4bcb5c(0x213)]||{}},this,testhubUtils[_0x4bcb5c(0x1ea)]());continue;case'6':this[_0x4bcb5c(0x220)][_0x4bcb5c(0x20c)]=helper[_0x4bcb5c(0x20b)](_0x318ba6,[_0x489771['tVMoG'],_0x489771[_0x4bcb5c(0x1d8)],_0x489771[_0x4bcb5c(0x212)]]);continue;case'7':this[_0x4bcb5c(0x220)][_0x4bcb5c(0x221)]=helper[_0x4bcb5c(0x20b)](this[_0x4bcb5c(0x21d)],[_0x489771[_0x4bcb5c(0x235)],this[_0x4bcb5c(0x220)][_0x4bcb5c(0x20e)]])||{};continue;case'8':helper[_0x4bcb5c(0x231)](this['configuration'][_0x4bcb5c(0x227)])?this[_0x4bcb5c(0x220)][_0x4bcb5c(0x200)]=!![]:this['global'][_0x4bcb5c(0x200)]=![];continue;case'9':this['global'][_0x4bcb5c(0x20e)]=(_0x318ba6[_0x4bcb5c(0x1de)]?_0x318ba6[_0x4bcb5c(0x1de)][_0x4bcb5c(0x20e)]:_0x318ba6[_0x4bcb5c(0x20e)])||0x0;continue;}break;}}}async[a16_0x5ec900(0x1f7)](){const _0x1a6b0b=a16_0x5ec900;_seleniumWebdriver2&&(await helper['cleanupDrivers'](this[_0x1a6b0b(0x220)][_0x1a6b0b(0x23a)]),this['global'][_0x1a6b0b(0x1fa)][_0x1a6b0b(0x1e1)]=originalBuilder),await RequestQueueHandler[_0x1a6b0b(0x23b)]()[_0x1a6b0b(0x217)]();}async[a16_0x5ec900(0x232)](){}async['handleTestEvent'](_0x394b76,_0x262084){const _0x137392=a16_0x5ec900,_0x5648b0={};_0x5648b0[_0x137392(0x22f)]=function(_0x2abae1,_0x58beca){return _0x2abae1===_0x58beca;},_0x5648b0['ghyNa']=_0x137392(0x1ed),_0x5648b0['bEgKj']=_0x137392(0x233),_0x5648b0['mcLGU']='test_done',_0x5648b0['cAQCG']=_0x137392(0x237),_0x5648b0[_0x137392(0x215)]=_0x137392(0x22e),_0x5648b0['ZCLVl']='teardown';const _0x517f49=_0x5648b0,{name:_0x407ca4}=_0x394b76;if(_0x517f49['Guefu'](_0x407ca4,_0x517f49['ghyNa'])){this['global']['testContext']=_0x394b76[_0x137392(0x1fd)];if(_0x517f49[_0x137392(0x22f)](this[_0x137392(0x220)][_0x137392(0x21b)],!![])){const _0x2a11d7=_0x394b76['test'][_0x137392(0x205)];logger[_0x137392(0x1e4)]('Fail-fast\x20is\x20active,\x20skipping\x20test::\x20'+_0x2a11d7),_0x394b76[_0x137392(0x1fd)][_0x137392(0x234)]=_0x517f49['bEgKj'];}}if(this[_0x137392(0x21f)]&&_0x517f49[_0x137392(0x22f)](_0x407ca4,_0x517f49[_0x137392(0x1db)]))try{const _0x3897f7=_0x394b76[_0x137392(0x1fd)][_0x137392(0x236)][_0x137392(0x1e9)](_0x517f49['cAQCG']),_0x14cbe1=_0x394b76[_0x137392(0x1fd)]['errors'];await this['failFast'][_0x137392(0x1d9)](_0x3897f7,_0x14cbe1);const _0x46b110=await this['failFast']['shouldFailFast']();_0x517f49[_0x137392(0x22f)](this['global']['failFastActive'],![])&&_0x517f49[_0x137392(0x22f)](_0x46b110,!![])&&(this[_0x137392(0x220)][_0x137392(0x21b)]=!![]);}catch(_0x13b42a){logger['debug'](_0x517f49[_0x137392(0x215)],_0x13b42a[_0x137392(0x1e7)]);}_0x517f49[_0x137392(0x22f)](_0x407ca4,_0x517f49[_0x137392(0x1ec)])&&(this['failFast']&&this[_0x137392(0x21f)][_0x137392(0x211)]());}}module['exports']=CustomEnvironment;
|
|
1
|
+
const a18_0x44bb93=a18_0x4921;function a18_0x1c46(){const _0x57725e=['Builder','jest-environment-node','testContext','testEnvironmentOptions','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','WUSqa','platformCaps','UpFsw','xaZvQ','join','resolveTestEnvironment','test_start','projectConfig','../test-observability/obsReporter','5|6|1|3|8|7|9|2|0|4','vyQxa','errors','MtcnA','shouldProcessEventForTesthub','9GNaxwC','failFast','2414550qkByNI','69OOFwPu','cleanupDrivers','capability','Error\x20in\x20fail-fast\x20test_done\x20handler:','BSTACK_JEST_TEST_ENV','ORUvj','requireSeleniumWebdriver','percyCaptureMode','skipSessionStatus','shutdown','../../../helpers/logger','driver','quit','__webdriver','KgSRv','browserStackPercyOptions','cwd','failFastActive','pxowH','__skipSessionStatus','../../../helpers/test-orchestration/failfastManager','isBrowserstackInfra','cleanup','isNotUndefined','VsHFR','default','builder','setup','10176890bXxqcz','529325zxVzsh','env','framework','7QIytEZ','getTestEnvironment','MVEKf','test_done','nestedKeyValue','../../utils/constants','configuration','winstonLogger','browserstackPlatformIndex','fGMqU','PXZFU','2AgThMJ','839195KMjowi','name','../../../helpers/test-observability/requestQueueHandler','browserStackGlobals','AeFtD','skipSessionName','teardown','__timeout','bgJlL','orqaR','XMwiO','getInstance','../../../helpers/testhub/utils','HGATV','failFastOptions','registerListeners','wIRUJ','requireModule','../../../index','sessionNameProvided','DcAvz','bstack:options','global','10786831fNEMUV','LkKMb','cDQzk','handleTestEvent','debug','percy','BSTACK_DELTA','test','EihBs','fpElO','__platformCaps','CGyrG','retries__','../../../helpers/test-observability/utils','2734432DaFzsx','CHgbe','__esModule','isTrue','166180daEHIe','onTestDone','info','__driversArray','24iHykUs','browserstackPercyBestPlatform','JEST','jest-config','WQjGz'];a18_0x1c46=function(){return _0x57725e;};return a18_0x1c46();}(function(_0x7274d6,_0x3570f3){const _0x2a364a=a18_0x4921,_0x27b85e=_0x7274d6();while(!![]){try{const _0x4345fc=-parseInt(_0x2a364a(0x1ed))/0x1*(-parseInt(_0x2a364a(0x1ec))/0x2)+-parseInt(_0x2a364a(0x235))/0x3*(parseInt(_0x2a364a(0x216))/0x4)+-parseInt(_0x2a364a(0x252))/0x5+-parseInt(_0x2a364a(0x234))/0x6*(-parseInt(_0x2a364a(0x1e1))/0x7)+parseInt(_0x2a364a(0x212))/0x8*(-parseInt(_0x2a364a(0x232))/0x9)+-parseInt(_0x2a364a(0x251))/0xa+-parseInt(_0x2a364a(0x204))/0xb*(-parseInt(_0x2a364a(0x21a))/0xc);if(_0x4345fc===_0x3570f3)break;else _0x27b85e['push'](_0x27b85e['shift']());}catch(_0x19dab6){_0x27b85e['push'](_0x27b85e['shift']());}}}(a18_0x1c46,0xbee91));const helper=require('../../../helpers/helper'),constants=require(a18_0x44bb93(0x1e6)),{isTestObservabilitySession}=require(a18_0x44bb93(0x211)),RequestQueueHandler=require(a18_0x44bb93(0x1ef)),ObservabilityReporter=require(a18_0x44bb93(0x22c)),testhubUtils=require(a18_0x44bb93(0x1f9)),logger=require(a18_0x44bb93(0x23f))[a18_0x44bb93(0x1e8)],getTestEnvironment=((()=>{const _0x4ec00a=a18_0x44bb93,_0x17edc6={};_0x17edc6[_0x4ec00a(0x24d)]='jest-resolve',_0x17edc6[_0x4ec00a(0x1e3)]=_0x4ec00a(0x21d);const _0x2ce36e=_0x17edc6;try{const _0x4becfb=helper[_0x4ec00a(0x1fe)](_0x2ce36e['VsHFR']);if(_0x4becfb[_0x4ec00a(0x229)])return _0x4becfb[_0x4ec00a(0x229)];const _0x4505f3=helper[_0x4ec00a(0x1fe)](_0x2ce36e[_0x4ec00a(0x1e3)]);if(_0x4505f3[_0x4ec00a(0x1e2)])return _0x4505f3['getTestEnvironment'];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x151fda=a18_0x44bb93,_0x4e9a3e={'fpElO':function(_0x4c46f5,_0x192436){return _0x4c46f5(_0x192436);},'CHgbe':'node','MtcnA':function(_0x5b5d86,_0x1b757f){return _0x5b5d86(_0x1b757f);},'ORUvj':_0x151fda(0x220),'VhVuL':function(_0x59b2e9,_0x3d7595){return _0x59b2e9(_0x3d7595);}},_0xad4972=_0x4e9a3e[_0x151fda(0x20d)](getTestEnvironment,{'rootDir':process[_0x151fda(0x245)](),'testEnvironment':process[_0x151fda(0x253)][_0x151fda(0x239)]||_0x4e9a3e[_0x151fda(0x213)]});if(!_0xad4972)return _0x4e9a3e[_0x151fda(0x230)](_interopRequireDefault,helper[_0x151fda(0x1fe)](_0x4e9a3e[_0x151fda(0x23a)]));return _0x4e9a3e['VhVuL'](_interopRequireDefault,helper['requireModule'](_0xad4972));})()),_seleniumWebdriver2=((()=>{const _0x2f702c=a18_0x44bb93,_0x2881cc={'WaeHs':function(_0x3398d0,_0x15cfb8){return _0x3398d0(_0x15cfb8);}};try{const _0x139706=helper[_0x2f702c(0x23b)]();return helper['modifyCommand'](),_0x2881cc['WaeHs'](_interopRequireDefault,_0x139706);}catch{return null;}})());function _interopRequireDefault(_0x3b5f4f){const _0x37e6b5=a18_0x44bb93;return _0x3b5f4f&&_0x3b5f4f[_0x37e6b5(0x214)]?_0x3b5f4f:{'default':_0x3b5f4f};}function a18_0x4921(_0x4e0415,_0x385d66){const _0x1c46d6=a18_0x1c46();return a18_0x4921=function(_0x4921bc,_0x131e3e){_0x4921bc=_0x4921bc-0x1e0;let _0x46d172=_0x1c46d6[_0x4921bc];return _0x46d172;},a18_0x4921(_0x4e0415,_0x385d66);}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a18_0x44bb93(0x24e)][a18_0x44bb93(0x21f)]:null;class CustomEnvironment extends _jestUserEnvironment[a18_0x44bb93(0x24e)]{constructor(_0x435259){const _0x3cf26a=a18_0x44bb93,_0x3f5426={'WUSqa':_0x3cf26a(0x241),'cDQzk':function(_0x4b5efe,_0x94739c){return _0x4b5efe+_0x94739c;},'KgSRv':_0x3cf26a(0x202),'HGATV':function(_0x3af5d3,_0x28ecb0){return _0x3af5d3(_0x28ecb0);},'ZMTZz':_0x3cf26a(0x249),'tdxbz':_0x3cf26a(0x22d),'AeFtD':_0x3cf26a(0x222),'UpFsw':_0x3cf26a(0x244),'fGMqU':_0x3cf26a(0x21b),'xaZvQ':_0x3cf26a(0x1ff),'vyQxa':_0x3cf26a(0x23c),'WQjGz':_0x3cf26a(0x209),'bgJlL':_0x3cf26a(0x225)};super(_0x435259),this[_0x3cf26a(0x203)][_0x3cf26a(0x1f4)]=0x0,this[_0x3cf26a(0x1e7)]={};!_0x435259[_0x3cf26a(0x222)]&&(_0x435259['testEnvironmentOptions']={});if(helper[_0x3cf26a(0x24a)]()){_0x435259[_0x3cf26a(0x222)]=_0x435259[_0x3cf26a(0x22b)]?_0x435259[_0x3cf26a(0x22b)][_0x3cf26a(0x222)]:_0x435259[_0x3cf26a(0x222)],this[_0x3cf26a(0x24f)]=new _seleniumWebdriver2['default'][(_0x3cf26a(0x21f))](),this[_0x3cf26a(0x237)]=_0x435259[_0x3cf26a(0x22b)]?_0x435259['projectConfig'][_0x3cf26a(0x237)]:_0x435259[_0x3cf26a(0x237)],this[_0x3cf26a(0x203)]['__timeout']=_0x3f5426[_0x3cf26a(0x206)](this['configuration']['timeout__'],constants[_0x3cf26a(0x20a)]),this['failFastOptions']=_0x435259[_0x3cf26a(0x222)][_0x3cf26a(0x233)];if(this[_0x3cf26a(0x1fb)]){const _0x5a8a39=this[_0x3cf26a(0x237)][_0x3f5426[_0x3cf26a(0x243)]]?.['buildName']||'',_0x518b61=this[_0x3cf26a(0x237)][_0x3f5426['KgSRv']]?.['projectName']||'';this['failFast']=new(_0x3f5426['HGATV'](require,_0x3f5426['ZMTZz']))(this[_0x3cf26a(0x1fb)],_0x5a8a39,_0x518b61),this['global'][_0x3cf26a(0x246)]=![];}helper[_0x3cf26a(0x24c)](this['configuration']['retries__'])&&(this[_0x3cf26a(0x203)]['__jestRetries']=this[_0x3cf26a(0x1e7)][_0x3cf26a(0x210)]);}if(testhubUtils[_0x3cf26a(0x231)]()){const _0x1d118f=new ObservabilityReporter();_0x1d118f[_0x3cf26a(0x1fc)]();}this[_0x3cf26a(0x203)][_0x3cf26a(0x1f0)]={},this[_0x3cf26a(0x1e7)]=_0x435259[_0x3cf26a(0x222)],this[_0x3cf26a(0x1e7)][_0x3cf26a(0x1e0)]=constants['FRAMEWORKS'][_0x3cf26a(0x21c)];if(_seleniumWebdriver2){const _0x4a32e0=_0x3f5426['tdxbz']['split']('|');let _0xdec46a=0x0;while(!![]){switch(_0x4a32e0[_0xdec46a++]){case'0':this[_0x3cf26a(0x203)][_0x3cf26a(0x248)]=helper[_0x3cf26a(0x215)](this[_0x3cf26a(0x1e7)][_0x3cf26a(0x23d)]);continue;case'1':this[_0x3cf26a(0x203)]['browserstackPlatformIndex']=(_0x435259['projectConfig']?_0x435259[_0x3cf26a(0x22b)][_0x3cf26a(0x1e9)]:_0x435259[_0x3cf26a(0x1e9)])||0x0;continue;case'2':helper[_0x3cf26a(0x215)](this[_0x3cf26a(0x1e7)][_0x3cf26a(0x1f2)])?this[_0x3cf26a(0x203)][_0x3cf26a(0x200)]=!![]:this[_0x3cf26a(0x203)]['sessionNameProvided']=![];continue;case'3':this['global'][_0x3cf26a(0x21b)]=helper[_0x3cf26a(0x1e5)](_0x435259,[_0x3f5426['AeFtD'],_0x3f5426[_0x3cf26a(0x226)],_0x3f5426[_0x3cf26a(0x1ea)]]);continue;case'4':this[_0x3cf26a(0x203)][_0x3cf26a(0x24b)]=async()=>{const _0x21f2e6=_0x3cf26a;await this['global'][_0x21f2e6(0x240)][_0x21f2e6(0x241)](_0x3f5426[_0x21f2e6(0x224)]);};continue;case'5':this['global']['__drivers']=[];continue;case'6':this[_0x3cf26a(0x203)]['__webdriver']=_0x3f5426[_0x3cf26a(0x1fa)](require,_0x3f5426[_0x3cf26a(0x227)])['browserstackAgentV2']({...this[_0x3cf26a(0x1e7)],'capability':this['capability']||{}},this,testhubUtils[_0x3cf26a(0x231)]());continue;case'7':this[_0x3cf26a(0x203)][_0x3cf26a(0x23c)]=helper['nestedKeyValue'](_0x435259,[_0x3f5426[_0x3cf26a(0x1f1)],_0x3f5426[_0x3cf26a(0x226)],_0x3f5426[_0x3cf26a(0x22e)]]);continue;case'8':this['global'][_0x3cf26a(0x209)]=helper[_0x3cf26a(0x1e5)](_0x435259,[_0x3f5426[_0x3cf26a(0x1f1)],_0x3f5426[_0x3cf26a(0x226)],_0x3f5426[_0x3cf26a(0x21e)]]);continue;case'9':this[_0x3cf26a(0x203)][_0x3cf26a(0x20e)]=helper[_0x3cf26a(0x1e5)](this['configuration'],[_0x3f5426[_0x3cf26a(0x1f5)],this[_0x3cf26a(0x203)]['browserstackPlatformIndex']])||{};continue;}break;}}}async[a18_0x44bb93(0x1f3)](){const _0x3541b5=a18_0x44bb93;_seleniumWebdriver2&&(await helper[_0x3541b5(0x236)](this[_0x3541b5(0x203)][_0x3541b5(0x219)]),this[_0x3541b5(0x203)][_0x3541b5(0x242)][_0x3541b5(0x21f)]=originalBuilder),await RequestQueueHandler[_0x3541b5(0x1f8)]()[_0x3541b5(0x23e)]();}async[a18_0x44bb93(0x250)](){}async[a18_0x44bb93(0x207)](_0xcb513f,_0x1a11b4){const _0xbdabad=a18_0x44bb93,_0x4741b4={};_0x4741b4[_0xbdabad(0x247)]=function(_0x51601b,_0x13d5f2){return _0x51601b===_0x13d5f2;},_0x4741b4['LkKMb']=_0xbdabad(0x22a),_0x4741b4[_0xbdabad(0x1f7)]='skip',_0x4741b4['EihBs']=_0xbdabad(0x1e4),_0x4741b4[_0xbdabad(0x1eb)]='\x20>\x20',_0x4741b4['CGyrG']=function(_0x43219e,_0x256eeb){return _0x43219e===_0x256eeb;},_0x4741b4[_0xbdabad(0x201)]=_0xbdabad(0x238),_0x4741b4[_0xbdabad(0x1fd)]=function(_0x34a2ea,_0x4bddc6){return _0x34a2ea===_0x4bddc6;},_0x4741b4[_0xbdabad(0x1f6)]='teardown';const _0x303e5a=_0x4741b4,{name:_0x97fdf5}=_0xcb513f;if(_0x303e5a['pxowH'](_0x97fdf5,_0x303e5a[_0xbdabad(0x205)])){this[_0xbdabad(0x203)][_0xbdabad(0x221)]=_0xcb513f['test'];if(_0x303e5a['pxowH'](this['global'][_0xbdabad(0x246)],!![])){const _0x10235c=_0xcb513f[_0xbdabad(0x20b)][_0xbdabad(0x1ee)];logger[_0xbdabad(0x218)](_0xbdabad(0x223)+_0x10235c),_0xcb513f[_0xbdabad(0x20b)]['mode']=_0x303e5a[_0xbdabad(0x1f7)];}}if(this['failFast']&&_0x303e5a[_0xbdabad(0x247)](_0x97fdf5,_0x303e5a[_0xbdabad(0x20c)]))try{const _0x55000f=_0xcb513f['test']['testPath'][_0xbdabad(0x228)](_0x303e5a['PXZFU']),_0x50d44f=_0xcb513f['test'][_0xbdabad(0x22f)];await this[_0xbdabad(0x233)][_0xbdabad(0x217)](_0x55000f,_0x50d44f);const _0x4a9535=await this[_0xbdabad(0x233)]['shouldFailFast']();_0x303e5a[_0xbdabad(0x20f)](this[_0xbdabad(0x203)]['failFastActive'],![])&&_0x303e5a[_0xbdabad(0x20f)](_0x4a9535,!![])&&(this[_0xbdabad(0x203)]['failFastActive']=!![]);}catch(_0x36584f){logger[_0xbdabad(0x208)](_0x303e5a[_0xbdabad(0x201)],_0x36584f['message']);}_0x303e5a[_0xbdabad(0x1fd)](_0x97fdf5,_0x303e5a[_0xbdabad(0x1f6)])&&(this[_0xbdabad(0x233)]&&this[_0xbdabad(0x233)]['cleanup']());}}module['exports']=CustomEnvironment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a19_0x31f957=a19_0x11be;(function(_0xa5e736,_0x3c48bf){const _0x36ad4c=a19_0x11be,_0x2147d7=_0xa5e736();while(!![]){try{const _0x59c595=-parseInt(_0x36ad4c(0x1c1))/0x1*(parseInt(_0x36ad4c(0x1a3))/0x2)+-parseInt(_0x36ad4c(0x1ae))/0x3+parseInt(_0x36ad4c(0x1b6))/0x4+-parseInt(_0x36ad4c(0x1b9))/0x5+parseInt(_0x36ad4c(0x199))/0x6+parseInt(_0x36ad4c(0x181))/0x7+parseInt(_0x36ad4c(0x196))/0x8;if(_0x59c595===_0x3c48bf)break;else _0x2147d7['push'](_0x2147d7['shift']());}catch(_0x530a7f){_0x2147d7['push'](_0x2147d7['shift']());}}}(a19_0x37b6,0x28307));function a19_0x37b6(){const _0x3963e0=['removeAllListeners','iffrX','1547148DwTKpC','teardown','TestRunSkipped','inhZZ','beforeEach','hook_failure','started_at','AwOkI','initialize','hook_success','2ypFYrk','../../../helpers/test-observability/requestQueueHandler','Exception\x20in\x20jest\x20custom\x20reporter\x20exports\x20with\x20error:\x20','qneti','wFIBS','iFPtA','EventHandler','fpQhg','keys','sendTestRunEvent','makeSingleTestResult','667944KHetEr','beYus','mNavx','OhRgL','errorsDetailed','testStarted','getInstance','HookFinished','526496OAjqzQ','OFHll','../../../helpers/helper','538790uyRIcf','toISOString','Exception\x20in\x20jest\x20custom\x20reporter\x20with\x20error:\x20','afterEach','markedStatus','HookStarted','hook_start','ZPLSR','128096KqBzFC','test','HookRunStarted','JnrlW','beforeAll','jest-circus/build/state.js','nwxaT','type','QHiHR','aWAXH','../../../helpers/test-observability/utils','removeTestUUID','hookAnalyticsId','hZWot','setTestUUID','EVENT','../../../helpers/testhub/utils','RDzYw','name','922887nLduae','unhandledErrors','jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js','CURTV','rhXbZ','ktNmZ','hook','HookRunFinished','hskTH','includes','../../../helpers/testhub/constants','ZlkVe','wJSIP',':hookAnalyticsId','length','forEach','../test-observability/test-details','shutdown','registerListeners','jest-circus','test_skip','814352NfUYSL'];a19_0x37b6=function(){return _0x3963e0;};return a19_0x37b6();}const {requireModule}=require(a19_0x31f957(0x1b8)),ObservabilityReporter=require('../test-observability/obsReporter'),RequestQueueHandler=require(a19_0x31f957(0x1a4)),TestDetails=require(a19_0x31f957(0x191)),{patchConsoleLogger,debug}=require(a19_0x31f957(0x178)),{o11yErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a19_0x31f957(0x17e)),testHubConstants=require(a19_0x31f957(0x18b)),exportsI=requireModule(a19_0x31f957(0x183),a19_0x31f957(0x194)),initInitialize=exportsI[a19_0x31f957(0x1a1)];function a19_0x11be(_0x24540e,_0x50928f){const _0x37b6b2=a19_0x37b6();return a19_0x11be=function(_0x11be60,_0x37a1a5){_0x11be60=_0x11be60-0x172;let _0x53d28e=_0x37b6b2[_0x11be60];return _0x53d28e;},a19_0x11be(_0x24540e,_0x50928f);}exportsI[a19_0x31f957(0x1a1)]=(..._0xbdb00b)=>{const _0x523fc8=a19_0x31f957,_0x3312ab={'inhZZ':function(_0x5af884,_0x429eec,_0x4fd3a6){return _0x5af884(_0x429eec,_0x4fd3a6);},'hskTH':'jest-circus/build/utils.js','qneti':'jest-circus','rASGR':_0x523fc8(0x1bf),'beYus':function(_0x37d7f9,_0x4c0f35){return _0x37d7f9(_0x4c0f35);},'ktNmZ':_0x523fc8(0x1c3),'RDzYw':_0x523fc8(0x1a2),'wFIBS':_0x523fc8(0x188),'lAiCv':_0x523fc8(0x19e),'IKnjS':_0x523fc8(0x172),'ZPLSR':_0x523fc8(0x19d),'wJSIP':_0x523fc8(0x1bc),'OhRgL':function(_0x25ae3d,_0x432743){return _0x25ae3d>_0x432743;},'mNavx':function(_0xcd48df,_0x1c8f6c){return _0xcd48df(_0x1c8f6c);},'AwOkI':'test_start','CURTV':function(_0x380984){return _0x380984();},'aWAXH':'test_done','nwxaT':function(_0x15d617){return _0x15d617();},'hZWot':_0x523fc8(0x195),'bdSkl':function(_0x22394b){return _0x22394b();},'iffrX':_0x523fc8(0x19b),'rhXbZ':'run_describe_finish','rQSxz':_0x523fc8(0x19a),'OFHll':function(_0x10a4c9){return _0x10a4c9();},'JnrlW':function(_0x57ab22){return _0x57ab22();},'iFPtA':function(_0x4995b9,_0x5aed2c,_0x3e4d96){return _0x4995b9(_0x5aed2c,_0x3e4d96);},'nUYKy':_0x523fc8(0x173),'ZlkVe':function(_0x43b1c1,_0x2b5fd0,_0x39f4c9){return _0x43b1c1(_0x2b5fd0,_0x39f4c9);},'fpQhg':_0x523fc8(0x1a9),'MnpVK':function(_0x2327cc,_0x1e341b){return _0x2327cc(_0x1e341b);}};try{const _0xc175a8=new ObservabilityReporter();_0x3312ab['nwxaT'](shouldProcessEventForTesthub)&&(_0x3312ab[_0x523fc8(0x1b7)](patchConsoleLogger),_0xc175a8[_0x523fc8(0x193)]()),_0x3312ab[_0x523fc8(0x1c4)](shouldProcessEventForTesthub)&&_0x3312ab[_0x523fc8(0x1a8)](requireModule,_0x3312ab['nUYKy'],_0x3312ab[_0x523fc8(0x1a6)])['addEventHandler'](_0x3312ab[_0x523fc8(0x18c)](o11yErrorHandler,async(_0x55bef3,_0x31c0e2)=>{const _0x2177d7=_0x523fc8,_0x5d62ff=_0x3312ab[_0x2177d7(0x19c)](requireModule,_0x3312ab[_0x2177d7(0x189)],_0x3312ab[_0x2177d7(0x1a6)])[_0x2177d7(0x1ad)];switch(_0x55bef3[_0x2177d7(0x180)]){case _0x3312ab['rASGR']:if(_0x3312ab['beYus'](shouldProcessEventForTesthub,testHubConstants[_0x2177d7(0x17d)][_0x2177d7(0x1be)])){if(!_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x17a)]){const _0x398df3=TestDetails['setTestUUID'](process['pid']+_0x2177d7(0x18e));_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x17a)]=_0x398df3;}else _0x55bef3[_0x2177d7(0x187)]['markedStatus']&&(_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x17a)]=TestDetails[_0x2177d7(0x17c)](process['pid']+':hookAnalyticsId'),delete _0x55bef3['hook'][_0x2177d7(0x1bd)]);_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x19f)]=new Date()[_0x2177d7(0x1ba)](),await _0xc175a8[_0x2177d7(0x1ac)](_0x55bef3[_0x2177d7(0x187)],undefined,![],_0x3312ab[_0x2177d7(0x186)]);}break;case _0x3312ab[_0x2177d7(0x17f)]:_0x3312ab[_0x2177d7(0x1af)](shouldProcessEventForTesthub,testHubConstants['EVENT'][_0x2177d7(0x1b5)])&&(await _0xc175a8[_0x2177d7(0x1ac)](_0x55bef3['hook'],undefined,![],_0x3312ab[_0x2177d7(0x1a7)]),TestDetails[_0x2177d7(0x179)](process['pid']+_0x2177d7(0x18e)));break;case _0x3312ab['lAiCv']:[_0x3312ab['IKnjS'],_0x3312ab[_0x2177d7(0x1c0)],_0x3312ab[_0x2177d7(0x18d)]][_0x2177d7(0x18a)](_0x55bef3[_0x2177d7(0x187)]['type'])&&(_0xc175a8[_0x2177d7(0x19e)]=_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x175)]),_0x31c0e2['unhandledErrors']&&_0x3312ab[_0x2177d7(0x1b1)](_0x31c0e2[_0x2177d7(0x182)][_0x2177d7(0x18f)],0x0)&&(_0x55bef3[_0x2177d7(0x187)][_0x2177d7(0x1b2)]=[_0x31c0e2['unhandledErrors'][0x0][0x0]]);_0x3312ab[_0x2177d7(0x1b0)](shouldProcessEventForTesthub,testHubConstants[_0x2177d7(0x17d)][_0x2177d7(0x1b5)])&&(await _0xc175a8[_0x2177d7(0x1ac)](_0x55bef3[_0x2177d7(0x187)],undefined,![],_0x3312ab['wFIBS']),TestDetails[_0x2177d7(0x179)](process['pid']+_0x2177d7(0x18e)));break;case _0x3312ab[_0x2177d7(0x1a0)]:_0x3312ab[_0x2177d7(0x184)](shouldProcessEventForTesthub)&&await _0xc175a8[_0x2177d7(0x1b3)](_0x55bef3[_0x2177d7(0x1c2)]);break;case _0x3312ab[_0x2177d7(0x177)]:_0x55bef3['test']={..._0x3312ab[_0x2177d7(0x1af)](_0x5d62ff,_0x55bef3['test']),..._0x55bef3[_0x2177d7(0x1c2)]};_0x3312ab[_0x2177d7(0x174)](shouldProcessEventForTesthub)&&(!_0x55bef3[_0x2177d7(0x1c2)][_0x2177d7(0x1bd)]&&(_0x55bef3[_0x2177d7(0x1c2)][_0x2177d7(0x1bd)]=!![],await _0xc175a8[_0x2177d7(0x1ac)](_0x55bef3[_0x2177d7(0x1c2)])));break;case _0x3312ab[_0x2177d7(0x17b)]:_0x55bef3[_0x2177d7(0x1c2)]={..._0x3312ab[_0x2177d7(0x1b0)](_0x5d62ff,_0x55bef3['test']),..._0x55bef3['test']};_0x3312ab['bdSkl'](shouldProcessEventForTesthub)&&(!_0x55bef3[_0x2177d7(0x1c2)][_0x2177d7(0x1bd)]&&(_0x55bef3[_0x2177d7(0x1c2)][_0x2177d7(0x1bd)]=!![],await _0xc175a8['sendTestRunEvent'](_0x55bef3['test'],undefined,![],_0x3312ab[_0x2177d7(0x198)])));break;case _0x3312ab[_0x2177d7(0x185)]:_0xc175a8[_0x2177d7(0x19e)]=null;break;case _0x3312ab['rQSxz']:await RequestQueueHandler[_0x2177d7(0x1b4)]()[_0x2177d7(0x192)](),process[_0x2177d7(0x197)]();break;default:}},_0x3312ab[_0x523fc8(0x1aa)]));}catch(_0x330565){_0x3312ab['MnpVK'](debug,'Error\x20while\x20adding\x20o11y\x20event\x20handler,\x20'+_0x330565);}return _0x3312ab['mNavx'](initInitialize,..._0xbdb00b);};try{Object[a19_0x31f957(0x1ab)](exportsI)[a19_0x31f957(0x190)](_0x6c4205=>{const _0xf4f947=a19_0x31f957,_0x1df656={'QHiHR':function(_0x1a099d,_0x557afb){return _0x1a099d(_0x557afb);}};try{exports&&(exports[_0x6c4205]=exportsI[_0x6c4205]);}catch(_0x3a86cf){_0x1df656[_0xf4f947(0x176)](debug,_0xf4f947(0x1bb)+_0x3a86cf);}});}catch(a19_0x1a159b){debug(a19_0x31f957(0x1a5)+a19_0x1a159b);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a20_0xc727f2=a20_0x3043;(function(_0x58f841,_0x1d7e02){const _0x8d1e67=a20_0x3043,_0x434fdf=_0x58f841();while(!![]){try{const _0x107ed4=parseInt(_0x8d1e67(0x166))/0x1*(-parseInt(_0x8d1e67(0x170))/0x2)+-parseInt(_0x8d1e67(0x177))/0x3+-parseInt(_0x8d1e67(0x174))/0x4*(-parseInt(_0x8d1e67(0x171))/0x5)+parseInt(_0x8d1e67(0x172))/0x6*(parseInt(_0x8d1e67(0x16d))/0x7)+parseInt(_0x8d1e67(0x165))/0x8*(-parseInt(_0x8d1e67(0x16b))/0x9)+-parseInt(_0x8d1e67(0x16a))/0xa+parseInt(_0x8d1e67(0x167))/0xb;if(_0x107ed4===_0x1d7e02)break;else _0x434fdf['push'](_0x434fdf['shift']());}catch(_0x433fcb){_0x434fdf['push'](_0x434fdf['shift']());}}}(a20_0x43f5,0x81a67));const Sequencer=require(a20_0xc727f2(0x16f))[a20_0xc727f2(0x176)];function a20_0x3043(_0x1ff4b4,_0x4d573c){const _0x43f5c5=a20_0x43f5();return a20_0x3043=function(_0x30437e,_0x44ba34){_0x30437e=_0x30437e-0x165;let _0x2c284f=_0x43f5c5[_0x30437e];return _0x2c284f;},a20_0x3043(_0x1ff4b4,_0x4d573c);}class CustomSequencer extends Sequencer{[a20_0xc727f2(0x169)](_0x14a097){const _0x4739b0=a20_0xc727f2,_0x1a2b26=process[_0x4739b0(0x175)]['JEST_TEST_ORDER'];if(!_0x1a2b26)return _0x14a097;const _0x164f2f=_0x1a2b26[_0x4739b0(0x16c)](','),_0x97240c=new Map(_0x14a097['filter'](_0x43a0cf=>_0x164f2f['includes'](_0x43a0cf[_0x4739b0(0x173)]))[_0x4739b0(0x168)](_0x36cc2f=>[_0x36cc2f[_0x4739b0(0x173)],_0x36cc2f]));return _0x164f2f[_0x4739b0(0x168)](_0x201e16=>_0x97240c[_0x4739b0(0x16e)](_0x201e16))['filter'](Boolean);}}module['exports']=CustomSequencer;function a20_0x43f5(){const _0x1de9a1=['path','20780zmWAGN','env','default','3028845jOIptI','18992zyzgjB','9MJDbiC','18248681pstKdd','map','sort','2166040CKMwXN','117lseVpw','split','424109nreYZz','get','@jest/test-sequencer','229476Lpgewz','710WsEZii','42iQofqL'];a20_0x43f5=function(){return _0x1de9a1;};return a20_0x43f5();}
|