browserstack-node-sdk 1.55.4 → 1.55.5
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 +3 -2
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -0
- 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_0x47ed27=a5_0x3725;(function(_0x39d9f7,_0x231ba7){const _0x31dc3b=a5_0x3725,_0x41564d=_0x39d9f7();while(!![]){try{const _0x16d3c4=parseInt(_0x31dc3b(0x12b))/0x1+parseInt(_0x31dc3b(0x112))/0x2+parseInt(_0x31dc3b(0x15b))/0x3+-parseInt(_0x31dc3b(0x143))/0x4*(-parseInt(_0x31dc3b(0xf8))/0x5)+-parseInt(_0x31dc3b(0x145))/0x6+parseInt(_0x31dc3b(0x111))/0x7+-parseInt(_0x31dc3b(0x11b))/0x8;if(_0x16d3c4===_0x231ba7)break;else _0x41564d['push'](_0x41564d['shift']());}catch(_0x27bc29){_0x41564d['push'](_0x41564d['shift']());}}}(a5_0x4a43,0x88d12));const fs=require('fs'),path=require(a5_0x47ed27(0x137)),util=require(a5_0x47ed27(0xf9)),logger=require(a5_0x47ed27(0x153))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require(a5_0x47ed27(0xe8)),{parallelCucumberRun}=require(a5_0x47ed27(0x13f)),TestHubHandler=require(a5_0x47ed27(0xea)),testOpsHelper=require(a5_0x47ed27(0x132)),chalk=require('chalk'),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x47ed27(0x14d))[a5_0x47ed27(0x115)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x47ed27(0xca)),{checkPwandBootstrapCli}=require(a5_0x47ed27(0x113)),ClientTroubleShootingService=require(a5_0x47ed27(0x10e));function printCucumberStats(_0x5da5bd){const _0x285057=a5_0x47ed27,_0x33a645={};_0x33a645[_0x285057(0x100)]=function(_0x7ecc73,_0x1929ec){return _0x7ecc73>_0x1929ec;},_0x33a645[_0x285057(0xfb)]=function(_0x145ac0,_0x3af68e){return _0x145ac0-_0x3af68e;},_0x33a645[_0x285057(0xed)]=function(_0x1e6aba,_0x2a6312){return _0x1e6aba>_0x2a6312;},_0x33a645['ueLBl']=function(_0x3a2333,_0x2db80c){return _0x3a2333>_0x2db80c;},_0x33a645[_0x285057(0xf3)]=function(_0x40b363,_0x180e60){return _0x40b363>_0x180e60;},_0x33a645[_0x285057(0xd4)]=function(_0x422dab,_0x4f88e5){return _0x422dab>_0x4f88e5;},_0x33a645[_0x285057(0x134)]=function(_0xe707eb,_0x3ff91f){return _0xe707eb>_0x3ff91f;},_0x33a645[_0x285057(0xd3)]=function(_0x36d1a5,_0x4c5415){return _0x36d1a5+_0x4c5415;},_0x33a645['lcUmV']=function(_0x1b3ffe,_0x4e48c4){return _0x1b3ffe===_0x4e48c4;},_0x33a645[_0x285057(0xe1)]=function(_0x4f114b,_0x531967){return _0x4f114b===_0x531967;},_0x33a645[_0x285057(0x150)]=_0x285057(0x157);const _0x5e9d56=_0x33a645;let _0x3e1a9c=0x0;if(_0x5e9d56[_0x285057(0xe1)](_0x5da5bd[_0x285057(0x14f)],0x0))return _0x3e1a9c;return console[_0x285057(0x13b)](chalk['bold'][_0x285057(0xc9)](_0x5e9d56[_0x285057(0x150)])),_0x5da5bd['forEach'](_0x234bf7=>{const _0x1a6e45=_0x285057,_0xf64103=_0x234bf7[0x0],_0x5a99d8=_0x234bf7[0x1];helper[_0x1a6e45(0xf6)]()&&console[_0x1a6e45(0x13b)]('\x0a'+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x129)](''+helper['getPlatformName'](_0xf64103)));const _0x534a03=_0x5a99d8[_0x1a6e45(0x136)],_0x371718=_0x5a99d8[_0x1a6e45(0xe2)],_0x3b4f97=_0x5a99d8[_0x1a6e45(0xbe)],_0x30cba2=_0x5a99d8[_0x1a6e45(0xcd)],_0x24914e=_0x5a99d8[_0x1a6e45(0xfd)],_0x17b239=_0x5a99d8[_0x1a6e45(0x11d)],_0x146491=_0x5a99d8['stepsPending'],_0x51a14f=_0x5a99d8['stepsUndefined'],_0x136acf=_0x5a99d8['stepsUnknown'],_0x17c4a2=_0x5a99d8[_0x1a6e45(0xcf)],_0x3908ae=_0x5a99d8[_0x1a6e45(0xcb)];let _0x56e4f7=_0x534a03+_0x1a6e45(0x12f);const _0x25daef=_0x5e9d56[_0x1a6e45(0x100)](_0x5e9d56[_0x1a6e45(0xfb)](_0x534a03,_0x3b4f97),0x0)?_0x5e9d56['AAADz'](_0x534a03,_0x3b4f97):0x0;if(_0x5e9d56[_0x1a6e45(0x100)](_0x3b4f97,0x0)&&_0x5e9d56['LYQIV'](_0x25daef,0x0))_0x56e4f7+='\x20('+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x12a)](_0x3b4f97+_0x1a6e45(0xb4))+',\x20'+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0xf2)](_0x25daef+'\x20passed')+')';else(_0x5e9d56[_0x1a6e45(0xcc)](_0x3b4f97,0x0)||_0x5e9d56[_0x1a6e45(0xed)](_0x25daef,0x0))&&(_0x56e4f7+=_0x5e9d56['CeGaj'](_0x3b4f97,0x0)?'\x20('+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x12a)](_0x3b4f97+_0x1a6e45(0xb4))+')':'\x20('+chalk['bold'][_0x1a6e45(0xf2)](_0x25daef+_0x1a6e45(0x14b))+')');const _0x19f7d7=_0x371718+_0x1a6e45(0x149),_0x3ac384=[];_0x5e9d56[_0x1a6e45(0xcc)](_0x17c4a2,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x12a)](_0x17c4a2+_0x1a6e45(0xd7)));_0x5e9d56[_0x1a6e45(0xf3)](_0x30cba2,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x12a)](_0x30cba2+_0x1a6e45(0xb4)));_0x5e9d56[_0x1a6e45(0x100)](_0x24914e,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)]['green'](_0x24914e+_0x1a6e45(0x14b)));_0x5e9d56['LGMAU'](_0x146491,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk['bold'][_0x1a6e45(0x129)](_0x146491+_0x1a6e45(0xb5)));_0x5e9d56[_0x1a6e45(0x134)](_0x17b239,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)]['cyan'](_0x17b239+_0x1a6e45(0xc8)));_0x5e9d56[_0x1a6e45(0xd4)](_0x51a14f,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)]['yellow'](_0x51a14f+_0x1a6e45(0x10b)));_0x5e9d56[_0x1a6e45(0xf3)](_0x136acf,0x0)&&_0x3ac384[_0x1a6e45(0xc2)](''+chalk[_0x1a6e45(0xf0)][_0x1a6e45(0x129)](_0x136acf+_0x1a6e45(0xc8)));const _0x76b44e=_0x5e9d56[_0x1a6e45(0xd3)](_0x5e9d56[_0x1a6e45(0xd3)](_0x5e9d56['hhOpV'](_0x19f7d7,'('),_0x3ac384[_0x1a6e45(0x104)](',\x20')),')');console['log'](_0x5e9d56[_0x1a6e45(0xd3)](_0x5e9d56[_0x1a6e45(0xd3)](_0x5e9d56[_0x1a6e45(0xd3)](_0x5e9d56[_0x1a6e45(0xd3)]('\x0a',_0x56e4f7),'\x0a'),_0x76b44e),'\x0a')),_0x5e9d56[_0x1a6e45(0x108)](_0x3908ae,![])&&(_0x3e1a9c=0x1);}),_0x3e1a9c;}async function run(_0x3445a6,_0x135829,_0xf83b8c){const _0x56d75c=a5_0x47ed27,_0x4ecb8c={'MuWpT':function(_0x355b81,_0xcd3367){return _0x355b81(_0xcd3367);},'sIXKq':function(_0x22c610,_0x3706bc){return _0x22c610>_0x3706bc;},'hiYTv':_0x56d75c(0xee),'mozOg':_0x56d75c(0x12d),'nqMFI':_0x56d75c(0x128),'NvsPW':_0x56d75c(0x14a),'PhggR':'@playwright/test','gNFvf':function(_0x2ce9ab,_0x4eb324,_0x3a518c,_0x6d8fe){return _0x2ce9ab(_0x4eb324,_0x3a518c,_0x6d8fe);},'oDNRJ':_0x56d75c(0xd5),'eIqnX':function(_0x250342,_0x419bd3){return _0x250342-_0x419bd3;},'GghQT':function(_0x5c5e51,_0x29f31e){return _0x5c5e51>=_0x29f31e;},'pXJhQ':function(_0x133322,_0x103d4e){return _0x133322!=_0x103d4e;},'oyNxu':_0x56d75c(0xe6),'PHQgr':function(_0x3e4b28,_0x2b28b7){return _0x3e4b28(_0x2b28b7);},'DYtJj':_0x56d75c(0xd1),'xmRJY':function(_0x53a0d8,_0x3bcad5){return _0x53a0d8(_0x3bcad5);},'KPTob':_0x56d75c(0x148),'AlgVR':function(_0x2e8fcd,_0x3febd4){return _0x2e8fcd(_0x3febd4);},'yvAuT':_0x56d75c(0x138),'alOxj':function(_0x1c2e62,_0x730995){return _0x1c2e62===_0x730995;},'yXvuv':function(_0x1c5acf,_0x42d1d7){return _0x1c5acf(_0x42d1d7);},'qlSGq':function(_0x24f383,_0x10db0d){return _0x24f383(_0x10db0d);},'LIlaH':_0x56d75c(0x13c),'ibGoX':function(_0x575f41,_0x342220){return _0x575f41(_0x342220);},'vHMDv':_0x56d75c(0xca),'rrSXw':function(_0x390194,_0x105b3e){return _0x390194(_0x105b3e);},'SXwza':'../../helpers/test-observability/constants','yhwnc':function(_0x5d420c,_0x402334){return _0x5d420c(_0x402334);},'oBRsn':function(_0x4b4ecc,_0x46f4d4){return _0x4b4ecc(_0x46f4d4);},'cDvny':function(_0x26b0c8,_0x2160f8){return _0x26b0c8===_0x2160f8;},'bdPUW':_0x56d75c(0xe9),'RKnfj':function(_0x474df6,_0x321657){return _0x474df6(_0x321657);},'kPktY':function(_0x1fe125,_0x5d52ac){return _0x1fe125(_0x5d52ac);},'WqwUX':function(_0x50a8a1,_0x371d4a,_0x4c8a6b,_0x3d2ef1,_0x5b841e,_0x229e8f){return _0x50a8a1(_0x371d4a,_0x4c8a6b,_0x3d2ef1,_0x5b841e,_0x229e8f);}},_0xf8275f=helper[_0x56d75c(0xbb)](_0x4ecb8c[_0x56d75c(0x131)]);global[_0x56d75c(0x144)]=!!_0xf8275f,await _0xf83b8c[_0x56d75c(0xb8)](_0x3445a6);if(_0xf83b8c[_0x56d75c(0x122)]&&!helper[_0x56d75c(0x102)](_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x119)])){process[_0x56d75c(0x125)][_0x56d75c(0x10f)]=_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x119)];const _0x232c47={};_0x232c47[_0x56d75c(0x119)]=_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x119)],helper[_0x56d75c(0x121)](_0x232c47,new Map(),new Map());}await _0x4ecb8c[_0x56d75c(0xf7)](checkPwandBootstrapCli,_0xf8275f,constants['FRAMEWORKS']['CUCUMBER'],_0xf83b8c);BrowserstackCLI['getInstance']()['binSessionId']&&(process['env']['BROWSERSTACK_CLI_BIN_SESSION_ID']=BrowserstackCLI['getInstance']()[_0x56d75c(0x126)]);helper[_0x56d75c(0xc7)](_0xf83b8c[_0x56d75c(0x158)],_0x3445a6);!helper[_0x56d75c(0xf6)]()&&await _0xf83b8c[_0x56d75c(0x139)]();await helper[_0x56d75c(0xdd)](_0xf83b8c[_0x56d75c(0x122)]);const _0x2b8b38=helper[_0x56d75c(0x141)](_0xf83b8c[_0x56d75c(0x122)]);!helper['isUndefined'](_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x159)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0xf83b8c['config']['accessibilityOptions']));if(!BrowserstackCLI[_0x56d75c(0xda)]()['isRunning']()){const _0x1b5fba=await TestHubHandler[_0x56d75c(0xfc)](constants[_0x56d75c(0x107)]['CUCUMBER'],_0xf83b8c);}let _0x4f2475=[];if(!helper[_0x56d75c(0xf6)]()){const _0x3622fa={};_0x3622fa[_0x56d75c(0x118)]=[],_0x4f2475=helper[_0x56d75c(0x13d)](Object[_0x56d75c(0x105)]({},_0xf83b8c[_0x56d75c(0x122)],_0x3622fa),_0x2b8b38,constants[_0x56d75c(0x107)][_0x56d75c(0xc6)]);}else _0x4f2475=helper['prepareCapabilities'](_0xf83b8c[_0x56d75c(0x122)],_0x2b8b38,constants[_0x56d75c(0x107)][_0x56d75c(0xc6)]);if(!_0xf83b8c[_0x56d75c(0x122)])return;const _0x16b865=_0xf83b8c['config'][_0x56d75c(0x155)]||helper[_0x56d75c(0xbf)](_0x3445a6,_0x135829,_0xf83b8c['config'],constants['FRAMEWORKS'][_0x56d75c(0xc6)])||0x1,_0x579e29={'server':helper[_0x56d75c(0xeb)](_0xf83b8c['config']),'proxySettings':_0xf83b8c['config'][_0x56d75c(0x14c)],'maxWorkers':_0x16b865,'browserStackLogLevel':_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x119)],'skipSessionName':_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x117)]['skipSessionName'],'skipSessionStatus':_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x117)][_0x56d75c(0xe5)],'turboScaleUrl':_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x114)]},_0x3a0c09=process[_0x56d75c(0x110)],[_0x3d6ab7,_0xf7a994]=helper[_0x56d75c(0xb7)](_0x3a0c09),_0x59206e=path['join'](process['cwd'](),_0x4ecb8c[_0x56d75c(0x133)]);if(_0x4ecb8c[_0x56d75c(0x156)](_0xf7a994[_0x56d75c(0x14f)],0x0)){helper[_0x56d75c(0xe0)](_0x59206e);for(let _0x8d6b87=_0x4ecb8c[_0x56d75c(0x10d)](_0x3d6ab7['length'],0x1);_0x4ecb8c[_0x56d75c(0x135)](_0x8d6b87,0x0);_0x8d6b87--){_0x3a0c09[_0x56d75c(0xdc)](_0x3d6ab7[_0x8d6b87],0x2);}}_0x4ecb8c['pXJhQ'](_0xf83b8c[_0x56d75c(0x122)]['testObservability'],null)?process[_0x56d75c(0x125)][_0x56d75c(0x123)]=_0xf83b8c[_0x56d75c(0x122)][_0x56d75c(0x130)]:process['env'][_0x56d75c(0x123)]=_0x4ecb8c[_0x56d75c(0x11e)];if(_0xf8275f)try{const {checkAccessibilityPlatformConfig:_0x4a2c38}=_0x4ecb8c[_0x56d75c(0xe7)](require,_0x4ecb8c['DYtJj']),{setAccessibilityCapabilities:_0x4e86d3}=_0x4ecb8c[_0x56d75c(0xba)](require,_0x4ecb8c[_0x56d75c(0x142)]),_0x51bdbf=_0x4ecb8c['AlgVR'](_0x4a2c38,_0xf83b8c[_0x56d75c(0x122)]);if(!helper[_0x56d75c(0x102)](_0xf83b8c['config'][_0x56d75c(0x152)]))process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x4ecb8c[_0x56d75c(0xba)](String,!!_0xf83b8c[_0x56d75c(0x122)]['accessibility']);else helper[_0x56d75c(0x102)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x56d75c(0x125)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x51bdbf?_0x4ecb8c[_0x56d75c(0x11e)]:_0x4ecb8c[_0x56d75c(0x120)]);process[_0x56d75c(0x125)][_0x56d75c(0x146)]=_0x51bdbf?_0x4ecb8c[_0x56d75c(0x11e)]:_0x4ecb8c[_0x56d75c(0x120)],!BrowserstackCLI[_0x56d75c(0xda)]()['isRunning']()&&_0x4ecb8c[_0x56d75c(0x12e)](process[_0x56d75c(0x125)][_0x56d75c(0x154)],_0x4ecb8c['oyNxu'])&&_0x4ecb8c[_0x56d75c(0x13a)](_0x4e86d3,_0xf83b8c['config']);}catch(_0x5e6697){logger[_0x56d75c(0x147)](_0x56d75c(0xe3)+util['format'](_0x5e6697));}try{const _0x3004f2=_0x4ecb8c[_0x56d75c(0x106)](require,_0x4ecb8c[_0x56d75c(0xec)]),_0x257b8d=_0x4ecb8c['ibGoX'](require,_0x4ecb8c['vHMDv']),{FRAMEWORKS:_0x4246cd}=_0x4ecb8c['rrSXw'](require,_0x4ecb8c[_0x56d75c(0x11c)]),{checkAccessibilityPlatformConfig:_0x57f155}=_0x4ecb8c['yhwnc'](require,_0x4ecb8c[_0x56d75c(0x13e)]),{setAccessibilityCapabilities:_0x45bf88}=_0x4ecb8c[_0x56d75c(0x11f)](require,_0x4ecb8c[_0x56d75c(0x142)]),_0x480c4e=helper[_0x56d75c(0xbb)](_0x4ecb8c[_0x56d75c(0x131)]);if(_0x480c4e){_0x257b8d[_0x56d75c(0xfe)](constants['FRAMEWORKS']['CUCUMBER'],constants[_0x56d75c(0x107)][_0x56d75c(0xce)]),_0x3004f2[_0x56d75c(0xda)]()[_0x56d75c(0xb9)](_0xf83b8c[_0x56d75c(0x122)],_0xf83b8c[_0x56d75c(0xd8)],_0xf83b8c[_0x56d75c(0x109)]),await _0x3004f2['getInstance']()['bootstrap']();const _0x270e5e=_0x3004f2[_0x56d75c(0xda)]()[_0x56d75c(0x14e)]();!helper['isFalse'](_0x270e5e['browserstackAutomation'])&&(process[_0x56d75c(0x125)][_0x56d75c(0xd2)]=_0x4ecb8c['oyNxu']);_0x4ecb8c[_0x56d75c(0xdb)](_0x270e5e['browserstackAutomation'],![])&&(process[_0x56d75c(0x125)]['BROWSERSTACK_AUTOMATION']=_0x4ecb8c[_0x56d75c(0x120)]);const _0x4a43dd=_0x135829[_0x56d75c(0xc5)](_0x4ecb8c[_0x56d75c(0xc1)]);(_0x4ecb8c[_0x56d75c(0x135)](_0x4a43dd,0x0)||_0x4ecb8c[_0x56d75c(0xdb)](_0x270e5e[_0x56d75c(0x130)],![]))&&(process[_0x56d75c(0x125)][_0x56d75c(0xdf)]=_0x4ecb8c[_0x56d75c(0x120)]);if(!_0x3004f2[_0x56d75c(0xda)]()[_0x56d75c(0xf1)]()){let _0x3fdffa=_0x4ecb8c[_0x56d75c(0x12e)](process[_0x56d75c(0x125)][_0x56d75c(0x154)],_0x4ecb8c[_0x56d75c(0x11e)]);_0x3fdffa=_0x3fdffa||_0x4ecb8c[_0x56d75c(0x116)](_0x57f155,_0xf83b8c[_0x56d75c(0x122)]),process[_0x56d75c(0x125)][_0x56d75c(0x154)]=_0x3fdffa,_0x3fdffa&&_0x4ecb8c[_0x56d75c(0xd0)](_0x45bf88,_0xf83b8c[_0x56d75c(0x122)]);}}}catch(_0x4fd006){logger['debug'](_0x56d75c(0xff)+util[_0x56d75c(0xfa)](_0x4fd006));}PerformanceTester[_0x56d75c(0x124)](PerformanceEvents[_0x56d75c(0x101)]);let _0x32107f;_0x4ecb8c[_0x56d75c(0xf4)](parallelCucumberRun,_0x4f2475,_0x579e29,_0xf83b8c[_0x56d75c(0x122)],_0x3a0c09,_0xf7a994)[_0x56d75c(0x11a)](async _0x331ac4=>{const _0xcd2418=_0x56d75c;PerformanceTester[_0xcd2418(0xbd)](PerformanceEvents[_0xcd2418(0xc4)]),_0x32107f=_0x331ac4;const _0x6b28f6=_0x4ecb8c[_0xcd2418(0xb6)](printCucumberStats,_0x331ac4);process[_0xcd2418(0x10c)]=_0x6b28f6,_0x4ecb8c[_0xcd2418(0x156)](_0xf7a994[_0xcd2418(0x14f)],0x0)&&(logger[_0xcd2418(0x147)](_0x4ecb8c[_0xcd2418(0x140)]),helper[_0xcd2418(0xde)](_0x59206e,_0xf7a994),logger[_0xcd2418(0x147)](_0x4ecb8c['mozOg']),helper[_0xcd2418(0xe4)](_0x59206e));})[_0x56d75c(0x15a)](async()=>{const _0xbecb71=_0x56d75c;PerformanceTester[_0xbecb71(0xbd)](PerformanceEvents['SDK_CLEANUP']),_0xf83b8c[_0xbecb71(0x103)]=helper[_0xbecb71(0x12c)](_0x32107f,_0x4ecb8c[_0xbecb71(0x127)]),testOpsHelper[_0xbecb71(0xd9)]();const _0x2b6ac2=BrowserstackCLI[_0xbecb71(0xbc)]();try{await TestHubHandler[_0xbecb71(0xef)](),await BrowserstackCLI['getInstance']()[_0xbecb71(0xef)]();}catch(_0x415692){logger[_0xbecb71(0x147)](_0xbecb71(0xc3)+util['format'](_0x415692));}try{const {browserstackFolderPath:_0x5541ec,tcgConfigPath:_0x34cccc}=helper[_0xbecb71(0x151)]();fs[_0xbecb71(0xf5)](_0x34cccc),fs[_0xbecb71(0x10a)](_0x5541ec);}catch(_0x2570e7){logger['debug'](_0x4ecb8c[_0xbecb71(0xc0)],_0x2570e7);}await utilities[_0xbecb71(0xd6)](_0xf83b8c,_0x2b6ac2);});}function a5_0x3725(_0x5003a3,_0x46958a){const _0x4a431f=a5_0x4a43();return a5_0x3725=function(_0x3725de,_0x20840e){_0x3725de=_0x3725de-0xb4;let _0x405299=_0x4a431f[_0x3725de];return _0x405299;},a5_0x3725(_0x5003a3,_0x46958a);}function a5_0x4a43(){const _0x3a984c=['red','430111MJJzGp','getErrorMessageFromResults','Removing\x20tmp\x20directory\x20created\x20for\x20reports','alOxj','\x20scenarios','testObservability','PhggR','../../helpers/test-observability/utils','oDNRJ','SZNNm','GghQT','scenarios','path','false','setupTCGAuth','yXvuv','log','../v2/browserstackCLI','prepareCapabilities','DYtJj','../test-runner','hiYTv','useW3C','KPTob','528412pXvofO','__isPlaywrightInstalled','1862664UQspBt','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','debug','../playwright/accessibility-helper','\x20steps','error\x20removing\x20tcg\x20config\x20file','\x20passed','proxySettings','../../helpers/performance/constants','getConfig','length','ISVnV','getTCGConfigFilePaths','accessibility','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','parallelsPerPlatform','sIXKq','****\x20RESULTS\x20****','framework','accessibilityOptions','finally','506148YLopGU','\x20failed','\x20pending','MuWpT','parseFormatters','initialize','setBrowserstackConfig','xmRJY','getPackageVersion','isCLIEnabled','start','scenariosFailed','getUserWorkerCount','NvsPW','bdPUW','push','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','SDK_CLEANUP','indexOf','CUCUMBER','setUserConfigPath','\x20skipped','bgWhite','../v2/cliUtils','processSuccess','ueLBl','stepsFailed','PLAYWRIGHT','stepsAmbiguous','kPktY','../../helpers/accessibility-automation/helper','BROWSERSTACK_AUTOMATION','hhOpV','LGMAU','tmp','finalExecution','\x20ambiguous','configPath','printBuildLink','getInstance','cDvny','splice','handleApp','mergeOutputFiles','BROWSERSTACK_TEST_OBSERVABILITY','createDir','xyyYV','steps','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','removeDir','skipSessionStatus','true','PHQgr','../utils/constants','--disable-test-observability','../../helpers/testhub/testhubHandler','getHubUrl','LIlaH','LYQIV','Generating\x20consolidated\x20report...','stop','bold','isRunning','green','CeGaj','WqwUX','unlinkSync','isBrowserstackInfra','gNFvf','5BxXHan','util','format','AAADz','launchBuild','stepsPassed','setFrameworkDetail','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','tkFNN','SDK_SETUP','isUndefined','errorMessage','join','assign','qlSGq','FRAMEWORKS','lcUmV','cliConfig','rmdirSync','\x20undefined','exitCode','eIqnX','../utils/clientTroubleshootingService','BROWSERSTACK_LOG_LEVEL','argv','557039tkNWYS','700018FvVcWq','../../helpers/playwright-helper','turboScaleUrl','EVENTS','RKnfj','testContextOptions','platforms','logLevel','then','2317360henCvl','SXwza','stepsSkipped','oyNxu','oBRsn','yvAuT','setLogLevel','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','end','env','binSessionId','nqMFI','cucumber','yellow'];a5_0x4a43=function(){return _0x3a984c;};return a5_0x4a43();}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0x2b1de0=a5_0x14a3;(function(_0x4c28f8,_0x22abe9){const _0x1d566b=a5_0x14a3,_0x34adf0=_0x4c28f8();while(!![]){try{const _0x36f2f4=parseInt(_0x1d566b(0x177))/0x1*(parseInt(_0x1d566b(0x1b1))/0x2)+-parseInt(_0x1d566b(0x152))/0x3*(parseInt(_0x1d566b(0x19b))/0x4)+-parseInt(_0x1d566b(0x13f))/0x5*(-parseInt(_0x1d566b(0x16e))/0x6)+parseInt(_0x1d566b(0x1bd))/0x7+parseInt(_0x1d566b(0x156))/0x8+-parseInt(_0x1d566b(0x1c1))/0x9+-parseInt(_0x1d566b(0x197))/0xa*(parseInt(_0x1d566b(0x13a))/0xb);if(_0x36f2f4===_0x22abe9)break;else _0x34adf0['push'](_0x34adf0['shift']());}catch(_0x2979d5){_0x34adf0['push'](_0x34adf0['shift']());}}}(a5_0x58a0,0xde314));const fs=require('fs'),path=require('path'),util=require(a5_0x2b1de0(0x147)),logger=require(a5_0x2b1de0(0x1d1))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a5_0x2b1de0(0x1be)),constants=require(a5_0x2b1de0(0x1ca)),{parallelCucumberRun}=require(a5_0x2b1de0(0x143)),TestHubHandler=require(a5_0x2b1de0(0x190)),testOpsHelper=require(a5_0x2b1de0(0x172)),chalk=require(a5_0x2b1de0(0x13e)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x2b1de0(0x14f))[a5_0x2b1de0(0x1bc)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x2b1de0(0x1b0)),{checkPwandBootstrapCli}=require(a5_0x2b1de0(0x1a8)),ClientTroubleShootingService=require(a5_0x2b1de0(0x14d));function printCucumberStats(_0x758fc6){const _0x105a28=a5_0x2b1de0,_0x2c72d7={};_0x2c72d7[_0x105a28(0x1d3)]=function(_0x458ae9,_0x2f4c67){return _0x458ae9>_0x2f4c67;},_0x2c72d7[_0x105a28(0x19a)]=function(_0x3d3a03,_0x2e6644){return _0x3d3a03-_0x2e6644;},_0x2c72d7[_0x105a28(0x16d)]=function(_0xeb6f92,_0x53949c){return _0xeb6f92-_0x53949c;},_0x2c72d7['vswPW']=function(_0x1b3239,_0x26522d){return _0x1b3239>_0x26522d;},_0x2c72d7[_0x105a28(0x17d)]=function(_0x169357,_0x533584){return _0x169357>_0x533584;},_0x2c72d7[_0x105a28(0x182)]=function(_0x3a8888,_0x3e0b37){return _0x3a8888>_0x3e0b37;},_0x2c72d7[_0x105a28(0x1b5)]=function(_0x28f1f2,_0xf72ad4){return _0x28f1f2>_0xf72ad4;},_0x2c72d7[_0x105a28(0x1d8)]=function(_0xd9ee8e,_0x5d992b){return _0xd9ee8e>_0x5d992b;},_0x2c72d7['OCLDv']=function(_0x591ecc,_0x17d02e){return _0x591ecc>_0x17d02e;},_0x2c72d7[_0x105a28(0x157)]=function(_0x4d5257,_0x3f00e4){return _0x4d5257>_0x3f00e4;},_0x2c72d7[_0x105a28(0x176)]=function(_0x3c16de,_0x86f36a){return _0x3c16de+_0x86f36a;},_0x2c72d7['phPag']=function(_0x4ba124,_0x1904a1){return _0x4ba124+_0x1904a1;},_0x2c72d7[_0x105a28(0x17e)]=function(_0x490c7e,_0x4d0ec0){return _0x490c7e+_0x4d0ec0;},_0x2c72d7[_0x105a28(0x17f)]=function(_0x326087,_0x54e0a2){return _0x326087+_0x54e0a2;},_0x2c72d7['yGFVy']=function(_0x594cbf,_0x36ba0f){return _0x594cbf+_0x36ba0f;},_0x2c72d7[_0x105a28(0x144)]=function(_0x2db41b,_0x22194d){return _0x2db41b+_0x22194d;},_0x2c72d7['Sejkz']=function(_0x2a395d,_0x2825e5){return _0x2a395d===_0x2825e5;},_0x2c72d7[_0x105a28(0x1cb)]='****\x20RESULTS\x20****';const _0x14ff10=_0x2c72d7;let _0x44227a=0x0;if(_0x14ff10['Sejkz'](_0x758fc6[_0x105a28(0x1d4)],0x0))return _0x44227a;return console[_0x105a28(0x1bb)](chalk[_0x105a28(0x198)][_0x105a28(0x146)](_0x14ff10[_0x105a28(0x1cb)])),_0x758fc6['forEach'](_0x4e1272=>{const _0x2afceb=_0x105a28,_0x50554d=_0x4e1272[0x0],_0x6413d2=_0x4e1272[0x1];helper[_0x2afceb(0x17a)]()&&console[_0x2afceb(0x1bb)]('\x0a'+chalk[_0x2afceb(0x198)][_0x2afceb(0x159)](''+helper[_0x2afceb(0x1c9)](_0x50554d)));const _0x99bc5b=_0x6413d2[_0x2afceb(0x18e)],_0x22fa33=_0x6413d2[_0x2afceb(0x179)],_0x2cb159=_0x6413d2[_0x2afceb(0x1b8)],_0x474c4d=_0x6413d2['stepsFailed'],_0x5ac474=_0x6413d2['stepsPassed'],_0x29ff5a=_0x6413d2[_0x2afceb(0x178)],_0x5078b5=_0x6413d2[_0x2afceb(0x1d9)],_0x594f9c=_0x6413d2[_0x2afceb(0x18a)],_0x29ac13=_0x6413d2[_0x2afceb(0x188)],_0x21c92d=_0x6413d2[_0x2afceb(0x1d2)],_0x2ab474=_0x6413d2['processSuccess'];let _0x596627=_0x99bc5b+'\x20scenarios';const _0xf30006=_0x14ff10['duBaH'](_0x14ff10[_0x2afceb(0x19a)](_0x99bc5b,_0x2cb159),0x0)?_0x14ff10['XKAQC'](_0x99bc5b,_0x2cb159):0x0;if(_0x14ff10['vswPW'](_0x2cb159,0x0)&&_0x14ff10[_0x2afceb(0x17d)](_0xf30006,0x0))_0x596627+='\x20('+chalk[_0x2afceb(0x198)][_0x2afceb(0x168)](_0x2cb159+_0x2afceb(0x160))+',\x20'+chalk[_0x2afceb(0x198)]['green'](_0xf30006+_0x2afceb(0x1c2))+')';else(_0x14ff10[_0x2afceb(0x182)](_0x2cb159,0x0)||_0x14ff10['duBaH'](_0xf30006,0x0))&&(_0x596627+=_0x14ff10[_0x2afceb(0x1d3)](_0x2cb159,0x0)?'\x20('+chalk[_0x2afceb(0x198)][_0x2afceb(0x168)](_0x2cb159+_0x2afceb(0x160))+')':'\x20('+chalk[_0x2afceb(0x198)]['green'](_0xf30006+_0x2afceb(0x1c2))+')');const _0x1b64ab=_0x22fa33+_0x2afceb(0x189),_0x14a86d=[];_0x14ff10[_0x2afceb(0x1b5)](_0x21c92d,0x0)&&_0x14a86d[_0x2afceb(0x14b)](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x168)](_0x21c92d+_0x2afceb(0x134)));_0x14ff10[_0x2afceb(0x1d8)](_0x474c4d,0x0)&&_0x14a86d[_0x2afceb(0x14b)](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x168)](_0x474c4d+_0x2afceb(0x160)));_0x14ff10['OCLDv'](_0x5ac474,0x0)&&_0x14a86d['push'](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x1b3)](_0x5ac474+_0x2afceb(0x1c2)));_0x14ff10[_0x2afceb(0x157)](_0x5078b5,0x0)&&_0x14a86d[_0x2afceb(0x14b)](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x159)](_0x5078b5+_0x2afceb(0x1a1)));_0x14ff10[_0x2afceb(0x1d8)](_0x29ff5a,0x0)&&_0x14a86d[_0x2afceb(0x14b)](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x148)](_0x29ff5a+_0x2afceb(0x14a)));_0x14ff10[_0x2afceb(0x17d)](_0x594f9c,0x0)&&_0x14a86d[_0x2afceb(0x14b)](''+chalk['bold'][_0x2afceb(0x159)](_0x594f9c+_0x2afceb(0x135)));_0x14ff10['rRbGi'](_0x29ac13,0x0)&&_0x14a86d['push'](''+chalk[_0x2afceb(0x198)][_0x2afceb(0x159)](_0x29ac13+_0x2afceb(0x14a)));const _0x281b49=_0x14ff10[_0x2afceb(0x176)](_0x14ff10['irIaD'](_0x14ff10[_0x2afceb(0x15f)](_0x1b64ab,'('),_0x14a86d[_0x2afceb(0x138)](',\x20')),')');console['log'](_0x14ff10[_0x2afceb(0x17e)](_0x14ff10[_0x2afceb(0x17f)](_0x14ff10[_0x2afceb(0x139)](_0x14ff10[_0x2afceb(0x144)]('\x0a',_0x596627),'\x0a'),_0x281b49),'\x0a')),_0x14ff10['Sejkz'](_0x2ab474,![])&&(_0x44227a=0x1);}),_0x44227a;}async function run(_0xe7bf8a,_0xba9063,_0x3c7c74){const _0x561a2e=a5_0x2b1de0,_0x2248bd={'KvSzK':function(_0x1c120e,_0x2c27f0){return _0x1c120e(_0x2c27f0);},'bFmOi':function(_0x39727b,_0x53e57e){return _0x39727b>_0x53e57e;},'oeIvb':_0x561a2e(0x1a9),'OvWGQ':_0x561a2e(0x1a4),'kDqTw':_0x561a2e(0x163),'siwVC':_0x561a2e(0x1c7),'TaroU':_0x561a2e(0x170),'vwYiR':function(_0xb6e9a5,_0x5d9bd2,_0x3baf96,_0x4c6568){return _0xb6e9a5(_0x5d9bd2,_0x3baf96,_0x4c6568);},'rzcRW':_0x561a2e(0x131),'uRGXx':function(_0x172ded,_0x362e14){return _0x172ded-_0x362e14;},'FezJG':function(_0x2b6bfb,_0x4baa7b){return _0x2b6bfb>=_0x4baa7b;},'HJHTQ':function(_0x144fc0,_0x310d20){return _0x144fc0!=_0x310d20;},'SAUAR':_0x561a2e(0x183),'abixZ':function(_0x1b0d32,_0x46d4b9){return _0x1b0d32(_0x46d4b9);},'CZDRs':_0x561a2e(0x154),'nlIEU':function(_0x1f091b,_0x580ca7){return _0x1f091b(_0x580ca7);},'RyaoM':_0x561a2e(0x1ba),'GafkO':function(_0x1eee87,_0x4ff5c4){return _0x1eee87(_0x4ff5c4);},'bPhCK':_0x561a2e(0x1aa),'bVBbT':function(_0x4cf57d,_0x9962db){return _0x4cf57d===_0x9962db;},'dUlxN':function(_0x1e9839,_0x92bf8){return _0x1e9839(_0x92bf8);},'FcuEd':function(_0x367345,_0xd45a52){return _0x367345(_0xd45a52);},'ffkbm':_0x561a2e(0x1ab),'gkqkK':function(_0x288c57,_0x4fa107){return _0x288c57(_0x4fa107);},'FIMwd':_0x561a2e(0x1b0),'kumye':function(_0x6bd4d8,_0x2d0cac){return _0x6bd4d8(_0x2d0cac);},'hLfBz':_0x561a2e(0x1ce),'GvbnT':'--disable-test-observability','GdcYO':function(_0x239d89,_0x20a12f){return _0x239d89>=_0x20a12f;},'pUxel':function(_0x316cee,_0x1cac86){return _0x316cee===_0x1cac86;},'DowVC':function(_0x5e9c0d,_0x3896fc){return _0x5e9c0d(_0x3896fc);},'yIRIr':function(_0x48186f,_0x292bea){return _0x48186f(_0x292bea);},'ovEws':function(_0x1e43a1,_0x50578a,_0x3f91f4,_0x5e668f,_0x55be2e,_0x2b9284){return _0x1e43a1(_0x50578a,_0x3f91f4,_0x5e668f,_0x55be2e,_0x2b9284);}},_0x15b955=helper[_0x561a2e(0x16b)](_0x2248bd[_0x561a2e(0x141)]);global[_0x561a2e(0x16a)]=!!_0x15b955,await _0x3c7c74[_0x561a2e(0x149)](_0xe7bf8a);if(_0x3c7c74[_0x561a2e(0x1a0)]&&!helper[_0x561a2e(0x14e)](_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x1da)])){process[_0x561a2e(0x19e)]['BROWSERSTACK_LOG_LEVEL']=_0x3c7c74['config']['logLevel'];const _0x4fb122={};_0x4fb122[_0x561a2e(0x1da)]=_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x1da)],helper[_0x561a2e(0x14c)](_0x4fb122,new Map(),new Map());}await _0x2248bd[_0x561a2e(0x1c5)](checkPwandBootstrapCli,_0x15b955,constants[_0x561a2e(0x181)]['CUCUMBER'],_0x3c7c74);BrowserstackCLI['getInstance']()[_0x561a2e(0x13b)]&&(process['env'][_0x561a2e(0x13c)]=BrowserstackCLI[_0x561a2e(0x1c8)]()[_0x561a2e(0x13b)]);helper[_0x561a2e(0x19d)](_0x3c7c74[_0x561a2e(0x1a6)],_0xe7bf8a);!helper['isBrowserstackInfra']()&&await _0x3c7c74['setupTCGAuth']();await helper[_0x561a2e(0x19c)](_0x3c7c74['config']);const _0x2e998c=helper[_0x561a2e(0x1c4)](_0x3c7c74[_0x561a2e(0x1a0)]);!helper[_0x561a2e(0x14e)](_0x3c7c74[_0x561a2e(0x1a0)]['accessibilityOptions'])&&(process[_0x561a2e(0x19e)][_0x561a2e(0x1a7)]=JSON[_0x561a2e(0x133)](_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x175)]));if(!BrowserstackCLI[_0x561a2e(0x1c8)]()['isRunning']()){const _0x24374f=await TestHubHandler[_0x561a2e(0x136)](constants[_0x561a2e(0x181)][_0x561a2e(0x1b2)],_0x3c7c74);}let _0x24a4b0=[];if(!helper[_0x561a2e(0x17a)]()){const _0x21749a={};_0x21749a['platforms']=[],_0x24a4b0=helper['prepareCapabilities'](Object['assign']({},_0x3c7c74['config'],_0x21749a),_0x2e998c,constants[_0x561a2e(0x181)][_0x561a2e(0x1b2)]);}else _0x24a4b0=helper['prepareCapabilities'](_0x3c7c74[_0x561a2e(0x1a0)],_0x2e998c,constants[_0x561a2e(0x181)][_0x561a2e(0x1b2)]);if(!_0x3c7c74[_0x561a2e(0x1a0)])return;const _0x3927a5=_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x19f)]||helper[_0x561a2e(0x1d0)](_0xe7bf8a,_0xba9063,_0x3c7c74[_0x561a2e(0x1a0)],constants[_0x561a2e(0x181)]['CUCUMBER'])||0x1,_0x309aa5={'server':helper[_0x561a2e(0x145)](_0x3c7c74['config']),'proxySettings':_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x1ac)],'maxWorkers':_0x3927a5,'browserStackLogLevel':_0x3c7c74['config']['logLevel'],'skipSessionName':_0x3c7c74['config']['testContextOptions'][_0x561a2e(0x165)],'skipSessionStatus':_0x3c7c74['config'][_0x561a2e(0x192)][_0x561a2e(0x1a5)],'turboScaleUrl':_0x3c7c74['config'][_0x561a2e(0x132)]},_0x45e344=process[_0x561a2e(0x194)],[_0x54ebbe,_0x4d5efd]=helper[_0x561a2e(0x185)](_0x45e344),_0x6988ca=path[_0x561a2e(0x138)](process[_0x561a2e(0x180)](),_0x2248bd[_0x561a2e(0x1cd)]);if(_0x2248bd[_0x561a2e(0x186)](_0x4d5efd['length'],0x0)){helper[_0x561a2e(0x16f)](_0x6988ca);for(let _0x28df3e=_0x2248bd[_0x561a2e(0x1b6)](_0x54ebbe['length'],0x1);_0x2248bd[_0x561a2e(0x1a2)](_0x28df3e,0x0);_0x28df3e--){_0x45e344['splice'](_0x54ebbe[_0x28df3e],0x2);}}_0x2248bd[_0x561a2e(0x173)](_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x195)],null)?process[_0x561a2e(0x19e)][_0x561a2e(0x153)]=_0x3c7c74[_0x561a2e(0x1a0)]['testObservability']:process[_0x561a2e(0x19e)][_0x561a2e(0x153)]=_0x2248bd[_0x561a2e(0x191)];if(_0x15b955)try{const {checkAccessibilityPlatformConfig:_0x130a34}=_0x2248bd[_0x561a2e(0x193)](require,_0x2248bd[_0x561a2e(0x18f)]),{setAccessibilityCapabilities:_0x5932ea}=_0x2248bd['nlIEU'](require,_0x2248bd[_0x561a2e(0x158)]),_0x15fa76=_0x2248bd[_0x561a2e(0x184)](_0x130a34,_0x3c7c74[_0x561a2e(0x1a0)]);if(!helper[_0x561a2e(0x14e)](_0x3c7c74[_0x561a2e(0x1a0)]['accessibility']))process[_0x561a2e(0x19e)][_0x561a2e(0x17b)]=_0x2248bd[_0x561a2e(0x1ae)](String,!!_0x3c7c74[_0x561a2e(0x1a0)][_0x561a2e(0x15a)]);else helper[_0x561a2e(0x14e)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x561a2e(0x19e)][_0x561a2e(0x17b)]=_0x15fa76?_0x2248bd[_0x561a2e(0x191)]:_0x2248bd[_0x561a2e(0x18c)]);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x15fa76?_0x2248bd['SAUAR']:_0x2248bd[_0x561a2e(0x18c)],!BrowserstackCLI[_0x561a2e(0x1c8)]()['isRunning']()&&_0x2248bd[_0x561a2e(0x164)](process[_0x561a2e(0x19e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x2248bd[_0x561a2e(0x191)])&&_0x2248bd[_0x561a2e(0x18b)](_0x5932ea,_0x3c7c74[_0x561a2e(0x1a0)]);}catch(_0x27e59f){logger[_0x561a2e(0x1cf)](_0x561a2e(0x1ad)+util[_0x561a2e(0x18d)](_0x27e59f));}try{const _0x583674=_0x2248bd[_0x561a2e(0x1c3)](require,_0x2248bd[_0x561a2e(0x167)]),_0x2a07d3=_0x2248bd[_0x561a2e(0x169)](require,_0x2248bd[_0x561a2e(0x15b)]),{FRAMEWORKS:_0x1d327a}=_0x2248bd[_0x561a2e(0x15c)](require,_0x2248bd[_0x561a2e(0x1af)]),{checkAccessibilityPlatformConfig:_0x31a65b}=_0x2248bd['GafkO'](require,_0x2248bd[_0x561a2e(0x18f)]),{setAccessibilityCapabilities:_0x309b79}=_0x2248bd['dUlxN'](require,_0x2248bd['RyaoM']),_0xbb3b7d=helper[_0x561a2e(0x16b)](_0x2248bd['TaroU']);if(_0xbb3b7d){_0x2a07d3[_0x561a2e(0x174)](constants[_0x561a2e(0x181)][_0x561a2e(0x1b2)],constants[_0x561a2e(0x181)]['PLAYWRIGHT']),_0x583674[_0x561a2e(0x1c8)]()[_0x561a2e(0x1c6)](_0x3c7c74['config'],_0x3c7c74['configPath'],_0x3c7c74['cliConfig']),await _0x583674['getInstance']()[_0x561a2e(0x1d7)]();const _0x26fc21=_0x583674[_0x561a2e(0x1c8)]()['getConfig']();!helper[_0x561a2e(0x1d5)](_0x26fc21['browserstackAutomation'])&&(process[_0x561a2e(0x19e)][_0x561a2e(0x1b4)]=_0x2248bd[_0x561a2e(0x191)]);_0x2248bd['bVBbT'](_0x26fc21[_0x561a2e(0x162)],![])&&(process[_0x561a2e(0x19e)]['BROWSERSTACK_AUTOMATION']=_0x2248bd[_0x561a2e(0x18c)]);const _0x495b9c=_0xba9063['indexOf'](_0x2248bd['GvbnT']);(_0x2248bd['GdcYO'](_0x495b9c,0x0)||_0x2248bd['bVBbT'](_0x26fc21[_0x561a2e(0x195)],![]))&&(process[_0x561a2e(0x19e)][_0x561a2e(0x13d)]=_0x2248bd['bPhCK']);if(!_0x583674[_0x561a2e(0x1c8)]()['isRunning']()){let _0x35fe7a=_0x2248bd[_0x561a2e(0x1cc)](process[_0x561a2e(0x19e)][_0x561a2e(0x17b)],_0x2248bd['SAUAR']);_0x35fe7a=_0x35fe7a||_0x2248bd[_0x561a2e(0x187)](_0x31a65b,_0x3c7c74[_0x561a2e(0x1a0)]),process[_0x561a2e(0x19e)][_0x561a2e(0x17b)]=_0x35fe7a,_0x35fe7a&&_0x2248bd['yIRIr'](_0x309b79,_0x3c7c74['config']);}}}catch(_0x1d5abc){logger['debug'](_0x561a2e(0x1bf)+util[_0x561a2e(0x18d)](_0x1d5abc));}PerformanceTester[_0x561a2e(0x171)](PerformanceEvents['SDK_SETUP']);let _0x5ce312;_0x2248bd[_0x561a2e(0x1d6)](parallelCucumberRun,_0x24a4b0,_0x309aa5,_0x3c7c74[_0x561a2e(0x1a0)],_0x45e344,_0x4d5efd)[_0x561a2e(0x199)](async _0x55f65e=>{const _0x17e329=_0x561a2e;PerformanceTester[_0x17e329(0x1c0)](PerformanceEvents[_0x17e329(0x140)]),_0x5ce312=_0x55f65e;const _0x374d55=_0x2248bd[_0x17e329(0x137)](printCucumberStats,_0x55f65e);process[_0x17e329(0x1b9)]=_0x374d55,_0x2248bd[_0x17e329(0x186)](_0x4d5efd['length'],0x0)&&(logger[_0x17e329(0x1cf)](_0x2248bd[_0x17e329(0x155)]),helper[_0x17e329(0x15e)](_0x6988ca,_0x4d5efd),logger[_0x17e329(0x1cf)](_0x2248bd['OvWGQ']),helper['removeDir'](_0x6988ca));})[_0x561a2e(0x17c)](async()=>{const _0x390080=_0x561a2e;PerformanceTester[_0x390080(0x1c0)](PerformanceEvents['SDK_CLEANUP']),_0x3c7c74[_0x390080(0x150)]=helper[_0x390080(0x1a3)](_0x5ce312,_0x2248bd[_0x390080(0x151)]),testOpsHelper['printBuildLink']();const _0x4f2a57=BrowserstackCLI[_0x390080(0x16c)]();try{await TestHubHandler[_0x390080(0x161)](),await BrowserstackCLI[_0x390080(0x1c8)]()['stop']();}catch(_0xdc44d5){logger[_0x390080(0x1cf)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util[_0x390080(0x18d)](_0xdc44d5));}try{const {browserstackFolderPath:_0x43e6fe,tcgConfigPath:_0x4d2136}=helper[_0x390080(0x142)]();fs[_0x390080(0x196)](_0x4d2136),fs[_0x390080(0x1b7)](_0x43e6fe);}catch(_0x3dfaf2){logger['debug'](_0x2248bd[_0x390080(0x15d)],_0x3dfaf2);}await utilities[_0x390080(0x166)](_0x3c7c74,_0x4f2a57);});}function a5_0x14a3(_0xe84f06,_0x3418eb){const _0x58a053=a5_0x58a0();return a5_0x14a3=function(_0x14a3d5,_0x4f7b8f){_0x14a3d5=_0x14a3d5-0x131;let _0x5c71be=_0x58a053[_0x14a3d5];return _0x5c71be;},a5_0x14a3(_0xe84f06,_0x3418eb);}module['exports']=run;function a5_0x58a0(){const _0x11a015=['../../helpers/playwright-helper','Generating\x20consolidated\x20report...','false','../v2/browserstackCLI','proxySettings','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','GafkO','hLfBz','../v2/cliUtils','2qfKbvV','CUCUMBER','green','BROWSERSTACK_AUTOMATION','kXfmM','uRGXx','rmdirSync','scenariosFailed','exitCode','../playwright/accessibility-helper','log','EVENTS','5961144YSaNww','../../helpers/utilities','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','start','11259225bBpFjZ','\x20passed','FcuEd','useW3C','vwYiR','setBrowserstackConfig','error\x20removing\x20tcg\x20config\x20file','getInstance','getPlatformName','../utils/constants','MMafg','pUxel','rzcRW','../../helpers/test-observability/constants','debug','getUserWorkerCount','../../helpers/logger','stepsAmbiguous','duBaH','length','isFalse','ovEws','bootstrap','yYqEi','stepsPending','logLevel','tmp','turboScaleUrl','stringify','\x20ambiguous','\x20undefined','launchBuild','KvSzK','join','yGFVy','7636475nxrYlO','binSessionId','BROWSERSTACK_CLI_BIN_SESSION_ID','BROWSERSTACK_TEST_OBSERVABILITY','chalk','3990695zZotyU','SDK_CLEANUP','TaroU','getTCGConfigFilePaths','../test-runner','MusCS','getHubUrl','bgWhite','util','cyan','initialize','\x20skipped','push','setLogLevel','../utils/clientTroubleshootingService','isUndefined','../../helpers/performance/constants','errorMessage','kDqTw','264201XXuKsu','BROWSERSTACK_TEST_OBSERVABILITY_YML','../../helpers/accessibility-automation/helper','oeIvb','3375496YDXVJI','komwe','RyaoM','yellow','accessibility','FIMwd','kumye','siwVC','mergeOutputFiles','phPag','\x20failed','stop','browserstackAutomation','cucumber','bVBbT','skipSessionName','finalExecution','ffkbm','red','gkqkK','__isPlaywrightInstalled','getPackageVersion','isCLIEnabled','XKAQC','6IzehHk','createDir','@playwright/test','end','../../helpers/test-observability/utils','HJHTQ','setFrameworkDetail','accessibilityOptions','irIaD','1047883rDPGbP','stepsSkipped','steps','isBrowserstackInfra','BROWSERSTACK_TEST_ACCESSIBILITY_YML','finally','skBgz','ktmzq','OhDgJ','cwd','FRAMEWORKS','rRbGi','true','nlIEU','parseFormatters','bFmOi','DowVC','stepsUnknown','\x20steps','stepsUndefined','dUlxN','bPhCK','format','scenarios','CZDRs','../../helpers/testhub/testhubHandler','SAUAR','testContextOptions','abixZ','argv','testObservability','unlinkSync','10RbWhYt','bold','then','nvLMJ','12bJDgUL','handleApp','setUserConfigPath','env','parallelsPerPlatform','config','\x20pending','FezJG','getErrorMessageFromResults','Removing\x20tmp\x20directory\x20created\x20for\x20reports','skipSessionStatus','framework','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML'];a5_0x58a0=function(){return _0x11a015;};return a5_0x58a0();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x1179(_0x4bcf8c,_0x130796){const _0x3dc529=a6_0x3dc5();return a6_0x1179=function(_0x117916,_0x286875){_0x117916=_0x117916-0x79;let _0x2f4a4a=_0x3dc529[_0x117916];return _0x2f4a4a;},a6_0x1179(_0x4bcf8c,_0x130796);}const a6_0x36b16f=a6_0x1179;(function(_0x2b4aa0,_0x1af74d){const _0x397e6c=a6_0x1179,_0x44ea8=_0x2b4aa0();while(!![]){try{const _0x260a97=-parseInt(_0x397e6c(0x146))/0x1+parseInt(_0x397e6c(0x13b))/0x2+parseInt(_0x397e6c(0x97))/0x3+parseInt(_0x397e6c(0x148))/0x4*(parseInt(_0x397e6c(0xae))/0x5)+parseInt(_0x397e6c(0x10d))/0x6+parseInt(_0x397e6c(0x98))/0x7+-parseInt(_0x397e6c(0xd2))/0x8;if(_0x260a97===_0x1af74d)break;else _0x44ea8['push'](_0x44ea8['shift']());}catch(_0x106d71){_0x44ea8['push'](_0x44ea8['shift']());}}}(a6_0x3dc5,0x3f4c7));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x36b16f(0xf1)),util=require(a6_0x36b16f(0xc9)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x36b16f(0x123)),TestDetails=require(a6_0x36b16f(0xc6)),TestObservabilityReporter=require(a6_0x36b16f(0xea)),{o11yClassErrorHandler}=require(a6_0x36b16f(0x79)),{shouldProcessEventForTesthub}=require(a6_0x36b16f(0x9e)),BrowserstackCLI=require(a6_0x36b16f(0xcd)),TestFrameworkState=require(a6_0x36b16f(0xf4)),HookState=require('../../v2/state/hookState.js'),CucumberUtils=require(a6_0x36b16f(0x85)),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x36b16f(0xc1))[a6_0x36b16f(0xca)],_tests={},_testCasesData={};function a6_0x3dc5(){const _0x59bc06=['15mvikkq','eXhpJ','capability','pumXp','Exception\x20in\x20onTestStepFinished\x20event:\x20','gherkinDocumentMap','onGherkinDocument','pJwtu','toLowerCase','createTestFrameworkData','pickle','incrementCounter','CLI\x20already\x20running\x20-\x20binSessionId:\x20','hook_type','onStepDefinition','getTestCaseAttempt','steps','find','ScaMo','../../../helpers/logger','supportCodeLibrary','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','hooks','trackEvent','../../playwright/reporter/test-details.js','\x20-\x20','binSessionId','util','winstonLogger','FAILED','OQLeI','../../v2/browserstackCLI.js','OuDZM','lSpVb','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','testCaseStarted','6042464oTLiCx','onSource','CUCUMBER','exports','HookRunFinished','../../utils/constants','testCase','UifRY','pYMik','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','PASSED','PRE','result','HXsjk','hkTts','Executing\x20tests\x20for\x20','isBstackHook','failureType','bootstrap','eventDataCollector','testUUID','onHook','hook','includes','../test-observability.js','__platform','SKIPPED','onTestCaseStarted','toISOString','BROWSERSTACK_CLI_BIN_SESSION_ID','cwd','../../../helpers/helper','message','map','../../v2/state/testFrameworkState.js','iwQjx','TTgsf','description','logTestRunFinished','NPjjP','gzREZ','DJUzz','keyword','fiyLE','testStepFinished','pickleId','gherkinDocument','testRunStarted','logTestCaseFinished','env','../../v2/cliUtils','MPqhz','stepDefinition','cucumber-js/test.setup.js','onTestCaseFinished','onTestCase','VsxBM','rule','testRunFinished','2066910nGHfQj','getTestUUID','testStepId','GEZtp','mcBQN','feature','name','HookRunStarted','onPickle','assign','Ylzvk','OgBgR','qeErB','type','HzwQT','pickleMap','push','isCLIReady','wYhZi','setup','sendTestRunEventForCucumber','format','@cucumber/cucumber','background','LGyAO','JBsGU','ensureCLIInitialized','actionLocation','testCaseFinished','bstack','debug','NwRDQ','onTestStepStarted','toString','testSteps','vDqLX','LOG_REPORT','testCaseStartedId','snZpc','isRunning','cliInitPromise','RpVqd','POST','_performCLIInitialization','testCaseAttempt','values','478116yuzXWI','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','jXhsl','dpCfR','pickleStepId','sendHook','testCaseAttemptDataMap','Exception\x20in\x20onTestStepStarted\x20event:\x20','getInstance','aqPqb','getGherkinDocument','135135LWbxMI','KnvDY','117976pDCQoE','../../../helpers/test-observability/error-handler','status','report','extractStepContainers','bBqQs','exception','getTestFramework','INIT_TEST','UNKNOWN','testStepResult','finished_at','duration','../../v2/utils/cucumber-utils.js','UNDEFINED','tAHZD','TEST','testStepStarted','log','isCliEnabled','sourceLocation','Ewsya','aFkQe','wGtIs','AMBIGUOUS','createHookData','children','testCaseId','test','uzpxr','split','314172HkqVYc','2610755mwoclu','testCaseMap','text','BKmAb','flat','tccVD','../../../helpers/testhub/utils.js','uri','path','exKjG','forEach','cOdzb','eDYfl','PLAYWRIGHT','HNfMF','snippetBuilder','onTestRunFinished','seconds','testCases','scenario','SpLGh','onTestRunStarted'];a6_0x3dc5=function(){return _0x59bc06;};return a6_0x3dc5();}class BrowserstackFormatter extends Formatter{constructor(_0x16849a){const _0x14e8fe=a6_0x36b16f,_0x3f04ce={};_0x3f04ce[_0x14e8fe(0xcf)]='envelope';const _0x1872ff=_0x3f04ce;super(_0x16849a),this[_0x14e8fe(0x7b)]={},_0x16849a['eventBroadcaster']['on'](_0x1872ff[_0x14e8fe(0xcf)],async _0x5f284b=>{const _0x2de353=_0x14e8fe;switch(!![]){case!!_0x5f284b[_0x2de353(0x101)]:this[_0x2de353(0xad)](_0x5f284b[_0x2de353(0x101)]);break;case!!_0x5f284b[_0x2de353(0x10c)]:this['onTestRunFinished'](_0x5f284b['testRunFinished']);break;case!!_0x5f284b[_0x2de353(0xd1)]:this['onTestCaseStarted'](_0x5f284b[_0x2de353(0xd1)],_0x16849a,_0x5f284b);break;case!!_0x5f284b[_0x2de353(0x129)]:this[_0x2de353(0x108)](_0x5f284b[_0x2de353(0x129)],_0x16849a,_0x5f284b);break;case!!_0x5f284b['testStepStarted']:this[_0x2de353(0x12d)](_0x5f284b[_0x2de353(0x89)],_0x16849a);break;case!!_0x5f284b[_0x2de353(0xfe)]:this['onTestStepFinished'](_0x5f284b[_0x2de353(0xfe)],_0x16849a);break;case!!_0x5f284b[_0x2de353(0xe8)]:this[_0x2de353(0xe7)](_0x5f284b[_0x2de353(0xe8)]);break;case!!_0x5f284b[_0x2de353(0xd8)]:this[_0x2de353(0x109)](_0x5f284b[_0x2de353(0xd8)]);break;case!!_0x5f284b['pickle']:this[_0x2de353(0x115)](_0x5f284b[_0x2de353(0xb8)]);break;case!!_0x5f284b[_0x2de353(0x100)]:this['onGherkinDocument'](_0x5f284b[_0x2de353(0x100)]);break;}});}['onHook'](_0x2cce24){const _0x568d43=a6_0x36b16f;this[_0x568d43(0x7b)]['hooks']=Object[_0x568d43(0x116)]([],this[_0x568d43(0x7b)]['hooks']||[]),this[_0x568d43(0x7b)][_0x568d43(0xc4)][_0x568d43(0x11d)](_0x2cce24);}['onPickle'](_0x50cd0e){const _0x1e296a=a6_0x36b16f;this[_0x1e296a(0x7b)][_0x1e296a(0xb8)]=Object[_0x1e296a(0x116)]([],this[_0x1e296a(0x7b)]['pickle']||[],[_0x50cd0e]),this['report'][_0x1e296a(0xb8)][_0x1e296a(0x11d)](_0x50cd0e);}[a6_0x36b16f(0xb4)](_0x55939f){const _0x277899=a6_0x36b16f;this[_0x277899(0x7b)][_0x277899(0x100)]=Object[_0x277899(0x116)]([],this[_0x277899(0x7b)][_0x277899(0x100)]||[],[_0x55939f]),this[_0x277899(0x7b)]['gherkinDocument']['push'](_0x55939f);}[a6_0x36b16f(0xd3)](_0x24828d){const _0x338c26=a6_0x36b16f;this[_0x338c26(0x7b)]['source']=_0x24828d;}[a6_0x36b16f(0xbc)](_0x503734){const _0x4001cc=a6_0x36b16f;this[_0x4001cc(0x7b)][_0x4001cc(0x106)]=Object[_0x4001cc(0x116)]([],this[_0x4001cc(0x7b)][_0x4001cc(0x106)]||[],[_0x503734]),this[_0x4001cc(0x7b)][_0x4001cc(0x106)][_0x4001cc(0x11d)](_0x503734);}[a6_0x36b16f(0x109)](_0x5c64c5){const _0x58bf9d=a6_0x36b16f;this[_0x58bf9d(0x7b)][_0x58bf9d(0xaa)]=Object[_0x58bf9d(0x116)]([],this['report']['testCases']||[],[_0x5c64c5]),this['report'][_0x58bf9d(0xaa)]['push'](_0x5c64c5);}[a6_0x36b16f(0x102)](_0x5b8c1c){const _0x10cdfc=a6_0x36b16f,_0x1cfffb={'BKmAb':function(_0x4d3f44,_0x739750){return _0x4d3f44!==_0x739750;},'gzREZ':_0x10cdfc(0x12a),'pJwtu':function(_0x29556b,_0x5538f5){return _0x29556b+_0x5538f5;},'jXhsl':function(_0x534315,_0x1f2276){return _0x534315+_0x1f2276;},'NPjjP':'\x20\x20\x20\x20','pYMik':_0x10cdfc(0xc7),'aFkQe':function(_0x1124b1,_0x186725){return _0x1124b1===_0x186725;},'tccVD':_0x10cdfc(0xcb),'JBsGU':function(_0x183390,_0x4eaa5b,_0x3814ab){return _0x183390(_0x4eaa5b,_0x3814ab);},'eDYfl':_0x10cdfc(0xde),'wYhZi':_0x10cdfc(0xf2),'exKjG':function(_0x4f29e0,_0x352d0f){return _0x4f29e0+_0x352d0f;},'Xmmeg':function(_0xe5d8c9,_0x255164){return _0xe5d8c9+_0x255164;},'pumXp':function(_0x4b3647,_0x459942){return _0x4b3647+_0x459942;},'eXhpJ':function(_0x12a363,_0x354402){return _0x12a363+_0x354402;}};_0x1cfffb[_0x10cdfc(0x9b)](global[_0x10cdfc(0xeb)],undefined)&&this[_0x10cdfc(0x8a)](_0x1cfffb[_0x10cdfc(0xa1)](_0x1cfffb[_0x10cdfc(0xa1)]('\x0a',global['__platform']),'\x0a'));const _0x51dc7d=this['eventDataCollector'][_0x10cdfc(0xbd)](_0x5b8c1c[_0x10cdfc(0x132)]);this[_0x10cdfc(0x8a)](_0x1cfffb[_0x10cdfc(0xb1)](_0x1cfffb[_0x10cdfc(0xb1)](_0x1cfffb[_0x10cdfc(0xaf)](_0x1cfffb['pJwtu']('\x20\x20',_0x51dc7d['gherkinDocument'][_0x10cdfc(0x112)][_0x10cdfc(0x113)]),_0x1cfffb[_0x10cdfc(0xda)]),_0x51dc7d[_0x10cdfc(0xb8)][_0x10cdfc(0x113)]),'\x0a'));const _0x40704d={};_0x40704d[_0x10cdfc(0xf0)]=this[_0x10cdfc(0xf0)],_0x40704d['snippetBuilder']=this[_0x10cdfc(0xa7)],_0x40704d[_0x10cdfc(0xc2)]=this[_0x10cdfc(0xc2)],_0x40704d[_0x10cdfc(0x139)]=_0x51dc7d;const _0xc2edf7=formatterHelpers['parseTestCaseAttempt'](_0x40704d);let _0x6adfcb=![];_0xc2edf7['testSteps'][_0x10cdfc(0xa2)](_0x305796=>{const _0x1355e9=_0x10cdfc;if(_0x1cfffb[_0x1355e9(0x9b)](_0x305796['name'],_0x1cfffb[_0x1355e9(0xfa)])&&!this[_0x1355e9(0xe2)](_0x305796)){totalTests+=0x1,this[_0x1355e9(0x8a)](_0x1cfffb[_0x1355e9(0xb5)](_0x1cfffb['pJwtu'](_0x1cfffb[_0x1355e9(0xb5)](_0x1cfffb[_0x1355e9(0xb5)](_0x1cfffb[_0x1355e9(0x13d)](_0x1cfffb[_0x1355e9(0xf9)],_0x305796[_0x1355e9(0xfc)]),_0x305796['text']||''),_0x1cfffb[_0x1355e9(0xda)]),Status[_0x305796[_0x1355e9(0xde)][_0x1355e9(0x7a)]]),'\x0a')),this['incrementCounter'](Status[_0x305796[_0x1355e9(0xde)][_0x1355e9(0x7a)]]);if(_0x1cfffb[_0x1355e9(0x8e)](Status[_0x305796[_0x1355e9(0xde)]['status']],_0x1cfffb[_0x1355e9(0x9d)])){_0x6adfcb=!![];const _0x446909=_0x1cfffb[_0x1355e9(0x126)](nestedKeyValue,_0x305796,[_0x1cfffb[_0x1355e9(0xa4)],_0x1cfffb[_0x1355e9(0x11f)]]);_0x446909&&(testsErrorMessage[_0x1cfffb[_0x1355e9(0xb5)](_0x1cfffb[_0x1355e9(0xa1)](_0x51dc7d['gherkinDocument'][_0x1355e9(0x112)][_0x1355e9(0x113)],_0x1cfffb[_0x1355e9(0xda)]),_0x51dc7d['pickle'][_0x1355e9(0x113)])]=_0x446909,this[_0x1355e9(0x8a)](_0x1cfffb['Xmmeg'](_0x446909,'\x0a')));}}}),_0x6adfcb&&(testSuitesFailed+=0x1),this['log']('\x0a');}[a6_0x36b16f(0xf8)](_0x5d74de){}[a6_0x36b16f(0xe2)](_0x11b543){const _0x43b537=a6_0x36b16f,_0x239228={};_0x239228['tHQhE']=function(_0x2c0f80,_0x3b05a6){return _0x2c0f80!==_0x3b05a6;},_0x239228[_0x43b537(0x8f)]=_0x43b537(0x107);const _0x785abe=_0x239228;if(_0x785abe['tHQhE'](_0x11b543[_0x43b537(0x8c)],undefined))return![];if(_0x11b543[_0x43b537(0x128)]&&_0x11b543[_0x43b537(0x128)]['uri'][_0x43b537(0xe9)](_0x785abe[_0x43b537(0x8f)]))return!![];return![];}[a6_0x36b16f(0xb9)](_0x2aedef){const _0x52206d=a6_0x36b16f,_0x3ef4e5={};_0x3ef4e5[_0x52206d(0x147)]=_0x52206d(0xcb),_0x3ef4e5[_0x52206d(0x11b)]=_0x52206d(0xdc),_0x3ef4e5[_0x52206d(0xa6)]=_0x52206d(0xec),_0x3ef4e5['ScaMo']='PENDING',_0x3ef4e5['JeedG']=_0x52206d(0x86),_0x3ef4e5['ObrBn']=_0x52206d(0x81),_0x3ef4e5['MPqhz']=_0x52206d(0x90);const _0x10b432=_0x3ef4e5;switch(_0x2aedef){case _0x10b432[_0x52206d(0x147)]:testsFailed+=0x1;break;case _0x10b432['HzwQT']:testsPassed+=0x1;break;case _0x10b432['HNfMF']:testsSkipped+=0x1;break;case _0x10b432[_0x52206d(0xc0)]:testsPending+=0x1;break;case _0x10b432['JeedG']:testsUndefined+=0x1;break;case _0x10b432['ObrBn']:testsUnknown+=0x1;break;case _0x10b432[_0x52206d(0x105)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x36b16f(0xad)](_0x1dd031){const _0x43a252=a6_0x36b16f,_0x5ac8ff={'TTgsf':function(_0x106310,_0x597e4a){return _0x106310!==_0x597e4a;},'HXsjk':function(_0x104857,_0xb7d0ad){return _0x104857!==_0xb7d0ad;},'OgBgR':function(_0x791a82){return _0x791a82();},'cOdzb':function(_0x486346,_0x1a8c02){return _0x486346(_0x1a8c02);},'snZpc':function(_0x4ed8fe,_0x572aea){return _0x4ed8fe+_0x572aea;},'LGyAO':function(_0x17e07c){return _0x17e07c();},'UifRY':'cucumber'};let _0x313117;if(_0x5ac8ff[_0x43a252(0xf6)](process[_0x43a252(0x103)]['CONFIG'],undefined)){const _0x473a8a=JSON['parse'](process[_0x43a252(0x103)]['CONFIG']);_0x313117=_0x473a8a[_0x43a252(0xb0)];}_0x5ac8ff[_0x43a252(0xdf)](_0x313117,undefined)&&_0x5ac8ff[_0x43a252(0x118)](isBrowserstackInfra)&&(global[_0x43a252(0xeb)]=_0x5ac8ff[_0x43a252(0xa3)](getPlatformName,_0x313117),this[_0x43a252(0x8a)](_0x5ac8ff[_0x43a252(0x133)](_0x43a252(0xe1)+global['__platform'],'\x0a'))),_0x5ac8ff[_0x43a252(0x125)](shouldProcessEventForTesthub)&&(TestDetails[_0x43a252(0x120)](),this[_0x43a252(0x7b)][_0x43a252(0x101)]=_0x1dd031,BrowserstackCLI[_0x43a252(0x143)]()['isCliEnabled']()&&await this['isCLIReady']()&&(TestInfo[_0x43a252(0x120)](_0x5ac8ff[_0x43a252(0xd9)]),await BrowserstackCLI[_0x43a252(0x143)]()[_0x43a252(0x7f)]()[_0x43a252(0xc5)](TestFrameworkState[_0x43a252(0x80)],HookState[_0x43a252(0xdd)],{})));}[a6_0x36b16f(0xa8)](_0x47ba43){const _0x3610ac=a6_0x36b16f;this[_0x3610ac(0x7b)][_0x3610ac(0x10c)]=_0x47ba43,this[_0x3610ac(0xf8)](_0x47ba43);}async[a6_0x36b16f(0xed)](_0x5b74f2,_0x52f7a8,_0xef8a9d){const _0x137f23=a6_0x36b16f,_0x3330d6={'hkTts':function(_0x11cad0,_0x845a6f){return _0x11cad0(_0x845a6f);},'VsxBM':'TestRunStarted','DJUzz':function(_0x1ff1f4,_0x5ceb7a){return _0x1ff1f4&&_0x5ceb7a;}};testSuites+=0x1;if(_0x3330d6[_0x137f23(0xe0)](shouldProcessEventForTesthub,_0x3330d6[_0x137f23(0x10a)]))try{this['report'][_0x137f23(0xd1)]=this['report'][_0x137f23(0xd1)]||{},this[_0x137f23(0x7b)][_0x137f23(0xd1)][_0x5b74f2['id']]=_0x5b74f2;let _0x1ec423=null;BrowserstackCLI[_0x137f23(0x143)]()[_0x137f23(0x8b)]()&&await this[_0x137f23(0x11e)]()?_0x1ec423=TestInfo[_0x137f23(0x10e)](_0x5b74f2['id']):_0x1ec423=TestDetails[_0x137f23(0x10e)](_0x5b74f2['id']);_testCasesData[_0x5b74f2['id']]=Object['assign']({},_0xef8a9d);const _0x3a69c8=this[_0x137f23(0x7b)],_0x364531=_0x5b74f2['testCaseId'],_0x3f1b79=_0x3a69c8[_0x137f23(0xaa)]['find'](_0x2d7059=>_0x2d7059['id']===_0x364531)['pickleId'],_0x84f892=_0x3a69c8[_0x137f23(0xb8)][_0x137f23(0xbf)](_0x1d850=>_0x1d850['id']===_0x3f1b79),_0x1e170a=_0x3a69c8[_0x137f23(0x100)][_0x137f23(0xbf)](_0x596635=>_0x596635['uri']===_0x84f892[_0x137f23(0x9f)]),_0x91d11c=_0x1e170a[_0x137f23(0x112)],_0x5b8010={'uuid':_0x1ec423,'startedAt':new Date()[_0x137f23(0xee)]()};if(_0x84f892){const _0x2575e5={};_0x2575e5[_0x137f23(0x113)]=_0x84f892[_0x137f23(0x113)],_0x5b8010['scenario']=_0x2575e5;}if(_0x3330d6[_0x137f23(0xfb)](_0x1e170a,_0x91d11c)){const _0x43dd97={};_0x43dd97[_0x137f23(0xa0)]=_0x1e170a[_0x137f23(0x9f)],_0x43dd97['name']=_0x91d11c[_0x137f23(0x113)],_0x43dd97[_0x137f23(0xf7)]=_0x91d11c['description'],_0x5b8010[_0x137f23(0x112)]=_0x43dd97;}_tests[_0x364531]=_0x5b8010;if(BrowserstackCLI[_0x137f23(0x143)]()['isCliEnabled']()&&await this[_0x137f23(0x11e)]()){const _0x1c2f00=await cucumberUtils[_0x137f23(0xb7)](_0x5b8010,_0x84f892,_0xef8a9d,_0x1e170a,_0x5b74f2['id'],_0x3330d6[_0x137f23(0x10a)]),_0x599461={};_0x599461[_0x137f23(0x94)]=_0x1c2f00,await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x137f23(0xc5)](TestFrameworkState[_0x137f23(0x88)],HookState[_0x137f23(0xdd)],_0x599461);return;}await testObservabilityReporter[_0x137f23(0x121)](_0xef8a9d,_0x1e170a,_0x84f892,_0x3330d6['VsxBM'],_0x5b8010);}catch(_0x2759db){logger[_0x137f23(0x12b)](_0x137f23(0x13c)+util[_0x137f23(0x122)](_0x2759db)+'\x20');}}async[a6_0x36b16f(0x108)](_0x303b01,_0x41f3b2,_0x378f1a){const _0x579ed6=a6_0x36b16f,_0x3be877={'vlilW':function(_0x39bffb,_0x24e612){return _0x39bffb(_0x24e612);},'mcBQN':'TestRunFinished','NwRDQ':_0x579ed6(0x94)};this['logTestCaseFinished'](_0x303b01);if(_0x3be877['vlilW'](shouldProcessEventForTesthub,_0x3be877[_0x579ed6(0x111)]))try{this['report'][_0x579ed6(0x129)]=this[_0x579ed6(0x7b)][_0x579ed6(0x129)]||{},this[_0x579ed6(0x7b)][_0x579ed6(0x129)][_0x303b01['testCaseStartedId']]=_0x303b01,_testCasesData[_0x378f1a['id']]=Object[_0x579ed6(0x116)]({},_0x378f1a);const _0x3a7252=_0x303b01[_0x579ed6(0x132)],_0x4ac0f0=_0x41f3b2[_0x579ed6(0xe5)][_0x579ed6(0x141)][_0x3a7252][_0x579ed6(0x93)],_0x29a793=_0x41f3b2['eventDataCollector']['testCaseMap'][_0x4ac0f0],_0x3b888a=_0x29a793[_0x579ed6(0xff)],_0x5588f5=_0x41f3b2['eventDataCollector'][_0x579ed6(0x11c)][_0x3b888a],_0x408423=this[_0x579ed6(0x145)](_0x41f3b2,_0x5588f5),_0x17ccd8=_0x408423['feature'],_0x461f6d=_tests[_0x4ac0f0];_0x461f6d&&(delete _tests[_0x4ac0f0],_0x461f6d['finishedAt']=new Date()['toISOString']());if(BrowserstackCLI['getInstance']()[_0x579ed6(0x8b)]()&&await this[_0x579ed6(0x11e)]()){const _0x8b13a8=await cucumberUtils['createTestFrameworkData'](_0x461f6d,_0x5588f5,_0x378f1a,_0x408423,_0x3a7252,_0x3be877['mcBQN']),_0x528e11={};_0x528e11['test']=_0x8b13a8,await BrowserstackCLI['getInstance']()[_0x579ed6(0x7f)]()[_0x579ed6(0xc5)](TestFrameworkState[_0x579ed6(0x88)],HookState[_0x579ed6(0x137)],_0x528e11);const _0x287b21={};_0x287b21[_0x579ed6(0xe6)]=_0x303b01[_0x579ed6(0x132)],_0x287b21[_0x579ed6(0x11a)]=_0x3be877[_0x579ed6(0x12c)],await BrowserstackCLI[_0x579ed6(0x143)]()['getTestFramework']()[_0x579ed6(0xc5)](TestFrameworkState[_0x579ed6(0x131)],HookState[_0x579ed6(0x137)],_0x287b21);return;}await testObservabilityReporter[_0x579ed6(0x121)](_0x378f1a,_0x408423,_0x5588f5,_0x3be877[_0x579ed6(0x111)],_0x461f6d);}catch(_0x498287){logger[_0x579ed6(0x12b)]('Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20'+util[_0x579ed6(0x122)](_0x498287));}}async[a6_0x36b16f(0x12d)](_0x39114c,_0x4b5edd){const _0x12b669=a6_0x36b16f,_0x395f3c={'Ewsya':function(_0x2d9bb7,_0x4f88fc){return _0x2d9bb7(_0x4f88fc);},'RpVqd':_0x12b669(0x114),'SpLGh':function(_0x395ed1,_0x2b4a60){return _0x395ed1!==_0x2b4a60;},'iwQjx':_0x12b669(0x10f)};if(_0x395f3c[_0x12b669(0x8d)](shouldProcessEventForTesthub,_0x395f3c[_0x12b669(0x136)]))try{this[_0x12b669(0x7b)][_0x12b669(0x89)]=this['report'][_0x12b669(0x89)]||{},this[_0x12b669(0x7b)][_0x12b669(0x89)][_0x39114c['testCaseStartedId']]=_0x39114c;const _0x2b88bc=_0x39114c[_0x12b669(0x132)],_0x22a295=_0x4b5edd[_0x12b669(0xe5)][_0x12b669(0x141)][_0x2b88bc][_0x12b669(0x93)],_0x49dec2=this['report'][_0x12b669(0xaa)][_0x12b669(0xbf)](_0x4833d7=>_0x4833d7['id']===_0x22a295)[_0x12b669(0xff)],_0x2444c4=this[_0x12b669(0x7b)][_0x12b669(0xb8)][_0x12b669(0xbf)](_0xa86d0c=>_0xa86d0c['id']===_0x49dec2),_0x148fd7=this[_0x12b669(0x7b)][_0x12b669(0xaa)][_0x12b669(0xbf)](_0x14a317=>_0x14a317['id']===_0x22a295)['testSteps'],_0x27e9d6=this['report'][_0x12b669(0x89)][_0x2b88bc][_0x12b669(0x10f)],_0x164662=_0x148fd7[_0x12b669(0xbf)](_0x3d49aa=>_0x3d49aa['id']===_0x27e9d6)[_0x12b669(0x13f)],_0x1b3e52=_0x2444c4[_0x12b669(0xbe)]['find'](_0x7b122c=>_0x7b122c['id']===_0x164662);if(_0x164662&&_tests[_0x22a295]&&_0x395f3c[_0x12b669(0xac)](_tests[_0x22a295][_0x395f3c['iwQjx']],_0x27e9d6)){_tests[_0x22a295][_0x395f3c[_0x12b669(0xf5)]]=_0x27e9d6;const _0x2301bd={};_0x2301bd['steps']=[];const _0x2424f4=_tests[_0x22a295]||_0x2301bd;_0x2424f4&&!_0x2424f4[_0x12b669(0xbe)]&&(_0x2424f4[_0x12b669(0xbe)]=[]),_0x2424f4[_0x12b669(0xbe)]['push']({'id':_0x1b3e52['id'],'text':_0x1b3e52['text'],'started_at':new Date()[_0x12b669(0xee)]()}),_tests[_0x22a295]=_0x2424f4;}if(BrowserstackCLI[_0x12b669(0x143)]()['isCliEnabled']()&&await this[_0x12b669(0x11e)]()){const _0x2b82ff=await cucumberUtils[_0x12b669(0x91)](this[_0x12b669(0x7b)],_0x2b88bc,_0x395f3c[_0x12b669(0x136)],_0x148fd7,_0x27e9d6,_tests[_0x22a295]);_0x2b82ff&&await BrowserstackCLI[_0x12b669(0x143)]()[_0x12b669(0x7f)]()['trackEvent'](TestFrameworkState[_0x2b82ff[_0x12b669(0xbb)]],HookState['PRE'],{'hookData':_0x2b82ff,'testUUID':_0x39114c[_0x12b669(0x132)]});return;}await testObservabilityReporter[_0x12b669(0x140)](this['report'],_0x2b88bc,_0x395f3c['RpVqd'],_0x148fd7,_0x27e9d6,_tests[_0x22a295]);}catch(_0x20cf57){logger[_0x12b669(0x12b)](_0x12b669(0x142)+util[_0x12b669(0x122)](_0x20cf57));}}async['onTestStepFinished'](_0x1e1b2a,_0x433bcc){const _0x584440=a6_0x36b16f,_0x4b7694={'bBqQs':function(_0xbb441a,_0x261edb){return _0xbb441a===_0x261edb;},'DdODH':'0|4|2|3|1','aqPqb':function(_0x24f633,_0x55da7f){return _0x24f633(_0x55da7f);},'Ylzvk':_0x584440(0xd6),'IGEeE':function(_0x449aa4,_0x5522e9){return _0x449aa4===_0x5522e9;},'fDjwz':'failed','OQLeI':function(_0x3bcaed,_0x452c8b){return _0x3bcaed===_0x452c8b;},'udpbQ':function(_0x95ec02,_0x93eb50){return _0x95ec02===_0x93eb50;},'OuDZM':'UnhandledError','uzpxr':_0x584440(0x10f),'GEZtp':'HookRunStarted','qeErB':_0x584440(0xe8)};this[_0x584440(0x7b)][_0x584440(0xfe)]=this[_0x584440(0x7b)][_0x584440(0xfe)]||{},this['report'][_0x584440(0xfe)][_0x1e1b2a[_0x584440(0x132)]]=_0x1e1b2a;if(_0x4b7694[_0x584440(0x144)](shouldProcessEventForTesthub,_0x4b7694[_0x584440(0x117)]))try{const _0x34f63e=_0x1e1b2a[_0x584440(0x132)],_0x1b0993=_0x433bcc[_0x584440(0xe5)][_0x584440(0x141)][_0x34f63e]['testCaseId'],_0x85310c=_0x433bcc[_0x584440(0xe5)][_0x584440(0x99)][_0x1b0993],_0x53cf75=_0x85310c[_0x584440(0xff)],_0xdb6b0d=_0x433bcc[_0x584440(0xe5)][_0x584440(0x11c)][_0x53cf75],_0x471338=_0x1e1b2a[_0x584440(0x10f)],_0x1e7884=_0x85310c[_0x584440(0x12f)],_0x466174=this['eventDataCollector'][_0x584440(0xbd)](_0x34f63e),_0x48fee2=_0x1e7884[_0x584440(0xbf)](_0xe761de=>_0xe761de['id']===_0x471338)[_0x584440(0x13f)];let _0x536a7e,_0x34671b;_0x1e1b2a[_0x584440(0x82)]&&_0x4b7694['IGEeE'](_0x1e1b2a[_0x584440(0x82)]['status'][_0x584440(0x12e)]()[_0x584440(0xb6)](),_0x4b7694['fDjwz'])&&(_0x536a7e=_0x4b7694[_0x584440(0xcc)](_0x1e1b2a[_0x584440(0x82)][_0x584440(0x7e)],undefined)?_0x1e1b2a[_0x584440(0x82)][_0x584440(0xf2)]:_0x1e1b2a[_0x584440(0x82)][_0x584440(0x7e)]['message'],_0x34671b=_0x4b7694['udpbQ'](_0x1e1b2a['testStepResult']['exception'],undefined)?_0x4b7694[_0x584440(0xce)]:_0x1e1b2a[_0x584440(0x82)]['message']);if(_0x48fee2&&_tests[_0x1b0993][_0x4b7694[_0x584440(0x95)]]){const _0x1eb3c9=_0xdb6b0d[_0x584440(0xbe)][_0x584440(0xbf)](_0x2a62d6=>_0x2a62d6['id']===_0x48fee2),_0x264eb2={};_0x264eb2[_0x584440(0xbe)]=[];const _0x38f400=_tests[_0x1b0993]||_0x264eb2;!_0x38f400[_0x584440(0xbe)]?_0x38f400[_0x584440(0xbe)]=[{'id':_0x1eb3c9['id'],'text':_0x1eb3c9[_0x584440(0x9a)],'finished_at':new Date()[_0x584440(0xee)](),'result':_0x1e1b2a[_0x584440(0x82)]['status'],'duration':_0x1e1b2a[_0x584440(0x82)][_0x584440(0x84)][_0x584440(0xa9)],'failure':_0x536a7e,'failureType':_0x34671b}]:_0x38f400[_0x584440(0xbe)][_0x584440(0xa2)](_0x5572aa=>{const _0x794d3a=_0x584440;if(_0x4b7694[_0x794d3a(0x7d)](_0x5572aa['id'],_0x1eb3c9['id'])){const _0x500953=_0x4b7694['DdODH'][_0x794d3a(0x96)]('|');let _0x566518=0x0;while(!![]){switch(_0x500953[_0x566518++]){case'0':_0x5572aa[_0x794d3a(0x83)]=new Date()['toISOString']();continue;case'1':_0x5572aa[_0x794d3a(0xe3)]=_0x34671b;continue;case'2':_0x5572aa[_0x794d3a(0x84)]=_0x1e1b2a[_0x794d3a(0x82)][_0x794d3a(0x84)][_0x794d3a(0xa9)];continue;case'3':_0x5572aa['failure']=_0x536a7e;continue;case'4':_0x5572aa[_0x794d3a(0xde)]=_0x1e1b2a[_0x794d3a(0x82)]['status'];continue;}break;}}}),_tests[_0x1b0993]=_0x38f400;}delete _tests[_0x1b0993][_0x4b7694[_0x584440(0x95)]];if(BrowserstackCLI['getInstance']()[_0x584440(0x8b)]()&&await this[_0x584440(0x11e)]()){const _0x4234d4=await cucumberUtils['createHookData'](this[_0x584440(0x7b)],_0x34f63e,_0x4b7694[_0x584440(0x110)],_0x1e7884,_0x471338,_tests[_0x1b0993]);if(_0x4234d4){await BrowserstackCLI['getInstance']()[_0x584440(0x7f)]()[_0x584440(0xc5)](TestFrameworkState[_0x4234d4[_0x584440(0xbb)]],HookState[_0x584440(0x137)],{'hookData':_0x4234d4,'testUUID':_0x1e1b2a[_0x584440(0x132)]});const _0x485235={};_0x485235[_0x584440(0xe6)]=_0x1e1b2a['testCaseStartedId'],_0x485235[_0x584440(0x11a)]=_0x4b7694[_0x584440(0x119)],await BrowserstackCLI[_0x584440(0x143)]()[_0x584440(0x7f)]()[_0x584440(0xc5)](TestFrameworkState['LOG_REPORT'],HookState[_0x584440(0x137)],_0x485235);}return;}await testObservabilityReporter[_0x584440(0x140)](this[_0x584440(0x7b)],_0x34f63e,_0x4b7694[_0x584440(0x117)],_0x1e7884,_0x471338,_tests[_0x1b0993]);}catch(_0x735344){logger[_0x584440(0x12b)](_0x584440(0xb2)+util['format'](_0x735344));}}['getGherkinStepMap'](_0x528908){const _0xc2c44a=a6_0x36b16f,_0x4245a3={};return _0x528908[_0xc2c44a(0x112)][_0xc2c44a(0x92)][_0xc2c44a(0xf3)](this[_0xc2c44a(0x7c)])[_0xc2c44a(0x9c)]()['forEach'](_0xbcfa14=>_0xbcfa14[_0xc2c44a(0xbe)]['forEach'](_0x2ca77d=>_0x4245a3[_0x2ca77d['id']]=_0x2ca77d)),_0x4245a3;}[a6_0x36b16f(0x7c)](_0x4153c5){const _0x2a2a40=a6_0x36b16f,_0x5aee6d={'yfGYS':function(_0x579fd4,_0x2f8b95){return _0x579fd4(_0x2f8b95);},'vDqLX':function(_0x4f227e,_0x29450c){return _0x4f227e(_0x29450c);}};if(!_0x5aee6d['yfGYS'](isUndefined,_0x4153c5['background']))return[_0x4153c5[_0x2a2a40(0x124)]];else{if(!_0x5aee6d[_0x2a2a40(0x130)](isUndefined,_0x4153c5[_0x2a2a40(0x10b)]))return _0x4153c5[_0x2a2a40(0x10b)][_0x2a2a40(0x92)][_0x2a2a40(0xf3)](_0x16739b=>!isUndefined(_0x16739b['background'])?_0x16739b[_0x2a2a40(0x124)]:_0x16739b[_0x2a2a40(0xab)]);};return[_0x4153c5[_0x2a2a40(0xab)]];}[a6_0x36b16f(0x145)](_0x3bc17b,_0x115496){const _0x92f63e=a6_0x36b16f;return Object[_0x92f63e(0x13a)](_0x3bc17b[_0x92f63e(0xe5)][_0x92f63e(0xb3)])[_0x92f63e(0xbf)](_0x1d0632=>_0x1d0632[_0x92f63e(0x9f)]===_0x115496['uri']);}async[a6_0x36b16f(0x127)](){const _0x11afc7=a6_0x36b16f;if(this[_0x11afc7(0x135)])return this[_0x11afc7(0x135)];return this[_0x11afc7(0x135)]=this[_0x11afc7(0x138)](),this['cliInitPromise'];}async[a6_0x36b16f(0x138)](){const _0x5c972d=a6_0x36b16f,_0x58cebc={'ZwFtw':_0x5c972d(0xc3),'tAHZD':function(_0x4f23c5,_0x55023a){return _0x4f23c5(_0x55023a);},'fiyLE':_0x5c972d(0x104),'dpCfR':_0x5c972d(0xd7)};try{const _0x2a7888=BrowserstackCLI[_0x5c972d(0x143)]();if(_0x2a7888[_0x5c972d(0x134)]())return logger[_0x5c972d(0x12b)](_0x5c972d(0xba)+_0x2a7888[_0x5c972d(0xc8)]),!![];const _0x2cc9b1=process[_0x5c972d(0x103)][_0x5c972d(0xef)];if(!_0x2cc9b1)return logger[_0x5c972d(0x12b)](_0x58cebc['ZwFtw']),![];const _0x25e3e0=_0x58cebc[_0x5c972d(0x87)](require,_0x58cebc[_0x5c972d(0xfd)]),{FRAMEWORKS:_0x5e31b2}=_0x58cebc['tAHZD'](require,_0x58cebc[_0x5c972d(0x13e)]);return _0x25e3e0['setFrameworkDetail'](_0x5e31b2[_0x5c972d(0xd4)],_0x5e31b2[_0x5c972d(0xa5)]),logger[_0x5c972d(0x12b)](_0x5c972d(0xdb)+_0x2cc9b1),await _0x2a7888[_0x5c972d(0xe4)](),logger[_0x5c972d(0x12b)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x2a7888['isRunning']()+',\x20binSessionId:\x20'+_0x2a7888[_0x5c972d(0xc8)]),_0x2a7888[_0x5c972d(0x134)]();}catch(_0x980fbf){return logger[_0x5c972d(0x12b)](_0x5c972d(0xd0)+util[_0x5c972d(0x122)](_0x980fbf)),![];}}async['isCLIReady'](){const _0x29399a=a6_0x36b16f;try{return await this[_0x29399a(0x127)](),BrowserstackCLI[_0x29399a(0x143)]()[_0x29399a(0x134)]();}catch(_0x2a038f){return logger[_0x29399a(0x12b)]('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util['format'](_0x2a038f)),![];}}}module[a6_0x36b16f(0xd5)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x36b16f(0xed),'onTestCaseFinished',a6_0x36b16f(0x12d),'onTestStepFinished',a6_0x36b16f(0xad),'onTestRunFinished',a6_0x36b16f(0x7c),'getGherkinDocument','getGherkinStepMap']);
|
|
1
|
+
const a6_0x35f701=a6_0x2834;function a6_0x2834(_0x3ae7d4,_0x105bd1){const _0x583e48=a6_0x583e();return a6_0x2834=function(_0x28348b,_0x3245ed){_0x28348b=_0x28348b-0xad;let _0x32cedd=_0x583e48[_0x28348b];return _0x32cedd;},a6_0x2834(_0x3ae7d4,_0x105bd1);}(function(_0x221ae4,_0x53930a){const _0x25de8f=a6_0x2834,_0x1fce14=_0x221ae4();while(!![]){try{const _0x492a2b=parseInt(_0x25de8f(0x115))/0x1+parseInt(_0x25de8f(0xd2))/0x2*(-parseInt(_0x25de8f(0x159))/0x3)+parseInt(_0x25de8f(0x108))/0x4*(-parseInt(_0x25de8f(0x100))/0x5)+-parseInt(_0x25de8f(0x167))/0x6+parseInt(_0x25de8f(0x112))/0x7+parseInt(_0x25de8f(0x156))/0x8*(parseInt(_0x25de8f(0x16c))/0x9)+parseInt(_0x25de8f(0xf8))/0xa;if(_0x492a2b===_0x53930a)break;else _0x1fce14['push'](_0x1fce14['shift']());}catch(_0x3b6939){_0x1fce14['push'](_0x1fce14['shift']());}}}(a6_0x583e,0x82284));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require('../../../helpers/helper'),util=require(a6_0x35f701(0x13d)),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require(a6_0x35f701(0x15e)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x35f701(0xed)),{shouldProcessEventForTesthub}=require(a6_0x35f701(0xe4)),BrowserstackCLI=require(a6_0x35f701(0x175)),TestFrameworkState=require(a6_0x35f701(0x148)),HookState=require('../../v2/state/hookState.js'),CucumberUtils=require(a6_0x35f701(0x15d)),TestInfo=require(a6_0x35f701(0x141)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x35f701(0xde)],_tests={},_testCasesData={};function a6_0x583e(){const _0x2c1192=['scenario','CONFIG','tOcwf','forEach','testStepId','ZbzUo','QbnHn','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','GCEhw','_performCLIInitialization','onTestRunStarted','763408EQGMlS','BOMID','steps','978IstCXF','pickleId','hook','hook_type','../../v2/utils/cucumber-utils.js','../../playwright/reporter/test-details.js','source','FwaTs','Prugz','onSource','DZimx','PRE','toISOString','isBstackHook','4937862MxFGIT','cucumber','onGherkinDocument','test','logTestRunFinished','90fpmcLG','env','GeRnG','YmXyi','JqPsN','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','testCaseId','HookRunStarted','../../v2/browserstackCLI.js','VbLxI','feature','ZSCws','background','CLI\x20already\x20running\x20-\x20binSessionId:\x20','supportCodeLibrary','isCliEnabled','OGNVn','mNQEg','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','testStepStarted','onTestCaseFinished','testCaseStarted','toString','SKIPPED','stepDefinition','testUUID','format','rule','snippetBuilder','cwd','onHook','RnfvI','duration','VTVEp','pickle','eftny','debug','status','envelope','PASSED','getInstance','jgnwv','pickleStepId','UNDEFINED','Hronq','flnuu','text','jKTIU','FAILED','onFAv','YIYTm','2740LOMBAH','3|0|4|2|1','testCaseFinished','parse','JBchR','bstack','parseTestCaseAttempt','onTestRunFinished','IquOy','NoZin','keyword','mfsBG','winstonLogger','ensureCLIInitialized','BROWSERSTACK_CLI_BIN_SESSION_ID','createHookData','testCaseStartedId','hooks','../../../helpers/testhub/utils.js','SbdKc','trackEvent','isRunning','testCase','log','result','capability','gherkinDocument','../../../helpers/test-observability/error-handler','thrrC','testCaseAttempt','cliInitPromise','KimXv','exception','values','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','bootstrap','testSteps',',\x20binSessionId:\x20','3044410Ghqfkf','onPickle','setFrameworkDetail','onTestCaseStarted','onTestStepStarted','sourceLocation','POST','PGVGR','1046750IThWzh','eventDataCollector','sendHook','onTestCase','testStepResult','incrementCounter','finishedAt','testRunFinished','8POqbHG','testCases','UnhandledError','LOG_REPORT','sendTestRunEventForCucumber','ukrHj','dMtSc','INIT_TEST','find','CCXln','5958148CDZkLO','getTestUUID','Wyerd','111556nGtjIp','QCosq','__platform','flDvN','\x20\x20\x20\x20','report','ygivt','seconds','type','fZIwQ','testRunStarted','getGherkinStepMap','exIVx','getTestFramework','GzhZx','message','assign','push','description','wNbRG','uri','binSessionId','testCaseMap','createTestFrameworkData','toLowerCase','getGherkinDocument','AiTKq','Gxcpu','actionLocation','TEST','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','ssJkk','setup','testStepFinished','onTestStepFinished','name','eventBroadcaster','includes','split','UfFdT','util','CmCDz','getTestCaseAttempt','failureType','../../../bin/v2/TestInfo.js','AMBIGUOUS','CUCUMBER','isCLIReady','extractStepContainers','map','logTestCaseFinished','../../v2/state/testFrameworkState.js','ohQvl','testCaseAttemptDataMap'];a6_0x583e=function(){return _0x2c1192;};return a6_0x583e();}class BrowserstackFormatter extends Formatter{constructor(_0x527bef){const _0x222785=a6_0x35f701,_0x582505={};_0x582505[_0x222785(0xd0)]=_0x222785(0xc5);const _0x28a947=_0x582505;super(_0x527bef),this[_0x222785(0x11a)]={},_0x527bef[_0x222785(0x139)]['on'](_0x28a947[_0x222785(0xd0)],async _0x5b04c2=>{const _0x1b5d4b=_0x222785;switch(!![]){case!!_0x5b04c2[_0x1b5d4b(0x11f)]:this[_0x1b5d4b(0x155)](_0x5b04c2[_0x1b5d4b(0x11f)]);break;case!!_0x5b04c2[_0x1b5d4b(0x107)]:this['onTestRunFinished'](_0x5b04c2[_0x1b5d4b(0x107)]);break;case!!_0x5b04c2[_0x1b5d4b(0xb4)]:this[_0x1b5d4b(0xfb)](_0x5b04c2[_0x1b5d4b(0xb4)],_0x527bef,_0x5b04c2);break;case!!_0x5b04c2[_0x1b5d4b(0xd4)]:this[_0x1b5d4b(0xb3)](_0x5b04c2[_0x1b5d4b(0xd4)],_0x527bef,_0x5b04c2);break;case!!_0x5b04c2['testStepStarted']:this[_0x1b5d4b(0xfc)](_0x5b04c2[_0x1b5d4b(0xb2)],_0x527bef);break;case!!_0x5b04c2['testStepFinished']:this[_0x1b5d4b(0x137)](_0x5b04c2['testStepFinished'],_0x527bef);break;case!!_0x5b04c2[_0x1b5d4b(0x15b)]:this['onHook'](_0x5b04c2['hook']);break;case!!_0x5b04c2[_0x1b5d4b(0xe8)]:this[_0x1b5d4b(0x103)](_0x5b04c2[_0x1b5d4b(0xe8)]);break;case!!_0x5b04c2[_0x1b5d4b(0xc1)]:this[_0x1b5d4b(0xf9)](_0x5b04c2[_0x1b5d4b(0xc1)]);break;case!!_0x5b04c2[_0x1b5d4b(0xec)]:this[_0x1b5d4b(0x169)](_0x5b04c2[_0x1b5d4b(0xec)]);break;}});}[a6_0x35f701(0xbd)](_0x143d0a){const _0x22faf9=a6_0x35f701;this[_0x22faf9(0x11a)][_0x22faf9(0xe3)]=Object[_0x22faf9(0x125)]([],this[_0x22faf9(0x11a)]['hooks']||[]),this['report'][_0x22faf9(0xe3)]['push'](_0x143d0a);}[a6_0x35f701(0xf9)](_0xc06db1){const _0x216b4f=a6_0x35f701;this[_0x216b4f(0x11a)][_0x216b4f(0xc1)]=Object['assign']([],this['report'][_0x216b4f(0xc1)]||[],[_0xc06db1]),this[_0x216b4f(0x11a)][_0x216b4f(0xc1)]['push'](_0xc06db1);}[a6_0x35f701(0x169)](_0x47d024){const _0x69e0fe=a6_0x35f701;this[_0x69e0fe(0x11a)]['gherkinDocument']=Object[_0x69e0fe(0x125)]([],this[_0x69e0fe(0x11a)][_0x69e0fe(0xec)]||[],[_0x47d024]),this[_0x69e0fe(0x11a)][_0x69e0fe(0xec)][_0x69e0fe(0x126)](_0x47d024);}[a6_0x35f701(0x162)](_0x18029e){const _0x3b9bbc=a6_0x35f701;this['report'][_0x3b9bbc(0x15f)]=_0x18029e;}['onStepDefinition'](_0x4acca7){const _0xeca99=a6_0x35f701;this[_0xeca99(0x11a)][_0xeca99(0xb7)]=Object['assign']([],this['report']['stepDefinition']||[],[_0x4acca7]),this[_0xeca99(0x11a)][_0xeca99(0xb7)][_0xeca99(0x126)](_0x4acca7);}[a6_0x35f701(0x103)](_0x31cb8b){const _0x4dcf7d=a6_0x35f701;this[_0x4dcf7d(0x11a)][_0x4dcf7d(0x109)]=Object[_0x4dcf7d(0x125)]([],this[_0x4dcf7d(0x11a)][_0x4dcf7d(0x109)]||[],[_0x31cb8b]),this[_0x4dcf7d(0x11a)][_0x4dcf7d(0x109)]['push'](_0x31cb8b);}[a6_0x35f701(0x147)](_0x11d30b){const _0x56c5b7=a6_0x35f701,_0x515fe4={'CCXln':function(_0x15955b,_0x1c5fce){return _0x15955b!==_0x1c5fce;},'mfsBG':_0x56c5b7(0xd7),'thrrC':function(_0x197769,_0x1ec9c2){return _0x197769+_0x1ec9c2;},'NoZin':function(_0x25b55c,_0x38ef47){return _0x25b55c+_0x38ef47;},'YIYTm':_0x56c5b7(0x119),'Hronq':'\x20-\x20','VZCCs':function(_0x10a2ac,_0x3d7e49){return _0x10a2ac===_0x3d7e49;},'dMtSc':_0x56c5b7(0xcf),'UfFdT':function(_0x16f004,_0x2c6045,_0x2516ac){return _0x16f004(_0x2c6045,_0x2516ac);},'IBJXV':_0x56c5b7(0xea),'eftny':_0x56c5b7(0x124),'fFjim':function(_0x5285ae,_0x1d7f33){return _0x5285ae+_0x1d7f33;},'lphza':function(_0x51e04d,_0x3e97cc){return _0x51e04d+_0x3e97cc;},'KimXv':function(_0x3d598c,_0xc46116){return _0x3d598c+_0xc46116;},'GzhZx':function(_0x1a854c,_0x592a58){return _0x1a854c+_0x592a58;},'ZbzUo':function(_0xf54a18,_0x13e56b){return _0xf54a18+_0x13e56b;},'BOMID':function(_0x3147b7,_0x438909){return _0x3147b7+_0x438909;}};_0x515fe4[_0x56c5b7(0x111)](global[_0x56c5b7(0x117)],undefined)&&this[_0x56c5b7(0xe9)](_0x515fe4['lphza'](_0x515fe4[_0x56c5b7(0xf1)]('\x0a',global['__platform']),'\x0a'));const _0x39520e=this[_0x56c5b7(0x101)][_0x56c5b7(0x13f)](_0x11d30b[_0x56c5b7(0xe2)]);this[_0x56c5b7(0xe9)](_0x515fe4[_0x56c5b7(0x123)](_0x515fe4['fFjim'](_0x515fe4[_0x56c5b7(0x150)](_0x515fe4[_0x56c5b7(0x157)]('\x20\x20',_0x39520e[_0x56c5b7(0xec)][_0x56c5b7(0x177)][_0x56c5b7(0x138)]),_0x515fe4[_0x56c5b7(0xcb)]),_0x39520e[_0x56c5b7(0xc1)][_0x56c5b7(0x138)]),'\x0a'));const _0x1af46d={};_0x1af46d[_0x56c5b7(0xbc)]=this[_0x56c5b7(0xbc)],_0x1af46d[_0x56c5b7(0xbb)]=this[_0x56c5b7(0xbb)],_0x1af46d[_0x56c5b7(0xad)]=this[_0x56c5b7(0xad)],_0x1af46d[_0x56c5b7(0xef)]=_0x39520e;const _0x14b670=formatterHelpers[_0x56c5b7(0xd8)](_0x1af46d);let _0x117eae=![];_0x14b670[_0x56c5b7(0xf6)][_0x56c5b7(0x14e)](_0x3d11e7=>{const _0x8fb51=_0x56c5b7;if(_0x515fe4[_0x8fb51(0x111)](_0x3d11e7[_0x8fb51(0x138)],_0x515fe4[_0x8fb51(0xdd)])&&!this[_0x8fb51(0x166)](_0x3d11e7)){totalTests+=0x1,this[_0x8fb51(0xe9)](_0x515fe4[_0x8fb51(0xee)](_0x515fe4[_0x8fb51(0xee)](_0x515fe4[_0x8fb51(0xee)](_0x515fe4[_0x8fb51(0xee)](_0x515fe4['NoZin'](_0x515fe4[_0x8fb51(0xd1)],_0x3d11e7[_0x8fb51(0xdc)]),_0x3d11e7[_0x8fb51(0xcd)]||''),_0x515fe4[_0x8fb51(0xcb)]),Status[_0x3d11e7[_0x8fb51(0xea)]['status']]),'\x0a')),this[_0x8fb51(0x105)](Status[_0x3d11e7[_0x8fb51(0xea)][_0x8fb51(0xc4)]]);if(_0x515fe4['VZCCs'](Status[_0x3d11e7[_0x8fb51(0xea)][_0x8fb51(0xc4)]],_0x515fe4[_0x8fb51(0x10e)])){_0x117eae=!![];const _0xa65f51=_0x515fe4[_0x8fb51(0x13c)](nestedKeyValue,_0x3d11e7,[_0x515fe4['IBJXV'],_0x515fe4[_0x8fb51(0xc2)]]);_0xa65f51&&(testsErrorMessage[_0x515fe4[_0x8fb51(0xee)](_0x515fe4[_0x8fb51(0xdb)](_0x39520e[_0x8fb51(0xec)][_0x8fb51(0x177)][_0x8fb51(0x138)],_0x515fe4['Hronq']),_0x39520e['pickle'][_0x8fb51(0x138)])]=_0xa65f51,this[_0x8fb51(0xe9)](_0x515fe4['fFjim'](_0xa65f51,'\x0a')));}}}),_0x117eae&&(testSuitesFailed+=0x1),this[_0x56c5b7(0xe9)]('\x0a');}[a6_0x35f701(0x16b)](_0x105723){}[a6_0x35f701(0x166)](_0x2626a4){const _0x2e18cc=a6_0x35f701,_0x36f467={};_0x36f467[_0x2e18cc(0x14d)]=function(_0x584a22,_0x1b5cda){return _0x584a22!==_0x1b5cda;},_0x36f467[_0x2e18cc(0xc8)]='cucumber-js/test.setup.js';const _0xefdea=_0x36f467;if(_0xefdea[_0x2e18cc(0x14d)](_0x2626a4[_0x2e18cc(0xfd)],undefined))return![];if(_0x2626a4[_0x2e18cc(0x131)]&&_0x2626a4[_0x2e18cc(0x131)][_0x2e18cc(0x129)][_0x2e18cc(0x13a)](_0xefdea[_0x2e18cc(0xc8)]))return!![];return![];}[a6_0x35f701(0x105)](_0xd01c77){const _0x1ea9f6=a6_0x35f701,_0x27a175={};_0x27a175[_0x1ea9f6(0x116)]=_0x1ea9f6(0xcf),_0x27a175[_0x1ea9f6(0x121)]=_0x1ea9f6(0xc6),_0x27a175[_0x1ea9f6(0xc0)]=_0x1ea9f6(0xb6),_0x27a175[_0x1ea9f6(0x114)]='PENDING',_0x27a175[_0x1ea9f6(0x160)]=_0x1ea9f6(0xca),_0x27a175[_0x1ea9f6(0xe5)]='UNKNOWN',_0x27a175[_0x1ea9f6(0xda)]=_0x1ea9f6(0x142);const _0x430d8b=_0x27a175;switch(_0xd01c77){case _0x430d8b[_0x1ea9f6(0x116)]:testsFailed+=0x1;break;case _0x430d8b[_0x1ea9f6(0x121)]:testsPassed+=0x1;break;case _0x430d8b[_0x1ea9f6(0xc0)]:testsSkipped+=0x1;break;case _0x430d8b[_0x1ea9f6(0x114)]:testsPending+=0x1;break;case _0x430d8b[_0x1ea9f6(0x160)]:testsUndefined+=0x1;break;case _0x430d8b[_0x1ea9f6(0xe5)]:testsUnknown+=0x1;break;case _0x430d8b[_0x1ea9f6(0xda)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x35f701(0x155)](_0x496488){const _0x19a976=a6_0x35f701,_0x168ded={'Gxcpu':function(_0x1e079d,_0x3cfd04){return _0x1e079d!==_0x3cfd04;},'PGVGR':function(_0x47ed59){return _0x47ed59();},'HGHPs':function(_0x1162f5,_0x5bb77d){return _0x1162f5(_0x5bb77d);},'sjdWY':function(_0x1fb116,_0x513757){return _0x1fb116+_0x513757;},'hSEmC':_0x19a976(0x168)};let _0x322b88;if(_0x168ded[_0x19a976(0x130)](process[_0x19a976(0x16d)][_0x19a976(0x14c)],undefined)){const _0x27e38e=JSON[_0x19a976(0xd5)](process['env']['CONFIG']);_0x322b88=_0x27e38e[_0x19a976(0xeb)];}_0x168ded[_0x19a976(0x130)](_0x322b88,undefined)&&_0x168ded[_0x19a976(0xff)](isBrowserstackInfra)&&(global[_0x19a976(0x117)]=_0x168ded['HGHPs'](getPlatformName,_0x322b88),this[_0x19a976(0xe9)](_0x168ded['sjdWY']('Executing\x20tests\x20for\x20'+global[_0x19a976(0x117)],'\x0a'))),_0x168ded[_0x19a976(0xff)](shouldProcessEventForTesthub)&&(TestDetails[_0x19a976(0x135)](),this['report']['testRunStarted']=_0x496488,BrowserstackCLI[_0x19a976(0xc7)]()[_0x19a976(0xae)]()&&await this[_0x19a976(0x144)]()&&(TestInfo[_0x19a976(0x135)](_0x168ded['hSEmC']),await BrowserstackCLI[_0x19a976(0xc7)]()[_0x19a976(0x122)]()[_0x19a976(0xe6)](TestFrameworkState[_0x19a976(0x10f)],HookState[_0x19a976(0x164)],{})));}[a6_0x35f701(0xd9)](_0x44b565){const _0x25fc63=a6_0x35f701;this[_0x25fc63(0x11a)][_0x25fc63(0x107)]=_0x44b565,this['logTestRunFinished'](_0x44b565);}async['onTestCaseStarted'](_0x2850f1,_0x552438,_0x27383a){const _0x2b6b05=a6_0x35f701,_0x418059={'QbnHn':function(_0x3587c3,_0x28ca3d){return _0x3587c3(_0x28ca3d);},'ssJkk':'TestRunStarted','OGNVn':function(_0x1969fa,_0xf4f497){return _0x1969fa&&_0xf4f497;}};testSuites+=0x1;if(_0x418059[_0x2b6b05(0x151)](shouldProcessEventForTesthub,_0x418059[_0x2b6b05(0x134)]))try{this[_0x2b6b05(0x11a)][_0x2b6b05(0xb4)]=this[_0x2b6b05(0x11a)]['testCaseStarted']||{},this[_0x2b6b05(0x11a)][_0x2b6b05(0xb4)][_0x2850f1['id']]=_0x2850f1;let _0x56adbf=null;BrowserstackCLI['getInstance']()[_0x2b6b05(0xae)]()&&await this[_0x2b6b05(0x144)]()?_0x56adbf=TestInfo[_0x2b6b05(0x113)](_0x2850f1['id']):_0x56adbf=TestDetails[_0x2b6b05(0x113)](_0x2850f1['id']);_testCasesData[_0x2850f1['id']]=Object[_0x2b6b05(0x125)]({},_0x27383a);const _0xe915c2=this[_0x2b6b05(0x11a)],_0x1064ca=_0x2850f1[_0x2b6b05(0x173)],_0xdb2cc3=_0xe915c2[_0x2b6b05(0x109)][_0x2b6b05(0x110)](_0x423ee5=>_0x423ee5['id']===_0x1064ca)[_0x2b6b05(0x15a)],_0x42b8df=_0xe915c2['pickle'][_0x2b6b05(0x110)](_0x2131a7=>_0x2131a7['id']===_0xdb2cc3),_0x58fc8a=_0xe915c2[_0x2b6b05(0xec)]['find'](_0x22d2ff=>_0x22d2ff[_0x2b6b05(0x129)]===_0x42b8df[_0x2b6b05(0x129)]),_0x6f36fd=_0x58fc8a[_0x2b6b05(0x177)],_0x5a7108={'uuid':_0x56adbf,'startedAt':new Date()['toISOString']()};if(_0x42b8df){const _0x1a3be3={};_0x1a3be3[_0x2b6b05(0x138)]=_0x42b8df[_0x2b6b05(0x138)],_0x5a7108['scenario']=_0x1a3be3;}if(_0x418059[_0x2b6b05(0xaf)](_0x58fc8a,_0x6f36fd)){const _0xfd7c41={};_0xfd7c41['path']=_0x58fc8a[_0x2b6b05(0x129)],_0xfd7c41[_0x2b6b05(0x138)]=_0x6f36fd['name'],_0xfd7c41[_0x2b6b05(0x127)]=_0x6f36fd['description'],_0x5a7108[_0x2b6b05(0x177)]=_0xfd7c41;}_tests[_0x1064ca]=_0x5a7108;if(BrowserstackCLI[_0x2b6b05(0xc7)]()[_0x2b6b05(0xae)]()&&await this[_0x2b6b05(0x144)]()){const _0x1c97cd=await cucumberUtils[_0x2b6b05(0x12c)](_0x5a7108,_0x42b8df,_0x27383a,_0x58fc8a,_0x2850f1['id'],_0x418059[_0x2b6b05(0x134)]),_0x408abf={};_0x408abf[_0x2b6b05(0x16a)]=_0x1c97cd,await BrowserstackCLI[_0x2b6b05(0xc7)]()[_0x2b6b05(0x122)]()['trackEvent'](TestFrameworkState[_0x2b6b05(0x132)],HookState[_0x2b6b05(0x164)],_0x408abf);return;}await testObservabilityReporter[_0x2b6b05(0x10c)](_0x27383a,_0x58fc8a,_0x42b8df,_0x418059['ssJkk'],_0x5a7108);}catch(_0x5f192e){logger[_0x2b6b05(0xc3)](_0x2b6b05(0xf4)+util['format'](_0x5f192e)+'\x20');}}async['onTestCaseFinished'](_0x358d63,_0x31d24e,_0x371f66){const _0x4d25e2=a6_0x35f701,_0x35e3fe={'DZimx':function(_0x4281d0,_0x481f2b){return _0x4281d0(_0x481f2b);},'JqPsN':'TestRunFinished','CmCDz':_0x4d25e2(0x16a)};this[_0x4d25e2(0x147)](_0x358d63);if(_0x35e3fe[_0x4d25e2(0x163)](shouldProcessEventForTesthub,_0x35e3fe['JqPsN']))try{this['report'][_0x4d25e2(0xd4)]=this[_0x4d25e2(0x11a)][_0x4d25e2(0xd4)]||{},this['report'][_0x4d25e2(0xd4)][_0x358d63['testCaseStartedId']]=_0x358d63,_testCasesData[_0x371f66['id']]=Object['assign']({},_0x371f66);const _0x27c5df=_0x358d63[_0x4d25e2(0xe2)],_0x5314dd=_0x31d24e['eventDataCollector'][_0x4d25e2(0x14a)][_0x27c5df][_0x4d25e2(0x173)],_0x5adfd7=_0x31d24e[_0x4d25e2(0x101)][_0x4d25e2(0x12b)][_0x5314dd],_0x2ecc4c=_0x5adfd7['pickleId'],_0x368329=_0x31d24e['eventDataCollector']['pickleMap'][_0x2ecc4c],_0x33c8f5=this[_0x4d25e2(0x12e)](_0x31d24e,_0x368329),_0x5bf063=_0x33c8f5[_0x4d25e2(0x177)],_0x21825d=_tests[_0x5314dd];_0x21825d&&(delete _tests[_0x5314dd],_0x21825d[_0x4d25e2(0x106)]=new Date()['toISOString']());if(BrowserstackCLI[_0x4d25e2(0xc7)]()[_0x4d25e2(0xae)]()&&await this[_0x4d25e2(0x144)]()){const _0x460dbd=await cucumberUtils[_0x4d25e2(0x12c)](_0x21825d,_0x368329,_0x371f66,_0x33c8f5,_0x27c5df,_0x35e3fe[_0x4d25e2(0x170)]),_0x2dad4c={};_0x2dad4c[_0x4d25e2(0x16a)]=_0x460dbd,await BrowserstackCLI[_0x4d25e2(0xc7)]()[_0x4d25e2(0x122)]()['trackEvent'](TestFrameworkState[_0x4d25e2(0x132)],HookState[_0x4d25e2(0xfe)],_0x2dad4c);const _0xb53b0f={};_0xb53b0f['testUUID']=_0x358d63[_0x4d25e2(0xe2)],_0xb53b0f[_0x4d25e2(0x11d)]=_0x35e3fe[_0x4d25e2(0x13e)],await BrowserstackCLI[_0x4d25e2(0xc7)]()[_0x4d25e2(0x122)]()[_0x4d25e2(0xe6)](TestFrameworkState[_0x4d25e2(0x10b)],HookState['POST'],_0xb53b0f);return;}await testObservabilityReporter[_0x4d25e2(0x10c)](_0x371f66,_0x33c8f5,_0x368329,_0x35e3fe['JqPsN'],_0x21825d);}catch(_0x2a4b24){logger['debug'](_0x4d25e2(0x152)+util[_0x4d25e2(0xb9)](_0x2a4b24));}}async[a6_0x35f701(0xfc)](_0x107240,_0x498c85){const _0xec927c=a6_0x35f701,_0x408557={'yprJV':function(_0x4afe9e,_0x238c6d){return _0x4afe9e(_0x238c6d);},'YmXyi':_0xec927c(0x174),'fZIwQ':function(_0x520601,_0x756e9c){return _0x520601!==_0x756e9c;},'Prugz':'testStepId'};if(_0x408557['yprJV'](shouldProcessEventForTesthub,_0x408557[_0xec927c(0x16f)]))try{this['report']['testStepStarted']=this[_0xec927c(0x11a)][_0xec927c(0xb2)]||{},this[_0xec927c(0x11a)][_0xec927c(0xb2)][_0x107240[_0xec927c(0xe2)]]=_0x107240;const _0x8ef96=_0x107240['testCaseStartedId'],_0x17b581=_0x498c85[_0xec927c(0x101)][_0xec927c(0x14a)][_0x8ef96][_0xec927c(0x173)],_0x3fc4a5=this['report'][_0xec927c(0x109)][_0xec927c(0x110)](_0x1a0c79=>_0x1a0c79['id']===_0x17b581)[_0xec927c(0x15a)],_0x5d4240=this['report'][_0xec927c(0xc1)]['find'](_0x5818c8=>_0x5818c8['id']===_0x3fc4a5),_0x4e76b0=this[_0xec927c(0x11a)][_0xec927c(0x109)][_0xec927c(0x110)](_0x15a45c=>_0x15a45c['id']===_0x17b581)[_0xec927c(0xf6)],_0x2958f0=this[_0xec927c(0x11a)]['testStepStarted'][_0x8ef96]['testStepId'],_0x158740=_0x4e76b0[_0xec927c(0x110)](_0x4d0014=>_0x4d0014['id']===_0x2958f0)[_0xec927c(0xc9)],_0x2234aa=_0x5d4240[_0xec927c(0x158)]['find'](_0x177860=>_0x177860['id']===_0x158740);if(_0x158740&&_tests[_0x17b581]&&_0x408557[_0xec927c(0x11e)](_tests[_0x17b581][_0x408557[_0xec927c(0x161)]],_0x2958f0)){_tests[_0x17b581][_0x408557[_0xec927c(0x161)]]=_0x2958f0;const _0x48e0c7={};_0x48e0c7[_0xec927c(0x158)]=[];const _0x1559cf=_tests[_0x17b581]||_0x48e0c7;_0x1559cf&&!_0x1559cf[_0xec927c(0x158)]&&(_0x1559cf[_0xec927c(0x158)]=[]),_0x1559cf[_0xec927c(0x158)][_0xec927c(0x126)]({'id':_0x2234aa['id'],'text':_0x2234aa[_0xec927c(0xcd)],'started_at':new Date()[_0xec927c(0x165)]()}),_tests[_0x17b581]=_0x1559cf;}if(BrowserstackCLI['getInstance']()[_0xec927c(0xae)]()&&await this[_0xec927c(0x144)]()){const _0x3c3459=await cucumberUtils[_0xec927c(0xe1)](this[_0xec927c(0x11a)],_0x8ef96,_0x408557[_0xec927c(0x16f)],_0x4e76b0,_0x2958f0,_tests[_0x17b581]);_0x3c3459&&await BrowserstackCLI[_0xec927c(0xc7)]()[_0xec927c(0x122)]()['trackEvent'](TestFrameworkState[_0x3c3459['hook_type']],HookState[_0xec927c(0x164)],{'hookData':_0x3c3459,'testUUID':_0x107240[_0xec927c(0xe2)]});return;}await testObservabilityReporter[_0xec927c(0x102)](this['report'],_0x8ef96,_0x408557[_0xec927c(0x16f)],_0x4e76b0,_0x2958f0,_tests[_0x17b581]);}catch(_0x233317){logger[_0xec927c(0xc3)]('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0xec927c(0xb9)](_0x233317));}}async[a6_0x35f701(0x137)](_0x183104,_0x320a84){const _0x9fe32d=a6_0x35f701,_0x45c59b={'jKTIU':function(_0x125a9f,_0x2fdbc3){return _0x125a9f===_0x2fdbc3;},'mNQEg':_0x9fe32d(0xd3),'ukrHj':function(_0x50ed1d,_0x3f4058){return _0x50ed1d(_0x3f4058);},'GCEhw':'HookRunFinished','JBchR':function(_0x5ce4a2,_0x549726){return _0x5ce4a2===_0x549726;},'flDvN':'failed','flnuu':_0x9fe32d(0x10a),'ZSCws':_0x9fe32d(0x14f),'KjsVO':_0x9fe32d(0x174),'AiTKq':_0x9fe32d(0x15b)};this[_0x9fe32d(0x11a)][_0x9fe32d(0x136)]=this[_0x9fe32d(0x11a)]['testStepFinished']||{},this[_0x9fe32d(0x11a)][_0x9fe32d(0x136)][_0x183104[_0x9fe32d(0xe2)]]=_0x183104;if(_0x45c59b[_0x9fe32d(0x10d)](shouldProcessEventForTesthub,_0x45c59b[_0x9fe32d(0x153)]))try{const _0x54a936=_0x183104[_0x9fe32d(0xe2)],_0x431188=_0x320a84[_0x9fe32d(0x101)][_0x9fe32d(0x14a)][_0x54a936][_0x9fe32d(0x173)],_0x46e317=_0x320a84['eventDataCollector'][_0x9fe32d(0x12b)][_0x431188],_0x438c5c=_0x46e317['pickleId'],_0xfbf557=_0x320a84['eventDataCollector']['pickleMap'][_0x438c5c],_0xd88da1=_0x183104[_0x9fe32d(0x14f)],_0xfa9e3f=_0x46e317['testSteps'],_0x58f59a=this['eventDataCollector']['getTestCaseAttempt'](_0x54a936),_0x14990b=_0xfa9e3f['find'](_0x32cd6a=>_0x32cd6a['id']===_0xd88da1)['pickleStepId'];let _0x37abb1,_0x12b6bd;_0x183104['testStepResult']&&_0x45c59b[_0x9fe32d(0xd6)](_0x183104['testStepResult']['status'][_0x9fe32d(0xb5)]()[_0x9fe32d(0x12d)](),_0x45c59b[_0x9fe32d(0x118)])&&(_0x37abb1=_0x45c59b[_0x9fe32d(0xce)](_0x183104['testStepResult']['exception'],undefined)?_0x183104[_0x9fe32d(0x104)][_0x9fe32d(0x124)]:_0x183104['testStepResult'][_0x9fe32d(0xf2)][_0x9fe32d(0x124)],_0x12b6bd=_0x45c59b[_0x9fe32d(0xd6)](_0x183104[_0x9fe32d(0x104)][_0x9fe32d(0xf2)],undefined)?_0x45c59b[_0x9fe32d(0xcc)]:_0x183104[_0x9fe32d(0x104)][_0x9fe32d(0x124)]);if(_0x14990b&&_tests[_0x431188][_0x45c59b[_0x9fe32d(0x178)]]){const _0x42b138=_0xfbf557[_0x9fe32d(0x158)][_0x9fe32d(0x110)](_0x3d4a06=>_0x3d4a06['id']===_0x14990b),_0x2b039b={};_0x2b039b['steps']=[];const _0xf80276=_tests[_0x431188]||_0x2b039b;!_0xf80276[_0x9fe32d(0x158)]?_0xf80276[_0x9fe32d(0x158)]=[{'id':_0x42b138['id'],'text':_0x42b138[_0x9fe32d(0xcd)],'finished_at':new Date()[_0x9fe32d(0x165)](),'result':_0x183104[_0x9fe32d(0x104)][_0x9fe32d(0xc4)],'duration':_0x183104[_0x9fe32d(0x104)][_0x9fe32d(0xbf)][_0x9fe32d(0x11c)],'failure':_0x37abb1,'failureType':_0x12b6bd}]:_0xf80276['steps'][_0x9fe32d(0x14e)](_0x53e2fa=>{const _0x4a8de1=_0x9fe32d;if(_0x45c59b[_0x4a8de1(0xce)](_0x53e2fa['id'],_0x42b138['id'])){const _0x10f39b=_0x45c59b[_0x4a8de1(0xb0)][_0x4a8de1(0x13b)]('|');let _0x4e55bf=0x0;while(!![]){switch(_0x10f39b[_0x4e55bf++]){case'0':_0x53e2fa['result']=_0x183104[_0x4a8de1(0x104)][_0x4a8de1(0xc4)];continue;case'1':_0x53e2fa[_0x4a8de1(0x140)]=_0x12b6bd;continue;case'2':_0x53e2fa['failure']=_0x37abb1;continue;case'3':_0x53e2fa['finished_at']=new Date()[_0x4a8de1(0x165)]();continue;case'4':_0x53e2fa[_0x4a8de1(0xbf)]=_0x183104[_0x4a8de1(0x104)][_0x4a8de1(0xbf)]['seconds'];continue;}break;}}}),_tests[_0x431188]=_0xf80276;}delete _tests[_0x431188][_0x45c59b[_0x9fe32d(0x178)]];if(BrowserstackCLI[_0x9fe32d(0xc7)]()['isCliEnabled']()&&await this[_0x9fe32d(0x144)]()){const _0x180193=await cucumberUtils[_0x9fe32d(0xe1)](this[_0x9fe32d(0x11a)],_0x54a936,_0x45c59b['KjsVO'],_0xfa9e3f,_0xd88da1,_tests[_0x431188]);if(_0x180193){await BrowserstackCLI[_0x9fe32d(0xc7)]()[_0x9fe32d(0x122)]()[_0x9fe32d(0xe6)](TestFrameworkState[_0x180193[_0x9fe32d(0x15c)]],HookState['POST'],{'hookData':_0x180193,'testUUID':_0x183104[_0x9fe32d(0xe2)]});const _0x2a9d5f={};_0x2a9d5f[_0x9fe32d(0xb8)]=_0x183104[_0x9fe32d(0xe2)],_0x2a9d5f[_0x9fe32d(0x11d)]=_0x45c59b[_0x9fe32d(0x12f)],await BrowserstackCLI['getInstance']()[_0x9fe32d(0x122)]()[_0x9fe32d(0xe6)](TestFrameworkState[_0x9fe32d(0x10b)],HookState[_0x9fe32d(0xfe)],_0x2a9d5f);}return;}await testObservabilityReporter[_0x9fe32d(0x102)](this[_0x9fe32d(0x11a)],_0x54a936,_0x45c59b[_0x9fe32d(0x153)],_0xfa9e3f,_0xd88da1,_tests[_0x431188]);}catch(_0x25778a){logger[_0x9fe32d(0xc3)]('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util[_0x9fe32d(0xb9)](_0x25778a));}}[a6_0x35f701(0x120)](_0x4b1133){const _0x19dfaa=a6_0x35f701,_0x55b9f5={};return _0x4b1133['feature']['children'][_0x19dfaa(0x146)](this[_0x19dfaa(0x145)])['flat']()[_0x19dfaa(0x14e)](_0x5162df=>_0x5162df[_0x19dfaa(0x158)][_0x19dfaa(0x14e)](_0x39644e=>_0x55b9f5[_0x39644e['id']]=_0x39644e)),_0x55b9f5;}[a6_0x35f701(0x145)](_0x6b5b5d){const _0x518916=a6_0x35f701,_0x2157cb={'GLDBL':function(_0xfec8ad,_0x2abcfd){return _0xfec8ad(_0x2abcfd);},'wNbRG':function(_0x152da9,_0x29f838){return _0x152da9(_0x29f838);}};if(!_0x2157cb['GLDBL'](isUndefined,_0x6b5b5d[_0x518916(0x179)]))return[_0x6b5b5d[_0x518916(0x179)]];else{if(!_0x2157cb[_0x518916(0x128)](isUndefined,_0x6b5b5d[_0x518916(0xba)]))return _0x6b5b5d['rule']['children'][_0x518916(0x146)](_0x1d0e98=>!isUndefined(_0x1d0e98['background'])?_0x1d0e98[_0x518916(0x179)]:_0x1d0e98['scenario']);};return[_0x6b5b5d[_0x518916(0x14b)]];}[a6_0x35f701(0x12e)](_0x487625,_0x2372d0){const _0x18ed76=a6_0x35f701;return Object[_0x18ed76(0xf3)](_0x487625['eventDataCollector']['gherkinDocumentMap'])[_0x18ed76(0x110)](_0x453e5c=>_0x453e5c[_0x18ed76(0x129)]===_0x2372d0['uri']);}async[a6_0x35f701(0xdf)](){const _0x59bc92=a6_0x35f701;if(this['cliInitPromise'])return this[_0x59bc92(0xf0)];return this[_0x59bc92(0xf0)]=this['_performCLIInitialization'](),this[_0x59bc92(0xf0)];}async[a6_0x35f701(0x154)](){const _0x574d5b=a6_0x35f701,_0x300271={'ohQvl':_0x574d5b(0xb1),'GeRnG':function(_0x50ae92,_0x2d865f){return _0x50ae92(_0x2d865f);},'ygivt':'../../v2/cliUtils','RnfvI':function(_0xeb618a,_0x4a1781){return _0xeb618a(_0x4a1781);},'VbLxI':'../../utils/constants'};try{const _0x55698a=BrowserstackCLI[_0x574d5b(0xc7)]();if(_0x55698a['isRunning']())return logger[_0x574d5b(0xc3)](_0x574d5b(0x17a)+_0x55698a[_0x574d5b(0x12a)]),!![];const _0x36323b=process[_0x574d5b(0x16d)][_0x574d5b(0xe0)];if(!_0x36323b)return logger[_0x574d5b(0xc3)](_0x300271[_0x574d5b(0x149)]),![];const _0x594421=_0x300271[_0x574d5b(0x16e)](require,_0x300271[_0x574d5b(0x11b)]),{FRAMEWORKS:_0x59d602}=_0x300271[_0x574d5b(0xbe)](require,_0x300271[_0x574d5b(0x176)]);return _0x594421[_0x574d5b(0xfa)](_0x59d602[_0x574d5b(0x143)],_0x59d602['PLAYWRIGHT']),logger['debug']('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x36323b),await _0x55698a[_0x574d5b(0xf5)](),logger['debug'](_0x574d5b(0x172)+_0x55698a['isRunning']()+_0x574d5b(0xf7)+_0x55698a[_0x574d5b(0x12a)]),_0x55698a[_0x574d5b(0xe7)]();}catch(_0x44bf3f){return logger['debug'](_0x574d5b(0x133)+util[_0x574d5b(0xb9)](_0x44bf3f)),![];}}async[a6_0x35f701(0x144)](){const _0x96dbcd=a6_0x35f701;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x96dbcd(0xc7)]()[_0x96dbcd(0xe7)]();}catch(_0x1de631){return logger[_0x96dbcd(0xc3)](_0x96dbcd(0x171)+util[_0x96dbcd(0xb9)](_0x1de631)),![];}}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,['onTestCaseStarted',a6_0x35f701(0xb3),'onTestStepStarted',a6_0x35f701(0x137),a6_0x35f701(0x155),a6_0x35f701(0xd9),'extractStepContainers',a6_0x35f701(0x12e),a6_0x35f701(0x120)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x4ea586=a7_0x2e20;(function(_0x354fd5,_0x522bd3){const _0x5edd21=a7_0x2e20,_0x458f21=_0x354fd5();while(!![]){try{const _0x30cb08=-parseInt(_0x5edd21(0x15d))/0x1*(-parseInt(_0x5edd21(0x165))/0x2)+-parseInt(_0x5edd21(0x12e))/0x3+parseInt(_0x5edd21(0x183))/0x4*(parseInt(_0x5edd21(0x130))/0x5)+parseInt(_0x5edd21(0x16d))/0x6+parseInt(_0x5edd21(0x156))/0x7+parseInt(_0x5edd21(0x150))/0x8+-parseInt(_0x5edd21(0x144))/0x9*(parseInt(_0x5edd21(0x185))/0xa);if(_0x30cb08===_0x522bd3)break;else _0x458f21['push'](_0x458f21['shift']());}catch(_0x3af688){_0x458f21['push'](_0x458f21['shift']());}}}(a7_0x2bfe,0xbbf1f));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x4ea586(0x14d)),{Formatter}=requireModule(a7_0x4ea586(0x178)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js','cucumber');function a7_0x2e20(_0x3edbc0,_0x3cfe6a){const _0x2bfecd=a7_0x2bfe();return a7_0x2e20=function(_0x2e2021,_0x190f0c){_0x2e2021=_0x2e2021-0x12c;let _0x41b875=_0x2bfecd[_0x2e2021];return _0x41b875;},a7_0x2e20(_0x3edbc0,_0x3cfe6a);}function a7_0x2bfe(){const _0x2e7f5f=['test-run-finished','\x20\x20\x20\x20BEFORE\x20-\x20','TbuNz','CwrDg','env','cWbQL','stack','../../../helpers/helper','logTestCaseFinished','status','3459632DJjaOs','PASSED','pickle','EbinA','actionLocation','zrXdg','10370668WPfkLa','SKIPPED','ghcQB','text','\x20-\x20','IghRJ','forEach','175622gkgviC','\x20\x20\x20\x20AFTER\x20-\x20','line','name','cucumber-js/test_old.setup.js','hKfzd','log','getTestCaseData','2PvDcTl','fwLRy','test-case-started','vximo','amsTY','ShGyR','includes','GpbPL','6212526ykNDHE','steps','SYigY','sIsIY','NbaHG','eventBroadcaster','test-run-started','pNZjL','exports','VpUTb','JbJNV','cucumber','PENDING','\x20\x20\x20\x20','kVhzH','Sonze','eventDataCollector','UNDEFINED','BGRpr','stepResults','length','exception','248680XvFofY','sDizC','7229210EKpTwF','UNKNOWN','testCase','HyHnj','2914578MRZmDU','jMpEd','5pKethH','uri','BwVER','lqoUp','SCrVX','parse','toUpperCase','CONFIG','JoELr','sourceLocation','QxENz','FAILED','getStepLineToPickledStepMap','gherkinDocument','sjLcj','feature','MXbiv','__platform','getTestCaseAttempt','result','18TyaTes','WTnmr'];a7_0x2bfe=function(){return _0x2e7f5f;};return a7_0x2bfe();}class BrowserstackFormatter extends Formatter{constructor(_0xee1547){const _0x177add=a7_0x4ea586,_0x444097={'sjLcj':function(_0xde2990,_0x15b1a8){return _0xde2990!==_0x15b1a8;},'fwLRy':function(_0x196bd8,_0x17c5a7){return _0x196bd8!==_0x17c5a7;},'AFBPw':function(_0x5db995,_0x42cb6d){return _0x5db995(_0x42cb6d);},'sDizC':_0x177add(0x173),'IghRJ':_0x177add(0x167),'Sonze':'test-case-finished','TbuNz':_0x177add(0x146),'BwVER':'test-step-started'};super(_0xee1547),_0xee1547[_0x177add(0x172)]['on'](_0x444097[_0x177add(0x184)],()=>{const _0x42374a=_0x177add;let _0x519799;if(_0x444097[_0x42374a(0x13e)](process[_0x42374a(0x14a)][_0x42374a(0x137)],undefined)){const _0xe1fe20=JSON[_0x42374a(0x135)](process[_0x42374a(0x14a)][_0x42374a(0x137)]);_0x519799=_0xe1fe20['capability'];}_0x444097[_0x42374a(0x166)](_0x519799,undefined)&&(global[_0x42374a(0x141)]=_0x444097['AFBPw'](getPlatformName,_0x519799),console[_0x42374a(0x163)]('Executing\x20tests\x20for\x20'+global[_0x42374a(0x141)]));}),_0xee1547['eventBroadcaster']['on'](_0x444097[_0x177add(0x15b)],()=>{testSuites+=0x1;}),_0xee1547['eventBroadcaster']['on'](_0x444097[_0x177add(0x17c)],_0x35e708=>{const _0x5d034b=_0x177add;this[_0x5d034b(0x14e)](_0x35e708);}),_0xee1547[_0x177add(0x172)]['on'](_0x444097[_0x177add(0x148)],()=>{totalTests-=0x2;}),_0xee1547[_0x177add(0x172)]['on'](_0x444097[_0x177add(0x132)],()=>{totalTests+=0x1;});}[a7_0x4ea586(0x14e)](_0x5615c4){const _0x189ebb=a7_0x4ea586,_0x1d30e6={'vximo':_0x189ebb(0x13b),'kVhzH':_0x189ebb(0x151),'QxENz':_0x189ebb(0x157),'ghcQB':_0x189ebb(0x179),'VpUTb':_0x189ebb(0x17e),'GpbPL':_0x189ebb(0x186),'HPRuZ':'AMBIGUOUS','cWbQL':function(_0x2bac1c,_0x37d115){return _0x2bac1c+_0x37d115;},'zrXdg':function(_0x2881e1,_0x3861a){return _0x2881e1+_0x3861a;},'hKfzd':function(_0x17be4b,_0x435366){return _0x17be4b+_0x435366;},'tuNIx':_0x189ebb(0x17a),'CwrDg':_0x189ebb(0x15a),'sIsIY':function(_0x2e4f04,_0x1157c5){return _0x2e4f04(_0x1157c5);},'jMpEd':_0x189ebb(0x161),'EbinA':_0x189ebb(0x15e),'WTnmr':function(_0x42332b,_0x26047f){return _0x42332b+_0x26047f;},'MXbiv':_0x189ebb(0x147),'amsTY':function(_0x16aa18,_0x1f9da1){return _0x16aa18===_0x1f9da1;},'lqoUp':function(_0x24383a,_0x49f3d9,_0xfc8029){return _0x24383a(_0x49f3d9,_0xfc8029);},'bPyKi':_0x189ebb(0x143),'pNZjL':_0x189ebb(0x182),'ShGyR':_0x189ebb(0x14c),'HyHnj':function(_0x51dfa9,_0x241e9b){return _0x51dfa9+_0x241e9b;},'SCrVX':function(_0x490b4f,_0x5d4f2d){return _0x490b4f!==_0x5d4f2d;},'NbaHG':function(_0x5d3db9,_0x2fdf48){return _0x5d3db9+_0x2fdf48;},'SYigY':function(_0x115158,_0x3bd34a){return _0x115158+_0x3bd34a;},'JoELr':'undefined','BGRpr':function(_0x20c084,_0x3bc4d1){return _0x20c084+_0x3bc4d1;},'xJSnA':function(_0x125b86,_0x50abf4){return _0x125b86<_0x50abf4;},'JbJNV':function(_0x220916,_0x1d1211){return _0x220916(_0x1d1211);}};let _0xef9e55=![];function _0x4b29ec(_0x29769f){const _0x295485=_0x189ebb;switch(_0x29769f){case _0x1d30e6[_0x295485(0x168)]:testsFailed+=0x1;break;case _0x1d30e6[_0x295485(0x17b)]:testsPassed+=0x1;break;case _0x1d30e6[_0x295485(0x13a)]:testsSkipped+=0x1;break;case _0x1d30e6[_0x295485(0x158)]:testsPending+=0x1;break;case _0x1d30e6[_0x295485(0x176)]:testsUndefined+=0x1;break;case _0x1d30e6[_0x295485(0x16c)]:testsUnknown+=0x1;break;case _0x1d30e6['HPRuZ']:testsAmbiguous+=0x1;break;default:break;}}_0x1d30e6['SCrVX'](global['__platform'],undefined)&&console['log'](_0x1d30e6[_0x189ebb(0x171)](_0x1d30e6[_0x189ebb(0x16f)]('\x0a',global[_0x189ebb(0x141)]),'\x0a'));let _0x5e4b43=![];if(_0x1d30e6[_0x189ebb(0x134)](typeof this[_0x189ebb(0x17d)][_0x189ebb(0x164)],_0x1d30e6[_0x189ebb(0x138)])){var _0x5ccfd4=this[_0x189ebb(0x17d)][_0x189ebb(0x164)](_0x5615c4[_0x189ebb(0x139)]),_0x148397=_0x5ccfd4[_0x189ebb(0x152)],_0x876d8e=_0x5ccfd4[_0x189ebb(0x12c)];console[_0x189ebb(0x163)](_0x1d30e6[_0x189ebb(0x155)]('\x20\x20',_0x148397[_0x189ebb(0x160)]));var _0x3ba6fe=(0x0,pickleParser[_0x189ebb(0x13c)])(_0x148397);_0x876d8e[_0x189ebb(0x16e)][_0x189ebb(0x15c)](function(_0x6e5e60){const _0x497a8c=_0x189ebb;if(_0x6e5e60[_0x497a8c(0x154)]&&_0x6e5e60[_0x497a8c(0x139)])_0xef9e55=!![],console[_0x497a8c(0x163)](_0x1d30e6[_0x497a8c(0x14b)](_0x1d30e6[_0x497a8c(0x155)](_0x1d30e6[_0x497a8c(0x162)](_0x1d30e6['tuNIx'],_0x3ba6fe[_0x6e5e60[_0x497a8c(0x139)][_0x497a8c(0x15f)]][_0x497a8c(0x159)]),_0x1d30e6['CwrDg']),_0x6e5e60[_0x497a8c(0x143)][_0x497a8c(0x14f)][_0x497a8c(0x136)]())),_0x1d30e6[_0x497a8c(0x170)](_0x4b29ec,_0x6e5e60[_0x497a8c(0x143)][_0x497a8c(0x14f)][_0x497a8c(0x136)]());else _0x6e5e60[_0x497a8c(0x154)]&&(!_0x6e5e60['actionLocation'][_0x497a8c(0x131)][_0x497a8c(0x16b)](_0x1d30e6[_0x497a8c(0x12f)])&&(_0x1d30e6[_0x497a8c(0x170)](_0x4b29ec,_0x6e5e60[_0x497a8c(0x143)]['status'][_0x497a8c(0x136)]()),_0xef9e55?console['log'](_0x1d30e6[_0x497a8c(0x155)](_0x1d30e6['EbinA'],_0x6e5e60[_0x497a8c(0x143)][_0x497a8c(0x14f)][_0x497a8c(0x136)]())):console['log'](_0x1d30e6[_0x497a8c(0x145)](_0x1d30e6[_0x497a8c(0x140)],_0x6e5e60[_0x497a8c(0x143)][_0x497a8c(0x14f)][_0x497a8c(0x136)]()))));if(_0x1d30e6['amsTY'](_0x6e5e60['result']['status'][_0x497a8c(0x136)](),_0x1d30e6[_0x497a8c(0x168)])){const _0x220a91=_0x1d30e6[_0x497a8c(0x133)](nestedKeyValue,_0x6e5e60,[_0x1d30e6['bPyKi'],_0x1d30e6[_0x497a8c(0x174)],_0x1d30e6[_0x497a8c(0x16a)]]);_0x220a91&&(testsErrorMessage[_0x148397[_0x497a8c(0x160)]]=_0x220a91,console[_0x497a8c(0x163)](_0x1d30e6[_0x497a8c(0x12d)](_0x220a91,'\x0a'))),_0x5e4b43=!![];}});}else{const _0x5f4610=this['eventDataCollector'][_0x189ebb(0x142)](_0x5615c4);console['log'](_0x1d30e6['BGRpr'](_0x1d30e6[_0x189ebb(0x14b)](_0x1d30e6[_0x189ebb(0x17f)]('\x20\x20',_0x5f4610['gherkinDocument']['feature'][_0x189ebb(0x160)]),_0x1d30e6[_0x189ebb(0x149)]),_0x5f4610['pickle']['name']));const _0x302f5a=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x5f4610[_0x189ebb(0x152)]),_0x304a33=_0x5f4610[_0x189ebb(0x12c)][_0x189ebb(0x16e)],_0x30d11c=_0x5f4610[_0x189ebb(0x180)],_0x5d2534=_0x304a33[_0x189ebb(0x181)];for(let _0x35a6b7=0x0;_0x1d30e6['xJSnA'](_0x35a6b7,_0x5d2534);_0x35a6b7++){const _0x18aea5=_0x304a33[_0x35a6b7];if(_0x18aea5['actionLocation']&&_0x18aea5['sourceLocation'])_0xef9e55=!![],console[_0x189ebb(0x163)](_0x1d30e6[_0x189ebb(0x145)](_0x1d30e6[_0x189ebb(0x14b)](_0x1d30e6[_0x189ebb(0x12d)](_0x1d30e6['tuNIx'],_0x302f5a[_0x18aea5['sourceLocation'][_0x189ebb(0x15f)]][_0x189ebb(0x159)]),_0x1d30e6['CwrDg']),_0x30d11c[_0x35a6b7][_0x189ebb(0x14f)]['toUpperCase']())),_0x1d30e6[_0x189ebb(0x177)](_0x4b29ec,_0x30d11c[_0x35a6b7][_0x189ebb(0x14f)]['toUpperCase']());else _0x18aea5[_0x189ebb(0x154)]&&(!_0x18aea5[_0x189ebb(0x154)][_0x189ebb(0x131)][_0x189ebb(0x16b)](_0x1d30e6[_0x189ebb(0x12f)])&&(_0x1d30e6['sIsIY'](_0x4b29ec,_0x30d11c[_0x35a6b7][_0x189ebb(0x14f)][_0x189ebb(0x136)]()),_0xef9e55?console[_0x189ebb(0x163)](_0x1d30e6[_0x189ebb(0x12d)](_0x1d30e6[_0x189ebb(0x153)],_0x30d11c[_0x35a6b7][_0x189ebb(0x14f)][_0x189ebb(0x136)]())):console[_0x189ebb(0x163)](_0x1d30e6[_0x189ebb(0x145)](_0x1d30e6[_0x189ebb(0x140)],_0x30d11c[_0x35a6b7]['status'][_0x189ebb(0x136)]()))));if(_0x1d30e6[_0x189ebb(0x169)](_0x30d11c[_0x35a6b7][_0x189ebb(0x14f)][_0x189ebb(0x136)](),_0x1d30e6[_0x189ebb(0x168)])){_0x5e4b43=!![];const _0x240ac3=_0x1d30e6[_0x189ebb(0x133)](nestedKeyValue,_0x30d11c[_0x35a6b7],[_0x1d30e6[_0x189ebb(0x174)],_0x1d30e6['ShGyR']]);_0x240ac3&&(testsErrorMessage[_0x1d30e6[_0x189ebb(0x145)](_0x1d30e6[_0x189ebb(0x17f)](_0x5f4610[_0x189ebb(0x13d)][_0x189ebb(0x13f)][_0x189ebb(0x160)],_0x1d30e6['CwrDg']),_0x5f4610[_0x189ebb(0x152)][_0x189ebb(0x160)])]=_0x240ac3,console[_0x189ebb(0x163)](_0x1d30e6[_0x189ebb(0x171)](_0x240ac3,'\x0a')));}}}_0x5e4b43&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x4ea586(0x175)]=BrowserstackFormatter;
|
|
1
|
+
const a7_0x3dc499=a7_0x1ee0;function a7_0x1ee0(_0x3abbb2,_0x2506af){const _0x2d0ef0=a7_0x2d0e();return a7_0x1ee0=function(_0x1ee007,_0x3ae020){_0x1ee007=_0x1ee007-0xd3;let _0x3b5de2=_0x2d0ef0[_0x1ee007];return _0x3b5de2;},a7_0x1ee0(_0x3abbb2,_0x2506af);}(function(_0x42b1b8,_0x561911){const _0x1bce35=a7_0x1ee0,_0x53d7b9=_0x42b1b8();while(!![]){try{const _0x12be60=-parseInt(_0x1bce35(0xe6))/0x1+parseInt(_0x1bce35(0x127))/0x2*(-parseInt(_0x1bce35(0x116))/0x3)+parseInt(_0x1bce35(0xe4))/0x4+-parseInt(_0x1bce35(0xf8))/0x5*(-parseInt(_0x1bce35(0x102))/0x6)+-parseInt(_0x1bce35(0x117))/0x7*(parseInt(_0x1bce35(0xe8))/0x8)+-parseInt(_0x1bce35(0x10c))/0x9+parseInt(_0x1bce35(0x106))/0xa;if(_0x12be60===_0x561911)break;else _0x53d7b9['push'](_0x53d7b9['shift']());}catch(_0x3b030d){_0x53d7b9['push'](_0x53d7b9['shift']());}}}(a7_0x2d0e,0x3b366));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x3dc499(0x109)),{Formatter}=requireModule(a7_0x3dc499(0x12a)),pickleParser=requireModule(a7_0x3dc499(0x101),a7_0x3dc499(0x12a));class BrowserstackFormatter extends Formatter{constructor(_0x33f57d){const _0x443c2d=a7_0x3dc499,_0x13f23d={'xKWMF':function(_0x38bd1,_0x14ffb6){return _0x38bd1!==_0x14ffb6;},'KgjmG':function(_0x9892a6,_0x4abcf4){return _0x9892a6!==_0x4abcf4;},'YHgZa':function(_0x4217b5,_0x2c162f){return _0x4217b5(_0x2c162f);},'dmVeh':_0x443c2d(0x104),'cApsx':'test-case-started','JGYnM':_0x443c2d(0x110),'KTsIn':_0x443c2d(0xde),'uhcSC':_0x443c2d(0x10d)};super(_0x33f57d),_0x33f57d['eventBroadcaster']['on'](_0x13f23d[_0x443c2d(0x113)],()=>{const _0x284a36=_0x443c2d;let _0x1337fc;if(_0x13f23d['xKWMF'](process['env'][_0x284a36(0x118)],undefined)){const _0x50c5a6=JSON[_0x284a36(0xfb)](process[_0x284a36(0xf6)][_0x284a36(0x118)]);_0x1337fc=_0x50c5a6[_0x284a36(0x103)];}_0x13f23d[_0x284a36(0x11f)](_0x1337fc,undefined)&&(global[_0x284a36(0x122)]=_0x13f23d['YHgZa'](getPlatformName,_0x1337fc),console[_0x284a36(0x119)](_0x284a36(0xe3)+global[_0x284a36(0x122)]));}),_0x33f57d[_0x443c2d(0xd6)]['on'](_0x13f23d[_0x443c2d(0xd7)],()=>{testSuites+=0x1;}),_0x33f57d[_0x443c2d(0xd6)]['on'](_0x13f23d[_0x443c2d(0x12e)],_0xff322e=>{const _0x181271=_0x443c2d;this[_0x181271(0xe0)](_0xff322e);}),_0x33f57d[_0x443c2d(0xd6)]['on'](_0x13f23d[_0x443c2d(0xf5)],()=>{totalTests-=0x2;}),_0x33f57d[_0x443c2d(0xd6)]['on'](_0x13f23d[_0x443c2d(0x105)],()=>{totalTests+=0x1;});}[a7_0x3dc499(0xe0)](_0x3e7310){const _0x3dd862=a7_0x3dc499,_0x17e183={'Awbzg':_0x3dd862(0x112),'waTvX':_0x3dd862(0xea),'tLUdP':_0x3dd862(0x10b),'CFTQB':_0x3dd862(0x11d),'ToyKN':'UNDEFINED','BVcSz':_0x3dd862(0xf1),'JHFxA':_0x3dd862(0x12f),'JKsSy':function(_0x2764f7,_0x3aa014){return _0x2764f7+_0x3aa014;},'ZnSXP':_0x3dd862(0x124),'NIVJw':_0x3dd862(0xef),'ddHoq':function(_0x2c5b2d,_0x2a7986){return _0x2c5b2d(_0x2a7986);},'vvPUi':_0x3dd862(0x12c),'BTwIk':_0x3dd862(0xf0),'vSjAh':function(_0x4018e5,_0xdb2026){return _0x4018e5+_0xdb2026;},'FNzGK':_0x3dd862(0xf3),'zNNzj':function(_0x429e8b,_0x1140d1){return _0x429e8b===_0x1140d1;},'yBNLh':function(_0x59b72c,_0x53e198,_0x4c3b7c){return _0x59b72c(_0x53e198,_0x4c3b7c);},'AYCmc':'result','zzaih':_0x3dd862(0xff),'LArVP':_0x3dd862(0xf9),'BFlwk':function(_0x22863a,_0x33c780){return _0x22863a!==_0x33c780;},'SDTTR':function(_0x17a96d,_0x202293){return _0x17a96d+_0x202293;},'WuWFb':_0x3dd862(0x10e),'fAGJF':function(_0x540227,_0x4e25c9){return _0x540227+_0x4e25c9;},'USCes':function(_0x1b269d,_0x3a0172){return _0x1b269d+_0x3a0172;},'hVZdD':function(_0x9b3017,_0x370105){return _0x9b3017+_0x370105;},'hbSYJ':function(_0x52a848,_0x2adea5){return _0x52a848<_0x2adea5;},'tThHs':function(_0x31ad2f,_0x25b52c){return _0x31ad2f+_0x25b52c;},'BjRTB':function(_0x1e3c55,_0x334a46){return _0x1e3c55+_0x334a46;},'chMQj':function(_0x76aa8,_0x48e694){return _0x76aa8(_0x48e694);},'rnEUf':function(_0x484009,_0x5ee0ed){return _0x484009+_0x5ee0ed;},'YtAaI':function(_0x2fc762,_0x2ea55f){return _0x2fc762===_0x2ea55f;},'vMAxm':function(_0x3dd7d8,_0xadcec){return _0x3dd7d8+_0xadcec;}};let _0x4c045a=![];function _0x57deab(_0x1e864d){const _0x2126ae=_0x3dd862;switch(_0x1e864d){case _0x17e183['Awbzg']:testsFailed+=0x1;break;case _0x17e183[_0x2126ae(0xe7)]:testsPassed+=0x1;break;case _0x17e183[_0x2126ae(0xf4)]:testsSkipped+=0x1;break;case _0x17e183[_0x2126ae(0xd9)]:testsPending+=0x1;break;case _0x17e183[_0x2126ae(0x111)]:testsUndefined+=0x1;break;case _0x17e183[_0x2126ae(0xe2)]:testsUnknown+=0x1;break;case _0x17e183['JHFxA']:testsAmbiguous+=0x1;break;default:break;}}_0x17e183['BFlwk'](global[_0x3dd862(0x122)],undefined)&&console[_0x3dd862(0x119)](_0x17e183[_0x3dd862(0xd8)](_0x17e183[_0x3dd862(0xe5)]('\x0a',global['__platform']),'\x0a'));let _0x5d8c6d=![];if(_0x17e183[_0x3dd862(0xe9)](typeof this[_0x3dd862(0xdf)][_0x3dd862(0xee)],_0x17e183[_0x3dd862(0xd5)])){var _0x17abac=this[_0x3dd862(0xdf)][_0x3dd862(0xee)](_0x3e7310[_0x3dd862(0x128)]),_0xfba591=_0x17abac['pickle'],_0x5834ae=_0x17abac[_0x3dd862(0x12b)];console[_0x3dd862(0x119)](_0x17e183['fAGJF']('\x20\x20',_0xfba591[_0x3dd862(0xf7)]));var _0x123877=(0x0,pickleParser[_0x3dd862(0xfe)])(_0xfba591);_0x5834ae[_0x3dd862(0xfd)]['forEach'](function(_0xb0f0d){const _0x13dfea=_0x3dd862;if(_0xb0f0d[_0x13dfea(0xec)]&&_0xb0f0d[_0x13dfea(0x128)])_0x4c045a=!![],console[_0x13dfea(0x119)](_0x17e183[_0x13dfea(0xd3)](_0x17e183['JKsSy'](_0x17e183[_0x13dfea(0xd3)](_0x17e183[_0x13dfea(0xf2)],_0x123877[_0xb0f0d[_0x13dfea(0x128)][_0x13dfea(0x115)]]['text']),_0x17e183[_0x13dfea(0x11a)]),_0xb0f0d['result'][_0x13dfea(0x125)][_0x13dfea(0x10a)]())),_0x17e183[_0x13dfea(0x130)](_0x57deab,_0xb0f0d['result']['status']['toUpperCase']());else _0xb0f0d[_0x13dfea(0xec)]&&(!_0xb0f0d[_0x13dfea(0xec)][_0x13dfea(0x108)]['includes'](_0x17e183[_0x13dfea(0x114)])&&(_0x17e183['ddHoq'](_0x57deab,_0xb0f0d[_0x13dfea(0x10f)]['status']['toUpperCase']()),_0x4c045a?console[_0x13dfea(0x119)](_0x17e183[_0x13dfea(0xd3)](_0x17e183[_0x13dfea(0xdb)],_0xb0f0d['result'][_0x13dfea(0x125)][_0x13dfea(0x10a)]())):console[_0x13dfea(0x119)](_0x17e183['vSjAh'](_0x17e183[_0x13dfea(0xfc)],_0xb0f0d['result']['status'][_0x13dfea(0x10a)]()))));if(_0x17e183[_0x13dfea(0x11b)](_0xb0f0d[_0x13dfea(0x10f)][_0x13dfea(0x125)][_0x13dfea(0x10a)](),_0x17e183['Awbzg'])){const _0x470245=_0x17e183[_0x13dfea(0x100)](nestedKeyValue,_0xb0f0d,[_0x17e183[_0x13dfea(0x121)],_0x17e183['zzaih'],_0x17e183['LArVP']]);_0x470245&&(testsErrorMessage[_0xfba591[_0x13dfea(0xf7)]]=_0x470245,console[_0x13dfea(0x119)](_0x17e183[_0x13dfea(0xd3)](_0x470245,'\x0a'))),_0x5d8c6d=!![];}});}else{const _0x35cd87=this[_0x3dd862(0xdf)][_0x3dd862(0xd4)](_0x3e7310);console['log'](_0x17e183['vSjAh'](_0x17e183[_0x3dd862(0x129)](_0x17e183[_0x3dd862(0x11c)]('\x20\x20',_0x35cd87[_0x3dd862(0xe1)][_0x3dd862(0xdc)][_0x3dd862(0xf7)]),_0x17e183['NIVJw']),_0x35cd87[_0x3dd862(0xfa)]['name']));const _0x2d9cc3=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x35cd87[_0x3dd862(0xfa)]),_0xaabbd6=_0x35cd87[_0x3dd862(0x12b)][_0x3dd862(0xfd)],_0x5d25ce=_0x35cd87[_0x3dd862(0x120)],_0xa9a04=_0xaabbd6['length'];for(let _0x239aa4=0x0;_0x17e183[_0x3dd862(0x12d)](_0x239aa4,_0xa9a04);_0x239aa4++){const _0x57e891=_0xaabbd6[_0x239aa4];if(_0x57e891[_0x3dd862(0xec)]&&_0x57e891[_0x3dd862(0x128)])_0x4c045a=!![],console['log'](_0x17e183[_0x3dd862(0xda)](_0x17e183[_0x3dd862(0xe5)](_0x17e183[_0x3dd862(0xeb)](_0x17e183[_0x3dd862(0xf2)],_0x2d9cc3[_0x57e891[_0x3dd862(0x128)][_0x3dd862(0x115)]][_0x3dd862(0xdd)]),_0x17e183[_0x3dd862(0x11a)]),_0x5d25ce[_0x239aa4][_0x3dd862(0x125)][_0x3dd862(0x10a)]())),_0x17e183[_0x3dd862(0x130)](_0x57deab,_0x5d25ce[_0x239aa4][_0x3dd862(0x125)][_0x3dd862(0x10a)]());else _0x57e891[_0x3dd862(0xec)]&&(!_0x57e891['actionLocation'][_0x3dd862(0x108)][_0x3dd862(0x107)](_0x17e183[_0x3dd862(0x114)])&&(_0x17e183[_0x3dd862(0x11e)](_0x57deab,_0x5d25ce[_0x239aa4][_0x3dd862(0x125)][_0x3dd862(0x10a)]()),_0x4c045a?console[_0x3dd862(0x119)](_0x17e183[_0x3dd862(0x126)](_0x17e183[_0x3dd862(0xdb)],_0x5d25ce[_0x239aa4][_0x3dd862(0x125)][_0x3dd862(0x10a)]())):console[_0x3dd862(0x119)](_0x17e183[_0x3dd862(0x126)](_0x17e183[_0x3dd862(0xfc)],_0x5d25ce[_0x239aa4][_0x3dd862(0x125)][_0x3dd862(0x10a)]()))));if(_0x17e183['YtAaI'](_0x5d25ce[_0x239aa4][_0x3dd862(0x125)]['toUpperCase'](),_0x17e183[_0x3dd862(0x123)])){_0x5d8c6d=!![];const _0x405097=_0x17e183['yBNLh'](nestedKeyValue,_0x5d25ce[_0x239aa4],[_0x17e183['zzaih'],_0x17e183['LArVP']]);_0x405097&&(testsErrorMessage[_0x17e183['BjRTB'](_0x17e183[_0x3dd862(0xe5)](_0x35cd87[_0x3dd862(0xe1)][_0x3dd862(0xdc)][_0x3dd862(0xf7)],_0x17e183[_0x3dd862(0x11a)]),_0x35cd87[_0x3dd862(0xfa)][_0x3dd862(0xf7)])]=_0x405097,console[_0x3dd862(0x119)](_0x17e183[_0x3dd862(0x131)](_0x405097,'\x0a')));}}}_0x5d8c6d&&(testSuitesFailed+=0x1),console[_0x3dd862(0x119)]('\x0a');}}module[a7_0x3dc499(0xed)]=BrowserstackFormatter;function a7_0x2d0e(){const _0x3a74f7=['feature','text','test-run-finished','eventDataCollector','logTestCaseFinished','gherkinDocument','BVcSz','Executing\x20tests\x20for\x20','1638000qclxBz','vSjAh','139738WrHAzJ','waTvX','23864RLbzRO','BFlwk','PASSED','BjRTB','actionLocation','exports','getTestCaseData','\x20-\x20','\x20\x20\x20\x20AFTER\x20-\x20','UNKNOWN','ZnSXP','\x20\x20\x20\x20BEFORE\x20-\x20','tLUdP','KTsIn','env','name','5QbyBNV','stack','pickle','parse','FNzGK','steps','getStepLineToPickledStepMap','exception','yBNLh','cucumber/lib/formatter/helpers/pickle_parser.js','440706hTsdLt','capability','test-run-started','uhcSC','12318350eihYwt','includes','uri','../../../helpers/helper','toUpperCase','SKIPPED','4261176UOyxDh','test-step-started','undefined','result','test-case-finished','ToyKN','FAILED','dmVeh','vvPUi','line','3993ZCXfuJ','1057Zukzrr','CONFIG','log','NIVJw','zNNzj','hVZdD','PENDING','chMQj','KgjmG','stepResults','AYCmc','__platform','Awbzg','\x20\x20\x20\x20','status','rnEUf','614WqqwHB','sourceLocation','USCes','cucumber','testCase','cucumber-js/test_old.setup.js','hbSYJ','JGYnM','AMBIGUOUS','ddHoq','vMAxm','JKsSy','getTestCaseAttempt','WuWFb','eventBroadcaster','cApsx','SDTTR','CFTQB','tThHs','BTwIk'];a7_0x2d0e=function(){return _0x3a74f7;};return a7_0x2d0e();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x5a8b9d=a8_0x95b5;function a8_0x95b5(_0x253a41,_0x568df7){const _0x274929=a8_0x2749();return a8_0x95b5=function(_0x95b543,_0x5a6ad7){_0x95b543=_0x95b543-0xdf;let _0x5d6aa9=_0x274929[_0x95b543];return _0x5d6aa9;},a8_0x95b5(_0x253a41,_0x568df7);}(function(_0x31d81f,_0x272949){const _0x463784=a8_0x95b5,_0x2c348a=_0x31d81f();while(!![]){try{const _0x47406e=parseInt(_0x463784(0x15f))/0x1*(parseInt(_0x463784(0x166))/0x2)+-parseInt(_0x463784(0x149))/0x3+parseInt(_0x463784(0x171))/0x4*(parseInt(_0x463784(0xff))/0x5)+-parseInt(_0x463784(0xe9))/0x6*(-parseInt(_0x463784(0x10c))/0x7)+parseInt(_0x463784(0x107))/0x8*(-parseInt(_0x463784(0x140))/0x9)+parseInt(_0x463784(0x148))/0xa+-parseInt(_0x463784(0xf9))/0xb*(parseInt(_0x463784(0x130))/0xc);if(_0x47406e===_0x272949)break;else _0x2c348a['push'](_0x2c348a['shift']());}catch(_0x2b9db0){_0x2c348a['push'](_0x2c348a['shift']());}}}(a8_0x2749,0x8dac9));const path=require(a8_0x5a8b9d(0x14e)),util=require(a8_0x5a8b9d(0x120)),hooksMap={},SessionHandler=require(a8_0x5a8b9d(0x126)),testhubUtils=require(a8_0x5a8b9d(0x13b)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x5a8b9d(0x15a))['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x5a8b9d(0x16e)),{FRAMEWORKS}=require(a8_0x5a8b9d(0x12a)),TestDetails=require(a8_0x5a8b9d(0x127));function a8_0x2749(){const _0x5ac27c=['NRioP','javascript','xShck','children','WQure','gkcLD','exception','failure_type','value','failure_reason','skipped','264682SPtTum','WxfKg','join','Exception\x20in\x20getHookRunEventData:\x20','dtetg','astNodeIds','5Qsvhoa','uri','bpWKG','gBRfK','toString','includes','push','testCaseStartedId','16YdMZzl','zuQTX','nCGOs','result','YGcSM','2600003AJWodh','Vcjkb','feature','name','message','failureType','timestamp','Exception\x20in\x20sendHook:\x20','MUmlN','tableBody','KqQEb','test','ZWqld','toISOString','failed','scenario','find','duration_in_ms','jChiN','hook','util','_gitConfigured','failure_data','split','match','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','../../helpers/test-observability/sessionHandler','../playwright/reporter/test-details','relative','tagExpression','../../helpers/test-observability/constants.js','gwOAL','getHooksListForTest','UnhandledError','configureGit','getTestUUID','60nSCTcY','BRCXd','CUCUMBER','pending','testStepFinished','appendTesthubParams','KCwux','length','testStepResult','JqldF','JkRQg','../../helpers/testhub/utils','_gitConfigPath','unknown','format','passed','4483287PHWVHD','hook_run','NzsjM','hRgiM','vkZum','uuid','FtJbl','ScSHx','127180OJCJFz','1468092cuuUiy','uploadEventData','hooks','oJFeR','updateTestStatus','path','VfILk','status','failureData','MPaUo','SKIPPED','wvtmW','finished_at','backtrace','test_run','uNEbl','iGNAu','../../helpers/logger','hookId','root','map','getHookRunEventData','1012718eOVJBg','nanos','sourceReference','examples','sendHook','TestRunFinished','olgeC','2TJhEEf','UAyBk','FAILED','flatMap','failure','forEach','rule','cells','../../helpers/test-observability/error-handler','BkmLN','ucGPy','186136qhaYmq','sendTestRunEventForCucumber','Cwcwl','SQESc','3|2|0|1|4','filter','BEFORE_EACH','cucumber','getHookResult','CDqqF','getScenarioExamples','tags','iucYE','zYNvN','gLIIL','AssertionError','testCaseFinished','getCucumberHookType','18tpMMmx','kwNEy','strip-ansi','SeHIf','debug'];a8_0x2749=function(){return _0x5ac27c;};return a8_0x2749();}this[a8_0x5a8b9d(0x121)]=![],this['_gitConfigPath']=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x366ef0,_0x1a09a0,_0x49c275,_0x4cc5ef,_0xfe64df){const _0x2ea87b=a8_0x5a8b9d,_0x320423={'ucGPy':function(_0x344a0b,_0x3195a7){return _0x344a0b===_0x3195a7;},'gwOAL':_0x2ea87b(0x168),'fzcKD':_0x2ea87b(0x11a),'uNEbl':function(_0x16acd3,_0x1b6ce2){return _0x16acd3===_0x1b6ce2;},'ZWqld':_0x2ea87b(0x153),'JqldF':_0x2ea87b(0xf8),'mQaTW':function(_0xf1ddcf,_0x58829b){return _0xf1ddcf||_0x58829b;},'vkZum':function(_0x559f6b,_0x4ea7f1){return _0x559f6b+_0x4ea7f1;},'zYNvN':function(_0x3cadea,_0x24f8be){return _0x3cadea+_0x24f8be;},'jjtTi':_0x2ea87b(0x117),'ScSHx':_0x2ea87b(0xef),'CXaio':_0x2ea87b(0x178),'gLIIL':'pending','YGcSM':_0x2ea87b(0x13f),'SQESc':function(_0x12c283,_0x4a4a64){return _0x12c283!==_0x4a4a64;},'KqQEb':function(_0x3c56f0,_0x286d92){return _0x3c56f0/_0x286d92;},'gBRfK':function(_0x5af042,_0x101fc2){return _0x5af042===_0x101fc2;},'BkmLN':_0x2ea87b(0xeb),'FtJbl':function(_0xc2a6a3,_0x457ab6){return _0xc2a6a3(_0x457ab6);},'wnIHU':_0x2ea87b(0x13d),'MUmlN':_0x2ea87b(0xe6),'wvtmW':_0x2ea87b(0x12d),'LwQfo':_0x2ea87b(0x164),'xShck':function(_0xd560aa,_0x329f25){return _0xd560aa>_0x329f25;}},{feature:_0x2ed0b4,scenario:_0x13a3b8,steps:_0x2ecadc,uuid:_0x258513,startedAt:_0x2249a3,finishedAt:_0xe3a789}=_0x320423['mQaTW'](_0xfe64df,{}),_0x440c9b=this[_0x2ea87b(0xe1)](_0x1a09a0,_0x49c275);await this[_0x2ea87b(0x12e)]();const _0x488269=_0x440c9b?_0x320423[_0x2ea87b(0x144)](_0x320423[_0x2ea87b(0x144)](_0x320423[_0x2ea87b(0xe4)](_0x49c275[_0x2ea87b(0x10f)],'\x20('),_0x440c9b[_0x2ea87b(0xfb)](',\x20')),')'):_0x49c275[_0x2ea87b(0x10f)],_0x362827={'uuid':_0x258513,'started_at':_0x2249a3,'finished_at':_0xe3a789,'type':_0x320423['jjtTi'],'body':{'lang':_0x320423[_0x2ea87b(0x147)],'code':null},'name':_0x488269,'scopes':[_0x2ed0b4&&_0x2ed0b4['name']?_0x2ed0b4['name']:''],'tags':_0x49c275[_0x2ea87b(0xe2)]?_0x49c275[_0x2ea87b(0xe2)][_0x2ea87b(0x15d)](({name:_0x404940})=>_0x404940):[],'file_name':_0x49c275[_0x2ea87b(0x100)],'location':_0x49c275[_0x2ea87b(0x100)],'vc_filepath':this['_gitConfigPath']&&_0x49c275[_0x2ea87b(0x100)]?path[_0x2ea87b(0x128)](this[_0x2ea87b(0x13c)],_0x49c275[_0x2ea87b(0x100)]):null,'framework':_0x320423['CXaio'],'result':_0x320423[_0x2ea87b(0xe5)],'meta':{'feature':_0x2ed0b4,'scenario':_0x13a3b8,'steps':_0x2ecadc,'examples':_0x440c9b},'customRerunParam':{'rerun_name':_0x488269}};if(_0x366ef0['testCaseFinished']&&_0x2ecadc){const _0x5d0637=_0x366ef0[_0x2ea87b(0xe7)];let _0x228441=_0x320423[_0x2ea87b(0x10b)];_0x2ecadc['every'](_0x2f9323=>{const _0x2c32aa=_0x2ea87b;if(_0x320423[_0x2c32aa(0x170)](_0x2f9323['result'],_0x320423[_0x2c32aa(0x12b)]))return _0x228441=_0x320423['fzcKD'],_0x5d0637[_0x2c32aa(0x16a)]=_0x2f9323[_0x2c32aa(0x16a)],_0x5d0637[_0x2c32aa(0x111)]=_0x2f9323['failureType'],![];else{if(_0x320423['uNEbl'](_0x2f9323[_0x2c32aa(0x10a)],_0x320423[_0x2c32aa(0x118)]))return _0x228441=_0x320423[_0x2c32aa(0x139)],![];}return!![];}),_0x362827[_0x2ea87b(0x155)]=new Date()[_0x2ea87b(0x119)](),_0x362827[_0x2ea87b(0x10a)]=_0x228441;_0x5d0637['timestamp']&&_0x320423[_0x2ea87b(0x174)](_0x5d0637[_0x2ea87b(0x112)][_0x2ea87b(0x160)],undefined)?_0x362827[_0x2ea87b(0x11d)]=_0x320423[_0x2ea87b(0x116)](_0x5d0637['timestamp'][_0x2ea87b(0x160)],0xf4240):_0x362827['duration_in_ms']=undefined;if(_0x320423[_0x2ea87b(0x102)](_0x228441,_0x320423['fzcKD'])){const {default:_0x216544}=await import(_0x320423[_0x2ea87b(0x16f)]);_0x362827[_0x2ea87b(0x16a)]=[{'backtrace':[_0x5d0637['failure']?_0x320423[_0x2ea87b(0x146)](_0x216544,_0x5d0637[_0x2ea87b(0x16a)]):_0x320423['wnIHU']]}],_0x362827[_0x2ea87b(0xf7)]=_0x5d0637['failure']?_0x320423[_0x2ea87b(0x146)](_0x216544,_0x5d0637[_0x2ea87b(0x16a)]):_0x5d0637['message'],_0x5d0637['failureType']&&(_0x362827[_0x2ea87b(0xf5)]=_0x5d0637['failureType'][_0x2ea87b(0x124)](/AssertError/)?_0x320423[_0x2ea87b(0x114)]:_0x320423[_0x2ea87b(0x154)]);}}if(_0x320423[_0x2ea87b(0x158)](_0x4cc5ef,_0x320423['LwQfo'])){const _0x4f5d47=this[_0x2ea87b(0x12c)](_0x366ef0['testCaseFinished'][_0x2ea87b(0x106)]);_0x4f5d47&&_0x320423[_0x2ea87b(0xf0)](_0x4f5d47[_0x2ea87b(0x137)],0x0)&&(_0x362827[_0x2ea87b(0x14b)]=_0x4f5d47,this[_0x2ea87b(0x14d)](_0x366ef0[_0x2ea87b(0xe7)][_0x2ea87b(0x106)],_0x362827));}testhubUtils[_0x2ea87b(0x135)](_0x362827,_0x4cc5ef,'',FRAMEWORKS[_0x2ea87b(0x132)]);const _0x1ad3f1={};_0x1ad3f1['event_type']=_0x4cc5ef,_0x1ad3f1[_0x2ea87b(0x157)]=_0x362827;const _0x1b7842=_0x1ad3f1;await SessionHandler[_0x2ea87b(0x14a)](_0x1b7842);}[a8_0x5a8b9d(0x14d)](_0x220e1a,_0x2d0a09){const _0x12436f=a8_0x5a8b9d,_0x2b9c9a={};_0x2b9c9a['SeHIf']=function(_0x3b4a7e,_0x4871f1){return _0x3b4a7e instanceof _0x4871f1;},_0x2b9c9a['nCGOs']=function(_0x2dabf6,_0x4b3a20){return _0x2dabf6===_0x4b3a20;},_0x2b9c9a['BRCXd']=_0x12436f(0x11a),_0x2b9c9a[_0x12436f(0x13a)]=_0x12436f(0x175),_0x2b9c9a[_0x12436f(0x159)]=function(_0xc6cef9,_0x128fbd){return _0xc6cef9 instanceof _0x128fbd;};const _0x2f9559=_0x2b9c9a,_0x1a69c0=hooksMap[_0x220e1a];if(_0x2f9559[_0x12436f(0xec)](_0x1a69c0,Array))for(const _0x1bdefe of _0x1a69c0){if(_0x2f9559[_0x12436f(0x109)](_0x1bdefe['result'],_0x2f9559[_0x12436f(0x131)])){const _0x26680f=_0x2f9559[_0x12436f(0x13a)]['split']('|');let _0x191098=0x0;while(!![]){switch(_0x26680f[_0x191098++]){case'0':_0x2d0a09[_0x12436f(0xf7)]=_0x2f9559[_0x12436f(0x159)](_0x1bdefe[_0x12436f(0x122)],Array)?_0x1bdefe[_0x12436f(0x122)][0x0]['backtrace']['join']('\x0a'):'';continue;case'1':_0x2d0a09['failure_type']=_0x1bdefe[_0x12436f(0xf5)];continue;case'2':_0x2d0a09['failure']=_0x1bdefe[_0x12436f(0x122)];continue;case'3':_0x2d0a09[_0x12436f(0x10a)]=_0x1bdefe[_0x12436f(0x10a)];continue;case'4':return _0x2d0a09;}break;}}};}[a8_0x5a8b9d(0x12c)](_0x27184b){const _0x51e90e=a8_0x5a8b9d;if(hooksMap[_0x27184b])return hooksMap[_0x27184b][_0x51e90e(0x15d)](_0x2373cf=>_0x2373cf[_0x51e90e(0x145)]);return[];}['getHookRunEventData'](_0x3a6825,_0x34a769,_0x3b47e,_0x5df51b,_0x166700,_0x3c24e4){const _0x3fd829=a8_0x5a8b9d,_0x3606f8={'CDqqF':function(_0x5b7331,_0x46be2e){return _0x5b7331===_0x46be2e;},'zuQTX':'HookRunFinished','Yjpus':function(_0x136ddd,_0x381db8,_0x5246e0){return _0x136ddd(_0x381db8,_0x5246e0);},'iucYE':_0x3fd829(0x161),'pmhyL':'uri','gISzZ':_0x3fd829(0x133),'viKiz':_0x3fd829(0x11f),'RRKfX':_0x3fd829(0xef),'bpWKG':function(_0xbd7496,_0x40aad7,_0xfa2e1b){return _0xbd7496(_0x40aad7,_0xfa2e1b);},'gkcLD':'feature','oJFeR':_0x3fd829(0x10f),'ZAWkg':function(_0x3e777b,_0x21002d,_0x19db71){return _0x3e777b(_0x21002d,_0x19db71);},'UuRcs':_0x3fd829(0x178)};try{if(_0x3606f8[_0x3fd829(0xe0)](_0x3b47e,_0x3606f8[_0x3fd829(0x108)])){const _0x27135f=new Date()[_0x3fd829(0x119)](),_0x42406d=hooksMap[_0x34a769];if(!_0x42406d)return;const _0x2a38bd=_0x42406d['find'](_0x14b4fe=>_0x14b4fe[_0x3fd829(0x145)]===_0x5df51b['id']);if(!_0x2a38bd)return;const _0x446092=this[_0x3fd829(0xdf)](_0x3a6825,_0x34a769);_0x2a38bd[_0x3fd829(0x10a)]=_0x446092[_0x3fd829(0x150)],_0x2a38bd['finished_at']=_0x27135f,_0x2a38bd['failure_type']=_0x446092[_0x3fd829(0x111)];const _0xb424d5={};return _0xb424d5[_0x3fd829(0x156)]=_0x446092[_0x3fd829(0x151)],_0x2a38bd[_0x3fd829(0x122)]=[_0xb424d5],_0x2a38bd;}const _0x23a4ad=TestDetails[_0x3fd829(0x12f)](_0x34a769),_0x53f97f=_0x3a6825[_0x3fd829(0x14b)][_0x3fd829(0x11c)](_0x12b596=>_0x12b596['id']===_0x5df51b[_0x3fd829(0x15b)]),_0x25af43=_0x3606f8['Yjpus'](nestedKeyValue,_0x53f97f,[_0x3606f8[_0x3fd829(0xe3)],_0x3606f8['pmhyL']]),_0x3fab8a=new Date()[_0x3fd829(0x119)](),_0x35c110=_0x3606f8['gISzZ'],_0x346977=_0x53f97f[_0x3fd829(0x129)]?_0x53f97f['tagExpression'][_0x3fd829(0x123)]('\x20')[_0x3fd829(0x176)](_0x15be20=>_0x15be20['includes']('@')):[],_0x1212ea={'uuid':_0x5df51b['id'],'type':_0x3606f8['viKiz'],'hook_type':_0x3c24e4,'name':_0x53f97f[_0x3fd829(0x10f)],'body':{'lang':_0x3606f8['RRKfX'],'code':null},'tags':_0x346977,'test_run_id':_0x23a4ad,'scope':_0x3606f8[_0x3fd829(0x101)](nestedKeyValue,_0x166700,[_0x3606f8['gkcLD'],_0x3606f8[_0x3fd829(0x14c)]]),'scopes':[_0x3606f8['ZAWkg'](nestedKeyValue,_0x166700,[_0x3606f8[_0x3fd829(0xf3)],_0x3606f8[_0x3fd829(0x14c)]])||''],'file_name':_0x25af43,'location':_0x25af43,'vc_filepath':this[_0x3fd829(0x13c)]?path['relative'](this['_gitConfigPath'],_0x25af43):null,'result':_0x35c110,'started_at':_0x3fab8a,'framework':_0x3606f8['UuRcs']};return _0x1212ea;}catch(_0x2379f8){logger[_0x3fd829(0xed)](_0x3fd829(0xfc)+util[_0x3fd829(0x13e)](_0x2379f8)+'\x20');}}async[a8_0x5a8b9d(0x163)](_0x569003,_0x5170c5,_0x1d5913,_0x1d6824,_0x4be2e5,_0x2eeab8){const _0x152169=a8_0x5a8b9d,_0xbd90bc={'MPaUo':function(_0x1a3b0b,_0x25dd4b){return _0x1a3b0b===_0x25dd4b;},'IIziX':'HookRunStarted','BgcSt':function(_0x6733e3,_0x11c981,_0x44b1a6){return _0x6733e3(_0x11c981,_0x44b1a6);},'hRgiM':_0x152169(0x161),'kwNEy':_0x152169(0x100),'NRioP':_0x152169(0x125)};try{const _0x47ebd3=_0x1d6824[_0x152169(0x11c)](_0x388f2d=>_0x388f2d['id']===_0x4be2e5);if(!_0x47ebd3[_0x152169(0x15b)])return;const _0x187818=this[_0x152169(0xe8)](_0x1d6824,_0x47ebd3),_0x133b5b=this[_0x152169(0x15e)](_0x569003,_0x5170c5,_0x1d5913,_0x47ebd3,_0x2eeab8,_0x187818);if(!_0x133b5b)return;_0xbd90bc[_0x152169(0x152)](_0x1d5913,_0xbd90bc['IIziX'])&&(hooksMap[_0x5170c5]?hooksMap[_0x5170c5][_0x152169(0x105)](_0x133b5b):hooksMap[_0x5170c5]=[_0x133b5b]);const _0x304e96=_0x569003[_0x152169(0x14b)][_0x152169(0x11c)](_0x4b54e7=>_0x4b54e7['id']===_0x47ebd3[_0x152169(0x15b)]),_0x38016c=_0xbd90bc['BgcSt'](nestedKeyValue,_0x304e96,[_0xbd90bc[_0x152169(0x143)],_0xbd90bc[_0x152169(0xea)]]);if(!_0x38016c)return;else{if(_0x38016c[_0x152169(0x104)](_0xbd90bc[_0x152169(0xee)]))return;}const _0x3e157c={};_0x3e157c['event_type']=_0x1d5913,_0x3e157c[_0x152169(0x141)]=_0x133b5b;const _0x1710cd=_0x3e157c;await SessionHandler['uploadEventData'](_0x1710cd);}catch(_0x1aa773){logger[_0x152169(0xed)](_0x152169(0x113)+util[_0x152169(0x13e)](_0x1aa773)+'\x20');}}['getHookResult'](_0x106107,_0x4da826){const _0x59a5cd=a8_0x5a8b9d,_0x52a9d4={};_0x52a9d4[_0x59a5cd(0x10d)]=function(_0x3f52c5,_0x1d2aca){return _0x3f52c5===_0x1d2aca;},_0x52a9d4[_0x59a5cd(0x14f)]=_0x59a5cd(0x11a),_0x52a9d4['CYvmQ']=function(_0x558d9f,_0xa8df02){return _0x558d9f===_0xa8df02;},_0x52a9d4['WQure']=_0x59a5cd(0x12d),_0x52a9d4[_0x59a5cd(0x136)]=_0x59a5cd(0xe6),_0x52a9d4[_0x59a5cd(0xfa)]=function(_0x4874c0,_0x1f756b){return _0x4874c0||_0x1f756b;};const _0x413ebd=_0x52a9d4,_0x5df9d8=_0x106107[_0x59a5cd(0x134)][_0x4da826][_0x59a5cd(0x138)];let _0x5ebda7,_0x37dbc2;return _0x5df9d8&&_0x413ebd[_0x59a5cd(0x10d)](_0x5df9d8[_0x59a5cd(0x150)][_0x59a5cd(0x103)]()['toLowerCase'](),_0x413ebd[_0x59a5cd(0x14f)])&&(_0x5ebda7=_0x413ebd[_0x59a5cd(0x10d)](_0x5df9d8[_0x59a5cd(0xf4)],undefined)?_0x5df9d8[_0x59a5cd(0x110)]:_0x5df9d8[_0x59a5cd(0xf4)][_0x59a5cd(0x110)],_0x37dbc2=_0x413ebd['CYvmQ'](_0x5df9d8[_0x59a5cd(0xf4)],undefined)?_0x413ebd[_0x59a5cd(0xf2)]:_0x5df9d8[_0x59a5cd(0x110)][_0x59a5cd(0x124)](/Assert/)?_0x413ebd[_0x59a5cd(0x136)]:_0x413ebd[_0x59a5cd(0xf2)]),{'status':_0x5df9d8[_0x59a5cd(0x150)]['toLowerCase'](),'failureType':_0x413ebd[_0x59a5cd(0xfa)](_0x37dbc2,null),'failureData':!_0x5ebda7?null:[_0x5ebda7]};}['getCucumberHookType'](_0x341ac9,_0x1a919d){const _0x55f668=a8_0x5a8b9d,_0x155038={};_0x155038[_0x55f668(0x142)]=function(_0x528943,_0x49269d){return _0x528943===_0x49269d;},_0x155038['Cwcwl']='AFTER_EACH',_0x155038[_0x55f668(0xfd)]=_0x55f668(0x177);const _0x86ba6c=_0x155038;let _0x3c7fe6=![];for(const _0x484fe9 of _0x341ac9){_0x484fe9['pickleStepId']&&(_0x3c7fe6=!![]);if(_0x86ba6c['NzsjM'](_0x1a919d['id'],_0x484fe9['id']))return _0x3c7fe6?_0x86ba6c[_0x55f668(0x173)]:_0x86ba6c[_0x55f668(0xfd)];}}[a8_0x5a8b9d(0xe1)]=(_0x2580de,_0x29cc5d)=>{const _0x47772a=a8_0x5a8b9d,_0x54271b={};_0x54271b[_0x47772a(0x167)]=function(_0x45142b,_0x52079d){return _0x45142b===_0x52079d;},_0x54271b['jChiN']=function(_0x4f263,_0x3582aa){return _0x4f263===_0x3582aa;},_0x54271b[_0x47772a(0x165)]=function(_0x2aaae8,_0x46519f){return _0x2aaae8>_0x46519f;};const _0x27ca5e=_0x54271b;if(!(_0x29cc5d[_0x47772a(0xfe)]&&_0x27ca5e[_0x47772a(0x165)](_0x29cc5d[_0x47772a(0xfe)]['length'],0x1)))return;const _0xf839e4=_0x29cc5d['astNodeIds'][0x0],_0x98c4b5=_0x29cc5d[_0x47772a(0xfe)][0x1],_0x435e7f=_0x2580de[_0x47772a(0x10e)]&&_0x2580de['feature'][_0x47772a(0xf1)]?_0x2580de[_0x47772a(0x10e)][_0x47772a(0xf1)]:undefined;let _0x247f87=[];_0x435e7f&&_0x435e7f['forEach'](_0x3b4a36=>{const _0xb15a96=_0x47772a;if(_0x3b4a36[_0xb15a96(0x16c)])_0x3b4a36[_0xb15a96(0x16c)]['children'][_0xb15a96(0x16b)](_0x4b9774=>{const _0x4e3ad6=_0xb15a96;if(_0x4b9774['scenario']&&_0x27ca5e[_0x4e3ad6(0x167)](_0x4b9774['scenario']['id'],_0xf839e4)&&_0x4b9774[_0x4e3ad6(0x11b)][_0x4e3ad6(0x162)]){const _0xfe8f7f=_0x4b9774[_0x4e3ad6(0x11b)][_0x4e3ad6(0x162)][_0x4e3ad6(0x169)](_0x3c9550=>_0x3c9550[_0x4e3ad6(0x115)])[_0x4e3ad6(0x11c)](_0x51222d=>_0x51222d['id']===_0x98c4b5);let _0x4e993e;_0xfe8f7f&&_0xfe8f7f['cells']?_0x4e993e=_0xfe8f7f[_0x4e3ad6(0x16d)][_0x4e3ad6(0x15d)](_0x388696=>_0x388696[_0x4e3ad6(0xf6)]):_0x4e993e=[],_0x4e993e&&(_0x247f87=_0x4e993e);}});else{if(_0x3b4a36['scenario']&&_0x27ca5e[_0xb15a96(0x11e)](_0x3b4a36[_0xb15a96(0x11b)]['id'],_0xf839e4)&&_0x3b4a36[_0xb15a96(0x11b)]['examples']){const _0x5d2b1a=_0x3b4a36[_0xb15a96(0x11b)][_0xb15a96(0x162)][_0xb15a96(0x169)](_0x38675f=>_0x38675f[_0xb15a96(0x115)])[_0xb15a96(0x11c)](_0x5751d5=>_0x5751d5['id']===_0x98c4b5);let _0x115018;_0x5d2b1a&&_0x5d2b1a[_0xb15a96(0x16d)]?_0x115018=_0x5d2b1a['cells'][_0xb15a96(0x15d)](_0x5bc887=>_0x5bc887['value']):_0x115018=[],_0x115018&&(_0x247f87=_0x115018);}}});if(_0x247f87[_0x47772a(0x137)])return _0x247f87;return;};async[a8_0x5a8b9d(0x12e)](){const _0x4d5bc3=a8_0x5a8b9d,_0x235ce5={'qEhfG':function(_0x557b75){return _0x557b75();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x56ae9f=await _0x235ce5['qEhfG'](getGitMetaData);_0x56ae9f&&(this['_gitConfigPath']=_0x56ae9f[_0x4d5bc3(0x15c)]),this[_0x4d5bc3(0x121)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x5a8b9d(0x12e),a8_0x5a8b9d(0xe1),a8_0x5a8b9d(0xe8),a8_0x5a8b9d(0xdf),a8_0x5a8b9d(0x163),'getHookRunEventData',a8_0x5a8b9d(0x172)]);
|
|
1
|
+
const a8_0x4acf32=a8_0x1e77;function a8_0x1e77(_0x3a16cf,_0x226168){const _0x542b21=a8_0x542b();return a8_0x1e77=function(_0x1e774b,_0x2d1f14){_0x1e774b=_0x1e774b-0x125;let _0x9a1eb8=_0x542b21[_0x1e774b];return _0x9a1eb8;},a8_0x1e77(_0x3a16cf,_0x226168);}(function(_0x3d3009,_0x406850){const _0x3560f6=a8_0x1e77,_0x11ee99=_0x3d3009();while(!![]){try{const _0x1459e7=-parseInt(_0x3560f6(0x1a5))/0x1*(-parseInt(_0x3560f6(0x1b5))/0x2)+parseInt(_0x3560f6(0x153))/0x3*(-parseInt(_0x3560f6(0x19c))/0x4)+parseInt(_0x3560f6(0x193))/0x5+parseInt(_0x3560f6(0x140))/0x6*(-parseInt(_0x3560f6(0x1a0))/0x7)+parseInt(_0x3560f6(0x126))/0x8+-parseInt(_0x3560f6(0x157))/0x9*(parseInt(_0x3560f6(0x1b0))/0xa)+-parseInt(_0x3560f6(0x154))/0xb*(parseInt(_0x3560f6(0x142))/0xc);if(_0x1459e7===_0x406850)break;else _0x11ee99['push'](_0x11ee99['shift']());}catch(_0x17358e){_0x11ee99['push'](_0x11ee99['shift']());}}}(a8_0x542b,0x698d8));const path=require(a8_0x4acf32(0x1bb)),util=require(a8_0x4acf32(0x1ac)),hooksMap={},SessionHandler=require(a8_0x4acf32(0x14d)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x4acf32(0x1a7)),logger=require(a8_0x4acf32(0x138))[a8_0x4acf32(0x12c)],{o11yClassErrorHandler}=require(a8_0x4acf32(0x16b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x4acf32(0x171));this[a8_0x4acf32(0x17b)]=![],this[a8_0x4acf32(0x13a)]=null;class TestObservabilityReporter{async[a8_0x4acf32(0x14e)](_0x2a64ea,_0x3df406,_0x5e3ad7,_0xb59a48,_0x1c1eb1){const _0x525b05=a8_0x4acf32,_0x91d3bb={'AbdSe':function(_0x11eb44,_0x26d22f){return _0x11eb44===_0x26d22f;},'HCbaZ':_0x525b05(0x147),'QYcIJ':_0x525b05(0x135),'ZVGbu':_0x525b05(0x136),'mrJIM':_0x525b05(0x169),'jdISg':function(_0x4cad2e,_0x5bf3df){return _0x4cad2e||_0x5bf3df;},'mUcnF':function(_0x29c3e6,_0x19b023){return _0x29c3e6+_0x19b023;},'fWjTI':function(_0x576a3f,_0x530a00){return _0x576a3f+_0x530a00;},'fsgEl':function(_0x2d106,_0x18f420){return _0x2d106+_0x18f420;},'DpsBV':_0x525b05(0x131),'fWAhY':_0x525b05(0x19f),'beobo':_0x525b05(0x1b1),'BIWOk':_0x525b05(0x14a),'fpGnL':_0x525b05(0x12e),'qYfFw':function(_0x4ebcab,_0x20d81a){return _0x4ebcab!==_0x20d81a;},'mhKXu':function(_0xe0a5eb,_0x57a16f){return _0xe0a5eb/_0x57a16f;},'iVYTm':function(_0x171098,_0x1ceffd){return _0x171098===_0x1ceffd;},'viLbe':_0x525b05(0x19e),'WvQcD':function(_0xf64a24,_0x4f89a9){return _0xf64a24(_0x4f89a9);},'elwqi':_0x525b05(0x145),'MiZdl':function(_0x1e4557,_0x34ee36){return _0x1e4557(_0x34ee36);},'udoQK':'AssertionError','ZoGAG':_0x525b05(0x149),'vbuCt':function(_0x536c44,_0x5ab719){return _0x536c44===_0x5ab719;},'oaCkz':_0x525b05(0x137),'ZAXkM':function(_0x3577d7,_0x4366b3){return _0x3577d7>_0x4366b3;}},{feature:_0x1e50da,scenario:_0xe109f9,steps:_0x48063a,uuid:_0x12ac8a,startedAt:_0x4bbec0,finishedAt:_0x5e1df3}=_0x91d3bb[_0x525b05(0x146)](_0x1c1eb1,{}),_0x255dda=this[_0x525b05(0x13f)](_0x3df406,_0x5e3ad7);await this['configureGit']();const _0x28b772=_0x255dda?_0x91d3bb[_0x525b05(0x162)](_0x91d3bb[_0x525b05(0x185)](_0x91d3bb['fsgEl'](_0x5e3ad7[_0x525b05(0x150)],'\x20('),_0x255dda[_0x525b05(0x1b8)](',\x20')),')'):_0x5e3ad7[_0x525b05(0x150)],_0x91ea73={'uuid':_0x12ac8a,'started_at':_0x4bbec0,'finished_at':_0x5e1df3,'type':_0x91d3bb[_0x525b05(0x183)],'body':{'lang':_0x91d3bb[_0x525b05(0x19d)],'code':null},'name':_0x28b772,'scopes':[_0x1e50da&&_0x1e50da['name']?_0x1e50da[_0x525b05(0x150)]:''],'tags':_0x5e3ad7['tags']?_0x5e3ad7[_0x525b05(0x1aa)][_0x525b05(0x180)](({name:_0x19e39b})=>_0x19e39b):[],'file_name':_0x5e3ad7[_0x525b05(0x12b)],'location':_0x5e3ad7[_0x525b05(0x12b)],'vc_filepath':this['_gitConfigPath']&&_0x5e3ad7[_0x525b05(0x12b)]?path[_0x525b05(0x1a4)](this[_0x525b05(0x13a)],_0x5e3ad7[_0x525b05(0x12b)]):null,'framework':_0x91d3bb[_0x525b05(0x194)],'result':_0x91d3bb[_0x525b05(0x168)],'meta':{'feature':_0x1e50da,'scenario':_0xe109f9,'steps':_0x48063a,'examples':_0x255dda},'customRerunParam':{'rerun_name':_0x28b772}};if(_0x2a64ea[_0x525b05(0x190)]&&_0x48063a){const _0x54f651=_0x2a64ea[_0x525b05(0x190)];let _0x30d473=_0x91d3bb['fpGnL'];_0x48063a['every'](_0x452d58=>{const _0x4a4baa=_0x525b05;if(_0x91d3bb[_0x4a4baa(0x174)](_0x452d58[_0x4a4baa(0x1ba)],_0x91d3bb[_0x4a4baa(0x1a6)]))return _0x30d473=_0x91d3bb['QYcIJ'],_0x54f651['failure']=_0x452d58['failure'],_0x54f651[_0x4a4baa(0x139)]=_0x452d58[_0x4a4baa(0x139)],![];else{if(_0x91d3bb[_0x4a4baa(0x174)](_0x452d58[_0x4a4baa(0x1ba)],_0x91d3bb['ZVGbu']))return _0x30d473=_0x91d3bb['mrJIM'],![];}return!![];}),_0x91ea73['finished_at']=new Date()[_0x525b05(0x18d)](),_0x91ea73[_0x525b05(0x1ba)]=_0x30d473;_0x54f651[_0x525b05(0x15e)]&&_0x91d3bb[_0x525b05(0x15d)](_0x54f651[_0x525b05(0x15e)]['nanos'],undefined)?_0x91ea73[_0x525b05(0x18c)]=_0x91d3bb[_0x525b05(0x163)](_0x54f651[_0x525b05(0x15e)][_0x525b05(0x1a1)],0xf4240):_0x91ea73[_0x525b05(0x18c)]=undefined;if(_0x91d3bb[_0x525b05(0x18f)](_0x30d473,_0x91d3bb[_0x525b05(0x14f)])){const {default:_0x54916d}=await import(_0x91d3bb['viLbe']);_0x91ea73[_0x525b05(0x151)]=[{'backtrace':[_0x54f651[_0x525b05(0x151)]?_0x91d3bb['WvQcD'](_0x54916d,_0x54f651[_0x525b05(0x151)]):_0x91d3bb[_0x525b05(0x127)]]}],_0x91ea73[_0x525b05(0x165)]=_0x54f651[_0x525b05(0x151)]?_0x91d3bb[_0x525b05(0x172)](_0x54916d,_0x54f651[_0x525b05(0x151)]):_0x54f651[_0x525b05(0x1a2)],_0x54f651['failureType']&&(_0x91ea73[_0x525b05(0x16e)]=_0x54f651['failureType'][_0x525b05(0x125)](/AssertError/)?_0x91d3bb[_0x525b05(0x14c)]:_0x91d3bb[_0x525b05(0x167)]);}}if(_0x91d3bb[_0x525b05(0x12d)](_0xb59a48,_0x91d3bb['oaCkz'])){const _0x2f91a7=this[_0x525b05(0x143)](_0x2a64ea[_0x525b05(0x190)]['testCaseStartedId']);_0x2f91a7&&_0x91d3bb[_0x525b05(0x189)](_0x2f91a7[_0x525b05(0x160)],0x0)&&(_0x91ea73[_0x525b05(0x176)]=_0x2f91a7,this[_0x525b05(0x182)](_0x2a64ea['testCaseFinished'][_0x525b05(0x184)],_0x91ea73));}testhubUtils['appendTesthubParams'](_0x91ea73,_0xb59a48,'',FRAMEWORKS[_0x525b05(0x191)]);const _0x3acd34={};_0x3acd34[_0x525b05(0x130)]=_0xb59a48,_0x3acd34[_0x525b05(0x17d)]=_0x91ea73;const _0x173e5f=_0x3acd34;await SessionHandler[_0x525b05(0x19b)](_0x173e5f);}[a8_0x4acf32(0x182)](_0x4adfaf,_0x269cba){const _0x153ed8=a8_0x4acf32,_0x2683b4={};_0x2683b4[_0x153ed8(0x16c)]=function(_0x182266,_0x1c95a1){return _0x182266 instanceof _0x1c95a1;},_0x2683b4[_0x153ed8(0x1ae)]=function(_0x3104af,_0x225b7b){return _0x3104af===_0x225b7b;},_0x2683b4[_0x153ed8(0x1b3)]=_0x153ed8(0x135),_0x2683b4[_0x153ed8(0x166)]=_0x153ed8(0x1ad),_0x2683b4[_0x153ed8(0x16a)]=function(_0x473e81,_0xc0f43a){return _0x473e81 instanceof _0xc0f43a;};const _0x324e2c=_0x2683b4,_0x2d4c99=hooksMap[_0x4adfaf];if(_0x324e2c[_0x153ed8(0x16c)](_0x2d4c99,Array))for(const _0x5061a7 of _0x2d4c99){if(_0x324e2c['sKMhL'](_0x5061a7['result'],_0x324e2c[_0x153ed8(0x1b3)])){const _0x2a83f4=_0x324e2c[_0x153ed8(0x166)]['split']('|');let _0x499f5c=0x0;while(!![]){switch(_0x2a83f4[_0x499f5c++]){case'0':_0x269cba[_0x153ed8(0x165)]=_0x324e2c[_0x153ed8(0x16a)](_0x5061a7[_0x153ed8(0x188)],Array)?_0x5061a7['failure_data'][0x0]['backtrace'][_0x153ed8(0x1b8)]('\x0a'):'';continue;case'1':return _0x269cba;case'2':_0x269cba['failure_type']=_0x5061a7['failure_type'];continue;case'3':_0x269cba[_0x153ed8(0x151)]=_0x5061a7[_0x153ed8(0x188)];continue;case'4':_0x269cba[_0x153ed8(0x1ba)]=_0x5061a7[_0x153ed8(0x1ba)];continue;}break;}}};}[a8_0x4acf32(0x143)](_0x4177e1){const _0x39bda0=a8_0x4acf32;if(hooksMap[_0x4177e1])return hooksMap[_0x4177e1][_0x39bda0(0x180)](_0xc770c=>_0xc770c[_0x39bda0(0x13e)]);return[];}[a8_0x4acf32(0x181)](_0x130f30,_0x9093ce,_0x3fe3f6,_0x403ece,_0x1ea34,_0x4caf18){const _0x4f6692=a8_0x4acf32,_0x40df5c={'erPzh':function(_0x395678,_0x1688f7){return _0x395678===_0x1688f7;},'xLGit':'HookRunFinished','lylXh':function(_0x3decdb,_0x31e4b2,_0x8da8f2){return _0x3decdb(_0x31e4b2,_0x8da8f2);},'qiaHx':'sourceReference','uCEfQ':_0x4f6692(0x12b),'gRrcY':'pending','mscqW':'hook','KooGX':_0x4f6692(0x19f),'vxCuD':function(_0x1c29b2,_0x85f7ed,_0x355e90){return _0x1c29b2(_0x85f7ed,_0x355e90);},'dTGYH':_0x4f6692(0x148),'atQuV':_0x4f6692(0x150),'QoBzl':_0x4f6692(0x1b1)};try{if(_0x40df5c[_0x4f6692(0x15f)](_0x3fe3f6,_0x40df5c['xLGit'])){const _0x16f8dd=new Date()['toISOString'](),_0x393fb0=hooksMap[_0x9093ce];if(!_0x393fb0)return;const _0x5dadc0=_0x393fb0['find'](_0x3dc4da=>_0x3dc4da[_0x4f6692(0x13e)]===_0x403ece['id']);if(!_0x5dadc0)return;const _0x41c3ef=this[_0x4f6692(0x19a)](_0x130f30,_0x9093ce);_0x5dadc0['result']=_0x41c3ef[_0x4f6692(0x177)],_0x5dadc0[_0x4f6692(0x158)]=_0x16f8dd,_0x5dadc0['failure_type']=_0x41c3ef[_0x4f6692(0x139)];const _0x5c35a6={};return _0x5c35a6['backtrace']=_0x41c3ef['failureData'],_0x5dadc0[_0x4f6692(0x188)]=[_0x5c35a6],_0x5dadc0;}const _0x459c08=TestDetails[_0x4f6692(0x17f)](_0x9093ce),_0x5992ea=_0x130f30[_0x4f6692(0x176)]['find'](_0x39ca77=>_0x39ca77['id']===_0x403ece['hookId']),_0x20b950=_0x40df5c[_0x4f6692(0x1a3)](nestedKeyValue,_0x5992ea,[_0x40df5c[_0x4f6692(0x1b2)],_0x40df5c['uCEfQ']]),_0x1a575f=new Date()[_0x4f6692(0x18d)](),_0x36595f=_0x40df5c[_0x4f6692(0x173)],_0x5d486f=_0x5992ea[_0x4f6692(0x14b)]?_0x5992ea['tagExpression']['split']('\x20')[_0x4f6692(0x1bf)](_0x3ff355=>_0x3ff355[_0x4f6692(0x196)]('@')):[],_0x5ed6ab={'uuid':_0x403ece['id'],'type':_0x40df5c[_0x4f6692(0x178)],'hook_type':_0x4caf18,'name':_0x5992ea[_0x4f6692(0x150)],'body':{'lang':_0x40df5c[_0x4f6692(0x13c)],'code':null},'tags':_0x5d486f,'test_run_id':_0x459c08,'scope':_0x40df5c[_0x4f6692(0x156)](nestedKeyValue,_0x1ea34,[_0x40df5c[_0x4f6692(0x1a8)],_0x40df5c[_0x4f6692(0x1ab)]]),'scopes':[_0x40df5c['vxCuD'](nestedKeyValue,_0x1ea34,[_0x40df5c[_0x4f6692(0x1a8)],_0x40df5c['atQuV']])||''],'file_name':_0x20b950,'location':_0x20b950,'vc_filepath':this[_0x4f6692(0x13a)]?path[_0x4f6692(0x1a4)](this['_gitConfigPath'],_0x20b950):null,'result':_0x36595f,'started_at':_0x1a575f,'framework':_0x40df5c[_0x4f6692(0x1bc)]};return _0x5ed6ab;}catch(_0x11a894){logger[_0x4f6692(0x195)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x11a894)+'\x20');}}async['sendHook'](_0x5ecc14,_0x1b6197,_0x42a3b6,_0x4c9fba,_0x197c77,_0x5a1480){const _0xb09dc0=a8_0x4acf32,_0xb1c60={'vvpma':function(_0x299a73,_0x1257f0){return _0x299a73===_0x1257f0;},'dxdiH':'HookRunStarted','sJiYl':function(_0x19698d,_0x4378e6,_0xf14e35){return _0x19698d(_0x4378e6,_0xf14e35);},'iEJeU':_0xb09dc0(0x12f),'rDyQa':'uri','oBKHu':_0xb09dc0(0x16d)};try{const _0x2a0b55=_0x4c9fba[_0xb09dc0(0x170)](_0x1702db=>_0x1702db['id']===_0x197c77);if(!_0x2a0b55[_0xb09dc0(0x1be)])return;const _0xf2a089=this[_0xb09dc0(0x1b9)](_0x4c9fba,_0x2a0b55),_0x1e1da8=this[_0xb09dc0(0x181)](_0x5ecc14,_0x1b6197,_0x42a3b6,_0x2a0b55,_0x5a1480,_0xf2a089);if(!_0x1e1da8)return;_0xb1c60['vvpma'](_0x42a3b6,_0xb1c60[_0xb09dc0(0x1b7)])&&(hooksMap[_0x1b6197]?hooksMap[_0x1b6197][_0xb09dc0(0x132)](_0x1e1da8):hooksMap[_0x1b6197]=[_0x1e1da8]);const _0x2ae95f=_0x5ecc14[_0xb09dc0(0x176)][_0xb09dc0(0x170)](_0x1a2343=>_0x1a2343['id']===_0x2a0b55[_0xb09dc0(0x1be)]),_0x15aa11=_0xb1c60[_0xb09dc0(0x161)](nestedKeyValue,_0x2ae95f,[_0xb1c60[_0xb09dc0(0x159)],_0xb1c60[_0xb09dc0(0x15c)]]);if(!_0x15aa11)return;else{if(_0x15aa11['includes'](_0xb1c60[_0xb09dc0(0x17a)]))return;}const _0x181828={};_0x181828[_0xb09dc0(0x130)]=_0x42a3b6,_0x181828[_0xb09dc0(0x17c)]=_0x1e1da8;const _0x333e61=_0x181828;await SessionHandler[_0xb09dc0(0x19b)](_0x333e61);}catch(_0x1d1deb){logger['debug'](_0xb09dc0(0x128)+util[_0xb09dc0(0x164)](_0x1d1deb)+'\x20');}}[a8_0x4acf32(0x19a)](_0x16cc9e,_0x4e5e9d){const _0xd42826=a8_0x4acf32,_0x9b7440={};_0x9b7440[_0xd42826(0x1bd)]=function(_0x151720,_0x47f684){return _0x151720===_0x47f684;},_0x9b7440['yEkJi']=_0xd42826(0x135),_0x9b7440[_0xd42826(0x175)]=function(_0x26a3e1,_0x5d4dc8){return _0x26a3e1===_0x5d4dc8;},_0x9b7440[_0xd42826(0x17e)]=_0xd42826(0x149),_0x9b7440[_0xd42826(0x155)]='AssertionError',_0x9b7440[_0xd42826(0x192)]=function(_0x2a9da3,_0x4440a3){return _0x2a9da3||_0x4440a3;};const _0x253b2b=_0x9b7440,_0xd12a52=_0x16cc9e['testStepFinished'][_0x4e5e9d][_0xd42826(0x1b4)];let _0x4099fb,_0x2f8bf1;return _0xd12a52&&_0x253b2b[_0xd42826(0x1bd)](_0xd12a52[_0xd42826(0x177)][_0xd42826(0x134)]()['toLowerCase'](),_0x253b2b[_0xd42826(0x12a)])&&(_0x4099fb=_0x253b2b[_0xd42826(0x175)](_0xd12a52['exception'],undefined)?_0xd12a52[_0xd42826(0x1a2)]:_0xd12a52['exception'][_0xd42826(0x1a2)],_0x2f8bf1=_0x253b2b[_0xd42826(0x175)](_0xd12a52[_0xd42826(0x1af)],undefined)?_0x253b2b[_0xd42826(0x17e)]:_0xd12a52['message'][_0xd42826(0x125)](/Assert/)?_0x253b2b[_0xd42826(0x155)]:_0x253b2b[_0xd42826(0x17e)]),{'status':_0xd12a52[_0xd42826(0x177)][_0xd42826(0x198)](),'failureType':_0x253b2b[_0xd42826(0x192)](_0x2f8bf1,null),'failureData':!_0x4099fb?null:[_0x4099fb]};}[a8_0x4acf32(0x1b9)](_0x3ffd36,_0x4151bb){const _0x1c6d16=a8_0x4acf32,_0x3c9058={};_0x3c9058['oDQhi']=function(_0x5f5966,_0x449533){return _0x5f5966===_0x449533;},_0x3c9058[_0x1c6d16(0x18e)]=_0x1c6d16(0x129),_0x3c9058[_0x1c6d16(0x15a)]=_0x1c6d16(0x1b6);const _0x23a93d=_0x3c9058;let _0x147c17=![];for(const _0x29b7b4 of _0x3ffd36){_0x29b7b4[_0x1c6d16(0x152)]&&(_0x147c17=!![]);if(_0x23a93d[_0x1c6d16(0x141)](_0x4151bb['id'],_0x29b7b4['id']))return _0x147c17?_0x23a93d[_0x1c6d16(0x18e)]:_0x23a93d[_0x1c6d16(0x15a)];}}[a8_0x4acf32(0x13f)]=(_0x5986b7,_0xdb735e)=>{const _0x5dfe18=a8_0x4acf32,_0x302a0f={};_0x302a0f['SrFIy']=function(_0x4d48dd,_0xca9e0e){return _0x4d48dd===_0xca9e0e;},_0x302a0f['Xgnrm']=function(_0x1f079b,_0x2fe035){return _0x1f079b>_0x2fe035;};const _0x2056e3=_0x302a0f;if(!(_0xdb735e[_0x5dfe18(0x179)]&&_0x2056e3['Xgnrm'](_0xdb735e[_0x5dfe18(0x179)]['length'],0x1)))return;const _0x54bb77=_0xdb735e[_0x5dfe18(0x179)][0x0],_0x49b3c4=_0xdb735e['astNodeIds'][0x1],_0x2ddbd6=_0x5986b7['feature']&&_0x5986b7['feature'][_0x5dfe18(0x18b)]?_0x5986b7[_0x5dfe18(0x148)][_0x5dfe18(0x18b)]:undefined;let _0x5bae01=[];_0x2ddbd6&&_0x2ddbd6['forEach'](_0x265eea=>{const _0x542ff0=_0x5dfe18;if(_0x265eea['rule'])_0x265eea[_0x542ff0(0x199)]['children'][_0x542ff0(0x133)](_0x3fc66f=>{const _0x1d5951=_0x542ff0;if(_0x3fc66f[_0x1d5951(0x13b)]&&_0x2056e3[_0x1d5951(0x1c0)](_0x3fc66f[_0x1d5951(0x13b)]['id'],_0x54bb77)&&_0x3fc66f[_0x1d5951(0x13b)][_0x1d5951(0x15b)]){const _0x1b95fc=_0x3fc66f['scenario'][_0x1d5951(0x15b)]['flatMap'](_0x53b9be=>_0x53b9be[_0x1d5951(0x1a9)])[_0x1d5951(0x170)](_0x9ac3ec=>_0x9ac3ec['id']===_0x49b3c4);let _0xf4de5b;_0x1b95fc&&_0x1b95fc[_0x1d5951(0x144)]?_0xf4de5b=_0x1b95fc[_0x1d5951(0x144)][_0x1d5951(0x180)](_0x2e12ec=>_0x2e12ec[_0x1d5951(0x186)]):_0xf4de5b=[],_0xf4de5b&&(_0x5bae01=_0xf4de5b);}});else{if(_0x265eea['scenario']&&_0x2056e3['SrFIy'](_0x265eea[_0x542ff0(0x13b)]['id'],_0x54bb77)&&_0x265eea['scenario']['examples']){const _0x5c9a70=_0x265eea['scenario']['examples'][_0x542ff0(0x16f)](_0x2a0152=>_0x2a0152[_0x542ff0(0x1a9)])[_0x542ff0(0x170)](_0x200648=>_0x200648['id']===_0x49b3c4);let _0x1d019e;_0x5c9a70&&_0x5c9a70[_0x542ff0(0x144)]?_0x1d019e=_0x5c9a70[_0x542ff0(0x144)][_0x542ff0(0x180)](_0x457755=>_0x457755[_0x542ff0(0x186)]):_0x1d019e=[],_0x1d019e&&(_0x5bae01=_0x1d019e);}}});if(_0x5bae01[_0x5dfe18(0x160)])return _0x5bae01;return;};async['configureGit'](){const _0x194f8e=a8_0x4acf32,_0x2b3170={'DYOeH':function(_0x39520d){return _0x39520d();}};if(this[_0x194f8e(0x17b)])return this['_gitConfigPath'];const _0x2d4364=await _0x2b3170['DYOeH'](getGitMetaData);_0x2d4364&&(this[_0x194f8e(0x13a)]=_0x2d4364[_0x194f8e(0x18a)]),this['_gitConfigured']=!![];}}module[a8_0x4acf32(0x13d)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x4acf32(0x187),'getScenarioExamples',a8_0x4acf32(0x1b9),'getHookResult',a8_0x4acf32(0x197),a8_0x4acf32(0x181),a8_0x4acf32(0x14e)]);function a8_0x542b(){const _0x450c9a=['../../helpers/test-observability/sessionHandler','sendTestRunEventForCucumber','QYcIJ','name','failure','pickleStepId','3ZVoEJz','33ydNUQo','mEviN','vxCuD','9AlDtTQ','finished_at','iEJeU','jgwlR','examples','rDyQa','qYfFw','timestamp','erPzh','length','sJiYl','mUcnF','mhKXu','format','failure_reason','DLnQM','ZoGAG','BIWOk','skipped','rzviN','../../helpers/test-observability/error-handler','pOTjM','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','failure_type','flatMap','find','../playwright/reporter/test-details','MiZdl','gRrcY','AbdSe','EfwcH','hooks','status','mscqW','astNodeIds','oBKHu','_gitConfigured','hook_run','test_run','gbgPO','getTestUUID','map','getHookRunEventData','updateTestStatus','DpsBV','testCaseStartedId','fWjTI','value','configureGit','failure_data','ZAXkM','root','children','duration_in_ms','toISOString','jsrPd','iVYTm','testCaseFinished','CUCUMBER','fqQxq','923830Omyzpy','beobo','debug','includes','sendHook','toLowerCase','rule','getHookResult','uploadEventData','1889852YWcDBF','fWAhY','strip-ansi','javascript','210pdccCh','nanos','message','lylXh','relative','250196PvtLyS','HCbaZ','../../helpers/helper','dTGYH','tableBody','tags','atQuV','util','4|3|0|2|1','sKMhL','exception','637770AkfLXo','cucumber','qiaHx','yfEAp','testStepResult','4UyeOQU','BEFORE_EACH','dxdiH','join','getCucumberHookType','result','path','QoBzl','WIwBg','hookId','filter','SrFIy','match','4796600pwjodN','elwqi','Exception\x20in\x20sendHook:\x20','AFTER_EACH','yEkJi','uri','winstonLogger','vbuCt','passed','sourceReference','event_type','test','push','forEach','toString','failed','SKIPPED','TestRunFinished','../../helpers/logger','failureType','_gitConfigPath','scenario','KooGX','exports','uuid','getScenarioExamples','32826XIwNUO','oDQhi','608076aDRoTk','getHooksListForTest','cells','unknown','jdISg','FAILED','feature','UnhandledError','pending','tagExpression','udoQK'];a8_0x542b=function(){return _0x450c9a;};return a8_0x542b();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x24c3cf=a9_0x3ab6;(function(_0x479916,_0x2ce3b6){const _0x4b6ab6=a9_0x3ab6,_0x570395=_0x479916();while(!![]){try{const _0x44cd08=parseInt(_0x4b6ab6(0x236))/0x1*(-parseInt(_0x4b6ab6(0x1aa))/0x2)+parseInt(_0x4b6ab6(0x169))/0x3*(parseInt(_0x4b6ab6(0x1eb))/0x4)+parseInt(_0x4b6ab6(0x1e1))/0x5+-parseInt(_0x4b6ab6(0x15b))/0x6+parseInt(_0x4b6ab6(0x16f))/0x7*(parseInt(_0x4b6ab6(0x1d9))/0x8)+-parseInt(_0x4b6ab6(0x24c))/0x9*(-parseInt(_0x4b6ab6(0x209))/0xa)+parseInt(_0x4b6ab6(0x183))/0xb;if(_0x44cd08===_0x2ce3b6)break;else _0x570395['push'](_0x570395['shift']());}catch(_0x127b09){_0x570395['push'](_0x570395['shift']());}}}(a9_0x550b,0xc71cf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x24c3cf(0x1ca)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x24c3cf(0x24e)),setKeepAlive=require(a9_0x24c3cf(0x159)),util=require(a9_0x24c3cf(0x161)),PerformanceTester=require(a9_0x24c3cf(0x1fb)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x24c3cf(0x224)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x24c3cf(0x1fe)),logger=require(a9_0x24c3cf(0x1f8))[a9_0x24c3cf(0x1dc)],{shouldProcessEventForTesthub}=require(a9_0x24c3cf(0x16d)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x24c3cf(0x24b)),TestDetails=require(a9_0x24c3cf(0x167)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a9_0x24c3cf(0x187)),MyReporter=require(a9_0x24c3cf(0x173)),SessionHandler=require(a9_0x24c3cf(0x1a9)),scripts=require(a9_0x24c3cf(0x1ec)),globals=require('../../helpers/globals'),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x24c3cf(0x1bb)),helper=require(a9_0x24c3cf(0x1ca)),a9_0x125cf={};a9_0x125cf['workerInfo']=undefined,a9_0x125cf[a9_0x24c3cf(0x1cb)]={},a9_0x125cf[a9_0x24c3cf(0x21f)]=![],a9_0x125cf[a9_0x24c3cf(0x22b)]=null,a9_0x125cf[a9_0x24c3cf(0x195)]=![],a9_0x125cf[a9_0x24c3cf(0x1cb)]['id']=undefined,a9_0x125cf[a9_0x24c3cf(0x1cb)][a9_0x24c3cf(0x17d)]=undefined;const workerDetails=a9_0x125cf;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3b17b6){const _0xa5a9e7=a9_0x24c3cf,_0x4fd259={'HMdPE':function(_0x391dee,_0x13a4ad){return _0x391dee(_0x13a4ad);},'kwgJS':_0xa5a9e7(0x233),'JhaBd':_0xa5a9e7(0x220)},_0x1e9c0b=workerDetails[_0xa5a9e7(0x1cb)][_0xa5a9e7(0x17d)];if(!_0x1e9c0b)return;if(playwrightPatcher)try{const _0xaea76a=_0x4fd259[_0xa5a9e7(0x1f1)](require,_0x4fd259[_0xa5a9e7(0x1b0)]);if(_0xaea76a['getInstance']()[_0xa5a9e7(0x17b)]()){const _0x4d1977=_0x1e9c0b['testCaseStartedId'];_0x4d1977?(_0x3b17b6[_0xa5a9e7(0x20b)]=_0x4d1977,_0x3b17b6['test_run_uuid']=_0x4d1977,TestInfo['storeLogObjects'](_0x4d1977,_0x3b17b6)):logger['debug'](_0x4fd259['JhaBd']);return;}}catch(_0xdb895){logger[_0xa5a9e7(0x1de)](_0xa5a9e7(0x205)+util['format'](_0xdb895));}await MyReporter[_0xa5a9e7(0x1ad)](_0x1e9c0b,_0x3b17b6);}),registerListeners=()=>{const _0x394923=a9_0x24c3cf,_0x3e2ecd={};_0x3e2ecd['TeIdW']='Inside\x20browserstack\x20registerListeners';const _0x26f840=_0x3e2ecd;logger['debug'](_0x26f840['TeIdW']),process[_0x394923(0x1f3)](_0x394923(0x18f)+process[_0x394923(0x176)]),process['on']('bs:addLog:'+process['pid'],sendTestLog),PerformanceTester[_0x394923(0x178)]();};function a9_0x3ab6(_0x1c01c8,_0x46b20a){const _0x550bc1=a9_0x550b();return a9_0x3ab6=function(_0x3ab6b,_0x51c6cd){_0x3ab6b=_0x3ab6b-0x156;let _0x2bfa4f=_0x550bc1[_0x3ab6b];return _0x2bfa4f;},a9_0x3ab6(_0x1c01c8,_0x46b20a);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x24c3cf(0x15f)],After=cucumberModule[a9_0x24c3cf(0x1f7)],AfterAll=cucumberModule[a9_0x24c3cf(0x222)],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x24c3cf(0x203)],configuration=process[a9_0x24c3cf(0x1ce)][a9_0x24c3cf(0x1af)],bstackConfig=process[a9_0x24c3cf(0x1ce)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x24c3cf(0x1ea)](configuration);isBrowserstackInfra()?(global[a9_0x24c3cf(0x1c6)]=isTrue(config[a9_0x24c3cf(0x1a7)]),global[a9_0x24c3cf(0x228)]=isTrue(config[a9_0x24c3cf(0x19c)])):(global[a9_0x24c3cf(0x1c6)]=!![],global[a9_0x24c3cf(0x228)]=!![]);!helper[a9_0x24c3cf(0x252)](a9_0x24c3cf(0x229))&&(logger[a9_0x24c3cf(0x1de)](a9_0x24c3cf(0x235)),shouldProcessEventForTesthub()?require(a9_0x24c3cf(0x180))[a9_0x24c3cf(0x189)](config,null,!![]):require(a9_0x24c3cf(0x180))[a9_0x24c3cf(0x189)](config));global[a9_0x24c3cf(0x188)]=config['platformCaps']||{},global['browserstackPlatformIndex']=config[a9_0x24c3cf(0x1d0)];if(helper[a9_0x24c3cf(0x252)](a9_0x24c3cf(0x229)))try{logger[a9_0x24c3cf(0x1de)](a9_0x24c3cf(0x219)),playwrightPatcher=require(a9_0x24c3cf(0x211)),playwrightPatcher[a9_0x24c3cf(0x1e2)](config),logger[a9_0x24c3cf(0x1de)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0xb355d4){logger['debug'](a9_0x24c3cf(0x21a)+util[a9_0x24c3cf(0x208)](a9_0xb355d4));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x24c3cf(0x1ea)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a9_0x24c3cf(0x17c)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a9_0x24c3cf(0x1fa)]=_0x3382d5=>{const _0x23b654=a9_0x24c3cf,_0x43f2ef={'uwpiY':function(_0x20d210,_0x5a29b4){return _0x20d210(_0x5a29b4);}};global[_0x23b654(0x246)]=_0x3382d5,_0x43f2ef[_0x23b654(0x1d7)](__setDefaultTimeout,_0x3382d5);};const a9_0x31db14={};a9_0x31db14['name']=a9_0x24c3cf(0x213),BeforeAll(a9_0x31db14,async function(){const _0x5ed58b=a9_0x24c3cf,_0x348bbe={'epgYD':function(_0xf71d8,_0x761c60,_0x43d8bf,_0x5ed8a3){return _0xf71d8(_0x761c60,_0x43d8bf,_0x5ed8a3);},'ysayA':'failed','cafxJ':_0x5ed58b(0x202),'vEFDo':function(_0x3ddb12,_0x541658,_0x12756a){return _0x3ddb12(_0x541658,_0x12756a);},'YYjmj':_0x5ed58b(0x1f0),'cuHku':'Inside\x20browserstack\x20BeforeAll','brjGu':function(_0x53df8a,_0x465c8d){return _0x53df8a(_0x465c8d);},'cmHiV':_0x5ed58b(0x233),'zldWp':function(_0x18329b,_0x4ea785){return _0x18329b(_0x4ea785);},'tMfqb':_0x5ed58b(0x240),'xVlbU':_0x5ed58b(0x179),'ApYtZ':function(_0x4efcf9){return _0x4efcf9();},'zZVLJ':function(_0x193ef2){return _0x193ef2();},'FliQo':function(_0x59a8fa,_0x481584){return _0x59a8fa(_0x481584);}};PerformanceTester['startMonitoring'](),logger[_0x5ed58b(0x1de)](_0x348bbe[_0x5ed58b(0x1ac)]),global[_0x5ed58b(0x23a)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x59176f=_0x348bbe[_0x5ed58b(0x1be)](require,_0x348bbe[_0x5ed58b(0x1a6)]),_0x39d55f=_0x348bbe[_0x5ed58b(0x1e9)](require,_0x348bbe['tMfqb']);_0x59176f[_0x5ed58b(0x238)]()[_0x5ed58b(0x245)]()&&(logger[_0x5ed58b(0x1de)](_0x348bbe['xVlbU']),_0x39d55f[_0x5ed58b(0x1b1)](FRAMEWORKS[_0x5ed58b(0x177)],FRAMEWORKS[_0x5ed58b(0x1f4)]),await _0x59176f[_0x5ed58b(0x238)]()[_0x5ed58b(0x160)]());}catch(_0x47da51){logger[_0x5ed58b(0x1de)](_0x5ed58b(0x1d6)+util[_0x5ed58b(0x208)](_0x47da51));}_0x348bbe[_0x5ed58b(0x1ed)](shouldProcessEventForTesthub)&&(_0x348bbe['zZVLJ'](registerListeners),_0x348bbe['FliQo'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x1ac77a=_0x5ed58b;let _0x17b90d=![];try{global[_0x1ac77a(0x190)]&&global[_0x1ac77a(0x190)][0x0]&&(await global[_0x1ac77a(0x190)][0x0][_0x1ac77a(0x20d)],_0x17b90d=!![],global['__sessionFailed']?await _0x348bbe[_0x1ac77a(0x1e7)](markSessionStatus,global[_0x1ac77a(0x190)][0x0],_0x348bbe[_0x1ac77a(0x1a2)],global[_0x1ac77a(0x23a)][_0x1ac77a(0x253)](_0x348bbe[_0x1ac77a(0x225)])):await _0x348bbe['vEFDo'](markSessionStatus,global['__drivers'][0x0],_0x348bbe[_0x1ac77a(0x244)]));}catch(_0x30a2d9){logger['debug'](_0x1ac77a(0x1ae)+_0x30a2d9);}global['__error_messages__']=[],global['__sessionFailed']=![];if(_0x17b90d)try{await global[_0x1ac77a(0x190)][0x0][_0x1ac77a(0x1a3)](),global[_0x1ac77a(0x190)][0x0]['session_'][_0x1ac77a(0x16c)](_0x4f225e=>{const _0x432124=_0x1ac77a;logger['debug'](_0x432124(0x242)+_0x4f225e[_0x432124(0x199)]());})[_0x1ac77a(0x172)](_0x513cbb=>{});}catch(_0x566b2e){logger['debug']('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x566b2e);}};});const a9_0x5bd552={};a9_0x5bd552[a9_0x24c3cf(0x1bd)]='bstack',a9_0x5bd552[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],Before(a9_0x5bd552,function(_0x22f93a,_0x495786){const _0x58af7e=a9_0x24c3cf,_0x33640f={'yeWMH':function(_0x30d274,_0x3281ec){return _0x30d274>_0x3281ec;},'KcrJB':function(_0x5e20bc,_0x4fc9c6){return _0x5e20bc>_0x4fc9c6;},'opRVJ':function(_0x5ac90f,_0x27079e){return _0x5ac90f(_0x27079e);},'UtJMn':function(_0x24c4da,_0x4f64fa,_0x47f39d,_0x3a6e52){return _0x24c4da(_0x4f64fa,_0x47f39d,_0x3a6e52);},'Dcgwt':_0x58af7e(0x218),'tjzzv':'../v2/browserstackCLI','TXbnA':function(_0x2ddea4,_0x2a565f){return _0x2ddea4(_0x2a565f);},'VDzqd':_0x58af7e(0x21c),'GDQrx':_0x58af7e(0x16b),'GMybG':_0x58af7e(0x1c7),'VTTKv':_0x58af7e(0x249),'QIfRU':function(_0x38d595){return _0x38d595();},'kWFCd':_0x58af7e(0x196)};commandRepository[_0x58af7e(0x23b)](_0x22f93a[_0x58af7e(0x171)][_0x58af7e(0x1bd)]),logger[_0x58af7e(0x1de)](_0x33640f[_0x58af7e(0x221)]),new Promise(async _0x463647=>{const _0x4b7ba8=_0x58af7e;try{global[_0x4b7ba8(0x190)]&&_0x33640f[_0x4b7ba8(0x198)](global[_0x4b7ba8(0x190)][_0x4b7ba8(0x23e)],0x1)&&(await global[_0x4b7ba8(0x1e6)](),global['__drivers'][_0x4b7ba8(0x18a)]()),global[_0x4b7ba8(0x190)]&&global[_0x4b7ba8(0x190)][0x0]&&global[_0x4b7ba8(0x190)][0x0][_0x4b7ba8(0x231)]&&_0x33640f[_0x4b7ba8(0x15d)](global[_0x4b7ba8(0x190)][0x0]['quitCount_'],0x0)&&await global[_0x4b7ba8(0x1e6)]();}catch(_0x36d10e){logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x158)+_0x36d10e);}workerDetails[_0x4b7ba8(0x1cb)][_0x4b7ba8(0x17d)]=_0x22f93a;if(!playwrightPatcher){try{if(!_0x33640f[_0x4b7ba8(0x1d3)](isUndefined,_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x206)])){const _0x44e4b5=_0x33640f['UtJMn'](shouldScanTestForAccessibility,null,![],_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x206)][_0x4b7ba8(0x1e8)](({name:_0x12d6a2})=>_0x12d6a2));globals['setGlobal'](_0x33640f['Dcgwt'],_0x44e4b5);}}catch(_0x3c140f){logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x19e)+util['format'](_0x3c140f));}workerDetails['currentTest'][_0x4b7ba8(0x166)]=TestDetails['getTestUUID'](_0x22f93a[_0x4b7ba8(0x201)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x4b7ba8(0x16a)](_0x22f93a),global['__workerDetails']&&global[_0x4b7ba8(0x1dd)]['pwPage']&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x4b7ba8(0x1dd)][_0x4b7ba8(0x22b)]);}catch(_0x2558df){logger[_0x4b7ba8(0x1de)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x4b7ba8(0x208)](_0x2558df));}if(playwrightPatcher)try{const _0x5b4101=_0x33640f[_0x4b7ba8(0x1d3)](require,_0x33640f[_0x4b7ba8(0x22d)]),_0x172906=_0x33640f[_0x4b7ba8(0x1b7)](require,_0x33640f['VDzqd']),_0x1f62f9=_0x33640f['TXbnA'](require,_0x33640f[_0x4b7ba8(0x230)]);if(_0x5b4101[_0x4b7ba8(0x238)]()[_0x4b7ba8(0x17b)]()){const _0x5cda4b={'title':_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x1bd)]||_0x33640f[_0x4b7ba8(0x1bc)],'titlePath':[_0x22f93a[_0x4b7ba8(0x171)]['name']||_0x33640f[_0x4b7ba8(0x1bc)]],'id':_0x22f93a[_0x4b7ba8(0x201)]||_0x33640f[_0x4b7ba8(0x20c)],'tags':_0x22f93a['pickle'][_0x4b7ba8(0x206)]||[],..._0x22f93a},_0x54b3c3=_0x5cda4b;global[_0x4b7ba8(0x1b6)]=_0x54b3c3,logger[_0x4b7ba8(0x1de)](_0x4b7ba8(0x165)+_0x22f93a[_0x4b7ba8(0x171)][_0x4b7ba8(0x1bd)]);}}catch(_0x4f340c){logger['debug'](_0x4b7ba8(0x184)+util[_0x4b7ba8(0x208)](_0x4f340c));}_0x33640f[_0x4b7ba8(0x1da)](_0x463647);})['finally'](_0x495786);});const a9_0x63605d={};a9_0x63605d[a9_0x24c3cf(0x1bd)]=a9_0x24c3cf(0x213),a9_0x63605d[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0x63605d,function(_0x2c4b47,_0x30902c){const _0x38d49b=a9_0x24c3cf,_0x1c93ef={'WZYMW':function(_0x230ed2,_0x342610){return _0x230ed2>_0x342610;},'WjLQO':function(_0x53e07d,_0xb2c469){return _0x53e07d===_0xb2c469;},'DFGiR':_0x38d49b(0x1c0),'wZuPi':function(_0xb5447d,_0x2e75b9){return _0xb5447d===_0x2e75b9;},'AxqdZ':function(_0x24bc0b,_0x4d81be){return _0x24bc0b>_0x4d81be;},'JXmsy':function(_0xc17274,_0x2be762,_0x1a1c03,_0x26d375){return _0xc17274(_0x2be762,_0x1a1c03,_0x26d375);},'Zabxi':_0x38d49b(0x202),'pwgEY':function(_0x1de3c4,_0xe9e39,_0x195575){return _0x1de3c4(_0xe9e39,_0x195575);},'ysAZz':'passed','zYYuH':function(_0x279a8b,_0x278ee4){return _0x279a8b(_0x278ee4);},'DJBjJ':_0x38d49b(0x233),'BGPuo':function(_0x14fc66,_0x4404ad){return _0x14fc66(_0x4404ad);},'arFHW':_0x38d49b(0x21c),'memjt':function(_0x2d979f,_0x1ae9ea){return _0x2d979f(_0x1ae9ea);},'VZePZ':_0x38d49b(0x16b),'iVTuB':_0x38d49b(0x1c7),'KMZDM':'cucumber-test','qeBxM':'Completed\x20Playwright\x20afterTestHook\x20execution','TCVHc':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','iBVbQ':_0x38d49b(0x1b2),'LyUQh':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','TklpU':_0x38d49b(0x243),'nLeaZ':_0x38d49b(0x241),'ktgzl':function(_0x2969da){return _0x2969da();},'VERBO':_0x38d49b(0x186),'xVZYK':'isAccessibilityPlatform','tDVXr':'bstackA11yShouldScan','Vvgqw':_0x38d49b(0x21e),'NYiQG':_0x38d49b(0x204),'EiQVs':'isMobilePlatform','OVeCt':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','ldtsZ':function(_0x1895f0,_0x30572e){return _0x1895f0>_0x30572e;},'dgsSI':function(_0x217b7a){return _0x217b7a();},'DYWZu':'Inside\x20browserstack\x20After'};logger[_0x38d49b(0x1de)](_0x1c93ef[_0x38d49b(0x1cc)]),workerDetails[_0x38d49b(0x1cb)][_0x38d49b(0x17d)]=_0x2c4b47,new Promise(async _0x3b3192=>{const _0x45a397=_0x38d49b;let _0x2b875f=![],_0x5baa93=![],_0x103e49=![];try{global[_0x45a397(0x190)]&&_0x1c93ef[_0x45a397(0x22c)](global[_0x45a397(0x190)][_0x45a397(0x23e)],0x0)&&(_0x5baa93=!![]),playwrightPatcher&&global[_0x45a397(0x1dd)]&&global[_0x45a397(0x1dd)][_0x45a397(0x22b)]&&(_0x103e49=!![],logger[_0x45a397(0x1de)](_0x45a397(0x237)+!!global[_0x45a397(0x1dd)][_0x45a397(0x22b)]));}catch(_0x30de41){logger[_0x45a397(0x1de)](_0x45a397(0x1ef)+_0x30de41);}logger[_0x45a397(0x1de)]('Flow\x20detection:\x20isSeleniumFlow='+_0x5baa93+',\x20isPlaywrightFlow='+_0x103e49);const _0x38391a=_0x2c4b47[_0x45a397(0x24a)][_0x45a397(0x162)]['toString']()[_0x45a397(0x1f5)](),_0x1e499f=_0x1c93ef[_0x45a397(0x1d5)](_0x38391a,_0x1c93ef[_0x45a397(0x1a8)])||_0x1c93ef[_0x45a397(0x1fc)](_0x38391a,'6'),_0x5a1a63=_0x1e499f?_0x2c4b47[_0x45a397(0x24a)]['message']:null;if(_0x1e499f)try{global[_0x45a397(0x23a)][_0x45a397(0x247)](_0x2c4b47[_0x45a397(0x24a)][_0x45a397(0x1a1)]),global['__sessionFailed']=!![];}catch(_0x4e9dd2){logger[_0x45a397(0x1de)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x4e9dd2);}if(_0x5baa93)try{global[_0x45a397(0x190)]&&_0x1c93ef[_0x45a397(0x1df)](global[_0x45a397(0x190)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x45a397(0x190)]['shift'](),global[_0x45a397(0x23a)]=[],global[_0x45a397(0x19b)]=![]),global[_0x45a397(0x190)]&&global[_0x45a397(0x190)][0x0]&&(await global[_0x45a397(0x190)][0x0][_0x45a397(0x20d)],_0x2b875f=!![],!global[_0x45a397(0x1c6)]&&await global['__drivers'][0x0]['executeScript'](_0x45a397(0x193)+_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]+_0x45a397(0x168)),_0x1e499f?await _0x1c93ef[_0x45a397(0x1ff)](markSessionStatus,global['__drivers'][0x0],_0x1c93ef['DFGiR'],global[_0x45a397(0x23a)][_0x45a397(0x253)](_0x1c93ef['Zabxi'])):await _0x1c93ef[_0x45a397(0x20f)](markSessionStatus,global['__drivers'][0x0],_0x1c93ef[_0x45a397(0x214)]));}catch(_0x43592c){logger[_0x45a397(0x1de)](_0x45a397(0x22f)+util['format'](_0x43592c));}if(_0x103e49)try{try{const _0x1d4901=_0x1c93ef['zYYuH'](require,_0x1c93ef[_0x45a397(0x197)]),_0x4c55ef=_0x1c93ef[_0x45a397(0x174)](require,_0x1c93ef['arFHW']),_0x5c73fb=_0x1c93ef['memjt'](require,_0x1c93ef[_0x45a397(0x164)]);if(_0x1d4901[_0x45a397(0x238)]()[_0x45a397(0x17b)]()){const _0x404115={'title':_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]||_0x1c93ef[_0x45a397(0x185)],'titlePath':[_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]||_0x1c93ef[_0x45a397(0x185)]],'id':_0x2c4b47[_0x45a397(0x201)]||_0x1c93ef[_0x45a397(0x1cf)],'status':_0x1e499f?_0x1c93ef[_0x45a397(0x1a8)]:_0x1c93ef[_0x45a397(0x214)],'error':_0x5a1a63?{'message':_0x5a1a63}:null,'tags':_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x206)]||[],..._0x2c4b47},_0x2030cf=_0x404115,_0x33d4ca={};_0x33d4ca[_0x45a397(0x17d)]=_0x2030cf,_0x33d4ca[_0x45a397(0x19d)]=_0x2c4b47,_0x33d4ca[_0x45a397(0x239)]=global[_0x45a397(0x1dd)][_0x45a397(0x22b)],_0x33d4ca[_0x45a397(0x192)]=FRAMEWORKS[_0x45a397(0x177)],await _0x1d4901[_0x45a397(0x238)]()[_0x45a397(0x24f)]()['trackEvent'](_0x4c55ef['QUIT'],_0x5c73fb[_0x45a397(0x23f)],_0x33d4ca),logger[_0x45a397(0x1de)](_0x45a397(0x191)+_0x2c4b47[_0x45a397(0x171)][_0x45a397(0x1bd)]);}}catch(_0x16a8ae){logger[_0x45a397(0x1de)](_0x45a397(0x22e)+util['format'](_0x16a8ae));}const _0x54f9c0=_0x1e499f?_0x1c93ef[_0x45a397(0x1a8)]:_0x1c93ef['ysAZz'];await playwrightPatcher[_0x45a397(0x1c4)](_0x2c4b47,_0x54f9c0,_0x5a1a63),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x156)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x170)]);}catch(_0x1e4009){logger[_0x45a397(0x1de)](_0x45a397(0x16e)+util['format'](_0x1e4009));}try{playwrightPatcher[_0x45a397(0x20e)][_0x45a397(0x15c)](),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x215)]);}catch(_0x50240b){logger[_0x45a397(0x1de)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x45a397(0x208)](_0x50240b));}}catch(_0x2fb142){logger[_0x45a397(0x1de)]('Error:\x20at\x20After\x20(Playwright):\x20'+util['format'](_0x2fb142));try{playwrightPatcher[_0x45a397(0x19a)]&&(await playwrightPatcher[_0x45a397(0x19a)](),logger[_0x45a397(0x1de)](_0x1c93ef['LyUQh'])),playwrightPatcher[_0x45a397(0x20e)]&&playwrightPatcher[_0x45a397(0x20e)]['cleanup']&&(playwrightPatcher['closeTracker']['cleanup'](),logger['debug'](_0x1c93ef[_0x45a397(0x207)]));}catch(_0x447b24){logger['debug'](_0x45a397(0x254)+util['format'](_0x447b24));}}const _0x569d09=_0x1c93ef[_0x45a397(0x174)](require,_0x1c93ef[_0x45a397(0x1ab)]);if(!_0x569d09[_0x45a397(0x238)]()['isRunning']())try{if(_0x1c93ef['ktgzl'](shouldProcessEventForTesthub)){const _0x2cb4a0=TestDetails[_0x45a397(0x1b8)](_0x2c4b47[_0x45a397(0x201)]);let _0x48292e=null;global['__drivers']&&global[_0x45a397(0x190)][0x0]&&(_0x48292e=await _0x1c93ef[_0x45a397(0x1ff)](sendPlatformDetails,global['__drivers'][0x0],_0x2cb4a0,!![]));const _0x181af5={};_0x181af5[_0x45a397(0x20b)]=_0x2cb4a0,_0x181af5[_0x45a397(0x1cd)]=_0x48292e;const _0xa9c454=_0x181af5,_0x48b5bf={};_0x48b5bf[_0x45a397(0x1c9)]=_0x1c93ef[_0x45a397(0x1f9)],_0x48b5bf[_0x45a397(0x1b4)]=_0xa9c454,await SessionHandler[_0x45a397(0x157)](_0x48b5bf);}}catch(_0x140df7){logger[_0x45a397(0x1de)](_0x45a397(0x1b3)+util[_0x45a397(0x208)](_0x140df7));}try{if(globals[_0x45a397(0x251)](_0x1c93ef[_0x45a397(0x1e4)])&&globals[_0x45a397(0x251)](_0x1c93ef[_0x45a397(0x182)])){logger[_0x45a397(0x1d2)](_0x1c93ef[_0x45a397(0x250)]);const _0x4cb4aa=TestDetails[_0x45a397(0x1b8)](_0x2c4b47[_0x45a397(0x201)]),_0x5bc864={};_0x5bc864[_0x45a397(0x166)]=_0x4cb4aa,_0x5bc864['thBuildUuid']=process[_0x45a397(0x1ce)][testHubConstants[_0x45a397(0x1c5)][_0x45a397(0x223)]],_0x5bc864['thJwtToken']=process[_0x45a397(0x1ce)][testHubConstants[_0x45a397(0x1c5)][_0x45a397(0x18b)]];const _0x5167ab=_0x5bc864;logger['debug'](_0x45a397(0x18e)+JSON[_0x45a397(0x1c8)](_0x5167ab)),logger[_0x45a397(0x1de)](_0x1c93ef[_0x45a397(0x227)]),global[_0x45a397(0x190)]&&global[_0x45a397(0x190)][0x0]&&(logger[_0x45a397(0x1de)](util[_0x45a397(0x208)](await global[_0x45a397(0x190)][0x0][_0x45a397(0x232)](scripts['performScan'],{'method':global[_0x45a397(0x1a0)]}))),globals[_0x45a397(0x251)](_0x1c93ef['EiQVs'])&&(_0x5167ab[_0x45a397(0x255)]=!![]),await global['__drivers'][0x0][_0x45a397(0x232)](scripts[_0x45a397(0x22a)],_0x5167ab)),logger[_0x45a397(0x1d2)](_0x1c93ef[_0x45a397(0x21d)]);}}catch(_0xeb9ee2){logger[_0x45a397(0x175)](_0x45a397(0x1ba)+util['format'](_0xeb9ee2));}if(_0x2b875f)try{global[_0x45a397(0x190)][0x0]&&_0x1c93ef[_0x45a397(0x1a5)](global[_0x45a397(0x190)][0x0][_0x45a397(0x231)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x1251ba){logger[_0x45a397(0x1de)](_0x45a397(0x1d1)+_0x1251ba);}_0x1c93ef[_0x45a397(0x18d)](_0x3b3192);})[_0x38d49b(0x163)](()=>_0x30902c());});function a9_0x550b(){const _0x4c789d=['result','../../helpers/test-observability/utils','421533qFeZlq','Error:\x20at\x20After\x20Step:\x20','../utils/constants','getAutomationFramework','Vvgqw','getGlobal','getPackageVersion','join','Error\x20in\x20fallback\x20cleanup:\x20','is_mobile_session','qeBxM','uploadEventData','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','../../helpers/setKeepAlive','LRcCn','8969088wpPqPv','cleanup','KcrJB','UexsH','Before','bootstrap','util','status','finally','VZePZ','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','thTestRunUuid','../playwright/reporter/test-details.js','\x22}}','3aMBzFI','beforeTestHook','../v2/state/hookState','then','../../helpers/testhub/utils','Error\x20executing\x20deferred\x20closes:\x20','27447mgLodd','TCVHc','pickle','catch','../playwright/reporter/reporter.js','BGPuo','error','pid','CUCUMBER','startMonitoring','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','dOShH','isRunning','cucumber-js','testInfo','toString','CIqOI','../../index','sFuDL','tDVXr','8569858MYTRzK','Error\x20triggering\x20AutomationFramework\x20events:\x20','iVTuB','CBTSessionCreated','../../helpers/test-observability/error-handler','__platformCaps','browserstackAgentV2','shift','BROWSERSTACK_TESTHUB_JWT','timeout','dgsSI','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','bs:addLog:','__drivers','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','testFramework','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','YuzEC','isPageFixture','Inside\x20browserstack\x20Before','DJBjJ','yeWMH','getId','executeDeferredCloses','__sessionFailed','skipSessionStatus','scenario','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','3|2|1|4|0','browserstackSessionName','message','ysayA','initQuit','Inside\x20browserstack\x20AfterAll','ldtsZ','cmHiV','skipSessionName','DFGiR','../../helpers/test-observability/sessionHandler','2VhiYJe','nLeaZ','cuHku','addTestUIDAndReportLog','Error:\x20cleaning\x20up\x20driver:\x20','CONFIG','kwgJS','setFrameworkDetail','Cleaned\x20up\x20close\x20tracker','Error:\x20sendPlatformDetails\x20at\x20After:\x20','test_run','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','__currentTestInfo','TXbnA','getTestUUID','\x0aError:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','lodash','GMybG','name','brjGu','fJzJO','failed','pickleStep','uPUXY','executeScript','afterTestHook','ENV_VAR','__skipSessionName','Unknown\x20Test','stringify','event_type','../../helpers/helper','currentTest','DYWZu','integrations','env','KMZDM','platformIndex','Error:\x20quiting\x20driver\x20at\x20After:\x20','info','opRVJ','FMyzQ','WjLQO','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uwpiY','split','656ZRzjVq','QIfRU','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','winstonLogger','__workerDetails','debug','AxqdZ','Passed','419775YvwjTa','initializePlaywrightPatching','KtTtY','xVZYK','text','driverCleanup','epgYD','map','zldWp','parse','2395084YEZgLg','../../helpers/accessibility-automation/scripts','ApYtZ','YWdhi','Error\x20determining\x20test\x20flow:\x20','passed','HMdPE','GgSst','removeAllListeners','PLAYWRIGHT','toLowerCase','stopMonitoring','After','../../helpers/logger','VERBO','setDefaultTimeout','../../helpers/performance/performance-tester','wZuPi','shutdown','@cucumber/cucumber','JXmsy','Inside\x20browserstack\x20AfterStep','testCaseStartedId','\x20|\x20','AfterStep','Performing\x20scan\x20before\x20saving\x20results','Error\x20sending\x20log\x20created\x20event:\x20','tags','TklpU','format','140lvgNIZ','LPxjm','uuid','VTTKv','session_','closeTracker','pwgEY','Cucumber-JS','../utils/playwright-patcher','iHSNa','bstack','ysAZz','iBVbQ','lHBaC','IXRKy','bstackA11yShouldScan','Patching\x20Playwright','Error\x20initializing\x20Playwright\x20patching:\x20','QdgcS','../v2/state/automationFrameworkState','OVeCt','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','o11ySyncDone','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','kWFCd','AfterAll','BROWSERSTACK_TESTHUB_UUID','../../helpers/ai-sdk/autoHealHelper','cafxJ','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','NYiQG','__skipSessionStatus','@playwright/test','saveTestResults','pwPage','WZYMW','tjzzv','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','Error:\x20at\x20After\x20(Selenium):\x20','GDQrx','quitCount_','executeAsyncScript','../v2/browserstackCLI','Failed:\x20','Patching\x20Selenium','128629AYAXiq','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','getInstance','page','__error_messages__','setTestNameForHealingContext','cxKpm','DHCRZ','length','PRE','../v2/cliUtils','../v2/browserstackCLI.js','Error:\x20in\x20quitting\x20driver\x20','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','YYjmj','isCliEnabled','__timeout','push',',\x22level\x22:\x20\x22','cucumber-test'];a9_0x550b=function(){return _0x4c789d;};return a9_0x550b();}const a9_0x4caf52={};a9_0x4caf52[a9_0x24c3cf(0x1bd)]=a9_0x24c3cf(0x213),a9_0x4caf52['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],AfterStep(a9_0x4caf52,function(_0x3dd2d4,_0x45ab5a){const _0x23eb4d=a9_0x24c3cf,_0x426c74={'iHSNa':function(_0x4ec76f,_0xb88b8f){return _0x4ec76f===_0xb88b8f;},'uPUXY':_0x23eb4d(0x1c0),'UexsH':function(_0x2bcc43,_0x5ae416){return _0x2bcc43!==_0x5ae416;},'fJzJO':function(_0x2a4332,_0x4f89f6,_0x2fb4d3){return _0x2a4332(_0x4f89f6,_0x2fb4d3);},'FMyzQ':function(_0x4e8f29,_0x51e8b3){return _0x4e8f29+_0x51e8b3;},'CIqOI':function(_0x265786,_0x172e45){return _0x265786+_0x172e45;},'GgSst':_0x23eb4d(0x234),'LRcCn':_0x23eb4d(0x1b9),'IXRKy':_0x23eb4d(0x175),'sFuDL':function(_0x2bc940,_0x334f23,_0x411b92){return _0x2bc940(_0x334f23,_0x411b92);},'Ijqzp':function(_0x2b398c,_0x5b0faf){return _0x2b398c+_0x5b0faf;},'YuzEC':function(_0x26f56d,_0x217a70){return _0x26f56d!==_0x217a70;},'lHBaC':'Passed:\x20','QdgcS':_0x23eb4d(0x1d2),'dOShH':_0x23eb4d(0x1e0),'KtTtY':function(_0x588679){return _0x588679();},'LPxjm':_0x23eb4d(0x200)};logger[_0x23eb4d(0x1de)](_0x426c74[_0x23eb4d(0x20a)]);const _0x59cb10=async(_0x431067,_0x3a811d)=>{const _0x4bb61d=_0x23eb4d;global['__drivers']&&global[_0x4bb61d(0x190)][0x0]&&await global[_0x4bb61d(0x190)][0x0][_0x4bb61d(0x1c3)](_0x4bb61d(0x226)+_0x431067+_0x4bb61d(0x248)+_0x3a811d+_0x4bb61d(0x168));};new Promise(async _0x3b7626=>{const _0x29fa4f=_0x23eb4d;try{const _0x50ca68=_0x426c74[_0x29fa4f(0x212)](_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x162)][_0x29fa4f(0x17e)]()['toLowerCase'](),_0x426c74[_0x29fa4f(0x1c2)])||_0x426c74[_0x29fa4f(0x212)](_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x162)][_0x29fa4f(0x17e)]()[_0x29fa4f(0x1f5)](),'6');_0x50ca68?(global[_0x29fa4f(0x19b)]=!![],global[_0x29fa4f(0x23a)][_0x29fa4f(0x247)](_0x3dd2d4['result']['message']),_0x426c74[_0x29fa4f(0x15e)](_0x3dd2d4['pickleStep'],undefined)?await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x1d4)](_0x426c74[_0x29fa4f(0x1d4)](_0x426c74[_0x29fa4f(0x17f)](_0x426c74['GgSst'],'\x22'+_0x3dd2d4[_0x29fa4f(0x1c1)][_0x29fa4f(0x1e5)]+'\x22\x20'),_0x426c74[_0x29fa4f(0x15a)]),_0x3dd2d4['result'][_0x29fa4f(0x1a1)])),_0x426c74[_0x29fa4f(0x217)]):await _0x426c74[_0x29fa4f(0x181)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74['Ijqzp'](_0x426c74[_0x29fa4f(0x1f2)],_0x3dd2d4[_0x29fa4f(0x24a)][_0x29fa4f(0x1a1)])),_0x426c74[_0x29fa4f(0x217)])):_0x426c74[_0x29fa4f(0x194)](_0x3dd2d4[_0x29fa4f(0x1c1)],undefined)?await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x17f)](_0x426c74[_0x29fa4f(0x216)],'\x22'+_0x3dd2d4['pickleStep'][_0x29fa4f(0x1e5)]+'\x22')),_0x426c74[_0x29fa4f(0x21b)]):await _0x426c74[_0x29fa4f(0x1bf)](_0x59cb10,JSON[_0x29fa4f(0x1c8)](_0x426c74[_0x29fa4f(0x17a)]),_0x426c74[_0x29fa4f(0x21b)]),global[_0x29fa4f(0x190)]&&global[_0x29fa4f(0x190)][0x0]&&global[_0x29fa4f(0x190)][0x0][_0x29fa4f(0x20d)][_0x29fa4f(0x16c)](_0x177719=>{})[_0x29fa4f(0x172)](_0x5e2c0=>{const _0x2d2cb9=_0x29fa4f;logger[_0x2d2cb9(0x1de)](_0x2d2cb9(0x1db)+util[_0x2d2cb9(0x208)](_0x5e2c0));});}catch(_0x3fcd2f){logger[_0x29fa4f(0x1de)](_0x29fa4f(0x24d)+_0x3fcd2f);}_0x426c74[_0x29fa4f(0x1e3)](_0x3b7626);})[_0x23eb4d(0x163)](()=>_0x45ab5a());});const a9_0xf1903={};a9_0xf1903['name']=a9_0x24c3cf(0x213),a9_0xf1903[a9_0x24c3cf(0x18c)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x24c3cf(0x210)],AfterAll(a9_0xf1903,async function(_0x123b57,_0x1421fa){const _0x1d2433=a9_0x24c3cf,_0x53b6cf={'DHCRZ':_0x1d2433(0x19f),'cxKpm':function(_0x4b2280){return _0x4b2280();},'YWdhi':'Cleaned\x20up\x20Playwright\x20close\x20tracker','ghstv':_0x1d2433(0x1a4)};logger[_0x1d2433(0x1de)](_0x53b6cf['ghstv']),await new Promise(async _0x3a4439=>{const _0x240e9c=_0x1d2433,_0x426df6=_0x53b6cf[_0x240e9c(0x23d)][_0x240e9c(0x1d8)]('|');let _0x3ad783=0x0;while(!![]){switch(_0x426df6[_0x3ad783++]){case'0':_0x53b6cf[_0x240e9c(0x23c)](_0x3a4439);continue;case'1':try{playwrightPatcher&&playwrightPatcher[_0x240e9c(0x19a)]&&(await playwrightPatcher[_0x240e9c(0x19a)](),playwrightPatcher[_0x240e9c(0x20e)]&&playwrightPatcher['closeTracker'][_0x240e9c(0x15c)](),logger[_0x240e9c(0x1de)](_0x53b6cf[_0x240e9c(0x1ee)]));}catch(_0x2d4cf9){logger[_0x240e9c(0x1de)](_0x240e9c(0x1b5)+util[_0x240e9c(0x208)](_0x2d4cf9));}continue;case'2':PerformanceTester[_0x240e9c(0x1f6)]();continue;case'3':await RequestQueueHandler[_0x240e9c(0x238)]()[_0x240e9c(0x1fd)]();continue;case'4':await global[_0x240e9c(0x1e6)]();continue;}break;}});});
|
|
1
|
+
const a9_0x5e6c18=a9_0xac3f;(function(_0x304c1a,_0x47aee2){const _0x452de9=a9_0xac3f,_0x3fde5c=_0x304c1a();while(!![]){try{const _0x2cf25b=parseInt(_0x452de9(0x143))/0x1+-parseInt(_0x452de9(0x14f))/0x2*(parseInt(_0x452de9(0x144))/0x3)+-parseInt(_0x452de9(0x118))/0x4+parseInt(_0x452de9(0xaa))/0x5+-parseInt(_0x452de9(0x171))/0x6+parseInt(_0x452de9(0xf7))/0x7+parseInt(_0x452de9(0x14e))/0x8;if(_0x2cf25b===_0x47aee2)break;else _0x3fde5c['push'](_0x3fde5c['shift']());}catch(_0x4e8481){_0x3fde5c['push'](_0x3fde5c['shift']());}}}(a9_0x1e5b,0x97230));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x5e6c18(0x16f)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x5e6c18(0x154)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x5e6c18(0xcc)),PerformanceTester=require(a9_0x5e6c18(0x166)),{EVENTS:PerformanceEvents}=require(a9_0x5e6c18(0x13a)),{commandRepository}=require(a9_0x5e6c18(0x117)),cucumberModule=requireModule(a9_0x5e6c18(0x123),a9_0x5e6c18(0xf4)),logger=require(a9_0x5e6c18(0x11c))[a9_0x5e6c18(0x168)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require('../playwright/reporter/test-details.js'),TestInfo=require(a9_0x5e6c18(0xf8)),RequestQueueHandler=require(a9_0x5e6c18(0xfb)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x5e6c18(0x170)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x5e6c18(0x93)),globals=require(a9_0x5e6c18(0xe4)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x5e6c18(0xf0)),{isUndefined}=require('lodash'),helper=require(a9_0x5e6c18(0x16f)),a9_0x4126c0={};function a9_0xac3f(_0x1b1b50,_0x276182){const _0x1e5b42=a9_0x1e5b();return a9_0xac3f=function(_0xac3f09,_0x2c9b8b){_0xac3f09=_0xac3f09-0x93;let _0x3a60b7=_0x1e5b42[_0xac3f09];return _0x3a60b7;},a9_0xac3f(_0x1b1b50,_0x276182);}a9_0x4126c0[a9_0x5e6c18(0x162)]=undefined,a9_0x4126c0[a9_0x5e6c18(0x175)]={},a9_0x4126c0['o11ySyncDone']=![],a9_0x4126c0['pwPage']=null,a9_0x4126c0['isPageFixture']=![],a9_0x4126c0[a9_0x5e6c18(0x175)]['id']=undefined,a9_0x4126c0[a9_0x5e6c18(0x175)]['testInfo']=undefined;const workerDetails=a9_0x4126c0;global[a9_0x5e6c18(0x152)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x3f7424){const _0x5dbb2b=a9_0x5e6c18,_0xfd0d53={'BBjxo':function(_0x3d2d90,_0x7ee564){return _0x3d2d90(_0x7ee564);},'rHiom':_0x5dbb2b(0x150),'kzwyD':_0x5dbb2b(0x134)},_0x5e603d=workerDetails[_0x5dbb2b(0x175)][_0x5dbb2b(0x167)];if(!_0x5e603d)return;if(playwrightPatcher)try{const _0x1b20ae=_0xfd0d53[_0x5dbb2b(0x169)](require,_0xfd0d53[_0x5dbb2b(0xe3)]);if(_0x1b20ae[_0x5dbb2b(0x13f)]()[_0x5dbb2b(0x145)]()){const _0x130721=_0x5e603d[_0x5dbb2b(0xb8)];_0x130721?(_0x3f7424[_0x5dbb2b(0x127)]=_0x130721,_0x3f7424[_0x5dbb2b(0x17e)]=_0x130721,TestInfo['storeLogObjects'](_0x130721,_0x3f7424)):logger['debug'](_0xfd0d53[_0x5dbb2b(0x108)]);return;}}catch(_0x21b39e){logger[_0x5dbb2b(0x122)](_0x5dbb2b(0x172)+util[_0x5dbb2b(0xe2)](_0x21b39e));}await MyReporter[_0x5dbb2b(0x146)](_0x5e603d,_0x3f7424);}),registerListeners=()=>{const _0x41297a=a9_0x5e6c18,_0x5e3a1f={};_0x5e3a1f[_0x41297a(0x14d)]='Inside\x20browserstack\x20registerListeners';const _0x43b57a=_0x5e3a1f;logger['debug'](_0x43b57a['NizBQ']),process[_0x41297a(0x11b)](_0x41297a(0x10c)+process[_0x41297a(0x147)]),process['on'](_0x41297a(0x10c)+process[_0x41297a(0x147)],sendTestLog),PerformanceTester[_0x41297a(0xa6)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x5e6c18(0xa3)],AfterAll=cucumberModule[a9_0x5e6c18(0x115)],BeforeAll=cucumberModule[a9_0x5e6c18(0xcb)],AfterStep=cucumberModule[a9_0x5e6c18(0x187)],configuration=process[a9_0x5e6c18(0x16e)]['CONFIG'],bstackConfig=process[a9_0x5e6c18(0x16e)][a9_0x5e6c18(0xb4)];if(configuration!==undefined){const config=JSON[a9_0x5e6c18(0xce)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x5e6c18(0x155)]),global[a9_0x5e6c18(0x15b)]=isTrue(config['skipSessionStatus'])):(global[a9_0x5e6c18(0x107)]=!![],global[a9_0x5e6c18(0x15b)]=!![]);!helper['getPackageVersion'](a9_0x5e6c18(0x179))&&(logger[a9_0x5e6c18(0x122)]('Patching\x20Selenium'),shouldProcessEventForTesthub()?require('../../index')[a9_0x5e6c18(0x15e)](config,null,!![]):require('../../index')[a9_0x5e6c18(0x15e)](config));global['__platformCaps']=config[a9_0x5e6c18(0xdb)]||{},global[a9_0x5e6c18(0x114)]=config[a9_0x5e6c18(0x176)];if(helper[a9_0x5e6c18(0x109)](a9_0x5e6c18(0x179)))try{logger['debug']('Patching\x20Playwright'),playwrightPatcher=require(a9_0x5e6c18(0xfc)),playwrightPatcher[a9_0x5e6c18(0x158)](config),logger[a9_0x5e6c18(0x122)](a9_0x5e6c18(0x103));}catch(a9_0x359006){logger[a9_0x5e6c18(0x122)](a9_0x5e6c18(0x95)+util[a9_0x5e6c18(0xe2)](a9_0x359006));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x5e6c18(0xce)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x5e6c18(0x178)](browserStackConfig),commandRepository[a9_0x5e6c18(0xeb)](a9_0x5e6c18(0x138)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0x5e6c18(0x16a)];cucumberModule[a9_0x5e6c18(0x16a)]=_0x2cb543=>{const _0x5576b3=a9_0x5e6c18,_0x266644={'TYrsW':function(_0x5577e7,_0x35a770){return _0x5577e7(_0x35a770);}};global['__timeout']=_0x2cb543,_0x266644[_0x5576b3(0x13d)](__setDefaultTimeout,_0x2cb543);};function a9_0x1e5b(){const _0x4901a5=['tFzIW','Error\x20cleaning\x20up\x20close\x20tracker:\x20',',\x22level\x22:\x20\x22','EccGY','BleQq','fDrpF','name','Error\x20in\x20fallback\x20cleanup:\x20','shift','cleanup','timeout','map','cKMpX','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Cleaned\x20up\x20Playwright\x20close\x20tracker','trackEvent','DkEDA','BeforeAll','util','uploadEventData','parse','Rrmyz','Abxsc','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','closeTracker','thBuildUuid','LAYhP','Performing\x20scan\x20before\x20saving\x20results','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','vwQMD','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Passed:\x20','JNdUN','platformCaps','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','getGlobal','Inside\x20browserstack\x20After','page','shutdown','format','rHiom','../../helpers/globals','eUsFs','push','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','zcitv','EvZdi','PQtPI','setFramework','session_','AEVUp','browserstackSessionName','ENV_VAR','../../helpers/accessibility-automation/helper','Error\x20in\x20playwright\x20beforeTestHook:\x20','beforeTestHook','\x0aError:\x20','@cucumber/cucumber','afterTestHook','CBTSessionCreated','3372621OXsyUb','../v2/TestInfo.js','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','Error:\x20at\x20After\x20(Playwright):\x20','../../helpers/test-observability/requestQueueHandler','../utils/playwright-patcher','Cleaned\x20up\x20close\x20tracker','split','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Inside\x20browserstack\x20AfterStep','YQbrG','testFramework','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','QUIT','xlURW','executeAsyncScript','__skipSessionName','kzwyD','getPackageVersion','bIgXo','getAutomationFramework','bs:addLog:','__error_messages__','pickleStep','1|3|4|2|0','stringify','Unknown\x20Test','Inside\x20browserstack\x20AfterAll','bstack','browserstackPlatformIndex','AfterAll','nPQjL','../../helpers/ai-sdk/autoHealHelper','4680708scQdae','error','result','removeAllListeners','../../helpers/logger','Error:\x20cleaning\x20up\x20driver:\x20','\x20|\x20','../v2/cliUtils','getTestUUID','getId','debug','@cucumber/cucumber/lib/index.js','TbefJ','aKMKU','passed','uuid','NRjDY','eCoMB','status','tpjej','info','HKUZa','Error\x20executing\x20deferred\x20closes:\x20','DzbRv','hApVt','then','scenario','Error:\x20in\x20quitting\x20driver\x20','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','Error\x20triggering\x20AutomationFramework\x20events:\x20','bootstrap','xurMT','cucumber-js','iQwyl','../../helpers/performance/constants','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','finally','TYrsW','Flow\x20detection:\x20isSeleniumFlow=','getInstance','BlqUm','LbBJP','EbdIe','644157sAlFAY','3qsfyMh','isRunning','addTestUIDAndReportLog','pid','Inside\x20browserstack\x20BeforeAll','text','__drivers','dMyOu','QciAL','NizBQ','10477256OhqRSH','1074594iZEBPZ','../v2/browserstackCLI','ASvCf','__workerDetails','Cucumber-JS','../utils/constants','skipSessionName','Completed\x20Playwright\x20afterTestHook\x20execution','OOIBn','initializePlaywrightPatching','SEyJK','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','__skipSessionStatus','nDyJQ','is_mobile_session','browserstackAgentV2','setGlobal','UlTjB','executeScript','workerInfo','__currentTestInfo','YYfof','tags','../../helpers/performance/performance-tester','testInfo','winstonLogger','BBjxo','setDefaultTimeout','yjEKh','driverCleanup','qYZqk','env','../../helpers/helper','../playwright/reporter/reporter.js','6448368HPThln','Error\x20sending\x20log\x20created\x20event:\x20','saveTestResults','../v2/browserstackCLI.js','currentTest','platformIndex','\x22}}','setConfig','@playwright/test','kTtaK','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','jJyrF','qjLap','test_run_uuid','MoOiT','pickle','toString','CUCUMBER','performScan','length','failed','BJpjd','AfterStep','catch','ApbcM','stopMonitoring','../../helpers/accessibility-automation/scripts','../v2/state/hookState','Error\x20initializing\x20Playwright\x20patching:\x20','Error:\x20quiting\x20driver\x20at\x20After:\x20','WCdQL','executeDeferredCloses','bstackA11yShouldScan','cPmax','Failed:\x20','HBhtH','message','join','Error:\x20sendPlatformDetails\x20at\x20After:\x20','WxONm','Error\x20determining\x20test\x20flow:\x20','cucumber-test','After','initQuit','../v2/state/automationFrameworkState','startMonitoring','pwPage','__sessionFailed','BROWSERSTACK_TESTHUB_JWT','4828205czxlYY','integrations','setTestNameForHealingContext','ixygN','Error:\x20at\x20After\x20Step:\x20','wUyle','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','Nuiub','oSuBF','QXsFE','BSTACK_CONFIG','PRE','patchPageCommandsForAccessibility','VYsKR','testCaseStartedId','quitCount_'];a9_0x1e5b=function(){return _0x4901a5;};return a9_0x1e5b();}const a9_0x11bc4b={};a9_0x11bc4b[a9_0x5e6c18(0xc0)]=a9_0x5e6c18(0x113),BeforeAll(a9_0x11bc4b,async function(){const _0x1fd4f1=a9_0x5e6c18,_0x129a7a={'BJpjd':function(_0xb896d8,_0xbaed13,_0x21356e,_0x58b82a){return _0xb896d8(_0xbaed13,_0x21356e,_0x58b82a);},'xlURW':_0x1fd4f1(0x185),'ezHrS':_0x1fd4f1(0x11e),'tFzIW':function(_0x5b7e77,_0x34d893,_0x5350a0){return _0x5b7e77(_0x34d893,_0x5350a0);},'eUsFs':'passed','cKMpX':_0x1fd4f1(0x148),'ixygN':function(_0x1d017e,_0x1febfd){return _0x1d017e(_0x1febfd);},'eDHnf':_0x1fd4f1(0x150),'lyFBG':_0x1fd4f1(0x11f),'DzbRv':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','SEyJK':function(_0x4d0cd0){return _0x4d0cd0();},'tpjej':function(_0x148f95,_0x1830df){return _0x148f95(_0x1830df);}};PerformanceTester[_0x1fd4f1(0xa6)](),logger[_0x1fd4f1(0x122)](_0x129a7a[_0x1fd4f1(0xc6)]),global['__error_messages__']=[],global[_0x1fd4f1(0xa8)]=![];if(playwrightPatcher)try{const _0x58cc06=_0x129a7a[_0x1fd4f1(0xad)](require,_0x129a7a['eDHnf']),_0x3f5358=_0x129a7a[_0x1fd4f1(0xad)](require,_0x129a7a['lyFBG']);_0x58cc06[_0x1fd4f1(0x13f)]()['isCliEnabled']()&&(logger[_0x1fd4f1(0x122)](_0x129a7a[_0x1fd4f1(0x12f)]),_0x3f5358['setFrameworkDetail'](FRAMEWORKS[_0x1fd4f1(0x182)],FRAMEWORKS['PLAYWRIGHT']),await _0x58cc06['getInstance']()[_0x1fd4f1(0x136)]());}catch(_0x4213e4){logger[_0x1fd4f1(0x122)](_0x1fd4f1(0xe7)+util[_0x1fd4f1(0xe2)](_0x4213e4));}_0x129a7a[_0x1fd4f1(0x159)](shouldProcessEventForTesthub)&&(_0x129a7a['SEyJK'](registerListeners),_0x129a7a[_0x1fd4f1(0x12b)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x53686b=_0x1fd4f1;let _0x5a3820=![];try{global[_0x53686b(0x14a)]&&global[_0x53686b(0x14a)][0x0]&&(await global['__drivers'][0x0][_0x53686b(0xec)],_0x5a3820=!![],global[_0x53686b(0xa8)]?await _0x129a7a[_0x53686b(0x186)](markSessionStatus,global['__drivers'][0x0],_0x129a7a[_0x53686b(0x105)],global['__error_messages__'][_0x53686b(0x9e)](_0x129a7a['ezHrS'])):await _0x129a7a[_0x53686b(0xba)](markSessionStatus,global[_0x53686b(0x14a)][0x0],_0x129a7a[_0x53686b(0xe5)]));}catch(_0x2c0fb9){logger['debug'](_0x53686b(0x11d)+_0x2c0fb9);}global[_0x53686b(0x10d)]=[],global[_0x53686b(0xa8)]=![];if(_0x5a3820)try{await global[_0x53686b(0x14a)][0x0][_0x53686b(0xa4)](),global[_0x53686b(0x14a)][0x0]['session_'][_0x53686b(0x131)](_0x231e9d=>{const _0x9864af=_0x53686b;logger[_0x9864af(0x122)](_0x9864af(0x133)+_0x231e9d[_0x9864af(0x121)]());})[_0x53686b(0x188)](_0x311808=>{});}catch(_0xe05e3e){logger[_0x53686b(0x122)](_0x53686b(0x15a)+_0xe05e3e);}};});const a9_0x16dffa={};a9_0x16dffa[a9_0x5e6c18(0xc0)]=a9_0x5e6c18(0x113),a9_0x16dffa[a9_0x5e6c18(0xc4)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a9_0x16dffa,function(_0x4f7636,_0x56912f){const _0x5f4918=a9_0x5e6c18,_0x43e33f={'jJyrF':function(_0x18b85e,_0x362ec2){return _0x18b85e>_0x362ec2;},'dMyOu':function(_0x384107,_0x9ee5c4){return _0x384107>_0x9ee5c4;},'OqpIJ':function(_0x1be134,_0x369def){return _0x1be134(_0x369def);},'EvZdi':function(_0x4c206a,_0x31253e,_0x39b6b7,_0x42a6f4){return _0x4c206a(_0x31253e,_0x39b6b7,_0x42a6f4);},'xCkYT':_0x5f4918(0x99),'nPQjL':function(_0x782102,_0x51ad0f){return _0x782102(_0x51ad0f);},'EbdIe':_0x5f4918(0x150),'DkEDA':function(_0x2a7efe,_0x28c3ed){return _0x2a7efe(_0x28c3ed);},'HzBus':'../v2/state/automationFrameworkState','YQbrG':_0x5f4918(0x94),'EsroW':_0x5f4918(0x111),'bbxwt':_0x5f4918(0xa2),'UlTjB':function(_0xb2d13d){return _0xb2d13d();},'HKUZa':'Inside\x20browserstack\x20Before'};commandRepository[_0x5f4918(0xac)](_0x4f7636[_0x5f4918(0x180)][_0x5f4918(0xc0)]),logger[_0x5f4918(0x122)](_0x43e33f[_0x5f4918(0x12d)]),new Promise(async _0x4ddbeb=>{const _0x1108f2=_0x5f4918;try{global[_0x1108f2(0x14a)]&&_0x43e33f[_0x1108f2(0x17c)](global['__drivers'][_0x1108f2(0x184)],0x1)&&(await global[_0x1108f2(0x16c)](),global[_0x1108f2(0x14a)]['shift']()),global[_0x1108f2(0x14a)]&&global[_0x1108f2(0x14a)][0x0]&&global['__drivers'][0x0][_0x1108f2(0xb9)]&&_0x43e33f[_0x1108f2(0x14b)](global[_0x1108f2(0x14a)][0x0][_0x1108f2(0xb9)],0x0)&&await global['driverCleanup']();}catch(_0x519ff2){logger['debug'](_0x1108f2(0x13b)+_0x519ff2);}workerDetails[_0x1108f2(0x175)][_0x1108f2(0x167)]=_0x4f7636;if(!playwrightPatcher){try{if(!_0x43e33f['OqpIJ'](isUndefined,_0x4f7636[_0x1108f2(0x180)][_0x1108f2(0x165)])){const _0x189ff8=_0x43e33f[_0x1108f2(0xe9)](shouldScanTestForAccessibility,null,![],_0x4f7636['pickle'][_0x1108f2(0x165)][_0x1108f2(0xc5)](({name:_0x3a7b0b})=>_0x3a7b0b));globals[_0x1108f2(0x15f)](_0x43e33f['xCkYT'],_0x189ff8);}}catch(_0x425788){logger[_0x1108f2(0x122)](_0x1108f2(0xf9)+util[_0x1108f2(0xe2)](_0x425788));}workerDetails[_0x1108f2(0x175)]['thTestRunUuid']=TestDetails[_0x1108f2(0x120)](_0x4f7636['testCaseStartedId']);}if(playwrightPatcher)try{await playwrightPatcher[_0x1108f2(0xf2)](_0x4f7636),global[_0x1108f2(0x152)]&&global[_0x1108f2(0x152)]['pwPage']&&playwrightPatcher[_0x1108f2(0xb6)](global[_0x1108f2(0x152)]['pwPage']);}catch(_0x464f54){logger[_0x1108f2(0x122)](_0x1108f2(0xf1)+util[_0x1108f2(0xe2)](_0x464f54));}if(playwrightPatcher)try{const _0xe5fd0d=_0x43e33f[_0x1108f2(0x116)](require,_0x43e33f[_0x1108f2(0x142)]),_0x92f947=_0x43e33f[_0x1108f2(0xca)](require,_0x43e33f['HzBus']),_0x1337f1=_0x43e33f[_0x1108f2(0xca)](require,_0x43e33f[_0x1108f2(0x101)]);if(_0xe5fd0d[_0x1108f2(0x13f)]()['isRunning']()){const _0x4795d6={'title':_0x4f7636[_0x1108f2(0x180)][_0x1108f2(0xc0)]||_0x43e33f['EsroW'],'titlePath':[_0x4f7636[_0x1108f2(0x180)][_0x1108f2(0xc0)]||_0x43e33f['EsroW']],'id':_0x4f7636[_0x1108f2(0xb8)]||_0x43e33f['bbxwt'],'tags':_0x4f7636[_0x1108f2(0x180)][_0x1108f2(0x165)]||[],..._0x4f7636},_0x1d95cb=_0x4795d6;global[_0x1108f2(0x163)]=_0x1d95cb,logger[_0x1108f2(0x122)](_0x1108f2(0xdd)+_0x4f7636[_0x1108f2(0x180)][_0x1108f2(0xc0)]);}}catch(_0x2acfb5){logger[_0x1108f2(0x122)](_0x1108f2(0x135)+util[_0x1108f2(0xe2)](_0x2acfb5));}_0x43e33f[_0x1108f2(0x160)](_0x4ddbeb);})['finally'](_0x56912f);});const a9_0xe5e673={};a9_0xe5e673[a9_0x5e6c18(0xc0)]=a9_0x5e6c18(0x113),a9_0xe5e673['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0xe5e673,function(_0x49d947,_0x227aae){const _0x2503d6=a9_0x5e6c18,_0x572341={'kTtaK':function(_0x4d05bf,_0x50eec8){return _0x4d05bf>_0x50eec8;},'uHRQm':function(_0x40dd86,_0x5b3e6d){return _0x40dd86===_0x5b3e6d;},'iQwyl':_0x2503d6(0x185),'fDrpF':function(_0x151975,_0x2f673f){return _0x151975===_0x2f673f;},'BleQq':function(_0xe0ae52,_0x4d74d0,_0x1c72ce,_0x1ac09a){return _0xe0ae52(_0x4d74d0,_0x1c72ce,_0x1ac09a);},'mWwGK':_0x2503d6(0x11e),'STKXG':function(_0x27d9a9,_0x817862,_0x90f33){return _0x27d9a9(_0x817862,_0x90f33);},'LbBJP':_0x2503d6(0x126),'HBhtH':function(_0x1782c0,_0x2fa014){return _0x1782c0(_0x2fa014);},'nDyJQ':_0x2503d6(0x150),'AEVUp':_0x2503d6(0xa5),'yyInA':_0x2503d6(0x94),'ApbcM':_0x2503d6(0x111),'LAYhP':_0x2503d6(0xa2),'Rrmyz':_0x2503d6(0x156),'PQtPI':_0x2503d6(0xff),'ASvCf':_0x2503d6(0xfd),'eCoMB':_0x2503d6(0xd8),'Abxsc':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','EccGY':function(_0x4f41d3,_0x2b10a0){return _0x4f41d3(_0x2b10a0);},'MoOiT':_0x2503d6(0x174),'vwQMD':function(_0x1925d6){return _0x1925d6();},'QXsFE':_0x2503d6(0xf6),'yjEKh':'isAccessibilityPlatform','aKMKU':_0x2503d6(0x99),'UipVW':_0x2503d6(0x17b),'hApVt':_0x2503d6(0xd5),'VYsKR':'isMobilePlatform','TbefJ':_0x2503d6(0xc7),'WxONm':function(_0x9033f1,_0x1118a7){return _0x9033f1>_0x1118a7;},'bIgXo':_0x2503d6(0xdf)};logger[_0x2503d6(0x122)](_0x572341[_0x2503d6(0x10a)]),workerDetails[_0x2503d6(0x175)][_0x2503d6(0x167)]=_0x49d947,new Promise(async _0x1e766f=>{const _0x2baa36=_0x2503d6;let _0x4bd073=![],_0x2f724a=![],_0x132281=![];try{global[_0x2baa36(0x14a)]&&_0x572341[_0x2baa36(0x17a)](global[_0x2baa36(0x14a)][_0x2baa36(0x184)],0x0)&&(_0x2f724a=!![]),playwrightPatcher&&global[_0x2baa36(0x152)]&&global[_0x2baa36(0x152)][_0x2baa36(0xa7)]&&(_0x132281=!![],logger['debug'](_0x2baa36(0xd6)+!!global[_0x2baa36(0x152)][_0x2baa36(0xa7)]));}catch(_0x42d028){logger[_0x2baa36(0x122)](_0x2baa36(0xa1)+_0x42d028);}logger['debug'](_0x2baa36(0x13e)+_0x2f724a+',\x20isPlaywrightFlow='+_0x132281);const _0x4fffcd=_0x49d947[_0x2baa36(0x11a)][_0x2baa36(0x12a)][_0x2baa36(0x181)]()['toLowerCase'](),_0x5f53d3=_0x572341['uHRQm'](_0x4fffcd,_0x572341[_0x2baa36(0x139)])||_0x572341[_0x2baa36(0xbf)](_0x4fffcd,'6'),_0xbe9da3=_0x5f53d3?_0x49d947[_0x2baa36(0x11a)]['message']:null;if(_0x5f53d3)try{global[_0x2baa36(0x10d)][_0x2baa36(0xe6)](_0x49d947[_0x2baa36(0x11a)][_0x2baa36(0x9d)]),global[_0x2baa36(0xa8)]=!![];}catch(_0x12c90a){logger[_0x2baa36(0x122)](_0x2baa36(0xd1)+_0x12c90a);}if(_0x2f724a)try{global[_0x2baa36(0x14a)]&&_0x572341[_0x2baa36(0x17a)](global[_0x2baa36(0x14a)][_0x2baa36(0x184)],0x1)&&(await global[_0x2baa36(0x16c)](),global[_0x2baa36(0x14a)][_0x2baa36(0xc2)](),global[_0x2baa36(0x10d)]=[],global[_0x2baa36(0xa8)]=![]),global[_0x2baa36(0x14a)]&&global[_0x2baa36(0x14a)][0x0]&&(await global['__drivers'][0x0][_0x2baa36(0xec)],_0x4bd073=!![],!global[_0x2baa36(0x107)]&&await global[_0x2baa36(0x14a)][0x0][_0x2baa36(0x161)](_0x2baa36(0xdc)+_0x49d947['pickle'][_0x2baa36(0xc0)]+_0x2baa36(0x177)),_0x5f53d3?await _0x572341[_0x2baa36(0xbe)](markSessionStatus,global['__drivers'][0x0],_0x572341[_0x2baa36(0x139)],global[_0x2baa36(0x10d)][_0x2baa36(0x9e)](_0x572341['mWwGK'])):await _0x572341['STKXG'](markSessionStatus,global['__drivers'][0x0],_0x572341[_0x2baa36(0x141)]));}catch(_0x446a2b){logger['debug']('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x2baa36(0xe2)](_0x446a2b));}if(_0x132281)try{try{const _0x1249e5=_0x572341[_0x2baa36(0x9c)](require,_0x572341[_0x2baa36(0x15c)]),_0x582786=_0x572341[_0x2baa36(0x9c)](require,_0x572341[_0x2baa36(0xed)]),_0xdb5a4a=_0x572341['HBhtH'](require,_0x572341['yyInA']);if(_0x1249e5[_0x2baa36(0x13f)]()[_0x2baa36(0x145)]()){const _0x5cd165={'title':_0x49d947[_0x2baa36(0x180)][_0x2baa36(0xc0)]||_0x572341['ApbcM'],'titlePath':[_0x49d947[_0x2baa36(0x180)][_0x2baa36(0xc0)]||_0x572341[_0x2baa36(0x189)]],'id':_0x49d947['testCaseStartedId']||_0x572341[_0x2baa36(0xd4)],'status':_0x5f53d3?_0x572341[_0x2baa36(0x139)]:_0x572341['LbBJP'],'error':_0xbe9da3?{'message':_0xbe9da3}:null,'tags':_0x49d947[_0x2baa36(0x180)][_0x2baa36(0x165)]||[],..._0x49d947},_0x1507db=_0x5cd165,_0x3e9cf7={};_0x3e9cf7[_0x2baa36(0x167)]=_0x1507db,_0x3e9cf7[_0x2baa36(0x132)]=_0x49d947,_0x3e9cf7[_0x2baa36(0xe0)]=global[_0x2baa36(0x152)][_0x2baa36(0xa7)],_0x3e9cf7[_0x2baa36(0x102)]=FRAMEWORKS[_0x2baa36(0x182)],await _0x1249e5[_0x2baa36(0x13f)]()[_0x2baa36(0x10b)]()[_0x2baa36(0xc9)](_0x582786[_0x2baa36(0x104)],_0xdb5a4a[_0x2baa36(0xb5)],_0x3e9cf7),logger[_0x2baa36(0x122)](_0x2baa36(0xb0)+_0x49d947[_0x2baa36(0x180)]['name']);}}catch(_0x52fcbd){logger[_0x2baa36(0x122)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x2baa36(0xe2)](_0x52fcbd));}const _0x1d13ba=_0x5f53d3?_0x572341['iQwyl']:_0x572341['LbBJP'];await playwrightPatcher[_0x2baa36(0xf5)](_0x49d947,_0x1d13ba,_0xbe9da3),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0xcf)]);try{await playwrightPatcher[_0x2baa36(0x98)](),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0xea)]);}catch(_0x486fe4){logger['debug'](_0x2baa36(0x12e)+util[_0x2baa36(0xe2)](_0x486fe4));}try{playwrightPatcher[_0x2baa36(0xd2)][_0x2baa36(0xc3)](),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0x151)]);}catch(_0x899f7a){logger[_0x2baa36(0x122)](_0x2baa36(0xbb)+util['format'](_0x899f7a));}}catch(_0xe31cd){logger['debug'](_0x2baa36(0xfa)+util['format'](_0xe31cd));try{playwrightPatcher[_0x2baa36(0x98)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0x129)])),playwrightPatcher[_0x2baa36(0xd2)]&&playwrightPatcher[_0x2baa36(0xd2)][_0x2baa36(0xc3)]&&(playwrightPatcher[_0x2baa36(0xd2)]['cleanup'](),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0xd0)]));}catch(_0x34e789){logger[_0x2baa36(0x122)](_0x2baa36(0xc1)+util[_0x2baa36(0xe2)](_0x34e789));}}const _0x5dcf06=_0x572341[_0x2baa36(0xbd)](require,_0x572341[_0x2baa36(0x17f)]);if(!_0x5dcf06['getInstance']()[_0x2baa36(0x145)]())try{if(_0x572341[_0x2baa36(0xd7)](shouldProcessEventForTesthub)){const _0xf8a241=TestDetails['getTestUUID'](_0x49d947[_0x2baa36(0xb8)]);let _0x5845c8=null;global[_0x2baa36(0x14a)]&&global[_0x2baa36(0x14a)][0x0]&&(_0x5845c8=await _0x572341[_0x2baa36(0xbe)](sendPlatformDetails,global[_0x2baa36(0x14a)][0x0],_0xf8a241,!![]));const _0x545d73={};_0x545d73['uuid']=_0xf8a241,_0x545d73[_0x2baa36(0xab)]=_0x5845c8;const _0x344593=_0x545d73,_0x3d8148={};_0x3d8148['event_type']=_0x572341[_0x2baa36(0xb3)],_0x3d8148['test_run']=_0x344593,await SessionHandler[_0x2baa36(0xcd)](_0x3d8148);}}catch(_0x468f35){logger[_0x2baa36(0x122)](_0x2baa36(0x9f)+util['format'](_0x468f35));}try{if(globals[_0x2baa36(0xde)](_0x572341[_0x2baa36(0x16b)])&&globals[_0x2baa36(0xde)](_0x572341[_0x2baa36(0x125)])){logger[_0x2baa36(0x12c)](_0x572341['UipVW']);const _0x3eed8c=TestDetails[_0x2baa36(0x120)](_0x49d947[_0x2baa36(0xb8)]),_0xe3ecdd={};_0xe3ecdd['thTestRunUuid']=_0x3eed8c,_0xe3ecdd[_0x2baa36(0xd3)]=process[_0x2baa36(0x16e)][testHubConstants[_0x2baa36(0xef)]['BROWSERSTACK_TESTHUB_UUID']],_0xe3ecdd['thJwtToken']=process[_0x2baa36(0x16e)][testHubConstants[_0x2baa36(0xef)][_0x2baa36(0xa9)]];const _0x63d272=_0xe3ecdd;logger[_0x2baa36(0x122)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x63d272)),logger[_0x2baa36(0x122)](_0x572341[_0x2baa36(0x130)]),global['__drivers']&&global[_0x2baa36(0x14a)][0x0]&&(logger[_0x2baa36(0x122)](util['format'](await global[_0x2baa36(0x14a)][0x0][_0x2baa36(0x106)](scripts[_0x2baa36(0x183)],{'method':global[_0x2baa36(0xee)]}))),globals[_0x2baa36(0xde)](_0x572341[_0x2baa36(0xb7)])&&(_0x63d272[_0x2baa36(0x15d)]=!![]),await global[_0x2baa36(0x14a)][0x0]['executeAsyncScript'](scripts[_0x2baa36(0x173)],_0x63d272)),logger[_0x2baa36(0x12c)](_0x572341[_0x2baa36(0x124)]);}}catch(_0x3fcc7c){logger[_0x2baa36(0x119)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x2baa36(0xe2)](_0x3fcc7c));}if(_0x4bd073)try{global['__drivers'][0x0]&&_0x572341[_0x2baa36(0xa0)](global[_0x2baa36(0x14a)][0x0][_0x2baa36(0xb9)],0x0)&&await global[_0x2baa36(0x14a)][0x0][_0x2baa36(0xa4)]();}catch(_0x5e41d0){logger['debug'](_0x2baa36(0x96)+_0x5e41d0);}_0x572341[_0x2baa36(0xd7)](_0x1e766f);})[_0x2503d6(0x13c)](()=>_0x227aae());});const a9_0xeedbb8={};a9_0xeedbb8['name']=a9_0x5e6c18(0x113),a9_0xeedbb8[a9_0x5e6c18(0xc4)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5e6c18(0x153)],AfterStep(a9_0xeedbb8,function(_0x3f1579,_0x56554e){const _0x199991=a9_0x5e6c18,_0x5cdec7={'ebtnP':function(_0x147d90,_0xfa39cb){return _0x147d90===_0xfa39cb;},'wUyle':_0x199991(0x185),'xIvdc':function(_0x3ad33f,_0x5b2433){return _0x3ad33f===_0x5b2433;},'oSuBF':function(_0x2d62da,_0x1e3f47){return _0x2d62da!==_0x1e3f47;},'JNdUN':function(_0x2be121,_0x3ed1df,_0x30d14c){return _0x2be121(_0x3ed1df,_0x30d14c);},'rcMAF':function(_0x27d712,_0x745803){return _0x27d712+_0x745803;},'zcitv':function(_0x45cc4e,_0x555a08){return _0x45cc4e+_0x555a08;},'bTxOM':function(_0xbaaedf,_0x50ebf5){return _0xbaaedf+_0x50ebf5;},'qjLap':_0x199991(0x9b),'qYZqk':_0x199991(0xf3),'NRjDY':_0x199991(0x119),'fJvWM':function(_0x1f28f4,_0x568774){return _0x1f28f4+_0x568774;},'BlqUm':function(_0xebf07d,_0x58e8ed,_0x45634b){return _0xebf07d(_0x58e8ed,_0x45634b);},'OOIBn':function(_0x2e6c6f,_0x1aa61c){return _0x2e6c6f+_0x1aa61c;},'onFTx':_0x199991(0xd9),'cPmax':_0x199991(0x12c),'lQvBs':function(_0x481787,_0x4f77ad,_0x4edd7f){return _0x481787(_0x4f77ad,_0x4edd7f);},'tTTMJ':'Passed','JLcaI':function(_0x4f8677){return _0x4f8677();},'WCdQL':_0x199991(0x100)};logger[_0x199991(0x122)](_0x5cdec7[_0x199991(0x97)]);const _0x487ec9=async(_0x5b98fb,_0x74b8eb)=>{const _0x24bba2=_0x199991;global[_0x24bba2(0x14a)]&&global['__drivers'][0x0]&&await global[_0x24bba2(0x14a)][0x0][_0x24bba2(0x161)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x5b98fb+_0x24bba2(0xbc)+_0x74b8eb+_0x24bba2(0x177));};new Promise(async _0x49fad7=>{const _0x5a6120=_0x199991;try{const _0x3ee740=_0x5cdec7['ebtnP'](_0x3f1579['result'][_0x5a6120(0x12a)][_0x5a6120(0x181)]()['toLowerCase'](),_0x5cdec7[_0x5a6120(0xaf)])||_0x5cdec7['xIvdc'](_0x3f1579['result']['status'][_0x5a6120(0x181)]()['toLowerCase'](),'6');_0x3ee740?(global[_0x5a6120(0xa8)]=!![],global[_0x5a6120(0x10d)][_0x5a6120(0xe6)](_0x3f1579['result'][_0x5a6120(0x9d)]),_0x5cdec7['oSuBF'](_0x3f1579[_0x5a6120(0x10e)],undefined)?await _0x5cdec7['JNdUN'](_0x487ec9,JSON[_0x5a6120(0x110)](_0x5cdec7['rcMAF'](_0x5cdec7[_0x5a6120(0xe8)](_0x5cdec7['bTxOM'](_0x5cdec7[_0x5a6120(0x17d)],'\x22'+_0x3f1579['pickleStep'][_0x5a6120(0x149)]+'\x22\x20'),_0x5cdec7[_0x5a6120(0x16d)]),_0x3f1579[_0x5a6120(0x11a)][_0x5a6120(0x9d)])),_0x5cdec7['NRjDY']):await _0x5cdec7[_0x5a6120(0xda)](_0x487ec9,JSON['stringify'](_0x5cdec7['fJvWM'](_0x5cdec7[_0x5a6120(0x17d)],_0x3f1579[_0x5a6120(0x11a)]['message'])),_0x5cdec7[_0x5a6120(0x128)])):_0x5cdec7[_0x5a6120(0xb2)](_0x3f1579[_0x5a6120(0x10e)],undefined)?await _0x5cdec7[_0x5a6120(0x140)](_0x487ec9,JSON[_0x5a6120(0x110)](_0x5cdec7[_0x5a6120(0x157)](_0x5cdec7['onFTx'],'\x22'+_0x3f1579[_0x5a6120(0x10e)][_0x5a6120(0x149)]+'\x22')),_0x5cdec7[_0x5a6120(0x9a)]):await _0x5cdec7['lQvBs'](_0x487ec9,JSON[_0x5a6120(0x110)](_0x5cdec7['tTTMJ']),_0x5cdec7[_0x5a6120(0x9a)]),global[_0x5a6120(0x14a)]&&global[_0x5a6120(0x14a)][0x0]&&global[_0x5a6120(0x14a)][0x0]['session_']['then'](_0x2b7749=>{})[_0x5a6120(0x188)](_0xd139c=>{const _0x237761=_0x5a6120;logger[_0x237761(0x122)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x237761(0xe2)](_0xd139c));});}catch(_0x117cc3){logger[_0x5a6120(0x122)](_0x5a6120(0xae)+_0x117cc3);}_0x5cdec7['JLcaI'](_0x49fad7);})[_0x199991(0x13c)](()=>_0x56554e());});const a9_0x502eac={};a9_0x502eac[a9_0x5e6c18(0xc0)]=a9_0x5e6c18(0x113),a9_0x502eac['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5e6c18(0x153)],AfterAll(a9_0x502eac,async function(_0x320f83,_0x14e31b){const _0x434be7=a9_0x5e6c18,_0x1fc9f4={'YYfof':_0x434be7(0x10f),'Nuiub':function(_0x1d9ca9){return _0x1d9ca9();},'QciAL':_0x434be7(0xc8),'xurMT':_0x434be7(0x112)};logger[_0x434be7(0x122)](_0x1fc9f4[_0x434be7(0x137)]),await new Promise(async _0x2be460=>{const _0xdb2662=_0x434be7,_0xef137=_0x1fc9f4[_0xdb2662(0x164)][_0xdb2662(0xfe)]('|');let _0x5e8001=0x0;while(!![]){switch(_0xef137[_0x5e8001++]){case'0':_0x1fc9f4[_0xdb2662(0xb1)](_0x2be460);continue;case'1':await RequestQueueHandler[_0xdb2662(0x13f)]()[_0xdb2662(0xe1)]();continue;case'2':await global[_0xdb2662(0x16c)]();continue;case'3':PerformanceTester[_0xdb2662(0x18a)]();continue;case'4':try{playwrightPatcher&&playwrightPatcher[_0xdb2662(0x98)]&&(await playwrightPatcher[_0xdb2662(0x98)](),playwrightPatcher[_0xdb2662(0xd2)]&&playwrightPatcher[_0xdb2662(0xd2)][_0xdb2662(0xc3)](),logger[_0xdb2662(0x122)](_0x1fc9f4[_0xdb2662(0x14c)]));}catch(_0xcf2d3){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0xdb2662(0xe2)](_0xcf2d3));}continue;}break;}});});
|