browserstack-node-sdk 1.49.0 → 1.49.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/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/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/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/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/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/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_0x112de0=a5_0x189e;function a5_0x189e(_0x3586dc,_0x4c565b){const _0xf5d1b4=a5_0xf5d1();return a5_0x189e=function(_0x189ee4,_0x440571){_0x189ee4=_0x189ee4-0x18d;let _0x3d4a4a=_0xf5d1b4[_0x189ee4];return _0x3d4a4a;},a5_0x189e(_0x3586dc,_0x4c565b);}(function(_0x89e461,_0x47e582){const _0x566d90=a5_0x189e,_0x277e41=_0x89e461();while(!![]){try{const _0x55bca8=-parseInt(_0x566d90(0x1c4))/0x1+parseInt(_0x566d90(0x1f4))/0x2*(-parseInt(_0x566d90(0x215))/0x3)+parseInt(_0x566d90(0x213))/0x4+-parseInt(_0x566d90(0x1ed))/0x5*(-parseInt(_0x566d90(0x236))/0x6)+-parseInt(_0x566d90(0x227))/0x7+-parseInt(_0x566d90(0x201))/0x8+-parseInt(_0x566d90(0x1ba))/0x9*(-parseInt(_0x566d90(0x1bc))/0xa);if(_0x55bca8===_0x47e582)break;else _0x277e41['push'](_0x277e41['shift']());}catch(_0x43d4ed){_0x277e41['push'](_0x277e41['shift']());}}}(a5_0xf5d1,0xe2601));const fs=require('fs'),path=require(a5_0x112de0(0x1f6)),util=require(a5_0x112de0(0x1d7)),logger=require(a5_0x112de0(0x1d3))['winstonLogger'],helper=require(a5_0x112de0(0x1f0)),utilities=require(a5_0x112de0(0x233)),constants=require(a5_0x112de0(0x229)),{parallelCucumberRun}=require(a5_0x112de0(0x1db)),TestHubHandler=require(a5_0x112de0(0x228)),testOpsHelper=require(a5_0x112de0(0x18e)),chalk=require(a5_0x112de0(0x1a9)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x112de0(0x1d5))[a5_0x112de0(0x1d9)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x112de0(0x1ac)),{checkPwandBootstrapCli}=require(a5_0x112de0(0x20c)),ClientTroubleShootingService=require(a5_0x112de0(0x1bd));function printCucumberStats(_0x42db2b){const _0x217db5=a5_0x112de0,_0x1ed397={};_0x1ed397['buqIe']=function(_0xc4cad6,_0x74e9a1){return _0xc4cad6>_0x74e9a1;},_0x1ed397[_0x217db5(0x1e4)]=function(_0x28376b,_0x16317){return _0x28376b-_0x16317;},_0x1ed397[_0x217db5(0x1cb)]=function(_0x4d48e4,_0xebc7eb){return _0x4d48e4-_0xebc7eb;},_0x1ed397[_0x217db5(0x217)]=function(_0x58415c,_0x3a8ff9){return _0x58415c>_0x3a8ff9;},_0x1ed397[_0x217db5(0x197)]=function(_0x40a0df,_0x3e8064){return _0x40a0df>_0x3e8064;},_0x1ed397[_0x217db5(0x1b8)]=function(_0x214f8e,_0x39ea76){return _0x214f8e>_0x39ea76;},_0x1ed397[_0x217db5(0x200)]=function(_0x13ed5f,_0x50b354){return _0x13ed5f>_0x50b354;},_0x1ed397[_0x217db5(0x214)]=function(_0x56e7b2,_0x437bf5){return _0x56e7b2>_0x437bf5;},_0x1ed397[_0x217db5(0x1df)]=function(_0x2ad33e,_0x1ee16f){return _0x2ad33e>_0x1ee16f;},_0x1ed397[_0x217db5(0x22a)]=function(_0x3b4505,_0x27701c){return _0x3b4505+_0x27701c;},_0x1ed397[_0x217db5(0x1f9)]=function(_0x5d06de,_0x3d6dc7){return _0x5d06de+_0x3d6dc7;},_0x1ed397[_0x217db5(0x20f)]=function(_0x214751,_0x10a9ba){return _0x214751+_0x10a9ba;},_0x1ed397[_0x217db5(0x21d)]=function(_0xd350a1,_0x2c0471){return _0xd350a1===_0x2c0471;},_0x1ed397[_0x217db5(0x1d1)]=function(_0x53eabd,_0x3703c3){return _0x53eabd===_0x3703c3;},_0x1ed397[_0x217db5(0x1be)]='****\x20RESULTS\x20****';const _0x150451=_0x1ed397;let _0x523841=0x0;if(_0x150451[_0x217db5(0x1d1)](_0x42db2b[_0x217db5(0x1fe)],0x0))return _0x523841;return console[_0x217db5(0x1fc)](chalk['bold'][_0x217db5(0x203)](_0x150451['AfdkZ'])),_0x42db2b[_0x217db5(0x222)](_0x128f6b=>{const _0x561910=_0x217db5,_0x3e44a5=_0x128f6b[0x0],_0x85c31b=_0x128f6b[0x1];helper['isBrowserstackInfra']()&&console['log']('\x0a'+chalk[_0x561910(0x22b)][_0x561910(0x19f)](''+helper[_0x561910(0x1c5)](_0x3e44a5)));const _0x1d6044=_0x85c31b['scenarios'],_0x4715af=_0x85c31b['steps'],_0x1c223c=_0x85c31b[_0x561910(0x223)],_0x4201d2=_0x85c31b[_0x561910(0x1b7)],_0x3f1a6b=_0x85c31b[_0x561910(0x1c7)],_0xe2ed66=_0x85c31b[_0x561910(0x220)],_0x17a727=_0x85c31b[_0x561910(0x238)],_0x3b23f1=_0x85c31b[_0x561910(0x1dd)],_0xabc990=_0x85c31b[_0x561910(0x21c)],_0x2a1ee6=_0x85c31b[_0x561910(0x212)],_0x4224ec=_0x85c31b['processSuccess'];let _0x884e45=_0x1d6044+_0x561910(0x1b5);const _0x547daa=_0x150451[_0x561910(0x235)](_0x150451[_0x561910(0x1e4)](_0x1d6044,_0x1c223c),0x0)?_0x150451[_0x561910(0x1cb)](_0x1d6044,_0x1c223c):0x0;if(_0x150451[_0x561910(0x235)](_0x1c223c,0x0)&&_0x150451[_0x561910(0x235)](_0x547daa,0x0))_0x884e45+='\x20('+chalk[_0x561910(0x22b)][_0x561910(0x1c1)](_0x1c223c+'\x20failed')+',\x20'+chalk[_0x561910(0x22b)]['green'](_0x547daa+_0x561910(0x18f))+')';else(_0x150451['WOeUS'](_0x1c223c,0x0)||_0x150451[_0x561910(0x217)](_0x547daa,0x0))&&(_0x884e45+=_0x150451[_0x561910(0x197)](_0x1c223c,0x0)?'\x20('+chalk[_0x561910(0x22b)]['red'](_0x1c223c+_0x561910(0x205))+')':'\x20('+chalk[_0x561910(0x22b)]['green'](_0x547daa+_0x561910(0x18f))+')');const _0x41f250=_0x4715af+_0x561910(0x1f3),_0xe776f1=[];_0x150451[_0x561910(0x217)](_0x2a1ee6,0x0)&&_0xe776f1[_0x561910(0x208)](''+chalk[_0x561910(0x22b)][_0x561910(0x1c1)](_0x2a1ee6+_0x561910(0x190)));_0x150451[_0x561910(0x1b8)](_0x4201d2,0x0)&&_0xe776f1[_0x561910(0x208)](''+chalk['bold'][_0x561910(0x1c1)](_0x4201d2+_0x561910(0x205)));_0x150451['uLmgU'](_0x3f1a6b,0x0)&&_0xe776f1[_0x561910(0x208)](''+chalk[_0x561910(0x22b)]['green'](_0x3f1a6b+'\x20passed'));_0x150451[_0x561910(0x214)](_0x17a727,0x0)&&_0xe776f1['push'](''+chalk[_0x561910(0x22b)][_0x561910(0x19f)](_0x17a727+_0x561910(0x219)));_0x150451[_0x561910(0x197)](_0xe2ed66,0x0)&&_0xe776f1[_0x561910(0x208)](''+chalk[_0x561910(0x22b)][_0x561910(0x1f1)](_0xe2ed66+_0x561910(0x231)));_0x150451[_0x561910(0x1df)](_0x3b23f1,0x0)&&_0xe776f1['push'](''+chalk[_0x561910(0x22b)][_0x561910(0x19f)](_0x3b23f1+_0x561910(0x1c0)));_0x150451[_0x561910(0x217)](_0xabc990,0x0)&&_0xe776f1['push'](''+chalk[_0x561910(0x22b)]['yellow'](_0xabc990+'\x20skipped'));const _0x4eeed4=_0x150451['rVZFB'](_0x150451['rVZFB'](_0x150451[_0x561910(0x22a)](_0x41f250,'('),_0xe776f1[_0x561910(0x1ee)](',\x20')),')');console[_0x561910(0x1fc)](_0x150451['rVZFB'](_0x150451['ScSTW'](_0x150451['wZsVc'](_0x150451[_0x561910(0x1f9)]('\x0a',_0x884e45),'\x0a'),_0x4eeed4),'\x0a')),_0x150451[_0x561910(0x21d)](_0x4224ec,![])&&(_0x523841=0x1);}),_0x523841;}function a5_0xf5d1(){const _0x4fd24f=['../../helpers/accessibility-automation/helper','isUndefined','setBrowserstackConfig','Yompz','setUserConfigPath','chalk','env','LPGAd','../v2/cliUtils','configPath','PLAYWRIGHT','removeDir','assign','unlinkSync','wqcDI','splice','stop','\x20scenarios','isFalse','stepsFailed','uxiKD','SDK_CLEANUP','91116uvBrvK','true','3330FJeuAG','../utils/clientTroubleshootingService','AfdkZ','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20undefined','red','../../helpers/test-observability/constants','PMLrw','1162084tVafDo','getPlatformName','printBuildLink','stepsPassed','isBrowserstackInfra','qNnbV','__isPlaywrightInstalled','HZAUo','cxXsm','logLevel','cliConfig','mergeOutputFiles','EiMHD','YPvKD','jqbAC','../../helpers/logger','vYenI','../../helpers/performance/constants','DJBmS','util','rmdirSync','EVENTS','config','../test-runner','launchBuild','stepsUndefined','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','euyLt','indexOf','shyUu','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','CUCUMBER','ddMsX','ODmjm','stringify','proxySettings','getInstance','EcNmQ','testContextOptions','error\x20removing\x20tcg\x20config\x20file','BROWSERSTACK_TEST_ACCESSIBILITY_YML','274845WjYoWK','join','accessibility','../../helpers/helper','cyan','start','\x20steps','4AaPJXF','KPUPW','path','then','getPackageVersion','ScSTW','parallelsPerPlatform','getTCGConfigFilePaths','log','exitCode','length','useW3C','uLmgU','6380744JQFtZX','BUmbQ','bgWhite','cucumber','\x20failed','bOUPW','JcKko','push','BROWSERSTACK_TEST_OBSERVABILITY','framework','format','../../helpers/playwright-helper','getErrorMessageFromResults','ZxMEk','wZsVc','BROWSERSTACK_AUTOMATION','tmp','stepsAmbiguous','2911952wxNkpB','cUfMD','2616477JtGhVm','testObservability','WOeUS','YjZBK','\x20pending','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','prepareCapabilities','stepsUnknown','Spmlq','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','argv','stepsSkipped','@playwright/test','forEach','scenariosFailed','getConfig','FHIae','false','2048109raQxRc','../../helpers/testhub/testhubHandler','../utils/constants','rVZFB','bold','browserstackAutomation','BROWSERSTACK_CLI_BIN_SESSION_ID','bootstrap','getHubUrl','XzNFB','\x20skipped','getUserWorkerCount','../../helpers/utilities','cwd','buqIe','90iMcIfB','setupTCGAuth','stepsPending','finalExecution','RbTxl','../../helpers/test-observability/utils','\x20passed','\x20ambiguous','initialize','FRAMEWORKS','BROWSERSTACK_TEST_OBSERVABILITY_YML','OlAqp','accessibilityOptions','debug','XVBxP','kZqNJ','tbYgC','parseFormatters','vPtIG','errorMessage','binSessionId','isRunning','yellow','turboScaleUrl','../playwright/accessibility-helper','lAGYD','createDir'];a5_0xf5d1=function(){return _0x4fd24f;};return a5_0xf5d1();}async function run(_0x23fc0e,_0x35332c,_0x279838){const _0x201a17=a5_0x112de0,_0x39a766={'ODmjm':function(_0x404bb7,_0x1b497d){return _0x404bb7(_0x1b497d);},'jqbAC':function(_0x296d10,_0x20b86a){return _0x296d10>_0x20b86a;},'vYenI':'Generating\x20consolidated\x20report...','qNnbV':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','bOUPW':_0x201a17(0x204),'OlAqp':_0x201a17(0x1eb),'EiMHD':_0x201a17(0x221),'ZxMEk':function(_0x1c03e9,_0x119697,_0x5ba799,_0x684481){return _0x1c03e9(_0x119697,_0x5ba799,_0x684481);},'XzNFB':_0x201a17(0x211),'shyUu':function(_0x5143ea,_0x1f1b66){return _0x5143ea>_0x1f1b66;},'vATSr':function(_0x1b5159,_0x832fc8){return _0x1b5159-_0x832fc8;},'KPUPW':function(_0x4a67f9,_0x317efb){return _0x4a67f9>=_0x317efb;},'Yompz':function(_0x551dd4,_0x34f2ab){return _0x551dd4!=_0x34f2ab;},'DJBmS':_0x201a17(0x1bb),'FHIae':function(_0x4b1246,_0x234710){return _0x4b1246(_0x234710);},'EcNmQ':_0x201a17(0x1a4),'kZqNJ':function(_0x5b03ad,_0x5e597e){return _0x5b03ad(_0x5e597e);},'lAGYD':_0x201a17(0x1a1),'vPtIG':function(_0x4b528b,_0x3977fb){return _0x4b528b(_0x3977fb);},'VfvoD':function(_0x5819a1,_0x21ab91){return _0x5819a1(_0x21ab91);},'RbTxl':_0x201a17(0x226),'PMLrw':function(_0xbf1437,_0x31eeb2){return _0xbf1437===_0x31eeb2;},'cxXsm':function(_0x11701f,_0x58e758){return _0x11701f(_0x58e758);},'kETtC':'../v2/browserstackCLI','JcKko':function(_0x199723,_0x1c1412){return _0x199723(_0x1c1412);},'BUmbQ':_0x201a17(0x1ac),'wqcDI':_0x201a17(0x1c2),'oJcht':'--disable-test-observability','tbYgC':function(_0x4e1325,_0x5e4b04){return _0x4e1325===_0x5e4b04;},'YjZBK':function(_0x264adc,_0x399936){return _0x264adc(_0x399936);},'LPGAd':function(_0x400b1d,_0x57a038,_0x1a7b32,_0x4eea79,_0x3473aa,_0x23359b){return _0x400b1d(_0x57a038,_0x1a7b32,_0x4eea79,_0x3473aa,_0x23359b);}},_0x2317ea=helper[_0x201a17(0x1f8)](_0x39a766['EiMHD']);global[_0x201a17(0x1ca)]=!!_0x2317ea,await _0x279838[_0x201a17(0x191)](_0x23fc0e),await _0x39a766[_0x201a17(0x20e)](checkPwandBootstrapCli,_0x2317ea,constants[_0x201a17(0x192)][_0x201a17(0x1e3)],_0x279838);BrowserstackCLI[_0x201a17(0x1e8)]()[_0x201a17(0x19d)]&&(process[_0x201a17(0x1aa)][_0x201a17(0x22d)]=BrowserstackCLI[_0x201a17(0x1e8)]()['binSessionId']);helper[_0x201a17(0x1a8)](_0x279838[_0x201a17(0x20a)],_0x23fc0e);!helper['isBrowserstackInfra']()&&await _0x279838[_0x201a17(0x237)]();await helper['handleApp'](_0x279838[_0x201a17(0x1da)]);const _0x5311a8=helper[_0x201a17(0x1ff)](_0x279838[_0x201a17(0x1da)]);!helper[_0x201a17(0x1a5)](_0x279838[_0x201a17(0x1da)][_0x201a17(0x195)])&&(process[_0x201a17(0x1aa)][_0x201a17(0x21a)]=JSON[_0x201a17(0x1e6)](_0x279838['config'][_0x201a17(0x195)]));if(!BrowserstackCLI[_0x201a17(0x1e8)]()[_0x201a17(0x19e)]()){const _0x130503=await TestHubHandler[_0x201a17(0x1dc)](constants['FRAMEWORKS'][_0x201a17(0x1e3)],_0x279838);}let _0x1a5143=[];if(!helper[_0x201a17(0x1c8)]()){const _0x3a0139={};_0x3a0139['platforms']=[],_0x1a5143=helper[_0x201a17(0x21b)](Object[_0x201a17(0x1b0)]({},_0x279838[_0x201a17(0x1da)],_0x3a0139),_0x5311a8,constants['FRAMEWORKS'][_0x201a17(0x1e3)]);}else _0x1a5143=helper[_0x201a17(0x21b)](_0x279838[_0x201a17(0x1da)],_0x5311a8,constants[_0x201a17(0x192)][_0x201a17(0x1e3)]);if(!_0x279838[_0x201a17(0x1da)])return;const _0x4efc8a=_0x279838[_0x201a17(0x1da)][_0x201a17(0x1fa)]||helper[_0x201a17(0x232)](_0x23fc0e,_0x35332c,_0x279838[_0x201a17(0x1da)],constants[_0x201a17(0x192)]['CUCUMBER'])||0x1,_0x57e5cd={'server':helper[_0x201a17(0x22f)](_0x279838['config']),'proxySettings':_0x279838['config'][_0x201a17(0x1e7)],'maxWorkers':_0x4efc8a,'browserStackLogLevel':_0x279838[_0x201a17(0x1da)][_0x201a17(0x1cd)],'skipSessionName':_0x279838[_0x201a17(0x1da)][_0x201a17(0x1ea)]['skipSessionName'],'skipSessionStatus':_0x279838[_0x201a17(0x1da)][_0x201a17(0x1ea)]['skipSessionStatus'],'turboScaleUrl':_0x279838[_0x201a17(0x1da)][_0x201a17(0x1a0)]},_0x42ecf9=process[_0x201a17(0x21f)],[_0x27a655,_0x4637dd]=helper[_0x201a17(0x19a)](_0x42ecf9),_0x3a376a=path['join'](process[_0x201a17(0x234)](),_0x39a766[_0x201a17(0x230)]);if(_0x39a766[_0x201a17(0x1e1)](_0x4637dd['length'],0x0)){helper[_0x201a17(0x1a3)](_0x3a376a);for(let _0x2f1d25=_0x39a766['vATSr'](_0x27a655[_0x201a17(0x1fe)],0x1);_0x39a766[_0x201a17(0x1f5)](_0x2f1d25,0x0);_0x2f1d25--){_0x42ecf9[_0x201a17(0x1b3)](_0x27a655[_0x2f1d25],0x2);}}_0x39a766[_0x201a17(0x1a7)](_0x279838['config'][_0x201a17(0x216)],null)?process[_0x201a17(0x1aa)][_0x201a17(0x193)]=_0x279838[_0x201a17(0x1da)][_0x201a17(0x216)]:process[_0x201a17(0x1aa)][_0x201a17(0x193)]=_0x39a766[_0x201a17(0x1d6)];if(_0x2317ea)try{const {checkAccessibilityPlatformConfig:_0x97f4ff}=_0x39a766['FHIae'](require,_0x39a766[_0x201a17(0x1e9)]),{setAccessibilityCapabilities:_0x123ebb}=_0x39a766[_0x201a17(0x198)](require,_0x39a766[_0x201a17(0x1a2)]),_0x5a5151=_0x39a766[_0x201a17(0x19b)](_0x97f4ff,_0x279838[_0x201a17(0x1da)]);if(!helper[_0x201a17(0x1a5)](_0x279838['config'][_0x201a17(0x1ef)]))process[_0x201a17(0x1aa)][_0x201a17(0x1ec)]=_0x39a766['VfvoD'](String,!!_0x279838['config'][_0x201a17(0x1ef)]);else helper[_0x201a17(0x1a5)](process[_0x201a17(0x1aa)][_0x201a17(0x1ec)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5a5151?_0x39a766[_0x201a17(0x1d6)]:_0x39a766[_0x201a17(0x18d)]);process[_0x201a17(0x1aa)][_0x201a17(0x1bf)]=_0x5a5151?_0x39a766[_0x201a17(0x1d6)]:_0x39a766[_0x201a17(0x18d)],!BrowserstackCLI[_0x201a17(0x1e8)]()['isRunning']()&&_0x39a766[_0x201a17(0x1c3)](process[_0x201a17(0x1aa)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x39a766[_0x201a17(0x1d6)])&&_0x39a766[_0x201a17(0x225)](_0x123ebb,_0x279838[_0x201a17(0x1da)]);}catch(_0x25b1d8){logger[_0x201a17(0x196)](_0x201a17(0x1de)+util[_0x201a17(0x20b)](_0x25b1d8));}try{const _0x2d5bf7=_0x39a766[_0x201a17(0x1cc)](require,_0x39a766['kETtC']),_0x51a7a6=_0x39a766[_0x201a17(0x207)](require,_0x39a766[_0x201a17(0x202)]),{FRAMEWORKS:_0x537126}=_0x39a766['JcKko'](require,_0x39a766[_0x201a17(0x1b2)]),{checkAccessibilityPlatformConfig:_0x5df3a4}=_0x39a766['vPtIG'](require,_0x39a766[_0x201a17(0x1e9)]),{setAccessibilityCapabilities:_0x4e9bf4}=_0x39a766[_0x201a17(0x207)](require,_0x39a766[_0x201a17(0x1a2)]),_0x4923a9=helper[_0x201a17(0x1f8)](_0x39a766[_0x201a17(0x1d0)]);if(_0x4923a9){_0x51a7a6['setFrameworkDetail'](constants[_0x201a17(0x192)][_0x201a17(0x1e3)],constants[_0x201a17(0x192)][_0x201a17(0x1ae)]),_0x2d5bf7[_0x201a17(0x1e8)]()[_0x201a17(0x1a6)](_0x279838['config'],_0x279838[_0x201a17(0x1ad)],_0x279838[_0x201a17(0x1ce)]),await _0x2d5bf7['getInstance']()[_0x201a17(0x22e)]();const _0x1aea5c=_0x2d5bf7[_0x201a17(0x1e8)]()[_0x201a17(0x224)]();!helper[_0x201a17(0x1b6)](_0x1aea5c['browserstackAutomation'])&&(process['env'][_0x201a17(0x210)]=_0x39a766[_0x201a17(0x1d6)]);_0x39a766[_0x201a17(0x1c3)](_0x1aea5c[_0x201a17(0x22c)],![])&&(process[_0x201a17(0x1aa)]['BROWSERSTACK_AUTOMATION']=_0x39a766[_0x201a17(0x18d)]);const _0x1378d9=_0x35332c[_0x201a17(0x1e0)](_0x39a766['oJcht']);(_0x39a766[_0x201a17(0x1f5)](_0x1378d9,0x0)||_0x39a766[_0x201a17(0x1c3)](_0x1aea5c[_0x201a17(0x216)],![]))&&(process[_0x201a17(0x1aa)][_0x201a17(0x209)]=_0x39a766[_0x201a17(0x18d)]);if(!_0x2d5bf7[_0x201a17(0x1e8)]()['isRunning']()){let _0x1847cb=_0x39a766[_0x201a17(0x199)](process[_0x201a17(0x1aa)][_0x201a17(0x1ec)],_0x39a766[_0x201a17(0x1d6)]);_0x1847cb=_0x1847cb||_0x39a766[_0x201a17(0x19b)](_0x5df3a4,_0x279838[_0x201a17(0x1da)]),process['env'][_0x201a17(0x1ec)]=_0x1847cb,_0x1847cb&&_0x39a766[_0x201a17(0x218)](_0x4e9bf4,_0x279838[_0x201a17(0x1da)]);}}}catch(_0x532617){logger[_0x201a17(0x196)](_0x201a17(0x1e2)+util['format'](_0x532617));}PerformanceTester['end'](PerformanceEvents['SDK_SETUP']);let _0x53c9bd;_0x39a766[_0x201a17(0x1ab)](parallelCucumberRun,_0x1a5143,_0x57e5cd,_0x279838[_0x201a17(0x1da)],_0x42ecf9,_0x4637dd)[_0x201a17(0x1f7)](async _0xbcf10a=>{const _0x3b62b4=_0x201a17;PerformanceTester[_0x3b62b4(0x1f2)](PerformanceEvents[_0x3b62b4(0x1b9)]),_0x53c9bd=_0xbcf10a;const _0x41c5da=_0x39a766[_0x3b62b4(0x1e5)](printCucumberStats,_0xbcf10a);process[_0x3b62b4(0x1fd)]=_0x41c5da,_0x39a766[_0x3b62b4(0x1d2)](_0x4637dd[_0x3b62b4(0x1fe)],0x0)&&(logger[_0x3b62b4(0x196)](_0x39a766[_0x3b62b4(0x1d4)]),helper[_0x3b62b4(0x1cf)](_0x3a376a,_0x4637dd),logger[_0x3b62b4(0x196)](_0x39a766[_0x3b62b4(0x1c9)]),helper[_0x3b62b4(0x1af)](_0x3a376a));})['finally'](async()=>{const _0x583784=_0x201a17;PerformanceTester[_0x583784(0x1f2)](PerformanceEvents[_0x583784(0x1b9)]),_0x279838[_0x583784(0x19c)]=helper[_0x583784(0x20d)](_0x53c9bd,_0x39a766[_0x583784(0x206)]),testOpsHelper[_0x583784(0x1c6)]();try{await TestHubHandler[_0x583784(0x1b4)](),await BrowserstackCLI[_0x583784(0x1e8)]()['stop']();}catch(_0x1f65cd){logger[_0x583784(0x196)](_0x583784(0x21e)+util[_0x583784(0x20b)](_0x1f65cd));}try{const {browserstackFolderPath:_0x1d1409,tcgConfigPath:_0x21d0d1}=helper[_0x583784(0x1fb)]();fs[_0x583784(0x1b1)](_0x21d0d1),fs[_0x583784(0x1d8)](_0x1d1409);}catch(_0x5bdf0d){logger[_0x583784(0x196)](_0x39a766[_0x583784(0x194)],_0x5bdf0d);}await utilities[_0x583784(0x239)](_0x279838);});}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0xf69608=a5_0x5080;function a5_0x5080(_0x3c0f1b,_0x4ed753){const _0x588a19=a5_0x588a();return a5_0x5080=function(_0x5080d9,_0x4e53ad){_0x5080d9=_0x5080d9-0xbd;let _0xdcee68=_0x588a19[_0x5080d9];return _0xdcee68;},a5_0x5080(_0x3c0f1b,_0x4ed753);}(function(_0x5b41b4,_0x1a8a14){const _0x1bb90b=a5_0x5080,_0x386733=_0x5b41b4();while(!![]){try{const _0x326d7e=parseInt(_0x1bb90b(0x147))/0x1+parseInt(_0x1bb90b(0x149))/0x2*(parseInt(_0x1bb90b(0x116))/0x3)+-parseInt(_0x1bb90b(0xef))/0x4+-parseInt(_0x1bb90b(0xc4))/0x5+parseInt(_0x1bb90b(0x12d))/0x6+parseInt(_0x1bb90b(0xec))/0x7*(-parseInt(_0x1bb90b(0x12e))/0x8)+-parseInt(_0x1bb90b(0x10c))/0x9;if(_0x326d7e===_0x1a8a14)break;else _0x386733['push'](_0x386733['shift']());}catch(_0x556d0a){_0x386733['push'](_0x386733['shift']());}}}(a5_0x588a,0xd33d5));function a5_0x588a(){const _0xc983e9=['stringify','PoHxk','FCsPk','****\x20RESULTS\x20****','\x20passed','../../helpers/logger','initialize','mGJTB','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','setupTCGAuth','\x20failed','bold','\x20steps','jGIhx','ViWpT','346685MQAMVe','errorMessage','../../helpers/accessibility-automation/helper','true','ZEgLu','env','Generating\x20consolidated\x20report...','browserstackAutomation','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','YpAyw','../utils/constants','tmp','BROWSERSTACK_CLI_BIN_SESSION_ID','hZpNm','logLevel','then','length','\x20pending','BROWSERSTACK_TEST_OBSERVABILITY_YML','processSuccess','start','yBYeM','lvzZl','util','ZCUri','../../helpers/utilities','stepsUnknown','stepsFailed','\x20undefined','getErrorMessageFromResults','getPlatformName','../../helpers/helper','accessibility','setFrameworkDetail','../v2/browserstackCLI','zJqZS','stepsUndefined','platforms','TUzAP','56XsSguh','PHCfa','\x20skipped','3598576mvXran','scenariosFailed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','bFbVs','createDir','green','LAOlw','../../helpers/test-observability/constants','testObservability','BRGUt','YdWJb','lzEjm','isUndefined','debug','RoBmJ','CNHnw','isRunning','bgWhite','turboScaleUrl','red','../playwright/accessibility-helper','BROWSERSTACK_AUTOMATION','Jnjnr','stepsPending','format','OPuNH','cliConfig','printBuildLink','yellow','1094931PAEvme','stepsSkipped','SDK_CLEANUP','binSessionId','setBrowserstackConfig','xUURX','cyan','handleApp','mergeOutputFiles','FRAMEWORKS','519HnkKGe','nTdzb','removeDir','getConfig','Motsk','testContextOptions','setUserConfigPath','CUCUMBER','LhQvf','assign','bbmUz','qCzGv','join','HldQj','PLAYWRIGHT','stepsPassed','finalExecution','stepsAmbiguous','../../helpers/playwright-helper','rmdirSync','HYGOX','SDK_SETUP','isBrowserstackInfra','7112016DCuwjR','1511696LKXVZm','EVENTS','end','config','winstonLogger','iHYyQ','BROWSERSTACK_TEST_OBSERVABILITY','getPackageVersion','khZNd','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','parseFormatters','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','finally','configPath','../v2/cliUtils','stop','unlinkSync','accessibilityOptions','EfTCt','log','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','../../helpers/performance/performance-tester','cucumber','\x20ambiguous','wYyyz','765546WKTUtm','getHubUrl','17534dAzNDq','BROWSERSTACK_TEST_ACCESSIBILITY_YML','getInstance','argv','BfDVJ','\x20scenarios','ZvwXs','rrJYF','cUPXr','forEach','push','--disable-test-observability','false','nrnKk','BiJkf'];a5_0x588a=function(){return _0xc983e9;};return a5_0x588a();}const fs=require('fs'),path=require('path'),util=require(a5_0xf69608(0xdc)),logger=require(a5_0xf69608(0x15d))[a5_0xf69608(0x132)],helper=require(a5_0xf69608(0xe4)),utilities=require(a5_0xf69608(0xde)),constants=require(a5_0xf69608(0xcf)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require('chalk'),PerformanceTester=require(a5_0xf69608(0x143)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0xf69608(0x12f)],BrowserstackCLI=require(a5_0xf69608(0xe7)),CLIUtils=require(a5_0xf69608(0x13c)),{checkPwandBootstrapCli}=require(a5_0xf69608(0x128)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x18e1c1){const _0x9f8b0=a5_0xf69608,_0x4c52e6={};_0x4c52e6[_0x9f8b0(0x121)]=function(_0x1ecabb,_0x372a0f){return _0x1ecabb>_0x372a0f;},_0x4c52e6[_0x9f8b0(0x12a)]=function(_0x589306,_0x62b1d){return _0x589306-_0x62b1d;},_0x4c52e6['lzEjm']=function(_0x2787df,_0x4c8834){return _0x2787df>_0x4c8834;},_0x4c52e6[_0x9f8b0(0x108)]=function(_0x3b78c1,_0x43e5d2){return _0x3b78c1>_0x43e5d2;},_0x4c52e6[_0x9f8b0(0x133)]=function(_0xccc8d,_0x4333fd){return _0xccc8d>_0x4333fd;},_0x4c52e6[_0x9f8b0(0xe8)]=function(_0x4f643d,_0x23ee31){return _0x4f643d>_0x23ee31;},_0x4c52e6[_0x9f8b0(0x150)]=function(_0x397c2c,_0x5b2d83){return _0x397c2c>_0x5b2d83;},_0x4c52e6['RiHZh']=function(_0x604edc,_0x34815f){return _0x604edc>_0x34815f;},_0x4c52e6[_0x9f8b0(0xf5)]=function(_0x1f86bc,_0x5860af){return _0x1f86bc>_0x5860af;},_0x4c52e6['TUzAP']=function(_0x334cc7,_0x2cb8f5){return _0x334cc7+_0x2cb8f5;},_0x4c52e6[_0x9f8b0(0x120)]=function(_0x2c1c31,_0x22c3d3){return _0x2c1c31+_0x22c3d3;},_0x4c52e6[_0x9f8b0(0xed)]=function(_0x2471d1,_0x569777){return _0x2471d1+_0x569777;},_0x4c52e6[_0x9f8b0(0x140)]=function(_0x1fed5a,_0x101bc7){return _0x1fed5a+_0x101bc7;},_0x4c52e6[_0x9f8b0(0x123)]=function(_0x581475,_0x962a86){return _0x581475===_0x962a86;},_0x4c52e6['xUURX']=function(_0x1c6d5b,_0x26be94){return _0x1c6d5b===_0x26be94;},_0x4c52e6['bFbVs']=_0x9f8b0(0x15b);const _0x3ca2cf=_0x4c52e6;let _0x3ec869=0x0;if(_0x3ca2cf[_0x9f8b0(0x111)](_0x18e1c1[_0x9f8b0(0xd5)],0x0))return _0x3ec869;return console[_0x9f8b0(0x141)](chalk[_0x9f8b0(0xc0)][_0x9f8b0(0x100)](_0x3ca2cf[_0x9f8b0(0xf2)])),_0x18e1c1[_0x9f8b0(0x152)](_0x2bace1=>{const _0x52dbfd=_0x9f8b0,_0x1210b9=_0x2bace1[0x0],_0x21698c=_0x2bace1[0x1];helper[_0x52dbfd(0x12c)]()&&console[_0x52dbfd(0x141)]('\x0a'+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x10b)](''+helper[_0x52dbfd(0xe3)](_0x1210b9)));const _0x585e53=_0x21698c['scenarios'],_0x3a7df6=_0x21698c['steps'],_0x2572fb=_0x21698c[_0x52dbfd(0xf0)],_0x103fc8=_0x21698c[_0x52dbfd(0xe0)],_0x5657ee=_0x21698c[_0x52dbfd(0x125)],_0x4c9932=_0x21698c[_0x52dbfd(0x10d)],_0x1c8c2f=_0x21698c[_0x52dbfd(0x106)],_0x3ea47c=_0x21698c[_0x52dbfd(0xe9)],_0x341ae4=_0x21698c[_0x52dbfd(0xdf)],_0xe78da0=_0x21698c[_0x52dbfd(0x127)],_0x33b76d=_0x21698c[_0x52dbfd(0xd8)];let _0x359ee3=_0x585e53+_0x52dbfd(0x14e);const _0x43ab45=_0x3ca2cf['qCzGv'](_0x3ca2cf['HYGOX'](_0x585e53,_0x2572fb),0x0)?_0x3ca2cf[_0x52dbfd(0x12a)](_0x585e53,_0x2572fb):0x0;if(_0x3ca2cf['qCzGv'](_0x2572fb,0x0)&&_0x3ca2cf[_0x52dbfd(0xfa)](_0x43ab45,0x0))_0x359ee3+='\x20('+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x102)](_0x2572fb+_0x52dbfd(0xbf))+',\x20'+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0xf4)](_0x43ab45+_0x52dbfd(0x15c))+')';else(_0x3ca2cf[_0x52dbfd(0x108)](_0x2572fb,0x0)||_0x3ca2cf[_0x52dbfd(0x133)](_0x43ab45,0x0))&&(_0x359ee3+=_0x3ca2cf['zJqZS'](_0x2572fb,0x0)?'\x20('+chalk['bold']['red'](_0x2572fb+_0x52dbfd(0xbf))+')':'\x20('+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0xf4)](_0x43ab45+_0x52dbfd(0x15c))+')');const _0x5daa9c=_0x3a7df6+_0x52dbfd(0xc1),_0x31236b=[];_0x3ca2cf[_0x52dbfd(0x150)](_0xe78da0,0x0)&&_0x31236b[_0x52dbfd(0x153)](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x102)](_0xe78da0+_0x52dbfd(0x145)));_0x3ca2cf['RiHZh'](_0x103fc8,0x0)&&_0x31236b['push'](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x102)](_0x103fc8+_0x52dbfd(0xbf)));_0x3ca2cf[_0x52dbfd(0xf5)](_0x5657ee,0x0)&&_0x31236b[_0x52dbfd(0x153)](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0xf4)](_0x5657ee+'\x20passed'));_0x3ca2cf['zJqZS'](_0x1c8c2f,0x0)&&_0x31236b['push'](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x10b)](_0x1c8c2f+_0x52dbfd(0xd6)));_0x3ca2cf[_0x52dbfd(0x108)](_0x4c9932,0x0)&&_0x31236b[_0x52dbfd(0x153)](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x112)](_0x4c9932+_0x52dbfd(0xee)));_0x3ca2cf[_0x52dbfd(0x108)](_0x3ea47c,0x0)&&_0x31236b[_0x52dbfd(0x153)](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x10b)](_0x3ea47c+_0x52dbfd(0xe1)));_0x3ca2cf[_0x52dbfd(0xf5)](_0x341ae4,0x0)&&_0x31236b[_0x52dbfd(0x153)](''+chalk[_0x52dbfd(0xc0)][_0x52dbfd(0x10b)](_0x341ae4+_0x52dbfd(0xee)));const _0x49e654=_0x3ca2cf[_0x52dbfd(0xeb)](_0x3ca2cf['bbmUz'](_0x3ca2cf[_0x52dbfd(0x120)](_0x5daa9c,'('),_0x31236b[_0x52dbfd(0x122)](',\x20')),')');console[_0x52dbfd(0x141)](_0x3ca2cf['TUzAP'](_0x3ca2cf[_0x52dbfd(0x120)](_0x3ca2cf['PHCfa'](_0x3ca2cf[_0x52dbfd(0x140)]('\x0a',_0x359ee3),'\x0a'),_0x49e654),'\x0a')),_0x3ca2cf[_0x52dbfd(0x123)](_0x33b76d,![])&&(_0x3ec869=0x1);}),_0x3ec869;}async function run(_0x156d71,_0x14ac54,_0x3a4d0f){const _0x3a5444=a5_0xf69608,_0x22a863={'PoHxk':function(_0xd01dc7,_0x537dfc){return _0xd01dc7(_0x537dfc);},'RoBmJ':function(_0x36fbb5,_0x55cd49){return _0x36fbb5>_0x55cd49;},'khZNd':_0x3a5444(0xca),'BRGUt':_0x3a5444(0xf1),'FCsPk':_0x3a5444(0x144),'Motsk':'error\x20removing\x20tcg\x20config\x20file','LhQvf':'@playwright/test','lvzZl':function(_0x2de033,_0x2c7f6e,_0x1efcf8,_0x3f0b87){return _0x2de033(_0x2c7f6e,_0x1efcf8,_0x3f0b87);},'wYyyz':_0x3a5444(0xd0),'GeGcM':function(_0x21b841,_0x4eda0c){return _0x21b841-_0x4eda0c;},'kykNZ':function(_0x5e5c70,_0x3ede8e){return _0x5e5c70>=_0x3ede8e;},'jGIhx':function(_0x4ac97c,_0x4dc065){return _0x4ac97c!=_0x4dc065;},'BiJkf':_0x3a5444(0xc7),'ViWpT':function(_0x1f2d89,_0x20738f){return _0x1f2d89(_0x20738f);},'YpAyw':_0x3a5444(0xc6),'ZCUri':_0x3a5444(0x103),'BfDVJ':function(_0x3f3281,_0x568d3d){return _0x3f3281(_0x568d3d);},'Jnjnr':_0x3a5444(0x155),'mGJTB':function(_0x542d69,_0x4468a5){return _0x542d69===_0x4468a5;},'cUPXr':function(_0x30a847,_0x2ee6b2){return _0x30a847(_0x2ee6b2);},'LQskR':_0x3a5444(0xe7),'nrnKk':function(_0x4cacef,_0x2e1e4d){return _0x4cacef(_0x2e1e4d);},'YdWJb':_0x3a5444(0x13c),'nTdzb':function(_0x43fbdb,_0x142e51){return _0x43fbdb(_0x142e51);},'ZEgLu':_0x3a5444(0xf6),'yBYeM':_0x3a5444(0x154),'CNHnw':function(_0x32865c,_0x544c63){return _0x32865c>=_0x544c63;},'hZpNm':function(_0x2afad1,_0x4eb823){return _0x2afad1===_0x4eb823;},'ZvwXs':function(_0x61d872,_0x413138,_0xa2aac6,_0x11700d,_0x534549,_0x4befaa){return _0x61d872(_0x413138,_0xa2aac6,_0x11700d,_0x534549,_0x4befaa);}},_0x3947f5=helper[_0x3a5444(0x135)](_0x22a863['LhQvf']);global['__isPlaywrightInstalled']=!!_0x3947f5,await _0x3a4d0f[_0x3a5444(0x15e)](_0x156d71),await _0x22a863[_0x3a5444(0xdb)](checkPwandBootstrapCli,_0x3947f5,constants['FRAMEWORKS'][_0x3a5444(0x11d)],_0x3a4d0f);BrowserstackCLI[_0x3a5444(0x14b)]()[_0x3a5444(0x10f)]&&(process[_0x3a5444(0xc9)][_0x3a5444(0xd1)]=BrowserstackCLI[_0x3a5444(0x14b)]()[_0x3a5444(0x10f)]);helper[_0x3a5444(0x11c)](_0x3a4d0f['framework'],_0x156d71);!helper[_0x3a5444(0x12c)]()&&await _0x3a4d0f[_0x3a5444(0xbe)]();await helper[_0x3a5444(0x113)](_0x3a4d0f['config']);const _0x35b4af=helper['useW3C'](_0x3a4d0f['config']);!helper[_0x3a5444(0xfb)](_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0x13f)])&&(process[_0x3a5444(0xc9)][_0x3a5444(0xcd)]=JSON[_0x3a5444(0x158)](_0x3a4d0f['config'][_0x3a5444(0x13f)]));if(!BrowserstackCLI[_0x3a5444(0x14b)]()[_0x3a5444(0xff)]()){const _0x289172=await TestHubHandler['launchBuild'](constants[_0x3a5444(0x115)][_0x3a5444(0x11d)],_0x3a4d0f);}let _0x53e721=[];if(!helper[_0x3a5444(0x12c)]()){const _0xbf42ed={};_0xbf42ed[_0x3a5444(0xea)]=[],_0x53e721=helper[_0x3a5444(0xcc)](Object[_0x3a5444(0x11f)]({},_0x3a4d0f[_0x3a5444(0x131)],_0xbf42ed),_0x35b4af,constants[_0x3a5444(0x115)][_0x3a5444(0x11d)]);}else _0x53e721=helper[_0x3a5444(0xcc)](_0x3a4d0f[_0x3a5444(0x131)],_0x35b4af,constants['FRAMEWORKS'][_0x3a5444(0x11d)]);if(!_0x3a4d0f[_0x3a5444(0x131)])return;const _0x457846=_0x3a4d0f['config']['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x156d71,_0x14ac54,_0x3a4d0f[_0x3a5444(0x131)],constants[_0x3a5444(0x115)][_0x3a5444(0x11d)])||0x1,_0x4b0fcd={'server':helper[_0x3a5444(0x148)](_0x3a4d0f['config']),'proxySettings':_0x3a4d0f['config']['proxySettings'],'maxWorkers':_0x457846,'browserStackLogLevel':_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0xd3)],'skipSessionName':_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0x11b)]['skipSessionName'],'skipSessionStatus':_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0x11b)]['skipSessionStatus'],'turboScaleUrl':_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0x101)]},_0x38b461=process[_0x3a5444(0x14c)],[_0x17974,_0x4fecba]=helper[_0x3a5444(0x138)](_0x38b461),_0x4bc029=path[_0x3a5444(0x122)](process['cwd'](),_0x22a863[_0x3a5444(0x146)]);if(_0x22a863[_0x3a5444(0xfd)](_0x4fecba['length'],0x0)){helper[_0x3a5444(0xf3)](_0x4bc029);for(let _0xa91fbc=_0x22a863['GeGcM'](_0x17974['length'],0x1);_0x22a863['kykNZ'](_0xa91fbc,0x0);_0xa91fbc--){_0x38b461['splice'](_0x17974[_0xa91fbc],0x2);}}_0x22a863[_0x3a5444(0xc2)](_0x3a4d0f[_0x3a5444(0x131)][_0x3a5444(0xf7)],null)?process[_0x3a5444(0xc9)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x3a4d0f['config'][_0x3a5444(0xf7)]:process[_0x3a5444(0xc9)][_0x3a5444(0xd7)]=_0x22a863['BiJkf'];if(_0x3947f5)try{const {checkAccessibilityPlatformConfig:_0xe3bc3f}=_0x22a863['ViWpT'](require,_0x22a863[_0x3a5444(0xce)]),{setAccessibilityCapabilities:_0x4b02be}=_0x22a863[_0x3a5444(0xc3)](require,_0x22a863[_0x3a5444(0xdd)]),_0x95dde3=_0x22a863[_0x3a5444(0x14d)](_0xe3bc3f,_0x3a4d0f[_0x3a5444(0x131)]);if(!helper[_0x3a5444(0xfb)](_0x3a4d0f['config'][_0x3a5444(0xe5)]))process[_0x3a5444(0xc9)][_0x3a5444(0x14a)]=_0x22a863[_0x3a5444(0x14d)](String,!!_0x3a4d0f['config'][_0x3a5444(0xe5)]);else helper[_0x3a5444(0xfb)](process['env'][_0x3a5444(0x14a)])&&(process['env'][_0x3a5444(0x14a)]=_0x95dde3?_0x22a863[_0x3a5444(0x157)]:_0x22a863[_0x3a5444(0x105)]);process[_0x3a5444(0xc9)][_0x3a5444(0x139)]=_0x95dde3?_0x22a863['BiJkf']:_0x22a863[_0x3a5444(0x105)],!BrowserstackCLI[_0x3a5444(0x14b)]()[_0x3a5444(0xff)]()&&_0x22a863[_0x3a5444(0x15f)](process['env'][_0x3a5444(0x14a)],_0x22a863[_0x3a5444(0x157)])&&_0x22a863[_0x3a5444(0x159)](_0x4b02be,_0x3a4d0f[_0x3a5444(0x131)]);}catch(_0xae32a7){logger[_0x3a5444(0xfc)](_0x3a5444(0x142)+util[_0x3a5444(0x107)](_0xae32a7));}try{const _0x46ad72=_0x22a863[_0x3a5444(0x151)](require,_0x22a863['LQskR']),_0x17e5e8=_0x22a863[_0x3a5444(0x156)](require,_0x22a863[_0x3a5444(0xf9)]),{FRAMEWORKS:_0x49a007}=_0x22a863[_0x3a5444(0x117)](require,_0x22a863[_0x3a5444(0xc8)]),{checkAccessibilityPlatformConfig:_0x390f4a}=_0x22a863[_0x3a5444(0x14d)](require,_0x22a863[_0x3a5444(0xce)]),{setAccessibilityCapabilities:_0x7b52bb}=_0x22a863[_0x3a5444(0x117)](require,_0x22a863['ZCUri']),_0x113214=helper[_0x3a5444(0x135)](_0x22a863[_0x3a5444(0x11e)]);if(_0x113214){_0x17e5e8[_0x3a5444(0xe6)](constants[_0x3a5444(0x115)]['CUCUMBER'],constants[_0x3a5444(0x115)][_0x3a5444(0x124)]),_0x46ad72[_0x3a5444(0x14b)]()[_0x3a5444(0x110)](_0x3a4d0f[_0x3a5444(0x131)],_0x3a4d0f[_0x3a5444(0x13b)],_0x3a4d0f[_0x3a5444(0x109)]),await _0x46ad72[_0x3a5444(0x14b)]()['bootstrap']();const _0x709fab=_0x46ad72[_0x3a5444(0x14b)]()[_0x3a5444(0x119)]();!helper['isFalse'](_0x709fab[_0x3a5444(0xcb)])&&(process['env'][_0x3a5444(0x104)]=_0x22a863[_0x3a5444(0x157)]);_0x22a863[_0x3a5444(0x15f)](_0x709fab['browserstackAutomation'],![])&&(process[_0x3a5444(0xc9)][_0x3a5444(0x104)]=_0x22a863[_0x3a5444(0x105)]);const _0x4a9652=_0x14ac54['indexOf'](_0x22a863[_0x3a5444(0xda)]);(_0x22a863[_0x3a5444(0xfe)](_0x4a9652,0x0)||_0x22a863[_0x3a5444(0xd2)](_0x709fab[_0x3a5444(0xf7)],![]))&&(process[_0x3a5444(0xc9)][_0x3a5444(0x134)]=_0x22a863[_0x3a5444(0x105)]);if(!_0x46ad72[_0x3a5444(0x14b)]()[_0x3a5444(0xff)]()){let _0x153140=_0x22a863[_0x3a5444(0xd2)](process[_0x3a5444(0xc9)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x22a863[_0x3a5444(0x157)]);_0x153140=_0x153140||_0x22a863['PoHxk'](_0x390f4a,_0x3a4d0f[_0x3a5444(0x131)]),process['env'][_0x3a5444(0x14a)]=_0x153140,_0x153140&&_0x22a863[_0x3a5444(0x159)](_0x7b52bb,_0x3a4d0f[_0x3a5444(0x131)]);}}}catch(_0x44a0b2){logger['debug'](_0x3a5444(0xbd)+util[_0x3a5444(0x107)](_0x44a0b2));}PerformanceTester[_0x3a5444(0x130)](PerformanceEvents[_0x3a5444(0x12b)]);let _0x46b832;_0x22a863[_0x3a5444(0x14f)](parallelCucumberRun,_0x53e721,_0x4b0fcd,_0x3a4d0f['config'],_0x38b461,_0x4fecba)[_0x3a5444(0xd4)](async _0x229f03=>{const _0x59a71e=_0x3a5444;PerformanceTester[_0x59a71e(0xd9)](PerformanceEvents['SDK_CLEANUP']),_0x46b832=_0x229f03;const _0x3085ce=_0x22a863[_0x59a71e(0x159)](printCucumberStats,_0x229f03);process['exitCode']=_0x3085ce,_0x22a863[_0x59a71e(0xfd)](_0x4fecba[_0x59a71e(0xd5)],0x0)&&(logger[_0x59a71e(0xfc)](_0x22a863[_0x59a71e(0x136)]),helper[_0x59a71e(0x114)](_0x4bc029,_0x4fecba),logger[_0x59a71e(0xfc)](_0x22a863[_0x59a71e(0xf8)]),helper[_0x59a71e(0x118)](_0x4bc029));})[_0x3a5444(0x13a)](async()=>{const _0x4a6392=_0x3a5444;PerformanceTester['start'](PerformanceEvents[_0x4a6392(0x10e)]),_0x3a4d0f[_0x4a6392(0xc5)]=helper[_0x4a6392(0xe2)](_0x46b832,_0x22a863[_0x4a6392(0x15a)]),testOpsHelper[_0x4a6392(0x10a)]();try{await TestHubHandler[_0x4a6392(0x13d)](),await BrowserstackCLI[_0x4a6392(0x14b)]()[_0x4a6392(0x13d)]();}catch(_0x240e2d){logger['debug'](_0x4a6392(0x137)+util[_0x4a6392(0x107)](_0x240e2d));}try{const {browserstackFolderPath:_0x1ded6d,tcgConfigPath:_0x24e340}=helper['getTCGConfigFilePaths']();fs[_0x4a6392(0x13e)](_0x24e340),fs[_0x4a6392(0x129)](_0x1ded6d);}catch(_0x1112cb){logger[_0x4a6392(0xfc)](_0x22a863[_0x4a6392(0x11a)],_0x1112cb);}await utilities[_0x4a6392(0x126)](_0x3a4d0f);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x58194d=a6_0x261e;(function(_0x14c6a7,_0x5b02ee){const _0x45b2a6=a6_0x261e,_0x1a1100=_0x14c6a7();while(!![]){try{const _0x4080b7=-parseInt(_0x45b2a6(0x289))/0x1*(parseInt(_0x45b2a6(0x2a1))/0x2)+parseInt(_0x45b2a6(0x251))/0x3*(-parseInt(_0x45b2a6(0x2c3))/0x4)+-parseInt(_0x45b2a6(0x28e))/0x5+-parseInt(_0x45b2a6(0x23a))/0x6+parseInt(_0x45b2a6(0x20d))/0x7*(-parseInt(_0x45b2a6(0x242))/0x8)+-parseInt(_0x45b2a6(0x22d))/0x9+parseInt(_0x45b2a6(0x284))/0xa;if(_0x4080b7===_0x5b02ee)break;else _0x1a1100['push'](_0x1a1100['shift']());}catch(_0x597070){_0x1a1100['push'](_0x1a1100['shift']());}}}(a6_0x4b72,0x4f0e9));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x58194d(0x1ff)),util=require(a6_0x58194d(0x20e)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x58194d(0x2b0)),TestDetails=require(a6_0x58194d(0x23b)),TestObservabilityReporter=require(a6_0x58194d(0x240)),{o11yClassErrorHandler}=require(a6_0x58194d(0x255)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x58194d(0x295)),HookState=require(a6_0x58194d(0x26f)),CucumberUtils=require(a6_0x58194d(0x2bc)),TestInfo=require(a6_0x58194d(0x292)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')['winstonLogger'],_tests={},_testCasesData={};function a6_0x4b72(){const _0x38be08=['46108mZujpi','includes','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','BJSaX','hook','keyword','eVxyT','qPuez','sendTestRunEventForCucumber','actionLocation','PLAYWRIGHT','aIxpE','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','UNDEFINED','BdfdX','@cucumber/cucumber','format','pickle','FALDb','capability','dDlxH','GRpci','testCaseStartedId','finished_at','cVyiX','FXRwM','onPickle','../../v2/utils/cucumber-utils.js','description','FfMWU','gherkinDocument','eNgRw','assign','CUCUMBER','316520POhMid','isCLIReady','eventDataCollector','envelope','cliInitPromise','getTestUUID','map','snippetBuilder','_performCLIInitialization','sendHook','onTestRunStarted','onTestRunFinished','debug','getTestFramework','trackEvent','exception','FMKsR','pickleStepId','../../../helpers/helper','ayBfR','AMBIGUOUS','etEsJ','message','cucumber','onGherkinDocument','testCases','testRunStarted','zPjMr','testCaseMap','rytmV','onTestStepFinished','scenario','7CYbWBF','util','Exception\x20in\x20onTestStepStarted\x20event:\x20','toISOString','lohma','tIOVo','LOG_REPORT','onTestCaseStarted','createTestFrameworkData','dzFtD','NIWAU','PNerE','type','getTestCaseAttempt','HookRunStarted','text','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','steps','duration','onHook','tLcmu','onStepDefinition','vXwKy','zCMVZ','feature','testCaseStarted','UnhandledError','name','../../v2/cliUtils','setup','log','PASSED','5059521dMtYgw','push','testCaseFinished','yKJbX','onTestCase','3|0|1|4|2','testStepStarted','testCaseAttemptDataMap','rule','CoVAs','Exception\x20in\x20onTestStepFinished\x20event:\x20','test','createHookData','2601072RocONy','../../playwright/reporter/test-details.js','onTestStepStarted','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','POST','isBstackHook','../test-observability.js','find','5127392HiyJWu','finishedAt','PRE','WNJsa','testStepResult','tQxAT','ZqzXw','stepDefinition','cwd','testSteps','\x20\x20\x20\x20','YMikm','fpQhd','tMHla','seconds','6CAcpKV','isRunning','mbSrE','report','../../../helpers/test-observability/error-handler','background','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','qgiLa','binSessionId','HieCy','FAILED','CONFIG','getGherkinStepMap','SKIPPED','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','WeIkh','TEtok','getGherkinDocument','cucumber-js/test.setup.js',',\x20binSessionId:\x20','bootstrap','jmmTn','TestRunStarted','result','ensureCLIInitialized','INIT_TEST','AjZhw','UQQkF','onTestCaseFinished','pAaPG','../../v2/state/hookState.js','env','lEPop','forEach','testCaseId','../../utils/constants','uri','gherkinDocumentMap','__platform','isCliEnabled','iHgDC','YUMnr','failure','children','bstack','CLI\x20already\x20running\x20-\x20binSessionId:\x20','xbFKP','pickleMap','wkSLL','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','testRunFinished','31001130ksFTjf','flat','slwqr','logTestCaseFinished','hooks','17nqFjGd','pIGeK','hook_type','parseTestCaseAttempt','Executing\x20tests\x20for\x20','2947565uWEpbl','eventBroadcaster','testStepFinished','getInstance','../../../bin/v2/TestInfo.js','aeyQB','testCase','../../v2/state/testFrameworkState.js','yAgMS','status','extractStepContainers','toLowerCase','incrementCounter','UNKNOWN','pickleId','path','testStepId','TEST','dtJtR'];a6_0x4b72=function(){return _0x38be08;};return a6_0x4b72();}class BrowserstackFormatter extends Formatter{constructor(_0x4c927f){const _0x490b21=a6_0x58194d,_0x4099be={};_0x4099be[_0x490b21(0x27f)]=_0x490b21(0x2c6);const _0x17db6f=_0x4099be;super(_0x4c927f),this[_0x490b21(0x254)]={},_0x4c927f[_0x490b21(0x28f)]['on'](_0x17db6f['xbFKP'],async _0x35fa00=>{const _0x3d2e45=_0x490b21;switch(!![]){case!!_0x35fa00[_0x3d2e45(0x207)]:this[_0x3d2e45(0x1f7)](_0x35fa00['testRunStarted']);break;case!!_0x35fa00[_0x3d2e45(0x283)]:this[_0x3d2e45(0x1f8)](_0x35fa00['testRunFinished']);break;case!!_0x35fa00[_0x3d2e45(0x226)]:this['onTestCaseStarted'](_0x35fa00[_0x3d2e45(0x226)],_0x4c927f,_0x35fa00);break;case!!_0x35fa00['testCaseFinished']:this[_0x3d2e45(0x26d)](_0x35fa00[_0x3d2e45(0x22f)],_0x4c927f,_0x35fa00);break;case!!_0x35fa00['testStepStarted']:this[_0x3d2e45(0x23c)](_0x35fa00[_0x3d2e45(0x233)],_0x4c927f);break;case!!_0x35fa00[_0x3d2e45(0x290)]:this['onTestStepFinished'](_0x35fa00[_0x3d2e45(0x290)],_0x4c927f);break;case!!_0x35fa00[_0x3d2e45(0x2a5)]:this[_0x3d2e45(0x220)](_0x35fa00[_0x3d2e45(0x2a5)]);break;case!!_0x35fa00[_0x3d2e45(0x294)]:this[_0x3d2e45(0x231)](_0x35fa00[_0x3d2e45(0x294)]);break;case!!_0x35fa00[_0x3d2e45(0x2b2)]:this[_0x3d2e45(0x2bb)](_0x35fa00[_0x3d2e45(0x2b2)]);break;case!!_0x35fa00[_0x3d2e45(0x2bf)]:this[_0x3d2e45(0x205)](_0x35fa00[_0x3d2e45(0x2bf)]);break;}});}[a6_0x58194d(0x220)](_0x1f86a1){const _0x3f3a4d=a6_0x58194d;this['report'][_0x3f3a4d(0x288)]=Object[_0x3f3a4d(0x2c1)]([],this[_0x3f3a4d(0x254)][_0x3f3a4d(0x288)]||[]),this[_0x3f3a4d(0x254)]['hooks']['push'](_0x1f86a1);}[a6_0x58194d(0x2bb)](_0x166f9d){const _0x384c6e=a6_0x58194d;this[_0x384c6e(0x254)][_0x384c6e(0x2b2)]=Object[_0x384c6e(0x2c1)]([],this[_0x384c6e(0x254)][_0x384c6e(0x2b2)]||[],[_0x166f9d]),this[_0x384c6e(0x254)]['pickle'][_0x384c6e(0x22e)](_0x166f9d);}[a6_0x58194d(0x205)](_0x3f4daf){const _0x3ee308=a6_0x58194d;this[_0x3ee308(0x254)][_0x3ee308(0x2bf)]=Object[_0x3ee308(0x2c1)]([],this[_0x3ee308(0x254)]['gherkinDocument']||[],[_0x3f4daf]),this['report']['gherkinDocument'][_0x3ee308(0x22e)](_0x3f4daf);}['onSource'](_0x3b960e){const _0x2f0821=a6_0x58194d;this[_0x2f0821(0x254)]['source']=_0x3b960e;}[a6_0x58194d(0x222)](_0x41a5fc){const _0x2eae2c=a6_0x58194d;this['report'][_0x2eae2c(0x249)]=Object['assign']([],this[_0x2eae2c(0x254)]['stepDefinition']||[],[_0x41a5fc]),this[_0x2eae2c(0x254)][_0x2eae2c(0x249)]['push'](_0x41a5fc);}[a6_0x58194d(0x231)](_0x59acb2){const _0x5d353a=a6_0x58194d;this[_0x5d353a(0x254)][_0x5d353a(0x206)]=Object[_0x5d353a(0x2c1)]([],this[_0x5d353a(0x254)]['testCases']||[],[_0x59acb2]),this[_0x5d353a(0x254)]['testCases'][_0x5d353a(0x22e)](_0x59acb2);}[a6_0x58194d(0x287)](_0xfc6fb4){const _0xa0544a=a6_0x58194d,_0x259a0d={'etEsJ':function(_0x524aad,_0x203b6a){return _0x524aad!==_0x203b6a;},'jmmTn':_0xa0544a(0x27d),'fpQhd':function(_0x4b58a2,_0xcdfd9a){return _0x4b58a2+_0xcdfd9a;},'FXRwM':function(_0x12c1a7,_0x17ed41){return _0x12c1a7+_0x17ed41;},'lEPop':_0xa0544a(0x24c),'tLcmu':'\x20-\x20','vXwKy':function(_0x4e1ead,_0x49a280){return _0x4e1ead===_0x49a280;},'GRpci':_0xa0544a(0x25b),'BdfdX':function(_0x2f237b,_0x1401a4,_0x2f813b){return _0x2f237b(_0x1401a4,_0x2f813b);},'iHgDC':_0xa0544a(0x268),'tIOVo':_0xa0544a(0x203),'BJSaX':function(_0x1dd7c4,_0x367a83){return _0x1dd7c4+_0x367a83;},'pAaPG':function(_0x31ca60,_0xaa5862){return _0x31ca60+_0xaa5862;},'Xlzhm':function(_0x4b2bc9,_0x440bc7){return _0x4b2bc9+_0x440bc7;},'dDlxH':function(_0x510e2,_0x528aac){return _0x510e2+_0x528aac;},'TEtok':function(_0xc927b9,_0x378d99){return _0xc927b9+_0x378d99;},'YUMnr':function(_0x123210,_0x4dac8a){return _0x123210+_0x4dac8a;},'eVxyT':function(_0x498384,_0xdc85c5){return _0x498384+_0xdc85c5;},'ayBfR':function(_0x2c034b,_0x3408d2){return _0x2c034b+_0x3408d2;}};_0x259a0d[_0xa0544a(0x202)](global[_0xa0544a(0x277)],undefined)&&this[_0xa0544a(0x22b)](_0x259a0d[_0xa0544a(0x2b5)](_0x259a0d[_0xa0544a(0x261)]('\x0a',global[_0xa0544a(0x277)]),'\x0a'));const _0x3f7f62=this['eventDataCollector'][_0xa0544a(0x21a)](_0xfc6fb4[_0xa0544a(0x2b7)]);this[_0xa0544a(0x22b)](_0x259a0d[_0xa0544a(0x27a)](_0x259a0d[_0xa0544a(0x2a7)](_0x259a0d[_0xa0544a(0x200)](_0x259a0d[_0xa0544a(0x2ba)]('\x20\x20',_0x3f7f62[_0xa0544a(0x2bf)]['feature'][_0xa0544a(0x228)]),_0x259a0d[_0xa0544a(0x221)]),_0x3f7f62['pickle'][_0xa0544a(0x228)]),'\x0a'));const _0x27ac8b={};_0x27ac8b[_0xa0544a(0x24a)]=this['cwd'],_0x27ac8b['snippetBuilder']=this[_0xa0544a(0x1f4)],_0x27ac8b['supportCodeLibrary']=this['supportCodeLibrary'],_0x27ac8b['testCaseAttempt']=_0x3f7f62;const _0x469e93=formatterHelpers[_0xa0544a(0x28c)](_0x27ac8b);let _0x345d0b=![];_0x469e93[_0xa0544a(0x24b)]['forEach'](_0x2293a5=>{const _0x483676=_0xa0544a;if(_0x259a0d[_0x483676(0x202)](_0x2293a5['name'],_0x259a0d[_0x483676(0x266)])&&!this[_0x483676(0x23f)](_0x2293a5)){totalTests+=0x1,this[_0x483676(0x22b)](_0x259a0d['fpQhd'](_0x259a0d[_0x483676(0x24e)](_0x259a0d[_0x483676(0x2ba)](_0x259a0d[_0x483676(0x2ba)](_0x259a0d[_0x483676(0x2ba)](_0x259a0d[_0x483676(0x271)],_0x2293a5[_0x483676(0x2a6)]),_0x2293a5['text']||''),_0x259a0d[_0x483676(0x221)]),Status[_0x2293a5[_0x483676(0x268)]['status']]),'\x0a')),this[_0x483676(0x29a)](Status[_0x2293a5[_0x483676(0x268)][_0x483676(0x297)]]);if(_0x259a0d[_0x483676(0x223)](Status[_0x2293a5['result']['status']],_0x259a0d[_0x483676(0x2b6)])){_0x345d0b=!![];const _0x2c75c0=_0x259a0d[_0x483676(0x2af)](nestedKeyValue,_0x2293a5,[_0x259a0d[_0x483676(0x279)],_0x259a0d[_0x483676(0x212)]]);_0x2c75c0&&(testsErrorMessage[_0x259a0d[_0x483676(0x2a4)](_0x259a0d[_0x483676(0x26e)](_0x3f7f62[_0x483676(0x2bf)][_0x483676(0x225)][_0x483676(0x228)],_0x259a0d[_0x483676(0x221)]),_0x3f7f62['pickle'][_0x483676(0x228)])]=_0x2c75c0,this[_0x483676(0x22b)](_0x259a0d['Xlzhm'](_0x2c75c0,'\x0a')));}}}),_0x345d0b&&(testSuitesFailed+=0x1),this[_0xa0544a(0x22b)]('\x0a');}['logTestRunFinished'](_0x8d492f){}[a6_0x58194d(0x23f)](_0x4f26a8){const _0x55a5b1=a6_0x58194d,_0x908c3c={};_0x908c3c[_0x55a5b1(0x211)]=function(_0x1812c3,_0x404962){return _0x1812c3!==_0x404962;},_0x908c3c[_0x55a5b1(0x2be)]=_0x55a5b1(0x263);const _0x506d97=_0x908c3c;if(_0x506d97['lohma'](_0x4f26a8['sourceLocation'],undefined))return![];if(_0x4f26a8[_0x55a5b1(0x2aa)]&&_0x4f26a8[_0x55a5b1(0x2aa)][_0x55a5b1(0x275)][_0x55a5b1(0x2a2)](_0x506d97['FfMWU']))return!![];return![];}[a6_0x58194d(0x29a)](_0x3717c2){const _0x244ef7=a6_0x58194d,_0x36a81c={};_0x36a81c['ZqzXw']=_0x244ef7(0x25b),_0x36a81c[_0x244ef7(0x293)]=_0x244ef7(0x22c),_0x36a81c['WeIkh']=_0x244ef7(0x25e),_0x36a81c[_0x244ef7(0x1fd)]='PENDING',_0x36a81c[_0x244ef7(0x281)]=_0x244ef7(0x2ae),_0x36a81c['dzFtD']=_0x244ef7(0x29b),_0x36a81c[_0x244ef7(0x24d)]=_0x244ef7(0x201);const _0x1685c8=_0x36a81c;switch(_0x3717c2){case _0x1685c8[_0x244ef7(0x248)]:testsFailed+=0x1;break;case _0x1685c8[_0x244ef7(0x293)]:testsPassed+=0x1;break;case _0x1685c8[_0x244ef7(0x260)]:testsSkipped+=0x1;break;case _0x1685c8[_0x244ef7(0x1fd)]:testsPending+=0x1;break;case _0x1685c8[_0x244ef7(0x281)]:testsUndefined+=0x1;break;case _0x1685c8[_0x244ef7(0x216)]:testsUnknown+=0x1;break;case _0x1685c8[_0x244ef7(0x24d)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0x582fd2){const _0x36b423=a6_0x58194d,_0x3449da={'yYtQU':function(_0x13efca,_0xdb433e){return _0x13efca!==_0xdb433e;},'PKjDU':function(_0x2152e4,_0x2d2640){return _0x2152e4!==_0x2d2640;},'wqrqC':function(_0x353921){return _0x353921();},'yAgMS':function(_0x1a86d4,_0x33870d){return _0x1a86d4(_0x33870d);},'slwqr':function(_0x83626,_0x3116dd){return _0x83626+_0x3116dd;},'aIxpE':_0x36b423(0x204)};let _0x361ae3;if(_0x3449da['yYtQU'](process[_0x36b423(0x270)]['CONFIG'],undefined)){const _0x118535=JSON['parse'](process['env'][_0x36b423(0x25c)]);_0x361ae3=_0x118535[_0x36b423(0x2b4)];}_0x3449da['PKjDU'](_0x361ae3,undefined)&&_0x3449da['wqrqC'](isBrowserstackInfra)&&(global[_0x36b423(0x277)]=_0x3449da[_0x36b423(0x296)](getPlatformName,_0x361ae3),this['log'](_0x3449da[_0x36b423(0x286)](_0x36b423(0x28d)+global[_0x36b423(0x277)],'\x0a'))),_0x3449da['wqrqC'](shouldProcessEventForTesthub)&&(TestDetails['setup'](),this[_0x36b423(0x254)][_0x36b423(0x207)]=_0x582fd2,BrowserstackCLI[_0x36b423(0x291)]()['isCliEnabled']()&&await this[_0x36b423(0x2c4)]()&&(TestInfo[_0x36b423(0x22a)](_0x3449da[_0x36b423(0x2ac)]),await BrowserstackCLI[_0x36b423(0x291)]()[_0x36b423(0x1fa)]()[_0x36b423(0x1fb)](TestFrameworkState[_0x36b423(0x26a)],HookState[_0x36b423(0x244)],{})));}[a6_0x58194d(0x1f8)](_0x43d285){const _0x3c55a3=a6_0x58194d;this[_0x3c55a3(0x254)]['testRunFinished']=_0x43d285,this['logTestRunFinished'](_0x43d285);}async[a6_0x58194d(0x214)](_0x506399,_0x5dc753,_0x47f9c6){const _0x2c7fe7=a6_0x58194d,_0x18215d={'nvpjM':function(_0x49b6c6,_0x211a63){return _0x49b6c6(_0x211a63);},'zPjMr':_0x2c7fe7(0x267),'FALDb':function(_0x345fe3,_0x3935c3){return _0x345fe3&&_0x3935c3;}};testSuites+=0x1;if(_0x18215d['nvpjM'](shouldProcessEventForTesthub,_0x18215d['zPjMr']))try{this[_0x2c7fe7(0x254)][_0x2c7fe7(0x226)]=this[_0x2c7fe7(0x254)][_0x2c7fe7(0x226)]||{},this[_0x2c7fe7(0x254)]['testCaseStarted'][_0x506399['id']]=_0x506399;let _0x5560bc=null;BrowserstackCLI[_0x2c7fe7(0x291)]()[_0x2c7fe7(0x278)]()&&await this[_0x2c7fe7(0x2c4)]()?_0x5560bc=TestInfo[_0x2c7fe7(0x1f2)](_0x506399['id']):_0x5560bc=TestDetails[_0x2c7fe7(0x1f2)](_0x506399['id']);_testCasesData[_0x506399['id']]=Object[_0x2c7fe7(0x2c1)]({},_0x47f9c6);const _0x44f1e3=this[_0x2c7fe7(0x254)],_0x1039eb=_0x506399[_0x2c7fe7(0x273)],_0x44e004=_0x44f1e3['testCases']['find'](_0x3b7e41=>_0x3b7e41['id']===_0x1039eb)[_0x2c7fe7(0x29c)],_0x5b7f2a=_0x44f1e3[_0x2c7fe7(0x2b2)][_0x2c7fe7(0x241)](_0x5a8b6f=>_0x5a8b6f['id']===_0x44e004),_0x48e619=_0x44f1e3[_0x2c7fe7(0x2bf)][_0x2c7fe7(0x241)](_0x3f5093=>_0x3f5093[_0x2c7fe7(0x275)]===_0x5b7f2a[_0x2c7fe7(0x275)]),_0x5da209=_0x48e619[_0x2c7fe7(0x225)],_0x1be144={'uuid':_0x5560bc,'startedAt':new Date()[_0x2c7fe7(0x210)]()};if(_0x5b7f2a){const _0x24b18f={};_0x24b18f[_0x2c7fe7(0x228)]=_0x5b7f2a[_0x2c7fe7(0x228)],_0x1be144[_0x2c7fe7(0x20c)]=_0x24b18f;}if(_0x18215d[_0x2c7fe7(0x2b3)](_0x48e619,_0x5da209)){const _0x4979da={};_0x4979da[_0x2c7fe7(0x29d)]=_0x48e619[_0x2c7fe7(0x275)],_0x4979da[_0x2c7fe7(0x228)]=_0x5da209[_0x2c7fe7(0x228)],_0x4979da[_0x2c7fe7(0x2bd)]=_0x5da209[_0x2c7fe7(0x2bd)],_0x1be144[_0x2c7fe7(0x225)]=_0x4979da;}_tests[_0x1039eb]=_0x1be144;if(BrowserstackCLI[_0x2c7fe7(0x291)]()['isCliEnabled']()&&await this[_0x2c7fe7(0x2c4)]()){const _0x2286ec=await cucumberUtils[_0x2c7fe7(0x215)](_0x1be144,_0x5b7f2a,_0x47f9c6,_0x48e619,_0x506399['id'],_0x18215d[_0x2c7fe7(0x208)]),_0x427522={};_0x427522[_0x2c7fe7(0x238)]=_0x2286ec,await BrowserstackCLI[_0x2c7fe7(0x291)]()[_0x2c7fe7(0x1fa)]()[_0x2c7fe7(0x1fb)](TestFrameworkState['TEST'],HookState[_0x2c7fe7(0x244)],_0x427522);return;}await testObservabilityReporter[_0x2c7fe7(0x2a9)](_0x47f9c6,_0x48e619,_0x5b7f2a,_0x18215d[_0x2c7fe7(0x208)],_0x1be144);}catch(_0x2a4a1d){logger[_0x2c7fe7(0x1f9)](_0x2c7fe7(0x23d)+util[_0x2c7fe7(0x2b1)](_0x2a4a1d)+'\x20');}}async['onTestCaseFinished'](_0x4cf839,_0x47a5ec,_0x3af52f){const _0xbf94f8=a6_0x58194d,_0x2977d7={'yKJbX':function(_0xbab954,_0x1ea7d4){return _0xbab954(_0x1ea7d4);},'HieCy':'TestRunFinished','qgiLa':_0xbf94f8(0x238)};this[_0xbf94f8(0x287)](_0x4cf839);if(_0x2977d7[_0xbf94f8(0x230)](shouldProcessEventForTesthub,_0x2977d7[_0xbf94f8(0x25a)]))try{this[_0xbf94f8(0x254)][_0xbf94f8(0x22f)]=this[_0xbf94f8(0x254)][_0xbf94f8(0x22f)]||{},this[_0xbf94f8(0x254)][_0xbf94f8(0x22f)][_0x4cf839['testCaseStartedId']]=_0x4cf839,_testCasesData[_0x3af52f['id']]=Object[_0xbf94f8(0x2c1)]({},_0x3af52f);const _0x12b240=_0x4cf839['testCaseStartedId'],_0x5a1fb4=_0x47a5ec['eventDataCollector'][_0xbf94f8(0x234)][_0x12b240][_0xbf94f8(0x273)],_0x2f755c=_0x47a5ec[_0xbf94f8(0x2c5)][_0xbf94f8(0x209)][_0x5a1fb4],_0x4953b0=_0x2f755c[_0xbf94f8(0x29c)],_0x5341fa=_0x47a5ec['eventDataCollector'][_0xbf94f8(0x280)][_0x4953b0],_0x46fbfc=this[_0xbf94f8(0x262)](_0x47a5ec,_0x5341fa),_0x51a693=_0x46fbfc[_0xbf94f8(0x225)],_0x531696=_tests[_0x5a1fb4];_0x531696&&(delete _tests[_0x5a1fb4],_0x531696[_0xbf94f8(0x243)]=new Date()['toISOString']());if(BrowserstackCLI[_0xbf94f8(0x291)]()[_0xbf94f8(0x278)]()&&await this[_0xbf94f8(0x2c4)]()){const _0x5a6b3c=await cucumberUtils[_0xbf94f8(0x215)](_0x531696,_0x5341fa,_0x3af52f,_0x46fbfc,_0x12b240,_0x2977d7[_0xbf94f8(0x25a)]),_0x467d95={};_0x467d95[_0xbf94f8(0x238)]=_0x5a6b3c,await BrowserstackCLI[_0xbf94f8(0x291)]()[_0xbf94f8(0x1fa)]()[_0xbf94f8(0x1fb)](TestFrameworkState[_0xbf94f8(0x29f)],HookState[_0xbf94f8(0x23e)],_0x467d95);const _0x9c8a14={};_0x9c8a14['testUUID']=_0x4cf839[_0xbf94f8(0x2b7)],_0x9c8a14[_0xbf94f8(0x219)]=_0x2977d7[_0xbf94f8(0x258)],await BrowserstackCLI[_0xbf94f8(0x291)]()['getTestFramework']()[_0xbf94f8(0x1fb)](TestFrameworkState[_0xbf94f8(0x213)],HookState['POST'],_0x9c8a14);return;}await testObservabilityReporter[_0xbf94f8(0x2a9)](_0x3af52f,_0x46fbfc,_0x5341fa,_0x2977d7[_0xbf94f8(0x25a)],_0x531696);}catch(_0x5003c7){logger[_0xbf94f8(0x1f9)](_0xbf94f8(0x21d)+util[_0xbf94f8(0x2b1)](_0x5003c7));}}async[a6_0x58194d(0x23c)](_0x3de81b,_0x5d59e6){const _0xdd9313=a6_0x58194d,_0x125ec1={'qPuez':function(_0x45716c,_0xf54bf7){return _0x45716c(_0xf54bf7);},'UQQkF':_0xdd9313(0x21b),'pIGeK':function(_0x327c3a,_0x38d715){return _0x327c3a!==_0x38d715;},'dtJtR':_0xdd9313(0x29e)};if(_0x125ec1[_0xdd9313(0x2a8)](shouldProcessEventForTesthub,_0x125ec1[_0xdd9313(0x26c)]))try{this[_0xdd9313(0x254)][_0xdd9313(0x233)]=this['report']['testStepStarted']||{},this['report']['testStepStarted'][_0x3de81b[_0xdd9313(0x2b7)]]=_0x3de81b;const _0x26de43=_0x3de81b[_0xdd9313(0x2b7)],_0x5976e0=_0x5d59e6[_0xdd9313(0x2c5)][_0xdd9313(0x234)][_0x26de43][_0xdd9313(0x273)],_0x52b093=this[_0xdd9313(0x254)][_0xdd9313(0x206)][_0xdd9313(0x241)](_0x4bab79=>_0x4bab79['id']===_0x5976e0)[_0xdd9313(0x29c)],_0x237797=this[_0xdd9313(0x254)][_0xdd9313(0x2b2)][_0xdd9313(0x241)](_0x467dec=>_0x467dec['id']===_0x52b093),_0x2c6a5d=this[_0xdd9313(0x254)][_0xdd9313(0x206)][_0xdd9313(0x241)](_0x4a7199=>_0x4a7199['id']===_0x5976e0)['testSteps'],_0xc3367e=this['report'][_0xdd9313(0x233)][_0x26de43][_0xdd9313(0x29e)],_0x41014b=_0x2c6a5d[_0xdd9313(0x241)](_0x4c8e73=>_0x4c8e73['id']===_0xc3367e)[_0xdd9313(0x1fe)],_0x424f7c=_0x237797[_0xdd9313(0x21e)][_0xdd9313(0x241)](_0x54f16c=>_0x54f16c['id']===_0x41014b);if(_0x41014b&&_tests[_0x5976e0]&&_0x125ec1[_0xdd9313(0x28a)](_tests[_0x5976e0][_0x125ec1[_0xdd9313(0x2a0)]],_0xc3367e)){_tests[_0x5976e0][_0x125ec1[_0xdd9313(0x2a0)]]=_0xc3367e;const _0x2c5754={};_0x2c5754[_0xdd9313(0x21e)]=[];const _0x5edce4=_tests[_0x5976e0]||_0x2c5754;_0x5edce4&&!_0x5edce4[_0xdd9313(0x21e)]&&(_0x5edce4[_0xdd9313(0x21e)]=[]),_0x5edce4[_0xdd9313(0x21e)]['push']({'id':_0x424f7c['id'],'text':_0x424f7c[_0xdd9313(0x21c)],'started_at':new Date()[_0xdd9313(0x210)]()}),_tests[_0x5976e0]=_0x5edce4;}if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await this[_0xdd9313(0x2c4)]()){const _0x353fe1=await cucumberUtils[_0xdd9313(0x239)](this[_0xdd9313(0x254)],_0x26de43,_0x125ec1['UQQkF'],_0x2c6a5d,_0xc3367e,_tests[_0x5976e0]);_0x353fe1&&await BrowserstackCLI['getInstance']()[_0xdd9313(0x1fa)]()[_0xdd9313(0x1fb)](TestFrameworkState[_0x353fe1[_0xdd9313(0x28b)]],HookState[_0xdd9313(0x244)],{'hookData':_0x353fe1,'testUUID':_0x3de81b[_0xdd9313(0x2b7)]});return;}await testObservabilityReporter[_0xdd9313(0x1f6)](this['report'],_0x26de43,_0x125ec1[_0xdd9313(0x26c)],_0x2c6a5d,_0xc3367e,_tests[_0x5976e0]);}catch(_0x50a049){logger['debug'](_0xdd9313(0x20f)+util[_0xdd9313(0x2b1)](_0x50a049));}}async[a6_0x58194d(0x20b)](_0x42793c,_0x1c3374){const _0x211279=a6_0x58194d,_0x39c536={'cVyiX':function(_0x48370a,_0xf51c00){return _0x48370a===_0xf51c00;},'eUZcV':_0x211279(0x232),'WNJsa':function(_0x5b83de,_0x13110c){return _0x5b83de(_0x13110c);},'mbSrE':'HookRunFinished','CoVAs':function(_0x2c1a1e,_0x438292){return _0x2c1a1e===_0x438292;},'NIWAU':'failed','tbksB':_0x211279(0x227),'hgbku':_0x211279(0x29e),'zCMVZ':'HookRunStarted','PNerE':_0x211279(0x2a5)};this['report'][_0x211279(0x290)]=this[_0x211279(0x254)]['testStepFinished']||{},this[_0x211279(0x254)][_0x211279(0x290)][_0x42793c[_0x211279(0x2b7)]]=_0x42793c;if(_0x39c536[_0x211279(0x245)](shouldProcessEventForTesthub,_0x39c536[_0x211279(0x253)]))try{const _0x40f5a6=_0x42793c[_0x211279(0x2b7)],_0x330916=_0x1c3374['eventDataCollector'][_0x211279(0x234)][_0x40f5a6][_0x211279(0x273)],_0x132b66=_0x1c3374['eventDataCollector'][_0x211279(0x209)][_0x330916],_0x28b4fb=_0x132b66[_0x211279(0x29c)],_0x2376d7=_0x1c3374['eventDataCollector'][_0x211279(0x280)][_0x28b4fb],_0x1d52f0=_0x42793c[_0x211279(0x29e)],_0x2f96ee=_0x132b66['testSteps'],_0x928c98=this[_0x211279(0x2c5)][_0x211279(0x21a)](_0x40f5a6),_0x1d0aa2=_0x2f96ee[_0x211279(0x241)](_0x4bcd59=>_0x4bcd59['id']===_0x1d52f0)[_0x211279(0x1fe)];let _0x4b6eca,_0x18c994;_0x42793c['testStepResult']&&_0x39c536[_0x211279(0x236)](_0x42793c[_0x211279(0x246)][_0x211279(0x297)]['toString']()[_0x211279(0x299)](),_0x39c536[_0x211279(0x217)])&&(_0x4b6eca=_0x39c536[_0x211279(0x2b9)](_0x42793c[_0x211279(0x246)]['exception'],undefined)?_0x42793c[_0x211279(0x246)][_0x211279(0x203)]:_0x42793c[_0x211279(0x246)][_0x211279(0x1fc)]['message'],_0x18c994=_0x39c536[_0x211279(0x2b9)](_0x42793c[_0x211279(0x246)][_0x211279(0x1fc)],undefined)?_0x39c536['tbksB']:_0x42793c[_0x211279(0x246)]['message']);if(_0x1d0aa2&&_tests[_0x330916][_0x39c536['hgbku']]){const _0x2af1e0=_0x2376d7[_0x211279(0x21e)][_0x211279(0x241)](_0x1ec224=>_0x1ec224['id']===_0x1d0aa2),_0x27b449={};_0x27b449[_0x211279(0x21e)]=[];const _0x1df2ff=_tests[_0x330916]||_0x27b449;!_0x1df2ff['steps']?_0x1df2ff[_0x211279(0x21e)]=[{'id':_0x2af1e0['id'],'text':_0x2af1e0[_0x211279(0x21c)],'finished_at':new Date()[_0x211279(0x210)](),'result':_0x42793c[_0x211279(0x246)][_0x211279(0x297)],'duration':_0x42793c[_0x211279(0x246)][_0x211279(0x21f)][_0x211279(0x250)],'failure':_0x4b6eca,'failureType':_0x18c994}]:_0x1df2ff['steps'][_0x211279(0x272)](_0x653f0c=>{const _0x17073a=_0x211279;if(_0x39c536[_0x17073a(0x2b9)](_0x653f0c['id'],_0x2af1e0['id'])){const _0x2d811c=_0x39c536['eUZcV']['split']('|');let _0x6264df=0x0;while(!![]){switch(_0x2d811c[_0x6264df++]){case'0':_0x653f0c[_0x17073a(0x268)]=_0x42793c['testStepResult']['status'];continue;case'1':_0x653f0c[_0x17073a(0x21f)]=_0x42793c[_0x17073a(0x246)][_0x17073a(0x21f)][_0x17073a(0x250)];continue;case'2':_0x653f0c['failureType']=_0x18c994;continue;case'3':_0x653f0c[_0x17073a(0x2b8)]=new Date()['toISOString']();continue;case'4':_0x653f0c[_0x17073a(0x27b)]=_0x4b6eca;continue;}break;}}}),_tests[_0x330916]=_0x1df2ff;}delete _tests[_0x330916][_0x39c536['hgbku']];if(BrowserstackCLI[_0x211279(0x291)]()[_0x211279(0x278)]()&&await this[_0x211279(0x2c4)]()){const _0x104d16=await cucumberUtils['createHookData'](this['report'],_0x40f5a6,_0x39c536[_0x211279(0x224)],_0x2f96ee,_0x1d52f0,_tests[_0x330916]);if(_0x104d16){await BrowserstackCLI[_0x211279(0x291)]()[_0x211279(0x1fa)]()[_0x211279(0x1fb)](TestFrameworkState[_0x104d16[_0x211279(0x28b)]],HookState['POST'],{'hookData':_0x104d16,'testUUID':_0x42793c[_0x211279(0x2b7)]});const _0xaa7e41={};_0xaa7e41['testUUID']=_0x42793c[_0x211279(0x2b7)],_0xaa7e41[_0x211279(0x219)]=_0x39c536[_0x211279(0x218)],await BrowserstackCLI[_0x211279(0x291)]()[_0x211279(0x1fa)]()['trackEvent'](TestFrameworkState[_0x211279(0x213)],HookState['POST'],_0xaa7e41);}return;}await testObservabilityReporter[_0x211279(0x1f6)](this[_0x211279(0x254)],_0x40f5a6,_0x39c536[_0x211279(0x253)],_0x2f96ee,_0x1d52f0,_tests[_0x330916]);}catch(_0x27a037){logger[_0x211279(0x1f9)](_0x211279(0x237)+util['format'](_0x27a037));}}['getGherkinStepMap'](_0x343679){const _0x4d7de6=a6_0x58194d,_0x5af474={};return _0x343679[_0x4d7de6(0x225)][_0x4d7de6(0x27c)]['map'](this[_0x4d7de6(0x298)])[_0x4d7de6(0x285)]()[_0x4d7de6(0x272)](_0x40d1ab=>_0x40d1ab[_0x4d7de6(0x21e)][_0x4d7de6(0x272)](_0x3c39e3=>_0x5af474[_0x3c39e3['id']]=_0x3c39e3)),_0x5af474;}[a6_0x58194d(0x298)](_0x5c23d1){const _0x47ec2e=a6_0x58194d,_0x2576d5={'AjZhw':function(_0x4580e7,_0x52fb31){return _0x4580e7(_0x52fb31);},'vFEye':function(_0x11b0ce,_0x46d514){return _0x11b0ce(_0x46d514);}};if(!_0x2576d5[_0x47ec2e(0x26b)](isUndefined,_0x5c23d1[_0x47ec2e(0x256)]))return[_0x5c23d1['background']];else{if(!_0x2576d5['vFEye'](isUndefined,_0x5c23d1[_0x47ec2e(0x235)]))return _0x5c23d1[_0x47ec2e(0x235)][_0x47ec2e(0x27c)][_0x47ec2e(0x1f3)](_0xa220e=>!isUndefined(_0xa220e[_0x47ec2e(0x256)])?_0xa220e[_0x47ec2e(0x256)]:_0xa220e[_0x47ec2e(0x20c)]);};return[_0x5c23d1[_0x47ec2e(0x20c)]];}[a6_0x58194d(0x262)](_0x1a1b0c,_0x1691e2){const _0x2c537f=a6_0x58194d;return Object['values'](_0x1a1b0c[_0x2c537f(0x2c5)][_0x2c537f(0x276)])[_0x2c537f(0x241)](_0x4c8d3a=>_0x4c8d3a[_0x2c537f(0x275)]===_0x1691e2['uri']);}async[a6_0x58194d(0x269)](){const _0xe1183a=a6_0x58194d;if(this[_0xe1183a(0x2c7)])return this[_0xe1183a(0x2c7)];return this[_0xe1183a(0x2c7)]=this['_performCLIInitialization'](),this[_0xe1183a(0x2c7)];}async[a6_0x58194d(0x1f5)](){const _0x45e012=a6_0x58194d,_0x197f75={'tQxAT':_0x45e012(0x282),'eNgRw':function(_0x5888fd,_0x3a3604){return _0x5888fd(_0x3a3604);},'tMHla':_0x45e012(0x229),'rytmV':_0x45e012(0x274)};try{const _0x2b825f=BrowserstackCLI[_0x45e012(0x291)]();if(_0x2b825f[_0x45e012(0x252)]())return logger[_0x45e012(0x1f9)](_0x45e012(0x27e)+_0x2b825f[_0x45e012(0x259)]),!![];const _0xce8728=process[_0x45e012(0x270)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(!_0xce8728)return logger[_0x45e012(0x1f9)](_0x197f75[_0x45e012(0x247)]),![];const _0x2dbbe6=_0x197f75[_0x45e012(0x2c0)](require,_0x197f75[_0x45e012(0x24f)]),{FRAMEWORKS:_0x59a75e}=_0x197f75[_0x45e012(0x2c0)](require,_0x197f75[_0x45e012(0x20a)]);return _0x2dbbe6['setFrameworkDetail'](_0x59a75e[_0x45e012(0x2c2)],_0x59a75e[_0x45e012(0x2ab)]),logger[_0x45e012(0x1f9)](_0x45e012(0x2a3)+_0xce8728),await _0x2b825f[_0x45e012(0x265)](),logger[_0x45e012(0x1f9)](_0x45e012(0x257)+_0x2b825f[_0x45e012(0x252)]()+_0x45e012(0x264)+_0x2b825f[_0x45e012(0x259)]),_0x2b825f[_0x45e012(0x252)]();}catch(_0x1e1574){return logger[_0x45e012(0x1f9)](_0x45e012(0x2ad)+util['format'](_0x1e1574)),![];}}async[a6_0x58194d(0x2c4)](){const _0x125614=a6_0x58194d;try{return await this[_0x125614(0x269)](),BrowserstackCLI['getInstance']()['isRunning']();}catch(_0x108e82){return logger['debug'](_0x125614(0x25f)+util[_0x125614(0x2b1)](_0x108e82)),![];}}}function a6_0x261e(_0x51e267,_0x34835e){const _0x4b72b4=a6_0x4b72();return a6_0x261e=function(_0x261e00,_0xdc2305){_0x261e00=_0x261e00-0x1f2;let _0x269d22=_0x4b72b4[_0x261e00];return _0x269d22;},a6_0x261e(_0x51e267,_0x34835e);}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x58194d(0x214),'onTestCaseFinished',a6_0x58194d(0x23c),a6_0x58194d(0x20b),'onTestRunStarted',a6_0x58194d(0x1f8),a6_0x58194d(0x298),a6_0x58194d(0x262),a6_0x58194d(0x25d)]);
|
|
1
|
+
function a6_0x5dcb(_0x1fa0f9,_0x1c76d0){const _0xd912d8=a6_0xd912();return a6_0x5dcb=function(_0x5dcb3a,_0x2b4327){_0x5dcb3a=_0x5dcb3a-0x85;let _0x8e2802=_0xd912d8[_0x5dcb3a];return _0x8e2802;},a6_0x5dcb(_0x1fa0f9,_0x1c76d0);}const a6_0x3dbbfa=a6_0x5dcb;(function(_0x34a478,_0x570f17){const _0x5a470e=a6_0x5dcb,_0x3e6bba=_0x34a478();while(!![]){try{const _0x8fe5cd=-parseInt(_0x5a470e(0x14d))/0x1*(-parseInt(_0x5a470e(0xe0))/0x2)+-parseInt(_0x5a470e(0x109))/0x3*(-parseInt(_0x5a470e(0x10c))/0x4)+parseInt(_0x5a470e(0xb5))/0x5*(-parseInt(_0x5a470e(0xe1))/0x6)+-parseInt(_0x5a470e(0xb8))/0x7+parseInt(_0x5a470e(0xf3))/0x8*(parseInt(_0x5a470e(0x11b))/0x9)+parseInt(_0x5a470e(0xcb))/0xa*(-parseInt(_0x5a470e(0x8f))/0xb)+parseInt(_0x5a470e(0x104))/0xc;if(_0x8fe5cd===_0x570f17)break;else _0x3e6bba['push'](_0x3e6bba['shift']());}catch(_0x4759ce){_0x3e6bba['push'](_0x3e6bba['shift']());}}}(a6_0xd912,0x6c1dc));function a6_0xd912(){const _0x16be8e=['eventBroadcaster','PASSED','ofmrT','pickleMap','kqaov','TestRunFinished','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','vGyRB','parse','cwAJN','bYlXH','__platform','OVxNj','HookRunStarted','ejUWf','Qppvm','background','flat','sendTestRunEventForCucumber','424034NEEWxQ','1819542vFZLTT','../../v2/state/testFrameworkState.js','bstack','gZQwK','toString','_performCLIInitialization','eventDataCollector','createTestFrameworkData','UNKNOWN','failureType','jHNFF','stepDefinition','createHookData','Exception\x20in\x20onTestStepStarted\x20event:\x20','jjdTW','getGherkinDocument','sendHook','testCaseAttempt','112dpGNDR','testStepStarted','type','onTestCase','testCaseFinished','LELmJ','debug','tAUmG','../../../bin/v2/TestInfo.js','TEST','RVONb','trackEvent','setFrameworkDetail','CONFIG','sSpiX','WzQDZ','text','4322256kfHpda','binSessionId','testSteps','onTestRunStarted','uri','29580IMjXpZ','hUlpv','keyword','188HPTnXz','AbEkR','status','toLowerCase','1|3|0|2|4','../../utils/constants','toISOString','ewoUD','Exception\x20in\x20onTestStepFinished\x20event:\x20','testCases','extractStepContainers','report','../../v2/cliUtils','cucumber','duration','124515VniclB','gherkinDocument','pickleId','../../v2/state/hookState.js','split','EZNEm','getTestFramework','assign','cliInitPromise','../../../helpers/testhub/utils.js','xEObL','envelope','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','Executing\x20tests\x20for\x20','llrZH','scenario','../../../helpers/test-observability/error-handler','isCliEnabled','testStepId','getTestCaseAttempt','UNDEFINED','POST','VKNxd','gPZfy','../../v2/utils/cucumber-utils.js','path','HookRunFinished','MmqmO','../../../helpers/helper','logTestRunFinished','rMrjo','SKIPPED','onTestStepFinished','npQmR','isRunning','hook','pickle','TestRunStarted','testRunFinished','testStepResult','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','GEpmH','PyYDc','MMGLn','onHook','UnhandledError','winstonLogger','testUUID','find','failed','1nHMfkk','onTestRunFinished','gherkinDocumentMap','TBHKg',',\x20binSessionId:\x20','ensureCLIInitialized','getTestUUID','util','capability','CUCUMBER','seconds','enDLw','hook_type','testCaseMap','isCLIReady','source','mzUab','PENDING','testRunStarted','feature','@cucumber/cucumber','NmiTQ','supportCodeLibrary','913duikpY','map','forEach','PLAYWRIGHT','LOG_REPORT','KODPR','description','exports','onGherkinDocument','name','test','CLI\x20already\x20running\x20-\x20binSessionId:\x20','PRE','testCaseStartedId','env','setup','testCaseStarted','vPrKl','hJCLH','PVwuV','format','isBstackHook','push','testCaseAttemptDataMap','onTestCaseFinished','\x20\x20\x20\x20','Nuxnz','hooks','xkhsP','onTestCaseStarted','onTestStepStarted','log','cucumber-js/test.setup.js','result','finishedAt','exception','ZkqiQ','BMCAv','10fPeyWV','getInstance','bootstrap','829759tgrxvI','rule','../../../helpers/logger','onPickle','incrementCounter','logTestCaseFinished','message','lWzyk','testCaseId','testCase','JDxjZ','actionLocation','steps','AzRDD','lksnc','FMqKC','testStepFinished','XLiPZ','cwd','7400TvvZKI','children'];a6_0xd912=function(){return _0x16be8e;};return a6_0xd912();}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x3dbbfa(0x137)),util=require(a6_0x3dbbfa(0x154)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x3dbbfa(0x8c)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x3dbbfa(0x12b)),{shouldProcessEventForTesthub}=require(a6_0x3dbbfa(0x124)),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x3dbbfa(0xe2)),HookState=require(a6_0x3dbbfa(0x11e)),CucumberUtils=require(a6_0x3dbbfa(0x133)),TestInfo=require(a6_0x3dbbfa(0xfb)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x3dbbfa(0xba))[a6_0x3dbbfa(0x149)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x379775){const _0x4e5f10=a6_0x3dbbfa,_0x5c966e={};_0x5c966e[_0x4e5f10(0xeb)]=_0x4e5f10(0x126);const _0x4b9b64=_0x5c966e;super(_0x379775),this[_0x4e5f10(0x117)]={},_0x379775[_0x4e5f10(0xcd)]['on'](_0x4b9b64[_0x4e5f10(0xeb)],async _0x367677=>{const _0x5cbb9d=_0x4e5f10;switch(!![]){case!!_0x367677[_0x5cbb9d(0x8a)]:this['onTestRunStarted'](_0x367677['testRunStarted']);break;case!!_0x367677[_0x5cbb9d(0x141)]:this[_0x5cbb9d(0x14e)](_0x367677[_0x5cbb9d(0x141)]);break;case!!_0x367677[_0x5cbb9d(0x9f)]:this[_0x5cbb9d(0xac)](_0x367677[_0x5cbb9d(0x9f)],_0x379775,_0x367677);break;case!!_0x367677['testCaseFinished']:this[_0x5cbb9d(0xa7)](_0x367677[_0x5cbb9d(0xf7)],_0x379775,_0x367677);break;case!!_0x367677['testStepStarted']:this[_0x5cbb9d(0xad)](_0x367677[_0x5cbb9d(0xf4)],_0x379775);break;case!!_0x367677['testStepFinished']:this[_0x5cbb9d(0x13b)](_0x367677[_0x5cbb9d(0xc8)],_0x379775);break;case!!_0x367677[_0x5cbb9d(0x13e)]:this[_0x5cbb9d(0x147)](_0x367677['hook']);break;case!!_0x367677[_0x5cbb9d(0xc1)]:this[_0x5cbb9d(0xf6)](_0x367677[_0x5cbb9d(0xc1)]);break;case!!_0x367677[_0x5cbb9d(0x13f)]:this[_0x5cbb9d(0xbb)](_0x367677[_0x5cbb9d(0x13f)]);break;case!!_0x367677[_0x5cbb9d(0x11c)]:this[_0x5cbb9d(0x97)](_0x367677[_0x5cbb9d(0x11c)]);break;}});}[a6_0x3dbbfa(0x147)](_0x355bd6){const _0x581460=a6_0x3dbbfa;this['report'][_0x581460(0xaa)]=Object[_0x581460(0x122)]([],this[_0x581460(0x117)][_0x581460(0xaa)]||[]),this[_0x581460(0x117)]['hooks'][_0x581460(0xa5)](_0x355bd6);}[a6_0x3dbbfa(0xbb)](_0x41dd40){const _0x36e14=a6_0x3dbbfa;this[_0x36e14(0x117)][_0x36e14(0x13f)]=Object['assign']([],this[_0x36e14(0x117)][_0x36e14(0x13f)]||[],[_0x41dd40]),this[_0x36e14(0x117)][_0x36e14(0x13f)][_0x36e14(0xa5)](_0x41dd40);}[a6_0x3dbbfa(0x97)](_0x4d21e7){const _0x11c333=a6_0x3dbbfa;this['report']['gherkinDocument']=Object[_0x11c333(0x122)]([],this[_0x11c333(0x117)][_0x11c333(0x11c)]||[],[_0x4d21e7]),this['report'][_0x11c333(0x11c)][_0x11c333(0xa5)](_0x4d21e7);}['onSource'](_0x314cdb){const _0x2f57a7=a6_0x3dbbfa;this[_0x2f57a7(0x117)][_0x2f57a7(0x87)]=_0x314cdb;}['onStepDefinition'](_0x395358){const _0x376549=a6_0x3dbbfa;this['report'][_0x376549(0xec)]=Object[_0x376549(0x122)]([],this[_0x376549(0x117)][_0x376549(0xec)]||[],[_0x395358]),this['report'][_0x376549(0xec)][_0x376549(0xa5)](_0x395358);}[a6_0x3dbbfa(0xf6)](_0x240741){const _0x3aa544=a6_0x3dbbfa;this[_0x3aa544(0x117)][_0x3aa544(0x115)]=Object[_0x3aa544(0x122)]([],this[_0x3aa544(0x117)]['testCases']||[],[_0x240741]),this['report'][_0x3aa544(0x115)]['push'](_0x240741);}[a6_0x3dbbfa(0xbd)](_0x39cb2d){const _0x90393d=a6_0x3dbbfa,_0x52aa31={'cwAJN':function(_0x15fa64,_0x28a712){return _0x15fa64!==_0x28a712;},'Qppvm':_0x90393d(0xe3),'enDLw':function(_0x1e60f2,_0x2eaa2c){return _0x1e60f2+_0x2eaa2c;},'npQmR':function(_0x397e50,_0x3117ed){return _0x397e50+_0x3117ed;},'PyYDc':function(_0x19061e,_0x27802c){return _0x19061e+_0x27802c;},'vPrKl':function(_0x1dc99d,_0x93299){return _0x1dc99d+_0x93299;},'sTsRH':_0x90393d(0xa8),'llrZH':'\x20-\x20','VKNxd':function(_0xeca675,_0x939fb5){return _0xeca675===_0x939fb5;},'cbcLg':'FAILED','lksnc':function(_0x1905be,_0x30b056,_0x3fc9d0){return _0x1905be(_0x30b056,_0x3fc9d0);},'qqaDA':'result','ofmrT':_0x90393d(0xbe),'GEpmH':function(_0x38da05,_0x313c64){return _0x38da05+_0x313c64;},'xkhsP':function(_0x10ced0,_0x16c02c){return _0x10ced0!==_0x16c02c;},'dBxTt':function(_0x3d221b,_0x365d5c){return _0x3d221b+_0x365d5c;},'BMCAv':function(_0x1a9477,_0x22cefc){return _0x1a9477+_0x22cefc;}};_0x52aa31[_0x90393d(0xab)](global[_0x90393d(0xd8)],undefined)&&this[_0x90393d(0xae)](_0x52aa31[_0x90393d(0x144)](_0x52aa31[_0x90393d(0x13c)]('\x0a',global[_0x90393d(0xd8)]),'\x0a'));const _0x35f61e=this['eventDataCollector'][_0x90393d(0x12e)](_0x39cb2d[_0x90393d(0x9c)]);this[_0x90393d(0xae)](_0x52aa31['enDLw'](_0x52aa31['dBxTt'](_0x52aa31[_0x90393d(0xb4)](_0x52aa31[_0x90393d(0x144)]('\x20\x20',_0x35f61e[_0x90393d(0x11c)][_0x90393d(0x8b)]['name']),_0x52aa31['llrZH']),_0x35f61e[_0x90393d(0x13f)][_0x90393d(0x98)]),'\x0a'));const _0x517b5f={};_0x517b5f[_0x90393d(0xca)]=this['cwd'],_0x517b5f['snippetBuilder']=this['snippetBuilder'],_0x517b5f[_0x90393d(0x8e)]=this['supportCodeLibrary'],_0x517b5f[_0x90393d(0xf2)]=_0x35f61e;const _0x11b94e=formatterHelpers['parseTestCaseAttempt'](_0x517b5f);let _0x2e79f9=![];_0x11b94e[_0x90393d(0x106)][_0x90393d(0x91)](_0x3b67a5=>{const _0xa5e3c6=_0x90393d;if(_0x52aa31[_0xa5e3c6(0xd6)](_0x3b67a5['name'],_0x52aa31[_0xa5e3c6(0xdc)])&&!this[_0xa5e3c6(0xa4)](_0x3b67a5)){totalTests+=0x1,this[_0xa5e3c6(0xae)](_0x52aa31[_0xa5e3c6(0x158)](_0x52aa31[_0xa5e3c6(0x13c)](_0x52aa31[_0xa5e3c6(0x145)](_0x52aa31[_0xa5e3c6(0xa0)](_0x52aa31[_0xa5e3c6(0x13c)](_0x52aa31['sTsRH'],_0x3b67a5[_0xa5e3c6(0x10b)]),_0x3b67a5['text']||''),_0x52aa31[_0xa5e3c6(0x129)]),Status[_0x3b67a5[_0xa5e3c6(0xb0)][_0xa5e3c6(0x10e)]]),'\x0a')),this[_0xa5e3c6(0xbc)](Status[_0x3b67a5['result']['status']]);if(_0x52aa31[_0xa5e3c6(0x131)](Status[_0x3b67a5[_0xa5e3c6(0xb0)][_0xa5e3c6(0x10e)]],_0x52aa31['cbcLg'])){_0x2e79f9=!![];const _0x50d22b=_0x52aa31[_0xa5e3c6(0xc6)](nestedKeyValue,_0x3b67a5,[_0x52aa31['qqaDA'],_0x52aa31[_0xa5e3c6(0xcf)]]);_0x50d22b&&(testsErrorMessage[_0x52aa31[_0xa5e3c6(0x158)](_0x52aa31[_0xa5e3c6(0x144)](_0x35f61e[_0xa5e3c6(0x11c)][_0xa5e3c6(0x8b)]['name'],_0x52aa31[_0xa5e3c6(0x129)]),_0x35f61e[_0xa5e3c6(0x13f)][_0xa5e3c6(0x98)])]=_0x50d22b,this[_0xa5e3c6(0xae)](_0x52aa31[_0xa5e3c6(0x158)](_0x50d22b,'\x0a')));}}}),_0x2e79f9&&(testSuitesFailed+=0x1),this[_0x90393d(0xae)]('\x0a');}[a6_0x3dbbfa(0x138)](_0x55944b){}[a6_0x3dbbfa(0xa4)](_0x2716bd){const _0x4d53f4=a6_0x3dbbfa,_0x3d071b={};_0x3d071b[_0x4d53f4(0x136)]=function(_0x47c746,_0x1ec2d9){return _0x47c746!==_0x1ec2d9;},_0x3d071b[_0x4d53f4(0x88)]=_0x4d53f4(0xaf);const _0x5499e6=_0x3d071b;if(_0x5499e6[_0x4d53f4(0x136)](_0x2716bd['sourceLocation'],undefined))return![];if(_0x2716bd[_0x4d53f4(0xc3)]&&_0x2716bd[_0x4d53f4(0xc3)]['uri']['includes'](_0x5499e6[_0x4d53f4(0x88)]))return!![];return![];}[a6_0x3dbbfa(0xbc)](_0x53fa15){const _0xd14d0a=a6_0x3dbbfa,_0xbb6b8d={};_0xbb6b8d[_0xd14d0a(0xc7)]='FAILED',_0xbb6b8d['gkXgf']=_0xd14d0a(0xce),_0xbb6b8d[_0xd14d0a(0x101)]=_0xd14d0a(0x13a),_0xbb6b8d[_0xd14d0a(0xc5)]=_0xd14d0a(0x89),_0xbb6b8d[_0xd14d0a(0xfd)]=_0xd14d0a(0x12f),_0xbb6b8d['vGyRB']=_0xd14d0a(0xe9),_0xbb6b8d[_0xd14d0a(0xc9)]='AMBIGUOUS';const _0x5eba37=_0xbb6b8d;switch(_0x53fa15){case _0x5eba37[_0xd14d0a(0xc7)]:testsFailed+=0x1;break;case _0x5eba37['gkXgf']:testsPassed+=0x1;break;case _0x5eba37[_0xd14d0a(0x101)]:testsSkipped+=0x1;break;case _0x5eba37[_0xd14d0a(0xc5)]:testsPending+=0x1;break;case _0x5eba37['RVONb']:testsUndefined+=0x1;break;case _0x5eba37[_0xd14d0a(0xd4)]:testsUnknown+=0x1;break;case _0x5eba37[_0xd14d0a(0xc9)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x3dbbfa(0x107)](_0x45c2a9){const _0x1ec88b=a6_0x3dbbfa,_0x3a4d2d={'Nuxnz':function(_0x1da805,_0x531d60){return _0x1da805!==_0x531d60;},'ANcvm':function(_0x615f4f){return _0x615f4f();},'bYlXH':function(_0x2bc3eb,_0x142008){return _0x2bc3eb(_0x142008);},'qiPoD':function(_0x156505,_0x3d781f){return _0x156505+_0x3d781f;},'EZNEm':function(_0x25478a){return _0x25478a();},'bTNsE':_0x1ec88b(0x119)};let _0x3467c9;if(_0x3a4d2d[_0x1ec88b(0xa9)](process[_0x1ec88b(0x9d)][_0x1ec88b(0x100)],undefined)){const _0x2b4830=JSON[_0x1ec88b(0xd5)](process[_0x1ec88b(0x9d)]['CONFIG']);_0x3467c9=_0x2b4830[_0x1ec88b(0x155)];}_0x3a4d2d[_0x1ec88b(0xa9)](_0x3467c9,undefined)&&_0x3a4d2d['ANcvm'](isBrowserstackInfra)&&(global['__platform']=_0x3a4d2d[_0x1ec88b(0xd7)](getPlatformName,_0x3467c9),this[_0x1ec88b(0xae)](_0x3a4d2d['qiPoD'](_0x1ec88b(0x128)+global[_0x1ec88b(0xd8)],'\x0a'))),_0x3a4d2d[_0x1ec88b(0x120)](shouldProcessEventForTesthub)&&(TestDetails[_0x1ec88b(0x9e)](),this['report'][_0x1ec88b(0x8a)]=_0x45c2a9,BrowserstackCLI[_0x1ec88b(0xb6)]()[_0x1ec88b(0x12c)]()&&await this[_0x1ec88b(0x86)]()&&(TestInfo[_0x1ec88b(0x9e)](_0x3a4d2d['bTNsE']),await BrowserstackCLI['getInstance']()[_0x1ec88b(0x121)]()[_0x1ec88b(0xfe)](TestFrameworkState['INIT_TEST'],HookState['PRE'],{})));}[a6_0x3dbbfa(0x14e)](_0x17d46c){const _0xcc5713=a6_0x3dbbfa;this[_0xcc5713(0x117)]['testRunFinished']=_0x17d46c,this[_0xcc5713(0x138)](_0x17d46c);}async['onTestCaseStarted'](_0x182403,_0xdd92e5,_0x37e6cc){const _0x11fd25=a6_0x3dbbfa,_0x608051={'PVwuV':function(_0x16c264,_0x49dd45){return _0x16c264(_0x49dd45);},'JDxjZ':_0x11fd25(0x140),'gPZfy':function(_0x289433,_0x1a58a6){return _0x289433&&_0x1a58a6;}};testSuites+=0x1;if(_0x608051[_0x11fd25(0xa2)](shouldProcessEventForTesthub,_0x608051[_0x11fd25(0xc2)]))try{this[_0x11fd25(0x117)]['testCaseStarted']=this['report']['testCaseStarted']||{},this[_0x11fd25(0x117)][_0x11fd25(0x9f)][_0x182403['id']]=_0x182403;let _0x3cfec0=null;BrowserstackCLI[_0x11fd25(0xb6)]()[_0x11fd25(0x12c)]()&&await this[_0x11fd25(0x86)]()?_0x3cfec0=TestInfo[_0x11fd25(0x153)](_0x182403['id']):_0x3cfec0=TestDetails[_0x11fd25(0x153)](_0x182403['id']);_testCasesData[_0x182403['id']]=Object['assign']({},_0x37e6cc);const _0x58211b=this['report'],_0x268f41=_0x182403[_0x11fd25(0xc0)],_0x437a44=_0x58211b[_0x11fd25(0x115)][_0x11fd25(0x14b)](_0x2fc895=>_0x2fc895['id']===_0x268f41)[_0x11fd25(0x11d)],_0x4a31c2=_0x58211b[_0x11fd25(0x13f)][_0x11fd25(0x14b)](_0x5a1e08=>_0x5a1e08['id']===_0x437a44),_0x1fc01c=_0x58211b[_0x11fd25(0x11c)][_0x11fd25(0x14b)](_0x5cc600=>_0x5cc600[_0x11fd25(0x108)]===_0x4a31c2['uri']),_0x538d66=_0x1fc01c[_0x11fd25(0x8b)],_0xb6feb={'uuid':_0x3cfec0,'startedAt':new Date()['toISOString']()};if(_0x4a31c2){const _0x2f1f54={};_0x2f1f54[_0x11fd25(0x98)]=_0x4a31c2[_0x11fd25(0x98)],_0xb6feb[_0x11fd25(0x12a)]=_0x2f1f54;}if(_0x608051[_0x11fd25(0x132)](_0x1fc01c,_0x538d66)){const _0x479524={};_0x479524[_0x11fd25(0x134)]=_0x1fc01c['uri'],_0x479524[_0x11fd25(0x98)]=_0x538d66[_0x11fd25(0x98)],_0x479524[_0x11fd25(0x95)]=_0x538d66[_0x11fd25(0x95)],_0xb6feb[_0x11fd25(0x8b)]=_0x479524;}_tests[_0x268f41]=_0xb6feb;if(BrowserstackCLI[_0x11fd25(0xb6)]()[_0x11fd25(0x12c)]()&&await this[_0x11fd25(0x86)]()){const _0x429978=await cucumberUtils[_0x11fd25(0xe8)](_0xb6feb,_0x4a31c2,_0x37e6cc,_0x1fc01c,_0x182403['id'],_0x608051['JDxjZ']),_0x5dbc53={};_0x5dbc53[_0x11fd25(0x99)]=_0x429978,await BrowserstackCLI['getInstance']()[_0x11fd25(0x121)]()[_0x11fd25(0xfe)](TestFrameworkState[_0x11fd25(0xfc)],HookState[_0x11fd25(0x9b)],_0x5dbc53);return;}await testObservabilityReporter[_0x11fd25(0xdf)](_0x37e6cc,_0x1fc01c,_0x4a31c2,_0x608051['JDxjZ'],_0xb6feb);}catch(_0x296af1){logger['debug'](_0x11fd25(0x143)+util['format'](_0x296af1)+'\x20');}}async[a6_0x3dbbfa(0xa7)](_0xf9752f,_0x3ef4cf,_0x2f4365){const _0x319cbd=a6_0x3dbbfa,_0x3b5767={'jjdTW':function(_0x42ec2c,_0x1aaff0){return _0x42ec2c(_0x1aaff0);},'tAUmG':_0x319cbd(0xd2),'hJCLH':_0x319cbd(0x99)};this['logTestCaseFinished'](_0xf9752f);if(_0x3b5767[_0x319cbd(0xef)](shouldProcessEventForTesthub,_0x3b5767[_0x319cbd(0xfa)]))try{this[_0x319cbd(0x117)]['testCaseFinished']=this['report'][_0x319cbd(0xf7)]||{},this[_0x319cbd(0x117)][_0x319cbd(0xf7)][_0xf9752f[_0x319cbd(0x9c)]]=_0xf9752f,_testCasesData[_0x2f4365['id']]=Object[_0x319cbd(0x122)]({},_0x2f4365);const _0x362014=_0xf9752f[_0x319cbd(0x9c)],_0x5ac67a=_0x3ef4cf['eventDataCollector']['testCaseAttemptDataMap'][_0x362014][_0x319cbd(0xc0)],_0xf9198b=_0x3ef4cf[_0x319cbd(0xe7)]['testCaseMap'][_0x5ac67a],_0x49bf01=_0xf9198b[_0x319cbd(0x11d)],_0x384560=_0x3ef4cf[_0x319cbd(0xe7)][_0x319cbd(0xd0)][_0x49bf01],_0x47dbc0=this[_0x319cbd(0xf0)](_0x3ef4cf,_0x384560),_0x5e3e2e=_0x47dbc0['feature'],_0x46bb73=_tests[_0x5ac67a];_0x46bb73&&(delete _tests[_0x5ac67a],_0x46bb73[_0x319cbd(0xb1)]=new Date()[_0x319cbd(0x112)]());if(BrowserstackCLI[_0x319cbd(0xb6)]()[_0x319cbd(0x12c)]()&&await this['isCLIReady']()){const _0x2ab2dd=await cucumberUtils[_0x319cbd(0xe8)](_0x46bb73,_0x384560,_0x2f4365,_0x47dbc0,_0x362014,_0x3b5767[_0x319cbd(0xfa)]),_0x4d9af3={};_0x4d9af3[_0x319cbd(0x99)]=_0x2ab2dd,await BrowserstackCLI[_0x319cbd(0xb6)]()[_0x319cbd(0x121)]()[_0x319cbd(0xfe)](TestFrameworkState[_0x319cbd(0xfc)],HookState[_0x319cbd(0x130)],_0x4d9af3);const _0x3f5965={};_0x3f5965['testUUID']=_0xf9752f[_0x319cbd(0x9c)],_0x3f5965[_0x319cbd(0xf5)]=_0x3b5767[_0x319cbd(0xa1)],await BrowserstackCLI[_0x319cbd(0xb6)]()[_0x319cbd(0x121)]()['trackEvent'](TestFrameworkState[_0x319cbd(0x93)],HookState[_0x319cbd(0x130)],_0x3f5965);return;}await testObservabilityReporter[_0x319cbd(0xdf)](_0x2f4365,_0x47dbc0,_0x384560,_0x3b5767[_0x319cbd(0xfa)],_0x46bb73);}catch(_0x5d6be0){logger['debug']('Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20'+util[_0x319cbd(0xa3)](_0x5d6be0));}}async[a6_0x3dbbfa(0xad)](_0x19e114,_0x26e7df){const _0x35bb5a=a6_0x3dbbfa,_0x34e7ee={'dLcKj':function(_0x37c353,_0xd959f5){return _0x37c353(_0xd959f5);},'NmiTQ':_0x35bb5a(0xda),'Ngxyd':function(_0xed42f8,_0x4b57a3){return _0xed42f8!==_0x4b57a3;},'TBHKg':_0x35bb5a(0x12d)};if(_0x34e7ee['dLcKj'](shouldProcessEventForTesthub,_0x34e7ee['NmiTQ']))try{this['report'][_0x35bb5a(0xf4)]=this['report']['testStepStarted']||{},this[_0x35bb5a(0x117)]['testStepStarted'][_0x19e114['testCaseStartedId']]=_0x19e114;const _0x42263c=_0x19e114[_0x35bb5a(0x9c)],_0x1d8bb9=_0x26e7df['eventDataCollector'][_0x35bb5a(0xa6)][_0x42263c][_0x35bb5a(0xc0)],_0x1bd473=this[_0x35bb5a(0x117)]['testCases'][_0x35bb5a(0x14b)](_0x4edd02=>_0x4edd02['id']===_0x1d8bb9)[_0x35bb5a(0x11d)],_0x17ff8a=this[_0x35bb5a(0x117)][_0x35bb5a(0x13f)][_0x35bb5a(0x14b)](_0x213952=>_0x213952['id']===_0x1bd473),_0x4025a3=this[_0x35bb5a(0x117)][_0x35bb5a(0x115)][_0x35bb5a(0x14b)](_0x3bff51=>_0x3bff51['id']===_0x1d8bb9)[_0x35bb5a(0x106)],_0x26599d=this[_0x35bb5a(0x117)][_0x35bb5a(0xf4)][_0x42263c][_0x35bb5a(0x12d)],_0x5b8bbf=_0x4025a3['find'](_0x44f1ca=>_0x44f1ca['id']===_0x26599d)['pickleStepId'],_0x290770=_0x17ff8a[_0x35bb5a(0xc4)][_0x35bb5a(0x14b)](_0x167164=>_0x167164['id']===_0x5b8bbf);if(_0x5b8bbf&&_tests[_0x1d8bb9]&&_0x34e7ee['Ngxyd'](_tests[_0x1d8bb9][_0x34e7ee[_0x35bb5a(0x150)]],_0x26599d)){_tests[_0x1d8bb9][_0x34e7ee[_0x35bb5a(0x150)]]=_0x26599d;const _0x2c86f7={};_0x2c86f7[_0x35bb5a(0xc4)]=[];const _0x2e3f1d=_tests[_0x1d8bb9]||_0x2c86f7;_0x2e3f1d&&!_0x2e3f1d['steps']&&(_0x2e3f1d['steps']=[]),_0x2e3f1d['steps'][_0x35bb5a(0xa5)]({'id':_0x290770['id'],'text':_0x290770['text'],'started_at':new Date()[_0x35bb5a(0x112)]()}),_tests[_0x1d8bb9]=_0x2e3f1d;}if(BrowserstackCLI['getInstance']()[_0x35bb5a(0x12c)]()&&await this[_0x35bb5a(0x86)]()){const _0xf9a972=await cucumberUtils[_0x35bb5a(0xed)](this[_0x35bb5a(0x117)],_0x42263c,_0x34e7ee[_0x35bb5a(0x8d)],_0x4025a3,_0x26599d,_tests[_0x1d8bb9]);_0xf9a972&&await BrowserstackCLI[_0x35bb5a(0xb6)]()[_0x35bb5a(0x121)]()[_0x35bb5a(0xfe)](TestFrameworkState[_0xf9a972['hook_type']],HookState[_0x35bb5a(0x9b)],{'hookData':_0xf9a972,'testUUID':_0x19e114[_0x35bb5a(0x9c)]});return;}await testObservabilityReporter[_0x35bb5a(0xf1)](this[_0x35bb5a(0x117)],_0x42263c,_0x34e7ee[_0x35bb5a(0x8d)],_0x4025a3,_0x26599d,_tests[_0x1d8bb9]);}catch(_0x245391){logger[_0x35bb5a(0xf9)](_0x35bb5a(0xee)+util[_0x35bb5a(0xa3)](_0x245391));}}async[a6_0x3dbbfa(0x13b)](_0x397ff5,_0xa8611c){const _0x2cc4a3=a6_0x3dbbfa,_0x2af375={'ewoUD':function(_0xa448f8,_0x461faa){return _0xa448f8===_0x461faa;},'LELmJ':_0x2cc4a3(0x110),'hUlpv':function(_0x2276db,_0x1f7a34){return _0x2276db(_0x1f7a34);},'ZkqiQ':_0x2cc4a3(0x135),'KODPR':_0x2cc4a3(0x14c),'xEObL':function(_0x245d3a,_0x3ad462){return _0x245d3a===_0x3ad462;},'OVxNj':_0x2cc4a3(0x148),'WzQDZ':_0x2cc4a3(0x12d),'MMGLn':_0x2cc4a3(0xda),'gZQwK':_0x2cc4a3(0x13e)};this[_0x2cc4a3(0x117)][_0x2cc4a3(0xc8)]=this['report']['testStepFinished']||{},this['report'][_0x2cc4a3(0xc8)][_0x397ff5[_0x2cc4a3(0x9c)]]=_0x397ff5;if(_0x2af375[_0x2cc4a3(0x10a)](shouldProcessEventForTesthub,_0x2af375[_0x2cc4a3(0xb3)]))try{const _0x107c3a=_0x397ff5[_0x2cc4a3(0x9c)],_0x5f3942=_0xa8611c[_0x2cc4a3(0xe7)][_0x2cc4a3(0xa6)][_0x107c3a][_0x2cc4a3(0xc0)],_0x1757be=_0xa8611c[_0x2cc4a3(0xe7)][_0x2cc4a3(0x85)][_0x5f3942],_0x4056b4=_0x1757be[_0x2cc4a3(0x11d)],_0x4ed2ca=_0xa8611c['eventDataCollector'][_0x2cc4a3(0xd0)][_0x4056b4],_0x32b120=_0x397ff5[_0x2cc4a3(0x12d)],_0x2157dc=_0x1757be[_0x2cc4a3(0x106)],_0x400849=this['eventDataCollector'][_0x2cc4a3(0x12e)](_0x107c3a),_0x1ce3ce=_0x2157dc['find'](_0x56f64d=>_0x56f64d['id']===_0x32b120)['pickleStepId'];let _0x32b694,_0x168e59;_0x397ff5[_0x2cc4a3(0x142)]&&_0x2af375[_0x2cc4a3(0x113)](_0x397ff5[_0x2cc4a3(0x142)][_0x2cc4a3(0x10e)][_0x2cc4a3(0xe5)]()[_0x2cc4a3(0x10f)](),_0x2af375[_0x2cc4a3(0x94)])&&(_0x32b694=_0x2af375[_0x2cc4a3(0x113)](_0x397ff5[_0x2cc4a3(0x142)][_0x2cc4a3(0xb2)],undefined)?_0x397ff5[_0x2cc4a3(0x142)][_0x2cc4a3(0xbe)]:_0x397ff5['testStepResult']['exception'][_0x2cc4a3(0xbe)],_0x168e59=_0x2af375[_0x2cc4a3(0x125)](_0x397ff5[_0x2cc4a3(0x142)]['exception'],undefined)?_0x2af375[_0x2cc4a3(0xd9)]:_0x397ff5[_0x2cc4a3(0x142)][_0x2cc4a3(0xbe)]);if(_0x1ce3ce&&_tests[_0x5f3942][_0x2af375['WzQDZ']]){const _0x1c6dc1=_0x4ed2ca[_0x2cc4a3(0xc4)]['find'](_0x581058=>_0x581058['id']===_0x1ce3ce),_0x3c402e={};_0x3c402e[_0x2cc4a3(0xc4)]=[];const _0x529b28=_tests[_0x5f3942]||_0x3c402e;!_0x529b28[_0x2cc4a3(0xc4)]?_0x529b28[_0x2cc4a3(0xc4)]=[{'id':_0x1c6dc1['id'],'text':_0x1c6dc1[_0x2cc4a3(0x103)],'finished_at':new Date()['toISOString'](),'result':_0x397ff5[_0x2cc4a3(0x142)]['status'],'duration':_0x397ff5[_0x2cc4a3(0x142)]['duration'][_0x2cc4a3(0x157)],'failure':_0x32b694,'failureType':_0x168e59}]:_0x529b28[_0x2cc4a3(0xc4)][_0x2cc4a3(0x91)](_0x61d33d=>{const _0x2f2db3=_0x2cc4a3;if(_0x2af375[_0x2f2db3(0x113)](_0x61d33d['id'],_0x1c6dc1['id'])){const _0x5e95ff=_0x2af375[_0x2f2db3(0xf8)][_0x2f2db3(0x11f)]('|');let _0x5dfe62=0x0;while(!![]){switch(_0x5e95ff[_0x5dfe62++]){case'0':_0x61d33d[_0x2f2db3(0x11a)]=_0x397ff5['testStepResult']['duration'][_0x2f2db3(0x157)];continue;case'1':_0x61d33d['finished_at']=new Date()[_0x2f2db3(0x112)]();continue;case'2':_0x61d33d['failure']=_0x32b694;continue;case'3':_0x61d33d['result']=_0x397ff5[_0x2f2db3(0x142)][_0x2f2db3(0x10e)];continue;case'4':_0x61d33d[_0x2f2db3(0xea)]=_0x168e59;continue;}break;}}}),_tests[_0x5f3942]=_0x529b28;}delete _tests[_0x5f3942][_0x2af375[_0x2cc4a3(0x102)]];if(BrowserstackCLI[_0x2cc4a3(0xb6)]()[_0x2cc4a3(0x12c)]()&&await this[_0x2cc4a3(0x86)]()){const _0x5e3afb=await cucumberUtils[_0x2cc4a3(0xed)](this['report'],_0x107c3a,_0x2af375[_0x2cc4a3(0x146)],_0x2157dc,_0x32b120,_tests[_0x5f3942]);if(_0x5e3afb){await BrowserstackCLI[_0x2cc4a3(0xb6)]()[_0x2cc4a3(0x121)]()[_0x2cc4a3(0xfe)](TestFrameworkState[_0x5e3afb[_0x2cc4a3(0x159)]],HookState[_0x2cc4a3(0x130)],{'hookData':_0x5e3afb,'testUUID':_0x397ff5[_0x2cc4a3(0x9c)]});const _0x251520={};_0x251520[_0x2cc4a3(0x14a)]=_0x397ff5['testCaseStartedId'],_0x251520[_0x2cc4a3(0xf5)]=_0x2af375[_0x2cc4a3(0xe4)],await BrowserstackCLI[_0x2cc4a3(0xb6)]()[_0x2cc4a3(0x121)]()[_0x2cc4a3(0xfe)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x251520);}return;}await testObservabilityReporter[_0x2cc4a3(0xf1)](this[_0x2cc4a3(0x117)],_0x107c3a,_0x2af375[_0x2cc4a3(0xb3)],_0x2157dc,_0x32b120,_tests[_0x5f3942]);}catch(_0x12c0a4){logger[_0x2cc4a3(0xf9)](_0x2cc4a3(0x114)+util[_0x2cc4a3(0xa3)](_0x12c0a4));}}['getGherkinStepMap'](_0x1c1997){const _0x189323=a6_0x3dbbfa,_0x12d359={};return _0x1c1997[_0x189323(0x8b)][_0x189323(0xcc)][_0x189323(0x90)](this['extractStepContainers'])[_0x189323(0xde)]()['forEach'](_0xa00089=>_0xa00089['steps'][_0x189323(0x91)](_0x3b8f1d=>_0x12d359[_0x3b8f1d['id']]=_0x3b8f1d)),_0x12d359;}[a6_0x3dbbfa(0x116)](_0x2359f5){const _0x132997=a6_0x3dbbfa,_0x3e3f82={'lWzyk':function(_0x2ad936,_0x290b1f){return _0x2ad936(_0x290b1f);}};if(!_0x3e3f82[_0x132997(0xbf)](isUndefined,_0x2359f5['background']))return[_0x2359f5[_0x132997(0xdd)]];else{if(!_0x3e3f82[_0x132997(0xbf)](isUndefined,_0x2359f5[_0x132997(0xb9)]))return _0x2359f5[_0x132997(0xb9)][_0x132997(0xcc)][_0x132997(0x90)](_0x47085c=>!isUndefined(_0x47085c[_0x132997(0xdd)])?_0x47085c[_0x132997(0xdd)]:_0x47085c[_0x132997(0x12a)]);};return[_0x2359f5[_0x132997(0x12a)]];}['getGherkinDocument'](_0xdf5680,_0x3c33f9){const _0x22cb78=a6_0x3dbbfa;return Object['values'](_0xdf5680['eventDataCollector'][_0x22cb78(0x14f)])[_0x22cb78(0x14b)](_0x3e22a5=>_0x3e22a5[_0x22cb78(0x108)]===_0x3c33f9[_0x22cb78(0x108)]);}async['ensureCLIInitialized'](){const _0x5721c9=a6_0x3dbbfa;if(this['cliInitPromise'])return this['cliInitPromise'];return this[_0x5721c9(0x123)]=this['_performCLIInitialization'](),this[_0x5721c9(0x123)];}async[a6_0x3dbbfa(0xe6)](){const _0x3e4815=a6_0x3dbbfa,_0x152160={'kqaov':_0x3e4815(0x127),'AbEkR':function(_0xc7b9af,_0x3323fa){return _0xc7b9af(_0x3323fa);},'rMrjo':_0x3e4815(0x118),'Vwskb':function(_0x324037,_0x24186f){return _0x324037(_0x24186f);},'ejUWf':_0x3e4815(0x111)};try{const _0x1c6240=BrowserstackCLI[_0x3e4815(0xb6)]();if(_0x1c6240['isRunning']())return logger[_0x3e4815(0xf9)](_0x3e4815(0x9a)+_0x1c6240[_0x3e4815(0x105)]),!![];const _0x101c7c=process[_0x3e4815(0x9d)]['BROWSERSTACK_CLI_BIN_SESSION_ID'];if(!_0x101c7c)return logger[_0x3e4815(0xf9)](_0x152160[_0x3e4815(0xd1)]),![];const _0x51f98c=_0x152160[_0x3e4815(0x10d)](require,_0x152160[_0x3e4815(0x139)]),{FRAMEWORKS:_0x22a842}=_0x152160['Vwskb'](require,_0x152160[_0x3e4815(0xdb)]);return _0x51f98c[_0x3e4815(0xff)](_0x22a842[_0x3e4815(0x156)],_0x22a842[_0x3e4815(0x92)]),logger[_0x3e4815(0xf9)]('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x101c7c),await _0x1c6240[_0x3e4815(0xb7)](),logger['debug'](_0x3e4815(0xd3)+_0x1c6240[_0x3e4815(0x13d)]()+_0x3e4815(0x151)+_0x1c6240[_0x3e4815(0x105)]),_0x1c6240[_0x3e4815(0x13d)]();}catch(_0xa83459){return logger[_0x3e4815(0xf9)]('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util['format'](_0xa83459)),![];}}async[a6_0x3dbbfa(0x86)](){const _0x9da54e=a6_0x3dbbfa;try{return await this[_0x9da54e(0x152)](),BrowserstackCLI['getInstance']()[_0x9da54e(0x13d)]();}catch(_0x46fd02){return logger[_0x9da54e(0xf9)]('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x9da54e(0xa3)](_0x46fd02)),![];}}}module[a6_0x3dbbfa(0x96)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x3dbbfa(0xac),a6_0x3dbbfa(0xa7),a6_0x3dbbfa(0xad),'onTestStepFinished',a6_0x3dbbfa(0x107),a6_0x3dbbfa(0x14e),a6_0x3dbbfa(0x116),a6_0x3dbbfa(0xf0),'getGherkinStepMap']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x3d91fd=a7_0x49d5;function a7_0xf862(){const _0x570169=['KywzO','text','getStepLineToPickledStepMap','VFYmL','7YmNQvv','status','AMBIGUOUS','gherkinDocument','CONFIG','test-run-finished','FAILED','vvkIy','cTFWH','capability','TyWVO','cucumber-js/test_old.setup.js','actionLocation','392865EYWLQT','EuEpX','steps','18etMVJb','10dhOqxC','dqlIG','5828922fhoXFO','YGzAt','\x20-\x20','4538144ddUpbl','PENDING','env','eventDataCollector','log','TLnuu','result','WYMcy','MIrmg','forEach','REpEZ','UNDEFINED','test-case-started','WTlan','line','cucumber','logTestCaseFinished','auUbE','oQCJS','EAiqy','ZpNlc','XOAaL','cwkcE','exception','toUpperCase','mlisa','uri','eventBroadcaster','stack','sourceLocation','UNKNOWN','uMLea','677864WvtgNE','test-case-finished','968422YKDYcL','pickle','AnmJF','kXIXL','92416inMafq','BYXhG','hEEmt','PASSED','kOxDK','fmPxi','includes','sqtOq','getTestCaseAttempt','qmAlo','vlWjY','OeRDG','__platform','Executing\x20tests\x20for\x20','SKIPPED','lYDYg','test-step-started','feature','exports','\x20\x20\x20\x20','pHiNP','xtdIH','getTestCaseData','../../../helpers/helper','1724790kGOoeX','WXnJs','oSYNz','undefined','name','stepResults','length','SPYhJ'];a7_0xf862=function(){return _0x570169;};return a7_0xf862();}function a7_0x49d5(_0x4f2790,_0x339e35){const _0xf86297=a7_0xf862();return a7_0x49d5=function(_0x49d5ef,_0x253ebd){_0x49d5ef=_0x49d5ef-0x1c9;let _0x149ace=_0xf86297[_0x49d5ef];return _0x149ace;},a7_0x49d5(_0x4f2790,_0x339e35);}(function(_0xd1a236,_0x99eaf7){const _0x35a58d=a7_0x49d5,_0x39ad5a=_0xd1a236();while(!![]){try{const _0x24248b=-parseInt(_0x35a58d(0x1e8))/0x1+-parseInt(_0x35a58d(0x1e4))/0x2+parseInt(_0x35a58d(0x200))/0x3+parseInt(_0x35a58d(0x1e2))/0x4+parseInt(_0x35a58d(0x219))/0x5*(parseInt(_0x35a58d(0x21c))/0x6)+-parseInt(_0x35a58d(0x20c))/0x7*(-parseInt(_0x35a58d(0x222))/0x8)+-parseInt(_0x35a58d(0x21f))/0x9*(parseInt(_0x35a58d(0x21d))/0xa);if(_0x24248b===_0x99eaf7)break;else _0x39ad5a['push'](_0x39ad5a['shift']());}catch(_0x28084b){_0x39ad5a['push'](_0x39ad5a['shift']());}}}(a7_0xf862,0x4ee1a));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x3d91fd(0x1ff)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x3d91fd(0x1d1));class BrowserstackFormatter extends Formatter{constructor(_0x37ab75){const _0x54c428=a7_0x3d91fd,_0x27deb9={'MIrmg':function(_0x53df01,_0x42849c){return _0x53df01!==_0x42849c;},'oQCJS':function(_0x52578f,_0x3562e8){return _0x52578f!==_0x3562e8;},'BYXhG':function(_0x1bae8f,_0x577723){return _0x1bae8f(_0x577723);},'auUbE':'test-run-started','TLnuu':_0x54c428(0x1ce),'ZXdyf':_0x54c428(0x1e3),'fmPxi':_0x54c428(0x211),'REpEZ':_0x54c428(0x1f8)};super(_0x37ab75),_0x37ab75[_0x54c428(0x1dd)]['on'](_0x27deb9[_0x54c428(0x1d3)],()=>{const _0x4bf13d=_0x54c428;let _0x2c3b3b;if(_0x27deb9[_0x4bf13d(0x1ca)](process[_0x4bf13d(0x224)][_0x4bf13d(0x210)],undefined)){const _0x50bdf6=JSON['parse'](process[_0x4bf13d(0x224)]['CONFIG']);_0x2c3b3b=_0x50bdf6[_0x4bf13d(0x215)];}_0x27deb9[_0x4bf13d(0x1d4)](_0x2c3b3b,undefined)&&(global[_0x4bf13d(0x1f4)]=_0x27deb9[_0x4bf13d(0x1e9)](getPlatformName,_0x2c3b3b),console[_0x4bf13d(0x226)](_0x4bf13d(0x1f5)+global['__platform']));}),_0x37ab75['eventBroadcaster']['on'](_0x27deb9[_0x54c428(0x227)],()=>{testSuites+=0x1;}),_0x37ab75['eventBroadcaster']['on'](_0x27deb9['ZXdyf'],_0x883428=>{const _0x347bf1=_0x54c428;this[_0x347bf1(0x1d2)](_0x883428);}),_0x37ab75[_0x54c428(0x1dd)]['on'](_0x27deb9[_0x54c428(0x1ed)],()=>{totalTests-=0x2;}),_0x37ab75[_0x54c428(0x1dd)]['on'](_0x27deb9[_0x54c428(0x1cc)],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x9c7cf4){const _0x2e8905=a7_0x3d91fd,_0xbb62db={'oSYNz':_0x2e8905(0x212),'uMLea':_0x2e8905(0x1eb),'JXswv':_0x2e8905(0x1f6),'TyWVO':_0x2e8905(0x223),'qmAlo':_0x2e8905(0x1cd),'XOAaL':_0x2e8905(0x1e0),'cWfPB':_0x2e8905(0x20e),'sqtOq':function(_0x94074f,_0x3b6f38){return _0x94074f+_0x3b6f38;},'kOxDK':function(_0x4ec9b8,_0x102bbd){return _0x4ec9b8+_0x102bbd;},'lYDYg':_0x2e8905(0x1fb),'WXnJs':_0x2e8905(0x221),'EuEpX':function(_0x50ac5e,_0x44a34a){return _0x50ac5e(_0x44a34a);},'EAiqy':_0x2e8905(0x217),'bYpIU':function(_0x26f420,_0x5dc7e6){return _0x26f420+_0x5dc7e6;},'VFYmL':'\x20\x20\x20\x20AFTER\x20-\x20','AnmJF':function(_0x47792c,_0x50460c){return _0x47792c+_0x50460c;},'mlisa':'\x20\x20\x20\x20BEFORE\x20-\x20','kXIXL':function(_0x2071c0,_0x5868ff){return _0x2071c0===_0x5868ff;},'WTlan':function(_0x2e2bf4,_0x482816,_0x3035c0){return _0x2e2bf4(_0x482816,_0x3035c0);},'YGzAt':_0x2e8905(0x228),'xtdIH':_0x2e8905(0x1d9),'WYMcy':_0x2e8905(0x1de),'SPYhJ':function(_0x8bd714,_0x4671c3){return _0x8bd714+_0x4671c3;},'vlWjY':function(_0x4509a9,_0x5eacad){return _0x4509a9!==_0x5eacad;},'MfNwY':function(_0x38ec17,_0x1a38f0){return _0x38ec17+_0x1a38f0;},'trEVZ':_0x2e8905(0x203),'cwkcE':function(_0x5e1f32,_0xa2b6e8){return _0x5e1f32+_0xa2b6e8;},'cTFWH':function(_0x577513,_0x2335c6){return _0x577513+_0x2335c6;},'OeRDG':function(_0x389ec9,_0x3a60b1){return _0x389ec9<_0x3a60b1;},'hEEmt':function(_0x5816f2,_0x1d25d0){return _0x5816f2+_0x1d25d0;},'dqlIG':function(_0x5eae2e,_0x9c30a3){return _0x5eae2e+_0x9c30a3;},'vvkIy':function(_0x3e5b28,_0x789453){return _0x3e5b28(_0x789453);},'ZpNlc':function(_0x217dd8,_0x5a583b){return _0x217dd8+_0x5a583b;},'KywzO':function(_0x6770b0,_0x3629a5,_0x20ce18){return _0x6770b0(_0x3629a5,_0x20ce18);},'pHiNP':function(_0x61b21e,_0x399f20){return _0x61b21e+_0x399f20;}};let _0x26e6f1=![];function _0x56b53c(_0x543acd){const _0x5bbb71=_0x2e8905;switch(_0x543acd){case _0xbb62db['oSYNz']:testsFailed+=0x1;break;case _0xbb62db[_0x5bbb71(0x1e1)]:testsPassed+=0x1;break;case _0xbb62db['JXswv']:testsSkipped+=0x1;break;case _0xbb62db[_0x5bbb71(0x216)]:testsPending+=0x1;break;case _0xbb62db[_0x5bbb71(0x1f1)]:testsUndefined+=0x1;break;case _0xbb62db[_0x5bbb71(0x1d7)]:testsUnknown+=0x1;break;case _0xbb62db['cWfPB']:testsAmbiguous+=0x1;break;default:break;}}_0xbb62db[_0x2e8905(0x1f2)](global[_0x2e8905(0x1f4)],undefined)&&console['log'](_0xbb62db['MfNwY'](_0xbb62db[_0x2e8905(0x207)]('\x0a',global[_0x2e8905(0x1f4)]),'\x0a'));let _0x75337a=![];if(_0xbb62db[_0x2e8905(0x1f2)](typeof this[_0x2e8905(0x225)]['getTestCaseData'],_0xbb62db['trEVZ'])){var _0x243298=this[_0x2e8905(0x225)][_0x2e8905(0x1fe)](_0x9c7cf4[_0x2e8905(0x1df)]),_0xe470f2=_0x243298[_0x2e8905(0x1e5)],_0x5b73c1=_0x243298['testCase'];console['log'](_0xbb62db['MfNwY']('\x20\x20',_0xe470f2[_0x2e8905(0x204)]));var _0x1fb0f9=(0x0,pickleParser[_0x2e8905(0x20a)])(_0xe470f2);_0x5b73c1[_0x2e8905(0x21b)][_0x2e8905(0x1cb)](function(_0x46ad88){const _0x3fecf6=_0x2e8905;if(_0x46ad88[_0x3fecf6(0x218)]&&_0x46ad88['sourceLocation'])_0x26e6f1=!![],console['log'](_0xbb62db[_0x3fecf6(0x1ef)](_0xbb62db['sqtOq'](_0xbb62db[_0x3fecf6(0x1ec)](_0xbb62db[_0x3fecf6(0x1f7)],_0x1fb0f9[_0x46ad88[_0x3fecf6(0x1df)][_0x3fecf6(0x1d0)]][_0x3fecf6(0x209)]),_0xbb62db[_0x3fecf6(0x201)]),_0x46ad88['result'][_0x3fecf6(0x20d)][_0x3fecf6(0x1da)]())),_0xbb62db[_0x3fecf6(0x21a)](_0x56b53c,_0x46ad88[_0x3fecf6(0x228)][_0x3fecf6(0x20d)][_0x3fecf6(0x1da)]());else _0x46ad88['actionLocation']&&(!_0x46ad88['actionLocation'][_0x3fecf6(0x1dc)][_0x3fecf6(0x1ee)](_0xbb62db[_0x3fecf6(0x1d5)])&&(_0xbb62db[_0x3fecf6(0x21a)](_0x56b53c,_0x46ad88[_0x3fecf6(0x228)]['status'][_0x3fecf6(0x1da)]()),_0x26e6f1?console['log'](_0xbb62db['bYpIU'](_0xbb62db['VFYmL'],_0x46ad88[_0x3fecf6(0x228)][_0x3fecf6(0x20d)][_0x3fecf6(0x1da)]())):console[_0x3fecf6(0x226)](_0xbb62db['AnmJF'](_0xbb62db[_0x3fecf6(0x1db)],_0x46ad88['result'][_0x3fecf6(0x20d)][_0x3fecf6(0x1da)]()))));if(_0xbb62db['kXIXL'](_0x46ad88[_0x3fecf6(0x228)][_0x3fecf6(0x20d)][_0x3fecf6(0x1da)](),_0xbb62db['oSYNz'])){const _0x5596d9=_0xbb62db[_0x3fecf6(0x1cf)](nestedKeyValue,_0x46ad88,[_0xbb62db[_0x3fecf6(0x220)],_0xbb62db['xtdIH'],_0xbb62db[_0x3fecf6(0x1c9)]]);_0x5596d9&&(testsErrorMessage[_0xe470f2[_0x3fecf6(0x204)]]=_0x5596d9,console[_0x3fecf6(0x226)](_0xbb62db[_0x3fecf6(0x207)](_0x5596d9,'\x0a'))),_0x75337a=!![];}});}else{const _0xdf486a=this[_0x2e8905(0x225)][_0x2e8905(0x1f0)](_0x9c7cf4);console[_0x2e8905(0x226)](_0xbb62db[_0x2e8905(0x1e6)](_0xbb62db[_0x2e8905(0x1d8)](_0xbb62db[_0x2e8905(0x214)]('\x20\x20',_0xdf486a[_0x2e8905(0x20f)][_0x2e8905(0x1f9)][_0x2e8905(0x204)]),_0xbb62db[_0x2e8905(0x201)]),_0xdf486a['pickle'][_0x2e8905(0x204)]));const _0x7b6bd7=(0x0,pickleParser[_0x2e8905(0x20a)])(_0xdf486a['pickle']),_0x41a7e7=_0xdf486a['testCase'][_0x2e8905(0x21b)],_0x5ae9c7=_0xdf486a[_0x2e8905(0x205)],_0x3252b9=_0x41a7e7[_0x2e8905(0x206)];for(let _0x187aaa=0x0;_0xbb62db[_0x2e8905(0x1f3)](_0x187aaa,_0x3252b9);_0x187aaa++){const _0x185646=_0x41a7e7[_0x187aaa];if(_0x185646[_0x2e8905(0x218)]&&_0x185646[_0x2e8905(0x1df)])_0x26e6f1=!![],console[_0x2e8905(0x226)](_0xbb62db[_0x2e8905(0x1ea)](_0xbb62db[_0x2e8905(0x21e)](_0xbb62db['MfNwY'](_0xbb62db[_0x2e8905(0x1f7)],_0x7b6bd7[_0x185646[_0x2e8905(0x1df)]['line']]['text']),_0xbb62db[_0x2e8905(0x201)]),_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)][_0x2e8905(0x1da)]())),_0xbb62db[_0x2e8905(0x21a)](_0x56b53c,_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)][_0x2e8905(0x1da)]());else _0x185646[_0x2e8905(0x218)]&&(!_0x185646['actionLocation'][_0x2e8905(0x1dc)][_0x2e8905(0x1ee)](_0xbb62db[_0x2e8905(0x1d5)])&&(_0xbb62db[_0x2e8905(0x213)](_0x56b53c,_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)][_0x2e8905(0x1da)]()),_0x26e6f1?console[_0x2e8905(0x226)](_0xbb62db[_0x2e8905(0x1e6)](_0xbb62db[_0x2e8905(0x20b)],_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)][_0x2e8905(0x1da)]())):console[_0x2e8905(0x226)](_0xbb62db[_0x2e8905(0x1d6)](_0xbb62db[_0x2e8905(0x1db)],_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)]['toUpperCase']()))));if(_0xbb62db[_0x2e8905(0x1e7)](_0x5ae9c7[_0x187aaa][_0x2e8905(0x20d)][_0x2e8905(0x1da)](),_0xbb62db[_0x2e8905(0x202)])){_0x75337a=!![];const _0x52e62a=_0xbb62db[_0x2e8905(0x208)](nestedKeyValue,_0x5ae9c7[_0x187aaa],[_0xbb62db[_0x2e8905(0x1fd)],_0xbb62db[_0x2e8905(0x1c9)]]);_0x52e62a&&(testsErrorMessage[_0xbb62db['sqtOq'](_0xbb62db[_0x2e8905(0x1fc)](_0xdf486a[_0x2e8905(0x20f)][_0x2e8905(0x1f9)][_0x2e8905(0x204)],_0xbb62db[_0x2e8905(0x201)]),_0xdf486a['pickle'][_0x2e8905(0x204)])]=_0x52e62a,console[_0x2e8905(0x226)](_0xbb62db['AnmJF'](_0x52e62a,'\x0a')));}}}_0x75337a&&(testSuitesFailed+=0x1),console[_0x2e8905(0x226)]('\x0a');}}module[a7_0x3d91fd(0x1fa)]=BrowserstackFormatter;
|
|
1
|
+
function a7_0x7108(){const _0x1d1f63=['mNPdJ','uCFNY','UNDEFINED','6306hZTpry','length','text','308273tLcbSb','toUpperCase','TLnPF','test-case-finished','55368AcljRY','RpDkD','646926bCAObn','GGdCo','SKIPPED','result','status','../../../helpers/helper','cucumber/lib/formatter/helpers/pickle_parser.js','RJTZw','getTestCaseAttempt','feature','SgKnQ','eventDataCollector','oWSmO','hlecL','dpFAT','gDawv','7938MTUVWH','iYtMg','cucumber','\x20\x20\x20\x20','sourceLocation','env','PASSED','getTestCaseData','Geadb','cucumber-js/test_old.setup.js','capability','log','PENDING','\x20\x20\x20\x20BEFORE\x20-\x20','fzWPA','wlnTf','WYFoJ','pickle','FAILED','rXsSG','ZRsJg','AMBIGUOUS','YEnWV','pwZdc','nYJKZ','ljHpu','8ddBSNy','__platform','sjpKJ','actionLocation','iBkTX','name','logTestCaseFinished','1000267yhhoeZ','HRJzF','Qknlm','testCase','Executing\x20tests\x20for\x20','forEach','TpxTn','KjCfq','line','ilYLZ','syWAa','HuiBb','VWGCD','undefined','parse','getStepLineToPickledStepMap','steps','exports','test-case-started','qJSNd','hTqur','test-run-started','cqnLi','1453038dhYdns','includes','gherkinDocument','test-run-finished','fHIRL','DfdTL','uri','1640CFosTc','eventBroadcaster','24370jJJFjt','upraP','FxWmq','CONFIG','lrJRl','Uvjmv','EDTKA','test-step-started'];a7_0x7108=function(){return _0x1d1f63;};return a7_0x7108();}const a7_0x524883=a7_0x112c;(function(_0x38d700,_0x180d12){const _0x15b62a=a7_0x112c,_0xb69c33=_0x38d700();while(!![]){try{const _0x294b35=-parseInt(_0x15b62a(0x1c5))/0x1+-parseInt(_0x15b62a(0x1dc))/0x2+-parseInt(_0x15b62a(0x194))/0x3+parseInt(_0x15b62a(0x192))/0x4+-parseInt(_0x15b62a(0x1e3))/0x5*(-parseInt(_0x15b62a(0x1f0))/0x6)+parseInt(_0x15b62a(0x18e))/0x7*(-parseInt(_0x15b62a(0x1be))/0x8)+-parseInt(_0x15b62a(0x1a4))/0x9*(-parseInt(_0x15b62a(0x1e5))/0xa);if(_0x294b35===_0x180d12)break;else _0xb69c33['push'](_0xb69c33['shift']());}catch(_0x35ad4b){_0xb69c33['push'](_0xb69c33['shift']());}}}(a7_0x7108,0x7f541));function a7_0x112c(_0x49d415,_0x5c8bb4){const _0x7108ff=a7_0x7108();return a7_0x112c=function(_0x112ce7,_0x4bc2b2){_0x112ce7=_0x112ce7-0x18c;let _0x3f2ed4=_0x7108ff[_0x112ce7];return _0x3f2ed4;},a7_0x112c(_0x49d415,_0x5c8bb4);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x524883(0x199)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule(a7_0x524883(0x19a),a7_0x524883(0x1a6));class BrowserstackFormatter extends Formatter{constructor(_0x5cf02a){const _0x1906f7=a7_0x524883,_0x33924c={'SgKnQ':function(_0xd59850,_0x350071){return _0xd59850!==_0x350071;},'wlnTf':function(_0x4f0a82,_0x1482e2){return _0x4f0a82!==_0x1482e2;},'nYJKZ':function(_0x55b552,_0x4e74d9){return _0x55b552(_0x4e74d9);},'RdwMD':_0x1906f7(0x1da),'EDTKA':_0x1906f7(0x1d7),'cqnLi':_0x1906f7(0x191),'jLpPl':_0x1906f7(0x1df),'RpDkD':_0x1906f7(0x1ec)};super(_0x5cf02a),_0x5cf02a[_0x1906f7(0x1e4)]['on'](_0x33924c['RdwMD'],()=>{const _0x132514=_0x1906f7;let _0x251217;if(_0x33924c[_0x132514(0x19e)](process[_0x132514(0x1a9)][_0x132514(0x1e8)],undefined)){const _0xaa12f5=JSON[_0x132514(0x1d3)](process[_0x132514(0x1a9)][_0x132514(0x1e8)]);_0x251217=_0xaa12f5[_0x132514(0x1ae)];}_0x33924c[_0x132514(0x1b3)](_0x251217,undefined)&&(global[_0x132514(0x1bf)]=_0x33924c[_0x132514(0x1bc)](getPlatformName,_0x251217),console[_0x132514(0x1af)](_0x132514(0x1c9)+global[_0x132514(0x1bf)]));}),_0x5cf02a['eventBroadcaster']['on'](_0x33924c[_0x1906f7(0x1eb)],()=>{testSuites+=0x1;}),_0x5cf02a['eventBroadcaster']['on'](_0x33924c[_0x1906f7(0x1db)],_0x58ceb8=>{const _0x291a00=_0x1906f7;this[_0x291a00(0x1c4)](_0x58ceb8);}),_0x5cf02a[_0x1906f7(0x1e4)]['on'](_0x33924c['jLpPl'],()=>{totalTests-=0x2;}),_0x5cf02a[_0x1906f7(0x1e4)]['on'](_0x33924c[_0x1906f7(0x193)],()=>{totalTests+=0x1;});}[a7_0x524883(0x1c4)](_0x29b78f){const _0x5ebda7=a7_0x524883,_0x35622f={'oWSmO':_0x5ebda7(0x1b6),'dpFAT':_0x5ebda7(0x1aa),'FxWmq':_0x5ebda7(0x196),'RJTZw':_0x5ebda7(0x1b0),'mNPdJ':_0x5ebda7(0x1ef),'GGdCo':'UNKNOWN','hTqur':_0x5ebda7(0x1b9),'ljHpu':function(_0x5ebf2b,_0x298a6d){return _0x5ebf2b+_0x298a6d;},'ilYLZ':function(_0x29fc0f,_0x3f7c98){return _0x29fc0f+_0x3f7c98;},'Uvjmv':function(_0x3e8017,_0xaee632){return _0x3e8017+_0xaee632;},'ZRsJg':_0x5ebda7(0x1a7),'iYtMg':'\x20-\x20','xZvwN':function(_0x24ca44,_0x205cbe){return _0x24ca44(_0x205cbe);},'DfdTL':_0x5ebda7(0x1ad),'VWGCD':function(_0xbf57ec,_0x1d730a){return _0xbf57ec(_0x1d730a);},'KjCfq':function(_0x1ad48b,_0x13af82){return _0x1ad48b+_0x13af82;},'iBkTX':'\x20\x20\x20\x20AFTER\x20-\x20','Geadb':_0x5ebda7(0x1b1),'rXsSG':function(_0x466d31,_0x2976a0){return _0x466d31===_0x2976a0;},'upraP':function(_0x30b181,_0x1cfbb4,_0xb4dec4){return _0x30b181(_0x1cfbb4,_0xb4dec4);},'WYFoJ':_0x5ebda7(0x197),'uCFNY':'exception','qJSNd':'stack','TpxTn':function(_0x1fd766,_0x1e6dd0){return _0x1fd766+_0x1e6dd0;},'gDawv':function(_0x30212d,_0x278623){return _0x30212d!==_0x278623;},'sjpKJ':function(_0x58eeb8,_0x347c89){return _0x58eeb8+_0x347c89;},'TLnPF':function(_0x3c4a97,_0x45ac42){return _0x3c4a97+_0x45ac42;},'hlecL':_0x5ebda7(0x1d2),'HRJzF':function(_0x40b6f1,_0xafcd8){return _0x40b6f1+_0xafcd8;},'HuiBb':function(_0x20f396,_0x527d5c){return _0x20f396+_0x527d5c;},'Qknlm':function(_0x3084f9,_0x5c3ee3){return _0x3084f9<_0x5c3ee3;},'pwZdc':function(_0x155207,_0x5638db){return _0x155207+_0x5638db;},'lrJRl':function(_0x37c4a0,_0x524704){return _0x37c4a0+_0x524704;},'fzWPA':function(_0x4f4d49,_0x22f42e){return _0x4f4d49+_0x22f42e;},'YEnWV':function(_0x4b7a45,_0x383430){return _0x4b7a45(_0x383430);},'fHIRL':function(_0x51c567,_0x119dbc){return _0x51c567+_0x119dbc;},'rxqry':function(_0x43acb0,_0xa605e9,_0x54b342){return _0x43acb0(_0xa605e9,_0x54b342);},'syWAa':function(_0x16fa84,_0x51fb24){return _0x16fa84+_0x51fb24;},'ULwHf':function(_0x1bdb5d,_0x43c718){return _0x1bdb5d+_0x43c718;}};let _0xcfab=![];function _0x1b66a7(_0x4224ed){const _0x14c94b=_0x5ebda7;switch(_0x4224ed){case _0x35622f[_0x14c94b(0x1a0)]:testsFailed+=0x1;break;case _0x35622f[_0x14c94b(0x1a2)]:testsPassed+=0x1;break;case _0x35622f[_0x14c94b(0x1e7)]:testsSkipped+=0x1;break;case _0x35622f[_0x14c94b(0x19b)]:testsPending+=0x1;break;case _0x35622f[_0x14c94b(0x1ed)]:testsUndefined+=0x1;break;case _0x35622f[_0x14c94b(0x195)]:testsUnknown+=0x1;break;case _0x35622f[_0x14c94b(0x1d9)]:testsAmbiguous+=0x1;break;default:break;}}_0x35622f[_0x5ebda7(0x1a3)](global['__platform'],undefined)&&console[_0x5ebda7(0x1af)](_0x35622f[_0x5ebda7(0x1c0)](_0x35622f[_0x5ebda7(0x190)]('\x0a',global[_0x5ebda7(0x1bf)]),'\x0a'));let _0xca4129=![];if(_0x35622f[_0x5ebda7(0x1a3)](typeof this['eventDataCollector']['getTestCaseData'],_0x35622f[_0x5ebda7(0x1a1)])){var _0x4e93d3=this[_0x5ebda7(0x19f)][_0x5ebda7(0x1ab)](_0x29b78f[_0x5ebda7(0x1a8)]),_0x516fc1=_0x4e93d3[_0x5ebda7(0x1b5)],_0x3ec71b=_0x4e93d3[_0x5ebda7(0x1c8)];console['log'](_0x35622f[_0x5ebda7(0x1c6)]('\x20\x20',_0x516fc1['name']));var _0x3110ee=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x516fc1);_0x3ec71b['steps'][_0x5ebda7(0x1ca)](function(_0x15069d){const _0x5ab881=_0x5ebda7;if(_0x15069d[_0x5ab881(0x1c1)]&&_0x15069d['sourceLocation'])_0xcfab=!![],console[_0x5ab881(0x1af)](_0x35622f[_0x5ab881(0x1bd)](_0x35622f['ilYLZ'](_0x35622f[_0x5ab881(0x1ea)](_0x35622f['ZRsJg'],_0x3110ee[_0x15069d[_0x5ab881(0x1a8)][_0x5ab881(0x1cd)]][_0x5ab881(0x18d)]),_0x35622f[_0x5ab881(0x1a5)]),_0x15069d[_0x5ab881(0x197)]['status'][_0x5ab881(0x18f)]())),_0x35622f['xZvwN'](_0x1b66a7,_0x15069d[_0x5ab881(0x197)]['status'][_0x5ab881(0x18f)]());else _0x15069d[_0x5ab881(0x1c1)]&&(!_0x15069d[_0x5ab881(0x1c1)][_0x5ab881(0x1e2)][_0x5ab881(0x1dd)](_0x35622f[_0x5ab881(0x1e1)])&&(_0x35622f[_0x5ab881(0x1d1)](_0x1b66a7,_0x15069d['result'][_0x5ab881(0x198)][_0x5ab881(0x18f)]()),_0xcfab?console[_0x5ab881(0x1af)](_0x35622f[_0x5ab881(0x1cc)](_0x35622f[_0x5ab881(0x1c2)],_0x15069d[_0x5ab881(0x197)][_0x5ab881(0x198)][_0x5ab881(0x18f)]())):console[_0x5ab881(0x1af)](_0x35622f[_0x5ab881(0x1ce)](_0x35622f[_0x5ab881(0x1ac)],_0x15069d[_0x5ab881(0x197)]['status'][_0x5ab881(0x18f)]()))));if(_0x35622f[_0x5ab881(0x1b7)](_0x15069d[_0x5ab881(0x197)][_0x5ab881(0x198)][_0x5ab881(0x18f)](),_0x35622f['oWSmO'])){const _0x13eeba=_0x35622f[_0x5ab881(0x1e6)](nestedKeyValue,_0x15069d,[_0x35622f[_0x5ab881(0x1b4)],_0x35622f[_0x5ab881(0x1ee)],_0x35622f[_0x5ab881(0x1d8)]]);_0x13eeba&&(testsErrorMessage[_0x516fc1[_0x5ab881(0x1c3)]]=_0x13eeba,console[_0x5ab881(0x1af)](_0x35622f[_0x5ab881(0x1cb)](_0x13eeba,'\x0a'))),_0xca4129=!![];}});}else{const _0x5ae0f4=this[_0x5ebda7(0x19f)][_0x5ebda7(0x19c)](_0x29b78f);console[_0x5ebda7(0x1af)](_0x35622f['HRJzF'](_0x35622f[_0x5ebda7(0x1bd)](_0x35622f[_0x5ebda7(0x1d0)]('\x20\x20',_0x5ae0f4[_0x5ebda7(0x1de)][_0x5ebda7(0x19d)][_0x5ebda7(0x1c3)]),_0x35622f[_0x5ebda7(0x1a5)]),_0x5ae0f4[_0x5ebda7(0x1b5)]['name']));const _0x291095=(0x0,pickleParser[_0x5ebda7(0x1d4)])(_0x5ae0f4[_0x5ebda7(0x1b5)]),_0x1ab8c8=_0x5ae0f4[_0x5ebda7(0x1c8)][_0x5ebda7(0x1d5)],_0x24ac53=_0x5ae0f4['stepResults'],_0x1a723c=_0x1ab8c8[_0x5ebda7(0x18c)];for(let _0x1ba6d5=0x0;_0x35622f[_0x5ebda7(0x1c7)](_0x1ba6d5,_0x1a723c);_0x1ba6d5++){const _0x482851=_0x1ab8c8[_0x1ba6d5];if(_0x482851[_0x5ebda7(0x1c1)]&&_0x482851['sourceLocation'])_0xcfab=!![],console[_0x5ebda7(0x1af)](_0x35622f[_0x5ebda7(0x1bb)](_0x35622f[_0x5ebda7(0x1e9)](_0x35622f[_0x5ebda7(0x1b2)](_0x35622f[_0x5ebda7(0x1b8)],_0x291095[_0x482851[_0x5ebda7(0x1a8)]['line']][_0x5ebda7(0x18d)]),_0x35622f[_0x5ebda7(0x1a5)]),_0x24ac53[_0x1ba6d5][_0x5ebda7(0x198)]['toUpperCase']())),_0x35622f[_0x5ebda7(0x1ba)](_0x1b66a7,_0x24ac53[_0x1ba6d5]['status'][_0x5ebda7(0x18f)]());else _0x482851[_0x5ebda7(0x1c1)]&&(!_0x482851[_0x5ebda7(0x1c1)][_0x5ebda7(0x1e2)]['includes'](_0x35622f[_0x5ebda7(0x1e1)])&&(_0x35622f[_0x5ebda7(0x1d1)](_0x1b66a7,_0x24ac53[_0x1ba6d5][_0x5ebda7(0x198)][_0x5ebda7(0x18f)]()),_0xcfab?console[_0x5ebda7(0x1af)](_0x35622f[_0x5ebda7(0x1e0)](_0x35622f[_0x5ebda7(0x1c2)],_0x24ac53[_0x1ba6d5]['status'][_0x5ebda7(0x18f)]())):console[_0x5ebda7(0x1af)](_0x35622f[_0x5ebda7(0x1ea)](_0x35622f[_0x5ebda7(0x1ac)],_0x24ac53[_0x1ba6d5][_0x5ebda7(0x198)][_0x5ebda7(0x18f)]()))));if(_0x35622f[_0x5ebda7(0x1b7)](_0x24ac53[_0x1ba6d5]['status']['toUpperCase'](),_0x35622f[_0x5ebda7(0x1a0)])){_0xca4129=!![];const _0x2a7844=_0x35622f['rxqry'](nestedKeyValue,_0x24ac53[_0x1ba6d5],[_0x35622f[_0x5ebda7(0x1ee)],_0x35622f[_0x5ebda7(0x1d8)]]);_0x2a7844&&(testsErrorMessage[_0x35622f['sjpKJ'](_0x35622f[_0x5ebda7(0x1cf)](_0x5ae0f4['gherkinDocument']['feature'][_0x5ebda7(0x1c3)],_0x35622f[_0x5ebda7(0x1a5)]),_0x5ae0f4['pickle']['name'])]=_0x2a7844,console[_0x5ebda7(0x1af)](_0x35622f['ULwHf'](_0x2a7844,'\x0a')));}}}_0xca4129&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x524883(0x1d6)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8_0x5f27(_0x4a8b67,_0x50dadc){const _0x512bc4=a8_0x512b();return a8_0x5f27=function(_0x5f279d,_0x106c52){_0x5f279d=_0x5f279d-0xc9;let _0x1a98b0=_0x512bc4[_0x5f279d];return _0x1a98b0;},a8_0x5f27(_0x4a8b67,_0x50dadc);}const a8_0x124e23=a8_0x5f27;(function(_0x42bef3,_0x574537){const _0x25d410=a8_0x5f27,_0x59a1fc=_0x42bef3();while(!![]){try{const _0x420fd8=-parseInt(_0x25d410(0x149))/0x1+parseInt(_0x25d410(0xe2))/0x2*(parseInt(_0x25d410(0x160))/0x3)+parseInt(_0x25d410(0xfb))/0x4+-parseInt(_0x25d410(0x132))/0x5*(-parseInt(_0x25d410(0xe5))/0x6)+parseInt(_0x25d410(0xe1))/0x7+-parseInt(_0x25d410(0xf2))/0x8*(-parseInt(_0x25d410(0x12b))/0x9)+-parseInt(_0x25d410(0x137))/0xa;if(_0x420fd8===_0x574537)break;else _0x59a1fc['push'](_0x59a1fc['shift']());}catch(_0x55f575){_0x59a1fc['push'](_0x59a1fc['shift']());}}}(a8_0x512b,0x6c91e));const path=require(a8_0x124e23(0xe3)),util=require(a8_0x124e23(0x11e)),hooksMap={},SessionHandler=require(a8_0x124e23(0x107)),testhubUtils=require(a8_0x124e23(0x112)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')[a8_0x124e23(0xea)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x124e23(0x133)),TestDetails=require(a8_0x124e23(0xe0));this['_gitConfigured']=![],this[a8_0x124e23(0xed)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x16e83d,_0x250e11,_0x357b14,_0x8189de,_0x449b08){const _0x4af7a4=a8_0x124e23,_0x4043df={'DzwrP':function(_0x56a508,_0x5c67a8){return _0x56a508===_0x5c67a8;},'lVILm':'FAILED','yjXto':_0x4af7a4(0xee),'SAVbz':'SKIPPED','FxLuc':_0x4af7a4(0x14c),'Hjdlo':function(_0x4f993f,_0xe98065){return _0x4f993f||_0xe98065;},'goAuC':function(_0x3c62c6,_0x5fe4a0){return _0x3c62c6+_0x5fe4a0;},'ThFxq':function(_0x9ae05f,_0x1e2ca5){return _0x9ae05f+_0x1e2ca5;},'seXNy':function(_0x4d2373,_0x5d8187){return _0x4d2373+_0x5d8187;},'kpnfI':_0x4af7a4(0x124),'hmfYe':_0x4af7a4(0x159),'syHzr':_0x4af7a4(0x153),'ilbgU':_0x4af7a4(0xeb),'byVOt':'passed','IfHWt':function(_0x5e1243,_0x5f4a05){return _0x5e1243!==_0x5f4a05;},'ACgKa':function(_0x2c05b2,_0x57f855){return _0x2c05b2/_0x57f855;},'VaqPm':'strip-ansi','xmRYq':function(_0x1f7f26,_0x5f050d){return _0x1f7f26(_0x5f050d);},'AhzpR':_0x4af7a4(0x150),'nwaNu':_0x4af7a4(0x15f),'zuKTZ':_0x4af7a4(0xf3),'ZBiyN':_0x4af7a4(0x115),'DCmSV':function(_0x218a7b,_0x5d2047){return _0x218a7b>_0x5d2047;}},{feature:_0x1c74e7,scenario:_0x28f652,steps:_0x8470eb,uuid:_0x4fbb2f,startedAt:_0xfd6fcc,finishedAt:_0x5d3beb}=_0x4043df[_0x4af7a4(0xcf)](_0x449b08,{}),_0x1985fa=this[_0x4af7a4(0x141)](_0x250e11,_0x357b14);await this[_0x4af7a4(0x13c)]();const _0x22951c=_0x1985fa?_0x4043df[_0x4af7a4(0x154)](_0x4043df[_0x4af7a4(0xd8)](_0x4043df[_0x4af7a4(0x135)](_0x357b14[_0x4af7a4(0xc9)],'\x20('),_0x1985fa['join'](',\x20')),')'):_0x357b14[_0x4af7a4(0xc9)],_0x20083f={'uuid':_0x4fbb2f,'started_at':_0xfd6fcc,'finished_at':_0x5d3beb,'type':_0x4043df['kpnfI'],'body':{'lang':_0x4043df[_0x4af7a4(0xce)],'code':null},'name':_0x22951c,'scopes':[_0x1c74e7&&_0x1c74e7[_0x4af7a4(0xc9)]?_0x1c74e7['name']:''],'tags':_0x357b14[_0x4af7a4(0xfc)]?_0x357b14[_0x4af7a4(0xfc)]['map'](({name:_0x13f877})=>_0x13f877):[],'file_name':_0x357b14[_0x4af7a4(0x164)],'location':_0x357b14[_0x4af7a4(0x164)],'vc_filepath':this[_0x4af7a4(0xed)]&&_0x357b14[_0x4af7a4(0x164)]?path[_0x4af7a4(0xfa)](this['_gitConfigPath'],_0x357b14[_0x4af7a4(0x164)]):null,'framework':_0x4043df['syHzr'],'result':_0x4043df[_0x4af7a4(0x15d)],'meta':{'feature':_0x1c74e7,'scenario':_0x28f652,'steps':_0x8470eb,'examples':_0x1985fa},'customRerunParam':{'rerun_name':_0x22951c}};if(_0x16e83d['testCaseFinished']&&_0x8470eb){const _0x5228e4=_0x16e83d[_0x4af7a4(0x12a)];let _0x55cac0=_0x4043df[_0x4af7a4(0x140)];_0x8470eb[_0x4af7a4(0xcc)](_0x650928=>{const _0x14d546=_0x4af7a4;if(_0x4043df[_0x14d546(0x147)](_0x650928['result'],_0x4043df[_0x14d546(0x102)]))return _0x55cac0=_0x4043df[_0x14d546(0xca)],_0x5228e4[_0x14d546(0x128)]=_0x650928['failure'],_0x5228e4['failureType']=_0x650928[_0x14d546(0x163)],![];else{if(_0x4043df['DzwrP'](_0x650928[_0x14d546(0xde)],_0x4043df[_0x14d546(0x143)]))return _0x55cac0=_0x4043df[_0x14d546(0x125)],![];}return!![];}),_0x20083f['finished_at']=new Date()[_0x4af7a4(0xda)](),_0x20083f[_0x4af7a4(0xde)]=_0x55cac0;_0x5228e4[_0x4af7a4(0xf1)]&&_0x4043df[_0x4af7a4(0x136)](_0x5228e4[_0x4af7a4(0xf1)][_0x4af7a4(0xd3)],undefined)?_0x20083f[_0x4af7a4(0x122)]=_0x4043df[_0x4af7a4(0xe8)](_0x5228e4[_0x4af7a4(0xf1)][_0x4af7a4(0xd3)],0xf4240):_0x20083f[_0x4af7a4(0x122)]=undefined;if(_0x4043df[_0x4af7a4(0x147)](_0x55cac0,_0x4043df['yjXto'])){const {default:_0x4b0479}=await import(_0x4043df[_0x4af7a4(0x11c)]);_0x20083f[_0x4af7a4(0x128)]=[{'backtrace':[_0x5228e4['failure']?_0x4043df['xmRYq'](_0x4b0479,_0x5228e4[_0x4af7a4(0x128)]):_0x4043df[_0x4af7a4(0xef)]]}],_0x20083f[_0x4af7a4(0x109)]=_0x5228e4[_0x4af7a4(0x128)]?_0x4043df[_0x4af7a4(0x10c)](_0x4b0479,_0x5228e4[_0x4af7a4(0x128)]):_0x5228e4[_0x4af7a4(0x12d)],_0x5228e4[_0x4af7a4(0x163)]&&(_0x20083f[_0x4af7a4(0xd0)]=_0x5228e4[_0x4af7a4(0x163)][_0x4af7a4(0x120)](/AssertError/)?_0x4043df[_0x4af7a4(0x10f)]:_0x4043df[_0x4af7a4(0xf7)]);}}if(_0x4043df[_0x4af7a4(0x147)](_0x8189de,_0x4043df[_0x4af7a4(0x123)])){const _0x452732=this[_0x4af7a4(0x155)](_0x16e83d[_0x4af7a4(0x12a)][_0x4af7a4(0x11a)]);_0x452732&&_0x4043df['DCmSV'](_0x452732['length'],0x0)&&(_0x20083f[_0x4af7a4(0x12f)]=_0x452732,this[_0x4af7a4(0x10b)](_0x16e83d[_0x4af7a4(0x12a)][_0x4af7a4(0x11a)],_0x20083f));}testhubUtils['appendTesthubParams'](_0x20083f,_0x8189de,'',FRAMEWORKS[_0x4af7a4(0x11b)]);const _0x39fde4={};_0x39fde4[_0x4af7a4(0x126)]=_0x8189de,_0x39fde4[_0x4af7a4(0xdf)]=_0x20083f;const _0x12e5b5=_0x39fde4;await SessionHandler[_0x4af7a4(0x11f)](_0x12e5b5);}['updateTestStatus'](_0x5ea94a,_0x316225){const _0x3a9543=a8_0x124e23,_0x28b96f={};_0x28b96f[_0x3a9543(0xd2)]=function(_0x201bec,_0x1b0b03){return _0x201bec instanceof _0x1b0b03;},_0x28b96f['FUrfY']=function(_0x583a38,_0x23cfca){return _0x583a38===_0x23cfca;},_0x28b96f[_0x3a9543(0x148)]=_0x3a9543(0xee),_0x28b96f['Lehkh']=_0x3a9543(0x161),_0x28b96f[_0x3a9543(0x119)]=function(_0x3299ce,_0x247035){return _0x3299ce instanceof _0x247035;};const _0x44bece=_0x28b96f,_0x152ff9=hooksMap[_0x5ea94a];if(_0x44bece['xfhIe'](_0x152ff9,Array))for(const _0x597cf0 of _0x152ff9){if(_0x44bece[_0x3a9543(0x151)](_0x597cf0[_0x3a9543(0xde)],_0x44bece['mILKQ'])){const _0x189ae8=_0x44bece[_0x3a9543(0xe4)][_0x3a9543(0xd5)]('|');let _0x4c90a6=0x0;while(!![]){switch(_0x189ae8[_0x4c90a6++]){case'0':_0x316225['failure_type']=_0x597cf0[_0x3a9543(0xd0)];continue;case'1':_0x316225[_0x3a9543(0x109)]=_0x44bece[_0x3a9543(0x119)](_0x597cf0['failure_data'],Array)?_0x597cf0[_0x3a9543(0x156)][0x0][_0x3a9543(0x104)][_0x3a9543(0x157)]('\x0a'):'';continue;case'2':_0x316225[_0x3a9543(0x128)]=_0x597cf0['failure_data'];continue;case'3':return _0x316225;case'4':_0x316225['result']=_0x597cf0[_0x3a9543(0xde)];continue;}break;}}};}[a8_0x124e23(0x155)](_0x483cd8){const _0x552374=a8_0x124e23;if(hooksMap[_0x483cd8])return hooksMap[_0x483cd8]['map'](_0x5ec33e=>_0x5ec33e[_0x552374(0x130)]);return[];}[a8_0x124e23(0x131)](_0x33aabb,_0x284755,_0x23d83b,_0x541d5b,_0x407d4c,_0x36f5a1){const _0xd31ab2=a8_0x124e23,_0x3126e7={'fSlXt':function(_0xa06929,_0x100c99){return _0xa06929===_0x100c99;},'JSyQJ':_0xd31ab2(0xcd),'PNxeO':function(_0x5ee1cf,_0x33cdc1,_0x42335f){return _0x5ee1cf(_0x33cdc1,_0x42335f);},'pWdLf':_0xd31ab2(0x14d),'kDqNN':_0xd31ab2(0x164),'fivAx':_0xd31ab2(0xeb),'GfqZb':_0xd31ab2(0xf9),'XFNMu':_0xd31ab2(0x159),'DqgBH':_0xd31ab2(0xd9),'IAJjg':_0xd31ab2(0xc9),'GYGGg':function(_0x2009eb,_0x1227aa,_0x5be223){return _0x2009eb(_0x1227aa,_0x5be223);},'nbGvB':'cucumber'};try{if(_0x3126e7[_0xd31ab2(0xff)](_0x23d83b,_0x3126e7[_0xd31ab2(0x158)])){const _0x18650e=new Date()[_0xd31ab2(0xda)](),_0x4db9e7=hooksMap[_0x284755];if(!_0x4db9e7)return;const _0x791df4=_0x4db9e7[_0xd31ab2(0x15e)](_0x2073fa=>_0x2073fa[_0xd31ab2(0x130)]===_0x541d5b['id']);if(!_0x791df4)return;const _0x8b0096=this[_0xd31ab2(0x105)](_0x33aabb,_0x284755);_0x791df4[_0xd31ab2(0xde)]=_0x8b0096[_0xd31ab2(0xe7)],_0x791df4['finished_at']=_0x18650e,_0x791df4[_0xd31ab2(0xd0)]=_0x8b0096[_0xd31ab2(0x163)];const _0x27825a={};return _0x27825a['backtrace']=_0x8b0096[_0xd31ab2(0x116)],_0x791df4[_0xd31ab2(0x156)]=[_0x27825a],_0x791df4;}const _0x3a1e87=TestDetails[_0xd31ab2(0x13e)](_0x284755),_0x55477b=_0x33aabb[_0xd31ab2(0x12f)]['find'](_0x1763de=>_0x1763de['id']===_0x541d5b['hookId']),_0xe5038=_0x3126e7[_0xd31ab2(0x15c)](nestedKeyValue,_0x55477b,[_0x3126e7['pWdLf'],_0x3126e7[_0xd31ab2(0x12c)]]),_0x4af2a4=new Date()['toISOString'](),_0x38547a=_0x3126e7[_0xd31ab2(0x15b)],_0x18cf4b=_0x55477b[_0xd31ab2(0x144)]?_0x55477b['tagExpression'][_0xd31ab2(0xd5)]('\x20')[_0xd31ab2(0xd4)](_0x7e28da=>_0x7e28da[_0xd31ab2(0x127)]('@')):[],_0x3d701e={'uuid':_0x541d5b['id'],'type':_0x3126e7[_0xd31ab2(0x10e)],'hook_type':_0x36f5a1,'name':_0x55477b['name'],'body':{'lang':_0x3126e7[_0xd31ab2(0xf0)],'code':null},'tags':_0x18cf4b,'test_run_id':_0x3a1e87,'scope':_0x3126e7['PNxeO'](nestedKeyValue,_0x407d4c,[_0x3126e7[_0xd31ab2(0xf6)],_0x3126e7['IAJjg']]),'scopes':[_0x3126e7[_0xd31ab2(0x165)](nestedKeyValue,_0x407d4c,[_0x3126e7[_0xd31ab2(0xf6)],_0x3126e7['IAJjg']])||''],'file_name':_0xe5038,'location':_0xe5038,'vc_filepath':this['_gitConfigPath']?path[_0xd31ab2(0xfa)](this[_0xd31ab2(0xed)],_0xe5038):null,'result':_0x38547a,'started_at':_0x4af2a4,'framework':_0x3126e7[_0xd31ab2(0x117)]};return _0x3d701e;}catch(_0xb15f24){logger[_0xd31ab2(0xf5)](_0xd31ab2(0x13d)+util[_0xd31ab2(0x15a)](_0xb15f24)+'\x20');}}async[a8_0x124e23(0x162)](_0x242e95,_0xfd3ae3,_0x13bc49,_0x25dcdd,_0x4eabbb,_0x85c879){const _0x56415c=a8_0x124e23,_0x1d12bd={'oQcbj':function(_0x3211ae,_0x3b4192){return _0x3211ae===_0x3b4192;},'CuNRN':_0x56415c(0x14a),'XHrwT':function(_0x225610,_0x8ab29b,_0x4779c4){return _0x225610(_0x8ab29b,_0x4779c4);},'QQIEN':_0x56415c(0x14d),'GyWcV':_0x56415c(0x164),'VSaIM':_0x56415c(0x14e)};try{const _0x1817ed=_0x25dcdd[_0x56415c(0x15e)](_0x4d95c2=>_0x4d95c2['id']===_0x4eabbb);if(!_0x1817ed[_0x56415c(0x14b)])return;const _0x59e6c7=this['getCucumberHookType'](_0x25dcdd,_0x1817ed),_0x560869=this[_0x56415c(0x131)](_0x242e95,_0xfd3ae3,_0x13bc49,_0x1817ed,_0x85c879,_0x59e6c7);if(!_0x560869)return;_0x1d12bd[_0x56415c(0x110)](_0x13bc49,_0x1d12bd['CuNRN'])&&(hooksMap[_0xfd3ae3]?hooksMap[_0xfd3ae3][_0x56415c(0x103)](_0x560869):hooksMap[_0xfd3ae3]=[_0x560869]);const _0x2a8ee7=_0x242e95[_0x56415c(0x12f)][_0x56415c(0x15e)](_0x5e5b07=>_0x5e5b07['id']===_0x1817ed[_0x56415c(0x14b)]),_0xae8eb6=_0x1d12bd[_0x56415c(0xf4)](nestedKeyValue,_0x2a8ee7,[_0x1d12bd[_0x56415c(0x114)],_0x1d12bd['GyWcV']]);if(!_0xae8eb6)return;else{if(_0xae8eb6[_0x56415c(0x127)](_0x1d12bd[_0x56415c(0xfd)]))return;}const _0x2056b2={};_0x2056b2[_0x56415c(0x126)]=_0x13bc49,_0x2056b2['hook_run']=_0x560869;const _0x235c3f=_0x2056b2;await SessionHandler[_0x56415c(0x11f)](_0x235c3f);}catch(_0x1e33c2){logger['debug'](_0x56415c(0xcb)+util[_0x56415c(0x15a)](_0x1e33c2)+'\x20');}}[a8_0x124e23(0x105)](_0x108617,_0x54403f){const _0xf97ba0=a8_0x124e23,_0x38adc0={};_0x38adc0[_0xf97ba0(0xdb)]=function(_0x24709d,_0x33f529){return _0x24709d===_0x33f529;},_0x38adc0[_0xf97ba0(0x145)]=_0xf97ba0(0xee),_0x38adc0[_0xf97ba0(0x13a)]=_0xf97ba0(0xf3),_0x38adc0['dLiiK']='AssertionError',_0x38adc0[_0xf97ba0(0x12e)]=function(_0x1c8517,_0x5db15a){return _0x1c8517||_0x5db15a;};const _0x507d30=_0x38adc0,_0x1d286d=_0x108617[_0xf97ba0(0x152)][_0x54403f]['testStepResult'];let _0x4d7bb6,_0x101529;return _0x1d286d&&_0x507d30['uqDZh'](_0x1d286d[_0xf97ba0(0xe7)][_0xf97ba0(0x13b)]()[_0xf97ba0(0x10d)](),_0x507d30[_0xf97ba0(0x145)])&&(_0x4d7bb6=_0x507d30[_0xf97ba0(0xdb)](_0x1d286d[_0xf97ba0(0x139)],undefined)?_0x1d286d[_0xf97ba0(0x12d)]:_0x1d286d[_0xf97ba0(0x139)][_0xf97ba0(0x12d)],_0x101529=_0x507d30[_0xf97ba0(0xdb)](_0x1d286d['exception'],undefined)?_0x507d30[_0xf97ba0(0x13a)]:_0x1d286d[_0xf97ba0(0x12d)][_0xf97ba0(0x120)](/Assert/)?_0x507d30[_0xf97ba0(0xe9)]:_0x507d30[_0xf97ba0(0x13a)]),{'status':_0x1d286d['status'][_0xf97ba0(0x10d)](),'failureType':_0x507d30['tuoPk'](_0x101529,null),'failureData':!_0x4d7bb6?null:[_0x4d7bb6]};}[a8_0x124e23(0x129)](_0x4d91f9,_0x20472b){const _0x47a21a=a8_0x124e23,_0xd43f22={};_0xd43f22[_0x47a21a(0x13f)]=function(_0x475518,_0x1c63f0){return _0x475518===_0x1c63f0;},_0xd43f22[_0x47a21a(0xe6)]='AFTER_EACH',_0xd43f22[_0x47a21a(0x106)]=_0x47a21a(0x113);const _0x43f370=_0xd43f22;let _0xb28c61=![];for(const _0x7bafb4 of _0x4d91f9){_0x7bafb4[_0x47a21a(0xfe)]&&(_0xb28c61=!![]);if(_0x43f370[_0x47a21a(0x13f)](_0x20472b['id'],_0x7bafb4['id']))return _0xb28c61?_0x43f370[_0x47a21a(0xe6)]:_0x43f370[_0x47a21a(0x106)];}}['getScenarioExamples']=(_0x421e09,_0x164bca)=>{const _0x34cd29=a8_0x124e23,_0x389403={};_0x389403[_0x34cd29(0x118)]=function(_0x455965,_0x2b3903){return _0x455965===_0x2b3903;},_0x389403[_0x34cd29(0xec)]=function(_0x311545,_0x19e7d7){return _0x311545>_0x19e7d7;};const _0x7ebb33=_0x389403;if(!(_0x164bca[_0x34cd29(0x142)]&&_0x7ebb33[_0x34cd29(0xec)](_0x164bca['astNodeIds'][_0x34cd29(0x134)],0x1)))return;const _0x43a2ff=_0x164bca['astNodeIds'][0x0],_0x55a8d6=_0x164bca[_0x34cd29(0x142)][0x1],_0x43e20c=_0x421e09[_0x34cd29(0xd9)]&&_0x421e09[_0x34cd29(0xd9)][_0x34cd29(0xd7)]?_0x421e09['feature'][_0x34cd29(0xd7)]:undefined;let _0x2b99bd=[];_0x43e20c&&_0x43e20c['forEach'](_0x2d008a=>{const _0x38c0f3=_0x34cd29,_0x4d8a53={'hYJcW':function(_0x200270,_0x5a150e){const _0xe3901d=a8_0x5f27;return _0x7ebb33[_0xe3901d(0x118)](_0x200270,_0x5a150e);}};if(_0x2d008a['rule'])_0x2d008a[_0x38c0f3(0x108)][_0x38c0f3(0xd7)][_0x38c0f3(0xdc)](_0x4fdadf=>{const _0x3592d5=_0x38c0f3;if(_0x4fdadf[_0x3592d5(0x14f)]&&_0x4d8a53[_0x3592d5(0x11d)](_0x4fdadf[_0x3592d5(0x14f)]['id'],_0x43a2ff)&&_0x4fdadf[_0x3592d5(0x14f)][_0x3592d5(0x10a)]){const _0x3849d1=_0x4fdadf[_0x3592d5(0x14f)][_0x3592d5(0x10a)][_0x3592d5(0xdd)](_0x1cc7a1=>_0x1cc7a1['tableBody'])[_0x3592d5(0x15e)](_0x50e738=>_0x50e738['id']===_0x55a8d6);let _0xf924e0;_0x3849d1&&_0x3849d1[_0x3592d5(0x121)]?_0xf924e0=_0x3849d1[_0x3592d5(0x121)][_0x3592d5(0x100)](_0xa77c8f=>_0xa77c8f[_0x3592d5(0xd6)]):_0xf924e0=[],_0xf924e0&&(_0x2b99bd=_0xf924e0);}});else{if(_0x2d008a[_0x38c0f3(0x14f)]&&_0x7ebb33[_0x38c0f3(0x118)](_0x2d008a[_0x38c0f3(0x14f)]['id'],_0x43a2ff)&&_0x2d008a[_0x38c0f3(0x14f)][_0x38c0f3(0x10a)]){const _0x3b8843=_0x2d008a[_0x38c0f3(0x14f)][_0x38c0f3(0x10a)]['flatMap'](_0x2dba7e=>_0x2dba7e[_0x38c0f3(0x101)])[_0x38c0f3(0x15e)](_0x33c7ba=>_0x33c7ba['id']===_0x55a8d6);let _0x1e0981;_0x3b8843&&_0x3b8843[_0x38c0f3(0x121)]?_0x1e0981=_0x3b8843[_0x38c0f3(0x121)][_0x38c0f3(0x100)](_0x31dcad=>_0x31dcad['value']):_0x1e0981=[],_0x1e0981&&(_0x2b99bd=_0x1e0981);}}});if(_0x2b99bd['length'])return _0x2b99bd;return;};async[a8_0x124e23(0x13c)](){const _0x1c9424=a8_0x124e23,_0xe86a78={'OVNzD':function(_0x17e4b3){return _0x17e4b3();}};if(this[_0x1c9424(0x111)])return this[_0x1c9424(0xed)];const _0x231c91=await _0xe86a78[_0x1c9424(0xf8)](getGitMetaData);_0x231c91&&(this[_0x1c9424(0xed)]=_0x231c91[_0x1c9424(0x138)]),this[_0x1c9424(0x111)]=!![];}}module[a8_0x124e23(0x146)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x124e23(0x13c),a8_0x124e23(0x141),a8_0x124e23(0x129),a8_0x124e23(0x105),a8_0x124e23(0x162),a8_0x124e23(0x131),a8_0x124e23(0xd1)]);function a8_0x512b(){const _0x2c6c31=['relative','2395924fvDhlE','tags','VSaIM','pickleStepId','fSlXt','map','tableBody','lVILm','push','backtrace','getHookResult','CbmFj','../../helpers/test-observability/sessionHandler','rule','failure_reason','examples','updateTestStatus','xmRYq','toLowerCase','GfqZb','nwaNu','oQcbj','_gitConfigured','../../helpers/testhub/utils','BEFORE_EACH','QQIEN','TestRunFinished','failureData','nbGvB','hMdhi','mmyau','testCaseStartedId','CUCUMBER','VaqPm','hYJcW','util','uploadEventData','match','cells','duration_in_ms','ZBiyN','test','FxLuc','event_type','includes','failure','getCucumberHookType','testCaseFinished','405ezWogT','kDqNN','message','tuoPk','hooks','uuid','getHookRunEventData','320425DIfGAw','../../helpers/test-observability/constants.js','length','seXNy','IfHWt','7941580asNmDB','root','exception','dFXiu','toString','configureGit','Exception\x20in\x20getHookRunEventData:\x20','getTestUUID','hfhHy','byVOt','getScenarioExamples','astNodeIds','SAVbz','tagExpression','WfFSC','exports','DzwrP','mILKQ','881243rjEsDs','HookRunStarted','hookId','skipped','sourceReference','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','scenario','unknown','FUrfY','testStepFinished','cucumber','goAuC','getHooksListForTest','failure_data','join','JSyQJ','javascript','format','fivAx','PNxeO','ilbgU','find','AssertionError','243ZvRwiA','4|2|1|0|3','sendHook','failureType','uri','GYGGg','name','yjXto','Exception\x20in\x20sendHook:\x20','every','HookRunFinished','hmfYe','Hjdlo','failure_type','sendTestRunEventForCucumber','xfhIe','nanos','filter','split','value','children','ThFxq','feature','toISOString','uqDZh','forEach','flatMap','result','test_run','../playwright/reporter/test-details','449176mUVLjm','7188kJteue','path','Lehkh','30pzIqnP','ULYom','status','ACgKa','dLiiK','winstonLogger','pending','vlrSY','_gitConfigPath','failed','AhzpR','XFNMu','timestamp','150296ozhPlx','UnhandledError','XHrwT','debug','DqgBH','zuKTZ','OVNzD','hook'];a8_0x512b=function(){return _0x2c6c31;};return a8_0x512b();}
|
|
1
|
+
function a8_0x5beb(){const _0x56ff54=['backtrace','tableBody','Exception\x20in\x20sendHook:\x20','path','kIBal','135092Gaqzln','tgpro','jIgJq','_gitConfigPath','tTPIA','IPDqv','HookRunStarted','1842970ZlsMvv','kScsG','xHfiY','debug','strip-ansi','sendHook','toString','result','appendTesthubParams','sendTestRunEventForCucumber','TestRunFinished','unknown','nbXDw','failureData','getScenarioExamples','winstonLogger','tDTON','message','toISOString','1331268VJaKbP','failure','YYokr','DcINp','examples','getHookResult','720BVdULc','cpwAo','ORRem','HJjCJ','getHookRunEventData','../../helpers/testhub/utils','skipped','RjFRp','HHXMS','VnstI','sourceReference','join','push','LoNNb','CWzKh','IrZfy','getCucumberHookType','testCaseStartedId','testStepResult','_gitConfigured','timestamp','ShjHK','name','11389HPiUbM','pending','../../helpers/test-observability/sessionHandler','length','test_run','hook','SKIPPED','VAwSI','pFAoG','yozfl','tagExpression','filter','AFTER_EACH','dkKdk','testStepFinished','TRreI','tags','uDnRQ','map','YCSII','testCaseFinished','ysmxt','split','rule','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','failure_reason','BEFORE_EACH','configureGit','TsDKG','ycHpR','failed','javascript','35VywfUI','uploadEventData','keXzd','relative','nanos','scenario','passed','hooks','getHooksListForTest','failure_type','status','CSVkM','match','uri','flatMap','includes','feature','uBQrV','find','hookId','test','../../helpers/test-observability/constants.js','NZFqz','HJzns','uuid','finished_at','IHkaP','745600WjegyN','CUCUMBER','AqlpW','exception','root','failureType','UnhandledError','event_type','ArJKK','aAyPk','3|1|2|4|0','7QjGlfu','Exception\x20in\x20getHookRunEventData:\x20','20619MsbbRC','AssertionError','astNodeIds','updateTestStatus','children','value','TpqDZ','failure_data','RSHJh','AOsRz','getTestUUID','WODyE','format','../../helpers/logger','cells','2334096XihhmZ','../playwright/reporter/test-details'];a8_0x5beb=function(){return _0x56ff54;};return a8_0x5beb();}const a8_0x4e4305=a8_0x1845;function a8_0x1845(_0x509879,_0x281e9f){const _0x5beb59=a8_0x5beb();return a8_0x1845=function(_0x1845a7,_0x1c4fb9){_0x1845a7=_0x1845a7-0x1cc;let _0x308ff5=_0x5beb59[_0x1845a7];return _0x308ff5;},a8_0x1845(_0x509879,_0x281e9f);}(function(_0x22cd97,_0x50cb54){const _0x1a4ab2=a8_0x1845,_0x164d7c=_0x22cd97();while(!![]){try{const _0xa59dc7=parseInt(_0x1a4ab2(0x20d))/0x1+parseInt(_0x1a4ab2(0x248))/0x2+parseInt(_0x1a4ab2(0x1f0))/0x3+-parseInt(_0x1a4ab2(0x1d6))/0x4*(parseInt(_0x1a4ab2(0x22d))/0x5)+-parseInt(_0x1a4ab2(0x1cf))/0x6*(parseInt(_0x1a4ab2(0x253))/0x7)+-parseInt(_0x1a4ab2(0x1f6))/0x8*(-parseInt(_0x1a4ab2(0x255))/0x9)+-parseInt(_0x1a4ab2(0x1dd))/0xa;if(_0xa59dc7===_0x50cb54)break;else _0x164d7c['push'](_0x164d7c['shift']());}catch(_0x3a1965){_0x164d7c['push'](_0x164d7c['shift']());}}}(a8_0x5beb,0x36c9b));const path=require(a8_0x4e4305(0x1d4)),util=require('util'),hooksMap={},SessionHandler=require(a8_0x4e4305(0x20f)),testhubUtils=require(a8_0x4e4305(0x1fb)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x4e4305(0x1cd))[a8_0x4e4305(0x1ec)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0x4e4305(0x242)),TestDetails=require(a8_0x4e4305(0x1d0));this['_gitConfigured']=![],this[a8_0x4e4305(0x1d9)]=null;class TestObservabilityReporter{async[a8_0x4e4305(0x1e6)](_0x56bbf9,_0x49b960,_0x2adfb5,_0x347aa2,_0x38b4ed){const _0x53876e=a8_0x4e4305,_0x577c90={'aAyPk':function(_0x3f08b7,_0x11e98a){return _0x3f08b7===_0x11e98a;},'YCSII':'FAILED','kIBal':_0x53876e(0x22b),'tDTON':function(_0x3e99ac,_0xe86e8c){return _0x3e99ac===_0xe86e8c;},'ORRem':_0x53876e(0x213),'AOsRz':_0x53876e(0x1fc),'NZFqz':function(_0x4da428,_0x474936){return _0x4da428||_0x474936;},'hhvNT':function(_0x197d70,_0x50760c){return _0x197d70+_0x50760c;},'kScsG':function(_0x2a1c39,_0x29ed62){return _0x2a1c39+_0x29ed62;},'DdXKT':function(_0x24638f,_0x3e0392){return _0x24638f+_0x3e0392;},'IrZfy':_0x53876e(0x241),'mHthZ':_0x53876e(0x22c),'HJjCJ':'cucumber','LPNvv':'pending','eGZfL':_0x53876e(0x233),'dPfua':function(_0x33396e,_0x5e424d){return _0x33396e!==_0x5e424d;},'tgpro':function(_0x458e48,_0x54cd44){return _0x458e48/_0x54cd44;},'YYokr':_0x53876e(0x1e1),'ysmxt':function(_0x4c50b9,_0x3bf309){return _0x4c50b9(_0x3bf309);},'WODyE':_0x53876e(0x1e8),'rFdPu':'AssertionError','QbPgh':_0x53876e(0x24e),'wdcsg':function(_0x5b24a2,_0xcffd45){return _0x5b24a2===_0xcffd45;},'ShjHK':_0x53876e(0x1e7),'TRreI':function(_0x523c79,_0x2fcc62){return _0x523c79>_0x2fcc62;}},{feature:_0x39b6c3,scenario:_0x16aff6,steps:_0x518f0c,uuid:_0xe6bcb6,startedAt:_0x52b046,finishedAt:_0xcff82c}=_0x577c90[_0x53876e(0x243)](_0x38b4ed,{}),_0x2e42fe=this[_0x53876e(0x1eb)](_0x49b960,_0x2adfb5);await this[_0x53876e(0x228)]();const _0x59fca3=_0x2e42fe?_0x577c90['hhvNT'](_0x577c90[_0x53876e(0x1de)](_0x577c90['DdXKT'](_0x2adfb5['name'],'\x20('),_0x2e42fe[_0x53876e(0x201)](',\x20')),')'):_0x2adfb5[_0x53876e(0x20c)],_0x4313b3={'uuid':_0xe6bcb6,'started_at':_0x52b046,'finished_at':_0xcff82c,'type':_0x577c90[_0x53876e(0x205)],'body':{'lang':_0x577c90['mHthZ'],'code':null},'name':_0x59fca3,'scopes':[_0x39b6c3&&_0x39b6c3[_0x53876e(0x20c)]?_0x39b6c3[_0x53876e(0x20c)]:''],'tags':_0x2adfb5[_0x53876e(0x21d)]?_0x2adfb5[_0x53876e(0x21d)][_0x53876e(0x21f)](({name:_0x3a9123})=>_0x3a9123):[],'file_name':_0x2adfb5['uri'],'location':_0x2adfb5['uri'],'vc_filepath':this[_0x53876e(0x1d9)]&&_0x2adfb5['uri']?path[_0x53876e(0x230)](this['_gitConfigPath'],_0x2adfb5[_0x53876e(0x23a)]):null,'framework':_0x577c90[_0x53876e(0x1f9)],'result':_0x577c90['LPNvv'],'meta':{'feature':_0x39b6c3,'scenario':_0x16aff6,'steps':_0x518f0c,'examples':_0x2e42fe},'customRerunParam':{'rerun_name':_0x59fca3}};if(_0x56bbf9[_0x53876e(0x221)]&&_0x518f0c){const _0x8c5660=_0x56bbf9[_0x53876e(0x221)];let _0x534eaa=_0x577c90['eGZfL'];_0x518f0c['every'](_0x47f02d=>{const _0x8c5f1c=_0x53876e;if(_0x577c90[_0x8c5f1c(0x251)](_0x47f02d[_0x8c5f1c(0x1e4)],_0x577c90[_0x8c5f1c(0x220)]))return _0x534eaa=_0x577c90[_0x8c5f1c(0x1d5)],_0x8c5660[_0x8c5f1c(0x1f1)]=_0x47f02d[_0x8c5f1c(0x1f1)],_0x8c5660['failureType']=_0x47f02d[_0x8c5f1c(0x24d)],![];else{if(_0x577c90[_0x8c5f1c(0x1ed)](_0x47f02d[_0x8c5f1c(0x1e4)],_0x577c90[_0x8c5f1c(0x1f8)]))return _0x534eaa=_0x577c90[_0x8c5f1c(0x25e)],![];}return!![];}),_0x4313b3[_0x53876e(0x246)]=new Date()[_0x53876e(0x1ef)](),_0x4313b3[_0x53876e(0x1e4)]=_0x534eaa;_0x8c5660['timestamp']&&_0x577c90['dPfua'](_0x8c5660['timestamp']['nanos'],undefined)?_0x4313b3['duration_in_ms']=_0x577c90[_0x53876e(0x1d7)](_0x8c5660[_0x53876e(0x20a)][_0x53876e(0x231)],0xf4240):_0x4313b3['duration_in_ms']=undefined;if(_0x577c90[_0x53876e(0x1ed)](_0x534eaa,_0x577c90[_0x53876e(0x1d5)])){const {default:_0x5badf8}=await import(_0x577c90[_0x53876e(0x1f2)]);_0x4313b3[_0x53876e(0x1f1)]=[{'backtrace':[_0x8c5660[_0x53876e(0x1f1)]?_0x577c90[_0x53876e(0x222)](_0x5badf8,_0x8c5660[_0x53876e(0x1f1)]):_0x577c90[_0x53876e(0x260)]]}],_0x4313b3[_0x53876e(0x226)]=_0x8c5660['failure']?_0x577c90[_0x53876e(0x222)](_0x5badf8,_0x8c5660['failure']):_0x8c5660[_0x53876e(0x1ee)],_0x8c5660[_0x53876e(0x24d)]&&(_0x4313b3[_0x53876e(0x236)]=_0x8c5660[_0x53876e(0x24d)]['match'](/AssertError/)?_0x577c90['rFdPu']:_0x577c90['QbPgh']);}}if(_0x577c90['wdcsg'](_0x347aa2,_0x577c90[_0x53876e(0x20b)])){const _0x2a4c4b=this['getHooksListForTest'](_0x56bbf9[_0x53876e(0x221)]['testCaseStartedId']);_0x2a4c4b&&_0x577c90[_0x53876e(0x21c)](_0x2a4c4b[_0x53876e(0x210)],0x0)&&(_0x4313b3[_0x53876e(0x234)]=_0x2a4c4b,this['updateTestStatus'](_0x56bbf9['testCaseFinished'][_0x53876e(0x207)],_0x4313b3));}testhubUtils[_0x53876e(0x1e5)](_0x4313b3,_0x347aa2,'',FRAMEWORKS[_0x53876e(0x249)]);const _0x1e9984={};_0x1e9984[_0x53876e(0x24f)]=_0x347aa2,_0x1e9984[_0x53876e(0x211)]=_0x4313b3;const _0x14128d=_0x1e9984;await SessionHandler[_0x53876e(0x22e)](_0x14128d);}[a8_0x4e4305(0x258)](_0x382527,_0x146811){const _0x1b0d5c=a8_0x4e4305,_0x20453e={};_0x20453e[_0x1b0d5c(0x22a)]=function(_0x4b0d23,_0x4f09c6){return _0x4b0d23 instanceof _0x4f09c6;},_0x20453e[_0x1b0d5c(0x215)]=function(_0x5e83f9,_0x5a7f41){return _0x5e83f9===_0x5a7f41;},_0x20453e[_0x1b0d5c(0x1e9)]=_0x1b0d5c(0x22b),_0x20453e[_0x1b0d5c(0x244)]=_0x1b0d5c(0x252);const _0x5f8d1a=_0x20453e,_0x26918e=hooksMap[_0x382527];if(_0x5f8d1a[_0x1b0d5c(0x22a)](_0x26918e,Array))for(const _0x39b286 of _0x26918e){if(_0x5f8d1a['pFAoG'](_0x39b286[_0x1b0d5c(0x1e4)],_0x5f8d1a[_0x1b0d5c(0x1e9)])){const _0x5dfde2=_0x5f8d1a[_0x1b0d5c(0x244)]['split']('|');let _0x459a8d=0x0;while(!![]){switch(_0x5dfde2[_0x459a8d++]){case'0':return _0x146811;case'1':_0x146811[_0x1b0d5c(0x1f1)]=_0x39b286[_0x1b0d5c(0x25c)];continue;case'2':_0x146811[_0x1b0d5c(0x226)]=_0x5f8d1a[_0x1b0d5c(0x22a)](_0x39b286[_0x1b0d5c(0x25c)],Array)?_0x39b286[_0x1b0d5c(0x25c)][0x0]['backtrace'][_0x1b0d5c(0x201)]('\x0a'):'';continue;case'3':_0x146811[_0x1b0d5c(0x1e4)]=_0x39b286['result'];continue;case'4':_0x146811[_0x1b0d5c(0x236)]=_0x39b286['failure_type'];continue;}break;}}};}[a8_0x4e4305(0x235)](_0x5e4522){const _0x5cb870=a8_0x4e4305;if(hooksMap[_0x5e4522])return hooksMap[_0x5e4522][_0x5cb870(0x21f)](_0x5280d2=>_0x5280d2[_0x5cb870(0x245)]);return[];}['getHookRunEventData'](_0x440225,_0x605e46,_0x547a85,_0x38f69c,_0x388b85,_0x759f88){const _0x972f7b=a8_0x4e4305,_0x220b95={'LoNNb':function(_0x1f3329,_0x18beee){return _0x1f3329===_0x18beee;},'tTPIA':'HookRunFinished','VnstI':function(_0x3b76b3,_0x51d453,_0x4c9239){return _0x3b76b3(_0x51d453,_0x4c9239);},'RjFRp':_0x972f7b(0x200),'uDnRQ':_0x972f7b(0x23a),'GRhkE':_0x972f7b(0x20e),'RPiMA':_0x972f7b(0x212),'AqlpW':_0x972f7b(0x22c),'yozfl':_0x972f7b(0x23d),'Biyhz':_0x972f7b(0x20c),'UgKHG':function(_0x31772c,_0x473ede,_0x143ac3){return _0x31772c(_0x473ede,_0x143ac3);},'CSVkM':'cucumber'};try{if(_0x220b95[_0x972f7b(0x203)](_0x547a85,_0x220b95[_0x972f7b(0x1da)])){const _0x21f6ec=new Date()[_0x972f7b(0x1ef)](),_0x2c0d89=hooksMap[_0x605e46];if(!_0x2c0d89)return;const _0x402c04=_0x2c0d89[_0x972f7b(0x23f)](_0x2c8971=>_0x2c8971['uuid']===_0x38f69c['id']);if(!_0x402c04)return;const _0x1074aa=this[_0x972f7b(0x1f5)](_0x440225,_0x605e46);_0x402c04[_0x972f7b(0x1e4)]=_0x1074aa[_0x972f7b(0x237)],_0x402c04[_0x972f7b(0x246)]=_0x21f6ec,_0x402c04[_0x972f7b(0x236)]=_0x1074aa[_0x972f7b(0x24d)];const _0x477e9f={};return _0x477e9f[_0x972f7b(0x1d1)]=_0x1074aa[_0x972f7b(0x1ea)],_0x402c04[_0x972f7b(0x25c)]=[_0x477e9f],_0x402c04;}const _0x36890e=TestDetails[_0x972f7b(0x25f)](_0x605e46),_0x276b7d=_0x440225[_0x972f7b(0x234)][_0x972f7b(0x23f)](_0x5600c4=>_0x5600c4['id']===_0x38f69c['hookId']),_0x1a1d5e=_0x220b95['VnstI'](nestedKeyValue,_0x276b7d,[_0x220b95[_0x972f7b(0x1fd)],_0x220b95[_0x972f7b(0x21e)]]),_0x3aa615=new Date()[_0x972f7b(0x1ef)](),_0x25d9c5=_0x220b95['GRhkE'],_0x3934b4=_0x276b7d[_0x972f7b(0x217)]?_0x276b7d[_0x972f7b(0x217)][_0x972f7b(0x223)]('\x20')[_0x972f7b(0x218)](_0x2a5858=>_0x2a5858['includes']('@')):[],_0x32a807={'uuid':_0x38f69c['id'],'type':_0x220b95['RPiMA'],'hook_type':_0x759f88,'name':_0x276b7d[_0x972f7b(0x20c)],'body':{'lang':_0x220b95[_0x972f7b(0x24a)],'code':null},'tags':_0x3934b4,'test_run_id':_0x36890e,'scope':_0x220b95[_0x972f7b(0x1ff)](nestedKeyValue,_0x388b85,[_0x220b95['yozfl'],_0x220b95['Biyhz']]),'scopes':[_0x220b95['UgKHG'](nestedKeyValue,_0x388b85,[_0x220b95[_0x972f7b(0x216)],_0x220b95['Biyhz']])||''],'file_name':_0x1a1d5e,'location':_0x1a1d5e,'vc_filepath':this[_0x972f7b(0x1d9)]?path['relative'](this['_gitConfigPath'],_0x1a1d5e):null,'result':_0x25d9c5,'started_at':_0x3aa615,'framework':_0x220b95[_0x972f7b(0x238)]};return _0x32a807;}catch(_0x43c303){logger[_0x972f7b(0x1e0)](_0x972f7b(0x254)+util[_0x972f7b(0x1cc)](_0x43c303)+'\x20');}}async['sendHook'](_0x310dac,_0x4596af,_0x149016,_0x570890,_0xa81a04,_0x3614e5){const _0x1a6967=a8_0x4e4305,_0x4cf3b3={'HHXMS':function(_0x10023a,_0x476b4f){return _0x10023a===_0x476b4f;},'VOMPw':_0x1a6967(0x1dc),'ahyvd':function(_0x256ddd,_0x3c2e23,_0x435e58){return _0x256ddd(_0x3c2e23,_0x435e58);},'dkKdk':_0x1a6967(0x200),'cpwAo':_0x1a6967(0x23a),'IPDqv':_0x1a6967(0x225)};try{const _0x83c6ed=_0x570890[_0x1a6967(0x23f)](_0x5f49f2=>_0x5f49f2['id']===_0xa81a04);if(!_0x83c6ed[_0x1a6967(0x240)])return;const _0x127593=this['getCucumberHookType'](_0x570890,_0x83c6ed),_0x491d4a=this['getHookRunEventData'](_0x310dac,_0x4596af,_0x149016,_0x83c6ed,_0x3614e5,_0x127593);if(!_0x491d4a)return;_0x4cf3b3[_0x1a6967(0x1fe)](_0x149016,_0x4cf3b3['VOMPw'])&&(hooksMap[_0x4596af]?hooksMap[_0x4596af][_0x1a6967(0x202)](_0x491d4a):hooksMap[_0x4596af]=[_0x491d4a]);const _0x1090e7=_0x310dac[_0x1a6967(0x234)][_0x1a6967(0x23f)](_0x1b6c48=>_0x1b6c48['id']===_0x83c6ed['hookId']),_0x1db12c=_0x4cf3b3['ahyvd'](nestedKeyValue,_0x1090e7,[_0x4cf3b3[_0x1a6967(0x21a)],_0x4cf3b3[_0x1a6967(0x1f7)]]);if(!_0x1db12c)return;else{if(_0x1db12c[_0x1a6967(0x23c)](_0x4cf3b3[_0x1a6967(0x1db)]))return;}const _0x36b18d={};_0x36b18d['event_type']=_0x149016,_0x36b18d['hook_run']=_0x491d4a;const _0x4bcd4b=_0x36b18d;await SessionHandler[_0x1a6967(0x22e)](_0x4bcd4b);}catch(_0x47ad92){logger[_0x1a6967(0x1e0)](_0x1a6967(0x1d3)+util[_0x1a6967(0x1cc)](_0x47ad92)+'\x20');}}[a8_0x4e4305(0x1f5)](_0x2e9c25,_0x4d69b6){const _0x1f6f73=a8_0x4e4305,_0x5d0ae4={};_0x5d0ae4[_0x1f6f73(0x25b)]=function(_0x18f5cf,_0x47c021){return _0x18f5cf===_0x47c021;},_0x5d0ae4[_0x1f6f73(0x1f3)]='failed',_0x5d0ae4[_0x1f6f73(0x1d8)]=function(_0x32e1fb,_0x13b434){return _0x32e1fb===_0x13b434;},_0x5d0ae4[_0x1f6f73(0x22f)]=_0x1f6f73(0x24e),_0x5d0ae4[_0x1f6f73(0x23e)]=_0x1f6f73(0x256),_0x5d0ae4[_0x1f6f73(0x229)]=function(_0x458f0f,_0x533305){return _0x458f0f||_0x533305;};const _0x270eda=_0x5d0ae4,_0x1aeede=_0x2e9c25[_0x1f6f73(0x21b)][_0x4d69b6][_0x1f6f73(0x208)];let _0x245fc6,_0x161d82;return _0x1aeede&&_0x270eda['TpqDZ'](_0x1aeede[_0x1f6f73(0x237)][_0x1f6f73(0x1e3)]()['toLowerCase'](),_0x270eda[_0x1f6f73(0x1f3)])&&(_0x245fc6=_0x270eda['TpqDZ'](_0x1aeede[_0x1f6f73(0x24b)],undefined)?_0x1aeede[_0x1f6f73(0x1ee)]:_0x1aeede[_0x1f6f73(0x24b)][_0x1f6f73(0x1ee)],_0x161d82=_0x270eda[_0x1f6f73(0x1d8)](_0x1aeede[_0x1f6f73(0x24b)],undefined)?_0x270eda[_0x1f6f73(0x22f)]:_0x1aeede[_0x1f6f73(0x1ee)][_0x1f6f73(0x239)](/Assert/)?_0x270eda[_0x1f6f73(0x23e)]:_0x270eda[_0x1f6f73(0x22f)]),{'status':_0x1aeede[_0x1f6f73(0x237)]['toLowerCase'](),'failureType':_0x270eda[_0x1f6f73(0x229)](_0x161d82,null),'failureData':!_0x245fc6?null:[_0x245fc6]};}[a8_0x4e4305(0x206)](_0x22267c,_0x18a139){const _0x2d4d62=a8_0x4e4305,_0x437e9e={};_0x437e9e['IHkaP']=function(_0x1528e6,_0x4433bc){return _0x1528e6===_0x4433bc;},_0x437e9e[_0x2d4d62(0x250)]=_0x2d4d62(0x219),_0x437e9e['CWzKh']=_0x2d4d62(0x227);const _0x51b7d5=_0x437e9e;let _0x3163ae=![];for(const _0x5dfb7e of _0x22267c){_0x5dfb7e['pickleStepId']&&(_0x3163ae=!![]);if(_0x51b7d5[_0x2d4d62(0x247)](_0x18a139['id'],_0x5dfb7e['id']))return _0x3163ae?_0x51b7d5[_0x2d4d62(0x250)]:_0x51b7d5[_0x2d4d62(0x204)];}}[a8_0x4e4305(0x1eb)]=(_0x44d46c,_0x263d69)=>{const _0x9d861c=a8_0x4e4305,_0x48f3a4={};_0x48f3a4[_0x9d861c(0x25d)]=function(_0x382f81,_0x57f73d){return _0x382f81===_0x57f73d;},_0x48f3a4[_0x9d861c(0x1df)]=function(_0x3b81af,_0x35c2e1){return _0x3b81af>_0x35c2e1;};const _0x397b61=_0x48f3a4;if(!(_0x263d69[_0x9d861c(0x257)]&&_0x397b61[_0x9d861c(0x1df)](_0x263d69['astNodeIds'][_0x9d861c(0x210)],0x1)))return;const _0x4b37b7=_0x263d69[_0x9d861c(0x257)][0x0],_0x5983cb=_0x263d69[_0x9d861c(0x257)][0x1],_0x38cfc4=_0x44d46c[_0x9d861c(0x23d)]&&_0x44d46c['feature'][_0x9d861c(0x259)]?_0x44d46c[_0x9d861c(0x23d)][_0x9d861c(0x259)]:undefined;let _0x53cc63=[];_0x38cfc4&&_0x38cfc4['forEach'](_0x400562=>{const _0x15caeb=_0x9d861c;if(_0x400562[_0x15caeb(0x224)])_0x400562[_0x15caeb(0x224)][_0x15caeb(0x259)]['forEach'](_0x2e5808=>{const _0x1635a9=_0x15caeb;if(_0x2e5808['scenario']&&_0x397b61[_0x1635a9(0x25d)](_0x2e5808[_0x1635a9(0x232)]['id'],_0x4b37b7)&&_0x2e5808[_0x1635a9(0x232)][_0x1635a9(0x1f4)]){const _0x5b97ac=_0x2e5808[_0x1635a9(0x232)][_0x1635a9(0x1f4)][_0x1635a9(0x23b)](_0x1af4f7=>_0x1af4f7['tableBody'])[_0x1635a9(0x23f)](_0x4d8157=>_0x4d8157['id']===_0x5983cb);let _0x25c047;_0x5b97ac&&_0x5b97ac[_0x1635a9(0x1ce)]?_0x25c047=_0x5b97ac[_0x1635a9(0x1ce)][_0x1635a9(0x21f)](_0x1febcd=>_0x1febcd['value']):_0x25c047=[],_0x25c047&&(_0x53cc63=_0x25c047);}});else{if(_0x400562['scenario']&&_0x397b61[_0x15caeb(0x25d)](_0x400562['scenario']['id'],_0x4b37b7)&&_0x400562[_0x15caeb(0x232)][_0x15caeb(0x1f4)]){const _0x240142=_0x400562[_0x15caeb(0x232)][_0x15caeb(0x1f4)][_0x15caeb(0x23b)](_0x3e758e=>_0x3e758e[_0x15caeb(0x1d2)])['find'](_0x46cfec=>_0x46cfec['id']===_0x5983cb);let _0x385503;_0x240142&&_0x240142[_0x15caeb(0x1ce)]?_0x385503=_0x240142[_0x15caeb(0x1ce)][_0x15caeb(0x21f)](_0x42c10d=>_0x42c10d[_0x15caeb(0x25a)]):_0x385503=[],_0x385503&&(_0x53cc63=_0x385503);}}});if(_0x53cc63['length'])return _0x53cc63;return;};async[a8_0x4e4305(0x228)](){const _0x1778b3=a8_0x4e4305,_0x1e3504={'VAwSI':function(_0x505229){return _0x505229();}};if(this['_gitConfigured'])return this[_0x1778b3(0x1d9)];const _0x20fee1=await _0x1e3504[_0x1778b3(0x214)](getGitMetaData);_0x20fee1&&(this[_0x1778b3(0x1d9)]=_0x20fee1[_0x1778b3(0x24c)]),this[_0x1778b3(0x209)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x4e4305(0x228),a8_0x4e4305(0x1eb),a8_0x4e4305(0x206),a8_0x4e4305(0x1f5),a8_0x4e4305(0x1e2),a8_0x4e4305(0x1fa),'sendTestRunEventForCucumber']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x2ab239=a9_0x208a;(function(_0x3ced58,_0x5275f3){const _0x249831=a9_0x208a,_0x29701d=_0x3ced58();while(!![]){try{const _0x2cd8fd=-parseInt(_0x249831(0x254))/0x1+parseInt(_0x249831(0x180))/0x2+parseInt(_0x249831(0x1c8))/0x3+-parseInt(_0x249831(0x237))/0x4+parseInt(_0x249831(0x1f5))/0x5*(-parseInt(_0x249831(0x18c))/0x6)+-parseInt(_0x249831(0x1ef))/0x7*(parseInt(_0x249831(0x22b))/0x8)+parseInt(_0x249831(0x20f))/0x9;if(_0x2cd8fd===_0x5275f3)break;else _0x29701d['push'](_0x29701d['shift']());}catch(_0x4acadf){_0x29701d['push'](_0x29701d['shift']());}}}(a9_0x50b9,0xb386d));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x2ab239(0x16e)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x2ab239(0x260)),setKeepAlive=require(a9_0x2ab239(0x1d9)),util=require('util'),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a9_0x2ab239(0x231)),{commandRepository}=require(a9_0x2ab239(0x256)),cucumberModule=requireModule(a9_0x2ab239(0x24d),a9_0x2ab239(0x250)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x2ab239(0x16a)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x2ab239(0x20d)),TestInfo=require(a9_0x2ab239(0x23b)),RequestQueueHandler=require(a9_0x2ab239(0x1e1)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x2ab239(0x25f)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x2ab239(0x24b)),globals=require(a9_0x2ab239(0x16d)),testHubConstants=require(a9_0x2ab239(0x1db)),{shouldScanTestForAccessibility}=require(a9_0x2ab239(0x1d5)),{isUndefined}=require(a9_0x2ab239(0x1b3)),helper=require(a9_0x2ab239(0x16e)),a9_0x160bbc={};a9_0x160bbc[a9_0x2ab239(0x1c7)]=undefined,a9_0x160bbc[a9_0x2ab239(0x23c)]={},a9_0x160bbc[a9_0x2ab239(0x1f8)]=![],a9_0x160bbc['pwPage']=null,a9_0x160bbc[a9_0x2ab239(0x1fa)]=![],a9_0x160bbc[a9_0x2ab239(0x23c)]['id']=undefined,a9_0x160bbc[a9_0x2ab239(0x23c)]['testInfo']=undefined;const workerDetails=a9_0x160bbc;global[a9_0x2ab239(0x22a)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3365de){const _0x43f911=a9_0x2ab239,_0x57e64d={'Ygrbo':function(_0x1f42bf,_0x82f24e){return _0x1f42bf(_0x82f24e);},'FQdJi':'../v2/browserstackCLI','WsiUf':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x46e27f=workerDetails[_0x43f911(0x23c)]['testInfo'];if(!_0x46e27f)return;if(playwrightPatcher)try{const _0x48f975=_0x57e64d[_0x43f911(0x22c)](require,_0x57e64d[_0x43f911(0x21e)]);if(_0x48f975['getInstance']()[_0x43f911(0x245)]()){const _0x16fb4c=_0x46e27f['testCaseStartedId'];_0x16fb4c?(_0x3365de[_0x43f911(0x205)]=_0x16fb4c,_0x3365de[_0x43f911(0x1ba)]=_0x16fb4c,TestInfo[_0x43f911(0x168)](_0x16fb4c,_0x3365de)):logger['debug'](_0x57e64d[_0x43f911(0x177)]);return;}}catch(_0x31d97b){logger[_0x43f911(0x221)](_0x43f911(0x1bd)+util[_0x43f911(0x19a)](_0x31d97b));}await MyReporter['addTestUIDAndReportLog'](_0x46e27f,_0x3365de);}),registerListeners=()=>{const _0x254fb5=a9_0x2ab239,_0xcb840={};_0xcb840[_0x254fb5(0x240)]=_0x254fb5(0x1d0);const _0x2276ef=_0xcb840;logger[_0x254fb5(0x221)](_0x2276ef[_0x254fb5(0x240)]),process[_0x254fb5(0x207)](_0x254fb5(0x239)+process['pid']),process['on'](_0x254fb5(0x239)+process[_0x254fb5(0x223)],sendTestLog),PerformanceTester[_0x254fb5(0x1e8)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x2ab239(0x1e7)],After=cucumberModule[a9_0x2ab239(0x194)],AfterAll=cucumberModule[a9_0x2ab239(0x232)],BeforeAll=cucumberModule[a9_0x2ab239(0x1d7)],AfterStep=cucumberModule[a9_0x2ab239(0x215)],configuration=process['env'][a9_0x2ab239(0x164)],bstackConfig=process[a9_0x2ab239(0x21f)][a9_0x2ab239(0x1c9)];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x2ab239(0x23f)]),global[a9_0x2ab239(0x1d2)]=isTrue(config[a9_0x2ab239(0x17e)])):(global[a9_0x2ab239(0x20e)]=!![],global[a9_0x2ab239(0x1d2)]=!![]);!helper[a9_0x2ab239(0x238)](a9_0x2ab239(0x219))&&(logger[a9_0x2ab239(0x221)](a9_0x2ab239(0x1f1)),shouldProcessEventForTesthub()?require(a9_0x2ab239(0x172))[a9_0x2ab239(0x21c)](config,null,!![]):require(a9_0x2ab239(0x172))[a9_0x2ab239(0x21c)](config));global[a9_0x2ab239(0x208)]=config[a9_0x2ab239(0x190)]||{};if(helper[a9_0x2ab239(0x238)]('@playwright/test'))try{logger[a9_0x2ab239(0x221)](a9_0x2ab239(0x1a4)),playwrightPatcher=require(a9_0x2ab239(0x1e2)),playwrightPatcher[a9_0x2ab239(0x20c)](config),logger['debug']('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x888097){logger[a9_0x2ab239(0x221)](a9_0x2ab239(0x252)+util[a9_0x2ab239(0x19a)](a9_0x888097));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x2ab239(0x1a5)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x2ab239(0x1b0)](browserStackConfig),commandRepository[a9_0x2ab239(0x18f)](a9_0x2ab239(0x1f0)));}global[a9_0x2ab239(0x23a)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x2ab239(0x241)];cucumberModule[a9_0x2ab239(0x241)]=_0x363dba=>{const _0x4a1373=a9_0x2ab239,_0xb3a9a1={'aHkZp':function(_0xe1ea7c,_0x48e487){return _0xe1ea7c(_0x48e487);}};global['__timeout']=_0x363dba,_0xb3a9a1[_0x4a1373(0x1cc)](__setDefaultTimeout,_0x363dba);};const a9_0x386500={};a9_0x386500[a9_0x2ab239(0x251)]='bstack',BeforeAll(a9_0x386500,async function(){const _0x3f21ae=a9_0x2ab239,_0x69968a={'AGcjV':function(_0x24a7e9,_0x23f9d2,_0x529f16,_0x336c16){return _0x24a7e9(_0x23f9d2,_0x529f16,_0x336c16);},'tsgEv':_0x3f21ae(0x1b8),'zxVyN':_0x3f21ae(0x188),'BQuVG':function(_0x25019e,_0x3d2ad2,_0x39f381){return _0x25019e(_0x3d2ad2,_0x39f381);},'IkHDp':_0x3f21ae(0x193),'sLlnn':_0x3f21ae(0x1ff),'QFxGK':function(_0x48fe49,_0x2ddd10){return _0x48fe49(_0x2ddd10);},'BQkXg':_0x3f21ae(0x201),'GcmKK':_0x3f21ae(0x17f),'WPTtL':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','ZexZU':function(_0x457696){return _0x457696();},'lIbEe':function(_0x2925fd,_0x13dc41){return _0x2925fd(_0x13dc41);}};PerformanceTester[_0x3f21ae(0x1e8)](),logger[_0x3f21ae(0x221)](_0x69968a[_0x3f21ae(0x247)]),global[_0x3f21ae(0x1d6)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x19567f=_0x69968a['QFxGK'](require,_0x69968a[_0x3f21ae(0x19d)]),_0x5805c2=_0x69968a[_0x3f21ae(0x165)](require,_0x69968a[_0x3f21ae(0x1d3)]);_0x19567f[_0x3f21ae(0x244)]()[_0x3f21ae(0x1fd)]()&&(logger[_0x3f21ae(0x221)](_0x69968a[_0x3f21ae(0x1ce)]),_0x5805c2[_0x3f21ae(0x229)](FRAMEWORKS[_0x3f21ae(0x1e9)],FRAMEWORKS[_0x3f21ae(0x1ac)]),await _0x19567f[_0x3f21ae(0x244)]()['bootstrap']());}catch(_0x14a1d1){logger[_0x3f21ae(0x221)](_0x3f21ae(0x171)+util['format'](_0x14a1d1));}_0x69968a[_0x3f21ae(0x1e3)](shouldProcessEventForTesthub)&&(_0x69968a[_0x3f21ae(0x1e3)](registerListeners),_0x69968a[_0x3f21ae(0x179)](addRequestSpy,![])),global[_0x3f21ae(0x1af)]=async()=>{const _0x36886e=_0x3f21ae;let _0x3a837b=![];try{global['__drivers']&&global[_0x36886e(0x1c1)][0x0]&&(await global[_0x36886e(0x1c1)][0x0][_0x36886e(0x182)],_0x3a837b=!![],global[_0x36886e(0x209)]?await _0x69968a['AGcjV'](markSessionStatus,global[_0x36886e(0x1c1)][0x0],_0x69968a['tsgEv'],global['__error_messages__'][_0x36886e(0x253)](_0x69968a[_0x36886e(0x1cd)])):await _0x69968a[_0x36886e(0x17b)](markSessionStatus,global[_0x36886e(0x1c1)][0x0],_0x69968a[_0x36886e(0x1b4)]));}catch(_0xe861e7){logger['debug'](_0x36886e(0x230)+_0xe861e7);}global[_0x36886e(0x1d6)]=[],global[_0x36886e(0x209)]=![];if(_0x3a837b)try{await global[_0x36886e(0x1c1)][0x0]['initQuit'](),global['__drivers'][0x0][_0x36886e(0x182)][_0x36886e(0x1fb)](_0x43cdb8=>{const _0x23dd66=_0x36886e;logger[_0x23dd66(0x221)](_0x23dd66(0x1c2)+_0x43cdb8[_0x23dd66(0x1de)]());})[_0x36886e(0x24e)](_0x422191=>{});}catch(_0x16b531){logger[_0x36886e(0x221)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x16b531);}};});const a9_0x5604ad={};a9_0x5604ad[a9_0x2ab239(0x251)]=a9_0x2ab239(0x1fc),a9_0x5604ad['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2ab239(0x184)],Before(a9_0x5604ad,function(_0x51e046,_0x41f539){const _0x464252=a9_0x2ab239,_0x232d17={'kkvyA':function(_0x46d44d,_0x18deb7){return _0x46d44d>_0x18deb7;},'RZdXT':function(_0x4034fa,_0x5c2726){return _0x4034fa(_0x5c2726);},'kYdxq':function(_0x4dfad7,_0x5615ba,_0x303b62,_0x16f157){return _0x4dfad7(_0x5615ba,_0x303b62,_0x16f157);},'mAhEy':_0x464252(0x246),'PXiQd':function(_0x7f27c9,_0x4ca161){return _0x7f27c9(_0x4ca161);},'uuRZw':_0x464252(0x201),'bYlqw':function(_0x229694,_0x3992af){return _0x229694(_0x3992af);},'DwtNg':_0x464252(0x249),'dyPTW':_0x464252(0x186),'MAGgt':_0x464252(0x218),'OcrUj':'cucumber-test','hwOtf':function(_0xf7a844){return _0xf7a844();},'CAcvW':_0x464252(0x1b6)};commandRepository['setTestNameForHealingContext'](_0x51e046[_0x464252(0x21d)][_0x464252(0x251)]),logger[_0x464252(0x221)](_0x232d17['CAcvW']),new Promise(async _0x3d118a=>{const _0x451f14=_0x464252;try{global['__drivers']&&_0x232d17[_0x451f14(0x20a)](global['__drivers']['length'],0x1)&&(await global['driverCleanup'](),global[_0x451f14(0x1c1)]['shift']()),global[_0x451f14(0x1c1)]&&global[_0x451f14(0x1c1)][0x0]&&global[_0x451f14(0x1c1)][0x0][_0x451f14(0x233)]&&_0x232d17['kkvyA'](global[_0x451f14(0x1c1)][0x0]['quitCount_'],0x0)&&await global[_0x451f14(0x1af)]();}catch(_0x31ec90){logger[_0x451f14(0x221)](_0x451f14(0x175)+_0x31ec90);}workerDetails[_0x451f14(0x23c)][_0x451f14(0x213)]=_0x51e046;if(!playwrightPatcher)try{if(!_0x232d17[_0x451f14(0x24f)](isUndefined,_0x51e046[_0x451f14(0x21d)]['tags'])){const _0x2410b0=_0x232d17[_0x451f14(0x1a0)](shouldScanTestForAccessibility,null,![],_0x51e046[_0x451f14(0x21d)][_0x451f14(0x1d4)][_0x451f14(0x185)](({name:_0x2f89cb})=>_0x2f89cb));globals['setGlobal'](_0x232d17[_0x451f14(0x1ea)],_0x2410b0);}}catch(_0x5799a0){logger['debug']('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x451f14(0x19a)](_0x5799a0));}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x51e046),global[_0x451f14(0x22a)]&&global[_0x451f14(0x22a)][_0x451f14(0x16c)]&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x451f14(0x22a)][_0x451f14(0x16c)]);}catch(_0x31db14){logger['debug'](_0x451f14(0x21b)+util[_0x451f14(0x19a)](_0x31db14));}if(playwrightPatcher)try{const _0x10751c=_0x232d17[_0x451f14(0x236)](require,_0x232d17[_0x451f14(0x225)]),_0x386e36=_0x232d17[_0x451f14(0x1a7)](require,_0x232d17[_0x451f14(0x23d)]),_0x3b4fb5=_0x232d17['PXiQd'](require,_0x232d17[_0x451f14(0x202)]);if(_0x10751c[_0x451f14(0x244)]()[_0x451f14(0x245)]()){const _0x35a970={'title':_0x51e046[_0x451f14(0x21d)][_0x451f14(0x251)]||_0x232d17['MAGgt'],'titlePath':[_0x51e046['pickle']['name']||_0x232d17[_0x451f14(0x257)]],'id':_0x51e046['testCaseStartedId']||_0x232d17[_0x451f14(0x1a6)],'tags':_0x51e046['pickle'][_0x451f14(0x1d4)]||[],..._0x51e046},_0x1ce30c=_0x35a970;global[_0x451f14(0x22f)]=_0x1ce30c,logger['debug'](_0x451f14(0x197)+_0x51e046['pickle'][_0x451f14(0x251)]);}}catch(_0xaab037){logger['debug'](_0x451f14(0x1e4)+util[_0x451f14(0x19a)](_0xaab037));}_0x232d17[_0x451f14(0x17a)](_0x3d118a);})[_0x464252(0x163)](_0x41f539);});const a9_0xfe6dfe={};function a9_0x50b9(){const _0x2c31c6=['pickle','FQdJi','env','kZetp','debug','toLowerCase','pid','afterTestHook','uuRZw','Cleaned\x20up\x20close\x20tracker','FDqBU','daMNu','setFrameworkDetail','__workerDetails','8CFSgSw','Ygrbo','testFramework','ttHGM','__currentTestInfo','Error:\x20cleaning\x20up\x20driver:\x20','../../helpers/performance/constants','AfterAll','quitCount_','cleanup','executeDeferredCloses','PXiQd','4970936ATdNnT','getPackageVersion','bs:addLog:','__timeout','../v2/TestInfo.js','currentTest','DwtNg','text','skipSessionName','bkQFC','setDefaultTimeout','OQCHI','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','getInstance','isRunning','bstackA11yShouldScan','sLlnn','Passed:\x20','../v2/state/automationFrameworkState','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','../../helpers/accessibility-automation/scripts','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','@cucumber/cucumber/lib/index.js','catch','RZdXT','@cucumber/cucumber','name','Error\x20initializing\x20Playwright\x20patching:\x20','join','521771hiUBTt','toString','../../helpers/ai-sdk/autoHealHelper','MAGgt','Failed:\x20','page','LEwcC','result','browserstackSessionName','EsfJH','dzCNY','../playwright/reporter/reporter.js','../utils/constants','finally','CONFIG','QFxGK','XwMfL','Error:\x20quiting\x20driver\x20at\x20After:\x20','storeLogObjects','Ceglg','../../helpers/testhub/utils','shutdown','pwPage','../../helpers/globals','../../helpers/helper','ybqJr','length','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','../../index','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','DUJij','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','sqXxD','WsiUf','oDXqX','lIbEe','hwOtf','BQuVG','PuFZZ','thBuildUuid','skipSessionStatus','../v2/cliUtils','2090914ZvVDIr','rQjIv','session_','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','Cucumber-JS','map','../v2/state/hookState',',\x22level\x22:\x20\x22','\x20|\x20','sYUoI','Inside\x20browserstack\x20After','yBFVC','5598ASOrDK','stopMonitoring','jAeyl','setFramework','platformCaps','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','timeout','passed','After','YqvRk','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','DnzRZ','format','reXki','zQwyS','BQkXg','pickleStep','Passed','kYdxq','performScan','info','Error\x20cleaning\x20up\x20close\x20tracker:\x20','Patching\x20Playwright','parse','OcrUj','bYlqw','nZVmW','QUIT','shift','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','PLAYWRIGHT','thJwtToken','Mqswo','driverCleanup','setConfig','Error:\x20at\x20After\x20Step:\x20','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','lodash','IkHDp','cucumber-test','Inside\x20browserstack\x20Before','Performing\x20scan\x20before\x20saving\x20results','failed','\x0aError:\x20','test_run_uuid','status','testCaseStartedId','Error\x20sending\x20log\x20created\x20event:\x20','Error\x20executing\x20deferred\x20closes:\x20','fMIQa','getGlobal','__drivers','Error:\x20in\x20quitting\x20driver\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','Cleaned\x20up\x20Playwright\x20close\x20tracker','4|2|3|1|0','initQuit','workerInfo','221625LNUQxx','BSTACK_CONFIG','Error:\x20at\x20After\x20(Selenium):\x20','integrations','aHkZp','zxVyN','WPTtL','ENV_VAR','Inside\x20browserstack\x20registerListeners','IiGyy','__skipSessionStatus','GcmKK','tags','../../helpers/accessibility-automation/helper','__error_messages__','BeforeAll','Vxmvv','../../helpers/setKeepAlive','wsKqV','../../helpers/testhub/constants.js','brAOX','message','getId','Flow\x20detection:\x20isSeleniumFlow=','closeTracker','../../helpers/test-observability/requestQueueHandler','../utils/playwright-patcher','ZexZU','Error\x20triggering\x20AutomationFramework\x20events:\x20','stringify','push','Before','startMonitoring','CUCUMBER','mAhEy','xMcbU','jANDw','test_run','executeAsyncScript','3441389lvmfqg','cucumber-js','Patching\x20Selenium','trackEvent','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Error:\x20at\x20After\x20(Playwright):\x20','810pOtXFK','pqClt','mNryK','o11ySyncDone','saveTestResults','isPageFixture','then','bstack','isCliEnabled','BROWSERSTACK_TESTHUB_UUID','Inside\x20browserstack\x20BeforeAll','XthIO','../v2/browserstackCLI','dyPTW','OUrOh','GSPzj','uuid','getTestUUID','removeAllListeners','__platformCaps','__sessionFailed','kkvyA','BKHbe','initializePlaywrightPatching','../playwright/reporter/test-details.js','__skipSessionName','18209583VvlSsh','Error:\x20sendPlatformDetails\x20at\x20After:\x20','executeScript','gPypM','testInfo','XwEHV','AfterStep','qztpS','../v2/browserstackCLI.js','Unknown\x20Test','@playwright/test','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','Error\x20in\x20playwright\x20beforeTestHook:\x20','browserstackAgentV2'];a9_0x50b9=function(){return _0x2c31c6;};return a9_0x50b9();}a9_0xfe6dfe[a9_0x2ab239(0x251)]=a9_0x2ab239(0x1fc),a9_0xfe6dfe[a9_0x2ab239(0x192)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2ab239(0x184)],After(a9_0xfe6dfe,function(_0x5a1827,_0x4ceb33){const _0x15d899=a9_0x2ab239,_0x52a723={'xMcbU':function(_0x1083b6,_0x4f62d6){return _0x1083b6>_0x4f62d6;},'Mqswo':function(_0x51b358,_0x432461){return _0x51b358===_0x432461;},'fMIQa':_0x15d899(0x1b8),'PuFZZ':function(_0xf500f1,_0x5634d5){return _0xf500f1>_0x5634d5;},'XwMfL':function(_0xc13c79,_0x49f9b9,_0x4a0987,_0x4d8c43){return _0xc13c79(_0x49f9b9,_0x4a0987,_0x4d8c43);},'jANDw':'\x20|\x20','EsfJH':function(_0x109bac,_0x3f520f,_0xa7f51f){return _0x109bac(_0x3f520f,_0xa7f51f);},'jAeyl':'passed','brAOX':function(_0x108385,_0x106bf3){return _0x108385(_0x106bf3);},'sEjHl':'../v2/browserstackCLI','zQwyS':_0x15d899(0x249),'oDXqX':_0x15d899(0x186),'ttHGM':_0x15d899(0x218),'nZVmW':_0x15d899(0x1b5),'BVGvt':'Completed\x20Playwright\x20afterTestHook\x20execution','reXki':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','pbJQY':_0x15d899(0x226),'GSPzj':_0x15d899(0x24c),'FDqBU':_0x15d899(0x173),'qztpS':function(_0x58c127,_0x458cc3){return _0x58c127(_0x458cc3);},'pqClt':_0x15d899(0x217),'sqXxD':function(_0x3d3442){return _0x3d3442();},'sYUoI':'CBTSessionCreated','KSIpC':'isAccessibilityPlatform','LEwcC':_0x15d899(0x246),'DnzRZ':_0x15d899(0x24a),'DUJij':_0x15d899(0x1b7),'LirWT':_0x15d899(0x1ab),'XthIO':_0x15d899(0x18a)};logger[_0x15d899(0x221)](_0x52a723[_0x15d899(0x200)]),workerDetails['currentTest']['testInfo']=_0x5a1827,new Promise(async _0x29be5c=>{const _0x180c78=_0x15d899;let _0x533a37=![],_0x4c7ccb=![],_0x45fa1f=![];try{global['__drivers']&&_0x52a723[_0x180c78(0x1eb)](global[_0x180c78(0x1c1)][_0x180c78(0x170)],0x0)&&(_0x4c7ccb=!![]),playwrightPatcher&&global[_0x180c78(0x22a)]&&global[_0x180c78(0x22a)][_0x180c78(0x16c)]&&(_0x45fa1f=!![],logger[_0x180c78(0x221)](_0x180c78(0x243)+!!global[_0x180c78(0x22a)][_0x180c78(0x16c)]));}catch(_0x39cb27){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0x39cb27);}logger['debug'](_0x180c78(0x1df)+_0x4c7ccb+',\x20isPlaywrightFlow='+_0x45fa1f);const _0x39c66c=_0x5a1827[_0x180c78(0x25b)][_0x180c78(0x1bb)][_0x180c78(0x255)]()['toLowerCase'](),_0x246546=_0x52a723[_0x180c78(0x1ae)](_0x39c66c,_0x52a723[_0x180c78(0x1bf)])||_0x52a723[_0x180c78(0x1ae)](_0x39c66c,'6'),_0x2639e3=_0x246546?_0x5a1827['result'][_0x180c78(0x1dd)]:null;if(_0x246546)try{global['__error_messages__'][_0x180c78(0x1e6)](_0x5a1827[_0x180c78(0x25b)][_0x180c78(0x1dd)]),global['__sessionFailed']=!![];}catch(_0x13e1a0){logger[_0x180c78(0x221)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x13e1a0);}if(_0x4c7ccb)try{global[_0x180c78(0x1c1)]&&_0x52a723[_0x180c78(0x17c)](global[_0x180c78(0x1c1)]['length'],0x1)&&(await global[_0x180c78(0x1af)](),global[_0x180c78(0x1c1)][_0x180c78(0x1aa)](),global[_0x180c78(0x1d6)]=[],global['__sessionFailed']=![]),global[_0x180c78(0x1c1)]&&global['__drivers'][0x0]&&(await global[_0x180c78(0x1c1)][0x0][_0x180c78(0x182)],_0x533a37=!![],!global['__skipSessionName']&&await global[_0x180c78(0x1c1)][0x0][_0x180c78(0x211)](_0x180c78(0x198)+_0x5a1827[_0x180c78(0x21d)][_0x180c78(0x251)]+'\x22}}'),_0x246546?await _0x52a723[_0x180c78(0x166)](markSessionStatus,global['__drivers'][0x0],_0x52a723[_0x180c78(0x1bf)],global[_0x180c78(0x1d6)][_0x180c78(0x253)](_0x52a723[_0x180c78(0x1ec)])):await _0x52a723[_0x180c78(0x25d)](markSessionStatus,global[_0x180c78(0x1c1)][0x0],_0x52a723[_0x180c78(0x18e)]));}catch(_0x31e3ad){logger[_0x180c78(0x221)](_0x180c78(0x1ca)+util[_0x180c78(0x19a)](_0x31e3ad));}if(_0x45fa1f)try{try{const _0x213935=_0x52a723['brAOX'](require,_0x52a723['sEjHl']),_0x149f0a=_0x52a723[_0x180c78(0x1dc)](require,_0x52a723[_0x180c78(0x19c)]),_0x1e4bb8=_0x52a723[_0x180c78(0x1dc)](require,_0x52a723[_0x180c78(0x178)]);if(_0x213935['getInstance']()['isRunning']()){const _0x111e4c={'title':_0x5a1827['pickle'][_0x180c78(0x251)]||_0x52a723['ttHGM'],'titlePath':[_0x5a1827[_0x180c78(0x21d)][_0x180c78(0x251)]||_0x52a723[_0x180c78(0x22e)]],'id':_0x5a1827[_0x180c78(0x1bc)]||_0x52a723[_0x180c78(0x1a8)],'status':_0x246546?_0x52a723['fMIQa']:_0x52a723[_0x180c78(0x18e)],'error':_0x2639e3?{'message':_0x2639e3}:null,'tags':_0x5a1827[_0x180c78(0x21d)]['tags']||[],..._0x5a1827},_0x2bcf65=_0x111e4c,_0x45d113={};_0x45d113['testInfo']=_0x2bcf65,_0x45d113['scenario']=_0x5a1827,_0x45d113[_0x180c78(0x259)]=global[_0x180c78(0x22a)][_0x180c78(0x16c)],_0x45d113[_0x180c78(0x22d)]=FRAMEWORKS[_0x180c78(0x1e9)],await _0x213935[_0x180c78(0x244)]()['getAutomationFramework']()[_0x180c78(0x1f2)](_0x149f0a[_0x180c78(0x1a9)],_0x1e4bb8['PRE'],_0x45d113),logger[_0x180c78(0x221)](_0x180c78(0x196)+_0x5a1827['pickle']['name']);}}catch(_0x1c0091){logger[_0x180c78(0x221)](_0x180c78(0x21a)+util[_0x180c78(0x19a)](_0x1c0091));}const _0x2cae7d=_0x246546?_0x52a723[_0x180c78(0x1bf)]:_0x52a723['jAeyl'];await playwrightPatcher[_0x180c78(0x224)](_0x5a1827,_0x2cae7d,_0x2639e3),logger[_0x180c78(0x221)](_0x52a723['BVGvt']);try{await playwrightPatcher['executeDeferredCloses'](),logger['debug'](_0x52a723[_0x180c78(0x19b)]);}catch(_0x583243){logger[_0x180c78(0x221)](_0x180c78(0x1be)+util[_0x180c78(0x19a)](_0x583243));}try{playwrightPatcher[_0x180c78(0x1e0)]['cleanup'](),logger[_0x180c78(0x221)](_0x52a723['pbJQY']);}catch(_0x48ebc0){logger[_0x180c78(0x221)](_0x180c78(0x1a3)+util['format'](_0x48ebc0));}}catch(_0x25566e){logger[_0x180c78(0x221)](_0x180c78(0x1f4)+util['format'](_0x25566e));try{playwrightPatcher[_0x180c78(0x235)]&&(await playwrightPatcher[_0x180c78(0x235)](),logger[_0x180c78(0x221)](_0x52a723[_0x180c78(0x204)])),playwrightPatcher[_0x180c78(0x1e0)]&&playwrightPatcher[_0x180c78(0x1e0)]['cleanup']&&(playwrightPatcher[_0x180c78(0x1e0)][_0x180c78(0x234)](),logger[_0x180c78(0x221)](_0x52a723[_0x180c78(0x227)]));}catch(_0x170492){logger[_0x180c78(0x221)]('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x180c78(0x19a)](_0x170492));}}const _0x457497=_0x52a723[_0x180c78(0x216)](require,_0x52a723[_0x180c78(0x1f6)]);if(!_0x457497[_0x180c78(0x244)]()[_0x180c78(0x245)]())try{if(_0x52a723[_0x180c78(0x176)](shouldProcessEventForTesthub)){const _0x332bc6=TestDetails[_0x180c78(0x206)](_0x5a1827[_0x180c78(0x1bc)]);let _0xe30e52=null;global[_0x180c78(0x1c1)]&&global[_0x180c78(0x1c1)][0x0]&&(_0xe30e52=await _0x52a723[_0x180c78(0x166)](sendPlatformDetails,global[_0x180c78(0x1c1)][0x0],_0x332bc6,!![]));const _0x233343={};_0x233343[_0x180c78(0x205)]=_0x332bc6,_0x233343[_0x180c78(0x1cb)]=_0xe30e52;const _0x2a70d7=_0x233343,_0x1e5b17={};_0x1e5b17['event_type']=_0x52a723[_0x180c78(0x189)],_0x1e5b17[_0x180c78(0x1ed)]=_0x2a70d7,await SessionHandler['uploadEventData'](_0x1e5b17);}}catch(_0xaa3813){logger['debug'](_0x180c78(0x210)+util['format'](_0xaa3813));}try{if(globals[_0x180c78(0x1c0)](_0x52a723['KSIpC'])&&globals[_0x180c78(0x1c0)](_0x52a723[_0x180c78(0x25a)])){logger[_0x180c78(0x1a2)](_0x52a723[_0x180c78(0x199)]);const _0x1aeb86=TestDetails[_0x180c78(0x206)](_0x5a1827['testCaseStartedId']),_0x51e45={};_0x51e45['thTestRunUuid']=_0x1aeb86,_0x51e45[_0x180c78(0x17d)]=process[_0x180c78(0x21f)][testHubConstants[_0x180c78(0x1cf)][_0x180c78(0x1fe)]],_0x51e45[_0x180c78(0x1ad)]=process[_0x180c78(0x21f)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']];const _0x2b6f9a=_0x51e45;logger['debug'](_0x180c78(0x1b2)+JSON[_0x180c78(0x1e5)](_0x2b6f9a)),logger[_0x180c78(0x221)](_0x52a723[_0x180c78(0x174)]),global[_0x180c78(0x1c1)]&&global[_0x180c78(0x1c1)][0x0]&&(logger[_0x180c78(0x221)](util[_0x180c78(0x19a)](await global['__drivers'][0x0][_0x180c78(0x1ee)](scripts[_0x180c78(0x1a1)],{'method':global[_0x180c78(0x25c)]}))),await global[_0x180c78(0x1c1)][0x0][_0x180c78(0x1ee)](scripts[_0x180c78(0x1f9)],_0x2b6f9a)),logger['info'](_0x52a723['LirWT']);}}catch(_0x936f60){logger['error'](_0x180c78(0x1c3)+util[_0x180c78(0x19a)](_0x936f60));}if(_0x533a37)try{global['__drivers'][0x0]&&_0x52a723[_0x180c78(0x17c)](global[_0x180c78(0x1c1)][0x0][_0x180c78(0x233)],0x0)&&await global[_0x180c78(0x1c1)][0x0][_0x180c78(0x1c6)]();}catch(_0x374d35){logger[_0x180c78(0x221)](_0x180c78(0x167)+_0x374d35);}_0x52a723[_0x180c78(0x176)](_0x29be5c);})['finally'](()=>_0x4ceb33());});const a9_0x35fe0c={};a9_0x35fe0c[a9_0x2ab239(0x251)]='bstack',a9_0x35fe0c[a9_0x2ab239(0x192)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2ab239(0x184)],AfterStep(a9_0x35fe0c,function(_0x2db1e7,_0x355ba0){const _0x5bfe35=a9_0x2ab239,_0x2d96ef={'HZaZG':function(_0x1dc9a6,_0x44f0e2){return _0x1dc9a6===_0x44f0e2;},'kZetp':_0x5bfe35(0x1b8),'IiGyy':function(_0x1d73dd,_0x5ebebc){return _0x1d73dd===_0x5ebebc;},'Vxmvv':function(_0x3f9baa,_0x5f1ac5){return _0x3f9baa!==_0x5f1ac5;},'ybqJr':function(_0x4c98ae,_0x5cb9b6,_0x13e6ae){return _0x4c98ae(_0x5cb9b6,_0x13e6ae);},'OUrOh':function(_0xcddfd9,_0x4a4d22){return _0xcddfd9+_0x4a4d22;},'wixVh':function(_0x219b9d,_0x30869c){return _0x219b9d+_0x30869c;},'YqvRk':_0x5bfe35(0x258),'XwEHV':_0x5bfe35(0x1b9),'bBJyK':'error','dzCNY':function(_0x2a5ec2,_0x38bd2f){return _0x2a5ec2!==_0x38bd2f;},'SNhMq':function(_0x2c4540,_0x1cf300){return _0x2c4540+_0x1cf300;},'gPypM':_0x5bfe35(0x248),'wsKqV':_0x5bfe35(0x1a2),'Ceglg':_0x5bfe35(0x19f),'daMNu':function(_0x38809a){return _0x38809a();},'BKHbe':'Inside\x20browserstack\x20AfterStep'};logger[_0x5bfe35(0x221)](_0x2d96ef[_0x5bfe35(0x20b)]);const _0x156515=async(_0x115b5a,_0x3de7e4)=>{const _0x25ff99=_0x5bfe35;global['__drivers']&&global['__drivers'][0x0]&&await global[_0x25ff99(0x1c1)][0x0][_0x25ff99(0x211)](_0x25ff99(0x183)+_0x115b5a+_0x25ff99(0x187)+_0x3de7e4+'\x22}}');};new Promise(async _0x2adf54=>{const _0x37b244=_0x5bfe35;try{const _0x172467=_0x2d96ef['HZaZG'](_0x2db1e7[_0x37b244(0x25b)]['status']['toString']()[_0x37b244(0x222)](),_0x2d96ef[_0x37b244(0x220)])||_0x2d96ef[_0x37b244(0x1d1)](_0x2db1e7['result'][_0x37b244(0x1bb)][_0x37b244(0x255)]()[_0x37b244(0x222)](),'6');_0x172467?(global[_0x37b244(0x209)]=!![],global[_0x37b244(0x1d6)][_0x37b244(0x1e6)](_0x2db1e7[_0x37b244(0x25b)][_0x37b244(0x1dd)]),_0x2d96ef[_0x37b244(0x1d8)](_0x2db1e7['pickleStep'],undefined)?await _0x2d96ef[_0x37b244(0x16f)](_0x156515,JSON['stringify'](_0x2d96ef[_0x37b244(0x203)](_0x2d96ef['wixVh'](_0x2d96ef[_0x37b244(0x203)](_0x2d96ef['YqvRk'],'\x22'+_0x2db1e7[_0x37b244(0x19e)]['text']+'\x22\x20'),_0x2d96ef[_0x37b244(0x214)]),_0x2db1e7[_0x37b244(0x25b)][_0x37b244(0x1dd)])),_0x2d96ef['bBJyK']):await _0x2d96ef[_0x37b244(0x16f)](_0x156515,JSON[_0x37b244(0x1e5)](_0x2d96ef['wixVh'](_0x2d96ef[_0x37b244(0x195)],_0x2db1e7[_0x37b244(0x25b)][_0x37b244(0x1dd)])),_0x2d96ef['bBJyK'])):_0x2d96ef[_0x37b244(0x25e)](_0x2db1e7[_0x37b244(0x19e)],undefined)?await _0x2d96ef[_0x37b244(0x16f)](_0x156515,JSON[_0x37b244(0x1e5)](_0x2d96ef['SNhMq'](_0x2d96ef[_0x37b244(0x212)],'\x22'+_0x2db1e7[_0x37b244(0x19e)][_0x37b244(0x23e)]+'\x22')),_0x2d96ef[_0x37b244(0x1da)]):await _0x2d96ef[_0x37b244(0x16f)](_0x156515,JSON[_0x37b244(0x1e5)](_0x2d96ef[_0x37b244(0x169)]),_0x2d96ef[_0x37b244(0x1da)]),global[_0x37b244(0x1c1)]&&global[_0x37b244(0x1c1)][0x0]&&global[_0x37b244(0x1c1)][0x0][_0x37b244(0x182)][_0x37b244(0x1fb)](_0x35c93e=>{})[_0x37b244(0x24e)](_0x443341=>{const _0x1c1798=_0x37b244;logger['debug'](_0x1c1798(0x1f3)+util['format'](_0x443341));});}catch(_0x236842){logger[_0x37b244(0x221)](_0x37b244(0x1b1)+_0x236842);}_0x2d96ef[_0x37b244(0x228)](_0x2adf54);})[_0x5bfe35(0x163)](()=>_0x355ba0());});const a9_0x24ee3b={};function a9_0x208a(_0x5b7d35,_0x3189ab){const _0x50b9df=a9_0x50b9();return a9_0x208a=function(_0x208aa2,_0x1c3f65){_0x208aa2=_0x208aa2-0x163;let _0x3cdd49=_0x50b9df[_0x208aa2];return _0x3cdd49;},a9_0x208a(_0x5b7d35,_0x3189ab);}a9_0x24ee3b[a9_0x2ab239(0x251)]=a9_0x2ab239(0x1fc),a9_0x24ee3b[a9_0x2ab239(0x192)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x24ee3b,async function(_0x322a57,_0x1e6954){const _0x17ed5c=a9_0x2ab239,_0x562636={'yBFVC':_0x17ed5c(0x1c5),'OQCHI':function(_0x48eec5){return _0x48eec5();},'rQjIv':_0x17ed5c(0x1c4),'mNryK':'Inside\x20browserstack\x20AfterAll'};logger[_0x17ed5c(0x221)](_0x562636[_0x17ed5c(0x1f7)]),await new Promise(async _0x5514c8=>{const _0x24fe3f=_0x17ed5c,_0x3e557f=_0x562636[_0x24fe3f(0x18b)]['split']('|');let _0x1df177=0x0;while(!![]){switch(_0x3e557f[_0x1df177++]){case'0':_0x562636[_0x24fe3f(0x242)](_0x5514c8);continue;case'1':await global[_0x24fe3f(0x1af)]();continue;case'2':PerformanceTester[_0x24fe3f(0x18d)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x24fe3f(0x235)]&&(await playwrightPatcher[_0x24fe3f(0x235)](),playwrightPatcher[_0x24fe3f(0x1e0)]&&playwrightPatcher[_0x24fe3f(0x1e0)][_0x24fe3f(0x234)](),logger['debug'](_0x562636[_0x24fe3f(0x181)]));}catch(_0x40b733){logger[_0x24fe3f(0x221)](_0x24fe3f(0x191)+util['format'](_0x40b733));}continue;case'4':await RequestQueueHandler['getInstance']()[_0x24fe3f(0x16b)]();continue;}break;}});});
|
|
1
|
+
const a9_0x580e5e=a9_0x4b3f;(function(_0x32c87a,_0x14193c){const _0x36174c=a9_0x4b3f,_0x45c6be=_0x32c87a();while(!![]){try{const _0x17d392=parseInt(_0x36174c(0x2a0))/0x1+-parseInt(_0x36174c(0x2a2))/0x2*(parseInt(_0x36174c(0x239))/0x3)+-parseInt(_0x36174c(0x1fb))/0x4+parseInt(_0x36174c(0x241))/0x5*(-parseInt(_0x36174c(0x26f))/0x6)+-parseInt(_0x36174c(0x221))/0x7*(parseInt(_0x36174c(0x2a7))/0x8)+-parseInt(_0x36174c(0x263))/0x9*(parseInt(_0x36174c(0x20c))/0xa)+parseInt(_0x36174c(0x208))/0xb*(parseInt(_0x36174c(0x265))/0xc);if(_0x17d392===_0x14193c)break;else _0x45c6be['push'](_0x45c6be['shift']());}catch(_0x2f01a8){_0x45c6be['push'](_0x45c6be['shift']());}}}(a9_0x1b67,0xcafea));function a9_0x4b3f(_0x1a90e2,_0x52b02f){const _0x1b674e=a9_0x1b67();return a9_0x4b3f=function(_0x4b3f68,_0xeea1c2){_0x4b3f68=_0x4b3f68-0x1e3;let _0x5878e2=_0x1b674e[_0x4b3f68];return _0x5878e2;},a9_0x4b3f(_0x1a90e2,_0x52b02f);}const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x580e5e(0x217)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require('../utils/constants'),setKeepAlive=require(a9_0x580e5e(0x277)),util=require(a9_0x580e5e(0x1fc)),PerformanceTester=require(a9_0x580e5e(0x28b)),{EVENTS:PerformanceEvents}=require(a9_0x580e5e(0x23f)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a9_0x580e5e(0x2be),'@cucumber/cucumber'),logger=require(a9_0x580e5e(0x215))['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x580e5e(0x21c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x580e5e(0x271)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require(a9_0x580e5e(0x250)),{o11yErrorHandler}=require(a9_0x580e5e(0x1e5)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x580e5e(0x2cd)),scripts=require(a9_0x580e5e(0x1ee)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x580e5e(0x25b)),{isUndefined}=require(a9_0x580e5e(0x1ed)),helper=require('../../helpers/helper'),a9_0x5f53ce={};a9_0x5f53ce[a9_0x580e5e(0x27c)]=undefined,a9_0x5f53ce[a9_0x580e5e(0x216)]={},a9_0x5f53ce[a9_0x580e5e(0x1fd)]=![],a9_0x5f53ce[a9_0x580e5e(0x2ac)]=null,a9_0x5f53ce[a9_0x580e5e(0x2b3)]=![],a9_0x5f53ce[a9_0x580e5e(0x216)]['id']=undefined,a9_0x5f53ce[a9_0x580e5e(0x216)][a9_0x580e5e(0x24b)]=undefined;const workerDetails=a9_0x5f53ce;global[a9_0x580e5e(0x20b)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x41c3e0){const _0x26e29b=a9_0x580e5e,_0x252418={'qjJVO':function(_0x2dbc8a,_0x3765d5){return _0x2dbc8a(_0x3765d5);},'PFWUv':_0x26e29b(0x1f4),'vucQG':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x4d184a=workerDetails['currentTest']['testInfo'];if(!_0x4d184a)return;if(playwrightPatcher)try{const _0x4a8cb6=_0x252418[_0x26e29b(0x20f)](require,_0x252418[_0x26e29b(0x2c7)]);if(_0x4a8cb6['getInstance']()[_0x26e29b(0x269)]()){const _0xc76220=_0x4d184a[_0x26e29b(0x2d2)];_0xc76220?(_0x41c3e0[_0x26e29b(0x21a)]=_0xc76220,_0x41c3e0['test_run_uuid']=_0xc76220,TestInfo[_0x26e29b(0x297)](_0xc76220,_0x41c3e0)):logger['debug'](_0x252418[_0x26e29b(0x281)]);return;}}catch(_0x992d63){logger['debug'](_0x26e29b(0x26d)+util[_0x26e29b(0x200)](_0x992d63));}await MyReporter[_0x26e29b(0x246)](_0x4d184a,_0x41c3e0);}),registerListeners=()=>{const _0x516ee6=a9_0x580e5e,_0x226804={};_0x226804[_0x516ee6(0x26a)]=_0x516ee6(0x231);const _0x302cdc=_0x226804;logger[_0x516ee6(0x201)](_0x302cdc[_0x516ee6(0x26a)]),process[_0x516ee6(0x279)](_0x516ee6(0x238)+process[_0x516ee6(0x2a5)]),process['on']('bs:addLog:'+process[_0x516ee6(0x2a5)],sendTestLog),PerformanceTester[_0x516ee6(0x1ff)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x580e5e(0x283)],After=cucumberModule[a9_0x580e5e(0x225)],AfterAll=cucumberModule[a9_0x580e5e(0x25e)],BeforeAll=cucumberModule[a9_0x580e5e(0x25c)],AfterStep=cucumberModule[a9_0x580e5e(0x1e4)],configuration=process[a9_0x580e5e(0x1e7)]['CONFIG'],bstackConfig=process[a9_0x580e5e(0x1e7)][a9_0x580e5e(0x2b9)];if(configuration!==undefined){const config=JSON[a9_0x580e5e(0x289)](configuration);isBrowserstackInfra()?(global[a9_0x580e5e(0x2b2)]=isTrue(config['skipSessionName']),global['__skipSessionStatus']=isTrue(config['skipSessionStatus'])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x580e5e(0x243)](a9_0x580e5e(0x21d))&&(logger[a9_0x580e5e(0x201)](a9_0x580e5e(0x21e)),shouldProcessEventForTesthub()?require(a9_0x580e5e(0x288))['browserstackAgentV2'](config,null,!![]):require(a9_0x580e5e(0x288))['browserstackAgentV2'](config));global[a9_0x580e5e(0x29d)]=config[a9_0x580e5e(0x22c)]||{};if(helper[a9_0x580e5e(0x243)](a9_0x580e5e(0x21d)))try{logger[a9_0x580e5e(0x201)](a9_0x580e5e(0x274)),playwrightPatcher=require(a9_0x580e5e(0x2e1)),playwrightPatcher[a9_0x580e5e(0x267)](config),logger[a9_0x580e5e(0x201)](a9_0x580e5e(0x1ef));}catch(a9_0x184465){logger[a9_0x580e5e(0x201)](a9_0x580e5e(0x280)+util['format'](a9_0x184465));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x580e5e(0x289)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x580e5e(0x26e)](browserStackConfig),commandRepository['setFramework'](a9_0x580e5e(0x223)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0x580e5e(0x25a)];cucumberModule[a9_0x580e5e(0x25a)]=_0x1c93a7=>{const _0x461d31=a9_0x580e5e,_0x4ca6cf={'AWgHG':function(_0x4cf7f8,_0x5df925){return _0x4cf7f8(_0x5df925);}};global[_0x461d31(0x2c3)]=_0x1c93a7,_0x4ca6cf[_0x461d31(0x2cf)](__setDefaultTimeout,_0x1c93a7);};const a9_0x20725f={};a9_0x20725f['name']=a9_0x580e5e(0x258),BeforeAll(a9_0x20725f,async function(){const _0x161bf2=a9_0x580e5e,_0x4f749b={'kVrhh':function(_0x55e948,_0x1f87ea,_0x437a16,_0xe838e){return _0x55e948(_0x1f87ea,_0x437a16,_0xe838e);},'kgLUK':_0x161bf2(0x282),'DohgE':_0x161bf2(0x2d9),'haGmX':function(_0x193822,_0xd779cf,_0xbebb8){return _0x193822(_0xd779cf,_0xbebb8);},'UKnkJ':_0x161bf2(0x2bd),'KDNAN':'Inside\x20browserstack\x20BeforeAll','guFlH':function(_0x13d039,_0x4ff827){return _0x13d039(_0x4ff827);},'qzLoz':_0x161bf2(0x1f4),'jXJWS':_0x161bf2(0x219),'awCMb':_0x161bf2(0x285),'jMsuV':function(_0x344af5){return _0x344af5();},'Wpgpp':function(_0x310266){return _0x310266();},'jgYvc':function(_0x1bf941,_0x274739){return _0x1bf941(_0x274739);}};PerformanceTester[_0x161bf2(0x1ff)](),logger[_0x161bf2(0x201)](_0x4f749b[_0x161bf2(0x2a1)]),global[_0x161bf2(0x2c9)]=[],global[_0x161bf2(0x25f)]=![];if(playwrightPatcher)try{const _0x199036=_0x4f749b[_0x161bf2(0x233)](require,_0x4f749b[_0x161bf2(0x218)]),_0x2cd412=_0x4f749b[_0x161bf2(0x233)](require,_0x4f749b[_0x161bf2(0x248)]);_0x199036[_0x161bf2(0x227)]()[_0x161bf2(0x207)]()&&(logger[_0x161bf2(0x201)](_0x4f749b[_0x161bf2(0x240)]),_0x2cd412[_0x161bf2(0x202)](FRAMEWORKS[_0x161bf2(0x26b)],FRAMEWORKS['PLAYWRIGHT']),await _0x199036[_0x161bf2(0x227)]()[_0x161bf2(0x252)]());}catch(_0x4a9ea5){logger[_0x161bf2(0x201)](_0x161bf2(0x296)+util[_0x161bf2(0x200)](_0x4a9ea5));}_0x4f749b['jMsuV'](shouldProcessEventForTesthub)&&(_0x4f749b[_0x161bf2(0x286)](registerListeners),_0x4f749b['jgYvc'](addRequestSpy,![])),global[_0x161bf2(0x1f8)]=async()=>{const _0x27f969=_0x161bf2;let _0x5cd0e5=![];try{global[_0x27f969(0x22a)]&&global[_0x27f969(0x22a)][0x0]&&(await global[_0x27f969(0x22a)][0x0][_0x27f969(0x1e9)],_0x5cd0e5=!![],global[_0x27f969(0x25f)]?await _0x4f749b[_0x27f969(0x210)](markSessionStatus,global[_0x27f969(0x22a)][0x0],_0x4f749b[_0x27f969(0x2a8)],global['__error_messages__']['join'](_0x4f749b['DohgE'])):await _0x4f749b[_0x27f969(0x272)](markSessionStatus,global[_0x27f969(0x22a)][0x0],_0x4f749b[_0x27f969(0x298)]));}catch(_0x5777c){logger[_0x27f969(0x201)](_0x27f969(0x27e)+_0x5777c);}global[_0x27f969(0x2c9)]=[],global[_0x27f969(0x25f)]=![];if(_0x5cd0e5)try{await global[_0x27f969(0x22a)][0x0][_0x27f969(0x290)](),global['__drivers'][0x0][_0x27f969(0x1e9)][_0x27f969(0x2db)](_0x304037=>{const _0x5d0405=_0x27f969;logger[_0x5d0405(0x201)](_0x5d0405(0x21f)+_0x304037['getId']());})[_0x27f969(0x278)](_0x37fc04=>{});}catch(_0x1b91e5){logger['debug'](_0x27f969(0x2ab)+_0x1b91e5);}};});const a9_0x5f3409={};a9_0x5f3409['name']=a9_0x580e5e(0x258),a9_0x5f3409[a9_0x580e5e(0x204)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x580e5e(0x28e)],Before(a9_0x5f3409,function(_0x3ed429,_0x1c98dc){const _0x50c937=a9_0x580e5e,_0x1f24aa={'eECNx':function(_0x563a2c,_0x2cde71){return _0x563a2c>_0x2cde71;},'kdokB':function(_0x186c32,_0x42f270){return _0x186c32(_0x42f270);},'maOFw':function(_0x224f7d,_0x52fac7,_0x159514,_0x55bf79){return _0x224f7d(_0x52fac7,_0x159514,_0x55bf79);},'cJGZO':_0x50c937(0x2cb),'WiAeW':'../v2/browserstackCLI','ktuRY':function(_0x3cac47,_0x17886d){return _0x3cac47(_0x17886d);},'hheIq':'../v2/state/automationFrameworkState','hZMDb':'../v2/state/hookState','snGIb':_0x50c937(0x2b7),'EtUjV':_0x50c937(0x237),'dYSpZ':function(_0x245871){return _0x245871();},'pHADh':_0x50c937(0x1ec)};commandRepository[_0x50c937(0x244)](_0x3ed429[_0x50c937(0x2b5)][_0x50c937(0x1f2)]),logger['debug'](_0x1f24aa[_0x50c937(0x212)]),new Promise(async _0x27fa9b=>{const _0x14884a=_0x50c937;try{global[_0x14884a(0x22a)]&&_0x1f24aa[_0x14884a(0x299)](global[_0x14884a(0x22a)][_0x14884a(0x2bb)],0x1)&&(await global['driverCleanup'](),global[_0x14884a(0x22a)][_0x14884a(0x249)]()),global[_0x14884a(0x22a)]&&global[_0x14884a(0x22a)][0x0]&&global[_0x14884a(0x22a)][0x0][_0x14884a(0x294)]&&_0x1f24aa[_0x14884a(0x299)](global[_0x14884a(0x22a)][0x0][_0x14884a(0x294)],0x0)&&await global[_0x14884a(0x1f8)]();}catch(_0x3a33ff){logger['debug'](_0x14884a(0x1ea)+_0x3a33ff);}workerDetails[_0x14884a(0x216)]['testInfo']=_0x3ed429;if(!playwrightPatcher)try{if(!_0x1f24aa[_0x14884a(0x203)](isUndefined,_0x3ed429[_0x14884a(0x2b5)]['tags'])){const _0x568dbd=_0x1f24aa[_0x14884a(0x2df)](shouldScanTestForAccessibility,null,![],_0x3ed429[_0x14884a(0x2b5)][_0x14884a(0x2d5)]['map'](({name:_0x201b14})=>_0x201b14));globals[_0x14884a(0x2b6)](_0x1f24aa[_0x14884a(0x235)],_0x568dbd);}}catch(_0x3da40d){logger['debug']('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x14884a(0x200)](_0x3da40d));}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x3ed429),global['__workerDetails']&&global[_0x14884a(0x20b)][_0x14884a(0x2ac)]&&playwrightPatcher['patchPageCommandsForAccessibility'](global['__workerDetails'][_0x14884a(0x2ac)]);}catch(_0x47c913){logger[_0x14884a(0x201)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x14884a(0x200)](_0x47c913));}if(playwrightPatcher)try{const _0x5dbdb8=_0x1f24aa[_0x14884a(0x203)](require,_0x1f24aa[_0x14884a(0x2a6)]),_0x4e2213=_0x1f24aa[_0x14884a(0x23a)](require,_0x1f24aa[_0x14884a(0x259)]),_0x2f5985=_0x1f24aa['ktuRY'](require,_0x1f24aa[_0x14884a(0x29a)]);if(_0x5dbdb8[_0x14884a(0x227)]()[_0x14884a(0x269)]()){const _0x358ada={'title':_0x3ed429[_0x14884a(0x2b5)][_0x14884a(0x1f2)]||_0x1f24aa[_0x14884a(0x2c1)],'titlePath':[_0x3ed429['pickle'][_0x14884a(0x1f2)]||_0x1f24aa[_0x14884a(0x2c1)]],'id':_0x3ed429[_0x14884a(0x2d2)]||_0x1f24aa[_0x14884a(0x205)],'tags':_0x3ed429[_0x14884a(0x2b5)]['tags']||[],..._0x3ed429},_0x554a3c=_0x358ada;global['__currentTestInfo']=_0x554a3c,logger[_0x14884a(0x201)]('Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20'+_0x3ed429[_0x14884a(0x2b5)][_0x14884a(0x1f2)]);}}catch(_0x469e88){logger[_0x14884a(0x201)]('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x14884a(0x200)](_0x469e88));}_0x1f24aa[_0x14884a(0x2de)](_0x27fa9b);})[_0x50c937(0x2d4)](_0x1c98dc);});const a9_0x926e2={};a9_0x926e2[a9_0x580e5e(0x1f2)]=a9_0x580e5e(0x258),a9_0x926e2[a9_0x580e5e(0x204)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x580e5e(0x28e)],After(a9_0x926e2,function(_0xfe034c,_0x4571aa){const _0x934293=a9_0x580e5e,_0x9c3fdd={'nDPpY':function(_0x5bae6a,_0x32c746){return _0x5bae6a>_0x32c746;},'wOUoA':function(_0x529374,_0x23b807){return _0x529374===_0x23b807;},'lWjyH':'failed','rYzVR':function(_0x47c7df,_0x5356c4){return _0x47c7df===_0x5356c4;},'MqDaF':function(_0x1a7dcc,_0x1cdc68){return _0x1a7dcc>_0x1cdc68;},'pEuQV':function(_0x8e9810,_0x522b80,_0x2d9743,_0x93855a){return _0x8e9810(_0x522b80,_0x2d9743,_0x93855a);},'SEGph':'\x20|\x20','qosZR':function(_0x11de22,_0xe0f868,_0x25c30e){return _0x11de22(_0xe0f868,_0x25c30e);},'RmslR':_0x934293(0x2bd),'JYMLj':function(_0x340b74,_0x3b06b6){return _0x340b74(_0x3b06b6);},'aTrdp':_0x934293(0x1f4),'IGNdy':'../v2/state/automationFrameworkState','mUIAe':function(_0x5d9318,_0x33d5b1){return _0x5d9318(_0x33d5b1);},'ucHEy':_0x934293(0x2dc),'NsDIG':'Unknown\x20Test','UCJIW':'cucumber-test','UaCFZ':'Completed\x20Playwright\x20afterTestHook\x20execution','uOVud':_0x934293(0x29f),'KEZEe':_0x934293(0x20a),'AMotq':_0x934293(0x2d3),'HglXA':_0x934293(0x2d1),'qklOK':function(_0x34a021,_0x36f9e6){return _0x34a021(_0x36f9e6);},'DpNtB':_0x934293(0x255),'SOsoq':function(_0x26a4b6){return _0x26a4b6();},'txcED':function(_0xeb0ab7,_0x235881,_0x5107aa,_0x511985){return _0xeb0ab7(_0x235881,_0x5107aa,_0x511985);},'cKJNY':_0x934293(0x24c),'CfmjD':_0x934293(0x1eb),'LoFmW':_0x934293(0x2cb),'ocmvS':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','kViay':_0x934293(0x23b),'SznOx':_0x934293(0x2ba),'UiFoe':function(_0x328d08,_0x4e0e4c){return _0x328d08>_0x4e0e4c;},'khxUH':function(_0x13e8cb){return _0x13e8cb();},'vaJYz':_0x934293(0x206)};logger[_0x934293(0x201)](_0x9c3fdd[_0x934293(0x275)]),workerDetails['currentTest'][_0x934293(0x24b)]=_0xfe034c,new Promise(async _0x36f9cd=>{const _0x26aebb=_0x934293;let _0x49e216=![],_0x17ff57=![],_0x2ebd79=![];try{global['__drivers']&&_0x9c3fdd[_0x26aebb(0x1f0)](global['__drivers'][_0x26aebb(0x2bb)],0x0)&&(_0x17ff57=!![]),playwrightPatcher&&global[_0x26aebb(0x20b)]&&global['__workerDetails']['pwPage']&&(_0x2ebd79=!![],logger[_0x26aebb(0x201)](_0x26aebb(0x27d)+!!global['__workerDetails'][_0x26aebb(0x2ac)]));}catch(_0x2ce7b5){logger['debug'](_0x26aebb(0x213)+_0x2ce7b5);}logger[_0x26aebb(0x201)]('Flow\x20detection:\x20isSeleniumFlow='+_0x17ff57+_0x26aebb(0x1e8)+_0x2ebd79);const _0x663890=_0xfe034c[_0x26aebb(0x266)][_0x26aebb(0x253)][_0x26aebb(0x2e0)]()[_0x26aebb(0x232)](),_0x22e440=_0x9c3fdd[_0x26aebb(0x2ce)](_0x663890,_0x9c3fdd[_0x26aebb(0x1f1)])||_0x9c3fdd[_0x26aebb(0x2e2)](_0x663890,'6'),_0x399b3e=_0x22e440?_0xfe034c[_0x26aebb(0x266)][_0x26aebb(0x1fe)]:null;if(_0x22e440)try{global[_0x26aebb(0x2c9)][_0x26aebb(0x2b4)](_0xfe034c[_0x26aebb(0x266)][_0x26aebb(0x1fe)]),global[_0x26aebb(0x25f)]=!![];}catch(_0x3ff2a9){logger['debug'](_0x26aebb(0x2c6)+_0x3ff2a9);}if(_0x17ff57)try{global[_0x26aebb(0x22a)]&&_0x9c3fdd['MqDaF'](global[_0x26aebb(0x22a)][_0x26aebb(0x2bb)],0x1)&&(await global['driverCleanup'](),global['__drivers'][_0x26aebb(0x249)](),global[_0x26aebb(0x2c9)]=[],global['__sessionFailed']=![]),global[_0x26aebb(0x22a)]&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x26aebb(0x1e9)],_0x49e216=!![],!global['__skipSessionName']&&await global[_0x26aebb(0x22a)][0x0][_0x26aebb(0x270)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0xfe034c['pickle'][_0x26aebb(0x1f2)]+_0x26aebb(0x2ca)),_0x22e440?await _0x9c3fdd['pEuQV'](markSessionStatus,global[_0x26aebb(0x22a)][0x0],_0x9c3fdd['lWjyH'],global[_0x26aebb(0x2c9)][_0x26aebb(0x214)](_0x9c3fdd[_0x26aebb(0x211)])):await _0x9c3fdd[_0x26aebb(0x28a)](markSessionStatus,global['__drivers'][0x0],_0x9c3fdd[_0x26aebb(0x260)]));}catch(_0x171f93){logger[_0x26aebb(0x201)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x26aebb(0x200)](_0x171f93));}if(_0x2ebd79)try{try{const _0x398b32=_0x9c3fdd[_0x26aebb(0x228)](require,_0x9c3fdd[_0x26aebb(0x28f)]),_0x3f1721=_0x9c3fdd[_0x26aebb(0x228)](require,_0x9c3fdd[_0x26aebb(0x293)]),_0xe3f4c1=_0x9c3fdd['mUIAe'](require,_0x9c3fdd['ucHEy']);if(_0x398b32[_0x26aebb(0x227)]()[_0x26aebb(0x269)]()){const _0x321909={'title':_0xfe034c[_0x26aebb(0x2b5)]['name']||_0x9c3fdd['NsDIG'],'titlePath':[_0xfe034c[_0x26aebb(0x2b5)][_0x26aebb(0x1f2)]||_0x9c3fdd[_0x26aebb(0x27b)]],'id':_0xfe034c[_0x26aebb(0x2d2)]||_0x9c3fdd[_0x26aebb(0x257)],'status':_0x22e440?_0x9c3fdd[_0x26aebb(0x1f1)]:_0x9c3fdd[_0x26aebb(0x260)],'error':_0x399b3e?{'message':_0x399b3e}:null,'tags':_0xfe034c['pickle'][_0x26aebb(0x2d5)]||[],..._0xfe034c},_0x32c34d=_0x321909,_0x4d74e9={};_0x4d74e9[_0x26aebb(0x24b)]=_0x32c34d,_0x4d74e9[_0x26aebb(0x2b0)]=_0xfe034c,_0x4d74e9['page']=global[_0x26aebb(0x20b)]['pwPage'],_0x4d74e9[_0x26aebb(0x2c2)]=FRAMEWORKS[_0x26aebb(0x26b)],await _0x398b32[_0x26aebb(0x227)]()[_0x26aebb(0x284)]()[_0x26aebb(0x28c)](_0x3f1721[_0x26aebb(0x261)],_0xe3f4c1[_0x26aebb(0x2c0)],_0x4d74e9),logger[_0x26aebb(0x201)](_0x26aebb(0x1f5)+_0xfe034c[_0x26aebb(0x2b5)][_0x26aebb(0x1f2)]);}}catch(_0x514119){logger[_0x26aebb(0x201)](_0x26aebb(0x24a)+util[_0x26aebb(0x200)](_0x514119));}const _0x24ac67=_0x22e440?_0x9c3fdd[_0x26aebb(0x1f1)]:_0x9c3fdd['RmslR'];await playwrightPatcher[_0x26aebb(0x26c)](_0xfe034c,_0x24ac67,_0x399b3e),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x236)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x2a4)]);}catch(_0x44e0ff){logger[_0x26aebb(0x201)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x26aebb(0x200)](_0x44e0ff));}try{playwrightPatcher['closeTracker'][_0x26aebb(0x2aa)](),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x2bf)]);}catch(_0x56cb08){logger[_0x26aebb(0x201)](_0x26aebb(0x29b)+util[_0x26aebb(0x200)](_0x56cb08));}}catch(_0x314aef){logger[_0x26aebb(0x201)](_0x26aebb(0x27a)+util[_0x26aebb(0x200)](_0x314aef));try{playwrightPatcher[_0x26aebb(0x22b)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x1f3)])),playwrightPatcher[_0x26aebb(0x29c)]&&playwrightPatcher[_0x26aebb(0x29c)][_0x26aebb(0x2aa)]&&(playwrightPatcher[_0x26aebb(0x29c)][_0x26aebb(0x2aa)](),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x22e)]));}catch(_0x2590be){logger[_0x26aebb(0x201)](_0x26aebb(0x224)+util[_0x26aebb(0x200)](_0x2590be));}}const _0x27b5e2=_0x9c3fdd[_0x26aebb(0x262)](require,_0x9c3fdd[_0x26aebb(0x20e)]);if(!_0x27b5e2[_0x26aebb(0x227)]()[_0x26aebb(0x269)]())try{if(_0x9c3fdd[_0x26aebb(0x2d7)](shouldProcessEventForTesthub)){const _0x27f294=TestDetails[_0x26aebb(0x292)](_0xfe034c['testCaseStartedId']);let _0x437170=null;global[_0x26aebb(0x22a)]&&global['__drivers'][0x0]&&(_0x437170=await _0x9c3fdd[_0x26aebb(0x2a9)](sendPlatformDetails,global['__drivers'][0x0],_0x27f294,!![]));const _0x1542bc={};_0x1542bc[_0x26aebb(0x21a)]=_0x27f294,_0x1542bc['integrations']=_0x437170;const _0x4d09e0=_0x1542bc,_0x400539={};_0x400539[_0x26aebb(0x23c)]=_0x9c3fdd[_0x26aebb(0x295)],_0x400539[_0x26aebb(0x23d)]=_0x4d09e0,await SessionHandler[_0x26aebb(0x23e)](_0x400539);}}catch(_0x1c2b13){logger[_0x26aebb(0x201)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x26aebb(0x200)](_0x1c2b13));}try{if(globals[_0x26aebb(0x1f6)](_0x9c3fdd[_0x26aebb(0x2c4)])&&globals['getGlobal'](_0x9c3fdd['LoFmW'])){logger[_0x26aebb(0x2cc)](_0x9c3fdd[_0x26aebb(0x20d)]);const _0x11ef45=TestDetails[_0x26aebb(0x292)](_0xfe034c['testCaseStartedId']),_0x3a6649={};_0x3a6649['thTestRunUuid']=_0x11ef45,_0x3a6649[_0x26aebb(0x28d)]=process[_0x26aebb(0x1e7)][testHubConstants['ENV_VAR'][_0x26aebb(0x2af)]],_0x3a6649[_0x26aebb(0x2dd)]=process[_0x26aebb(0x1e7)][testHubConstants[_0x26aebb(0x222)][_0x26aebb(0x226)]];const _0x12596a=_0x3a6649;logger[_0x26aebb(0x201)](_0x26aebb(0x2c8)+JSON[_0x26aebb(0x276)](_0x12596a)),logger[_0x26aebb(0x201)](_0x9c3fdd[_0x26aebb(0x24e)]),global[_0x26aebb(0x22a)]&&global[_0x26aebb(0x22a)][0x0]&&(logger[_0x26aebb(0x201)](util[_0x26aebb(0x200)](await global['__drivers'][0x0][_0x26aebb(0x247)](scripts['performScan'],{'method':global[_0x26aebb(0x24f)]}))),await global[_0x26aebb(0x22a)][0x0]['executeAsyncScript'](scripts[_0x26aebb(0x287)],_0x12596a)),logger[_0x26aebb(0x2cc)](_0x9c3fdd[_0x26aebb(0x1e6)]);}}catch(_0xea2c12){logger[_0x26aebb(0x24d)](_0x26aebb(0x229)+util[_0x26aebb(0x200)](_0xea2c12));}if(_0x49e216)try{global[_0x26aebb(0x22a)][0x0]&&_0x9c3fdd[_0x26aebb(0x22f)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x26aebb(0x22a)][0x0][_0x26aebb(0x290)]();}catch(_0x24d650){logger[_0x26aebb(0x201)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x24d650);}_0x9c3fdd[_0x26aebb(0x2ae)](_0x36f9cd);})[_0x934293(0x2d4)](()=>_0x4571aa());});const a9_0x2f2037={};function a9_0x1b67(){const _0x58e34b=['dAvNG','UCJIW','bstack','hheIq','setDefaultTimeout','../../helpers/accessibility-automation/helper','BeforeAll','hyDAb','AfterAll','__sessionFailed','RmslR','QUIT','qklOK','9mvOYPI','uFelx','12OkiUsE','result','initializePlaywrightPatching','Cleaned\x20up\x20Playwright\x20close\x20tracker','isRunning','ukVGK','CUCUMBER','afterTestHook','Error\x20sending\x20log\x20created\x20event:\x20','setConfig','408ddAsML','executeScript','../playwright/reporter/test-details.js','haGmX','mcgyP','Patching\x20Playwright','vaJYz','stringify','../../helpers/setKeepAlive','catch','removeAllListeners','Error:\x20at\x20After\x20(Playwright):\x20','NsDIG','workerInfo','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Error:\x20cleaning\x20up\x20driver:\x20','stopMonitoring','Error\x20initializing\x20Playwright\x20patching:\x20','vucQG','failed','Before','getAutomationFramework','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','Wpgpp','saveTestResults','../../index','parse','qosZR','../../helpers/performance/performance-tester','trackEvent','thBuildUuid','Cucumber-JS','aTrdp','initQuit','tKXKH','getTestUUID','IGNdy','quitCount_','cKJNY','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','storeLogObjects','UKnkJ','eECNx','hZMDb','Error\x20cleaning\x20up\x20close\x20tracker:\x20','closeTracker','__platformCaps','ZjrEh','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','876177kdbiiO','KDNAN','1546306nTdVko','Inside\x20browserstack\x20AfterStep','uOVud','pid','WiAeW','152SCzvMO','kgLUK','txcED','cleanup','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','pwPage','split','khxUH','BROWSERSTACK_TESTHUB_UUID','scenario','pickleStep','__skipSessionName','isPageFixture','push','pickle','setGlobal','Unknown\x20Test','EhnDs','BSTACK_CONFIG','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','length','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','passed','@cucumber/cucumber/lib/index.js','KEZEe','PRE','snGIb','testFramework','__timeout','CfmjD','eLttN','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','PFWUv','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','__error_messages__','\x22}}','bstackA11yShouldScan','info','../../helpers/test-observability/sessionHandler','wOUoA','AWgHG','\x0aError:\x20','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','testCaseStartedId','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','finally','tags','Passed','SOsoq','Inside\x20browserstack\x20AfterAll','\x20|\x20','nvjfH','then','../v2/state/hookState','thJwtToken','dYSpZ','maOFw','toString','../utils/playwright-patcher','rYzVR','rQZqt','AfterStep','../../helpers/test-observability/error-handler','SznOx','env',',\x20isPlaywrightFlow=','session_','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','isAccessibilityPlatform','Inside\x20browserstack\x20Before','lodash','../../helpers/accessibility-automation/scripts','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','nDPpY','lWjyH','name','AMotq','../v2/browserstackCLI','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','getGlobal','Error:\x20at\x20After\x20Step:\x20','driverCleanup','shutdown','fKdQv','5767204CXdTiH','util','o11ySyncDone','message','startMonitoring','format','debug','setFrameworkDetail','kdokB','timeout','EtUjV','Inside\x20browserstack\x20After','isCliEnabled','44778635hUeKlF','GLHXt','Cleaned\x20up\x20close\x20tracker','__workerDetails','1725370qYJmGq','ocmvS','DpNtB','qjJVO','kVrhh','SEGph','pHADh','Error\x20determining\x20test\x20flow:\x20','join','../../helpers/logger','currentTest','../../helpers/helper','qzLoz','../v2/cliUtils','uuid','FbxNu','../../helpers/testhub/utils','@playwright/test','Patching\x20Selenium','Error:\x20in\x20quitting\x20driver\x20','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','27629FkTalT','ENV_VAR','cucumber-js','Error\x20in\x20fallback\x20cleanup:\x20','After','BROWSERSTACK_TESTHUB_JWT','getInstance','JYMLj','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','__drivers','executeDeferredCloses','platformCaps','ecqkm','HglXA','UiFoe','zwGpr','Inside\x20browserstack\x20registerListeners','toLowerCase','guFlH','cWMRc','cJGZO','UaCFZ','cucumber-test','bs:addLog:','3MHTGhI','ktuRY','Performing\x20scan\x20before\x20saving\x20results','event_type','test_run','uploadEventData','../../helpers/performance/constants','awCMb','121545WinLbi','Failed:\x20','getPackageVersion','setTestNameForHealingContext','text','addTestUIDAndReportLog','executeAsyncScript','jXJWS','shift','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','testInfo','CBTSessionCreated','error','kViay','browserstackSessionName','../../helpers/test-observability/requestQueueHandler','GbxEP','bootstrap','status','WVxuY','../v2/browserstackCLI.js'];a9_0x1b67=function(){return _0x58e34b;};return a9_0x1b67();}a9_0x2f2037[a9_0x580e5e(0x1f2)]='bstack',a9_0x2f2037[a9_0x580e5e(0x204)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a9_0x2f2037,function(_0x59db5b,_0x3688f6){const _0x31b0a4=a9_0x580e5e,_0x5cc1e3={'cWMRc':function(_0x5b5544,_0x53befa){return _0x5b5544===_0x53befa;},'UMvQp':_0x31b0a4(0x282),'WVxuY':function(_0x45b918,_0x6b754c){return _0x45b918===_0x6b754c;},'ecqkm':function(_0x23d4d9,_0x4229b6){return _0x23d4d9!==_0x4229b6;},'nvjfH':function(_0x4d884e,_0x3d6c0d,_0x439e99){return _0x4d884e(_0x3d6c0d,_0x439e99);},'hyDAb':function(_0xd3f608,_0x51aed1){return _0xd3f608+_0x51aed1;},'uFelx':function(_0x250597,_0x3c2545){return _0x250597+_0x3c2545;},'mcgyP':_0x31b0a4(0x242),'wSnuv':_0x31b0a4(0x2d0),'ZjrEh':'error','DNjIJ':function(_0x522b45,_0x43bf1d,_0x300fa1){return _0x522b45(_0x43bf1d,_0x300fa1);},'GLHXt':function(_0x3ec6d2,_0x5059ea){return _0x3ec6d2!==_0x5059ea;},'LCRds':function(_0x5a6baa,_0x26e895,_0x4d2c6c){return _0x5a6baa(_0x26e895,_0x4d2c6c);},'FbxNu':function(_0x1aca4b,_0x2fa7fc){return _0x1aca4b+_0x2fa7fc;},'tKXKH':'Passed:\x20','dAvNG':_0x31b0a4(0x2cc),'EhnDs':function(_0x232388,_0x54c70a,_0x5898a1){return _0x232388(_0x54c70a,_0x5898a1);},'eLttN':_0x31b0a4(0x2d6),'GbxEP':function(_0x47b4a2){return _0x47b4a2();},'rQZqt':_0x31b0a4(0x2a3)};logger[_0x31b0a4(0x201)](_0x5cc1e3[_0x31b0a4(0x1e3)]);const _0x27b273=async(_0x2ce857,_0x43628f)=>{const _0x223fc8=_0x31b0a4;global[_0x223fc8(0x22a)]&&global[_0x223fc8(0x22a)][0x0]&&await global[_0x223fc8(0x22a)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2ce857+',\x22level\x22:\x20\x22'+_0x43628f+_0x223fc8(0x2ca));};new Promise(async _0x5e6141=>{const _0x5c63c8=_0x31b0a4;try{const _0x2278b5=_0x5cc1e3[_0x5c63c8(0x234)](_0x59db5b['result'][_0x5c63c8(0x253)][_0x5c63c8(0x2e0)]()[_0x5c63c8(0x232)](),_0x5cc1e3['UMvQp'])||_0x5cc1e3[_0x5c63c8(0x254)](_0x59db5b[_0x5c63c8(0x266)]['status'][_0x5c63c8(0x2e0)]()[_0x5c63c8(0x232)](),'6');_0x2278b5?(global[_0x5c63c8(0x25f)]=!![],global[_0x5c63c8(0x2c9)][_0x5c63c8(0x2b4)](_0x59db5b['result']['message']),_0x5cc1e3[_0x5c63c8(0x22d)](_0x59db5b[_0x5c63c8(0x2b1)],undefined)?await _0x5cc1e3[_0x5c63c8(0x2da)](_0x27b273,JSON[_0x5c63c8(0x276)](_0x5cc1e3[_0x5c63c8(0x25d)](_0x5cc1e3[_0x5c63c8(0x264)](_0x5cc1e3['uFelx'](_0x5cc1e3[_0x5c63c8(0x273)],'\x22'+_0x59db5b[_0x5c63c8(0x2b1)][_0x5c63c8(0x245)]+'\x22\x20'),_0x5cc1e3['wSnuv']),_0x59db5b[_0x5c63c8(0x266)]['message'])),_0x5cc1e3[_0x5c63c8(0x29e)]):await _0x5cc1e3['DNjIJ'](_0x27b273,JSON[_0x5c63c8(0x276)](_0x5cc1e3['uFelx'](_0x5cc1e3[_0x5c63c8(0x273)],_0x59db5b[_0x5c63c8(0x266)][_0x5c63c8(0x1fe)])),_0x5cc1e3[_0x5c63c8(0x29e)])):_0x5cc1e3[_0x5c63c8(0x209)](_0x59db5b[_0x5c63c8(0x2b1)],undefined)?await _0x5cc1e3['LCRds'](_0x27b273,JSON['stringify'](_0x5cc1e3[_0x5c63c8(0x21b)](_0x5cc1e3[_0x5c63c8(0x291)],'\x22'+_0x59db5b[_0x5c63c8(0x2b1)][_0x5c63c8(0x245)]+'\x22')),_0x5cc1e3[_0x5c63c8(0x256)]):await _0x5cc1e3[_0x5c63c8(0x2b8)](_0x27b273,JSON[_0x5c63c8(0x276)](_0x5cc1e3[_0x5c63c8(0x2c5)]),_0x5cc1e3[_0x5c63c8(0x256)]),global['__drivers']&&global[_0x5c63c8(0x22a)][0x0]&&global[_0x5c63c8(0x22a)][0x0][_0x5c63c8(0x1e9)][_0x5c63c8(0x2db)](_0x5d2c3a=>{})['catch'](_0x33eb0e=>{const _0x3dc0dd=_0x5c63c8;logger[_0x3dc0dd(0x201)](_0x3dc0dd(0x220)+util[_0x3dc0dd(0x200)](_0x33eb0e));});}catch(_0x318d20){logger[_0x5c63c8(0x201)](_0x5c63c8(0x1f7)+_0x318d20);}_0x5cc1e3[_0x5c63c8(0x251)](_0x5e6141);})[_0x31b0a4(0x2d4)](()=>_0x3688f6());});const a9_0x1e6d1f={};a9_0x1e6d1f[a9_0x580e5e(0x1f2)]=a9_0x580e5e(0x258),a9_0x1e6d1f[a9_0x580e5e(0x204)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x580e5e(0x28e)],AfterAll(a9_0x1e6d1f,async function(_0x4ef590,_0x15e2e8){const _0x274385=a9_0x580e5e,_0x2b597e={'AAxhB':'3|2|0|1|4','zwGpr':_0x274385(0x268),'Xzlqh':function(_0x2ba005){return _0x2ba005();},'fKdQv':_0x274385(0x2d8)};logger[_0x274385(0x201)](_0x2b597e[_0x274385(0x1fa)]),await new Promise(async _0x2193ac=>{const _0x4c33a9=_0x274385,_0x2294bb=_0x2b597e['AAxhB'][_0x4c33a9(0x2ad)]('|');let _0xf8a11b=0x0;while(!![]){switch(_0x2294bb[_0xf8a11b++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x4c33a9(0x22b)]&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher[_0x4c33a9(0x29c)]&&playwrightPatcher[_0x4c33a9(0x29c)][_0x4c33a9(0x2aa)](),logger[_0x4c33a9(0x201)](_0x2b597e[_0x4c33a9(0x230)]));}catch(_0x4c7aea){logger['debug'](_0x4c33a9(0x2bc)+util[_0x4c33a9(0x200)](_0x4c7aea));}continue;case'1':await global[_0x4c33a9(0x1f8)]();continue;case'2':PerformanceTester[_0x4c33a9(0x27f)]();continue;case'3':await RequestQueueHandler[_0x4c33a9(0x227)]()[_0x4c33a9(0x1f9)]();continue;case'4':_0x2b597e['Xzlqh'](_0x2193ac);continue;}break;}});});
|