browserstack-node-sdk 1.47.3 → 1.48.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages-accessibility_pb.d.ts +6 -0
- package/generated/sdk-messages-accessibility_pb.js +49 -1
- package/generated/sdk-messages_pb.d.ts +12 -0
- package/generated/sdk-messages_pb.js +98 -2
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x4e5400=a5_0x9f2f;(function(_0x525a69,_0xb3ec49){const _0x35d6ae=a5_0x9f2f,_0x50ca13=_0x525a69();while(!![]){try{const _0x5d7896=parseInt(_0x35d6ae(0x151))/0x1+-parseInt(_0x35d6ae(0xdc))/0x2+parseInt(_0x35d6ae(0xda))/0x3*(parseInt(_0x35d6ae(0xf6))/0x4)+-parseInt(_0x35d6ae(0x153))/0x5*(-parseInt(_0x35d6ae(0xc8))/0x6)+parseInt(_0x35d6ae(0xd5))/0x7+-parseInt(_0x35d6ae(0xea))/0x8+-parseInt(_0x35d6ae(0x108))/0x9*(parseInt(_0x35d6ae(0xde))/0xa);if(_0x5d7896===_0xb3ec49)break;else _0x50ca13['push'](_0x50ca13['shift']());}catch(_0x2f93c4){_0x50ca13['push'](_0x50ca13['shift']());}}}(a5_0x6ec4,0x91bb9));function a5_0x9f2f(_0x1e6225,_0x1f7e63){const _0x6ec404=a5_0x6ec4();return a5_0x9f2f=function(_0x9f2f51,_0x520b16){_0x9f2f51=_0x9f2f51-0xb5;let _0x660fb5=_0x6ec404[_0x9f2f51];return _0x660fb5;},a5_0x9f2f(_0x1e6225,_0x1f7e63);}const fs=require('fs'),path=require('path'),util=require(a5_0x4e5400(0xc5)),logger=require(a5_0x4e5400(0xca))[a5_0x4e5400(0xf7)],helper=require(a5_0x4e5400(0x13f)),utilities=require(a5_0x4e5400(0x100)),constants=require(a5_0x4e5400(0x103)),{parallelCucumberRun}=require(a5_0x4e5400(0x10e)),TestHubHandler=require(a5_0x4e5400(0x155)),testOpsHelper=require(a5_0x4e5400(0xbb)),chalk=require(a5_0x4e5400(0x11b)),PerformanceTester=require(a5_0x4e5400(0xe9)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x4e5400(0x107)],BrowserstackCLI=require(a5_0x4e5400(0x139)),CLIUtils=require(a5_0x4e5400(0x140)),{checkPwandBootstrapCli}=require(a5_0x4e5400(0xee)),ClientTroubleShootingService=require(a5_0x4e5400(0x143));function printCucumberStats(_0x388791){const _0x285554=a5_0x4e5400,_0x33224d={};_0x33224d[_0x285554(0x147)]=function(_0x59c1dd,_0x3c8c86){return _0x59c1dd>_0x3c8c86;},_0x33224d[_0x285554(0xc0)]=function(_0x5bb5bd,_0x46c6f5){return _0x5bb5bd-_0x46c6f5;},_0x33224d['htcnb']=function(_0x4cd7c2,_0x28b6fd){return _0x4cd7c2>_0x28b6fd;},_0x33224d['oTrMV']=function(_0x364d28,_0x24b552){return _0x364d28>_0x24b552;},_0x33224d[_0x285554(0x138)]=function(_0x40f9f7,_0x3a243b){return _0x40f9f7>_0x3a243b;},_0x33224d[_0x285554(0xf9)]=function(_0x5a6ac6,_0x4dafd0){return _0x5a6ac6>_0x4dafd0;},_0x33224d[_0x285554(0x11d)]=function(_0x277316,_0x37f6d6){return _0x277316>_0x37f6d6;},_0x33224d['eBOvl']=function(_0x50b8b8,_0x1af23e){return _0x50b8b8+_0x1af23e;},_0x33224d[_0x285554(0x121)]=function(_0xad0830,_0x4af537){return _0xad0830+_0x4af537;},_0x33224d[_0x285554(0x130)]=function(_0x51e56c,_0x4946f5){return _0x51e56c+_0x4946f5;},_0x33224d[_0x285554(0x145)]=function(_0x5788db,_0x4435c2){return _0x5788db+_0x4435c2;},_0x33224d[_0x285554(0x129)]=function(_0x1bc2d3,_0x3fd985){return _0x1bc2d3===_0x3fd985;},_0x33224d[_0x285554(0x142)]=_0x285554(0xd3);const _0x40368f=_0x33224d;let _0x55909a=0x0;if(_0x40368f['TOCKd'](_0x388791[_0x285554(0xbe)],0x0))return _0x55909a;return console[_0x285554(0xd4)](chalk[_0x285554(0xf8)][_0x285554(0xe6)](_0x40368f[_0x285554(0x142)])),_0x388791[_0x285554(0x105)](_0x51e06e=>{const _0x5e5343=_0x285554,_0x45eedd=_0x51e06e[0x0],_0x827006=_0x51e06e[0x1];helper[_0x5e5343(0xdb)]()&&console[_0x5e5343(0xd4)]('\x0a'+chalk[_0x5e5343(0xf8)][_0x5e5343(0x149)](''+helper[_0x5e5343(0xef)](_0x45eedd)));const _0x1cd420=_0x827006[_0x5e5343(0x10c)],_0x37d92c=_0x827006['steps'],_0xfdfc99=_0x827006[_0x5e5343(0xe2)],_0xb99838=_0x827006[_0x5e5343(0xf4)],_0x2cd863=_0x827006['stepsPassed'],_0x1120b4=_0x827006[_0x5e5343(0x14d)],_0x31ec5d=_0x827006[_0x5e5343(0x111)],_0x3c2d6d=_0x827006['stepsUndefined'],_0x344650=_0x827006['stepsUnknown'],_0x2206c4=_0x827006[_0x5e5343(0xb6)],_0x1cc55d=_0x827006[_0x5e5343(0xce)];let _0x51c903=_0x1cd420+_0x5e5343(0x116);const _0x456cd9=_0x40368f[_0x5e5343(0x147)](_0x40368f['fmkxs'](_0x1cd420,_0xfdfc99),0x0)?_0x40368f[_0x5e5343(0xc0)](_0x1cd420,_0xfdfc99):0x0;if(_0x40368f[_0x5e5343(0x147)](_0xfdfc99,0x0)&&_0x40368f[_0x5e5343(0x109)](_0x456cd9,0x0))_0x51c903+='\x20('+chalk[_0x5e5343(0xf8)]['red'](_0xfdfc99+_0x5e5343(0x123))+',\x20'+chalk[_0x5e5343(0xf8)][_0x5e5343(0xed)](_0x456cd9+'\x20passed')+')';else(_0x40368f[_0x5e5343(0x109)](_0xfdfc99,0x0)||_0x40368f[_0x5e5343(0x109)](_0x456cd9,0x0))&&(_0x51c903+=_0x40368f[_0x5e5343(0x109)](_0xfdfc99,0x0)?'\x20('+chalk[_0x5e5343(0xf8)][_0x5e5343(0xf1)](_0xfdfc99+'\x20failed')+')':'\x20('+chalk[_0x5e5343(0xf8)]['green'](_0x456cd9+_0x5e5343(0x128))+')');const _0x38f17c=_0x37d92c+'\x20steps',_0x494d58=[];_0x40368f[_0x5e5343(0x109)](_0x2206c4,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)][_0x5e5343(0xf1)](_0x2206c4+_0x5e5343(0x135)));_0x40368f[_0x5e5343(0xe8)](_0xb99838,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)][_0x5e5343(0xf1)](_0xb99838+'\x20failed'));_0x40368f[_0x5e5343(0x147)](_0x2cd863,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)][_0x5e5343(0xed)](_0x2cd863+_0x5e5343(0x128)));_0x40368f['idsxO'](_0x31ec5d,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)]['yellow'](_0x31ec5d+_0x5e5343(0xc3)));_0x40368f[_0x5e5343(0xf9)](_0x1120b4,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)][_0x5e5343(0x126)](_0x1120b4+_0x5e5343(0x12a)));_0x40368f[_0x5e5343(0x11d)](_0x3c2d6d,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk['bold']['yellow'](_0x3c2d6d+_0x5e5343(0xba)));_0x40368f['PeQBR'](_0x344650,0x0)&&_0x494d58[_0x5e5343(0xf3)](''+chalk[_0x5e5343(0xf8)][_0x5e5343(0x149)](_0x344650+_0x5e5343(0x12a)));const _0x355f8b=_0x40368f['eBOvl'](_0x40368f[_0x5e5343(0xc4)](_0x40368f[_0x5e5343(0xc4)](_0x38f17c,'('),_0x494d58[_0x5e5343(0x13c)](',\x20')),')');console[_0x5e5343(0xd4)](_0x40368f[_0x5e5343(0x121)](_0x40368f[_0x5e5343(0x130)](_0x40368f[_0x5e5343(0xc4)](_0x40368f[_0x5e5343(0x145)]('\x0a',_0x51c903),'\x0a'),_0x355f8b),'\x0a')),_0x40368f[_0x5e5343(0x129)](_0x1cc55d,![])&&(_0x55909a=0x1);}),_0x55909a;}function a5_0x6ec4(){const _0x4bd391=['exports','10BraFwr','fiEgt','../../helpers/testhub/testhubHandler','tgRyr','testContextOptions','Generating\x20consolidated\x20report...','stepsAmbiguous','CUCUMBER','isUndefined','true','\x20undefined','../../helpers/test-observability/utils','BROWSERSTACK_CLI_BIN_SESSION_ID','format','length','getHubUrl','fmkxs','splice','fJXgg','\x20pending','eBOvl','util','KZZbZ','launchBuild','2116518FLIIlC','setFrameworkDetail','../../helpers/logger','getInstance','SIYVJ','end','processSuccess','turboScaleUrl','env','cucumber','stop','****\x20RESULTS\x20****','log','3887919xmMwwU','UeseI','SDK_SETUP','browserstackAutomation','gFQAZ','344961IhNXfZ','isBrowserstackInfra','2108482QySLOH','platforms','330BqFZmb','mzbmv','accessibility','__isPlaywrightInstalled','scenariosFailed','bPTCY','getPackageVersion','configPath','bgWhite','FRAMEWORKS','oTrMV','../../helpers/performance/performance-tester','3259560XTXfHL','testObservability','getConfig','green','../../helpers/playwright-helper','getPlatformName','../../helpers/accessibility-automation/helper','red','hBNVu','push','stepsFailed','BSgEo','20angtro','winstonLogger','bold','pWVHF','then','BROWSERSTACK_TEST_OBSERVABILITY','dOPWp','PLAYWRIGHT','skipSessionStatus','Itcjb','../../helpers/utilities','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','indexOf','../utils/constants','handleApp','forEach','parallelsPerPlatform','EVENTS','114138KNvarP','htcnb','setupTCGAuth','tmp','scenarios','removeDir','../test-runner','wLNbh','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','stepsPending','argv','stringify','YVhDn','exitCode','\x20scenarios','HAXoO','mergeOutputFiles','hJLqa','BROWSERSTACK_AUTOMATION','chalk','accessibilityOptions','ZiUzh','SDK_CLEANUP','WWLCd','YGoGr','ABEwu','parseFormatters','\x20failed','errorMessage','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','cyan','finalExecution','\x20passed','TOCKd','\x20skipped','@playwright/test','Fsxjo','../playwright/accessibility-helper','GLaVM','BROWSERSTACK_TEST_ACCESSIBILITY_YML','OoSSl','muHBq','isFalse','assign','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20ambiguous','isRunning','debug','idsxO','../v2/browserstackCLI','binSessionId','getUserWorkerCount','join','setUserConfigPath','proxySettings','../../helpers/helper','../v2/cliUtils','logLevel','kTjeS','../utils/clientTroubleshootingService','config','JAdFO','nXBNf','PeQBR','start','yellow','pvWyX','useW3C','eGSji','stepsSkipped','BROWSERSTACK_TEST_OBSERVABILITY_YML','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','cliConfig','641255ndJnms'];a5_0x6ec4=function(){return _0x4bd391;};return a5_0x6ec4();}async function run(_0x351ea3,_0x56ecbc,_0xade41d){const _0x548498=a5_0x4e5400,_0x21e1b5={'muHBq':function(_0x5b3898,_0x31ea5b){return _0x5b3898(_0x31ea5b);},'HAXoO':function(_0x527ec3,_0x18fb50){return _0x527ec3>_0x18fb50;},'jsKCX':_0x548498(0xb5),'SIYVJ':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','UeseI':_0x548498(0xd1),'fJXgg':'error\x20removing\x20tcg\x20config\x20file','fiEgt':_0x548498(0x12b),'Itcjb':function(_0x2bcb98,_0x345a40,_0x1c65a6,_0x3096f2){return _0x2bcb98(_0x345a40,_0x1c65a6,_0x3096f2);},'pvWyX':_0x548498(0x10b),'tgRyr':function(_0x3c9d50,_0x41c197){return _0x3c9d50>_0x41c197;},'nXBNf':function(_0x26d592,_0x4a005d){return _0x26d592-_0x4a005d;},'BSgEo':function(_0x44f5e8,_0x4fc7e1){return _0x44f5e8>=_0x4fc7e1;},'Fsxjo':function(_0x4231d1,_0x334ad8){return _0x4231d1!=_0x334ad8;},'mzbmv':_0x548498(0xb9),'hJLqa':function(_0x333c17,_0xa779c){return _0x333c17(_0xa779c);},'eGSji':_0x548498(0xf0),'bPTCY':function(_0x1d7685,_0x5b4e03){return _0x1d7685(_0x5b4e03);},'YVhDn':_0x548498(0x12d),'YGoGr':function(_0x34809f,_0x2af906){return _0x34809f(_0x2af906);},'hBNVu':'false','dOPWp':function(_0x3c66ca,_0x2f5789){return _0x3c66ca===_0x2f5789;},'TEHaf':function(_0x3518d7,_0x13ae58){return _0x3518d7(_0x13ae58);},'WWLCd':_0x548498(0x139),'wLNbh':_0x548498(0x140),'GLaVM':function(_0x4c9b74,_0x4e3870){return _0x4c9b74(_0x4e3870);},'sRFDK':'../../helpers/test-observability/constants','KZZbZ':'--disable-test-observability','teaZA':function(_0x3f309d,_0x208c86){return _0x3f309d(_0x208c86);},'gFQAZ':function(_0x1a7312,_0x348298,_0x3f8bb1,_0x8ee3c0,_0x39ea1f,_0x15180b){return _0x1a7312(_0x348298,_0x3f8bb1,_0x8ee3c0,_0x39ea1f,_0x15180b);}},_0x4e3be1=helper[_0x548498(0xe4)](_0x21e1b5[_0x548498(0x154)]);global[_0x548498(0xe1)]=!!_0x4e3be1,await _0xade41d['initialize'](_0x351ea3),await _0x21e1b5[_0x548498(0xff)](checkPwandBootstrapCli,_0x4e3be1,constants[_0x548498(0xe7)][_0x548498(0xb7)],_0xade41d);BrowserstackCLI[_0x548498(0xcb)]()[_0x548498(0x13a)]&&(process[_0x548498(0xd0)][_0x548498(0xbc)]=BrowserstackCLI[_0x548498(0xcb)]()['binSessionId']);helper[_0x548498(0x13d)](_0xade41d['framework'],_0x351ea3);!helper[_0x548498(0xdb)]()&&await _0xade41d[_0x548498(0x10a)]();await helper[_0x548498(0x104)](_0xade41d[_0x548498(0x144)]);const _0xbd9fd9=helper[_0x548498(0x14b)](_0xade41d['config']);!helper[_0x548498(0xb8)](_0xade41d[_0x548498(0x144)][_0x548498(0x11c)])&&(process[_0x548498(0xd0)][_0x548498(0x101)]=JSON[_0x548498(0x113)](_0xade41d[_0x548498(0x144)][_0x548498(0x11c)]));if(!BrowserstackCLI[_0x548498(0xcb)]()['isRunning']()){const _0x555b06=await TestHubHandler[_0x548498(0xc7)](constants[_0x548498(0xe7)][_0x548498(0xb7)],_0xade41d);}let _0x3356a6=[];if(!helper[_0x548498(0xdb)]()){const _0x18621e={};_0x18621e[_0x548498(0xdd)]=[],_0x3356a6=helper['prepareCapabilities'](Object[_0x548498(0x133)]({},_0xade41d[_0x548498(0x144)],_0x18621e),_0xbd9fd9,constants[_0x548498(0xe7)]['CUCUMBER']);}else _0x3356a6=helper['prepareCapabilities'](_0xade41d[_0x548498(0x144)],_0xbd9fd9,constants[_0x548498(0xe7)][_0x548498(0xb7)]);if(!_0xade41d[_0x548498(0x144)])return;const _0x3cca79=_0xade41d[_0x548498(0x144)][_0x548498(0x106)]||helper[_0x548498(0x13b)](_0x351ea3,_0x56ecbc,_0xade41d['config'],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x123624={'server':helper[_0x548498(0xbf)](_0xade41d[_0x548498(0x144)]),'proxySettings':_0xade41d[_0x548498(0x144)][_0x548498(0x13e)],'maxWorkers':_0x3cca79,'browserStackLogLevel':_0xade41d['config'][_0x548498(0x141)],'skipSessionName':_0xade41d['config'][_0x548498(0x157)]['skipSessionName'],'skipSessionStatus':_0xade41d['config'][_0x548498(0x157)][_0x548498(0xfe)],'turboScaleUrl':_0xade41d[_0x548498(0x144)][_0x548498(0xcf)]},_0x571571=process[_0x548498(0x112)],[_0x383e27,_0x4db21b]=helper[_0x548498(0x122)](_0x571571),_0x418b7c=path[_0x548498(0x13c)](process['cwd'](),_0x21e1b5[_0x548498(0x14a)]);if(_0x21e1b5[_0x548498(0x156)](_0x4db21b[_0x548498(0xbe)],0x0)){helper['createDir'](_0x418b7c);for(let _0x2ad383=_0x21e1b5[_0x548498(0x146)](_0x383e27[_0x548498(0xbe)],0x1);_0x21e1b5[_0x548498(0xf5)](_0x2ad383,0x0);_0x2ad383--){_0x571571[_0x548498(0xc1)](_0x383e27[_0x2ad383],0x2);}}_0x21e1b5[_0x548498(0x12c)](_0xade41d['config']['testObservability'],null)?process['env'][_0x548498(0x14e)]=_0xade41d['config'][_0x548498(0xeb)]:process[_0x548498(0xd0)][_0x548498(0x14e)]=_0x21e1b5[_0x548498(0xdf)];if(_0x4e3be1)try{const {checkAccessibilityPlatformConfig:_0x51740c}=_0x21e1b5[_0x548498(0x119)](require,_0x21e1b5[_0x548498(0x14c)]),{setAccessibilityCapabilities:_0x57eeb2}=_0x21e1b5[_0x548498(0xe3)](require,_0x21e1b5[_0x548498(0x114)]),_0xeac19c=_0x21e1b5['bPTCY'](_0x51740c,_0xade41d[_0x548498(0x144)]);if(!helper['isUndefined'](_0xade41d['config'][_0x548498(0xe0)]))process[_0x548498(0xd0)][_0x548498(0x12f)]=_0x21e1b5[_0x548498(0x120)](String,!!_0xade41d['config'][_0x548498(0xe0)]);else helper[_0x548498(0xb8)](process[_0x548498(0xd0)][_0x548498(0x12f)])&&(process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0xeac19c?_0x21e1b5[_0x548498(0xdf)]:_0x21e1b5[_0x548498(0xf2)]);process[_0x548498(0xd0)][_0x548498(0x134)]=_0xeac19c?_0x21e1b5[_0x548498(0xdf)]:_0x21e1b5[_0x548498(0xf2)],!BrowserstackCLI[_0x548498(0xcb)]()[_0x548498(0x136)]()&&_0x21e1b5['dOPWp'](process[_0x548498(0xd0)][_0x548498(0x12f)],_0x21e1b5[_0x548498(0xdf)])&&_0x21e1b5['TEHaf'](_0x57eeb2,_0xade41d[_0x548498(0x144)]);}catch(_0x3779a3){logger[_0x548498(0x137)](_0x548498(0x110)+util[_0x548498(0xbd)](_0x3779a3));}try{const _0x1c7209=_0x21e1b5[_0x548498(0xe3)](require,_0x21e1b5[_0x548498(0x11f)]),_0x3e7aea=_0x21e1b5[_0x548498(0x119)](require,_0x21e1b5[_0x548498(0x10f)]),{FRAMEWORKS:_0x17586b}=_0x21e1b5[_0x548498(0x12e)](require,_0x21e1b5['sRFDK']),{checkAccessibilityPlatformConfig:_0x2db26d}=_0x21e1b5[_0x548498(0x120)](require,_0x21e1b5['eGSji']),{setAccessibilityCapabilities:_0x248f2c}=_0x21e1b5['YGoGr'](require,_0x21e1b5['YVhDn']),_0x3d9ab9=helper[_0x548498(0xe4)](_0x21e1b5[_0x548498(0x154)]);if(_0x3d9ab9){_0x3e7aea[_0x548498(0xc9)](constants[_0x548498(0xe7)][_0x548498(0xb7)],constants['FRAMEWORKS'][_0x548498(0xfd)]),_0x1c7209['getInstance']()['setBrowserstackConfig'](_0xade41d[_0x548498(0x144)],_0xade41d[_0x548498(0xe5)],_0xade41d[_0x548498(0x150)]),await _0x1c7209[_0x548498(0xcb)]()['bootstrap']();const _0x2d3c92=_0x1c7209[_0x548498(0xcb)]()[_0x548498(0xec)]();!helper[_0x548498(0x132)](_0x2d3c92['browserstackAutomation'])&&(process[_0x548498(0xd0)][_0x548498(0x11a)]=_0x21e1b5['mzbmv']);_0x21e1b5[_0x548498(0xfc)](_0x2d3c92[_0x548498(0xd8)],![])&&(process[_0x548498(0xd0)][_0x548498(0x11a)]=_0x21e1b5[_0x548498(0xf2)]);const _0x5bf242=_0x56ecbc[_0x548498(0x102)](_0x21e1b5[_0x548498(0xc6)]);(_0x21e1b5[_0x548498(0xf5)](_0x5bf242,0x0)||_0x21e1b5[_0x548498(0xfc)](_0x2d3c92[_0x548498(0xeb)],![]))&&(process[_0x548498(0xd0)][_0x548498(0xfb)]=_0x21e1b5['hBNVu']);if(!_0x1c7209[_0x548498(0xcb)]()[_0x548498(0x136)]()){let _0x24f6ff=_0x21e1b5[_0x548498(0xfc)](process['env'][_0x548498(0x12f)],_0x21e1b5[_0x548498(0xdf)]);_0x24f6ff=_0x24f6ff||_0x21e1b5[_0x548498(0x131)](_0x2db26d,_0xade41d[_0x548498(0x144)]),process[_0x548498(0xd0)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x24f6ff,_0x24f6ff&&_0x21e1b5['teaZA'](_0x248f2c,_0xade41d[_0x548498(0x144)]);}}}catch(_0x1c54ba){logger[_0x548498(0x137)](_0x548498(0x125)+util['format'](_0x1c54ba));}PerformanceTester[_0x548498(0xcd)](PerformanceEvents[_0x548498(0xd7)]);let _0x3538d4;_0x21e1b5[_0x548498(0xd9)](parallelCucumberRun,_0x3356a6,_0x123624,_0xade41d[_0x548498(0x144)],_0x571571,_0x4db21b)[_0x548498(0xfa)](async _0x32850e=>{const _0x592abf=_0x548498;PerformanceTester['start'](PerformanceEvents[_0x592abf(0x11e)]),_0x3538d4=_0x32850e;const _0xbd83c3=_0x21e1b5[_0x592abf(0x131)](printCucumberStats,_0x32850e);process[_0x592abf(0x115)]=_0xbd83c3,_0x21e1b5[_0x592abf(0x117)](_0x4db21b[_0x592abf(0xbe)],0x0)&&(logger[_0x592abf(0x137)](_0x21e1b5['jsKCX']),helper[_0x592abf(0x118)](_0x418b7c,_0x4db21b),logger['debug'](_0x21e1b5[_0x592abf(0xcc)]),helper[_0x592abf(0x10d)](_0x418b7c));})['finally'](async()=>{const _0x399eb5=_0x548498;PerformanceTester[_0x399eb5(0x148)](PerformanceEvents[_0x399eb5(0x11e)]),_0xade41d[_0x399eb5(0x124)]=helper['getErrorMessageFromResults'](_0x3538d4,_0x21e1b5[_0x399eb5(0xd6)]),testOpsHelper['printBuildLink']();try{await TestHubHandler[_0x399eb5(0xd2)](),await BrowserstackCLI[_0x399eb5(0xcb)]()['stop']();}catch(_0x515be2){logger[_0x399eb5(0x137)](_0x399eb5(0x14f)+util[_0x399eb5(0xbd)](_0x515be2));}try{const {browserstackFolderPath:_0x43db17,tcgConfigPath:_0x466828}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x466828),fs['rmdirSync'](_0x43db17);}catch(_0x4edf61){logger['debug'](_0x21e1b5[_0x399eb5(0xc2)],_0x4edf61);}await utilities[_0x399eb5(0x127)](_0xade41d);});}module[a5_0x4e5400(0x152)]=run;
|
|
2
|
+
'use strict';const a5_0x544fba=a5_0x2884;(function(_0x5c6a72,_0x523c05){const _0x8522a=a5_0x2884,_0x456ec3=_0x5c6a72();while(!![]){try{const _0x21b33f=-parseInt(_0x8522a(0x194))/0x1+-parseInt(_0x8522a(0x1cf))/0x2+parseInt(_0x8522a(0x212))/0x3*(-parseInt(_0x8522a(0x16c))/0x4)+-parseInt(_0x8522a(0x17b))/0x5*(-parseInt(_0x8522a(0x1cc))/0x6)+-parseInt(_0x8522a(0x1e7))/0x7+parseInt(_0x8522a(0x170))/0x8+parseInt(_0x8522a(0x1db))/0x9*(parseInt(_0x8522a(0x1ae))/0xa);if(_0x21b33f===_0x523c05)break;else _0x456ec3['push'](_0x456ec3['shift']());}catch(_0x6aba17){_0x456ec3['push'](_0x456ec3['shift']());}}}(a5_0x3af7,0xf0351));function a5_0x2884(_0x2b35ee,_0x410c7e){const _0x3af7c3=a5_0x3af7();return a5_0x2884=function(_0x2884d2,_0x5393af){_0x2884d2=_0x2884d2-0x16a;let _0x4eb0f3=_0x3af7c3[_0x2884d2];return _0x4eb0f3;},a5_0x2884(_0x2b35ee,_0x410c7e);}const fs=require('fs'),path=require(a5_0x544fba(0x1a0)),util=require('util'),logger=require('../../helpers/logger')[a5_0x544fba(0x1d2)],helper=require('../../helpers/helper'),utilities=require(a5_0x544fba(0x1b4)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x544fba(0x1da)),TestHubHandler=require(a5_0x544fba(0x1b6)),testOpsHelper=require(a5_0x544fba(0x211)),chalk=require(a5_0x544fba(0x17f)),PerformanceTester=require(a5_0x544fba(0x1d3)),PerformanceEvents=require(a5_0x544fba(0x18e))[a5_0x544fba(0x1cd)],BrowserstackCLI=require(a5_0x544fba(0x1d0)),CLIUtils=require(a5_0x544fba(0x1a2)),{checkPwandBootstrapCli}=require(a5_0x544fba(0x1b1)),ClientTroubleShootingService=require(a5_0x544fba(0x199));function printCucumberStats(_0x362e6b){const _0x1abfaf=a5_0x544fba,_0x51aa90={};_0x51aa90[_0x1abfaf(0x16d)]=function(_0x26d73d,_0x1f3497){return _0x26d73d>_0x1f3497;},_0x51aa90[_0x1abfaf(0x20d)]=function(_0x57bd2c,_0x271a89){return _0x57bd2c-_0x271a89;},_0x51aa90[_0x1abfaf(0x178)]=function(_0x1e31e6,_0x18a1d5){return _0x1e31e6>_0x18a1d5;},_0x51aa90['kKhzw']=function(_0x2ebbde,_0x4ac767){return _0x2ebbde>_0x4ac767;},_0x51aa90[_0x1abfaf(0x1b3)]=function(_0x21fadf,_0x1c0fd7){return _0x21fadf>_0x1c0fd7;},_0x51aa90[_0x1abfaf(0x1a6)]=function(_0x66b2a6,_0xd0fcdd){return _0x66b2a6>_0xd0fcdd;},_0x51aa90[_0x1abfaf(0x1c3)]=function(_0x5aa1b5,_0x12441e){return _0x5aa1b5>_0x12441e;},_0x51aa90[_0x1abfaf(0x1a9)]=function(_0x519572,_0x30914b){return _0x519572>_0x30914b;},_0x51aa90[_0x1abfaf(0x1cb)]=function(_0xc549ff,_0x1ea59a){return _0xc549ff+_0x1ea59a;},_0x51aa90[_0x1abfaf(0x19b)]=function(_0x3eb7eb,_0x4a82a1){return _0x3eb7eb+_0x4a82a1;},_0x51aa90[_0x1abfaf(0x176)]=function(_0x153dd3,_0x5cc589){return _0x153dd3+_0x5cc589;},_0x51aa90[_0x1abfaf(0x1e4)]=function(_0x197c73,_0x4d7182){return _0x197c73+_0x4d7182;},_0x51aa90[_0x1abfaf(0x183)]=function(_0x299289,_0x169528){return _0x299289+_0x169528;},_0x51aa90[_0x1abfaf(0x181)]=function(_0x54ee1c,_0x27d3d3){return _0x54ee1c===_0x27d3d3;},_0x51aa90[_0x1abfaf(0x16a)]='****\x20RESULTS\x20****';const _0x177062=_0x51aa90;let _0x1bba63=0x0;if(_0x177062[_0x1abfaf(0x181)](_0x362e6b[_0x1abfaf(0x18c)],0x0))return _0x1bba63;return console['log'](chalk[_0x1abfaf(0x1ab)][_0x1abfaf(0x1b2)](_0x177062[_0x1abfaf(0x16a)])),_0x362e6b[_0x1abfaf(0x1c2)](_0x312656=>{const _0x163f71=_0x1abfaf,_0xeb6891=_0x312656[0x0],_0xe4765=_0x312656[0x1];helper[_0x163f71(0x20c)]()&&console[_0x163f71(0x1c0)]('\x0a'+chalk['bold']['yellow'](''+helper[_0x163f71(0x196)](_0xeb6891)));const _0x27f473=_0xe4765[_0x163f71(0x18d)],_0x532c1b=_0xe4765[_0x163f71(0x1f2)],_0x1355d5=_0xe4765[_0x163f71(0x192)],_0x4d4b09=_0xe4765[_0x163f71(0x1dc)],_0x359154=_0xe4765['stepsPassed'],_0x3c39eb=_0xe4765[_0x163f71(0x1de)],_0x33226f=_0xe4765[_0x163f71(0x204)],_0x4d878c=_0xe4765[_0x163f71(0x186)],_0x2afb0e=_0xe4765[_0x163f71(0x195)],_0x160412=_0xe4765[_0x163f71(0x179)],_0x4918bf=_0xe4765[_0x163f71(0x19a)];let _0xa4783e=_0x27f473+_0x163f71(0x205);const _0x451f2e=_0x177062[_0x163f71(0x16d)](_0x177062[_0x163f71(0x20d)](_0x27f473,_0x1355d5),0x0)?_0x177062['VnzUy'](_0x27f473,_0x1355d5):0x0;if(_0x177062[_0x163f71(0x16d)](_0x1355d5,0x0)&&_0x177062['XOPBY'](_0x451f2e,0x0))_0xa4783e+='\x20('+chalk[_0x163f71(0x1ab)][_0x163f71(0x206)](_0x1355d5+_0x163f71(0x210))+',\x20'+chalk[_0x163f71(0x1ab)]['green'](_0x451f2e+_0x163f71(0x1d8))+')';else(_0x177062[_0x163f71(0x1fd)](_0x1355d5,0x0)||_0x177062['zOOLK'](_0x451f2e,0x0))&&(_0xa4783e+=_0x177062[_0x163f71(0x1b3)](_0x1355d5,0x0)?'\x20('+chalk[_0x163f71(0x1ab)][_0x163f71(0x206)](_0x1355d5+_0x163f71(0x210))+')':'\x20('+chalk['bold']['green'](_0x451f2e+_0x163f71(0x1d8))+')');const _0x52738b=_0x532c1b+_0x163f71(0x187),_0x378394=[];_0x177062[_0x163f71(0x1a6)](_0x160412,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk[_0x163f71(0x1ab)]['red'](_0x160412+'\x20ambiguous'));_0x177062[_0x163f71(0x1c3)](_0x4d4b09,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk[_0x163f71(0x1ab)][_0x163f71(0x206)](_0x4d4b09+_0x163f71(0x210)));_0x177062[_0x163f71(0x1c3)](_0x359154,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk[_0x163f71(0x1ab)][_0x163f71(0x1c5)](_0x359154+_0x163f71(0x1d8)));_0x177062[_0x163f71(0x1a9)](_0x33226f,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk[_0x163f71(0x1ab)][_0x163f71(0x1c6)](_0x33226f+_0x163f71(0x1a4)));_0x177062[_0x163f71(0x178)](_0x3c39eb,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk[_0x163f71(0x1ab)]['cyan'](_0x3c39eb+_0x163f71(0x1ad)));_0x177062[_0x163f71(0x1a6)](_0x4d878c,0x0)&&_0x378394['push'](''+chalk[_0x163f71(0x1ab)][_0x163f71(0x1c6)](_0x4d878c+'\x20undefined'));_0x177062['FkDHj'](_0x2afb0e,0x0)&&_0x378394[_0x163f71(0x16f)](''+chalk['bold']['yellow'](_0x2afb0e+_0x163f71(0x1ad)));const _0x1b5cf2=_0x177062[_0x163f71(0x1cb)](_0x177062[_0x163f71(0x19b)](_0x177062[_0x163f71(0x19b)](_0x52738b,'('),_0x378394[_0x163f71(0x1f1)](',\x20')),')');console[_0x163f71(0x1c0)](_0x177062['RgesO'](_0x177062[_0x163f71(0x176)](_0x177062[_0x163f71(0x1e4)](_0x177062[_0x163f71(0x183)]('\x0a',_0xa4783e),'\x0a'),_0x1b5cf2),'\x0a')),_0x177062[_0x163f71(0x181)](_0x4918bf,![])&&(_0x1bba63=0x1);}),_0x1bba63;}function a5_0x3af7(){const _0x45f72e=['isRunning','13315opdyoq','nOsJs','format','accessibility','chalk','logLevel','hPXfB','lVahM','GwSGB','bootstrap','getConfig','stepsUndefined','\x20steps','initialize','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_AUTOMATION','binSessionId','length','scenarios','../../helpers/performance/constants','atrqh','THYYx','exports','scenariosFailed','env','8554UhzzbC','stepsUnknown','getPlatformName','true','BROWSERSTACK_CLI_BIN_SESSION_ID','../utils/clientTroubleshootingService','processSuccess','tcUkL','finally','then','getHubUrl','rmdirSync','path','Generating\x20consolidated\x20report...','../v2/cliUtils','FRAMEWORKS','\x20pending','parseFormatters','ENoah','errorMessage','RYdPs','kvaIH','SDK_SETUP','bold','getErrorMessageFromResults','\x20skipped','14889990tXvHrb','nKIcY','domHa','../../helpers/playwright-helper','bgWhite','zOOLK','../../helpers/utilities','tmp','../../helpers/testhub/testhubHandler','finalExecution','getTCGConfigFilePaths','getInstance','ZndAC','stringify','isUndefined','framework','nipWq','skipSessionName','log','useW3C','forEach','FkDHj','ySmhK','green','yellow','FaBYu','configPath','browserstackAutomation','bDacW','RgesO','2076kISuWq','EVENTS','assign','3149546XxiRBy','../v2/browserstackCLI','CUCUMBER','winstonLogger','../../helpers/performance/performance-tester','ewdeU','PLAYWRIGHT','false','GDgxG','\x20passed','SDK_CLEANUP','../test-runner','18KDzOkI','stepsFailed','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','stepsSkipped','../../helpers/accessibility-automation/helper','ZSNCO','YEjjZ','parallelsPerPlatform','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','cDzUu','BROWSERSTACK_TEST_OBSERVABILITY_YML','error\x20removing\x20tcg\x20config\x20file','5126961yxlCcX','setUserConfigPath','createDir','unlinkSync','prepareCapabilities','printBuildLink','BROWSERSTACK_TEST_OBSERVABILITY','slUnh','cwd','start','join','steps','launchBuild','OnULj','testContextOptions','riYDh','getPackageVersion','proxySettings','yoQtd','turboScaleUrl','BROWSERSTACK_TEST_ACCESSIBILITY_YML','RYxOJ','kKhzw','argv','../playwright/accessibility-helper','wPQCH','isFalse','getUserWorkerCount','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','stepsPending','\x20scenarios','red','accessibilityOptions','debug','config','IfsKq','splice','isBrowserstackInfra','VnzUy','stop','removeDir','\x20failed','../../helpers/test-observability/utils','9BqnFXg','xTkzo','handleApp','1227428ZKiQyC','YEKQP','indexOf','push','2566512IfkwCG','setFrameworkDetail','setupTCGAuth','testObservability','cliConfig','ovfic','InKjN','mergeOutputFiles','XOPBY','stepsAmbiguous'];a5_0x3af7=function(){return _0x45f72e;};return a5_0x3af7();}async function run(_0x209c72,_0x2e9a5b,_0x25a5f8){const _0x32adde=a5_0x544fba,_0x2d0876={'RYxOJ':function(_0x2f333b,_0x5aaba5){return _0x2f333b(_0x5aaba5);},'ovfic':function(_0x31d192,_0x2272e8){return _0x31d192>_0x2272e8;},'ewdeU':_0x32adde(0x1a1),'kMjXh':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','yoQtd':'cucumber','riYDh':_0x32adde(0x1e6),'ySmhK':'@playwright/test','nKIcY':function(_0x33cd37,_0x431769,_0x25c7a1,_0x5de352){return _0x33cd37(_0x431769,_0x25c7a1,_0x5de352);},'FaBYu':_0x32adde(0x1b5),'domHa':function(_0x2a1236,_0x5f537a){return _0x2a1236-_0x5f537a;},'ZndAC':function(_0x50e28d,_0x400b6d){return _0x50e28d>=_0x400b6d;},'OnULj':function(_0x2627a3,_0x46211d){return _0x2627a3!=_0x46211d;},'slUnh':_0x32adde(0x197),'nipWq':function(_0x3b7d09,_0x44e50e){return _0x3b7d09(_0x44e50e);},'IfsKq':_0x32adde(0x1df),'RYdPs':_0x32adde(0x1ff),'nOsJs':function(_0x2815a4,_0x4f1c2d){return _0x2815a4(_0x4f1c2d);},'wPQCH':function(_0x283475,_0x5bddf5){return _0x283475(_0x5bddf5);},'bDacW':_0x32adde(0x1d6),'lVahM':function(_0x141998,_0x3c928b){return _0x141998===_0x3c928b;},'YEjjZ':_0x32adde(0x1d0),'yIDuV':function(_0x15ee23,_0x1174f7){return _0x15ee23(_0x1174f7);},'atrqh':'../v2/cliUtils','ZSNCO':function(_0x1e7672,_0x5ab873){return _0x1e7672(_0x5ab873);},'TrnSZ':'../../helpers/test-observability/constants','GDgxG':'--disable-test-observability','NNvFC':function(_0x59aa9c,_0x68bea0){return _0x59aa9c===_0x68bea0;},'THYYx':function(_0x44a690,_0x20f60e){return _0x44a690(_0x20f60e);},'tBcRX':function(_0x5b4327,_0x2a48a3,_0x117713,_0x392767,_0x4e6d19,_0x12c4de){return _0x5b4327(_0x2a48a3,_0x117713,_0x392767,_0x4e6d19,_0x12c4de);}},_0x65351=helper[_0x32adde(0x1f7)](_0x2d0876[_0x32adde(0x1c4)]);global['__isPlaywrightInstalled']=!!_0x65351,await _0x25a5f8[_0x32adde(0x188)](_0x209c72),await _0x2d0876[_0x32adde(0x1af)](checkPwandBootstrapCli,_0x65351,constants['FRAMEWORKS'][_0x32adde(0x1d1)],_0x25a5f8);BrowserstackCLI[_0x32adde(0x1b9)]()[_0x32adde(0x18b)]&&(process[_0x32adde(0x193)][_0x32adde(0x198)]=BrowserstackCLI[_0x32adde(0x1b9)]()[_0x32adde(0x18b)]);helper[_0x32adde(0x1e8)](_0x25a5f8[_0x32adde(0x1bd)],_0x209c72);!helper[_0x32adde(0x20c)]()&&await _0x25a5f8[_0x32adde(0x172)]();await helper[_0x32adde(0x16b)](_0x25a5f8[_0x32adde(0x209)]);const _0x2ff40d=helper[_0x32adde(0x1c1)](_0x25a5f8[_0x32adde(0x209)]);!helper['isUndefined'](_0x25a5f8[_0x32adde(0x209)][_0x32adde(0x207)])&&(process[_0x32adde(0x193)][_0x32adde(0x203)]=JSON[_0x32adde(0x1bb)](_0x25a5f8['config'][_0x32adde(0x207)]));if(!BrowserstackCLI[_0x32adde(0x1b9)]()['isRunning']()){const _0x2fd2ec=await TestHubHandler[_0x32adde(0x1f3)](constants['FRAMEWORKS'][_0x32adde(0x1d1)],_0x25a5f8);}let _0x4e39e1=[];if(!helper[_0x32adde(0x20c)]()){const _0x407a31={};_0x407a31['platforms']=[],_0x4e39e1=helper[_0x32adde(0x1eb)](Object[_0x32adde(0x1ce)]({},_0x25a5f8[_0x32adde(0x209)],_0x407a31),_0x2ff40d,constants[_0x32adde(0x1a3)][_0x32adde(0x1d1)]);}else _0x4e39e1=helper['prepareCapabilities'](_0x25a5f8['config'],_0x2ff40d,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x25a5f8[_0x32adde(0x209)])return;const _0x10b6e5=_0x25a5f8[_0x32adde(0x209)][_0x32adde(0x1e2)]||helper[_0x32adde(0x202)](_0x209c72,_0x2e9a5b,_0x25a5f8[_0x32adde(0x209)],constants['FRAMEWORKS']['CUCUMBER'])||0x1,_0x2ceb3f={'server':helper[_0x32adde(0x19e)](_0x25a5f8[_0x32adde(0x209)]),'proxySettings':_0x25a5f8[_0x32adde(0x209)][_0x32adde(0x1f8)],'maxWorkers':_0x10b6e5,'browserStackLogLevel':_0x25a5f8[_0x32adde(0x209)][_0x32adde(0x180)],'skipSessionName':_0x25a5f8[_0x32adde(0x209)][_0x32adde(0x1f5)][_0x32adde(0x1bf)],'skipSessionStatus':_0x25a5f8['config'][_0x32adde(0x1f5)]['skipSessionStatus'],'turboScaleUrl':_0x25a5f8['config'][_0x32adde(0x1fa)]},_0x1f1b72=process[_0x32adde(0x1fe)],[_0x51d6a0,_0x523c2b]=helper[_0x32adde(0x1a5)](_0x1f1b72),_0x796a1b=path[_0x32adde(0x1f1)](process[_0x32adde(0x1ef)](),_0x2d0876[_0x32adde(0x1c7)]);if(_0x2d0876[_0x32adde(0x175)](_0x523c2b[_0x32adde(0x18c)],0x0)){helper[_0x32adde(0x1e9)](_0x796a1b);for(let _0x52f7e7=_0x2d0876[_0x32adde(0x1b0)](_0x51d6a0[_0x32adde(0x18c)],0x1);_0x2d0876[_0x32adde(0x1ba)](_0x52f7e7,0x0);_0x52f7e7--){_0x1f1b72[_0x32adde(0x20b)](_0x51d6a0[_0x52f7e7],0x2);}}_0x2d0876[_0x32adde(0x1f4)](_0x25a5f8[_0x32adde(0x209)]['testObservability'],null)?process[_0x32adde(0x193)][_0x32adde(0x1e5)]=_0x25a5f8['config'][_0x32adde(0x173)]:process[_0x32adde(0x193)][_0x32adde(0x1e5)]=_0x2d0876['slUnh'];if(_0x65351)try{const {checkAccessibilityPlatformConfig:_0x5d1355}=_0x2d0876[_0x32adde(0x1be)](require,_0x2d0876[_0x32adde(0x20a)]),{setAccessibilityCapabilities:_0x4417ab}=_0x2d0876['nipWq'](require,_0x2d0876[_0x32adde(0x1a8)]),_0x3a3443=_0x2d0876[_0x32adde(0x17c)](_0x5d1355,_0x25a5f8[_0x32adde(0x209)]);if(!helper['isUndefined'](_0x25a5f8['config'][_0x32adde(0x17e)]))process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x2d0876['wPQCH'](String,!!_0x25a5f8['config']['accessibility']);else helper[_0x32adde(0x1bc)](process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x32adde(0x193)][_0x32adde(0x1fb)]=_0x3a3443?_0x2d0876['slUnh']:_0x2d0876[_0x32adde(0x1ca)]);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3a3443?_0x2d0876[_0x32adde(0x1ee)]:_0x2d0876['bDacW'],!BrowserstackCLI[_0x32adde(0x1b9)]()[_0x32adde(0x17a)]()&&_0x2d0876[_0x32adde(0x182)](process['env'][_0x32adde(0x1fb)],_0x2d0876['slUnh'])&&_0x2d0876[_0x32adde(0x17c)](_0x4417ab,_0x25a5f8['config']);}catch(_0x446bfb){logger['debug'](_0x32adde(0x1e3)+util[_0x32adde(0x17d)](_0x446bfb));}try{const _0x103f46=_0x2d0876['wPQCH'](require,_0x2d0876[_0x32adde(0x1e1)]),_0x21d8bb=_0x2d0876['yIDuV'](require,_0x2d0876[_0x32adde(0x18f)]),{FRAMEWORKS:_0x10e286}=_0x2d0876['ZSNCO'](require,_0x2d0876['TrnSZ']),{checkAccessibilityPlatformConfig:_0xda3ea5}=_0x2d0876[_0x32adde(0x1e0)](require,_0x2d0876[_0x32adde(0x20a)]),{setAccessibilityCapabilities:_0x3384be}=_0x2d0876[_0x32adde(0x200)](require,_0x2d0876[_0x32adde(0x1a8)]),_0x381726=helper[_0x32adde(0x1f7)](_0x2d0876[_0x32adde(0x1c4)]);if(_0x381726){_0x21d8bb[_0x32adde(0x171)](constants[_0x32adde(0x1a3)]['CUCUMBER'],constants[_0x32adde(0x1a3)][_0x32adde(0x1d5)]),_0x103f46[_0x32adde(0x1b9)]()['setBrowserstackConfig'](_0x25a5f8['config'],_0x25a5f8[_0x32adde(0x1c8)],_0x25a5f8[_0x32adde(0x174)]),await _0x103f46[_0x32adde(0x1b9)]()[_0x32adde(0x184)]();const _0x24dc27=_0x103f46[_0x32adde(0x1b9)]()[_0x32adde(0x185)]();!helper[_0x32adde(0x201)](_0x24dc27[_0x32adde(0x1c9)])&&(process['env'][_0x32adde(0x18a)]=_0x2d0876[_0x32adde(0x1ee)]);_0x2d0876[_0x32adde(0x182)](_0x24dc27['browserstackAutomation'],![])&&(process['env'][_0x32adde(0x18a)]=_0x2d0876['bDacW']);const _0x4bf3d6=_0x2e9a5b[_0x32adde(0x16e)](_0x2d0876[_0x32adde(0x1d7)]);(_0x2d0876[_0x32adde(0x1ba)](_0x4bf3d6,0x0)||_0x2d0876['NNvFC'](_0x24dc27[_0x32adde(0x173)],![]))&&(process['env'][_0x32adde(0x1ed)]=_0x2d0876[_0x32adde(0x1ca)]);if(!_0x103f46[_0x32adde(0x1b9)]()[_0x32adde(0x17a)]()){let _0x5d9b47=_0x2d0876['lVahM'](process[_0x32adde(0x193)][_0x32adde(0x1fb)],_0x2d0876['slUnh']);_0x5d9b47=_0x5d9b47||_0x2d0876[_0x32adde(0x17c)](_0xda3ea5,_0x25a5f8[_0x32adde(0x209)]),process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x5d9b47,_0x5d9b47&&_0x2d0876[_0x32adde(0x190)](_0x3384be,_0x25a5f8[_0x32adde(0x209)]);}}}catch(_0x3aa448){logger[_0x32adde(0x208)](_0x32adde(0x1dd)+util[_0x32adde(0x17d)](_0x3aa448));}PerformanceTester['end'](PerformanceEvents[_0x32adde(0x1aa)]);let _0x59a4f8;_0x2d0876['tBcRX'](parallelCucumberRun,_0x4e39e1,_0x2ceb3f,_0x25a5f8[_0x32adde(0x209)],_0x1f1b72,_0x523c2b)[_0x32adde(0x19d)](async _0x47187e=>{const _0x3e007c=_0x32adde;PerformanceTester['start'](PerformanceEvents[_0x3e007c(0x1d9)]),_0x59a4f8=_0x47187e;const _0x107efb=_0x2d0876[_0x3e007c(0x1fc)](printCucumberStats,_0x47187e);process['exitCode']=_0x107efb,_0x2d0876['ovfic'](_0x523c2b['length'],0x0)&&(logger[_0x3e007c(0x208)](_0x2d0876[_0x3e007c(0x1d4)]),helper[_0x3e007c(0x177)](_0x796a1b,_0x523c2b),logger[_0x3e007c(0x208)](_0x2d0876['kMjXh']),helper[_0x3e007c(0x20f)](_0x796a1b));})[_0x32adde(0x19c)](async()=>{const _0x5602af=_0x32adde;PerformanceTester[_0x5602af(0x1f0)](PerformanceEvents['SDK_CLEANUP']),_0x25a5f8[_0x5602af(0x1a7)]=helper[_0x5602af(0x1ac)](_0x59a4f8,_0x2d0876[_0x5602af(0x1f9)]),testOpsHelper[_0x5602af(0x1ec)]();try{await TestHubHandler[_0x5602af(0x20e)](),await BrowserstackCLI[_0x5602af(0x1b9)]()['stop']();}catch(_0x50c4cc){logger[_0x5602af(0x208)](_0x5602af(0x189)+util[_0x5602af(0x17d)](_0x50c4cc));}try{const {browserstackFolderPath:_0x51dee9,tcgConfigPath:_0x20445c}=helper[_0x5602af(0x1b8)]();fs[_0x5602af(0x1ea)](_0x20445c),fs[_0x5602af(0x19f)](_0x51dee9);}catch(_0x24c251){logger['debug'](_0x2d0876[_0x5602af(0x1f6)],_0x24c251);}await utilities[_0x5602af(0x1b7)](_0x25a5f8);});}module[a5_0x544fba(0x191)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x2d9228=a6_0x4d7c;(function(_0x56466c,_0x21c48c){const _0x46c89d=a6_0x4d7c,_0x3c0bab=_0x56466c();while(!![]){try{const _0x540fb0=parseInt(_0x46c89d(0x1b7))/0x1+-parseInt(_0x46c89d(0x1d0))/0x2+-parseInt(_0x46c89d(0x128))/0x3*(-parseInt(_0x46c89d(0x1d3))/0x4)+-parseInt(_0x46c89d(0x15f))/0x5*(parseInt(_0x46c89d(0x13b))/0x6)+-parseInt(_0x46c89d(0x1a3))/0x7+parseInt(_0x46c89d(0x1d2))/0x8*(-parseInt(_0x46c89d(0x1ab))/0x9)+parseInt(_0x46c89d(0x159))/0xa;if(_0x540fb0===_0x21c48c)break;else _0x3c0bab['push'](_0x3c0bab['shift']());}catch(_0x308a97){_0x3c0bab['push'](_0x3c0bab['shift']());}}}(a6_0x5671,0x3af35));function a6_0x4d7c(_0x211bd1,_0x55cef2){const _0x567143=a6_0x5671();return a6_0x4d7c=function(_0x4d7c25,_0xc98d99){_0x4d7c25=_0x4d7c25-0x122;let _0x21e9c7=_0x567143[_0x4d7c25];return _0x21e9c7;},a6_0x4d7c(_0x211bd1,_0x55cef2);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x2d9228(0x1f3)),util=require(a6_0x2d9228(0x1a5)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x2d9228(0x1b5)),TestDetails=require(a6_0x2d9228(0x1b6)),TestObservabilityReporter=require(a6_0x2d9228(0x1f7)),{o11yClassErrorHandler}=require(a6_0x2d9228(0x1e1)),{shouldProcessEventForTesthub}=require(a6_0x2d9228(0x1cf)),BrowserstackCLI=require(a6_0x2d9228(0x187)),TestFrameworkState=require(a6_0x2d9228(0x16f)),HookState=require(a6_0x2d9228(0x160)),CucumberUtils=require(a6_0x2d9228(0x1dc)),TestInfo=require(a6_0x2d9228(0x1e2)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x2d9228(0x130))['winstonLogger'],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x44b7dc){const _0xf5511c=a6_0x2d9228,_0x5f077f={};_0x5f077f[_0xf5511c(0x199)]=_0xf5511c(0x1c6);const _0x40b85f=_0x5f077f;super(_0x44b7dc),this[_0xf5511c(0x19b)]={},_0x44b7dc[_0xf5511c(0x169)]['on'](_0x40b85f[_0xf5511c(0x199)],async _0x202b1b=>{const _0x12254d=_0xf5511c;switch(!![]){case!!_0x202b1b[_0x12254d(0x155)]:this[_0x12254d(0x191)](_0x202b1b[_0x12254d(0x155)]);break;case!!_0x202b1b['testRunFinished']:this[_0x12254d(0x18c)](_0x202b1b[_0x12254d(0x135)]);break;case!!_0x202b1b[_0x12254d(0x146)]:this[_0x12254d(0x1f0)](_0x202b1b[_0x12254d(0x146)],_0x44b7dc,_0x202b1b);break;case!!_0x202b1b['testCaseFinished']:this[_0x12254d(0x1eb)](_0x202b1b['testCaseFinished'],_0x44b7dc,_0x202b1b);break;case!!_0x202b1b['testStepStarted']:this['onTestStepStarted'](_0x202b1b[_0x12254d(0x1ad)],_0x44b7dc);break;case!!_0x202b1b[_0x12254d(0x1bd)]:this[_0x12254d(0x1f1)](_0x202b1b[_0x12254d(0x1bd)],_0x44b7dc);break;case!!_0x202b1b['hook']:this['onHook'](_0x202b1b[_0x12254d(0x195)]);break;case!!_0x202b1b[_0x12254d(0x166)]:this[_0x12254d(0x163)](_0x202b1b[_0x12254d(0x166)]);break;case!!_0x202b1b[_0x12254d(0x127)]:this['onPickle'](_0x202b1b[_0x12254d(0x127)]);break;case!!_0x202b1b[_0x12254d(0x14d)]:this['onGherkinDocument'](_0x202b1b[_0x12254d(0x14d)]);break;}});}[a6_0x2d9228(0x1d5)](_0x692552){const _0x395003=a6_0x2d9228;this['report'][_0x395003(0x1ba)]=Object[_0x395003(0x13d)]([],this[_0x395003(0x19b)]['hooks']||[]),this['report'][_0x395003(0x1ba)]['push'](_0x692552);}['onPickle'](_0x3f1362){const _0x530bae=a6_0x2d9228;this[_0x530bae(0x19b)][_0x530bae(0x127)]=Object[_0x530bae(0x13d)]([],this['report'][_0x530bae(0x127)]||[],[_0x3f1362]),this['report']['pickle'][_0x530bae(0x148)](_0x3f1362);}[a6_0x2d9228(0x18b)](_0x1db253){const _0x4e1952=a6_0x2d9228;this[_0x4e1952(0x19b)]['gherkinDocument']=Object[_0x4e1952(0x13d)]([],this[_0x4e1952(0x19b)]['gherkinDocument']||[],[_0x1db253]),this[_0x4e1952(0x19b)][_0x4e1952(0x14d)][_0x4e1952(0x148)](_0x1db253);}[a6_0x2d9228(0x18d)](_0x4d43a4){const _0x2f45dd=a6_0x2d9228;this['report'][_0x2f45dd(0x138)]=_0x4d43a4;}[a6_0x2d9228(0x1e3)](_0x3eed1c){const _0x33c3b1=a6_0x2d9228;this[_0x33c3b1(0x19b)][_0x33c3b1(0x1ec)]=Object[_0x33c3b1(0x13d)]([],this['report'][_0x33c3b1(0x1ec)]||[],[_0x3eed1c]),this[_0x33c3b1(0x19b)][_0x33c3b1(0x1ec)][_0x33c3b1(0x148)](_0x3eed1c);}[a6_0x2d9228(0x163)](_0x39cee1){const _0x4d5b18=a6_0x2d9228;this[_0x4d5b18(0x19b)][_0x4d5b18(0x1ef)]=Object[_0x4d5b18(0x13d)]([],this[_0x4d5b18(0x19b)]['testCases']||[],[_0x39cee1]),this[_0x4d5b18(0x19b)][_0x4d5b18(0x1ef)][_0x4d5b18(0x148)](_0x39cee1);}[a6_0x2d9228(0x170)](_0x6f21f5){const _0x453b75=a6_0x2d9228,_0x642384={'aLhXK':function(_0x32c3da,_0x5d7b2d){return _0x32c3da!==_0x5d7b2d;},'AHLCA':_0x453b75(0x1bc),'IHeDb':function(_0x146af4,_0x53caa6){return _0x146af4+_0x53caa6;},'TAapE':function(_0x126028,_0x44c32a){return _0x126028+_0x44c32a;},'qCLQH':function(_0x148fd2,_0x26352d){return _0x148fd2+_0x26352d;},'sWcWQ':function(_0x4bb517,_0x51a6f8){return _0x4bb517+_0x51a6f8;},'GWzmn':_0x453b75(0x1e0),'IFtbt':_0x453b75(0x1c2),'MJCfe':function(_0x211bf7,_0x305ce6){return _0x211bf7===_0x305ce6;},'ZtVRy':_0x453b75(0x1c8),'ONIzt':function(_0x89d76f,_0x2c088f,_0xfbafb8){return _0x89d76f(_0x2c088f,_0xfbafb8);},'kyIqr':_0x453b75(0x1cb),'iCwoz':'message','GHKrS':function(_0x52e3ab,_0x286d5b){return _0x52e3ab+_0x286d5b;},'twEzD':function(_0x1ca3c6,_0x49c25c){return _0x1ca3c6+_0x49c25c;},'EHlDa':function(_0x219bc9,_0x47cee2){return _0x219bc9+_0x47cee2;},'DnoJU':function(_0x6c010c,_0x411753){return _0x6c010c+_0x411753;},'UzJzD':function(_0x5dfe30,_0x237aa4){return _0x5dfe30+_0x237aa4;},'lOklu':function(_0x570ff0,_0x275863){return _0x570ff0+_0x275863;}};_0x642384[_0x453b75(0x152)](global[_0x453b75(0x145)],undefined)&&this[_0x453b75(0x1d6)](_0x642384[_0x453b75(0x157)](_0x642384[_0x453b75(0x1aa)]('\x0a',global[_0x453b75(0x145)]),'\x0a'));const _0x30dfd5=this[_0x453b75(0x161)][_0x453b75(0x141)](_0x6f21f5[_0x453b75(0x1c0)]);this[_0x453b75(0x1d6)](_0x642384[_0x453b75(0x1e4)](_0x642384[_0x453b75(0x172)](_0x642384[_0x453b75(0x1c4)](_0x642384[_0x453b75(0x157)]('\x20\x20',_0x30dfd5[_0x453b75(0x14d)][_0x453b75(0x14b)][_0x453b75(0x1cd)]),_0x642384['IFtbt']),_0x30dfd5[_0x453b75(0x127)][_0x453b75(0x1cd)]),'\x0a'));const _0x1fb4a4={};_0x1fb4a4['cwd']=this['cwd'],_0x1fb4a4[_0x453b75(0x1bb)]=this[_0x453b75(0x1bb)],_0x1fb4a4[_0x453b75(0x179)]=this[_0x453b75(0x179)],_0x1fb4a4[_0x453b75(0x158)]=_0x30dfd5;const _0x2304ef=formatterHelpers[_0x453b75(0x133)](_0x1fb4a4);let _0x1faf90=![];_0x2304ef[_0x453b75(0x17f)][_0x453b75(0x13a)](_0x49dad2=>{const _0x384a12=_0x453b75;if(_0x642384[_0x384a12(0x152)](_0x49dad2[_0x384a12(0x1cd)],_0x642384[_0x384a12(0x137)])&&!this[_0x384a12(0x150)](_0x49dad2)){totalTests+=0x1,this['log'](_0x642384['IHeDb'](_0x642384['IHeDb'](_0x642384[_0x384a12(0x157)](_0x642384[_0x384a12(0x1ae)](_0x642384[_0x384a12(0x1d4)](_0x642384[_0x384a12(0x1c1)],_0x49dad2['keyword']),_0x49dad2[_0x384a12(0x149)]||''),_0x642384[_0x384a12(0x1c9)]),Status[_0x49dad2[_0x384a12(0x1cb)][_0x384a12(0x178)]]),'\x0a')),this[_0x384a12(0x1b1)](Status[_0x49dad2[_0x384a12(0x1cb)]['status']]);if(_0x642384['MJCfe'](Status[_0x49dad2[_0x384a12(0x1cb)][_0x384a12(0x178)]],_0x642384['ZtVRy'])){_0x1faf90=!![];const _0x3b9ef4=_0x642384[_0x384a12(0x192)](nestedKeyValue,_0x49dad2,[_0x642384[_0x384a12(0x1a7)],_0x642384[_0x384a12(0x1b0)]]);_0x3b9ef4&&(testsErrorMessage[_0x642384['GHKrS'](_0x642384[_0x384a12(0x15b)](_0x30dfd5[_0x384a12(0x14d)]['feature'][_0x384a12(0x1cd)],_0x642384[_0x384a12(0x1c9)]),_0x30dfd5[_0x384a12(0x127)][_0x384a12(0x1cd)])]=_0x3b9ef4,this['log'](_0x642384[_0x384a12(0x190)](_0x3b9ef4,'\x0a')));}}}),_0x1faf90&&(testSuitesFailed+=0x1),this[_0x453b75(0x1d6)]('\x0a');}[a6_0x2d9228(0x183)](_0x1b09f6){}[a6_0x2d9228(0x150)](_0x312c8a){const _0x3d9f27=a6_0x2d9228,_0x25860a={};_0x25860a[_0x3d9f27(0x17b)]=function(_0x50054d,_0x54b1a2){return _0x50054d!==_0x54b1a2;},_0x25860a['FVMHr']='cucumber-js/test.setup.js';const _0x165a18=_0x25860a;if(_0x165a18[_0x3d9f27(0x17b)](_0x312c8a['sourceLocation'],undefined))return![];if(_0x312c8a[_0x3d9f27(0x1a2)]&&_0x312c8a[_0x3d9f27(0x1a2)]['uri'][_0x3d9f27(0x16b)](_0x165a18[_0x3d9f27(0x194)]))return!![];return![];}[a6_0x2d9228(0x1b1)](_0x215f7b){const _0x24c630=a6_0x2d9228,_0x55e102={};_0x55e102[_0x24c630(0x15d)]=_0x24c630(0x1c8),_0x55e102[_0x24c630(0x189)]=_0x24c630(0x167),_0x55e102[_0x24c630(0x177)]=_0x24c630(0x182),_0x55e102[_0x24c630(0x185)]=_0x24c630(0x151),_0x55e102[_0x24c630(0x1ed)]=_0x24c630(0x14f),_0x55e102[_0x24c630(0x164)]=_0x24c630(0x1a4),_0x55e102[_0x24c630(0x17c)]=_0x24c630(0x1be);const _0x8e9fc3=_0x55e102;switch(_0x215f7b){case _0x8e9fc3[_0x24c630(0x15d)]:testsFailed+=0x1;break;case _0x8e9fc3['PlidM']:testsPassed+=0x1;break;case _0x8e9fc3[_0x24c630(0x177)]:testsSkipped+=0x1;break;case _0x8e9fc3[_0x24c630(0x185)]:testsPending+=0x1;break;case _0x8e9fc3[_0x24c630(0x1ed)]:testsUndefined+=0x1;break;case _0x8e9fc3[_0x24c630(0x164)]:testsUnknown+=0x1;break;case _0x8e9fc3[_0x24c630(0x17c)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x2d9228(0x191)](_0x2e3cc1){const _0x549c81=a6_0x2d9228,_0x1ab493={'pVJtJ':function(_0xc0c0f2,_0x2f4c2b){return _0xc0c0f2!==_0x2f4c2b;},'rjISX':function(_0x5914eb){return _0x5914eb();},'BOSyj':function(_0x292d8d,_0x2249d7){return _0x292d8d(_0x2249d7);},'Duplu':function(_0x5bad1b,_0x5bb5f8){return _0x5bad1b+_0x5bb5f8;},'MZzeY':'cucumber'};let _0x3b54a9;if(_0x1ab493[_0x549c81(0x1cc)](process[_0x549c81(0x196)][_0x549c81(0x13c)],undefined)){const _0x5337a9=JSON[_0x549c81(0x143)](process['env'][_0x549c81(0x13c)]);_0x3b54a9=_0x5337a9['capability'];}_0x1ab493[_0x549c81(0x1cc)](_0x3b54a9,undefined)&&_0x1ab493['rjISX'](isBrowserstackInfra)&&(global['__platform']=_0x1ab493[_0x549c81(0x168)](getPlatformName,_0x3b54a9),this[_0x549c81(0x1d6)](_0x1ab493[_0x549c81(0x1c3)]('Executing\x20tests\x20for\x20'+global['__platform'],'\x0a'))),_0x1ab493[_0x549c81(0x1e9)](shouldProcessEventForTesthub)&&(TestDetails[_0x549c81(0x154)](),this[_0x549c81(0x19b)][_0x549c81(0x155)]=_0x2e3cc1,BrowserstackCLI[_0x549c81(0x1d1)]()['isCliEnabled']()&&await this[_0x549c81(0x175)]()&&(TestInfo['setup'](_0x1ab493['MZzeY']),await BrowserstackCLI[_0x549c81(0x1d1)]()[_0x549c81(0x197)]()['trackEvent'](TestFrameworkState[_0x549c81(0x153)],HookState[_0x549c81(0x19e)],{})));}[a6_0x2d9228(0x18c)](_0x2fb901){const _0x19ed04=a6_0x2d9228;this[_0x19ed04(0x19b)]['testRunFinished']=_0x2fb901,this[_0x19ed04(0x183)](_0x2fb901);}async['onTestCaseStarted'](_0x2b6537,_0x493ab5,_0x14f8ac){const _0x135c09=a6_0x2d9228,_0x2ab86e={'GHIag':function(_0xbfb646,_0x17d5fc){return _0xbfb646(_0x17d5fc);},'zdPeF':_0x135c09(0x17a),'suJPL':function(_0x4431bc,_0x26cbab){return _0x4431bc&&_0x26cbab;}};testSuites+=0x1;if(_0x2ab86e[_0x135c09(0x1d9)](shouldProcessEventForTesthub,_0x2ab86e[_0x135c09(0x1b3)]))try{this[_0x135c09(0x19b)][_0x135c09(0x146)]=this[_0x135c09(0x19b)][_0x135c09(0x146)]||{},this[_0x135c09(0x19b)]['testCaseStarted'][_0x2b6537['id']]=_0x2b6537;let _0x36d093=null;BrowserstackCLI[_0x135c09(0x1d1)]()[_0x135c09(0x134)]()&&await this['isCLIReady']()?_0x36d093=TestInfo[_0x135c09(0x171)](_0x2b6537['id']):_0x36d093=TestDetails[_0x135c09(0x171)](_0x2b6537['id']);_testCasesData[_0x2b6537['id']]=Object[_0x135c09(0x13d)]({},_0x14f8ac);const _0x117e80=this[_0x135c09(0x19b)],_0x25cfd1=_0x2b6537[_0x135c09(0x16d)],_0x58c100=_0x117e80[_0x135c09(0x1ef)]['find'](_0x27cf89=>_0x27cf89['id']===_0x25cfd1)[_0x135c09(0x193)],_0xb01791=_0x117e80[_0x135c09(0x127)][_0x135c09(0x16c)](_0x31b1dc=>_0x31b1dc['id']===_0x58c100),_0x4c3028=_0x117e80['gherkinDocument'][_0x135c09(0x16c)](_0x1048df=>_0x1048df[_0x135c09(0x125)]===_0xb01791[_0x135c09(0x125)]),_0x500fbb=_0x4c3028[_0x135c09(0x14b)],_0x400d6c={'uuid':_0x36d093,'startedAt':new Date()[_0x135c09(0x139)]()};if(_0xb01791){const _0x55f6b7={};_0x55f6b7[_0x135c09(0x1cd)]=_0xb01791[_0x135c09(0x1cd)],_0x400d6c['scenario']=_0x55f6b7;}if(_0x2ab86e['suJPL'](_0x4c3028,_0x500fbb)){const _0x2fcc5c={};_0x2fcc5c[_0x135c09(0x1db)]=_0x4c3028[_0x135c09(0x125)],_0x2fcc5c[_0x135c09(0x1cd)]=_0x500fbb[_0x135c09(0x1cd)],_0x2fcc5c['description']=_0x500fbb['description'],_0x400d6c[_0x135c09(0x14b)]=_0x2fcc5c;}_tests[_0x25cfd1]=_0x400d6c;if(BrowserstackCLI[_0x135c09(0x1d1)]()[_0x135c09(0x134)]()&&await this[_0x135c09(0x175)]()){const _0xa02d5d=await cucumberUtils[_0x135c09(0x19a)](_0x400d6c,_0xb01791,_0x14f8ac,_0x4c3028,_0x2b6537['id'],_0x2ab86e[_0x135c09(0x1b3)]),_0x332f82={};_0x332f82['test']=_0xa02d5d,await BrowserstackCLI[_0x135c09(0x1d1)]()[_0x135c09(0x197)]()['trackEvent'](TestFrameworkState[_0x135c09(0x12b)],HookState[_0x135c09(0x19e)],_0x332f82);return;}await testObservabilityReporter[_0x135c09(0x142)](_0x14f8ac,_0x4c3028,_0xb01791,_0x2ab86e[_0x135c09(0x1b3)],_0x400d6c);}catch(_0x43caeb){logger[_0x135c09(0x1a1)](_0x135c09(0x1a8)+util[_0x135c09(0x18a)](_0x43caeb)+'\x20');}}async[a6_0x2d9228(0x1eb)](_0x1948a4,_0x139e74,_0x5a4915){const _0x4bb00d=a6_0x2d9228,_0x505eb0={'Shagb':function(_0x857656,_0x56c090){return _0x857656(_0x56c090);},'ATeMS':'TestRunFinished','pbKsD':_0x4bb00d(0x18e)};this[_0x4bb00d(0x170)](_0x1948a4);if(_0x505eb0[_0x4bb00d(0x131)](shouldProcessEventForTesthub,_0x505eb0[_0x4bb00d(0x124)]))try{this[_0x4bb00d(0x19b)][_0x4bb00d(0x1f4)]=this[_0x4bb00d(0x19b)][_0x4bb00d(0x1f4)]||{},this[_0x4bb00d(0x19b)][_0x4bb00d(0x1f4)][_0x1948a4[_0x4bb00d(0x1c0)]]=_0x1948a4,_testCasesData[_0x5a4915['id']]=Object[_0x4bb00d(0x13d)]({},_0x5a4915);const _0x2c1a62=_0x1948a4[_0x4bb00d(0x1c0)],_0x51dfcc=_0x139e74[_0x4bb00d(0x161)]['testCaseAttemptDataMap'][_0x2c1a62][_0x4bb00d(0x16d)],_0x34dbad=_0x139e74[_0x4bb00d(0x161)][_0x4bb00d(0x173)][_0x51dfcc],_0x3dd15b=_0x34dbad[_0x4bb00d(0x193)],_0x5286aa=_0x139e74[_0x4bb00d(0x161)][_0x4bb00d(0x14a)][_0x3dd15b],_0x584257=this['getGherkinDocument'](_0x139e74,_0x5286aa),_0x231bf6=_0x584257[_0x4bb00d(0x14b)],_0xfb575d=_tests[_0x51dfcc];_0xfb575d&&(delete _tests[_0x51dfcc],_0xfb575d[_0x4bb00d(0x1da)]=new Date()[_0x4bb00d(0x139)]());if(BrowserstackCLI[_0x4bb00d(0x1d1)]()[_0x4bb00d(0x134)]()&&await this[_0x4bb00d(0x175)]()){const _0x539eba=await cucumberUtils[_0x4bb00d(0x19a)](_0xfb575d,_0x5286aa,_0x5a4915,_0x584257,_0x2c1a62,_0x505eb0[_0x4bb00d(0x124)]),_0x34022a={};_0x34022a['test']=_0x539eba,await BrowserstackCLI[_0x4bb00d(0x1d1)]()[_0x4bb00d(0x197)]()[_0x4bb00d(0x15e)](TestFrameworkState['TEST'],HookState['POST'],_0x34022a);const _0x22b597={};_0x22b597[_0x4bb00d(0x144)]=_0x1948a4['testCaseStartedId'],_0x22b597['type']=_0x505eb0[_0x4bb00d(0x19f)],await BrowserstackCLI['getInstance']()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x4bb00d(0x188)],HookState[_0x4bb00d(0x1e6)],_0x22b597);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x5a4915,_0x584257,_0x5286aa,_0x505eb0['ATeMS'],_0xfb575d);}catch(_0x1dcbaf){logger[_0x4bb00d(0x1a1)](_0x4bb00d(0x1b2)+util['format'](_0x1dcbaf));}}async[a6_0x2d9228(0x186)](_0x458713,_0x128c85){const _0x9b9df1=a6_0x2d9228,_0x557cb4={'kxItm':function(_0x1d7043,_0x4ea9d8){return _0x1d7043(_0x4ea9d8);},'EgCWc':_0x9b9df1(0x13e),'SiyjR':function(_0xab0ad,_0xa5e476){return _0xab0ad!==_0xa5e476;},'CJnyY':_0x9b9df1(0x17d)};if(_0x557cb4[_0x9b9df1(0x1ee)](shouldProcessEventForTesthub,_0x557cb4['EgCWc']))try{this[_0x9b9df1(0x19b)][_0x9b9df1(0x1ad)]=this[_0x9b9df1(0x19b)][_0x9b9df1(0x1ad)]||{},this[_0x9b9df1(0x19b)]['testStepStarted'][_0x458713['testCaseStartedId']]=_0x458713;const _0x5a5539=_0x458713[_0x9b9df1(0x1c0)],_0x14838d=_0x128c85[_0x9b9df1(0x161)][_0x9b9df1(0x1e7)][_0x5a5539][_0x9b9df1(0x16d)],_0x4afaef=this[_0x9b9df1(0x19b)][_0x9b9df1(0x1ef)][_0x9b9df1(0x16c)](_0x4d3920=>_0x4d3920['id']===_0x14838d)[_0x9b9df1(0x193)],_0x299172=this[_0x9b9df1(0x19b)]['pickle']['find'](_0x28805c=>_0x28805c['id']===_0x4afaef),_0x13705e=this[_0x9b9df1(0x19b)][_0x9b9df1(0x1ef)][_0x9b9df1(0x16c)](_0xb11dcf=>_0xb11dcf['id']===_0x14838d)[_0x9b9df1(0x17f)],_0x8030a9=this[_0x9b9df1(0x19b)]['testStepStarted'][_0x5a5539]['testStepId'],_0x45f7b8=_0x13705e[_0x9b9df1(0x16c)](_0x23b89b=>_0x23b89b['id']===_0x8030a9)[_0x9b9df1(0x1a0)],_0x5a4e01=_0x299172[_0x9b9df1(0x136)][_0x9b9df1(0x16c)](_0x40357e=>_0x40357e['id']===_0x45f7b8);if(_0x45f7b8&&_tests[_0x14838d]&&_0x557cb4[_0x9b9df1(0x19d)](_tests[_0x14838d][_0x557cb4[_0x9b9df1(0x16a)]],_0x8030a9)){_tests[_0x14838d][_0x557cb4[_0x9b9df1(0x16a)]]=_0x8030a9;const _0x4daa34={};_0x4daa34[_0x9b9df1(0x136)]=[];const _0x150a4b=_tests[_0x14838d]||_0x4daa34;_0x150a4b&&!_0x150a4b[_0x9b9df1(0x136)]&&(_0x150a4b[_0x9b9df1(0x136)]=[]),_0x150a4b[_0x9b9df1(0x136)]['push']({'id':_0x5a4e01['id'],'text':_0x5a4e01['text'],'started_at':new Date()[_0x9b9df1(0x139)]()}),_tests[_0x14838d]=_0x150a4b;}if(BrowserstackCLI[_0x9b9df1(0x1d1)]()[_0x9b9df1(0x134)]()&&await this[_0x9b9df1(0x175)]()){const _0x7ba82b=await cucumberUtils[_0x9b9df1(0x1d8)](this[_0x9b9df1(0x19b)],_0x5a5539,_0x557cb4[_0x9b9df1(0x15c)],_0x13705e,_0x8030a9,_tests[_0x14838d]);_0x7ba82b&&await BrowserstackCLI['getInstance']()[_0x9b9df1(0x197)]()[_0x9b9df1(0x15e)](TestFrameworkState[_0x7ba82b[_0x9b9df1(0x129)]],HookState[_0x9b9df1(0x19e)],{'hookData':_0x7ba82b,'testUUID':_0x458713['testCaseStartedId']});return;}await testObservabilityReporter[_0x9b9df1(0x180)](this[_0x9b9df1(0x19b)],_0x5a5539,_0x557cb4[_0x9b9df1(0x15c)],_0x13705e,_0x8030a9,_tests[_0x14838d]);}catch(_0x411acc){logger[_0x9b9df1(0x1a1)]('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util['format'](_0x411acc));}}async[a6_0x2d9228(0x1f1)](_0x4aa70e,_0x42a13f){const _0x53a5f2=a6_0x2d9228,_0x14f1ed={'xeIQC':function(_0xd3f61f,_0x19ca06){return _0xd3f61f===_0x19ca06;},'yTATq':_0x53a5f2(0x126),'sgunh':function(_0x41cc06,_0x441e5a){return _0x41cc06(_0x441e5a);},'qVzlE':_0x53a5f2(0x1ea),'LSbmL':function(_0x3fec1c,_0x1aa8c8){return _0x3fec1c===_0x1aa8c8;},'SeFUf':_0x53a5f2(0x1e5),'Oqfnu':_0x53a5f2(0x1c7),'FlhYh':'testStepId','JItNZ':_0x53a5f2(0x13e),'fhlEM':'hook'};this[_0x53a5f2(0x19b)][_0x53a5f2(0x1bd)]=this['report'][_0x53a5f2(0x1bd)]||{},this[_0x53a5f2(0x19b)][_0x53a5f2(0x1bd)][_0x4aa70e[_0x53a5f2(0x1c0)]]=_0x4aa70e;if(_0x14f1ed['sgunh'](shouldProcessEventForTesthub,_0x14f1ed[_0x53a5f2(0x1b8)]))try{const _0x49756e=_0x4aa70e[_0x53a5f2(0x1c0)],_0x334260=_0x42a13f[_0x53a5f2(0x161)][_0x53a5f2(0x1e7)][_0x49756e]['testCaseId'],_0x6ffa89=_0x42a13f[_0x53a5f2(0x161)]['testCaseMap'][_0x334260],_0x3e7276=_0x6ffa89[_0x53a5f2(0x193)],_0x425771=_0x42a13f[_0x53a5f2(0x161)][_0x53a5f2(0x14a)][_0x3e7276],_0x55f5fe=_0x4aa70e[_0x53a5f2(0x17d)],_0x2d0458=_0x6ffa89[_0x53a5f2(0x17f)],_0x96cd0e=this[_0x53a5f2(0x161)][_0x53a5f2(0x141)](_0x49756e),_0x56559b=_0x2d0458[_0x53a5f2(0x16c)](_0x1dee7f=>_0x1dee7f['id']===_0x55f5fe)[_0x53a5f2(0x1a0)];let _0x45e961,_0x2b763e;_0x4aa70e[_0x53a5f2(0x1af)]&&_0x14f1ed['LSbmL'](_0x4aa70e[_0x53a5f2(0x1af)][_0x53a5f2(0x178)]['toString']()['toLowerCase'](),_0x14f1ed[_0x53a5f2(0x1b9)])&&(_0x45e961=_0x14f1ed[_0x53a5f2(0x147)](_0x4aa70e['testStepResult'][_0x53a5f2(0x12f)],undefined)?_0x4aa70e[_0x53a5f2(0x1af)]['message']:_0x4aa70e[_0x53a5f2(0x1af)][_0x53a5f2(0x12f)][_0x53a5f2(0x14c)],_0x2b763e=_0x14f1ed[_0x53a5f2(0x12c)](_0x4aa70e[_0x53a5f2(0x1af)][_0x53a5f2(0x12f)],undefined)?_0x14f1ed[_0x53a5f2(0x19c)]:_0x4aa70e[_0x53a5f2(0x1af)][_0x53a5f2(0x14c)]);if(_0x56559b&&_tests[_0x334260][_0x14f1ed[_0x53a5f2(0x140)]]){const _0x27586f=_0x425771['steps']['find'](_0x3e8ab3=>_0x3e8ab3['id']===_0x56559b),_0x40ea87={};_0x40ea87[_0x53a5f2(0x136)]=[];const _0x5b6886=_tests[_0x334260]||_0x40ea87;!_0x5b6886[_0x53a5f2(0x136)]?_0x5b6886[_0x53a5f2(0x136)]=[{'id':_0x27586f['id'],'text':_0x27586f['text'],'finished_at':new Date()['toISOString'](),'result':_0x4aa70e[_0x53a5f2(0x1af)]['status'],'duration':_0x4aa70e[_0x53a5f2(0x1af)]['duration'][_0x53a5f2(0x1f6)],'failure':_0x45e961,'failureType':_0x2b763e}]:_0x5b6886[_0x53a5f2(0x136)]['forEach'](_0x3da6eb=>{const _0x38d297=_0x53a5f2;if(_0x14f1ed[_0x38d297(0x12c)](_0x3da6eb['id'],_0x27586f['id'])){const _0x543b4d=_0x14f1ed[_0x38d297(0x176)]['split']('|');let _0x21275b=0x0;while(!![]){switch(_0x543b4d[_0x21275b++]){case'0':_0x3da6eb[_0x38d297(0x1cb)]=_0x4aa70e['testStepResult'][_0x38d297(0x178)];continue;case'1':_0x3da6eb['failureType']=_0x2b763e;continue;case'2':_0x3da6eb['duration']=_0x4aa70e[_0x38d297(0x1af)]['duration'][_0x38d297(0x1f6)];continue;case'3':_0x3da6eb['finished_at']=new Date()[_0x38d297(0x139)]();continue;case'4':_0x3da6eb[_0x38d297(0x1ce)]=_0x45e961;continue;}break;}}}),_tests[_0x334260]=_0x5b6886;}delete _tests[_0x334260][_0x14f1ed['FlhYh']];if(BrowserstackCLI[_0x53a5f2(0x1d1)]()['isCliEnabled']()&&await this['isCLIReady']()){const _0x326352=await cucumberUtils[_0x53a5f2(0x1d8)](this['report'],_0x49756e,_0x14f1ed[_0x53a5f2(0x18f)],_0x2d0458,_0x55f5fe,_tests[_0x334260]);if(_0x326352){await BrowserstackCLI['getInstance']()[_0x53a5f2(0x197)]()[_0x53a5f2(0x15e)](TestFrameworkState[_0x326352[_0x53a5f2(0x129)]],HookState[_0x53a5f2(0x1e6)],{'hookData':_0x326352,'testUUID':_0x4aa70e[_0x53a5f2(0x1c0)]});const _0x2d939f={};_0x2d939f[_0x53a5f2(0x144)]=_0x4aa70e[_0x53a5f2(0x1c0)],_0x2d939f['type']=_0x14f1ed[_0x53a5f2(0x1ac)],await BrowserstackCLI['getInstance']()[_0x53a5f2(0x197)]()[_0x53a5f2(0x15e)](TestFrameworkState['LOG_REPORT'],HookState[_0x53a5f2(0x1e6)],_0x2d939f);}return;}await testObservabilityReporter['sendHook'](this[_0x53a5f2(0x19b)],_0x49756e,_0x14f1ed['qVzlE'],_0x2d0458,_0x55f5fe,_tests[_0x334260]);}catch(_0x9d5d2){logger['debug'](_0x53a5f2(0x123)+util[_0x53a5f2(0x18a)](_0x9d5d2));}}[a6_0x2d9228(0x13f)](_0x25e6ef){const _0x1eb40e=a6_0x2d9228,_0x1dd64a={};return _0x25e6ef[_0x1eb40e(0x14b)]['children']['map'](this[_0x1eb40e(0x1f2)])[_0x1eb40e(0x15a)]()['forEach'](_0x1d6986=>_0x1d6986[_0x1eb40e(0x136)][_0x1eb40e(0x13a)](_0x3d8d91=>_0x1dd64a[_0x3d8d91['id']]=_0x3d8d91)),_0x1dd64a;}['extractStepContainers'](_0xe885da){const _0x2e595b=a6_0x2d9228,_0x4ac071={'HEiHu':function(_0xec89c0,_0x2fd667){return _0xec89c0(_0x2fd667);}};if(!_0x4ac071[_0x2e595b(0x156)](isUndefined,_0xe885da['background']))return[_0xe885da['background']];else{if(!_0x4ac071[_0x2e595b(0x156)](isUndefined,_0xe885da[_0x2e595b(0x12a)]))return _0xe885da[_0x2e595b(0x12a)][_0x2e595b(0x17e)]['map'](_0x48f3c9=>!isUndefined(_0x48f3c9[_0x2e595b(0x1e8)])?_0x48f3c9[_0x2e595b(0x1e8)]:_0x48f3c9['scenario']);};return[_0xe885da[_0x2e595b(0x1dd)]];}[a6_0x2d9228(0x12e)](_0x257bbe,_0x4d5752){const _0x43c6d8=a6_0x2d9228;return Object[_0x43c6d8(0x1de)](_0x257bbe[_0x43c6d8(0x161)]['gherkinDocumentMap'])[_0x43c6d8(0x16c)](_0x6d0982=>_0x6d0982['uri']===_0x4d5752['uri']);}async[a6_0x2d9228(0x1f5)](){const _0x12b8a7=a6_0x2d9228;if(this[_0x12b8a7(0x1a6)])return this[_0x12b8a7(0x1a6)];return this['cliInitPromise']=this['_performCLIInitialization'](),this['cliInitPromise'];}async[a6_0x2d9228(0x1b4)](){const _0x21fd05=a6_0x2d9228,_0x1b7dc7={'ztLPw':_0x21fd05(0x165),'naEHA':function(_0x2d3dcb,_0x55fb04){return _0x2d3dcb(_0x55fb04);},'WnYUj':_0x21fd05(0x16e),'pYriC':'../../utils/constants'};try{const _0x2bb29c=BrowserstackCLI[_0x21fd05(0x1d1)]();if(_0x2bb29c[_0x21fd05(0x1ca)]())return logger['debug'](_0x21fd05(0x1a9)+_0x2bb29c[_0x21fd05(0x12d)]),!![];const _0xef5988=process[_0x21fd05(0x196)][_0x21fd05(0x162)];if(!_0xef5988)return logger[_0x21fd05(0x1a1)](_0x1b7dc7[_0x21fd05(0x1c5)]),![];const _0x49a522=_0x1b7dc7[_0x21fd05(0x174)](require,_0x1b7dc7[_0x21fd05(0x14e)]),{FRAMEWORKS:_0x12b534}=_0x1b7dc7[_0x21fd05(0x174)](require,_0x1b7dc7['pYriC']);return _0x49a522[_0x21fd05(0x181)](_0x12b534['CUCUMBER'],_0x12b534[_0x21fd05(0x184)]),logger[_0x21fd05(0x1a1)](_0x21fd05(0x198)+_0xef5988),await _0x2bb29c[_0x21fd05(0x132)](),logger[_0x21fd05(0x1a1)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x2bb29c[_0x21fd05(0x1ca)]()+_0x21fd05(0x1df)+_0x2bb29c[_0x21fd05(0x12d)]),_0x2bb29c[_0x21fd05(0x1ca)]();}catch(_0x556e48){return logger['debug'](_0x21fd05(0x1d7)+util[_0x21fd05(0x18a)](_0x556e48)),![];}}async[a6_0x2d9228(0x175)](){const _0x6e729a=a6_0x2d9228;try{return await this[_0x6e729a(0x1f5)](),BrowserstackCLI[_0x6e729a(0x1d1)]()[_0x6e729a(0x1ca)]();}catch(_0x4b9c60){return logger['debug'](_0x6e729a(0x122)+util['format'](_0x4b9c60)),![];}}}function a6_0x5671(){const _0x1d4682=['eventBroadcaster','CJnyY','includes','find','testCaseId','../../v2/cliUtils','../../v2/state/testFrameworkState.js','logTestCaseFinished','getTestUUID','UzJzD','testCaseMap','naEHA','isCLIReady','yTATq','ptgfF','status','supportCodeLibrary','TestRunStarted','sekRS','GqKKb','testStepId','children','testSteps','sendHook','setFrameworkDetail','SKIPPED','logTestRunFinished','PLAYWRIGHT','FBdfQ','onTestStepStarted','../../v2/browserstackCLI.js','LOG_REPORT','PlidM','format','onGherkinDocument','onTestRunFinished','onSource','test','JItNZ','EHlDa','onTestRunStarted','ONIzt','pickleId','FVMHr','hook','env','getTestFramework','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','zxPsK','createTestFrameworkData','report','Oqfnu','SiyjR','PRE','pbKsD','pickleStepId','debug','actionLocation','2912882isCytA','UNKNOWN','util','cliInitPromise','kyIqr','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','CLI\x20already\x20running\x20-\x20binSessionId:\x20','GHKrS','1467SpzFUZ','fhlEM','testStepStarted','qCLQH','testStepResult','iCwoz','incrementCounter','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','zdPeF','_performCLIInitialization','@cucumber/cucumber','../../playwright/reporter/test-details.js','246260Ozdwug','qVzlE','SeFUf','hooks','snippetBuilder','bstack','testStepFinished','AMBIGUOUS','exports','testCaseStartedId','GWzmn','\x20-\x20','Duplu','lOklu','ztLPw','envelope','UnhandledError','FAILED','IFtbt','isRunning','result','pVJtJ','name','failure','../../../helpers/testhub/utils.js','87840yExXWf','getInstance','12632rNBFFA','508pssBbk','sWcWQ','onHook','log','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','createHookData','GHIag','finishedAt','path','../../v2/utils/cucumber-utils.js','scenario','values',',\x20binSessionId:\x20','\x20\x20\x20\x20','../../../helpers/test-observability/error-handler','../../../bin/v2/TestInfo.js','onStepDefinition','DnoJU','failed','POST','testCaseAttemptDataMap','background','rjISX','HookRunFinished','onTestCaseFinished','stepDefinition','LEZxq','kxItm','testCases','onTestCaseStarted','onTestStepFinished','extractStepContainers','../../../helpers/helper','testCaseFinished','ensureCLIInitialized','seconds','../test-observability.js','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','Exception\x20in\x20onTestStepFinished\x20event:\x20','ATeMS','uri','3|0|2|4|1','pickle','11028mbtGrU','hook_type','rule','TEST','xeIQC','binSessionId','getGherkinDocument','exception','../../../helpers/logger','Shagb','bootstrap','parseTestCaseAttempt','isCliEnabled','testRunFinished','steps','AHLCA','source','toISOString','forEach','1405554pSFgYJ','CONFIG','assign','HookRunStarted','getGherkinStepMap','FlhYh','getTestCaseAttempt','sendTestRunEventForCucumber','parse','testUUID','__platform','testCaseStarted','LSbmL','push','text','pickleMap','feature','message','gherkinDocument','WnYUj','UNDEFINED','isBstackHook','PENDING','aLhXK','INIT_TEST','setup','testRunStarted','HEiHu','TAapE','testCaseAttempt','4800310eAcYTm','flat','twEzD','EgCWc','dTyZY','trackEvent','5aBwRYc','../../v2/state/hookState.js','eventDataCollector','BROWSERSTACK_CLI_BIN_SESSION_ID','onTestCase','fTffu','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','testCase','PASSED','BOSyj'];a6_0x5671=function(){return _0x1d4682;};return a6_0x5671();}module[a6_0x2d9228(0x1bf)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x2d9228(0x1f0),a6_0x2d9228(0x1eb),a6_0x2d9228(0x186),a6_0x2d9228(0x1f1),a6_0x2d9228(0x191),'onTestRunFinished',a6_0x2d9228(0x1f2),'getGherkinDocument',a6_0x2d9228(0x13f)]);
|
|
1
|
+
const a6_0x8c0ab9=a6_0x3706;function a6_0x3706(_0x50bd01,_0x4186db){const _0x159879=a6_0x1598();return a6_0x3706=function(_0x37062d,_0x48ce6b){_0x37062d=_0x37062d-0x17a;let _0x3dbb38=_0x159879[_0x37062d];return _0x3dbb38;},a6_0x3706(_0x50bd01,_0x4186db);}(function(_0x3bb33a,_0x1636d6){const _0x33abe3=a6_0x3706,_0xdb5b1d=_0x3bb33a();while(!![]){try{const _0x17ade4=-parseInt(_0x33abe3(0x1c6))/0x1*(-parseInt(_0x33abe3(0x1de))/0x2)+-parseInt(_0x33abe3(0x1cb))/0x3+parseInt(_0x33abe3(0x232))/0x4*(-parseInt(_0x33abe3(0x21d))/0x5)+-parseInt(_0x33abe3(0x1f2))/0x6*(-parseInt(_0x33abe3(0x242))/0x7)+-parseInt(_0x33abe3(0x191))/0x8+parseInt(_0x33abe3(0x1dc))/0x9*(-parseInt(_0x33abe3(0x1c9))/0xa)+parseInt(_0x33abe3(0x19e))/0xb;if(_0x17ade4===_0x1636d6)break;else _0xdb5b1d['push'](_0xdb5b1d['shift']());}catch(_0x2678b8){_0xdb5b1d['push'](_0xdb5b1d['shift']());}}}(a6_0x1598,0xa2a02));function a6_0x1598(){const _0x1ba0c4=['exception','test','debug','gIiDK','PENDING','pzjPG','testCaseMap','binSessionId','../../v2/cliUtils','uri','1926LtIOqD','LOG_REPORT','561026kKWuZl','hVbmh','extractStepContainers','supportCodeLibrary','testStepResult','getInstance','toLowerCase','onTestRunFinished','TestRunStarted','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','forEach','BBRMm','HookRunFinished','testStepFinished','cwd','parse','format','testSteps','stepDefinition','toString','30414RNrEZs','onTestCaseStarted','EbAhX','qNBTe','cQhiq','createHookData','children','testCaseStarted','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','htPYK','winstonLogger',',\x20binSessionId:\x20','pickleMap','getTestFramework','../../v2/state/testFrameworkState.js','uIYwc','SRrLj','logTestRunFinished','Executing\x20tests\x20for\x20','isCliEnabled','wRfNX','@cucumber/cucumber','HookRunStarted','description','xtNnO','testCaseFinished','jvZVN','env','includes','RPkRr','assign','values','hooks','qDsfN','setup','POST','2|3|1|0|4','UNDEFINED','report','isBstackHook','eventDataCollector','logTestCaseFinished','SKIPPED','10qlFLtZ','type','onStepDefinition','finishedAt','pickle','sendTestRunEventForCucumber','envelope','puPqE','../../../helpers/helper','gTXDb','\x20\x20\x20\x20','UNKNOWN','qLOCV','createTestFrameworkData','../../../bin/v2/TestInfo.js','sourceLocation','_performCLIInitialization','getTestUUID','FAILED','qXbex','eventBroadcaster','275316hRWkmT','onTestCase','itAru','zTyXZ','../../v2/state/hookState.js','kgwMy','testCases','gherkinDocument','message','pickleId','wHgbd','testStepStarted','map','Exception\x20in\x20onTestStepFinished\x20event:\x20','hook','bootstrap','1463WIAfIL','snippetBuilder','tAFHx','testCaseAttemptDataMap','CLI\x20already\x20running\x20-\x20binSessionId:\x20','onSource','ljzhc','GlDbz','testCaseStartedId','\x20-\x20','onPickle','capability','getGherkinStepMap','background','find','isRunning','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','trackEvent','../../../helpers/test-observability/error-handler','sendHook','onTestCaseFinished','BROWSERSTACK_CLI_BIN_SESSION_ID','testUUID','FjRXR','failure','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','nkWWU','push','log','incrementCounter','testRunFinished','cucumber','grnIj','failed','parseTestCaseAttempt','cliInitPromise','gherkinDocumentMap','cqHoQ','5958640pqxbug','viLNh','text','steps','HQaaT','Exception\x20in\x20onTestStepStarted\x20event:\x20','actionLocation','cgknB','PASSED','rule','onTestStepFinished','split','HjDJr','20029801unBxLZ','duration','../../playwright/reporter/test-details.js','GbXKv','TestRunFinished','RLIuB','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','cwSoA','result','FtogJ','RQMPj','../../../helpers/logger','INyUF','testCaseId','hETOJ','testStepId','onTestRunStarted','path','etAoD','getTestCaseAttempt','PLAYWRIGHT','onGherkinDocument','../../utils/constants','ensureCLIInitialized','CONFIG','getGherkinDocument','ktJCQ','qICHk','testCase','PRE','scenario','name','TEST','lFTkg','sRZrz','exports','feature','YQAOP','testRunStarted','vEpyc','3UxgAvB','AMBIGUOUS','onHook','47260YNoYgp','__platform','3485655serIlq','toISOString','pYmrR','util','status','isCLIReady','source'];a6_0x1598=function(){return _0x1ba0c4;};return a6_0x1598();}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x8c0ab9(0x225)),util=require(a6_0x8c0ab9(0x1ce)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x8c0ab9(0x207)),TestDetails=require(a6_0x8c0ab9(0x1a0)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x8c0ab9(0x17d)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x8c0ab9(0x200)),HookState=require(a6_0x8c0ab9(0x236)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require(a6_0x8c0ab9(0x22b)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x8c0ab9(0x1a9))[a6_0x8c0ab9(0x1fc)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x3625e4){const _0x14008c=a6_0x8c0ab9,_0xe1c047={};_0xe1c047['SRrLj']=_0x14008c(0x223);const _0x3730c8=_0xe1c047;super(_0x3625e4),this[_0x14008c(0x218)]={},_0x3625e4[_0x14008c(0x231)]['on'](_0x3730c8[_0x14008c(0x202)],async _0x306e52=>{const _0x291a8f=_0x14008c;switch(!![]){case!!_0x306e52[_0x291a8f(0x1c4)]:this[_0x291a8f(0x1ae)](_0x306e52[_0x291a8f(0x1c4)]);break;case!!_0x306e52[_0x291a8f(0x189)]:this[_0x291a8f(0x1e5)](_0x306e52[_0x291a8f(0x189)]);break;case!!_0x306e52[_0x291a8f(0x1f9)]:this[_0x291a8f(0x1f3)](_0x306e52[_0x291a8f(0x1f9)],_0x3625e4,_0x306e52);break;case!!_0x306e52[_0x291a8f(0x20b)]:this['onTestCaseFinished'](_0x306e52[_0x291a8f(0x20b)],_0x3625e4,_0x306e52);break;case!!_0x306e52[_0x291a8f(0x23d)]:this['onTestStepStarted'](_0x306e52[_0x291a8f(0x23d)],_0x3625e4);break;case!!_0x306e52['testStepFinished']:this[_0x291a8f(0x19b)](_0x306e52[_0x291a8f(0x1eb)],_0x3625e4);break;case!!_0x306e52[_0x291a8f(0x240)]:this[_0x291a8f(0x1c8)](_0x306e52[_0x291a8f(0x240)]);break;case!!_0x306e52[_0x291a8f(0x1ba)]:this['onTestCase'](_0x306e52[_0x291a8f(0x1ba)]);break;case!!_0x306e52['pickle']:this[_0x291a8f(0x24c)](_0x306e52[_0x291a8f(0x221)]);break;case!!_0x306e52['gherkinDocument']:this['onGherkinDocument'](_0x306e52[_0x291a8f(0x239)]);break;}});}[a6_0x8c0ab9(0x1c8)](_0x4bb12a){const _0x1ef20c=a6_0x8c0ab9;this[_0x1ef20c(0x218)][_0x1ef20c(0x212)]=Object[_0x1ef20c(0x210)]([],this[_0x1ef20c(0x218)]['hooks']||[]),this['report']['hooks'][_0x1ef20c(0x186)](_0x4bb12a);}['onPickle'](_0x14df98){const _0x581190=a6_0x8c0ab9;this['report'][_0x581190(0x221)]=Object['assign']([],this['report'][_0x581190(0x221)]||[],[_0x14df98]),this[_0x581190(0x218)][_0x581190(0x221)][_0x581190(0x186)](_0x14df98);}[a6_0x8c0ab9(0x1b3)](_0x1892fb){const _0x4f259d=a6_0x8c0ab9;this[_0x4f259d(0x218)]['gherkinDocument']=Object[_0x4f259d(0x210)]([],this['report'][_0x4f259d(0x239)]||[],[_0x1892fb]),this[_0x4f259d(0x218)][_0x4f259d(0x239)][_0x4f259d(0x186)](_0x1892fb);}[a6_0x8c0ab9(0x247)](_0x1b8e37){const _0x26f758=a6_0x8c0ab9;this[_0x26f758(0x218)][_0x26f758(0x1d1)]=_0x1b8e37;}[a6_0x8c0ab9(0x21f)](_0x4afc39){const _0x4256c0=a6_0x8c0ab9;this[_0x4256c0(0x218)][_0x4256c0(0x1f0)]=Object[_0x4256c0(0x210)]([],this['report'][_0x4256c0(0x1f0)]||[],[_0x4afc39]),this[_0x4256c0(0x218)]['stepDefinition'][_0x4256c0(0x186)](_0x4afc39);}[a6_0x8c0ab9(0x233)](_0x22dd62){const _0x6d7e7d=a6_0x8c0ab9;this[_0x6d7e7d(0x218)][_0x6d7e7d(0x238)]=Object[_0x6d7e7d(0x210)]([],this['report'][_0x6d7e7d(0x238)]||[],[_0x22dd62]),this[_0x6d7e7d(0x218)][_0x6d7e7d(0x238)]['push'](_0x22dd62);}[a6_0x8c0ab9(0x21b)](_0x33e69d){const _0x786fbb=a6_0x8c0ab9,_0x944fa5={'sRZrz':function(_0x289cc6,_0x130506){return _0x289cc6!==_0x130506;},'qICHk':'bstack','qNBTe':function(_0x4c470c,_0x5a968d){return _0x4c470c+_0x5a968d;},'cQhiq':function(_0x2ed291,_0x401719){return _0x2ed291+_0x401719;},'EYPgt':_0x786fbb(0x227),'FjRXR':_0x786fbb(0x24b),'cqHoQ':function(_0x1ef4f7,_0x576114){return _0x1ef4f7===_0x576114;},'vEpyc':'FAILED','QlNhD':function(_0x9e2925,_0x55ea55,_0x1b1d01){return _0x9e2925(_0x55ea55,_0x1b1d01);},'puPqE':_0x786fbb(0x1a6),'qLOCV':_0x786fbb(0x23a),'qXbex':function(_0x3e24c0,_0x6e59d){return _0x3e24c0+_0x6e59d;},'etAoD':function(_0x30ad75,_0x342576){return _0x30ad75+_0x342576;},'grnIj':function(_0x4c6ef4,_0x724fe8){return _0x4c6ef4+_0x724fe8;},'RLIuB':function(_0x4b0992,_0x2e513c){return _0x4b0992+_0x2e513c;},'zTyXZ':function(_0x6ed650,_0x3138b1){return _0x6ed650+_0x3138b1;}};_0x944fa5[_0x786fbb(0x1c0)](global[_0x786fbb(0x1ca)],undefined)&&this[_0x786fbb(0x187)](_0x944fa5[_0x786fbb(0x1f6)](_0x944fa5[_0x786fbb(0x1a3)]('\x0a',global[_0x786fbb(0x1ca)]),'\x0a'));const _0x5d1969=this[_0x786fbb(0x21a)][_0x786fbb(0x1b1)](_0x33e69d[_0x786fbb(0x24a)]);this[_0x786fbb(0x187)](_0x944fa5[_0x786fbb(0x1f6)](_0x944fa5[_0x786fbb(0x235)](_0x944fa5[_0x786fbb(0x1f6)](_0x944fa5[_0x786fbb(0x18b)]('\x20\x20',_0x5d1969[_0x786fbb(0x239)]['feature'][_0x786fbb(0x1bd)]),_0x944fa5[_0x786fbb(0x182)]),_0x5d1969[_0x786fbb(0x221)]['name']),'\x0a'));const _0x208f4d={};_0x208f4d[_0x786fbb(0x1ec)]=this[_0x786fbb(0x1ec)],_0x208f4d[_0x786fbb(0x243)]=this[_0x786fbb(0x243)],_0x208f4d[_0x786fbb(0x1e1)]=this[_0x786fbb(0x1e1)],_0x208f4d['testCaseAttempt']=_0x5d1969;const _0x2eba68=formatterHelpers[_0x786fbb(0x18d)](_0x208f4d);let _0x5f4256=![];_0x2eba68['testSteps'][_0x786fbb(0x1e8)](_0x43c2bc=>{const _0x18d49e=_0x786fbb;if(_0x944fa5['sRZrz'](_0x43c2bc['name'],_0x944fa5[_0x18d49e(0x1b9)])&&!this[_0x18d49e(0x219)](_0x43c2bc)){totalTests+=0x1,this[_0x18d49e(0x187)](_0x944fa5['qNBTe'](_0x944fa5[_0x18d49e(0x1f5)](_0x944fa5[_0x18d49e(0x1f5)](_0x944fa5[_0x18d49e(0x1f6)](_0x944fa5[_0x18d49e(0x1f5)](_0x944fa5['EYPgt'],_0x43c2bc['keyword']),_0x43c2bc[_0x18d49e(0x193)]||''),_0x944fa5['FjRXR']),Status[_0x43c2bc[_0x18d49e(0x1a6)][_0x18d49e(0x1cf)]]),'\x0a')),this['incrementCounter'](Status[_0x43c2bc[_0x18d49e(0x1a6)][_0x18d49e(0x1cf)]]);if(_0x944fa5[_0x18d49e(0x190)](Status[_0x43c2bc[_0x18d49e(0x1a6)][_0x18d49e(0x1cf)]],_0x944fa5[_0x18d49e(0x1c5)])){_0x5f4256=!![];const _0x54f5fa=_0x944fa5['QlNhD'](nestedKeyValue,_0x43c2bc,[_0x944fa5[_0x18d49e(0x224)],_0x944fa5[_0x18d49e(0x229)]]);_0x54f5fa&&(testsErrorMessage[_0x944fa5[_0x18d49e(0x230)](_0x944fa5[_0x18d49e(0x1b0)](_0x5d1969[_0x18d49e(0x239)]['feature'][_0x18d49e(0x1bd)],_0x944fa5[_0x18d49e(0x182)]),_0x5d1969[_0x18d49e(0x221)][_0x18d49e(0x1bd)])]=_0x54f5fa,this['log'](_0x944fa5[_0x18d49e(0x18b)](_0x54f5fa,'\x0a')));}}}),_0x5f4256&&(testSuitesFailed+=0x1),this[_0x786fbb(0x187)]('\x0a');}[a6_0x8c0ab9(0x203)](_0x34ab82){}[a6_0x8c0ab9(0x219)](_0xd397f8){const _0x417af3=a6_0x8c0ab9,_0x11250d={};_0x11250d[_0x417af3(0x20a)]=function(_0x67e04f,_0x390bd0){return _0x67e04f!==_0x390bd0;},_0x11250d[_0x417af3(0x1b8)]='cucumber-js/test.setup.js';const _0x371844=_0x11250d;if(_0x371844[_0x417af3(0x20a)](_0xd397f8[_0x417af3(0x22c)],undefined))return![];if(_0xd397f8[_0x417af3(0x197)]&&_0xd397f8[_0x417af3(0x197)][_0x417af3(0x1db)][_0x417af3(0x20e)](_0x371844[_0x417af3(0x1b8)]))return!![];return![];}[a6_0x8c0ab9(0x188)](_0x9671aa){const _0x58f65e=a6_0x8c0ab9,_0x12c71e={};_0x12c71e[_0x58f65e(0x195)]=_0x58f65e(0x22f),_0x12c71e[_0x58f65e(0x1a7)]=_0x58f65e(0x199),_0x12c71e[_0x58f65e(0x249)]=_0x58f65e(0x21c),_0x12c71e[_0x58f65e(0x248)]=_0x58f65e(0x1d6),_0x12c71e[_0x58f65e(0x1df)]=_0x58f65e(0x217),_0x12c71e[_0x58f65e(0x201)]=_0x58f65e(0x228),_0x12c71e[_0x58f65e(0x1c3)]=_0x58f65e(0x1c7);const _0x1abe47=_0x12c71e;switch(_0x9671aa){case _0x1abe47['HQaaT']:testsFailed+=0x1;break;case _0x1abe47[_0x58f65e(0x1a7)]:testsPassed+=0x1;break;case _0x1abe47['GlDbz']:testsSkipped+=0x1;break;case _0x1abe47[_0x58f65e(0x248)]:testsPending+=0x1;break;case _0x1abe47[_0x58f65e(0x1df)]:testsUndefined+=0x1;break;case _0x1abe47[_0x58f65e(0x201)]:testsUnknown+=0x1;break;case _0x1abe47['YQAOP']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x8c0ab9(0x1ae)](_0x1e323e){const _0x3f58a3=a6_0x8c0ab9,_0x2afbe9={'lFTkg':function(_0x73fa3f,_0x2f7654){return _0x73fa3f!==_0x2f7654;},'DxmnR':function(_0x299e59){return _0x299e59();},'hETOJ':function(_0x59f586,_0x5579aa){return _0x59f586(_0x5579aa);},'EjQAg':function(_0x1160de,_0x3236ca){return _0x1160de+_0x3236ca;},'wHgbd':function(_0x4e61e0){return _0x4e61e0();},'CYKOt':_0x3f58a3(0x18a)};let _0xa9980e;if(_0x2afbe9[_0x3f58a3(0x1bf)](process[_0x3f58a3(0x20d)]['CONFIG'],undefined)){const _0x238d5d=JSON[_0x3f58a3(0x1ed)](process[_0x3f58a3(0x20d)][_0x3f58a3(0x1b6)]);_0xa9980e=_0x238d5d[_0x3f58a3(0x24d)];}_0x2afbe9[_0x3f58a3(0x1bf)](_0xa9980e,undefined)&&_0x2afbe9['DxmnR'](isBrowserstackInfra)&&(global[_0x3f58a3(0x1ca)]=_0x2afbe9[_0x3f58a3(0x1ac)](getPlatformName,_0xa9980e),this[_0x3f58a3(0x187)](_0x2afbe9['EjQAg'](_0x3f58a3(0x204)+global[_0x3f58a3(0x1ca)],'\x0a'))),_0x2afbe9[_0x3f58a3(0x23c)](shouldProcessEventForTesthub)&&(TestDetails[_0x3f58a3(0x214)](),this[_0x3f58a3(0x218)]['testRunStarted']=_0x1e323e,BrowserstackCLI[_0x3f58a3(0x1e3)]()[_0x3f58a3(0x205)]()&&await this['isCLIReady']()&&(TestInfo[_0x3f58a3(0x214)](_0x2afbe9['CYKOt']),await BrowserstackCLI[_0x3f58a3(0x1e3)]()['getTestFramework']()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState[_0x3f58a3(0x1bb)],{})));}['onTestRunFinished'](_0x390e9e){const _0x5e9568=a6_0x8c0ab9;this[_0x5e9568(0x218)][_0x5e9568(0x189)]=_0x390e9e,this[_0x5e9568(0x203)](_0x390e9e);}async[a6_0x8c0ab9(0x1f3)](_0x205125,_0xde02d,_0x3297dc){const _0x295ecd=a6_0x8c0ab9,_0x63b316={'viLNh':function(_0x208e91,_0x29fe18){return _0x208e91(_0x29fe18);},'qDsfN':_0x295ecd(0x1e6),'nXLmV':function(_0x372ce5,_0x47febb){return _0x372ce5&&_0x47febb;}};testSuites+=0x1;if(_0x63b316[_0x295ecd(0x192)](shouldProcessEventForTesthub,_0x63b316[_0x295ecd(0x213)]))try{this[_0x295ecd(0x218)][_0x295ecd(0x1f9)]=this[_0x295ecd(0x218)][_0x295ecd(0x1f9)]||{},this[_0x295ecd(0x218)]['testCaseStarted'][_0x205125['id']]=_0x205125;let _0x439f41=null;BrowserstackCLI[_0x295ecd(0x1e3)]()[_0x295ecd(0x205)]()&&await this[_0x295ecd(0x1d0)]()?_0x439f41=TestInfo[_0x295ecd(0x22e)](_0x205125['id']):_0x439f41=TestDetails[_0x295ecd(0x22e)](_0x205125['id']);_testCasesData[_0x205125['id']]=Object['assign']({},_0x3297dc);const _0x597c27=this[_0x295ecd(0x218)],_0xd45d6f=_0x205125[_0x295ecd(0x1ab)],_0x209df9=_0x597c27[_0x295ecd(0x238)][_0x295ecd(0x250)](_0x4b6c04=>_0x4b6c04['id']===_0xd45d6f)[_0x295ecd(0x23b)],_0x4f4ece=_0x597c27['pickle'][_0x295ecd(0x250)](_0x4a5ef4=>_0x4a5ef4['id']===_0x209df9),_0xc6f81a=_0x597c27['gherkinDocument']['find'](_0x157414=>_0x157414[_0x295ecd(0x1db)]===_0x4f4ece[_0x295ecd(0x1db)]),_0x41d0c4=_0xc6f81a['feature'],_0x329b8f={'uuid':_0x439f41,'startedAt':new Date()[_0x295ecd(0x1cc)]()};if(_0x4f4ece){const _0x3500e8={};_0x3500e8['name']=_0x4f4ece['name'],_0x329b8f[_0x295ecd(0x1bc)]=_0x3500e8;}if(_0x63b316['nXLmV'](_0xc6f81a,_0x41d0c4)){const _0x38c631={};_0x38c631[_0x295ecd(0x1af)]=_0xc6f81a[_0x295ecd(0x1db)],_0x38c631[_0x295ecd(0x1bd)]=_0x41d0c4['name'],_0x38c631[_0x295ecd(0x209)]=_0x41d0c4['description'],_0x329b8f[_0x295ecd(0x1c2)]=_0x38c631;}_tests[_0xd45d6f]=_0x329b8f;if(BrowserstackCLI[_0x295ecd(0x1e3)]()['isCliEnabled']()&&await this[_0x295ecd(0x1d0)]()){const _0x4bdb87=await cucumberUtils[_0x295ecd(0x22a)](_0x329b8f,_0x4f4ece,_0x3297dc,_0xc6f81a,_0x205125['id'],_0x63b316[_0x295ecd(0x213)]),_0x99f8f4={};_0x99f8f4['test']=_0x4bdb87,await BrowserstackCLI[_0x295ecd(0x1e3)]()['getTestFramework']()[_0x295ecd(0x17c)](TestFrameworkState['TEST'],HookState['PRE'],_0x99f8f4);return;}await testObservabilityReporter[_0x295ecd(0x222)](_0x3297dc,_0xc6f81a,_0x4f4ece,_0x63b316[_0x295ecd(0x213)],_0x329b8f);}catch(_0x31f891){logger[_0x295ecd(0x1d4)]('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util[_0x295ecd(0x1ee)](_0x31f891)+'\x20');}}async[a6_0x8c0ab9(0x17f)](_0x2a13a8,_0x49578d,_0x14bdff){const _0x12bff6=a6_0x8c0ab9,_0x304b0a={'BBRMm':function(_0x493142,_0x241b94){return _0x493142(_0x241b94);},'pYmrR':_0x12bff6(0x1a2),'cwSoA':_0x12bff6(0x1d3)};this[_0x12bff6(0x21b)](_0x2a13a8);if(_0x304b0a[_0x12bff6(0x1e9)](shouldProcessEventForTesthub,_0x304b0a[_0x12bff6(0x1cd)]))try{this[_0x12bff6(0x218)][_0x12bff6(0x20b)]=this[_0x12bff6(0x218)][_0x12bff6(0x20b)]||{},this[_0x12bff6(0x218)]['testCaseFinished'][_0x2a13a8[_0x12bff6(0x24a)]]=_0x2a13a8,_testCasesData[_0x14bdff['id']]=Object[_0x12bff6(0x210)]({},_0x14bdff);const _0x58e66c=_0x2a13a8[_0x12bff6(0x24a)],_0x3e673c=_0x49578d[_0x12bff6(0x21a)][_0x12bff6(0x245)][_0x58e66c][_0x12bff6(0x1ab)],_0x17282f=_0x49578d[_0x12bff6(0x21a)][_0x12bff6(0x1d8)][_0x3e673c],_0x4e9487=_0x17282f[_0x12bff6(0x23b)],_0x3dadc2=_0x49578d[_0x12bff6(0x21a)][_0x12bff6(0x1fe)][_0x4e9487],_0x534fbf=this[_0x12bff6(0x1b7)](_0x49578d,_0x3dadc2),_0x271c9e=_0x534fbf[_0x12bff6(0x1c2)],_0x43c615=_tests[_0x3e673c];_0x43c615&&(delete _tests[_0x3e673c],_0x43c615[_0x12bff6(0x220)]=new Date()[_0x12bff6(0x1cc)]());if(BrowserstackCLI[_0x12bff6(0x1e3)]()[_0x12bff6(0x205)]()&&await this[_0x12bff6(0x1d0)]()){const _0x21e011=await cucumberUtils[_0x12bff6(0x22a)](_0x43c615,_0x3dadc2,_0x14bdff,_0x534fbf,_0x58e66c,_0x304b0a['pYmrR']),_0x45255a={};_0x45255a[_0x12bff6(0x1d3)]=_0x21e011,await BrowserstackCLI[_0x12bff6(0x1e3)]()[_0x12bff6(0x1ff)]()[_0x12bff6(0x17c)](TestFrameworkState[_0x12bff6(0x1be)],HookState[_0x12bff6(0x215)],_0x45255a);const _0x325f1e={};_0x325f1e[_0x12bff6(0x181)]=_0x2a13a8[_0x12bff6(0x24a)],_0x325f1e['type']=_0x304b0a[_0x12bff6(0x1a5)],await BrowserstackCLI[_0x12bff6(0x1e3)]()[_0x12bff6(0x1ff)]()[_0x12bff6(0x17c)](TestFrameworkState[_0x12bff6(0x1dd)],HookState[_0x12bff6(0x215)],_0x325f1e);return;}await testObservabilityReporter[_0x12bff6(0x222)](_0x14bdff,_0x534fbf,_0x3dadc2,_0x304b0a[_0x12bff6(0x1cd)],_0x43c615);}catch(_0x566130){logger[_0x12bff6(0x1d4)](_0x12bff6(0x17b)+util[_0x12bff6(0x1ee)](_0x566130));}}async['onTestStepStarted'](_0x5497c6,_0x1b9e4c){const _0x34f95a=a6_0x8c0ab9,_0x3d2e34={'HjDJr':function(_0x17df0c,_0x263eaf){return _0x17df0c(_0x263eaf);},'RPkRr':_0x34f95a(0x208),'pBXYP':function(_0x52a3e9,_0x36f7f1){return _0x52a3e9!==_0x36f7f1;},'GbXKv':_0x34f95a(0x1ad)};if(_0x3d2e34[_0x34f95a(0x19d)](shouldProcessEventForTesthub,_0x3d2e34[_0x34f95a(0x20f)]))try{this[_0x34f95a(0x218)][_0x34f95a(0x23d)]=this['report'][_0x34f95a(0x23d)]||{},this[_0x34f95a(0x218)][_0x34f95a(0x23d)][_0x5497c6[_0x34f95a(0x24a)]]=_0x5497c6;const _0x14bc1c=_0x5497c6[_0x34f95a(0x24a)],_0x405957=_0x1b9e4c['eventDataCollector']['testCaseAttemptDataMap'][_0x14bc1c]['testCaseId'],_0x54c22c=this[_0x34f95a(0x218)]['testCases'][_0x34f95a(0x250)](_0xe8714a=>_0xe8714a['id']===_0x405957)[_0x34f95a(0x23b)],_0x5895ff=this['report']['pickle']['find'](_0x19d8be=>_0x19d8be['id']===_0x54c22c),_0x307d29=this[_0x34f95a(0x218)][_0x34f95a(0x238)][_0x34f95a(0x250)](_0x4d86ed=>_0x4d86ed['id']===_0x405957)[_0x34f95a(0x1ef)],_0x2e7ee2=this[_0x34f95a(0x218)]['testStepStarted'][_0x14bc1c][_0x34f95a(0x1ad)],_0x531f5b=_0x307d29[_0x34f95a(0x250)](_0x3059df=>_0x3059df['id']===_0x2e7ee2)['pickleStepId'],_0x11863a=_0x5895ff[_0x34f95a(0x194)][_0x34f95a(0x250)](_0x3e3e7=>_0x3e3e7['id']===_0x531f5b);if(_0x531f5b&&_tests[_0x405957]&&_0x3d2e34['pBXYP'](_tests[_0x405957][_0x3d2e34[_0x34f95a(0x1a1)]],_0x2e7ee2)){_tests[_0x405957][_0x3d2e34['GbXKv']]=_0x2e7ee2;const _0x11b9de={};_0x11b9de[_0x34f95a(0x194)]=[];const _0x1897da=_tests[_0x405957]||_0x11b9de;_0x1897da&&!_0x1897da[_0x34f95a(0x194)]&&(_0x1897da[_0x34f95a(0x194)]=[]),_0x1897da['steps']['push']({'id':_0x11863a['id'],'text':_0x11863a['text'],'started_at':new Date()[_0x34f95a(0x1cc)]()}),_tests[_0x405957]=_0x1897da;}if(BrowserstackCLI[_0x34f95a(0x1e3)]()[_0x34f95a(0x205)]()&&await this[_0x34f95a(0x1d0)]()){const _0xba86a1=await cucumberUtils['createHookData'](this[_0x34f95a(0x218)],_0x14bc1c,_0x3d2e34[_0x34f95a(0x20f)],_0x307d29,_0x2e7ee2,_tests[_0x405957]);_0xba86a1&&await BrowserstackCLI[_0x34f95a(0x1e3)]()[_0x34f95a(0x1ff)]()[_0x34f95a(0x17c)](TestFrameworkState[_0xba86a1['hook_type']],HookState[_0x34f95a(0x1bb)],{'hookData':_0xba86a1,'testUUID':_0x5497c6[_0x34f95a(0x24a)]});return;}await testObservabilityReporter[_0x34f95a(0x17e)](this[_0x34f95a(0x218)],_0x14bc1c,_0x3d2e34[_0x34f95a(0x20f)],_0x307d29,_0x2e7ee2,_tests[_0x405957]);}catch(_0x272426){logger[_0x34f95a(0x1d4)](_0x34f95a(0x196)+util['format'](_0x272426));}}async[a6_0x8c0ab9(0x19b)](_0xad9cd6,_0x51be17){const _0x81c45d=a6_0x8c0ab9,_0x233b33={'gTXDb':function(_0x17af6d,_0x4e2697){return _0x17af6d===_0x4e2697;},'wRfNX':_0x81c45d(0x216),'jvZVN':function(_0x29e160,_0x2b916c){return _0x29e160(_0x2b916c);},'htPYK':_0x81c45d(0x1ea),'nkWWU':_0x81c45d(0x18c),'EbEuX':function(_0x20142d,_0x4dc07f){return _0x20142d===_0x4dc07f;},'gIiDK':'UnhandledError','itAru':'testStepId','jXUlG':_0x81c45d(0x208),'INyUF':_0x81c45d(0x240)};this['report'][_0x81c45d(0x1eb)]=this['report'][_0x81c45d(0x1eb)]||{},this['report']['testStepFinished'][_0xad9cd6['testCaseStartedId']]=_0xad9cd6;if(_0x233b33[_0x81c45d(0x20c)](shouldProcessEventForTesthub,_0x233b33[_0x81c45d(0x1fb)]))try{const _0x48178c=_0xad9cd6['testCaseStartedId'],_0x1cc070=_0x51be17[_0x81c45d(0x21a)][_0x81c45d(0x245)][_0x48178c][_0x81c45d(0x1ab)],_0x5b52b9=_0x51be17[_0x81c45d(0x21a)][_0x81c45d(0x1d8)][_0x1cc070],_0x59d1ec=_0x5b52b9[_0x81c45d(0x23b)],_0x2f0728=_0x51be17[_0x81c45d(0x21a)][_0x81c45d(0x1fe)][_0x59d1ec],_0xeaf405=_0xad9cd6[_0x81c45d(0x1ad)],_0xcb1091=_0x5b52b9[_0x81c45d(0x1ef)],_0x54e5ce=this[_0x81c45d(0x21a)][_0x81c45d(0x1b1)](_0x48178c),_0x24099b=_0xcb1091[_0x81c45d(0x250)](_0x146626=>_0x146626['id']===_0xeaf405)['pickleStepId'];let _0x49703d,_0x205f53;_0xad9cd6[_0x81c45d(0x1e2)]&&_0x233b33[_0x81c45d(0x226)](_0xad9cd6['testStepResult']['status'][_0x81c45d(0x1f1)]()[_0x81c45d(0x1e4)](),_0x233b33[_0x81c45d(0x185)])&&(_0x49703d=_0x233b33['EbEuX'](_0xad9cd6[_0x81c45d(0x1e2)][_0x81c45d(0x1d2)],undefined)?_0xad9cd6[_0x81c45d(0x1e2)][_0x81c45d(0x23a)]:_0xad9cd6['testStepResult'][_0x81c45d(0x1d2)][_0x81c45d(0x23a)],_0x205f53=_0x233b33['gTXDb'](_0xad9cd6[_0x81c45d(0x1e2)][_0x81c45d(0x1d2)],undefined)?_0x233b33[_0x81c45d(0x1d5)]:_0xad9cd6[_0x81c45d(0x1e2)][_0x81c45d(0x23a)]);if(_0x24099b&&_tests[_0x1cc070][_0x233b33[_0x81c45d(0x234)]]){const _0x5ee936=_0x2f0728['steps'][_0x81c45d(0x250)](_0x60f455=>_0x60f455['id']===_0x24099b),_0x1e6b5b={};_0x1e6b5b[_0x81c45d(0x194)]=[];const _0x316160=_tests[_0x1cc070]||_0x1e6b5b;!_0x316160[_0x81c45d(0x194)]?_0x316160['steps']=[{'id':_0x5ee936['id'],'text':_0x5ee936[_0x81c45d(0x193)],'finished_at':new Date()['toISOString'](),'result':_0xad9cd6[_0x81c45d(0x1e2)][_0x81c45d(0x1cf)],'duration':_0xad9cd6[_0x81c45d(0x1e2)]['duration']['seconds'],'failure':_0x49703d,'failureType':_0x205f53}]:_0x316160['steps'][_0x81c45d(0x1e8)](_0x338279=>{const _0x1c9217=_0x81c45d;if(_0x233b33['gTXDb'](_0x338279['id'],_0x5ee936['id'])){const _0xae72cd=_0x233b33[_0x1c9217(0x206)][_0x1c9217(0x19c)]('|');let _0x52b863=0x0;while(!![]){switch(_0xae72cd[_0x52b863++]){case'0':_0x338279[_0x1c9217(0x183)]=_0x49703d;continue;case'1':_0x338279[_0x1c9217(0x19f)]=_0xad9cd6[_0x1c9217(0x1e2)][_0x1c9217(0x19f)]['seconds'];continue;case'2':_0x338279['finished_at']=new Date()[_0x1c9217(0x1cc)]();continue;case'3':_0x338279['result']=_0xad9cd6['testStepResult'][_0x1c9217(0x1cf)];continue;case'4':_0x338279['failureType']=_0x205f53;continue;}break;}}}),_tests[_0x1cc070]=_0x316160;}delete _tests[_0x1cc070][_0x233b33[_0x81c45d(0x234)]];if(BrowserstackCLI['getInstance']()[_0x81c45d(0x205)]()&&await this[_0x81c45d(0x1d0)]()){const _0x5d0702=await cucumberUtils[_0x81c45d(0x1f7)](this['report'],_0x48178c,_0x233b33['jXUlG'],_0xcb1091,_0xeaf405,_tests[_0x1cc070]);if(_0x5d0702){await BrowserstackCLI[_0x81c45d(0x1e3)]()['getTestFramework']()[_0x81c45d(0x17c)](TestFrameworkState[_0x5d0702['hook_type']],HookState[_0x81c45d(0x215)],{'hookData':_0x5d0702,'testUUID':_0xad9cd6[_0x81c45d(0x24a)]});const _0x28db5f={};_0x28db5f[_0x81c45d(0x181)]=_0xad9cd6[_0x81c45d(0x24a)],_0x28db5f[_0x81c45d(0x21e)]=_0x233b33[_0x81c45d(0x1aa)],await BrowserstackCLI[_0x81c45d(0x1e3)]()['getTestFramework']()[_0x81c45d(0x17c)](TestFrameworkState[_0x81c45d(0x1dd)],HookState['POST'],_0x28db5f);}return;}await testObservabilityReporter['sendHook'](this['report'],_0x48178c,_0x233b33['htPYK'],_0xcb1091,_0xeaf405,_tests[_0x1cc070]);}catch(_0x143754){logger['debug'](_0x81c45d(0x23f)+util[_0x81c45d(0x1ee)](_0x143754));}}[a6_0x8c0ab9(0x24e)](_0xfed5f){const _0x17c797=a6_0x8c0ab9,_0x708d65={};return _0xfed5f[_0x17c797(0x1c2)][_0x17c797(0x1f8)][_0x17c797(0x23e)](this[_0x17c797(0x1e0)])['flat']()[_0x17c797(0x1e8)](_0x187dec=>_0x187dec[_0x17c797(0x194)][_0x17c797(0x1e8)](_0x275ebd=>_0x708d65[_0x275ebd['id']]=_0x275ebd)),_0x708d65;}[a6_0x8c0ab9(0x1e0)](_0x244576){const _0x4e9af0=a6_0x8c0ab9,_0x540b71={'tAFHx':function(_0xa8215a,_0x5912c8){return _0xa8215a(_0x5912c8);},'EbAhX':function(_0x35903b,_0x3602b2){return _0x35903b(_0x3602b2);}};if(!_0x540b71[_0x4e9af0(0x244)](isUndefined,_0x244576[_0x4e9af0(0x24f)]))return[_0x244576[_0x4e9af0(0x24f)]];else{if(!_0x540b71[_0x4e9af0(0x1f4)](isUndefined,_0x244576['rule']))return _0x244576[_0x4e9af0(0x19a)][_0x4e9af0(0x1f8)][_0x4e9af0(0x23e)](_0x2148cd=>!isUndefined(_0x2148cd[_0x4e9af0(0x24f)])?_0x2148cd[_0x4e9af0(0x24f)]:_0x2148cd[_0x4e9af0(0x1bc)]);};return[_0x244576[_0x4e9af0(0x1bc)]];}[a6_0x8c0ab9(0x1b7)](_0x5d8bb,_0x48402a){const _0xb25b00=a6_0x8c0ab9;return Object[_0xb25b00(0x211)](_0x5d8bb[_0xb25b00(0x21a)][_0xb25b00(0x18f)])['find'](_0x535064=>_0x535064['uri']===_0x48402a[_0xb25b00(0x1db)]);}async[a6_0x8c0ab9(0x1b5)](){const _0x2a24c1=a6_0x8c0ab9;if(this['cliInitPromise'])return this[_0x2a24c1(0x18e)];return this[_0x2a24c1(0x18e)]=this[_0x2a24c1(0x22d)](),this[_0x2a24c1(0x18e)];}async[a6_0x8c0ab9(0x22d)](){const _0x60fd17=a6_0x8c0ab9,_0x1d2234={'kgwMy':'No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','RQMPj':function(_0x52160f,_0x544e2f){return _0x52160f(_0x544e2f);},'cgknB':_0x60fd17(0x1da),'HINMZ':function(_0x203b66,_0x1ed4e6){return _0x203b66(_0x1ed4e6);},'pzjPG':_0x60fd17(0x1b4)};try{const _0x45c666=BrowserstackCLI[_0x60fd17(0x1e3)]();if(_0x45c666[_0x60fd17(0x17a)]())return logger['debug'](_0x60fd17(0x246)+_0x45c666[_0x60fd17(0x1d9)]),!![];const _0x230898=process[_0x60fd17(0x20d)][_0x60fd17(0x180)];if(!_0x230898)return logger[_0x60fd17(0x1d4)](_0x1d2234[_0x60fd17(0x237)]),![];const _0x2f9c68=_0x1d2234[_0x60fd17(0x1a8)](require,_0x1d2234[_0x60fd17(0x198)]),{FRAMEWORKS:_0x39024e}=_0x1d2234['HINMZ'](require,_0x1d2234[_0x60fd17(0x1d7)]);return _0x2f9c68['setFrameworkDetail'](_0x39024e['CUCUMBER'],_0x39024e[_0x60fd17(0x1b2)]),logger[_0x60fd17(0x1d4)](_0x60fd17(0x1e7)+_0x230898),await _0x45c666[_0x60fd17(0x241)](),logger[_0x60fd17(0x1d4)](_0x60fd17(0x1a4)+_0x45c666['isRunning']()+_0x60fd17(0x1fd)+_0x45c666['binSessionId']),_0x45c666['isRunning']();}catch(_0x32283b){return logger[_0x60fd17(0x1d4)](_0x60fd17(0x1fa)+util['format'](_0x32283b)),![];}}async[a6_0x8c0ab9(0x1d0)](){const _0x38ff5c=a6_0x8c0ab9;try{return await this[_0x38ff5c(0x1b5)](),BrowserstackCLI[_0x38ff5c(0x1e3)]()['isRunning']();}catch(_0x1af4d2){return logger[_0x38ff5c(0x1d4)](_0x38ff5c(0x184)+util[_0x38ff5c(0x1ee)](_0x1af4d2)),![];}}}module[a6_0x8c0ab9(0x1c1)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x8c0ab9(0x1f3),'onTestCaseFinished','onTestStepStarted','onTestStepFinished',a6_0x8c0ab9(0x1ae),'onTestRunFinished',a6_0x8c0ab9(0x1e0),'getGherkinDocument',a6_0x8c0ab9(0x24e)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x31074d=a7_0x1af2;(function(_0x260bc2,_0x2f2d0e){const _0x11ee81=a7_0x1af2,_0x445fdf=_0x260bc2();while(!![]){try{const _0x99e166=parseInt(_0x11ee81(0x12f))/0x1+-parseInt(_0x11ee81(0x12c))/0x2+parseInt(_0x11ee81(0x13b))/0x3+-parseInt(_0x11ee81(0x10f))/0x4+parseInt(_0x11ee81(0x15c))/0x5*(-parseInt(_0x11ee81(0x146))/0x6)+-parseInt(_0x11ee81(0x128))/0x7+parseInt(_0x11ee81(0x135))/0x8;if(_0x99e166===_0x2f2d0e)break;else _0x445fdf['push'](_0x445fdf['shift']());}catch(_0x5dde7c){_0x445fdf['push'](_0x445fdf['shift']());}}}(a7_0x52b3,0x6f181));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x31074d(0x143)),{Formatter}=requireModule(a7_0x31074d(0x125)),pickleParser=requireModule(a7_0x31074d(0x10e),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x27669a){const _0x4b1ff7=a7_0x31074d,_0x225128={'jGFeE':function(_0x1afaf1,_0x286781){return _0x1afaf1!==_0x286781;},'KGlQU':function(_0x5ac504,_0xa895a8){return _0x5ac504(_0xa895a8);},'WtQOd':_0x4b1ff7(0x157),'tEJuy':_0x4b1ff7(0x138),'XwHJb':_0x4b1ff7(0x154),'QGcrs':_0x4b1ff7(0x137),'aWKXc':_0x4b1ff7(0x147)};super(_0x27669a),_0x27669a[_0x4b1ff7(0x126)]['on'](_0x225128[_0x4b1ff7(0x16b)],()=>{const _0x3d4452=_0x4b1ff7;let _0xfd50ac;if(_0x225128[_0x3d4452(0x118)](process[_0x3d4452(0x10b)][_0x3d4452(0x122)],undefined)){const _0x2c30d7=JSON[_0x3d4452(0x15f)](process[_0x3d4452(0x10b)]['CONFIG']);_0xfd50ac=_0x2c30d7[_0x3d4452(0x117)];}_0x225128[_0x3d4452(0x118)](_0xfd50ac,undefined)&&(global['__platform']=_0x225128[_0x3d4452(0x127)](getPlatformName,_0xfd50ac),console[_0x3d4452(0x11d)](_0x3d4452(0x160)+global[_0x3d4452(0x11a)]));}),_0x27669a['eventBroadcaster']['on'](_0x225128[_0x4b1ff7(0x123)],()=>{testSuites+=0x1;}),_0x27669a[_0x4b1ff7(0x126)]['on'](_0x225128['XwHJb'],_0x6131c7=>{const _0x9e31ae=_0x4b1ff7;this[_0x9e31ae(0x165)](_0x6131c7);}),_0x27669a[_0x4b1ff7(0x126)]['on'](_0x225128[_0x4b1ff7(0x13f)],()=>{totalTests-=0x2;}),_0x27669a[_0x4b1ff7(0x126)]['on'](_0x225128[_0x4b1ff7(0x136)],()=>{totalTests+=0x1;});}[a7_0x31074d(0x165)](_0x5699f2){const _0x25ead9=a7_0x31074d,_0x201dc9={'UpxnU':_0x25ead9(0x11f),'OECOF':_0x25ead9(0x10d),'FtzpQ':_0x25ead9(0x140),'hspzi':_0x25ead9(0x121),'riHDt':'UNDEFINED','PzmEp':'UNKNOWN','jACRR':'AMBIGUOUS','aGHVJ':function(_0x300cf1,_0x256139){return _0x300cf1+_0x256139;},'aoakt':function(_0x496eed,_0x1dee10){return _0x496eed+_0x1dee10;},'GNTKH':function(_0xa437ad,_0x13a59e){return _0xa437ad+_0x13a59e;},'KocLG':_0x25ead9(0x10c),'cUwPA':'\x20-\x20','ufckK':function(_0x86c9b,_0x354d2a){return _0x86c9b(_0x354d2a);},'PoEpi':'cucumber-js/test_old.setup.js','YpFKh':function(_0x4d7048,_0x1e2d91){return _0x4d7048(_0x1e2d91);},'Lrcyo':_0x25ead9(0x110),'ABTDF':_0x25ead9(0x119),'JLACS':function(_0x249477,_0x4f6e2f){return _0x249477===_0x4f6e2f;},'cHlWj':function(_0x579f1c,_0x4a9ba0,_0xbc3712){return _0x579f1c(_0x4a9ba0,_0xbc3712);},'hypln':_0x25ead9(0x14a),'udMjv':_0x25ead9(0x12e),'qjeNV':'stack','Vkfjt':function(_0xa894e6,_0x2a7330){return _0xa894e6+_0x2a7330;},'rwsUr':function(_0x17ae4e,_0x4fd547){return _0x17ae4e!==_0x4fd547;},'ljpDX':function(_0x13099b,_0x1932bb){return _0x13099b+_0x1932bb;},'PuqJE':function(_0x34d070,_0x3507cf){return _0x34d070+_0x3507cf;},'eAyYT':_0x25ead9(0x168),'WMaUb':function(_0x26adbb,_0x926062){return _0x26adbb+_0x926062;},'yQjqR':function(_0x30ca63,_0x196285){return _0x30ca63+_0x196285;},'BpaQp':function(_0x12b80f,_0x193b62){return _0x12b80f<_0x193b62;},'MtIPj':function(_0x15a815,_0x349c56){return _0x15a815+_0x349c56;},'TeRau':function(_0x2f92a4,_0x22e05b){return _0x2f92a4+_0x22e05b;},'YifvW':function(_0x3c9f10,_0x30413a){return _0x3c9f10(_0x30413a);},'WHned':function(_0x3c57b8,_0x51517d){return _0x3c57b8(_0x51517d);},'zKIfS':function(_0x9585a,_0x214eb){return _0x9585a+_0x214eb;},'mJcCn':function(_0x4b5017,_0x55e051){return _0x4b5017===_0x55e051;},'zTbXf':function(_0x517876,_0x426fd6,_0x4341ab){return _0x517876(_0x426fd6,_0x4341ab);},'nSaRd':function(_0x71f04d,_0x110221){return _0x71f04d+_0x110221;},'JIFvq':function(_0x1c6342,_0x323a38){return _0x1c6342+_0x323a38;}};let _0x29c590=![];function _0xadfe3f(_0x372607){const _0x503f11=_0x25ead9;switch(_0x372607){case _0x201dc9['UpxnU']:testsFailed+=0x1;break;case _0x201dc9[_0x503f11(0x161)]:testsPassed+=0x1;break;case _0x201dc9[_0x503f11(0x11c)]:testsSkipped+=0x1;break;case _0x201dc9['hspzi']:testsPending+=0x1;break;case _0x201dc9[_0x503f11(0x120)]:testsUndefined+=0x1;break;case _0x201dc9[_0x503f11(0x133)]:testsUnknown+=0x1;break;case _0x201dc9[_0x503f11(0x14b)]:testsAmbiguous+=0x1;break;default:break;}}_0x201dc9[_0x25ead9(0x14c)](global['__platform'],undefined)&&console['log'](_0x201dc9[_0x25ead9(0x112)](_0x201dc9[_0x25ead9(0x111)]('\x0a',global[_0x25ead9(0x11a)]),'\x0a'));let _0xf282fb=![];if(_0x201dc9[_0x25ead9(0x14c)](typeof this[_0x25ead9(0x150)]['getTestCaseData'],_0x201dc9[_0x25ead9(0x130)])){var _0x490159=this[_0x25ead9(0x150)]['getTestCaseData'](_0x5699f2[_0x25ead9(0x132)]),_0x265aef=_0x490159[_0x25ead9(0x115)],_0x38305b=_0x490159[_0x25ead9(0x142)];console['log'](_0x201dc9[_0x25ead9(0x151)]('\x20\x20',_0x265aef[_0x25ead9(0x139)]));var _0x594ad9=(0x0,pickleParser[_0x25ead9(0x141)])(_0x265aef);_0x38305b[_0x25ead9(0x13d)][_0x25ead9(0x11b)](function(_0x75132a){const _0xe71f7b=_0x25ead9;if(_0x75132a['actionLocation']&&_0x75132a[_0xe71f7b(0x132)])_0x29c590=!![],console[_0xe71f7b(0x11d)](_0x201dc9[_0xe71f7b(0x16a)](_0x201dc9['aoakt'](_0x201dc9['GNTKH'](_0x201dc9[_0xe71f7b(0x169)],_0x594ad9[_0x75132a['sourceLocation'][_0xe71f7b(0x15b)]][_0xe71f7b(0x162)]),_0x201dc9[_0xe71f7b(0x129)]),_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)][_0xe71f7b(0x163)]())),_0x201dc9[_0xe71f7b(0x15d)](_0xadfe3f,_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)][_0xe71f7b(0x163)]());else _0x75132a[_0xe71f7b(0x164)]&&(!_0x75132a['actionLocation'][_0xe71f7b(0x14d)][_0xe71f7b(0x152)](_0x201dc9[_0xe71f7b(0x14f)])&&(_0x201dc9[_0xe71f7b(0x167)](_0xadfe3f,_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)]['toUpperCase']()),_0x29c590?console[_0xe71f7b(0x11d)](_0x201dc9[_0xe71f7b(0x15e)](_0x201dc9[_0xe71f7b(0x13a)],_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)][_0xe71f7b(0x163)]())):console[_0xe71f7b(0x11d)](_0x201dc9[_0xe71f7b(0x16a)](_0x201dc9[_0xe71f7b(0x159)],_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)]['toUpperCase']()))));if(_0x201dc9[_0xe71f7b(0x13e)](_0x75132a[_0xe71f7b(0x14a)][_0xe71f7b(0x156)][_0xe71f7b(0x163)](),_0x201dc9['UpxnU'])){const _0x3927c1=_0x201dc9[_0xe71f7b(0x158)](nestedKeyValue,_0x75132a,[_0x201dc9[_0xe71f7b(0x149)],_0x201dc9[_0xe71f7b(0x134)],_0x201dc9[_0xe71f7b(0x155)]]);_0x3927c1&&(testsErrorMessage[_0x265aef[_0xe71f7b(0x139)]]=_0x3927c1,console[_0xe71f7b(0x11d)](_0x201dc9[_0xe71f7b(0x124)](_0x3927c1,'\x0a'))),_0xf282fb=!![];}});}else{const _0x41af00=this[_0x25ead9(0x150)][_0x25ead9(0x12a)](_0x5699f2);console[_0x25ead9(0x11d)](_0x201dc9[_0x25ead9(0x112)](_0x201dc9[_0x25ead9(0x124)](_0x201dc9[_0x25ead9(0x131)]('\x20\x20',_0x41af00[_0x25ead9(0x12b)][_0x25ead9(0x166)][_0x25ead9(0x139)]),_0x201dc9[_0x25ead9(0x129)]),_0x41af00[_0x25ead9(0x115)][_0x25ead9(0x139)]));const _0x449d54=(0x0,pickleParser[_0x25ead9(0x141)])(_0x41af00[_0x25ead9(0x115)]),_0x14a53a=_0x41af00['testCase']['steps'],_0x3cf65e=_0x41af00['stepResults'],_0x5685ce=_0x14a53a[_0x25ead9(0x11e)];for(let _0x2377d8=0x0;_0x201dc9[_0x25ead9(0x145)](_0x2377d8,_0x5685ce);_0x2377d8++){const _0xfaa8af=_0x14a53a[_0x2377d8];if(_0xfaa8af['actionLocation']&&_0xfaa8af[_0x25ead9(0x132)])_0x29c590=!![],console[_0x25ead9(0x11d)](_0x201dc9[_0x25ead9(0x14e)](_0x201dc9['WMaUb'](_0x201dc9[_0x25ead9(0x144)](_0x201dc9[_0x25ead9(0x169)],_0x449d54[_0xfaa8af[_0x25ead9(0x132)]['line']][_0x25ead9(0x162)]),_0x201dc9['cUwPA']),_0x3cf65e[_0x2377d8][_0x25ead9(0x156)][_0x25ead9(0x163)]())),_0x201dc9[_0x25ead9(0x148)](_0xadfe3f,_0x3cf65e[_0x2377d8][_0x25ead9(0x156)]['toUpperCase']());else _0xfaa8af[_0x25ead9(0x164)]&&(!_0xfaa8af['actionLocation'][_0x25ead9(0x14d)]['includes'](_0x201dc9[_0x25ead9(0x14f)])&&(_0x201dc9[_0x25ead9(0x113)](_0xadfe3f,_0x3cf65e[_0x2377d8][_0x25ead9(0x156)]['toUpperCase']()),_0x29c590?console['log'](_0x201dc9[_0x25ead9(0x151)](_0x201dc9['Lrcyo'],_0x3cf65e[_0x2377d8][_0x25ead9(0x156)][_0x25ead9(0x163)]())):console[_0x25ead9(0x11d)](_0x201dc9['zKIfS'](_0x201dc9['ABTDF'],_0x3cf65e[_0x2377d8][_0x25ead9(0x156)][_0x25ead9(0x163)]()))));if(_0x201dc9[_0x25ead9(0x116)](_0x3cf65e[_0x2377d8]['status']['toUpperCase'](),_0x201dc9[_0x25ead9(0x15a)])){_0xf282fb=!![];const _0xeee65d=_0x201dc9[_0x25ead9(0x153)](nestedKeyValue,_0x3cf65e[_0x2377d8],[_0x201dc9['udMjv'],_0x201dc9[_0x25ead9(0x155)]]);_0xeee65d&&(testsErrorMessage[_0x201dc9[_0x25ead9(0x13c)](_0x201dc9[_0x25ead9(0x13c)](_0x41af00[_0x25ead9(0x12b)][_0x25ead9(0x166)]['name'],_0x201dc9[_0x25ead9(0x129)]),_0x41af00[_0x25ead9(0x115)][_0x25ead9(0x139)])]=_0xeee65d,console[_0x25ead9(0x11d)](_0x201dc9[_0x25ead9(0x114)](_0xeee65d,'\x0a')));}}}_0xf282fb&&(testSuitesFailed+=0x1),console[_0x25ead9(0x11d)]('\x0a');}}module[a7_0x31074d(0x12d)]=BrowserstackFormatter;function a7_0x1af2(_0x53e5e8,_0x58bca8){const _0x52b374=a7_0x52b3();return a7_0x1af2=function(_0x1af2b4,_0x206cf0){_0x1af2b4=_0x1af2b4-0x10b;let _0x542c66=_0x52b374[_0x1af2b4];return _0x542c66;},a7_0x1af2(_0x53e5e8,_0x58bca8);}function a7_0x52b3(){const _0x5cf1e8=['includes','zTbXf','test-case-finished','qjeNV','status','test-run-started','cHlWj','ABTDF','UpxnU','line','46505XNQmCv','ufckK','aoakt','parse','Executing\x20tests\x20for\x20','OECOF','text','toUpperCase','actionLocation','logTestCaseFinished','feature','YpFKh','undefined','KocLG','aGHVJ','WtQOd','env','\x20\x20\x20\x20','PASSED','cucumber/lib/formatter/helpers/pickle_parser.js','3464688iitPfp','\x20\x20\x20\x20AFTER\x20-\x20','PuqJE','ljpDX','WHned','JIFvq','pickle','mJcCn','capability','jGFeE','\x20\x20\x20\x20BEFORE\x20-\x20','__platform','forEach','FtzpQ','log','length','FAILED','riHDt','PENDING','CONFIG','tEJuy','Vkfjt','cucumber','eventBroadcaster','KGlQU','4934531yzMSnI','cUwPA','getTestCaseAttempt','gherkinDocument','1655890BmOeeg','exports','exception','382763HsSDgw','eAyYT','yQjqR','sourceLocation','PzmEp','udMjv','25065824ukKHsQ','aWKXc','test-run-finished','test-case-started','name','Lrcyo','665085aMysXW','nSaRd','steps','JLACS','QGcrs','SKIPPED','getStepLineToPickledStepMap','testCase','../../../helpers/helper','TeRau','BpaQp','570bsMNUB','test-step-started','YifvW','hypln','result','jACRR','rwsUr','uri','MtIPj','PoEpi','eventDataCollector','WMaUb'];a7_0x52b3=function(){return _0x5cf1e8;};return a7_0x52b3();}
|
|
1
|
+
const a7_0x240705=a7_0x6ac9;(function(_0x1a9f10,_0x2603be){const _0x41386a=a7_0x6ac9,_0x4cab7e=_0x1a9f10();while(!![]){try{const _0x48fb80=-parseInt(_0x41386a(0x93))/0x1+parseInt(_0x41386a(0xc9))/0x2*(-parseInt(_0x41386a(0xa3))/0x3)+-parseInt(_0x41386a(0x90))/0x4*(-parseInt(_0x41386a(0x8c))/0x5)+-parseInt(_0x41386a(0xbe))/0x6*(-parseInt(_0x41386a(0xc4))/0x7)+-parseInt(_0x41386a(0x99))/0x8+-parseInt(_0x41386a(0x85))/0x9*(parseInt(_0x41386a(0xa7))/0xa)+parseInt(_0x41386a(0xc5))/0xb*(parseInt(_0x41386a(0xdb))/0xc);if(_0x48fb80===_0x2603be)break;else _0x4cab7e['push'](_0x4cab7e['shift']());}catch(_0x12367c){_0x4cab7e['push'](_0x4cab7e['shift']());}}}(a7_0x45ec,0x64a39));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x240705(0xb0)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x240705(0xd9));class BrowserstackFormatter extends Formatter{constructor(_0x952d93){const _0x61bab4=a7_0x240705,_0x14da47={'woggX':function(_0xccb230,_0x505dd2){return _0xccb230!==_0x505dd2;},'tUgaL':function(_0x5b1748,_0x5b5ca1){return _0x5b1748!==_0x5b5ca1;},'KEybE':function(_0x1e382a,_0x22a335){return _0x1e382a(_0x22a335);},'eoPiV':_0x61bab4(0xdc),'cNmDD':_0x61bab4(0xab),'qiAMd':_0x61bab4(0xa0),'zJvWa':_0x61bab4(0xae),'iXYsH':_0x61bab4(0x98)};super(_0x952d93),_0x952d93[_0x61bab4(0xcd)]['on'](_0x14da47[_0x61bab4(0xac)],()=>{const _0x16a6d3=_0x61bab4;let _0x28e9c1;if(_0x14da47['woggX'](process['env']['CONFIG'],undefined)){const _0x365e8e=JSON[_0x16a6d3(0xd4)](process[_0x16a6d3(0xb3)][_0x16a6d3(0x9e)]);_0x28e9c1=_0x365e8e[_0x16a6d3(0xdd)];}_0x14da47[_0x16a6d3(0xdf)](_0x28e9c1,undefined)&&(global[_0x16a6d3(0xad)]=_0x14da47['KEybE'](getPlatformName,_0x28e9c1),console[_0x16a6d3(0x97)](_0x16a6d3(0xd5)+global[_0x16a6d3(0xad)]));}),_0x952d93[_0x61bab4(0xcd)]['on'](_0x14da47['cNmDD'],()=>{testSuites+=0x1;}),_0x952d93[_0x61bab4(0xcd)]['on'](_0x14da47['qiAMd'],_0x4bc887=>{const _0x3444d5=_0x61bab4;this[_0x3444d5(0xb9)](_0x4bc887);}),_0x952d93[_0x61bab4(0xcd)]['on'](_0x14da47['zJvWa'],()=>{totalTests-=0x2;}),_0x952d93[_0x61bab4(0xcd)]['on'](_0x14da47['iXYsH'],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x4a3f06){const _0x231fad=a7_0x240705,_0xd387c8={'fRidi':_0x231fad(0x8b),'EXZIY':_0x231fad(0x8f),'YRrOc':_0x231fad(0xce),'Fiyuo':'PENDING','BlqAy':_0x231fad(0xd6),'tmQgf':_0x231fad(0xd1),'qaPbA':_0x231fad(0xb2),'vKbWI':function(_0x4357fb,_0x4f3df6){return _0x4357fb+_0x4f3df6;},'gbFtz':function(_0x43f1a1,_0x3e9cd9){return _0x43f1a1+_0x3e9cd9;},'ElIVw':function(_0x4814a6,_0x3cee5a){return _0x4814a6+_0x3cee5a;},'VjDgb':_0x231fad(0xa2),'MqEVG':_0x231fad(0x8e),'riymE':function(_0x4845fc,_0x35cb34){return _0x4845fc(_0x35cb34);},'nUAZJ':'cucumber-js/test_old.setup.js','FchRY':function(_0x1ef35f,_0x3b88f8){return _0x1ef35f+_0x3b88f8;},'naZNU':_0x231fad(0xa1),'QphBD':'\x20\x20\x20\x20BEFORE\x20-\x20','ukXxR':function(_0x39ae32,_0x2c33af){return _0x39ae32===_0x2c33af;},'UChYG':function(_0x5f3ff0,_0x3dd85b,_0x153268){return _0x5f3ff0(_0x3dd85b,_0x153268);},'QeMFP':_0x231fad(0xa4),'zCALk':_0x231fad(0x94),'iPHPi':_0x231fad(0xcc),'dqjeu':function(_0x103f61,_0x1eec07){return _0x103f61!==_0x1eec07;},'iXYQW':function(_0x1a2c51,_0x555352){return _0x1a2c51+_0x555352;},'ihItb':_0x231fad(0xc6),'bAIgW':function(_0x823344,_0x30a91c){return _0x823344+_0x30a91c;},'tsBPt':function(_0x555a9c,_0x24f615){return _0x555a9c+_0x24f615;},'kEXMX':function(_0x28e15a,_0x4c34ae){return _0x28e15a<_0x4c34ae;},'jVWpI':function(_0x2fa36a,_0x212db9){return _0x2fa36a(_0x212db9);},'UitEC':function(_0x3610ad,_0x5977cb){return _0x3610ad(_0x5977cb);},'kxccA':function(_0xa779c5,_0x18c051){return _0xa779c5+_0x18c051;},'VwIMz':function(_0x207a38,_0xf0de0c){return _0x207a38+_0xf0de0c;},'HglHK':function(_0x2bac8e,_0x5cfc8a){return _0x2bac8e+_0x5cfc8a;},'CkOXj':function(_0x22e498,_0x389f5f){return _0x22e498+_0x389f5f;}};let _0x29b581=![];function _0x495013(_0xa4d23e){const _0x1ed27d=_0x231fad;switch(_0xa4d23e){case _0xd387c8['fRidi']:testsFailed+=0x1;break;case _0xd387c8[_0x1ed27d(0x88)]:testsPassed+=0x1;break;case _0xd387c8[_0x1ed27d(0xba)]:testsSkipped+=0x1;break;case _0xd387c8['Fiyuo']:testsPending+=0x1;break;case _0xd387c8[_0x1ed27d(0xa6)]:testsUndefined+=0x1;break;case _0xd387c8[_0x1ed27d(0xbc)]:testsUnknown+=0x1;break;case _0xd387c8[_0x1ed27d(0xc8)]:testsAmbiguous+=0x1;break;default:break;}}_0xd387c8['dqjeu'](global[_0x231fad(0xad)],undefined)&&console['log'](_0xd387c8[_0x231fad(0xaa)](_0xd387c8[_0x231fad(0xc3)]('\x0a',global[_0x231fad(0xad)]),'\x0a'));let _0x1eaf2b=![];if(_0xd387c8[_0x231fad(0xbf)](typeof this[_0x231fad(0x95)][_0x231fad(0x89)],_0xd387c8[_0x231fad(0xc2)])){var _0x562a57=this[_0x231fad(0x95)][_0x231fad(0x89)](_0x4a3f06['sourceLocation']),_0x5f1706=_0x562a57[_0x231fad(0xb7)],_0x59c399=_0x562a57[_0x231fad(0xb5)];console[_0x231fad(0x97)](_0xd387c8[_0x231fad(0x9f)]('\x20\x20',_0x5f1706[_0x231fad(0xa5)]));var _0xcbc57b=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x5f1706);_0x59c399[_0x231fad(0xb6)][_0x231fad(0xaf)](function(_0x4b8653){const _0x316faa=_0x231fad;if(_0x4b8653[_0x316faa(0xc7)]&&_0x4b8653[_0x316faa(0xb4)])_0x29b581=!![],console['log'](_0xd387c8[_0x316faa(0x96)](_0xd387c8[_0x316faa(0xa8)](_0xd387c8['ElIVw'](_0xd387c8['VjDgb'],_0xcbc57b[_0x4b8653[_0x316faa(0xb4)]['line']][_0x316faa(0xd8)]),_0xd387c8[_0x316faa(0x8a)]),_0x4b8653['result'][_0x316faa(0xd2)][_0x316faa(0x9d)]())),_0xd387c8['riymE'](_0x495013,_0x4b8653['result'][_0x316faa(0xd2)][_0x316faa(0x9d)]());else _0x4b8653[_0x316faa(0xc7)]&&(!_0x4b8653[_0x316faa(0xc7)][_0x316faa(0x86)][_0x316faa(0xc1)](_0xd387c8[_0x316faa(0x87)])&&(_0xd387c8[_0x316faa(0xa9)](_0x495013,_0x4b8653[_0x316faa(0xa4)]['status']['toUpperCase']()),_0x29b581?console[_0x316faa(0x97)](_0xd387c8['FchRY'](_0xd387c8['naZNU'],_0x4b8653[_0x316faa(0xa4)][_0x316faa(0xd2)][_0x316faa(0x9d)]())):console[_0x316faa(0x97)](_0xd387c8[_0x316faa(0xca)](_0xd387c8['QphBD'],_0x4b8653[_0x316faa(0xa4)][_0x316faa(0xd2)][_0x316faa(0x9d)]()))));if(_0xd387c8[_0x316faa(0xcb)](_0x4b8653[_0x316faa(0xa4)][_0x316faa(0xd2)][_0x316faa(0x9d)](),_0xd387c8[_0x316faa(0xb1)])){const _0x3adbf8=_0xd387c8[_0x316faa(0xbd)](nestedKeyValue,_0x4b8653,[_0xd387c8[_0x316faa(0x91)],_0xd387c8[_0x316faa(0x9b)],_0xd387c8['iPHPi']]);_0x3adbf8&&(testsErrorMessage[_0x5f1706[_0x316faa(0xa5)]]=_0x3adbf8,console[_0x316faa(0x97)](_0xd387c8[_0x316faa(0x96)](_0x3adbf8,'\x0a'))),_0x1eaf2b=!![];}});}else{const _0x1dc3f6=this[_0x231fad(0x95)]['getTestCaseAttempt'](_0x4a3f06);console[_0x231fad(0x97)](_0xd387c8[_0x231fad(0xb8)](_0xd387c8['vKbWI'](_0xd387c8[_0x231fad(0xc3)]('\x20\x20',_0x1dc3f6[_0x231fad(0x9a)][_0x231fad(0x9c)]['name']),_0xd387c8[_0x231fad(0x8a)]),_0x1dc3f6[_0x231fad(0xb7)]['name']));const _0x2d11a2=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x1dc3f6['pickle']),_0x1f53c0=_0x1dc3f6[_0x231fad(0xb5)][_0x231fad(0xb6)],_0x3fd77c=_0x1dc3f6[_0x231fad(0xcf)],_0x5e204b=_0x1f53c0[_0x231fad(0xd7)];for(let _0x5b81a9=0x0;_0xd387c8[_0x231fad(0x84)](_0x5b81a9,_0x5e204b);_0x5b81a9++){const _0x35ca38=_0x1f53c0[_0x5b81a9];if(_0x35ca38['actionLocation']&&_0x35ca38[_0x231fad(0xb4)])_0x29b581=!![],console['log'](_0xd387c8['FchRY'](_0xd387c8['vKbWI'](_0xd387c8[_0x231fad(0xc3)](_0xd387c8['VjDgb'],_0x2d11a2[_0x35ca38[_0x231fad(0xb4)][_0x231fad(0xd0)]][_0x231fad(0xd8)]),_0xd387c8[_0x231fad(0x8a)]),_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)][_0x231fad(0x9d)]())),_0xd387c8[_0x231fad(0xbb)](_0x495013,_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)][_0x231fad(0x9d)]());else _0x35ca38[_0x231fad(0xc7)]&&(!_0x35ca38['actionLocation'][_0x231fad(0x86)][_0x231fad(0xc1)](_0xd387c8[_0x231fad(0x87)])&&(_0xd387c8[_0x231fad(0xd3)](_0x495013,_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)]['toUpperCase']()),_0x29b581?console['log'](_0xd387c8[_0x231fad(0xc0)](_0xd387c8[_0x231fad(0x8d)],_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)]['toUpperCase']())):console[_0x231fad(0x97)](_0xd387c8[_0x231fad(0xda)](_0xd387c8[_0x231fad(0x92)],_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)][_0x231fad(0x9d)]()))));if(_0xd387c8[_0x231fad(0xcb)](_0x3fd77c[_0x5b81a9][_0x231fad(0xd2)][_0x231fad(0x9d)](),_0xd387c8[_0x231fad(0xb1)])){_0x1eaf2b=!![];const _0x3a8cae=_0xd387c8[_0x231fad(0xbd)](nestedKeyValue,_0x3fd77c[_0x5b81a9],[_0xd387c8[_0x231fad(0x9b)],_0xd387c8['iPHPi']]);_0x3a8cae&&(testsErrorMessage[_0xd387c8[_0x231fad(0xde)](_0xd387c8['CkOXj'](_0x1dc3f6[_0x231fad(0x9a)][_0x231fad(0x9c)][_0x231fad(0xa5)],_0xd387c8['MqEVG']),_0x1dc3f6[_0x231fad(0xb7)][_0x231fad(0xa5)])]=_0x3a8cae,console[_0x231fad(0x97)](_0xd387c8[_0x231fad(0xc3)](_0x3a8cae,'\x0a')));}}}_0x1eaf2b&&(testSuitesFailed+=0x1),console[_0x231fad(0x97)]('\x0a');}}function a7_0x45ec(){const _0x3673dc=['exception','eventDataCollector','vKbWI','log','test-step-started','5468856HxaVIt','gherkinDocument','zCALk','feature','toUpperCase','CONFIG','bAIgW','test-case-finished','\x20\x20\x20\x20AFTER\x20-\x20','\x20\x20\x20\x20','3009xsarGH','result','name','BlqAy','20NalDRA','gbFtz','riymE','iXYQW','test-case-started','eoPiV','__platform','test-run-finished','forEach','../../../helpers/helper','fRidi','AMBIGUOUS','env','sourceLocation','testCase','steps','pickle','tsBPt','logTestCaseFinished','YRrOc','jVWpI','tmQgf','UChYG','4014bGHOtT','dqjeu','kxccA','includes','ihItb','ElIVw','875HFFhYR','5753FqZTWw','undefined','actionLocation','qaPbA','1102bLcNUK','FchRY','ukXxR','stack','eventBroadcaster','SKIPPED','stepResults','line','UNKNOWN','status','UitEC','parse','Executing\x20tests\x20for\x20','UNDEFINED','length','text','cucumber','VwIMz','57864CHOgVz','test-run-started','capability','HglHK','tUgaL','kEXMX','3192282xSHoGZ','uri','nUAZJ','EXZIY','getTestCaseData','MqEVG','FAILED','156515DftShI','naZNU','\x20-\x20','PASSED','60HNGqFK','QeMFP','QphBD','717203vUGldE'];a7_0x45ec=function(){return _0x3673dc;};return a7_0x45ec();}function a7_0x6ac9(_0x2721f3,_0x2b09a8){const _0x45ecc6=a7_0x45ec();return a7_0x6ac9=function(_0x6ac999,_0x1457e3){_0x6ac999=_0x6ac999-0x84;let _0x1e616e=_0x45ecc6[_0x6ac999];return _0x1e616e;},a7_0x6ac9(_0x2721f3,_0x2b09a8);}module['exports']=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x47f317=a8_0x4787;function a8_0x1491(){const _0x48c2c8=['Exception\x20in\x20sendHook:\x20','ciOuJ','failure_data','includes','result','format','javascript','yTaKs','waViy','GWMrN','util','relative','5717481GKuWMW','rule','xQYJy','nanos','../playwright/reporter/test-details','scenario','forEach','flatMap','testCaseStartedId','getCucumberHookType','tagExpression','3064giJBIa','debug','../../helpers/test-observability/error-handler','finished_at','jtQwv','cells','failure','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','failureData','test','toISOString','29058kCHfNM','sidol','iTEeu','267102NLxErt','strip-ansi','_gitConfigPath','NyXyY','zKjgl','VlVhM','RwXUa','root','map','BjAUl','686012vnSmml','testStepFinished','mYyFt','uDOpi','WCEOT','find','AFTER_EACH','split','match','exception','name','dJVmm','VrQta','sHWtH','1462484tiqDQu','updateTestStatus','sendHook','uploadEventData','xEmfm','LAYAQ','TestRunFinished','KLMEb','toString','1813390rYzcdN','../../helpers/logger','../../helpers/test-observability/constants.js','735xCoLBN','UnhandledError','failure_reason','getHookRunEventData','55GsUjhL','feature','_gitConfigured','examples','cDrDg','yzdPT','LvdUL','backtrace','xldeQ','failureType','skipped','abDbZ','uwYbA','hook','eGtMC','appendTesthubParams','cucumber','failure_type','sourceReference','getTestUUID','timestamp','OdUiz','WGUbX','pending','32Juhezg','message','qKfIY','BEFORE_EACH','value','configureGit','MWagM','astNodeIds','sendTestRunEventForCucumber','ZumXz','push','children','HookRunFinished','vudef','Exception\x20in\x20getHookRunEventData:\x20','testCaseFinished','getHooksListForTest','FAILED','test_run','DGktn','jdZGc','uZfGI','YrbPI','ahxCz','hookId','HookRunStarted','rAtPQ','toLowerCase','Mrifn','length','../../helpers/helper','SKIPPED','failed','fcsEc','winstonLogger','tags','hooks','DwlnM','join','831AtFJMU','testStepResult','bOZlA','tableBody','status','BVgaU','hook_run','CUCUMBER','../../helpers/testhub/utils','../../helpers/test-observability/sessionHandler','getHookResult','uri','unknown','iVWvu','xWyef','event_type'];a8_0x1491=function(){return _0x48c2c8;};return a8_0x1491();}(function(_0x1b5034,_0x4ba3b0){const _0x2fc07e=a8_0x4787,_0x58beae=_0x1b5034();while(!![]){try{const _0x1ce3d5=parseInt(_0x2fc07e(0x1f5))/0x1+parseInt(_0x2fc07e(0x1dd))/0x2*(parseInt(_0x2fc07e(0x1b6))/0x3)+parseInt(_0x2fc07e(0x203))/0x4+-parseInt(_0x2fc07e(0x20f))/0x5*(-parseInt(_0x2fc07e(0x1e8))/0x6)+-parseInt(_0x2fc07e(0x1d2))/0x7+-parseInt(_0x2fc07e(0x18f))/0x8*(-parseInt(_0x2fc07e(0x1eb))/0x9)+parseInt(_0x2fc07e(0x20c))/0xa*(-parseInt(_0x2fc07e(0x177))/0xb);if(_0x1ce3d5===_0x4ba3b0)break;else _0x58beae['push'](_0x58beae['shift']());}catch(_0x46215a){_0x58beae['push'](_0x58beae['shift']());}}}(a8_0x1491,0x8e5f0));function a8_0x4787(_0x49a81c,_0x1f7810){const _0x14913b=a8_0x1491();return a8_0x4787=function(_0x4787a9,_0x4511bd){_0x4787a9=_0x4787a9-0x175;let _0x209ee6=_0x14913b[_0x4787a9];return _0x209ee6;},a8_0x4787(_0x49a81c,_0x1f7810);}const path=require('path'),util=require(a8_0x47f317(0x1d0)),hooksMap={},SessionHandler=require(a8_0x47f317(0x1bf)),testhubUtils=require(a8_0x47f317(0x1be)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x47f317(0x1ad)),logger=require(a8_0x47f317(0x20d))[a8_0x47f317(0x1b1)],{o11yClassErrorHandler}=require(a8_0x47f317(0x1df)),{FRAMEWORKS}=require(a8_0x47f317(0x20e)),TestDetails=require(a8_0x47f317(0x1d6));this['_gitConfigured']=![],this[a8_0x47f317(0x1ed)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x54dd0b,_0x1ab332,_0x34139a,_0x3642d5,_0x304d68){const _0x3ca4d9=a8_0x47f317,_0x36e7ce={'dJVmm':function(_0x436e3f,_0x2520fd){return _0x436e3f===_0x2520fd;},'LvdUL':_0x3ca4d9(0x1a0),'zKjgl':_0x3ca4d9(0x1af),'dVSnH':function(_0x5da541,_0x15d95b){return _0x5da541===_0x15d95b;},'KLMEb':_0x3ca4d9(0x1ae),'uDOpi':_0x3ca4d9(0x181),'uZfGI':function(_0x5851ca,_0x486e5e){return _0x5851ca||_0x486e5e;},'MyFyj':function(_0x312bea,_0x30381c){return _0x312bea+_0x30381c;},'xldeQ':function(_0x3521ef,_0x59da8e){return _0x3521ef+_0x59da8e;},'Hdyyr':_0x3ca4d9(0x1e6),'Flmtr':_0x3ca4d9(0x1cc),'sidol':_0x3ca4d9(0x187),'RwXUa':_0x3ca4d9(0x18e),'xEmfm':'passed','NyXyY':function(_0x39c752,_0x20a78a){return _0x39c752!==_0x20a78a;},'ciOuJ':function(_0x305d3b,_0x1156d5){return _0x305d3b/_0x1156d5;},'sHWtH':function(_0x1fb4ff,_0x404dfe){return _0x1fb4ff===_0x404dfe;},'uwYbA':_0x3ca4d9(0x1ec),'jmAsl':function(_0x2154f6,_0xd61b02){return _0x2154f6(_0xd61b02);},'jdZGc':_0x3ca4d9(0x1c2),'LAYAQ':function(_0x2e472f,_0x14351e){return _0x2e472f(_0x14351e);},'ooCaj':'AssertionError','xQYJy':'UnhandledError','bOZlA':function(_0x538294,_0x27397f){return _0x538294===_0x27397f;},'qBbKf':_0x3ca4d9(0x209),'YrbPI':function(_0xb4c6bb,_0x4b45d5){return _0xb4c6bb>_0x4b45d5;}},{feature:_0x9ff49b,scenario:_0x7e3625,steps:_0x1d0755,uuid:_0x3909d9,startedAt:_0xdcdec6,finishedAt:_0x5dc29c}=_0x36e7ce[_0x3ca4d9(0x1a4)](_0x304d68,{}),_0x2e6b0b=this['getScenarioExamples'](_0x1ab332,_0x34139a);await this[_0x3ca4d9(0x194)]();const _0x561f1b=_0x2e6b0b?_0x36e7ce['MyFyj'](_0x36e7ce['MyFyj'](_0x36e7ce[_0x3ca4d9(0x17f)](_0x34139a[_0x3ca4d9(0x1ff)],'\x20('),_0x2e6b0b[_0x3ca4d9(0x1b5)](',\x20')),')'):_0x34139a[_0x3ca4d9(0x1ff)],_0x328268={'uuid':_0x3909d9,'started_at':_0xdcdec6,'finished_at':_0x5dc29c,'type':_0x36e7ce['Hdyyr'],'body':{'lang':_0x36e7ce['Flmtr'],'code':null},'name':_0x561f1b,'scopes':[_0x9ff49b&&_0x9ff49b[_0x3ca4d9(0x1ff)]?_0x9ff49b[_0x3ca4d9(0x1ff)]:''],'tags':_0x34139a['tags']?_0x34139a[_0x3ca4d9(0x1b2)][_0x3ca4d9(0x1f3)](({name:_0x261041})=>_0x261041):[],'file_name':_0x34139a[_0x3ca4d9(0x1c1)],'location':_0x34139a['uri'],'vc_filepath':this[_0x3ca4d9(0x1ed)]&&_0x34139a[_0x3ca4d9(0x1c1)]?path[_0x3ca4d9(0x1d1)](this[_0x3ca4d9(0x1ed)],_0x34139a[_0x3ca4d9(0x1c1)]):null,'framework':_0x36e7ce[_0x3ca4d9(0x1e9)],'result':_0x36e7ce[_0x3ca4d9(0x1f1)],'meta':{'feature':_0x9ff49b,'scenario':_0x7e3625,'steps':_0x1d0755,'examples':_0x2e6b0b},'customRerunParam':{'rerun_name':_0x561f1b}};if(_0x54dd0b[_0x3ca4d9(0x19e)]&&_0x1d0755){const _0x567f66=_0x54dd0b[_0x3ca4d9(0x19e)];let _0x48b78e=_0x36e7ce[_0x3ca4d9(0x207)];_0x1d0755['every'](_0x257dbc=>{const _0x3609e8=_0x3ca4d9;if(_0x36e7ce[_0x3609e8(0x200)](_0x257dbc['result'],_0x36e7ce[_0x3609e8(0x17d)]))return _0x48b78e=_0x36e7ce[_0x3609e8(0x1ef)],_0x567f66['failure']=_0x257dbc[_0x3609e8(0x1e3)],_0x567f66[_0x3609e8(0x180)]=_0x257dbc[_0x3609e8(0x180)],![];else{if(_0x36e7ce['dVSnH'](_0x257dbc['result'],_0x36e7ce[_0x3609e8(0x20a)]))return _0x48b78e=_0x36e7ce[_0x3609e8(0x1f8)],![];}return!![];}),_0x328268[_0x3ca4d9(0x1e0)]=new Date()['toISOString'](),_0x328268[_0x3ca4d9(0x1ca)]=_0x48b78e;_0x567f66['timestamp']&&_0x36e7ce[_0x3ca4d9(0x1ee)](_0x567f66['timestamp'][_0x3ca4d9(0x1d5)],undefined)?_0x328268['duration_in_ms']=_0x36e7ce[_0x3ca4d9(0x1c7)](_0x567f66[_0x3ca4d9(0x18b)][_0x3ca4d9(0x1d5)],0xf4240):_0x328268['duration_in_ms']=undefined;if(_0x36e7ce[_0x3ca4d9(0x202)](_0x48b78e,_0x36e7ce['zKjgl'])){const {default:_0x4bea18}=await import(_0x36e7ce[_0x3ca4d9(0x183)]);_0x328268[_0x3ca4d9(0x1e3)]=[{'backtrace':[_0x567f66[_0x3ca4d9(0x1e3)]?_0x36e7ce['jmAsl'](_0x4bea18,_0x567f66[_0x3ca4d9(0x1e3)]):_0x36e7ce[_0x3ca4d9(0x1a3)]]}],_0x328268['failure_reason']=_0x567f66[_0x3ca4d9(0x1e3)]?_0x36e7ce[_0x3ca4d9(0x208)](_0x4bea18,_0x567f66['failure']):_0x567f66[_0x3ca4d9(0x190)],_0x567f66['failureType']&&(_0x328268[_0x3ca4d9(0x188)]=_0x567f66[_0x3ca4d9(0x180)]['match'](/AssertError/)?_0x36e7ce['ooCaj']:_0x36e7ce[_0x3ca4d9(0x1d4)]);}}if(_0x36e7ce[_0x3ca4d9(0x1b8)](_0x3642d5,_0x36e7ce['qBbKf'])){const _0x2a3d37=this['getHooksListForTest'](_0x54dd0b[_0x3ca4d9(0x19e)][_0x3ca4d9(0x1da)]);_0x2a3d37&&_0x36e7ce[_0x3ca4d9(0x1a5)](_0x2a3d37['length'],0x0)&&(_0x328268[_0x3ca4d9(0x1b3)]=_0x2a3d37,this[_0x3ca4d9(0x204)](_0x54dd0b[_0x3ca4d9(0x19e)][_0x3ca4d9(0x1da)],_0x328268));}testhubUtils[_0x3ca4d9(0x186)](_0x328268,_0x3642d5,'',FRAMEWORKS[_0x3ca4d9(0x1bd)]);const _0x3d0f9f={};_0x3d0f9f[_0x3ca4d9(0x1c5)]=_0x3642d5,_0x3d0f9f[_0x3ca4d9(0x1a1)]=_0x328268;const _0xeccf11=_0x3d0f9f;await SessionHandler['uploadEventData'](_0xeccf11);}[a8_0x47f317(0x204)](_0x2ea80b,_0xf0dfbd){const _0x6aacd6=a8_0x47f317,_0x192b85={};_0x192b85[_0x6aacd6(0x182)]=function(_0x1b9f13,_0xd0d005){return _0x1b9f13 instanceof _0xd0d005;},_0x192b85[_0x6aacd6(0x1cf)]=function(_0x2c5842,_0x4f07b0){return _0x2c5842===_0x4f07b0;},_0x192b85['DwlnM']=_0x6aacd6(0x1af),_0x192b85[_0x6aacd6(0x201)]='2|0|4|1|3';const _0xae134b=_0x192b85,_0x209847=hooksMap[_0x2ea80b];if(_0xae134b[_0x6aacd6(0x182)](_0x209847,Array))for(const _0x46ed8d of _0x209847){if(_0xae134b[_0x6aacd6(0x1cf)](_0x46ed8d[_0x6aacd6(0x1ca)],_0xae134b[_0x6aacd6(0x1b4)])){const _0x371d4a=_0xae134b[_0x6aacd6(0x201)]['split']('|');let _0x4b76fa=0x0;while(!![]){switch(_0x371d4a[_0x4b76fa++]){case'0':_0xf0dfbd[_0x6aacd6(0x1e3)]=_0x46ed8d[_0x6aacd6(0x1c8)];continue;case'1':_0xf0dfbd[_0x6aacd6(0x188)]=_0x46ed8d['failure_type'];continue;case'2':_0xf0dfbd[_0x6aacd6(0x1ca)]=_0x46ed8d[_0x6aacd6(0x1ca)];continue;case'3':return _0xf0dfbd;case'4':_0xf0dfbd[_0x6aacd6(0x175)]=_0xae134b[_0x6aacd6(0x182)](_0x46ed8d['failure_data'],Array)?_0x46ed8d[_0x6aacd6(0x1c8)][0x0][_0x6aacd6(0x17e)][_0x6aacd6(0x1b5)]('\x0a'):'';continue;}break;}}};}[a8_0x47f317(0x19f)](_0x1b9488){const _0x3993e9=a8_0x47f317;if(hooksMap[_0x1b9488])return hooksMap[_0x1b9488][_0x3993e9(0x1f3)](_0x1c90a5=>_0x1c90a5['uuid']);return[];}[a8_0x47f317(0x176)](_0x3a983c,_0x32baa7,_0x3844ba,_0x243820,_0x347b1a,_0x56a947){const _0x11bd0d=a8_0x47f317,_0x5ba7e4={'ZumXz':function(_0xe04616,_0x1284ea){return _0xe04616===_0x1284ea;},'yTaKs':_0x11bd0d(0x19b),'ahxCz':function(_0x3b7267,_0x71d4bb,_0x1ab342){return _0x3b7267(_0x71d4bb,_0x1ab342);},'oxlEm':_0x11bd0d(0x189),'mYyFt':_0x11bd0d(0x1c1),'vudef':_0x11bd0d(0x18e),'wbMmF':_0x11bd0d(0x184),'XvekP':_0x11bd0d(0x1cc),'McECm':function(_0x1fcaaf,_0x13f355,_0x364140){return _0x1fcaaf(_0x13f355,_0x364140);},'Mrifn':_0x11bd0d(0x178),'waViy':'name','OdUiz':_0x11bd0d(0x187)};try{if(_0x5ba7e4[_0x11bd0d(0x198)](_0x3844ba,_0x5ba7e4[_0x11bd0d(0x1cd)])){const _0x4f8daf=new Date()[_0x11bd0d(0x1e7)](),_0x235716=hooksMap[_0x32baa7];if(!_0x235716)return;const _0x17cac1=_0x235716[_0x11bd0d(0x1fa)](_0x3b6d64=>_0x3b6d64['uuid']===_0x243820['id']);if(!_0x17cac1)return;const _0x551ba6=this[_0x11bd0d(0x1c0)](_0x3a983c,_0x32baa7);_0x17cac1[_0x11bd0d(0x1ca)]=_0x551ba6['status'],_0x17cac1[_0x11bd0d(0x1e0)]=_0x4f8daf,_0x17cac1[_0x11bd0d(0x188)]=_0x551ba6['failureType'];const _0x101f2b={};return _0x101f2b['backtrace']=_0x551ba6[_0x11bd0d(0x1e5)],_0x17cac1[_0x11bd0d(0x1c8)]=[_0x101f2b],_0x17cac1;}const _0x3fd34e=TestDetails[_0x11bd0d(0x18a)](_0x32baa7),_0x5df0e6=_0x3a983c[_0x11bd0d(0x1b3)]['find'](_0x677d05=>_0x677d05['id']===_0x243820['hookId']),_0x5c35dd=_0x5ba7e4[_0x11bd0d(0x1a6)](nestedKeyValue,_0x5df0e6,[_0x5ba7e4['oxlEm'],_0x5ba7e4[_0x11bd0d(0x1f7)]]),_0x2ef1a1=new Date()[_0x11bd0d(0x1e7)](),_0x4eae00=_0x5ba7e4[_0x11bd0d(0x19c)],_0x5b6517=_0x5df0e6[_0x11bd0d(0x1dc)]?_0x5df0e6[_0x11bd0d(0x1dc)][_0x11bd0d(0x1fc)]('\x20')['filter'](_0xe5311e=>_0xe5311e[_0x11bd0d(0x1c9)]('@')):[],_0x3df6b1={'uuid':_0x243820['id'],'type':_0x5ba7e4['wbMmF'],'hook_type':_0x56a947,'name':_0x5df0e6['name'],'body':{'lang':_0x5ba7e4['XvekP'],'code':null},'tags':_0x5b6517,'test_run_id':_0x3fd34e,'scope':_0x5ba7e4['McECm'](nestedKeyValue,_0x347b1a,[_0x5ba7e4['Mrifn'],_0x5ba7e4[_0x11bd0d(0x1ce)]]),'scopes':[_0x5ba7e4[_0x11bd0d(0x1a6)](nestedKeyValue,_0x347b1a,[_0x5ba7e4[_0x11bd0d(0x1ab)],_0x5ba7e4[_0x11bd0d(0x1ce)]])||''],'file_name':_0x5c35dd,'location':_0x5c35dd,'vc_filepath':this[_0x11bd0d(0x1ed)]?path[_0x11bd0d(0x1d1)](this[_0x11bd0d(0x1ed)],_0x5c35dd):null,'result':_0x4eae00,'started_at':_0x2ef1a1,'framework':_0x5ba7e4[_0x11bd0d(0x18c)]};return _0x3df6b1;}catch(_0x1f299c){logger[_0x11bd0d(0x1de)](_0x11bd0d(0x19d)+util[_0x11bd0d(0x1cb)](_0x1f299c)+'\x20');}}async[a8_0x47f317(0x205)](_0x5da0c3,_0x59c979,_0x4fff47,_0x441a8a,_0xb1e7d1,_0x2e0001){const _0x2aa79c=a8_0x47f317,_0x1f812b={'BXuZJ':function(_0x20cd9a,_0x27cdfd){return _0x20cd9a===_0x27cdfd;},'fcsEc':_0x2aa79c(0x1a8),'iVWvu':function(_0x38b91b,_0x3ed154,_0x1500c0){return _0x38b91b(_0x3ed154,_0x1500c0);},'qKfIY':_0x2aa79c(0x189),'UvSwg':_0x2aa79c(0x1c1),'BjAUl':_0x2aa79c(0x1e4)};try{const _0x52516c=_0x441a8a[_0x2aa79c(0x1fa)](_0x4b952c=>_0x4b952c['id']===_0xb1e7d1);if(!_0x52516c['hookId'])return;const _0x580328=this['getCucumberHookType'](_0x441a8a,_0x52516c),_0x54698c=this[_0x2aa79c(0x176)](_0x5da0c3,_0x59c979,_0x4fff47,_0x52516c,_0x2e0001,_0x580328);if(!_0x54698c)return;_0x1f812b['BXuZJ'](_0x4fff47,_0x1f812b[_0x2aa79c(0x1b0)])&&(hooksMap[_0x59c979]?hooksMap[_0x59c979][_0x2aa79c(0x199)](_0x54698c):hooksMap[_0x59c979]=[_0x54698c]);const _0x3bc317=_0x5da0c3[_0x2aa79c(0x1b3)][_0x2aa79c(0x1fa)](_0x10a8b3=>_0x10a8b3['id']===_0x52516c[_0x2aa79c(0x1a7)]),_0x5db50b=_0x1f812b[_0x2aa79c(0x1c3)](nestedKeyValue,_0x3bc317,[_0x1f812b[_0x2aa79c(0x191)],_0x1f812b['UvSwg']]);if(!_0x5db50b)return;else{if(_0x5db50b[_0x2aa79c(0x1c9)](_0x1f812b[_0x2aa79c(0x1f4)]))return;}const _0x2ef381={};_0x2ef381['event_type']=_0x4fff47,_0x2ef381[_0x2aa79c(0x1bc)]=_0x54698c;const _0x44d820=_0x2ef381;await SessionHandler[_0x2aa79c(0x206)](_0x44d820);}catch(_0x1c0135){logger['debug'](_0x2aa79c(0x1c6)+util[_0x2aa79c(0x1cb)](_0x1c0135)+'\x20');}}[a8_0x47f317(0x1c0)](_0x51536f,_0xa30a90){const _0x364fc4=a8_0x47f317,_0x38a93a={};_0x38a93a['xWyef']=function(_0x4fc7a6,_0x205c1b){return _0x4fc7a6===_0x205c1b;},_0x38a93a['MWagM']='failed',_0x38a93a[_0x364fc4(0x18d)]=function(_0x577e55,_0x47121b){return _0x577e55===_0x47121b;},_0x38a93a[_0x364fc4(0x1a2)]=_0x364fc4(0x210),_0x38a93a[_0x364fc4(0x1f0)]='AssertionError',_0x38a93a[_0x364fc4(0x1ea)]=function(_0x254441,_0x3176fc){return _0x254441||_0x3176fc;};const _0xf98011=_0x38a93a,_0x17e711=_0x51536f[_0x364fc4(0x1f6)][_0xa30a90][_0x364fc4(0x1b7)];let _0xef5c21,_0xf9996b;return _0x17e711&&_0xf98011[_0x364fc4(0x1c4)](_0x17e711[_0x364fc4(0x1ba)][_0x364fc4(0x20b)]()['toLowerCase'](),_0xf98011[_0x364fc4(0x195)])&&(_0xef5c21=_0xf98011[_0x364fc4(0x1c4)](_0x17e711[_0x364fc4(0x1fe)],undefined)?_0x17e711['message']:_0x17e711['exception']['message'],_0xf9996b=_0xf98011[_0x364fc4(0x18d)](_0x17e711[_0x364fc4(0x1fe)],undefined)?_0xf98011[_0x364fc4(0x1a2)]:_0x17e711[_0x364fc4(0x190)][_0x364fc4(0x1fd)](/Assert/)?_0xf98011[_0x364fc4(0x1f0)]:_0xf98011[_0x364fc4(0x1a2)]),{'status':_0x17e711['status'][_0x364fc4(0x1aa)](),'failureType':_0xf98011[_0x364fc4(0x1ea)](_0xf9996b,null),'failureData':!_0xef5c21?null:[_0xef5c21]};}[a8_0x47f317(0x1db)](_0x45557d,_0x4c139f){const _0x45b54d=a8_0x47f317,_0x3787cf={};_0x3787cf['jtQwv']=function(_0x6717bb,_0x4242c0){return _0x6717bb===_0x4242c0;},_0x3787cf[_0x45b54d(0x1bb)]=_0x45b54d(0x1fb),_0x3787cf[_0x45b54d(0x1a9)]=_0x45b54d(0x192);const _0x1aa0d1=_0x3787cf;let _0x4bbf8b=![];for(const _0xfef411 of _0x45557d){_0xfef411['pickleStepId']&&(_0x4bbf8b=!![]);if(_0x1aa0d1[_0x45b54d(0x1e1)](_0x4c139f['id'],_0xfef411['id']))return _0x4bbf8b?_0x1aa0d1['BVgaU']:_0x1aa0d1[_0x45b54d(0x1a9)];}}['getScenarioExamples']=(_0xe63701,_0x13d981)=>{const _0x3b66c1=a8_0x47f317,_0x551321={};_0x551321[_0x3b66c1(0x17c)]=function(_0x3dbb43,_0x3fd9d4){return _0x3dbb43===_0x3fd9d4;},_0x551321[_0x3b66c1(0x185)]=function(_0x1dd74c,_0x336cb2){return _0x1dd74c>_0x336cb2;};const _0x35278e=_0x551321;if(!(_0x13d981[_0x3b66c1(0x196)]&&_0x35278e[_0x3b66c1(0x185)](_0x13d981['astNodeIds']['length'],0x1)))return;const _0xc1f4a2=_0x13d981['astNodeIds'][0x0],_0xe6314a=_0x13d981['astNodeIds'][0x1],_0x3816be=_0xe63701[_0x3b66c1(0x178)]&&_0xe63701['feature'][_0x3b66c1(0x19a)]?_0xe63701[_0x3b66c1(0x178)][_0x3b66c1(0x19a)]:undefined;let _0x104592=[];_0x3816be&&_0x3816be['forEach'](_0x57f724=>{const _0x472b93=_0x3b66c1,_0x5dc939={'WCEOT':function(_0x4d71fb,_0x24d40c){const _0x1fc91b=a8_0x4787;return _0x35278e[_0x1fc91b(0x17c)](_0x4d71fb,_0x24d40c);}};if(_0x57f724[_0x472b93(0x1d3)])_0x57f724[_0x472b93(0x1d3)][_0x472b93(0x19a)][_0x472b93(0x1d8)](_0x7a19e7=>{const _0x5d7a4f=_0x472b93;if(_0x7a19e7[_0x5d7a4f(0x1d7)]&&_0x5dc939[_0x5d7a4f(0x1f9)](_0x7a19e7[_0x5d7a4f(0x1d7)]['id'],_0xc1f4a2)&&_0x7a19e7[_0x5d7a4f(0x1d7)][_0x5d7a4f(0x17a)]){const _0x835cdc=_0x7a19e7['scenario'][_0x5d7a4f(0x17a)][_0x5d7a4f(0x1d9)](_0x564bfa=>_0x564bfa['tableBody'])[_0x5d7a4f(0x1fa)](_0x35fb55=>_0x35fb55['id']===_0xe6314a);let _0x40ee4d;_0x835cdc&&_0x835cdc[_0x5d7a4f(0x1e2)]?_0x40ee4d=_0x835cdc[_0x5d7a4f(0x1e2)][_0x5d7a4f(0x1f3)](_0x5e3533=>_0x5e3533['value']):_0x40ee4d=[],_0x40ee4d&&(_0x104592=_0x40ee4d);}});else{if(_0x57f724[_0x472b93(0x1d7)]&&_0x35278e[_0x472b93(0x17c)](_0x57f724[_0x472b93(0x1d7)]['id'],_0xc1f4a2)&&_0x57f724[_0x472b93(0x1d7)][_0x472b93(0x17a)]){const _0x3175c9=_0x57f724[_0x472b93(0x1d7)][_0x472b93(0x17a)][_0x472b93(0x1d9)](_0x5ac658=>_0x5ac658[_0x472b93(0x1b9)])[_0x472b93(0x1fa)](_0x58902f=>_0x58902f['id']===_0xe6314a);let _0x2c2cb0;_0x3175c9&&_0x3175c9[_0x472b93(0x1e2)]?_0x2c2cb0=_0x3175c9['cells'][_0x472b93(0x1f3)](_0x37f028=>_0x37f028[_0x472b93(0x193)]):_0x2c2cb0=[],_0x2c2cb0&&(_0x104592=_0x2c2cb0);}}});if(_0x104592[_0x3b66c1(0x1ac)])return _0x104592;return;};async[a8_0x47f317(0x194)](){const _0x3efdb1=a8_0x47f317,_0x219106={'cDrDg':function(_0x54c2a2){return _0x54c2a2();}};if(this[_0x3efdb1(0x179)])return this[_0x3efdb1(0x1ed)];const _0x596aa1=await _0x219106[_0x3efdb1(0x17b)](getGitMetaData);_0x596aa1&&(this['_gitConfigPath']=_0x596aa1[_0x3efdb1(0x1f2)]),this[_0x3efdb1(0x179)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x47f317(0x194),'getScenarioExamples','getCucumberHookType',a8_0x47f317(0x1c0),a8_0x47f317(0x205),a8_0x47f317(0x176),a8_0x47f317(0x197)]);
|
|
1
|
+
const a8_0x31a40c=a8_0x1b1d;function a8_0x1b1d(_0x389260,_0x506bea){const _0x4bafed=a8_0x4baf();return a8_0x1b1d=function(_0x1b1d49,_0x55bc58){_0x1b1d49=_0x1b1d49-0x1b9;let _0xc741a9=_0x4bafed[_0x1b1d49];return _0xc741a9;},a8_0x1b1d(_0x389260,_0x506bea);}(function(_0x4e8b2c,_0x350d3b){const _0x2eabcc=a8_0x1b1d,_0x223cbc=_0x4e8b2c();while(!![]){try{const _0x400f9f=-parseInt(_0x2eabcc(0x1c3))/0x1*(-parseInt(_0x2eabcc(0x224))/0x2)+-parseInt(_0x2eabcc(0x1ce))/0x3+parseInt(_0x2eabcc(0x24a))/0x4*(-parseInt(_0x2eabcc(0x251))/0x5)+parseInt(_0x2eabcc(0x201))/0x6+parseInt(_0x2eabcc(0x1c4))/0x7*(-parseInt(_0x2eabcc(0x1cf))/0x8)+-parseInt(_0x2eabcc(0x249))/0x9*(parseInt(_0x2eabcc(0x1fa))/0xa)+-parseInt(_0x2eabcc(0x243))/0xb*(-parseInt(_0x2eabcc(0x1df))/0xc);if(_0x400f9f===_0x350d3b)break;else _0x223cbc['push'](_0x223cbc['shift']());}catch(_0xa30181){_0x223cbc['push'](_0x223cbc['shift']());}}}(a8_0x4baf,0x464ae));const path=require(a8_0x31a40c(0x1d7)),util=require(a8_0x31a40c(0x216)),hooksMap={},SessionHandler=require(a8_0x31a40c(0x23f)),testhubUtils=require(a8_0x31a40c(0x236)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x31a40c(0x1fe)),logger=require('../../helpers/logger')['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x31a40c(0x1d9)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x31a40c(0x1d6));this[a8_0x31a40c(0x212)]=![],this[a8_0x31a40c(0x223)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x1bc0a0,_0x3d10eb,_0x32b396,_0x291e90,_0x52a0c8){const _0xae75f4=a8_0x31a40c,_0x1446a6={'hnHLo':function(_0x391917,_0xaef068){return _0x391917===_0xaef068;},'EhwqI':_0xae75f4(0x1ed),'ukVfJ':_0xae75f4(0x208),'nusSz':_0xae75f4(0x21a),'Hgaat':_0xae75f4(0x1e9),'ZDQtd':function(_0x451c0c,_0xa91ae7){return _0x451c0c||_0xa91ae7;},'dQvXE':function(_0x52a710,_0x28a436){return _0x52a710+_0x28a436;},'XcrnN':function(_0x404f18,_0x201c4f){return _0x404f18+_0x201c4f;},'WHbpk':_0xae75f4(0x1e7),'eBBef':'javascript','NcKXh':_0xae75f4(0x1ea),'BRMfm':_0xae75f4(0x1f5),'rlAKO':'passed','unGGZ':function(_0x2f616c,_0x830e7){return _0x2f616c!==_0x830e7;},'MoqUC':function(_0x4961d2,_0x4191c3){return _0x4961d2/_0x4191c3;},'iOtcH':function(_0x12c593,_0x5eee23){return _0x12c593===_0x5eee23;},'KjTSz':'strip-ansi','RZzdZ':function(_0x1562fe,_0x509543){return _0x1562fe(_0x509543);},'fmHLo':_0xae75f4(0x1fd),'KPgET':'AssertionError','MPJOP':_0xae75f4(0x246),'qRMsO':function(_0x39a47e,_0x4b910c){return _0x39a47e===_0x4b910c;},'RCkjL':_0xae75f4(0x1c2),'OIbjI':function(_0x4fe3da,_0x61a5d2){return _0x4fe3da>_0x61a5d2;}},{feature:_0x5da7ed,scenario:_0x63e3f7,steps:_0x11166e,uuid:_0x1712a5,startedAt:_0x545842,finishedAt:_0x3c118e}=_0x1446a6[_0xae75f4(0x235)](_0x52a0c8,{}),_0x1c849c=this[_0xae75f4(0x227)](_0x3d10eb,_0x32b396);await this[_0xae75f4(0x23c)]();const _0x394554=_0x1c849c?_0x1446a6[_0xae75f4(0x1bf)](_0x1446a6[_0xae75f4(0x1bf)](_0x1446a6['XcrnN'](_0x32b396[_0xae75f4(0x231)],'\x20('),_0x1c849c['join'](',\x20')),')'):_0x32b396['name'],_0x216c37={'uuid':_0x1712a5,'started_at':_0x545842,'finished_at':_0x3c118e,'type':_0x1446a6[_0xae75f4(0x23d)],'body':{'lang':_0x1446a6['eBBef'],'code':null},'name':_0x394554,'scopes':[_0x5da7ed&&_0x5da7ed['name']?_0x5da7ed[_0xae75f4(0x231)]:''],'tags':_0x32b396[_0xae75f4(0x240)]?_0x32b396[_0xae75f4(0x240)][_0xae75f4(0x20e)](({name:_0x57a13e})=>_0x57a13e):[],'file_name':_0x32b396[_0xae75f4(0x202)],'location':_0x32b396[_0xae75f4(0x202)],'vc_filepath':this[_0xae75f4(0x223)]&&_0x32b396[_0xae75f4(0x202)]?path['relative'](this['_gitConfigPath'],_0x32b396['uri']):null,'framework':_0x1446a6[_0xae75f4(0x23b)],'result':_0x1446a6[_0xae75f4(0x247)],'meta':{'feature':_0x5da7ed,'scenario':_0x63e3f7,'steps':_0x11166e,'examples':_0x1c849c},'customRerunParam':{'rerun_name':_0x394554}};if(_0x1bc0a0[_0xae75f4(0x1f3)]&&_0x11166e){const _0x253b80=_0x1bc0a0[_0xae75f4(0x1f3)];let _0x3d3792=_0x1446a6[_0xae75f4(0x238)];_0x11166e[_0xae75f4(0x203)](_0x4ed834=>{const _0xf9da9=_0xae75f4;if(_0x1446a6[_0xf9da9(0x209)](_0x4ed834['result'],_0x1446a6['EhwqI']))return _0x3d3792=_0x1446a6[_0xf9da9(0x1ef)],_0x253b80[_0xf9da9(0x1bc)]=_0x4ed834[_0xf9da9(0x1bc)],_0x253b80[_0xf9da9(0x1fb)]=_0x4ed834[_0xf9da9(0x1fb)],![];else{if(_0x1446a6[_0xf9da9(0x209)](_0x4ed834['result'],_0x1446a6[_0xf9da9(0x230)]))return _0x3d3792=_0x1446a6[_0xf9da9(0x1be)],![];}return!![];}),_0x216c37[_0xae75f4(0x1e3)]=new Date()['toISOString'](),_0x216c37[_0xae75f4(0x1d4)]=_0x3d3792;_0x253b80[_0xae75f4(0x1c9)]&&_0x1446a6[_0xae75f4(0x1e4)](_0x253b80[_0xae75f4(0x1c9)][_0xae75f4(0x220)],undefined)?_0x216c37['duration_in_ms']=_0x1446a6['MoqUC'](_0x253b80[_0xae75f4(0x1c9)]['nanos'],0xf4240):_0x216c37[_0xae75f4(0x217)]=undefined;if(_0x1446a6[_0xae75f4(0x1ff)](_0x3d3792,_0x1446a6['ukVfJ'])){const {default:_0x1da0de}=await import(_0x1446a6[_0xae75f4(0x21f)]);_0x216c37['failure']=[{'backtrace':[_0x253b80[_0xae75f4(0x1bc)]?_0x1446a6['RZzdZ'](_0x1da0de,_0x253b80[_0xae75f4(0x1bc)]):_0x1446a6['fmHLo']]}],_0x216c37[_0xae75f4(0x1e6)]=_0x253b80[_0xae75f4(0x1bc)]?_0x1446a6[_0xae75f4(0x211)](_0x1da0de,_0x253b80['failure']):_0x253b80[_0xae75f4(0x20a)],_0x253b80[_0xae75f4(0x1fb)]&&(_0x216c37[_0xae75f4(0x233)]=_0x253b80[_0xae75f4(0x1fb)][_0xae75f4(0x23a)](/AssertError/)?_0x1446a6['KPgET']:_0x1446a6[_0xae75f4(0x1c0)]);}}if(_0x1446a6[_0xae75f4(0x24b)](_0x291e90,_0x1446a6[_0xae75f4(0x1e0)])){const _0x5a0245=this[_0xae75f4(0x210)](_0x1bc0a0['testCaseFinished'][_0xae75f4(0x1cd)]);_0x5a0245&&_0x1446a6[_0xae75f4(0x1f8)](_0x5a0245[_0xae75f4(0x21c)],0x0)&&(_0x216c37[_0xae75f4(0x1bb)]=_0x5a0245,this[_0xae75f4(0x1d1)](_0x1bc0a0[_0xae75f4(0x1f3)][_0xae75f4(0x1cd)],_0x216c37));}testhubUtils[_0xae75f4(0x1cb)](_0x216c37,_0x291e90,'',FRAMEWORKS[_0xae75f4(0x1ee)]);const _0x456fca={};_0x456fca[_0xae75f4(0x20f)]=_0x291e90,_0x456fca['test_run']=_0x216c37;const _0xdbf40b=_0x456fca;await SessionHandler[_0xae75f4(0x1ba)](_0xdbf40b);}[a8_0x31a40c(0x1d1)](_0x34afee,_0x1141a4){const _0x209dd1=a8_0x31a40c,_0x37ea66={};_0x37ea66[_0x209dd1(0x1dc)]=function(_0x19c4fe,_0x289841){return _0x19c4fe instanceof _0x289841;},_0x37ea66[_0x209dd1(0x1c8)]=function(_0x244468,_0x4e8a2b){return _0x244468===_0x4e8a2b;},_0x37ea66[_0x209dd1(0x1f9)]=_0x209dd1(0x208),_0x37ea66[_0x209dd1(0x1d5)]=_0x209dd1(0x241),_0x37ea66['jYyEq']=function(_0xaf7d54,_0x1b88e0){return _0xaf7d54 instanceof _0x1b88e0;};const _0x47db3e=_0x37ea66,_0x363303=hooksMap[_0x34afee];if(_0x47db3e['LRCVS'](_0x363303,Array))for(const _0x27cd13 of _0x363303){if(_0x47db3e[_0x209dd1(0x1c8)](_0x27cd13[_0x209dd1(0x1d4)],_0x47db3e[_0x209dd1(0x1f9)])){const _0x3da8e4=_0x47db3e[_0x209dd1(0x1d5)][_0x209dd1(0x1c5)]('|');let _0x4b1fff=0x0;while(!![]){switch(_0x3da8e4[_0x4b1fff++]){case'0':_0x1141a4[_0x209dd1(0x1bc)]=_0x27cd13[_0x209dd1(0x1d3)];continue;case'1':_0x1141a4[_0x209dd1(0x1e6)]=_0x47db3e[_0x209dd1(0x1dd)](_0x27cd13[_0x209dd1(0x1d3)],Array)?_0x27cd13[_0x209dd1(0x1d3)][0x0]['backtrace'][_0x209dd1(0x1d8)]('\x0a'):'';continue;case'2':_0x1141a4[_0x209dd1(0x233)]=_0x27cd13[_0x209dd1(0x233)];continue;case'3':return _0x1141a4;case'4':_0x1141a4[_0x209dd1(0x1d4)]=_0x27cd13['result'];continue;}break;}}};}[a8_0x31a40c(0x210)](_0x56f30f){if(hooksMap[_0x56f30f])return hooksMap[_0x56f30f]['map'](_0x532e5d=>_0x532e5d['uuid']);return[];}[a8_0x31a40c(0x205)](_0x5e8daa,_0x5e53d8,_0x34216d,_0x500bea,_0x137f88,_0x14ae5d){const _0x52d75c=a8_0x31a40c,_0x367636={'fSrmT':function(_0x1943be,_0x3b0e8c){return _0x1943be===_0x3b0e8c;},'BHaEp':'HookRunFinished','UyzVr':function(_0x497d74,_0x1c7b84,_0x25f640){return _0x497d74(_0x1c7b84,_0x25f640);},'SctUg':_0x52d75c(0x1f6),'rYATP':'uri','JiLBO':_0x52d75c(0x1f5),'senef':_0x52d75c(0x228),'fAobr':'javascript','AMJOE':function(_0x278726,_0x3123fa,_0x39f0b6){return _0x278726(_0x3123fa,_0x39f0b6);},'yuXET':_0x52d75c(0x1f4),'NFekQ':_0x52d75c(0x231),'NkeBk':function(_0x34cdbb,_0xf2d932,_0x403d47){return _0x34cdbb(_0xf2d932,_0x403d47);},'HNdJI':_0x52d75c(0x1ea)};try{if(_0x367636[_0x52d75c(0x1ec)](_0x34216d,_0x367636['BHaEp'])){const _0x29ae98=new Date()[_0x52d75c(0x226)](),_0x282667=hooksMap[_0x5e53d8];if(!_0x282667)return;const _0x6e6a91=_0x282667[_0x52d75c(0x1d0)](_0x24694a=>_0x24694a['uuid']===_0x500bea['id']);if(!_0x6e6a91)return;const _0x122d5c=this['getHookResult'](_0x5e8daa,_0x5e53d8);_0x6e6a91['result']=_0x122d5c[_0x52d75c(0x207)],_0x6e6a91[_0x52d75c(0x1e3)]=_0x29ae98,_0x6e6a91[_0x52d75c(0x233)]=_0x122d5c[_0x52d75c(0x1fb)];const _0x334009={};return _0x334009[_0x52d75c(0x21d)]=_0x122d5c[_0x52d75c(0x1f0)],_0x6e6a91[_0x52d75c(0x1d3)]=[_0x334009],_0x6e6a91;}const _0x2b36dd=TestDetails[_0x52d75c(0x1f1)](_0x5e53d8),_0x8dbc5e=_0x5e8daa[_0x52d75c(0x1bb)][_0x52d75c(0x1d0)](_0xd4c214=>_0xd4c214['id']===_0x500bea[_0x52d75c(0x225)]),_0x5e8202=_0x367636[_0x52d75c(0x1c1)](nestedKeyValue,_0x8dbc5e,[_0x367636['SctUg'],_0x367636[_0x52d75c(0x24f)]]),_0x5b4baf=new Date()['toISOString'](),_0x2fbaf6=_0x367636[_0x52d75c(0x221)],_0x53d629=_0x8dbc5e[_0x52d75c(0x20b)]?_0x8dbc5e[_0x52d75c(0x20b)]['split']('\x20')[_0x52d75c(0x239)](_0x2684a9=>_0x2684a9[_0x52d75c(0x23e)]('@')):[],_0x577ba2={'uuid':_0x500bea['id'],'type':_0x367636['senef'],'hook_type':_0x14ae5d,'name':_0x8dbc5e[_0x52d75c(0x231)],'body':{'lang':_0x367636['fAobr'],'code':null},'tags':_0x53d629,'test_run_id':_0x2b36dd,'scope':_0x367636[_0x52d75c(0x229)](nestedKeyValue,_0x137f88,[_0x367636[_0x52d75c(0x22f)],_0x367636[_0x52d75c(0x218)]]),'scopes':[_0x367636[_0x52d75c(0x24e)](nestedKeyValue,_0x137f88,[_0x367636[_0x52d75c(0x22f)],_0x367636[_0x52d75c(0x218)]])||''],'file_name':_0x5e8202,'location':_0x5e8202,'vc_filepath':this[_0x52d75c(0x223)]?path[_0x52d75c(0x24c)](this[_0x52d75c(0x223)],_0x5e8202):null,'result':_0x2fbaf6,'started_at':_0x5b4baf,'framework':_0x367636[_0x52d75c(0x22b)]};return _0x577ba2;}catch(_0x43d379){logger['debug'](_0x52d75c(0x1d2)+util[_0x52d75c(0x214)](_0x43d379)+'\x20');}}async[a8_0x31a40c(0x242)](_0x3526c8,_0x591fd0,_0x50ae07,_0x379a13,_0x34f0a7,_0x504f48){const _0x1a0d89=a8_0x31a40c,_0x579809={'XHUOD':function(_0x34e0ec,_0x5aac3b){return _0x34e0ec===_0x5aac3b;},'tsjtt':_0x1a0d89(0x222),'dwajK':function(_0x229a1f,_0x245518,_0x2d2b09){return _0x229a1f(_0x245518,_0x2d2b09);},'GzDeO':'sourceReference','tcAiO':_0x1a0d89(0x202),'EeUdt':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x360edf=_0x379a13[_0x1a0d89(0x1d0)](_0x4bb1eb=>_0x4bb1eb['id']===_0x34f0a7);if(!_0x360edf[_0x1a0d89(0x225)])return;const _0x5b637d=this[_0x1a0d89(0x1ca)](_0x379a13,_0x360edf),_0x368d88=this[_0x1a0d89(0x205)](_0x3526c8,_0x591fd0,_0x50ae07,_0x360edf,_0x504f48,_0x5b637d);if(!_0x368d88)return;_0x579809[_0x1a0d89(0x1b9)](_0x50ae07,_0x579809[_0x1a0d89(0x248)])&&(hooksMap[_0x591fd0]?hooksMap[_0x591fd0][_0x1a0d89(0x1e8)](_0x368d88):hooksMap[_0x591fd0]=[_0x368d88]);const _0x4e6ca8=_0x3526c8[_0x1a0d89(0x1bb)][_0x1a0d89(0x1d0)](_0x5658de=>_0x5658de['id']===_0x360edf['hookId']),_0x38132c=_0x579809[_0x1a0d89(0x1f2)](nestedKeyValue,_0x4e6ca8,[_0x579809[_0x1a0d89(0x237)],_0x579809[_0x1a0d89(0x204)]]);if(!_0x38132c)return;else{if(_0x38132c[_0x1a0d89(0x23e)](_0x579809[_0x1a0d89(0x1eb)]))return;}const _0x219245={};_0x219245['event_type']=_0x50ae07,_0x219245[_0x1a0d89(0x22c)]=_0x368d88;const _0x523755=_0x219245;await SessionHandler[_0x1a0d89(0x1ba)](_0x523755);}catch(_0x57614d){logger['debug'](_0x1a0d89(0x219)+util[_0x1a0d89(0x214)](_0x57614d)+'\x20');}}[a8_0x31a40c(0x22e)](_0x4b7bb8,_0x313a09){const _0x51dc37=a8_0x31a40c,_0x1dc1f6={};_0x1dc1f6[_0x51dc37(0x1bd)]=function(_0xfa9bb1,_0x2879c9){return _0xfa9bb1===_0x2879c9;},_0x1dc1f6[_0x51dc37(0x200)]=_0x51dc37(0x208),_0x1dc1f6[_0x51dc37(0x20c)]='UnhandledError',_0x1dc1f6['CYpON']=_0x51dc37(0x21b),_0x1dc1f6[_0x51dc37(0x250)]=function(_0x68e188,_0x529c7b){return _0x68e188||_0x529c7b;};const _0x463ebb=_0x1dc1f6,_0x1e6ea1=_0x4b7bb8[_0x51dc37(0x24d)][_0x313a09][_0x51dc37(0x1e5)];let _0x5eaa7d,_0x286f27;return _0x1e6ea1&&_0x463ebb[_0x51dc37(0x1bd)](_0x1e6ea1[_0x51dc37(0x207)][_0x51dc37(0x20d)]()[_0x51dc37(0x234)](),_0x463ebb[_0x51dc37(0x200)])&&(_0x5eaa7d=_0x463ebb[_0x51dc37(0x1bd)](_0x1e6ea1[_0x51dc37(0x213)],undefined)?_0x1e6ea1['message']:_0x1e6ea1[_0x51dc37(0x213)]['message'],_0x286f27=_0x463ebb['HGoBx'](_0x1e6ea1[_0x51dc37(0x213)],undefined)?_0x463ebb[_0x51dc37(0x20c)]:_0x1e6ea1['message'][_0x51dc37(0x23a)](/Assert/)?_0x463ebb['CYpON']:_0x463ebb['LXYUu']),{'status':_0x1e6ea1[_0x51dc37(0x207)][_0x51dc37(0x234)](),'failureType':_0x463ebb['jZAfh'](_0x286f27,null),'failureData':!_0x5eaa7d?null:[_0x5eaa7d]};}['getCucumberHookType'](_0x45b5bf,_0x1f6556){const _0x59bbea=a8_0x31a40c,_0x5140af={};_0x5140af[_0x59bbea(0x1db)]=function(_0x2fe55b,_0x2702c0){return _0x2fe55b===_0x2702c0;},_0x5140af[_0x59bbea(0x206)]='AFTER_EACH',_0x5140af[_0x59bbea(0x1e1)]='BEFORE_EACH';const _0x2992de=_0x5140af;let _0x27f983=![];for(const _0x1b6671 of _0x45b5bf){_0x1b6671[_0x59bbea(0x1da)]&&(_0x27f983=!![]);if(_0x2992de[_0x59bbea(0x1db)](_0x1f6556['id'],_0x1b6671['id']))return _0x27f983?_0x2992de['hgGAu']:_0x2992de['fFkjs'];}}['getScenarioExamples']=(_0x56e851,_0x274a6b)=>{const _0x2dbde1=a8_0x31a40c,_0x263664={};_0x263664['howPM']=function(_0x54e37f,_0x19f5e7){return _0x54e37f===_0x19f5e7;},_0x263664[_0x2dbde1(0x22d)]=function(_0x5bb219,_0x9e5f30){return _0x5bb219>_0x9e5f30;};const _0x196419=_0x263664;if(!(_0x274a6b[_0x2dbde1(0x1c7)]&&_0x196419['LssKe'](_0x274a6b[_0x2dbde1(0x1c7)]['length'],0x1)))return;const _0x269435=_0x274a6b[_0x2dbde1(0x1c7)][0x0],_0x52d337=_0x274a6b[_0x2dbde1(0x1c7)][0x1],_0x121503=_0x56e851[_0x2dbde1(0x1f4)]&&_0x56e851[_0x2dbde1(0x1f4)][_0x2dbde1(0x1cc)]?_0x56e851[_0x2dbde1(0x1f4)]['children']:undefined;let _0x195fd7=[];_0x121503&&_0x121503[_0x2dbde1(0x245)](_0x3414bd=>{const _0x2ade5e=_0x2dbde1,_0xbacd50={'UjWkY':function(_0x19ec33,_0x1fbf06){return _0x196419['howPM'](_0x19ec33,_0x1fbf06);}};if(_0x3414bd[_0x2ade5e(0x1c6)])_0x3414bd[_0x2ade5e(0x1c6)][_0x2ade5e(0x1cc)]['forEach'](_0x2a60ce=>{const _0x2fe1bb=_0x2ade5e;if(_0x2a60ce[_0x2fe1bb(0x21e)]&&_0xbacd50['UjWkY'](_0x2a60ce[_0x2fe1bb(0x21e)]['id'],_0x269435)&&_0x2a60ce[_0x2fe1bb(0x21e)][_0x2fe1bb(0x1de)]){const _0x51c607=_0x2a60ce[_0x2fe1bb(0x21e)][_0x2fe1bb(0x1de)][_0x2fe1bb(0x22a)](_0x229bac=>_0x229bac[_0x2fe1bb(0x1e2)])[_0x2fe1bb(0x1d0)](_0x518903=>_0x518903['id']===_0x52d337);let _0x59e40a;_0x51c607&&_0x51c607['cells']?_0x59e40a=_0x51c607['cells'][_0x2fe1bb(0x20e)](_0x1db7ed=>_0x1db7ed[_0x2fe1bb(0x232)]):_0x59e40a=[],_0x59e40a&&(_0x195fd7=_0x59e40a);}});else{if(_0x3414bd[_0x2ade5e(0x21e)]&&_0x196419[_0x2ade5e(0x244)](_0x3414bd[_0x2ade5e(0x21e)]['id'],_0x269435)&&_0x3414bd['scenario'][_0x2ade5e(0x1de)]){const _0x2f59b4=_0x3414bd[_0x2ade5e(0x21e)][_0x2ade5e(0x1de)][_0x2ade5e(0x22a)](_0x1445a3=>_0x1445a3[_0x2ade5e(0x1e2)])['find'](_0x2c5f76=>_0x2c5f76['id']===_0x52d337);let _0x3f23ee;_0x2f59b4&&_0x2f59b4['cells']?_0x3f23ee=_0x2f59b4[_0x2ade5e(0x1f7)][_0x2ade5e(0x20e)](_0x380102=>_0x380102['value']):_0x3f23ee=[],_0x3f23ee&&(_0x195fd7=_0x3f23ee);}}});if(_0x195fd7[_0x2dbde1(0x21c)])return _0x195fd7;return;};async[a8_0x31a40c(0x23c)](){const _0x41ce50=a8_0x31a40c,_0x24b9d4={'KChQM':function(_0x1341df){return _0x1341df();}};if(this[_0x41ce50(0x212)])return this[_0x41ce50(0x223)];const _0x1fb492=await _0x24b9d4[_0x41ce50(0x215)](getGitMetaData);_0x1fb492&&(this[_0x41ce50(0x223)]=_0x1fb492[_0x41ce50(0x1fc)]),this['_gitConfigured']=!![];}}function a8_0x4baf(){const _0x3a020d=['_gitConfigPath','4bemITj','hookId','toISOString','getScenarioExamples','hook','AMJOE','flatMap','HNdJI','hook_run','LssKe','getHookResult','yuXET','nusSz','name','value','failure_type','toLowerCase','ZDQtd','../../helpers/testhub/utils','GzDeO','rlAKO','filter','match','NcKXh','configureGit','WHbpk','includes','../../helpers/test-observability/sessionHandler','tags','4|0|1|2|3','sendHook','11sdiHKE','howPM','forEach','UnhandledError','BRMfm','tsjtt','8955ywfRHE','19176drmxMa','qRMsO','relative','testStepFinished','NkeBk','rYATP','jZAfh','395uPKTFO','XHUOD','uploadEventData','hooks','failure','HGoBx','Hgaat','dQvXE','MPJOP','UyzVr','TestRunFinished','205223GruhUU','14hEsDbG','split','rule','astNodeIds','fJVgy','timestamp','getCucumberHookType','appendTesthubParams','children','testCaseStartedId','552057VSJnTt','2027768XkRpRA','find','updateTestStatus','Exception\x20in\x20getHookRunEventData:\x20','failure_data','result','HhQty','../playwright/reporter/test-details','path','join','../../helpers/test-observability/error-handler','pickleStepId','viUNn','LRCVS','jYyEq','examples','9322152UTcAtI','RCkjL','fFkjs','tableBody','finished_at','unGGZ','testStepResult','failure_reason','test','push','skipped','cucumber','EeUdt','fSrmT','FAILED','CUCUMBER','ukVfJ','failureData','getTestUUID','dwajK','testCaseFinished','feature','pending','sourceReference','cells','OIbjI','SwvEz','3650grnmFd','failureType','root','unknown','../../helpers/helper','iOtcH','YhhbX','3200928pSxYBi','uri','every','tcAiO','getHookRunEventData','hgGAu','status','failed','hnHLo','message','tagExpression','LXYUu','toString','map','event_type','getHooksListForTest','RZzdZ','_gitConfigured','exception','format','KChQM','util','duration_in_ms','NFekQ','Exception\x20in\x20sendHook:\x20','SKIPPED','AssertionError','length','backtrace','scenario','KjTSz','nanos','JiLBO','HookRunStarted'];a8_0x4baf=function(){return _0x3a020d;};return a8_0x4baf();}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x31a40c(0x23c),'getScenarioExamples',a8_0x31a40c(0x1ca),a8_0x31a40c(0x22e),a8_0x31a40c(0x242),a8_0x31a40c(0x205),'sendTestRunEventForCucumber']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x4db8ba=a9_0x2ff3;(function(_0x390bfc,_0x273756){const _0x247d37=a9_0x2ff3,_0x4e2357=_0x390bfc();while(!![]){try{const _0x3669f1=-parseInt(_0x247d37(0x200))/0x1+parseInt(_0x247d37(0x281))/0x2*(-parseInt(_0x247d37(0x1d9))/0x3)+parseInt(_0x247d37(0x248))/0x4*(-parseInt(_0x247d37(0x2a7))/0x5)+-parseInt(_0x247d37(0x291))/0x6*(parseInt(_0x247d37(0x264))/0x7)+-parseInt(_0x247d37(0x28a))/0x8+parseInt(_0x247d37(0x277))/0x9*(parseInt(_0x247d37(0x1fa))/0xa)+-parseInt(_0x247d37(0x1e1))/0xb*(-parseInt(_0x247d37(0x2bc))/0xc);if(_0x3669f1===_0x273756)break;else _0x4e2357['push'](_0x4e2357['shift']());}catch(_0x138d67){_0x4e2357['push'](_0x4e2357['shift']());}}}(a9_0xd0b7,0xa0c88));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x4db8ba(0x283)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require('util'),PerformanceTester=require(a9_0x4db8ba(0x2cc)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x4db8ba(0x2b3)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x4db8ba(0x265)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x4db8ba(0x235)),TestDetails=require('../playwright/reporter/test-details.js'),TestInfo=require(a9_0x4db8ba(0x244)),RequestQueueHandler=require(a9_0x4db8ba(0x24b)),{o11yErrorHandler}=require(a9_0x4db8ba(0x215)),MyReporter=require(a9_0x4db8ba(0x203)),SessionHandler=require(a9_0x4db8ba(0x217)),scripts=require(a9_0x4db8ba(0x2ad)),globals=require(a9_0x4db8ba(0x2bb)),testHubConstants=require(a9_0x4db8ba(0x243)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x4db8ba(0x260)),helper=require(a9_0x4db8ba(0x25e)),a9_0x58c615={};a9_0x58c615[a9_0x4db8ba(0x293)]=undefined,a9_0x58c615[a9_0x4db8ba(0x25a)]={},a9_0x58c615['o11ySyncDone']=![],a9_0x58c615[a9_0x4db8ba(0x204)]=null,a9_0x58c615[a9_0x4db8ba(0x266)]=![],a9_0x58c615[a9_0x4db8ba(0x25a)]['id']=undefined,a9_0x58c615[a9_0x4db8ba(0x25a)]['testInfo']=undefined;const workerDetails=a9_0x58c615;global[a9_0x4db8ba(0x262)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x58f54a){const _0x44a445=a9_0x4db8ba,_0x3bced5={'xcCgn':function(_0x4f9687,_0x13c4de){return _0x4f9687(_0x13c4de);},'bjnWE':_0x44a445(0x208),'uSonM':_0x44a445(0x2ae)},_0x2ca554=workerDetails[_0x44a445(0x25a)][_0x44a445(0x2c6)];if(!_0x2ca554)return;if(playwrightPatcher)try{const _0x3c7a22=_0x3bced5['xcCgn'](require,_0x3bced5[_0x44a445(0x233)]);if(_0x3c7a22[_0x44a445(0x219)]()[_0x44a445(0x20d)]()){const _0x52b33d=_0x2ca554[_0x44a445(0x279)];_0x52b33d?(_0x58f54a['uuid']=_0x52b33d,_0x58f54a['test_run_uuid']=_0x52b33d,TestInfo['storeLogObjects'](_0x52b33d,_0x58f54a)):logger[_0x44a445(0x245)](_0x3bced5[_0x44a445(0x1f7)]);return;}}catch(_0x3c3069){logger[_0x44a445(0x245)](_0x44a445(0x1e8)+util['format'](_0x3c3069));}await MyReporter['addTestUIDAndReportLog'](_0x2ca554,_0x58f54a);}),registerListeners=()=>{const _0x539c79=a9_0x4db8ba,_0x77ae32={};_0x77ae32[_0x539c79(0x1f3)]=_0x539c79(0x2ac);const _0x118443=_0x77ae32;logger['debug'](_0x118443[_0x539c79(0x1f3)]),process[_0x539c79(0x2b0)](_0x539c79(0x2a6)+process[_0x539c79(0x21b)]),process['on']('bs:addLog:'+process[_0x539c79(0x21b)],sendTestLog),PerformanceTester[_0x539c79(0x240)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x4db8ba(0x205)],After=cucumberModule['After'],AfterAll=cucumberModule[a9_0x4db8ba(0x242)],BeforeAll=cucumberModule[a9_0x4db8ba(0x234)],AfterStep=cucumberModule[a9_0x4db8ba(0x274)],configuration=process['env'][a9_0x4db8ba(0x2aa)],bstackConfig=process[a9_0x4db8ba(0x28c)][a9_0x4db8ba(0x1df)];function a9_0x2ff3(_0x3bbc5c,_0x317c21){const _0xd0b7e6=a9_0xd0b7();return a9_0x2ff3=function(_0x2ff3f5,_0x21b5f6){_0x2ff3f5=_0x2ff3f5-0x1d3;let _0x5d6767=_0xd0b7e6[_0x2ff3f5];return _0x5d6767;},a9_0x2ff3(_0x3bbc5c,_0x317c21);}if(configuration!==undefined){const config=JSON[a9_0x4db8ba(0x268)](configuration);isBrowserstackInfra()?(global[a9_0x4db8ba(0x275)]=isTrue(config[a9_0x4db8ba(0x2ca)]),global[a9_0x4db8ba(0x1e7)]=isTrue(config['skipSessionStatus'])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x4db8ba(0x1fe)](a9_0x4db8ba(0x2bf))&&(logger[a9_0x4db8ba(0x245)](a9_0x4db8ba(0x1fd)),shouldProcessEventForTesthub()?require('../../index')[a9_0x4db8ba(0x2c1)](config,null,!![]):require(a9_0x4db8ba(0x1d7))[a9_0x4db8ba(0x2c1)](config));global['__platformCaps']=config[a9_0x4db8ba(0x21d)]||{};if(helper['getPackageVersion']('@playwright/test'))try{logger[a9_0x4db8ba(0x245)](a9_0x4db8ba(0x1f1)),playwrightPatcher=require(a9_0x4db8ba(0x1d5)),playwrightPatcher[a9_0x4db8ba(0x246)](config),logger['debug']('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x4a5180){logger[a9_0x4db8ba(0x245)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util['format'](a9_0x4a5180));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x4db8ba(0x268)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x4db8ba(0x28b)](browserStackConfig),commandRepository[a9_0x4db8ba(0x1ea)](a9_0x4db8ba(0x2c9)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0x4db8ba(0x2c3)];cucumberModule['setDefaultTimeout']=_0x9e28f1=>{const _0x22c892=a9_0x4db8ba,_0x2c4cf2={'LSUjP':function(_0x579b4d,_0x2b9921){return _0x579b4d(_0x2b9921);}};global['__timeout']=_0x9e28f1,_0x2c4cf2[_0x22c892(0x23d)](__setDefaultTimeout,_0x9e28f1);};const a9_0x506431={};a9_0x506431[a9_0x4db8ba(0x25b)]=a9_0x4db8ba(0x29a),BeforeAll(a9_0x506431,async function(){const _0xc07790=a9_0x4db8ba,_0x4ce50c={'HjFOQ':function(_0x4c9182,_0x1058e1,_0xa91058,_0x1f70dd){return _0x4c9182(_0x1058e1,_0xa91058,_0x1f70dd);},'QsKvj':_0xc07790(0x29f),'OeBeY':_0xc07790(0x1ef),'IWVyh':function(_0x44ee37,_0x3e1192,_0x3f8f1a){return _0x44ee37(_0x3e1192,_0x3f8f1a);},'GVqhw':_0xc07790(0x2c8),'BkEpC':_0xc07790(0x20b),'AyHqS':function(_0x4b7b5c,_0x5de904){return _0x4b7b5c(_0x5de904);},'eLsle':_0xc07790(0x208),'YbESM':_0xc07790(0x1d6),'mOnPH':_0xc07790(0x1ff),'DILma':function(_0x297b4b){return _0x297b4b();},'ocIdc':function(_0x5d0740,_0x5af1ba){return _0x5d0740(_0x5af1ba);}};PerformanceTester[_0xc07790(0x240)](),logger[_0xc07790(0x245)](_0x4ce50c[_0xc07790(0x294)]),global[_0xc07790(0x214)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x38a87f=_0x4ce50c['AyHqS'](require,_0x4ce50c[_0xc07790(0x24e)]),_0x2c8700=_0x4ce50c[_0xc07790(0x2a5)](require,_0x4ce50c['YbESM']);_0x38a87f[_0xc07790(0x219)]()[_0xc07790(0x257)]()&&(logger[_0xc07790(0x245)](_0x4ce50c[_0xc07790(0x259)]),_0x2c8700[_0xc07790(0x1f0)](FRAMEWORKS[_0xc07790(0x2b1)],FRAMEWORKS[_0xc07790(0x2cb)]),await _0x38a87f['getInstance']()[_0xc07790(0x28e)]());}catch(_0x564b94){logger[_0xc07790(0x245)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0xc07790(0x299)](_0x564b94));}_0x4ce50c[_0xc07790(0x210)](shouldProcessEventForTesthub)&&(_0x4ce50c[_0xc07790(0x210)](registerListeners),_0x4ce50c[_0xc07790(0x2a8)](addRequestSpy,![])),global[_0xc07790(0x21a)]=async()=>{const _0xd436ac=_0xc07790;let _0x4eb209=![];try{global[_0xd436ac(0x2c7)]&&global[_0xd436ac(0x2c7)][0x0]&&(await global[_0xd436ac(0x2c7)][0x0]['session_'],_0x4eb209=!![],global['__sessionFailed']?await _0x4ce50c[_0xd436ac(0x1da)](markSessionStatus,global[_0xd436ac(0x2c7)][0x0],_0x4ce50c[_0xd436ac(0x1e2)],global[_0xd436ac(0x214)]['join'](_0x4ce50c[_0xd436ac(0x276)])):await _0x4ce50c[_0xd436ac(0x225)](markSessionStatus,global[_0xd436ac(0x2c7)][0x0],_0x4ce50c[_0xd436ac(0x1f9)]));}catch(_0xaa083b){logger[_0xd436ac(0x245)](_0xd436ac(0x263)+_0xaa083b);}global[_0xd436ac(0x214)]=[],global[_0xd436ac(0x1dc)]=![];if(_0x4eb209)try{await global['__drivers'][0x0][_0xd436ac(0x221)](),global[_0xd436ac(0x2c7)][0x0][_0xd436ac(0x20c)][_0xd436ac(0x286)](_0x12860c=>{const _0x402163=_0xd436ac;logger[_0x402163(0x245)](_0x402163(0x209)+_0x12860c['getId']());})[_0xd436ac(0x2a1)](_0x176c97=>{});}catch(_0x204ee3){logger[_0xd436ac(0x245)](_0xd436ac(0x29e)+_0x204ee3);}};});const a9_0x49793c={};function a9_0xd0b7(){const _0x5b92fb=['Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','HstaS','\x20|\x20','setFrameworkDetail','Patching\x20Playwright','info','PnXYW','Inside\x20browserstack\x20AfterAll','JbVfx','DeOvi','uSonM','../v2/state/automationFrameworkState','GVqhw','3142560rTjZRZ','length','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','Patching\x20Selenium','getPackageVersion','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','1277503BhhVqy','finally','NDgzI','../playwright/reporter/reporter.js','pwPage','Before','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','wzWKs','../v2/browserstackCLI','Error:\x20in\x20quitting\x20driver\x20','tags','Inside\x20browserstack\x20BeforeAll','session_','isRunning','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','shift','DILma','YmBdV','stopMonitoring','setGlobal','__error_messages__','../../helpers/test-observability/error-handler','patchPageCommandsForAccessibility','../../helpers/test-observability/sessionHandler','bstackA11yShouldScan','getInstance','driverCleanup','pid','uploadEventData','platformCaps','Tnkht','map','BROWSERSTACK_TESTHUB_JWT','initQuit','getTestUUID','HonaH','TuQec','IWVyh','oPOIv','Performing\x20scan\x20before\x20saving\x20results','integrations','Inside\x20browserstack\x20AfterStep','status','dhRkW','\x22}}','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','testFramework','stringify','HeJeA','setTestNameForHealingContext','Error\x20triggering\x20AutomationFramework\x20events:\x20','bjnWE','BeforeAll','../../helpers/test-observability/utils','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','executeAsyncScript','result','trackEvent','4|2|0|1|3','yHUGu','KmExM','LSUjP','Failed:\x20','NHrEG','startMonitoring','aPvkF','AfterAll','../../helpers/testhub/constants.js','../v2/TestInfo.js','debug','initializePlaywrightPatching','ydzVc','4144032hdtSVE','thJwtToken','FtVsT','../../helpers/test-observability/requestQueueHandler','lZdrj','YIYbg','eLsle','toString','uuid','RszfT','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','error','scenario','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','executeDeferredCloses','isCliEnabled','tKYKz','mOnPH','currentTest','name','Error\x20in\x20fallback\x20cleanup:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','../../helpers/helper','Passed','lodash','Completed\x20Playwright\x20afterTestHook\x20execution','__workerDetails','Error:\x20cleaning\x20up\x20driver:\x20','56ytKAWv','../../helpers/testhub/utils','isPageFixture','VaxFY','parse','Error:\x20quiting\x20driver\x20at\x20After:\x20','qlYHy','niidd','yfHcs','PZpfd','cleanup','test_run','WgCUo','HIppZ','Unknown\x20Test','PRE','AfterStep','__skipSessionName','OeBeY','27tvFWWB','abJTy','testCaseStartedId',',\x20isPlaywrightFlow=','Kgque','pickleStep','DliDs','../v2/state/hookState','XKGIS','CBTSessionCreated','2vZZAeG','timeout','../utils/constants','ENV_VAR','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','then','Error:\x20at\x20After\x20(Playwright):\x20','yylvX','Cucumber-JS','5587888FFHpCF','setConfig','env','closeTracker','bootstrap','isAccessibilityPlatform','KFDmm','930504Oqgrha',',\x22level\x22:\x20\x22','workerInfo','BkEpC','oCzsa','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','getGlobal','\x0aError:\x20','format','bstack','EjTpU','riopl','IsNkG','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','failed','message','catch','gEolR','cucumber-test','text','AyHqS','bs:addLog:','5CTkcpZ','ocIdc','Error\x20determining\x20test\x20flow:\x20','CONFIG','saveTestResults','Inside\x20browserstack\x20registerListeners','../../helpers/accessibility-automation/scripts','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','Flow\x20detection:\x20isSeleniumFlow=','removeAllListeners','CUCUMBER','browserstackSessionName','@cucumber/cucumber','Error:\x20at\x20After\x20Step:\x20','executeScript','RwZpt','push','afterTestHook','pickle','QJnBq','../../helpers/globals','63291288FwrqaZ','baMWk','Error\x20executing\x20deferred\x20closes:\x20','@playwright/test','join','browserstackAgentV2','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','setDefaultTimeout','BROWSERSTACK_TESTHUB_UUID','WFOVZ','testInfo','__drivers','passed','cucumber-js','skipSessionName','PLAYWRIGHT','../../helpers/performance/performance-tester','event_type','vrzJP','Error:\x20sendPlatformDetails\x20at\x20After:\x20','../utils/playwright-patcher','../v2/cliUtils','../../index','Inside\x20browserstack\x20Before','3917415kvhxww','HjFOQ','FKPWT','__sessionFailed','beforeTestHook','split','BSTACK_CONFIG','performScan','11hCByEA','QsKvj','NHkJg','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','QUIT','toLowerCase','__skipSessionStatus','Error\x20sending\x20log\x20created\x20event:\x20','getAutomationFramework','setFramework','guhuD','quitCount_'];a9_0xd0b7=function(){return _0x5b92fb;};return a9_0xd0b7();}a9_0x49793c[a9_0x4db8ba(0x25b)]=a9_0x4db8ba(0x29a),a9_0x49793c[a9_0x4db8ba(0x282)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4db8ba(0x289)],Before(a9_0x49793c,function(_0x20bd29,_0x158e60){const _0x1ea4c2=a9_0x4db8ba,_0x29a02f={'VIOoS':function(_0x4cc056,_0x205d6b){return _0x4cc056>_0x205d6b;},'yHUGu':function(_0x321531,_0x149966){return _0x321531>_0x149966;},'NHrEG':function(_0x3b77c9,_0x25db19){return _0x3b77c9(_0x25db19);},'YIYbg':function(_0x265cda,_0x3d7655,_0x7019d7,_0x22b7ac){return _0x265cda(_0x3d7655,_0x7019d7,_0x22b7ac);},'oPOIv':_0x1ea4c2(0x218),'KFDmm':'../v2/browserstackCLI','dhRkW':function(_0x1583b2,_0x194603){return _0x1583b2(_0x194603);},'PZpfd':_0x1ea4c2(0x1f8),'Vacsu':_0x1ea4c2(0x27e),'Lfhyn':_0x1ea4c2(0x272),'vRBSA':'cucumber-test','abJTy':function(_0x3639ae){return _0x3639ae();},'vrzJP':_0x1ea4c2(0x1d8)};commandRepository[_0x1ea4c2(0x231)](_0x20bd29['pickle'][_0x1ea4c2(0x25b)]),logger['debug'](_0x29a02f[_0x1ea4c2(0x1d3)]),new Promise(async _0x40dc9d=>{const _0xd3c07a=_0x1ea4c2;try{global[_0xd3c07a(0x2c7)]&&_0x29a02f['VIOoS'](global[_0xd3c07a(0x2c7)]['length'],0x1)&&(await global[_0xd3c07a(0x21a)](),global[_0xd3c07a(0x2c7)]['shift']()),global['__drivers']&&global['__drivers'][0x0]&&global[_0xd3c07a(0x2c7)][0x0]['quitCount_']&&_0x29a02f[_0xd3c07a(0x23b)](global[_0xd3c07a(0x2c7)][0x0][_0xd3c07a(0x1ec)],0x0)&&await global['driverCleanup']();}catch(_0x3cacca){logger[_0xd3c07a(0x245)](_0xd3c07a(0x20e)+_0x3cacca);}workerDetails['currentTest'][_0xd3c07a(0x2c6)]=_0x20bd29;if(!playwrightPatcher)try{if(!_0x29a02f[_0xd3c07a(0x23f)](isUndefined,_0x20bd29[_0xd3c07a(0x2b9)][_0xd3c07a(0x20a)])){const _0xf18b8e=_0x29a02f[_0xd3c07a(0x24d)](shouldScanTestForAccessibility,null,![],_0x20bd29['pickle'][_0xd3c07a(0x20a)][_0xd3c07a(0x21f)](({name:_0x14bbf9})=>_0x14bbf9));globals[_0xd3c07a(0x213)](_0x29a02f[_0xd3c07a(0x226)],_0xf18b8e);}}catch(_0x3745cd){logger[_0xd3c07a(0x245)](_0xd3c07a(0x1e4)+util[_0xd3c07a(0x299)](_0x3745cd));}if(playwrightPatcher)try{await playwrightPatcher[_0xd3c07a(0x1dd)](_0x20bd29),global[_0xd3c07a(0x262)]&&global[_0xd3c07a(0x262)][_0xd3c07a(0x204)]&&playwrightPatcher[_0xd3c07a(0x216)](global[_0xd3c07a(0x262)]['pwPage']);}catch(_0x57d03d){logger[_0xd3c07a(0x245)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util['format'](_0x57d03d));}if(playwrightPatcher)try{const _0x4924c8=_0x29a02f['NHrEG'](require,_0x29a02f[_0xd3c07a(0x290)]),_0x175777=_0x29a02f[_0xd3c07a(0x22b)](require,_0x29a02f[_0xd3c07a(0x26d)]),_0x5f2f24=_0x29a02f[_0xd3c07a(0x23f)](require,_0x29a02f['Vacsu']);if(_0x4924c8[_0xd3c07a(0x219)]()[_0xd3c07a(0x20d)]()){const _0xb2ae37={'title':_0x20bd29[_0xd3c07a(0x2b9)][_0xd3c07a(0x25b)]||_0x29a02f['Lfhyn'],'titlePath':[_0x20bd29[_0xd3c07a(0x2b9)][_0xd3c07a(0x25b)]||_0x29a02f['Lfhyn']],'id':_0x20bd29['testCaseStartedId']||_0x29a02f['vRBSA'],'tags':_0x20bd29[_0xd3c07a(0x2b9)][_0xd3c07a(0x20a)]||[],..._0x20bd29},_0x30440f=_0xb2ae37;global['__currentTestInfo']=_0x30440f,logger['debug'](_0xd3c07a(0x1fc)+_0x20bd29['pickle']['name']);}}catch(_0x35c7cc){logger[_0xd3c07a(0x245)](_0xd3c07a(0x232)+util[_0xd3c07a(0x299)](_0x35c7cc));}_0x29a02f[_0xd3c07a(0x278)](_0x40dc9d);})[_0x1ea4c2(0x201)](_0x158e60);});const a9_0x130487={};a9_0x130487[a9_0x4db8ba(0x25b)]=a9_0x4db8ba(0x29a),a9_0x130487[a9_0x4db8ba(0x282)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4db8ba(0x289)],After(a9_0x130487,function(_0x30c620,_0x5ee4ae){const _0x11b01c=a9_0x4db8ba,_0x477892={'HonaH':function(_0x2c4418,_0x4bc56e){return _0x2c4418>_0x4bc56e;},'yylvX':function(_0x236cb7,_0x1a4805){return _0x236cb7===_0x1a4805;},'RwZpt':_0x11b01c(0x29f),'HstaS':function(_0x5d4f36,_0x343a6a,_0xd4a926,_0x2be7ee){return _0x5d4f36(_0x343a6a,_0xd4a926,_0x2be7ee);},'QJnBq':'\x20|\x20','IsNkG':function(_0x1442fb,_0x24177c,_0xa2441b){return _0x1442fb(_0x24177c,_0xa2441b);},'XKGIS':_0x11b01c(0x2c8),'WgCUo':function(_0x4ac3a7,_0x41f372){return _0x4ac3a7(_0x41f372);},'yfHcs':_0x11b01c(0x208),'fLhej':function(_0x2d2675,_0x1924fd){return _0x2d2675(_0x1924fd);},'ydzVc':'../v2/state/automationFrameworkState','WFOVZ':_0x11b01c(0x27e),'YmBdV':_0x11b01c(0x272),'tKYKz':_0x11b01c(0x2a3),'guhuD':_0x11b01c(0x261),'FUVKC':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','EjTpU':'Cleaned\x20up\x20close\x20tracker','ZUGvI':_0x11b01c(0x2c2),'Tnkht':_0x11b01c(0x285),'HIppZ':function(_0x38098f,_0x3c441b){return _0x38098f(_0x3c441b);},'riopl':'../v2/browserstackCLI.js','DeOvi':function(_0x5ead30){return _0x5ead30();},'baMWk':_0x11b01c(0x280),'HeJeA':_0x11b01c(0x28f),'DliDs':'bstackA11yShouldScan','JbVfx':_0x11b01c(0x206),'VaxFY':_0x11b01c(0x227),'SDzun':_0x11b01c(0x1ed),'oCzsa':function(_0x498628,_0x541599){return _0x498628>_0x541599;},'Kgque':function(_0x4c569f){return _0x4c569f();},'KmExM':'Inside\x20browserstack\x20After'};logger[_0x11b01c(0x245)](_0x477892[_0x11b01c(0x23c)]),workerDetails[_0x11b01c(0x25a)][_0x11b01c(0x2c6)]=_0x30c620,new Promise(async _0x462539=>{const _0x9f67fe=_0x11b01c;let _0x582d5b=![],_0x31bd20=![],_0xd3b761=![];try{global[_0x9f67fe(0x2c7)]&&_0x477892[_0x9f67fe(0x223)](global[_0x9f67fe(0x2c7)][_0x9f67fe(0x1fb)],0x0)&&(_0x31bd20=!![]),playwrightPatcher&&global[_0x9f67fe(0x262)]&&global[_0x9f67fe(0x262)]['pwPage']&&(_0xd3b761=!![],logger['debug'](_0x9f67fe(0x252)+!!global['__workerDetails'][_0x9f67fe(0x204)]));}catch(_0x36e716){logger[_0x9f67fe(0x245)](_0x9f67fe(0x2a9)+_0x36e716);}logger[_0x9f67fe(0x245)](_0x9f67fe(0x2af)+_0x31bd20+_0x9f67fe(0x27a)+_0xd3b761);const _0x40bfa9=_0x30c620['result'][_0x9f67fe(0x22a)]['toString']()['toLowerCase'](),_0x2d3545=_0x477892[_0x9f67fe(0x288)](_0x40bfa9,_0x477892[_0x9f67fe(0x2b6)])||_0x477892['yylvX'](_0x40bfa9,'6'),_0x76d03b=_0x2d3545?_0x30c620[_0x9f67fe(0x238)]['message']:null;if(_0x2d3545)try{global['__error_messages__'][_0x9f67fe(0x2b7)](_0x30c620['result'][_0x9f67fe(0x2a0)]),global[_0x9f67fe(0x1dc)]=!![];}catch(_0x5936b6){logger[_0x9f67fe(0x245)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x5936b6);}if(_0x31bd20)try{global['__drivers']&&_0x477892[_0x9f67fe(0x223)](global[_0x9f67fe(0x2c7)]['length'],0x1)&&(await global[_0x9f67fe(0x21a)](),global['__drivers'][_0x9f67fe(0x20f)](),global['__error_messages__']=[],global[_0x9f67fe(0x1dc)]=![]),global[_0x9f67fe(0x2c7)]&&global['__drivers'][0x0]&&(await global['__drivers'][0x0]['session_'],_0x582d5b=!![],!global[_0x9f67fe(0x275)]&&await global[_0x9f67fe(0x2c7)][0x0][_0x9f67fe(0x2b5)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x30c620[_0x9f67fe(0x2b9)][_0x9f67fe(0x25b)]+_0x9f67fe(0x22c)),_0x2d3545?await _0x477892[_0x9f67fe(0x1ee)](markSessionStatus,global[_0x9f67fe(0x2c7)][0x0],_0x477892[_0x9f67fe(0x2b6)],global[_0x9f67fe(0x214)][_0x9f67fe(0x2c0)](_0x477892[_0x9f67fe(0x2ba)])):await _0x477892[_0x9f67fe(0x29d)](markSessionStatus,global['__drivers'][0x0],_0x477892[_0x9f67fe(0x27f)]));}catch(_0x45e291){logger[_0x9f67fe(0x245)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x9f67fe(0x299)](_0x45e291));}if(_0xd3b761)try{try{const _0x395640=_0x477892[_0x9f67fe(0x270)](require,_0x477892[_0x9f67fe(0x26c)]),_0x578e74=_0x477892['fLhej'](require,_0x477892[_0x9f67fe(0x247)]),_0x1ca086=_0x477892['WgCUo'](require,_0x477892[_0x9f67fe(0x2c5)]);if(_0x395640[_0x9f67fe(0x219)]()[_0x9f67fe(0x20d)]()){const _0x29da3d={'title':_0x30c620[_0x9f67fe(0x2b9)][_0x9f67fe(0x25b)]||_0x477892[_0x9f67fe(0x211)],'titlePath':[_0x30c620[_0x9f67fe(0x2b9)][_0x9f67fe(0x25b)]||_0x477892[_0x9f67fe(0x211)]],'id':_0x30c620['testCaseStartedId']||_0x477892[_0x9f67fe(0x258)],'status':_0x2d3545?_0x477892[_0x9f67fe(0x2b6)]:_0x477892[_0x9f67fe(0x27f)],'error':_0x76d03b?{'message':_0x76d03b}:null,'tags':_0x30c620[_0x9f67fe(0x2b9)][_0x9f67fe(0x20a)]||[],..._0x30c620},_0x294861=_0x29da3d,_0x1f7fbc={};_0x1f7fbc[_0x9f67fe(0x2c6)]=_0x294861,_0x1f7fbc[_0x9f67fe(0x254)]=_0x30c620,_0x1f7fbc['page']=global[_0x9f67fe(0x262)][_0x9f67fe(0x204)],_0x1f7fbc[_0x9f67fe(0x22e)]=FRAMEWORKS[_0x9f67fe(0x2b1)],await _0x395640['getInstance']()[_0x9f67fe(0x1e9)]()[_0x9f67fe(0x239)](_0x578e74[_0x9f67fe(0x1e5)],_0x1ca086[_0x9f67fe(0x273)],_0x1f7fbc),logger[_0x9f67fe(0x245)](_0x9f67fe(0x236)+_0x30c620['pickle'][_0x9f67fe(0x25b)]);}}catch(_0x544e73){logger['debug']('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x9f67fe(0x299)](_0x544e73));}const _0x4e4ff4=_0x2d3545?_0x477892[_0x9f67fe(0x2b6)]:_0x477892['XKGIS'];await playwrightPatcher[_0x9f67fe(0x2b8)](_0x30c620,_0x4e4ff4,_0x76d03b),logger[_0x9f67fe(0x245)](_0x477892[_0x9f67fe(0x1eb)]);try{await playwrightPatcher[_0x9f67fe(0x256)](),logger[_0x9f67fe(0x245)](_0x477892['FUVKC']);}catch(_0x2d6bf5){logger['debug'](_0x9f67fe(0x2be)+util['format'](_0x2d6bf5));}try{playwrightPatcher['closeTracker']['cleanup'](),logger[_0x9f67fe(0x245)](_0x477892[_0x9f67fe(0x29b)]);}catch(_0x48a380){logger[_0x9f67fe(0x245)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x9f67fe(0x299)](_0x48a380));}}catch(_0x343362){logger[_0x9f67fe(0x245)](_0x9f67fe(0x287)+util['format'](_0x343362));try{playwrightPatcher[_0x9f67fe(0x256)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x9f67fe(0x245)](_0x477892['ZUGvI'])),playwrightPatcher[_0x9f67fe(0x28d)]&&playwrightPatcher[_0x9f67fe(0x28d)][_0x9f67fe(0x26e)]&&(playwrightPatcher[_0x9f67fe(0x28d)][_0x9f67fe(0x26e)](),logger[_0x9f67fe(0x245)](_0x477892[_0x9f67fe(0x21e)]));}catch(_0x343085){logger[_0x9f67fe(0x245)](_0x9f67fe(0x25c)+util[_0x9f67fe(0x299)](_0x343085));}}const _0x280971=_0x477892[_0x9f67fe(0x271)](require,_0x477892[_0x9f67fe(0x29c)]);if(!_0x280971[_0x9f67fe(0x219)]()['isRunning']())try{if(_0x477892[_0x9f67fe(0x1f6)](shouldProcessEventForTesthub)){const _0x5440c5=TestDetails[_0x9f67fe(0x222)](_0x30c620[_0x9f67fe(0x279)]);let _0x515730=null;global[_0x9f67fe(0x2c7)]&&global[_0x9f67fe(0x2c7)][0x0]&&(_0x515730=await _0x477892[_0x9f67fe(0x1ee)](sendPlatformDetails,global[_0x9f67fe(0x2c7)][0x0],_0x5440c5,!![]));const _0xb950ea={};_0xb950ea[_0x9f67fe(0x250)]=_0x5440c5,_0xb950ea[_0x9f67fe(0x228)]=_0x515730;const _0x12fb82=_0xb950ea,_0xc9087c={};_0xc9087c[_0x9f67fe(0x2cd)]=_0x477892[_0x9f67fe(0x2bd)],_0xc9087c[_0x9f67fe(0x26f)]=_0x12fb82,await SessionHandler[_0x9f67fe(0x21c)](_0xc9087c);}}catch(_0x565099){logger['debug'](_0x9f67fe(0x1d4)+util[_0x9f67fe(0x299)](_0x565099));}try{if(globals['getGlobal'](_0x477892[_0x9f67fe(0x230)])&&globals[_0x9f67fe(0x297)](_0x477892[_0x9f67fe(0x27d)])){logger[_0x9f67fe(0x1f2)](_0x477892[_0x9f67fe(0x1f5)]);const _0x316743=TestDetails[_0x9f67fe(0x222)](_0x30c620[_0x9f67fe(0x279)]),_0x42d265={};_0x42d265['thTestRunUuid']=_0x316743,_0x42d265['thBuildUuid']=process['env'][testHubConstants[_0x9f67fe(0x284)][_0x9f67fe(0x2c4)]],_0x42d265[_0x9f67fe(0x249)]=process[_0x9f67fe(0x28c)][testHubConstants[_0x9f67fe(0x284)][_0x9f67fe(0x220)]];const _0x3bde3f=_0x42d265;logger[_0x9f67fe(0x245)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x3bde3f)),logger[_0x9f67fe(0x245)](_0x477892[_0x9f67fe(0x267)]),global[_0x9f67fe(0x2c7)]&&global[_0x9f67fe(0x2c7)][0x0]&&(logger[_0x9f67fe(0x245)](util[_0x9f67fe(0x299)](await global[_0x9f67fe(0x2c7)][0x0][_0x9f67fe(0x237)](scripts[_0x9f67fe(0x1e0)],{'method':global[_0x9f67fe(0x2b2)]}))),await global[_0x9f67fe(0x2c7)][0x0][_0x9f67fe(0x237)](scripts[_0x9f67fe(0x2ab)],_0x3bde3f)),logger[_0x9f67fe(0x1f2)](_0x477892['SDzun']);}}catch(_0x3f1693){logger[_0x9f67fe(0x253)](_0x9f67fe(0x25d)+util[_0x9f67fe(0x299)](_0x3f1693));}if(_0x582d5b)try{global[_0x9f67fe(0x2c7)][0x0]&&_0x477892[_0x9f67fe(0x295)](global[_0x9f67fe(0x2c7)][0x0][_0x9f67fe(0x1ec)],0x0)&&await global[_0x9f67fe(0x2c7)][0x0]['initQuit']();}catch(_0x25f839){logger['debug'](_0x9f67fe(0x269)+_0x25f839);}_0x477892[_0x9f67fe(0x27b)](_0x462539);})[_0x11b01c(0x201)](()=>_0x5ee4ae());});const a9_0x4103f6={};a9_0x4103f6[a9_0x4db8ba(0x25b)]=a9_0x4db8ba(0x29a),a9_0x4103f6[a9_0x4db8ba(0x282)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4db8ba(0x289)],AfterStep(a9_0x4103f6,function(_0x2fb39f,_0x47f949){const _0x51830a=a9_0x4db8ba,_0x58a8a0={'TuQec':function(_0x5a0f4a,_0x7070de){return _0x5a0f4a===_0x7070de;},'NHkJg':_0x51830a(0x29f),'rSAjW':function(_0x388e60,_0x164d86){return _0x388e60!==_0x164d86;},'gEolR':function(_0x5f49c8,_0x1c1ae3,_0x8d767e){return _0x5f49c8(_0x1c1ae3,_0x8d767e);},'FKPWT':function(_0x446f8b,_0x1ffcc9){return _0x446f8b+_0x1ffcc9;},'aPvkF':function(_0x48c845,_0x3f3af6){return _0x48c845+_0x3f3af6;},'RszfT':_0x51830a(0x23e),'MnkUx':_0x51830a(0x298),'thDHE':_0x51830a(0x253),'qCSuQ':function(_0x170908,_0x2b8449){return _0x170908+_0x2b8449;},'hBssC':function(_0x5e9210,_0x3179b6){return _0x5e9210!==_0x3179b6;},'wzWKs':function(_0x43679f,_0x43a904,_0x326832){return _0x43679f(_0x43a904,_0x326832);},'FtVsT':'Passed:\x20','lZdrj':_0x51830a(0x1f2),'RPFrW':_0x51830a(0x25f),'qlYHy':function(_0x42d343){return _0x42d343();},'NDgzI':_0x51830a(0x229)};logger['debug'](_0x58a8a0[_0x51830a(0x202)]);const _0x869a04=async(_0x17e89c,_0x3a9d13)=>{const _0x30d54a=_0x51830a;global[_0x30d54a(0x2c7)]&&global[_0x30d54a(0x2c7)][0x0]&&await global[_0x30d54a(0x2c7)][0x0]['executeScript'](_0x30d54a(0x255)+_0x17e89c+_0x30d54a(0x292)+_0x3a9d13+'\x22}}');};new Promise(async _0x211dc3=>{const _0x400eec=_0x51830a;try{const _0x5ae48f=_0x58a8a0[_0x400eec(0x224)](_0x2fb39f['result'][_0x400eec(0x22a)][_0x400eec(0x24f)]()['toLowerCase'](),_0x58a8a0[_0x400eec(0x1e3)])||_0x58a8a0[_0x400eec(0x224)](_0x2fb39f[_0x400eec(0x238)]['status'][_0x400eec(0x24f)]()[_0x400eec(0x1e6)](),'6');_0x5ae48f?(global['__sessionFailed']=!![],global[_0x400eec(0x214)][_0x400eec(0x2b7)](_0x2fb39f[_0x400eec(0x238)][_0x400eec(0x2a0)]),_0x58a8a0['rSAjW'](_0x2fb39f[_0x400eec(0x27c)],undefined)?await _0x58a8a0[_0x400eec(0x2a2)](_0x869a04,JSON[_0x400eec(0x22f)](_0x58a8a0['FKPWT'](_0x58a8a0[_0x400eec(0x1db)](_0x58a8a0[_0x400eec(0x241)](_0x58a8a0[_0x400eec(0x251)],'\x22'+_0x2fb39f['pickleStep']['text']+'\x22\x20'),_0x58a8a0['MnkUx']),_0x2fb39f[_0x400eec(0x238)][_0x400eec(0x2a0)])),_0x58a8a0['thDHE']):await _0x58a8a0['gEolR'](_0x869a04,JSON[_0x400eec(0x22f)](_0x58a8a0['qCSuQ'](_0x58a8a0[_0x400eec(0x251)],_0x2fb39f[_0x400eec(0x238)]['message'])),_0x58a8a0['thDHE'])):_0x58a8a0['hBssC'](_0x2fb39f[_0x400eec(0x27c)],undefined)?await _0x58a8a0[_0x400eec(0x207)](_0x869a04,JSON[_0x400eec(0x22f)](_0x58a8a0[_0x400eec(0x1db)](_0x58a8a0[_0x400eec(0x24a)],'\x22'+_0x2fb39f['pickleStep'][_0x400eec(0x2a4)]+'\x22')),_0x58a8a0[_0x400eec(0x24c)]):await _0x58a8a0[_0x400eec(0x207)](_0x869a04,JSON['stringify'](_0x58a8a0['RPFrW']),_0x58a8a0[_0x400eec(0x24c)]),global['__drivers']&&global[_0x400eec(0x2c7)][0x0]&&global[_0x400eec(0x2c7)][0x0]['session_'][_0x400eec(0x286)](_0x5d0ff7=>{})[_0x400eec(0x2a1)](_0x58b4e1=>{const _0x2e89d2=_0x400eec;logger[_0x2e89d2(0x245)](_0x2e89d2(0x296)+util[_0x2e89d2(0x299)](_0x58b4e1));});}catch(_0x34e4a9){logger[_0x400eec(0x245)](_0x400eec(0x2b4)+_0x34e4a9);}_0x58a8a0[_0x400eec(0x26a)](_0x211dc3);})[_0x51830a(0x201)](()=>_0x47f949());});const a9_0x20b243={};a9_0x20b243[a9_0x4db8ba(0x25b)]=a9_0x4db8ba(0x29a),a9_0x20b243[a9_0x4db8ba(0x282)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x4db8ba(0x289)],AfterAll(a9_0x20b243,async function(_0x7a246a,_0x52ec74){const _0x172c36=a9_0x4db8ba,_0x347ba1={'niidd':_0x172c36(0x23a),'QsieW':'Cleaned\x20up\x20Playwright\x20close\x20tracker','qIiCd':function(_0x5ddc1e){return _0x5ddc1e();},'xxzPD':_0x172c36(0x1f4)};logger['debug'](_0x347ba1['xxzPD']),await new Promise(async _0x1f81ab=>{const _0x1625a3=_0x172c36,_0x22b7b1=_0x347ba1[_0x1625a3(0x26b)][_0x1625a3(0x1de)]('|');let _0xbbca55=0x0;while(!![]){switch(_0x22b7b1[_0xbbca55++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x1625a3(0x256)]&&(await playwrightPatcher[_0x1625a3(0x256)](),playwrightPatcher[_0x1625a3(0x28d)]&&playwrightPatcher[_0x1625a3(0x28d)]['cleanup'](),logger['debug'](_0x347ba1['QsieW']));}catch(_0x261929){logger[_0x1625a3(0x245)](_0x1625a3(0x22d)+util[_0x1625a3(0x299)](_0x261929));}continue;case'1':await global['driverCleanup']();continue;case'2':PerformanceTester[_0x1625a3(0x212)]();continue;case'3':_0x347ba1['qIiCd'](_0x1f81ab);continue;case'4':await RequestQueueHandler[_0x1625a3(0x219)]()['shutdown']();continue;}break;}});});
|
|
1
|
+
const a9_0x22e13c=a9_0xe357;(function(_0x426d34,_0x1190aa){const _0x2e77b7=a9_0xe357,_0x3334ea=_0x426d34();while(!![]){try{const _0x1f25a9=-parseInt(_0x2e77b7(0x159))/0x1+-parseInt(_0x2e77b7(0x133))/0x2+parseInt(_0x2e77b7(0xf0))/0x3*(-parseInt(_0x2e77b7(0xcd))/0x4)+parseInt(_0x2e77b7(0x142))/0x5*(-parseInt(_0x2e77b7(0x107))/0x6)+-parseInt(_0x2e77b7(0x177))/0x7*(-parseInt(_0x2e77b7(0x126))/0x8)+parseInt(_0x2e77b7(0x103))/0x9+parseInt(_0x2e77b7(0xd3))/0xa;if(_0x1f25a9===_0x1190aa)break;else _0x3334ea['push'](_0x3334ea['shift']());}catch(_0x30e3b7){_0x3334ea['push'](_0x3334ea['shift']());}}}(a9_0x57f5,0x5f934));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x22e13c(0x115)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x22e13c(0xfc)),setKeepAlive=require(a9_0x22e13c(0x163)),util=require(a9_0x22e13c(0x158)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a9_0x22e13c(0x13a)),{commandRepository}=require(a9_0x22e13c(0x17b)),cucumberModule=requireModule(a9_0x22e13c(0x15b),a9_0x22e13c(0xee)),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x22e13c(0x173)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x22e13c(0x17d)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require(a9_0x22e13c(0x191)),{o11yErrorHandler}=require(a9_0x22e13c(0x11b)),MyReporter=require(a9_0x22e13c(0x12b)),SessionHandler=require(a9_0x22e13c(0x1a5)),scripts=require(a9_0x22e13c(0xe9)),globals=require('../../helpers/globals'),testHubConstants=require(a9_0x22e13c(0x150)),{shouldScanTestForAccessibility}=require(a9_0x22e13c(0x1a7)),{isUndefined}=require('lodash'),helper=require(a9_0x22e13c(0x115)),a9_0x28eb8c={};a9_0x28eb8c[a9_0x22e13c(0x1a2)]=undefined,a9_0x28eb8c[a9_0x22e13c(0xc5)]={},a9_0x28eb8c[a9_0x22e13c(0xd0)]=![],a9_0x28eb8c[a9_0x22e13c(0xfa)]=null,a9_0x28eb8c[a9_0x22e13c(0x108)]=![],a9_0x28eb8c[a9_0x22e13c(0xc5)]['id']=undefined,a9_0x28eb8c[a9_0x22e13c(0xc5)]['testInfo']=undefined;const workerDetails=a9_0x28eb8c;global[a9_0x22e13c(0x135)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x493fb3){const _0x20d2b7=a9_0x22e13c,_0x4060be={'uxKij':function(_0x56a228,_0x648eb8){return _0x56a228(_0x648eb8);},'olTja':_0x20d2b7(0xf7),'fPtaG':_0x20d2b7(0x152)},_0xeb6829=workerDetails[_0x20d2b7(0xc5)]['testInfo'];if(!_0xeb6829)return;if(playwrightPatcher)try{const _0x41f7b7=_0x4060be[_0x20d2b7(0x188)](require,_0x4060be[_0x20d2b7(0x122)]);if(_0x41f7b7['getInstance']()[_0x20d2b7(0x181)]()){const _0x4ecc9f=_0xeb6829[_0x20d2b7(0x11f)];_0x4ecc9f?(_0x493fb3[_0x20d2b7(0x104)]=_0x4ecc9f,_0x493fb3[_0x20d2b7(0x1af)]=_0x4ecc9f,TestInfo[_0x20d2b7(0x197)](_0x4ecc9f,_0x493fb3)):logger['debug'](_0x4060be[_0x20d2b7(0x168)]);return;}}catch(_0x7b0093){logger[_0x20d2b7(0x129)](_0x20d2b7(0xc6)+util['format'](_0x7b0093));}await MyReporter[_0x20d2b7(0xc3)](_0xeb6829,_0x493fb3);}),registerListeners=()=>{const _0x5b523e=a9_0x22e13c,_0x5a8a18={};_0x5a8a18['oUkFs']=_0x5b523e(0x161);const _0x225076=_0x5a8a18;logger[_0x5b523e(0x129)](_0x225076[_0x5b523e(0x13b)]),process['removeAllListeners'](_0x5b523e(0x116)+process[_0x5b523e(0x1b0)]),process['on'](_0x5b523e(0x116)+process['pid'],sendTestLog),PerformanceTester[_0x5b523e(0x1a4)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x22e13c(0xde)],After=cucumberModule[a9_0x22e13c(0xf9)],AfterAll=cucumberModule[a9_0x22e13c(0xda)],BeforeAll=cucumberModule[a9_0x22e13c(0x138)],AfterStep=cucumberModule[a9_0x22e13c(0x147)],configuration=process[a9_0x22e13c(0xc4)][a9_0x22e13c(0x119)],bstackConfig=process[a9_0x22e13c(0xc4)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x22e13c(0xf1)](configuration);isBrowserstackInfra()?(global[a9_0x22e13c(0x18f)]=isTrue(config['skipSessionName']),global[a9_0x22e13c(0xe5)]=isTrue(config[a9_0x22e13c(0xbe)])):(global[a9_0x22e13c(0x18f)]=!![],global[a9_0x22e13c(0xe5)]=!![]);!helper['getPackageVersion']('@playwright/test')&&(logger[a9_0x22e13c(0x129)]('Patching\x20Selenium'),shouldProcessEventForTesthub()?require('../../index')[a9_0x22e13c(0x196)](config,null,!![]):require('../../index')[a9_0x22e13c(0x196)](config));global[a9_0x22e13c(0x14a)]=config[a9_0x22e13c(0x179)]||{};if(helper[a9_0x22e13c(0xcf)](a9_0x22e13c(0x109)))try{logger[a9_0x22e13c(0x129)]('Patching\x20Playwright'),playwrightPatcher=require(a9_0x22e13c(0xe0)),playwrightPatcher[a9_0x22e13c(0x16d)](config),logger[a9_0x22e13c(0x129)](a9_0x22e13c(0x127));}catch(a9_0x262d88){logger['debug'](a9_0x22e13c(0x172)+util[a9_0x22e13c(0x123)](a9_0x262d88));}}function a9_0xe357(_0xeee78b,_0x1610f3){const _0x57f5a9=a9_0x57f5();return a9_0xe357=function(_0xe357ab,_0x58fe40){_0xe357ab=_0xe357ab-0xbe;let _0x2fe309=_0x57f5a9[_0xe357ab];return _0x2fe309;},a9_0xe357(_0xeee78b,_0x1610f3);}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x22e13c(0xf1)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x22e13c(0x132)](browserStackConfig),commandRepository['setFramework'](a9_0x22e13c(0x193)));}global[a9_0x22e13c(0x18a)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x22e13c(0x134)];cucumberModule[a9_0x22e13c(0x134)]=_0x5e8bb8=>{const _0xb7919=a9_0x22e13c,_0x26f930={'kneTo':function(_0x5986b3,_0x5b3920){return _0x5986b3(_0x5b3920);}};global[_0xb7919(0x18a)]=_0x5e8bb8,_0x26f930[_0xb7919(0x110)](__setDefaultTimeout,_0x5e8bb8);};const a9_0x23b2ed={};function a9_0x57f5(){const _0x49d1e7=['rHPEK','../utils/constants','Performing\x20scan\x20before\x20saving\x20results','JhStG','Error:\x20cleaning\x20up\x20driver:\x20','__currentTestInfo','driverCleanup','testInfo','1261395qnyTde','uuid','oghvE','PRE','426laGKHs','isPageFixture','@playwright/test','Error\x20determining\x20test\x20flow:\x20','Error:\x20at\x20After\x20Step:\x20','UYJUb','bWjJM','VmvNw','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','kneTo','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','ZwJSc','Inside\x20browserstack\x20BeforeAll','mmPqc','../../helpers/helper','bs:addLog:','isCliEnabled','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','CONFIG','\x0aError:\x20','../../helpers/test-observability/error-handler','timeout','CBTSessionCreated','passed','testCaseStartedId','beoth','__drivers','olTja','format','kZhVh','stringify','3226712drORgy','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','debug','name','../playwright/reporter/reporter.js','iwvZu','Error:\x20at\x20After\x20(Playwright):\x20','uploadEventData','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','Failed:\x20','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','setConfig','1211844QMYTil','setDefaultTimeout','__workerDetails','Inside\x20browserstack\x20AfterStep','tags','BeforeAll','ODleH','../../helpers/performance/constants','oUkFs','split','XmGJM','VJrUn','cucumber-test','error','Error:\x20quiting\x20driver\x20at\x20After:\x20','35390XoIvnH','Completed\x20Playwright\x20afterTestHook\x20execution','bstackA11yShouldScan','getAutomationFramework','tstfh','AfterStep','__error_messages__','length','__platformCaps','UaRjn','bootstrap','quitCount_','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','thTestRunUuid','../../helpers/testhub/constants.js','event_type','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','avLnO','mYpIn','cleanup','../v2/cliUtils','jpspa','util','425886zeROLr','message','@cucumber/cucumber/lib/index.js','initQuit','izgwX','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','\x20|\x20','Error\x20executing\x20deferred\x20closes:\x20','Inside\x20browserstack\x20registerListeners','result','../../helpers/setKeepAlive','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','executeAsyncScript','pickleStep','pickle','fPtaG','Cleaned\x20up\x20Playwright\x20close\x20tracker','info','finally','trackEvent','initializePlaywrightPatching','IXXQI','toLowerCase','session_',',\x22level\x22:\x20\x22','Error\x20initializing\x20Playwright\x20patching:\x20','../../helpers/testhub/utils','Error\x20in\x20fallback\x20cleanup:\x20','scenario','integrations','7IiHwYl','\x22}}','platformCaps','BROWSERSTACK_TESTHUB_JWT','../../helpers/ai-sdk/autoHealHelper','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','../playwright/reporter/test-details.js','CUCUMBER','Inside\x20browserstack\x20After','RZlDl','isRunning','thBuildUuid','push','Cleaned\x20up\x20close\x20tracker','getTestUUID','closeTracker','Qhzrm','uxKij','testFramework','__timeout','ENV_VAR','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','nqPgf','mcbNK','__skipSessionName','OXXlZ','../../helpers/test-observability/requestQueueHandler','efmkC','cucumber-js','performScan','stopMonitoring','browserstackAgentV2','storeLogObjects','failed','kIBUp','QUIT','BquPs','thJwtToken','catch','PLAYWRIGHT','Cucumber-JS','umlnX','PEdcl','workerInfo','RqBWz','startMonitoring','../../helpers/test-observability/sessionHandler','status','../../helpers/accessibility-automation/helper','getInstance','uxcDv','erAyS','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','afterTestHook','executeScript','then','test_run_uuid','pid','__sessionFailed','skipSessionStatus','pgPJx','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','nVUwA','VcDYv','addTestUIDAndReportLog','env','currentTest','Error\x20sending\x20log\x20created\x20event:\x20','bstack','executeDeferredCloses','beforeTestHook','Vhiwl','suNxQ','OfePy','78308DTRBUr','zHKVc','getPackageVersion','o11ySyncDone','../v2/state/automationFrameworkState','TWTDW','21458310RxHaMK','toString','JImTT','JRfkA','WhTXe','Error:\x20at\x20After\x20(Selenium):\x20','../v2/state/hookState','AfterAll','join','BROWSERSTACK_TESTHUB_UUID','soQiC','Before','HGtLA','../utils/playwright-patcher','isAccessibilityPlatform','rpwnU','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','jCCuH','__skipSessionStatus','getGlobal','Error\x20in\x20playwright\x20beforeTestHook:\x20','VDFtq','../../helpers/accessibility-automation/scripts','../v2/browserstackCLI.js','text','page','ARJAD','@cucumber/cucumber','qpVgw','117cIKhSK','parse','Unknown\x20Test','shift','tzvan','HKRlb','saveTestResults','../v2/browserstackCLI','HGNES','After','pwPage'];a9_0x57f5=function(){return _0x49d1e7;};return a9_0x57f5();}a9_0x23b2ed['name']=a9_0x22e13c(0xc7),BeforeAll(a9_0x23b2ed,async function(){const _0x5829d9=a9_0x22e13c,_0x273959={'BquPs':function(_0x1d6c29,_0xf76336,_0x16204c,_0x4619c0){return _0x1d6c29(_0xf76336,_0x16204c,_0x4619c0);},'JBuJd':_0x5829d9(0x198),'uxcDv':_0x5829d9(0x15f),'HZePK':function(_0x2e3d0a,_0x3a5cc3,_0x2b8097){return _0x2e3d0a(_0x3a5cc3,_0x2b8097);},'NHFkl':_0x5829d9(0x11e),'tzvan':_0x5829d9(0x113),'ARJAD':function(_0x428950,_0x37f160){return _0x428950(_0x37f160);},'jpspa':_0x5829d9(0xf7),'avLnO':function(_0x561773,_0x27fdb9){return _0x561773(_0x27fdb9);},'efmkC':_0x5829d9(0x156),'HGNES':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','suNxQ':function(_0x1296bb){return _0x1296bb();}};PerformanceTester[_0x5829d9(0x1a4)](),logger['debug'](_0x273959[_0x5829d9(0xf4)]),global[_0x5829d9(0x148)]=[],global[_0x5829d9(0x1b1)]=![];if(playwrightPatcher)try{const _0x513986=_0x273959[_0x5829d9(0xed)](require,_0x273959[_0x5829d9(0x157)]),_0x5da0e5=_0x273959[_0x5829d9(0x153)](require,_0x273959[_0x5829d9(0x192)]);_0x513986[_0x5829d9(0x1a8)]()[_0x5829d9(0x117)]()&&(logger['debug'](_0x273959[_0x5829d9(0xf8)]),_0x5da0e5['setFrameworkDetail'](FRAMEWORKS[_0x5829d9(0x17e)],FRAMEWORKS[_0x5829d9(0x19e)]),await _0x513986[_0x5829d9(0x1a8)]()[_0x5829d9(0x14c)]());}catch(_0x30cbbb){logger[_0x5829d9(0x129)](_0x5829d9(0x128)+util['format'](_0x30cbbb));}_0x273959[_0x5829d9(0xcb)](shouldProcessEventForTesthub)&&(_0x273959[_0x5829d9(0xcb)](registerListeners),_0x273959[_0x5829d9(0x153)](addRequestSpy,![])),global[_0x5829d9(0x101)]=async()=>{const _0x57e3ce=_0x5829d9;let _0x17e30f=![];try{global[_0x57e3ce(0x121)]&&global[_0x57e3ce(0x121)][0x0]&&(await global[_0x57e3ce(0x121)][0x0][_0x57e3ce(0x170)],_0x17e30f=!![],global['__sessionFailed']?await _0x273959[_0x57e3ce(0x19b)](markSessionStatus,global['__drivers'][0x0],_0x273959['JBuJd'],global[_0x57e3ce(0x148)][_0x57e3ce(0xdb)](_0x273959[_0x57e3ce(0x1a9)])):await _0x273959['HZePK'](markSessionStatus,global['__drivers'][0x0],_0x273959['NHFkl']));}catch(_0x9b1696){logger['debug'](_0x57e3ce(0xff)+_0x9b1696);}global['__error_messages__']=[],global[_0x57e3ce(0x1b1)]=![];if(_0x17e30f)try{await global['__drivers'][0x0]['initQuit'](),global[_0x57e3ce(0x121)][0x0]['session_'][_0x57e3ce(0x1ae)](_0x283715=>{logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x283715['getId']());})[_0x57e3ce(0x19d)](_0x12f10e=>{});}catch(_0x1732fb){logger[_0x57e3ce(0x129)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x1732fb);}};});const a9_0x30d2a6={};a9_0x30d2a6['name']=a9_0x22e13c(0xc7),a9_0x30d2a6['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x22e13c(0x19f)],Before(a9_0x30d2a6,function(_0x2e952a,_0x5818b9){const _0x574d9b=a9_0x22e13c,_0x559837={'qpVgw':function(_0x5924bf,_0x3fb020){return _0x5924bf>_0x3fb020;},'mmPqc':function(_0x3f633d,_0x17e90c){return _0x3f633d>_0x17e90c;},'soQiC':function(_0x4f35b2,_0xf81dd4){return _0x4f35b2(_0xf81dd4);},'fudZG':function(_0x4b0c30,_0x2d4a40,_0x224175,_0x40732d){return _0x4b0c30(_0x2d4a40,_0x224175,_0x40732d);},'erAyS':_0x574d9b(0x144),'izgwX':_0x574d9b(0xf7),'VcDYv':'../v2/state/automationFrameworkState','ODleH':_0x574d9b(0xd9),'umlnX':'Unknown\x20Test','PnLJe':_0x574d9b(0x13f),'HGtLA':function(_0x128db9){return _0x128db9();},'rHPEK':'Inside\x20browserstack\x20Before'};commandRepository['setTestNameForHealingContext'](_0x2e952a[_0x574d9b(0x167)][_0x574d9b(0x12a)]),logger[_0x574d9b(0x129)](_0x559837[_0x574d9b(0xfb)]),new Promise(async _0x5ef192=>{const _0x1d8e2e=_0x574d9b;try{global[_0x1d8e2e(0x121)]&&_0x559837[_0x1d8e2e(0xef)](global[_0x1d8e2e(0x121)][_0x1d8e2e(0x149)],0x1)&&(await global[_0x1d8e2e(0x101)](),global[_0x1d8e2e(0x121)][_0x1d8e2e(0xf3)]()),global['__drivers']&&global[_0x1d8e2e(0x121)][0x0]&&global[_0x1d8e2e(0x121)][0x0][_0x1d8e2e(0x14d)]&&_0x559837[_0x1d8e2e(0x114)](global[_0x1d8e2e(0x121)][0x0][_0x1d8e2e(0x14d)],0x0)&&await global[_0x1d8e2e(0x101)]();}catch(_0x1702c4){logger['debug'](_0x1d8e2e(0x15e)+_0x1702c4);}workerDetails[_0x1d8e2e(0xc5)][_0x1d8e2e(0x102)]=_0x2e952a;if(!playwrightPatcher)try{if(!_0x559837['soQiC'](isUndefined,_0x2e952a['pickle'][_0x1d8e2e(0x137)])){const _0x53371e=_0x559837['fudZG'](shouldScanTestForAccessibility,null,![],_0x2e952a[_0x1d8e2e(0x167)][_0x1d8e2e(0x137)]['map'](({name:_0x247788})=>_0x247788));globals['setGlobal'](_0x559837[_0x1d8e2e(0x1aa)],_0x53371e);}}catch(_0x263df5){logger[_0x1d8e2e(0x129)]('Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20'+util[_0x1d8e2e(0x123)](_0x263df5));}if(playwrightPatcher)try{await playwrightPatcher[_0x1d8e2e(0xc9)](_0x2e952a),global[_0x1d8e2e(0x135)]&&global['__workerDetails'][_0x1d8e2e(0xfa)]&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x1d8e2e(0x135)][_0x1d8e2e(0xfa)]);}catch(_0x22627a){logger[_0x1d8e2e(0x129)](_0x1d8e2e(0xe7)+util[_0x1d8e2e(0x123)](_0x22627a));}if(playwrightPatcher)try{const _0x1c0b45=_0x559837[_0x1d8e2e(0xdd)](require,_0x559837[_0x1d8e2e(0x15d)]),_0x51a4c4=_0x559837[_0x1d8e2e(0xdd)](require,_0x559837[_0x1d8e2e(0xc2)]),_0x50aede=_0x559837[_0x1d8e2e(0xdd)](require,_0x559837[_0x1d8e2e(0x139)]);if(_0x1c0b45[_0x1d8e2e(0x1a8)]()[_0x1d8e2e(0x181)]()){const _0x5b0a38={'title':_0x2e952a['pickle'][_0x1d8e2e(0x12a)]||_0x559837['umlnX'],'titlePath':[_0x2e952a[_0x1d8e2e(0x167)][_0x1d8e2e(0x12a)]||_0x559837[_0x1d8e2e(0x1a0)]],'id':_0x2e952a['testCaseStartedId']||_0x559837['PnLJe'],'tags':_0x2e952a[_0x1d8e2e(0x167)][_0x1d8e2e(0x137)]||[],..._0x2e952a},_0x2ef19e=_0x5b0a38;global[_0x1d8e2e(0x100)]=_0x2ef19e,logger[_0x1d8e2e(0x129)](_0x1d8e2e(0x18c)+_0x2e952a[_0x1d8e2e(0x167)][_0x1d8e2e(0x12a)]);}}catch(_0xd91a40){logger['debug']('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x1d8e2e(0x123)](_0xd91a40));}_0x559837[_0x1d8e2e(0xdf)](_0x5ef192);})[_0x574d9b(0x16b)](_0x5818b9);});const a9_0x4fe269={};a9_0x4fe269[a9_0x22e13c(0x12a)]=a9_0x22e13c(0xc7),a9_0x4fe269[a9_0x22e13c(0x11c)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x22e13c(0x19f)],After(a9_0x4fe269,function(_0x38fab3,_0x56c598){const _0x1ffce0=a9_0x22e13c,_0x1e3d80={'spSxI':function(_0x227ac6,_0x2fad85){return _0x227ac6>_0x2fad85;},'oghvE':function(_0x47cbba,_0x4d15b1){return _0x47cbba===_0x4d15b1;},'Vhiwl':_0x1ffce0(0x198),'UYJUb':function(_0x1a72e6,_0x573ad7){return _0x1a72e6>_0x573ad7;},'ZwJSc':function(_0x3f66bb,_0x3b4caa,_0xc9a679,_0x5ac274){return _0x3f66bb(_0x3b4caa,_0xc9a679,_0x5ac274);},'tivUL':'\x20|\x20','mNKPH':function(_0x17a803,_0x8c38ab,_0x1fa093){return _0x17a803(_0x8c38ab,_0x1fa093);},'AgFXe':_0x1ffce0(0x11e),'tstfh':function(_0x517fba,_0x3d48d9){return _0x517fba(_0x3d48d9);},'XmGJM':_0x1ffce0(0xf7),'JImTT':_0x1ffce0(0xd1),'TWTDW':_0x1ffce0(0xd9),'zHKVc':_0x1ffce0(0xf2),'VDFtq':_0x1ffce0(0x13f),'LrBZh':_0x1ffce0(0x143),'gXxzQ':_0x1ffce0(0xe3),'nqPgf':_0x1ffce0(0x184),'HKRlb':_0x1ffce0(0xc0),'kZhVh':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','mcbNK':_0x1ffce0(0xea),'nVUwA':function(_0x428450){return _0x428450();},'uTZJJ':function(_0x2558d2,_0x1bb7aa,_0x5bbf0b,_0x45af65){return _0x2558d2(_0x1bb7aa,_0x5bbf0b,_0x45af65);},'jCCuH':_0x1ffce0(0x11d),'PEdcl':_0x1ffce0(0xe1),'EuozB':_0x1ffce0(0x144),'JhStG':_0x1ffce0(0x111),'lDsch':_0x1ffce0(0xfd),'VLeWJ':_0x1ffce0(0x164),'Qhzrm':function(_0x2cfb29,_0x166165){return _0x2cfb29>_0x166165;},'RqBWz':function(_0x850a37){return _0x850a37();},'pgPJx':_0x1ffce0(0x17f)};logger[_0x1ffce0(0x129)](_0x1e3d80[_0x1ffce0(0xbf)]),workerDetails[_0x1ffce0(0xc5)][_0x1ffce0(0x102)]=_0x38fab3,new Promise(async _0x100af6=>{const _0x42d88c=_0x1ffce0;let _0x5ae889=![],_0xcea239=![],_0x2e7586=![];try{global[_0x42d88c(0x121)]&&_0x1e3d80['spSxI'](global[_0x42d88c(0x121)][_0x42d88c(0x149)],0x0)&&(_0xcea239=!![]),playwrightPatcher&&global[_0x42d88c(0x135)]&&global[_0x42d88c(0x135)][_0x42d88c(0xfa)]&&(_0x2e7586=!![],logger[_0x42d88c(0x129)](_0x42d88c(0x12f)+!!global['__workerDetails'][_0x42d88c(0xfa)]));}catch(_0x46fda3){logger[_0x42d88c(0x129)](_0x42d88c(0x10a)+_0x46fda3);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0xcea239+',\x20isPlaywrightFlow='+_0x2e7586);const _0xa15bf7=_0x38fab3['result'][_0x42d88c(0x1a6)][_0x42d88c(0xd4)]()[_0x42d88c(0x16f)](),_0xe49dfe=_0x1e3d80['oghvE'](_0xa15bf7,_0x1e3d80['Vhiwl'])||_0x1e3d80[_0x42d88c(0x105)](_0xa15bf7,'6'),_0x430e1d=_0xe49dfe?_0x38fab3[_0x42d88c(0x162)][_0x42d88c(0x15a)]:null;if(_0xe49dfe)try{global[_0x42d88c(0x148)][_0x42d88c(0x183)](_0x38fab3[_0x42d88c(0x162)]['message']),global['__sessionFailed']=!![];}catch(_0x116d78){logger[_0x42d88c(0x129)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x116d78);}if(_0xcea239)try{global[_0x42d88c(0x121)]&&_0x1e3d80[_0x42d88c(0x10c)](global[_0x42d88c(0x121)][_0x42d88c(0x149)],0x1)&&(await global[_0x42d88c(0x101)](),global[_0x42d88c(0x121)][_0x42d88c(0xf3)](),global['__error_messages__']=[],global[_0x42d88c(0x1b1)]=![]),global[_0x42d88c(0x121)]&&global[_0x42d88c(0x121)][0x0]&&(await global[_0x42d88c(0x121)][0x0][_0x42d88c(0x170)],_0x5ae889=!![],!global[_0x42d88c(0x18f)]&&await global['__drivers'][0x0][_0x42d88c(0x1ad)](_0x42d88c(0x10f)+_0x38fab3[_0x42d88c(0x167)][_0x42d88c(0x12a)]+'\x22}}'),_0xe49dfe?await _0x1e3d80[_0x42d88c(0x112)](markSessionStatus,global[_0x42d88c(0x121)][0x0],_0x1e3d80[_0x42d88c(0xca)],global[_0x42d88c(0x148)][_0x42d88c(0xdb)](_0x1e3d80['tivUL'])):await _0x1e3d80['mNKPH'](markSessionStatus,global['__drivers'][0x0],_0x1e3d80['AgFXe']));}catch(_0x1e94cf){logger[_0x42d88c(0x129)](_0x42d88c(0xd8)+util['format'](_0x1e94cf));}if(_0x2e7586)try{try{const _0x17a67e=_0x1e3d80['tstfh'](require,_0x1e3d80[_0x42d88c(0x13d)]),_0x2b6f09=_0x1e3d80[_0x42d88c(0x146)](require,_0x1e3d80[_0x42d88c(0xd5)]),_0x7052f4=_0x1e3d80[_0x42d88c(0x146)](require,_0x1e3d80[_0x42d88c(0xd2)]);if(_0x17a67e[_0x42d88c(0x1a8)]()[_0x42d88c(0x181)]()){const _0x69737={'title':_0x38fab3[_0x42d88c(0x167)][_0x42d88c(0x12a)]||_0x1e3d80[_0x42d88c(0xce)],'titlePath':[_0x38fab3[_0x42d88c(0x167)][_0x42d88c(0x12a)]||_0x1e3d80[_0x42d88c(0xce)]],'id':_0x38fab3[_0x42d88c(0x11f)]||_0x1e3d80[_0x42d88c(0xe8)],'status':_0xe49dfe?_0x1e3d80['Vhiwl']:_0x1e3d80['AgFXe'],'error':_0x430e1d?{'message':_0x430e1d}:null,'tags':_0x38fab3[_0x42d88c(0x167)][_0x42d88c(0x137)]||[],..._0x38fab3},_0x5d3b94=_0x69737,_0x22fda5={};_0x22fda5[_0x42d88c(0x102)]=_0x5d3b94,_0x22fda5[_0x42d88c(0x175)]=_0x38fab3,_0x22fda5[_0x42d88c(0xec)]=global['__workerDetails'][_0x42d88c(0xfa)],_0x22fda5[_0x42d88c(0x189)]=FRAMEWORKS[_0x42d88c(0x17e)],await _0x17a67e[_0x42d88c(0x1a8)]()[_0x42d88c(0x145)]()[_0x42d88c(0x16c)](_0x2b6f09[_0x42d88c(0x19a)],_0x7052f4[_0x42d88c(0x106)],_0x22fda5),logger[_0x42d88c(0x129)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x38fab3[_0x42d88c(0x167)][_0x42d88c(0x12a)]);}}catch(_0x1cb5a2){logger[_0x42d88c(0x129)](_0x42d88c(0x131)+util[_0x42d88c(0x123)](_0x1cb5a2));}const _0x528882=_0xe49dfe?_0x1e3d80[_0x42d88c(0xca)]:_0x1e3d80['AgFXe'];await playwrightPatcher[_0x42d88c(0x1ac)](_0x38fab3,_0x528882,_0x430e1d),logger[_0x42d88c(0x129)](_0x1e3d80['LrBZh']);try{await playwrightPatcher[_0x42d88c(0xc8)](),logger[_0x42d88c(0x129)](_0x1e3d80['gXxzQ']);}catch(_0x487b27){logger[_0x42d88c(0x129)](_0x42d88c(0x160)+util[_0x42d88c(0x123)](_0x487b27));}try{playwrightPatcher[_0x42d88c(0x186)][_0x42d88c(0x155)](),logger['debug'](_0x1e3d80[_0x42d88c(0x18d)]);}catch(_0x48ef6a){logger[_0x42d88c(0x129)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util['format'](_0x48ef6a));}}catch(_0x1c4635){logger['debug'](_0x42d88c(0x12d)+util[_0x42d88c(0x123)](_0x1c4635));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x42d88c(0xc8)](),logger[_0x42d88c(0x129)](_0x1e3d80[_0x42d88c(0xf5)])),playwrightPatcher[_0x42d88c(0x186)]&&playwrightPatcher[_0x42d88c(0x186)][_0x42d88c(0x155)]&&(playwrightPatcher['closeTracker'][_0x42d88c(0x155)](),logger['debug'](_0x1e3d80[_0x42d88c(0x124)]));}catch(_0x19a9cc){logger[_0x42d88c(0x129)](_0x42d88c(0x174)+util['format'](_0x19a9cc));}}const _0x51d790=_0x1e3d80[_0x42d88c(0x146)](require,_0x1e3d80[_0x42d88c(0x18e)]);if(!_0x51d790[_0x42d88c(0x1a8)]()[_0x42d88c(0x181)]())try{if(_0x1e3d80[_0x42d88c(0xc1)](shouldProcessEventForTesthub)){const _0x80f8e5=TestDetails[_0x42d88c(0x185)](_0x38fab3[_0x42d88c(0x11f)]);let _0x325fa2=null;global[_0x42d88c(0x121)]&&global[_0x42d88c(0x121)][0x0]&&(_0x325fa2=await _0x1e3d80['uTZJJ'](sendPlatformDetails,global['__drivers'][0x0],_0x80f8e5,!![]));const _0x571d28={};_0x571d28[_0x42d88c(0x104)]=_0x80f8e5,_0x571d28[_0x42d88c(0x176)]=_0x325fa2;const _0x5cb96a=_0x571d28,_0x381795={};_0x381795[_0x42d88c(0x151)]=_0x1e3d80[_0x42d88c(0xe4)],_0x381795['test_run']=_0x5cb96a,await SessionHandler[_0x42d88c(0x12e)](_0x381795);}}catch(_0x4ad0ca){logger['debug']('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util['format'](_0x4ad0ca));}try{if(globals['getGlobal'](_0x1e3d80[_0x42d88c(0x1a1)])&&globals[_0x42d88c(0xe6)](_0x1e3d80['EuozB'])){logger[_0x42d88c(0x16a)](_0x1e3d80[_0x42d88c(0xfe)]);const _0x2c8c71=TestDetails['getTestUUID'](_0x38fab3[_0x42d88c(0x11f)]),_0x491688={};_0x491688[_0x42d88c(0x14f)]=_0x2c8c71,_0x491688[_0x42d88c(0x182)]=process[_0x42d88c(0xc4)][testHubConstants[_0x42d88c(0x18b)][_0x42d88c(0xdc)]],_0x491688[_0x42d88c(0x19c)]=process['env'][testHubConstants[_0x42d88c(0x18b)][_0x42d88c(0x17a)]];const _0x1340df=_0x491688;logger['debug'](_0x42d88c(0x1ab)+JSON[_0x42d88c(0x125)](_0x1340df)),logger[_0x42d88c(0x129)](_0x1e3d80['lDsch']),global[_0x42d88c(0x121)]&&global[_0x42d88c(0x121)][0x0]&&(logger[_0x42d88c(0x129)](util[_0x42d88c(0x123)](await global[_0x42d88c(0x121)][0x0]['executeAsyncScript'](scripts[_0x42d88c(0x194)],{'method':global['browserstackSessionName']}))),await global[_0x42d88c(0x121)][0x0][_0x42d88c(0x165)](scripts[_0x42d88c(0xf6)],_0x1340df)),logger[_0x42d88c(0x16a)](_0x1e3d80['VLeWJ']);}}catch(_0x3acf2e){logger[_0x42d88c(0x140)](_0x42d88c(0x17c)+util['format'](_0x3acf2e));}if(_0x5ae889)try{global['__drivers'][0x0]&&_0x1e3d80[_0x42d88c(0x187)](global[_0x42d88c(0x121)][0x0][_0x42d88c(0x14d)],0x0)&&await global['__drivers'][0x0][_0x42d88c(0x15c)]();}catch(_0x4d6c3b){logger[_0x42d88c(0x129)](_0x42d88c(0x141)+_0x4d6c3b);}_0x1e3d80[_0x42d88c(0x1a3)](_0x100af6);})[_0x1ffce0(0x16b)](()=>_0x56c598());});const a9_0x2ba10c={};a9_0x2ba10c[a9_0x22e13c(0x12a)]=a9_0x22e13c(0xc7),a9_0x2ba10c[a9_0x22e13c(0x11c)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a9_0x2ba10c,function(_0x59543e,_0x476c17){const _0x405cf3=a9_0x22e13c,_0x15a853={'JRfkA':function(_0xfafd21,_0x17fbc4){return _0xfafd21===_0x17fbc4;},'beoth':_0x405cf3(0x198),'HHAQf':function(_0x59ec93,_0x40ba5b){return _0x59ec93!==_0x40ba5b;},'bWjJM':function(_0x485944,_0x320954,_0x5d70eb){return _0x485944(_0x320954,_0x5d70eb);},'iwvZu':function(_0x5a60b2,_0x3f9719){return _0x5a60b2+_0x3f9719;},'VJrUn':_0x405cf3(0x130),'rpwnU':_0x405cf3(0x11a),'WhTXe':_0x405cf3(0x140),'kIBUp':function(_0x4af8a1,_0xebef02,_0xa4fae2){return _0x4af8a1(_0xebef02,_0xa4fae2);},'UaRjn':function(_0x817d12,_0x4e7ed7){return _0x817d12!==_0x4e7ed7;},'IXXQI':'Passed:\x20','RZlDl':_0x405cf3(0x16a),'OXXlZ':function(_0x43dbab,_0x1e2991,_0x288ce8){return _0x43dbab(_0x1e2991,_0x288ce8);},'mYpIn':'Passed','VmvNw':function(_0xa79435){return _0xa79435();},'OfePy':_0x405cf3(0x136)};logger['debug'](_0x15a853[_0x405cf3(0xcc)]);const _0x35a783=async(_0x9dfd72,_0x56097f)=>{const _0x4b6d66=_0x405cf3;global[_0x4b6d66(0x121)]&&global[_0x4b6d66(0x121)][0x0]&&await global[_0x4b6d66(0x121)][0x0]['executeScript']('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x9dfd72+_0x4b6d66(0x171)+_0x56097f+_0x4b6d66(0x178));};new Promise(async _0x2f46b9=>{const _0x28d62a=_0x405cf3;try{const _0x44d5fb=_0x15a853[_0x28d62a(0xd6)](_0x59543e['result'][_0x28d62a(0x1a6)][_0x28d62a(0xd4)]()[_0x28d62a(0x16f)](),_0x15a853[_0x28d62a(0x120)])||_0x15a853[_0x28d62a(0xd6)](_0x59543e['result'][_0x28d62a(0x1a6)][_0x28d62a(0xd4)]()['toLowerCase'](),'6');_0x44d5fb?(global[_0x28d62a(0x1b1)]=!![],global[_0x28d62a(0x148)]['push'](_0x59543e['result'][_0x28d62a(0x15a)]),_0x15a853['HHAQf'](_0x59543e[_0x28d62a(0x166)],undefined)?await _0x15a853[_0x28d62a(0x10d)](_0x35a783,JSON[_0x28d62a(0x125)](_0x15a853[_0x28d62a(0x12c)](_0x15a853['iwvZu'](_0x15a853[_0x28d62a(0x12c)](_0x15a853['VJrUn'],'\x22'+_0x59543e[_0x28d62a(0x166)]['text']+'\x22\x20'),_0x15a853[_0x28d62a(0xe2)]),_0x59543e[_0x28d62a(0x162)][_0x28d62a(0x15a)])),_0x15a853[_0x28d62a(0xd7)]):await _0x15a853[_0x28d62a(0x199)](_0x35a783,JSON[_0x28d62a(0x125)](_0x15a853[_0x28d62a(0x12c)](_0x15a853[_0x28d62a(0x13e)],_0x59543e[_0x28d62a(0x162)][_0x28d62a(0x15a)])),_0x15a853[_0x28d62a(0xd7)])):_0x15a853[_0x28d62a(0x14b)](_0x59543e['pickleStep'],undefined)?await _0x15a853[_0x28d62a(0x199)](_0x35a783,JSON['stringify'](_0x15a853[_0x28d62a(0x12c)](_0x15a853[_0x28d62a(0x16e)],'\x22'+_0x59543e['pickleStep'][_0x28d62a(0xeb)]+'\x22')),_0x15a853[_0x28d62a(0x180)]):await _0x15a853[_0x28d62a(0x190)](_0x35a783,JSON[_0x28d62a(0x125)](_0x15a853[_0x28d62a(0x154)]),_0x15a853[_0x28d62a(0x180)]),global['__drivers']&&global['__drivers'][0x0]&&global[_0x28d62a(0x121)][0x0][_0x28d62a(0x170)][_0x28d62a(0x1ae)](_0x56b2c2=>{})['catch'](_0x17e3d9=>{const _0x578475=_0x28d62a;logger[_0x578475(0x129)](_0x578475(0x118)+util['format'](_0x17e3d9));});}catch(_0x569d94){logger['debug'](_0x28d62a(0x10b)+_0x569d94);}_0x15a853[_0x28d62a(0x10e)](_0x2f46b9);})[_0x405cf3(0x16b)](()=>_0x476c17());});const a9_0x36db55={};a9_0x36db55[a9_0x22e13c(0x12a)]=a9_0x22e13c(0xc7),a9_0x36db55['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x22e13c(0x19f)],AfterAll(a9_0x36db55,async function(_0xb4348d,_0x32c00c){const _0x5be394=a9_0x22e13c,_0x423de2={'epSOv':'1|2|0|4|3','Zfutt':_0x5be394(0x169),'TYtcs':function(_0x4fe0dd){return _0x4fe0dd();},'GoHno':'Inside\x20browserstack\x20AfterAll'};logger['debug'](_0x423de2['GoHno']),await new Promise(async _0xe6f8f9=>{const _0x26a1f5=_0x5be394,_0x25d53f=_0x423de2['epSOv'][_0x26a1f5(0x13c)]('|');let _0x6811eb=0x0;while(!![]){switch(_0x25d53f[_0x6811eb++]){case'0':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x26a1f5(0xc8)](),playwrightPatcher[_0x26a1f5(0x186)]&&playwrightPatcher[_0x26a1f5(0x186)]['cleanup'](),logger[_0x26a1f5(0x129)](_0x423de2['Zfutt']));}catch(_0x31c79b){logger['debug'](_0x26a1f5(0x14e)+util[_0x26a1f5(0x123)](_0x31c79b));}continue;case'1':await RequestQueueHandler[_0x26a1f5(0x1a8)]()['shutdown']();continue;case'2':PerformanceTester[_0x26a1f5(0x195)]();continue;case'3':_0x423de2['TYtcs'](_0xe6f8f9);continue;case'4':await global[_0x26a1f5(0x101)]();continue;}break;}});});
|