browserstack-node-sdk 1.61.0 → 1.63.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/browserstack.pw.yml.sample +10 -0
- package/browserstack.yml.sample +10 -0
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/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/load/index.js +193 -12
- package/src/bin/load/load/loadErrors.js +248 -0
- package/src/bin/load/loadErrors.js +1 -0
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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 -0
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/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/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x3d03e9=a9_0x56b6;function a9_0x335a(){const _0x1e3426=['Flow\x20detection:\x20isSeleniumFlow=','GGOpA','vQlqR','tags','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','env','135LjdMBj','2564001kjPLjw','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Eijsh','CyKSR','Inside\x20browserstack\x20Before','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','Unknown\x20Test','startMonitoring','BROWSERSTACK_TESTHUB_JWT','Patching\x20Selenium','passed','currentTest','setConfig','../../helpers/accessibility-automation/scripts','length','beforeTestHook','__drivers','../../helpers/performance/performance-tester','708030JnuAcI','../../helpers/globals','../v2/TestInfo.js','nEFDo','SWDnz','../../helpers/testhub/constants.js','Inside\x20browserstack\x20AfterAll','pickleStep','JEziM','getGlobal','../../helpers/test-observability/sessionHandler','Error\x20in\x20playwright\x20beforeTestHook:\x20','push','lrljl','../../helpers/helper','oTSWe','Error\x20cleaning\x20up\x20close\x20tracker:\x20','closeTracker','../../helpers/logger','__timeout','testFramework','result','Before','afterTestHook','EWSSc','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','10ODFRgt','Error:\x20at\x20After\x20Step:\x20','text','smsaC','sFhZT','rQxIr','dJfsJ','zJygU','AfterAll','isCliEnabled','trackEvent','ILhMI','../v2/browserstackCLI','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Error\x20sending\x20log\x20created\x20event:\x20','timeout','6653042HnOcHu','platformIndex','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__workerDetails','split','KZkUo','browserstackAgentV2','page','NaXbk','map','WZwsV','288924VZCbuk','qhXJz','test_run','bstackA11yShouldScan','isPageFixture','../../index','pickle','TfTEv','Error:\x20sendPlatformDetails\x20at\x20After:\x20','toLowerCase','bstack','bootstrap','7175bwrcBf','error','Cleaned\x20up\x20Playwright\x20close\x20tracker','session_','\x22}}','uuid','pTyDd','pid','2|0|3|1|4','Passed','setFrameworkDetail','getInstance','debug','XyIIi','@cucumber/cucumber/lib/index.js','AfterStep','__skipSessionStatus','../utils/constants','SBfNR','SKqrZ','performScan','Error\x20triggering\x20AutomationFramework\x20events:\x20','rSIpg','@playwright/test','format','INnuP','executeDeferredCloses','irYoA','stopMonitoring','testInfo','cucumber-js','shutdown','setGlobal','../../helpers/test-observability/requestQueueHandler','isAccessibilityPlatform','Dvxtp','../v2/state/automationFrameworkState','\x0aError:\x20','thBuildUuid','stack','Completed\x20Playwright\x20afterTestHook\x20execution','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','24280hVDVEG','FQaRM','1jtttdd','BSTACK_CONFIG','../../helpers/performance/constants','CEYGO','Error:\x20cleaning\x20up\x20driver:\x20','storeLogObjects','CUCUMBER','executeScript','ADksY','browserstackPlatformIndex','test_run_uuid','driverCleanup','Cucumber-JS','KyyBR','qkpdk','Performing\x20scan\x20before\x20saving\x20results','failed','LSbUp','fubuM','IlBgh','../../helpers/test-observability/utils','nHAlv','../../helpers/ai-sdk/autoHealHelper','thTestRunUuid','1400DsJRvT','shift','Passed:\x20','hdpoH',',\x20isPlaywrightFlow=','Inside\x20browserstack\x20BeforeAll','CONFIG','quitCount_','__sessionFailed','BeforeAll','@cucumber/cucumber','Error:\x20in\x20quitting\x20driver\x20','../../helpers/testhub/utils','\x20|\x20','skipSessionStatus','../../helpers/setKeepAlive','JqNFB','QUIT','GuVQq','Error:\x20at\x20After\x20(Playwright):\x20','pwPage','OLKsN','finally','is_mobile_session','name','message','getId','isMobilePlatform','initQuit','kCgdY','uploadEventData','../v2/state/hookState','executeAsyncScript','PLAYWRIGHT','ENV_VAR','ZWmaF','LLKZK','toString','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__error_messages__','477886CbhCHu','installAll','stringify','Inside\x20browserstack\x20registerListeners','o11ySyncDone','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','gYRob','getTestUUID','bs:addLog:','gygnG','scenario','Failed:\x20','Error\x20determining\x20test\x20flow:\x20','__skipSessionName','__currentTestInfo','eOnNa','integrations','HFrjy','../../helpers/test-observability/error-handler','Error\x20in\x20fallback\x20cleanup:\x20','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','OpYUa','UMidp','then','patchPageCommandsForAccessibility','gJsxq','parse','status','info','testCaseStartedId','cleanup','setDefaultTimeout','cucumber-test','BDiIV','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','GAvGj','Error:\x20quiting\x20driver\x20at\x20After:\x20','browserstackSessionName','Error:\x20at\x20After\x20(Selenium):\x20','Cleaned\x20up\x20close\x20tracker','join','catch','workerInfo','PRE','isRunning','gNMwh'];a9_0x335a=function(){return _0x1e3426;};return a9_0x335a();}(function(_0x46202f,_0x24ae78){const _0x2679ab=a9_0x56b6,_0x369f86=_0x46202f();while(!![]){try{const _0x4d7d79=parseInt(_0x2679ab(0x122))/0x1*(parseInt(_0x2679ab(0x162))/0x2)+parseInt(_0x2679ab(0x1de))/0x3+parseInt(_0x2679ab(0x120))/0x4*(-parseInt(_0x2679ab(0x196))/0x5)+parseInt(_0x2679ab(0x1a9))/0x6+parseInt(_0x2679ab(0x1ea))/0x7*(parseInt(_0x2679ab(0x13a))/0x8)+parseInt(_0x2679ab(0x197))/0x9+parseInt(_0x2679ab(0x1c3))/0xa*(-parseInt(_0x2679ab(0x1d3))/0xb);if(_0x4d7d79===_0x24ae78)break;else _0x369f86['push'](_0x369f86['shift']());}catch(_0x191b85){_0x369f86['push'](_0x369f86['shift']());}}}(a9_0x335a,0x24548));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x3d03e9(0x1b7)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x3d03e9(0x107)),setKeepAlive=require(a9_0x3d03e9(0x149)),util=require('util'),PerformanceTester=require(a9_0x3d03e9(0x1a8)),{EVENTS:PerformanceEvents}=require(a9_0x3d03e9(0x124)),{commandRepository}=require(a9_0x3d03e9(0x138)),cucumberModule=requireModule(a9_0x3d03e9(0x104),a9_0x3d03e9(0x144)),logger=require(a9_0x3d03e9(0x1bb))['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x3d03e9(0x146)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x3d03e9(0x136)),TestDetails=require('../playwright/reporter/test-details.js'),TestInfo=require(a9_0x3d03e9(0x1ab)),RequestQueueHandler=require(a9_0x3d03e9(0x117)),{o11yErrorHandler}=require(a9_0x3d03e9(0x174)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x3d03e9(0x1b3)),scripts=require(a9_0x3d03e9(0x1a4)),globals=require(a9_0x3d03e9(0x1aa)),testHubConstants=require(a9_0x3d03e9(0x1ae)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require('lodash'),helper=require(a9_0x3d03e9(0x1b7));try{require('../../helpers/driverInitErrorReporter')[a9_0x3d03e9(0x163)]('cucumber-js');}catch(a9_0x4d49aa){logger[a9_0x3d03e9(0x102)]('driver-init\x20capture\x20install\x20failed:\x20'+(a9_0x4d49aa&&a9_0x4d49aa[a9_0x3d03e9(0x153)]));}const a9_0x1201b5={};a9_0x1201b5[a9_0x3d03e9(0x18c)]=undefined,a9_0x1201b5[a9_0x3d03e9(0x1a2)]={},a9_0x1201b5[a9_0x3d03e9(0x166)]=![],a9_0x1201b5[a9_0x3d03e9(0x14e)]=null,a9_0x1201b5[a9_0x3d03e9(0x1e2)]=![],a9_0x1201b5[a9_0x3d03e9(0x1a2)]['id']=undefined,a9_0x1201b5[a9_0x3d03e9(0x1a2)][a9_0x3d03e9(0x113)]=undefined;const workerDetails=a9_0x1201b5;global[a9_0x3d03e9(0x1d6)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x5f1574){const _0x3dab7e=a9_0x3d03e9,_0x544cc2={'HGdad':function(_0x42fe1a,_0xa8de88){return _0x42fe1a(_0xa8de88);},'EWSSc':_0x3dab7e(0x1cf),'SKqrZ':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x2e3cfa=workerDetails[_0x3dab7e(0x1a2)][_0x3dab7e(0x113)];if(!_0x2e3cfa)return;if(playwrightPatcher)try{const _0x21c721=_0x544cc2['HGdad'](require,_0x544cc2[_0x3dab7e(0x1c1)]);if(_0x21c721[_0x3dab7e(0x101)]()[_0x3dab7e(0x18e)]()){const _0xf065dd=_0x2e3cfa[_0x3dab7e(0x17f)];_0xf065dd?(_0x5f1574[_0x3dab7e(0x1ef)]=_0xf065dd,_0x5f1574[_0x3dab7e(0x12c)]=_0xf065dd,TestInfo[_0x3dab7e(0x127)](_0xf065dd,_0x5f1574)):logger[_0x3dab7e(0x102)](_0x544cc2[_0x3dab7e(0x109)]);return;}}catch(_0x5481a1){logger['debug'](_0x3dab7e(0x1d1)+util[_0x3dab7e(0x10e)](_0x5481a1));}await MyReporter['addTestUIDAndReportLog'](_0x2e3cfa,_0x5f1574);}),registerListeners=()=>{const _0x54a099=a9_0x3d03e9,_0x408ead={};_0x408ead[_0x54a099(0x1dd)]=_0x54a099(0x165);const _0x36d66a=_0x408ead;logger[_0x54a099(0x102)](_0x36d66a['WZwsV']),process['removeAllListeners'](_0x54a099(0x16a)+process['pid']),process['on'](_0x54a099(0x16a)+process[_0x54a099(0x1f1)],sendTestLog),PerformanceTester[_0x54a099(0x19e)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x3d03e9(0x1bf)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x3d03e9(0x1cb)],BeforeAll=cucumberModule[a9_0x3d03e9(0x143)],AfterStep=cucumberModule[a9_0x3d03e9(0x105)],configuration=process[a9_0x3d03e9(0x195)][a9_0x3d03e9(0x140)],bstackConfig=process['env'][a9_0x3d03e9(0x123)];if(configuration!==undefined){const config=JSON[a9_0x3d03e9(0x17c)](configuration);isBrowserstackInfra()?(global[a9_0x3d03e9(0x16f)]=isTrue(config['skipSessionName']),global[a9_0x3d03e9(0x106)]=isTrue(config[a9_0x3d03e9(0x148)])):(global[a9_0x3d03e9(0x16f)]=!![],global['__skipSessionStatus']=!![]);!helper['getPackageVersion'](a9_0x3d03e9(0x10d))&&(logger[a9_0x3d03e9(0x102)](a9_0x3d03e9(0x1a0)),shouldProcessEventForTesthub()?require(a9_0x3d03e9(0x1e3))[a9_0x3d03e9(0x1d9)](config,null,!![]):require(a9_0x3d03e9(0x1e3))['browserstackAgentV2'](config));global['__platformCaps']=config['platformCaps']||{},global[a9_0x3d03e9(0x12b)]=config[a9_0x3d03e9(0x1d4)];if(helper['getPackageVersion'](a9_0x3d03e9(0x10d)))try{logger[a9_0x3d03e9(0x102)]('Patching\x20Playwright'),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher['initializePlaywrightPatching'](config),logger[a9_0x3d03e9(0x102)](a9_0x3d03e9(0x176));}catch(a9_0x2f8b10){logger['debug']('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a9_0x3d03e9(0x10e)](a9_0x2f8b10));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x3d03e9(0x17c)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x3d03e9(0x1a3)](browserStackConfig),commandRepository['setFramework'](a9_0x3d03e9(0x114)));}global[a9_0x3d03e9(0x1bc)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x3d03e9(0x181)];cucumberModule[a9_0x3d03e9(0x181)]=_0x459ed7=>{const _0x59b3e8=a9_0x3d03e9,_0x56ffab={'ZQWvF':function(_0x208554,_0x47614c){return _0x208554(_0x47614c);}};global[_0x59b3e8(0x1bc)]=_0x459ed7,_0x56ffab['ZQWvF'](__setDefaultTimeout,_0x459ed7);};function a9_0x56b6(_0xeeb32f,_0x3b8a87){const _0x335aa7=a9_0x335a();return a9_0x56b6=function(_0x56b69c,_0x1f7e82){_0x56b69c=_0x56b69c-0x101;let _0x41e5a6=_0x335aa7[_0x56b69c];return _0x41e5a6;},a9_0x56b6(_0xeeb32f,_0x3b8a87);}const a9_0x11ac46={};a9_0x11ac46[a9_0x3d03e9(0x152)]='bstack',BeforeAll(a9_0x11ac46,async function(){const _0xb18b3c=a9_0x3d03e9,_0x24b6db={'vWtPP':function(_0x425b97,_0x2a5203,_0x478656,_0xc58b74){return _0x425b97(_0x2a5203,_0x478656,_0xc58b74);},'KZkUo':_0xb18b3c(0x132),'hdpoH':_0xb18b3c(0x147),'pnTKq':function(_0x3054a7,_0x39f91d,_0x5348db){return _0x3054a7(_0x39f91d,_0x5348db);},'oTSWe':_0xb18b3c(0x1a1),'FFHxR':_0xb18b3c(0x13f),'gNMwh':function(_0x24fdc8,_0x385fb3){return _0x24fdc8(_0x385fb3);},'rtPib':_0xb18b3c(0x1cf),'rYBuJ':'../v2/cliUtils','HFrjy':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','ILhMI':function(_0x1c5534){return _0x1c5534();}};PerformanceTester['startMonitoring'](),logger[_0xb18b3c(0x102)](_0x24b6db['FFHxR']),global[_0xb18b3c(0x161)]=[],global[_0xb18b3c(0x142)]=![];if(playwrightPatcher)try{const _0x3ca834=_0x24b6db[_0xb18b3c(0x18f)](require,_0x24b6db['rtPib']),_0x3c5dbd=_0x24b6db[_0xb18b3c(0x18f)](require,_0x24b6db['rYBuJ']);_0x3ca834['getInstance']()[_0xb18b3c(0x1cc)]()&&(logger[_0xb18b3c(0x102)](_0x24b6db[_0xb18b3c(0x173)]),_0x3c5dbd[_0xb18b3c(0x1f4)](FRAMEWORKS[_0xb18b3c(0x128)],FRAMEWORKS[_0xb18b3c(0x15b)]),await _0x3ca834[_0xb18b3c(0x101)]()[_0xb18b3c(0x1e9)]());}catch(_0x510d78){logger['debug'](_0xb18b3c(0x198)+util[_0xb18b3c(0x10e)](_0x510d78));}_0x24b6db['ILhMI'](shouldProcessEventForTesthub)&&(_0x24b6db[_0xb18b3c(0x1ce)](registerListeners),_0x24b6db['gNMwh'](addRequestSpy,![])),global[_0xb18b3c(0x12d)]=async()=>{const _0x4fae39=_0xb18b3c;let _0x5a0a7d=![];try{global[_0x4fae39(0x1a7)]&&global[_0x4fae39(0x1a7)][0x0]&&(await global['__drivers'][0x0][_0x4fae39(0x1ed)],_0x5a0a7d=!![],global[_0x4fae39(0x142)]?await _0x24b6db['vWtPP'](markSessionStatus,global[_0x4fae39(0x1a7)][0x0],_0x24b6db[_0x4fae39(0x1d8)],global[_0x4fae39(0x161)][_0x4fae39(0x18a)](_0x24b6db[_0x4fae39(0x13d)])):await _0x24b6db['pnTKq'](markSessionStatus,global[_0x4fae39(0x1a7)][0x0],_0x24b6db[_0x4fae39(0x1b8)]));}catch(_0x3c200a){logger['debug'](_0x4fae39(0x126)+_0x3c200a);}global[_0x4fae39(0x161)]=[],global[_0x4fae39(0x142)]=![];if(_0x5a0a7d)try{await global['__drivers'][0x0][_0x4fae39(0x156)](),global[_0x4fae39(0x1a7)][0x0][_0x4fae39(0x1ed)][_0x4fae39(0x179)](_0x3eb9d7=>{const _0x49eac4=_0x4fae39;logger[_0x49eac4(0x102)](_0x49eac4(0x145)+_0x3eb9d7[_0x49eac4(0x154)]());})[_0x4fae39(0x18b)](_0x38360f=>{const _0x1bcb88=_0x4fae39;logger[_0x1bcb88(0x102)]('driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20'+(_0x38360f&&_0x38360f[_0x1bcb88(0x11d)]||_0x38360f));});}catch(_0x561ef0){logger[_0x4fae39(0x102)](_0x4fae39(0x194)+_0x561ef0);}};});const a9_0x570beb={};a9_0x570beb[a9_0x3d03e9(0x152)]='bstack',a9_0x570beb['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d03e9(0x12e)],Before(a9_0x570beb,function(_0x4e1812,_0x52536b){const _0x57b8b0=a9_0x3d03e9,_0xa870a9={'JqNFB':function(_0x1ec02d,_0x7d5250){return _0x1ec02d>_0x7d5250;},'nEFDo':function(_0x457b05,_0x441178){return _0x457b05>_0x441178;},'qkpdk':function(_0x1844ff,_0x1715bf){return _0x1844ff(_0x1715bf);},'INnuP':function(_0x2418f7,_0x413608,_0x14f7b7,_0x5ac179){return _0x2418f7(_0x413608,_0x14f7b7,_0x5ac179);},'fubuM':_0x57b8b0(0x1e1),'JEziM':_0x57b8b0(0x1cf),'FQaRM':_0x57b8b0(0x11a),'XyIIi':function(_0x268ecd,_0x34635c){return _0x268ecd(_0x34635c);},'CjDJT':'../v2/state/hookState','SBfNR':_0x57b8b0(0x19d),'LSbUp':_0x57b8b0(0x182),'ADksY':function(_0x4513a3){return _0x4513a3();},'irYoA':_0x57b8b0(0x19b)};commandRepository['setTestNameForHealingContext'](_0x4e1812[_0x57b8b0(0x1e4)][_0x57b8b0(0x152)]),logger[_0x57b8b0(0x102)](_0xa870a9[_0x57b8b0(0x111)]),new Promise(async _0x590786=>{const _0xb963fe=_0x57b8b0;try{global[_0xb963fe(0x1a7)]&&_0xa870a9[_0xb963fe(0x14a)](global[_0xb963fe(0x1a7)][_0xb963fe(0x1a5)],0x1)&&(await global[_0xb963fe(0x12d)](),global[_0xb963fe(0x1a7)][_0xb963fe(0x13b)]()),global[_0xb963fe(0x1a7)]&&global[_0xb963fe(0x1a7)][0x0]&&global[_0xb963fe(0x1a7)][0x0]['quitCount_']&&_0xa870a9[_0xb963fe(0x1ac)](global[_0xb963fe(0x1a7)][0x0][_0xb963fe(0x141)],0x0)&&await global['driverCleanup']();}catch(_0x1b5f7f){logger[_0xb963fe(0x102)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x1b5f7f);}workerDetails[_0xb963fe(0x1a2)][_0xb963fe(0x113)]=_0x4e1812;if(!playwrightPatcher){try{if(!_0xa870a9[_0xb963fe(0x130)](isUndefined,_0x4e1812[_0xb963fe(0x1e4)][_0xb963fe(0x193)])){const _0x311abb=_0xa870a9[_0xb963fe(0x10f)](shouldScanTestForAccessibility,null,![],_0x4e1812['pickle'][_0xb963fe(0x193)][_0xb963fe(0x1dc)](({name:_0x643a5d})=>_0x643a5d));globals[_0xb963fe(0x116)](_0xa870a9[_0xb963fe(0x134)],_0x311abb);}}catch(_0x298a3b){logger[_0xb963fe(0x102)](_0xb963fe(0x160)+util['format'](_0x298a3b));}workerDetails[_0xb963fe(0x1a2)][_0xb963fe(0x139)]=TestDetails[_0xb963fe(0x169)](_0x4e1812[_0xb963fe(0x17f)]);}if(playwrightPatcher)try{await playwrightPatcher[_0xb963fe(0x1a6)](_0x4e1812),global[_0xb963fe(0x1d6)]&&global['__workerDetails'][_0xb963fe(0x14e)]&&playwrightPatcher[_0xb963fe(0x17a)](global[_0xb963fe(0x1d6)][_0xb963fe(0x14e)]);}catch(_0x351649){logger[_0xb963fe(0x102)](_0xb963fe(0x1b4)+util[_0xb963fe(0x10e)](_0x351649));}if(playwrightPatcher)try{const _0x49090d=_0xa870a9['qkpdk'](require,_0xa870a9[_0xb963fe(0x1b1)]),_0x1d7651=_0xa870a9['qkpdk'](require,_0xa870a9[_0xb963fe(0x121)]),_0x178fa8=_0xa870a9[_0xb963fe(0x103)](require,_0xa870a9['CjDJT']);if(_0x49090d['getInstance']()[_0xb963fe(0x18e)]()){const _0x27ca0b={'title':_0x4e1812[_0xb963fe(0x1e4)][_0xb963fe(0x152)]||_0xa870a9['SBfNR'],'titlePath':[_0x4e1812[_0xb963fe(0x1e4)][_0xb963fe(0x152)]||_0xa870a9[_0xb963fe(0x108)]],'id':_0x4e1812[_0xb963fe(0x17f)]||_0xa870a9[_0xb963fe(0x133)],'tags':_0x4e1812['pickle']['tags']||[],..._0x4e1812},_0x4ec812=_0x27ca0b;global[_0xb963fe(0x170)]=_0x4ec812,logger['debug'](_0xb963fe(0x19c)+_0x4e1812[_0xb963fe(0x1e4)][_0xb963fe(0x152)]);}}catch(_0x20b61a){logger[_0xb963fe(0x102)](_0xb963fe(0x10b)+util[_0xb963fe(0x10e)](_0x20b61a));}_0xa870a9[_0xb963fe(0x12a)](_0x590786);})[_0x57b8b0(0x150)](_0x52536b);});const a9_0x3b7a51={};a9_0x3b7a51[a9_0x3d03e9(0x152)]=a9_0x3d03e9(0x1e8),a9_0x3b7a51['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d03e9(0x12e)],After(a9_0x3b7a51,function(_0xbb3ff9,_0x44d4b4){const _0x56a7be=a9_0x3d03e9,_0x50b6e2={'GGOpA':function(_0x4f260d,_0x3ce969){return _0x4f260d>_0x3ce969;},'nHAlv':function(_0x6dd099,_0x309110){return _0x6dd099===_0x309110;},'IlBgh':_0x56a7be(0x132),'KilEM':function(_0x20ea7f,_0x49a91e){return _0x20ea7f===_0x49a91e;},'UMidp':function(_0x2a17a5,_0x38c6ad,_0x36cab8,_0x18da1e){return _0x2a17a5(_0x38c6ad,_0x36cab8,_0x18da1e);},'pTyDd':_0x56a7be(0x147),'rSIpg':function(_0x3c951b,_0x3bf50d,_0x5b87bd){return _0x3c951b(_0x3bf50d,_0x5b87bd);},'CyKSR':_0x56a7be(0x1a1),'eOnNa':function(_0x1687c6,_0x20b0a9){return _0x1687c6(_0x20b0a9);},'UHIKi':'../v2/browserstackCLI','mlgNp':_0x56a7be(0x11a),'CEYGO':_0x56a7be(0x159),'zJygU':'Unknown\x20Test','DSWSA':'cucumber-test','lrljl':_0x56a7be(0x11e),'MRuHo':_0x56a7be(0x167),'GAvGj':_0x56a7be(0x189),'TfTEv':_0x56a7be(0x184),'isGXg':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','qIHpy':'../v2/browserstackCLI.js','OpYUa':function(_0x3565cd){return _0x3565cd();},'smsaC':'CBTSessionCreated','doWCz':_0x56a7be(0x118),'dJfsJ':_0x56a7be(0x1e1),'BDiIV':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','oQqPi':_0x56a7be(0x131),'Dvxtp':_0x56a7be(0x155),'vQlqR':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ZWmaF':'Inside\x20browserstack\x20After'};logger[_0x56a7be(0x102)](_0x50b6e2[_0x56a7be(0x15d)]),workerDetails[_0x56a7be(0x1a2)]['testInfo']=_0xbb3ff9,new Promise(async _0x1f8c1f=>{const _0x5e4545=_0x56a7be;let _0x182b66=![],_0x123219=![],_0x400058=![];try{global[_0x5e4545(0x1a7)]&&_0x50b6e2['GGOpA'](global[_0x5e4545(0x1a7)][_0x5e4545(0x1a5)],0x0)&&(_0x123219=!![]),playwrightPatcher&&global[_0x5e4545(0x1d6)]&&global[_0x5e4545(0x1d6)][_0x5e4545(0x14e)]&&(_0x400058=!![],logger[_0x5e4545(0x102)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x5e4545(0x1d6)][_0x5e4545(0x14e)]));}catch(_0x1526a1){logger[_0x5e4545(0x102)](_0x5e4545(0x16e)+_0x1526a1);}logger[_0x5e4545(0x102)](_0x5e4545(0x190)+_0x123219+_0x5e4545(0x13e)+_0x400058);const _0x397809=_0xbb3ff9[_0x5e4545(0x1be)][_0x5e4545(0x17d)][_0x5e4545(0x15f)]()[_0x5e4545(0x1e7)](),_0x5d966f=_0x50b6e2[_0x5e4545(0x137)](_0x397809,_0x50b6e2[_0x5e4545(0x135)])||_0x50b6e2['KilEM'](_0x397809,'6'),_0x2f1e5e=_0x5d966f?_0xbb3ff9[_0x5e4545(0x1be)]['message']:null;if(_0x5d966f)try{global['__error_messages__'][_0x5e4545(0x1b5)](_0xbb3ff9[_0x5e4545(0x1be)]['message']),global[_0x5e4545(0x142)]=!![];}catch(_0x45071c){logger[_0x5e4545(0x102)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x45071c);}if(_0x123219)try{global[_0x5e4545(0x1a7)]&&_0x50b6e2[_0x5e4545(0x191)](global[_0x5e4545(0x1a7)][_0x5e4545(0x1a5)],0x1)&&(await global[_0x5e4545(0x12d)](),global[_0x5e4545(0x1a7)][_0x5e4545(0x13b)](),global[_0x5e4545(0x161)]=[],global['__sessionFailed']=![]),global['__drivers']&&global['__drivers'][0x0]&&(await global[_0x5e4545(0x1a7)][0x0][_0x5e4545(0x1ed)],_0x182b66=!![],!global[_0x5e4545(0x16f)]&&await global['__drivers'][0x0][_0x5e4545(0x129)](_0x5e4545(0x1d0)+_0xbb3ff9[_0x5e4545(0x1e4)][_0x5e4545(0x152)]+_0x5e4545(0x1ee)),_0x5d966f?await _0x50b6e2['UMidp'](markSessionStatus,global['__drivers'][0x0],_0x50b6e2[_0x5e4545(0x135)],global['__error_messages__'][_0x5e4545(0x18a)](_0x50b6e2[_0x5e4545(0x1f0)])):await _0x50b6e2[_0x5e4545(0x10c)](markSessionStatus,global['__drivers'][0x0],_0x50b6e2[_0x5e4545(0x19a)]));}catch(_0x100cc8){logger[_0x5e4545(0x102)](_0x5e4545(0x188)+util[_0x5e4545(0x10e)](_0x100cc8));}if(_0x400058)try{try{const _0x1aca94=_0x50b6e2[_0x5e4545(0x171)](require,_0x50b6e2['UHIKi']),_0x36fb45=_0x50b6e2[_0x5e4545(0x171)](require,_0x50b6e2['mlgNp']),_0x24f926=_0x50b6e2['eOnNa'](require,_0x50b6e2[_0x5e4545(0x125)]);if(_0x1aca94[_0x5e4545(0x101)]()[_0x5e4545(0x18e)]()){const _0x317d0b={'title':_0xbb3ff9[_0x5e4545(0x1e4)]['name']||_0x50b6e2[_0x5e4545(0x1ca)],'titlePath':[_0xbb3ff9['pickle'][_0x5e4545(0x152)]||_0x50b6e2['zJygU']],'id':_0xbb3ff9['testCaseStartedId']||_0x50b6e2['DSWSA'],'status':_0x5d966f?_0x50b6e2['IlBgh']:_0x50b6e2[_0x5e4545(0x19a)],'error':_0x2f1e5e?{'message':_0x2f1e5e}:null,'tags':_0xbb3ff9[_0x5e4545(0x1e4)][_0x5e4545(0x193)]||[],..._0xbb3ff9},_0x49a6ce=_0x317d0b,_0x1a03df={};_0x1a03df[_0x5e4545(0x113)]=_0x49a6ce,_0x1a03df[_0x5e4545(0x16c)]=_0xbb3ff9,_0x1a03df[_0x5e4545(0x1da)]=global[_0x5e4545(0x1d6)][_0x5e4545(0x14e)],_0x1a03df[_0x5e4545(0x1bd)]=FRAMEWORKS['CUCUMBER'],await _0x1aca94[_0x5e4545(0x101)]()['getAutomationFramework']()[_0x5e4545(0x1cd)](_0x36fb45[_0x5e4545(0x14b)],_0x24f926[_0x5e4545(0x18d)],_0x1a03df),logger['debug'](_0x5e4545(0x1c2)+_0xbb3ff9[_0x5e4545(0x1e4)][_0x5e4545(0x152)]);}}catch(_0x2a708f){logger[_0x5e4545(0x102)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x5e4545(0x10e)](_0x2a708f));}const _0x558c29=_0x5d966f?_0x50b6e2[_0x5e4545(0x135)]:_0x50b6e2[_0x5e4545(0x19a)];await playwrightPatcher[_0x5e4545(0x1c0)](_0xbb3ff9,_0x558c29,_0x2f1e5e),logger[_0x5e4545(0x102)](_0x50b6e2[_0x5e4545(0x1b6)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x5e4545(0x102)](_0x50b6e2['MRuHo']);}catch(_0x1bacc9){logger['debug']('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x5e4545(0x10e)](_0x1bacc9));}try{playwrightPatcher['closeTracker'][_0x5e4545(0x180)](),logger[_0x5e4545(0x102)](_0x50b6e2[_0x5e4545(0x185)]);}catch(_0x171a69){logger[_0x5e4545(0x102)](_0x5e4545(0x1b9)+util[_0x5e4545(0x10e)](_0x171a69));}}catch(_0x5f455a){logger[_0x5e4545(0x102)](_0x5e4545(0x14d)+util[_0x5e4545(0x10e)](_0x5f455a));try{playwrightPatcher[_0x5e4545(0x110)]&&(await playwrightPatcher[_0x5e4545(0x110)](),logger['debug'](_0x50b6e2[_0x5e4545(0x1e5)])),playwrightPatcher[_0x5e4545(0x1ba)]&&playwrightPatcher[_0x5e4545(0x1ba)]['cleanup']&&(playwrightPatcher[_0x5e4545(0x1ba)][_0x5e4545(0x180)](),logger['debug'](_0x50b6e2['isGXg']));}catch(_0x2661e2){logger['debug'](_0x5e4545(0x175)+util[_0x5e4545(0x10e)](_0x2661e2));}}const _0x34ee06=_0x50b6e2['eOnNa'](require,_0x50b6e2['qIHpy']);if(!_0x34ee06[_0x5e4545(0x101)]()[_0x5e4545(0x18e)]())try{if(_0x50b6e2[_0x5e4545(0x177)](shouldProcessEventForTesthub)){const _0x4ec4e7=TestDetails[_0x5e4545(0x169)](_0xbb3ff9[_0x5e4545(0x17f)]);let _0xfef0f9=null;global[_0x5e4545(0x1a7)]&&global['__drivers'][0x0]&&(_0xfef0f9=await _0x50b6e2[_0x5e4545(0x178)](sendPlatformDetails,global[_0x5e4545(0x1a7)][0x0],_0x4ec4e7,!![]));const _0x1ddad6={};_0x1ddad6[_0x5e4545(0x1ef)]=_0x4ec4e7,_0x1ddad6[_0x5e4545(0x172)]=_0xfef0f9;const _0x37c9f5=_0x1ddad6,_0x5c3117={};_0x5c3117['event_type']=_0x50b6e2[_0x5e4545(0x1c6)],_0x5c3117[_0x5e4545(0x1e0)]=_0x37c9f5,await SessionHandler[_0x5e4545(0x158)](_0x5c3117);}}catch(_0x39c28d){logger[_0x5e4545(0x102)](_0x5e4545(0x1e6)+util[_0x5e4545(0x10e)](_0x39c28d));}try{if(globals['getGlobal'](_0x50b6e2['doWCz'])&&globals['getGlobal'](_0x50b6e2[_0x5e4545(0x1c9)])){logger[_0x5e4545(0x17e)](_0x50b6e2[_0x5e4545(0x183)]);const _0x366237=TestDetails[_0x5e4545(0x169)](_0xbb3ff9['testCaseStartedId']),_0x1385b8={};_0x1385b8[_0x5e4545(0x139)]=_0x366237,_0x1385b8[_0x5e4545(0x11c)]=process['env'][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_UUID']],_0x1385b8['thJwtToken']=process[_0x5e4545(0x195)][testHubConstants[_0x5e4545(0x15c)][_0x5e4545(0x19f)]];const _0x1bc0bd=_0x1385b8;logger['debug'](_0x5e4545(0x1d5)+JSON[_0x5e4545(0x164)](_0x1bc0bd)),logger[_0x5e4545(0x102)](_0x50b6e2['oQqPi']),global['__drivers']&&global[_0x5e4545(0x1a7)][0x0]&&(logger[_0x5e4545(0x102)](util[_0x5e4545(0x10e)](await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x5e4545(0x10a)],{'method':global[_0x5e4545(0x187)]}))),globals[_0x5e4545(0x1b2)](_0x50b6e2[_0x5e4545(0x119)])&&(_0x1bc0bd[_0x5e4545(0x151)]=!![]),await global[_0x5e4545(0x1a7)][0x0][_0x5e4545(0x15a)](scripts['saveTestResults'],_0x1bc0bd)),logger[_0x5e4545(0x17e)](_0x50b6e2[_0x5e4545(0x192)]);}}catch(_0x8abcc7){logger[_0x5e4545(0x1eb)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x5e4545(0x10e)](_0x8abcc7));}if(_0x182b66)try{global[_0x5e4545(0x1a7)][0x0]&&_0x50b6e2[_0x5e4545(0x191)](global['__drivers'][0x0][_0x5e4545(0x141)],0x0)&&await global[_0x5e4545(0x1a7)][0x0]['initQuit']();}catch(_0x239677){logger['debug'](_0x5e4545(0x186)+_0x239677);}_0x50b6e2[_0x5e4545(0x177)](_0x1f8c1f);})[_0x56a7be(0x150)](()=>_0x44d4b4());});const a9_0x40bf13={};a9_0x40bf13[a9_0x3d03e9(0x152)]=a9_0x3d03e9(0x1e8),a9_0x40bf13[a9_0x3d03e9(0x1d2)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d03e9(0x12e)],AfterStep(a9_0x40bf13,function(_0x2a7ce2,_0x333710){const _0x2c0678=a9_0x3d03e9,_0x506535={'OLKsN':function(_0xd68703,_0x29b921){return _0xd68703===_0x29b921;},'LLKZK':_0x2c0678(0x132),'sFhZT':function(_0x337d4b,_0xc7bb9c){return _0x337d4b!==_0xc7bb9c;},'gYRob':function(_0x450ad9,_0x30b12a,_0x30badf){return _0x450ad9(_0x30b12a,_0x30badf);},'NaXbk':function(_0x420f76,_0x145efb){return _0x420f76+_0x145efb;},'gJsxq':_0x2c0678(0x16d),'lkrcI':_0x2c0678(0x11b),'kCgdY':_0x2c0678(0x1eb),'CRvcw':function(_0x4fb48e,_0x1d2deb){return _0x4fb48e+_0x1d2deb;},'Eijsh':function(_0x2d582c,_0x212f5a){return _0x2d582c+_0x212f5a;},'gygnG':_0x2c0678(0x13c),'GuVQq':'info','wguMF':_0x2c0678(0x1f3),'SWDnz':function(_0x45355e){return _0x45355e();},'KyyBR':'Inside\x20browserstack\x20AfterStep'};logger[_0x2c0678(0x102)](_0x506535[_0x2c0678(0x12f)]);const _0x10b2f0=async(_0x2adbd6,_0x171879)=>{const _0x5d1060=_0x2c0678;global[_0x5d1060(0x1a7)]&&global[_0x5d1060(0x1a7)][0x0]&&await global['__drivers'][0x0][_0x5d1060(0x129)](_0x5d1060(0x11f)+_0x2adbd6+',\x22level\x22:\x20\x22'+_0x171879+_0x5d1060(0x1ee));};new Promise(async _0x488959=>{const _0x538a90=_0x2c0678;try{const _0x34ee2a=_0x506535[_0x538a90(0x14f)](_0x2a7ce2[_0x538a90(0x1be)][_0x538a90(0x17d)][_0x538a90(0x15f)]()[_0x538a90(0x1e7)](),_0x506535[_0x538a90(0x15e)])||_0x506535[_0x538a90(0x14f)](_0x2a7ce2[_0x538a90(0x1be)][_0x538a90(0x17d)]['toString']()[_0x538a90(0x1e7)](),'6');_0x34ee2a?(global[_0x538a90(0x142)]=!![],global[_0x538a90(0x161)][_0x538a90(0x1b5)](_0x2a7ce2['result'][_0x538a90(0x153)]),_0x506535[_0x538a90(0x1c7)](_0x2a7ce2['pickleStep'],undefined)?await _0x506535[_0x538a90(0x168)](_0x10b2f0,JSON[_0x538a90(0x164)](_0x506535[_0x538a90(0x1db)](_0x506535[_0x538a90(0x1db)](_0x506535[_0x538a90(0x1db)](_0x506535[_0x538a90(0x17b)],'\x22'+_0x2a7ce2['pickleStep']['text']+'\x22\x20'),_0x506535['lkrcI']),_0x2a7ce2[_0x538a90(0x1be)][_0x538a90(0x153)])),_0x506535['kCgdY']):await _0x506535[_0x538a90(0x168)](_0x10b2f0,JSON['stringify'](_0x506535['CRvcw'](_0x506535[_0x538a90(0x17b)],_0x2a7ce2[_0x538a90(0x1be)]['message'])),_0x506535[_0x538a90(0x157)])):_0x506535[_0x538a90(0x1c7)](_0x2a7ce2[_0x538a90(0x1b0)],undefined)?await _0x506535[_0x538a90(0x168)](_0x10b2f0,JSON[_0x538a90(0x164)](_0x506535[_0x538a90(0x199)](_0x506535[_0x538a90(0x16b)],'\x22'+_0x2a7ce2[_0x538a90(0x1b0)][_0x538a90(0x1c5)]+'\x22')),_0x506535[_0x538a90(0x14c)]):await _0x506535[_0x538a90(0x168)](_0x10b2f0,JSON[_0x538a90(0x164)](_0x506535['wguMF']),_0x506535[_0x538a90(0x14c)]),global[_0x538a90(0x1a7)]&&global[_0x538a90(0x1a7)][0x0]&&global['__drivers'][0x0][_0x538a90(0x1ed)][_0x538a90(0x179)](_0x1d9c64=>{})['catch'](_0x402aa7=>{const _0x4a8bb1=_0x538a90;logger[_0x4a8bb1(0x102)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x4a8bb1(0x10e)](_0x402aa7));});}catch(_0x30d9ec){logger[_0x538a90(0x102)](_0x538a90(0x1c4)+_0x30d9ec);}_0x506535[_0x538a90(0x1ad)](_0x488959);})['finally'](()=>_0x333710());});const a9_0x290d29={};a9_0x290d29[a9_0x3d03e9(0x152)]=a9_0x3d03e9(0x1e8),a9_0x290d29[a9_0x3d03e9(0x1d2)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d03e9(0x12e)],AfterAll(a9_0x290d29,async function(_0x27d15b,_0x8cda07){const _0x27de2b=a9_0x3d03e9,_0x3e1652={'rQxIr':_0x27de2b(0x1f2),'AKALC':_0x27de2b(0x1ec),'WODMI':function(_0x27d4fc){return _0x27d4fc();},'qhXJz':_0x27de2b(0x1af)};logger['debug'](_0x3e1652[_0x27de2b(0x1df)]),await new Promise(async _0x53a7d8=>{const _0x368fab=_0x27de2b,_0xc81b78=_0x3e1652[_0x368fab(0x1c8)][_0x368fab(0x1d7)]('|');let _0x406e03=0x0;while(!![]){switch(_0xc81b78[_0x406e03++]){case'0':PerformanceTester[_0x368fab(0x112)]();continue;case'1':await global[_0x368fab(0x12d)]();continue;case'2':await RequestQueueHandler[_0x368fab(0x101)]()[_0x368fab(0x115)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x368fab(0x110)](),playwrightPatcher[_0x368fab(0x1ba)]&&playwrightPatcher[_0x368fab(0x1ba)][_0x368fab(0x180)](),logger[_0x368fab(0x102)](_0x3e1652['AKALC']));}catch(_0x3d57da){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x368fab(0x10e)](_0x3d57da));}continue;case'4':_0x3e1652['WODMI'](_0x53a7d8);continue;}break;}});});
|
|
1
|
+
const a9_0x588997=a9_0x2956;(function(_0x598536,_0xdcc672){const _0x411e85=a9_0x2956,_0x305704=_0x598536();while(!![]){try{const _0x5d371e=parseInt(_0x411e85(0x187))/0x1+-parseInt(_0x411e85(0xd6))/0x2*(-parseInt(_0x411e85(0x164))/0x3)+-parseInt(_0x411e85(0x16f))/0x4*(parseInt(_0x411e85(0xf3))/0x5)+parseInt(_0x411e85(0x129))/0x6*(-parseInt(_0x411e85(0x122))/0x7)+-parseInt(_0x411e85(0x180))/0x8+-parseInt(_0x411e85(0xe2))/0x9*(-parseInt(_0x411e85(0x10b))/0xa)+-parseInt(_0x411e85(0x186))/0xb*(parseInt(_0x411e85(0x136))/0xc);if(_0x5d371e===_0xdcc672)break;else _0x305704['push'](_0x305704['shift']());}catch(_0x4a686a){_0x305704['push'](_0x305704['shift']());}}}(a9_0x5bbf,0x877a1));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x588997(0x17e)),setKeepAlive=require(a9_0x588997(0x142)),util=require(a9_0x588997(0x1b3)),PerformanceTester=require(a9_0x588997(0x126)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x588997(0xd5)),cucumberModule=requireModule(a9_0x588997(0x179),'@cucumber/cucumber'),logger=require('../../helpers/logger')[a9_0x588997(0x1a2)],{shouldProcessEventForTesthub}=require(a9_0x588997(0x121)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x588997(0x1ad)),TestInfo=require(a9_0x588997(0x171)),RequestQueueHandler=require(a9_0x588997(0x18a)),{o11yErrorHandler}=require(a9_0x588997(0x133)),MyReporter=require(a9_0x588997(0x1bc)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x588997(0x17c)),globals=require(a9_0x588997(0x1c2)),testHubConstants=require(a9_0x588997(0x140)),{shouldScanTestForAccessibility}=require(a9_0x588997(0x13f)),{isUndefined}=require('lodash'),helper=require(a9_0x588997(0x1c3));try{require('../../helpers/driverInitErrorReporter')[a9_0x588997(0x10d)](a9_0x588997(0x138));}catch(a9_0x361b58){logger[a9_0x588997(0x111)](a9_0x588997(0xf2)+(a9_0x361b58&&a9_0x361b58[a9_0x588997(0xe8)]));}const a9_0x4967e0={};a9_0x4967e0['workerInfo']=undefined,a9_0x4967e0[a9_0x588997(0xed)]={},a9_0x4967e0[a9_0x588997(0xdd)]=![],a9_0x4967e0[a9_0x588997(0x102)]=null,a9_0x4967e0['isPageFixture']=![],a9_0x4967e0[a9_0x588997(0xed)]['id']=undefined,a9_0x4967e0[a9_0x588997(0xed)][a9_0x588997(0x166)]=undefined;const workerDetails=a9_0x4967e0;function a9_0x2956(_0x4dd14d,_0x4793d5){const _0x5bbf4f=a9_0x5bbf();return a9_0x2956=function(_0x2956c8,_0x4269f3){_0x2956c8=_0x2956c8-0xcd;let _0x2c0051=_0x5bbf4f[_0x2956c8];return _0x2c0051;},a9_0x2956(_0x4dd14d,_0x4793d5);}global[a9_0x588997(0x14e)]=workerDetails;let playwrightPatcher=null;function a9_0x5bbf(){const _0x397836=['Inside\x20browserstack\x20Before','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','DbHvW',',\x20isPlaywrightFlow=','util','AfterStep','performScan','uuid','bstack','setFrameworkDetail','qpAse','LXGsq','parse','../playwright/reporter/reporter.js','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Error\x20cleaning\x20up\x20close\x20tracker:\x20','../v2/state/automationFrameworkState','FXOBJ','oZIXx','../../helpers/globals','../../helpers/helper','Completed\x20Playwright\x20afterTestHook\x20execution','timeout','stack','BROWSERSTACK_TESTHUB_UUID','dmlcU','Cucumber-JS','patchPageCommandsForAccessibility','thJwtToken','OsOkw','bs:addLog:','isRunning','thBuildUuid','Patching\x20Playwright','../../helpers/ai-sdk/autoHealHelper','2siARmk','isAccessibilityPlatform','cxIyC','DPOBA','ZSgbT','\x22}}','AODky','o11ySyncDone','uploadEventData','sDpch','browserstackSessionName','Inside\x20browserstack\x20BeforeAll','9140436VthrDe','length','../v2/browserstackCLI','QCosq','../v2/cliUtils','ENV_VAR','message','../utils/playwright-patcher','Error:\x20in\x20quitting\x20driver\x20','HQMyC','browserstackAgentV2','currentTest','finally','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','is_mobile_session','vilmJ','driver-init\x20capture\x20install\x20failed:\x20','10BPVfes','getTestUUID','BbalJ','text','driverCleanup','rPgBk','__drivers','setDefaultTimeout','uMDax','tags','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','\x20|\x20','cucumber-test','closeTracker','@playwright/test','pwPage','setTestNameForHealingContext','ARFSP','name','getGlobal','addTestUIDAndReportLog','Inside\x20browserstack\x20AfterAll','mLwDx','format','10XOhIKl','bAwpN','installAll','stringify','split','browserstackPlatformIndex','debug','scenario','MPPDs','bstackA11yShouldScan','PLAYWRIGHT','wEjwy','rlxLl','Error\x20triggering\x20AutomationFramework\x20events:\x20','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','removeAllListeners','NGdFM','executeAsyncScript','rkWco','stopMonitoring','__skipSessionName','mKApV','../../helpers/testhub/utils','7vzGyIn','result','getPackageVersion','error','../../helpers/performance/performance-tester','pyoIY','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','1869042ASSpUt','PfXEA','pid','__sessionFailed','BParS','CBTSessionCreated','Efxoh','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','CONFIG','catch','../../helpers/test-observability/error-handler','Failed:\x20','shift','679332ghqlLj','skipSessionStatus','cucumber-js','toLowerCase','RfcKQ','afterTestHook','After','bootstrap','Error\x20in\x20playwright\x20beforeTestHook:\x20','../../helpers/accessibility-automation/helper','../../helpers/testhub/constants.js','passed','../../helpers/setKeepAlive','ATyAR','Cleaned\x20up\x20Playwright\x20close\x20tracker','Error\x20initializing\x20Playwright\x20patching:\x20','__currentTestInfo','ahcRX','fRXoR','test_run','../../index','platformIndex','__error_messages__','pNgPL','__workerDetails','tLtoH','quitCount_','Error\x20sending\x20log\x20created\x20event:\x20','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','setFramework','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','status','toString','xCYIG','beforeTestHook','Patching\x20Selenium','PaVsI','PRE','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','lstVn','Passed:\x20','isMobilePlatform','Error:\x20sendPlatformDetails\x20at\x20After:\x20','nQcsA','getInstance','../v2/state/hookState','2730282YZEXgh','kfoyg','testInfo','venIb','Error:\x20at\x20After\x20Step:\x20','WkPfW','executeScript','VaJJS','lesLJ','pickle','vyWCo','268676jhFYmw','xOvSq','../v2/TestInfo.js','setConfig','jqdtq','Qcfol','eVSSP','CUCUMBER','Passed','kMUDR','@cucumber/cucumber/lib/index.js','__platformCaps','tLNKb','../../helpers/accessibility-automation/scripts','initializePlaywrightPatching','../utils/constants','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','3981512lTmSdX','Unknown\x20Test','umifY','failed','trackEvent','IRvrY','253fntiaQ','874802zEybQN','__skipSessionStatus','Performing\x20scan\x20before\x20saving\x20results','../../helpers/test-observability/requestQueueHandler','VorUL','DAnJW','executeDeferredCloses','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','info','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','storeLogObjects','startMonitoring','\x0aError:\x20','pickleStep','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','testCaseStartedId','initQuit','Error\x20executing\x20deferred\x20closes:\x20','fTbET','session_','jmYHp','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','uZlyB','__timeout','Flow\x20detection:\x20isSeleniumFlow=','FHEta','FVBgd','winstonLogger','thTestRunUuid','cvuxJ','env','MwlYw','AfterAll','then','join',',\x22level\x22:\x20\x22','cleanup','Inside\x20browserstack\x20After','../playwright/reporter/test-details.js','Inside\x20browserstack\x20AfterStep'];a9_0x5bbf=function(){return _0x397836;};return a9_0x5bbf();}shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x210aa2){const _0x51e216=a9_0x588997,_0xb8bdd8={'pNgPL':function(_0x5ab5e3,_0x527af9){return _0x5ab5e3(_0x527af9);},'mLwDx':'../v2/browserstackCLI','bAwpN':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0xf14d39=workerDetails[_0x51e216(0xed)]['testInfo'];if(!_0xf14d39)return;if(playwrightPatcher)try{const _0x4dce78=_0xb8bdd8[_0x51e216(0x14d)](require,_0xb8bdd8[_0x51e216(0x109)]);if(_0x4dce78[_0x51e216(0x162)]()[_0x51e216(0xd2)]()){const _0x243512=_0xf14d39[_0x51e216(0x196)];_0x243512?(_0x210aa2[_0x51e216(0x1b6)]=_0x243512,_0x210aa2['test_run_uuid']=_0x243512,TestInfo[_0x51e216(0x191)](_0x243512,_0x210aa2)):logger[_0x51e216(0x111)](_0xb8bdd8[_0x51e216(0x10c)]);return;}}catch(_0x810186){logger[_0x51e216(0x111)](_0x51e216(0x151)+util[_0x51e216(0x10a)](_0x810186));}await MyReporter[_0x51e216(0x107)](_0xf14d39,_0x210aa2);}),registerListeners=()=>{const _0x2ccd69=a9_0x588997,_0x1fbfec={};_0x1fbfec[_0x2ccd69(0xf5)]='Inside\x20browserstack\x20registerListeners';const _0xf144f2=_0x1fbfec;logger[_0x2ccd69(0x111)](_0xf144f2[_0x2ccd69(0xf5)]),process[_0x2ccd69(0x11a)]('bs:addLog:'+process[_0x2ccd69(0x12b)]),process['on'](_0x2ccd69(0xd1)+process[_0x2ccd69(0x12b)],sendTestLog),PerformanceTester[_0x2ccd69(0x192)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x588997(0x13c)],AfterAll=cucumberModule[a9_0x588997(0x1a7)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x588997(0x1b4)],configuration=process['env'][a9_0x588997(0x131)],bstackConfig=process[a9_0x588997(0x1a5)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global[a9_0x588997(0x11f)]=isTrue(config['skipSessionName']),global[a9_0x588997(0x188)]=isTrue(config[a9_0x588997(0x137)])):(global['__skipSessionName']=!![],global[a9_0x588997(0x188)]=!![]);!helper[a9_0x588997(0x124)](a9_0x588997(0x101))&&(logger[a9_0x588997(0x111)](a9_0x588997(0x159)),shouldProcessEventForTesthub()?require(a9_0x588997(0x14a))[a9_0x588997(0xec)](config,null,!![]):require(a9_0x588997(0x14a))[a9_0x588997(0xec)](config));global[a9_0x588997(0x17a)]=config['platformCaps']||{},global[a9_0x588997(0x110)]=config[a9_0x588997(0x14b)];if(helper[a9_0x588997(0x124)](a9_0x588997(0x101)))try{logger[a9_0x588997(0x111)](a9_0x588997(0xd4)),playwrightPatcher=require(a9_0x588997(0xe9)),playwrightPatcher[a9_0x588997(0x17d)](config),logger[a9_0x588997(0x111)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x4c6403){logger[a9_0x588997(0x111)](a9_0x588997(0x145)+util[a9_0x588997(0x10a)](a9_0x4c6403));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x588997(0x1bb)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x588997(0x172)](browserStackConfig),commandRepository[a9_0x588997(0x153)](a9_0x588997(0x138)));}global[a9_0x588997(0x19e)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x588997(0xfa)];cucumberModule['setDefaultTimeout']=_0x51aa66=>{const _0x2aebf0=a9_0x588997,_0x490b3f={'rHhlQ':function(_0x282488,_0x1d6fcb){return _0x282488(_0x1d6fcb);}};global[_0x2aebf0(0x19e)]=_0x51aa66,_0x490b3f['rHhlQ'](__setDefaultTimeout,_0x51aa66);};const a9_0x1061a9={};a9_0x1061a9[a9_0x588997(0x105)]='bstack',BeforeAll(a9_0x1061a9,async function(){const _0x47424e=a9_0x588997,_0x349002={'dfDOF':function(_0x1f013f,_0x301ee2,_0x2219d1,_0x426ab6){return _0x1f013f(_0x301ee2,_0x2219d1,_0x426ab6);},'ZSgbT':'failed','cxIyC':'\x20|\x20','PaVsI':function(_0x4f7a17,_0x20a733,_0x4cc371){return _0x4f7a17(_0x20a733,_0x4cc371);},'OsOkw':_0x47424e(0x141),'cvuxJ':_0x47424e(0xe1),'Efxoh':function(_0x472e06,_0x1f54d5){return _0x472e06(_0x1f54d5);},'vyWCo':_0x47424e(0xe4),'ahcRX':function(_0x2d2ed7,_0xab963b){return _0x2d2ed7(_0xab963b);},'venIb':_0x47424e(0xe6),'DPOBA':_0x47424e(0xef),'PfXEA':function(_0x2481dd){return _0x2481dd();},'vkEbL':function(_0x316248,_0x5ddec8){return _0x316248(_0x5ddec8);}};PerformanceTester[_0x47424e(0x192)](),logger[_0x47424e(0x111)](_0x349002[_0x47424e(0x1a4)]),global['__error_messages__']=[],global[_0x47424e(0x12c)]=![];if(playwrightPatcher)try{const _0x12677c=_0x349002[_0x47424e(0x12f)](require,_0x349002[_0x47424e(0x16e)]),_0xfe2115=_0x349002[_0x47424e(0x147)](require,_0x349002[_0x47424e(0x167)]);_0x12677c[_0x47424e(0x162)]()['isCliEnabled']()&&(logger['debug'](_0x349002[_0x47424e(0xd9)]),_0xfe2115[_0x47424e(0x1b8)](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x47424e(0x115)]),await _0x12677c[_0x47424e(0x162)]()[_0x47424e(0x13d)]());}catch(_0x4740d6){logger[_0x47424e(0x111)](_0x47424e(0xfd)+util[_0x47424e(0x10a)](_0x4740d6));}_0x349002[_0x47424e(0x12a)](shouldProcessEventForTesthub)&&(_0x349002[_0x47424e(0x12a)](registerListeners),_0x349002['vkEbL'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x4ed750=_0x47424e;let _0x216932=![];try{global[_0x4ed750(0xf9)]&&global[_0x4ed750(0xf9)][0x0]&&(await global[_0x4ed750(0xf9)][0x0][_0x4ed750(0x19a)],_0x216932=!![],global['__sessionFailed']?await _0x349002['dfDOF'](markSessionStatus,global[_0x4ed750(0xf9)][0x0],_0x349002[_0x4ed750(0xda)],global['__error_messages__'][_0x4ed750(0x1a9)](_0x349002[_0x4ed750(0xd8)])):await _0x349002[_0x4ed750(0x15a)](markSessionStatus,global[_0x4ed750(0xf9)][0x0],_0x349002[_0x4ed750(0xd0)]));}catch(_0x10ecfd){logger[_0x4ed750(0x111)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x10ecfd);}global[_0x4ed750(0x14c)]=[],global['__sessionFailed']=![];if(_0x216932)try{await global[_0x4ed750(0xf9)][0x0][_0x4ed750(0x197)](),global['__drivers'][0x0][_0x4ed750(0x19a)][_0x4ed750(0x1a8)](_0x199825=>{const _0x2b6a2a=_0x4ed750;logger[_0x2b6a2a(0x111)](_0x2b6a2a(0xea)+_0x199825['getId']());})['catch'](_0x366305=>{const _0x5cfaae=_0x4ed750;logger[_0x5cfaae(0x111)]('driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20'+(_0x366305&&_0x366305[_0x5cfaae(0x1c6)]||_0x366305));});}catch(_0x3a4498){logger['debug']('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x3a4498);}};});const a9_0x47f448={};a9_0x47f448[a9_0x588997(0x105)]=a9_0x588997(0x1b7),a9_0x47f448[a9_0x588997(0x1c5)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a9_0x47f448,function(_0x55d4e6,_0x185810){const _0x56ce84=a9_0x588997,_0x64477d={'fnkQJ':function(_0x3a42ec,_0x463eaa){return _0x3a42ec>_0x463eaa;},'DAnJW':function(_0x4dcbc5,_0x2d9595){return _0x4dcbc5>_0x2d9595;},'mUkEu':function(_0x552f19,_0x20739f){return _0x552f19(_0x20739f);},'nQcsA':function(_0x57d6ed,_0x480311,_0xd08a0e,_0x47ba08){return _0x57d6ed(_0x480311,_0xd08a0e,_0x47ba08);},'pyoIY':_0x56ce84(0x114),'rlxLl':_0x56ce84(0xe4),'uMDax':function(_0x513f78,_0x5a3672){return _0x513f78(_0x5a3672);},'HQMyC':'../v2/state/automationFrameworkState','MPPDs':_0x56ce84(0x163),'fTbET':_0x56ce84(0x181),'IRvrY':_0x56ce84(0xff),'fwPaV':function(_0x4eb150){return _0x4eb150();},'dmlcU':_0x56ce84(0x1af)};commandRepository[_0x56ce84(0x103)](_0x55d4e6[_0x56ce84(0x16d)][_0x56ce84(0x105)]),logger[_0x56ce84(0x111)](_0x64477d[_0x56ce84(0x1c8)]),new Promise(async _0x40a981=>{const _0x13b535=_0x56ce84;try{global['__drivers']&&_0x64477d['fnkQJ'](global['__drivers'][_0x13b535(0xe3)],0x1)&&(await global[_0x13b535(0xf7)](),global['__drivers'][_0x13b535(0x135)]()),global[_0x13b535(0xf9)]&&global[_0x13b535(0xf9)][0x0]&&global[_0x13b535(0xf9)][0x0]['quitCount_']&&_0x64477d[_0x13b535(0x18c)](global[_0x13b535(0xf9)][0x0][_0x13b535(0x150)],0x0)&&await global[_0x13b535(0xf7)]();}catch(_0xf1ce62){logger['debug'](_0x13b535(0x1b0)+_0xf1ce62);}workerDetails[_0x13b535(0xed)][_0x13b535(0x166)]=_0x55d4e6;if(!playwrightPatcher){try{if(!_0x64477d['mUkEu'](isUndefined,_0x55d4e6[_0x13b535(0x16d)]['tags'])){const _0x113dfd=_0x64477d[_0x13b535(0x161)](shouldScanTestForAccessibility,null,![],_0x55d4e6[_0x13b535(0x16d)][_0x13b535(0xfc)]['map'](({name:_0x2b0904})=>_0x2b0904));globals['setGlobal'](_0x64477d[_0x13b535(0x127)],_0x113dfd);}}catch(_0x27c3c8){logger['debug'](_0x13b535(0x119)+util['format'](_0x27c3c8));}workerDetails[_0x13b535(0xed)][_0x13b535(0x1a3)]=TestDetails['getTestUUID'](_0x55d4e6[_0x13b535(0x196)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x13b535(0x158)](_0x55d4e6),global['__workerDetails']&&global[_0x13b535(0x14e)]['pwPage']&&playwrightPatcher[_0x13b535(0xce)](global[_0x13b535(0x14e)][_0x13b535(0x102)]);}catch(_0x2a233b){logger[_0x13b535(0x111)](_0x13b535(0x13e)+util['format'](_0x2a233b));}if(playwrightPatcher)try{const _0x39c040=_0x64477d['mUkEu'](require,_0x64477d[_0x13b535(0x117)]),_0x103445=_0x64477d[_0x13b535(0xfb)](require,_0x64477d[_0x13b535(0xeb)]),_0x49637b=_0x64477d[_0x13b535(0xfb)](require,_0x64477d[_0x13b535(0x113)]);if(_0x39c040[_0x13b535(0x162)]()[_0x13b535(0xd2)]()){const _0x23836e={'title':_0x55d4e6[_0x13b535(0x16d)][_0x13b535(0x105)]||_0x64477d[_0x13b535(0x199)],'titlePath':[_0x55d4e6['pickle']['name']||_0x64477d['fTbET']],'id':_0x55d4e6['testCaseStartedId']||_0x64477d[_0x13b535(0x185)],'tags':_0x55d4e6['pickle'][_0x13b535(0xfc)]||[],..._0x55d4e6},_0x2d1505=_0x23836e;global[_0x13b535(0x146)]=_0x2d1505,logger[_0x13b535(0x111)](_0x13b535(0x128)+_0x55d4e6[_0x13b535(0x16d)]['name']);}}catch(_0x51936a){logger[_0x13b535(0x111)](_0x13b535(0x118)+util['format'](_0x51936a));}_0x64477d['fwPaV'](_0x40a981);})[_0x56ce84(0xee)](_0x185810);});const a9_0x27983d={};a9_0x27983d[a9_0x588997(0x105)]=a9_0x588997(0x1b7),a9_0x27983d[a9_0x588997(0x1c5)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x588997(0xcd)],After(a9_0x27983d,function(_0x110ee1,_0x46fd8f){const _0xd2ac77=a9_0x588997,_0x1123e8={'eVSSP':function(_0x3a6185,_0x49a747){return _0x3a6185>_0x49a747;},'ARFSP':function(_0x344969,_0x5dd2a4){return _0x344969===_0x5dd2a4;},'DbHvW':_0xd2ac77(0x183),'qpAse':function(_0x28a5f3,_0x138a78,_0x2edeb2,_0x39514a){return _0x28a5f3(_0x138a78,_0x2edeb2,_0x39514a);},'rPgBk':_0xd2ac77(0xfe),'MwlYw':function(_0x5d2133,_0x5067d6,_0x52de51){return _0x5d2133(_0x5067d6,_0x52de51);},'rkWco':_0xd2ac77(0x141),'Qcfol':function(_0x50453c,_0x5c532f){return _0x50453c(_0x5c532f);},'EsnUO':_0xd2ac77(0xe4),'tLtoH':function(_0x3e38f8,_0x31df58){return _0x3e38f8(_0x31df58);},'sDpch':_0xd2ac77(0x1bf),'kAGWH':_0xd2ac77(0x163),'tLNKb':_0xd2ac77(0x181),'xOvSq':'cucumber-test','QCosq':_0xd2ac77(0x1c4),'gaulZ':_0xd2ac77(0x130),'lstVn':'Cleaned\x20up\x20close\x20tracker','jqdtq':_0xd2ac77(0x195),'fRXoR':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','VllXL':'../v2/browserstackCLI.js','LXGsq':function(_0x305737){return _0x305737();},'kMUDR':_0xd2ac77(0x12e),'oZIXx':_0xd2ac77(0xd7),'lesLJ':_0xd2ac77(0x114),'WkPfW':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','NGdFM':_0xd2ac77(0x189),'AODky':_0xd2ac77(0x15f),'wEjwy':_0xd2ac77(0x190),'FXOBJ':_0xd2ac77(0x1ac)};logger[_0xd2ac77(0x111)](_0x1123e8[_0xd2ac77(0x1c0)]),workerDetails[_0xd2ac77(0xed)]['testInfo']=_0x110ee1,new Promise(async _0x50bdef=>{const _0x4fc74d=_0xd2ac77;let _0x335aa9=![],_0x17a0c2=![],_0x1e43af=![];try{global['__drivers']&&_0x1123e8[_0x4fc74d(0x175)](global[_0x4fc74d(0xf9)][_0x4fc74d(0xe3)],0x0)&&(_0x17a0c2=!![]),playwrightPatcher&&global[_0x4fc74d(0x14e)]&&global[_0x4fc74d(0x14e)][_0x4fc74d(0x102)]&&(_0x1e43af=!![],logger[_0x4fc74d(0x111)](_0x4fc74d(0x17f)+!!global[_0x4fc74d(0x14e)][_0x4fc74d(0x102)]));}catch(_0x5be8f4){logger[_0x4fc74d(0x111)]('Error\x20determining\x20test\x20flow:\x20'+_0x5be8f4);}logger[_0x4fc74d(0x111)](_0x4fc74d(0x19f)+_0x17a0c2+_0x4fc74d(0x1b2)+_0x1e43af);const _0xbb3dda=_0x110ee1[_0x4fc74d(0x123)][_0x4fc74d(0x155)]['toString']()['toLowerCase'](),_0x305db2=_0x1123e8[_0x4fc74d(0x104)](_0xbb3dda,_0x1123e8[_0x4fc74d(0x1b1)])||_0x1123e8['ARFSP'](_0xbb3dda,'6'),_0x123d26=_0x305db2?_0x110ee1['result'][_0x4fc74d(0xe8)]:null;if(_0x305db2)try{global['__error_messages__']['push'](_0x110ee1[_0x4fc74d(0x123)][_0x4fc74d(0xe8)]),global[_0x4fc74d(0x12c)]=!![];}catch(_0x1d979e){logger[_0x4fc74d(0x111)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x1d979e);}if(_0x17a0c2)try{global[_0x4fc74d(0xf9)]&&_0x1123e8[_0x4fc74d(0x175)](global[_0x4fc74d(0xf9)][_0x4fc74d(0xe3)],0x1)&&(await global[_0x4fc74d(0xf7)](),global[_0x4fc74d(0xf9)]['shift'](),global[_0x4fc74d(0x14c)]=[],global[_0x4fc74d(0x12c)]=![]),global[_0x4fc74d(0xf9)]&&global[_0x4fc74d(0xf9)][0x0]&&(await global[_0x4fc74d(0xf9)][0x0][_0x4fc74d(0x19a)],_0x335aa9=!![],!global[_0x4fc74d(0x11f)]&&await global[_0x4fc74d(0xf9)][0x0][_0x4fc74d(0x16a)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x110ee1[_0x4fc74d(0x16d)]['name']+'\x22}}'),_0x305db2?await _0x1123e8[_0x4fc74d(0x1b9)](markSessionStatus,global[_0x4fc74d(0xf9)][0x0],_0x1123e8['DbHvW'],global['__error_messages__'][_0x4fc74d(0x1a9)](_0x1123e8[_0x4fc74d(0xf8)])):await _0x1123e8[_0x4fc74d(0x1a6)](markSessionStatus,global['__drivers'][0x0],_0x1123e8[_0x4fc74d(0x11d)]));}catch(_0x769cd9){logger[_0x4fc74d(0x111)]('Error:\x20at\x20After\x20(Selenium):\x20'+util['format'](_0x769cd9));}if(_0x1e43af)try{try{const _0x33e493=_0x1123e8[_0x4fc74d(0x174)](require,_0x1123e8['EsnUO']),_0x1ad068=_0x1123e8[_0x4fc74d(0x14f)](require,_0x1123e8[_0x4fc74d(0xdf)]),_0x17fa7d=_0x1123e8[_0x4fc74d(0x174)](require,_0x1123e8['kAGWH']);if(_0x33e493[_0x4fc74d(0x162)]()['isRunning']()){const _0x15db9a={'title':_0x110ee1[_0x4fc74d(0x16d)][_0x4fc74d(0x105)]||_0x1123e8[_0x4fc74d(0x17b)],'titlePath':[_0x110ee1[_0x4fc74d(0x16d)][_0x4fc74d(0x105)]||_0x1123e8[_0x4fc74d(0x17b)]],'id':_0x110ee1['testCaseStartedId']||_0x1123e8[_0x4fc74d(0x170)],'status':_0x305db2?_0x1123e8[_0x4fc74d(0x1b1)]:_0x1123e8[_0x4fc74d(0x11d)],'error':_0x123d26?{'message':_0x123d26}:null,'tags':_0x110ee1[_0x4fc74d(0x16d)]['tags']||[],..._0x110ee1},_0xd23ba0=_0x15db9a,_0x46a8a2={};_0x46a8a2[_0x4fc74d(0x166)]=_0xd23ba0,_0x46a8a2[_0x4fc74d(0x112)]=_0x110ee1,_0x46a8a2['page']=global[_0x4fc74d(0x14e)][_0x4fc74d(0x102)],_0x46a8a2['testFramework']=FRAMEWORKS[_0x4fc74d(0x176)],await _0x33e493[_0x4fc74d(0x162)]()['getAutomationFramework']()[_0x4fc74d(0x184)](_0x1ad068['QUIT'],_0x17fa7d[_0x4fc74d(0x15b)],_0x46a8a2),logger['debug'](_0x4fc74d(0x154)+_0x110ee1[_0x4fc74d(0x16d)]['name']);}}catch(_0x13d6f1){logger['debug'](_0x4fc74d(0x15c)+util[_0x4fc74d(0x10a)](_0x13d6f1));}const _0x2697bf=_0x305db2?_0x1123e8['DbHvW']:_0x1123e8[_0x4fc74d(0x11d)];await playwrightPatcher[_0x4fc74d(0x13b)](_0x110ee1,_0x2697bf,_0x123d26),logger[_0x4fc74d(0x111)](_0x1123e8[_0x4fc74d(0xe5)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x4fc74d(0x111)](_0x1123e8['gaulZ']);}catch(_0x32938d){logger['debug'](_0x4fc74d(0x198)+util['format'](_0x32938d));}try{playwrightPatcher[_0x4fc74d(0x100)][_0x4fc74d(0x1ab)](),logger[_0x4fc74d(0x111)](_0x1123e8[_0x4fc74d(0x15d)]);}catch(_0x587d8d){logger[_0x4fc74d(0x111)](_0x4fc74d(0x1be)+util[_0x4fc74d(0x10a)](_0x587d8d));}}catch(_0x4b13bf){logger[_0x4fc74d(0x111)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x4fc74d(0x10a)](_0x4b13bf));try{playwrightPatcher[_0x4fc74d(0x18d)]&&(await playwrightPatcher[_0x4fc74d(0x18d)](),logger['debug'](_0x1123e8[_0x4fc74d(0x173)])),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x4fc74d(0x1ab)]&&(playwrightPatcher['closeTracker'][_0x4fc74d(0x1ab)](),logger[_0x4fc74d(0x111)](_0x1123e8[_0x4fc74d(0x148)]));}catch(_0x172c0a){logger[_0x4fc74d(0x111)]('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x4fc74d(0x10a)](_0x172c0a));}}const _0x5dd1a2=_0x1123e8['Qcfol'](require,_0x1123e8['VllXL']);if(!_0x5dd1a2[_0x4fc74d(0x162)]()[_0x4fc74d(0xd2)]())try{if(_0x1123e8[_0x4fc74d(0x1ba)](shouldProcessEventForTesthub)){const _0x5f81a9=TestDetails[_0x4fc74d(0xf4)](_0x110ee1[_0x4fc74d(0x196)]);let _0x3f312f=null;global[_0x4fc74d(0xf9)]&&global[_0x4fc74d(0xf9)][0x0]&&(_0x3f312f=await _0x1123e8[_0x4fc74d(0x1b9)](sendPlatformDetails,global[_0x4fc74d(0xf9)][0x0],_0x5f81a9,!![]));const _0xad819c={};_0xad819c[_0x4fc74d(0x1b6)]=_0x5f81a9,_0xad819c['integrations']=_0x3f312f;const _0x370b19=_0xad819c,_0x2f947b={};_0x2f947b['event_type']=_0x1123e8[_0x4fc74d(0x178)],_0x2f947b[_0x4fc74d(0x149)]=_0x370b19,await SessionHandler[_0x4fc74d(0xde)](_0x2f947b);}}catch(_0xbafec8){logger[_0x4fc74d(0x111)](_0x4fc74d(0x160)+util[_0x4fc74d(0x10a)](_0xbafec8));}try{if(globals[_0x4fc74d(0x106)](_0x1123e8[_0x4fc74d(0x1c1)])&&globals[_0x4fc74d(0x106)](_0x1123e8[_0x4fc74d(0x16c)])){logger[_0x4fc74d(0x18f)](_0x1123e8[_0x4fc74d(0x169)]);const _0x527525=TestDetails[_0x4fc74d(0xf4)](_0x110ee1[_0x4fc74d(0x196)]),_0x3f8c3b={};_0x3f8c3b[_0x4fc74d(0x1a3)]=_0x527525,_0x3f8c3b[_0x4fc74d(0xd3)]=process[_0x4fc74d(0x1a5)][testHubConstants['ENV_VAR'][_0x4fc74d(0x1c7)]],_0x3f8c3b[_0x4fc74d(0xcf)]=process[_0x4fc74d(0x1a5)][testHubConstants[_0x4fc74d(0xe7)]['BROWSERSTACK_TESTHUB_JWT']];const _0x1cdc53=_0x3f8c3b;logger[_0x4fc74d(0x111)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x1cdc53)),logger[_0x4fc74d(0x111)](_0x1123e8[_0x4fc74d(0x11b)]),global[_0x4fc74d(0xf9)]&&global['__drivers'][0x0]&&(logger[_0x4fc74d(0x111)](util[_0x4fc74d(0x10a)](await global[_0x4fc74d(0xf9)][0x0][_0x4fc74d(0x11c)](scripts[_0x4fc74d(0x1b5)],{'method':global[_0x4fc74d(0xe0)]}))),globals[_0x4fc74d(0x106)](_0x1123e8[_0x4fc74d(0xdc)])&&(_0x1cdc53[_0x4fc74d(0xf0)]=!![]),await global[_0x4fc74d(0xf9)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x1cdc53)),logger['info'](_0x1123e8[_0x4fc74d(0x116)]);}}catch(_0x2fc08b){logger[_0x4fc74d(0x125)](_0x4fc74d(0x18e)+util['format'](_0x2fc08b));}if(_0x335aa9)try{global['__drivers'][0x0]&&_0x1123e8[_0x4fc74d(0x175)](global[_0x4fc74d(0xf9)][0x0][_0x4fc74d(0x150)],0x0)&&await global[_0x4fc74d(0xf9)][0x0]['initQuit']();}catch(_0x5a8bb1){logger['debug']('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x5a8bb1);}_0x1123e8[_0x4fc74d(0x1ba)](_0x50bdef);})[_0xd2ac77(0xee)](()=>_0x46fd8f());});const a9_0x5a93bc={};a9_0x5a93bc['name']=a9_0x588997(0x1b7),a9_0x5a93bc[a9_0x588997(0x1c5)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x588997(0xcd)],AfterStep(a9_0x5a93bc,function(_0xb85719,_0x1c76ee){const _0x23e466=a9_0x588997,_0x1e83e4={'VaJJS':function(_0x529b72,_0x1c8ae9){return _0x529b72===_0x1c8ae9;},'Tafqk':_0x23e466(0x183),'yszWq':function(_0x5770df,_0x11a11b){return _0x5770df===_0x11a11b;},'mKApV':function(_0x53f2d4,_0x13dd3f){return _0x53f2d4!==_0x13dd3f;},'ATyAR':function(_0x259ff9,_0x199ec0,_0x7cb715){return _0x259ff9(_0x199ec0,_0x7cb715);},'VorUL':function(_0xd0da75,_0x2955a8){return _0xd0da75+_0x2955a8;},'FHEta':_0x23e466(0x134),'uZlyB':_0x23e466(0x193),'umifY':_0x23e466(0x125),'shsye':function(_0x4b6516,_0x1e487d){return _0x4b6516+_0x1e487d;},'RfcKQ':function(_0x5d05d8,_0x3484bf){return _0x5d05d8!==_0x3484bf;},'LqWjn':function(_0x3e2cdb,_0x371e84){return _0x3e2cdb+_0x371e84;},'jmYHp':_0x23e466(0x15e),'kfoyg':'info','LHXev':function(_0x45393b,_0xc355a3,_0x131ed8){return _0x45393b(_0xc355a3,_0x131ed8);},'vilmJ':_0x23e466(0x177),'vymkI':function(_0x221a4b){return _0x221a4b();},'nJjoX':_0x23e466(0x1ae)};logger[_0x23e466(0x111)](_0x1e83e4['nJjoX']);const _0x1141a2=async(_0x1dec7a,_0x3a5795)=>{const _0x39e128=_0x23e466;global[_0x39e128(0xf9)]&&global['__drivers'][0x0]&&await global['__drivers'][0x0]['executeScript'](_0x39e128(0x1bd)+_0x1dec7a+_0x39e128(0x1aa)+_0x3a5795+_0x39e128(0xdb));};new Promise(async _0x2a2dec=>{const _0x562cbd=_0x23e466;try{const _0x4b47bf=_0x1e83e4[_0x562cbd(0x16b)](_0xb85719[_0x562cbd(0x123)][_0x562cbd(0x155)][_0x562cbd(0x156)]()[_0x562cbd(0x139)](),_0x1e83e4['Tafqk'])||_0x1e83e4['yszWq'](_0xb85719[_0x562cbd(0x123)][_0x562cbd(0x155)][_0x562cbd(0x156)]()[_0x562cbd(0x139)](),'6');_0x4b47bf?(global['__sessionFailed']=!![],global[_0x562cbd(0x14c)]['push'](_0xb85719[_0x562cbd(0x123)][_0x562cbd(0xe8)]),_0x1e83e4[_0x562cbd(0x120)](_0xb85719[_0x562cbd(0x194)],undefined)?await _0x1e83e4[_0x562cbd(0x143)](_0x1141a2,JSON[_0x562cbd(0x10e)](_0x1e83e4[_0x562cbd(0x18b)](_0x1e83e4[_0x562cbd(0x18b)](_0x1e83e4[_0x562cbd(0x18b)](_0x1e83e4[_0x562cbd(0x1a0)],'\x22'+_0xb85719[_0x562cbd(0x194)]['text']+'\x22\x20'),_0x1e83e4[_0x562cbd(0x19d)]),_0xb85719[_0x562cbd(0x123)]['message'])),_0x1e83e4[_0x562cbd(0x182)]):await _0x1e83e4[_0x562cbd(0x143)](_0x1141a2,JSON[_0x562cbd(0x10e)](_0x1e83e4['shsye'](_0x1e83e4['FHEta'],_0xb85719[_0x562cbd(0x123)][_0x562cbd(0xe8)])),_0x1e83e4[_0x562cbd(0x182)])):_0x1e83e4[_0x562cbd(0x13a)](_0xb85719[_0x562cbd(0x194)],undefined)?await _0x1e83e4[_0x562cbd(0x143)](_0x1141a2,JSON['stringify'](_0x1e83e4['LqWjn'](_0x1e83e4[_0x562cbd(0x19b)],'\x22'+_0xb85719[_0x562cbd(0x194)][_0x562cbd(0xf6)]+'\x22')),_0x1e83e4[_0x562cbd(0x165)]):await _0x1e83e4['LHXev'](_0x1141a2,JSON[_0x562cbd(0x10e)](_0x1e83e4[_0x562cbd(0xf1)]),_0x1e83e4['kfoyg']),global[_0x562cbd(0xf9)]&&global[_0x562cbd(0xf9)][0x0]&&global[_0x562cbd(0xf9)][0x0][_0x562cbd(0x19a)][_0x562cbd(0x1a8)](_0x3a74fa=>{})[_0x562cbd(0x132)](_0x2f31f0=>{const _0x31856a=_0x562cbd;logger['debug'](_0x31856a(0x152)+util[_0x31856a(0x10a)](_0x2f31f0));});}catch(_0x47d12c){logger['debug'](_0x562cbd(0x168)+_0x47d12c);}_0x1e83e4['vymkI'](_0x2a2dec);})[_0x23e466(0xee)](()=>_0x1c76ee());});const a9_0x367e7d={};a9_0x367e7d[a9_0x588997(0x105)]=a9_0x588997(0x1b7),a9_0x367e7d[a9_0x588997(0x1c5)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x588997(0xcd)],AfterAll(a9_0x367e7d,async function(_0xa83776,_0x4f9d44){const _0x294861=a9_0x588997,_0x49cc11={'xCYIG':'4|0|2|1|3','BParS':_0x294861(0x144),'wlbdO':function(_0x3625a4){return _0x3625a4();},'FVBgd':_0x294861(0x108)};logger[_0x294861(0x111)](_0x49cc11[_0x294861(0x1a1)]),await new Promise(async _0x416454=>{const _0x415fcd=_0x294861,_0x3938f8=_0x49cc11[_0x415fcd(0x157)][_0x415fcd(0x10f)]('|');let _0xe81d39=0x0;while(!![]){switch(_0x3938f8[_0xe81d39++]){case'0':PerformanceTester[_0x415fcd(0x11e)]();continue;case'1':await global[_0x415fcd(0xf7)]();continue;case'2':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x415fcd(0x18d)](),playwrightPatcher[_0x415fcd(0x100)]&&playwrightPatcher[_0x415fcd(0x100)][_0x415fcd(0x1ab)](),logger[_0x415fcd(0x111)](_0x49cc11[_0x415fcd(0x12d)]));}catch(_0x58f039){logger[_0x415fcd(0x111)](_0x415fcd(0x19c)+util[_0x415fcd(0x10a)](_0x58f039));}continue;case'3':_0x49cc11['wlbdO'](_0x416454);continue;case'4':await RequestQueueHandler[_0x415fcd(0x162)]()['shutdown']();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x3349a9=a10_0x29f9;function a10_0x3c80(){const _0x59e604=['2ksqRUU','__skipSessionName','yXaiH','331504cfBMku','tDiIL','Inside\x20browserstack\x20After','__platformCaps','688219Ssffvm','../../index','dxVSP','2823000avzgDz','../../helpers/logger','__driver','Inside\x20browserstack\x20Before','__error_messages__','setDefaultTimeout','join','1254888pVsHys','platformCaps','Lagph','883566xcjlWf','setSessionName','then','winstonLogger','pickle','session_','stringify','../../helpers/setKeepAlive','aJnpV','Error:\x20setting\x20status\x20at\x20After:\x20','skipSessionStatus','\x20|\x20','fwExO','cucumber/lib/index.js','VTtDc','skipSessionName','6zbAqeV','parse','__skipSessionStatus','name','arguments','env','result','initQuit','debug','browserstack_executor:\x20','__timeout','5049828lsiUAu','browserstackAgentV2','status','CONFIG','qFTZl','executeScript','dJOnj','bstack','toLowerCase','31390YSMOMj','../../helpers/helper','timeout'];a10_0x3c80=function(){return _0x59e604;};return a10_0x3c80();}(function(_0x31e0ed,_0x3265c0){const _0x546c9e=a10_0x29f9,_0x2d20e9=_0x31e0ed();while(!![]){try{const _0x3e78a7=parseInt(_0x546c9e(0xa7))/0x1*(parseInt(_0x546c9e(0xaa))/0x2)+-parseInt(_0x546c9e(0xbb))/0x3+parseInt(_0x546c9e(0xb8))/0x4+parseInt(_0x546c9e(0xa4))/0x5+-parseInt(_0x546c9e(0x90))/0x6*(-parseInt(_0x546c9e(0xae))/0x7)+parseInt(_0x546c9e(0xb1))/0x8+-parseInt(_0x546c9e(0x9b))/0x9;if(_0x3e78a7===_0x3265c0)break;else _0x2d20e9['push'](_0x2d20e9['shift']());}catch(_0x1bb252){_0x2d20e9['push'](_0x2d20e9['shift']());}}}(a10_0x3c80,0x3c52a));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a10_0x3349a9(0xa5)),setKeepAlive=require(a10_0x3349a9(0xc2)),cucumberModule=requireModule(a10_0x3349a9(0x8d),'cucumber'),logger=require(a10_0x3349a9(0xb2))[a10_0x3349a9(0xbe)];modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],configuration=process[a10_0x3349a9(0x95)][a10_0x3349a9(0x9e)];if(configuration!==undefined){const config=JSON[a10_0x3349a9(0x91)](configuration);isTrue(config[a10_0x3349a9(0x8f)])&&(global[a10_0x3349a9(0xa8)]=!![]),global[a10_0x3349a9(0x92)]=isTrue(config[a10_0x3349a9(0xc5)]),require(a10_0x3349a9(0xaf))[a10_0x3349a9(0x9c)](config),global[a10_0x3349a9(0xad)]=config[a10_0x3349a9(0xb9)]||{};}global['__timeout']=0x0;function a10_0x29f9(_0x1e684a,_0x4830b0){const _0x3c80c6=a10_0x3c80();return a10_0x29f9=function(_0x29f9eb,_0xe80e06){_0x29f9eb=_0x29f9eb-0x8c;let _0x370a05=_0x3c80c6[_0x29f9eb];return _0x370a05;},a10_0x29f9(_0x1e684a,_0x4830b0);}const __setDefaultTimeout=cucumberModule[a10_0x3349a9(0xb6)];cucumberModule[a10_0x3349a9(0xb6)]=_0x10a28d=>{const _0x45a303=a10_0x3349a9,_0x2f1ae5={'aJnpV':function(_0x23b32c,_0x32cd77){return _0x23b32c(_0x32cd77);}};global[_0x45a303(0x9a)]=_0x10a28d,_0x2f1ae5[_0x45a303(0xc3)](__setDefaultTimeout,_0x10a28d);};const a10_0xd134bd={};a10_0xd134bd[a10_0x3349a9(0x93)]=a10_0x3349a9(0xa2),Before(a10_0xd134bd,function(){const _0x3bcb19=a10_0x3349a9,_0x2573d7={};_0x2573d7[_0x3bcb19(0x8c)]=_0x3bcb19(0xb4);const _0x1b478d=_0x2573d7;logger['debug'](_0x1b478d[_0x3bcb19(0x8c)]),global[_0x3bcb19(0xb5)]=[];});const a10_0x498c61={};a10_0x498c61['name']=a10_0x3349a9(0xa2),a10_0x498c61[a10_0x3349a9(0xa6)]=0x2710,After(a10_0x498c61,function(_0x5df30f,_0xf63728){const _0x5f33c6=a10_0x3349a9,_0x351445={'dJOnj':_0x5f33c6(0xbc),'tDiIL':function(_0x23db14,_0x572cd2){return _0x23db14===_0x572cd2;},'VTtDc':'failed','vtWjf':function(_0x1e281a,_0x5a9387,_0x452b2c,_0x798cac){return _0x1e281a(_0x5a9387,_0x452b2c,_0x798cac);},'XrNhy':_0x5f33c6(0xc6),'yXaiH':function(_0x162e80,_0xc7f515,_0x81e712){return _0x162e80(_0xc7f515,_0x81e712);},'dxVSP':'passed','qFTZl':function(_0x5a41ae){return _0x5a41ae();},'Lagph':function(_0x3e70c7,_0x42fe5a){return _0x3e70c7(_0x42fe5a);},'NbvWS':function(_0x2f733b){return _0x2f733b();},'Khvog':_0x5f33c6(0xac)};logger[_0x5f33c6(0x98)](_0x351445['Khvog']),new Promise(async(_0x3ba64a,_0x23f9fa)=>{const _0x38bfb5=_0x5f33c6;let _0x1dee64=![];try{await global[_0x38bfb5(0xb3)][_0x38bfb5(0xc0)],_0x1dee64=!![];if(!global[_0x38bfb5(0xa8)]){const _0x10ea20={};_0x10ea20[_0x38bfb5(0x93)]=_0x5df30f[_0x38bfb5(0xbf)][_0x38bfb5(0x93)];const _0x10afbf={};_0x10afbf['action']=_0x351445[_0x38bfb5(0xa1)],_0x10afbf[_0x38bfb5(0x94)]=_0x10ea20;const _0x5bbcdc=_0x10afbf;await global[_0x38bfb5(0xb3)][_0x38bfb5(0xa0)](_0x38bfb5(0x99)+JSON[_0x38bfb5(0xc1)](_0x5bbcdc));}_0x351445[_0x38bfb5(0xab)](_0x5df30f[_0x38bfb5(0x96)][_0x38bfb5(0x9d)][_0x38bfb5(0xa3)](),_0x351445[_0x38bfb5(0x8e)])?await _0x351445['vtWjf'](markSessionStatus,global[_0x38bfb5(0xb3)],_0x351445['VTtDc'],global[_0x38bfb5(0xb5)][_0x38bfb5(0xb7)](_0x351445['XrNhy'])):await _0x351445[_0x38bfb5(0xa9)](markSessionStatus,global[_0x38bfb5(0xb3)],_0x351445[_0x38bfb5(0xb0)]);}catch(_0x229fd4){logger[_0x38bfb5(0x98)](_0x38bfb5(0xc4)+_0x229fd4);}if(_0x1dee64)try{await global[_0x38bfb5(0xb3)][_0x38bfb5(0x97)](),_0x351445[_0x38bfb5(0x9f)](_0x3ba64a);}catch(_0x4f5ce5){logger['debug']('Error:\x20quiting\x20at\x20After:\x20'+_0x4f5ce5),_0x351445[_0x38bfb5(0xba)](_0x23f9fa,_0x4f5ce5);}else _0x351445['NbvWS'](_0x23f9fa);})[_0x5f33c6(0xbd)](()=>_0xf63728());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11_0x2b8fc7=a11_0x37ad;(function(_0x337bde,_0x26463b){const _0x2227fc=a11_0x37ad,_0x10bb7f=_0x337bde();while(!![]){try{const _0x5b7eea=parseInt(_0x2227fc(0x1e7))/0x1+parseInt(_0x2227fc(0x1da))/0x2+parseInt(_0x2227fc(0x1de))/0x3*(parseInt(_0x2227fc(0x1e8))/0x4)+parseInt(_0x2227fc(0x1e5))/0x5*(-parseInt(_0x2227fc(0x1e6))/0x6)+parseInt(_0x2227fc(0x1e4))/0x7+-parseInt(_0x2227fc(0x1e1))/0x8+-parseInt(_0x2227fc(0x1db))/0x9;if(_0x5b7eea===_0x26463b)break;else _0x10bb7f['push'](_0x10bb7f['shift']());}catch(_0x436364){_0x10bb7f['push'](_0x10bb7f['shift']());}}}(a11_0x26ca,0xb1298));const {requireModule}=require('../../helpers/helper'),constants=require(a11_0x2b8fc7(0x1e2));let cucumberModule=null;try{cucumberModule=requireModule(a11_0x2b8fc7(0x1dc),a11_0x2b8fc7(0x1e3));}catch(a11_0x1061e9){cucumberModule=requireModule(a11_0x2b8fc7(0x1df),a11_0x2b8fc7(0x1e0));}const userValue=global['__timeout']||0x0;(userValue===0x0||userValue<constants[a11_0x2b8fc7(0x1dd)])&&cucumberModule['setDefaultTimeout'](constants[a11_0x2b8fc7(0x1dd)]);function a11_0x37ad(_0x5b985a,_0x1651eb){const _0x26cac4=a11_0x26ca();return a11_0x37ad=function(_0x37ad5b,_0x6726e){_0x37ad5b=_0x37ad5b-0x1da;let _0x407a9a=_0x26cac4[_0x37ad5b];return _0x407a9a;},a11_0x37ad(_0x5b985a,_0x1651eb);}function a11_0x26ca(){const _0x47d510=['1991922WdTIrk','12475179wnLyUt','@cucumber/cucumber/lib/index.js','BSTACK_DELTA','3eQUSTd','cucumber/lib/index.js','cucumber','8933832KbPfow','../utils/constants','@cucumber/cucumber','7896644iaAwyq','15lVrNcS','322908izSTIk','1001376AqQVnR','1058164RsjsGq'];a11_0x26ca=function(){return _0x47d510;};return a11_0x26ca();}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';
|
|
2
|
+
'use strict';const a12_0x1f836e=a12_0x141c;(function(_0x54900c,_0x594ddb){const _0x333a23=a12_0x141c,_0x216726=_0x54900c();while(!![]){try{const _0x533591=-parseInt(_0x333a23(0xbe))/0x1*(-parseInt(_0x333a23(0xbc))/0x2)+-parseInt(_0x333a23(0xc7))/0x3+-parseInt(_0x333a23(0xc1))/0x4*(parseInt(_0x333a23(0xc3))/0x5)+parseInt(_0x333a23(0xd6))/0x6*(-parseInt(_0x333a23(0xdb))/0x7)+-parseInt(_0x333a23(0xbb))/0x8*(-parseInt(_0x333a23(0xda))/0x9)+parseInt(_0x333a23(0xa4))/0xa*(parseInt(_0x333a23(0x99))/0xb)+-parseInt(_0x333a23(0xd2))/0xc;if(_0x533591===_0x594ddb)break;else _0x216726['push'](_0x216726['shift']());}catch(_0x57a67e){_0x216726['push'](_0x216726['shift']());}}}(a12_0x57cc,0xaff39));const {default:BrowserStackSetup}=require(a12_0x1f836e(0xb8)),logger=require(a12_0x1f836e(0xb4))['winstonLogger'],{URL}=require(a12_0x1f836e(0xb3)),helper=require(a12_0x1f836e(0xb1)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a12_0x1f836e(0xb7)),validHosts=function(_0x2be449){const _0x496b70=a12_0x1f836e;return _0x2be449['split'](',')[_0x496b70(0xd4)](_0xfb8f32=>{const _0x62159e=_0x496b70;try{new URL(_0xfb8f32[_0x62159e(0xa9)]());}catch(_0x50dd21){return![];}return!![];});},parseOnPremHosts=function(_0x3cfb2b){const _0x54a697=a12_0x1f836e,_0x303729={};_0x303729[_0x54a697(0x9e)]=function(_0xfb2c01,_0x553a95){return _0xfb2c01===_0x553a95;},_0x303729['jLFQR']=_0x54a697(0xc8),_0x303729[_0x54a697(0x9f)]='443',_0x303729[_0x54a697(0xb5)]=_0x54a697(0xcd);const _0x11e325=_0x303729;return _0x3cfb2b[_0x54a697(0x9a)](',')[_0x54a697(0x9b)](_0x46c00f=>{const _0x48190e=_0x54a697,_0x106d83=new URL(_0x46c00f['trim']()),_0x498f22=_0x106d83['hostname'],_0x1ee865=_0x106d83[_0x48190e(0xd5)]||(_0x11e325[_0x48190e(0x9e)](_0x106d83['protocol'],_0x11e325[_0x48190e(0xac)])?_0x11e325[_0x48190e(0x9f)]:'80'),_0x24ba7e=_0x106d83[_0x48190e(0xc6)][_0x48190e(0xdc)](':',''),_0x57e039=_0x11e325['ofKRB'](_0x24ba7e,_0x11e325[_0x48190e(0xb5)])?0x1:0x0;return _0x498f22+','+_0x1ee865+','+_0x57e039;});},connectCommandBuilder=function(_0x48e5ba){const _0x52cf29=a12_0x1f836e,_0x1acb94={};_0x1acb94[_0x52cf29(0xcf)]=_0x52cf29(0xd1);const _0x4cb981=_0x1acb94,_0x2d30bc={};_0x2d30bc[_0x52cf29(0xa6)]=HELP_MESSAGES[_0x52cf29(0xb0)][_0x52cf29(0xaf)],_0x2d30bc[_0x52cf29(0xd9)]=_0x4cb981[_0x52cf29(0xcf)];const _0x301ce1={};_0x301ce1[_0x52cf29(0xa6)]=HELP_MESSAGES[_0x52cf29(0xb0)][_0x52cf29(0xad)],_0x301ce1[_0x52cf29(0xd9)]=_0x4cb981[_0x52cf29(0xcf)],_0x301ce1['demandOption']=!![];const _0x44bcd8={};return _0x44bcd8[_0x52cf29(0xa8)]=_0x2d30bc,_0x44bcd8[_0x52cf29(0xad)]=_0x301ce1,_0x48e5ba[_0x52cf29(0xb0)](_0x44bcd8);},connectCommandHandler=async function(_0x5903d2){const _0x181a7c=a12_0x1f836e,_0x412eec={'XSKiN':_0x181a7c(0x9d),'MEoaP':function(_0x332b5f,_0x379063){return _0x332b5f===_0x379063;},'zNbuj':_0x181a7c(0xce),'ffSEH':_0x181a7c(0xca),'MLyrG':function(_0x450aaf,_0x17d507){return _0x450aaf===_0x17d507;},'PmoMv':_0x181a7c(0xc5),'VIkzf':function(_0x58a6a1,_0x2d6659){return _0x58a6a1(_0x2d6659);},'yXMSE':'Hosts\x20not\x20valid','JvJmw':function(_0x43ef8b,_0xda6150){return _0x43ef8b(_0xda6150);},'ZMrOD':'integrations-repeater','JcZBN':_0x181a7c(0xd3),'whPrr':_0x181a7c(0xa3)};try{const _0x532928=new BrowserStackSetup(_0x5903d2,_0x412eec[_0x181a7c(0xa2)]);_0x5903d2['bstackAccesskey']&&(_0x532928[_0x181a7c(0xa5)]['accessKey']=_0x5903d2[_0x181a7c(0xc2)]);if(_0x412eec['MEoaP'](typeof _0x532928[_0x181a7c(0xa5)][_0x181a7c(0xa1)],_0x412eec[_0x181a7c(0x98)])){logger[_0x181a7c(0x9c)](_0x412eec[_0x181a7c(0xb2)]);throw new Error(ERROR_MESSAGES[_0x181a7c(0xaf)][_0x181a7c(0xae)]);}const _0x2854a4=_0x5903d2['hosts'];if(_0x412eec['MLyrG'](typeof _0x2854a4,_0x412eec[_0x181a7c(0x98)])){logger[_0x181a7c(0x9c)](_0x412eec['PmoMv']);throw new Error(ERROR_MESSAGES[_0x181a7c(0xad)][_0x181a7c(0xae)]);}if(!_0x412eec[_0x181a7c(0xdd)](validHosts,_0x2854a4)){logger['error'](_0x412eec[_0x181a7c(0xba)]);throw new Error(ERROR_MESSAGES[_0x181a7c(0xad)]['invalid']);}const _0x14e94e=_0x412eec[_0x181a7c(0xcc)](parseOnPremHosts,_0x2854a4);_0x532928[_0x181a7c(0xa5)]['browserstackLocal']=!![],_0x532928[_0x181a7c(0xa5)]['browserStackLocalOptions'][_0x181a7c(0xbd)]=_0x412eec[_0x181a7c(0xab)],_0x532928['config'][_0x181a7c(0xbf)][_0x181a7c(0xcb)]=_0x14e94e[_0x181a7c(0xc4)](','),helper['setProxySettings'](_0x532928[_0x181a7c(0xa5)]),await _0x532928[_0x181a7c(0xc0)](),logger[_0x181a7c(0xa0)](_0x412eec['JcZBN']);}catch(_0x3705c6){logger['error'](_0x412eec['whPrr']);throw new Error(_0x3705c6[_0x181a7c(0xc9)]());}};function run(_0x42ffde){const _0x4573e7=a12_0x1f836e,_0x2620b9={};_0x2620b9['xpXGy']=_0x4573e7(0xb6),_0x2620b9[_0x4573e7(0xd8)]=_0x4573e7(0xa7);const _0x159135=_0x2620b9;_0x42ffde['usage'](HELP_MESSAGES[_0x4573e7(0xd7)][_0x4573e7(0xde)])[_0x4573e7(0xd7)](_0x159135[_0x4573e7(0xaa)],HELP_MESSAGES[_0x4573e7(0xd7)]['connect'],connectCommandBuilder,connectCommandHandler)[_0x4573e7(0xd0)]()[_0x4573e7(0xa7)](_0x159135[_0x4573e7(0xd8)])['epilogue'](HELP_MESSAGES['command'][_0x4573e7(0xb9)]);}function a12_0x141c(_0x51ed61,_0x259a16){const _0x57cc77=a12_0x57cc();return a12_0x141c=function(_0x141cc6,_0x510d36){_0x141cc6=_0x141cc6-0x98;let _0x1078d9=_0x57cc77[_0x141cc6];return _0x1078d9;},a12_0x141c(_0x51ed61,_0x259a16);}function a12_0x57cc(){const _0x16802d=['help','bstack-accesskey','trim','xpXGy','ZMrOD','jLFQR','hosts','missing','bstackAccessKey','options','../../helpers/helper','ffSEH','url','../../helpers/logger','sgcOQ','connect','./constants','../../helpers/BrowserStackSetup','footer','yXMSE','2125400sTEqRG','451160wfwLpT','localIdentifier','2LngTYa','browserStackLocalOptions','setupBrowserstackLocal','3268lbiLbW','bstackAccesskey','1225VzeWxM','join','Integration\x20hosts\x20missing.','protocol','2147403AuuMvs','https:','toString','BrowserStack\x20access\x20key\x20missing.','only','JvJmw','https','undefined','WYpfb','demandCommand','string','1270224kIxCZi','Connection\x20established\x20successfully.','every','port','7188AuNCmI','command','FeXCZ','type','18SqDOoY','3703eJTKoU','replace','VIkzf','root','zNbuj','7601XoOITO','split','map','error','integrations','ofKRB','XYXBO','info','accessKey','XSKiN','Failed\x20to\x20establish\x20connection.','20170FlaJEr','config','describe'];a12_0x57cc=function(){return _0x16802d;};return a12_0x57cc();}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a13_0x3b4bf5=a13_0x3f34;(function(_0x3d33ea,_0x5bb600){var _0x246a8e=a13_0x3f34,_0x444f2b=_0x3d33ea();while(!![]){try{var _0x42f4a3=-parseInt(_0x246a8e(0x132))/0x1+parseInt(_0x246a8e(0x135))/0x2*(parseInt(_0x246a8e(0x146))/0x3)+parseInt(_0x246a8e(0x147))/0x4+parseInt(_0x246a8e(0x145))/0x5+-parseInt(_0x246a8e(0x142))/0x6*(-parseInt(_0x246a8e(0x13a))/0x7)+-parseInt(_0x246a8e(0x133))/0x8+-parseInt(_0x246a8e(0x137))/0x9;if(_0x42f4a3===_0x5bb600)break;else _0x444f2b['push'](_0x444f2b['shift']());}catch(_0x55f5da){_0x444f2b['push'](_0x444f2b['shift']());}}}(a13_0x5d0c,0x18b80));var a13_0x28e10b={};a13_0x28e10b[a13_0x3b4bf5(0x13e)]=a13_0x3b4bf5(0x13b),a13_0x28e10b['hosts']=a13_0x3b4bf5(0x13c);var a13_0x411ed2={};a13_0x411ed2[a13_0x3b4bf5(0x143)]=a13_0x3b4bf5(0x148),a13_0x411ed2[a13_0x3b4bf5(0x144)]=a13_0x3b4bf5(0x140),a13_0x411ed2['footer']=a13_0x3b4bf5(0x141);function a13_0x5d0c(){var _0x1ea846=['Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','bstackAccessKey','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','276sqSWWb','root','connect','968435XktUfL','3nqVkkb','446884uEiwAE','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','ERROR_MESSAGES','14325cgMxNj','170400CYJNqu','invalid','127924IYDrwn','options','2393037VbGlSE','missing','hosts','5082SrWomt'];a13_0x5d0c=function(){return _0x1ea846;};return a13_0x5d0c();}var a13_0x2eaaa8={};a13_0x2eaaa8[a13_0x3b4bf5(0x136)]=a13_0x28e10b,a13_0x2eaaa8['command']=a13_0x411ed2,exports['HELP_MESSAGES']=a13_0x2eaaa8;var a13_0xe3369d={};function a13_0x3f34(_0x4f1575,_0x3d093c){var _0x5d0c07=a13_0x5d0c();return a13_0x3f34=function(_0x3f349e,_0xbb380a){_0x3f349e=_0x3f349e-0x132;var _0x482f7c=_0x5d0c07[_0x3f349e];return _0x482f7c;},a13_0x3f34(_0x4f1575,_0x3d093c);}a13_0xe3369d[a13_0x3b4bf5(0x138)]=a13_0x3b4bf5(0x13d);var a13_0xf1ac02={};a13_0xf1ac02['missing']='Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.',a13_0xf1ac02[a13_0x3b4bf5(0x134)]=a13_0x3b4bf5(0x13f);var a13_0x3fb707={};a13_0x3fb707['bstackAccessKey']=a13_0xe3369d,a13_0x3fb707[a13_0x3b4bf5(0x139)]=a13_0xf1ac02,exports[a13_0x3b4bf5(0x149)]=a13_0x3fb707;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a14_0x48208c=a14_0x2d32;(function(_0x43552b,_0x18afc7){const _0x1ab39b=a14_0x2d32,_0x130bf=_0x43552b();while(!![]){try{const _0x590946=parseInt(_0x1ab39b(0x16a))/0x1*(parseInt(_0x1ab39b(0x1c9))/0x2)+-parseInt(_0x1ab39b(0x166))/0x3*(parseInt(_0x1ab39b(0x15c))/0x4)+-parseInt(_0x1ab39b(0x145))/0x5+parseInt(_0x1ab39b(0x15b))/0x6+-parseInt(_0x1ab39b(0x184))/0x7+-parseInt(_0x1ab39b(0x17b))/0x8+parseInt(_0x1ab39b(0x172))/0x9;if(_0x590946===_0x18afc7)break;else _0x130bf['push'](_0x130bf['shift']());}catch(_0x3af6ff){_0x130bf['push'](_0x130bf['shift']());}}}(a14_0x3bc2,0xcca0d));const path=require(a14_0x48208c(0x189)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require('../../../helpers/testhub/utils'),{FRAMEWORKS}=require(a14_0x48208c(0x1cd)),SessionHandler=require(a14_0x48208c(0x1b0)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x48208c(0x186)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x48208c(0x1c0),a14_0x7e2bcd={};a14_0x7e2bcd[a14_0x48208c(0x169)]=a14_0x48208c(0x169),a14_0x7e2bcd['failed']=a14_0x48208c(0x176),a14_0x7e2bcd[a14_0x48208c(0x17d)]='pending',a14_0x7e2bcd[a14_0x48208c(0x15f)]=a14_0x48208c(0x15d);const STATUS_MAP=a14_0x7e2bcd;function a14_0x2d32(_0x15e1d8,_0x3b5c24){const _0x3bc2b9=a14_0x3bc2();return a14_0x2d32=function(_0x2d32b0,_0x24d629){_0x2d32b0=_0x2d32b0-0x145;let _0x436a06=_0x3bc2b9[_0x2d32b0];return _0x436a06;},a14_0x2d32(_0x15e1d8,_0x3b5c24);}function a14_0x3bc2(){const _0xca8042=['hVpBE','relative','expanded','jasmineDone','8426369cFMuRh','JQkGw','../testRunMap','set','failure','path','_resolveFilePath','specStarted','statSync','Jxcgg','nBxtA','add','rZspk','\x20:\x20','KieHg','filename','err','status','code','split','BCcSZ','failure_reason_expanded','noStC','_findGitConfig','JASMINE','chHVW','kMyMq','BHEhu','Exception\x20in\x20jasmine\x20specDone\x20for\x20','failedExpectations','description','pvCAo','prefixTestPath','KijkK','Spec\x20failed','JGoqt','Vfoll','_fileNameByFullName','length','fullName','delete','bMsYC','actual','syGbh','../../../helpers/test-observability/sessionHandler','LkOlL','UNqyw','dirname','UnhandledError','yNGwW','PaZab','sAMuV','_scopes','ccrVF','AssertionError','xICgm','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','fileNameByFullName','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','_collapseFailedExpectations','Jasmine','File\x20path\x20could\x20not\x20be\x20found','stack','duration','TestRunFinished','message','FtmEX','OTiLu','backtrace','2dScCxJ','IoeNe','uploadEventData','get','../../../helpers/test-observability/constants','EiUgv','4759365XZzbPX','cwd','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','foDCr','YcvuZ','inOqu','failure_backtrace','matcherName','has','LoAmx','join','expected','NFdET','_suitesById','MTfMN','sep','fwTJa','trim','startsWith','parentSuiteId','shouldProcessEventForTesthub','ixdrd','6990144sgcGxX','2832260AhzbUn','skipped','bxkqr','excluded','pknmi','OZdEK','MGNgU','OnVEF','_sendSpecEvent','toISOString','3qLhEFf','TestRunStarted','started_at','passed','73197TwXGRD','slice','config','xvpCF','TestRunSkipped','qaihA','lang','ksGPw','31842306GfCZos','testObservability','jILEG','specDone','failed','reverse','lfGkz','push','htUwL','8595144RnezJu','number','pending','jasmineStarted','keys'];a14_0x3bc2=function(){return _0xca8042;};return a14_0x3bc2();}class BrowserStackJasmineReporter{constructor(_0x270a33={}){const _0x56e340=a14_0x48208c,_0x563a4e={'lfGkz':function(_0x4f6eba){return _0x4f6eba();}};this[_0x56e340(0x173)]=_0x563a4e[_0x56e340(0x178)](isTestObservabilitySession),this['_paths']=new PathHelper({'cwd':process[_0x56e340(0x146)]()},undefined),this['_fileNameByFullName']=_0x270a33&&_0x270a33[_0x56e340(0x1bd)]||{},this['_suitesById']=new Map();}[a14_0x48208c(0x17e)](){}['suiteStarted'](_0x21906e){const _0x47db89=a14_0x48208c,_0x50b96c={'ccrVF':function(_0x19d6fc,_0x34a3c7){return _0x19d6fc!==_0x34a3c7;},'noStC':function(_0x23a931,_0x1570e7){return _0x23a931!==_0x1570e7;},'ixdrd':function(_0x99adb3,_0x468b6f){return _0x99adb3(_0x468b6f);}};try{_0x21906e&&_0x50b96c[_0x47db89(0x1b9)](_0x21906e['id'],undefined)&&_0x50b96c[_0x47db89(0x19a)](_0x21906e['id'],null)&&this[_0x47db89(0x152)][_0x47db89(0x187)](_0x21906e['id'],{'description':_0x21906e['description'],'parentSuiteId':_0x21906e['parentSuiteId']});}catch(_0x2e391e){_0x50b96c[_0x47db89(0x15a)](debug,_0x47db89(0x1bc)+(_0x21906e&&_0x21906e[_0x47db89(0x1ab)])+_0x47db89(0x191)+_0x2e391e);}}[a14_0x48208c(0x18b)](_0x8fbbef){const _0x42cc35=a14_0x48208c,_0x3e8140={'rYQfP':function(_0x141df9,_0x2dd711){return _0x141df9!==_0x2dd711;},'hVpBE':function(_0x16d33e){return _0x16d33e();},'LoAmx':_0x42cc35(0x167),'JGoqt':function(_0x2066b8,_0x33d9ac){return _0x2066b8(_0x33d9ac);}};try{if(_0x3e8140['rYQfP'](testhubUtils[_0x42cc35(0x159)](),!![]))return;const _0x3b723b=_0x3e8140[_0x42cc35(0x180)](uuidv4);testRunMap[_0x42cc35(0x187)](_0x8fbbef['id'],_0x3b723b),this['_sendSpecEvent'](_0x8fbbef,_0x3b723b,_0x3e8140[_0x42cc35(0x14e)]);}catch(_0x42bc1c){_0x3e8140[_0x42cc35(0x1a7)](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x8fbbef&&_0x8fbbef['fullName'])+'\x20:\x20'+_0x42bc1c);}}[a14_0x48208c(0x175)](_0x585797){const _0x138ab9=a14_0x48208c,_0x5ddf88={'NFdET':function(_0x3912c2,_0x5b4af1){return _0x3912c2!==_0x5b4af1;},'MGNgU':function(_0x966e8f){return _0x966e8f();},'bMsYC':function(_0xa9fa91,_0x50323e){return _0xa9fa91===_0x50323e;},'rZspk':_0x138ab9(0x15f),'GWxUW':'TestRunSkipped','ZkHBD':_0x138ab9(0x1c4),'nBxtA':function(_0x4673be,_0x289c9b){return _0x4673be(_0x289c9b);}};try{if(_0x5ddf88[_0x138ab9(0x151)](testhubUtils[_0x138ab9(0x159)](),!![]))return;const _0x5259f1=testRunMap['get'](_0x585797['id'])||_0x5ddf88[_0x138ab9(0x162)](uuidv4),_0x493f98=_0x5ddf88[_0x138ab9(0x1ad)](_0x585797[_0x138ab9(0x195)],_0x5ddf88[_0x138ab9(0x190)])?_0x5ddf88['GWxUW']:_0x5ddf88['ZkHBD'];this[_0x138ab9(0x164)](_0x585797,_0x5259f1,_0x493f98);}catch(_0x1570d7){_0x5ddf88[_0x138ab9(0x18e)](debug,_0x138ab9(0x1a0)+(_0x585797&&_0x585797[_0x138ab9(0x1ab)])+_0x138ab9(0x191)+_0x1570d7);}finally{_0x585797&&(testRunMap['remove'](_0x585797['id']),_specStartTimes[_0x138ab9(0x1ac)](_0x585797['id']));}}['suiteDone'](){}[a14_0x48208c(0x183)](){}['_sendSpecEvent'](_0x2c4f48,_0xb5f22c,_0x3aba25){const _0x445360=a14_0x48208c,_0x5045cf={'kInGU':function(_0x4f5d5d,_0x5917c2){return _0x4f5d5d===_0x5917c2;},'KieHg':_0x445360(0x1c4),'foDCr':function(_0x56e86f,_0x2f43d5){return _0x56e86f===_0x2f43d5;},'BHEhu':_0x445360(0x16e),'DBefq':_0x445360(0x1c1),'syGbh':function(_0x109e8,_0x1b7d80,_0x53d412){return _0x109e8(_0x1b7d80,_0x53d412);},'jILEG':_0x445360(0x194),'qaihA':_0x445360(0x167),'inOqu':function(_0x3aeabe,_0x52dca8){return _0x3aeabe!==_0x52dca8;},'IoeNe':function(_0x4d7ebf,_0x554783){return _0x4d7ebf!==_0x554783;},'QmBHB':function(_0x23f71c,_0x36da92){return _0x23f71c===_0x36da92;},'ugSsX':'javascript','yNGwW':function(_0x5b6091,_0x24716c){return _0x5b6091&&_0x24716c;},'UNqyw':function(_0x269b3a,_0x4c2f9b){return _0x269b3a===_0x4c2f9b;},'MTfMN':_0x445360(0x15d),'Vfoll':'passed','sAMuV':function(_0x3e5115,_0x126d40){return _0x3e5115===_0x126d40;},'xvpCF':_0x445360(0x17c),'chHVW':_0x445360(0x1ba),'oFsed':_0x445360(0x1b4),'YVytb':function(_0x549b8f,_0x3ffe42){return _0x549b8f===_0x3ffe42;},'KijkK':_0x445360(0x168),'EiUgv':'finished_at','TMobx':_0x445360(0x188),'YcvuZ':_0x445360(0x14b),'bxkqr':_0x445360(0x1c8),'LkOlL':_0x445360(0x199),'ksGPw':_0x445360(0x182),'pknmi':function(_0xbe4d06,_0x3045ff){return _0xbe4d06===_0x3045ff;},'nNBAK':function(_0x537c79,_0x5677bc){return _0x537c79(_0x5677bc);}};try{const _0x14a5cf=_0x5045cf['kInGU'](_0x3aba25,_0x5045cf[_0x445360(0x192)])||_0x5045cf[_0x445360(0x148)](_0x3aba25,_0x5045cf['BHEhu']),_0x265611=this[_0x445360(0x18a)](_0x2c4f48),_0x5df2e7=_0x265611?this['_paths'][_0x445360(0x1a4)](_0x265611):_0x5045cf['DBefq'],_0x7b1570=_0x265611?this[_0x445360(0x19b)](path[_0x445360(0x1b3)](_0x265611)):null,_0xe5967a=this[_0x445360(0x1bf)](_0x2c4f48[_0x445360(0x1a1)]),_0x85eee7=_0xe5967a?_0xe5967a['message']:undefined,_0x4a6a44=_0xe5967a?_0x5045cf[_0x445360(0x1af)](failureData,_0xe5967a,_0x5045cf[_0x445360(0x174)]):[],_0x5d0bea=new Date()[_0x445360(0x165)](),_0x5d71af=this['_scopes'](_0x2c4f48);_0x5045cf[_0x445360(0x148)](_0x3aba25,_0x5045cf[_0x445360(0x16f)])&&_0x2c4f48&&_0x5045cf[_0x445360(0x14a)](_0x2c4f48['id'],undefined)&&_0x5045cf[_0x445360(0x1ca)](_0x2c4f48['id'],null)&&_specStartTimes['set'](_0x2c4f48['id'],_0x5d0bea);const _0x3df9e1=_0x5045cf['QmBHB'](_0x3aba25,_0x5045cf[_0x445360(0x16f)])?_0x5d0bea:_0x2c4f48&&_specStartTimes[_0x445360(0x1cc)](_0x2c4f48['id'])||null,_0x4e7349={};_0x4e7349[_0x445360(0x170)]=_0x5045cf['ugSsX'],_0x4e7349[_0x445360(0x196)]=null;const _0xeb87e6={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0xb5f22c,'name':_0x2c4f48[_0x445360(0x1a2)],'body':_0x4e7349,'scope':_0x5d71af['join']('\x20'),'scopes':_0x5d71af,'identifier':_0x2c4f48[_0x445360(0x1ab)],'file_name':_0x5df2e7,'vc_filepath':_0x5045cf[_0x445360(0x1b5)](_0x7b1570,_0x265611)?path[_0x445360(0x181)](_0x7b1570,_0x265611):null,'location':_0x5df2e7,'result':_0x5045cf[_0x445360(0x1b2)](_0x3aba25,_0x5045cf['BHEhu'])?_0x5045cf[_0x445360(0x153)]:STATUS_MAP[_0x2c4f48[_0x445360(0x195)]]||_0x5045cf[_0x445360(0x1a8)],'failure_reason':_0x85eee7,'duration_in_ms':_0x5045cf[_0x445360(0x1b7)](typeof _0x2c4f48[_0x445360(0x1c3)],_0x5045cf[_0x445360(0x16d)])?_0x2c4f48[_0x445360(0x1c3)]:null,'started_at':_0x3df9e1,'finished_at':_0x14a5cf?_0x5d0bea:null,'failure':_0x4a6a44,'failure_type':!_0x85eee7?null:_0x85eee7['match'](/AssertionError/)?_0x5045cf[_0x445360(0x19d)]:_0x5045cf['oFsed'],'retry_of':null};_0x5045cf['YVytb'](_0x3aba25,_0x5045cf['BHEhu'])&&!_0xeb87e6[_0x5045cf[_0x445360(0x1a5)]]&&(_0xeb87e6[_0x5045cf['KijkK']]=_0xeb87e6[_0x5045cf[_0x445360(0x1ce)]]);const _0x324e48=_0xeb87e6[_0x5045cf['TMobx']][0x0];_0x324e48&&(_0xeb87e6[_0x5045cf[_0x445360(0x149)]]=_0x324e48[_0x5045cf[_0x445360(0x15e)]],_0xeb87e6[_0x5045cf[_0x445360(0x1b1)]]=_0x324e48[_0x5045cf[_0x445360(0x171)]]);testhubUtils['appendTesthubParams'](_0xeb87e6,_0x3aba25,_0x2c4f48,FRAMEWORKS[_0x445360(0x19c)]);const _0x4c3cbf={'event_type':_0x5045cf[_0x445360(0x160)](_0x3aba25,_0x5045cf[_0x445360(0x19f)])?_0x5045cf[_0x445360(0x192)]:_0x3aba25,'test_run':_0xeb87e6};return testhubUtils['setCurrentTestData'](FRAMEWORKS[_0x445360(0x19c)],_0x4c3cbf),SessionHandler[_0x445360(0x1cb)](_0x4c3cbf);}catch(_0x208a6d){_0x5045cf['nNBAK'](debug,_0x445360(0x1be)+_0x3aba25+_0x445360(0x191)+_0x208a6d);}}[a14_0x48208c(0x1b8)](_0x52408b){const _0x123bc0=a14_0x48208c,_0x36e8fc={'OnVEF':function(_0xf32e4b,_0x26e63d){return _0xf32e4b!==_0x26e63d;},'BCcSZ':function(_0x301d48,_0x56863c){return _0x301d48!==_0x56863c;},'PaZab':function(_0x22c642,_0x49ac3a){return _0x22c642>_0x49ac3a;},'NsLYb':function(_0xaf674b,_0x333737){return _0xaf674b(_0x333737);},'Jxcgg':function(_0x23a462,_0xbde162){return _0x23a462-_0xbde162;}};try{const _0x48410e=[];let _0x51343e=_0x52408b&&_0x52408b[_0x123bc0(0x158)];const _0x1df01f=new Set();while(_0x36e8fc[_0x123bc0(0x163)](_0x51343e,undefined)&&_0x36e8fc[_0x123bc0(0x198)](_0x51343e,null)&&this['_suitesById'][_0x123bc0(0x14d)](_0x51343e)&&!_0x1df01f['has'](_0x51343e)){_0x1df01f[_0x123bc0(0x18f)](_0x51343e);const _0x2d25a8=this[_0x123bc0(0x152)][_0x123bc0(0x1cc)](_0x51343e);_0x2d25a8&&_0x2d25a8['description']&&_0x48410e['push'](_0x2d25a8[_0x123bc0(0x1a2)]),_0x51343e=_0x2d25a8?_0x2d25a8[_0x123bc0(0x158)]:null;}if(_0x36e8fc[_0x123bc0(0x1b6)](_0x48410e[_0x123bc0(0x1aa)],0x0))return _0x48410e[_0x123bc0(0x177)]();}catch(_0x561d3e){_0x36e8fc['NsLYb'](debug,_0x123bc0(0x147)+(_0x52408b&&_0x52408b[_0x123bc0(0x1ab)])+_0x123bc0(0x191)+_0x561d3e);}const _0x511188=_0x52408b&&_0x52408b[_0x123bc0(0x1ab)]||'',_0x3815b3=_0x52408b&&_0x52408b['description']||'';let _0x3cd4df=_0x511188;return _0x3815b3&&_0x511188['endsWith'](_0x3815b3)&&(_0x3cd4df=_0x511188[_0x123bc0(0x16b)](0x0,_0x36e8fc[_0x123bc0(0x18d)](_0x511188[_0x123bc0(0x1aa)],_0x3815b3[_0x123bc0(0x1aa)]))[_0x123bc0(0x156)]()),_0x3cd4df?_0x3cd4df[_0x123bc0(0x197)](/\s+/):[];}[a14_0x48208c(0x18a)](_0x16c23a){const _0x24e607=a14_0x48208c,_0x3b6a2b={};_0x3b6a2b['OTiLu']=function(_0x31758b,_0x5c7e0e){return _0x31758b===_0x5c7e0e;},_0x3b6a2b[_0x24e607(0x1c6)]=function(_0x35b840,_0x8c8916){return _0x35b840+_0x8c8916;},_0x3b6a2b['kMyMq']=function(_0x3f5145,_0x29bdff){return _0x3f5145>_0x29bdff;};const _0x497872=_0x3b6a2b;if(_0x16c23a&&_0x16c23a[_0x24e607(0x193)])return _0x16c23a[_0x24e607(0x193)];if(_0x16c23a&&_0x16c23a['fullName']){if(this['_fileNameByFullName'][_0x16c23a['fullName']])return this[_0x24e607(0x1a9)][_0x16c23a[_0x24e607(0x1ab)]];let _0x35fb02=null,_0x564041=-0x1;for(const _0xe78df9 of Object[_0x24e607(0x17f)](this[_0x24e607(0x1a9)])){(_0x497872[_0x24e607(0x1c7)](_0x16c23a[_0x24e607(0x1ab)],_0xe78df9)||_0x16c23a[_0x24e607(0x1ab)][_0x24e607(0x157)](_0x497872[_0x24e607(0x1c6)](_0xe78df9,'\x20')))&&_0x497872[_0x24e607(0x19e)](_0xe78df9['length'],_0x564041)&&(_0x35fb02=this['_fileNameByFullName'][_0xe78df9],_0x564041=_0xe78df9['length']);}if(_0x35fb02)return _0x35fb02;}return null;}[a14_0x48208c(0x1bf)](_0xf40013){const _0x42a53a=a14_0x48208c,_0x501695={};_0x501695['pvCAo']=function(_0xc58d48,_0x3147e6){return _0xc58d48===_0x3147e6;},_0x501695[_0x42a53a(0x185)]=_0x42a53a(0x1a6);const _0x25d393=_0x501695;if(!Array['isArray'](_0xf40013)||_0x25d393[_0x42a53a(0x1a3)](_0xf40013['length'],0x0))return undefined;const _0x1ff22d=[],_0x12c826=[];for(const _0x557664 of _0xf40013){_0x557664&&_0x557664[_0x42a53a(0x1c5)]&&_0x1ff22d['push'](_0x557664['message']),_0x557664&&_0x557664[_0x42a53a(0x1c2)]&&_0x12c826[_0x42a53a(0x179)](_0x557664[_0x42a53a(0x1c2)]);}const _0x751b7=_0xf40013[0x0]||{},_0x490f2c=_0x1ff22d[_0x42a53a(0x14f)]('\x0a')||_0x751b7['message']||_0x25d393[_0x42a53a(0x185)],_0x20c089=_0x12c826[_0x42a53a(0x14f)]('\x0a\x0a')||_0x751b7[_0x42a53a(0x1c2)]||_0x490f2c,_0x9dccce={};return _0x9dccce[_0x42a53a(0x1c5)]=_0x490f2c,_0x9dccce[_0x42a53a(0x1c2)]=_0x20c089,_0x9dccce[_0x42a53a(0x14c)]=_0x751b7['matcherName'],_0x9dccce[_0x42a53a(0x150)]=_0x751b7[_0x42a53a(0x150)],_0x9dccce[_0x42a53a(0x1ae)]=_0x751b7[_0x42a53a(0x1ae)],_0x9dccce;}[a14_0x48208c(0x19b)](_0x5dc442){const _0x532175=a14_0x48208c,_0x4f72bd={};_0x4f72bd['fwTJa']=function(_0x2943e1,_0x255d10){return _0x2943e1===_0x255d10;},_0x4f72bd[_0x532175(0x1bb)]=function(_0x364baf,_0x5c5ad5){return _0x364baf===_0x5c5ad5;},_0x4f72bd['OZdEK']='.git',_0x4f72bd[_0x532175(0x17a)]=_0x532175(0x16c);const _0xf1ddf0=_0x4f72bd,_0x1b5c33=path[_0x532175(0x154)];if(_0xf1ddf0[_0x532175(0x155)](_0x5dc442,null)||_0xf1ddf0[_0x532175(0x155)](_0x5dc442,'')||_0xf1ddf0['xICgm'](_0x5dc442,_0x1b5c33)||_0xf1ddf0['xICgm'](_0x5dc442,path[_0x532175(0x1b3)](_0x5dc442)))return null;try{return fs[_0x532175(0x18c)](path[_0x532175(0x14f)](_0x5dc442,_0xf1ddf0[_0x532175(0x161)],_0xf1ddf0[_0x532175(0x17a)])),_0x5dc442;}catch(_0x47e5ad){return this['_findGitConfig'](path[_0x532175(0x1b3)](_0x5dc442));}}}module['exports']=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a14_0x4169c2=a14_0x4fd5;(function(_0x46e6d7,_0x4e7c53){const _0xb48d27=a14_0x4fd5,_0x3f24f7=_0x46e6d7();while(!![]){try{const _0x560d9b=parseInt(_0xb48d27(0x1d2))/0x1+-parseInt(_0xb48d27(0x1a3))/0x2*(-parseInt(_0xb48d27(0x17d))/0x3)+-parseInt(_0xb48d27(0x182))/0x4*(parseInt(_0xb48d27(0x163))/0x5)+-parseInt(_0xb48d27(0x19d))/0x6*(-parseInt(_0xb48d27(0x15f))/0x7)+parseInt(_0xb48d27(0x1a2))/0x8*(parseInt(_0xb48d27(0x17b))/0x9)+-parseInt(_0xb48d27(0x1af))/0xa+parseInt(_0xb48d27(0x1cc))/0xb*(-parseInt(_0xb48d27(0x196))/0xc);if(_0x560d9b===_0x4e7c53)break;else _0x3f24f7['push'](_0x3f24f7['shift']());}catch(_0x281c6d){_0x3f24f7['push'](_0x3f24f7['shift']());}}}(a14_0x3d59,0x7df91));function a14_0x3d59(){const _0x14c58d=['cCsfd','skipped','specDone','DZrDa','198012LfbSxA','TestRunStarted','JuMSI','zFMfq','config','861688zRdgWT','1367674ggoAPj','passed','_fileNameByFullName','jFlPx','qyxmZ','trim','vPkZZ','oNwJc','FyRWW','testObservability','message','TestRunSkipped','8157700gpxEEP','cwd','status','Klbfr','toren','gImof','started_at','WHXBv','match','VJXXl','duration','path','PukHb','FwUfN','code','keys','TestRunFinished','../../../helpers/test-observability/constants','endsWith','../../../helpers/test-observability/sessionHandler','isArray','jasmineDone','Jasmine','.git','javascript','jbHrd','_findGitConfig','COpkb','fullName','48169lOFrIG','nbHtF','relative','parentSuiteId','QOTJj','dpwkT','230693ytwPeE','push','_sendSpecEvent','JxTQU','sep','shouldProcessEventForTesthub','Rewmz','exports','failure_backtrace','sXoil','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','Tfxsl','GXhOm','../testRunMap','statSync','split','JASMINE','pending','jasmineStarted','join','delete','zlBxd','setCurrentTestData','133XMUsro','has','number','failure_reason_expanded','592345fiiIiQ','excluded','add','set','_scopes','hiAwV','rbdrM','Exception\x20in\x20jasmine\x20specDone\x20for\x20','UnhandledError','dirname','SwpsD','File\x20path\x20could\x20not\x20be\x20found','filename','ZbUYk','slice','hhZjL','AssertionError','failed','_suitesById','appendTesthubParams','jpZxz','get','description','TVKKZ','18EWppJA','dJtLC','3gYVNqs','prefixTestPath','RjJYo','err','XbTma','8mqoxJe','TAuWr','reverse','suiteDone','CCxzy','TyZBt','suiteStarted','actual','uploadEventData','toISOString','\x20:\x20','ZkKgN','fileNameByFullName','_resolveFilePath','_collapseFailedExpectations','stack','_paths','YtyLE','backtrace','length','516yWmbHo','../../../helpers/testhub/utils','remove'];a14_0x3d59=function(){return _0x14c58d;};return a14_0x3d59();}const path=require(a14_0x4169c2(0x1ba)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a14_0x4169c2(0x197)),{FRAMEWORKS}=require(a14_0x4169c2(0x1c0)),SessionHandler=require(a14_0x4169c2(0x1c2)),{isTestObservabilitySession,PathHelper,debug,failureData}=require('../../../helpers/test-observability/utils'),testRunMap=require(a14_0x4169c2(0x155)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a14_0x4169c2(0x1c5),a14_0x388b3d={};a14_0x388b3d[a14_0x4169c2(0x1a4)]=a14_0x4169c2(0x1a4),a14_0x388b3d[a14_0x4169c2(0x174)]=a14_0x4169c2(0x174),a14_0x388b3d[a14_0x4169c2(0x159)]=a14_0x4169c2(0x159),a14_0x388b3d[a14_0x4169c2(0x164)]=a14_0x4169c2(0x19a);function a14_0x4fd5(_0x383fe4,_0x2f9ce6){const _0x3d5968=a14_0x3d59();return a14_0x4fd5=function(_0x4fd599,_0x497825){_0x4fd599=_0x4fd599-0x14e;let _0x467a35=_0x3d5968[_0x4fd599];return _0x467a35;},a14_0x4fd5(_0x383fe4,_0x2f9ce6);}const STATUS_MAP=a14_0x388b3d;class BrowserStackJasmineReporter{constructor(_0x517989={}){const _0x2b0510=a14_0x4169c2,_0x1493ca={'jFlPx':function(_0x7aa916){return _0x7aa916();}};this[_0x2b0510(0x1ac)]=_0x1493ca[_0x2b0510(0x1a6)](isTestObservabilitySession),this[_0x2b0510(0x192)]=new PathHelper({'cwd':process[_0x2b0510(0x1b0)]()},undefined),this[_0x2b0510(0x1a5)]=_0x517989&&_0x517989[_0x2b0510(0x18e)]||{},this[_0x2b0510(0x175)]=new Map();}[a14_0x4169c2(0x15a)](){}[a14_0x4169c2(0x188)](_0x3ea0f1){const _0xf5ca2f=a14_0x4169c2,_0x5606a5={'JuMSI':function(_0x1c2484,_0x1f260b){return _0x1c2484!==_0x1f260b;},'nbHtF':function(_0x3d3c7c,_0x59bb42){return _0x3d3c7c(_0x59bb42);}};try{_0x3ea0f1&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],undefined)&&_0x5606a5[_0xf5ca2f(0x19f)](_0x3ea0f1['id'],null)&&this[_0xf5ca2f(0x175)][_0xf5ca2f(0x166)](_0x3ea0f1['id'],{'description':_0x3ea0f1[_0xf5ca2f(0x179)],'parentSuiteId':_0x3ea0f1['parentSuiteId']});}catch(_0x197a5e){_0x5606a5[_0xf5ca2f(0x1cd)](debug,_0xf5ca2f(0x152)+(_0x3ea0f1&&_0x3ea0f1[_0xf5ca2f(0x1cb)])+_0xf5ca2f(0x18c)+_0x197a5e);}}['specStarted'](_0x31c8f9){const _0x21609b=a14_0x4169c2,_0x5481e8={'gImof':function(_0x2ffed9,_0x103fa1){return _0x2ffed9!==_0x103fa1;},'PukHb':function(_0x3d9c8a){return _0x3d9c8a();},'wfMgR':_0x21609b(0x19e),'CfYRW':function(_0x4cdc8c,_0x4239f5){return _0x4cdc8c(_0x4239f5);}};try{if(_0x5481e8[_0x21609b(0x1b4)](testhubUtils[_0x21609b(0x1d7)](),!![]))return;const _0x2f0210=_0x5481e8[_0x21609b(0x1bb)](uuidv4);testRunMap['set'](_0x31c8f9['id'],_0x2f0210),this[_0x21609b(0x1d4)](_0x31c8f9,_0x2f0210,_0x5481e8['wfMgR']);}catch(_0x1d0750){_0x5481e8['CfYRW'](debug,'Exception\x20in\x20jasmine\x20specStarted\x20for\x20'+(_0x31c8f9&&_0x31c8f9[_0x21609b(0x1cb)])+_0x21609b(0x18c)+_0x1d0750);}}[a14_0x4169c2(0x19b)](_0x1db8af){const _0x25bf9b=a14_0x4169c2,_0x5daca9={'JxTQU':function(_0x55ae82,_0x113d33){return _0x55ae82!==_0x113d33;},'zFMfq':function(_0x2645ab){return _0x2645ab();},'HGzft':function(_0x132561,_0xdeaa49){return _0x132561===_0xdeaa49;},'jpZxz':_0x25bf9b(0x164),'sXoil':_0x25bf9b(0x1ae),'YtyLE':'TestRunFinished','ZkKgN':function(_0x206b3c,_0x1194cc){return _0x206b3c(_0x1194cc);}};try{if(_0x5daca9[_0x25bf9b(0x1d5)](testhubUtils[_0x25bf9b(0x1d7)](),!![]))return;const _0x24d331=testRunMap[_0x25bf9b(0x178)](_0x1db8af['id'])||_0x5daca9[_0x25bf9b(0x1a0)](uuidv4),_0x40711b=_0x5daca9['HGzft'](_0x1db8af[_0x25bf9b(0x1b1)],_0x5daca9[_0x25bf9b(0x177)])?_0x5daca9[_0x25bf9b(0x151)]:_0x5daca9[_0x25bf9b(0x193)];this[_0x25bf9b(0x1d4)](_0x1db8af,_0x24d331,_0x40711b);}catch(_0x28010e){_0x5daca9[_0x25bf9b(0x18d)](debug,_0x25bf9b(0x16a)+(_0x1db8af&&_0x1db8af[_0x25bf9b(0x1cb)])+_0x25bf9b(0x18c)+_0x28010e);}finally{_0x1db8af&&(testRunMap[_0x25bf9b(0x198)](_0x1db8af['id']),_specStartTimes[_0x25bf9b(0x15c)](_0x1db8af['id']));}}[a14_0x4169c2(0x185)](){}[a14_0x4169c2(0x1c4)](){}[a14_0x4169c2(0x1d4)](_0x33433e,_0x210782,_0x3a63a1){const _0x4d1d42=a14_0x4169c2,_0x5d4249={'FwUfN':function(_0x54226b,_0x1ad5ad){return _0x54226b===_0x1ad5ad;},'toren':_0x4d1d42(0x1bf),'CCxzy':_0x4d1d42(0x1ae),'vPkZZ':_0x4d1d42(0x16e),'RjJYo':function(_0xbdea7b,_0xf6d7df,_0x7fe4eb){return _0xbdea7b(_0xf6d7df,_0x7fe4eb);},'WHXBv':_0x4d1d42(0x180),'GXhOm':function(_0xedafa,_0x417951){return _0xedafa===_0x417951;},'COpkb':_0x4d1d42(0x19e),'Tfxsl':function(_0x1d59f0,_0x124181){return _0x1d59f0!==_0x124181;},'XbTma':function(_0x286026,_0x414cd9){return _0x286026!==_0x414cd9;},'FyRWW':_0x4d1d42(0x1c7),'rbdrM':function(_0x143158,_0x14aa59){return _0x143158&&_0x14aa59;},'qyxmZ':function(_0x2625dd,_0x4efb13){return _0x2625dd===_0x4efb13;},'ZbUYk':_0x4d1d42(0x19a),'dpwkT':_0x4d1d42(0x1a4),'pjZiD':_0x4d1d42(0x161),'oNwJc':_0x4d1d42(0x173),'zlBxd':_0x4d1d42(0x16b),'TyZBt':_0x4d1d42(0x1b5),'phBHA':'finished_at','BDXqK':'failure','hiAwV':_0x4d1d42(0x150),'Klbfr':_0x4d1d42(0x194),'TVKKZ':_0x4d1d42(0x162),'atbre':'expanded','NSAie':function(_0x3029d2,_0x348cfb){return _0x3029d2(_0x348cfb);}};try{const _0x49780f=_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['toren'])||_0x5d4249[_0x4d1d42(0x1bc)](_0x3a63a1,_0x5d4249['CCxzy']),_0x421a97=this[_0x4d1d42(0x18f)](_0x33433e),_0x4861ca=_0x421a97?this[_0x4d1d42(0x192)][_0x4d1d42(0x17e)](_0x421a97):_0x5d4249[_0x4d1d42(0x1a9)],_0xc4f6ad=_0x421a97?this[_0x4d1d42(0x1c9)](path[_0x4d1d42(0x16c)](_0x421a97)):null,_0xafe29d=this[_0x4d1d42(0x190)](_0x33433e['failedExpectations']),_0x55b8d5=_0xafe29d?_0xafe29d['message']:undefined,_0x141143=_0xafe29d?_0x5d4249[_0x4d1d42(0x17f)](failureData,_0xafe29d,_0x5d4249[_0x4d1d42(0x1b6)]):[],_0x4f4b33=new Date()[_0x4d1d42(0x18b)](),_0x5dec72=this[_0x4d1d42(0x167)](_0x33433e);_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249['COpkb'])&&_0x33433e&&_0x5d4249[_0x4d1d42(0x153)](_0x33433e['id'],undefined)&&_0x5d4249[_0x4d1d42(0x181)](_0x33433e['id'],null)&&_specStartTimes[_0x4d1d42(0x166)](_0x33433e['id'],_0x4f4b33);const _0x45f37c=_0x5d4249[_0x4d1d42(0x154)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x1ca)])?_0x4f4b33:_0x33433e&&_specStartTimes[_0x4d1d42(0x178)](_0x33433e['id'])||null,_0x1b226e={};_0x1b226e['lang']=_0x5d4249[_0x4d1d42(0x1ab)],_0x1b226e[_0x4d1d42(0x1bd)]=null;const _0x51039e={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x210782,'name':_0x33433e[_0x4d1d42(0x179)],'body':_0x1b226e,'scope':_0x5dec72[_0x4d1d42(0x15b)]('\x20'),'scopes':_0x5dec72,'identifier':_0x33433e[_0x4d1d42(0x1cb)],'file_name':_0x4861ca,'vc_filepath':_0x5d4249[_0x4d1d42(0x169)](_0xc4f6ad,_0x421a97)?path[_0x4d1d42(0x1ce)](_0xc4f6ad,_0x421a97):null,'location':_0x4861ca,'result':_0x5d4249['qyxmZ'](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x170)]:STATUS_MAP[_0x33433e[_0x4d1d42(0x1b1)]]||_0x5d4249[_0x4d1d42(0x1d1)],'failure_reason':_0x55b8d5,'duration_in_ms':_0x5d4249['FwUfN'](typeof _0x33433e[_0x4d1d42(0x1b9)],_0x5d4249['pjZiD'])?_0x33433e[_0x4d1d42(0x1b9)]:null,'started_at':_0x45f37c,'finished_at':_0x49780f?_0x4f4b33:null,'failure':_0x141143,'failure_type':!_0x55b8d5?null:_0x55b8d5[_0x4d1d42(0x1b7)](/AssertionError/)?_0x5d4249[_0x4d1d42(0x1aa)]:_0x5d4249[_0x4d1d42(0x15d)],'retry_of':null};_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])&&!_0x51039e[_0x5d4249[_0x4d1d42(0x187)]]&&(_0x51039e[_0x5d4249['TyZBt']]=_0x51039e[_0x5d4249['phBHA']]);const _0x5c1cfd=_0x51039e[_0x5d4249['BDXqK']][0x0];_0x5c1cfd&&(_0x51039e[_0x5d4249[_0x4d1d42(0x168)]]=_0x5c1cfd[_0x5d4249[_0x4d1d42(0x1b2)]],_0x51039e[_0x5d4249[_0x4d1d42(0x17a)]]=_0x5c1cfd[_0x5d4249['atbre']]);testhubUtils[_0x4d1d42(0x176)](_0x51039e,_0x3a63a1,_0x33433e,FRAMEWORKS[_0x4d1d42(0x158)]);const _0x535e80={'event_type':_0x5d4249[_0x4d1d42(0x1a7)](_0x3a63a1,_0x5d4249[_0x4d1d42(0x186)])?_0x5d4249[_0x4d1d42(0x1b3)]:_0x3a63a1,'test_run':_0x51039e};return testhubUtils[_0x4d1d42(0x15e)](FRAMEWORKS[_0x4d1d42(0x158)],_0x535e80),SessionHandler[_0x4d1d42(0x18a)](_0x535e80);}catch(_0x217674){_0x5d4249['NSAie'](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x3a63a1+'\x20:\x20'+_0x217674);}}['_scopes'](_0x18cb65){const _0x42ba3a=a14_0x4169c2,_0x4042c8={'jbHrd':function(_0x111d85,_0x5e18bf){return _0x111d85!==_0x5e18bf;},'Rewmz':function(_0x44ff9e,_0x4941f5){return _0x44ff9e!==_0x4941f5;},'yawrf':function(_0x294245,_0x3f970a){return _0x294245>_0x3f970a;},'vPJhi':function(_0x7cb745,_0x1a82c6){return _0x7cb745(_0x1a82c6);},'DiPnJ':function(_0x463e5c,_0x388d1d){return _0x463e5c-_0x388d1d;}};try{const _0x1da4be=[];let _0x176c23=_0x18cb65&&_0x18cb65['parentSuiteId'];const _0x5351df=new Set();while(_0x4042c8[_0x42ba3a(0x1c8)](_0x176c23,undefined)&&_0x4042c8[_0x42ba3a(0x14e)](_0x176c23,null)&&this[_0x42ba3a(0x175)][_0x42ba3a(0x160)](_0x176c23)&&!_0x5351df[_0x42ba3a(0x160)](_0x176c23)){_0x5351df[_0x42ba3a(0x165)](_0x176c23);const _0x275e1f=this[_0x42ba3a(0x175)][_0x42ba3a(0x178)](_0x176c23);_0x275e1f&&_0x275e1f[_0x42ba3a(0x179)]&&_0x1da4be[_0x42ba3a(0x1d3)](_0x275e1f[_0x42ba3a(0x179)]),_0x176c23=_0x275e1f?_0x275e1f[_0x42ba3a(0x1cf)]:null;}if(_0x4042c8['yawrf'](_0x1da4be['length'],0x0))return _0x1da4be[_0x42ba3a(0x184)]();}catch(_0x6047b){_0x4042c8['vPJhi'](debug,'Exception\x20deriving\x20jasmine\x20scopes\x20for\x20'+(_0x18cb65&&_0x18cb65['fullName'])+_0x42ba3a(0x18c)+_0x6047b);}const _0x4452d8=_0x18cb65&&_0x18cb65[_0x42ba3a(0x1cb)]||'',_0x64be57=_0x18cb65&&_0x18cb65['description']||'';let _0x27e868=_0x4452d8;return _0x64be57&&_0x4452d8[_0x42ba3a(0x1c1)](_0x64be57)&&(_0x27e868=_0x4452d8[_0x42ba3a(0x171)](0x0,_0x4042c8['DiPnJ'](_0x4452d8[_0x42ba3a(0x195)],_0x64be57[_0x42ba3a(0x195)]))[_0x42ba3a(0x1a8)]()),_0x27e868?_0x27e868[_0x42ba3a(0x157)](/\s+/):[];}['_resolveFilePath'](_0x4b4185){const _0x3db2b9=a14_0x4169c2,_0x1da28e={};_0x1da28e['WpxTM']=function(_0xb4cba0,_0x597332){return _0xb4cba0===_0x597332;},_0x1da28e[_0x3db2b9(0x16d)]=function(_0x3f9b36,_0xc78089){return _0x3f9b36+_0xc78089;},_0x1da28e[_0x3db2b9(0x199)]=function(_0x555e88,_0x4710a8){return _0x555e88>_0x4710a8;};const _0xe1987a=_0x1da28e;if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x16f)])return _0x4b4185[_0x3db2b9(0x16f)];if(_0x4b4185&&_0x4b4185[_0x3db2b9(0x1cb)]){if(this['_fileNameByFullName'][_0x4b4185[_0x3db2b9(0x1cb)]])return this[_0x3db2b9(0x1a5)][_0x4b4185[_0x3db2b9(0x1cb)]];let _0x2d1275=null,_0x13d384=-0x1;for(const _0x5a38eb of Object[_0x3db2b9(0x1be)](this['_fileNameByFullName'])){(_0xe1987a['WpxTM'](_0x4b4185[_0x3db2b9(0x1cb)],_0x5a38eb)||_0x4b4185['fullName']['startsWith'](_0xe1987a[_0x3db2b9(0x16d)](_0x5a38eb,'\x20')))&&_0xe1987a[_0x3db2b9(0x199)](_0x5a38eb[_0x3db2b9(0x195)],_0x13d384)&&(_0x2d1275=this[_0x3db2b9(0x1a5)][_0x5a38eb],_0x13d384=_0x5a38eb[_0x3db2b9(0x195)]);}if(_0x2d1275)return _0x2d1275;}return null;}[a14_0x4169c2(0x190)](_0x4fcdad){const _0x46c56c=a14_0x4169c2,_0xfdec2b={};_0xfdec2b['XyDcT']=function(_0x51f66c,_0x565b4b){return _0x51f66c===_0x565b4b;},_0xfdec2b[_0x46c56c(0x17c)]='Spec\x20failed';const _0x5f39a6=_0xfdec2b;if(!Array[_0x46c56c(0x1c3)](_0x4fcdad)||_0x5f39a6['XyDcT'](_0x4fcdad[_0x46c56c(0x195)],0x0))return undefined;const _0x4c803f=[],_0x397de9=[];for(const _0x2be4a2 of _0x4fcdad){_0x2be4a2&&_0x2be4a2[_0x46c56c(0x1ad)]&&_0x4c803f[_0x46c56c(0x1d3)](_0x2be4a2[_0x46c56c(0x1ad)]),_0x2be4a2&&_0x2be4a2[_0x46c56c(0x191)]&&_0x397de9[_0x46c56c(0x1d3)](_0x2be4a2['stack']);}const _0x183cd5=_0x4fcdad[0x0]||{},_0x458c85=_0x4c803f[_0x46c56c(0x15b)]('\x0a')||_0x183cd5[_0x46c56c(0x1ad)]||_0x5f39a6['dJtLC'],_0x125357=_0x397de9['join']('\x0a\x0a')||_0x183cd5[_0x46c56c(0x191)]||_0x458c85,_0x53d4a3={};return _0x53d4a3['message']=_0x458c85,_0x53d4a3[_0x46c56c(0x191)]=_0x125357,_0x53d4a3['matcherName']=_0x183cd5['matcherName'],_0x53d4a3['expected']=_0x183cd5['expected'],_0x53d4a3['actual']=_0x183cd5[_0x46c56c(0x189)],_0x53d4a3;}[a14_0x4169c2(0x1c9)](_0xac57ad){const _0x5e4f09=a14_0x4169c2,_0x562623={};_0x562623[_0x5e4f09(0x19c)]=function(_0x273ede,_0x913b02){return _0x273ede===_0x913b02;},_0x562623[_0x5e4f09(0x172)]=function(_0x441527,_0x36bea3){return _0x441527===_0x36bea3;},_0x562623[_0x5e4f09(0x1d0)]=function(_0x3a41b7,_0x1a86b7){return _0x3a41b7===_0x1a86b7;},_0x562623[_0x5e4f09(0x1b8)]=_0x5e4f09(0x1c6),_0x562623[_0x5e4f09(0x183)]=_0x5e4f09(0x1a1);const _0x53b192=_0x562623,_0xfa459f=path[_0x5e4f09(0x1d6)];if(_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,null)||_0x53b192[_0x5e4f09(0x172)](_0xac57ad,'')||_0x53b192[_0x5e4f09(0x19c)](_0xac57ad,_0xfa459f)||_0x53b192[_0x5e4f09(0x1d0)](_0xac57ad,path[_0x5e4f09(0x16c)](_0xac57ad)))return null;try{return fs[_0x5e4f09(0x156)](path[_0x5e4f09(0x15b)](_0xac57ad,_0x53b192[_0x5e4f09(0x1b8)],_0x53b192['TAuWr'])),_0xac57ad;}catch(_0x228689){return this[_0x5e4f09(0x1c9)](path[_0x5e4f09(0x16c)](_0xac57ad));}}}module[a14_0x4169c2(0x14f)]=BrowserStackJasmineReporter;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a15_0x1fbc4d=a15_0x2889;function a15_0x2889(_0xeeb58a,_0x362558){const _0x52cfb0=a15_0x52cf();return a15_0x2889=function(_0x28890b,_0x3883df){_0x28890b=_0x28890b-0x1b6;let _0x5639b2=_0x52cfb0[_0x28890b];return _0x5639b2;},a15_0x2889(_0xeeb58a,_0x362558);}(function(_0x215aa6,_0x3b9651){const _0x4ca99c=a15_0x2889,_0x3ae662=_0x215aa6();while(!![]){try{const _0x583dd7=-parseInt(_0x4ca99c(0x200))/0x1*(parseInt(_0x4ca99c(0x1de))/0x2)+parseInt(_0x4ca99c(0x22f))/0x3*(-parseInt(_0x4ca99c(0x213))/0x4)+parseInt(_0x4ca99c(0x21a))/0x5+parseInt(_0x4ca99c(0x241))/0x6*(parseInt(_0x4ca99c(0x24c))/0x7)+-parseInt(_0x4ca99c(0x1d2))/0x8+parseInt(_0x4ca99c(0x1ca))/0x9*(parseInt(_0x4ca99c(0x1da))/0xa)+-parseInt(_0x4ca99c(0x223))/0xb*(-parseInt(_0x4ca99c(0x1fd))/0xc);if(_0x583dd7===_0x3b9651)break;else _0x3ae662['push'](_0x3ae662['shift']());}catch(_0x4655af){_0x3ae662['push'](_0x3ae662['shift']());}}}(a15_0x52cf,0x3586d));function a15_0x52cf(){const _0x1f6bf0=['isCLIEnabled','proxySettings','useW3C','spec/support/jasmine.json','finalExecution','winstonLogger','unlinkSync','Okfgl','meQhj','binSessionId','platforms','parallelsPerPlatform','AAoAc','../../helpers/helper','specArgs','length','2709wMgtCH','start',')\x20exited\x20with\x20code\x20','spec_dir','zrXFO','eJCHe','spec','maxWorkers','1986456kNcfZi','npx','Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','medxA','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','1750gpeYMF','all','parse','--helper=','125102PrmLZK','TAlaZ','getInstance',';\x20proceeding\x20without\x20injection','BROWSERSTACK_JASMINE_PARALLELS','\x27\x20:\x20','SfJkM','printBuildLink',',\x20specs=','BROWSERSTACK_TEST_OBSERVABILITY_YML','SUkbO','env','util','../../helpers/test-observability/utils','end','\x20:\x20','accessibilityOptions','../../helpers/performance/constants','error\x20removing\x20tcg\x20config\x20file','globSync','debug','Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20','Jasmine\x20child\x20spawn\x20error\x20(platformIndex=','exitCode','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','AwUwt','JASMINE','Pqqhs','__isPlaywrightInstalled','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','132tljArR','win32','slice','4tSOfMn','\x20work-item(s),\x20max\x20','spec_files','IJgsV','XBBon','stringify','../../helpers/performance/performance-tester','p-limit','getTCGConfigFilePaths','algBI','jasmine','isUndefined','testObservability','parseFileNames','mZZUk','\x20concurrent)','getPackageVersion','dFKyH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','142148WoSVIG','../../helpers/playwright-helper','BROWSERSTACK_CLI_BIN_SESSION_ID','rmdirSync','close','isArray','DGiPH','1799430HxAKMc','../../helpers/logger','initialize','posix','cwd','trim','Cfzoy','config','launchBuild','239503laLXEx','logLevel','amnSF','join','Running\x20your\x20Jasmine\x20tests\x20across\x20','push','WQoew','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','setupTCGAuth','KQBUs','find','map','9FZKTbZ','yzGWX','SDK_CLEANUP','format','SYyxK','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','assign','@playwright/test','inTge','kDQqZ','VvWqT','string','platform','eNaMW','error','FRAMEWORKS','xmQkj','../../helpers/test-observability/constants','6bOqHAs','isBrowserstackInfra','exports','existsSync','from','SNUtT','validPlatformsPresent','Ekfpc','KTSGh','igkfD','utf8','1206121PWXqse','JASMINE_CONFIG_PATH','DPJJy','startsWith','info','inherit','FeZjC','readFileSync','../../helpers/testhub/testhubHandler','UFJTp','resolve','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','true',')\x20:\x20','platformIndex','XBMQP','mZBIF','filter'];a15_0x52cf=function(){return _0x1f6bf0;};return a15_0x52cf();}const fs=require('fs'),path=require('path'),util=require(a15_0x1fbc4d(0x1ea)),{spawn}=require('child_process'),glob=require('glob'),pLimit=require(a15_0x1fbc4d(0x207)),logger=require(a15_0x1fbc4d(0x21b))[a15_0x1fbc4d(0x1bf)],helper=require(a15_0x1fbc4d(0x1c7)),utilities=require(a15_0x1fbc4d(0x1d7)),constants=require('../utils/constants'),TestHubHandler=require(a15_0x1fbc4d(0x254)),testOpsHelper=require('../../helpers/test-observability/utils'),{debug}=require(a15_0x1fbc4d(0x1eb)),{FRAMEWORKS}=require(a15_0x1fbc4d(0x240)),PerformanceTester=require(a15_0x1fbc4d(0x206)),PerformanceEvents=require(a15_0x1fbc4d(0x1ef))['EVENTS'],BrowserstackCLI=require('../v2/browserstackCLI'),{checkPwandBootstrapCli}=require(a15_0x1fbc4d(0x214)),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require('../../helpers/puppeteer-helper'),getMaxWorkers=(_0x132705,_0x214879)=>{const _0x466746=a15_0x1fbc4d,_0x266bbd={'DGiPH':function(_0x185b82,_0x5830db){return _0x185b82(_0x5830db);}};let _0x1def44=0x1;if(!helper[_0x466746(0x20b)](_0x214879[_0x466746(0x1c5)]))_0x1def44=_0x266bbd[_0x466746(0x219)](parseInt,_0x214879[_0x466746(0x1c5)]);else!helper[_0x466746(0x20b)](_0x132705[_0x466746(0x1d1)])&&(_0x1def44=_0x132705[_0x466746(0x1d1)]);return _0x1def44;},resolveJasmineConfigPath=()=>{const _0x3b77d5=a15_0x1fbc4d,_0x500340={};_0x500340['luFyR']=_0x3b77d5(0x1bd);const _0x88e9f0=_0x500340,_0x30579f=[];process[_0x3b77d5(0x1e9)][_0x3b77d5(0x24d)]&&_0x30579f['push'](path[_0x3b77d5(0x256)](process[_0x3b77d5(0x21e)](),process[_0x3b77d5(0x1e9)]['JASMINE_CONFIG_PATH']));_0x30579f[_0x3b77d5(0x228)](path['resolve'](process[_0x3b77d5(0x21e)](),_0x88e9f0['luFyR']));for(const _0x31ca68 of _0x30579f){try{if(fs['existsSync'](_0x31ca68))return _0x31ca68;}catch(_0x33f205){}}return null;},enumerateSpecFiles=_0x7b8f98=>{const _0x4f39b4=a15_0x1fbc4d,_0x3501c2={'FeZjC':function(_0x39f5e4,_0x21eec6){return _0x39f5e4(_0x21eec6);},'inTge':function(_0x2a44e8,_0x543c7f){return _0x2a44e8>_0x543c7f;},'igkfD':function(_0x4a98e7,_0x302974){return _0x4a98e7<_0x302974;},'mZZUk':function(_0x1f8359,_0x2b6747){return _0x1f8359===_0x2b6747;},'yzGWX':_0x4f39b4(0x23a),'xmQkj':function(_0x250efc,_0x445d9b){return _0x250efc>_0x445d9b;},'AAoAc':function(_0x4b466e,_0x358c50,_0x6b059c){return _0x4b466e(_0x358c50,_0x6b059c);},'eFPXP':function(_0x1d9f00){return _0x1d9f00();},'IJgsV':_0x4f39b4(0x24b),'dFKyH':_0x4f39b4(0x1d0),'Cfzoy':'**/*[sS]pec.?(m)js','amnSF':function(_0xe85ec7,_0x5e6075){return _0xe85ec7>_0x5e6075;}};try{if(testOpsHelper['shouldReRunObservabilityTests']()){const _0x1a552a=testOpsHelper[_0x4f39b4(0x20d)](process[_0x4f39b4(0x1e9)]['BROWSERSTACK_RERUN_TESTS']);if(Array[_0x4f39b4(0x218)](_0x1a552a)&&_0x3501c2[_0x4f39b4(0x237)](_0x1a552a['length'],0x0))return _0x1a552a[_0x4f39b4(0x22e)](_0x1801a5=>path[_0x4f39b4(0x256)](process[_0x4f39b4(0x21e)](),_0x1801a5[_0x4f39b4(0x21f)]()))['filter'](Boolean);}}catch(_0x41d43d){_0x3501c2[_0x4f39b4(0x252)](debug,_0x4f39b4(0x1d9)+util[_0x4f39b4(0x232)](_0x41d43d));}const _0x466548=[];try{for(let _0x3de42c=0x1;_0x3501c2[_0x4f39b4(0x24a)](_0x3de42c,_0x7b8f98[_0x4f39b4(0x1c9)]);_0x3de42c++){const _0x1e6a50=_0x7b8f98[_0x3de42c];_0x3501c2[_0x4f39b4(0x20e)](typeof _0x1e6a50,_0x3501c2[_0x4f39b4(0x230)])&&!_0x1e6a50[_0x4f39b4(0x24f)]('-')&&_0x466548[_0x4f39b4(0x228)](_0x1e6a50);}}catch(_0x22e3dd){}const _0x225012={'cwd':process[_0x4f39b4(0x21e)](),'absolute':!![],'nodir':!![]},_0x471455=(_0x538067,_0x3fc534)=>{const _0x3fcebd=_0x4f39b4,_0x2cfa7b=[];for(const _0x3afd66 of _0x538067){try{const _0x5a0ccf=_0x3fc534?path[_0x3fcebd(0x21d)][_0x3fcebd(0x226)](_0x3fc534,_0x3afd66):_0x3afd66,_0x1c2085=glob[_0x3fcebd(0x1f1)](_0x5a0ccf,_0x225012);Array[_0x3fcebd(0x218)](_0x1c2085)&&_0x2cfa7b[_0x3fcebd(0x228)](..._0x1c2085);}catch(_0x564477){_0x3501c2[_0x3fcebd(0x252)](debug,_0x3fcebd(0x1d5)+_0x3afd66+_0x3fcebd(0x1e3)+util[_0x3fcebd(0x232)](_0x564477));}}return _0x2cfa7b;};if(_0x3501c2[_0x4f39b4(0x23f)](_0x466548[_0x4f39b4(0x1c9)],0x0)){const _0x2dd31e=_0x3501c2[_0x4f39b4(0x1c6)](_0x471455,_0x466548,null);if(_0x3501c2[_0x4f39b4(0x237)](_0x2dd31e[_0x4f39b4(0x1c9)],0x0))return Array['from'](new Set(_0x2dd31e));return _0x466548['map'](_0x3aa177=>path[_0x4f39b4(0x256)](process[_0x4f39b4(0x21e)](),_0x3aa177));}try{const _0x7ddccf=_0x3501c2['eFPXP'](resolveJasmineConfigPath);if(_0x7ddccf){const _0x1218ea=JSON[_0x4f39b4(0x1dc)](fs[_0x4f39b4(0x253)](_0x7ddccf,_0x3501c2[_0x4f39b4(0x203)])),_0x1bc24c=_0x1218ea[_0x4f39b4(0x1cd)]||_0x3501c2[_0x4f39b4(0x211)],_0x13635c=Array[_0x4f39b4(0x218)](_0x1218ea[_0x4f39b4(0x202)])&&_0x3501c2[_0x4f39b4(0x23f)](_0x1218ea[_0x4f39b4(0x202)]['length'],0x0)?_0x1218ea[_0x4f39b4(0x202)]:[_0x3501c2[_0x4f39b4(0x220)]],_0x10e6ae=_0x3501c2['AAoAc'](_0x471455,_0x13635c,_0x1bc24c);if(_0x3501c2[_0x4f39b4(0x225)](_0x10e6ae['length'],0x0))return Array[_0x4f39b4(0x245)](new Set(_0x10e6ae));}}catch(_0x248ec0){_0x3501c2['FeZjC'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util[_0x4f39b4(0x232)](_0x248ec0));}return null;};async function run(_0x410743,_0x4d479a,_0x4e85b6){const _0x4a2237=a15_0x1fbc4d,_0x528dfe={'KQBUs':function(_0x94322f,_0x487e1b){return _0x94322f>_0x487e1b;},'zrXFO':_0x4a2237(0x1db),'XBBon':function(_0x58b1a9,_0x4d58b5){return _0x58b1a9(_0x4d58b5);},'medxA':function(_0x1c8135,_0x15cbf0){return _0x1c8135||_0x15cbf0;},'WQoew':function(_0x37649e,_0x45787e){return _0x37649e(_0x45787e);},'Kvmxn':function(_0x2e0bfc,_0x3e670e){return _0x2e0bfc>_0x3e670e;},'SUkbO':function(_0x4c3eea,_0x36600e,_0x50aba7,_0x33a73d){return _0x4c3eea(_0x36600e,_0x50aba7,_0x33a73d);},'DPJJy':_0x4a2237(0x1d3),'oGEnP':_0x4a2237(0x20a),'algBI':function(_0x12a6b1,_0x4a3d3b){return _0x12a6b1===_0x4a3d3b;},'eNaMW':_0x4a2237(0x1fe),'SYyxK':_0x4a2237(0x251),'SNUtT':_0x4a2237(0x217),'ccFVY':_0x4a2237(0x23d),'AwUwt':function(_0x505534,_0x14b3d7){return _0x505534(_0x14b3d7);},'gkqcm':_0x4a2237(0x236),'TAlaZ':function(_0x5a0428){return _0x5a0428();},'VvWqT':function(_0x314763,_0x14e7d4){return _0x314763!=_0x14e7d4;},'ypRXN':_0x4a2237(0x258),'ncZDX':function(_0x252833,_0x5a7348){return _0x252833(_0x5a7348);},'Okfgl':function(_0x281564,_0x498fe4,_0x15af55){return _0x281564(_0x498fe4,_0x15af55);},'eJCHe':function(_0x21b398,_0xb9ea19){return _0x21b398*_0xb9ea19;},'XBMQP':function(_0x315ae6,_0x9a3853){return _0x315ae6(_0x9a3853);},'kDQqZ':function(_0x20df79,_0x8e070){return _0x20df79(_0x8e070);},'KTSGh':function(_0x56652c,_0x364f2d){return _0x56652c(_0x364f2d);},'mZBIF':'test.setup.js','QQjTQ':function(_0x3c6ec9,_0x314e7b){return _0x3c6ec9(_0x314e7b);},'Pqqhs':function(_0x50a058,_0x1ac3e2){return _0x50a058(_0x1ac3e2);},'Ekfpc':function(_0x2ff629,_0x209226){return _0x2ff629<_0x209226;},'UFJTp':function(_0x6be191,_0x508109){return _0x6be191>_0x508109;},'uNYsm':_0x4a2237(0x1f0)},_0x150f5d=helper[_0x4a2237(0x210)](_0x528dfe['gkqcm']);global[_0x4a2237(0x1fa)]=!!_0x150f5d;const _0x3eb9cb=_0x528dfe[_0x4a2237(0x1df)](getPuppeteerVersion);global['__isPuppeteerInstalled']=!!_0x3eb9cb;helper[_0x4a2237(0x242)]()?(await _0x4e85b6[_0x4a2237(0x21c)](_0x410743),await helper['handleApp'](_0x4e85b6['config'])):await _0x4e85b6[_0x4a2237(0x22b)]();if(_0x150f5d)await _0x528dfe[_0x4a2237(0x1e8)](checkPwandBootstrapCli,_0x150f5d,constants[_0x4a2237(0x23e)][_0x4a2237(0x1f8)],_0x4e85b6);else _0x3eb9cb&&await _0x528dfe['SUkbO'](checkPuppeteerAndBootstrapCli,_0x3eb9cb,constants[_0x4a2237(0x23e)]['JASMINE'],_0x4e85b6);if(!_0x4e85b6['config'])return;_0x528dfe[_0x4a2237(0x239)](_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x20c)],null)?process[_0x4a2237(0x1e9)][_0x4a2237(0x1e7)]=_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x20c)]:process[_0x4a2237(0x1e9)][_0x4a2237(0x1e7)]=_0x528dfe['ypRXN'];!helper[_0x4a2237(0x20b)](_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x1ee)])&&(process[_0x4a2237(0x1e9)][_0x4a2237(0x1d8)]=JSON[_0x4a2237(0x205)](_0x4e85b6[_0x4a2237(0x221)]['accessibilityOptions']));try{await TestHubHandler[_0x4a2237(0x222)](FRAMEWORKS['JASMINE'],_0x4e85b6);}catch(_0x5eb81b){logger['error']('[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20'+util[_0x4a2237(0x232)](_0x5eb81b)),_0x528dfe['ncZDX'](debug,'Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20'+util[_0x4a2237(0x232)](_0x5eb81b));}let _0xbd7ff2=![],_0x9a1761=[];try{_0xbd7ff2=helper[_0x4a2237(0x1bc)](_0x4e85b6[_0x4a2237(0x221)]),_0x9a1761=helper['prepareCapabilities'](_0x4e85b6['config'],_0xbd7ff2,constants[_0x4a2237(0x23e)][_0x4a2237(0x1f8)]),process[_0x4a2237(0x1e9)]['BROWSERSTACK_CAPABILITIES']=JSON[_0x4a2237(0x205)](_0x9a1761);}catch(_0x4a018b){_0x528dfe[_0x4a2237(0x229)](debug,_0x4a2237(0x1f3)+util[_0x4a2237(0x232)](_0x4a018b));}let _0x56abfb=null,_0x203b41=![];try{_0x56abfb=helper['getHubUrl'](_0x4e85b6[_0x4a2237(0x221)]),_0x203b41=helper[_0x4a2237(0x247)](_0x4e85b6['config']);}catch(_0x4d27ac){_0x528dfe['XBBon'](debug,_0x4a2237(0x257)+util[_0x4a2237(0x232)](_0x4d27ac));}const _0x1aefb0=_0x49278f=>{const _0x5d231c=_0x4a2237,_0xf825c7=Array['isArray'](_0x9a1761)&&_0x528dfe[_0x5d231c(0x22c)](_0x9a1761['length'],_0x49278f)?_0x9a1761[_0x49278f]:Array[_0x5d231c(0x218)](_0x9a1761)&&_0x528dfe['KQBUs'](_0x9a1761[_0x5d231c(0x1c9)],0x0)?_0x9a1761[0x0]:{};return{'server':_0x56abfb,'capability':_0xf825c7,'proxySettings':_0x4e85b6['config'][_0x5d231c(0x1bb)],'platform':helper['getPlatformName'](_0xf825c7),'browserStackLogLevel':_0x4e85b6[_0x5d231c(0x221)][_0x5d231c(0x224)],'platformIndex':_0x49278f,'framework':constants[_0x5d231c(0x23e)][_0x5d231c(0x1f8)],'platformCaps':_0x203b41?Object[_0x5d231c(0x235)]({'index':_0x49278f},_0x4e85b6['config'][_0x5d231c(0x1c4)][_0x49278f]):{'index':_0x49278f}};};let _0x14ca97=0x1,_0xae825e=0x1,_0x57c7d0=0x1;try{_0x14ca97=_0x528dfe[_0x4a2237(0x1c1)](getMaxWorkers,_0x410743,_0x4e85b6[_0x4a2237(0x221)]),_0xae825e=_0x203b41?_0x4e85b6[_0x4a2237(0x221)][_0x4a2237(0x1c4)][_0x4a2237(0x1c9)]:0x1,_0x57c7d0=_0x528dfe[_0x4a2237(0x1cf)](_0xae825e,_0x14ca97),process[_0x4a2237(0x1e9)][_0x4a2237(0x1e2)]=_0x528dfe[_0x4a2237(0x1b7)](String,_0x57c7d0);}catch(_0x5b7518){_0x528dfe[_0x4a2237(0x238)](debug,_0x4a2237(0x212)+util[_0x4a2237(0x232)](_0x5b7518));}try{BrowserstackCLI[_0x4a2237(0x1e0)]()[_0x4a2237(0x1c3)]&&(process[_0x4a2237(0x1e9)][_0x4a2237(0x215)]=BrowserstackCLI[_0x4a2237(0x1e0)]()[_0x4a2237(0x1c3)]);}catch(_0x1945cb){_0x528dfe[_0x4a2237(0x249)](debug,_0x4a2237(0x234)+util[_0x4a2237(0x232)](_0x1945cb));}const _0x26ee74=[];try{const _0x2eb41f=path['resolve'](__dirname,_0x528dfe[_0x4a2237(0x1b8)]);fs[_0x4a2237(0x244)](_0x2eb41f)?_0x26ee74[_0x4a2237(0x228)](_0x4a2237(0x1dd)+_0x2eb41f):_0x528dfe[_0x4a2237(0x1f7)](debug,_0x4a2237(0x1fb)+_0x2eb41f+_0x4a2237(0x1e1));}catch(_0x5280a9){_0x528dfe['QQjTQ'](debug,'Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20'+util[_0x4a2237(0x232)](_0x5280a9));}const _0x4ba065=_0x4d479a[_0x4a2237(0x1ff)](0x1),_0x2ef389=_0x528dfe['Pqqhs'](enumerateSpecFiles,_0x4d479a),_0x76d184=[];for(let _0x109042=0x0;_0x528dfe[_0x4a2237(0x248)](_0x109042,_0xae825e);_0x109042++){if(_0x528dfe[_0x4a2237(0x22c)](_0x14ca97,0x1)&&Array[_0x4a2237(0x218)](_0x2ef389)&&_0x528dfe[_0x4a2237(0x22c)](_0x2ef389[_0x4a2237(0x1c9)],0x0))for(const _0x1f60c0 of _0x2ef389){const _0x382e1e={};_0x382e1e[_0x4a2237(0x1b6)]=_0x109042,_0x382e1e['specArgs']=[_0x1f60c0],_0x76d184[_0x4a2237(0x228)](_0x382e1e);}else{const _0x570df1={};_0x570df1[_0x4a2237(0x1b6)]=_0x109042,_0x570df1[_0x4a2237(0x1c8)]=_0x2ef389,_0x76d184[_0x4a2237(0x228)](_0x570df1);}}logger[_0x4a2237(0x250)](_0x4a2237(0x227)+_0xae825e+'\x20platform(s),\x20parallelsPerPlatform='+_0x14ca97+'\x20('+_0x76d184[_0x4a2237(0x1c9)]+_0x4a2237(0x201)+_0x57c7d0+_0x4a2237(0x20f)),PerformanceTester[_0x4a2237(0x1ec)](PerformanceEvents['SDK_SETUP']);const _0x4e5fbd=_0x35c511=>new Promise(_0x8c66f0=>{const _0x24d249=_0x4a2237,_0x16f379={'Repui':_0x528dfe[_0x24d249(0x1ce)],'SfJkM':function(_0xdb9eaa,_0x51fb05){const _0x4bb033=_0x24d249;return _0x528dfe[_0x4bb033(0x204)](_0xdb9eaa,_0x51fb05);},'meQhj':function(_0xa0ec76,_0x4e63da){const _0x55fc76=_0x24d249;return _0x528dfe[_0x55fc76(0x1d6)](_0xa0ec76,_0x4e63da);},'AhvSD':function(_0x2df580,_0x5f99f1){const _0x77c0d3=_0x24d249;return _0x528dfe[_0x77c0d3(0x229)](_0x2df580,_0x5f99f1);}};let _0x503a11;try{const _0x1aaaa8=_0x528dfe[_0x24d249(0x204)](_0x1aefb0,_0x35c511[_0x24d249(0x1b6)]);_0x503a11=Object[_0x24d249(0x235)]({},process[_0x24d249(0x1e9)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x24d249(0x205)](_0x1aaaa8),'BROWSERSTACK_CAPABILITIES':JSON[_0x24d249(0x205)]([_0x1aaaa8['capability']]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0x4035c4){_0x528dfe[_0x24d249(0x204)](debug,_0x24d249(0x1d4)+_0x35c511[_0x24d249(0x1b6)]+_0x24d249(0x1ed)+util['format'](_0x4035c4)),_0x503a11=Object[_0x24d249(0x235)]({},process['env']);}const _0x178aad=Array['isArray'](_0x35c511[_0x24d249(0x1c8)])?_0x35c511['specArgs']:[],_0x2e5c6b=_0x528dfe['Kvmxn'](_0x178aad[_0x24d249(0x1c9)],0x0)?_0x4ba065[_0x24d249(0x1b9)](_0x291103=>typeof _0x291103==='string'&&_0x291103['startsWith']('-')):_0x4ba065,_0x127d04=[..._0x26ee74,..._0x2e5c6b,..._0x178aad];try{const _0x53493d=_0x528dfe[_0x24d249(0x1e8)](spawn,_0x528dfe[_0x24d249(0x24e)],[_0x528dfe['oGEnP'],..._0x127d04],{'shell':_0x528dfe[_0x24d249(0x209)](process[_0x24d249(0x23b)],_0x528dfe[_0x24d249(0x23c)]),'stdio':_0x528dfe[_0x24d249(0x233)],'env':_0x503a11});_0x53493d['on'](_0x528dfe[_0x24d249(0x246)],_0xe6f931=>{const _0x3f9fc7=_0x24d249;logger['debug']('jasmine\x20child\x20(platformIndex='+_0x35c511[_0x3f9fc7(0x1b6)]+_0x3f9fc7(0x1e6)+(_0x178aad[_0x3f9fc7(0x1c9)]?_0x178aad[_0x3f9fc7(0x226)](','):_0x16f379['Repui'])+_0x3f9fc7(0x1cc)+_0xe6f931),_0x16f379[_0x3f9fc7(0x1e4)](_0x8c66f0,_0x16f379[_0x3f9fc7(0x1c2)](_0xe6f931,0x0));}),_0x53493d['on'](_0x528dfe['ccFVY'],_0x7cf1a9=>{const _0x192366=_0x24d249;_0x16f379[_0x192366(0x1e4)](debug,_0x192366(0x1f4)+_0x35c511[_0x192366(0x1b6)]+_0x192366(0x259)+util[_0x192366(0x232)](_0x7cf1a9)),_0x16f379['AhvSD'](_0x8c66f0,0x1);});}catch(_0x2dc510){_0x528dfe[_0x24d249(0x1f7)](debug,_0x24d249(0x22a)+_0x35c511[_0x24d249(0x1b6)]+')\x20:\x20'+util[_0x24d249(0x232)](_0x2dc510)),_0x528dfe[_0x24d249(0x204)](_0x8c66f0,0x1);}}),_0x5ec714=_0x528dfe[_0x4a2237(0x1f9)](pLimit,_0x528dfe[_0x4a2237(0x255)](_0x57c7d0,0x0)?_0x57c7d0:0x1),_0x260a72=await Promise[_0x4a2237(0x1db)](_0x76d184[_0x4a2237(0x22e)](_0x48e278=>_0x5ec714(()=>_0x4e5fbd(_0x48e278))));PerformanceTester[_0x4a2237(0x1cb)](PerformanceEvents[_0x4a2237(0x231)]);const _0x18eb5b=_0x260a72[_0x4a2237(0x22d)](_0x17811e=>_0x17811e!==0x0)||0x0;process[_0x4a2237(0x1f5)]=_0x18eb5b,logger[_0x4a2237(0x1f2)](_0x4a2237(0x1fc)+_0x18eb5b);const _0x4429ef=BrowserstackCLI[_0x4a2237(0x1ba)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0xb6e66f){_0x528dfe[_0x4a2237(0x1b7)](debug,_0x4a2237(0x1f6)+util['format'](_0xb6e66f));}try{const {browserstackFolderPath:_0x5bc502,tcgConfigPath:_0x570ca3}=helper[_0x4a2237(0x208)]();fs[_0x4a2237(0x1c0)](_0x570ca3),fs[_0x4a2237(0x216)](_0x5bc502);}catch(_0x4ec147){logger[_0x4a2237(0x1f2)](_0x528dfe['uNYsm'],_0x4ec147);}testOpsHelper[_0x4a2237(0x1e5)](),await utilities[_0x4a2237(0x1be)](_0x4e85b6,_0x4429ef);}module[a15_0x1fbc4d(0x243)]=run;
|
|
2
|
+
'use strict';const a15_0xf67c4=a15_0x1bd4;(function(_0x403573,_0x274e58){const _0x875e2b=a15_0x1bd4,_0x4b7556=_0x403573();while(!![]){try{const _0x13bffe=-parseInt(_0x875e2b(0x17a))/0x1*(-parseInt(_0x875e2b(0x10e))/0x2)+-parseInt(_0x875e2b(0x11b))/0x3*(parseInt(_0x875e2b(0x182))/0x4)+-parseInt(_0x875e2b(0xf3))/0x5*(parseInt(_0x875e2b(0x16b))/0x6)+parseInt(_0x875e2b(0xff))/0x7+-parseInt(_0x875e2b(0x10b))/0x8+-parseInt(_0x875e2b(0x125))/0x9+parseInt(_0x875e2b(0x11f))/0xa*(parseInt(_0x875e2b(0x162))/0xb);if(_0x13bffe===_0x274e58)break;else _0x4b7556['push'](_0x4b7556['shift']());}catch(_0x1c93ec){_0x4b7556['push'](_0x4b7556['shift']());}}}(a15_0x3125,0x89f3d));function a15_0x3125(){const _0x20aac7=['../../helpers/utilities','__isPlaywrightInstalled','TSOqA','ebqbW','env','15532DJWmlx','yUZNJ','shouldReRunObservabilityTests','isUndefined','cMngy','JASMINE','--helper=','[jasmine]\x20Failed\x20to\x20launch\x20BrowserStack\x20build;\x20tests\x20will\x20run\x20but\x20results\x20may\x20not\x20appear\x20on\x20the\x20dashboard.\x20Error:\x20','BROWSERSTACK_CAPABILITIES','20436zaimsB','kckOY','spec_files','Exception\x20building\x20Jasmine\x20helper\x20injection\x20args\x20:\x20','end','../utils/constants','format','startsWith','map','UjyQh','length','validPlatformsPresent','isCLIEnabled','BROWSERSTACK_CLI_BIN_SESSION_ID','PTzQh','457817mhOxKE','initialize','exitCode','printBuildLink','Exception\x20resolving\x20Jasmine\x20hub\x20URL\x20/\x20platforms;\x20using\x20safe\x20defaults\x20:\x20','getPackageVersion','gAGwi','../../helpers/test-observability/utils','1397524hnnUaA','GXhtp','AwBUu','path','Exception\x20globbing\x20Jasmine\x20spec\x20pattern\x20\x27','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','../../helpers/helper','All\x20jasmine\x20children\x20exited;\x20final\x20exit\x20code\x20','Running\x20your\x20Jasmine\x20tests\x20across\x20','IPSKr','true','PacpW','ObVxp','izsEy','kZhFP','isArray','FdhRj','platform','getTCGConfigFilePaths','Exception\x20propagating\x20binary\x20session\x20id\x20for\x20Jasmine\x20children\x20:\x20','push','XZyYm','getInstance','accessibilityOptions','test.setup.js','error','platforms','useW3C','prepareCapabilities','info','55AZlqUo','qIXjw','FRAMEWORKS','p-limit','lXqda','exports','win32',',\x20specs=',';\x20proceeding\x20without\x20injection','\x20concurrent)','config','\x27\x20:\x20','4302564wfHIub','rmdirSync','../../helpers/test-observability/constants','__isPuppeteerInstalled','BROWSERSTACK_TEST_OBSERVABILITY_YML','SDK_SETUP','sKkzs','slice','sQcow','../v2/browserstackCLI','error\x20removing\x20tcg\x20config\x20file','hIsFv','5424752YjRyKX','parse','lSUJD','2lPVmJl','stringify','spec_dir','QpahJ','jeYEM','IsMxG','Exception\x20spawning\x20Jasmine\x20child\x20(platformIndex=','stop','SDK_CLEANUP','parallelsPerPlatform','iMzFs','specArgs','**/*[sS]pec.?(m)js','3oaKOfi','setupTCGAuth','NSzEK','binSessionId','6050dRWsnG','Jasmine\x20SDK\x20helper\x20not\x20found\x20at\x20','join','BROWSERSTACK_RERUN_TESTS','YbIcL','EVENTS','2670615LAKeVG','string','../../helpers/puppeteer-helper','UQvRs','nubwL','ibJUw','launchBuild','existsSync','../../helpers/performance/performance-tester','glob','resolve','\x20platform(s),\x20parallelsPerPlatform=','start','jasmine\x20child\x20(platformIndex=','cwd','../../helpers/performance/constants','Exception\x20in\x20TestHubHandler.launchBuild\x20for\x20Jasmine\x20:\x20','from','mEFUf','Jsyqy','finalExecution','child_process','isBrowserstackInfra','platformIndex','proxySettings','capability','CtBso','CszoS','assign','nFDOF','npx','\x20:\x20','getHubUrl','Exception\x20parsing\x20BROWSERSTACK_RERUN_TESTS\x20for\x20spec\x20selection\x20:\x20','handleApp','zoZIU','BUJsO','globSync','parseFileNames','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','testObservability','fgfMG','debug','yMlwW','TLhAd','WtVLz','HGNfz','maxWorkers','JASMINE_CONFIG_PATH','Exception\x20computing\x20Jasmine\x20fan-out\x20concurrency;\x20falling\x20back\x20to\x20single\x20worker\x20:\x20','MmgYu',')\x20:\x20','filter','doEXA','readFileSync','\x20work-item(s),\x20max\x20'];a15_0x3125=function(){return _0x20aac7;};return a15_0x3125();}function a15_0x1bd4(_0x1d0e10,_0x3bf96d){const _0x31256a=a15_0x3125();return a15_0x1bd4=function(_0x1bd40c,_0x124b22){_0x1bd40c=_0x1bd40c-0xd6;let _0x16c8bd=_0x31256a[_0x1bd40c];return _0x16c8bd;},a15_0x1bd4(_0x1d0e10,_0x3bf96d);}const fs=require('fs'),path=require(a15_0xf67c4(0xd8)),util=require('util'),{spawn}=require(a15_0xf67c4(0x13a)),glob=require(a15_0xf67c4(0x12e)),pLimit=require(a15_0xf67c4(0xf6)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a15_0xf67c4(0xdb)),utilities=require(a15_0xf67c4(0x15d)),constants=require(a15_0xf67c4(0x170)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a15_0xf67c4(0x181)),{debug}=require(a15_0xf67c4(0x181)),{FRAMEWORKS}=require(a15_0xf67c4(0x101)),PerformanceTester=require(a15_0xf67c4(0x12d)),PerformanceEvents=require(a15_0xf67c4(0x134))[a15_0xf67c4(0x124)],BrowserstackCLI=require(a15_0xf67c4(0x108)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),{checkPuppeteerAndBootstrapCli,getPuppeteerVersion}=require(a15_0xf67c4(0x127)),getMaxWorkers=(_0x3693ab,_0x27b089)=>{const _0x427f09=a15_0xf67c4,_0x5d5225={'TLhAd':function(_0x331524,_0x266ebc){return _0x331524(_0x266ebc);}};let _0x419e37=0x1;if(!helper['isUndefined'](_0x27b089['parallelsPerPlatform']))_0x419e37=_0x5d5225[_0x427f09(0x151)](parseInt,_0x27b089[_0x427f09(0x117)]);else!helper['isUndefined'](_0x3693ab[_0x427f09(0x154)])&&(_0x419e37=_0x3693ab[_0x427f09(0x154)]);return _0x419e37;},resolveJasmineConfigPath=()=>{const _0x3e0f87=a15_0xf67c4,_0xaf08a0={};_0xaf08a0['PTzQh']='spec/support/jasmine.json';const _0x37283f=_0xaf08a0,_0x585557=[];process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]&&_0x585557[_0x3e0f87(0xe9)](path['resolve'](process[_0x3e0f87(0x133)](),process[_0x3e0f87(0x161)][_0x3e0f87(0x155)]));_0x585557['push'](path['resolve'](process[_0x3e0f87(0x133)](),_0x37283f[_0x3e0f87(0x179)]));for(const _0x252fe5 of _0x585557){try{if(fs[_0x3e0f87(0x12c)](_0x252fe5))return _0x252fe5;}catch(_0x20703b){}}return null;},enumerateSpecFiles=_0x1691cb=>{const _0x34877d=a15_0xf67c4,_0x466e9f={'sQcow':function(_0x3b2ae7,_0x7bc586){return _0x3b2ae7(_0x7bc586);},'doEXA':function(_0x4faac6,_0x55058f){return _0x4faac6>_0x55058f;},'AwBUu':function(_0x1f8e0a,_0x1b49c6){return _0x1f8e0a<_0x1b49c6;},'ObVxp':function(_0x112c59,_0xedc18c){return _0x112c59===_0xedc18c;},'QpahJ':_0x34877d(0x126),'lSUJD':function(_0x1e7e58,_0x4c7ba8,_0x354683){return _0x1e7e58(_0x4c7ba8,_0x354683);},'izsEy':function(_0x248712,_0x5ebaae){return _0x248712>_0x5ebaae;},'fgfMG':function(_0x3b0b93){return _0x3b0b93();},'mMTBk':'utf8','XZyYm':'spec','HGNfz':function(_0x2e47b7,_0x1a57d0){return _0x2e47b7>_0x1a57d0;},'SrvHa':_0x34877d(0x11a),'kZhFP':function(_0x5ecd13,_0x5b4e27,_0x79ee77){return _0x5ecd13(_0x5b4e27,_0x79ee77);},'jeYEM':function(_0x19b16f,_0x73bb0b){return _0x19b16f>_0x73bb0b;}};try{if(testOpsHelper[_0x34877d(0x164)]()){const _0x212c5e=testOpsHelper[_0x34877d(0x14b)](process[_0x34877d(0x161)][_0x34877d(0x122)]);if(Array[_0x34877d(0xe4)](_0x212c5e)&&_0x466e9f[_0x34877d(0x15a)](_0x212c5e['length'],0x0))return _0x212c5e[_0x34877d(0x173)](_0x3754d6=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0x3754d6['trim']()))['filter'](Boolean);}}catch(_0x8d176b){_0x466e9f[_0x34877d(0x107)](debug,_0x34877d(0x146)+util[_0x34877d(0x171)](_0x8d176b));}const _0x2773d1=[];try{for(let _0x44aa6e=0x1;_0x466e9f[_0x34877d(0xd7)](_0x44aa6e,_0x1691cb[_0x34877d(0x175)]);_0x44aa6e++){const _0x1ad244=_0x1691cb[_0x44aa6e];_0x466e9f[_0x34877d(0xe1)](typeof _0x1ad244,_0x466e9f[_0x34877d(0x111)])&&!_0x1ad244['startsWith']('-')&&_0x2773d1[_0x34877d(0xe9)](_0x1ad244);}}catch(_0x262050){}const _0x1377c2={'cwd':process[_0x34877d(0x133)](),'absolute':!![],'nodir':!![]},_0x1a99b7=(_0x9b93e4,_0x2a9905)=>{const _0x5c03ad=_0x34877d,_0x16a735=[];for(const _0x4f09e7 of _0x9b93e4){try{const _0x5cb0de=_0x2a9905?path['posix']['join'](_0x2a9905,_0x4f09e7):_0x4f09e7,_0x480bd2=glob[_0x5c03ad(0x14a)](_0x5cb0de,_0x1377c2);Array[_0x5c03ad(0xe4)](_0x480bd2)&&_0x16a735[_0x5c03ad(0xe9)](..._0x480bd2);}catch(_0x3686e3){_0x466e9f[_0x5c03ad(0x107)](debug,_0x5c03ad(0xd9)+_0x4f09e7+_0x5c03ad(0xfe)+util[_0x5c03ad(0x171)](_0x3686e3));}}return _0x16a735;};if(_0x466e9f[_0x34877d(0x15a)](_0x2773d1[_0x34877d(0x175)],0x0)){const _0x25458e=_0x466e9f[_0x34877d(0x10d)](_0x1a99b7,_0x2773d1,null);if(_0x466e9f[_0x34877d(0xe2)](_0x25458e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x25458e));return _0x2773d1[_0x34877d(0x173)](_0xcfb319=>path[_0x34877d(0x12f)](process[_0x34877d(0x133)](),_0xcfb319));}try{const _0x36fb58=_0x466e9f[_0x34877d(0x14e)](resolveJasmineConfigPath);if(_0x36fb58){const _0x5e174e=JSON[_0x34877d(0x10c)](fs[_0x34877d(0x15b)](_0x36fb58,_0x466e9f['mMTBk'])),_0x3d1d66=_0x5e174e[_0x34877d(0x110)]||_0x466e9f[_0x34877d(0xea)],_0x103586=Array['isArray'](_0x5e174e['spec_files'])&&_0x466e9f[_0x34877d(0x153)](_0x5e174e['spec_files'][_0x34877d(0x175)],0x0)?_0x5e174e[_0x34877d(0x16d)]:[_0x466e9f['SrvHa']],_0x54ce8e=_0x466e9f[_0x34877d(0xe3)](_0x1a99b7,_0x103586,_0x3d1d66);if(_0x466e9f[_0x34877d(0x112)](_0x54ce8e[_0x34877d(0x175)],0x0))return Array[_0x34877d(0x136)](new Set(_0x54ce8e));}}catch(_0x1dbef3){_0x466e9f['sQcow'](debug,'Exception\x20reading\x20jasmine.json\x20for\x20spec\x20enumeration\x20:\x20'+util['format'](_0x1dbef3));}return null;};async function run(_0x33e7e0,_0x49d2e3,_0x4369fb){const _0x24cf72=a15_0xf67c4,_0x1f07dc={'NSzEK':function(_0x1b1c19,_0x20ae9d){return _0x1b1c19>_0x20ae9d;},'ebqbW':function(_0x111ab8,_0x194059){return _0x111ab8>_0x194059;},'lXqda':'all','RgEON':function(_0x49472d,_0x393bdf){return _0x49472d(_0x393bdf);},'nubwL':function(_0x488a9e,_0x576589){return _0x488a9e||_0x576589;},'Jsyqy':function(_0x1207c4,_0x4d4f8f){return _0x1207c4(_0x4d4f8f);},'mEFUf':function(_0xaa3fc,_0x1ee0ae){return _0xaa3fc(_0x1ee0ae);},'qIXjw':function(_0x1abf37,_0x4b0d0c){return _0x1abf37(_0x4b0d0c);},'BUJsO':function(_0x4dd3dd,_0x204004){return _0x4dd3dd(_0x204004);},'ibJUw':function(_0x526269,_0xd30081,_0x204a51,_0x5631fb){return _0x526269(_0xd30081,_0x204a51,_0x5631fb);},'MmgYu':_0x24cf72(0x143),'TRHqN':'jasmine','oEfHK':function(_0x3639bb,_0x13a2b1){return _0x3639bb===_0x13a2b1;},'zoZIU':_0x24cf72(0xf9),'hIsFv':'inherit','ygHTq':'close','TSOqA':_0x24cf72(0xee),'sKkzs':function(_0x20655a,_0x3e243c){return _0x20655a(_0x3e243c);},'UjyQh':'@playwright/test','yMlwW':function(_0xfa6b90){return _0xfa6b90();},'FdhRj':function(_0x5e53a5,_0x442982,_0x35ef89,_0x51de50){return _0x5e53a5(_0x442982,_0x35ef89,_0x51de50);},'CszoS':function(_0x4993ce,_0x2b8250){return _0x4993ce!=_0x2b8250;},'iMzFs':_0x24cf72(0xdf),'WtVLz':function(_0xf1c80e,_0x6d164){return _0xf1c80e(_0x6d164);},'GXhtp':function(_0x3db2f5,_0x3ba782){return _0x3db2f5(_0x3ba782);},'UQvRs':function(_0x216166,_0x5e4798,_0x34efec){return _0x216166(_0x5e4798,_0x34efec);},'DYgxF':function(_0x451ba9,_0x5d85a5){return _0x451ba9*_0x5d85a5;},'nFDOF':function(_0x3e8df3,_0x3c1183){return _0x3e8df3(_0x3c1183);},'gAGwi':function(_0x15250c,_0x52e6f6){return _0x15250c(_0x52e6f6);},'cMngy':_0x24cf72(0xed),'yUZNJ':function(_0x418e50,_0x2fe638){return _0x418e50(_0x2fe638);},'PacpW':function(_0x6fea33,_0xccbf7d){return _0x6fea33(_0xccbf7d);},'IPSKr':function(_0x4a75f5,_0x59553a){return _0x4a75f5(_0x59553a);},'YbIcL':function(_0x2d2b98,_0xec51f){return _0x2d2b98<_0xec51f;},'CxKAU':function(_0x436408,_0x341810){return _0x436408>_0x341810;},'CtBso':function(_0x12fc7b,_0x153023){return _0x12fc7b>_0x153023;},'kckOY':function(_0x538514,_0x44d8e2){return _0x538514(_0x44d8e2);},'mTChb':function(_0x56086a,_0x27977d){return _0x56086a>_0x27977d;},'IsMxG':_0x24cf72(0x109)},_0x5b480e=helper[_0x24cf72(0x17f)](_0x1f07dc[_0x24cf72(0x174)]);global[_0x24cf72(0x15e)]=!!_0x5b480e;const _0x397757=_0x1f07dc[_0x24cf72(0x150)](getPuppeteerVersion);global[_0x24cf72(0x102)]=!!_0x397757;helper[_0x24cf72(0x13b)]()?(await _0x4369fb[_0x24cf72(0x17b)](_0x33e7e0),await helper[_0x24cf72(0x147)](_0x4369fb['config'])):await _0x4369fb[_0x24cf72(0x11c)]();if(_0x5b480e)await _0x1f07dc[_0x24cf72(0xe5)](checkPwandBootstrapCli,_0x5b480e,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);else _0x397757&&await _0x1f07dc[_0x24cf72(0x12a)](checkPuppeteerAndBootstrapCli,_0x397757,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)],_0x4369fb);if(!_0x4369fb[_0x24cf72(0xfd)])return;_0x1f07dc[_0x24cf72(0x140)](_0x4369fb['config'][_0x24cf72(0x14d)],null)?process['env'][_0x24cf72(0x103)]=_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0x14d)]:process['env'][_0x24cf72(0x103)]=_0x1f07dc[_0x24cf72(0x118)];!helper[_0x24cf72(0x165)](_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xec)])&&(process[_0x24cf72(0x161)][_0x24cf72(0x14c)]=JSON[_0x24cf72(0x10f)](_0x4369fb['config'][_0x24cf72(0xec)]));try{await TestHubHandler[_0x24cf72(0x12b)](FRAMEWORKS[_0x24cf72(0x167)],_0x4369fb);}catch(_0x10aed3){logger[_0x24cf72(0xee)](_0x24cf72(0x169)+util['format'](_0x10aed3)),_0x1f07dc[_0x24cf72(0x152)](debug,_0x24cf72(0x135)+util[_0x24cf72(0x171)](_0x10aed3));}let _0x2ee920=![],_0xbc082=[];try{_0x2ee920=helper[_0x24cf72(0xf0)](_0x4369fb[_0x24cf72(0xfd)]),_0xbc082=helper[_0x24cf72(0xf1)](_0x4369fb[_0x24cf72(0xfd)],_0x2ee920,constants[_0x24cf72(0xf5)][_0x24cf72(0x167)]),process[_0x24cf72(0x161)][_0x24cf72(0x16a)]=JSON[_0x24cf72(0x10f)](_0xbc082);}catch(_0x4dec68){_0x1f07dc[_0x24cf72(0x138)](debug,'Exception\x20preparing\x20Jasmine\x20capabilities;\x20spawning\x20children\x20without\x20injected\x20caps\x20:\x20'+util[_0x24cf72(0x171)](_0x4dec68));}let _0x1469b4=null,_0x593148=![];try{_0x1469b4=helper[_0x24cf72(0x145)](_0x4369fb[_0x24cf72(0xfd)]),_0x593148=helper[_0x24cf72(0x176)](_0x4369fb[_0x24cf72(0xfd)]);}catch(_0x199062){_0x1f07dc[_0x24cf72(0xd6)](debug,_0x24cf72(0x17e)+util[_0x24cf72(0x171)](_0x199062));}const _0x5a4ccd=_0x13c5d0=>{const _0x35bc8f=_0x24cf72,_0xe94453=Array[_0x35bc8f(0xe4)](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x11d)](_0xbc082['length'],_0x13c5d0)?_0xbc082[_0x13c5d0]:Array['isArray'](_0xbc082)&&_0x1f07dc[_0x35bc8f(0x160)](_0xbc082[_0x35bc8f(0x175)],0x0)?_0xbc082[0x0]:{};return{'server':_0x1469b4,'capability':_0xe94453,'proxySettings':_0x4369fb[_0x35bc8f(0xfd)][_0x35bc8f(0x13d)],'platform':helper['getPlatformName'](_0xe94453),'browserStackLogLevel':_0x4369fb[_0x35bc8f(0xfd)]['logLevel'],'platformIndex':_0x13c5d0,'framework':constants[_0x35bc8f(0xf5)][_0x35bc8f(0x167)],'platformCaps':_0x593148?Object[_0x35bc8f(0x141)]({'index':_0x13c5d0},_0x4369fb['config'][_0x35bc8f(0xef)][_0x13c5d0]):{'index':_0x13c5d0}};};let _0x1ad0ad=0x1,_0x2ac684=0x1,_0x3fb587=0x1;try{_0x1ad0ad=_0x1f07dc[_0x24cf72(0x128)](getMaxWorkers,_0x33e7e0,_0x4369fb[_0x24cf72(0xfd)]),_0x2ac684=_0x593148?_0x4369fb[_0x24cf72(0xfd)][_0x24cf72(0xef)]['length']:0x1,_0x3fb587=_0x1f07dc['DYgxF'](_0x2ac684,_0x1ad0ad),process[_0x24cf72(0x161)]['BROWSERSTACK_JASMINE_PARALLELS']=_0x1f07dc[_0x24cf72(0x142)](String,_0x3fb587);}catch(_0x2427b6){_0x1f07dc[_0x24cf72(0x149)](debug,_0x24cf72(0x156)+util[_0x24cf72(0x171)](_0x2427b6));}try{BrowserstackCLI['getInstance']()[_0x24cf72(0x11e)]&&(process[_0x24cf72(0x161)][_0x24cf72(0x178)]=BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x11e)]);}catch(_0x4e2f65){_0x1f07dc[_0x24cf72(0x180)](debug,_0x24cf72(0xe8)+util[_0x24cf72(0x171)](_0x4e2f65));}const _0x3253b4=[];try{const _0x104a91=path['resolve'](__dirname,_0x1f07dc[_0x24cf72(0x166)]);fs['existsSync'](_0x104a91)?_0x3253b4['push'](_0x24cf72(0x168)+_0x104a91):_0x1f07dc[_0x24cf72(0x163)](debug,_0x24cf72(0x120)+_0x104a91+_0x24cf72(0xfb));}catch(_0x211231){_0x1f07dc[_0x24cf72(0xe0)](debug,_0x24cf72(0x16e)+util[_0x24cf72(0x171)](_0x211231));}const _0xec0ed2=_0x49d2e3[_0x24cf72(0x106)](0x1),_0x572cf6=_0x1f07dc[_0x24cf72(0xde)](enumerateSpecFiles,_0x49d2e3),_0x57b04a=[];for(let _0x6d1c31=0x0;_0x1f07dc[_0x24cf72(0x123)](_0x6d1c31,_0x2ac684);_0x6d1c31++){if(_0x1f07dc['CxKAU'](_0x1ad0ad,0x1)&&Array['isArray'](_0x572cf6)&&_0x1f07dc[_0x24cf72(0x13f)](_0x572cf6[_0x24cf72(0x175)],0x0))for(const _0x163126 of _0x572cf6){const _0x15ff07={};_0x15ff07[_0x24cf72(0x13c)]=_0x6d1c31,_0x15ff07[_0x24cf72(0x119)]=[_0x163126],_0x57b04a[_0x24cf72(0xe9)](_0x15ff07);}else{const _0x3d0e78={};_0x3d0e78[_0x24cf72(0x13c)]=_0x6d1c31,_0x3d0e78['specArgs']=_0x572cf6,_0x57b04a[_0x24cf72(0xe9)](_0x3d0e78);}}logger[_0x24cf72(0xf2)](_0x24cf72(0xdd)+_0x2ac684+_0x24cf72(0x130)+_0x1ad0ad+'\x20('+_0x57b04a[_0x24cf72(0x175)]+_0x24cf72(0x15c)+_0x3fb587+_0x24cf72(0xfc)),PerformanceTester[_0x24cf72(0x16f)](PerformanceEvents[_0x24cf72(0x104)]);const _0x307cf1=_0x39f30a=>new Promise(_0x38abed=>{const _0x4ef5fd=_0x24cf72;let _0x48153f;try{const _0x1b0b0a=_0x1f07dc[_0x4ef5fd(0xf4)](_0x5a4ccd,_0x39f30a[_0x4ef5fd(0x13c)]);_0x48153f=Object['assign']({},process[_0x4ef5fd(0x161)],{'BROWSERSTACK_JASMINE_CONFIG':JSON[_0x4ef5fd(0x10f)](_0x1b0b0a),'BROWSERSTACK_CAPABILITIES':JSON[_0x4ef5fd(0x10f)]([_0x1b0b0a[_0x4ef5fd(0x13e)]]),'BROWSERSTACK_MAX_RETRIES':'0'});}catch(_0xb9408a){_0x1f07dc['BUJsO'](debug,'Exception\x20building\x20child\x20env\x20for\x20platformIndex\x20'+_0x39f30a[_0x4ef5fd(0x13c)]+_0x4ef5fd(0x144)+util[_0x4ef5fd(0x171)](_0xb9408a)),_0x48153f=Object[_0x4ef5fd(0x141)]({},process[_0x4ef5fd(0x161)]);}const _0x817790=Array[_0x4ef5fd(0xe4)](_0x39f30a[_0x4ef5fd(0x119)])?_0x39f30a['specArgs']:[],_0x571f98=_0x1f07dc[_0x4ef5fd(0x11d)](_0x817790[_0x4ef5fd(0x175)],0x0)?_0xec0ed2[_0x4ef5fd(0x159)](_0x4fafd0=>typeof _0x4fafd0===_0x4ef5fd(0x126)&&_0x4fafd0[_0x4ef5fd(0x172)]('-')):_0xec0ed2,_0x59e4cf=[..._0x3253b4,..._0x571f98,..._0x817790];try{const _0x5e5088=_0x1f07dc[_0x4ef5fd(0x12a)](spawn,_0x1f07dc[_0x4ef5fd(0x157)],[_0x1f07dc['TRHqN'],..._0x59e4cf],{'shell':_0x1f07dc['oEfHK'](process[_0x4ef5fd(0xe6)],_0x1f07dc[_0x4ef5fd(0x148)]),'stdio':_0x1f07dc[_0x4ef5fd(0x10a)],'env':_0x48153f});_0x5e5088['on'](_0x1f07dc['ygHTq'],_0x110cd0=>{const _0x1e6efa=_0x4ef5fd;logger[_0x1e6efa(0x14f)](_0x1e6efa(0x132)+_0x39f30a[_0x1e6efa(0x13c)]+_0x1e6efa(0xfa)+(_0x817790[_0x1e6efa(0x175)]?_0x817790[_0x1e6efa(0x121)](','):_0x1f07dc[_0x1e6efa(0xf7)])+')\x20exited\x20with\x20code\x20'+_0x110cd0),_0x1f07dc['RgEON'](_0x38abed,_0x1f07dc[_0x1e6efa(0x129)](_0x110cd0,0x0));}),_0x5e5088['on'](_0x1f07dc[_0x4ef5fd(0x15f)],_0x4ac349=>{const _0x30c05f=_0x4ef5fd;_0x1f07dc[_0x30c05f(0x138)](debug,'Jasmine\x20child\x20spawn\x20error\x20(platformIndex='+_0x39f30a[_0x30c05f(0x13c)]+_0x30c05f(0x158)+util[_0x30c05f(0x171)](_0x4ac349)),_0x1f07dc[_0x30c05f(0x137)](_0x38abed,0x1);});}catch(_0x5bbde9){_0x1f07dc[_0x4ef5fd(0x105)](debug,_0x4ef5fd(0x114)+_0x39f30a[_0x4ef5fd(0x13c)]+')\x20:\x20'+util[_0x4ef5fd(0x171)](_0x5bbde9)),_0x1f07dc[_0x4ef5fd(0x138)](_0x38abed,0x1);}}),_0x51bb6a=_0x1f07dc[_0x24cf72(0x16c)](pLimit,_0x1f07dc['mTChb'](_0x3fb587,0x0)?_0x3fb587:0x1),_0x12d00b=await Promise['all'](_0x57b04a['map'](_0x32356a=>_0x51bb6a(()=>_0x307cf1(_0x32356a))));PerformanceTester[_0x24cf72(0x131)](PerformanceEvents[_0x24cf72(0x116)]);const _0x44e605=_0x12d00b['find'](_0x21f8b2=>_0x21f8b2!==0x0)||0x0;process[_0x24cf72(0x17c)]=_0x44e605,logger[_0x24cf72(0x14f)](_0x24cf72(0xdc)+_0x44e605);const _0x28956f=BrowserstackCLI[_0x24cf72(0x177)]();try{await TestHubHandler[_0x24cf72(0x115)](),await BrowserstackCLI[_0x24cf72(0xeb)]()[_0x24cf72(0x115)]();}catch(_0x302577){_0x1f07dc['PacpW'](debug,_0x24cf72(0xda)+util['format'](_0x302577));}try{const {browserstackFolderPath:_0x36461f,tcgConfigPath:_0xa62a17}=helper[_0x24cf72(0xe7)]();fs['unlinkSync'](_0xa62a17),fs[_0x24cf72(0x100)](_0x36461f);}catch(_0x38dbea){logger[_0x24cf72(0x14f)](_0x1f07dc[_0x24cf72(0x113)],_0x38dbea);}testOpsHelper[_0x24cf72(0x17d)](),await utilities[_0x24cf72(0x139)](_0x4369fb,_0x28956f);}module[a15_0xf67c4(0xf8)]=run;
|