browserstack-node-sdk 1.55.4 → 1.55.6
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/generated/sdk-messages_pb.d.ts +40 -0
- package/generated/sdk-messages_pb.js +322 -2
- 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_0x3f5fc3=a5_0x2659;(function(_0x8d27f5,_0x331851){const _0x4e6b13=a5_0x2659,_0x1b9560=_0x8d27f5();while(!![]){try{const _0x40fff0=parseInt(_0x4e6b13(0x90))/0x1*(parseInt(_0x4e6b13(0xc4))/0x2)+parseInt(_0x4e6b13(0x93))/0x3+parseInt(_0x4e6b13(0xca))/0x4+-parseInt(_0x4e6b13(0x128))/0x5*(parseInt(_0x4e6b13(0xec))/0x6)+parseInt(_0x4e6b13(0x108))/0x7*(-parseInt(_0x4e6b13(0xee))/0x8)+-parseInt(_0x4e6b13(0xad))/0x9+parseInt(_0x4e6b13(0xf9))/0xa*(parseInt(_0x4e6b13(0xe5))/0xb);if(_0x40fff0===_0x331851)break;else _0x1b9560['push'](_0x1b9560['shift']());}catch(_0x9de525){_0x1b9560['push'](_0x1b9560['shift']());}}}(a5_0x26cc,0xd9f12));function a5_0x2659(_0x4562e4,_0x2d9f6b){const _0x26cc9a=a5_0x26cc();return a5_0x2659=function(_0x265963,_0x35fe13){_0x265963=_0x265963-0x7f;let _0x5948b9=_0x26cc9a[_0x265963];return _0x5948b9;},a5_0x2659(_0x4562e4,_0x2d9f6b);}const fs=require('fs'),path=require(a5_0x3f5fc3(0x9d)),util=require(a5_0x3f5fc3(0x87)),logger=require(a5_0x3f5fc3(0xaa))[a5_0x3f5fc3(0xb0)],helper=require(a5_0x3f5fc3(0xa7)),utilities=require(a5_0x3f5fc3(0xb8)),constants=require(a5_0x3f5fc3(0xd1)),{parallelCucumberRun}=require(a5_0x3f5fc3(0x84)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x3f5fc3(0x97)),chalk=require(a5_0x3f5fc3(0x9f)),PerformanceTester=require(a5_0x3f5fc3(0xa0)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x3f5fc3(0xbe)],BrowserstackCLI=require(a5_0x3f5fc3(0x107)),CLIUtils=require(a5_0x3f5fc3(0x88)),{checkPwandBootstrapCli}=require(a5_0x3f5fc3(0xd3)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function a5_0x26cc(){const _0xce1054=['jNsAj','../../helpers/utilities','kcRot','skipSessionName','sKobA','cyan','length','EVENTS','OAsAe','config','prepareCapabilities','logLevel','PISie','6eqRlsx','argv','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','scenariosFailed','parallelsPerPlatform','uaTPz','5950108siNXmS','bootstrap','DSmbl','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','__isPlaywrightInstalled','browserstackAutomation','stringify','../utils/constants','SDK_CLEANUP','../../helpers/playwright-helper','Removing\x20tmp\x20directory\x20created\x20for\x20reports','testContextOptions','--disable-test-observability','isCLIEnabled','log','initialize','bold','BROWSERSTACK_AUTOMATION','QwJjU','setLogLevel','getHubUrl','env','browserStackCwd','kkdFx','parseFormatters','Generating\x20consolidated\x20report...','KbBwZ','11ViFfEC','isRunning','\x20scenarios','wjykm','configPath','stepsPending','BROWSERSTACK_LOG_LEVEL','6vESWHB','getPlatformName','49328tZloTX','accessibility','finalExecution','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','mnwsi','OlKlO','PLAYWRIGHT','stepsSkipped','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','WEuDC','DWuOy','3628420VEETOo','kjydt','\x20undefined','indexOf','getPackageVersion','cwd','getErrorMessageFromResults','getInstance','SDK_SETUP','format','processSuccess','QMlGl','push','removeDir','../v2/browserstackCLI','1120VXnAke','CUCUMBER','dStDo','error\x20removing\x20tcg\x20config\x20file','../../helpers/test-observability/constants','setUserConfigPath','mergeOutputFiles','stop','wMoHg','fpgLa','FRAMEWORKS','wRpfL','isUndefined','efQTY','\x20passed','wfCrh','testObservability','yellow','debug','../playwright/accessibility-helper','launchBuild','LRjKm','skipSessionStatus','BROWSERSTACK_TEST_OBSERVABILITY','../../helpers/accessibility-automation/helper','@playwright/test','GOSjJ','setFrameworkDetail','stepsFailed','finally','KrFZq','YKcnW','1228555cMeyMm','turboScaleUrl','HiePo','YZLLb','framework','cliConfig','BROWSERSTACK_TEST_ACCESSIBILITY_YML','createDir','binSessionId','../test-runner','true','forEach','util','../v2/cliUtils','bTqYj','assign','bEPQE','gQSIv','\x20skipped','start','platforms','271389SuiqNf','exDLh','jSbPS','2604378rzrRav','MPqit','stepsPassed','exitCode','../../helpers/test-observability/utils','\x20failed','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','unlinkSync','BROWSERSTACK_CLI_BIN_SESSION_ID','WSbrz','path','rmdirSync','chalk','../../helpers/performance/performance-tester','red','setupTCGAuth','tboUH','then','VRYtC','\x20steps','../../helpers/helper','proxySettings','RrbLM','../../helpers/logger','getTCGConfigFilePaths','setBrowserstackConfig','12669309EqaqxM','****\x20RESULTS\x20****','green','winstonLogger','fWWkE','accessibilityOptions','isBrowserstackInfra','cucumber','nhRrJ','MvRdI'];a5_0x26cc=function(){return _0xce1054;};return a5_0x26cc();}function printCucumberStats(_0x232d57){const _0x46be36=a5_0x3f5fc3,_0x497b34={};_0x497b34[_0x46be36(0xf7)]=function(_0x306ff5,_0x1de9b2){return _0x306ff5>_0x1de9b2;},_0x497b34[_0x46be36(0x8c)]=function(_0x4d34ca,_0x27f190){return _0x4d34ca-_0x27f190;},_0x497b34[_0x46be36(0xa5)]=function(_0x288263,_0x3ae663){return _0x288263>_0x3ae663;},_0x497b34[_0x46be36(0xb5)]=function(_0x47139d,_0x437be7){return _0x47139d>_0x437be7;},_0x497b34[_0x46be36(0x12a)]=function(_0x5da5d1,_0x530c5e){return _0x5da5d1>_0x530c5e;},_0x497b34['efQTY']=function(_0x4b7753,_0x439437){return _0x4b7753>_0x439437;},_0x497b34[_0x46be36(0xb6)]=function(_0x533907,_0x99b3d9){return _0x533907>_0x99b3d9;},_0x497b34['dStDo']=function(_0x90b4d9,_0x26d101){return _0x90b4d9>_0x26d101;},_0x497b34[_0x46be36(0xe1)]=function(_0x16a581,_0x960de0){return _0x16a581>_0x960de0;},_0x497b34[_0x46be36(0x89)]=function(_0x33e0fa,_0x572137){return _0x33e0fa>_0x572137;},_0x497b34['MPqit']=function(_0x246f20,_0x26bcff){return _0x246f20>_0x26bcff;},_0x497b34[_0x46be36(0x113)]=function(_0x300c45,_0x3ee3f9){return _0x300c45>_0x3ee3f9;},_0x497b34['fWWkE']=function(_0x4c1440,_0xf37d32){return _0x4c1440+_0xf37d32;},_0x497b34[_0x46be36(0x11d)]=function(_0x1409b1,_0x3faeef){return _0x1409b1+_0x3faeef;},_0x497b34['Jmspn']=function(_0x19679f,_0x59b5ec){return _0x19679f+_0x59b5ec;},_0x497b34[_0x46be36(0x110)]=function(_0x8b4f6c,_0x16185a){return _0x8b4f6c+_0x16185a;},_0x497b34[_0x46be36(0xfa)]=function(_0x28ba4f,_0xfb67f4){return _0x28ba4f+_0xfb67f4;},_0x497b34[_0x46be36(0xa3)]=function(_0x12b89d,_0x3cee21){return _0x12b89d===_0x3cee21;},_0x497b34[_0x46be36(0xb9)]=function(_0x2255f6,_0x3b8988){return _0x2255f6===_0x3b8988;},_0x497b34['KbBwZ']=_0x46be36(0xae);const _0x98f0a6=_0x497b34;let _0x5e7d4b=0x0;if(_0x98f0a6[_0x46be36(0xb9)](_0x232d57[_0x46be36(0xbd)],0x0))return _0x5e7d4b;return console[_0x46be36(0xd8)](chalk[_0x46be36(0xda)]['bgWhite'](_0x98f0a6[_0x46be36(0xe4)])),_0x232d57[_0x46be36(0x86)](_0x39f5d1=>{const _0x3b68ac=_0x46be36,_0x16e4e0=_0x39f5d1[0x0],_0x31cefc=_0x39f5d1[0x1];helper[_0x3b68ac(0xb3)]()&&console[_0x3b68ac(0xd8)]('\x0a'+chalk[_0x3b68ac(0xda)][_0x3b68ac(0x119)](''+helper[_0x3b68ac(0xed)](_0x16e4e0)));const _0x177e79=_0x31cefc['scenarios'],_0x203732=_0x31cefc['steps'],_0x30ba45=_0x31cefc[_0x3b68ac(0xc7)],_0x2b62bc=_0x31cefc[_0x3b68ac(0x124)],_0x57f1d2=_0x31cefc[_0x3b68ac(0x95)],_0x113eee=_0x31cefc[_0x3b68ac(0xf5)],_0x4aa4a9=_0x31cefc[_0x3b68ac(0xea)],_0x5cf8d8=_0x31cefc['stepsUndefined'],_0x40e520=_0x31cefc['stepsUnknown'],_0x4afe3c=_0x31cefc['stepsAmbiguous'],_0x4a2167=_0x31cefc[_0x3b68ac(0x103)];let _0x3cf30d=_0x177e79+_0x3b68ac(0xe7);const _0x3c0d91=_0x98f0a6[_0x3b68ac(0xf7)](_0x98f0a6[_0x3b68ac(0x8c)](_0x177e79,_0x30ba45),0x0)?_0x98f0a6['gQSIv'](_0x177e79,_0x30ba45):0x0;if(_0x98f0a6['WEuDC'](_0x30ba45,0x0)&&_0x98f0a6[_0x3b68ac(0xf7)](_0x3c0d91,0x0))_0x3cf30d+='\x20('+chalk['bold'][_0x3b68ac(0xa1)](_0x30ba45+_0x3b68ac(0x98))+',\x20'+chalk[_0x3b68ac(0xda)][_0x3b68ac(0xaf)](_0x3c0d91+_0x3b68ac(0x116))+')';else(_0x98f0a6['VRYtC'](_0x30ba45,0x0)||_0x98f0a6[_0x3b68ac(0xb5)](_0x3c0d91,0x0))&&(_0x3cf30d+=_0x98f0a6[_0x3b68ac(0x12a)](_0x30ba45,0x0)?'\x20('+chalk[_0x3b68ac(0xda)][_0x3b68ac(0xa1)](_0x30ba45+_0x3b68ac(0x98))+')':'\x20('+chalk[_0x3b68ac(0xda)]['green'](_0x3c0d91+_0x3b68ac(0x116))+')');const _0x98b158=_0x203732+_0x3b68ac(0xa6),_0x30f94c=[];_0x98f0a6[_0x3b68ac(0x115)](_0x4afe3c,0x0)&&_0x30f94c['push'](''+chalk[_0x3b68ac(0xda)]['red'](_0x4afe3c+'\x20ambiguous'));_0x98f0a6[_0x3b68ac(0xb6)](_0x2b62bc,0x0)&&_0x30f94c[_0x3b68ac(0x105)](''+chalk['bold'][_0x3b68ac(0xa1)](_0x2b62bc+_0x3b68ac(0x98)));_0x98f0a6[_0x3b68ac(0x10a)](_0x57f1d2,0x0)&&_0x30f94c[_0x3b68ac(0x105)](''+chalk[_0x3b68ac(0xda)]['green'](_0x57f1d2+_0x3b68ac(0x116)));_0x98f0a6[_0x3b68ac(0xe1)](_0x4aa4a9,0x0)&&_0x30f94c[_0x3b68ac(0x105)](''+chalk[_0x3b68ac(0xda)][_0x3b68ac(0x119)](_0x4aa4a9+'\x20pending'));_0x98f0a6['bTqYj'](_0x113eee,0x0)&&_0x30f94c['push'](''+chalk[_0x3b68ac(0xda)][_0x3b68ac(0xbc)](_0x113eee+_0x3b68ac(0x8d)));_0x98f0a6[_0x3b68ac(0x94)](_0x5cf8d8,0x0)&&_0x30f94c[_0x3b68ac(0x105)](''+chalk['bold'][_0x3b68ac(0x119)](_0x5cf8d8+_0x3b68ac(0xfb)));_0x98f0a6[_0x3b68ac(0x113)](_0x40e520,0x0)&&_0x30f94c[_0x3b68ac(0x105)](''+chalk[_0x3b68ac(0xda)][_0x3b68ac(0x119)](_0x40e520+_0x3b68ac(0x8d)));const _0x5a11c7=_0x98f0a6[_0x3b68ac(0xb1)](_0x98f0a6[_0x3b68ac(0x11d)](_0x98f0a6['fWWkE'](_0x98b158,'('),_0x30f94c['join'](',\x20')),')');console['log'](_0x98f0a6['fWWkE'](_0x98f0a6['Jmspn'](_0x98f0a6[_0x3b68ac(0x110)](_0x98f0a6[_0x3b68ac(0xfa)]('\x0a',_0x3cf30d),'\x0a'),_0x5a11c7),'\x0a')),_0x98f0a6[_0x3b68ac(0xa3)](_0x4a2167,![])&&(_0x5e7d4b=0x1);}),_0x5e7d4b;}async function run(_0x4a4bec,_0x22c896,_0x514a70){const _0x3b83d5=a5_0x3f5fc3,_0x11e039={'OAsAe':function(_0x29dddf,_0x5aaa4f){return _0x29dddf(_0x5aaa4f);},'oHBFx':function(_0x3b806d,_0x337da2){return _0x3b806d>_0x337da2;},'GOSjJ':_0x3b83d5(0xe3),'zqahW':_0x3b83d5(0xd4),'GNwpR':_0x3b83d5(0xb4),'wfCrh':_0x3b83d5(0x10b),'wjykm':_0x3b83d5(0x121),'mnwsi':function(_0x40e721,_0x40f57d,_0x289d0b,_0x1a735e){return _0x40e721(_0x40f57d,_0x289d0b,_0x1a735e);},'QwJjU':'tmp','KWYWK':function(_0x85c17f,_0x3123ac){return _0x85c17f>_0x3123ac;},'jNsAj':function(_0x5c14e9,_0xc15b95){return _0x5c14e9-_0xc15b95;},'OlKlO':function(_0x415f16,_0x4f1c8f){return _0x415f16>=_0x4f1c8f;},'RrbLM':function(_0x387f1b,_0x2672fe){return _0x387f1b!=_0x2672fe;},'PISie':_0x3b83d5(0x85),'YZLLb':function(_0x4a4a84,_0x58d6aa){return _0x4a4a84(_0x58d6aa);},'sKobA':_0x3b83d5(0x120),'fpgLa':_0x3b83d5(0x11b),'NtTvQ':function(_0x41ec67,_0x2e5766){return _0x41ec67(_0x2e5766);},'uaTPz':'false','QMlGl':function(_0x233b10,_0x43729a){return _0x233b10===_0x43729a;},'DWuOy':function(_0x5cbcfc,_0x2678ff){return _0x5cbcfc(_0x2678ff);},'DSmbl':_0x3b83d5(0x107),'jSbPS':_0x3b83d5(0x88),'KrFZq':_0x3b83d5(0x10c),'jEAst':function(_0x2f4b94,_0x3a84d0){return _0x2f4b94(_0x3a84d0);},'WSbrz':_0x3b83d5(0xd6),'XaVRJ':function(_0x347d35,_0x43faeb){return _0x347d35===_0x43faeb;},'jgAMA':function(_0x5e238f,_0x562ff4){return _0x5e238f(_0x562ff4);},'bEPQE':function(_0x2ec0e3,_0x2de284){return _0x2ec0e3(_0x2de284);},'YKcnW':_0x3b83d5(0xe0),'exDLh':function(_0x1abae3,_0x3cb317,_0x3cbf7e,_0x379230,_0x19795c,_0x1c7a9b){return _0x1abae3(_0x3cb317,_0x3cbf7e,_0x379230,_0x19795c,_0x1c7a9b);}},_0x40e0c5=helper[_0x3b83d5(0xfd)](_0x11e039[_0x3b83d5(0xe8)]);global[_0x3b83d5(0xce)]=!!_0x40e0c5,await _0x514a70[_0x3b83d5(0xd9)](_0x4a4bec);if(_0x514a70[_0x3b83d5(0xc0)]&&!helper['isUndefined'](_0x514a70['config'][_0x3b83d5(0xc2)])){process[_0x3b83d5(0xdf)][_0x3b83d5(0xeb)]=_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xc2)];const _0x294ca3={};_0x294ca3[_0x3b83d5(0xc2)]=_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xc2)],helper[_0x3b83d5(0xdd)](_0x294ca3,new Map(),new Map());}await _0x11e039[_0x3b83d5(0xf2)](checkPwandBootstrapCli,_0x40e0c5,constants['FRAMEWORKS']['CUCUMBER'],_0x514a70);BrowserstackCLI[_0x3b83d5(0x100)]()[_0x3b83d5(0x83)]&&(process['env'][_0x3b83d5(0x9b)]=BrowserstackCLI[_0x3b83d5(0x100)]()[_0x3b83d5(0x83)]);helper[_0x3b83d5(0x10d)](_0x514a70[_0x3b83d5(0x7f)],_0x4a4bec);!helper[_0x3b83d5(0xb3)]()&&await _0x514a70[_0x3b83d5(0xa2)]();await helper['handleApp'](_0x514a70[_0x3b83d5(0xc0)]);const _0x3d2e41=helper['useW3C'](_0x514a70['config']);!helper['isUndefined'](_0x514a70['config'][_0x3b83d5(0xb2)])&&(process[_0x3b83d5(0xdf)][_0x3b83d5(0xc6)]=JSON[_0x3b83d5(0xd0)](_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xb2)]));if(!BrowserstackCLI['getInstance']()[_0x3b83d5(0xe6)]()){const _0x4c458c=await TestHubHandler[_0x3b83d5(0x11c)](constants[_0x3b83d5(0x112)]['CUCUMBER'],_0x514a70);}let _0x50fbdb=[];if(!helper[_0x3b83d5(0xb3)]()){const _0x406b24={};_0x406b24[_0x3b83d5(0x8f)]=[],_0x50fbdb=helper[_0x3b83d5(0xc1)](Object[_0x3b83d5(0x8a)]({},_0x514a70['config'],_0x406b24),_0x3d2e41,constants[_0x3b83d5(0x112)]['CUCUMBER']);}else _0x50fbdb=helper[_0x3b83d5(0xc1)](_0x514a70[_0x3b83d5(0xc0)],_0x3d2e41,constants[_0x3b83d5(0x112)]['CUCUMBER']);if(!_0x514a70[_0x3b83d5(0xc0)])return;const _0x5627e0=_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xc8)]||helper['getUserWorkerCount'](_0x4a4bec,_0x22c896,_0x514a70[_0x3b83d5(0xc0)],constants['FRAMEWORKS'][_0x3b83d5(0x109)])||0x1,_0x214b07={'server':helper[_0x3b83d5(0xde)](_0x514a70[_0x3b83d5(0xc0)]),'proxySettings':_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xa8)],'maxWorkers':_0x5627e0,'browserStackLogLevel':_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xc2)],'skipSessionName':_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xd5)][_0x3b83d5(0xba)],'skipSessionStatus':_0x514a70['config'][_0x3b83d5(0xd5)][_0x3b83d5(0x11e)],'turboScaleUrl':_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0x129)]},_0x84462d=process[_0x3b83d5(0xc5)],[_0x589925,_0x35a50c]=helper[_0x3b83d5(0xe2)](_0x84462d),_0x344dd6=path['join'](process[_0x3b83d5(0xfe)](),_0x11e039[_0x3b83d5(0xdc)]);if(_0x11e039['KWYWK'](_0x35a50c[_0x3b83d5(0xbd)],0x0)){helper[_0x3b83d5(0x82)](_0x344dd6);for(let _0x49a36a=_0x11e039[_0x3b83d5(0xb7)](_0x589925['length'],0x1);_0x11e039[_0x3b83d5(0xf3)](_0x49a36a,0x0);_0x49a36a--){_0x84462d['splice'](_0x589925[_0x49a36a],0x2);}}_0x11e039[_0x3b83d5(0xa9)](_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0x118)],null)?process[_0x3b83d5(0xdf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x514a70[_0x3b83d5(0xc0)]['testObservability']:process['env']['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x11e039[_0x3b83d5(0xc3)];if(_0x40e0c5)try{const {checkAccessibilityPlatformConfig:_0x5a4507}=_0x11e039[_0x3b83d5(0x12b)](require,_0x11e039[_0x3b83d5(0xbb)]),{setAccessibilityCapabilities:_0x377949}=_0x11e039[_0x3b83d5(0x12b)](require,_0x11e039[_0x3b83d5(0x111)]),_0x443f1d=_0x11e039['NtTvQ'](_0x5a4507,_0x514a70[_0x3b83d5(0xc0)]);if(!helper[_0x3b83d5(0x114)](_0x514a70[_0x3b83d5(0xc0)][_0x3b83d5(0xef)]))process[_0x3b83d5(0xdf)][_0x3b83d5(0x81)]=_0x11e039[_0x3b83d5(0x12b)](String,!!_0x514a70['config'][_0x3b83d5(0xef)]);else helper['isUndefined'](process[_0x3b83d5(0xdf)][_0x3b83d5(0x81)])&&(process[_0x3b83d5(0xdf)][_0x3b83d5(0x81)]=_0x443f1d?_0x11e039[_0x3b83d5(0xc3)]:_0x11e039[_0x3b83d5(0xc9)]);process[_0x3b83d5(0xdf)][_0x3b83d5(0xcd)]=_0x443f1d?_0x11e039['PISie']:_0x11e039['uaTPz'],!BrowserstackCLI[_0x3b83d5(0x100)]()[_0x3b83d5(0xe6)]()&&_0x11e039[_0x3b83d5(0x104)](process[_0x3b83d5(0xdf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x11e039[_0x3b83d5(0xc3)])&&_0x11e039['NtTvQ'](_0x377949,_0x514a70[_0x3b83d5(0xc0)]);}catch(_0x563a9d){logger['debug'](_0x3b83d5(0x99)+util[_0x3b83d5(0x102)](_0x563a9d));}try{const _0x1c1981=_0x11e039[_0x3b83d5(0xf8)](require,_0x11e039[_0x3b83d5(0xcc)]),_0x3480c5=_0x11e039[_0x3b83d5(0xf8)](require,_0x11e039[_0x3b83d5(0x92)]),{FRAMEWORKS:_0xc33a8c}=_0x11e039['YZLLb'](require,_0x11e039[_0x3b83d5(0x126)]),{checkAccessibilityPlatformConfig:_0x406fc8}=_0x11e039['jEAst'](require,_0x11e039[_0x3b83d5(0xbb)]),{setAccessibilityCapabilities:_0x15f609}=_0x11e039[_0x3b83d5(0xbf)](require,_0x11e039[_0x3b83d5(0x111)]),_0x1a9f1b=helper[_0x3b83d5(0xfd)](_0x11e039[_0x3b83d5(0xe8)]);if(_0x1a9f1b){_0x3480c5[_0x3b83d5(0x123)](constants['FRAMEWORKS'][_0x3b83d5(0x109)],constants[_0x3b83d5(0x112)][_0x3b83d5(0xf4)]),_0x1c1981[_0x3b83d5(0x100)]()[_0x3b83d5(0xac)](_0x514a70[_0x3b83d5(0xc0)],_0x514a70[_0x3b83d5(0xe9)],_0x514a70[_0x3b83d5(0x80)]),await _0x1c1981[_0x3b83d5(0x100)]()[_0x3b83d5(0xcb)]();const _0x1b80ca=_0x1c1981[_0x3b83d5(0x100)]()['getConfig']();!helper['isFalse'](_0x1b80ca[_0x3b83d5(0xcf)])&&(process[_0x3b83d5(0xdf)]['BROWSERSTACK_AUTOMATION']=_0x11e039[_0x3b83d5(0xc3)]);_0x11e039[_0x3b83d5(0x104)](_0x1b80ca[_0x3b83d5(0xcf)],![])&&(process[_0x3b83d5(0xdf)][_0x3b83d5(0xdb)]=_0x11e039['uaTPz']);const _0x1996b6=_0x22c896[_0x3b83d5(0xfc)](_0x11e039[_0x3b83d5(0x9c)]);(_0x11e039[_0x3b83d5(0xf3)](_0x1996b6,0x0)||_0x11e039[_0x3b83d5(0x104)](_0x1b80ca['testObservability'],![]))&&(process[_0x3b83d5(0xdf)][_0x3b83d5(0x11f)]=_0x11e039[_0x3b83d5(0xc9)]);if(!_0x1c1981['getInstance']()['isRunning']()){let _0x37e003=_0x11e039['XaVRJ'](process[_0x3b83d5(0xdf)][_0x3b83d5(0x81)],_0x11e039[_0x3b83d5(0xc3)]);_0x37e003=_0x37e003||_0x11e039['jgAMA'](_0x406fc8,_0x514a70[_0x3b83d5(0xc0)]),process[_0x3b83d5(0xdf)][_0x3b83d5(0x81)]=_0x37e003,_0x37e003&&_0x11e039[_0x3b83d5(0x8b)](_0x15f609,_0x514a70[_0x3b83d5(0xc0)]);}}}catch(_0x15923e){logger[_0x3b83d5(0x11a)](_0x3b83d5(0xf1)+util[_0x3b83d5(0x102)](_0x15923e));}PerformanceTester['end'](PerformanceEvents[_0x3b83d5(0x101)]),process['env'][_0x11e039[_0x3b83d5(0x127)]]=process[_0x3b83d5(0xfe)]();let _0x456cdf;_0x11e039[_0x3b83d5(0x91)](parallelCucumberRun,_0x50fbdb,_0x214b07,_0x514a70[_0x3b83d5(0xc0)],_0x84462d,_0x35a50c)[_0x3b83d5(0xa4)](async _0x1ceb2b=>{const _0x553554=_0x3b83d5;PerformanceTester[_0x553554(0x8e)](PerformanceEvents[_0x553554(0xd2)]),_0x456cdf=_0x1ceb2b;const _0x34e892=_0x11e039[_0x553554(0xbf)](printCucumberStats,_0x1ceb2b);process[_0x553554(0x96)]=_0x34e892,_0x11e039['oHBFx'](_0x35a50c[_0x553554(0xbd)],0x0)&&(logger['debug'](_0x11e039[_0x553554(0x122)]),helper[_0x553554(0x10e)](_0x344dd6,_0x35a50c),logger[_0x553554(0x11a)](_0x11e039['zqahW']),helper[_0x553554(0x106)](_0x344dd6));})[_0x3b83d5(0x125)](async()=>{const _0xd06a07=_0x3b83d5;PerformanceTester[_0xd06a07(0x8e)](PerformanceEvents[_0xd06a07(0xd2)]),_0x514a70['errorMessage']=helper[_0xd06a07(0xff)](_0x456cdf,_0x11e039['GNwpR']),testOpsHelper['printBuildLink']();const _0x3aa215=BrowserstackCLI[_0xd06a07(0xd7)]();try{await TestHubHandler[_0xd06a07(0x10f)](),await BrowserstackCLI['getInstance']()[_0xd06a07(0x10f)]();}catch(_0x1dfd36){logger['debug'](_0xd06a07(0xf6)+util[_0xd06a07(0x102)](_0x1dfd36));}try{const {browserstackFolderPath:_0x36a002,tcgConfigPath:_0x18088}=helper[_0xd06a07(0xab)]();fs[_0xd06a07(0x9a)](_0x18088),fs[_0xd06a07(0x9e)](_0x36a002);}catch(_0x2a4dc1){logger[_0xd06a07(0x11a)](_0x11e039[_0xd06a07(0x117)],_0x2a4dc1);}await utilities[_0xd06a07(0xf0)](_0x514a70,_0x3aa215);});}module['exports']=run;
|
|
@@ -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
|
+
function a6_0xcf09(_0x58ac33,_0x3fd1bf){const _0x488e6a=a6_0x488e();return a6_0xcf09=function(_0xcf0943,_0xa6dfb3){_0xcf0943=_0xcf0943-0x72;let _0x734a17=_0x488e6a[_0xcf0943];return _0x734a17;},a6_0xcf09(_0x58ac33,_0x3fd1bf);}const a6_0x4aaa8a=a6_0xcf09;(function(_0x53b2bc,_0xa354c3){const _0x12c48c=a6_0xcf09,_0x3b1738=_0x53b2bc();while(!![]){try{const _0x15465b=parseInt(_0x12c48c(0xab))/0x1+parseInt(_0x12c48c(0xc5))/0x2+parseInt(_0x12c48c(0xda))/0x3+-parseInt(_0x12c48c(0xee))/0x4*(-parseInt(_0x12c48c(0x7e))/0x5)+parseInt(_0x12c48c(0xd1))/0x6*(parseInt(_0x12c48c(0xf5))/0x7)+parseInt(_0x12c48c(0xb8))/0x8*(parseInt(_0x12c48c(0xf9))/0x9)+-parseInt(_0x12c48c(0x131))/0xa;if(_0x15465b===_0xa354c3)break;else _0x3b1738['push'](_0x3b1738['shift']());}catch(_0x1782ea){_0x3b1738['push'](_0x3b1738['shift']());}}}(a6_0x488e,0xbb2ca));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x4aaa8a(0x78)),util=require(a6_0x4aaa8a(0x13e)),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require(a6_0x4aaa8a(0xb0)),TestObservabilityReporter=require(a6_0x4aaa8a(0xfb)),{o11yClassErrorHandler}=require(a6_0x4aaa8a(0xa5)),{shouldProcessEventForTesthub}=require(a6_0x4aaa8a(0x120)),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x4aaa8a(0xd9)),HookState=require(a6_0x4aaa8a(0x10e)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require(a6_0x4aaa8a(0xbf)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x4aaa8a(0xb7)],_tests={},_testCasesData={};function a6_0x488e(){const _0x2417b3=['onTestCaseFinished','956350JXUtUK','seconds','format','QGLBU','binSessionId','../../playwright/reporter/test-details.js','pickleMap','aTpen','gqCKz','values','status','push','winstonLogger','2595800Enciyq','LKhjH','BROWSERSTACK_CLI_BIN_SESSION_ID','description','testCaseAttempt','widuH','iMeiM','../../../bin/v2/TestInfo.js','testStepFinished','testCase','isRunning','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','xjMtU','1051456ZfidnE','LZTDm','INIT_TEST','sourceLocation','__platform','debug','\x20-\x20','cucumber-js/test.setup.js','keyword','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','uhNqh','testCaseFinished','61014yWlQGn','onTestCase','name','cliInitPromise','testRunFinished','hooks','BCHhu','parse','../../v2/state/testFrameworkState.js','2897856RPriDb','getInstance','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','bAwLt','isCLIReady','onTestStepStarted','toString','wOjLg','BezMz','createHookData','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','stepDefinition','includes','testStepStarted','testStepResult','hXWjY','VCZVz','RamwT','testCaseMap','pickleId','5156xGCcvq','supportCodeLibrary','JNNjw','onTestCaseStarted','cwd','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','rule','217iiffZC','testCaseId','getTestFramework','gherkinDocumentMap','9cCdYGB','extractStepContainers','../test-observability.js','message','LOntV','exception','snippetBuilder','scenario','wWbOy','testCases','JbXVd','getTestCaseAttempt','GeqjM','Executing\x20tests\x20for\x20','find','tMvmD','path','iAQhm','testUUID','failed','onHook','../../v2/state/hookState.js','lWADD','uqcTq','text','log','_performCLIInitialization','SzFqa','source','sendTestRunEventForCucumber','pickleStepId','onGherkinDocument','actionLocation','pJYBa','logTestCaseFinished','../../v2/cliUtils','PRE','IFyvQ','CLI\x20already\x20running\x20-\x20binSessionId:\x20','../../../helpers/testhub/utils.js','parseTestCaseAttempt','POST',',\x20binSessionId:\x20','MSmvF','sendHook','HookRunStarted','BGafL','KyREL','incrementCounter','onTestStepFinished','background','capability','finished_at','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','bootstrap','forEach','25621210sBYaGb','trackEvent','sWrib','getGherkinDocument','XrtFA','hhydd','testRunStarted','test','toISOString','UxmaS','yuCJS','feature','testCaseStartedId','util','failure','dQKUh','OyQmW','eventBroadcaster','LOG_REPORT','testSteps','feIHw','testCaseStarted','HgSVA','children','0|4|2|3|1','hook_type','JYGtI','../../../helpers/helper','Exception\x20in\x20onTestStepStarted\x20event:\x20','IFnMS','FqKoo','envelope','AMBIGUOUS','935tlMMRE','gherkinDocument','createTestFrameworkData','env','testCaseAttemptDataMap','CONFIG','getTestUUID','QNigL','PrTIP','Kffff','finishedAt','cucumber','getGherkinStepMap','testStepId','isBstackHook','onPickle','ensureCLIInitialized','TEST','pickle','result','leJxX','eventDataCollector','map','SKIPPED','onhYz','hook','KUPmG','steps','isCliEnabled','duration','OfQqv','assign','AFWqn','VxOvL','VdovZ','type','onTestRunStarted','report','logTestRunFinished','../../../helpers/test-observability/error-handler','PLAYWRIGHT','setup','onTestRunFinished','uri'];a6_0x488e=function(){return _0x2417b3;};return a6_0x488e();}class BrowserstackFormatter extends Formatter{constructor(_0x52287a){const _0x160d23=a6_0x4aaa8a,_0x56d672={};_0x56d672[_0x160d23(0xfd)]=_0x160d23(0x7c);const _0x5b6c35=_0x56d672;super(_0x52287a),this[_0x160d23(0xa3)]={},_0x52287a[_0x160d23(0x142)]['on'](_0x5b6c35[_0x160d23(0xfd)],async _0x146d61=>{const _0xc23acb=_0x160d23;switch(!![]){case!!_0x146d61[_0xc23acb(0x137)]:this[_0xc23acb(0xa2)](_0x146d61[_0xc23acb(0x137)]);break;case!!_0x146d61[_0xc23acb(0xd5)]:this[_0xc23acb(0xa8)](_0x146d61[_0xc23acb(0xd5)]);break;case!!_0x146d61['testCaseStarted']:this['onTestCaseStarted'](_0x146d61[_0xc23acb(0x72)],_0x52287a,_0x146d61);break;case!!_0x146d61[_0xc23acb(0xd0)]:this[_0xc23acb(0xaa)](_0x146d61[_0xc23acb(0xd0)],_0x52287a,_0x146d61);break;case!!_0x146d61[_0xc23acb(0xe7)]:this['onTestStepStarted'](_0x146d61[_0xc23acb(0xe7)],_0x52287a);break;case!!_0x146d61['testStepFinished']:this[_0xc23acb(0x12a)](_0x146d61[_0xc23acb(0xc0)],_0x52287a);break;case!!_0x146d61['hook']:this['onHook'](_0x146d61[_0xc23acb(0x97)]);break;case!!_0x146d61[_0xc23acb(0xc1)]:this[_0xc23acb(0xd2)](_0x146d61[_0xc23acb(0xc1)]);break;case!!_0x146d61[_0xc23acb(0x90)]:this[_0xc23acb(0x8d)](_0x146d61['pickle']);break;case!!_0x146d61[_0xc23acb(0x7f)]:this[_0xc23acb(0x118)](_0x146d61[_0xc23acb(0x7f)]);break;}});}[a6_0x4aaa8a(0x10d)](_0x302707){const _0x4bf2c6=a6_0x4aaa8a;this[_0x4bf2c6(0xa3)]['hooks']=Object[_0x4bf2c6(0x9d)]([],this[_0x4bf2c6(0xa3)][_0x4bf2c6(0xd6)]||[]),this[_0x4bf2c6(0xa3)]['hooks'][_0x4bf2c6(0xb6)](_0x302707);}[a6_0x4aaa8a(0x8d)](_0x23dc30){const _0x1b21ad=a6_0x4aaa8a;this['report'][_0x1b21ad(0x90)]=Object['assign']([],this[_0x1b21ad(0xa3)][_0x1b21ad(0x90)]||[],[_0x23dc30]),this['report'][_0x1b21ad(0x90)][_0x1b21ad(0xb6)](_0x23dc30);}[a6_0x4aaa8a(0x118)](_0x15d49b){const _0x396df1=a6_0x4aaa8a;this['report'][_0x396df1(0x7f)]=Object[_0x396df1(0x9d)]([],this[_0x396df1(0xa3)][_0x396df1(0x7f)]||[],[_0x15d49b]),this[_0x396df1(0xa3)][_0x396df1(0x7f)][_0x396df1(0xb6)](_0x15d49b);}['onSource'](_0xae92f5){const _0x576525=a6_0x4aaa8a;this[_0x576525(0xa3)][_0x576525(0x115)]=_0xae92f5;}['onStepDefinition'](_0x28c43b){const _0x131701=a6_0x4aaa8a;this['report'][_0x131701(0xe5)]=Object['assign']([],this[_0x131701(0xa3)][_0x131701(0xe5)]||[],[_0x28c43b]),this[_0x131701(0xa3)][_0x131701(0xe5)][_0x131701(0xb6)](_0x28c43b);}['onTestCase'](_0x44e2bc){const _0x28346f=a6_0x4aaa8a;this[_0x28346f(0xa3)][_0x28346f(0x102)]=Object[_0x28346f(0x9d)]([],this[_0x28346f(0xa3)][_0x28346f(0x102)]||[],[_0x44e2bc]),this[_0x28346f(0xa3)][_0x28346f(0x102)][_0x28346f(0xb6)](_0x44e2bc);}[a6_0x4aaa8a(0x11b)](_0x4af53f){const _0xba158e=a6_0x4aaa8a,_0x529a38={'iAQhm':function(_0x4e59ed,_0x332cd0){return _0x4e59ed!==_0x332cd0;},'hhydd':'bstack','leJxX':function(_0x53e5b5,_0x185406){return _0x53e5b5+_0x185406;},'uhNqh':function(_0x437a1f,_0x4911c9){return _0x437a1f+_0x4911c9;},'gqCKz':function(_0x1ffda8,_0x21cd16){return _0x1ffda8+_0x21cd16;},'iMeiM':function(_0x5a069c,_0xccc3df){return _0x5a069c+_0xccc3df;},'widuH':'\x20\x20\x20\x20','KyREL':_0xba158e(0xcb),'XrtFA':function(_0x22257a,_0x2d868c){return _0x22257a===_0x2d868c;},'HgSVA':'FAILED','Kffff':function(_0x2932fa,_0x1526b0,_0xa0c6a5){return _0x2932fa(_0x1526b0,_0xa0c6a5);},'ydqyZ':_0xba158e(0x91),'yuCJS':_0xba158e(0xfc),'hXWjY':function(_0x403264,_0xceeb1f){return _0x403264+_0xceeb1f;},'DNNxw':function(_0x188e46,_0x3ebddc){return _0x188e46!==_0x3ebddc;},'RamwT':function(_0x555415,_0x3d13a6){return _0x555415+_0x3d13a6;}};_0x529a38['DNNxw'](global[_0xba158e(0xc9)],undefined)&&this['log'](_0x529a38[_0xba158e(0xb3)](_0x529a38[_0xba158e(0xb3)]('\x0a',global[_0xba158e(0xc9)]),'\x0a'));const _0x344052=this[_0xba158e(0x93)]['getTestCaseAttempt'](_0x4af53f[_0xba158e(0x13d)]);this[_0xba158e(0x112)](_0x529a38[_0xba158e(0xeb)](_0x529a38['hXWjY'](_0x529a38['hXWjY'](_0x529a38['iMeiM']('\x20\x20',_0x344052[_0xba158e(0x7f)][_0xba158e(0x13c)][_0xba158e(0xd3)]),_0x529a38[_0xba158e(0x128)]),_0x344052[_0xba158e(0x90)][_0xba158e(0xd3)]),'\x0a'));const _0x3baf0a={};_0x3baf0a[_0xba158e(0xf2)]=this[_0xba158e(0xf2)],_0x3baf0a[_0xba158e(0xff)]=this[_0xba158e(0xff)],_0x3baf0a[_0xba158e(0xef)]=this[_0xba158e(0xef)],_0x3baf0a[_0xba158e(0xbc)]=_0x344052;const _0x5b259a=formatterHelpers[_0xba158e(0x121)](_0x3baf0a);let _0x53182c=![];_0x5b259a['testSteps'][_0xba158e(0x130)](_0x54d045=>{const _0x12f8b6=_0xba158e;if(_0x529a38[_0x12f8b6(0x10a)](_0x54d045['name'],_0x529a38[_0x12f8b6(0x136)])&&!this[_0x12f8b6(0x8c)](_0x54d045)){totalTests+=0x1,this['log'](_0x529a38[_0x12f8b6(0x92)](_0x529a38[_0x12f8b6(0xcf)](_0x529a38['gqCKz'](_0x529a38[_0x12f8b6(0xbe)](_0x529a38[_0x12f8b6(0xb3)](_0x529a38[_0x12f8b6(0xbd)],_0x54d045[_0x12f8b6(0xcd)]),_0x54d045[_0x12f8b6(0x111)]||''),_0x529a38['KyREL']),Status[_0x54d045[_0x12f8b6(0x91)][_0x12f8b6(0xb5)]]),'\x0a')),this[_0x12f8b6(0x129)](Status[_0x54d045['result'][_0x12f8b6(0xb5)]]);if(_0x529a38[_0x12f8b6(0x135)](Status[_0x54d045[_0x12f8b6(0x91)]['status']],_0x529a38[_0x12f8b6(0x73)])){_0x53182c=!![];const _0x5ccd49=_0x529a38[_0x12f8b6(0x87)](nestedKeyValue,_0x54d045,[_0x529a38['ydqyZ'],_0x529a38[_0x12f8b6(0x13b)]]);_0x5ccd49&&(testsErrorMessage[_0x529a38[_0x12f8b6(0x92)](_0x529a38[_0x12f8b6(0xe9)](_0x344052[_0x12f8b6(0x7f)]['feature'][_0x12f8b6(0xd3)],_0x529a38['KyREL']),_0x344052[_0x12f8b6(0x90)][_0x12f8b6(0xd3)])]=_0x5ccd49,this[_0x12f8b6(0x112)](_0x529a38[_0x12f8b6(0x92)](_0x5ccd49,'\x0a')));}}}),_0x53182c&&(testSuitesFailed+=0x1),this[_0xba158e(0x112)]('\x0a');}[a6_0x4aaa8a(0xa4)](_0x2f5a0c){}[a6_0x4aaa8a(0x8c)](_0x34a537){const _0x2a2634=a6_0x4aaa8a,_0x50c5e7={};_0x50c5e7[_0x2a2634(0xd7)]=function(_0x1be9af,_0x15ace1){return _0x1be9af!==_0x15ace1;},_0x50c5e7['JYGtI']=_0x2a2634(0xcc);const _0x3bded4=_0x50c5e7;if(_0x3bded4[_0x2a2634(0xd7)](_0x34a537[_0x2a2634(0xc8)],undefined))return![];if(_0x34a537[_0x2a2634(0x119)]&&_0x34a537[_0x2a2634(0x119)][_0x2a2634(0xa9)][_0x2a2634(0xe6)](_0x3bded4[_0x2a2634(0x77)]))return!![];return![];}[a6_0x4aaa8a(0x129)](_0x55b211){const _0x4f39c9=a6_0x4aaa8a,_0x266c07={};_0x266c07['OfQqv']='FAILED',_0x266c07[_0x4f39c9(0x96)]='PASSED',_0x266c07[_0x4f39c9(0xc4)]=_0x4f39c9(0x95),_0x266c07[_0x4f39c9(0x133)]='PENDING',_0x266c07['lWADD']='UNDEFINED',_0x266c07[_0x4f39c9(0x11e)]='UNKNOWN',_0x266c07['BGafL']=_0x4f39c9(0x7d);const _0x271e83=_0x266c07;switch(_0x55b211){case _0x271e83[_0x4f39c9(0x9c)]:testsFailed+=0x1;break;case _0x271e83[_0x4f39c9(0x96)]:testsPassed+=0x1;break;case _0x271e83[_0x4f39c9(0xc4)]:testsSkipped+=0x1;break;case _0x271e83['sWrib']:testsPending+=0x1;break;case _0x271e83[_0x4f39c9(0x10f)]:testsUndefined+=0x1;break;case _0x271e83['IFyvQ']:testsUnknown+=0x1;break;case _0x271e83[_0x4f39c9(0x127)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0xc802cc){const _0x34171b=a6_0x4aaa8a,_0x5bbf0e={'BceKt':function(_0x561e96,_0x1ea000){return _0x561e96!==_0x1ea000;},'QGLBU':function(_0x387887,_0x18c0c7){return _0x387887!==_0x18c0c7;},'JbXVd':function(_0x14299e){return _0x14299e();},'OyQmW':function(_0x1d8423,_0x560efa){return _0x1d8423(_0x560efa);},'MSmvF':function(_0x294ce6,_0xdb296){return _0x294ce6+_0xdb296;},'IFnMS':_0x34171b(0x89)};let _0x1deb98;if(_0x5bbf0e['BceKt'](process['env'][_0x34171b(0x83)],undefined)){const _0x2d18a8=JSON[_0x34171b(0xd8)](process[_0x34171b(0x81)]['CONFIG']);_0x1deb98=_0x2d18a8[_0x34171b(0x12c)];}_0x5bbf0e[_0x34171b(0xae)](_0x1deb98,undefined)&&_0x5bbf0e[_0x34171b(0x103)](isBrowserstackInfra)&&(global[_0x34171b(0xc9)]=_0x5bbf0e[_0x34171b(0x141)](getPlatformName,_0x1deb98),this[_0x34171b(0x112)](_0x5bbf0e[_0x34171b(0x124)](_0x34171b(0x106)+global['__platform'],'\x0a'))),_0x5bbf0e[_0x34171b(0x103)](shouldProcessEventForTesthub)&&(TestDetails[_0x34171b(0xa7)](),this['report'][_0x34171b(0x137)]=_0xc802cc,BrowserstackCLI[_0x34171b(0xdb)]()[_0x34171b(0x9a)]()&&await this[_0x34171b(0xde)]()&&(TestInfo['setup'](_0x5bbf0e[_0x34171b(0x7a)]),await BrowserstackCLI[_0x34171b(0xdb)]()[_0x34171b(0xf7)]()[_0x34171b(0x132)](TestFrameworkState[_0x34171b(0xc7)],HookState[_0x34171b(0x11d)],{})));}[a6_0x4aaa8a(0xa8)](_0x3e9b29){const _0x9e77a7=a6_0x4aaa8a;this['report'][_0x9e77a7(0xd5)]=_0x3e9b29,this[_0x9e77a7(0xa4)](_0x3e9b29);}async[a6_0x4aaa8a(0xf1)](_0x50fa66,_0x17ee2b,_0x275f89){const _0x4bc077=a6_0x4aaa8a,_0x366f2e={'uqcTq':function(_0x5a98fc,_0x26d241){return _0x5a98fc(_0x26d241);},'UxmaS':'TestRunStarted','feIHw':function(_0x33e4a1,_0x122636){return _0x33e4a1&&_0x122636;}};testSuites+=0x1;if(_0x366f2e[_0x4bc077(0x110)](shouldProcessEventForTesthub,_0x366f2e[_0x4bc077(0x13a)]))try{this['report'][_0x4bc077(0x72)]=this[_0x4bc077(0xa3)]['testCaseStarted']||{},this[_0x4bc077(0xa3)][_0x4bc077(0x72)][_0x50fa66['id']]=_0x50fa66;let _0x32674e=null;BrowserstackCLI[_0x4bc077(0xdb)]()[_0x4bc077(0x9a)]()&&await this['isCLIReady']()?_0x32674e=TestInfo[_0x4bc077(0x84)](_0x50fa66['id']):_0x32674e=TestDetails[_0x4bc077(0x84)](_0x50fa66['id']);_testCasesData[_0x50fa66['id']]=Object[_0x4bc077(0x9d)]({},_0x275f89);const _0x27198c=this['report'],_0xdf8c60=_0x50fa66[_0x4bc077(0xf6)],_0x3b17a4=_0x27198c[_0x4bc077(0x102)][_0x4bc077(0x107)](_0x43bbf1=>_0x43bbf1['id']===_0xdf8c60)[_0x4bc077(0xed)],_0x4f4f5d=_0x27198c[_0x4bc077(0x90)][_0x4bc077(0x107)](_0x4158a3=>_0x4158a3['id']===_0x3b17a4),_0x18b368=_0x27198c[_0x4bc077(0x7f)]['find'](_0x2d744d=>_0x2d744d[_0x4bc077(0xa9)]===_0x4f4f5d[_0x4bc077(0xa9)]),_0xb2afb7=_0x18b368[_0x4bc077(0x13c)],_0x40ecdc={'uuid':_0x32674e,'startedAt':new Date()[_0x4bc077(0x139)]()};if(_0x4f4f5d){const _0x3e372f={};_0x3e372f[_0x4bc077(0xd3)]=_0x4f4f5d['name'],_0x40ecdc[_0x4bc077(0x100)]=_0x3e372f;}if(_0x366f2e[_0x4bc077(0x145)](_0x18b368,_0xb2afb7)){const _0x2a29ec={};_0x2a29ec[_0x4bc077(0x109)]=_0x18b368[_0x4bc077(0xa9)],_0x2a29ec[_0x4bc077(0xd3)]=_0xb2afb7['name'],_0x2a29ec[_0x4bc077(0xbb)]=_0xb2afb7[_0x4bc077(0xbb)],_0x40ecdc[_0x4bc077(0x13c)]=_0x2a29ec;}_tests[_0xdf8c60]=_0x40ecdc;if(BrowserstackCLI[_0x4bc077(0xdb)]()[_0x4bc077(0x9a)]()&&await this['isCLIReady']()){const _0x279606=await cucumberUtils['createTestFrameworkData'](_0x40ecdc,_0x4f4f5d,_0x275f89,_0x18b368,_0x50fa66['id'],_0x366f2e[_0x4bc077(0x13a)]),_0x35d592={};_0x35d592[_0x4bc077(0x138)]=_0x279606,await BrowserstackCLI[_0x4bc077(0xdb)]()[_0x4bc077(0xf7)]()[_0x4bc077(0x132)](TestFrameworkState[_0x4bc077(0x8f)],HookState[_0x4bc077(0x11d)],_0x35d592);return;}await testObservabilityReporter[_0x4bc077(0x116)](_0x275f89,_0x18b368,_0x4f4f5d,_0x366f2e['UxmaS'],_0x40ecdc);}catch(_0x49732e){logger['debug'](_0x4bc077(0xc3)+util['format'](_0x49732e)+'\x20');}}async[a6_0x4aaa8a(0xaa)](_0x257fa3,_0x3aeda1,_0x474c42){const _0x37c531=a6_0x4aaa8a,_0x39cab6={'QNigL':function(_0x274a29,_0x25af1d){return _0x274a29(_0x25af1d);},'SzFqa':'TestRunFinished','PrTIP':_0x37c531(0x138)};this[_0x37c531(0x11b)](_0x257fa3);if(_0x39cab6[_0x37c531(0x85)](shouldProcessEventForTesthub,_0x39cab6[_0x37c531(0x114)]))try{this[_0x37c531(0xa3)][_0x37c531(0xd0)]=this[_0x37c531(0xa3)][_0x37c531(0xd0)]||{},this[_0x37c531(0xa3)]['testCaseFinished'][_0x257fa3[_0x37c531(0x13d)]]=_0x257fa3,_testCasesData[_0x474c42['id']]=Object[_0x37c531(0x9d)]({},_0x474c42);const _0xa1b1c2=_0x257fa3[_0x37c531(0x13d)],_0x499d68=_0x3aeda1['eventDataCollector']['testCaseAttemptDataMap'][_0xa1b1c2][_0x37c531(0xf6)],_0x4483e0=_0x3aeda1[_0x37c531(0x93)][_0x37c531(0xec)][_0x499d68],_0x40f1be=_0x4483e0[_0x37c531(0xed)],_0x399568=_0x3aeda1['eventDataCollector'][_0x37c531(0xb1)][_0x40f1be],_0x4ef867=this[_0x37c531(0x134)](_0x3aeda1,_0x399568),_0x44065e=_0x4ef867[_0x37c531(0x13c)],_0x2fc20a=_tests[_0x499d68];_0x2fc20a&&(delete _tests[_0x499d68],_0x2fc20a[_0x37c531(0x88)]=new Date()[_0x37c531(0x139)]());if(BrowserstackCLI['getInstance']()[_0x37c531(0x9a)]()&&await this['isCLIReady']()){const _0x3ed4cc=await cucumberUtils[_0x37c531(0x80)](_0x2fc20a,_0x399568,_0x474c42,_0x4ef867,_0xa1b1c2,_0x39cab6[_0x37c531(0x114)]),_0x51ba17={};_0x51ba17['test']=_0x3ed4cc,await BrowserstackCLI[_0x37c531(0xdb)]()[_0x37c531(0xf7)]()[_0x37c531(0x132)](TestFrameworkState[_0x37c531(0x8f)],HookState['POST'],_0x51ba17);const _0x3c56e6={};_0x3c56e6['testUUID']=_0x257fa3[_0x37c531(0x13d)],_0x3c56e6[_0x37c531(0xa1)]=_0x39cab6[_0x37c531(0x86)],await BrowserstackCLI[_0x37c531(0xdb)]()[_0x37c531(0xf7)]()['trackEvent'](TestFrameworkState[_0x37c531(0x143)],HookState[_0x37c531(0x122)],_0x3c56e6);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x474c42,_0x4ef867,_0x399568,_0x39cab6[_0x37c531(0x114)],_0x2fc20a);}catch(_0x2793fd){logger[_0x37c531(0xca)]('Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20'+util[_0x37c531(0xad)](_0x2793fd));}}async[a6_0x4aaa8a(0xdf)](_0x339a79,_0x3c418f){const _0x250ac1=a6_0x4aaa8a,_0x1ef6f4={'VdovZ':function(_0x38d005,_0x5370da){return _0x38d005(_0x5370da);},'VxOvL':'HookRunStarted','KUPmG':function(_0x2a51fa,_0xe905f9){return _0x2a51fa!==_0xe905f9;},'wOjLg':_0x250ac1(0x8b)};if(_0x1ef6f4[_0x250ac1(0xa0)](shouldProcessEventForTesthub,_0x1ef6f4[_0x250ac1(0x9f)]))try{this['report'][_0x250ac1(0xe7)]=this[_0x250ac1(0xa3)][_0x250ac1(0xe7)]||{},this[_0x250ac1(0xa3)][_0x250ac1(0xe7)][_0x339a79[_0x250ac1(0x13d)]]=_0x339a79;const _0x14613e=_0x339a79[_0x250ac1(0x13d)],_0x28afc4=_0x3c418f[_0x250ac1(0x93)][_0x250ac1(0x82)][_0x14613e]['testCaseId'],_0x5ba8f6=this[_0x250ac1(0xa3)][_0x250ac1(0x102)][_0x250ac1(0x107)](_0x14c3c3=>_0x14c3c3['id']===_0x28afc4)[_0x250ac1(0xed)],_0x201a3a=this[_0x250ac1(0xa3)][_0x250ac1(0x90)][_0x250ac1(0x107)](_0x55979a=>_0x55979a['id']===_0x5ba8f6),_0x4265f4=this[_0x250ac1(0xa3)][_0x250ac1(0x102)][_0x250ac1(0x107)](_0x3d59dc=>_0x3d59dc['id']===_0x28afc4)['testSteps'],_0x83f246=this['report'][_0x250ac1(0xe7)][_0x14613e][_0x250ac1(0x8b)],_0x199c9f=_0x4265f4['find'](_0x9b960b=>_0x9b960b['id']===_0x83f246)[_0x250ac1(0x117)],_0x2824d3=_0x201a3a[_0x250ac1(0x99)]['find'](_0x4cac8f=>_0x4cac8f['id']===_0x199c9f);if(_0x199c9f&&_tests[_0x28afc4]&&_0x1ef6f4[_0x250ac1(0x98)](_tests[_0x28afc4][_0x1ef6f4[_0x250ac1(0xe1)]],_0x83f246)){_tests[_0x28afc4][_0x1ef6f4[_0x250ac1(0xe1)]]=_0x83f246;const _0x20659a={};_0x20659a['steps']=[];const _0x53aba9=_tests[_0x28afc4]||_0x20659a;_0x53aba9&&!_0x53aba9['steps']&&(_0x53aba9[_0x250ac1(0x99)]=[]),_0x53aba9[_0x250ac1(0x99)][_0x250ac1(0xb6)]({'id':_0x2824d3['id'],'text':_0x2824d3[_0x250ac1(0x111)],'started_at':new Date()[_0x250ac1(0x139)]()}),_tests[_0x28afc4]=_0x53aba9;}if(BrowserstackCLI[_0x250ac1(0xdb)]()[_0x250ac1(0x9a)]()&&await this[_0x250ac1(0xde)]()){const _0x408771=await cucumberUtils[_0x250ac1(0xe3)](this[_0x250ac1(0xa3)],_0x14613e,_0x1ef6f4['VxOvL'],_0x4265f4,_0x83f246,_tests[_0x28afc4]);_0x408771&&await BrowserstackCLI[_0x250ac1(0xdb)]()[_0x250ac1(0xf7)]()['trackEvent'](TestFrameworkState[_0x408771['hook_type']],HookState['PRE'],{'hookData':_0x408771,'testUUID':_0x339a79['testCaseStartedId']});return;}await testObservabilityReporter['sendHook'](this[_0x250ac1(0xa3)],_0x14613e,_0x1ef6f4[_0x250ac1(0x9f)],_0x4265f4,_0x83f246,_tests[_0x28afc4]);}catch(_0x54cc86){logger[_0x250ac1(0xca)](_0x250ac1(0x79)+util['format'](_0x54cc86));}}async['onTestStepFinished'](_0xa51182,_0x4c5637){const _0x33cebc=a6_0x4aaa8a,_0x409352={'FqKoo':function(_0xa76d8f,_0x309432){return _0xa76d8f===_0x309432;},'VCZVz':_0x33cebc(0x75),'nZHoC':function(_0x354e61,_0xb7905){return _0x354e61(_0xb7905);},'LZTDm':'HookRunFinished','GeqjM':function(_0x316b8a,_0x212e06){return _0x316b8a===_0x212e06;},'XwPQm':_0x33cebc(0x10c),'avuGh':function(_0x53b1b5,_0x54965e){return _0x53b1b5===_0x54965e;},'aTpen':'UnhandledError','tMvmD':_0x33cebc(0x8b),'BezMz':_0x33cebc(0x126),'bAwLt':_0x33cebc(0x97)};this[_0x33cebc(0xa3)][_0x33cebc(0xc0)]=this[_0x33cebc(0xa3)]['testStepFinished']||{},this[_0x33cebc(0xa3)][_0x33cebc(0xc0)][_0xa51182[_0x33cebc(0x13d)]]=_0xa51182;if(_0x409352['nZHoC'](shouldProcessEventForTesthub,_0x409352[_0x33cebc(0xc6)]))try{const _0x4c1884=_0xa51182[_0x33cebc(0x13d)],_0x21ac1f=_0x4c5637[_0x33cebc(0x93)][_0x33cebc(0x82)][_0x4c1884][_0x33cebc(0xf6)],_0x32084f=_0x4c5637[_0x33cebc(0x93)][_0x33cebc(0xec)][_0x21ac1f],_0x4b82df=_0x32084f[_0x33cebc(0xed)],_0x32c9e0=_0x4c5637[_0x33cebc(0x93)]['pickleMap'][_0x4b82df],_0x27637b=_0xa51182[_0x33cebc(0x8b)],_0x207aa2=_0x32084f[_0x33cebc(0x144)],_0x351af5=this['eventDataCollector'][_0x33cebc(0x104)](_0x4c1884),_0x14cd21=_0x207aa2[_0x33cebc(0x107)](_0x11acef=>_0x11acef['id']===_0x27637b)['pickleStepId'];let _0x2f566d,_0x4ef2b1;_0xa51182[_0x33cebc(0xe8)]&&_0x409352[_0x33cebc(0x105)](_0xa51182[_0x33cebc(0xe8)][_0x33cebc(0xb5)][_0x33cebc(0xe0)]()['toLowerCase'](),_0x409352['XwPQm'])&&(_0x2f566d=_0x409352[_0x33cebc(0x7b)](_0xa51182[_0x33cebc(0xe8)]['exception'],undefined)?_0xa51182[_0x33cebc(0xe8)][_0x33cebc(0xfc)]:_0xa51182[_0x33cebc(0xe8)]['exception'][_0x33cebc(0xfc)],_0x4ef2b1=_0x409352['avuGh'](_0xa51182[_0x33cebc(0xe8)][_0x33cebc(0xfe)],undefined)?_0x409352[_0x33cebc(0xb2)]:_0xa51182[_0x33cebc(0xe8)][_0x33cebc(0xfc)]);if(_0x14cd21&&_tests[_0x21ac1f][_0x409352[_0x33cebc(0x108)]]){const _0x36a246=_0x32c9e0[_0x33cebc(0x99)][_0x33cebc(0x107)](_0x2bf6ad=>_0x2bf6ad['id']===_0x14cd21),_0x28641d={};_0x28641d[_0x33cebc(0x99)]=[];const _0x2e03de=_tests[_0x21ac1f]||_0x28641d;!_0x2e03de[_0x33cebc(0x99)]?_0x2e03de[_0x33cebc(0x99)]=[{'id':_0x36a246['id'],'text':_0x36a246[_0x33cebc(0x111)],'finished_at':new Date()['toISOString'](),'result':_0xa51182['testStepResult'][_0x33cebc(0xb5)],'duration':_0xa51182[_0x33cebc(0xe8)][_0x33cebc(0x9b)]['seconds'],'failure':_0x2f566d,'failureType':_0x4ef2b1}]:_0x2e03de[_0x33cebc(0x99)][_0x33cebc(0x130)](_0x2d9824=>{const _0x4140a1=_0x33cebc;if(_0x409352[_0x4140a1(0x7b)](_0x2d9824['id'],_0x36a246['id'])){const _0x3845ef=_0x409352[_0x4140a1(0xea)]['split']('|');let _0xa9f302=0x0;while(!![]){switch(_0x3845ef[_0xa9f302++]){case'0':_0x2d9824[_0x4140a1(0x12d)]=new Date()[_0x4140a1(0x139)]();continue;case'1':_0x2d9824['failureType']=_0x4ef2b1;continue;case'2':_0x2d9824['duration']=_0xa51182[_0x4140a1(0xe8)][_0x4140a1(0x9b)][_0x4140a1(0xac)];continue;case'3':_0x2d9824[_0x4140a1(0x13f)]=_0x2f566d;continue;case'4':_0x2d9824[_0x4140a1(0x91)]=_0xa51182[_0x4140a1(0xe8)][_0x4140a1(0xb5)];continue;}break;}}}),_tests[_0x21ac1f]=_0x2e03de;}delete _tests[_0x21ac1f][_0x409352['tMvmD']];if(BrowserstackCLI['getInstance']()[_0x33cebc(0x9a)]()&&await this[_0x33cebc(0xde)]()){const _0x4c0292=await cucumberUtils[_0x33cebc(0xe3)](this['report'],_0x4c1884,_0x409352[_0x33cebc(0xe2)],_0x207aa2,_0x27637b,_tests[_0x21ac1f]);if(_0x4c0292){await BrowserstackCLI['getInstance']()[_0x33cebc(0xf7)]()[_0x33cebc(0x132)](TestFrameworkState[_0x4c0292[_0x33cebc(0x76)]],HookState['POST'],{'hookData':_0x4c0292,'testUUID':_0xa51182[_0x33cebc(0x13d)]});const _0x153771={};_0x153771[_0x33cebc(0x10b)]=_0xa51182[_0x33cebc(0x13d)],_0x153771[_0x33cebc(0xa1)]=_0x409352[_0x33cebc(0xdd)],await BrowserstackCLI[_0x33cebc(0xdb)]()[_0x33cebc(0xf7)]()[_0x33cebc(0x132)](TestFrameworkState[_0x33cebc(0x143)],HookState[_0x33cebc(0x122)],_0x153771);}return;}await testObservabilityReporter[_0x33cebc(0x125)](this[_0x33cebc(0xa3)],_0x4c1884,_0x409352[_0x33cebc(0xc6)],_0x207aa2,_0x27637b,_tests[_0x21ac1f]);}catch(_0x4cb0db){logger['debug']('Exception\x20in\x20onTestStepFinished\x20event:\x20'+util[_0x33cebc(0xad)](_0x4cb0db));}}[a6_0x4aaa8a(0x8a)](_0x44ccdc){const _0xe21fa0=a6_0x4aaa8a,_0x3b623d={};return _0x44ccdc['feature'][_0xe21fa0(0x74)][_0xe21fa0(0x94)](this[_0xe21fa0(0xfa)])['flat']()[_0xe21fa0(0x130)](_0xcdb80d=>_0xcdb80d[_0xe21fa0(0x99)][_0xe21fa0(0x130)](_0xcefd52=>_0x3b623d[_0xcefd52['id']]=_0xcefd52)),_0x3b623d;}[a6_0x4aaa8a(0xfa)](_0x25d235){const _0x5d3cc8=a6_0x4aaa8a,_0x43b769={'dQKUh':function(_0x35b300,_0x38ec12){return _0x35b300(_0x38ec12);}};if(!_0x43b769[_0x5d3cc8(0x140)](isUndefined,_0x25d235[_0x5d3cc8(0x12b)]))return[_0x25d235['background']];else{if(!_0x43b769[_0x5d3cc8(0x140)](isUndefined,_0x25d235[_0x5d3cc8(0xf4)]))return _0x25d235[_0x5d3cc8(0xf4)][_0x5d3cc8(0x74)][_0x5d3cc8(0x94)](_0x5c12bc=>!isUndefined(_0x5c12bc[_0x5d3cc8(0x12b)])?_0x5c12bc[_0x5d3cc8(0x12b)]:_0x5c12bc['scenario']);};return[_0x25d235[_0x5d3cc8(0x100)]];}[a6_0x4aaa8a(0x134)](_0x14666e,_0x114872){const _0x18e651=a6_0x4aaa8a;return Object[_0x18e651(0xb4)](_0x14666e[_0x18e651(0x93)][_0x18e651(0xf8)])[_0x18e651(0x107)](_0x3b9c2e=>_0x3b9c2e[_0x18e651(0xa9)]===_0x114872[_0x18e651(0xa9)]);}async[a6_0x4aaa8a(0x8e)](){const _0x5eb33b=a6_0x4aaa8a;if(this['cliInitPromise'])return this[_0x5eb33b(0xd4)];return this[_0x5eb33b(0xd4)]=this[_0x5eb33b(0x113)](),this[_0x5eb33b(0xd4)];}async[a6_0x4aaa8a(0x113)](){const _0x146c40=a6_0x4aaa8a,_0x2b13ca={'LKhjH':_0x146c40(0xdc),'pJYBa':function(_0x484d0d,_0x2a7a78){return _0x484d0d(_0x2a7a78);},'wWbOy':_0x146c40(0x11c),'AFWqn':function(_0x226e62,_0x37139b){return _0x226e62(_0x37139b);},'JNNjw':'../../utils/constants'};try{const _0x5ce67f=BrowserstackCLI[_0x146c40(0xdb)]();if(_0x5ce67f['isRunning']())return logger['debug'](_0x146c40(0x11f)+_0x5ce67f['binSessionId']),!![];const _0x10130e=process[_0x146c40(0x81)][_0x146c40(0xba)];if(!_0x10130e)return logger[_0x146c40(0xca)](_0x2b13ca[_0x146c40(0xb9)]),![];const _0x1319e5=_0x2b13ca[_0x146c40(0x11a)](require,_0x2b13ca[_0x146c40(0x101)]),{FRAMEWORKS:_0x3b6e1e}=_0x2b13ca[_0x146c40(0x9e)](require,_0x2b13ca[_0x146c40(0xf0)]);return _0x1319e5['setFrameworkDetail'](_0x3b6e1e['CUCUMBER'],_0x3b6e1e[_0x146c40(0xa6)]),logger[_0x146c40(0xca)](_0x146c40(0xce)+_0x10130e),await _0x5ce67f[_0x146c40(0x12f)](),logger[_0x146c40(0xca)](_0x146c40(0xf3)+_0x5ce67f[_0x146c40(0xc2)]()+_0x146c40(0x123)+_0x5ce67f[_0x146c40(0xaf)]),_0x5ce67f[_0x146c40(0xc2)]();}catch(_0x1bc918){return logger['debug'](_0x146c40(0xe4)+util[_0x146c40(0xad)](_0x1bc918)),![];}}async[a6_0x4aaa8a(0xde)](){const _0x1a2e2c=a6_0x4aaa8a;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x1a2e2c(0xdb)]()[_0x1a2e2c(0xc2)]();}catch(_0x43dbc9){return logger[_0x1a2e2c(0xca)](_0x1a2e2c(0x12e)+util[_0x1a2e2c(0xad)](_0x43dbc9)),![];}}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x4aaa8a(0xf1),a6_0x4aaa8a(0xaa),'onTestStepStarted','onTestStepFinished',a6_0x4aaa8a(0xa2),'onTestRunFinished',a6_0x4aaa8a(0xfa),'getGherkinDocument',a6_0x4aaa8a(0x8a)]);
|
|
@@ -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_0x58a5ec=a7_0xd156;(function(_0x4504b2,_0x4c07ef){const _0xe71f18=a7_0xd156,_0x18dc59=_0x4504b2();while(!![]){try{const _0x2c2d37=parseInt(_0xe71f18(0x1b0))/0x1+parseInt(_0xe71f18(0x172))/0x2*(parseInt(_0xe71f18(0x17a))/0x3)+parseInt(_0xe71f18(0x195))/0x4*(-parseInt(_0xe71f18(0x16d))/0x5)+parseInt(_0xe71f18(0x1a1))/0x6+parseInt(_0xe71f18(0x190))/0x7*(-parseInt(_0xe71f18(0x191))/0x8)+parseInt(_0xe71f18(0x174))/0x9*(-parseInt(_0xe71f18(0x18f))/0xa)+-parseInt(_0xe71f18(0x178))/0xb;if(_0x2c2d37===_0x4c07ef)break;else _0x18dc59['push'](_0x18dc59['shift']());}catch(_0x5deca7){_0x18dc59['push'](_0x18dc59['shift']());}}}(a7_0x5175,0xb8570));function a7_0xd156(_0x6a7b9a,_0x339e5f){const _0x517570=a7_0x5175();return a7_0xd156=function(_0xd15697,_0x5e7a3b){_0xd15697=_0xd15697-0x15b;let _0x2f3429=_0x517570[_0xd15697];return _0x2f3429;},a7_0xd156(_0x6a7b9a,_0x339e5f);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x58a5ec(0x162)),{Formatter}=requireModule(a7_0x58a5ec(0x160)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x58a5ec(0x160));class BrowserstackFormatter extends Formatter{constructor(_0x4aed22){const _0x2fcca4=a7_0x58a5ec,_0x456e5c={'Capxd':function(_0x1e24dc,_0x3bb89e){return _0x1e24dc!==_0x3bb89e;},'NAEAb':function(_0x4fc0a1,_0x4db00b){return _0x4fc0a1!==_0x4db00b;},'OrxIQ':function(_0x20ffd3,_0x3ad971){return _0x20ffd3(_0x3ad971);},'pRpYv':'test-run-started','XIFKk':_0x2fcca4(0x164),'vidEF':'test-case-finished','ryqmS':'test-run-finished','xElus':'test-step-started'};super(_0x4aed22),_0x4aed22[_0x2fcca4(0x183)]['on'](_0x456e5c[_0x2fcca4(0x170)],()=>{const _0x58706f=_0x2fcca4;let _0xfa64e5;if(_0x456e5c[_0x58706f(0x1a2)](process[_0x58706f(0x1a7)][_0x58706f(0x15e)],undefined)){const _0x369d36=JSON['parse'](process['env']['CONFIG']);_0xfa64e5=_0x369d36[_0x58706f(0x1a0)];}_0x456e5c[_0x58706f(0x19e)](_0xfa64e5,undefined)&&(global['__platform']=_0x456e5c[_0x58706f(0x18c)](getPlatformName,_0xfa64e5),console[_0x58706f(0x166)](_0x58706f(0x188)+global['__platform']));}),_0x4aed22[_0x2fcca4(0x183)]['on'](_0x456e5c[_0x2fcca4(0x16a)],()=>{testSuites+=0x1;}),_0x4aed22['eventBroadcaster']['on'](_0x456e5c[_0x2fcca4(0x17d)],_0x8381fe=>{const _0x48ab30=_0x2fcca4;this[_0x48ab30(0x167)](_0x8381fe);}),_0x4aed22[_0x2fcca4(0x183)]['on'](_0x456e5c[_0x2fcca4(0x189)],()=>{totalTests-=0x2;}),_0x4aed22[_0x2fcca4(0x183)]['on'](_0x456e5c[_0x2fcca4(0x199)],()=>{totalTests+=0x1;});}[a7_0x58a5ec(0x167)](_0x42c2a6){const _0x28cd80=a7_0x58a5ec,_0x18c676={'rEAhH':_0x28cd80(0x185),'BYANq':_0x28cd80(0x161),'rPqZb':_0x28cd80(0x193),'IAtCH':_0x28cd80(0x184),'AJHrd':_0x28cd80(0x196),'BcfsS':_0x28cd80(0x15d),'wfJHg':'AMBIGUOUS','jRWyU':function(_0x2dd656,_0x36787b){return _0x2dd656+_0x36787b;},'HDbul':function(_0x116ec5,_0x2ea7ec){return _0x116ec5+_0x2ea7ec;},'NPyWl':'\x20\x20\x20\x20','kCeQt':_0x28cd80(0x19f),'fxoko':function(_0x3068b8,_0x583d2b){return _0x3068b8(_0x583d2b);},'cgDTx':_0x28cd80(0x1a6),'nSopo':function(_0x171f09,_0x5a1b23){return _0x171f09+_0x5a1b23;},'uxIvs':_0x28cd80(0x1ae),'CMAFX':function(_0x484db3,_0x303fe7){return _0x484db3+_0x303fe7;},'pOmWh':_0x28cd80(0x1ad),'oFluM':function(_0x4de79d,_0x5341b1){return _0x4de79d===_0x5341b1;},'MYztd':function(_0x2a7ead,_0x238d13,_0x371fea){return _0x2a7ead(_0x238d13,_0x371fea);},'XQwze':_0x28cd80(0x173),'RSpsH':_0x28cd80(0x198),'HmbQl':_0x28cd80(0x181),'rJzMd':function(_0xe5eaef,_0x3836fa){return _0xe5eaef+_0x3836fa;},'aGUEQ':function(_0x37fb50,_0x35cc7b){return _0x37fb50!==_0x35cc7b;},'gVwoQ':_0x28cd80(0x18e),'Tgosy':function(_0xb2a82,_0x5c9e73){return _0xb2a82+_0x5c9e73;},'oboNW':function(_0x24177c,_0x4c7679){return _0x24177c+_0x4c7679;},'VvOub':function(_0x3a9238,_0x1b3f7e){return _0x3a9238+_0x1b3f7e;},'udUKF':function(_0x468095,_0x558794){return _0x468095<_0x558794;},'wgauc':function(_0x31579e,_0x46e64f){return _0x31579e+_0x46e64f;},'alXtE':function(_0x4d9c59,_0x2881fa){return _0x4d9c59+_0x2881fa;},'zHvTL':function(_0x15bef3,_0x1ebe8a){return _0x15bef3(_0x1ebe8a);},'nCzHa':function(_0x24b0d9,_0x34cdde,_0x564343){return _0x24b0d9(_0x34cdde,_0x564343);},'nYmen':function(_0x9e16fb,_0x3c60d0){return _0x9e16fb+_0x3c60d0;},'QaFex':function(_0x4dc3da,_0x250773){return _0x4dc3da+_0x250773;}};let _0x1c9aff=![];function _0x39fdf2(_0x227a54){const _0x2af9ce=_0x28cd80;switch(_0x227a54){case _0x18c676['rEAhH']:testsFailed+=0x1;break;case _0x18c676['BYANq']:testsPassed+=0x1;break;case _0x18c676[_0x2af9ce(0x1ab)]:testsSkipped+=0x1;break;case _0x18c676[_0x2af9ce(0x182)]:testsPending+=0x1;break;case _0x18c676[_0x2af9ce(0x177)]:testsUndefined+=0x1;break;case _0x18c676[_0x2af9ce(0x1a5)]:testsUnknown+=0x1;break;case _0x18c676['wfJHg']:testsAmbiguous+=0x1;break;default:break;}}_0x18c676[_0x28cd80(0x16b)](global[_0x28cd80(0x192)],undefined)&&console[_0x28cd80(0x166)](_0x18c676['jRWyU'](_0x18c676[_0x28cd80(0x18a)]('\x0a',global[_0x28cd80(0x192)]),'\x0a'));let _0x5c2d92=![];if(_0x18c676[_0x28cd80(0x16b)](typeof this[_0x28cd80(0x16f)][_0x28cd80(0x19a)],_0x18c676[_0x28cd80(0x1a9)])){var _0x46a935=this[_0x28cd80(0x16f)][_0x28cd80(0x19a)](_0x42c2a6[_0x28cd80(0x18d)]),_0x35d7a4=_0x46a935[_0x28cd80(0x17b)],_0x2321f8=_0x46a935[_0x28cd80(0x1aa)];console[_0x28cd80(0x166)](_0x18c676['Tgosy']('\x20\x20',_0x35d7a4[_0x28cd80(0x179)]));var _0x5c72a4=(0x0,pickleParser[_0x28cd80(0x17e)])(_0x35d7a4);_0x2321f8['steps'][_0x28cd80(0x180)](function(_0x30fcc6){const _0x40b5e1=_0x28cd80;if(_0x30fcc6[_0x40b5e1(0x15c)]&&_0x30fcc6['sourceLocation'])_0x1c9aff=!![],console[_0x40b5e1(0x166)](_0x18c676['jRWyU'](_0x18c676[_0x40b5e1(0x1a4)](_0x18c676['HDbul'](_0x18c676[_0x40b5e1(0x16c)],_0x5c72a4[_0x30fcc6['sourceLocation']['line']][_0x40b5e1(0x197)]),_0x18c676[_0x40b5e1(0x19b)]),_0x30fcc6[_0x40b5e1(0x173)]['status']['toUpperCase']())),_0x18c676[_0x40b5e1(0x18b)](_0x39fdf2,_0x30fcc6[_0x40b5e1(0x173)][_0x40b5e1(0x1af)]['toUpperCase']());else _0x30fcc6[_0x40b5e1(0x15c)]&&(!_0x30fcc6[_0x40b5e1(0x15c)][_0x40b5e1(0x1b1)]['includes'](_0x18c676['cgDTx'])&&(_0x18c676[_0x40b5e1(0x18b)](_0x39fdf2,_0x30fcc6[_0x40b5e1(0x173)][_0x40b5e1(0x1af)][_0x40b5e1(0x186)]()),_0x1c9aff?console[_0x40b5e1(0x166)](_0x18c676['nSopo'](_0x18c676[_0x40b5e1(0x171)],_0x30fcc6[_0x40b5e1(0x173)][_0x40b5e1(0x1af)][_0x40b5e1(0x186)]())):console['log'](_0x18c676[_0x40b5e1(0x18a)](_0x18c676[_0x40b5e1(0x19d)],_0x30fcc6[_0x40b5e1(0x173)][_0x40b5e1(0x1af)][_0x40b5e1(0x186)]()))));if(_0x18c676[_0x40b5e1(0x1b2)](_0x30fcc6[_0x40b5e1(0x173)]['status'][_0x40b5e1(0x186)](),_0x18c676[_0x40b5e1(0x15b)])){const _0x4e83aa=_0x18c676[_0x40b5e1(0x1a3)](nestedKeyValue,_0x30fcc6,[_0x18c676[_0x40b5e1(0x17f)],_0x18c676[_0x40b5e1(0x1b3)],_0x18c676[_0x40b5e1(0x194)]]);_0x4e83aa&&(testsErrorMessage[_0x35d7a4[_0x40b5e1(0x179)]]=_0x4e83aa,console[_0x40b5e1(0x166)](_0x18c676[_0x40b5e1(0x176)](_0x4e83aa,'\x0a'))),_0x5c2d92=!![];}});}else{const _0x22c2ff=this[_0x28cd80(0x16f)][_0x28cd80(0x175)](_0x42c2a6);console[_0x28cd80(0x166)](_0x18c676[_0x28cd80(0x187)](_0x18c676[_0x28cd80(0x187)](_0x18c676[_0x28cd80(0x15f)]('\x20\x20',_0x22c2ff['gherkinDocument'][_0x28cd80(0x169)][_0x28cd80(0x179)]),_0x18c676['kCeQt']),_0x22c2ff[_0x28cd80(0x17b)][_0x28cd80(0x179)]));const _0x2e3629=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x22c2ff[_0x28cd80(0x17b)]),_0x1f0d76=_0x22c2ff[_0x28cd80(0x1aa)][_0x28cd80(0x165)],_0x3a4395=_0x22c2ff[_0x28cd80(0x168)],_0x585ede=_0x1f0d76['length'];for(let _0x3b7dcf=0x0;_0x18c676['udUKF'](_0x3b7dcf,_0x585ede);_0x3b7dcf++){const _0x18a4a2=_0x1f0d76[_0x3b7dcf];if(_0x18a4a2[_0x28cd80(0x15c)]&&_0x18a4a2[_0x28cd80(0x18d)])_0x1c9aff=!![],console[_0x28cd80(0x166)](_0x18c676['wgauc'](_0x18c676[_0x28cd80(0x17c)](_0x18c676['alXtE'](_0x18c676[_0x28cd80(0x16c)],_0x2e3629[_0x18a4a2[_0x28cd80(0x18d)][_0x28cd80(0x1a8)]]['text']),_0x18c676[_0x28cd80(0x19b)]),_0x3a4395[_0x3b7dcf][_0x28cd80(0x1af)][_0x28cd80(0x186)]())),_0x18c676['zHvTL'](_0x39fdf2,_0x3a4395[_0x3b7dcf][_0x28cd80(0x1af)][_0x28cd80(0x186)]());else _0x18a4a2[_0x28cd80(0x15c)]&&(!_0x18a4a2[_0x28cd80(0x15c)][_0x28cd80(0x1b1)]['includes'](_0x18c676['cgDTx'])&&(_0x18c676[_0x28cd80(0x18b)](_0x39fdf2,_0x3a4395[_0x3b7dcf][_0x28cd80(0x1af)][_0x28cd80(0x186)]()),_0x1c9aff?console[_0x28cd80(0x166)](_0x18c676[_0x28cd80(0x187)](_0x18c676[_0x28cd80(0x171)],_0x3a4395[_0x3b7dcf][_0x28cd80(0x1af)][_0x28cd80(0x186)]())):console[_0x28cd80(0x166)](_0x18c676[_0x28cd80(0x176)](_0x18c676[_0x28cd80(0x19d)],_0x3a4395[_0x3b7dcf][_0x28cd80(0x1af)][_0x28cd80(0x186)]()))));if(_0x18c676[_0x28cd80(0x1b2)](_0x3a4395[_0x3b7dcf]['status']['toUpperCase'](),_0x18c676[_0x28cd80(0x15b)])){_0x5c2d92=!![];const _0x2eb918=_0x18c676['nCzHa'](nestedKeyValue,_0x3a4395[_0x3b7dcf],[_0x18c676[_0x28cd80(0x1b3)],_0x18c676[_0x28cd80(0x194)]]);_0x2eb918&&(testsErrorMessage[_0x18c676[_0x28cd80(0x187)](_0x18c676[_0x28cd80(0x19c)](_0x22c2ff[_0x28cd80(0x163)][_0x28cd80(0x169)][_0x28cd80(0x179)],_0x18c676['kCeQt']),_0x22c2ff[_0x28cd80(0x17b)]['name'])]=_0x2eb918,console[_0x28cd80(0x166)](_0x18c676[_0x28cd80(0x16e)](_0x2eb918,'\x0a')));}}}_0x5c2d92&&(testSuitesFailed+=0x1),console[_0x28cd80(0x166)]('\x0a');}}module[a7_0x58a5ec(0x1ac)]=BrowserstackFormatter;function a7_0x5175(){const _0x48fc91=['CONFIG','VvOub','cucumber','PASSED','../../../helpers/helper','gherkinDocument','test-case-started','steps','log','logTestCaseFinished','stepResults','feature','XIFKk','aGUEQ','NPyWl','17560tTBchV','QaFex','eventDataCollector','pRpYv','uxIvs','604740kVFdYx','result','36QARgZj','getTestCaseAttempt','rJzMd','AJHrd','10601547CcHmVF','name','9sjGECy','pickle','HDbul','vidEF','getStepLineToPickledStepMap','XQwze','forEach','stack','IAtCH','eventBroadcaster','PENDING','FAILED','toUpperCase','oboNW','Executing\x20tests\x20for\x20','ryqmS','CMAFX','fxoko','OrxIQ','sourceLocation','undefined','2261210PCtEdI','35Zjmvzc','760360xOntCq','__platform','SKIPPED','HmbQl','144lIXhyZ','UNDEFINED','text','exception','xElus','getTestCaseData','kCeQt','nYmen','pOmWh','NAEAb','\x20-\x20','capability','5650662cVKpsG','Capxd','MYztd','jRWyU','BcfsS','cucumber-js/test_old.setup.js','env','line','gVwoQ','testCase','rPqZb','exports','\x20\x20\x20\x20BEFORE\x20-\x20','\x20\x20\x20\x20AFTER\x20-\x20','status','1376087jUEWsY','uri','oFluM','RSpsH','rEAhH','actionLocation','UNKNOWN'];a7_0x5175=function(){return _0x48fc91;};return a7_0x5175();}
|
|
@@ -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_0x59d586=a8_0x2f68;(function(_0x381139,_0x3b8360){const _0x12ee95=a8_0x2f68,_0x1a1096=_0x381139();while(!![]){try{const _0x4c1e66=parseInt(_0x12ee95(0x1d9))/0x1+-parseInt(_0x12ee95(0x1ec))/0x2*(-parseInt(_0x12ee95(0x220))/0x3)+-parseInt(_0x12ee95(0x18f))/0x4*(parseInt(_0x12ee95(0x21b))/0x5)+-parseInt(_0x12ee95(0x1b1))/0x6*(-parseInt(_0x12ee95(0x194))/0x7)+parseInt(_0x12ee95(0x1bc))/0x8+parseInt(_0x12ee95(0x20c))/0x9*(parseInt(_0x12ee95(0x1ff))/0xa)+-parseInt(_0x12ee95(0x1c4))/0xb;if(_0x4c1e66===_0x3b8360)break;else _0x1a1096['push'](_0x1a1096['shift']());}catch(_0x497af7){_0x1a1096['push'](_0x1a1096['shift']());}}}(a8_0x1756,0x209de));const path=require('path'),util=require(a8_0x59d586(0x1cd)),hooksMap={},SessionHandler=require(a8_0x59d586(0x1e4)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x59d586(0x218)),{FRAMEWORKS}=require(a8_0x59d586(0x1d7)),TestDetails=require(a8_0x59d586(0x212));this['_gitConfigured']=![],this[a8_0x59d586(0x1db)]=null;class TestObservabilityReporter{async[a8_0x59d586(0x215)](_0x15540d,_0x2c5931,_0x44b095,_0x269ac1,_0x15925f){const _0x29aab7=a8_0x59d586,_0x5a3d0d={'RIUpB':function(_0x1dc516,_0x377506){return _0x1dc516===_0x377506;},'GpIkp':_0x29aab7(0x1a3),'ntrDC':'failed','vjwJU':function(_0x23f80d,_0x39b855){return _0x23f80d===_0x39b855;},'DnWpP':_0x29aab7(0x19c),'kfjZb':_0x29aab7(0x198),'HdfbI':function(_0x1fbeda,_0x49afc9){return _0x1fbeda||_0x49afc9;},'oloxW':function(_0x1ddf9f,_0xb847de){return _0x1ddf9f+_0xb847de;},'UlaBL':function(_0x519898,_0x2c35e9){return _0x519898+_0x2c35e9;},'UttGY':function(_0x44b83f,_0x32952e){return _0x44b83f+_0x32952e;},'SvbKe':_0x29aab7(0x21c),'gJdvd':_0x29aab7(0x21a),'GuduM':'cucumber','gSlAZ':'pending','AlKNJ':_0x29aab7(0x1c1),'XrTLP':function(_0x31d6d1,_0x1cd485){return _0x31d6d1!==_0x1cd485;},'oTVdo':function(_0x557250,_0x38fc5e){return _0x557250/_0x38fc5e;},'qKtSs':_0x29aab7(0x221),'kIwfO':function(_0x5ad3ce,_0x19de63){return _0x5ad3ce(_0x19de63);},'fwUqB':_0x29aab7(0x1f8),'CtOzi':function(_0x564fc1,_0xf21533){return _0x564fc1(_0xf21533);},'JGMoI':_0x29aab7(0x1cc),'gdcyi':'UnhandledError','pYIVP':_0x29aab7(0x1bd),'owvwH':function(_0xfbff11,_0x2892e6){return _0xfbff11>_0x2892e6;}},{feature:_0x438162,scenario:_0x15cdce,steps:_0x6a258f,uuid:_0x53ee19,startedAt:_0x162d8c,finishedAt:_0x2f8ef9}=_0x5a3d0d[_0x29aab7(0x1bf)](_0x15925f,{}),_0x41acd0=this['getScenarioExamples'](_0x2c5931,_0x44b095);await this[_0x29aab7(0x1ad)]();const _0x485bed=_0x41acd0?_0x5a3d0d[_0x29aab7(0x1dd)](_0x5a3d0d[_0x29aab7(0x1e6)](_0x5a3d0d['UttGY'](_0x44b095[_0x29aab7(0x197)],'\x20('),_0x41acd0[_0x29aab7(0x1de)](',\x20')),')'):_0x44b095[_0x29aab7(0x197)],_0x163962={'uuid':_0x53ee19,'started_at':_0x162d8c,'finished_at':_0x2f8ef9,'type':_0x5a3d0d[_0x29aab7(0x1fe)],'body':{'lang':_0x5a3d0d[_0x29aab7(0x202)],'code':null},'name':_0x485bed,'scopes':[_0x438162&&_0x438162[_0x29aab7(0x197)]?_0x438162[_0x29aab7(0x197)]:''],'tags':_0x44b095[_0x29aab7(0x1ac)]?_0x44b095['tags'][_0x29aab7(0x1b3)](({name:_0x505c81})=>_0x505c81):[],'file_name':_0x44b095[_0x29aab7(0x1d1)],'location':_0x44b095[_0x29aab7(0x1d1)],'vc_filepath':this['_gitConfigPath']&&_0x44b095[_0x29aab7(0x1d1)]?path['relative'](this['_gitConfigPath'],_0x44b095[_0x29aab7(0x1d1)]):null,'framework':_0x5a3d0d['GuduM'],'result':_0x5a3d0d[_0x29aab7(0x1ba)],'meta':{'feature':_0x438162,'scenario':_0x15cdce,'steps':_0x6a258f,'examples':_0x41acd0},'customRerunParam':{'rerun_name':_0x485bed}};if(_0x15540d[_0x29aab7(0x1a1)]&&_0x6a258f){const _0x3dd501=_0x15540d[_0x29aab7(0x1a1)];let _0x30b32d=_0x5a3d0d[_0x29aab7(0x1e5)];_0x6a258f[_0x29aab7(0x21f)](_0x22773c=>{const _0x2efa24=_0x29aab7;if(_0x5a3d0d[_0x2efa24(0x1c9)](_0x22773c[_0x2efa24(0x1eb)],_0x5a3d0d[_0x2efa24(0x203)]))return _0x30b32d=_0x5a3d0d[_0x2efa24(0x1d5)],_0x3dd501['failure']=_0x22773c[_0x2efa24(0x1ee)],_0x3dd501[_0x2efa24(0x196)]=_0x22773c['failureType'],![];else{if(_0x5a3d0d[_0x2efa24(0x1e8)](_0x22773c[_0x2efa24(0x1eb)],_0x5a3d0d[_0x2efa24(0x1e3)]))return _0x30b32d=_0x5a3d0d['kfjZb'],![];}return!![];}),_0x163962['finished_at']=new Date()[_0x29aab7(0x21d)](),_0x163962[_0x29aab7(0x1eb)]=_0x30b32d;_0x3dd501[_0x29aab7(0x191)]&&_0x5a3d0d[_0x29aab7(0x18c)](_0x3dd501['timestamp'][_0x29aab7(0x1bb)],undefined)?_0x163962[_0x29aab7(0x195)]=_0x5a3d0d[_0x29aab7(0x1df)](_0x3dd501[_0x29aab7(0x191)][_0x29aab7(0x1bb)],0xf4240):_0x163962[_0x29aab7(0x195)]=undefined;if(_0x5a3d0d[_0x29aab7(0x1c9)](_0x30b32d,_0x5a3d0d[_0x29aab7(0x1d5)])){const {default:_0x3d3ff5}=await import(_0x5a3d0d[_0x29aab7(0x190)]);_0x163962[_0x29aab7(0x1ee)]=[{'backtrace':[_0x3dd501[_0x29aab7(0x1ee)]?_0x5a3d0d[_0x29aab7(0x1c3)](_0x3d3ff5,_0x3dd501[_0x29aab7(0x1ee)]):_0x5a3d0d[_0x29aab7(0x1e9)]]}],_0x163962[_0x29aab7(0x1ce)]=_0x3dd501[_0x29aab7(0x1ee)]?_0x5a3d0d[_0x29aab7(0x1b2)](_0x3d3ff5,_0x3dd501[_0x29aab7(0x1ee)]):_0x3dd501['message'],_0x3dd501['failureType']&&(_0x163962['failure_type']=_0x3dd501[_0x29aab7(0x196)][_0x29aab7(0x1b5)](/AssertError/)?_0x5a3d0d[_0x29aab7(0x199)]:_0x5a3d0d['gdcyi']);}}if(_0x5a3d0d['vjwJU'](_0x269ac1,_0x5a3d0d[_0x29aab7(0x200)])){const _0x199cce=this[_0x29aab7(0x1cb)](_0x15540d[_0x29aab7(0x1a1)]['testCaseStartedId']);_0x199cce&&_0x5a3d0d['owvwH'](_0x199cce['length'],0x0)&&(_0x163962['hooks']=_0x199cce,this['updateTestStatus'](_0x15540d['testCaseFinished'][_0x29aab7(0x208)],_0x163962));}testhubUtils[_0x29aab7(0x222)](_0x163962,_0x269ac1,'',FRAMEWORKS[_0x29aab7(0x1c5)]);const _0x1f957f={};_0x1f957f['event_type']=_0x269ac1,_0x1f957f[_0x29aab7(0x19f)]=_0x163962;const _0x179936=_0x1f957f;await SessionHandler['uploadEventData'](_0x179936);}[a8_0x59d586(0x1fa)](_0x118d18,_0x2bd162){const _0x53c159=a8_0x59d586,_0x403a5d={};_0x403a5d['JfJOZ']=function(_0xd42d34,_0x1e3c6f){return _0xd42d34 instanceof _0x1e3c6f;},_0x403a5d[_0x53c159(0x1c7)]=function(_0x31eac1,_0x42d673){return _0x31eac1===_0x42d673;},_0x403a5d[_0x53c159(0x213)]=_0x53c159(0x1aa),_0x403a5d[_0x53c159(0x21e)]='0|2|3|4|1';const _0x1b377c=_0x403a5d,_0x382a7c=hooksMap[_0x118d18];if(_0x1b377c[_0x53c159(0x1f9)](_0x382a7c,Array))for(const _0x199156 of _0x382a7c){if(_0x1b377c[_0x53c159(0x1c7)](_0x199156['result'],_0x1b377c[_0x53c159(0x213)])){const _0x157589=_0x1b377c['UrDHD'][_0x53c159(0x1b9)]('|');let _0x107072=0x0;while(!![]){switch(_0x157589[_0x107072++]){case'0':_0x2bd162[_0x53c159(0x1eb)]=_0x199156[_0x53c159(0x1eb)];continue;case'1':return _0x2bd162;case'2':_0x2bd162[_0x53c159(0x1ee)]=_0x199156[_0x53c159(0x20b)];continue;case'3':_0x2bd162[_0x53c159(0x1ce)]=_0x1b377c['JfJOZ'](_0x199156[_0x53c159(0x20b)],Array)?_0x199156['failure_data'][0x0][_0x53c159(0x1c2)][_0x53c159(0x1de)]('\x0a'):'';continue;case'4':_0x2bd162['failure_type']=_0x199156['failure_type'];continue;}break;}}};}['getHooksListForTest'](_0x3a94af){const _0x446037=a8_0x59d586;if(hooksMap[_0x3a94af])return hooksMap[_0x3a94af]['map'](_0xf56f33=>_0xf56f33[_0x446037(0x1b4)]);return[];}['getHookRunEventData'](_0x31a1da,_0x4ea4a6,_0x55ccd1,_0x922a3f,_0x2bf276,_0x16f417){const _0x165975=a8_0x59d586,_0x1ff904={'ngbhA':function(_0x32995b,_0x300c59){return _0x32995b===_0x300c59;},'risdp':'HookRunFinished','rLXid':function(_0xcd372,_0x1b7e91,_0x335d17){return _0xcd372(_0x1b7e91,_0x335d17);},'ckeES':_0x165975(0x1a0),'PkXTO':_0x165975(0x1d1),'uWBCu':_0x165975(0x1e1),'Zvsgt':'hook','NBHAp':_0x165975(0x21a),'mqvDO':_0x165975(0x216),'PeMHS':_0x165975(0x197),'pHiEg':'cucumber'};try{if(_0x1ff904[_0x165975(0x193)](_0x55ccd1,_0x1ff904[_0x165975(0x18e)])){const _0x53d165=new Date()[_0x165975(0x21d)](),_0xd277b1=hooksMap[_0x4ea4a6];if(!_0xd277b1)return;const _0x2b197e=_0xd277b1['find'](_0x52cb35=>_0x52cb35[_0x165975(0x1b4)]===_0x922a3f['id']);if(!_0x2b197e)return;const _0x53662d=this['getHookResult'](_0x31a1da,_0x4ea4a6);_0x2b197e[_0x165975(0x1eb)]=_0x53662d[_0x165975(0x1fc)],_0x2b197e[_0x165975(0x1a5)]=_0x53d165,_0x2b197e['failure_type']=_0x53662d[_0x165975(0x196)];const _0x2eb010={};return _0x2eb010[_0x165975(0x1c2)]=_0x53662d[_0x165975(0x1d2)],_0x2b197e[_0x165975(0x20b)]=[_0x2eb010],_0x2b197e;}const _0x5f2c17=TestDetails[_0x165975(0x1a4)](_0x4ea4a6),_0x1e2ecf=_0x31a1da[_0x165975(0x1a8)][_0x165975(0x1a6)](_0x33598a=>_0x33598a['id']===_0x922a3f[_0x165975(0x205)]),_0x39ea25=_0x1ff904[_0x165975(0x1f3)](nestedKeyValue,_0x1e2ecf,[_0x1ff904['ckeES'],_0x1ff904['PkXTO']]),_0x1cc3d6=new Date()[_0x165975(0x21d)](),_0x4fb2d0=_0x1ff904[_0x165975(0x1b7)],_0x1516df=_0x1e2ecf[_0x165975(0x1ab)]?_0x1e2ecf[_0x165975(0x1ab)][_0x165975(0x1b9)]('\x20')[_0x165975(0x210)](_0x37abd3=>_0x37abd3[_0x165975(0x20e)]('@')):[],_0x36225c={'uuid':_0x922a3f['id'],'type':_0x1ff904[_0x165975(0x204)],'hook_type':_0x16f417,'name':_0x1e2ecf[_0x165975(0x197)],'body':{'lang':_0x1ff904[_0x165975(0x20a)],'code':null},'tags':_0x1516df,'test_run_id':_0x5f2c17,'scope':_0x1ff904[_0x165975(0x1f3)](nestedKeyValue,_0x2bf276,[_0x1ff904[_0x165975(0x1f0)],_0x1ff904[_0x165975(0x1ca)]]),'scopes':[_0x1ff904['rLXid'](nestedKeyValue,_0x2bf276,[_0x1ff904[_0x165975(0x1f0)],_0x1ff904[_0x165975(0x1ca)]])||''],'file_name':_0x39ea25,'location':_0x39ea25,'vc_filepath':this[_0x165975(0x1db)]?path[_0x165975(0x1cf)](this[_0x165975(0x1db)],_0x39ea25):null,'result':_0x4fb2d0,'started_at':_0x1cc3d6,'framework':_0x1ff904[_0x165975(0x211)]};return _0x36225c;}catch(_0x3d2bd8){logger[_0x165975(0x1f2)](_0x165975(0x1ed)+util[_0x165975(0x206)](_0x3d2bd8)+'\x20');}}async[a8_0x59d586(0x18d)](_0x528f76,_0x1767bd,_0x2c8f6f,_0x12d344,_0x33c9f2,_0x36806e){const _0x1c1944=a8_0x59d586,_0x40d09a={'kgqTn':function(_0x3778a0,_0x19d9f3){return _0x3778a0===_0x19d9f3;},'fJMjy':'HookRunStarted','OOkdu':function(_0x50f2ba,_0x20aeb7,_0x2d0e1c){return _0x50f2ba(_0x20aeb7,_0x2d0e1c);},'WbTMG':_0x1c1944(0x1a0),'MqsTN':_0x1c1944(0x1d1),'ubkrX':_0x1c1944(0x1c8)};try{const _0x5752fb=_0x12d344[_0x1c1944(0x1a6)](_0x48956c=>_0x48956c['id']===_0x33c9f2);if(!_0x5752fb[_0x1c1944(0x205)])return;const _0x1c53ed=this['getCucumberHookType'](_0x12d344,_0x5752fb),_0x59bbb3=this['getHookRunEventData'](_0x528f76,_0x1767bd,_0x2c8f6f,_0x5752fb,_0x36806e,_0x1c53ed);if(!_0x59bbb3)return;_0x40d09a[_0x1c1944(0x1f1)](_0x2c8f6f,_0x40d09a[_0x1c1944(0x1c6)])&&(hooksMap[_0x1767bd]?hooksMap[_0x1767bd][_0x1c1944(0x18b)](_0x59bbb3):hooksMap[_0x1767bd]=[_0x59bbb3]);const _0x2a69ab=_0x528f76[_0x1c1944(0x1a8)][_0x1c1944(0x1a6)](_0x492377=>_0x492377['id']===_0x5752fb[_0x1c1944(0x205)]),_0x1f2b1c=_0x40d09a[_0x1c1944(0x1f7)](nestedKeyValue,_0x2a69ab,[_0x40d09a[_0x1c1944(0x1f4)],_0x40d09a[_0x1c1944(0x201)]]);if(!_0x1f2b1c)return;else{if(_0x1f2b1c[_0x1c1944(0x20e)](_0x40d09a['ubkrX']))return;}const _0x44289d={};_0x44289d[_0x1c1944(0x223)]=_0x2c8f6f,_0x44289d[_0x1c1944(0x1ae)]=_0x59bbb3;const _0x21eb2b=_0x44289d;await SessionHandler['uploadEventData'](_0x21eb2b);}catch(_0x320709){logger[_0x1c1944(0x1f2)]('Exception\x20in\x20sendHook:\x20'+util[_0x1c1944(0x206)](_0x320709)+'\x20');}}[a8_0x59d586(0x1dc)](_0x391c53,_0x51a06d){const _0x2de5b7=a8_0x59d586,_0x3a5fe7={};_0x3a5fe7['XRvzG']=function(_0x177ddd,_0x60ac9e){return _0x177ddd===_0x60ac9e;},_0x3a5fe7['KSMtc']=_0x2de5b7(0x1aa),_0x3a5fe7[_0x2de5b7(0x1b0)]=function(_0x191ab4,_0x5d459d){return _0x191ab4===_0x5d459d;},_0x3a5fe7['xjHlL']=_0x2de5b7(0x214),_0x3a5fe7['hHFQn']=_0x2de5b7(0x1cc),_0x3a5fe7[_0x2de5b7(0x1f6)]=function(_0x588362,_0xc2e993){return _0x588362||_0xc2e993;};const _0x178ee0=_0x3a5fe7,_0x895dea=_0x391c53[_0x2de5b7(0x217)][_0x51a06d][_0x2de5b7(0x1ea)];let _0x3db5b2,_0x4d14f9;return _0x895dea&&_0x178ee0[_0x2de5b7(0x1b6)](_0x895dea['status'][_0x2de5b7(0x1e0)]()[_0x2de5b7(0x19b)](),_0x178ee0['KSMtc'])&&(_0x3db5b2=_0x178ee0[_0x2de5b7(0x1b6)](_0x895dea[_0x2de5b7(0x1d3)],undefined)?_0x895dea[_0x2de5b7(0x1e7)]:_0x895dea[_0x2de5b7(0x1d3)][_0x2de5b7(0x1e7)],_0x4d14f9=_0x178ee0[_0x2de5b7(0x1b0)](_0x895dea[_0x2de5b7(0x1d3)],undefined)?_0x178ee0[_0x2de5b7(0x20f)]:_0x895dea[_0x2de5b7(0x1e7)][_0x2de5b7(0x1b5)](/Assert/)?_0x178ee0[_0x2de5b7(0x1da)]:_0x178ee0['xjHlL']),{'status':_0x895dea[_0x2de5b7(0x1fc)][_0x2de5b7(0x19b)](),'failureType':_0x178ee0['nFefN'](_0x4d14f9,null),'failureData':!_0x3db5b2?null:[_0x3db5b2]};}[a8_0x59d586(0x1fb)](_0x120f5c,_0x20c24a){const _0x3da43c=a8_0x59d586,_0x1a0b6b={};_0x1a0b6b[_0x3da43c(0x1a2)]=function(_0x19a205,_0x2df71c){return _0x19a205===_0x2df71c;},_0x1a0b6b[_0x3da43c(0x1c0)]=_0x3da43c(0x219),_0x1a0b6b[_0x3da43c(0x19e)]=_0x3da43c(0x1f5);const _0x361d49=_0x1a0b6b;let _0x297cf1=![];for(const _0x36e5fe of _0x120f5c){_0x36e5fe['pickleStepId']&&(_0x297cf1=!![]);if(_0x361d49[_0x3da43c(0x1a2)](_0x20c24a['id'],_0x36e5fe['id']))return _0x297cf1?_0x361d49['dXLAb']:_0x361d49[_0x3da43c(0x19e)];}}[a8_0x59d586(0x1d6)]=(_0x35bd4a,_0xb86af7)=>{const _0x5b310f=a8_0x59d586,_0x1fe14a={};_0x1fe14a[_0x5b310f(0x1d0)]=function(_0x47f5de,_0x5e2593){return _0x47f5de===_0x5e2593;},_0x1fe14a[_0x5b310f(0x19a)]=function(_0x18bf78,_0x35501f){return _0x18bf78>_0x35501f;};const _0x5d2537=_0x1fe14a;if(!(_0xb86af7[_0x5b310f(0x1d8)]&&_0x5d2537[_0x5b310f(0x19a)](_0xb86af7[_0x5b310f(0x1d8)]['length'],0x1)))return;const _0x4313b0=_0xb86af7['astNodeIds'][0x0],_0x170720=_0xb86af7[_0x5b310f(0x1d8)][0x1],_0x49eb0f=_0x35bd4a[_0x5b310f(0x216)]&&_0x35bd4a[_0x5b310f(0x216)][_0x5b310f(0x1a7)]?_0x35bd4a['feature']['children']:undefined;let _0x13c207=[];_0x49eb0f&&_0x49eb0f[_0x5b310f(0x1ef)](_0x323336=>{const _0x598085=_0x5b310f;if(_0x323336[_0x598085(0x1d4)])_0x323336['rule']['children'][_0x598085(0x1ef)](_0x4debd1=>{const _0x325654=_0x598085;if(_0x4debd1[_0x325654(0x1b8)]&&_0x5d2537[_0x325654(0x1d0)](_0x4debd1['scenario']['id'],_0x4313b0)&&_0x4debd1[_0x325654(0x1b8)]['examples']){const _0x1cc8c3=_0x4debd1[_0x325654(0x1b8)][_0x325654(0x20d)][_0x325654(0x1af)](_0x555516=>_0x555516[_0x325654(0x207)])[_0x325654(0x1a6)](_0x331e4a=>_0x331e4a['id']===_0x170720);let _0x3793a7;_0x1cc8c3&&_0x1cc8c3[_0x325654(0x1a9)]?_0x3793a7=_0x1cc8c3[_0x325654(0x1a9)][_0x325654(0x1b3)](_0x135d4b=>_0x135d4b['value']):_0x3793a7=[],_0x3793a7&&(_0x13c207=_0x3793a7);}});else{if(_0x323336[_0x598085(0x1b8)]&&_0x5d2537[_0x598085(0x1d0)](_0x323336[_0x598085(0x1b8)]['id'],_0x4313b0)&&_0x323336['scenario'][_0x598085(0x20d)]){const _0x29f55d=_0x323336['scenario']['examples']['flatMap'](_0x4a8956=>_0x4a8956[_0x598085(0x207)])[_0x598085(0x1a6)](_0x2ac4d5=>_0x2ac4d5['id']===_0x170720);let _0x210448;_0x29f55d&&_0x29f55d['cells']?_0x210448=_0x29f55d[_0x598085(0x1a9)][_0x598085(0x1b3)](_0x118c8f=>_0x118c8f[_0x598085(0x209)]):_0x210448=[],_0x210448&&(_0x13c207=_0x210448);}}});if(_0x13c207[_0x5b310f(0x192)])return _0x13c207;return;};async[a8_0x59d586(0x1ad)](){const _0x2f0d95=a8_0x59d586,_0x410602={'cpQxk':function(_0x362447){return _0x362447();}};if(this[_0x2f0d95(0x18a)])return this[_0x2f0d95(0x1db)];const _0x582e54=await _0x410602[_0x2f0d95(0x1e2)](getGitMetaData);_0x582e54&&(this['_gitConfigPath']=_0x582e54[_0x2f0d95(0x1be)]),this['_gitConfigured']=!![];}}module[a8_0x59d586(0x1fd)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x59d586(0x1ad),'getScenarioExamples',a8_0x59d586(0x1fb),'getHookResult','sendHook',a8_0x59d586(0x19d),a8_0x59d586(0x215)]);function a8_0x2f68(_0x4e905b,_0x298d63){const _0x1756c3=a8_0x1756();return a8_0x2f68=function(_0x2f6892,_0x5cc291){_0x2f6892=_0x2f6892-0x18a;let _0x411080=_0x1756c3[_0x2f6892];return _0x411080;},a8_0x2f68(_0x4e905b,_0x298d63);}function a8_0x1756(){const _0x24eb55=['../../helpers/test-observability/sessionHandler','AlKNJ','UlaBL','message','vjwJU','fwUqB','testStepResult','result','54RZsyTY','Exception\x20in\x20getHookRunEventData:\x20','failure','forEach','mqvDO','kgqTn','debug','rLXid','WbTMG','BEFORE_EACH','nFefN','OOkdu','unknown','JfJOZ','updateTestStatus','getCucumberHookType','status','exports','SvbKe','10wAYzgm','pYIVP','MqsTN','gJdvd','GpIkp','Zvsgt','hookId','format','tableBody','testCaseStartedId','value','NBHAp','failure_data','1663191GJEUCy','examples','includes','xjHlL','filter','pHiEg','../playwright/reporter/test-details','Twsxu','UnhandledError','sendTestRunEventForCucumber','feature','testStepFinished','../../helpers/test-observability/error-handler','AFTER_EACH','javascript','185790zipymE','test','toISOString','UrDHD','every','20811uNDqEO','strip-ansi','appendTesthubParams','event_type','_gitConfigured','push','XrTLP','sendHook','risdp','4ThqbfD','qKtSs','timestamp','length','ngbhA','159124zArReD','duration_in_ms','failureType','name','skipped','JGMoI','bDwSu','toLowerCase','SKIPPED','getHookRunEventData','Uweme','test_run','sourceReference','testCaseFinished','AQFwy','FAILED','getTestUUID','finished_at','find','children','hooks','cells','failed','tagExpression','tags','configureGit','hook_run','flatMap','lMQmL','6VzJPDH','CtOzi','map','uuid','match','XRvzG','uWBCu','scenario','split','gSlAZ','nanos','187552DpRlnu','TestRunFinished','root','HdfbI','dXLAb','passed','backtrace','kIwfO','4931696ttIyBm','CUCUMBER','fJMjy','hDnkm','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','RIUpB','PeMHS','getHooksListForTest','AssertionError','util','failure_reason','relative','vQUMb','uri','failureData','exception','rule','ntrDC','getScenarioExamples','../../helpers/test-observability/constants.js','astNodeIds','200818CCtbRO','hHFQn','_gitConfigPath','getHookResult','oloxW','join','oTVdo','toString','pending','cpQxk','DnWpP'];a8_0x1756=function(){return _0x24eb55;};return a8_0x1756();}
|
|
@@ -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_0x10ffc7=a9_0x18d6;(function(_0x8f4b88,_0x2fcc21){const _0x1c496d=a9_0x18d6,_0x20bb23=_0x8f4b88();while(!![]){try{const _0x21e5af=parseInt(_0x1c496d(0x160))/0x1+parseInt(_0x1c496d(0x124))/0x2*(-parseInt(_0x1c496d(0xc9))/0x3)+parseInt(_0x1c496d(0x14b))/0x4*(parseInt(_0x1c496d(0xd8))/0x5)+-parseInt(_0x1c496d(0x11e))/0x6+-parseInt(_0x1c496d(0x179))/0x7*(parseInt(_0x1c496d(0x155))/0x8)+parseInt(_0x1c496d(0x18f))/0x9+parseInt(_0x1c496d(0xbd))/0xa;if(_0x21e5af===_0x2fcc21)break;else _0x20bb23['push'](_0x20bb23['shift']());}catch(_0xfbaa30){_0x20bb23['push'](_0x20bb23['shift']());}}}(a9_0x2658,0xe2cb3));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x10ffc7(0x149)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x10ffc7(0xe6)),setKeepAlive=require(a9_0x10ffc7(0x197)),util=require(a9_0x10ffc7(0x13c)),PerformanceTester=require(a9_0x10ffc7(0x16c)),{EVENTS:PerformanceEvents}=require(a9_0x10ffc7(0xe9)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x10ffc7(0x135)),logger=require(a9_0x10ffc7(0x177))[a9_0x10ffc7(0xc6)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x10ffc7(0x1a8)),TestInfo=require(a9_0x10ffc7(0x115)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a9_0x10ffc7(0x129)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x10ffc7(0x142)),scripts=require(a9_0x10ffc7(0xea)),globals=require('../../helpers/globals'),testHubConstants=require(a9_0x10ffc7(0xe2)),{shouldScanTestForAccessibility}=require(a9_0x10ffc7(0x10d)),{isUndefined}=require(a9_0x10ffc7(0xc8)),helper=require('../../helpers/helper'),a9_0xdc9c15={};a9_0xdc9c15[a9_0x10ffc7(0x1ad)]=undefined,a9_0xdc9c15[a9_0x10ffc7(0x199)]={},a9_0xdc9c15[a9_0x10ffc7(0x166)]=![],a9_0xdc9c15[a9_0x10ffc7(0x156)]=null,a9_0xdc9c15[a9_0x10ffc7(0x159)]=![],a9_0xdc9c15[a9_0x10ffc7(0x199)]['id']=undefined,a9_0xdc9c15[a9_0x10ffc7(0x199)][a9_0x10ffc7(0x189)]=undefined;function a9_0x2658(){const _0x333466=['currentTest','lcXSw','CUCUMBER','rkviV','executeScript','AfterAll','pid','saveTestResults','cleanup','Error:\x20sendPlatformDetails\x20at\x20After:\x20','JyafV','HvRQi','MfNCt','stopMonitoring','map','../playwright/reporter/test-details.js','isMobilePlatform','Patching\x20Selenium','error','integrations','workerInfo','event_type','getInstance','bCfZd','FMrLB','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','catch','__skipSessionName','KOyyB','performScan','skipSessionName','Error\x20in\x20fallback\x20cleanup:\x20','16476570qxyGnk','session_','pickleStep','GpMuG','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','shift','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','Error\x20initializing\x20Playwright\x20patching:\x20','getTestUUID','winstonLogger','Failed:\x20','lodash','12cRaArg','isAccessibilityPlatform','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','eJFZf','initializePlaywrightPatching','wUQIt','skipSessionStatus','Cleaned\x20up\x20Playwright\x20close\x20tracker','amVBz','getGlobal','debug','nQxOM','BeforeAll','split','join','7524905DIlCHw','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','env','storeLogObjects','WHnWi','name','Error\x20triggering\x20AutomationFramework\x20events:\x20','setGlobal','exdDT','MMRXN','../../helpers/testhub/constants.js','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','ylrKd','../utils/constants','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','getAutomationFramework','../../helpers/performance/constants','../../helpers/accessibility-automation/scripts','passed','__drivers','dziDb','is_mobile_session','closeTracker','wuYqG','qRdCv','NHAQE','format','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','__workerDetails','browserstackSessionName','RoQmu','Error\x20sending\x20log\x20created\x20event:\x20','bs:addLog:','QLOqe','bstackA11yShouldScan','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','Inside\x20browserstack\x20AfterAll',',\x20isPlaywrightFlow=','bootstrap','stack','stringify','Patching\x20Playwright','platformCaps','__error_messages__','../utils/playwright-patcher','oPPnZ','result','toLowerCase','RoisP','../v2/state/automationFrameworkState','../v2/state/hookState','uuid','../../helpers/accessibility-automation/helper','setTestNameForHealingContext','platformIndex','VaMOM','setFrameworkDetail','ZFjnv','Inside\x20browserstack\x20AfterStep','IlKbl','../v2/TestInfo.js','kbBtQ','qKoYM','yrONK','failed','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','pickle','quitCount_','8857962IvMnLj','Axrue','Cucumber-JS','JamOJ','PLAYWRIGHT','NsCAV','832642dBfNjM','uploadEventData','../v2/cliUtils','afterTestHook','Error\x20cleaning\x20up\x20close\x20tracker:\x20','../../helpers/test-observability/error-handler','Error\x20executing\x20deferred\x20closes:\x20','Error:\x20in\x20quitting\x20driver\x20','SJVhR','aVGuF','cucumber-test','nIksR','AfterStep','__timeout','isRunning','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','dfGaD','@cucumber/cucumber','HsKRz','message','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','1|2|3|0|4','length','text','util','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','initQuit','McOZX','../../index','Cleaned\x20up\x20close\x20tracker','../../helpers/test-observability/sessionHandler','__platformCaps','HIxrc','getId','uCVWY','\x20|\x20','driverCleanup','../../helpers/helper','DpCnq','4nSflMx','Error:\x20at\x20After\x20(Selenium):\x20','MtqnZ','isCliEnabled','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','QfIRA','thTestRunUuid','tags','push','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','17672aRuHnE','pwPage','chwWd','status','isPageFixture','APnIY','bstack','AMvlz','XbGzD','NgGLC','eoJUO','399786gftFTa','executeDeferredCloses','MZOyC','getPackageVersion','After','finally','o11ySyncDone','__sessionFailed','Inside\x20browserstack\x20After','qCUFg','../v2/browserstackCLI','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','../../helpers/performance/performance-tester','Error:\x20cleaning\x20up\x20driver:\x20','Error:\x20at\x20After\x20(Playwright):\x20','info','page','@playwright/test','DOzhg','executeAsyncScript','BdKxx','Passed','cucumber-js','../../helpers/logger','parse','1771KUIzYW','Error:\x20at\x20After\x20Step:\x20','\x0aError:\x20','VvTet','removeAllListeners','Inside\x20browserstack\x20BeforeAll','Unknown\x20Test','BROWSERSTACK_TESTHUB_UUID','pdOin',',\x22level\x22:\x20\x22','testCaseStartedId','startMonitoring','ENV_VAR','trackEvent','browserstackAgentV2','EUtSZ','testInfo','PRE','thJwtToken','SOiUh','timeout','\x22}}','9693099QBYhMa','VDKgK','toString','imLMt','SnxAm','__skipSessionStatus','then','Error:\x20quiting\x20driver\x20at\x20After:\x20','../../helpers/setKeepAlive','Tytbj'];a9_0x2658=function(){return _0x333466;};return a9_0x2658();}const workerDetails=a9_0xdc9c15;global[a9_0x10ffc7(0xf5)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();function a9_0x18d6(_0x52fcac,_0x66f03f){const _0x2658ea=a9_0x2658();return a9_0x18d6=function(_0x18d678,_0x409c36){_0x18d678=_0x18d678-0xbc;let _0x57070c=_0x2658ea[_0x18d678];return _0x57070c;},a9_0x18d6(_0x52fcac,_0x66f03f);}const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x19ec43){const _0x5b0080=a9_0x10ffc7,_0xb6e041={'XbGzD':function(_0x425be1,_0x3f13c6){return _0x425be1(_0x3f13c6);},'McOZX':_0x5b0080(0x16a),'CYsSM':_0x5b0080(0x138)},_0x305fea=workerDetails[_0x5b0080(0x199)][_0x5b0080(0x189)];if(!_0x305fea)return;if(playwrightPatcher)try{const _0x1e65f2=_0xb6e041[_0x5b0080(0x15d)](require,_0xb6e041[_0x5b0080(0x13f)]);if(_0x1e65f2[_0x5b0080(0x1af)]()[_0x5b0080(0x132)]()){const _0x37275b=_0x305fea[_0x5b0080(0x183)];_0x37275b?(_0x19ec43[_0x5b0080(0x10c)]=_0x37275b,_0x19ec43['test_run_uuid']=_0x37275b,TestInfo[_0x5b0080(0xdb)](_0x37275b,_0x19ec43)):logger['debug'](_0xb6e041['CYsSM']);return;}}catch(_0x5efb6c){logger[_0x5b0080(0xd3)](_0x5b0080(0xf8)+util['format'](_0x5efb6c));}await MyReporter['addTestUIDAndReportLog'](_0x305fea,_0x19ec43);}),registerListeners=()=>{const _0x3c6b3a=a9_0x10ffc7,_0x3363ac={};_0x3363ac[_0x3c6b3a(0x19c)]='Inside\x20browserstack\x20registerListeners';const _0x540f13=_0x3363ac;logger[_0x3c6b3a(0xd3)](_0x540f13[_0x3c6b3a(0x19c)]),process[_0x3c6b3a(0x17d)](_0x3c6b3a(0xf9)+process[_0x3c6b3a(0x19f)]),process['on']('bs:addLog:'+process[_0x3c6b3a(0x19f)],sendTestLog),PerformanceTester[_0x3c6b3a(0x184)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x10ffc7(0x164)],AfterAll=cucumberModule[a9_0x10ffc7(0x19e)],BeforeAll=cucumberModule[a9_0x10ffc7(0xd5)],AfterStep=cucumberModule[a9_0x10ffc7(0x130)],configuration=process[a9_0x10ffc7(0xda)]['CONFIG'],bstackConfig=process[a9_0x10ffc7(0xda)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x10ffc7(0x178)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a9_0x10ffc7(0x1b7)]),global[a9_0x10ffc7(0x194)]=isTrue(config[a9_0x10ffc7(0xcf)])):(global['__skipSessionName']=!![],global[a9_0x10ffc7(0x194)]=!![]);!helper[a9_0x10ffc7(0x163)](a9_0x10ffc7(0x171))&&(logger[a9_0x10ffc7(0xd3)](a9_0x10ffc7(0x1aa)),shouldProcessEventForTesthub()?require(a9_0x10ffc7(0x140))[a9_0x10ffc7(0x187)](config,null,!![]):require(a9_0x10ffc7(0x140))[a9_0x10ffc7(0x187)](config));global[a9_0x10ffc7(0x143)]=config[a9_0x10ffc7(0x103)]||{},global['browserstackPlatformIndex']=config[a9_0x10ffc7(0x10f)];if(helper[a9_0x10ffc7(0x163)](a9_0x10ffc7(0x171)))try{logger['debug'](a9_0x10ffc7(0x102)),playwrightPatcher=require(a9_0x10ffc7(0x105)),playwrightPatcher[a9_0x10ffc7(0xcd)](config),logger[a9_0x10ffc7(0xd3)](a9_0x10ffc7(0xc3));}catch(a9_0x349dd8){logger[a9_0x10ffc7(0xd3)](a9_0x10ffc7(0xc4)+util[a9_0x10ffc7(0xf3)](a9_0x349dd8));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x10ffc7(0x178)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a9_0x10ffc7(0x176)));}global[a9_0x10ffc7(0x131)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x56ff04=>{const _0x3d785f=a9_0x10ffc7,_0x44a039={'bCfZd':function(_0x3d1be1,_0x38dc5d){return _0x3d1be1(_0x38dc5d);}};global[_0x3d785f(0x131)]=_0x56ff04,_0x44a039[_0x3d785f(0x1b0)](__setDefaultTimeout,_0x56ff04);};const a9_0x1610f2={};a9_0x1610f2[a9_0x10ffc7(0xdd)]=a9_0x10ffc7(0x15b),BeforeAll(a9_0x1610f2,async function(){const _0x3def31=a9_0x10ffc7,_0x5b14ab={'IDcit':function(_0x20ebc0,_0x5809ca,_0x439cac,_0x543a66){return _0x20ebc0(_0x5809ca,_0x439cac,_0x543a66);},'chwWd':_0x3def31(0x119),'uCVWY':_0x3def31(0x147),'sGgQh':function(_0x26cfd3,_0x113def,_0x534814){return _0x26cfd3(_0x113def,_0x534814);},'imLMt':_0x3def31(0xeb),'tDqMi':_0x3def31(0x17e),'aVGuF':function(_0x5e4fed,_0x1737bf){return _0x5e4fed(_0x1737bf);},'NgGLC':_0x3def31(0x16a),'HvRQi':function(_0x41d952,_0x82bcd7){return _0x41d952(_0x82bcd7);},'qRdCv':_0x3def31(0x126),'HIxrc':_0x3def31(0x154),'HsKRz':function(_0x4e2720){return _0x4e2720();},'vIsuT':function(_0x48b7e4,_0x40b7b3){return _0x48b7e4(_0x40b7b3);}};PerformanceTester['startMonitoring'](),logger['debug'](_0x5b14ab['tDqMi']),global[_0x3def31(0x104)]=[],global[_0x3def31(0x167)]=![];if(playwrightPatcher)try{const _0x1152e5=_0x5b14ab[_0x3def31(0x12d)](require,_0x5b14ab[_0x3def31(0x15e)]),_0x1bcba6=_0x5b14ab[_0x3def31(0x1a4)](require,_0x5b14ab[_0x3def31(0xf1)]);_0x1152e5[_0x3def31(0x1af)]()[_0x3def31(0x14e)]()&&(logger['debug'](_0x5b14ab[_0x3def31(0x144)]),_0x1bcba6[_0x3def31(0x111)](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x3def31(0x122)]),await _0x1152e5[_0x3def31(0x1af)]()[_0x3def31(0xff)]());}catch(_0x34ade2){logger[_0x3def31(0xd3)](_0x3def31(0xcb)+util[_0x3def31(0xf3)](_0x34ade2));}_0x5b14ab['HsKRz'](shouldProcessEventForTesthub)&&(_0x5b14ab[_0x3def31(0x136)](registerListeners),_0x5b14ab['vIsuT'](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x2a925d=_0x3def31;let _0x55dd26=![];try{global['__drivers']&&global[_0x2a925d(0xec)][0x0]&&(await global[_0x2a925d(0xec)][0x0][_0x2a925d(0xbe)],_0x55dd26=!![],global[_0x2a925d(0x167)]?await _0x5b14ab['IDcit'](markSessionStatus,global[_0x2a925d(0xec)][0x0],_0x5b14ab[_0x2a925d(0x157)],global[_0x2a925d(0x104)]['join'](_0x5b14ab[_0x2a925d(0x146)])):await _0x5b14ab['sGgQh'](markSessionStatus,global[_0x2a925d(0xec)][0x0],_0x5b14ab[_0x2a925d(0x192)]));}catch(_0x3d9153){logger['debug'](_0x2a925d(0x16d)+_0x3d9153);}global[_0x2a925d(0x104)]=[],global[_0x2a925d(0x167)]=![];if(_0x55dd26)try{await global[_0x2a925d(0xec)][0x0][_0x2a925d(0x13e)](),global[_0x2a925d(0xec)][0x0][_0x2a925d(0xbe)][_0x2a925d(0x195)](_0x4a51d5=>{const _0x481c7f=_0x2a925d;logger[_0x481c7f(0xd3)](_0x481c7f(0x12b)+_0x4a51d5[_0x481c7f(0x145)]());})[_0x2a925d(0x1b3)](_0x1015a1=>{const _0x42afc0=_0x2a925d;logger[_0x42afc0(0xd3)](_0x42afc0(0xd9)+(_0x1015a1&&_0x1015a1[_0x42afc0(0x100)]||_0x1015a1));});}catch(_0x3ef3ac){logger[_0x2a925d(0xd3)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x3ef3ac);}};});const a9_0x26c636={};a9_0x26c636['name']='bstack',a9_0x26c636['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x10ffc7(0x120)],Before(a9_0x26c636,function(_0x1bbfe7,_0x435b90){const _0x2b2b95=a9_0x10ffc7,_0x7139a={'Axrue':function(_0x5cda18,_0x32c5ef){return _0x5cda18>_0x32c5ef;},'VvTet':function(_0x2f74fa,_0x14b359){return _0x2f74fa(_0x14b359);},'RoQmu':function(_0x47f073,_0x4088fe,_0x2c627c,_0x48f9e4){return _0x47f073(_0x4088fe,_0x2c627c,_0x48f9e4);},'exdDT':_0x2b2b95(0xfb),'NloxS':_0x2b2b95(0x16a),'AMvlz':_0x2b2b95(0x10a),'kbBtQ':_0x2b2b95(0x10b),'wUQIt':_0x2b2b95(0x17f),'VDKgK':'cucumber-test','ZFjnv':function(_0x5b477c){return _0x5b477c();},'LAXhf':'Inside\x20browserstack\x20Before'};commandRepository[_0x2b2b95(0x10e)](_0x1bbfe7[_0x2b2b95(0x11c)][_0x2b2b95(0xdd)]),logger[_0x2b2b95(0xd3)](_0x7139a['LAXhf']),new Promise(async _0x52d520=>{const _0x29172c=_0x2b2b95;try{global['__drivers']&&_0x7139a[_0x29172c(0x11f)](global[_0x29172c(0xec)][_0x29172c(0x13a)],0x1)&&(await global[_0x29172c(0x148)](),global[_0x29172c(0xec)][_0x29172c(0xc2)]()),global[_0x29172c(0xec)]&&global[_0x29172c(0xec)][0x0]&&global[_0x29172c(0xec)][0x0][_0x29172c(0x11d)]&&_0x7139a[_0x29172c(0x11f)](global[_0x29172c(0xec)][0x0]['quitCount_'],0x0)&&await global[_0x29172c(0x148)]();}catch(_0x3dd77d){logger['debug'](_0x29172c(0xe4)+_0x3dd77d);}workerDetails['currentTest'][_0x29172c(0x189)]=_0x1bbfe7;if(!playwrightPatcher){try{if(!_0x7139a[_0x29172c(0x17c)](isUndefined,_0x1bbfe7['pickle'][_0x29172c(0x152)])){const _0x38d22e=_0x7139a[_0x29172c(0xf7)](shouldScanTestForAccessibility,null,![],_0x1bbfe7[_0x29172c(0x11c)]['tags'][_0x29172c(0x1a7)](({name:_0x4e9b0b})=>_0x4e9b0b));globals[_0x29172c(0xdf)](_0x7139a[_0x29172c(0xe0)],_0x38d22e);}}catch(_0x169a8f){logger['debug'](_0x29172c(0x1b2)+util[_0x29172c(0xf3)](_0x169a8f));}workerDetails[_0x29172c(0x199)][_0x29172c(0x151)]=TestDetails['getTestUUID'](_0x1bbfe7[_0x29172c(0x183)]);}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x1bbfe7),global['__workerDetails']&&global[_0x29172c(0xf5)][_0x29172c(0x156)]&&playwrightPatcher['patchPageCommandsForAccessibility'](global['__workerDetails']['pwPage']);}catch(_0x4c4cca){logger[_0x29172c(0xd3)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util['format'](_0x4c4cca));}if(playwrightPatcher)try{const _0x4399cc=_0x7139a[_0x29172c(0x17c)](require,_0x7139a['NloxS']),_0x3d6a42=_0x7139a[_0x29172c(0x17c)](require,_0x7139a[_0x29172c(0x15c)]),_0x2d3ab1=_0x7139a[_0x29172c(0x17c)](require,_0x7139a[_0x29172c(0x116)]);if(_0x4399cc[_0x29172c(0x1af)]()['isRunning']()){const _0x37a7d1={'title':_0x1bbfe7[_0x29172c(0x11c)][_0x29172c(0xdd)]||_0x7139a[_0x29172c(0xce)],'titlePath':[_0x1bbfe7[_0x29172c(0x11c)][_0x29172c(0xdd)]||_0x7139a[_0x29172c(0xce)]],'id':_0x1bbfe7[_0x29172c(0x183)]||_0x7139a[_0x29172c(0x190)],'tags':_0x1bbfe7[_0x29172c(0x11c)][_0x29172c(0x152)]||[],..._0x1bbfe7},_0x5c1cd0=_0x37a7d1;global['__currentTestInfo']=_0x5c1cd0,logger['debug'](_0x29172c(0x16b)+_0x1bbfe7['pickle'][_0x29172c(0xdd)]);}}catch(_0x390fc5){logger[_0x29172c(0xd3)](_0x29172c(0xde)+util[_0x29172c(0xf3)](_0x390fc5));}_0x7139a[_0x29172c(0x112)](_0x52d520);})[_0x2b2b95(0x165)](_0x435b90);});const a9_0x322cf1={};a9_0x322cf1['name']='bstack',a9_0x322cf1[a9_0x10ffc7(0x18d)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0x322cf1,function(_0x28ca1e,_0x18f993){const _0x30cb64=a9_0x10ffc7,_0x1d85ba={'JamOJ':function(_0x37195b,_0x2f5c0c){return _0x37195b>_0x2f5c0c;},'amVBz':function(_0x3da140,_0x21f7f7){return _0x3da140===_0x21f7f7;},'QLOqe':_0x30cb64(0x119),'nQxOM':function(_0x41c51d,_0x2f0c31){return _0x41c51d===_0x2f0c31;},'RObVv':function(_0x570ea6,_0x58302d,_0x1a6ade,_0x2724d0){return _0x570ea6(_0x58302d,_0x1a6ade,_0x2724d0);},'JyafV':_0x30cb64(0x147),'Tytbj':function(_0x292693,_0x17682d,_0x21fab4){return _0x292693(_0x17682d,_0x21fab4);},'SOiUh':_0x30cb64(0xeb),'lcXSw':function(_0x9ec725,_0x5d581c){return _0x9ec725(_0x5d581c);},'eoJUO':_0x30cb64(0x16a),'MMRXN':_0x30cb64(0x10a),'MZOyC':function(_0x59e575,_0xe70fb4){return _0x59e575(_0xe70fb4);},'WHnWi':_0x30cb64(0x10b),'DOzhg':_0x30cb64(0x17f),'MtqnZ':_0x30cb64(0x12e),'QfIRA':'Completed\x20Playwright\x20afterTestHook\x20execution','SANpn':_0x30cb64(0xe3),'qCUFg':_0x30cb64(0x141),'pBDfa':_0x30cb64(0x13d),'BdKxx':_0x30cb64(0x11a),'NHAQE':function(_0x154234,_0x4d420d){return _0x154234(_0x4d420d);},'SnxAm':'../v2/browserstackCLI.js','FMrLB':function(_0x32f667){return _0x32f667();},'UZVWS':function(_0x2d59d4,_0x4fc79d,_0x323b66,_0x47e935){return _0x2d59d4(_0x4fc79d,_0x323b66,_0x47e935);},'MfNCt':'CBTSessionCreated','zyviq':_0x30cb64(0xca),'jCOIB':_0x30cb64(0xfb),'KOyyB':_0x30cb64(0x14f),'nIksR':'Performing\x20scan\x20before\x20saving\x20results','eJFZf':_0x30cb64(0x1a9),'RoisP':_0x30cb64(0x133),'DpCnq':function(_0x3d8227,_0x1664cd){return _0x3d8227>_0x1664cd;},'VaMOM':function(_0x1b5ab3){return _0x1b5ab3();},'dziDb':_0x30cb64(0x168)};logger[_0x30cb64(0xd3)](_0x1d85ba[_0x30cb64(0xed)]),workerDetails['currentTest']['testInfo']=_0x28ca1e,new Promise(async _0x4f189f=>{const _0x321eb0=_0x30cb64;let _0x43a5b6=![],_0x2785c1=![],_0x42d670=![];try{global['__drivers']&&_0x1d85ba[_0x321eb0(0x121)](global[_0x321eb0(0xec)][_0x321eb0(0x13a)],0x0)&&(_0x2785c1=!![]),playwrightPatcher&&global[_0x321eb0(0xf5)]&&global['__workerDetails'][_0x321eb0(0x156)]&&(_0x42d670=!![],logger['debug']('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x321eb0(0xf5)][_0x321eb0(0x156)]));}catch(_0x201970){logger[_0x321eb0(0xd3)]('Error\x20determining\x20test\x20flow:\x20'+_0x201970);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x2785c1+_0x321eb0(0xfe)+_0x42d670);const _0x2f0334=_0x28ca1e[_0x321eb0(0x107)]['status']['toString']()[_0x321eb0(0x108)](),_0x2f8f15=_0x1d85ba[_0x321eb0(0xd1)](_0x2f0334,_0x1d85ba[_0x321eb0(0xfa)])||_0x1d85ba[_0x321eb0(0xd4)](_0x2f0334,'6'),_0x2413f1=_0x2f8f15?_0x28ca1e['result'][_0x321eb0(0x137)]:null;if(_0x2f8f15)try{global[_0x321eb0(0x104)][_0x321eb0(0x153)](_0x28ca1e[_0x321eb0(0x107)]['message']),global[_0x321eb0(0x167)]=!![];}catch(_0x7ac191){logger[_0x321eb0(0xd3)](_0x321eb0(0xf4)+_0x7ac191);}if(_0x2785c1)try{global[_0x321eb0(0xec)]&&_0x1d85ba[_0x321eb0(0x121)](global[_0x321eb0(0xec)]['length'],0x1)&&(await global['driverCleanup'](),global[_0x321eb0(0xec)]['shift'](),global[_0x321eb0(0x104)]=[],global[_0x321eb0(0x167)]=![]),global[_0x321eb0(0xec)]&&global[_0x321eb0(0xec)][0x0]&&(await global[_0x321eb0(0xec)][0x0][_0x321eb0(0xbe)],_0x43a5b6=!![],!global[_0x321eb0(0x1b4)]&&await global[_0x321eb0(0xec)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x28ca1e[_0x321eb0(0x11c)][_0x321eb0(0xdd)]+'\x22}}'),_0x2f8f15?await _0x1d85ba['RObVv'](markSessionStatus,global[_0x321eb0(0xec)][0x0],_0x1d85ba[_0x321eb0(0xfa)],global[_0x321eb0(0x104)][_0x321eb0(0xd7)](_0x1d85ba[_0x321eb0(0x1a3)])):await _0x1d85ba[_0x321eb0(0x198)](markSessionStatus,global[_0x321eb0(0xec)][0x0],_0x1d85ba[_0x321eb0(0x18c)]));}catch(_0x130e13){logger[_0x321eb0(0xd3)](_0x321eb0(0x14c)+util[_0x321eb0(0xf3)](_0x130e13));}if(_0x42d670)try{try{const _0x4e0588=_0x1d85ba[_0x321eb0(0x19a)](require,_0x1d85ba[_0x321eb0(0x15f)]),_0x52f93c=_0x1d85ba[_0x321eb0(0x19a)](require,_0x1d85ba[_0x321eb0(0xe1)]),_0x16579f=_0x1d85ba[_0x321eb0(0x162)](require,_0x1d85ba[_0x321eb0(0xdc)]);if(_0x4e0588[_0x321eb0(0x1af)]()[_0x321eb0(0x132)]()){const _0x581eb2={'title':_0x28ca1e[_0x321eb0(0x11c)]['name']||_0x1d85ba[_0x321eb0(0x172)],'titlePath':[_0x28ca1e['pickle'][_0x321eb0(0xdd)]||_0x1d85ba[_0x321eb0(0x172)]],'id':_0x28ca1e[_0x321eb0(0x183)]||_0x1d85ba[_0x321eb0(0x14d)],'status':_0x2f8f15?_0x1d85ba[_0x321eb0(0xfa)]:_0x1d85ba[_0x321eb0(0x18c)],'error':_0x2413f1?{'message':_0x2413f1}:null,'tags':_0x28ca1e[_0x321eb0(0x11c)][_0x321eb0(0x152)]||[],..._0x28ca1e},_0x5e2f64=_0x581eb2,_0x223ebb={};_0x223ebb[_0x321eb0(0x189)]=_0x5e2f64,_0x223ebb['scenario']=_0x28ca1e,_0x223ebb[_0x321eb0(0x170)]=global['__workerDetails'][_0x321eb0(0x156)],_0x223ebb['testFramework']=FRAMEWORKS[_0x321eb0(0x19b)],await _0x4e0588[_0x321eb0(0x1af)]()[_0x321eb0(0xe8)]()[_0x321eb0(0x186)](_0x52f93c['QUIT'],_0x16579f[_0x321eb0(0x18a)],_0x223ebb),logger[_0x321eb0(0xd3)](_0x321eb0(0xfc)+_0x28ca1e[_0x321eb0(0x11c)][_0x321eb0(0xdd)]);}}catch(_0x55ac77){logger[_0x321eb0(0xd3)](_0x321eb0(0xc1)+util[_0x321eb0(0xf3)](_0x55ac77));}const _0x326fca=_0x2f8f15?_0x1d85ba[_0x321eb0(0xfa)]:_0x1d85ba['SOiUh'];await playwrightPatcher[_0x321eb0(0x127)](_0x28ca1e,_0x326fca,_0x2413f1),logger[_0x321eb0(0xd3)](_0x1d85ba[_0x321eb0(0x150)]);try{await playwrightPatcher['executeDeferredCloses'](),logger['debug'](_0x1d85ba['SANpn']);}catch(_0x30b898){logger[_0x321eb0(0xd3)](_0x321eb0(0x12a)+util[_0x321eb0(0xf3)](_0x30b898));}try{playwrightPatcher[_0x321eb0(0xef)][_0x321eb0(0x1a1)](),logger[_0x321eb0(0xd3)](_0x1d85ba[_0x321eb0(0x169)]);}catch(_0x33824d){logger[_0x321eb0(0xd3)](_0x321eb0(0x128)+util['format'](_0x33824d));}}catch(_0x440965){logger['debug'](_0x321eb0(0x16e)+util[_0x321eb0(0xf3)](_0x440965));try{playwrightPatcher[_0x321eb0(0x161)]&&(await playwrightPatcher[_0x321eb0(0x161)](),logger[_0x321eb0(0xd3)](_0x1d85ba['pBDfa'])),playwrightPatcher[_0x321eb0(0xef)]&&playwrightPatcher['closeTracker'][_0x321eb0(0x1a1)]&&(playwrightPatcher[_0x321eb0(0xef)][_0x321eb0(0x1a1)](),logger[_0x321eb0(0xd3)](_0x1d85ba[_0x321eb0(0x174)]));}catch(_0x4785b6){logger[_0x321eb0(0xd3)](_0x321eb0(0xbc)+util['format'](_0x4785b6));}}const _0x42541b=_0x1d85ba[_0x321eb0(0xf2)](require,_0x1d85ba[_0x321eb0(0x193)]);if(!_0x42541b[_0x321eb0(0x1af)]()[_0x321eb0(0x132)]())try{if(_0x1d85ba[_0x321eb0(0x1b1)](shouldProcessEventForTesthub)){const _0x226612=TestDetails['getTestUUID'](_0x28ca1e[_0x321eb0(0x183)]);let _0x5b6cc0=null;global[_0x321eb0(0xec)]&&global['__drivers'][0x0]&&(_0x5b6cc0=await _0x1d85ba['UZVWS'](sendPlatformDetails,global[_0x321eb0(0xec)][0x0],_0x226612,!![]));const _0x56c448={};_0x56c448[_0x321eb0(0x10c)]=_0x226612,_0x56c448[_0x321eb0(0x1ac)]=_0x5b6cc0;const _0x878910=_0x56c448,_0x3ebf05={};_0x3ebf05[_0x321eb0(0x1ae)]=_0x1d85ba[_0x321eb0(0x1a5)],_0x3ebf05['test_run']=_0x878910,await SessionHandler[_0x321eb0(0x125)](_0x3ebf05);}}catch(_0x462f59){logger[_0x321eb0(0xd3)](_0x321eb0(0x1a2)+util[_0x321eb0(0xf3)](_0x462f59));}try{if(globals[_0x321eb0(0xd2)](_0x1d85ba['zyviq'])&&globals[_0x321eb0(0xd2)](_0x1d85ba['jCOIB'])){logger[_0x321eb0(0x16f)](_0x1d85ba[_0x321eb0(0x1b5)]);const _0xcf60=TestDetails[_0x321eb0(0xc5)](_0x28ca1e[_0x321eb0(0x183)]),_0x11e645={};_0x11e645[_0x321eb0(0x151)]=_0xcf60,_0x11e645['thBuildUuid']=process[_0x321eb0(0xda)][testHubConstants['ENV_VAR'][_0x321eb0(0x180)]],_0x11e645[_0x321eb0(0x18b)]=process[_0x321eb0(0xda)][testHubConstants[_0x321eb0(0x185)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3cd095=_0x11e645;logger['debug'](_0x321eb0(0x11b)+JSON[_0x321eb0(0x101)](_0x3cd095)),logger['debug'](_0x1d85ba[_0x321eb0(0x12f)]),global[_0x321eb0(0xec)]&&global[_0x321eb0(0xec)][0x0]&&(logger['debug'](util[_0x321eb0(0xf3)](await global[_0x321eb0(0xec)][0x0][_0x321eb0(0x173)](scripts[_0x321eb0(0x1b6)],{'method':global[_0x321eb0(0xf6)]}))),globals[_0x321eb0(0xd2)](_0x1d85ba[_0x321eb0(0xcc)])&&(_0x3cd095[_0x321eb0(0xee)]=!![]),await global['__drivers'][0x0][_0x321eb0(0x173)](scripts[_0x321eb0(0x1a0)],_0x3cd095)),logger[_0x321eb0(0x16f)](_0x1d85ba[_0x321eb0(0x109)]);}}catch(_0x2cc80b){logger[_0x321eb0(0x1ab)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util['format'](_0x2cc80b));}if(_0x43a5b6)try{global['__drivers'][0x0]&&_0x1d85ba[_0x321eb0(0x14a)](global[_0x321eb0(0xec)][0x0][_0x321eb0(0x11d)],0x0)&&await global[_0x321eb0(0xec)][0x0][_0x321eb0(0x13e)]();}catch(_0x19cd3a){logger['debug'](_0x321eb0(0x196)+_0x19cd3a);}_0x1d85ba[_0x321eb0(0x110)](_0x4f189f);})[_0x30cb64(0x165)](()=>_0x18f993());});const a9_0x4252b1={};a9_0x4252b1[a9_0x10ffc7(0xdd)]=a9_0x10ffc7(0x15b),a9_0x4252b1[a9_0x10ffc7(0x18d)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x10ffc7(0x120)],AfterStep(a9_0x4252b1,function(_0x24a543,_0xee61d8){const _0x1031d5=a9_0x10ffc7,_0xe3c9b3={'atIyD':function(_0x4b1a4a,_0x5acb90){return _0x4b1a4a===_0x5acb90;},'dfGaD':_0x1031d5(0x119),'wSIbA':function(_0x1a5eb6,_0x5c2a4f){return _0x1a5eb6===_0x5c2a4f;},'NsCAV':function(_0x35c9b1,_0x2d26f6){return _0x35c9b1!==_0x2d26f6;},'APnIY':function(_0x4bab7b,_0x14a06e,_0x4c397c){return _0x4bab7b(_0x14a06e,_0x4c397c);},'ylrKd':function(_0x4c8c2b,_0x3c6357){return _0x4c8c2b+_0x3c6357;},'yrONK':function(_0x1d3012,_0x287a59){return _0x1d3012+_0x287a59;},'UHMWG':_0x1031d5(0xc7),'oPPnZ':_0x1031d5(0x17b),'qKoYM':_0x1031d5(0x1ab),'IlKbl':function(_0x46a43d,_0x31b873){return _0x46a43d!==_0x31b873;},'Iusom':'Passed:\x20','EUtSZ':_0x1031d5(0x16f),'FPIbL':function(_0x414586,_0x40876a,_0x44d418){return _0x414586(_0x40876a,_0x44d418);},'wuYqG':_0x1031d5(0x175),'XVXxH':function(_0x50c036){return _0x50c036();},'GpMuG':_0x1031d5(0x113)};logger['debug'](_0xe3c9b3[_0x1031d5(0xc0)]);const _0x1656b6=async(_0x2eaa48,_0x36f9a7)=>{const _0x3ae908=_0x1031d5;global['__drivers']&&global[_0x3ae908(0xec)][0x0]&&await global[_0x3ae908(0xec)][0x0][_0x3ae908(0x19d)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x2eaa48+_0x3ae908(0x182)+_0x36f9a7+_0x3ae908(0x18e));};new Promise(async _0x55a3cb=>{const _0x10b649=_0x1031d5;try{const _0x55fb87=_0xe3c9b3['atIyD'](_0x24a543[_0x10b649(0x107)][_0x10b649(0x158)][_0x10b649(0x191)]()[_0x10b649(0x108)](),_0xe3c9b3[_0x10b649(0x134)])||_0xe3c9b3['wSIbA'](_0x24a543[_0x10b649(0x107)][_0x10b649(0x158)][_0x10b649(0x191)]()[_0x10b649(0x108)](),'6');_0x55fb87?(global[_0x10b649(0x167)]=!![],global[_0x10b649(0x104)][_0x10b649(0x153)](_0x24a543[_0x10b649(0x107)][_0x10b649(0x137)]),_0xe3c9b3[_0x10b649(0x123)](_0x24a543[_0x10b649(0xbf)],undefined)?await _0xe3c9b3[_0x10b649(0x15a)](_0x1656b6,JSON[_0x10b649(0x101)](_0xe3c9b3[_0x10b649(0xe5)](_0xe3c9b3['ylrKd'](_0xe3c9b3[_0x10b649(0x118)](_0xe3c9b3['UHMWG'],'\x22'+_0x24a543[_0x10b649(0xbf)]['text']+'\x22\x20'),_0xe3c9b3[_0x10b649(0x106)]),_0x24a543[_0x10b649(0x107)][_0x10b649(0x137)])),_0xe3c9b3[_0x10b649(0x117)]):await _0xe3c9b3[_0x10b649(0x15a)](_0x1656b6,JSON[_0x10b649(0x101)](_0xe3c9b3[_0x10b649(0x118)](_0xe3c9b3['UHMWG'],_0x24a543[_0x10b649(0x107)]['message'])),_0xe3c9b3[_0x10b649(0x117)])):_0xe3c9b3[_0x10b649(0x114)](_0x24a543[_0x10b649(0xbf)],undefined)?await _0xe3c9b3['APnIY'](_0x1656b6,JSON[_0x10b649(0x101)](_0xe3c9b3[_0x10b649(0xe5)](_0xe3c9b3['Iusom'],'\x22'+_0x24a543['pickleStep'][_0x10b649(0x13b)]+'\x22')),_0xe3c9b3[_0x10b649(0x188)]):await _0xe3c9b3['FPIbL'](_0x1656b6,JSON[_0x10b649(0x101)](_0xe3c9b3[_0x10b649(0xf0)]),_0xe3c9b3[_0x10b649(0x188)]),global[_0x10b649(0xec)]&&global[_0x10b649(0xec)][0x0]&&global[_0x10b649(0xec)][0x0][_0x10b649(0xbe)][_0x10b649(0x195)](_0x11a0a2=>{})[_0x10b649(0x1b3)](_0x383217=>{const _0x420116=_0x10b649;logger['debug'](_0x420116(0xe7)+util['format'](_0x383217));});}catch(_0x6d8e52){logger['debug'](_0x10b649(0x17a)+_0x6d8e52);}_0xe3c9b3['XVXxH'](_0x55a3cb);})[_0x1031d5(0x165)](()=>_0xee61d8());});const a9_0x444a32={};a9_0x444a32['name']=a9_0x10ffc7(0x15b),a9_0x444a32[a9_0x10ffc7(0x18d)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x444a32,async function(_0x2579f3,_0x30d1ea){const _0x474163=a9_0x10ffc7,_0x228e0f={'pdOin':_0x474163(0x139),'SJVhR':_0x474163(0xd0),'XIbAJ':function(_0x2a9e44){return _0x2a9e44();},'fVzpL':_0x474163(0xfd)};logger[_0x474163(0xd3)](_0x228e0f['fVzpL']),await new Promise(async _0x1d807a=>{const _0x3c76ad=_0x474163,_0x50ca1c=_0x228e0f[_0x3c76ad(0x181)][_0x3c76ad(0xd6)]('|');let _0x2b56a4=0x0;while(!![]){switch(_0x50ca1c[_0x2b56a4++]){case'0':await global[_0x3c76ad(0x148)]();continue;case'1':await RequestQueueHandler[_0x3c76ad(0x1af)]()['shutdown']();continue;case'2':PerformanceTester[_0x3c76ad(0x1a6)]();continue;case'3':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher[_0x3c76ad(0xef)]&&playwrightPatcher['closeTracker']['cleanup'](),logger[_0x3c76ad(0xd3)](_0x228e0f[_0x3c76ad(0x12c)]));}catch(_0x2840fd){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x3c76ad(0xf3)](_0x2840fd));}continue;case'4':_0x228e0f['XIbAJ'](_0x1d807a);continue;}break;}});});
|