browserstack-node-sdk 1.65.5 → 1.65.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadErrors.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';function a14_0xf7fc(_0x20f3b4,_0x34cdd1){const _0x18afec=a14_0x18af();return a14_0xf7fc=function(_0xf7fcda,_0x421e9a){_0xf7fcda=_0xf7fcda-0x1f2;let _0x523b90=_0x18afec[_0xf7fcda];return _0x523b90;},a14_0xf7fc(_0x20f3b4,_0x34cdd1);}function a14_0x18af(){const _0x213b27=['maxWorkers','WxxLo','Ifosk','BkTOc','xfoIk','env','../utils/constants','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','utf8','6197595BTAfuM','FyQIP','winstonLogger','ECdUw','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','hGovb','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','SDK_SETUP','kqAiv','24bLJwFu','jRjfs','platform','../../helpers/helper','iocVb','../v2/browserstackCLI','proxySettings','getPlatformName','GiRJv','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','close','getHubUrl','info','jasmine\x20child\x20(platformIndex=','getInstance','../../helpers/test-observability/utils','platforms','spec_dir','../../helpers/test-observability/constants','string','uOcBN','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','path','resolve','\x20concurrent)','getPackageVersion','4pMSnAK','MBXBE','8TAuRFA','**/*[sS]pec.?(m)js','slice','\x20:\x20','MxDtz','odhWJ','iKmOu','startsWith','glob','jasmine','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','EVENTS','KwBAR','debug','BROWSERSTACK_CLI_BIN_SESSION_ID','spec','cOowx','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','logLevel','push','10166544oIcjFV','util','win32','capability','xzoZd','oXRPR','format','QsFNR','JASMINE_CONFIG_PATH','exitCode','__isPuppeteerInstalled','length','trim','ESysl','ukkZK','accessibilityOptions','3585804sRkOdm','BxZvO','JASMINE','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','SVAoK','JeAQD','parallelsPerPlatform','prepareCapabilities','posix','BROWSERSTACK_RERUN_TESTS','CapmI','launchBuild','exports','config','map','filter','--helper=','binSessionId','\x27\x20:\x20','YwJjc','stop','parse','../../helpers/puppeteer-helper','printBuildLink','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','initialize',')\x20exited\x20with\x20code\x20','NOPih','from','2969687Drkeep','../../helpers/performance/constants','../../helpers/playwright-helper','error','@playwright/test','spec/support/jasmine.json','../../helpers/utilities','isUndefined','SDK_CLEANUP','isArray','DWwot','FRAMEWORKS','fHPdA','parseFileNames','lOFhu','uJkIj','36003cWLWVD','BROWSERSTACK_JASMINE_PARALLELS','FrRad','Wyhcc','QlYPL','410EMddBR','validPlatformsPresent','platformIndex','find','fauOV','cwd','isBrowserstackInfra','globSync','shouldReRunObservabilityTests','child_process','usBGm','join','stringify','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','510059CmavOf','ORyZs','testObservability','84515FROhjk','npx','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','mGmDx','TTgJX','../../helpers/testhub/testhubHandler','spec_files','specArgs','aJUGR','BROWSERSTACK_TEST_OBSERVABILITY_YML','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','assign','finalExecution','zfdsK','lUYma','all','true'];a14_0x18af=function(){return _0x213b27;};return a14_0x18af();}const a14_0xfec558=a14_0xf7fc;(function(_0x35fa81,_0x28f6c4){const _0x38bcec=a14_0xf7fc,_0x38b501=_0x35fa81();while(!![]){try{const _0x41188b=parseInt(_0x38bcec(0x20c))/0x1*(parseInt(_0x38bcec(0x249))/0x2)+parseInt(_0x38bcec(0x1f6))/0x3*(-parseInt(_0x38bcec(0x22f))/0x4)+-parseInt(_0x38bcec(0x226))/0x5+-parseInt(_0x38bcec(0x26f))/0x6+parseInt(_0x38bcec(0x28c))/0x7*(-parseInt(_0x38bcec(0x24b))/0x8)+parseInt(_0x38bcec(0x25f))/0x9+-parseInt(_0x38bcec(0x1fb))/0xa*(-parseInt(_0x38bcec(0x209))/0xb);if(_0x41188b===_0x28f6c4)break;else _0x38b501['push'](_0x38b501['shift']());}catch(_0x473749){_0x38b501['push'](_0x38b501['shift']());}}}(a14_0x18af,0xd3847));const fs=require('fs'),path=require(a14_0xfec558(0x245)),util=require(a14_0xfec558(0x260)),{spawn}=require(a14_0xfec558(0x204)),glob=require(a14_0xfec558(0x253)),pLimit=require('p-limit'),logger=require('../../helpers/logger')[a14_0xfec558(0x228)],helper=require(a14_0xfec558(0x232)),utilities=require(a14_0xfec558(0x292)),constants=require(a14_0xfec558(0x223)),TestHubHandler=require(a14_0xfec558(0x211)),testOpsHelper=require(a14_0xfec558(0x23e)),{debug}=require(a14_0xfec558(0x23e)),{FRAMEWORKS}=require(a14_0xfec558(0x241)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a14_0xfec558(0x28d))[a14_0xfec558(0x256)],BrowserstackCLI=require(a14_0xfec558(0x234)),{checkPwandBootstrapCli}=require(a14_0xfec558(0x28e)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0xfec558(0x285)),getMaxWorkers=(_0xd71f7,_0x4739c7)=>{const _0x9beabf=a14_0xfec558,_0x22b077={'WxxLo':function(_0x57fca7,_0x24e3bb){return _0x57fca7(_0x24e3bb);}};let _0x558823=0x1;if(!helper['isUndefined'](_0x4739c7[_0x9beabf(0x275)]))_0x558823=_0x22b077[_0x9beabf(0x21e)](parseInt,_0x4739c7[_0x9beabf(0x275)]);else!helper['isUndefined'](_0xd71f7[_0x9beabf(0x21d)])&&(_0x558823=_0xd71f7[_0x9beabf(0x21d)]);return _0x558823;},resolveJasmineConfigPath=()=>{const _0xac80a1=a14_0xfec558,_0x4ec1a3={};_0x4ec1a3['lUYma']=_0xac80a1(0x291);const _0x12f1ec=_0x4ec1a3,_0x2f1dd6=[];process[_0xac80a1(0x222)][_0xac80a1(0x267)]&&_0x2f1dd6[_0xac80a1(0x25e)](path['resolve'](process[_0xac80a1(0x200)](),process[_0xac80a1(0x222)][_0xac80a1(0x267)]));_0x2f1dd6['push'](path[_0xac80a1(0x246)](process[_0xac80a1(0x200)](),_0x12f1ec[_0xac80a1(0x21a)]));for(const _0x1408d0 of _0x2f1dd6){try{if(fs['existsSync'](_0x1408d0))return _0x1408d0;}catch(_0xddd0ee){}}return null;},enumerateSpecFiles=_0xb3b6a6=>{const _0x4217b2=a14_0xfec558,_0x3fa978={'ORyZs':function(_0x2ee7e1,_0x54abe2){return _0x2ee7e1(_0x54abe2);},'jRjfs':function(_0x27349a,_0x50b990){return _0x27349a>_0x50b990;},'DWwot':function(_0x3d93ce,_0x45ffbf){return _0x3d93ce(_0x45ffbf);},'ESysl':function(_0x142c52,_0x87a8cb){return _0x142c52<_0x87a8cb;},'FrRad':function(_0x58be5d,_0x25a115){return _0x58be5d===_0x25a115;},'BkTOc':_0x4217b2(0x242),'YwJjc':function(_0x5818cc,_0x718ea9){return _0x5818cc>_0x718ea9;},'iKmOu':function(_0x30bdce,_0x49376f,_0x4d9170){return _0x30bdce(_0x49376f,_0x4d9170);},'JeAQD':function(_0x8631a7,_0xdb833b){return _0x8631a7>_0xdb833b;},'ECdUw':function(_0x4dae8e){return _0x4dae8e();},'fauOV':_0x4217b2(0x225),'BxZvO':_0x4217b2(0x25a),'jArpE':_0x4217b2(0x24c),'kDbIW':function(_0x433910,_0x3f9c89,_0x5bd8ee){return _0x433910(_0x3f9c89,_0x5bd8ee);}};try{if(testOpsHelper[_0x4217b2(0x203)]()){const _0x157a21=testOpsHelper[_0x4217b2(0x1f3)](process['env'][_0x4217b2(0x278)]);if(Array[_0x4217b2(0x295)](_0x157a21)&&_0x3fa978[_0x4217b2(0x230)](_0x157a21[_0x4217b2(0x26a)],0x0))return _0x157a21[_0x4217b2(0x27d)](_0x4c6ff0=>path[_0x4217b2(0x246)](process[_0x4217b2(0x200)](),_0x4c6ff0[_0x4217b2(0x26b)]()))[_0x4217b2(0x27e)](Boolean);}}catch(_0x2ee22a){_0x3fa978[_0x4217b2(0x296)](debug,_0x4217b2(0x238)+util[_0x4217b2(0x265)](_0x2ee22a));}const _0xd6eb0c=[];try{for(let _0xc15bae=0x1;_0x3fa978[_0x4217b2(0x26c)](_0xc15bae,_0xb3b6a6[_0x4217b2(0x26a)]);_0xc15bae++){const _0x230b48=_0xb3b6a6[_0xc15bae];_0x3fa978[_0x4217b2(0x1f8)](typeof _0x230b48,_0x3fa978[_0x4217b2(0x220)])&&!_0x230b48[_0x4217b2(0x252)]('-')&&_0xd6eb0c[_0x4217b2(0x25e)](_0x230b48);}}catch(_0x87e044){}const _0x246108={'cwd':process[_0x4217b2(0x200)](),'absolute':!![],'nodir':!![]},_0x72f71f=(_0xd0ee66,_0x35c706)=>{const _0x104dc4=_0x4217b2,_0x13cf43=[];for(const _0x39913b of _0xd0ee66){try{const _0x7f19f7=_0x35c706?path[_0x104dc4(0x277)][_0x104dc4(0x206)](_0x35c706,_0x39913b):_0x39913b,_0x1a669c=glob[_0x104dc4(0x202)](_0x7f19f7,_0x246108);Array[_0x104dc4(0x295)](_0x1a669c)&&_0x13cf43['push'](..._0x1a669c);}catch(_0x2df1ef){_0x3fa978[_0x104dc4(0x20a)](debug,_0x104dc4(0x20e)+_0x39913b+_0x104dc4(0x281)+util['format'](_0x2df1ef));}}return _0x13cf43;};if(_0x3fa978[_0x4217b2(0x282)](_0xd6eb0c[_0x4217b2(0x26a)],0x0)){const _0x34ec4e=_0x3fa978[_0x4217b2(0x251)](_0x72f71f,_0xd6eb0c,null);if(_0x3fa978[_0x4217b2(0x274)](_0x34ec4e[_0x4217b2(0x26a)],0x0))return Array['from'](new Set(_0x34ec4e));return _0xd6eb0c[_0x4217b2(0x27d)](_0x217d5a=>path[_0x4217b2(0x246)](process[_0x4217b2(0x200)](),_0x217d5a));}try{const _0x6aaee0=_0x3fa978[_0x4217b2(0x229)](resolveJasmineConfigPath);if(_0x6aaee0){const _0x38330f=JSON[_0x4217b2(0x284)](fs['readFileSync'](_0x6aaee0,_0x3fa978[_0x4217b2(0x1ff)])),_0x325a5a=_0x38330f[_0x4217b2(0x240)]||_0x3fa978[_0x4217b2(0x270)],_0x422cda=Array[_0x4217b2(0x295)](_0x38330f['spec_files'])&&_0x3fa978['jRjfs'](_0x38330f['spec_files'][_0x4217b2(0x26a)],0x0)?_0x38330f[_0x4217b2(0x212)]:[_0x3fa978['jArpE']],_0x2fdaf1=_0x3fa978['kDbIW'](_0x72f71f,_0x422cda,_0x325a5a);if(_0x3fa978[_0x4217b2(0x274)](_0x2fdaf1[_0x4217b2(0x26a)],0x0))return Array[_0x4217b2(0x28b)](new Set(_0x2fdaf1));}}catch(_0x271781){_0x3fa978[_0x4217b2(0x20a)](debug,_0x4217b2(0x224)+util[_0x4217b2(0x265)](_0x271781));}return null;};async function run(_0x3fbd97,_0x26ea45,_0x52e2b5){const _0x3ecc9c=a14_0xfec558,_0x361e3f={'iocVb':function(_0x1f5787,_0x5e444f){return _0x1f5787>_0x5e444f;},'oXRPR':function(_0x17dfd4,_0x252b3d){return _0x17dfd4(_0x252b3d);},'KwBAR':_0x3ecc9c(0x21b),'hGovb':function(_0x3fbefa,_0xe2b394){return _0x3fbefa(_0xe2b394);},'kqAiv':function(_0x344153,_0x419954){return _0x344153||_0x419954;},'uOcBN':function(_0x170a5c,_0x1c0e1c){return _0x170a5c(_0x1c0e1c);},'aJUGR':function(_0x39cff7,_0x2ba79a){return _0x39cff7(_0x2ba79a);},'Ifosk':function(_0x5ee8d7,_0x1066fb,_0x236914,_0x52c721){return _0x5ee8d7(_0x1066fb,_0x236914,_0x52c721);},'NOPih':_0x3ecc9c(0x20d),'cOowx':_0x3ecc9c(0x254),'QUeOm':function(_0x3227d3,_0x1be431){return _0x3227d3===_0x1be431;},'SVAoK':_0x3ecc9c(0x261),'MxDtz':'inherit','xNFyE':_0x3ecc9c(0x239),'xfoIk':_0x3ecc9c(0x28f),'fHPdA':function(_0x543c7d,_0x548975){return _0x543c7d(_0x548975);},'ukkZK':_0x3ecc9c(0x290),'MBXBE':function(_0x28a18e){return _0x28a18e();},'zfdsK':function(_0x207349,_0xb5491c,_0x5b83b6,_0xa57a6e){return _0x207349(_0xb5491c,_0x5b83b6,_0xa57a6e);},'usBGm':function(_0x1675bc,_0x9ed2b6){return _0x1675bc!=_0x9ed2b6;},'uJkIj':_0x3ecc9c(0x21c),'mGmDx':function(_0x210ba3,_0x3c4665){return _0x210ba3(_0x3c4665);},'QlYPL':function(_0x57416d,_0x2aba96){return _0x57416d(_0x2aba96);},'oKLnZ':function(_0x21d1f1,_0x545937,_0x43cbaf){return _0x21d1f1(_0x545937,_0x43cbaf);},'Wyhcc':function(_0x48a38d,_0x568a45){return _0x48a38d*_0x568a45;},'CapmI':function(_0x12b068,_0x3ca6eb){return _0x12b068(_0x3ca6eb);},'QsFNR':function(_0xa90d76,_0x56e8c9){return _0xa90d76(_0x56e8c9);},'GiRJv':'test.setup.js','gHihs':function(_0x3f42ed,_0x41aa77){return _0x3f42ed(_0x41aa77);},'TTgJX':function(_0x3adccb,_0x208c7b){return _0x3adccb(_0x208c7b);},'wApHy':function(_0x1af7c5,_0x1eccf9){return _0x1af7c5(_0x1eccf9);},'odhWJ':function(_0x40802b,_0x38ef69){return _0x40802b<_0x38ef69;},'FyQIP':function(_0x134565,_0xa6e354){return _0x134565>_0xa6e354;}},_0xff19ca=helper[_0x3ecc9c(0x248)](_0x361e3f[_0x3ecc9c(0x26d)]);global['__isPlaywrightInstalled']=!!_0xff19ca;const _0x49d91d=_0x361e3f[_0x3ecc9c(0x24a)](getPuppeteerVersion);global[_0x3ecc9c(0x269)]=!!_0x49d91d;helper[_0x3ecc9c(0x201)]()&&(await _0x52e2b5[_0x3ecc9c(0x288)](_0x3fbd97),await helper['handleApp'](_0x52e2b5['config']));if(_0xff19ca)await _0x361e3f[_0x3ecc9c(0x21f)](checkPwandBootstrapCli,_0xff19ca,constants['FRAMEWORKS']['JASMINE'],_0x52e2b5);else _0x49d91d&&await _0x361e3f[_0x3ecc9c(0x219)](checkPuppeteerAndBootstrapCli,_0x49d91d,constants[_0x3ecc9c(0x297)][_0x3ecc9c(0x271)],_0x52e2b5);if(!_0x52e2b5[_0x3ecc9c(0x27c)])return;_0x361e3f[_0x3ecc9c(0x205)](_0x52e2b5[_0x3ecc9c(0x27c)][_0x3ecc9c(0x20b)],null)?process['env'][_0x3ecc9c(0x215)]=_0x52e2b5[_0x3ecc9c(0x27c)]['testObservability']:process[_0x3ecc9c(0x222)][_0x3ecc9c(0x215)]=_0x361e3f[_0x3ecc9c(0x1f5)];!helper[_0x3ecc9c(0x293)](_0x52e2b5[_0x3ecc9c(0x27c)]['accessibilityOptions'])&&(process[_0x3ecc9c(0x222)][_0x3ecc9c(0x25c)]=JSON[_0x3ecc9c(0x207)](_0x52e2b5[_0x3ecc9c(0x27c)][_0x3ecc9c(0x26e)]));try{await TestHubHandler[_0x3ecc9c(0x27a)](FRAMEWORKS[_0x3ecc9c(0x271)],_0x52e2b5);}catch(_0x297940){logger[_0x3ecc9c(0x28f)](_0x3ecc9c(0x208)+util['format'](_0x297940)),_0x361e3f[_0x3ecc9c(0x20f)](debug,_0x3ecc9c(0x287)+util[_0x3ecc9c(0x265)](_0x297940));}let _0x315460=![],_0x3e6297=[];try{_0x315460=helper['useW3C'](_0x52e2b5[_0x3ecc9c(0x27c)]),_0x3e6297=helper[_0x3ecc9c(0x276)](_0x52e2b5[_0x3ecc9c(0x27c)],_0x315460,constants[_0x3ecc9c(0x297)]['JASMINE']),process[_0x3ecc9c(0x222)]['BROWSERSTACK_CAPABILITIES']=JSON['stringify'](_0x3e6297);}catch(_0x34a6fb){_0x361e3f[_0x3ecc9c(0x264)](debug,_0x3ecc9c(0x216)+util[_0x3ecc9c(0x265)](_0x34a6fb));}let _0x51bc30=null,_0x37eabb=![];try{_0x51bc30=helper[_0x3ecc9c(0x23a)](_0x52e2b5[_0x3ecc9c(0x27c)]),_0x37eabb=helper[_0x3ecc9c(0x1fc)](_0x52e2b5[_0x3ecc9c(0x27c)]);}catch(_0xbcc379){_0x361e3f[_0x3ecc9c(0x1fa)](debug,_0x3ecc9c(0x244)+util[_0x3ecc9c(0x265)](_0xbcc379));}const _0x256ab8=_0x174a1c=>{const _0x59e664=_0x3ecc9c,_0x423c4c=Array[_0x59e664(0x295)](_0x3e6297)&&_0x361e3f[_0x59e664(0x233)](_0x3e6297['length'],_0x174a1c)?_0x3e6297[_0x174a1c]:Array[_0x59e664(0x295)](_0x3e6297)&&_0x361e3f[_0x59e664(0x233)](_0x3e6297[_0x59e664(0x26a)],0x0)?_0x3e6297[0x0]:{};return{'server':_0x51bc30,'capability':_0x423c4c,'proxySettings':_0x52e2b5['config'][_0x59e664(0x235)],'platform':helper[_0x59e664(0x236)](_0x423c4c),'browserStackLogLevel':_0x52e2b5[_0x59e664(0x27c)][_0x59e664(0x25d)],'platformIndex':_0x174a1c,'framework':constants[_0x59e664(0x297)][_0x59e664(0x271)],'platformCaps':_0x37eabb?Object[_0x59e664(0x217)]({'index':_0x174a1c},_0x52e2b5[_0x59e664(0x27c)][_0x59e664(0x23f)][_0x174a1c]):{'index':_0x174a1c}};};let _0x325935=0x1,_0x33e732=0x1,_0x4937fa=0x1;try{_0x325935=_0x361e3f['oKLnZ'](getMaxWorkers,_0x3fbd97,_0x52e2b5[_0x3ecc9c(0x27c)]),_0x33e732=_0x37eabb?_0x52e2b5[_0x3ecc9c(0x27c)][_0x3ecc9c(0x23f)][_0x3ecc9c(0x26a)]:0x1,_0x4937fa=_0x361e3f[_0x3ecc9c(0x1f9)](_0x33e732,_0x325935),process[_0x3ecc9c(0x222)][_0x3ecc9c(0x1f7)]=_0x361e3f[_0x3ecc9c(0x1f2)](String,_0x4937fa);}catch(_0x5b3d68){_0x361e3f[_0x3ecc9c(0x279)](debug,'Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20'+util[_0x3ecc9c(0x265)](_0x5b3d68));}try{BrowserstackCLI[_0x3ecc9c(0x23d)]()[_0x3ecc9c(0x280)]&&(process['env'][_0x3ecc9c(0x259)]=BrowserstackCLI['getInstance']()[_0x3ecc9c(0x280)]);}catch(_0x5a00b8){_0x361e3f[_0x3ecc9c(0x266)](debug,_0x3ecc9c(0x22a)+util[_0x3ecc9c(0x265)](_0x5a00b8));}const _0x31f19f=[];try{const _0x5d6202=path[_0x3ecc9c(0x246)](__dirname,_0x361e3f[_0x3ecc9c(0x237)]);fs['existsSync'](_0x5d6202)?_0x31f19f[_0x3ecc9c(0x25e)](_0x3ecc9c(0x27f)+_0x5d6202):_0x361e3f['gHihs'](debug,'Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20'+_0x5d6202+';\x20proceeding\x20without\x20injection');}catch(_0x27f78f){_0x361e3f[_0x3ecc9c(0x210)](debug,_0x3ecc9c(0x22c)+util['format'](_0x27f78f));}const _0x3d3864=_0x26ea45[_0x3ecc9c(0x24d)](0x1),_0x180639=_0x361e3f['wApHy'](enumerateSpecFiles,_0x26ea45),_0x34249e=[];for(let _0x22d967=0x0;_0x361e3f[_0x3ecc9c(0x250)](_0x22d967,_0x33e732);_0x22d967++){if(_0x361e3f[_0x3ecc9c(0x227)](_0x325935,0x1)&&Array['isArray'](_0x180639)&&_0x361e3f[_0x3ecc9c(0x233)](_0x180639['length'],0x0))for(const _0x4d3f6c of _0x180639){const _0x512f3c={};_0x512f3c[_0x3ecc9c(0x1fd)]=_0x22d967,_0x512f3c['specArgs']=[_0x4d3f6c],_0x34249e[_0x3ecc9c(0x25e)](_0x512f3c);}else{const _0x1e2670={};_0x1e2670[_0x3ecc9c(0x1fd)]=_0x22d967,_0x1e2670[_0x3ecc9c(0x213)]=_0x180639,_0x34249e['push'](_0x1e2670);}}logger[_0x3ecc9c(0x23b)]('Running\x20your\x20Jasmine\x20tests\x20across\x20'+_0x33e732+'\x20platform(s),\x20parallelsPerPlatform='+_0x325935+'\x20('+_0x34249e[_0x3ecc9c(0x26a)]+'\x20work-item(s),\x20max\x20'+_0x4937fa+_0x3ecc9c(0x247)),PerformanceTester['end'](PerformanceEvents[_0x3ecc9c(0x22d)]);const _0x40dd15=_0x189334=>new Promise(_0x42bac9=>{const _0x266297=_0x3ecc9c,_0x17e4ec={'xzoZd':_0x361e3f[_0x266297(0x257)],'lOFhu':function(_0x106fe8,_0x410833){const _0x4605d5=_0x266297;return _0x361e3f[_0x4605d5(0x22b)](_0x106fe8,_0x410833);},'AWhps':function(_0x1cd816,_0x4ea181){const _0x58efb7=_0x266297;return _0x361e3f[_0x58efb7(0x22e)](_0x1cd816,_0x4ea181);}};let _0x30f007;try{const _0x5cf77f=_0x361e3f[_0x266297(0x243)](_0x256ab8,_0x189334['platformIndex']);_0x30f007=Object[_0x266297(0x217)]({},process[_0x266297(0x222)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x266297(0x207)](_0x5cf77f),'BROWSERSTACK_CAPABILITIES':JSON[_0x266297(0x207)]([_0x5cf77f[_0x266297(0x262)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x33d225){_0x361e3f[_0x266297(0x214)](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x189334[_0x266297(0x1fd)]+_0x266297(0x24e)+util[_0x266297(0x265)](_0x33d225)),_0x30f007=Object['assign']({},process['env']);}const _0x105889=Array[_0x266297(0x295)](_0x189334[_0x266297(0x213)])?_0x189334['specArgs']:[],_0x5c0c54=_0x361e3f[_0x266297(0x233)](_0x105889[_0x266297(0x26a)],0x0)?_0x3d3864['filter'](_0x1bd94a=>typeof _0x1bd94a===_0x266297(0x242)&&_0x1bd94a['startsWith']('-')):_0x3d3864,_0x388638=[..._0x31f19f,..._0x5c0c54,..._0x105889];try{const _0x23ee79=_0x361e3f[_0x266297(0x21f)](spawn,_0x361e3f[_0x266297(0x28a)],[_0x361e3f[_0x266297(0x25b)],..._0x388638],{'shell':_0x361e3f['QUeOm'](process[_0x266297(0x231)],_0x361e3f[_0x266297(0x273)]),'stdio':_0x361e3f[_0x266297(0x24f)],'env':_0x30f007});_0x23ee79['on'](_0x361e3f['xNFyE'],_0x963ce4=>{const _0x15af7e=_0x266297;logger[_0x15af7e(0x258)](_0x15af7e(0x23c)+_0x189334[_0x15af7e(0x1fd)]+',\x20specs='+(_0x105889[_0x15af7e(0x26a)]?_0x105889[_0x15af7e(0x206)](','):_0x17e4ec[_0x15af7e(0x263)])+_0x15af7e(0x289)+_0x963ce4),_0x17e4ec[_0x15af7e(0x1f4)](_0x42bac9,_0x17e4ec['AWhps'](_0x963ce4,0x0));}),_0x23ee79['on'](_0x361e3f[_0x266297(0x221)],_0x545c67=>{const _0x4a0e3c=_0x266297;_0x361e3f[_0x4a0e3c(0x264)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x189334[_0x4a0e3c(0x1fd)]+')\x20:\x20'+util[_0x4a0e3c(0x265)](_0x545c67)),_0x361e3f[_0x4a0e3c(0x264)](_0x42bac9,0x1);});}catch(_0x1c6d18){_0x361e3f[_0x266297(0x1f2)](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x189334[_0x266297(0x1fd)]+')\x20:\x20'+util['format'](_0x1c6d18)),_0x361e3f['aJUGR'](_0x42bac9,0x1);}}),_0x51d476=_0x361e3f['fHPdA'](pLimit,_0x361e3f[_0x3ecc9c(0x233)](_0x4937fa,0x0)?_0x4937fa:0x1),_0x4ce8ba=await Promise[_0x3ecc9c(0x21b)](_0x34249e[_0x3ecc9c(0x27d)](_0x1086b7=>_0x51d476(()=>_0x40dd15(_0x1086b7))));PerformanceTester['start'](PerformanceEvents[_0x3ecc9c(0x294)]);const _0x2404cc=_0x4ce8ba[_0x3ecc9c(0x1fe)](_0x27d1d4=>_0x27d1d4!==0x0)||0x0;process[_0x3ecc9c(0x268)]=_0x2404cc,logger[_0x3ecc9c(0x258)](_0x3ecc9c(0x272)+_0x2404cc);const _0x149104=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler[_0x3ecc9c(0x283)](),await BrowserstackCLI['getInstance']()[_0x3ecc9c(0x283)]();}catch(_0x25d056){_0x361e3f['CapmI'](debug,_0x3ecc9c(0x255)+util[_0x3ecc9c(0x265)](_0x25d056));}testOpsHelper[_0x3ecc9c(0x286)](),await utilities[_0x3ecc9c(0x218)](_0x52e2b5,_0x149104);}module[a14_0xfec558(0x27b)]=run;
|
|
2
|
+
'use strict';function a14_0x10cc(){const _0x50ecd3=['BROWSERSTACK_JASMINE_PARALLELS','trim','hQjAn','inherit',')\x20exited\x20with\x20code\x20','cwd','225GEpVlI','validPlatformsPresent','FXGlP','child_process','rRZuf','isUndefined','existsSync','getHubUrl','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_CAPABILITIES','utf8','launchBuild','path','qFwYC','proxySettings','spec','end','../../helpers/logger','\x20concurrent)','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','getInstance','env','wzGDT','testObservability','nEvqZ','txUIK','18885dZgBRN',')\x20:\x20','../../helpers/performance/performance-tester','npx','BROWSERSTACK_RERUN_TESTS','cCyeW','../../helpers/puppeteer-helper','logLevel','BmKEs','BIpad','../../helpers/test-observability/utils','posix','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','qFtyD','FRAMEWORKS','iQNoh','binSessionId','../v2/browserstackCLI','string','isBrowserstackInfra','from','globSync','**/*[sS]pec.?(m)js','746930hvVJqz','slice','HkibK','EVENTS','../../helpers/test-observability/constants','start','error','info','wVHop','jasmine','accessibilityOptions','readFileSync','kvzhJ','JASMINE','resolve','debug','dRint','isCLIEnabled','spec/support/jasmine.json','platform','platformIndex','vBNqN','win32','parallelsPerPlatform','PxiPn','JASMINE_CONFIG_PATH','prepareCapabilities','capability','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','length','SDK_SETUP','maxWorkers','teXLV','\x20:\x20','nnMdg','WSSKn','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','getPackageVersion','push','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','\x20work-item(s),\x20max\x20','exitCode','specArgs','../../helpers/utilities','152NNTxqr','config','map','1199720EhLuXN','../../helpers/helper','102jYFBgL','platforms','Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20','printBuildLink','JXpaA','18QMJYof','IoYLw','shouldReRunObservabilityTests',';\x20proceeding\x20without\x20injection','util','zPRNR','exports','spec_dir','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','initialize','../../helpers/performance/constants','isArray','229453ILpvUh','drRcM','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','parseFileNames','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','format','xhzsR',',\x20specs=','stringify','jasmine\x20child\x20(platformIndex=','21236ozJvXI','lzyyI','spec_files','1434730KNmpOP','assign','mbRtP','26262093JDRkwc','QrevU','@playwright/test','../../helpers/playwright-helper','all','join','filter','bBPIq','YaeOX','true','\x27\x20:\x20','close','GJtzD','startsWith','\x20platform(s),\x20parallelsPerPlatform=','Running\x20your\x20Jasmine\x20tests\x20across\x20','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','p-limit','SmQle','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','__isPuppeteerInstalled','WLNlk','../utils/constants'];a14_0x10cc=function(){return _0x50ecd3;};return a14_0x10cc();}const a14_0x35ce19=a14_0x8bcd;(function(_0x4e72d0,_0x4f2846){const _0x5ab8d4=a14_0x8bcd,_0x1aa7d8=_0x4e72d0();while(!![]){try{const _0x3ef3ec=-parseInt(_0x5ab8d4(0x184))/0x1+-parseInt(_0x5ab8d4(0x113))/0x2+-parseInt(_0x5ab8d4(0x153))/0x3*(-parseInt(_0x5ab8d4(0x130))/0x4)+-parseInt(_0x5ab8d4(0x16d))/0x5*(parseInt(_0x5ab8d4(0x115))/0x6)+-parseInt(_0x5ab8d4(0x126))/0x7*(parseInt(_0x5ab8d4(0x110))/0x8)+-parseInt(_0x5ab8d4(0x11a))/0x9*(parseInt(_0x5ab8d4(0x133))/0xa)+parseInt(_0x5ab8d4(0x136))/0xb;if(_0x3ef3ec===_0x4f2846)break;else _0x1aa7d8['push'](_0x1aa7d8['shift']());}catch(_0x56f6ac){_0x1aa7d8['push'](_0x1aa7d8['shift']());}}}(a14_0x10cc,0x717fc));function a14_0x8bcd(_0x5dce76,_0x364866){const _0x10cc98=a14_0x10cc();return a14_0x8bcd=function(_0x8bcd7b,_0x40b36e){_0x8bcd7b=_0x8bcd7b-0xe8;let _0x40481a=_0x10cc98[_0x8bcd7b];return _0x40481a;},a14_0x8bcd(_0x5dce76,_0x364866);}const fs=require('fs'),path=require(a14_0x35ce19(0x15f)),util=require(a14_0x35ce19(0x11e)),{spawn}=require(a14_0x35ce19(0x156)),glob=require('glob'),pLimit=require(a14_0x35ce19(0x147)),logger=require(a14_0x35ce19(0x164))['winstonLogger'],helper=require(a14_0x35ce19(0x114)),utilities=require(a14_0x35ce19(0x10f)),constants=require(a14_0x35ce19(0x14c)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a14_0x35ce19(0x177)),{FRAMEWORKS}=require(a14_0x35ce19(0xe8)),PerformanceTester=require(a14_0x35ce19(0x16f)),PerformanceEvents=require(a14_0x35ce19(0x124))[a14_0x35ce19(0x187)],BrowserstackCLI=require(a14_0x35ce19(0x17e)),{checkPwandBootstrapCli}=require(a14_0x35ce19(0x139)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a14_0x35ce19(0x173)),getMaxWorkers=(_0x5da645,_0x3b09d6)=>{const _0x155cb9=a14_0x35ce19,_0x40590f={'mbRtP':function(_0x1157fe,_0x442ff5){return _0x1157fe(_0x442ff5);}};let _0x23b4c2=0x1;if(!helper[_0x155cb9(0x158)](_0x3b09d6[_0x155cb9(0xfb)]))_0x23b4c2=_0x40590f[_0x155cb9(0x135)](parseInt,_0x3b09d6[_0x155cb9(0xfb)]);else!helper[_0x155cb9(0x158)](_0x5da645[_0x155cb9(0x103)])&&(_0x23b4c2=_0x5da645[_0x155cb9(0x103)]);return _0x23b4c2;},resolveJasmineConfigPath=()=>{const _0x2eed50=a14_0x35ce19,_0x506116={};_0x506116[_0x2eed50(0x175)]=_0x2eed50(0xf6);const _0x5600c7=_0x506116,_0x2c7dea=[];process['env'][_0x2eed50(0xfd)]&&_0x2c7dea[_0x2eed50(0x10a)](path['resolve'](process[_0x2eed50(0x152)](),process[_0x2eed50(0x168)][_0x2eed50(0xfd)]));_0x2c7dea[_0x2eed50(0x10a)](path[_0x2eed50(0xf2)](process[_0x2eed50(0x152)](),_0x5600c7[_0x2eed50(0x175)]));for(const _0x3f5ddd of _0x2c7dea){try{if(fs[_0x2eed50(0x159)](_0x3f5ddd))return _0x3f5ddd;}catch(_0x2151dd){}}return null;},enumerateSpecFiles=_0x1bcd97=>{const _0x42fb4c=a14_0x35ce19,_0x5e988a={'nnMdg':function(_0x58f4e,_0x161819){return _0x58f4e(_0x161819);},'kvzhJ':function(_0x4cc058,_0x59380c){return _0x4cc058>_0x59380c;},'hILRz':function(_0x2adbc3,_0x5b7005){return _0x2adbc3(_0x5b7005);},'DMZxd':function(_0xd0b506,_0x33b1fd){return _0xd0b506<_0x33b1fd;},'cCyeW':function(_0x5bbfca,_0x468f8a){return _0x5bbfca===_0x468f8a;},'bAnng':_0x42fb4c(0x17f),'XvQAq':function(_0xd03f41,_0x25b87,_0x11b37f){return _0xd03f41(_0x25b87,_0x11b37f);},'PxiPn':function(_0x2f0317){return _0x2f0317();},'bBPIq':_0x42fb4c(0x15d),'Dvwkk':_0x42fb4c(0x162),'qFtyD':_0x42fb4c(0x183),'GJtzD':function(_0x25cc6d,_0x303b49,_0x34e4da){return _0x25cc6d(_0x303b49,_0x34e4da);},'oBZJE':function(_0x2af8d7,_0x363fd4){return _0x2af8d7(_0x363fd4);}};try{if(testOpsHelper[_0x42fb4c(0x11c)]()){const _0x418f71=testOpsHelper[_0x42fb4c(0x129)](process['env'][_0x42fb4c(0x171)]);if(Array[_0x42fb4c(0x125)](_0x418f71)&&_0x5e988a[_0x42fb4c(0xf0)](_0x418f71['length'],0x0))return _0x418f71[_0x42fb4c(0x112)](_0x5f2b61=>path[_0x42fb4c(0xf2)](process[_0x42fb4c(0x152)](),_0x5f2b61[_0x42fb4c(0x14e)]()))[_0x42fb4c(0x13c)](Boolean);}}catch(_0x455c20){_0x5e988a['hILRz'](debug,_0x42fb4c(0x128)+util[_0x42fb4c(0x12b)](_0x455c20));}const _0x57509c=[];try{for(let _0x3beba1=0x1;_0x5e988a['DMZxd'](_0x3beba1,_0x1bcd97[_0x42fb4c(0x101)]);_0x3beba1++){const _0xbb3b2b=_0x1bcd97[_0x3beba1];_0x5e988a[_0x42fb4c(0x172)](typeof _0xbb3b2b,_0x5e988a['bAnng'])&&!_0xbb3b2b[_0x42fb4c(0x143)]('-')&&_0x57509c[_0x42fb4c(0x10a)](_0xbb3b2b);}}catch(_0x21ca48){}const _0x37f3f7={'cwd':process[_0x42fb4c(0x152)](),'absolute':!![],'nodir':!![]},_0x64294=(_0x51241b,_0x3d28f9)=>{const _0x2f2b2f=_0x42fb4c,_0x3a1e07=[];for(const _0x5e0b0d of _0x51241b){try{const _0x15843d=_0x3d28f9?path[_0x2f2b2f(0x178)][_0x2f2b2f(0x13b)](_0x3d28f9,_0x5e0b0d):_0x5e0b0d,_0x26c797=glob[_0x2f2b2f(0x182)](_0x15843d,_0x37f3f7);Array[_0x2f2b2f(0x125)](_0x26c797)&&_0x3a1e07[_0x2f2b2f(0x10a)](..._0x26c797);}catch(_0xfdfe25){_0x5e988a[_0x2f2b2f(0x106)](debug,'Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27'+_0x5e0b0d+_0x2f2b2f(0x140)+util[_0x2f2b2f(0x12b)](_0xfdfe25));}}return _0x3a1e07;};if(_0x5e988a[_0x42fb4c(0xf0)](_0x57509c[_0x42fb4c(0x101)],0x0)){const _0x33aaf1=_0x5e988a['XvQAq'](_0x64294,_0x57509c,null);if(_0x5e988a[_0x42fb4c(0xf0)](_0x33aaf1[_0x42fb4c(0x101)],0x0))return Array['from'](new Set(_0x33aaf1));return _0x57509c[_0x42fb4c(0x112)](_0x48b440=>path['resolve'](process['cwd'](),_0x48b440));}try{const _0x34710c=_0x5e988a[_0x42fb4c(0xfc)](resolveJasmineConfigPath);if(_0x34710c){const _0x20a810=JSON['parse'](fs[_0x42fb4c(0xef)](_0x34710c,_0x5e988a[_0x42fb4c(0x13d)])),_0x4c39b5=_0x20a810[_0x42fb4c(0x121)]||_0x5e988a['Dvwkk'],_0x4a9966=Array['isArray'](_0x20a810[_0x42fb4c(0x132)])&&_0x5e988a[_0x42fb4c(0xf0)](_0x20a810['spec_files']['length'],0x0)?_0x20a810['spec_files']:[_0x5e988a[_0x42fb4c(0x17a)]],_0x5cc405=_0x5e988a[_0x42fb4c(0x142)](_0x64294,_0x4a9966,_0x4c39b5);if(_0x5e988a[_0x42fb4c(0xf0)](_0x5cc405[_0x42fb4c(0x101)],0x0))return Array[_0x42fb4c(0x181)](new Set(_0x5cc405));}}catch(_0x47d201){_0x5e988a['oBZJE'](debug,_0x42fb4c(0x117)+util[_0x42fb4c(0x12b)](_0x47d201));}return null;};async function run(_0x2d3ba4,_0x3eeb25,_0x4e4200){const _0x272184=a14_0x35ce19,_0x4c81b2={'dRint':function(_0x37a9ab,_0x52a6d3){return _0x37a9ab>_0x52a6d3;},'zPRNR':function(_0x937500,_0x1b7fca){return _0x937500>_0x1b7fca;},'fmoSt':_0x272184(0x13a),'teXLV':function(_0x16af10,_0x1761e4){return _0x16af10(_0x1761e4);},'ccnhj':function(_0x5eb7c8,_0x1d6c32){return _0x5eb7c8||_0x1d6c32;},'TlKsG':function(_0x3972d2,_0x56c6e0){return _0x3972d2(_0x56c6e0);},'WLNlk':function(_0x36d687,_0x1e560f){return _0x36d687>_0x1e560f;},'drRcM':function(_0x46598a,_0x2705ea,_0x5c4935,_0x5df8ee){return _0x46598a(_0x2705ea,_0x5c4935,_0x5df8ee);},'HkibK':_0x272184(0x170),'wVHop':_0x272184(0xed),'DzBvD':function(_0x76ee82,_0x2db93a){return _0x76ee82===_0x2db93a;},'XtbVS':_0x272184(0xfa),'qFwYC':_0x272184(0x150),'WSSKn':_0x272184(0x141),'wzGDT':_0x272184(0xea),'mnpGG':function(_0x1e0de4,_0x1d0a07){return _0x1e0de4(_0x1d0a07);},'txUIK':function(_0x17ba7e,_0x242340){return _0x17ba7e(_0x242340);},'SmQle':_0x272184(0x138),'JXpaA':function(_0x2f4697){return _0x2f4697();},'iQNoh':function(_0x27ad97,_0x45a397,_0x1f082f,_0x4b2986){return _0x27ad97(_0x45a397,_0x1f082f,_0x4b2986);},'hQjAn':function(_0x49852e,_0x167772){return _0x49852e!=_0x167772;},'osVEG':_0x272184(0x13f),'xhzsR':function(_0xdb23e7,_0x3b85bd){return _0xdb23e7(_0x3b85bd);},'QrevU':function(_0x46a825,_0x4d2717,_0x393497){return _0x46a825(_0x4d2717,_0x393497);},'FXGlP':function(_0x41b582,_0x953960){return _0x41b582*_0x953960;},'nEvqZ':'test.setup.js','YaeOX':function(_0x14eb26,_0x284719){return _0x14eb26(_0x284719);},'BIpad':function(_0x1c856c,_0x44dbeb){return _0x1c856c(_0x44dbeb);},'bXKoC':function(_0xa371c8,_0x237083){return _0xa371c8(_0x237083);},'LiRlN':function(_0x5d34cd,_0x4cea84){return _0x5d34cd<_0x4cea84;},'IoYLw':function(_0xb86f79,_0x45255a){return _0xb86f79(_0x45255a);},'kIXVM':function(_0x1f3b83,_0x181609){return _0x1f3b83(_0x181609);}},_0x44a393=helper[_0x272184(0x109)](_0x4c81b2[_0x272184(0x148)]);global['__isPlaywrightInstalled']=!!_0x44a393;const _0x177ce7=_0x4c81b2[_0x272184(0x119)](getPuppeteerVersion);global[_0x272184(0x14a)]=!!_0x177ce7;helper[_0x272184(0x180)]()&&(await _0x4e4200[_0x272184(0x123)](_0x2d3ba4),await helper['handleApp'](_0x4e4200['config']));if(_0x44a393)await _0x4c81b2[_0x272184(0x17c)](checkPwandBootstrapCli,_0x44a393,constants[_0x272184(0x17b)][_0x272184(0xf1)],_0x4e4200);else _0x177ce7&&await _0x4c81b2[_0x272184(0x127)](checkPuppeteerAndBootstrapCli,_0x177ce7,constants[_0x272184(0x17b)][_0x272184(0xf1)],_0x4e4200);if(!_0x4e4200[_0x272184(0x111)])return;_0x4c81b2[_0x272184(0x14f)](_0x4e4200[_0x272184(0x111)]['testObservability'],null)?process[_0x272184(0x168)][_0x272184(0x15b)]=_0x4e4200[_0x272184(0x111)][_0x272184(0x16a)]:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x4c81b2['osVEG'];!helper['isUndefined'](_0x4e4200[_0x272184(0x111)][_0x272184(0xee)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x272184(0x12e)](_0x4e4200[_0x272184(0x111)]['accessibilityOptions']));try{await TestHubHandler[_0x272184(0x15e)](FRAMEWORKS['JASMINE'],_0x4e4200);}catch(_0x13bc51){logger['error'](_0x272184(0x149)+util['format'](_0x13bc51)),_0x4c81b2[_0x272184(0x12c)](debug,_0x272184(0x166)+util[_0x272184(0x12b)](_0x13bc51));}let _0x71c092=![],_0x589573=[];try{_0x71c092=helper['useW3C'](_0x4e4200['config']),_0x589573=helper[_0x272184(0xfe)](_0x4e4200['config'],_0x71c092,constants[_0x272184(0x17b)][_0x272184(0xf1)]),process['env'][_0x272184(0x15c)]=JSON[_0x272184(0x12e)](_0x589573);}catch(_0x2c136b){_0x4c81b2[_0x272184(0x12c)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x272184(0x12b)](_0x2c136b));}let _0x2b5302=null,_0x1bcabd=![];try{_0x2b5302=helper[_0x272184(0x15a)](_0x4e4200[_0x272184(0x111)]),_0x1bcabd=helper[_0x272184(0x154)](_0x4e4200['config']);}catch(_0xa55535){_0x4c81b2[_0x272184(0x104)](debug,'Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20'+util[_0x272184(0x12b)](_0xa55535));}const _0x100f48=_0x355a57=>{const _0x49430d=_0x272184,_0x3ad0c9=Array['isArray'](_0x589573)&&_0x4c81b2[_0x49430d(0xf4)](_0x589573[_0x49430d(0x101)],_0x355a57)?_0x589573[_0x355a57]:Array[_0x49430d(0x125)](_0x589573)&&_0x4c81b2[_0x49430d(0x11f)](_0x589573['length'],0x0)?_0x589573[0x0]:{};return{'server':_0x2b5302,'capability':_0x3ad0c9,'proxySettings':_0x4e4200['config'][_0x49430d(0x161)],'platform':helper['getPlatformName'](_0x3ad0c9),'browserStackLogLevel':_0x4e4200[_0x49430d(0x111)][_0x49430d(0x174)],'platformIndex':_0x355a57,'framework':constants['FRAMEWORKS'][_0x49430d(0xf1)],'platformCaps':_0x1bcabd?Object[_0x49430d(0x134)]({'index':_0x355a57},_0x4e4200[_0x49430d(0x111)][_0x49430d(0x116)][_0x355a57]):{'index':_0x355a57}};};let _0x33cb35=0x1,_0x10d1b8=0x1,_0x5083e2=0x1;try{_0x33cb35=_0x4c81b2[_0x272184(0x137)](getMaxWorkers,_0x2d3ba4,_0x4e4200[_0x272184(0x111)]),_0x10d1b8=_0x1bcabd?_0x4e4200[_0x272184(0x111)][_0x272184(0x116)]['length']:0x1,_0x5083e2=_0x4c81b2[_0x272184(0x155)](_0x10d1b8,_0x33cb35),process[_0x272184(0x168)][_0x272184(0x14d)]=_0x4c81b2[_0x272184(0x12c)](String,_0x5083e2);}catch(_0x1dc132){_0x4c81b2['mnpGG'](debug,_0x272184(0x179)+util[_0x272184(0x12b)](_0x1dc132));}try{BrowserstackCLI[_0x272184(0x167)]()[_0x272184(0x17d)]&&(process[_0x272184(0x168)]['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI[_0x272184(0x167)]()[_0x272184(0x17d)]);}catch(_0x4cb8f1){_0x4c81b2[_0x272184(0x104)](debug,_0x272184(0x12a)+util[_0x272184(0x12b)](_0x4cb8f1));}const _0x31e6a7=[];try{const _0x6dbe1f=path[_0x272184(0xf2)](__dirname,_0x4c81b2[_0x272184(0x16b)]);fs[_0x272184(0x159)](_0x6dbe1f)?_0x31e6a7[_0x272184(0x10a)]('--helper='+_0x6dbe1f):_0x4c81b2[_0x272184(0x13e)](debug,_0x272184(0x122)+_0x6dbe1f+_0x272184(0x11d));}catch(_0x52cb8b){_0x4c81b2[_0x272184(0x176)](debug,_0x272184(0x146)+util['format'](_0x52cb8b));}const _0x54303c=_0x3eeb25[_0x272184(0x185)](0x1),_0x1aa195=_0x4c81b2['bXKoC'](enumerateSpecFiles,_0x3eeb25),_0x11ebda=[];for(let _0x143860=0x0;_0x4c81b2['LiRlN'](_0x143860,_0x10d1b8);_0x143860++){if(_0x4c81b2[_0x272184(0xf4)](_0x33cb35,0x1)&&Array[_0x272184(0x125)](_0x1aa195)&&_0x4c81b2[_0x272184(0xf4)](_0x1aa195[_0x272184(0x101)],0x0))for(const _0xe87913 of _0x1aa195){const _0x1ea8f1={};_0x1ea8f1[_0x272184(0xf8)]=_0x143860,_0x1ea8f1[_0x272184(0x10e)]=[_0xe87913],_0x11ebda[_0x272184(0x10a)](_0x1ea8f1);}else{const _0x518a06={};_0x518a06[_0x272184(0xf8)]=_0x143860,_0x518a06[_0x272184(0x10e)]=_0x1aa195,_0x11ebda['push'](_0x518a06);}}logger[_0x272184(0xeb)](_0x272184(0x145)+_0x10d1b8+_0x272184(0x144)+_0x33cb35+'\x20('+_0x11ebda[_0x272184(0x101)]+_0x272184(0x10c)+_0x5083e2+_0x272184(0x165)),PerformanceTester[_0x272184(0x163)](PerformanceEvents[_0x272184(0x102)]);const _0xe9dc72=_0x3a4902=>new Promise(_0xd3b389=>{const _0x131072=_0x272184,_0x57333a={'vBNqN':_0x4c81b2['fmoSt'],'lzyyI':function(_0xc83df6,_0x489a22){const _0x4297de=a14_0x8bcd;return _0x4c81b2[_0x4297de(0x104)](_0xc83df6,_0x489a22);},'rRZuf':function(_0x36a5c6,_0xd233de){return _0x4c81b2['ccnhj'](_0x36a5c6,_0xd233de);}};let _0x399b67;try{const _0x290a5b=_0x4c81b2[_0x131072(0x104)](_0x100f48,_0x3a4902['platformIndex']);_0x399b67=Object[_0x131072(0x134)]({},process[_0x131072(0x168)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x131072(0x12e)](_0x290a5b),'BROWSERSTACK_CAPABILITIES':JSON[_0x131072(0x12e)]([_0x290a5b[_0x131072(0xff)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x1c64f7){_0x4c81b2['TlKsG'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x3a4902['platformIndex']+_0x131072(0x105)+util['format'](_0x1c64f7)),_0x399b67=Object[_0x131072(0x134)]({},process[_0x131072(0x168)]);}const _0x325c68=Array[_0x131072(0x125)](_0x3a4902[_0x131072(0x10e)])?_0x3a4902['specArgs']:[],_0x3e4056=_0x4c81b2[_0x131072(0x14b)](_0x325c68[_0x131072(0x101)],0x0)?_0x54303c[_0x131072(0x13c)](_0x40f924=>typeof _0x40f924===_0x131072(0x17f)&&_0x40f924[_0x131072(0x143)]('-')):_0x54303c,_0x5e30ef=[..._0x31e6a7,..._0x3e4056,..._0x325c68];try{const _0x436d31=_0x4c81b2['drRcM'](spawn,_0x4c81b2[_0x131072(0x186)],[_0x4c81b2[_0x131072(0xec)],..._0x5e30ef],{'shell':_0x4c81b2['DzBvD'](process[_0x131072(0xf7)],_0x4c81b2['XtbVS']),'stdio':_0x4c81b2[_0x131072(0x160)],'env':_0x399b67});_0x436d31['on'](_0x4c81b2[_0x131072(0x107)],_0x16a5b4=>{const _0x459def=_0x131072;logger[_0x459def(0xf3)](_0x459def(0x12f)+_0x3a4902[_0x459def(0xf8)]+_0x459def(0x12d)+(_0x325c68['length']?_0x325c68['join'](','):_0x57333a[_0x459def(0xf9)])+_0x459def(0x151)+_0x16a5b4),_0x57333a[_0x459def(0x131)](_0xd3b389,_0x57333a[_0x459def(0x157)](_0x16a5b4,0x0));}),_0x436d31['on'](_0x4c81b2[_0x131072(0x169)],_0x496c04=>{const _0xcc9d74=_0x131072;_0x57333a['lzyyI'](debug,_0xcc9d74(0x100)+_0x3a4902[_0xcc9d74(0xf8)]+')\x20:\x20'+util[_0xcc9d74(0x12b)](_0x496c04)),_0x57333a['lzyyI'](_0xd3b389,0x1);});}catch(_0x44331f){_0x4c81b2['mnpGG'](debug,'Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex='+_0x3a4902[_0x131072(0xf8)]+_0x131072(0x16e)+util[_0x131072(0x12b)](_0x44331f)),_0x4c81b2[_0x131072(0x16c)](_0xd3b389,0x1);}}),_0x6901d6=_0x4c81b2[_0x272184(0x11b)](pLimit,_0x4c81b2['WLNlk'](_0x5083e2,0x0)?_0x5083e2:0x1),_0x34eea1=await Promise['all'](_0x11ebda[_0x272184(0x112)](_0x258a6a=>_0x6901d6(()=>_0xe9dc72(_0x258a6a))));PerformanceTester[_0x272184(0xe9)](PerformanceEvents['SDK_CLEANUP']);const _0x483235=_0x34eea1['find'](_0x5ec6b9=>_0x5ec6b9!==0x0)||0x0;process[_0x272184(0x10d)]=_0x483235,logger['debug'](_0x272184(0x10b)+_0x483235);const _0x1f83b7=BrowserstackCLI[_0x272184(0xf5)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x272184(0x167)]()['stop']();}catch(_0x247434){_0x4c81b2['kIXVM'](debug,_0x272184(0x108)+util[_0x272184(0x12b)](_0x247434));}testOpsHelper[_0x272184(0x118)](),await utilities['finalExecution'](_0x4e4200,_0x1f83b7);}module[a14_0x35ce19(0x120)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a15_0x420153=a15_0x1dea;(function(_0x217a2e,_0x5df5ba){const _0x496ac0=a15_0x1dea,_0x562855=_0x217a2e();while(!![]){try{const _0x4d7b20=parseInt(_0x496ac0(0x169))/0x1*(-parseInt(_0x496ac0(0x196))/0x2)+parseInt(_0x496ac0(0x1ac))/0x3+-parseInt(_0x496ac0(0x1bd))/0x4+-parseInt(_0x496ac0(0x141))/0x5+parseInt(_0x496ac0(0x17e))/0x6+-parseInt(_0x496ac0(0x157))/0x7+-parseInt(_0x496ac0(0x193))/0x8*(-parseInt(_0x496ac0(0x19c))/0x9);if(_0x4d7b20===_0x5df5ba)break;else _0x562855['push'](_0x562855['shift']());}catch(_0x1294da){_0x562855['push'](_0x562855['shift']());}}}(a15_0x90ca,0x79298));const util=require(a15_0x420153(0x183)),logger=require(a15_0x420153(0x168))[a15_0x420153(0x150)],helper=require(a15_0x420153(0x1b4)),globals=require(a15_0x420153(0x1b9)),{shouldProcessEventForTesthub}=require(a15_0x420153(0x14c)),testHubConstants=require(a15_0x420153(0x144)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require(a15_0x420153(0x19a)),accessibilityRetryHelper=require(a15_0x420153(0x14d)),testRunMap=require(a15_0x420153(0x15e));let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x420153(0x159)][a15_0x420153(0x175)]||process['env'][a15_0x420153(0x14e)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x420153(0x181)](rawConfig));}catch(a15_0x241271){logger[a15_0x420153(0x18f)]('[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20'+util[a15_0x420153(0x162)](a15_0x241271));}function a15_0x1dea(_0x754e30,_0x43636f){const _0x90ca19=a15_0x90ca();return a15_0x1dea=function(_0x1deae8,_0x348bb7){_0x1deae8=_0x1deae8-0x141;let _0x1b448f=_0x90ca19[_0x1deae8];return _0x1b448f;},a15_0x1dea(_0x754e30,_0x43636f);}try{if(_bstackConfig&&!helper[a15_0x420153(0x163)](a15_0x420153(0x194))){const YhIiAj=a15_0x420153(0x1b2)[a15_0x420153(0x180)]('|');let xZGPgd=0x0;while(!![]){switch(YhIiAj[xZGPgd++]){case'0':logger[a15_0x420153(0x18f)](a15_0x420153(0x14f));continue;case'1':shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](_bstackConfig,null,!![]):require('../../index')['browserstackAgentV2'](_bstackConfig);continue;case'2':global['__platformCaps']=_bstackConfig[a15_0x420153(0x16d)]||{};continue;case'3':helper['isBrowserstackInfra']()?(global['__skipSessionName']=helper[a15_0x420153(0x199)](_bstackConfig['skipSessionName']),global['__skipSessionStatus']=helper['isTrue'](_bstackConfig[a15_0x420153(0x151)])):(global[a15_0x420153(0x16c)]=!![],global[a15_0x420153(0x185)]=!![]);continue;case'4':global['browserstackPlatformIndex']=_bstackConfig['platformIndex'];continue;}break;}}}catch(a15_0x22788c){logger[a15_0x420153(0x18f)]('[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20'+util[a15_0x420153(0x162)](a15_0x22788c));}const _fileNameByFullName={};try{if(typeof describe===a15_0x420153(0x1bc)&&typeof global!==a15_0x420153(0x1ba)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0x9289af=a15_0x420153,_0x390d33={'EMMBF':function(_0xe179b6,_0x1f8113){return _0xe179b6(_0x1f8113);},'iKPFu':'path','wssLA':'node:','cSJzq':_0x9289af(0x186)},_0x4f9ee3=Error[_0x9289af(0x18c)];try{const _0x4072a3=new Error();Error[_0x9289af(0x18c)]=(_0x3804ab,_0x10ec1a)=>_0x10ec1a;const _0x3a4cf1=_0x4072a3[_0x9289af(0x1b7)];Error[_0x9289af(0x18c)]=_0x4f9ee3;if(Array['isArray'](_0x3a4cf1))for(const _0x1c50df of _0x3a4cf1){const _0x12f09e=_0x1c50df[_0x9289af(0x16b)]&&_0x1c50df[_0x9289af(0x16b)]();if(_0x12f09e&&!_0x12f09e[_0x9289af(0x172)](_0x9289af(0x174)+_0x390d33[_0x9289af(0x1c1)](require,_0x390d33[_0x9289af(0x1c3)])[_0x9289af(0x148)]+_0x9289af(0x18d)+_0x390d33[_0x9289af(0x1c1)](require,_0x390d33[_0x9289af(0x1c3)])[_0x9289af(0x148)])&&!_0x12f09e['startsWith'](_0x390d33[_0x9289af(0x15a)])&&!_0x12f09e['includes'](_0x390d33[_0x9289af(0x187)]))return _0x12f09e;}}catch(_0x299e00){Error[_0x9289af(0x18c)]=_0x4f9ee3;}return null;},_wrappedDescribe=function(_0x4f78a4,_0x1d9776){const _0x2e9c4d=a15_0x420153,_0x379441={'FkeBs':function(_0x38b645){return _0x38b645();},'DKfui':function(_0x400d26,_0x36d1fc){return _0x400d26&&_0x36d1fc;},'xgfJt':function(_0x562fab,_0xda14b2,_0x336b78){return _0x562fab(_0xda14b2,_0x336b78);}};let _0x4eddb9=null;try{_0x4eddb9=_0x379441[_0x2e9c4d(0x188)](_resolveCallerFile);}catch(_0x496338){}_describeTitleStack[_0x2e9c4d(0x1a0)](_0x4f78a4);const _0x43f5b6=_describeTitleStack[_0x2e9c4d(0x1a3)]('\x20');_0x379441[_0x2e9c4d(0x1a2)](_0x4eddb9,_0x43f5b6)&&(_fileNameByFullName[_0x43f5b6]=_0x4eddb9);try{return _0x379441[_0x2e9c4d(0x1a8)](_origDescribe,_0x4f78a4,_0x1d9776);}finally{_describeTitleStack[_0x2e9c4d(0x198)]();}};Object[a15_0x420153(0x18b)](_origDescribe)[a15_0x420153(0x15f)](_0x278009=>{_wrappedDescribe[_0x278009]=_origDescribe[_0x278009];}),global[a15_0x420153(0x1bb)]=_wrappedDescribe;}}catch(a15_0x7adeb1){logger['debug'](a15_0x420153(0x182)+util[a15_0x420153(0x162)](a15_0x7adeb1));}function a15_0x90ca(){const _0xd16f8=['ENV_VAR','2288825bRbKcb','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','env','wssLA','length','is_mobile_session','bODgp','./testRunMap','forEach','failed','failedExpectations','format','getPackageVersion','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','ONgSH','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','../../helpers/logger','437qCdbWC','bstackA11yScanOptions','getFileName','__skipSessionName','platformCaps','Spec\x20failed','message','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','warn','includes','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','bin','BROWSERSTACK_JASMINE_CONFIG','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully','__drivers','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','ExkEu','getGlobal','stringify','error','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','2013474QZqkLz','dsyUl','split','parse','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','util','BROWSERSTACK_TESTHUB_UUID','__skipSessionStatus','jasmine-core','cSJzq','FkeBs','ZqEFj','autoScanning','keys','prepareStackTrace','jasmine','isArray','debug','./bstack-reporter/customReporter','RqIiP','thTestRunUuid','2453200xYsmxt','@playwright/test','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','4138dmAqYX','AEJYS','pop','isTrue','../../helpers/accessibility-automation/helper','oKFAV','45bWcbmD','setGlobal','fullName','saveAccessibilityResultsWithRetry','push','TnzFm','DKfui','join','eUhLH','browserstackSessionName','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','dgVIJ','xgfJt','sessionNameSet__','JFwfo','markSessionStatus','2467926DamXtz','addReporter','executeScript','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','getEnv','eTIiF','0|1|2|4|3','eCpqD','../../helpers/helper','sessionName','bstackA11yShouldScan','stack','\x22}}','../../helpers/globals','undefined','describe','function','1438868HYktYp','Eetfz','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','mSfHq','EMMBF','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','iKPFu','3021730bwMgew','FoWOn','[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20','../../helpers/testhub/constants','passed','Qkzvf','oNkeN','sep','info','Failed:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','../../helpers/testhub/utils','../../helpers/accessibility-automation/accessibilityRetryHelper','CONFIG','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','winstonLogger','skipSessionStatus','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','Passed','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts'];a15_0x90ca=function(){return _0xd16f8;};return a15_0x90ca();}try{if(typeof jasmine!==a15_0x420153(0x1ba)&&jasmine[a15_0x420153(0x1b0)]){const BrowserStackJasmineReporter=require(a15_0x420153(0x190)),a15_0x142e67={};a15_0x142e67['fileNameByFullName']=_fileNameByFullName,jasmine[a15_0x420153(0x1b0)]()['addReporter'](new BrowserStackJasmineReporter(a15_0x142e67)),logger['debug']('[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter');}else logger['debug'](a15_0x420153(0x167));}catch(a15_0x1d4f23){logger[a15_0x420153(0x18f)](a15_0x420153(0x178)+util[a15_0x420153(0x162)](a15_0x1d4f23));}try{typeof jasmine!=='undefined'&&jasmine[a15_0x420153(0x1b0)]&&jasmine[a15_0x420153(0x1b0)]()[a15_0x420153(0x1ad)]({'specStarted'(_0x4baf07){const _0x59dc3b=a15_0x420153,_0xddddb6={};_0xddddb6[_0x59dc3b(0x142)]=function(_0x44f010,_0x89e405){return _0x44f010||_0x89e405;};const _0x5485b2=_0xddddb6;_activeResultId=_0x4baf07&&_0x4baf07['id'],_activeFullName=_0x4baf07&&_0x4baf07[_0x59dc3b(0x19e)],_activeResultRef=_0x5485b2[_0x59dc3b(0x142)](_0x4baf07,null);},'specDone'(){}});}catch(a15_0x2ed409){logger[a15_0x420153(0x18f)](a15_0x420153(0x1af)+util[a15_0x420153(0x162)](a15_0x2ed409));}const _resolveAutoScanning=()=>{const _0x19d2f0=a15_0x420153,_0x1a51ca={};_0x1a51ca[_0x19d2f0(0x166)]=function(_0xce4e5e,_0x369856){return _0xce4e5e===_0x369856;};const _0x6f0344=_0x1a51ca;let _0x6801f8=!![];try{const _0x1f1c6a=JSON['parse'](process[_0x19d2f0(0x159)][_0x19d2f0(0x164)]||'{}');_0x6f0344[_0x19d2f0(0x166)](_0x1f1c6a[_0x19d2f0(0x18a)],![])&&(_0x6801f8=![]);}catch(_0x4bdd36){logger[_0x19d2f0(0x18f)](_0x19d2f0(0x154)+_0x4bdd36[_0x19d2f0(0x16f)]);}return _0x6801f8;};try{typeof beforeEach===a15_0x420153(0x1bc)&&beforeEach(function bstackA11yBeforeEach(){const _0x399c70=a15_0x420153,_0x3ce1cf={'dsyUl':function(_0x351d12){return _0x351d12();},'eTIiF':function(_0x28e7ab,_0x4e782a,_0x3f2ec6){return _0x28e7ab(_0x4e782a,_0x3f2ec6);},'QNshT':function(_0xb2049d,_0x618f31){return _0xb2049d&&_0x618f31;},'ERYtL':'bstackA11yShouldScan','JFwfo':_0x399c70(0x16a)};try{const _0xf9d79e=_0x3ce1cf[_0x399c70(0x17f)](_resolveAutoScanning),_0x1ba321=_0x3ce1cf[_0x399c70(0x1b1)](shouldScanTestForAccessibility,null,![]),_0x6e83f8=_0x3ce1cf['QNshT'](_0xf9d79e,_0x1ba321);globals[_0x399c70(0x19d)](_0x3ce1cf['ERYtL'],_0x6e83f8),globals['setGlobal'](_0x3ce1cf[_0x399c70(0x1aa)],null);}catch(_0x427409){logger[_0x399c70(0x18f)](_0x399c70(0x1a6)+util['format'](_0x427409));}}),typeof afterEach===a15_0x420153(0x1bc)&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x5be0e2=a15_0x420153,_0x58f610={'Qkzvf':function(_0x3b79bc,_0x1986c1){return _0x3b79bc>_0x1986c1;},'AEJYS':function(_0x5d219b,_0x2dd9ed){return _0x5d219b>_0x2dd9ed;},'ExkEu':_0x5be0e2(0x16e),'LYKPH':function(_0xf97b3f,_0x3fcfde){return _0xf97b3f+_0x3fcfde;},'xjvFS':_0x5be0e2(0x14a),'oKFAV':_0x5be0e2(0x153),'ZqEFj':_0x5be0e2(0x17c),'Eetfz':_0x5be0e2(0x149),'vrraW':_0x5be0e2(0x160),'RqIiP':_0x5be0e2(0x145),'bODgp':function(_0x15051a){return _0x15051a();},'xWmKB':'isAccessibilityPlatform','mSfHq':_0x5be0e2(0x1b6),'dgVIJ':_0x5be0e2(0x17d),'eUhLH':_0x5be0e2(0x176),'TnzFm':_0x5be0e2(0x165),'vcXJO':'[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','bMbCB':'isMobilePlatform','eCpqD':_0x5be0e2(0x173),'oNkeN':_0x5be0e2(0x155)};try{if(Array[_0x5be0e2(0x18e)](global[_0x5be0e2(0x177)])&&_0x58f610[_0x5be0e2(0x146)](global[_0x5be0e2(0x177)][_0x5be0e2(0x15b)],0x0)&&global['__drivers'][0x0]){const _0x352a93=_activeFullName||global[_0x5be0e2(0x1b5)];if(!global['__skipSessionName']&&_0x352a93){global[_0x5be0e2(0x1b5)]=_0x352a93;try{await global[_0x5be0e2(0x177)][0x0][_0x5be0e2(0x1ae)](_0x5be0e2(0x14b)+JSON['stringify'](_0x352a93)+'}}'),global[_0x5be0e2(0x177)][0x0][_0x5be0e2(0x1a9)]=!![];}catch(_0x377ca3){logger['debug']('[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20'+util[_0x5be0e2(0x162)](_0x377ca3));}}if(!global[_0x5be0e2(0x185)])try{const _0x166c46=_activeResultRef&&Array[_0x5be0e2(0x18e)](_activeResultRef[_0x5be0e2(0x161)])?_activeResultRef[_0x5be0e2(0x161)]:[],_0x553556=_0x58f610[_0x5be0e2(0x197)](_0x166c46[_0x5be0e2(0x15b)],0x0),_0x52b752=_0x553556?_0x166c46[0x0]&&_0x166c46[0x0][_0x5be0e2(0x16f)]||_0x58f610[_0x5be0e2(0x179)]:null;try{await global[_0x5be0e2(0x177)][0x0][_0x5be0e2(0x1ae)](_0x5be0e2(0x158)+JSON[_0x5be0e2(0x17b)](_0x553556?_0x58f610['LYKPH'](_0x58f610['xjvFS'],_0x52b752):_0x58f610[_0x5be0e2(0x19b)])+',\x22level\x22:\x20\x22'+(_0x553556?_0x58f610[_0x5be0e2(0x189)]:_0x58f610[_0x5be0e2(0x1be)])+_0x5be0e2(0x1b8));}catch(_0x19a550){logger['debug'](_0x5be0e2(0x143)+util[_0x5be0e2(0x162)](_0x19a550));}_0x553556&&(global['__sessionFailed']=!![]),await helper[_0x5be0e2(0x1ab)](global['__drivers'][0x0],_0x553556?_0x58f610['vrraW']:_0x58f610[_0x5be0e2(0x191)],_0x52b752);}catch(_0x413e02){logger[_0x5be0e2(0x18f)](_0x5be0e2(0x195)+util[_0x5be0e2(0x162)](_0x413e02));}}}catch(_0x10107b){logger[_0x5be0e2(0x18f)](_0x5be0e2(0x1bf)+util['format'](_0x10107b));}try{if(_0x58f610[_0x5be0e2(0x15d)](isAccessibilityAutomationSession)&&globals[_0x5be0e2(0x17a)](_0x58f610['xWmKB'])&&Array['isArray'](global[_0x5be0e2(0x177)])&&_0x58f610['Qkzvf'](global['__drivers']['length'],0x0)&&global[_0x5be0e2(0x177)][0x0]){const _0x4c7747=testRunMap['get'](_activeResultId),_0xf61060={};_0xf61060[_0x5be0e2(0x192)]=_0x4c7747,_0xf61060['thBuildUuid']=process[_0x5be0e2(0x159)][testHubConstants[_0x5be0e2(0x156)][_0x5be0e2(0x184)]],_0xf61060['thJwtToken']=process[_0x5be0e2(0x159)][testHubConstants[_0x5be0e2(0x156)]['BROWSERSTACK_TESTHUB_JWT']];const _0xe7789=_0xf61060;logger[_0x5be0e2(0x18f)](_0x5be0e2(0x1c2)+JSON[_0x5be0e2(0x17b)](_0xe7789));if(globals['getGlobal'](_0x58f610[_0x5be0e2(0x1c0)])){logger[_0x5be0e2(0x18f)](_0x58f610[_0x5be0e2(0x1a7)]);const _0x45cd00=await accessibilityRetryHelper['performScanWithRetry'](global[_0x5be0e2(0x177)][0x0],global[_0x5be0e2(0x1a5)]);_0x45cd00?logger['debug'](_0x58f610[_0x5be0e2(0x1a4)]):logger[_0x5be0e2(0x171)](_0x58f610[_0x5be0e2(0x1a1)]);}else logger[_0x5be0e2(0x18f)](_0x58f610['vcXJO']);globals['getGlobal'](_0x58f610['bMbCB'])&&(_0xe7789[_0x5be0e2(0x15c)]=!![]);const _0x2f2e09=await accessibilityRetryHelper[_0x5be0e2(0x19f)](global['__drivers'][0x0],_0xe7789);_0x2f2e09?logger[_0x5be0e2(0x18f)](_0x58f610[_0x5be0e2(0x1b3)]):logger[_0x5be0e2(0x171)](_0x58f610[_0x5be0e2(0x147)]);}}catch(_0xd6d09c){logger[_0x5be0e2(0x17c)](_0x5be0e2(0x170)+util['format'](_0xd6d09c));}});}catch(a15_0x54cf24){logger[a15_0x420153(0x18f)](a15_0x420153(0x152)+util['format'](a15_0x54cf24));}module['exports']={};
|
|
1
|
+
'use strict';const a15_0x3f85a5=a15_0xbcd4;(function(_0xf9d40b,_0x1cfafe){const _0x36a6fd=a15_0xbcd4,_0x3b468f=_0xf9d40b();while(!![]){try{const _0x120e1f=-parseInt(_0x36a6fd(0xb1))/0x1*(-parseInt(_0x36a6fd(0x121))/0x2)+-parseInt(_0x36a6fd(0x119))/0x3+parseInt(_0x36a6fd(0x11b))/0x4*(parseInt(_0x36a6fd(0xe4))/0x5)+parseInt(_0x36a6fd(0x101))/0x6*(parseInt(_0x36a6fd(0xad))/0x7)+parseInt(_0x36a6fd(0x110))/0x8+-parseInt(_0x36a6fd(0x9d))/0x9*(-parseInt(_0x36a6fd(0x9b))/0xa)+parseInt(_0x36a6fd(0x10b))/0xb*(-parseInt(_0x36a6fd(0xab))/0xc);if(_0x120e1f===_0x1cfafe)break;else _0x3b468f['push'](_0x3b468f['shift']());}catch(_0x49e742){_0x3b468f['push'](_0x3b468f['shift']());}}}(a15_0x4922,0x5d751));function a15_0xbcd4(_0x47f447,_0x447ec7){const _0x492256=a15_0x4922();return a15_0xbcd4=function(_0xbcd443,_0x1208fa){_0xbcd443=_0xbcd443-0x8f;let _0x41e4d7=_0x492256[_0xbcd443];return _0x41e4d7;},a15_0xbcd4(_0x47f447,_0x447ec7);}const util=require(a15_0x3f85a5(0xfc)),logger=require(a15_0x3f85a5(0x96))[a15_0x3f85a5(0xd4)],helper=require(a15_0x3f85a5(0xe5)),globals=require(a15_0x3f85a5(0xf6)),{shouldProcessEventForTesthub}=require(a15_0x3f85a5(0xaf)),testHubConstants=require(a15_0x3f85a5(0x99)),{isAccessibilityAutomationSession,shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),accessibilityRetryHelper=require(a15_0x3f85a5(0xff)),testRunMap=require('./testRunMap');let _activeResultId=null,_activeFullName=null,_activeResultRef=null,_bstackConfig=null;try{const rawConfig=process[a15_0x3f85a5(0xfd)][a15_0x3f85a5(0xd0)]||process[a15_0x3f85a5(0xfd)][a15_0x3f85a5(0xb7)];rawConfig!==undefined&&(_bstackConfig=JSON[a15_0x3f85a5(0xae)](rawConfig));}catch(a15_0x19c343){logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0xe9)+util[a15_0x3f85a5(0xb3)](a15_0x19c343));}try{if(_bstackConfig&&!helper[a15_0x3f85a5(0xa0)]('@playwright/test')){const qkxMPC=a15_0x3f85a5(0xf1)[a15_0x3f85a5(0xde)]('|');let REJsgd=0x0;while(!![]){switch(qkxMPC[REJsgd++]){case'0':global[a15_0x3f85a5(0x11f)]=_bstackConfig[a15_0x3f85a5(0xa4)];continue;case'1':shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](_bstackConfig,null,!![]):require(a15_0x3f85a5(0xfa))[a15_0x3f85a5(0xcf)](_bstackConfig);continue;case'2':helper[a15_0x3f85a5(0xe3)]()?(global[a15_0x3f85a5(0x127)]=helper[a15_0x3f85a5(0x124)](_bstackConfig[a15_0x3f85a5(0xb9)]),global['__skipSessionStatus']=helper[a15_0x3f85a5(0x124)](_bstackConfig[a15_0x3f85a5(0xef)])):(global[a15_0x3f85a5(0x127)]=!![],global['__skipSessionStatus']=!![]);continue;case'3':global[a15_0x3f85a5(0xa7)]=_bstackConfig[a15_0x3f85a5(0xa6)]||{};continue;case'4':logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0x105));continue;}break;}}}catch(a15_0x50c3b7){logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0xfe)+util[a15_0x3f85a5(0xb3)](a15_0x50c3b7));}const _fileNameByFullName={};try{if(typeof describe===a15_0x3f85a5(0x10d)&&typeof global!==a15_0x3f85a5(0xd3)){const _origDescribe=describe,_describeTitleStack=[],_resolveCallerFile=()=>{const _0xde87d5=a15_0x3f85a5,_0x4692bc={'ISmfB':function(_0xa714e6,_0x3d5d3f){return _0xa714e6(_0x3d5d3f);},'bWFcJ':_0xde87d5(0x97),'rxesJ':_0xde87d5(0xda),'sFDoq':_0xde87d5(0x9a)},_0x28ead0=Error[_0xde87d5(0xc3)];try{const _0x1488e9=new Error();Error['prepareStackTrace']=(_0x18817e,_0x154901)=>_0x154901;const _0x2ece5a=_0x1488e9['stack'];Error[_0xde87d5(0xc3)]=_0x28ead0;if(Array[_0xde87d5(0xb5)](_0x2ece5a))for(const _0x3a2a3b of _0x2ece5a){const _0x3947e6=_0x3a2a3b[_0xde87d5(0xac)]&&_0x3a2a3b[_0xde87d5(0xac)]();if(_0x3947e6&&!_0x3947e6[_0xde87d5(0x95)](_0xde87d5(0xf5)+_0x4692bc[_0xde87d5(0x11a)](require,_0x4692bc[_0xde87d5(0x93)])[_0xde87d5(0xea)]+'jasmine'+_0x4692bc[_0xde87d5(0x11a)](require,_0x4692bc[_0xde87d5(0x93)])[_0xde87d5(0xea)])&&!_0x3947e6[_0xde87d5(0x108)](_0x4692bc[_0xde87d5(0xf7)])&&!_0x3947e6[_0xde87d5(0x95)](_0x4692bc[_0xde87d5(0x109)]))return _0x3947e6;}}catch(_0x5daa37){Error[_0xde87d5(0xc3)]=_0x28ead0;}return null;},_wrappedDescribe=function(_0x1c1064,_0x3e95bc){const _0x3c83c5=a15_0x3f85a5,_0x2d6643={'WejZf':function(_0xb661cf){return _0xb661cf();},'HNplW':function(_0x263955,_0x215b1d){return _0x263955&&_0x215b1d;},'jyYTt':function(_0x2c2ca9,_0x28c15f,_0x3949dd){return _0x2c2ca9(_0x28c15f,_0x3949dd);}};let _0x5d7e84=null;try{_0x5d7e84=_0x2d6643[_0x3c83c5(0x10f)](_resolveCallerFile);}catch(_0x518b94){}_describeTitleStack[_0x3c83c5(0xdb)](_0x1c1064);const _0x46ed2a=_describeTitleStack[_0x3c83c5(0x10e)]('\x20');_0x2d6643[_0x3c83c5(0xe0)](_0x5d7e84,_0x46ed2a)&&(_fileNameByFullName[_0x46ed2a]=_0x5d7e84);try{return _0x2d6643['jyYTt'](_origDescribe,_0x1c1064,_0x3e95bc);}finally{_describeTitleStack[_0x3c83c5(0xd2)]();}};Object[a15_0x3f85a5(0xb2)](_origDescribe)[a15_0x3f85a5(0x111)](_0x2cd88f=>{_wrappedDescribe[_0x2cd88f]=_origDescribe[_0x2cd88f];}),global[a15_0x3f85a5(0xe7)]=_wrappedDescribe;}}catch(a15_0x27f57c){logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0xbf)+util[a15_0x3f85a5(0xb3)](a15_0x27f57c));}try{if(typeof jasmine!=='undefined'&&jasmine[a15_0x3f85a5(0xc5)]){const BrowserStackJasmineReporter=require(a15_0x3f85a5(0xb6)),a15_0x4a2cef={};a15_0x4a2cef[a15_0x3f85a5(0xed)]=_fileNameByFullName,jasmine[a15_0x3f85a5(0xc5)]()['addReporter'](new BrowserStackJasmineReporter(a15_0x4a2cef)),logger['debug'](a15_0x3f85a5(0xbc));}else logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0xd7));}catch(a15_0x465042){logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0xc8)+util[a15_0x3f85a5(0xb3)](a15_0x465042));}try{typeof jasmine!=='undefined'&&jasmine[a15_0x3f85a5(0xc5)]&&jasmine['getEnv']()[a15_0x3f85a5(0xc0)]({'specStarted'(_0x4c34ca){const _0x447874=a15_0x3f85a5,_0x23234d={};_0x23234d[_0x447874(0xce)]=function(_0x5bd90a,_0x42d811){return _0x5bd90a||_0x42d811;};const _0x5ebed8=_0x23234d;_activeResultId=_0x4c34ca&&_0x4c34ca['id'],_activeFullName=_0x4c34ca&&_0x4c34ca[_0x447874(0x125)],_activeResultRef=_0x5ebed8[_0x447874(0xce)](_0x4c34ca,null);},'specDone'(){}});}catch(a15_0x4a11e8){logger['debug'](a15_0x3f85a5(0xba)+util['format'](a15_0x4a11e8));}const _resolveAutoScanning=()=>{const _0x22f24a=a15_0x3f85a5,_0x5448ec={};_0x5448ec[_0x22f24a(0x107)]=function(_0x48d072,_0x38d6fa){return _0x48d072===_0x38d6fa;};const _0x4db724=_0x5448ec;let _0x1e0eb4=!![];try{const _0xf9656b=JSON[_0x22f24a(0xae)](process[_0x22f24a(0xfd)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']||'{}');_0x4db724[_0x22f24a(0x107)](_0xf9656b[_0x22f24a(0xdd)],![])&&(_0x1e0eb4=![]);}catch(_0x16e947){logger[_0x22f24a(0x9c)](_0x22f24a(0xd9)+_0x16e947[_0x22f24a(0xf8)]);}return _0x1e0eb4;};function a15_0x4922(){const _0x457991=['skipSessionName','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20result-id\x20bridge\x20reporter:\x20','error','[jasmine\x20setup]\x20BrowserStack\x20reporter\x20registered\x20additively\x20via\x20jasmine.getEnv().addReporter','markSessionStatus','__skipSessionStatus','[jasmine\x20setup]\x20Exception\x20installing\x20describe-wrap\x20filename\x20capture:\x20','addReporter','gKMlz','thJwtToken','prepareStackTrace','IxETv','getEnv','warn','PHZgF','[jasmine\x20setup]\x20Exception\x20registering\x20BrowserStack\x20reporter:\x20','[jasmine\x20setup]\x20Failed\x20to\x20save\x20accessibility\x20results\x20after\x20retry\x20attempts','__drivers','roSnL','exports','BROWSERSTACK_TESTHUB_JWT','IopQr','browserstackAgentV2','BROWSERSTACK_JASMINE_CONFIG','oFkHp','pop','undefined','winstonLogger','BTONi','bFGfA','[jasmine\x20setup]\x20global\x20`jasmine`\x20not\x20available\x20at\x20helper\x20load;\x20reporter\x20not\x20registered','EAmra','[jasmine\x20setup]\x20Error\x20parsing\x20autoScanning\x20config,\x20using\x20default\x20(true):\x20','node:','push','[jasmine\x20setup]\x20Accessibility\x20results\x20saved\x20successfully','autoScanning','split','[jasmine\x20setup]\x20Accessibility\x20extension\x20data\x20for\x20current\x20spec:\x20','HNplW','thTestRunUuid','info','isBrowserstackInfra','2416835xJjdwc','../../helpers/helper','browserstackSessionName','describe','dIKbj','[jasmine\x20setup]\x20Failed\x20to\x20parse\x20BrowserStack\x20config\x20from\x20env:\x20','sep','\x22}}','getGlobal','fileNameByFullName','[jasmine\x20setup]\x20Exception\x20marking\x20Automate\x20session\x20status:\x20','skipSessionStatus','[jasmine\x20setup]\x20Auto\x20scan\x20disabled;\x20skipping\x20scan,\x20saving\x20accumulated\x20results','4|1|3|0|2','__sessionFailed','TwKxd',',\x22level\x22:\x20\x22','bin','../../helpers/globals','rxesJ','message','failed','../../index','BROWSERSTACK_TESTHUB_UUID','util','env','[jasmine\x20setup]\x20Exception\x20during\x20WebDriver\x20patch\x20load:\x20','../../helpers/accessibility-automation/accessibilityRetryHelper','CfZyl','254994eCDDXk','[jasmine\x20setup]\x20Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20this\x20spec.\x20Error:\x20','bstackA11yScanOptions','BHkES','[jasmine\x20setup]\x20Patching\x20Selenium\x20WebDriver\x20(browserstackAgentV2,\x20same-scope\x20require)','[jasmine\x20setup]\x20Exception\x20registering\x20a11y\x20beforeEach/afterEach\x20hooks:\x20','hqbtv','startsWith','sFDoq','pTZzV','77LTyJdD','IMIPo','function','join','WejZf','2554968IAoOfH','forEach','failedExpectations','bstackA11yShouldScan','EonIZ','ENV_VAR','bSHil','[jasmine\x20setup]\x20Accessibility\x20scan\x20failed\x20after\x20retry\x20attempts','[jasmine\x20setup]\x20Exception\x20setting\x20Automate\x20session\x20name:\x20','1861572lZfHKf','ISmfB','4AzAlvp','ndvwV','length','sessionNameSet__','browserstackPlatformIndex','executeScript','83486SSJQRO','isMobilePlatform','setGlobal','isTrue','fullName','EXMvs','__skipSessionName','passed','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20','isAccessibilityPlatform','sessionName','bWFcJ','is_mobile_session','includes','../../helpers/logger','path','Passed','../../helpers/testhub/constants','jasmine-core','40GVHYUV','debug','82755rXtGrM','Failed:\x20','gYFva','getPackageVersion','[jasmine\x20setup]\x20Exception\x20in\x20a11y\x20beforeEach:\x20','KsHxI','jXxbW','platformIndex','thBuildUuid','platformCaps','__platformCaps','stringify','lYTUh','[jasmine\x20setup]\x20Performing\x20accessibility\x20scan\x20with\x20retry\x20before\x20saving\x20results','1742292iWHdZd','getFileName','105KHqusi','parse','../../helpers/testhub/utils','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','13fzSVQJ','keys','format','[jasmine\x20setup]\x20Exception\x20in\x20Automate\x20session\x20name/status\x20block:\x20','isArray','./bstack-reporter/customReporter','CONFIG','[jasmine\x20setup]\x20Accessibility\x20scan\x20completed\x20successfully'];a15_0x4922=function(){return _0x457991;};return a15_0x4922();}try{typeof beforeEach===a15_0x3f85a5(0x10d)&&beforeEach(function bstackA11yBeforeEach(){const _0x56d9cb=a15_0x3f85a5,_0x2bf287={'BTONi':function(_0x5c2617){return _0x5c2617();},'CfZyl':function(_0x6c6700,_0x3763c4,_0x3d6d84){return _0x6c6700(_0x3763c4,_0x3d6d84);},'PHZgF':function(_0x19d188,_0x27e2b6){return _0x19d188&&_0x27e2b6;},'jXxbW':_0x56d9cb(0x113),'roSnL':_0x56d9cb(0x103)};try{const _0x352267=_0x2bf287[_0x56d9cb(0xd5)](_resolveAutoScanning),_0x5bb728=_0x2bf287[_0x56d9cb(0x100)](shouldScanTestForAccessibility,null,![]),_0x27beb4=_0x2bf287[_0x56d9cb(0xc7)](_0x352267,_0x5bb728);globals[_0x56d9cb(0x123)](_0x2bf287[_0x56d9cb(0xa3)],_0x27beb4),globals['setGlobal'](_0x2bf287[_0x56d9cb(0xcb)],null);}catch(_0x2f6c0e){logger[_0x56d9cb(0x9c)](_0x56d9cb(0xa1)+util[_0x56d9cb(0xb3)](_0x2f6c0e));}}),typeof afterEach==='function'&&afterEach(async function bstackA11ySessionAndScanAfterEach(){const _0x214e20=a15_0x3f85a5,_0xca919={'BHkES':function(_0x356ed4,_0x3e5b4d){return _0x356ed4>_0x3e5b4d;},'bSHil':'Spec\x20failed','oFkHp':function(_0xc18b64,_0x11bb43){return _0xc18b64+_0x11bb43;},'gKMlz':_0x214e20(0x9e),'EonIZ':_0x214e20(0x98),'bFGfA':_0x214e20(0xbb),'RWyAQ':_0x214e20(0xe2),'EXMvs':_0x214e20(0xf9),'KsHxI':_0x214e20(0x8f),'EAmra':function(_0x2fcf51){return _0x2fcf51();},'IMIPo':_0x214e20(0x91),'pTZzV':_0x214e20(0x113),'ndvwV':_0x214e20(0xaa),'dIKbj':_0x214e20(0xb8),'TwKxd':_0x214e20(0x117),'gYFva':_0x214e20(0xf0),'vuIQv':_0x214e20(0x122),'lYTUh':_0x214e20(0xdc),'IxETv':_0x214e20(0xc9)};try{if(Array[_0x214e20(0xb5)](global['__drivers'])&&_0xca919[_0x214e20(0x104)](global[_0x214e20(0xca)][_0x214e20(0x11d)],0x0)&&global['__drivers'][0x0]){const _0x485ea4=_activeFullName||global[_0x214e20(0x92)];if(!global[_0x214e20(0x127)]&&_0x485ea4){global['sessionName']=_0x485ea4;try{await global[_0x214e20(0xca)][0x0][_0x214e20(0x120)](_0x214e20(0x90)+JSON[_0x214e20(0xa8)](_0x485ea4)+'}}'),global[_0x214e20(0xca)][0x0][_0x214e20(0x11e)]=!![];}catch(_0x205f0a){logger['debug'](_0x214e20(0x118)+util['format'](_0x205f0a));}}if(!global[_0x214e20(0xbe)])try{const _0x864b=_activeResultRef&&Array[_0x214e20(0xb5)](_activeResultRef[_0x214e20(0x112)])?_activeResultRef[_0x214e20(0x112)]:[],_0x1d718a=_0xca919[_0x214e20(0x104)](_0x864b['length'],0x0),_0x184f02=_0x1d718a?_0x864b[0x0]&&_0x864b[0x0][_0x214e20(0xf8)]||_0xca919[_0x214e20(0x116)]:null;try{await global[_0x214e20(0xca)][0x0][_0x214e20(0x120)](_0x214e20(0xb0)+JSON['stringify'](_0x1d718a?_0xca919[_0x214e20(0xd1)](_0xca919[_0x214e20(0xc1)],_0x184f02):_0xca919[_0x214e20(0x114)])+_0x214e20(0xf4)+(_0x1d718a?_0xca919[_0x214e20(0xd6)]:_0xca919['RWyAQ'])+_0x214e20(0xeb));}catch(_0x19c03e){logger[_0x214e20(0x9c)]('[jasmine\x20setup]\x20Exception\x20annotating\x20Automate\x20session:\x20'+util[_0x214e20(0xb3)](_0x19c03e));}_0x1d718a&&(global[_0x214e20(0xf2)]=!![]),await helper[_0x214e20(0xbd)](global['__drivers'][0x0],_0x1d718a?_0xca919[_0x214e20(0x126)]:_0xca919[_0x214e20(0xa2)],_0x184f02);}catch(_0x38ae61){logger[_0x214e20(0x9c)](_0x214e20(0xee)+util[_0x214e20(0xb3)](_0x38ae61));}}}catch(_0x487516){logger['debug'](_0x214e20(0xb4)+util[_0x214e20(0xb3)](_0x487516));}try{if(_0xca919[_0x214e20(0xd8)](isAccessibilityAutomationSession)&&globals['getGlobal'](_0xca919[_0x214e20(0x10c)])&&Array[_0x214e20(0xb5)](global[_0x214e20(0xca)])&&_0xca919['BHkES'](global[_0x214e20(0xca)]['length'],0x0)&&global[_0x214e20(0xca)][0x0]){const _0x74704d=testRunMap['get'](_activeResultId),_0x4e2233={};_0x4e2233[_0x214e20(0xe1)]=_0x74704d,_0x4e2233[_0x214e20(0xa5)]=process[_0x214e20(0xfd)][testHubConstants[_0x214e20(0x115)][_0x214e20(0xfb)]],_0x4e2233[_0x214e20(0xc2)]=process[_0x214e20(0xfd)][testHubConstants[_0x214e20(0x115)][_0x214e20(0xcd)]];const _0x21782d=_0x4e2233;logger[_0x214e20(0x9c)](_0x214e20(0xdf)+JSON[_0x214e20(0xa8)](_0x21782d));if(globals[_0x214e20(0xec)](_0xca919[_0x214e20(0x10a)])){logger['debug'](_0xca919[_0x214e20(0x11c)]);const _0x3de832=await accessibilityRetryHelper['performScanWithRetry'](global[_0x214e20(0xca)][0x0],global[_0x214e20(0xe6)]);_0x3de832?logger[_0x214e20(0x9c)](_0xca919[_0x214e20(0xe8)]):logger[_0x214e20(0xc6)](_0xca919[_0x214e20(0xf3)]);}else logger[_0x214e20(0x9c)](_0xca919[_0x214e20(0x9f)]);globals[_0x214e20(0xec)](_0xca919['vuIQv'])&&(_0x21782d[_0x214e20(0x94)]=!![]);const _0x2919eb=await accessibilityRetryHelper['saveAccessibilityResultsWithRetry'](global['__drivers'][0x0],_0x21782d);_0x2919eb?logger['debug'](_0xca919[_0x214e20(0xa9)]):logger[_0x214e20(0xc6)](_0xca919[_0x214e20(0xc4)]);}}catch(_0x17d15a){logger['error'](_0x214e20(0x102)+util['format'](_0x17d15a));}});}catch(a15_0x14ccf6){logger[a15_0x3f85a5(0x9c)](a15_0x3f85a5(0x106)+util[a15_0x3f85a5(0xb3)](a15_0x14ccf6));}module[a15_0x3f85a5(0xcc)]={};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const a16_0x1f1ca6=a16_0x4656;(function(_0x442673,_0x5310a1){const _0x38dacc=a16_0x4656,_0x1ef2e8=_0x442673();while(!![]){try{const _0x48246d=parseInt(_0x38dacc(0x135))/0x1*(parseInt(_0x38dacc(0x137))/0x2)+-parseInt(_0x38dacc(0x13a))/0x3*(parseInt(_0x38dacc(0x136))/0x4)+parseInt(_0x38dacc(0x13f))/0x5+parseInt(_0x38dacc(0x131))/0x6+parseInt(_0x38dacc(0x140))/0x7*(parseInt(_0x38dacc(0x12e))/0x8)+parseInt(_0x38dacc(0x134))/0x9+-parseInt(_0x38dacc(0x13b))/0xa;if(_0x48246d===_0x5310a1)break;else _0x1ef2e8['push'](_0x1ef2e8['shift']());}catch(_0x3b01cf){_0x1ef2e8['push'](_0x1ef2e8['shift']());}}}(a16_0x1861,0x9aa5f));const _specUuidById=new Map();function a16_0x4656(_0x10b4db,_0x18b0c9){const _0x186167=a16_0x1861();return a16_0x4656=function(_0x46560f,_0x5895a5){_0x46560f=_0x46560f-0x12e;let _0x4191e6=_0x186167[_0x46560f];return _0x4191e6;},a16_0x4656(_0x10b4db,_0x18b0c9);}exports[a16_0x1f1ca6(0x13d)]=(_0xf5b812,_0x1f20b8)=>{const _0x1ad98d=a16_0x1f1ca6,_0x55572b={};_0x55572b[_0x1ad98d(0x132)]=function(_0x111344,_0x46570c){return _0x111344===_0x46570c;},_0x55572b['UPHvu']=function(_0x49781a,_0x433746){return _0x49781a===_0x433746;};const _0x3ac4aa=_0x55572b;if(_0x3ac4aa[_0x1ad98d(0x132)](_0xf5b812,undefined)||_0x3ac4aa['UPHvu'](_0xf5b812,null))return;_specUuidById['set'](_0xf5b812,_0x1f20b8);},exports[a16_0x1f1ca6(0x139)]=_0x53b995=>{const _0x2200a=a16_0x1f1ca6,_0x432d8b={};_0x432d8b['jIHkF']=function(_0x30c0a2,_0x3ffc87){return _0x30c0a2===_0x3ffc87;};const _0x3eb664=_0x432d8b;if(_0x3eb664[_0x2200a(0x12f)](_0x53b995,undefined)||_0x3eb664['jIHkF'](_0x53b995,null))return undefined;return _specUuidById[_0x2200a(0x139)](_0x53b995);},exports[a16_0x1f1ca6(0x130)]=_0x1b0b43=>{const _0xbd7af8=a16_0x1f1ca6,_0x2d1752={};_0x2d1752[_0xbd7af8(0x13e)]=function(_0x206b4d,_0x32fa7d){return _0x206b4d===_0x32fa7d;};const _0x16786d=_0x2d1752;if(_0x16786d['ZJSAy'](_0x1b0b43,undefined)||_0x16786d[_0xbd7af8(0x13e)](_0x1b0b43,null))return;_specUuidById[_0xbd7af8(0x138)](_0x1b0b43);},exports[a16_0x1f1ca6(0x13c)]=()=>_specUuidById[a16_0x1f1ca6(0x133)];function a16_0x1861(){const _0x31a56f=['FQnvZ','size','6246621cIgKhY','27749kfhaeK','4krHDym','80jerFTb','delete','get','436989mtQcRK','34990280RgJVXN','_size','set','ZJSAy','6329480IooACn','21kMqzRA','686064LHQxnm','jIHkF','remove','5705586bQCdHH'];a16_0x1861=function(){return _0x31a56f;};return a16_0x1861();}
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a17_0x4159f8=a17_0xd871;(function(_0x295d43,_0x434238){const _0x5ecbdf=a17_0xd871,_0x1e45d5=_0x295d43();while(!![]){try{const _0x4056b3=parseInt(_0x5ecbdf(0xd7))/0x1+-parseInt(_0x5ecbdf(0x105))/0x2+-parseInt(_0x5ecbdf(0xd8))/0x3*(parseInt(_0x5ecbdf(0x149))/0x4)+parseInt(_0x5ecbdf(0x193))/0x5+parseInt(_0x5ecbdf(0x1aa))/0x6+parseInt(_0x5ecbdf(0xe0))/0x7*(parseInt(_0x5ecbdf(0x12e))/0x8)+-parseInt(_0x5ecbdf(0xea))/0x9*(parseInt(_0x5ecbdf(0x17d))/0xa);if(_0x4056b3===_0x434238)break;else _0x1e45d5['push'](_0x1e45d5['shift']());}catch(_0x71eba5){_0x1e45d5['push'](_0x1e45d5['shift']());}}}(a17_0x15b9,0x30d29));const fs=require('fs'),path=require(a17_0x4159f8(0xd9)),util=require(a17_0x4159f8(0x17c)),{spawn}=require(a17_0x4159f8(0xcf)),logger=require(a17_0x4159f8(0x158))['winstonLogger'],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a17_0x4159f8(0x165)),utilities=require('../../helpers/utilities'),constants=require(a17_0x4159f8(0x122)),accessibilityHelper=require(a17_0x4159f8(0x132)),{updateTestRerunConfig}=require(a17_0x4159f8(0xd0)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require('../../helpers/test-observability/utils'),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a17_0x4159f8(0x14f)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require('../../helpers/testhub/utils'),{FRAMEWORKS}=require(a17_0x4159f8(0x186)),PerformanceTester=require(a17_0x4159f8(0x18e)),PerformanceEvents=require(a17_0x4159f8(0x18a))[a17_0x4159f8(0x16a)],TestOrchestrationHandler=require(a17_0x4159f8(0x14a)),BrowserstackCLI=require(a17_0x4159f8(0x129)),{checkPwandBootstrapCli}=require(a17_0x4159f8(0x120)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x4159f8(0x178)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService'),{checkAccessibilityPlatformConfig}=require(a17_0x4159f8(0x132)),getUserJestConfigs=async(_0x13b033,_0x443399)=>{const _0x1c50bb=a17_0x4159f8,_0x54a8c9={'TxFLl':_0x1c50bb(0x128),'PitiE':'jest-config','uklyd':function(_0xfc1686,_0x3ff126){return _0xfc1686||_0x3ff126;},'RSReo':function(_0x5ce9ac,_0x1470de){return _0x5ce9ac(_0x1470de);},'ytxez':_0x1c50bb(0x136),'sRyyJ':_0x1c50bb(0xe1),'JkiNI':_0x1c50bb(0x14d),'zeWQB':_0x1c50bb(0x12c),'nvGFD':_0x1c50bb(0x13d)};let _0x10e760;try{_0x10e760=helper['requireModule'](_0x54a8c9[_0x1c50bb(0x160)],_0x54a8c9[_0x1c50bb(0xbd)]);}catch{const _0x174d04=helper['requireModule'](_0x54a8c9[_0x1c50bb(0xbd)]);_0x10e760={'default':async _0x5b1bb0=>{const _0x2ff502=_0x1c50bb,_0x23aaf0=await _0x174d04['readInitialOptions'](_0x5b1bb0,{});return _0x23aaf0[_0x2ff502(0x135)];}};}const _0x416901=_0x443399['findIndex'](_0xd56501=>_0xd56501===_0x1c50bb(0xfa));if(!helper['isUndefined'](_0x13b033[_0x1c50bb(0x135)])){logger[_0x1c50bb(0x1a6)]('Getting\x20your\x20jest\x20configs\x20from\x20'+_0x13b033[_0x1c50bb(0x135)]),process[_0x1c50bb(0x145)]['USER_CONFIG_DETAILS_PATH']=_0x13b033[_0x1c50bb(0x135)];const _0x2feb66=await(0x0,_0x10e760[_0x1c50bb(0xc6)])(path[_0x1c50bb(0xcb)](_0x13b033[_0x1c50bb(0x135)]));return _0x443399['splice'](_0x416901,0x2),_0x54a8c9[_0x1c50bb(0x16f)](_0x2feb66,{});}const _0x4d85b8=_0x54a8c9[_0x1c50bb(0x101)](require,path[_0x1c50bb(0x118)](process[_0x1c50bb(0xf1)](),_0x54a8c9['ytxez']));if(_0x4d85b8[_0x1c50bb(0x19a)])return logger['info'](_0x54a8c9[_0x1c50bb(0xc2)]),_0x4d85b8['jest'];const _0x3d7a6a=['js',_0x54a8c9[_0x1c50bb(0xc5)],_0x54a8c9['zeWQB'],_0x54a8c9['nvGFD'],'ts'];for(const _0x5b3e2e of _0x3d7a6a){const _0x8e50b2=path[_0x1c50bb(0x118)](process[_0x1c50bb(0xf1)](),_0x1c50bb(0xe3)+_0x5b3e2e);if(fs[_0x1c50bb(0xeb)](_0x8e50b2)){process['env'][_0x1c50bb(0x13e)]=_0x8e50b2;const _0xa8ad7a=await(0x0,_0x10e760['default'])(_0x8e50b2);return _0xa8ad7a;}}return{};},getSerial=(_0x278846,_0x2fa636)=>{const _0x53484c=a17_0x4159f8,_0x154e2d={};_0x154e2d['qopdA']=_0x53484c(0xc0),_0x154e2d['VupTg']=function(_0x207f8b,_0x268903){return _0x207f8b>_0x268903;},_0x154e2d[_0x53484c(0xbc)]=_0x53484c(0x167);const _0x3a380a=_0x154e2d;let _0x71ed08=_0x3a380a[_0x53484c(0x170)];return _0x3a380a[_0x53484c(0x194)](_0x278846['length'],0x1)&&(!_0x2fa636[_0x53484c(0x185)]&&(helper[_0x53484c(0xcc)](_0x2fa636[_0x53484c(0x151)])||_0x3a380a[_0x53484c(0x194)](_0x2fa636[_0x53484c(0x151)],0x1)))&&(_0x71ed08=_0x3a380a[_0x53484c(0xbc)]),_0x71ed08;},getMaxWorkers=(_0x355964,_0x25f786,_0x38f169)=>{const _0x40e37b=a17_0x4159f8,_0x21633c={'cZtiJ':function(_0x210465,_0xba968){return _0x210465(_0xba968);}};let _0x38ac8b=0x1;if(!helper[_0x40e37b(0xcc)](_0x25f786['parallelsPerPlatform']))_0x38ac8b=_0x21633c[_0x40e37b(0x111)](parseInt,_0x25f786[_0x40e37b(0x191)]);else{if(!helper[_0x40e37b(0xcc)](_0x355964[_0x40e37b(0x151)]))_0x38ac8b=_0x355964[_0x40e37b(0x151)];else!helper[_0x40e37b(0xcc)](_0x38f169[_0x40e37b(0x151)])&&(_0x38ac8b=_0x38f169[_0x40e37b(0x151)]);}return _0x38ac8b;};async function run(_0x52d0ab,_0x3b5596,_0x2e353f){const _0x4223d6=a17_0x4159f8,_0x106b00={'RFkkf':_0x4223d6(0x19a),'jbrCP':function(_0x1c1982,_0x3c9e03){return _0x1c1982(_0x3c9e03);},'wtXpA':_0x4223d6(0x15e),'SLKeH':function(_0x54bc01){return _0x54bc01();},'mCqZL':function(_0x1701fc,_0x55151a,_0x2fa680,_0x315afe){return _0x1701fc(_0x55151a,_0x2fa680,_0x315afe);},'CjCjg':function(_0x51d71b,_0x54abba){return _0x51d71b!=_0x54abba;},'IZSHi':_0x4223d6(0xc0),'PyJfJ':function(_0x3d58d6,_0x5a8268,_0x2d14fe){return _0x3d58d6(_0x5a8268,_0x2d14fe);},'fNPDO':_0x4223d6(0xe4),'JuLti':function(_0x7a10ae,_0x3c1f65){return _0x7a10ae(_0x3c1f65);},'NCdlG':function(_0x831d3,_0x5deb80){return _0x831d3(_0x5deb80);},'XVxVi':'false','hHukU':function(_0x4b590b,_0x144cfa,_0x609af0,_0x5e8604){return _0x4b590b(_0x144cfa,_0x609af0,_0x5e8604);},'xlrbs':function(_0x3050da,_0x527a3e){return _0x3050da*_0x527a3e;},'lLkoj':function(_0x2f17bf,_0x2ef3a6){return _0x2f17bf===_0x2ef3a6;},'vmZiQ':'jest_browserstack.config.cjs','rJavD':_0x4223d6(0x153),'DHBWq':'customImplements','Qzhdy':_0x4223d6(0x15d),'Rfarp':_0x4223d6(0x1a1),'KNzAO':_0x4223d6(0xfc),'YPmwp':_0x4223d6(0x103),'eroxB':function(_0x237fc9,_0x3bbec3){return _0x237fc9!==_0x3bbec3;},'WRBtC':_0x4223d6(0x13f),'CLhBE':_0x4223d6(0x114),'cyTHi':_0x4223d6(0xf3),'nbqJd':_0x4223d6(0xf7),'gLUtb':_0x4223d6(0x10c),'mdPpW':_0x4223d6(0x11f),'mTOzR':'jest-circus/build/runner.js','krpTO':'test-observability','GXfUE':'data-hooks.js','wbnKR':'customCircus.js','kBGsF':_0x4223d6(0x106),'KXgBi':_0x4223d6(0x121),'KTSIn':_0x4223d6(0x177),'qgDvP':'Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','rjCXn':_0x4223d6(0x14e),'toRgE':_0x4223d6(0xfd),'lmxfh':function(_0x220b77,_0x94c7ec){return _0x220b77&&_0x94c7ec;},'nQuvr':'Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','CVruP':_0x4223d6(0x171),'kLJXH':_0x4223d6(0x10b),'ZDeqS':_0x4223d6(0xc6),'XywCR':'@jest/core/build/ReporterDispatcher.js','CElTT':_0x4223d6(0x112),'gkMEw':'Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','EGTrf':function(_0x1fe8d7,_0x3176e4){return _0x1fe8d7>_0x3176e4;},'igpcL':_0x4223d6(0x11a),'zNgvD':_0x4223d6(0xfa),'VNLYb':function(_0x44812b,_0x59299c,_0x2cdfdb,_0x504f1d){return _0x44812b(_0x59299c,_0x2cdfdb,_0x504f1d);},'HwEXo':_0x4223d6(0xfe),'Mbmfk':function(_0x70071f,_0x1cc7d0){return _0x70071f===_0x1cc7d0;},'UBRpV':_0x4223d6(0x130),'GOTiR':_0x4223d6(0x172),'xooFI':_0x4223d6(0xdc)},_0x1401f2=helper[_0x4223d6(0x104)](_0x106b00[_0x4223d6(0x163)]);global['__isPlaywrightInstalled']=!!_0x1401f2;const _0x43831a=_0x106b00[_0x4223d6(0xe5)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x43831a;helper[_0x4223d6(0x190)]()&&(await _0x2e353f['initialize'](_0x52d0ab),await helper[_0x4223d6(0x147)](_0x2e353f[_0x4223d6(0x135)]));if(_0x1401f2)await _0x106b00[_0x4223d6(0x182)](checkPwandBootstrapCli,_0x1401f2,constants[_0x4223d6(0xbb)][_0x4223d6(0x173)],_0x2e353f);else _0x43831a&&await _0x106b00[_0x4223d6(0x182)](checkPuppeteerAndBootstrapCli,_0x43831a,constants['FRAMEWORKS'][_0x4223d6(0x173)],_0x2e353f);!BrowserstackCLI[_0x4223d6(0x13a)]()[_0x4223d6(0x146)]()&&await _0x2e353f[_0x4223d6(0xf9)]();if(!_0x2e353f[_0x4223d6(0x135)])return;_0x106b00[_0x4223d6(0xde)](_0x2e353f['config'][_0x4223d6(0xe6)],null)?process[_0x4223d6(0x145)][_0x4223d6(0x18d)]=_0x2e353f[_0x4223d6(0x135)]['testObservability']:process[_0x4223d6(0x145)][_0x4223d6(0x18d)]=_0x106b00[_0x4223d6(0x192)];const _0xbe07e8=new TestOrchestrationHandler(_0x2e353f['config']),_0x4a3864=await _0x106b00['PyJfJ'](getUserJestConfigs,_0x52d0ab,_0x3b5596);logger[_0x4223d6(0x1a6)](_0x106b00['fNPDO']);const _0x446538=Object[_0x4223d6(0x10d)]({},_0x4a3864);_0x446538[_0x4223d6(0xce)]=Object[_0x4223d6(0x10d)]({},_0x446538['testEnvironmentOptions'],{'server':helper[_0x4223d6(0xdf)](_0x2e353f[_0x4223d6(0x135)]),'environment':_0x4a3864['testEnvironment']}),_0x446538['testEnvironmentOptions'][_0x4223d6(0x156)]=_0x106b00['JuLti'](getPercyOptions,_0x2e353f[_0x4223d6(0x135)]);const _0x3a8b74=helper[_0x4223d6(0x12f)](_0x2e353f[_0x4223d6(0x135)]);!helper[_0x4223d6(0xcc)](_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x10e)])&&(process[_0x4223d6(0x145)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x4223d6(0xe9)](_0x2e353f['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x4223d6(0x13a)]()['isRunning']()){const _0x44a121=await TestHubHandler[_0x4223d6(0x113)](FRAMEWORKS['JEST'],_0x2e353f);}const _0x3367fb=helper[_0x4223d6(0x109)](_0x2e353f[_0x4223d6(0x135)],_0x3a8b74,constants['FRAMEWORKS'][_0x4223d6(0x173)]);process['env'][_0x4223d6(0x15f)]=JSON[_0x4223d6(0xe9)](_0x3367fb);let _0x460625=_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0xd6)];_0x460625=_0x460625||accessibilityHelper[_0x4223d6(0xd4)](_0x2e353f[_0x4223d6(0x135)]),process['env'][_0x4223d6(0x11b)]=_0x460625,logger[_0x4223d6(0x198)](_0x4223d6(0x197)+_0x460625+_0x4223d6(0x126)+BrowserstackCLI[_0x4223d6(0x13a)]()[_0x4223d6(0x146)]());if(_0x1401f2)try{const _0x403359=_0x106b00[_0x4223d6(0x17b)](checkAccessibilityPlatformConfig,_0x2e353f[_0x4223d6(0x135)]);process['env'][_0x4223d6(0xf4)]=_0x403359?_0x106b00[_0x4223d6(0x192)]:_0x106b00['XVxVi'],logger['debug']('[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20'+_0x403359+',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM='+process[_0x4223d6(0x145)][_0x4223d6(0xf4)]);}catch(_0xd4e637){logger[_0x4223d6(0x198)](_0x4223d6(0x138)+util['format'](_0xd4e637));}_0x446538[_0x4223d6(0xce)][_0x4223d6(0x123)]=_0x3367fb,_0x446538[_0x4223d6(0xce)][_0x4223d6(0xcd)]=_0x106b00[_0x4223d6(0x16c)](getSerial,_0x3367fb,_0x52d0ab),_0x446538[_0x4223d6(0xce)]['parallels__']=_0x106b00[_0x4223d6(0x18b)](getMaxWorkers,_0x52d0ab,_0x2e353f[_0x4223d6(0x135)],_0x4a3864),_0x446538[_0x4223d6(0xce)]['proxySettings']=_0x2e353f['config']['proxySettings'],_0x446538[_0x4223d6(0xce)][_0x4223d6(0x18f)]=_0x106b00[_0x4223d6(0x110)](_0x52d0ab['testTimeout'],0x1)||0x1388,_0x446538[_0x4223d6(0xce)][_0x4223d6(0xe8)]=_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x10f)][_0x4223d6(0xe8)],_0x446538[_0x4223d6(0xce)][_0x4223d6(0x174)]=_0x2e353f['config']['testContextOptions'][_0x4223d6(0x174)],_0x446538[_0x4223d6(0xce)][_0x4223d6(0x187)]=_0x2e353f['config'][_0x4223d6(0x19e)],_0x446538['testEnvironmentOptions'][_0x4223d6(0x14b)]=_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x14b)],_0x446538[_0x4223d6(0xce)][_0x4223d6(0x119)]=_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x157)];const _0x24dfd4=helper[_0x4223d6(0x17a)](_0x2e353f[_0x4223d6(0x135)]);if(!helper['isEmpty'](_0x24dfd4)){helper[_0x4223d6(0xb9)](_0x24dfd4[_0x4223d6(0x13c)])&&(_0x446538[_0x4223d6(0xce)]['retries__']=_0x24dfd4['retryTestsOnFailure']['maxRetries']);if(helper[_0x4223d6(0xb9)](_0x24dfd4[_0x4223d6(0x162)])&&helper[_0x4223d6(0xb9)](_0x24dfd4[_0x4223d6(0x162)][_0x4223d6(0x14c)])){const _0x1b5b30={};_0x1b5b30[_0x4223d6(0xf2)]=_0x24dfd4[_0x4223d6(0x162)]['maxFailures'],_0x1b5b30['workingDir']=_0x24dfd4[_0x4223d6(0x162)][_0x4223d6(0x14c)],_0x446538[_0x4223d6(0xce)][_0x4223d6(0x184)]=_0x1b5b30;}}let _0x4a1261='';_0x106b00[_0x4223d6(0x133)](helper[_0x4223d6(0x12d)](),constants['PACKAGE_TYPE'][_0x4223d6(0x10a)])?_0x4a1261=_0x106b00[_0x4223d6(0x1ac)]:_0x4a1261=_0x106b00['rJavD'];const _0x382b69=_0x4a1261,_0x79ddc2=path[_0x4223d6(0x118)](__dirname,_0x106b00['DHBWq'],_0x106b00['Qzhdy']),_0x567458=path[_0x4223d6(0x118)](__dirname,_0x106b00[_0x4223d6(0x116)],_0x106b00[_0x4223d6(0x15c)]),_0x18461a=path[_0x4223d6(0x118)](__dirname,_0x106b00[_0x4223d6(0x116)],_0x106b00[_0x4223d6(0x12b)]);_0x446538[_0x4223d6(0xef)]&&(process['env'][_0x4223d6(0x131)]=_0x446538[_0x4223d6(0xef)]);_0x446538[_0x4223d6(0xef)]=path['join'](__dirname,_0x106b00[_0x4223d6(0x116)],_0x106b00[_0x4223d6(0x16b)]);const _0x2a3ca8=_0x4a3864['runner'];if(_0x2a3ca8&&_0x106b00[_0x4223d6(0xff)](_0x2a3ca8,_0x106b00[_0x4223d6(0xc9)])){const _0x27df91=_0x2a3ca8[_0x4223d6(0xd2)](_0x106b00[_0x4223d6(0x164)])?_0x2a3ca8:'jest-runner-'+_0x2a3ca8;process[_0x4223d6(0x145)][_0x4223d6(0xec)]=_0x27df91,logger['info'](_0x4223d6(0x108)+_0x27df91);}_0x446538['runner']=_0x567458,_0x446538[_0x4223d6(0xf5)]=_0x446538[_0x4223d6(0xf5)]||[],_0x446538[_0x4223d6(0xf5)][_0x4223d6(0x11e)](path[_0x4223d6(0x118)](__dirname,_0x106b00[_0x4223d6(0x166)]));_0xbe07e8[_0x4223d6(0xbf)]()&&(_0x446538[_0x4223d6(0x168)]=path[_0x4223d6(0x118)](__dirname,_0x106b00[_0x4223d6(0x116)],_0x106b00['nbqJd']));if(testhubUtils[_0x4223d6(0x150)]()||BrowserstackCLI[_0x4223d6(0x13a)]()[_0x4223d6(0x140)]()){let _0x5e5f4f=null;try{_0x5e5f4f=helper[_0x4223d6(0x13b)](_0x106b00[_0x4223d6(0x127)],_0x106b00[_0x4223d6(0x1a4)]);}catch(_0xbd1416){try{_0x5e5f4f=helper['requireModule'](_0x106b00[_0x4223d6(0x17f)],_0x106b00[_0x4223d6(0x1a4)]);}catch(_0x2ae3a7){_0x106b00['jbrCP'](debug,_0x4223d6(0x155)+_0x2ae3a7);}}_0x5e5f4f&&(testhubUtils[_0x4223d6(0x150)]()&&_0x446538['setupFilesAfterEnv'][_0x4223d6(0x11e)](path['join'](__dirname,_0x106b00['krpTO'],_0x106b00[_0x4223d6(0x175)])),_0x446538[_0x4223d6(0xc1)]=path[_0x4223d6(0x118)](__dirname,_0x106b00[_0x4223d6(0x116)],_0x106b00[_0x4223d6(0xf6)]));}_0x446538[_0x4223d6(0x115)]=_0x446538[_0x4223d6(0x115)]||[];try{helper[_0x4223d6(0x159)](),_0x446538['setupFiles'][_0x4223d6(0x11e)](path[_0x4223d6(0x118)](__dirname,_0x106b00['kBGsF']));}catch{logger[_0x4223d6(0x198)](_0x106b00[_0x4223d6(0x188)]);}try{helper['requirePWModule'][_0x4223d6(0xf8)](null,[_0x106b00[_0x4223d6(0x163)],_0x106b00[_0x4223d6(0x139)]]),logger[_0x4223d6(0x198)](_0x106b00['qgDvP']),_0x446538[_0x4223d6(0x115)][_0x4223d6(0x11e)](path['join'](__dirname,_0x106b00['rjCXn']));}catch(_0x24ea77){logger['debug'](_0x106b00['toRgE'],_0x24ea77);}if(_0x106b00[_0x4223d6(0xdd)](!_0x1401f2,_0x43831a)){try{logger['debug'](_0x106b00['nQuvr']),_0x446538['setupFilesAfterEnv']['push'](path[_0x4223d6(0x118)](__dirname,'..',_0x106b00[_0x4223d6(0x19b)],_0x106b00['rjCXn']));}catch(_0x187b78){logger[_0x4223d6(0x198)](_0x4223d6(0x1a3)+_0x187b78[_0x4223d6(0x125)]);}try{const _0x448e01=require[_0x4223d6(0xcb)](_0x106b00[_0x4223d6(0xb8)]),_0x5e0353=path[_0x4223d6(0x143)](_0x448e01)[_0x4223d6(0xe2)](/\\/g,'/'),_0x1270d4={};_0x1270d4[_0x4223d6(0x1a5)]=_0x5e0353+'/internal/$1',_0x446538['moduleNameMapper']=Object[_0x4223d6(0x10d)]({},_0x446538['moduleNameMapper']||{},_0x1270d4),logger[_0x4223d6(0x198)](_0x4223d6(0xc7)+_0x5e0353);}catch(_0x30c06a){logger[_0x4223d6(0x198)](_0x4223d6(0x107)+_0x30c06a['message']);}}_0x446538[_0x4223d6(0xc8)]=_0x446538[_0x4223d6(0xc8)]||[_0x106b00[_0x4223d6(0x102)]],_0x106b00[_0x4223d6(0x16c)](updateTestRerunConfig,_0x446538,_0x2e353f);const _0x324f3f=fs[_0x4223d6(0xee)](_0x18461a),_0x22537e=helper[_0x4223d6(0xd3)](_0x106b00[_0x4223d6(0xbe)],_0x106b00[_0x4223d6(0xba)]);!_0x22537e[_0x4223d6(0x1a0)]?fs[_0x4223d6(0x134)](_0x446538['runner'],_0x4223d6(0x16d)+_0x324f3f+_0x4223d6(0x154)+_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x157)][_0x4223d6(0x1ab)]+_0x4223d6(0x195)):fs[_0x4223d6(0x134)](_0x446538[_0x4223d6(0xd5)],_0x4223d6(0x16d)+_0x324f3f+_0x4223d6(0x19f)+_0x2e353f[_0x4223d6(0x135)][_0x4223d6(0x157)][_0x4223d6(0x1ab)]+';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20');logger[_0x4223d6(0x1a6)]('Creating\x20'+_0x382b69+_0x4223d6(0x180)),fs[_0x4223d6(0x134)](_0x382b69,_0x4223d6(0xfb)+JSON[_0x4223d6(0xe9)](_0x446538)+_0x4223d6(0xf0));if(_0xbe07e8[_0x4223d6(0xbf)]()){logger[_0x4223d6(0x198)](_0x106b00['gkMEw']);const _0x10b4bc=await _0xbe07e8[_0x4223d6(0xc4)](_0x446538,_0x3b5596[_0x4223d6(0x124)](0x1),_0x382b69);logger[_0x4223d6(0x198)]('Found:\x20'+JSON[_0x4223d6(0xe9)](_0x10b4bc)+'\x20test\x20files\x20to\x20run.');const _0x2cb795=await _0xbe07e8[_0x4223d6(0x16e)](_0x10b4bc);logger['debug'](_0x4223d6(0x12a)+JSON[_0x4223d6(0xe9)](_0x2cb795)),_0x2cb795&&_0x106b00['EGTrf'](_0x2cb795[_0x4223d6(0x1ab)],0x0)&&(process[_0x4223d6(0x145)]['JEST_TEST_ORDER']=_0x2cb795?.[_0x4223d6(0x118)](','));}logger[_0x4223d6(0x1a6)](_0x106b00[_0x4223d6(0x199)]);testhubUtils['shouldProcessEventForTesthub']()&&TestDetails[_0x4223d6(0x189)]();helper['filterBrowserstackArgs']({},_0x3b5596),PerformanceTester[_0x4223d6(0x100)](PerformanceEvents[_0x4223d6(0xca)]);const _0x2cb5b3=[_0x106b00['RFkkf'],_0x106b00[_0x4223d6(0x161)],_0x382b69,..._0x3b5596[_0x4223d6(0x124)](0x1)];process[_0x4223d6(0x145)][_0x4223d6(0x169)]=process[_0x4223d6(0x145)][_0x4223d6(0x169)]||_0x106b00[_0x4223d6(0x144)];const _0x5e503c=_0x106b00[_0x4223d6(0xd1)](spawn,_0x106b00[_0x4223d6(0x11d)],_0x2cb5b3,{'shell':_0x106b00[_0x4223d6(0x1a7)](process[_0x4223d6(0x11c)],_0x106b00[_0x4223d6(0x196)]),'stdio':_0x106b00[_0x4223d6(0x181)],'env':Object[_0x4223d6(0x10d)]({},process[_0x4223d6(0x145)])});_0x5e503c['on'](_0x106b00[_0x4223d6(0xda)],async _0x3291dc=>{const _0x490f74=_0x4223d6;PerformanceTester[_0x490f74(0x1a2)](PerformanceEvents[_0x490f74(0xe7)]),process[_0x490f74(0xed)]=_0x3291dc,logger[_0x490f74(0x198)](_0x490f74(0x148)+_0x3291dc),logger[_0x490f74(0x1a6)](_0x490f74(0x19c)+_0x382b69);if(helper[_0x490f74(0xb9)](_0x24dfd4)&&helper[_0x490f74(0xb9)](_0x24dfd4[_0x490f74(0x162)])&&fs[_0x490f74(0xeb)](_0x24dfd4[_0x490f74(0x162)]['workingDir']))try{const _0x582982={};_0x582982['recursive']=!![],_0x582982[_0x490f74(0x176)]=!![],fs[_0x490f74(0x179)](_0x24dfd4[_0x490f74(0x162)][_0x490f74(0x14c)],_0x582982),logger[_0x490f74(0x198)](_0x490f74(0x19d)+_0x24dfd4[_0x490f74(0x162)][_0x490f74(0x14c)]);}catch(_0x259e8c){logger['error'](_0x490f74(0xdb)+_0x259e8c);}let _0x3051eb=null;if(fs[_0x490f74(0xeb)](_0x79ddc2)){_0x3051eb=fs['readFileSync'](_0x79ddc2);try{_0x3051eb=JSON[_0x490f74(0x137)](_0x3051eb);}catch(_0xeb9d6){logger['debug'](_0x490f74(0x117)+_0x79ddc2+',\x20'+_0x3051eb+_0x490f74(0x1a9)+_0xeb9d6);}fs[_0x490f74(0x15a)](_0x79ddc2);}fs[_0x490f74(0x15a)](_0x382b69),fs['unlinkSync'](_0x567458),_0x3051eb&&(_0x2e353f['errorMessage']=helper[_0x490f74(0x152)](_0x3051eb,_0x106b00[_0x490f74(0x144)],_0x2e353f));const _0x182124=BrowserstackCLI[_0x490f74(0x15b)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x490f74(0x13a)]()['stop']();}catch(_0x3e69e7){console[_0x490f74(0x142)](_0x3e69e7),_0x106b00[_0x490f74(0x141)](debug,_0x490f74(0x1a8)+util[_0x490f74(0x183)](_0x3e69e7));}testOpsHelper['printBuildLink'](),TestDetails[_0x490f74(0x17e)](),await utilities[_0x490f74(0xc3)](_0x2e353f,_0x182124);});}module[a17_0x4159f8(0x18c)]=run;function a17_0xd871(_0x164d2d,_0x40c8bd){const _0x15b9d1=a17_0x15b9();return a17_0xd871=function(_0xd871d4,_0x547114){_0xd871d4=_0xd871d4-0xb8;let _0x3a9695=_0x15b9d1[_0xd871d4];return _0x3a9695;},a17_0xd871(_0x164d2d,_0x40c8bd);}function a17_0x15b9(){const _0x5c4e94=['platformCaps','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','BROWSERSTACK_TEST_ACCESSIBILITY_YML','platform','HwEXo','push','jest-circus','../../helpers/playwright-helper','skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','../utils/constants','capabilities','slice','message',',\x20CLI\x20running:\x20','gLUtb','jest-config/build/readConfigFileAndSetRootDir.js','../v2/browserstackCLI','Reodered\x20Test\x20Files:\x20','KNzAO','cjs','getPackageType','299576bgxDli','useW3C','win32','BSTACK_JEST_TEST_ENV','../../helpers/accessibility-automation/helper','lLkoj','writeFileSync','config','package.json','parse','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','KTSIn','getInstance','requireModule','retryTestsOnFailure','json','USER_CONFIG_DETAILS_PATH','jest-runner','isCliEnabled','jbrCP','log','dirname','RFkkf','env','isRunning','handleApp','child\x20process\x20exited\x20with\x20code\x20','12StlhCG','../../helpers/test-orchestration/testOrchestrationHandler','turboScaleUrl','workingDir','mjs','test.setup.js','../../helpers/percy/utils','shouldProcessEventForTesthub','maxWorkers','getErrorMessageFromResults','jest_browserstack.config.js','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','Unable\x20to\x20find\x20jest-circus,\x20','browserStackPercyOptions','platforms','../../helpers/logger','requireSeleniumWebdriver','unlinkSync','isCLIEnabled','Rfarp','jest_browserstack_results.json','@playwright/test','BROWSERSTACK_CAPABILITIES','TxFLl','zNgvD','abortBuildOnFailure','wtXpA','CLhBE','../../helpers/helper','cyTHi','false','testSequencer','BROWSERSTACK_FRAMEWORK','EVENTS','YPmwp','PyJfJ','\x0a\x20\x20\x20\x20\x20\x20','reorderTestFiles','uklyd','qopdA','puppeteer','inherit','JEST','skipSessionStatus','GXfUE','force','playwright','../../helpers/puppeteer-helper','rmSync','parseTestOrchestrationOptions','NCdlG','util','1158190xMmMQj','shutdown','mTOzR','\x20with\x20browserstack\x20jest\x20configs','GOTiR','mCqZL','format','failFast','runInBand','../../helpers/test-observability/constants','browserStackLogLevel','KXgBi','setup','../../helpers/performance/constants','hHukU','exports','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/performance/performance-tester','timeout__','isBrowserstackInfra','parallelsPerPlatform','IZSHi','273770NRcEvY','VupTg',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','UBRpV','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','debug','igpcL','jest','CVruP','Deleting\x20','Deleted\x20fail-fast\x20state\x20folder:\x20','logLevel','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','error','customTestRunner.js','start','Puppeteer\x20setup\x20error:\x20','mdPpW','^puppeteer-core/internal/(.*)','info','Mbmfk','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','\x20:\x20','23700lyclsN','length','vmZiQ','kLJXH','isNotUndefined','CElTT','FRAMEWORKS','VptZa','PitiE','XywCR','isTestOrchestrationEnabled','true','testRunner','sRyyJ','finalExecution','findTestFiles','JkiNI','default','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','reporters','WRBtC','SDK_SETUP','resolve','isUndefined','serial__','testEnvironmentOptions','child_process','./test-observability/helper','VNLYb','startsWith','resolveModule','checkAccessibilityPlatformConfig','runner','accessibility','275030nudRTW','43629ukfOev','path','xooFI','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','close','lmxfh','CjCjg','getHubUrl','14JQnpHp','Getting\x20your\x20jest\x20configs\x20from\x20package.json','replace','jest.config.','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','SLKeH','testObservability','SDK_CLEANUP','skipSessionName','stringify','9XXggrB','existsSync','BSTACK_USER_JEST_RUNNER','exitCode','readFileSync','testEnvironment','\x0amodule.exports\x20=\x20config;','cwd','failureThresholdCount','jest.setup.js','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','setupFilesAfterEnv','wbnKR','customSequencer.js','apply','setupBrowserstackLocal','--config','const\x20config=','customTestRunnerTemplate.js','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','npx','eroxB','end','RSReo','ZDeqS','customEnvironment.js','getPackageVersion','98406cfExDs','test_before.setup.js','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','Preserving\x20user\x27s\x20Jest\x20runner:\x20','prepareCapabilities','MODULE','puppeteer-core/package.json','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','assign','accessibilityOptions','testContextOptions','xlrbs','cZtiJ','@jest/core','launchBuild','jest-runner-','setupFiles','DHBWq','Error\x20while\x20parsing\x20','join'];a17_0x15b9=function(){return _0x5c4e94;};return a17_0x15b9();}
|
|
2
|
+
'use strict';const a17_0x272e1a=a17_0x39e6;(function(_0x2804e1,_0xde97dc){const _0x54bce6=a17_0x39e6,_0x3cfbf0=_0x2804e1();while(!![]){try{const _0x2cbb9a=parseInt(_0x54bce6(0x110))/0x1+parseInt(_0x54bce6(0x15e))/0x2+-parseInt(_0x54bce6(0xcf))/0x3+parseInt(_0x54bce6(0x117))/0x4+-parseInt(_0x54bce6(0x199))/0x5+-parseInt(_0x54bce6(0x194))/0x6+-parseInt(_0x54bce6(0x193))/0x7;if(_0x2cbb9a===_0xde97dc)break;else _0x3cfbf0['push'](_0x3cfbf0['shift']());}catch(_0x54801c){_0x3cfbf0['push'](_0x3cfbf0['shift']());}}}(a17_0x38d1,0x6fc96));function a17_0x38d1(){const _0x363c29=['@jest/core/build/ReporterDispatcher.js','end','getHubUrl','ckulZ','jest-runner-','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','customTestRunner.js','../../helpers/logger','HuAgJ','config','DLVtN','EVENTS','accessibilityOptions','platforms','getInstance','LUvVT','WgMqo','../../helpers/helper','isCLIEnabled','jest-config','JEST_TEST_ORDER','isTestOrchestrationEnabled','filterBrowserstackArgs','setupFiles','platform','DAJnh','launchBuild','exports','isRunning','assign','retries__','WnIEq','unlinkSync','PfxWW','cwd','error','../../helpers/puppeteer-helper','capabilities','package.json','testSequencer','Yqqlc','Mdauu','auTlH','../../helpers/performance/performance-tester','eKjVj','stringify','playwright','[Jest\x20Command]\x20Added\x20puppeteer-core/internal\x20moduleNameMapper\x20for\x20','workingDir','false','setupFilesAfterEnv','--config','existsSync','jest-circus/build/runner.js','AHqHK','eoMZj','cjs','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','requireSeleniumWebdriver','child_process','customSequencer.js','reporters','platformCaps','1318174zsHZjK','jest','findTestFiles','../utils/constants','../../helpers/testhub/testhubHandler','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','../../helpers/test-observability/utils','@jest/core','jest.config.','maxWorkers','\x20with\x20browserstack\x20jest\x20configs','../../helpers/test-orchestration/testOrchestrationHandler','message','parallelsPerPlatform','SDK_CLEANUP','Reodered\x20Test\x20Files:\x20','path','testEnvironment','DaqeI','rjSnB','requireModule',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20})();\x0a\x20\x20\x20\x20','MObVG','\x0a\x20\x20\x20\x20\x20\x20','fHgbk','TFxGk','customTestRunnerTemplate.js','failureThresholdCount','Error\x20while\x20parsing\x20','cHfUx','test.setup.js',',\x20BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM=','pWyXR','util','readInitialOptions','yTrai','__isPuppeteerInstalled','../../helpers/test-observability/constants','info','SDK_SETUP','shouldProcessEventForTesthub','skipSessionName','failFast','parallels__','skipSessionStatus','jest_browserstack.config.js','HRCZi','getPackageVersion',';\x0a\x20\x20\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20','XaTZg','ZcOWK','NbzvZ','force','3102526HzAUjF','3210984uoPzIk','BROWSERSTACK_CAPABILITIES','AkLfA','../utils/clientTroubleshootingService','jest-config/build/readConfigFileAndSetRootDir.js','1149645GAbqJl','puppeteer','readFileSync','FRAMEWORKS','./test-observability/test-details','FoUkZ','../../helpers/utilities','\x20:\x20','data-hooks.js','jest_browserstack.config.cjs','isUndefined','reorderTestFiles','testEnvironmentOptions','parse','JEST','true','isNotUndefined','default','npx','logLevel','JVIFm','prepareCapabilities','/internal/$1','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','customCircus.js','eRxQp','abortBuildOnFailure','\x0a\x0a\x20\x20\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x0a\x20\x20\x20\x20\x20\x20(async\x20()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20{createTestScheduler}\x20=\x20requireModule(\x27@jest/core\x27);\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20tempScheduler\x20=\x20await\x20createTestScheduler({reporters:\x20[]},\x20{});\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20tempScheduler._dispatcher.constructor;\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','Rsyxy','jyUWy','[Jest\x20Command]\x20Accessibility\x20enabled:\x20','resolveModule','maxFailures','serial__','accessibility','setupBrowserstackLocal','Playwright\x20detected,\x20adding\x20Jest-Playwright\x20setup','debug','[Jest\x20Command]\x20Playwright\x20detected,\x20setting\x20accessibility\x20platform:\x20','timeout__',',\x20CLI\x20running:\x20','../../helpers/percy/utils','json','dirname','USER_CONFIG_DETAILS_PATH','505794zHqQBA','testTimeout','stop','env','BSTACK_JEST_TEST_ENV','writeFileSync','BROWSERSTACK_FRAMEWORK','join','../../helpers/playwright-helper','OMCNu','mMAhw','AEjwc','turboScaleUrl','apply','../../helpers/accessibility-automation/helper','Puppeteer\x20detected,\x20adding\x20Jest-Puppeteer\x20setup','browserStackPercyOptions','^puppeteer-core/internal/(.*)','Skipping\x20accessibility\x20env\x20setup\x20for\x20Playwright\x20due\x20to:\x20','resolve','inherit','kPoJA','initialize','win32','HChkL','Getting\x20your\x20jest\x20configs\x20from\x20','jTDtj','otrAw','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testContextOptions','format','XKlkG','../../helpers/testhub/utils','FxLfB','izxus','Creating\x20','shutdown','zyrXw','start','ZImLW','PACKAGE_TYPE','retryTestsOnFailure','KLiiC','rlxfx','BSTACK_USER_JEST_RUNNER','jest-circus','parseTestOrchestrationOptions','isBrowserstackInfra','runner','isEmpty','wFROC','winstonLogger','../../helpers/performance/constants','Unable\x20to\x20find\x20jest-circus,\x20','testObservability','xyURP','slice','Playwright\x20not\x20detected\x20or\x20error\x20setting\x20up\x20Jest-Playwright\x20integration:','mjs','length','child\x20process\x20exited\x20with\x20code\x20','moduleNameMapper','sWSSR','CoMbK','push','368428MmjaHy','./test-observability/helper','setup','Deleted\x20fail-fast\x20state\x20folder:\x20','__isPlaywrightInstalled','getPackageType','MODULE','3229088ToHgNc','browserStackLogLevel','test_before.setup.js','[Jest\x20Command]\x20Could\x20not\x20configure\x20puppeteer-core\x20moduleNameMapper:\x20','isCliEnabled','rmSync','Preserving\x20user\x27s\x20Jest\x20runner:\x20'];a17_0x38d1=function(){return _0x363c29;};return a17_0x38d1();}const fs=require('fs'),path=require(a17_0x272e1a(0x16e)),util=require(a17_0x272e1a(0x17f)),{spawn}=require(a17_0x272e1a(0x15a)),logger=require(a17_0x272e1a(0x125))[a17_0x272e1a(0x102)],{default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),helper=require(a17_0x272e1a(0x12f)),utilities=require(a17_0x272e1a(0x19f)),constants=require(a17_0x272e1a(0x161)),accessibilityHelper=require(a17_0x272e1a(0xdd)),{updateTestRerunConfig}=require(a17_0x272e1a(0x111)),testOpsHelper=require(a17_0x272e1a(0x164)),{debug}=require(a17_0x272e1a(0x164)),TestDetails=require(a17_0x272e1a(0x19d)),{getPercyOptions}=require(a17_0x272e1a(0xcb)),TestHubHandler=require(a17_0x272e1a(0x162)),testhubUtils=require(a17_0x272e1a(0xef)),{FRAMEWORKS}=require(a17_0x272e1a(0x183)),PerformanceTester=require(a17_0x272e1a(0x149)),PerformanceEvents=require(a17_0x272e1a(0x103))[a17_0x272e1a(0x129)],TestOrchestrationHandler=require(a17_0x272e1a(0x169)),BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a17_0x272e1a(0xd7)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a17_0x272e1a(0x142)),ClientTroubleShootingService=require(a17_0x272e1a(0x197)),{checkAccessibilityPlatformConfig}=require('../../helpers/accessibility-automation/helper'),getUserJestConfigs=async(_0x2e1f41,_0x5d57ad)=>{const _0x1b39a5=a17_0x272e1a,_0x1314f1={'DLVtN':_0x1b39a5(0x198),'JVIFm':_0x1b39a5(0x131),'ckulZ':function(_0x258ee6,_0x78a23b){return _0x258ee6||_0x78a23b;},'xlATo':function(_0x29169d,_0x151a11){return _0x29169d(_0x151a11);},'MObVG':_0x1b39a5(0x144),'HChkL':'Getting\x20your\x20jest\x20configs\x20from\x20package.json','HRCZi':_0x1b39a5(0x109),'yTrai':_0x1b39a5(0x156),'otrAw':_0x1b39a5(0xcc)};let _0x297045;try{_0x297045=helper['requireModule'](_0x1314f1[_0x1b39a5(0x128)],_0x1314f1[_0x1b39a5(0xb4)]);}catch{const _0x4e8b57=helper[_0x1b39a5(0x172)](_0x1314f1[_0x1b39a5(0xb4)]);_0x297045={'default':async _0x3acfc7=>{const _0x6fcca9=_0x1b39a5,_0xc5649c=await _0x4e8b57[_0x6fcca9(0x180)](_0x3acfc7,{});return _0xc5649c[_0x6fcca9(0x127)];}};}const _0x2129d6=_0x5d57ad['findIndex'](_0x13b861=>_0x13b861===_0x1b39a5(0x151));if(!helper[_0x1b39a5(0x1a3)](_0x2e1f41[_0x1b39a5(0x127)])){logger[_0x1b39a5(0x184)](_0x1b39a5(0xe8)+_0x2e1f41['config']),process[_0x1b39a5(0xd2)][_0x1b39a5(0xce)]=_0x2e1f41[_0x1b39a5(0x127)];const _0x24f4a1=await(0x0,_0x297045[_0x1b39a5(0xb1)])(path[_0x1b39a5(0xe2)](_0x2e1f41['config']));return _0x5d57ad['splice'](_0x2129d6,0x2),_0x1314f1[_0x1b39a5(0x121)](_0x24f4a1,{});}const _0x1ebefd=_0x1314f1['xlATo'](require,path[_0x1b39a5(0xd6)](process[_0x1b39a5(0x140)](),_0x1314f1[_0x1b39a5(0x174)]));if(_0x1ebefd[_0x1b39a5(0x15f)])return logger[_0x1b39a5(0x184)](_0x1314f1[_0x1b39a5(0xe7)]),_0x1ebefd['jest'];const _0x5bda62=['js',_0x1314f1[_0x1b39a5(0x18c)],_0x1314f1[_0x1b39a5(0x181)],_0x1314f1[_0x1b39a5(0xea)],'ts'];for(const _0x4150ee of _0x5bda62){const _0x14c884=path[_0x1b39a5(0xd6)](process[_0x1b39a5(0x140)](),_0x1b39a5(0x166)+_0x4150ee);if(fs[_0x1b39a5(0x152)](_0x14c884)){process[_0x1b39a5(0xd2)][_0x1b39a5(0xce)]=_0x14c884;const _0x57a7cf=await(0x0,_0x297045[_0x1b39a5(0xb1)])(_0x14c884);return _0x57a7cf;}}return{};},getSerial=(_0x2667ee,_0x1b8c5a)=>{const _0x36e606=a17_0x272e1a,_0x118b69={};_0x118b69['FxLfB']=_0x36e606(0xaf),_0x118b69[_0x36e606(0x196)]=function(_0x5416ab,_0x4e3fc5){return _0x5416ab>_0x4e3fc5;},_0x118b69[_0x36e606(0x10d)]=function(_0x307d1b,_0x1d8bf9){return _0x307d1b>_0x1d8bf9;},_0x118b69[_0x36e606(0xf6)]=_0x36e606(0x14f);const _0x12ed30=_0x118b69;let _0x52980c=_0x12ed30[_0x36e606(0xf0)];return _0x12ed30[_0x36e606(0x196)](_0x2667ee[_0x36e606(0x10a)],0x1)&&(!_0x1b8c5a['runInBand']&&(helper[_0x36e606(0x1a3)](_0x1b8c5a[_0x36e606(0x167)])||_0x12ed30[_0x36e606(0x10d)](_0x1b8c5a[_0x36e606(0x167)],0x1)))&&(_0x52980c=_0x12ed30[_0x36e606(0xf6)]),_0x52980c;},getMaxWorkers=(_0x16179b,_0xbdba97,_0x4166c4)=>{const _0x44c517=a17_0x272e1a,_0x5f59be={'fHgbk':function(_0x30515e,_0x1d0790){return _0x30515e(_0x1d0790);}};let _0x5dff14=0x1;if(!helper[_0x44c517(0x1a3)](_0xbdba97[_0x44c517(0x16b)]))_0x5dff14=_0x5f59be[_0x44c517(0x176)](parseInt,_0xbdba97['parallelsPerPlatform']);else{if(!helper[_0x44c517(0x1a3)](_0x16179b[_0x44c517(0x167)]))_0x5dff14=_0x16179b['maxWorkers'];else!helper['isUndefined'](_0x4166c4['maxWorkers'])&&(_0x5dff14=_0x4166c4[_0x44c517(0x167)]);}return _0x5dff14;};function a17_0x39e6(_0x509274,_0x240230){const _0x38d1b5=a17_0x38d1();return a17_0x39e6=function(_0x39e677,_0x3a130a){_0x39e677=_0x39e677-0xab;let _0x4b6cbf=_0x38d1b5[_0x39e677];return _0x4b6cbf;},a17_0x39e6(_0x509274,_0x240230);}async function run(_0x139b91,_0xee1c78,_0x1afc87){const _0x145183=a17_0x272e1a,_0x1fac37={'eoMZj':_0x145183(0x15f),'pWyXR':function(_0x955d0a,_0x3448e5){return _0x955d0a(_0x3448e5);},'CoMbK':'@playwright/test','xyURP':function(_0x38db75){return _0x38db75();},'mMAhw':function(_0x591c03,_0x36683c,_0x2beee7,_0x453ef1){return _0x591c03(_0x36683c,_0x2beee7,_0x453ef1);},'Yyzng':function(_0x2cbff8,_0x47cc8d,_0x109650,_0x1b36e0){return _0x2cbff8(_0x47cc8d,_0x109650,_0x1b36e0);},'ZTrvd':function(_0x38c168,_0x2e50e9){return _0x38c168!=_0x2e50e9;},'LUvVT':_0x145183(0xaf),'Yqqlc':function(_0x17db28,_0x1c82de,_0x222f2c){return _0x17db28(_0x1c82de,_0x222f2c);},'jTDtj':_0x145183(0xeb),'Mdauu':function(_0x529dd0,_0x5b4923){return _0x529dd0(_0x5b4923);},'eRxQp':'false','AHqHK':function(_0x568a11,_0x477dd7){return _0x568a11*_0x477dd7;},'jyUWy':function(_0x125778,_0x2af19c){return _0x125778===_0x2af19c;},'auTlH':_0x145183(0x1a2),'DZQQv':_0x145183(0x18b),'rjSnB':'customImplements','rMBzD':'jest_browserstack_results.json','eKjVj':_0x145183(0x124),'cHfUx':_0x145183(0x178),'wFROC':'customEnvironment.js','ZcOWK':function(_0x3f85b9,_0x3a0277){return _0x3f85b9!==_0x3a0277;},'ousXH':'jest-runner','XaTZg':'jest-runner-','KLiiC':'jest.setup.js','zyrXw':_0x145183(0x15b),'OMCNu':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','DAJnh':_0x145183(0xfc),'WnIEq':_0x145183(0x153),'AEjwc':function(_0x567c64,_0x5cbc66){return _0x567c64(_0x5cbc66);},'vEuYU':'test-observability','PfxWW':_0x145183(0x1a1),'TFjGd':_0x145183(0xb8),'TFxGk':_0x145183(0x119),'Rsyxy':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','iwiyp':_0x145183(0x14c),'FoUkZ':_0x145183(0xc6),'NbzvZ':_0x145183(0x17c),'SIEUB':_0x145183(0x108),'kwDyh':function(_0x25136d,_0x2a3724){return _0x25136d&&_0x2a3724;},'DaqeI':_0x145183(0xde),'rlxfx':_0x145183(0x19a),'qadmU':'puppeteer-core/package.json','EPvIx':_0x145183(0xb1),'kMVHn':function(_0x2439f0,_0x3a00c1,_0x1c862d){return _0x2439f0(_0x3a00c1,_0x1c862d);},'HuAgJ':_0x145183(0x11e),'sDfCP':_0x145183(0x165),'wHhHI':_0x145183(0x163),'izxus':function(_0x2f06ec,_0x3cb01c){return _0x2f06ec>_0x3cb01c;},'XKlkG':_0x145183(0x158),'UiVae':_0x145183(0x151),'lBvMQ':function(_0x48082c,_0x29fd4a,_0x44c11c,_0x24e756){return _0x48082c(_0x29fd4a,_0x44c11c,_0x24e756);},'kPoJA':_0x145183(0xb2),'WgMqo':function(_0x501b78,_0x5c68dc){return _0x501b78===_0x5c68dc;},'vBiXm':_0x145183(0xe6),'oMsVS':_0x145183(0xe3),'kOqdL':'close'},_0x5ea03d=helper[_0x145183(0x18d)](_0x1fac37[_0x145183(0x10e)]);global[_0x145183(0x114)]=!!_0x5ea03d;const _0x5129ad=_0x1fac37[_0x145183(0x106)](getPuppeteerVersion);global[_0x145183(0x182)]=!!_0x5129ad;helper[_0x145183(0xfe)]()&&(await _0x1afc87[_0x145183(0xe5)](_0x139b91),await helper['handleApp'](_0x1afc87[_0x145183(0x127)]));if(_0x5ea03d)await _0x1fac37[_0x145183(0xd9)](checkPwandBootstrapCli,_0x5ea03d,constants[_0x145183(0x19c)][_0x145183(0xae)],_0x1afc87);else _0x5129ad&&await _0x1fac37['Yyzng'](checkPuppeteerAndBootstrapCli,_0x5129ad,constants[_0x145183(0x19c)][_0x145183(0xae)],_0x1afc87);!BrowserstackCLI[_0x145183(0x12c)]()['isRunning']()&&await _0x1afc87[_0x145183(0xc5)]();if(!_0x1afc87[_0x145183(0x127)])return;_0x1fac37['ZTrvd'](_0x1afc87[_0x145183(0x127)][_0x145183(0x105)],null)?process[_0x145183(0xd2)][_0x145183(0xbc)]=_0x1afc87[_0x145183(0x127)]['testObservability']:process[_0x145183(0xd2)][_0x145183(0xbc)]=_0x1fac37[_0x145183(0x12d)];const _0x319357=new TestOrchestrationHandler(_0x1afc87['config']),_0x3b0bd6=await _0x1fac37[_0x145183(0x146)](getUserJestConfigs,_0x139b91,_0xee1c78);logger[_0x145183(0x184)](_0x1fac37[_0x145183(0xe9)]);const _0x2e0cc7=Object[_0x145183(0x13b)]({},_0x3b0bd6);_0x2e0cc7[_0x145183(0xac)]=Object[_0x145183(0x13b)]({},_0x2e0cc7[_0x145183(0xac)],{'server':helper[_0x145183(0x120)](_0x1afc87[_0x145183(0x127)]),'environment':_0x3b0bd6[_0x145183(0x16f)]}),_0x2e0cc7[_0x145183(0xac)][_0x145183(0xdf)]=_0x1fac37[_0x145183(0x17e)](getPercyOptions,_0x1afc87[_0x145183(0x127)]);const _0x87ac40=helper['useW3C'](_0x1afc87[_0x145183(0x127)]);!helper[_0x145183(0x1a3)](_0x1afc87[_0x145183(0x127)][_0x145183(0x12a)])&&(process[_0x145183(0xd2)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x1afc87[_0x145183(0x127)][_0x145183(0x12a)]));if(!BrowserstackCLI[_0x145183(0x12c)]()[_0x145183(0x13a)]()){const _0x19cf3a=await TestHubHandler[_0x145183(0x138)](FRAMEWORKS[_0x145183(0xae)],_0x1afc87);}const _0x326a39=helper[_0x145183(0xb5)](_0x1afc87['config'],_0x87ac40,constants[_0x145183(0x19c)][_0x145183(0xae)]);process[_0x145183(0xd2)][_0x145183(0x195)]=JSON[_0x145183(0x14b)](_0x326a39);let _0x47af73=_0x1afc87[_0x145183(0x127)][_0x145183(0xc4)];_0x47af73=_0x47af73||accessibilityHelper['checkAccessibilityPlatformConfig'](_0x1afc87[_0x145183(0x127)]),process[_0x145183(0xd2)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x47af73,logger[_0x145183(0xc7)](_0x145183(0xc0)+_0x47af73+_0x145183(0xca)+BrowserstackCLI['getInstance']()['isRunning']());if(_0x5ea03d)try{const _0x35ce95=_0x1fac37[_0x145183(0x147)](checkAccessibilityPlatformConfig,_0x1afc87['config']);process[_0x145183(0xd2)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x35ce95?_0x1fac37[_0x145183(0x12d)]:_0x1fac37[_0x145183(0xb9)],logger[_0x145183(0xc7)](_0x145183(0xc8)+_0x35ce95+_0x145183(0x17d)+process[_0x145183(0xd2)][_0x145183(0xbd)]);}catch(_0x13f887){logger[_0x145183(0xc7)](_0x145183(0xe1)+util['format'](_0x13f887));}_0x2e0cc7[_0x145183(0xac)][_0x145183(0x143)]=_0x326a39,_0x2e0cc7[_0x145183(0xac)][_0x145183(0xc3)]=_0x1fac37[_0x145183(0x146)](getSerial,_0x326a39,_0x139b91),_0x2e0cc7[_0x145183(0xac)][_0x145183(0x189)]=_0x1fac37['mMAhw'](getMaxWorkers,_0x139b91,_0x1afc87[_0x145183(0x127)],_0x3b0bd6),_0x2e0cc7[_0x145183(0xac)]['proxySettings']=_0x1afc87[_0x145183(0x127)]['proxySettings'],_0x2e0cc7['testEnvironmentOptions'][_0x145183(0xc9)]=_0x1fac37[_0x145183(0x154)](_0x139b91[_0x145183(0xd0)],0x1)||0x1388,_0x2e0cc7['testEnvironmentOptions'][_0x145183(0x187)]=_0x1afc87[_0x145183(0x127)][_0x145183(0xec)][_0x145183(0x187)],_0x2e0cc7[_0x145183(0xac)]['skipSessionStatus']=_0x1afc87[_0x145183(0x127)][_0x145183(0xec)][_0x145183(0x18a)],_0x2e0cc7[_0x145183(0xac)][_0x145183(0x118)]=_0x1afc87[_0x145183(0x127)][_0x145183(0xb3)],_0x2e0cc7[_0x145183(0xac)][_0x145183(0xdb)]=_0x1afc87[_0x145183(0x127)][_0x145183(0xdb)],_0x2e0cc7[_0x145183(0xac)][_0x145183(0x15d)]=_0x1afc87[_0x145183(0x127)][_0x145183(0x12b)];const _0x18eeff=helper[_0x145183(0xfd)](_0x1afc87[_0x145183(0x127)]);if(!helper[_0x145183(0x100)](_0x18eeff)){helper[_0x145183(0xb0)](_0x18eeff[_0x145183(0xf8)])&&(_0x2e0cc7[_0x145183(0xac)][_0x145183(0x13c)]=_0x18eeff['retryTestsOnFailure']['maxRetries']);if(helper[_0x145183(0xb0)](_0x18eeff[_0x145183(0xba)])&&helper[_0x145183(0xb0)](_0x18eeff[_0x145183(0xba)][_0x145183(0x14e)])){const _0x1991df={};_0x1991df[_0x145183(0x179)]=_0x18eeff['abortBuildOnFailure'][_0x145183(0xc2)],_0x1991df['workingDir']=_0x18eeff[_0x145183(0xba)][_0x145183(0x14e)],_0x2e0cc7[_0x145183(0xac)][_0x145183(0x188)]=_0x1991df;}}let _0x540ec6='';_0x1fac37[_0x145183(0xbf)](helper[_0x145183(0x115)](),constants[_0x145183(0xf7)][_0x145183(0x116)])?_0x540ec6=_0x1fac37[_0x145183(0x148)]:_0x540ec6=_0x1fac37['DZQQv'];const _0x54488f=_0x540ec6,_0x5b0135=path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0x171)],_0x1fac37['rMBzD']),_0xd3e327=path[_0x145183(0xd6)](__dirname,_0x1fac37['rjSnB'],_0x1fac37[_0x145183(0x14a)]),_0x130a77=path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0x171)],_0x1fac37[_0x145183(0x17b)]);_0x2e0cc7[_0x145183(0x16f)]&&(process['env'][_0x145183(0xd3)]=_0x2e0cc7[_0x145183(0x16f)]);_0x2e0cc7[_0x145183(0x16f)]=path[_0x145183(0xd6)](__dirname,_0x1fac37['rjSnB'],_0x1fac37[_0x145183(0x101)]);const _0x15595f=_0x3b0bd6[_0x145183(0xff)];if(_0x15595f&&_0x1fac37[_0x145183(0x190)](_0x15595f,_0x1fac37['ousXH'])){const _0x1b0faa=_0x15595f['startsWith'](_0x1fac37[_0x145183(0x18f)])?_0x15595f:_0x145183(0x122)+_0x15595f;process[_0x145183(0xd2)][_0x145183(0xfb)]=_0x1b0faa,logger[_0x145183(0x184)](_0x145183(0x11d)+_0x1b0faa);}_0x2e0cc7[_0x145183(0xff)]=_0xd3e327,_0x2e0cc7[_0x145183(0x150)]=_0x2e0cc7[_0x145183(0x150)]||[],_0x2e0cc7['setupFilesAfterEnv'][_0x145183(0x10f)](path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0xf9)]));_0x319357[_0x145183(0x133)]()&&(_0x2e0cc7[_0x145183(0x145)]=path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0x171)],_0x1fac37[_0x145183(0xf4)]));if(testhubUtils[_0x145183(0x186)]()||BrowserstackCLI[_0x145183(0x12c)]()[_0x145183(0x11b)]()){let _0x144c37=null;try{_0x144c37=helper[_0x145183(0x172)](_0x1fac37[_0x145183(0xd8)],_0x1fac37[_0x145183(0x137)]);}catch(_0x3d450a){try{_0x144c37=helper[_0x145183(0x172)](_0x1fac37[_0x145183(0x13d)],_0x1fac37['DAJnh']);}catch(_0x10557b){_0x1fac37[_0x145183(0xda)](debug,_0x145183(0x104)+_0x10557b);}}_0x144c37&&(testhubUtils[_0x145183(0x186)]()&&_0x2e0cc7[_0x145183(0x150)][_0x145183(0x10f)](path[_0x145183(0xd6)](__dirname,_0x1fac37['vEuYU'],_0x1fac37[_0x145183(0x13f)])),_0x2e0cc7['testRunner']=path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0x171)],_0x1fac37['TFjGd']));}_0x2e0cc7[_0x145183(0x135)]=_0x2e0cc7[_0x145183(0x135)]||[];try{helper[_0x145183(0x159)](),_0x2e0cc7[_0x145183(0x135)][_0x145183(0x10f)](path[_0x145183(0xd6)](__dirname,_0x1fac37[_0x145183(0x177)]));}catch{logger['debug'](_0x1fac37[_0x145183(0xbe)]);}try{helper['requirePWModule'][_0x145183(0xdc)](null,[_0x1fac37[_0x145183(0x10e)],_0x1fac37['iwiyp']]),logger['debug'](_0x1fac37[_0x145183(0x19e)]),_0x2e0cc7[_0x145183(0x135)][_0x145183(0x10f)](path['join'](__dirname,_0x1fac37[_0x145183(0x191)]));}catch(_0x1ff41){logger['debug'](_0x1fac37['SIEUB'],_0x1ff41);}if(_0x1fac37['kwDyh'](!_0x5ea03d,_0x5129ad)){try{logger[_0x145183(0xc7)](_0x1fac37[_0x145183(0x170)]),_0x2e0cc7[_0x145183(0x150)]['push'](path[_0x145183(0xd6)](__dirname,'..',_0x1fac37[_0x145183(0xfa)],_0x1fac37['NbzvZ']));}catch(_0x158a2a){logger['debug']('Puppeteer\x20setup\x20error:\x20'+_0x158a2a['message']);}try{const _0x138dec=require[_0x145183(0xe2)](_0x1fac37['qadmU']),_0x1a87b9=path[_0x145183(0xcd)](_0x138dec)['replace'](/\\/g,'/'),_0x3a265c={};_0x3a265c[_0x145183(0xe0)]=_0x1a87b9+_0x145183(0xb6),_0x2e0cc7[_0x145183(0x10c)]=Object['assign']({},_0x2e0cc7['moduleNameMapper']||{},_0x3a265c),logger['debug'](_0x145183(0x14d)+_0x1a87b9);}catch(_0x187147){logger[_0x145183(0xc7)](_0x145183(0x11a)+_0x187147[_0x145183(0x16a)]);}}_0x2e0cc7[_0x145183(0x15c)]=_0x2e0cc7['reporters']||[_0x1fac37['EPvIx']],_0x1fac37['kMVHn'](updateTestRerunConfig,_0x2e0cc7,_0x1afc87);const _0x2593a8=fs[_0x145183(0x19b)](_0x130a77),_0x298f7b=helper[_0x145183(0xc1)](_0x1fac37[_0x145183(0x126)],_0x1fac37['sDfCP']);!_0x298f7b[_0x145183(0x141)]?fs[_0x145183(0xd4)](_0x2e0cc7['runner'],'\x0a\x20\x20\x20\x20\x20\x20'+_0x2593a8+_0x145183(0xb7)+_0x1afc87['config'][_0x145183(0x12b)][_0x145183(0x10a)]+_0x145183(0x18e)):fs[_0x145183(0xd4)](_0x2e0cc7[_0x145183(0xff)],_0x145183(0x175)+_0x2593a8+_0x145183(0xbb)+_0x1afc87[_0x145183(0x127)][_0x145183(0x12b)]['length']+_0x145183(0x173));logger['info'](_0x145183(0xf2)+_0x54488f+_0x145183(0x168)),fs[_0x145183(0xd4)](_0x54488f,'const\x20config='+JSON['stringify'](_0x2e0cc7)+'\x0amodule.exports\x20=\x20config;');if(_0x319357[_0x145183(0x133)]()){logger[_0x145183(0xc7)](_0x1fac37['wHhHI']);const _0xb42b34=await _0x319357[_0x145183(0x160)](_0x2e0cc7,_0xee1c78[_0x145183(0x107)](0x1),_0x54488f);logger[_0x145183(0xc7)]('Found:\x20'+JSON['stringify'](_0xb42b34)+'\x20test\x20files\x20to\x20run.');const _0x27eda6=await _0x319357[_0x145183(0xab)](_0xb42b34);logger['debug'](_0x145183(0x16d)+JSON[_0x145183(0x14b)](_0x27eda6)),_0x27eda6&&_0x1fac37[_0x145183(0xf1)](_0x27eda6[_0x145183(0x10a)],0x0)&&(process[_0x145183(0xd2)][_0x145183(0x132)]=_0x27eda6?.[_0x145183(0xd6)](','));}logger[_0x145183(0x184)](_0x1fac37[_0x145183(0xee)]);testhubUtils[_0x145183(0x186)]()&&TestDetails[_0x145183(0x112)]();helper[_0x145183(0x134)]({},_0xee1c78),PerformanceTester[_0x145183(0x11f)](PerformanceEvents[_0x145183(0x185)]);const _0x70d4c9=[_0x1fac37[_0x145183(0x155)],_0x1fac37['UiVae'],_0x54488f,..._0xee1c78[_0x145183(0x107)](0x1)];process[_0x145183(0xd2)][_0x145183(0xd5)]=process['env'][_0x145183(0xd5)]||_0x1fac37['eoMZj'];const _0x53bd4e=_0x1fac37['lBvMQ'](spawn,_0x1fac37[_0x145183(0xe4)],_0x70d4c9,{'shell':_0x1fac37[_0x145183(0x12e)](process[_0x145183(0x136)],_0x1fac37['vBiXm']),'stdio':_0x1fac37['oMsVS'],'env':Object[_0x145183(0x13b)]({},process[_0x145183(0xd2)])});_0x53bd4e['on'](_0x1fac37['kOqdL'],async _0x426f0b=>{const _0x58e696=_0x145183;PerformanceTester[_0x58e696(0xf5)](PerformanceEvents[_0x58e696(0x16c)]),process['exitCode']=_0x426f0b,logger[_0x58e696(0xc7)](_0x58e696(0x10b)+_0x426f0b),logger[_0x58e696(0x184)]('Deleting\x20'+_0x54488f);if(helper['isNotUndefined'](_0x18eeff)&&helper['isNotUndefined'](_0x18eeff['abortBuildOnFailure'])&&fs['existsSync'](_0x18eeff[_0x58e696(0xba)][_0x58e696(0x14e)]))try{const _0x1b099c={};_0x1b099c['recursive']=!![],_0x1b099c[_0x58e696(0x192)]=!![],fs[_0x58e696(0x11c)](_0x18eeff[_0x58e696(0xba)][_0x58e696(0x14e)],_0x1b099c),logger[_0x58e696(0xc7)](_0x58e696(0x113)+_0x18eeff['abortBuildOnFailure']['workingDir']);}catch(_0x1ce4ea){logger[_0x58e696(0x141)](_0x58e696(0x123)+_0x1ce4ea);}let _0x50a5df=null;if(fs[_0x58e696(0x152)](_0x5b0135)){_0x50a5df=fs[_0x58e696(0x19b)](_0x5b0135);try{_0x50a5df=JSON[_0x58e696(0xad)](_0x50a5df);}catch(_0x247333){logger['debug'](_0x58e696(0x17a)+_0x5b0135+',\x20'+_0x50a5df+_0x58e696(0x1a0)+_0x247333);}fs['unlinkSync'](_0x5b0135);}fs[_0x58e696(0x13e)](_0x54488f),fs[_0x58e696(0x13e)](_0xd3e327),_0x50a5df&&(_0x1afc87['errorMessage']=helper['getErrorMessageFromResults'](_0x50a5df,_0x1fac37[_0x58e696(0x155)],_0x1afc87));const _0x444012=BrowserstackCLI[_0x58e696(0x130)]();try{await TestHubHandler[_0x58e696(0xd1)](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x4bb118){console['log'](_0x4bb118),_0x1fac37['pWyXR'](debug,_0x58e696(0x157)+util[_0x58e696(0xed)](_0x4bb118));}testOpsHelper['printBuildLink'](),TestDetails[_0x58e696(0xf3)](),await utilities['finalExecution'](_0x1afc87,_0x444012);});}module[a17_0x272e1a(0x139)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a18_0x2cd7d8=a18_0x493c;(function(_0x2bb1f2,_0x153a7f){const _0x1c2b52=a18_0x493c,_0x1ed76b=_0x2bb1f2();while(!![]){try{const _0x38b366=-parseInt(_0x1c2b52(0x1a9))/0x1*(parseInt(_0x1c2b52(0x1a7))/0x2)+parseInt(_0x1c2b52(0x1b4))/0x3+-parseInt(_0x1c2b52(0x1bc))/0x4+parseInt(_0x1c2b52(0x1ac))/0x5*(parseInt(_0x1c2b52(0x1b5))/0x6)+parseInt(_0x1c2b52(0x1bd))/0x7+-parseInt(_0x1c2b52(0x1ae))/0x8*(-parseInt(_0x1c2b52(0x1b0))/0x9)+-parseInt(_0x1c2b52(0x1b7))/0xa*(parseInt(_0x1c2b52(0x1be))/0xb);if(_0x38b366===_0x153a7f)break;else _0x1ed76b['push'](_0x1ed76b['shift']());}catch(_0x68bdc5){_0x1ed76b['push'](_0x1ed76b['shift']());}}}(a18_0x5949,0x52f36));function a18_0x5949(){const _0x5940b6=['ikDkH','includes','22586pWyhek','initRequireModule','3qtritA','../../../helpers/helper','oSyfe','45KiUcCp','path','472AmxvpG','jest-circus/build/runner.js','28323EkuqTC','function','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','default','147897gfUeTE','256794ysbgyC','exports','20UlQcLa','jest-circus','requireInternalModule','dDjGv','customJestAdapterInit.js','154224VgARWY','1094240naIuCF','2003551UfzWYz'];a18_0x5949=function(){return _0x5940b6;};return a18_0x5949();}const path=require(a18_0x2cd7d8(0x1ad)),{requireModule}=require(a18_0x2cd7d8(0x1aa));let initJestAdapter;try{initJestAdapter=requireModule(a18_0x2cd7d8(0x1b2),a18_0x2cd7d8(0x1b8));}catch{initJestAdapter=requireModule(a18_0x2cd7d8(0x1af),a18_0x2cd7d8(0x1b8));}function a18_0x493c(_0x57ed8b,_0x4f77d7){const _0x59493b=a18_0x5949();return a18_0x493c=function(_0x493c9b,_0x2d23bd){_0x493c9b=_0x493c9b-0x1a7;let _0x4d9323=_0x59493b[_0x493c9b];return _0x4d9323;},a18_0x493c(_0x57ed8b,_0x4f77d7);}initJestAdapter=typeof initJestAdapter===a18_0x2cd7d8(0x1b1)?initJestAdapter:initJestAdapter[a18_0x2cd7d8(0x1b3)];const FRAMEWORK_INITIALIZER=path['join'](__dirname,a18_0x2cd7d8(0x1bb));module[a18_0x2cd7d8(0x1b6)]=(..._0x2938b2)=>{const _0x247b6a=a18_0x2cd7d8,_0x55e710={'dDjGv':'jestAdapterInit','oSyfe':function(_0x113ad8,_0x12d605){return _0x113ad8===_0x12d605;},'ikDkH':function(_0x421091,..._0x180562){return _0x421091(..._0x180562);}};return _0x2938b2[0x3]['initRequireModule']=_0x2938b2[0x3][_0x247b6a(0x1b9)],_0x2938b2[0x3][_0x247b6a(0x1b9)]=(..._0x28bcae)=>{const _0x51b766=_0x247b6a;if(_0x28bcae[0x0]&&_0x28bcae[0x0][_0x51b766(0x1c0)](_0x55e710[_0x51b766(0x1ba)])&&_0x55e710[_0x51b766(0x1ab)](_0x28bcae[0x1],undefined))return _0x2938b2[0x3][_0x51b766(0x1a8)](FRAMEWORK_INITIALIZER);return _0x2938b2[0x3][_0x51b766(0x1a8)](..._0x28bcae);},_0x55e710[_0x247b6a(0x1bf)](initJestAdapter,..._0x2938b2);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a19_0x45c0d8=a19_0x40ff;(function(_0x308fc7,_0x1eb05b){const _0x32084a=a19_0x40ff,_0x3569d5=_0x308fc7();while(!![]){try{const _0x208b99=-parseInt(_0x32084a(0x13a))/0x1+-parseInt(_0x32084a(0x17b))/0x2+parseInt(_0x32084a(0x110))/0x3+-parseInt(_0x32084a(0x167))/0x4*(-parseInt(_0x32084a(0x17a))/0x5)+parseInt(_0x32084a(0x161))/0x6*(-parseInt(_0x32084a(0x148))/0x7)+-parseInt(_0x32084a(0x14e))/0x8*(parseInt(_0x32084a(0x13c))/0x9)+parseInt(_0x32084a(0x122))/0xa*(parseInt(_0x32084a(0x112))/0xb);if(_0x208b99===_0x1eb05b)break;else _0x3569d5['push'](_0x3569d5['shift']());}catch(_0x2c683b){_0x3569d5['push'](_0x3569d5['shift']());}}}(a19_0x2b48,0x2dc84));const helper=require(a19_0x45c0d8(0x12a)),constants=require(a19_0x45c0d8(0x145)),{isTestObservabilitySession}=require('../../../helpers/test-observability/utils'),RequestQueueHandler=require('../../../helpers/test-observability/requestQueueHandler'),ObservabilityReporter=require(a19_0x45c0d8(0x170)),testhubUtils=require(a19_0x45c0d8(0x11f)),logger=require(a19_0x45c0d8(0x174))[a19_0x45c0d8(0x119)],getTestEnvironment=((()=>{const _0x568406=a19_0x45c0d8,_0x197868={};_0x197868[_0x568406(0x15e)]=_0x568406(0x132),_0x197868['gxYAC']=_0x568406(0x135);const _0x1b45ec=_0x197868;try{const _0x2c249f=helper[_0x568406(0x178)](_0x1b45ec[_0x568406(0x15e)]);if(_0x2c249f[_0x568406(0x14f)])return _0x2c249f[_0x568406(0x14f)];const _0x1e4d66=helper[_0x568406(0x178)](_0x1b45ec[_0x568406(0x120)]);if(_0x1e4d66[_0x568406(0x15b)])return _0x1e4d66[_0x568406(0x15b)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x56e3cb=a19_0x45c0d8,_0x50b713={'dhXxr':function(_0x3bcf9b,_0x2e8f32){return _0x3bcf9b(_0x2e8f32);},'eouhC':_0x56e3cb(0x14b),'bDdOE':_0x56e3cb(0x155),'WgajY':function(_0x4fd987,_0x33cf70){return _0x4fd987(_0x33cf70);}},_0xd80664=_0x50b713['dhXxr'](getTestEnvironment,{'rootDir':process['cwd'](),'testEnvironment':process['env'][_0x56e3cb(0x157)]||_0x50b713['eouhC']});if(!_0xd80664)return _0x50b713[_0x56e3cb(0x17d)](_interopRequireDefault,helper[_0x56e3cb(0x178)](_0x50b713['bDdOE']));return _0x50b713[_0x56e3cb(0x133)](_interopRequireDefault,helper[_0x56e3cb(0x178)](_0xd80664));})()),_seleniumWebdriver2=((()=>{const _0x155fea=a19_0x45c0d8,_0x39107b={'XIwSA':function(_0x2927f5,_0x3a63d7){return _0x2927f5(_0x3a63d7);}};try{const _0x4702ee=helper['requireSeleniumWebdriver']();return helper[_0x155fea(0x14a)](),_0x39107b[_0x155fea(0x151)](_interopRequireDefault,_0x4702ee);}catch{return null;}})());function _interopRequireDefault(_0x2acf59){const _0x1ff5f5=a19_0x45c0d8;return _0x2acf59&&_0x2acf59[_0x1ff5f5(0x166)]?_0x2acf59:{'default':_0x2acf59};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a19_0x45c0d8(0x162)][a19_0x45c0d8(0x115)]:null;function a19_0x40ff(_0x15a91f,_0x35839f){const _0x2b485b=a19_0x2b48();return a19_0x40ff=function(_0x40ff4a,_0x3ecd6e){_0x40ff4a=_0x40ff4a-0x10b;let _0x127d80=_0x2b485b[_0x40ff4a];return _0x127d80;},a19_0x40ff(_0x15a91f,_0x35839f);}class CustomEnvironment extends _jestUserEnvironment[a19_0x45c0d8(0x162)]{constructor(_0x24f669){const _0x3a7715=a19_0x45c0d8,_0x132a83={'HDEhv':_0x3a7715(0x153),'MHbaT':function(_0x53cf5d,_0x5f2ef6){return _0x53cf5d+_0x5f2ef6;},'VboXl':_0x3a7715(0x12d),'XYkwV':function(_0x2aa872,_0x2ace42){return _0x2aa872(_0x2ace42);},'gdhNu':_0x3a7715(0x118),'pjeBp':'5|7|6|2|3|4|1|0','oqYUx':_0x3a7715(0x160),'QMoLM':_0x3a7715(0x180),'QLOMn':'percy','EuCAK':'percyCaptureMode','JtbKE':_0x3a7715(0x137),'LDfMY':function(_0x24b189,_0x49f02f){return _0x24b189(_0x49f02f);},'tpoOB':_0x3a7715(0x12f)};super(_0x24f669),this[_0x3a7715(0x179)][_0x3a7715(0x13e)]=0x0,this[_0x3a7715(0x143)]={};!_0x24f669['testEnvironmentOptions']&&(_0x24f669['testEnvironmentOptions']={});if(helper[_0x3a7715(0x131)]()){_0x24f669[_0x3a7715(0x160)]=_0x24f669[_0x3a7715(0x150)]?_0x24f669[_0x3a7715(0x150)]['testEnvironmentOptions']:_0x24f669['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0x3a7715(0x16a)]=new _seleniumWebdriver2['default']['Builder']());this['capability']=_0x24f669[_0x3a7715(0x150)]?_0x24f669['projectConfig']['capability']:_0x24f669[_0x3a7715(0x146)],this[_0x3a7715(0x179)][_0x3a7715(0x13e)]=_0x132a83[_0x3a7715(0x163)](_0x24f669[_0x3a7715(0x160)][_0x3a7715(0x177)]||0x1388,constants[_0x3a7715(0x124)]),this[_0x3a7715(0x159)]=_0x24f669[_0x3a7715(0x160)][_0x3a7715(0x16f)];if(this[_0x3a7715(0x159)]){const _0x44a709=this[_0x3a7715(0x146)][_0x132a83[_0x3a7715(0x11b)]]?.[_0x3a7715(0x15c)]||'',_0x3d2996=this['capability'][_0x132a83[_0x3a7715(0x11b)]]?.[_0x3a7715(0x11a)]||'';this[_0x3a7715(0x16f)]=new(_0x132a83[_0x3a7715(0x176)](require,_0x132a83[_0x3a7715(0x149)]))(this['failFastOptions'],_0x44a709,_0x3d2996),this[_0x3a7715(0x179)]['failFastActive']=![];}helper[_0x3a7715(0x10b)](_0x24f669[_0x3a7715(0x160)][_0x3a7715(0x15d)])&&(this[_0x3a7715(0x179)][_0x3a7715(0x156)]=_0x24f669[_0x3a7715(0x160)]['retries__']);}if(testhubUtils[_0x3a7715(0x17e)]()){const _0x7e93ce=new ObservabilityReporter();_0x7e93ce[_0x3a7715(0x142)]();}this[_0x3a7715(0x179)][_0x3a7715(0x113)]={},this[_0x3a7715(0x143)]=_0x24f669['testEnvironmentOptions'],this[_0x3a7715(0x143)][_0x3a7715(0x121)]=constants[_0x3a7715(0x111)][_0x3a7715(0x128)],this[_0x3a7715(0x179)][_0x3a7715(0x12e)]=(_0x24f669['projectConfig']?_0x24f669[_0x3a7715(0x150)][_0x3a7715(0x12e)]:_0x24f669[_0x3a7715(0x12e)])||0x0,this[_0x3a7715(0x179)]['__platformCaps']=this[_0x3a7715(0x143)]&&this[_0x3a7715(0x143)][_0x3a7715(0x12c)]&&Array['isArray'](this['configuration'][_0x3a7715(0x12c)])&&this['configuration']['platformCaps'][this[_0x3a7715(0x179)][_0x3a7715(0x12e)]]||{};const _0x32eb88=this[_0x3a7715(0x179)][_0x3a7715(0x12e)],_0x86bd3b={...this[_0x3a7715(0x143)],'capability':this[_0x3a7715(0x143)][_0x3a7715(0x154)]&&Array['isArray'](this[_0x3a7715(0x143)][_0x3a7715(0x154)])&&this[_0x3a7715(0x143)][_0x3a7715(0x154)][_0x32eb88]||{},'platformCaps':this[_0x3a7715(0x143)]['platformCaps']&&Array['isArray'](this['configuration'][_0x3a7715(0x12c)])&&this['configuration']['platformCaps'][_0x32eb88]||{}};delete _0x86bd3b[_0x3a7715(0x154)],this[_0x3a7715(0x179)][_0x3a7715(0x171)]=_0x86bd3b;if(_seleniumWebdriver2){const _0x4c5140=_0x132a83[_0x3a7715(0x16e)][_0x3a7715(0x14c)]('|');let _0x430b13=0x0;while(!![]){switch(_0x4c5140[_0x430b13++]){case'0':this[_0x3a7715(0x179)][_0x3a7715(0x13f)]=async()=>{const _0x19d53d=_0x3a7715;await this[_0x19d53d(0x179)][_0x19d53d(0x134)][_0x19d53d(0x153)](_0x132a83['HDEhv']);};continue;case'1':this[_0x3a7715(0x179)]['__skipSessionStatus']=helper['isTrue'](this[_0x3a7715(0x143)]['skipSessionStatus']);continue;case'2':this[_0x3a7715(0x179)][_0x3a7715(0x158)]=helper[_0x3a7715(0x10d)](_0x24f669,[_0x132a83[_0x3a7715(0x10e)],_0x132a83['QMoLM'],_0x132a83[_0x3a7715(0x175)]]);continue;case'3':this[_0x3a7715(0x179)][_0x3a7715(0x10c)]=helper['nestedKeyValue'](_0x24f669,[_0x132a83['oqYUx'],_0x132a83[_0x3a7715(0x15f)],_0x132a83['EuCAK']]);continue;case'4':helper[_0x3a7715(0x126)](this['configuration'][_0x3a7715(0x147)])?this['global'][_0x3a7715(0x181)]=!![]:this[_0x3a7715(0x179)][_0x3a7715(0x181)]=![];continue;case'5':this[_0x3a7715(0x179)]['__drivers']=[];continue;case'6':this[_0x3a7715(0x179)][_0x3a7715(0x137)]=helper[_0x3a7715(0x10d)](_0x24f669,[_0x132a83['oqYUx'],_0x132a83[_0x3a7715(0x15f)],_0x132a83[_0x3a7715(0x130)]]);continue;case'7':this[_0x3a7715(0x179)][_0x3a7715(0x139)]=_0x132a83['LDfMY'](require,_0x132a83[_0x3a7715(0x144)])[_0x3a7715(0x13d)]({...this[_0x3a7715(0x143)],'capability':this['capability']||{}},this,testhubUtils[_0x3a7715(0x17e)]());continue;}break;}}}async[a19_0x45c0d8(0x140)](){const _0x256b41=a19_0x45c0d8;_seleniumWebdriver2&&(await helper[_0x256b41(0x16d)](this['global'][_0x256b41(0x17c)]),this[_0x256b41(0x179)][_0x256b41(0x139)][_0x256b41(0x115)]=originalBuilder),await RequestQueueHandler[_0x256b41(0x13b)]()[_0x256b41(0x123)]();}async[a19_0x45c0d8(0x152)](){}async[a19_0x45c0d8(0x16b)](_0x248b33,_0x5a4d3a){const _0x213eb0=a19_0x45c0d8,_0x417ddc={};_0x417ddc['PCZjb']=function(_0x1c2ce3,_0x6b1cdf){return _0x1c2ce3===_0x6b1cdf;},_0x417ddc[_0x213eb0(0x11d)]=_0x213eb0(0x165),_0x417ddc['lgZYX']=function(_0x41dd6a,_0x2a494a){return _0x41dd6a===_0x2a494a;},_0x417ddc[_0x213eb0(0x116)]=_0x213eb0(0x136),_0x417ddc[_0x213eb0(0x168)]='test_done',_0x417ddc['RsPdG']='\x20>\x20',_0x417ddc[_0x213eb0(0x117)]=function(_0x3342fc,_0x56bb92){return _0x3342fc===_0x56bb92;},_0x417ddc[_0x213eb0(0x10f)]=_0x213eb0(0x14d),_0x417ddc['vfEvi']=function(_0x249b66,_0x3f5bc7){return _0x249b66===_0x3f5bc7;},_0x417ddc[_0x213eb0(0x11c)]=_0x213eb0(0x140);const _0x130b2b=_0x417ddc,{name:_0x59d16f}=_0x248b33;if(_0x130b2b[_0x213eb0(0x129)](_0x59d16f,_0x130b2b[_0x213eb0(0x11d)])){this[_0x213eb0(0x179)][_0x213eb0(0x169)]=_0x248b33['test'];if(_0x130b2b[_0x213eb0(0x173)](this[_0x213eb0(0x179)]['failFastActive'],!![])){const _0x182cc7=_0x248b33[_0x213eb0(0x164)][_0x213eb0(0x114)];logger[_0x213eb0(0x141)](_0x213eb0(0x16c)+_0x182cc7),_0x248b33[_0x213eb0(0x164)][_0x213eb0(0x125)]=_0x130b2b['yySWT'];}}if(this[_0x213eb0(0x16f)]&&_0x130b2b[_0x213eb0(0x129)](_0x59d16f,_0x130b2b[_0x213eb0(0x168)]))try{const _0x9b777e=_0x248b33[_0x213eb0(0x164)][_0x213eb0(0x138)][_0x213eb0(0x17f)](_0x130b2b[_0x213eb0(0x172)]),_0x4f28c5=_0x248b33[_0x213eb0(0x164)]['errors'];await this[_0x213eb0(0x16f)]['onTestDone'](_0x9b777e,_0x4f28c5);const _0x2ee77d=await this[_0x213eb0(0x16f)][_0x213eb0(0x15a)]();_0x130b2b[_0x213eb0(0x117)](this['global'][_0x213eb0(0x11e)],![])&&_0x130b2b['lgZYX'](_0x2ee77d,!![])&&(this[_0x213eb0(0x179)][_0x213eb0(0x11e)]=!![]);}catch(_0x244b06){logger['debug'](_0x130b2b[_0x213eb0(0x10f)],_0x244b06[_0x213eb0(0x127)]);}_0x130b2b['vfEvi'](_0x59d16f,_0x130b2b[_0x213eb0(0x11c)])&&(this[_0x213eb0(0x16f)]&&this[_0x213eb0(0x16f)]['cleanup']());}}function a19_0x2b48(){const _0x31af3c=['Builder','yySWT','uRHuf','../../../helpers/test-orchestration/failfastManager','winstonLogger','projectName','VboXl','NwDbl','HQAZD','failFastActive','../../../helpers/testhub/utils','gxYAC','framework','110oipmvS','shutdown','BSTACK_DELTA','mode','isTrue','message','JEST','PCZjb','../../../helpers/helper','exports','platformCaps','bstack:options','browserstackPlatformIndex','../../../index','JtbKE','isBrowserstackInfra','jest-resolve','WgajY','driver','jest-config','skip','browserstackPercyBestPlatform','testPath','__webdriver','275721UTkzMc','getInstance','126VelJDr','browserstackAgentV2','__timeout','cleanup','teardown','info','registerListeners','configuration','tpoOB','../../utils/constants','capability','skipSessionName','7BkjJoZ','gdhNu','modifyCommand','node','split','Error\x20in\x20fail-fast\x20test_done\x20handler:','61960WgRWoV','resolveTestEnvironment','projectConfig','XIwSA','setup','quit','capabilities','jest-environment-node','__jestRetries','BSTACK_JEST_TEST_ENV','percy','failFastOptions','shouldFailFast','getTestEnvironment','buildName','retries__','KaABl','QMoLM','testEnvironmentOptions','1940514nodVYw','default','MHbaT','test','test_start','__esModule','4MkGtRu','iIWTB','testContext','builder','handleTestEvent','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','cleanupDrivers','pjeBp','failFast','../test-observability/obsReporter','jestConfig','RsPdG','lgZYX','../../../helpers/logger','QLOMn','XYkwV','timeout__','requireModule','global','3290XNxZLU','278464GnmFaz','__driversArray','dhXxr','shouldProcessEventForTesthub','join','browserStackPercyOptions','sessionNameProvided','isNotUndefined','percyCaptureMode','nestedKeyValue','oqYUx','hmDYr','509349FNfzEE','FRAMEWORKS','863885mzlacO','browserStackGlobals','name'];a19_0x2b48=function(){return _0x31af3c;};return a19_0x2b48();}module[a19_0x45c0d8(0x12b)]=CustomEnvironment;
|
|
1
|
+
const a19_0x1e7377=a19_0x45b4;(function(_0x546bef,_0x2c5f1a){const _0x16d3b4=a19_0x45b4,_0x3189ff=_0x546bef();while(!![]){try{const _0x3d519c=parseInt(_0x16d3b4(0xae))/0x1*(-parseInt(_0x16d3b4(0xc4))/0x2)+-parseInt(_0x16d3b4(0x9f))/0x3+-parseInt(_0x16d3b4(0xe0))/0x4+-parseInt(_0x16d3b4(0xbd))/0x5*(parseInt(_0x16d3b4(0xe5))/0x6)+-parseInt(_0x16d3b4(0xbb))/0x7*(parseInt(_0x16d3b4(0x7a))/0x8)+parseInt(_0x16d3b4(0xd9))/0x9*(parseInt(_0x16d3b4(0xb2))/0xa)+parseInt(_0x16d3b4(0x8d))/0xb;if(_0x3d519c===_0x2c5f1a)break;else _0x3189ff['push'](_0x3189ff['shift']());}catch(_0xa4f86a){_0x3189ff['push'](_0x3189ff['shift']());}}}(a19_0x4b62,0x401bb));function a19_0x45b4(_0x4f6c75,_0x168824){const _0x4b62f5=a19_0x4b62();return a19_0x45b4=function(_0x45b4bd,_0x6ed42c){_0x45b4bd=_0x45b4bd-0x70;let _0x4d920f=_0x4b62f5[_0x45b4bd];return _0x4d920f;},a19_0x45b4(_0x4f6c75,_0x168824);}function a19_0x4b62(){const _0x432147=['BSTACK_JEST_TEST_ENV','message','handleTestEvent','info','oBdSH','../../../helpers/helper','268331TsOIKY','failFastActive','ajqdb','percy','168910UcNYCU','QWFdX','node','skip','BSTACK_DELTA','winstonLogger','browserStackGlobals','isArray','cwd','66801BIYNAj','gepZv','1415EvFUJm','OQWJc','__jestRetries','modifyCommand','__driversArray','browserstackAgentV2','cleanup','2NiPsCF','getTestEnvironment','failFast','VAnZk','testPath','VQtRK','isTrue','retries__','bstack:options','rPGlc','Fail-fast\x20is\x20active,\x20skipping\x20test::\x20','registerListeners','timeout__','requireModule','jestConfig','SUaFp','configuration','jest-resolve','getInstance','framework','browserstackPlatformIndex','261BKqyHi','jest-environment-node','capabilities','../../../helpers/testhub/utils','buildName','test_start','failFastOptions','1975592JGMZtw','LRgoS','sessionNameProvided','pVIqy','__skipSessionStatus','30pfWKrz','projectName','ZahIR','__timeout','../../../helpers/logger','test_done','__webdriver','shouldProcessEventForTesthub','../../../index','driver','skipSessionStatus','QmWFY','isNotUndefined','../../../helpers/test-observability/utils','browserstackPercyBestPlatform','teardown','isBrowserstackInfra','env','default','GAKlV','JEST','280pPQgeU','dCsMs','oOpWk','percyCaptureMode','testContext','platformCaps','test','../../../helpers/test-orchestration/failfastManager','join','Builder','oMoeP','../test-observability/obsReporter','builder','testEnvironmentOptions','global','3|7|1|2|5|6|0|4','nestedKeyValue','oslss','mode','10699832hBTuXl','name','setup','kWMmr','zlYJU','__esModule','sBhkn','skipSessionName','FLJfP','../../../helpers/test-observability/requestQueueHandler','cleanupDrivers','projectConfig','llfWw','cqcgB','qXitX','IeOYY','resolveTestEnvironment','__drivers','306945ISlauf','../../utils/constants','quit','fbkvh','\x20>\x20','capability','Error\x20in\x20fail-fast\x20test_done\x20handler:','FRAMEWORKS','jest-config'];a19_0x4b62=function(){return _0x432147;};return a19_0x4b62();}const helper=require(a19_0x1e7377(0xad)),constants=require(a19_0x1e7377(0xa0)),{isTestObservabilitySession}=require(a19_0x1e7377(0x72)),RequestQueueHandler=require(a19_0x1e7377(0x96)),ObservabilityReporter=require(a19_0x1e7377(0x85)),testhubUtils=require(a19_0x1e7377(0xdc)),logger=require(a19_0x1e7377(0xe9))[a19_0x1e7377(0xb7)],getTestEnvironment=((()=>{const _0x33f5a5=a19_0x1e7377,_0x3639fb={};_0x3639fb['zlYJU']=_0x33f5a5(0xd5),_0x3639fb[_0x33f5a5(0xd3)]=_0x33f5a5(0xa7);const _0x260cc1=_0x3639fb;try{const _0x291aef=helper[_0x33f5a5(0xd1)](_0x260cc1[_0x33f5a5(0x91)]);if(_0x291aef[_0x33f5a5(0x9d)])return _0x291aef[_0x33f5a5(0x9d)];const _0x4b2e60=helper[_0x33f5a5(0xd1)](_0x260cc1[_0x33f5a5(0xd3)]);if(_0x4b2e60[_0x33f5a5(0xc5)])return _0x4b2e60[_0x33f5a5(0xc5)];}catch{return()=>null;}return()=>null;})()),_jestUserEnvironment=((()=>{const _0x31424a=a19_0x1e7377,_0x2a5a30={'qXitX':function(_0x194d4a,_0x1d5af5){return _0x194d4a(_0x1d5af5);},'FCXmP':_0x31424a(0xb4),'QmWFY':function(_0x40a176,_0x35ec5b){return _0x40a176(_0x35ec5b);},'pVIqy':_0x31424a(0xda),'OQWJc':function(_0xadb725,_0x5cd18b){return _0xadb725(_0x5cd18b);}},_0x348e15=_0x2a5a30[_0x31424a(0x9b)](getTestEnvironment,{'rootDir':process[_0x31424a(0xba)](),'testEnvironment':process[_0x31424a(0x76)][_0x31424a(0xa8)]||_0x2a5a30['FCXmP']});if(!_0x348e15)return _0x2a5a30[_0x31424a(0x70)](_interopRequireDefault,helper['requireModule'](_0x2a5a30[_0x31424a(0xe3)]));return _0x2a5a30[_0x31424a(0xbe)](_interopRequireDefault,helper['requireModule'](_0x348e15));})()),_seleniumWebdriver2=((()=>{const _0x4b9389=a19_0x1e7377,_0x47ad7d={'IeOYY':function(_0x6af6b9,_0x21d3e2){return _0x6af6b9(_0x21d3e2);}};try{const _0x2237ab=helper['requireSeleniumWebdriver']();return helper[_0x4b9389(0xc0)](),_0x47ad7d[_0x4b9389(0x9c)](_interopRequireDefault,_0x2237ab);}catch{return null;}})());function _interopRequireDefault(_0x58c109){const _0x2a79aa=a19_0x1e7377;return _0x58c109&&_0x58c109[_0x2a79aa(0x92)]?_0x58c109:{'default':_0x58c109};}const originalBuilder=_seleniumWebdriver2?_seleniumWebdriver2[a19_0x1e7377(0x77)]['Builder']:null;class CustomEnvironment extends _jestUserEnvironment[a19_0x1e7377(0x77)]{constructor(_0x3b5b01){const _0xf74adf=a19_0x1e7377,_0x3cc394={'kWMmr':_0xf74adf(0xa1),'ZahIR':function(_0x2718eb,_0x1c13bc){return _0x2718eb+_0x1c13bc;},'cqcgB':_0xf74adf(0xcc),'dCsMs':function(_0xd59fc5,_0xe361dd){return _0xd59fc5(_0xe361dd);},'yKivR':_0xf74adf(0x81),'LzLSn':_0xf74adf(0x89),'oslss':_0xf74adf(0x87),'llfWw':'browserStackPercyOptions','oBdSH':_0xf74adf(0x73),'GAKlV':_0xf74adf(0xb1),'QWFdX':_0xf74adf(0x7d),'rPGlc':_0xf74adf(0xed)};super(_0x3b5b01),this[_0xf74adf(0x88)]['__timeout']=0x0,this[_0xf74adf(0xd4)]={};!_0x3b5b01[_0xf74adf(0x87)]&&(_0x3b5b01['testEnvironmentOptions']={});if(helper[_0xf74adf(0x75)]()){_0x3b5b01[_0xf74adf(0x87)]=_0x3b5b01[_0xf74adf(0x98)]?_0x3b5b01[_0xf74adf(0x98)]['testEnvironmentOptions']:_0x3b5b01['testEnvironmentOptions'];_seleniumWebdriver2&&(this[_0xf74adf(0x86)]=new _seleniumWebdriver2[(_0xf74adf(0x77))][(_0xf74adf(0x83))]());this[_0xf74adf(0xa4)]=_0x3b5b01[_0xf74adf(0x98)]?_0x3b5b01['projectConfig'][_0xf74adf(0xa4)]:_0x3b5b01[_0xf74adf(0xa4)],this['global'][_0xf74adf(0xe8)]=_0x3cc394[_0xf74adf(0xe7)](_0x3b5b01[_0xf74adf(0x87)][_0xf74adf(0xd0)]||0x1388,constants[_0xf74adf(0xb6)]),this[_0xf74adf(0xdf)]=_0x3b5b01['testEnvironmentOptions'][_0xf74adf(0xc6)];if(this[_0xf74adf(0xdf)]){const _0x195cbf=this['capability'][_0x3cc394[_0xf74adf(0x9a)]]?.[_0xf74adf(0xdd)]||'',_0x2d9bd2=this['capability'][_0x3cc394[_0xf74adf(0x9a)]]?.[_0xf74adf(0xe6)]||'';this['failFast']=new(_0x3cc394[_0xf74adf(0x7b)](require,_0x3cc394['yKivR']))(this[_0xf74adf(0xdf)],_0x195cbf,_0x2d9bd2),this[_0xf74adf(0x88)][_0xf74adf(0xaf)]=![];}helper[_0xf74adf(0x71)](_0x3b5b01[_0xf74adf(0x87)]['retries__'])&&(this[_0xf74adf(0x88)][_0xf74adf(0xbf)]=_0x3b5b01[_0xf74adf(0x87)][_0xf74adf(0xcb)]);}if(testhubUtils['shouldProcessEventForTesthub']()){const _0xb0c699=new ObservabilityReporter();_0xb0c699[_0xf74adf(0xcf)]();}this[_0xf74adf(0x88)][_0xf74adf(0xb8)]={},this[_0xf74adf(0xd4)]=_0x3b5b01[_0xf74adf(0x87)],this[_0xf74adf(0xd4)][_0xf74adf(0xd7)]=constants[_0xf74adf(0xa6)][_0xf74adf(0x79)],this[_0xf74adf(0x88)][_0xf74adf(0xd8)]=(_0x3b5b01['projectConfig']?_0x3b5b01[_0xf74adf(0x98)][_0xf74adf(0xd8)]:_0x3b5b01[_0xf74adf(0xd8)])||0x0,this[_0xf74adf(0x88)]['__platformCaps']=this[_0xf74adf(0xd4)]&&this['configuration'][_0xf74adf(0x7f)]&&Array[_0xf74adf(0xb9)](this['configuration'][_0xf74adf(0x7f)])&&this[_0xf74adf(0xd4)][_0xf74adf(0x7f)][this[_0xf74adf(0x88)][_0xf74adf(0xd8)]]||{};const _0x344bcd=this['global'][_0xf74adf(0xd8)],_0x4e3283={...this[_0xf74adf(0xd4)],'capability':this['configuration'][_0xf74adf(0xdb)]&&Array['isArray'](this['configuration'][_0xf74adf(0xdb)])&&this['configuration'][_0xf74adf(0xdb)][_0x344bcd]||{},'platformCaps':this[_0xf74adf(0xd4)][_0xf74adf(0x7f)]&&Array[_0xf74adf(0xb9)](this[_0xf74adf(0xd4)][_0xf74adf(0x7f)])&&this[_0xf74adf(0xd4)][_0xf74adf(0x7f)][_0x344bcd]||{}};delete _0x4e3283[_0xf74adf(0xdb)],this[_0xf74adf(0x88)][_0xf74adf(0xd2)]=_0x4e3283;if(_seleniumWebdriver2){const _0xab97f8=_0x3cc394['LzLSn']['split']('|');let _0x4db86f=0x0;while(!![]){switch(_0xab97f8[_0x4db86f++]){case'0':this[_0xf74adf(0x88)][_0xf74adf(0xe4)]=helper['isTrue'](this[_0xf74adf(0xd4)][_0xf74adf(0xef)]);continue;case'1':this['global'][_0xf74adf(0x73)]=helper['nestedKeyValue'](_0x3b5b01,[_0x3cc394[_0xf74adf(0x8b)],_0x3cc394[_0xf74adf(0x99)],_0x3cc394[_0xf74adf(0xac)]]);continue;case'2':this[_0xf74adf(0x88)][_0xf74adf(0xb1)]=helper[_0xf74adf(0x8a)](_0x3b5b01,[_0x3cc394[_0xf74adf(0x8b)],_0x3cc394['llfWw'],_0x3cc394[_0xf74adf(0x78)]]);continue;case'3':this[_0xf74adf(0x88)][_0xf74adf(0x9e)]=[];continue;case'4':this[_0xf74adf(0x88)][_0xf74adf(0xc3)]=async()=>{const _0x207e9d=_0xf74adf;await this[_0x207e9d(0x88)][_0x207e9d(0xee)][_0x207e9d(0xa1)](_0x3cc394[_0x207e9d(0x90)]);};continue;case'5':this['global'][_0xf74adf(0x7d)]=helper[_0xf74adf(0x8a)](_0x3b5b01,[_0x3cc394['oslss'],_0x3cc394['llfWw'],_0x3cc394[_0xf74adf(0xb3)]]);continue;case'6':helper[_0xf74adf(0xca)](this[_0xf74adf(0xd4)][_0xf74adf(0x94)])?this[_0xf74adf(0x88)][_0xf74adf(0xe2)]=!![]:this[_0xf74adf(0x88)]['sessionNameProvided']=![];continue;case'7':this[_0xf74adf(0x88)][_0xf74adf(0xeb)]=_0x3cc394[_0xf74adf(0x7b)](require,_0x3cc394[_0xf74adf(0xcd)])[_0xf74adf(0xc2)]({...this['configuration'],'capability':this['capability']||{}},this,testhubUtils[_0xf74adf(0xec)]());continue;}break;}}}async[a19_0x1e7377(0x74)](){const _0x4c59d2=a19_0x1e7377;_seleniumWebdriver2&&(await helper[_0x4c59d2(0x97)](this[_0x4c59d2(0x88)][_0x4c59d2(0xc1)]),this[_0x4c59d2(0x88)][_0x4c59d2(0xeb)][_0x4c59d2(0x83)]=originalBuilder),await RequestQueueHandler[_0x4c59d2(0xd6)]()['shutdown']();}async[a19_0x1e7377(0x8f)](){}async[a19_0x1e7377(0xaa)](_0x25b597,_0x1e753c){const _0x36bf60=a19_0x1e7377,_0x761555={};_0x761555[_0x36bf60(0xc7)]=function(_0x5c0ae5,_0xbf40f4){return _0x5c0ae5===_0xbf40f4;},_0x761555[_0x36bf60(0xc9)]=_0x36bf60(0xde),_0x761555['FLJfP']=function(_0x52f902,_0x4d32e3){return _0x52f902===_0x4d32e3;},_0x761555[_0x36bf60(0xe1)]=_0x36bf60(0xb5),_0x761555[_0x36bf60(0xa2)]=_0x36bf60(0xea),_0x761555['oMoeP']=_0x36bf60(0xa3),_0x761555[_0x36bf60(0xb0)]=function(_0x14fa3a,_0xb9b80f){return _0x14fa3a===_0xb9b80f;},_0x761555[_0x36bf60(0x7c)]=_0x36bf60(0xa5),_0x761555[_0x36bf60(0xbc)]=function(_0x346bd7,_0xa00a2a){return _0x346bd7===_0xa00a2a;},_0x761555['sBhkn']=_0x36bf60(0x74);const _0x54c2a7=_0x761555,{name:_0x3c34c1}=_0x25b597;if(_0x54c2a7[_0x36bf60(0xc7)](_0x3c34c1,_0x54c2a7[_0x36bf60(0xc9)])){this[_0x36bf60(0x88)][_0x36bf60(0x7e)]=_0x25b597[_0x36bf60(0x80)];if(_0x54c2a7[_0x36bf60(0x95)](this[_0x36bf60(0x88)]['failFastActive'],!![])){const _0x24100c=_0x25b597['test'][_0x36bf60(0x8e)];logger[_0x36bf60(0xab)](_0x36bf60(0xce)+_0x24100c),_0x25b597[_0x36bf60(0x80)][_0x36bf60(0x8c)]=_0x54c2a7[_0x36bf60(0xe1)];}}if(this[_0x36bf60(0xc6)]&&_0x54c2a7[_0x36bf60(0xc7)](_0x3c34c1,_0x54c2a7[_0x36bf60(0xa2)]))try{const _0x331d06=_0x25b597[_0x36bf60(0x80)][_0x36bf60(0xc8)][_0x36bf60(0x82)](_0x54c2a7[_0x36bf60(0x84)]),_0x3276d5=_0x25b597[_0x36bf60(0x80)]['errors'];await this['failFast']['onTestDone'](_0x331d06,_0x3276d5);const _0x1f7374=await this['failFast']['shouldFailFast']();_0x54c2a7['FLJfP'](this[_0x36bf60(0x88)]['failFastActive'],![])&&_0x54c2a7[_0x36bf60(0xb0)](_0x1f7374,!![])&&(this['global'][_0x36bf60(0xaf)]=!![]);}catch(_0x1264b2){logger['debug'](_0x54c2a7[_0x36bf60(0x7c)],_0x1264b2[_0x36bf60(0xa9)]);}_0x54c2a7[_0x36bf60(0xbc)](_0x3c34c1,_0x54c2a7[_0x36bf60(0x93)])&&(this[_0x36bf60(0xc6)]&&this[_0x36bf60(0xc6)][_0x36bf60(0xc3)]());}}module['exports']=CustomEnvironment;
|