browserstack-node-sdk 1.55.0 → 1.55.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/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/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/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/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x21d438=a5_0x5b09;(function(_0x3afe43,_0x371b04){const _0xd29f83=a5_0x5b09,_0x54634f=_0x3afe43();while(!![]){try{const _0x2638cc=-parseInt(_0xd29f83(0x1a1))/0x1+-parseInt(_0xd29f83(0x1a0))/0x2+parseInt(_0xd29f83(0x1bd))/0x3+parseInt(_0xd29f83(0x1cf))/0x4+-parseInt(_0xd29f83(0x228))/0x5+parseInt(_0xd29f83(0x1e6))/0x6*(parseInt(_0xd29f83(0x1ce))/0x7)+-parseInt(_0xd29f83(0x207))/0x8*(parseInt(_0xd29f83(0x1ab))/0x9);if(_0x2638cc===_0x371b04)break;else _0x54634f['push'](_0x54634f['shift']());}catch(_0x3fd791){_0x54634f['push'](_0x54634f['shift']());}}}(a5_0x5a25,0x77c4b));function a5_0x5a25(){const _0x44227e=['cwd','printBuildLink','../../helpers/logger','29440mLKZAq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','turboScaleUrl','error\x20removing\x20tcg\x20config\x20file','setLogLevel','RSTeo','UZTnQ','DpKuo','bgWhite','bootstrap','Jmpsf','siFWI','chalk','parallelsPerPlatform','../v2/cliUtils','path','stepsPending','../../helpers/performance/performance-tester','@playwright/test','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','skipSessionStatus','testObservability','ulZXb','QZdYH','301910rWSWPL','200203ZbyHZo','isCLIEnabled','CUCUMBER','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','red','platforms','../playwright/accessibility-helper','ycZUY','7703478kxflBX','mergeOutputFiles','tLaEb','iMbou','launchBuild','akTYU','EVENTS','isFalse','SxGnA','getErrorMessageFromResults','setBrowserstackConfig','tgQSs','binSessionId','isUndefined','stepsSkipped','iCdlh','log','PLAYWRIGHT','1908726TrODBR','SDK_SETUP','env','length','getUserWorkerCount','SDK_CLEANUP','browserstackAutomation','ygQat','cyan','setFrameworkDetail','VZUJi','skipSessionName','prepareCapabilities','ToagY','\x20skipped','IGoJP','handleApp','13776nzvvBM','1805332rfffEK','\x20failed','XLmzn','bold','unlinkSync','winstonLogger','zCvuz','wDpZD','accessibility','uaGZo','testContextOptions','stringify','../../helpers/accessibility-automation/helper','createDir','getConfig','parseFormatters','stepsUndefined','forEach','YHyCL','start','join','aaTqS','scenarios','1878jzBfMN','initialize','false','getPackageVersion','../../helpers/utilities','CVqBs','AvGry','../../helpers/test-observability/constants','FRAMEWORKS','getHubUrl','getInstance','isRunning','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','../utils/constants','kJLHd','stepsAmbiguous','argv','CfbZB','pbTRx','scenariosFailed','sBzln','rtjmp','then','logLevel','green','LYEeV','push','format','processSuccess','../test-runner','zjAaN','KDQlF','Removing\x20tmp\x20directory\x20created\x20for\x20reports','8vDIHoR','stepsUnknown','BROWSERSTACK_TEST_ACCESSIBILITY_YML','proxySettings','../../helpers/testhub/testhubHandler','\x20scenarios','indexOf','\x20passed','utDMX','stepsPassed','removeDir','errorMessage','splice','setupTCGAuth','BROWSERSTACK_CLI_BIN_SESSION_ID','OZvXC','xAZKT','accessibilityOptions','yellow','finally','HommI','--disable-test-observability','syruz','configPath','debug','dNeMp','piRWw','BROWSERSTACK_AUTOMATION','\x20steps','stop'];a5_0x5a25=function(){return _0x44227e;};return a5_0x5a25();}function a5_0x5b09(_0x5ca288,_0x25e1bf){const _0x5a2527=a5_0x5a25();return a5_0x5b09=function(_0x5b09e1,_0x1483cc){_0x5b09e1=_0x5b09e1-0x18d;let _0x5a6443=_0x5a2527[_0x5b09e1];return _0x5a6443;},a5_0x5b09(_0x5ca288,_0x25e1bf);}const fs=require('fs'),path=require(a5_0x21d438(0x197)),util=require('util'),logger=require(a5_0x21d438(0x227))[a5_0x21d438(0x1d4)],helper=require('../../helpers/helper'),utilities=require(a5_0x21d438(0x1ea)),constants=require(a5_0x21d438(0x1f3)),{parallelCucumberRun}=require(a5_0x21d438(0x203)),TestHubHandler=require(a5_0x21d438(0x20b)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x21d438(0x194)),PerformanceTester=require(a5_0x21d438(0x199)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x21d438(0x1b1)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x21d438(0x196)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x5e12e1){const _0x29cb77=a5_0x21d438,_0x566174={};_0x566174[_0x29cb77(0x1b6)]=function(_0x25ee9a,_0x2d2cd2){return _0x25ee9a>_0x2d2cd2;},_0x566174[_0x29cb77(0x1d1)]=function(_0x5ee492,_0x457b60){return _0x5ee492-_0x457b60;},_0x566174[_0x29cb77(0x1ad)]=function(_0x29468d,_0x15dbe0){return _0x29468d-_0x15dbe0;},_0x566174['CVqBs']=function(_0x4dd14b,_0x1df933){return _0x4dd14b>_0x1df933;},_0x566174[_0x29cb77(0x1d5)]=function(_0xeab132,_0x564cfb){return _0xeab132>_0x564cfb;},_0x566174['RszIB']=function(_0x53d91c,_0x3ecd53){return _0x53d91c>_0x3ecd53;},_0x566174[_0x29cb77(0x20f)]=function(_0x10c997,_0x444c68){return _0x10c997>_0x444c68;},_0x566174[_0x29cb77(0x1ba)]=function(_0x55ccef,_0x27ffa2){return _0x55ccef>_0x27ffa2;},_0x566174[_0x29cb77(0x1e4)]=function(_0x1269cb,_0x2c3c62){return _0x1269cb>_0x2c3c62;},_0x566174[_0x29cb77(0x205)]=function(_0x31549f,_0x580866){return _0x31549f>_0x580866;},_0x566174[_0x29cb77(0x1fa)]=function(_0x4bef34,_0x4bf8fc){return _0x4bef34+_0x4bf8fc;},_0x566174[_0x29cb77(0x1d6)]=function(_0x2e5d81,_0x2803a0){return _0x2e5d81+_0x2803a0;},_0x566174['siFWI']=function(_0x3e9219,_0x2b936b){return _0x3e9219+_0x2b936b;},_0x566174['vpCIc']=function(_0x1564fe,_0x165a8e){return _0x1564fe===_0x165a8e;},_0x566174[_0x29cb77(0x19f)]=function(_0x22358a,_0x234302){return _0x22358a===_0x234302;},_0x566174[_0x29cb77(0x1ec)]='****\x20RESULTS\x20****';const _0x5985b5=_0x566174;let _0xea8c77=0x0;if(_0x5985b5[_0x29cb77(0x19f)](_0x5e12e1[_0x29cb77(0x1c0)],0x0))return _0xea8c77;return console['log'](chalk['bold'][_0x29cb77(0x190)](_0x5985b5[_0x29cb77(0x1ec)])),_0x5e12e1[_0x29cb77(0x1e0)](_0x309229=>{const _0x2a84b4=_0x29cb77,_0x1c2387=_0x309229[0x0],_0x1b411f=_0x309229[0x1];helper['isBrowserstackInfra']()&&console[_0x2a84b4(0x1bb)]('\x0a'+chalk[_0x2a84b4(0x1d2)]['yellow'](''+helper['getPlatformName'](_0x1c2387)));const _0x5a0a1a=_0x1b411f[_0x2a84b4(0x1e5)],_0x24059c=_0x1b411f['steps'],_0x5ed0a6=_0x1b411f[_0x2a84b4(0x1f9)],_0xa4a89=_0x1b411f['stepsFailed'],_0x1da67c=_0x1b411f[_0x2a84b4(0x210)],_0x1df346=_0x1b411f[_0x2a84b4(0x1b9)],_0x268faa=_0x1b411f[_0x2a84b4(0x198)],_0x443a7d=_0x1b411f[_0x2a84b4(0x1df)],_0x5b32b7=_0x1b411f[_0x2a84b4(0x208)],_0x2b44eb=_0x1b411f[_0x2a84b4(0x1f5)],_0x10c37f=_0x1b411f[_0x2a84b4(0x202)];let _0x3c4570=_0x5a0a1a+_0x2a84b4(0x20c);const _0x4d0a81=_0x5985b5[_0x2a84b4(0x1b6)](_0x5985b5[_0x2a84b4(0x1d1)](_0x5a0a1a,_0x5ed0a6),0x0)?_0x5985b5[_0x2a84b4(0x1ad)](_0x5a0a1a,_0x5ed0a6):0x0;if(_0x5985b5['tgQSs'](_0x5ed0a6,0x0)&&_0x5985b5[_0x2a84b4(0x1eb)](_0x4d0a81,0x0))_0x3c4570+='\x20('+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0x5ed0a6+_0x2a84b4(0x1d0))+',\x20'+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1fe)](_0x4d0a81+'\x20passed')+')';else(_0x5985b5[_0x2a84b4(0x1eb)](_0x5ed0a6,0x0)||_0x5985b5[_0x2a84b4(0x1eb)](_0x4d0a81,0x0))&&(_0x3c4570+=_0x5985b5['CVqBs'](_0x5ed0a6,0x0)?'\x20('+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0x5ed0a6+'\x20failed')+')':'\x20('+chalk['bold']['green'](_0x4d0a81+_0x2a84b4(0x20e))+')');const _0x21702b=_0x24059c+_0x2a84b4(0x223),_0x5779db=[];_0x5985b5[_0x2a84b4(0x1b6)](_0x2b44eb,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)]['red'](_0x2b44eb+'\x20ambiguous'));_0x5985b5[_0x2a84b4(0x1d5)](_0xa4a89,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0xa4a89+_0x2a84b4(0x1d0)));_0x5985b5['RszIB'](_0x1da67c,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)]['green'](_0x1da67c+'\x20passed'));_0x5985b5[_0x2a84b4(0x20f)](_0x268faa,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x219)](_0x268faa+'\x20pending'));_0x5985b5['iCdlh'](_0x1df346,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1c5)](_0x1df346+_0x2a84b4(0x1cb)));_0x5985b5['aaTqS'](_0x443a7d,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)]['yellow'](_0x443a7d+'\x20undefined'));_0x5985b5[_0x2a84b4(0x205)](_0x5b32b7,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)]['yellow'](_0x5b32b7+'\x20skipped'));const _0x474a03=_0x5985b5[_0x2a84b4(0x1fa)](_0x5985b5[_0x2a84b4(0x1d6)](_0x5985b5[_0x2a84b4(0x193)](_0x21702b,'('),_0x5779db[_0x2a84b4(0x1e3)](',\x20')),')');console['log'](_0x5985b5['wDpZD'](_0x5985b5[_0x2a84b4(0x1d6)](_0x5985b5[_0x2a84b4(0x193)](_0x5985b5[_0x2a84b4(0x1fa)]('\x0a',_0x3c4570),'\x0a'),_0x474a03),'\x0a')),_0x5985b5['vpCIc'](_0x10c37f,![])&&(_0xea8c77=0x1);}),_0xea8c77;}async function run(_0x2b128f,_0x2ef1bd,_0x52d4c2){const _0x3e66a4=a5_0x21d438,_0x479412={'dNeMp':function(_0x3f34bd,_0x42d6b9){return _0x3f34bd(_0x42d6b9);},'syruz':function(_0x5678f2,_0x12d6ab){return _0x5678f2>_0x12d6ab;},'cTNZp':'Generating\x20consolidated\x20report...','akTYU':_0x3e66a4(0x206),'OZvXC':'cucumber','ulZXb':_0x3e66a4(0x22b),'UZTnQ':_0x3e66a4(0x19a),'HommI':function(_0x1a2f97,_0x350807,_0x5caa36,_0x2acfae){return _0x1a2f97(_0x350807,_0x5caa36,_0x2acfae);},'iMbou':'tmp','kJLHd':function(_0x4b3d98,_0x2b42d7){return _0x4b3d98>_0x2b42d7;},'SxGnA':function(_0x4ed6dc,_0xfd0ce0){return _0x4ed6dc-_0xfd0ce0;},'ycZUY':function(_0xc2401c,_0x4c1cc7){return _0xc2401c>=_0x4c1cc7;},'VZUJi':function(_0x75f6f,_0x139f23){return _0x75f6f!=_0x139f23;},'IGoJP':'true','zjAaN':_0x3e66a4(0x1db),'piRWw':_0x3e66a4(0x1a9),'CfbZB':function(_0x44bec8,_0x55f814){return _0x44bec8(_0x55f814);},'DpKuo':_0x3e66a4(0x1e8),'ToagY':function(_0x4276da,_0x6fbb2f){return _0x4276da===_0x6fbb2f;},'RSTeo':'../v2/browserstackCLI','rtjmp':function(_0x35b6f6,_0x5ce145){return _0x35b6f6(_0x5ce145);},'pbTRx':_0x3e66a4(0x196),'xAZKT':_0x3e66a4(0x1ed),'LYEeV':_0x3e66a4(0x21c),'uaGZo':function(_0x3c4c76,_0x31fba3){return _0x3c4c76>=_0x31fba3;},'ygQat':function(_0x395270,_0xfc18b5){return _0x395270===_0xfc18b5;},'Jmpsf':function(_0x2c7b9c,_0xb8612c){return _0x2c7b9c(_0xb8612c);},'YHyCL':function(_0x436136,_0xeb56e3,_0x32c8be,_0x3f0776,_0x3a6756,_0x3923e8){return _0x436136(_0xeb56e3,_0x32c8be,_0x3f0776,_0x3a6756,_0x3923e8);}},_0x1662ab=helper[_0x3e66a4(0x1e9)](_0x479412[_0x3e66a4(0x18e)]);global['__isPlaywrightInstalled']=!!_0x1662ab,await _0x52d4c2[_0x3e66a4(0x1e7)](_0x2b128f);if(_0x52d4c2['config']&&!helper[_0x3e66a4(0x1b8)](_0x52d4c2['config'][_0x3e66a4(0x1fd)])){process[_0x3e66a4(0x1bf)]['BROWSERSTACK_LOG_LEVEL']=_0x52d4c2['config'][_0x3e66a4(0x1fd)];const _0x44b4ce={};_0x44b4ce[_0x3e66a4(0x1fd)]=_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x1fd)],helper[_0x3e66a4(0x22c)](_0x44b4ce,new Map(),new Map());}await _0x479412[_0x3e66a4(0x21b)](checkPwandBootstrapCli,_0x1662ab,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)],_0x52d4c2);BrowserstackCLI['getInstance']()[_0x3e66a4(0x1b7)]&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x215)]=BrowserstackCLI[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1b7)]);helper['setUserConfigPath'](_0x52d4c2['framework'],_0x2b128f);!helper['isBrowserstackInfra']()&&await _0x52d4c2[_0x3e66a4(0x214)]();await helper[_0x3e66a4(0x1cd)](_0x52d4c2[_0x3e66a4(0x1a4)]);const _0xd2415=helper['useW3C'](_0x52d4c2[_0x3e66a4(0x1a4)]);!helper['isUndefined'](_0x52d4c2['config'][_0x3e66a4(0x218)])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x229)]=JSON[_0x3e66a4(0x1da)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x218)]));if(!BrowserstackCLI[_0x3e66a4(0x1f0)]()['isRunning']()){const _0x4d7fba=await TestHubHandler[_0x3e66a4(0x1af)](constants['FRAMEWORKS'][_0x3e66a4(0x1a3)],_0x52d4c2);}let _0x25e67c=[];if(!helper['isBrowserstackInfra']()){const _0x2e9cc9={};_0x2e9cc9[_0x3e66a4(0x1a8)]=[],_0x25e67c=helper[_0x3e66a4(0x1c9)](Object['assign']({},_0x52d4c2['config'],_0x2e9cc9),_0xd2415,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)]);}else _0x25e67c=helper['prepareCapabilities'](_0x52d4c2['config'],_0xd2415,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)]);if(!_0x52d4c2['config'])return;const _0x21fb1b=_0x52d4c2['config'][_0x3e66a4(0x195)]||helper[_0x3e66a4(0x1c1)](_0x2b128f,_0x2ef1bd,_0x52d4c2[_0x3e66a4(0x1a4)],constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)])||0x1,_0x31148a={'server':helper[_0x3e66a4(0x1ef)](_0x52d4c2[_0x3e66a4(0x1a4)]),'proxySettings':_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x20a)],'maxWorkers':_0x21fb1b,'browserStackLogLevel':_0x52d4c2['config'][_0x3e66a4(0x1fd)],'skipSessionName':_0x52d4c2['config'][_0x3e66a4(0x1d9)][_0x3e66a4(0x1c8)],'skipSessionStatus':_0x52d4c2[_0x3e66a4(0x1a4)]['testContextOptions'][_0x3e66a4(0x19c)],'turboScaleUrl':_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x22a)]},_0x40ebf9=process[_0x3e66a4(0x1f6)],[_0x23a000,_0x17ff09]=helper[_0x3e66a4(0x1de)](_0x40ebf9),_0x61ad56=path[_0x3e66a4(0x1e3)](process[_0x3e66a4(0x225)](),_0x479412[_0x3e66a4(0x1ae)]);if(_0x479412[_0x3e66a4(0x1f4)](_0x17ff09[_0x3e66a4(0x1c0)],0x0)){helper[_0x3e66a4(0x1dc)](_0x61ad56);for(let _0x191e6f=_0x479412[_0x3e66a4(0x1b3)](_0x23a000[_0x3e66a4(0x1c0)],0x1);_0x479412[_0x3e66a4(0x1aa)](_0x191e6f,0x0);_0x191e6f--){_0x40ebf9[_0x3e66a4(0x213)](_0x23a000[_0x191e6f],0x2);}}_0x479412[_0x3e66a4(0x1c7)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x19d)],null)?process['env'][_0x3e66a4(0x1a5)]=_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x19d)]:process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x479412['IGoJP'];if(_0x1662ab)try{const {checkAccessibilityPlatformConfig:_0x24e14c}=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x204)]),{setAccessibilityCapabilities:_0x5da7fe}=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x221)]),_0x44bd76=_0x479412[_0x3e66a4(0x1f7)](_0x24e14c,_0x52d4c2[_0x3e66a4(0x1a4)]);if(!helper[_0x3e66a4(0x1b8)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x1d7)]))process['env'][_0x3e66a4(0x209)]=_0x479412[_0x3e66a4(0x220)](String,!!_0x52d4c2[_0x3e66a4(0x1a4)]['accessibility']);else helper[_0x3e66a4(0x1b8)](process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)]=_0x44bd76?_0x479412['IGoJP']:_0x479412['DpKuo']);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x44bd76?_0x479412[_0x3e66a4(0x1cc)]:_0x479412[_0x3e66a4(0x18f)],!BrowserstackCLI[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1f1)]()&&_0x479412[_0x3e66a4(0x1ca)](process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)],_0x479412[_0x3e66a4(0x1cc)])&&_0x479412[_0x3e66a4(0x220)](_0x5da7fe,_0x52d4c2[_0x3e66a4(0x1a4)]);}catch(_0x455c9a){logger[_0x3e66a4(0x21f)](_0x3e66a4(0x19b)+util['format'](_0x455c9a));}try{const _0x57d043=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x18d)]),_0x51951e=_0x479412[_0x3e66a4(0x1fb)](require,_0x479412[_0x3e66a4(0x1f8)]),{FRAMEWORKS:_0x102651}=_0x479412[_0x3e66a4(0x1fb)](require,_0x479412[_0x3e66a4(0x217)]),{checkAccessibilityPlatformConfig:_0x4b8003}=_0x479412[_0x3e66a4(0x1f7)](require,_0x479412[_0x3e66a4(0x204)]),{setAccessibilityCapabilities:_0x485ad6}=_0x479412['dNeMp'](require,_0x479412[_0x3e66a4(0x221)]),_0x37592c=helper[_0x3e66a4(0x1e9)](_0x479412[_0x3e66a4(0x18e)]);if(_0x37592c){_0x51951e[_0x3e66a4(0x1c6)](constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)],constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1bc)]),_0x57d043[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1b5)](_0x52d4c2['config'],_0x52d4c2[_0x3e66a4(0x21e)],_0x52d4c2['cliConfig']),await _0x57d043['getInstance']()[_0x3e66a4(0x191)]();const _0x49c41a=_0x57d043[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1dd)]();!helper[_0x3e66a4(0x1b2)](_0x49c41a['browserstackAutomation'])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x222)]=_0x479412[_0x3e66a4(0x1cc)]);_0x479412[_0x3e66a4(0x1ca)](_0x49c41a[_0x3e66a4(0x1c3)],![])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x222)]=_0x479412['DpKuo']);const _0x5e6781=_0x2ef1bd[_0x3e66a4(0x20d)](_0x479412[_0x3e66a4(0x1ff)]);(_0x479412[_0x3e66a4(0x1d8)](_0x5e6781,0x0)||_0x479412[_0x3e66a4(0x1ca)](_0x49c41a[_0x3e66a4(0x19d)],![]))&&(process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x479412[_0x3e66a4(0x18f)]);if(!_0x57d043[_0x3e66a4(0x1f0)]()['isRunning']()){let _0x4043c4=_0x479412[_0x3e66a4(0x1c4)](process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x479412[_0x3e66a4(0x1cc)]);_0x4043c4=_0x4043c4||_0x479412[_0x3e66a4(0x192)](_0x4b8003,_0x52d4c2[_0x3e66a4(0x1a4)]),process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)]=_0x4043c4,_0x4043c4&&_0x479412['Jmpsf'](_0x485ad6,_0x52d4c2['config']);}}}catch(_0x471e4a){logger[_0x3e66a4(0x21f)](_0x3e66a4(0x1f2)+util[_0x3e66a4(0x201)](_0x471e4a));}PerformanceTester['end'](PerformanceEvents[_0x3e66a4(0x1be)]);let _0x30377d;_0x479412[_0x3e66a4(0x1e1)](parallelCucumberRun,_0x25e67c,_0x31148a,_0x52d4c2[_0x3e66a4(0x1a4)],_0x40ebf9,_0x17ff09)[_0x3e66a4(0x1fc)](async _0x3d66e2=>{const _0x2de949=_0x3e66a4;PerformanceTester[_0x2de949(0x1e2)](PerformanceEvents[_0x2de949(0x1c2)]),_0x30377d=_0x3d66e2;const _0x1d11e1=_0x479412[_0x2de949(0x220)](printCucumberStats,_0x3d66e2);process['exitCode']=_0x1d11e1,_0x479412[_0x2de949(0x21d)](_0x17ff09['length'],0x0)&&(logger[_0x2de949(0x21f)](_0x479412['cTNZp']),helper[_0x2de949(0x1ac)](_0x61ad56,_0x17ff09),logger[_0x2de949(0x21f)](_0x479412[_0x2de949(0x1b0)]),helper[_0x2de949(0x211)](_0x61ad56));})[_0x3e66a4(0x21a)](async()=>{const _0x4a64f5=_0x3e66a4;PerformanceTester[_0x4a64f5(0x1e2)](PerformanceEvents['SDK_CLEANUP']),_0x52d4c2[_0x4a64f5(0x212)]=helper[_0x4a64f5(0x1b4)](_0x30377d,_0x479412[_0x4a64f5(0x216)]),testOpsHelper[_0x4a64f5(0x226)]();const _0x26abe9=BrowserstackCLI[_0x4a64f5(0x1a2)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4a64f5(0x1f0)]()[_0x4a64f5(0x224)]();}catch(_0x266ab7){logger[_0x4a64f5(0x21f)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x266ab7));}try{const {browserstackFolderPath:_0x7d9282,tcgConfigPath:_0x2c8bf0}=helper['getTCGConfigFilePaths']();fs[_0x4a64f5(0x1d3)](_0x2c8bf0),fs['rmdirSync'](_0x7d9282);}catch(_0x4644f3){logger['debug'](_0x479412[_0x4a64f5(0x19e)],_0x4644f3);}await utilities['finalExecution'](_0x52d4c2,_0x26abe9);});}module[a5_0x21d438(0x1a6)]=run;
|
|
2
|
+
'use strict';const a5_0x3d2d42=a5_0x44b3;(function(_0x36d3e6,_0x6f153b){const _0x1a181a=a5_0x44b3,_0x45941a=_0x36d3e6();while(!![]){try{const _0x131b1f=-parseInt(_0x1a181a(0x21f))/0x1+parseInt(_0x1a181a(0x20c))/0x2*(parseInt(_0x1a181a(0x205))/0x3)+parseInt(_0x1a181a(0x1d9))/0x4*(parseInt(_0x1a181a(0x224))/0x5)+-parseInt(_0x1a181a(0x20d))/0x6+-parseInt(_0x1a181a(0x1f8))/0x7*(-parseInt(_0x1a181a(0x210))/0x8)+parseInt(_0x1a181a(0x1d7))/0x9+-parseInt(_0x1a181a(0x20f))/0xa;if(_0x131b1f===_0x6f153b)break;else _0x45941a['push'](_0x45941a['shift']());}catch(_0x139523){_0x45941a['push'](_0x45941a['shift']());}}}(a5_0x1d66,0xe3aed));const fs=require('fs'),path=require(a5_0x3d2d42(0x1b9)),util=require('util'),logger=require(a5_0x3d2d42(0x1b6))[a5_0x3d2d42(0x1c5)],helper=require(a5_0x3d2d42(0x219)),utilities=require(a5_0x3d2d42(0x252)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x3d2d42(0x248)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x3d2d42(0x1db)),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x3d2d42(0x208))[a5_0x3d2d42(0x1bf)],BrowserstackCLI=require(a5_0x3d2d42(0x222)),CLIUtils=require(a5_0x3d2d42(0x246)),{checkPwandBootstrapCli}=require(a5_0x3d2d42(0x23c)),ClientTroubleShootingService=require(a5_0x3d2d42(0x1de));function printCucumberStats(_0x269e23){const _0x2f5af9=a5_0x3d2d42,_0x220723={};_0x220723[_0x2f5af9(0x1c0)]=function(_0x1db1f2,_0x40bd97){return _0x1db1f2>_0x40bd97;},_0x220723[_0x2f5af9(0x1c4)]=function(_0x5b8f79,_0x21a54b){return _0x5b8f79-_0x21a54b;},_0x220723[_0x2f5af9(0x1b8)]=function(_0x31c735,_0x1014cf){return _0x31c735-_0x1014cf;},_0x220723[_0x2f5af9(0x247)]=function(_0x2523a8,_0xd0d991){return _0x2523a8>_0xd0d991;},_0x220723[_0x2f5af9(0x24f)]=function(_0x971614,_0x4e7b80){return _0x971614>_0x4e7b80;},_0x220723[_0x2f5af9(0x251)]=function(_0x7e3cde,_0x40080f){return _0x7e3cde>_0x40080f;},_0x220723[_0x2f5af9(0x21b)]=function(_0x68f8d2,_0x208ad7){return _0x68f8d2>_0x208ad7;},_0x220723[_0x2f5af9(0x209)]=function(_0x3d4869,_0x36551b){return _0x3d4869>_0x36551b;},_0x220723[_0x2f5af9(0x218)]=function(_0x4ef9df,_0x2c21ce){return _0x4ef9df>_0x2c21ce;},_0x220723[_0x2f5af9(0x1fa)]=function(_0x56bd5e,_0x2857b6){return _0x56bd5e>_0x2857b6;},_0x220723[_0x2f5af9(0x226)]=function(_0x5bfce2,_0x268efa){return _0x5bfce2+_0x268efa;},_0x220723[_0x2f5af9(0x1ff)]=function(_0x10c07a,_0x10b162){return _0x10c07a+_0x10b162;},_0x220723['inJvW']=function(_0x4ca576,_0x11b9b5){return _0x4ca576+_0x11b9b5;},_0x220723[_0x2f5af9(0x24e)]=function(_0x536fde,_0x4d2e3e){return _0x536fde+_0x4d2e3e;},_0x220723[_0x2f5af9(0x23a)]=function(_0x330ede,_0x4fb998){return _0x330ede===_0x4fb998;},_0x220723[_0x2f5af9(0x255)]=_0x2f5af9(0x1f5);const _0x10b8f7=_0x220723;let _0x58391e=0x0;if(_0x10b8f7['xMREs'](_0x269e23['length'],0x0))return _0x58391e;return console[_0x2f5af9(0x1e5)](chalk[_0x2f5af9(0x201)]['bgWhite'](_0x10b8f7[_0x2f5af9(0x255)])),_0x269e23[_0x2f5af9(0x1e8)](_0x2c8ad0=>{const _0x2f3149=_0x2f5af9,_0x3aa091=_0x2c8ad0[0x0],_0x8c37fe=_0x2c8ad0[0x1];helper[_0x2f3149(0x1f6)]()&&console['log']('\x0a'+chalk['bold'][_0x2f3149(0x214)](''+helper[_0x2f3149(0x256)](_0x3aa091)));const _0x54aa44=_0x8c37fe[_0x2f3149(0x1d0)],_0xc72acd=_0x8c37fe[_0x2f3149(0x1ef)],_0x70f110=_0x8c37fe[_0x2f3149(0x23e)],_0x4f411b=_0x8c37fe[_0x2f3149(0x21c)],_0x5c171e=_0x8c37fe[_0x2f3149(0x213)],_0x5d5768=_0x8c37fe[_0x2f3149(0x1dc)],_0x52ac29=_0x8c37fe['stepsPending'],_0x5ec3db=_0x8c37fe[_0x2f3149(0x1f2)],_0x4d219a=_0x8c37fe[_0x2f3149(0x23d)],_0x36b1f3=_0x8c37fe[_0x2f3149(0x1ce)],_0x4602cc=_0x8c37fe[_0x2f3149(0x1e2)];let _0x56b550=_0x54aa44+_0x2f3149(0x21a);const _0x3fd5ca=_0x10b8f7['RwyUd'](_0x10b8f7[_0x2f3149(0x1c4)](_0x54aa44,_0x70f110),0x0)?_0x10b8f7['QHOhg'](_0x54aa44,_0x70f110):0x0;if(_0x10b8f7[_0x2f3149(0x247)](_0x70f110,0x0)&&_0x10b8f7['EPRSd'](_0x3fd5ca,0x0))_0x56b550+='\x20('+chalk[_0x2f3149(0x201)][_0x2f3149(0x237)](_0x70f110+_0x2f3149(0x1c1))+',\x20'+chalk[_0x2f3149(0x201)]['green'](_0x3fd5ca+_0x2f3149(0x1ca))+')';else(_0x10b8f7[_0x2f3149(0x24f)](_0x70f110,0x0)||_0x10b8f7['LPObL'](_0x3fd5ca,0x0))&&(_0x56b550+=_0x10b8f7[_0x2f3149(0x21b)](_0x70f110,0x0)?'\x20('+chalk[_0x2f3149(0x201)]['red'](_0x70f110+_0x2f3149(0x1c1))+')':'\x20('+chalk['bold'][_0x2f3149(0x1d1)](_0x3fd5ca+_0x2f3149(0x1ca))+')');const _0x1a69ee=_0xc72acd+_0x2f3149(0x233),_0x2ac289=[];_0x10b8f7[_0x2f3149(0x209)](_0x36b1f3,0x0)&&_0x2ac289[_0x2f3149(0x1cc)](''+chalk['bold'][_0x2f3149(0x237)](_0x36b1f3+_0x2f3149(0x235)));_0x10b8f7[_0x2f3149(0x247)](_0x4f411b,0x0)&&_0x2ac289['push'](''+chalk[_0x2f3149(0x201)]['red'](_0x4f411b+_0x2f3149(0x1c1)));_0x10b8f7[_0x2f3149(0x247)](_0x5c171e,0x0)&&_0x2ac289[_0x2f3149(0x1cc)](''+chalk[_0x2f3149(0x201)][_0x2f3149(0x1d1)](_0x5c171e+_0x2f3149(0x1ca)));_0x10b8f7[_0x2f3149(0x24f)](_0x52ac29,0x0)&&_0x2ac289['push'](''+chalk['bold']['yellow'](_0x52ac29+_0x2f3149(0x1bc)));_0x10b8f7[_0x2f3149(0x209)](_0x5d5768,0x0)&&_0x2ac289['push'](''+chalk[_0x2f3149(0x201)]['cyan'](_0x5d5768+_0x2f3149(0x200)));_0x10b8f7[_0x2f3149(0x218)](_0x5ec3db,0x0)&&_0x2ac289[_0x2f3149(0x1cc)](''+chalk[_0x2f3149(0x201)]['yellow'](_0x5ec3db+_0x2f3149(0x1fe)));_0x10b8f7[_0x2f3149(0x1fa)](_0x4d219a,0x0)&&_0x2ac289[_0x2f3149(0x1cc)](''+chalk[_0x2f3149(0x201)]['yellow'](_0x4d219a+'\x20skipped'));const _0x795c74=_0x10b8f7['ORvzB'](_0x10b8f7[_0x2f3149(0x1ff)](_0x10b8f7[_0x2f3149(0x244)](_0x1a69ee,'('),_0x2ac289[_0x2f3149(0x20e)](',\x20')),')');console[_0x2f3149(0x1e5)](_0x10b8f7[_0x2f3149(0x1ff)](_0x10b8f7[_0x2f3149(0x244)](_0x10b8f7[_0x2f3149(0x24e)](_0x10b8f7['NQUIF']('\x0a',_0x56b550),'\x0a'),_0x795c74),'\x0a')),_0x10b8f7[_0x2f3149(0x23a)](_0x4602cc,![])&&(_0x58391e=0x1);}),_0x58391e;}async function run(_0x13bad4,_0x25e9fd,_0x50b95c){const _0x20d243=a5_0x3d2d42,_0x1f6952={'Kcinq':function(_0x51016d,_0x59c615){return _0x51016d(_0x59c615);},'EdOpy':function(_0x1aaa4c,_0x54ee0e){return _0x1aaa4c>_0x54ee0e;},'WkWZB':_0x20d243(0x1e6),'WShGc':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','IFvLu':_0x20d243(0x1bd),'hwiau':_0x20d243(0x236),'yKzkr':_0x20d243(0x22b),'xIFRM':function(_0x131e62,_0x18d4b6,_0x2edd7e,_0x497fbc){return _0x131e62(_0x18d4b6,_0x2edd7e,_0x497fbc);},'kXBdV':_0x20d243(0x249),'gTVYu':function(_0x31d919,_0x842f03){return _0x31d919>_0x842f03;},'oGMsM':function(_0x497e3c,_0x50c14a){return _0x497e3c-_0x50c14a;},'KiFCu':function(_0x55e360,_0x28194e){return _0x55e360>=_0x28194e;},'fWCPg':function(_0x4c0cd8,_0x3a323f){return _0x4c0cd8!=_0x3a323f;},'xeXhQ':_0x20d243(0x22d),'UIUvg':'../../helpers/accessibility-automation/helper','fNbUw':_0x20d243(0x24d),'WmGVd':function(_0x380f79,_0x4c0fbd){return _0x380f79(_0x4c0fbd);},'TZbwV':function(_0x374352,_0xeedb56){return _0x374352(_0xeedb56);},'VEFff':_0x20d243(0x234),'NWLRi':function(_0x25ede5,_0x4f29ca){return _0x25ede5===_0x4f29ca;},'rFKYO':function(_0x45b6da,_0x2a1ba3){return _0x45b6da(_0x2a1ba3);},'frfin':_0x20d243(0x222),'CCJGC':'../v2/cliUtils','sCBYd':'../../helpers/test-observability/constants','HHFkC':function(_0x3cb714,_0x2ab09d){return _0x3cb714(_0x2ab09d);},'XsSMx':function(_0x1c17af,_0x391ce2){return _0x1c17af(_0x391ce2);},'PDgBw':'--disable-test-observability','ZaRCe':function(_0x1bf6ab,_0x11a5e6){return _0x1bf6ab>=_0x11a5e6;},'cDkxN':function(_0x3fc38c,_0x15f7e7){return _0x3fc38c===_0x15f7e7;},'UMAvY':function(_0x351419,_0x7385ef){return _0x351419(_0x7385ef);},'rCkZQ':function(_0x42186e,_0x204ed1,_0x57a2e7,_0x40d4dc,_0x33b6a9,_0x15e36c){return _0x42186e(_0x204ed1,_0x57a2e7,_0x40d4dc,_0x33b6a9,_0x15e36c);}},_0x1a5eca=helper[_0x20d243(0x20a)](_0x1f6952[_0x20d243(0x1bb)]);global['__isPlaywrightInstalled']=!!_0x1a5eca,await _0x50b95c[_0x20d243(0x1cb)](_0x13bad4);if(_0x50b95c['config']&&!helper[_0x20d243(0x24c)](_0x50b95c['config']['logLevel'])){process[_0x20d243(0x229)][_0x20d243(0x1cd)]=_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x1e7)];const _0x5d5fad={};_0x5d5fad['logLevel']=_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x1e7)],helper['setLogLevel'](_0x5d5fad,new Map(),new Map());}await _0x1f6952[_0x20d243(0x1f4)](checkPwandBootstrapCli,_0x1a5eca,constants[_0x20d243(0x1e9)][_0x20d243(0x1fd)],_0x50b95c);BrowserstackCLI[_0x20d243(0x243)]()['binSessionId']&&(process[_0x20d243(0x229)][_0x20d243(0x254)]=BrowserstackCLI['getInstance']()['binSessionId']);helper[_0x20d243(0x253)](_0x50b95c['framework'],_0x13bad4);!helper[_0x20d243(0x1f6)]()&&await _0x50b95c[_0x20d243(0x1dd)]();await helper[_0x20d243(0x238)](_0x50b95c[_0x20d243(0x22e)]);const _0x19be3c=helper[_0x20d243(0x1ee)](_0x50b95c[_0x20d243(0x22e)]);!helper['isUndefined'](_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x24b)])&&(process[_0x20d243(0x229)][_0x20d243(0x212)]=JSON[_0x20d243(0x211)](_0x50b95c['config'][_0x20d243(0x24b)]));if(!BrowserstackCLI[_0x20d243(0x243)]()['isRunning']()){const _0x440241=await TestHubHandler['launchBuild'](constants['FRAMEWORKS'][_0x20d243(0x1fd)],_0x50b95c);}let _0x21afe1=[];if(!helper['isBrowserstackInfra']()){const _0x73e7ad={};_0x73e7ad['platforms']=[],_0x21afe1=helper[_0x20d243(0x202)](Object[_0x20d243(0x22c)]({},_0x50b95c[_0x20d243(0x22e)],_0x73e7ad),_0x19be3c,constants['FRAMEWORKS'][_0x20d243(0x1fd)]);}else _0x21afe1=helper[_0x20d243(0x202)](_0x50b95c['config'],_0x19be3c,constants[_0x20d243(0x1e9)][_0x20d243(0x1fd)]);if(!_0x50b95c['config'])return;const _0x1902f4=_0x50b95c['config'][_0x20d243(0x245)]||helper[_0x20d243(0x1fb)](_0x13bad4,_0x25e9fd,_0x50b95c[_0x20d243(0x22e)],constants[_0x20d243(0x1e9)][_0x20d243(0x1fd)])||0x1,_0x11c890={'server':helper[_0x20d243(0x228)](_0x50b95c[_0x20d243(0x22e)]),'proxySettings':_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x1f1)],'maxWorkers':_0x1902f4,'browserStackLogLevel':_0x50b95c[_0x20d243(0x22e)]['logLevel'],'skipSessionName':_0x50b95c['config'][_0x20d243(0x1e1)]['skipSessionName'],'skipSessionStatus':_0x50b95c[_0x20d243(0x22e)]['testContextOptions'][_0x20d243(0x1c3)],'turboScaleUrl':_0x50b95c[_0x20d243(0x22e)]['turboScaleUrl']},_0x32dede=process[_0x20d243(0x1d8)],[_0x3c4862,_0x4c0e0b]=helper['parseFormatters'](_0x32dede),_0x562941=path['join'](process[_0x20d243(0x1c8)](),_0x1f6952[_0x20d243(0x216)]);if(_0x1f6952['gTVYu'](_0x4c0e0b[_0x20d243(0x1eb)],0x0)){helper[_0x20d243(0x223)](_0x562941);for(let _0x362694=_0x1f6952[_0x20d243(0x1c2)](_0x3c4862[_0x20d243(0x1eb)],0x1);_0x1f6952['KiFCu'](_0x362694,0x0);_0x362694--){_0x32dede[_0x20d243(0x204)](_0x3c4862[_0x362694],0x2);}}_0x1f6952[_0x20d243(0x22f)](_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x232)],null)?process['env'][_0x20d243(0x1df)]=_0x50b95c[_0x20d243(0x22e)]['testObservability']:process['env'][_0x20d243(0x1df)]=_0x1f6952[_0x20d243(0x231)];if(_0x1a5eca)try{const {checkAccessibilityPlatformConfig:_0x4c5aa7}=_0x1f6952[_0x20d243(0x1ed)](require,_0x1f6952[_0x20d243(0x1cf)]),{setAccessibilityCapabilities:_0x2d7215}=_0x1f6952[_0x20d243(0x1ed)](require,_0x1f6952[_0x20d243(0x217)]),_0x55f9a6=_0x1f6952['WmGVd'](_0x4c5aa7,_0x50b95c['config']);if(!helper[_0x20d243(0x24c)](_0x50b95c[_0x20d243(0x22e)][_0x20d243(0x1f3)]))process[_0x20d243(0x229)][_0x20d243(0x1f0)]=_0x1f6952['TZbwV'](String,!!_0x50b95c['config']['accessibility']);else helper['isUndefined'](process[_0x20d243(0x229)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process['env'][_0x20d243(0x1f0)]=_0x55f9a6?_0x1f6952[_0x20d243(0x231)]:_0x1f6952[_0x20d243(0x1c9)]);process[_0x20d243(0x229)][_0x20d243(0x1d2)]=_0x55f9a6?_0x1f6952[_0x20d243(0x231)]:_0x1f6952[_0x20d243(0x1c9)],!BrowserstackCLI['getInstance']()[_0x20d243(0x241)]()&&_0x1f6952[_0x20d243(0x220)](process[_0x20d243(0x229)][_0x20d243(0x1f0)],_0x1f6952[_0x20d243(0x231)])&&_0x1f6952[_0x20d243(0x225)](_0x2d7215,_0x50b95c['config']);}catch(_0x404c0c){logger[_0x20d243(0x250)](_0x20d243(0x215)+util[_0x20d243(0x1b7)](_0x404c0c));}try{const _0x3ff721=_0x1f6952[_0x20d243(0x225)](require,_0x1f6952[_0x20d243(0x206)]),_0x26473b=_0x1f6952[_0x20d243(0x1be)](require,_0x1f6952[_0x20d243(0x1f9)]),{FRAMEWORKS:_0x37043d}=_0x1f6952[_0x20d243(0x1be)](require,_0x1f6952[_0x20d243(0x1fc)]),{checkAccessibilityPlatformConfig:_0x41f3d4}=_0x1f6952[_0x20d243(0x1c6)](require,_0x1f6952[_0x20d243(0x1cf)]),{setAccessibilityCapabilities:_0x5bcddc}=_0x1f6952['XsSMx'](require,_0x1f6952[_0x20d243(0x217)]),_0x22090a=helper[_0x20d243(0x20a)](_0x1f6952['yKzkr']);if(_0x22090a){_0x26473b['setFrameworkDetail'](constants['FRAMEWORKS'][_0x20d243(0x1fd)],constants[_0x20d243(0x1e9)][_0x20d243(0x23b)]),_0x3ff721[_0x20d243(0x243)]()[_0x20d243(0x1d3)](_0x50b95c[_0x20d243(0x22e)],_0x50b95c[_0x20d243(0x227)],_0x50b95c[_0x20d243(0x1ea)]),await _0x3ff721['getInstance']()[_0x20d243(0x1e3)]();const _0x73e3a5=_0x3ff721['getInstance']()[_0x20d243(0x1da)]();!helper['isFalse'](_0x73e3a5[_0x20d243(0x1b4)])&&(process[_0x20d243(0x229)][_0x20d243(0x239)]=_0x1f6952[_0x20d243(0x231)]);_0x1f6952['NWLRi'](_0x73e3a5[_0x20d243(0x1b4)],![])&&(process[_0x20d243(0x229)][_0x20d243(0x239)]=_0x1f6952[_0x20d243(0x1c9)]);const _0x5844e8=_0x25e9fd[_0x20d243(0x1e0)](_0x1f6952[_0x20d243(0x1b5)]);(_0x1f6952[_0x20d243(0x1ba)](_0x5844e8,0x0)||_0x1f6952[_0x20d243(0x1d6)](_0x73e3a5[_0x20d243(0x232)],![]))&&(process[_0x20d243(0x229)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x1f6952[_0x20d243(0x1c9)]);if(!_0x3ff721[_0x20d243(0x243)]()[_0x20d243(0x241)]()){let _0x2a6e12=_0x1f6952[_0x20d243(0x1d6)](process['env'][_0x20d243(0x1f0)],_0x1f6952['xeXhQ']);_0x2a6e12=_0x2a6e12||_0x1f6952['WmGVd'](_0x41f3d4,_0x50b95c[_0x20d243(0x22e)]),process[_0x20d243(0x229)][_0x20d243(0x1f0)]=_0x2a6e12,_0x2a6e12&&_0x1f6952['UMAvY'](_0x5bcddc,_0x50b95c[_0x20d243(0x22e)]);}}}catch(_0xecf4bd){logger[_0x20d243(0x250)](_0x20d243(0x24a)+util[_0x20d243(0x1b7)](_0xecf4bd));}PerformanceTester[_0x20d243(0x203)](PerformanceEvents[_0x20d243(0x1c7)]);let _0x5d101a;_0x1f6952[_0x20d243(0x230)](parallelCucumberRun,_0x21afe1,_0x11c890,_0x50b95c['config'],_0x32dede,_0x4c0e0b)['then'](async _0x386f64=>{const _0x5c2595=_0x20d243;PerformanceTester[_0x5c2595(0x1ec)](PerformanceEvents[_0x5c2595(0x21e)]),_0x5d101a=_0x386f64;const _0x575843=_0x1f6952[_0x5c2595(0x1ed)](printCucumberStats,_0x386f64);process[_0x5c2595(0x1f7)]=_0x575843,_0x1f6952['EdOpy'](_0x4c0e0b[_0x5c2595(0x1eb)],0x0)&&(logger[_0x5c2595(0x250)](_0x1f6952[_0x5c2595(0x242)]),helper[_0x5c2595(0x1d4)](_0x562941,_0x4c0e0b),logger[_0x5c2595(0x250)](_0x1f6952[_0x5c2595(0x22a)]),helper[_0x5c2595(0x240)](_0x562941));})['finally'](async()=>{const _0x2375ca=_0x20d243;PerformanceTester[_0x2375ca(0x1ec)](PerformanceEvents['SDK_CLEANUP']),_0x50b95c['errorMessage']=helper['getErrorMessageFromResults'](_0x5d101a,_0x1f6952[_0x2375ca(0x207)]),testOpsHelper['printBuildLink']();const _0x36b931=BrowserstackCLI['isCLIEnabled']();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x2375ca(0x243)]()[_0x2375ca(0x221)]();}catch(_0x55c229){logger['debug'](_0x2375ca(0x1d5)+util[_0x2375ca(0x1b7)](_0x55c229));}try{const {browserstackFolderPath:_0x1ec2ec,tcgConfigPath:_0x1cb301}=helper[_0x2375ca(0x20b)]();fs['unlinkSync'](_0x1cb301),fs['rmdirSync'](_0x1ec2ec);}catch(_0x14c743){logger[_0x2375ca(0x250)](_0x1f6952[_0x2375ca(0x1e4)],_0x14c743);}await utilities[_0x2375ca(0x21d)](_0x50b95c,_0x36b931);});}function a5_0x44b3(_0x5cb571,_0x2bbce0){const _0x1d66a1=a5_0x1d66();return a5_0x44b3=function(_0x44b34e,_0x427401){_0x44b34e=_0x44b34e-0x1b4;let _0x11414c=_0x1d66a1[_0x44b34e];return _0x11414c;},a5_0x44b3(_0x5cb571,_0x2bbce0);}module[a5_0x3d2d42(0x23f)]=run;function a5_0x1d66(){const _0x260173=['SDK_CLEANUP','395344VdXsTa','NWLRi','stop','../v2/browserstackCLI','createDir','5kaNesq','rFKYO','ORvzB','configPath','getHubUrl','env','WShGc','@playwright/test','assign','true','config','fWCPg','rCkZQ','xeXhQ','testObservability','\x20steps','false','\x20ambiguous','error\x20removing\x20tcg\x20config\x20file','red','handleApp','BROWSERSTACK_AUTOMATION','xMREs','PLAYWRIGHT','../../helpers/playwright-helper','stepsUnknown','scenariosFailed','exports','removeDir','isRunning','WkWZB','getInstance','inJvW','parallelsPerPlatform','../v2/cliUtils','EPRSd','../test-runner','tmp','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','accessibilityOptions','isUndefined','../playwright/accessibility-helper','TWcMK','YnbJB','debug','LPObL','../../helpers/utilities','setUserConfigPath','BROWSERSTACK_CLI_BIN_SESSION_ID','JZKwO','getPlatformName','browserstackAutomation','PDgBw','../../helpers/logger','format','QHOhg','path','ZaRCe','yKzkr','\x20pending','cucumber','WmGVd','EVENTS','RwyUd','\x20failed','oGMsM','skipSessionStatus','LjzWs','winstonLogger','HHFkC','SDK_SETUP','cwd','VEFff','\x20passed','initialize','push','BROWSERSTACK_LOG_LEVEL','stepsAmbiguous','UIUvg','scenarios','green','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','setBrowserstackConfig','mergeOutputFiles','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cDkxN','15905106WnEJDT','argv','4227360ZVcZTJ','getConfig','../../helpers/test-observability/utils','stepsSkipped','setupTCGAuth','../utils/clientTroubleshootingService','BROWSERSTACK_TEST_OBSERVABILITY_YML','indexOf','testContextOptions','processSuccess','bootstrap','hwiau','log','Generating\x20consolidated\x20report...','logLevel','forEach','FRAMEWORKS','cliConfig','length','start','Kcinq','useW3C','steps','BROWSERSTACK_TEST_ACCESSIBILITY_YML','proxySettings','stepsUndefined','accessibility','xIFRM','****\x20RESULTS\x20****','isBrowserstackInfra','exitCode','2506fyQSGp','CCJGC','Jtgav','getUserWorkerCount','sCBYd','CUCUMBER','\x20undefined','NQUIF','\x20skipped','bold','prepareCapabilities','end','splice','4880001vyCOrh','frfin','IFvLu','../../helpers/performance/constants','Nbofp','getPackageVersion','getTCGConfigFilePaths','2tBbxtW','7159992RMULrY','join','27324700lGbFjp','17944bwDHuq','stringify','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsPassed','yellow','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','kXBdV','fNbUw','IBOGK','../../helpers/helper','\x20scenarios','tWcSf','stepsFailed','finalExecution'];a5_0x1d66=function(){return _0x260173;};return a5_0x1d66();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x179b9b=a6_0xa1fa;(function(_0x5cc8a1,_0x2499a7){const _0x3a41b4=a6_0xa1fa,_0x51ac44=_0x5cc8a1();while(!![]){try{const _0x818a1a=parseInt(_0x3a41b4(0x1ab))/0x1+parseInt(_0x3a41b4(0xf3))/0x2*(parseInt(_0x3a41b4(0xf5))/0x3)+-parseInt(_0x3a41b4(0x12e))/0x4*(-parseInt(_0x3a41b4(0x1a7))/0x5)+-parseInt(_0x3a41b4(0x180))/0x6*(-parseInt(_0x3a41b4(0x13c))/0x7)+parseInt(_0x3a41b4(0x1b3))/0x8+parseInt(_0x3a41b4(0x11b))/0x9+parseInt(_0x3a41b4(0x18e))/0xa*(-parseInt(_0x3a41b4(0x1a3))/0xb);if(_0x818a1a===_0x2499a7)break;else _0x51ac44['push'](_0x51ac44['shift']());}catch(_0x50c37a){_0x51ac44['push'](_0x51ac44['shift']());}}}(a6_0x2184,0x6a75a));function a6_0x2184(){const _0x4456a4=['testSteps','6pYVKFe','RDGVw','cucumber-js/test.setup.js','failure','includes','gherkinDocumentMap','../../../helpers/test-observability/error-handler','stepDefinition','log','rule','isBstackHook','XPexe','vlMpk','source','9200QvdOpJ','CONFIG','../../../helpers/helper','snippetBuilder','ohoKX','setup','hook_type','NWcot','logTestRunFinished','MKzsY','getTestUUID','testStepFinished','TestRunFinished','cliInitPromise','getTestCaseAttempt','testRunStarted','ensureCLIInitialized','BkJtx','sourceLocation','elxkp','TEST','16588SoaHfD','RPNGA','../../utils/constants','laEiB','5990jWlBcN','yORPs','DNtHr','PLAYWRIGHT','221069RvnpKX','createHookData','flat','hook','Exception\x20in\x20onTestStepFinished\x20event:\x20','winstonLogger','onTestCaseFinished','parse','3816240KSSsbO','supportCodeLibrary','whyjS','vsiOp','getGherkinStepMap','AMBIGUOUS','testCaseMap','createTestFrameworkData','steps','testStepId','HookRunStarted','testCaseId','gnIXO','testCaseAttemptDataMap','description','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','testCase','gJVjS','exception','iEbse','2Eikcep','eventDataCollector','1462245WffciZ','LTayL','push','testStepStarted','incrementCounter','SKIPPED','../test-observability.js','qLtfe','parseTestCaseAttempt','text','report','onTestRunStarted','../../../bin/v2/TestInfo.js','okPxW','vZtCc','trackEvent','PRE','IPrAf','type','gherkinDocument','fLlZP','../../playwright/reporter/test-details.js','HookRunFinished','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','uKpRB','qIEOa','failed','Skeef','extractStepContainers','@cucumber/cucumber','../../v2/cliUtils','env','bootstrap','__platform','FAILED','scenario','testStepResult','format','209493rxOSnj','failureType','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','toISOString','gyIxS','find','status','onStepDefinition','name','uolIf','testCaseAttempt','finished_at','../../v2/state/hookState.js','testCases','../../v2/browserstackCLI.js','forEach','path','isCLIReady','wUOFq','1612sOkhZr','getTestFramework','getInstance','setFrameworkDetail','hooks','aKlGA','fuKve','assign','QrjNO','TestRunStarted','oxCby','PENDING','pickleMap','testRunFinished','922831QmRxhh','pickleStepId','map','testCaseFinished','bmGOE','isRunning','pickle','LOG_REPORT','PASSED','dRtly','finishedAt','../../v2/utils/cucumber-utils.js','background','cucumber','WoyXC','onTestStepStarted','sendTestRunEventForCucumber','WtbxG','../../../helpers/testhub/utils.js','BhOFl','UtVRJ','toString','BdWHd','duration','onTestCase','onSource','../../../helpers/logger','onPickle','testCaseStarted','vbJwf','qtLUR','seconds','testCaseStartedId','nYnAB','onGherkinDocument','UNKNOWN','children','\x20-\x20','mjZfu','actionLocation','onTestStepFinished','HzZun','feature','RgPMk','result','onTestCaseStarted','dRUWU','ZsWZY','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','CNScw','uri','CUCUMBER','exports','dxtuA','debug','UNDEFINED','BROWSERSTACK_CLI_BIN_SESSION_ID','ZiRQT','INIT_TEST','RTagC','test','onHook','isCliEnabled','pickleId','POST','_performCLIInitialization','message'];a6_0x2184=function(){return _0x4456a4;};return a6_0x2184();}function a6_0xa1fa(_0x5dee9a,_0x1077cb){const _0x2184a5=a6_0x2184();return a6_0xa1fa=function(_0xa1fab7,_0x4d683e){_0xa1fab7=_0xa1fab7-0xec;let _0x647cbe=_0x2184a5[_0xa1fab7];return _0x647cbe;},a6_0xa1fa(_0x5dee9a,_0x1077cb);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x179b9b(0x190)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule(a6_0x179b9b(0x112)),TestDetails=require(a6_0x179b9b(0x10a)),TestObservabilityReporter=require(a6_0x179b9b(0xfb)),{o11yClassErrorHandler}=require(a6_0x179b9b(0x186)),{shouldProcessEventForTesthub}=require(a6_0x179b9b(0x14e)),BrowserstackCLI=require(a6_0x179b9b(0x129)),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require(a6_0x179b9b(0x127)),CucumberUtils=require(a6_0x179b9b(0x147)),TestInfo=require(a6_0x179b9b(0x101)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x179b9b(0x156))[a6_0x179b9b(0x1b0)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x51e436){const _0x34a326=a6_0x179b9b,_0x2f8dca={};_0x2f8dca[_0x34a326(0x1a4)]='envelope';const _0x52b11f=_0x2f8dca;super(_0x51e436),this[_0x34a326(0xff)]={},_0x51e436['eventBroadcaster']['on'](_0x52b11f[_0x34a326(0x1a4)],async _0x2d4e13=>{const _0x6207b6=_0x34a326;switch(!![]){case!!_0x2d4e13[_0x6207b6(0x19d)]:this[_0x6207b6(0x100)](_0x2d4e13[_0x6207b6(0x19d)]);break;case!!_0x2d4e13['testRunFinished']:this['onTestRunFinished'](_0x2d4e13[_0x6207b6(0x13b)]);break;case!!_0x2d4e13[_0x6207b6(0x158)]:this[_0x6207b6(0x169)](_0x2d4e13[_0x6207b6(0x158)],_0x51e436,_0x2d4e13);break;case!!_0x2d4e13['testCaseFinished']:this[_0x6207b6(0x1b1)](_0x2d4e13['testCaseFinished'],_0x51e436,_0x2d4e13);break;case!!_0x2d4e13['testStepStarted']:this[_0x6207b6(0x14b)](_0x2d4e13['testStepStarted'],_0x51e436);break;case!!_0x2d4e13['testStepFinished']:this['onTestStepFinished'](_0x2d4e13[_0x6207b6(0x199)],_0x51e436);break;case!!_0x2d4e13[_0x6207b6(0x1ae)]:this['onHook'](_0x2d4e13[_0x6207b6(0x1ae)]);break;case!!_0x2d4e13[_0x6207b6(0xef)]:this[_0x6207b6(0x154)](_0x2d4e13[_0x6207b6(0xef)]);break;case!!_0x2d4e13['pickle']:this[_0x6207b6(0x157)](_0x2d4e13[_0x6207b6(0x142)]);break;case!!_0x2d4e13[_0x6207b6(0x108)]:this[_0x6207b6(0x15e)](_0x2d4e13[_0x6207b6(0x108)]);break;}});}[a6_0x179b9b(0x179)](_0x38fdc0){const _0x12758f=a6_0x179b9b;this[_0x12758f(0xff)][_0x12758f(0x132)]=Object[_0x12758f(0x135)]([],this[_0x12758f(0xff)][_0x12758f(0x132)]||[]),this[_0x12758f(0xff)]['hooks'][_0x12758f(0xf7)](_0x38fdc0);}[a6_0x179b9b(0x157)](_0x1aec31){const _0x14c656=a6_0x179b9b;this['report'][_0x14c656(0x142)]=Object['assign']([],this[_0x14c656(0xff)]['pickle']||[],[_0x1aec31]),this[_0x14c656(0xff)]['pickle'][_0x14c656(0xf7)](_0x1aec31);}[a6_0x179b9b(0x15e)](_0x3feacd){const _0x550b36=a6_0x179b9b;this[_0x550b36(0xff)][_0x550b36(0x108)]=Object[_0x550b36(0x135)]([],this['report'][_0x550b36(0x108)]||[],[_0x3feacd]),this[_0x550b36(0xff)][_0x550b36(0x108)][_0x550b36(0xf7)](_0x3feacd);}[a6_0x179b9b(0x155)](_0xc25c26){const _0x4fb6d9=a6_0x179b9b;this[_0x4fb6d9(0xff)][_0x4fb6d9(0x18d)]=_0xc25c26;}[a6_0x179b9b(0x122)](_0x373d89){const _0x33e97f=a6_0x179b9b;this[_0x33e97f(0xff)][_0x33e97f(0x187)]=Object[_0x33e97f(0x135)]([],this[_0x33e97f(0xff)]['stepDefinition']||[],[_0x373d89]),this[_0x33e97f(0xff)][_0x33e97f(0x187)][_0x33e97f(0xf7)](_0x373d89);}[a6_0x179b9b(0x154)](_0x51099b){const _0x5beddb=a6_0x179b9b;this[_0x5beddb(0xff)][_0x5beddb(0x128)]=Object[_0x5beddb(0x135)]([],this['report'][_0x5beddb(0x128)]||[],[_0x51099b]),this[_0x5beddb(0xff)][_0x5beddb(0x128)][_0x5beddb(0xf7)](_0x51099b);}['logTestCaseFinished'](_0x4c111b){const _0x433572=a6_0x179b9b,_0x37770e={'gnIXO':function(_0x594e63,_0x14a784){return _0x594e63!==_0x14a784;},'DNtHr':'bstack','RTagC':function(_0x54eb37,_0x2415c3){return _0x54eb37+_0x2415c3;},'zlmDu':function(_0x1f48c7,_0x14b44e){return _0x1f48c7+_0x14b44e;},'tNLKg':function(_0x290567,_0x58e1a7){return _0x290567+_0x58e1a7;},'wUOFq':'\x20\x20\x20\x20','dRUWU':_0x433572(0x161),'LTayL':function(_0x19dec7,_0x2a66bf){return _0x19dec7===_0x2a66bf;},'QrjNO':_0x433572(0x117),'NWcot':function(_0x3bd607,_0x4db711,_0x223d01){return _0x3bd607(_0x4db711,_0x223d01);},'fCMxx':_0x433572(0x168),'gyIxS':_0x433572(0x17e),'whyjS':function(_0x1af75c,_0x148214){return _0x1af75c+_0x148214;},'uKpRB':function(_0x33f152,_0x44489f){return _0x33f152+_0x44489f;},'qLtfe':function(_0x1dd77c,_0x27732e){return _0x1dd77c+_0x27732e;},'vZtCc':function(_0x47e3d8,_0x263c9e){return _0x47e3d8+_0x263c9e;},'ZsWZY':function(_0x237bd1,_0x5eb885){return _0x237bd1+_0x5eb885;}};_0x37770e['gnIXO'](global[_0x433572(0x116)],undefined)&&this[_0x433572(0x188)](_0x37770e[_0x433572(0x10d)](_0x37770e['RTagC']('\x0a',global[_0x433572(0x116)]),'\x0a'));const _0x5525aa=this[_0x433572(0xf4)]['getTestCaseAttempt'](_0x4c111b['testCaseStartedId']);this['log'](_0x37770e[_0x433572(0xfc)](_0x37770e[_0x433572(0x103)](_0x37770e[_0x433572(0x16b)](_0x37770e[_0x433572(0x10d)]('\x20\x20',_0x5525aa[_0x433572(0x108)][_0x433572(0x166)][_0x433572(0x123)]),_0x37770e['dRUWU']),_0x5525aa['pickle'][_0x433572(0x123)]),'\x0a'));const _0x4c810e={};_0x4c810e['cwd']=this['cwd'],_0x4c810e[_0x433572(0x191)]=this[_0x433572(0x191)],_0x4c810e[_0x433572(0x1b4)]=this[_0x433572(0x1b4)],_0x4c810e[_0x433572(0x125)]=_0x5525aa;const _0x5db550=formatterHelpers[_0x433572(0xfd)](_0x4c810e);let _0x12818e=![];_0x5db550['testSteps']['forEach'](_0x4fa580=>{const _0x2b2fbb=_0x433572;if(_0x37770e[_0x2b2fbb(0x1bf)](_0x4fa580['name'],_0x37770e[_0x2b2fbb(0x1a9)])&&!this['isBstackHook'](_0x4fa580)){totalTests+=0x1,this['log'](_0x37770e[_0x2b2fbb(0x177)](_0x37770e[_0x2b2fbb(0x177)](_0x37770e['RTagC'](_0x37770e['zlmDu'](_0x37770e['tNLKg'](_0x37770e[_0x2b2fbb(0x12d)],_0x4fa580['keyword']),_0x4fa580[_0x2b2fbb(0xfe)]||''),_0x37770e['dRUWU']),Status[_0x4fa580['result'][_0x2b2fbb(0x121)]]),'\x0a')),this[_0x2b2fbb(0xf9)](Status[_0x4fa580[_0x2b2fbb(0x168)]['status']]);if(_0x37770e[_0x2b2fbb(0xf6)](Status[_0x4fa580[_0x2b2fbb(0x168)][_0x2b2fbb(0x121)]],_0x37770e[_0x2b2fbb(0x136)])){_0x12818e=!![];const _0x1b5fd4=_0x37770e[_0x2b2fbb(0x195)](nestedKeyValue,_0x4fa580,[_0x37770e['fCMxx'],_0x37770e[_0x2b2fbb(0x11f)]]);_0x1b5fd4&&(testsErrorMessage[_0x37770e[_0x2b2fbb(0x1b5)](_0x37770e[_0x2b2fbb(0x1b5)](_0x5525aa[_0x2b2fbb(0x108)][_0x2b2fbb(0x166)][_0x2b2fbb(0x123)],_0x37770e[_0x2b2fbb(0x16a)]),_0x5525aa[_0x2b2fbb(0x142)][_0x2b2fbb(0x123)])]=_0x1b5fd4,this['log'](_0x37770e[_0x2b2fbb(0x10d)](_0x1b5fd4,'\x0a')));}}}),_0x12818e&&(testSuitesFailed+=0x1),this[_0x433572(0x188)]('\x0a');}[a6_0x179b9b(0x196)](_0x2eabb3){}[a6_0x179b9b(0x18a)](_0x4c2966){const _0x477e3c=a6_0x179b9b,_0xe9996d={};_0xe9996d['vlMpk']=function(_0x8c4329,_0x3ecd9d){return _0x8c4329!==_0x3ecd9d;},_0xe9996d[_0x477e3c(0x140)]=_0x477e3c(0x182);const _0x300e4a=_0xe9996d;if(_0x300e4a[_0x477e3c(0x18c)](_0x4c2966[_0x477e3c(0x1a0)],undefined))return![];if(_0x4c2966[_0x477e3c(0x163)]&&_0x4c2966['actionLocation'][_0x477e3c(0x16e)][_0x477e3c(0x184)](_0x300e4a[_0x477e3c(0x140)]))return!![];return![];}[a6_0x179b9b(0xf9)](_0x2119d8){const _0x18854e=a6_0x179b9b,_0x95f16f={};_0x95f16f[_0x18854e(0x106)]=_0x18854e(0x117),_0x95f16f[_0x18854e(0x1a6)]=_0x18854e(0x144),_0x95f16f[_0x18854e(0x1a1)]=_0x18854e(0xfa),_0x95f16f[_0x18854e(0x171)]=_0x18854e(0x139),_0x95f16f['RDGVw']=_0x18854e(0x173),_0x95f16f[_0x18854e(0x150)]=_0x18854e(0x15f),_0x95f16f[_0x18854e(0x19f)]=_0x18854e(0x1b8);const _0x4d869c=_0x95f16f;switch(_0x2119d8){case _0x4d869c['IPrAf']:testsFailed+=0x1;break;case _0x4d869c[_0x18854e(0x1a6)]:testsPassed+=0x1;break;case _0x4d869c[_0x18854e(0x1a1)]:testsSkipped+=0x1;break;case _0x4d869c[_0x18854e(0x171)]:testsPending+=0x1;break;case _0x4d869c[_0x18854e(0x181)]:testsUndefined+=0x1;break;case _0x4d869c['UtVRJ']:testsUnknown+=0x1;break;case _0x4d869c[_0x18854e(0x19f)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0x560e42){const _0x14de24=a6_0x179b9b,_0x5e43f={'yqlhb':function(_0x1090e6,_0x241b77){return _0x1090e6!==_0x241b77;},'XPexe':function(_0x545c7e){return _0x545c7e();},'WoyXC':function(_0x5eb0bd,_0x5082a5){return _0x5eb0bd(_0x5082a5);},'qtLUR':function(_0x29ade1,_0x3db55a){return _0x29ade1+_0x3db55a;},'fLlZP':_0x14de24(0x149)};let _0x40ff4c;if(_0x5e43f['yqlhb'](process[_0x14de24(0x114)][_0x14de24(0x18f)],undefined)){const _0x19eba8=JSON[_0x14de24(0x1b2)](process[_0x14de24(0x114)][_0x14de24(0x18f)]);_0x40ff4c=_0x19eba8['capability'];}_0x5e43f['yqlhb'](_0x40ff4c,undefined)&&_0x5e43f['XPexe'](isBrowserstackInfra)&&(global[_0x14de24(0x116)]=_0x5e43f[_0x14de24(0x14a)](getPlatformName,_0x40ff4c),this[_0x14de24(0x188)](_0x5e43f[_0x14de24(0x15a)]('Executing\x20tests\x20for\x20'+global[_0x14de24(0x116)],'\x0a'))),_0x5e43f[_0x14de24(0x18b)](shouldProcessEventForTesthub)&&(TestDetails[_0x14de24(0x193)](),this[_0x14de24(0xff)][_0x14de24(0x19d)]=_0x560e42,BrowserstackCLI[_0x14de24(0x130)]()[_0x14de24(0x17a)]()&&await this[_0x14de24(0x12c)]()&&(TestInfo[_0x14de24(0x193)](_0x5e43f[_0x14de24(0x109)]),await BrowserstackCLI[_0x14de24(0x130)]()[_0x14de24(0x12f)]()[_0x14de24(0x104)](TestFrameworkState[_0x14de24(0x176)],HookState[_0x14de24(0x105)],{})));}['onTestRunFinished'](_0x3526f1){const _0xd02167=a6_0x179b9b;this[_0xd02167(0xff)][_0xd02167(0x13b)]=_0x3526f1,this['logTestRunFinished'](_0x3526f1);}async[a6_0x179b9b(0x169)](_0x4c862e,_0x263eea,_0x30d108){const _0xd74a12=a6_0x179b9b,_0x40b5c1={'vbJwf':function(_0x47e728,_0x24cb84){return _0x47e728(_0x24cb84);},'HzZun':_0xd74a12(0x137),'ZiRQT':function(_0x5bd623,_0x27151b){return _0x5bd623&&_0x27151b;}};testSuites+=0x1;if(_0x40b5c1[_0xd74a12(0x159)](shouldProcessEventForTesthub,_0x40b5c1[_0xd74a12(0x165)]))try{this[_0xd74a12(0xff)][_0xd74a12(0x158)]=this['report'][_0xd74a12(0x158)]||{},this[_0xd74a12(0xff)][_0xd74a12(0x158)][_0x4c862e['id']]=_0x4c862e;let _0x1ef4cb=null;BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x17a)]()&&await this[_0xd74a12(0x12c)]()?_0x1ef4cb=TestInfo[_0xd74a12(0x198)](_0x4c862e['id']):_0x1ef4cb=TestDetails[_0xd74a12(0x198)](_0x4c862e['id']);_testCasesData[_0x4c862e['id']]=Object[_0xd74a12(0x135)]({},_0x30d108);const _0x33b62b=this['report'],_0x47b31b=_0x4c862e[_0xd74a12(0x1be)],_0x2d34df=_0x33b62b[_0xd74a12(0x128)][_0xd74a12(0x120)](_0x37b9d7=>_0x37b9d7['id']===_0x47b31b)[_0xd74a12(0x17b)],_0x564a3e=_0x33b62b[_0xd74a12(0x142)][_0xd74a12(0x120)](_0x77d984=>_0x77d984['id']===_0x2d34df),_0x15a4c8=_0x33b62b['gherkinDocument'][_0xd74a12(0x120)](_0x35abc2=>_0x35abc2[_0xd74a12(0x16e)]===_0x564a3e[_0xd74a12(0x16e)]),_0x236cf8=_0x15a4c8[_0xd74a12(0x166)],_0x4045ea={'uuid':_0x1ef4cb,'startedAt':new Date()[_0xd74a12(0x11e)]()};if(_0x564a3e){const _0x11199a={};_0x11199a['name']=_0x564a3e[_0xd74a12(0x123)],_0x4045ea[_0xd74a12(0x118)]=_0x11199a;}if(_0x40b5c1[_0xd74a12(0x175)](_0x15a4c8,_0x236cf8)){const _0x40222e={};_0x40222e[_0xd74a12(0x12b)]=_0x15a4c8[_0xd74a12(0x16e)],_0x40222e[_0xd74a12(0x123)]=_0x236cf8[_0xd74a12(0x123)],_0x40222e[_0xd74a12(0xed)]=_0x236cf8[_0xd74a12(0xed)],_0x4045ea[_0xd74a12(0x166)]=_0x40222e;}_tests[_0x47b31b]=_0x4045ea;if(BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x17a)]()&&await this[_0xd74a12(0x12c)]()){const _0x2b96fb=await cucumberUtils[_0xd74a12(0x1ba)](_0x4045ea,_0x564a3e,_0x30d108,_0x15a4c8,_0x4c862e['id'],_0x40b5c1[_0xd74a12(0x165)]),_0x287cd3={};_0x287cd3[_0xd74a12(0x178)]=_0x2b96fb,await BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x12f)]()[_0xd74a12(0x104)](TestFrameworkState['TEST'],HookState[_0xd74a12(0x105)],_0x287cd3);return;}await testObservabilityReporter[_0xd74a12(0x14c)](_0x30d108,_0x15a4c8,_0x564a3e,_0x40b5c1[_0xd74a12(0x165)],_0x4045ea);}catch(_0x3b6167){logger['debug']('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util['format'](_0x3b6167)+'\x20');}}async[a6_0x179b9b(0x1b1)](_0x407e82,_0x349132,_0x343026){const _0x3e7afe=a6_0x179b9b,_0x59aab2={'JTQOj':function(_0x49d9bb,_0x10b34f){return _0x49d9bb(_0x10b34f);},'RgPMk':_0x3e7afe(0x19a),'wIIvS':_0x3e7afe(0x178)};this['logTestCaseFinished'](_0x407e82);if(_0x59aab2['JTQOj'](shouldProcessEventForTesthub,_0x59aab2[_0x3e7afe(0x167)]))try{this[_0x3e7afe(0xff)][_0x3e7afe(0x13f)]=this['report'][_0x3e7afe(0x13f)]||{},this[_0x3e7afe(0xff)][_0x3e7afe(0x13f)][_0x407e82[_0x3e7afe(0x15c)]]=_0x407e82,_testCasesData[_0x343026['id']]=Object[_0x3e7afe(0x135)]({},_0x343026);const _0x46ab2f=_0x407e82[_0x3e7afe(0x15c)],_0x10792d=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0xec)][_0x46ab2f][_0x3e7afe(0x1be)],_0xff3826=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0x1b9)][_0x10792d],_0x2eac12=_0xff3826[_0x3e7afe(0x17b)],_0x28551d=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0x13a)][_0x2eac12],_0x17ae17=this['getGherkinDocument'](_0x349132,_0x28551d),_0x2cda24=_0x17ae17[_0x3e7afe(0x166)],_0x2f23dc=_tests[_0x10792d];_0x2f23dc&&(delete _tests[_0x10792d],_0x2f23dc[_0x3e7afe(0x146)]=new Date()[_0x3e7afe(0x11e)]());if(BrowserstackCLI['getInstance']()[_0x3e7afe(0x17a)]()&&await this['isCLIReady']()){const _0x55020d=await cucumberUtils['createTestFrameworkData'](_0x2f23dc,_0x28551d,_0x343026,_0x17ae17,_0x46ab2f,_0x59aab2['RgPMk']),_0x2f2459={};_0x2f2459[_0x3e7afe(0x178)]=_0x55020d,await BrowserstackCLI['getInstance']()[_0x3e7afe(0x12f)]()[_0x3e7afe(0x104)](TestFrameworkState[_0x3e7afe(0x1a2)],HookState['POST'],_0x2f2459);const _0x561c67={};_0x561c67['testUUID']=_0x407e82[_0x3e7afe(0x15c)],_0x561c67['type']=_0x59aab2['wIIvS'],await BrowserstackCLI[_0x3e7afe(0x130)]()[_0x3e7afe(0x12f)]()['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x3e7afe(0x17c)],_0x561c67);return;}await testObservabilityReporter[_0x3e7afe(0x14c)](_0x343026,_0x17ae17,_0x28551d,_0x59aab2[_0x3e7afe(0x167)],_0x2f23dc);}catch(_0x4abc22){logger[_0x3e7afe(0x172)](_0x3e7afe(0x16c)+util[_0x3e7afe(0x11a)](_0x4abc22));}}async['onTestStepStarted'](_0x49674d,_0x56902f){const _0xebbdd2=a6_0x179b9b,_0x353ba2={'WtbxG':function(_0x409de0,_0x2fbe0c){return _0x409de0(_0x2fbe0c);},'CNScw':_0xebbdd2(0x1bd),'mjZfu':function(_0x1d22c6,_0x15f3fc){return _0x1d22c6!==_0x15f3fc;},'Skeef':_0xebbdd2(0x1bc)};if(_0x353ba2[_0xebbdd2(0x14d)](shouldProcessEventForTesthub,_0x353ba2[_0xebbdd2(0x16d)]))try{this[_0xebbdd2(0xff)][_0xebbdd2(0xf8)]=this['report'][_0xebbdd2(0xf8)]||{},this[_0xebbdd2(0xff)]['testStepStarted'][_0x49674d[_0xebbdd2(0x15c)]]=_0x49674d;const _0x35373d=_0x49674d[_0xebbdd2(0x15c)],_0x2f937c=_0x56902f['eventDataCollector'][_0xebbdd2(0xec)][_0x35373d][_0xebbdd2(0x1be)],_0x192061=this[_0xebbdd2(0xff)]['testCases']['find'](_0x213ed8=>_0x213ed8['id']===_0x2f937c)[_0xebbdd2(0x17b)],_0xd71ac5=this['report'][_0xebbdd2(0x142)][_0xebbdd2(0x120)](_0x44977e=>_0x44977e['id']===_0x192061),_0x130f5d=this[_0xebbdd2(0xff)][_0xebbdd2(0x128)][_0xebbdd2(0x120)](_0x57b046=>_0x57b046['id']===_0x2f937c)[_0xebbdd2(0x17f)],_0x1c4a07=this[_0xebbdd2(0xff)][_0xebbdd2(0xf8)][_0x35373d][_0xebbdd2(0x1bc)],_0x4a1755=_0x130f5d['find'](_0x179e27=>_0x179e27['id']===_0x1c4a07)[_0xebbdd2(0x13d)],_0x4bafa8=_0xd71ac5[_0xebbdd2(0x1bb)][_0xebbdd2(0x120)](_0x1d69dc=>_0x1d69dc['id']===_0x4a1755);if(_0x4a1755&&_tests[_0x2f937c]&&_0x353ba2[_0xebbdd2(0x162)](_tests[_0x2f937c][_0x353ba2[_0xebbdd2(0x110)]],_0x1c4a07)){_tests[_0x2f937c][_0x353ba2[_0xebbdd2(0x110)]]=_0x1c4a07;const _0x567186={};_0x567186[_0xebbdd2(0x1bb)]=[];const _0x414c85=_tests[_0x2f937c]||_0x567186;_0x414c85&&!_0x414c85[_0xebbdd2(0x1bb)]&&(_0x414c85[_0xebbdd2(0x1bb)]=[]),_0x414c85[_0xebbdd2(0x1bb)][_0xebbdd2(0xf7)]({'id':_0x4bafa8['id'],'text':_0x4bafa8[_0xebbdd2(0xfe)],'started_at':new Date()['toISOString']()}),_tests[_0x2f937c]=_0x414c85;}if(BrowserstackCLI[_0xebbdd2(0x130)]()['isCliEnabled']()&&await this[_0xebbdd2(0x12c)]()){const _0xcce3c8=await cucumberUtils[_0xebbdd2(0x1ac)](this['report'],_0x35373d,_0x353ba2[_0xebbdd2(0x16d)],_0x130f5d,_0x1c4a07,_tests[_0x2f937c]);_0xcce3c8&&await BrowserstackCLI[_0xebbdd2(0x130)]()[_0xebbdd2(0x12f)]()[_0xebbdd2(0x104)](TestFrameworkState[_0xcce3c8[_0xebbdd2(0x194)]],HookState[_0xebbdd2(0x105)],{'hookData':_0xcce3c8,'testUUID':_0x49674d[_0xebbdd2(0x15c)]});return;}await testObservabilityReporter['sendHook'](this[_0xebbdd2(0xff)],_0x35373d,_0x353ba2['CNScw'],_0x130f5d,_0x1c4a07,_tests[_0x2f937c]);}catch(_0x3d1c8d){logger[_0xebbdd2(0x172)]('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0xebbdd2(0x11a)](_0x3d1c8d));}}async['onTestStepFinished'](_0x28ce96,_0x485b99){const _0xcf35c7=a6_0x179b9b,_0x4c1aa5={'dRtly':function(_0x5879ed,_0x488e29){return _0x5879ed===_0x488e29;},'oxCby':'1|0|4|3|2','gJVjS':function(_0x5322f8,_0x13c7fd){return _0x5322f8(_0x13c7fd);},'okPxW':_0xcf35c7(0x10b),'qIEOa':function(_0x12974c,_0x6d952f){return _0x12974c===_0x6d952f;},'uolIf':_0xcf35c7(0x10f),'BdWHd':function(_0xede082,_0x3a89ef){return _0xede082===_0x3a89ef;},'fuKve':function(_0x1a2e9d,_0x16fff5){return _0x1a2e9d===_0x16fff5;},'yORPs':'UnhandledError','aKlGA':_0xcf35c7(0x1bc),'vsiOp':'HookRunStarted','wZYvT':_0xcf35c7(0x1ae)};this[_0xcf35c7(0xff)][_0xcf35c7(0x199)]=this[_0xcf35c7(0xff)]['testStepFinished']||{},this[_0xcf35c7(0xff)][_0xcf35c7(0x199)][_0x28ce96['testCaseStartedId']]=_0x28ce96;if(_0x4c1aa5[_0xcf35c7(0xf0)](shouldProcessEventForTesthub,_0x4c1aa5[_0xcf35c7(0x102)]))try{const _0x54d08b=_0x28ce96[_0xcf35c7(0x15c)],_0x27073c=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0xec)][_0x54d08b][_0xcf35c7(0x1be)],_0x2391b8=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0x1b9)][_0x27073c],_0x4ef86b=_0x2391b8['pickleId'],_0x2a38e4=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0x13a)][_0x4ef86b],_0xa0c9c5=_0x28ce96['testStepId'],_0x38b8f1=_0x2391b8[_0xcf35c7(0x17f)],_0x370662=this['eventDataCollector'][_0xcf35c7(0x19c)](_0x54d08b),_0x17b5a1=_0x38b8f1[_0xcf35c7(0x120)](_0x292571=>_0x292571['id']===_0xa0c9c5)[_0xcf35c7(0x13d)];let _0x3db075,_0x2c60c6;_0x28ce96[_0xcf35c7(0x119)]&&_0x4c1aa5[_0xcf35c7(0x10e)](_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x121)][_0xcf35c7(0x151)]()['toLowerCase'](),_0x4c1aa5[_0xcf35c7(0x124)])&&(_0x3db075=_0x4c1aa5[_0xcf35c7(0x152)](_0x28ce96['testStepResult'][_0xcf35c7(0xf1)],undefined)?_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x17e)]:_0x28ce96['testStepResult']['exception'][_0xcf35c7(0x17e)],_0x2c60c6=_0x4c1aa5[_0xcf35c7(0x134)](_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0xf1)],undefined)?_0x4c1aa5[_0xcf35c7(0x1a8)]:_0x28ce96[_0xcf35c7(0x119)]['message']);if(_0x17b5a1&&_tests[_0x27073c][_0x4c1aa5['aKlGA']]){const _0x1d8406=_0x2a38e4[_0xcf35c7(0x1bb)][_0xcf35c7(0x120)](_0x3a75f8=>_0x3a75f8['id']===_0x17b5a1),_0x2a1ba1={};_0x2a1ba1[_0xcf35c7(0x1bb)]=[];const _0x381824=_tests[_0x27073c]||_0x2a1ba1;!_0x381824['steps']?_0x381824[_0xcf35c7(0x1bb)]=[{'id':_0x1d8406['id'],'text':_0x1d8406['text'],'finished_at':new Date()[_0xcf35c7(0x11e)](),'result':_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x121)],'duration':_0x28ce96['testStepResult']['duration'][_0xcf35c7(0x15b)],'failure':_0x3db075,'failureType':_0x2c60c6}]:_0x381824[_0xcf35c7(0x1bb)][_0xcf35c7(0x12a)](_0x37a470=>{const _0x3dab95=_0xcf35c7;if(_0x4c1aa5[_0x3dab95(0x145)](_0x37a470['id'],_0x1d8406['id'])){const _0x1d6a3b=_0x4c1aa5[_0x3dab95(0x138)]['split']('|');let _0x35579a=0x0;while(!![]){switch(_0x1d6a3b[_0x35579a++]){case'0':_0x37a470['result']=_0x28ce96[_0x3dab95(0x119)][_0x3dab95(0x121)];continue;case'1':_0x37a470[_0x3dab95(0x126)]=new Date()[_0x3dab95(0x11e)]();continue;case'2':_0x37a470[_0x3dab95(0x11c)]=_0x2c60c6;continue;case'3':_0x37a470[_0x3dab95(0x183)]=_0x3db075;continue;case'4':_0x37a470[_0x3dab95(0x153)]=_0x28ce96[_0x3dab95(0x119)][_0x3dab95(0x153)][_0x3dab95(0x15b)];continue;}break;}}}),_tests[_0x27073c]=_0x381824;}delete _tests[_0x27073c][_0x4c1aa5[_0xcf35c7(0x133)]];if(BrowserstackCLI[_0xcf35c7(0x130)]()[_0xcf35c7(0x17a)]()&&await this['isCLIReady']()){const _0x881a2b=await cucumberUtils['createHookData'](this[_0xcf35c7(0xff)],_0x54d08b,_0x4c1aa5[_0xcf35c7(0x1b6)],_0x38b8f1,_0xa0c9c5,_tests[_0x27073c]);if(_0x881a2b){await BrowserstackCLI[_0xcf35c7(0x130)]()[_0xcf35c7(0x12f)]()['trackEvent'](TestFrameworkState[_0x881a2b[_0xcf35c7(0x194)]],HookState[_0xcf35c7(0x17c)],{'hookData':_0x881a2b,'testUUID':_0x28ce96[_0xcf35c7(0x15c)]});const _0x87524e={};_0x87524e['testUUID']=_0x28ce96[_0xcf35c7(0x15c)],_0x87524e[_0xcf35c7(0x107)]=_0x4c1aa5['wZYvT'],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0xcf35c7(0x104)](TestFrameworkState[_0xcf35c7(0x143)],HookState['POST'],_0x87524e);}return;}await testObservabilityReporter['sendHook'](this[_0xcf35c7(0xff)],_0x54d08b,_0x4c1aa5[_0xcf35c7(0x102)],_0x38b8f1,_0xa0c9c5,_tests[_0x27073c]);}catch(_0x297587){logger[_0xcf35c7(0x172)](_0xcf35c7(0x1af)+util[_0xcf35c7(0x11a)](_0x297587));}}[a6_0x179b9b(0x1b7)](_0x431964){const _0x5b4821=a6_0x179b9b,_0x279a64={};return _0x431964[_0x5b4821(0x166)][_0x5b4821(0x160)]['map'](this[_0x5b4821(0x111)])[_0x5b4821(0x1ad)]()[_0x5b4821(0x12a)](_0x13b959=>_0x13b959[_0x5b4821(0x1bb)][_0x5b4821(0x12a)](_0x5cba6d=>_0x279a64[_0x5cba6d['id']]=_0x5cba6d)),_0x279a64;}[a6_0x179b9b(0x111)](_0x252762){const _0x2d848c=a6_0x179b9b,_0x566dca={'ohoKX':function(_0xc591a8,_0x857a3f){return _0xc591a8(_0x857a3f);},'xWNWs':function(_0x320321,_0x467a23){return _0x320321(_0x467a23);}};if(!_0x566dca[_0x2d848c(0x192)](isUndefined,_0x252762['background']))return[_0x252762[_0x2d848c(0x148)]];else{if(!_0x566dca['xWNWs'](isUndefined,_0x252762['rule']))return _0x252762[_0x2d848c(0x189)][_0x2d848c(0x160)][_0x2d848c(0x13e)](_0x428eac=>!isUndefined(_0x428eac['background'])?_0x428eac[_0x2d848c(0x148)]:_0x428eac[_0x2d848c(0x118)]);};return[_0x252762['scenario']];}['getGherkinDocument'](_0x3d4311,_0x317cfc){const _0x5c6157=a6_0x179b9b;return Object['values'](_0x3d4311[_0x5c6157(0xf4)][_0x5c6157(0x185)])[_0x5c6157(0x120)](_0x452b7d=>_0x452b7d['uri']===_0x317cfc['uri']);}async[a6_0x179b9b(0x19e)](){const _0x16386d=a6_0x179b9b;if(this[_0x16386d(0x19b)])return this[_0x16386d(0x19b)];return this[_0x16386d(0x19b)]=this[_0x16386d(0x17d)](),this[_0x16386d(0x19b)];}async[a6_0x179b9b(0x17d)](){const _0x1bacb0=a6_0x179b9b,_0x5315da={'iEbse':_0x1bacb0(0x11d),'BhOFl':function(_0x5726af,_0xfea852){return _0x5726af(_0xfea852);},'MKzsY':_0x1bacb0(0x113),'yVBLY':function(_0x1d2075,_0x1c2505){return _0x1d2075(_0x1c2505);},'nYnAB':_0x1bacb0(0x1a5)};try{const _0x553fd0=BrowserstackCLI[_0x1bacb0(0x130)]();if(_0x553fd0[_0x1bacb0(0x141)]())return logger[_0x1bacb0(0x172)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x553fd0['binSessionId']),!![];const _0x4df165=process[_0x1bacb0(0x114)][_0x1bacb0(0x174)];if(!_0x4df165)return logger[_0x1bacb0(0x172)](_0x5315da[_0x1bacb0(0xf2)]),![];const _0x52ac47=_0x5315da[_0x1bacb0(0x14f)](require,_0x5315da[_0x1bacb0(0x197)]),{FRAMEWORKS:_0x294140}=_0x5315da['yVBLY'](require,_0x5315da[_0x1bacb0(0x15d)]);return _0x52ac47[_0x1bacb0(0x131)](_0x294140[_0x1bacb0(0x16f)],_0x294140[_0x1bacb0(0x1aa)]),logger[_0x1bacb0(0x172)]('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x4df165),await _0x553fd0[_0x1bacb0(0x115)](),logger['debug']('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x553fd0[_0x1bacb0(0x141)]()+',\x20binSessionId:\x20'+_0x553fd0['binSessionId']),_0x553fd0['isRunning']();}catch(_0x4cd347){return logger[_0x1bacb0(0x172)](_0x1bacb0(0xee)+util[_0x1bacb0(0x11a)](_0x4cd347)),![];}}async[a6_0x179b9b(0x12c)](){const _0x244174=a6_0x179b9b;try{return await this[_0x244174(0x19e)](),BrowserstackCLI[_0x244174(0x130)]()['isRunning']();}catch(_0x4d77b1){return logger['debug'](_0x244174(0x10c)+util[_0x244174(0x11a)](_0x4d77b1)),![];}}}module[a6_0x179b9b(0x170)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x179b9b(0x169),a6_0x179b9b(0x1b1),'onTestStepStarted',a6_0x179b9b(0x164),a6_0x179b9b(0x100),'onTestRunFinished',a6_0x179b9b(0x111),'getGherkinDocument',a6_0x179b9b(0x1b7)]);
|
|
1
|
+
const a6_0x30a1f0=a6_0x52a7;(function(_0x4702c5,_0x2bd144){const _0x1031a6=a6_0x52a7,_0x40333e=_0x4702c5();while(!![]){try{const _0x1a3e7e=parseInt(_0x1031a6(0x15c))/0x1+parseInt(_0x1031a6(0x18e))/0x2+-parseInt(_0x1031a6(0x20e))/0x3*(parseInt(_0x1031a6(0x209))/0x4)+parseInt(_0x1031a6(0x1ee))/0x5+parseInt(_0x1031a6(0x181))/0x6*(parseInt(_0x1031a6(0x214))/0x7)+parseInt(_0x1031a6(0x1b9))/0x8+-parseInt(_0x1031a6(0x1f3))/0x9*(parseInt(_0x1031a6(0x15e))/0xa);if(_0x1a3e7e===_0x2bd144)break;else _0x40333e['push'](_0x40333e['shift']());}catch(_0x3be4e6){_0x40333e['push'](_0x40333e['shift']());}}}(a6_0x312b,0x69b76));function a6_0x52a7(_0x3d8b33,_0x2d03e3){const _0x312b64=a6_0x312b();return a6_0x52a7=function(_0x52a7c1,_0x213b36){_0x52a7c1=_0x52a7c1-0x141;let _0xa3abc=_0x312b64[_0x52a7c1];return _0xa3abc;},a6_0x52a7(_0x3d8b33,_0x2d03e3);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x30a1f0(0x1b2)),util=require(a6_0x30a1f0(0x19c)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x30a1f0(0x1ac)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require(a6_0x30a1f0(0x207)),{o11yClassErrorHandler}=require(a6_0x30a1f0(0x188)),{shouldProcessEventForTesthub}=require(a6_0x30a1f0(0x206)),BrowserstackCLI=require(a6_0x30a1f0(0x173)),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require(a6_0x30a1f0(0x1f1)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require(a6_0x30a1f0(0x17f)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x30a1f0(0x1d4))[a6_0x30a1f0(0x1c5)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x1041d7){const _0x28db23=a6_0x30a1f0,_0x2d448b={};_0x2d448b[_0x28db23(0x1c4)]=_0x28db23(0x1f2);const _0x557f51=_0x2d448b;super(_0x1041d7),this['report']={},_0x1041d7[_0x28db23(0x141)]['on'](_0x557f51[_0x28db23(0x1c4)],async _0xb2f96e=>{const _0x18e492=_0x28db23;switch(!![]){case!!_0xb2f96e['testRunStarted']:this[_0x18e492(0x1d6)](_0xb2f96e[_0x18e492(0x1a9)]);break;case!!_0xb2f96e[_0x18e492(0x19e)]:this[_0x18e492(0x1fc)](_0xb2f96e[_0x18e492(0x19e)]);break;case!!_0xb2f96e['testCaseStarted']:this[_0x18e492(0x1db)](_0xb2f96e['testCaseStarted'],_0x1041d7,_0xb2f96e);break;case!!_0xb2f96e[_0x18e492(0x148)]:this[_0x18e492(0x175)](_0xb2f96e[_0x18e492(0x148)],_0x1041d7,_0xb2f96e);break;case!!_0xb2f96e[_0x18e492(0x1e5)]:this['onTestStepStarted'](_0xb2f96e['testStepStarted'],_0x1041d7);break;case!!_0xb2f96e['testStepFinished']:this[_0x18e492(0x1e4)](_0xb2f96e[_0x18e492(0x1e9)],_0x1041d7);break;case!!_0xb2f96e[_0x18e492(0x1f8)]:this['onHook'](_0xb2f96e[_0x18e492(0x1f8)]);break;case!!_0xb2f96e[_0x18e492(0x1ed)]:this[_0x18e492(0x1cc)](_0xb2f96e['testCase']);break;case!!_0xb2f96e[_0x18e492(0x208)]:this[_0x18e492(0x14c)](_0xb2f96e[_0x18e492(0x208)]);break;case!!_0xb2f96e[_0x18e492(0x1e8)]:this[_0x18e492(0x174)](_0xb2f96e[_0x18e492(0x1e8)]);break;}});}[a6_0x30a1f0(0x16f)](_0x21b1eb){const _0x40aeb0=a6_0x30a1f0;this[_0x40aeb0(0x1d9)][_0x40aeb0(0x1d3)]=Object[_0x40aeb0(0x14f)]([],this[_0x40aeb0(0x1d9)][_0x40aeb0(0x1d3)]||[]),this[_0x40aeb0(0x1d9)][_0x40aeb0(0x1d3)][_0x40aeb0(0x1be)](_0x21b1eb);}['onPickle'](_0x5b098a){const _0x235916=a6_0x30a1f0;this[_0x235916(0x1d9)][_0x235916(0x208)]=Object[_0x235916(0x14f)]([],this[_0x235916(0x1d9)][_0x235916(0x208)]||[],[_0x5b098a]),this[_0x235916(0x1d9)][_0x235916(0x208)][_0x235916(0x1be)](_0x5b098a);}['onGherkinDocument'](_0x1ed48d){const _0x54f152=a6_0x30a1f0;this['report']['gherkinDocument']=Object['assign']([],this[_0x54f152(0x1d9)]['gherkinDocument']||[],[_0x1ed48d]),this[_0x54f152(0x1d9)][_0x54f152(0x1e8)][_0x54f152(0x1be)](_0x1ed48d);}[a6_0x30a1f0(0x196)](_0x3637ba){const _0x593175=a6_0x30a1f0;this[_0x593175(0x1d9)][_0x593175(0x18a)]=_0x3637ba;}[a6_0x30a1f0(0x16a)](_0x397b0c){const _0x3c99b5=a6_0x30a1f0;this[_0x3c99b5(0x1d9)][_0x3c99b5(0x157)]=Object[_0x3c99b5(0x14f)]([],this[_0x3c99b5(0x1d9)]['stepDefinition']||[],[_0x397b0c]),this[_0x3c99b5(0x1d9)][_0x3c99b5(0x157)]['push'](_0x397b0c);}['onTestCase'](_0x270589){const _0x12db0b=a6_0x30a1f0;this[_0x12db0b(0x1d9)][_0x12db0b(0x1c2)]=Object[_0x12db0b(0x14f)]([],this[_0x12db0b(0x1d9)][_0x12db0b(0x1c2)]||[],[_0x270589]),this[_0x12db0b(0x1d9)][_0x12db0b(0x1c2)][_0x12db0b(0x1be)](_0x270589);}[a6_0x30a1f0(0x204)](_0x1fbed4){const _0x3b7db8=a6_0x30a1f0,_0x3c4595={'DncBT':function(_0xbd47bb,_0x8a33d9){return _0xbd47bb!==_0x8a33d9;},'ItJqV':_0x3b7db8(0x18b),'xBbFv':function(_0x490e72,_0x2e1981){return _0x490e72+_0x2e1981;},'OByXt':function(_0x14970b,_0x345cf9){return _0x14970b+_0x345cf9;},'bjeYE':function(_0xacce8f,_0x21634c){return _0xacce8f+_0x21634c;},'tjkyf':'\x20\x20\x20\x20','LbUew':_0x3b7db8(0x14a),'uWkvQ':function(_0x3edafa,_0x2a3c83){return _0x3edafa===_0x2a3c83;},'wYbWI':'FAILED','UzFXi':function(_0x380739,_0x22b238,_0x1960df){return _0x380739(_0x22b238,_0x1960df);},'pbvWk':_0x3b7db8(0x198),'VJMIc':_0x3b7db8(0x17b),'GlirG':function(_0x5c43a0,_0x456df0){return _0x5c43a0+_0x456df0;},'QZEuP':function(_0x7d18f,_0x43389d){return _0x7d18f+_0x43389d;},'rMaVC':function(_0x176cb1,_0x9cdece){return _0x176cb1+_0x9cdece;},'lLIPv':function(_0x443a0e,_0x52ac46){return _0x443a0e!==_0x52ac46;},'DYgjp':function(_0x338618,_0x1eda57){return _0x338618+_0x1eda57;},'jUPGY':function(_0x156fae,_0x4e82e1){return _0x156fae+_0x4e82e1;},'DrsNd':function(_0x31e1be,_0x3b36c4){return _0x31e1be+_0x3b36c4;},'WXLzU':function(_0x5d91ae,_0x344f6d){return _0x5d91ae+_0x344f6d;}};_0x3c4595[_0x3b7db8(0x1cd)](global[_0x3b7db8(0x143)],undefined)&&this[_0x3b7db8(0x176)](_0x3c4595[_0x3b7db8(0x1b6)](_0x3c4595[_0x3b7db8(0x184)]('\x0a',global[_0x3b7db8(0x143)]),'\x0a'));const _0x3feceb=this[_0x3b7db8(0x1a8)][_0x3b7db8(0x1c8)](_0x1fbed4[_0x3b7db8(0x1ce)]);this['log'](_0x3c4595['OByXt'](_0x3c4595[_0x3b7db8(0x1de)](_0x3c4595[_0x3b7db8(0x15b)](_0x3c4595[_0x3b7db8(0x1d1)]('\x20\x20',_0x3feceb[_0x3b7db8(0x1e8)]['feature'][_0x3b7db8(0x1ca)]),_0x3c4595[_0x3b7db8(0x1ae)]),_0x3feceb[_0x3b7db8(0x208)][_0x3b7db8(0x1ca)]),'\x0a'));const _0xfd934d={};_0xfd934d['cwd']=this[_0x3b7db8(0x195)],_0xfd934d[_0x3b7db8(0x1ea)]=this[_0x3b7db8(0x1ea)],_0xfd934d['supportCodeLibrary']=this[_0x3b7db8(0x1d7)],_0xfd934d[_0x3b7db8(0x20a)]=_0x3feceb;const _0x3a46a6=formatterHelpers['parseTestCaseAttempt'](_0xfd934d);let _0x41b499=![];_0x3a46a6['testSteps'][_0x3b7db8(0x191)](_0x3798a2=>{const _0x3be655=_0x3b7db8;if(_0x3c4595['DncBT'](_0x3798a2[_0x3be655(0x1ca)],_0x3c4595[_0x3be655(0x1dd)])&&!this[_0x3be655(0x1c3)](_0x3798a2)){totalTests+=0x1,this[_0x3be655(0x176)](_0x3c4595[_0x3be655(0x172)](_0x3c4595['OByXt'](_0x3c4595[_0x3be655(0x178)](_0x3c4595[_0x3be655(0x1e1)](_0x3c4595['OByXt'](_0x3c4595[_0x3be655(0x1d0)],_0x3798a2[_0x3be655(0x1a4)]),_0x3798a2[_0x3be655(0x1af)]||''),_0x3c4595[_0x3be655(0x1ae)]),Status[_0x3798a2['result'][_0x3be655(0x210)]]),'\x0a')),this[_0x3be655(0x167)](Status[_0x3798a2[_0x3be655(0x198)]['status']]);if(_0x3c4595[_0x3be655(0x1e0)](Status[_0x3798a2['result'][_0x3be655(0x210)]],_0x3c4595['wYbWI'])){_0x41b499=!![];const _0xf3c7a5=_0x3c4595[_0x3be655(0x190)](nestedKeyValue,_0x3798a2,[_0x3c4595[_0x3be655(0x168)],_0x3c4595[_0x3be655(0x213)]]);_0xf3c7a5&&(testsErrorMessage[_0x3c4595[_0x3be655(0x1ab)](_0x3c4595[_0x3be655(0x1b6)](_0x3feceb[_0x3be655(0x1e8)][_0x3be655(0x1bf)]['name'],_0x3c4595[_0x3be655(0x1ae)]),_0x3feceb[_0x3be655(0x208)][_0x3be655(0x1ca)])]=_0xf3c7a5,this[_0x3be655(0x176)](_0x3c4595[_0x3be655(0x1b5)](_0xf3c7a5,'\x0a')));}}}),_0x41b499&&(testSuitesFailed+=0x1),this[_0x3b7db8(0x176)]('\x0a');}[a6_0x30a1f0(0x185)](_0x3bab85){}[a6_0x30a1f0(0x1c3)](_0x52a3ea){const _0x1f7c11=a6_0x30a1f0,_0x37a1ab={};_0x37a1ab[_0x1f7c11(0x1b1)]=function(_0x493a07,_0x48f86a){return _0x493a07!==_0x48f86a;},_0x37a1ab[_0x1f7c11(0x1bb)]=_0x1f7c11(0x1b7);const _0xdd09cd=_0x37a1ab;if(_0xdd09cd[_0x1f7c11(0x1b1)](_0x52a3ea[_0x1f7c11(0x19d)],undefined))return![];if(_0x52a3ea[_0x1f7c11(0x152)]&&_0x52a3ea[_0x1f7c11(0x152)][_0x1f7c11(0x154)]['includes'](_0xdd09cd[_0x1f7c11(0x1bb)]))return!![];return![];}[a6_0x30a1f0(0x167)](_0x44ae0e){const _0x595be4=a6_0x30a1f0,_0x4a4274={};_0x4a4274['gDUZk']=_0x595be4(0x15f),_0x4a4274[_0x595be4(0x20d)]='PASSED',_0x4a4274[_0x595be4(0x20c)]='SKIPPED',_0x4a4274[_0x595be4(0x149)]='PENDING',_0x4a4274[_0x595be4(0x18f)]='UNDEFINED',_0x4a4274['BPbpL']='UNKNOWN',_0x4a4274['hNqHT']=_0x595be4(0x1e2);const _0x217f18=_0x4a4274;switch(_0x44ae0e){case _0x217f18['gDUZk']:testsFailed+=0x1;break;case _0x217f18['YKbyN']:testsPassed+=0x1;break;case _0x217f18[_0x595be4(0x20c)]:testsSkipped+=0x1;break;case _0x217f18[_0x595be4(0x149)]:testsPending+=0x1;break;case _0x217f18[_0x595be4(0x18f)]:testsUndefined+=0x1;break;case _0x217f18[_0x595be4(0x193)]:testsUnknown+=0x1;break;case _0x217f18[_0x595be4(0x1d5)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x30a1f0(0x1d6)](_0x335c8e){const _0x24357b=a6_0x30a1f0,_0x5724cd={'XSZue':function(_0x20da40,_0x33b0d2){return _0x20da40!==_0x33b0d2;},'TJMrh':function(_0x429b2e,_0x3e5590){return _0x429b2e!==_0x3e5590;},'fTuMm':function(_0x19d79a){return _0x19d79a();},'oFnEQ':function(_0x1c8626,_0x3c668d){return _0x1c8626(_0x3c668d);},'QAvZE':function(_0x5e85f1,_0x86fc92){return _0x5e85f1+_0x86fc92;},'WgdzV':function(_0x3f7bc7){return _0x3f7bc7();},'nUCaD':_0x24357b(0x1f9)};let _0x5874e8;if(_0x5724cd['XSZue'](process[_0x24357b(0x14d)][_0x24357b(0x20f)],undefined)){const _0x4142d1=JSON[_0x24357b(0x202)](process[_0x24357b(0x14d)][_0x24357b(0x20f)]);_0x5874e8=_0x4142d1[_0x24357b(0x17c)];}_0x5724cd[_0x24357b(0x200)](_0x5874e8,undefined)&&_0x5724cd[_0x24357b(0x17d)](isBrowserstackInfra)&&(global[_0x24357b(0x143)]=_0x5724cd[_0x24357b(0x183)](getPlatformName,_0x5874e8),this['log'](_0x5724cd[_0x24357b(0x1fd)](_0x24357b(0x1a5)+global[_0x24357b(0x143)],'\x0a'))),_0x5724cd[_0x24357b(0x180)](shouldProcessEventForTesthub)&&(TestDetails[_0x24357b(0x1b0)](),this[_0x24357b(0x1d9)]['testRunStarted']=_0x335c8e,BrowserstackCLI[_0x24357b(0x1fe)]()[_0x24357b(0x1c7)]()&&await this['isCLIReady']()&&(TestInfo[_0x24357b(0x1b0)](_0x5724cd[_0x24357b(0x1f4)]),await BrowserstackCLI[_0x24357b(0x1fe)]()[_0x24357b(0x1ef)]()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState['PRE'],{})));}[a6_0x30a1f0(0x1fc)](_0x515a7c){const _0x675a60=a6_0x30a1f0;this['report']['testRunFinished']=_0x515a7c,this[_0x675a60(0x185)](_0x515a7c);}async[a6_0x30a1f0(0x1db)](_0x3c98f9,_0xbc196e,_0x2f8156){const _0x4bf3ad=a6_0x30a1f0,_0xb5f5ab={'seApn':function(_0x586333,_0x2fe3aa){return _0x586333(_0x2fe3aa);},'XQVcl':'TestRunStarted','oefTE':function(_0x561184,_0x152fc6){return _0x561184&&_0x152fc6;}};testSuites+=0x1;if(_0xb5f5ab[_0x4bf3ad(0x182)](shouldProcessEventForTesthub,_0xb5f5ab[_0x4bf3ad(0x1a7)]))try{this['report']['testCaseStarted']=this[_0x4bf3ad(0x1d9)][_0x4bf3ad(0x151)]||{},this[_0x4bf3ad(0x1d9)][_0x4bf3ad(0x151)][_0x3c98f9['id']]=_0x3c98f9;let _0x4f7fe5=null;BrowserstackCLI[_0x4bf3ad(0x1fe)]()[_0x4bf3ad(0x1c7)]()&&await this[_0x4bf3ad(0x1da)]()?_0x4f7fe5=TestInfo[_0x4bf3ad(0x145)](_0x3c98f9['id']):_0x4f7fe5=TestDetails[_0x4bf3ad(0x145)](_0x3c98f9['id']);_testCasesData[_0x3c98f9['id']]=Object[_0x4bf3ad(0x14f)]({},_0x2f8156);const _0x3fdc3b=this[_0x4bf3ad(0x1d9)],_0x35c143=_0x3c98f9[_0x4bf3ad(0x189)],_0x219de5=_0x3fdc3b['testCases'][_0x4bf3ad(0x1b3)](_0x55776d=>_0x55776d['id']===_0x35c143)[_0x4bf3ad(0x187)],_0x6f5950=_0x3fdc3b[_0x4bf3ad(0x208)]['find'](_0x58fa43=>_0x58fa43['id']===_0x219de5),_0x4315d6=_0x3fdc3b[_0x4bf3ad(0x1e8)][_0x4bf3ad(0x1b3)](_0x3fe89a=>_0x3fe89a['uri']===_0x6f5950[_0x4bf3ad(0x154)]),_0x24d3ea=_0x4315d6[_0x4bf3ad(0x1bf)],_0x33863a={'uuid':_0x4f7fe5,'startedAt':new Date()[_0x4bf3ad(0x1fb)]()};if(_0x6f5950){const _0x355cb6={};_0x355cb6[_0x4bf3ad(0x1ca)]=_0x6f5950[_0x4bf3ad(0x1ca)],_0x33863a[_0x4bf3ad(0x1eb)]=_0x355cb6;}if(_0xb5f5ab[_0x4bf3ad(0x1d2)](_0x4315d6,_0x24d3ea)){const _0x3de3f6={};_0x3de3f6['path']=_0x4315d6['uri'],_0x3de3f6[_0x4bf3ad(0x1ca)]=_0x24d3ea[_0x4bf3ad(0x1ca)],_0x3de3f6[_0x4bf3ad(0x163)]=_0x24d3ea[_0x4bf3ad(0x163)],_0x33863a[_0x4bf3ad(0x1bf)]=_0x3de3f6;}_tests[_0x35c143]=_0x33863a;if(BrowserstackCLI[_0x4bf3ad(0x1fe)]()[_0x4bf3ad(0x1c7)]()&&await this['isCLIReady']()){const _0x4dfc64=await cucumberUtils['createTestFrameworkData'](_0x33863a,_0x6f5950,_0x2f8156,_0x4315d6,_0x3c98f9['id'],_0xb5f5ab[_0x4bf3ad(0x1a7)]),_0x1fc593={};_0x1fc593[_0x4bf3ad(0x14b)]=_0x4dfc64,await BrowserstackCLI[_0x4bf3ad(0x1fe)]()[_0x4bf3ad(0x1ef)]()['trackEvent'](TestFrameworkState[_0x4bf3ad(0x1c9)],HookState['PRE'],_0x1fc593);return;}await testObservabilityReporter[_0x4bf3ad(0x1bc)](_0x2f8156,_0x4315d6,_0x6f5950,_0xb5f5ab['XQVcl'],_0x33863a);}catch(_0x55e18d){logger[_0x4bf3ad(0x1f0)]('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util[_0x4bf3ad(0x1bd)](_0x55e18d)+'\x20');}}async['onTestCaseFinished'](_0x5a702e,_0x56855a,_0x13444d){const _0xfa0705=a6_0x30a1f0,_0xb76404={'NIncq':function(_0x162f70,_0x3822c7){return _0x162f70(_0x3822c7);},'tebEh':_0xfa0705(0x1f5),'JBeVg':_0xfa0705(0x14b)};this['logTestCaseFinished'](_0x5a702e);if(_0xb76404[_0xfa0705(0x19b)](shouldProcessEventForTesthub,_0xb76404[_0xfa0705(0x1c0)]))try{this['report']['testCaseFinished']=this[_0xfa0705(0x1d9)]['testCaseFinished']||{},this['report'][_0xfa0705(0x148)][_0x5a702e[_0xfa0705(0x1ce)]]=_0x5a702e,_testCasesData[_0x13444d['id']]=Object[_0xfa0705(0x14f)]({},_0x13444d);const _0x1e67db=_0x5a702e[_0xfa0705(0x1ce)],_0x15c267=_0x56855a[_0xfa0705(0x1a8)][_0xfa0705(0x142)][_0x1e67db]['testCaseId'],_0x36dbb5=_0x56855a['eventDataCollector'][_0xfa0705(0x16b)][_0x15c267],_0x5c4a58=_0x36dbb5[_0xfa0705(0x187)],_0x326447=_0x56855a[_0xfa0705(0x1a8)][_0xfa0705(0x147)][_0x5c4a58],_0x1d0f51=this['getGherkinDocument'](_0x56855a,_0x326447),_0x2c2745=_0x1d0f51[_0xfa0705(0x1bf)],_0x3b42e3=_tests[_0x15c267];_0x3b42e3&&(delete _tests[_0x15c267],_0x3b42e3['finishedAt']=new Date()[_0xfa0705(0x1fb)]());if(BrowserstackCLI[_0xfa0705(0x1fe)]()[_0xfa0705(0x1c7)]()&&await this[_0xfa0705(0x1da)]()){const _0x5b0700=await cucumberUtils['createTestFrameworkData'](_0x3b42e3,_0x326447,_0x13444d,_0x1d0f51,_0x1e67db,_0xb76404['tebEh']),_0x40576e={};_0x40576e['test']=_0x5b0700,await BrowserstackCLI[_0xfa0705(0x1fe)]()[_0xfa0705(0x1ef)]()[_0xfa0705(0x212)](TestFrameworkState[_0xfa0705(0x1c9)],HookState[_0xfa0705(0x144)],_0x40576e);const _0x30b54d={};_0x30b54d[_0xfa0705(0x205)]=_0x5a702e[_0xfa0705(0x1ce)],_0x30b54d['type']=_0xb76404['JBeVg'],await BrowserstackCLI[_0xfa0705(0x1fe)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0xfa0705(0x155)],HookState[_0xfa0705(0x144)],_0x30b54d);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x13444d,_0x1d0f51,_0x326447,_0xb76404[_0xfa0705(0x1c0)],_0x3b42e3);}catch(_0xad9f0f){logger[_0xfa0705(0x1f0)](_0xfa0705(0x1ad)+util[_0xfa0705(0x1bd)](_0xad9f0f));}}async[a6_0x30a1f0(0x1e3)](_0x15fce3,_0x18fceb){const _0x357db9=a6_0x30a1f0,_0x1aab17={'sUrDw':function(_0x121f8f,_0x33e70e){return _0x121f8f(_0x33e70e);},'diJKS':_0x357db9(0x1a3),'xMndF':function(_0x4b182e,_0x1ec94a){return _0x4b182e!==_0x1ec94a;},'VkbFK':'testStepId'};if(_0x1aab17[_0x357db9(0x160)](shouldProcessEventForTesthub,_0x1aab17[_0x357db9(0x197)]))try{this[_0x357db9(0x1d9)][_0x357db9(0x1e5)]=this[_0x357db9(0x1d9)][_0x357db9(0x1e5)]||{},this['report'][_0x357db9(0x1e5)][_0x15fce3[_0x357db9(0x1ce)]]=_0x15fce3;const _0x595d96=_0x15fce3[_0x357db9(0x1ce)],_0x5a912c=_0x18fceb[_0x357db9(0x1a8)][_0x357db9(0x142)][_0x595d96]['testCaseId'],_0x36a358=this[_0x357db9(0x1d9)][_0x357db9(0x1c2)][_0x357db9(0x1b3)](_0x499c51=>_0x499c51['id']===_0x5a912c)['pickleId'],_0xaefd01=this[_0x357db9(0x1d9)]['pickle'][_0x357db9(0x1b3)](_0xb058d2=>_0xb058d2['id']===_0x36a358),_0x44d148=this[_0x357db9(0x1d9)][_0x357db9(0x1c2)][_0x357db9(0x1b3)](_0x32e86e=>_0x32e86e['id']===_0x5a912c)[_0x357db9(0x1a0)],_0x5c1d66=this['report']['testStepStarted'][_0x595d96][_0x357db9(0x171)],_0x1b1b06=_0x44d148[_0x357db9(0x1b3)](_0x2aa295=>_0x2aa295['id']===_0x5c1d66)[_0x357db9(0x1c6)],_0x52e401=_0xaefd01[_0x357db9(0x19f)]['find'](_0x3d1195=>_0x3d1195['id']===_0x1b1b06);if(_0x1b1b06&&_tests[_0x5a912c]&&_0x1aab17[_0x357db9(0x1ff)](_tests[_0x5a912c][_0x1aab17[_0x357db9(0x159)]],_0x5c1d66)){_tests[_0x5a912c][_0x1aab17[_0x357db9(0x159)]]=_0x5c1d66;const _0x20831d={};_0x20831d[_0x357db9(0x19f)]=[];const _0x4daf05=_tests[_0x5a912c]||_0x20831d;_0x4daf05&&!_0x4daf05['steps']&&(_0x4daf05[_0x357db9(0x19f)]=[]),_0x4daf05[_0x357db9(0x19f)]['push']({'id':_0x52e401['id'],'text':_0x52e401[_0x357db9(0x1af)],'started_at':new Date()[_0x357db9(0x1fb)]()}),_tests[_0x5a912c]=_0x4daf05;}if(BrowserstackCLI[_0x357db9(0x1fe)]()[_0x357db9(0x1c7)]()&&await this[_0x357db9(0x1da)]()){const _0x479cae=await cucumberUtils[_0x357db9(0x1f6)](this['report'],_0x595d96,_0x1aab17[_0x357db9(0x197)],_0x44d148,_0x5c1d66,_tests[_0x5a912c]);_0x479cae&&await BrowserstackCLI[_0x357db9(0x1fe)]()[_0x357db9(0x1ef)]()[_0x357db9(0x212)](TestFrameworkState[_0x479cae[_0x357db9(0x16d)]],HookState['PRE'],{'hookData':_0x479cae,'testUUID':_0x15fce3[_0x357db9(0x1ce)]});return;}await testObservabilityReporter[_0x357db9(0x1a1)](this[_0x357db9(0x1d9)],_0x595d96,_0x1aab17[_0x357db9(0x197)],_0x44d148,_0x5c1d66,_tests[_0x5a912c]);}catch(_0x5f57b4){logger[_0x357db9(0x1f0)](_0x357db9(0x203)+util[_0x357db9(0x1bd)](_0x5f57b4));}}async[a6_0x30a1f0(0x1e4)](_0xbf79eb,_0x206bd7){const _0x553d1e=a6_0x30a1f0,_0x3534b6={'BRIpw':function(_0x366a0a,_0xab0a0e){return _0x366a0a===_0xab0a0e;},'kuyag':'2|4|0|3|1','RXfIU':function(_0x56fa50,_0xccb50c){return _0x56fa50(_0xccb50c);},'UYVbZ':'HookRunFinished','fJXKP':_0x553d1e(0x16c),'ODKSr':_0x553d1e(0x153),'bpNzL':_0x553d1e(0x171),'lMpXb':_0x553d1e(0x1a3),'LsXSL':'hook'};this['report']['testStepFinished']=this['report'][_0x553d1e(0x1e9)]||{},this[_0x553d1e(0x1d9)]['testStepFinished'][_0xbf79eb[_0x553d1e(0x1ce)]]=_0xbf79eb;if(_0x3534b6[_0x553d1e(0x162)](shouldProcessEventForTesthub,_0x3534b6[_0x553d1e(0x17a)]))try{const _0x16b5dc=_0xbf79eb[_0x553d1e(0x1ce)],_0x134bcf=_0x206bd7[_0x553d1e(0x1a8)]['testCaseAttemptDataMap'][_0x16b5dc][_0x553d1e(0x189)],_0x1496d3=_0x206bd7[_0x553d1e(0x1a8)][_0x553d1e(0x16b)][_0x134bcf],_0x5bee18=_0x1496d3[_0x553d1e(0x187)],_0x18943c=_0x206bd7[_0x553d1e(0x1a8)][_0x553d1e(0x147)][_0x5bee18],_0x26f4e0=_0xbf79eb[_0x553d1e(0x171)],_0x3064ff=_0x1496d3[_0x553d1e(0x1a0)],_0x4674c1=this[_0x553d1e(0x1a8)][_0x553d1e(0x1c8)](_0x16b5dc),_0x49a461=_0x3064ff[_0x553d1e(0x1b3)](_0x1f8b3a=>_0x1f8b3a['id']===_0x26f4e0)[_0x553d1e(0x1c6)];let _0x2ae95b,_0x1662c8;_0xbf79eb[_0x553d1e(0x186)]&&_0x3534b6[_0x553d1e(0x166)](_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x210)][_0x553d1e(0x165)]()['toLowerCase'](),_0x3534b6['fJXKP'])&&(_0x2ae95b=_0x3534b6[_0x553d1e(0x166)](_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x1a2)],undefined)?_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x17b)]:_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x1a2)][_0x553d1e(0x17b)],_0x1662c8=_0x3534b6[_0x553d1e(0x166)](_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x1a2)],undefined)?_0x3534b6[_0x553d1e(0x211)]:_0xbf79eb['testStepResult'][_0x553d1e(0x17b)]);if(_0x49a461&&_tests[_0x134bcf][_0x3534b6['bpNzL']]){const _0x37633b=_0x18943c[_0x553d1e(0x19f)][_0x553d1e(0x1b3)](_0x268fcf=>_0x268fcf['id']===_0x49a461),_0x529d84={};_0x529d84[_0x553d1e(0x19f)]=[];const _0x343863=_tests[_0x134bcf]||_0x529d84;!_0x343863['steps']?_0x343863[_0x553d1e(0x19f)]=[{'id':_0x37633b['id'],'text':_0x37633b[_0x553d1e(0x1af)],'finished_at':new Date()[_0x553d1e(0x1fb)](),'result':_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x210)],'duration':_0xbf79eb[_0x553d1e(0x186)][_0x553d1e(0x1cb)][_0x553d1e(0x170)],'failure':_0x2ae95b,'failureType':_0x1662c8}]:_0x343863['steps'][_0x553d1e(0x191)](_0x76ca4=>{const _0x332d14=_0x553d1e;if(_0x3534b6[_0x332d14(0x166)](_0x76ca4['id'],_0x37633b['id'])){const _0xc3f70f=_0x3534b6[_0x332d14(0x215)][_0x332d14(0x1fa)]('|');let _0x24b356=0x0;while(!![]){switch(_0xc3f70f[_0x24b356++]){case'0':_0x76ca4[_0x332d14(0x1cb)]=_0xbf79eb['testStepResult'][_0x332d14(0x1cb)][_0x332d14(0x170)];continue;case'1':_0x76ca4[_0x332d14(0x156)]=_0x1662c8;continue;case'2':_0x76ca4['finished_at']=new Date()['toISOString']();continue;case'3':_0x76ca4[_0x332d14(0x1e7)]=_0x2ae95b;continue;case'4':_0x76ca4[_0x332d14(0x198)]=_0xbf79eb[_0x332d14(0x186)][_0x332d14(0x210)];continue;}break;}}}),_tests[_0x134bcf]=_0x343863;}delete _tests[_0x134bcf][_0x3534b6['bpNzL']];if(BrowserstackCLI[_0x553d1e(0x1fe)]()[_0x553d1e(0x1c7)]()&&await this[_0x553d1e(0x1da)]()){const _0x3e0b05=await cucumberUtils[_0x553d1e(0x1f6)](this['report'],_0x16b5dc,_0x3534b6[_0x553d1e(0x169)],_0x3064ff,_0x26f4e0,_tests[_0x134bcf]);if(_0x3e0b05){await BrowserstackCLI[_0x553d1e(0x1fe)]()[_0x553d1e(0x1ef)]()[_0x553d1e(0x212)](TestFrameworkState[_0x3e0b05[_0x553d1e(0x16d)]],HookState[_0x553d1e(0x144)],{'hookData':_0x3e0b05,'testUUID':_0xbf79eb[_0x553d1e(0x1ce)]});const _0x295a98={};_0x295a98[_0x553d1e(0x205)]=_0xbf79eb[_0x553d1e(0x1ce)],_0x295a98[_0x553d1e(0x1aa)]=_0x3534b6[_0x553d1e(0x1e6)],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x553d1e(0x212)](TestFrameworkState[_0x553d1e(0x155)],HookState[_0x553d1e(0x144)],_0x295a98);}return;}await testObservabilityReporter[_0x553d1e(0x1a1)](this[_0x553d1e(0x1d9)],_0x16b5dc,_0x3534b6[_0x553d1e(0x17a)],_0x3064ff,_0x26f4e0,_tests[_0x134bcf]);}catch(_0x29d32e){logger[_0x553d1e(0x1f0)](_0x553d1e(0x15a)+util[_0x553d1e(0x1bd)](_0x29d32e));}}['getGherkinStepMap'](_0x538061){const _0x328d0e=a6_0x30a1f0,_0x3858b6={};return _0x538061[_0x328d0e(0x1bf)][_0x328d0e(0x146)][_0x328d0e(0x1dc)](this[_0x328d0e(0x164)])[_0x328d0e(0x19a)]()[_0x328d0e(0x191)](_0x1be91a=>_0x1be91a['steps'][_0x328d0e(0x191)](_0x24075f=>_0x3858b6[_0x24075f['id']]=_0x24075f)),_0x3858b6;}[a6_0x30a1f0(0x164)](_0x2da24a){const _0x298ce3=a6_0x30a1f0,_0x2854e1={'KVfaq':function(_0x78dced,_0x35d838){return _0x78dced(_0x35d838);},'hknKk':function(_0x3cdb69,_0x120a2c){return _0x3cdb69(_0x120a2c);}};if(!_0x2854e1['KVfaq'](isUndefined,_0x2da24a[_0x298ce3(0x192)]))return[_0x2da24a[_0x298ce3(0x192)]];else{if(!_0x2854e1['hknKk'](isUndefined,_0x2da24a[_0x298ce3(0x1d8)]))return _0x2da24a[_0x298ce3(0x1d8)][_0x298ce3(0x146)][_0x298ce3(0x1dc)](_0x38ee11=>!isUndefined(_0x38ee11[_0x298ce3(0x192)])?_0x38ee11[_0x298ce3(0x192)]:_0x38ee11['scenario']);};return[_0x2da24a[_0x298ce3(0x1eb)]];}[a6_0x30a1f0(0x15d)](_0x40c8a1,_0x26eb3e){const _0x17bb80=a6_0x30a1f0;return Object[_0x17bb80(0x18c)](_0x40c8a1['eventDataCollector'][_0x17bb80(0x18d)])[_0x17bb80(0x1b3)](_0x4b3420=>_0x4b3420[_0x17bb80(0x154)]===_0x26eb3e[_0x17bb80(0x154)]);}async[a6_0x30a1f0(0x1ec)](){const _0x307371=a6_0x30a1f0;if(this[_0x307371(0x177)])return this[_0x307371(0x177)];return this[_0x307371(0x177)]=this[_0x307371(0x16e)](),this[_0x307371(0x177)];}async['_performCLIInitialization'](){const _0x300b64=a6_0x30a1f0,_0x57b31e={'ddkkC':_0x300b64(0x1b8),'UKESM':function(_0x292080,_0xe294e1){return _0x292080(_0xe294e1);},'QnynZ':_0x300b64(0x17e),'Gvjuk':function(_0x2eecf7,_0x30f2da){return _0x2eecf7(_0x30f2da);},'UIUEM':'../../utils/constants'};try{const _0x94027=BrowserstackCLI[_0x300b64(0x1fe)]();if(_0x94027[_0x300b64(0x14e)]())return logger[_0x300b64(0x1f0)](_0x300b64(0x158)+_0x94027[_0x300b64(0x1cf)]),!![];const _0x1c2f18=process[_0x300b64(0x14d)][_0x300b64(0x161)];if(!_0x1c2f18)return logger[_0x300b64(0x1f0)](_0x57b31e[_0x300b64(0x179)]),![];const _0x443426=_0x57b31e[_0x300b64(0x150)](require,_0x57b31e[_0x300b64(0x1f7)]),{FRAMEWORKS:_0x4a2fe4}=_0x57b31e['Gvjuk'](require,_0x57b31e[_0x300b64(0x1ba)]);return _0x443426['setFrameworkDetail'](_0x4a2fe4[_0x300b64(0x1a6)],_0x4a2fe4['PLAYWRIGHT']),logger[_0x300b64(0x1f0)](_0x300b64(0x1c1)+_0x1c2f18),await _0x94027[_0x300b64(0x194)](),logger[_0x300b64(0x1f0)](_0x300b64(0x201)+_0x94027['isRunning']()+_0x300b64(0x1df)+_0x94027['binSessionId']),_0x94027['isRunning']();}catch(_0x26e416){return logger[_0x300b64(0x1f0)](_0x300b64(0x199)+util[_0x300b64(0x1bd)](_0x26e416)),![];}}async[a6_0x30a1f0(0x1da)](){const _0x279149=a6_0x30a1f0;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x279149(0x1fe)]()['isRunning']();}catch(_0x1fbb2c){return logger['debug']('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util['format'](_0x1fbb2c)),![];}}}module[a6_0x30a1f0(0x1b4)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x30a1f0(0x1db),a6_0x30a1f0(0x175),'onTestStepStarted',a6_0x30a1f0(0x1e4),a6_0x30a1f0(0x1d6),'onTestRunFinished','extractStepContainers',a6_0x30a1f0(0x15d),a6_0x30a1f0(0x20b)]);function a6_0x312b(){const _0x4bda2c=['values','gherkinDocumentMap','452058iQOmQT','Remtx','UzFXi','forEach','background','BPbpL','bootstrap','cwd','onSource','diJKS','result','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','flat','NIncq','util','sourceLocation','testRunFinished','steps','testSteps','sendHook','exception','HookRunStarted','keyword','Executing\x20tests\x20for\x20','CUCUMBER','XQVcl','eventDataCollector','testRunStarted','type','GlirG','@cucumber/cucumber','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','LbUew','text','setup','tnHqJ','../../../helpers/helper','find','exports','rMaVC','QZEuP','cucumber-js/test.setup.js','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','5884584RVaiOS','UIUEM','wlZdN','sendTestRunEventForCucumber','format','push','feature','tebEh','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','testCases','isBstackHook','aPGFW','winstonLogger','pickleStepId','isCliEnabled','getTestCaseAttempt','TEST','name','duration','onTestCase','lLIPv','testCaseStartedId','binSessionId','tjkyf','WXLzU','oefTE','hooks','../../../helpers/logger','hNqHT','onTestRunStarted','supportCodeLibrary','rule','report','isCLIReady','onTestCaseStarted','map','ItJqV','jUPGY',',\x20binSessionId:\x20','uWkvQ','OByXt','AMBIGUOUS','onTestStepStarted','onTestStepFinished','testStepStarted','LsXSL','failure','gherkinDocument','testStepFinished','snippetBuilder','scenario','ensureCLIInitialized','testCase','3777100CELozl','getTestFramework','debug','../../v2/state/hookState.js','envelope','1170cpxjsh','nUCaD','TestRunFinished','createHookData','QnynZ','hook','cucumber','split','toISOString','onTestRunFinished','QAvZE','getInstance','xMndF','TJMrh','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','parse','Exception\x20in\x20onTestStepStarted\x20event:\x20','logTestCaseFinished','testUUID','../../../helpers/testhub/utils.js','../test-observability.js','pickle','551048MUIzDU','testCaseAttempt','getGherkinStepMap','AvARK','YKbyN','9RYIeFI','CONFIG','status','ODKSr','trackEvent','VJMIc','463036nyxGIA','kuyag','eventBroadcaster','testCaseAttemptDataMap','__platform','POST','getTestUUID','children','pickleMap','testCaseFinished','ziwrK','\x20-\x20','test','onPickle','env','isRunning','assign','UKESM','testCaseStarted','actionLocation','UnhandledError','uri','LOG_REPORT','failureType','stepDefinition','CLI\x20already\x20running\x20-\x20binSessionId:\x20','VkbFK','Exception\x20in\x20onTestStepFinished\x20event:\x20','DrsNd','243942DmupLp','getGherkinDocument','95920ZDngGg','FAILED','sUrDw','BROWSERSTACK_CLI_BIN_SESSION_ID','RXfIU','description','extractStepContainers','toString','BRIpw','incrementCounter','pbvWk','lMpXb','onStepDefinition','testCaseMap','failed','hook_type','_performCLIInitialization','onHook','seconds','testStepId','xBbFv','../../v2/browserstackCLI.js','onGherkinDocument','onTestCaseFinished','log','cliInitPromise','bjeYE','ddkkC','UYVbZ','message','capability','fTuMm','../../v2/cliUtils','../../../bin/v2/TestInfo.js','WgdzV','12cHLTrN','seApn','oFnEQ','DYgjp','logTestRunFinished','testStepResult','pickleId','../../../helpers/test-observability/error-handler','testCaseId','source','bstack'];a6_0x312b=function(){return _0x4bda2c;};return a6_0x312b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0xaf057=a7_0x98c1;function a7_0x35c3(){const _0x29052c=['mgsMM','stack','test-run-finished','sourceLocation','result','parse','2hIaJda','eventBroadcaster','ebIJR','__platform','test-run-started','\x20\x20\x20\x20','getTestCaseData','KXWVK','AJCmW','forEach','oUWJw','length','UNDEFINED','7898fhmnPc','LtEBw','oWreA','1330104sZLjar','MlTKq','env','getStepLineToPickledStepMap','status','line','../../../helpers/helper','nHugs','20unAQLv','GgBhm','jDszc','YfTSl','FktXF','log','testCase','3750WuiJyK','Oyvam','PENDING','TTrgd','capability','logTestCaseFinished','exception','\x20\x20\x20\x20BEFORE\x20-\x20','idUvs','CONFIG','steps','dNRNx','dmhbJ','cucumber/lib/formatter/helpers/pickle_parser.js','AMBIGUOUS','gSYHG','OKyGq','704747eHJWeB','JNiEQ','toUpperCase','pickle','wIWuN','21XAEmoR','qvDem','aXPZM','UNKNOWN','test-step-started','nyHUE','cucumber','undefined','uri','actionLocation','Executing\x20tests\x20for\x20','1437849NhqFzN','EekPY','ugIwv','test-case-finished','654224lowEHk','132612qsEMTS','text','feature','cZKKS','BeBhx','gherkinDocument','\x20\x20\x20\x20AFTER\x20-\x20','eventDataCollector','BQSeR','bwKtm','812607qdqIzN','name','gvzll','FAILED','VnAze','LgdUG','exports','aHhUK'];a7_0x35c3=function(){return _0x29052c;};return a7_0x35c3();}(function(_0x3aca7e,_0x5a2b98){const _0x558f66=a7_0x98c1,_0x15ebe2=_0x3aca7e();while(!![]){try{const _0x512580=-parseInt(_0x558f66(0x170))/0x1*(-parseInt(_0x558f66(0x140))/0x2)+-parseInt(_0x558f66(0x132))/0x3+parseInt(_0x558f66(0x127))/0x4+parseInt(_0x558f66(0x158))/0x5*(-parseInt(_0x558f66(0x128))/0x6)+parseInt(_0x558f66(0x175))/0x7*(-parseInt(_0x558f66(0x150))/0x8)+parseInt(_0x558f66(0x123))/0x9+parseInt(_0x558f66(0x15f))/0xa*(parseInt(_0x558f66(0x14d))/0xb);if(_0x512580===_0x5a2b98)break;else _0x15ebe2['push'](_0x15ebe2['shift']());}catch(_0x56f4c7){_0x15ebe2['push'](_0x15ebe2['shift']());}}}(a7_0x35c3,0x6b3d0));function a7_0x98c1(_0x58b92c,_0x3d1b2){const _0x35c3f9=a7_0x35c3();return a7_0x98c1=function(_0x98c197,_0x6613e6){_0x98c197=_0x98c197-0x11e;let _0x26db0e=_0x35c3f9[_0x98c197];return _0x26db0e;},a7_0x98c1(_0x58b92c,_0x3d1b2);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0xaf057(0x156)),{Formatter}=requireModule(a7_0xaf057(0x11e)),pickleParser=requireModule(a7_0xaf057(0x16c),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x5ed80f){const _0x1d4012=a7_0xaf057,_0x56284c={'BeBhx':function(_0x27cb5f,_0x4fd273){return _0x27cb5f!==_0x4fd273;},'gvzll':function(_0x588b53,_0x18758f){return _0x588b53!==_0x18758f;},'bwKtm':function(_0x32bbda,_0x36ba53){return _0x32bbda(_0x36ba53);},'AJCmW':_0x1d4012(0x144),'YfTSl':'test-case-started','ZYvdI':_0x1d4012(0x126),'gSYHG':_0x1d4012(0x13c),'qWmxi':_0x1d4012(0x179)};super(_0x5ed80f),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c[_0x1d4012(0x148)],()=>{const _0x58a5c3=_0x1d4012;let _0xa4e139;if(_0x56284c[_0x58a5c3(0x12c)](process[_0x58a5c3(0x152)][_0x58a5c3(0x168)],undefined)){const _0x5da202=JSON[_0x58a5c3(0x13f)](process[_0x58a5c3(0x152)][_0x58a5c3(0x168)]);_0xa4e139=_0x5da202[_0x58a5c3(0x163)];}_0x56284c[_0x58a5c3(0x134)](_0xa4e139,undefined)&&(global['__platform']=_0x56284c[_0x58a5c3(0x131)](getPlatformName,_0xa4e139),console[_0x58a5c3(0x15d)](_0x58a5c3(0x122)+global[_0x58a5c3(0x143)]));}),_0x5ed80f['eventBroadcaster']['on'](_0x56284c[_0x1d4012(0x15b)],()=>{testSuites+=0x1;}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c['ZYvdI'],_0x3b283a=>{const _0x1bf10d=_0x1d4012;this[_0x1bf10d(0x164)](_0x3b283a);}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c[_0x1d4012(0x16e)],()=>{totalTests-=0x2;}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c['qWmxi'],()=>{totalTests+=0x1;});}[a7_0xaf057(0x164)](_0x3fda1e){const _0x35e810=a7_0xaf057,_0x13c8fe={'cZKKS':_0x35e810(0x135),'dmhbJ':'PASSED','FktXF':'SKIPPED','ptqkS':_0x35e810(0x161),'TTrgd':_0x35e810(0x14c),'wIWuN':_0x35e810(0x178),'dNRNx':_0x35e810(0x16d),'oUWJw':function(_0x1b2ae4,_0x4cc6cc){return _0x1b2ae4+_0x4cc6cc;},'LgdUG':function(_0x38d5ac,_0xf37a08){return _0x38d5ac+_0xf37a08;},'JNiEQ':_0x35e810(0x145),'GgBhm':'\x20-\x20','Oyvam':function(_0x400682,_0x4bff67){return _0x400682(_0x4bff67);},'LtEBw':'cucumber-js/test_old.setup.js','mgsMM':function(_0x13e0a0,_0x206b11){return _0x13e0a0(_0x206b11);},'aXPZM':function(_0x2f21ed,_0x54b6e9){return _0x2f21ed+_0x54b6e9;},'KXWVK':_0x35e810(0x12e),'BQSeR':_0x35e810(0x166),'MlTKq':function(_0x14c12c,_0x48c7b8){return _0x14c12c===_0x48c7b8;},'idUvs':function(_0xe1d5c6,_0x26c2b1,_0x303be2){return _0xe1d5c6(_0x26c2b1,_0x303be2);},'enDxx':_0x35e810(0x13e),'aHhUK':_0x35e810(0x165),'ebIJR':_0x35e810(0x13b),'EekPY':function(_0x1b6095,_0x52f24f){return _0x1b6095!==_0x52f24f;},'qvDem':function(_0x452949,_0x3885a0){return _0x452949+_0x3885a0;},'WIqbl':_0x35e810(0x11f),'OKyGq':function(_0x4ead84,_0xdacb28){return _0x4ead84+_0xdacb28;},'nHugs':function(_0x5db409,_0x453bb4){return _0x5db409+_0x453bb4;},'vKoDU':function(_0x185558,_0x49e1be){return _0x185558+_0x49e1be;},'ugIwv':function(_0x7f0e08,_0x2a36e5){return _0x7f0e08<_0x2a36e5;},'VnAze':function(_0x439bb6,_0x5f0ab0){return _0x439bb6+_0x5f0ab0;},'oWreA':function(_0x3c57fd,_0x3af2c8){return _0x3c57fd+_0x3af2c8;},'jDszc':function(_0x5f51eb,_0x25e7ee){return _0x5f51eb===_0x25e7ee;},'nyHUE':function(_0x5d937a,_0x4363a3){return _0x5d937a+_0x4363a3;}};let _0x57a330=![];function _0x2b28f5(_0xe99478){const _0x367d12=_0x35e810;switch(_0xe99478){case _0x13c8fe[_0x367d12(0x12b)]:testsFailed+=0x1;break;case _0x13c8fe[_0x367d12(0x16b)]:testsPassed+=0x1;break;case _0x13c8fe[_0x367d12(0x15c)]:testsSkipped+=0x1;break;case _0x13c8fe['ptqkS']:testsPending+=0x1;break;case _0x13c8fe[_0x367d12(0x162)]:testsUndefined+=0x1;break;case _0x13c8fe[_0x367d12(0x174)]:testsUnknown+=0x1;break;case _0x13c8fe[_0x367d12(0x16a)]:testsAmbiguous+=0x1;break;default:break;}}_0x13c8fe[_0x35e810(0x124)](global[_0x35e810(0x143)],undefined)&&console[_0x35e810(0x15d)](_0x13c8fe['oUWJw'](_0x13c8fe[_0x35e810(0x176)]('\x0a',global[_0x35e810(0x143)]),'\x0a'));let _0x6948b9=![];if(_0x13c8fe['EekPY'](typeof this[_0x35e810(0x12f)][_0x35e810(0x146)],_0x13c8fe['WIqbl'])){var _0x300a1d=this[_0x35e810(0x12f)][_0x35e810(0x146)](_0x3fda1e[_0x35e810(0x13d)]),_0x1e7ec6=_0x300a1d[_0x35e810(0x173)],_0x52b653=_0x300a1d[_0x35e810(0x15e)];console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x16f)]('\x20\x20',_0x1e7ec6[_0x35e810(0x133)]));var _0x3ecfca=(0x0,pickleParser[_0x35e810(0x153)])(_0x1e7ec6);_0x52b653[_0x35e810(0x169)][_0x35e810(0x149)](function(_0x3034ac){const _0x2ce85b=_0x35e810;if(_0x3034ac['actionLocation']&&_0x3034ac[_0x2ce85b(0x13d)])_0x57a330=!![],console[_0x2ce85b(0x15d)](_0x13c8fe[_0x2ce85b(0x14a)](_0x13c8fe[_0x2ce85b(0x137)](_0x13c8fe[_0x2ce85b(0x14a)](_0x13c8fe[_0x2ce85b(0x171)],_0x3ecfca[_0x3034ac[_0x2ce85b(0x13d)]['line']]['text']),_0x13c8fe['GgBhm']),_0x3034ac['result'][_0x2ce85b(0x154)][_0x2ce85b(0x172)]())),_0x13c8fe['Oyvam'](_0x2b28f5,_0x3034ac['result']['status'][_0x2ce85b(0x172)]());else _0x3034ac[_0x2ce85b(0x121)]&&(!_0x3034ac[_0x2ce85b(0x121)][_0x2ce85b(0x120)]['includes'](_0x13c8fe[_0x2ce85b(0x14e)])&&(_0x13c8fe[_0x2ce85b(0x13a)](_0x2b28f5,_0x3034ac[_0x2ce85b(0x13e)][_0x2ce85b(0x154)][_0x2ce85b(0x172)]()),_0x57a330?console['log'](_0x13c8fe[_0x2ce85b(0x177)](_0x13c8fe[_0x2ce85b(0x147)],_0x3034ac[_0x2ce85b(0x13e)]['status']['toUpperCase']())):console[_0x2ce85b(0x15d)](_0x13c8fe['aXPZM'](_0x13c8fe[_0x2ce85b(0x130)],_0x3034ac[_0x2ce85b(0x13e)][_0x2ce85b(0x154)][_0x2ce85b(0x172)]()))));if(_0x13c8fe[_0x2ce85b(0x151)](_0x3034ac['result'][_0x2ce85b(0x154)][_0x2ce85b(0x172)](),_0x13c8fe[_0x2ce85b(0x12b)])){const _0x18151a=_0x13c8fe[_0x2ce85b(0x167)](nestedKeyValue,_0x3034ac,[_0x13c8fe['enDxx'],_0x13c8fe[_0x2ce85b(0x139)],_0x13c8fe[_0x2ce85b(0x142)]]);_0x18151a&&(testsErrorMessage[_0x1e7ec6[_0x2ce85b(0x133)]]=_0x18151a,console[_0x2ce85b(0x15d)](_0x13c8fe[_0x2ce85b(0x14a)](_0x18151a,'\x0a'))),_0x6948b9=!![];}});}else{const _0x10ef41=this[_0x35e810(0x12f)]['getTestCaseAttempt'](_0x3fda1e);console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x16f)](_0x13c8fe[_0x35e810(0x157)](_0x13c8fe['vKoDU']('\x20\x20',_0x10ef41[_0x35e810(0x12d)][_0x35e810(0x12a)][_0x35e810(0x133)]),_0x13c8fe[_0x35e810(0x159)]),_0x10ef41['pickle']['name']));const _0x52e499=(0x0,pickleParser[_0x35e810(0x153)])(_0x10ef41[_0x35e810(0x173)]),_0x8e4b5d=_0x10ef41[_0x35e810(0x15e)][_0x35e810(0x169)],_0x14a65a=_0x10ef41['stepResults'],_0x5369b1=_0x8e4b5d[_0x35e810(0x14b)];for(let _0x344131=0x0;_0x13c8fe[_0x35e810(0x125)](_0x344131,_0x5369b1);_0x344131++){const _0x9d348d=_0x8e4b5d[_0x344131];if(_0x9d348d[_0x35e810(0x121)]&&_0x9d348d[_0x35e810(0x13d)])_0x57a330=!![],console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x157)](_0x13c8fe[_0x35e810(0x14a)](_0x13c8fe[_0x35e810(0x136)](_0x13c8fe[_0x35e810(0x171)],_0x52e499[_0x9d348d[_0x35e810(0x13d)][_0x35e810(0x155)]][_0x35e810(0x129)]),_0x13c8fe[_0x35e810(0x159)]),_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]())),_0x13c8fe[_0x35e810(0x160)](_0x2b28f5,_0x14a65a[_0x344131][_0x35e810(0x154)]['toUpperCase']());else _0x9d348d[_0x35e810(0x121)]&&(!_0x9d348d['actionLocation'][_0x35e810(0x120)]['includes'](_0x13c8fe[_0x35e810(0x14e)])&&(_0x13c8fe[_0x35e810(0x13a)](_0x2b28f5,_0x14a65a[_0x344131]['status'][_0x35e810(0x172)]()),_0x57a330?console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x14f)](_0x13c8fe[_0x35e810(0x147)],_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]())):console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x176)](_0x13c8fe['BQSeR'],_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]()))));if(_0x13c8fe[_0x35e810(0x15a)](_0x14a65a[_0x344131]['status'][_0x35e810(0x172)](),_0x13c8fe[_0x35e810(0x12b)])){_0x6948b9=!![];const _0x4884fa=_0x13c8fe[_0x35e810(0x167)](nestedKeyValue,_0x14a65a[_0x344131],[_0x13c8fe[_0x35e810(0x139)],_0x13c8fe[_0x35e810(0x142)]]);_0x4884fa&&(testsErrorMessage[_0x13c8fe['LgdUG'](_0x13c8fe[_0x35e810(0x157)](_0x10ef41[_0x35e810(0x12d)][_0x35e810(0x12a)]['name'],_0x13c8fe[_0x35e810(0x159)]),_0x10ef41[_0x35e810(0x173)]['name'])]=_0x4884fa,console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x17a)](_0x4884fa,'\x0a')));}}}_0x6948b9&&(testSuitesFailed+=0x1),console[_0x35e810(0x15d)]('\x0a');}}module[a7_0xaf057(0x138)]=BrowserstackFormatter;
|
|
1
|
+
const a7_0x12fe77=a7_0x41f2;(function(_0xb5e068,_0x422f30){const _0x4f9eb0=a7_0x41f2,_0x28c417=_0xb5e068();while(!![]){try{const _0x38d267=parseInt(_0x4f9eb0(0xf9))/0x1+-parseInt(_0x4f9eb0(0xe0))/0x2+parseInt(_0x4f9eb0(0xe5))/0x3+-parseInt(_0x4f9eb0(0x11b))/0x4+-parseInt(_0x4f9eb0(0xd3))/0x5+-parseInt(_0x4f9eb0(0xec))/0x6+parseInt(_0x4f9eb0(0x10d))/0x7;if(_0x38d267===_0x422f30)break;else _0x28c417['push'](_0x28c417['shift']());}catch(_0x2c2f41){_0x28c417['push'](_0x28c417['shift']());}}}(a7_0x371f,0x197bc));function a7_0x371f(){const _0x337654=['YYzeU','JhguR','333048UwlksD','eventDataCollector','\x20\x20\x20\x20AFTER\x20-\x20','status','log','LVTtj','cucumber-js/test_old.setup.js','getTestCaseData','test-run-started','steps','OgDFm','__platform','UEadG','149169kQpiMB','qbEYe','name','stack','Executing\x20tests\x20for\x20','ctSBF','QFYAD','FAILED','IFWfq','env','ArkKK','hykrO','exception','AHkOr','GzxvZ','test-case-started','AMBIGUOUS','upUpF','efqVs','length','1431304Mpxbyo','NELro','getStepLineToPickledStepMap','eventBroadcaster','result','euZtU','test-case-finished','../../../helpers/helper','test-run-finished','koidp','qBKgt','UNDEFINED','UgQDw','actionLocation','582848anszuA','test-step-started','cucumber','wfdBL','logTestCaseFinished','feature','exports','pickle','497195sSffcs','uri','bnokQ','fAgSJ','capability','yndlB','CONFIG','sourceLocation','undefined','PASSED','getTestCaseAttempt','WGPlY','testCase','127956sgwrGM','includes','gherkinDocument','toUpperCase','forEach','346128BBwsjl','UNKNOWN','CeFSO','pFkvJ','line'];a7_0x371f=function(){return _0x337654;};return a7_0x371f();}function a7_0x41f2(_0x2c5441,_0x32b524){const _0x371f5b=a7_0x371f();return a7_0x41f2=function(_0x41f276,_0xa63d4e){_0x41f276=_0x41f276-0xd3;let _0xed814e=_0x371f5b[_0x41f276];return _0xed814e;},a7_0x41f2(_0x2c5441,_0x32b524);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x12fe77(0x114)),{Formatter}=requireModule(a7_0x12fe77(0x11d)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x12fe77(0x11d));class BrowserstackFormatter extends Formatter{constructor(_0x112f05){const _0x249e2d=a7_0x12fe77,_0x2ec12b={'koidp':function(_0x171296,_0x556003){return _0x171296!==_0x556003;},'wtaXU':function(_0x329042,_0x54052e){return _0x329042(_0x54052e);},'bnokQ':_0x249e2d(0xf4),'wfdBL':_0x249e2d(0x108),'UEjTD':_0x249e2d(0x113),'qBKgt':_0x249e2d(0x115),'yMmlf':_0x249e2d(0x11c)};super(_0x112f05),_0x112f05[_0x249e2d(0x110)]['on'](_0x2ec12b[_0x249e2d(0xd5)],()=>{const _0x2f2882=_0x249e2d;let _0x26e840;if(_0x2ec12b[_0x2f2882(0x116)](process[_0x2f2882(0x102)]['CONFIG'],undefined)){const _0x28071c=JSON['parse'](process['env'][_0x2f2882(0xd9)]);_0x26e840=_0x28071c[_0x2f2882(0xd7)];}_0x2ec12b[_0x2f2882(0x116)](_0x26e840,undefined)&&(global[_0x2f2882(0xf7)]=_0x2ec12b['wtaXU'](getPlatformName,_0x26e840),console[_0x2f2882(0xf0)](_0x2f2882(0xfd)+global[_0x2f2882(0xf7)]));}),_0x112f05[_0x249e2d(0x110)]['on'](_0x2ec12b[_0x249e2d(0x11e)],()=>{testSuites+=0x1;}),_0x112f05['eventBroadcaster']['on'](_0x2ec12b['UEjTD'],_0x857fa7=>{const _0x34d9cf=_0x249e2d;this[_0x34d9cf(0x11f)](_0x857fa7);}),_0x112f05['eventBroadcaster']['on'](_0x2ec12b[_0x249e2d(0x117)],()=>{totalTests-=0x2;}),_0x112f05[_0x249e2d(0x110)]['on'](_0x2ec12b['yMmlf'],()=>{totalTests+=0x1;});}[a7_0x12fe77(0x11f)](_0x587a38){const _0x2d9078=a7_0x12fe77,_0x5c6d10={'NELro':_0x2d9078(0x100),'euZtU':_0x2d9078(0xdc),'LVTtj':'SKIPPED','ZUtAT':'PENDING','OaSpD':_0x2d9078(0x118),'WGPlY':_0x2d9078(0xe6),'YYzeU':_0x2d9078(0x109),'qbEYe':function(_0x4c09c6,_0x10b9ef){return _0x4c09c6+_0x10b9ef;},'CeFSO':function(_0x55a810,_0x55c9fd){return _0x55a810+_0x55c9fd;},'upUpF':'\x20\x20\x20\x20','ctSBF':'\x20-\x20','pFkvJ':function(_0x4bc5c8,_0x4a6f4b){return _0x4bc5c8(_0x4a6f4b);},'yndlB':_0x2d9078(0xf2),'UgQDw':function(_0x4419b9,_0x24d764){return _0x4419b9+_0x24d764;},'ArkKK':_0x2d9078(0xee),'ILews':'\x20\x20\x20\x20BEFORE\x20-\x20','UjeSi':function(_0x50fc2b,_0x12792c){return _0x50fc2b===_0x12792c;},'ZPXtP':function(_0x2f989d,_0x4b7f7c,_0x94fc03){return _0x2f989d(_0x4b7f7c,_0x94fc03);},'SIkOO':'result','QFYAD':_0x2d9078(0x105),'UEadG':_0x2d9078(0xfc),'GzxvZ':function(_0x425403,_0x5468c3){return _0x425403!==_0x5468c3;},'efqVs':_0x2d9078(0xdb),'JhguR':function(_0x5da39c,_0x244b89){return _0x5da39c+_0x244b89;},'OgDFm':function(_0x4a5b2f,_0x3b6be6){return _0x4a5b2f+_0x3b6be6;},'hykrO':function(_0x1ea8cd,_0x39c1b5){return _0x1ea8cd<_0x39c1b5;},'IFWfq':function(_0x21d6b4,_0xdc2a3e){return _0x21d6b4+_0xdc2a3e;},'AHkOr':function(_0x7481ab,_0xa755bd){return _0x7481ab(_0xa755bd);},'fAgSJ':function(_0x17f9d3,_0x17b63f){return _0x17f9d3===_0x17b63f;},'DObuo':function(_0x5ad4ac,_0x119524,_0x4637a0){return _0x5ad4ac(_0x119524,_0x4637a0);}};let _0x5cc60e=![];function _0x102e85(_0x528684){const _0xe759db=_0x2d9078;switch(_0x528684){case _0x5c6d10[_0xe759db(0x10e)]:testsFailed+=0x1;break;case _0x5c6d10[_0xe759db(0x112)]:testsPassed+=0x1;break;case _0x5c6d10[_0xe759db(0xf1)]:testsSkipped+=0x1;break;case _0x5c6d10['ZUtAT']:testsPending+=0x1;break;case _0x5c6d10['OaSpD']:testsUndefined+=0x1;break;case _0x5c6d10[_0xe759db(0xde)]:testsUnknown+=0x1;break;case _0x5c6d10[_0xe759db(0xea)]:testsAmbiguous+=0x1;break;default:break;}}_0x5c6d10[_0x2d9078(0x107)](global[_0x2d9078(0xf7)],undefined)&&console[_0x2d9078(0xf0)](_0x5c6d10[_0x2d9078(0x119)](_0x5c6d10[_0x2d9078(0x119)]('\x0a',global[_0x2d9078(0xf7)]),'\x0a'));let _0x3d4937=![];if(_0x5c6d10[_0x2d9078(0x107)](typeof this[_0x2d9078(0xed)][_0x2d9078(0xf3)],_0x5c6d10[_0x2d9078(0x10b)])){var _0x15a36f=this[_0x2d9078(0xed)][_0x2d9078(0xf3)](_0x587a38[_0x2d9078(0xda)]),_0x464159=_0x15a36f[_0x2d9078(0x122)],_0x13d4f5=_0x15a36f[_0x2d9078(0xdf)];console[_0x2d9078(0xf0)](_0x5c6d10['JhguR']('\x20\x20',_0x464159[_0x2d9078(0xfb)]));var _0x4dc5d6=(0x0,pickleParser[_0x2d9078(0x10f)])(_0x464159);_0x13d4f5[_0x2d9078(0xf5)][_0x2d9078(0xe4)](function(_0x194ec6){const _0xf9ea54=_0x2d9078;if(_0x194ec6[_0xf9ea54(0x11a)]&&_0x194ec6[_0xf9ea54(0xda)])_0x5cc60e=!![],console['log'](_0x5c6d10[_0xf9ea54(0xfa)](_0x5c6d10[_0xf9ea54(0xfa)](_0x5c6d10[_0xf9ea54(0xe7)](_0x5c6d10[_0xf9ea54(0x10a)],_0x4dc5d6[_0x194ec6[_0xf9ea54(0xda)][_0xf9ea54(0xe9)]]['text']),_0x5c6d10[_0xf9ea54(0xfe)]),_0x194ec6[_0xf9ea54(0x111)][_0xf9ea54(0xef)][_0xf9ea54(0xe3)]())),_0x5c6d10['pFkvJ'](_0x102e85,_0x194ec6[_0xf9ea54(0x111)][_0xf9ea54(0xef)][_0xf9ea54(0xe3)]());else _0x194ec6['actionLocation']&&(!_0x194ec6[_0xf9ea54(0x11a)]['uri']['includes'](_0x5c6d10[_0xf9ea54(0xd8)])&&(_0x5c6d10[_0xf9ea54(0xe8)](_0x102e85,_0x194ec6['result'][_0xf9ea54(0xef)][_0xf9ea54(0xe3)]()),_0x5cc60e?console[_0xf9ea54(0xf0)](_0x5c6d10[_0xf9ea54(0x119)](_0x5c6d10['ArkKK'],_0x194ec6['result'][_0xf9ea54(0xef)][_0xf9ea54(0xe3)]())):console[_0xf9ea54(0xf0)](_0x5c6d10[_0xf9ea54(0x119)](_0x5c6d10['ILews'],_0x194ec6[_0xf9ea54(0x111)][_0xf9ea54(0xef)][_0xf9ea54(0xe3)]()))));if(_0x5c6d10['UjeSi'](_0x194ec6['result'][_0xf9ea54(0xef)][_0xf9ea54(0xe3)](),_0x5c6d10[_0xf9ea54(0x10e)])){const _0x3647ce=_0x5c6d10['ZPXtP'](nestedKeyValue,_0x194ec6,[_0x5c6d10['SIkOO'],_0x5c6d10[_0xf9ea54(0xff)],_0x5c6d10['UEadG']]);_0x3647ce&&(testsErrorMessage[_0x464159[_0xf9ea54(0xfb)]]=_0x3647ce,console[_0xf9ea54(0xf0)](_0x5c6d10[_0xf9ea54(0x119)](_0x3647ce,'\x0a'))),_0x3d4937=!![];}});}else{const _0x44f556=this[_0x2d9078(0xed)][_0x2d9078(0xdd)](_0x587a38);console[_0x2d9078(0xf0)](_0x5c6d10['CeFSO'](_0x5c6d10[_0x2d9078(0xeb)](_0x5c6d10[_0x2d9078(0xf6)]('\x20\x20',_0x44f556[_0x2d9078(0xe2)][_0x2d9078(0x120)][_0x2d9078(0xfb)]),_0x5c6d10['ctSBF']),_0x44f556['pickle']['name']));const _0x37877d=(0x0,pickleParser[_0x2d9078(0x10f)])(_0x44f556['pickle']),_0x1474aa=_0x44f556[_0x2d9078(0xdf)]['steps'],_0x2e8f8a=_0x44f556['stepResults'],_0x183a6c=_0x1474aa[_0x2d9078(0x10c)];for(let _0x3ce536=0x0;_0x5c6d10[_0x2d9078(0x104)](_0x3ce536,_0x183a6c);_0x3ce536++){const _0x2ce85f=_0x1474aa[_0x3ce536];if(_0x2ce85f[_0x2d9078(0x11a)]&&_0x2ce85f[_0x2d9078(0xda)])_0x5cc60e=!![],console[_0x2d9078(0xf0)](_0x5c6d10[_0x2d9078(0x101)](_0x5c6d10['JhguR'](_0x5c6d10['qbEYe'](_0x5c6d10[_0x2d9078(0x10a)],_0x37877d[_0x2ce85f[_0x2d9078(0xda)]['line']]['text']),_0x5c6d10[_0x2d9078(0xfe)]),_0x2e8f8a[_0x3ce536][_0x2d9078(0xef)][_0x2d9078(0xe3)]())),_0x5c6d10[_0x2d9078(0x106)](_0x102e85,_0x2e8f8a[_0x3ce536]['status'][_0x2d9078(0xe3)]());else _0x2ce85f[_0x2d9078(0x11a)]&&(!_0x2ce85f['actionLocation'][_0x2d9078(0xd4)][_0x2d9078(0xe1)](_0x5c6d10[_0x2d9078(0xd8)])&&(_0x5c6d10[_0x2d9078(0x106)](_0x102e85,_0x2e8f8a[_0x3ce536]['status'][_0x2d9078(0xe3)]()),_0x5cc60e?console[_0x2d9078(0xf0)](_0x5c6d10[_0x2d9078(0xe7)](_0x5c6d10[_0x2d9078(0x103)],_0x2e8f8a[_0x3ce536]['status'][_0x2d9078(0xe3)]())):console['log'](_0x5c6d10[_0x2d9078(0x119)](_0x5c6d10['ILews'],_0x2e8f8a[_0x3ce536]['status']['toUpperCase']()))));if(_0x5c6d10[_0x2d9078(0xd6)](_0x2e8f8a[_0x3ce536][_0x2d9078(0xef)][_0x2d9078(0xe3)](),_0x5c6d10[_0x2d9078(0x10e)])){_0x3d4937=!![];const _0x520a61=_0x5c6d10['DObuo'](nestedKeyValue,_0x2e8f8a[_0x3ce536],[_0x5c6d10['QFYAD'],_0x5c6d10[_0x2d9078(0xf8)]]);_0x520a61&&(testsErrorMessage[_0x5c6d10[_0x2d9078(0xf6)](_0x5c6d10['CeFSO'](_0x44f556[_0x2d9078(0xe2)][_0x2d9078(0x120)][_0x2d9078(0xfb)],_0x5c6d10['ctSBF']),_0x44f556[_0x2d9078(0x122)][_0x2d9078(0xfb)])]=_0x520a61,console[_0x2d9078(0xf0)](_0x5c6d10['OgDFm'](_0x520a61,'\x0a')));}}}_0x3d4937&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x12fe77(0x121)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x508a8d=a8_0x223d;(function(_0x11d171,_0x32aead){const _0x42d779=a8_0x223d,_0x38eae1=_0x11d171();while(!![]){try{const _0x3a0195=parseInt(_0x42d779(0x242))/0x1+-parseInt(_0x42d779(0x1f1))/0x2+-parseInt(_0x42d779(0x251))/0x3*(-parseInt(_0x42d779(0x244))/0x4)+-parseInt(_0x42d779(0x23d))/0x5+-parseInt(_0x42d779(0x270))/0x6*(-parseInt(_0x42d779(0x26b))/0x7)+parseInt(_0x42d779(0x204))/0x8+-parseInt(_0x42d779(0x211))/0x9*(parseInt(_0x42d779(0x271))/0xa);if(_0x3a0195===_0x32aead)break;else _0x38eae1['push'](_0x38eae1['shift']());}catch(_0x458611){_0x38eae1['push'](_0x38eae1['shift']());}}}(a8_0x1c4d,0x21f95));function a8_0x1c4d(){const _0x38ebe7=['yLGjd','dAxEB','MaQSQ','feature','examples','event_type','1298608fkFasj','cells','message','CHZSh','NjFga','nanos','sendTestRunEventForCucumber','AssertionError','finished_at','hookId','flatMap','nszPE','dJEqT','11196kKdkVU','_gitConfigured','timestamp','debug','backtrace','sendHook','name','KQGBf','rNYnc','exception','failure_type','match','BEFORE_EACH','ywFOm','getCucumberHookType','aGiwT','XddoJ','toString','test_run','onpfo','testStepFinished','LUqmf','XYNbr','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','sJiOn','eFriu','HblFm','children','zTSQv','failed','LoYua','tagExpression','pending','scenario','kgRzD','HookRunFinished','testCaseStartedId','getScenarioExamples','hooks','tags','tableBody','push','_gitConfigPath','updateTestStatus','134465ZtENJX','value','../../helpers/testhub/utils','result','GcfPK','245422GpXkzQ','hook_run','92zCrlAL','status','PCiOs','toLowerCase','javascript','pickleStepId','uploadEventData','root','hYohP','OeVss','LmptZ','filter','unknown','27519eHZwKr','map','nYfmk','path','jDbva','YhJxv','ZVTal','kCwsy','length','test','relative','Csmwx','failureData','astNodeIds','strip-ansi','CducW','getHookRunEventData','SKIPPED','testCaseFinished','vzozf','failure_reason','MdIpY','format','LOUVF','find','failureType','174153FnResQ','sourceReference','uuid','jeQzh','2|0|3|4|1','30jaIdMR','3970YXCkyN','EpcfW','UnhandledError','failure','includes','getHookResult','bTRQz','exports','failure_data','../../helpers/test-observability/sessionHandler','../../helpers/test-observability/error-handler','uri','passed','SPzom','forEach','BdsIJ','toISOString','rule','hook','join','hmLIm','configureGit','split','getHooksListForTest','vxIbu','duration_in_ms','166408jtFWPI','Exception\x20in\x20sendHook:\x20','loGpK','skipped','KNhkk','Xeuor','CVtqq','RlWCo','QLqvm','TyTHc','Exception\x20in\x20getHookRunEventData:\x20','cucumber','xiRZR'];a8_0x1c4d=function(){return _0x38ebe7;};return a8_0x1c4d();}const path=require(a8_0x508a8d(0x254)),util=require('util'),hooksMap={},SessionHandler=require(a8_0x508a8d(0x27a)),testhubUtils=require(a8_0x508a8d(0x23f)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x508a8d(0x27b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require('../playwright/reporter/test-details');this[a8_0x508a8d(0x212)]=![],this[a8_0x508a8d(0x23b)]=null;function a8_0x223d(_0x5cd02d,_0x339840){const _0x1c4d5e=a8_0x1c4d();return a8_0x223d=function(_0x223d05,_0x1ac287){_0x223d05=_0x223d05-0x1ec;let _0x4102c1=_0x1c4d5e[_0x223d05];return _0x4102c1;},a8_0x223d(_0x5cd02d,_0x339840);}class TestObservabilityReporter{async[a8_0x508a8d(0x20a)](_0x523dde,_0x1342cd,_0x445873,_0x4f3906,_0x18fd74){const _0x72853c=a8_0x508a8d,_0x277c3b={'EpcfW':function(_0x5686ee,_0x3569a4){return _0x5686ee===_0x3569a4;},'CVtqq':'FAILED','CducW':'failed','nszPE':_0x72853c(0x262),'Xeuor':_0x72853c(0x1f4),'KQGBf':function(_0x173149,_0x5af153){return _0x173149||_0x5af153;},'CvmOQ':function(_0x32abef,_0x59df60){return _0x32abef+_0x59df60;},'kCwsy':function(_0x457ae2,_0x33e3a0){return _0x457ae2+_0x33e3a0;},'bTRQz':function(_0x377085,_0x162a25){return _0x377085+_0x162a25;},'nYfmk':_0x72853c(0x25a),'PCiOs':_0x72853c(0x248),'hYohP':_0x72853c(0x1fc),'kgRzD':_0x72853c(0x231),'sJiOn':_0x72853c(0x27d),'LoYua':function(_0x2b71f8,_0x6037b2){return _0x2b71f8!==_0x6037b2;},'vuadf':function(_0x1496cf,_0x48a2c1){return _0x1496cf/_0x48a2c1;},'zTSQv':function(_0x99c272,_0x179f15){return _0x99c272===_0x179f15;},'loGpK':_0x72853c(0x25f),'vcHFn':function(_0x537880,_0xfad2bc){return _0x537880(_0xfad2bc);},'dJEqT':_0x72853c(0x250),'aGiwT':_0x72853c(0x20b),'BdsIJ':_0x72853c(0x273),'xiRZR':'TestRunFinished','UhMKr':function(_0x564a4b,_0xc619fc){return _0x564a4b>_0xc619fc;}},{feature:_0x53a159,scenario:_0x8c005d,steps:_0x5949bc,uuid:_0x5989a6,startedAt:_0x106715,finishedAt:_0x1acaf5}=_0x277c3b[_0x72853c(0x218)](_0x18fd74,{}),_0x2547bd=this[_0x72853c(0x236)](_0x1342cd,_0x445873);await this[_0x72853c(0x1ec)]();const _0x38574d=_0x2547bd?_0x277c3b['CvmOQ'](_0x277c3b[_0x72853c(0x258)](_0x277c3b[_0x72853c(0x277)](_0x445873[_0x72853c(0x217)],'\x20('),_0x2547bd['join'](',\x20')),')'):_0x445873[_0x72853c(0x217)],_0x232796={'uuid':_0x5989a6,'started_at':_0x106715,'finished_at':_0x1acaf5,'type':_0x277c3b[_0x72853c(0x253)],'body':{'lang':_0x277c3b[_0x72853c(0x246)],'code':null},'name':_0x38574d,'scopes':[_0x53a159&&_0x53a159[_0x72853c(0x217)]?_0x53a159[_0x72853c(0x217)]:''],'tags':_0x445873[_0x72853c(0x238)]?_0x445873[_0x72853c(0x238)][_0x72853c(0x252)](({name:_0x5e6fe0})=>_0x5e6fe0):[],'file_name':_0x445873[_0x72853c(0x27c)],'location':_0x445873[_0x72853c(0x27c)],'vc_filepath':this[_0x72853c(0x23b)]&&_0x445873['uri']?path[_0x72853c(0x25b)](this[_0x72853c(0x23b)],_0x445873[_0x72853c(0x27c)]):null,'framework':_0x277c3b[_0x72853c(0x24c)],'result':_0x277c3b[_0x72853c(0x233)],'meta':{'feature':_0x53a159,'scenario':_0x8c005d,'steps':_0x5949bc,'examples':_0x2547bd},'customRerunParam':{'rerun_name':_0x38574d}};if(_0x523dde[_0x72853c(0x263)]&&_0x5949bc){const _0x449b49=_0x523dde[_0x72853c(0x263)];let _0x66ebfe=_0x277c3b[_0x72853c(0x229)];_0x5949bc['every'](_0x56883d=>{const _0x81f151=_0x72853c;if(_0x277c3b[_0x81f151(0x272)](_0x56883d[_0x81f151(0x240)],_0x277c3b[_0x81f151(0x1f7)]))return _0x66ebfe=_0x277c3b['CducW'],_0x449b49['failure']=_0x56883d[_0x81f151(0x274)],_0x449b49[_0x81f151(0x26a)]=_0x56883d[_0x81f151(0x26a)],![];else{if(_0x277c3b[_0x81f151(0x272)](_0x56883d[_0x81f151(0x240)],_0x277c3b[_0x81f151(0x20f)]))return _0x66ebfe=_0x277c3b[_0x81f151(0x1f6)],![];}return!![];}),_0x232796[_0x72853c(0x20c)]=new Date()[_0x72853c(0x281)](),_0x232796[_0x72853c(0x240)]=_0x66ebfe;_0x449b49[_0x72853c(0x213)]&&_0x277c3b[_0x72853c(0x22f)](_0x449b49['timestamp'][_0x72853c(0x209)],undefined)?_0x232796['duration_in_ms']=_0x277c3b['vuadf'](_0x449b49['timestamp'][_0x72853c(0x209)],0xf4240):_0x232796[_0x72853c(0x1f0)]=undefined;if(_0x277c3b[_0x72853c(0x22d)](_0x66ebfe,_0x277c3b[_0x72853c(0x260)])){const {default:_0x5d505e}=await import(_0x277c3b[_0x72853c(0x1f3)]);_0x232796['failure']=[{'backtrace':[_0x449b49['failure']?_0x277c3b['vcHFn'](_0x5d505e,_0x449b49[_0x72853c(0x274)]):_0x277c3b[_0x72853c(0x210)]]}],_0x232796['failure_reason']=_0x449b49['failure']?_0x277c3b['vcHFn'](_0x5d505e,_0x449b49[_0x72853c(0x274)]):_0x449b49[_0x72853c(0x206)],_0x449b49[_0x72853c(0x26a)]&&(_0x232796['failure_type']=_0x449b49[_0x72853c(0x26a)]['match'](/AssertError/)?_0x277c3b[_0x72853c(0x220)]:_0x277c3b[_0x72853c(0x280)]);}}if(_0x277c3b['zTSQv'](_0x4f3906,_0x277c3b[_0x72853c(0x1fd)])){const _0x41134d=this[_0x72853c(0x1ee)](_0x523dde['testCaseFinished'][_0x72853c(0x235)]);_0x41134d&&_0x277c3b['UhMKr'](_0x41134d[_0x72853c(0x259)],0x0)&&(_0x232796[_0x72853c(0x237)]=_0x41134d,this[_0x72853c(0x23c)](_0x523dde[_0x72853c(0x263)][_0x72853c(0x235)],_0x232796));}testhubUtils['appendTesthubParams'](_0x232796,_0x4f3906,'',FRAMEWORKS['CUCUMBER']);const _0x5a93dd={};_0x5a93dd['event_type']=_0x4f3906,_0x5a93dd[_0x72853c(0x223)]=_0x232796;const _0x47e203=_0x5a93dd;await SessionHandler[_0x72853c(0x24a)](_0x47e203);}[a8_0x508a8d(0x23c)](_0x3c7c44,_0x45620b){const _0x2f45f5=a8_0x508a8d,_0x5d0bd8={};_0x5d0bd8[_0x2f45f5(0x26e)]=function(_0x18a5c8,_0x2ffea6){return _0x18a5c8 instanceof _0x2ffea6;},_0x5d0bd8[_0x2f45f5(0x285)]=function(_0x2c5a95,_0x4d2ef5){return _0x2c5a95===_0x4d2ef5;},_0x5d0bd8[_0x2f45f5(0x200)]=_0x2f45f5(0x22e),_0x5d0bd8[_0x2f45f5(0x264)]=_0x2f45f5(0x26f);const _0x17d9ba=_0x5d0bd8,_0x120c1d=hooksMap[_0x3c7c44];if(_0x17d9ba[_0x2f45f5(0x26e)](_0x120c1d,Array))for(const _0x47e254 of _0x120c1d){if(_0x17d9ba[_0x2f45f5(0x285)](_0x47e254['result'],_0x17d9ba[_0x2f45f5(0x200)])){const _0x16033c=_0x17d9ba['vzozf'][_0x2f45f5(0x1ed)]('|');let _0x1764ca=0x0;while(!![]){switch(_0x16033c[_0x1764ca++]){case'0':_0x45620b[_0x2f45f5(0x274)]=_0x47e254[_0x2f45f5(0x279)];continue;case'1':return _0x45620b;case'2':_0x45620b['result']=_0x47e254[_0x2f45f5(0x240)];continue;case'3':_0x45620b[_0x2f45f5(0x265)]=_0x17d9ba['jeQzh'](_0x47e254['failure_data'],Array)?_0x47e254['failure_data'][0x0]['backtrace'][_0x2f45f5(0x284)]('\x0a'):'';continue;case'4':_0x45620b['failure_type']=_0x47e254[_0x2f45f5(0x21b)];continue;}break;}}};}[a8_0x508a8d(0x1ee)](_0x591be5){const _0x446315=a8_0x508a8d;if(hooksMap[_0x591be5])return hooksMap[_0x591be5]['map'](_0x50e537=>_0x50e537[_0x446315(0x26d)]);return[];}['getHookRunEventData'](_0x1deaa3,_0x166300,_0x9c1a6b,_0x78ee87,_0x30064,_0xc49bb2){const _0xa1b584=a8_0x508a8d,_0x250070={'CHZSh':function(_0x155f10,_0xa85153){return _0x155f10===_0xa85153;},'GHqbE':_0xa1b584(0x234),'dAxEB':function(_0x28a055,_0x15c471,_0x26ca9e){return _0x28a055(_0x15c471,_0x26ca9e);},'LUqmf':_0xa1b584(0x26c),'YhJxv':_0xa1b584(0x27c),'vxIbu':_0xa1b584(0x231),'jDbva':_0xa1b584(0x283),'NjFga':'javascript','QLqvm':_0xa1b584(0x201),'TyTHc':_0xa1b584(0x217),'LmptZ':function(_0x2d9739,_0x47c19b,_0x3678da){return _0x2d9739(_0x47c19b,_0x3678da);},'uYmTm':_0xa1b584(0x1fc)};try{if(_0x250070[_0xa1b584(0x207)](_0x9c1a6b,_0x250070['GHqbE'])){const _0x2d0f22=new Date()[_0xa1b584(0x281)](),_0x4f99fb=hooksMap[_0x166300];if(!_0x4f99fb)return;const _0x570968=_0x4f99fb[_0xa1b584(0x269)](_0x264bfb=>_0x264bfb[_0xa1b584(0x26d)]===_0x78ee87['id']);if(!_0x570968)return;const _0x206945=this['getHookResult'](_0x1deaa3,_0x166300);_0x570968[_0xa1b584(0x240)]=_0x206945[_0xa1b584(0x245)],_0x570968[_0xa1b584(0x20c)]=_0x2d0f22,_0x570968[_0xa1b584(0x21b)]=_0x206945[_0xa1b584(0x26a)];const _0x5c391e={};return _0x5c391e[_0xa1b584(0x215)]=_0x206945[_0xa1b584(0x25d)],_0x570968[_0xa1b584(0x279)]=[_0x5c391e],_0x570968;}const _0x2a0d97=TestDetails['getTestUUID'](_0x166300),_0x10b1d5=_0x1deaa3[_0xa1b584(0x237)][_0xa1b584(0x269)](_0x3664ee=>_0x3664ee['id']===_0x78ee87[_0xa1b584(0x20d)]),_0x4801b1=_0x250070['dAxEB'](nestedKeyValue,_0x10b1d5,[_0x250070[_0xa1b584(0x226)],_0x250070[_0xa1b584(0x256)]]),_0x1017ea=new Date()[_0xa1b584(0x281)](),_0x27eecc=_0x250070[_0xa1b584(0x1ef)],_0x302450=_0x10b1d5[_0xa1b584(0x230)]?_0x10b1d5['tagExpression'][_0xa1b584(0x1ed)]('\x20')[_0xa1b584(0x24f)](_0xec1676=>_0xec1676[_0xa1b584(0x275)]('@')):[],_0x1d6e8d={'uuid':_0x78ee87['id'],'type':_0x250070[_0xa1b584(0x255)],'hook_type':_0xc49bb2,'name':_0x10b1d5['name'],'body':{'lang':_0x250070[_0xa1b584(0x208)],'code':null},'tags':_0x302450,'test_run_id':_0x2a0d97,'scope':_0x250070[_0xa1b584(0x1ff)](nestedKeyValue,_0x30064,[_0x250070[_0xa1b584(0x1f9)],_0x250070[_0xa1b584(0x1fa)]]),'scopes':[_0x250070[_0xa1b584(0x24e)](nestedKeyValue,_0x30064,[_0x250070[_0xa1b584(0x1f9)],_0x250070[_0xa1b584(0x1fa)]])||''],'file_name':_0x4801b1,'location':_0x4801b1,'vc_filepath':this[_0xa1b584(0x23b)]?path[_0xa1b584(0x25b)](this['_gitConfigPath'],_0x4801b1):null,'result':_0x27eecc,'started_at':_0x1017ea,'framework':_0x250070['uYmTm']};return _0x1d6e8d;}catch(_0x1af6d2){logger[_0xa1b584(0x214)](_0xa1b584(0x1fb)+util[_0xa1b584(0x267)](_0x1af6d2)+'\x20');}}async[a8_0x508a8d(0x216)](_0xf2bd59,_0x241d46,_0x746b1f,_0x373e06,_0x386465,_0x3d6d98){const _0xd7bb04=a8_0x508a8d,_0x25b27b={'DMibK':function(_0x17b91d,_0x517ccb){return _0x17b91d===_0x517ccb;},'nezTe':'HookRunStarted','yLGjd':function(_0x444fc8,_0x2bfdd0,_0x360928){return _0x444fc8(_0x2bfdd0,_0x360928);},'Csmwx':'sourceReference','KNhkk':_0xd7bb04(0x27c),'onpfo':_0xd7bb04(0x228)};try{const _0x5e041d=_0x373e06[_0xd7bb04(0x269)](_0x359369=>_0x359369['id']===_0x386465);if(!_0x5e041d['hookId'])return;const _0x382aa1=this[_0xd7bb04(0x21f)](_0x373e06,_0x5e041d),_0x3cb42e=this[_0xd7bb04(0x261)](_0xf2bd59,_0x241d46,_0x746b1f,_0x5e041d,_0x3d6d98,_0x382aa1);if(!_0x3cb42e)return;_0x25b27b['DMibK'](_0x746b1f,_0x25b27b['nezTe'])&&(hooksMap[_0x241d46]?hooksMap[_0x241d46][_0xd7bb04(0x23a)](_0x3cb42e):hooksMap[_0x241d46]=[_0x3cb42e]);const _0x29500e=_0xf2bd59['hooks'][_0xd7bb04(0x269)](_0x233994=>_0x233994['id']===_0x5e041d[_0xd7bb04(0x20d)]),_0x2f59c1=_0x25b27b[_0xd7bb04(0x1fe)](nestedKeyValue,_0x29500e,[_0x25b27b[_0xd7bb04(0x25c)],_0x25b27b[_0xd7bb04(0x1f5)]]);if(!_0x2f59c1)return;else{if(_0x2f59c1['includes'](_0x25b27b[_0xd7bb04(0x224)]))return;}const _0x51fd4a={};_0x51fd4a[_0xd7bb04(0x203)]=_0x746b1f,_0x51fd4a[_0xd7bb04(0x243)]=_0x3cb42e;const _0x520b7=_0x51fd4a;await SessionHandler[_0xd7bb04(0x24a)](_0x520b7);}catch(_0x3b7153){logger['debug'](_0xd7bb04(0x1f2)+util[_0xd7bb04(0x267)](_0x3b7153)+'\x20');}}['getHookResult'](_0x18ec19,_0x240a0a){const _0x3eac47=a8_0x508a8d,_0x2645fd={};_0x2645fd[_0x3eac47(0x22b)]=function(_0x551387,_0xa072a0){return _0x551387===_0xa072a0;},_0x2645fd[_0x3eac47(0x241)]=_0x3eac47(0x22e),_0x2645fd[_0x3eac47(0x219)]=function(_0x304764,_0x39ae68){return _0x304764===_0x39ae68;},_0x2645fd['XddoJ']=_0x3eac47(0x273),_0x2645fd[_0x3eac47(0x1f8)]='AssertionError',_0x2645fd[_0x3eac47(0x21e)]=function(_0x2d2eb4,_0x43a1fd){return _0x2d2eb4||_0x43a1fd;};const _0x4571dd=_0x2645fd,_0x1834d0=_0x18ec19[_0x3eac47(0x225)][_0x240a0a]['testStepResult'];let _0x15fd78,_0x4e3285;return _0x1834d0&&_0x4571dd[_0x3eac47(0x22b)](_0x1834d0['status'][_0x3eac47(0x222)]()[_0x3eac47(0x247)](),_0x4571dd[_0x3eac47(0x241)])&&(_0x15fd78=_0x4571dd[_0x3eac47(0x22b)](_0x1834d0['exception'],undefined)?_0x1834d0[_0x3eac47(0x206)]:_0x1834d0[_0x3eac47(0x21a)][_0x3eac47(0x206)],_0x4e3285=_0x4571dd[_0x3eac47(0x219)](_0x1834d0[_0x3eac47(0x21a)],undefined)?_0x4571dd[_0x3eac47(0x221)]:_0x1834d0['message'][_0x3eac47(0x21c)](/Assert/)?_0x4571dd[_0x3eac47(0x1f8)]:_0x4571dd[_0x3eac47(0x221)]),{'status':_0x1834d0[_0x3eac47(0x245)][_0x3eac47(0x247)](),'failureType':_0x4571dd[_0x3eac47(0x21e)](_0x4e3285,null),'failureData':!_0x15fd78?null:[_0x15fd78]};}['getCucumberHookType'](_0x454a7c,_0x43c04e){const _0x15f468=a8_0x508a8d,_0x4cd96b={};_0x4cd96b[_0x15f468(0x22a)]=function(_0x396b9b,_0x44bfb6){return _0x396b9b===_0x44bfb6;},_0x4cd96b['MdIpY']='AFTER_EACH',_0x4cd96b[_0x15f468(0x27e)]=_0x15f468(0x21d);const _0xb23a7f=_0x4cd96b;let _0x72b708=![];for(const _0x32218e of _0x454a7c){_0x32218e[_0x15f468(0x249)]&&(_0x72b708=!![]);if(_0xb23a7f[_0x15f468(0x22a)](_0x43c04e['id'],_0x32218e['id']))return _0x72b708?_0xb23a7f[_0x15f468(0x266)]:_0xb23a7f[_0x15f468(0x27e)];}}[a8_0x508a8d(0x236)]=(_0x5bbfcc,_0x1a2810)=>{const _0x555183=a8_0x508a8d,_0x482045={};_0x482045['ZVTal']=function(_0x439c74,_0x3db89c){return _0x439c74===_0x3db89c;},_0x482045[_0x555183(0x24d)]=function(_0x7ecffb,_0x146cf5){return _0x7ecffb>_0x146cf5;};const _0x481a76=_0x482045;if(!(_0x1a2810[_0x555183(0x25e)]&&_0x481a76[_0x555183(0x24d)](_0x1a2810[_0x555183(0x25e)][_0x555183(0x259)],0x1)))return;const _0x4f0c38=_0x1a2810['astNodeIds'][0x0],_0x1eb979=_0x1a2810[_0x555183(0x25e)][0x1],_0x289458=_0x5bbfcc[_0x555183(0x201)]&&_0x5bbfcc[_0x555183(0x201)][_0x555183(0x22c)]?_0x5bbfcc[_0x555183(0x201)][_0x555183(0x22c)]:undefined;let _0x464ea3=[];_0x289458&&_0x289458[_0x555183(0x27f)](_0x1c46d3=>{const _0x4b8e35=_0x555183,_0xfb7e31={'XYNbr':function(_0xc146d8,_0x5a7b09){const _0x3e3c02=a8_0x223d;return _0x481a76[_0x3e3c02(0x257)](_0xc146d8,_0x5a7b09);}};if(_0x1c46d3[_0x4b8e35(0x282)])_0x1c46d3[_0x4b8e35(0x282)][_0x4b8e35(0x22c)][_0x4b8e35(0x27f)](_0x17471b=>{const _0x2eaddb=_0x4b8e35;if(_0x17471b[_0x2eaddb(0x232)]&&_0xfb7e31[_0x2eaddb(0x227)](_0x17471b[_0x2eaddb(0x232)]['id'],_0x4f0c38)&&_0x17471b[_0x2eaddb(0x232)]['examples']){const _0x2e54a1=_0x17471b['scenario'][_0x2eaddb(0x202)][_0x2eaddb(0x20e)](_0x3193c4=>_0x3193c4['tableBody'])[_0x2eaddb(0x269)](_0xf9295c=>_0xf9295c['id']===_0x1eb979);let _0x56d93a;_0x2e54a1&&_0x2e54a1[_0x2eaddb(0x205)]?_0x56d93a=_0x2e54a1[_0x2eaddb(0x205)][_0x2eaddb(0x252)](_0x31ad0f=>_0x31ad0f[_0x2eaddb(0x23e)]):_0x56d93a=[],_0x56d93a&&(_0x464ea3=_0x56d93a);}});else{if(_0x1c46d3['scenario']&&_0x481a76[_0x4b8e35(0x257)](_0x1c46d3[_0x4b8e35(0x232)]['id'],_0x4f0c38)&&_0x1c46d3['scenario'][_0x4b8e35(0x202)]){const _0x166af5=_0x1c46d3[_0x4b8e35(0x232)][_0x4b8e35(0x202)][_0x4b8e35(0x20e)](_0xdf6f8=>_0xdf6f8[_0x4b8e35(0x239)])['find'](_0x40a5fb=>_0x40a5fb['id']===_0x1eb979);let _0x180c5e;_0x166af5&&_0x166af5[_0x4b8e35(0x205)]?_0x180c5e=_0x166af5[_0x4b8e35(0x205)][_0x4b8e35(0x252)](_0x4cc654=>_0x4cc654[_0x4b8e35(0x23e)]):_0x180c5e=[],_0x180c5e&&(_0x464ea3=_0x180c5e);}}});if(_0x464ea3['length'])return _0x464ea3;return;};async[a8_0x508a8d(0x1ec)](){const _0x565882=a8_0x508a8d,_0xeef8b4={'LOUVF':function(_0x46c9d0){return _0x46c9d0();}};if(this[_0x565882(0x212)])return this[_0x565882(0x23b)];const _0x175dca=await _0xeef8b4[_0x565882(0x268)](getGitMetaData);_0x175dca&&(this[_0x565882(0x23b)]=_0x175dca[_0x565882(0x24b)]),this['_gitConfigured']=!![];}}module[a8_0x508a8d(0x278)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x508a8d(0x1ec),a8_0x508a8d(0x236),a8_0x508a8d(0x21f),a8_0x508a8d(0x276),a8_0x508a8d(0x216),'getHookRunEventData',a8_0x508a8d(0x20a)]);
|
|
1
|
+
const a8_0x1f400a=a8_0xe072;function a8_0x20fb(){const _0x513c5a=['agphc','astNodeIds','root','LuTdu','MLsHw','failure_reason','javascript','Ekvhi','VkxQI','map','configureGit','eSUTg','finished_at','../../helpers/logger','length','relative','format','includes','getCucumberHookType','Itwhd','pending','FKQhY','16682IjQWRa','pickleStepId','hdFXb','examples','bnFwx','AssertionError','LCxYu','1850FUXGVd','failureType','every','Nbvnb','BAXkZ','feature','2908170wUUYaq','toString','../../helpers/test-observability/error-handler','LzIzq','forEach','ajeul','../../helpers/test-observability/constants.js','children','MUThl','testStepResult','exports','duration_in_ms','result','TxUha','sourceReference','event_type','../playwright/reporter/test-details','bCNib','IaRuC','HookRunFinished','tags','HookRunStarted','Exception\x20in\x20getHookRunEventData:\x20','kSrBx','../../helpers/test-observability/sessionHandler','path','hook','wVAWy','filter','EZBfS','FNieG','135332tDZgrV','dGZre','_gitConfigured','5232RaByeJ','failed','failure_data','7215145nStvQh','sendTestRunEventForCucumber','test_run','UUPQT','message','CMgPN','failure_type','split','fiAHH','testCaseStartedId','ujZnD','getScenarioExamples','rule','jEWnv','UnhandledError','toISOString','UCbyw','testCaseFinished','scenario','find','59yMrwsS','hvHPM','ofYIE','exception','backtrace','timestamp','tagExpression','Exception\x20in\x20sendHook:\x20','../../helpers/helper','debug','uri','winstonLogger','aszmS','getHooksListForTest','SiaHG','cucumber','cells','BEFORE_EACH','hookId','bWCyP','mdpLL','uuid','../../helpers/testhub/utils','getHookRunEventData','updateTestStatus','60300uICkqI','5533VMnkQR','match','status','FAILED','getTestUUID','cXzls','toLowerCase','aaQBM','39etmwPf','name','45slkEWN','EPSoc','tableBody','YcRaE','3237976xftiRx','failure','getHookResult','TfTPu','uploadEventData','KTRwg','hooks','NNWsP','nanos','join','_gitConfigPath','skipped','pEoqq','test','UNzSK','flatMap','util','xpHrs'];a8_0x20fb=function(){return _0x513c5a;};return a8_0x20fb();}(function(_0x428f84,_0x5d6806){const _0x2d0f29=a8_0xe072,_0x349eb9=_0x428f84();while(!![]){try{const _0x22fe70=parseInt(_0x2d0f29(0x122))/0x1*(parseInt(_0x2d0f29(0xdc))/0x2)+parseInt(_0x2d0f29(0xae))/0x3*(-parseInt(_0x2d0f29(0x108))/0x4)+-parseInt(_0x2d0f29(0xe3))/0x5*(-parseInt(_0x2d0f29(0x10b))/0x6)+-parseInt(_0x2d0f29(0x10e))/0x7+parseInt(_0x2d0f29(0xb4))/0x8+-parseInt(_0x2d0f29(0xb0))/0x9*(parseInt(_0x2d0f29(0xe9))/0xa)+-parseInt(_0x2d0f29(0xa6))/0xb*(-parseInt(_0x2d0f29(0x13b))/0xc);if(_0x22fe70===_0x5d6806)break;else _0x349eb9['push'](_0x349eb9['shift']());}catch(_0x4a310a){_0x349eb9['push'](_0x349eb9['shift']());}}}(a8_0x20fb,0xc8ca0));const path=require(a8_0x1f400a(0x102)),util=require(a8_0x1f400a(0xc4)),hooksMap={},SessionHandler=require(a8_0x1f400a(0x101)),testhubUtils=require(a8_0x1f400a(0x138)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x1f400a(0x12a)),logger=require(a8_0x1f400a(0xd3))[a8_0x1f400a(0x12d)],{o11yClassErrorHandler}=require(a8_0x1f400a(0xeb)),{FRAMEWORKS}=require(a8_0x1f400a(0xef)),TestDetails=require(a8_0x1f400a(0xf9));this[a8_0x1f400a(0x10a)]=![],this[a8_0x1f400a(0xbe)]=null;function a8_0xe072(_0xafb09f,_0x291c28){const _0x20fbfa=a8_0x20fb();return a8_0xe072=function(_0xe0721f,_0x43ee09){_0xe0721f=_0xe0721f-0xa6;let _0x1e20e9=_0x20fbfa[_0xe0721f];return _0x1e20e9;},a8_0xe072(_0xafb09f,_0x291c28);}class TestObservabilityReporter{async[a8_0x1f400a(0x10f)](_0x10561d,_0x3f9d6a,_0x195a97,_0x15f44b,_0x448ac0){const _0x446472=a8_0x1f400a,_0x3ebe03={'aaQBM':function(_0x4e2635,_0x55ea07){return _0x4e2635===_0x55ea07;},'pEoqq':_0x446472(0xa9),'VkxQI':_0x446472(0x10c),'Itwhd':function(_0x3fff66,_0x1e6c7a){return _0x3fff66===_0x1e6c7a;},'qnbJH':'SKIPPED','IaRuC':_0x446472(0xbf),'FKQhY':function(_0x4a4c37,_0x1203c9){return _0x4a4c37||_0x1203c9;},'BAXkZ':function(_0x2d63e4,_0xd22d78){return _0x2d63e4+_0xd22d78;},'vuPrv':_0x446472(0xc1),'jEWnv':'javascript','EpqGt':_0x446472(0x131),'mdpLL':_0x446472(0xda),'TxUha':'passed','UUPQT':function(_0x3327e8,_0x3f8cd7){return _0x3327e8!==_0x3f8cd7;},'TfTPu':function(_0x233fb9,_0x9d64e){return _0x233fb9/_0x9d64e;},'FNieG':'strip-ansi','fiAHH':function(_0x20f1d9,_0x17936e){return _0x20f1d9(_0x17936e);},'wvxvx':'unknown','bCNib':function(_0x3c384a,_0x16bfea){return _0x3c384a(_0x16bfea);},'frZew':_0x446472(0xe1),'GEwdJ':'UnhandledError','hvHPM':'TestRunFinished','kGJiM':function(_0x2c426e,_0x3d95f8){return _0x2c426e>_0x3d95f8;}},{feature:_0x27a3f1,scenario:_0x358b7e,steps:_0x20defa,uuid:_0x48f806,startedAt:_0x214d14,finishedAt:_0x249e87}=_0x3ebe03[_0x446472(0xdb)](_0x448ac0,{}),_0x4c790f=this[_0x446472(0x119)](_0x3f9d6a,_0x195a97);await this['configureGit']();const _0x571f89=_0x4c790f?_0x3ebe03[_0x446472(0xe7)](_0x3ebe03[_0x446472(0xe7)](_0x3ebe03[_0x446472(0xe7)](_0x195a97[_0x446472(0xaf)],'\x20('),_0x4c790f['join'](',\x20')),')'):_0x195a97[_0x446472(0xaf)],_0x92c596={'uuid':_0x48f806,'started_at':_0x214d14,'finished_at':_0x249e87,'type':_0x3ebe03['vuPrv'],'body':{'lang':_0x3ebe03[_0x446472(0x11b)],'code':null},'name':_0x571f89,'scopes':[_0x27a3f1&&_0x27a3f1[_0x446472(0xaf)]?_0x27a3f1[_0x446472(0xaf)]:''],'tags':_0x195a97[_0x446472(0xfd)]?_0x195a97[_0x446472(0xfd)]['map'](({name:_0x34144d})=>_0x34144d):[],'file_name':_0x195a97[_0x446472(0x12c)],'location':_0x195a97[_0x446472(0x12c)],'vc_filepath':this[_0x446472(0xbe)]&&_0x195a97[_0x446472(0x12c)]?path[_0x446472(0xd5)](this[_0x446472(0xbe)],_0x195a97[_0x446472(0x12c)]):null,'framework':_0x3ebe03['EpqGt'],'result':_0x3ebe03[_0x446472(0x136)],'meta':{'feature':_0x27a3f1,'scenario':_0x358b7e,'steps':_0x20defa,'examples':_0x4c790f},'customRerunParam':{'rerun_name':_0x571f89}};if(_0x10561d[_0x446472(0x11f)]&&_0x20defa){const _0x1c2db8=_0x10561d[_0x446472(0x11f)];let _0xb6cd21=_0x3ebe03[_0x446472(0xf6)];_0x20defa[_0x446472(0xe5)](_0x51d412=>{const _0x2c6a87=_0x446472;if(_0x3ebe03[_0x2c6a87(0xad)](_0x51d412[_0x2c6a87(0xf5)],_0x3ebe03[_0x2c6a87(0xc0)]))return _0xb6cd21=_0x3ebe03[_0x2c6a87(0xce)],_0x1c2db8[_0x2c6a87(0xb5)]=_0x51d412[_0x2c6a87(0xb5)],_0x1c2db8[_0x2c6a87(0xe4)]=_0x51d412['failureType'],![];else{if(_0x3ebe03[_0x2c6a87(0xd9)](_0x51d412[_0x2c6a87(0xf5)],_0x3ebe03['qnbJH']))return _0xb6cd21=_0x3ebe03[_0x2c6a87(0xfb)],![];}return!![];}),_0x92c596[_0x446472(0xd2)]=new Date()[_0x446472(0x11d)](),_0x92c596['result']=_0xb6cd21;_0x1c2db8[_0x446472(0x127)]&&_0x3ebe03[_0x446472(0x111)](_0x1c2db8[_0x446472(0x127)][_0x446472(0xbc)],undefined)?_0x92c596['duration_in_ms']=_0x3ebe03[_0x446472(0xb7)](_0x1c2db8[_0x446472(0x127)][_0x446472(0xbc)],0xf4240):_0x92c596[_0x446472(0xf4)]=undefined;if(_0x3ebe03['Itwhd'](_0xb6cd21,_0x3ebe03[_0x446472(0xce)])){const {default:_0x1b4718}=await import(_0x3ebe03[_0x446472(0x107)]);_0x92c596[_0x446472(0xb5)]=[{'backtrace':[_0x1c2db8[_0x446472(0xb5)]?_0x3ebe03[_0x446472(0x116)](_0x1b4718,_0x1c2db8[_0x446472(0xb5)]):_0x3ebe03['wvxvx']]}],_0x92c596['failure_reason']=_0x1c2db8['failure']?_0x3ebe03[_0x446472(0xfa)](_0x1b4718,_0x1c2db8[_0x446472(0xb5)]):_0x1c2db8[_0x446472(0x112)],_0x1c2db8[_0x446472(0xe4)]&&(_0x92c596[_0x446472(0x114)]=_0x1c2db8['failureType']['match'](/AssertError/)?_0x3ebe03['frZew']:_0x3ebe03['GEwdJ']);}}if(_0x3ebe03['Itwhd'](_0x15f44b,_0x3ebe03[_0x446472(0x123)])){const _0xeb9dd4=this[_0x446472(0x12f)](_0x10561d['testCaseFinished'][_0x446472(0x117)]);_0xeb9dd4&&_0x3ebe03['kGJiM'](_0xeb9dd4[_0x446472(0xd4)],0x0)&&(_0x92c596[_0x446472(0xba)]=_0xeb9dd4,this[_0x446472(0x13a)](_0x10561d[_0x446472(0x11f)][_0x446472(0x117)],_0x92c596));}testhubUtils['appendTesthubParams'](_0x92c596,_0x15f44b,'',FRAMEWORKS['CUCUMBER']);const _0x3ccdd7={};_0x3ccdd7[_0x446472(0xf8)]=_0x15f44b,_0x3ccdd7[_0x446472(0x110)]=_0x92c596;const _0xe9871d=_0x3ccdd7;await SessionHandler[_0x446472(0xb8)](_0xe9871d);}['updateTestStatus'](_0x61ad8c,_0x14f648){const _0x2b76d5=a8_0x1f400a,_0x58f923={};_0x58f923[_0x2b76d5(0xee)]=function(_0x40898,_0x290ccb){return _0x40898 instanceof _0x290ccb;},_0x58f923['LCxYu']=function(_0x190d97,_0x30d6ac){return _0x190d97===_0x30d6ac;},_0x58f923[_0x2b76d5(0xe6)]=_0x2b76d5(0x10c),_0x58f923[_0x2b76d5(0xc6)]='4|3|0|1|2';const _0x1bdb49=_0x58f923,_0x135887=hooksMap[_0x61ad8c];if(_0x1bdb49['ajeul'](_0x135887,Array))for(const _0x3ff0ad of _0x135887){if(_0x1bdb49[_0x2b76d5(0xe2)](_0x3ff0ad['result'],_0x1bdb49['Nbvnb'])){const _0x436e8e=_0x1bdb49['agphc'][_0x2b76d5(0x115)]('|');let _0x3955e2=0x0;while(!![]){switch(_0x436e8e[_0x3955e2++]){case'0':_0x14f648[_0x2b76d5(0xcb)]=_0x1bdb49['ajeul'](_0x3ff0ad['failure_data'],Array)?_0x3ff0ad[_0x2b76d5(0x10d)][0x0]['backtrace'][_0x2b76d5(0xbd)]('\x0a'):'';continue;case'1':_0x14f648[_0x2b76d5(0x114)]=_0x3ff0ad[_0x2b76d5(0x114)];continue;case'2':return _0x14f648;case'3':_0x14f648[_0x2b76d5(0xb5)]=_0x3ff0ad[_0x2b76d5(0x10d)];continue;case'4':_0x14f648[_0x2b76d5(0xf5)]=_0x3ff0ad[_0x2b76d5(0xf5)];continue;}break;}}};}[a8_0x1f400a(0x12f)](_0xf2991c){const _0x3a53c7=a8_0x1f400a;if(hooksMap[_0xf2991c])return hooksMap[_0xf2991c][_0x3a53c7(0xcf)](_0x5004b3=>_0x5004b3[_0x3a53c7(0x137)]);return[];}[a8_0x1f400a(0x139)](_0x3182f5,_0xf7bbcd,_0x49584a,_0x589c8f,_0x517d9b,_0x1e9f2e){const _0x2287b5=a8_0x1f400a,_0x107243={'kSrBx':function(_0x45325a,_0x16bceb){return _0x45325a===_0x16bceb;},'JshXG':_0x2287b5(0xfc),'xpHrs':function(_0x2f842f,_0x197cb8,_0x4593bc){return _0x2f842f(_0x197cb8,_0x4593bc);},'NNWsP':'sourceReference','aszmS':_0x2287b5(0x12c),'AJwBZ':_0x2287b5(0xda),'EPSoc':_0x2287b5(0x103),'UCbyw':_0x2287b5(0xcc),'ZgTAI':_0x2287b5(0xe8),'UNzSK':_0x2287b5(0xaf),'LuTdu':_0x2287b5(0x131)};try{if(_0x107243[_0x2287b5(0x100)](_0x49584a,_0x107243['JshXG'])){const _0x4f40a7=new Date()['toISOString'](),_0x381e17=hooksMap[_0xf7bbcd];if(!_0x381e17)return;const _0x475bf1=_0x381e17[_0x2287b5(0x121)](_0x19448c=>_0x19448c[_0x2287b5(0x137)]===_0x589c8f['id']);if(!_0x475bf1)return;const _0x4875fc=this[_0x2287b5(0xb6)](_0x3182f5,_0xf7bbcd);_0x475bf1[_0x2287b5(0xf5)]=_0x4875fc[_0x2287b5(0xa8)],_0x475bf1['finished_at']=_0x4f40a7,_0x475bf1[_0x2287b5(0x114)]=_0x4875fc[_0x2287b5(0xe4)];const _0x7d7a8e={};return _0x7d7a8e[_0x2287b5(0x126)]=_0x4875fc['failureData'],_0x475bf1[_0x2287b5(0x10d)]=[_0x7d7a8e],_0x475bf1;}const _0x1efa50=TestDetails[_0x2287b5(0xaa)](_0xf7bbcd),_0x21cc7b=_0x3182f5['hooks'][_0x2287b5(0x121)](_0x12938e=>_0x12938e['id']===_0x589c8f[_0x2287b5(0x134)]),_0x5a0aec=_0x107243[_0x2287b5(0xc5)](nestedKeyValue,_0x21cc7b,[_0x107243[_0x2287b5(0xbb)],_0x107243[_0x2287b5(0x12e)]]),_0x1f4b16=new Date()[_0x2287b5(0x11d)](),_0x450ac0=_0x107243['AJwBZ'],_0x566ec7=_0x21cc7b[_0x2287b5(0x128)]?_0x21cc7b['tagExpression'][_0x2287b5(0x115)]('\x20')[_0x2287b5(0x105)](_0x56aeb9=>_0x56aeb9[_0x2287b5(0xd7)]('@')):[],_0x128f23={'uuid':_0x589c8f['id'],'type':_0x107243[_0x2287b5(0xb1)],'hook_type':_0x1e9f2e,'name':_0x21cc7b[_0x2287b5(0xaf)],'body':{'lang':_0x107243[_0x2287b5(0x11e)],'code':null},'tags':_0x566ec7,'test_run_id':_0x1efa50,'scope':_0x107243[_0x2287b5(0xc5)](nestedKeyValue,_0x517d9b,[_0x107243['ZgTAI'],_0x107243[_0x2287b5(0xc2)]]),'scopes':[_0x107243[_0x2287b5(0xc5)](nestedKeyValue,_0x517d9b,[_0x107243['ZgTAI'],_0x107243['UNzSK']])||''],'file_name':_0x5a0aec,'location':_0x5a0aec,'vc_filepath':this[_0x2287b5(0xbe)]?path['relative'](this[_0x2287b5(0xbe)],_0x5a0aec):null,'result':_0x450ac0,'started_at':_0x1f4b16,'framework':_0x107243[_0x2287b5(0xc9)]};return _0x128f23;}catch(_0x55a6f8){logger[_0x2287b5(0x12b)](_0x2287b5(0xff)+util[_0x2287b5(0xd6)](_0x55a6f8)+'\x20');}}async['sendHook'](_0x1d066a,_0x526cf2,_0xa7ec66,_0x5122bd,_0x619a83,_0x493d15){const _0x2b5e97=a8_0x1f400a,_0x12a3d0={'hdFXb':function(_0x29000a,_0x7fd9ac){return _0x29000a===_0x7fd9ac;},'SiaHG':_0x2b5e97(0xfe),'vFkGc':function(_0x6895e5,_0x46fd1c,_0x1ecf3a){return _0x6895e5(_0x46fd1c,_0x1ecf3a);},'MLsHw':_0x2b5e97(0xf7),'EZBfS':_0x2b5e97(0x12c),'kRGOs':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x50d1f9=_0x5122bd[_0x2b5e97(0x121)](_0x4c5ced=>_0x4c5ced['id']===_0x619a83);if(!_0x50d1f9[_0x2b5e97(0x134)])return;const _0x48c53=this['getCucumberHookType'](_0x5122bd,_0x50d1f9),_0x33a03d=this[_0x2b5e97(0x139)](_0x1d066a,_0x526cf2,_0xa7ec66,_0x50d1f9,_0x493d15,_0x48c53);if(!_0x33a03d)return;_0x12a3d0[_0x2b5e97(0xde)](_0xa7ec66,_0x12a3d0[_0x2b5e97(0x130)])&&(hooksMap[_0x526cf2]?hooksMap[_0x526cf2]['push'](_0x33a03d):hooksMap[_0x526cf2]=[_0x33a03d]);const _0x53b2b4=_0x1d066a[_0x2b5e97(0xba)]['find'](_0x449e34=>_0x449e34['id']===_0x50d1f9[_0x2b5e97(0x134)]),_0xccb831=_0x12a3d0['vFkGc'](nestedKeyValue,_0x53b2b4,[_0x12a3d0[_0x2b5e97(0xca)],_0x12a3d0[_0x2b5e97(0x106)]]);if(!_0xccb831)return;else{if(_0xccb831[_0x2b5e97(0xd7)](_0x12a3d0['kRGOs']))return;}const _0x16ab0c={};_0x16ab0c[_0x2b5e97(0xf8)]=_0xa7ec66,_0x16ab0c['hook_run']=_0x33a03d;const _0x39b65f=_0x16ab0c;await SessionHandler['uploadEventData'](_0x39b65f);}catch(_0x1e7be4){logger[_0x2b5e97(0x12b)](_0x2b5e97(0x129)+util[_0x2b5e97(0xd6)](_0x1e7be4)+'\x20');}}[a8_0x1f400a(0xb6)](_0x1ef319,_0x4c5340){const _0x1e8d93=a8_0x1f400a,_0x939c7b={};_0x939c7b[_0x1e8d93(0x113)]=function(_0x2fffe9,_0x312a4d){return _0x2fffe9===_0x312a4d;},_0x939c7b['ofYIE']='failed',_0x939c7b[_0x1e8d93(0xb9)]=function(_0x58c9d2,_0x45e6cd){return _0x58c9d2===_0x45e6cd;},_0x939c7b['ujZnD']=function(_0xbdc803,_0x27fad8){return _0xbdc803===_0x27fad8;},_0x939c7b['LzIzq']=_0x1e8d93(0x11c),_0x939c7b[_0x1e8d93(0x104)]=_0x1e8d93(0xe1),_0x939c7b[_0x1e8d93(0xf1)]=function(_0x3164a6,_0x7c523d){return _0x3164a6||_0x7c523d;};const _0x2f12b7=_0x939c7b,_0x22c6c4=_0x1ef319['testStepFinished'][_0x4c5340][_0x1e8d93(0xf2)];let _0x5d7761,_0x42f603;return _0x22c6c4&&_0x2f12b7['CMgPN'](_0x22c6c4['status'][_0x1e8d93(0xea)]()[_0x1e8d93(0xac)](),_0x2f12b7[_0x1e8d93(0x124)])&&(_0x5d7761=_0x2f12b7[_0x1e8d93(0xb9)](_0x22c6c4['exception'],undefined)?_0x22c6c4[_0x1e8d93(0x112)]:_0x22c6c4[_0x1e8d93(0x125)][_0x1e8d93(0x112)],_0x42f603=_0x2f12b7[_0x1e8d93(0x118)](_0x22c6c4['exception'],undefined)?_0x2f12b7['LzIzq']:_0x22c6c4[_0x1e8d93(0x112)][_0x1e8d93(0xa7)](/Assert/)?_0x2f12b7[_0x1e8d93(0x104)]:_0x2f12b7[_0x1e8d93(0xec)]),{'status':_0x22c6c4[_0x1e8d93(0xa8)][_0x1e8d93(0xac)](),'failureType':_0x2f12b7['MUThl'](_0x42f603,null),'failureData':!_0x5d7761?null:[_0x5d7761]};}[a8_0x1f400a(0xd8)](_0x6e73a4,_0xeea9b8){const _0x515a1e=a8_0x1f400a,_0x2ddf8a={};_0x2ddf8a[_0x515a1e(0x135)]=function(_0x1a6ba8,_0x20ced8){return _0x1a6ba8===_0x20ced8;},_0x2ddf8a[_0x515a1e(0xcd)]='AFTER_EACH',_0x2ddf8a[_0x515a1e(0xab)]=_0x515a1e(0x133);const _0x537e20=_0x2ddf8a;let _0x3f0ca2=![];for(const _0x4c514e of _0x6e73a4){_0x4c514e[_0x515a1e(0xdd)]&&(_0x3f0ca2=!![]);if(_0x537e20[_0x515a1e(0x135)](_0xeea9b8['id'],_0x4c514e['id']))return _0x3f0ca2?_0x537e20[_0x515a1e(0xcd)]:_0x537e20[_0x515a1e(0xab)];}}['getScenarioExamples']=(_0x420b8d,_0x265cc5)=>{const _0x263c27=a8_0x1f400a,_0x58e1da={};_0x58e1da[_0x263c27(0x109)]=function(_0x4fa02a,_0x1919c3){return _0x4fa02a===_0x1919c3;},_0x58e1da[_0x263c27(0xb3)]=function(_0x38a1e0,_0x16d5e4){return _0x38a1e0===_0x16d5e4;},_0x58e1da[_0x263c27(0xd1)]=function(_0x3765cb,_0x2306f9){return _0x3765cb>_0x2306f9;};const _0xe9dcb7=_0x58e1da;if(!(_0x265cc5['astNodeIds']&&_0xe9dcb7[_0x263c27(0xd1)](_0x265cc5['astNodeIds'][_0x263c27(0xd4)],0x1)))return;const _0xe03f28=_0x265cc5['astNodeIds'][0x0],_0x44b7d2=_0x265cc5[_0x263c27(0xc7)][0x1],_0x44b058=_0x420b8d['feature']&&_0x420b8d['feature'][_0x263c27(0xf0)]?_0x420b8d[_0x263c27(0xe8)][_0x263c27(0xf0)]:undefined;let _0xce62e5=[];_0x44b058&&_0x44b058[_0x263c27(0xed)](_0x48dcbf=>{const _0x3b0f5d=_0x263c27;if(_0x48dcbf['rule'])_0x48dcbf[_0x3b0f5d(0x11a)][_0x3b0f5d(0xf0)][_0x3b0f5d(0xed)](_0x4224c8=>{const _0x298f10=_0x3b0f5d;if(_0x4224c8['scenario']&&_0xe9dcb7['dGZre'](_0x4224c8[_0x298f10(0x120)]['id'],_0xe03f28)&&_0x4224c8[_0x298f10(0x120)]['examples']){const _0x565a24=_0x4224c8[_0x298f10(0x120)][_0x298f10(0xdf)][_0x298f10(0xc3)](_0x125dae=>_0x125dae[_0x298f10(0xb2)])[_0x298f10(0x121)](_0x47d815=>_0x47d815['id']===_0x44b7d2);let _0x4e0125;_0x565a24&&_0x565a24[_0x298f10(0x132)]?_0x4e0125=_0x565a24[_0x298f10(0x132)][_0x298f10(0xcf)](_0x112f8a=>_0x112f8a['value']):_0x4e0125=[],_0x4e0125&&(_0xce62e5=_0x4e0125);}});else{if(_0x48dcbf[_0x3b0f5d(0x120)]&&_0xe9dcb7[_0x3b0f5d(0xb3)](_0x48dcbf[_0x3b0f5d(0x120)]['id'],_0xe03f28)&&_0x48dcbf['scenario'][_0x3b0f5d(0xdf)]){const _0x12df7a=_0x48dcbf['scenario'][_0x3b0f5d(0xdf)][_0x3b0f5d(0xc3)](_0x3d5408=>_0x3d5408[_0x3b0f5d(0xb2)])['find'](_0x590af6=>_0x590af6['id']===_0x44b7d2);let _0x2a97f9;_0x12df7a&&_0x12df7a['cells']?_0x2a97f9=_0x12df7a['cells'][_0x3b0f5d(0xcf)](_0x2ce9bb=>_0x2ce9bb['value']):_0x2a97f9=[],_0x2a97f9&&(_0xce62e5=_0x2a97f9);}}});if(_0xce62e5[_0x263c27(0xd4)])return _0xce62e5;return;};async[a8_0x1f400a(0xd0)](){const _0x1cecb0=a8_0x1f400a,_0x218ea8={'bnFwx':function(_0x100dd8){return _0x100dd8();}};if(this[_0x1cecb0(0x10a)])return this[_0x1cecb0(0xbe)];const _0x24698e=await _0x218ea8[_0x1cecb0(0xe0)](getGitMetaData);_0x24698e&&(this['_gitConfigPath']=_0x24698e[_0x1cecb0(0xc8)]),this[_0x1cecb0(0x10a)]=!![];}}module[a8_0x1f400a(0xf3)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x1f400a(0xd0),a8_0x1f400a(0x119),a8_0x1f400a(0xd8),a8_0x1f400a(0xb6),'sendHook',a8_0x1f400a(0x139),a8_0x1f400a(0x10f)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x3853f1=a9_0x7e77;function a9_0x7e77(_0x2d88d1,_0x267bd9){const _0x2574b6=a9_0x2574();return a9_0x7e77=function(_0x7e778a,_0x144f90){_0x7e778a=_0x7e778a-0x70;let _0x44b874=_0x2574b6[_0x7e778a];return _0x44b874;},a9_0x7e77(_0x2d88d1,_0x267bd9);}(function(_0x134955,_0x123542){const _0x521f2c=a9_0x7e77,_0x31615e=_0x134955();while(!![]){try{const _0x4a2d27=parseInt(_0x521f2c(0x70))/0x1*(-parseInt(_0x521f2c(0xa3))/0x2)+parseInt(_0x521f2c(0x151))/0x3*(-parseInt(_0x521f2c(0x98))/0x4)+parseInt(_0x521f2c(0xe1))/0x5+-parseInt(_0x521f2c(0xd8))/0x6*(-parseInt(_0x521f2c(0x11c))/0x7)+parseInt(_0x521f2c(0xd0))/0x8*(-parseInt(_0x521f2c(0x171))/0x9)+-parseInt(_0x521f2c(0x165))/0xa*(-parseInt(_0x521f2c(0x169))/0xb)+parseInt(_0x521f2c(0x11d))/0xc;if(_0x4a2d27===_0x123542)break;else _0x31615e['push'](_0x31615e['shift']());}catch(_0x317ab0){_0x31615e['push'](_0x31615e['shift']());}}}(a9_0x2574,0x630b2));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x3853f1(0x160)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x3853f1(0x15d)),setKeepAlive=require(a9_0x3853f1(0x11a)),util=require(a9_0x3853f1(0xfd)),PerformanceTester=require(a9_0x3853f1(0x124)),{EVENTS:PerformanceEvents}=require(a9_0x3853f1(0xbe)),{commandRepository}=require(a9_0x3853f1(0xb9)),cucumberModule=requireModule(a9_0x3853f1(0x162),'@cucumber/cucumber'),logger=require(a9_0x3853f1(0x13f))[a9_0x3853f1(0x90)],{shouldProcessEventForTesthub}=require(a9_0x3853f1(0xa5)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x3853f1(0xac)),TestDetails=require(a9_0x3853f1(0xf9)),TestInfo=require(a9_0x3853f1(0xc6)),RequestQueueHandler=require(a9_0x3853f1(0x73)),{o11yErrorHandler}=require(a9_0x3853f1(0xdf)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x3853f1(0x175)),scripts=require(a9_0x3853f1(0xaf)),globals=require(a9_0x3853f1(0xea)),testHubConstants=require(a9_0x3853f1(0xf6)),{shouldScanTestForAccessibility}=require(a9_0x3853f1(0x16a)),{isUndefined}=require(a9_0x3853f1(0xda)),helper=require(a9_0x3853f1(0x160)),a9_0x5780c1={};a9_0x5780c1['workerInfo']=undefined,a9_0x5780c1[a9_0x3853f1(0x9a)]={},a9_0x5780c1[a9_0x3853f1(0xa0)]=![],a9_0x5780c1[a9_0x3853f1(0x108)]=null,a9_0x5780c1[a9_0x3853f1(0x97)]=![],a9_0x5780c1[a9_0x3853f1(0x9a)]['id']=undefined,a9_0x5780c1[a9_0x3853f1(0x9a)]['testInfo']=undefined;const workerDetails=a9_0x5780c1;global[a9_0x3853f1(0x9c)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x9b890){const _0x149903=a9_0x3853f1,_0x4814e5={'XzUac':function(_0xd901a6,_0x1c9052){return _0xd901a6(_0x1c9052);},'wTEVE':_0x149903(0x104),'pCqkY':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x4053ba=workerDetails[_0x149903(0x9a)][_0x149903(0x9f)];if(!_0x4053ba)return;if(playwrightPatcher)try{const _0x3ebab7=_0x4814e5[_0x149903(0x101)](require,_0x4814e5['wTEVE']);if(_0x3ebab7[_0x149903(0x87)]()['isRunning']()){const _0x30064e=_0x4053ba[_0x149903(0x10f)];_0x30064e?(_0x9b890['uuid']=_0x30064e,_0x9b890[_0x149903(0x146)]=_0x30064e,TestInfo['storeLogObjects'](_0x30064e,_0x9b890)):logger['debug'](_0x4814e5['pCqkY']);return;}}catch(_0x49f2c3){logger[_0x149903(0x138)](_0x149903(0x167)+util[_0x149903(0xa4)](_0x49f2c3));}await MyReporter[_0x149903(0x150)](_0x4053ba,_0x9b890);}),registerListeners=()=>{const _0x5a26b5=a9_0x3853f1,_0x165fdc={};_0x165fdc[_0x5a26b5(0xbb)]=_0x5a26b5(0x9e);const _0x348cb8=_0x165fdc;logger[_0x5a26b5(0x138)](_0x348cb8[_0x5a26b5(0xbb)]),process[_0x5a26b5(0x95)](_0x5a26b5(0x117)+process['pid']),process['on'](_0x5a26b5(0x117)+process[_0x5a26b5(0x72)],sendTestLog),PerformanceTester[_0x5a26b5(0xed)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x3853f1(0xce)],AfterAll=cucumberModule[a9_0x3853f1(0x75)],BeforeAll=cucumberModule[a9_0x3853f1(0x148)],AfterStep=cucumberModule[a9_0x3853f1(0x7e)],configuration=process[a9_0x3853f1(0xde)][a9_0x3853f1(0x7b)],bstackConfig=process[a9_0x3853f1(0xde)][a9_0x3853f1(0x71)];if(configuration!==undefined){const config=JSON[a9_0x3853f1(0x92)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config['skipSessionName']),global[a9_0x3853f1(0xdc)]=isTrue(config[a9_0x3853f1(0x115)])):(global['__skipSessionName']=!![],global[a9_0x3853f1(0xdc)]=!![]);!helper[a9_0x3853f1(0xd9)](a9_0x3853f1(0xca))&&(logger[a9_0x3853f1(0x138)](a9_0x3853f1(0xc4)),shouldProcessEventForTesthub()?require(a9_0x3853f1(0xa7))[a9_0x3853f1(0x7a)](config,null,!![]):require(a9_0x3853f1(0xa7))[a9_0x3853f1(0x7a)](config));global[a9_0x3853f1(0x7d)]=config[a9_0x3853f1(0xdd)]||{},global[a9_0x3853f1(0xc9)]=config[a9_0x3853f1(0xb6)];if(helper[a9_0x3853f1(0xd9)]('@playwright/test'))try{logger[a9_0x3853f1(0x138)](a9_0x3853f1(0x11e)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x3853f1(0xfc)](config),logger[a9_0x3853f1(0x138)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x4ee635){logger[a9_0x3853f1(0x138)](a9_0x3853f1(0xe8)+util[a9_0x3853f1(0xa4)](a9_0x4ee635));}}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x3853f1(0x128)](browserStackConfig),commandRepository[a9_0x3853f1(0xf2)](a9_0x3853f1(0xb2)));}global[a9_0x3853f1(0x156)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x3853f1(0x82)];cucumberModule[a9_0x3853f1(0x82)]=_0x3adfa1=>{const _0x133587=a9_0x3853f1,_0x42fc03={'qfGiY':function(_0x16a6fd,_0x30909c){return _0x16a6fd(_0x30909c);}};global[_0x133587(0x156)]=_0x3adfa1,_0x42fc03[_0x133587(0x135)](__setDefaultTimeout,_0x3adfa1);};const a9_0x51a19e={};a9_0x51a19e['name']=a9_0x3853f1(0xf5),BeforeAll(a9_0x51a19e,async function(){const _0x1adf58=a9_0x3853f1,_0x335ffa={'NtIQT':function(_0x29778c,_0x155f25,_0x4ebab2,_0x17fce4){return _0x29778c(_0x155f25,_0x4ebab2,_0x17fce4);},'iCWzK':_0x1adf58(0xd5),'kATXB':_0x1adf58(0x8d),'mulPR':function(_0x49e997,_0x457a88,_0xf003ed){return _0x49e997(_0x457a88,_0xf003ed);},'TgmSU':_0x1adf58(0xb5),'KcLJX':'Inside\x20browserstack\x20BeforeAll','vsZiL':function(_0x87026,_0x58f538){return _0x87026(_0x58f538);},'EqtQe':_0x1adf58(0x104),'WTFCD':function(_0x36f726,_0x5df67d){return _0x36f726(_0x5df67d);},'pSIYT':_0x1adf58(0x129),'JyRKV':_0x1adf58(0x78),'ocArI':function(_0x4d564d){return _0x4d564d();},'owKPY':function(_0x898dac){return _0x898dac();},'ygwNS':function(_0x505740,_0x1a2114){return _0x505740(_0x1a2114);}};PerformanceTester['startMonitoring'](),logger[_0x1adf58(0x138)](_0x335ffa[_0x1adf58(0x120)]),global[_0x1adf58(0xf0)]=[],global[_0x1adf58(0x155)]=![];if(playwrightPatcher)try{const _0xdd369=_0x335ffa[_0x1adf58(0xf3)](require,_0x335ffa[_0x1adf58(0x159)]),_0x39144a=_0x335ffa[_0x1adf58(0x16b)](require,_0x335ffa['pSIYT']);_0xdd369[_0x1adf58(0x87)]()[_0x1adf58(0x119)]()&&(logger[_0x1adf58(0x138)](_0x335ffa[_0x1adf58(0x11f)]),_0x39144a[_0x1adf58(0x77)](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x1adf58(0x140)]),await _0xdd369[_0x1adf58(0x87)]()['bootstrap']());}catch(_0x1016e5){logger[_0x1adf58(0x138)](_0x1adf58(0xb0)+util['format'](_0x1016e5));}_0x335ffa[_0x1adf58(0xcb)](shouldProcessEventForTesthub)&&(_0x335ffa['owKPY'](registerListeners),_0x335ffa[_0x1adf58(0x88)](addRequestSpy,![])),global[_0x1adf58(0x74)]=async()=>{const _0x25f7a0=_0x1adf58;let _0x601d85=![];try{global[_0x25f7a0(0xbd)]&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x25f7a0(0x12c)],_0x601d85=!![],global['__sessionFailed']?await _0x335ffa[_0x25f7a0(0x132)](markSessionStatus,global[_0x25f7a0(0xbd)][0x0],_0x335ffa[_0x25f7a0(0xc7)],global['__error_messages__']['join'](_0x335ffa[_0x25f7a0(0x15b)])):await _0x335ffa[_0x25f7a0(0x13c)](markSessionStatus,global[_0x25f7a0(0xbd)][0x0],_0x335ffa[_0x25f7a0(0xf1)]));}catch(_0x3f6c37){logger[_0x25f7a0(0x138)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x3f6c37);}global['__error_messages__']=[],global[_0x25f7a0(0x155)]=![];if(_0x601d85)try{await global[_0x25f7a0(0xbd)][0x0][_0x25f7a0(0xe5)](),global[_0x25f7a0(0xbd)][0x0][_0x25f7a0(0x12c)]['then'](_0x3bd7cb=>{const _0x8b5abc=_0x25f7a0;logger['debug'](_0x8b5abc(0x12a)+_0x3bd7cb[_0x8b5abc(0xd7)]());})[_0x25f7a0(0x12b)](_0x39d1c7=>{});}catch(_0x498acb){logger[_0x25f7a0(0x138)](_0x25f7a0(0x10e)+_0x498acb);}};});const a9_0x20ceba={};a9_0x20ceba[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x20ceba[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],Before(a9_0x20ceba,function(_0x5ac555,_0x4af2f0){const _0x1da39a=a9_0x3853f1,_0x2c629c={'TEsUo':function(_0x4f27ee,_0x3b709d){return _0x4f27ee>_0x3b709d;},'gqNBE':function(_0x13ae0a,_0x47246a){return _0x13ae0a>_0x47246a;},'oykfn':function(_0x24a49b,_0x2e9888){return _0x24a49b(_0x2e9888);},'QdWNg':function(_0x3e69fe,_0x2729db,_0x56ad64,_0x2093c4){return _0x3e69fe(_0x2729db,_0x56ad64,_0x2093c4);},'EZBIU':_0x1da39a(0xfe),'ILjhK':function(_0x179cc0,_0x56899b){return _0x179cc0(_0x56899b);},'IxVVu':_0x1da39a(0x104),'IqPVt':function(_0xbb8044,_0x5162ad){return _0xbb8044(_0x5162ad);},'GftoK':_0x1da39a(0xcc),'PpIOS':function(_0x1d5130,_0x1a5440){return _0x1d5130(_0x1a5440);},'LDwfp':_0x1da39a(0xc3),'BaxUQ':'Unknown\x20Test','vJbLU':_0x1da39a(0x12d),'GUIsC':function(_0x490479){return _0x490479();},'RoBDM':_0x1da39a(0x100)};commandRepository[_0x1da39a(0x81)](_0x5ac555[_0x1da39a(0xd4)]['name']),logger['debug'](_0x2c629c[_0x1da39a(0xa9)]),new Promise(async _0x2fce3a=>{const _0x23493d=_0x1da39a;try{global[_0x23493d(0xbd)]&&_0x2c629c['TEsUo'](global[_0x23493d(0xbd)][_0x23493d(0x131)],0x1)&&(await global[_0x23493d(0x74)](),global[_0x23493d(0xbd)][_0x23493d(0x10b)]()),global[_0x23493d(0xbd)]&&global['__drivers'][0x0]&&global[_0x23493d(0xbd)][0x0][_0x23493d(0xa2)]&&_0x2c629c['gqNBE'](global[_0x23493d(0xbd)][0x0][_0x23493d(0xa2)],0x0)&&await global[_0x23493d(0x74)]();}catch(_0x2061d2){logger[_0x23493d(0x138)](_0x23493d(0xd1)+_0x2061d2);}workerDetails[_0x23493d(0x9a)]['testInfo']=_0x5ac555;if(!playwrightPatcher){try{if(!_0x2c629c[_0x23493d(0x9d)](isUndefined,_0x5ac555[_0x23493d(0xd4)][_0x23493d(0xe2)])){const _0x46be94=_0x2c629c[_0x23493d(0x14c)](shouldScanTestForAccessibility,null,![],_0x5ac555['pickle'][_0x23493d(0xe2)][_0x23493d(0x109)](({name:_0x4d0511})=>_0x4d0511));globals[_0x23493d(0xba)](_0x2c629c['EZBIU'],_0x46be94);}}catch(_0x35cd27){logger[_0x23493d(0x138)](_0x23493d(0xa6)+util[_0x23493d(0xa4)](_0x35cd27));}workerDetails[_0x23493d(0x9a)][_0x23493d(0x149)]=TestDetails[_0x23493d(0x144)](_0x5ac555[_0x23493d(0x10f)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x23493d(0x14f)](_0x5ac555),global[_0x23493d(0x9c)]&&global[_0x23493d(0x9c)]['pwPage']&&playwrightPatcher[_0x23493d(0xcf)](global[_0x23493d(0x9c)][_0x23493d(0x108)]);}catch(_0x4c5f55){logger[_0x23493d(0x138)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x23493d(0xa4)](_0x4c5f55));}if(playwrightPatcher)try{const _0xa1adf9=_0x2c629c['ILjhK'](require,_0x2c629c[_0x23493d(0x94)]),_0x2c3c88=_0x2c629c[_0x23493d(0xb3)](require,_0x2c629c[_0x23493d(0x15e)]),_0x320029=_0x2c629c[_0x23493d(0xf8)](require,_0x2c629c['LDwfp']);if(_0xa1adf9[_0x23493d(0x87)]()[_0x23493d(0x122)]()){const _0x3f9075={'title':_0x5ac555['pickle'][_0x23493d(0x10a)]||_0x2c629c[_0x23493d(0x86)],'titlePath':[_0x5ac555['pickle'][_0x23493d(0x10a)]||_0x2c629c[_0x23493d(0x86)]],'id':_0x5ac555[_0x23493d(0x10f)]||_0x2c629c[_0x23493d(0x158)],'tags':_0x5ac555['pickle'][_0x23493d(0xe2)]||[],..._0x5ac555},_0x57dae9=_0x3f9075;global[_0x23493d(0xee)]=_0x57dae9,logger['debug'](_0x23493d(0x106)+_0x5ac555[_0x23493d(0xd4)][_0x23493d(0x10a)]);}}catch(_0x3fcd8c){logger['debug']('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x23493d(0xa4)](_0x3fcd8c));}_0x2c629c[_0x23493d(0x107)](_0x2fce3a);})[_0x1da39a(0x15a)](_0x4af2f0);});const a9_0x3fab95={};a9_0x3fab95[a9_0x3853f1(0x10a)]='bstack',a9_0x3fab95['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],After(a9_0x3fab95,function(_0x1d5fc4,_0x5c3c62){const _0x190e8a=a9_0x3853f1,_0x2653f4={'FMEAg':function(_0x4d7332,_0x28ceb4){return _0x4d7332>_0x28ceb4;},'KWGsv':function(_0x2b4ddd,_0x2c770c){return _0x2b4ddd===_0x2c770c;},'qfmtH':_0x190e8a(0xd5),'qdvqD':function(_0x242700,_0x18eb11){return _0x242700>_0x18eb11;},'uGHbL':function(_0x1445eb,_0x54c7fa,_0x3b8248,_0x172592){return _0x1445eb(_0x54c7fa,_0x3b8248,_0x172592);},'sGRwR':_0x190e8a(0x8d),'WNAFd':function(_0x16a22a,_0x444d32,_0x1c74b9){return _0x16a22a(_0x444d32,_0x1c74b9);},'SEDIo':_0x190e8a(0xb5),'yEHmz':function(_0x2c3309,_0xd2cc17){return _0x2c3309(_0xd2cc17);},'nWgtU':_0x190e8a(0x104),'FAcsS':_0x190e8a(0xcc),'HFBYQ':_0x190e8a(0xc3),'qlTET':_0x190e8a(0x102),'owbqb':_0x190e8a(0x12d),'XUtDM':_0x190e8a(0x83),'UtqqC':_0x190e8a(0xbf),'TdRDb':_0x190e8a(0x163),'hDeqz':_0x190e8a(0x8a),'FkdqD':_0x190e8a(0xcd),'QKACi':function(_0x52dd8a,_0x10b6ac){return _0x52dd8a(_0x10b6ac);},'aYntx':_0x190e8a(0xff),'RrNqc':function(_0xead857){return _0xead857();},'AtIbO':function(_0x2d63a6,_0x4270d8,_0x385d25,_0x2dee48){return _0x2d63a6(_0x4270d8,_0x385d25,_0x2dee48);},'TTSFH':'CBTSessionCreated','IRhPW':_0x190e8a(0x11b),'vMuQB':_0x190e8a(0xfe),'kzKla':_0x190e8a(0x96),'BSmRg':_0x190e8a(0x10c),'ICNfo':_0x190e8a(0xe0),'qkohH':_0x190e8a(0xbc),'gMTDD':function(_0x44c134,_0x46082d){return _0x44c134>_0x46082d;},'KMLsJ':function(_0x5b189c){return _0x5b189c();},'FxjRB':'Inside\x20browserstack\x20After'};logger[_0x190e8a(0x138)](_0x2653f4[_0x190e8a(0x153)]),workerDetails['currentTest']['testInfo']=_0x1d5fc4,new Promise(async _0x17969b=>{const _0x32704f=_0x190e8a;let _0x393562=![],_0x2d8fb3=![],_0x149109=![];try{global[_0x32704f(0xbd)]&&_0x2653f4['FMEAg'](global[_0x32704f(0xbd)][_0x32704f(0x131)],0x0)&&(_0x2d8fb3=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x32704f(0x9c)][_0x32704f(0x108)]&&(_0x149109=!![],logger['debug']('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x32704f(0x9c)][_0x32704f(0x108)]));}catch(_0x4325d4){logger[_0x32704f(0x138)](_0x32704f(0xb4)+_0x4325d4);}logger[_0x32704f(0x138)](_0x32704f(0x166)+_0x2d8fb3+',\x20isPlaywrightFlow='+_0x149109);const _0x3dbd9b=_0x1d5fc4[_0x32704f(0x14e)][_0x32704f(0x173)]['toString']()[_0x32704f(0x143)](),_0x49e9b7=_0x2653f4[_0x32704f(0x9b)](_0x3dbd9b,_0x2653f4[_0x32704f(0xe3)])||_0x2653f4[_0x32704f(0x9b)](_0x3dbd9b,'6'),_0x411461=_0x49e9b7?_0x1d5fc4[_0x32704f(0x14e)]['message']:null;if(_0x49e9b7)try{global[_0x32704f(0xf0)]['push'](_0x1d5fc4[_0x32704f(0x14e)][_0x32704f(0x14b)]),global[_0x32704f(0x155)]=!![];}catch(_0x53bc7a){logger[_0x32704f(0x138)](_0x32704f(0xeb)+_0x53bc7a);}if(_0x2d8fb3)try{global[_0x32704f(0xbd)]&&_0x2653f4['qdvqD'](global[_0x32704f(0xbd)][_0x32704f(0x131)],0x1)&&(await global[_0x32704f(0x74)](),global['__drivers'][_0x32704f(0x10b)](),global[_0x32704f(0xf0)]=[],global[_0x32704f(0x155)]=![]),global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(await global[_0x32704f(0xbd)][0x0]['session_'],_0x393562=!![],!global[_0x32704f(0x168)]&&await global[_0x32704f(0xbd)][0x0][_0x32704f(0xa1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x1d5fc4[_0x32704f(0xd4)][_0x32704f(0x10a)]+'\x22}}'),_0x49e9b7?await _0x2653f4[_0x32704f(0x141)](markSessionStatus,global[_0x32704f(0xbd)][0x0],_0x2653f4[_0x32704f(0xe3)],global[_0x32704f(0xf0)]['join'](_0x2653f4['sGRwR'])):await _0x2653f4[_0x32704f(0x15c)](markSessionStatus,global[_0x32704f(0xbd)][0x0],_0x2653f4[_0x32704f(0x147)]));}catch(_0x3d048c){logger['debug'](_0x32704f(0xd6)+util[_0x32704f(0xa4)](_0x3d048c));}if(_0x149109)try{try{const _0x1a4ffc=_0x2653f4[_0x32704f(0xc5)](require,_0x2653f4[_0x32704f(0x123)]),_0x3e25aa=_0x2653f4[_0x32704f(0xc5)](require,_0x2653f4[_0x32704f(0x89)]),_0x251995=_0x2653f4['yEHmz'](require,_0x2653f4[_0x32704f(0x125)]);if(_0x1a4ffc[_0x32704f(0x87)]()[_0x32704f(0x122)]()){const _0x1bb5ef={'title':_0x1d5fc4[_0x32704f(0xd4)][_0x32704f(0x10a)]||_0x2653f4[_0x32704f(0xef)],'titlePath':[_0x1d5fc4['pickle'][_0x32704f(0x10a)]||_0x2653f4[_0x32704f(0xef)]],'id':_0x1d5fc4[_0x32704f(0x10f)]||_0x2653f4['owbqb'],'status':_0x49e9b7?_0x2653f4['qfmtH']:_0x2653f4[_0x32704f(0x147)],'error':_0x411461?{'message':_0x411461}:null,'tags':_0x1d5fc4[_0x32704f(0xd4)]['tags']||[],..._0x1d5fc4},_0x21bb39=_0x1bb5ef,_0x46d326={};_0x46d326[_0x32704f(0x9f)]=_0x21bb39,_0x46d326[_0x32704f(0xb7)]=_0x1d5fc4,_0x46d326[_0x32704f(0x145)]=global[_0x32704f(0x9c)][_0x32704f(0x108)],_0x46d326['testFramework']=FRAMEWORKS[_0x32704f(0xad)],await _0x1a4ffc[_0x32704f(0x87)]()['getAutomationFramework']()['trackEvent'](_0x3e25aa[_0x32704f(0x142)],_0x251995[_0x32704f(0x14d)],_0x46d326),logger[_0x32704f(0x138)](_0x32704f(0x13b)+_0x1d5fc4[_0x32704f(0xd4)]['name']);}}catch(_0x2a7fae){logger[_0x32704f(0x138)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x32704f(0xa4)](_0x2a7fae));}const _0x5aea1a=_0x49e9b7?_0x2653f4['qfmtH']:_0x2653f4[_0x32704f(0x147)];await playwrightPatcher['afterTestHook'](_0x1d5fc4,_0x5aea1a,_0x411461),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x172)]);try{await playwrightPatcher[_0x32704f(0x170)](),logger[_0x32704f(0x138)](_0x2653f4['UtqqC']);}catch(_0x38576d){logger['debug'](_0x32704f(0x152)+util[_0x32704f(0xa4)](_0x38576d));}try{playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x16e)]);}catch(_0x523e03){logger[_0x32704f(0x138)](_0x32704f(0x16d)+util[_0x32704f(0xa4)](_0x523e03));}}catch(_0x760fc0){logger[_0x32704f(0x138)](_0x32704f(0x76)+util['format'](_0x760fc0));try{playwrightPatcher[_0x32704f(0x170)]&&(await playwrightPatcher[_0x32704f(0x170)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0xec)])),playwrightPatcher[_0x32704f(0xd2)]&&playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)]&&(playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x127)]));}catch(_0x146b76){logger[_0x32704f(0x138)]('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x32704f(0xa4)](_0x146b76));}}const _0x2c888e=_0x2653f4[_0x32704f(0x13d)](require,_0x2653f4[_0x32704f(0x112)]);if(!_0x2c888e[_0x32704f(0x87)]()[_0x32704f(0x122)]())try{if(_0x2653f4[_0x32704f(0x174)](shouldProcessEventForTesthub)){const _0xb6796a=TestDetails[_0x32704f(0x144)](_0x1d5fc4['testCaseStartedId']);let _0x4011f1=null;global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(_0x4011f1=await _0x2653f4['AtIbO'](sendPlatformDetails,global[_0x32704f(0xbd)][0x0],_0xb6796a,!![]));const _0x37a2cb={};_0x37a2cb[_0x32704f(0x13a)]=_0xb6796a,_0x37a2cb[_0x32704f(0x161)]=_0x4011f1;const _0x201b1d=_0x37a2cb,_0x580c43={};_0x580c43[_0x32704f(0x8f)]=_0x2653f4[_0x32704f(0x121)],_0x580c43[_0x32704f(0x103)]=_0x201b1d,await SessionHandler[_0x32704f(0x16c)](_0x580c43);}}catch(_0x5ac994){logger['debug'](_0x32704f(0x79)+util[_0x32704f(0xa4)](_0x5ac994));}try{if(globals[_0x32704f(0xa8)](_0x2653f4[_0x32704f(0xab)])&&globals['getGlobal'](_0x2653f4[_0x32704f(0x154)])){logger[_0x32704f(0x126)](_0x2653f4[_0x32704f(0x91)]);const _0x4d4f04=TestDetails['getTestUUID'](_0x1d5fc4[_0x32704f(0x10f)]),_0x2f1e30={};_0x2f1e30['thTestRunUuid']=_0x4d4f04,_0x2f1e30[_0x32704f(0x80)]=process[_0x32704f(0xde)][testHubConstants[_0x32704f(0x164)]['BROWSERSTACK_TESTHUB_UUID']],_0x2f1e30[_0x32704f(0x99)]=process[_0x32704f(0xde)][testHubConstants[_0x32704f(0x164)][_0x32704f(0xb1)]];const _0x44a588=_0x2f1e30;logger[_0x32704f(0x138)](_0x32704f(0x113)+JSON[_0x32704f(0x93)](_0x44a588)),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x133)]),global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(logger[_0x32704f(0x138)](util[_0x32704f(0xa4)](await global[_0x32704f(0xbd)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x32704f(0xc1)]}))),globals['getGlobal'](_0x2653f4[_0x32704f(0xaa)])&&(_0x44a588[_0x32704f(0xf4)]=!![]),await global['__drivers'][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x44a588)),logger[_0x32704f(0x126)](_0x2653f4[_0x32704f(0x10d)]);}}catch(_0x15e50c){logger['error'](_0x32704f(0x114)+util[_0x32704f(0xa4)](_0x15e50c));}if(_0x393562)try{global[_0x32704f(0xbd)][0x0]&&_0x2653f4[_0x32704f(0x105)](global[_0x32704f(0xbd)][0x0][_0x32704f(0xa2)],0x0)&&await global[_0x32704f(0xbd)][0x0]['initQuit']();}catch(_0x5eb7b5){logger['debug']('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x5eb7b5);}_0x2653f4['KMLsJ'](_0x17969b);})[_0x190e8a(0x15a)](()=>_0x5c3c62());});const a9_0x5f3122={};a9_0x5f3122[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x5f3122[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],AfterStep(a9_0x5f3122,function(_0x2d7c5f,_0x17f658){const _0x2bfc5e=a9_0x3853f1,_0x546038={'pbDsX':function(_0x3edcdf,_0x1d92c){return _0x3edcdf===_0x1d92c;},'JGPgd':_0x2bfc5e(0xd5),'JxBXL':function(_0x393d6f,_0x209aa4){return _0x393d6f===_0x209aa4;},'vfvtK':function(_0x9d0775,_0x5cd8b5){return _0x9d0775!==_0x5cd8b5;},'FgMBq':function(_0x4d2bd1,_0x5741ed,_0x3a08df){return _0x4d2bd1(_0x5741ed,_0x3a08df);},'JQket':function(_0x554eb6,_0x4348c4){return _0x554eb6+_0x4348c4;},'XNMMn':function(_0x28da9,_0x5d102e){return _0x28da9+_0x5d102e;},'vPPix':_0x2bfc5e(0x116),'fWLSa':_0x2bfc5e(0x110),'ShxRh':'error','HfIyQ':function(_0x133ea5,_0x435ca4,_0x395451){return _0x133ea5(_0x435ca4,_0x395451);},'UPTGg':function(_0xf30057,_0x4e0078){return _0xf30057!==_0x4e0078;},'kdans':function(_0xcd4621,_0x1390a1){return _0xcd4621+_0x1390a1;},'psubC':_0x2bfc5e(0xb8),'CnsTH':_0x2bfc5e(0x126),'KVHUz':function(_0x37d4c3,_0x27f398,_0x605faf){return _0x37d4c3(_0x27f398,_0x605faf);},'sntvL':'Passed','hdeeL':function(_0x2c6a7d){return _0x2c6a7d();},'TMegq':_0x2bfc5e(0x136)};logger[_0x2bfc5e(0x138)](_0x546038[_0x2bfc5e(0x118)]);const _0x2524ef=async(_0x1fbf5e,_0x2eb416)=>{const _0x55ea28=_0x2bfc5e;global[_0x55ea28(0xbd)]&&global[_0x55ea28(0xbd)][0x0]&&await global[_0x55ea28(0xbd)][0x0][_0x55ea28(0xa1)](_0x55ea28(0xe9)+_0x1fbf5e+',\x22level\x22:\x20\x22'+_0x2eb416+_0x55ea28(0x12f));};new Promise(async _0xdd95e6=>{const _0x3e3043=_0x2bfc5e;try{const _0x83f38b=_0x546038['pbDsX'](_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x173)][_0x3e3043(0x85)]()[_0x3e3043(0x143)](),_0x546038[_0x3e3043(0xc0)])||_0x546038[_0x3e3043(0x15f)](_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x173)][_0x3e3043(0x85)]()['toLowerCase'](),'6');_0x83f38b?(global[_0x3e3043(0x155)]=!![],global[_0x3e3043(0xf0)][_0x3e3043(0x130)](_0x2d7c5f[_0x3e3043(0x14e)]['message']),_0x546038[_0x3e3043(0xe4)](_0x2d7c5f[_0x3e3043(0x8c)],undefined)?await _0x546038[_0x3e3043(0x13e)](_0x2524ef,JSON['stringify'](_0x546038[_0x3e3043(0x12e)](_0x546038['XNMMn'](_0x546038[_0x3e3043(0x12e)](_0x546038[_0x3e3043(0x16f)],'\x22'+_0x2d7c5f[_0x3e3043(0x8c)][_0x3e3043(0xe6)]+'\x22\x20'),_0x546038[_0x3e3043(0x134)]),_0x2d7c5f['result']['message'])),_0x546038[_0x3e3043(0x7f)]):await _0x546038[_0x3e3043(0x8b)](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038['XNMMn'](_0x546038[_0x3e3043(0x16f)],_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x14b)])),_0x546038[_0x3e3043(0x7f)])):_0x546038['UPTGg'](_0x2d7c5f['pickleStep'],undefined)?await _0x546038[_0x3e3043(0x8b)](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038['kdans'](_0x546038[_0x3e3043(0x84)],'\x22'+_0x2d7c5f[_0x3e3043(0x8c)]['text']+'\x22')),_0x546038['CnsTH']):await _0x546038['KVHUz'](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038[_0x3e3043(0x8e)]),_0x546038[_0x3e3043(0x7c)]),global[_0x3e3043(0xbd)]&&global[_0x3e3043(0xbd)][0x0]&&global['__drivers'][0x0]['session_']['then'](_0x1a5d2e=>{})[_0x3e3043(0x12b)](_0x1e4c68=>{const _0x21258f=_0x3e3043;logger[_0x21258f(0x138)](_0x21258f(0xe7)+util['format'](_0x1e4c68));});}catch(_0x158679){logger[_0x3e3043(0x138)]('Error:\x20at\x20After\x20Step:\x20'+_0x158679);}_0x546038[_0x3e3043(0x157)](_0xdd95e6);})[_0x2bfc5e(0x15a)](()=>_0x17f658());});function a9_0x2574(){const _0x1505b6=['1016eywqml','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','closeTracker','3|1|0|2|4','pickle','failed','Error:\x20at\x20After\x20(Selenium):\x20','getId','162GEQtgg','getPackageVersion','lodash','shutdown','__skipSessionStatus','platformCaps','env','../../helpers/test-observability/error-handler','isMobilePlatform','1629350ezJZrg','tags','qfmtH','vfvtK','initQuit','text','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Error\x20initializing\x20Playwright\x20patching:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/globals','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','hDeqz','startMonitoring','__currentTestInfo','qlTET','__error_messages__','TgmSU','setFramework','vsZiL','is_mobile_session','bstack','../../helpers/testhub/constants.js','timeout','PpIOS','../playwright/reporter/test-details.js','cleanup','Cucumber-JS','initializePlaywrightPatching','util','bstackA11yShouldScan','../v2/browserstackCLI.js','Inside\x20browserstack\x20Before','XzUac','Unknown\x20Test','test_run','../v2/browserstackCLI','gMTDD','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','GUIsC','pwPage','map','name','shift','Performing\x20scan\x20before\x20saving\x20results','qkohH','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','testCaseStartedId','\x0aError:\x20','Inside\x20browserstack\x20AfterAll','aYntx','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','skipSessionStatus','Failed:\x20','bs:addLog:','TMegq','isCliEnabled','../../helpers/setKeepAlive','isAccessibilityPlatform','166082BDybTg','6977352zFEPwy','Patching\x20Playwright','JyRKV','KcLJX','TTSFH','isRunning','nWgtU','../../helpers/performance/performance-tester','HFBYQ','info','FkdqD','setConfig','../v2/cliUtils','Error:\x20in\x20quitting\x20driver\x20','catch','session_','cucumber-test','JQket','\x22}}','push','length','NtIQT','BSmRg','fWLSa','qfGiY','Inside\x20browserstack\x20AfterStep','gbGWV','debug','TFiab','uuid','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','mulPR','QKACi','FgMBq','../../helpers/logger','PLAYWRIGHT','uGHbL','QUIT','toLowerCase','getTestUUID','page','test_run_uuid','SEDIo','BeforeAll','thTestRunUuid','stopMonitoring','message','QdWNg','PRE','result','beforeTestHook','addTestUIDAndReportLog','741vbRdfn','Error\x20executing\x20deferred\x20closes:\x20','FxjRB','vMuQB','__sessionFailed','__timeout','hdeeL','vJbLU','EqtQe','finally','kATXB','WNAFd','../utils/constants','GftoK','JxBXL','../../helpers/helper','integrations','@cucumber/cucumber/lib/index.js','Cleaned\x20up\x20close\x20tracker','ENV_VAR','230wczgkJ','Flow\x20detection:\x20isSeleniumFlow=','Error\x20sending\x20log\x20created\x20event:\x20','__skipSessionName','265001NnAeml','../../helpers/accessibility-automation/helper','WTFCD','uploadEventData','Error\x20cleaning\x20up\x20close\x20tracker:\x20','TdRDb','vPPix','executeDeferredCloses','31932DegGBo','XUtDM','status','RrNqc','../../helpers/test-observability/sessionHandler','11019bGNmsS','BSTACK_CONFIG','pid','../../helpers/test-observability/requestQueueHandler','driverCleanup','AfterAll','Error:\x20at\x20After\x20(Playwright):\x20','setFrameworkDetail','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','Error:\x20sendPlatformDetails\x20at\x20After:\x20','browserstackAgentV2','CONFIG','CnsTH','__platformCaps','AfterStep','ShxRh','thBuildUuid','setTestNameForHealingContext','setDefaultTimeout','Completed\x20Playwright\x20afterTestHook\x20execution','psubC','toString','BaxUQ','getInstance','ygwNS','FAcsS','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','HfIyQ','pickleStep','\x20|\x20','sntvL','event_type','winstonLogger','kzKla','parse','stringify','IxVVu','removeAllListeners','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isPageFixture','13036PVQaPk','thJwtToken','currentTest','KWGsv','__workerDetails','oykfn','Inside\x20browserstack\x20registerListeners','testInfo','o11ySyncDone','executeScript','quitCount_','80qrOTvM','format','../../helpers/testhub/utils','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','../../index','getGlobal','RoBDM','ICNfo','IRhPW','../../helpers/test-observability/utils','CUCUMBER','WHwVZ','../../helpers/accessibility-automation/scripts','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','BROWSERSTACK_TESTHUB_JWT','cucumber-js','IqPVt','Error\x20determining\x20test\x20flow:\x20','passed','platformIndex','scenario','Passed:\x20','../../helpers/ai-sdk/autoHealHelper','setGlobal','CFyGu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','__drivers','../../helpers/performance/constants','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','JGPgd','browserstackSessionName','Cleaned\x20up\x20Playwright\x20close\x20tracker','../v2/state/hookState','Patching\x20Selenium','yEHmz','../v2/TestInfo.js','iCWzK','KFvSS','browserstackPlatformIndex','@playwright/test','ocArI','../v2/state/automationFrameworkState','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','After','patchPageCommandsForAccessibility'];a9_0x2574=function(){return _0x1505b6;};return a9_0x2574();}const a9_0x5b44ef={};a9_0x5b44ef[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x5b44ef[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],AfterAll(a9_0x5b44ef,async function(_0x7b0c3c,_0x148770){const _0x584434=a9_0x3853f1,_0x4fc753={'WHwVZ':_0x584434(0xd3),'gbGWV':_0x584434(0xc2),'KFvSS':function(_0x478576){return _0x478576();},'TFiab':_0x584434(0x111)};logger[_0x584434(0x138)](_0x4fc753[_0x584434(0x139)]),await new Promise(async _0x326c7e=>{const _0x5b32a7=_0x584434,_0x225856=_0x4fc753[_0x5b32a7(0xae)]['split']('|');let _0x2a2575=0x0;while(!![]){switch(_0x225856[_0x2a2575++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x5b32a7(0x170)]&&(await playwrightPatcher[_0x5b32a7(0x170)](),playwrightPatcher[_0x5b32a7(0xd2)]&&playwrightPatcher['closeTracker'][_0x5b32a7(0xfa)](),logger[_0x5b32a7(0x138)](_0x4fc753[_0x5b32a7(0x137)]));}catch(_0x137eac){logger[_0x5b32a7(0x138)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util['format'](_0x137eac));}continue;case'1':PerformanceTester[_0x5b32a7(0x14a)]();continue;case'2':await global['driverCleanup']();continue;case'3':await RequestQueueHandler['getInstance']()[_0x5b32a7(0xdb)]();continue;case'4':_0x4fc753[_0x5b32a7(0xc8)](_0x326c7e);continue;}break;}});});
|
|
1
|
+
const a9_0x2fcb27=a9_0x14c4;(function(_0x2d7752,_0x54c5d8){const _0x45467b=a9_0x14c4,_0x2e83fe=_0x2d7752();while(!![]){try{const _0x4c9a37=parseInt(_0x45467b(0x1f8))/0x1*(-parseInt(_0x45467b(0x275))/0x2)+parseInt(_0x45467b(0x233))/0x3*(-parseInt(_0x45467b(0x18b))/0x4)+parseInt(_0x45467b(0x265))/0x5+parseInt(_0x45467b(0x1b9))/0x6+-parseInt(_0x45467b(0x241))/0x7+parseInt(_0x45467b(0x1a1))/0x8*(parseInt(_0x45467b(0x211))/0x9)+parseInt(_0x45467b(0x228))/0xa*(-parseInt(_0x45467b(0x1b1))/0xb);if(_0x4c9a37===_0x54c5d8)break;else _0x2e83fe['push'](_0x2e83fe['shift']());}catch(_0x56922f){_0x2e83fe['push'](_0x2e83fe['shift']());}}}(a9_0x19e4,0x69db9));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x2fcb27(0x247)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x2fcb27(0x1db)),setKeepAlive=require(a9_0x2fcb27(0x17e)),util=require(a9_0x2fcb27(0x25a)),PerformanceTester=require(a9_0x2fcb27(0x1cc)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x2fcb27(0x1a6)),cucumberModule=requireModule(a9_0x2fcb27(0x272),a9_0x2fcb27(0x1f9)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x2fcb27(0x18e)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x2fcb27(0x217)),TestDetails=require(a9_0x2fcb27(0x199)),TestInfo=require(a9_0x2fcb27(0x22c)),RequestQueueHandler=require(a9_0x2fcb27(0x210)),{o11yErrorHandler}=require(a9_0x2fcb27(0x1b0)),MyReporter=require(a9_0x2fcb27(0x253)),SessionHandler=require(a9_0x2fcb27(0x1ef)),scripts=require(a9_0x2fcb27(0x225)),globals=require(a9_0x2fcb27(0x1c7)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x2fcb27(0x207)),{isUndefined}=require(a9_0x2fcb27(0x1dc)),helper=require('../../helpers/helper'),a9_0x2a87bc={};function a9_0x14c4(_0x8be9f4,_0x308baa){const _0x19e4b0=a9_0x19e4();return a9_0x14c4=function(_0x14c496,_0x5e86ca){_0x14c496=_0x14c496-0x174;let _0x4789e4=_0x19e4b0[_0x14c496];return _0x4789e4;},a9_0x14c4(_0x8be9f4,_0x308baa);}a9_0x2a87bc['workerInfo']=undefined,a9_0x2a87bc[a9_0x2fcb27(0x1fe)]={},a9_0x2a87bc[a9_0x2fcb27(0x25f)]=![],a9_0x2a87bc[a9_0x2fcb27(0x1fd)]=null,a9_0x2a87bc['isPageFixture']=![],a9_0x2a87bc[a9_0x2fcb27(0x1fe)]['id']=undefined,a9_0x2a87bc[a9_0x2fcb27(0x1fe)][a9_0x2fcb27(0x1df)]=undefined;const workerDetails=a9_0x2a87bc;global[a9_0x2fcb27(0x269)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0xac8b29){const _0x25cbef=a9_0x2fcb27,_0x59f492={'KPUtM':function(_0x329161,_0x44dead){return _0x329161(_0x44dead);},'Bjpiz':'../v2/browserstackCLI','NYHjA':_0x25cbef(0x267)},_0x163320=workerDetails[_0x25cbef(0x1fe)][_0x25cbef(0x1df)];if(!_0x163320)return;if(playwrightPatcher)try{const _0x29ecba=_0x59f492[_0x25cbef(0x19e)](require,_0x59f492['Bjpiz']);if(_0x29ecba[_0x25cbef(0x17c)]()[_0x25cbef(0x209)]()){const _0x2eefae=_0x163320['testCaseStartedId'];_0x2eefae?(_0xac8b29[_0x25cbef(0x1a5)]=_0x2eefae,_0xac8b29[_0x25cbef(0x249)]=_0x2eefae,TestInfo[_0x25cbef(0x1fa)](_0x2eefae,_0xac8b29)):logger[_0x25cbef(0x1ed)](_0x59f492['NYHjA']);return;}}catch(_0x160a85){logger[_0x25cbef(0x1ed)](_0x25cbef(0x1e9)+util[_0x25cbef(0x1fb)](_0x160a85));}await MyReporter[_0x25cbef(0x26b)](_0x163320,_0xac8b29);}),registerListeners=()=>{const _0x105926=a9_0x2fcb27,_0x2159af={};_0x2159af[_0x105926(0x215)]=_0x105926(0x259);const _0x462c57=_0x2159af;logger['debug'](_0x462c57[_0x105926(0x215)]),process[_0x105926(0x246)]('bs:addLog:'+process[_0x105926(0x1ec)]),process['on'](_0x105926(0x1d3)+process['pid'],sendTestLog),PerformanceTester[_0x105926(0x1d4)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x2fcb27(0x183)],AfterAll=cucumberModule[a9_0x2fcb27(0x18a)],BeforeAll=cucumberModule[a9_0x2fcb27(0x21a)],AfterStep=cucumberModule['AfterStep'],configuration=process[a9_0x2fcb27(0x18f)]['CONFIG'],bstackConfig=process[a9_0x2fcb27(0x18f)][a9_0x2fcb27(0x261)];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global[a9_0x2fcb27(0x1e3)]=isTrue(config[a9_0x2fcb27(0x23c)]),global[a9_0x2fcb27(0x19b)]=isTrue(config['skipSessionStatus'])):(global[a9_0x2fcb27(0x1e3)]=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x2fcb27(0x1b6)](a9_0x2fcb27(0x180))&&(logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x184)),shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](config,null,!![]):require('../../index')[a9_0x2fcb27(0x20c)](config));global[a9_0x2fcb27(0x221)]=config[a9_0x2fcb27(0x264)]||{},global['browserstackPlatformIndex']=config[a9_0x2fcb27(0x1bd)];if(helper[a9_0x2fcb27(0x1b6)]('@playwright/test'))try{logger['debug'](a9_0x2fcb27(0x1bf)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x2fcb27(0x24d)](config),logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x226));}catch(a9_0x8d1e9c){logger[a9_0x2fcb27(0x1ed)](a9_0x2fcb27(0x1da)+util[a9_0x2fcb27(0x1fb)](a9_0x8d1e9c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x2fcb27(0x1ca)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x2fcb27(0x1f3)](a9_0x2fcb27(0x1f2)));}global[a9_0x2fcb27(0x1d5)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x2fcb27(0x23f)];cucumberModule[a9_0x2fcb27(0x23f)]=_0x10b1ec=>{const _0x314efd=a9_0x2fcb27,_0xec8d59={'oZSLd':function(_0x5f0ed8,_0x4c4679){return _0x5f0ed8(_0x4c4679);}};global[_0x314efd(0x1d5)]=_0x10b1ec,_0xec8d59[_0x314efd(0x203)](__setDefaultTimeout,_0x10b1ec);};function a9_0x19e4(){const _0x5070fb=['length','getAutomationFramework','Inside\x20browserstack\x20AfterStep','QvRpl','dcLuQ','Error:\x20sendPlatformDetails\x20at\x20After:\x20','\x20|\x20','getInstance','pickleStep','../../helpers/setKeepAlive','MGryw','@playwright/test','Inside\x20browserstack\x20After','executeScript','After','Patching\x20Selenium','__error_messages__','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','KoKrt','LCEPj','VvNlZ','AfterAll','174928rYHiTA','driverCleanup','page','../../helpers/testhub/utils','env','Error:\x20quiting\x20driver\x20at\x20After:\x20','LUoxG','tAIpI','YiyLq','Flow\x20detection:\x20isSeleniumFlow=','getTestUUID','PRE','Inside\x20browserstack\x20Before','RIhdc','../playwright/reporter/test-details.js','PLAYWRIGHT','__skipSessionStatus','../v2/browserstackCLI.js','Kmutk','KPUtM','lODko','lvKxN','64ssuzNM',',\x20isPlaywrightFlow=','stopMonitoring','failed','uuid','../../helpers/ai-sdk/autoHealHelper','test_run','VzsVI','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','sPjIo','RbGXi','../v2/browserstackCLI','__drivers','status','../../helpers/test-observability/error-handler','2656907loHlVA','tLBkH','bjJCk','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','../v2/state/automationFrameworkState','getPackageVersion','vGVix','sBQsA','2012586knmXfo','klfCi','uploadEventData','ZbPsI','platformIndex','bvFYe','Patching\x20Playwright','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Completed\x20Playwright\x20afterTestHook\x20execution','catch','ANkHe','bstack','scenario','LcdwS','../../helpers/globals','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','isCliEnabled','parse','shift','../../helpers/performance/performance-tester','JHKlm','wlvXr','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','xZCao','QUIT','IxtnC','bs:addLog:','startMonitoring','__timeout','integrations','stringify','GvFCZ','setGlobal','Error\x20initializing\x20Playwright\x20patching:\x20','../utils/constants','lodash','bBQKR','pickle','testInfo','error','getId','cENBB','__skipSessionName','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','text','toString','finally','CBTSessionCreated','Error\x20sending\x20log\x20created\x20event:\x20','tags','\x22}}','pid','debug','utkAy','../../helpers/test-observability/sessionHandler','message','push','cucumber-js','setFramework','Unknown\x20Test','cleanup','fJLVc','JraEb','432QiDRHm','@cucumber/cucumber','storeLogObjects','format','../v2/cliUtils','pwPage','currentTest','\x0aError:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','then','kMxxP','oZSLd','aqAdH','Failed:\x20','event_type','../../helpers/accessibility-automation/helper','shutdown','isRunning','CftWM','initQuit','browserstackAgentV2','cucumber-test','saveTestResults','closeTracker','../../helpers/test-observability/requestQueueHandler','614286naDOnM','bstackA11yShouldScan','passed','wIKOp','BMshI','agODf','../../helpers/test-observability/utils','name','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','BeforeAll','HLNpy','Error\x20triggering\x20AutomationFramework\x20events:\x20','BdxvU','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','testCaseStartedId','QEcRH','__platformCaps','executeAsyncScript','bisqq','LTvXg','../../helpers/accessibility-automation/scripts','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','PIdGw','10ddIfyj','split','IdHaJ','skQbx','../v2/TestInfo.js','RVjYH','quitCount_','Cucumber-JS','rbFNJ','qGKPS','timeout','6ZuwqfK','performScan','toLowerCase','Cleaned\x20up\x20close\x20tracker','Error:\x20cleaning\x20up\x20driver:\x20','qkpLz','executeDeferredCloses','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','icSNL','skipSessionName','thTestRunUuid','Error:\x20at\x20After\x20(Selenium):\x20','setDefaultTimeout','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','913192vMTpiy','Error\x20in\x20playwright\x20beforeTestHook:\x20','info','beforeTestHook','thJwtToken','removeAllListeners','../../helpers/helper','BROWSERSTACK_TESTHUB_UUID','test_run_uuid','kHohG','Error\x20in\x20fallback\x20cleanup:\x20','RzUtD','initializePlaywrightPatching','BROWSERSTACK_TESTHUB_JWT','CUCUMBER','isAccessibilityPlatform','yvLaR','Inside\x20browserstack\x20AfterAll','../playwright/reporter/reporter.js','qePrM','getGlobal','session_','result','__sessionFailed','Inside\x20browserstack\x20registerListeners','util','Passed','setTestNameForHealingContext','join','Cleaned\x20up\x20Playwright\x20close\x20tracker','o11ySyncDone','ENV_VAR','BSTACK_CONFIG','trackEvent','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','platformCaps','431615szLsun','SpUGH','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','4|2|3|0|1','__workerDetails','wiQgG','addTestUIDAndReportLog','setFrameworkDetail','afterTestHook','bzjjv','UVpaK','AsYDv','Performing\x20scan\x20before\x20saving\x20results','@cucumber/cucumber/lib/index.js','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','thBuildUuid','346nAAgCs','patchPageCommandsForAccessibility','rerxg','Error\x20executing\x20deferred\x20closes:\x20'];a9_0x19e4=function(){return _0x5070fb;};return a9_0x19e4();}const a9_0x533134={};a9_0x533134[a9_0x2fcb27(0x218)]='bstack',BeforeAll(a9_0x533134,async function(){const _0x3f7561=a9_0x2fcb27,_0x4d3947={'bjJCk':function(_0x292e16,_0x4eb1a4,_0x3178bf,_0x25d397){return _0x292e16(_0x4eb1a4,_0x3178bf,_0x25d397);},'sPjIo':_0x3f7561(0x1a4),'UVpaK':_0x3f7561(0x17b),'HihOq':function(_0x2f90b0,_0x97fe34,_0x558bfa){return _0x2f90b0(_0x97fe34,_0x558bfa);},'qGKPS':_0x3f7561(0x213),'dWWtT':'Inside\x20browserstack\x20BeforeAll','kMxxP':function(_0xb391d9,_0x466916){return _0xb391d9(_0x466916);},'klfCi':_0x3f7561(0x1ad),'SpUGH':_0x3f7561(0x1fc),'rerxg':_0x3f7561(0x263),'LTvXg':function(_0x2edab9){return _0x2edab9();}};PerformanceTester[_0x3f7561(0x1d4)](),logger[_0x3f7561(0x1ed)](_0x4d3947['dWWtT']),global[_0x3f7561(0x185)]=[],global[_0x3f7561(0x258)]=![];if(playwrightPatcher)try{const _0x16e508=_0x4d3947[_0x3f7561(0x202)](require,_0x4d3947[_0x3f7561(0x1ba)]),_0x11a20c=_0x4d3947[_0x3f7561(0x202)](require,_0x4d3947[_0x3f7561(0x266)]);_0x16e508[_0x3f7561(0x17c)]()[_0x3f7561(0x1c9)]()&&(logger[_0x3f7561(0x1ed)](_0x4d3947[_0x3f7561(0x277)]),_0x11a20c[_0x3f7561(0x26c)](FRAMEWORKS[_0x3f7561(0x24f)],FRAMEWORKS[_0x3f7561(0x19a)]),await _0x16e508['getInstance']()['bootstrap']());}catch(_0x330d9c){logger[_0x3f7561(0x1ed)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x3f7561(0x1fb)](_0x330d9c));}_0x4d3947[_0x3f7561(0x224)](shouldProcessEventForTesthub)&&(_0x4d3947[_0x3f7561(0x224)](registerListeners),_0x4d3947['kMxxP'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x47a633=_0x3f7561;let _0x2462df=![];try{global[_0x47a633(0x1ae)]&&global[_0x47a633(0x1ae)][0x0]&&(await global['__drivers'][0x0][_0x47a633(0x256)],_0x2462df=!![],global[_0x47a633(0x258)]?await _0x4d3947[_0x47a633(0x1b3)](markSessionStatus,global[_0x47a633(0x1ae)][0x0],_0x4d3947[_0x47a633(0x1ab)],global[_0x47a633(0x185)][_0x47a633(0x25d)](_0x4d3947[_0x47a633(0x26f)])):await _0x4d3947['HihOq'](markSessionStatus,global[_0x47a633(0x1ae)][0x0],_0x4d3947[_0x47a633(0x231)]));}catch(_0xc615cc){logger[_0x47a633(0x1ed)](_0x47a633(0x237)+_0xc615cc);}global[_0x47a633(0x185)]=[],global[_0x47a633(0x258)]=![];if(_0x2462df)try{await global[_0x47a633(0x1ae)][0x0]['initQuit'](),global[_0x47a633(0x1ae)][0x0][_0x47a633(0x256)][_0x47a633(0x201)](_0x193512=>{const _0x3beb64=_0x47a633;logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x193512[_0x3beb64(0x1e1)]());})[_0x47a633(0x1c2)](_0x49480e=>{});}catch(_0xc99a6a){logger[_0x47a633(0x1ed)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0xc99a6a);}};});const a9_0xcba9d9={};a9_0xcba9d9[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0xcba9d9[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],Before(a9_0xcba9d9,function(_0x449e11,_0x3a32d8){const _0x13dba5=a9_0x2fcb27,_0x179932={'DUpQP':function(_0x9dbb36,_0xc641a0){return _0x9dbb36>_0xc641a0;},'VzsVI':function(_0x1c5ca1,_0x2d376e){return _0x1c5ca1(_0x2d376e);},'yvLaR':function(_0xca3674,_0x52e2bc,_0x4e3139,_0x452eb3){return _0xca3674(_0x52e2bc,_0x4e3139,_0x452eb3);},'YiyLq':'bstackA11yShouldScan','vGVix':function(_0x2fb435,_0x248a6a){return _0x2fb435(_0x248a6a);},'fMkgQ':_0x13dba5(0x1ad),'aqAdH':_0x13dba5(0x1b5),'skQbx':'../v2/state/hookState','PIdGw':'Unknown\x20Test','KoKrt':'cucumber-test','xhWqF':function(_0x3d53a9){return _0x3d53a9();},'ANkHe':_0x13dba5(0x197)};commandRepository[_0x13dba5(0x25c)](_0x449e11['pickle'][_0x13dba5(0x218)]),logger[_0x13dba5(0x1ed)](_0x179932[_0x13dba5(0x1c3)]),new Promise(async _0x1ba29b=>{const _0x248c8f=_0x13dba5;try{global[_0x248c8f(0x1ae)]&&_0x179932['DUpQP'](global[_0x248c8f(0x1ae)][_0x248c8f(0x175)],0x1)&&(await global[_0x248c8f(0x18c)](),global[_0x248c8f(0x1ae)][_0x248c8f(0x1cb)]()),global[_0x248c8f(0x1ae)]&&global['__drivers'][0x0]&&global[_0x248c8f(0x1ae)][0x0][_0x248c8f(0x22e)]&&_0x179932['DUpQP'](global[_0x248c8f(0x1ae)][0x0][_0x248c8f(0x22e)],0x0)&&await global['driverCleanup']();}catch(_0x45f30b){logger[_0x248c8f(0x1ed)](_0x248c8f(0x1a9)+_0x45f30b);}workerDetails['currentTest']['testInfo']=_0x449e11;if(!playwrightPatcher){try{if(!_0x179932[_0x248c8f(0x1a8)](isUndefined,_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x1ea)])){const _0x571c57=_0x179932[_0x248c8f(0x251)](shouldScanTestForAccessibility,null,![],_0x449e11[_0x248c8f(0x1de)]['tags']['map'](({name:_0x39c26e})=>_0x39c26e));globals[_0x248c8f(0x1d9)](_0x179932[_0x248c8f(0x193)],_0x571c57);}}catch(_0x14e653){logger[_0x248c8f(0x1ed)]('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x248c8f(0x1fb)](_0x14e653));}workerDetails[_0x248c8f(0x1fe)][_0x248c8f(0x23d)]=TestDetails[_0x248c8f(0x195)](_0x449e11[_0x248c8f(0x21f)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x248c8f(0x244)](_0x449e11),global[_0x248c8f(0x269)]&&global[_0x248c8f(0x269)][_0x248c8f(0x1fd)]&&playwrightPatcher[_0x248c8f(0x276)](global[_0x248c8f(0x269)][_0x248c8f(0x1fd)]);}catch(_0x5cb293){logger[_0x248c8f(0x1ed)](_0x248c8f(0x242)+util[_0x248c8f(0x1fb)](_0x5cb293));}if(playwrightPatcher)try{const _0x3b0672=_0x179932[_0x248c8f(0x1b7)](require,_0x179932['fMkgQ']),_0x511838=_0x179932[_0x248c8f(0x1a8)](require,_0x179932[_0x248c8f(0x204)]),_0xdc8e90=_0x179932[_0x248c8f(0x1b7)](require,_0x179932[_0x248c8f(0x22b)]);if(_0x3b0672[_0x248c8f(0x17c)]()[_0x248c8f(0x209)]()){const _0xc350bf={'title':_0x449e11['pickle']['name']||_0x179932[_0x248c8f(0x227)],'titlePath':[_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x218)]||_0x179932['PIdGw']],'id':_0x449e11[_0x248c8f(0x21f)]||_0x179932[_0x248c8f(0x187)],'tags':_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x1ea)]||[],..._0x449e11},_0x5772f5=_0xc350bf;global['__currentTestInfo']=_0x5772f5,logger[_0x248c8f(0x1ed)](_0x248c8f(0x1e4)+_0x449e11[_0x248c8f(0x1de)][_0x248c8f(0x218)]);}}catch(_0xd51170){logger[_0x248c8f(0x1ed)](_0x248c8f(0x21c)+util[_0x248c8f(0x1fb)](_0xd51170));}_0x179932['xhWqF'](_0x1ba29b);})['finally'](_0x3a32d8);});const a9_0x251eb8={};a9_0x251eb8['name']=a9_0x2fcb27(0x1c4),a9_0x251eb8[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],After(a9_0x251eb8,function(_0x2a920f,_0x408fd9){const _0x3a2cb4=a9_0x2fcb27,_0x534fc0={'bvFYe':function(_0x4733ed,_0x28ed4d){return _0x4733ed>_0x28ed4d;},'QEcRH':function(_0x484879,_0x12310b){return _0x484879===_0x12310b;},'IdHaJ':_0x3a2cb4(0x1a4),'wlvXr':function(_0x108242,_0x3e9d98){return _0x108242===_0x3e9d98;},'wIKOp':function(_0x39a003,_0x242caf){return _0x39a003>_0x242caf;},'bBQKR':function(_0x159dd2,_0x1766bd,_0x57b9f4,_0x1284dd){return _0x159dd2(_0x1766bd,_0x57b9f4,_0x1284dd);},'lODko':_0x3a2cb4(0x17b),'LfpVB':function(_0x351735,_0x49196f,_0x450879){return _0x351735(_0x49196f,_0x450879);},'xZCao':_0x3a2cb4(0x213),'dcLuQ':function(_0x44d38b,_0x203ca2){return _0x44d38b(_0x203ca2);},'RIhdc':_0x3a2cb4(0x1ad),'YxHti':_0x3a2cb4(0x1b5),'tLBkH':function(_0x5623f8,_0x239d09){return _0x5623f8(_0x239d09);},'sBQsA':'../v2/state/hookState','zsuTw':_0x3a2cb4(0x1f4),'HhKIq':_0x3a2cb4(0x20d),'tAIpI':_0x3a2cb4(0x1c1),'ZbPsI':_0x3a2cb4(0x21e),'agODf':_0x3a2cb4(0x236),'kHohG':_0x3a2cb4(0x1c0),'BdxvU':_0x3a2cb4(0x1cf),'LCEPj':function(_0x4ce085,_0x409525){return _0x4ce085(_0x409525);},'gSzaB':_0x3a2cb4(0x19c),'MGryw':function(_0x2e18fa){return _0x2e18fa();},'rbFNJ':function(_0xae67af,_0xe51d92,_0x415766,_0x9981d4){return _0xae67af(_0xe51d92,_0x415766,_0x9981d4);},'JHKlm':_0x3a2cb4(0x1e8),'cXLiZ':_0x3a2cb4(0x250),'RVjYH':_0x3a2cb4(0x212),'RbGXi':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','VvNlZ':_0x3a2cb4(0x271),'qkpLz':'isMobilePlatform','wiQgG':_0x3a2cb4(0x1aa),'LUoxG':function(_0x380f57,_0x2445f8){return _0x380f57>_0x2445f8;},'Kmutk':function(_0x4dd4b3){return _0x4dd4b3();},'LcdwS':_0x3a2cb4(0x181)};logger[_0x3a2cb4(0x1ed)](_0x534fc0[_0x3a2cb4(0x1c6)]),workerDetails['currentTest']['testInfo']=_0x2a920f,new Promise(async _0x5ac92f=>{const _0x40d167=_0x3a2cb4;let _0x1af1f5=![],_0x2d28aa=![],_0x4ff983=![];try{global[_0x40d167(0x1ae)]&&_0x534fc0[_0x40d167(0x1be)](global['__drivers'][_0x40d167(0x175)],0x0)&&(_0x2d28aa=!![]),playwrightPatcher&&global[_0x40d167(0x269)]&&global['__workerDetails']['pwPage']&&(_0x4ff983=!![],logger['debug'](_0x40d167(0x219)+!!global[_0x40d167(0x269)][_0x40d167(0x1fd)]));}catch(_0xe87449){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0xe87449);}logger[_0x40d167(0x1ed)](_0x40d167(0x194)+_0x2d28aa+_0x40d167(0x1a2)+_0x4ff983);const _0x4e6451=_0x2a920f['result'][_0x40d167(0x1af)]['toString']()[_0x40d167(0x235)](),_0x4e8e4c=_0x534fc0[_0x40d167(0x220)](_0x4e6451,_0x534fc0[_0x40d167(0x22a)])||_0x534fc0[_0x40d167(0x1ce)](_0x4e6451,'6'),_0x59cad4=_0x4e8e4c?_0x2a920f['result'][_0x40d167(0x1f0)]:null;if(_0x4e8e4c)try{global[_0x40d167(0x185)][_0x40d167(0x1f1)](_0x2a920f[_0x40d167(0x257)][_0x40d167(0x1f0)]),global[_0x40d167(0x258)]=!![];}catch(_0x59f81f){logger[_0x40d167(0x1ed)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x59f81f);}if(_0x2d28aa)try{global[_0x40d167(0x1ae)]&&_0x534fc0[_0x40d167(0x214)](global[_0x40d167(0x1ae)][_0x40d167(0x175)],0x1)&&(await global[_0x40d167(0x18c)](),global[_0x40d167(0x1ae)][_0x40d167(0x1cb)](),global[_0x40d167(0x185)]=[],global[_0x40d167(0x258)]=![]),global['__drivers']&&global[_0x40d167(0x1ae)][0x0]&&(await global['__drivers'][0x0][_0x40d167(0x256)],_0x1af1f5=!![],!global[_0x40d167(0x1e3)]&&await global['__drivers'][0x0][_0x40d167(0x182)](_0x40d167(0x240)+_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x218)]+_0x40d167(0x1eb)),_0x4e8e4c?await _0x534fc0[_0x40d167(0x1dd)](markSessionStatus,global[_0x40d167(0x1ae)][0x0],_0x534fc0['IdHaJ'],global[_0x40d167(0x185)]['join'](_0x534fc0[_0x40d167(0x19f)])):await _0x534fc0['LfpVB'](markSessionStatus,global[_0x40d167(0x1ae)][0x0],_0x534fc0[_0x40d167(0x1d0)]));}catch(_0x1c3083){logger[_0x40d167(0x1ed)](_0x40d167(0x23e)+util[_0x40d167(0x1fb)](_0x1c3083));}if(_0x4ff983)try{try{const _0xff3470=_0x534fc0[_0x40d167(0x179)](require,_0x534fc0[_0x40d167(0x198)]),_0x4fa7d8=_0x534fc0[_0x40d167(0x179)](require,_0x534fc0['YxHti']),_0x494e69=_0x534fc0[_0x40d167(0x1b2)](require,_0x534fc0[_0x40d167(0x1b8)]);if(_0xff3470['getInstance']()[_0x40d167(0x209)]()){const _0x9cdac8={'title':_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x218)]||_0x534fc0['zsuTw'],'titlePath':[_0x2a920f['pickle'][_0x40d167(0x218)]||_0x534fc0['zsuTw']],'id':_0x2a920f['testCaseStartedId']||_0x534fc0['HhKIq'],'status':_0x4e8e4c?_0x534fc0[_0x40d167(0x22a)]:_0x534fc0['xZCao'],'error':_0x59cad4?{'message':_0x59cad4}:null,'tags':_0x2a920f[_0x40d167(0x1de)][_0x40d167(0x1ea)]||[],..._0x2a920f},_0x14a68b=_0x9cdac8,_0x7fab8a={};_0x7fab8a[_0x40d167(0x1df)]=_0x14a68b,_0x7fab8a[_0x40d167(0x1c5)]=_0x2a920f,_0x7fab8a[_0x40d167(0x18d)]=global[_0x40d167(0x269)][_0x40d167(0x1fd)],_0x7fab8a['testFramework']=FRAMEWORKS[_0x40d167(0x24f)],await _0xff3470['getInstance']()[_0x40d167(0x176)]()[_0x40d167(0x262)](_0x4fa7d8[_0x40d167(0x1d1)],_0x494e69[_0x40d167(0x196)],_0x7fab8a),logger[_0x40d167(0x1ed)](_0x40d167(0x186)+_0x2a920f[_0x40d167(0x1de)]['name']);}}catch(_0x4f2728){logger[_0x40d167(0x1ed)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x40d167(0x1fb)](_0x4f2728));}const _0x176e70=_0x4e8e4c?_0x534fc0[_0x40d167(0x22a)]:_0x534fc0['xZCao'];await playwrightPatcher[_0x40d167(0x26d)](_0x2a920f,_0x176e70,_0x59cad4),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x192)]);try{await playwrightPatcher[_0x40d167(0x239)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x1bc)]);}catch(_0x536609){logger[_0x40d167(0x1ed)](_0x40d167(0x174)+util[_0x40d167(0x1fb)](_0x536609));}try{playwrightPatcher[_0x40d167(0x20f)][_0x40d167(0x1f5)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x216)]);}catch(_0x4a12d2){logger['debug']('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x40d167(0x1fb)](_0x4a12d2));}}catch(_0x11c1a0){logger[_0x40d167(0x1ed)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x40d167(0x1fb)](_0x11c1a0));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x24a)])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x40d167(0x20f)]['cleanup']&&(playwrightPatcher['closeTracker'][_0x40d167(0x1f5)](),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x21d)]));}catch(_0x15f5d7){logger['debug'](_0x40d167(0x24b)+util[_0x40d167(0x1fb)](_0x15f5d7));}}const _0x43795f=_0x534fc0[_0x40d167(0x188)](require,_0x534fc0['gSzaB']);if(!_0x43795f[_0x40d167(0x17c)]()['isRunning']())try{if(_0x534fc0[_0x40d167(0x17f)](shouldProcessEventForTesthub)){const _0x5955aa=TestDetails[_0x40d167(0x195)](_0x2a920f['testCaseStartedId']);let _0x30463f=null;global[_0x40d167(0x1ae)]&&global[_0x40d167(0x1ae)][0x0]&&(_0x30463f=await _0x534fc0[_0x40d167(0x230)](sendPlatformDetails,global[_0x40d167(0x1ae)][0x0],_0x5955aa,!![]));const _0x20db04={};_0x20db04['uuid']=_0x5955aa,_0x20db04[_0x40d167(0x1d6)]=_0x30463f;const _0x4f0437=_0x20db04,_0x14a928={};_0x14a928[_0x40d167(0x206)]=_0x534fc0[_0x40d167(0x1cd)],_0x14a928[_0x40d167(0x1a7)]=_0x4f0437,await SessionHandler[_0x40d167(0x1bb)](_0x14a928);}}catch(_0x4ac878){logger[_0x40d167(0x1ed)](_0x40d167(0x17a)+util[_0x40d167(0x1fb)](_0x4ac878));}try{if(globals[_0x40d167(0x255)](_0x534fc0['cXLiZ'])&&globals[_0x40d167(0x255)](_0x534fc0[_0x40d167(0x22d)])){logger[_0x40d167(0x243)](_0x534fc0[_0x40d167(0x1ac)]);const _0x321db6=TestDetails['getTestUUID'](_0x2a920f[_0x40d167(0x21f)]),_0x2358ba={};_0x2358ba['thTestRunUuid']=_0x321db6,_0x2358ba[_0x40d167(0x274)]=process[_0x40d167(0x18f)][testHubConstants[_0x40d167(0x260)][_0x40d167(0x248)]],_0x2358ba[_0x40d167(0x245)]=process['env'][testHubConstants[_0x40d167(0x260)][_0x40d167(0x24e)]];const _0x6a494f=_0x2358ba;logger[_0x40d167(0x1ed)](_0x40d167(0x200)+JSON['stringify'](_0x6a494f)),logger[_0x40d167(0x1ed)](_0x534fc0[_0x40d167(0x189)]),global[_0x40d167(0x1ae)]&&global[_0x40d167(0x1ae)][0x0]&&(logger[_0x40d167(0x1ed)](util['format'](await global['__drivers'][0x0][_0x40d167(0x222)](scripts[_0x40d167(0x234)],{'method':global['browserstackSessionName']}))),globals['getGlobal'](_0x534fc0[_0x40d167(0x238)])&&(_0x6a494f['is_mobile_session']=!![]),await global['__drivers'][0x0][_0x40d167(0x222)](scripts[_0x40d167(0x20e)],_0x6a494f)),logger[_0x40d167(0x243)](_0x534fc0[_0x40d167(0x26a)]);}}catch(_0x19b513){logger[_0x40d167(0x1e0)](_0x40d167(0x1b4)+util[_0x40d167(0x1fb)](_0x19b513));}if(_0x1af1f5)try{global[_0x40d167(0x1ae)][0x0]&&_0x534fc0[_0x40d167(0x191)](global[_0x40d167(0x1ae)][0x0]['quitCount_'],0x0)&&await global[_0x40d167(0x1ae)][0x0][_0x40d167(0x20b)]();}catch(_0x2369f8){logger[_0x40d167(0x1ed)](_0x40d167(0x190)+_0x2369f8);}_0x534fc0[_0x40d167(0x19d)](_0x5ac92f);})[_0x3a2cb4(0x1e7)](()=>_0x408fd9());});const a9_0xc8cb95={};a9_0xc8cb95[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0xc8cb95['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],AfterStep(a9_0xc8cb95,function(_0x1d58ba,_0x371687){const _0x248e68=a9_0x2fcb27,_0x474af0={'cENBB':function(_0x4aad88,_0x19d77e){return _0x4aad88===_0x19d77e;},'RzUtD':_0x248e68(0x1a4),'JraEb':function(_0x4f7dd6,_0xa6a626){return _0x4f7dd6===_0xa6a626;},'gqERm':function(_0x47aa5b,_0x48a9f2){return _0x47aa5b!==_0x48a9f2;},'qePrM':function(_0x599ebd,_0x22d81a,_0x512f1c){return _0x599ebd(_0x22d81a,_0x512f1c);},'lvKxN':function(_0x24cb8b,_0x4f5bdc){return _0x24cb8b+_0x4f5bdc;},'CftWM':_0x248e68(0x205),'utkAy':_0x248e68(0x1ff),'GvFCZ':_0x248e68(0x1e0),'bisqq':function(_0x46e61f,_0x116e64,_0x5c7d8c){return _0x46e61f(_0x116e64,_0x5c7d8c);},'IxtnC':function(_0x2d105b,_0x549553){return _0x2d105b!==_0x549553;},'fJLVc':function(_0x2196d5,_0x2745d1,_0x4c4316){return _0x2196d5(_0x2745d1,_0x4c4316);},'RNKrf':function(_0x25c7f8,_0x21d450){return _0x25c7f8+_0x21d450;},'bzjjv':'Passed:\x20','icSNL':_0x248e68(0x243),'RjWoT':_0x248e68(0x25b),'QvRpl':function(_0x59d63b){return _0x59d63b();},'ndOwY':_0x248e68(0x177)};logger[_0x248e68(0x1ed)](_0x474af0['ndOwY']);const _0x1433df=async(_0x4010be,_0x4381b6)=>{const _0x2c3b44=_0x248e68;global[_0x2c3b44(0x1ae)]&&global[_0x2c3b44(0x1ae)][0x0]&&await global['__drivers'][0x0][_0x2c3b44(0x182)](_0x2c3b44(0x273)+_0x4010be+',\x22level\x22:\x20\x22'+_0x4381b6+'\x22}}');};new Promise(async _0x3213bd=>{const _0x3f4594=_0x248e68;try{const _0x50bbbc=_0x474af0[_0x3f4594(0x1e2)](_0x1d58ba[_0x3f4594(0x257)]['status'][_0x3f4594(0x1e6)]()['toLowerCase'](),_0x474af0[_0x3f4594(0x24c)])||_0x474af0[_0x3f4594(0x1f7)](_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1af)][_0x3f4594(0x1e6)]()[_0x3f4594(0x235)](),'6');_0x50bbbc?(global['__sessionFailed']=!![],global['__error_messages__'][_0x3f4594(0x1f1)](_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1f0)]),_0x474af0['gqERm'](_0x1d58ba[_0x3f4594(0x17d)],undefined)?await _0x474af0[_0x3f4594(0x254)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x20a)],'\x22'+_0x1d58ba[_0x3f4594(0x17d)][_0x3f4594(0x1e5)]+'\x22\x20'),_0x474af0[_0x3f4594(0x1ee)]),_0x1d58ba[_0x3f4594(0x257)][_0x3f4594(0x1f0)])),_0x474af0['GvFCZ']):await _0x474af0[_0x3f4594(0x223)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0[_0x3f4594(0x1a0)](_0x474af0[_0x3f4594(0x20a)],_0x1d58ba[_0x3f4594(0x257)]['message'])),_0x474af0[_0x3f4594(0x1d8)])):_0x474af0[_0x3f4594(0x1d2)](_0x1d58ba[_0x3f4594(0x17d)],undefined)?await _0x474af0[_0x3f4594(0x1f6)](_0x1433df,JSON['stringify'](_0x474af0['RNKrf'](_0x474af0[_0x3f4594(0x26e)],'\x22'+_0x1d58ba[_0x3f4594(0x17d)][_0x3f4594(0x1e5)]+'\x22')),_0x474af0[_0x3f4594(0x23b)]):await _0x474af0[_0x3f4594(0x254)](_0x1433df,JSON[_0x3f4594(0x1d7)](_0x474af0['RjWoT']),_0x474af0[_0x3f4594(0x23b)]),global['__drivers']&&global[_0x3f4594(0x1ae)][0x0]&&global[_0x3f4594(0x1ae)][0x0][_0x3f4594(0x256)]['then'](_0x129cdc=>{})[_0x3f4594(0x1c2)](_0x4fa509=>{const _0x1eccf2=_0x3f4594;logger[_0x1eccf2(0x1ed)](_0x1eccf2(0x1c8)+util[_0x1eccf2(0x1fb)](_0x4fa509));});}catch(_0x21c7cb){logger[_0x3f4594(0x1ed)]('Error:\x20at\x20After\x20Step:\x20'+_0x21c7cb);}_0x474af0[_0x3f4594(0x178)](_0x3213bd);})['finally'](()=>_0x371687());});const a9_0x483d2d={};a9_0x483d2d[a9_0x2fcb27(0x218)]=a9_0x2fcb27(0x1c4),a9_0x483d2d[a9_0x2fcb27(0x232)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2fcb27(0x22f)],AfterAll(a9_0x483d2d,async function(_0x38c5ab,_0x5da365){const _0x50fa0a=a9_0x2fcb27,_0x1ba02b={'HLNpy':_0x50fa0a(0x268),'UEXJA':function(_0x28786b){return _0x28786b();},'AsYDv':_0x50fa0a(0x25e),'fYUey':_0x50fa0a(0x252)};logger[_0x50fa0a(0x1ed)](_0x1ba02b['fYUey']),await new Promise(async _0x360942=>{const _0x1a13ce=_0x50fa0a,_0x217b74=_0x1ba02b[_0x1a13ce(0x21b)][_0x1a13ce(0x229)]('|');let _0xde709f=0x0;while(!![]){switch(_0x217b74[_0xde709f++]){case'0':await global[_0x1a13ce(0x18c)]();continue;case'1':_0x1ba02b['UEXJA'](_0x360942);continue;case'2':PerformanceTester[_0x1a13ce(0x1a3)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x1a13ce(0x239)]&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x1a13ce(0x1f5)](),logger[_0x1a13ce(0x1ed)](_0x1ba02b[_0x1a13ce(0x270)]));}catch(_0x2043f6){logger[_0x1a13ce(0x1ed)](_0x1a13ce(0x23a)+util['format'](_0x2043f6));}continue;case'4':await RequestQueueHandler[_0x1a13ce(0x17c)]()[_0x1a13ce(0x208)]();continue;}break;}});});
|