browserstack-node-sdk 1.49.5 → 1.49.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x468db0=a5_0x4b04;(function(_0x2497e2,_0x391596){const _0x4de8ea=a5_0x4b04,_0x27518c=_0x2497e2();while(!![]){try{const _0x507472=parseInt(_0x4de8ea(0x10b))/0x1+parseInt(_0x4de8ea(0x7c))/0x2+parseInt(_0x4de8ea(0xd1))/0x3*(-parseInt(_0x4de8ea(0x10d))/0x4)+-parseInt(_0x4de8ea(0xe2))/0x5+parseInt(_0x4de8ea(0xe0))/0x6*(parseInt(_0x4de8ea(0xff))/0x7)+-parseInt(_0x4de8ea(0xbf))/0x8*(-parseInt(_0x4de8ea(0xd2))/0x9)+-parseInt(_0x4de8ea(0x9f))/0xa;if(_0x507472===_0x391596)break;else _0x27518c['push'](_0x27518c['shift']());}catch(_0x4a3407){_0x27518c['push'](_0x27518c['shift']());}}}(a5_0x23cf,0xa61c7));const fs=require('fs'),path=require(a5_0x468db0(0xda)),util=require('util'),logger=require(a5_0x468db0(0x79))[a5_0x468db0(0xf5)],helper=require(a5_0x468db0(0x8b)),utilities=require(a5_0x468db0(0xef)),constants=require(a5_0x468db0(0xe7)),{parallelCucumberRun}=require(a5_0x468db0(0xd6)),TestHubHandler=require(a5_0x468db0(0xf0)),testOpsHelper=require(a5_0x468db0(0x8d)),chalk=require(a5_0x468db0(0xf2)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x468db0(0xac))[a5_0x468db0(0x98)],BrowserstackCLI=require(a5_0x468db0(0xd4)),CLIUtils=require(a5_0x468db0(0x7f)),{checkPwandBootstrapCli}=require(a5_0x468db0(0x90)),ClientTroubleShootingService=require(a5_0x468db0(0x86));function printCucumberStats(_0x5541f3){const _0x20ceb1=a5_0x468db0,_0x4a976f={};_0x4a976f[_0x20ceb1(0x8c)]=function(_0x3d8d4c,_0x38a049){return _0x3d8d4c>_0x38a049;},_0x4a976f['OWkjF']=function(_0x436f6e,_0xeb834a){return _0x436f6e-_0xeb834a;},_0x4a976f[_0x20ceb1(0xa0)]=function(_0x368d6c,_0x40b1d5){return _0x368d6c-_0x40b1d5;},_0x4a976f[_0x20ceb1(0x114)]=function(_0xecbe3a,_0x14b193){return _0xecbe3a>_0x14b193;},_0x4a976f[_0x20ceb1(0x8e)]=function(_0x4776a2,_0x1ff69f){return _0x4776a2>_0x1ff69f;},_0x4a976f[_0x20ceb1(0x8f)]=function(_0x7bc91f,_0x1ac9ce){return _0x7bc91f>_0x1ac9ce;},_0x4a976f[_0x20ceb1(0x103)]=function(_0x14384a,_0x4f7933){return _0x14384a>_0x4f7933;},_0x4a976f[_0x20ceb1(0x81)]=function(_0x536247,_0x43f216){return _0x536247>_0x43f216;},_0x4a976f[_0x20ceb1(0xc6)]=function(_0x3565cf,_0x3ea863){return _0x3565cf>_0x3ea863;},_0x4a976f['QTlfi']=function(_0x26d100,_0x1d402e){return _0x26d100+_0x1d402e;},_0x4a976f[_0x20ceb1(0xc2)]=function(_0xf6554f,_0xd7c188){return _0xf6554f+_0xd7c188;},_0x4a976f[_0x20ceb1(0xf9)]=function(_0x58de9f,_0x3adb73){return _0x58de9f+_0x3adb73;},_0x4a976f[_0x20ceb1(0xfc)]=function(_0x58d21a,_0x27287b){return _0x58d21a===_0x27287b;},_0x4a976f['hvqrj']=function(_0x3bf7bd,_0x2e002c){return _0x3bf7bd===_0x2e002c;},_0x4a976f[_0x20ceb1(0xa7)]=_0x20ceb1(0x89);const _0xf0c86=_0x4a976f;let _0x51309d=0x0;if(_0xf0c86[_0x20ceb1(0xdf)](_0x5541f3['length'],0x0))return _0x51309d;return console[_0x20ceb1(0x9a)](chalk['bold'][_0x20ceb1(0xc5)](_0xf0c86[_0x20ceb1(0xa7)])),_0x5541f3[_0x20ceb1(0xe8)](_0xc6c2d8=>{const _0x2d00e6=_0x20ceb1,_0x618faf=_0xc6c2d8[0x0],_0x5c4564=_0xc6c2d8[0x1];helper[_0x2d00e6(0xc7)]()&&console[_0x2d00e6(0x9a)]('\x0a'+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0xb1)](''+helper['getPlatformName'](_0x618faf)));const _0x5de047=_0x5c4564[_0x2d00e6(0xb9)],_0x3663cd=_0x5c4564['steps'],_0x3d732a=_0x5c4564['scenariosFailed'],_0x5f02f0=_0x5c4564[_0x2d00e6(0xfb)],_0x36236b=_0x5c4564[_0x2d00e6(0x82)],_0x10e074=_0x5c4564[_0x2d00e6(0xd5)],_0x2df781=_0x5c4564[_0x2d00e6(0xbc)],_0x1565bd=_0x5c4564[_0x2d00e6(0x72)],_0x5168d6=_0x5c4564[_0x2d00e6(0xfa)],_0x3448d3=_0x5c4564[_0x2d00e6(0xc0)],_0x531183=_0x5c4564[_0x2d00e6(0xfe)];let _0x31c1ed=_0x5de047+_0x2d00e6(0xdd);const _0x50726d=_0xf0c86['TLFGo'](_0xf0c86[_0x2d00e6(0xb8)](_0x5de047,_0x3d732a),0x0)?_0xf0c86[_0x2d00e6(0xa0)](_0x5de047,_0x3d732a):0x0;if(_0xf0c86[_0x2d00e6(0x8c)](_0x3d732a,0x0)&&_0xf0c86[_0x2d00e6(0x114)](_0x50726d,0x0))_0x31c1ed+='\x20('+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0x7a)](_0x3d732a+_0x2d00e6(0x73))+',\x20'+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0xbb)](_0x50726d+_0x2d00e6(0xc3))+')';else(_0xf0c86['TLFGo'](_0x3d732a,0x0)||_0xf0c86[_0x2d00e6(0x114)](_0x50726d,0x0))&&(_0x31c1ed+=_0xf0c86[_0x2d00e6(0x8e)](_0x3d732a,0x0)?'\x20('+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0x7a)](_0x3d732a+_0x2d00e6(0x73))+')':'\x20('+chalk[_0x2d00e6(0x10c)]['green'](_0x50726d+_0x2d00e6(0xc3))+')');const _0x5822ef=_0x3663cd+_0x2d00e6(0xaf),_0x1c6b26=[];_0xf0c86['TLFGo'](_0x3448d3,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0x7a)](_0x3448d3+_0x2d00e6(0xa1)));_0xf0c86[_0x2d00e6(0x8f)](_0x5f02f0,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0x7a)](_0x5f02f0+_0x2d00e6(0x73)));_0xf0c86['rEIik'](_0x36236b,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0xbb)](_0x36236b+'\x20passed'));_0xf0c86[_0x2d00e6(0x81)](_0x2df781,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0xb1)](_0x2df781+_0x2d00e6(0x9e)));_0xf0c86['QDFFy'](_0x10e074,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0x75)](_0x10e074+'\x20skipped'));_0xf0c86[_0x2d00e6(0xc6)](_0x1565bd,0x0)&&_0x1c6b26['push'](''+chalk['bold'][_0x2d00e6(0xb1)](_0x1565bd+_0x2d00e6(0x96)));_0xf0c86['CskCX'](_0x5168d6,0x0)&&_0x1c6b26[_0x2d00e6(0xe6)](''+chalk[_0x2d00e6(0x10c)][_0x2d00e6(0xb1)](_0x5168d6+_0x2d00e6(0x102)));const _0x573d1a=_0xf0c86[_0x2d00e6(0xf6)](_0xf0c86[_0x2d00e6(0xc2)](_0xf0c86[_0x2d00e6(0xc2)](_0x5822ef,'('),_0x1c6b26[_0x2d00e6(0x76)](',\x20')),')');console['log'](_0xf0c86[_0x2d00e6(0xf6)](_0xf0c86['hCCZv'](_0xf0c86['hCCZv'](_0xf0c86[_0x2d00e6(0xc2)]('\x0a',_0x31c1ed),'\x0a'),_0x573d1a),'\x0a')),_0xf0c86[_0x2d00e6(0xfc)](_0x531183,![])&&(_0x51309d=0x1);}),_0x51309d;}async function run(_0x41ad54,_0x4eeb57,_0xa88048){const _0x53052c=a5_0x468db0,_0x350474={'sYIAP':function(_0x2e65d3,_0xb22fde){return _0x2e65d3(_0xb22fde);},'fFwQt':function(_0x577059,_0x5d3d97){return _0x577059>_0x5d3d97;},'FeVKy':_0x53052c(0x112),'oZIlp':'Removing\x20tmp\x20directory\x20created\x20for\x20reports','cdEFs':_0x53052c(0xe3),'VfHPC':'error\x20removing\x20tcg\x20config\x20file','BVIlT':_0x53052c(0xf7),'HArFy':function(_0x263259,_0x5950c0,_0x194428,_0x2f86d4){return _0x263259(_0x5950c0,_0x194428,_0x2f86d4);},'ViYXG':_0x53052c(0x80),'Exapu':function(_0x1274a1,_0xb5ee78){return _0x1274a1-_0xb5ee78;},'KcEkh':function(_0x62db0e,_0x487587){return _0x62db0e>=_0x487587;},'kxNms':function(_0xde947,_0x34dddd){return _0xde947!=_0x34dddd;},'hPvnP':_0x53052c(0x101),'ndLbe':'../../helpers/accessibility-automation/helper','cLzzX':function(_0x4eabba,_0x196177){return _0x4eabba(_0x196177);},'lPwGc':_0x53052c(0xcf),'RkPvv':function(_0x3113ab,_0x51f609){return _0x3113ab(_0x51f609);},'QxpEw':_0x53052c(0x10f),'fbTMJ':function(_0x47c1c5,_0x4e02fc){return _0x47c1c5===_0x4e02fc;},'XiVqH':function(_0x19ad1c,_0x38a3d4){return _0x19ad1c(_0x38a3d4);},'SyDgS':'../v2/browserstackCLI','LwwkP':function(_0x1f3223,_0x12d434){return _0x1f3223(_0x12d434);},'XKTdC':_0x53052c(0x7f),'KeGpc':_0x53052c(0x119),'EcigD':function(_0x2b68ac,_0x5eee8d){return _0x2b68ac(_0x5eee8d);},'PFMbq':_0x53052c(0xae),'lbkbs':function(_0x119356,_0x25a6fb){return _0x119356>=_0x25a6fb;},'GDOIZ':function(_0x5427c3,_0x103496){return _0x5427c3===_0x103496;},'XxQrW':function(_0x288488,_0x5b6623){return _0x288488(_0x5b6623);},'XgWeo':function(_0x1a67d7,_0x4dc34c){return _0x1a67d7(_0x4dc34c);},'SWeQw':function(_0x37f8f2,_0x6e4743,_0x5a5345,_0x2805b8,_0x2b71f5,_0x168e80){return _0x37f8f2(_0x6e4743,_0x5a5345,_0x2805b8,_0x2b71f5,_0x168e80);}},_0x182985=helper[_0x53052c(0xa4)](_0x350474['BVIlT']);global['__isPlaywrightInstalled']=!!_0x182985,await _0xa88048['initialize'](_0x41ad54),await _0x350474['HArFy'](checkPwandBootstrapCli,_0x182985,constants[_0x53052c(0x107)][_0x53052c(0xe5)],_0xa88048);BrowserstackCLI[_0x53052c(0x93)]()[_0x53052c(0x78)]&&(process['env'][_0x53052c(0xb4)]=BrowserstackCLI[_0x53052c(0x93)]()[_0x53052c(0x78)]);helper['setUserConfigPath'](_0xa88048[_0x53052c(0xde)],_0x41ad54);!helper[_0x53052c(0xc7)]()&&await _0xa88048[_0x53052c(0x71)]();await helper['handleApp'](_0xa88048['config']);const _0x19643c=helper[_0x53052c(0x6f)](_0xa88048[_0x53052c(0xdc)]);!helper[_0x53052c(0xb6)](_0xa88048[_0x53052c(0xdc)]['accessibilityOptions'])&&(process['env'][_0x53052c(0xea)]=JSON['stringify'](_0xa88048[_0x53052c(0xdc)][_0x53052c(0xd3)]));if(!BrowserstackCLI['getInstance']()[_0x53052c(0xec)]()){const _0x2474cd=await TestHubHandler[_0x53052c(0x9b)](constants[_0x53052c(0x107)][_0x53052c(0xe5)],_0xa88048);}let _0x256c29=[];if(!helper['isBrowserstackInfra']()){const _0x4f89a3={};_0x4f89a3[_0x53052c(0xf3)]=[],_0x256c29=helper['prepareCapabilities'](Object[_0x53052c(0x111)]({},_0xa88048['config'],_0x4f89a3),_0x19643c,constants[_0x53052c(0x107)]['CUCUMBER']);}else _0x256c29=helper[_0x53052c(0x87)](_0xa88048[_0x53052c(0xdc)],_0x19643c,constants[_0x53052c(0x107)][_0x53052c(0xe5)]);if(!_0xa88048['config'])return;const _0x3c6530=_0xa88048['config'][_0x53052c(0xa9)]||helper['getUserWorkerCount'](_0x41ad54,_0x4eeb57,_0xa88048[_0x53052c(0xdc)],constants[_0x53052c(0x107)][_0x53052c(0xe5)])||0x1,_0x302882={'server':helper[_0x53052c(0x70)](_0xa88048[_0x53052c(0xdc)]),'proxySettings':_0xa88048[_0x53052c(0xdc)][_0x53052c(0xcd)],'maxWorkers':_0x3c6530,'browserStackLogLevel':_0xa88048[_0x53052c(0xdc)][_0x53052c(0xb2)],'skipSessionName':_0xa88048['config'][_0x53052c(0xc8)][_0x53052c(0xcc)],'skipSessionStatus':_0xa88048['config']['testContextOptions'][_0x53052c(0x117)],'turboScaleUrl':_0xa88048['config']['turboScaleUrl']},_0x9839d7=process[_0x53052c(0xe1)],[_0x42c1c3,_0x2ca01e]=helper[_0x53052c(0xad)](_0x9839d7),_0x3c6b69=path[_0x53052c(0x76)](process[_0x53052c(0x83)](),_0x350474[_0x53052c(0xce)]);if(_0x350474[_0x53052c(0x109)](_0x2ca01e[_0x53052c(0xb0)],0x0)){helper[_0x53052c(0x94)](_0x3c6b69);for(let _0x144810=_0x350474[_0x53052c(0xaa)](_0x42c1c3[_0x53052c(0xb0)],0x1);_0x350474[_0x53052c(0xb5)](_0x144810,0x0);_0x144810--){_0x9839d7[_0x53052c(0xbd)](_0x42c1c3[_0x144810],0x2);}}_0x350474[_0x53052c(0x84)](_0xa88048[_0x53052c(0xdc)][_0x53052c(0xc9)],null)?process[_0x53052c(0x10a)][_0x53052c(0x116)]=_0xa88048[_0x53052c(0xdc)]['testObservability']:process[_0x53052c(0x10a)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x350474[_0x53052c(0xa5)];if(_0x182985)try{const {checkAccessibilityPlatformConfig:_0x11261c}=_0x350474['sYIAP'](require,_0x350474[_0x53052c(0x91)]),{setAccessibilityCapabilities:_0x2c5ec7}=_0x350474[_0x53052c(0x106)](require,_0x350474[_0x53052c(0xba)]),_0x3e61aa=_0x350474['sYIAP'](_0x11261c,_0xa88048[_0x53052c(0xdc)]);if(!helper['isUndefined'](_0xa88048['config'][_0x53052c(0xbe)]))process[_0x53052c(0x10a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x350474[_0x53052c(0xa8)](String,!!_0xa88048[_0x53052c(0xdc)][_0x53052c(0xbe)]);else helper[_0x53052c(0xb6)](process[_0x53052c(0x10a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x53052c(0x10a)][_0x53052c(0xed)]=_0x3e61aa?_0x350474['hPvnP']:_0x350474['QxpEw']);process[_0x53052c(0x10a)][_0x53052c(0x88)]=_0x3e61aa?_0x350474[_0x53052c(0xa5)]:_0x350474[_0x53052c(0x7e)],!BrowserstackCLI[_0x53052c(0x93)]()[_0x53052c(0xec)]()&&_0x350474[_0x53052c(0x8a)](process[_0x53052c(0x10a)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x350474[_0x53052c(0xa5)])&&_0x350474[_0x53052c(0xb7)](_0x2c5ec7,_0xa88048['config']);}catch(_0x36fe71){logger[_0x53052c(0x7b)]('Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20'+util[_0x53052c(0x108)](_0x36fe71));}try{const _0x558cdf=_0x350474[_0x53052c(0xd8)](require,_0x350474[_0x53052c(0xf1)]),_0x26b404=_0x350474[_0x53052c(0xb3)](require,_0x350474[_0x53052c(0xa6)]),{FRAMEWORKS:_0x327deb}=_0x350474['XiVqH'](require,_0x350474[_0x53052c(0xeb)]),{checkAccessibilityPlatformConfig:_0x48696a}=_0x350474[_0x53052c(0xb3)](require,_0x350474[_0x53052c(0x91)]),{setAccessibilityCapabilities:_0x3a7f2a}=_0x350474[_0x53052c(0xe9)](require,_0x350474[_0x53052c(0xba)]),_0x56b7b9=helper[_0x53052c(0xa4)](_0x350474['BVIlT']);if(_0x56b7b9){_0x26b404[_0x53052c(0xd0)](constants[_0x53052c(0x107)][_0x53052c(0xe5)],constants[_0x53052c(0x107)]['PLAYWRIGHT']),_0x558cdf['getInstance']()[_0x53052c(0xf4)](_0xa88048['config'],_0xa88048['configPath'],_0xa88048[_0x53052c(0x118)]),await _0x558cdf[_0x53052c(0x93)]()[_0x53052c(0x110)]();const _0x5d6746=_0x558cdf[_0x53052c(0x93)]()[_0x53052c(0x9c)]();!helper[_0x53052c(0xe4)](_0x5d6746[_0x53052c(0x115)])&&(process[_0x53052c(0x10a)][_0x53052c(0x92)]=_0x350474[_0x53052c(0xa5)]);_0x350474[_0x53052c(0x8a)](_0x5d6746[_0x53052c(0x115)],![])&&(process['env']['BROWSERSTACK_AUTOMATION']=_0x350474['QxpEw']);const _0x50425c=_0x4eeb57[_0x53052c(0x85)](_0x350474[_0x53052c(0xcb)]);(_0x350474[_0x53052c(0xa2)](_0x50425c,0x0)||_0x350474[_0x53052c(0x8a)](_0x5d6746[_0x53052c(0xc9)],![]))&&(process['env'][_0x53052c(0x104)]=_0x350474[_0x53052c(0x7e)]);if(!_0x558cdf['getInstance']()[_0x53052c(0xec)]()){let _0x1fee7a=_0x350474['GDOIZ'](process[_0x53052c(0x10a)][_0x53052c(0xed)],_0x350474[_0x53052c(0xa5)]);_0x1fee7a=_0x1fee7a||_0x350474[_0x53052c(0x77)](_0x48696a,_0xa88048[_0x53052c(0xdc)]),process[_0x53052c(0x10a)][_0x53052c(0xed)]=_0x1fee7a,_0x1fee7a&&_0x350474[_0x53052c(0xca)](_0x3a7f2a,_0xa88048[_0x53052c(0xdc)]);}}}catch(_0x496089){logger[_0x53052c(0x7b)](_0x53052c(0xfd)+util[_0x53052c(0x108)](_0x496089));}PerformanceTester[_0x53052c(0x113)](PerformanceEvents['SDK_SETUP']);let _0x3e18aa;_0x350474[_0x53052c(0x95)](parallelCucumberRun,_0x256c29,_0x302882,_0xa88048[_0x53052c(0xdc)],_0x9839d7,_0x2ca01e)[_0x53052c(0xc1)](async _0x47032f=>{const _0x238da2=_0x53052c;PerformanceTester['start'](PerformanceEvents[_0x238da2(0xc4)]),_0x3e18aa=_0x47032f;const _0x1be654=_0x350474[_0x238da2(0xb7)](printCucumberStats,_0x47032f);process[_0x238da2(0xdb)]=_0x1be654,_0x350474[_0x238da2(0x109)](_0x2ca01e[_0x238da2(0xb0)],0x0)&&(logger[_0x238da2(0x7b)](_0x350474[_0x238da2(0xd9)]),helper[_0x238da2(0xab)](_0x3c6b69,_0x2ca01e),logger[_0x238da2(0x7b)](_0x350474[_0x238da2(0x10e)]),helper[_0x238da2(0x7d)](_0x3c6b69));})[_0x53052c(0xa3)](async()=>{const _0x173733=_0x53052c;PerformanceTester['start'](PerformanceEvents[_0x173733(0xc4)]),_0xa88048[_0x173733(0x97)]=helper['getErrorMessageFromResults'](_0x3e18aa,_0x350474['cdEFs']),testOpsHelper[_0x173733(0xd7)]();try{await TestHubHandler[_0x173733(0x105)](),await BrowserstackCLI[_0x173733(0x93)]()[_0x173733(0x105)]();}catch(_0x1b58c6){logger[_0x173733(0x7b)](_0x173733(0x99)+util['format'](_0x1b58c6));}try{const {browserstackFolderPath:_0x2cc06c,tcgConfigPath:_0x1ae5e1}=helper['getTCGConfigFilePaths']();fs[_0x173733(0xf8)](_0x1ae5e1),fs[_0x173733(0x100)](_0x2cc06c);}catch(_0x2d0b64){logger[_0x173733(0x7b)](_0x350474[_0x173733(0xee)],_0x2d0b64);}await utilities[_0x173733(0x9d)](_0xa88048);});}function a5_0x4b04(_0x3dfea3,_0x275d00){const _0x23cf5e=a5_0x23cf();return a5_0x4b04=function(_0x4b04c7,_0x605b8b){_0x4b04c7=_0x4b04c7-0x6f;let _0x47a423=_0x23cf5e[_0x4b04c7];return _0x47a423;},a5_0x4b04(_0x3dfea3,_0x275d00);}module[a5_0x468db0(0x74)]=run;function a5_0x23cf(){const _0x5abe8f=['FeVKy','path','exitCode','config','\x20scenarios','framework','hvqrj','6XvpcyX','argv','6450040BOjjiY','cucumber','isFalse','CUCUMBER','push','../utils/constants','forEach','EcigD','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','KeGpc','isRunning','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VfHPC','../../helpers/utilities','../../helpers/testhub/testhubHandler','SyDgS','chalk','platforms','setBrowserstackConfig','winstonLogger','QTlfi','@playwright/test','unlinkSync','hCCZv','stepsUnknown','stepsFailed','Qsoke','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','processSuccess','7511476lGymLe','rmdirSync','true','\x20skipped','rEIik','BROWSERSTACK_TEST_OBSERVABILITY','stop','cLzzX','FRAMEWORKS','format','fFwQt','env','721144mNUWOi','bold','4hXOTYL','oZIlp','false','bootstrap','assign','Generating\x20consolidated\x20report...','end','PWbDR','browserstackAutomation','BROWSERSTACK_TEST_OBSERVABILITY_YML','skipSessionStatus','cliConfig','../../helpers/test-observability/constants','useW3C','getHubUrl','setupTCGAuth','stepsUndefined','\x20failed','exports','cyan','join','XxQrW','binSessionId','../../helpers/logger','red','debug','2004400CWqQet','removeDir','QxpEw','../v2/cliUtils','tmp','dLaKf','stepsPassed','cwd','kxNms','indexOf','../utils/clientTroubleshootingService','prepareCapabilities','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','****\x20RESULTS\x20****','fbTMJ','../../helpers/helper','TLFGo','../../helpers/test-observability/utils','MZHgg','QDFFy','../../helpers/playwright-helper','ndLbe','BROWSERSTACK_AUTOMATION','getInstance','createDir','SWeQw','\x20undefined','errorMessage','EVENTS','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','log','launchBuild','getConfig','finalExecution','\x20pending','10177880QCWuPs','JbSwN','\x20ambiguous','lbkbs','finally','getPackageVersion','hPvnP','XKTdC','aOMhn','RkPvv','parallelsPerPlatform','Exapu','mergeOutputFiles','../../helpers/performance/constants','parseFormatters','--disable-test-observability','\x20steps','length','yellow','logLevel','LwwkP','BROWSERSTACK_CLI_BIN_SESSION_ID','KcEkh','isUndefined','sYIAP','OWkjF','scenarios','lPwGc','green','stepsPending','splice','accessibility','7288taRUEb','stepsAmbiguous','then','JoQas','\x20passed','SDK_CLEANUP','bgWhite','CskCX','isBrowserstackInfra','testContextOptions','testObservability','XgWeo','PFMbq','skipSessionName','proxySettings','ViYXG','../playwright/accessibility-helper','setFrameworkDetail','1362372lOukqX','6381GPvzHn','accessibilityOptions','../v2/browserstackCLI','stepsSkipped','../test-runner','printBuildLink','XiVqH'];a5_0x23cf=function(){return _0x5abe8f;};return a5_0x23cf();}
|
|
2
|
+
'use strict';const a5_0xb31efd=a5_0x20bc;(function(_0x52352a,_0x3a93be){const _0xb8e23e=a5_0x20bc,_0x3c88ae=_0x52352a();while(!![]){try{const _0x49a52c=-parseInt(_0xb8e23e(0x23d))/0x1*(parseInt(_0xb8e23e(0x216))/0x2)+-parseInt(_0xb8e23e(0x236))/0x3+-parseInt(_0xb8e23e(0x23a))/0x4*(-parseInt(_0xb8e23e(0x230))/0x5)+-parseInt(_0xb8e23e(0x23b))/0x6*(-parseInt(_0xb8e23e(0x221))/0x7)+parseInt(_0xb8e23e(0x220))/0x8+-parseInt(_0xb8e23e(0x218))/0x9+parseInt(_0xb8e23e(0x22f))/0xa*(parseInt(_0xb8e23e(0x1bf))/0xb);if(_0x49a52c===_0x3a93be)break;else _0x3c88ae['push'](_0x3c88ae['shift']());}catch(_0x1e33be){_0x3c88ae['push'](_0x3c88ae['shift']());}}}(a5_0xb526,0x57caf));const fs=require('fs'),path=require(a5_0xb31efd(0x1ba)),util=require(a5_0xb31efd(0x235)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a5_0xb31efd(0x1cd)),utilities=require(a5_0xb31efd(0x205)),constants=require(a5_0xb31efd(0x21a)),{parallelCucumberRun}=require(a5_0xb31efd(0x201)),TestHubHandler=require(a5_0xb31efd(0x1c5)),testOpsHelper=require(a5_0xb31efd(0x204)),chalk=require(a5_0xb31efd(0x222)),PerformanceTester=require(a5_0xb31efd(0x1d7)),PerformanceEvents=require(a5_0xb31efd(0x21b))[a5_0xb31efd(0x1f8)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0xb31efd(0x228)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require(a5_0xb31efd(0x1d5));function printCucumberStats(_0xcb7ca4){const _0x484e89=a5_0xb31efd,_0x427ad4={};_0x427ad4[_0x484e89(0x1ae)]=function(_0x37cda5,_0x4403b9){return _0x37cda5>_0x4403b9;},_0x427ad4[_0x484e89(0x20e)]=function(_0x431865,_0x5bc91a){return _0x431865-_0x5bc91a;},_0x427ad4['PoADO']=function(_0x460536,_0x4aab55){return _0x460536-_0x4aab55;},_0x427ad4[_0x484e89(0x1af)]=function(_0x2ee3b0,_0x397381){return _0x2ee3b0>_0x397381;},_0x427ad4[_0x484e89(0x240)]=function(_0xab40b3,_0x510664){return _0xab40b3>_0x510664;},_0x427ad4[_0x484e89(0x210)]=function(_0x38de17,_0x46eeb7){return _0x38de17>_0x46eeb7;},_0x427ad4[_0x484e89(0x1e2)]=function(_0x105cf3,_0x4a1f40){return _0x105cf3>_0x4a1f40;},_0x427ad4[_0x484e89(0x22c)]=function(_0x5b6dfb,_0x4c740e){return _0x5b6dfb+_0x4c740e;},_0x427ad4[_0x484e89(0x1bd)]=function(_0xfee6c,_0x25836b){return _0xfee6c+_0x25836b;},_0x427ad4['IikUC']=function(_0x51e395,_0x496416){return _0x51e395+_0x496416;},_0x427ad4[_0x484e89(0x212)]=function(_0x5d3098,_0x3caa4f){return _0x5d3098+_0x3caa4f;},_0x427ad4[_0x484e89(0x203)]=function(_0x5b67d4,_0x51d6f7){return _0x5b67d4+_0x51d6f7;},_0x427ad4['ivWgi']=function(_0x38c087,_0x345438){return _0x38c087===_0x345438;},_0x427ad4['veiOD']='****\x20RESULTS\x20****';const _0x4b83d5=_0x427ad4;let _0x5d9c68=0x0;if(_0x4b83d5['ivWgi'](_0xcb7ca4[_0x484e89(0x1c6)],0x0))return _0x5d9c68;return console[_0x484e89(0x1e7)](chalk[_0x484e89(0x1fb)][_0x484e89(0x1c3)](_0x4b83d5[_0x484e89(0x1d8)])),_0xcb7ca4[_0x484e89(0x1e6)](_0x144d70=>{const _0x23093f=_0x484e89,_0x4aea1f=_0x144d70[0x0],_0x39d130=_0x144d70[0x1];helper[_0x23093f(0x1a7)]()&&console[_0x23093f(0x1e7)]('\x0a'+chalk['bold'][_0x23093f(0x1ce)](''+helper[_0x23093f(0x214)](_0x4aea1f)));const _0x4b37ba=_0x39d130['scenarios'],_0x5c26cf=_0x39d130['steps'],_0x512f4c=_0x39d130[_0x23093f(0x1a1)],_0x1e8549=_0x39d130[_0x23093f(0x1f0)],_0x5e5ac5=_0x39d130[_0x23093f(0x1b0)],_0x5e775c=_0x39d130[_0x23093f(0x1c0)],_0x13bbfc=_0x39d130[_0x23093f(0x1de)],_0x531078=_0x39d130[_0x23093f(0x1f9)],_0x301625=_0x39d130[_0x23093f(0x22b)],_0x4fbf84=_0x39d130[_0x23093f(0x1ab)],_0x1e88ec=_0x39d130[_0x23093f(0x1a4)];let _0x368fbc=_0x4b37ba+_0x23093f(0x1c9);const _0x2f4a11=_0x4b83d5['DKjpI'](_0x4b83d5[_0x23093f(0x20e)](_0x4b37ba,_0x512f4c),0x0)?_0x4b83d5[_0x23093f(0x1e4)](_0x4b37ba,_0x512f4c):0x0;if(_0x4b83d5[_0x23093f(0x1af)](_0x512f4c,0x0)&&_0x4b83d5[_0x23093f(0x240)](_0x2f4a11,0x0))_0x368fbc+='\x20('+chalk[_0x23093f(0x1fb)][_0x23093f(0x1e9)](_0x512f4c+'\x20failed')+',\x20'+chalk[_0x23093f(0x1fb)]['green'](_0x2f4a11+_0x23093f(0x23f))+')';else(_0x4b83d5[_0x23093f(0x1ae)](_0x512f4c,0x0)||_0x4b83d5[_0x23093f(0x240)](_0x2f4a11,0x0))&&(_0x368fbc+=_0x4b83d5[_0x23093f(0x1ae)](_0x512f4c,0x0)?'\x20('+chalk[_0x23093f(0x1fb)][_0x23093f(0x1e9)](_0x512f4c+_0x23093f(0x231))+')':'\x20('+chalk[_0x23093f(0x1fb)][_0x23093f(0x229)](_0x2f4a11+_0x23093f(0x23f))+')');const _0x6e131d=_0x5c26cf+'\x20steps',_0x43f042=[];_0x4b83d5[_0x23093f(0x1af)](_0x4fbf84,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk[_0x23093f(0x1fb)]['red'](_0x4fbf84+_0x23093f(0x1eb)));_0x4b83d5[_0x23093f(0x1ae)](_0x1e8549,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk[_0x23093f(0x1fb)][_0x23093f(0x1e9)](_0x1e8549+'\x20failed'));_0x4b83d5[_0x23093f(0x1ae)](_0x5e5ac5,0x0)&&_0x43f042['push'](''+chalk[_0x23093f(0x1fb)][_0x23093f(0x229)](_0x5e5ac5+_0x23093f(0x23f)));_0x4b83d5[_0x23093f(0x210)](_0x13bbfc,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk['bold']['yellow'](_0x13bbfc+_0x23093f(0x1f6)));_0x4b83d5[_0x23093f(0x1af)](_0x5e775c,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk['bold']['cyan'](_0x5e775c+_0x23093f(0x1ac)));_0x4b83d5[_0x23093f(0x1ae)](_0x531078,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk[_0x23093f(0x1fb)][_0x23093f(0x1ce)](_0x531078+_0x23093f(0x21e)));_0x4b83d5[_0x23093f(0x1e2)](_0x301625,0x0)&&_0x43f042[_0x23093f(0x21f)](''+chalk[_0x23093f(0x1fb)][_0x23093f(0x1ce)](_0x301625+_0x23093f(0x1ac)));const _0xf46ddb=_0x4b83d5[_0x23093f(0x22c)](_0x4b83d5[_0x23093f(0x1bd)](_0x4b83d5['IikUC'](_0x6e131d,'('),_0x43f042[_0x23093f(0x20c)](',\x20')),')');console[_0x23093f(0x1e7)](_0x4b83d5[_0x23093f(0x212)](_0x4b83d5[_0x23093f(0x1bd)](_0x4b83d5[_0x23093f(0x1bd)](_0x4b83d5[_0x23093f(0x203)]('\x0a',_0x368fbc),'\x0a'),_0xf46ddb),'\x0a')),_0x4b83d5[_0x23093f(0x1b4)](_0x1e88ec,![])&&(_0x5d9c68=0x1);}),_0x5d9c68;}async function run(_0x309f08,_0xbc8a9,_0x3c2901){const _0x39928a=a5_0xb31efd,_0x3c1055={'BjZBQ':function(_0x5b50f7,_0x2295df){return _0x5b50f7(_0x2295df);},'JYqKR':function(_0xca9e06,_0x335a81){return _0xca9e06>_0x335a81;},'EHMcE':_0x39928a(0x22e),'zFwGA':_0x39928a(0x1a3),'bJvVW':_0x39928a(0x22a),'ZOrap':'error\x20removing\x20tcg\x20config\x20file','RjjeL':_0x39928a(0x207),'TXimX':function(_0x4b3910,_0xa352cf,_0x16c80e,_0x51591a){return _0x4b3910(_0xa352cf,_0x16c80e,_0x51591a);},'BnrNF':_0x39928a(0x1da),'TXdcT':function(_0xac48a2,_0x4e1052){return _0xac48a2-_0x4e1052;},'ijbdv':function(_0xba6dba,_0x4d1657){return _0xba6dba>=_0x4d1657;},'kAqVd':function(_0x2bdb21,_0x488790){return _0x2bdb21!=_0x488790;},'LCXnr':_0x39928a(0x1f1),'cNOqd':_0x39928a(0x20f),'MTAyV':function(_0x2e99d2,_0x4be91b){return _0x2e99d2(_0x4be91b);},'HGDMy':_0x39928a(0x219),'ulcfp':_0x39928a(0x1a6),'cPiNw':function(_0x4f1a50,_0x3f1b59){return _0x4f1a50===_0x3f1b59;},'TpbGn':'../v2/browserstackCLI','IzQtC':function(_0x44e27e,_0x15115d){return _0x44e27e(_0x15115d);},'BIoiW':_0x39928a(0x228),'uJZQp':function(_0x580837,_0x152446){return _0x580837(_0x152446);},'RfAfV':_0x39928a(0x1cb),'TmZmZ':function(_0x2e61bb,_0xc89001){return _0x2e61bb(_0xc89001);},'IMMzQ':function(_0x5c66ad,_0x43bdc8){return _0x5c66ad===_0x43bdc8;},'hkguB':'--disable-test-observability','nNokL':function(_0x583a56,_0x2f0e3d){return _0x583a56>=_0x2f0e3d;},'sVLkz':function(_0x5519c0,_0x603837){return _0x5519c0===_0x603837;},'nubBI':function(_0x4ce156,_0x3b5129){return _0x4ce156(_0x3b5129);},'BMsNa':function(_0x32daef,_0x202a49,_0x524f68,_0xb2927c,_0x4d06a6,_0x5bcf15){return _0x32daef(_0x202a49,_0x524f68,_0xb2927c,_0x4d06a6,_0x5bcf15);}},_0x32bf1c=helper['getPackageVersion'](_0x3c1055[_0x39928a(0x1be)]);global['__isPlaywrightInstalled']=!!_0x32bf1c,await _0x3c2901[_0x39928a(0x23c)](_0x309f08),await _0x3c1055['TXimX'](checkPwandBootstrapCli,_0x32bf1c,constants['FRAMEWORKS'][_0x39928a(0x1e0)],_0x3c2901);BrowserstackCLI[_0x39928a(0x1f5)]()[_0x39928a(0x1d0)]&&(process['env'][_0x39928a(0x1e1)]=BrowserstackCLI['getInstance']()[_0x39928a(0x1d0)]);helper[_0x39928a(0x226)](_0x3c2901[_0x39928a(0x237)],_0x309f08);!helper[_0x39928a(0x1a7)]()&&await _0x3c2901[_0x39928a(0x1c2)]();await helper[_0x39928a(0x1c8)](_0x3c2901['config']);const _0x2e6dd9=helper['useW3C'](_0x3c2901[_0x39928a(0x1cf)]);!helper[_0x39928a(0x208)](_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x23e)])&&(process['env'][_0x39928a(0x1a2)]=JSON[_0x39928a(0x1ee)](_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x23e)]));if(!BrowserstackCLI[_0x39928a(0x1f5)]()[_0x39928a(0x1b5)]()){const _0xbf7c2c=await TestHubHandler[_0x39928a(0x1ea)](constants[_0x39928a(0x1e3)][_0x39928a(0x1e0)],_0x3c2901);}let _0x8b524c=[];if(!helper['isBrowserstackInfra']()){const _0x1b83d0={};_0x1b83d0[_0x39928a(0x1b3)]=[],_0x8b524c=helper['prepareCapabilities'](Object[_0x39928a(0x1f2)]({},_0x3c2901[_0x39928a(0x1cf)],_0x1b83d0),_0x2e6dd9,constants[_0x39928a(0x1e3)][_0x39928a(0x1e0)]);}else _0x8b524c=helper[_0x39928a(0x1bb)](_0x3c2901[_0x39928a(0x1cf)],_0x2e6dd9,constants[_0x39928a(0x1e3)][_0x39928a(0x1e0)]);if(!_0x3c2901[_0x39928a(0x1cf)])return;const _0x580f34=_0x3c2901[_0x39928a(0x1cf)]['parallelsPerPlatform']||helper['getUserWorkerCount'](_0x309f08,_0xbc8a9,_0x3c2901[_0x39928a(0x1cf)],constants['FRAMEWORKS'][_0x39928a(0x1e0)])||0x1,_0x95f05a={'server':helper[_0x39928a(0x1d4)](_0x3c2901['config']),'proxySettings':_0x3c2901[_0x39928a(0x1cf)]['proxySettings'],'maxWorkers':_0x580f34,'browserStackLogLevel':_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x1fd)],'skipSessionName':_0x3c2901['config'][_0x39928a(0x21d)][_0x39928a(0x1a9)],'skipSessionStatus':_0x3c2901['config'][_0x39928a(0x21d)]['skipSessionStatus'],'turboScaleUrl':_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x200)]},_0x4ba029=process[_0x39928a(0x238)],[_0x457e43,_0x11d576]=helper[_0x39928a(0x1dd)](_0x4ba029),_0x3b1acf=path[_0x39928a(0x20c)](process[_0x39928a(0x1e5)](),_0x3c1055['BnrNF']);if(_0x3c1055[_0x39928a(0x1df)](_0x11d576[_0x39928a(0x1c6)],0x0)){helper[_0x39928a(0x1c7)](_0x3b1acf);for(let _0xd6cce9=_0x3c1055['TXdcT'](_0x457e43[_0x39928a(0x1c6)],0x1);_0x3c1055[_0x39928a(0x1ec)](_0xd6cce9,0x0);_0xd6cce9--){_0x4ba029[_0x39928a(0x1ef)](_0x457e43[_0xd6cce9],0x2);}}_0x3c1055['kAqVd'](_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x1d1)],null)?process['env'][_0x39928a(0x1fa)]=_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x1d1)]:process['env'][_0x39928a(0x1fa)]=_0x3c1055[_0x39928a(0x1ad)];if(_0x32bf1c)try{const {checkAccessibilityPlatformConfig:_0x2cfa75}=_0x3c1055[_0x39928a(0x1f3)](require,_0x3c1055[_0x39928a(0x1b2)]),{setAccessibilityCapabilities:_0x3b8b3e}=_0x3c1055[_0x39928a(0x211)](require,_0x3c1055[_0x39928a(0x1b1)]),_0x1d99cf=_0x3c1055[_0x39928a(0x211)](_0x2cfa75,_0x3c2901['config']);if(!helper[_0x39928a(0x208)](_0x3c2901[_0x39928a(0x1cf)][_0x39928a(0x1aa)]))process[_0x39928a(0x1b7)][_0x39928a(0x225)]=_0x3c1055[_0x39928a(0x1f3)](String,!!_0x3c2901['config']['accessibility']);else helper[_0x39928a(0x208)](process[_0x39928a(0x1b7)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x39928a(0x1b7)][_0x39928a(0x225)]=_0x1d99cf?_0x3c1055[_0x39928a(0x1ad)]:_0x3c1055[_0x39928a(0x22d)]);process[_0x39928a(0x1b7)][_0x39928a(0x20b)]=_0x1d99cf?_0x3c1055[_0x39928a(0x1ad)]:_0x3c1055[_0x39928a(0x22d)],!BrowserstackCLI[_0x39928a(0x1f5)]()[_0x39928a(0x1b5)]()&&_0x3c1055[_0x39928a(0x1ff)](process[_0x39928a(0x1b7)][_0x39928a(0x225)],_0x3c1055[_0x39928a(0x1ad)])&&_0x3c1055[_0x39928a(0x211)](_0x3b8b3e,_0x3c2901['config']);}catch(_0x4b06b0){logger[_0x39928a(0x1f4)](_0x39928a(0x233)+util[_0x39928a(0x20d)](_0x4b06b0));}try{const _0x5d14da=_0x3c1055[_0x39928a(0x1f3)](require,_0x3c1055[_0x39928a(0x224)]),_0x4a5f42=_0x3c1055[_0x39928a(0x215)](require,_0x3c1055[_0x39928a(0x1ca)]),{FRAMEWORKS:_0x1b053d}=_0x3c1055[_0x39928a(0x1b8)](require,_0x3c1055['RfAfV']),{checkAccessibilityPlatformConfig:_0x2fe348}=_0x3c1055[_0x39928a(0x211)](require,_0x3c1055[_0x39928a(0x1b2)]),{setAccessibilityCapabilities:_0x520b4a}=_0x3c1055['TmZmZ'](require,_0x3c1055[_0x39928a(0x1b1)]),_0x109cc4=helper['getPackageVersion'](_0x3c1055['RjjeL']);if(_0x109cc4){_0x4a5f42['setFrameworkDetail'](constants[_0x39928a(0x1e3)]['CUCUMBER'],constants[_0x39928a(0x1e3)][_0x39928a(0x234)]),_0x5d14da[_0x39928a(0x1f5)]()[_0x39928a(0x1cc)](_0x3c2901[_0x39928a(0x1cf)],_0x3c2901[_0x39928a(0x1c4)],_0x3c2901[_0x39928a(0x1b6)]),await _0x5d14da[_0x39928a(0x1f5)]()[_0x39928a(0x21c)]();const _0x4d06b9=_0x5d14da[_0x39928a(0x1f5)]()[_0x39928a(0x1e8)]();!helper[_0x39928a(0x1d9)](_0x4d06b9[_0x39928a(0x239)])&&(process['env'][_0x39928a(0x1fe)]=_0x3c1055[_0x39928a(0x1ad)]);_0x3c1055[_0x39928a(0x232)](_0x4d06b9[_0x39928a(0x239)],![])&&(process[_0x39928a(0x1b7)]['BROWSERSTACK_AUTOMATION']=_0x3c1055[_0x39928a(0x22d)]);const _0x28c686=_0xbc8a9[_0x39928a(0x217)](_0x3c1055[_0x39928a(0x1dc)]);(_0x3c1055['nNokL'](_0x28c686,0x0)||_0x3c1055[_0x39928a(0x1b9)](_0x4d06b9[_0x39928a(0x1d1)],![]))&&(process[_0x39928a(0x1b7)][_0x39928a(0x227)]=_0x3c1055[_0x39928a(0x22d)]);if(!_0x5d14da[_0x39928a(0x1f5)]()['isRunning']()){let _0x51f458=_0x3c1055[_0x39928a(0x1ff)](process['env'][_0x39928a(0x225)],_0x3c1055['LCXnr']);_0x51f458=_0x51f458||_0x3c1055[_0x39928a(0x1b8)](_0x2fe348,_0x3c2901[_0x39928a(0x1cf)]),process[_0x39928a(0x1b7)][_0x39928a(0x225)]=_0x51f458,_0x51f458&&_0x3c1055[_0x39928a(0x20a)](_0x520b4a,_0x3c2901[_0x39928a(0x1cf)]);}}}catch(_0x7eb294){logger[_0x39928a(0x1f4)](_0x39928a(0x206)+util[_0x39928a(0x20d)](_0x7eb294));}PerformanceTester[_0x39928a(0x1d6)](PerformanceEvents[_0x39928a(0x1ed)]);let _0x111d43;_0x3c1055['BMsNa'](parallelCucumberRun,_0x8b524c,_0x95f05a,_0x3c2901[_0x39928a(0x1cf)],_0x4ba029,_0x11d576)['then'](async _0x51f13f=>{const _0x30b869=_0x39928a;PerformanceTester[_0x30b869(0x209)](PerformanceEvents[_0x30b869(0x223)]),_0x111d43=_0x51f13f;const _0xbfdf21=_0x3c1055[_0x30b869(0x1f3)](printCucumberStats,_0x51f13f);process[_0x30b869(0x1c1)]=_0xbfdf21,_0x3c1055[_0x30b869(0x1df)](_0x11d576[_0x30b869(0x1c6)],0x0)&&(logger[_0x30b869(0x1f4)](_0x3c1055['EHMcE']),helper[_0x30b869(0x1f7)](_0x3b1acf,_0x11d576),logger['debug'](_0x3c1055[_0x30b869(0x1a0)]),helper[_0x30b869(0x1db)](_0x3b1acf));})[_0x39928a(0x1fc)](async()=>{const _0x47496b=_0x39928a;PerformanceTester[_0x47496b(0x209)](PerformanceEvents['SDK_CLEANUP']),_0x3c2901[_0x47496b(0x213)]=helper['getErrorMessageFromResults'](_0x111d43,_0x3c1055['bJvVW']),testOpsHelper[_0x47496b(0x1bc)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()['stop']();}catch(_0x4f2447){logger[_0x47496b(0x1f4)](_0x47496b(0x1a5)+util['format'](_0x4f2447));}try{const {browserstackFolderPath:_0x5b8e35,tcgConfigPath:_0x352c6e}=helper[_0x47496b(0x1d2)]();fs[_0x47496b(0x1a8)](_0x352c6e),fs[_0x47496b(0x1d3)](_0x5b8e35);}catch(_0x39a567){logger[_0x47496b(0x1f4)](_0x3c1055['ZOrap'],_0x39a567);}await utilities[_0x47496b(0x202)](_0x3c2901);});}function a5_0x20bc(_0x1546c7,_0x4647c1){const _0xb52606=a5_0xb526();return a5_0x20bc=function(_0x20bc9a,_0x5aabb8){_0x20bc9a=_0x20bc9a-0x1a0;let _0x42cab2=_0xb52606[_0x20bc9a];return _0x42cab2;},a5_0x20bc(_0x1546c7,_0x4647c1);}module['exports']=run;function a5_0xb526(){const _0x29afca=['bgWhite','configPath','../../helpers/testhub/testhubHandler','length','createDir','handleApp','\x20scenarios','BIoiW','../../helpers/test-observability/constants','setBrowserstackConfig','../../helpers/helper','yellow','config','binSessionId','testObservability','getTCGConfigFilePaths','rmdirSync','getHubUrl','../utils/clientTroubleshootingService','end','../../helpers/performance/performance-tester','veiOD','isFalse','tmp','removeDir','hkguB','parseFormatters','stepsPending','JYqKR','CUCUMBER','BROWSERSTACK_CLI_BIN_SESSION_ID','ylngp','FRAMEWORKS','PoADO','cwd','forEach','log','getConfig','red','launchBuild','\x20ambiguous','ijbdv','SDK_SETUP','stringify','splice','stepsFailed','true','assign','BjZBQ','debug','getInstance','\x20pending','mergeOutputFiles','EVENTS','stepsUndefined','BROWSERSTACK_TEST_OBSERVABILITY_YML','bold','finally','logLevel','BROWSERSTACK_AUTOMATION','cPiNw','turboScaleUrl','../test-runner','finalExecution','xGsEy','../../helpers/test-observability/utils','../../helpers/utilities','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','@playwright/test','isUndefined','start','nubBI','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','join','format','eYoxl','../../helpers/accessibility-automation/helper','TdOCx','MTAyV','zEKeg','errorMessage','getPlatformName','IzQtC','18oYcyXo','indexOf','1007721oQyUnr','../playwright/accessibility-helper','../utils/constants','../../helpers/performance/constants','bootstrap','testContextOptions','\x20undefined','push','962920SrnGsR','5572AXnxPf','chalk','SDK_CLEANUP','TpbGn','BROWSERSTACK_TEST_ACCESSIBILITY_YML','setUserConfigPath','BROWSERSTACK_TEST_OBSERVABILITY','../v2/cliUtils','green','cucumber','stepsUnknown','BYYXX','ulcfp','Generating\x20consolidated\x20report...','10oOVbmq','5IsGAAG','\x20failed','IMMzQ','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','PLAYWRIGHT','util','26277VEQrKF','framework','argv','browserstackAutomation','812824ihBuSO','102VlIMvP','initialize','10891QUmZmI','accessibilityOptions','\x20passed','ZtlTs','zFwGA','scenariosFailed','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','Removing\x20tmp\x20directory\x20created\x20for\x20reports','processSuccess','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','false','isBrowserstackInfra','unlinkSync','skipSessionName','accessibility','stepsAmbiguous','\x20skipped','LCXnr','DKjpI','TijkX','stepsPassed','HGDMy','cNOqd','platforms','ivWgi','isRunning','cliConfig','env','uJZQp','sVLkz','path','prepareCapabilities','printBuildLink','voxVW','RjjeL','2653673JUhhZH','stepsSkipped','exitCode','setupTCGAuth'];a5_0xb526=function(){return _0x29afca;};return a5_0xb526();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x6bef6a=a6_0x345a;function a6_0x345a(_0x29cb82,_0x16a675){const _0x3bc6e5=a6_0x3bc6();return a6_0x345a=function(_0x345a14,_0x14bc08){_0x345a14=_0x345a14-0xe7;let _0x27b080=_0x3bc6e5[_0x345a14];return _0x27b080;},a6_0x345a(_0x29cb82,_0x16a675);}(function(_0x42c770,_0x24d863){const _0x1a4b85=a6_0x345a,_0x5afbd8=_0x42c770();while(!![]){try{const _0x3e5789=parseInt(_0x1a4b85(0x15b))/0x1*(parseInt(_0x1a4b85(0x106))/0x2)+parseInt(_0x1a4b85(0x126))/0x3*(-parseInt(_0x1a4b85(0x15f))/0x4)+-parseInt(_0x1a4b85(0x108))/0x5*(-parseInt(_0x1a4b85(0x14b))/0x6)+-parseInt(_0x1a4b85(0x134))/0x7+parseInt(_0x1a4b85(0x1b9))/0x8+parseInt(_0x1a4b85(0x144))/0x9*(parseInt(_0x1a4b85(0x1b1))/0xa)+parseInt(_0x1a4b85(0x127))/0xb*(parseInt(_0x1a4b85(0x169))/0xc);if(_0x3e5789===_0x24d863)break;else _0x5afbd8['push'](_0x5afbd8['shift']());}catch(_0x17df9c){_0x5afbd8['push'](_0x5afbd8['shift']());}}}(a6_0x3bc6,0xcd90e));function a6_0x3bc6(){const _0x1acbd0=['testCases','nkcXq',',\x20binSessionId:\x20','100gilToZ','gherkinDocumentMap','seconds','TestRunStarted','KJKNs','children','FaGmi','POST','hook','cucumber','12AxnPTe','failure','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','AWgUk','nPkaG','onTestCaseStarted','cwcmj','status','AxQoz','pPVBD','oJaFO','CUCUMBER','onTestCase','getTestUUID','toLowerCase','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','testSteps','toString','result','message','test','alvDL','BROWSERSTACK_CLI_BIN_SESSION_ID','NXdtP','CLI\x20already\x20running\x20-\x20binSessionId:\x20','_performCLIInitialization','map','gherkinDocument','SKIPPED','Bveti','KuDrv','dILeW','parse','pickleMap','JLlMy','../../../helpers/logger','push','duration','isRunning','path','bstack','GJSKJ','sendTestRunEventForCucumber','qtrVe','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','pickleStepId','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','CbkjM','createHookData','PENDING','../../../helpers/helper','getInstance','sourceLocation','forEach','BWCxG','IcLkm','eAtHp','../../v2/state/hookState.js','trackEvent','PASSED','testRunFinished','HookRunFinished','getTestCaseAttempt','INIT_TEST','hook_type','scenario','hooks','testCaseStartedId','format','../test-observability.js','testStepId','JmOEz','187260UryuQO','wDuvE','PRE','../../v2/state/testFrameworkState.js','LOG_REPORT','VUkLC','cZZTe','\x20\x20\x20\x20','6830640doxeNN','cucumber-js/test.setup.js','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','log','finishedAt','testCaseId','source','dCeEb','testStepFinished','exports','snippetBuilder','util','YHuha','HookRunStarted','@cucumber/cucumber','NNCDh','extractStepContainers','PmHdh','../../v2/utils/cucumber-utils.js','CONFIG','jgPYV','testCase','TestRunFinished','cMTki','text','capability','type','onTestRunStarted','feature','nBoQa','onTestRunFinished','testCaseFinished','logTestCaseFinished','onPickle','find','onSource','UzXUv','uri','79634sFdmOu','AMBIGUOUS','5sWefEl','getTestFramework','eventDataCollector','vgzuD','cliInitPromise','Exception\x20in\x20onTestStepFinished\x20event:\x20','cwd','../../utils/constants','UNDEFINED','pickle','testRunStarted','zBwme','GmjOw','jQaYh','logTestRunFinished','ensureCLIInitialized','failed','onTestStepStarted','toISOString','isBstackHook','onStepDefinition','onTestCaseFinished','testCaseAttemptDataMap','testStepResult','actionLocation','KcDSV','pickleId','steps','FAILED','env','198813ZpNSZN','2498463SUJUXT','isCliEnabled','binSessionId','values','background','split','onHook','report','onTestStepFinished','setFrameworkDetail','testStepStarted','pEoTF','name','8854881GUUiQE','ZeqgY','__platform','eventBroadcaster','getGherkinStepMap','isCLIReady','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','testCaseStarted','siCkY','onGherkinDocument','TEST','getGherkinDocument','UCCnj','assign','testUUID','PLAYWRIGHT','117sTtCgK','createTestFrameworkData','qFkAY','exception','SvPrP','IqqkM','rule','4841148YksrHp','../../../helpers/test-observability/error-handler','pggLK','dKZYc','vWAlQ','Exception\x20in\x20onTestStepStarted\x20event:\x20','Executing\x20tests\x20for\x20','sendHook','../../playwright/reporter/test-details.js','inKvx','supportCodeLibrary','CdjiR','debug','description','testCaseAttempt','pxMbH','41IizbRi'];a6_0x3bc6=function(){return _0x1acbd0;};return a6_0x3bc6();}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x6bef6a(0x19b)),util=require(a6_0x6bef6a(0xeb)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x6bef6a(0xee)),TestDetails=require(a6_0x6bef6a(0x153)),TestObservabilityReporter=require(a6_0x6bef6a(0x1ae)),{o11yClassErrorHandler}=require(a6_0x6bef6a(0x14c)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require(a6_0x6bef6a(0x1b4)),HookState=require(a6_0x6bef6a(0x1a2)),CucumberUtils=require(a6_0x6bef6a(0xf2)),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x6bef6a(0x18c))['winstonLogger'],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x3825fe){const _0x4d99fa=a6_0x6bef6a,_0x21d28d={};_0x21d28d[_0x4d99fa(0xef)]='envelope';const _0x346c73=_0x21d28d;super(_0x3825fe),this[_0x4d99fa(0x12e)]={},_0x3825fe[_0x4d99fa(0x137)]['on'](_0x346c73['NNCDh'],async _0x3d7f4d=>{const _0x541609=_0x4d99fa;switch(!![]){case!!_0x3d7f4d[_0x541609(0x112)]:this[_0x541609(0xfb)](_0x3d7f4d[_0x541609(0x112)]);break;case!!_0x3d7f4d[_0x541609(0x1a5)]:this[_0x541609(0xfe)](_0x3d7f4d['testRunFinished']);break;case!!_0x3d7f4d[_0x541609(0x13b)]:this[_0x541609(0x16e)](_0x3d7f4d[_0x541609(0x13b)],_0x3825fe,_0x3d7f4d);break;case!!_0x3d7f4d['testCaseFinished']:this[_0x541609(0x11d)](_0x3d7f4d['testCaseFinished'],_0x3825fe,_0x3d7f4d);break;case!!_0x3d7f4d[_0x541609(0x131)]:this[_0x541609(0x119)](_0x3d7f4d['testStepStarted'],_0x3825fe);break;case!!_0x3d7f4d[_0x541609(0xe8)]:this['onTestStepFinished'](_0x3d7f4d[_0x541609(0xe8)],_0x3825fe);break;case!!_0x3d7f4d[_0x541609(0x167)]:this[_0x541609(0x12d)](_0x3d7f4d[_0x541609(0x167)]);break;case!!_0x3d7f4d[_0x541609(0xf5)]:this[_0x541609(0x175)](_0x3d7f4d[_0x541609(0xf5)]);break;case!!_0x3d7f4d[_0x541609(0x111)]:this[_0x541609(0x101)](_0x3d7f4d[_0x541609(0x111)]);break;case!!_0x3d7f4d[_0x541609(0x184)]:this[_0x541609(0x13d)](_0x3d7f4d[_0x541609(0x184)]);break;}});}[a6_0x6bef6a(0x12d)](_0x323170){const _0x1364be=a6_0x6bef6a;this[_0x1364be(0x12e)][_0x1364be(0x1ab)]=Object[_0x1364be(0x141)]([],this[_0x1364be(0x12e)][_0x1364be(0x1ab)]||[]),this['report']['hooks'][_0x1364be(0x18d)](_0x323170);}['onPickle'](_0x344cb8){const _0x244746=a6_0x6bef6a;this[_0x244746(0x12e)][_0x244746(0x111)]=Object['assign']([],this[_0x244746(0x12e)]['pickle']||[],[_0x344cb8]),this[_0x244746(0x12e)][_0x244746(0x111)][_0x244746(0x18d)](_0x344cb8);}[a6_0x6bef6a(0x13d)](_0x10d762){const _0x20b364=a6_0x6bef6a;this[_0x20b364(0x12e)][_0x20b364(0x184)]=Object[_0x20b364(0x141)]([],this[_0x20b364(0x12e)][_0x20b364(0x184)]||[],[_0x10d762]),this['report'][_0x20b364(0x184)]['push'](_0x10d762);}[a6_0x6bef6a(0x103)](_0x6e7d5){const _0x2fb8ac=a6_0x6bef6a;this[_0x2fb8ac(0x12e)][_0x2fb8ac(0x1bf)]=_0x6e7d5;}[a6_0x6bef6a(0x11c)](_0x37177a){const _0x180500=a6_0x6bef6a;this['report']['stepDefinition']=Object[_0x180500(0x141)]([],this[_0x180500(0x12e)]['stepDefinition']||[],[_0x37177a]),this[_0x180500(0x12e)]['stepDefinition'][_0x180500(0x18d)](_0x37177a);}[a6_0x6bef6a(0x175)](_0x590189){const _0x22a0b8=a6_0x6bef6a;this[_0x22a0b8(0x12e)]['testCases']=Object[_0x22a0b8(0x141)]([],this[_0x22a0b8(0x12e)][_0x22a0b8(0x15c)]||[],[_0x590189]),this[_0x22a0b8(0x12e)][_0x22a0b8(0x15c)]['push'](_0x590189);}[a6_0x6bef6a(0x100)](_0x39633f){const _0x2a7ce6=a6_0x6bef6a,_0x226b46={'dKZYc':function(_0x4c2b98,_0x203d23){return _0x4c2b98!==_0x203d23;},'FaGmi':_0x2a7ce6(0x191),'UzXUv':function(_0x1ecac3,_0x180062){return _0x1ecac3+_0x180062;},'CdjiR':function(_0x3f69b5,_0x10088e){return _0x3f69b5+_0x10088e;},'GJSKJ':function(_0x513394,_0x226ab0){return _0x513394+_0x226ab0;},'ZeqgY':_0x2a7ce6(0x1b8),'IcLkm':'\x20-\x20','PmHdh':function(_0x59eda2,_0x106621){return _0x59eda2===_0x106621;},'YmJDF':_0x2a7ce6(0x124),'GIHZL':function(_0x197f63,_0x335a11,_0x51f64e){return _0x197f63(_0x335a11,_0x51f64e);},'cwcmj':_0x2a7ce6(0x17b),'IqqkM':_0x2a7ce6(0x17c),'siCkY':function(_0x3c6c48,_0x14e9f8){return _0x3c6c48+_0x14e9f8;},'ZSkWx':function(_0x4c1321,_0x355c64){return _0x4c1321!==_0x355c64;},'AxQoz':function(_0x411653,_0x5bbc83){return _0x411653+_0x5bbc83;},'nkcXq':function(_0xd06557,_0x1fda10){return _0xd06557+_0x1fda10;},'dkMgf':function(_0x527122,_0x3f7654){return _0x527122+_0x3f7654;}};_0x226b46['ZSkWx'](global[_0x2a7ce6(0x136)],undefined)&&this[_0x2a7ce6(0x1bc)](_0x226b46[_0x2a7ce6(0x13c)](_0x226b46[_0x2a7ce6(0x171)]('\x0a',global[_0x2a7ce6(0x136)]),'\x0a'));const _0x486437=this[_0x2a7ce6(0x10a)][_0x2a7ce6(0x1a7)](_0x39633f[_0x2a7ce6(0x1ac)]);this[_0x2a7ce6(0x1bc)](_0x226b46[_0x2a7ce6(0x156)](_0x226b46[_0x2a7ce6(0x15d)](_0x226b46['dkMgf'](_0x226b46[_0x2a7ce6(0x171)]('\x20\x20',_0x486437[_0x2a7ce6(0x184)][_0x2a7ce6(0xfc)][_0x2a7ce6(0x133)]),_0x226b46[_0x2a7ce6(0x1a0)]),_0x486437[_0x2a7ce6(0x111)]['name']),'\x0a'));const _0x1032c3={};_0x1032c3[_0x2a7ce6(0x10e)]=this['cwd'],_0x1032c3[_0x2a7ce6(0xea)]=this[_0x2a7ce6(0xea)],_0x1032c3[_0x2a7ce6(0x155)]=this[_0x2a7ce6(0x155)],_0x1032c3[_0x2a7ce6(0x159)]=_0x486437;const _0x558a08=formatterHelpers['parseTestCaseAttempt'](_0x1032c3);let _0x3c3c62=![];_0x558a08[_0x2a7ce6(0x179)][_0x2a7ce6(0x19e)](_0x288329=>{const _0x5e70f2=_0x2a7ce6;if(_0x226b46[_0x5e70f2(0x14e)](_0x288329['name'],_0x226b46[_0x5e70f2(0x165)])&&!this[_0x5e70f2(0x11b)](_0x288329)){totalTests+=0x1,this[_0x5e70f2(0x1bc)](_0x226b46['UzXUv'](_0x226b46[_0x5e70f2(0x156)](_0x226b46[_0x5e70f2(0x192)](_0x226b46[_0x5e70f2(0x156)](_0x226b46[_0x5e70f2(0x104)](_0x226b46[_0x5e70f2(0x135)],_0x288329['keyword']),_0x288329[_0x5e70f2(0xf8)]||''),_0x226b46[_0x5e70f2(0x1a0)]),Status[_0x288329[_0x5e70f2(0x17b)][_0x5e70f2(0x170)]]),'\x0a')),this['incrementCounter'](Status[_0x288329[_0x5e70f2(0x17b)][_0x5e70f2(0x170)]]);if(_0x226b46[_0x5e70f2(0xf1)](Status[_0x288329[_0x5e70f2(0x17b)]['status']],_0x226b46['YmJDF'])){_0x3c3c62=!![];const _0x5284dd=_0x226b46['GIHZL'](nestedKeyValue,_0x288329,[_0x226b46[_0x5e70f2(0x16f)],_0x226b46[_0x5e70f2(0x149)]]);_0x5284dd&&(testsErrorMessage[_0x226b46[_0x5e70f2(0x104)](_0x226b46['UzXUv'](_0x486437[_0x5e70f2(0x184)][_0x5e70f2(0xfc)][_0x5e70f2(0x133)],_0x226b46[_0x5e70f2(0x1a0)]),_0x486437[_0x5e70f2(0x111)][_0x5e70f2(0x133)])]=_0x5284dd,this['log'](_0x226b46['siCkY'](_0x5284dd,'\x0a')));}}}),_0x3c3c62&&(testSuitesFailed+=0x1),this[_0x2a7ce6(0x1bc)]('\x0a');}[a6_0x6bef6a(0x116)](_0x3a569a){}[a6_0x6bef6a(0x11b)](_0x19dbdb){const _0x54b9a0=a6_0x6bef6a,_0x440b81={};_0x440b81[_0x54b9a0(0x14f)]=function(_0x4ba146,_0x2252e2){return _0x4ba146!==_0x2252e2;},_0x440b81[_0x54b9a0(0xec)]=_0x54b9a0(0x1ba);const _0x1d2105=_0x440b81;if(_0x1d2105[_0x54b9a0(0x14f)](_0x19dbdb[_0x54b9a0(0x19d)],undefined))return![];if(_0x19dbdb[_0x54b9a0(0x120)]&&_0x19dbdb[_0x54b9a0(0x120)][_0x54b9a0(0x105)]['includes'](_0x1d2105[_0x54b9a0(0xec)]))return!![];return![];}['incrementCounter'](_0x5ea484){const _0x154fd8=a6_0x6bef6a,_0x50933b={};_0x50933b[_0x154fd8(0xe7)]=_0x154fd8(0x124),_0x50933b[_0x154fd8(0x121)]=_0x154fd8(0x1a4),_0x50933b[_0x154fd8(0x115)]=_0x154fd8(0x185),_0x50933b[_0x154fd8(0x198)]=_0x154fd8(0x19a),_0x50933b[_0x154fd8(0x19f)]=_0x154fd8(0x110),_0x50933b[_0x154fd8(0x1b0)]='UNKNOWN',_0x50933b[_0x154fd8(0x146)]=_0x154fd8(0x107);const _0x5c3aa8=_0x50933b;switch(_0x5ea484){case _0x5c3aa8[_0x154fd8(0xe7)]:testsFailed+=0x1;break;case _0x5c3aa8[_0x154fd8(0x121)]:testsPassed+=0x1;break;case _0x5c3aa8[_0x154fd8(0x115)]:testsSkipped+=0x1;break;case _0x5c3aa8['CbkjM']:testsPending+=0x1;break;case _0x5c3aa8[_0x154fd8(0x19f)]:testsUndefined+=0x1;break;case _0x5c3aa8[_0x154fd8(0x1b0)]:testsUnknown+=0x1;break;case _0x5c3aa8['qFkAY']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x6bef6a(0xfb)](_0x5aa418){const _0x39b20e=a6_0x6bef6a,_0x52db98={'zBwme':function(_0x28afd4,_0x52ef3a){return _0x28afd4!==_0x52ef3a;},'HsVvR':function(_0x318a13,_0x249b2e){return _0x318a13!==_0x249b2e;},'nPkaG':function(_0x37691a){return _0x37691a();},'nRpoV':function(_0x25a69b,_0xcc624b){return _0x25a69b(_0xcc624b);},'vgzuD':function(_0x55d06a,_0x5393a2){return _0x55d06a+_0x5393a2;},'cZZTe':function(_0x4029f5){return _0x4029f5();},'SvPrP':_0x39b20e(0x168)};let _0x2e8125;if(_0x52db98[_0x39b20e(0x113)](process[_0x39b20e(0x125)]['CONFIG'],undefined)){const _0x4614df=JSON[_0x39b20e(0x189)](process[_0x39b20e(0x125)][_0x39b20e(0xf3)]);_0x2e8125=_0x4614df[_0x39b20e(0xf9)];}_0x52db98['HsVvR'](_0x2e8125,undefined)&&_0x52db98[_0x39b20e(0x16d)](isBrowserstackInfra)&&(global[_0x39b20e(0x136)]=_0x52db98['nRpoV'](getPlatformName,_0x2e8125),this[_0x39b20e(0x1bc)](_0x52db98[_0x39b20e(0x10b)](_0x39b20e(0x151)+global[_0x39b20e(0x136)],'\x0a'))),_0x52db98[_0x39b20e(0x1b7)](shouldProcessEventForTesthub)&&(TestDetails['setup'](),this[_0x39b20e(0x12e)]['testRunStarted']=_0x5aa418,BrowserstackCLI[_0x39b20e(0x19c)]()[_0x39b20e(0x128)]()&&await this['isCLIReady']()&&(TestInfo['setup'](_0x52db98[_0x39b20e(0x148)]),await BrowserstackCLI[_0x39b20e(0x19c)]()[_0x39b20e(0x109)]()[_0x39b20e(0x1a3)](TestFrameworkState[_0x39b20e(0x1a8)],HookState[_0x39b20e(0x1b3)],{})));}[a6_0x6bef6a(0xfe)](_0x59e80d){const _0x360bc6=a6_0x6bef6a;this[_0x360bc6(0x12e)][_0x360bc6(0x1a5)]=_0x59e80d,this['logTestRunFinished'](_0x59e80d);}async[a6_0x6bef6a(0x16e)](_0x12697d,_0x323dbb,_0x27a6fe){const _0xec7c91=a6_0x6bef6a,_0x5807f4={'AmAAw':function(_0x5a93ab,_0x6dbfc2){return _0x5a93ab(_0x6dbfc2);},'VUkLC':_0xec7c91(0x162),'pEoTF':function(_0x3817b5,_0x4b907e){return _0x3817b5&&_0x4b907e;}};testSuites+=0x1;if(_0x5807f4['AmAAw'](shouldProcessEventForTesthub,_0x5807f4[_0xec7c91(0x1b6)]))try{this[_0xec7c91(0x12e)][_0xec7c91(0x13b)]=this[_0xec7c91(0x12e)][_0xec7c91(0x13b)]||{},this['report']['testCaseStarted'][_0x12697d['id']]=_0x12697d;let _0x1cc98f=null;BrowserstackCLI[_0xec7c91(0x19c)]()[_0xec7c91(0x128)]()&&await this[_0xec7c91(0x139)]()?_0x1cc98f=TestInfo[_0xec7c91(0x176)](_0x12697d['id']):_0x1cc98f=TestDetails[_0xec7c91(0x176)](_0x12697d['id']);_testCasesData[_0x12697d['id']]=Object[_0xec7c91(0x141)]({},_0x27a6fe);const _0x574955=this['report'],_0x10d24e=_0x12697d[_0xec7c91(0x1be)],_0x3ebd0d=_0x574955['testCases'][_0xec7c91(0x102)](_0x35f3e8=>_0x35f3e8['id']===_0x10d24e)[_0xec7c91(0x122)],_0x14c48e=_0x574955['pickle'][_0xec7c91(0x102)](_0xbbd3a8=>_0xbbd3a8['id']===_0x3ebd0d),_0xaf978=_0x574955[_0xec7c91(0x184)][_0xec7c91(0x102)](_0x297335=>_0x297335[_0xec7c91(0x105)]===_0x14c48e[_0xec7c91(0x105)]),_0x282c67=_0xaf978[_0xec7c91(0xfc)],_0x6c232b={'uuid':_0x1cc98f,'startedAt':new Date()[_0xec7c91(0x11a)]()};if(_0x14c48e){const _0x42f464={};_0x42f464[_0xec7c91(0x133)]=_0x14c48e[_0xec7c91(0x133)],_0x6c232b[_0xec7c91(0x1aa)]=_0x42f464;}if(_0x5807f4[_0xec7c91(0x132)](_0xaf978,_0x282c67)){const _0x448e4b={};_0x448e4b[_0xec7c91(0x190)]=_0xaf978[_0xec7c91(0x105)],_0x448e4b[_0xec7c91(0x133)]=_0x282c67[_0xec7c91(0x133)],_0x448e4b[_0xec7c91(0x158)]=_0x282c67[_0xec7c91(0x158)],_0x6c232b[_0xec7c91(0xfc)]=_0x448e4b;}_tests[_0x10d24e]=_0x6c232b;if(BrowserstackCLI['getInstance']()['isCliEnabled']()&&await this[_0xec7c91(0x139)]()){const _0x4e9de0=await cucumberUtils[_0xec7c91(0x145)](_0x6c232b,_0x14c48e,_0x27a6fe,_0xaf978,_0x12697d['id'],_0x5807f4['VUkLC']),_0x783b49={};_0x783b49[_0xec7c91(0x17d)]=_0x4e9de0,await BrowserstackCLI[_0xec7c91(0x19c)]()[_0xec7c91(0x109)]()[_0xec7c91(0x1a3)](TestFrameworkState[_0xec7c91(0x13e)],HookState[_0xec7c91(0x1b3)],_0x783b49);return;}await testObservabilityReporter[_0xec7c91(0x193)](_0x27a6fe,_0xaf978,_0x14c48e,_0x5807f4[_0xec7c91(0x1b6)],_0x6c232b);}catch(_0x131764){logger[_0xec7c91(0x157)](_0xec7c91(0x13a)+util[_0xec7c91(0x1ad)](_0x131764)+'\x20');}}async[a6_0x6bef6a(0x11d)](_0x199b1f,_0x2959b8,_0x70607c){const _0xae99a7=a6_0x6bef6a,_0x241628={'HUAvp':function(_0x3c0169,_0x79d9f0){return _0x3c0169(_0x79d9f0);},'qtrVe':_0xae99a7(0xf6),'KJKNs':_0xae99a7(0x17d)};this[_0xae99a7(0x100)](_0x199b1f);if(_0x241628['HUAvp'](shouldProcessEventForTesthub,_0x241628[_0xae99a7(0x194)]))try{this[_0xae99a7(0x12e)][_0xae99a7(0xff)]=this[_0xae99a7(0x12e)][_0xae99a7(0xff)]||{},this[_0xae99a7(0x12e)][_0xae99a7(0xff)][_0x199b1f[_0xae99a7(0x1ac)]]=_0x199b1f,_testCasesData[_0x70607c['id']]=Object[_0xae99a7(0x141)]({},_0x70607c);const _0x54a8fb=_0x199b1f[_0xae99a7(0x1ac)],_0x12d050=_0x2959b8['eventDataCollector']['testCaseAttemptDataMap'][_0x54a8fb]['testCaseId'],_0x3a74d2=_0x2959b8[_0xae99a7(0x10a)]['testCaseMap'][_0x12d050],_0x5f07f0=_0x3a74d2[_0xae99a7(0x122)],_0x792b4=_0x2959b8[_0xae99a7(0x10a)][_0xae99a7(0x18a)][_0x5f07f0],_0x206a47=this[_0xae99a7(0x13f)](_0x2959b8,_0x792b4),_0x4d4e1c=_0x206a47[_0xae99a7(0xfc)],_0x229878=_tests[_0x12d050];_0x229878&&(delete _tests[_0x12d050],_0x229878[_0xae99a7(0x1bd)]=new Date()['toISOString']());if(BrowserstackCLI['getInstance']()[_0xae99a7(0x128)]()&&await this[_0xae99a7(0x139)]()){const _0x1ac9d3=await cucumberUtils['createTestFrameworkData'](_0x229878,_0x792b4,_0x70607c,_0x206a47,_0x54a8fb,_0x241628[_0xae99a7(0x194)]),_0x384e54={};_0x384e54['test']=_0x1ac9d3,await BrowserstackCLI[_0xae99a7(0x19c)]()[_0xae99a7(0x109)]()['trackEvent'](TestFrameworkState[_0xae99a7(0x13e)],HookState['POST'],_0x384e54);const _0x1685ee={};_0x1685ee['testUUID']=_0x199b1f[_0xae99a7(0x1ac)],_0x1685ee[_0xae99a7(0xfa)]=_0x241628[_0xae99a7(0x163)],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0xae99a7(0x1a3)](TestFrameworkState[_0xae99a7(0x1b5)],HookState[_0xae99a7(0x166)],_0x1685ee);return;}await testObservabilityReporter[_0xae99a7(0x193)](_0x70607c,_0x206a47,_0x792b4,_0x241628[_0xae99a7(0x194)],_0x229878);}catch(_0x1995a0){logger[_0xae99a7(0x157)](_0xae99a7(0x178)+util['format'](_0x1995a0));}}async[a6_0x6bef6a(0x119)](_0xf2ecc7,_0x5c7959){const _0x59e103=a6_0x6bef6a,_0x2310d8={'eAtHp':function(_0x2b1443,_0x4cc607){return _0x2b1443(_0x4cc607);},'UCCnj':_0x59e103(0xed),'pggLK':function(_0x3253f6,_0x35c086){return _0x3253f6!==_0x35c086;},'jgPYV':_0x59e103(0x1af)};if(_0x2310d8[_0x59e103(0x1a1)](shouldProcessEventForTesthub,_0x2310d8[_0x59e103(0x140)]))try{this[_0x59e103(0x12e)]['testStepStarted']=this[_0x59e103(0x12e)][_0x59e103(0x131)]||{},this[_0x59e103(0x12e)][_0x59e103(0x131)][_0xf2ecc7['testCaseStartedId']]=_0xf2ecc7;const _0x33de5d=_0xf2ecc7[_0x59e103(0x1ac)],_0x481986=_0x5c7959[_0x59e103(0x10a)]['testCaseAttemptDataMap'][_0x33de5d]['testCaseId'],_0x198e8f=this[_0x59e103(0x12e)]['testCases'][_0x59e103(0x102)](_0x7a3263=>_0x7a3263['id']===_0x481986)[_0x59e103(0x122)],_0x5af4e8=this[_0x59e103(0x12e)][_0x59e103(0x111)]['find'](_0x548e6b=>_0x548e6b['id']===_0x198e8f),_0x19753a=this[_0x59e103(0x12e)][_0x59e103(0x15c)][_0x59e103(0x102)](_0x21d2c2=>_0x21d2c2['id']===_0x481986)[_0x59e103(0x179)],_0x50ae75=this[_0x59e103(0x12e)][_0x59e103(0x131)][_0x33de5d]['testStepId'],_0x3beeae=_0x19753a[_0x59e103(0x102)](_0x3e2bc0=>_0x3e2bc0['id']===_0x50ae75)[_0x59e103(0x196)],_0x46b2d4=_0x5af4e8[_0x59e103(0x123)][_0x59e103(0x102)](_0x38f4da=>_0x38f4da['id']===_0x3beeae);if(_0x3beeae&&_tests[_0x481986]&&_0x2310d8[_0x59e103(0x14d)](_tests[_0x481986][_0x2310d8['jgPYV']],_0x50ae75)){_tests[_0x481986][_0x2310d8[_0x59e103(0xf4)]]=_0x50ae75;const _0x2e4648={};_0x2e4648[_0x59e103(0x123)]=[];const _0x3679b9=_tests[_0x481986]||_0x2e4648;_0x3679b9&&!_0x3679b9['steps']&&(_0x3679b9['steps']=[]),_0x3679b9['steps'][_0x59e103(0x18d)]({'id':_0x46b2d4['id'],'text':_0x46b2d4[_0x59e103(0xf8)],'started_at':new Date()[_0x59e103(0x11a)]()}),_tests[_0x481986]=_0x3679b9;}if(BrowserstackCLI[_0x59e103(0x19c)]()[_0x59e103(0x128)]()&&await this[_0x59e103(0x139)]()){const _0x347da5=await cucumberUtils['createHookData'](this[_0x59e103(0x12e)],_0x33de5d,_0x2310d8['UCCnj'],_0x19753a,_0x50ae75,_tests[_0x481986]);_0x347da5&&await BrowserstackCLI[_0x59e103(0x19c)]()[_0x59e103(0x109)]()[_0x59e103(0x1a3)](TestFrameworkState[_0x347da5[_0x59e103(0x1a9)]],HookState[_0x59e103(0x1b3)],{'hookData':_0x347da5,'testUUID':_0xf2ecc7[_0x59e103(0x1ac)]});return;}await testObservabilityReporter[_0x59e103(0x152)](this[_0x59e103(0x12e)],_0x33de5d,_0x2310d8[_0x59e103(0x140)],_0x19753a,_0x50ae75,_tests[_0x481986]);}catch(_0x36cac2){logger['debug'](_0x59e103(0x150)+util[_0x59e103(0x1ad)](_0x36cac2));}}async[a6_0x6bef6a(0x12f)](_0x1741e5,_0x26caa3){const _0x37a0dc=a6_0x6bef6a,_0x51121f={'JLlMy':function(_0x88b080,_0x3f2a20){return _0x88b080===_0x3f2a20;},'pxMbH':'4|0|2|3|1','cMTki':function(_0x5c1c34,_0x381af8){return _0x5c1c34(_0x381af8);},'GmjOw':_0x37a0dc(0x1a6),'oJaFO':_0x37a0dc(0x118),'AWgUk':function(_0x2e2a78,_0x5a8f37){return _0x2e2a78===_0x5a8f37;},'alvDL':'UnhandledError','inKvx':_0x37a0dc(0x1af),'NXdtP':_0x37a0dc(0xed),'pPVBD':_0x37a0dc(0x167)};this[_0x37a0dc(0x12e)]['testStepFinished']=this[_0x37a0dc(0x12e)][_0x37a0dc(0xe8)]||{},this[_0x37a0dc(0x12e)][_0x37a0dc(0xe8)][_0x1741e5[_0x37a0dc(0x1ac)]]=_0x1741e5;if(_0x51121f[_0x37a0dc(0xf7)](shouldProcessEventForTesthub,_0x51121f['GmjOw']))try{const _0x163828=_0x1741e5[_0x37a0dc(0x1ac)],_0x5638f3=_0x26caa3[_0x37a0dc(0x10a)][_0x37a0dc(0x11e)][_0x163828][_0x37a0dc(0x1be)],_0x41e6ba=_0x26caa3['eventDataCollector']['testCaseMap'][_0x5638f3],_0x19d160=_0x41e6ba[_0x37a0dc(0x122)],_0x41a3d8=_0x26caa3['eventDataCollector'][_0x37a0dc(0x18a)][_0x19d160],_0x5e2479=_0x1741e5[_0x37a0dc(0x1af)],_0x4e54b2=_0x41e6ba['testSteps'],_0x5bc9f7=this[_0x37a0dc(0x10a)][_0x37a0dc(0x1a7)](_0x163828),_0x1e4d37=_0x4e54b2[_0x37a0dc(0x102)](_0x358133=>_0x358133['id']===_0x5e2479)['pickleStepId'];let _0x1a14d2,_0x18f209;_0x1741e5[_0x37a0dc(0x11f)]&&_0x51121f[_0x37a0dc(0x18b)](_0x1741e5['testStepResult'][_0x37a0dc(0x170)][_0x37a0dc(0x17a)]()[_0x37a0dc(0x177)](),_0x51121f[_0x37a0dc(0x173)])&&(_0x1a14d2=_0x51121f[_0x37a0dc(0x16c)](_0x1741e5[_0x37a0dc(0x11f)][_0x37a0dc(0x147)],undefined)?_0x1741e5[_0x37a0dc(0x11f)][_0x37a0dc(0x17c)]:_0x1741e5[_0x37a0dc(0x11f)][_0x37a0dc(0x147)]['message'],_0x18f209=_0x51121f[_0x37a0dc(0x16c)](_0x1741e5[_0x37a0dc(0x11f)][_0x37a0dc(0x147)],undefined)?_0x51121f[_0x37a0dc(0x17e)]:_0x1741e5['testStepResult'][_0x37a0dc(0x17c)]);if(_0x1e4d37&&_tests[_0x5638f3][_0x51121f[_0x37a0dc(0x154)]]){const _0x559f30=_0x41a3d8[_0x37a0dc(0x123)][_0x37a0dc(0x102)](_0x2833ff=>_0x2833ff['id']===_0x1e4d37),_0x58ce0c={};_0x58ce0c[_0x37a0dc(0x123)]=[];const _0x51d7f6=_tests[_0x5638f3]||_0x58ce0c;!_0x51d7f6[_0x37a0dc(0x123)]?_0x51d7f6['steps']=[{'id':_0x559f30['id'],'text':_0x559f30[_0x37a0dc(0xf8)],'finished_at':new Date()[_0x37a0dc(0x11a)](),'result':_0x1741e5['testStepResult'][_0x37a0dc(0x170)],'duration':_0x1741e5[_0x37a0dc(0x11f)][_0x37a0dc(0x18e)]['seconds'],'failure':_0x1a14d2,'failureType':_0x18f209}]:_0x51d7f6[_0x37a0dc(0x123)][_0x37a0dc(0x19e)](_0x130297=>{const _0x219930=_0x37a0dc;if(_0x51121f[_0x219930(0x18b)](_0x130297['id'],_0x559f30['id'])){const _0x2282e2=_0x51121f[_0x219930(0x15a)][_0x219930(0x12c)]('|');let _0x1f707f=0x0;while(!![]){switch(_0x2282e2[_0x1f707f++]){case'0':_0x130297[_0x219930(0x17b)]=_0x1741e5[_0x219930(0x11f)][_0x219930(0x170)];continue;case'1':_0x130297['failureType']=_0x18f209;continue;case'2':_0x130297['duration']=_0x1741e5[_0x219930(0x11f)][_0x219930(0x18e)][_0x219930(0x161)];continue;case'3':_0x130297[_0x219930(0x16a)]=_0x1a14d2;continue;case'4':_0x130297['finished_at']=new Date()[_0x219930(0x11a)]();continue;}break;}}}),_tests[_0x5638f3]=_0x51d7f6;}delete _tests[_0x5638f3][_0x51121f[_0x37a0dc(0x154)]];if(BrowserstackCLI[_0x37a0dc(0x19c)]()[_0x37a0dc(0x128)]()&&await this[_0x37a0dc(0x139)]()){const _0x2f6aea=await cucumberUtils[_0x37a0dc(0x199)](this[_0x37a0dc(0x12e)],_0x163828,_0x51121f[_0x37a0dc(0x180)],_0x4e54b2,_0x5e2479,_tests[_0x5638f3]);if(_0x2f6aea){await BrowserstackCLI[_0x37a0dc(0x19c)]()[_0x37a0dc(0x109)]()[_0x37a0dc(0x1a3)](TestFrameworkState[_0x2f6aea[_0x37a0dc(0x1a9)]],HookState[_0x37a0dc(0x166)],{'hookData':_0x2f6aea,'testUUID':_0x1741e5[_0x37a0dc(0x1ac)]});const _0x339e0a={};_0x339e0a[_0x37a0dc(0x142)]=_0x1741e5[_0x37a0dc(0x1ac)],_0x339e0a['type']=_0x51121f[_0x37a0dc(0x172)],await BrowserstackCLI['getInstance']()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x37a0dc(0x1b5)],HookState['POST'],_0x339e0a);}return;}await testObservabilityReporter[_0x37a0dc(0x152)](this['report'],_0x163828,_0x51121f[_0x37a0dc(0x114)],_0x4e54b2,_0x5e2479,_tests[_0x5638f3]);}catch(_0x26df2e){logger['debug'](_0x37a0dc(0x10d)+util[_0x37a0dc(0x1ad)](_0x26df2e));}}[a6_0x6bef6a(0x138)](_0x39fcb3){const _0x24127f=a6_0x6bef6a,_0x4fe81e={};return _0x39fcb3[_0x24127f(0xfc)][_0x24127f(0x164)]['map'](this[_0x24127f(0xf0)])['flat']()[_0x24127f(0x19e)](_0x34f321=>_0x34f321[_0x24127f(0x123)][_0x24127f(0x19e)](_0x4fe770=>_0x4fe81e[_0x4fe770['id']]=_0x4fe770)),_0x4fe81e;}[a6_0x6bef6a(0xf0)](_0x4b16c9){const _0x2fff5e=a6_0x6bef6a,_0x1d1162={'nBoQa':function(_0x30027c,_0x55c354){return _0x30027c(_0x55c354);}};if(!_0x1d1162[_0x2fff5e(0xfd)](isUndefined,_0x4b16c9['background']))return[_0x4b16c9[_0x2fff5e(0x12b)]];else{if(!_0x1d1162[_0x2fff5e(0xfd)](isUndefined,_0x4b16c9[_0x2fff5e(0x14a)]))return _0x4b16c9[_0x2fff5e(0x14a)][_0x2fff5e(0x164)][_0x2fff5e(0x183)](_0x10b391=>!isUndefined(_0x10b391[_0x2fff5e(0x12b)])?_0x10b391[_0x2fff5e(0x12b)]:_0x10b391[_0x2fff5e(0x1aa)]);};return[_0x4b16c9[_0x2fff5e(0x1aa)]];}[a6_0x6bef6a(0x13f)](_0x294d03,_0xa0797){const _0x5aba6f=a6_0x6bef6a;return Object[_0x5aba6f(0x12a)](_0x294d03[_0x5aba6f(0x10a)][_0x5aba6f(0x160)])[_0x5aba6f(0x102)](_0x48e675=>_0x48e675[_0x5aba6f(0x105)]===_0xa0797[_0x5aba6f(0x105)]);}async[a6_0x6bef6a(0x117)](){const _0x5cae02=a6_0x6bef6a;if(this[_0x5cae02(0x10c)])return this[_0x5cae02(0x10c)];return this[_0x5cae02(0x10c)]=this[_0x5cae02(0x182)](),this['cliInitPromise'];}async[a6_0x6bef6a(0x182)](){const _0x2ecb66=a6_0x6bef6a,_0x413cd7={'Bveti':_0x2ecb66(0x16b),'KuDrv':function(_0xbd0250,_0xb57617){return _0xbd0250(_0xb57617);},'wMQcu':'../../v2/cliUtils','dILeW':function(_0x44196d,_0x176442){return _0x44196d(_0x176442);},'wDuvE':_0x2ecb66(0x10f)};try{const _0x440864=BrowserstackCLI[_0x2ecb66(0x19c)]();if(_0x440864[_0x2ecb66(0x18f)]())return logger[_0x2ecb66(0x157)](_0x2ecb66(0x181)+_0x440864[_0x2ecb66(0x129)]),!![];const _0x2dd9f2=process[_0x2ecb66(0x125)][_0x2ecb66(0x17f)];if(!_0x2dd9f2)return logger[_0x2ecb66(0x157)](_0x413cd7[_0x2ecb66(0x186)]),![];const _0x4b44f5=_0x413cd7[_0x2ecb66(0x187)](require,_0x413cd7['wMQcu']),{FRAMEWORKS:_0x5c0c3f}=_0x413cd7[_0x2ecb66(0x188)](require,_0x413cd7[_0x2ecb66(0x1b2)]);return _0x4b44f5[_0x2ecb66(0x130)](_0x5c0c3f[_0x2ecb66(0x174)],_0x5c0c3f[_0x2ecb66(0x143)]),logger[_0x2ecb66(0x157)]('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x2dd9f2),await _0x440864['bootstrap'](),logger[_0x2ecb66(0x157)](_0x2ecb66(0x195)+_0x440864[_0x2ecb66(0x18f)]()+_0x2ecb66(0x15e)+_0x440864[_0x2ecb66(0x129)]),_0x440864[_0x2ecb66(0x18f)]();}catch(_0x1c57dc){return logger[_0x2ecb66(0x157)](_0x2ecb66(0x197)+util[_0x2ecb66(0x1ad)](_0x1c57dc)),![];}}async[a6_0x6bef6a(0x139)](){const _0x22160d=a6_0x6bef6a;try{return await this[_0x22160d(0x117)](),BrowserstackCLI[_0x22160d(0x19c)]()[_0x22160d(0x18f)]();}catch(_0xfeb594){return logger[_0x22160d(0x157)](_0x22160d(0x1bb)+util[_0x22160d(0x1ad)](_0xfeb594)),![];}}}module[a6_0x6bef6a(0xe9)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x6bef6a(0x16e),a6_0x6bef6a(0x11d),a6_0x6bef6a(0x119),'onTestStepFinished',a6_0x6bef6a(0xfb),'onTestRunFinished',a6_0x6bef6a(0xf0),a6_0x6bef6a(0x13f),a6_0x6bef6a(0x138)]);
|
|
1
|
+
function a6_0xaae5(){const _0x82b7d=['bootstrap','exception','../../v2/state/hookState.js','source','AprxH','BROWSERSTACK_CLI_BIN_SESSION_ID','pickle','children','tLeBA','../../utils/constants','11765383HuqZCy','logTestCaseFinished','trackEvent','../../v2/utils/cucumber-utils.js','isCliEnabled','LOG_REPORT','setFrameworkDetail','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','onStepDefinition','rule','getGherkinStepMap','CWbIm','ensureCLIInitialized','seconds','__platform','supportCodeLibrary','binSessionId','testCaseStarted','forEach','status','testCases','onTestCaseFinished','Exception\x20in\x20onTestStepFinished\x20event:\x20','testStepFinished','493287sKtJfV','feature','text','onHook','CUCUMBER','testRunStarted','util','HlRDq','TEST','jAhWD','HgzqL','../../../helpers/logger','stepDefinition','testStepStarted','logTestRunFinished','extractStepContainers','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','result','1842011fJOojz','parse','QKmsB','gherkinDocument','onTestCase','SGkZX','PASSED','pickleStepId','finished_at','vpjPS','testCase','36AHjuHz','CGFyJ','actionLocation','testUUID','JImEe','testSteps','failed','hook','GZDYd','name','yuiXF','Executing\x20tests\x20for\x20','getTestUUID','../../v2/state/testFrameworkState.js','liibg','8xoeBDl','hwizV',',\x20binSessionId:\x20','description','wtxTD','toISOString','onPickle','log','report','isBstackHook','zxmdR','PRE','uri','qJsyn','OCCkI','onGherkinDocument','../../../helpers/testhub/utils.js','../../../helpers/helper','background','../../v2/browserstackCLI.js','hWiuc','MTxrY','debug','\x20\x20\x20\x20','createTestFrameworkData','4633587qHJaiq','qTWFC','SrhyB','UNKNOWN','testCaseStartedId','QHNdj','TestRunStarted','11qJGGYI','27486876uuFqPp','3295DDfCeo','ZKmmV','parseTestCaseAttempt','flat','tFaND','uwZea','SKIPPED','sendHook','sendTestRunEventForCucumber','AMBIGUOUS','steps','toString','GGxcX','quseV','testRunFinished','CLI\x20already\x20running\x20-\x20binSessionId:\x20','\x20-\x20','snippetBuilder','hooks','Exception\x20in\x20onTestStepStarted\x20event:\x20','_performCLIInitialization','IYaxF','isCLIReady','onTestStepStarted','test','HookRunStarted','2ObUCul','../../playwright/reporter/test-details.js','XcYeH','testCaseFinished','keyword','zgHwf','immXR','../test-observability.js','dnzGY','2|0|3|4|1','epikw','testStepResult','toLowerCase','cucumber','path','LSNZZ','testCaseMap','testCaseAttemptDataMap','FoBPI','15702wqizkV','map','onTestRunStarted','testCaseId','EwPfT','zofTX','VGMaw','yvpBF','CONFIG','MbtOh','cwd','UnhandledError','isRunning','getTestFramework','onSource','type','push','Wssyh','testStepId','createHookData','CMpUI','Vuggf','incrementCounter','pickleMap','../../v2/cliUtils','winstonLogger','assign','getGherkinDocument','PENDING','@cucumber/cucumber','jnvNI','HookRunFinished','cliInitPromise','FuWaK','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','lWAJZ','pickleId','INIT_TEST','format','find','hook_type','getInstance','duration','PLAYWRIGHT','eventBroadcaster','failureType','testCaseAttempt','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','bRZdu','ucowJ','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','eventDataCollector','onTestStepFinished','POST','onTestRunFinished','getTestCaseAttempt','scenario','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','onTestCaseStarted','TestRunFinished','15268950XPpHQl','message','finishedAt','icFMB','gherkinDocumentMap','OihXA','env'];a6_0xaae5=function(){return _0x82b7d;};return a6_0xaae5();}const a6_0x4730db=a6_0x1106;function a6_0x1106(_0x5c7def,_0x4009e2){const _0xaae588=a6_0xaae5();return a6_0x1106=function(_0x110635,_0xbbc68){_0x110635=_0x110635-0xcc;let _0x49ed13=_0xaae588[_0x110635];return _0x49ed13;},a6_0x1106(_0x5c7def,_0x4009e2);}(function(_0x3ab5ce,_0x23784a){const _0x365000=a6_0x1106,_0x1d4e7f=_0x3ab5ce();while(!![]){try{const _0xb45421=parseInt(_0x365000(0x18c))/0x1*(-parseInt(_0x365000(0x102))/0x2)+parseInt(_0x365000(0x17a))/0x3*(-parseInt(_0x365000(0x197))/0x4)+-parseInt(_0x365000(0xe8))/0x5*(parseInt(_0x365000(0x115))/0x6)+-parseInt(_0x365000(0x162))/0x7*(-parseInt(_0x365000(0x1a6))/0x8)+parseInt(_0x365000(0xdf))/0x9+parseInt(_0x365000(0x151))/0xa+-parseInt(_0x365000(0xe6))/0xb*(-parseInt(_0x365000(0xe7))/0xc);if(_0xb45421===_0x23784a)break;else _0x1d4e7f['push'](_0x1d4e7f['shift']());}catch(_0x48f097){_0x1d4e7f['push'](_0x1d4e7f['shift']());}}}(a6_0xaae5,0xebfcd));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x4730db(0xd7)),util=require(a6_0x4730db(0x180)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x4730db(0x132)),TestDetails=require(a6_0x4730db(0x103)),TestObservabilityReporter=require(a6_0x4730db(0x109)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require(a6_0x4730db(0xd6)),BrowserstackCLI=require(a6_0x4730db(0xd9)),TestFrameworkState=require(a6_0x4730db(0x1a4)),HookState=require(a6_0x4730db(0x15a)),CucumberUtils=require(a6_0x4730db(0x165)),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x4730db(0x185))[a6_0x4730db(0x12e)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x52d16d){const _0x3cf55c=a6_0x4730db,_0xded0df={};_0xded0df[_0x3cf55c(0x1a7)]='envelope';const _0x3466c7=_0xded0df;super(_0x52d16d),this[_0x3cf55c(0xce)]={},_0x52d16d[_0x3cf55c(0x141)]['on'](_0x3466c7[_0x3cf55c(0x1a7)],async _0x353313=>{const _0x5855dd=_0x3cf55c;switch(!![]){case!!_0x353313[_0x5855dd(0x17f)]:this[_0x5855dd(0x117)](_0x353313['testRunStarted']);break;case!!_0x353313['testRunFinished']:this['onTestRunFinished'](_0x353313[_0x5855dd(0xf6)]);break;case!!_0x353313[_0x5855dd(0x173)]:this[_0x5855dd(0x14f)](_0x353313[_0x5855dd(0x173)],_0x52d16d,_0x353313);break;case!!_0x353313[_0x5855dd(0x105)]:this[_0x5855dd(0x177)](_0x353313['testCaseFinished'],_0x52d16d,_0x353313);break;case!!_0x353313[_0x5855dd(0x187)]:this[_0x5855dd(0xff)](_0x353313[_0x5855dd(0x187)],_0x52d16d);break;case!!_0x353313['testStepFinished']:this[_0x5855dd(0x149)](_0x353313[_0x5855dd(0x179)],_0x52d16d);break;case!!_0x353313[_0x5855dd(0x19e)]:this[_0x5855dd(0x17d)](_0x353313[_0x5855dd(0x19e)]);break;case!!_0x353313[_0x5855dd(0x196)]:this[_0x5855dd(0x190)](_0x353313[_0x5855dd(0x196)]);break;case!!_0x353313[_0x5855dd(0x15e)]:this[_0x5855dd(0xcc)](_0x353313[_0x5855dd(0x15e)]);break;case!!_0x353313[_0x5855dd(0x18f)]:this[_0x5855dd(0xd5)](_0x353313[_0x5855dd(0x18f)]);break;}});}[a6_0x4730db(0x17d)](_0x17e220){const _0x165aaa=a6_0x4730db;this[_0x165aaa(0xce)]['hooks']=Object['assign']([],this[_0x165aaa(0xce)][_0x165aaa(0xfa)]||[]),this[_0x165aaa(0xce)]['hooks'][_0x165aaa(0x125)](_0x17e220);}['onPickle'](_0x3d57b6){const _0x24eb28=a6_0x4730db;this[_0x24eb28(0xce)][_0x24eb28(0x15e)]=Object[_0x24eb28(0x12f)]([],this[_0x24eb28(0xce)]['pickle']||[],[_0x3d57b6]),this[_0x24eb28(0xce)]['pickle'][_0x24eb28(0x125)](_0x3d57b6);}[a6_0x4730db(0xd5)](_0x274398){const _0x4431f1=a6_0x4730db;this[_0x4431f1(0xce)][_0x4431f1(0x18f)]=Object[_0x4431f1(0x12f)]([],this[_0x4431f1(0xce)][_0x4431f1(0x18f)]||[],[_0x274398]),this['report'][_0x4431f1(0x18f)][_0x4431f1(0x125)](_0x274398);}[a6_0x4730db(0x123)](_0x5ab466){const _0x549598=a6_0x4730db;this['report'][_0x549598(0x15b)]=_0x5ab466;}[a6_0x4730db(0x16a)](_0x451d20){const _0x1218c5=a6_0x4730db;this['report'][_0x1218c5(0x186)]=Object[_0x1218c5(0x12f)]([],this['report'][_0x1218c5(0x186)]||[],[_0x451d20]),this[_0x1218c5(0xce)][_0x1218c5(0x186)][_0x1218c5(0x125)](_0x451d20);}[a6_0x4730db(0x190)](_0x5a98b1){const _0xc2fff3=a6_0x4730db;this[_0xc2fff3(0xce)]['testCases']=Object['assign']([],this[_0xc2fff3(0xce)][_0xc2fff3(0x176)]||[],[_0x5a98b1]),this[_0xc2fff3(0xce)]['testCases'][_0xc2fff3(0x125)](_0x5a98b1);}[a6_0x4730db(0x163)](_0x5bbf2b){const _0x209ca1=a6_0x4730db,_0x39c92d={'Wssyh':function(_0x19d379,_0x3e1a2f){return _0x19d379!==_0x3e1a2f;},'epikw':'bstack','SGkZX':function(_0x1020ab,_0x4429d2){return _0x1020ab+_0x4429d2;},'ZKmmV':function(_0x4686df,_0x25ff0c){return _0x4686df+_0x25ff0c;},'yuiXF':function(_0xa3925c,_0x2099a5){return _0xa3925c+_0x2099a5;},'bVLWM':_0x209ca1(0xdd),'immXR':_0x209ca1(0xf8),'vpjPS':function(_0x41bdec,_0x5a1d3c){return _0x41bdec===_0x5a1d3c;},'zofTX':'FAILED','zgHwf':function(_0x36817c,_0xeff504,_0x209558){return _0x36817c(_0xeff504,_0x209558);},'wtxTD':_0x209ca1(0x18b),'GGxcX':_0x209ca1(0x152),'uwZea':function(_0x2804c6,_0x5e2431){return _0x2804c6!==_0x5e2431;},'hNwJT':function(_0x1dd79b,_0x4ff932){return _0x1dd79b+_0x4ff932;},'bRZdu':function(_0x199594,_0x2f3a19){return _0x199594+_0x2f3a19;}};_0x39c92d[_0x209ca1(0xed)](global['__platform'],undefined)&&this[_0x209ca1(0xcd)](_0x39c92d['SGkZX'](_0x39c92d[_0x209ca1(0xe9)]('\x0a',global['__platform']),'\x0a'));const _0x43806d=this[_0x209ca1(0x148)][_0x209ca1(0x14c)](_0x5bbf2b[_0x209ca1(0xe3)]);this['log'](_0x39c92d['ZKmmV'](_0x39c92d['hNwJT'](_0x39c92d[_0x209ca1(0x1a1)](_0x39c92d[_0x209ca1(0x145)]('\x20\x20',_0x43806d[_0x209ca1(0x18f)][_0x209ca1(0x17b)][_0x209ca1(0x1a0)]),_0x39c92d[_0x209ca1(0x108)]),_0x43806d[_0x209ca1(0x15e)]['name']),'\x0a'));const _0x228ec2={};_0x228ec2[_0x209ca1(0x11f)]=this[_0x209ca1(0x11f)],_0x228ec2['snippetBuilder']=this[_0x209ca1(0xf9)],_0x228ec2[_0x209ca1(0x171)]=this[_0x209ca1(0x171)],_0x228ec2[_0x209ca1(0x143)]=_0x43806d;const _0x6b2501=formatterHelpers[_0x209ca1(0xea)](_0x228ec2);let _0x3f43c3=![];_0x6b2501[_0x209ca1(0x19c)][_0x209ca1(0x174)](_0x327721=>{const _0x1a1f57=_0x209ca1;if(_0x39c92d[_0x1a1f57(0x126)](_0x327721[_0x1a1f57(0x1a0)],_0x39c92d[_0x1a1f57(0x10c)])&&!this[_0x1a1f57(0xcf)](_0x327721)){totalTests+=0x1,this[_0x1a1f57(0xcd)](_0x39c92d[_0x1a1f57(0x191)](_0x39c92d[_0x1a1f57(0xe9)](_0x39c92d[_0x1a1f57(0x1a1)](_0x39c92d[_0x1a1f57(0x1a1)](_0x39c92d[_0x1a1f57(0xe9)](_0x39c92d['bVLWM'],_0x327721[_0x1a1f57(0x106)]),_0x327721[_0x1a1f57(0x17c)]||''),_0x39c92d['immXR']),Status[_0x327721[_0x1a1f57(0x18b)][_0x1a1f57(0x175)]]),'\x0a')),this['incrementCounter'](Status[_0x327721[_0x1a1f57(0x18b)]['status']]);if(_0x39c92d[_0x1a1f57(0x195)](Status[_0x327721['result'][_0x1a1f57(0x175)]],_0x39c92d[_0x1a1f57(0x11a)])){_0x3f43c3=!![];const _0x241d1a=_0x39c92d[_0x1a1f57(0x107)](nestedKeyValue,_0x327721,[_0x39c92d[_0x1a1f57(0x1aa)],_0x39c92d[_0x1a1f57(0xf4)]]);_0x241d1a&&(testsErrorMessage[_0x39c92d['ZKmmV'](_0x39c92d[_0x1a1f57(0x191)](_0x43806d[_0x1a1f57(0x18f)]['feature'][_0x1a1f57(0x1a0)],_0x39c92d['immXR']),_0x43806d['pickle'][_0x1a1f57(0x1a0)])]=_0x241d1a,this[_0x1a1f57(0xcd)](_0x39c92d[_0x1a1f57(0x1a1)](_0x241d1a,'\x0a')));}}}),_0x3f43c3&&(testSuitesFailed+=0x1),this['log']('\x0a');}[a6_0x4730db(0x188)](_0x354262){}['isBstackHook'](_0x29581a){const _0x43c6dd=a6_0x4730db,_0x9309ad={};_0x9309ad[_0x43c6dd(0xd4)]=function(_0x38f606,_0x19bf4c){return _0x38f606!==_0x19bf4c;},_0x9309ad[_0x43c6dd(0x12a)]='cucumber-js/test.setup.js';const _0x487350=_0x9309ad;if(_0x487350['OCCkI'](_0x29581a['sourceLocation'],undefined))return![];if(_0x29581a['actionLocation']&&_0x29581a[_0x43c6dd(0x199)][_0x43c6dd(0xd2)]['includes'](_0x487350['Vuggf']))return!![];return![];}[a6_0x4730db(0x12b)](_0x3974b4){const _0x3d9375=a6_0x4730db,_0x5ba74c={};_0x5ba74c[_0x3d9375(0x184)]='FAILED',_0x5ba74c['QKmsB']=_0x3d9375(0x192),_0x5ba74c['MbtOh']=_0x3d9375(0xee),_0x5ba74c[_0x3d9375(0x1a5)]=_0x3d9375(0x131),_0x5ba74c[_0x3d9375(0x119)]='UNDEFINED',_0x5ba74c[_0x3d9375(0xe1)]=_0x3d9375(0xe2),_0x5ba74c[_0x3d9375(0x104)]=_0x3d9375(0xf1);const _0x4043d6=_0x5ba74c;switch(_0x3974b4){case _0x4043d6[_0x3d9375(0x184)]:testsFailed+=0x1;break;case _0x4043d6[_0x3d9375(0x18e)]:testsPassed+=0x1;break;case _0x4043d6[_0x3d9375(0x11e)]:testsSkipped+=0x1;break;case _0x4043d6['liibg']:testsPending+=0x1;break;case _0x4043d6[_0x3d9375(0x119)]:testsUndefined+=0x1;break;case _0x4043d6['SrhyB']:testsUnknown+=0x1;break;case _0x4043d6[_0x3d9375(0x104)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0x292198){const _0x5d02b6=a6_0x4730db,_0x517aa3={'FuWaK':function(_0x18b671,_0x41ec62){return _0x18b671!==_0x41ec62;},'qJsyn':function(_0x3a3399){return _0x3a3399();},'OihXA':function(_0x469b53,_0x3ce84f){return _0x469b53(_0x3ce84f);},'JXLfK':function(_0x56fe48,_0x55e8af){return _0x56fe48+_0x55e8af;},'quseV':_0x5d02b6(0x10f)};let _0x433181;if(_0x517aa3['FuWaK'](process[_0x5d02b6(0x157)]['CONFIG'],undefined)){const _0x22ba62=JSON[_0x5d02b6(0x18d)](process['env'][_0x5d02b6(0x11d)]);_0x433181=_0x22ba62['capability'];}_0x517aa3[_0x5d02b6(0x136)](_0x433181,undefined)&&_0x517aa3[_0x5d02b6(0xd3)](isBrowserstackInfra)&&(global[_0x5d02b6(0x170)]=_0x517aa3[_0x5d02b6(0x156)](getPlatformName,_0x433181),this[_0x5d02b6(0xcd)](_0x517aa3['JXLfK'](_0x5d02b6(0x1a2)+global[_0x5d02b6(0x170)],'\x0a'))),_0x517aa3[_0x5d02b6(0xd3)](shouldProcessEventForTesthub)&&(TestDetails['setup'](),this['report']['testRunStarted']=_0x292198,BrowserstackCLI[_0x5d02b6(0x13e)]()[_0x5d02b6(0x166)]()&&await this[_0x5d02b6(0xfe)]()&&(TestInfo['setup'](_0x517aa3[_0x5d02b6(0xf5)]),await BrowserstackCLI[_0x5d02b6(0x13e)]()[_0x5d02b6(0x122)]()['trackEvent'](TestFrameworkState[_0x5d02b6(0x13a)],HookState[_0x5d02b6(0xd1)],{})));}[a6_0x4730db(0x14b)](_0x33df61){const _0xc7e97e=a6_0x4730db;this[_0xc7e97e(0xce)][_0xc7e97e(0xf6)]=_0x33df61,this[_0xc7e97e(0x188)](_0x33df61);}async[a6_0x4730db(0x14f)](_0x55a4cd,_0x24b002,_0x139e39){const _0x4ea365=a6_0x4730db,_0xd38a4f={'CMpUI':function(_0x46d2df,_0x4cba00){return _0x46d2df(_0x4cba00);},'IYaxF':_0x4ea365(0xe5),'CWbIm':function(_0x106135,_0x421391){return _0x106135&&_0x421391;}};testSuites+=0x1;if(_0xd38a4f[_0x4ea365(0x129)](shouldProcessEventForTesthub,_0xd38a4f[_0x4ea365(0xfd)]))try{this[_0x4ea365(0xce)][_0x4ea365(0x173)]=this[_0x4ea365(0xce)][_0x4ea365(0x173)]||{},this['report'][_0x4ea365(0x173)][_0x55a4cd['id']]=_0x55a4cd;let _0x1ec920=null;BrowserstackCLI['getInstance']()['isCliEnabled']()&&await this[_0x4ea365(0xfe)]()?_0x1ec920=TestInfo[_0x4ea365(0x1a3)](_0x55a4cd['id']):_0x1ec920=TestDetails[_0x4ea365(0x1a3)](_0x55a4cd['id']);_testCasesData[_0x55a4cd['id']]=Object[_0x4ea365(0x12f)]({},_0x139e39);const _0x5a23f2=this[_0x4ea365(0xce)],_0x40807d=_0x55a4cd[_0x4ea365(0x118)],_0x32207b=_0x5a23f2[_0x4ea365(0x176)]['find'](_0x2d08ad=>_0x2d08ad['id']===_0x40807d)[_0x4ea365(0x139)],_0x18084e=_0x5a23f2['pickle'][_0x4ea365(0x13c)](_0x47da50=>_0x47da50['id']===_0x32207b),_0x1540db=_0x5a23f2[_0x4ea365(0x18f)][_0x4ea365(0x13c)](_0x200b9d=>_0x200b9d[_0x4ea365(0xd2)]===_0x18084e[_0x4ea365(0xd2)]),_0x39ea70=_0x1540db['feature'],_0x3a68d8={'uuid':_0x1ec920,'startedAt':new Date()[_0x4ea365(0x1ab)]()};if(_0x18084e){const _0x2c9b0b={};_0x2c9b0b[_0x4ea365(0x1a0)]=_0x18084e[_0x4ea365(0x1a0)],_0x3a68d8['scenario']=_0x2c9b0b;}if(_0xd38a4f[_0x4ea365(0x16d)](_0x1540db,_0x39ea70)){const _0x10af4f={};_0x10af4f[_0x4ea365(0x110)]=_0x1540db[_0x4ea365(0xd2)],_0x10af4f[_0x4ea365(0x1a0)]=_0x39ea70[_0x4ea365(0x1a0)],_0x10af4f[_0x4ea365(0x1a9)]=_0x39ea70[_0x4ea365(0x1a9)],_0x3a68d8[_0x4ea365(0x17b)]=_0x10af4f;}_tests[_0x40807d]=_0x3a68d8;if(BrowserstackCLI['getInstance']()[_0x4ea365(0x166)]()&&await this[_0x4ea365(0xfe)]()){const _0x101103=await cucumberUtils['createTestFrameworkData'](_0x3a68d8,_0x18084e,_0x139e39,_0x1540db,_0x55a4cd['id'],_0xd38a4f[_0x4ea365(0xfd)]),_0x34e586={};_0x34e586[_0x4ea365(0x100)]=_0x101103,await BrowserstackCLI[_0x4ea365(0x13e)]()['getTestFramework']()[_0x4ea365(0x164)](TestFrameworkState[_0x4ea365(0x182)],HookState['PRE'],_0x34e586);return;}await testObservabilityReporter[_0x4ea365(0xf0)](_0x139e39,_0x1540db,_0x18084e,_0xd38a4f[_0x4ea365(0xfd)],_0x3a68d8);}catch(_0x31dc89){logger[_0x4ea365(0xdc)](_0x4ea365(0x14e)+util[_0x4ea365(0x13b)](_0x31dc89)+'\x20');}}async['onTestCaseFinished'](_0x2a76ed,_0x4cf2a9,_0x1d8161){const _0x4a64bf=a6_0x4730db,_0x31fefc={'hWiuc':function(_0x5785fd,_0x5646a9){return _0x5785fd(_0x5646a9);},'FoBPI':_0x4a64bf(0x150),'AprxH':_0x4a64bf(0x100)};this[_0x4a64bf(0x163)](_0x2a76ed);if(_0x31fefc[_0x4a64bf(0xda)](shouldProcessEventForTesthub,_0x31fefc[_0x4a64bf(0x114)]))try{this['report']['testCaseFinished']=this[_0x4a64bf(0xce)][_0x4a64bf(0x105)]||{},this[_0x4a64bf(0xce)]['testCaseFinished'][_0x2a76ed['testCaseStartedId']]=_0x2a76ed,_testCasesData[_0x1d8161['id']]=Object[_0x4a64bf(0x12f)]({},_0x1d8161);const _0x1c1ee9=_0x2a76ed[_0x4a64bf(0xe3)],_0x38df2c=_0x4cf2a9[_0x4a64bf(0x148)][_0x4a64bf(0x113)][_0x1c1ee9][_0x4a64bf(0x118)],_0x31877a=_0x4cf2a9[_0x4a64bf(0x148)][_0x4a64bf(0x112)][_0x38df2c],_0x5ae644=_0x31877a['pickleId'],_0xeb9a6c=_0x4cf2a9['eventDataCollector'][_0x4a64bf(0x12c)][_0x5ae644],_0x451a81=this[_0x4a64bf(0x130)](_0x4cf2a9,_0xeb9a6c),_0x56a3ac=_0x451a81[_0x4a64bf(0x17b)],_0x5609a2=_tests[_0x38df2c];_0x5609a2&&(delete _tests[_0x38df2c],_0x5609a2[_0x4a64bf(0x153)]=new Date()['toISOString']());if(BrowserstackCLI[_0x4a64bf(0x13e)]()[_0x4a64bf(0x166)]()&&await this[_0x4a64bf(0xfe)]()){const _0x385a31=await cucumberUtils[_0x4a64bf(0xde)](_0x5609a2,_0xeb9a6c,_0x1d8161,_0x451a81,_0x1c1ee9,_0x31fefc[_0x4a64bf(0x114)]),_0x4e121b={};_0x4e121b[_0x4a64bf(0x100)]=_0x385a31,await BrowserstackCLI[_0x4a64bf(0x13e)]()[_0x4a64bf(0x122)]()[_0x4a64bf(0x164)](TestFrameworkState['TEST'],HookState['POST'],_0x4e121b);const _0x153b50={};_0x153b50[_0x4a64bf(0x19a)]=_0x2a76ed[_0x4a64bf(0xe3)],_0x153b50['type']=_0x31fefc[_0x4a64bf(0x15c)],await BrowserstackCLI[_0x4a64bf(0x13e)]()[_0x4a64bf(0x122)]()[_0x4a64bf(0x164)](TestFrameworkState[_0x4a64bf(0x167)],HookState['POST'],_0x153b50);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x1d8161,_0x451a81,_0xeb9a6c,_0x31fefc[_0x4a64bf(0x114)],_0x5609a2);}catch(_0x979bdb){logger[_0x4a64bf(0xdc)](_0x4a64bf(0x147)+util[_0x4a64bf(0x13b)](_0x979bdb));}}async['onTestStepStarted'](_0x530e50,_0xe809f2){const _0x1d3d06=a6_0x4730db,_0x1f8a0c={'dnzGY':function(_0x3d9d23,_0x7b4d11){return _0x3d9d23(_0x7b4d11);},'lWAJZ':_0x1d3d06(0x101),'qTWFC':function(_0x541fdc,_0x5e1d78){return _0x541fdc!==_0x5e1d78;},'MTxrY':_0x1d3d06(0x127)};if(_0x1f8a0c[_0x1d3d06(0x10a)](shouldProcessEventForTesthub,_0x1f8a0c['lWAJZ']))try{this[_0x1d3d06(0xce)][_0x1d3d06(0x187)]=this[_0x1d3d06(0xce)][_0x1d3d06(0x187)]||{},this[_0x1d3d06(0xce)][_0x1d3d06(0x187)][_0x530e50[_0x1d3d06(0xe3)]]=_0x530e50;const _0x227511=_0x530e50[_0x1d3d06(0xe3)],_0x308eaa=_0xe809f2['eventDataCollector']['testCaseAttemptDataMap'][_0x227511][_0x1d3d06(0x118)],_0x327225=this[_0x1d3d06(0xce)][_0x1d3d06(0x176)][_0x1d3d06(0x13c)](_0x40c171=>_0x40c171['id']===_0x308eaa)[_0x1d3d06(0x139)],_0x834ce3=this[_0x1d3d06(0xce)][_0x1d3d06(0x15e)][_0x1d3d06(0x13c)](_0x1df2f6=>_0x1df2f6['id']===_0x327225),_0x5d78b0=this[_0x1d3d06(0xce)]['testCases'][_0x1d3d06(0x13c)](_0x1e5474=>_0x1e5474['id']===_0x308eaa)[_0x1d3d06(0x19c)],_0x382e1b=this[_0x1d3d06(0xce)][_0x1d3d06(0x187)][_0x227511][_0x1d3d06(0x127)],_0x2f2edb=_0x5d78b0['find'](_0x524537=>_0x524537['id']===_0x382e1b)[_0x1d3d06(0x193)],_0x27d479=_0x834ce3[_0x1d3d06(0xf2)][_0x1d3d06(0x13c)](_0x1ca775=>_0x1ca775['id']===_0x2f2edb);if(_0x2f2edb&&_tests[_0x308eaa]&&_0x1f8a0c[_0x1d3d06(0xe0)](_tests[_0x308eaa][_0x1f8a0c[_0x1d3d06(0xdb)]],_0x382e1b)){_tests[_0x308eaa][_0x1f8a0c[_0x1d3d06(0xdb)]]=_0x382e1b;const _0x38b427={};_0x38b427[_0x1d3d06(0xf2)]=[];const _0x5c1cc0=_tests[_0x308eaa]||_0x38b427;_0x5c1cc0&&!_0x5c1cc0[_0x1d3d06(0xf2)]&&(_0x5c1cc0['steps']=[]),_0x5c1cc0['steps'][_0x1d3d06(0x125)]({'id':_0x27d479['id'],'text':_0x27d479[_0x1d3d06(0x17c)],'started_at':new Date()[_0x1d3d06(0x1ab)]()}),_tests[_0x308eaa]=_0x5c1cc0;}if(BrowserstackCLI[_0x1d3d06(0x13e)]()[_0x1d3d06(0x166)]()&&await this[_0x1d3d06(0xfe)]()){const _0x1412a9=await cucumberUtils['createHookData'](this[_0x1d3d06(0xce)],_0x227511,_0x1f8a0c[_0x1d3d06(0x138)],_0x5d78b0,_0x382e1b,_tests[_0x308eaa]);_0x1412a9&&await BrowserstackCLI[_0x1d3d06(0x13e)]()[_0x1d3d06(0x122)]()['trackEvent'](TestFrameworkState[_0x1412a9[_0x1d3d06(0x13d)]],HookState[_0x1d3d06(0xd1)],{'hookData':_0x1412a9,'testUUID':_0x530e50['testCaseStartedId']});return;}await testObservabilityReporter[_0x1d3d06(0xef)](this[_0x1d3d06(0xce)],_0x227511,_0x1f8a0c[_0x1d3d06(0x138)],_0x5d78b0,_0x382e1b,_tests[_0x308eaa]);}catch(_0x537e53){logger[_0x1d3d06(0xdc)](_0x1d3d06(0xfb)+util[_0x1d3d06(0x13b)](_0x537e53));}}async[a6_0x4730db(0x149)](_0x15976f,_0x1ae205){const _0x3e5213=a6_0x4730db,_0x2eb15b={'yvpBF':function(_0x2299ce,_0x54dd83){return _0x2299ce===_0x54dd83;},'zxmdR':_0x3e5213(0x10b),'HlRDq':function(_0x121949,_0x2e6742){return _0x121949(_0x2e6742);},'GZDYd':_0x3e5213(0x134),'kmkHA':_0x3e5213(0x19d),'icFMB':function(_0x1b5c12,_0x1ac1d6){return _0x1b5c12===_0x1ac1d6;},'CGFyJ':function(_0x265404,_0x52c750){return _0x265404===_0x52c750;},'jnvNI':_0x3e5213(0x120),'JImEe':_0x3e5213(0x127),'ucowJ':_0x3e5213(0x101),'AoloB':_0x3e5213(0x19e)};this[_0x3e5213(0xce)][_0x3e5213(0x179)]=this['report'][_0x3e5213(0x179)]||{},this[_0x3e5213(0xce)][_0x3e5213(0x179)][_0x15976f[_0x3e5213(0xe3)]]=_0x15976f;if(_0x2eb15b[_0x3e5213(0x181)](shouldProcessEventForTesthub,_0x2eb15b[_0x3e5213(0x19f)]))try{const _0x1786d3=_0x15976f['testCaseStartedId'],_0x25cc4c=_0x1ae205[_0x3e5213(0x148)][_0x3e5213(0x113)][_0x1786d3][_0x3e5213(0x118)],_0x59acab=_0x1ae205['eventDataCollector'][_0x3e5213(0x112)][_0x25cc4c],_0x3859bf=_0x59acab[_0x3e5213(0x139)],_0x409b44=_0x1ae205[_0x3e5213(0x148)][_0x3e5213(0x12c)][_0x3859bf],_0x2e6bb7=_0x15976f[_0x3e5213(0x127)],_0x118b2d=_0x59acab[_0x3e5213(0x19c)],_0x984de1=this[_0x3e5213(0x148)][_0x3e5213(0x14c)](_0x1786d3),_0x1bce5e=_0x118b2d[_0x3e5213(0x13c)](_0x68940a=>_0x68940a['id']===_0x2e6bb7)['pickleStepId'];let _0x4fb661,_0x229ea7;_0x15976f[_0x3e5213(0x10d)]&&_0x2eb15b['yvpBF'](_0x15976f[_0x3e5213(0x10d)][_0x3e5213(0x175)][_0x3e5213(0xf3)]()[_0x3e5213(0x10e)](),_0x2eb15b['kmkHA'])&&(_0x4fb661=_0x2eb15b[_0x3e5213(0x154)](_0x15976f['testStepResult'][_0x3e5213(0x159)],undefined)?_0x15976f[_0x3e5213(0x10d)]['message']:_0x15976f[_0x3e5213(0x10d)][_0x3e5213(0x159)][_0x3e5213(0x152)],_0x229ea7=_0x2eb15b[_0x3e5213(0x198)](_0x15976f['testStepResult'][_0x3e5213(0x159)],undefined)?_0x2eb15b[_0x3e5213(0x133)]:_0x15976f[_0x3e5213(0x10d)][_0x3e5213(0x152)]);if(_0x1bce5e&&_tests[_0x25cc4c][_0x2eb15b[_0x3e5213(0x19b)]]){const _0x1d2aa2=_0x409b44['steps'][_0x3e5213(0x13c)](_0x53a823=>_0x53a823['id']===_0x1bce5e),_0x47adba={};_0x47adba[_0x3e5213(0xf2)]=[];const _0x5f088=_tests[_0x25cc4c]||_0x47adba;!_0x5f088['steps']?_0x5f088[_0x3e5213(0xf2)]=[{'id':_0x1d2aa2['id'],'text':_0x1d2aa2[_0x3e5213(0x17c)],'finished_at':new Date()[_0x3e5213(0x1ab)](),'result':_0x15976f[_0x3e5213(0x10d)][_0x3e5213(0x175)],'duration':_0x15976f[_0x3e5213(0x10d)]['duration'][_0x3e5213(0x16f)],'failure':_0x4fb661,'failureType':_0x229ea7}]:_0x5f088[_0x3e5213(0xf2)][_0x3e5213(0x174)](_0x1bd816=>{const _0xad5820=_0x3e5213;if(_0x2eb15b[_0xad5820(0x11c)](_0x1bd816['id'],_0x1d2aa2['id'])){const _0x4b4059=_0x2eb15b[_0xad5820(0xd0)]['split']('|');let _0x1cd78b=0x0;while(!![]){switch(_0x4b4059[_0x1cd78b++]){case'0':_0x1bd816['result']=_0x15976f['testStepResult']['status'];continue;case'1':_0x1bd816[_0xad5820(0x142)]=_0x229ea7;continue;case'2':_0x1bd816[_0xad5820(0x194)]=new Date()['toISOString']();continue;case'3':_0x1bd816[_0xad5820(0x13f)]=_0x15976f[_0xad5820(0x10d)]['duration']['seconds'];continue;case'4':_0x1bd816['failure']=_0x4fb661;continue;}break;}}}),_tests[_0x25cc4c]=_0x5f088;}delete _tests[_0x25cc4c][_0x2eb15b[_0x3e5213(0x19b)]];if(BrowserstackCLI[_0x3e5213(0x13e)]()[_0x3e5213(0x166)]()&&await this[_0x3e5213(0xfe)]()){const _0x3294fc=await cucumberUtils[_0x3e5213(0x128)](this[_0x3e5213(0xce)],_0x1786d3,_0x2eb15b[_0x3e5213(0x146)],_0x118b2d,_0x2e6bb7,_tests[_0x25cc4c]);if(_0x3294fc){await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x3e5213(0x164)](TestFrameworkState[_0x3294fc[_0x3e5213(0x13d)]],HookState[_0x3e5213(0x14a)],{'hookData':_0x3294fc,'testUUID':_0x15976f['testCaseStartedId']});const _0x4223c9={};_0x4223c9[_0x3e5213(0x19a)]=_0x15976f[_0x3e5213(0xe3)],_0x4223c9[_0x3e5213(0x124)]=_0x2eb15b['AoloB'],await BrowserstackCLI[_0x3e5213(0x13e)]()[_0x3e5213(0x122)]()[_0x3e5213(0x164)](TestFrameworkState[_0x3e5213(0x167)],HookState[_0x3e5213(0x14a)],_0x4223c9);}return;}await testObservabilityReporter[_0x3e5213(0xef)](this[_0x3e5213(0xce)],_0x1786d3,_0x2eb15b['GZDYd'],_0x118b2d,_0x2e6bb7,_tests[_0x25cc4c]);}catch(_0x56025e){logger['debug'](_0x3e5213(0x178)+util['format'](_0x56025e));}}[a6_0x4730db(0x16c)](_0x43046c){const _0xbd8edb=a6_0x4730db,_0x35859e={};return _0x43046c[_0xbd8edb(0x17b)][_0xbd8edb(0x15f)][_0xbd8edb(0x116)](this[_0xbd8edb(0x189)])[_0xbd8edb(0xeb)]()[_0xbd8edb(0x174)](_0x544177=>_0x544177[_0xbd8edb(0xf2)][_0xbd8edb(0x174)](_0x179a8d=>_0x35859e[_0x179a8d['id']]=_0x179a8d)),_0x35859e;}[a6_0x4730db(0x189)](_0x584f0a){const _0x1b0190=a6_0x4730db,_0x2bca53={'QHNdj':function(_0x2ddf88,_0x38b165){return _0x2ddf88(_0x38b165);},'tFaND':function(_0x34642d,_0x3acab7){return _0x34642d(_0x3acab7);}};if(!_0x2bca53[_0x1b0190(0xe4)](isUndefined,_0x584f0a[_0x1b0190(0xd8)]))return[_0x584f0a[_0x1b0190(0xd8)]];else{if(!_0x2bca53[_0x1b0190(0xec)](isUndefined,_0x584f0a[_0x1b0190(0x16b)]))return _0x584f0a[_0x1b0190(0x16b)][_0x1b0190(0x15f)][_0x1b0190(0x116)](_0x5a9288=>!isUndefined(_0x5a9288[_0x1b0190(0xd8)])?_0x5a9288['background']:_0x5a9288[_0x1b0190(0x14d)]);};return[_0x584f0a[_0x1b0190(0x14d)]];}[a6_0x4730db(0x130)](_0x149074,_0x28676f){const _0x30d4d2=a6_0x4730db;return Object['values'](_0x149074['eventDataCollector'][_0x30d4d2(0x155)])[_0x30d4d2(0x13c)](_0xb482e9=>_0xb482e9[_0x30d4d2(0xd2)]===_0x28676f[_0x30d4d2(0xd2)]);}async[a6_0x4730db(0x16e)](){const _0xd5f4ca=a6_0x4730db;if(this['cliInitPromise'])return this['cliInitPromise'];return this[_0xd5f4ca(0x135)]=this['_performCLIInitialization'](),this[_0xd5f4ca(0x135)];}async[a6_0x4730db(0xfc)](){const _0xf894c7=a6_0x4730db,_0x504a2c={'LSNZZ':'No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','YCKcy':function(_0x30ac9d,_0x4e7687){return _0x30ac9d(_0x4e7687);},'jAhWD':_0xf894c7(0x12d),'tLeBA':function(_0x3687d5,_0x385446){return _0x3687d5(_0x385446);},'VGMaw':_0xf894c7(0x161)};try{const _0x4e7085=BrowserstackCLI[_0xf894c7(0x13e)]();if(_0x4e7085[_0xf894c7(0x121)]())return logger['debug'](_0xf894c7(0xf7)+_0x4e7085['binSessionId']),!![];const _0x3d74a0=process['env'][_0xf894c7(0x15d)];if(!_0x3d74a0)return logger[_0xf894c7(0xdc)](_0x504a2c[_0xf894c7(0x111)]),![];const _0x4ff8d7=_0x504a2c['YCKcy'](require,_0x504a2c[_0xf894c7(0x183)]),{FRAMEWORKS:_0x4224d2}=_0x504a2c[_0xf894c7(0x160)](require,_0x504a2c[_0xf894c7(0x11b)]);return _0x4ff8d7[_0xf894c7(0x168)](_0x4224d2[_0xf894c7(0x17e)],_0x4224d2[_0xf894c7(0x140)]),logger[_0xf894c7(0xdc)](_0xf894c7(0x144)+_0x3d74a0),await _0x4e7085[_0xf894c7(0x158)](),logger['debug'](_0xf894c7(0x137)+_0x4e7085['isRunning']()+_0xf894c7(0x1a8)+_0x4e7085[_0xf894c7(0x172)]),_0x4e7085['isRunning']();}catch(_0x31b9ad){return logger[_0xf894c7(0xdc)](_0xf894c7(0x18a)+util['format'](_0x31b9ad)),![];}}async[a6_0x4730db(0xfe)](){const _0x5a7fdd=a6_0x4730db;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x5a7fdd(0x13e)]()['isRunning']();}catch(_0x53d923){return logger['debug'](_0x5a7fdd(0x169)+util[_0x5a7fdd(0x13b)](_0x53d923)),![];}}}module['exports']=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x4730db(0x14f),'onTestCaseFinished',a6_0x4730db(0xff),'onTestStepFinished',a6_0x4730db(0x117),a6_0x4730db(0x14b),a6_0x4730db(0x189),a6_0x4730db(0x130),'getGherkinStepMap']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7_0x1624(_0x2d4e39,_0x1f9e3a){const _0x38ab33=a7_0x38ab();return a7_0x1624=function(_0x162465,_0x4fd265){_0x162465=_0x162465-0x1ee;let _0x1bd55f=_0x38ab33[_0x162465];return _0x1bd55f;},a7_0x1624(_0x2d4e39,_0x1f9e3a);}const a7_0x263be6=a7_0x1624;(function(_0x2a436f,_0x1a3923){const _0x1fccbf=a7_0x1624,_0x28def3=_0x2a436f();while(!![]){try{const _0x5e689e=parseInt(_0x1fccbf(0x1fa))/0x1*(-parseInt(_0x1fccbf(0x221))/0x2)+-parseInt(_0x1fccbf(0x247))/0x3+-parseInt(_0x1fccbf(0x1f7))/0x4+parseInt(_0x1fccbf(0x21c))/0x5+parseInt(_0x1fccbf(0x248))/0x6*(-parseInt(_0x1fccbf(0x236))/0x7)+parseInt(_0x1fccbf(0x201))/0x8*(parseInt(_0x1fccbf(0x1ee))/0x9)+parseInt(_0x1fccbf(0x22c))/0xa;if(_0x5e689e===_0x1a3923)break;else _0x28def3['push'](_0x28def3['shift']());}catch(_0x43b3ff){_0x28def3['push'](_0x28def3['shift']());}}}(a7_0x38ab,0x93c11));function a7_0x38ab(){const _0x74962f=['result','feature','AMBIGUOUS','stepResults','icsot','test-run-started','vyZpu','VjQdM','sourceLocation','text','gherkinDocument','RqmZz','log','1773760sNiGIA','cWyyF','uKrjD','stack','logTestCaseFinished','44XLsHad','\x20\x20\x20\x20','WpIKw','testCase','fJufX','nFrlv','getTestCaseData','exception','capability','VWJmT','getStepLineToPickledStepMap','14912080FslmNC','VKeJU','cucumber-js/test_old.setup.js','ueDJu','hiwci','forEach','qgKxf','Executing\x20tests\x20for\x20','pickle','length','691509zIZEwF','getTestCaseAttempt','PENDING','nmlAw','UhJWm','cucumber','SBvcL','eventDataCollector','steps','eventBroadcaster','toUpperCase','qoBQf','pdIpx','JfBcO','env','undefined','RZWua','975102vytBmV','6UXJugD','VGILo','rbAdC','577593hcQoLp','vMUFy','sWaKD','uri','CONFIG','SKIPPED','RiOhl','name','BZlXi','2200852xavRTz','cucumber/lib/formatter/helpers/pickle_parser.js','actionLocation','15041pgrOwX','QUtQZ','includes','status','cMVUt','__platform','\x20\x20\x20\x20BEFORE\x20-\x20','8YQNdQd','rSnpy','\x20\x20\x20\x20AFTER\x20-\x20','FAILED','line','UNDEFINED','GhjDw','baHJD','ssPFX','qxbGh','CrxwY','ftAzo','wxVBK','MLmAC'];a7_0x38ab=function(){return _0x74962f;};return a7_0x38ab();}const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x263be6(0x23b)),pickleParser=requireModule(a7_0x263be6(0x1f8),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x176db1){const _0x5d468a=a7_0x263be6,_0x3e7856={'RqmZz':function(_0x2c4ce1,_0x28cbcc){return _0x2c4ce1!==_0x28cbcc;},'ksvfF':function(_0x1c19f6,_0x56ccd6){return _0x1c19f6!==_0x56ccd6;},'ssPFX':function(_0x3bacf4,_0x2e41ea){return _0x3bacf4(_0x2e41ea);},'hcvWx':_0x5d468a(0x214),'VWJmT':'test-case-started','SBvcL':'test-case-finished','rbAdC':'test-run-finished','MLmAC':'test-step-started'};super(_0x176db1),_0x176db1[_0x5d468a(0x23f)]['on'](_0x3e7856['hcvWx'],()=>{const _0x1d5645=_0x5d468a;let _0x17f106;if(_0x3e7856[_0x1d5645(0x21a)](process[_0x1d5645(0x244)][_0x1d5645(0x1f2)],undefined)){const _0x13d97b=JSON['parse'](process[_0x1d5645(0x244)][_0x1d5645(0x1f2)]);_0x17f106=_0x13d97b[_0x1d5645(0x229)];}_0x3e7856['ksvfF'](_0x17f106,undefined)&&(global[_0x1d5645(0x1ff)]=_0x3e7856[_0x1d5645(0x209)](getPlatformName,_0x17f106),console['log'](_0x1d5645(0x233)+global[_0x1d5645(0x1ff)]));}),_0x176db1[_0x5d468a(0x23f)]['on'](_0x3e7856[_0x5d468a(0x22a)],()=>{testSuites+=0x1;}),_0x176db1[_0x5d468a(0x23f)]['on'](_0x3e7856[_0x5d468a(0x23c)],_0x17fecc=>{const _0x1edd36=_0x5d468a;this[_0x1edd36(0x220)](_0x17fecc);}),_0x176db1[_0x5d468a(0x23f)]['on'](_0x3e7856[_0x5d468a(0x24a)],()=>{totalTests-=0x2;}),_0x176db1[_0x5d468a(0x23f)]['on'](_0x3e7856[_0x5d468a(0x20e)],()=>{totalTests+=0x1;});}[a7_0x263be6(0x220)](_0x128b55){const _0x755e0=a7_0x263be6,_0xdcb882={'sWaKD':_0x755e0(0x204),'uKrjD':'PASSED','CKZOm':_0x755e0(0x1f3),'WpIKw':_0x755e0(0x238),'wxVBK':_0x755e0(0x206),'rSnpy':'UNKNOWN','RZWua':_0x755e0(0x211),'cnjJK':function(_0x446ca3,_0x5c27a3){return _0x446ca3+_0x5c27a3;},'pgkxf':function(_0x1cd8f9,_0x197fa5){return _0x1cd8f9+_0x197fa5;},'JfBcO':function(_0x152a33,_0x25bed6){return _0x152a33+_0x25bed6;},'qoBQf':_0x755e0(0x222),'pdIpx':'\x20-\x20','ueDJu':function(_0x155759,_0x1e3707){return _0x155759(_0x1e3707);},'QUtQZ':_0x755e0(0x22e),'GhjDw':function(_0x20c742,_0x259d7b){return _0x20c742(_0x259d7b);},'baHJD':_0x755e0(0x203),'vyZpu':function(_0x49511f,_0x2e254e){return _0x49511f+_0x2e254e;},'UhJWm':_0x755e0(0x200),'vMUFy':function(_0xd5686f,_0x3fa5a9){return _0xd5686f===_0x3fa5a9;},'RIaIr':function(_0x600e2c,_0x3f8e2d,_0x19115f){return _0x600e2c(_0x3f8e2d,_0x19115f);},'RiOhl':_0x755e0(0x20f),'icsot':_0x755e0(0x228),'qgKxf':_0x755e0(0x21f),'VjQdM':function(_0x5fd89a,_0x27be21){return _0x5fd89a+_0x27be21;},'qxbGh':function(_0xd790b9,_0x4d7ae0){return _0xd790b9!==_0x4d7ae0;},'ftAzo':function(_0x1d85c7,_0x518ce7){return _0x1d85c7+_0x518ce7;},'VGILo':function(_0x2d75be,_0x3c1b13){return _0x2d75be!==_0x3c1b13;},'nFrlv':_0x755e0(0x245),'BZlXi':function(_0x1f3508,_0x12d7b0){return _0x1f3508+_0x12d7b0;},'VKeJU':function(_0x2cc60e,_0x44c2eb){return _0x2cc60e<_0x44c2eb;},'fJufX':function(_0x2c426a,_0x3ab76a){return _0x2c426a+_0x3ab76a;},'cWyyF':function(_0x5aabd6,_0x3b55cc){return _0x5aabd6+_0x3b55cc;},'gObDW':function(_0x850371,_0x27b410){return _0x850371+_0x27b410;},'nmlAw':function(_0x44f5fb,_0x4e6b4c){return _0x44f5fb(_0x4e6b4c);},'CrxwY':function(_0x4bb12b,_0x5dea87){return _0x4bb12b(_0x5dea87);},'cMVUt':function(_0x559149,_0x44a06e){return _0x559149===_0x44a06e;},'KYkBq':function(_0x4f68f0,_0x49cfc2,_0x471b12){return _0x4f68f0(_0x49cfc2,_0x471b12);},'hiwci':function(_0x475afe,_0x42fc4d){return _0x475afe+_0x42fc4d;},'gceqf':function(_0x1e76df,_0x2f1bde){return _0x1e76df+_0x2f1bde;}};let _0x5502fe=![];function _0x26cd0f(_0x43409c){const _0x27dd0a=_0x755e0;switch(_0x43409c){case _0xdcb882[_0x27dd0a(0x1f0)]:testsFailed+=0x1;break;case _0xdcb882[_0x27dd0a(0x21e)]:testsPassed+=0x1;break;case _0xdcb882['CKZOm']:testsSkipped+=0x1;break;case _0xdcb882[_0x27dd0a(0x223)]:testsPending+=0x1;break;case _0xdcb882[_0x27dd0a(0x20d)]:testsUndefined+=0x1;break;case _0xdcb882[_0x27dd0a(0x202)]:testsUnknown+=0x1;break;case _0xdcb882[_0x27dd0a(0x246)]:testsAmbiguous+=0x1;break;default:break;}}_0xdcb882[_0x755e0(0x20a)](global[_0x755e0(0x1ff)],undefined)&&console[_0x755e0(0x21b)](_0xdcb882[_0x755e0(0x215)](_0xdcb882[_0x755e0(0x20c)]('\x0a',global[_0x755e0(0x1ff)]),'\x0a'));let _0x580a60=![];if(_0xdcb882[_0x755e0(0x249)](typeof this[_0x755e0(0x23d)][_0x755e0(0x227)],_0xdcb882[_0x755e0(0x226)])){var _0x140d3b=this[_0x755e0(0x23d)]['getTestCaseData'](_0x128b55[_0x755e0(0x217)]),_0x13592b=_0x140d3b['pickle'],_0x2e23d3=_0x140d3b[_0x755e0(0x224)];console['log'](_0xdcb882[_0x755e0(0x1f6)]('\x20\x20',_0x13592b[_0x755e0(0x1f5)]));var _0x22fdfa=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x13592b);_0x2e23d3[_0x755e0(0x23e)][_0x755e0(0x231)](function(_0x2175ea){const _0x38bc28=_0x755e0;if(_0x2175ea[_0x38bc28(0x1f9)]&&_0x2175ea[_0x38bc28(0x217)])_0x5502fe=!![],console[_0x38bc28(0x21b)](_0xdcb882['cnjJK'](_0xdcb882['pgkxf'](_0xdcb882[_0x38bc28(0x243)](_0xdcb882[_0x38bc28(0x241)],_0x22fdfa[_0x2175ea[_0x38bc28(0x217)][_0x38bc28(0x205)]][_0x38bc28(0x218)]),_0xdcb882[_0x38bc28(0x242)]),_0x2175ea[_0x38bc28(0x20f)][_0x38bc28(0x1fd)][_0x38bc28(0x240)]())),_0xdcb882[_0x38bc28(0x22f)](_0x26cd0f,_0x2175ea[_0x38bc28(0x20f)]['status'][_0x38bc28(0x240)]());else _0x2175ea['actionLocation']&&(!_0x2175ea[_0x38bc28(0x1f9)][_0x38bc28(0x1f1)][_0x38bc28(0x1fc)](_0xdcb882['QUtQZ'])&&(_0xdcb882[_0x38bc28(0x207)](_0x26cd0f,_0x2175ea['result'][_0x38bc28(0x1fd)][_0x38bc28(0x240)]()),_0x5502fe?console[_0x38bc28(0x21b)](_0xdcb882[_0x38bc28(0x243)](_0xdcb882[_0x38bc28(0x208)],_0x2175ea[_0x38bc28(0x20f)]['status'][_0x38bc28(0x240)]())):console[_0x38bc28(0x21b)](_0xdcb882['vyZpu'](_0xdcb882[_0x38bc28(0x23a)],_0x2175ea[_0x38bc28(0x20f)][_0x38bc28(0x1fd)]['toUpperCase']()))));if(_0xdcb882[_0x38bc28(0x1ef)](_0x2175ea[_0x38bc28(0x20f)]['status'][_0x38bc28(0x240)](),_0xdcb882['sWaKD'])){const _0x4ca2a9=_0xdcb882['RIaIr'](nestedKeyValue,_0x2175ea,[_0xdcb882[_0x38bc28(0x1f4)],_0xdcb882[_0x38bc28(0x213)],_0xdcb882[_0x38bc28(0x232)]]);_0x4ca2a9&&(testsErrorMessage[_0x13592b[_0x38bc28(0x1f5)]]=_0x4ca2a9,console['log'](_0xdcb882[_0x38bc28(0x216)](_0x4ca2a9,'\x0a'))),_0x580a60=!![];}});}else{const _0x2e432b=this['eventDataCollector'][_0x755e0(0x237)](_0x128b55);console['log'](_0xdcb882[_0x755e0(0x243)](_0xdcb882[_0x755e0(0x1f6)](_0xdcb882[_0x755e0(0x243)]('\x20\x20',_0x2e432b[_0x755e0(0x219)][_0x755e0(0x210)]['name']),_0xdcb882[_0x755e0(0x242)]),_0x2e432b[_0x755e0(0x234)][_0x755e0(0x1f5)]));const _0x39cb97=(0x0,pickleParser[_0x755e0(0x22b)])(_0x2e432b['pickle']),_0x9bb9b7=_0x2e432b[_0x755e0(0x224)]['steps'],_0x266da5=_0x2e432b[_0x755e0(0x212)],_0x2e3a05=_0x9bb9b7[_0x755e0(0x235)];for(let _0x1c1a51=0x0;_0xdcb882[_0x755e0(0x22d)](_0x1c1a51,_0x2e3a05);_0x1c1a51++){const _0x16cea5=_0x9bb9b7[_0x1c1a51];if(_0x16cea5['actionLocation']&&_0x16cea5[_0x755e0(0x217)])_0x5502fe=!![],console[_0x755e0(0x21b)](_0xdcb882[_0x755e0(0x225)](_0xdcb882[_0x755e0(0x21d)](_0xdcb882['gObDW'](_0xdcb882[_0x755e0(0x241)],_0x39cb97[_0x16cea5[_0x755e0(0x217)][_0x755e0(0x205)]][_0x755e0(0x218)]),_0xdcb882[_0x755e0(0x242)]),_0x266da5[_0x1c1a51][_0x755e0(0x1fd)][_0x755e0(0x240)]())),_0xdcb882[_0x755e0(0x239)](_0x26cd0f,_0x266da5[_0x1c1a51]['status']['toUpperCase']());else _0x16cea5['actionLocation']&&(!_0x16cea5[_0x755e0(0x1f9)][_0x755e0(0x1f1)][_0x755e0(0x1fc)](_0xdcb882[_0x755e0(0x1fb)])&&(_0xdcb882[_0x755e0(0x20b)](_0x26cd0f,_0x266da5[_0x1c1a51][_0x755e0(0x1fd)][_0x755e0(0x240)]()),_0x5502fe?console[_0x755e0(0x21b)](_0xdcb882['fJufX'](_0xdcb882['baHJD'],_0x266da5[_0x1c1a51][_0x755e0(0x1fd)]['toUpperCase']())):console[_0x755e0(0x21b)](_0xdcb882['VjQdM'](_0xdcb882['UhJWm'],_0x266da5[_0x1c1a51][_0x755e0(0x1fd)][_0x755e0(0x240)]()))));if(_0xdcb882[_0x755e0(0x1fe)](_0x266da5[_0x1c1a51][_0x755e0(0x1fd)][_0x755e0(0x240)](),_0xdcb882[_0x755e0(0x1f0)])){_0x580a60=!![];const _0x96287=_0xdcb882['KYkBq'](nestedKeyValue,_0x266da5[_0x1c1a51],[_0xdcb882['icsot'],_0xdcb882[_0x755e0(0x232)]]);_0x96287&&(testsErrorMessage[_0xdcb882[_0x755e0(0x1f6)](_0xdcb882[_0x755e0(0x230)](_0x2e432b[_0x755e0(0x219)][_0x755e0(0x210)][_0x755e0(0x1f5)],_0xdcb882['pdIpx']),_0x2e432b['pickle'][_0x755e0(0x1f5)])]=_0x96287,console[_0x755e0(0x21b)](_0xdcb882['gceqf'](_0x96287,'\x0a')));}}}_0x580a60&&(testSuitesFailed+=0x1),console[_0x755e0(0x21b)]('\x0a');}}module['exports']=BrowserstackFormatter;
|
|
1
|
+
const a7_0x15d48e=a7_0x13b4;function a7_0x13b4(_0x19054d,_0x102cb6){const _0x46dcb8=a7_0x46dc();return a7_0x13b4=function(_0x13b40f,_0x1eb30d){_0x13b40f=_0x13b40f-0x121;let _0x4b9e91=_0x46dcb8[_0x13b40f];return _0x4b9e91;},a7_0x13b4(_0x19054d,_0x102cb6);}(function(_0x172ec1,_0x33d197){const _0x1fdaa5=a7_0x13b4,_0x525c2f=_0x172ec1();while(!![]){try{const _0x2777eb=parseInt(_0x1fdaa5(0x149))/0x1+-parseInt(_0x1fdaa5(0x129))/0x2*(parseInt(_0x1fdaa5(0x136))/0x3)+parseInt(_0x1fdaa5(0x125))/0x4*(-parseInt(_0x1fdaa5(0x174))/0x5)+-parseInt(_0x1fdaa5(0x163))/0x6*(parseInt(_0x1fdaa5(0x166))/0x7)+parseInt(_0x1fdaa5(0x16e))/0x8+-parseInt(_0x1fdaa5(0x121))/0x9*(parseInt(_0x1fdaa5(0x14c))/0xa)+-parseInt(_0x1fdaa5(0x176))/0xb;if(_0x2777eb===_0x33d197)break;else _0x525c2f['push'](_0x525c2f['shift']());}catch(_0x5b15bb){_0x525c2f['push'](_0x525c2f['shift']());}}}(a7_0x46dc,0x62e96));function a7_0x46dc(){const _0x421237=['IfCRz','694344tMxqWY','UNDEFINED','uNHfz','449270cynumd','AMBIGUOUS','pickle','capability','log','forEach','pfvJs','undefined','exception','bPebC','noHIS','cXYYq','cucumber-js/test_old.setup.js','vdKkD','xKQlN','pgpsw','EhjyZ','BalBq','IAPkc','feature','FAILED','YYhhS','kXRsS','546ShnisD','steps','text','43883zfnJFk','sourceLocation','toUpperCase','result','\x20\x20\x20\x20BEFORE\x20-\x20','SKIPPED','oMROs','jcnnM','5749848clnKnu','TYauD','RzqFV','eventDataCollector','\x20-\x20','getTestCaseAttempt','1085RFrvOj','zqHZl','325644CsbMOR','cucumber','EFram','KYePO','line','mmWEz','PASSED','9EzlLqi','parse','jIlKf','PENDING','3884PnifiF','oITzP','test-run-started','CONFIG','212DiNxAQ','\x20\x20\x20\x20','getTestCaseData','logTestCaseFinished','nLkUY','includes','eventBroadcaster','env','vjRBw','gherkinDocument','sWvDu','eSDiI','UsKhd','4308UvOpcG','LIWVw','getStepLineToPickledStepMap','cebdd','crhZg','uri','pWYvC','TMIdK','name','__platform','Executing\x20tests\x20for\x20','VTSHb','ktTwE','testCase','status','kCIJG','Rrvhm','actionLocation'];a7_0x46dc=function(){return _0x421237;};return a7_0x46dc();}const {requireModule,getPlatformName,nestedKeyValue}=require('../../../helpers/helper'),{Formatter}=requireModule(a7_0x15d48e(0x177)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x15d48e(0x177));class BrowserstackFormatter extends Formatter{constructor(_0x4ce02f){const _0xfc206f=a7_0x15d48e,_0x4f5c61={'mmWEz':function(_0x526dc4,_0x41b3dc){return _0x526dc4!==_0x41b3dc;},'RzqFV':function(_0x595976,_0x192b81){return _0x595976(_0x192b81);},'nLkUY':_0xfc206f(0x127),'EFram':'test-case-started','vjRBw':'test-case-finished','pfvJs':'test-run-finished','zqHZl':'test-step-started'};super(_0x4ce02f),_0x4ce02f['eventBroadcaster']['on'](_0x4f5c61[_0xfc206f(0x12d)],()=>{const _0x5181a4=_0xfc206f;let _0x462a3c;if(_0x4f5c61[_0x5181a4(0x17b)](process[_0x5181a4(0x130)][_0x5181a4(0x128)],undefined)){const _0x225b8c=JSON[_0x5181a4(0x122)](process[_0x5181a4(0x130)][_0x5181a4(0x128)]);_0x462a3c=_0x225b8c[_0x5181a4(0x14f)];}_0x4f5c61['mmWEz'](_0x462a3c,undefined)&&(global[_0x5181a4(0x13f)]=_0x4f5c61[_0x5181a4(0x170)](getPlatformName,_0x462a3c),console[_0x5181a4(0x150)](_0x5181a4(0x140)+global[_0x5181a4(0x13f)]));}),_0x4ce02f['eventBroadcaster']['on'](_0x4f5c61[_0xfc206f(0x178)],()=>{testSuites+=0x1;}),_0x4ce02f[_0xfc206f(0x12f)]['on'](_0x4f5c61[_0xfc206f(0x131)],_0x45dc0a=>{const _0x21e4ce=_0xfc206f;this[_0x21e4ce(0x12c)](_0x45dc0a);}),_0x4ce02f[_0xfc206f(0x12f)]['on'](_0x4f5c61[_0xfc206f(0x152)],()=>{totalTests-=0x2;}),_0x4ce02f[_0xfc206f(0x12f)]['on'](_0x4f5c61[_0xfc206f(0x175)],()=>{totalTests+=0x1;});}[a7_0x15d48e(0x12c)](_0x2ba88c){const _0x5d24f4=a7_0x15d48e,_0x5b5e89={'YYhhS':_0x5d24f4(0x160),'vdKkD':_0x5d24f4(0x17c),'oMROs':_0x5d24f4(0x16b),'noHIS':_0x5d24f4(0x124),'kXRsS':_0x5d24f4(0x14a),'BDfPv':'UNKNOWN','uzDhG':_0x5d24f4(0x14d),'sWvDu':function(_0x260e84,_0xeb1a0){return _0x260e84+_0xeb1a0;},'eSDiI':function(_0x2e60e8,_0x356065){return _0x2e60e8+_0x356065;},'VTSHb':function(_0x232d46,_0x235da8){return _0x232d46+_0x235da8;},'IAPkc':_0x5d24f4(0x12a),'jIlKf':_0x5d24f4(0x172),'crhZg':function(_0x4f9527,_0x2218f0){return _0x4f9527(_0x2218f0);},'oITzP':_0x5d24f4(0x158),'LIWVw':function(_0x38e5c1,_0x1bd8fa){return _0x38e5c1(_0x1bd8fa);},'Rrvhm':function(_0x1cac2a,_0x36a351){return _0x1cac2a+_0x36a351;},'kCIJG':'\x20\x20\x20\x20AFTER\x20-\x20','hsEwo':function(_0x38945f,_0x163ba4){return _0x38945f+_0x163ba4;},'cebdd':_0x5d24f4(0x16a),'cXYYq':function(_0x5154ac,_0x531198){return _0x5154ac===_0x531198;},'UsKhd':function(_0x316dee,_0x398ee4,_0x25c765){return _0x316dee(_0x398ee4,_0x25c765);},'pAVux':_0x5d24f4(0x169),'pgpsw':_0x5d24f4(0x154),'EhjyZ':'stack','pWYvC':function(_0x384e82,_0x213ea0){return _0x384e82!==_0x213ea0;},'ktTwE':function(_0x39d0e6,_0x26e9bb){return _0x39d0e6+_0x26e9bb;},'TMIdK':function(_0x48362d,_0x44959){return _0x48362d+_0x44959;},'bPebC':function(_0x45de54,_0x906b57){return _0x45de54!==_0x906b57;},'eQlTh':_0x5d24f4(0x153),'IfCRz':function(_0x489834,_0x2581d6){return _0x489834+_0x2581d6;},'bLGmb':function(_0x2ee09e,_0x1d7dcc){return _0x2ee09e<_0x1d7dcc;},'xKQlN':function(_0x4cd047,_0x1ae8d3){return _0x4cd047+_0x1ae8d3;},'jcnnM':function(_0x28f247,_0x45fb4e){return _0x28f247+_0x45fb4e;},'KYePO':function(_0x373fc0,_0x4389b8){return _0x373fc0(_0x4389b8);},'hRNPH':function(_0x5e2ffc,_0xdc70e3){return _0x5e2ffc(_0xdc70e3);},'uiMek':function(_0x467de0,_0x54ab99){return _0x467de0+_0x54ab99;},'uNHfz':function(_0x4712c6,_0x44fa9b){return _0x4712c6+_0x44fa9b;},'BalBq':function(_0x108769,_0x4803e6,_0x2121d9){return _0x108769(_0x4803e6,_0x2121d9);},'LQgKb':function(_0x571a3c,_0x3e84f1){return _0x571a3c+_0x3e84f1;},'TYauD':function(_0x34813a,_0x25fdc7){return _0x34813a+_0x25fdc7;}};let _0x22c2e4=![];function _0x4fe939(_0x364e40){const _0x17d6e4=_0x5d24f4;switch(_0x364e40){case _0x5b5e89['YYhhS']:testsFailed+=0x1;break;case _0x5b5e89[_0x17d6e4(0x159)]:testsPassed+=0x1;break;case _0x5b5e89[_0x17d6e4(0x16c)]:testsSkipped+=0x1;break;case _0x5b5e89[_0x17d6e4(0x156)]:testsPending+=0x1;break;case _0x5b5e89[_0x17d6e4(0x162)]:testsUndefined+=0x1;break;case _0x5b5e89['BDfPv']:testsUnknown+=0x1;break;case _0x5b5e89['uzDhG']:testsAmbiguous+=0x1;break;default:break;}}_0x5b5e89[_0x5d24f4(0x13c)](global[_0x5d24f4(0x13f)],undefined)&&console[_0x5d24f4(0x150)](_0x5b5e89['ktTwE'](_0x5b5e89[_0x5d24f4(0x13d)]('\x0a',global['__platform']),'\x0a'));let _0x940196=![];if(_0x5b5e89[_0x5d24f4(0x155)](typeof this['eventDataCollector'][_0x5d24f4(0x12b)],_0x5b5e89['eQlTh'])){var _0x317541=this[_0x5d24f4(0x171)][_0x5d24f4(0x12b)](_0x2ba88c[_0x5d24f4(0x167)]),_0x39fbae=_0x317541['pickle'],_0x871d3b=_0x317541['testCase'];console[_0x5d24f4(0x150)](_0x5b5e89[_0x5d24f4(0x13d)]('\x20\x20',_0x39fbae[_0x5d24f4(0x13e)]));var _0x139f72=(0x0,pickleParser[_0x5d24f4(0x138)])(_0x39fbae);_0x871d3b['steps'][_0x5d24f4(0x151)](function(_0x27b070){const _0x30983f=_0x5d24f4;if(_0x27b070[_0x30983f(0x147)]&&_0x27b070['sourceLocation'])_0x22c2e4=!![],console[_0x30983f(0x150)](_0x5b5e89[_0x30983f(0x133)](_0x5b5e89[_0x30983f(0x134)](_0x5b5e89[_0x30983f(0x141)](_0x5b5e89[_0x30983f(0x15e)],_0x139f72[_0x27b070[_0x30983f(0x167)][_0x30983f(0x17a)]][_0x30983f(0x165)]),_0x5b5e89[_0x30983f(0x123)]),_0x27b070[_0x30983f(0x169)]['status'][_0x30983f(0x168)]())),_0x5b5e89[_0x30983f(0x13a)](_0x4fe939,_0x27b070[_0x30983f(0x169)]['status'][_0x30983f(0x168)]());else _0x27b070[_0x30983f(0x147)]&&(!_0x27b070[_0x30983f(0x147)]['uri'][_0x30983f(0x12e)](_0x5b5e89[_0x30983f(0x126)])&&(_0x5b5e89[_0x30983f(0x137)](_0x4fe939,_0x27b070[_0x30983f(0x169)][_0x30983f(0x144)][_0x30983f(0x168)]()),_0x22c2e4?console[_0x30983f(0x150)](_0x5b5e89[_0x30983f(0x146)](_0x5b5e89[_0x30983f(0x145)],_0x27b070['result'][_0x30983f(0x144)]['toUpperCase']())):console[_0x30983f(0x150)](_0x5b5e89['hsEwo'](_0x5b5e89[_0x30983f(0x139)],_0x27b070[_0x30983f(0x169)]['status']['toUpperCase']()))));if(_0x5b5e89[_0x30983f(0x157)](_0x27b070[_0x30983f(0x169)]['status'][_0x30983f(0x168)](),_0x5b5e89[_0x30983f(0x161)])){const _0x313076=_0x5b5e89[_0x30983f(0x135)](nestedKeyValue,_0x27b070,[_0x5b5e89['pAVux'],_0x5b5e89[_0x30983f(0x15b)],_0x5b5e89[_0x30983f(0x15c)]]);_0x313076&&(testsErrorMessage[_0x39fbae[_0x30983f(0x13e)]]=_0x313076,console[_0x30983f(0x150)](_0x5b5e89[_0x30983f(0x133)](_0x313076,'\x0a'))),_0x940196=!![];}});}else{const _0xb3acbb=this[_0x5d24f4(0x171)][_0x5d24f4(0x173)](_0x2ba88c);console[_0x5d24f4(0x150)](_0x5b5e89[_0x5d24f4(0x134)](_0x5b5e89[_0x5d24f4(0x142)](_0x5b5e89[_0x5d24f4(0x148)]('\x20\x20',_0xb3acbb[_0x5d24f4(0x132)][_0x5d24f4(0x15f)][_0x5d24f4(0x13e)]),_0x5b5e89[_0x5d24f4(0x123)]),_0xb3acbb[_0x5d24f4(0x14e)][_0x5d24f4(0x13e)]));const _0x4b0233=(0x0,pickleParser[_0x5d24f4(0x138)])(_0xb3acbb[_0x5d24f4(0x14e)]),_0x3a20a7=_0xb3acbb[_0x5d24f4(0x143)][_0x5d24f4(0x164)],_0x59c4e5=_0xb3acbb['stepResults'],_0x311f0e=_0x3a20a7['length'];for(let _0xf65029=0x0;_0x5b5e89['bLGmb'](_0xf65029,_0x311f0e);_0xf65029++){const _0x12f398=_0x3a20a7[_0xf65029];if(_0x12f398[_0x5d24f4(0x147)]&&_0x12f398[_0x5d24f4(0x167)])_0x22c2e4=!![],console['log'](_0x5b5e89[_0x5d24f4(0x133)](_0x5b5e89['xKQlN'](_0x5b5e89[_0x5d24f4(0x16d)](_0x5b5e89[_0x5d24f4(0x15e)],_0x4b0233[_0x12f398[_0x5d24f4(0x167)][_0x5d24f4(0x17a)]]['text']),_0x5b5e89[_0x5d24f4(0x123)]),_0x59c4e5[_0xf65029][_0x5d24f4(0x144)][_0x5d24f4(0x168)]())),_0x5b5e89[_0x5d24f4(0x179)](_0x4fe939,_0x59c4e5[_0xf65029][_0x5d24f4(0x144)][_0x5d24f4(0x168)]());else _0x12f398[_0x5d24f4(0x147)]&&(!_0x12f398[_0x5d24f4(0x147)][_0x5d24f4(0x13b)][_0x5d24f4(0x12e)](_0x5b5e89['oITzP'])&&(_0x5b5e89['hRNPH'](_0x4fe939,_0x59c4e5[_0xf65029][_0x5d24f4(0x144)][_0x5d24f4(0x168)]()),_0x22c2e4?console['log'](_0x5b5e89['uiMek'](_0x5b5e89[_0x5d24f4(0x145)],_0x59c4e5[_0xf65029][_0x5d24f4(0x144)][_0x5d24f4(0x168)]())):console[_0x5d24f4(0x150)](_0x5b5e89[_0x5d24f4(0x14b)](_0x5b5e89[_0x5d24f4(0x139)],_0x59c4e5[_0xf65029][_0x5d24f4(0x144)][_0x5d24f4(0x168)]()))));if(_0x5b5e89[_0x5d24f4(0x157)](_0x59c4e5[_0xf65029]['status'][_0x5d24f4(0x168)](),_0x5b5e89[_0x5d24f4(0x161)])){_0x940196=!![];const _0x3d7e6f=_0x5b5e89[_0x5d24f4(0x15d)](nestedKeyValue,_0x59c4e5[_0xf65029],[_0x5b5e89[_0x5d24f4(0x15b)],_0x5b5e89[_0x5d24f4(0x15c)]]);_0x3d7e6f&&(testsErrorMessage[_0x5b5e89['LQgKb'](_0x5b5e89[_0x5d24f4(0x16f)](_0xb3acbb[_0x5d24f4(0x132)]['feature'][_0x5d24f4(0x13e)],_0x5b5e89[_0x5d24f4(0x123)]),_0xb3acbb['pickle'][_0x5d24f4(0x13e)])]=_0x3d7e6f,console['log'](_0x5b5e89[_0x5d24f4(0x15a)](_0x3d7e6f,'\x0a')));}}}_0x940196&&(testSuitesFailed+=0x1),console[_0x5d24f4(0x150)]('\x0a');}}module['exports']=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8_0x2fa6(_0x512488,_0x117b57){const _0x998c51=a8_0x998c();return a8_0x2fa6=function(_0x2fa621,_0x401211){_0x2fa621=_0x2fa621-0x125;let _0x11afbe=_0x998c51[_0x2fa621];return _0x11afbe;},a8_0x2fa6(_0x512488,_0x117b57);}const a8_0x319b57=a8_0x2fa6;function a8_0x998c(){const _0x326942=['name','test','find','backtrace','result','updateTestStatus','Ujokh','SwPOk','1369026toDbTj','length','sourceReference','5EmCTdQ','hook_run','eOeQz','yVIci','debug','testCaseFinished','CUCUMBER','failure_data','push','wUJXk','mwMrY','uuid','testStepFinished','astNodeIds','107nGTvLP','getHookResult','yMSnL','Tteyw','getHookRunEventData','skipped','BEFORE_EACH','cucumber','sendHook','format','hcBKI','MmtTS','rAbCe','match','jYbIn','HTyPH','javascript','XnOdE','YahCX','tagExpression','FZULn','failure_reason','getCucumberHookType','children','failure_type','24atPtgt','toISOString','RzNPU','qtXJI','vHIdN','957131wyChoK','110zJcJrR','PvPIk','aAEwS','tags','failed','testCaseStartedId','split','AssertionError','cells','pending','../playwright/reporter/test-details','tZlbm','kYmcD','fyfJr','filter','HookRunStarted','event_type','join','every','../../helpers/test-observability/error-handler','SKIPPED','../../helpers/logger','exception','6959648WeMlSS','uploadEventData','strip-ansi','../../helpers/test-observability/sessionHandler','duration_in_ms','failureType','XUwfk','ijXtC','appendTesthubParams','wvTyb','unknown','kGinr','pickleStepId','5228kGYXVd','forEach','root','KhSIF','PnxSX','3363291zdMotL','FAILED','QgiJq','getHooksListForTest','QmqkV','message','hookId','HZHrl','finished_at','getScenarioExamples','EUvaN','toLowerCase','sendTestRunEventForCucumber','_gitConfigPath','390120qlNVhF','TestRunFinished','WwxJC','uri','flatMap','relative','scenario','ehTjY','umHiw','155969nErGNb','includes','testStepResult','nanos','mKIKD','hooks','hcVrL','FPRfg','status','GUhYg','tableBody','zhdnC','passed','RhVWl','failure','qlgOu','value','examples','QcwJB','configureGit','YrXjg','../../helpers/helper','timestamp','map','feature','_gitConfigured','path','rule','tpLNo','util','AFTER_EACH','kHghK','Exception\x20in\x20sendHook:\x20'];a8_0x998c=function(){return _0x326942;};return a8_0x998c();}(function(_0x46a520,_0x37cc45){const _0x3413fe=a8_0x2fa6,_0x250708=_0x46a520();while(!![]){try{const _0x245dca=-parseInt(_0x3413fe(0x141))/0x1*(parseInt(_0x3413fe(0x184))/0x2)+parseInt(_0x3413fe(0x189))/0x3+parseInt(_0x3413fe(0x197))/0x4*(-parseInt(_0x3413fe(0x133))/0x5)+-parseInt(_0x3413fe(0x15a))/0x6*(-parseInt(_0x3413fe(0x15f))/0x7)+-parseInt(_0x3413fe(0x177))/0x8+parseInt(_0x3413fe(0x130))/0x9+parseInt(_0x3413fe(0x160))/0xa*(parseInt(_0x3413fe(0x1a0))/0xb);if(_0x245dca===_0x37cc45)break;else _0x250708['push'](_0x250708['shift']());}catch(_0x138666){_0x250708['push'](_0x250708['shift']());}}}(a8_0x998c,0xb1f60));const path=require(a8_0x319b57(0x1ba)),util=require(a8_0x319b57(0x1bd)),hooksMap={},SessionHandler=require(a8_0x319b57(0x17a)),testhubUtils=require('../../helpers/testhub/utils'),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x319b57(0x1b5)),logger=require(a8_0x319b57(0x175))['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x319b57(0x173)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x319b57(0x16a));this[a8_0x319b57(0x1b9)]=![],this[a8_0x319b57(0x196)]=null;class TestObservabilityReporter{async[a8_0x319b57(0x195)](_0x44d3d6,_0x30d7af,_0x5d6d7f,_0x3a5643,_0x177f44){const _0x4ff31f=a8_0x319b57,_0x240754={'hcBKI':function(_0x4ba4f5,_0x3aa8a8){return _0x4ba4f5===_0x3aa8a8;},'ZuSqp':_0x4ff31f(0x18a),'tZlbm':'failed','XnOdE':_0x4ff31f(0x174),'YrXjg':_0x4ff31f(0x146),'FZULn':function(_0x8e0712,_0x119b18){return _0x8e0712||_0x119b18;},'jYbIn':function(_0x51dc5b,_0x87fc86){return _0x51dc5b+_0x87fc86;},'RhVWl':function(_0x4be6f8,_0x486465){return _0x4be6f8+_0x486465;},'XUwfk':_0x4ff31f(0x129),'bUQaf':_0x4ff31f(0x151),'yVIci':'cucumber','VTkYG':_0x4ff31f(0x169),'HZHrl':_0x4ff31f(0x1ac),'SwPOk':function(_0x1437a6,_0x519169){return _0x1437a6!==_0x519169;},'Ujokh':function(_0xd38d7b,_0x7e2a85){return _0xd38d7b/_0x7e2a85;},'wvTyb':_0x4ff31f(0x179),'RzNPU':function(_0x5881db,_0x37afb7){return _0x5881db(_0x37afb7);},'LKZhP':_0x4ff31f(0x181),'ErqvI':function(_0x5e0835,_0x21b6b1){return _0x5e0835(_0x21b6b1);},'MmtTS':_0x4ff31f(0x167),'gnVZq':'UnhandledError','PnxSX':function(_0x1fad89,_0x46fddd){return _0x1fad89===_0x46fddd;},'FPRfg':_0x4ff31f(0x198),'mwMrY':function(_0x305c71,_0xf756d3){return _0x305c71>_0xf756d3;}},{feature:_0x330003,scenario:_0x21d007,steps:_0x5e7ad8,uuid:_0x398997,startedAt:_0x2c855b,finishedAt:_0x39b255}=_0x240754[_0x4ff31f(0x155)](_0x177f44,{}),_0x1e0747=this[_0x4ff31f(0x192)](_0x30d7af,_0x5d6d7f);await this[_0x4ff31f(0x1b3)]();const _0xafc0fb=_0x1e0747?_0x240754[_0x4ff31f(0x14f)](_0x240754[_0x4ff31f(0x1ad)](_0x240754['jYbIn'](_0x5d6d7f[_0x4ff31f(0x128)],'\x20('),_0x1e0747[_0x4ff31f(0x171)](',\x20')),')'):_0x5d6d7f[_0x4ff31f(0x128)],_0x538498={'uuid':_0x398997,'started_at':_0x2c855b,'finished_at':_0x39b255,'type':_0x240754[_0x4ff31f(0x17d)],'body':{'lang':_0x240754['bUQaf'],'code':null},'name':_0xafc0fb,'scopes':[_0x330003&&_0x330003[_0x4ff31f(0x128)]?_0x330003[_0x4ff31f(0x128)]:''],'tags':_0x5d6d7f['tags']?_0x5d6d7f[_0x4ff31f(0x163)]['map'](({name:_0x445611})=>_0x445611):[],'file_name':_0x5d6d7f[_0x4ff31f(0x19a)],'location':_0x5d6d7f[_0x4ff31f(0x19a)],'vc_filepath':this['_gitConfigPath']&&_0x5d6d7f['uri']?path['relative'](this['_gitConfigPath'],_0x5d6d7f['uri']):null,'framework':_0x240754[_0x4ff31f(0x136)],'result':_0x240754['VTkYG'],'meta':{'feature':_0x330003,'scenario':_0x21d007,'steps':_0x5e7ad8,'examples':_0x1e0747},'customRerunParam':{'rerun_name':_0xafc0fb}};if(_0x44d3d6['testCaseFinished']&&_0x5e7ad8){const _0x1c333d=_0x44d3d6[_0x4ff31f(0x138)];let _0x3c7ab8=_0x240754[_0x4ff31f(0x190)];_0x5e7ad8[_0x4ff31f(0x172)](_0x3f4f6f=>{const _0x523c89=_0x4ff31f;if(_0x240754[_0x523c89(0x14b)](_0x3f4f6f['result'],_0x240754['ZuSqp']))return _0x3c7ab8=_0x240754[_0x523c89(0x16b)],_0x1c333d[_0x523c89(0x1ae)]=_0x3f4f6f[_0x523c89(0x1ae)],_0x1c333d[_0x523c89(0x17c)]=_0x3f4f6f[_0x523c89(0x17c)],![];else{if(_0x240754[_0x523c89(0x14b)](_0x3f4f6f[_0x523c89(0x12c)],_0x240754[_0x523c89(0x152)]))return _0x3c7ab8=_0x240754[_0x523c89(0x1b4)],![];}return!![];}),_0x538498[_0x4ff31f(0x191)]=new Date()['toISOString'](),_0x538498[_0x4ff31f(0x12c)]=_0x3c7ab8;_0x1c333d['timestamp']&&_0x240754[_0x4ff31f(0x12f)](_0x1c333d['timestamp'][_0x4ff31f(0x1a3)],undefined)?_0x538498[_0x4ff31f(0x17b)]=_0x240754[_0x4ff31f(0x12e)](_0x1c333d[_0x4ff31f(0x1b6)][_0x4ff31f(0x1a3)],0xf4240):_0x538498[_0x4ff31f(0x17b)]=undefined;if(_0x240754[_0x4ff31f(0x14b)](_0x3c7ab8,_0x240754[_0x4ff31f(0x16b)])){const {default:_0x3fe848}=await import(_0x240754[_0x4ff31f(0x180)]);_0x538498['failure']=[{'backtrace':[_0x1c333d['failure']?_0x240754[_0x4ff31f(0x15c)](_0x3fe848,_0x1c333d[_0x4ff31f(0x1ae)]):_0x240754['LKZhP']]}],_0x538498[_0x4ff31f(0x156)]=_0x1c333d['failure']?_0x240754['ErqvI'](_0x3fe848,_0x1c333d[_0x4ff31f(0x1ae)]):_0x1c333d[_0x4ff31f(0x18e)],_0x1c333d['failureType']&&(_0x538498['failure_type']=_0x1c333d['failureType'][_0x4ff31f(0x14e)](/AssertError/)?_0x240754[_0x4ff31f(0x14c)]:_0x240754['gnVZq']);}}if(_0x240754[_0x4ff31f(0x188)](_0x3a5643,_0x240754[_0x4ff31f(0x1a7)])){const _0xb68d28=this['getHooksListForTest'](_0x44d3d6['testCaseFinished'][_0x4ff31f(0x165)]);_0xb68d28&&_0x240754[_0x4ff31f(0x13d)](_0xb68d28[_0x4ff31f(0x131)],0x0)&&(_0x538498[_0x4ff31f(0x1a5)]=_0xb68d28,this['updateTestStatus'](_0x44d3d6[_0x4ff31f(0x138)][_0x4ff31f(0x165)],_0x538498));}testhubUtils[_0x4ff31f(0x17f)](_0x538498,_0x3a5643,'',FRAMEWORKS[_0x4ff31f(0x139)]);const _0x23b167={};_0x23b167[_0x4ff31f(0x170)]=_0x3a5643,_0x23b167['test_run']=_0x538498;const _0x53b899=_0x23b167;await SessionHandler['uploadEventData'](_0x53b899);}[a8_0x319b57(0x12d)](_0x16757e,_0x2bd6ee){const _0x5c06e6=a8_0x319b57,_0x3a03e2={};_0x3a03e2[_0x5c06e6(0x153)]=function(_0x53a311,_0x5d1d01){return _0x53a311 instanceof _0x5d1d01;},_0x3a03e2[_0x5c06e6(0x126)]=function(_0x3a9858,_0x17dfa2){return _0x3a9858===_0x17dfa2;},_0x3a03e2['qtXJI']='failed',_0x3a03e2[_0x5c06e6(0x161)]='0|4|1|2|3',_0x3a03e2['rAbCe']=function(_0x4fb5a1,_0x1c6e42){return _0x4fb5a1 instanceof _0x1c6e42;};const _0x391c5e=_0x3a03e2,_0x50dfcb=hooksMap[_0x16757e];if(_0x391c5e[_0x5c06e6(0x153)](_0x50dfcb,Array))for(const _0x1b673a of _0x50dfcb){if(_0x391c5e[_0x5c06e6(0x126)](_0x1b673a[_0x5c06e6(0x12c)],_0x391c5e[_0x5c06e6(0x15d)])){const _0x193a9a=_0x391c5e[_0x5c06e6(0x161)][_0x5c06e6(0x166)]('|');let _0x36c5fc=0x0;while(!![]){switch(_0x193a9a[_0x36c5fc++]){case'0':_0x2bd6ee[_0x5c06e6(0x12c)]=_0x1b673a[_0x5c06e6(0x12c)];continue;case'1':_0x2bd6ee['failure_reason']=_0x391c5e[_0x5c06e6(0x14d)](_0x1b673a[_0x5c06e6(0x13a)],Array)?_0x1b673a[_0x5c06e6(0x13a)][0x0][_0x5c06e6(0x12b)]['join']('\x0a'):'';continue;case'2':_0x2bd6ee[_0x5c06e6(0x159)]=_0x1b673a[_0x5c06e6(0x159)];continue;case'3':return _0x2bd6ee;case'4':_0x2bd6ee[_0x5c06e6(0x1ae)]=_0x1b673a[_0x5c06e6(0x13a)];continue;}break;}}};}[a8_0x319b57(0x18c)](_0x2c0da2){const _0x31d06d=a8_0x319b57;if(hooksMap[_0x2c0da2])return hooksMap[_0x2c0da2]['map'](_0x3aac3a=>_0x3aac3a[_0x31d06d(0x13e)]);return[];}['getHookRunEventData'](_0x553cc2,_0x472638,_0x4eca95,_0x1c6c57,_0x34fd27,_0x33a1c6){const _0xef4d59=a8_0x319b57,_0x3e62df={'QgiJq':function(_0xc263ad,_0x47d95f){return _0xc263ad===_0x47d95f;},'GUhYg':'HookRunFinished','WwxJC':function(_0x2a8b9c,_0x12d10a,_0x3abfa0){return _0x2a8b9c(_0x12d10a,_0x3abfa0);},'QcwJB':_0xef4d59(0x132),'ijXtC':_0xef4d59(0x19a),'epuQH':'pending','AHPWc':'hook','vHIdN':_0xef4d59(0x151),'aAEwS':'feature','EUvaN':_0xef4d59(0x128),'tpLNo':function(_0x1a70b0,_0x1f3034,_0x428c29){return _0x1a70b0(_0x1f3034,_0x428c29);},'PnxWm':_0xef4d59(0x148)};try{if(_0x3e62df[_0xef4d59(0x18b)](_0x4eca95,_0x3e62df[_0xef4d59(0x1a9)])){const _0x36cb33=new Date()[_0xef4d59(0x15b)](),_0x2d07ba=hooksMap[_0x472638];if(!_0x2d07ba)return;const _0x31be2f=_0x2d07ba[_0xef4d59(0x12a)](_0x3b448f=>_0x3b448f[_0xef4d59(0x13e)]===_0x1c6c57['id']);if(!_0x31be2f)return;const _0x525399=this[_0xef4d59(0x142)](_0x553cc2,_0x472638);_0x31be2f[_0xef4d59(0x12c)]=_0x525399[_0xef4d59(0x1a8)],_0x31be2f[_0xef4d59(0x191)]=_0x36cb33,_0x31be2f[_0xef4d59(0x159)]=_0x525399[_0xef4d59(0x17c)];const _0x2c44ec={};return _0x2c44ec[_0xef4d59(0x12b)]=_0x525399['failureData'],_0x31be2f[_0xef4d59(0x13a)]=[_0x2c44ec],_0x31be2f;}const _0x29f4cb=TestDetails['getTestUUID'](_0x472638),_0x1f0d8c=_0x553cc2[_0xef4d59(0x1a5)][_0xef4d59(0x12a)](_0x563e1e=>_0x563e1e['id']===_0x1c6c57['hookId']),_0x5b2f59=_0x3e62df['WwxJC'](nestedKeyValue,_0x1f0d8c,[_0x3e62df[_0xef4d59(0x1b2)],_0x3e62df[_0xef4d59(0x17e)]]),_0x29e36c=new Date()[_0xef4d59(0x15b)](),_0x1d9087=_0x3e62df['epuQH'],_0x1d6bca=_0x1f0d8c[_0xef4d59(0x154)]?_0x1f0d8c[_0xef4d59(0x154)]['split']('\x20')[_0xef4d59(0x16e)](_0x4478c3=>_0x4478c3[_0xef4d59(0x1a1)]('@')):[],_0x2f23d4={'uuid':_0x1c6c57['id'],'type':_0x3e62df['AHPWc'],'hook_type':_0x33a1c6,'name':_0x1f0d8c['name'],'body':{'lang':_0x3e62df[_0xef4d59(0x15e)],'code':null},'tags':_0x1d6bca,'test_run_id':_0x29f4cb,'scope':_0x3e62df[_0xef4d59(0x199)](nestedKeyValue,_0x34fd27,[_0x3e62df['aAEwS'],_0x3e62df['EUvaN']]),'scopes':[_0x3e62df[_0xef4d59(0x1bc)](nestedKeyValue,_0x34fd27,[_0x3e62df[_0xef4d59(0x162)],_0x3e62df[_0xef4d59(0x193)]])||''],'file_name':_0x5b2f59,'location':_0x5b2f59,'vc_filepath':this['_gitConfigPath']?path[_0xef4d59(0x19c)](this['_gitConfigPath'],_0x5b2f59):null,'result':_0x1d9087,'started_at':_0x29e36c,'framework':_0x3e62df['PnxWm']};return _0x2f23d4;}catch(_0x33fdfb){logger[_0xef4d59(0x137)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0xef4d59(0x14a)](_0x33fdfb)+'\x20');}}async['sendHook'](_0x25aaa2,_0xd49c86,_0x91220c,_0x413d81,_0x1f2680,_0x3deff7){const _0x4c4097=a8_0x319b57,_0x1064ef={'Tteyw':function(_0x522266,_0x38970e){return _0x522266===_0x38970e;},'BAJHC':_0x4c4097(0x16f),'IIlXR':function(_0x230538,_0x2c3785,_0x5bc55d){return _0x230538(_0x2c3785,_0x5bc55d);},'fyfJr':'sourceReference','HTyPH':_0x4c4097(0x19a),'QmqkV':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x2ff714=_0x413d81[_0x4c4097(0x12a)](_0x297c49=>_0x297c49['id']===_0x1f2680);if(!_0x2ff714[_0x4c4097(0x18f)])return;const _0x16eaa3=this[_0x4c4097(0x157)](_0x413d81,_0x2ff714),_0x4210ae=this[_0x4c4097(0x145)](_0x25aaa2,_0xd49c86,_0x91220c,_0x2ff714,_0x3deff7,_0x16eaa3);if(!_0x4210ae)return;_0x1064ef[_0x4c4097(0x144)](_0x91220c,_0x1064ef['BAJHC'])&&(hooksMap[_0xd49c86]?hooksMap[_0xd49c86][_0x4c4097(0x13b)](_0x4210ae):hooksMap[_0xd49c86]=[_0x4210ae]);const _0xad6c09=_0x25aaa2[_0x4c4097(0x1a5)][_0x4c4097(0x12a)](_0x17109d=>_0x17109d['id']===_0x2ff714['hookId']),_0x330799=_0x1064ef['IIlXR'](nestedKeyValue,_0xad6c09,[_0x1064ef[_0x4c4097(0x16d)],_0x1064ef[_0x4c4097(0x150)]]);if(!_0x330799)return;else{if(_0x330799[_0x4c4097(0x1a1)](_0x1064ef[_0x4c4097(0x18d)]))return;}const _0x26e9af={};_0x26e9af[_0x4c4097(0x170)]=_0x91220c,_0x26e9af[_0x4c4097(0x134)]=_0x4210ae;const _0x16a1cd=_0x26e9af;await SessionHandler[_0x4c4097(0x178)](_0x16a1cd);}catch(_0x473b73){logger[_0x4c4097(0x137)](_0x4c4097(0x127)+util[_0x4c4097(0x14a)](_0x473b73)+'\x20');}}[a8_0x319b57(0x142)](_0x4da438,_0x2d9ab2){const _0x1ef415=a8_0x319b57,_0x1215dd={};_0x1215dd['kYmcD']=function(_0x5b0fc3,_0x21df24){return _0x5b0fc3===_0x21df24;},_0x1215dd[_0x1ef415(0x182)]=_0x1ef415(0x164),_0x1215dd['yMSnL']=function(_0x1bcd65,_0x35773d){return _0x1bcd65===_0x35773d;},_0x1215dd['eOeQz']=function(_0x3adf60,_0x81347d){return _0x3adf60===_0x81347d;},_0x1215dd[_0x1ef415(0x1ab)]='UnhandledError',_0x1215dd['wUJXk']=_0x1ef415(0x167),_0x1215dd[_0x1ef415(0x19f)]=function(_0x253c4e,_0x37f93b){return _0x253c4e||_0x37f93b;};const _0x174ec2=_0x1215dd,_0x1f4fe6=_0x4da438[_0x1ef415(0x13f)][_0x2d9ab2][_0x1ef415(0x1a2)];let _0x4718ce,_0x433aa9;return _0x1f4fe6&&_0x174ec2[_0x1ef415(0x16c)](_0x1f4fe6[_0x1ef415(0x1a8)]['toString']()[_0x1ef415(0x194)](),_0x174ec2[_0x1ef415(0x182)])&&(_0x4718ce=_0x174ec2[_0x1ef415(0x143)](_0x1f4fe6[_0x1ef415(0x176)],undefined)?_0x1f4fe6[_0x1ef415(0x18e)]:_0x1f4fe6['exception'][_0x1ef415(0x18e)],_0x433aa9=_0x174ec2[_0x1ef415(0x135)](_0x1f4fe6[_0x1ef415(0x176)],undefined)?_0x174ec2[_0x1ef415(0x1ab)]:_0x1f4fe6[_0x1ef415(0x18e)]['match'](/Assert/)?_0x174ec2[_0x1ef415(0x13c)]:_0x174ec2['zhdnC']),{'status':_0x1f4fe6[_0x1ef415(0x1a8)][_0x1ef415(0x194)](),'failureType':_0x174ec2[_0x1ef415(0x19f)](_0x433aa9,null),'failureData':!_0x4718ce?null:[_0x4718ce]};}[a8_0x319b57(0x157)](_0x11bdf7,_0x1b5cd8){const _0x4c58fe=a8_0x319b57,_0x2aff82={};_0x2aff82[_0x4c58fe(0x1a4)]=function(_0x4f7d60,_0x5ce818){return _0x4f7d60===_0x5ce818;},_0x2aff82['mRVxL']=_0x4c58fe(0x125),_0x2aff82['ehTjY']=_0x4c58fe(0x147);const _0x3a851b=_0x2aff82;let _0x348da9=![];for(const _0x2d44d3 of _0x11bdf7){_0x2d44d3[_0x4c58fe(0x183)]&&(_0x348da9=!![]);if(_0x3a851b['mKIKD'](_0x1b5cd8['id'],_0x2d44d3['id']))return _0x348da9?_0x3a851b['mRVxL']:_0x3a851b[_0x4c58fe(0x19e)];}}['getScenarioExamples']=(_0x2804a,_0xf86958)=>{const _0x3d8791=a8_0x319b57,_0x481236={};_0x481236[_0x3d8791(0x1a6)]=function(_0x84c99f,_0x2cbfec){return _0x84c99f===_0x2cbfec;},_0x481236[_0x3d8791(0x1af)]=function(_0x47fd60,_0x34fc3f){return _0x47fd60>_0x34fc3f;};const _0x41fe0b=_0x481236;if(!(_0xf86958[_0x3d8791(0x140)]&&_0x41fe0b[_0x3d8791(0x1af)](_0xf86958['astNodeIds'][_0x3d8791(0x131)],0x1)))return;const _0x369563=_0xf86958[_0x3d8791(0x140)][0x0],_0x4b0fe9=_0xf86958['astNodeIds'][0x1],_0x5054e9=_0x2804a[_0x3d8791(0x1b8)]&&_0x2804a[_0x3d8791(0x1b8)][_0x3d8791(0x158)]?_0x2804a[_0x3d8791(0x1b8)][_0x3d8791(0x158)]:undefined;let _0xcabe24=[];_0x5054e9&&_0x5054e9[_0x3d8791(0x185)](_0x4e654b=>{const _0x38e213=_0x3d8791;if(_0x4e654b[_0x38e213(0x1bb)])_0x4e654b[_0x38e213(0x1bb)][_0x38e213(0x158)]['forEach'](_0x509726=>{const _0x207029=_0x38e213;if(_0x509726[_0x207029(0x19d)]&&_0x41fe0b[_0x207029(0x1a6)](_0x509726[_0x207029(0x19d)]['id'],_0x369563)&&_0x509726[_0x207029(0x19d)][_0x207029(0x1b1)]){const _0x781ec7=_0x509726[_0x207029(0x19d)][_0x207029(0x1b1)][_0x207029(0x19b)](_0x34657c=>_0x34657c[_0x207029(0x1aa)])[_0x207029(0x12a)](_0x1c799d=>_0x1c799d['id']===_0x4b0fe9);let _0x4572ce;_0x781ec7&&_0x781ec7[_0x207029(0x168)]?_0x4572ce=_0x781ec7['cells'][_0x207029(0x1b7)](_0x423410=>_0x423410[_0x207029(0x1b0)]):_0x4572ce=[],_0x4572ce&&(_0xcabe24=_0x4572ce);}});else{if(_0x4e654b['scenario']&&_0x41fe0b['hcVrL'](_0x4e654b['scenario']['id'],_0x369563)&&_0x4e654b[_0x38e213(0x19d)]['examples']){const _0x587538=_0x4e654b[_0x38e213(0x19d)][_0x38e213(0x1b1)][_0x38e213(0x19b)](_0x2ccc9f=>_0x2ccc9f['tableBody'])[_0x38e213(0x12a)](_0x282be2=>_0x282be2['id']===_0x4b0fe9);let _0x4e7202;_0x587538&&_0x587538[_0x38e213(0x168)]?_0x4e7202=_0x587538[_0x38e213(0x168)]['map'](_0x1282fb=>_0x1282fb[_0x38e213(0x1b0)]):_0x4e7202=[],_0x4e7202&&(_0xcabe24=_0x4e7202);}}});if(_0xcabe24[_0x3d8791(0x131)])return _0xcabe24;return;};async[a8_0x319b57(0x1b3)](){const _0x2c2fe1=a8_0x319b57,_0x3a46aa={'KhSIF':function(_0x12ce66){return _0x12ce66();}};if(this[_0x2c2fe1(0x1b9)])return this['_gitConfigPath'];const _0x28bf8f=await _0x3a46aa[_0x2c2fe1(0x187)](getGitMetaData);_0x28bf8f&&(this[_0x2c2fe1(0x196)]=_0x28bf8f[_0x2c2fe1(0x186)]),this[_0x2c2fe1(0x1b9)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x319b57(0x1b3),a8_0x319b57(0x192),a8_0x319b57(0x157),'getHookResult',a8_0x319b57(0x149),a8_0x319b57(0x145),a8_0x319b57(0x195)]);
|
|
1
|
+
const a8_0xf5f2d9=a8_0x3532;function a8_0x3532(_0x555e1e,_0x5c5a19){const _0x280f6f=a8_0x280f();return a8_0x3532=function(_0x3532fd,_0x2cb789){_0x3532fd=_0x3532fd-0x1a5;let _0x5c64a9=_0x280f6f[_0x3532fd];return _0x5c64a9;},a8_0x3532(_0x555e1e,_0x5c5a19);}(function(_0x171470,_0x472aea){const _0x665167=a8_0x3532,_0x11172e=_0x171470();while(!![]){try{const _0x775e03=parseInt(_0x665167(0x1c5))/0x1*(-parseInt(_0x665167(0x20c))/0x2)+-parseInt(_0x665167(0x1ee))/0x3+-parseInt(_0x665167(0x22a))/0x4+-parseInt(_0x665167(0x1ea))/0x5+parseInt(_0x665167(0x1e5))/0x6+parseInt(_0x665167(0x1c9))/0x7*(parseInt(_0x665167(0x209))/0x8)+-parseInt(_0x665167(0x213))/0x9*(-parseInt(_0x665167(0x210))/0xa);if(_0x775e03===_0x472aea)break;else _0x11172e['push'](_0x11172e['shift']());}catch(_0x13e6c9){_0x11172e['push'](_0x11172e['shift']());}}}(a8_0x280f,0xa9dd5));const path=require(a8_0xf5f2d9(0x21b)),util=require(a8_0xf5f2d9(0x1f9)),hooksMap={},SessionHandler=require(a8_0xf5f2d9(0x20b)),testhubUtils=require(a8_0xf5f2d9(0x1b5)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0xf5f2d9(0x235))[a8_0xf5f2d9(0x1b4)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a8_0xf5f2d9(0x239)),TestDetails=require(a8_0xf5f2d9(0x1d5));this['_gitConfigured']=![],this[a8_0xf5f2d9(0x231)]=null;class TestObservabilityReporter{async[a8_0xf5f2d9(0x1d7)](_0x386125,_0x341d0c,_0x5e7e69,_0x7db5d5,_0x1cc073){const _0x31e33b=a8_0xf5f2d9,_0x3529a4={'gytia':function(_0x1d4786,_0x5b61ce){return _0x1d4786===_0x5b61ce;},'KQCOm':'FAILED','Oehtr':_0x31e33b(0x218),'IMlBF':function(_0x49472c,_0x39b0f0){return _0x49472c===_0x39b0f0;},'wLNLE':_0x31e33b(0x1cc),'ZBHNF':_0x31e33b(0x237),'XWVOU':function(_0x194b3b,_0x45816f){return _0x194b3b||_0x45816f;},'kpuzF':function(_0x291cce,_0x5091cb){return _0x291cce+_0x5091cb;},'YpvXp':_0x31e33b(0x1ed),'cFKQe':_0x31e33b(0x1bf),'npxZH':_0x31e33b(0x1ff),'JBMAb':_0x31e33b(0x1ad),'VvFDE':_0x31e33b(0x23c),'gwjVl':function(_0x45d56f,_0x513685){return _0x45d56f!==_0x513685;},'ECdcD':function(_0x5d27ef,_0x4b5d54){return _0x5d27ef/_0x4b5d54;},'PLdAJ':_0x31e33b(0x203),'oufpw':function(_0x305453,_0x3386ed){return _0x305453(_0x3386ed);},'RRHha':'unknown','cOnUO':'AssertionError','nDRjZ':_0x31e33b(0x21f),'bzbDP':_0x31e33b(0x220),'MkNTx':function(_0x16c1fe,_0x2f1bc2){return _0x16c1fe>_0x2f1bc2;}},{feature:_0xff67ef,scenario:_0x5d0cb2,steps:_0x56cf6a,uuid:_0x39fb1e,startedAt:_0x416a35,finishedAt:_0x8713d7}=_0x3529a4['XWVOU'](_0x1cc073,{}),_0x21208c=this[_0x31e33b(0x1dc)](_0x341d0c,_0x5e7e69);await this[_0x31e33b(0x1b8)]();const _0x18b429=_0x21208c?_0x3529a4[_0x31e33b(0x228)](_0x3529a4[_0x31e33b(0x228)](_0x3529a4['kpuzF'](_0x5e7e69['name'],'\x20('),_0x21208c[_0x31e33b(0x1bc)](',\x20')),')'):_0x5e7e69[_0x31e33b(0x23d)],_0x5d03a8={'uuid':_0x39fb1e,'started_at':_0x416a35,'finished_at':_0x8713d7,'type':_0x3529a4[_0x31e33b(0x1bd)],'body':{'lang':_0x3529a4[_0x31e33b(0x1db)],'code':null},'name':_0x18b429,'scopes':[_0xff67ef&&_0xff67ef['name']?_0xff67ef['name']:''],'tags':_0x5e7e69[_0x31e33b(0x202)]?_0x5e7e69[_0x31e33b(0x202)][_0x31e33b(0x234)](({name:_0x49b7d0})=>_0x49b7d0):[],'file_name':_0x5e7e69[_0x31e33b(0x22d)],'location':_0x5e7e69[_0x31e33b(0x22d)],'vc_filepath':this['_gitConfigPath']&&_0x5e7e69['uri']?path[_0x31e33b(0x236)](this['_gitConfigPath'],_0x5e7e69[_0x31e33b(0x22d)]):null,'framework':_0x3529a4[_0x31e33b(0x1af)],'result':_0x3529a4[_0x31e33b(0x206)],'meta':{'feature':_0xff67ef,'scenario':_0x5d0cb2,'steps':_0x56cf6a,'examples':_0x21208c},'customRerunParam':{'rerun_name':_0x18b429}};if(_0x386125[_0x31e33b(0x230)]&&_0x56cf6a){const _0x2c70e1=_0x386125['testCaseFinished'];let _0x473d28=_0x3529a4['VvFDE'];_0x56cf6a['every'](_0x325dbd=>{const _0x46b98e=_0x31e33b;if(_0x3529a4[_0x46b98e(0x1eb)](_0x325dbd[_0x46b98e(0x1d0)],_0x3529a4[_0x46b98e(0x1da)]))return _0x473d28=_0x3529a4[_0x46b98e(0x23f)],_0x2c70e1[_0x46b98e(0x20e)]=_0x325dbd[_0x46b98e(0x20e)],_0x2c70e1[_0x46b98e(0x23b)]=_0x325dbd[_0x46b98e(0x23b)],![];else{if(_0x3529a4[_0x46b98e(0x22c)](_0x325dbd['result'],_0x3529a4[_0x46b98e(0x1ef)]))return _0x473d28=_0x3529a4['ZBHNF'],![];}return!![];}),_0x5d03a8[_0x31e33b(0x224)]=new Date()[_0x31e33b(0x1c4)](),_0x5d03a8['result']=_0x473d28;_0x2c70e1[_0x31e33b(0x1fc)]&&_0x3529a4[_0x31e33b(0x1a6)](_0x2c70e1['timestamp'][_0x31e33b(0x232)],undefined)?_0x5d03a8[_0x31e33b(0x229)]=_0x3529a4[_0x31e33b(0x1b3)](_0x2c70e1[_0x31e33b(0x1fc)][_0x31e33b(0x232)],0xf4240):_0x5d03a8[_0x31e33b(0x229)]=undefined;if(_0x3529a4['IMlBF'](_0x473d28,_0x3529a4[_0x31e33b(0x23f)])){const {default:_0x1124b8}=await import(_0x3529a4['PLdAJ']);_0x5d03a8['failure']=[{'backtrace':[_0x2c70e1[_0x31e33b(0x20e)]?_0x3529a4[_0x31e33b(0x22f)](_0x1124b8,_0x2c70e1[_0x31e33b(0x20e)]):_0x3529a4['RRHha']]}],_0x5d03a8['failure_reason']=_0x2c70e1[_0x31e33b(0x20e)]?_0x3529a4[_0x31e33b(0x22f)](_0x1124b8,_0x2c70e1[_0x31e33b(0x20e)]):_0x2c70e1[_0x31e33b(0x1be)],_0x2c70e1[_0x31e33b(0x23b)]&&(_0x5d03a8[_0x31e33b(0x1b9)]=_0x2c70e1[_0x31e33b(0x23b)]['match'](/AssertError/)?_0x3529a4[_0x31e33b(0x1d6)]:_0x3529a4[_0x31e33b(0x1ab)]);}}if(_0x3529a4[_0x31e33b(0x1eb)](_0x7db5d5,_0x3529a4[_0x31e33b(0x1fe)])){const _0xcd9ee0=this['getHooksListForTest'](_0x386125[_0x31e33b(0x230)]['testCaseStartedId']);_0xcd9ee0&&_0x3529a4[_0x31e33b(0x226)](_0xcd9ee0[_0x31e33b(0x1cd)],0x0)&&(_0x5d03a8[_0x31e33b(0x1c8)]=_0xcd9ee0,this[_0x31e33b(0x1d2)](_0x386125['testCaseFinished'][_0x31e33b(0x222)],_0x5d03a8));}testhubUtils[_0x31e33b(0x1d8)](_0x5d03a8,_0x7db5d5,'',FRAMEWORKS[_0x31e33b(0x238)]);const _0x24d3c6={};_0x24d3c6[_0x31e33b(0x1a7)]=_0x7db5d5,_0x24d3c6['test_run']=_0x5d03a8;const _0x309d16=_0x24d3c6;await SessionHandler[_0x31e33b(0x1f3)](_0x309d16);}[a8_0xf5f2d9(0x1d2)](_0x55ae39,_0x4fe613){const _0x3dc3c0=a8_0xf5f2d9,_0x16f96c={};_0x16f96c[_0x3dc3c0(0x211)]=function(_0x2f700c,_0x25fae9){return _0x2f700c instanceof _0x25fae9;},_0x16f96c['rgWyR']=function(_0x3b0158,_0x2f4c54){return _0x3b0158===_0x2f4c54;},_0x16f96c['Ehvko']=_0x3dc3c0(0x218),_0x16f96c['zlvib']=_0x3dc3c0(0x1df),_0x16f96c[_0x3dc3c0(0x1f2)]=function(_0x57a7a7,_0x47fdd8){return _0x57a7a7 instanceof _0x47fdd8;};const _0x2ba167=_0x16f96c,_0x3a0347=hooksMap[_0x55ae39];if(_0x2ba167['eZInL'](_0x3a0347,Array))for(const _0x13d2f8 of _0x3a0347){if(_0x2ba167[_0x3dc3c0(0x22e)](_0x13d2f8[_0x3dc3c0(0x1d0)],_0x2ba167['Ehvko'])){const _0x529d79=_0x2ba167[_0x3dc3c0(0x1f0)]['split']('|');let _0x3c3eee=0x0;while(!![]){switch(_0x529d79[_0x3c3eee++]){case'0':_0x4fe613[_0x3dc3c0(0x20e)]=_0x13d2f8[_0x3dc3c0(0x1c2)];continue;case'1':_0x4fe613[_0x3dc3c0(0x1d0)]=_0x13d2f8[_0x3dc3c0(0x1d0)];continue;case'2':_0x4fe613[_0x3dc3c0(0x1f4)]=_0x2ba167[_0x3dc3c0(0x1f2)](_0x13d2f8[_0x3dc3c0(0x1c2)],Array)?_0x13d2f8[_0x3dc3c0(0x1c2)][0x0][_0x3dc3c0(0x208)][_0x3dc3c0(0x1bc)]('\x0a'):'';continue;case'3':_0x4fe613[_0x3dc3c0(0x1b9)]=_0x13d2f8[_0x3dc3c0(0x1b9)];continue;case'4':return _0x4fe613;}break;}}};}['getHooksListForTest'](_0xd4221){const _0xe5784e=a8_0xf5f2d9;if(hooksMap[_0xd4221])return hooksMap[_0xd4221][_0xe5784e(0x234)](_0x111a92=>_0x111a92['uuid']);return[];}[a8_0xf5f2d9(0x201)](_0x43d9e9,_0x422700,_0x2ac320,_0x552e79,_0x560867,_0x1feb4b){const _0x4c37b0=a8_0xf5f2d9,_0x2d16cd={'GUCFl':function(_0x142a68,_0x324c4a){return _0x142a68===_0x324c4a;},'ojfCR':_0x4c37b0(0x22b),'ujiQd':function(_0x573613,_0x18b826,_0x1924bf){return _0x573613(_0x18b826,_0x1924bf);},'LFWiN':_0x4c37b0(0x1c7),'vNfrn':_0x4c37b0(0x22d),'ucrZZ':_0x4c37b0(0x1ad),'KwSZR':_0x4c37b0(0x1ae),'LQYOP':_0x4c37b0(0x1bf),'wDbap':function(_0x23a7bd,_0x4d9c43,_0x420c27){return _0x23a7bd(_0x4d9c43,_0x420c27);},'HIaWe':_0x4c37b0(0x204),'qnvKF':_0x4c37b0(0x23d),'XBEZt':function(_0x17d968,_0x4df1cf,_0x229e24){return _0x17d968(_0x4df1cf,_0x229e24);},'zHuDc':'cucumber'};try{if(_0x2d16cd[_0x4c37b0(0x1d1)](_0x2ac320,_0x2d16cd[_0x4c37b0(0x1ce)])){const _0xf8c1c4=new Date()['toISOString'](),_0x46a4e8=hooksMap[_0x422700];if(!_0x46a4e8)return;const _0x44ad94=_0x46a4e8[_0x4c37b0(0x1a8)](_0xba8f3f=>_0xba8f3f[_0x4c37b0(0x1f7)]===_0x552e79['id']);if(!_0x44ad94)return;const _0x3ffe61=this[_0x4c37b0(0x1ca)](_0x43d9e9,_0x422700);_0x44ad94[_0x4c37b0(0x1d0)]=_0x3ffe61[_0x4c37b0(0x1fa)],_0x44ad94[_0x4c37b0(0x224)]=_0xf8c1c4,_0x44ad94[_0x4c37b0(0x1b9)]=_0x3ffe61[_0x4c37b0(0x23b)];const _0x3c33b3={};return _0x3c33b3[_0x4c37b0(0x208)]=_0x3ffe61['failureData'],_0x44ad94['failure_data']=[_0x3c33b3],_0x44ad94;}const _0x5e7120=TestDetails[_0x4c37b0(0x21c)](_0x422700),_0x435524=_0x43d9e9[_0x4c37b0(0x1c8)]['find'](_0xd42974=>_0xd42974['id']===_0x552e79[_0x4c37b0(0x21a)]),_0x3de240=_0x2d16cd[_0x4c37b0(0x214)](nestedKeyValue,_0x435524,[_0x2d16cd[_0x4c37b0(0x217)],_0x2d16cd['vNfrn']]),_0x49d43e=new Date()[_0x4c37b0(0x1c4)](),_0x187390=_0x2d16cd[_0x4c37b0(0x20f)],_0x1c3add=_0x435524[_0x4c37b0(0x20d)]?_0x435524[_0x4c37b0(0x20d)][_0x4c37b0(0x1aa)]('\x20')[_0x4c37b0(0x23a)](_0x2d6bfc=>_0x2d6bfc[_0x4c37b0(0x1de)]('@')):[],_0x18da17={'uuid':_0x552e79['id'],'type':_0x2d16cd[_0x4c37b0(0x1ac)],'hook_type':_0x1feb4b,'name':_0x435524[_0x4c37b0(0x23d)],'body':{'lang':_0x2d16cd[_0x4c37b0(0x1a9)],'code':null},'tags':_0x1c3add,'test_run_id':_0x5e7120,'scope':_0x2d16cd[_0x4c37b0(0x200)](nestedKeyValue,_0x560867,[_0x2d16cd[_0x4c37b0(0x1f8)],_0x2d16cd[_0x4c37b0(0x1cf)]]),'scopes':[_0x2d16cd[_0x4c37b0(0x1d3)](nestedKeyValue,_0x560867,[_0x2d16cd[_0x4c37b0(0x1f8)],_0x2d16cd[_0x4c37b0(0x1cf)]])||''],'file_name':_0x3de240,'location':_0x3de240,'vc_filepath':this[_0x4c37b0(0x231)]?path['relative'](this['_gitConfigPath'],_0x3de240):null,'result':_0x187390,'started_at':_0x49d43e,'framework':_0x2d16cd[_0x4c37b0(0x1e2)]};return _0x18da17;}catch(_0x1146fe){logger[_0x4c37b0(0x215)](_0x4c37b0(0x1c1)+util[_0x4c37b0(0x1c0)](_0x1146fe)+'\x20');}}async[a8_0xf5f2d9(0x1f6)](_0xa2a529,_0x18778e,_0x2d1cad,_0x52af69,_0xc67de8,_0x36817c){const _0x4f5c52=a8_0xf5f2d9,_0x1f6503={'NGzLb':function(_0x2e377a,_0x16efc2){return _0x2e377a===_0x16efc2;},'Kyfwb':_0x4f5c52(0x225),'GImez':function(_0x1f38a4,_0x4f4d6e,_0x1c79f4){return _0x1f38a4(_0x4f4d6e,_0x1c79f4);},'QvKds':_0x4f5c52(0x1c7),'jjhIJ':_0x4f5c52(0x22d),'wRqfv':_0x4f5c52(0x1b0)};try{const _0x428be7=_0x52af69[_0x4f5c52(0x1a8)](_0x59ea28=>_0x59ea28['id']===_0xc67de8);if(!_0x428be7['hookId'])return;const _0x384c20=this[_0x4f5c52(0x205)](_0x52af69,_0x428be7),_0x310fe7=this[_0x4f5c52(0x201)](_0xa2a529,_0x18778e,_0x2d1cad,_0x428be7,_0x36817c,_0x384c20);if(!_0x310fe7)return;_0x1f6503[_0x4f5c52(0x227)](_0x2d1cad,_0x1f6503[_0x4f5c52(0x1ec)])&&(hooksMap[_0x18778e]?hooksMap[_0x18778e][_0x4f5c52(0x1fd)](_0x310fe7):hooksMap[_0x18778e]=[_0x310fe7]);const _0x3496ee=_0xa2a529[_0x4f5c52(0x1c8)]['find'](_0x35b6bc=>_0x35b6bc['id']===_0x428be7[_0x4f5c52(0x21a)]),_0x5bea6d=_0x1f6503[_0x4f5c52(0x1bb)](nestedKeyValue,_0x3496ee,[_0x1f6503[_0x4f5c52(0x1f1)],_0x1f6503[_0x4f5c52(0x1d4)]]);if(!_0x5bea6d)return;else{if(_0x5bea6d[_0x4f5c52(0x1de)](_0x1f6503[_0x4f5c52(0x1b1)]))return;}const _0xb95cea={};_0xb95cea[_0x4f5c52(0x1a7)]=_0x2d1cad,_0xb95cea['hook_run']=_0x310fe7;const _0x5dcb3b=_0xb95cea;await SessionHandler['uploadEventData'](_0x5dcb3b);}catch(_0x183edd){logger[_0x4f5c52(0x215)](_0x4f5c52(0x21d)+util[_0x4f5c52(0x1c0)](_0x183edd)+'\x20');}}['getHookResult'](_0x57a7a2,_0x4fc52a){const _0x4a2a65=a8_0xf5f2d9,_0x5a0550={};_0x5a0550[_0x4a2a65(0x1c6)]=function(_0x788333,_0xdf8f3d){return _0x788333===_0xdf8f3d;},_0x5a0550['TjyKd']='failed',_0x5a0550['vvQZq']=function(_0x27a818,_0xfbfee6){return _0x27a818===_0xfbfee6;},_0x5a0550[_0x4a2a65(0x21e)]=_0x4a2a65(0x21f),_0x5a0550[_0x4a2a65(0x216)]=_0x4a2a65(0x1dd),_0x5a0550[_0x4a2a65(0x1e1)]=function(_0x171c0f,_0x4aef39){return _0x171c0f||_0x4aef39;};const _0x5174e7=_0x5a0550,_0x40cdc5=_0x57a7a2[_0x4a2a65(0x23e)][_0x4fc52a][_0x4a2a65(0x1f5)];let _0x1d31f0,_0x502a62;return _0x40cdc5&&_0x5174e7[_0x4a2a65(0x1c6)](_0x40cdc5['status'][_0x4a2a65(0x1b2)]()[_0x4a2a65(0x1b7)](),_0x5174e7[_0x4a2a65(0x223)])&&(_0x1d31f0=_0x5174e7['EkKSo'](_0x40cdc5['exception'],undefined)?_0x40cdc5[_0x4a2a65(0x1be)]:_0x40cdc5['exception']['message'],_0x502a62=_0x5174e7['vvQZq'](_0x40cdc5['exception'],undefined)?_0x5174e7[_0x4a2a65(0x21e)]:_0x40cdc5[_0x4a2a65(0x1be)][_0x4a2a65(0x1e7)](/Assert/)?_0x5174e7[_0x4a2a65(0x216)]:_0x5174e7[_0x4a2a65(0x21e)]),{'status':_0x40cdc5['status']['toLowerCase'](),'failureType':_0x5174e7['RMdDT'](_0x502a62,null),'failureData':!_0x1d31f0?null:[_0x1d31f0]};}[a8_0xf5f2d9(0x205)](_0x2e7281,_0x258d1f){const _0xda32d4=a8_0xf5f2d9,_0x382ca0={};_0x382ca0[_0xda32d4(0x233)]=function(_0xe9f8d4,_0x32fbe8){return _0xe9f8d4===_0x32fbe8;},_0x382ca0[_0xda32d4(0x1e8)]='AFTER_EACH',_0x382ca0[_0xda32d4(0x1e0)]=_0xda32d4(0x1e4);const _0x2b9e76=_0x382ca0;let _0x1bbd8c=![];for(const _0x2d0f48 of _0x2e7281){_0x2d0f48[_0xda32d4(0x1c3)]&&(_0x1bbd8c=!![]);if(_0x2b9e76['HyBGF'](_0x258d1f['id'],_0x2d0f48['id']))return _0x1bbd8c?_0x2b9e76[_0xda32d4(0x1e8)]:_0x2b9e76[_0xda32d4(0x1e0)];}}[a8_0xf5f2d9(0x1dc)]=(_0x3e9609,_0x475f47)=>{const _0x56d8fe=a8_0xf5f2d9,_0x2eafb3={};_0x2eafb3['uHkXD']=function(_0x41858c,_0x48b80d){return _0x41858c===_0x48b80d;},_0x2eafb3[_0x56d8fe(0x212)]=function(_0x54869d,_0x23bf5c){return _0x54869d>_0x23bf5c;};const _0x37c869=_0x2eafb3;if(!(_0x475f47[_0x56d8fe(0x1e9)]&&_0x37c869[_0x56d8fe(0x212)](_0x475f47[_0x56d8fe(0x1e9)][_0x56d8fe(0x1cd)],0x1)))return;const _0x394abc=_0x475f47[_0x56d8fe(0x1e9)][0x0],_0x3f1586=_0x475f47[_0x56d8fe(0x1e9)][0x1],_0x42e235=_0x3e9609['feature']&&_0x3e9609['feature'][_0x56d8fe(0x20a)]?_0x3e9609[_0x56d8fe(0x204)][_0x56d8fe(0x20a)]:undefined;let _0x220dcd=[];_0x42e235&&_0x42e235[_0x56d8fe(0x221)](_0x278c16=>{const _0x4a3acb=_0x56d8fe,_0x53cf87={'BcmQh':function(_0x5a799d,_0x520151){const _0x2de908=a8_0x3532;return _0x37c869[_0x2de908(0x1e3)](_0x5a799d,_0x520151);}};if(_0x278c16[_0x4a3acb(0x1b6)])_0x278c16[_0x4a3acb(0x1b6)]['children']['forEach'](_0x3d8dc9=>{const _0x4738c1=_0x4a3acb;if(_0x3d8dc9[_0x4738c1(0x1a5)]&&_0x53cf87[_0x4738c1(0x1cb)](_0x3d8dc9[_0x4738c1(0x1a5)]['id'],_0x394abc)&&_0x3d8dc9[_0x4738c1(0x1a5)][_0x4738c1(0x1fb)]){const _0x31cff2=_0x3d8dc9[_0x4738c1(0x1a5)][_0x4738c1(0x1fb)][_0x4738c1(0x219)](_0x37aecd=>_0x37aecd[_0x4738c1(0x1ba)])[_0x4738c1(0x1a8)](_0x511c73=>_0x511c73['id']===_0x3f1586);let _0x42ad21;_0x31cff2&&_0x31cff2[_0x4738c1(0x1d9)]?_0x42ad21=_0x31cff2[_0x4738c1(0x1d9)][_0x4738c1(0x234)](_0x56dd73=>_0x56dd73['value']):_0x42ad21=[],_0x42ad21&&(_0x220dcd=_0x42ad21);}});else{if(_0x278c16[_0x4a3acb(0x1a5)]&&_0x37c869[_0x4a3acb(0x1e3)](_0x278c16[_0x4a3acb(0x1a5)]['id'],_0x394abc)&&_0x278c16[_0x4a3acb(0x1a5)][_0x4a3acb(0x1fb)]){const _0x1408c9=_0x278c16[_0x4a3acb(0x1a5)][_0x4a3acb(0x1fb)]['flatMap'](_0x213031=>_0x213031[_0x4a3acb(0x1ba)])['find'](_0x31bbf1=>_0x31bbf1['id']===_0x3f1586);let _0x4d0949;_0x1408c9&&_0x1408c9[_0x4a3acb(0x1d9)]?_0x4d0949=_0x1408c9[_0x4a3acb(0x1d9)]['map'](_0x57eeaf=>_0x57eeaf['value']):_0x4d0949=[],_0x4d0949&&(_0x220dcd=_0x4d0949);}}});if(_0x220dcd[_0x56d8fe(0x1cd)])return _0x220dcd;return;};async['configureGit'](){const _0x3f34a0=a8_0xf5f2d9,_0x39fea7={'rHcSb':function(_0x252910){return _0x252910();}};if(this[_0x3f34a0(0x207)])return this['_gitConfigPath'];const _0x32646e=await _0x39fea7[_0x3f34a0(0x1e6)](getGitMetaData);_0x32646e&&(this['_gitConfigPath']=_0x32646e['root']),this[_0x3f34a0(0x207)]=!![];}}function a8_0x280f(){const _0x1c7c7b=['KwSZR','pending','hook','npxZH','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','wRqfv','toString','ECdcD','winstonLogger','../../helpers/testhub/utils','rule','toLowerCase','configureGit','failure_type','tableBody','GImez','join','YpvXp','message','javascript','format','Exception\x20in\x20getHookRunEventData:\x20','failure_data','pickleStepId','toISOString','66494jdmIIZ','EkKSo','sourceReference','hooks','7zUPPCL','getHookResult','BcmQh','SKIPPED','length','ojfCR','qnvKF','result','GUCFl','updateTestStatus','XBEZt','jjhIJ','../playwright/reporter/test-details','cOnUO','sendTestRunEventForCucumber','appendTesthubParams','cells','KQCOm','cFKQe','getScenarioExamples','AssertionError','includes','1|0|2|3|4','rIiMv','RMdDT','zHuDc','uHkXD','BEFORE_EACH','2709666rCarcs','rHcSb','match','KElgn','astNodeIds','3114380LoHpVR','gytia','Kyfwb','test','4121511ifYhuS','wLNLE','zlvib','QvKds','SJDRR','uploadEventData','failure_reason','testStepResult','sendHook','uuid','HIaWe','util','status','examples','timestamp','push','bzbDP','cucumber','wDbap','getHookRunEventData','tags','strip-ansi','feature','getCucumberHookType','JBMAb','_gitConfigured','backtrace','5548184CZdpoo','children','../../helpers/test-observability/sessionHandler','14zeTYHJ','tagExpression','failure','ucrZZ','1440hytxmQ','eZInL','QDime','131121KlORfg','ujiQd','debug','LOjKW','LFWiN','failed','flatMap','hookId','path','getTestUUID','Exception\x20in\x20sendHook:\x20','bwkvB','UnhandledError','TestRunFinished','forEach','testCaseStartedId','TjyKd','finished_at','HookRunStarted','MkNTx','NGzLb','kpuzF','duration_in_ms','340536XmJMpy','HookRunFinished','IMlBF','uri','rgWyR','oufpw','testCaseFinished','_gitConfigPath','nanos','HyBGF','map','../../helpers/logger','relative','skipped','CUCUMBER','../../helpers/test-observability/constants.js','filter','failureType','passed','name','testStepFinished','Oehtr','scenario','gwjVl','event_type','find','LQYOP','split','nDRjZ'];a8_0x280f=function(){return _0x1c7c7b;};return a8_0x280f();}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0xf5f2d9(0x1b8),'getScenarioExamples',a8_0xf5f2d9(0x205),a8_0xf5f2d9(0x1ca),a8_0xf5f2d9(0x1f6),a8_0xf5f2d9(0x201),a8_0xf5f2d9(0x1d7)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x55f6e7=a9_0x3efb;(function(_0x4e91d6,_0x1c140e){const _0xa97f8d=a9_0x3efb,_0x51b562=_0x4e91d6();while(!![]){try{const _0x2f9504=parseInt(_0xa97f8d(0x16b))/0x1*(parseInt(_0xa97f8d(0x231))/0x2)+-parseInt(_0xa97f8d(0x211))/0x3*(parseInt(_0xa97f8d(0x202))/0x4)+-parseInt(_0xa97f8d(0x22f))/0x5+parseInt(_0xa97f8d(0x205))/0x6+parseInt(_0xa97f8d(0x18e))/0x7+parseInt(_0xa97f8d(0x1e1))/0x8*(parseInt(_0xa97f8d(0x21a))/0x9)+-parseInt(_0xa97f8d(0x24f))/0xa*(parseInt(_0xa97f8d(0x210))/0xb);if(_0x2f9504===_0x1c140e)break;else _0x51b562['push'](_0x51b562['shift']());}catch(_0x13eff7){_0x51b562['push'](_0x51b562['shift']());}}}(a9_0x5e3c,0x7df35));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x55f6e7(0x1af)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x55f6e7(0x208)),setKeepAlive=require(a9_0x55f6e7(0x1c5)),util=require(a9_0x55f6e7(0x225)),PerformanceTester=require(a9_0x55f6e7(0x1cb)),{EVENTS:PerformanceEvents}=require(a9_0x55f6e7(0x236)),{commandRepository}=require(a9_0x55f6e7(0x1f6)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x55f6e7(0x226)),logger=require(a9_0x55f6e7(0x222))[a9_0x55f6e7(0x1cf)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require('../../helpers/test-observability/utils'),TestDetails=require(a9_0x55f6e7(0x1e6)),TestInfo=require(a9_0x55f6e7(0x1c3)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x55f6e7(0x188)),SessionHandler=require(a9_0x55f6e7(0x209)),scripts=require(a9_0x55f6e7(0x1ae)),globals=require(a9_0x55f6e7(0x1c2)),testHubConstants=require(a9_0x55f6e7(0x1dd)),{shouldScanTestForAccessibility}=require(a9_0x55f6e7(0x1cc)),{isUndefined}=require(a9_0x55f6e7(0x237)),helper=require(a9_0x55f6e7(0x1af)),a9_0x36565b={};a9_0x36565b[a9_0x55f6e7(0x215)]=undefined,a9_0x36565b[a9_0x55f6e7(0x23a)]={},a9_0x36565b[a9_0x55f6e7(0x1ce)]=![],a9_0x36565b[a9_0x55f6e7(0x223)]=null,a9_0x36565b[a9_0x55f6e7(0x242)]=![],a9_0x36565b[a9_0x55f6e7(0x23a)]['id']=undefined,a9_0x36565b[a9_0x55f6e7(0x23a)]['testInfo']=undefined;const workerDetails=a9_0x36565b;global[a9_0x55f6e7(0x1d0)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x24e359){const _0x2942cc=a9_0x55f6e7,_0x18f751={'PUtWd':function(_0x53908c,_0x2bf586){return _0x53908c(_0x2bf586);},'IEIjI':_0x2942cc(0x20e),'SiKuy':_0x2942cc(0x1c9)},_0x412ec9=workerDetails['currentTest']['testInfo'];if(!_0x412ec9)return;if(playwrightPatcher)try{const _0xa6e0e1=_0x18f751['PUtWd'](require,_0x18f751['IEIjI']);if(_0xa6e0e1[_0x2942cc(0x1d6)]()[_0x2942cc(0x180)]()){const _0xa13c0d=_0x412ec9[_0x2942cc(0x16f)];_0xa13c0d?(_0x24e359[_0x2942cc(0x200)]=_0xa13c0d,_0x24e359[_0x2942cc(0x19a)]=_0xa13c0d,TestInfo[_0x2942cc(0x1db)](_0xa13c0d,_0x24e359)):logger[_0x2942cc(0x1a7)](_0x18f751['SiKuy']);return;}}catch(_0x2bcca1){logger['debug'](_0x2942cc(0x1f8)+util[_0x2942cc(0x1f3)](_0x2bcca1));}await MyReporter['addTestUIDAndReportLog'](_0x412ec9,_0x24e359);}),registerListeners=()=>{const _0x28b3a2=a9_0x55f6e7,_0x58d046={};_0x58d046[_0x28b3a2(0x1a3)]=_0x28b3a2(0x19f);const _0x1be870=_0x58d046;logger[_0x28b3a2(0x1a7)](_0x1be870[_0x28b3a2(0x1a3)]),process[_0x28b3a2(0x191)](_0x28b3a2(0x18c)+process[_0x28b3a2(0x25b)]),process['on']('bs:addLog:'+process[_0x28b3a2(0x25b)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x55f6e7(0x217)],After=cucumberModule[a9_0x55f6e7(0x1b0)],AfterAll=cucumberModule['AfterAll'],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x55f6e7(0x22e)],configuration=process[a9_0x55f6e7(0x1a1)][a9_0x55f6e7(0x23c)],bstackConfig=process[a9_0x55f6e7(0x1a1)][a9_0x55f6e7(0x167)];if(configuration!==undefined){const config=JSON[a9_0x55f6e7(0x1fb)](configuration);isBrowserstackInfra()?(global[a9_0x55f6e7(0x1eb)]=isTrue(config['skipSessionName']),global[a9_0x55f6e7(0x1ac)]=isTrue(config['skipSessionStatus'])):(global[a9_0x55f6e7(0x1eb)]=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x55f6e7(0x198)]('@playwright/test')&&(logger[a9_0x55f6e7(0x1a7)](a9_0x55f6e7(0x247)),shouldProcessEventForTesthub()?require('../../index')['browserstackAgentV2'](config,null,!![]):require(a9_0x55f6e7(0x16a))[a9_0x55f6e7(0x1f1)](config));global[a9_0x55f6e7(0x1e8)]=config[a9_0x55f6e7(0x25a)]||{};if(helper[a9_0x55f6e7(0x198)](a9_0x55f6e7(0x213)))try{logger['debug'](a9_0x55f6e7(0x20f)),playwrightPatcher=require(a9_0x55f6e7(0x1ca)),playwrightPatcher[a9_0x55f6e7(0x184)](config),logger[a9_0x55f6e7(0x1a7)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x44d136){logger[a9_0x55f6e7(0x1a7)](a9_0x55f6e7(0x22b)+util[a9_0x55f6e7(0x1f3)](a9_0x44d136));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x55f6e7(0x1fb)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x55f6e7(0x1a8)](a9_0x55f6e7(0x18d)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0x55f6e7(0x1b7)];cucumberModule[a9_0x55f6e7(0x1b7)]=_0x4f9b27=>{const _0x2c910c=a9_0x55f6e7,_0x318803={'rXGHs':function(_0x3f9575,_0x4cd74f){return _0x3f9575(_0x4cd74f);}};global[_0x2c910c(0x1d3)]=_0x4f9b27,_0x318803['rXGHs'](__setDefaultTimeout,_0x4f9b27);};const a9_0x520abb={};a9_0x520abb[a9_0x55f6e7(0x21b)]=a9_0x55f6e7(0x17e),BeforeAll(a9_0x520abb,async function(){const _0x15c3e9=a9_0x55f6e7,_0x2470bc={'fssjH':function(_0x6c1295,_0xd4e63a,_0x5c7149,_0x5d674b){return _0x6c1295(_0xd4e63a,_0x5c7149,_0x5d674b);},'WpROV':_0x15c3e9(0x250),'wiJPR':_0x15c3e9(0x177),'AwhtJ':function(_0x61daac,_0x207ae3,_0xff6b3a){return _0x61daac(_0x207ae3,_0xff6b3a);},'KixGr':_0x15c3e9(0x197),'XbgQk':'Inside\x20browserstack\x20BeforeAll','MSPcu':function(_0x253e07,_0x2f87fa){return _0x253e07(_0x2f87fa);},'JKqff':_0x15c3e9(0x20e),'eujgd':_0x15c3e9(0x17a),'aWvbs':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','DtAhu':function(_0x4fdcbb){return _0x4fdcbb();},'Pxslv':function(_0x4e4f53){return _0x4e4f53();}};PerformanceTester[_0x15c3e9(0x21d)](),logger[_0x15c3e9(0x1a7)](_0x2470bc[_0x15c3e9(0x21f)]),global[_0x15c3e9(0x248)]=[],global[_0x15c3e9(0x1a9)]=![];if(playwrightPatcher)try{const _0x1a0d06=_0x2470bc['MSPcu'](require,_0x2470bc['JKqff']),_0x5f4e65=_0x2470bc[_0x15c3e9(0x1bd)](require,_0x2470bc[_0x15c3e9(0x22d)]);_0x1a0d06[_0x15c3e9(0x1d6)]()[_0x15c3e9(0x235)]()&&(logger['debug'](_0x2470bc[_0x15c3e9(0x1f5)]),_0x5f4e65[_0x15c3e9(0x24a)](FRAMEWORKS[_0x15c3e9(0x1ed)],FRAMEWORKS[_0x15c3e9(0x25c)]),await _0x1a0d06[_0x15c3e9(0x1d6)]()[_0x15c3e9(0x234)]());}catch(_0x4e26c3){logger[_0x15c3e9(0x1a7)](_0x15c3e9(0x166)+util['format'](_0x4e26c3));}_0x2470bc[_0x15c3e9(0x19d)](shouldProcessEventForTesthub)&&(_0x2470bc[_0x15c3e9(0x249)](registerListeners),_0x2470bc[_0x15c3e9(0x1bd)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0xb2fc0=_0x15c3e9;let _0x360d9f=![];try{global['__drivers']&&global[_0xb2fc0(0x1ad)][0x0]&&(await global[_0xb2fc0(0x1ad)][0x0]['session_'],_0x360d9f=!![],global[_0xb2fc0(0x1a9)]?await _0x2470bc[_0xb2fc0(0x199)](markSessionStatus,global[_0xb2fc0(0x1ad)][0x0],_0x2470bc[_0xb2fc0(0x1dc)],global[_0xb2fc0(0x248)]['join'](_0x2470bc[_0xb2fc0(0x24c)])):await _0x2470bc[_0xb2fc0(0x194)](markSessionStatus,global[_0xb2fc0(0x1ad)][0x0],_0x2470bc['KixGr']));}catch(_0x3a9da2){logger['debug'](_0xb2fc0(0x1ba)+_0x3a9da2);}global[_0xb2fc0(0x248)]=[],global['__sessionFailed']=![];if(_0x360d9f)try{await global[_0xb2fc0(0x1ad)][0x0][_0xb2fc0(0x1f7)](),global[_0xb2fc0(0x1ad)][0x0][_0xb2fc0(0x1d8)][_0xb2fc0(0x1e2)](_0x169ba5=>{const _0x2cacd4=_0xb2fc0;logger[_0x2cacd4(0x1a7)](_0x2cacd4(0x1f2)+_0x169ba5[_0x2cacd4(0x1f9)]());})[_0xb2fc0(0x204)](_0x21b69f=>{});}catch(_0x3f6187){logger[_0xb2fc0(0x1a7)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x3f6187);}};});const a9_0x4c4231={};a9_0x4c4231[a9_0x55f6e7(0x21b)]=a9_0x55f6e7(0x17e),a9_0x4c4231[a9_0x55f6e7(0x1d7)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a9_0x4c4231,function(_0x5c0725,_0x4dc26c){const _0x4c42c2=a9_0x55f6e7,_0x365dbd={'KgkEW':function(_0x1ae3ba,_0x2663b1){return _0x1ae3ba>_0x2663b1;},'dmgLA':function(_0x237988,_0x4922ad){return _0x237988>_0x4922ad;},'Cfyjb':function(_0x545393,_0x12bd15){return _0x545393(_0x12bd15);},'yUAwy':function(_0xb32702,_0x368211,_0x74ef24,_0x20dd46){return _0xb32702(_0x368211,_0x74ef24,_0x20dd46);},'rjXgY':_0x4c42c2(0x186),'gsxNz':_0x4c42c2(0x20e),'brCZz':function(_0xcc82ae,_0x466693){return _0xcc82ae(_0x466693);},'ZtSBU':'../v2/state/automationFrameworkState','TghdB':'../v2/state/hookState','wOtCM':'Unknown\x20Test','TAtxa':_0x4c42c2(0x1d1),'WqqKb':function(_0x4a9b37){return _0x4a9b37();},'ZhwKv':_0x4c42c2(0x1c0)};commandRepository['setTestNameForHealingContext'](_0x5c0725['pickle'][_0x4c42c2(0x21b)]),logger[_0x4c42c2(0x1a7)](_0x365dbd['ZhwKv']),new Promise(async _0x3b48b6=>{const _0xcc5fc6=_0x4c42c2;try{global[_0xcc5fc6(0x1ad)]&&_0x365dbd['KgkEW'](global['__drivers']['length'],0x1)&&(await global[_0xcc5fc6(0x1f4)](),global['__drivers']['shift']()),global[_0xcc5fc6(0x1ad)]&&global[_0xcc5fc6(0x1ad)][0x0]&&global['__drivers'][0x0][_0xcc5fc6(0x1b3)]&&_0x365dbd['dmgLA'](global[_0xcc5fc6(0x1ad)][0x0][_0xcc5fc6(0x1b3)],0x0)&&await global[_0xcc5fc6(0x1f4)]();}catch(_0x476e48){logger[_0xcc5fc6(0x1a7)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x476e48);}workerDetails['currentTest']['testInfo']=_0x5c0725;if(!playwrightPatcher)try{if(!_0x365dbd['Cfyjb'](isUndefined,_0x5c0725[_0xcc5fc6(0x251)]['tags'])){const _0x3ab25f=_0x365dbd[_0xcc5fc6(0x196)](shouldScanTestForAccessibility,null,![],_0x5c0725[_0xcc5fc6(0x251)][_0xcc5fc6(0x23d)][_0xcc5fc6(0x1b2)](({name:_0x47cc82})=>_0x47cc82));globals['setGlobal'](_0x365dbd[_0xcc5fc6(0x193)],_0x3ab25f);}}catch(_0x244a51){logger['debug'](_0xcc5fc6(0x1c8)+util[_0xcc5fc6(0x1f3)](_0x244a51));}if(playwrightPatcher)try{await playwrightPatcher[_0xcc5fc6(0x19c)](_0x5c0725),global[_0xcc5fc6(0x1d0)]&&global[_0xcc5fc6(0x1d0)][_0xcc5fc6(0x223)]&&playwrightPatcher[_0xcc5fc6(0x227)](global[_0xcc5fc6(0x1d0)]['pwPage']);}catch(_0xf6c84e){logger[_0xcc5fc6(0x1a7)](_0xcc5fc6(0x16d)+util[_0xcc5fc6(0x1f3)](_0xf6c84e));}if(playwrightPatcher)try{const _0x94cb05=_0x365dbd['Cfyjb'](require,_0x365dbd[_0xcc5fc6(0x17f)]),_0x410653=_0x365dbd[_0xcc5fc6(0x174)](require,_0x365dbd[_0xcc5fc6(0x1cd)]),_0x421aee=_0x365dbd[_0xcc5fc6(0x174)](require,_0x365dbd[_0xcc5fc6(0x189)]);if(_0x94cb05['getInstance']()[_0xcc5fc6(0x180)]()){const _0x46d8e5={'title':_0x5c0725[_0xcc5fc6(0x251)]['name']||_0x365dbd[_0xcc5fc6(0x22c)],'titlePath':[_0x5c0725[_0xcc5fc6(0x251)][_0xcc5fc6(0x21b)]||_0x365dbd['wOtCM']],'id':_0x5c0725[_0xcc5fc6(0x16f)]||_0x365dbd[_0xcc5fc6(0x18f)],'tags':_0x5c0725[_0xcc5fc6(0x251)][_0xcc5fc6(0x23d)]||[],..._0x5c0725},_0x3df540=_0x46d8e5;global['__currentTestInfo']=_0x3df540,logger[_0xcc5fc6(0x1a7)](_0xcc5fc6(0x1ff)+_0x5c0725[_0xcc5fc6(0x251)][_0xcc5fc6(0x21b)]);}}catch(_0x1718f9){logger[_0xcc5fc6(0x1a7)](_0xcc5fc6(0x1b6)+util[_0xcc5fc6(0x1f3)](_0x1718f9));}_0x365dbd[_0xcc5fc6(0x243)](_0x3b48b6);})['finally'](_0x4dc26c);});const a9_0x151f40={};a9_0x151f40[a9_0x55f6e7(0x21b)]=a9_0x55f6e7(0x17e),a9_0x151f40[a9_0x55f6e7(0x1d7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x55f6e7(0x162)],After(a9_0x151f40,function(_0x4314b0,_0x474cea){const _0x2f8d8c=a9_0x55f6e7,_0x1bbbd4={'qGGwO':function(_0x518d53,_0x7081c6){return _0x518d53>_0x7081c6;},'HCmbb':function(_0x5e1808,_0x1821c3){return _0x5e1808===_0x1821c3;},'vxdId':_0x2f8d8c(0x250),'ulDpP':function(_0x29faa5,_0x57af3c){return _0x29faa5>_0x57af3c;},'VWAzx':function(_0x5764f9,_0x6d36f2,_0x9fc782,_0x244106){return _0x5764f9(_0x6d36f2,_0x9fc782,_0x244106);},'WxeEz':_0x2f8d8c(0x177),'JwwLY':function(_0x5ef0c9,_0x467ec4,_0x255e4e){return _0x5ef0c9(_0x467ec4,_0x255e4e);},'Hyboa':_0x2f8d8c(0x197),'dReeh':function(_0x1e38a9,_0x57540c){return _0x1e38a9(_0x57540c);},'QasxI':_0x2f8d8c(0x20e),'fRtzd':_0x2f8d8c(0x257),'sttny':function(_0x49f794,_0x196cbb){return _0x49f794(_0x196cbb);},'XZdUJ':_0x2f8d8c(0x233),'TiMot':_0x2f8d8c(0x1fa),'CPwaJ':_0x2f8d8c(0x1d1),'OecAh':_0x2f8d8c(0x20b),'ZyoMI':_0x2f8d8c(0x1fe),'Mujfq':'Cleaned\x20up\x20close\x20tracker','GQIXv':_0x2f8d8c(0x1e3),'QTecT':_0x2f8d8c(0x179),'ADKnR':_0x2f8d8c(0x1de),'nuXrU':function(_0x8b3389){return _0x8b3389();},'tIHAU':function(_0x36769c,_0x4f912d,_0x34d7f0,_0xf327db){return _0x36769c(_0x4f912d,_0x34d7f0,_0xf327db);},'irjWv':_0x2f8d8c(0x1a2),'OOrEW':_0x2f8d8c(0x182),'XiWJc':_0x2f8d8c(0x186),'zkqhy':_0x2f8d8c(0x19e),'QPbAJ':_0x2f8d8c(0x245),'dJeSS':_0x2f8d8c(0x238),'KUIWF':_0x2f8d8c(0x230)};logger['debug'](_0x1bbbd4[_0x2f8d8c(0x254)]),workerDetails[_0x2f8d8c(0x23a)][_0x2f8d8c(0x1a4)]=_0x4314b0,new Promise(async _0x29eb73=>{const _0xe4663a=_0x2f8d8c;let _0x252018=![],_0x3bc589=![],_0x2e807b=![];try{global['__drivers']&&_0x1bbbd4[_0xe4663a(0x1fd)](global['__drivers']['length'],0x0)&&(_0x3bc589=!![]),playwrightPatcher&&global[_0xe4663a(0x1d0)]&&global[_0xe4663a(0x1d0)][_0xe4663a(0x223)]&&(_0x2e807b=!![],logger[_0xe4663a(0x1a7)](_0xe4663a(0x17b)+!!global[_0xe4663a(0x1d0)][_0xe4663a(0x223)]));}catch(_0x157b5f){logger[_0xe4663a(0x1a7)](_0xe4663a(0x239)+_0x157b5f);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x3bc589+',\x20isPlaywrightFlow='+_0x2e807b);const _0x295520=_0x4314b0[_0xe4663a(0x190)][_0xe4663a(0x1ef)]['toString']()['toLowerCase'](),_0x1c451d=_0x1bbbd4[_0xe4663a(0x1bf)](_0x295520,_0x1bbbd4[_0xe4663a(0x1b4)])||_0x1bbbd4[_0xe4663a(0x1bf)](_0x295520,'6'),_0x1aa773=_0x1c451d?_0x4314b0[_0xe4663a(0x190)]['message']:null;if(_0x1c451d)try{global['__error_messages__']['push'](_0x4314b0[_0xe4663a(0x190)][_0xe4663a(0x1da)]),global[_0xe4663a(0x1a9)]=!![];}catch(_0x42e719){logger[_0xe4663a(0x1a7)](_0xe4663a(0x195)+_0x42e719);}if(_0x3bc589)try{global[_0xe4663a(0x1ad)]&&_0x1bbbd4['ulDpP'](global['__drivers'][_0xe4663a(0x20a)],0x1)&&(await global[_0xe4663a(0x1f4)](),global[_0xe4663a(0x1ad)]['shift'](),global[_0xe4663a(0x248)]=[],global['__sessionFailed']=![]),global[_0xe4663a(0x1ad)]&&global[_0xe4663a(0x1ad)][0x0]&&(await global[_0xe4663a(0x1ad)][0x0][_0xe4663a(0x1d8)],_0x252018=!![],!global['__skipSessionName']&&await global[_0xe4663a(0x1ad)][0x0][_0xe4663a(0x244)](_0xe4663a(0x1a0)+_0x4314b0[_0xe4663a(0x251)][_0xe4663a(0x21b)]+_0xe4663a(0x18a)),_0x1c451d?await _0x1bbbd4[_0xe4663a(0x212)](markSessionStatus,global['__drivers'][0x0],_0x1bbbd4['vxdId'],global[_0xe4663a(0x248)]['join'](_0x1bbbd4['WxeEz'])):await _0x1bbbd4[_0xe4663a(0x259)](markSessionStatus,global[_0xe4663a(0x1ad)][0x0],_0x1bbbd4[_0xe4663a(0x175)]));}catch(_0x2dee59){logger[_0xe4663a(0x1a7)](_0xe4663a(0x178)+util[_0xe4663a(0x1f3)](_0x2dee59));}if(_0x2e807b)try{try{const _0x19a030=_0x1bbbd4[_0xe4663a(0x201)](require,_0x1bbbd4[_0xe4663a(0x1d2)]),_0x18f66a=_0x1bbbd4['dReeh'](require,_0x1bbbd4['fRtzd']),_0x2dd83a=_0x1bbbd4[_0xe4663a(0x229)](require,_0x1bbbd4[_0xe4663a(0x1d5)]);if(_0x19a030[_0xe4663a(0x1d6)]()[_0xe4663a(0x180)]()){const _0x597b65={'title':_0x4314b0['pickle']['name']||_0x1bbbd4[_0xe4663a(0x1e7)],'titlePath':[_0x4314b0[_0xe4663a(0x251)][_0xe4663a(0x21b)]||_0x1bbbd4[_0xe4663a(0x1e7)]],'id':_0x4314b0['testCaseStartedId']||_0x1bbbd4['CPwaJ'],'status':_0x1c451d?_0x1bbbd4[_0xe4663a(0x1b4)]:_0x1bbbd4[_0xe4663a(0x175)],'error':_0x1aa773?{'message':_0x1aa773}:null,'tags':_0x4314b0[_0xe4663a(0x251)][_0xe4663a(0x23d)]||[],..._0x4314b0},_0x24c218=_0x597b65,_0x4defa5={};_0x4defa5[_0xe4663a(0x1a4)]=_0x24c218,_0x4defa5[_0xe4663a(0x185)]=_0x4314b0,_0x4defa5[_0xe4663a(0x219)]=global[_0xe4663a(0x1d0)][_0xe4663a(0x223)],_0x4defa5[_0xe4663a(0x24b)]=FRAMEWORKS[_0xe4663a(0x1ed)],await _0x19a030['getInstance']()[_0xe4663a(0x17d)]()[_0xe4663a(0x246)](_0x18f66a[_0xe4663a(0x258)],_0x2dd83a[_0xe4663a(0x1c7)],_0x4defa5),logger[_0xe4663a(0x1a7)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x4314b0['pickle']['name']);}}catch(_0x5c21bf){logger[_0xe4663a(0x1a7)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0xe4663a(0x1f3)](_0x5c21bf));}const _0x5709ed=_0x1c451d?_0x1bbbd4[_0xe4663a(0x1b4)]:_0x1bbbd4[_0xe4663a(0x175)];await playwrightPatcher[_0xe4663a(0x1bc)](_0x4314b0,_0x5709ed,_0x1aa773),logger['debug'](_0x1bbbd4[_0xe4663a(0x1a6)]);try{await playwrightPatcher[_0xe4663a(0x187)](),logger[_0xe4663a(0x1a7)](_0x1bbbd4[_0xe4663a(0x23e)]);}catch(_0x221820){logger[_0xe4663a(0x1a7)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0xe4663a(0x1f3)](_0x221820));}try{playwrightPatcher[_0xe4663a(0x1c6)][_0xe4663a(0x1d4)](),logger[_0xe4663a(0x1a7)](_0x1bbbd4[_0xe4663a(0x1ea)]);}catch(_0x266b56){logger[_0xe4663a(0x1a7)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util['format'](_0x266b56));}}catch(_0x59b985){logger[_0xe4663a(0x1a7)](_0xe4663a(0x1f0)+util['format'](_0x59b985));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0xe4663a(0x187)](),logger['debug'](_0x1bbbd4[_0xe4663a(0x16e)])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0xe4663a(0x1c6)]['cleanup']&&(playwrightPatcher[_0xe4663a(0x1c6)][_0xe4663a(0x1d4)](),logger[_0xe4663a(0x1a7)](_0x1bbbd4['QTecT']));}catch(_0x2312ca){logger[_0xe4663a(0x1a7)](_0xe4663a(0x181)+util[_0xe4663a(0x1f3)](_0x2312ca));}}const _0x1e6cbf=_0x1bbbd4[_0xe4663a(0x201)](require,_0x1bbbd4[_0xe4663a(0x256)]);if(!_0x1e6cbf[_0xe4663a(0x1d6)]()['isRunning']())try{if(_0x1bbbd4[_0xe4663a(0x1ab)](shouldProcessEventForTesthub)){const _0x4de621=TestDetails[_0xe4663a(0x252)](_0x4314b0['testCaseStartedId']);let _0xea578=null;global[_0xe4663a(0x1ad)]&&global[_0xe4663a(0x1ad)][0x0]&&(_0xea578=await _0x1bbbd4[_0xe4663a(0x218)](sendPlatformDetails,global['__drivers'][0x0],_0x4de621,!![]));const _0x226a32={};_0x226a32[_0xe4663a(0x200)]=_0x4de621,_0x226a32[_0xe4663a(0x1b8)]=_0xea578;const _0x93ca2b=_0x226a32,_0x38835e={};_0x38835e[_0xe4663a(0x172)]=_0x1bbbd4[_0xe4663a(0x20d)],_0x38835e[_0xe4663a(0x21e)]=_0x93ca2b,await SessionHandler['uploadEventData'](_0x38835e);}}catch(_0x397913){logger[_0xe4663a(0x1a7)](_0xe4663a(0x171)+util['format'](_0x397913));}try{if(globals[_0xe4663a(0x1df)](_0x1bbbd4['OOrEW'])&&globals[_0xe4663a(0x1df)](_0x1bbbd4[_0xe4663a(0x173)])){logger[_0xe4663a(0x168)](_0x1bbbd4['zkqhy']);const _0x547584=TestDetails[_0xe4663a(0x252)](_0x4314b0[_0xe4663a(0x16f)]),_0x15a86d={};_0x15a86d[_0xe4663a(0x255)]=_0x547584,_0x15a86d['thBuildUuid']=process[_0xe4663a(0x1a1)][testHubConstants[_0xe4663a(0x1c4)]['BROWSERSTACK_TESTHUB_UUID']],_0x15a86d['thJwtToken']=process[_0xe4663a(0x1a1)][testHubConstants['ENV_VAR'][_0xe4663a(0x1aa)]];const _0x57805d=_0x15a86d;logger[_0xe4663a(0x1a7)](_0xe4663a(0x221)+JSON[_0xe4663a(0x216)](_0x57805d)),logger['debug'](_0x1bbbd4[_0xe4663a(0x1b5)]),global['__drivers']&&global[_0xe4663a(0x1ad)][0x0]&&(logger[_0xe4663a(0x1a7)](util[_0xe4663a(0x1f3)](await global[_0xe4663a(0x1ad)][0x0]['executeAsyncScript'](scripts[_0xe4663a(0x1fc)],{'method':global[_0xe4663a(0x192)]}))),await global[_0xe4663a(0x1ad)][0x0][_0xe4663a(0x1d9)](scripts[_0xe4663a(0x214)],_0x57805d)),logger['info'](_0x1bbbd4[_0xe4663a(0x1c1)]);}}catch(_0x210915){logger[_0xe4663a(0x23f)](_0xe4663a(0x1bb)+util['format'](_0x210915));}if(_0x252018)try{global[_0xe4663a(0x1ad)][0x0]&&_0x1bbbd4[_0xe4663a(0x224)](global[_0xe4663a(0x1ad)][0x0][_0xe4663a(0x1b3)],0x0)&&await global[_0xe4663a(0x1ad)][0x0][_0xe4663a(0x1f7)]();}catch(_0x11b02d){logger[_0xe4663a(0x1a7)](_0xe4663a(0x1e4)+_0x11b02d);}_0x1bbbd4[_0xe4663a(0x1ab)](_0x29eb73);})[_0x2f8d8c(0x240)](()=>_0x474cea());});const a9_0x5c55c6={};a9_0x5c55c6[a9_0x55f6e7(0x21b)]=a9_0x55f6e7(0x17e),a9_0x5c55c6[a9_0x55f6e7(0x1d7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x55f6e7(0x162)],AfterStep(a9_0x5c55c6,function(_0x464983,_0x5df541){const _0x2f7736=a9_0x55f6e7,_0xcc4985={'BbGba':function(_0x54dbd0,_0x4f57b0){return _0x54dbd0===_0x4f57b0;},'ReDwY':'failed','pwULL':function(_0x4284ca,_0x39c28a){return _0x4284ca!==_0x39c28a;},'RGRoz':function(_0x49099b,_0x5699b9,_0xeb7f53){return _0x49099b(_0x5699b9,_0xeb7f53);},'rJDSl':function(_0x41c08e,_0x268183){return _0x41c08e+_0x268183;},'yzLpM':_0x2f7736(0x203),'sncIE':_0x2f7736(0x232),'qIQtE':'error','ZEFRs':function(_0x36eb20,_0x1bed94,_0x4787c9){return _0x36eb20(_0x1bed94,_0x4787c9);},'aXWTp':function(_0x412eec,_0x43f428){return _0x412eec+_0x43f428;},'cOlGn':function(_0x2ca5e8,_0x1c4632){return _0x2ca5e8!==_0x1c4632;},'yhhkE':function(_0x2d8fa3,_0x2f00a7,_0x152753){return _0x2d8fa3(_0x2f00a7,_0x152753);},'onfUO':_0x2f7736(0x253),'AHQZA':_0x2f7736(0x168),'gHARX':function(_0x2d9e35,_0x1d28d9,_0x424af4){return _0x2d9e35(_0x1d28d9,_0x424af4);},'WUZGf':'Passed','avWLt':function(_0x363ca1){return _0x363ca1();},'XCMPE':_0x2f7736(0x164)};logger['debug'](_0xcc4985[_0x2f7736(0x1e0)]);const _0x4114f4=async(_0x40b026,_0x75649a)=>{const _0x9e1775=_0x2f7736;global[_0x9e1775(0x1ad)]&&global[_0x9e1775(0x1ad)][0x0]&&await global[_0x9e1775(0x1ad)][0x0][_0x9e1775(0x244)](_0x9e1775(0x21c)+_0x40b026+_0x9e1775(0x170)+_0x75649a+'\x22}}');};new Promise(async _0x1b1968=>{const _0x29f0f8=_0x2f7736;try{const _0x2dfb2b=_0xcc4985[_0x29f0f8(0x16c)](_0x464983['result'][_0x29f0f8(0x1ef)]['toString']()['toLowerCase'](),_0xcc4985[_0x29f0f8(0x19b)])||_0xcc4985[_0x29f0f8(0x16c)](_0x464983[_0x29f0f8(0x190)][_0x29f0f8(0x1ef)][_0x29f0f8(0x1a5)]()['toLowerCase'](),'6');_0x2dfb2b?(global['__sessionFailed']=!![],global[_0x29f0f8(0x248)][_0x29f0f8(0x24e)](_0x464983[_0x29f0f8(0x190)][_0x29f0f8(0x1da)]),_0xcc4985[_0x29f0f8(0x22a)](_0x464983[_0x29f0f8(0x228)],undefined)?await _0xcc4985['RGRoz'](_0x4114f4,JSON['stringify'](_0xcc4985[_0x29f0f8(0x24d)](_0xcc4985[_0x29f0f8(0x24d)](_0xcc4985['rJDSl'](_0xcc4985['yzLpM'],'\x22'+_0x464983[_0x29f0f8(0x228)]['text']+'\x22\x20'),_0xcc4985['sncIE']),_0x464983[_0x29f0f8(0x190)][_0x29f0f8(0x1da)])),_0xcc4985[_0x29f0f8(0x1ec)]):await _0xcc4985[_0x29f0f8(0x23b)](_0x4114f4,JSON[_0x29f0f8(0x216)](_0xcc4985[_0x29f0f8(0x220)](_0xcc4985['yzLpM'],_0x464983[_0x29f0f8(0x190)][_0x29f0f8(0x1da)])),_0xcc4985[_0x29f0f8(0x1ec)])):_0xcc4985[_0x29f0f8(0x169)](_0x464983['pickleStep'],undefined)?await _0xcc4985[_0x29f0f8(0x1e5)](_0x4114f4,JSON[_0x29f0f8(0x216)](_0xcc4985[_0x29f0f8(0x220)](_0xcc4985[_0x29f0f8(0x20c)],'\x22'+_0x464983[_0x29f0f8(0x228)][_0x29f0f8(0x1b9)]+'\x22')),_0xcc4985['AHQZA']):await _0xcc4985['gHARX'](_0x4114f4,JSON[_0x29f0f8(0x216)](_0xcc4985[_0x29f0f8(0x165)]),_0xcc4985['AHQZA']),global[_0x29f0f8(0x1ad)]&&global[_0x29f0f8(0x1ad)][0x0]&&global[_0x29f0f8(0x1ad)][0x0]['session_'][_0x29f0f8(0x1e2)](_0xcf2016=>{})['catch'](_0x2e6ad0=>{const _0x26d7fb=_0x29f0f8;logger['debug'](_0x26d7fb(0x206)+util[_0x26d7fb(0x1f3)](_0x2e6ad0));});}catch(_0x574040){logger[_0x29f0f8(0x1a7)](_0x29f0f8(0x1b1)+_0x574040);}_0xcc4985[_0x29f0f8(0x183)](_0x1b1968);})['finally'](()=>_0x5df541());});function a9_0x3efb(_0x55aa9a,_0x273c43){const _0x5e3cc1=a9_0x5e3c();return a9_0x3efb=function(_0x3efbaf,_0x21639f){_0x3efbaf=_0x3efbaf-0x162;let _0x527f91=_0x5e3cc1[_0x3efbaf];return _0x527f91;},a9_0x3efb(_0x55aa9a,_0x273c43);}const a9_0x133d6c={};function a9_0x5e3c(){const _0x36e889=['yUAwy','passed','getPackageVersion','fssjH','test_run_uuid','ReDwY','beforeTestHook','DtAhu','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Inside\x20browserstack\x20registerListeners','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','env','CBTSessionCreated','tGEzS','testInfo','toString','OecAh','debug','setFramework','__sessionFailed','BROWSERSTACK_TESTHUB_JWT','nuXrU','__skipSessionStatus','__drivers','../../helpers/accessibility-automation/scripts','../../helpers/helper','After','Error:\x20at\x20After\x20Step:\x20','map','quitCount_','vxdId','QPbAJ','Error\x20triggering\x20AutomationFramework\x20events:\x20','setDefaultTimeout','integrations','text','Error:\x20cleaning\x20up\x20driver:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','afterTestHook','MSPcu','FUPaO','HCmbb','Inside\x20browserstack\x20Before','dJeSS','../../helpers/globals','../v2/TestInfo.js','ENV_VAR','../../helpers/setKeepAlive','closeTracker','PRE','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','../utils/playwright-patcher','../../helpers/performance/performance-tester','../../helpers/accessibility-automation/helper','ZtSBU','o11ySyncDone','winstonLogger','__workerDetails','cucumber-test','QasxI','__timeout','cleanup','XZdUJ','getInstance','timeout','session_','executeAsyncScript','message','storeLogObjects','WpROV','../../helpers/testhub/constants.js','../v2/browserstackCLI.js','getGlobal','XCMPE','1822248uOupjb','then','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Error:\x20quiting\x20driver\x20at\x20After:\x20','yhhkE','../playwright/reporter/test-details.js','TiMot','__platformCaps','split','Mujfq','__skipSessionName','qIQtE','CUCUMBER','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','status','Error:\x20at\x20After\x20(Playwright):\x20','browserstackAgentV2','Error:\x20in\x20quitting\x20driver\x20','format','driverCleanup','aWvbs','../../helpers/ai-sdk/autoHealHelper','initQuit','Error\x20sending\x20log\x20created\x20event:\x20','getId','Unknown\x20Test','parse','performScan','qGGwO','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','uuid','dReeh','4EBZcGO','Failed:\x20','catch','4891884NSrezJ','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','4|3|0|2|1','../utils/constants','../../helpers/test-observability/sessionHandler','length','Completed\x20Playwright\x20afterTestHook\x20execution','onfUO','irjWv','../v2/browserstackCLI','Patching\x20Playwright','460339LCEyKk','2105430QXgIAX','VWAzx','@playwright/test','saveTestResults','workerInfo','stringify','Before','tIHAU','page','18lfsonW','name','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','startMonitoring','test_run','XbgQk','aXWTp','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','../../helpers/logger','pwPage','ulDpP','util','@cucumber/cucumber','patchPageCommandsForAccessibility','pickleStep','sttny','pwULL','Error\x20initializing\x20Playwright\x20patching:\x20','wOtCM','eujgd','AfterStep','4510565GeNDXT','Inside\x20browserstack\x20After','29482XvRKjE','\x0aError:\x20','../v2/state/hookState','bootstrap','isCliEnabled','../../helpers/performance/constants','lodash','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Error\x20determining\x20test\x20flow:\x20','currentTest','ZEFRs','CONFIG','tags','ZyoMI','error','finally','stopMonitoring','isPageFixture','WqqKb','executeScript','Performing\x20scan\x20before\x20saving\x20results','trackEvent','Patching\x20Selenium','__error_messages__','Pxslv','setFrameworkDetail','testFramework','wiJPR','rJDSl','push','50qkIGUY','failed','pickle','getTestUUID','Passed:\x20','KUIWF','thTestRunUuid','ADKnR','../v2/state/automationFrameworkState','QUIT','JwwLY','platformCaps','pid','PLAYWRIGHT','Cucumber-JS','tEkpo','Inside\x20browserstack\x20AfterStep','WUZGf','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','BSTACK_CONFIG','info','cOlGn','../../index','64KOSFag','BbGba','Error\x20in\x20playwright\x20beforeTestHook:\x20','GQIXv','testCaseStartedId',',\x22level\x22:\x20\x22','Error:\x20sendPlatformDetails\x20at\x20After:\x20','event_type','XiWJc','brCZz','Hyboa','BdfRb','\x20|\x20','Error:\x20at\x20After\x20(Selenium):\x20','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','../v2/cliUtils','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','shutdown','getAutomationFramework','bstack','gsxNz','isRunning','Error\x20in\x20fallback\x20cleanup:\x20','isAccessibilityPlatform','avWLt','initializePlaywrightPatching','scenario','bstackA11yShouldScan','executeDeferredCloses','../playwright/reporter/reporter.js','TghdB','\x22}}','rHGTC','bs:addLog:','cucumber-js','803327BXgpau','TAtxa','result','removeAllListeners','browserstackSessionName','rjXgY','AwhtJ','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'];a9_0x5e3c=function(){return _0x36e889;};return a9_0x5e3c();}a9_0x133d6c['name']=a9_0x55f6e7(0x17e),a9_0x133d6c[a9_0x55f6e7(0x1d7)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x133d6c,async function(_0x4e4b45,_0x2c2486){const _0x4022cc=a9_0x55f6e7,_0x3ba738={'tEkpo':_0x4022cc(0x207),'rHGTC':'Cleaned\x20up\x20Playwright\x20close\x20tracker','FUPaO':function(_0xfcd78b){return _0xfcd78b();},'BdfRb':'Inside\x20browserstack\x20AfterAll'};logger[_0x4022cc(0x1a7)](_0x3ba738[_0x4022cc(0x176)]),await new Promise(async _0x4849d6=>{const _0x3aec97=_0x4022cc,_0x32c5dd=_0x3ba738[_0x3aec97(0x163)][_0x3aec97(0x1e9)]('|');let _0x88be1a=0x0;while(!![]){switch(_0x32c5dd[_0x88be1a++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x3aec97(0x187)]&&(await playwrightPatcher[_0x3aec97(0x187)](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x3aec97(0x1d4)](),logger[_0x3aec97(0x1a7)](_0x3ba738[_0x3aec97(0x18b)]));}catch(_0x4ebf8d){logger['debug'](_0x3aec97(0x1ee)+util['format'](_0x4ebf8d));}continue;case'1':_0x3ba738[_0x3aec97(0x1be)](_0x4849d6);continue;case'2':await global[_0x3aec97(0x1f4)]();continue;case'3':PerformanceTester[_0x3aec97(0x241)]();continue;case'4':await RequestQueueHandler[_0x3aec97(0x1d6)]()[_0x3aec97(0x17c)]();continue;}break;}});});
|
|
1
|
+
const a9_0x15610f=a9_0x3fb2;(function(_0x568574,_0x219551){const _0x15d706=a9_0x3fb2,_0x1035c3=_0x568574();while(!![]){try{const _0x26ac9c=parseInt(_0x15d706(0x1ac))/0x1+parseInt(_0x15d706(0x1f0))/0x2+parseInt(_0x15d706(0x14d))/0x3*(parseInt(_0x15d706(0x1c6))/0x4)+-parseInt(_0x15d706(0x1b6))/0x5*(-parseInt(_0x15d706(0x214))/0x6)+-parseInt(_0x15d706(0x1b7))/0x7+parseInt(_0x15d706(0x1e3))/0x8*(-parseInt(_0x15d706(0x154))/0x9)+-parseInt(_0x15d706(0x219))/0xa;if(_0x26ac9c===_0x219551)break;else _0x1035c3['push'](_0x1035c3['shift']());}catch(_0x2c08b2){_0x1035c3['push'](_0x1035c3['shift']());}}}(a9_0x1de8,0x9f87b));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x15610f(0x1d3)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x15610f(0x20a)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a9_0x15610f(0x152)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a9_0x15610f(0x183),'@cucumber/cucumber'),logger=require(a9_0x15610f(0x139))[a9_0x15610f(0x17e)],{shouldProcessEventForTesthub}=require(a9_0x15610f(0x19c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x15610f(0x195)),TestDetails=require('../playwright/reporter/test-details.js'),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a9_0x15610f(0x1e9)),MyReporter=require(a9_0x15610f(0x1b9)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x15610f(0x1a9)),globals=require(a9_0x15610f(0x1cc)),testHubConstants=require(a9_0x15610f(0x19d)),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a9_0x15610f(0x1d6)),helper=require(a9_0x15610f(0x173)),a9_0x21cad0={};a9_0x21cad0[a9_0x15610f(0x213)]=undefined,a9_0x21cad0[a9_0x15610f(0x182)]={},a9_0x21cad0[a9_0x15610f(0x1c5)]=![],a9_0x21cad0[a9_0x15610f(0x177)]=null,a9_0x21cad0['isPageFixture']=![],a9_0x21cad0[a9_0x15610f(0x182)]['id']=undefined,a9_0x21cad0[a9_0x15610f(0x182)][a9_0x15610f(0x1cd)]=undefined;const workerDetails=a9_0x21cad0;global['__workerDetails']=workerDetails;function a9_0x1de8(){const _0x2c242b=['rseLZ','DRbyX','Inside\x20browserstack\x20AfterAll','yuHwQ','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','\x20|\x20','Error\x20in\x20playwright\x20beforeTestHook:\x20','getAutomationFramework','khGIT','../../helpers/helper','TOcIO','Prcpg','../../index','pwPage','Error:\x20at\x20After\x20(Selenium):\x20','__sessionFailed','Error\x20cleaning\x20up\x20close\x20tracker:\x20','executeDeferredCloses','esdJW','oaMkH','winstonLogger','PLAYWRIGHT','__timeout','CUCUMBER','currentTest','@cucumber/cucumber/lib/index.js','OwqPN','testCaseStartedId','../v2/browserstackCLI','EGsxE','pickleStep','QhGFx','Performing\x20scan\x20before\x20saving\x20results','VuEJW','format','browserstackSessionName','error','FXLYV','bstack','thBuildUuid','kyEhX','BROWSERSTACK_TESTHUB_JWT','CONFIG','../../helpers/test-observability/utils','toLowerCase','@playwright/test','page','debug','setFramework','setTestNameForHealingContext','../../helpers/testhub/utils','../../helpers/testhub/constants.js','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Cleaned\x20up\x20Playwright\x20close\x20tracker','ZrvqE','Error:\x20cleaning\x20up\x20driver:\x20','FuQEa','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','text',',\x22level\x22:\x20\x22','YRzod','browserstackAgentV2','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','../../helpers/accessibility-automation/scripts','Before','pickle','1104524yMqnhe','thJwtToken','getInstance','aqIpe','Inside\x20browserstack\x20BeforeAll','Inside\x20browserstack\x20AfterStep','bYbtu','GEUNs','NdjCQ','driverCleanup','1523215xVWVKl','4644976kdRyBn','ICaBk','../playwright/reporter/reporter.js','shutdown','isAccessibilityPlatform','saveTestResults','\x22}}','getTestUUID','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','AfterStep','timeout','RMFIC','o11ySyncDone','1202092BvrbOg','MdzVN','finally','pid','getGlobal','Error\x20determining\x20test\x20flow:\x20','../../helpers/globals','testInfo','xSkdG','Emewi','bs:addLog:','vpeIX','lvcWT','../utils/constants','push','executeAsyncScript','lodash','cucumber-test','tMGhN','ovGvz','failed','__skipSessionStatus','DnjxX','addTestUIDAndReportLog','exZVN','platformCaps','passed','Ieylr','setConfig','390712XNcKDd','cucumber-js','PNgnL','adFfC','Patching\x20Playwright','getId','../../helpers/test-observability/error-handler','tFTOI','afterTestHook','map','Error:\x20at\x20After\x20Step:\x20','Patching\x20Selenium','skipSessionName','1883952mIsLWg','Completed\x20Playwright\x20afterTestHook\x20execution','../v2/state/hookState',',\x20isPlaywrightFlow=','catch','HElZz','then','info','UzyPU','Error:\x20in\x20quitting\x20driver\x20','tags','join','eCOHy','UHlah','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','__platformCaps','ycgWw','Error\x20initializing\x20Playwright\x20patching:\x20','Ezvtc','aQUQW','__skipSessionName','wUoeV','toString','CBTSessionCreated','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','TetmI','util','session_','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','\x0aError:\x20','xcJkP','removeAllListeners','patchPageCommandsForAccessibility','split','kEEab','workerInfo','18RhWJDD','xFNcV','LpTsp','GnFII','setDefaultTimeout','24059670dhjZoQ','../utils/playwright-patcher','kljNZ','fzLFk','length','../v2/cliUtils','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','initQuit','status','__workerDetails','roRUP','PLvsE','ENV_VAR','MwUVx','result','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','../../helpers/logger','QQJEl','kvmgA','Cucumber-JS','QUIT','uuid','Passed:\x20','shift','__error_messages__','env','isCliEnabled','scenario','message','Error\x20triggering\x20AutomationFramework\x20events:\x20','trackEvent','Error\x20sending\x20log\x20created\x20event:\x20','quitCount_','VRGza','event_type','parse','12GbAyzm','name','integrations','../v2/state/automationFrameworkState','Failed:\x20','../../helpers/performance/constants','executeScript','81YMJEch','Inside\x20browserstack\x20registerListeners','stringify','__drivers','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','KGhNX','closeTracker','gldjp','bstackA11yShouldScan','cleanup','getPackageVersion','NESfr','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Error:\x20at\x20After\x20(Playwright):\x20','JOgiV','testFramework','BROWSERSTACK_TESTHUB_UUID','aLsty','skipSessionStatus','Inside\x20browserstack\x20Before','performScan','isRunning'];a9_0x1de8=function(){return _0x2c242b;};return a9_0x1de8();}let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();function a9_0x3fb2(_0x13ae7,_0x15999c){const _0x1de86c=a9_0x1de8();return a9_0x3fb2=function(_0x3fb2e7,_0x3a278f){_0x3fb2e7=_0x3fb2e7-0x12b;let _0x20d10d=_0x1de86c[_0x3fb2e7];return _0x20d10d;},a9_0x3fb2(_0x13ae7,_0x15999c);}const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x31386d){const _0x354569=a9_0x15610f,_0x10b829={'fmTyV':function(_0x465d64,_0x37f9b8){return _0x465d64(_0x37f9b8);},'hzeyU':_0x354569(0x186),'LpTsp':_0x354569(0x1a3)},_0x1c0682=workerDetails[_0x354569(0x182)][_0x354569(0x1cd)];if(!_0x1c0682)return;if(playwrightPatcher)try{const _0x59d103=_0x10b829['fmTyV'](require,_0x10b829['hzeyU']);if(_0x59d103['getInstance']()[_0x354569(0x169)]()){const _0x2929bb=_0x1c0682['testCaseStartedId'];_0x2929bb?(_0x31386d[_0x354569(0x13e)]=_0x2929bb,_0x31386d['test_run_uuid']=_0x2929bb,TestInfo['storeLogObjects'](_0x2929bb,_0x31386d)):logger[_0x354569(0x199)](_0x10b829[_0x354569(0x216)]);return;}}catch(_0x32b4d7){logger['debug'](_0x354569(0x148)+util['format'](_0x32b4d7));}await MyReporter[_0x354569(0x1dd)](_0x1c0682,_0x31386d);}),registerListeners=()=>{const _0x42dbe3=a9_0x15610f,_0x252423={};_0x252423['tywJQ']=_0x42dbe3(0x155);const _0x317a0b=_0x252423;logger['debug'](_0x317a0b['tywJQ']),process[_0x42dbe3(0x20f)](_0x42dbe3(0x1d0)+process[_0x42dbe3(0x1c9)]),process['on'](_0x42dbe3(0x1d0)+process['pid'],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x15610f(0x1aa)],After=cucumberModule['After'],AfterAll=cucumberModule['AfterAll'],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x15610f(0x1c2)],configuration=process[a9_0x15610f(0x142)][a9_0x15610f(0x194)],bstackConfig=process[a9_0x15610f(0x142)]['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x15610f(0x14c)](configuration);isBrowserstackInfra()?(global[a9_0x15610f(0x204)]=isTrue(config[a9_0x15610f(0x1ef)]),global[a9_0x15610f(0x1db)]=isTrue(config[a9_0x15610f(0x166)])):(global['__skipSessionName']=!![],global[a9_0x15610f(0x1db)]=!![]);!helper['getPackageVersion']('@playwright/test')&&(logger[a9_0x15610f(0x199)](a9_0x15610f(0x1ee)),shouldProcessEventForTesthub()?require(a9_0x15610f(0x176))[a9_0x15610f(0x1a7)](config,null,!![]):require(a9_0x15610f(0x176))[a9_0x15610f(0x1a7)](config));global[a9_0x15610f(0x1ff)]=config[a9_0x15610f(0x1df)]||{};if(helper[a9_0x15610f(0x15e)](a9_0x15610f(0x197)))try{logger[a9_0x15610f(0x199)](a9_0x15610f(0x1e7)),playwrightPatcher=require(a9_0x15610f(0x21a)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a9_0x15610f(0x199)](a9_0x15610f(0x208));}catch(a9_0x34cffa){logger['debug'](a9_0x15610f(0x201)+util[a9_0x15610f(0x18c)](a9_0x34cffa));}}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x15610f(0x1e2)](browserStackConfig),commandRepository[a9_0x15610f(0x19a)](a9_0x15610f(0x1e4)));}global[a9_0x15610f(0x180)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x15610f(0x218)];cucumberModule[a9_0x15610f(0x218)]=_0x369004=>{const _0x360e47=a9_0x15610f,_0x5eea09={'adFfC':function(_0x37c4bc,_0x644f7e){return _0x37c4bc(_0x644f7e);}};global[_0x360e47(0x180)]=_0x369004,_0x5eea09[_0x360e47(0x1e6)](__setDefaultTimeout,_0x369004);};const a9_0xb1dbdc={};a9_0xb1dbdc[a9_0x15610f(0x14e)]=a9_0x15610f(0x190),BeforeAll(a9_0xb1dbdc,async function(){const _0x4651b1=a9_0x15610f,_0x15d594={'Ieylr':function(_0x3c4106,_0x290013,_0x3aaa66,_0x32da5a){return _0x3c4106(_0x290013,_0x3aaa66,_0x32da5a);},'sgNFR':'failed','Emewi':_0x4651b1(0x16f),'TetmI':function(_0x4a1ef2,_0x3f47b3,_0x2666f4){return _0x4a1ef2(_0x3f47b3,_0x2666f4);},'nHdtT':_0x4651b1(0x1e0),'oaMkH':_0x4651b1(0x1b0),'QhGFx':function(_0x1d9fe1,_0x14e5c8){return _0x1d9fe1(_0x14e5c8);},'JprzB':_0x4651b1(0x186),'tFTOI':_0x4651b1(0x12e),'JOgiV':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','lvcWT':function(_0x245113){return _0x245113();},'XPlfT':function(_0x2ac077){return _0x2ac077();},'rseLZ':function(_0x31518b,_0x1dfa39){return _0x31518b(_0x1dfa39);}};PerformanceTester['startMonitoring'](),logger[_0x4651b1(0x199)](_0x15d594[_0x4651b1(0x17d)]),global['__error_messages__']=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x259936=_0x15d594[_0x4651b1(0x189)](require,_0x15d594['JprzB']),_0x396c8f=_0x15d594[_0x4651b1(0x189)](require,_0x15d594[_0x4651b1(0x1ea)]);_0x259936[_0x4651b1(0x1ae)]()[_0x4651b1(0x143)]()&&(logger[_0x4651b1(0x199)](_0x15d594[_0x4651b1(0x162)]),_0x396c8f['setFrameworkDetail'](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x4651b1(0x17f)]),await _0x259936[_0x4651b1(0x1ae)]()['bootstrap']());}catch(_0x5b1696){logger[_0x4651b1(0x199)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x4651b1(0x18c)](_0x5b1696));}_0x15d594[_0x4651b1(0x1d2)](shouldProcessEventForTesthub)&&(_0x15d594['XPlfT'](registerListeners),_0x15d594[_0x4651b1(0x16a)](addRequestSpy,![])),global[_0x4651b1(0x1b5)]=async()=>{const _0x171bf3=_0x4651b1;let _0x496699=![];try{global[_0x171bf3(0x157)]&&global[_0x171bf3(0x157)][0x0]&&(await global[_0x171bf3(0x157)][0x0][_0x171bf3(0x20b)],_0x496699=!![],global[_0x171bf3(0x179)]?await _0x15d594[_0x171bf3(0x1e1)](markSessionStatus,global[_0x171bf3(0x157)][0x0],_0x15d594['sgNFR'],global[_0x171bf3(0x141)][_0x171bf3(0x1fb)](_0x15d594[_0x171bf3(0x1cf)])):await _0x15d594[_0x171bf3(0x209)](markSessionStatus,global[_0x171bf3(0x157)][0x0],_0x15d594['nHdtT']));}catch(_0x4a3600){logger[_0x171bf3(0x199)](_0x171bf3(0x1a1)+_0x4a3600);}global[_0x171bf3(0x141)]=[],global['__sessionFailed']=![];if(_0x496699)try{await global[_0x171bf3(0x157)][0x0]['initQuit'](),global[_0x171bf3(0x157)][0x0]['session_'][_0x171bf3(0x1f6)](_0x1f0e94=>{const _0x50c452=_0x171bf3;logger[_0x50c452(0x199)](_0x50c452(0x1f9)+_0x1f0e94[_0x50c452(0x1e8)]());})[_0x171bf3(0x1f4)](_0x2c6dc1=>{});}catch(_0x11d98b){logger[_0x171bf3(0x199)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x11d98b);}};});const a9_0x5d770f={};a9_0x5d770f[a9_0x15610f(0x14e)]=a9_0x15610f(0x190),a9_0x5d770f[a9_0x15610f(0x1c3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x15610f(0x13c)],Before(a9_0x5d770f,function(_0x15d6f5,_0x16c7cd){const _0x31f7ce=a9_0x15610f,_0x5864d0={'FXLYV':function(_0x36ed06,_0x3b830a){return _0x36ed06>_0x3b830a;},'OwqPN':function(_0x4a9a5e,_0x10303d){return _0x4a9a5e>_0x10303d;},'aLsty':function(_0x31978f,_0x4fc1cb){return _0x31978f(_0x4fc1cb);},'kljNZ':function(_0x566cda,_0x2898e0,_0x3fe593,_0x186f54){return _0x566cda(_0x2898e0,_0x3fe593,_0x186f54);},'PLvsE':_0x31f7ce(0x15c),'RMFIC':function(_0x22d178,_0xf7195f){return _0x22d178(_0xf7195f);},'cVDiR':_0x31f7ce(0x186),'jyKfs':function(_0x45d75c,_0x4b8e90){return _0x45d75c(_0x4b8e90);},'WtjqB':_0x31f7ce(0x150),'tMGhN':_0x31f7ce(0x1f2),'VuEJW':'Unknown\x20Test','ABJeW':_0x31f7ce(0x1d7),'YRzod':function(_0x45b0cd){return _0x45b0cd();},'mIboo':_0x31f7ce(0x167)};commandRepository[_0x31f7ce(0x19b)](_0x15d6f5[_0x31f7ce(0x1ab)][_0x31f7ce(0x14e)]),logger['debug'](_0x5864d0['mIboo']),new Promise(async _0x30ec6c=>{const _0x382641=_0x31f7ce;try{global[_0x382641(0x157)]&&_0x5864d0[_0x382641(0x18f)](global['__drivers'][_0x382641(0x12d)],0x1)&&(await global[_0x382641(0x1b5)](),global['__drivers']['shift']()),global[_0x382641(0x157)]&&global['__drivers'][0x0]&&global[_0x382641(0x157)][0x0][_0x382641(0x149)]&&_0x5864d0[_0x382641(0x184)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global[_0x382641(0x1b5)]();}catch(_0x46ed4f){logger[_0x382641(0x199)](_0x382641(0x1c1)+_0x46ed4f);}workerDetails[_0x382641(0x182)][_0x382641(0x1cd)]=_0x15d6f5;if(!playwrightPatcher)try{if(!_0x5864d0['aLsty'](isUndefined,_0x15d6f5['pickle']['tags'])){const _0x3588db=_0x5864d0[_0x382641(0x12b)](shouldScanTestForAccessibility,null,![],_0x15d6f5[_0x382641(0x1ab)][_0x382641(0x1fa)][_0x382641(0x1ec)](({name:_0x2f0593})=>_0x2f0593));globals['setGlobal'](_0x5864d0[_0x382641(0x134)],_0x3588db);}}catch(_0x239be1){logger[_0x382641(0x199)](_0x382641(0x158)+util[_0x382641(0x18c)](_0x239be1));}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x15d6f5),global[_0x382641(0x132)]&&global[_0x382641(0x132)][_0x382641(0x177)]&&playwrightPatcher[_0x382641(0x210)](global[_0x382641(0x132)]['pwPage']);}catch(_0x3e3dfc){logger[_0x382641(0x199)](_0x382641(0x170)+util[_0x382641(0x18c)](_0x3e3dfc));}if(playwrightPatcher)try{const _0x544a08=_0x5864d0[_0x382641(0x1c4)](require,_0x5864d0['cVDiR']),_0x12a89b=_0x5864d0['jyKfs'](require,_0x5864d0['WtjqB']),_0x435fa8=_0x5864d0[_0x382641(0x165)](require,_0x5864d0[_0x382641(0x1d8)]);if(_0x544a08[_0x382641(0x1ae)]()[_0x382641(0x169)]()){const _0xb4165d={'title':_0x15d6f5[_0x382641(0x1ab)][_0x382641(0x14e)]||_0x5864d0[_0x382641(0x18b)],'titlePath':[_0x15d6f5[_0x382641(0x1ab)][_0x382641(0x14e)]||_0x5864d0['VuEJW']],'id':_0x15d6f5[_0x382641(0x185)]||_0x5864d0['ABJeW'],'tags':_0x15d6f5['pickle'][_0x382641(0x1fa)]||[],..._0x15d6f5},_0x463b40=_0xb4165d;global['__currentTestInfo']=_0x463b40,logger[_0x382641(0x199)](_0x382641(0x138)+_0x15d6f5[_0x382641(0x1ab)][_0x382641(0x14e)]);}}catch(_0x11fb22){logger[_0x382641(0x199)](_0x382641(0x146)+util[_0x382641(0x18c)](_0x11fb22));}_0x5864d0[_0x382641(0x1a6)](_0x30ec6c);})[_0x31f7ce(0x1c8)](_0x16c7cd);});const a9_0x4ce99b={};a9_0x4ce99b[a9_0x15610f(0x14e)]='bstack',a9_0x4ce99b[a9_0x15610f(0x1c3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x15610f(0x13c)],After(a9_0x4ce99b,function(_0x592359,_0x2a221b){const _0x43951f=a9_0x15610f,_0xe28a31={'Lzrdz':function(_0x53bd80,_0x27b7d6){return _0x53bd80>_0x27b7d6;},'fzLFk':function(_0x2f9c53,_0x27686a){return _0x2f9c53===_0x27686a;},'MwUVx':_0x43951f(0x1da),'PNgnL':function(_0x1240b9,_0x6f812f){return _0x1240b9>_0x6f812f;},'VRGza':function(_0x175411,_0xc49065,_0x297c66,_0x26ca7d){return _0x175411(_0xc49065,_0x297c66,_0x26ca7d);},'HElZz':'\x20|\x20','khGIT':function(_0x41b809,_0x108e02,_0xa93504){return _0x41b809(_0x108e02,_0xa93504);},'ycgWw':_0x43951f(0x1e0),'yuHwQ':function(_0x58b1d8,_0x1bc0e3){return _0x58b1d8(_0x1bc0e3);},'kEEab':'../v2/browserstackCLI','bYbtu':_0x43951f(0x150),'Prcpg':function(_0xdc5701,_0x3b73d6){return _0xdc5701(_0x3b73d6);},'EGsxE':_0x43951f(0x1f2),'UzyPU':'Unknown\x20Test','xSkdG':'cucumber-test','ovGvz':_0x43951f(0x1f1),'vpeIX':'Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','aqIpe':'Cleaned\x20up\x20close\x20tracker','BuPRU':_0x43951f(0x19e),'uhtfW':_0x43951f(0x1fe),'FuQEa':function(_0x6b711d,_0x211fe2){return _0x6b711d(_0x211fe2);},'DRbyX':'../v2/browserstackCLI.js','kvmgA':function(_0x3fa2b6){return _0x3fa2b6();},'aQUQW':function(_0x4c0a53,_0x1665f3,_0x56a8b4,_0x19efcb){return _0x4c0a53(_0x1665f3,_0x56a8b4,_0x19efcb);},'KGhNX':_0x43951f(0x207),'MAjos':_0x43951f(0x1bb),'rnMQU':_0x43951f(0x15c),'GEUNs':_0x43951f(0x1bf),'mUozJ':_0x43951f(0x18a),'roRUP':_0x43951f(0x1c0),'xcJkP':function(_0x5bcdf3){return _0x5bcdf3();},'JDOuy':'Inside\x20browserstack\x20After'};logger[_0x43951f(0x199)](_0xe28a31['JDOuy']),workerDetails['currentTest'][_0x43951f(0x1cd)]=_0x592359,new Promise(async _0x212cde=>{const _0x3a7b63=_0x43951f;let _0x153324=![],_0x460bc7=![],_0x4d91e4=![];try{global[_0x3a7b63(0x157)]&&_0xe28a31['Lzrdz'](global['__drivers'][_0x3a7b63(0x12d)],0x0)&&(_0x460bc7=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x3a7b63(0x132)]['pwPage']&&(_0x4d91e4=!![],logger[_0x3a7b63(0x199)](_0x3a7b63(0x1a8)+!!global[_0x3a7b63(0x132)]['pwPage']));}catch(_0x5e7d1c){logger['debug'](_0x3a7b63(0x1cb)+_0x5e7d1c);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x460bc7+_0x3a7b63(0x1f3)+_0x4d91e4);const _0x334e5d=_0x592359[_0x3a7b63(0x137)][_0x3a7b63(0x131)][_0x3a7b63(0x206)]()[_0x3a7b63(0x196)](),_0x15869a=_0xe28a31[_0x3a7b63(0x12c)](_0x334e5d,_0xe28a31['MwUVx'])||_0xe28a31[_0x3a7b63(0x12c)](_0x334e5d,'6'),_0x1bfbde=_0x15869a?_0x592359['result']['message']:null;if(_0x15869a)try{global[_0x3a7b63(0x141)][_0x3a7b63(0x1d4)](_0x592359[_0x3a7b63(0x137)][_0x3a7b63(0x145)]),global[_0x3a7b63(0x179)]=!![];}catch(_0x129b52){logger[_0x3a7b63(0x199)](_0x3a7b63(0x12f)+_0x129b52);}if(_0x460bc7)try{global[_0x3a7b63(0x157)]&&_0xe28a31[_0x3a7b63(0x1e5)](global[_0x3a7b63(0x157)][_0x3a7b63(0x12d)],0x1)&&(await global[_0x3a7b63(0x1b5)](),global[_0x3a7b63(0x157)][_0x3a7b63(0x140)](),global[_0x3a7b63(0x141)]=[],global[_0x3a7b63(0x179)]=![]),global[_0x3a7b63(0x157)]&&global[_0x3a7b63(0x157)][0x0]&&(await global[_0x3a7b63(0x157)][0x0]['session_'],_0x153324=!![],!global[_0x3a7b63(0x204)]&&await global[_0x3a7b63(0x157)][0x0]['executeScript'](_0x3a7b63(0x16e)+_0x592359[_0x3a7b63(0x1ab)][_0x3a7b63(0x14e)]+'\x22}}'),_0x15869a?await _0xe28a31[_0x3a7b63(0x14a)](markSessionStatus,global[_0x3a7b63(0x157)][0x0],_0xe28a31[_0x3a7b63(0x136)],global['__error_messages__'][_0x3a7b63(0x1fb)](_0xe28a31[_0x3a7b63(0x1f5)])):await _0xe28a31[_0x3a7b63(0x172)](markSessionStatus,global['__drivers'][0x0],_0xe28a31[_0x3a7b63(0x200)]));}catch(_0x17b127){logger['debug'](_0x3a7b63(0x178)+util[_0x3a7b63(0x18c)](_0x17b127));}if(_0x4d91e4)try{try{const _0x368855=_0xe28a31[_0x3a7b63(0x16d)](require,_0xe28a31[_0x3a7b63(0x212)]),_0x4da630=_0xe28a31['yuHwQ'](require,_0xe28a31[_0x3a7b63(0x1b2)]),_0x140182=_0xe28a31[_0x3a7b63(0x175)](require,_0xe28a31[_0x3a7b63(0x187)]);if(_0x368855[_0x3a7b63(0x1ae)]()[_0x3a7b63(0x169)]()){const _0x9fb172={'title':_0x592359[_0x3a7b63(0x1ab)]['name']||_0xe28a31[_0x3a7b63(0x1f8)],'titlePath':[_0x592359[_0x3a7b63(0x1ab)][_0x3a7b63(0x14e)]||_0xe28a31[_0x3a7b63(0x1f8)]],'id':_0x592359[_0x3a7b63(0x185)]||_0xe28a31[_0x3a7b63(0x1ce)],'status':_0x15869a?_0xe28a31[_0x3a7b63(0x136)]:_0xe28a31[_0x3a7b63(0x200)],'error':_0x1bfbde?{'message':_0x1bfbde}:null,'tags':_0x592359[_0x3a7b63(0x1ab)][_0x3a7b63(0x1fa)]||[],..._0x592359},_0x4d4a5a=_0x9fb172,_0x219837={};_0x219837[_0x3a7b63(0x1cd)]=_0x4d4a5a,_0x219837[_0x3a7b63(0x144)]=_0x592359,_0x219837[_0x3a7b63(0x198)]=global['__workerDetails']['pwPage'],_0x219837[_0x3a7b63(0x163)]=FRAMEWORKS[_0x3a7b63(0x181)],await _0x368855[_0x3a7b63(0x1ae)]()[_0x3a7b63(0x171)]()[_0x3a7b63(0x147)](_0x4da630[_0x3a7b63(0x13d)],_0x140182['PRE'],_0x219837),logger[_0x3a7b63(0x199)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x592359[_0x3a7b63(0x1ab)][_0x3a7b63(0x14e)]);}}catch(_0x69aa69){logger[_0x3a7b63(0x199)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x3a7b63(0x18c)](_0x69aa69));}const _0x5d231f=_0x15869a?_0xe28a31['MwUVx']:_0xe28a31[_0x3a7b63(0x200)];await playwrightPatcher[_0x3a7b63(0x1eb)](_0x592359,_0x5d231f,_0x1bfbde),logger[_0x3a7b63(0x199)](_0xe28a31[_0x3a7b63(0x1d9)]);try{await playwrightPatcher[_0x3a7b63(0x17b)](),logger['debug'](_0xe28a31[_0x3a7b63(0x1d1)]);}catch(_0x140059){logger[_0x3a7b63(0x199)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x3a7b63(0x18c)](_0x140059));}try{playwrightPatcher[_0x3a7b63(0x15a)]['cleanup'](),logger[_0x3a7b63(0x199)](_0xe28a31[_0x3a7b63(0x1af)]);}catch(_0xa0b9cc){logger['debug'](_0x3a7b63(0x17a)+util[_0x3a7b63(0x18c)](_0xa0b9cc));}}catch(_0x3ce78f){logger[_0x3a7b63(0x199)](_0x3a7b63(0x161)+util[_0x3a7b63(0x18c)](_0x3ce78f));try{playwrightPatcher[_0x3a7b63(0x17b)]&&(await playwrightPatcher[_0x3a7b63(0x17b)](),logger['debug'](_0xe28a31['BuPRU'])),playwrightPatcher[_0x3a7b63(0x15a)]&&playwrightPatcher[_0x3a7b63(0x15a)]['cleanup']&&(playwrightPatcher[_0x3a7b63(0x15a)][_0x3a7b63(0x15d)](),logger[_0x3a7b63(0x199)](_0xe28a31['uhtfW']));}catch(_0x2a81ca){logger['debug']('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x3a7b63(0x18c)](_0x2a81ca));}}const _0x12683f=_0xe28a31[_0x3a7b63(0x1a2)](require,_0xe28a31[_0x3a7b63(0x16b)]);if(!_0x12683f['getInstance']()[_0x3a7b63(0x169)]())try{if(_0xe28a31[_0x3a7b63(0x13b)](shouldProcessEventForTesthub)){const _0x4835d2=TestDetails[_0x3a7b63(0x1be)](_0x592359[_0x3a7b63(0x185)]);let _0x25d681=null;global[_0x3a7b63(0x157)]&&global[_0x3a7b63(0x157)][0x0]&&(_0x25d681=await _0xe28a31[_0x3a7b63(0x203)](sendPlatformDetails,global[_0x3a7b63(0x157)][0x0],_0x4835d2,!![]));const _0x198816={};_0x198816[_0x3a7b63(0x13e)]=_0x4835d2,_0x198816[_0x3a7b63(0x14f)]=_0x25d681;const _0x187408=_0x198816,_0x3b2b0c={};_0x3b2b0c[_0x3a7b63(0x14b)]=_0xe28a31[_0x3a7b63(0x159)],_0x3b2b0c['test_run']=_0x187408,await SessionHandler['uploadEventData'](_0x3b2b0c);}}catch(_0x5c1d70){logger[_0x3a7b63(0x199)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util[_0x3a7b63(0x18c)](_0x5c1d70));}try{if(globals[_0x3a7b63(0x1ca)](_0xe28a31['MAjos'])&&globals['getGlobal'](_0xe28a31['rnMQU'])){logger[_0x3a7b63(0x1f7)](_0xe28a31[_0x3a7b63(0x1b3)]);const _0x52e4cf=TestDetails[_0x3a7b63(0x1be)](_0x592359[_0x3a7b63(0x185)]),_0x4ad94b={};_0x4ad94b['thTestRunUuid']=_0x52e4cf,_0x4ad94b[_0x3a7b63(0x191)]=process[_0x3a7b63(0x142)][testHubConstants['ENV_VAR'][_0x3a7b63(0x164)]],_0x4ad94b[_0x3a7b63(0x1ad)]=process['env'][testHubConstants[_0x3a7b63(0x135)][_0x3a7b63(0x193)]];const _0x5b1b57=_0x4ad94b;logger[_0x3a7b63(0x199)](_0x3a7b63(0x20c)+JSON[_0x3a7b63(0x156)](_0x5b1b57)),logger[_0x3a7b63(0x199)](_0xe28a31['mUozJ']),global[_0x3a7b63(0x157)]&&global['__drivers'][0x0]&&(logger[_0x3a7b63(0x199)](util[_0x3a7b63(0x18c)](await global[_0x3a7b63(0x157)][0x0][_0x3a7b63(0x1d5)](scripts[_0x3a7b63(0x168)],{'method':global[_0x3a7b63(0x18d)]}))),await global[_0x3a7b63(0x157)][0x0][_0x3a7b63(0x1d5)](scripts[_0x3a7b63(0x1bc)],_0x5b1b57)),logger[_0x3a7b63(0x1f7)](_0xe28a31[_0x3a7b63(0x133)]);}}catch(_0x248f13){logger[_0x3a7b63(0x18e)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x3a7b63(0x18c)](_0x248f13));}if(_0x153324)try{global[_0x3a7b63(0x157)][0x0]&&_0xe28a31[_0x3a7b63(0x1e5)](global[_0x3a7b63(0x157)][0x0][_0x3a7b63(0x149)],0x0)&&await global['__drivers'][0x0][_0x3a7b63(0x130)]();}catch(_0x144dbb){logger[_0x3a7b63(0x199)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x144dbb);}_0xe28a31[_0x3a7b63(0x20e)](_0x212cde);})['finally'](()=>_0x2a221b());});const a9_0x4fd4c4={};a9_0x4fd4c4[a9_0x15610f(0x14e)]=a9_0x15610f(0x190),a9_0x4fd4c4[a9_0x15610f(0x1c3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x15610f(0x13c)],AfterStep(a9_0x4fd4c4,function(_0x3839d6,_0x1ac7cc){const _0x332c9d=a9_0x15610f,_0x2da872={'QQJEl':function(_0x266cb5,_0x1381d7){return _0x266cb5===_0x1381d7;},'ICaBk':'failed','esdJW':function(_0x29f87c,_0x241871){return _0x29f87c!==_0x241871;},'eCOHy':function(_0x4cac17,_0x587d5b,_0xf9060c){return _0x4cac17(_0x587d5b,_0xf9060c);},'Ezvtc':function(_0x4cb824,_0x3f1040){return _0x4cb824+_0x3f1040;},'IZIHg':function(_0x3aa3df,_0x72db47){return _0x3aa3df+_0x72db47;},'UHlah':function(_0x39ead1,_0x50a2ab){return _0x39ead1+_0x50a2ab;},'NESfr':_0x332c9d(0x151),'gldjp':_0x332c9d(0x20d),'DnjxX':_0x332c9d(0x18e),'ZrvqE':function(_0xb2af79,_0x1a2de8,_0x35d4df){return _0xb2af79(_0x1a2de8,_0x35d4df);},'wUoeV':function(_0x26e791,_0xd418a7){return _0x26e791+_0xd418a7;},'GnFII':_0x332c9d(0x13f),'MdzVN':_0x332c9d(0x1f7),'xFNcV':'Passed','WahMu':function(_0x3e9134){return _0x3e9134();},'NdjCQ':_0x332c9d(0x1b1)};logger[_0x332c9d(0x199)](_0x2da872[_0x332c9d(0x1b4)]);const _0x4325fe=async(_0x41b719,_0xb19bd5)=>{const _0xca76dd=_0x332c9d;global[_0xca76dd(0x157)]&&global[_0xca76dd(0x157)][0x0]&&await global[_0xca76dd(0x157)][0x0][_0xca76dd(0x153)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x41b719+_0xca76dd(0x1a5)+_0xb19bd5+_0xca76dd(0x1bd));};new Promise(async _0x2ddce4=>{const _0x42652d=_0x332c9d;try{const _0x2ffac6=_0x2da872[_0x42652d(0x13a)](_0x3839d6[_0x42652d(0x137)][_0x42652d(0x131)][_0x42652d(0x206)]()[_0x42652d(0x196)](),_0x2da872[_0x42652d(0x1b8)])||_0x2da872[_0x42652d(0x13a)](_0x3839d6[_0x42652d(0x137)][_0x42652d(0x131)][_0x42652d(0x206)]()['toLowerCase'](),'6');_0x2ffac6?(global[_0x42652d(0x179)]=!![],global[_0x42652d(0x141)]['push'](_0x3839d6[_0x42652d(0x137)]['message']),_0x2da872[_0x42652d(0x17c)](_0x3839d6[_0x42652d(0x188)],undefined)?await _0x2da872[_0x42652d(0x1fc)](_0x4325fe,JSON['stringify'](_0x2da872[_0x42652d(0x202)](_0x2da872['IZIHg'](_0x2da872[_0x42652d(0x1fd)](_0x2da872[_0x42652d(0x15f)],'\x22'+_0x3839d6['pickleStep'][_0x42652d(0x1a4)]+'\x22\x20'),_0x2da872[_0x42652d(0x15b)]),_0x3839d6['result'][_0x42652d(0x145)])),_0x2da872[_0x42652d(0x1dc)]):await _0x2da872[_0x42652d(0x1a0)](_0x4325fe,JSON['stringify'](_0x2da872['Ezvtc'](_0x2da872[_0x42652d(0x15f)],_0x3839d6[_0x42652d(0x137)][_0x42652d(0x145)])),_0x2da872[_0x42652d(0x1dc)])):_0x2da872[_0x42652d(0x17c)](_0x3839d6['pickleStep'],undefined)?await _0x2da872['ZrvqE'](_0x4325fe,JSON[_0x42652d(0x156)](_0x2da872[_0x42652d(0x205)](_0x2da872[_0x42652d(0x217)],'\x22'+_0x3839d6[_0x42652d(0x188)][_0x42652d(0x1a4)]+'\x22')),_0x2da872[_0x42652d(0x1c7)]):await _0x2da872[_0x42652d(0x1fc)](_0x4325fe,JSON['stringify'](_0x2da872[_0x42652d(0x215)]),_0x2da872[_0x42652d(0x1c7)]),global[_0x42652d(0x157)]&&global['__drivers'][0x0]&&global[_0x42652d(0x157)][0x0][_0x42652d(0x20b)][_0x42652d(0x1f6)](_0x2f7c85=>{})[_0x42652d(0x1f4)](_0xb083e3=>{const _0x5bfdb5=_0x42652d;logger[_0x5bfdb5(0x199)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util[_0x5bfdb5(0x18c)](_0xb083e3));});}catch(_0x1a5a93){logger[_0x42652d(0x199)](_0x42652d(0x1ed)+_0x1a5a93);}_0x2da872['WahMu'](_0x2ddce4);})[_0x332c9d(0x1c8)](()=>_0x1ac7cc());});const a9_0xdc0edd={};a9_0xdc0edd[a9_0x15610f(0x14e)]='bstack',a9_0xdc0edd['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x15610f(0x13c)],AfterAll(a9_0xdc0edd,async function(_0xbd3e2f,_0x3dd97b){const _0x321ce3=a9_0x15610f,_0x10f971={'uHjaf':'1|0|2|4|3','TOcIO':_0x321ce3(0x19f),'exZVN':function(_0x2e08cc){return _0x2e08cc();},'kyEhX':_0x321ce3(0x16c)};logger[_0x321ce3(0x199)](_0x10f971[_0x321ce3(0x192)]),await new Promise(async _0x1cf604=>{const _0x370e0b=_0x321ce3,_0x42cd81=_0x10f971['uHjaf'][_0x370e0b(0x211)]('|');let _0x28d583=0x0;while(!![]){switch(_0x42cd81[_0x28d583++]){case'0':PerformanceTester['stopMonitoring']();continue;case'1':await RequestQueueHandler[_0x370e0b(0x1ae)]()[_0x370e0b(0x1ba)]();continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x370e0b(0x17b)]&&(await playwrightPatcher[_0x370e0b(0x17b)](),playwrightPatcher[_0x370e0b(0x15a)]&&playwrightPatcher[_0x370e0b(0x15a)][_0x370e0b(0x15d)](),logger[_0x370e0b(0x199)](_0x10f971[_0x370e0b(0x174)]));}catch(_0xd72b9b){logger['debug'](_0x370e0b(0x160)+util[_0x370e0b(0x18c)](_0xd72b9b));}continue;case'3':_0x10f971[_0x370e0b(0x1de)](_0x1cf604);continue;case'4':await global[_0x370e0b(0x1b5)]();continue;}break;}});});
|