browserstack-node-sdk 1.57.2 → 1.58.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/generated/sdk-messages_pb.d.ts +376 -36
- package/generated/sdk-messages_pb.js +2955 -279
- package/generated/sdk_grpc_pb.d.ts +5 -0
- package/generated/sdk_grpc_pb.js +51 -0
- 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/jasmine/bstack-reporter/customReporter.js +1 -0
- package/src/bin/jasmine/command.js +2 -0
- package/src/bin/jasmine/test.setup.js +1 -0
- package/src/bin/jasmine/testRunMap.js +1 -0
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -0
- package/src/bin/testcafe/command.js +2 -0
- package/src/bin/testcafe/reporter/index.js +1 -0
- package/src/bin/testcafe/reporter/tcUtils.js +1 -0
- package/src/bin/testcafe/session-registry.js +1 -0
- package/src/bin/testcafe/stdout-interceptor.js +1 -0
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -0
- package/src/bin/testcafe/w3c-driver.js +1 -0
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -0
- package/src/bin/v2/framework/testcafeTestFramework.js +1 -0
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testcafeDriverModule.js +1 -0
- 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/caCertHelper.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/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -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_0xf00d38=a5_0x3352;(function(_0x5f2791,_0x47e8e8){const _0x4c17e3=a5_0x3352,_0x5c6850=_0x5f2791();while(!![]){try{const _0x19c90d=parseInt(_0x4c17e3(0x1b5))/0x1+-parseInt(_0x4c17e3(0x225))/0x2+parseInt(_0x4c17e3(0x232))/0x3+parseInt(_0x4c17e3(0x1c2))/0x4*(-parseInt(_0x4c17e3(0x1d1))/0x5)+parseInt(_0x4c17e3(0x1c1))/0x6*(-parseInt(_0x4c17e3(0x1d3))/0x7)+parseInt(_0x4c17e3(0x22f))/0x8+parseInt(_0x4c17e3(0x1ba))/0x9;if(_0x19c90d===_0x47e8e8)break;else _0x5c6850['push'](_0x5c6850['shift']());}catch(_0x1d421c){_0x5c6850['push'](_0x5c6850['shift']());}}}(a5_0x118d,0xc4738));const fs=require('fs'),path=require(a5_0xf00d38(0x1f0)),util=require(a5_0xf00d38(0x1be)),logger=require('../../helpers/logger')[a5_0xf00d38(0x234)],helper=require(a5_0xf00d38(0x1f5)),utilities=require(a5_0xf00d38(0x1af)),constants=require(a5_0xf00d38(0x1c7)),{parallelCucumberRun}=require(a5_0xf00d38(0x24b)),TestHubHandler=require(a5_0xf00d38(0x1d4)),testOpsHelper=require(a5_0xf00d38(0x1c4)),chalk=require(a5_0xf00d38(0x1c3)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0xf00d38(0x1e2))[a5_0xf00d38(0x248)],BrowserstackCLI=require(a5_0xf00d38(0x25b)),CLIUtils=require(a5_0xf00d38(0x224)),{checkPwandBootstrapCli}=require(a5_0xf00d38(0x247)),ClientTroubleShootingService=require(a5_0xf00d38(0x228));function a5_0x118d(){const _0x503566=['../test-runner','getErrorMessageFromResults','__isPlaywrightInstalled','AvFrX','initialize','red','config','setupBrowserstackLocal','join','turboScaleUrl','\x20skipped','testContextOptions','\x20steps','tZXdF','BROWSERSTACK_AUTOMATION','StAWE','../v2/browserstackCLI','printBuildLink','ltuNM','testObservability','\x20failed','fDECJ','log','../../helpers/utilities','createDir','stepsUnknown','framework','bootstrap','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','892149yrYAun','launchBuild','getHubUrl','scenariosFailed','\x20pending','11044935BvTitO','then','assign','exitCode','util','Generating\x20consolidated\x20report...','parseFormatters','308748PnggPZ','3521468ApelqE','chalk','../../helpers/test-observability/utils','TphuX','isFalse','../utils/constants','rmdirSync','accessibilityOptions','cliConfig','WHqAT','false','env','getPackageVersion','kfeTW','nUDMz','5shMstu','../playwright/accessibility-helper','217nslYXc','../../helpers/testhub/testhubHandler','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','FRAMEWORKS','BROWSERSTACK_TEST_OBSERVABILITY_YML','debug','length','stepsPending','stop','cwd','steps','xtGMW','LcIWe','sgDtP','stepsUndefined','../../helpers/performance/constants','mergeOutputFiles','MwfrT','cucumber-js','push','\x20scenarios','BROWSERSTACK_FRAMEWORK','SDK_CLEANUP','yHVRB','mEkOO','getUserWorkerCount','gmYNl','green','LEpmG','path','parallelsPerPlatform','useW3C','yAJsA','../../helpers/accessibility-automation/helper','../../helpers/helper','bgWhite','bnZvD','stepsPassed','isBrowserstackInfra','\x20undefined','skipSessionStatus','argv','start','wwxes','stringify','wSTxw','configPath','format','CUCUMBER','stepsAmbiguous','mlEnt','skipSessionName','bold','ozOQL','forEach','scenarios','splice','aPAuO','getInstance','YMPyQ','yellow','isRunning','ZVfxw','BROWSERSTACK_CLI_BIN_SESSION_ID','QLRTE','BROWSERSTACK_TEST_ACCESSIBILITY_YML','isCLIEnabled','true','browserstackAutomation','processSuccess','handleApp','error\x20removing\x20tcg\x20config\x20file','\x20passed','MEyYI','setLogLevel','ZOHdL','accessibility','removeDir','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','binSessionId','stepsSkipped','../v2/cliUtils','1614486RWugXD','XKkWa','logLevel','../utils/clientTroubleshootingService','\x20ambiguous','RmyXJ','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','OWMuD','isUndefined','setUserConfigPath','11431672pIrNKR','indexOf','platforms','1617447XNMPLK','finally','winstonLogger','fQUbQ','errorMessage','opwMa','NEpjx','getConfig','setBrowserstackConfig','cyan','../../helpers/test-observability/constants','prepareCapabilities','kKXWJ','tUmcE','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','tmp','Removing\x20tmp\x20directory\x20created\x20for\x20reports','BROWSERSTACK_LOG_LEVEL','BSOlV','exports','ynylR','../../helpers/playwright-helper','EVENTS','ypnTG','oqgKc'];a5_0x118d=function(){return _0x503566;};return a5_0x118d();}function printCucumberStats(_0x2c389f){const _0x243020=a5_0xf00d38,_0x3498ee={};_0x3498ee['FLVie']=function(_0x5c42e6,_0x25cbb1){return _0x5c42e6>_0x25cbb1;},_0x3498ee[_0x243020(0x226)]=function(_0x4e861e,_0x3b3101){return _0x4e861e-_0x3b3101;},_0x3498ee[_0x243020(0x25a)]=function(_0x403e07,_0x39848d){return _0x403e07-_0x39848d;},_0x3498ee['MwfrT']=function(_0x31c8ad,_0x441fcd){return _0x31c8ad>_0x441fcd;},_0x3498ee[_0x243020(0x24a)]=function(_0x1f3635,_0x3413cf){return _0x1f3635>_0x3413cf;},_0x3498ee[_0x243020(0x1de)]=function(_0x22b22b,_0x498d2c){return _0x22b22b>_0x498d2c;},_0x3498ee['fDECJ']=function(_0x1b2254,_0x7e485e){return _0x1b2254>_0x7e485e;},_0x3498ee[_0x243020(0x23e)]=function(_0x2e3a38,_0x307cea){return _0x2e3a38>_0x307cea;},_0x3498ee['bnZvD']=function(_0x29b44a,_0x17903e){return _0x29b44a>_0x17903e;},_0x3498ee[_0x243020(0x200)]=function(_0x4e3dbe,_0x5986ff){return _0x4e3dbe>_0x5986ff;},_0x3498ee[_0x243020(0x258)]=function(_0x32bc22,_0x54e1f0){return _0x32bc22>_0x54e1f0;},_0x3498ee['TphuX']=function(_0x33e130,_0x38d0b2){return _0x33e130+_0x38d0b2;},_0x3498ee[_0x243020(0x246)]=function(_0x59dbb5,_0x173086){return _0x59dbb5+_0x173086;},_0x3498ee[_0x243020(0x1f3)]=function(_0x453914,_0x452cac){return _0x453914+_0x452cac;},_0x3498ee[_0x243020(0x1eb)]=function(_0x377cde,_0x4c44c2){return _0x377cde===_0x4c44c2;},_0x3498ee[_0x243020(0x21c)]=function(_0x323a4f,_0x4d179b){return _0x323a4f===_0x4d179b;},_0x3498ee[_0x243020(0x1cf)]='****\x20RESULTS\x20****';const _0x3d0e95=_0x3498ee;let _0x3ccf01=0x0;if(_0x3d0e95[_0x243020(0x21c)](_0x2c389f[_0x243020(0x1d9)],0x0))return _0x3ccf01;return console[_0x243020(0x1ae)](chalk['bold'][_0x243020(0x1f6)](_0x3d0e95['kfeTW'])),_0x2c389f[_0x243020(0x209)](_0x3254b7=>{const _0x26a821=_0x243020,_0x5c5bdd=_0x3254b7[0x0],_0x50f7ec=_0x3254b7[0x1];helper[_0x26a821(0x1f9)]()&&console['log']('\x0a'+chalk['bold'][_0x26a821(0x20f)](''+helper['getPlatformName'](_0x5c5bdd)));const _0x25c7fc=_0x50f7ec[_0x26a821(0x20a)],_0x5da883=_0x50f7ec[_0x26a821(0x1dd)],_0x270130=_0x50f7ec[_0x26a821(0x1b8)],_0x27d1cf=_0x50f7ec['stepsFailed'],_0x2e4f9d=_0x50f7ec[_0x26a821(0x1f8)],_0x5600e8=_0x50f7ec[_0x26a821(0x223)],_0x37cc23=_0x50f7ec[_0x26a821(0x1da)],_0x4c9166=_0x50f7ec[_0x26a821(0x1e1)],_0x2c1aa7=_0x50f7ec[_0x26a821(0x1b1)],_0x3ef64a=_0x50f7ec[_0x26a821(0x204)],_0x10cdb3=_0x50f7ec[_0x26a821(0x218)];let _0x2181b7=_0x25c7fc+_0x26a821(0x1e7);const _0x37cbdf=_0x3d0e95['FLVie'](_0x3d0e95[_0x26a821(0x226)](_0x25c7fc,_0x270130),0x0)?_0x3d0e95[_0x26a821(0x25a)](_0x25c7fc,_0x270130):0x0;if(_0x3d0e95[_0x26a821(0x1e4)](_0x270130,0x0)&&_0x3d0e95['oqgKc'](_0x37cbdf,0x0))_0x2181b7+='\x20('+chalk['bold'][_0x26a821(0x250)](_0x270130+_0x26a821(0x1ac))+',\x20'+chalk[_0x26a821(0x207)]['green'](_0x37cbdf+'\x20passed')+')';else(_0x3d0e95[_0x26a821(0x1e4)](_0x270130,0x0)||_0x3d0e95[_0x26a821(0x1de)](_0x37cbdf,0x0))&&(_0x2181b7+=_0x3d0e95['oqgKc'](_0x270130,0x0)?'\x20('+chalk[_0x26a821(0x207)][_0x26a821(0x250)](_0x270130+_0x26a821(0x1ac))+')':'\x20('+chalk[_0x26a821(0x207)][_0x26a821(0x1ee)](_0x37cbdf+'\x20passed')+')');const _0x27a9a9=_0x5da883+_0x26a821(0x257),_0x4c9816=[];_0x3d0e95[_0x26a821(0x1ad)](_0x3ef64a,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk[_0x26a821(0x207)][_0x26a821(0x250)](_0x3ef64a+_0x26a821(0x229)));_0x3d0e95[_0x26a821(0x23e)](_0x27d1cf,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk[_0x26a821(0x207)][_0x26a821(0x250)](_0x27d1cf+_0x26a821(0x1ac)));_0x3d0e95[_0x26a821(0x24a)](_0x2e4f9d,0x0)&&_0x4c9816['push'](''+chalk[_0x26a821(0x207)]['green'](_0x2e4f9d+_0x26a821(0x21b)));_0x3d0e95[_0x26a821(0x1de)](_0x37cc23,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk['bold'][_0x26a821(0x20f)](_0x37cc23+_0x26a821(0x1b9)));_0x3d0e95[_0x26a821(0x1f7)](_0x5600e8,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk['bold'][_0x26a821(0x23b)](_0x5600e8+_0x26a821(0x255)));_0x3d0e95['wSTxw'](_0x4c9166,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk['bold']['yellow'](_0x4c9166+_0x26a821(0x1fa)));_0x3d0e95[_0x26a821(0x258)](_0x2c1aa7,0x0)&&_0x4c9816[_0x26a821(0x1e6)](''+chalk[_0x26a821(0x207)][_0x26a821(0x20f)](_0x2c1aa7+_0x26a821(0x255)));const _0x57e105=_0x3d0e95[_0x26a821(0x1c5)](_0x3d0e95[_0x26a821(0x246)](_0x3d0e95['ynylR'](_0x27a9a9,'('),_0x4c9816['join'](',\x20')),')');console['log'](_0x3d0e95[_0x26a821(0x1c5)](_0x3d0e95['yAJsA'](_0x3d0e95['yAJsA'](_0x3d0e95[_0x26a821(0x246)]('\x0a',_0x2181b7),'\x0a'),_0x57e105),'\x0a')),_0x3d0e95[_0x26a821(0x1eb)](_0x10cdb3,![])&&(_0x3ccf01=0x1);}),_0x3ccf01;}async function run(_0x1abdff,_0x1b7c7e,_0x4bc3b9){const _0x41b8ef=a5_0xf00d38,_0x26f526={'tUmcE':function(_0x4080f9,_0x37d712){return _0x4080f9(_0x37d712);},'QLRTE':function(_0x124b4b,_0xd1b481){return _0x124b4b>_0xd1b481;},'YeUoy':_0x41b8ef(0x1bf),'ltuNM':_0x41b8ef(0x242),'FZOls':'cucumber','ypnTG':_0x41b8ef(0x21a),'AvFrX':'@playwright/test','opwMa':_0x41b8ef(0x1e5),'YHwQa':function(_0x4b85d9,_0x3e6577,_0x432339,_0x259c59){return _0x4b85d9(_0x3e6577,_0x432339,_0x259c59);},'SPrRK':_0x41b8ef(0x241),'BSOlV':function(_0xa219c9,_0x35bcfe){return _0xa219c9>_0x35bcfe;},'nzBHz':function(_0x3b358f,_0x2de380){return _0x3b358f-_0x2de380;},'yHVRB':function(_0x475672,_0x290640){return _0x475672>=_0x290640;},'nUDMz':function(_0xcd35e1,_0x2ac7f1){return _0xcd35e1!=_0x2ac7f1;},'sgDtP':_0x41b8ef(0x216),'wwxes':function(_0x4bdbfe,_0x5d6229){return _0x4bdbfe(_0x5d6229);},'YMPyQ':_0x41b8ef(0x1f4),'aPAuO':_0x41b8ef(0x1d2),'ZVfxw':function(_0x314fa7,_0x26be07){return _0x314fa7(_0x26be07);},'mlEnt':function(_0x1aef1a,_0x24d014){return _0x1aef1a(_0x24d014);},'NEpjx':_0x41b8ef(0x1cc),'LcIWe':function(_0x22f369,_0x195063){return _0x22f369===_0x195063;},'fQUbQ':_0x41b8ef(0x25b),'ZOHdL':function(_0x43955c,_0x5cc130){return _0x43955c(_0x5cc130);},'ozOQL':'../v2/cliUtils','LZoWV':_0x41b8ef(0x23c),'OWMuD':function(_0xc8af4,_0x3c67c4){return _0xc8af4(_0x3c67c4);},'LEpmG':function(_0x53b9eb,_0x4c119a){return _0x53b9eb===_0x4c119a;},'Adxpc':'--disable-test-observability','WHqAT':function(_0x5f4988,_0x1dbde2){return _0x5f4988===_0x1dbde2;},'gmYNl':function(_0x4a329b,_0x40c9db){return _0x4a329b(_0x40c9db);},'nxhjr':'browserStackCwd','RmyXJ':function(_0x1d0e28,_0x18c0de,_0x4dd67e,_0x5f3c93,_0x4e19bf,_0x50ce28){return _0x1d0e28(_0x18c0de,_0x4dd67e,_0x5f3c93,_0x4e19bf,_0x50ce28);}},_0x324e62=helper[_0x41b8ef(0x1ce)](_0x26f526[_0x41b8ef(0x24e)]);global[_0x41b8ef(0x24d)]=!!_0x324e62,process['env'][_0x41b8ef(0x1e8)]=process['env']['BROWSERSTACK_FRAMEWORK']||_0x4bc3b9['framework']||_0x26f526[_0x41b8ef(0x237)],await _0x4bc3b9[_0x41b8ef(0x24f)](_0x1abdff);if(_0x4bc3b9[_0x41b8ef(0x251)]&&!helper[_0x41b8ef(0x22d)](_0x4bc3b9['config'][_0x41b8ef(0x227)])){process[_0x41b8ef(0x1cd)][_0x41b8ef(0x243)]=_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x227)];const _0xa0abd1={};_0xa0abd1[_0x41b8ef(0x227)]=_0x4bc3b9[_0x41b8ef(0x251)]['logLevel'],helper[_0x41b8ef(0x21d)](_0xa0abd1,new Map(),new Map());}await _0x26f526['YHwQa'](checkPwandBootstrapCli,_0x324e62,constants[_0x41b8ef(0x1d6)][_0x41b8ef(0x203)],_0x4bc3b9);BrowserstackCLI[_0x41b8ef(0x20d)]()[_0x41b8ef(0x222)]&&(process[_0x41b8ef(0x1cd)][_0x41b8ef(0x212)]=BrowserstackCLI[_0x41b8ef(0x20d)]()['binSessionId']);helper[_0x41b8ef(0x22e)](_0x4bc3b9[_0x41b8ef(0x1b2)],_0x1abdff);!helper[_0x41b8ef(0x1f9)]()&&await _0x4bc3b9['setupTCGAuth']();await helper[_0x41b8ef(0x219)](_0x4bc3b9[_0x41b8ef(0x251)]);const _0x2c02d6=helper[_0x41b8ef(0x1f2)](_0x4bc3b9[_0x41b8ef(0x251)]);!helper['isUndefined'](_0x4bc3b9[_0x41b8ef(0x251)]['accessibilityOptions'])&&(process[_0x41b8ef(0x1cd)][_0x41b8ef(0x1d5)]=JSON[_0x41b8ef(0x1ff)](_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x1c9)]));if(!BrowserstackCLI[_0x41b8ef(0x20d)]()[_0x41b8ef(0x210)]()){const _0x559a72=await TestHubHandler[_0x41b8ef(0x1b6)](constants['FRAMEWORKS'][_0x41b8ef(0x203)],_0x4bc3b9);}let _0x51da55=[];if(!helper[_0x41b8ef(0x1f9)]()){const _0x1fbe24={};_0x1fbe24[_0x41b8ef(0x231)]=[],_0x51da55=helper[_0x41b8ef(0x23d)](Object[_0x41b8ef(0x1bc)]({},_0x4bc3b9['config'],_0x1fbe24),_0x2c02d6,constants['FRAMEWORKS']['CUCUMBER']);}else _0x51da55=helper[_0x41b8ef(0x23d)](_0x4bc3b9[_0x41b8ef(0x251)],_0x2c02d6,constants[_0x41b8ef(0x1d6)][_0x41b8ef(0x203)]);if(!_0x4bc3b9['config'])return;const _0x2b6fc4=_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x1f1)]||helper[_0x41b8ef(0x1ec)](_0x1abdff,_0x1b7c7e,_0x4bc3b9[_0x41b8ef(0x251)],constants[_0x41b8ef(0x1d6)][_0x41b8ef(0x203)])||0x1,_0x48c4a4={'server':helper[_0x41b8ef(0x1b7)](_0x4bc3b9[_0x41b8ef(0x251)]),'proxySettings':_0x4bc3b9[_0x41b8ef(0x251)]['proxySettings'],'maxWorkers':_0x2b6fc4,'browserStackLogLevel':_0x4bc3b9['config'][_0x41b8ef(0x227)],'skipSessionName':_0x4bc3b9[_0x41b8ef(0x251)]['testContextOptions'][_0x41b8ef(0x206)],'skipSessionStatus':_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x256)][_0x41b8ef(0x1fb)],'turboScaleUrl':_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x254)]},_0x252cc3=process[_0x41b8ef(0x1fc)],[_0x5367e4,_0x3fa13e]=helper[_0x41b8ef(0x1c0)](_0x252cc3),_0x11dc91=path[_0x41b8ef(0x253)](process[_0x41b8ef(0x1dc)](),_0x26f526['SPrRK']);if(_0x26f526[_0x41b8ef(0x244)](_0x3fa13e[_0x41b8ef(0x1d9)],0x0)){helper[_0x41b8ef(0x1b0)](_0x11dc91);for(let _0xdf811f=_0x26f526['nzBHz'](_0x5367e4[_0x41b8ef(0x1d9)],0x1);_0x26f526[_0x41b8ef(0x1ea)](_0xdf811f,0x0);_0xdf811f--){_0x252cc3[_0x41b8ef(0x20b)](_0x5367e4[_0xdf811f],0x2);}}_0x26f526[_0x41b8ef(0x1d0)](_0x4bc3b9[_0x41b8ef(0x251)][_0x41b8ef(0x1ab)],null)?process[_0x41b8ef(0x1cd)][_0x41b8ef(0x1d7)]=_0x4bc3b9[_0x41b8ef(0x251)]['testObservability']:process[_0x41b8ef(0x1cd)][_0x41b8ef(0x1d7)]=_0x26f526[_0x41b8ef(0x1e0)];if(_0x324e62)try{const {checkAccessibilityPlatformConfig:_0x39b3e0}=_0x26f526[_0x41b8ef(0x1fe)](require,_0x26f526['YMPyQ']),{setAccessibilityCapabilities:_0x13b757}=_0x26f526[_0x41b8ef(0x23f)](require,_0x26f526[_0x41b8ef(0x20c)]),_0x132703=_0x26f526[_0x41b8ef(0x211)](_0x39b3e0,_0x4bc3b9[_0x41b8ef(0x251)]);if(!helper[_0x41b8ef(0x22d)](_0x4bc3b9[_0x41b8ef(0x251)]['accessibility']))process[_0x41b8ef(0x1cd)][_0x41b8ef(0x214)]=_0x26f526[_0x41b8ef(0x205)](String,!!_0x4bc3b9['config'][_0x41b8ef(0x21f)]);else helper['isUndefined'](process[_0x41b8ef(0x1cd)][_0x41b8ef(0x214)])&&(process[_0x41b8ef(0x1cd)][_0x41b8ef(0x214)]=_0x132703?_0x26f526['sgDtP']:_0x26f526['NEpjx']);process[_0x41b8ef(0x1cd)][_0x41b8ef(0x221)]=_0x132703?_0x26f526['sgDtP']:_0x26f526[_0x41b8ef(0x238)],!BrowserstackCLI[_0x41b8ef(0x20d)]()[_0x41b8ef(0x210)]()&&_0x26f526[_0x41b8ef(0x1df)](process[_0x41b8ef(0x1cd)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x26f526[_0x41b8ef(0x1e0)])&&_0x26f526['wwxes'](_0x13b757,_0x4bc3b9[_0x41b8ef(0x251)]);}catch(_0x3efe93){logger[_0x41b8ef(0x1d8)](_0x41b8ef(0x240)+util[_0x41b8ef(0x202)](_0x3efe93));}try{const _0x18d762=_0x26f526[_0x41b8ef(0x211)](require,_0x26f526[_0x41b8ef(0x235)]),_0x94cda6=_0x26f526[_0x41b8ef(0x21e)](require,_0x26f526[_0x41b8ef(0x208)]),{FRAMEWORKS:_0x3c8939}=_0x26f526['mlEnt'](require,_0x26f526['LZoWV']),{checkAccessibilityPlatformConfig:_0x103d70}=_0x26f526[_0x41b8ef(0x22c)](require,_0x26f526[_0x41b8ef(0x20e)]),{setAccessibilityCapabilities:_0x9eeecd}=_0x26f526[_0x41b8ef(0x211)](require,_0x26f526['aPAuO']),_0x4553af=helper[_0x41b8ef(0x1ce)](_0x26f526[_0x41b8ef(0x24e)]);if(_0x4553af){_0x94cda6['setFrameworkDetail'](constants[_0x41b8ef(0x1d6)]['CUCUMBER'],constants['FRAMEWORKS']['PLAYWRIGHT']),_0x18d762[_0x41b8ef(0x20d)]()[_0x41b8ef(0x23a)](_0x4bc3b9['config'],_0x4bc3b9[_0x41b8ef(0x201)],_0x4bc3b9[_0x41b8ef(0x1ca)]),await _0x18d762[_0x41b8ef(0x20d)]()[_0x41b8ef(0x1b3)]();const _0x1d94b3=_0x18d762[_0x41b8ef(0x20d)]()[_0x41b8ef(0x239)]();!helper[_0x41b8ef(0x1c6)](_0x1d94b3[_0x41b8ef(0x217)])&&(process[_0x41b8ef(0x1cd)][_0x41b8ef(0x259)]=_0x26f526['sgDtP']);_0x26f526[_0x41b8ef(0x1ef)](_0x1d94b3['browserstackAutomation'],![])&&(process[_0x41b8ef(0x1cd)][_0x41b8ef(0x259)]=_0x26f526[_0x41b8ef(0x238)]);const _0x2e7126=_0x1b7c7e[_0x41b8ef(0x230)](_0x26f526['Adxpc']);(_0x26f526[_0x41b8ef(0x1ea)](_0x2e7126,0x0)||_0x26f526[_0x41b8ef(0x1ef)](_0x1d94b3['testObservability'],![]))&&(process[_0x41b8ef(0x1cd)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x26f526['NEpjx']);if(!_0x18d762['getInstance']()[_0x41b8ef(0x210)]()){let _0x36cf3f=_0x26f526[_0x41b8ef(0x1cb)](process['env'][_0x41b8ef(0x214)],_0x26f526[_0x41b8ef(0x1e0)]);_0x36cf3f=_0x36cf3f||_0x26f526[_0x41b8ef(0x22c)](_0x103d70,_0x4bc3b9['config']),process[_0x41b8ef(0x1cd)][_0x41b8ef(0x214)]=_0x36cf3f,_0x36cf3f&&_0x26f526[_0x41b8ef(0x1ed)](_0x9eeecd,_0x4bc3b9[_0x41b8ef(0x251)]);}}}catch(_0x5c2205){logger[_0x41b8ef(0x1d8)](_0x41b8ef(0x1b4)+util[_0x41b8ef(0x202)](_0x5c2205));}!BrowserstackCLI[_0x41b8ef(0x20d)]()[_0x41b8ef(0x210)]()&&await _0x4bc3b9[_0x41b8ef(0x252)]();PerformanceTester['end'](PerformanceEvents['SDK_SETUP']),process[_0x41b8ef(0x1cd)][_0x26f526['nxhjr']]=process['cwd']();let _0x872a72;_0x26f526[_0x41b8ef(0x22a)](parallelCucumberRun,_0x51da55,_0x48c4a4,_0x4bc3b9[_0x41b8ef(0x251)],_0x252cc3,_0x3fa13e)[_0x41b8ef(0x1bb)](async _0x388076=>{const _0x44d486=_0x41b8ef;PerformanceTester[_0x44d486(0x1fd)](PerformanceEvents[_0x44d486(0x1e9)]),_0x872a72=_0x388076;const _0x5b9b91=_0x26f526[_0x44d486(0x23f)](printCucumberStats,_0x388076);process[_0x44d486(0x1bd)]=_0x5b9b91,_0x26f526[_0x44d486(0x213)](_0x3fa13e[_0x44d486(0x1d9)],0x0)&&(logger['debug'](_0x26f526['YeUoy']),helper[_0x44d486(0x1e3)](_0x11dc91,_0x3fa13e),logger['debug'](_0x26f526[_0x44d486(0x1aa)]),helper[_0x44d486(0x220)](_0x11dc91));})[_0x41b8ef(0x233)](async()=>{const _0x3833f5=_0x41b8ef;PerformanceTester['start'](PerformanceEvents[_0x3833f5(0x1e9)]),_0x4bc3b9[_0x3833f5(0x236)]=helper[_0x3833f5(0x24c)](_0x872a72,_0x26f526['FZOls']),testOpsHelper[_0x3833f5(0x1a9)]();const _0xae0492=BrowserstackCLI[_0x3833f5(0x215)]();try{await TestHubHandler['stop'](),await BrowserstackCLI['getInstance']()[_0x3833f5(0x1db)]();}catch(_0x466389){logger[_0x3833f5(0x1d8)](_0x3833f5(0x22b)+util[_0x3833f5(0x202)](_0x466389));}try{const {browserstackFolderPath:_0xd00925,tcgConfigPath:_0x570b05}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x570b05),fs[_0x3833f5(0x1c8)](_0xd00925);}catch(_0x581651){logger[_0x3833f5(0x1d8)](_0x26f526[_0x3833f5(0x249)],_0x581651);}await utilities['finalExecution'](_0x4bc3b9,_0xae0492);});}function a5_0x3352(_0x4229a8,_0x106207){const _0x118d11=a5_0x118d();return a5_0x3352=function(_0x335218,_0x474dde){_0x335218=_0x335218-0x1a9;let _0x3c3cc9=_0x118d11[_0x335218];return _0x3c3cc9;},a5_0x3352(_0x4229a8,_0x106207);}module[a5_0xf00d38(0x245)]=run;
|
|
2
|
+
'use strict';const a5_0x4825ea=a5_0x3b1a;(function(_0x33c3a9,_0x279c5a){const _0x4b9908=a5_0x3b1a,_0xf37913=_0x33c3a9();while(!![]){try{const _0x5f36d1=-parseInt(_0x4b9908(0x1e3))/0x1*(parseInt(_0x4b9908(0x1a3))/0x2)+parseInt(_0x4b9908(0x1f7))/0x3+-parseInt(_0x4b9908(0x1fa))/0x4+-parseInt(_0x4b9908(0x205))/0x5*(parseInt(_0x4b9908(0x1cb))/0x6)+parseInt(_0x4b9908(0x214))/0x7*(parseInt(_0x4b9908(0x21d))/0x8)+parseInt(_0x4b9908(0x1e8))/0x9*(-parseInt(_0x4b9908(0x1e5))/0xa)+-parseInt(_0x4b9908(0x180))/0xb*(-parseInt(_0x4b9908(0x20a))/0xc);if(_0x5f36d1===_0x279c5a)break;else _0xf37913['push'](_0xf37913['shift']());}catch(_0x49123c){_0xf37913['push'](_0xf37913['shift']());}}}(a5_0x4ab7,0xa6acf));const fs=require('fs'),path=require(a5_0x4825ea(0x1f2)),util=require(a5_0x4825ea(0x1a1)),logger=require(a5_0x4825ea(0x218))['winstonLogger'],helper=require('../../helpers/helper'),utilities=require(a5_0x4825ea(0x178)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x4825ea(0x1d5)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testOpsHelper=require(a5_0x4825ea(0x18b)),chalk=require(a5_0x4825ea(0x1cc)),PerformanceTester=require(a5_0x4825ea(0x1e6)),PerformanceEvents=require(a5_0x4825ea(0x1cd))[a5_0x4825ea(0x196)],BrowserstackCLI=require(a5_0x4825ea(0x17c)),CLIUtils=require(a5_0x4825ea(0x1ee)),{checkPwandBootstrapCli}=require(a5_0x4825ea(0x17a)),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function a5_0x3b1a(_0x3f216a,_0x5e60f2){const _0x4ab7ac=a5_0x4ab7();return a5_0x3b1a=function(_0x3b1a25,_0x38c925){_0x3b1a25=_0x3b1a25-0x174;let _0x2f959e=_0x4ab7ac[_0x3b1a25];return _0x2f959e;},a5_0x3b1a(_0x3f216a,_0x5e60f2);}function printCucumberStats(_0x3c7a2f){const _0x4546c7=a5_0x4825ea,_0x495284={};_0x495284[_0x4546c7(0x1b7)]=function(_0x26d92a,_0xcae003){return _0x26d92a>_0xcae003;},_0x495284[_0x4546c7(0x17d)]=function(_0x4e41d9,_0x261888){return _0x4e41d9-_0x261888;},_0x495284['Biqtu']=function(_0x3cba62,_0x5121c5){return _0x3cba62>_0x5121c5;},_0x495284['UzJDH']=function(_0x5256ea,_0x337984){return _0x5256ea>_0x337984;},_0x495284[_0x4546c7(0x18c)]=function(_0xf9cb58,_0x356db4){return _0xf9cb58>_0x356db4;},_0x495284[_0x4546c7(0x1bb)]=function(_0xbd38f8,_0x1dd95d){return _0xbd38f8>_0x1dd95d;},_0x495284[_0x4546c7(0x1dd)]=function(_0x23df29,_0x2509f1){return _0x23df29>_0x2509f1;},_0x495284[_0x4546c7(0x1e9)]=function(_0x1f65aa,_0x599810){return _0x1f65aa>_0x599810;},_0x495284[_0x4546c7(0x1d4)]=function(_0x561adc,_0x505c32){return _0x561adc+_0x505c32;},_0x495284[_0x4546c7(0x1dc)]=function(_0xed7f51,_0x2cabf8){return _0xed7f51+_0x2cabf8;},_0x495284[_0x4546c7(0x18f)]=function(_0x47540c,_0x3db42a){return _0x47540c+_0x3db42a;},_0x495284[_0x4546c7(0x19f)]=function(_0x5eeec6,_0x2cbd1b){return _0x5eeec6===_0x2cbd1b;},_0x495284[_0x4546c7(0x1eb)]=function(_0x199342,_0x42d54a){return _0x199342===_0x42d54a;},_0x495284[_0x4546c7(0x1fd)]='****\x20RESULTS\x20****';const _0x9cfa5d=_0x495284;let _0x123d78=0x0;if(_0x9cfa5d[_0x4546c7(0x1eb)](_0x3c7a2f[_0x4546c7(0x189)],0x0))return _0x123d78;return console[_0x4546c7(0x1a7)](chalk['bold']['bgWhite'](_0x9cfa5d[_0x4546c7(0x1fd)])),_0x3c7a2f[_0x4546c7(0x194)](_0x32f0ec=>{const _0x5176e3=_0x4546c7,_0x4596d6=_0x32f0ec[0x0],_0x4657b8=_0x32f0ec[0x1];helper[_0x5176e3(0x1f5)]()&&console[_0x5176e3(0x1a7)]('\x0a'+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1a2)](''+helper['getPlatformName'](_0x4596d6)));const _0x50218e=_0x4657b8[_0x5176e3(0x1d6)],_0x2a9491=_0x4657b8['steps'],_0x3494cb=_0x4657b8[_0x5176e3(0x1a8)],_0x378629=_0x4657b8['stepsFailed'],_0xfbd65a=_0x4657b8[_0x5176e3(0x1a5)],_0x33e80b=_0x4657b8[_0x5176e3(0x1e0)],_0xa45728=_0x4657b8['stepsPending'],_0x1e2ef5=_0x4657b8[_0x5176e3(0x1ab)],_0x575371=_0x4657b8[_0x5176e3(0x1e2)],_0x42a7db=_0x4657b8[_0x5176e3(0x1bc)],_0x30acf6=_0x4657b8[_0x5176e3(0x1f0)];let _0x4398ff=_0x50218e+_0x5176e3(0x1fe);const _0x2354b2=_0x9cfa5d[_0x5176e3(0x1b7)](_0x9cfa5d[_0x5176e3(0x17d)](_0x50218e,_0x3494cb),0x0)?_0x9cfa5d[_0x5176e3(0x17d)](_0x50218e,_0x3494cb):0x0;if(_0x9cfa5d[_0x5176e3(0x1c3)](_0x3494cb,0x0)&&_0x9cfa5d['UzJDH'](_0x2354b2,0x0))_0x4398ff+='\x20('+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1a4)](_0x3494cb+'\x20failed')+',\x20'+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1db)](_0x2354b2+'\x20passed')+')';else(_0x9cfa5d['JjQKD'](_0x3494cb,0x0)||_0x9cfa5d[_0x5176e3(0x1bb)](_0x2354b2,0x0))&&(_0x4398ff+=_0x9cfa5d[_0x5176e3(0x20b)](_0x3494cb,0x0)?'\x20('+chalk[_0x5176e3(0x1f6)]['red'](_0x3494cb+_0x5176e3(0x20f))+')':'\x20('+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1db)](_0x2354b2+_0x5176e3(0x174))+')');const _0x184146=_0x2a9491+'\x20steps',_0x1986eb=[];_0x9cfa5d[_0x5176e3(0x1dd)](_0x42a7db,0x0)&&_0x1986eb['push'](''+chalk[_0x5176e3(0x1f6)]['red'](_0x42a7db+_0x5176e3(0x19d)));_0x9cfa5d['Biqtu'](_0x378629,0x0)&&_0x1986eb[_0x5176e3(0x1b0)](''+chalk[_0x5176e3(0x1f6)]['red'](_0x378629+'\x20failed'));_0x9cfa5d['UTgjC'](_0xfbd65a,0x0)&&_0x1986eb['push'](''+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1db)](_0xfbd65a+'\x20passed'));_0x9cfa5d[_0x5176e3(0x1dd)](_0xa45728,0x0)&&_0x1986eb['push'](''+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1a2)](_0xa45728+'\x20pending'));_0x9cfa5d[_0x5176e3(0x1e9)](_0x33e80b,0x0)&&_0x1986eb[_0x5176e3(0x1b0)](''+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x192)](_0x33e80b+_0x5176e3(0x175)));_0x9cfa5d[_0x5176e3(0x1e9)](_0x1e2ef5,0x0)&&_0x1986eb[_0x5176e3(0x1b0)](''+chalk[_0x5176e3(0x1f6)]['yellow'](_0x1e2ef5+'\x20undefined'));_0x9cfa5d['ytyQA'](_0x575371,0x0)&&_0x1986eb['push'](''+chalk[_0x5176e3(0x1f6)][_0x5176e3(0x1a2)](_0x575371+_0x5176e3(0x175)));const _0x10d415=_0x9cfa5d[_0x5176e3(0x1d4)](_0x9cfa5d[_0x5176e3(0x1d4)](_0x9cfa5d[_0x5176e3(0x1d4)](_0x184146,'('),_0x1986eb['join'](',\x20')),')');console[_0x5176e3(0x1a7)](_0x9cfa5d[_0x5176e3(0x1d4)](_0x9cfa5d[_0x5176e3(0x1dc)](_0x9cfa5d[_0x5176e3(0x1d4)](_0x9cfa5d['gjDBU']('\x0a',_0x4398ff),'\x0a'),_0x10d415),'\x0a')),_0x9cfa5d[_0x5176e3(0x19f)](_0x30acf6,![])&&(_0x123d78=0x1);}),_0x123d78;}async function run(_0x99cd02,_0x1ed98e,_0x91548c){const _0x4e9ca3=a5_0x4825ea,_0x54f476={'yObvm':function(_0x451607,_0x3d9137){return _0x451607(_0x3d9137);},'wxYjw':function(_0x588b86,_0x5fb52c){return _0x588b86>_0x5fb52c;},'XZZtS':_0x4e9ca3(0x191),'XUMkZ':_0x4e9ca3(0x1c1),'ZZRoM':_0x4e9ca3(0x17b),'QceuA':'error\x20removing\x20tcg\x20config\x20file','AxgZY':_0x4e9ca3(0x177),'LIXyx':_0x4e9ca3(0x1d8),'KRdPB':function(_0x2a92c2,_0x31267c,_0x1ac174,_0x42469e){return _0x2a92c2(_0x31267c,_0x1ac174,_0x42469e);},'iAggB':'tmp','yxxHn':function(_0x15ccf6,_0x30b465){return _0x15ccf6-_0x30b465;},'ppsSl':function(_0xf5762f,_0x2379cb){return _0xf5762f>=_0x2379cb;},'yMKLo':function(_0x3cbc81,_0x1b63fe){return _0x3cbc81!=_0x1b63fe;},'MZUSW':_0x4e9ca3(0x1d0),'NFHsC':_0x4e9ca3(0x186),'TIyHI':function(_0x2d39a7,_0x215168){return _0x2d39a7(_0x215168);},'vwVpT':_0x4e9ca3(0x20e),'JKcmW':function(_0xabaa7f,_0x203044){return _0xabaa7f(_0x203044);},'zjJrI':function(_0x26677b,_0xb2efa){return _0x26677b(_0xb2efa);},'ijWSI':_0x4e9ca3(0x20d),'zBuAC':function(_0x53f14c,_0x479f58){return _0x53f14c===_0x479f58;},'MmdpJ':'../v2/browserstackCLI','EOUPH':_0x4e9ca3(0x1ee),'hoKRz':_0x4e9ca3(0x1d1),'wtvoz':function(_0x5a1690,_0x20e5ef){return _0x5a1690(_0x20e5ef);},'kxUwL':_0x4e9ca3(0x1ca),'qCBzu':function(_0x1d53d5,_0x23e8b4){return _0x1d53d5>=_0x23e8b4;},'yTyze':function(_0x5a76c5,_0x13b923){return _0x5a76c5===_0x13b923;},'KKTzx':function(_0x3d2773,_0x5ef968){return _0x3d2773(_0x5ef968);},'OSdGT':function(_0x2ebbaa,_0x8c3ce4){return _0x2ebbaa(_0x8c3ce4);},'EiGYH':_0x4e9ca3(0x19a),'JtUrZ':function(_0x179db6,_0x41e1d0,_0x443de8,_0x47428d,_0x3022b6,_0x3e7dd6){return _0x179db6(_0x41e1d0,_0x443de8,_0x47428d,_0x3022b6,_0x3e7dd6);}},_0x237b40=helper[_0x4e9ca3(0x211)](_0x54f476[_0x4e9ca3(0x1c0)]);global[_0x4e9ca3(0x1af)]=!!_0x237b40,process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x202)]=process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x202)]||_0x91548c['framework']||_0x54f476[_0x4e9ca3(0x1aa)],await _0x91548c[_0x4e9ca3(0x1ae)](_0x99cd02);if(_0x91548c[_0x4e9ca3(0x1e7)]&&!helper[_0x4e9ca3(0x21e)](_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x1e1)])){process[_0x4e9ca3(0x19e)]['BROWSERSTACK_LOG_LEVEL']=_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x1e1)];const _0x573434={};_0x573434[_0x4e9ca3(0x1e1)]=_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x1e1)],helper[_0x4e9ca3(0x198)](_0x573434,new Map(),new Map());}await _0x54f476[_0x4e9ca3(0x183)](checkPwandBootstrapCli,_0x237b40,constants[_0x4e9ca3(0x181)][_0x4e9ca3(0x1c9)],_0x91548c);BrowserstackCLI[_0x4e9ca3(0x1d7)]()[_0x4e9ca3(0x190)]&&(process['env'][_0x4e9ca3(0x1bf)]=BrowserstackCLI['getInstance']()[_0x4e9ca3(0x190)]);helper['setUserConfigPath'](_0x91548c['framework'],_0x99cd02);!helper[_0x4e9ca3(0x1f5)]()&&await _0x91548c[_0x4e9ca3(0x199)]();await helper[_0x4e9ca3(0x17f)](_0x91548c['config']);const _0x509c31=helper['useW3C'](_0x91548c[_0x4e9ca3(0x1e7)]);!helper[_0x4e9ca3(0x21e)](_0x91548c[_0x4e9ca3(0x1e7)]['accessibilityOptions'])&&(process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x197)]=JSON[_0x4e9ca3(0x1b5)](_0x91548c['config'][_0x4e9ca3(0x1de)]));if(!BrowserstackCLI['getInstance']()[_0x4e9ca3(0x1ef)]()){const _0x3cf7b5=await TestHubHandler[_0x4e9ca3(0x1d9)](constants[_0x4e9ca3(0x181)][_0x4e9ca3(0x1c9)],_0x91548c);}let _0x208bf2=[];if(!helper[_0x4e9ca3(0x1f5)]()){const _0x4cc7de={};_0x4cc7de[_0x4e9ca3(0x17e)]=[],_0x208bf2=helper[_0x4e9ca3(0x1b8)](Object[_0x4e9ca3(0x1cf)]({},_0x91548c[_0x4e9ca3(0x1e7)],_0x4cc7de),_0x509c31,constants['FRAMEWORKS']['CUCUMBER']);}else _0x208bf2=helper[_0x4e9ca3(0x1b8)](_0x91548c[_0x4e9ca3(0x1e7)],_0x509c31,constants['FRAMEWORKS']['CUCUMBER']);if(!_0x91548c['config'])return;const _0x19ffd4=_0x91548c['config'][_0x4e9ca3(0x217)]||helper[_0x4e9ca3(0x188)](_0x99cd02,_0x1ed98e,_0x91548c['config'],constants[_0x4e9ca3(0x181)][_0x4e9ca3(0x1c9)])||0x1,_0x29ffc3={'server':helper['getHubUrl'](_0x91548c['config']),'proxySettings':_0x91548c['config']['proxySettings'],'maxWorkers':_0x19ffd4,'browserStackLogLevel':_0x91548c['config'][_0x4e9ca3(0x1e1)],'skipSessionName':_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x1df)][_0x4e9ca3(0x1c7)],'skipSessionStatus':_0x91548c['config']['testContextOptions'][_0x4e9ca3(0x1be)],'turboScaleUrl':_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x176)]},_0xdef076=process[_0x4e9ca3(0x21f)],[_0x31eea2,_0x20f196]=helper[_0x4e9ca3(0x21b)](_0xdef076),_0x562324=path[_0x4e9ca3(0x184)](process[_0x4e9ca3(0x18a)](),_0x54f476[_0x4e9ca3(0x185)]);if(_0x54f476['wxYjw'](_0x20f196[_0x4e9ca3(0x189)],0x0)){helper[_0x4e9ca3(0x1a6)](_0x562324);for(let _0x4432f3=_0x54f476[_0x4e9ca3(0x1e4)](_0x31eea2['length'],0x1);_0x54f476[_0x4e9ca3(0x1bd)](_0x4432f3,0x0);_0x4432f3--){_0xdef076['splice'](_0x31eea2[_0x4432f3],0x2);}}_0x54f476['yMKLo'](_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x204)],null)?process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x193)]=_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x204)]:process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x193)]=_0x54f476[_0x4e9ca3(0x1d2)];if(_0x237b40)try{const {checkAccessibilityPlatformConfig:_0x4a1a90}=_0x54f476[_0x4e9ca3(0x20c)](require,_0x54f476[_0x4e9ca3(0x19b)]),{setAccessibilityCapabilities:_0x40a32a}=_0x54f476[_0x4e9ca3(0x209)](require,_0x54f476['vwVpT']),_0x5ec7a3=_0x54f476[_0x4e9ca3(0x206)](_0x4a1a90,_0x91548c['config']);if(!helper['isUndefined'](_0x91548c['config']['accessibility']))process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x219)]=_0x54f476[_0x4e9ca3(0x21c)](String,!!_0x91548c[_0x4e9ca3(0x1e7)][_0x4e9ca3(0x1ec)]);else helper[_0x4e9ca3(0x21e)](process[_0x4e9ca3(0x19e)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x219)]=_0x5ec7a3?_0x54f476['MZUSW']:_0x54f476['ijWSI']);process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x1b2)]=_0x5ec7a3?_0x54f476[_0x4e9ca3(0x1d2)]:_0x54f476[_0x4e9ca3(0x1fb)],!BrowserstackCLI[_0x4e9ca3(0x1d7)]()[_0x4e9ca3(0x1ef)]()&&_0x54f476[_0x4e9ca3(0x200)](process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x219)],_0x54f476['MZUSW'])&&_0x54f476[_0x4e9ca3(0x209)](_0x40a32a,_0x91548c['config']);}catch(_0x324078){logger[_0x4e9ca3(0x179)](_0x4e9ca3(0x1f9)+util[_0x4e9ca3(0x1ad)](_0x324078));}try{const _0x317f2d=_0x54f476[_0x4e9ca3(0x21c)](require,_0x54f476[_0x4e9ca3(0x18e)]),_0x4b1d47=_0x54f476['TIyHI'](require,_0x54f476['EOUPH']),{FRAMEWORKS:_0x352e7c}=_0x54f476[_0x4e9ca3(0x206)](require,_0x54f476[_0x4e9ca3(0x1f1)]),{checkAccessibilityPlatformConfig:_0x560435}=_0x54f476[_0x4e9ca3(0x206)](require,_0x54f476['NFHsC']),{setAccessibilityCapabilities:_0xe7df80}=_0x54f476[_0x4e9ca3(0x1f3)](require,_0x54f476[_0x4e9ca3(0x215)]),_0x3583a3=helper[_0x4e9ca3(0x211)](_0x54f476[_0x4e9ca3(0x1c0)]);if(_0x3583a3){_0x4b1d47[_0x4e9ca3(0x1b4)](constants[_0x4e9ca3(0x181)][_0x4e9ca3(0x1c9)],constants[_0x4e9ca3(0x181)][_0x4e9ca3(0x213)]),_0x317f2d['getInstance']()[_0x4e9ca3(0x1a0)](_0x91548c[_0x4e9ca3(0x1e7)],_0x91548c[_0x4e9ca3(0x18d)],_0x91548c['cliConfig']),await _0x317f2d[_0x4e9ca3(0x1d7)]()[_0x4e9ca3(0x1ff)]();const _0x48c2e7=_0x317f2d[_0x4e9ca3(0x1d7)]()['getConfig']();!helper[_0x4e9ca3(0x1da)](_0x48c2e7['browserstackAutomation'])&&(process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x1c4)]=_0x54f476[_0x4e9ca3(0x1d2)]);_0x54f476[_0x4e9ca3(0x200)](_0x48c2e7[_0x4e9ca3(0x207)],![])&&(process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x1c4)]=_0x54f476[_0x4e9ca3(0x1fb)]);const _0x3cbb05=_0x1ed98e[_0x4e9ca3(0x203)](_0x54f476[_0x4e9ca3(0x1b6)]);(_0x54f476[_0x4e9ca3(0x1c5)](_0x3cbb05,0x0)||_0x54f476[_0x4e9ca3(0x200)](_0x48c2e7[_0x4e9ca3(0x204)],![]))&&(process['env'][_0x4e9ca3(0x21a)]=_0x54f476['ijWSI']);if(!_0x317f2d[_0x4e9ca3(0x1d7)]()[_0x4e9ca3(0x1ef)]()){let _0x4e0dfc=_0x54f476[_0x4e9ca3(0x1b1)](process['env'][_0x4e9ca3(0x219)],_0x54f476[_0x4e9ca3(0x1d2)]);_0x4e0dfc=_0x4e0dfc||_0x54f476[_0x4e9ca3(0x1c8)](_0x560435,_0x91548c[_0x4e9ca3(0x1e7)]),process[_0x4e9ca3(0x19e)][_0x4e9ca3(0x219)]=_0x4e0dfc,_0x4e0dfc&&_0x54f476[_0x4e9ca3(0x212)](_0xe7df80,_0x91548c['config']);}}}catch(_0x1a489d){logger[_0x4e9ca3(0x179)](_0x4e9ca3(0x1c2)+util[_0x4e9ca3(0x1ad)](_0x1a489d));}!BrowserstackCLI[_0x4e9ca3(0x1d7)]()[_0x4e9ca3(0x1ef)]()&&await _0x91548c[_0x4e9ca3(0x1b9)]();PerformanceTester[_0x4e9ca3(0x208)](PerformanceEvents[_0x4e9ca3(0x1ed)]),process[_0x4e9ca3(0x19e)][_0x54f476[_0x4e9ca3(0x1ba)]]=process[_0x4e9ca3(0x18a)]();let _0x256809;_0x54f476['JtUrZ'](parallelCucumberRun,_0x208bf2,_0x29ffc3,_0x91548c['config'],_0xdef076,_0x20f196)['then'](async _0x33fc6e=>{const _0x926d21=_0x4e9ca3;PerformanceTester[_0x926d21(0x19c)](PerformanceEvents[_0x926d21(0x216)]),_0x256809=_0x33fc6e;const _0x94a531=_0x54f476[_0x926d21(0x20c)](printCucumberStats,_0x33fc6e);process[_0x926d21(0x187)]=_0x94a531,_0x54f476[_0x926d21(0x1fc)](_0x20f196[_0x926d21(0x189)],0x0)&&(logger[_0x926d21(0x179)](_0x54f476[_0x926d21(0x1f8)]),helper['mergeOutputFiles'](_0x562324,_0x20f196),logger['debug'](_0x54f476['XUMkZ']),helper[_0x926d21(0x1c6)](_0x562324));})[_0x4e9ca3(0x210)](async()=>{const _0x316502=_0x4e9ca3;PerformanceTester[_0x316502(0x19c)](PerformanceEvents[_0x316502(0x216)]),_0x91548c[_0x316502(0x182)]=helper['getErrorMessageFromResults'](_0x256809,_0x54f476[_0x316502(0x1ac)]),testOpsHelper[_0x316502(0x1ce)]();const _0xcb7897=BrowserstackCLI[_0x316502(0x1f4)]();try{await TestHubHandler[_0x316502(0x1b3)](),await BrowserstackCLI[_0x316502(0x1d7)]()[_0x316502(0x1b3)]();}catch(_0xa27d0a){logger[_0x316502(0x179)](_0x316502(0x201)+util[_0x316502(0x1ad)](_0xa27d0a));}try{const {browserstackFolderPath:_0x574630,tcgConfigPath:_0x292856}=helper[_0x316502(0x1a9)]();fs['unlinkSync'](_0x292856),fs[_0x316502(0x195)](_0x574630);}catch(_0xd07828){logger['debug'](_0x54f476[_0x316502(0x1d3)],_0xd07828);}await utilities['finalExecution'](_0x91548c,_0xcb7897);});}module[a5_0x4825ea(0x1ea)]=run;function a5_0x4ab7(){const _0x5baa2e=['33680713jZZtYP','FRAMEWORKS','errorMessage','KRdPB','join','iAggB','../../helpers/accessibility-automation/helper','exitCode','getUserWorkerCount','length','cwd','../../helpers/test-observability/utils','JjQKD','configPath','MmdpJ','gjDBU','binSessionId','Generating\x20consolidated\x20report...','cyan','BROWSERSTACK_TEST_OBSERVABILITY_YML','forEach','rmdirSync','EVENTS','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','setLogLevel','setupTCGAuth','browserStackCwd','NFHsC','start','\x20ambiguous','env','SABEL','setBrowserstackConfig','util','yellow','84698WTiuAT','red','stepsPassed','createDir','log','scenariosFailed','getTCGConfigFilePaths','LIXyx','stepsUndefined','ZZRoM','format','initialize','__isPlaywrightInstalled','push','yTyze','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','stop','setFrameworkDetail','stringify','kxUwL','tnVOz','prepareCapabilities','setupBrowserstackLocal','EiGYH','keBJy','stepsAmbiguous','ppsSl','skipSessionStatus','BROWSERSTACK_CLI_BIN_SESSION_ID','AxgZY','Removing\x20tmp\x20directory\x20created\x20for\x20reports','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','Biqtu','BROWSERSTACK_AUTOMATION','qCBzu','removeDir','skipSessionName','KKTzx','CUCUMBER','--disable-test-observability','3426wpSKal','chalk','../../helpers/performance/constants','printBuildLink','assign','true','../../helpers/test-observability/constants','MZUSW','QceuA','UdOdH','../test-runner','scenarios','getInstance','cucumber-js','launchBuild','isFalse','green','fziKh','ytyQA','accessibilityOptions','testContextOptions','stepsSkipped','logLevel','stepsUnknown','15DNExbJ','yxxHn','320zWtTcG','../../helpers/performance/performance-tester','config','184347VUiERK','UTgjC','exports','QcryB','accessibility','SDK_SETUP','../v2/cliUtils','isRunning','processSuccess','hoKRz','path','wtvoz','isCLIEnabled','isBrowserstackInfra','bold','852201dKjjFj','XZZtS','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','5033440kqceyG','ijWSI','wxYjw','bFJKP','\x20scenarios','bootstrap','zBuAC','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','BROWSERSTACK_FRAMEWORK','indexOf','testObservability','9520BOzUHC','JKcmW','browserstackAutomation','end','TIyHI','12FgonOc','UzJDH','yObvm','false','../playwright/accessibility-helper','\x20failed','finally','getPackageVersion','OSdGT','PLAYWRIGHT','3405458jSrdmj','vwVpT','SDK_CLEANUP','parallelsPerPlatform','../../helpers/logger','BROWSERSTACK_TEST_ACCESSIBILITY_YML','BROWSERSTACK_TEST_OBSERVABILITY','parseFormatters','zjJrI','16zakEkX','isUndefined','argv','\x20passed','\x20skipped','turboScaleUrl','@playwright/test','../../helpers/utilities','debug','../../helpers/playwright-helper','cucumber','../v2/browserstackCLI','XEUYO','platforms','handleApp'];a5_0x4ab7=function(){return _0x5baa2e;};return a5_0x4ab7();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0xfeda08=a6_0x660a;function a6_0x660a(_0xeb6e4b,_0x55416b){const _0x31936f=a6_0x3193();return a6_0x660a=function(_0x660a3d,_0x36fbc1){_0x660a3d=_0x660a3d-0x1f1;let _0x52101d=_0x31936f[_0x660a3d];return _0x52101d;},a6_0x660a(_0xeb6e4b,_0x55416b);}(function(_0x575f8a,_0x1c5b6b){const _0x15a5fb=a6_0x660a,_0x2ddb54=_0x575f8a();while(!![]){try{const _0x2fe598=parseInt(_0x15a5fb(0x209))/0x1+-parseInt(_0x15a5fb(0x261))/0x2*(parseInt(_0x15a5fb(0x29f))/0x3)+-parseInt(_0x15a5fb(0x291))/0x4*(-parseInt(_0x15a5fb(0x239))/0x5)+parseInt(_0x15a5fb(0x28a))/0x6*(-parseInt(_0x15a5fb(0x254))/0x7)+-parseInt(_0x15a5fb(0x286))/0x8+parseInt(_0x15a5fb(0x287))/0x9+-parseInt(_0x15a5fb(0x270))/0xa*(-parseInt(_0x15a5fb(0x29d))/0xb);if(_0x2fe598===_0x1c5b6b)break;else _0x2ddb54['push'](_0x2ddb54['shift']());}catch(_0x49e6fc){_0x2ddb54['push'](_0x2ddb54['shift']());}}}(a6_0x3193,0x9f799));function a6_0x3193(){const _0x43172e=['createTestFrameworkData','logTestRunFinished','rStBl','TVifs','pickle','DmSzH','onTestStepStarted','actionLocation','background','UnhandledError','CONFIG','onTestRunStarted','Ptdqz','duration','rule','uBuyd','707327vUpwNJ','finished_at','XygJM','MQPLx','lDiEv','onTestCaseStarted','description','OCqyv','testCaseMap','getInstance','../test-observability.js','assign','POST','cwd','steps','HookRunFinished','gherkinDocument','isCliEnabled','TestRunStarted','PASSED','testSteps','Exception\x20in\x20onTestStepStarted\x20event:\x20','util','env','Executing\x20tests\x20for\x20','gLbvI','onTestStepFinished','OiCrN','../../../bin/v2/TestInfo.js','ltwvw','MYTTN','QWtiZ','txvNh','extractStepContainers','forEach','bootstrap','testStepStarted','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','gherkinDocumentMap','isCLIReady','ZnHGx','testCases','FAILED','CkkKY','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','onTestRunFinished','LOG_REPORT','ocgLW','351510WdDDOu','RzXLg','Exception\x20in\x20onTestStepFinished\x20event:\x20','@cucumber/cucumber','cshuF','onGherkinDocument','OPVih','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','KUWOr','feature','includes','JnwxM','parse','../../../helpers/test-observability/error-handler','sendHook','ygRXV','debug','qaeoS','onSource','scenario','failureType','testStepFinished','../../../helpers/logger','yqjlA','getGherkinStepMap','testUUID','setup','84XmLGUd','seconds','hook_type','type','testStepResult','getTestCaseAttempt','incrementCounter','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','trackEvent','testRunStarted','hooks','oHqcl','_performCLIInitialization','1565548xRPUqF','\x20\x20\x20\x20',',\x20binSessionId:\x20','pJUQY','testCase','bBkMV','CUCUMBER','VcyAh','getTestFramework','../../../helpers/helper','format','find','pickleId','exception','RpSnm','10pyISQM','geDza','qAkke','map','mRCUx','testStepId','name','getTestUUID','testCaseStartedId','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','wMhrz','testCaseStarted','winstonLogger','testCaseAttemptDataMap','MmRCt','test','isRunning','supportCodeLibrary','onTestCase','ObrOK','EeTTk','testRunFinished','3985000DYpbUo','874683pAqIzl','DVEJv','../../v2/browserstackCLI.js','102306gbLWpq','PENDING','PLAYWRIGHT','log','ziWvk','SSGaR','AcLvd','56rPbztc','logTestCaseFinished','result','ZWkzz','eventBroadcaster','TEST','testCaseId','children','UNKNOWN','toISOString','TnDrg','hzune','3849758kAlWpL','cucumber-js/test.setup.js','3bArpQo','toString','lFoCr','pickleMap','exports','__platform','path','2|3|0|4|1','../../v2/cliUtils','iHWJV','CTmQx','onPickle','uUyLy','sEPbB','text','status','testCaseFinished','message','cliInitPromise','onTestCaseFinished','sendTestRunEventForCucumber','eventDataCollector','sourceLocation','ApToE','../../v2/utils/cucumber-utils.js','BROWSERSTACK_CLI_BIN_SESSION_ID','ensureCLIInitialized','ZSDEj','finishedAt','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','split','report','getGherkinDocument','PDRHc','capability','push','testCaseAttempt','onHook','binSessionId','stepDefinition','uri','hook','EyvMH','HookRunStarted'];a6_0x3193=function(){return _0x43172e;};return a6_0x3193();}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0xfeda08(0x26a)),util=require(a6_0xfeda08(0x21f)),{Formatter,formatterHelpers,Status}=requireModule(a6_0xfeda08(0x23c)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require(a6_0xfeda08(0x213)),{o11yClassErrorHandler}=require(a6_0xfeda08(0x246)),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require(a6_0xfeda08(0x289)),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require('../../v2/state/hookState.js'),CucumberUtils=require(a6_0xfeda08(0x2b7)),TestInfo=require(a6_0xfeda08(0x225)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0xfeda08(0x24f))[a6_0xfeda08(0x27c)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x57b71b){const _0x250466=a6_0xfeda08,_0x270f14={};_0x270f14[_0x250466(0x20c)]='envelope';const _0x47defc=_0x270f14;super(_0x57b71b),this[_0x250466(0x2be)]={},_0x57b71b[_0x250466(0x295)]['on'](_0x47defc[_0x250466(0x20c)],async _0x462606=>{const _0x3ed1b3=_0x250466;switch(!![]){case!!_0x462606[_0x3ed1b3(0x25d)]:this[_0x3ed1b3(0x204)](_0x462606[_0x3ed1b3(0x25d)]);break;case!!_0x462606['testRunFinished']:this[_0x3ed1b3(0x236)](_0x462606[_0x3ed1b3(0x285)]);break;case!!_0x462606[_0x3ed1b3(0x27b)]:this[_0x3ed1b3(0x20e)](_0x462606[_0x3ed1b3(0x27b)],_0x57b71b,_0x462606);break;case!!_0x462606[_0x3ed1b3(0x2af)]:this[_0x3ed1b3(0x2b2)](_0x462606[_0x3ed1b3(0x2af)],_0x57b71b,_0x462606);break;case!!_0x462606[_0x3ed1b3(0x22d)]:this[_0x3ed1b3(0x1ff)](_0x462606[_0x3ed1b3(0x22d)],_0x57b71b);break;case!!_0x462606[_0x3ed1b3(0x24e)]:this[_0x3ed1b3(0x223)](_0x462606[_0x3ed1b3(0x24e)],_0x57b71b);break;case!!_0x462606[_0x3ed1b3(0x1f6)]:this[_0x3ed1b3(0x1f2)](_0x462606['hook']);break;case!!_0x462606[_0x3ed1b3(0x265)]:this[_0x3ed1b3(0x282)](_0x462606[_0x3ed1b3(0x265)]);break;case!!_0x462606[_0x3ed1b3(0x1fd)]:this[_0x3ed1b3(0x2aa)](_0x462606[_0x3ed1b3(0x1fd)]);break;case!!_0x462606[_0x3ed1b3(0x219)]:this[_0x3ed1b3(0x23e)](_0x462606[_0x3ed1b3(0x219)]);break;}});}[a6_0xfeda08(0x1f2)](_0x1bcc6f){const _0xc6c72c=a6_0xfeda08;this[_0xc6c72c(0x2be)][_0xc6c72c(0x25e)]=Object[_0xc6c72c(0x214)]([],this[_0xc6c72c(0x2be)][_0xc6c72c(0x25e)]||[]),this[_0xc6c72c(0x2be)][_0xc6c72c(0x25e)][_0xc6c72c(0x2c2)](_0x1bcc6f);}[a6_0xfeda08(0x2aa)](_0x36f53e){const _0x3b55e1=a6_0xfeda08;this[_0x3b55e1(0x2be)]['pickle']=Object['assign']([],this['report']['pickle']||[],[_0x36f53e]),this[_0x3b55e1(0x2be)][_0x3b55e1(0x1fd)][_0x3b55e1(0x2c2)](_0x36f53e);}[a6_0xfeda08(0x23e)](_0x2a6bb4){const _0x262c45=a6_0xfeda08;this['report'][_0x262c45(0x219)]=Object[_0x262c45(0x214)]([],this['report'][_0x262c45(0x219)]||[],[_0x2a6bb4]),this[_0x262c45(0x2be)][_0x262c45(0x219)][_0x262c45(0x2c2)](_0x2a6bb4);}[a6_0xfeda08(0x24b)](_0x16b73b){const _0x549d41=a6_0xfeda08;this[_0x549d41(0x2be)]['source']=_0x16b73b;}['onStepDefinition'](_0x90ac96){const _0x18ba52=a6_0xfeda08;this['report']['stepDefinition']=Object[_0x18ba52(0x214)]([],this['report'][_0x18ba52(0x1f4)]||[],[_0x90ac96]),this[_0x18ba52(0x2be)][_0x18ba52(0x1f4)][_0x18ba52(0x2c2)](_0x90ac96);}[a6_0xfeda08(0x282)](_0x5a975d){const _0x167610=a6_0xfeda08;this['report'][_0x167610(0x232)]=Object[_0x167610(0x214)]([],this[_0x167610(0x2be)][_0x167610(0x232)]||[],[_0x5a975d]),this['report']['testCases'][_0x167610(0x2c2)](_0x5a975d);}[a6_0xfeda08(0x292)](_0xaf073d){const _0x58097f=a6_0xfeda08,_0x584503={'cshuF':function(_0x378f3c,_0x21934c){return _0x378f3c!==_0x21934c;},'lFoCr':'bstack','UQxVZ':function(_0x1adb3c,_0x25abf3){return _0x1adb3c+_0x25abf3;},'PDRHc':function(_0x2e2352,_0x19142d){return _0x2e2352+_0x19142d;},'VcyAh':function(_0x930267,_0x42137b){return _0x930267+_0x42137b;},'gLbvI':function(_0x413e27,_0x41cd48){return _0x413e27+_0x41cd48;},'rStBl':_0x58097f(0x262),'AcLvd':'\x20-\x20','ygRXV':function(_0x5d511b,_0x1618a8){return _0x5d511b===_0x1618a8;},'lEjqr':'FAILED','xyXaR':function(_0x277a4d,_0x209480,_0x5150c2){return _0x277a4d(_0x209480,_0x5150c2);},'MYTTN':_0x58097f(0x293),'ZSDEj':'message','uBuyd':function(_0x5f46f7,_0x1d5056){return _0x5f46f7+_0x1d5056;},'oHqcl':function(_0x30c763,_0x2e92d0){return _0x30c763+_0x2e92d0;},'RpSnm':function(_0x47abb4,_0x37d92b){return _0x47abb4+_0x37d92b;},'ziWvk':function(_0x143d3a,_0x16915f){return _0x143d3a+_0x16915f;},'DmSzH':function(_0x37bb92,_0x39e334){return _0x37bb92+_0x39e334;}};_0x584503[_0x58097f(0x23d)](global[_0x58097f(0x2a4)],undefined)&&this['log'](_0x584503['oHqcl'](_0x584503[_0x58097f(0x26f)]('\x0a',global['__platform']),'\x0a'));const _0x4ca9f8=this[_0x58097f(0x2b4)][_0x58097f(0x259)](_0xaf073d[_0x58097f(0x278)]);this['log'](_0x584503[_0x58097f(0x222)](_0x584503[_0x58097f(0x28e)](_0x584503[_0x58097f(0x28e)](_0x584503[_0x58097f(0x1fe)]('\x20\x20',_0x4ca9f8[_0x58097f(0x219)]['feature'][_0x58097f(0x276)]),_0x584503['AcLvd']),_0x4ca9f8[_0x58097f(0x1fd)][_0x58097f(0x276)]),'\x0a'));const _0xb7f4fb={};_0xb7f4fb['cwd']=this[_0x58097f(0x216)],_0xb7f4fb['snippetBuilder']=this['snippetBuilder'],_0xb7f4fb[_0x58097f(0x281)]=this[_0x58097f(0x281)],_0xb7f4fb[_0x58097f(0x1f1)]=_0x4ca9f8;const _0x5b191a=formatterHelpers['parseTestCaseAttempt'](_0xb7f4fb);let _0x4744d4=![];_0x5b191a['testSteps'][_0x58097f(0x22b)](_0x3532e1=>{const _0x383745=_0x58097f;if(_0x584503[_0x383745(0x23d)](_0x3532e1[_0x383745(0x276)],_0x584503[_0x383745(0x2a1)])&&!this['isBstackHook'](_0x3532e1)){totalTests+=0x1,this[_0x383745(0x28d)](_0x584503['UQxVZ'](_0x584503[_0x383745(0x2c0)](_0x584503[_0x383745(0x2c0)](_0x584503[_0x383745(0x268)](_0x584503['gLbvI'](_0x584503[_0x383745(0x1fb)],_0x3532e1['keyword']),_0x3532e1[_0x383745(0x2ad)]||''),_0x584503[_0x383745(0x290)]),Status[_0x3532e1[_0x383745(0x293)][_0x383745(0x2ae)]]),'\x0a')),this[_0x383745(0x25a)](Status[_0x3532e1[_0x383745(0x293)]['status']]);if(_0x584503[_0x383745(0x248)](Status[_0x3532e1[_0x383745(0x293)][_0x383745(0x2ae)]],_0x584503['lEjqr'])){_0x4744d4=!![];const _0x5349b6=_0x584503['xyXaR'](nestedKeyValue,_0x3532e1,[_0x584503[_0x383745(0x227)],_0x584503[_0x383745(0x2ba)]]);_0x5349b6&&(testsErrorMessage[_0x584503[_0x383745(0x208)](_0x584503[_0x383745(0x25f)](_0x4ca9f8[_0x383745(0x219)]['feature'][_0x383745(0x276)],_0x584503[_0x383745(0x290)]),_0x4ca9f8[_0x383745(0x1fd)][_0x383745(0x276)])]=_0x5349b6,this[_0x383745(0x28d)](_0x584503['uBuyd'](_0x5349b6,'\x0a')));}}}),_0x4744d4&&(testSuitesFailed+=0x1),this[_0x58097f(0x28d)]('\x0a');}['logTestRunFinished'](_0xd6e177){}['isBstackHook'](_0x59d2c4){const _0x11447a=a6_0xfeda08,_0x2fd2bb={};_0x2fd2bb[_0x11447a(0x2ac)]=function(_0x1e9eca,_0x5a680d){return _0x1e9eca!==_0x5a680d;},_0x2fd2bb['EyvMH']=_0x11447a(0x29e);const _0x260fef=_0x2fd2bb;if(_0x260fef[_0x11447a(0x2ac)](_0x59d2c4[_0x11447a(0x2b5)],undefined))return![];if(_0x59d2c4[_0x11447a(0x200)]&&_0x59d2c4[_0x11447a(0x200)][_0x11447a(0x1f5)][_0x11447a(0x243)](_0x260fef[_0x11447a(0x1f7)]))return!![];return![];}['incrementCounter'](_0x5cca86){const _0x411b55=a6_0xfeda08,_0x17a0da={};_0x17a0da[_0x411b55(0x250)]=_0x411b55(0x233),_0x17a0da['JnwxM']=_0x411b55(0x21c),_0x17a0da[_0x411b55(0x231)]='SKIPPED',_0x17a0da[_0x411b55(0x228)]=_0x411b55(0x28b),_0x17a0da[_0x411b55(0x226)]='UNDEFINED',_0x17a0da['EeTTk']=_0x411b55(0x299),_0x17a0da[_0x411b55(0x210)]='AMBIGUOUS';const _0x2a81d5=_0x17a0da;switch(_0x5cca86){case _0x2a81d5[_0x411b55(0x250)]:testsFailed+=0x1;break;case _0x2a81d5[_0x411b55(0x244)]:testsPassed+=0x1;break;case _0x2a81d5[_0x411b55(0x231)]:testsSkipped+=0x1;break;case _0x2a81d5[_0x411b55(0x228)]:testsPending+=0x1;break;case _0x2a81d5[_0x411b55(0x226)]:testsUndefined+=0x1;break;case _0x2a81d5[_0x411b55(0x284)]:testsUnknown+=0x1;break;case _0x2a81d5['OCqyv']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0xfeda08(0x204)](_0xd00126){const _0x303af1=a6_0xfeda08,_0x340bd3={'qAkke':function(_0x477dbd,_0x415c92){return _0x477dbd!==_0x415c92;},'KUWOr':function(_0x799a9f){return _0x799a9f();},'Ptdqz':function(_0x59a79b,_0x58e30c){return _0x59a79b(_0x58e30c);},'ocgLW':function(_0xa0d148,_0x1cc40e){return _0xa0d148+_0x1cc40e;},'pJUQY':function(_0x2d5f58){return _0x2d5f58();},'ObrOK':'cucumber'};let _0x2f8cdc;if(_0x340bd3[_0x303af1(0x272)](process[_0x303af1(0x220)]['CONFIG'],undefined)){const _0x5155a2=JSON[_0x303af1(0x245)](process[_0x303af1(0x220)][_0x303af1(0x203)]);_0x2f8cdc=_0x5155a2[_0x303af1(0x2c1)];}_0x340bd3[_0x303af1(0x272)](_0x2f8cdc,undefined)&&_0x340bd3[_0x303af1(0x241)](isBrowserstackInfra)&&(global[_0x303af1(0x2a4)]=_0x340bd3[_0x303af1(0x205)](getPlatformName,_0x2f8cdc),this[_0x303af1(0x28d)](_0x340bd3[_0x303af1(0x238)](_0x303af1(0x221)+global[_0x303af1(0x2a4)],'\x0a'))),_0x340bd3[_0x303af1(0x264)](shouldProcessEventForTesthub)&&(TestDetails[_0x303af1(0x253)](),this[_0x303af1(0x2be)][_0x303af1(0x25d)]=_0xd00126,BrowserstackCLI[_0x303af1(0x212)]()['isCliEnabled']()&&await this[_0x303af1(0x230)]()&&(TestInfo[_0x303af1(0x253)](_0x340bd3[_0x303af1(0x283)]),await BrowserstackCLI['getInstance']()['getTestFramework']()['trackEvent'](TestFrameworkState['INIT_TEST'],HookState['PRE'],{})));}[a6_0xfeda08(0x236)](_0x3fa3d6){const _0x22aa62=a6_0xfeda08;this[_0x22aa62(0x2be)][_0x22aa62(0x285)]=_0x3fa3d6,this[_0x22aa62(0x1fa)](_0x3fa3d6);}async[a6_0xfeda08(0x20e)](_0x2f0f3e,_0x58ef46,_0x1a83f6){const _0x2e9bf7=a6_0xfeda08,_0x2ced38={'ApToE':function(_0x155a9f,_0x3a441f){return _0x155a9f(_0x3a441f);},'lDiEv':_0x2e9bf7(0x21b),'iHWJV':function(_0x6c1758,_0x379e73){return _0x6c1758&&_0x379e73;}};testSuites+=0x1;if(_0x2ced38[_0x2e9bf7(0x2b6)](shouldProcessEventForTesthub,_0x2ced38[_0x2e9bf7(0x20d)]))try{this[_0x2e9bf7(0x2be)][_0x2e9bf7(0x27b)]=this[_0x2e9bf7(0x2be)][_0x2e9bf7(0x27b)]||{},this[_0x2e9bf7(0x2be)][_0x2e9bf7(0x27b)][_0x2f0f3e['id']]=_0x2f0f3e;let _0x57aa71=null;BrowserstackCLI[_0x2e9bf7(0x212)]()['isCliEnabled']()&&await this['isCLIReady']()?_0x57aa71=TestInfo[_0x2e9bf7(0x277)](_0x2f0f3e['id']):_0x57aa71=TestDetails['getTestUUID'](_0x2f0f3e['id']);_testCasesData[_0x2f0f3e['id']]=Object['assign']({},_0x1a83f6);const _0x430222=this['report'],_0x4c6e4d=_0x2f0f3e[_0x2e9bf7(0x297)],_0x305a28=_0x430222['testCases']['find'](_0x144aae=>_0x144aae['id']===_0x4c6e4d)[_0x2e9bf7(0x26d)],_0x797574=_0x430222[_0x2e9bf7(0x1fd)][_0x2e9bf7(0x26c)](_0x2a2769=>_0x2a2769['id']===_0x305a28),_0x398827=_0x430222[_0x2e9bf7(0x219)]['find'](_0x53a050=>_0x53a050[_0x2e9bf7(0x1f5)]===_0x797574[_0x2e9bf7(0x1f5)]),_0x522095=_0x398827[_0x2e9bf7(0x242)],_0x5a2e28={'uuid':_0x57aa71,'startedAt':new Date()['toISOString']()};if(_0x797574){const _0x3b95d3={};_0x3b95d3[_0x2e9bf7(0x276)]=_0x797574['name'],_0x5a2e28[_0x2e9bf7(0x24c)]=_0x3b95d3;}if(_0x2ced38[_0x2e9bf7(0x2a8)](_0x398827,_0x522095)){const _0x553ce8={};_0x553ce8[_0x2e9bf7(0x2a5)]=_0x398827[_0x2e9bf7(0x1f5)],_0x553ce8[_0x2e9bf7(0x276)]=_0x522095[_0x2e9bf7(0x276)],_0x553ce8[_0x2e9bf7(0x20f)]=_0x522095[_0x2e9bf7(0x20f)],_0x5a2e28['feature']=_0x553ce8;}_tests[_0x4c6e4d]=_0x5a2e28;if(BrowserstackCLI[_0x2e9bf7(0x212)]()[_0x2e9bf7(0x21a)]()&&await this[_0x2e9bf7(0x230)]()){const _0x1e0574=await cucumberUtils[_0x2e9bf7(0x1f9)](_0x5a2e28,_0x797574,_0x1a83f6,_0x398827,_0x2f0f3e['id'],_0x2ced38[_0x2e9bf7(0x20d)]),_0x1c079b={};_0x1c079b[_0x2e9bf7(0x27f)]=_0x1e0574,await BrowserstackCLI[_0x2e9bf7(0x212)]()['getTestFramework']()['trackEvent'](TestFrameworkState['TEST'],HookState['PRE'],_0x1c079b);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x1a83f6,_0x398827,_0x797574,_0x2ced38[_0x2e9bf7(0x20d)],_0x5a2e28);}catch(_0x39b191){logger['debug'](_0x2e9bf7(0x235)+util[_0x2e9bf7(0x26b)](_0x39b191)+'\x20');}}async['onTestCaseFinished'](_0x57ca06,_0xc755f7,_0x1312f8){const _0xd66a6a=a6_0xfeda08,_0x56be21={'iXQvW':function(_0x46335e,_0xfb6790){return _0x46335e(_0xfb6790);},'OPVih':'TestRunFinished','wMhrz':_0xd66a6a(0x27f)};this['logTestCaseFinished'](_0x57ca06);if(_0x56be21['iXQvW'](shouldProcessEventForTesthub,_0x56be21[_0xd66a6a(0x23f)]))try{this[_0xd66a6a(0x2be)][_0xd66a6a(0x2af)]=this[_0xd66a6a(0x2be)][_0xd66a6a(0x2af)]||{},this['report'][_0xd66a6a(0x2af)][_0x57ca06[_0xd66a6a(0x278)]]=_0x57ca06,_testCasesData[_0x1312f8['id']]=Object[_0xd66a6a(0x214)]({},_0x1312f8);const _0x1ce4c4=_0x57ca06[_0xd66a6a(0x278)],_0xda2e79=_0xc755f7['eventDataCollector']['testCaseAttemptDataMap'][_0x1ce4c4][_0xd66a6a(0x297)],_0x273146=_0xc755f7[_0xd66a6a(0x2b4)]['testCaseMap'][_0xda2e79],_0x476638=_0x273146[_0xd66a6a(0x26d)],_0x2f0d0d=_0xc755f7[_0xd66a6a(0x2b4)]['pickleMap'][_0x476638],_0x46aab6=this[_0xd66a6a(0x2bf)](_0xc755f7,_0x2f0d0d),_0x3328a5=_0x46aab6[_0xd66a6a(0x242)],_0x5e879b=_tests[_0xda2e79];_0x5e879b&&(delete _tests[_0xda2e79],_0x5e879b[_0xd66a6a(0x2bb)]=new Date()[_0xd66a6a(0x29a)]());if(BrowserstackCLI['getInstance']()[_0xd66a6a(0x21a)]()&&await this[_0xd66a6a(0x230)]()){const _0x205bf9=await cucumberUtils[_0xd66a6a(0x1f9)](_0x5e879b,_0x2f0d0d,_0x1312f8,_0x46aab6,_0x1ce4c4,_0x56be21[_0xd66a6a(0x23f)]),_0x3eda5a={};_0x3eda5a[_0xd66a6a(0x27f)]=_0x205bf9,await BrowserstackCLI['getInstance']()[_0xd66a6a(0x269)]()['trackEvent'](TestFrameworkState[_0xd66a6a(0x296)],HookState[_0xd66a6a(0x215)],_0x3eda5a);const _0xd310d6={};_0xd310d6[_0xd66a6a(0x252)]=_0x57ca06[_0xd66a6a(0x278)],_0xd310d6[_0xd66a6a(0x257)]=_0x56be21[_0xd66a6a(0x27a)],await BrowserstackCLI['getInstance']()[_0xd66a6a(0x269)]()['trackEvent'](TestFrameworkState[_0xd66a6a(0x237)],HookState['POST'],_0xd310d6);return;}await testObservabilityReporter[_0xd66a6a(0x2b3)](_0x1312f8,_0x46aab6,_0x2f0d0d,_0x56be21['OPVih'],_0x5e879b);}catch(_0x2ea82a){logger[_0xd66a6a(0x249)](_0xd66a6a(0x25b)+util[_0xd66a6a(0x26b)](_0x2ea82a));}}async[a6_0xfeda08(0x1ff)](_0x1ea8f3,_0x284875){const _0x19269b=a6_0xfeda08,_0x23f5bb={'DrRXf':function(_0x46454d,_0x41beff){return _0x46454d(_0x41beff);},'CkkKY':_0x19269b(0x1f8),'CTmQx':function(_0x340c2c,_0x2c0ee9){return _0x340c2c!==_0x2c0ee9;},'geDza':'testStepId'};if(_0x23f5bb['DrRXf'](shouldProcessEventForTesthub,_0x23f5bb[_0x19269b(0x234)]))try{this[_0x19269b(0x2be)][_0x19269b(0x22d)]=this[_0x19269b(0x2be)][_0x19269b(0x22d)]||{},this[_0x19269b(0x2be)][_0x19269b(0x22d)][_0x1ea8f3['testCaseStartedId']]=_0x1ea8f3;const _0x12cd91=_0x1ea8f3['testCaseStartedId'],_0x471c6b=_0x284875['eventDataCollector']['testCaseAttemptDataMap'][_0x12cd91][_0x19269b(0x297)],_0x2401bb=this[_0x19269b(0x2be)][_0x19269b(0x232)][_0x19269b(0x26c)](_0xa16bb1=>_0xa16bb1['id']===_0x471c6b)[_0x19269b(0x26d)],_0x4069ab=this['report'][_0x19269b(0x1fd)][_0x19269b(0x26c)](_0x31b105=>_0x31b105['id']===_0x2401bb),_0x4c1266=this['report'][_0x19269b(0x232)][_0x19269b(0x26c)](_0x47e9e6=>_0x47e9e6['id']===_0x471c6b)['testSteps'],_0xe86144=this['report'][_0x19269b(0x22d)][_0x12cd91][_0x19269b(0x275)],_0x578403=_0x4c1266[_0x19269b(0x26c)](_0x20b8d1=>_0x20b8d1['id']===_0xe86144)['pickleStepId'],_0x66492d=_0x4069ab[_0x19269b(0x217)]['find'](_0x7401cc=>_0x7401cc['id']===_0x578403);if(_0x578403&&_tests[_0x471c6b]&&_0x23f5bb[_0x19269b(0x2a9)](_tests[_0x471c6b][_0x23f5bb[_0x19269b(0x271)]],_0xe86144)){_tests[_0x471c6b][_0x23f5bb[_0x19269b(0x271)]]=_0xe86144;const _0x408927={};_0x408927['steps']=[];const _0x43c356=_tests[_0x471c6b]||_0x408927;_0x43c356&&!_0x43c356[_0x19269b(0x217)]&&(_0x43c356[_0x19269b(0x217)]=[]),_0x43c356[_0x19269b(0x217)][_0x19269b(0x2c2)]({'id':_0x66492d['id'],'text':_0x66492d[_0x19269b(0x2ad)],'started_at':new Date()['toISOString']()}),_tests[_0x471c6b]=_0x43c356;}if(BrowserstackCLI[_0x19269b(0x212)]()[_0x19269b(0x21a)]()&&await this[_0x19269b(0x230)]()){const _0x509c11=await cucumberUtils['createHookData'](this['report'],_0x12cd91,_0x23f5bb[_0x19269b(0x234)],_0x4c1266,_0xe86144,_tests[_0x471c6b]);_0x509c11&&await BrowserstackCLI[_0x19269b(0x212)]()['getTestFramework']()[_0x19269b(0x25c)](TestFrameworkState[_0x509c11['hook_type']],HookState['PRE'],{'hookData':_0x509c11,'testUUID':_0x1ea8f3[_0x19269b(0x278)]});return;}await testObservabilityReporter[_0x19269b(0x247)](this[_0x19269b(0x2be)],_0x12cd91,_0x23f5bb[_0x19269b(0x234)],_0x4c1266,_0xe86144,_tests[_0x471c6b]);}catch(_0x484929){logger[_0x19269b(0x249)](_0x19269b(0x21e)+util[_0x19269b(0x26b)](_0x484929));}}async['onTestStepFinished'](_0x4a3221,_0x11ef29){const _0xefabe7=a6_0xfeda08,_0x3cfbe7={'hzune':function(_0x2618c9,_0x32decf){return _0x2618c9===_0x32decf;},'bBkMV':_0xefabe7(0x2a6),'uUyLy':function(_0x3048f5,_0x56fa15){return _0x3048f5(_0x56fa15);},'OiCrN':_0xefabe7(0x218),'GrbDc':'failed','MmRCt':function(_0xea922e,_0x44ccdd){return _0xea922e===_0x44ccdd;},'XygJM':_0xefabe7(0x202),'qaeoS':'testStepId','DVEJv':'HookRunStarted','RzXLg':'hook'};this['report'][_0xefabe7(0x24e)]=this['report']['testStepFinished']||{},this[_0xefabe7(0x2be)][_0xefabe7(0x24e)][_0x4a3221[_0xefabe7(0x278)]]=_0x4a3221;if(_0x3cfbe7[_0xefabe7(0x2ab)](shouldProcessEventForTesthub,_0x3cfbe7[_0xefabe7(0x224)]))try{const _0x2bfaa4=_0x4a3221[_0xefabe7(0x278)],_0x17452d=_0x11ef29[_0xefabe7(0x2b4)][_0xefabe7(0x27d)][_0x2bfaa4][_0xefabe7(0x297)],_0x29dd7c=_0x11ef29[_0xefabe7(0x2b4)][_0xefabe7(0x211)][_0x17452d],_0x4d1b93=_0x29dd7c['pickleId'],_0x1ad0d0=_0x11ef29[_0xefabe7(0x2b4)][_0xefabe7(0x2a2)][_0x4d1b93],_0x1d8701=_0x4a3221[_0xefabe7(0x275)],_0x282c7b=_0x29dd7c[_0xefabe7(0x21d)],_0x45bef2=this[_0xefabe7(0x2b4)][_0xefabe7(0x259)](_0x2bfaa4),_0x5bf07e=_0x282c7b[_0xefabe7(0x26c)](_0x5d45c9=>_0x5d45c9['id']===_0x1d8701)['pickleStepId'];let _0x35f73a,_0x59d559;_0x4a3221[_0xefabe7(0x258)]&&_0x3cfbe7['hzune'](_0x4a3221[_0xefabe7(0x258)][_0xefabe7(0x2ae)][_0xefabe7(0x2a0)]()['toLowerCase'](),_0x3cfbe7['GrbDc'])&&(_0x35f73a=_0x3cfbe7[_0xefabe7(0x27e)](_0x4a3221[_0xefabe7(0x258)]['exception'],undefined)?_0x4a3221[_0xefabe7(0x258)][_0xefabe7(0x2b0)]:_0x4a3221['testStepResult']['exception'][_0xefabe7(0x2b0)],_0x59d559=_0x3cfbe7[_0xefabe7(0x29c)](_0x4a3221[_0xefabe7(0x258)][_0xefabe7(0x26e)],undefined)?_0x3cfbe7[_0xefabe7(0x20b)]:_0x4a3221['testStepResult'][_0xefabe7(0x2b0)]);if(_0x5bf07e&&_tests[_0x17452d][_0x3cfbe7[_0xefabe7(0x24a)]]){const _0x2b5293=_0x1ad0d0['steps'][_0xefabe7(0x26c)](_0x41ff83=>_0x41ff83['id']===_0x5bf07e),_0x452679={};_0x452679[_0xefabe7(0x217)]=[];const _0x4cb347=_tests[_0x17452d]||_0x452679;!_0x4cb347[_0xefabe7(0x217)]?_0x4cb347[_0xefabe7(0x217)]=[{'id':_0x2b5293['id'],'text':_0x2b5293[_0xefabe7(0x2ad)],'finished_at':new Date()['toISOString'](),'result':_0x4a3221[_0xefabe7(0x258)][_0xefabe7(0x2ae)],'duration':_0x4a3221[_0xefabe7(0x258)][_0xefabe7(0x206)][_0xefabe7(0x255)],'failure':_0x35f73a,'failureType':_0x59d559}]:_0x4cb347[_0xefabe7(0x217)][_0xefabe7(0x22b)](_0x4eba22=>{const _0x411523=_0xefabe7;if(_0x3cfbe7[_0x411523(0x29c)](_0x4eba22['id'],_0x2b5293['id'])){const _0x42b36e=_0x3cfbe7[_0x411523(0x266)][_0x411523(0x2bd)]('|');let _0x2548e6=0x0;while(!![]){switch(_0x42b36e[_0x2548e6++]){case'0':_0x4eba22['duration']=_0x4a3221[_0x411523(0x258)][_0x411523(0x206)][_0x411523(0x255)];continue;case'1':_0x4eba22[_0x411523(0x24d)]=_0x59d559;continue;case'2':_0x4eba22[_0x411523(0x20a)]=new Date()['toISOString']();continue;case'3':_0x4eba22[_0x411523(0x293)]=_0x4a3221['testStepResult'][_0x411523(0x2ae)];continue;case'4':_0x4eba22['failure']=_0x35f73a;continue;}break;}}}),_tests[_0x17452d]=_0x4cb347;}delete _tests[_0x17452d][_0x3cfbe7[_0xefabe7(0x24a)]];if(BrowserstackCLI[_0xefabe7(0x212)]()['isCliEnabled']()&&await this[_0xefabe7(0x230)]()){const _0x3bbbfa=await cucumberUtils['createHookData'](this[_0xefabe7(0x2be)],_0x2bfaa4,_0x3cfbe7[_0xefabe7(0x288)],_0x282c7b,_0x1d8701,_tests[_0x17452d]);if(_0x3bbbfa){await BrowserstackCLI[_0xefabe7(0x212)]()['getTestFramework']()[_0xefabe7(0x25c)](TestFrameworkState[_0x3bbbfa[_0xefabe7(0x256)]],HookState[_0xefabe7(0x215)],{'hookData':_0x3bbbfa,'testUUID':_0x4a3221[_0xefabe7(0x278)]});const _0x55d53f={};_0x55d53f['testUUID']=_0x4a3221[_0xefabe7(0x278)],_0x55d53f['type']=_0x3cfbe7[_0xefabe7(0x23a)],await BrowserstackCLI[_0xefabe7(0x212)]()[_0xefabe7(0x269)]()['trackEvent'](TestFrameworkState[_0xefabe7(0x237)],HookState[_0xefabe7(0x215)],_0x55d53f);}return;}await testObservabilityReporter[_0xefabe7(0x247)](this[_0xefabe7(0x2be)],_0x2bfaa4,_0x3cfbe7[_0xefabe7(0x224)],_0x282c7b,_0x1d8701,_tests[_0x17452d]);}catch(_0x53da49){logger[_0xefabe7(0x249)](_0xefabe7(0x23b)+util[_0xefabe7(0x26b)](_0x53da49));}}['getGherkinStepMap'](_0x421dd7){const _0xd8d3d9=a6_0xfeda08,_0x466e7b={};return _0x421dd7[_0xd8d3d9(0x242)][_0xd8d3d9(0x298)]['map'](this[_0xd8d3d9(0x22a)])['flat']()[_0xd8d3d9(0x22b)](_0x34d7fd=>_0x34d7fd[_0xd8d3d9(0x217)]['forEach'](_0x1fff55=>_0x466e7b[_0x1fff55['id']]=_0x1fff55)),_0x466e7b;}[a6_0xfeda08(0x22a)](_0x452aea){const _0x4b9717=a6_0xfeda08,_0x461088={'mRCUx':function(_0x2bd244,_0x31968a){return _0x2bd244(_0x31968a);},'TnDrg':function(_0xadfc3e,_0xc6bf9){return _0xadfc3e(_0xc6bf9);}};if(!_0x461088[_0x4b9717(0x274)](isUndefined,_0x452aea[_0x4b9717(0x201)]))return[_0x452aea[_0x4b9717(0x201)]];else{if(!_0x461088[_0x4b9717(0x29b)](isUndefined,_0x452aea[_0x4b9717(0x207)]))return _0x452aea[_0x4b9717(0x207)][_0x4b9717(0x298)][_0x4b9717(0x273)](_0x5be733=>!isUndefined(_0x5be733[_0x4b9717(0x201)])?_0x5be733['background']:_0x5be733[_0x4b9717(0x24c)]);};return[_0x452aea[_0x4b9717(0x24c)]];}[a6_0xfeda08(0x2bf)](_0x49fe80,_0x4c3726){const _0x3dfda2=a6_0xfeda08;return Object['values'](_0x49fe80[_0x3dfda2(0x2b4)][_0x3dfda2(0x22f)])[_0x3dfda2(0x26c)](_0x34f71c=>_0x34f71c[_0x3dfda2(0x1f5)]===_0x4c3726[_0x3dfda2(0x1f5)]);}async[a6_0xfeda08(0x2b9)](){const _0x452be1=a6_0xfeda08;if(this[_0x452be1(0x2b1)])return this[_0x452be1(0x2b1)];return this['cliInitPromise']=this[_0x452be1(0x260)](),this['cliInitPromise'];}async[a6_0xfeda08(0x260)](){const _0xa8d182=a6_0xfeda08,_0x1f206a={'ZWkzz':_0xa8d182(0x22e),'TVifs':function(_0x1f3ee0,_0x248771){return _0x1f3ee0(_0x248771);},'SSGaR':_0xa8d182(0x2a7),'txvNh':'../../utils/constants'};try{const _0x17107a=BrowserstackCLI['getInstance']();if(_0x17107a[_0xa8d182(0x280)]())return logger[_0xa8d182(0x249)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x17107a[_0xa8d182(0x1f3)]),!![];const _0x31a8d7=process[_0xa8d182(0x220)][_0xa8d182(0x2b8)];if(!_0x31a8d7)return logger[_0xa8d182(0x249)](_0x1f206a[_0xa8d182(0x294)]),![];const _0x40710b=_0x1f206a[_0xa8d182(0x1fc)](require,_0x1f206a[_0xa8d182(0x28f)]),{FRAMEWORKS:_0x530f7e}=_0x1f206a[_0xa8d182(0x1fc)](require,_0x1f206a[_0xa8d182(0x229)]);return _0x40710b['setFrameworkDetail'](_0x530f7e[_0xa8d182(0x267)],_0x530f7e[_0xa8d182(0x28c)]),logger['debug']('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x31a8d7),await _0x17107a[_0xa8d182(0x22c)](),logger[_0xa8d182(0x249)](_0xa8d182(0x2bc)+_0x17107a['isRunning']()+_0xa8d182(0x263)+_0x17107a['binSessionId']),_0x17107a['isRunning']();}catch(_0x51e61a){return logger['debug'](_0xa8d182(0x279)+util[_0xa8d182(0x26b)](_0x51e61a)),![];}}async[a6_0xfeda08(0x230)](){const _0x77a459=a6_0xfeda08;try{return await this['ensureCLIInitialized'](),BrowserstackCLI['getInstance']()[_0x77a459(0x280)]();}catch(_0x5e86d){return logger[_0x77a459(0x249)](_0x77a459(0x240)+util[_0x77a459(0x26b)](_0x5e86d)),![];}}}module[a6_0xfeda08(0x2a3)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0xfeda08(0x20e),a6_0xfeda08(0x2b2),a6_0xfeda08(0x1ff),a6_0xfeda08(0x223),a6_0xfeda08(0x204),'onTestRunFinished','extractStepContainers',a6_0xfeda08(0x2bf),a6_0xfeda08(0x251)]);
|
|
1
|
+
const a6_0x863044=a6_0x4c08;(function(_0x30ab2b,_0x561a4c){const _0x554523=a6_0x4c08,_0x4acb28=_0x30ab2b();while(!![]){try{const _0x4e62bb=-parseInt(_0x554523(0x15b))/0x1+parseInt(_0x554523(0x211))/0x2+-parseInt(_0x554523(0x1fd))/0x3+-parseInt(_0x554523(0x1ef))/0x4+parseInt(_0x554523(0x204))/0x5*(-parseInt(_0x554523(0x20f))/0x6)+parseInt(_0x554523(0x1b3))/0x7*(-parseInt(_0x554523(0x1a0))/0x8)+parseInt(_0x554523(0x1ab))/0x9;if(_0x4e62bb===_0x561a4c)break;else _0x4acb28['push'](_0x4acb28['shift']());}catch(_0xbd333b){_0x4acb28['push'](_0x4acb28['shift']());}}}(a6_0x4253,0x9f6e2));function a6_0x4253(){const _0x2fded2=['logTestRunFinished','8AGGakI','name','log','uri','jjmpZ','TestRunFinished','cucumber-js/test.setup.js','parse','hooks','pickleId','hook_type','17373384SatzAi','zgdhL','dAduV','sNogo','../test-observability.js','incrementCounter','getInstance','extractStepContainers','22561XZjbkw','keyword','PRE','LOG_REPORT','../../../helpers/helper','JfoEN','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','steps','TKibL','rcLbw','3|4|0|2|1','TEST','Exception\x20in\x20onTestStepStarted\x20event:\x20','onTestCaseFinished','sourceLocation','gherkinDocument','env','BROWSERSTACK_CLI_BIN_SESSION_ID','onTestCaseStarted','testCaseStartedId','../../v2/state/testFrameworkState.js','testUUID','rule','HookRunStarted','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','XdpGH','binSessionId','toLowerCase','testCaseId','debug','duration','onTestStepStarted','hook','testRunFinished','testCases','trackEvent','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','LGzHO','testCaseMap','jrANY','eventBroadcaster','../../v2/state/hookState.js','push','wHwUs','HnCxo','exports','WMsbo','mnVxB','../../v2/browserstackCLI.js','../../utils/constants','isRunning','OzZAu','RrWfZ','text','util','forEach','testCaseAttemptDataMap','getTestFramework','_performCLIInitialization','INIT_TEST','3774932AvjCUy','TestRunStarted','ldOTc','onHook','children','flat','exception','HlXEH','LaNgP','snippetBuilder','Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20','sendTestRunEventForCucumber','sendHook','getGherkinDocument','543312ECguXE','bJDoF','yCgWl','fnxAt','UnhandledError','scenario','MuAah','1595zGCroU','wwSns','pickle','testRunStarted','bootstrap','WLQey','onTestStepFinished','finishedAt','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','uUDtr','assign','10542uSoCOM','Bmzwx','1872708lXBfjV','format','isCLIReady','cliInitPromise','onTestRunFinished','logTestCaseFinished','setFrameworkDetail','Executing\x20tests\x20for\x20','onPickle','POST','\x20\x20\x20\x20','testStepFinished','pickleMap','../../../bin/v2/TestInfo.js','testSteps','testCaseStarted','onGherkinDocument','AwmGs','supportCodeLibrary','HookRunFinished','wyvuI','jqjJV','gTnUQ','find','isCliEnabled','testStepStarted','525161aDSBZu','TPpyB','pRPjO','toString','eventDataCollector','seconds','split','SCgpe','PLAYWRIGHT','result','testCaseAttempt','SKIPPED','bstack','cwd',',\x20binSessionId:\x20','createHookData','background','BQquv','EeTzF','yhuwu','testStepId','getTestCaseAttempt','setup','message','toISOString','kuZbw','getGherkinStepMap','../../v2/cliUtils','hgfJQ','YvStv','fFNxT','winstonLogger','lUDRy','testStepResult','vfgpt','HUBkB','CUCUMBER','onTestRunStarted','UNKNOWN','UNDEFINED','ZdPbb','description','Exception\x20in\x20onTestStepFinished\x20event:\x20','test','GOPrH','__platform','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','getTestUUID','JCedl','createTestFrameworkData','isBstackHook','PASSED','testCaseFinished','testCase','actionLocation','QzBym','onTestCase','rdDqy','onStepDefinition','report','finished_at','stepDefinition','elEvp','feature','source','CLI\x20already\x20running\x20-\x20binSessionId:\x20','ensureCLIInitialized','status'];a6_0x4253=function(){return _0x2fded2;};return a6_0x4253();}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x863044(0x1b7)),util=require(a6_0x863044(0x1e9)),{Formatter,formatterHelpers,Status}=requireModule('@cucumber/cucumber'),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require(a6_0x863044(0x1af)),{o11yClassErrorHandler}=require('../../../helpers/test-observability/error-handler'),{shouldProcessEventForTesthub}=require('../../../helpers/testhub/utils.js'),BrowserstackCLI=require(a6_0x863044(0x1e3)),TestFrameworkState=require(a6_0x863044(0x1c7)),HookState=require(a6_0x863044(0x1dc)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require(a6_0x863044(0x21e)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')[a6_0x863044(0x17a)],_tests={},_testCasesData={};function a6_0x4c08(_0xa7c104,_0x1dd180){const _0x42535a=a6_0x4253();return a6_0x4c08=function(_0x4c088a,_0x59d1fd){_0x4c088a=_0x4c088a-0x156;let _0x1e947d=_0x42535a[_0x4c088a];return _0x1e947d;},a6_0x4c08(_0xa7c104,_0x1dd180);}class BrowserstackFormatter extends Formatter{constructor(_0xeadaa8){const _0x7a2746=a6_0x863044,_0x463f18={};_0x463f18[_0x7a2746(0x20d)]='envelope';const _0x328383=_0x463f18;super(_0xeadaa8),this[_0x7a2746(0x196)]={},_0xeadaa8[_0x7a2746(0x1db)]['on'](_0x328383[_0x7a2746(0x20d)],async _0x4493ef=>{const _0x1685b4=_0x7a2746;switch(!![]){case!!_0x4493ef[_0x1685b4(0x207)]:this[_0x1685b4(0x180)](_0x4493ef[_0x1685b4(0x207)]);break;case!!_0x4493ef[_0x1685b4(0x1d4)]:this[_0x1685b4(0x215)](_0x4493ef[_0x1685b4(0x1d4)]);break;case!!_0x4493ef[_0x1685b4(0x220)]:this[_0x1685b4(0x1c5)](_0x4493ef['testCaseStarted'],_0xeadaa8,_0x4493ef);break;case!!_0x4493ef[_0x1685b4(0x18f)]:this['onTestCaseFinished'](_0x4493ef['testCaseFinished'],_0xeadaa8,_0x4493ef);break;case!!_0x4493ef[_0x1685b4(0x15a)]:this[_0x1685b4(0x1d2)](_0x4493ef[_0x1685b4(0x15a)],_0xeadaa8);break;case!!_0x4493ef[_0x1685b4(0x21c)]:this['onTestStepFinished'](_0x4493ef[_0x1685b4(0x21c)],_0xeadaa8);break;case!!_0x4493ef['hook']:this['onHook'](_0x4493ef['hook']);break;case!!_0x4493ef['testCase']:this[_0x1685b4(0x193)](_0x4493ef[_0x1685b4(0x190)]);break;case!!_0x4493ef['pickle']:this[_0x1685b4(0x219)](_0x4493ef[_0x1685b4(0x206)]);break;case!!_0x4493ef['gherkinDocument']:this[_0x1685b4(0x221)](_0x4493ef[_0x1685b4(0x1c2)]);break;}});}[a6_0x863044(0x1f2)](_0x27bc0c){const _0x356faf=a6_0x863044;this[_0x356faf(0x196)][_0x356faf(0x1a8)]=Object[_0x356faf(0x20e)]([],this[_0x356faf(0x196)][_0x356faf(0x1a8)]||[]),this[_0x356faf(0x196)][_0x356faf(0x1a8)]['push'](_0x27bc0c);}['onPickle'](_0x13cd85){const _0x4468fb=a6_0x863044;this[_0x4468fb(0x196)]['pickle']=Object[_0x4468fb(0x20e)]([],this[_0x4468fb(0x196)]['pickle']||[],[_0x13cd85]),this['report'][_0x4468fb(0x206)][_0x4468fb(0x1dd)](_0x13cd85);}['onGherkinDocument'](_0x3cb30c){const _0x581186=a6_0x863044;this[_0x581186(0x196)][_0x581186(0x1c2)]=Object[_0x581186(0x20e)]([],this[_0x581186(0x196)][_0x581186(0x1c2)]||[],[_0x3cb30c]),this[_0x581186(0x196)][_0x581186(0x1c2)][_0x581186(0x1dd)](_0x3cb30c);}['onSource'](_0x468026){const _0x1b2614=a6_0x863044;this[_0x1b2614(0x196)][_0x1b2614(0x19b)]=_0x468026;}[a6_0x863044(0x195)](_0x5728d0){const _0x3a945b=a6_0x863044;this[_0x3a945b(0x196)]['stepDefinition']=Object[_0x3a945b(0x20e)]([],this[_0x3a945b(0x196)][_0x3a945b(0x198)]||[],[_0x5728d0]),this[_0x3a945b(0x196)]['stepDefinition'][_0x3a945b(0x1dd)](_0x5728d0);}[a6_0x863044(0x193)](_0x5b1be0){const _0x4d9d81=a6_0x863044;this[_0x4d9d81(0x196)][_0x4d9d81(0x1d5)]=Object['assign']([],this[_0x4d9d81(0x196)][_0x4d9d81(0x1d5)]||[],[_0x5b1be0]),this[_0x4d9d81(0x196)][_0x4d9d81(0x1d5)]['push'](_0x5b1be0);}[a6_0x863044(0x216)](_0x5c7d9d){const _0x4c6f30=a6_0x863044,_0x24b33f={'gTnUQ':function(_0xa03707,_0x24709c){return _0xa03707!==_0x24709c;},'JCedl':_0x4c6f30(0x167),'hgfJQ':function(_0x1828e3,_0x35c5b8){return _0x1828e3+_0x35c5b8;},'Doxek':_0x4c6f30(0x21b),'fFNxT':'\x20-\x20','mnVxB':function(_0x4d1abc,_0x4d5cfb){return _0x4d1abc===_0x4d5cfb;},'HlXEH':'FAILED','HnCxo':function(_0x3067c7,_0x59d9a7,_0x547b7f){return _0x3067c7(_0x59d9a7,_0x547b7f);},'TKibL':'result','OzZAu':_0x4c6f30(0x172),'fnxAt':function(_0x4030ae,_0x83e418){return _0x4030ae+_0x83e418;},'SIHkI':function(_0x2fd70d,_0x11784d){return _0x2fd70d!==_0x11784d;},'GOPrH':function(_0xcec682,_0xcf399d){return _0xcec682+_0xcf399d;},'nAXSR':function(_0x3ad046,_0x547a25){return _0x3ad046+_0x547a25;},'HWuoK':function(_0x111242,_0x4f25a9){return _0x111242+_0x4f25a9;}};_0x24b33f['SIHkI'](global[_0x4c6f30(0x188)],undefined)&&this[_0x4c6f30(0x1a2)](_0x24b33f[_0x4c6f30(0x177)](_0x24b33f[_0x4c6f30(0x187)]('\x0a',global[_0x4c6f30(0x188)]),'\x0a'));const _0xb28b53=this[_0x4c6f30(0x15f)]['getTestCaseAttempt'](_0x5c7d9d[_0x4c6f30(0x1c6)]);this[_0x4c6f30(0x1a2)](_0x24b33f['nAXSR'](_0x24b33f['HWuoK'](_0x24b33f[_0x4c6f30(0x177)](_0x24b33f[_0x4c6f30(0x200)]('\x20\x20',_0xb28b53[_0x4c6f30(0x1c2)][_0x4c6f30(0x19a)][_0x4c6f30(0x1a1)]),_0x24b33f['fFNxT']),_0xb28b53[_0x4c6f30(0x206)][_0x4c6f30(0x1a1)]),'\x0a'));const _0x204f75={};_0x204f75[_0x4c6f30(0x168)]=this[_0x4c6f30(0x168)],_0x204f75[_0x4c6f30(0x1f8)]=this['snippetBuilder'],_0x204f75[_0x4c6f30(0x223)]=this[_0x4c6f30(0x223)],_0x204f75[_0x4c6f30(0x165)]=_0xb28b53;const _0x3bf1bb=formatterHelpers['parseTestCaseAttempt'](_0x204f75);let _0x3dd77d=![];_0x3bf1bb['testSteps'][_0x4c6f30(0x1ea)](_0x172906=>{const _0xf773de=_0x4c6f30;if(_0x24b33f[_0xf773de(0x157)](_0x172906['name'],_0x24b33f[_0xf773de(0x18b)])&&!this[_0xf773de(0x18d)](_0x172906)){totalTests+=0x1,this['log'](_0x24b33f['hgfJQ'](_0x24b33f[_0xf773de(0x177)](_0x24b33f[_0xf773de(0x177)](_0x24b33f[_0xf773de(0x177)](_0x24b33f[_0xf773de(0x177)](_0x24b33f['Doxek'],_0x172906[_0xf773de(0x1b4)]),_0x172906[_0xf773de(0x1e8)]||''),_0x24b33f[_0xf773de(0x179)]),Status[_0x172906['result'][_0xf773de(0x19e)]]),'\x0a')),this[_0xf773de(0x1b0)](Status[_0x172906[_0xf773de(0x164)]['status']]);if(_0x24b33f[_0xf773de(0x1e2)](Status[_0x172906['result'][_0xf773de(0x19e)]],_0x24b33f[_0xf773de(0x1f6)])){_0x3dd77d=!![];const _0x148f86=_0x24b33f[_0xf773de(0x1df)](nestedKeyValue,_0x172906,[_0x24b33f[_0xf773de(0x1bb)],_0x24b33f[_0xf773de(0x1e6)]]);_0x148f86&&(testsErrorMessage[_0x24b33f[_0xf773de(0x200)](_0x24b33f[_0xf773de(0x200)](_0xb28b53[_0xf773de(0x1c2)]['feature'][_0xf773de(0x1a1)],_0x24b33f[_0xf773de(0x179)]),_0xb28b53['pickle'][_0xf773de(0x1a1)])]=_0x148f86,this[_0xf773de(0x1a2)](_0x24b33f[_0xf773de(0x177)](_0x148f86,'\x0a')));}}}),_0x3dd77d&&(testSuitesFailed+=0x1),this[_0x4c6f30(0x1a2)]('\x0a');}[a6_0x863044(0x19f)](_0x1e1548){}[a6_0x863044(0x18d)](_0x176724){const _0x316aaa=a6_0x863044,_0x112e1c={};_0x112e1c[_0x316aaa(0x205)]=function(_0x1b2694,_0x1d6a84){return _0x1b2694!==_0x1d6a84;},_0x112e1c[_0x316aaa(0x1e7)]=_0x316aaa(0x1a6);const _0x5f2f34=_0x112e1c;if(_0x5f2f34[_0x316aaa(0x205)](_0x176724[_0x316aaa(0x1c1)],undefined))return![];if(_0x176724[_0x316aaa(0x191)]&&_0x176724[_0x316aaa(0x191)][_0x316aaa(0x1a3)]['includes'](_0x5f2f34[_0x316aaa(0x1e7)]))return!![];return![];}[a6_0x863044(0x1b0)](_0x9d31c7){const _0x1c680a=a6_0x863044,_0x4e8d3b={};_0x4e8d3b['QzBym']='FAILED',_0x4e8d3b[_0x1c680a(0x1ac)]=_0x1c680a(0x18e),_0x4e8d3b[_0x1c680a(0x15c)]=_0x1c680a(0x166),_0x4e8d3b[_0x1c680a(0x178)]='PENDING',_0x4e8d3b[_0x1c680a(0x222)]=_0x1c680a(0x182),_0x4e8d3b['Bmzwx']=_0x1c680a(0x181),_0x4e8d3b['sNogo']='AMBIGUOUS';const _0x4b52f2=_0x4e8d3b;switch(_0x9d31c7){case _0x4b52f2[_0x1c680a(0x192)]:testsFailed+=0x1;break;case _0x4b52f2['zgdhL']:testsPassed+=0x1;break;case _0x4b52f2['TPpyB']:testsSkipped+=0x1;break;case _0x4b52f2[_0x1c680a(0x178)]:testsPending+=0x1;break;case _0x4b52f2[_0x1c680a(0x222)]:testsUndefined+=0x1;break;case _0x4b52f2[_0x1c680a(0x210)]:testsUnknown+=0x1;break;case _0x4b52f2[_0x1c680a(0x1ae)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0x5c1d6b){const _0x52adba=a6_0x863044,_0x46f876={'xEaJJ':function(_0x22c69a,_0x580abe){return _0x22c69a!==_0x580abe;},'rdDqy':function(_0x3cbea9,_0x59ed88){return _0x3cbea9!==_0x59ed88;},'LGzHO':function(_0x327b9d){return _0x327b9d();},'jjmpZ':function(_0x411771,_0x5b9d0c){return _0x411771(_0x5b9d0c);},'MuAah':function(_0x20bb3a,_0x359ff6){return _0x20bb3a+_0x359ff6;},'UqFqx':'cucumber'};let _0x3476a4;if(_0x46f876['xEaJJ'](process[_0x52adba(0x1c3)]['CONFIG'],undefined)){const _0x5531a7=JSON[_0x52adba(0x1a7)](process['env']['CONFIG']);_0x3476a4=_0x5531a7['capability'];}_0x46f876[_0x52adba(0x194)](_0x3476a4,undefined)&&_0x46f876['LGzHO'](isBrowserstackInfra)&&(global[_0x52adba(0x188)]=_0x46f876[_0x52adba(0x1a4)](getPlatformName,_0x3476a4),this[_0x52adba(0x1a2)](_0x46f876[_0x52adba(0x203)](_0x52adba(0x218)+global[_0x52adba(0x188)],'\x0a'))),_0x46f876[_0x52adba(0x1d8)](shouldProcessEventForTesthub)&&(TestDetails[_0x52adba(0x171)](),this[_0x52adba(0x196)][_0x52adba(0x207)]=_0x5c1d6b,BrowserstackCLI['getInstance']()[_0x52adba(0x159)]()&&await this[_0x52adba(0x213)]()&&(TestInfo[_0x52adba(0x171)](_0x46f876['UqFqx']),await BrowserstackCLI[_0x52adba(0x1b1)]()[_0x52adba(0x1ec)]()[_0x52adba(0x1d6)](TestFrameworkState[_0x52adba(0x1ee)],HookState[_0x52adba(0x1b5)],{})));}[a6_0x863044(0x215)](_0x24dcda){const _0x181b1f=a6_0x863044;this[_0x181b1f(0x196)][_0x181b1f(0x1d4)]=_0x24dcda,this[_0x181b1f(0x19f)](_0x24dcda);}async[a6_0x863044(0x1c5)](_0x286b39,_0x269a79,_0x1ec878){const _0x32cc20=a6_0x863044,_0x30ec70={'bJDoF':function(_0x4bc1cf,_0x34d544){return _0x4bc1cf(_0x34d544);},'ldOTc':_0x32cc20(0x1f0),'EeTzF':function(_0x46f2e6,_0x27c84a){return _0x46f2e6&&_0x27c84a;}};testSuites+=0x1;if(_0x30ec70[_0x32cc20(0x1fe)](shouldProcessEventForTesthub,_0x30ec70['ldOTc']))try{this['report'][_0x32cc20(0x220)]=this[_0x32cc20(0x196)][_0x32cc20(0x220)]||{},this[_0x32cc20(0x196)]['testCaseStarted'][_0x286b39['id']]=_0x286b39;let _0xc15b4=null;BrowserstackCLI['getInstance']()['isCliEnabled']()&&await this[_0x32cc20(0x213)]()?_0xc15b4=TestInfo[_0x32cc20(0x18a)](_0x286b39['id']):_0xc15b4=TestDetails[_0x32cc20(0x18a)](_0x286b39['id']);_testCasesData[_0x286b39['id']]=Object[_0x32cc20(0x20e)]({},_0x1ec878);const _0xd3e1cd=this[_0x32cc20(0x196)],_0x3e6864=_0x286b39[_0x32cc20(0x1cf)],_0x17ef7f=_0xd3e1cd[_0x32cc20(0x1d5)][_0x32cc20(0x158)](_0x94a184=>_0x94a184['id']===_0x3e6864)[_0x32cc20(0x1a9)],_0x318f17=_0xd3e1cd[_0x32cc20(0x206)]['find'](_0x31e470=>_0x31e470['id']===_0x17ef7f),_0x4e16aa=_0xd3e1cd[_0x32cc20(0x1c2)][_0x32cc20(0x158)](_0x557cb8=>_0x557cb8[_0x32cc20(0x1a3)]===_0x318f17[_0x32cc20(0x1a3)]),_0x12f9af=_0x4e16aa['feature'],_0x2ebf0c={'uuid':_0xc15b4,'startedAt':new Date()[_0x32cc20(0x173)]()};if(_0x318f17){const _0x4bca7e={};_0x4bca7e[_0x32cc20(0x1a1)]=_0x318f17[_0x32cc20(0x1a1)],_0x2ebf0c['scenario']=_0x4bca7e;}if(_0x30ec70[_0x32cc20(0x16d)](_0x4e16aa,_0x12f9af)){const _0xf21b33={};_0xf21b33['path']=_0x4e16aa[_0x32cc20(0x1a3)],_0xf21b33[_0x32cc20(0x1a1)]=_0x12f9af[_0x32cc20(0x1a1)],_0xf21b33[_0x32cc20(0x184)]=_0x12f9af[_0x32cc20(0x184)],_0x2ebf0c['feature']=_0xf21b33;}_tests[_0x3e6864]=_0x2ebf0c;if(BrowserstackCLI[_0x32cc20(0x1b1)]()[_0x32cc20(0x159)]()&&await this[_0x32cc20(0x213)]()){const _0x34c785=await cucumberUtils['createTestFrameworkData'](_0x2ebf0c,_0x318f17,_0x1ec878,_0x4e16aa,_0x286b39['id'],_0x30ec70[_0x32cc20(0x1f1)]),_0x35636a={};_0x35636a['test']=_0x34c785,await BrowserstackCLI[_0x32cc20(0x1b1)]()[_0x32cc20(0x1ec)]()['trackEvent'](TestFrameworkState[_0x32cc20(0x1be)],HookState[_0x32cc20(0x1b5)],_0x35636a);return;}await testObservabilityReporter[_0x32cc20(0x1fa)](_0x1ec878,_0x4e16aa,_0x318f17,_0x30ec70[_0x32cc20(0x1f1)],_0x2ebf0c);}catch(_0x45cb11){logger[_0x32cc20(0x1d0)](_0x32cc20(0x1b9)+util['format'](_0x45cb11)+'\x20');}}async[a6_0x863044(0x1c0)](_0x3757ae,_0x498988,_0x2fa9e3){const _0x295c07=a6_0x863044,_0x6deba4={'iJXBA':function(_0x13d723,_0x2c621e){return _0x13d723(_0x2c621e);},'WLQey':_0x295c07(0x1a5),'HUBkB':'test'};this[_0x295c07(0x216)](_0x3757ae);if(_0x6deba4['iJXBA'](shouldProcessEventForTesthub,_0x6deba4[_0x295c07(0x209)]))try{this[_0x295c07(0x196)][_0x295c07(0x18f)]=this['report'][_0x295c07(0x18f)]||{},this[_0x295c07(0x196)]['testCaseFinished'][_0x3757ae[_0x295c07(0x1c6)]]=_0x3757ae,_testCasesData[_0x2fa9e3['id']]=Object[_0x295c07(0x20e)]({},_0x2fa9e3);const _0x21ae1d=_0x3757ae[_0x295c07(0x1c6)],_0x187158=_0x498988[_0x295c07(0x15f)]['testCaseAttemptDataMap'][_0x21ae1d][_0x295c07(0x1cf)],_0xf0df9a=_0x498988['eventDataCollector'][_0x295c07(0x1d9)][_0x187158],_0x5bdbf7=_0xf0df9a['pickleId'],_0x5c1c40=_0x498988['eventDataCollector'][_0x295c07(0x21d)][_0x5bdbf7],_0x12e51d=this[_0x295c07(0x1fc)](_0x498988,_0x5c1c40),_0x31e3e1=_0x12e51d[_0x295c07(0x19a)],_0x1cafe9=_tests[_0x187158];_0x1cafe9&&(delete _tests[_0x187158],_0x1cafe9[_0x295c07(0x20b)]=new Date()['toISOString']());if(BrowserstackCLI['getInstance']()[_0x295c07(0x159)]()&&await this[_0x295c07(0x213)]()){const _0x1d0e8f=await cucumberUtils[_0x295c07(0x18c)](_0x1cafe9,_0x5c1c40,_0x2fa9e3,_0x12e51d,_0x21ae1d,_0x6deba4[_0x295c07(0x209)]),_0x1240a8={};_0x1240a8[_0x295c07(0x186)]=_0x1d0e8f,await BrowserstackCLI[_0x295c07(0x1b1)]()[_0x295c07(0x1ec)]()[_0x295c07(0x1d6)](TestFrameworkState['TEST'],HookState[_0x295c07(0x21a)],_0x1240a8);const _0x5197a3={};_0x5197a3[_0x295c07(0x1c8)]=_0x3757ae[_0x295c07(0x1c6)],_0x5197a3['type']=_0x6deba4[_0x295c07(0x17e)],await BrowserstackCLI[_0x295c07(0x1b1)]()['getTestFramework']()[_0x295c07(0x1d6)](TestFrameworkState['LOG_REPORT'],HookState['POST'],_0x5197a3);return;}await testObservabilityReporter[_0x295c07(0x1fa)](_0x2fa9e3,_0x12e51d,_0x5c1c40,_0x6deba4[_0x295c07(0x209)],_0x1cafe9);}catch(_0xca2443){logger[_0x295c07(0x1d0)](_0x295c07(0x189)+util[_0x295c07(0x212)](_0xca2443));}}async[a6_0x863044(0x1d2)](_0x827192,_0x3a50a9){const _0x33d95c=a6_0x863044,_0x576ec9={'lUDRy':function(_0x520c82,_0x2125ff){return _0x520c82(_0x2125ff);},'dAduV':'HookRunStarted','yhuwu':function(_0x165ac4,_0x48dd81){return _0x165ac4!==_0x48dd81;},'BQquv':_0x33d95c(0x16f)};if(_0x576ec9[_0x33d95c(0x17b)](shouldProcessEventForTesthub,_0x576ec9[_0x33d95c(0x1ad)]))try{this[_0x33d95c(0x196)][_0x33d95c(0x15a)]=this[_0x33d95c(0x196)]['testStepStarted']||{},this[_0x33d95c(0x196)]['testStepStarted'][_0x827192[_0x33d95c(0x1c6)]]=_0x827192;const _0x1c1c00=_0x827192['testCaseStartedId'],_0x3fbf22=_0x3a50a9[_0x33d95c(0x15f)][_0x33d95c(0x1eb)][_0x1c1c00][_0x33d95c(0x1cf)],_0x4e91a4=this[_0x33d95c(0x196)]['testCases'][_0x33d95c(0x158)](_0x508519=>_0x508519['id']===_0x3fbf22)['pickleId'],_0x75806a=this[_0x33d95c(0x196)]['pickle'][_0x33d95c(0x158)](_0x4b4a6f=>_0x4b4a6f['id']===_0x4e91a4),_0x3f8067=this[_0x33d95c(0x196)][_0x33d95c(0x1d5)][_0x33d95c(0x158)](_0x4ccb72=>_0x4ccb72['id']===_0x3fbf22)[_0x33d95c(0x21f)],_0x495186=this[_0x33d95c(0x196)]['testStepStarted'][_0x1c1c00]['testStepId'],_0x531b66=_0x3f8067['find'](_0x31570c=>_0x31570c['id']===_0x495186)['pickleStepId'],_0x1b2e46=_0x75806a[_0x33d95c(0x1ba)][_0x33d95c(0x158)](_0x382495=>_0x382495['id']===_0x531b66);if(_0x531b66&&_tests[_0x3fbf22]&&_0x576ec9[_0x33d95c(0x16e)](_tests[_0x3fbf22][_0x576ec9[_0x33d95c(0x16c)]],_0x495186)){_tests[_0x3fbf22][_0x576ec9[_0x33d95c(0x16c)]]=_0x495186;const _0x2f883e={};_0x2f883e[_0x33d95c(0x1ba)]=[];const _0x37ada6=_tests[_0x3fbf22]||_0x2f883e;_0x37ada6&&!_0x37ada6[_0x33d95c(0x1ba)]&&(_0x37ada6[_0x33d95c(0x1ba)]=[]),_0x37ada6[_0x33d95c(0x1ba)][_0x33d95c(0x1dd)]({'id':_0x1b2e46['id'],'text':_0x1b2e46[_0x33d95c(0x1e8)],'started_at':new Date()['toISOString']()}),_tests[_0x3fbf22]=_0x37ada6;}if(BrowserstackCLI[_0x33d95c(0x1b1)]()[_0x33d95c(0x159)]()&&await this[_0x33d95c(0x213)]()){const _0x2dd48a=await cucumberUtils[_0x33d95c(0x16a)](this[_0x33d95c(0x196)],_0x1c1c00,_0x576ec9[_0x33d95c(0x1ad)],_0x3f8067,_0x495186,_tests[_0x3fbf22]);_0x2dd48a&&await BrowserstackCLI[_0x33d95c(0x1b1)]()[_0x33d95c(0x1ec)]()[_0x33d95c(0x1d6)](TestFrameworkState[_0x2dd48a[_0x33d95c(0x1aa)]],HookState[_0x33d95c(0x1b5)],{'hookData':_0x2dd48a,'testUUID':_0x827192[_0x33d95c(0x1c6)]});return;}await testObservabilityReporter['sendHook'](this[_0x33d95c(0x196)],_0x1c1c00,_0x576ec9[_0x33d95c(0x1ad)],_0x3f8067,_0x495186,_tests[_0x3fbf22]);}catch(_0x3de320){logger[_0x33d95c(0x1d0)](_0x33d95c(0x1bf)+util[_0x33d95c(0x212)](_0x3de320));}}async[a6_0x863044(0x20a)](_0xf6eb18,_0x564a38){const _0x4f3015=a6_0x863044,_0xcdf9e4={'gDQUu':function(_0x29ae44,_0x1fdd55){return _0x29ae44===_0x1fdd55;},'jqjJV':_0x4f3015(0x1bd),'WMsbo':function(_0x1c5750,_0x356437){return _0x1c5750(_0x356437);},'jrANY':_0x4f3015(0x224),'vfgpt':function(_0x3c1bb7,_0x244061){return _0x3c1bb7===_0x244061;},'JfoEN':'failed','yCgWl':function(_0x3eb479,_0x3042d1){return _0x3eb479===_0x3042d1;},'rcLbw':function(_0x4c5660,_0x191e93){return _0x4c5660===_0x191e93;},'wHwUs':_0x4f3015(0x201),'LaNgP':_0x4f3015(0x16f),'idXrf':_0x4f3015(0x1ca),'wyvuI':_0x4f3015(0x1d3)};this[_0x4f3015(0x196)][_0x4f3015(0x21c)]=this[_0x4f3015(0x196)]['testStepFinished']||{},this[_0x4f3015(0x196)][_0x4f3015(0x21c)][_0xf6eb18[_0x4f3015(0x1c6)]]=_0xf6eb18;if(_0xcdf9e4[_0x4f3015(0x1e1)](shouldProcessEventForTesthub,_0xcdf9e4[_0x4f3015(0x1da)]))try{const _0x4c9712=_0xf6eb18[_0x4f3015(0x1c6)],_0x57ff02=_0x564a38[_0x4f3015(0x15f)]['testCaseAttemptDataMap'][_0x4c9712]['testCaseId'],_0x2c6efe=_0x564a38[_0x4f3015(0x15f)][_0x4f3015(0x1d9)][_0x57ff02],_0x25951a=_0x2c6efe[_0x4f3015(0x1a9)],_0x26a677=_0x564a38[_0x4f3015(0x15f)]['pickleMap'][_0x25951a],_0x5866d3=_0xf6eb18['testStepId'],_0x1f0e2b=_0x2c6efe[_0x4f3015(0x21f)],_0x191d64=this[_0x4f3015(0x15f)][_0x4f3015(0x170)](_0x4c9712),_0x3b4416=_0x1f0e2b['find'](_0x29f132=>_0x29f132['id']===_0x5866d3)['pickleStepId'];let _0x34600f,_0x1cde6e;_0xf6eb18[_0x4f3015(0x17c)]&&_0xcdf9e4[_0x4f3015(0x17d)](_0xf6eb18['testStepResult'][_0x4f3015(0x19e)][_0x4f3015(0x15e)]()[_0x4f3015(0x1ce)](),_0xcdf9e4[_0x4f3015(0x1b8)])&&(_0x34600f=_0xcdf9e4[_0x4f3015(0x1ff)](_0xf6eb18[_0x4f3015(0x17c)][_0x4f3015(0x1f5)],undefined)?_0xf6eb18['testStepResult'][_0x4f3015(0x172)]:_0xf6eb18['testStepResult'][_0x4f3015(0x1f5)][_0x4f3015(0x172)],_0x1cde6e=_0xcdf9e4[_0x4f3015(0x1bc)](_0xf6eb18[_0x4f3015(0x17c)][_0x4f3015(0x1f5)],undefined)?_0xcdf9e4[_0x4f3015(0x1de)]:_0xf6eb18[_0x4f3015(0x17c)][_0x4f3015(0x172)]);if(_0x3b4416&&_tests[_0x57ff02][_0xcdf9e4[_0x4f3015(0x1f7)]]){const _0x5a6ef6=_0x26a677['steps'][_0x4f3015(0x158)](_0x58b66a=>_0x58b66a['id']===_0x3b4416),_0x13ade6={};_0x13ade6['steps']=[];const _0x224f51=_tests[_0x57ff02]||_0x13ade6;!_0x224f51['steps']?_0x224f51['steps']=[{'id':_0x5a6ef6['id'],'text':_0x5a6ef6['text'],'finished_at':new Date()['toISOString'](),'result':_0xf6eb18[_0x4f3015(0x17c)][_0x4f3015(0x19e)],'duration':_0xf6eb18[_0x4f3015(0x17c)]['duration']['seconds'],'failure':_0x34600f,'failureType':_0x1cde6e}]:_0x224f51[_0x4f3015(0x1ba)][_0x4f3015(0x1ea)](_0x4d702c=>{const _0x41b4ae=_0x4f3015;if(_0xcdf9e4['gDQUu'](_0x4d702c['id'],_0x5a6ef6['id'])){const _0x347318=_0xcdf9e4[_0x41b4ae(0x156)][_0x41b4ae(0x161)]('|');let _0x387cd4=0x0;while(!![]){switch(_0x347318[_0x387cd4++]){case'0':_0x4d702c[_0x41b4ae(0x1d1)]=_0xf6eb18[_0x41b4ae(0x17c)]['duration'][_0x41b4ae(0x160)];continue;case'1':_0x4d702c['failureType']=_0x1cde6e;continue;case'2':_0x4d702c['failure']=_0x34600f;continue;case'3':_0x4d702c[_0x41b4ae(0x197)]=new Date()[_0x41b4ae(0x173)]();continue;case'4':_0x4d702c[_0x41b4ae(0x164)]=_0xf6eb18['testStepResult'][_0x41b4ae(0x19e)];continue;}break;}}}),_tests[_0x57ff02]=_0x224f51;}delete _tests[_0x57ff02][_0xcdf9e4[_0x4f3015(0x1f7)]];if(BrowserstackCLI['getInstance']()[_0x4f3015(0x159)]()&&await this[_0x4f3015(0x213)]()){const _0x432bc7=await cucumberUtils['createHookData'](this['report'],_0x4c9712,_0xcdf9e4['idXrf'],_0x1f0e2b,_0x5866d3,_tests[_0x57ff02]);if(_0x432bc7){await BrowserstackCLI['getInstance']()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x432bc7[_0x4f3015(0x1aa)]],HookState[_0x4f3015(0x21a)],{'hookData':_0x432bc7,'testUUID':_0xf6eb18[_0x4f3015(0x1c6)]});const _0x1157fe={};_0x1157fe['testUUID']=_0xf6eb18['testCaseStartedId'],_0x1157fe['type']=_0xcdf9e4[_0x4f3015(0x225)],await BrowserstackCLI[_0x4f3015(0x1b1)]()['getTestFramework']()['trackEvent'](TestFrameworkState[_0x4f3015(0x1b6)],HookState[_0x4f3015(0x21a)],_0x1157fe);}return;}await testObservabilityReporter[_0x4f3015(0x1fb)](this['report'],_0x4c9712,_0xcdf9e4[_0x4f3015(0x1da)],_0x1f0e2b,_0x5866d3,_tests[_0x57ff02]);}catch(_0x211777){logger[_0x4f3015(0x1d0)](_0x4f3015(0x185)+util[_0x4f3015(0x212)](_0x211777));}}[a6_0x863044(0x175)](_0x4c2d78){const _0x99fa12=a6_0x863044,_0x464281={};return _0x4c2d78['feature'][_0x99fa12(0x1f3)]['map'](this['extractStepContainers'])[_0x99fa12(0x1f4)]()['forEach'](_0x44f0b4=>_0x44f0b4[_0x99fa12(0x1ba)][_0x99fa12(0x1ea)](_0xac0423=>_0x464281[_0xac0423['id']]=_0xac0423)),_0x464281;}['extractStepContainers'](_0x2cfddd){const _0x8835e1=a6_0x863044,_0x4ca998={'elEvp':function(_0x46ae2f,_0x47d550){return _0x46ae2f(_0x47d550);},'XdpGH':function(_0x13d21f,_0x3ff15b){return _0x13d21f(_0x3ff15b);}};if(!_0x4ca998[_0x8835e1(0x199)](isUndefined,_0x2cfddd['background']))return[_0x2cfddd['background']];else{if(!_0x4ca998[_0x8835e1(0x1cc)](isUndefined,_0x2cfddd[_0x8835e1(0x1c9)]))return _0x2cfddd['rule'][_0x8835e1(0x1f3)]['map'](_0x61d49b=>!isUndefined(_0x61d49b[_0x8835e1(0x16b)])?_0x61d49b[_0x8835e1(0x16b)]:_0x61d49b[_0x8835e1(0x202)]);};return[_0x2cfddd['scenario']];}[a6_0x863044(0x1fc)](_0x2b38c8,_0x301d71){const _0x1d9de9=a6_0x863044;return Object['values'](_0x2b38c8['eventDataCollector']['gherkinDocumentMap'])[_0x1d9de9(0x158)](_0x1e978a=>_0x1e978a[_0x1d9de9(0x1a3)]===_0x301d71[_0x1d9de9(0x1a3)]);}async[a6_0x863044(0x19d)](){const _0x59fbc1=a6_0x863044;if(this[_0x59fbc1(0x214)])return this['cliInitPromise'];return this[_0x59fbc1(0x214)]=this[_0x59fbc1(0x1ed)](),this[_0x59fbc1(0x214)];}async['_performCLIInitialization'](){const _0x57e17c=a6_0x863044,_0x24fb2f={'pRPjO':_0x57e17c(0x1d7),'SCgpe':function(_0x2d15b2,_0x224ef1){return _0x2d15b2(_0x224ef1);},'kuZbw':_0x57e17c(0x176),'ZdPbb':_0x57e17c(0x1e4)};try{const _0x8065e9=BrowserstackCLI[_0x57e17c(0x1b1)]();if(_0x8065e9['isRunning']())return logger['debug'](_0x57e17c(0x19c)+_0x8065e9[_0x57e17c(0x1cd)]),!![];const _0x21388d=process[_0x57e17c(0x1c3)][_0x57e17c(0x1c4)];if(!_0x21388d)return logger['debug'](_0x24fb2f[_0x57e17c(0x15d)]),![];const _0xf518b3=_0x24fb2f[_0x57e17c(0x162)](require,_0x24fb2f[_0x57e17c(0x174)]),{FRAMEWORKS:_0xd299b1}=_0x24fb2f[_0x57e17c(0x162)](require,_0x24fb2f[_0x57e17c(0x183)]);return _0xf518b3[_0x57e17c(0x217)](_0xd299b1[_0x57e17c(0x17f)],_0xd299b1[_0x57e17c(0x163)]),logger[_0x57e17c(0x1d0)](_0x57e17c(0x1f9)+_0x21388d),await _0x8065e9[_0x57e17c(0x208)](),logger[_0x57e17c(0x1d0)]('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x8065e9[_0x57e17c(0x1e5)]()+_0x57e17c(0x169)+_0x8065e9['binSessionId']),_0x8065e9[_0x57e17c(0x1e5)]();}catch(_0x55de13){return logger[_0x57e17c(0x1d0)](_0x57e17c(0x1cb)+util[_0x57e17c(0x212)](_0x55de13)),![];}}async[a6_0x863044(0x213)](){const _0x57f700=a6_0x863044;try{return await this['ensureCLIInitialized'](),BrowserstackCLI[_0x57f700(0x1b1)]()[_0x57f700(0x1e5)]();}catch(_0x497512){return logger[_0x57f700(0x1d0)](_0x57f700(0x20c)+util[_0x57f700(0x212)](_0x497512)),![];}}}module[a6_0x863044(0x1e0)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x863044(0x1c5),a6_0x863044(0x1c0),a6_0x863044(0x1d2),a6_0x863044(0x20a),a6_0x863044(0x180),a6_0x863044(0x215),a6_0x863044(0x1b2),a6_0x863044(0x1fc),a6_0x863044(0x175)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7_0xc095(_0x2d8f9c,_0x58ea61){const _0x3b3650=a7_0x3b36();return a7_0xc095=function(_0xc09597,_0xe0b979){_0xc09597=_0xc09597-0xc7;let _0x2617fb=_0x3b3650[_0xc09597];return _0x2617fb;},a7_0xc095(_0x2d8f9c,_0x58ea61);}const a7_0x4034c0=a7_0xc095;(function(_0x41e2eb,_0x16878e){const _0x3fe07b=a7_0xc095,_0x500ad1=_0x41e2eb();while(!![]){try{const _0x5689c9=-parseInt(_0x3fe07b(0xce))/0x1*(parseInt(_0x3fe07b(0xe8))/0x2)+parseInt(_0x3fe07b(0xe3))/0x3+-parseInt(_0x3fe07b(0x11f))/0x4+-parseInt(_0x3fe07b(0x10c))/0x5+-parseInt(_0x3fe07b(0x119))/0x6*(parseInt(_0x3fe07b(0xe0))/0x7)+parseInt(_0x3fe07b(0xe2))/0x8+parseInt(_0x3fe07b(0x110))/0x9;if(_0x5689c9===_0x16878e)break;else _0x500ad1['push'](_0x500ad1['shift']());}catch(_0x3110ae){_0x500ad1['push'](_0x500ad1['shift']());}}}(a7_0x3b36,0xd6a29));function a7_0x3b36(){const _0x40f11b=['log','Znevx','43902eRcEuE','logTestCaseFinished','parse','OapGA','name','eventBroadcaster','4167320OErVTv','capability','result','Ymzcx','cucumber/lib/formatter/helpers/pickle_parser.js','mUZzt','toUpperCase','feAiY','QUMbH','UNDEFINED','steps','DuWBb','107SSbhHQ','includes','sKnXx','erIOf','test-case-started','env','BdzTo','cucumber','undefined','mYyvn','getStepLineToPickledStepMap','uri','CfTnO','khvxt','fiHVX','../../../helpers/helper','sourceLocation','exception','511OeNKhL','exports','4746496PBocqw','1872738cvErEo','wspEm','HeLmt','pickle','YwGmZ','11180pINZMC','eventDataCollector','tUHPq','dDxRM','LbVNO','wlILd','AMBIGUOUS','\x20\x20\x20\x20','FAILED','cNbbn','FFmEY','stack','actionLocation','Xdzuj','getTestCaseAttempt','test-run-started','CONFIG','test-step-started','stepResults','lLYmj','YVxjN','sPgoO','wZBTk','idAed','UNKNOWN','thfLX','gherkinDocument','Jsqtk','status','BnTdQ','getTestCaseData','PvcSt','PENDING','text','JEFIv','SKIPPED','4296420exKMJm','OuCrX','xMMfl','testCase','24254748PHdgoC','feature','ZZCas','__platform','Executing\x20tests\x20for\x20','length','CvRvZ'];a7_0x3b36=function(){return _0x40f11b;};return a7_0x3b36();}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x4034c0(0xdd)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule(a7_0x4034c0(0x123),a7_0x4034c0(0xd5));class BrowserstackFormatter extends Formatter{constructor(_0x263c4c){const _0x518eaf=a7_0x4034c0,_0x5535b2={'BnTdQ':function(_0x648b22,_0x1cb5b5){return _0x648b22!==_0x1cb5b5;},'Ymzcx':function(_0x56c264,_0x3776bb){return _0x56c264!==_0x3776bb;},'lLYmj':function(_0x2896ea,_0x403058){return _0x2896ea(_0x403058);},'PvcSt':_0x518eaf(0xf7),'jQThz':_0x518eaf(0xd2),'JEFIv':'test-case-finished','lRpbN':'test-run-finished','YwGmZ':_0x518eaf(0xf9)};super(_0x263c4c),_0x263c4c[_0x518eaf(0x11e)]['on'](_0x5535b2[_0x518eaf(0x107)],()=>{const _0x3f74c0=_0x518eaf;let _0x29710d;if(_0x5535b2[_0x3f74c0(0x105)](process[_0x3f74c0(0xd3)][_0x3f74c0(0xf8)],undefined)){const _0x308b0c=JSON[_0x3f74c0(0x11b)](process['env'][_0x3f74c0(0xf8)]);_0x29710d=_0x308b0c[_0x3f74c0(0x120)];}_0x5535b2[_0x3f74c0(0x122)](_0x29710d,undefined)&&(global[_0x3f74c0(0x113)]=_0x5535b2[_0x3f74c0(0xfb)](getPlatformName,_0x29710d),console[_0x3f74c0(0x117)](_0x3f74c0(0x114)+global[_0x3f74c0(0x113)]));}),_0x263c4c[_0x518eaf(0x11e)]['on'](_0x5535b2['jQThz'],()=>{testSuites+=0x1;}),_0x263c4c[_0x518eaf(0x11e)]['on'](_0x5535b2[_0x518eaf(0x10a)],_0x521093=>{this['logTestCaseFinished'](_0x521093);}),_0x263c4c[_0x518eaf(0x11e)]['on'](_0x5535b2['lRpbN'],()=>{totalTests-=0x2;}),_0x263c4c[_0x518eaf(0x11e)]['on'](_0x5535b2[_0x518eaf(0xe7)],()=>{totalTests+=0x1;});}[a7_0x4034c0(0x11a)](_0x56ceaa){const _0x5a55d7=a7_0x4034c0,_0x12dc41={'DuWBb':_0x5a55d7(0xf0),'OapGA':'PASSED','FFmEY':_0x5a55d7(0x10b),'HeLmt':_0x5a55d7(0x108),'niXIL':_0x5a55d7(0xcb),'dDxRM':_0x5a55d7(0x100),'thfLX':_0x5a55d7(0xee),'idAed':function(_0x20779d,_0x1f38a8){return _0x20779d+_0x1f38a8;},'sKnXx':function(_0x58afc7,_0x45e98e){return _0x58afc7+_0x45e98e;},'ZZCas':_0x5a55d7(0xef),'wlILd':'\x20-\x20','sPgoO':function(_0x19cca1,_0x3f5212){return _0x19cca1(_0x3f5212);},'Jsqtk':'cucumber-js/test_old.setup.js','mYyvn':function(_0xed0d2c,_0x558889){return _0xed0d2c(_0x558889);},'khvxt':'\x20\x20\x20\x20AFTER\x20-\x20','QUMbH':function(_0x34c954,_0x2588b5){return _0x34c954+_0x2588b5;},'xMMfl':'\x20\x20\x20\x20BEFORE\x20-\x20','YVxjN':function(_0x56f3f2,_0x87dae5){return _0x56f3f2===_0x87dae5;},'BuaMx':function(_0x5146b7,_0x12a6ea,_0x1e66e3){return _0x5146b7(_0x12a6ea,_0x1e66e3);},'erIOf':_0x5a55d7(0x121),'cNbbn':_0x5a55d7(0xdf),'OuCrX':_0x5a55d7(0xf3),'Znevx':function(_0x1d4bc6,_0x4efe92){return _0x1d4bc6!==_0x4efe92;},'tUHPq':function(_0x39055c,_0x8ea663){return _0x39055c+_0x8ea663;},'LbVNO':function(_0x76ce44,_0x1a8d82){return _0x76ce44!==_0x1a8d82;},'mUZzt':_0x5a55d7(0xd6),'wspEm':function(_0x45d55b,_0x32a741){return _0x45d55b+_0x32a741;},'wZBTk':function(_0x102efc,_0x2046d3){return _0x102efc<_0x2046d3;},'BdzTo':function(_0x58fef7,_0xcbb793){return _0x58fef7+_0xcbb793;},'CfTnO':function(_0x2691e9,_0xb6cb0d){return _0x2691e9+_0xb6cb0d;},'rxmgd':function(_0x24a777,_0x3bf93f){return _0x24a777(_0x3bf93f);},'CvRvZ':function(_0x4b3067,_0xba17f7){return _0x4b3067+_0xba17f7;},'feAiY':function(_0x340c02,_0x118a69){return _0x340c02+_0x118a69;},'Xdzuj':function(_0x14d9f7,_0x59a127,_0x2788cf){return _0x14d9f7(_0x59a127,_0x2788cf);},'fiHVX':function(_0x1dc923,_0x4fa421){return _0x1dc923+_0x4fa421;}};let _0x54e941=![];function _0x4ec0af(_0x45c2ed){const _0x2d8f05=_0x5a55d7;switch(_0x45c2ed){case _0x12dc41['DuWBb']:testsFailed+=0x1;break;case _0x12dc41[_0x2d8f05(0x11c)]:testsPassed+=0x1;break;case _0x12dc41[_0x2d8f05(0xf2)]:testsSkipped+=0x1;break;case _0x12dc41[_0x2d8f05(0xe5)]:testsPending+=0x1;break;case _0x12dc41['niXIL']:testsUndefined+=0x1;break;case _0x12dc41[_0x2d8f05(0xeb)]:testsUnknown+=0x1;break;case _0x12dc41[_0x2d8f05(0x101)]:testsAmbiguous+=0x1;break;default:break;}}_0x12dc41[_0x5a55d7(0x118)](global[_0x5a55d7(0x113)],undefined)&&console['log'](_0x12dc41[_0x5a55d7(0xd0)](_0x12dc41[_0x5a55d7(0xea)]('\x0a',global['__platform']),'\x0a'));let _0x2459c5=![];if(_0x12dc41[_0x5a55d7(0xec)](typeof this[_0x5a55d7(0xe9)][_0x5a55d7(0x106)],_0x12dc41[_0x5a55d7(0xc7)])){var _0x3f589f=this['eventDataCollector'][_0x5a55d7(0x106)](_0x56ceaa[_0x5a55d7(0xde)]),_0x228ad9=_0x3f589f[_0x5a55d7(0xe6)],_0x221c26=_0x3f589f[_0x5a55d7(0x10f)];console[_0x5a55d7(0x117)](_0x12dc41[_0x5a55d7(0xd0)]('\x20\x20',_0x228ad9[_0x5a55d7(0x11d)]));var _0xddfbc=(0x0,pickleParser[_0x5a55d7(0xd8)])(_0x228ad9);_0x221c26[_0x5a55d7(0xcc)]['forEach'](function(_0x11aee7){const _0x176713=_0x5a55d7;if(_0x11aee7['actionLocation']&&_0x11aee7[_0x176713(0xde)])_0x54e941=!![],console[_0x176713(0x117)](_0x12dc41[_0x176713(0xff)](_0x12dc41[_0x176713(0xd0)](_0x12dc41[_0x176713(0xd0)](_0x12dc41[_0x176713(0x112)],_0xddfbc[_0x11aee7[_0x176713(0xde)]['line']]['text']),_0x12dc41[_0x176713(0xed)]),_0x11aee7[_0x176713(0x121)][_0x176713(0x104)][_0x176713(0xc8)]())),_0x12dc41[_0x176713(0xfd)](_0x4ec0af,_0x11aee7[_0x176713(0x121)]['status'][_0x176713(0xc8)]());else _0x11aee7[_0x176713(0xf4)]&&(!_0x11aee7['actionLocation'][_0x176713(0xd9)]['includes'](_0x12dc41[_0x176713(0x103)])&&(_0x12dc41[_0x176713(0xd7)](_0x4ec0af,_0x11aee7['result']['status'][_0x176713(0xc8)]()),_0x54e941?console[_0x176713(0x117)](_0x12dc41[_0x176713(0xd0)](_0x12dc41[_0x176713(0xdb)],_0x11aee7[_0x176713(0x121)][_0x176713(0x104)][_0x176713(0xc8)]())):console[_0x176713(0x117)](_0x12dc41[_0x176713(0xca)](_0x12dc41[_0x176713(0x10e)],_0x11aee7['result'][_0x176713(0x104)][_0x176713(0xc8)]()))));if(_0x12dc41[_0x176713(0xfc)](_0x11aee7[_0x176713(0x121)][_0x176713(0x104)][_0x176713(0xc8)](),_0x12dc41[_0x176713(0xcd)])){const _0x1f6f3d=_0x12dc41['BuaMx'](nestedKeyValue,_0x11aee7,[_0x12dc41[_0x176713(0xd1)],_0x12dc41[_0x176713(0xf1)],_0x12dc41[_0x176713(0x10d)]]);_0x1f6f3d&&(testsErrorMessage[_0x228ad9[_0x176713(0x11d)]]=_0x1f6f3d,console[_0x176713(0x117)](_0x12dc41[_0x176713(0xca)](_0x1f6f3d,'\x0a'))),_0x2459c5=!![];}});}else{const _0x1d2b48=this[_0x5a55d7(0xe9)][_0x5a55d7(0xf6)](_0x56ceaa);console[_0x5a55d7(0x117)](_0x12dc41[_0x5a55d7(0xd0)](_0x12dc41[_0x5a55d7(0xca)](_0x12dc41[_0x5a55d7(0xe4)]('\x20\x20',_0x1d2b48[_0x5a55d7(0x102)][_0x5a55d7(0x111)][_0x5a55d7(0x11d)]),_0x12dc41['wlILd']),_0x1d2b48[_0x5a55d7(0xe6)][_0x5a55d7(0x11d)]));const _0xfff6b4=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x1d2b48[_0x5a55d7(0xe6)]),_0x432d0c=_0x1d2b48['testCase']['steps'],_0xb6fa3a=_0x1d2b48[_0x5a55d7(0xfa)],_0x4de536=_0x432d0c[_0x5a55d7(0x115)];for(let _0x32f81b=0x0;_0x12dc41[_0x5a55d7(0xfe)](_0x32f81b,_0x4de536);_0x32f81b++){const _0x1accf4=_0x432d0c[_0x32f81b];if(_0x1accf4[_0x5a55d7(0xf4)]&&_0x1accf4[_0x5a55d7(0xde)])_0x54e941=!![],console[_0x5a55d7(0x117)](_0x12dc41[_0x5a55d7(0xd4)](_0x12dc41['sKnXx'](_0x12dc41[_0x5a55d7(0xda)](_0x12dc41[_0x5a55d7(0x112)],_0xfff6b4[_0x1accf4[_0x5a55d7(0xde)]['line']][_0x5a55d7(0x109)]),_0x12dc41[_0x5a55d7(0xed)]),_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)][_0x5a55d7(0xc8)]())),_0x12dc41[_0x5a55d7(0xd7)](_0x4ec0af,_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)]['toUpperCase']());else _0x1accf4['actionLocation']&&(!_0x1accf4['actionLocation'][_0x5a55d7(0xd9)][_0x5a55d7(0xcf)](_0x12dc41[_0x5a55d7(0x103)])&&(_0x12dc41['rxmgd'](_0x4ec0af,_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)][_0x5a55d7(0xc8)]()),_0x54e941?console[_0x5a55d7(0x117)](_0x12dc41[_0x5a55d7(0x116)](_0x12dc41[_0x5a55d7(0xdb)],_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)][_0x5a55d7(0xc8)]())):console['log'](_0x12dc41[_0x5a55d7(0xc9)](_0x12dc41[_0x5a55d7(0x10e)],_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)][_0x5a55d7(0xc8)]()))));if(_0x12dc41[_0x5a55d7(0xfc)](_0xb6fa3a[_0x32f81b][_0x5a55d7(0x104)][_0x5a55d7(0xc8)](),_0x12dc41['DuWBb'])){_0x2459c5=!![];const _0x283d5b=_0x12dc41[_0x5a55d7(0xf5)](nestedKeyValue,_0xb6fa3a[_0x32f81b],[_0x12dc41['cNbbn'],_0x12dc41[_0x5a55d7(0x10d)]]);_0x283d5b&&(testsErrorMessage[_0x12dc41[_0x5a55d7(0xdc)](_0x12dc41[_0x5a55d7(0xca)](_0x1d2b48[_0x5a55d7(0x102)][_0x5a55d7(0x111)][_0x5a55d7(0x11d)],_0x12dc41[_0x5a55d7(0xed)]),_0x1d2b48[_0x5a55d7(0xe6)][_0x5a55d7(0x11d)])]=_0x283d5b,console[_0x5a55d7(0x117)](_0x12dc41['CfTnO'](_0x283d5b,'\x0a')));}}}_0x2459c5&&(testSuitesFailed+=0x1),console[_0x5a55d7(0x117)]('\x0a');}}module[a7_0x4034c0(0xe1)]=BrowserstackFormatter;
|
|
1
|
+
function a7_0x46ab(_0x170d8,_0x4b0be4){const _0x131400=a7_0x1314();return a7_0x46ab=function(_0x46abfb,_0x1cfe9b){_0x46abfb=_0x46abfb-0x17e;let _0x7bf4ec=_0x131400[_0x46abfb];return _0x7bf4ec;},a7_0x46ab(_0x170d8,_0x4b0be4);}const a7_0x5ef964=a7_0x46ab;(function(_0x4b105d,_0x308205){const _0x3f1a20=a7_0x46ab,_0x3e99c4=_0x4b105d();while(!![]){try{const _0x5bed7c=-parseInt(_0x3f1a20(0x18e))/0x1+parseInt(_0x3f1a20(0x1a4))/0x2*(-parseInt(_0x3f1a20(0x191))/0x3)+-parseInt(_0x3f1a20(0x184))/0x4*(parseInt(_0x3f1a20(0x1b7))/0x5)+-parseInt(_0x3f1a20(0x1bf))/0x6+-parseInt(_0x3f1a20(0x186))/0x7*(parseInt(_0x3f1a20(0x1b3))/0x8)+parseInt(_0x3f1a20(0x190))/0x9+-parseInt(_0x3f1a20(0x1da))/0xa*(-parseInt(_0x3f1a20(0x188))/0xb);if(_0x5bed7c===_0x308205)break;else _0x3e99c4['push'](_0x3e99c4['shift']());}catch(_0x26ff6d){_0x3e99c4['push'](_0x3e99c4['shift']());}}}(a7_0x1314,0x53b67));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x5ef964(0x1ab)),{Formatter}=requireModule(a7_0x5ef964(0x193)),pickleParser=requireModule('cucumber/lib/formatter/helpers/pickle_parser.js',a7_0x5ef964(0x193));function a7_0x1314(){const _0x395192=['pKrAn','toUpperCase','YpEzn','AMBIGUOUS','feature','getTestCaseData','env','HVghg','sPUoy','capability','ZjsEF','text','19669410KuvwNN','eventBroadcaster','uMrAq','suuKi','PASSED','hzZYx','VVwYM','includes','217380EyycZg','test-run-started','160384STzjbv','sULxe','11ECJrDy','HMdoG','ubgzI','\x20\x20\x20\x20BEFORE\x20-\x20','getTestCaseAttempt','exception','124553nRaqYG','steps','2230794XgwcSU','34797KDkGjv','kjLHV','cucumber','log','pickle','WaRfA','IzoDC','FAILED','exports','gherkinDocument','SEwNR','uri','__platform','test-run-finished','eOpbT','test-case-started','CONFIG','testCase','SKIPPED','98tsrjRg','dfkKC','forEach','uGrnb','MrFRb','Executing\x20tests\x20for\x20','zoOvX','../../../helpers/helper','stack','cucumber-js/test_old.setup.js','status','WLNxK','eXvHF','HMmKl','kPAuR','224gSVBLt','fgfaA','GbTCW','wRVGS','40PqbQXu','line','test-step-started','\x20\x20\x20\x20AFTER\x20-\x20','GWKer','length','result','YjveM','616320WflzaX','name','actionLocation','eventDataCollector','IqedN','OdphQ','oHeus','\x20-\x20','sourceLocation','stepResults','yNYJk','RFAlO','ZACgL','\x20\x20\x20\x20','oPDGc'];a7_0x1314=function(){return _0x395192;};return a7_0x1314();}class BrowserstackFormatter extends Formatter{constructor(_0x279b44){const _0x2c6327=a7_0x5ef964,_0x2e3e9a={'MrFRb':function(_0x54b40e,_0x4f545b){return _0x54b40e!==_0x4f545b;},'fgfaA':function(_0x203782,_0x232401){return _0x203782(_0x232401);},'YjveM':_0x2c6327(0x185),'kPAuR':_0x2c6327(0x1a0),'ZjsEF':'test-case-finished','IqedN':_0x2c6327(0x19e),'JFzPo':_0x2c6327(0x1b9)};super(_0x279b44),_0x279b44[_0x2c6327(0x1db)]['on'](_0x2e3e9a[_0x2c6327(0x1be)],()=>{const _0x41ad28=_0x2c6327;let _0x2a164f;if(_0x2e3e9a[_0x41ad28(0x1a8)](process['env'][_0x41ad28(0x1a1)],undefined)){const _0xdcd444=JSON['parse'](process[_0x41ad28(0x1d4)][_0x41ad28(0x1a1)]);_0x2a164f=_0xdcd444[_0x41ad28(0x1d7)];}_0x2e3e9a[_0x41ad28(0x1a8)](_0x2a164f,undefined)&&(global[_0x41ad28(0x19d)]=_0x2e3e9a[_0x41ad28(0x1b4)](getPlatformName,_0x2a164f),console[_0x41ad28(0x194)](_0x41ad28(0x1a9)+global[_0x41ad28(0x19d)]));}),_0x279b44[_0x2c6327(0x1db)]['on'](_0x2e3e9a[_0x2c6327(0x1b2)],()=>{testSuites+=0x1;}),_0x279b44[_0x2c6327(0x1db)]['on'](_0x2e3e9a[_0x2c6327(0x1d8)],_0x33823a=>{this['logTestCaseFinished'](_0x33823a);}),_0x279b44[_0x2c6327(0x1db)]['on'](_0x2e3e9a[_0x2c6327(0x1c3)],()=>{totalTests-=0x2;}),_0x279b44[_0x2c6327(0x1db)]['on'](_0x2e3e9a['JFzPo'],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x3e34f2){const _0x48e9ac=a7_0x5ef964,_0x19c051={'VVwYM':_0x48e9ac(0x198),'GbTCW':_0x48e9ac(0x180),'mlSSS':_0x48e9ac(0x1a3),'ubgzI':'PENDING','oHeus':'UNDEFINED','OdphQ':'UNKNOWN','WLNxK':_0x48e9ac(0x1d1),'sULxe':function(_0x5ca170,_0x30f9ed){return _0x5ca170+_0x30f9ed;},'eXvHF':function(_0x57272f,_0x459752){return _0x57272f+_0x459752;},'yNYJk':function(_0x4a6656,_0x3e8559){return _0x4a6656+_0x3e8559;},'kjLHV':_0x48e9ac(0x1cc),'uGrnb':_0x48e9ac(0x1c6),'HMdoG':function(_0x495601,_0x5bde4c){return _0x495601(_0x5bde4c);},'HMmKl':_0x48e9ac(0x1ad),'hzZYx':function(_0x3c3bc4,_0x51b47c){return _0x3c3bc4+_0x51b47c;},'GWKer':_0x48e9ac(0x1ba),'ZACgL':_0x48e9ac(0x18b),'wdsvd':function(_0xbc68fb,_0x7cc265){return _0xbc68fb===_0x7cc265;},'eOpbT':function(_0x12aec7,_0x35bf75,_0xa7a9a5){return _0x12aec7(_0x35bf75,_0xa7a9a5);},'SEwNR':'result','uMrAq':_0x48e9ac(0x18d),'sPUoy':_0x48e9ac(0x1ac),'KLYrZ':function(_0x37e23b,_0xf25e42){return _0x37e23b+_0xf25e42;},'zoOvX':function(_0x31a88d,_0x513e06){return _0x31a88d!==_0x513e06;},'pKrAn':function(_0x4b890e,_0x34806c){return _0x4b890e+_0x34806c;},'RFAlO':function(_0x3aba0a,_0x2180af){return _0x3aba0a!==_0x2180af;},'suuKi':'undefined','wRVGS':function(_0x355c46,_0x5e302a){return _0x355c46+_0x5e302a;},'jjqEX':function(_0x3c6a20,_0x4e9cb9){return _0x3c6a20<_0x4e9cb9;},'IzoDC':function(_0x19e81c,_0x57fc26){return _0x19e81c+_0x57fc26;},'dfkKC':function(_0x4528b2,_0x440079){return _0x4528b2+_0x440079;},'YpEzn':function(_0x3262f9,_0x32244c){return _0x3262f9(_0x32244c);},'HVghg':function(_0x485ab4,_0x3302d5){return _0x485ab4===_0x3302d5;},'WaRfA':function(_0x9a5994,_0x561996){return _0x9a5994+_0x561996;},'oPDGc':function(_0x345f9b,_0x3a4899){return _0x345f9b+_0x3a4899;}};let _0x1879c7=![];function _0x3abfa3(_0x1104c2){const _0x5283b5=_0x48e9ac;switch(_0x1104c2){case _0x19c051[_0x5283b5(0x182)]:testsFailed+=0x1;break;case _0x19c051[_0x5283b5(0x1b5)]:testsPassed+=0x1;break;case _0x19c051['mlSSS']:testsSkipped+=0x1;break;case _0x19c051[_0x5283b5(0x18a)]:testsPending+=0x1;break;case _0x19c051[_0x5283b5(0x1c5)]:testsUndefined+=0x1;break;case _0x19c051[_0x5283b5(0x1c4)]:testsUnknown+=0x1;break;case _0x19c051[_0x5283b5(0x1af)]:testsAmbiguous+=0x1;break;default:break;}}_0x19c051[_0x48e9ac(0x1aa)](global[_0x48e9ac(0x19d)],undefined)&&console[_0x48e9ac(0x194)](_0x19c051[_0x48e9ac(0x1ce)](_0x19c051['KLYrZ']('\x0a',global[_0x48e9ac(0x19d)]),'\x0a'));let _0x3777fa=![];if(_0x19c051[_0x48e9ac(0x1ca)](typeof this[_0x48e9ac(0x1c2)][_0x48e9ac(0x1d3)],_0x19c051[_0x48e9ac(0x17f)])){var _0x193e6f=this['eventDataCollector']['getTestCaseData'](_0x3e34f2['sourceLocation']),_0x13dad8=_0x193e6f[_0x48e9ac(0x195)],_0x480b34=_0x193e6f[_0x48e9ac(0x1a2)];console[_0x48e9ac(0x194)](_0x19c051[_0x48e9ac(0x1ce)]('\x20\x20',_0x13dad8[_0x48e9ac(0x1c0)]));var _0x528c91=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x13dad8);_0x480b34[_0x48e9ac(0x18f)][_0x48e9ac(0x1a6)](function(_0x4baf92){const _0x463497=_0x48e9ac;if(_0x4baf92['actionLocation']&&_0x4baf92['sourceLocation'])_0x1879c7=!![],console[_0x463497(0x194)](_0x19c051[_0x463497(0x187)](_0x19c051[_0x463497(0x1b0)](_0x19c051[_0x463497(0x1c9)](_0x19c051[_0x463497(0x192)],_0x528c91[_0x4baf92['sourceLocation'][_0x463497(0x1b8)]][_0x463497(0x1d9)]),_0x19c051[_0x463497(0x1a7)]),_0x4baf92[_0x463497(0x1bd)]['status'][_0x463497(0x1cf)]())),_0x19c051[_0x463497(0x189)](_0x3abfa3,_0x4baf92[_0x463497(0x1bd)][_0x463497(0x1ae)][_0x463497(0x1cf)]());else _0x4baf92[_0x463497(0x1c1)]&&(!_0x4baf92[_0x463497(0x1c1)][_0x463497(0x19c)][_0x463497(0x183)](_0x19c051[_0x463497(0x1b1)])&&(_0x19c051[_0x463497(0x189)](_0x3abfa3,_0x4baf92[_0x463497(0x1bd)]['status'][_0x463497(0x1cf)]()),_0x1879c7?console[_0x463497(0x194)](_0x19c051[_0x463497(0x181)](_0x19c051[_0x463497(0x1bb)],_0x4baf92['result'][_0x463497(0x1ae)][_0x463497(0x1cf)]())):console[_0x463497(0x194)](_0x19c051['hzZYx'](_0x19c051['ZACgL'],_0x4baf92[_0x463497(0x1bd)][_0x463497(0x1ae)][_0x463497(0x1cf)]()))));if(_0x19c051['wdsvd'](_0x4baf92[_0x463497(0x1bd)]['status'][_0x463497(0x1cf)](),_0x19c051[_0x463497(0x182)])){const _0x3118b6=_0x19c051[_0x463497(0x19f)](nestedKeyValue,_0x4baf92,[_0x19c051[_0x463497(0x19b)],_0x19c051['uMrAq'],_0x19c051[_0x463497(0x1d6)]]);_0x3118b6&&(testsErrorMessage[_0x13dad8[_0x463497(0x1c0)]]=_0x3118b6,console[_0x463497(0x194)](_0x19c051['KLYrZ'](_0x3118b6,'\x0a'))),_0x3777fa=!![];}});}else{const _0x2f74c6=this[_0x48e9ac(0x1c2)][_0x48e9ac(0x18c)](_0x3e34f2);console[_0x48e9ac(0x194)](_0x19c051[_0x48e9ac(0x187)](_0x19c051[_0x48e9ac(0x1ce)](_0x19c051[_0x48e9ac(0x1b6)]('\x20\x20',_0x2f74c6[_0x48e9ac(0x19a)]['feature'][_0x48e9ac(0x1c0)]),_0x19c051[_0x48e9ac(0x1a7)]),_0x2f74c6[_0x48e9ac(0x195)]['name']));const _0x5a316e=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x2f74c6[_0x48e9ac(0x195)]),_0x10ca9a=_0x2f74c6[_0x48e9ac(0x1a2)][_0x48e9ac(0x18f)],_0x831fa6=_0x2f74c6[_0x48e9ac(0x1c8)],_0x2c9be9=_0x10ca9a[_0x48e9ac(0x1bc)];for(let _0x3ac739=0x0;_0x19c051['jjqEX'](_0x3ac739,_0x2c9be9);_0x3ac739++){const _0x50831f=_0x10ca9a[_0x3ac739];if(_0x50831f['actionLocation']&&_0x50831f[_0x48e9ac(0x1c7)])_0x1879c7=!![],console['log'](_0x19c051[_0x48e9ac(0x197)](_0x19c051[_0x48e9ac(0x1a5)](_0x19c051[_0x48e9ac(0x1b6)](_0x19c051[_0x48e9ac(0x192)],_0x5a316e[_0x50831f[_0x48e9ac(0x1c7)]['line']][_0x48e9ac(0x1d9)]),_0x19c051[_0x48e9ac(0x1a7)]),_0x831fa6[_0x3ac739]['status']['toUpperCase']())),_0x19c051[_0x48e9ac(0x189)](_0x3abfa3,_0x831fa6[_0x3ac739][_0x48e9ac(0x1ae)][_0x48e9ac(0x1cf)]());else _0x50831f[_0x48e9ac(0x1c1)]&&(!_0x50831f[_0x48e9ac(0x1c1)]['uri'][_0x48e9ac(0x183)](_0x19c051[_0x48e9ac(0x1b1)])&&(_0x19c051[_0x48e9ac(0x1d0)](_0x3abfa3,_0x831fa6[_0x3ac739][_0x48e9ac(0x1ae)][_0x48e9ac(0x1cf)]()),_0x1879c7?console[_0x48e9ac(0x194)](_0x19c051['KLYrZ'](_0x19c051[_0x48e9ac(0x1bb)],_0x831fa6[_0x3ac739][_0x48e9ac(0x1ae)][_0x48e9ac(0x1cf)]())):console[_0x48e9ac(0x194)](_0x19c051[_0x48e9ac(0x1b0)](_0x19c051[_0x48e9ac(0x1cb)],_0x831fa6[_0x3ac739][_0x48e9ac(0x1ae)][_0x48e9ac(0x1cf)]()))));if(_0x19c051[_0x48e9ac(0x1d5)](_0x831fa6[_0x3ac739][_0x48e9ac(0x1ae)]['toUpperCase'](),_0x19c051[_0x48e9ac(0x182)])){_0x3777fa=!![];const _0x1ec2af=_0x19c051['eOpbT'](nestedKeyValue,_0x831fa6[_0x3ac739],[_0x19c051[_0x48e9ac(0x17e)],_0x19c051['sPUoy']]);_0x1ec2af&&(testsErrorMessage[_0x19c051[_0x48e9ac(0x1b0)](_0x19c051[_0x48e9ac(0x196)](_0x2f74c6[_0x48e9ac(0x19a)][_0x48e9ac(0x1d2)][_0x48e9ac(0x1c0)],_0x19c051[_0x48e9ac(0x1a7)]),_0x2f74c6[_0x48e9ac(0x195)][_0x48e9ac(0x1c0)])]=_0x1ec2af,console['log'](_0x19c051[_0x48e9ac(0x1cd)](_0x1ec2af,'\x0a')));}}}_0x3777fa&&(testSuitesFailed+=0x1),console['log']('\x0a');}}module[a7_0x5ef964(0x199)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a8_0x404e(){const _0x13aff9=['HqTKg','cells','QKLIt','_gitConfigPath','0|4|1|2|3','scenario','cucumber','5765599MKmcpU','uri','hook','AssertionError','ZTqav','join','HookRunStarted','jjkok','FYdOQ','OMxdI','UcHGz','RXYfL','find','result','path','qcWlA','1067lPUKMP','failure_data','getTestUUID','includes','hooks','finished_at','sendHook','DAwzE','FAILED','tags','1590152nIGmYG','failureType','filter','failure_type','nemBy','name','JfJSK','WCERE','../../helpers/test-observability/error-handler','Exception\x20in\x20getHookRunEventData:\x20','unknown','children','QKhjp','nanos','astNodeIds','exception','IhHDl','hPFhL','tagExpression','8LeuWmT','split','util','BLbrV','GwxaH','failed','testCaseStartedId','getHookRunEventData','getScenarioExamples','fDrPq','status','NhGpU','1416745BLMHdP','updateTestStatus','DBfXT','rule','feature','dQKvk','testStepFinished','TlDed','map','failure','QHDaf','8wXQLtk','passed','sourceReference','vIEMK','tableBody','Mdqqg','timestamp','dqLGV','255282fjPFAI','../../helpers/testhub/utils','toLowerCase','length','120630RXsjIX','pending','TlBRV','message','wDrzb','NIYhE','event_type','qshaf','YCbaJ','relative','PQSqG','../../helpers/logger','mtpnC','every','hookId','1662134ERGVud','value','nXsyj','JkXCO','configureGit','skipped','testCaseFinished','uuid','TestRunFinished','IACAl','root','rIUJe','toString','nAKTB','hook_run','failureData','BEFORE_EACH','toISOString','getHookResult','push','pAtGJ','getCucumberHookType','sendTestRunEventForCucumber','winstonLogger','_gitConfigured','FpPDB','YFpSW','test_run','uploadEventData','forEach','MQmJp','flatMap','zvUqu','6DkGYLo','match','Gyndu','RWdcD','278856LakTWn','getHooksListForTest','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','Exception\x20in\x20sendHook:\x20','NXZxS','debug','duration_in_ms','LIfQw','SKIPPED','strip-ansi','../../helpers/helper','../playwright/reporter/test-details','ZPBGe','ZXRiw','HookRunFinished','testStepResult','examples','FLWVZ'];a8_0x404e=function(){return _0x13aff9;};return a8_0x404e();}const a8_0x59dcae=a8_0x85b0;(function(_0x4f313b,_0x2c1743){const _0x46caa3=a8_0x85b0,_0x225f16=_0x4f313b();while(!![]){try{const _0x59d5e6=parseInt(_0x46caa3(0x189))/0x1+parseInt(_0x46caa3(0x144))/0x2*(-parseInt(_0x46caa3(0x1aa))/0x3)+-parseInt(_0x46caa3(0x157))/0x4*(-parseInt(_0x46caa3(0x163))/0x5)+-parseInt(_0x46caa3(0x176))/0x6+-parseInt(_0x46caa3(0x1c7))/0x7*(parseInt(_0x46caa3(0x16e))/0x8)+parseInt(_0x46caa3(0x1ae))/0x9+parseInt(_0x46caa3(0x17a))/0xa*(parseInt(_0x46caa3(0x13a))/0xb);if(_0x59d5e6===_0x2c1743)break;else _0x225f16['push'](_0x225f16['shift']());}catch(_0x494c1b){_0x225f16['push'](_0x225f16['shift']());}}}(a8_0x404e,0xedb03));const path=require(a8_0x59dcae(0x138)),util=require(a8_0x59dcae(0x159)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a8_0x59dcae(0x177)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x59dcae(0x1b8)),logger=require(a8_0x59dcae(0x185))[a8_0x59dcae(0x1a0)],{o11yClassErrorHandler}=require(a8_0x59dcae(0x14c)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x59dcae(0x1b9));this[a8_0x59dcae(0x1a1)]=![],this[a8_0x59dcae(0x1c3)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x27d6bc,_0x494598,_0xcdf2cb,_0x8bf7b1,_0x5ae338){const _0x8b4a61=a8_0x59dcae,_0x2660e4={'UcHGz':function(_0x537d4d,_0x357fb2){return _0x537d4d===_0x357fb2;},'JsVXq':_0x8b4a61(0x142),'ZTqav':_0x8b4a61(0x15c),'NIYhE':_0x8b4a61(0x1b6),'FLWVZ':_0x8b4a61(0x18e),'CDqUl':function(_0x30e0a3,_0x19c7f5){return _0x30e0a3||_0x19c7f5;},'qcWlA':function(_0x34797f,_0x251c8b){return _0x34797f+_0x251c8b;},'GwxaH':function(_0xa0cc3a,_0x232a56){return _0xa0cc3a+_0x232a56;},'dqLGV':'test','QKLIt':'javascript','HqTKg':'cucumber','rIUJe':_0x8b4a61(0x17b),'IACAl':_0x8b4a61(0x16f),'NXZxS':function(_0x6ff69b,_0x2d0c63){return _0x6ff69b!==_0x2d0c63;},'qshaf':function(_0x4cd4b2,_0x5371a6){return _0x4cd4b2/_0x5371a6;},'vIEMK':function(_0x24d22f,_0xbcbc1e){return _0x24d22f===_0xbcbc1e;},'hPFhL':_0x8b4a61(0x1b7),'ZXRiw':function(_0x46a356,_0x2ccf3d){return _0x46a356(_0x2ccf3d);},'QKhjp':_0x8b4a61(0x14e),'FpPDB':function(_0x74cc0e,_0x22dc55){return _0x74cc0e(_0x22dc55);},'nemBy':_0x8b4a61(0x1ca),'mtpnC':'UnhandledError','JfJSK':function(_0x132925,_0x2f8f43){return _0x132925===_0x2f8f43;},'Gyndu':_0x8b4a61(0x191),'lUado':function(_0x7f454c,_0x8cc76c){return _0x7f454c>_0x8cc76c;}},{feature:_0x324f58,scenario:_0x3eca6b,steps:_0xbf81d3,uuid:_0x4fd5d8,startedAt:_0x4f76c1,finishedAt:_0x14b6c5}=_0x2660e4['CDqUl'](_0x5ae338,{}),_0x218dd0=this[_0x8b4a61(0x15f)](_0x494598,_0xcdf2cb);await this[_0x8b4a61(0x18d)]();const _0x4c742b=_0x218dd0?_0x2660e4[_0x8b4a61(0x139)](_0x2660e4[_0x8b4a61(0x15b)](_0x2660e4['GwxaH'](_0xcdf2cb[_0x8b4a61(0x149)],'\x20('),_0x218dd0[_0x8b4a61(0x1cc)](',\x20')),')'):_0xcdf2cb[_0x8b4a61(0x149)],_0x2626eb={'uuid':_0x4fd5d8,'started_at':_0x4f76c1,'finished_at':_0x14b6c5,'type':_0x2660e4[_0x8b4a61(0x175)],'body':{'lang':_0x2660e4[_0x8b4a61(0x1c2)],'code':null},'name':_0x4c742b,'scopes':[_0x324f58&&_0x324f58['name']?_0x324f58[_0x8b4a61(0x149)]:''],'tags':_0xcdf2cb['tags']?_0xcdf2cb[_0x8b4a61(0x143)][_0x8b4a61(0x16b)](({name:_0x51a422})=>_0x51a422):[],'file_name':_0xcdf2cb[_0x8b4a61(0x1c8)],'location':_0xcdf2cb[_0x8b4a61(0x1c8)],'vc_filepath':this[_0x8b4a61(0x1c3)]&&_0xcdf2cb[_0x8b4a61(0x1c8)]?path[_0x8b4a61(0x183)](this['_gitConfigPath'],_0xcdf2cb[_0x8b4a61(0x1c8)]):null,'framework':_0x2660e4[_0x8b4a61(0x1c0)],'result':_0x2660e4[_0x8b4a61(0x194)],'meta':{'feature':_0x324f58,'scenario':_0x3eca6b,'steps':_0xbf81d3,'examples':_0x218dd0},'customRerunParam':{'rerun_name':_0x4c742b}};if(_0x27d6bc[_0x8b4a61(0x18f)]&&_0xbf81d3){const _0x153a9d=_0x27d6bc[_0x8b4a61(0x18f)];let _0x40835b=_0x2660e4[_0x8b4a61(0x192)];_0xbf81d3[_0x8b4a61(0x187)](_0x38b5ce=>{const _0x23ce55=_0x8b4a61;if(_0x2660e4[_0x23ce55(0x134)](_0x38b5ce[_0x23ce55(0x137)],_0x2660e4['JsVXq']))return _0x40835b=_0x2660e4[_0x23ce55(0x1cb)],_0x153a9d[_0x23ce55(0x16c)]=_0x38b5ce[_0x23ce55(0x16c)],_0x153a9d['failureType']=_0x38b5ce['failureType'],![];else{if(_0x2660e4[_0x23ce55(0x134)](_0x38b5ce[_0x23ce55(0x137)],_0x2660e4[_0x23ce55(0x17f)]))return _0x40835b=_0x2660e4[_0x23ce55(0x1bf)],![];}return!![];}),_0x2626eb[_0x8b4a61(0x13f)]=new Date()[_0x8b4a61(0x19a)](),_0x2626eb['result']=_0x40835b;_0x153a9d[_0x8b4a61(0x174)]&&_0x2660e4[_0x8b4a61(0x1b2)](_0x153a9d[_0x8b4a61(0x174)][_0x8b4a61(0x151)],undefined)?_0x2626eb['duration_in_ms']=_0x2660e4[_0x8b4a61(0x181)](_0x153a9d[_0x8b4a61(0x174)][_0x8b4a61(0x151)],0xf4240):_0x2626eb[_0x8b4a61(0x1b4)]=undefined;if(_0x2660e4[_0x8b4a61(0x171)](_0x40835b,_0x2660e4[_0x8b4a61(0x1cb)])){const {default:_0x3e3e07}=await import(_0x2660e4[_0x8b4a61(0x155)]);_0x2626eb[_0x8b4a61(0x16c)]=[{'backtrace':[_0x153a9d[_0x8b4a61(0x16c)]?_0x2660e4[_0x8b4a61(0x1bb)](_0x3e3e07,_0x153a9d[_0x8b4a61(0x16c)]):_0x2660e4[_0x8b4a61(0x150)]]}],_0x2626eb['failure_reason']=_0x153a9d[_0x8b4a61(0x16c)]?_0x2660e4[_0x8b4a61(0x1a2)](_0x3e3e07,_0x153a9d[_0x8b4a61(0x16c)]):_0x153a9d[_0x8b4a61(0x17d)],_0x153a9d[_0x8b4a61(0x145)]&&(_0x2626eb['failure_type']=_0x153a9d['failureType'][_0x8b4a61(0x1ab)](/AssertError/)?_0x2660e4[_0x8b4a61(0x148)]:_0x2660e4[_0x8b4a61(0x186)]);}}if(_0x2660e4[_0x8b4a61(0x14a)](_0x8bf7b1,_0x2660e4[_0x8b4a61(0x1ac)])){const _0x1d4c81=this[_0x8b4a61(0x1af)](_0x27d6bc['testCaseFinished'][_0x8b4a61(0x15d)]);_0x1d4c81&&_0x2660e4['lUado'](_0x1d4c81[_0x8b4a61(0x179)],0x0)&&(_0x2626eb['hooks']=_0x1d4c81,this[_0x8b4a61(0x164)](_0x27d6bc[_0x8b4a61(0x18f)][_0x8b4a61(0x15d)],_0x2626eb));}testhubUtils['appendTesthubParams'](_0x2626eb,_0x8bf7b1,'',FRAMEWORKS['CUCUMBER']);const _0x96810={};_0x96810[_0x8b4a61(0x180)]=_0x8bf7b1,_0x96810[_0x8b4a61(0x1a4)]=_0x2626eb;const _0xa6ec4c=_0x96810;await SessionHandler['uploadEventData'](_0xa6ec4c);}[a8_0x59dcae(0x164)](_0x57c962,_0x344016){const _0x2e9e29=a8_0x59dcae,_0x325744={};_0x325744[_0x2e9e29(0x154)]=function(_0x875384,_0x5afb8b){return _0x875384 instanceof _0x5afb8b;},_0x325744[_0x2e9e29(0x1cf)]=function(_0x44c5e8,_0x510b50){return _0x44c5e8===_0x510b50;},_0x325744[_0x2e9e29(0x15a)]='failed',_0x325744[_0x2e9e29(0x17e)]=_0x2e9e29(0x1c4),_0x325744[_0x2e9e29(0x173)]=function(_0x2921b1,_0x5450ce){return _0x2921b1 instanceof _0x5450ce;};const _0x582187=_0x325744,_0x4b0812=hooksMap[_0x57c962];if(_0x582187['IhHDl'](_0x4b0812,Array))for(const _0x281fe6 of _0x4b0812){if(_0x582187[_0x2e9e29(0x1cf)](_0x281fe6[_0x2e9e29(0x137)],_0x582187[_0x2e9e29(0x15a)])){const _0x388394=_0x582187[_0x2e9e29(0x17e)][_0x2e9e29(0x158)]('|');let _0x2d5b75=0x0;while(!![]){switch(_0x388394[_0x2d5b75++]){case'0':_0x344016[_0x2e9e29(0x137)]=_0x281fe6[_0x2e9e29(0x137)];continue;case'1':_0x344016['failure_reason']=_0x582187[_0x2e9e29(0x173)](_0x281fe6[_0x2e9e29(0x13b)],Array)?_0x281fe6['failure_data'][0x0]['backtrace'][_0x2e9e29(0x1cc)]('\x0a'):'';continue;case'2':_0x344016['failure_type']=_0x281fe6[_0x2e9e29(0x147)];continue;case'3':return _0x344016;case'4':_0x344016['failure']=_0x281fe6['failure_data'];continue;}break;}}};}[a8_0x59dcae(0x1af)](_0x181b23){const _0x182a5d=a8_0x59dcae;if(hooksMap[_0x181b23])return hooksMap[_0x181b23][_0x182a5d(0x16b)](_0x20d231=>_0x20d231[_0x182a5d(0x190)]);return[];}[a8_0x59dcae(0x15e)](_0x5d96a1,_0x32c71f,_0x4f8d19,_0x527d41,_0x37429c,_0x28d310){const _0x5cacbe=a8_0x59dcae,_0x2fae89={'DAwzE':function(_0x145e9b,_0x372d7b){return _0x145e9b===_0x372d7b;},'Vlzjk':_0x5cacbe(0x1bc),'kOyhc':function(_0x3bf889,_0x49eede,_0x290b77){return _0x3bf889(_0x49eede,_0x290b77);},'JQPhD':_0x5cacbe(0x170),'PQSqG':'uri','ZPBGe':_0x5cacbe(0x17b),'JkXCO':_0x5cacbe(0x1c9),'TlDed':'javascript','qQpsn':function(_0x386419,_0x5c33cc,_0x137855){return _0x386419(_0x5c33cc,_0x137855);},'mdkUS':_0x5cacbe(0x167),'pAtGJ':_0x5cacbe(0x149),'dQKvk':function(_0x52ca3a,_0x457400,_0x14e051){return _0x52ca3a(_0x457400,_0x14e051);},'bbZRI':_0x5cacbe(0x1c6)};try{if(_0x2fae89[_0x5cacbe(0x141)](_0x4f8d19,_0x2fae89['Vlzjk'])){const _0x5155e2=new Date()['toISOString'](),_0x147802=hooksMap[_0x32c71f];if(!_0x147802)return;const _0x24c3f4=_0x147802[_0x5cacbe(0x136)](_0x1c7096=>_0x1c7096[_0x5cacbe(0x190)]===_0x527d41['id']);if(!_0x24c3f4)return;const _0x2e31f1=this['getHookResult'](_0x5d96a1,_0x32c71f);_0x24c3f4[_0x5cacbe(0x137)]=_0x2e31f1[_0x5cacbe(0x161)],_0x24c3f4[_0x5cacbe(0x13f)]=_0x5155e2,_0x24c3f4[_0x5cacbe(0x147)]=_0x2e31f1[_0x5cacbe(0x145)];const _0x2cb193={};return _0x2cb193['backtrace']=_0x2e31f1[_0x5cacbe(0x198)],_0x24c3f4[_0x5cacbe(0x13b)]=[_0x2cb193],_0x24c3f4;}const _0x36276c=TestDetails[_0x5cacbe(0x13c)](_0x32c71f),_0x271aa4=_0x5d96a1[_0x5cacbe(0x13e)][_0x5cacbe(0x136)](_0x28b0d1=>_0x28b0d1['id']===_0x527d41[_0x5cacbe(0x188)]),_0x453f9d=_0x2fae89['kOyhc'](nestedKeyValue,_0x271aa4,[_0x2fae89['JQPhD'],_0x2fae89[_0x5cacbe(0x184)]]),_0x21abc3=new Date()[_0x5cacbe(0x19a)](),_0x1af207=_0x2fae89[_0x5cacbe(0x1ba)],_0x3ca611=_0x271aa4['tagExpression']?_0x271aa4[_0x5cacbe(0x156)]['split']('\x20')[_0x5cacbe(0x146)](_0x25bd04=>_0x25bd04[_0x5cacbe(0x13d)]('@')):[],_0x529b7b={'uuid':_0x527d41['id'],'type':_0x2fae89[_0x5cacbe(0x18c)],'hook_type':_0x28d310,'name':_0x271aa4['name'],'body':{'lang':_0x2fae89[_0x5cacbe(0x16a)],'code':null},'tags':_0x3ca611,'test_run_id':_0x36276c,'scope':_0x2fae89['qQpsn'](nestedKeyValue,_0x37429c,[_0x2fae89['mdkUS'],_0x2fae89[_0x5cacbe(0x19d)]]),'scopes':[_0x2fae89[_0x5cacbe(0x168)](nestedKeyValue,_0x37429c,[_0x2fae89['mdkUS'],_0x2fae89['pAtGJ']])||''],'file_name':_0x453f9d,'location':_0x453f9d,'vc_filepath':this[_0x5cacbe(0x1c3)]?path[_0x5cacbe(0x183)](this[_0x5cacbe(0x1c3)],_0x453f9d):null,'result':_0x1af207,'started_at':_0x21abc3,'framework':_0x2fae89['bbZRI']};return _0x529b7b;}catch(_0x972f36){logger[_0x5cacbe(0x1b3)](_0x5cacbe(0x14d)+util['format'](_0x972f36)+'\x20');}}async[a8_0x59dcae(0x140)](_0x1d5a3e,_0x528956,_0x350354,_0x3bb277,_0x2dbc7c,_0x1dc5b2){const _0x264d45=a8_0x59dcae,_0x4abdd0={'LIfQw':function(_0x219211,_0x21c992){return _0x219211===_0x21c992;},'nAKTB':_0x264d45(0x1cd),'nXsyj':function(_0x11b622,_0x5d7bb7,_0x4de6b5){return _0x11b622(_0x5d7bb7,_0x4de6b5);},'RWdcD':_0x264d45(0x170),'TlBRV':_0x264d45(0x1c8),'QHDaf':_0x264d45(0x1b0)};try{const _0xd582cf=_0x3bb277[_0x264d45(0x136)](_0x19209e=>_0x19209e['id']===_0x2dbc7c);if(!_0xd582cf[_0x264d45(0x188)])return;const _0x2d0c4b=this[_0x264d45(0x19e)](_0x3bb277,_0xd582cf),_0xda1f5b=this[_0x264d45(0x15e)](_0x1d5a3e,_0x528956,_0x350354,_0xd582cf,_0x1dc5b2,_0x2d0c4b);if(!_0xda1f5b)return;_0x4abdd0[_0x264d45(0x1b5)](_0x350354,_0x4abdd0[_0x264d45(0x196)])&&(hooksMap[_0x528956]?hooksMap[_0x528956][_0x264d45(0x19c)](_0xda1f5b):hooksMap[_0x528956]=[_0xda1f5b]);const _0x3cc48b=_0x1d5a3e['hooks']['find'](_0x216670=>_0x216670['id']===_0xd582cf['hookId']),_0x3a1bc3=_0x4abdd0[_0x264d45(0x18b)](nestedKeyValue,_0x3cc48b,[_0x4abdd0[_0x264d45(0x1ad)],_0x4abdd0[_0x264d45(0x17c)]]);if(!_0x3a1bc3)return;else{if(_0x3a1bc3[_0x264d45(0x13d)](_0x4abdd0[_0x264d45(0x16d)]))return;}const _0xa3cbc8={};_0xa3cbc8[_0x264d45(0x180)]=_0x350354,_0xa3cbc8[_0x264d45(0x197)]=_0xda1f5b;const _0x80e48c=_0xa3cbc8;await SessionHandler[_0x264d45(0x1a5)](_0x80e48c);}catch(_0x2818db){logger[_0x264d45(0x1b3)](_0x264d45(0x1b1)+util['format'](_0x2818db)+'\x20');}}[a8_0x59dcae(0x19b)](_0x47a3fc,_0xd63a0b){const _0x3eb61f=a8_0x59dcae,_0x53c2fe={};_0x53c2fe[_0x3eb61f(0x165)]=function(_0x148e2a,_0x3b9ec4){return _0x148e2a===_0x3b9ec4;},_0x53c2fe[_0x3eb61f(0x182)]=_0x3eb61f(0x15c),_0x53c2fe[_0x3eb61f(0x1a7)]=function(_0x32522b,_0x46c902){return _0x32522b===_0x46c902;},_0x53c2fe[_0x3eb61f(0x133)]='UnhandledError',_0x53c2fe[_0x3eb61f(0x162)]='AssertionError',_0x53c2fe[_0x3eb61f(0x1a3)]=function(_0x2882a9,_0x461f24){return _0x2882a9||_0x461f24;};const _0x2d80e9=_0x53c2fe,_0x1ba576=_0x47a3fc[_0x3eb61f(0x169)][_0xd63a0b][_0x3eb61f(0x1bd)];let _0x5a6502,_0x5c7956;return _0x1ba576&&_0x2d80e9[_0x3eb61f(0x165)](_0x1ba576[_0x3eb61f(0x161)][_0x3eb61f(0x195)]()['toLowerCase'](),_0x2d80e9[_0x3eb61f(0x182)])&&(_0x5a6502=_0x2d80e9[_0x3eb61f(0x1a7)](_0x1ba576[_0x3eb61f(0x153)],undefined)?_0x1ba576['message']:_0x1ba576[_0x3eb61f(0x153)][_0x3eb61f(0x17d)],_0x5c7956=_0x2d80e9[_0x3eb61f(0x165)](_0x1ba576[_0x3eb61f(0x153)],undefined)?_0x2d80e9['OMxdI']:_0x1ba576[_0x3eb61f(0x17d)]['match'](/Assert/)?_0x2d80e9[_0x3eb61f(0x162)]:_0x2d80e9[_0x3eb61f(0x133)]),{'status':_0x1ba576[_0x3eb61f(0x161)][_0x3eb61f(0x178)](),'failureType':_0x2d80e9['YFpSW'](_0x5c7956,null),'failureData':!_0x5a6502?null:[_0x5a6502]};}[a8_0x59dcae(0x19e)](_0x520e9a,_0x1b2658){const _0x54505e=a8_0x59dcae,_0x392c0d={};_0x392c0d[_0x54505e(0x14b)]=function(_0x10e4e5,_0x149f35){return _0x10e4e5===_0x149f35;},_0x392c0d[_0x54505e(0x1a9)]='AFTER_EACH',_0x392c0d[_0x54505e(0x1ce)]=_0x54505e(0x199);const _0x30fdc8=_0x392c0d;let _0x4c5293=![];for(const _0x58e57b of _0x520e9a){_0x58e57b['pickleStepId']&&(_0x4c5293=!![]);if(_0x30fdc8['WCERE'](_0x1b2658['id'],_0x58e57b['id']))return _0x4c5293?_0x30fdc8[_0x54505e(0x1a9)]:_0x30fdc8[_0x54505e(0x1ce)];}}[a8_0x59dcae(0x15f)]=(_0x6d2934,_0x4b9cf9)=>{const _0x4db90f=a8_0x59dcae,_0xe2f047={};_0xe2f047['fDrPq']=function(_0x5ebbf4,_0x20c70a){return _0x5ebbf4===_0x20c70a;},_0xe2f047[_0x4db90f(0x135)]=function(_0x1cf750,_0x18a6cc){return _0x1cf750>_0x18a6cc;};const _0x4cd38f=_0xe2f047;if(!(_0x4b9cf9['astNodeIds']&&_0x4cd38f[_0x4db90f(0x135)](_0x4b9cf9['astNodeIds']['length'],0x1)))return;const _0x1cf994=_0x4b9cf9[_0x4db90f(0x152)][0x0],_0x408540=_0x4b9cf9['astNodeIds'][0x1],_0xc06f35=_0x6d2934[_0x4db90f(0x167)]&&_0x6d2934[_0x4db90f(0x167)][_0x4db90f(0x14f)]?_0x6d2934[_0x4db90f(0x167)][_0x4db90f(0x14f)]:undefined;let _0x345c42=[];_0xc06f35&&_0xc06f35[_0x4db90f(0x1a6)](_0x235ac0=>{const _0x5f5651=_0x4db90f;if(_0x235ac0['rule'])_0x235ac0[_0x5f5651(0x166)][_0x5f5651(0x14f)][_0x5f5651(0x1a6)](_0x5353df=>{const _0x1cd448=_0x5f5651;if(_0x5353df['scenario']&&_0x4cd38f['fDrPq'](_0x5353df[_0x1cd448(0x1c5)]['id'],_0x1cf994)&&_0x5353df[_0x1cd448(0x1c5)][_0x1cd448(0x1be)]){const _0x43943c=_0x5353df[_0x1cd448(0x1c5)][_0x1cd448(0x1be)][_0x1cd448(0x1a8)](_0x43eacd=>_0x43eacd['tableBody'])['find'](_0x37eca7=>_0x37eca7['id']===_0x408540);let _0x47da1a;_0x43943c&&_0x43943c[_0x1cd448(0x1c1)]?_0x47da1a=_0x43943c['cells']['map'](_0x2703a6=>_0x2703a6[_0x1cd448(0x18a)]):_0x47da1a=[],_0x47da1a&&(_0x345c42=_0x47da1a);}});else{if(_0x235ac0[_0x5f5651(0x1c5)]&&_0x4cd38f[_0x5f5651(0x160)](_0x235ac0[_0x5f5651(0x1c5)]['id'],_0x1cf994)&&_0x235ac0['scenario'][_0x5f5651(0x1be)]){const _0x16f873=_0x235ac0[_0x5f5651(0x1c5)]['examples'][_0x5f5651(0x1a8)](_0x4b7629=>_0x4b7629[_0x5f5651(0x172)])[_0x5f5651(0x136)](_0x5a8bd4=>_0x5a8bd4['id']===_0x408540);let _0x6367e8;_0x16f873&&_0x16f873[_0x5f5651(0x1c1)]?_0x6367e8=_0x16f873[_0x5f5651(0x1c1)][_0x5f5651(0x16b)](_0x539e8f=>_0x539e8f[_0x5f5651(0x18a)]):_0x6367e8=[],_0x6367e8&&(_0x345c42=_0x6367e8);}}});if(_0x345c42[_0x4db90f(0x179)])return _0x345c42;return;};async[a8_0x59dcae(0x18d)](){const _0x4cb62e=a8_0x59dcae,_0xbee6b8={'GJTUJ':function(_0x24cbab){return _0x24cbab();}};if(this[_0x4cb62e(0x1a1)])return this['_gitConfigPath'];const _0x950b5b=await _0xbee6b8['GJTUJ'](getGitMetaData);_0x950b5b&&(this['_gitConfigPath']=_0x950b5b[_0x4cb62e(0x193)]),this['_gitConfigured']=!![];}}function a8_0x85b0(_0x312ea8,_0x24cdb8){const _0x404ed0=a8_0x404e();return a8_0x85b0=function(_0x85b008,_0x3261f3){_0x85b008=_0x85b008-0x133;let _0x11aeb2=_0x404ed0[_0x85b008];return _0x11aeb2;},a8_0x85b0(_0x312ea8,_0x24cdb8);}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x59dcae(0x18d),a8_0x59dcae(0x15f),'getCucumberHookType','getHookResult','sendHook',a8_0x59dcae(0x15e),a8_0x59dcae(0x19f)]);
|
|
1
|
+
function a8_0x4fe8(_0x37ce4f,_0x16063b){const _0x1bc64d=a8_0x1bc6();return a8_0x4fe8=function(_0x4fe85e,_0x527c22){_0x4fe85e=_0x4fe85e-0x197;let _0x5e011c=_0x1bc64d[_0x4fe85e];return _0x5e011c;},a8_0x4fe8(_0x37ce4f,_0x16063b);}const a8_0x241f5c=a8_0x4fe8;(function(_0x17e064,_0x6daa8e){const _0x47bb9b=a8_0x4fe8,_0x30c53a=_0x17e064();while(!![]){try{const _0x2fcff5=parseInt(_0x47bb9b(0x1ee))/0x1*(parseInt(_0x47bb9b(0x1eb))/0x2)+parseInt(_0x47bb9b(0x220))/0x3+-parseInt(_0x47bb9b(0x22d))/0x4*(parseInt(_0x47bb9b(0x1cd))/0x5)+parseInt(_0x47bb9b(0x1c3))/0x6*(parseInt(_0x47bb9b(0x1d0))/0x7)+parseInt(_0x47bb9b(0x19b))/0x8*(-parseInt(_0x47bb9b(0x214))/0x9)+-parseInt(_0x47bb9b(0x1ab))/0xa+parseInt(_0x47bb9b(0x1e2))/0xb;if(_0x2fcff5===_0x6daa8e)break;else _0x30c53a['push'](_0x30c53a['shift']());}catch(_0xc5928c){_0x30c53a['push'](_0x30c53a['shift']());}}}(a8_0x1bc6,0x62571));function a8_0x1bc6(){const _0x16b73d=['hookId','sourceReference','join','../../helpers/helper','1224333zQuMCY','toLowerCase','ELhSC','scenario','IRXTr','1|2|0|3|4','uivYA','xbpeu','KEvFS','../playwright/reporter/test-details','xeKYr','split','BEFORE_EACH','1439620mQayeF','uri','examples','_gitConfigPath','sJLSn','failure_data','map','VUECX','test','util','forEach','testCaseFinished','8176BFiwng','ehdVj','PuqPP','FQmmH','format','getHooksListForTest','toString','pickleStepId','dQxei','ZEytN','value','nanos','alctn','../../helpers/logger','testStepFinished','sendHook','5497070VthjRT','oZeFN','AGTmE','PHkjK','failure_reason','exception','yoQZO','feature','winstonLogger','yNlKI','status','appendTesthubParams','qCJAT','failure_type','pending','message','../../helpers/test-observability/sessionHandler','find','duration_in_ms','finished_at','mFtaj','configureGit','updateTestStatus','event_type','6432WYzbPv','FyfAe','ctcFv','failed','result','RhDJk','cells','PruSF','iIRXe','lJlUL','10NSfcJf','../../helpers/test-observability/constants.js','includes','1624PfPOUV','Exception\x20in\x20sendHook:\x20','Exception\x20in\x20getHookRunEventData:\x20','VHKyK','tableBody','DQVcU','AFTER_EACH','backtrace','javascript','hooks','testCaseStartedId','alcru','cucumber','HookRunStarted','VlJAp','match','unknown','getHookResult','16172420IAiQfi','getScenarioExamples','../../helpers/test-observability/error-handler','UnhandledError','skipped','hook_run','children','toISOString','tagExpression','1606qHEKry','xfIgG','filter','107KqTWCE','uuid','getTestUUID','name','failureData','duDpa','push','Dmgfd','timestamp','failureType','failure','lCpwC','QoguL','passed','strip-ansi','yfAFB','root','ttxiz','length','oNFDF','SKIPPED','ezUwj','AssertionError','FAILED','path','FazCC','exports','GvnzC','getHookRunEventData','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','relative','TestRunFinished','../../helpers/testhub/utils','flatMap','_gitConfigured','wihVF','wcJLa','astNodeIds','4761vjyyYL','epjxg','uploadEventData','debug','tags','rpTTc','wKdYM','getCucumberHookType'];a8_0x1bc6=function(){return _0x16b73d;};return a8_0x1bc6();}const path=require(a8_0x241f5c(0x206)),util=require(a8_0x241f5c(0x198)),hooksMap={},SessionHandler=require(a8_0x241f5c(0x1bb)),testhubUtils=require(a8_0x241f5c(0x20e)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x241f5c(0x21f)),logger=require(a8_0x241f5c(0x1a8))[a8_0x241f5c(0x1b3)],{o11yClassErrorHandler}=require(a8_0x241f5c(0x1e4)),{FRAMEWORKS}=require(a8_0x241f5c(0x1ce)),TestDetails=require(a8_0x241f5c(0x229));this[a8_0x241f5c(0x210)]=![],this['_gitConfigPath']=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x1349c2,_0x13fdd2,_0x385bae,_0x5736ba,_0x376a42){const _0x1874e2=a8_0x241f5c,_0x30f12d={'epjxg':function(_0x12cef9,_0x4a044e){return _0x12cef9===_0x4a044e;},'iIRXe':_0x1874e2(0x205),'yfAFB':_0x1874e2(0x1c6),'xbpeu':function(_0x433c07,_0x4077b3){return _0x433c07===_0x4077b3;},'cgcqJ':_0x1874e2(0x202),'sJLSn':_0x1874e2(0x1e6),'nVkDD':function(_0x45c8ff,_0x29f226){return _0x45c8ff||_0x29f226;},'KEvFS':function(_0x382b35,_0x34e10a){return _0x382b35+_0x34e10a;},'PmDMM':function(_0x1e7fa9,_0x1f67af){return _0x1e7fa9+_0x1f67af;},'ttxiz':_0x1874e2(0x197),'KsquQ':'javascript','IRXTr':_0x1874e2(0x1dc),'PuqPP':_0x1874e2(0x1b9),'dQxei':_0x1874e2(0x1fb),'FyfAe':function(_0x525c75,_0x567ef0){return _0x525c75!==_0x567ef0;},'qCJAT':function(_0x5d3b47,_0x1d2340){return _0x5d3b47/_0x1d2340;},'FlNHu':_0x1874e2(0x1fc),'wKdYM':function(_0x2c2d5f,_0x54ea31){return _0x2c2d5f(_0x54ea31);},'vQLEM':_0x1874e2(0x1e0),'VHKyK':_0x1874e2(0x204),'ezUwj':'UnhandledError','ehdVj':_0x1874e2(0x20d),'FsyVm':function(_0x5c5537,_0x408899){return _0x5c5537>_0x408899;}},{feature:_0x5e3446,scenario:_0x36c776,steps:_0x45fb67,uuid:_0x411929,startedAt:_0xf215b,finishedAt:_0x4384fd}=_0x30f12d['nVkDD'](_0x376a42,{}),_0x30a62=this[_0x1874e2(0x1e3)](_0x13fdd2,_0x385bae);await this['configureGit']();const _0x58fdbc=_0x30a62?_0x30f12d[_0x1874e2(0x228)](_0x30f12d['PmDMM'](_0x30f12d[_0x1874e2(0x228)](_0x385bae['name'],'\x20('),_0x30a62[_0x1874e2(0x21e)](',\x20')),')'):_0x385bae[_0x1874e2(0x1f1)],_0x3850e1={'uuid':_0x411929,'started_at':_0xf215b,'finished_at':_0x4384fd,'type':_0x30f12d[_0x1874e2(0x1ff)],'body':{'lang':_0x30f12d['KsquQ'],'code':null},'name':_0x58fdbc,'scopes':[_0x5e3446&&_0x5e3446[_0x1874e2(0x1f1)]?_0x5e3446[_0x1874e2(0x1f1)]:''],'tags':_0x385bae['tags']?_0x385bae[_0x1874e2(0x218)][_0x1874e2(0x233)](({name:_0xcf9d61})=>_0xcf9d61):[],'file_name':_0x385bae[_0x1874e2(0x22e)],'location':_0x385bae[_0x1874e2(0x22e)],'vc_filepath':this[_0x1874e2(0x230)]&&_0x385bae[_0x1874e2(0x22e)]?path[_0x1874e2(0x20c)](this['_gitConfigPath'],_0x385bae[_0x1874e2(0x22e)]):null,'framework':_0x30f12d[_0x1874e2(0x224)],'result':_0x30f12d[_0x1874e2(0x19d)],'meta':{'feature':_0x5e3446,'scenario':_0x36c776,'steps':_0x45fb67,'examples':_0x30a62},'customRerunParam':{'rerun_name':_0x58fdbc}};if(_0x1349c2['testCaseFinished']&&_0x45fb67){const _0x4471bf=_0x1349c2[_0x1874e2(0x19a)];let _0x24e694=_0x30f12d[_0x1874e2(0x1a3)];_0x45fb67['every'](_0x3305ac=>{const _0x44846c=_0x1874e2;if(_0x30f12d[_0x44846c(0x215)](_0x3305ac[_0x44846c(0x1c7)],_0x30f12d[_0x44846c(0x1cb)]))return _0x24e694=_0x30f12d[_0x44846c(0x1fd)],_0x4471bf[_0x44846c(0x1f8)]=_0x3305ac[_0x44846c(0x1f8)],_0x4471bf[_0x44846c(0x1f7)]=_0x3305ac[_0x44846c(0x1f7)],![];else{if(_0x30f12d[_0x44846c(0x227)](_0x3305ac['result'],_0x30f12d['cgcqJ']))return _0x24e694=_0x30f12d[_0x44846c(0x231)],![];}return!![];}),_0x3850e1['finished_at']=new Date()[_0x1874e2(0x1e9)](),_0x3850e1['result']=_0x24e694;_0x4471bf[_0x1874e2(0x1f6)]&&_0x30f12d[_0x1874e2(0x1c4)](_0x4471bf[_0x1874e2(0x1f6)]['nanos'],undefined)?_0x3850e1[_0x1874e2(0x1bd)]=_0x30f12d[_0x1874e2(0x1b7)](_0x4471bf[_0x1874e2(0x1f6)][_0x1874e2(0x1a6)],0xf4240):_0x3850e1[_0x1874e2(0x1bd)]=undefined;if(_0x30f12d['xbpeu'](_0x24e694,_0x30f12d[_0x1874e2(0x1fd)])){const {default:_0xa51793}=await import(_0x30f12d['FlNHu']);_0x3850e1['failure']=[{'backtrace':[_0x4471bf[_0x1874e2(0x1f8)]?_0x30f12d[_0x1874e2(0x21a)](_0xa51793,_0x4471bf['failure']):_0x30f12d['vQLEM']]}],_0x3850e1[_0x1874e2(0x1af)]=_0x4471bf[_0x1874e2(0x1f8)]?_0x30f12d[_0x1874e2(0x21a)](_0xa51793,_0x4471bf[_0x1874e2(0x1f8)]):_0x4471bf[_0x1874e2(0x1ba)],_0x4471bf[_0x1874e2(0x1f7)]&&(_0x3850e1[_0x1874e2(0x1b8)]=_0x4471bf['failureType'][_0x1874e2(0x1df)](/AssertError/)?_0x30f12d[_0x1874e2(0x1d3)]:_0x30f12d[_0x1874e2(0x203)]);}}if(_0x30f12d[_0x1874e2(0x215)](_0x5736ba,_0x30f12d[_0x1874e2(0x19c)])){const _0x47131a=this[_0x1874e2(0x1a0)](_0x1349c2[_0x1874e2(0x19a)]['testCaseStartedId']);_0x47131a&&_0x30f12d['FsyVm'](_0x47131a[_0x1874e2(0x200)],0x0)&&(_0x3850e1[_0x1874e2(0x1d9)]=_0x47131a,this[_0x1874e2(0x1c1)](_0x1349c2[_0x1874e2(0x19a)][_0x1874e2(0x1da)],_0x3850e1));}testhubUtils[_0x1874e2(0x1b6)](_0x3850e1,_0x5736ba,'',FRAMEWORKS['CUCUMBER']);const _0x299e51={};_0x299e51[_0x1874e2(0x1c2)]=_0x5736ba,_0x299e51['test_run']=_0x3850e1;const _0x1940af=_0x299e51;await SessionHandler[_0x1874e2(0x216)](_0x1940af);}[a8_0x241f5c(0x1c1)](_0x241c8b,_0x1328c2){const _0x36550d=a8_0x241f5c,_0x4356a1={};_0x4356a1[_0x36550d(0x22a)]=function(_0x4cc169,_0x527e62){return _0x4cc169 instanceof _0x527e62;},_0x4356a1['AGTmE']=function(_0x274e3d,_0x3c0e8e){return _0x274e3d===_0x3c0e8e;},_0x4356a1[_0x36550d(0x19e)]=_0x36550d(0x1c6),_0x4356a1[_0x36550d(0x1ca)]=_0x36550d(0x225);const _0xa2ad03=_0x4356a1,_0x46d843=hooksMap[_0x241c8b];if(_0xa2ad03[_0x36550d(0x22a)](_0x46d843,Array))for(const _0x9063b of _0x46d843){if(_0xa2ad03[_0x36550d(0x1ad)](_0x9063b[_0x36550d(0x1c7)],_0xa2ad03['FQmmH'])){const _0x3e1793=_0xa2ad03[_0x36550d(0x1ca)]['split']('|');let _0x54ea82=0x0;while(!![]){switch(_0x3e1793[_0x54ea82++]){case'0':_0x1328c2['failure_reason']=_0xa2ad03['xeKYr'](_0x9063b[_0x36550d(0x232)],Array)?_0x9063b[_0x36550d(0x232)][0x0][_0x36550d(0x1d7)][_0x36550d(0x21e)]('\x0a'):'';continue;case'1':_0x1328c2[_0x36550d(0x1c7)]=_0x9063b[_0x36550d(0x1c7)];continue;case'2':_0x1328c2[_0x36550d(0x1f8)]=_0x9063b['failure_data'];continue;case'3':_0x1328c2['failure_type']=_0x9063b['failure_type'];continue;case'4':return _0x1328c2;}break;}}};}[a8_0x241f5c(0x1a0)](_0x4f8b7f){const _0x3e5a86=a8_0x241f5c;if(hooksMap[_0x4f8b7f])return hooksMap[_0x4f8b7f][_0x3e5a86(0x233)](_0x55394c=>_0x55394c[_0x3e5a86(0x1ef)]);return[];}[a8_0x241f5c(0x20a)](_0xaebef8,_0x1932fc,_0x3a40d2,_0x1d6af8,_0x203f86,_0x13174a){const _0x1e8141=a8_0x241f5c,_0x4242af={'lCpwC':function(_0x7ecf65,_0x263dfb){return _0x7ecf65===_0x263dfb;},'yNlKI':'HookRunFinished','ELhSC':function(_0x3a5943,_0x3d9fd3,_0x13678b){return _0x3a5943(_0x3d9fd3,_0x13678b);},'xfIgG':_0x1e8141(0x21d),'lJlUL':_0x1e8141(0x22e),'alctn':'pending','alcru':'hook','duDpa':_0x1e8141(0x1d8),'GvnzC':'feature','oZeFN':_0x1e8141(0x1f1),'VlJAp':_0x1e8141(0x1dc)};try{if(_0x4242af[_0x1e8141(0x1f9)](_0x3a40d2,_0x4242af[_0x1e8141(0x1b4)])){const _0x20775a=new Date()[_0x1e8141(0x1e9)](),_0x40ac59=hooksMap[_0x1932fc];if(!_0x40ac59)return;const _0x39e6cd=_0x40ac59['find'](_0x22bfd9=>_0x22bfd9[_0x1e8141(0x1ef)]===_0x1d6af8['id']);if(!_0x39e6cd)return;const _0xff7762=this[_0x1e8141(0x1e1)](_0xaebef8,_0x1932fc);_0x39e6cd['result']=_0xff7762[_0x1e8141(0x1b5)],_0x39e6cd[_0x1e8141(0x1be)]=_0x20775a,_0x39e6cd['failure_type']=_0xff7762[_0x1e8141(0x1f7)];const _0xb5e2b6={};return _0xb5e2b6[_0x1e8141(0x1d7)]=_0xff7762[_0x1e8141(0x1f2)],_0x39e6cd[_0x1e8141(0x232)]=[_0xb5e2b6],_0x39e6cd;}const _0x30e89a=TestDetails[_0x1e8141(0x1f0)](_0x1932fc),_0x214eea=_0xaebef8[_0x1e8141(0x1d9)]['find'](_0xf9077c=>_0xf9077c['id']===_0x1d6af8[_0x1e8141(0x21c)]),_0x5e9a91=_0x4242af[_0x1e8141(0x222)](nestedKeyValue,_0x214eea,[_0x4242af[_0x1e8141(0x1ec)],_0x4242af[_0x1e8141(0x1cc)]]),_0x5ed2ee=new Date()[_0x1e8141(0x1e9)](),_0x55d480=_0x4242af[_0x1e8141(0x1a7)],_0x1d0b5a=_0x214eea[_0x1e8141(0x1ea)]?_0x214eea[_0x1e8141(0x1ea)][_0x1e8141(0x22b)]('\x20')[_0x1e8141(0x1ed)](_0x21ce33=>_0x21ce33[_0x1e8141(0x1cf)]('@')):[],_0x5a4176={'uuid':_0x1d6af8['id'],'type':_0x4242af[_0x1e8141(0x1db)],'hook_type':_0x13174a,'name':_0x214eea[_0x1e8141(0x1f1)],'body':{'lang':_0x4242af[_0x1e8141(0x1f3)],'code':null},'tags':_0x1d0b5a,'test_run_id':_0x30e89a,'scope':_0x4242af[_0x1e8141(0x222)](nestedKeyValue,_0x203f86,[_0x4242af[_0x1e8141(0x209)],_0x4242af['oZeFN']]),'scopes':[_0x4242af[_0x1e8141(0x222)](nestedKeyValue,_0x203f86,[_0x4242af[_0x1e8141(0x209)],_0x4242af[_0x1e8141(0x1ac)]])||''],'file_name':_0x5e9a91,'location':_0x5e9a91,'vc_filepath':this[_0x1e8141(0x230)]?path['relative'](this['_gitConfigPath'],_0x5e9a91):null,'result':_0x55d480,'started_at':_0x5ed2ee,'framework':_0x4242af[_0x1e8141(0x1de)]};return _0x5a4176;}catch(_0x2f5c57){logger[_0x1e8141(0x217)](_0x1e8141(0x1d2)+util[_0x1e8141(0x19f)](_0x2f5c57)+'\x20');}}async[a8_0x241f5c(0x1aa)](_0x3e7955,_0x45511b,_0xb3157a,_0x2001ca,_0x4f15e8,_0x359366){const _0x495a48=a8_0x241f5c,_0x176364={'wcJLa':function(_0x50390d,_0x2ebf17){return _0x50390d===_0x2ebf17;},'QoguL':_0x495a48(0x1dd),'kBjaJ':function(_0x554cf7,_0x241429,_0xdc50d8){return _0x554cf7(_0x241429,_0xdc50d8);},'SmPaD':'sourceReference','RhDJk':_0x495a48(0x22e),'yoQZO':_0x495a48(0x20b)};try{const _0xf91b42=_0x2001ca[_0x495a48(0x1bc)](_0x7b6f87=>_0x7b6f87['id']===_0x4f15e8);if(!_0xf91b42['hookId'])return;const _0x2e55d6=this['getCucumberHookType'](_0x2001ca,_0xf91b42),_0xde4a32=this[_0x495a48(0x20a)](_0x3e7955,_0x45511b,_0xb3157a,_0xf91b42,_0x359366,_0x2e55d6);if(!_0xde4a32)return;_0x176364[_0x495a48(0x212)](_0xb3157a,_0x176364[_0x495a48(0x1fa)])&&(hooksMap[_0x45511b]?hooksMap[_0x45511b][_0x495a48(0x1f4)](_0xde4a32):hooksMap[_0x45511b]=[_0xde4a32]);const _0x4f848e=_0x3e7955['hooks'][_0x495a48(0x1bc)](_0x138723=>_0x138723['id']===_0xf91b42[_0x495a48(0x21c)]),_0x5f4906=_0x176364['kBjaJ'](nestedKeyValue,_0x4f848e,[_0x176364['SmPaD'],_0x176364[_0x495a48(0x1c8)]]);if(!_0x5f4906)return;else{if(_0x5f4906[_0x495a48(0x1cf)](_0x176364[_0x495a48(0x1b1)]))return;}const _0x53ec10={};_0x53ec10[_0x495a48(0x1c2)]=_0xb3157a,_0x53ec10[_0x495a48(0x1e7)]=_0xde4a32;const _0x20593f=_0x53ec10;await SessionHandler[_0x495a48(0x216)](_0x20593f);}catch(_0xaf53d6){logger[_0x495a48(0x217)](_0x495a48(0x1d1)+util[_0x495a48(0x19f)](_0xaf53d6)+'\x20');}}[a8_0x241f5c(0x1e1)](_0x7be0aa,_0xcbd5ae){const _0x414c93=a8_0x241f5c,_0x2f9c80={};_0x2f9c80[_0x414c93(0x201)]=function(_0x3d0cbc,_0x35d1f2){return _0x3d0cbc===_0x35d1f2;},_0x2f9c80[_0x414c93(0x1d5)]=_0x414c93(0x1c6),_0x2f9c80['mFtaj']=function(_0xa6a93f,_0x4bbe2c){return _0xa6a93f===_0x4bbe2c;},_0x2f9c80[_0x414c93(0x211)]=_0x414c93(0x1e5),_0x2f9c80[_0x414c93(0x226)]=_0x414c93(0x204),_0x2f9c80[_0x414c93(0x219)]=function(_0x1e2c41,_0x4ae077){return _0x1e2c41||_0x4ae077;};const _0x2554eb=_0x2f9c80,_0x112064=_0x7be0aa[_0x414c93(0x1a9)][_0xcbd5ae]['testStepResult'];let _0xa14a9d,_0x34e979;return _0x112064&&_0x2554eb['oNFDF'](_0x112064[_0x414c93(0x1b5)][_0x414c93(0x1a1)]()['toLowerCase'](),_0x2554eb[_0x414c93(0x1d5)])&&(_0xa14a9d=_0x2554eb[_0x414c93(0x201)](_0x112064['exception'],undefined)?_0x112064[_0x414c93(0x1ba)]:_0x112064[_0x414c93(0x1b0)][_0x414c93(0x1ba)],_0x34e979=_0x2554eb[_0x414c93(0x1bf)](_0x112064['exception'],undefined)?_0x2554eb['wihVF']:_0x112064[_0x414c93(0x1ba)]['match'](/Assert/)?_0x2554eb[_0x414c93(0x226)]:_0x2554eb['wihVF']),{'status':_0x112064[_0x414c93(0x1b5)][_0x414c93(0x221)](),'failureType':_0x2554eb[_0x414c93(0x219)](_0x34e979,null),'failureData':!_0xa14a9d?null:[_0xa14a9d]};}['getCucumberHookType'](_0x59ccdd,_0x48ab42){const _0x1f743b=a8_0x241f5c,_0x14346d={};_0x14346d[_0x1f743b(0x234)]=function(_0x12aef0,_0x801e57){return _0x12aef0===_0x801e57;},_0x14346d[_0x1f743b(0x1a4)]=_0x1f743b(0x1d6),_0x14346d[_0x1f743b(0x1f5)]=_0x1f743b(0x22c);const _0x3fdf1b=_0x14346d;let _0x3a3d6b=![];for(const _0x351084 of _0x59ccdd){_0x351084[_0x1f743b(0x1a2)]&&(_0x3a3d6b=!![]);if(_0x3fdf1b[_0x1f743b(0x234)](_0x48ab42['id'],_0x351084['id']))return _0x3a3d6b?_0x3fdf1b[_0x1f743b(0x1a4)]:_0x3fdf1b[_0x1f743b(0x1f5)];}}[a8_0x241f5c(0x1e3)]=(_0x5d7586,_0x519c2f)=>{const _0x8656d4=a8_0x241f5c,_0x2f06c1={};_0x2f06c1['FazCC']=function(_0x4fe658,_0x3bd011){return _0x4fe658===_0x3bd011;},_0x2f06c1[_0x8656d4(0x1c5)]=function(_0x40de06,_0x3d2a53){return _0x40de06===_0x3d2a53;},_0x2f06c1[_0x8656d4(0x1ae)]=function(_0x4cbcdb,_0x4ebc86){return _0x4cbcdb>_0x4ebc86;};const _0x4ec881=_0x2f06c1;if(!(_0x519c2f[_0x8656d4(0x213)]&&_0x4ec881[_0x8656d4(0x1ae)](_0x519c2f['astNodeIds'][_0x8656d4(0x200)],0x1)))return;const _0x38817e=_0x519c2f[_0x8656d4(0x213)][0x0],_0x56da19=_0x519c2f[_0x8656d4(0x213)][0x1],_0x2fc9a9=_0x5d7586[_0x8656d4(0x1b2)]&&_0x5d7586[_0x8656d4(0x1b2)][_0x8656d4(0x1e8)]?_0x5d7586[_0x8656d4(0x1b2)][_0x8656d4(0x1e8)]:undefined;let _0x36ef30=[];_0x2fc9a9&&_0x2fc9a9[_0x8656d4(0x199)](_0xebb2c8=>{const _0x1f9327=_0x8656d4,_0x47d17c={'pQAoZ':function(_0x52585d,_0x484194){const _0x189f74=a8_0x4fe8;return _0x4ec881[_0x189f74(0x207)](_0x52585d,_0x484194);}};if(_0xebb2c8['rule'])_0xebb2c8['rule'][_0x1f9327(0x1e8)][_0x1f9327(0x199)](_0x32bb06=>{const _0x386a4e=_0x1f9327;if(_0x32bb06[_0x386a4e(0x223)]&&_0x47d17c['pQAoZ'](_0x32bb06[_0x386a4e(0x223)]['id'],_0x38817e)&&_0x32bb06[_0x386a4e(0x223)]['examples']){const _0x23c52a=_0x32bb06['scenario'][_0x386a4e(0x22f)]['flatMap'](_0xc388fc=>_0xc388fc[_0x386a4e(0x1d4)])[_0x386a4e(0x1bc)](_0x17c866=>_0x17c866['id']===_0x56da19);let _0xd85676;_0x23c52a&&_0x23c52a['cells']?_0xd85676=_0x23c52a[_0x386a4e(0x1c9)]['map'](_0x1a5c38=>_0x1a5c38[_0x386a4e(0x1a5)]):_0xd85676=[],_0xd85676&&(_0x36ef30=_0xd85676);}});else{if(_0xebb2c8[_0x1f9327(0x223)]&&_0x4ec881['ctcFv'](_0xebb2c8[_0x1f9327(0x223)]['id'],_0x38817e)&&_0xebb2c8[_0x1f9327(0x223)][_0x1f9327(0x22f)]){const _0x1cb4e7=_0xebb2c8[_0x1f9327(0x223)][_0x1f9327(0x22f)][_0x1f9327(0x20f)](_0x7e665d=>_0x7e665d[_0x1f9327(0x1d4)])[_0x1f9327(0x1bc)](_0x25e457=>_0x25e457['id']===_0x56da19);let _0x2ae03a;_0x1cb4e7&&_0x1cb4e7[_0x1f9327(0x1c9)]?_0x2ae03a=_0x1cb4e7[_0x1f9327(0x1c9)][_0x1f9327(0x233)](_0x5815c8=>_0x5815c8['value']):_0x2ae03a=[],_0x2ae03a&&(_0x36ef30=_0x2ae03a);}}});if(_0x36ef30['length'])return _0x36ef30;return;};async[a8_0x241f5c(0x1c0)](){const _0x363b46=a8_0x241f5c,_0x3018c={'jhAbV':function(_0x5d552d){return _0x5d552d();}};if(this[_0x363b46(0x210)])return this['_gitConfigPath'];const _0x4f3892=await _0x3018c['jhAbV'](getGitMetaData);_0x4f3892&&(this[_0x363b46(0x230)]=_0x4f3892[_0x363b46(0x1fe)]),this[_0x363b46(0x210)]=!![];}}module[a8_0x241f5c(0x208)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit','getScenarioExamples',a8_0x241f5c(0x21b),'getHookResult',a8_0x241f5c(0x1aa),a8_0x241f5c(0x20a),'sendTestRunEventForCucumber']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x5b96bd=a9_0x49f8;(function(_0x2ae608,_0x48d3d3){const _0x83b570=a9_0x49f8,_0x5df143=_0x2ae608();while(!![]){try{const _0x4aa66d=parseInt(_0x83b570(0x21d))/0x1*(-parseInt(_0x83b570(0x270))/0x2)+parseInt(_0x83b570(0x223))/0x3+-parseInt(_0x83b570(0x1d8))/0x4*(parseInt(_0x83b570(0x21e))/0x5)+parseInt(_0x83b570(0x1bd))/0x6+-parseInt(_0x83b570(0x1cc))/0x7+-parseInt(_0x83b570(0x1d5))/0x8+parseInt(_0x83b570(0x279))/0x9;if(_0x4aa66d===_0x48d3d3)break;else _0x5df143['push'](_0x5df143['shift']());}catch(_0x4b2bb3){_0x5df143['push'](_0x5df143['shift']());}}}(a9_0x3734,0xbcb5a));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x5b96bd(0x1cb)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require('../utils/constants'),setKeepAlive=require(a9_0x5b96bd(0x24a)),util=require('util'),PerformanceTester=require(a9_0x5b96bd(0x22b)),{EVENTS:PerformanceEvents}=require(a9_0x5b96bd(0x1b5)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a9_0x5b96bd(0x216),'@cucumber/cucumber'),logger=require('../../helpers/logger')['winstonLogger'],{shouldProcessEventForTesthub}=require(a9_0x5b96bd(0x22c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x5b96bd(0x250)),TestDetails=require(a9_0x5b96bd(0x264)),TestInfo=require('../v2/TestInfo.js'),RequestQueueHandler=require(a9_0x5b96bd(0x1c1)),{o11yErrorHandler}=require(a9_0x5b96bd(0x268)),MyReporter=require(a9_0x5b96bd(0x253)),SessionHandler=require(a9_0x5b96bd(0x1f8)),scripts=require(a9_0x5b96bd(0x25c)),globals=require(a9_0x5b96bd(0x19c)),testHubConstants=require(a9_0x5b96bd(0x193)),{shouldScanTestForAccessibility}=require(a9_0x5b96bd(0x20e)),{isUndefined}=require(a9_0x5b96bd(0x257)),helper=require(a9_0x5b96bd(0x1cb));try{require('../../helpers/driverInitErrorReporter')['installAll'](a9_0x5b96bd(0x18e));}catch(a9_0x230852){logger[a9_0x5b96bd(0x244)](a9_0x5b96bd(0x269)+(a9_0x230852&&a9_0x230852[a9_0x5b96bd(0x186)]));}const a9_0x27fbf9={};a9_0x27fbf9[a9_0x5b96bd(0x1ea)]=undefined,a9_0x27fbf9[a9_0x5b96bd(0x213)]={},a9_0x27fbf9[a9_0x5b96bd(0x254)]=![],a9_0x27fbf9[a9_0x5b96bd(0x27c)]=null,a9_0x27fbf9['isPageFixture']=![],a9_0x27fbf9[a9_0x5b96bd(0x213)]['id']=undefined,a9_0x27fbf9[a9_0x5b96bd(0x213)][a9_0x5b96bd(0x1c7)]=undefined;const workerDetails=a9_0x27fbf9;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();function a9_0x49f8(_0x576b8b,_0x203f8c){const _0x37346a=a9_0x3734();return a9_0x49f8=function(_0x49f8ad,_0x1881dc){_0x49f8ad=_0x49f8ad-0x184;let _0x1ac66a=_0x37346a[_0x49f8ad];return _0x1ac66a;},a9_0x49f8(_0x576b8b,_0x203f8c);}const sendTestLog=o11yErrorHandler(async function sendTestLog(_0xffc9cc){const _0x186d99=a9_0x5b96bd,_0x22fb7f={'RRDew':function(_0x12dc23,_0x389b18){return _0x12dc23(_0x389b18);},'rBwlu':_0x186d99(0x273),'nIUCc':_0x186d99(0x1dd)},_0x2a8a95=workerDetails['currentTest'][_0x186d99(0x1c7)];if(!_0x2a8a95)return;if(playwrightPatcher)try{const _0x5c172d=_0x22fb7f['RRDew'](require,_0x22fb7f[_0x186d99(0x1bf)]);if(_0x5c172d[_0x186d99(0x278)]()['isRunning']()){const _0x56101b=_0x2a8a95['testCaseStartedId'];_0x56101b?(_0xffc9cc['uuid']=_0x56101b,_0xffc9cc[_0x186d99(0x200)]=_0x56101b,TestInfo[_0x186d99(0x265)](_0x56101b,_0xffc9cc)):logger['debug'](_0x22fb7f[_0x186d99(0x18a)]);return;}}catch(_0xe4a792){logger[_0x186d99(0x244)](_0x186d99(0x241)+util[_0x186d99(0x18f)](_0xe4a792));}await MyReporter[_0x186d99(0x1a7)](_0x2a8a95,_0xffc9cc);}),registerListeners=()=>{const _0x56ea4b=a9_0x5b96bd,_0x3f6373={};_0x3f6373[_0x56ea4b(0x27a)]=_0x56ea4b(0x1b1);const _0x2843c9=_0x3f6373;logger['debug'](_0x2843c9[_0x56ea4b(0x27a)]),process[_0x56ea4b(0x1a6)](_0x56ea4b(0x249)+process[_0x56ea4b(0x194)]),process['on']('bs:addLog:'+process[_0x56ea4b(0x194)],sendTestLog),PerformanceTester[_0x56ea4b(0x20a)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x5b96bd(0x1be)],After=cucumberModule[a9_0x5b96bd(0x258)],AfterAll=cucumberModule[a9_0x5b96bd(0x214)],BeforeAll=cucumberModule[a9_0x5b96bd(0x188)],AfterStep=cucumberModule[a9_0x5b96bd(0x185)],configuration=process[a9_0x5b96bd(0x1db)]['CONFIG'],bstackConfig=process[a9_0x5b96bd(0x1db)][a9_0x5b96bd(0x24c)];if(configuration!==undefined){const config=JSON[a9_0x5b96bd(0x189)](configuration);isBrowserstackInfra()?(global[a9_0x5b96bd(0x232)]=isTrue(config[a9_0x5b96bd(0x24d)]),global['__skipSessionStatus']=isTrue(config[a9_0x5b96bd(0x24f)])):(global['__skipSessionName']=!![],global[a9_0x5b96bd(0x211)]=!![]);!helper[a9_0x5b96bd(0x1fa)]('@playwright/test')&&(logger[a9_0x5b96bd(0x244)](a9_0x5b96bd(0x1cd)),shouldProcessEventForTesthub()?require(a9_0x5b96bd(0x201))[a9_0x5b96bd(0x1f1)](config,null,!![]):require('../../index')[a9_0x5b96bd(0x1f1)](config));global[a9_0x5b96bd(0x1a4)]=config['platformCaps']||{},global[a9_0x5b96bd(0x1b6)]=config['platformIndex'];if(helper[a9_0x5b96bd(0x1fa)](a9_0x5b96bd(0x1ca)))try{logger['debug'](a9_0x5b96bd(0x1aa)),playwrightPatcher=require(a9_0x5b96bd(0x1ee)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a9_0x5b96bd(0x244)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x11fed2){logger['debug']('Error\x20initializing\x20Playwright\x20patching:\x20'+util['format'](a9_0x11fed2));}}function a9_0x3734(){const _0x414993=['LaoYp','Error\x20in\x20playwright\x20beforeTestHook:\x20','pwPage','saveTestResults','AfterStep','message','getAutomationFramework','BeforeAll','parse','nIUCc','uWKow','Inside\x20browserstack\x20Before','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','cucumber-js','format','pickle','KDFyr','driverCleanup','../../helpers/testhub/constants.js','pid','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','DXGuK','CUCUMBER','pJZVA','length','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','thBuildUuid','../../helpers/globals','Inside\x20browserstack\x20After','bHyTK','isRunning','TlQVg','pqsat',',\x20isPlaywrightFlow=','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','__platformCaps','Error:\x20at\x20After\x20Step:\x20','removeAllListeners','addTestUIDAndReportLog','catch','executeDeferredCloses','Patching\x20Playwright','nYVrB','uuid','ijbaF','toString','EHaHx','then','Inside\x20browserstack\x20registerListeners','test_run','tags','TyJGv','../../helpers/performance/constants','browserstackPlatformIndex','uufFV','Cucumber-JS','executeScript','mxdOQ','../v2/state/hookState','push','1254690wqAenp','Before','rBwlu','QUIT','../../helpers/test-observability/requestQueueHandler','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','JKVBl','Passed','setFrameworkDetail','executeAsyncScript','testInfo','error','gMFBT','@playwright/test','../../helpers/helper','7977396IzHmfo','Patching\x20Selenium','LqbsR','passed','xuPOI','cleanup','Inside\x20browserstack\x20BeforeAll','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','10120696vPYDVQ','thJwtToken','Error:\x20quiting\x20driver\x20at\x20After:\x20','5764LUCJwn','kpaGa','finally','env','../v2/state/automationFrameworkState','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','cnaQi','UosuV','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','XeukW','shift','Error:\x20in\x20quitting\x20driver\x20','DOCjv','patchPageCommandsForAccessibility','UGPbM','sCGZt','VFiFl','gcBkG','workerInfo','closeTracker','TYGSy','WBYem','../utils/playwright-patcher','bstackA11yShouldScan','performScan','browserstackAgentV2','uMfLL','timeout','LvQzQ',',\x22level\x22:\x20\x22','vloWS','\x0aError:\x20','../../helpers/test-observability/sessionHandler','browserstackSessionName','getPackageVersion','tRVhC','Inside\x20browserstack\x20AfterStep','Error\x20in\x20fallback\x20cleanup:\x20','result','NTETH','test_run_uuid','../../index','Error\x20cleaning\x20up\x20close\x20tracker:\x20','jarQo','Error:\x20sendPlatformDetails\x20at\x20After:\x20','ZOMkS','Passed:\x20','Error:\x20at\x20After\x20(Selenium):\x20','dzCSo','BROWSERSTACK_TESTHUB_UUID','startMonitoring','YsTAi','\x20|\x20','oNTCZ','../../helpers/accessibility-automation/helper','quitCount_','stringify','__skipSessionStatus','setFramework','currentTest','AfterAll','qwCoo','@cucumber/cucumber/lib/index.js','session_','WPNLG','__drivers','JHDwm','join','TAqDN','1xXWpSQ','2615DIxQCX','cucumber-test','FhMak','laRvU','getGlobal','1288206nBprmV','trackEvent','text','cspyq','NOFIZ','sErgF','ClGrS','../v2/browserstackCLI.js','../../helpers/performance/performance-tester','../../helpers/testhub/utils','Cleaned\x20up\x20close\x20tracker','bootstrap','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','hISip','\x22}}','__skipSessionName','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','vzHjV','Failed:\x20','__workerDetails','stack','jhZfW','Inside\x20browserstack\x20AfterAll','failed','qxABk','info','setGlobal','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','NOptR','Performing\x20scan\x20before\x20saving\x20results','Error\x20sending\x20log\x20created\x20event:\x20','PRE','event_type','debug','getTestUUID','__error_messages__','__sessionFailed','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','bs:addLog:','../../helpers/setKeepAlive','pickleStep','BSTACK_CONFIG','skipSessionName','Error:\x20at\x20After\x20(Playwright):\x20','skipSessionStatus','../../helpers/test-observability/utils','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','CxPaD','../playwright/reporter/reporter.js','o11ySyncDone','thTestRunUuid','pEVAq','lodash','After','shutdown','QEApF','isCliEnabled','../../helpers/accessibility-automation/scripts','Error:\x20cleaning\x20up\x20driver:\x20','initQuit','djUXd','__timeout','Unknown\x20Test','integrations','__currentTestInfo','../playwright/reporter/test-details.js','storeLogObjects','toLowerCase','AnJRV','../../helpers/test-observability/error-handler','driver-init\x20capture\x20install\x20failed:\x20','status','EjspY','fBcff','testCaseStartedId','ENV_VAR','mWAIk','96276hFgLos','uploadEventData','HVXAj','../v2/browserstackCLI','UhMtS','bstack','afterTestHook','name','getInstance','30068397lfGojr'];a9_0x3734=function(){return _0x414993;};return a9_0x3734();}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x5b96bd(0x212)](a9_0x5b96bd(0x18e)));}global[a9_0x5b96bd(0x260)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x14de97=>{const _0x1e3e74=a9_0x5b96bd,_0x580024={'qxABk':function(_0x52bec8,_0x37ddc8){return _0x52bec8(_0x37ddc8);}};global[_0x1e3e74(0x260)]=_0x14de97,_0x580024[_0x1e3e74(0x23b)](__setDefaultTimeout,_0x14de97);};const a9_0x209ae6={};a9_0x209ae6[a9_0x5b96bd(0x277)]='bstack',BeforeAll(a9_0x209ae6,async function(){const _0x107305=a9_0x5b96bd,_0x7d9f29={'dzCSo':function(_0x5255aa,_0x5d7d47,_0x5d83c0,_0x4ece7e){return _0x5255aa(_0x5d7d47,_0x5d83c0,_0x4ece7e);},'ceXIw':_0x107305(0x23a),'nYVrB':'\x20|\x20','uMfLL':function(_0x31d484,_0x22e28a,_0x309b3a){return _0x31d484(_0x22e28a,_0x309b3a);},'FlaIH':_0x107305(0x1cf),'VFiFl':_0x107305(0x1d2),'TyJGv':function(_0x43767f,_0x3de67b){return _0x43767f(_0x3de67b);},'vloWS':_0x107305(0x273),'LvQzQ':function(_0x4b41dc,_0x47c99e){return _0x4b41dc(_0x47c99e);},'ZOMkS':'../v2/cliUtils','PKtSP':_0x107305(0x1c2),'TYGSy':function(_0x38694e){return _0x38694e();},'CmtGg':function(_0x46bebb,_0x4fb56d){return _0x46bebb(_0x4fb56d);}};PerformanceTester[_0x107305(0x20a)](),logger[_0x107305(0x244)](_0x7d9f29[_0x107305(0x1e8)]),global[_0x107305(0x246)]=[],global[_0x107305(0x247)]=![];if(playwrightPatcher)try{const _0x270a86=_0x7d9f29[_0x107305(0x1b4)](require,_0x7d9f29[_0x107305(0x1f6)]),_0x273aee=_0x7d9f29[_0x107305(0x1f4)](require,_0x7d9f29[_0x107305(0x205)]);_0x270a86[_0x107305(0x278)]()[_0x107305(0x25b)]()&&(logger[_0x107305(0x244)](_0x7d9f29['PKtSP']),_0x273aee[_0x107305(0x1c5)](FRAMEWORKS[_0x107305(0x197)],FRAMEWORKS['PLAYWRIGHT']),await _0x270a86[_0x107305(0x278)]()[_0x107305(0x22e)]());}catch(_0x59a02a){logger[_0x107305(0x244)](_0x107305(0x1a3)+util['format'](_0x59a02a));}_0x7d9f29[_0x107305(0x1ec)](shouldProcessEventForTesthub)&&(_0x7d9f29[_0x107305(0x1ec)](registerListeners),_0x7d9f29['CmtGg'](addRequestSpy,![])),global[_0x107305(0x192)]=async()=>{const _0x13dce5=_0x107305;let _0x151205=![];try{global[_0x13dce5(0x219)]&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x13dce5(0x217)],_0x151205=!![],global['__sessionFailed']?await _0x7d9f29[_0x13dce5(0x208)](markSessionStatus,global[_0x13dce5(0x219)][0x0],_0x7d9f29['ceXIw'],global[_0x13dce5(0x246)][_0x13dce5(0x21b)](_0x7d9f29[_0x13dce5(0x1ab)])):await _0x7d9f29[_0x13dce5(0x1f2)](markSessionStatus,global[_0x13dce5(0x219)][0x0],_0x7d9f29['FlaIH']));}catch(_0x2d2388){logger[_0x13dce5(0x244)](_0x13dce5(0x25d)+_0x2d2388);}global[_0x13dce5(0x246)]=[],global[_0x13dce5(0x247)]=![];if(_0x151205)try{await global[_0x13dce5(0x219)][0x0][_0x13dce5(0x25e)](),global[_0x13dce5(0x219)][0x0][_0x13dce5(0x217)][_0x13dce5(0x1b0)](_0x5201bf=>{const _0x5c04a5=_0x13dce5;logger[_0x5c04a5(0x244)](_0x5c04a5(0x1e3)+_0x5201bf['getId']());})[_0x13dce5(0x1a8)](_0x1d5391=>{const _0x4e6a11=_0x13dce5;logger[_0x4e6a11(0x244)]('driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20'+(_0x1d5391&&_0x1d5391[_0x4e6a11(0x237)]||_0x1d5391));});}catch(_0x219002){logger['debug'](_0x13dce5(0x1d3)+_0x219002);}};});const a9_0x153105={};a9_0x153105['name']=a9_0x5b96bd(0x275),a9_0x153105[a9_0x5b96bd(0x1f3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5b96bd(0x1b8)],Before(a9_0x153105,function(_0x596ca,_0xcf6147){const _0x19fb07=a9_0x5b96bd,_0x2d4e17={'WBYem':function(_0x5c5e4d,_0xa43ad4){return _0x5c5e4d>_0xa43ad4;},'CxPaD':function(_0x3c6c65,_0x52701c){return _0x3c6c65(_0x52701c);},'MLPqO':function(_0x587ee0,_0x5c2ce2,_0x12bd96,_0x598661){return _0x587ee0(_0x5c2ce2,_0x12bd96,_0x598661);},'lYfvs':_0x19fb07(0x1ef),'tRVhC':function(_0x2c9cbe,_0x95468){return _0x2c9cbe(_0x95468);},'pEVAq':_0x19fb07(0x273),'gMFBT':function(_0x34bea1,_0x2cc7fe){return _0x34bea1(_0x2cc7fe);},'jarQo':'../v2/state/automationFrameworkState','uWKow':function(_0x5c7bc1,_0x1f5640){return _0x5c7bc1(_0x1f5640);},'ktyoy':_0x19fb07(0x1bb),'NOFIZ':_0x19fb07(0x261),'gcBkG':_0x19fb07(0x21f),'TlQVg':function(_0x1af217){return _0x1af217();},'vzHjV':_0x19fb07(0x18c)};commandRepository['setTestNameForHealingContext'](_0x596ca['pickle'][_0x19fb07(0x277)]),logger[_0x19fb07(0x244)](_0x2d4e17[_0x19fb07(0x234)]),new Promise(async _0x3ff8d9=>{const _0x2bdfa5=_0x19fb07;try{global['__drivers']&&_0x2d4e17['WBYem'](global['__drivers'][_0x2bdfa5(0x199)],0x1)&&(await global[_0x2bdfa5(0x192)](),global[_0x2bdfa5(0x219)][_0x2bdfa5(0x1e2)]()),global[_0x2bdfa5(0x219)]&&global[_0x2bdfa5(0x219)][0x0]&&global[_0x2bdfa5(0x219)][0x0][_0x2bdfa5(0x20f)]&&_0x2d4e17[_0x2bdfa5(0x1ed)](global[_0x2bdfa5(0x219)][0x0][_0x2bdfa5(0x20f)],0x0)&&await global['driverCleanup']();}catch(_0x1642da){logger[_0x2bdfa5(0x244)]('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x1642da);}workerDetails['currentTest'][_0x2bdfa5(0x1c7)]=_0x596ca;if(!playwrightPatcher){try{if(!_0x2d4e17[_0x2bdfa5(0x252)](isUndefined,_0x596ca['pickle']['tags'])){const _0x524f8b=_0x2d4e17['MLPqO'](shouldScanTestForAccessibility,null,![],_0x596ca[_0x2bdfa5(0x190)]['tags']['map'](({name:_0x4258bf})=>_0x4258bf));globals[_0x2bdfa5(0x23d)](_0x2d4e17['lYfvs'],_0x524f8b);}}catch(_0x441f58){logger['debug'](_0x2bdfa5(0x1e0)+util[_0x2bdfa5(0x18f)](_0x441f58));}workerDetails[_0x2bdfa5(0x213)][_0x2bdfa5(0x255)]=TestDetails['getTestUUID'](_0x596ca['testCaseStartedId']);}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x596ca),global[_0x2bdfa5(0x236)]&&global[_0x2bdfa5(0x236)][_0x2bdfa5(0x27c)]&&playwrightPatcher[_0x2bdfa5(0x1e5)](global[_0x2bdfa5(0x236)]['pwPage']);}catch(_0x5c5581){logger[_0x2bdfa5(0x244)](_0x2bdfa5(0x27b)+util['format'](_0x5c5581));}if(playwrightPatcher)try{const _0x399622=_0x2d4e17[_0x2bdfa5(0x1fb)](require,_0x2d4e17[_0x2bdfa5(0x256)]),_0xb540f9=_0x2d4e17[_0x2bdfa5(0x1c9)](require,_0x2d4e17[_0x2bdfa5(0x203)]),_0x52625d=_0x2d4e17[_0x2bdfa5(0x18b)](require,_0x2d4e17['ktyoy']);if(_0x399622['getInstance']()[_0x2bdfa5(0x19f)]()){const _0x1ddd35={'title':_0x596ca[_0x2bdfa5(0x190)]['name']||_0x2d4e17[_0x2bdfa5(0x227)],'titlePath':[_0x596ca[_0x2bdfa5(0x190)][_0x2bdfa5(0x277)]||_0x2d4e17[_0x2bdfa5(0x227)]],'id':_0x596ca['testCaseStartedId']||_0x2d4e17[_0x2bdfa5(0x1e9)],'tags':_0x596ca[_0x2bdfa5(0x190)]['tags']||[],..._0x596ca},_0x589ac8=_0x1ddd35;global[_0x2bdfa5(0x263)]=_0x589ac8,logger[_0x2bdfa5(0x244)]('Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20'+_0x596ca[_0x2bdfa5(0x190)][_0x2bdfa5(0x277)]);}}catch(_0x2da526){logger[_0x2bdfa5(0x244)]('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x2bdfa5(0x18f)](_0x2da526));}_0x2d4e17[_0x2bdfa5(0x1a0)](_0x3ff8d9);})[_0x19fb07(0x1da)](_0xcf6147);});const a9_0x1e13f8={};a9_0x1e13f8[a9_0x5b96bd(0x277)]=a9_0x5b96bd(0x275),a9_0x1e13f8[a9_0x5b96bd(0x1f3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5b96bd(0x1b8)],After(a9_0x1e13f8,function(_0x48c045,_0x1f9f01){const _0x9e28b0=a9_0x5b96bd,_0x4ce850={'dSJAW':function(_0x5c97d0,_0x9de456){return _0x5c97d0>_0x9de456;},'bHyTK':function(_0x30e0cb,_0x1ad853){return _0x30e0cb===_0x1ad853;},'laRvU':'failed','PSfxn':function(_0x5cb9f7,_0x370f21){return _0x5cb9f7>_0x370f21;},'HVXAj':function(_0x4e97ca,_0x3a82bf,_0x2cbc6f,_0x17f64c){return _0x4e97ca(_0x3a82bf,_0x2cbc6f,_0x17f64c);},'DOCjv':_0x9e28b0(0x20c),'ijbaF':function(_0x2549a3,_0x2b8c77,_0x6600a2){return _0x2549a3(_0x2b8c77,_0x6600a2);},'gCfUh':_0x9e28b0(0x1cf),'sCGZt':function(_0x544b56,_0x27cb72){return _0x544b56(_0x27cb72);},'kpaGa':_0x9e28b0(0x273),'jhZfW':function(_0x102333,_0x328c17){return _0x102333(_0x328c17);},'TNyzQ':_0x9e28b0(0x1dc),'YsTAi':_0x9e28b0(0x1bb),'oNTCZ':_0x9e28b0(0x261),'QEApF':'cucumber-test','AnJRV':'Completed\x20Playwright\x20afterTestHook\x20execution','pqsat':_0x9e28b0(0x1d4),'cspyq':_0x9e28b0(0x22d),'LqbsR':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','UuGkU':_0x9e28b0(0x248),'wbagE':function(_0x26985c,_0x319ec0){return _0x26985c(_0x319ec0);},'EjspY':_0x9e28b0(0x22a),'UGPbM':function(_0x2cb433){return _0x2cb433();},'TAqDN':'CBTSessionCreated','SUDQT':'isAccessibilityPlatform','KDFyr':'bstackA11yShouldScan','xuPOI':_0x9e28b0(0x195),'pJZVA':_0x9e28b0(0x240),'WPNLG':'isMobilePlatform','UosuV':_0x9e28b0(0x19a),'NTETH':function(_0x79a4d6,_0x21076a){return _0x79a4d6>_0x21076a;},'FhMak':_0x9e28b0(0x19d)};logger[_0x9e28b0(0x244)](_0x4ce850[_0x9e28b0(0x220)]),workerDetails[_0x9e28b0(0x213)][_0x9e28b0(0x1c7)]=_0x48c045,new Promise(async _0x52aeb8=>{const _0x2b38d8=_0x9e28b0;let _0x1b60c4=![],_0x5a7ce4=![],_0x2d8029=![];try{global[_0x2b38d8(0x219)]&&_0x4ce850['dSJAW'](global[_0x2b38d8(0x219)][_0x2b38d8(0x199)],0x0)&&(_0x5a7ce4=!![]),playwrightPatcher&&global[_0x2b38d8(0x236)]&&global['__workerDetails'][_0x2b38d8(0x27c)]&&(_0x2d8029=!![],logger[_0x2b38d8(0x244)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x2b38d8(0x236)]['pwPage']));}catch(_0x5ec456){logger[_0x2b38d8(0x244)]('Error\x20determining\x20test\x20flow:\x20'+_0x5ec456);}logger[_0x2b38d8(0x244)]('Flow\x20detection:\x20isSeleniumFlow='+_0x5a7ce4+_0x2b38d8(0x1a2)+_0x2d8029);const _0x2bc022=_0x48c045['result']['status'][_0x2b38d8(0x1ae)]()[_0x2b38d8(0x266)](),_0x5b48a8=_0x4ce850['bHyTK'](_0x2bc022,_0x4ce850[_0x2b38d8(0x221)])||_0x4ce850[_0x2b38d8(0x19e)](_0x2bc022,'6'),_0x5d0881=_0x5b48a8?_0x48c045['result']['message']:null;if(_0x5b48a8)try{global[_0x2b38d8(0x246)][_0x2b38d8(0x1bc)](_0x48c045[_0x2b38d8(0x1fe)][_0x2b38d8(0x186)]),global[_0x2b38d8(0x247)]=!![];}catch(_0x22af02){logger[_0x2b38d8(0x244)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x22af02);}if(_0x5a7ce4)try{global[_0x2b38d8(0x219)]&&_0x4ce850['PSfxn'](global[_0x2b38d8(0x219)][_0x2b38d8(0x199)],0x1)&&(await global['driverCleanup'](),global[_0x2b38d8(0x219)][_0x2b38d8(0x1e2)](),global[_0x2b38d8(0x246)]=[],global[_0x2b38d8(0x247)]=![]),global[_0x2b38d8(0x219)]&&global[_0x2b38d8(0x219)][0x0]&&(await global['__drivers'][0x0][_0x2b38d8(0x217)],_0x1b60c4=!![],!global[_0x2b38d8(0x232)]&&await global[_0x2b38d8(0x219)][0x0][_0x2b38d8(0x1b9)](_0x2b38d8(0x23e)+_0x48c045[_0x2b38d8(0x190)][_0x2b38d8(0x277)]+_0x2b38d8(0x231)),_0x5b48a8?await _0x4ce850[_0x2b38d8(0x272)](markSessionStatus,global['__drivers'][0x0],_0x4ce850['laRvU'],global['__error_messages__'][_0x2b38d8(0x21b)](_0x4ce850[_0x2b38d8(0x1e4)])):await _0x4ce850[_0x2b38d8(0x1ad)](markSessionStatus,global[_0x2b38d8(0x219)][0x0],_0x4ce850['gCfUh']));}catch(_0x22dd46){logger['debug'](_0x2b38d8(0x207)+util[_0x2b38d8(0x18f)](_0x22dd46));}if(_0x2d8029)try{try{const _0x320adf=_0x4ce850[_0x2b38d8(0x1e7)](require,_0x4ce850[_0x2b38d8(0x1d9)]),_0x2d1d63=_0x4ce850[_0x2b38d8(0x238)](require,_0x4ce850['TNyzQ']),_0x589e14=_0x4ce850[_0x2b38d8(0x1e7)](require,_0x4ce850[_0x2b38d8(0x20b)]);if(_0x320adf[_0x2b38d8(0x278)]()[_0x2b38d8(0x19f)]()){const _0x52df8d={'title':_0x48c045[_0x2b38d8(0x190)][_0x2b38d8(0x277)]||_0x4ce850['oNTCZ'],'titlePath':[_0x48c045[_0x2b38d8(0x190)][_0x2b38d8(0x277)]||_0x4ce850[_0x2b38d8(0x20d)]],'id':_0x48c045['testCaseStartedId']||_0x4ce850[_0x2b38d8(0x25a)],'status':_0x5b48a8?_0x4ce850[_0x2b38d8(0x221)]:_0x4ce850['gCfUh'],'error':_0x5d0881?{'message':_0x5d0881}:null,'tags':_0x48c045[_0x2b38d8(0x190)][_0x2b38d8(0x1b3)]||[],..._0x48c045},_0x58b139=_0x52df8d,_0x35de77={};_0x35de77[_0x2b38d8(0x1c7)]=_0x58b139,_0x35de77['scenario']=_0x48c045,_0x35de77['page']=global['__workerDetails'][_0x2b38d8(0x27c)],_0x35de77['testFramework']=FRAMEWORKS['CUCUMBER'],await _0x320adf['getInstance']()[_0x2b38d8(0x187)]()[_0x2b38d8(0x224)](_0x2d1d63[_0x2b38d8(0x1c0)],_0x589e14[_0x2b38d8(0x242)],_0x35de77),logger[_0x2b38d8(0x244)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x48c045[_0x2b38d8(0x190)][_0x2b38d8(0x277)]);}}catch(_0x10cfc4){logger[_0x2b38d8(0x244)](_0x2b38d8(0x233)+util[_0x2b38d8(0x18f)](_0x10cfc4));}const _0x1cb700=_0x5b48a8?_0x4ce850[_0x2b38d8(0x221)]:_0x4ce850['gCfUh'];await playwrightPatcher[_0x2b38d8(0x276)](_0x48c045,_0x1cb700,_0x5d0881),logger[_0x2b38d8(0x244)](_0x4ce850[_0x2b38d8(0x267)]);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x2b38d8(0x244)](_0x4ce850[_0x2b38d8(0x1a1)]);}catch(_0x283f48){logger[_0x2b38d8(0x244)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x2b38d8(0x18f)](_0x283f48));}try{playwrightPatcher[_0x2b38d8(0x1eb)][_0x2b38d8(0x1d1)](),logger['debug'](_0x4ce850[_0x2b38d8(0x226)]);}catch(_0x3e9ff2){logger[_0x2b38d8(0x244)](_0x2b38d8(0x202)+util[_0x2b38d8(0x18f)](_0x3e9ff2));}}catch(_0x58bd35){logger['debug'](_0x2b38d8(0x24e)+util[_0x2b38d8(0x18f)](_0x58bd35));try{playwrightPatcher[_0x2b38d8(0x1a9)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x2b38d8(0x244)](_0x4ce850[_0x2b38d8(0x1ce)])),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x2b38d8(0x1d1)]&&(playwrightPatcher[_0x2b38d8(0x1eb)][_0x2b38d8(0x1d1)](),logger[_0x2b38d8(0x244)](_0x4ce850['UuGkU']));}catch(_0xa80b06){logger[_0x2b38d8(0x244)](_0x2b38d8(0x1fd)+util[_0x2b38d8(0x18f)](_0xa80b06));}}const _0x96a77b=_0x4ce850['wbagE'](require,_0x4ce850[_0x2b38d8(0x26b)]);if(!_0x96a77b[_0x2b38d8(0x278)]()['isRunning']())try{if(_0x4ce850[_0x2b38d8(0x1e6)](shouldProcessEventForTesthub)){const _0x2ca7c7=TestDetails[_0x2b38d8(0x245)](_0x48c045[_0x2b38d8(0x26d)]);let _0x63ce0=null;global[_0x2b38d8(0x219)]&&global[_0x2b38d8(0x219)][0x0]&&(_0x63ce0=await _0x4ce850[_0x2b38d8(0x272)](sendPlatformDetails,global[_0x2b38d8(0x219)][0x0],_0x2ca7c7,!![]));const _0xf2ec9e={};_0xf2ec9e[_0x2b38d8(0x1ac)]=_0x2ca7c7,_0xf2ec9e[_0x2b38d8(0x262)]=_0x63ce0;const _0x427545=_0xf2ec9e,_0x558aa7={};_0x558aa7[_0x2b38d8(0x243)]=_0x4ce850[_0x2b38d8(0x21c)],_0x558aa7[_0x2b38d8(0x1b2)]=_0x427545,await SessionHandler[_0x2b38d8(0x271)](_0x558aa7);}}catch(_0x97f73a){logger[_0x2b38d8(0x244)](_0x2b38d8(0x204)+util['format'](_0x97f73a));}try{if(globals[_0x2b38d8(0x222)](_0x4ce850['SUDQT'])&&globals[_0x2b38d8(0x222)](_0x4ce850[_0x2b38d8(0x191)])){logger[_0x2b38d8(0x23c)](_0x4ce850[_0x2b38d8(0x1d0)]);const _0x229ced=TestDetails[_0x2b38d8(0x245)](_0x48c045[_0x2b38d8(0x26d)]),_0x11096b={};_0x11096b[_0x2b38d8(0x255)]=_0x229ced,_0x11096b[_0x2b38d8(0x19b)]=process[_0x2b38d8(0x1db)][testHubConstants['ENV_VAR'][_0x2b38d8(0x209)]],_0x11096b[_0x2b38d8(0x1d6)]=process[_0x2b38d8(0x1db)][testHubConstants[_0x2b38d8(0x26e)]['BROWSERSTACK_TESTHUB_JWT']];const _0x3af372=_0x11096b;logger[_0x2b38d8(0x244)](_0x2b38d8(0x251)+JSON[_0x2b38d8(0x210)](_0x3af372)),logger[_0x2b38d8(0x244)](_0x4ce850[_0x2b38d8(0x198)]),global[_0x2b38d8(0x219)]&&global['__drivers'][0x0]&&(logger['debug'](util[_0x2b38d8(0x18f)](await global[_0x2b38d8(0x219)][0x0][_0x2b38d8(0x1c6)](scripts[_0x2b38d8(0x1f0)],{'method':global[_0x2b38d8(0x1f9)]}))),globals['getGlobal'](_0x4ce850[_0x2b38d8(0x218)])&&(_0x3af372['is_mobile_session']=!![]),await global[_0x2b38d8(0x219)][0x0][_0x2b38d8(0x1c6)](scripts[_0x2b38d8(0x184)],_0x3af372)),logger['info'](_0x4ce850[_0x2b38d8(0x1df)]);}}catch(_0x1d5945){logger['error']('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x2b38d8(0x18f)](_0x1d5945));}if(_0x1b60c4)try{global[_0x2b38d8(0x219)][0x0]&&_0x4ce850[_0x2b38d8(0x1ff)](global['__drivers'][0x0][_0x2b38d8(0x20f)],0x0)&&await global['__drivers'][0x0][_0x2b38d8(0x25e)]();}catch(_0x22cab0){logger['debug'](_0x2b38d8(0x1d7)+_0x22cab0);}_0x4ce850[_0x2b38d8(0x1e6)](_0x52aeb8);})[_0x9e28b0(0x1da)](()=>_0x1f9f01());});const a9_0x513f82={};a9_0x513f82[a9_0x5b96bd(0x277)]='bstack',a9_0x513f82[a9_0x5b96bd(0x1f3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5b96bd(0x1b8)],AfterStep(a9_0x513f82,function(_0x4fd0ce,_0x29046d){const _0x440899=a9_0x5b96bd,_0x3cfe43={'mWAIk':function(_0x5c984c,_0x2f86d3){return _0x5c984c===_0x2f86d3;},'sPDCn':_0x440899(0x23a),'cnaQi':function(_0x204402,_0x8955c3){return _0x204402!==_0x8955c3;},'JKVBl':function(_0x2fc1d4,_0x4f36c4,_0x3e4bc1){return _0x2fc1d4(_0x4f36c4,_0x3e4bc1);},'xTFHD':function(_0x2e6675,_0x33ecfb){return _0x2e6675+_0x33ecfb;},'DXGuK':function(_0x36950c,_0x6612a3){return _0x36950c+_0x6612a3;},'uufFV':function(_0x3076c1,_0xb6dd88){return _0x3076c1+_0xb6dd88;},'fBcff':_0x440899(0x235),'djUXd':_0x440899(0x1f7),'XeukW':_0x440899(0x1c8),'NOptR':function(_0x469cf3,_0x391534,_0x459fa8){return _0x469cf3(_0x391534,_0x459fa8);},'xLhEJ':function(_0x5459a1,_0xec5422){return _0x5459a1!==_0xec5422;},'JHDwm':function(_0x2eb24c,_0x6507d6,_0x36dbf1){return _0x2eb24c(_0x6507d6,_0x36dbf1);},'qwCoo':_0x440899(0x206),'ClGrS':_0x440899(0x23c),'hISip':_0x440899(0x1c4),'UhMtS':function(_0x38f91d){return _0x38f91d();},'mxdOQ':_0x440899(0x1fc)};logger[_0x440899(0x244)](_0x3cfe43[_0x440899(0x1ba)]);const _0x5aa4c8=async(_0x4d0266,_0x4f5e8c)=>{const _0x554b71=_0x440899;global[_0x554b71(0x219)]&&global[_0x554b71(0x219)][0x0]&&await global[_0x554b71(0x219)][0x0]['executeScript'](_0x554b71(0x18d)+_0x4d0266+_0x554b71(0x1f5)+_0x4f5e8c+_0x554b71(0x231));};new Promise(async _0x5d2127=>{const _0x87cfa9=_0x440899;try{const _0x2501f8=_0x3cfe43['mWAIk'](_0x4fd0ce['result'][_0x87cfa9(0x26a)][_0x87cfa9(0x1ae)]()[_0x87cfa9(0x266)](),_0x3cfe43['sPDCn'])||_0x3cfe43[_0x87cfa9(0x26f)](_0x4fd0ce['result'][_0x87cfa9(0x26a)][_0x87cfa9(0x1ae)]()['toLowerCase'](),'6');_0x2501f8?(global[_0x87cfa9(0x247)]=!![],global[_0x87cfa9(0x246)][_0x87cfa9(0x1bc)](_0x4fd0ce[_0x87cfa9(0x1fe)][_0x87cfa9(0x186)]),_0x3cfe43[_0x87cfa9(0x1de)](_0x4fd0ce[_0x87cfa9(0x24b)],undefined)?await _0x3cfe43[_0x87cfa9(0x1c3)](_0x5aa4c8,JSON[_0x87cfa9(0x210)](_0x3cfe43['xTFHD'](_0x3cfe43[_0x87cfa9(0x196)](_0x3cfe43[_0x87cfa9(0x1b7)](_0x3cfe43[_0x87cfa9(0x26c)],'\x22'+_0x4fd0ce[_0x87cfa9(0x24b)][_0x87cfa9(0x225)]+'\x22\x20'),_0x3cfe43[_0x87cfa9(0x25f)]),_0x4fd0ce[_0x87cfa9(0x1fe)]['message'])),_0x3cfe43[_0x87cfa9(0x1e1)]):await _0x3cfe43[_0x87cfa9(0x23f)](_0x5aa4c8,JSON[_0x87cfa9(0x210)](_0x3cfe43[_0x87cfa9(0x1b7)](_0x3cfe43['fBcff'],_0x4fd0ce['result'][_0x87cfa9(0x186)])),_0x3cfe43[_0x87cfa9(0x1e1)])):_0x3cfe43['xLhEJ'](_0x4fd0ce[_0x87cfa9(0x24b)],undefined)?await _0x3cfe43[_0x87cfa9(0x21a)](_0x5aa4c8,JSON[_0x87cfa9(0x210)](_0x3cfe43[_0x87cfa9(0x1b7)](_0x3cfe43[_0x87cfa9(0x215)],'\x22'+_0x4fd0ce[_0x87cfa9(0x24b)]['text']+'\x22')),_0x3cfe43['ClGrS']):await _0x3cfe43[_0x87cfa9(0x21a)](_0x5aa4c8,JSON['stringify'](_0x3cfe43[_0x87cfa9(0x230)]),_0x3cfe43[_0x87cfa9(0x229)]),global[_0x87cfa9(0x219)]&&global[_0x87cfa9(0x219)][0x0]&&global[_0x87cfa9(0x219)][0x0][_0x87cfa9(0x217)]['then'](_0x19a8e2=>{})[_0x87cfa9(0x1a8)](_0x3a4778=>{const _0x19ecea=_0x87cfa9;logger[_0x19ecea(0x244)](_0x19ecea(0x22f)+util[_0x19ecea(0x18f)](_0x3a4778));});}catch(_0x18230a){logger['debug'](_0x87cfa9(0x1a5)+_0x18230a);}_0x3cfe43[_0x87cfa9(0x274)](_0x5d2127);})[_0x440899(0x1da)](()=>_0x29046d());});const a9_0x26da5a={};a9_0x26da5a[a9_0x5b96bd(0x277)]='bstack',a9_0x26da5a[a9_0x5b96bd(0x1f3)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x26da5a,async function(_0x4c0ae0,_0x2e91f6){const _0x5f0dd5=a9_0x5b96bd,_0x4a9586={'sErgF':'1|2|0|4|3','OeZSo':'Cleaned\x20up\x20Playwright\x20close\x20tracker','DdhVs':function(_0x3e3795){return _0x3e3795();},'EHaHx':_0x5f0dd5(0x239)};logger['debug'](_0x4a9586[_0x5f0dd5(0x1af)]),await new Promise(async _0x4ccb1c=>{const _0x429d91=_0x5f0dd5,_0x175d1b=_0x4a9586[_0x429d91(0x228)]['split']('|');let _0x38411b=0x0;while(!![]){switch(_0x175d1b[_0x38411b++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x429d91(0x1a9)]&&(await playwrightPatcher[_0x429d91(0x1a9)](),playwrightPatcher[_0x429d91(0x1eb)]&&playwrightPatcher[_0x429d91(0x1eb)][_0x429d91(0x1d1)](),logger['debug'](_0x4a9586['OeZSo']));}catch(_0x1c5b14){logger[_0x429d91(0x244)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x429d91(0x18f)](_0x1c5b14));}continue;case'1':await RequestQueueHandler[_0x429d91(0x278)]()[_0x429d91(0x259)]();continue;case'2':PerformanceTester['stopMonitoring']();continue;case'3':_0x4a9586['DdhVs'](_0x4ccb1c);continue;case'4':await global[_0x429d91(0x192)]();continue;}break;}});});
|
|
1
|
+
const a9_0x282a6a=a9_0x3805;(function(_0x3e9e40,_0x4077ba){const _0x47e30a=a9_0x3805,_0x133d69=_0x3e9e40();while(!![]){try{const _0x2ef12e=-parseInt(_0x47e30a(0x165))/0x1*(-parseInt(_0x47e30a(0x13a))/0x2)+parseInt(_0x47e30a(0x162))/0x3+-parseInt(_0x47e30a(0x171))/0x4*(parseInt(_0x47e30a(0x1b6))/0x5)+-parseInt(_0x47e30a(0x16d))/0x6+parseInt(_0x47e30a(0x101))/0x7+-parseInt(_0x47e30a(0x119))/0x8*(parseInt(_0x47e30a(0x1ff))/0x9)+parseInt(_0x47e30a(0x183))/0xa*(-parseInt(_0x47e30a(0x1e9))/0xb);if(_0x2ef12e===_0x4077ba)break;else _0x133d69['push'](_0x133d69['shift']());}catch(_0x4d6570){_0x133d69['push'](_0x133d69['shift']());}}}(a9_0x10a1,0xe59bf));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x282a6a(0x142)),setKeepAlive=require(a9_0x282a6a(0x1e4)),util=require(a9_0x282a6a(0x1e5)),PerformanceTester=require(a9_0x282a6a(0x16c)),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a9_0x282a6a(0x176),a9_0x282a6a(0x1bb)),logger=require(a9_0x282a6a(0x1e0))['winstonLogger'],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x282a6a(0x117)),TestDetails=require(a9_0x282a6a(0x13c)),TestInfo=require(a9_0x282a6a(0x17a)),RequestQueueHandler=require(a9_0x282a6a(0x1aa)),{o11yErrorHandler}=require(a9_0x282a6a(0x1fe)),MyReporter=require(a9_0x282a6a(0x154)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require('../../helpers/accessibility-automation/scripts'),globals=require(a9_0x282a6a(0x173)),testHubConstants=require(a9_0x282a6a(0x15d)),{shouldScanTestForAccessibility}=require(a9_0x282a6a(0x12a)),{isUndefined}=require(a9_0x282a6a(0xff)),helper=require(a9_0x282a6a(0x148));try{require(a9_0x282a6a(0x17e))[a9_0x282a6a(0x199)]('cucumber-js');}catch(a9_0x2ba9b4){logger[a9_0x282a6a(0x112)](a9_0x282a6a(0x103)+(a9_0x2ba9b4&&a9_0x2ba9b4['message']));}const a9_0x80e4cd={};function a9_0x10a1(){const _0x4ad6d6=['2885469sJggqr','\x20|\x20','testFramework','1mbcDac','WNhOf','__skipSessionStatus','setGlobal','removeAllListeners','pwPage','getAutomationFramework','../../helpers/performance/performance-tester','6105528tchvWF','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','After','stringify','428pocnvE','getGlobal','../../helpers/globals','lCKbF','toString','@cucumber/cucumber/lib/index.js','../v2/state/hookState','split','tags','../v2/TestInfo.js','pickle','__sessionFailed','getInstance','../../helpers/driverInitErrorReporter','Passed','\x22}}','UtwCb','LtHch','8330rvIUyG','unMck','setConfig','kkZYe','cDyLX','result','dTKUM','stack',',\x22level\x22:\x20\x22','GhnQo','Dluwd','initQuit','bootstrap','integrations','__platformCaps','shift','onJFJ','gWJRB','Cobrt','thTestRunUuid','patchPageCommandsForAccessibility','Cucumber-JS','installAll','wxycw','Cleaned\x20up\x20close\x20tracker','executeDeferredCloses','CUCUMBER','status','rOGaC','length','getTestUUID','uDIgJ','platformCaps','MMwpd','WmOKL','NpEAr','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','vrQmh','test_run','../../helpers/test-observability/requestQueueHandler','Error\x20in\x20playwright\x20beforeTestHook:\x20','PLAYWRIGHT','Error:\x20at\x20After\x20Step:\x20','yByoo','AfterAll','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','AfterStep','__error_messages__','name','error','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','32260MSSpCv','lARbF','Error\x20initializing\x20Playwright\x20patching:\x20','Error\x20sending\x20log\x20created\x20event:\x20','__timeout','@cucumber/cucumber','BeforeAll','browserstackSessionName','fpeeb','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','aYqxj','test_run_uuid','YaHOL','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','WuuWL','storeLogObjects','isCliEnabled','EQiuf','parse','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','bstackA11yShouldScan','nCMgk','bstack','performScan','finally','WNajv','Error:\x20sendPlatformDetails\x20at\x20After:\x20','IvgdJ','\x0aError:\x20','shutdown','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uuid','WAfiN','ENV_VAR','kgWmf','cucumber-test','browserstackPlatformIndex','message','cfVLE','../v2/browserstackCLI.js','env','../../helpers/logger','4|1|3|0|2','text','timeout','../../helpers/setKeepAlive','util','fjTPr','Unknown\x20Test','startMonitoring','13882VgGePD','session_','XekzC','__drivers','map','gezYX','getPackageVersion','tpNsF','cZtji','Error:\x20in\x20quitting\x20driver\x20','pFJtS','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','../v2/cliUtils','catch','BROWSERSTACK_TESTHUB_UUID','toLowerCase','BYsYt','ybSmP','uCqoG','Inside\x20browserstack\x20Before','browserstackAgentV2','../../helpers/test-observability/error-handler','548433OyHGqN','testInfo','trackEvent','cleanup','beforeTestHook','lodash','passed','11155718cKCKGJ','yTIiD','driver-init\x20capture\x20install\x20failed:\x20','../v2/state/automationFrameworkState','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','nluGW','dhakk','quitCount_','../v2/browserstackCLI','uploadEventData','pickleStep','Before','lVkEg','NGWGa','CBTSessionCreated','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','getId','debug','BROWSERSTACK_TESTHUB_JWT','joAjc','Error:\x20at\x20After\x20(Playwright):\x20','skipSessionStatus','../../helpers/test-observability/utils','Lmppl','8iJRPCU','executeScript','scenario','Inside\x20browserstack\x20After','cucumber-js','Error\x20in\x20fallback\x20cleanup:\x20','wSPXa','saveTestResults','setTestNameForHealingContext','testCaseStartedId','push','PdYVo','closeTracker','YkIHx','Inside\x20browserstack\x20registerListeners','FBroC','__workerDetails','../../helpers/accessibility-automation/helper','currentTest','__currentTestInfo','msfwZ','PRE','../utils/playwright-patcher','DChLP','Patching\x20Selenium','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','Error\x20executing\x20deferred\x20closes:\x20','CONFIG','YLbbD','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','driverCleanup','isAccessibilityPlatform','2410234AWvrBi','FpaUw','../playwright/reporter/test-details.js','Inside\x20browserstack\x20AfterStep','ivCsx','isRunning','stopMonitoring','ZBZGB','../utils/constants','bs:addLog:','vIeyz','Error:\x20quiting\x20driver\x20at\x20After:\x20','o11ySyncDone','page','../../helpers/helper','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','thBuildUuid','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','executeAsyncScript','fyBEJ','@playwright/test','UMMYB','DPDtc','failed','__skipSessionName','Passed:\x20','../playwright/reporter/reporter.js','../../index','format','CsAox','eKyOS','then','utQrl','bBrHd','Patching\x20Playwright','../../helpers/testhub/constants.js','QeOKz','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','is_mobile_session','isPageFixture'];a9_0x10a1=function(){return _0x4ad6d6;};return a9_0x10a1();}a9_0x80e4cd['workerInfo']=undefined,a9_0x80e4cd[a9_0x282a6a(0x12b)]={},a9_0x80e4cd[a9_0x282a6a(0x146)]=![],a9_0x80e4cd['pwPage']=null,a9_0x80e4cd[a9_0x282a6a(0x161)]=![],a9_0x80e4cd[a9_0x282a6a(0x12b)]['id']=undefined,a9_0x80e4cd[a9_0x282a6a(0x12b)][a9_0x282a6a(0x200)]=undefined;const workerDetails=a9_0x80e4cd;global[a9_0x282a6a(0x129)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x27f501){const _0x4b5e95=a9_0x282a6a,_0x2cb41d={'cfVLE':function(_0x7fac95,_0x10cab3){return _0x7fac95(_0x10cab3);},'lVkEg':_0x4b5e95(0x109),'WNhOf':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x21eaf0=workerDetails['currentTest'][_0x4b5e95(0x200)];if(!_0x21eaf0)return;if(playwrightPatcher)try{const _0x1f2075=_0x2cb41d[_0x4b5e95(0x1dd)](require,_0x2cb41d[_0x4b5e95(0x10d)]);if(_0x1f2075[_0x4b5e95(0x17d)]()['isRunning']()){const _0x2e7570=_0x21eaf0[_0x4b5e95(0x122)];_0x2e7570?(_0x27f501[_0x4b5e95(0x1d6)]=_0x2e7570,_0x27f501[_0x4b5e95(0x1c1)]=_0x2e7570,TestInfo[_0x4b5e95(0x1c5)](_0x2e7570,_0x27f501)):logger[_0x4b5e95(0x112)](_0x2cb41d[_0x4b5e95(0x166)]);return;}}catch(_0x566eaf){logger[_0x4b5e95(0x112)](_0x4b5e95(0x1b9)+util['format'](_0x566eaf));}await MyReporter['addTestUIDAndReportLog'](_0x21eaf0,_0x27f501);}),registerListeners=()=>{const _0xcbde0b=a9_0x282a6a,_0xbb3282={};_0xbb3282[_0xcbde0b(0x1a2)]=_0xcbde0b(0x127);const _0xcee964=_0xbb3282;logger[_0xcbde0b(0x112)](_0xcee964['uDIgJ']),process[_0xcbde0b(0x169)](_0xcbde0b(0x143)+process['pid']),process['on'](_0xcbde0b(0x143)+process['pid'],sendTestLog),PerformanceTester[_0xcbde0b(0x1e8)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x282a6a(0x10c)],After=cucumberModule[a9_0x282a6a(0x16f)],AfterAll=cucumberModule[a9_0x282a6a(0x1af)],BeforeAll=cucumberModule[a9_0x282a6a(0x1bc)],AfterStep=cucumberModule[a9_0x282a6a(0x1b1)],configuration=process[a9_0x282a6a(0x1df)][a9_0x282a6a(0x135)],bstackConfig=process['env']['BSTACK_CONFIG'];if(configuration!==undefined){const config=JSON[a9_0x282a6a(0x1c8)](configuration);isBrowserstackInfra()?(global[a9_0x282a6a(0x152)]=isTrue(config['skipSessionName']),global[a9_0x282a6a(0x167)]=isTrue(config[a9_0x282a6a(0x116)])):(global[a9_0x282a6a(0x152)]=!![],global[a9_0x282a6a(0x167)]=!![]);!helper[a9_0x282a6a(0x1ef)]('@playwright/test')&&(logger[a9_0x282a6a(0x112)](a9_0x282a6a(0x131)),shouldProcessEventForTesthub()?require(a9_0x282a6a(0x155))[a9_0x282a6a(0x1fd)](config,null,!![]):require(a9_0x282a6a(0x155))[a9_0x282a6a(0x1fd)](config));global[a9_0x282a6a(0x191)]=config[a9_0x282a6a(0x1a3)]||{},global[a9_0x282a6a(0x1db)]=config['platformIndex'];if(helper[a9_0x282a6a(0x1ef)](a9_0x282a6a(0x14e)))try{logger['debug'](a9_0x282a6a(0x15c)),playwrightPatcher=require(a9_0x282a6a(0x12f)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a9_0x282a6a(0x112)](a9_0x282a6a(0x15f));}catch(a9_0x1b47d7){logger[a9_0x282a6a(0x112)](a9_0x282a6a(0x1b8)+util['format'](a9_0x1b47d7));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x282a6a(0x1c8)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x282a6a(0x185)](browserStackConfig),commandRepository['setFramework'](a9_0x282a6a(0x11d)));}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0xb89aa=>{const _0x369c29=a9_0x282a6a,_0x25b63b={'bsOBH':function(_0x56103a,_0x4859cb){return _0x56103a(_0x4859cb);}};global[_0x369c29(0x1ba)]=_0xb89aa,_0x25b63b['bsOBH'](__setDefaultTimeout,_0xb89aa);};const a9_0x302d8c={};a9_0x302d8c['name']=a9_0x282a6a(0x1cd),BeforeAll(a9_0x302d8c,async function(){const _0x2e287a=a9_0x282a6a,_0x242f2c={'nfPPC':function(_0x2340f0,_0x101f0e,_0x3ccb88,_0x4687a0){return _0x2340f0(_0x101f0e,_0x3ccb88,_0x4687a0);},'XrUnn':_0x2e287a(0x151),'PdYVo':_0x2e287a(0x163),'yTIiD':function(_0x4a7627,_0x33d9a0,_0x40f388){return _0x4a7627(_0x33d9a0,_0x40f388);},'lARbF':_0x2e287a(0x100),'joAjc':'Inside\x20browserstack\x20BeforeAll','YLbbD':function(_0x10c058,_0x536a51){return _0x10c058(_0x536a51);},'pFJtS':_0x2e287a(0x109),'FBroC':function(_0x2affcf,_0x19bdd5){return _0x2affcf(_0x19bdd5);},'dhakk':_0x2e287a(0x1f5),'ivCsx':_0x2e287a(0x133),'BYsYt':function(_0x48a939){return _0x48a939();},'fjTPr':function(_0x284c5c){return _0x284c5c();}};PerformanceTester[_0x2e287a(0x1e8)](),logger[_0x2e287a(0x112)](_0x242f2c[_0x2e287a(0x114)]),global[_0x2e287a(0x1b2)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x50feba=_0x242f2c['YLbbD'](require,_0x242f2c[_0x2e287a(0x1f3)]),_0x141cb4=_0x242f2c[_0x2e287a(0x128)](require,_0x242f2c[_0x2e287a(0x107)]);_0x50feba['getInstance']()[_0x2e287a(0x1c6)]()&&(logger[_0x2e287a(0x112)](_0x242f2c[_0x2e287a(0x13e)]),_0x141cb4['setFrameworkDetail'](FRAMEWORKS[_0x2e287a(0x19d)],FRAMEWORKS[_0x2e287a(0x1ac)]),await _0x50feba['getInstance']()[_0x2e287a(0x18f)]());}catch(_0x2bd87e){logger[_0x2e287a(0x112)](_0x2e287a(0x1d5)+util['format'](_0x2bd87e));}_0x242f2c[_0x2e287a(0x1f9)](shouldProcessEventForTesthub)&&(_0x242f2c[_0x2e287a(0x1e6)](registerListeners),_0x242f2c[_0x2e287a(0x136)](addRequestSpy,![])),global[_0x2e287a(0x138)]=async()=>{const _0x159666=_0x2e287a;let _0x8b23f9=![];try{global[_0x159666(0x1ec)]&&global[_0x159666(0x1ec)][0x0]&&(await global['__drivers'][0x0]['session_'],_0x8b23f9=!![],global[_0x159666(0x17c)]?await _0x242f2c['nfPPC'](markSessionStatus,global[_0x159666(0x1ec)][0x0],_0x242f2c['XrUnn'],global[_0x159666(0x1b2)]['join'](_0x242f2c[_0x159666(0x124)])):await _0x242f2c[_0x159666(0x102)](markSessionStatus,global['__drivers'][0x0],_0x242f2c[_0x159666(0x1b7)]));}catch(_0x1f4d9c){logger[_0x159666(0x112)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x1f4d9c);}global[_0x159666(0x1b2)]=[],global[_0x159666(0x17c)]=![];if(_0x8b23f9)try{await global[_0x159666(0x1ec)][0x0][_0x159666(0x18e)](),global['__drivers'][0x0][_0x159666(0x1ea)][_0x159666(0x159)](_0x168b30=>{const _0x4a119a=_0x159666;logger['debug'](_0x4a119a(0x1f2)+_0x168b30[_0x4a119a(0x111)]());})[_0x159666(0x1f6)](_0x320fe8=>{const _0x6fc148=_0x159666;logger[_0x6fc148(0x112)](_0x6fc148(0x137)+(_0x320fe8&&_0x320fe8[_0x6fc148(0x18a)]||_0x320fe8));});}catch(_0x8dfd89){logger[_0x159666(0x112)](_0x159666(0x1a7)+_0x8dfd89);}};});const a9_0x1d682f={};a9_0x1d682f[a9_0x282a6a(0x1b3)]='bstack',a9_0x1d682f[a9_0x282a6a(0x1e3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x282a6a(0x198)],Before(a9_0x1d682f,function(_0x4bce17,_0x246c7f){const _0x3ae5bd=a9_0x282a6a,_0x53f698={'MMwpd':function(_0x5156f7,_0x231f6c){return _0x5156f7>_0x231f6c;},'lCKbF':function(_0xe6d092,_0x92cbe8){return _0xe6d092(_0x92cbe8);},'fpeeb':function(_0x5e7feb,_0x39579b,_0xa6b802,_0x35ff55){return _0x5e7feb(_0x39579b,_0xa6b802,_0x35ff55);},'Dluwd':_0x3ae5bd(0x1cb),'NGWGa':function(_0x341261,_0x3af818){return _0x341261(_0x3af818);},'fVBnC':_0x3ae5bd(0x109),'JzpQK':function(_0x1b58ce,_0x46c322){return _0x1b58ce(_0x46c322);},'LtHch':_0x3ae5bd(0x104),'rOGaC':_0x3ae5bd(0x177),'gWJRB':_0x3ae5bd(0x1e7),'ZQSuR':_0x3ae5bd(0x1da),'wSPXa':function(_0x2da030){return _0x2da030();},'WuuWL':_0x3ae5bd(0x1fc)};commandRepository[_0x3ae5bd(0x121)](_0x4bce17[_0x3ae5bd(0x17b)][_0x3ae5bd(0x1b3)]),logger[_0x3ae5bd(0x112)](_0x53f698[_0x3ae5bd(0x1c4)]),new Promise(async _0x5b5e23=>{const _0xd6b7c1=_0x3ae5bd;try{global[_0xd6b7c1(0x1ec)]&&_0x53f698[_0xd6b7c1(0x1a4)](global[_0xd6b7c1(0x1ec)]['length'],0x1)&&(await global['driverCleanup'](),global[_0xd6b7c1(0x1ec)][_0xd6b7c1(0x192)]()),global[_0xd6b7c1(0x1ec)]&&global['__drivers'][0x0]&&global['__drivers'][0x0][_0xd6b7c1(0x108)]&&_0x53f698[_0xd6b7c1(0x1a4)](global['__drivers'][0x0]['quitCount_'],0x0)&&await global['driverCleanup']();}catch(_0xd7dfda){logger['debug'](_0xd6b7c1(0x105)+_0xd7dfda);}workerDetails[_0xd6b7c1(0x12b)]['testInfo']=_0x4bce17;if(!playwrightPatcher){try{if(!_0x53f698[_0xd6b7c1(0x174)](isUndefined,_0x4bce17['pickle']['tags'])){const _0x56e576=_0x53f698[_0xd6b7c1(0x1be)](shouldScanTestForAccessibility,null,![],_0x4bce17[_0xd6b7c1(0x17b)]['tags'][_0xd6b7c1(0x1ed)](({name:_0x4f8f2a})=>_0x4f8f2a));globals[_0xd6b7c1(0x168)](_0x53f698[_0xd6b7c1(0x18d)],_0x56e576);}}catch(_0x240f82){logger[_0xd6b7c1(0x112)](_0xd6b7c1(0x1c3)+util[_0xd6b7c1(0x156)](_0x240f82));}workerDetails[_0xd6b7c1(0x12b)]['thTestRunUuid']=TestDetails[_0xd6b7c1(0x1a1)](_0x4bce17[_0xd6b7c1(0x122)]);}if(playwrightPatcher)try{await playwrightPatcher[_0xd6b7c1(0x203)](_0x4bce17),global[_0xd6b7c1(0x129)]&&global['__workerDetails'][_0xd6b7c1(0x16a)]&&playwrightPatcher[_0xd6b7c1(0x197)](global['__workerDetails'][_0xd6b7c1(0x16a)]);}catch(_0x40a134){logger[_0xd6b7c1(0x112)](_0xd6b7c1(0x1ab)+util[_0xd6b7c1(0x156)](_0x40a134));}if(playwrightPatcher)try{const _0x5272fb=_0x53f698[_0xd6b7c1(0x10e)](require,_0x53f698['fVBnC']),_0x54990a=_0x53f698['JzpQK'](require,_0x53f698[_0xd6b7c1(0x182)]),_0x2c6a2b=_0x53f698['JzpQK'](require,_0x53f698[_0xd6b7c1(0x19f)]);if(_0x5272fb[_0xd6b7c1(0x17d)]()[_0xd6b7c1(0x13f)]()){const _0x292602={'title':_0x4bce17[_0xd6b7c1(0x17b)]['name']||_0x53f698[_0xd6b7c1(0x194)],'titlePath':[_0x4bce17[_0xd6b7c1(0x17b)][_0xd6b7c1(0x1b3)]||_0x53f698['gWJRB']],'id':_0x4bce17[_0xd6b7c1(0x122)]||_0x53f698['ZQSuR'],'tags':_0x4bce17[_0xd6b7c1(0x17b)]['tags']||[],..._0x4bce17},_0x226cf6=_0x292602;global[_0xd6b7c1(0x12c)]=_0x226cf6,logger[_0xd6b7c1(0x112)](_0xd6b7c1(0x110)+_0x4bce17[_0xd6b7c1(0x17b)][_0xd6b7c1(0x1b3)]);}}catch(_0x3af7b0){logger['debug']('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0xd6b7c1(0x156)](_0x3af7b0));}_0x53f698[_0xd6b7c1(0x11f)](_0x5b5e23);})[_0x3ae5bd(0x1cf)](_0x246c7f);});const a9_0x451136={};a9_0x451136[a9_0x282a6a(0x1b3)]=a9_0x282a6a(0x1cd),a9_0x451136[a9_0x282a6a(0x1e3)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a9_0x451136,function(_0x287979,_0x102bef){const _0x83e3a0=a9_0x282a6a,_0x80e8c3={'Lmppl':function(_0x2b7e34,_0x276509){return _0x2b7e34>_0x276509;},'XekzC':function(_0x455f76,_0x2f6153){return _0x455f76===_0x2f6153;},'ybSmP':_0x83e3a0(0x151),'HWvKd':function(_0x309bcd,_0x5614de){return _0x309bcd===_0x5614de;},'dTKUM':function(_0x356dbe,_0x5f21be,_0x3f11e1,_0x5daa80){return _0x356dbe(_0x5f21be,_0x3f11e1,_0x5daa80);},'RQGFO':_0x83e3a0(0x163),'onJFJ':function(_0xfec538,_0xae20b4,_0x11974c){return _0xfec538(_0xae20b4,_0x11974c);},'WmOKL':_0x83e3a0(0x100),'YaHOL':function(_0x267d4c,_0x290311){return _0x267d4c(_0x290311);},'cZtji':_0x83e3a0(0x109),'vrQmh':function(_0x39b584,_0x585bfc){return _0x39b584(_0x585bfc);},'TbYIf':_0x83e3a0(0x104),'DChLP':function(_0x4d37d3,_0x2097bd){return _0x4d37d3(_0x2097bd);},'bBrHd':_0x83e3a0(0x177),'YkIHx':'Unknown\x20Test','kkZYe':_0x83e3a0(0x1da),'wxycw':'Completed\x20Playwright\x20afterTestHook\x20execution','aYqxj':_0x83e3a0(0x1c9),'utQrl':_0x83e3a0(0x19b),'ADcbh':_0x83e3a0(0x14b),'XImYR':_0x83e3a0(0x16e),'msfwZ':_0x83e3a0(0x1de),'NpEAr':function(_0x34cf10){return _0x34cf10();},'WAfiN':_0x83e3a0(0x10f),'ZZysa':_0x83e3a0(0x139),'kgWmf':_0x83e3a0(0x1cb),'MmZUQ':_0x83e3a0(0x149),'UtwCb':'Performing\x20scan\x20before\x20saving\x20results','GhnQo':'isMobilePlatform','unMck':_0x83e3a0(0x1f4),'eKyOS':function(_0x3bb3f2,_0x1e11eb){return _0x3bb3f2>_0x1e11eb;},'OWoFL':_0x83e3a0(0x11c)};logger['debug'](_0x80e8c3['OWoFL']),workerDetails['currentTest'][_0x83e3a0(0x200)]=_0x287979,new Promise(async _0x16b1ca=>{const _0x1532b4=_0x83e3a0;let _0x37c55b=![],_0x1c295c=![],_0x2e95ef=![];try{global[_0x1532b4(0x1ec)]&&_0x80e8c3[_0x1532b4(0x118)](global['__drivers'][_0x1532b4(0x1a0)],0x0)&&(_0x1c295c=!![]),playwrightPatcher&&global[_0x1532b4(0x129)]&&global[_0x1532b4(0x129)][_0x1532b4(0x16a)]&&(_0x2e95ef=!![],logger[_0x1532b4(0x112)](_0x1532b4(0x1b5)+!!global[_0x1532b4(0x129)][_0x1532b4(0x16a)]));}catch(_0x2e7581){logger[_0x1532b4(0x112)]('Error\x20determining\x20test\x20flow:\x20'+_0x2e7581);}logger['debug']('Flow\x20detection:\x20isSeleniumFlow='+_0x1c295c+',\x20isPlaywrightFlow='+_0x2e95ef);const _0x53a483=_0x287979['result'][_0x1532b4(0x19e)][_0x1532b4(0x175)]()['toLowerCase'](),_0x50fa97=_0x80e8c3[_0x1532b4(0x1eb)](_0x53a483,_0x80e8c3['ybSmP'])||_0x80e8c3['HWvKd'](_0x53a483,'6'),_0x5476c9=_0x50fa97?_0x287979['result']['message']:null;if(_0x50fa97)try{global[_0x1532b4(0x1b2)]['push'](_0x287979[_0x1532b4(0x188)][_0x1532b4(0x1dc)]),global[_0x1532b4(0x17c)]=!![];}catch(_0x58a1c9){logger['debug']('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x58a1c9);}if(_0x1c295c)try{global[_0x1532b4(0x1ec)]&&_0x80e8c3[_0x1532b4(0x118)](global['__drivers']['length'],0x1)&&(await global[_0x1532b4(0x138)](),global[_0x1532b4(0x1ec)][_0x1532b4(0x192)](),global[_0x1532b4(0x1b2)]=[],global[_0x1532b4(0x17c)]=![]),global['__drivers']&&global[_0x1532b4(0x1ec)][0x0]&&(await global[_0x1532b4(0x1ec)][0x0]['session_'],_0x37c55b=!![],!global[_0x1532b4(0x152)]&&await global['__drivers'][0x0][_0x1532b4(0x11a)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x287979[_0x1532b4(0x17b)]['name']+_0x1532b4(0x180)),_0x50fa97?await _0x80e8c3['dTKUM'](markSessionStatus,global[_0x1532b4(0x1ec)][0x0],_0x80e8c3[_0x1532b4(0x1fa)],global[_0x1532b4(0x1b2)]['join'](_0x80e8c3['RQGFO'])):await _0x80e8c3[_0x1532b4(0x193)](markSessionStatus,global[_0x1532b4(0x1ec)][0x0],_0x80e8c3[_0x1532b4(0x1a5)]));}catch(_0xa1beb0){logger[_0x1532b4(0x112)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x1532b4(0x156)](_0xa1beb0));}if(_0x2e95ef)try{try{const _0x19a919=_0x80e8c3[_0x1532b4(0x1c2)](require,_0x80e8c3[_0x1532b4(0x1f1)]),_0x34465e=_0x80e8c3[_0x1532b4(0x1a8)](require,_0x80e8c3['TbYIf']),_0x4d5822=_0x80e8c3[_0x1532b4(0x130)](require,_0x80e8c3[_0x1532b4(0x15b)]);if(_0x19a919[_0x1532b4(0x17d)]()[_0x1532b4(0x13f)]()){const _0x1c4cd8={'title':_0x287979['pickle'][_0x1532b4(0x1b3)]||_0x80e8c3['YkIHx'],'titlePath':[_0x287979[_0x1532b4(0x17b)][_0x1532b4(0x1b3)]||_0x80e8c3[_0x1532b4(0x126)]],'id':_0x287979['testCaseStartedId']||_0x80e8c3[_0x1532b4(0x186)],'status':_0x50fa97?_0x80e8c3[_0x1532b4(0x1fa)]:_0x80e8c3[_0x1532b4(0x1a5)],'error':_0x5476c9?{'message':_0x5476c9}:null,'tags':_0x287979[_0x1532b4(0x17b)][_0x1532b4(0x179)]||[],..._0x287979},_0x45259f=_0x1c4cd8,_0x2f6c9d={};_0x2f6c9d['testInfo']=_0x45259f,_0x2f6c9d[_0x1532b4(0x11b)]=_0x287979,_0x2f6c9d[_0x1532b4(0x147)]=global[_0x1532b4(0x129)][_0x1532b4(0x16a)],_0x2f6c9d[_0x1532b4(0x164)]=FRAMEWORKS[_0x1532b4(0x19d)],await _0x19a919[_0x1532b4(0x17d)]()[_0x1532b4(0x16b)]()[_0x1532b4(0x201)](_0x34465e['QUIT'],_0x4d5822[_0x1532b4(0x12e)],_0x2f6c9d),logger[_0x1532b4(0x112)](_0x1532b4(0x1bf)+_0x287979[_0x1532b4(0x17b)]['name']);}}catch(_0x3be092){logger[_0x1532b4(0x112)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x1532b4(0x156)](_0x3be092));}const _0x492fab=_0x50fa97?_0x80e8c3[_0x1532b4(0x1fa)]:_0x80e8c3['WmOKL'];await playwrightPatcher['afterTestHook'](_0x287979,_0x492fab,_0x5476c9),logger[_0x1532b4(0x112)](_0x80e8c3[_0x1532b4(0x19a)]);try{await playwrightPatcher[_0x1532b4(0x19c)](),logger[_0x1532b4(0x112)](_0x80e8c3[_0x1532b4(0x1c0)]);}catch(_0x3797e8){logger[_0x1532b4(0x112)](_0x1532b4(0x134)+util[_0x1532b4(0x156)](_0x3797e8));}try{playwrightPatcher['closeTracker'][_0x1532b4(0x202)](),logger[_0x1532b4(0x112)](_0x80e8c3[_0x1532b4(0x15a)]);}catch(_0x129be9){logger[_0x1532b4(0x112)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x1532b4(0x156)](_0x129be9));}}catch(_0x3ceabf){logger[_0x1532b4(0x112)](_0x1532b4(0x115)+util[_0x1532b4(0x156)](_0x3ceabf));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x1532b4(0x19c)](),logger[_0x1532b4(0x112)](_0x80e8c3['ADcbh'])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x1532b4(0x125)][_0x1532b4(0x202)]&&(playwrightPatcher[_0x1532b4(0x125)][_0x1532b4(0x202)](),logger[_0x1532b4(0x112)](_0x80e8c3['XImYR']));}catch(_0x37a810){logger['debug'](_0x1532b4(0x11e)+util[_0x1532b4(0x156)](_0x37a810));}}const _0xe698ce=_0x80e8c3[_0x1532b4(0x1a8)](require,_0x80e8c3[_0x1532b4(0x12d)]);if(!_0xe698ce['getInstance']()[_0x1532b4(0x13f)]())try{if(_0x80e8c3[_0x1532b4(0x1a6)](shouldProcessEventForTesthub)){const _0xac906=TestDetails['getTestUUID'](_0x287979[_0x1532b4(0x122)]);let _0x54125f=null;global[_0x1532b4(0x1ec)]&&global['__drivers'][0x0]&&(_0x54125f=await _0x80e8c3[_0x1532b4(0x189)](sendPlatformDetails,global[_0x1532b4(0x1ec)][0x0],_0xac906,!![]));const _0x273a68={};_0x273a68['uuid']=_0xac906,_0x273a68[_0x1532b4(0x190)]=_0x54125f;const _0x255289=_0x273a68,_0xf680c3={};_0xf680c3['event_type']=_0x80e8c3[_0x1532b4(0x1d7)],_0xf680c3[_0x1532b4(0x1a9)]=_0x255289,await SessionHandler[_0x1532b4(0x10a)](_0xf680c3);}}catch(_0x3386a4){logger['debug'](_0x1532b4(0x1d1)+util[_0x1532b4(0x156)](_0x3386a4));}try{if(globals[_0x1532b4(0x172)](_0x80e8c3['ZZysa'])&&globals['getGlobal'](_0x80e8c3[_0x1532b4(0x1d9)])){logger['info'](_0x80e8c3['MmZUQ']);const _0x1397d8=TestDetails[_0x1532b4(0x1a1)](_0x287979['testCaseStartedId']),_0xcb7976={};_0xcb7976[_0x1532b4(0x196)]=_0x1397d8,_0xcb7976[_0x1532b4(0x14a)]=process[_0x1532b4(0x1df)][testHubConstants[_0x1532b4(0x1d8)][_0x1532b4(0x1f7)]],_0xcb7976['thJwtToken']=process['env'][testHubConstants[_0x1532b4(0x1d8)][_0x1532b4(0x113)]];const _0x1128a2=_0xcb7976;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON['stringify'](_0x1128a2)),logger[_0x1532b4(0x112)](_0x80e8c3[_0x1532b4(0x181)]),global['__drivers']&&global['__drivers'][0x0]&&(logger[_0x1532b4(0x112)](util[_0x1532b4(0x156)](await global[_0x1532b4(0x1ec)][0x0][_0x1532b4(0x14c)](scripts[_0x1532b4(0x1ce)],{'method':global[_0x1532b4(0x1bd)]}))),globals[_0x1532b4(0x172)](_0x80e8c3[_0x1532b4(0x18c)])&&(_0x1128a2[_0x1532b4(0x160)]=!![]),await global[_0x1532b4(0x1ec)][0x0][_0x1532b4(0x14c)](scripts[_0x1532b4(0x120)],_0x1128a2)),logger['info'](_0x80e8c3[_0x1532b4(0x184)]);}}catch(_0x539f0c){logger[_0x1532b4(0x1b4)](_0x1532b4(0x1ca)+util[_0x1532b4(0x156)](_0x539f0c));}if(_0x37c55b)try{global[_0x1532b4(0x1ec)][0x0]&&_0x80e8c3[_0x1532b4(0x158)](global[_0x1532b4(0x1ec)][0x0]['quitCount_'],0x0)&&await global[_0x1532b4(0x1ec)][0x0][_0x1532b4(0x18e)]();}catch(_0x209bc8){logger['debug'](_0x1532b4(0x145)+_0x209bc8);}_0x80e8c3[_0x1532b4(0x1a6)](_0x16b1ca);})[_0x83e3a0(0x1cf)](()=>_0x102bef());});const a9_0x1c2ca8={};a9_0x1c2ca8[a9_0x282a6a(0x1b3)]='bstack',a9_0x1c2ca8[a9_0x282a6a(0x1e3)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x282a6a(0x198)],AfterStep(a9_0x1c2ca8,function(_0x5305dd,_0x33906e){const _0xb22dda=a9_0x282a6a,_0x3a6a7a={'uCqoG':function(_0x194a89,_0x1bef97){return _0x194a89===_0x1bef97;},'fyBEJ':'failed','nluGW':function(_0x150502,_0xc698){return _0x150502!==_0xc698;},'EQiuf':function(_0x2c0e75,_0x5db717,_0x553452){return _0x2c0e75(_0x5db717,_0x553452);},'cDyLX':function(_0x13a428,_0x3d8e97){return _0x13a428+_0x3d8e97;},'ZBZGB':function(_0x43cf13,_0x5f5a2d){return _0x43cf13+_0x5f5a2d;},'DPDtc':'Failed:\x20','yYxif':_0xb22dda(0x1d3),'IvgdJ':_0xb22dda(0x1b4),'CxfIF':function(_0xaa6c79,_0x21e17a){return _0xaa6c79+_0x21e17a;},'CKJbm':function(_0x34fa75,_0x398321){return _0x34fa75!==_0x398321;},'yByoo':function(_0x4b12c3,_0x315130,_0x1d902d){return _0x4b12c3(_0x315130,_0x1d902d);},'UMMYB':_0xb22dda(0x153),'CsAox':'info','Cobrt':function(_0xf9117e,_0x514c39,_0x36e9c6){return _0xf9117e(_0x514c39,_0x36e9c6);},'WNajv':_0xb22dda(0x17f),'gezYX':function(_0x449b73){return _0x449b73();},'vIeyz':_0xb22dda(0x13d)};logger[_0xb22dda(0x112)](_0x3a6a7a[_0xb22dda(0x144)]);const _0x2467de=async(_0x235245,_0x4e4b7e)=>{const _0x38b068=_0xb22dda;global[_0x38b068(0x1ec)]&&global[_0x38b068(0x1ec)][0x0]&&await global[_0x38b068(0x1ec)][0x0][_0x38b068(0x11a)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x235245+_0x38b068(0x18b)+_0x4e4b7e+'\x22}}');};new Promise(async _0x457654=>{const _0x215ec4=_0xb22dda;try{const _0x57fcc5=_0x3a6a7a[_0x215ec4(0x1fb)](_0x5305dd[_0x215ec4(0x188)]['status'][_0x215ec4(0x175)]()[_0x215ec4(0x1f8)](),_0x3a6a7a[_0x215ec4(0x14d)])||_0x3a6a7a[_0x215ec4(0x1fb)](_0x5305dd[_0x215ec4(0x188)]['status'][_0x215ec4(0x175)]()['toLowerCase'](),'6');_0x57fcc5?(global[_0x215ec4(0x17c)]=!![],global[_0x215ec4(0x1b2)][_0x215ec4(0x123)](_0x5305dd['result'][_0x215ec4(0x1dc)]),_0x3a6a7a[_0x215ec4(0x106)](_0x5305dd['pickleStep'],undefined)?await _0x3a6a7a[_0x215ec4(0x1c7)](_0x2467de,JSON[_0x215ec4(0x170)](_0x3a6a7a['cDyLX'](_0x3a6a7a[_0x215ec4(0x187)](_0x3a6a7a[_0x215ec4(0x141)](_0x3a6a7a['DPDtc'],'\x22'+_0x5305dd[_0x215ec4(0x10b)][_0x215ec4(0x1e2)]+'\x22\x20'),_0x3a6a7a['yYxif']),_0x5305dd[_0x215ec4(0x188)][_0x215ec4(0x1dc)])),_0x3a6a7a['IvgdJ']):await _0x3a6a7a[_0x215ec4(0x1c7)](_0x2467de,JSON['stringify'](_0x3a6a7a['CxfIF'](_0x3a6a7a[_0x215ec4(0x150)],_0x5305dd[_0x215ec4(0x188)]['message'])),_0x3a6a7a[_0x215ec4(0x1d2)])):_0x3a6a7a['CKJbm'](_0x5305dd['pickleStep'],undefined)?await _0x3a6a7a[_0x215ec4(0x1ae)](_0x2467de,JSON[_0x215ec4(0x170)](_0x3a6a7a[_0x215ec4(0x141)](_0x3a6a7a[_0x215ec4(0x14f)],'\x22'+_0x5305dd[_0x215ec4(0x10b)][_0x215ec4(0x1e2)]+'\x22')),_0x3a6a7a[_0x215ec4(0x157)]):await _0x3a6a7a[_0x215ec4(0x195)](_0x2467de,JSON[_0x215ec4(0x170)](_0x3a6a7a[_0x215ec4(0x1d0)]),_0x3a6a7a[_0x215ec4(0x157)]),global[_0x215ec4(0x1ec)]&&global['__drivers'][0x0]&&global[_0x215ec4(0x1ec)][0x0][_0x215ec4(0x1ea)][_0x215ec4(0x159)](_0x1a6e89=>{})[_0x215ec4(0x1f6)](_0x49ff47=>{const _0x582a1b=_0x215ec4;logger[_0x582a1b(0x112)](_0x582a1b(0x1b0)+util[_0x582a1b(0x156)](_0x49ff47));});}catch(_0x28b1f5){logger[_0x215ec4(0x112)](_0x215ec4(0x1ad)+_0x28b1f5);}_0x3a6a7a[_0x215ec4(0x1ee)](_0x457654);})[_0xb22dda(0x1cf)](()=>_0x33906e());});const a9_0x404e80={};function a9_0x3805(_0x295136,_0x4500c3){const _0x10a148=a9_0x10a1();return a9_0x3805=function(_0x38050a,_0x1e7042){_0x38050a=_0x38050a-0xff;let _0x4c1ced=_0x10a148[_0x38050a];return _0x4c1ced;},a9_0x3805(_0x295136,_0x4500c3);}a9_0x404e80[a9_0x282a6a(0x1b3)]=a9_0x282a6a(0x1cd),a9_0x404e80[a9_0x282a6a(0x1e3)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x404e80,async function(_0x4935c4,_0x5b672a){const _0x82fd2e=a9_0x282a6a,_0x5a390f={'QeOKz':_0x82fd2e(0x1e1),'tpNsF':function(_0x10a519){return _0x10a519();},'FpaUw':'Cleaned\x20up\x20Playwright\x20close\x20tracker','nCMgk':'Inside\x20browserstack\x20AfterAll'};logger['debug'](_0x5a390f[_0x82fd2e(0x1cc)]),await new Promise(async _0x379b86=>{const _0x7a36ca=_0x82fd2e,_0x27daf1=_0x5a390f[_0x7a36ca(0x15e)][_0x7a36ca(0x178)]('|');let _0x343919=0x0;while(!![]){switch(_0x27daf1[_0x343919++]){case'0':await global[_0x7a36ca(0x138)]();continue;case'1':PerformanceTester[_0x7a36ca(0x140)]();continue;case'2':_0x5a390f[_0x7a36ca(0x1f0)](_0x379b86);continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x7a36ca(0x19c)]&&(await playwrightPatcher[_0x7a36ca(0x19c)](),playwrightPatcher[_0x7a36ca(0x125)]&&playwrightPatcher[_0x7a36ca(0x125)][_0x7a36ca(0x202)](),logger[_0x7a36ca(0x112)](_0x5a390f[_0x7a36ca(0x13b)]));}catch(_0xa2cc77){logger['debug'](_0x7a36ca(0x132)+util[_0x7a36ca(0x156)](_0xa2cc77));}continue;case'4':await RequestQueueHandler['getInstance']()[_0x7a36ca(0x1d4)]();continue;}break;}});});
|