browserstack-node-sdk 1.52.2 → 1.53.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +4 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/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/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_0x5418e2=a5_0x3fcf;(function(_0x32f703,_0x22cf10){const _0x191210=a5_0x3fcf,_0x406245=_0x32f703();while(!![]){try{const _0x2c0296=parseInt(_0x191210(0x232))/0x1*(-parseInt(_0x191210(0x21f))/0x2)+parseInt(_0x191210(0x242))/0x3+-parseInt(_0x191210(0x274))/0x4*(parseInt(_0x191210(0x1f7))/0x5)+parseInt(_0x191210(0x206))/0x6*(parseInt(_0x191210(0x28c))/0x7)+-parseInt(_0x191210(0x204))/0x8*(parseInt(_0x191210(0x1fa))/0x9)+-parseInt(_0x191210(0x1ee))/0xa*(parseInt(_0x191210(0x25e))/0xb)+parseInt(_0x191210(0x266))/0xc*(-parseInt(_0x191210(0x243))/0xd);if(_0x2c0296===_0x22cf10)break;else _0x406245['push'](_0x406245['shift']());}catch(_0x240b19){_0x406245['push'](_0x406245['shift']());}}}(a5_0x446d,0x78c75));function a5_0x446d(){const _0x1ebc3a=['__isPlaywrightInstalled','fCsRl','green','wrjIr','accessibilityOptions','\x20steps','isFalse','debug','true','start','ftsvW','TDejI','\x20failed','length','finally','cwd','binSessionId','../../helpers/logger','logLevel','setUserConfigPath','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_YML','36318ZXFjGs','stepsPending','getInstance','finalExecution','log','../../helpers/playwright-helper','red','duxZO','kXVWP','FnkdQ','util','BROWSERSTACK_AUTOMATION','../v2/cliUtils','Generating\x20consolidated\x20report...','WHUXE','unlinkSync','JqQfS','rXNSd','configPath','4uVLQLe','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','printBuildLink','zbEBp','qGcFr','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','end','ffdfg','****\x20RESULTS\x20****','format','qPdvb','../../helpers/test-observability/utils','\x20passed','SDK_CLEANUP','kFIeD','path','2576595dhLzOP','495469jEJLLh','getConfig','assign','DwDLI','\x20scenarios','../v2/browserstackCLI','EVENTS','BROWSERSTACK_TEST_OBSERVABILITY_YML','yLyZN','RWLfv','MQlsf','PLAYWRIGHT','ygVzB','env','yvPus','../../helpers/utilities','getHubUrl','QgGqJ','SDK_SETUP','removeDir','../../helpers/testhub/testhubHandler','parallelsPerPlatform','setBrowserstackConfig','XECAS','browserstackAutomation','bold','TnYpA','1771MFHqUX','nfNBt','CUCUMBER','isUndefined','bgWhite','vfkIl','processSuccess','Womwd','24CtFZtt','winstonLogger','setFrameworkDetail','turboScaleUrl','WAPnJ','accessibility','\x20undefined','indexOf','dUJwk','FQkiO','scenariosFailed','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','config','QDYRH','20wCuNMU','stepsUnknown','isCLIEnabled','\x20ambiguous','stepsPassed','../../helpers/helper','stringify','scenarios','parseFormatters','stepsSkipped','../utils/constants','FRAMEWORKS','errorMessage','--disable-test-observability','push','mergeOutputFiles','BROWSERSTACK_CLI_BIN_SESSION_ID','stepsFailed','handleApp','../../helpers/performance/constants','proxySettings','setupTCGAuth','BROWSERSTACK_TEST_OBSERVABILITY','yellow','1029iRdIrC','../../helpers/performance/performance-tester','iITyc','testContextOptions','false','forEach','getErrorMessageFromResults','isRunning','cucumber','argv','then','18310MEDkwg','EXcGD','yHHCh','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','isBrowserstackInfra','Bnzvi','splice','getTCGConfigFilePaths','join','386725YbqARE','rmdirSync','testObservability','900VWTIop','../test-runner','cliConfig','../utils/clientTroubleshootingService','cvvKX','createDir','@playwright/test','../../helpers/accessibility-automation/helper','steps','wjRcu','40624FNCmmR','stop','39756lnpPxG','Removing\x20tmp\x20directory\x20created\x20for\x20reports','\x20skipped'];a5_0x446d=function(){return _0x1ebc3a;};return a5_0x446d();}const fs=require('fs'),path=require(a5_0x5418e2(0x241)),util=require(a5_0x5418e2(0x229)),logger=require(a5_0x5418e2(0x21a))[a5_0x5418e2(0x267)],helper=require(a5_0x5418e2(0x279)),utilities=require(a5_0x5418e2(0x252)),constants=require(a5_0x5418e2(0x27e)),{parallelCucumberRun}=require(a5_0x5418e2(0x1fb)),TestHubHandler=require(a5_0x5418e2(0x257)),testOpsHelper=require(a5_0x5418e2(0x23d)),chalk=require('chalk'),PerformanceTester=require(a5_0x5418e2(0x28d)),PerformanceEvents=require(a5_0x5418e2(0x287))[a5_0x5418e2(0x249)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x5418e2(0x22b)),{checkPwandBootstrapCli}=require(a5_0x5418e2(0x224)),ClientTroubleShootingService=require(a5_0x5418e2(0x1fd));function a5_0x3fcf(_0x596769,_0x4db4fa){const _0x446def=a5_0x446d();return a5_0x3fcf=function(_0x3fcfb8,_0x2c7602){_0x3fcfb8=_0x3fcfb8-0x1ec;let _0xb5eba0=_0x446def[_0x3fcfb8];return _0xb5eba0;},a5_0x3fcf(_0x596769,_0x4db4fa);}function printCucumberStats(_0x4da019){const _0x3b6083=a5_0x5418e2,_0x1176a8={};_0x1176a8[_0x3b6083(0x240)]=function(_0x2c9b69,_0x14b617){return _0x2c9b69>_0x14b617;},_0x1176a8['EXcGD']=function(_0x1bd8a5,_0x546564){return _0x1bd8a5-_0x546564;},_0x1176a8[_0x3b6083(0x236)]=function(_0x589c1e,_0x20504b){return _0x589c1e>_0x20504b;},_0x1176a8[_0x3b6083(0x24f)]=function(_0x28f395,_0x25a03b){return _0x28f395>_0x25a03b;},_0x1176a8['yvPus']=function(_0x355377,_0x18d360){return _0x355377>_0x18d360;},_0x1176a8[_0x3b6083(0x228)]=function(_0x32df1b,_0x2c06a3){return _0x32df1b>_0x2c06a3;},_0x1176a8[_0x3b6083(0x28e)]=function(_0x3f9425,_0x5aa155){return _0x3f9425+_0x5aa155;},_0x1176a8[_0x3b6083(0x254)]=function(_0x573bd3,_0x287d57){return _0x573bd3+_0x287d57;},_0x1176a8['Bnzvi']=function(_0x2306a1,_0x506174){return _0x2306a1+_0x506174;},_0x1176a8[_0x3b6083(0x22f)]=function(_0x1bea5b,_0x397eac){return _0x1bea5b+_0x397eac;},_0x1176a8[_0x3b6083(0x203)]=function(_0x218bf0,_0x22aa98){return _0x218bf0+_0x22aa98;},_0x1176a8[_0x3b6083(0x25a)]=function(_0xf3a1ea,_0x403ff9){return _0xf3a1ea===_0x403ff9;},_0x1176a8[_0x3b6083(0x273)]=_0x3b6083(0x23a);const _0x4508d7=_0x1176a8;let _0x89e3d1=0x0;if(_0x4508d7['XECAS'](_0x4da019[_0x3b6083(0x216)],0x0))return _0x89e3d1;return console[_0x3b6083(0x223)](chalk[_0x3b6083(0x25c)][_0x3b6083(0x262)](_0x4508d7[_0x3b6083(0x273)])),_0x4da019[_0x3b6083(0x291)](_0x243f01=>{const _0x508118=_0x3b6083,_0x177162=_0x243f01[0x0],_0x3ac3eb=_0x243f01[0x1];helper[_0x508118(0x1f2)]()&&console[_0x508118(0x223)]('\x0a'+chalk[_0x508118(0x25c)][_0x508118(0x28b)](''+helper['getPlatformName'](_0x177162)));const _0x2766fb=_0x3ac3eb[_0x508118(0x27b)],_0x879e32=_0x3ac3eb[_0x508118(0x202)],_0xe8652b=_0x3ac3eb[_0x508118(0x270)],_0x23f1a8=_0x3ac3eb[_0x508118(0x285)],_0x5a3b8e=_0x3ac3eb[_0x508118(0x278)],_0x3fe0a3=_0x3ac3eb[_0x508118(0x27d)],_0x59f14d=_0x3ac3eb[_0x508118(0x220)],_0x5abd95=_0x3ac3eb['stepsUndefined'],_0x37b788=_0x3ac3eb[_0x508118(0x275)],_0x373b85=_0x3ac3eb['stepsAmbiguous'],_0x93954=_0x3ac3eb[_0x508118(0x264)];let _0x36939d=_0x2766fb+_0x508118(0x247);const _0x32f5ab=_0x4508d7[_0x508118(0x240)](_0x4508d7[_0x508118(0x1ef)](_0x2766fb,_0xe8652b),0x0)?_0x4508d7[_0x508118(0x1ef)](_0x2766fb,_0xe8652b):0x0;if(_0x4508d7[_0x508118(0x236)](_0xe8652b,0x0)&&_0x4508d7[_0x508118(0x240)](_0x32f5ab,0x0))_0x36939d+='\x20('+chalk[_0x508118(0x25c)]['red'](_0xe8652b+_0x508118(0x215))+',\x20'+chalk[_0x508118(0x25c)]['green'](_0x32f5ab+_0x508118(0x23e))+')';else(_0x4508d7[_0x508118(0x24f)](_0xe8652b,0x0)||_0x4508d7['ygVzB'](_0x32f5ab,0x0))&&(_0x36939d+=_0x4508d7['yvPus'](_0xe8652b,0x0)?'\x20('+chalk[_0x508118(0x25c)][_0x508118(0x225)](_0xe8652b+'\x20failed')+')':'\x20('+chalk[_0x508118(0x25c)][_0x508118(0x20b)](_0x32f5ab+_0x508118(0x23e))+')');const _0x56bff4=_0x879e32+_0x508118(0x20e),_0x3f0224=[];_0x4508d7['qGcFr'](_0x373b85,0x0)&&_0x3f0224[_0x508118(0x282)](''+chalk[_0x508118(0x25c)][_0x508118(0x225)](_0x373b85+_0x508118(0x277)));_0x4508d7['qGcFr'](_0x23f1a8,0x0)&&_0x3f0224[_0x508118(0x282)](''+chalk['bold'][_0x508118(0x225)](_0x23f1a8+'\x20failed'));_0x4508d7[_0x508118(0x251)](_0x5a3b8e,0x0)&&_0x3f0224[_0x508118(0x282)](''+chalk[_0x508118(0x25c)][_0x508118(0x20b)](_0x5a3b8e+_0x508118(0x23e)));_0x4508d7[_0x508118(0x24f)](_0x59f14d,0x0)&&_0x3f0224['push'](''+chalk[_0x508118(0x25c)]['yellow'](_0x59f14d+'\x20pending'));_0x4508d7[_0x508118(0x24f)](_0x3fe0a3,0x0)&&_0x3f0224['push'](''+chalk['bold']['cyan'](_0x3fe0a3+'\x20skipped'));_0x4508d7[_0x508118(0x228)](_0x5abd95,0x0)&&_0x3f0224['push'](''+chalk['bold'][_0x508118(0x28b)](_0x5abd95+_0x508118(0x26c)));_0x4508d7[_0x508118(0x228)](_0x37b788,0x0)&&_0x3f0224[_0x508118(0x282)](''+chalk[_0x508118(0x25c)]['yellow'](_0x37b788+_0x508118(0x208)));const _0x4b0014=_0x4508d7[_0x508118(0x28e)](_0x4508d7[_0x508118(0x254)](_0x4508d7[_0x508118(0x1f3)](_0x56bff4,'('),_0x3f0224[_0x508118(0x1f6)](',\x20')),')');console[_0x508118(0x223)](_0x4508d7[_0x508118(0x254)](_0x4508d7[_0x508118(0x28e)](_0x4508d7[_0x508118(0x22f)](_0x4508d7[_0x508118(0x203)]('\x0a',_0x36939d),'\x0a'),_0x4b0014),'\x0a')),_0x4508d7[_0x508118(0x25a)](_0x93954,![])&&(_0x89e3d1=0x1);}),_0x89e3d1;}async function run(_0x15022f,_0x411255,_0x371ee0){const _0x45344e=a5_0x5418e2,_0x21beee={'duxZO':function(_0x662f78,_0x34ac24){return _0x662f78(_0x34ac24);},'DwDLI':function(_0x2a6104,_0x36e3fc){return _0x2a6104>_0x36e3fc;},'WHUXE':_0x45344e(0x22c),'ZCOwG':_0x45344e(0x207),'ffdfg':_0x45344e(0x294),'rXNSd':'error\x20removing\x20tcg\x20config\x20file','TDejI':_0x45344e(0x200),'zbEBp':function(_0x84cab7,_0x1aa232,_0x787f42,_0x2b8625){return _0x84cab7(_0x1aa232,_0x787f42,_0x2b8625);},'ftsvW':'tmp','LZvbW':function(_0x281eae,_0x16a3e7){return _0x281eae-_0x16a3e7;},'TnYpA':function(_0x1a91d8,_0x5e6231){return _0x1a91d8>=_0x5e6231;},'MQlsf':function(_0x505c4f,_0x560f8f){return _0x505c4f!=_0x560f8f;},'kXVWP':_0x45344e(0x211),'WAPnJ':_0x45344e(0x201),'dUJwk':function(_0x376909,_0x45893d){return _0x376909(_0x45893d);},'nfNBt':'../playwright/accessibility-helper','Womwd':function(_0x49c44e,_0x360603){return _0x49c44e(_0x360603);},'fCsRl':function(_0x59fac2,_0x5e338f){return _0x59fac2(_0x5e338f);},'RWLfv':_0x45344e(0x290),'cvvKX':function(_0x42e192,_0x6723a8){return _0x42e192===_0x6723a8;},'vfkIl':function(_0x504ef3,_0x57d3c7){return _0x504ef3(_0x57d3c7);},'DyblU':_0x45344e(0x248),'yLyZN':function(_0x37a98b,_0xd93e9b){return _0x37a98b(_0xd93e9b);},'FQkiO':_0x45344e(0x22b),'xZvlV':'../../helpers/test-observability/constants','qPdvb':function(_0x93d031,_0xfa9524){return _0x93d031(_0xfa9524);},'pVndg':function(_0x3708fe,_0x28316f){return _0x3708fe(_0x28316f);},'HKzmg':_0x45344e(0x281),'yHHCh':function(_0x91b844,_0x3e43a5){return _0x91b844(_0x3e43a5);},'wrjIr':function(_0x518e17,_0x362183,_0x15dd6b,_0x4fe8d0,_0x403c28,_0x186daa){return _0x518e17(_0x362183,_0x15dd6b,_0x4fe8d0,_0x403c28,_0x186daa);}},_0x2c3760=helper['getPackageVersion'](_0x21beee['TDejI']);global[_0x45344e(0x209)]=!!_0x2c3760,await _0x371ee0['initialize'](_0x15022f),await _0x21beee[_0x45344e(0x235)](checkPwandBootstrapCli,_0x2c3760,constants['FRAMEWORKS']['CUCUMBER'],_0x371ee0);BrowserstackCLI[_0x45344e(0x221)]()['binSessionId']&&(process[_0x45344e(0x250)][_0x45344e(0x284)]=BrowserstackCLI['getInstance']()[_0x45344e(0x219)]);helper[_0x45344e(0x21c)](_0x371ee0['framework'],_0x15022f);!helper[_0x45344e(0x1f2)]()&&await _0x371ee0[_0x45344e(0x289)]();await helper[_0x45344e(0x286)](_0x371ee0['config']);const _0x32f7cb=helper['useW3C'](_0x371ee0['config']);!helper[_0x45344e(0x261)](_0x371ee0[_0x45344e(0x272)][_0x45344e(0x20d)])&&(process[_0x45344e(0x250)][_0x45344e(0x237)]=JSON[_0x45344e(0x27a)](_0x371ee0[_0x45344e(0x272)][_0x45344e(0x20d)]));if(!BrowserstackCLI[_0x45344e(0x221)]()[_0x45344e(0x293)]()){const _0x254a04=await TestHubHandler['launchBuild'](constants[_0x45344e(0x27f)][_0x45344e(0x260)],_0x371ee0);}let _0x1af20d=[];if(!helper[_0x45344e(0x1f2)]()){const _0x1ade6c={};_0x1ade6c['platforms']=[],_0x1af20d=helper['prepareCapabilities'](Object[_0x45344e(0x245)]({},_0x371ee0[_0x45344e(0x272)],_0x1ade6c),_0x32f7cb,constants[_0x45344e(0x27f)][_0x45344e(0x260)]);}else _0x1af20d=helper[_0x45344e(0x21d)](_0x371ee0[_0x45344e(0x272)],_0x32f7cb,constants[_0x45344e(0x27f)][_0x45344e(0x260)]);if(!_0x371ee0[_0x45344e(0x272)])return;const _0x53b810=_0x371ee0[_0x45344e(0x272)][_0x45344e(0x258)]||helper['getUserWorkerCount'](_0x15022f,_0x411255,_0x371ee0['config'],constants[_0x45344e(0x27f)]['CUCUMBER'])||0x1,_0x583d8b={'server':helper[_0x45344e(0x253)](_0x371ee0[_0x45344e(0x272)]),'proxySettings':_0x371ee0['config'][_0x45344e(0x288)],'maxWorkers':_0x53b810,'browserStackLogLevel':_0x371ee0[_0x45344e(0x272)][_0x45344e(0x21b)],'skipSessionName':_0x371ee0[_0x45344e(0x272)]['testContextOptions']['skipSessionName'],'skipSessionStatus':_0x371ee0['config'][_0x45344e(0x28f)]['skipSessionStatus'],'turboScaleUrl':_0x371ee0[_0x45344e(0x272)][_0x45344e(0x269)]},_0x5ede70=process[_0x45344e(0x1ec)],[_0x3d9dd8,_0x3dc43b]=helper[_0x45344e(0x27c)](_0x5ede70),_0x21a01e=path[_0x45344e(0x1f6)](process[_0x45344e(0x218)](),_0x21beee[_0x45344e(0x213)]);if(_0x21beee[_0x45344e(0x246)](_0x3dc43b[_0x45344e(0x216)],0x0)){helper[_0x45344e(0x1ff)](_0x21a01e);for(let _0x3b4415=_0x21beee['LZvbW'](_0x3d9dd8[_0x45344e(0x216)],0x1);_0x21beee[_0x45344e(0x25d)](_0x3b4415,0x0);_0x3b4415--){_0x5ede70[_0x45344e(0x1f4)](_0x3d9dd8[_0x3b4415],0x2);}}_0x21beee[_0x45344e(0x24d)](_0x371ee0['config'][_0x45344e(0x1f9)],null)?process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x371ee0[_0x45344e(0x272)]['testObservability']:process[_0x45344e(0x250)][_0x45344e(0x24a)]=_0x21beee[_0x45344e(0x227)];if(_0x2c3760)try{const {checkAccessibilityPlatformConfig:_0x428cfb}=_0x21beee[_0x45344e(0x226)](require,_0x21beee[_0x45344e(0x26a)]),{setAccessibilityCapabilities:_0x406c15}=_0x21beee[_0x45344e(0x26e)](require,_0x21beee['nfNBt']),_0x1f59e2=_0x21beee[_0x45344e(0x265)](_0x428cfb,_0x371ee0[_0x45344e(0x272)]);if(!helper[_0x45344e(0x261)](_0x371ee0[_0x45344e(0x272)][_0x45344e(0x26b)]))process[_0x45344e(0x250)][_0x45344e(0x21e)]=_0x21beee[_0x45344e(0x20a)](String,!!_0x371ee0['config']['accessibility']);else helper['isUndefined'](process['env'][_0x45344e(0x21e)])&&(process[_0x45344e(0x250)][_0x45344e(0x21e)]=_0x1f59e2?_0x21beee[_0x45344e(0x227)]:_0x21beee[_0x45344e(0x24c)]);process[_0x45344e(0x250)][_0x45344e(0x271)]=_0x1f59e2?_0x21beee[_0x45344e(0x227)]:_0x21beee['RWLfv'],!BrowserstackCLI[_0x45344e(0x221)]()['isRunning']()&&_0x21beee[_0x45344e(0x1fe)](process[_0x45344e(0x250)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x21beee[_0x45344e(0x227)])&&_0x21beee[_0x45344e(0x20a)](_0x406c15,_0x371ee0[_0x45344e(0x272)]);}catch(_0x30f55d){logger['debug']('Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20'+util['format'](_0x30f55d));}try{const _0x35502e=_0x21beee[_0x45344e(0x263)](require,_0x21beee['DyblU']),_0x3e7059=_0x21beee[_0x45344e(0x24b)](require,_0x21beee[_0x45344e(0x26f)]),{FRAMEWORKS:_0x1db8a7}=_0x21beee[_0x45344e(0x24b)](require,_0x21beee['xZvlV']),{checkAccessibilityPlatformConfig:_0x3ddb08}=_0x21beee[_0x45344e(0x23c)](require,_0x21beee[_0x45344e(0x26a)]),{setAccessibilityCapabilities:_0x42c018}=_0x21beee['pVndg'](require,_0x21beee[_0x45344e(0x25f)]),_0x154c00=helper['getPackageVersion'](_0x21beee[_0x45344e(0x214)]);if(_0x154c00){_0x3e7059[_0x45344e(0x268)](constants[_0x45344e(0x27f)][_0x45344e(0x260)],constants[_0x45344e(0x27f)][_0x45344e(0x24e)]),_0x35502e[_0x45344e(0x221)]()[_0x45344e(0x259)](_0x371ee0[_0x45344e(0x272)],_0x371ee0[_0x45344e(0x231)],_0x371ee0[_0x45344e(0x1fc)]),await _0x35502e[_0x45344e(0x221)]()['bootstrap']();const _0x3dbfb5=_0x35502e[_0x45344e(0x221)]()[_0x45344e(0x244)]();!helper[_0x45344e(0x20f)](_0x3dbfb5[_0x45344e(0x25b)])&&(process[_0x45344e(0x250)][_0x45344e(0x22a)]=_0x21beee['kXVWP']);_0x21beee[_0x45344e(0x1fe)](_0x3dbfb5[_0x45344e(0x25b)],![])&&(process[_0x45344e(0x250)][_0x45344e(0x22a)]=_0x21beee['RWLfv']);const _0x1e210b=_0x411255[_0x45344e(0x26d)](_0x21beee['HKzmg']);(_0x21beee['TnYpA'](_0x1e210b,0x0)||_0x21beee[_0x45344e(0x1fe)](_0x3dbfb5[_0x45344e(0x1f9)],![]))&&(process[_0x45344e(0x250)][_0x45344e(0x28a)]=_0x21beee[_0x45344e(0x24c)]);if(!_0x35502e[_0x45344e(0x221)]()[_0x45344e(0x293)]()){let _0x26a8a9=_0x21beee['cvvKX'](process[_0x45344e(0x250)][_0x45344e(0x21e)],_0x21beee[_0x45344e(0x227)]);_0x26a8a9=_0x26a8a9||_0x21beee[_0x45344e(0x263)](_0x3ddb08,_0x371ee0[_0x45344e(0x272)]),process[_0x45344e(0x250)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x26a8a9,_0x26a8a9&&_0x21beee[_0x45344e(0x1f0)](_0x42c018,_0x371ee0[_0x45344e(0x272)]);}}}catch(_0x3a27ef){logger['debug'](_0x45344e(0x1f1)+util[_0x45344e(0x23b)](_0x3a27ef));}PerformanceTester[_0x45344e(0x238)](PerformanceEvents[_0x45344e(0x255)]);let _0x14f947;_0x21beee[_0x45344e(0x20c)](parallelCucumberRun,_0x1af20d,_0x583d8b,_0x371ee0[_0x45344e(0x272)],_0x5ede70,_0x3dc43b)[_0x45344e(0x1ed)](async _0x312eee=>{const _0x263611=_0x45344e;PerformanceTester[_0x263611(0x212)](PerformanceEvents[_0x263611(0x23f)]),_0x14f947=_0x312eee;const _0x1dcff2=_0x21beee[_0x263611(0x226)](printCucumberStats,_0x312eee);process['exitCode']=_0x1dcff2,_0x21beee[_0x263611(0x246)](_0x3dc43b['length'],0x0)&&(logger[_0x263611(0x210)](_0x21beee[_0x263611(0x22d)]),helper[_0x263611(0x283)](_0x21a01e,_0x3dc43b),logger[_0x263611(0x210)](_0x21beee['ZCOwG']),helper[_0x263611(0x256)](_0x21a01e));})[_0x45344e(0x217)](async()=>{const _0x401352=_0x45344e;PerformanceTester['start'](PerformanceEvents[_0x401352(0x23f)]),_0x371ee0[_0x401352(0x280)]=helper[_0x401352(0x292)](_0x14f947,_0x21beee[_0x401352(0x239)]),testOpsHelper[_0x401352(0x234)]();const _0x333949=BrowserstackCLI[_0x401352(0x276)]();try{await TestHubHandler[_0x401352(0x205)](),await BrowserstackCLI['getInstance']()[_0x401352(0x205)]();}catch(_0x30532a){logger[_0x401352(0x210)](_0x401352(0x233)+util[_0x401352(0x23b)](_0x30532a));}try{const {browserstackFolderPath:_0x559261,tcgConfigPath:_0x4fe8b3}=helper[_0x401352(0x1f5)]();fs[_0x401352(0x22e)](_0x4fe8b3),fs[_0x401352(0x1f8)](_0x559261);}catch(_0x1810e8){logger[_0x401352(0x210)](_0x21beee[_0x401352(0x230)],_0x1810e8);}await utilities[_0x401352(0x222)](_0x371ee0,_0x333949);});}module['exports']=run;
|
|
2
|
+
'use strict';function a5_0x46c6(){const _0x571646=['handleApp','push','util','testContextOptions','BROWSERSTACK_TEST_OBSERVABILITY','stepsAmbiguous','then','yellow','isCLIEnabled','cwd','FQoxY','zdULU','bqyZI','../v2/browserstackCLI','../../helpers/test-observability/utils','20bXyvVZ','scenarios','path','accessibility','skipSessionStatus','../../helpers/performance/constants','proxySettings','PLAYWRIGHT','finally','getPackageVersion','qryux','finalExecution','506739VNpinJ','setupTCGAuth','stepsPassed','sOwfC','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getPlatformName','../utils/constants','removeDir','isRunning','CkKLG','EVENTS','cucumber','ZlLEj','setFrameworkDetail','log','errorMessage','../../helpers/testhub/testhubHandler','pwcpc','BROWSERSTACK_AUTOMATION','ziwwh','format','getInstance','cyan','nYpgB','HAMtI','cliConfig','isBrowserstackInfra','ZXyeL','join','zREyA','testObservability','true','\x20steps','DtBwP','debug','QwYsF','../v2/cliUtils','platforms','argv','@playwright/test','12Dbzslt','\x20failed','LpmFq','getTCGConfigFilePaths','env','MBlFN','116675cBNJhv','createDir','configPath','stop','SDK_SETUP','YCGoy','VSdKe','stepsFailed','../../helpers/performance/performance-tester','__isPlaywrightInstalled','printBuildLink','../playwright/accessibility-helper','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','yMHUo','stepsSkipped','9sJCwEd','dsMhI','isUndefined','EPTaT','ERcuF','forEach','logLevel','\x20pending','44177HUuoXu','FRAMEWORKS','browserstackAutomation','rbXWV','BROWSERSTACK_TEST_ACCESSIBILITY_YML','tmp','splice','562040GyKrQi','false','processSuccess','turboScaleUrl','winstonLogger','setBrowserstackConfig','PEJFU','1027608mHIRaC','nfVAM','green','\x20passed','525980cqrseu','bootstrap','stepsUnknown','SDK_CLEANUP','\x20undefined','jOIJr','unlinkSync','parseFormatters','stepsPending','config','Generating\x20consolidated\x20report...','14382tMTzCg','useW3C','accessibilityOptions','binSessionId','exitCode','cIfAJ','RMxPN','initialize','skipSessionName','getConfig','getHubUrl','../test-runner','bold','Txowm','qlcOQ','aUeza','fNyTQ','length','../../helpers/playwright-helper','CUCUMBER','\x20skipped','parallelsPerPlatform','end','framework','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','red','../../helpers/helper','steps','BROWSERSTACK_CLI_BIN_SESSION_ID','prepareCapabilities','gmVdj','stringify','isFalse','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','Tiuhv','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/utilities','mergeOutputFiles','start','getErrorMessageFromResults'];a5_0x46c6=function(){return _0x571646;};return a5_0x46c6();}const a5_0x2d1a95=a5_0x1159;(function(_0x19ba16,_0x3af4bd){const _0x220aaf=a5_0x1159,_0x372c07=_0x19ba16();while(!![]){try{const _0x4c9a9e=parseInt(_0x220aaf(0x1ea))/0x1+parseInt(_0x220aaf(0x1df))/0x2+parseInt(_0x220aaf(0x188))/0x3+parseInt(_0x220aaf(0x17c))/0x4*(-parseInt(_0x220aaf(0x1b6))/0x5)+-parseInt(_0x220aaf(0x1b0))/0x6*(parseInt(_0x220aaf(0x1cd))/0x7)+-parseInt(_0x220aaf(0x1db))/0x8+-parseInt(_0x220aaf(0x1c5))/0x9*(parseInt(_0x220aaf(0x1d4))/0xa);if(_0x4c9a9e===_0x3af4bd)break;else _0x372c07['push'](_0x372c07['shift']());}catch(_0x315f38){_0x372c07['push'](_0x372c07['shift']());}}}(a5_0x46c6,0x204ed));const fs=require('fs'),path=require(a5_0x2d1a95(0x17e)),util=require(a5_0x2d1a95(0x16f)),logger=require('../../helpers/logger')[a5_0x2d1a95(0x1d8)],helper=require(a5_0x2d1a95(0x15f)),utilities=require(a5_0x2d1a95(0x169)),constants=require(a5_0x2d1a95(0x18e)),{parallelCucumberRun}=require(a5_0x2d1a95(0x1f5)),TestHubHandler=require(a5_0x2d1a95(0x198)),testOpsHelper=require(a5_0x2d1a95(0x17b)),chalk=require('chalk'),PerformanceTester=require(a5_0x2d1a95(0x1be)),PerformanceEvents=require(a5_0x2d1a95(0x181))[a5_0x2d1a95(0x192)],BrowserstackCLI=require(a5_0x2d1a95(0x17a)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a5_0x2d1a95(0x157)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x1e14f4){const _0x53c428=a5_0x2d1a95,_0x1b7183={};_0x1b7183['EPTaT']=function(_0x5d6926,_0x3b2981){return _0x5d6926>_0x3b2981;},_0x1b7183[_0x53c428(0x19b)]=function(_0x586196,_0x3812e4){return _0x586196-_0x3812e4;},_0x1b7183[_0x53c428(0x1a9)]=function(_0x2c39e5,_0xfd3aac){return _0x2c39e5>_0xfd3aac;},_0x1b7183[_0x53c428(0x1c9)]=function(_0x5c9628,_0x57b576){return _0x5c9628>_0x57b576;},_0x1b7183['pwcpc']=function(_0x17e51f,_0x190205){return _0x17e51f>_0x190205;},_0x1b7183[_0x53c428(0x1c6)]=function(_0x29d522,_0x484e6e){return _0x29d522>_0x484e6e;},_0x1b7183[_0x53c428(0x1a0)]=function(_0x1b8436,_0x45c0b7){return _0x1b8436+_0x45c0b7;},_0x1b7183[_0x53c428(0x194)]=function(_0x43a628,_0x380743){return _0x43a628+_0x380743;},_0x1b7183['sOwfC']=function(_0x513f0a,_0x2d72c0){return _0x513f0a+_0x2d72c0;},_0x1b7183[_0x53c428(0x1b5)]=function(_0x510970,_0x295444){return _0x510970+_0x295444;},_0x1b7183['rbXWV']=function(_0x3fd00e,_0xe5343d){return _0x3fd00e+_0xe5343d;},_0x1b7183['IMJeZ']=function(_0x4a8182,_0x5442be){return _0x4a8182===_0x5442be;},_0x1b7183[_0x53c428(0x186)]=function(_0x1ea613,_0x2a1f94){return _0x1ea613===_0x2a1f94;},_0x1b7183[_0x53c428(0x155)]='****\x20RESULTS\x20****';const _0x2e65ef=_0x1b7183;let _0x41e493=0x0;if(_0x2e65ef[_0x53c428(0x186)](_0x1e14f4[_0x53c428(0x156)],0x0))return _0x41e493;return console['log'](chalk[_0x53c428(0x1f6)]['bgWhite'](_0x2e65ef['fNyTQ'])),_0x1e14f4[_0x53c428(0x1ca)](_0xbdfe7c=>{const _0x17a140=_0x53c428,_0x2e9c6f=_0xbdfe7c[0x0],_0xe0c175=_0xbdfe7c[0x1];helper[_0x17a140(0x1a2)]()&&console['log']('\x0a'+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](''+helper[_0x17a140(0x18d)](_0x2e9c6f)));const _0x210928=_0xe0c175[_0x17a140(0x17d)],_0x4a2d4f=_0xe0c175[_0x17a140(0x160)],_0x4de98e=_0xe0c175['scenariosFailed'],_0x27f769=_0xe0c175[_0x17a140(0x1bd)],_0x9abc41=_0xe0c175[_0x17a140(0x18a)],_0x5c72ec=_0xe0c175[_0x17a140(0x1c4)],_0x5005f5=_0xe0c175[_0x17a140(0x1e7)],_0x1362ad=_0xe0c175['stepsUndefined'],_0x42aaef=_0xe0c175[_0x17a140(0x1e1)],_0x19214a=_0xe0c175[_0x17a140(0x172)],_0x272903=_0xe0c175[_0x17a140(0x1d6)];let _0x332d6f=_0x210928+'\x20scenarios';const _0x40b1bd=_0x2e65ef['EPTaT'](_0x2e65ef[_0x17a140(0x19b)](_0x210928,_0x4de98e),0x0)?_0x2e65ef[_0x17a140(0x19b)](_0x210928,_0x4de98e):0x0;if(_0x2e65ef['EPTaT'](_0x4de98e,0x0)&&_0x2e65ef['EPTaT'](_0x40b1bd,0x0))_0x332d6f+='\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x4de98e+'\x20failed')+',\x20'+chalk[_0x17a140(0x1f6)][_0x17a140(0x1dd)](_0x40b1bd+_0x17a140(0x1de))+')';else(_0x2e65ef[_0x17a140(0x1c8)](_0x4de98e,0x0)||_0x2e65ef[_0x17a140(0x1a9)](_0x40b1bd,0x0))&&(_0x332d6f+=_0x2e65ef[_0x17a140(0x1c9)](_0x4de98e,0x0)?'\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x4de98e+_0x17a140(0x1b1))+')':'\x20('+chalk[_0x17a140(0x1f6)][_0x17a140(0x1dd)](_0x40b1bd+_0x17a140(0x1de))+')');const _0x28ba9b=_0x4a2d4f+_0x17a140(0x1a8),_0x4c64d1=[];_0x2e65ef[_0x17a140(0x1c8)](_0x19214a,0x0)&&_0x4c64d1['push'](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x15e)](_0x19214a+'\x20ambiguous'));_0x2e65ef[_0x17a140(0x1c9)](_0x27f769,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold']['red'](_0x27f769+_0x17a140(0x1b1)));_0x2e65ef[_0x17a140(0x1c9)](_0x9abc41,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold'][_0x17a140(0x1dd)](_0x9abc41+_0x17a140(0x1de)));_0x2e65ef[_0x17a140(0x1c9)](_0x5005f5,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk['bold'][_0x17a140(0x174)](_0x5005f5+_0x17a140(0x1cc)));_0x2e65ef[_0x17a140(0x199)](_0x5c72ec,0x0)&&_0x4c64d1['push'](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x19e)](_0x5c72ec+_0x17a140(0x159)));_0x2e65ef['ERcuF'](_0x1362ad,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](_0x1362ad+_0x17a140(0x1e3)));_0x2e65ef['dsMhI'](_0x42aaef,0x0)&&_0x4c64d1[_0x17a140(0x16e)](''+chalk[_0x17a140(0x1f6)][_0x17a140(0x174)](_0x42aaef+_0x17a140(0x159)));const _0x1890e8=_0x2e65ef[_0x17a140(0x1a0)](_0x2e65ef[_0x17a140(0x194)](_0x2e65ef[_0x17a140(0x18b)](_0x28ba9b,'('),_0x4c64d1[_0x17a140(0x1a4)](',\x20')),')');console[_0x17a140(0x196)](_0x2e65ef[_0x17a140(0x194)](_0x2e65ef['MBlFN'](_0x2e65ef[_0x17a140(0x1d0)](_0x2e65ef[_0x17a140(0x18b)]('\x0a',_0x332d6f),'\x0a'),_0x1890e8),'\x0a')),_0x2e65ef['IMJeZ'](_0x272903,![])&&(_0x41e493=0x1);}),_0x41e493;}async function run(_0xd0a124,_0x28a30b,_0x10f9f4){const _0x5f498d=a5_0x2d1a95,_0x36c0a0={'zdULU':function(_0xab4ef7,_0x62633c){return _0xab4ef7(_0x62633c);},'FQoxY':function(_0x503a2a,_0x46316d){return _0x503a2a>_0x46316d;},'bqyZI':_0x5f498d(0x1e9),'nfVAM':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','PEJFU':_0x5f498d(0x193),'nYpgB':'error\x20removing\x20tcg\x20config\x20file','DQdjv':_0x5f498d(0x1af),'LpmFq':function(_0x3faf2a,_0x1cd575,_0x2f36c7,_0x116291){return _0x3faf2a(_0x1cd575,_0x2f36c7,_0x116291);},'CkKLG':_0x5f498d(0x1d2),'emoDy':function(_0xdd2f00,_0x4d91f8){return _0xdd2f00-_0x4d91f8;},'Txowm':function(_0x278728,_0x4bf6a6){return _0x278728>=_0x4bf6a6;},'EgoIa':function(_0x2512cb,_0x4b8c0b){return _0x2512cb!=_0x4b8c0b;},'zREyA':_0x5f498d(0x1a7),'QwYsF':'../../helpers/accessibility-automation/helper','qlcOQ':_0x5f498d(0x1c1),'yMHUo':function(_0x2bb30a,_0xb1d653){return _0x2bb30a(_0xb1d653);},'cIfAJ':_0x5f498d(0x1d5),'aUeza':function(_0x5291a5,_0x3c43e3){return _0x5291a5===_0x3c43e3;},'VSdKe':function(_0x20e9b1,_0x4760e7){return _0x20e9b1(_0x4760e7);},'YCGoy':_0x5f498d(0x17a),'Tiuhv':_0x5f498d(0x1ac),'RMxPN':'../../helpers/test-observability/constants','wfDun':function(_0x34e92b,_0x579bea){return _0x34e92b(_0x579bea);},'fEpOx':'--disable-test-observability','jOIJr':function(_0x45e90c,_0x54ff99){return _0x45e90c>=_0x54ff99;},'jQrtL':function(_0x4b6fa4,_0x2c0cfd){return _0x4b6fa4===_0x2c0cfd;},'ZXyeL':function(_0x471dd4,_0x3a745f){return _0x471dd4===_0x3a745f;},'gmVdj':function(_0x91ea3f,_0x334342){return _0x91ea3f(_0x334342);},'efuGG':function(_0xa02f16,_0x3c59f6,_0x44d1b8,_0x4bf74f,_0x46aabc,_0x270aa7){return _0xa02f16(_0x3c59f6,_0x44d1b8,_0x4bf74f,_0x46aabc,_0x270aa7);}},_0x34580c=helper[_0x5f498d(0x185)](_0x36c0a0['DQdjv']);global[_0x5f498d(0x1bf)]=!!_0x34580c,await _0x10f9f4[_0x5f498d(0x1f1)](_0xd0a124),await _0x36c0a0[_0x5f498d(0x1b2)](checkPwandBootstrapCli,_0x34580c,constants[_0x5f498d(0x1ce)][_0x5f498d(0x158)],_0x10f9f4);BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x1ed)]&&(process['env'][_0x5f498d(0x161)]=BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x1ed)]);helper['setUserConfigPath'](_0x10f9f4[_0x5f498d(0x15c)],_0xd0a124);!helper[_0x5f498d(0x1a2)]()&&await _0x10f9f4[_0x5f498d(0x189)]();await helper[_0x5f498d(0x16d)](_0x10f9f4[_0x5f498d(0x1e8)]);const _0x410f7a=helper[_0x5f498d(0x1eb)](_0x10f9f4[_0x5f498d(0x1e8)]);!helper[_0x5f498d(0x1c7)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1ec)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x5f498d(0x164)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1ec)]));if(!BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()){const _0x2b3b6e=await TestHubHandler['launchBuild'](constants[_0x5f498d(0x1ce)]['CUCUMBER'],_0x10f9f4);}let _0x5107a1=[];if(!helper[_0x5f498d(0x1a2)]()){const _0x1f6cad={};_0x1f6cad[_0x5f498d(0x1ad)]=[],_0x5107a1=helper['prepareCapabilities'](Object['assign']({},_0x10f9f4[_0x5f498d(0x1e8)],_0x1f6cad),_0x410f7a,constants[_0x5f498d(0x1ce)][_0x5f498d(0x158)]);}else _0x5107a1=helper[_0x5f498d(0x162)](_0x10f9f4[_0x5f498d(0x1e8)],_0x410f7a,constants[_0x5f498d(0x1ce)]['CUCUMBER']);if(!_0x10f9f4[_0x5f498d(0x1e8)])return;const _0x10cc22=_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x15a)]||helper['getUserWorkerCount'](_0xd0a124,_0x28a30b,_0x10f9f4['config'],constants['FRAMEWORKS'][_0x5f498d(0x158)])||0x1,_0x4be8b5={'server':helper[_0x5f498d(0x1f4)](_0x10f9f4[_0x5f498d(0x1e8)]),'proxySettings':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x182)],'maxWorkers':_0x10cc22,'browserStackLogLevel':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1cb)],'skipSessionName':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x170)][_0x5f498d(0x1f2)],'skipSessionStatus':_0x10f9f4['config'][_0x5f498d(0x170)][_0x5f498d(0x180)],'turboScaleUrl':_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1d7)]},_0x307fbf=process[_0x5f498d(0x1ae)],[_0x1a08bf,_0x260b66]=helper[_0x5f498d(0x1e6)](_0x307fbf),_0x56ada2=path[_0x5f498d(0x1a4)](process[_0x5f498d(0x176)](),_0x36c0a0[_0x5f498d(0x191)]);if(_0x36c0a0[_0x5f498d(0x177)](_0x260b66[_0x5f498d(0x156)],0x0)){helper[_0x5f498d(0x1b7)](_0x56ada2);for(let _0x7963e1=_0x36c0a0['emoDy'](_0x1a08bf[_0x5f498d(0x156)],0x1);_0x36c0a0[_0x5f498d(0x1f7)](_0x7963e1,0x0);_0x7963e1--){_0x307fbf[_0x5f498d(0x1d3)](_0x1a08bf[_0x7963e1],0x2);}}_0x36c0a0['EgoIa'](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x1a6)],null)?process[_0x5f498d(0x1b4)][_0x5f498d(0x168)]=_0x10f9f4['config'][_0x5f498d(0x1a6)]:process[_0x5f498d(0x1b4)][_0x5f498d(0x168)]=_0x36c0a0[_0x5f498d(0x1a5)];if(_0x34580c)try{const {checkAccessibilityPlatformConfig:_0x574d04}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0['QwYsF']),{setAccessibilityCapabilities:_0x3b11ca}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0[_0x5f498d(0x1f8)]),_0x2c5fe6=_0x36c0a0[_0x5f498d(0x178)](_0x574d04,_0x10f9f4[_0x5f498d(0x1e8)]);if(!helper[_0x5f498d(0x1c7)](_0x10f9f4[_0x5f498d(0x1e8)][_0x5f498d(0x17f)]))process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x36c0a0['yMHUo'](String,!!_0x10f9f4['config']['accessibility']);else helper[_0x5f498d(0x1c7)](process[_0x5f498d(0x1b4)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)]=_0x2c5fe6?_0x36c0a0['zREyA']:_0x36c0a0[_0x5f498d(0x1ef)]);process['env'][_0x5f498d(0x15d)]=_0x2c5fe6?_0x36c0a0[_0x5f498d(0x1a5)]:_0x36c0a0[_0x5f498d(0x1ef)],!BrowserstackCLI[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()&&_0x36c0a0['aUeza'](process['env'][_0x5f498d(0x1d1)],_0x36c0a0[_0x5f498d(0x1a5)])&&_0x36c0a0[_0x5f498d(0x1c3)](_0x3b11ca,_0x10f9f4[_0x5f498d(0x1e8)]);}catch(_0x39a77d){logger[_0x5f498d(0x1aa)](_0x5f498d(0x166)+util['format'](_0x39a77d));}try{const _0x4160ce=_0x36c0a0[_0x5f498d(0x1bc)](require,_0x36c0a0[_0x5f498d(0x1bb)]),_0x964e92=_0x36c0a0['VSdKe'](require,_0x36c0a0[_0x5f498d(0x167)]),{FRAMEWORKS:_0x3fe400}=_0x36c0a0[_0x5f498d(0x178)](require,_0x36c0a0[_0x5f498d(0x1f0)]),{checkAccessibilityPlatformConfig:_0x559e01}=_0x36c0a0['wfDun'](require,_0x36c0a0[_0x5f498d(0x1ab)]),{setAccessibilityCapabilities:_0x541cf3}=_0x36c0a0[_0x5f498d(0x1c3)](require,_0x36c0a0[_0x5f498d(0x1f8)]),_0x4f31e5=helper[_0x5f498d(0x185)](_0x36c0a0['DQdjv']);if(_0x4f31e5){_0x964e92[_0x5f498d(0x195)](constants['FRAMEWORKS'][_0x5f498d(0x158)],constants[_0x5f498d(0x1ce)][_0x5f498d(0x183)]),_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1d9)](_0x10f9f4[_0x5f498d(0x1e8)],_0x10f9f4[_0x5f498d(0x1b8)],_0x10f9f4[_0x5f498d(0x1a1)]),await _0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1e0)]();const _0x416803=_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x1f3)]();!helper[_0x5f498d(0x165)](_0x416803['browserstackAutomation'])&&(process['env'][_0x5f498d(0x19a)]=_0x36c0a0[_0x5f498d(0x1a5)]);_0x36c0a0[_0x5f498d(0x1f9)](_0x416803[_0x5f498d(0x1cf)],![])&&(process[_0x5f498d(0x1b4)][_0x5f498d(0x19a)]=_0x36c0a0[_0x5f498d(0x1ef)]);const _0x1f50dd=_0x28a30b['indexOf'](_0x36c0a0['fEpOx']);(_0x36c0a0[_0x5f498d(0x1e4)](_0x1f50dd,0x0)||_0x36c0a0['jQrtL'](_0x416803['testObservability'],![]))&&(process['env'][_0x5f498d(0x171)]=_0x36c0a0['cIfAJ']);if(!_0x4160ce[_0x5f498d(0x19d)]()[_0x5f498d(0x190)]()){let _0x5b2756=_0x36c0a0[_0x5f498d(0x1a3)](process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)],_0x36c0a0['zREyA']);_0x5b2756=_0x5b2756||_0x36c0a0[_0x5f498d(0x163)](_0x559e01,_0x10f9f4['config']),process[_0x5f498d(0x1b4)][_0x5f498d(0x1d1)]=_0x5b2756,_0x5b2756&&_0x36c0a0['wfDun'](_0x541cf3,_0x10f9f4[_0x5f498d(0x1e8)]);}}}catch(_0x3a0258){logger[_0x5f498d(0x1aa)](_0x5f498d(0x1c2)+util[_0x5f498d(0x19c)](_0x3a0258));}PerformanceTester[_0x5f498d(0x15b)](PerformanceEvents[_0x5f498d(0x1ba)]);let _0x565643;_0x36c0a0['efuGG'](parallelCucumberRun,_0x5107a1,_0x4be8b5,_0x10f9f4[_0x5f498d(0x1e8)],_0x307fbf,_0x260b66)[_0x5f498d(0x173)](async _0x9fca96=>{const _0x1d4556=_0x5f498d;PerformanceTester[_0x1d4556(0x16b)](PerformanceEvents[_0x1d4556(0x1e2)]),_0x565643=_0x9fca96;const _0x29a8fd=_0x36c0a0[_0x1d4556(0x178)](printCucumberStats,_0x9fca96);process[_0x1d4556(0x1ee)]=_0x29a8fd,_0x36c0a0[_0x1d4556(0x177)](_0x260b66['length'],0x0)&&(logger[_0x1d4556(0x1aa)](_0x36c0a0[_0x1d4556(0x179)]),helper[_0x1d4556(0x16a)](_0x56ada2,_0x260b66),logger['debug'](_0x36c0a0[_0x1d4556(0x1dc)]),helper[_0x1d4556(0x18f)](_0x56ada2));})[_0x5f498d(0x184)](async()=>{const _0x6fc923=_0x5f498d;PerformanceTester[_0x6fc923(0x16b)](PerformanceEvents[_0x6fc923(0x1e2)]),_0x10f9f4[_0x6fc923(0x197)]=helper[_0x6fc923(0x16c)](_0x565643,_0x36c0a0[_0x6fc923(0x1da)]),testOpsHelper[_0x6fc923(0x1c0)]();const _0x54a7d5=BrowserstackCLI[_0x6fc923(0x175)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x6fc923(0x19d)]()[_0x6fc923(0x1b9)]();}catch(_0x207dd2){logger['debug'](_0x6fc923(0x18c)+util[_0x6fc923(0x19c)](_0x207dd2));}try{const {browserstackFolderPath:_0x9f769,tcgConfigPath:_0x4aa12d}=helper[_0x6fc923(0x1b3)]();fs[_0x6fc923(0x1e5)](_0x4aa12d),fs['rmdirSync'](_0x9f769);}catch(_0x4a6100){logger[_0x6fc923(0x1aa)](_0x36c0a0[_0x6fc923(0x19f)],_0x4a6100);}await utilities[_0x6fc923(0x187)](_0x10f9f4,_0x54a7d5);});}function a5_0x1159(_0x84b6cb,_0x1d746f){const _0x46c660=a5_0x46c6();return a5_0x1159=function(_0x11599e,_0x146b6d){_0x11599e=_0x11599e-0x155;let _0x44cb63=_0x46c660[_0x11599e];return _0x44cb63;},a5_0x1159(_0x84b6cb,_0x1d746f);}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x1e3fa0=a6_0x5ec9;(function(_0x315bb6,_0x5affb9){const _0x671cb3=a6_0x5ec9,_0x342ec9=_0x315bb6();while(!![]){try{const _0x3d124e=parseInt(_0x671cb3(0xf7))/0x1*(parseInt(_0x671cb3(0x167))/0x2)+-parseInt(_0x671cb3(0x10f))/0x3*(parseInt(_0x671cb3(0x159))/0x4)+parseInt(_0x671cb3(0xfc))/0x5*(-parseInt(_0x671cb3(0x115))/0x6)+parseInt(_0x671cb3(0x153))/0x7*(-parseInt(_0x671cb3(0x18d))/0x8)+parseInt(_0x671cb3(0x175))/0x9+parseInt(_0x671cb3(0x10b))/0xa+parseInt(_0x671cb3(0x14c))/0xb*(parseInt(_0x671cb3(0x189))/0xc);if(_0x3d124e===_0x5affb9)break;else _0x342ec9['push'](_0x342ec9['shift']());}catch(_0x2e13b4){_0x342ec9['push'](_0x342ec9['shift']());}}}(a6_0x5154,0x91711));function a6_0x5154(){const _0x3f41e2=['eventDataCollector','description','CUCUMBER','result','status','1241PBdTgl','parse','supportCodeLibrary','onTestCaseStarted','TestRunFinished','4735NlfiZY','split','getGherkinDocument','lLoGX','_performCLIInitialization','../../v2/state/hookState.js','vSduw','onTestStepFinished','../../utils/constants','hook','getTestFramework','testCaseStarted','sendHook','isCLIReady','testStepStarted','1043870yjFPtZ','IHwDN','onHook','WplQS','15bijVdg','setup','scenario','logTestRunFinished','testCaseStartedId','hooks','102cIJqsY','testCaseMap','onTestStepStarted','imwTd','finished_at','createTestFrameworkData','ensureCLIInitialized','sendTestRunEventForCucumber','testSteps','hlwJQ','pqgZW','report','rule','testCaseAttemptDataMap','IkTzE','HlDjL','toString','name','HookRunStarted','epQaB','setFrameworkDetail','../../../bin/v2/TestInfo.js','rLbLK','Glwua','\x20-\x20','includes','KEZoZ','PoPAC','onTestRunStarted','sFikt','winstonLogger','TestRunStarted','WsViT','@cucumber/cucumber','env','testStepFinished','testCaseFinished','find','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','exception','testStepId','actionLocation','testCase','assign','bootstrap','push','PRE','FAILED','testCases','gherkinDocument','forEach','onTestCaseFinished','ymwdY','AMBIGUOUS','../../v2/utils/cucumber-utils.js','11pfeWuH','sdapY','LayHH','cwd','getTestCaseAttempt','PENDING','steps','49OGUhFA','createHookData','children','bbxnx','getInstance','CONFIG','719716QMSgmO','gherkinDocumentMap','FQqch','snippetBuilder','bstack','getTestUUID','sDhqu','PASSED','tjLGY','xdeVs','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','uddxM','path','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','514hEqYyT','onPickle','seconds','testCaseId','UNKNOWN','DnhUZ','flat','INIT_TEST','BROWSERSTACK_CLI_BIN_SESSION_ID','debug','nWiqh','isCliEnabled','SKIPPED','\x20\x20\x20\x20','10123011nBoLCz','onGherkinDocument','wJKRY','GzWwH','EMMhw','denSF','type','testUUID','values','incrementCounter','util','PLAYWRIGHT','feature','onSource','upVKI','../../../helpers/test-observability/error-handler','kCAob','toLowerCase','testStepResult','log','6511188uIwJbf','logTestCaseFinished','testRunStarted','testRunFinished','661976vECmkK','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','ebbRP','iboAT','eventBroadcaster','isRunning','cliInitPromise','extractStepContainers','uri','../../playwright/reporter/test-details.js','fltjn','onTestRunFinished','onTestCase','trackEvent','TEST','QwfXX','sourceLocation','parseTestCaseAttempt','UNDEFINED','LaGFi','__platform','cucumber','envelope','map','failureType','Htyqr','format','text','ndBab','getGherkinStepMap','VbhYD','GOuDD','hook_type','toISOString','fdIcs','mTGTn','../../../helpers/testhub/utils.js','duration','uMEMz','RQJRl','Executing\x20tests\x20for\x20','exports','../../../helpers/logger','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','test','HjigL','FRIGm','pickleId','pickle','LOG_REPORT','POST','background','hfUga','awCkN','message','binSessionId','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','testCaseAttempt'];a6_0x5154=function(){return _0x3f41e2;};return a6_0x5154();}function a6_0x5ec9(_0x25f9bc,_0x360f9d){const _0x5154c5=a6_0x5154();return a6_0x5ec9=function(_0x5ec97c,_0x51bddd){_0x5ec97c=_0x5ec97c-0xf1;let _0x5099c6=_0x5154c5[_0x5ec97c];return _0x5099c6;},a6_0x5ec9(_0x25f9bc,_0x360f9d);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require('../../../helpers/helper'),util=require(a6_0x1e3fa0(0x17f)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x1e3fa0(0x136)),TestDetails=require(a6_0x1e3fa0(0x196)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x1e3fa0(0x184)),{shouldProcessEventForTesthub}=require(a6_0x1e3fa0(0x1b1)),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require(a6_0x1e3fa0(0x101)),CucumberUtils=require(a6_0x1e3fa0(0x14b)),TestInfo=require(a6_0x1e3fa0(0x12a)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x1e3fa0(0x1b7))[a6_0x1e3fa0(0x133)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x12b6fc){const _0x4d2cbc=a6_0x1e3fa0,_0x2667d5={};_0x2667d5[_0x4d2cbc(0x1ab)]=_0x4d2cbc(0x1a3);const _0x5c279d=_0x2667d5;super(_0x12b6fc),this['report']={},_0x12b6fc[_0x4d2cbc(0x191)]['on'](_0x5c279d[_0x4d2cbc(0x1ab)],async _0x296cc4=>{const _0x183c73=_0x4d2cbc;switch(!![]){case!!_0x296cc4[_0x183c73(0x18b)]:this[_0x183c73(0x131)](_0x296cc4[_0x183c73(0x18b)]);break;case!!_0x296cc4[_0x183c73(0x18c)]:this[_0x183c73(0x198)](_0x296cc4[_0x183c73(0x18c)]);break;case!!_0x296cc4['testCaseStarted']:this[_0x183c73(0xfa)](_0x296cc4['testCaseStarted'],_0x12b6fc,_0x296cc4);break;case!!_0x296cc4[_0x183c73(0x139)]:this['onTestCaseFinished'](_0x296cc4[_0x183c73(0x139)],_0x12b6fc,_0x296cc4);break;case!!_0x296cc4[_0x183c73(0x10a)]:this['onTestStepStarted'](_0x296cc4[_0x183c73(0x10a)],_0x12b6fc);break;case!!_0x296cc4[_0x183c73(0x138)]:this[_0x183c73(0x103)](_0x296cc4[_0x183c73(0x138)],_0x12b6fc);break;case!!_0x296cc4[_0x183c73(0x105)]:this[_0x183c73(0x10d)](_0x296cc4['hook']);break;case!!_0x296cc4[_0x183c73(0x13f)]:this['onTestCase'](_0x296cc4['testCase']);break;case!!_0x296cc4[_0x183c73(0x1bd)]:this[_0x183c73(0x168)](_0x296cc4[_0x183c73(0x1bd)]);break;case!!_0x296cc4[_0x183c73(0x146)]:this[_0x183c73(0x176)](_0x296cc4[_0x183c73(0x146)]);break;}});}[a6_0x1e3fa0(0x10d)](_0x30ad2d){const _0x3aa32c=a6_0x1e3fa0;this[_0x3aa32c(0x120)]['hooks']=Object[_0x3aa32c(0x140)]([],this[_0x3aa32c(0x120)]['hooks']||[]),this[_0x3aa32c(0x120)][_0x3aa32c(0x114)]['push'](_0x30ad2d);}['onPickle'](_0x5186cc){const _0x4ec8f6=a6_0x1e3fa0;this[_0x4ec8f6(0x120)][_0x4ec8f6(0x1bd)]=Object['assign']([],this['report'][_0x4ec8f6(0x1bd)]||[],[_0x5186cc]),this[_0x4ec8f6(0x120)][_0x4ec8f6(0x1bd)][_0x4ec8f6(0x142)](_0x5186cc);}[a6_0x1e3fa0(0x176)](_0x59fcd5){const _0x402274=a6_0x1e3fa0;this[_0x402274(0x120)][_0x402274(0x146)]=Object[_0x402274(0x140)]([],this[_0x402274(0x120)][_0x402274(0x146)]||[],[_0x59fcd5]),this[_0x402274(0x120)][_0x402274(0x146)][_0x402274(0x142)](_0x59fcd5);}[a6_0x1e3fa0(0x182)](_0x195715){const _0x63dc72=a6_0x1e3fa0;this[_0x63dc72(0x120)]['source']=_0x195715;}['onStepDefinition'](_0x2d9bb0){const _0x544536=a6_0x1e3fa0;this['report']['stepDefinition']=Object[_0x544536(0x140)]([],this['report']['stepDefinition']||[],[_0x2d9bb0]),this[_0x544536(0x120)]['stepDefinition'][_0x544536(0x142)](_0x2d9bb0);}[a6_0x1e3fa0(0x199)](_0x35ab7f){const _0x54c6f8=a6_0x1e3fa0;this[_0x54c6f8(0x120)]['testCases']=Object['assign']([],this[_0x54c6f8(0x120)][_0x54c6f8(0x145)]||[],[_0x35ab7f]),this[_0x54c6f8(0x120)]['testCases'][_0x54c6f8(0x142)](_0x35ab7f);}[a6_0x1e3fa0(0x18a)](_0x417b39){const _0x492b65=a6_0x1e3fa0,_0x30a188={'ymwdY':function(_0x2b2fca,_0x1dd852){return _0x2b2fca!==_0x1dd852;},'upVKI':_0x492b65(0x15d),'EMMhw':function(_0x4aab84,_0x259c83){return _0x4aab84+_0x259c83;},'kCAob':function(_0x375a96,_0xfe9faf){return _0x375a96+_0xfe9faf;},'DnhUZ':function(_0x400e00,_0x5174d5){return _0x400e00+_0x5174d5;},'tjLGY':_0x492b65(0x174),'HlDjL':_0x492b65(0x12d),'MRSKw':function(_0x8cca5b,_0x563ee9){return _0x8cca5b===_0x563ee9;},'uddxM':_0x492b65(0x144),'sdapY':function(_0x19eb7d,_0x444912,_0x3d75c6){return _0x19eb7d(_0x444912,_0x3d75c6);},'hlwJQ':'result','Htyqr':_0x492b65(0x1c3),'sDhqu':function(_0x17b785,_0x1ae958){return _0x17b785+_0x1ae958;},'GzWwH':function(_0x5ae8f4,_0x598c98){return _0x5ae8f4+_0x598c98;},'awCkN':function(_0xb56c08,_0x10f866){return _0xb56c08+_0x10f866;},'denSF':function(_0x5c008e,_0x458cfe){return _0x5c008e+_0x458cfe;},'vSduw':function(_0x381e9a,_0x4c217c){return _0x381e9a+_0x4c217c;}};_0x30a188[_0x492b65(0x149)](global['__platform'],undefined)&&this[_0x492b65(0x188)](_0x30a188[_0x492b65(0x179)](_0x30a188[_0x492b65(0x179)]('\x0a',global[_0x492b65(0x1a1)]),'\x0a'));const _0x2c9e49=this[_0x492b65(0xf2)][_0x492b65(0x150)](_0x417b39['testCaseStartedId']);this[_0x492b65(0x188)](_0x30a188[_0x492b65(0x178)](_0x30a188[_0x492b65(0x1c2)](_0x30a188[_0x492b65(0x17a)](_0x30a188[_0x492b65(0x102)]('\x20\x20',_0x2c9e49[_0x492b65(0x146)][_0x492b65(0x181)][_0x492b65(0x126)]),_0x30a188[_0x492b65(0x124)]),_0x2c9e49[_0x492b65(0x1bd)][_0x492b65(0x126)]),'\x0a'));const _0x5e4d48={};_0x5e4d48[_0x492b65(0x14f)]=this['cwd'],_0x5e4d48[_0x492b65(0x15c)]=this[_0x492b65(0x15c)],_0x5e4d48[_0x492b65(0xf9)]=this[_0x492b65(0xf9)],_0x5e4d48[_0x492b65(0xf1)]=_0x2c9e49;const _0x2cc508=formatterHelpers[_0x492b65(0x19e)](_0x5e4d48);let _0x41bcd8=![];_0x2cc508['testSteps'][_0x492b65(0x147)](_0x44ba05=>{const _0x33639d=_0x492b65;if(_0x30a188[_0x33639d(0x149)](_0x44ba05['name'],_0x30a188[_0x33639d(0x183)])&&!this['isBstackHook'](_0x44ba05)){totalTests+=0x1,this[_0x33639d(0x188)](_0x30a188[_0x33639d(0x179)](_0x30a188[_0x33639d(0x179)](_0x30a188[_0x33639d(0x179)](_0x30a188[_0x33639d(0x185)](_0x30a188[_0x33639d(0x16c)](_0x30a188[_0x33639d(0x161)],_0x44ba05['keyword']),_0x44ba05[_0x33639d(0x1a8)]||''),_0x30a188['HlDjL']),Status[_0x44ba05[_0x33639d(0xf5)]['status']]),'\x0a')),this[_0x33639d(0x17e)](Status[_0x44ba05[_0x33639d(0xf5)][_0x33639d(0xf6)]]);if(_0x30a188['MRSKw'](Status[_0x44ba05['result']['status']],_0x30a188[_0x33639d(0x164)])){_0x41bcd8=!![];const _0x3814b0=_0x30a188[_0x33639d(0x14d)](nestedKeyValue,_0x44ba05,[_0x30a188[_0x33639d(0x11e)],_0x30a188[_0x33639d(0x1a6)]]);_0x3814b0&&(testsErrorMessage[_0x30a188[_0x33639d(0x15f)](_0x30a188['EMMhw'](_0x2c9e49['gherkinDocument'][_0x33639d(0x181)][_0x33639d(0x126)],_0x30a188[_0x33639d(0x124)]),_0x2c9e49[_0x33639d(0x1bd)]['name'])]=_0x3814b0,this['log'](_0x30a188[_0x33639d(0x16c)](_0x3814b0,'\x0a')));}}}),_0x41bcd8&&(testSuitesFailed+=0x1),this[_0x492b65(0x188)]('\x0a');}[a6_0x1e3fa0(0x112)](_0x135ee3){}['isBstackHook'](_0xe9f8bd){const _0x1528e3=a6_0x1e3fa0,_0x4f9817={};_0x4f9817['bbxnx']=function(_0x2e2b87,_0x151fb5){return _0x2e2b87!==_0x151fb5;},_0x4f9817[_0x1528e3(0x123)]='cucumber-js/test.setup.js';const _0x4fee27=_0x4f9817;if(_0x4fee27[_0x1528e3(0x156)](_0xe9f8bd[_0x1528e3(0x19d)],undefined))return![];if(_0xe9f8bd['actionLocation']&&_0xe9f8bd[_0x1528e3(0x13e)][_0x1528e3(0x195)][_0x1528e3(0x12e)](_0x4fee27[_0x1528e3(0x123)]))return!![];return![];}[a6_0x1e3fa0(0x17e)](_0x1f9700){const _0x30b85d=a6_0x1e3fa0,_0x12b147={};_0x12b147[_0x30b85d(0x135)]=_0x30b85d(0x144),_0x12b147[_0x30b85d(0x162)]=_0x30b85d(0x160),_0x12b147[_0x30b85d(0x11f)]=_0x30b85d(0x173),_0x12b147[_0x30b85d(0x1bb)]=_0x30b85d(0x151),_0x12b147[_0x30b85d(0x10e)]=_0x30b85d(0x19f),_0x12b147['hfUga']=_0x30b85d(0x16b),_0x12b147[_0x30b85d(0xff)]=_0x30b85d(0x14a);const _0x130c19=_0x12b147;switch(_0x1f9700){case _0x130c19[_0x30b85d(0x135)]:testsFailed+=0x1;break;case _0x130c19[_0x30b85d(0x162)]:testsPassed+=0x1;break;case _0x130c19[_0x30b85d(0x11f)]:testsSkipped+=0x1;break;case _0x130c19[_0x30b85d(0x1bb)]:testsPending+=0x1;break;case _0x130c19[_0x30b85d(0x10e)]:testsUndefined+=0x1;break;case _0x130c19[_0x30b85d(0x1c1)]:testsUnknown+=0x1;break;case _0x130c19['lLoGX']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x1e3fa0(0x131)](_0xb0498d){const _0x2a65af=a6_0x1e3fa0,_0x15da46={'uMEMz':function(_0x58e084,_0x3bc9d4){return _0x58e084!==_0x3bc9d4;},'fltjn':function(_0x44f99b){return _0x44f99b();},'mTGTn':function(_0x5eae33,_0x5558f8){return _0x5eae33(_0x5558f8);},'JzsxG':function(_0x51b7c0,_0x83d9de){return _0x51b7c0+_0x83d9de;},'sFikt':function(_0x2245cd){return _0x2245cd();},'rBRSa':_0x2a65af(0x1a2)};let _0x47409e;if(_0x15da46[_0x2a65af(0x1b3)](process[_0x2a65af(0x137)][_0x2a65af(0x158)],undefined)){const _0xee01cf=JSON[_0x2a65af(0xf8)](process[_0x2a65af(0x137)]['CONFIG']);_0x47409e=_0xee01cf['capability'];}_0x15da46[_0x2a65af(0x1b3)](_0x47409e,undefined)&&_0x15da46[_0x2a65af(0x197)](isBrowserstackInfra)&&(global[_0x2a65af(0x1a1)]=_0x15da46[_0x2a65af(0x1b0)](getPlatformName,_0x47409e),this[_0x2a65af(0x188)](_0x15da46['JzsxG'](_0x2a65af(0x1b5)+global[_0x2a65af(0x1a1)],'\x0a'))),_0x15da46[_0x2a65af(0x132)](shouldProcessEventForTesthub)&&(TestDetails[_0x2a65af(0x110)](),this[_0x2a65af(0x120)][_0x2a65af(0x18b)]=_0xb0498d,BrowserstackCLI[_0x2a65af(0x157)]()[_0x2a65af(0x172)]()&&await this['isCLIReady']()&&(TestInfo['setup'](_0x15da46['rBRSa']),await BrowserstackCLI[_0x2a65af(0x157)]()[_0x2a65af(0x106)]()['trackEvent'](TestFrameworkState[_0x2a65af(0x16e)],HookState['PRE'],{})));}['onTestRunFinished'](_0xe10709){const _0x51b260=a6_0x1e3fa0;this[_0x51b260(0x120)][_0x51b260(0x18c)]=_0xe10709,this['logTestRunFinished'](_0xe10709);}async['onTestCaseStarted'](_0x260624,_0x18aa37,_0x261b2f){const _0x3bfdb6=a6_0x1e3fa0,_0x118929={'ZMSRi':function(_0x55f321,_0x2fdf11){return _0x55f321(_0x2fdf11);},'KEZoZ':_0x3bfdb6(0x134),'imwTd':function(_0xfe07cd,_0x382442){return _0xfe07cd&&_0x382442;}};testSuites+=0x1;if(_0x118929['ZMSRi'](shouldProcessEventForTesthub,_0x118929[_0x3bfdb6(0x12f)]))try{this[_0x3bfdb6(0x120)][_0x3bfdb6(0x107)]=this[_0x3bfdb6(0x120)]['testCaseStarted']||{},this[_0x3bfdb6(0x120)]['testCaseStarted'][_0x260624['id']]=_0x260624;let _0x135d45=null;BrowserstackCLI[_0x3bfdb6(0x157)]()['isCliEnabled']()&&await this[_0x3bfdb6(0x109)]()?_0x135d45=TestInfo[_0x3bfdb6(0x15e)](_0x260624['id']):_0x135d45=TestDetails[_0x3bfdb6(0x15e)](_0x260624['id']);_testCasesData[_0x260624['id']]=Object[_0x3bfdb6(0x140)]({},_0x261b2f);const _0x405a5e=this[_0x3bfdb6(0x120)],_0x30c0f9=_0x260624[_0x3bfdb6(0x16a)],_0x344fdd=_0x405a5e[_0x3bfdb6(0x145)][_0x3bfdb6(0x13a)](_0x450081=>_0x450081['id']===_0x30c0f9)[_0x3bfdb6(0x1bc)],_0x1f5839=_0x405a5e[_0x3bfdb6(0x1bd)]['find'](_0x53fc15=>_0x53fc15['id']===_0x344fdd),_0x1fc6e6=_0x405a5e['gherkinDocument']['find'](_0x177892=>_0x177892[_0x3bfdb6(0x195)]===_0x1f5839['uri']),_0x59fba4=_0x1fc6e6[_0x3bfdb6(0x181)],_0x30550={'uuid':_0x135d45,'startedAt':new Date()[_0x3bfdb6(0x1ae)]()};if(_0x1f5839){const _0x161064={};_0x161064[_0x3bfdb6(0x126)]=_0x1f5839['name'],_0x30550[_0x3bfdb6(0x111)]=_0x161064;}if(_0x118929[_0x3bfdb6(0x118)](_0x1fc6e6,_0x59fba4)){const _0x94276a={};_0x94276a[_0x3bfdb6(0x165)]=_0x1fc6e6[_0x3bfdb6(0x195)],_0x94276a[_0x3bfdb6(0x126)]=_0x59fba4[_0x3bfdb6(0x126)],_0x94276a[_0x3bfdb6(0xf3)]=_0x59fba4[_0x3bfdb6(0xf3)],_0x30550[_0x3bfdb6(0x181)]=_0x94276a;}_tests[_0x30c0f9]=_0x30550;if(BrowserstackCLI['getInstance']()[_0x3bfdb6(0x172)]()&&await this[_0x3bfdb6(0x109)]()){const _0x5286d3=await cucumberUtils[_0x3bfdb6(0x11a)](_0x30550,_0x1f5839,_0x261b2f,_0x1fc6e6,_0x260624['id'],_0x118929[_0x3bfdb6(0x12f)]),_0x73d637={};_0x73d637[_0x3bfdb6(0x1b9)]=_0x5286d3,await BrowserstackCLI[_0x3bfdb6(0x157)]()['getTestFramework']()[_0x3bfdb6(0x19a)](TestFrameworkState[_0x3bfdb6(0x19b)],HookState[_0x3bfdb6(0x143)],_0x73d637);return;}await testObservabilityReporter[_0x3bfdb6(0x11c)](_0x261b2f,_0x1fc6e6,_0x1f5839,_0x118929['KEZoZ'],_0x30550);}catch(_0x2e532c){logger[_0x3bfdb6(0x170)](_0x3bfdb6(0x13b)+util[_0x3bfdb6(0x1a7)](_0x2e532c)+'\x20');}}async[a6_0x1e3fa0(0x148)](_0x489af1,_0x113eee,_0x59bd22){const _0x4f41f2=a6_0x1e3fa0,_0x344a27={'uKHmJ':function(_0x5345eb,_0x24aab6){return _0x5345eb(_0x24aab6);},'wJKRY':_0x4f41f2(0xfb),'Glwua':'test'};this[_0x4f41f2(0x18a)](_0x489af1);if(_0x344a27['uKHmJ'](shouldProcessEventForTesthub,_0x344a27[_0x4f41f2(0x177)]))try{this[_0x4f41f2(0x120)]['testCaseFinished']=this[_0x4f41f2(0x120)][_0x4f41f2(0x139)]||{},this[_0x4f41f2(0x120)][_0x4f41f2(0x139)][_0x489af1['testCaseStartedId']]=_0x489af1,_testCasesData[_0x59bd22['id']]=Object[_0x4f41f2(0x140)]({},_0x59bd22);const _0x1f8b67=_0x489af1[_0x4f41f2(0x113)],_0x9aab06=_0x113eee[_0x4f41f2(0xf2)]['testCaseAttemptDataMap'][_0x1f8b67][_0x4f41f2(0x16a)],_0x35e7e0=_0x113eee['eventDataCollector'][_0x4f41f2(0x116)][_0x9aab06],_0x3e9155=_0x35e7e0['pickleId'],_0xc175fe=_0x113eee['eventDataCollector']['pickleMap'][_0x3e9155],_0x55d807=this[_0x4f41f2(0xfe)](_0x113eee,_0xc175fe),_0x37a1ef=_0x55d807[_0x4f41f2(0x181)],_0x147dcc=_tests[_0x9aab06];_0x147dcc&&(delete _tests[_0x9aab06],_0x147dcc['finishedAt']=new Date()['toISOString']());if(BrowserstackCLI[_0x4f41f2(0x157)]()[_0x4f41f2(0x172)]()&&await this[_0x4f41f2(0x109)]()){const _0x8a8de4=await cucumberUtils[_0x4f41f2(0x11a)](_0x147dcc,_0xc175fe,_0x59bd22,_0x55d807,_0x1f8b67,_0x344a27['wJKRY']),_0x329b9d={};_0x329b9d[_0x4f41f2(0x1b9)]=_0x8a8de4,await BrowserstackCLI[_0x4f41f2(0x157)]()[_0x4f41f2(0x106)]()['trackEvent'](TestFrameworkState[_0x4f41f2(0x19b)],HookState[_0x4f41f2(0x1bf)],_0x329b9d);const _0x1b0127={};_0x1b0127[_0x4f41f2(0x17c)]=_0x489af1[_0x4f41f2(0x113)],_0x1b0127['type']=_0x344a27[_0x4f41f2(0x12c)],await BrowserstackCLI[_0x4f41f2(0x157)]()['getTestFramework']()[_0x4f41f2(0x19a)](TestFrameworkState[_0x4f41f2(0x1be)],HookState[_0x4f41f2(0x1bf)],_0x1b0127);return;}await testObservabilityReporter[_0x4f41f2(0x11c)](_0x59bd22,_0x55d807,_0xc175fe,_0x344a27[_0x4f41f2(0x177)],_0x147dcc);}catch(_0x3c72b8){logger[_0x4f41f2(0x170)](_0x4f41f2(0x1b8)+util[_0x4f41f2(0x1a7)](_0x3c72b8));}}async['onTestStepStarted'](_0x55a465,_0xe26c1d){const _0x34bcac=a6_0x1e3fa0,_0x59580a={'FQqch':function(_0x579a58,_0x58009f){return _0x579a58(_0x58009f);},'LayHH':_0x34bcac(0x127),'iboAT':function(_0x5292ac,_0x5c42a8){return _0x5292ac!==_0x5c42a8;},'epQaB':_0x34bcac(0x13d)};if(_0x59580a[_0x34bcac(0x15b)](shouldProcessEventForTesthub,_0x59580a[_0x34bcac(0x14e)]))try{this[_0x34bcac(0x120)][_0x34bcac(0x10a)]=this[_0x34bcac(0x120)]['testStepStarted']||{},this['report'][_0x34bcac(0x10a)][_0x55a465[_0x34bcac(0x113)]]=_0x55a465;const _0x52179c=_0x55a465[_0x34bcac(0x113)],_0x21e866=_0xe26c1d['eventDataCollector'][_0x34bcac(0x122)][_0x52179c][_0x34bcac(0x16a)],_0x145ac4=this[_0x34bcac(0x120)]['testCases'][_0x34bcac(0x13a)](_0x1fb99a=>_0x1fb99a['id']===_0x21e866)['pickleId'],_0x39c646=this['report'][_0x34bcac(0x1bd)]['find'](_0x3fd1d5=>_0x3fd1d5['id']===_0x145ac4),_0x141508=this[_0x34bcac(0x120)][_0x34bcac(0x145)][_0x34bcac(0x13a)](_0x59206b=>_0x59206b['id']===_0x21e866)['testSteps'],_0x358d90=this[_0x34bcac(0x120)][_0x34bcac(0x10a)][_0x52179c][_0x34bcac(0x13d)],_0x166b73=_0x141508['find'](_0x3aa01c=>_0x3aa01c['id']===_0x358d90)['pickleStepId'],_0x1c6ffe=_0x39c646[_0x34bcac(0x152)][_0x34bcac(0x13a)](_0x259b2a=>_0x259b2a['id']===_0x166b73);if(_0x166b73&&_tests[_0x21e866]&&_0x59580a[_0x34bcac(0x190)](_tests[_0x21e866][_0x59580a['epQaB']],_0x358d90)){_tests[_0x21e866][_0x59580a[_0x34bcac(0x128)]]=_0x358d90;const _0x19e8a1={};_0x19e8a1[_0x34bcac(0x152)]=[];const _0x28018a=_tests[_0x21e866]||_0x19e8a1;_0x28018a&&!_0x28018a['steps']&&(_0x28018a[_0x34bcac(0x152)]=[]),_0x28018a[_0x34bcac(0x152)][_0x34bcac(0x142)]({'id':_0x1c6ffe['id'],'text':_0x1c6ffe[_0x34bcac(0x1a8)],'started_at':new Date()[_0x34bcac(0x1ae)]()}),_tests[_0x21e866]=_0x28018a;}if(BrowserstackCLI[_0x34bcac(0x157)]()[_0x34bcac(0x172)]()&&await this[_0x34bcac(0x109)]()){const _0x34ffca=await cucumberUtils[_0x34bcac(0x154)](this[_0x34bcac(0x120)],_0x52179c,_0x59580a[_0x34bcac(0x14e)],_0x141508,_0x358d90,_tests[_0x21e866]);_0x34ffca&&await BrowserstackCLI[_0x34bcac(0x157)]()[_0x34bcac(0x106)]()[_0x34bcac(0x19a)](TestFrameworkState[_0x34ffca[_0x34bcac(0x1ad)]],HookState[_0x34bcac(0x143)],{'hookData':_0x34ffca,'testUUID':_0x55a465['testCaseStartedId']});return;}await testObservabilityReporter[_0x34bcac(0x108)](this[_0x34bcac(0x120)],_0x52179c,_0x59580a[_0x34bcac(0x14e)],_0x141508,_0x358d90,_tests[_0x21e866]);}catch(_0x508309){logger['debug']('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util['format'](_0x508309));}}async[a6_0x1e3fa0(0x103)](_0x314705,_0x418347){const _0x428402=a6_0x1e3fa0,_0x11ffb4={'PoPAC':function(_0x2fa3e3,_0x4b6536){return _0x2fa3e3===_0x4b6536;},'quTjl':'4|1|0|3|2','rLbLK':function(_0x3f20d8,_0x57a112){return _0x3f20d8(_0x57a112);},'jlTNx':'HookRunFinished','ebbRP':'failed','QwfXX':function(_0x456243,_0x96944f){return _0x456243===_0x96944f;},'zOhIV':function(_0x1d6b04,_0x1e6aa8){return _0x1d6b04===_0x1e6aa8;},'IHwDN':'UnhandledError','fdIcs':_0x428402(0x13d),'SjWcc':_0x428402(0x127),'GOuDD':_0x428402(0x105)};this[_0x428402(0x120)][_0x428402(0x138)]=this[_0x428402(0x120)][_0x428402(0x138)]||{},this[_0x428402(0x120)][_0x428402(0x138)][_0x314705['testCaseStartedId']]=_0x314705;if(_0x11ffb4[_0x428402(0x12b)](shouldProcessEventForTesthub,_0x11ffb4['jlTNx']))try{const _0x4c48ad=_0x314705[_0x428402(0x113)],_0x3011d1=_0x418347[_0x428402(0xf2)][_0x428402(0x122)][_0x4c48ad][_0x428402(0x16a)],_0x3ca2c6=_0x418347['eventDataCollector'][_0x428402(0x116)][_0x3011d1],_0x2a088=_0x3ca2c6[_0x428402(0x1bc)],_0x442ec4=_0x418347[_0x428402(0xf2)]['pickleMap'][_0x2a088],_0x535187=_0x314705['testStepId'],_0x3feae9=_0x3ca2c6[_0x428402(0x11d)],_0x3a530c=this[_0x428402(0xf2)][_0x428402(0x150)](_0x4c48ad),_0x2aaf98=_0x3feae9[_0x428402(0x13a)](_0x383f1d=>_0x383f1d['id']===_0x535187)['pickleStepId'];let _0x1bebc5,_0x545766;_0x314705[_0x428402(0x187)]&&_0x11ffb4[_0x428402(0x130)](_0x314705['testStepResult'][_0x428402(0xf6)][_0x428402(0x125)]()[_0x428402(0x186)](),_0x11ffb4[_0x428402(0x18f)])&&(_0x1bebc5=_0x11ffb4[_0x428402(0x19c)](_0x314705[_0x428402(0x187)][_0x428402(0x13c)],undefined)?_0x314705[_0x428402(0x187)][_0x428402(0x1c3)]:_0x314705[_0x428402(0x187)][_0x428402(0x13c)][_0x428402(0x1c3)],_0x545766=_0x11ffb4['zOhIV'](_0x314705[_0x428402(0x187)][_0x428402(0x13c)],undefined)?_0x11ffb4[_0x428402(0x10c)]:_0x314705[_0x428402(0x187)]['message']);if(_0x2aaf98&&_tests[_0x3011d1][_0x11ffb4[_0x428402(0x1af)]]){const _0x4a4026=_0x442ec4['steps'][_0x428402(0x13a)](_0x52f799=>_0x52f799['id']===_0x2aaf98),_0x2ea8c4={};_0x2ea8c4['steps']=[];const _0x44835b=_tests[_0x3011d1]||_0x2ea8c4;!_0x44835b[_0x428402(0x152)]?_0x44835b[_0x428402(0x152)]=[{'id':_0x4a4026['id'],'text':_0x4a4026[_0x428402(0x1a8)],'finished_at':new Date()['toISOString'](),'result':_0x314705[_0x428402(0x187)]['status'],'duration':_0x314705[_0x428402(0x187)][_0x428402(0x1b2)]['seconds'],'failure':_0x1bebc5,'failureType':_0x545766}]:_0x44835b[_0x428402(0x152)][_0x428402(0x147)](_0x2f9384=>{const _0x1e4f00=_0x428402;if(_0x11ffb4[_0x1e4f00(0x130)](_0x2f9384['id'],_0x4a4026['id'])){const _0x306de8=_0x11ffb4['quTjl'][_0x1e4f00(0xfd)]('|');let _0x532aca=0x0;while(!![]){switch(_0x306de8[_0x532aca++]){case'0':_0x2f9384[_0x1e4f00(0x1b2)]=_0x314705['testStepResult'][_0x1e4f00(0x1b2)][_0x1e4f00(0x169)];continue;case'1':_0x2f9384['result']=_0x314705[_0x1e4f00(0x187)][_0x1e4f00(0xf6)];continue;case'2':_0x2f9384[_0x1e4f00(0x1a5)]=_0x545766;continue;case'3':_0x2f9384['failure']=_0x1bebc5;continue;case'4':_0x2f9384[_0x1e4f00(0x119)]=new Date()[_0x1e4f00(0x1ae)]();continue;}break;}}}),_tests[_0x3011d1]=_0x44835b;}delete _tests[_0x3011d1][_0x11ffb4['fdIcs']];if(BrowserstackCLI[_0x428402(0x157)]()[_0x428402(0x172)]()&&await this[_0x428402(0x109)]()){const _0x277644=await cucumberUtils[_0x428402(0x154)](this[_0x428402(0x120)],_0x4c48ad,_0x11ffb4['SjWcc'],_0x3feae9,_0x535187,_tests[_0x3011d1]);if(_0x277644){await BrowserstackCLI['getInstance']()[_0x428402(0x106)]()[_0x428402(0x19a)](TestFrameworkState[_0x277644[_0x428402(0x1ad)]],HookState[_0x428402(0x1bf)],{'hookData':_0x277644,'testUUID':_0x314705['testCaseStartedId']});const _0x2a868d={};_0x2a868d[_0x428402(0x17c)]=_0x314705[_0x428402(0x113)],_0x2a868d[_0x428402(0x17b)]=_0x11ffb4[_0x428402(0x1ac)],await BrowserstackCLI[_0x428402(0x157)]()[_0x428402(0x106)]()[_0x428402(0x19a)](TestFrameworkState[_0x428402(0x1be)],HookState[_0x428402(0x1bf)],_0x2a868d);}return;}await testObservabilityReporter[_0x428402(0x108)](this[_0x428402(0x120)],_0x4c48ad,_0x11ffb4['jlTNx'],_0x3feae9,_0x535187,_tests[_0x3011d1]);}catch(_0x3ccb9f){logger[_0x428402(0x170)]('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util['format'](_0x3ccb9f));}}[a6_0x1e3fa0(0x1aa)](_0x350d47){const _0x2ff3a4=a6_0x1e3fa0,_0x594812={};return _0x350d47[_0x2ff3a4(0x181)][_0x2ff3a4(0x155)][_0x2ff3a4(0x1a4)](this[_0x2ff3a4(0x194)])[_0x2ff3a4(0x16d)]()[_0x2ff3a4(0x147)](_0x2d94d2=>_0x2d94d2[_0x2ff3a4(0x152)][_0x2ff3a4(0x147)](_0x41e893=>_0x594812[_0x41e893['id']]=_0x41e893)),_0x594812;}[a6_0x1e3fa0(0x194)](_0x276ce7){const _0x512d36=a6_0x1e3fa0,_0x43e58f={'NYEyn':function(_0xea07eb,_0x351891){return _0xea07eb(_0x351891);},'bFxiv':function(_0x8fb704,_0x41407c){return _0x8fb704(_0x41407c);}};if(!_0x43e58f['NYEyn'](isUndefined,_0x276ce7[_0x512d36(0x1c0)]))return[_0x276ce7[_0x512d36(0x1c0)]];else{if(!_0x43e58f['bFxiv'](isUndefined,_0x276ce7[_0x512d36(0x121)]))return _0x276ce7[_0x512d36(0x121)][_0x512d36(0x155)][_0x512d36(0x1a4)](_0x594c8d=>!isUndefined(_0x594c8d[_0x512d36(0x1c0)])?_0x594c8d[_0x512d36(0x1c0)]:_0x594c8d[_0x512d36(0x111)]);};return[_0x276ce7[_0x512d36(0x111)]];}[a6_0x1e3fa0(0xfe)](_0x41ec86,_0xbe8ad2){const _0x23ba81=a6_0x1e3fa0;return Object[_0x23ba81(0x17d)](_0x41ec86['eventDataCollector'][_0x23ba81(0x15a)])[_0x23ba81(0x13a)](_0x6a4a6a=>_0x6a4a6a[_0x23ba81(0x195)]===_0xbe8ad2['uri']);}async['ensureCLIInitialized'](){const _0x7c9473=a6_0x1e3fa0;if(this[_0x7c9473(0x193)])return this[_0x7c9473(0x193)];return this[_0x7c9473(0x193)]=this['_performCLIInitialization'](),this[_0x7c9473(0x193)];}async[a6_0x1e3fa0(0x100)](){const _0x5019b5=a6_0x1e3fa0,_0x7db1b={'ndBab':_0x5019b5(0x166),'LaGFi':function(_0x2ab6d1,_0x2f6234){return _0x2ab6d1(_0x2f6234);},'nWiqh':'../../v2/cliUtils','HjigL':function(_0x3f07cc,_0x512d4b){return _0x3f07cc(_0x512d4b);},'RQJRl':_0x5019b5(0x104)};try{const _0x1835e7=BrowserstackCLI['getInstance']();if(_0x1835e7[_0x5019b5(0x192)]())return logger[_0x5019b5(0x170)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x1835e7[_0x5019b5(0x1c4)]),!![];const _0x475a08=process[_0x5019b5(0x137)][_0x5019b5(0x16f)];if(!_0x475a08)return logger[_0x5019b5(0x170)](_0x7db1b[_0x5019b5(0x1a9)]),![];const _0x257f54=_0x7db1b[_0x5019b5(0x1a0)](require,_0x7db1b[_0x5019b5(0x171)]),{FRAMEWORKS:_0x1489bc}=_0x7db1b[_0x5019b5(0x1ba)](require,_0x7db1b[_0x5019b5(0x1b4)]);return _0x257f54[_0x5019b5(0x129)](_0x1489bc[_0x5019b5(0xf4)],_0x1489bc[_0x5019b5(0x180)]),logger[_0x5019b5(0x170)](_0x5019b5(0x18e)+_0x475a08),await _0x1835e7[_0x5019b5(0x141)](),logger[_0x5019b5(0x170)](_0x5019b5(0x1c5)+_0x1835e7[_0x5019b5(0x192)]()+',\x20binSessionId:\x20'+_0x1835e7[_0x5019b5(0x1c4)]),_0x1835e7['isRunning']();}catch(_0x3201e9){return logger['debug'](_0x5019b5(0x163)+util[_0x5019b5(0x1a7)](_0x3201e9)),![];}}async[a6_0x1e3fa0(0x109)](){const _0x2c7daf=a6_0x1e3fa0;try{return await this[_0x2c7daf(0x11b)](),BrowserstackCLI[_0x2c7daf(0x157)]()[_0x2c7daf(0x192)]();}catch(_0x3546bb){return logger[_0x2c7daf(0x170)]('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x2c7daf(0x1a7)](_0x3546bb)),![];}}}module[a6_0x1e3fa0(0x1b6)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x1e3fa0(0xfa),a6_0x1e3fa0(0x148),a6_0x1e3fa0(0x117),a6_0x1e3fa0(0x103),a6_0x1e3fa0(0x131),'onTestRunFinished',a6_0x1e3fa0(0x194),'getGherkinDocument','getGherkinStepMap']);
|
|
1
|
+
function a6_0x441e(_0x13c533,_0x1ec4ad){const _0x27355d=a6_0x2735();return a6_0x441e=function(_0x441eb6,_0x595c34){_0x441eb6=_0x441eb6-0x12b;let _0x41c87f=_0x27355d[_0x441eb6];return _0x41c87f;},a6_0x441e(_0x13c533,_0x1ec4ad);}const a6_0x225d11=a6_0x441e;(function(_0x48a935,_0xd27d16){const _0x4346a9=a6_0x441e,_0x1de91d=_0x48a935();while(!![]){try{const _0x3bca0a=-parseInt(_0x4346a9(0x143))/0x1+-parseInt(_0x4346a9(0x1a0))/0x2+-parseInt(_0x4346a9(0x16e))/0x3+-parseInt(_0x4346a9(0x1bd))/0x4*(parseInt(_0x4346a9(0x1c5))/0x5)+-parseInt(_0x4346a9(0x18c))/0x6+-parseInt(_0x4346a9(0x1d1))/0x7*(parseInt(_0x4346a9(0x141))/0x8)+parseInt(_0x4346a9(0x12e))/0x9;if(_0x3bca0a===_0xd27d16)break;else _0x1de91d['push'](_0x1de91d['shift']());}catch(_0x5783b0){_0x1de91d['push'](_0x1de91d['shift']());}}}(a6_0x2735,0x62562));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x225d11(0x175)),util=require(a6_0x225d11(0x1b5)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x225d11(0x12c)),TestDetails=require(a6_0x225d11(0x186)),TestObservabilityReporter=require(a6_0x225d11(0x14b)),{o11yClassErrorHandler}=require(a6_0x225d11(0x13d)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x225d11(0x194)),HookState=require(a6_0x225d11(0x1f8)),CucumberUtils=require(a6_0x225d11(0x1c2)),TestInfo=require(a6_0x225d11(0x177)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x225d11(0x19c)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x45a48b){const _0x2c3a1d=a6_0x225d11,_0x5b3d6d={};_0x5b3d6d[_0x2c3a1d(0x12d)]=_0x2c3a1d(0x168);const _0x432604=_0x5b3d6d;super(_0x45a48b),this['report']={},_0x45a48b[_0x2c3a1d(0x1ad)]['on'](_0x432604[_0x2c3a1d(0x12d)],async _0x586bf9=>{const _0x15fb8d=_0x2c3a1d;switch(!![]){case!!_0x586bf9[_0x15fb8d(0x1f5)]:this[_0x15fb8d(0x192)](_0x586bf9[_0x15fb8d(0x1f5)]);break;case!!_0x586bf9[_0x15fb8d(0x160)]:this[_0x15fb8d(0x1f0)](_0x586bf9['testRunFinished']);break;case!!_0x586bf9[_0x15fb8d(0x1aa)]:this[_0x15fb8d(0x15c)](_0x586bf9[_0x15fb8d(0x1aa)],_0x45a48b,_0x586bf9);break;case!!_0x586bf9[_0x15fb8d(0x1e6)]:this[_0x15fb8d(0x13a)](_0x586bf9[_0x15fb8d(0x1e6)],_0x45a48b,_0x586bf9);break;case!!_0x586bf9[_0x15fb8d(0x17f)]:this[_0x15fb8d(0x180)](_0x586bf9[_0x15fb8d(0x17f)],_0x45a48b);break;case!!_0x586bf9[_0x15fb8d(0x171)]:this[_0x15fb8d(0x181)](_0x586bf9[_0x15fb8d(0x171)],_0x45a48b);break;case!!_0x586bf9[_0x15fb8d(0x1f6)]:this['onHook'](_0x586bf9[_0x15fb8d(0x1f6)]);break;case!!_0x586bf9[_0x15fb8d(0x1a4)]:this[_0x15fb8d(0x193)](_0x586bf9[_0x15fb8d(0x1a4)]);break;case!!_0x586bf9[_0x15fb8d(0x184)]:this[_0x15fb8d(0x1d5)](_0x586bf9['pickle']);break;case!!_0x586bf9[_0x15fb8d(0x1d6)]:this[_0x15fb8d(0x1d8)](_0x586bf9[_0x15fb8d(0x1d6)]);break;}});}[a6_0x225d11(0x137)](_0x37a4bd){const _0x41b98e=a6_0x225d11;this[_0x41b98e(0x1db)]['hooks']=Object['assign']([],this['report'][_0x41b98e(0x13b)]||[]),this[_0x41b98e(0x1db)][_0x41b98e(0x13b)][_0x41b98e(0x178)](_0x37a4bd);}['onPickle'](_0x480e28){const _0x6a9428=a6_0x225d11;this['report'][_0x6a9428(0x184)]=Object[_0x6a9428(0x1c4)]([],this['report'][_0x6a9428(0x184)]||[],[_0x480e28]),this[_0x6a9428(0x1db)][_0x6a9428(0x184)][_0x6a9428(0x178)](_0x480e28);}[a6_0x225d11(0x1d8)](_0x7b73e7){const _0x433408=a6_0x225d11;this[_0x433408(0x1db)][_0x433408(0x1d6)]=Object[_0x433408(0x1c4)]([],this[_0x433408(0x1db)][_0x433408(0x1d6)]||[],[_0x7b73e7]),this['report'][_0x433408(0x1d6)][_0x433408(0x178)](_0x7b73e7);}['onSource'](_0x44715b){this['report']['source']=_0x44715b;}[a6_0x225d11(0x1ea)](_0x3cbe73){const _0x374db5=a6_0x225d11;this[_0x374db5(0x1db)]['stepDefinition']=Object[_0x374db5(0x1c4)]([],this[_0x374db5(0x1db)][_0x374db5(0x13f)]||[],[_0x3cbe73]),this[_0x374db5(0x1db)][_0x374db5(0x13f)]['push'](_0x3cbe73);}['onTestCase'](_0x17688e){const _0xacdf95=a6_0x225d11;this[_0xacdf95(0x1db)][_0xacdf95(0x183)]=Object[_0xacdf95(0x1c4)]([],this[_0xacdf95(0x1db)][_0xacdf95(0x183)]||[],[_0x17688e]),this[_0xacdf95(0x1db)][_0xacdf95(0x183)][_0xacdf95(0x178)](_0x17688e);}['logTestCaseFinished'](_0x3d07f8){const _0x266cb4=a6_0x225d11,_0x1e7f34={'yLgNL':function(_0x1ad3e8,_0xdfb8d4){return _0x1ad3e8!==_0xdfb8d4;},'CvaCG':_0x266cb4(0x12b),'IfSOr':function(_0x280dfc,_0x4883b3){return _0x280dfc+_0x4883b3;},'CgiGY':function(_0x21c577,_0x59c940){return _0x21c577+_0x59c940;},'lBuAk':function(_0x34962c,_0x685fb3){return _0x34962c+_0x685fb3;},'FqhFA':function(_0x5ca511,_0x52a875){return _0x5ca511+_0x52a875;},'PBzIM':_0x266cb4(0x155),'CnmyW':_0x266cb4(0x188),'JMtBT':function(_0x279539,_0x395003){return _0x279539===_0x395003;},'EejJn':_0x266cb4(0x1e9),'IZEmx':function(_0x24fc5a,_0x9ec9c4,_0x165fc7){return _0x24fc5a(_0x9ec9c4,_0x165fc7);},'YIRwO':_0x266cb4(0x166),'TtdHO':_0x266cb4(0x1f3),'mnzJM':function(_0x110c5e,_0x4bb61f){return _0x110c5e+_0x4bb61f;},'eGiTW':function(_0x36a8d9,_0x199bf9){return _0x36a8d9+_0x199bf9;},'uaiXU':function(_0x3c8e4d,_0x3cb025){return _0x3c8e4d+_0x3cb025;},'wDcUg':function(_0x41f277,_0x264df2){return _0x41f277+_0x264df2;},'VdSWi':function(_0x22d692,_0x3e812c){return _0x22d692+_0x3e812c;},'ZfMzq':function(_0xb9656d,_0x2a3e67){return _0xb9656d+_0x2a3e67;},'QhVBJ':function(_0x40aaba,_0x41f898){return _0x40aaba+_0x41f898;}};_0x1e7f34[_0x266cb4(0x19a)](global[_0x266cb4(0x1ac)],undefined)&&this[_0x266cb4(0x15f)](_0x1e7f34[_0x266cb4(0x1d2)](_0x1e7f34[_0x266cb4(0x14c)]('\x0a',global[_0x266cb4(0x1ac)]),'\x0a'));const _0x345be4=this[_0x266cb4(0x1ee)]['getTestCaseAttempt'](_0x3d07f8[_0x266cb4(0x185)]);this[_0x266cb4(0x15f)](_0x1e7f34[_0x266cb4(0x1b4)](_0x1e7f34['VdSWi'](_0x1e7f34['ZfMzq'](_0x1e7f34[_0x266cb4(0x1fb)]('\x20\x20',_0x345be4[_0x266cb4(0x1d6)][_0x266cb4(0x170)][_0x266cb4(0x17d)]),_0x1e7f34['CnmyW']),_0x345be4[_0x266cb4(0x184)]['name']),'\x0a'));const _0x2cac2c={};_0x2cac2c[_0x266cb4(0x172)]=this['cwd'],_0x2cac2c['snippetBuilder']=this[_0x266cb4(0x1cd)],_0x2cac2c[_0x266cb4(0x1e2)]=this[_0x266cb4(0x1e2)],_0x2cac2c[_0x266cb4(0x19f)]=_0x345be4;const _0x3ec93a=formatterHelpers[_0x266cb4(0x15e)](_0x2cac2c);let _0x3aaa79=![];_0x3ec93a[_0x266cb4(0x16c)][_0x266cb4(0x191)](_0x154a2e=>{const _0x82a9f9=_0x266cb4;if(_0x1e7f34['yLgNL'](_0x154a2e[_0x82a9f9(0x17d)],_0x1e7f34[_0x82a9f9(0x15b)])&&!this[_0x82a9f9(0x149)](_0x154a2e)){totalTests+=0x1,this[_0x82a9f9(0x15f)](_0x1e7f34[_0x82a9f9(0x1c7)](_0x1e7f34[_0x82a9f9(0x1c7)](_0x1e7f34['CgiGY'](_0x1e7f34[_0x82a9f9(0x19b)](_0x1e7f34[_0x82a9f9(0x1e5)](_0x1e7f34[_0x82a9f9(0x146)],_0x154a2e['keyword']),_0x154a2e[_0x82a9f9(0x1b7)]||''),_0x1e7f34[_0x82a9f9(0x1cf)]),Status[_0x154a2e['result'][_0x82a9f9(0x1d4)]]),'\x0a')),this[_0x82a9f9(0x1b3)](Status[_0x154a2e[_0x82a9f9(0x166)][_0x82a9f9(0x1d4)]]);if(_0x1e7f34[_0x82a9f9(0x16d)](Status[_0x154a2e[_0x82a9f9(0x166)][_0x82a9f9(0x1d4)]],_0x1e7f34[_0x82a9f9(0x18b)])){_0x3aaa79=!![];const _0x482850=_0x1e7f34[_0x82a9f9(0x1a3)](nestedKeyValue,_0x154a2e,[_0x1e7f34[_0x82a9f9(0x161)],_0x1e7f34[_0x82a9f9(0x14d)]]);_0x482850&&(testsErrorMessage[_0x1e7f34['FqhFA'](_0x1e7f34[_0x82a9f9(0x19b)](_0x345be4[_0x82a9f9(0x1d6)][_0x82a9f9(0x170)][_0x82a9f9(0x17d)],_0x1e7f34[_0x82a9f9(0x1cf)]),_0x345be4['pickle'][_0x82a9f9(0x17d)])]=_0x482850,this[_0x82a9f9(0x15f)](_0x1e7f34[_0x82a9f9(0x153)](_0x482850,'\x0a')));}}}),_0x3aaa79&&(testSuitesFailed+=0x1),this[_0x266cb4(0x15f)]('\x0a');}[a6_0x225d11(0x162)](_0x70549b){}[a6_0x225d11(0x149)](_0xe8294f){const _0x24947a=a6_0x225d11,_0x5c6a00={};_0x5c6a00[_0x24947a(0x163)]=function(_0x27f2bc,_0x383f80){return _0x27f2bc!==_0x383f80;},_0x5c6a00['lUrUy']=_0x24947a(0x197);const _0x22aba6=_0x5c6a00;if(_0x22aba6[_0x24947a(0x163)](_0xe8294f[_0x24947a(0x1e1)],undefined))return![];if(_0xe8294f[_0x24947a(0x17a)]&&_0xe8294f[_0x24947a(0x17a)][_0x24947a(0x14e)]['includes'](_0x22aba6[_0x24947a(0x17b)]))return!![];return![];}[a6_0x225d11(0x1b3)](_0xb068cf){const _0x26d6e6=a6_0x225d11,_0xc74ee6={};_0xc74ee6[_0x26d6e6(0x176)]=_0x26d6e6(0x1e9),_0xc74ee6[_0x26d6e6(0x1ab)]=_0x26d6e6(0x198),_0xc74ee6['dMwhc']=_0x26d6e6(0x1d0),_0xc74ee6[_0x26d6e6(0x16f)]='PENDING',_0xc74ee6[_0x26d6e6(0x1b9)]=_0x26d6e6(0x152),_0xc74ee6['IfzOn']='UNKNOWN',_0xc74ee6[_0x26d6e6(0x196)]=_0x26d6e6(0x1fc);const _0x47a206=_0xc74ee6;switch(_0xb068cf){case _0x47a206[_0x26d6e6(0x176)]:testsFailed+=0x1;break;case _0x47a206[_0x26d6e6(0x1ab)]:testsPassed+=0x1;break;case _0x47a206['dMwhc']:testsSkipped+=0x1;break;case _0x47a206[_0x26d6e6(0x16f)]:testsPending+=0x1;break;case _0x47a206[_0x26d6e6(0x1b9)]:testsUndefined+=0x1;break;case _0x47a206['IfzOn']:testsUnknown+=0x1;break;case _0x47a206[_0x26d6e6(0x196)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x225d11(0x192)](_0x24c41f){const _0x3c1db5=a6_0x225d11,_0x313872={'HLVlZ':function(_0x572254,_0x1cae37){return _0x572254!==_0x1cae37;},'mxxGv':function(_0x4a50b5){return _0x4a50b5();},'GLcja':function(_0x439257,_0x3354da){return _0x439257(_0x3354da);},'SmMib':function(_0x1bfb4d,_0x5e4671){return _0x1bfb4d+_0x5e4671;},'FYFoG':_0x3c1db5(0x133)};let _0x1141ae;if(_0x313872[_0x3c1db5(0x1da)](process[_0x3c1db5(0x17c)][_0x3c1db5(0x1c0)],undefined)){const _0x2070ac=JSON[_0x3c1db5(0x151)](process[_0x3c1db5(0x17c)][_0x3c1db5(0x1c0)]);_0x1141ae=_0x2070ac[_0x3c1db5(0x190)];}_0x313872['HLVlZ'](_0x1141ae,undefined)&&_0x313872[_0x3c1db5(0x182)](isBrowserstackInfra)&&(global[_0x3c1db5(0x1ac)]=_0x313872[_0x3c1db5(0x157)](getPlatformName,_0x1141ae),this['log'](_0x313872[_0x3c1db5(0x1be)](_0x3c1db5(0x1a2)+global['__platform'],'\x0a'))),_0x313872[_0x3c1db5(0x182)](shouldProcessEventForTesthub)&&(TestDetails[_0x3c1db5(0x1a9)](),this[_0x3c1db5(0x1db)][_0x3c1db5(0x1f5)]=_0x24c41f,BrowserstackCLI[_0x3c1db5(0x1cb)]()['isCliEnabled']()&&await this['isCLIReady']()&&(TestInfo[_0x3c1db5(0x1a9)](_0x313872[_0x3c1db5(0x148)]),await BrowserstackCLI[_0x3c1db5(0x1cb)]()['getTestFramework']()[_0x3c1db5(0x173)](TestFrameworkState[_0x3c1db5(0x1ba)],HookState[_0x3c1db5(0x15a)],{})));}['onTestRunFinished'](_0xf9d20c){const _0x44ac9d=a6_0x225d11;this['report'][_0x44ac9d(0x160)]=_0xf9d20c,this[_0x44ac9d(0x162)](_0xf9d20c);}async[a6_0x225d11(0x15c)](_0x415135,_0x1a7b82,_0x5ba016){const _0x408514=a6_0x225d11,_0x2cf777={'ZdCXb':function(_0x52b8b4,_0x2a0cf0){return _0x52b8b4(_0x2a0cf0);},'nTiKQ':_0x408514(0x199),'XqPcC':function(_0xc12d16,_0xa7dcbd){return _0xc12d16&&_0xa7dcbd;}};testSuites+=0x1;if(_0x2cf777['ZdCXb'](shouldProcessEventForTesthub,_0x2cf777['nTiKQ']))try{this[_0x408514(0x1db)][_0x408514(0x1aa)]=this['report'][_0x408514(0x1aa)]||{},this[_0x408514(0x1db)][_0x408514(0x1aa)][_0x415135['id']]=_0x415135;let _0x1acf38=null;BrowserstackCLI['getInstance']()[_0x408514(0x150)]()&&await this['isCLIReady']()?_0x1acf38=TestInfo[_0x408514(0x18f)](_0x415135['id']):_0x1acf38=TestDetails[_0x408514(0x18f)](_0x415135['id']);_testCasesData[_0x415135['id']]=Object[_0x408514(0x1c4)]({},_0x5ba016);const _0x1159fe=this[_0x408514(0x1db)],_0x4c6dc8=_0x415135['testCaseId'],_0xf549de=_0x1159fe[_0x408514(0x183)]['find'](_0xfd9564=>_0xfd9564['id']===_0x4c6dc8)[_0x408514(0x13c)],_0x284f73=_0x1159fe[_0x408514(0x184)][_0x408514(0x1a5)](_0x4b432a=>_0x4b432a['id']===_0xf549de),_0x11950d=_0x1159fe[_0x408514(0x1d6)][_0x408514(0x1a5)](_0xd7fa24=>_0xd7fa24[_0x408514(0x14e)]===_0x284f73[_0x408514(0x14e)]),_0x1a2ae4=_0x11950d[_0x408514(0x170)],_0x5df7d8={'uuid':_0x1acf38,'startedAt':new Date()[_0x408514(0x131)]()};if(_0x284f73){const _0x22e84c={};_0x22e84c[_0x408514(0x17d)]=_0x284f73[_0x408514(0x17d)],_0x5df7d8[_0x408514(0x135)]=_0x22e84c;}if(_0x2cf777['XqPcC'](_0x11950d,_0x1a2ae4)){const _0x52a5e7={};_0x52a5e7[_0x408514(0x136)]=_0x11950d[_0x408514(0x14e)],_0x52a5e7[_0x408514(0x17d)]=_0x1a2ae4['name'],_0x52a5e7[_0x408514(0x1f7)]=_0x1a2ae4[_0x408514(0x1f7)],_0x5df7d8[_0x408514(0x170)]=_0x52a5e7;}_tests[_0x4c6dc8]=_0x5df7d8;if(BrowserstackCLI[_0x408514(0x1cb)]()[_0x408514(0x150)]()&&await this[_0x408514(0x1ca)]()){const _0x4879e0=await cucumberUtils['createTestFrameworkData'](_0x5df7d8,_0x284f73,_0x5ba016,_0x11950d,_0x415135['id'],_0x2cf777['nTiKQ']),_0x41be56={};_0x41be56['test']=_0x4879e0,await BrowserstackCLI[_0x408514(0x1cb)]()[_0x408514(0x1d3)]()[_0x408514(0x173)](TestFrameworkState[_0x408514(0x165)],HookState['PRE'],_0x41be56);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x5ba016,_0x11950d,_0x284f73,_0x2cf777[_0x408514(0x1b8)],_0x5df7d8);}catch(_0x226bc7){logger['debug'](_0x408514(0x1c3)+util[_0x408514(0x1f4)](_0x226bc7)+'\x20');}}async['onTestCaseFinished'](_0x42d266,_0x171e14,_0x57c244){const _0x4b3c55=a6_0x225d11,_0x19b80a={'NtAav':function(_0x324bbe,_0x5ebbfe){return _0x324bbe(_0x5ebbfe);},'TAwaf':_0x4b3c55(0x158),'exZxX':'test'};this['logTestCaseFinished'](_0x42d266);if(_0x19b80a['NtAav'](shouldProcessEventForTesthub,_0x19b80a[_0x4b3c55(0x17e)]))try{this[_0x4b3c55(0x1db)][_0x4b3c55(0x1e6)]=this[_0x4b3c55(0x1db)]['testCaseFinished']||{},this['report'][_0x4b3c55(0x1e6)][_0x42d266[_0x4b3c55(0x185)]]=_0x42d266,_testCasesData[_0x57c244['id']]=Object[_0x4b3c55(0x1c4)]({},_0x57c244);const _0x5e303d=_0x42d266['testCaseStartedId'],_0x2ce1da=_0x171e14[_0x4b3c55(0x1ee)][_0x4b3c55(0x132)][_0x5e303d]['testCaseId'],_0x1f253d=_0x171e14[_0x4b3c55(0x1ee)][_0x4b3c55(0x1bb)][_0x2ce1da],_0x345557=_0x1f253d[_0x4b3c55(0x13c)],_0x210506=_0x171e14['eventDataCollector']['pickleMap'][_0x345557],_0x207731=this[_0x4b3c55(0x12f)](_0x171e14,_0x210506),_0xaa12ad=_0x207731[_0x4b3c55(0x170)],_0x568242=_tests[_0x2ce1da];_0x568242&&(delete _tests[_0x2ce1da],_0x568242[_0x4b3c55(0x1b6)]=new Date()['toISOString']());if(BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x150)]()&&await this['isCLIReady']()){const _0x4972ea=await cucumberUtils[_0x4b3c55(0x154)](_0x568242,_0x210506,_0x57c244,_0x207731,_0x5e303d,_0x19b80a['TAwaf']),_0x5556bc={};_0x5556bc[_0x4b3c55(0x16b)]=_0x4972ea,await BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x1d3)]()['trackEvent'](TestFrameworkState['TEST'],HookState['POST'],_0x5556bc);const _0x3e9e2a={};_0x3e9e2a[_0x4b3c55(0x164)]=_0x42d266[_0x4b3c55(0x185)],_0x3e9e2a[_0x4b3c55(0x14f)]=_0x19b80a['exZxX'],await BrowserstackCLI[_0x4b3c55(0x1cb)]()[_0x4b3c55(0x1d3)]()[_0x4b3c55(0x173)](TestFrameworkState[_0x4b3c55(0x167)],HookState[_0x4b3c55(0x1eb)],_0x3e9e2a);return;}await testObservabilityReporter[_0x4b3c55(0x14a)](_0x57c244,_0x207731,_0x210506,_0x19b80a[_0x4b3c55(0x17e)],_0x568242);}catch(_0x27c514){logger['debug'](_0x4b3c55(0x1e4)+util[_0x4b3c55(0x1f4)](_0x27c514));}}async[a6_0x225d11(0x180)](_0x231aef,_0x585198){const _0xa9f34a=a6_0x225d11,_0x53a397={'dDQZo':function(_0x3c5c2d,_0x225d75){return _0x3c5c2d(_0x225d75);},'kDnfE':_0xa9f34a(0x1a1),'GMSag':function(_0x4fec68,_0x56fb56){return _0x4fec68!==_0x56fb56;},'zMpxK':'testStepId'};if(_0x53a397[_0xa9f34a(0x1c8)](shouldProcessEventForTesthub,_0x53a397['kDnfE']))try{this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)]=this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)]||{},this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)][_0x231aef[_0xa9f34a(0x185)]]=_0x231aef;const _0x281c25=_0x231aef[_0xa9f34a(0x185)],_0x467ff2=_0x585198['eventDataCollector'][_0xa9f34a(0x132)][_0x281c25][_0xa9f34a(0x159)],_0x278f88=this[_0xa9f34a(0x1db)]['testCases'][_0xa9f34a(0x1a5)](_0x499d4d=>_0x499d4d['id']===_0x467ff2)['pickleId'],_0x368c12=this['report'][_0xa9f34a(0x184)][_0xa9f34a(0x1a5)](_0x59feb9=>_0x59feb9['id']===_0x278f88),_0x123f0d=this[_0xa9f34a(0x1db)][_0xa9f34a(0x183)]['find'](_0x9c77ab=>_0x9c77ab['id']===_0x467ff2)['testSteps'],_0x40576f=this[_0xa9f34a(0x1db)][_0xa9f34a(0x17f)][_0x281c25]['testStepId'],_0x300620=_0x123f0d[_0xa9f34a(0x1a5)](_0x544570=>_0x544570['id']===_0x40576f)[_0xa9f34a(0x1a7)],_0x7acb21=_0x368c12[_0xa9f34a(0x1c6)]['find'](_0x5c4dce=>_0x5c4dce['id']===_0x300620);if(_0x300620&&_tests[_0x467ff2]&&_0x53a397['GMSag'](_tests[_0x467ff2][_0x53a397[_0xa9f34a(0x15d)]],_0x40576f)){_tests[_0x467ff2][_0x53a397[_0xa9f34a(0x15d)]]=_0x40576f;const _0x3657ed={};_0x3657ed['steps']=[];const _0x123b25=_tests[_0x467ff2]||_0x3657ed;_0x123b25&&!_0x123b25[_0xa9f34a(0x1c6)]&&(_0x123b25[_0xa9f34a(0x1c6)]=[]),_0x123b25[_0xa9f34a(0x1c6)]['push']({'id':_0x7acb21['id'],'text':_0x7acb21[_0xa9f34a(0x1b7)],'started_at':new Date()[_0xa9f34a(0x131)]()}),_tests[_0x467ff2]=_0x123b25;}if(BrowserstackCLI[_0xa9f34a(0x1cb)]()['isCliEnabled']()&&await this[_0xa9f34a(0x1ca)]()){const _0x266443=await cucumberUtils[_0xa9f34a(0x156)](this[_0xa9f34a(0x1db)],_0x281c25,_0x53a397[_0xa9f34a(0x18e)],_0x123f0d,_0x40576f,_tests[_0x467ff2]);_0x266443&&await BrowserstackCLI[_0xa9f34a(0x1cb)]()[_0xa9f34a(0x1d3)]()[_0xa9f34a(0x173)](TestFrameworkState[_0x266443[_0xa9f34a(0x18a)]],HookState[_0xa9f34a(0x15a)],{'hookData':_0x266443,'testUUID':_0x231aef['testCaseStartedId']});return;}await testObservabilityReporter[_0xa9f34a(0x142)](this[_0xa9f34a(0x1db)],_0x281c25,_0x53a397['kDnfE'],_0x123f0d,_0x40576f,_tests[_0x467ff2]);}catch(_0x1e00f1){logger[_0xa9f34a(0x1c9)](_0xa9f34a(0x1e3)+util[_0xa9f34a(0x1f4)](_0x1e00f1));}}async['onTestStepFinished'](_0x125739,_0x57e1e3){const _0x4cd8ed=a6_0x225d11,_0x3431ab={'WAXVg':function(_0x53deaa,_0x2ddd54){return _0x53deaa===_0x2ddd54;},'uGDWN':_0x4cd8ed(0x1dd),'CgeCG':function(_0xb1070,_0xa33503){return _0xb1070(_0xa33503);},'ubzbd':'HookRunFinished','lACLJ':_0x4cd8ed(0x139),'QcqSf':function(_0x20def5,_0x3c0376){return _0x20def5===_0x3c0376;},'QARzL':function(_0x4d226d,_0x4a97f5){return _0x4d226d===_0x4a97f5;},'ShTfZ':'UnhandledError','XDcid':_0x4cd8ed(0x1cc),'VbDsF':'HookRunStarted','iidsc':'hook'};this[_0x4cd8ed(0x1db)][_0x4cd8ed(0x171)]=this['report'][_0x4cd8ed(0x171)]||{},this[_0x4cd8ed(0x1db)][_0x4cd8ed(0x171)][_0x125739[_0x4cd8ed(0x185)]]=_0x125739;if(_0x3431ab[_0x4cd8ed(0x1e0)](shouldProcessEventForTesthub,_0x3431ab[_0x4cd8ed(0x1f9)]))try{const _0x98d3e3=_0x125739[_0x4cd8ed(0x185)],_0x11f135=_0x57e1e3[_0x4cd8ed(0x1ee)][_0x4cd8ed(0x132)][_0x98d3e3]['testCaseId'],_0x211b74=_0x57e1e3['eventDataCollector'][_0x4cd8ed(0x1bb)][_0x11f135],_0x12a826=_0x211b74['pickleId'],_0xc1a83a=_0x57e1e3[_0x4cd8ed(0x1ee)]['pickleMap'][_0x12a826],_0x1659a1=_0x125739[_0x4cd8ed(0x1cc)],_0x150c26=_0x211b74[_0x4cd8ed(0x16c)],_0x2d6805=this[_0x4cd8ed(0x1ee)]['getTestCaseAttempt'](_0x98d3e3),_0x39b39c=_0x150c26[_0x4cd8ed(0x1a5)](_0x57b72a=>_0x57b72a['id']===_0x1659a1)[_0x4cd8ed(0x1a7)];let _0x2c60a3,_0x23742c;_0x125739[_0x4cd8ed(0x1c1)]&&_0x3431ab['WAXVg'](_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1d4)][_0x4cd8ed(0x1e8)]()['toLowerCase'](),_0x3431ab[_0x4cd8ed(0x1ae)])&&(_0x2c60a3=_0x3431ab[_0x4cd8ed(0x1df)](_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x174)],undefined)?_0x125739['testStepResult'][_0x4cd8ed(0x1f3)]:_0x125739['testStepResult']['exception']['message'],_0x23742c=_0x3431ab[_0x4cd8ed(0x140)](_0x125739['testStepResult']['exception'],undefined)?_0x3431ab[_0x4cd8ed(0x1b2)]:_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1f3)]);if(_0x39b39c&&_tests[_0x11f135][_0x3431ab['XDcid']]){const _0x20931d=_0xc1a83a['steps'][_0x4cd8ed(0x1a5)](_0x16d314=>_0x16d314['id']===_0x39b39c),_0x43e574={};_0x43e574[_0x4cd8ed(0x1c6)]=[];const _0x55b4f1=_tests[_0x11f135]||_0x43e574;!_0x55b4f1[_0x4cd8ed(0x1c6)]?_0x55b4f1[_0x4cd8ed(0x1c6)]=[{'id':_0x20931d['id'],'text':_0x20931d[_0x4cd8ed(0x1b7)],'finished_at':new Date()['toISOString'](),'result':_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x1d4)],'duration':_0x125739[_0x4cd8ed(0x1c1)][_0x4cd8ed(0x16a)][_0x4cd8ed(0x1dc)],'failure':_0x2c60a3,'failureType':_0x23742c}]:_0x55b4f1[_0x4cd8ed(0x1c6)][_0x4cd8ed(0x191)](_0x244676=>{const _0x223c1f=_0x4cd8ed;if(_0x3431ab[_0x223c1f(0x1a6)](_0x244676['id'],_0x20931d['id'])){const _0x24d9c0=_0x3431ab['uGDWN'][_0x223c1f(0x1ce)]('|');let _0x4afa5a=0x0;while(!![]){switch(_0x24d9c0[_0x4afa5a++]){case'0':_0x244676['finished_at']=new Date()[_0x223c1f(0x131)]();continue;case'1':_0x244676[_0x223c1f(0x1e7)]=_0x2c60a3;continue;case'2':_0x244676[_0x223c1f(0x16a)]=_0x125739[_0x223c1f(0x1c1)]['duration']['seconds'];continue;case'3':_0x244676[_0x223c1f(0x179)]=_0x23742c;continue;case'4':_0x244676[_0x223c1f(0x166)]=_0x125739[_0x223c1f(0x1c1)][_0x223c1f(0x1d4)];continue;}break;}}}),_tests[_0x11f135]=_0x55b4f1;}delete _tests[_0x11f135][_0x3431ab[_0x4cd8ed(0x19d)]];if(BrowserstackCLI['getInstance']()[_0x4cd8ed(0x150)]()&&await this[_0x4cd8ed(0x1ca)]()){const _0x4c508e=await cucumberUtils[_0x4cd8ed(0x156)](this[_0x4cd8ed(0x1db)],_0x98d3e3,_0x3431ab['VbDsF'],_0x150c26,_0x1659a1,_tests[_0x11f135]);if(_0x4c508e){await BrowserstackCLI[_0x4cd8ed(0x1cb)]()[_0x4cd8ed(0x1d3)]()[_0x4cd8ed(0x173)](TestFrameworkState[_0x4c508e['hook_type']],HookState[_0x4cd8ed(0x1eb)],{'hookData':_0x4c508e,'testUUID':_0x125739[_0x4cd8ed(0x185)]});const _0x44b700={};_0x44b700[_0x4cd8ed(0x164)]=_0x125739[_0x4cd8ed(0x185)],_0x44b700[_0x4cd8ed(0x14f)]=_0x3431ab[_0x4cd8ed(0x1d7)],await BrowserstackCLI[_0x4cd8ed(0x1cb)]()[_0x4cd8ed(0x1d3)]()[_0x4cd8ed(0x173)](TestFrameworkState[_0x4cd8ed(0x167)],HookState[_0x4cd8ed(0x1eb)],_0x44b700);}return;}await testObservabilityReporter[_0x4cd8ed(0x142)](this[_0x4cd8ed(0x1db)],_0x98d3e3,_0x3431ab['ubzbd'],_0x150c26,_0x1659a1,_tests[_0x11f135]);}catch(_0x4de445){logger['debug']('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util[_0x4cd8ed(0x1f4)](_0x4de445));}}['getGherkinStepMap'](_0x539c55){const _0x115793=a6_0x225d11,_0x540868={};return _0x539c55[_0x115793(0x170)][_0x115793(0x1fa)]['map'](this['extractStepContainers'])[_0x115793(0x138)]()[_0x115793(0x191)](_0x4e8094=>_0x4e8094[_0x115793(0x1c6)][_0x115793(0x191)](_0x1a58ba=>_0x540868[_0x1a58ba['id']]=_0x1a58ba)),_0x540868;}[a6_0x225d11(0x1b1)](_0x3cd895){const _0x5a27c4=a6_0x225d11,_0x266db2={'rfNKd':function(_0x481dfe,_0x19f3cb){return _0x481dfe(_0x19f3cb);},'PBrvH':function(_0x5d3ca3,_0x591482){return _0x5d3ca3(_0x591482);}};if(!_0x266db2['rfNKd'](isUndefined,_0x3cd895[_0x5a27c4(0x187)]))return[_0x3cd895[_0x5a27c4(0x187)]];else{if(!_0x266db2[_0x5a27c4(0x144)](isUndefined,_0x3cd895[_0x5a27c4(0x147)]))return _0x3cd895[_0x5a27c4(0x147)]['children'][_0x5a27c4(0x19e)](_0x19a274=>!isUndefined(_0x19a274['background'])?_0x19a274[_0x5a27c4(0x187)]:_0x19a274[_0x5a27c4(0x135)]);};return[_0x3cd895[_0x5a27c4(0x135)]];}[a6_0x225d11(0x12f)](_0x4fefd6,_0x151fcb){const _0x46c2fa=a6_0x225d11;return Object[_0x46c2fa(0x130)](_0x4fefd6[_0x46c2fa(0x1ee)]['gherkinDocumentMap'])[_0x46c2fa(0x1a5)](_0x12fd9e=>_0x12fd9e['uri']===_0x151fcb[_0x46c2fa(0x14e)]);}async[a6_0x225d11(0x169)](){const _0x2957af=a6_0x225d11;if(this[_0x2957af(0x13e)])return this[_0x2957af(0x13e)];return this[_0x2957af(0x13e)]=this['_performCLIInitialization'](),this[_0x2957af(0x13e)];}async[a6_0x225d11(0x145)](){const _0x184303=a6_0x225d11,_0x2c6262={'bdmGc':_0x184303(0x1d9),'sqkeb':function(_0x49f1f1,_0x4505ac){return _0x49f1f1(_0x4505ac);},'gBHYK':'../../v2/cliUtils','yPZfx':_0x184303(0x1ed)};try{const _0x18e979=BrowserstackCLI['getInstance']();if(_0x18e979[_0x184303(0x1bc)]())return logger[_0x184303(0x1c9)](_0x184303(0x18d)+_0x18e979[_0x184303(0x1b0)]),!![];const _0x1ac9ba=process[_0x184303(0x17c)][_0x184303(0x189)];if(!_0x1ac9ba)return logger['debug'](_0x2c6262[_0x184303(0x1de)]),![];const _0x2de65b=_0x2c6262[_0x184303(0x134)](require,_0x2c6262[_0x184303(0x1f2)]),{FRAMEWORKS:_0x2c47a6}=_0x2c6262[_0x184303(0x134)](require,_0x2c6262[_0x184303(0x1af)]);return _0x2de65b[_0x184303(0x195)](_0x2c47a6[_0x184303(0x1ec)],_0x2c47a6['PLAYWRIGHT']),logger['debug'](_0x184303(0x1f1)+_0x1ac9ba),await _0x18e979[_0x184303(0x1ef)](),logger[_0x184303(0x1c9)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x18e979[_0x184303(0x1bc)]()+',\x20binSessionId:\x20'+_0x18e979[_0x184303(0x1b0)]),_0x18e979[_0x184303(0x1bc)]();}catch(_0x22152c){return logger['debug']('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util[_0x184303(0x1f4)](_0x22152c)),![];}}async[a6_0x225d11(0x1ca)](){const _0xff0f93=a6_0x225d11;try{return await this[_0xff0f93(0x169)](),BrowserstackCLI[_0xff0f93(0x1cb)]()[_0xff0f93(0x1bc)]();}catch(_0x9c8d3a){return logger[_0xff0f93(0x1c9)](_0xff0f93(0x1bf)+util['format'](_0x9c8d3a)),![];}}}module[a6_0x225d11(0x1a8)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x225d11(0x15c),a6_0x225d11(0x13a),a6_0x225d11(0x180),a6_0x225d11(0x181),a6_0x225d11(0x192),'onTestRunFinished',a6_0x225d11(0x1b1),a6_0x225d11(0x12f),'getGherkinStepMap']);function a6_0x2735(){const _0x522c61=['../../../helpers/helper','kCpta','../../../bin/v2/TestInfo.js','push','failureType','actionLocation','lUrUy','env','name','TAwaf','testStepStarted','onTestStepStarted','onTestStepFinished','mxxGv','testCases','pickle','testCaseStartedId','../../playwright/reporter/test-details.js','background','\x20-\x20','BROWSERSTACK_CLI_BIN_SESSION_ID','hook_type','EejJn','1879050QXuMMx','CLI\x20already\x20running\x20-\x20binSessionId:\x20','kDnfE','getTestUUID','capability','forEach','onTestRunStarted','onTestCase','../../v2/state/testFrameworkState.js','setFrameworkDetail','EimJx','cucumber-js/test.setup.js','PASSED','TestRunStarted','yLgNL','lBuAk','winstonLogger','XDcid','map','testCaseAttempt','69106VKMafw','HookRunStarted','Executing\x20tests\x20for\x20','IZEmx','testCase','find','WAXVg','pickleStepId','exports','setup','testCaseStarted','BaxOk','__platform','eventBroadcaster','lACLJ','yPZfx','binSessionId','extractStepContainers','ShTfZ','incrementCounter','wDcUg','util','finishedAt','text','nTiKQ','VbOzi','INIT_TEST','testCaseMap','isRunning','292324KwbGfn','SmMib','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','CONFIG','testStepResult','../../v2/utils/cucumber-utils.js','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','assign','5GWDTNn','steps','IfSOr','dDQZo','debug','isCLIReady','getInstance','testStepId','snippetBuilder','split','CnmyW','SKIPPED','28763rBwFUF','eGiTW','getTestFramework','status','onPickle','gherkinDocument','iidsc','onGherkinDocument','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','HLVlZ','report','seconds','0|4|2|1|3','bdmGc','QcqSf','CgeCG','sourceLocation','supportCodeLibrary','Exception\x20in\x20onTestStepStarted\x20event:\x20','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','FqhFA','testCaseFinished','failure','toString','FAILED','onStepDefinition','POST','CUCUMBER','../../utils/constants','eventDataCollector','bootstrap','onTestRunFinished','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','gBHYK','message','format','testRunStarted','hook','description','../../v2/state/hookState.js','ubzbd','children','QhVBJ','AMBIGUOUS','bstack','@cucumber/cucumber','RpvIe','22948848wKxzWz','getGherkinDocument','values','toISOString','testCaseAttemptDataMap','cucumber','sqkeb','scenario','path','onHook','flat','failed','onTestCaseFinished','hooks','pickleId','../../../helpers/test-observability/error-handler','cliInitPromise','stepDefinition','QARzL','592AcIJDV','sendHook','764407apKPeZ','PBrvH','_performCLIInitialization','PBzIM','rule','FYFoG','isBstackHook','sendTestRunEventForCucumber','../test-observability.js','uaiXU','TtdHO','uri','type','isCliEnabled','parse','UNDEFINED','mnzJM','createTestFrameworkData','\x20\x20\x20\x20','createHookData','GLcja','TestRunFinished','testCaseId','PRE','CvaCG','onTestCaseStarted','zMpxK','parseTestCaseAttempt','log','testRunFinished','YIRwO','logTestRunFinished','CvrkC','testUUID','TEST','result','LOG_REPORT','envelope','ensureCLIInitialized','duration','test','testSteps','JMtBT','1973412GMBcRY','hnqsq','feature','testStepFinished','cwd','trackEvent','exception'];a6_0x2735=function(){return _0x522c61;};return a6_0x2735();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7_0x3556(_0x3c8a27,_0x481d9e){const _0x328329=a7_0x3283();return a7_0x3556=function(_0x355651,_0x20f330){_0x355651=_0x355651-0xde;let _0x21c4fa=_0x328329[_0x355651];return _0x21c4fa;},a7_0x3556(_0x3c8a27,_0x481d9e);}const a7_0xaf8739=a7_0x3556;function a7_0x3283(){const _0x3562e9=['YZPzl','logTestCaseFinished','izqWO','UNKNOWN','hpPMP','getTestCaseData','FAILED','32WRnUbr','ULomi','tLKSt','text','length','stack','sourceLocation','GUhFa','test-run-finished','exception','name','PENDING','line','PASSED','forEach','test-case-started','tzeLq','CosOg','Tdyxk','UNDEFINED','yTtlE','MxnEk','pAiAQ','VpPvq','3380463plKhNy','eGWXq','2244915DJVarz','status','19994620eBiqdn','exports','HFNdU','actionLocation','getTestCaseAttempt','SXmBF','gherkinDocument','eventBroadcaster','cooZI','__platform','cucumber/lib/formatter/helpers/pickle_parser.js','UPNrz','dHIvV','pniMB','env','test-case-finished','pickle','4szLuGY','QBFxo','fcWQF','fiBBf','cucumber','5887721aEzqoz','toUpperCase','bmqSH','uri','KVeYR','eventDataCollector','cucumber-js/test_old.setup.js','testCase','mdEEV','feature','ukYJw','ypOrz','\x20\x20\x20\x20','BJzLH','CONFIG','CqerZ','6UmJhfJ','test-step-started','444566wadNIw','MZRMb','log','\x20\x20\x20\x20AFTER\x20-\x20','parse','test-run-started','includes','result','getStepLineToPickledStepMap','capability','AMBIGUOUS','apiut','AOnWI','3021726MwKxYi','UoJqh','tYVji','llNxW','2926964OXKMcV','EELGr','Executing\x20tests\x20for\x20'];a7_0x3283=function(){return _0x3562e9;};return a7_0x3283();}(function(_0x3c51dd,_0x5efc05){const _0x1cb864=a7_0x3556,_0xb10d4=_0x3c51dd();while(!![]){try{const _0x5679e0=-parseInt(_0x1cb864(0x137))/0x1+parseInt(_0x1cb864(0xe9))/0x2+-parseInt(_0x1cb864(0xe5))/0x3*(parseInt(_0x1cb864(0x120))/0x4)+-parseInt(_0x1cb864(0x10d))/0x5+-parseInt(_0x1cb864(0x135))/0x6*(-parseInt(_0x1cb864(0x125))/0x7)+-parseInt(_0x1cb864(0xf3))/0x8*(parseInt(_0x1cb864(0x10b))/0x9)+parseInt(_0x1cb864(0x10f))/0xa;if(_0x5679e0===_0x5efc05)break;else _0xb10d4['push'](_0xb10d4['shift']());}catch(_0x461ea5){_0xb10d4['push'](_0xb10d4['shift']());}}}(a7_0x3283,0xdbedc));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0xaf8739(0x124)),pickleParser=requireModule(a7_0xaf8739(0x119),a7_0xaf8739(0x124));class BrowserstackFormatter extends Formatter{constructor(_0x25ef1a){const _0x51903f=a7_0xaf8739,_0x141693={'bmqSH':function(_0xbe614,_0x44e13e){return _0xbe614!==_0x44e13e;},'Tdyxk':function(_0x53816d,_0x412ffb){return _0x53816d!==_0x412ffb;},'HFNdU':function(_0x2689b1,_0x50106b){return _0x2689b1(_0x50106b);},'llNxW':_0x51903f(0x13c),'ukYJw':_0x51903f(0x102),'izqWO':_0x51903f(0x11e),'AOnWI':_0x51903f(0xfb),'YZPzl':_0x51903f(0x136)};super(_0x25ef1a),_0x25ef1a[_0x51903f(0x116)]['on'](_0x141693[_0x51903f(0xe8)],()=>{const _0x2699e0=_0x51903f;let _0x2fec49;if(_0x141693[_0x2699e0(0x127)](process['env'][_0x2699e0(0x133)],undefined)){const _0x47652b=JSON[_0x2699e0(0x13b)](process[_0x2699e0(0x11d)][_0x2699e0(0x133)]);_0x2fec49=_0x47652b[_0x2699e0(0xe1)];}_0x141693[_0x2699e0(0x105)](_0x2fec49,undefined)&&(global[_0x2699e0(0x118)]=_0x141693[_0x2699e0(0x111)](getPlatformName,_0x2fec49),console[_0x2699e0(0x139)](_0x2699e0(0xeb)+global[_0x2699e0(0x118)]));}),_0x25ef1a[_0x51903f(0x116)]['on'](_0x141693[_0x51903f(0x12f)],()=>{testSuites+=0x1;}),_0x25ef1a[_0x51903f(0x116)]['on'](_0x141693[_0x51903f(0xee)],_0x46bae9=>{const _0x2757f1=_0x51903f;this[_0x2757f1(0xed)](_0x46bae9);}),_0x25ef1a[_0x51903f(0x116)]['on'](_0x141693[_0x51903f(0xe4)],()=>{totalTests-=0x2;}),_0x25ef1a['eventBroadcaster']['on'](_0x141693[_0x51903f(0xec)],()=>{totalTests+=0x1;});}[a7_0xaf8739(0xed)](_0xcaae6){const _0x24d39d=a7_0xaf8739,_0x3172dc={'hpPMP':_0x24d39d(0xf2),'tYVji':_0x24d39d(0x100),'VpPvq':'SKIPPED','MZRMb':_0x24d39d(0xfe),'yTtlE':_0x24d39d(0x106),'QMsVC':_0x24d39d(0xef),'ypOrz':_0x24d39d(0xe2),'pAiAQ':function(_0x243558,_0x4b7c71){return _0x243558+_0x4b7c71;},'KVeYR':function(_0x425d60,_0x4ee167){return _0x425d60+_0x4ee167;},'EELGr':_0x24d39d(0x131),'tzeLq':'\x20-\x20','apiut':function(_0x1017c9,_0x3413e7){return _0x1017c9(_0x3413e7);},'GUhFa':_0x24d39d(0x12b),'mdEEV':function(_0x39c2fc,_0x4a8f7e){return _0x39c2fc(_0x4a8f7e);},'MxnEk':_0x24d39d(0x13a),'ULomi':function(_0x380049,_0x135c1c){return _0x380049+_0x135c1c;},'pniMB':'\x20\x20\x20\x20BEFORE\x20-\x20','eGWXq':function(_0x4a5076,_0x21c428){return _0x4a5076===_0x21c428;},'LtqBk':function(_0x4eb600,_0x1e72ed,_0x288b73){return _0x4eb600(_0x1e72ed,_0x288b73);},'dHIvV':'result','CosOg':_0x24d39d(0xfc),'fcWQF':_0x24d39d(0xf8),'CqerZ':function(_0x433786,_0x3d3118){return _0x433786+_0x3d3118;},'fiBBf':function(_0x233235,_0x26e7c2){return _0x233235!==_0x26e7c2;},'cooZI':'undefined','UoJqh':function(_0x21966a,_0x43b194){return _0x21966a+_0x43b194;},'UPNrz':function(_0x1b080c,_0x55a2c3){return _0x1b080c<_0x55a2c3;},'gYIxI':function(_0x55d8e2,_0x5ec2b4){return _0x55d8e2+_0x5ec2b4;},'tLKSt':function(_0x23f9dc,_0x457ad4){return _0x23f9dc(_0x457ad4);},'BJzLH':function(_0x4407ce,_0x425979){return _0x4407ce(_0x425979);},'QBFxo':function(_0x24fa4c,_0xe0ee93){return _0x24fa4c+_0xe0ee93;},'SXmBF':function(_0x53c8d2,_0x520580){return _0x53c8d2+_0x520580;},'nbyyc':function(_0x5de0fb,_0xe7efb){return _0x5de0fb+_0xe7efb;}};let _0x1ab336=![];function _0x46400a(_0x2534de){const _0x4f19b1=_0x24d39d;switch(_0x2534de){case _0x3172dc[_0x4f19b1(0xf0)]:testsFailed+=0x1;break;case _0x3172dc[_0x4f19b1(0xe7)]:testsPassed+=0x1;break;case _0x3172dc[_0x4f19b1(0x10a)]:testsSkipped+=0x1;break;case _0x3172dc[_0x4f19b1(0x138)]:testsPending+=0x1;break;case _0x3172dc[_0x4f19b1(0x107)]:testsUndefined+=0x1;break;case _0x3172dc['QMsVC']:testsUnknown+=0x1;break;case _0x3172dc[_0x4f19b1(0x130)]:testsAmbiguous+=0x1;break;default:break;}}_0x3172dc[_0x24d39d(0x123)](global[_0x24d39d(0x118)],undefined)&&console[_0x24d39d(0x139)](_0x3172dc['KVeYR'](_0x3172dc['CqerZ']('\x0a',global[_0x24d39d(0x118)]),'\x0a'));let _0xfbf414=![];if(_0x3172dc[_0x24d39d(0x123)](typeof this['eventDataCollector']['getTestCaseData'],_0x3172dc[_0x24d39d(0x117)])){var _0x5ca2cf=this['eventDataCollector'][_0x24d39d(0xf1)](_0xcaae6['sourceLocation']),_0x3b655d=_0x5ca2cf[_0x24d39d(0x11f)],_0x24821a=_0x5ca2cf[_0x24d39d(0x12c)];console[_0x24d39d(0x139)](_0x3172dc[_0x24d39d(0xe6)]('\x20\x20',_0x3b655d['name']));var _0xd0e10d=(0x0,pickleParser[_0x24d39d(0xe0)])(_0x3b655d);_0x24821a['steps'][_0x24d39d(0x101)](function(_0x29358c){const _0x4c0877=_0x24d39d;if(_0x29358c[_0x4c0877(0x112)]&&_0x29358c['sourceLocation'])_0x1ab336=!![],console[_0x4c0877(0x139)](_0x3172dc[_0x4c0877(0x109)](_0x3172dc[_0x4c0877(0x129)](_0x3172dc[_0x4c0877(0x129)](_0x3172dc[_0x4c0877(0xea)],_0xd0e10d[_0x29358c[_0x4c0877(0xf9)]['line']]['text']),_0x3172dc['tzeLq']),_0x29358c[_0x4c0877(0xdf)][_0x4c0877(0x10e)]['toUpperCase']())),_0x3172dc[_0x4c0877(0xe3)](_0x46400a,_0x29358c[_0x4c0877(0xdf)]['status']['toUpperCase']());else _0x29358c[_0x4c0877(0x112)]&&(!_0x29358c[_0x4c0877(0x112)][_0x4c0877(0x128)][_0x4c0877(0xde)](_0x3172dc[_0x4c0877(0xfa)])&&(_0x3172dc[_0x4c0877(0x12d)](_0x46400a,_0x29358c[_0x4c0877(0xdf)][_0x4c0877(0x10e)][_0x4c0877(0x126)]()),_0x1ab336?console[_0x4c0877(0x139)](_0x3172dc[_0x4c0877(0x129)](_0x3172dc[_0x4c0877(0x108)],_0x29358c[_0x4c0877(0xdf)]['status']['toUpperCase']())):console[_0x4c0877(0x139)](_0x3172dc[_0x4c0877(0xf4)](_0x3172dc[_0x4c0877(0x11c)],_0x29358c['result'][_0x4c0877(0x10e)]['toUpperCase']()))));if(_0x3172dc[_0x4c0877(0x10c)](_0x29358c[_0x4c0877(0xdf)][_0x4c0877(0x10e)][_0x4c0877(0x126)](),_0x3172dc[_0x4c0877(0xf0)])){const _0x259b04=_0x3172dc['LtqBk'](nestedKeyValue,_0x29358c,[_0x3172dc[_0x4c0877(0x11b)],_0x3172dc[_0x4c0877(0x104)],_0x3172dc[_0x4c0877(0x122)]]);_0x259b04&&(testsErrorMessage[_0x3b655d['name']]=_0x259b04,console['log'](_0x3172dc[_0x4c0877(0x134)](_0x259b04,'\x0a'))),_0xfbf414=!![];}});}else{const _0x5321cf=this[_0x24d39d(0x12a)][_0x24d39d(0x113)](_0xcaae6);console[_0x24d39d(0x139)](_0x3172dc[_0x24d39d(0xf4)](_0x3172dc[_0x24d39d(0xe6)](_0x3172dc[_0x24d39d(0x129)]('\x20\x20',_0x5321cf['gherkinDocument'][_0x24d39d(0x12e)]['name']),_0x3172dc['tzeLq']),_0x5321cf[_0x24d39d(0x11f)]['name']));const _0x464de6=(0x0,pickleParser[_0x24d39d(0xe0)])(_0x5321cf[_0x24d39d(0x11f)]),_0x3c391a=_0x5321cf[_0x24d39d(0x12c)]['steps'],_0x65ebe1=_0x5321cf['stepResults'],_0x1bf7cd=_0x3c391a[_0x24d39d(0xf7)];for(let _0x3c56a3=0x0;_0x3172dc[_0x24d39d(0x11a)](_0x3c56a3,_0x1bf7cd);_0x3c56a3++){const _0x44282f=_0x3c391a[_0x3c56a3];if(_0x44282f[_0x24d39d(0x112)]&&_0x44282f[_0x24d39d(0xf9)])_0x1ab336=!![],console[_0x24d39d(0x139)](_0x3172dc[_0x24d39d(0xe6)](_0x3172dc['pAiAQ'](_0x3172dc['gYIxI'](_0x3172dc[_0x24d39d(0xea)],_0x464de6[_0x44282f[_0x24d39d(0xf9)][_0x24d39d(0xff)]][_0x24d39d(0xf6)]),_0x3172dc['tzeLq']),_0x65ebe1[_0x3c56a3][_0x24d39d(0x10e)][_0x24d39d(0x126)]())),_0x3172dc[_0x24d39d(0xf5)](_0x46400a,_0x65ebe1[_0x3c56a3][_0x24d39d(0x10e)][_0x24d39d(0x126)]());else _0x44282f[_0x24d39d(0x112)]&&(!_0x44282f[_0x24d39d(0x112)]['uri'][_0x24d39d(0xde)](_0x3172dc['GUhFa'])&&(_0x3172dc[_0x24d39d(0x132)](_0x46400a,_0x65ebe1[_0x3c56a3][_0x24d39d(0x10e)][_0x24d39d(0x126)]()),_0x1ab336?console[_0x24d39d(0x139)](_0x3172dc['QBFxo'](_0x3172dc['MxnEk'],_0x65ebe1[_0x3c56a3][_0x24d39d(0x10e)]['toUpperCase']())):console[_0x24d39d(0x139)](_0x3172dc[_0x24d39d(0x114)](_0x3172dc['pniMB'],_0x65ebe1[_0x3c56a3][_0x24d39d(0x10e)][_0x24d39d(0x126)]()))));if(_0x3172dc[_0x24d39d(0x10c)](_0x65ebe1[_0x3c56a3]['status'][_0x24d39d(0x126)](),_0x3172dc[_0x24d39d(0xf0)])){_0xfbf414=!![];const _0x59fa4a=_0x3172dc['LtqBk'](nestedKeyValue,_0x65ebe1[_0x3c56a3],[_0x3172dc[_0x24d39d(0x104)],_0x3172dc['fcWQF']]);_0x59fa4a&&(testsErrorMessage[_0x3172dc['QBFxo'](_0x3172dc[_0x24d39d(0x121)](_0x5321cf[_0x24d39d(0x115)]['feature'][_0x24d39d(0xfd)],_0x3172dc[_0x24d39d(0x103)]),_0x5321cf[_0x24d39d(0x11f)][_0x24d39d(0xfd)])]=_0x59fa4a,console[_0x24d39d(0x139)](_0x3172dc['nbyyc'](_0x59fa4a,'\x0a')));}}}_0xfbf414&&(testSuitesFailed+=0x1),console[_0x24d39d(0x139)]('\x0a');}}module[a7_0xaf8739(0x110)]=BrowserstackFormatter;
|
|
1
|
+
function a7_0x46d6(){const _0x579fe0=['SKIPPED','FwHdH','14gFrbLY','qECYo','\x20\x20\x20\x20AFTER\x20-\x20','1730208fHGhlE','result','eventDataCollector','pTcdu','yCjZg','actionLocation','getTestCaseData','test-case-finished','status','cucumber/lib/formatter/helpers/pickle_parser.js','exception','pickle','cucumber-js/test_old.setup.js','UNKNOWN','UtsSv','855vzeBOq','eventBroadcaster','getStepLineToPickledStepMap','exxWT','KCgMZ','text','log','3kwKbeV','test-run-finished','name','env','AnAAt','getTestCaseAttempt','cuTnk','forEach','kLYaW','CONFIG','tEENE','66446ROCXLC','Executing\x20tests\x20for\x20','CihLL','1392685XZbOOp','3146084oIinRO','REETQ','oINty','jdVzc','oKuxE','CgzwC','logTestCaseFinished','cucumber','sourceLocation','gherkinDocument','PASSED','testCase','slsse','42420bScZYW','651708bnrlHQ','dwzVR','test-case-started','__platform','kpHDu','stepResults','bVrCz','vlZwd','Ucipu','feature','steps','test-run-started','hpBLR','RvNIi','HYskp','uri','IZuSR','\x20\x20\x20\x20','EjorN','ROlJM','line','ihMcg','undefined','test-step-started','7409556PMnmLS','toUpperCase','capability'];a7_0x46d6=function(){return _0x579fe0;};return a7_0x46d6();}function a7_0x2694(_0x527492,_0x57ea8a){const _0x46d6e1=a7_0x46d6();return a7_0x2694=function(_0x2694ea,_0x11d7c0){_0x2694ea=_0x2694ea-0x126;let _0x53a068=_0x46d6e1[_0x2694ea];return _0x53a068;},a7_0x2694(_0x527492,_0x57ea8a);}const a7_0x33988f=a7_0x2694;(function(_0x4236f4,_0x2ac5e6){const _0x44fef9=a7_0x2694,_0x38b6c9=_0x4236f4();while(!![]){try{const _0xbaf86d=-parseInt(_0x44fef9(0x146))/0x1*(-parseInt(_0x44fef9(0x151))/0x2)+-parseInt(_0x44fef9(0x163))/0x3+parseInt(_0x44fef9(0x155))/0x4+-parseInt(_0x44fef9(0x154))/0x5+parseInt(_0x44fef9(0x128))/0x6+-parseInt(_0x44fef9(0x12d))/0x7*(parseInt(_0x44fef9(0x130))/0x8)+parseInt(_0x44fef9(0x13f))/0x9*(-parseInt(_0x44fef9(0x162))/0xa);if(_0xbaf86d===_0x2ac5e6)break;else _0x38b6c9['push'](_0x38b6c9['shift']());}catch(_0x17421c){_0x38b6c9['push'](_0x38b6c9['shift']());}}}(a7_0x46d6,0xc0d29));const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x33988f(0x15c)),pickleParser=requireModule(a7_0x33988f(0x139),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x8ed172){const _0x117ee0=a7_0x33988f,_0x21442e={'EjorN':function(_0x2dcd40,_0x20ba37){return _0x2dcd40!==_0x20ba37;},'ihMcg':function(_0x376932,_0x5463a9){return _0x376932(_0x5463a9);},'IZuSR':_0x117ee0(0x16e),'iYTts':_0x117ee0(0x165),'HPEoT':_0x117ee0(0x137),'mbJOO':_0x117ee0(0x147),'hpBLR':_0x117ee0(0x127)};super(_0x8ed172),_0x8ed172[_0x117ee0(0x140)]['on'](_0x21442e[_0x117ee0(0x173)],()=>{const _0x47537e=_0x117ee0;let _0x1670f0;if(_0x21442e[_0x47537e(0x175)](process[_0x47537e(0x149)][_0x47537e(0x14f)],undefined)){const _0x3bb3e5=JSON['parse'](process[_0x47537e(0x149)][_0x47537e(0x14f)]);_0x1670f0=_0x3bb3e5[_0x47537e(0x12a)];}_0x21442e[_0x47537e(0x175)](_0x1670f0,undefined)&&(global[_0x47537e(0x166)]=_0x21442e[_0x47537e(0x178)](getPlatformName,_0x1670f0),console[_0x47537e(0x145)](_0x47537e(0x152)+global[_0x47537e(0x166)]));}),_0x8ed172['eventBroadcaster']['on'](_0x21442e['iYTts'],()=>{testSuites+=0x1;}),_0x8ed172[_0x117ee0(0x140)]['on'](_0x21442e['HPEoT'],_0x46cc7b=>{const _0x617035=_0x117ee0;this[_0x617035(0x15b)](_0x46cc7b);}),_0x8ed172[_0x117ee0(0x140)]['on'](_0x21442e['mbJOO'],()=>{totalTests-=0x2;}),_0x8ed172[_0x117ee0(0x140)]['on'](_0x21442e[_0x117ee0(0x16f)],()=>{totalTests+=0x1;});}[a7_0x33988f(0x15b)](_0x285d82){const _0x35c093=a7_0x33988f,_0x42d406={'AnAAt':'FAILED','ffbcN':_0x35c093(0x15f),'kLYaW':_0x35c093(0x12b),'GBQeD':'PENDING','dwzVR':'UNDEFINED','UtsSv':_0x35c093(0x13d),'yCjZg':'AMBIGUOUS','KxjEI':function(_0x3589d7,_0x52630e){return _0x3589d7+_0x52630e;},'slsse':function(_0x76e80b,_0x42485b){return _0x76e80b+_0x42485b;},'Ucipu':function(_0xa88cdd,_0x49efed){return _0xa88cdd+_0x49efed;},'REETQ':_0x35c093(0x174),'qECYo':'\x20-\x20','exxWT':function(_0x432c8a,_0x148435){return _0x432c8a(_0x148435);},'CgzwC':_0x35c093(0x13c),'oKuxE':function(_0x53eed6,_0x366e16){return _0x53eed6+_0x366e16;},'HYskp':_0x35c093(0x12f),'CihLL':function(_0x1dd4e7,_0x5c616f){return _0x1dd4e7+_0x5c616f;},'jdVzc':'\x20\x20\x20\x20BEFORE\x20-\x20','ROlJM':function(_0xdaad80,_0x5b8f3b){return _0xdaad80===_0x5b8f3b;},'cuTnk':function(_0x4a0f65,_0xb58417,_0x4b73d8){return _0x4a0f65(_0xb58417,_0x4b73d8);},'ITkVy':_0x35c093(0x131),'pTcdu':_0x35c093(0x13a),'oINty':'stack','vlZwd':function(_0x23c391,_0x2b9781){return _0x23c391!==_0x2b9781;},'bVrCz':_0x35c093(0x126),'tEENE':function(_0x404153,_0x5e4d8d){return _0x404153+_0x5e4d8d;},'KCgMZ':function(_0x6db23c,_0x8175e8){return _0x6db23c+_0x8175e8;},'WTwPd':function(_0x58d566,_0x42b981){return _0x58d566<_0x42b981;},'FwHdH':function(_0x16a629,_0x48ab60){return _0x16a629+_0x48ab60;},'kpHDu':function(_0x2ebb5d,_0x343150){return _0x2ebb5d+_0x343150;},'RvNIi':function(_0x12cf05,_0x108487){return _0x12cf05+_0x108487;}};let _0x5d82fd=![];function _0x5f169f(_0x41690d){const _0x1962e1=_0x35c093;switch(_0x41690d){case _0x42d406[_0x1962e1(0x14a)]:testsFailed+=0x1;break;case _0x42d406['ffbcN']:testsPassed+=0x1;break;case _0x42d406[_0x1962e1(0x14e)]:testsSkipped+=0x1;break;case _0x42d406['GBQeD']:testsPending+=0x1;break;case _0x42d406[_0x1962e1(0x164)]:testsUndefined+=0x1;break;case _0x42d406[_0x1962e1(0x13e)]:testsUnknown+=0x1;break;case _0x42d406[_0x1962e1(0x134)]:testsAmbiguous+=0x1;break;default:break;}}_0x42d406[_0x35c093(0x16a)](global['__platform'],undefined)&&console['log'](_0x42d406[_0x35c093(0x161)](_0x42d406[_0x35c093(0x16b)]('\x0a',global[_0x35c093(0x166)]),'\x0a'));let _0xb3acd8=![];if(_0x42d406['vlZwd'](typeof this[_0x35c093(0x132)]['getTestCaseData'],_0x42d406[_0x35c093(0x169)])){var _0x4ebc1a=this[_0x35c093(0x132)][_0x35c093(0x136)](_0x285d82[_0x35c093(0x15d)]),_0x29bb00=_0x4ebc1a[_0x35c093(0x13b)],_0x10cb4b=_0x4ebc1a[_0x35c093(0x160)];console[_0x35c093(0x145)](_0x42d406['tEENE']('\x20\x20',_0x29bb00['name']));var _0x2e6d81=(0x0,pickleParser[_0x35c093(0x141)])(_0x29bb00);_0x10cb4b[_0x35c093(0x16d)][_0x35c093(0x14d)](function(_0x147a61){const _0x183833=_0x35c093;if(_0x147a61[_0x183833(0x135)]&&_0x147a61[_0x183833(0x15d)])_0x5d82fd=!![],console[_0x183833(0x145)](_0x42d406['KxjEI'](_0x42d406[_0x183833(0x161)](_0x42d406[_0x183833(0x16b)](_0x42d406[_0x183833(0x156)],_0x2e6d81[_0x147a61[_0x183833(0x15d)]['line']][_0x183833(0x144)]),_0x42d406['qECYo']),_0x147a61[_0x183833(0x131)][_0x183833(0x138)][_0x183833(0x129)]())),_0x42d406[_0x183833(0x142)](_0x5f169f,_0x147a61[_0x183833(0x131)][_0x183833(0x138)][_0x183833(0x129)]());else _0x147a61[_0x183833(0x135)]&&(!_0x147a61[_0x183833(0x135)][_0x183833(0x172)]['includes'](_0x42d406[_0x183833(0x15a)])&&(_0x42d406['exxWT'](_0x5f169f,_0x147a61['result'][_0x183833(0x138)][_0x183833(0x129)]()),_0x5d82fd?console[_0x183833(0x145)](_0x42d406[_0x183833(0x159)](_0x42d406[_0x183833(0x171)],_0x147a61[_0x183833(0x131)]['status'][_0x183833(0x129)]())):console['log'](_0x42d406[_0x183833(0x153)](_0x42d406[_0x183833(0x158)],_0x147a61[_0x183833(0x131)][_0x183833(0x138)][_0x183833(0x129)]()))));if(_0x42d406[_0x183833(0x176)](_0x147a61[_0x183833(0x131)][_0x183833(0x138)][_0x183833(0x129)](),_0x42d406[_0x183833(0x14a)])){const _0x52c3ba=_0x42d406[_0x183833(0x14c)](nestedKeyValue,_0x147a61,[_0x42d406['ITkVy'],_0x42d406[_0x183833(0x133)],_0x42d406[_0x183833(0x157)]]);_0x52c3ba&&(testsErrorMessage[_0x29bb00[_0x183833(0x148)]]=_0x52c3ba,console['log'](_0x42d406['CihLL'](_0x52c3ba,'\x0a'))),_0xb3acd8=!![];}});}else{const _0x57b60c=this[_0x35c093(0x132)][_0x35c093(0x14b)](_0x285d82);console['log'](_0x42d406[_0x35c093(0x153)](_0x42d406[_0x35c093(0x143)](_0x42d406['KxjEI']('\x20\x20',_0x57b60c['gherkinDocument'][_0x35c093(0x16c)][_0x35c093(0x148)]),_0x42d406[_0x35c093(0x12e)]),_0x57b60c['pickle'][_0x35c093(0x148)]));const _0x4b38e7=(0x0,pickleParser[_0x35c093(0x141)])(_0x57b60c['pickle']),_0x3555db=_0x57b60c[_0x35c093(0x160)][_0x35c093(0x16d)],_0x26dcf4=_0x57b60c[_0x35c093(0x168)],_0x4a72d1=_0x3555db['length'];for(let _0x135c26=0x0;_0x42d406['WTwPd'](_0x135c26,_0x4a72d1);_0x135c26++){const _0x392450=_0x3555db[_0x135c26];if(_0x392450[_0x35c093(0x135)]&&_0x392450[_0x35c093(0x15d)])_0x5d82fd=!![],console[_0x35c093(0x145)](_0x42d406[_0x35c093(0x16b)](_0x42d406[_0x35c093(0x150)](_0x42d406[_0x35c093(0x153)](_0x42d406[_0x35c093(0x156)],_0x4b38e7[_0x392450[_0x35c093(0x15d)][_0x35c093(0x177)]][_0x35c093(0x144)]),_0x42d406['qECYo']),_0x26dcf4[_0x135c26]['status'][_0x35c093(0x129)]())),_0x42d406[_0x35c093(0x142)](_0x5f169f,_0x26dcf4[_0x135c26][_0x35c093(0x138)][_0x35c093(0x129)]());else _0x392450['actionLocation']&&(!_0x392450[_0x35c093(0x135)][_0x35c093(0x172)]['includes'](_0x42d406[_0x35c093(0x15a)])&&(_0x42d406['exxWT'](_0x5f169f,_0x26dcf4[_0x135c26][_0x35c093(0x138)][_0x35c093(0x129)]()),_0x5d82fd?console[_0x35c093(0x145)](_0x42d406[_0x35c093(0x12c)](_0x42d406['HYskp'],_0x26dcf4[_0x135c26]['status'][_0x35c093(0x129)]())):console[_0x35c093(0x145)](_0x42d406[_0x35c093(0x167)](_0x42d406['jdVzc'],_0x26dcf4[_0x135c26][_0x35c093(0x138)][_0x35c093(0x129)]()))));if(_0x42d406[_0x35c093(0x176)](_0x26dcf4[_0x135c26]['status'][_0x35c093(0x129)](),_0x42d406[_0x35c093(0x14a)])){_0xb3acd8=!![];const _0x2de211=_0x42d406[_0x35c093(0x14c)](nestedKeyValue,_0x26dcf4[_0x135c26],[_0x42d406[_0x35c093(0x133)],_0x42d406[_0x35c093(0x157)]]);_0x2de211&&(testsErrorMessage[_0x42d406['slsse'](_0x42d406[_0x35c093(0x170)](_0x57b60c[_0x35c093(0x15e)][_0x35c093(0x16c)][_0x35c093(0x148)],_0x42d406[_0x35c093(0x12e)]),_0x57b60c[_0x35c093(0x13b)]['name'])]=_0x2de211,console['log'](_0x42d406[_0x35c093(0x170)](_0x2de211,'\x0a')));}}}_0xb3acd8&&(testSuitesFailed+=0x1),console[_0x35c093(0x145)]('\x0a');}}module['exports']=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8_0x21c2(_0x2e1c49,_0x327c5b){const _0x1855eb=a8_0x1855();return a8_0x21c2=function(_0x21c25b,_0x1c4b9e){_0x21c25b=_0x21c25b-0x1c2;let _0x12affe=_0x1855eb[_0x21c25b];return _0x12affe;},a8_0x21c2(_0x2e1c49,_0x327c5b);}const a8_0x537a0d=a8_0x21c2;(function(_0x34fec2,_0x322d38){const _0x1eadb1=a8_0x21c2,_0x4297ad=_0x34fec2();while(!![]){try{const _0x4bd654=parseInt(_0x1eadb1(0x1e5))/0x1+-parseInt(_0x1eadb1(0x215))/0x2*(parseInt(_0x1eadb1(0x219))/0x3)+-parseInt(_0x1eadb1(0x235))/0x4*(-parseInt(_0x1eadb1(0x1d9))/0x5)+-parseInt(_0x1eadb1(0x21f))/0x6*(parseInt(_0x1eadb1(0x23f))/0x7)+parseInt(_0x1eadb1(0x1db))/0x8*(parseInt(_0x1eadb1(0x1cf))/0x9)+-parseInt(_0x1eadb1(0x224))/0xa*(-parseInt(_0x1eadb1(0x1ff))/0xb)+-parseInt(_0x1eadb1(0x236))/0xc;if(_0x4bd654===_0x322d38)break;else _0x4297ad['push'](_0x4297ad['shift']());}catch(_0x37f604){_0x4297ad['push'](_0x4297ad['shift']());}}}(a8_0x1855,0x61bff));const path=require(a8_0x537a0d(0x229)),util=require('util'),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x537a0d(0x223)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x537a0d(0x253))[a8_0x537a0d(0x238)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x537a0d(0x225)),TestDetails=require('../playwright/reporter/test-details');this['_gitConfigured']=![],this['_gitConfigPath']=null;function a8_0x1855(){const _0xa0da0d=['kfkBW','rPHCp','235mBFDpV','split','8NrbsXe','getCucumberHookType','CPMyy','hookId','children','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','WxhEN','HZyac','pickleStepId','testStepFinished','367897ORKZXi','duration_in_ms','nanos','UnDVW','toISOString','Antma','rwrIn','wOoCC','sendTestRunEventForCucumber','unknown','dlklr','value','PERhT','includes','javascript','match','join','failure_type','iScYg','suAVR','find','examples','tableBody','getHookResult','hXNWb','SGzDt','8299555UQCURm','getTestUUID','failureData','uuid','name','tags','appendTesthubParams','vsMCo','length','relative','scenario','iqVaW','skipped','siWkT','fPctx','AFTER_EACH','CUCUMBER','cucumber','testCaseFinished','juCDi','failure','hykwo','3294TnLxkB','failureType','forEach','toLowerCase','591OTplVb','getScenarioExamples','toString','UnhandledError','pkYbd','gDqch','2150940UTtAAw','debug','tagExpression','_gitConfigured','../../helpers/testhub/utils','10sAeLfG','../../helpers/test-observability/constants.js','kkwbd','root','HookRunStarted','path','jeMGN','strip-ansi','finished_at','mFmyK','0|2|1|4|3','hook','YyVIa','ruGYa','map','filter','format','44692aiDHEr','14648856QdeBDq','sendHook','winstonLogger','getHookRunEventData','AssertionError','fSoUi','status','mOVVO','rule','7BNCFWV','exports','hooks','MmazQ','wqkfE','jfcYV','pending','event_type','pQBat','uri','gEtEB','Exception\x20in\x20getHookRunEventData:\x20','ZAzlW','failure_reason','Bkboo','exception','_gitConfigPath','GoBLn','hook_run','backtrace','../../helpers/logger','CuPQX','failed','feature','failure_data','SKIPPED','cNBNl','flatMap','timestamp','cells','updateTestStatus','fsWOv','getHooksListForTest','astNodeIds','yxkga','hbmLf','result','RxuUp','testCaseStartedId','test','5908833WEsKWA','message','gsOlw','BEFORE_EACH','test_run','znWYP','GgEaO','configureGit'];a8_0x1855=function(){return _0xa0da0d;};return a8_0x1855();}class TestObservabilityReporter{async[a8_0x537a0d(0x1ed)](_0x4bcc29,_0x318106,_0x494d56,_0x554cbf,_0x139024){const _0x40e215=a8_0x537a0d,_0x50e2d3={'HZyac':function(_0x10b3c8,_0x34536e){return _0x10b3c8===_0x34536e;},'KurQI':'FAILED','rwrIn':'failed','gDqch':_0x40e215(0x258),'ciAGt':_0x40e215(0x20b),'gEtEB':function(_0x9da274,_0x1db0b5){return _0x9da274||_0x1db0b5;},'KkqqM':function(_0x32a441,_0x10be11){return _0x32a441+_0x10be11;},'PRyUt':function(_0x3ae328,_0x1c3ef4){return _0x3ae328+_0x1c3ef4;},'oRVSv':function(_0x14bf3e,_0x51981f){return _0x14bf3e+_0x51981f;},'JzWfY':_0x40e215(0x1ce),'PERhT':_0x40e215(0x1f3),'pQBat':_0x40e215(0x210),'AHbRh':'pending','WxhEN':'passed','GoBLn':function(_0x1fb13c,_0x4d66ab){return _0x1fb13c!==_0x4d66ab;},'fPctx':function(_0x127d5b,_0x4697ff){return _0x127d5b/_0x4697ff;},'UnDVW':function(_0x4d6c46,_0x461312){return _0x4d6c46===_0x461312;},'rPHCp':_0x40e215(0x22b),'iqVaW':function(_0x207a96,_0x4f5f60){return _0x207a96(_0x4f5f60);},'mOVVO':_0x40e215(0x1ee),'dlklr':_0x40e215(0x23a),'gsOlw':'UnhandledError','EQGqR':function(_0x5562ba,_0x10fb7b){return _0x5562ba===_0x10fb7b;},'wqkfE':'TestRunFinished','Bkboo':function(_0x237865,_0x41fbf2){return _0x237865>_0x41fbf2;}},{feature:_0x51b30b,scenario:_0x1b50e9,steps:_0x4244fc,uuid:_0x1f9bce,startedAt:_0xf42f69,finishedAt:_0x56039e}=_0x50e2d3[_0x40e215(0x249)](_0x139024,{}),_0xc4e5a7=this['getScenarioExamples'](_0x318106,_0x494d56);await this[_0x40e215(0x1d6)]();const _0x47cb89=_0xc4e5a7?_0x50e2d3['KkqqM'](_0x50e2d3['PRyUt'](_0x50e2d3['oRVSv'](_0x494d56[_0x40e215(0x203)],'\x20('),_0xc4e5a7[_0x40e215(0x1f5)](',\x20')),')'):_0x494d56[_0x40e215(0x203)],_0x2e809d={'uuid':_0x1f9bce,'started_at':_0xf42f69,'finished_at':_0x56039e,'type':_0x50e2d3['JzWfY'],'body':{'lang':_0x50e2d3[_0x40e215(0x1f1)],'code':null},'name':_0x47cb89,'scopes':[_0x51b30b&&_0x51b30b[_0x40e215(0x203)]?_0x51b30b['name']:''],'tags':_0x494d56[_0x40e215(0x204)]?_0x494d56[_0x40e215(0x204)][_0x40e215(0x232)](({name:_0x2c5684})=>_0x2c5684):[],'file_name':_0x494d56[_0x40e215(0x248)],'location':_0x494d56['uri'],'vc_filepath':this['_gitConfigPath']&&_0x494d56[_0x40e215(0x248)]?path[_0x40e215(0x208)](this[_0x40e215(0x24f)],_0x494d56[_0x40e215(0x248)]):null,'framework':_0x50e2d3[_0x40e215(0x247)],'result':_0x50e2d3['AHbRh'],'meta':{'feature':_0x51b30b,'scenario':_0x1b50e9,'steps':_0x4244fc,'examples':_0xc4e5a7},'customRerunParam':{'rerun_name':_0x47cb89}};if(_0x4bcc29[_0x40e215(0x211)]&&_0x4244fc){const _0x532112=_0x4bcc29[_0x40e215(0x211)];let _0x1d5e5f=_0x50e2d3[_0x40e215(0x1e1)];_0x4244fc['every'](_0x36dc87=>{const _0x220682=_0x40e215;if(_0x50e2d3['HZyac'](_0x36dc87['result'],_0x50e2d3['KurQI']))return _0x1d5e5f=_0x50e2d3['rwrIn'],_0x532112[_0x220682(0x213)]=_0x36dc87[_0x220682(0x213)],_0x532112[_0x220682(0x216)]=_0x36dc87[_0x220682(0x216)],![];else{if(_0x50e2d3[_0x220682(0x1e2)](_0x36dc87[_0x220682(0x1cb)],_0x50e2d3[_0x220682(0x21e)]))return _0x1d5e5f=_0x50e2d3['ciAGt'],![];}return!![];}),_0x2e809d[_0x40e215(0x22c)]=new Date()[_0x40e215(0x1e9)](),_0x2e809d[_0x40e215(0x1cb)]=_0x1d5e5f;_0x532112[_0x40e215(0x1c3)]&&_0x50e2d3[_0x40e215(0x250)](_0x532112[_0x40e215(0x1c3)][_0x40e215(0x1e7)],undefined)?_0x2e809d['duration_in_ms']=_0x50e2d3[_0x40e215(0x20d)](_0x532112[_0x40e215(0x1c3)][_0x40e215(0x1e7)],0xf4240):_0x2e809d[_0x40e215(0x1e6)]=undefined;if(_0x50e2d3[_0x40e215(0x1e8)](_0x1d5e5f,_0x50e2d3[_0x40e215(0x1eb)])){const {default:_0x5ca658}=await import(_0x50e2d3[_0x40e215(0x1d8)]);_0x2e809d[_0x40e215(0x213)]=[{'backtrace':[_0x532112[_0x40e215(0x213)]?_0x50e2d3[_0x40e215(0x20a)](_0x5ca658,_0x532112[_0x40e215(0x213)]):_0x50e2d3[_0x40e215(0x23d)]]}],_0x2e809d[_0x40e215(0x24c)]=_0x532112[_0x40e215(0x213)]?_0x50e2d3[_0x40e215(0x20a)](_0x5ca658,_0x532112[_0x40e215(0x213)]):_0x532112[_0x40e215(0x1d0)],_0x532112['failureType']&&(_0x2e809d[_0x40e215(0x1f6)]=_0x532112[_0x40e215(0x216)][_0x40e215(0x1f4)](/AssertError/)?_0x50e2d3[_0x40e215(0x1ef)]:_0x50e2d3[_0x40e215(0x1d1)]);}}if(_0x50e2d3['EQGqR'](_0x554cbf,_0x50e2d3[_0x40e215(0x243)])){const _0x919431=this[_0x40e215(0x1c7)](_0x4bcc29[_0x40e215(0x211)][_0x40e215(0x1cd)]);_0x919431&&_0x50e2d3[_0x40e215(0x24d)](_0x919431[_0x40e215(0x207)],0x0)&&(_0x2e809d[_0x40e215(0x241)]=_0x919431,this[_0x40e215(0x1c5)](_0x4bcc29[_0x40e215(0x211)][_0x40e215(0x1cd)],_0x2e809d));}testhubUtils[_0x40e215(0x205)](_0x2e809d,_0x554cbf,'',FRAMEWORKS[_0x40e215(0x20f)]);const _0x22819c={};_0x22819c[_0x40e215(0x246)]=_0x554cbf,_0x22819c[_0x40e215(0x1d3)]=_0x2e809d;const _0x4e18aa=_0x22819c;await SessionHandler['uploadEventData'](_0x4e18aa);}['updateTestStatus'](_0x1a9332,_0x11cb9b){const _0x595c66=a8_0x537a0d,_0x3bb810={};_0x3bb810[_0x595c66(0x1d7)]=function(_0x56734c,_0x37a570){return _0x56734c instanceof _0x37a570;},_0x3bb810[_0x595c66(0x1fd)]=function(_0x4e0c62,_0x32a27f){return _0x4e0c62===_0x32a27f;},_0x3bb810['mFmyK']=_0x595c66(0x255),_0x3bb810['znWYP']=_0x595c66(0x22e),_0x3bb810[_0x595c66(0x231)]=function(_0x323403,_0x4af64c){return _0x323403 instanceof _0x4af64c;};const _0x1a7787=_0x3bb810,_0x1e1fc6=hooksMap[_0x1a9332];if(_0x1a7787[_0x595c66(0x1d7)](_0x1e1fc6,Array))for(const _0x2f5bb7 of _0x1e1fc6){if(_0x1a7787['hXNWb'](_0x2f5bb7['result'],_0x1a7787[_0x595c66(0x22d)])){const _0x2f59b7=_0x1a7787[_0x595c66(0x1d4)][_0x595c66(0x1da)]('|');let _0x1726bd=0x0;while(!![]){switch(_0x2f59b7[_0x1726bd++]){case'0':_0x11cb9b[_0x595c66(0x1cb)]=_0x2f5bb7[_0x595c66(0x1cb)];continue;case'1':_0x11cb9b['failure_reason']=_0x1a7787[_0x595c66(0x231)](_0x2f5bb7['failure_data'],Array)?_0x2f5bb7[_0x595c66(0x257)][0x0][_0x595c66(0x252)][_0x595c66(0x1f5)]('\x0a'):'';continue;case'2':_0x11cb9b[_0x595c66(0x213)]=_0x2f5bb7[_0x595c66(0x257)];continue;case'3':return _0x11cb9b;case'4':_0x11cb9b[_0x595c66(0x1f6)]=_0x2f5bb7[_0x595c66(0x1f6)];continue;}break;}}};}[a8_0x537a0d(0x1c7)](_0x765644){const _0xbe3651=a8_0x537a0d;if(hooksMap[_0x765644])return hooksMap[_0x765644][_0xbe3651(0x232)](_0x44e702=>_0x44e702[_0xbe3651(0x202)]);return[];}[a8_0x537a0d(0x239)](_0x54bac5,_0x16572f,_0x48e083,_0x499cbf,_0x56932f,_0x3b4742){const _0x44838b=a8_0x537a0d,_0x5c486a={'jeMGN':function(_0x26f7f0,_0x4f0c76){return _0x26f7f0===_0x4f0c76;},'hykwo':'HookRunFinished','FnDhz':function(_0x42c899,_0xb3542c,_0x2e2c21){return _0x42c899(_0xb3542c,_0x2e2c21);},'CuPQX':'sourceReference','nuLbe':_0x44838b(0x248),'jfcYV':_0x44838b(0x245),'iGmdO':_0x44838b(0x22f),'pkYbd':'javascript','kkwbd':function(_0x33b1c5,_0x28beca,_0x5b6562){return _0x33b1c5(_0x28beca,_0x5b6562);},'vsMCo':_0x44838b(0x256),'fSoUi':_0x44838b(0x203),'sgHQT':'cucumber'};try{if(_0x5c486a[_0x44838b(0x22a)](_0x48e083,_0x5c486a[_0x44838b(0x214)])){const _0x442058=new Date()[_0x44838b(0x1e9)](),_0x588420=hooksMap[_0x16572f];if(!_0x588420)return;const _0x4388e5=_0x588420[_0x44838b(0x1f9)](_0x3c54d5=>_0x3c54d5[_0x44838b(0x202)]===_0x499cbf['id']);if(!_0x4388e5)return;const _0x31d62e=this[_0x44838b(0x1fc)](_0x54bac5,_0x16572f);_0x4388e5[_0x44838b(0x1cb)]=_0x31d62e['status'],_0x4388e5['finished_at']=_0x442058,_0x4388e5[_0x44838b(0x1f6)]=_0x31d62e[_0x44838b(0x216)];const _0x516354={};return _0x516354['backtrace']=_0x31d62e[_0x44838b(0x201)],_0x4388e5[_0x44838b(0x257)]=[_0x516354],_0x4388e5;}const _0x302bef=TestDetails[_0x44838b(0x200)](_0x16572f),_0x32233c=_0x54bac5[_0x44838b(0x241)][_0x44838b(0x1f9)](_0x560a85=>_0x560a85['id']===_0x499cbf[_0x44838b(0x1de)]),_0x75b0e0=_0x5c486a['FnDhz'](nestedKeyValue,_0x32233c,[_0x5c486a[_0x44838b(0x254)],_0x5c486a['nuLbe']]),_0x1f0359=new Date()['toISOString'](),_0x56a6ef=_0x5c486a[_0x44838b(0x244)],_0xd3cf7a=_0x32233c[_0x44838b(0x221)]?_0x32233c[_0x44838b(0x221)][_0x44838b(0x1da)]('\x20')[_0x44838b(0x233)](_0x10748d=>_0x10748d['includes']('@')):[],_0x1b8910={'uuid':_0x499cbf['id'],'type':_0x5c486a['iGmdO'],'hook_type':_0x3b4742,'name':_0x32233c['name'],'body':{'lang':_0x5c486a[_0x44838b(0x21d)],'code':null},'tags':_0xd3cf7a,'test_run_id':_0x302bef,'scope':_0x5c486a[_0x44838b(0x226)](nestedKeyValue,_0x56932f,[_0x5c486a[_0x44838b(0x206)],_0x5c486a[_0x44838b(0x23b)]]),'scopes':[_0x5c486a['kkwbd'](nestedKeyValue,_0x56932f,[_0x5c486a[_0x44838b(0x206)],_0x5c486a[_0x44838b(0x23b)]])||''],'file_name':_0x75b0e0,'location':_0x75b0e0,'vc_filepath':this[_0x44838b(0x24f)]?path['relative'](this['_gitConfigPath'],_0x75b0e0):null,'result':_0x56a6ef,'started_at':_0x1f0359,'framework':_0x5c486a['sgHQT']};return _0x1b8910;}catch(_0x2ed158){logger[_0x44838b(0x220)](_0x44838b(0x24a)+util[_0x44838b(0x234)](_0x2ed158)+'\x20');}}async[a8_0x537a0d(0x237)](_0x45c6c5,_0x162cc6,_0x3c04f0,_0x386561,_0x23c204,_0x19300e){const _0x4bfe5c=a8_0x537a0d,_0x56ea0d={'SGzDt':function(_0x37c6b7,_0x3d82ff){return _0x37c6b7===_0x3d82ff;},'ZAzlW':_0x4bfe5c(0x228),'yxkga':function(_0x406e3f,_0x5c111b,_0x3c1a3d){return _0x406e3f(_0x5c111b,_0x3c1a3d);},'hbmLf':'sourceReference','dSAyl':_0x4bfe5c(0x248),'YyVIa':_0x4bfe5c(0x1e0)};try{const _0x220ee0=_0x386561[_0x4bfe5c(0x1f9)](_0x222e1d=>_0x222e1d['id']===_0x23c204);if(!_0x220ee0[_0x4bfe5c(0x1de)])return;const _0x2ad4c2=this['getCucumberHookType'](_0x386561,_0x220ee0),_0x7fc1c2=this['getHookRunEventData'](_0x45c6c5,_0x162cc6,_0x3c04f0,_0x220ee0,_0x19300e,_0x2ad4c2);if(!_0x7fc1c2)return;_0x56ea0d[_0x4bfe5c(0x1fe)](_0x3c04f0,_0x56ea0d[_0x4bfe5c(0x24b)])&&(hooksMap[_0x162cc6]?hooksMap[_0x162cc6]['push'](_0x7fc1c2):hooksMap[_0x162cc6]=[_0x7fc1c2]);const _0x2623e7=_0x45c6c5[_0x4bfe5c(0x241)]['find'](_0x37b2d2=>_0x37b2d2['id']===_0x220ee0[_0x4bfe5c(0x1de)]),_0x3e2edb=_0x56ea0d[_0x4bfe5c(0x1c9)](nestedKeyValue,_0x2623e7,[_0x56ea0d[_0x4bfe5c(0x1ca)],_0x56ea0d['dSAyl']]);if(!_0x3e2edb)return;else{if(_0x3e2edb[_0x4bfe5c(0x1f2)](_0x56ea0d[_0x4bfe5c(0x230)]))return;}const _0x167988={};_0x167988[_0x4bfe5c(0x246)]=_0x3c04f0,_0x167988[_0x4bfe5c(0x251)]=_0x7fc1c2;const _0x3b9617=_0x167988;await SessionHandler['uploadEventData'](_0x3b9617);}catch(_0x276916){logger[_0x4bfe5c(0x220)]('Exception\x20in\x20sendHook:\x20'+util[_0x4bfe5c(0x234)](_0x276916)+'\x20');}}[a8_0x537a0d(0x1fc)](_0x570008,_0x3e20d9){const _0x399e06=a8_0x537a0d,_0x527287={};_0x527287[_0x399e06(0x1f7)]=function(_0x106b5e,_0x3644da){return _0x106b5e===_0x3644da;},_0x527287[_0x399e06(0x1ec)]=_0x399e06(0x255),_0x527287['siWkT']=function(_0x137736,_0x5c2797){return _0x137736===_0x5c2797;},_0x527287['MmazQ']=_0x399e06(0x21c),_0x527287[_0x399e06(0x259)]=_0x399e06(0x23a),_0x527287['qvwUG']=function(_0x2d1ffd,_0x5ebb69){return _0x2d1ffd||_0x5ebb69;};const _0x3e9cf9=_0x527287,_0x37738c=_0x570008[_0x399e06(0x1e4)][_0x3e20d9]['testStepResult'];let _0x44d5cb,_0x48a833;return _0x37738c&&_0x3e9cf9['iScYg'](_0x37738c['status'][_0x399e06(0x21b)]()[_0x399e06(0x218)](),_0x3e9cf9[_0x399e06(0x1ec)])&&(_0x44d5cb=_0x3e9cf9['iScYg'](_0x37738c[_0x399e06(0x24e)],undefined)?_0x37738c[_0x399e06(0x1d0)]:_0x37738c['exception']['message'],_0x48a833=_0x3e9cf9[_0x399e06(0x20c)](_0x37738c['exception'],undefined)?_0x3e9cf9[_0x399e06(0x242)]:_0x37738c[_0x399e06(0x1d0)][_0x399e06(0x1f4)](/Assert/)?_0x3e9cf9[_0x399e06(0x259)]:_0x3e9cf9[_0x399e06(0x242)]),{'status':_0x37738c[_0x399e06(0x23c)][_0x399e06(0x218)](),'failureType':_0x3e9cf9['qvwUG'](_0x48a833,null),'failureData':!_0x44d5cb?null:[_0x44d5cb]};}[a8_0x537a0d(0x1dc)](_0x3f3328,_0x108f72){const _0xe16107=a8_0x537a0d,_0x30d96b={};_0x30d96b[_0xe16107(0x1f8)]=function(_0x602150,_0x2b4b79){return _0x602150===_0x2b4b79;},_0x30d96b[_0xe16107(0x1d5)]=_0xe16107(0x20e),_0x30d96b[_0xe16107(0x1cc)]=_0xe16107(0x1d2);const _0x28a214=_0x30d96b;let _0x2ca8cc=![];for(const _0x5793b3 of _0x3f3328){_0x5793b3[_0xe16107(0x1e3)]&&(_0x2ca8cc=!![]);if(_0x28a214[_0xe16107(0x1f8)](_0x108f72['id'],_0x5793b3['id']))return _0x2ca8cc?_0x28a214[_0xe16107(0x1d5)]:_0x28a214['RxuUp'];}}[a8_0x537a0d(0x21a)]=(_0x1b3934,_0xb5763c)=>{const _0x92082a=a8_0x537a0d,_0x2ee969={};_0x2ee969[_0x92082a(0x212)]=function(_0x1b2483,_0x56329d){return _0x1b2483===_0x56329d;},_0x2ee969[_0x92082a(0x1ea)]=function(_0x372c0a,_0x5af372){return _0x372c0a===_0x5af372;},_0x2ee969['fsWOv']=function(_0x2df449,_0xd03b0f){return _0x2df449>_0xd03b0f;};const _0x54bfbb=_0x2ee969;if(!(_0xb5763c['astNodeIds']&&_0x54bfbb[_0x92082a(0x1c6)](_0xb5763c[_0x92082a(0x1c8)][_0x92082a(0x207)],0x1)))return;const _0x261caa=_0xb5763c[_0x92082a(0x1c8)][0x0],_0x36db78=_0xb5763c[_0x92082a(0x1c8)][0x1],_0x5c2d1f=_0x1b3934['feature']&&_0x1b3934[_0x92082a(0x256)]['children']?_0x1b3934[_0x92082a(0x256)][_0x92082a(0x1df)]:undefined;let _0xfb19aa=[];_0x5c2d1f&&_0x5c2d1f[_0x92082a(0x217)](_0x5f4159=>{const _0x4b9ce=_0x92082a;if(_0x5f4159[_0x4b9ce(0x23e)])_0x5f4159[_0x4b9ce(0x23e)]['children']['forEach'](_0x2a2082=>{const _0x51de96=_0x4b9ce;if(_0x2a2082[_0x51de96(0x209)]&&_0x54bfbb[_0x51de96(0x212)](_0x2a2082[_0x51de96(0x209)]['id'],_0x261caa)&&_0x2a2082[_0x51de96(0x209)][_0x51de96(0x1fa)]){const _0x3a7752=_0x2a2082['scenario'][_0x51de96(0x1fa)][_0x51de96(0x1c2)](_0x1a798a=>_0x1a798a[_0x51de96(0x1fb)])[_0x51de96(0x1f9)](_0xa649ab=>_0xa649ab['id']===_0x36db78);let _0x247b10;_0x3a7752&&_0x3a7752[_0x51de96(0x1c4)]?_0x247b10=_0x3a7752['cells']['map'](_0x49a88f=>_0x49a88f[_0x51de96(0x1f0)]):_0x247b10=[],_0x247b10&&(_0xfb19aa=_0x247b10);}});else{if(_0x5f4159[_0x4b9ce(0x209)]&&_0x54bfbb[_0x4b9ce(0x1ea)](_0x5f4159[_0x4b9ce(0x209)]['id'],_0x261caa)&&_0x5f4159[_0x4b9ce(0x209)]['examples']){const _0x376146=_0x5f4159['scenario']['examples'][_0x4b9ce(0x1c2)](_0x5dc767=>_0x5dc767[_0x4b9ce(0x1fb)])['find'](_0x4876f6=>_0x4876f6['id']===_0x36db78);let _0x573214;_0x376146&&_0x376146[_0x4b9ce(0x1c4)]?_0x573214=_0x376146['cells'][_0x4b9ce(0x232)](_0x30d4b2=>_0x30d4b2[_0x4b9ce(0x1f0)]):_0x573214=[],_0x573214&&(_0xfb19aa=_0x573214);}}});if(_0xfb19aa[_0x92082a(0x207)])return _0xfb19aa;return;};async[a8_0x537a0d(0x1d6)](){const _0x33e961=a8_0x537a0d,_0x4d764e={'CPMyy':function(_0x5686d2){return _0x5686d2();}};if(this[_0x33e961(0x222)])return this[_0x33e961(0x24f)];const _0x1932e9=await _0x4d764e[_0x33e961(0x1dd)](getGitMetaData);_0x1932e9&&(this[_0x33e961(0x24f)]=_0x1932e9[_0x33e961(0x227)]),this[_0x33e961(0x222)]=!![];}}module[a8_0x537a0d(0x240)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x537a0d(0x1d6),'getScenarioExamples',a8_0x537a0d(0x1dc),'getHookResult',a8_0x537a0d(0x237),'getHookRunEventData',a8_0x537a0d(0x1ed)]);
|
|
1
|
+
function a8_0x42f0(_0x13bcd6,_0x4d194d){const _0x41788d=a8_0x4178();return a8_0x42f0=function(_0x42f0db,_0x1d2e63){_0x42f0db=_0x42f0db-0x180;let _0x4d772c=_0x41788d[_0x42f0db];return _0x4d772c;},a8_0x42f0(_0x13bcd6,_0x4d194d);}function a8_0x4178(){const _0x505bdc=['includes','toLowerCase','BRnib','getHookResult','dgdjl','cells','sszGc','uri','filter','3690MYUFVt','YLGHv','TestRunFinished','skipped','GKSHL','epxta','map','34936kUpuuT','jRwuw','1711950pyyRiV','tableBody','uploadEventData','yOrsu','SYAzy','test_run','forEach','find','NTCJM','root','sVyoa','getScenarioExamples','format','toISOString','INXpT','nanos','uSgak','../../helpers/logger','FAILED','_gitConfigured','567253qhkUcF','push','hookId','failure_reason','feature','mkjZl','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','SKIPPED','1|2|3|0|4','exports','tkPOx','WHpep','hbwhF','FXzJY','uuid','nvPoN','result','HookRunStarted','relative','testStepResult','rule','YAefD','duration_in_ms','flatMap','cucumber','zhyAP','sendTestRunEventForCucumber','hqzFM','OHLfg','FgVai','../../helpers/test-observability/constants.js','name','getHookRunEventData','value','examples','TRWfY','sourceReference','testStepFinished','DiiPE','passed','../playwright/reporter/test-details','yUPIe','lnJZx','sendHook','../../helpers/test-observability/sessionHandler','debug','configureGit','appendTesthubParams','OYWdE','dOPGX','UGmLn','XxARq','CUCUMBER','AssertionError','Mjovi','children','fgaGt','updateTestStatus','timestamp','testCaseStartedId','getHooksListForTest','exception','status','javascript','pending','rdAwW','TDAsl','split','finished_at','message','7scdBLd','event_type','GAYac','tags','AFXSm','getCucumberHookType','failed','PQoTw','toString','44181rrfHGr','match','LbzUb','unknown','length','jBtVQ','424XOzCgM','../../helpers/testhub/utils','failure_data','UnhandledError','YthdP','failure','astNodeIds','HayKj','eWHGT','yWEeg','failureData','winstonLogger','2697696rdmijW','495042BUUhdZ','qmFjV','backtrace','BEFORE_EACH','failureType','xSwAp','hooks','_gitConfigPath','AFTER_EACH','testCaseFinished','QKMtR','cqNXG','scenario','LJiqs','oEnFW','qHCNE','failure_type','PZexU','join','Exception\x20in\x20sendHook:\x20','tagExpression'];a8_0x4178=function(){return _0x505bdc;};return a8_0x4178();}const a8_0x3a4f49=a8_0x42f0;(function(_0x52338a,_0x17addd){const _0x57c1cc=a8_0x42f0,_0xc8e750=_0x52338a();while(!![]){try{const _0x55f067=parseInt(_0x57c1cc(0x1a5))/0x1+parseInt(_0x57c1cc(0x18f))/0x2+-parseInt(_0x57c1cc(0x1f4))/0x3+-parseInt(_0x57c1cc(0x206))/0x4+parseInt(_0x57c1cc(0x191))/0x5+-parseInt(_0x57c1cc(0x207))/0x6*(-parseInt(_0x57c1cc(0x1eb))/0x7)+parseInt(_0x57c1cc(0x1fa))/0x8*(parseInt(_0x57c1cc(0x188))/0x9);if(_0x55f067===_0x17addd)break;else _0xc8e750['push'](_0xc8e750['shift']());}catch(_0x160a08){_0xc8e750['push'](_0xc8e750['shift']());}}}(a8_0x4178,0x538b5));const path=require('path'),util=require('util'),hooksMap={},SessionHandler=require(a8_0x3a4f49(0x1d1)),testhubUtils=require(a8_0x3a4f49(0x1fb)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x3a4f49(0x1a2))[a8_0x3a4f49(0x205)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x3a4f49(0x1c3)),TestDetails=require(a8_0x3a4f49(0x1cd));this[a8_0x3a4f49(0x1a4)]=![],this[a8_0x3a4f49(0x20e)]=null;class TestObservabilityReporter{async[a8_0x3a4f49(0x1bf)](_0x20ba4f,_0x14a15d,_0x4dda6d,_0x5e6ea9,_0x1979ca){const _0x5f2cb4=a8_0x3a4f49,_0x51af43={'epxta':function(_0xe7a7a1,_0x28cbc3){return _0xe7a7a1===_0x28cbc3;},'rdAwW':_0x5f2cb4(0x1a3),'sVyoa':_0x5f2cb4(0x1f1),'xSwAp':_0x5f2cb4(0x1ac),'BRnib':_0x5f2cb4(0x18b),'BdEYJ':function(_0xeee4f4,_0xa42f81){return _0xeee4f4||_0xa42f81;},'dgdjl':function(_0x289e28,_0x2da2bd){return _0x289e28+_0x2da2bd;},'YAefD':function(_0xcbdb98,_0x7ba745){return _0xcbdb98+_0x7ba745;},'BfQDn':'test','UeFHo':_0x5f2cb4(0x1e4),'AFXSm':_0x5f2cb4(0x1bd),'qHCNE':_0x5f2cb4(0x1e5),'qmFjV':_0x5f2cb4(0x1cc),'lnJZx':function(_0x10fce4,_0x12a0ca){return _0x10fce4!==_0x12a0ca;},'TRWfY':function(_0x5ec17c,_0x3d9b7c){return _0x5ec17c/_0x3d9b7c;},'jRwuw':function(_0x189b86,_0x1268e5){return _0x189b86===_0x1268e5;},'yWEeg':'strip-ansi','zjKLL':function(_0x43d117,_0x56c0c8){return _0x43d117(_0x56c0c8);},'cqNXG':_0x5f2cb4(0x1f7),'PZexU':function(_0xa1be7a,_0x33cdad){return _0xa1be7a(_0x33cdad);},'GKSHL':_0x5f2cb4(0x1da),'OYWdE':_0x5f2cb4(0x1fd),'Mjovi':_0x5f2cb4(0x18a),'zhyAP':function(_0x44a032,_0xfb9a6e){return _0x44a032>_0xfb9a6e;}},{feature:_0x558bd8,scenario:_0x118232,steps:_0x35fd6a,uuid:_0x3fbfac,startedAt:_0x2a55fd,finishedAt:_0x4b6a8f}=_0x51af43['BdEYJ'](_0x1979ca,{}),_0x4fad3a=this[_0x5f2cb4(0x19c)](_0x14a15d,_0x4dda6d);await this[_0x5f2cb4(0x1d3)]();const _0x4064ce=_0x4fad3a?_0x51af43[_0x5f2cb4(0x183)](_0x51af43[_0x5f2cb4(0x1ba)](_0x51af43[_0x5f2cb4(0x1ba)](_0x4dda6d[_0x5f2cb4(0x1c4)],'\x20('),_0x4fad3a[_0x5f2cb4(0x219)](',\x20')),')'):_0x4dda6d[_0x5f2cb4(0x1c4)],_0x4d5e6a={'uuid':_0x3fbfac,'started_at':_0x2a55fd,'finished_at':_0x4b6a8f,'type':_0x51af43['BfQDn'],'body':{'lang':_0x51af43['UeFHo'],'code':null},'name':_0x4064ce,'scopes':[_0x558bd8&&_0x558bd8[_0x5f2cb4(0x1c4)]?_0x558bd8['name']:''],'tags':_0x4dda6d[_0x5f2cb4(0x1ee)]?_0x4dda6d['tags'][_0x5f2cb4(0x18e)](({name:_0x5c7578})=>_0x5c7578):[],'file_name':_0x4dda6d[_0x5f2cb4(0x186)],'location':_0x4dda6d['uri'],'vc_filepath':this['_gitConfigPath']&&_0x4dda6d['uri']?path['relative'](this[_0x5f2cb4(0x20e)],_0x4dda6d[_0x5f2cb4(0x186)]):null,'framework':_0x51af43[_0x5f2cb4(0x1ef)],'result':_0x51af43[_0x5f2cb4(0x216)],'meta':{'feature':_0x558bd8,'scenario':_0x118232,'steps':_0x35fd6a,'examples':_0x4fad3a},'customRerunParam':{'rerun_name':_0x4064ce}};if(_0x20ba4f[_0x5f2cb4(0x210)]&&_0x35fd6a){const _0x335848=_0x20ba4f[_0x5f2cb4(0x210)];let _0x125512=_0x51af43[_0x5f2cb4(0x208)];_0x35fd6a['every'](_0x4a410f=>{const _0xad0b8e=_0x5f2cb4;if(_0x51af43[_0xad0b8e(0x18d)](_0x4a410f[_0xad0b8e(0x1b5)],_0x51af43[_0xad0b8e(0x1e6)]))return _0x125512=_0x51af43[_0xad0b8e(0x19b)],_0x335848[_0xad0b8e(0x1ff)]=_0x4a410f[_0xad0b8e(0x1ff)],_0x335848[_0xad0b8e(0x20b)]=_0x4a410f[_0xad0b8e(0x20b)],![];else{if(_0x51af43[_0xad0b8e(0x18d)](_0x4a410f[_0xad0b8e(0x1b5)],_0x51af43[_0xad0b8e(0x20c)]))return _0x125512=_0x51af43[_0xad0b8e(0x181)],![];}return!![];}),_0x4d5e6a[_0x5f2cb4(0x1e9)]=new Date()[_0x5f2cb4(0x19e)](),_0x4d5e6a[_0x5f2cb4(0x1b5)]=_0x125512;_0x335848[_0x5f2cb4(0x1df)]&&_0x51af43[_0x5f2cb4(0x1cf)](_0x335848['timestamp'][_0x5f2cb4(0x1a0)],undefined)?_0x4d5e6a[_0x5f2cb4(0x1bb)]=_0x51af43[_0x5f2cb4(0x1c8)](_0x335848[_0x5f2cb4(0x1df)][_0x5f2cb4(0x1a0)],0xf4240):_0x4d5e6a[_0x5f2cb4(0x1bb)]=undefined;if(_0x51af43[_0x5f2cb4(0x190)](_0x125512,_0x51af43[_0x5f2cb4(0x19b)])){const {default:_0x457671}=await import(_0x51af43[_0x5f2cb4(0x203)]);_0x4d5e6a[_0x5f2cb4(0x1ff)]=[{'backtrace':[_0x335848['failure']?_0x51af43['zjKLL'](_0x457671,_0x335848[_0x5f2cb4(0x1ff)]):_0x51af43[_0x5f2cb4(0x212)]]}],_0x4d5e6a['failure_reason']=_0x335848[_0x5f2cb4(0x1ff)]?_0x51af43[_0x5f2cb4(0x218)](_0x457671,_0x335848[_0x5f2cb4(0x1ff)]):_0x335848[_0x5f2cb4(0x1ea)],_0x335848[_0x5f2cb4(0x20b)]&&(_0x4d5e6a[_0x5f2cb4(0x217)]=_0x335848[_0x5f2cb4(0x20b)][_0x5f2cb4(0x1f5)](/AssertError/)?_0x51af43[_0x5f2cb4(0x18c)]:_0x51af43[_0x5f2cb4(0x1d5)]);}}if(_0x51af43[_0x5f2cb4(0x18d)](_0x5e6ea9,_0x51af43[_0x5f2cb4(0x1db)])){const _0x4d01af=this[_0x5f2cb4(0x1e1)](_0x20ba4f[_0x5f2cb4(0x210)]['testCaseStartedId']);_0x4d01af&&_0x51af43[_0x5f2cb4(0x1be)](_0x4d01af[_0x5f2cb4(0x1f8)],0x0)&&(_0x4d5e6a[_0x5f2cb4(0x20d)]=_0x4d01af,this[_0x5f2cb4(0x1de)](_0x20ba4f['testCaseFinished'][_0x5f2cb4(0x1e0)],_0x4d5e6a));}testhubUtils[_0x5f2cb4(0x1d4)](_0x4d5e6a,_0x5e6ea9,'',FRAMEWORKS[_0x5f2cb4(0x1d9)]);const _0x44e333={};_0x44e333[_0x5f2cb4(0x1ec)]=_0x5e6ea9,_0x44e333[_0x5f2cb4(0x196)]=_0x4d5e6a;const _0x38acb0=_0x44e333;await SessionHandler[_0x5f2cb4(0x193)](_0x38acb0);}[a8_0x3a4f49(0x1de)](_0x1be64f,_0x36f6f7){const _0x2f88e2=a8_0x3a4f49,_0x1722ea={};_0x1722ea['QKMtR']=function(_0xe90e6a,_0x8c39e4){return _0xe90e6a instanceof _0x8c39e4;},_0x1722ea['LJiqs']=function(_0x5eea57,_0x590c2a){return _0x5eea57===_0x590c2a;},_0x1722ea[_0x2f88e2(0x1d7)]=_0x2f88e2(0x1f1),_0x1722ea[_0x2f88e2(0x1a1)]=_0x2f88e2(0x1ad),_0x1722ea[_0x2f88e2(0x194)]=function(_0x40091d,_0x4e4784){return _0x40091d instanceof _0x4e4784;};const _0x351d66=_0x1722ea,_0x367062=hooksMap[_0x1be64f];if(_0x351d66[_0x2f88e2(0x211)](_0x367062,Array))for(const _0x2a8cce of _0x367062){if(_0x351d66[_0x2f88e2(0x214)](_0x2a8cce[_0x2f88e2(0x1b5)],_0x351d66[_0x2f88e2(0x1d7)])){const _0x14c701=_0x351d66['uSgak'][_0x2f88e2(0x1e8)]('|');let _0x276bb8=0x0;while(!![]){switch(_0x14c701[_0x276bb8++]){case'0':_0x36f6f7[_0x2f88e2(0x217)]=_0x2a8cce[_0x2f88e2(0x217)];continue;case'1':_0x36f6f7[_0x2f88e2(0x1b5)]=_0x2a8cce['result'];continue;case'2':_0x36f6f7[_0x2f88e2(0x1ff)]=_0x2a8cce['failure_data'];continue;case'3':_0x36f6f7[_0x2f88e2(0x1a8)]=_0x351d66['yOrsu'](_0x2a8cce[_0x2f88e2(0x1fc)],Array)?_0x2a8cce[_0x2f88e2(0x1fc)][0x0][_0x2f88e2(0x209)][_0x2f88e2(0x219)]('\x0a'):'';continue;case'4':return _0x36f6f7;}break;}}};}['getHooksListForTest'](_0x413b70){const _0x23a913=a8_0x3a4f49;if(hooksMap[_0x413b70])return hooksMap[_0x413b70][_0x23a913(0x18e)](_0x127c0b=>_0x127c0b[_0x23a913(0x1b3)]);return[];}['getHookRunEventData'](_0x1e6b72,_0x1f7cee,_0x5813bf,_0x222eeb,_0x33eeb7,_0x53c081){const _0x9a1539=a8_0x3a4f49,_0x5dad3c={'hqzFM':function(_0x47012b,_0x4bcf30){return _0x47012b===_0x4bcf30;},'PQoTw':'HookRunFinished','FgVai':function(_0x96c580,_0x48c3e5,_0x287313){return _0x96c580(_0x48c3e5,_0x287313);},'NTCJM':_0x9a1539(0x1c9),'YthdP':_0x9a1539(0x186),'WHpep':_0x9a1539(0x1e5),'sszGc':'hook','LlKuy':_0x9a1539(0x1e4),'DiiPE':_0x9a1539(0x1a9),'jBtVQ':_0x9a1539(0x1c4),'oqqgL':function(_0x52a44f,_0x4f62a6,_0x1ad6c3){return _0x52a44f(_0x4f62a6,_0x1ad6c3);},'dOPGX':_0x9a1539(0x1bd)};try{if(_0x5dad3c[_0x9a1539(0x1c0)](_0x5813bf,_0x5dad3c[_0x9a1539(0x1f2)])){const _0x88e57e=new Date()['toISOString'](),_0x407c84=hooksMap[_0x1f7cee];if(!_0x407c84)return;const _0x3918ac=_0x407c84[_0x9a1539(0x198)](_0x3ff9bc=>_0x3ff9bc[_0x9a1539(0x1b3)]===_0x222eeb['id']);if(!_0x3918ac)return;const _0x3ba47b=this[_0x9a1539(0x182)](_0x1e6b72,_0x1f7cee);_0x3918ac[_0x9a1539(0x1b5)]=_0x3ba47b[_0x9a1539(0x1e3)],_0x3918ac['finished_at']=_0x88e57e,_0x3918ac['failure_type']=_0x3ba47b['failureType'];const _0x14bb0c={};return _0x14bb0c[_0x9a1539(0x209)]=_0x3ba47b[_0x9a1539(0x204)],_0x3918ac[_0x9a1539(0x1fc)]=[_0x14bb0c],_0x3918ac;}const _0x3121b6=TestDetails['getTestUUID'](_0x1f7cee),_0x5771e4=_0x1e6b72[_0x9a1539(0x20d)]['find'](_0x47b5de=>_0x47b5de['id']===_0x222eeb[_0x9a1539(0x1a7)]),_0x143806=_0x5dad3c[_0x9a1539(0x1c2)](nestedKeyValue,_0x5771e4,[_0x5dad3c[_0x9a1539(0x199)],_0x5dad3c[_0x9a1539(0x1fe)]]),_0x44dbcb=new Date()[_0x9a1539(0x19e)](),_0x29ea70=_0x5dad3c[_0x9a1539(0x1b0)],_0xaaf733=_0x5771e4[_0x9a1539(0x21b)]?_0x5771e4[_0x9a1539(0x21b)][_0x9a1539(0x1e8)]('\x20')[_0x9a1539(0x187)](_0x53a157=>_0x53a157['includes']('@')):[],_0x3953c1={'uuid':_0x222eeb['id'],'type':_0x5dad3c[_0x9a1539(0x185)],'hook_type':_0x53c081,'name':_0x5771e4[_0x9a1539(0x1c4)],'body':{'lang':_0x5dad3c['LlKuy'],'code':null},'tags':_0xaaf733,'test_run_id':_0x3121b6,'scope':_0x5dad3c[_0x9a1539(0x1c2)](nestedKeyValue,_0x33eeb7,[_0x5dad3c[_0x9a1539(0x1cb)],_0x5dad3c[_0x9a1539(0x1f9)]]),'scopes':[_0x5dad3c['oqqgL'](nestedKeyValue,_0x33eeb7,[_0x5dad3c['DiiPE'],_0x5dad3c['jBtVQ']])||''],'file_name':_0x143806,'location':_0x143806,'vc_filepath':this[_0x9a1539(0x20e)]?path[_0x9a1539(0x1b7)](this[_0x9a1539(0x20e)],_0x143806):null,'result':_0x29ea70,'started_at':_0x44dbcb,'framework':_0x5dad3c[_0x9a1539(0x1d6)]};return _0x3953c1;}catch(_0x5efdac){logger[_0x9a1539(0x1d2)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x9a1539(0x19d)](_0x5efdac)+'\x20');}}async['sendHook'](_0x2ce94e,_0x2f9b13,_0x462ab3,_0x27365e,_0x49cf51,_0x30841f){const _0x3624e8=a8_0x3a4f49,_0x3ee3bc={'GAYac':function(_0x10f31c,_0x3c307a){return _0x10f31c===_0x3c307a;},'LbzUb':_0x3624e8(0x1b6),'yUPIe':function(_0x457a18,_0x4f6db7,_0x5ebc64){return _0x457a18(_0x4f6db7,_0x5ebc64);},'FXzJY':'sourceReference','eWHGT':_0x3624e8(0x186),'gkRXp':_0x3624e8(0x1ab)};try{const _0x51a96b=_0x27365e[_0x3624e8(0x198)](_0x34c7cc=>_0x34c7cc['id']===_0x49cf51);if(!_0x51a96b['hookId'])return;const _0x2f9269=this[_0x3624e8(0x1f0)](_0x27365e,_0x51a96b),_0x542d18=this[_0x3624e8(0x1c5)](_0x2ce94e,_0x2f9b13,_0x462ab3,_0x51a96b,_0x30841f,_0x2f9269);if(!_0x542d18)return;_0x3ee3bc[_0x3624e8(0x1ed)](_0x462ab3,_0x3ee3bc[_0x3624e8(0x1f6)])&&(hooksMap[_0x2f9b13]?hooksMap[_0x2f9b13][_0x3624e8(0x1a6)](_0x542d18):hooksMap[_0x2f9b13]=[_0x542d18]);const _0x1c532c=_0x2ce94e[_0x3624e8(0x20d)][_0x3624e8(0x198)](_0x3010f6=>_0x3010f6['id']===_0x51a96b[_0x3624e8(0x1a7)]),_0x10961a=_0x3ee3bc[_0x3624e8(0x1ce)](nestedKeyValue,_0x1c532c,[_0x3ee3bc[_0x3624e8(0x1b2)],_0x3ee3bc[_0x3624e8(0x202)]]);if(!_0x10961a)return;else{if(_0x10961a[_0x3624e8(0x21c)](_0x3ee3bc['gkRXp']))return;}const _0x304248={};_0x304248[_0x3624e8(0x1ec)]=_0x462ab3,_0x304248['hook_run']=_0x542d18;const _0x2eccbb=_0x304248;await SessionHandler[_0x3624e8(0x193)](_0x2eccbb);}catch(_0x5399c7){logger[_0x3624e8(0x1d2)](_0x3624e8(0x21a)+util[_0x3624e8(0x19d)](_0x5399c7)+'\x20');}}[a8_0x3a4f49(0x182)](_0x1c008e,_0x32033d){const _0x587520=a8_0x3a4f49,_0x6e3c44={};_0x6e3c44[_0x587520(0x1d8)]=function(_0x508baa,_0x7da5ef){return _0x508baa===_0x7da5ef;},_0x6e3c44[_0x587520(0x1af)]='failed',_0x6e3c44['veoCd']=function(_0x44f60e,_0xb7b2be){return _0x44f60e===_0xb7b2be;},_0x6e3c44[_0x587520(0x189)]=function(_0x26d30d,_0xbb3379){return _0x26d30d===_0xbb3379;},_0x6e3c44[_0x587520(0x195)]='UnhandledError',_0x6e3c44[_0x587520(0x1c1)]=_0x587520(0x1da),_0x6e3c44[_0x587520(0x1e7)]=function(_0x487eef,_0x5ca4a7){return _0x487eef||_0x5ca4a7;};const _0x49a576=_0x6e3c44,_0x200f9c=_0x1c008e[_0x587520(0x1ca)][_0x32033d][_0x587520(0x1b8)];let _0x5251d7,_0x1ae579;return _0x200f9c&&_0x49a576[_0x587520(0x1d8)](_0x200f9c['status'][_0x587520(0x1f3)]()[_0x587520(0x180)](),_0x49a576[_0x587520(0x1af)])&&(_0x5251d7=_0x49a576['veoCd'](_0x200f9c['exception'],undefined)?_0x200f9c[_0x587520(0x1ea)]:_0x200f9c[_0x587520(0x1e2)][_0x587520(0x1ea)],_0x1ae579=_0x49a576[_0x587520(0x189)](_0x200f9c['exception'],undefined)?_0x49a576[_0x587520(0x195)]:_0x200f9c[_0x587520(0x1ea)][_0x587520(0x1f5)](/Assert/)?_0x49a576[_0x587520(0x1c1)]:_0x49a576[_0x587520(0x195)]),{'status':_0x200f9c['status']['toLowerCase'](),'failureType':_0x49a576[_0x587520(0x1e7)](_0x1ae579,null),'failureData':!_0x5251d7?null:[_0x5251d7]};}['getCucumberHookType'](_0x5cb8b1,_0x5eef3a){const _0x249a47=a8_0x3a4f49,_0x389f52={};_0x389f52['fgaGt']=function(_0x42802c,_0x3a380c){return _0x42802c===_0x3a380c;},_0x389f52[_0x249a47(0x19f)]=_0x249a47(0x20f),_0x389f52['mkjZl']=_0x249a47(0x20a);const _0x44e60f=_0x389f52;let _0x204e5f=![];for(const _0x447e38 of _0x5cb8b1){_0x447e38['pickleStepId']&&(_0x204e5f=!![]);if(_0x44e60f[_0x249a47(0x1dd)](_0x5eef3a['id'],_0x447e38['id']))return _0x204e5f?_0x44e60f[_0x249a47(0x19f)]:_0x44e60f[_0x249a47(0x1aa)];}}['getScenarioExamples']=(_0x385a3a,_0x3f10ae)=>{const _0x3ffeb0=a8_0x3a4f49,_0x21fb39={};_0x21fb39['nvPoN']=function(_0x1bfbbe,_0x557045){return _0x1bfbbe===_0x557045;},_0x21fb39[_0x3ffeb0(0x201)]=function(_0x3e773c,_0x3915f4){return _0x3e773c===_0x3915f4;},_0x21fb39[_0x3ffeb0(0x1b1)]=function(_0x54e920,_0x2d2b6d){return _0x54e920>_0x2d2b6d;};const _0xc97b50=_0x21fb39;if(!(_0x3f10ae['astNodeIds']&&_0xc97b50[_0x3ffeb0(0x1b1)](_0x3f10ae['astNodeIds']['length'],0x1)))return;const _0x4140cf=_0x3f10ae[_0x3ffeb0(0x200)][0x0],_0x2e62cd=_0x3f10ae[_0x3ffeb0(0x200)][0x1],_0x182b44=_0x385a3a[_0x3ffeb0(0x1a9)]&&_0x385a3a[_0x3ffeb0(0x1a9)][_0x3ffeb0(0x1dc)]?_0x385a3a['feature']['children']:undefined;let _0x5c7285=[];_0x182b44&&_0x182b44[_0x3ffeb0(0x197)](_0x2b48f7=>{const _0x4e0fec=_0x3ffeb0,_0x5b1cfb={'oIYHE':function(_0x211d5e,_0xb70537){const _0x4eda32=a8_0x42f0;return _0xc97b50[_0x4eda32(0x1b4)](_0x211d5e,_0xb70537);}};if(_0x2b48f7[_0x4e0fec(0x1b9)])_0x2b48f7[_0x4e0fec(0x1b9)][_0x4e0fec(0x1dc)][_0x4e0fec(0x197)](_0x351aaf=>{const _0x302534=_0x4e0fec;if(_0x351aaf[_0x302534(0x213)]&&_0x5b1cfb['oIYHE'](_0x351aaf[_0x302534(0x213)]['id'],_0x4140cf)&&_0x351aaf['scenario'][_0x302534(0x1c7)]){const _0xb4c767=_0x351aaf[_0x302534(0x213)][_0x302534(0x1c7)][_0x302534(0x1bc)](_0xa3a004=>_0xa3a004['tableBody'])[_0x302534(0x198)](_0x4b2806=>_0x4b2806['id']===_0x2e62cd);let _0x53190a;_0xb4c767&&_0xb4c767[_0x302534(0x184)]?_0x53190a=_0xb4c767[_0x302534(0x184)][_0x302534(0x18e)](_0x1f1d2d=>_0x1f1d2d[_0x302534(0x1c6)]):_0x53190a=[],_0x53190a&&(_0x5c7285=_0x53190a);}});else{if(_0x2b48f7[_0x4e0fec(0x213)]&&_0xc97b50[_0x4e0fec(0x201)](_0x2b48f7[_0x4e0fec(0x213)]['id'],_0x4140cf)&&_0x2b48f7[_0x4e0fec(0x213)]['examples']){const _0x32b5a0=_0x2b48f7['scenario'][_0x4e0fec(0x1c7)]['flatMap'](_0x3572d9=>_0x3572d9[_0x4e0fec(0x192)])[_0x4e0fec(0x198)](_0x284ac4=>_0x284ac4['id']===_0x2e62cd);let _0x24ec74;_0x32b5a0&&_0x32b5a0[_0x4e0fec(0x184)]?_0x24ec74=_0x32b5a0[_0x4e0fec(0x184)]['map'](_0x4a6650=>_0x4a6650[_0x4e0fec(0x1c6)]):_0x24ec74=[],_0x24ec74&&(_0x5c7285=_0x24ec74);}}});if(_0x5c7285[_0x3ffeb0(0x1f8)])return _0x5c7285;return;};async[a8_0x3a4f49(0x1d3)](){const _0x2aa9b9=a8_0x3a4f49,_0x2c5750={'oEnFW':function(_0x5de011){return _0x5de011();}};if(this[_0x2aa9b9(0x1a4)])return this[_0x2aa9b9(0x20e)];const _0x20514d=await _0x2c5750[_0x2aa9b9(0x215)](getGitMetaData);_0x20514d&&(this[_0x2aa9b9(0x20e)]=_0x20514d[_0x2aa9b9(0x19a)]),this[_0x2aa9b9(0x1a4)]=!![];}}module[a8_0x3a4f49(0x1ae)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a8_0x3a4f49(0x19c),a8_0x3a4f49(0x1f0),a8_0x3a4f49(0x182),a8_0x3a4f49(0x1d0),a8_0x3a4f49(0x1c5),'sendTestRunEventForCucumber']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x2df91f=a9_0x3de4;(function(_0x534d6e,_0x53c65a){const _0x4e0ccc=a9_0x3de4,_0x4c8840=_0x534d6e();while(!![]){try{const _0x9f14ee=parseInt(_0x4e0ccc(0xf5))/0x1*(parseInt(_0x4e0ccc(0xa4))/0x2)+-parseInt(_0x4e0ccc(0x153))/0x3*(parseInt(_0x4e0ccc(0xeb))/0x4)+parseInt(_0x4e0ccc(0x80))/0x5*(-parseInt(_0x4e0ccc(0x13d))/0x6)+-parseInt(_0x4e0ccc(0x92))/0x7+parseInt(_0x4e0ccc(0x135))/0x8*(parseInt(_0x4e0ccc(0x9a))/0x9)+-parseInt(_0x4e0ccc(0x6a))/0xa*(parseInt(_0x4e0ccc(0x15b))/0xb)+parseInt(_0x4e0ccc(0x140))/0xc*(parseInt(_0x4e0ccc(0x9b))/0xd);if(_0x9f14ee===_0x53c65a)break;else _0x4c8840['push'](_0x4c8840['shift']());}catch(_0x29a930){_0x4c8840['push'](_0x4c8840['shift']());}}}(a9_0x52b3,0x4fb84));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x2df91f(0x7f)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require('../utils/constants'),setKeepAlive=require(a9_0x2df91f(0x104)),util=require('util'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a9_0x2df91f(0x70)),{commandRepository}=require(a9_0x2df91f(0xfc)),cucumberModule=requireModule(a9_0x2df91f(0x99),a9_0x2df91f(0x129)),logger=require(a9_0x2df91f(0x148))[a9_0x2df91f(0x14e)],{shouldProcessEventForTesthub}=require(a9_0x2df91f(0xd1)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x2df91f(0x82)),TestInfo=require(a9_0x2df91f(0x85)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a9_0x2df91f(0x7d)),MyReporter=require(a9_0x2df91f(0xd2)),SessionHandler=require(a9_0x2df91f(0x84)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require('../../helpers/globals'),testHubConstants=require(a9_0x2df91f(0x77)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x2df91f(0x14b)),helper=require(a9_0x2df91f(0x7f)),a9_0x405516={};a9_0x405516['workerInfo']=undefined,a9_0x405516[a9_0x2df91f(0x159)]={},a9_0x405516[a9_0x2df91f(0x116)]=![],a9_0x405516[a9_0x2df91f(0x12e)]=null,a9_0x405516[a9_0x2df91f(0x8b)]=![],a9_0x405516[a9_0x2df91f(0x159)]['id']=undefined,a9_0x405516[a9_0x2df91f(0x159)]['testInfo']=undefined;const workerDetails=a9_0x405516;global[a9_0x2df91f(0xac)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x8c30dd){const _0x44352a=a9_0x2df91f,_0x5889ba={'kOsyC':function(_0x5b54f8,_0x5e6140){return _0x5b54f8(_0x5e6140);},'eqmgy':_0x44352a(0x13b),'TvkRj':_0x44352a(0xa7)},_0x40de32=workerDetails[_0x44352a(0x159)]['testInfo'];if(!_0x40de32)return;if(playwrightPatcher)try{const _0x51b384=_0x5889ba[_0x44352a(0x81)](require,_0x5889ba[_0x44352a(0xf4)]);if(_0x51b384[_0x44352a(0x102)]()[_0x44352a(0xca)]()){const _0x1c6dc7=_0x40de32[_0x44352a(0xd9)];_0x1c6dc7?(_0x8c30dd[_0x44352a(0x12c)]=_0x1c6dc7,_0x8c30dd[_0x44352a(0x6c)]=_0x1c6dc7,TestInfo[_0x44352a(0x76)](_0x1c6dc7,_0x8c30dd)):logger[_0x44352a(0xe3)](_0x5889ba[_0x44352a(0x90)]);return;}}catch(_0x5c1c94){logger[_0x44352a(0xe3)](_0x44352a(0x8e)+util[_0x44352a(0x12b)](_0x5c1c94));}await MyReporter[_0x44352a(0xb9)](_0x40de32,_0x8c30dd);}),registerListeners=()=>{const _0x500bc2=a9_0x2df91f,_0x5efb9f={};_0x5efb9f[_0x500bc2(0xf9)]=_0x500bc2(0x8f);const _0x39eb40=_0x5efb9f;logger[_0x500bc2(0xe3)](_0x39eb40[_0x500bc2(0xf9)]),process[_0x500bc2(0xc9)](_0x500bc2(0x11a)+process['pid']),process['on'](_0x500bc2(0x11a)+process[_0x500bc2(0xa3)],sendTestLog),PerformanceTester[_0x500bc2(0x123)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x2df91f(0xff)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x2df91f(0xf0)],BeforeAll=cucumberModule[a9_0x2df91f(0x6e)],AfterStep=cucumberModule[a9_0x2df91f(0x79)],configuration=process[a9_0x2df91f(0xcb)][a9_0x2df91f(0x115)],bstackConfig=process[a9_0x2df91f(0xcb)][a9_0x2df91f(0x100)];if(configuration!==undefined){const config=JSON[a9_0x2df91f(0x147)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x2df91f(0x11b)]),global[a9_0x2df91f(0xef)]=isTrue(config[a9_0x2df91f(0x10b)])):(global[a9_0x2df91f(0x112)]=!![],global['__skipSessionStatus']=!![]);!helper['getPackageVersion'](a9_0x2df91f(0x6b))&&(logger[a9_0x2df91f(0xe3)]('Patching\x20Selenium'),shouldProcessEventForTesthub()?require(a9_0x2df91f(0x157))[a9_0x2df91f(0x15c)](config,null,!![]):require(a9_0x2df91f(0x157))['browserstackAgentV2'](config));global[a9_0x2df91f(0xdf)]=config[a9_0x2df91f(0x98)]||{},global['browserstackPlatformIndex']=config[a9_0x2df91f(0xc5)];if(helper['getPackageVersion'](a9_0x2df91f(0x6b)))try{logger[a9_0x2df91f(0xe3)](a9_0x2df91f(0x138)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x2df91f(0x128)](config),logger['debug'](a9_0x2df91f(0xf2));}catch(a9_0x293115){logger['debug'](a9_0x2df91f(0x166)+util[a9_0x2df91f(0x12b)](a9_0x293115));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x2df91f(0x147)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x2df91f(0x91)](browserStackConfig),commandRepository[a9_0x2df91f(0xb6)](a9_0x2df91f(0x15d)));}global[a9_0x2df91f(0x14c)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x2df91f(0x78)];cucumberModule[a9_0x2df91f(0x78)]=_0x4e674e=>{const _0x168cf2={'BFjVs':function(_0x361029,_0xbde90f){return _0x361029(_0xbde90f);}};global['__timeout']=_0x4e674e,_0x168cf2['BFjVs'](__setDefaultTimeout,_0x4e674e);};const a9_0x4a228f={};a9_0x4a228f[a9_0x2df91f(0xf6)]='bstack',BeforeAll(a9_0x4a228f,async function(){const _0x46a1fc=a9_0x2df91f,_0x55f7b6={'yopjQ':function(_0x5a7888,_0x17885e,_0x274037,_0x1a78dd){return _0x5a7888(_0x17885e,_0x274037,_0x1a78dd);},'XgBYN':_0x46a1fc(0xd6),'GnIyD':_0x46a1fc(0xad),'qiNZH':function(_0x327d12,_0x8956c9,_0x373cc6){return _0x327d12(_0x8956c9,_0x373cc6);},'rigDp':_0x46a1fc(0x122),'UDHCh':_0x46a1fc(0xcc),'FuYWf':function(_0x10a60c,_0x29473c){return _0x10a60c(_0x29473c);},'NjXsK':_0x46a1fc(0x13b),'yMWgQ':_0x46a1fc(0xd7),'gDzae':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','iVJMo':function(_0x28d6ac){return _0x28d6ac();},'vGQfa':function(_0x383906,_0x11f4f8){return _0x383906(_0x11f4f8);}};PerformanceTester[_0x46a1fc(0x123)](),logger[_0x46a1fc(0xe3)](_0x55f7b6[_0x46a1fc(0x89)]),global[_0x46a1fc(0x136)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x525b95=_0x55f7b6[_0x46a1fc(0x6f)](require,_0x55f7b6[_0x46a1fc(0x137)]),_0x12210a=_0x55f7b6[_0x46a1fc(0x6f)](require,_0x55f7b6[_0x46a1fc(0xc7)]);_0x525b95['getInstance']()[_0x46a1fc(0x7b)]()&&(logger[_0x46a1fc(0xe3)](_0x55f7b6['gDzae']),_0x12210a['setFrameworkDetail'](FRAMEWORKS[_0x46a1fc(0xee)],FRAMEWORKS['PLAYWRIGHT']),await _0x525b95[_0x46a1fc(0x102)]()[_0x46a1fc(0x73)]());}catch(_0x4fc379){logger[_0x46a1fc(0xe3)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x46a1fc(0x12b)](_0x4fc379));}_0x55f7b6[_0x46a1fc(0xfd)](shouldProcessEventForTesthub)&&(_0x55f7b6[_0x46a1fc(0xfd)](registerListeners),_0x55f7b6['vGQfa'](addRequestSpy,![])),global[_0x46a1fc(0xea)]=async()=>{const _0x242ac7=_0x46a1fc;let _0x5db6a7=![];try{global[_0x242ac7(0x164)]&&global[_0x242ac7(0x164)][0x0]&&(await global['__drivers'][0x0][_0x242ac7(0xe2)],_0x5db6a7=!![],global[_0x242ac7(0x133)]?await _0x55f7b6[_0x242ac7(0x163)](markSessionStatus,global['__drivers'][0x0],_0x55f7b6[_0x242ac7(0x86)],global[_0x242ac7(0x136)][_0x242ac7(0x12d)](_0x55f7b6[_0x242ac7(0x152)])):await _0x55f7b6[_0x242ac7(0xaa)](markSessionStatus,global[_0x242ac7(0x164)][0x0],_0x55f7b6[_0x242ac7(0x10d)]));}catch(_0x4b0b1a){logger[_0x242ac7(0xe3)](_0x242ac7(0xc8)+_0x4b0b1a);}global[_0x242ac7(0x136)]=[],global[_0x242ac7(0x133)]=![];if(_0x5db6a7)try{await global[_0x242ac7(0x164)][0x0][_0x242ac7(0x150)](),global[_0x242ac7(0x164)][0x0][_0x242ac7(0xe2)]['then'](_0x448083=>{const _0x1cf877=_0x242ac7;logger[_0x1cf877(0xe3)](_0x1cf877(0x162)+_0x448083[_0x1cf877(0x9e)]());})[_0x242ac7(0xab)](_0x4f7882=>{});}catch(_0x53060e){logger[_0x242ac7(0xe3)](_0x242ac7(0xe6)+_0x53060e);}};});const a9_0x5ec5d4={};a9_0x5ec5d4[a9_0x2df91f(0xf6)]=a9_0x2df91f(0x14d),a9_0x5ec5d4[a9_0x2df91f(0x167)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2df91f(0x160)],Before(a9_0x5ec5d4,function(_0x1a57e4,_0x2cb9eb){const _0x20dd41=a9_0x2df91f,_0x70a59d={'otuOU':function(_0x5c671b,_0xd78a52){return _0x5c671b>_0xd78a52;},'iJWDR':function(_0x4fdeca,_0x317f6a){return _0x4fdeca(_0x317f6a);},'WVubp':function(_0x249086,_0x2e7f61,_0x596d2c,_0x2b0501){return _0x249086(_0x2e7f61,_0x596d2c,_0x2b0501);},'iVjHc':_0x20dd41(0x113),'yXqZU':function(_0x29416b,_0x518a60){return _0x29416b(_0x518a60);},'hXWak':_0x20dd41(0x13b),'JavFw':function(_0x43d79b,_0x24ecbb){return _0x43d79b(_0x24ecbb);},'oNuJp':'../v2/state/automationFrameworkState','woiWO':_0x20dd41(0x75),'Knxop':_0x20dd41(0xb7),'tYwhM':_0x20dd41(0x14f),'tvqWE':function(_0x5e8cfd){return _0x5e8cfd();},'AZZvJ':'Inside\x20browserstack\x20Before'};commandRepository[_0x20dd41(0xd4)](_0x1a57e4[_0x20dd41(0xb0)][_0x20dd41(0xf6)]),logger['debug'](_0x70a59d[_0x20dd41(0xb4)]),new Promise(async _0x43f373=>{const _0x7bf233=_0x20dd41;try{global[_0x7bf233(0x164)]&&_0x70a59d['otuOU'](global[_0x7bf233(0x164)][_0x7bf233(0xa5)],0x1)&&(await global[_0x7bf233(0xea)](),global[_0x7bf233(0x164)][_0x7bf233(0x8a)]()),global[_0x7bf233(0x164)]&&global[_0x7bf233(0x164)][0x0]&&global[_0x7bf233(0x164)][0x0]['quitCount_']&&_0x70a59d['otuOU'](global[_0x7bf233(0x164)][0x0][_0x7bf233(0x83)],0x0)&&await global[_0x7bf233(0xea)]();}catch(_0x5055dd){logger[_0x7bf233(0xe3)](_0x7bf233(0xde)+_0x5055dd);}workerDetails[_0x7bf233(0x159)][_0x7bf233(0x120)]=_0x1a57e4;if(!playwrightPatcher)try{if(!_0x70a59d['iJWDR'](isUndefined,_0x1a57e4[_0x7bf233(0xb0)][_0x7bf233(0x130)])){const _0x248273=_0x70a59d[_0x7bf233(0xd8)](shouldScanTestForAccessibility,null,![],_0x1a57e4['pickle'][_0x7bf233(0x130)]['map'](({name:_0x592944})=>_0x592944));globals[_0x7bf233(0x9c)](_0x70a59d[_0x7bf233(0x68)],_0x248273);}}catch(_0x1d2c61){logger['debug'](_0x7bf233(0xbf)+util[_0x7bf233(0x12b)](_0x1d2c61));}if(playwrightPatcher)try{await playwrightPatcher[_0x7bf233(0xcd)](_0x1a57e4),global[_0x7bf233(0xac)]&&global['__workerDetails'][_0x7bf233(0x12e)]&&playwrightPatcher[_0x7bf233(0x119)](global['__workerDetails'][_0x7bf233(0x12e)]);}catch(_0x3c9182){logger['debug'](_0x7bf233(0xa0)+util[_0x7bf233(0x12b)](_0x3c9182));}if(playwrightPatcher)try{const _0x415e62=_0x70a59d['yXqZU'](require,_0x70a59d[_0x7bf233(0x9d)]),_0x320f1b=_0x70a59d[_0x7bf233(0xdd)](require,_0x70a59d['oNuJp']),_0x4f0824=_0x70a59d[_0x7bf233(0x10a)](require,_0x70a59d[_0x7bf233(0xbe)]);if(_0x415e62[_0x7bf233(0x102)]()[_0x7bf233(0xca)]()){const _0x237777={'title':_0x1a57e4[_0x7bf233(0xb0)]['name']||_0x70a59d[_0x7bf233(0xbc)],'titlePath':[_0x1a57e4['pickle'][_0x7bf233(0xf6)]||_0x70a59d[_0x7bf233(0xbc)]],'id':_0x1a57e4[_0x7bf233(0xd9)]||_0x70a59d[_0x7bf233(0xe9)],'tags':_0x1a57e4[_0x7bf233(0xb0)][_0x7bf233(0x130)]||[],..._0x1a57e4},_0x424b67=_0x237777;global['__currentTestInfo']=_0x424b67,logger[_0x7bf233(0xe3)](_0x7bf233(0xdb)+_0x1a57e4[_0x7bf233(0xb0)][_0x7bf233(0xf6)]);}}catch(_0x1b9b86){logger[_0x7bf233(0xe3)](_0x7bf233(0xc1)+util[_0x7bf233(0x12b)](_0x1b9b86));}_0x70a59d[_0x7bf233(0xb8)](_0x43f373);})[_0x20dd41(0x72)](_0x2cb9eb);});const a9_0x2e52ad={};function a9_0x3de4(_0x59850a,_0x4c1c02){const _0x52b3d2=a9_0x52b3();return a9_0x3de4=function(_0x3de463,_0xaf5806){_0x3de463=_0x3de463-0x68;let _0x444167=_0x52b3d2[_0x3de463];return _0x444167;},a9_0x3de4(_0x59850a,_0x4c1c02);}a9_0x2e52ad['name']=a9_0x2df91f(0x14d),a9_0x2e52ad[a9_0x2df91f(0x167)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2df91f(0x160)],After(a9_0x2e52ad,function(_0x2924bf,_0x504831){const _0x3b043c=a9_0x2df91f,_0x2fa258={'WFTpw':function(_0x431468,_0x14684b){return _0x431468>_0x14684b;},'POlCZ':function(_0x76e027,_0x31e404){return _0x76e027===_0x31e404;},'aWduu':'failed','JlIDs':function(_0x5e9192,_0x53aff3){return _0x5e9192>_0x53aff3;},'VDgxE':function(_0x55aaf6,_0x3115a,_0x4ecc55,_0x4297ba){return _0x55aaf6(_0x3115a,_0x4ecc55,_0x4297ba);},'ONLse':_0x3b043c(0xad),'LqxBa':function(_0x224c62,_0x12520b,_0x5812f4){return _0x224c62(_0x12520b,_0x5812f4);},'doiop':_0x3b043c(0x122),'LhzWX':function(_0x428793,_0x1dd285){return _0x428793(_0x1dd285);},'EYfIU':_0x3b043c(0x13b),'GyJqD':function(_0x1477c2,_0x179a41){return _0x1477c2(_0x179a41);},'PKsHJ':_0x3b043c(0x127),'PcUkW':_0x3b043c(0x75),'bdHsY':_0x3b043c(0xb7),'lBYQz':'cucumber-test','aRWKn':'Completed\x20Playwright\x20afterTestHook\x20execution','QxGSk':_0x3b043c(0xf7),'uBPXl':_0x3b043c(0xb3),'TWPTp':_0x3b043c(0x69),'kddLI':_0x3b043c(0x158),'PXlJU':_0x3b043c(0xb5),'QSrlG':function(_0x38ef62){return _0x38ef62();},'LKjSr':_0x3b043c(0x156),'KenXu':_0x3b043c(0x165),'TZxhx':_0x3b043c(0x113),'IyhUO':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Wmymt':_0x3b043c(0xe7),'XUPvw':_0x3b043c(0x16a),'Otoqg':function(_0x2f47a2){return _0x2f47a2();},'rruqL':_0x3b043c(0x118)};logger[_0x3b043c(0xe3)](_0x2fa258[_0x3b043c(0x126)]),workerDetails['currentTest'][_0x3b043c(0x120)]=_0x2924bf,new Promise(async _0x4e9192=>{const _0x26973e=_0x3b043c;let _0x186f42=![],_0x3d0e27=![],_0x473053=![];try{global[_0x26973e(0x164)]&&_0x2fa258[_0x26973e(0xf3)](global[_0x26973e(0x164)][_0x26973e(0xa5)],0x0)&&(_0x3d0e27=!![]),playwrightPatcher&&global[_0x26973e(0xac)]&&global[_0x26973e(0xac)][_0x26973e(0x12e)]&&(_0x473053=!![],logger[_0x26973e(0xe3)](_0x26973e(0xc3)+!!global[_0x26973e(0xac)][_0x26973e(0x12e)]));}catch(_0x3bc202){logger[_0x26973e(0xe3)](_0x26973e(0xc0)+_0x3bc202);}logger[_0x26973e(0xe3)](_0x26973e(0x154)+_0x3d0e27+_0x26973e(0xc6)+_0x473053);const _0x53f908=_0x2924bf['result'][_0x26973e(0x10c)][_0x26973e(0x8c)]()[_0x26973e(0x10f)](),_0x1cfbb8=_0x2fa258[_0x26973e(0xba)](_0x53f908,_0x2fa258[_0x26973e(0xfa)])||_0x2fa258['POlCZ'](_0x53f908,'6'),_0xcb97ad=_0x1cfbb8?_0x2924bf[_0x26973e(0xa1)]['message']:null;if(_0x1cfbb8)try{global[_0x26973e(0x136)][_0x26973e(0x142)](_0x2924bf['result'][_0x26973e(0x7e)]),global['__sessionFailed']=!![];}catch(_0x32b3ba){logger['debug'](_0x26973e(0x107)+_0x32b3ba);}if(_0x3d0e27)try{global['__drivers']&&_0x2fa258['JlIDs'](global['__drivers'][_0x26973e(0xa5)],0x1)&&(await global[_0x26973e(0xea)](),global[_0x26973e(0x164)][_0x26973e(0x8a)](),global[_0x26973e(0x136)]=[],global['__sessionFailed']=![]),global[_0x26973e(0x164)]&&global[_0x26973e(0x164)][0x0]&&(await global['__drivers'][0x0]['session_'],_0x186f42=!![],!global[_0x26973e(0x112)]&&await global[_0x26973e(0x164)][0x0][_0x26973e(0x103)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x2924bf[_0x26973e(0xb0)]['name']+_0x26973e(0xe8)),_0x1cfbb8?await _0x2fa258[_0x26973e(0x145)](markSessionStatus,global[_0x26973e(0x164)][0x0],_0x2fa258[_0x26973e(0xfa)],global[_0x26973e(0x136)][_0x26973e(0x12d)](_0x2fa258[_0x26973e(0x10e)])):await _0x2fa258[_0x26973e(0xec)](markSessionStatus,global[_0x26973e(0x164)][0x0],_0x2fa258[_0x26973e(0x114)]));}catch(_0x1cbc0c){logger['debug'](_0x26973e(0xb2)+util[_0x26973e(0x12b)](_0x1cbc0c));}if(_0x473053)try{try{const _0xf668eb=_0x2fa258['LhzWX'](require,_0x2fa258['EYfIU']),_0x9f0f9=_0x2fa258[_0x26973e(0x139)](require,_0x2fa258['PKsHJ']),_0x5f5c2b=_0x2fa258[_0x26973e(0x15a)](require,_0x2fa258[_0x26973e(0x11e)]);if(_0xf668eb[_0x26973e(0x102)]()['isRunning']()){const _0x11fa39={'title':_0x2924bf[_0x26973e(0xb0)][_0x26973e(0xf6)]||_0x2fa258['bdHsY'],'titlePath':[_0x2924bf[_0x26973e(0xb0)][_0x26973e(0xf6)]||_0x2fa258[_0x26973e(0x143)]],'id':_0x2924bf[_0x26973e(0xd9)]||_0x2fa258[_0x26973e(0x7c)],'status':_0x1cfbb8?_0x2fa258[_0x26973e(0xfa)]:_0x2fa258[_0x26973e(0x114)],'error':_0xcb97ad?{'message':_0xcb97ad}:null,'tags':_0x2924bf[_0x26973e(0xb0)][_0x26973e(0x130)]||[],..._0x2924bf},_0x36d006=_0x11fa39,_0x5384ef={};_0x5384ef[_0x26973e(0x120)]=_0x36d006,_0x5384ef[_0x26973e(0x11f)]=_0x2924bf,_0x5384ef[_0x26973e(0xe4)]=global['__workerDetails'][_0x26973e(0x12e)],_0x5384ef[_0x26973e(0xae)]=FRAMEWORKS[_0x26973e(0xee)],await _0xf668eb[_0x26973e(0x102)]()[_0x26973e(0x124)]()[_0x26973e(0x134)](_0x9f0f9[_0x26973e(0x155)],_0x5f5c2b[_0x26973e(0x88)],_0x5384ef),logger[_0x26973e(0xe3)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x2924bf[_0x26973e(0xb0)][_0x26973e(0xf6)]);}}catch(_0x557a4d){logger[_0x26973e(0xe3)](_0x26973e(0x161)+util[_0x26973e(0x12b)](_0x557a4d));}const _0x34988d=_0x1cfbb8?_0x2fa258[_0x26973e(0xfa)]:_0x2fa258[_0x26973e(0x114)];await playwrightPatcher[_0x26973e(0xf1)](_0x2924bf,_0x34988d,_0xcb97ad),logger[_0x26973e(0xe3)](_0x2fa258[_0x26973e(0x168)]);try{await playwrightPatcher[_0x26973e(0x12a)](),logger[_0x26973e(0xe3)](_0x2fa258['QxGSk']);}catch(_0x15c51d){logger['debug'](_0x26973e(0xb1)+util[_0x26973e(0x12b)](_0x15c51d));}try{playwrightPatcher[_0x26973e(0x146)][_0x26973e(0xda)](),logger[_0x26973e(0xe3)](_0x2fa258[_0x26973e(0xa8)]);}catch(_0x595d9f){logger[_0x26973e(0xe3)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x26973e(0x12b)](_0x595d9f));}}catch(_0xea3e26){logger[_0x26973e(0xe3)](_0x26973e(0x11c)+util[_0x26973e(0x12b)](_0xea3e26));try{playwrightPatcher[_0x26973e(0x12a)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x26973e(0xe3)](_0x2fa258[_0x26973e(0xe5)])),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker']['cleanup']&&(playwrightPatcher[_0x26973e(0x146)][_0x26973e(0xda)](),logger[_0x26973e(0xe3)](_0x2fa258[_0x26973e(0xbd)]));}catch(_0x2ce135){logger[_0x26973e(0xe3)](_0x26973e(0x95)+util[_0x26973e(0x12b)](_0x2ce135));}}const _0xba801b=_0x2fa258[_0x26973e(0x139)](require,_0x2fa258['PXlJU']);if(!_0xba801b[_0x26973e(0x102)]()[_0x26973e(0xca)]())try{if(_0x2fa258[_0x26973e(0x13c)](shouldProcessEventForTesthub)){const _0x24b549=TestDetails[_0x26973e(0x9f)](_0x2924bf['testCaseStartedId']);let _0x2f789b=null;global['__drivers']&&global[_0x26973e(0x164)][0x0]&&(_0x2f789b=await _0x2fa258[_0x26973e(0x145)](sendPlatformDetails,global[_0x26973e(0x164)][0x0],_0x24b549,!![]));const _0x248a1d={};_0x248a1d['uuid']=_0x24b549,_0x248a1d[_0x26973e(0x11d)]=_0x2f789b;const _0x442ab4=_0x248a1d,_0x5978c8={};_0x5978c8['event_type']=_0x2fa258[_0x26973e(0xd5)],_0x5978c8['test_run']=_0x442ab4,await SessionHandler[_0x26973e(0x131)](_0x5978c8);}}catch(_0x4aae60){logger[_0x26973e(0xe3)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util['format'](_0x4aae60));}try{if(globals[_0x26973e(0x13e)](_0x2fa258[_0x26973e(0xa9)])&&globals[_0x26973e(0x13e)](_0x2fa258[_0x26973e(0x15f)])){logger[_0x26973e(0x13f)](_0x2fa258[_0x26973e(0xdc)]);const _0x1321f5=TestDetails[_0x26973e(0x9f)](_0x2924bf[_0x26973e(0xd9)]),_0x4059e2={};_0x4059e2['thTestRunUuid']=_0x1321f5,_0x4059e2[_0x26973e(0x12f)]=process[_0x26973e(0xcb)][testHubConstants['ENV_VAR'][_0x26973e(0xfb)]],_0x4059e2[_0x26973e(0x125)]=process[_0x26973e(0xcb)][testHubConstants[_0x26973e(0xaf)]['BROWSERSTACK_TESTHUB_JWT']];const _0x135528=_0x4059e2;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x135528)),logger[_0x26973e(0xe3)](_0x2fa258[_0x26973e(0xfe)]),global[_0x26973e(0x164)]&&global[_0x26973e(0x164)][0x0]&&(logger[_0x26973e(0xe3)](util['format'](await global[_0x26973e(0x164)][0x0][_0x26973e(0x8d)](scripts['performScan'],{'method':global[_0x26973e(0x144)]}))),await global[_0x26973e(0x164)][0x0][_0x26973e(0x8d)](scripts['saveTestResults'],_0x135528)),logger[_0x26973e(0x13f)](_0x2fa258[_0x26973e(0x169)]);}}catch(_0x371a70){logger['error'](_0x26973e(0xa6)+util[_0x26973e(0x12b)](_0x371a70));}if(_0x186f42)try{global[_0x26973e(0x164)][0x0]&&_0x2fa258[_0x26973e(0x105)](global['__drivers'][0x0][_0x26973e(0x83)],0x0)&&await global[_0x26973e(0x164)][0x0][_0x26973e(0x150)]();}catch(_0xdac274){logger[_0x26973e(0xe3)](_0x26973e(0xed)+_0xdac274);}_0x2fa258[_0x26973e(0x132)](_0x4e9192);})[_0x3b043c(0x72)](()=>_0x504831());});const a9_0x3faf07={};a9_0x3faf07[a9_0x2df91f(0xf6)]='bstack',a9_0x3faf07[a9_0x2df91f(0x167)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2df91f(0x160)],AfterStep(a9_0x3faf07,function(_0x53e05a,_0x3a8c0f){const _0x37901f=a9_0x2df91f,_0x2a380b={'qFKOd':function(_0x19751a,_0x1546fb){return _0x19751a===_0x1546fb;},'BzoQX':_0x37901f(0xd6),'EwfnF':function(_0x53f388,_0x3e18cf){return _0x53f388!==_0x3e18cf;},'zNtcW':function(_0x2d6bae,_0x57e8d2,_0x20828c){return _0x2d6bae(_0x57e8d2,_0x20828c);},'gnUBH':function(_0xdb93ba,_0x27d8cf){return _0xdb93ba+_0x27d8cf;},'fGnth':function(_0x2cc6a0,_0x1c11e1){return _0x2cc6a0+_0x1c11e1;},'jKQuQ':_0x37901f(0x94),'lkLBc':'\x0aError:\x20','GFWTW':'error','AMAbB':function(_0x3dfcad,_0x2e7c87){return _0x3dfcad+_0x2e7c87;},'SCwhq':function(_0x47563e,_0x181f64){return _0x47563e!==_0x181f64;},'MktAQ':function(_0x5c9aec,_0x312b6d,_0x9022a4){return _0x5c9aec(_0x312b6d,_0x9022a4);},'jeIOu':function(_0x1d3ea0,_0x2879a8){return _0x1d3ea0+_0x2879a8;},'xaMDk':_0x37901f(0x101),'ZJHxu':_0x37901f(0x13f),'isoVo':_0x37901f(0x149),'fBPCm':function(_0x52a3f4){return _0x52a3f4();},'KJbul':_0x37901f(0xcf)};logger[_0x37901f(0xe3)](_0x2a380b[_0x37901f(0x110)]);const _0x9f542f=async(_0x2c65ad,_0x4a2379)=>{const _0x19d625=_0x37901f;global[_0x19d625(0x164)]&&global[_0x19d625(0x164)][0x0]&&await global['__drivers'][0x0][_0x19d625(0x103)](_0x19d625(0x7a)+_0x2c65ad+',\x22level\x22:\x20\x22'+_0x4a2379+_0x19d625(0xe8));};new Promise(async _0x3c1a72=>{const _0x52050c=_0x37901f;try{const _0x2e4174=_0x2a380b[_0x52050c(0x6d)](_0x53e05a[_0x52050c(0xa1)][_0x52050c(0x10c)]['toString']()[_0x52050c(0x10f)](),_0x2a380b[_0x52050c(0x93)])||_0x2a380b[_0x52050c(0x6d)](_0x53e05a[_0x52050c(0xa1)][_0x52050c(0x10c)]['toString']()[_0x52050c(0x10f)](),'6');_0x2e4174?(global['__sessionFailed']=!![],global[_0x52050c(0x136)][_0x52050c(0x142)](_0x53e05a['result'][_0x52050c(0x7e)]),_0x2a380b[_0x52050c(0x87)](_0x53e05a[_0x52050c(0x117)],undefined)?await _0x2a380b[_0x52050c(0x74)](_0x9f542f,JSON[_0x52050c(0x109)](_0x2a380b[_0x52050c(0xc2)](_0x2a380b[_0x52050c(0x141)](_0x2a380b['gnUBH'](_0x2a380b[_0x52050c(0x111)],'\x22'+_0x53e05a[_0x52050c(0x117)][_0x52050c(0x121)]+'\x22\x20'),_0x2a380b[_0x52050c(0x151)]),_0x53e05a[_0x52050c(0xa1)]['message'])),_0x2a380b[_0x52050c(0x97)]):await _0x2a380b['zNtcW'](_0x9f542f,JSON['stringify'](_0x2a380b[_0x52050c(0xa2)](_0x2a380b[_0x52050c(0x111)],_0x53e05a['result'][_0x52050c(0x7e)])),_0x2a380b[_0x52050c(0x97)])):_0x2a380b[_0x52050c(0x108)](_0x53e05a['pickleStep'],undefined)?await _0x2a380b[_0x52050c(0xce)](_0x9f542f,JSON['stringify'](_0x2a380b[_0x52050c(0xd0)](_0x2a380b[_0x52050c(0x71)],'\x22'+_0x53e05a[_0x52050c(0x117)][_0x52050c(0x121)]+'\x22')),_0x2a380b[_0x52050c(0x14a)]):await _0x2a380b[_0x52050c(0x74)](_0x9f542f,JSON['stringify'](_0x2a380b[_0x52050c(0x15e)]),_0x2a380b[_0x52050c(0x14a)]),global[_0x52050c(0x164)]&&global[_0x52050c(0x164)][0x0]&&global[_0x52050c(0x164)][0x0][_0x52050c(0xe2)][_0x52050c(0x13a)](_0x317716=>{})[_0x52050c(0xab)](_0x523428=>{const _0xeca42b=_0x52050c;logger[_0xeca42b(0xe3)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0xeca42b(0x12b)](_0x523428));});}catch(_0x5bfea6){logger['debug'](_0x52050c(0xf8)+_0x5bfea6);}_0x2a380b['fBPCm'](_0x3c1a72);})['finally'](()=>_0x3a8c0f());});function a9_0x52b3(){const _0x366119=['UDHCh','shift','isPageFixture','toString','executeAsyncScript','Error\x20sending\x20log\x20created\x20event:\x20','Inside\x20browserstack\x20registerListeners','TvkRj','setConfig','2272543cdoOKk','BzoQX','Failed:\x20','Error\x20in\x20fallback\x20cleanup:\x20','shutdown','GFWTW','platformCaps','@cucumber/cucumber/lib/index.js','9fJUUpl','38519AVqCTc','setGlobal','hXWak','getId','getTestUUID','Error\x20in\x20playwright\x20beforeTestHook:\x20','result','AMAbB','pid','56374PuygvO','length','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','uBPXl','KenXu','qiNZH','catch','__workerDetails','\x20|\x20','testFramework','ENV_VAR','pickle','Error\x20executing\x20deferred\x20closes:\x20','Error:\x20at\x20After\x20(Selenium):\x20','Cleaned\x20up\x20close\x20tracker','AZZvJ','../v2/browserstackCLI.js','setFramework','Unknown\x20Test','tvqWE','addTestUIDAndReportLog','POlCZ','Cleaned\x20up\x20Playwright\x20close\x20tracker','Knxop','kddLI','woiWO','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','Error\x20determining\x20test\x20flow:\x20','Error\x20triggering\x20AutomationFramework\x20events:\x20','gnUBH','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Inside\x20browserstack\x20AfterAll','platformIndex',',\x20isPlaywrightFlow=','yMWgQ','Error:\x20cleaning\x20up\x20driver:\x20','removeAllListeners','isRunning','env','Inside\x20browserstack\x20BeforeAll','beforeTestHook','MktAQ','Inside\x20browserstack\x20AfterStep','jeIOu','../../helpers/testhub/utils','../playwright/reporter/reporter.js','stopMonitoring','setTestNameForHealingContext','LKjSr','failed','../v2/cliUtils','WVubp','testCaseStartedId','cleanup','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','IyhUO','JavFw','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','__platformCaps','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','DagzB','session_','debug','page','TWPTp','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Performing\x20scan\x20before\x20saving\x20results','\x22}}','tYwhM','driverCleanup','476ZrznJX','LqxBa','Error:\x20quiting\x20driver\x20at\x20After:\x20','CUCUMBER','__skipSessionStatus','AfterAll','afterTestHook','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','WFTpw','eqmgy','11IfAaHy','name','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Error:\x20at\x20After\x20Step:\x20','KkLQM','aWduu','BROWSERSTACK_TESTHUB_UUID','../../helpers/ai-sdk/autoHealHelper','iVJMo','Wmymt','Before','BSTACK_CONFIG','Passed:\x20','getInstance','executeScript','../../helpers/setKeepAlive','JlIDs','split','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','SCwhq','stringify','iJWDR','skipSessionStatus','status','rigDp','ONLse','toLowerCase','KJbul','jKQuQ','__skipSessionName','bstackA11yShouldScan','doiop','CONFIG','o11ySyncDone','pickleStep','Inside\x20browserstack\x20After','patchPageCommandsForAccessibility','bs:addLog:','skipSessionName','Error:\x20at\x20After\x20(Playwright):\x20','integrations','PcUkW','scenario','testInfo','text','passed','startMonitoring','getAutomationFramework','thJwtToken','rruqL','../v2/state/automationFrameworkState','initializePlaywrightPatching','@cucumber/cucumber','executeDeferredCloses','format','uuid','join','pwPage','thBuildUuid','tags','uploadEventData','Otoqg','__sessionFailed','trackEvent','4574912uIFmHC','__error_messages__','NjXsK','Patching\x20Playwright','GyJqD','then','../v2/browserstackCLI','QSrlG','18dWuBMk','getGlobal','info','3504yAEtNO','fGnth','push','bdHsY','browserstackSessionName','VDgxE','closeTracker','parse','../../helpers/logger','Passed','ZJHxu','lodash','__timeout','bstack','winstonLogger','cucumber-test','initQuit','lkLBc','GnIyD','4539evCpiN','Flow\x20detection:\x20isSeleniumFlow=','QUIT','CBTSessionCreated','../../index','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','currentTest','LhzWX','51997OnTnBY','browserstackAgentV2','cucumber-js','isoVo','TZxhx','Cucumber-JS','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','Error:\x20in\x20quitting\x20driver\x20','yopjQ','__drivers','isAccessibilityPlatform','Error\x20initializing\x20Playwright\x20patching:\x20','timeout','aRWKn','XUPvw','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','iVjHc','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','800jicUwD','@playwright/test','test_run_uuid','qFKOd','BeforeAll','FuYWf','../../helpers/performance/constants','xaMDk','finally','bootstrap','zNtcW','../v2/state/hookState','storeLogObjects','../../helpers/testhub/constants.js','setDefaultTimeout','AfterStep','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','isCliEnabled','lBYQz','../../helpers/test-observability/error-handler','message','../../helpers/helper','896215RFDyYS','kOsyC','../playwright/reporter/test-details.js','quitCount_','../../helpers/test-observability/sessionHandler','../v2/TestInfo.js','XgBYN','EwfnF','PRE'];a9_0x52b3=function(){return _0x366119;};return a9_0x52b3();}const a9_0x297079={};a9_0x297079['name']='bstack',a9_0x297079[a9_0x2df91f(0x167)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2df91f(0x160)],AfterAll(a9_0x297079,async function(_0x3c17ce,_0xed9723){const _0x318db9=a9_0x2df91f,_0x2094b4={'DagzB':'1|2|4|0|3','tbtIw':function(_0xe2899d){return _0xe2899d();},'CSvlD':_0x318db9(0xbb),'ekiOX':_0x318db9(0xc4)};logger[_0x318db9(0xe3)](_0x2094b4['ekiOX']),await new Promise(async _0x56f9b3=>{const _0x4effe8=_0x318db9,_0x34ca88=_0x2094b4[_0x4effe8(0xe1)][_0x4effe8(0x106)]('|');let _0x1ee561=0x0;while(!![]){switch(_0x34ca88[_0x1ee561++]){case'0':await global['driverCleanup']();continue;case'1':await RequestQueueHandler[_0x4effe8(0x102)]()[_0x4effe8(0x96)]();continue;case'2':PerformanceTester[_0x4effe8(0xd3)]();continue;case'3':_0x2094b4['tbtIw'](_0x56f9b3);continue;case'4':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x4effe8(0x12a)](),playwrightPatcher[_0x4effe8(0x146)]&&playwrightPatcher['closeTracker'][_0x4effe8(0xda)](),logger[_0x4effe8(0xe3)](_0x2094b4['CSvlD']));}catch(_0x1bbe11){logger[_0x4effe8(0xe3)](_0x4effe8(0xe0)+util[_0x4effe8(0x12b)](_0x1bbe11));}continue;}break;}});});
|
|
1
|
+
const a9_0x3d56cf=a9_0x53c5;(function(_0x491bfc,_0x40b80f){const _0x1cb28b=a9_0x53c5,_0x2874c6=_0x491bfc();while(!![]){try{const _0x590451=parseInt(_0x1cb28b(0xdc))/0x1*(parseInt(_0x1cb28b(0xec))/0x2)+parseInt(_0x1cb28b(0x107))/0x3+parseInt(_0x1cb28b(0x127))/0x4*(-parseInt(_0x1cb28b(0x8e))/0x5)+parseInt(_0x1cb28b(0xc1))/0x6*(parseInt(_0x1cb28b(0xc2))/0x7)+parseInt(_0x1cb28b(0x167))/0x8+parseInt(_0x1cb28b(0x109))/0x9*(parseInt(_0x1cb28b(0x160))/0xa)+-parseInt(_0x1cb28b(0x7f))/0xb;if(_0x590451===_0x40b80f)break;else _0x2874c6['push'](_0x2874c6['shift']());}catch(_0x425cde){_0x2874c6['push'](_0x2874c6['shift']());}}}(a9_0x4ef3,0xe87cf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x3d56cf(0xf0)),setKeepAlive=require(a9_0x3d56cf(0x95)),util=require(a9_0x3d56cf(0x15d)),PerformanceTester=require(a9_0x3d56cf(0x8d)),{EVENTS:PerformanceEvents}=require(a9_0x3d56cf(0xa7)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a9_0x3d56cf(0x80),a9_0x3d56cf(0x14a)),logger=require(a9_0x3d56cf(0xa0))[a9_0x3d56cf(0x9f)],{shouldProcessEventForTesthub}=require(a9_0x3d56cf(0xcb)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x3d56cf(0x173)),TestDetails=require(a9_0x3d56cf(0xa8)),TestInfo=require(a9_0x3d56cf(0x168)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x3d56cf(0xdb)),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a9_0x3d56cf(0x7a)),testHubConstants=require(a9_0x3d56cf(0xe6)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x3d56cf(0xc8)),helper=require(a9_0x3d56cf(0xf3)),a9_0x207f9b={};a9_0x207f9b['workerInfo']=undefined,a9_0x207f9b[a9_0x3d56cf(0x79)]={},a9_0x207f9b[a9_0x3d56cf(0x121)]=![],a9_0x207f9b[a9_0x3d56cf(0xe3)]=null,a9_0x207f9b[a9_0x3d56cf(0xfa)]=![],a9_0x207f9b[a9_0x3d56cf(0x79)]['id']=undefined,a9_0x207f9b[a9_0x3d56cf(0x79)]['testInfo']=undefined;const workerDetails=a9_0x207f9b;global[a9_0x3d56cf(0xe1)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3be037){const _0x6a2250=a9_0x3d56cf,_0x4a84dd={'TvvbU':function(_0x2bf049,_0x498d67){return _0x2bf049(_0x498d67);},'leImU':_0x6a2250(0x137),'TSDnm':_0x6a2250(0x149)},_0x39d3d8=workerDetails[_0x6a2250(0x79)]['testInfo'];if(!_0x39d3d8)return;if(playwrightPatcher)try{const _0x146b02=_0x4a84dd[_0x6a2250(0x104)](require,_0x4a84dd[_0x6a2250(0xa2)]);if(_0x146b02[_0x6a2250(0x93)]()['isRunning']()){const _0x66d149=_0x39d3d8[_0x6a2250(0xaa)];_0x66d149?(_0x3be037[_0x6a2250(0x92)]=_0x66d149,_0x3be037[_0x6a2250(0x75)]=_0x66d149,TestInfo[_0x6a2250(0xf7)](_0x66d149,_0x3be037)):logger[_0x6a2250(0xf6)](_0x4a84dd['TSDnm']);return;}}catch(_0x11151b){logger[_0x6a2250(0xf6)](_0x6a2250(0xe8)+util['format'](_0x11151b));}await MyReporter[_0x6a2250(0xb2)](_0x39d3d8,_0x3be037);}),registerListeners=()=>{const _0x2e8845=a9_0x3d56cf,_0x59b73b={};_0x59b73b[_0x2e8845(0x11a)]=_0x2e8845(0xbd);const _0x24bc90=_0x59b73b;logger[_0x2e8845(0xf6)](_0x24bc90['gfORK']),process[_0x2e8845(0x88)](_0x2e8845(0xb6)+process[_0x2e8845(0x146)]),process['on'](_0x2e8845(0xb6)+process[_0x2e8845(0x146)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x3d56cf(0x13b)],After=cucumberModule[a9_0x3d56cf(0x172)],AfterAll=cucumberModule['AfterAll'],BeforeAll=cucumberModule[a9_0x3d56cf(0xc9)],AfterStep=cucumberModule[a9_0x3d56cf(0xd2)],configuration=process[a9_0x3d56cf(0xb9)][a9_0x3d56cf(0x166)],bstackConfig=process[a9_0x3d56cf(0xb9)][a9_0x3d56cf(0x123)];if(configuration!==undefined){const config=JSON[a9_0x3d56cf(0x162)](configuration);isBrowserstackInfra()?(global[a9_0x3d56cf(0x136)]=isTrue(config[a9_0x3d56cf(0x103)]),global[a9_0x3d56cf(0xc3)]=isTrue(config[a9_0x3d56cf(0x9d)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);!helper['getPackageVersion'](a9_0x3d56cf(0xc4))&&(logger[a9_0x3d56cf(0xf6)](a9_0x3d56cf(0x91)),shouldProcessEventForTesthub()?require(a9_0x3d56cf(0x126))[a9_0x3d56cf(0x122)](config,null,!![]):require(a9_0x3d56cf(0x126))['browserstackAgentV2'](config));global[a9_0x3d56cf(0x12e)]=config['platformCaps']||{},global[a9_0x3d56cf(0x112)]=config[a9_0x3d56cf(0x152)];if(helper[a9_0x3d56cf(0xb7)](a9_0x3d56cf(0xc4)))try{logger[a9_0x3d56cf(0xf6)](a9_0x3d56cf(0x170)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x3d56cf(0x110)](config),logger[a9_0x3d56cf(0xf6)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x4986c){logger[a9_0x3d56cf(0xf6)](a9_0x3d56cf(0x69)+util[a9_0x3d56cf(0x124)](a9_0x4986c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x3d56cf(0x162)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x3d56cf(0x10e)](browserStackConfig),commandRepository['setFramework'](a9_0x3d56cf(0x7d)));}global[a9_0x3d56cf(0xa6)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x3d56cf(0x157)];cucumberModule[a9_0x3d56cf(0x157)]=_0x6dd03d=>{const _0x553faa=a9_0x3d56cf,_0x4f2d66={'iSDQw':function(_0x51b227,_0x555ccc){return _0x51b227(_0x555ccc);}};global['__timeout']=_0x6dd03d,_0x4f2d66[_0x553faa(0xe5)](__setDefaultTimeout,_0x6dd03d);};const a9_0x346692={};a9_0x346692[a9_0x3d56cf(0xdd)]=a9_0x3d56cf(0x159),BeforeAll(a9_0x346692,async function(){const _0x401cf7=a9_0x3d56cf,_0x1130cc={'tBSuF':function(_0x4558a7,_0x413646,_0x50b240,_0x30ff75){return _0x4558a7(_0x413646,_0x50b240,_0x30ff75);},'cAthu':_0x401cf7(0x12b),'nosec':'\x20|\x20','OlygO':function(_0x5e1b5a,_0x4abdc1,_0xb96617){return _0x5e1b5a(_0x4abdc1,_0xb96617);},'sugEG':_0x401cf7(0x10b),'TdiEJ':_0x401cf7(0xd5),'LUBzt':function(_0x180062,_0x37b96b){return _0x180062(_0x37b96b);},'WMtur':_0x401cf7(0x137),'KzYaZ':function(_0x26a5fc,_0x593978){return _0x26a5fc(_0x593978);},'HoFGD':'../v2/cliUtils','lgsrI':_0x401cf7(0xa9),'LhLXL':function(_0x537f8d){return _0x537f8d();}};PerformanceTester[_0x401cf7(0x11e)](),logger['debug'](_0x1130cc[_0x401cf7(0xdf)]),global[_0x401cf7(0x83)]=[],global[_0x401cf7(0x71)]=![];if(playwrightPatcher)try{const _0x4d187c=_0x1130cc[_0x401cf7(0x131)](require,_0x1130cc[_0x401cf7(0x164)]),_0x508f7e=_0x1130cc[_0x401cf7(0x135)](require,_0x1130cc['HoFGD']);_0x4d187c['getInstance']()[_0x401cf7(0x6e)]()&&(logger['debug'](_0x1130cc[_0x401cf7(0x8a)]),_0x508f7e['setFrameworkDetail'](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x401cf7(0x105)]),await _0x4d187c[_0x401cf7(0x93)]()[_0x401cf7(0xef)]());}catch(_0x182d0e){logger[_0x401cf7(0xf6)](_0x401cf7(0x161)+util['format'](_0x182d0e));}_0x1130cc[_0x401cf7(0x133)](shouldProcessEventForTesthub)&&(_0x1130cc[_0x401cf7(0x133)](registerListeners),_0x1130cc['LUBzt'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x5726ae=_0x401cf7;let _0x21dd41=![];try{global[_0x5726ae(0x116)]&&global[_0x5726ae(0x116)][0x0]&&(await global['__drivers'][0x0][_0x5726ae(0x96)],_0x21dd41=!![],global[_0x5726ae(0x71)]?await _0x1130cc[_0x5726ae(0xd7)](markSessionStatus,global[_0x5726ae(0x116)][0x0],_0x1130cc[_0x5726ae(0xbf)],global[_0x5726ae(0x83)]['join'](_0x1130cc[_0x5726ae(0x111)])):await _0x1130cc[_0x5726ae(0x15b)](markSessionStatus,global[_0x5726ae(0x116)][0x0],_0x1130cc['sugEG']));}catch(_0x20235b){logger[_0x5726ae(0xf6)](_0x5726ae(0xae)+_0x20235b);}global[_0x5726ae(0x83)]=[],global[_0x5726ae(0x71)]=![];if(_0x21dd41)try{await global[_0x5726ae(0x116)][0x0][_0x5726ae(0x72)](),global[_0x5726ae(0x116)][0x0][_0x5726ae(0x96)]['then'](_0x3223f5=>{const _0x14080d=_0x5726ae;logger[_0x14080d(0xf6)](_0x14080d(0x125)+_0x3223f5[_0x14080d(0x11c)]());})[_0x5726ae(0xeb)](_0x4b5ecf=>{});}catch(_0x2a1df1){logger['debug'](_0x5726ae(0xd9)+_0x2a1df1);}};});function a9_0x53c5(_0x40bfa4,_0x4f93e5){const _0x4ef3e8=a9_0x4ef3();return a9_0x53c5=function(_0x53c52d,_0x31f231){_0x53c52d=_0x53c52d-0x67;let _0x4d6186=_0x4ef3e8[_0x53c52d];return _0x4d6186;},a9_0x53c5(_0x40bfa4,_0x4f93e5);}const a9_0x3c0169={};function a9_0x4ef3(){const _0x3a6f68=['storeLogObjects','Error:\x20at\x20After\x20(Selenium):\x20','Error:\x20sendPlatformDetails\x20at\x20After:\x20','isPageFixture','thJwtToken','shutdown','thBuildUuid','map','isMobilePlatform','\x22}}','bstackA11yShouldScan','result','skipSessionName','TvvbU','PLAYWRIGHT','vOzPX','2407614fNMnin','isAccessibilityPlatform','181071mEWKfH','KQqzg','passed','GTSLY','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','setConfig','text','initializePlaywrightPatching','nosec','browserstackPlatformIndex','fQsta','push','2|3|1|0|4','__drivers','Inside\x20browserstack\x20Before','ENV_VAR','afterTestHook','gfORK','rGRXK','getId','status','startMonitoring','nkZGI','CWFmo','o11ySyncDone','browserstackAgentV2','BSTACK_CONFIG','format','Error:\x20in\x20quitting\x20driver\x20','../../index','12OSrjJY','QMXPr','isRunning','gbcnB','failed','Uqfvm','UoARz','__platformCaps','finally','integrations','LUBzt','uploadEventData','LhLXL','info','KzYaZ','__skipSessionName','../v2/browserstackCLI','length','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','zJVRk','Before','HVBwh','Inside\x20browserstack\x20After','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','toLowerCase','hrQEK','QSxhP','babas','Unknown\x20Test','testInfo','page','pid','aIkHD','stringify','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','@cucumber/cucumber','RVdJn','Error:\x20quiting\x20driver\x20at\x20After:\x20','Error\x20determining\x20test\x20flow:\x20','Completed\x20Playwright\x20afterTestHook\x20execution','gAjnV','setTestNameForHealingContext',',\x20isPlaywrightFlow=','platformIndex','Inside\x20browserstack\x20AfterStep','\x0aError:\x20','TPMUm','beforeTestHook','setDefaultTimeout','fWKVP','bstack','trackEvent','OlygO','message','util','performScan','PAZkq','330uqZFkE','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','parse','stopMonitoring','WMtur','ZPJqf','CONFIG','7326320lzNqcY','../v2/TestInfo.js','../v2/state/automationFrameworkState','jkyWO','CUCUMBER','HwNgQ','getGlobal','Flow\x20detection:\x20isSeleniumFlow=','IMvNz','Patching\x20Playwright','Vbair','After','../../helpers/test-observability/utils','setGlobal','WDoDX','executeScript','Error\x20initializing\x20Playwright\x20patching:\x20','testFramework','pickle','Error\x20cleaning\x20up\x20close\x20tracker:\x20','WaCbU','isCliEnabled','Inside\x20browserstack\x20AfterAll','../v2/state/hookState','__sessionFailed','initQuit','__currentTestInfo','Performing\x20scan\x20before\x20saving\x20results','test_run_uuid','cucumber-test','closeTracker','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','currentTest','../../helpers/globals','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','NjnDH','cucumber-js','cleanup','21784444rMdTzb','@cucumber/cucumber/lib/index.js','QUIT','lxkFc','__error_messages__','Error:\x20at\x20After\x20Step:\x20','wTqdv','Passed','join','removeAllListeners','wOZCR','lgsrI','getTestUUID','JXvZM','../../helpers/performance/performance-tester','1206935cbUlHp','HoxBU','SzMgi','Patching\x20Selenium','uuid','getInstance','browserstackSessionName','../../helpers/setKeepAlive','session_','quitCount_','QIThq','getAutomationFramework','Cleaned\x20up\x20Playwright\x20close\x20tracker','PRE','MidYu','skipSessionStatus','cSrSz','winstonLogger','../../helpers/logger','KeTxv','leImU','Error\x20in\x20playwright\x20beforeTestHook:\x20','timeout','DEaYI','__timeout','../../helpers/performance/constants','../playwright/reporter/test-details.js','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','testCaseStartedId','igmDd','zKRDm','ssClk','Error:\x20cleaning\x20up\x20driver:\x20','toLZc','thTestRunUuid','Error\x20in\x20fallback\x20cleanup:\x20','addTestUIDAndReportLog','Cucumber-JS','algPE','toString','bs:addLog:','getPackageVersion','KMneR','env','test_run','JqeqK','Osdey','Inside\x20browserstack\x20registerListeners','driverCleanup','cAthu','saveTestResults','18nUFWfN','1490937OiVdiJ','__skipSessionStatus','@playwright/test','executeAsyncScript','scenario','error','lodash','BeforeAll','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/testhub/utils','WCvXG','BROWSERSTACK_TESTHUB_JWT','split','then','kbcZE','patchPageCommandsForAccessibility','AfterStep','lBJba','is_mobile_session','Inside\x20browserstack\x20BeforeAll','gURll','tBSuF','ALitT','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','edpRl','../../helpers/test-observability/sessionHandler','2qxiCim','name','gnLhs','TdiEJ','tags','__workerDetails','shift','pwPage','executeDeferredCloses','iSDQw','../../helpers/testhub/constants.js','Error:\x20at\x20After\x20(Playwright):\x20','Error\x20sending\x20log\x20created\x20event:\x20','QnmlF','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','catch','635608lyCVPV','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','WrHNC','bootstrap','../utils/constants','pickleStep','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','../../helpers/helper','Passed:\x20','Nside','debug'];a9_0x4ef3=function(){return _0x3a6f68;};return a9_0x4ef3();}a9_0x3c0169[a9_0x3d56cf(0xdd)]=a9_0x3d56cf(0x159),a9_0x3c0169[a9_0x3d56cf(0xa4)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a9_0x3c0169,function(_0x538102,_0x5cf973){const _0x409bac=a9_0x3d56cf,_0x4fd5e2={'jTGDb':function(_0x25f155,_0x1b73f2){return _0x25f155>_0x1b73f2;},'babas':function(_0x293608,_0x4c8f20){return _0x293608>_0x4c8f20;},'HwNgQ':function(_0x46bef1,_0x1838d4){return _0x46bef1(_0x1838d4);},'KMneR':function(_0x2b6c20,_0x4705e5,_0x1e676e,_0x636f6d){return _0x2b6c20(_0x4705e5,_0x1e676e,_0x636f6d);},'NjnDH':_0x409bac(0x101),'UoARz':function(_0x19d84d,_0x301574){return _0x19d84d(_0x301574);},'Uqfvm':_0x409bac(0x137),'cSrSz':function(_0x1dae16,_0x491e80){return _0x1dae16(_0x491e80);},'iGmqq':_0x409bac(0x169),'vHZrf':function(_0x1c4edd,_0x28f664){return _0x1c4edd(_0x28f664);},'WrHNC':_0x409bac(0x70),'SzMgi':_0x409bac(0x143),'mpMRz':_0x409bac(0x76),'gURll':function(_0x5159c9){return _0x5159c9();},'PAZkq':_0x409bac(0x117)};commandRepository[_0x409bac(0x150)](_0x538102[_0x409bac(0x6b)][_0x409bac(0xdd)]),logger[_0x409bac(0xf6)](_0x4fd5e2[_0x409bac(0x15f)]),new Promise(async _0x882b07=>{const _0x4b0715=_0x409bac;try{global[_0x4b0715(0x116)]&&_0x4fd5e2['jTGDb'](global['__drivers']['length'],0x1)&&(await global[_0x4b0715(0xbe)](),global[_0x4b0715(0x116)][_0x4b0715(0xe2)]()),global['__drivers']&&global['__drivers'][0x0]&&global[_0x4b0715(0x116)][0x0]['quitCount_']&&_0x4fd5e2[_0x4b0715(0x142)](global[_0x4b0715(0x116)][0x0][_0x4b0715(0x97)],0x0)&&await global[_0x4b0715(0xbe)]();}catch(_0xee1fdc){logger[_0x4b0715(0xf6)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0xee1fdc);}workerDetails[_0x4b0715(0x79)][_0x4b0715(0x144)]=_0x538102;if(!playwrightPatcher){try{if(!_0x4fd5e2[_0x4b0715(0x16c)](isUndefined,_0x538102['pickle'][_0x4b0715(0xe0)])){const _0x3f3a95=_0x4fd5e2[_0x4b0715(0xb8)](shouldScanTestForAccessibility,null,![],_0x538102[_0x4b0715(0x6b)][_0x4b0715(0xe0)][_0x4b0715(0xfe)](({name:_0x11b178})=>_0x11b178));globals[_0x4b0715(0x174)](_0x4fd5e2[_0x4b0715(0x7c)],_0x3f3a95);}}catch(_0x50b745){logger[_0x4b0715(0xf6)](_0x4b0715(0x13e)+util[_0x4b0715(0x124)](_0x50b745));}workerDetails['currentTest'][_0x4b0715(0xb0)]=TestDetails[_0x4b0715(0x8b)](_0x538102['testCaseStartedId']);}if(playwrightPatcher)try{await playwrightPatcher[_0x4b0715(0x156)](_0x538102),global[_0x4b0715(0xe1)]&&global['__workerDetails'][_0x4b0715(0xe3)]&&playwrightPatcher[_0x4b0715(0xd1)](global[_0x4b0715(0xe1)][_0x4b0715(0xe3)]);}catch(_0x17af07){logger[_0x4b0715(0xf6)](_0x4b0715(0xa3)+util[_0x4b0715(0x124)](_0x17af07));}if(playwrightPatcher)try{const _0x46d4b2=_0x4fd5e2[_0x4b0715(0x12d)](require,_0x4fd5e2[_0x4b0715(0x12c)]),_0x43037a=_0x4fd5e2[_0x4b0715(0x9e)](require,_0x4fd5e2['iGmqq']),_0x2a97a4=_0x4fd5e2['vHZrf'](require,_0x4fd5e2[_0x4b0715(0xee)]);if(_0x46d4b2[_0x4b0715(0x93)]()[_0x4b0715(0x129)]()){const _0x2c4c30={'title':_0x538102[_0x4b0715(0x6b)][_0x4b0715(0xdd)]||_0x4fd5e2[_0x4b0715(0x90)],'titlePath':[_0x538102['pickle']['name']||_0x4fd5e2[_0x4b0715(0x90)]],'id':_0x538102[_0x4b0715(0xaa)]||_0x4fd5e2['mpMRz'],'tags':_0x538102[_0x4b0715(0x6b)][_0x4b0715(0xe0)]||[],..._0x538102},_0x4fb703=_0x2c4c30;global[_0x4b0715(0x73)]=_0x4fb703,logger['debug']('Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20'+_0x538102['pickle'][_0x4b0715(0xdd)]);}}catch(_0x2924fc){logger[_0x4b0715(0xf6)]('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x4b0715(0x124)](_0x2924fc));}_0x4fd5e2[_0x4b0715(0xd6)](_0x882b07);})[_0x409bac(0x12f)](_0x5cf973);});const a9_0x3bbd3c={};a9_0x3bbd3c['name']=a9_0x3d56cf(0x159),a9_0x3bbd3c[a9_0x3d56cf(0xa4)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d56cf(0xb3)],After(a9_0x3bbd3c,function(_0x4b4a3c,_0x108ad4){const _0x24ccfc=a9_0x3d56cf,_0x2001f5={'KeTxv':function(_0x23d33c,_0x4ffec5){return _0x23d33c>_0x4ffec5;},'wTqdv':function(_0x34a370,_0x2a1ff8){return _0x34a370===_0x2a1ff8;},'Nside':'failed','nkZGI':function(_0x11fba9,_0x1d8fef){return _0x11fba9>_0x1d8fef;},'WCvXG':function(_0x1c7d2b,_0x290bf9,_0x22f269,_0x1d7926){return _0x1c7d2b(_0x290bf9,_0x22f269,_0x1d7926);},'GTSLY':'\x20|\x20','hrQEK':function(_0x51e876,_0x586548,_0x4d8242){return _0x51e876(_0x586548,_0x4d8242);},'zJVRk':_0x24ccfc(0x10b),'JXvZM':function(_0x2ab0d3,_0x37e95c){return _0x2ab0d3(_0x37e95c);},'TPMUm':_0x24ccfc(0x137),'QIThq':function(_0x53f51b,_0x278b56){return _0x53f51b(_0x278b56);},'kVuSQ':_0x24ccfc(0x169),'ZPJqf':function(_0x192f28,_0xe283cc){return _0x192f28(_0xe283cc);},'WDoDX':_0x24ccfc(0x70),'QSxhP':_0x24ccfc(0x143),'WaCbU':'cucumber-test','wOZCR':_0x24ccfc(0x14e),'ALitT':_0x24ccfc(0xea),'wMDFS':'Cleaned\x20up\x20close\x20tracker','HVBwh':_0x24ccfc(0xf2),'JnPte':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','QnmlF':'../v2/browserstackCLI.js','OmRDg':function(_0x4eaae6){return _0x4eaae6();},'fQsta':function(_0x43a720,_0x1841a6,_0x2215c5,_0x47dacb){return _0x43a720(_0x1841a6,_0x2215c5,_0x47dacb);},'algPE':'CBTSessionCreated','KQqzg':_0x24ccfc(0x108),'jkyWO':'bstackA11yShouldScan','gAjnV':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','WEXAi':_0x24ccfc(0x74),'DEaYI':_0x24ccfc(0xff),'HoxBU':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','aCTmz':function(_0x4a4576,_0x20c5be){return _0x4a4576>_0x20c5be;},'CWFmo':function(_0x409c96){return _0x409c96();},'qXPIU':_0x24ccfc(0x13d)};logger['debug'](_0x2001f5['qXPIU']),workerDetails[_0x24ccfc(0x79)][_0x24ccfc(0x144)]=_0x4b4a3c,new Promise(async _0x1ba244=>{const _0x3f1f9a=_0x24ccfc;let _0x14d3cc=![],_0x4431f4=![],_0x23d4b5=![];try{global[_0x3f1f9a(0x116)]&&_0x2001f5[_0x3f1f9a(0xa1)](global[_0x3f1f9a(0x116)][_0x3f1f9a(0x138)],0x0)&&(_0x4431f4=!![]),playwrightPatcher&&global[_0x3f1f9a(0xe1)]&&global[_0x3f1f9a(0xe1)]['pwPage']&&(_0x23d4b5=!![],logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0x78)+!!global[_0x3f1f9a(0xe1)][_0x3f1f9a(0xe3)]));}catch(_0x16e3a3){logger['debug'](_0x3f1f9a(0x14d)+_0x16e3a3);}logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0x16e)+_0x4431f4+_0x3f1f9a(0x151)+_0x23d4b5);const _0xaea65d=_0x4b4a3c[_0x3f1f9a(0x102)][_0x3f1f9a(0x11d)][_0x3f1f9a(0xb5)]()[_0x3f1f9a(0x13f)](),_0xb8ddde=_0x2001f5[_0x3f1f9a(0x85)](_0xaea65d,_0x2001f5[_0x3f1f9a(0xf5)])||_0x2001f5[_0x3f1f9a(0x85)](_0xaea65d,'6'),_0x1aa741=_0xb8ddde?_0x4b4a3c['result'][_0x3f1f9a(0x15c)]:null;if(_0xb8ddde)try{global[_0x3f1f9a(0x83)][_0x3f1f9a(0x114)](_0x4b4a3c[_0x3f1f9a(0x102)]['message']),global['__sessionFailed']=!![];}catch(_0x40de31){logger['debug']('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x40de31);}if(_0x4431f4)try{global[_0x3f1f9a(0x116)]&&_0x2001f5[_0x3f1f9a(0x11f)](global[_0x3f1f9a(0x116)][_0x3f1f9a(0x138)],0x1)&&(await global[_0x3f1f9a(0xbe)](),global[_0x3f1f9a(0x116)][_0x3f1f9a(0xe2)](),global[_0x3f1f9a(0x83)]=[],global[_0x3f1f9a(0x71)]=![]),global[_0x3f1f9a(0x116)]&&global[_0x3f1f9a(0x116)][0x0]&&(await global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0x96)],_0x14d3cc=!![],!global[_0x3f1f9a(0x136)]&&await global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0x68)](_0x3f1f9a(0x10d)+_0x4b4a3c['pickle']['name']+_0x3f1f9a(0x100)),_0xb8ddde?await _0x2001f5[_0x3f1f9a(0xcc)](markSessionStatus,global[_0x3f1f9a(0x116)][0x0],_0x2001f5[_0x3f1f9a(0xf5)],global[_0x3f1f9a(0x83)][_0x3f1f9a(0x87)](_0x2001f5[_0x3f1f9a(0x10c)])):await _0x2001f5[_0x3f1f9a(0x140)](markSessionStatus,global[_0x3f1f9a(0x116)][0x0],_0x2001f5[_0x3f1f9a(0x13a)]));}catch(_0x50b0ff){logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0xf8)+util[_0x3f1f9a(0x124)](_0x50b0ff));}if(_0x23d4b5)try{try{const _0x1857b9=_0x2001f5[_0x3f1f9a(0x8c)](require,_0x2001f5[_0x3f1f9a(0x155)]),_0x306ccd=_0x2001f5['QIThq'](require,_0x2001f5['kVuSQ']),_0x57e7a2=_0x2001f5[_0x3f1f9a(0x165)](require,_0x2001f5[_0x3f1f9a(0x67)]);if(_0x1857b9[_0x3f1f9a(0x93)]()[_0x3f1f9a(0x129)]()){const _0x2b0ad4={'title':_0x4b4a3c[_0x3f1f9a(0x6b)][_0x3f1f9a(0xdd)]||_0x2001f5[_0x3f1f9a(0x141)],'titlePath':[_0x4b4a3c['pickle']['name']||_0x2001f5[_0x3f1f9a(0x141)]],'id':_0x4b4a3c[_0x3f1f9a(0xaa)]||_0x2001f5[_0x3f1f9a(0x6d)],'status':_0xb8ddde?_0x2001f5[_0x3f1f9a(0xf5)]:_0x2001f5[_0x3f1f9a(0x13a)],'error':_0x1aa741?{'message':_0x1aa741}:null,'tags':_0x4b4a3c[_0x3f1f9a(0x6b)][_0x3f1f9a(0xe0)]||[],..._0x4b4a3c},_0x183046=_0x2b0ad4,_0x39ecba={};_0x39ecba[_0x3f1f9a(0x144)]=_0x183046,_0x39ecba[_0x3f1f9a(0xc6)]=_0x4b4a3c,_0x39ecba[_0x3f1f9a(0x145)]=global[_0x3f1f9a(0xe1)][_0x3f1f9a(0xe3)],_0x39ecba[_0x3f1f9a(0x6a)]=FRAMEWORKS[_0x3f1f9a(0x16b)],await _0x1857b9[_0x3f1f9a(0x93)]()[_0x3f1f9a(0x99)]()[_0x3f1f9a(0x15a)](_0x306ccd[_0x3f1f9a(0x81)],_0x57e7a2[_0x3f1f9a(0x9b)],_0x39ecba),logger[_0x3f1f9a(0xf6)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x4b4a3c[_0x3f1f9a(0x6b)][_0x3f1f9a(0xdd)]);}}catch(_0x1d90a4){logger[_0x3f1f9a(0xf6)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x3f1f9a(0x124)](_0x1d90a4));}const _0x366f2c=_0xb8ddde?_0x2001f5[_0x3f1f9a(0xf5)]:_0x2001f5['zJVRk'];await playwrightPatcher[_0x3f1f9a(0x119)](_0x4b4a3c,_0x366f2c,_0x1aa741),logger['debug'](_0x2001f5[_0x3f1f9a(0x89)]);try{await playwrightPatcher[_0x3f1f9a(0xe4)](),logger[_0x3f1f9a(0xf6)](_0x2001f5[_0x3f1f9a(0xd8)]);}catch(_0x2a2776){logger['debug']('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x3f1f9a(0x124)](_0x2a2776));}try{playwrightPatcher['closeTracker']['cleanup'](),logger[_0x3f1f9a(0xf6)](_0x2001f5['wMDFS']);}catch(_0x21c470){logger['debug'](_0x3f1f9a(0x6c)+util[_0x3f1f9a(0x124)](_0x21c470));}}catch(_0x3282ab){logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0xe7)+util[_0x3f1f9a(0x124)](_0x3282ab));try{playwrightPatcher[_0x3f1f9a(0xe4)]&&(await playwrightPatcher[_0x3f1f9a(0xe4)](),logger[_0x3f1f9a(0xf6)](_0x2001f5[_0x3f1f9a(0x13c)])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x3f1f9a(0x77)][_0x3f1f9a(0x7e)]&&(playwrightPatcher[_0x3f1f9a(0x77)][_0x3f1f9a(0x7e)](),logger[_0x3f1f9a(0xf6)](_0x2001f5['JnPte']));}catch(_0x50416e){logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0xb1)+util['format'](_0x50416e));}}const _0x51fb2a=_0x2001f5[_0x3f1f9a(0x98)](require,_0x2001f5[_0x3f1f9a(0xe9)]);if(!_0x51fb2a[_0x3f1f9a(0x93)]()[_0x3f1f9a(0x129)]())try{if(_0x2001f5['OmRDg'](shouldProcessEventForTesthub)){const _0x4128c3=TestDetails[_0x3f1f9a(0x8b)](_0x4b4a3c[_0x3f1f9a(0xaa)]);let _0x4ade03=null;global[_0x3f1f9a(0x116)]&&global[_0x3f1f9a(0x116)][0x0]&&(_0x4ade03=await _0x2001f5[_0x3f1f9a(0x113)](sendPlatformDetails,global[_0x3f1f9a(0x116)][0x0],_0x4128c3,!![]));const _0x46063b={};_0x46063b[_0x3f1f9a(0x92)]=_0x4128c3,_0x46063b[_0x3f1f9a(0x130)]=_0x4ade03;const _0x34245f=_0x46063b,_0x43e502={};_0x43e502['event_type']=_0x2001f5[_0x3f1f9a(0xb4)],_0x43e502[_0x3f1f9a(0xba)]=_0x34245f,await SessionHandler[_0x3f1f9a(0x132)](_0x43e502);}}catch(_0x3ba0d5){logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0xf9)+util[_0x3f1f9a(0x124)](_0x3ba0d5));}try{if(globals['getGlobal'](_0x2001f5[_0x3f1f9a(0x10a)])&&globals[_0x3f1f9a(0x16d)](_0x2001f5[_0x3f1f9a(0x16a)])){logger[_0x3f1f9a(0x134)](_0x2001f5[_0x3f1f9a(0x14f)]);const _0x7cfb8a=TestDetails[_0x3f1f9a(0x8b)](_0x4b4a3c[_0x3f1f9a(0xaa)]),_0x2c8268={};_0x2c8268['thTestRunUuid']=_0x7cfb8a,_0x2c8268[_0x3f1f9a(0xfd)]=process[_0x3f1f9a(0xb9)][testHubConstants[_0x3f1f9a(0x118)]['BROWSERSTACK_TESTHUB_UUID']],_0x2c8268[_0x3f1f9a(0xfb)]=process[_0x3f1f9a(0xb9)][testHubConstants[_0x3f1f9a(0x118)][_0x3f1f9a(0xcd)]];const _0x5f2e52=_0x2c8268;logger[_0x3f1f9a(0xf6)](_0x3f1f9a(0xca)+JSON[_0x3f1f9a(0x148)](_0x5f2e52)),logger[_0x3f1f9a(0xf6)](_0x2001f5['WEXAi']),global[_0x3f1f9a(0x116)]&&global[_0x3f1f9a(0x116)][0x0]&&(logger[_0x3f1f9a(0xf6)](util[_0x3f1f9a(0x124)](await global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0xc5)](scripts[_0x3f1f9a(0x15e)],{'method':global[_0x3f1f9a(0x94)]}))),globals[_0x3f1f9a(0x16d)](_0x2001f5[_0x3f1f9a(0xa5)])&&(_0x5f2e52[_0x3f1f9a(0xd4)]=!![]),await global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0xc5)](scripts[_0x3f1f9a(0xc0)],_0x5f2e52)),logger[_0x3f1f9a(0x134)](_0x2001f5[_0x3f1f9a(0x8f)]);}}catch(_0x4cd131){logger[_0x3f1f9a(0xc7)](_0x3f1f9a(0x139)+util[_0x3f1f9a(0x124)](_0x4cd131));}if(_0x14d3cc)try{global['__drivers'][0x0]&&_0x2001f5['aCTmz'](global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0x97)],0x0)&&await global[_0x3f1f9a(0x116)][0x0][_0x3f1f9a(0x72)]();}catch(_0x96bb60){logger['debug'](_0x3f1f9a(0x14c)+_0x96bb60);}_0x2001f5[_0x3f1f9a(0x120)](_0x1ba244);})['finally'](()=>_0x108ad4());});const a9_0x17565d={};a9_0x17565d[a9_0x3d56cf(0xdd)]='bstack',a9_0x17565d[a9_0x3d56cf(0xa4)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d56cf(0xb3)],AfterStep(a9_0x17565d,function(_0x39ae0f,_0x7245f6){const _0x1dc6b2=a9_0x3d56cf,_0x2e6964={'PxXwZ':function(_0x1070b0,_0x1dd6a2){return _0x1070b0===_0x1dd6a2;},'ssClk':_0x1dc6b2(0x12b),'WAIqB':function(_0x4bb686,_0x4028fc){return _0x4bb686===_0x4028fc;},'toLZc':function(_0x179c11,_0x289456){return _0x179c11!==_0x289456;},'edpRl':function(_0x131a20,_0x349773,_0x456cd7){return _0x131a20(_0x349773,_0x456cd7);},'gnLhs':function(_0x430359,_0x2b4615){return _0x430359+_0x2b4615;},'vOzPX':function(_0x354634,_0x54369e){return _0x354634+_0x54369e;},'zKRDm':function(_0x54559b,_0x1e2a59){return _0x54559b+_0x1e2a59;},'QMXPr':'Failed:\x20','igmDd':_0x1dc6b2(0x154),'RVdJn':'error','vUurW':function(_0xba8ab2,_0x1a509d){return _0xba8ab2!==_0x1a509d;},'Vbair':function(_0x89f4c4,_0x56c012,_0xbfef7f){return _0x89f4c4(_0x56c012,_0xbfef7f);},'lxkFc':function(_0x1895cb,_0x11c17b){return _0x1895cb+_0x11c17b;},'gbcnB':_0x1dc6b2(0xf4),'fWKVP':_0x1dc6b2(0x134),'MidYu':function(_0x4a67b3,_0x31768e,_0x2a2cd2){return _0x4a67b3(_0x31768e,_0x2a2cd2);},'aIkHD':_0x1dc6b2(0x86),'kbcZE':function(_0x1b9549){return _0x1b9549();},'rGRXK':_0x1dc6b2(0x153)};logger['debug'](_0x2e6964[_0x1dc6b2(0x11b)]);const _0x3e0ec8=async(_0x1006b7,_0x961885)=>{const _0x2551fc=_0x1dc6b2;global[_0x2551fc(0x116)]&&global[_0x2551fc(0x116)][0x0]&&await global[_0x2551fc(0x116)][0x0]['executeScript'](_0x2551fc(0x7b)+_0x1006b7+',\x22level\x22:\x20\x22'+_0x961885+_0x2551fc(0x100));};new Promise(async _0x581e14=>{const _0x50ba72=_0x1dc6b2;try{const _0x5cc624=_0x2e6964['PxXwZ'](_0x39ae0f[_0x50ba72(0x102)][_0x50ba72(0x11d)][_0x50ba72(0xb5)]()[_0x50ba72(0x13f)](),_0x2e6964[_0x50ba72(0xad)])||_0x2e6964['WAIqB'](_0x39ae0f['result'][_0x50ba72(0x11d)][_0x50ba72(0xb5)]()[_0x50ba72(0x13f)](),'6');_0x5cc624?(global[_0x50ba72(0x71)]=!![],global['__error_messages__'][_0x50ba72(0x114)](_0x39ae0f[_0x50ba72(0x102)][_0x50ba72(0x15c)]),_0x2e6964[_0x50ba72(0xaf)](_0x39ae0f[_0x50ba72(0xf1)],undefined)?await _0x2e6964[_0x50ba72(0xda)](_0x3e0ec8,JSON[_0x50ba72(0x148)](_0x2e6964[_0x50ba72(0xde)](_0x2e6964[_0x50ba72(0x106)](_0x2e6964[_0x50ba72(0xac)](_0x2e6964[_0x50ba72(0x128)],'\x22'+_0x39ae0f['pickleStep']['text']+'\x22\x20'),_0x2e6964[_0x50ba72(0xab)]),_0x39ae0f['result'][_0x50ba72(0x15c)])),_0x2e6964['RVdJn']):await _0x2e6964[_0x50ba72(0xda)](_0x3e0ec8,JSON['stringify'](_0x2e6964['gnLhs'](_0x2e6964[_0x50ba72(0x128)],_0x39ae0f[_0x50ba72(0x102)][_0x50ba72(0x15c)])),_0x2e6964[_0x50ba72(0x14b)])):_0x2e6964['vUurW'](_0x39ae0f[_0x50ba72(0xf1)],undefined)?await _0x2e6964[_0x50ba72(0x171)](_0x3e0ec8,JSON[_0x50ba72(0x148)](_0x2e6964[_0x50ba72(0x82)](_0x2e6964[_0x50ba72(0x12a)],'\x22'+_0x39ae0f['pickleStep'][_0x50ba72(0x10f)]+'\x22')),_0x2e6964[_0x50ba72(0x158)]):await _0x2e6964[_0x50ba72(0x9c)](_0x3e0ec8,JSON['stringify'](_0x2e6964[_0x50ba72(0x147)]),_0x2e6964[_0x50ba72(0x158)]),global[_0x50ba72(0x116)]&&global[_0x50ba72(0x116)][0x0]&&global[_0x50ba72(0x116)][0x0]['session_'][_0x50ba72(0xcf)](_0x3ac9d1=>{})[_0x50ba72(0xeb)](_0x57198a=>{const _0x3f230f=_0x50ba72;logger[_0x3f230f(0xf6)](_0x3f230f(0xed)+util['format'](_0x57198a));});}catch(_0x55acbc){logger[_0x50ba72(0xf6)](_0x50ba72(0x84)+_0x55acbc);}_0x2e6964[_0x50ba72(0xd0)](_0x581e14);})['finally'](()=>_0x7245f6());});const a9_0x20ed14={};a9_0x20ed14[a9_0x3d56cf(0xdd)]=a9_0x3d56cf(0x159),a9_0x20ed14[a9_0x3d56cf(0xa4)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3d56cf(0xb3)],AfterAll(a9_0x20ed14,async function(_0x543d19,_0x2eb237){const _0x3e31bb=a9_0x3d56cf,_0x4ecd2a={'JqeqK':_0x3e31bb(0x115),'IMvNz':_0x3e31bb(0x9a),'Osdey':function(_0x51d2b9){return _0x51d2b9();},'lBJba':_0x3e31bb(0x6f)};logger[_0x3e31bb(0xf6)](_0x4ecd2a[_0x3e31bb(0xd3)]),await new Promise(async _0x53e397=>{const _0x21e670=_0x3e31bb,_0x55b0db=_0x4ecd2a[_0x21e670(0xbb)][_0x21e670(0xce)]('|');let _0x3f2f9c=0x0;while(!![]){switch(_0x55b0db[_0x3f2f9c++]){case'0':await global[_0x21e670(0xbe)]();continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x21e670(0xe4)]&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x21e670(0x7e)](),logger[_0x21e670(0xf6)](_0x4ecd2a[_0x21e670(0x16f)]));}catch(_0x43aa8b){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x21e670(0x124)](_0x43aa8b));}continue;case'2':await RequestQueueHandler[_0x21e670(0x93)]()[_0x21e670(0xfc)]();continue;case'3':PerformanceTester[_0x21e670(0x163)]();continue;case'4':_0x4ecd2a[_0x21e670(0xbc)](_0x53e397);continue;}break;}});});
|