browserstack-node-sdk 1.54.1 → 1.55.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/package.json +3 -3
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +2 -0
- package/src/bin/newman/helper.js +1 -0
- package/src/bin/newman/reporter/index.js +1 -0
- package/src/bin/newman/scriptRunner.js +2 -0
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -0
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/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_0x396c7a=a5_0x51dc;(function(_0x229d58,_0x3b78ef){const _0xbb7f6d=a5_0x51dc,_0x48a238=_0x229d58();while(!![]){try{const _0x1b23dc=parseInt(_0xbb7f6d(0x24b))/0x1+-parseInt(_0xbb7f6d(0x248))/0x2+parseInt(_0xbb7f6d(0x275))/0x3+parseInt(_0xbb7f6d(0x1eb))/0x4*(parseInt(_0xbb7f6d(0x1f5))/0x5)+-parseInt(_0xbb7f6d(0x1f9))/0x6+parseInt(_0xbb7f6d(0x252))/0x7+-parseInt(_0xbb7f6d(0x22a))/0x8;if(_0x1b23dc===_0x3b78ef)break;else _0x48a238['push'](_0x48a238['shift']());}catch(_0x224d02){_0x48a238['push'](_0x48a238['shift']());}}}(a5_0x304e,0xa386f));function a5_0x51dc(_0x4f1c50,_0xdc6031){const _0x304ed8=a5_0x304e();return a5_0x51dc=function(_0x51dcc2,_0x18c904){_0x51dcc2=_0x51dcc2-0x1d8;let _0x288cda=_0x304ed8[_0x51dcc2];return _0x288cda;},a5_0x51dc(_0x4f1c50,_0xdc6031);}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x396c7a(0x269))[a5_0x396c7a(0x257)],helper=require('../../helpers/helper'),utilities=require(a5_0x396c7a(0x232)),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x396c7a(0x20b)),TestHubHandler=require(a5_0x396c7a(0x21b)),testOpsHelper=require(a5_0x396c7a(0x24c)),chalk=require('chalk'),PerformanceTester=require(a5_0x396c7a(0x253)),PerformanceEvents=require(a5_0x396c7a(0x237))[a5_0x396c7a(0x246)],BrowserstackCLI=require(a5_0x396c7a(0x1d8)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x3e46ea){const _0x352688=a5_0x396c7a,_0x357f92={};_0x357f92[_0x352688(0x1dd)]=function(_0x5c54c5,_0x3eea31){return _0x5c54c5>_0x3eea31;},_0x357f92[_0x352688(0x26f)]=function(_0xb10f19,_0x4c967f){return _0xb10f19-_0x4c967f;},_0x357f92['yfgyb']=function(_0x4ea20a,_0x71aa05){return _0x4ea20a>_0x71aa05;},_0x357f92['LQIjs']=function(_0x33a34c,_0x280643){return _0x33a34c>_0x280643;},_0x357f92[_0x352688(0x1ff)]=function(_0x1747e0,_0x41157f){return _0x1747e0>_0x41157f;},_0x357f92[_0x352688(0x21f)]=function(_0x43105c,_0x55fc2c){return _0x43105c>_0x55fc2c;},_0x357f92[_0x352688(0x219)]=function(_0x39a79e,_0x13decb){return _0x39a79e>_0x13decb;},_0x357f92[_0x352688(0x203)]=function(_0x1573cc,_0x26cba9){return _0x1573cc>_0x26cba9;},_0x357f92[_0x352688(0x1e5)]=function(_0x181567,_0x58a539){return _0x181567+_0x58a539;},_0x357f92['PpkNf']=function(_0x3634a8,_0x3950b2){return _0x3634a8+_0x3950b2;},_0x357f92[_0x352688(0x227)]=function(_0x341824,_0x4a70b9){return _0x341824+_0x4a70b9;},_0x357f92['pOacG']=function(_0x37d501,_0x15b2cc){return _0x37d501+_0x15b2cc;},_0x357f92[_0x352688(0x215)]=function(_0x343411,_0x45ea23){return _0x343411+_0x45ea23;},_0x357f92[_0x352688(0x230)]=function(_0x36b61a,_0x1ec07b){return _0x36b61a+_0x1ec07b;},_0x357f92[_0x352688(0x23d)]=function(_0x49d42c,_0x2741a7){return _0x49d42c===_0x2741a7;},_0x357f92[_0x352688(0x260)]='****\x20RESULTS\x20****';const _0x5a06d2=_0x357f92;let _0x141647=0x0;if(_0x5a06d2[_0x352688(0x23d)](_0x3e46ea[_0x352688(0x1e2)],0x0))return _0x141647;return console[_0x352688(0x255)](chalk[_0x352688(0x24d)][_0x352688(0x205)](_0x5a06d2[_0x352688(0x260)])),_0x3e46ea[_0x352688(0x1fd)](_0xe7412f=>{const _0x2efd86=_0x352688,_0x6e1828=_0xe7412f[0x0],_0x1cf052=_0xe7412f[0x1];helper[_0x2efd86(0x1e0)]()&&console[_0x2efd86(0x255)]('\x0a'+chalk[_0x2efd86(0x24d)][_0x2efd86(0x1e6)](''+helper[_0x2efd86(0x25f)](_0x6e1828)));const _0x5e0a13=_0x1cf052[_0x2efd86(0x26a)],_0x36d650=_0x1cf052[_0x2efd86(0x210)],_0x29ec9a=_0x1cf052['scenariosFailed'],_0x8ad6a1=_0x1cf052[_0x2efd86(0x218)],_0x4cc431=_0x1cf052['stepsPassed'],_0x1806c0=_0x1cf052['stepsSkipped'],_0x5e1c90=_0x1cf052[_0x2efd86(0x22c)],_0x42e247=_0x1cf052[_0x2efd86(0x223)],_0x260f7d=_0x1cf052['stepsUnknown'],_0x4c973e=_0x1cf052['stepsAmbiguous'],_0xf153ad=_0x1cf052[_0x2efd86(0x212)];let _0x2ccfab=_0x5e0a13+_0x2efd86(0x211);const _0x4416b7=_0x5a06d2[_0x2efd86(0x1dd)](_0x5a06d2['wzGfO'](_0x5e0a13,_0x29ec9a),0x0)?_0x5a06d2[_0x2efd86(0x26f)](_0x5e0a13,_0x29ec9a):0x0;if(_0x5a06d2[_0x2efd86(0x1dd)](_0x29ec9a,0x0)&&_0x5a06d2[_0x2efd86(0x1dd)](_0x4416b7,0x0))_0x2ccfab+='\x20('+chalk['bold'][_0x2efd86(0x25c)](_0x29ec9a+_0x2efd86(0x217))+',\x20'+chalk['bold'][_0x2efd86(0x1de)](_0x4416b7+_0x2efd86(0x245))+')';else(_0x5a06d2['acimq'](_0x29ec9a,0x0)||_0x5a06d2[_0x2efd86(0x1dd)](_0x4416b7,0x0))&&(_0x2ccfab+=_0x5a06d2['yfgyb'](_0x29ec9a,0x0)?'\x20('+chalk['bold'][_0x2efd86(0x25c)](_0x29ec9a+_0x2efd86(0x217))+')':'\x20('+chalk[_0x2efd86(0x24d)]['green'](_0x4416b7+_0x2efd86(0x245))+')');const _0x197948=_0x36d650+_0x2efd86(0x206),_0x538f36=[];_0x5a06d2[_0x2efd86(0x1dd)](_0x4c973e,0x0)&&_0x538f36[_0x2efd86(0x233)](''+chalk[_0x2efd86(0x24d)][_0x2efd86(0x25c)](_0x4c973e+'\x20ambiguous'));_0x5a06d2[_0x2efd86(0x20f)](_0x8ad6a1,0x0)&&_0x538f36[_0x2efd86(0x233)](''+chalk['bold']['red'](_0x8ad6a1+'\x20failed'));_0x5a06d2[_0x2efd86(0x1ff)](_0x4cc431,0x0)&&_0x538f36[_0x2efd86(0x233)](''+chalk['bold'][_0x2efd86(0x1de)](_0x4cc431+_0x2efd86(0x245)));_0x5a06d2[_0x2efd86(0x21f)](_0x5e1c90,0x0)&&_0x538f36[_0x2efd86(0x233)](''+chalk[_0x2efd86(0x24d)][_0x2efd86(0x1e6)](_0x5e1c90+_0x2efd86(0x240)));_0x5a06d2['yYWsn'](_0x1806c0,0x0)&&_0x538f36[_0x2efd86(0x233)](''+chalk[_0x2efd86(0x24d)]['cyan'](_0x1806c0+_0x2efd86(0x20c)));_0x5a06d2[_0x2efd86(0x219)](_0x42e247,0x0)&&_0x538f36['push'](''+chalk['bold']['yellow'](_0x42e247+_0x2efd86(0x266)));_0x5a06d2[_0x2efd86(0x203)](_0x260f7d,0x0)&&_0x538f36['push'](''+chalk[_0x2efd86(0x24d)][_0x2efd86(0x1e6)](_0x260f7d+'\x20skipped'));const _0x347e2c=_0x5a06d2[_0x2efd86(0x1e5)](_0x5a06d2['PpkNf'](_0x5a06d2[_0x2efd86(0x227)](_0x197948,'('),_0x538f36['join'](',\x20')),')');console[_0x2efd86(0x255)](_0x5a06d2[_0x2efd86(0x1ed)](_0x5a06d2['pOacG'](_0x5a06d2[_0x2efd86(0x215)](_0x5a06d2[_0x2efd86(0x230)]('\x0a',_0x2ccfab),'\x0a'),_0x347e2c),'\x0a')),_0x5a06d2[_0x2efd86(0x23d)](_0xf153ad,![])&&(_0x141647=0x1);}),_0x141647;}async function run(_0x184918,_0x82cf1e,_0x40ad22){const _0x45bb1e=a5_0x396c7a,_0x53c003={'jLoQc':function(_0x26ce18,_0x38d268){return _0x26ce18(_0x38d268);},'WjQCN':function(_0x1673f3,_0x3eb280){return _0x1673f3>_0x3eb280;},'eKtqN':_0x45bb1e(0x238),'vJHjF':_0x45bb1e(0x21c),'LkMAx':_0x45bb1e(0x26c),'nqQGQ':_0x45bb1e(0x1e9),'ZzcYN':_0x45bb1e(0x20a),'KiDJl':function(_0x320a41,_0x4515db,_0x3facbf,_0x252d41){return _0x320a41(_0x4515db,_0x3facbf,_0x252d41);},'KArbh':_0x45bb1e(0x1e7),'tKHZy':function(_0x1aedde,_0x4c0c7b){return _0x1aedde>_0x4c0c7b;},'eLXVB':function(_0x164c70,_0x52f609){return _0x164c70-_0x52f609;},'CuglY':function(_0x2787ca,_0x4d8fa3){return _0x2787ca>=_0x4d8fa3;},'cjtcg':function(_0x19a48f,_0x48b73d){return _0x19a48f!=_0x48b73d;},'uuwAg':_0x45bb1e(0x279),'CxcCP':'../../helpers/accessibility-automation/helper','aRVhq':function(_0x4e8e4a,_0x1a2ee3){return _0x4e8e4a(_0x1a2ee3);},'XImeB':_0x45bb1e(0x208),'QrEQH':function(_0x3e1abb,_0x21fcf0){return _0x3e1abb(_0x21fcf0);},'wRlHt':_0x45bb1e(0x1ef),'nzxVv':function(_0x5b098a,_0x4e7a87){return _0x5b098a===_0x4e7a87;},'NtlMQ':function(_0x194026,_0x3de474){return _0x194026(_0x3de474);},'bDvBz':'../v2/browserstackCLI','LVKCK':_0x45bb1e(0x1e3),'nncDk':function(_0x43c35c,_0x22637f){return _0x43c35c(_0x22637f);},'CQBlM':'../../helpers/test-observability/constants','mszgF':function(_0x385901,_0x26df7d){return _0x385901(_0x26df7d);},'CDpzi':function(_0x5c8e46,_0x47dd22){return _0x5c8e46(_0x47dd22);},'jOjjq':'--disable-test-observability','udIah':function(_0x5c4c31,_0x42b964){return _0x5c4c31===_0x42b964;},'fDCzW':function(_0x24930d,_0x4bf3b1){return _0x24930d(_0x4bf3b1);},'XULdK':function(_0x55416a,_0x1f801b,_0x4f74bb,_0x371f8f,_0x49f28c,_0x2c727c){return _0x55416a(_0x1f801b,_0x4f74bb,_0x371f8f,_0x49f28c,_0x2c727c);}},_0x4a05e0=helper[_0x45bb1e(0x225)](_0x53c003[_0x45bb1e(0x21e)]);global[_0x45bb1e(0x1e4)]=!!_0x4a05e0,await _0x40ad22[_0x45bb1e(0x1f6)](_0x184918);if(_0x40ad22[_0x45bb1e(0x277)]&&!helper[_0x45bb1e(0x272)](_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x274)])){process[_0x45bb1e(0x27d)][_0x45bb1e(0x276)]=_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x274)];const _0x57ab34={};_0x57ab34[_0x45bb1e(0x274)]=_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x274)],helper[_0x45bb1e(0x268)](_0x57ab34,new Map(),new Map());}await _0x53c003[_0x45bb1e(0x242)](checkPwandBootstrapCli,_0x4a05e0,constants[_0x45bb1e(0x25e)][_0x45bb1e(0x200)],_0x40ad22);BrowserstackCLI[_0x45bb1e(0x27c)]()[_0x45bb1e(0x249)]&&(process[_0x45bb1e(0x27d)][_0x45bb1e(0x231)]=BrowserstackCLI[_0x45bb1e(0x27c)]()[_0x45bb1e(0x249)]);helper[_0x45bb1e(0x241)](_0x40ad22[_0x45bb1e(0x235)],_0x184918);!helper[_0x45bb1e(0x1e0)]()&&await _0x40ad22[_0x45bb1e(0x24a)]();await helper[_0x45bb1e(0x1ec)](_0x40ad22[_0x45bb1e(0x277)]);const _0x2f2cdd=helper[_0x45bb1e(0x204)](_0x40ad22[_0x45bb1e(0x277)]);!helper[_0x45bb1e(0x272)](_0x40ad22[_0x45bb1e(0x277)]['accessibilityOptions'])&&(process[_0x45bb1e(0x27d)][_0x45bb1e(0x214)]=JSON['stringify'](_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x1fb)]));if(!BrowserstackCLI[_0x45bb1e(0x27c)]()[_0x45bb1e(0x1fa)]()){const _0xd385e9=await TestHubHandler[_0x45bb1e(0x265)](constants[_0x45bb1e(0x25e)][_0x45bb1e(0x200)],_0x40ad22);}let _0x3ba388=[];if(!helper[_0x45bb1e(0x1e0)]()){const _0x3c0705={};_0x3c0705[_0x45bb1e(0x262)]=[],_0x3ba388=helper[_0x45bb1e(0x278)](Object[_0x45bb1e(0x222)]({},_0x40ad22[_0x45bb1e(0x277)],_0x3c0705),_0x2f2cdd,constants['FRAMEWORKS']['CUCUMBER']);}else _0x3ba388=helper[_0x45bb1e(0x278)](_0x40ad22['config'],_0x2f2cdd,constants[_0x45bb1e(0x25e)][_0x45bb1e(0x200)]);if(!_0x40ad22[_0x45bb1e(0x277)])return;const _0x2a561a=_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x1db)]||helper[_0x45bb1e(0x22e)](_0x184918,_0x82cf1e,_0x40ad22['config'],constants[_0x45bb1e(0x25e)]['CUCUMBER'])||0x1,_0x54c973={'server':helper[_0x45bb1e(0x239)](_0x40ad22['config']),'proxySettings':_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x1e8)],'maxWorkers':_0x2a561a,'browserStackLogLevel':_0x40ad22['config'][_0x45bb1e(0x274)],'skipSessionName':_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x1da)][_0x45bb1e(0x25b)],'skipSessionStatus':_0x40ad22[_0x45bb1e(0x277)]['testContextOptions'][_0x45bb1e(0x1f8)],'turboScaleUrl':_0x40ad22[_0x45bb1e(0x277)]['turboScaleUrl']},_0x24c10c=process[_0x45bb1e(0x22b)],[_0x1e069d,_0x288e4f]=helper['parseFormatters'](_0x24c10c),_0x2576be=path[_0x45bb1e(0x20d)](process[_0x45bb1e(0x24f)](),_0x53c003['KArbh']);if(_0x53c003[_0x45bb1e(0x202)](_0x288e4f[_0x45bb1e(0x1e2)],0x0)){helper[_0x45bb1e(0x26d)](_0x2576be);for(let _0x230129=_0x53c003[_0x45bb1e(0x224)](_0x1e069d[_0x45bb1e(0x1e2)],0x1);_0x53c003[_0x45bb1e(0x270)](_0x230129,0x0);_0x230129--){_0x24c10c[_0x45bb1e(0x1ea)](_0x1e069d[_0x230129],0x2);}}_0x53c003[_0x45bb1e(0x243)](_0x40ad22['config'][_0x45bb1e(0x273)],null)?process[_0x45bb1e(0x27d)][_0x45bb1e(0x254)]=_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x273)]:process['env'][_0x45bb1e(0x254)]=_0x53c003[_0x45bb1e(0x20e)];if(_0x4a05e0)try{const {checkAccessibilityPlatformConfig:_0x20277f}=_0x53c003['jLoQc'](require,_0x53c003[_0x45bb1e(0x27a)]),{setAccessibilityCapabilities:_0x21836a}=_0x53c003[_0x45bb1e(0x228)](require,_0x53c003['XImeB']),_0x48742e=_0x53c003[_0x45bb1e(0x1f1)](_0x20277f,_0x40ad22[_0x45bb1e(0x277)]);if(!helper['isUndefined'](_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x21a)]))process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x53c003[_0x45bb1e(0x1f1)](String,!!_0x40ad22[_0x45bb1e(0x277)][_0x45bb1e(0x21a)]);else helper[_0x45bb1e(0x272)](process[_0x45bb1e(0x27d)][_0x45bb1e(0x264)])&&(process[_0x45bb1e(0x27d)][_0x45bb1e(0x264)]=_0x48742e?_0x53c003['uuwAg']:_0x53c003['wRlHt']);process[_0x45bb1e(0x27d)][_0x45bb1e(0x23f)]=_0x48742e?_0x53c003[_0x45bb1e(0x20e)]:_0x53c003[_0x45bb1e(0x1d9)],!BrowserstackCLI[_0x45bb1e(0x27c)]()['isRunning']()&&_0x53c003['nzxVv'](process[_0x45bb1e(0x27d)][_0x45bb1e(0x264)],_0x53c003[_0x45bb1e(0x20e)])&&_0x53c003[_0x45bb1e(0x25d)](_0x21836a,_0x40ad22[_0x45bb1e(0x277)]);}catch(_0x5bbfb2){logger[_0x45bb1e(0x23c)](_0x45bb1e(0x247)+util['format'](_0x5bbfb2));}try{const _0x58e030=_0x53c003['aRVhq'](require,_0x53c003[_0x45bb1e(0x256)]),_0xd4e8cd=_0x53c003[_0x45bb1e(0x26e)](require,_0x53c003[_0x45bb1e(0x1e1)]),{FRAMEWORKS:_0x1bb00d}=_0x53c003[_0x45bb1e(0x1f3)](require,_0x53c003[_0x45bb1e(0x209)]),{checkAccessibilityPlatformConfig:_0x1aa8de}=_0x53c003[_0x45bb1e(0x226)](require,_0x53c003['CxcCP']),{setAccessibilityCapabilities:_0x5ba89c}=_0x53c003[_0x45bb1e(0x251)](require,_0x53c003[_0x45bb1e(0x234)]),_0x56b902=helper[_0x45bb1e(0x225)](_0x53c003[_0x45bb1e(0x21e)]);if(_0x56b902){_0xd4e8cd[_0x45bb1e(0x25a)](constants[_0x45bb1e(0x25e)]['CUCUMBER'],constants[_0x45bb1e(0x25e)][_0x45bb1e(0x213)]),_0x58e030[_0x45bb1e(0x27c)]()[_0x45bb1e(0x236)](_0x40ad22[_0x45bb1e(0x277)],_0x40ad22[_0x45bb1e(0x220)],_0x40ad22['cliConfig']),await _0x58e030[_0x45bb1e(0x27c)]()[_0x45bb1e(0x23a)]();const _0x351882=_0x58e030[_0x45bb1e(0x27c)]()[_0x45bb1e(0x24e)]();!helper[_0x45bb1e(0x1f2)](_0x351882[_0x45bb1e(0x1fe)])&&(process[_0x45bb1e(0x27d)][_0x45bb1e(0x250)]=_0x53c003['uuwAg']);_0x53c003[_0x45bb1e(0x22f)](_0x351882['browserstackAutomation'],![])&&(process['env'][_0x45bb1e(0x250)]=_0x53c003[_0x45bb1e(0x1d9)]);const _0x2d03ad=_0x82cf1e[_0x45bb1e(0x221)](_0x53c003['jOjjq']);(_0x53c003[_0x45bb1e(0x270)](_0x2d03ad,0x0)||_0x53c003['nzxVv'](_0x351882[_0x45bb1e(0x273)],![]))&&(process['env'][_0x45bb1e(0x23b)]=_0x53c003[_0x45bb1e(0x1d9)]);if(!_0x58e030[_0x45bb1e(0x27c)]()[_0x45bb1e(0x1fa)]()){let _0x452a93=_0x53c003[_0x45bb1e(0x1f7)](process['env'][_0x45bb1e(0x264)],_0x53c003[_0x45bb1e(0x20e)]);_0x452a93=_0x452a93||_0x53c003[_0x45bb1e(0x26e)](_0x1aa8de,_0x40ad22[_0x45bb1e(0x277)]),process['env'][_0x45bb1e(0x264)]=_0x452a93,_0x452a93&&_0x53c003[_0x45bb1e(0x1dc)](_0x5ba89c,_0x40ad22['config']);}}}catch(_0x367cb3){logger[_0x45bb1e(0x23c)](_0x45bb1e(0x244)+util[_0x45bb1e(0x22d)](_0x367cb3));}PerformanceTester[_0x45bb1e(0x27b)](PerformanceEvents['SDK_SETUP']);let _0x542c44;_0x53c003['XULdK'](parallelCucumberRun,_0x3ba388,_0x54c973,_0x40ad22[_0x45bb1e(0x277)],_0x24c10c,_0x288e4f)['then'](async _0x1bfaa0=>{const _0x1fdb08=_0x45bb1e;PerformanceTester[_0x1fdb08(0x229)](PerformanceEvents['SDK_CLEANUP']),_0x542c44=_0x1bfaa0;const _0x58016f=_0x53c003[_0x1fdb08(0x26e)](printCucumberStats,_0x1bfaa0);process[_0x1fdb08(0x259)]=_0x58016f,_0x53c003[_0x1fdb08(0x26b)](_0x288e4f[_0x1fdb08(0x1e2)],0x0)&&(logger[_0x1fdb08(0x23c)](_0x53c003[_0x1fdb08(0x263)]),helper[_0x1fdb08(0x1f0)](_0x2576be,_0x288e4f),logger[_0x1fdb08(0x23c)](_0x53c003[_0x1fdb08(0x258)]),helper[_0x1fdb08(0x207)](_0x2576be));})['finally'](async()=>{const _0x54c4f2=_0x45bb1e;PerformanceTester[_0x54c4f2(0x229)](PerformanceEvents[_0x54c4f2(0x267)]),_0x40ad22['errorMessage']=helper[_0x54c4f2(0x23e)](_0x542c44,_0x53c003[_0x54c4f2(0x1fc)]),testOpsHelper['printBuildLink']();const _0x574407=BrowserstackCLI[_0x54c4f2(0x216)]();try{await TestHubHandler[_0x54c4f2(0x261)](),await BrowserstackCLI[_0x54c4f2(0x27c)]()[_0x54c4f2(0x261)]();}catch(_0x1c02f1){logger[_0x54c4f2(0x23c)](_0x54c4f2(0x1df)+util[_0x54c4f2(0x22d)](_0x1c02f1));}try{const {browserstackFolderPath:_0x3aea4c,tcgConfigPath:_0x264613}=helper[_0x54c4f2(0x21d)]();fs[_0x54c4f2(0x1f4)](_0x264613),fs[_0x54c4f2(0x1ee)](_0x3aea4c);}catch(_0x3cb7f6){logger[_0x54c4f2(0x23c)](_0x53c003[_0x54c4f2(0x201)],_0x3cb7f6);}await utilities[_0x54c4f2(0x271)](_0x40ad22,_0x574407);});}function a5_0x304e(){const _0x2269a6=['../../helpers/testhub/testhubHandler','Removing\x20tmp\x20directory\x20created\x20for\x20reports','getTCGConfigFilePaths','ZzcYN','dPfyH','configPath','indexOf','assign','stepsUndefined','eLXVB','getPackageVersion','mszgF','gbait','aRVhq','start','5127584VvLAfv','argv','stepsPending','format','getUserWorkerCount','nzxVv','jGEhg','BROWSERSTACK_CLI_BIN_SESSION_ID','../../helpers/utilities','push','XImeB','framework','setBrowserstackConfig','../../helpers/performance/constants','Generating\x20consolidated\x20report...','getHubUrl','bootstrap','BROWSERSTACK_TEST_OBSERVABILITY','debug','qvCyo','getErrorMessageFromResults','BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM','\x20pending','setUserConfigPath','KiDJl','cjtcg','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','\x20passed','EVENTS','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','2473792NloDoR','binSessionId','setupTCGAuth','917745FFrkAt','../../helpers/test-observability/utils','bold','getConfig','cwd','BROWSERSTACK_AUTOMATION','CDpzi','8551732dynaTD','../../helpers/performance/performance-tester','BROWSERSTACK_TEST_OBSERVABILITY_YML','log','bDvBz','winstonLogger','vJHjF','exitCode','setFrameworkDetail','skipSessionName','red','NtlMQ','FRAMEWORKS','getPlatformName','kLlhL','stop','platforms','eKtqN','BROWSERSTACK_TEST_ACCESSIBILITY_YML','launchBuild','\x20undefined','SDK_CLEANUP','setLogLevel','../../helpers/logger','scenarios','WjQCN','cucumber','createDir','jLoQc','wzGfO','CuglY','finalExecution','isUndefined','testObservability','logLevel','835926AMqNwX','BROWSERSTACK_LOG_LEVEL','config','prepareCapabilities','true','CxcCP','end','getInstance','env','../v2/browserstackCLI','wRlHt','testContextOptions','parallelsPerPlatform','fDCzW','acimq','green','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','isBrowserstackInfra','LVKCK','length','../v2/cliUtils','__isPlaywrightInstalled','yjJpY','yellow','tmp','proxySettings','error\x20removing\x20tcg\x20config\x20file','splice','3519436lHbEEq','handleApp','PpkNf','rmdirSync','false','mergeOutputFiles','QrEQH','isFalse','nncDk','unlinkSync','5RRfoRq','initialize','udIah','skipSessionStatus','4501626BgdaCi','isRunning','accessibilityOptions','LkMAx','forEach','browserstackAutomation','FkrEw','CUCUMBER','nqQGQ','tKHZy','CQmsO','useW3C','bgWhite','\x20steps','removeDir','../playwright/accessibility-helper','CQBlM','@playwright/test','../test-runner','\x20skipped','join','uuwAg','LQIjs','steps','\x20scenarios','processSuccess','PLAYWRIGHT','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','LtiXu','isCLIEnabled','\x20failed','stepsFailed','yYWsn','accessibility'];a5_0x304e=function(){return _0x2269a6;};return a5_0x304e();}module['exports']=run;
|
|
2
|
+
'use strict';const a5_0x21d438=a5_0x5b09;(function(_0x3afe43,_0x371b04){const _0xd29f83=a5_0x5b09,_0x54634f=_0x3afe43();while(!![]){try{const _0x2638cc=-parseInt(_0xd29f83(0x1a1))/0x1+-parseInt(_0xd29f83(0x1a0))/0x2+parseInt(_0xd29f83(0x1bd))/0x3+parseInt(_0xd29f83(0x1cf))/0x4+-parseInt(_0xd29f83(0x228))/0x5+parseInt(_0xd29f83(0x1e6))/0x6*(parseInt(_0xd29f83(0x1ce))/0x7)+-parseInt(_0xd29f83(0x207))/0x8*(parseInt(_0xd29f83(0x1ab))/0x9);if(_0x2638cc===_0x371b04)break;else _0x54634f['push'](_0x54634f['shift']());}catch(_0x3fd791){_0x54634f['push'](_0x54634f['shift']());}}}(a5_0x5a25,0x77c4b));function a5_0x5a25(){const _0x44227e=['cwd','printBuildLink','../../helpers/logger','29440mLKZAq','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','turboScaleUrl','error\x20removing\x20tcg\x20config\x20file','setLogLevel','RSTeo','UZTnQ','DpKuo','bgWhite','bootstrap','Jmpsf','siFWI','chalk','parallelsPerPlatform','../v2/cliUtils','path','stepsPending','../../helpers/performance/performance-tester','@playwright/test','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','skipSessionStatus','testObservability','ulZXb','QZdYH','301910rWSWPL','200203ZbyHZo','isCLIEnabled','CUCUMBER','config','BROWSERSTACK_TEST_OBSERVABILITY_YML','exports','red','platforms','../playwright/accessibility-helper','ycZUY','7703478kxflBX','mergeOutputFiles','tLaEb','iMbou','launchBuild','akTYU','EVENTS','isFalse','SxGnA','getErrorMessageFromResults','setBrowserstackConfig','tgQSs','binSessionId','isUndefined','stepsSkipped','iCdlh','log','PLAYWRIGHT','1908726TrODBR','SDK_SETUP','env','length','getUserWorkerCount','SDK_CLEANUP','browserstackAutomation','ygQat','cyan','setFrameworkDetail','VZUJi','skipSessionName','prepareCapabilities','ToagY','\x20skipped','IGoJP','handleApp','13776nzvvBM','1805332rfffEK','\x20failed','XLmzn','bold','unlinkSync','winstonLogger','zCvuz','wDpZD','accessibility','uaGZo','testContextOptions','stringify','../../helpers/accessibility-automation/helper','createDir','getConfig','parseFormatters','stepsUndefined','forEach','YHyCL','start','join','aaTqS','scenarios','1878jzBfMN','initialize','false','getPackageVersion','../../helpers/utilities','CVqBs','AvGry','../../helpers/test-observability/constants','FRAMEWORKS','getHubUrl','getInstance','isRunning','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','../utils/constants','kJLHd','stepsAmbiguous','argv','CfbZB','pbTRx','scenariosFailed','sBzln','rtjmp','then','logLevel','green','LYEeV','push','format','processSuccess','../test-runner','zjAaN','KDQlF','Removing\x20tmp\x20directory\x20created\x20for\x20reports','8vDIHoR','stepsUnknown','BROWSERSTACK_TEST_ACCESSIBILITY_YML','proxySettings','../../helpers/testhub/testhubHandler','\x20scenarios','indexOf','\x20passed','utDMX','stepsPassed','removeDir','errorMessage','splice','setupTCGAuth','BROWSERSTACK_CLI_BIN_SESSION_ID','OZvXC','xAZKT','accessibilityOptions','yellow','finally','HommI','--disable-test-observability','syruz','configPath','debug','dNeMp','piRWw','BROWSERSTACK_AUTOMATION','\x20steps','stop'];a5_0x5a25=function(){return _0x44227e;};return a5_0x5a25();}function a5_0x5b09(_0x5ca288,_0x25e1bf){const _0x5a2527=a5_0x5a25();return a5_0x5b09=function(_0x5b09e1,_0x1483cc){_0x5b09e1=_0x5b09e1-0x18d;let _0x5a6443=_0x5a2527[_0x5b09e1];return _0x5a6443;},a5_0x5b09(_0x5ca288,_0x25e1bf);}const fs=require('fs'),path=require(a5_0x21d438(0x197)),util=require('util'),logger=require(a5_0x21d438(0x227))[a5_0x21d438(0x1d4)],helper=require('../../helpers/helper'),utilities=require(a5_0x21d438(0x1ea)),constants=require(a5_0x21d438(0x1f3)),{parallelCucumberRun}=require(a5_0x21d438(0x203)),TestHubHandler=require(a5_0x21d438(0x20b)),testOpsHelper=require('../../helpers/test-observability/utils'),chalk=require(a5_0x21d438(0x194)),PerformanceTester=require(a5_0x21d438(0x199)),PerformanceEvents=require('../../helpers/performance/constants')[a5_0x21d438(0x1b1)],BrowserstackCLI=require('../v2/browserstackCLI'),CLIUtils=require(a5_0x21d438(0x196)),{checkPwandBootstrapCli}=require('../../helpers/playwright-helper'),ClientTroubleShootingService=require('../utils/clientTroubleshootingService');function printCucumberStats(_0x5e12e1){const _0x29cb77=a5_0x21d438,_0x566174={};_0x566174[_0x29cb77(0x1b6)]=function(_0x25ee9a,_0x2d2cd2){return _0x25ee9a>_0x2d2cd2;},_0x566174[_0x29cb77(0x1d1)]=function(_0x5ee492,_0x457b60){return _0x5ee492-_0x457b60;},_0x566174[_0x29cb77(0x1ad)]=function(_0x29468d,_0x15dbe0){return _0x29468d-_0x15dbe0;},_0x566174['CVqBs']=function(_0x4dd14b,_0x1df933){return _0x4dd14b>_0x1df933;},_0x566174[_0x29cb77(0x1d5)]=function(_0xeab132,_0x564cfb){return _0xeab132>_0x564cfb;},_0x566174['RszIB']=function(_0x53d91c,_0x3ecd53){return _0x53d91c>_0x3ecd53;},_0x566174[_0x29cb77(0x20f)]=function(_0x10c997,_0x444c68){return _0x10c997>_0x444c68;},_0x566174[_0x29cb77(0x1ba)]=function(_0x55ccef,_0x27ffa2){return _0x55ccef>_0x27ffa2;},_0x566174[_0x29cb77(0x1e4)]=function(_0x1269cb,_0x2c3c62){return _0x1269cb>_0x2c3c62;},_0x566174[_0x29cb77(0x205)]=function(_0x31549f,_0x580866){return _0x31549f>_0x580866;},_0x566174[_0x29cb77(0x1fa)]=function(_0x4bef34,_0x4bf8fc){return _0x4bef34+_0x4bf8fc;},_0x566174[_0x29cb77(0x1d6)]=function(_0x2e5d81,_0x2803a0){return _0x2e5d81+_0x2803a0;},_0x566174['siFWI']=function(_0x3e9219,_0x2b936b){return _0x3e9219+_0x2b936b;},_0x566174['vpCIc']=function(_0x1564fe,_0x165a8e){return _0x1564fe===_0x165a8e;},_0x566174[_0x29cb77(0x19f)]=function(_0x22358a,_0x234302){return _0x22358a===_0x234302;},_0x566174[_0x29cb77(0x1ec)]='****\x20RESULTS\x20****';const _0x5985b5=_0x566174;let _0xea8c77=0x0;if(_0x5985b5[_0x29cb77(0x19f)](_0x5e12e1[_0x29cb77(0x1c0)],0x0))return _0xea8c77;return console['log'](chalk['bold'][_0x29cb77(0x190)](_0x5985b5[_0x29cb77(0x1ec)])),_0x5e12e1[_0x29cb77(0x1e0)](_0x309229=>{const _0x2a84b4=_0x29cb77,_0x1c2387=_0x309229[0x0],_0x1b411f=_0x309229[0x1];helper['isBrowserstackInfra']()&&console[_0x2a84b4(0x1bb)]('\x0a'+chalk[_0x2a84b4(0x1d2)]['yellow'](''+helper['getPlatformName'](_0x1c2387)));const _0x5a0a1a=_0x1b411f[_0x2a84b4(0x1e5)],_0x24059c=_0x1b411f['steps'],_0x5ed0a6=_0x1b411f[_0x2a84b4(0x1f9)],_0xa4a89=_0x1b411f['stepsFailed'],_0x1da67c=_0x1b411f[_0x2a84b4(0x210)],_0x1df346=_0x1b411f[_0x2a84b4(0x1b9)],_0x268faa=_0x1b411f[_0x2a84b4(0x198)],_0x443a7d=_0x1b411f[_0x2a84b4(0x1df)],_0x5b32b7=_0x1b411f[_0x2a84b4(0x208)],_0x2b44eb=_0x1b411f[_0x2a84b4(0x1f5)],_0x10c37f=_0x1b411f[_0x2a84b4(0x202)];let _0x3c4570=_0x5a0a1a+_0x2a84b4(0x20c);const _0x4d0a81=_0x5985b5[_0x2a84b4(0x1b6)](_0x5985b5[_0x2a84b4(0x1d1)](_0x5a0a1a,_0x5ed0a6),0x0)?_0x5985b5[_0x2a84b4(0x1ad)](_0x5a0a1a,_0x5ed0a6):0x0;if(_0x5985b5['tgQSs'](_0x5ed0a6,0x0)&&_0x5985b5[_0x2a84b4(0x1eb)](_0x4d0a81,0x0))_0x3c4570+='\x20('+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0x5ed0a6+_0x2a84b4(0x1d0))+',\x20'+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1fe)](_0x4d0a81+'\x20passed')+')';else(_0x5985b5[_0x2a84b4(0x1eb)](_0x5ed0a6,0x0)||_0x5985b5[_0x2a84b4(0x1eb)](_0x4d0a81,0x0))&&(_0x3c4570+=_0x5985b5['CVqBs'](_0x5ed0a6,0x0)?'\x20('+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0x5ed0a6+'\x20failed')+')':'\x20('+chalk['bold']['green'](_0x4d0a81+_0x2a84b4(0x20e))+')');const _0x21702b=_0x24059c+_0x2a84b4(0x223),_0x5779db=[];_0x5985b5[_0x2a84b4(0x1b6)](_0x2b44eb,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)]['red'](_0x2b44eb+'\x20ambiguous'));_0x5985b5[_0x2a84b4(0x1d5)](_0xa4a89,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1a7)](_0xa4a89+_0x2a84b4(0x1d0)));_0x5985b5['RszIB'](_0x1da67c,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)]['green'](_0x1da67c+'\x20passed'));_0x5985b5[_0x2a84b4(0x20f)](_0x268faa,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x219)](_0x268faa+'\x20pending'));_0x5985b5['iCdlh'](_0x1df346,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)][_0x2a84b4(0x1c5)](_0x1df346+_0x2a84b4(0x1cb)));_0x5985b5['aaTqS'](_0x443a7d,0x0)&&_0x5779db['push'](''+chalk[_0x2a84b4(0x1d2)]['yellow'](_0x443a7d+'\x20undefined'));_0x5985b5[_0x2a84b4(0x205)](_0x5b32b7,0x0)&&_0x5779db[_0x2a84b4(0x200)](''+chalk[_0x2a84b4(0x1d2)]['yellow'](_0x5b32b7+'\x20skipped'));const _0x474a03=_0x5985b5[_0x2a84b4(0x1fa)](_0x5985b5[_0x2a84b4(0x1d6)](_0x5985b5[_0x2a84b4(0x193)](_0x21702b,'('),_0x5779db[_0x2a84b4(0x1e3)](',\x20')),')');console['log'](_0x5985b5['wDpZD'](_0x5985b5[_0x2a84b4(0x1d6)](_0x5985b5[_0x2a84b4(0x193)](_0x5985b5[_0x2a84b4(0x1fa)]('\x0a',_0x3c4570),'\x0a'),_0x474a03),'\x0a')),_0x5985b5['vpCIc'](_0x10c37f,![])&&(_0xea8c77=0x1);}),_0xea8c77;}async function run(_0x2b128f,_0x2ef1bd,_0x52d4c2){const _0x3e66a4=a5_0x21d438,_0x479412={'dNeMp':function(_0x3f34bd,_0x42d6b9){return _0x3f34bd(_0x42d6b9);},'syruz':function(_0x5678f2,_0x12d6ab){return _0x5678f2>_0x12d6ab;},'cTNZp':'Generating\x20consolidated\x20report...','akTYU':_0x3e66a4(0x206),'OZvXC':'cucumber','ulZXb':_0x3e66a4(0x22b),'UZTnQ':_0x3e66a4(0x19a),'HommI':function(_0x1a2f97,_0x350807,_0x5caa36,_0x2acfae){return _0x1a2f97(_0x350807,_0x5caa36,_0x2acfae);},'iMbou':'tmp','kJLHd':function(_0x4b3d98,_0x2b42d7){return _0x4b3d98>_0x2b42d7;},'SxGnA':function(_0x4ed6dc,_0xfd0ce0){return _0x4ed6dc-_0xfd0ce0;},'ycZUY':function(_0xc2401c,_0x4c1cc7){return _0xc2401c>=_0x4c1cc7;},'VZUJi':function(_0x75f6f,_0x139f23){return _0x75f6f!=_0x139f23;},'IGoJP':'true','zjAaN':_0x3e66a4(0x1db),'piRWw':_0x3e66a4(0x1a9),'CfbZB':function(_0x44bec8,_0x55f814){return _0x44bec8(_0x55f814);},'DpKuo':_0x3e66a4(0x1e8),'ToagY':function(_0x4276da,_0x6fbb2f){return _0x4276da===_0x6fbb2f;},'RSTeo':'../v2/browserstackCLI','rtjmp':function(_0x35b6f6,_0x5ce145){return _0x35b6f6(_0x5ce145);},'pbTRx':_0x3e66a4(0x196),'xAZKT':_0x3e66a4(0x1ed),'LYEeV':_0x3e66a4(0x21c),'uaGZo':function(_0x3c4c76,_0x31fba3){return _0x3c4c76>=_0x31fba3;},'ygQat':function(_0x395270,_0xfc18b5){return _0x395270===_0xfc18b5;},'Jmpsf':function(_0x2c7b9c,_0xb8612c){return _0x2c7b9c(_0xb8612c);},'YHyCL':function(_0x436136,_0xeb56e3,_0x32c8be,_0x3f0776,_0x3a6756,_0x3923e8){return _0x436136(_0xeb56e3,_0x32c8be,_0x3f0776,_0x3a6756,_0x3923e8);}},_0x1662ab=helper[_0x3e66a4(0x1e9)](_0x479412[_0x3e66a4(0x18e)]);global['__isPlaywrightInstalled']=!!_0x1662ab,await _0x52d4c2[_0x3e66a4(0x1e7)](_0x2b128f);if(_0x52d4c2['config']&&!helper[_0x3e66a4(0x1b8)](_0x52d4c2['config'][_0x3e66a4(0x1fd)])){process[_0x3e66a4(0x1bf)]['BROWSERSTACK_LOG_LEVEL']=_0x52d4c2['config'][_0x3e66a4(0x1fd)];const _0x44b4ce={};_0x44b4ce[_0x3e66a4(0x1fd)]=_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x1fd)],helper[_0x3e66a4(0x22c)](_0x44b4ce,new Map(),new Map());}await _0x479412[_0x3e66a4(0x21b)](checkPwandBootstrapCli,_0x1662ab,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)],_0x52d4c2);BrowserstackCLI['getInstance']()[_0x3e66a4(0x1b7)]&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x215)]=BrowserstackCLI[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1b7)]);helper['setUserConfigPath'](_0x52d4c2['framework'],_0x2b128f);!helper['isBrowserstackInfra']()&&await _0x52d4c2[_0x3e66a4(0x214)]();await helper[_0x3e66a4(0x1cd)](_0x52d4c2[_0x3e66a4(0x1a4)]);const _0xd2415=helper['useW3C'](_0x52d4c2[_0x3e66a4(0x1a4)]);!helper['isUndefined'](_0x52d4c2['config'][_0x3e66a4(0x218)])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x229)]=JSON[_0x3e66a4(0x1da)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x218)]));if(!BrowserstackCLI[_0x3e66a4(0x1f0)]()['isRunning']()){const _0x4d7fba=await TestHubHandler[_0x3e66a4(0x1af)](constants['FRAMEWORKS'][_0x3e66a4(0x1a3)],_0x52d4c2);}let _0x25e67c=[];if(!helper['isBrowserstackInfra']()){const _0x2e9cc9={};_0x2e9cc9[_0x3e66a4(0x1a8)]=[],_0x25e67c=helper[_0x3e66a4(0x1c9)](Object['assign']({},_0x52d4c2['config'],_0x2e9cc9),_0xd2415,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)]);}else _0x25e67c=helper['prepareCapabilities'](_0x52d4c2['config'],_0xd2415,constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)]);if(!_0x52d4c2['config'])return;const _0x21fb1b=_0x52d4c2['config'][_0x3e66a4(0x195)]||helper[_0x3e66a4(0x1c1)](_0x2b128f,_0x2ef1bd,_0x52d4c2[_0x3e66a4(0x1a4)],constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)])||0x1,_0x31148a={'server':helper[_0x3e66a4(0x1ef)](_0x52d4c2[_0x3e66a4(0x1a4)]),'proxySettings':_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x20a)],'maxWorkers':_0x21fb1b,'browserStackLogLevel':_0x52d4c2['config'][_0x3e66a4(0x1fd)],'skipSessionName':_0x52d4c2['config'][_0x3e66a4(0x1d9)][_0x3e66a4(0x1c8)],'skipSessionStatus':_0x52d4c2[_0x3e66a4(0x1a4)]['testContextOptions'][_0x3e66a4(0x19c)],'turboScaleUrl':_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x22a)]},_0x40ebf9=process[_0x3e66a4(0x1f6)],[_0x23a000,_0x17ff09]=helper[_0x3e66a4(0x1de)](_0x40ebf9),_0x61ad56=path[_0x3e66a4(0x1e3)](process[_0x3e66a4(0x225)](),_0x479412[_0x3e66a4(0x1ae)]);if(_0x479412[_0x3e66a4(0x1f4)](_0x17ff09[_0x3e66a4(0x1c0)],0x0)){helper[_0x3e66a4(0x1dc)](_0x61ad56);for(let _0x191e6f=_0x479412[_0x3e66a4(0x1b3)](_0x23a000[_0x3e66a4(0x1c0)],0x1);_0x479412[_0x3e66a4(0x1aa)](_0x191e6f,0x0);_0x191e6f--){_0x40ebf9[_0x3e66a4(0x213)](_0x23a000[_0x191e6f],0x2);}}_0x479412[_0x3e66a4(0x1c7)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x19d)],null)?process['env'][_0x3e66a4(0x1a5)]=_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x19d)]:process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY_YML']=_0x479412['IGoJP'];if(_0x1662ab)try{const {checkAccessibilityPlatformConfig:_0x24e14c}=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x204)]),{setAccessibilityCapabilities:_0x5da7fe}=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x221)]),_0x44bd76=_0x479412[_0x3e66a4(0x1f7)](_0x24e14c,_0x52d4c2[_0x3e66a4(0x1a4)]);if(!helper[_0x3e66a4(0x1b8)](_0x52d4c2[_0x3e66a4(0x1a4)][_0x3e66a4(0x1d7)]))process['env'][_0x3e66a4(0x209)]=_0x479412[_0x3e66a4(0x220)](String,!!_0x52d4c2[_0x3e66a4(0x1a4)]['accessibility']);else helper[_0x3e66a4(0x1b8)](process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)]=_0x44bd76?_0x479412['IGoJP']:_0x479412['DpKuo']);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x44bd76?_0x479412[_0x3e66a4(0x1cc)]:_0x479412[_0x3e66a4(0x18f)],!BrowserstackCLI[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1f1)]()&&_0x479412[_0x3e66a4(0x1ca)](process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)],_0x479412[_0x3e66a4(0x1cc)])&&_0x479412[_0x3e66a4(0x220)](_0x5da7fe,_0x52d4c2[_0x3e66a4(0x1a4)]);}catch(_0x455c9a){logger[_0x3e66a4(0x21f)](_0x3e66a4(0x19b)+util['format'](_0x455c9a));}try{const _0x57d043=_0x479412[_0x3e66a4(0x220)](require,_0x479412[_0x3e66a4(0x18d)]),_0x51951e=_0x479412[_0x3e66a4(0x1fb)](require,_0x479412[_0x3e66a4(0x1f8)]),{FRAMEWORKS:_0x102651}=_0x479412[_0x3e66a4(0x1fb)](require,_0x479412[_0x3e66a4(0x217)]),{checkAccessibilityPlatformConfig:_0x4b8003}=_0x479412[_0x3e66a4(0x1f7)](require,_0x479412[_0x3e66a4(0x204)]),{setAccessibilityCapabilities:_0x485ad6}=_0x479412['dNeMp'](require,_0x479412[_0x3e66a4(0x221)]),_0x37592c=helper[_0x3e66a4(0x1e9)](_0x479412[_0x3e66a4(0x18e)]);if(_0x37592c){_0x51951e[_0x3e66a4(0x1c6)](constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1a3)],constants[_0x3e66a4(0x1ee)][_0x3e66a4(0x1bc)]),_0x57d043[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1b5)](_0x52d4c2['config'],_0x52d4c2[_0x3e66a4(0x21e)],_0x52d4c2['cliConfig']),await _0x57d043['getInstance']()[_0x3e66a4(0x191)]();const _0x49c41a=_0x57d043[_0x3e66a4(0x1f0)]()[_0x3e66a4(0x1dd)]();!helper[_0x3e66a4(0x1b2)](_0x49c41a['browserstackAutomation'])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x222)]=_0x479412[_0x3e66a4(0x1cc)]);_0x479412[_0x3e66a4(0x1ca)](_0x49c41a[_0x3e66a4(0x1c3)],![])&&(process[_0x3e66a4(0x1bf)][_0x3e66a4(0x222)]=_0x479412['DpKuo']);const _0x5e6781=_0x2ef1bd[_0x3e66a4(0x20d)](_0x479412[_0x3e66a4(0x1ff)]);(_0x479412[_0x3e66a4(0x1d8)](_0x5e6781,0x0)||_0x479412[_0x3e66a4(0x1ca)](_0x49c41a[_0x3e66a4(0x19d)],![]))&&(process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_OBSERVABILITY']=_0x479412[_0x3e66a4(0x18f)]);if(!_0x57d043[_0x3e66a4(0x1f0)]()['isRunning']()){let _0x4043c4=_0x479412[_0x3e66a4(0x1c4)](process[_0x3e66a4(0x1bf)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x479412[_0x3e66a4(0x1cc)]);_0x4043c4=_0x4043c4||_0x479412[_0x3e66a4(0x192)](_0x4b8003,_0x52d4c2[_0x3e66a4(0x1a4)]),process[_0x3e66a4(0x1bf)][_0x3e66a4(0x209)]=_0x4043c4,_0x4043c4&&_0x479412['Jmpsf'](_0x485ad6,_0x52d4c2['config']);}}}catch(_0x471e4a){logger[_0x3e66a4(0x21f)](_0x3e66a4(0x1f2)+util[_0x3e66a4(0x201)](_0x471e4a));}PerformanceTester['end'](PerformanceEvents[_0x3e66a4(0x1be)]);let _0x30377d;_0x479412[_0x3e66a4(0x1e1)](parallelCucumberRun,_0x25e67c,_0x31148a,_0x52d4c2[_0x3e66a4(0x1a4)],_0x40ebf9,_0x17ff09)[_0x3e66a4(0x1fc)](async _0x3d66e2=>{const _0x2de949=_0x3e66a4;PerformanceTester[_0x2de949(0x1e2)](PerformanceEvents[_0x2de949(0x1c2)]),_0x30377d=_0x3d66e2;const _0x1d11e1=_0x479412[_0x2de949(0x220)](printCucumberStats,_0x3d66e2);process['exitCode']=_0x1d11e1,_0x479412[_0x2de949(0x21d)](_0x17ff09['length'],0x0)&&(logger[_0x2de949(0x21f)](_0x479412['cTNZp']),helper[_0x2de949(0x1ac)](_0x61ad56,_0x17ff09),logger[_0x2de949(0x21f)](_0x479412[_0x2de949(0x1b0)]),helper[_0x2de949(0x211)](_0x61ad56));})[_0x3e66a4(0x21a)](async()=>{const _0x4a64f5=_0x3e66a4;PerformanceTester[_0x4a64f5(0x1e2)](PerformanceEvents['SDK_CLEANUP']),_0x52d4c2[_0x4a64f5(0x212)]=helper[_0x4a64f5(0x1b4)](_0x30377d,_0x479412[_0x4a64f5(0x216)]),testOpsHelper[_0x4a64f5(0x226)]();const _0x26abe9=BrowserstackCLI[_0x4a64f5(0x1a2)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x4a64f5(0x1f0)]()[_0x4a64f5(0x224)]();}catch(_0x266ab7){logger[_0x4a64f5(0x21f)]('Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20'+util['format'](_0x266ab7));}try{const {browserstackFolderPath:_0x7d9282,tcgConfigPath:_0x2c8bf0}=helper['getTCGConfigFilePaths']();fs[_0x4a64f5(0x1d3)](_0x2c8bf0),fs['rmdirSync'](_0x7d9282);}catch(_0x4644f3){logger['debug'](_0x479412[_0x4a64f5(0x19e)],_0x4644f3);}await utilities['finalExecution'](_0x52d4c2,_0x26abe9);});}module[a5_0x21d438(0x1a6)]=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a6_0x22d1(){const _0x266c5e=['BROWSERSTACK_CLI_BIN_SESSION_ID','JgcHR','1390WOnQuO','yUvKs','onTestCase','IJUDB','tHKSB','../test-observability.js','onTestRunFinished','hqobj','klCwJ','CONFIG','POST','hooks','parseTestCaseAttempt','gherkinDocument','getTestFramework','rjXbb','actionLocation','PZiOF','testCases','onTestCaseFinished','name','142186yhNKWy','HookRunStarted','EMbPt','snippetBuilder','WGOQC','cucumber-js/test.setup.js','_performCLIInitialization','stepDefinition','eventDataCollector','description','failure','steps','UNDEFINED','KpHzr','toISOString','2332235MbDYjH','testCaseId','isRunning','zsDaW','report','onGherkinDocument','1|0|4|2|3','1008692OPoLZY','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','QmKJg','../../utils/constants','find','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','sendHook','onPickle','setFrameworkDetail','toLowerCase','ZxUZD','testStepStarted','capability','flat','HookRunFinished','testCaseAttemptDataMap','createTestFrameworkData','pickle','PRE','nHhwD','envelope','onTestStepFinished','logTestRunFinished','format','log','PASSED','uRGzi','push','toString','../../../helpers/test-observability/error-handler','SsLYk','duration','1020688oERruk','feature','isBstackHook','map','adXys','onSource','getInstance','hook_type','FSgdh','INIT_TEST','xFVhB','krLZK','TestRunFinished','SkCbf','assign','../../v2/utils/cucumber-utils.js','util','Executing\x20tests\x20for\x20','oHVsr','EVwng','Exception\x20in\x20onTestStepFinished\x20event:\x20','testSteps','MCPYn','JryuD','TEST','232eNbraN','PLAYWRIGHT','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','getTestCaseAttempt','iWYxB','testCaseFinished','forEach','pickleId','OyGxO','source','LOG_REPORT','../../../helpers/helper','WcOKx','fTdbY','status','cwd','createHookData','gNkaD','bootstrap','oxcqJ','split','eventBroadcaster','HoqPX','testStepResult','failed','wicCI','36660bfOtMc','exception','incrementCounter','setup','bstack','binSessionId','getTestUUID','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','sendTestRunEventForCucumber','mrhfz','PGetb','dvAwF','../../v2/cliUtils','includes','testStepFinished','xUqYE','finishedAt','../../v2/state/testFrameworkState.js','SKIPPED','FRaas','onTestRunStarted','testStepId',',\x20binSessionId:\x20','NzOmG','test','debug','233748VwvsQk','scenario','supportCodeLibrary','text','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','hook','message','getGherkinDocument','result','seconds','extractStepContainers','KLbiW','../../../helpers/testhub/utils.js','children','isCLIReady','../../../bin/v2/TestInfo.js','onHook','testCaseStartedId','ensureCLIInitialized','18slGamj','FbcPZ','6QxvCot','onTestCaseStarted','pickleStepId','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','testRunFinished','logTestCaseFinished','__platform','background','getGherkinStepMap','isCliEnabled','vQOur','../../v2/browserstackCLI.js','zFJDp','type','Exception\x20in\x20onTestStepStarted\x20event:\x20','AMBIGUOUS','onTestStepStarted','trackEvent','@cucumber/cucumber','testUUID','vrApk','XDDjQ','gherkinDocumentMap','testCaseMap','exports','AwVUi','ZNKRW','YwGGz','testCaseStarted','2361289Luridq','uri','TestRunStarted','KtDRF','path','QDQXN','env','rule','cliInitPromise'];a6_0x22d1=function(){return _0x266c5e;};return a6_0x22d1();}function a6_0xe06e(_0x13c519,_0x54f391){const _0x22d106=a6_0x22d1();return a6_0xe06e=function(_0xe06e1b,_0x64ff34){_0xe06e1b=_0xe06e1b-0x16c;let _0x50efb4=_0x22d106[_0xe06e1b];return _0x50efb4;},a6_0xe06e(_0x13c519,_0x54f391);}const a6_0x44b87b=a6_0xe06e;(function(_0x11c946,_0x2b29ed){const _0xd7b297=a6_0xe06e,_0x2551b4=_0x11c946();while(!![]){try{const _0x208116=-parseInt(_0xd7b297(0x224))/0x1+parseInt(_0xd7b297(0x182))/0x2*(parseInt(_0xd7b297(0x1af))/0x3)+-parseInt(_0xd7b297(0x204))/0x4+parseInt(_0xd7b297(0x1fd))/0x5+-parseInt(_0xd7b297(0x1b1))/0x6*(-parseInt(_0xd7b297(0x1ce))/0x7)+-parseInt(_0xd7b297(0x23d))/0x8*(parseInt(_0xd7b297(0x19c))/0x9)+-parseInt(_0xd7b297(0x1d9))/0xa*(-parseInt(_0xd7b297(0x1ee))/0xb);if(_0x208116===_0x2b29ed)break;else _0x2551b4['push'](_0x2551b4['shift']());}catch(_0x380a1a){_0x2551b4['push'](_0x2551b4['shift']());}}}(a6_0x22d1,0xa7183));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x44b87b(0x173)),util=require(a6_0x44b87b(0x234)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x44b87b(0x1c3)),TestDetails=require('../../playwright/reporter/test-details.js'),TestObservabilityReporter=require(a6_0x44b87b(0x1de)),{o11yClassErrorHandler}=require(a6_0x44b87b(0x221)),{shouldProcessEventForTesthub}=require(a6_0x44b87b(0x1a8)),BrowserstackCLI=require(a6_0x44b87b(0x1bc)),TestFrameworkState=require(a6_0x44b87b(0x193)),HookState=require('../../v2/state/hookState.js'),CucumberUtils=require(a6_0x44b87b(0x233)),TestInfo=require(a6_0x44b87b(0x1ab)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require('../../../helpers/logger')['winstonLogger'],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x47e436){const _0x496002=a6_0x44b87b,_0xb8d7d1={};_0xb8d7d1[_0x496002(0x18d)]=_0x496002(0x218);const _0x5274d5=_0xb8d7d1;super(_0x47e436),this['report']={},_0x47e436[_0x496002(0x17d)]['on'](_0x5274d5['dvAwF'],async _0x425759=>{const _0x539813=_0x496002;switch(!![]){case!!_0x425759['testRunStarted']:this[_0x539813(0x196)](_0x425759['testRunStarted']);break;case!!_0x425759[_0x539813(0x1b5)]:this['onTestRunFinished'](_0x425759[_0x539813(0x1b5)]);break;case!!_0x425759[_0x539813(0x1cd)]:this[_0x539813(0x1b2)](_0x425759['testCaseStarted'],_0x47e436,_0x425759);break;case!!_0x425759[_0x539813(0x16d)]:this['onTestCaseFinished'](_0x425759['testCaseFinished'],_0x47e436,_0x425759);break;case!!_0x425759[_0x539813(0x20f)]:this[_0x539813(0x1c1)](_0x425759[_0x539813(0x20f)],_0x47e436);break;case!!_0x425759[_0x539813(0x190)]:this[_0x539813(0x219)](_0x425759[_0x539813(0x190)],_0x47e436);break;case!!_0x425759[_0x539813(0x1a1)]:this['onHook'](_0x425759['hook']);break;case!!_0x425759['testCase']:this[_0x539813(0x1db)](_0x425759['testCase']);break;case!!_0x425759['pickle']:this['onPickle'](_0x425759[_0x539813(0x215)]);break;case!!_0x425759[_0x539813(0x1e6)]:this['onGherkinDocument'](_0x425759[_0x539813(0x1e6)]);break;}});}[a6_0x44b87b(0x1ac)](_0x33679a){const _0x8b0f63=a6_0x44b87b;this['report'][_0x8b0f63(0x1e4)]=Object[_0x8b0f63(0x232)]([],this[_0x8b0f63(0x201)][_0x8b0f63(0x1e4)]||[]),this['report'][_0x8b0f63(0x1e4)][_0x8b0f63(0x21f)](_0x33679a);}[a6_0x44b87b(0x20b)](_0x14fd0f){const _0x422b52=a6_0x44b87b;this['report']['pickle']=Object[_0x422b52(0x232)]([],this[_0x422b52(0x201)][_0x422b52(0x215)]||[],[_0x14fd0f]),this[_0x422b52(0x201)][_0x422b52(0x215)][_0x422b52(0x21f)](_0x14fd0f);}[a6_0x44b87b(0x202)](_0xbd9237){const _0x3e1dd9=a6_0x44b87b;this[_0x3e1dd9(0x201)]['gherkinDocument']=Object[_0x3e1dd9(0x232)]([],this[_0x3e1dd9(0x201)][_0x3e1dd9(0x1e6)]||[],[_0xbd9237]),this[_0x3e1dd9(0x201)][_0x3e1dd9(0x1e6)][_0x3e1dd9(0x21f)](_0xbd9237);}[a6_0x44b87b(0x229)](_0x1f5472){const _0x3fc5cc=a6_0x44b87b;this[_0x3fc5cc(0x201)][_0x3fc5cc(0x171)]=_0x1f5472;}['onStepDefinition'](_0x4ceb37){const _0x58b273=a6_0x44b87b;this['report'][_0x58b273(0x1f5)]=Object[_0x58b273(0x232)]([],this['report'][_0x58b273(0x1f5)]||[],[_0x4ceb37]),this[_0x58b273(0x201)][_0x58b273(0x1f5)][_0x58b273(0x21f)](_0x4ceb37);}[a6_0x44b87b(0x1db)](_0xa6e56e){const _0x3be521=a6_0x44b87b;this[_0x3be521(0x201)]['testCases']=Object[_0x3be521(0x232)]([],this[_0x3be521(0x201)]['testCases']||[],[_0xa6e56e]),this['report'][_0x3be521(0x1eb)]['push'](_0xa6e56e);}['logTestCaseFinished'](_0x4b39a6){const _0x374f47=a6_0x44b87b,_0x3c668a={'vQOur':function(_0x320d9f,_0xd47f02){return _0x320d9f!==_0xd47f02;},'krLZK':_0x374f47(0x186),'uRGzi':function(_0x498dd5,_0x567c5f){return _0x498dd5+_0x567c5f;},'oiIsD':function(_0x200770,_0x1e884f){return _0x200770+_0x1e884f;},'KgeAd':'\x20\x20\x20\x20','NzOmG':'\x20-\x20','mrhfz':function(_0x30b8da,_0xb088fd){return _0x30b8da===_0xb088fd;},'aEtdz':'FAILED','IJUDB':function(_0x856c17,_0x61b4b8,_0x10c182){return _0x856c17(_0x61b4b8,_0x10c182);},'gNkaD':_0x374f47(0x1a4),'OyGxO':'message','vrApk':function(_0x2c86df,_0x322e5f){return _0x2c86df+_0x322e5f;},'sYppz':function(_0x22d1b9,_0x456b0f){return _0x22d1b9+_0x456b0f;},'MCPYn':function(_0x56772c,_0x22e9f4){return _0x56772c!==_0x22e9f4;},'oxcqJ':function(_0x1f7f6f,_0x1fc8ce){return _0x1f7f6f+_0x1fc8ce;},'ZNKRW':function(_0x51d95c,_0x1418ca){return _0x51d95c+_0x1418ca;},'nHhwD':function(_0x35b244,_0x2a30fc){return _0x35b244+_0x2a30fc;}};_0x3c668a[_0x374f47(0x23a)](global[_0x374f47(0x1b7)],undefined)&&this[_0x374f47(0x21c)](_0x3c668a[_0x374f47(0x17b)](_0x3c668a['oxcqJ']('\x0a',global['__platform']),'\x0a'));const _0x2127c5=this[_0x374f47(0x1f6)][_0x374f47(0x240)](_0x4b39a6[_0x374f47(0x1ad)]);this['log'](_0x3c668a[_0x374f47(0x21e)](_0x3c668a[_0x374f47(0x1c5)](_0x3c668a[_0x374f47(0x1cb)](_0x3c668a[_0x374f47(0x217)]('\x20\x20',_0x2127c5[_0x374f47(0x1e6)][_0x374f47(0x225)][_0x374f47(0x1ed)]),_0x3c668a[_0x374f47(0x199)]),_0x2127c5[_0x374f47(0x215)][_0x374f47(0x1ed)]),'\x0a'));const _0xe0bbe6={};_0xe0bbe6[_0x374f47(0x177)]=this[_0x374f47(0x177)],_0xe0bbe6['snippetBuilder']=this[_0x374f47(0x1f1)],_0xe0bbe6[_0x374f47(0x19e)]=this[_0x374f47(0x19e)],_0xe0bbe6['testCaseAttempt']=_0x2127c5;const _0x2c8759=formatterHelpers[_0x374f47(0x1e5)](_0xe0bbe6);let _0x44b0c7=![];_0x2c8759[_0x374f47(0x239)][_0x374f47(0x16e)](_0x559b6b=>{const _0x225c26=_0x374f47;if(_0x3c668a[_0x225c26(0x1bb)](_0x559b6b[_0x225c26(0x1ed)],_0x3c668a[_0x225c26(0x22f)])&&!this['isBstackHook'](_0x559b6b)){totalTests+=0x1,this[_0x225c26(0x21c)](_0x3c668a[_0x225c26(0x21e)](_0x3c668a[_0x225c26(0x21e)](_0x3c668a['uRGzi'](_0x3c668a[_0x225c26(0x21e)](_0x3c668a['oiIsD'](_0x3c668a['KgeAd'],_0x559b6b['keyword']),_0x559b6b['text']||''),_0x3c668a[_0x225c26(0x199)]),Status[_0x559b6b[_0x225c26(0x1a4)][_0x225c26(0x176)]]),'\x0a')),this['incrementCounter'](Status[_0x559b6b[_0x225c26(0x1a4)][_0x225c26(0x176)]]);if(_0x3c668a[_0x225c26(0x18b)](Status[_0x559b6b[_0x225c26(0x1a4)][_0x225c26(0x176)]],_0x3c668a['aEtdz'])){_0x44b0c7=!![];const _0x4e3882=_0x3c668a[_0x225c26(0x1dc)](nestedKeyValue,_0x559b6b,[_0x3c668a[_0x225c26(0x179)],_0x3c668a[_0x225c26(0x170)]]);_0x4e3882&&(testsErrorMessage[_0x3c668a[_0x225c26(0x1c5)](_0x3c668a['sYppz'](_0x2127c5[_0x225c26(0x1e6)][_0x225c26(0x225)][_0x225c26(0x1ed)],_0x3c668a[_0x225c26(0x199)]),_0x2127c5[_0x225c26(0x215)][_0x225c26(0x1ed)])]=_0x4e3882,this[_0x225c26(0x21c)](_0x3c668a[_0x225c26(0x21e)](_0x4e3882,'\x0a')));}}}),_0x44b0c7&&(testSuitesFailed+=0x1),this[_0x374f47(0x21c)]('\x0a');}[a6_0x44b87b(0x21a)](_0x49263f){}[a6_0x44b87b(0x226)](_0x458341){const _0x1eec0e=a6_0x44b87b,_0x274923={};_0x274923[_0x1eec0e(0x181)]=function(_0x2679be,_0x4eb9f0){return _0x2679be!==_0x4eb9f0;},_0x274923[_0x1eec0e(0x1a7)]=_0x1eec0e(0x1f3);const _0xd7a9f0=_0x274923;if(_0xd7a9f0['wicCI'](_0x458341['sourceLocation'],undefined))return![];if(_0x458341[_0x1eec0e(0x1e9)]&&_0x458341[_0x1eec0e(0x1e9)][_0x1eec0e(0x1cf)][_0x1eec0e(0x18f)](_0xd7a9f0[_0x1eec0e(0x1a7)]))return!![];return![];}[a6_0x44b87b(0x184)](_0x47a327){const _0x3dc20d=a6_0x44b87b,_0x38f0f7={};_0x38f0f7[_0x3dc20d(0x23b)]='FAILED',_0x38f0f7[_0x3dc20d(0x1d1)]=_0x3dc20d(0x21d),_0x38f0f7[_0x3dc20d(0x228)]=_0x3dc20d(0x194),_0x38f0f7[_0x3dc20d(0x237)]='PENDING',_0x38f0f7['YwGGz']=_0x3dc20d(0x1fa),_0x38f0f7[_0x3dc20d(0x20e)]='UNKNOWN',_0x38f0f7[_0x3dc20d(0x175)]=_0x3dc20d(0x1c0);const _0x503852=_0x38f0f7;switch(_0x47a327){case _0x503852[_0x3dc20d(0x23b)]:testsFailed+=0x1;break;case _0x503852['KtDRF']:testsPassed+=0x1;break;case _0x503852[_0x3dc20d(0x228)]:testsSkipped+=0x1;break;case _0x503852[_0x3dc20d(0x237)]:testsPending+=0x1;break;case _0x503852[_0x3dc20d(0x1cc)]:testsUndefined+=0x1;break;case _0x503852[_0x3dc20d(0x20e)]:testsUnknown+=0x1;break;case _0x503852['fTdbY']:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x44b87b(0x196)](_0x19300c){const _0xbf83e4=a6_0x44b87b,_0x3c3675={'SsLYk':function(_0x266031,_0xfd75e4){return _0x266031!==_0xfd75e4;},'EMbPt':function(_0x188613){return _0x188613();},'XDDjQ':function(_0x592667,_0x1dbac4){return _0x592667(_0x1dbac4);},'zFJDp':function(_0x4f3910,_0x50fe55){return _0x4f3910+_0x50fe55;},'FbcPZ':'cucumber'};let _0x5a5ee7;if(_0x3c3675[_0xbf83e4(0x222)](process[_0xbf83e4(0x1d4)]['CONFIG'],undefined)){const _0x330e37=JSON['parse'](process[_0xbf83e4(0x1d4)][_0xbf83e4(0x1e2)]);_0x5a5ee7=_0x330e37[_0xbf83e4(0x210)];}_0x3c3675[_0xbf83e4(0x222)](_0x5a5ee7,undefined)&&_0x3c3675[_0xbf83e4(0x1f0)](isBrowserstackInfra)&&(global['__platform']=_0x3c3675[_0xbf83e4(0x1c6)](getPlatformName,_0x5a5ee7),this['log'](_0x3c3675[_0xbf83e4(0x1bd)](_0xbf83e4(0x235)+global['__platform'],'\x0a'))),_0x3c3675[_0xbf83e4(0x1f0)](shouldProcessEventForTesthub)&&(TestDetails[_0xbf83e4(0x185)](),this['report']['testRunStarted']=_0x19300c,BrowserstackCLI[_0xbf83e4(0x22a)]()[_0xbf83e4(0x1ba)]()&&await this['isCLIReady']()&&(TestInfo[_0xbf83e4(0x185)](_0x3c3675[_0xbf83e4(0x1b0)]),await BrowserstackCLI[_0xbf83e4(0x22a)]()[_0xbf83e4(0x1e7)]()[_0xbf83e4(0x1c2)](TestFrameworkState[_0xbf83e4(0x22d)],HookState[_0xbf83e4(0x216)],{})));}[a6_0x44b87b(0x1df)](_0x4ce327){const _0x11b6cc=a6_0x44b87b;this[_0x11b6cc(0x201)][_0x11b6cc(0x1b5)]=_0x4ce327,this[_0x11b6cc(0x21a)](_0x4ce327);}async[a6_0x44b87b(0x1b2)](_0x35ea7d,_0x5866d8,_0x2d9dd0){const _0x1721fc=a6_0x44b87b,_0x2fb6ec={'tHKSB':function(_0x48afe0,_0x587f79){return _0x48afe0(_0x587f79);},'QmKJg':_0x1721fc(0x1d0),'FRaas':function(_0x10b51b,_0x4dd071){return _0x10b51b&&_0x4dd071;}};testSuites+=0x1;if(_0x2fb6ec[_0x1721fc(0x1dd)](shouldProcessEventForTesthub,_0x2fb6ec[_0x1721fc(0x206)]))try{this[_0x1721fc(0x201)][_0x1721fc(0x1cd)]=this['report'][_0x1721fc(0x1cd)]||{},this[_0x1721fc(0x201)][_0x1721fc(0x1cd)][_0x35ea7d['id']]=_0x35ea7d;let _0xe8527e=null;BrowserstackCLI[_0x1721fc(0x22a)]()[_0x1721fc(0x1ba)]()&&await this[_0x1721fc(0x1aa)]()?_0xe8527e=TestInfo[_0x1721fc(0x188)](_0x35ea7d['id']):_0xe8527e=TestDetails[_0x1721fc(0x188)](_0x35ea7d['id']);_testCasesData[_0x35ea7d['id']]=Object[_0x1721fc(0x232)]({},_0x2d9dd0);const _0x232d7f=this[_0x1721fc(0x201)],_0x52d7d6=_0x35ea7d[_0x1721fc(0x1fe)],_0x2c195e=_0x232d7f[_0x1721fc(0x1eb)][_0x1721fc(0x208)](_0x5e69fd=>_0x5e69fd['id']===_0x52d7d6)['pickleId'],_0x377dd5=_0x232d7f['pickle'][_0x1721fc(0x208)](_0x1feaea=>_0x1feaea['id']===_0x2c195e),_0x12a6f9=_0x232d7f['gherkinDocument'][_0x1721fc(0x208)](_0x43a70a=>_0x43a70a['uri']===_0x377dd5['uri']),_0x168296=_0x12a6f9[_0x1721fc(0x225)],_0x3bfd49={'uuid':_0xe8527e,'startedAt':new Date()[_0x1721fc(0x1fc)]()};if(_0x377dd5){const _0x4e1cbc={};_0x4e1cbc[_0x1721fc(0x1ed)]=_0x377dd5[_0x1721fc(0x1ed)],_0x3bfd49[_0x1721fc(0x19d)]=_0x4e1cbc;}if(_0x2fb6ec[_0x1721fc(0x195)](_0x12a6f9,_0x168296)){const _0x2fec38={};_0x2fec38[_0x1721fc(0x1d2)]=_0x12a6f9['uri'],_0x2fec38['name']=_0x168296[_0x1721fc(0x1ed)],_0x2fec38[_0x1721fc(0x1f7)]=_0x168296[_0x1721fc(0x1f7)],_0x3bfd49[_0x1721fc(0x225)]=_0x2fec38;}_tests[_0x52d7d6]=_0x3bfd49;if(BrowserstackCLI[_0x1721fc(0x22a)]()['isCliEnabled']()&&await this[_0x1721fc(0x1aa)]()){const _0x158a4e=await cucumberUtils[_0x1721fc(0x214)](_0x3bfd49,_0x377dd5,_0x2d9dd0,_0x12a6f9,_0x35ea7d['id'],_0x2fb6ec[_0x1721fc(0x206)]),_0x30d416={};_0x30d416[_0x1721fc(0x19a)]=_0x158a4e,await BrowserstackCLI[_0x1721fc(0x22a)]()[_0x1721fc(0x1e7)]()['trackEvent'](TestFrameworkState[_0x1721fc(0x23c)],HookState[_0x1721fc(0x216)],_0x30d416);return;}await testObservabilityReporter['sendTestRunEventForCucumber'](_0x2d9dd0,_0x12a6f9,_0x377dd5,_0x2fb6ec[_0x1721fc(0x206)],_0x3bfd49);}catch(_0x254f9a){logger[_0x1721fc(0x19b)](_0x1721fc(0x1b4)+util[_0x1721fc(0x21b)](_0x254f9a)+'\x20');}}async[a6_0x44b87b(0x1ec)](_0x90b16d,_0x356d0f,_0x348844){const _0x39abc4=a6_0x44b87b,_0x44de7c={'hjYLT':function(_0x111432,_0x3b5b3a){return _0x111432(_0x3b5b3a);},'PZiOF':_0x39abc4(0x230),'klCwJ':_0x39abc4(0x19a)};this[_0x39abc4(0x1b6)](_0x90b16d);if(_0x44de7c['hjYLT'](shouldProcessEventForTesthub,_0x44de7c['PZiOF']))try{this['report'][_0x39abc4(0x16d)]=this[_0x39abc4(0x201)][_0x39abc4(0x16d)]||{},this[_0x39abc4(0x201)]['testCaseFinished'][_0x90b16d[_0x39abc4(0x1ad)]]=_0x90b16d,_testCasesData[_0x348844['id']]=Object[_0x39abc4(0x232)]({},_0x348844);const _0x256f93=_0x90b16d['testCaseStartedId'],_0x412df6=_0x356d0f[_0x39abc4(0x1f6)]['testCaseAttemptDataMap'][_0x256f93][_0x39abc4(0x1fe)],_0x1d444b=_0x356d0f[_0x39abc4(0x1f6)][_0x39abc4(0x1c8)][_0x412df6],_0x297dde=_0x1d444b[_0x39abc4(0x16f)],_0x14dee9=_0x356d0f[_0x39abc4(0x1f6)]['pickleMap'][_0x297dde],_0xe72636=this[_0x39abc4(0x1a3)](_0x356d0f,_0x14dee9),_0x6dde87=_0xe72636[_0x39abc4(0x225)],_0x18aab2=_tests[_0x412df6];_0x18aab2&&(delete _tests[_0x412df6],_0x18aab2[_0x39abc4(0x192)]=new Date()[_0x39abc4(0x1fc)]());if(BrowserstackCLI[_0x39abc4(0x22a)]()[_0x39abc4(0x1ba)]()&&await this[_0x39abc4(0x1aa)]()){const _0x3edf00=await cucumberUtils[_0x39abc4(0x214)](_0x18aab2,_0x14dee9,_0x348844,_0xe72636,_0x256f93,_0x44de7c[_0x39abc4(0x1ea)]),_0x458c11={};_0x458c11['test']=_0x3edf00,await BrowserstackCLI[_0x39abc4(0x22a)]()[_0x39abc4(0x1e7)]()[_0x39abc4(0x1c2)](TestFrameworkState[_0x39abc4(0x23c)],HookState[_0x39abc4(0x1e3)],_0x458c11);const _0x25b7f3={};_0x25b7f3[_0x39abc4(0x1c4)]=_0x90b16d['testCaseStartedId'],_0x25b7f3[_0x39abc4(0x1be)]=_0x44de7c[_0x39abc4(0x1e1)],await BrowserstackCLI[_0x39abc4(0x22a)]()['getTestFramework']()[_0x39abc4(0x1c2)](TestFrameworkState[_0x39abc4(0x172)],HookState[_0x39abc4(0x1e3)],_0x25b7f3);return;}await testObservabilityReporter[_0x39abc4(0x18a)](_0x348844,_0xe72636,_0x14dee9,_0x44de7c[_0x39abc4(0x1ea)],_0x18aab2);}catch(_0x2914c6){logger['debug'](_0x39abc4(0x189)+util[_0x39abc4(0x21b)](_0x2914c6));}}async[a6_0x44b87b(0x1c1)](_0x580e94,_0x4000b9){const _0x43374a=a6_0x44b87b,_0x35d016={'iWYxB':function(_0x1f1e67,_0x4fe44e){return _0x1f1e67(_0x4fe44e);},'KpHzr':_0x43374a(0x1ef),'PGetb':function(_0x4e7d39,_0x21f682){return _0x4e7d39!==_0x21f682;},'FSgdh':'testStepId'};if(_0x35d016[_0x43374a(0x16c)](shouldProcessEventForTesthub,_0x35d016[_0x43374a(0x1fb)]))try{this[_0x43374a(0x201)][_0x43374a(0x20f)]=this[_0x43374a(0x201)][_0x43374a(0x20f)]||{},this[_0x43374a(0x201)][_0x43374a(0x20f)][_0x580e94[_0x43374a(0x1ad)]]=_0x580e94;const _0x9bef9c=_0x580e94[_0x43374a(0x1ad)],_0x5f14c1=_0x4000b9[_0x43374a(0x1f6)][_0x43374a(0x213)][_0x9bef9c][_0x43374a(0x1fe)],_0x1e9423=this[_0x43374a(0x201)][_0x43374a(0x1eb)]['find'](_0x51f0bf=>_0x51f0bf['id']===_0x5f14c1)['pickleId'],_0x238e87=this[_0x43374a(0x201)]['pickle']['find'](_0x502dd0=>_0x502dd0['id']===_0x1e9423),_0x3098cd=this[_0x43374a(0x201)][_0x43374a(0x1eb)][_0x43374a(0x208)](_0x9375c9=>_0x9375c9['id']===_0x5f14c1)['testSteps'],_0x521b88=this[_0x43374a(0x201)][_0x43374a(0x20f)][_0x9bef9c][_0x43374a(0x197)],_0x5c9ab4=_0x3098cd['find'](_0x51ad97=>_0x51ad97['id']===_0x521b88)['pickleStepId'],_0x2aff0e=_0x238e87[_0x43374a(0x1f9)]['find'](_0x3e7438=>_0x3e7438['id']===_0x5c9ab4);if(_0x5c9ab4&&_tests[_0x5f14c1]&&_0x35d016[_0x43374a(0x18c)](_tests[_0x5f14c1][_0x35d016[_0x43374a(0x22c)]],_0x521b88)){_tests[_0x5f14c1][_0x35d016[_0x43374a(0x22c)]]=_0x521b88;const _0x1c05ea={};_0x1c05ea[_0x43374a(0x1f9)]=[];const _0x25ad9b=_tests[_0x5f14c1]||_0x1c05ea;_0x25ad9b&&!_0x25ad9b[_0x43374a(0x1f9)]&&(_0x25ad9b[_0x43374a(0x1f9)]=[]),_0x25ad9b[_0x43374a(0x1f9)][_0x43374a(0x21f)]({'id':_0x2aff0e['id'],'text':_0x2aff0e[_0x43374a(0x19f)],'started_at':new Date()['toISOString']()}),_tests[_0x5f14c1]=_0x25ad9b;}if(BrowserstackCLI['getInstance']()[_0x43374a(0x1ba)]()&&await this[_0x43374a(0x1aa)]()){const _0x4dcf68=await cucumberUtils['createHookData'](this[_0x43374a(0x201)],_0x9bef9c,_0x35d016[_0x43374a(0x1fb)],_0x3098cd,_0x521b88,_tests[_0x5f14c1]);_0x4dcf68&&await BrowserstackCLI['getInstance']()[_0x43374a(0x1e7)]()[_0x43374a(0x1c2)](TestFrameworkState[_0x4dcf68[_0x43374a(0x22b)]],HookState[_0x43374a(0x216)],{'hookData':_0x4dcf68,'testUUID':_0x580e94['testCaseStartedId']});return;}await testObservabilityReporter['sendHook'](this['report'],_0x9bef9c,_0x35d016['KpHzr'],_0x3098cd,_0x521b88,_tests[_0x5f14c1]);}catch(_0x4ec5df){logger[_0x43374a(0x19b)](_0x43374a(0x1bf)+util['format'](_0x4ec5df));}}async[a6_0x44b87b(0x219)](_0x1284f1,_0x30b50d){const _0x4ccfdc=a6_0x44b87b,_0x2c8792={'yUvKs':function(_0x343e77,_0x527fea){return _0x343e77===_0x527fea;},'WcOKx':_0x4ccfdc(0x203),'JgcHR':function(_0x1f4e96,_0x54e377){return _0x1f4e96(_0x54e377);},'zsDaW':_0x4ccfdc(0x212),'WGOQC':function(_0x43ca74,_0x239a66){return _0x43ca74===_0x239a66;},'hqobj':_0x4ccfdc(0x180),'rjXbb':function(_0x316420,_0x558c5c){return _0x316420===_0x558c5c;},'QDQXN':'UnhandledError','xUqYE':'testStepId','wzLuC':_0x4ccfdc(0x1ef),'HoqPX':_0x4ccfdc(0x1a1)};this[_0x4ccfdc(0x201)][_0x4ccfdc(0x190)]=this[_0x4ccfdc(0x201)][_0x4ccfdc(0x190)]||{},this['report'][_0x4ccfdc(0x190)][_0x1284f1[_0x4ccfdc(0x1ad)]]=_0x1284f1;if(_0x2c8792[_0x4ccfdc(0x1d8)](shouldProcessEventForTesthub,_0x2c8792[_0x4ccfdc(0x200)]))try{const _0x58ecaa=_0x1284f1['testCaseStartedId'],_0x2351ed=_0x30b50d[_0x4ccfdc(0x1f6)]['testCaseAttemptDataMap'][_0x58ecaa][_0x4ccfdc(0x1fe)],_0x28eb09=_0x30b50d[_0x4ccfdc(0x1f6)]['testCaseMap'][_0x2351ed],_0x19a90a=_0x28eb09[_0x4ccfdc(0x16f)],_0x20ae4d=_0x30b50d[_0x4ccfdc(0x1f6)]['pickleMap'][_0x19a90a],_0x23915e=_0x1284f1['testStepId'],_0x26a9ce=_0x28eb09[_0x4ccfdc(0x239)],_0x459e51=this[_0x4ccfdc(0x1f6)][_0x4ccfdc(0x240)](_0x58ecaa),_0x4a5195=_0x26a9ce[_0x4ccfdc(0x208)](_0x36618d=>_0x36618d['id']===_0x23915e)[_0x4ccfdc(0x1b3)];let _0x48b1c7,_0x883cd0;_0x1284f1[_0x4ccfdc(0x17f)]&&_0x2c8792[_0x4ccfdc(0x1f2)](_0x1284f1['testStepResult'][_0x4ccfdc(0x176)][_0x4ccfdc(0x220)]()[_0x4ccfdc(0x20d)](),_0x2c8792[_0x4ccfdc(0x1e0)])&&(_0x48b1c7=_0x2c8792[_0x4ccfdc(0x1e8)](_0x1284f1[_0x4ccfdc(0x17f)][_0x4ccfdc(0x183)],undefined)?_0x1284f1[_0x4ccfdc(0x17f)]['message']:_0x1284f1[_0x4ccfdc(0x17f)][_0x4ccfdc(0x183)][_0x4ccfdc(0x1a2)],_0x883cd0=_0x2c8792[_0x4ccfdc(0x1f2)](_0x1284f1['testStepResult'][_0x4ccfdc(0x183)],undefined)?_0x2c8792[_0x4ccfdc(0x1d3)]:_0x1284f1[_0x4ccfdc(0x17f)][_0x4ccfdc(0x1a2)]);if(_0x4a5195&&_tests[_0x2351ed][_0x2c8792[_0x4ccfdc(0x191)]]){const _0x2784cf=_0x20ae4d[_0x4ccfdc(0x1f9)][_0x4ccfdc(0x208)](_0x301870=>_0x301870['id']===_0x4a5195),_0x499c6f={};_0x499c6f[_0x4ccfdc(0x1f9)]=[];const _0x5288aa=_tests[_0x2351ed]||_0x499c6f;!_0x5288aa[_0x4ccfdc(0x1f9)]?_0x5288aa[_0x4ccfdc(0x1f9)]=[{'id':_0x2784cf['id'],'text':_0x2784cf['text'],'finished_at':new Date()[_0x4ccfdc(0x1fc)](),'result':_0x1284f1[_0x4ccfdc(0x17f)][_0x4ccfdc(0x176)],'duration':_0x1284f1['testStepResult'][_0x4ccfdc(0x223)][_0x4ccfdc(0x1a5)],'failure':_0x48b1c7,'failureType':_0x883cd0}]:_0x5288aa[_0x4ccfdc(0x1f9)][_0x4ccfdc(0x16e)](_0x475232=>{const _0x133547=_0x4ccfdc;if(_0x2c8792[_0x133547(0x1da)](_0x475232['id'],_0x2784cf['id'])){const _0x4a0ea7=_0x2c8792[_0x133547(0x174)][_0x133547(0x17c)]('|');let _0x567a5a=0x0;while(!![]){switch(_0x4a0ea7[_0x567a5a++]){case'0':_0x475232[_0x133547(0x1a4)]=_0x1284f1['testStepResult']['status'];continue;case'1':_0x475232['finished_at']=new Date()[_0x133547(0x1fc)]();continue;case'2':_0x475232[_0x133547(0x1f8)]=_0x48b1c7;continue;case'3':_0x475232['failureType']=_0x883cd0;continue;case'4':_0x475232['duration']=_0x1284f1[_0x133547(0x17f)][_0x133547(0x223)][_0x133547(0x1a5)];continue;}break;}}}),_tests[_0x2351ed]=_0x5288aa;}delete _tests[_0x2351ed][_0x2c8792[_0x4ccfdc(0x191)]];if(BrowserstackCLI[_0x4ccfdc(0x22a)]()[_0x4ccfdc(0x1ba)]()&&await this[_0x4ccfdc(0x1aa)]()){const _0x416105=await cucumberUtils[_0x4ccfdc(0x178)](this[_0x4ccfdc(0x201)],_0x58ecaa,_0x2c8792['wzLuC'],_0x26a9ce,_0x23915e,_tests[_0x2351ed]);if(_0x416105){await BrowserstackCLI[_0x4ccfdc(0x22a)]()[_0x4ccfdc(0x1e7)]()['trackEvent'](TestFrameworkState[_0x416105[_0x4ccfdc(0x22b)]],HookState[_0x4ccfdc(0x1e3)],{'hookData':_0x416105,'testUUID':_0x1284f1[_0x4ccfdc(0x1ad)]});const _0xe4b5c2={};_0xe4b5c2['testUUID']=_0x1284f1[_0x4ccfdc(0x1ad)],_0xe4b5c2['type']=_0x2c8792[_0x4ccfdc(0x17e)],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x4ccfdc(0x1c2)](TestFrameworkState[_0x4ccfdc(0x172)],HookState[_0x4ccfdc(0x1e3)],_0xe4b5c2);}return;}await testObservabilityReporter[_0x4ccfdc(0x20a)](this[_0x4ccfdc(0x201)],_0x58ecaa,_0x2c8792[_0x4ccfdc(0x200)],_0x26a9ce,_0x23915e,_tests[_0x2351ed]);}catch(_0x37e53d){logger[_0x4ccfdc(0x19b)](_0x4ccfdc(0x238)+util['format'](_0x37e53d));}}[a6_0x44b87b(0x1b9)](_0x54679d){const _0x19e80c=a6_0x44b87b,_0x5b12f2={};return _0x54679d['feature'][_0x19e80c(0x1a9)]['map'](this[_0x19e80c(0x1a6)])[_0x19e80c(0x211)]()[_0x19e80c(0x16e)](_0x2bdcd5=>_0x2bdcd5[_0x19e80c(0x1f9)][_0x19e80c(0x16e)](_0x2972b4=>_0x5b12f2[_0x2972b4['id']]=_0x2972b4)),_0x5b12f2;}[a6_0x44b87b(0x1a6)](_0x1491b6){const _0x16933e=a6_0x44b87b,_0x4fd6b0={'rbVgt':function(_0x48e7e9,_0x294088){return _0x48e7e9(_0x294088);},'pZYXL':function(_0x1decca,_0x3dda1a){return _0x1decca(_0x3dda1a);}};if(!_0x4fd6b0['rbVgt'](isUndefined,_0x1491b6[_0x16933e(0x1b8)]))return[_0x1491b6[_0x16933e(0x1b8)]];else{if(!_0x4fd6b0['pZYXL'](isUndefined,_0x1491b6['rule']))return _0x1491b6[_0x16933e(0x1d5)][_0x16933e(0x1a9)][_0x16933e(0x227)](_0x45aeff=>!isUndefined(_0x45aeff[_0x16933e(0x1b8)])?_0x45aeff[_0x16933e(0x1b8)]:_0x45aeff['scenario']);};return[_0x1491b6[_0x16933e(0x19d)]];}[a6_0x44b87b(0x1a3)](_0x3577c6,_0x144da9){const _0x468d52=a6_0x44b87b;return Object['values'](_0x3577c6['eventDataCollector'][_0x468d52(0x1c7)])[_0x468d52(0x208)](_0x160bca=>_0x160bca[_0x468d52(0x1cf)]===_0x144da9[_0x468d52(0x1cf)]);}async[a6_0x44b87b(0x1ae)](){const _0x399176=a6_0x44b87b;if(this['cliInitPromise'])return this[_0x399176(0x1d6)];return this[_0x399176(0x1d6)]=this[_0x399176(0x1f4)](),this[_0x399176(0x1d6)];}async[a6_0x44b87b(0x1f4)](){const _0x162196=a6_0x44b87b,_0x3f94ad={'AwVUi':_0x162196(0x205),'oHVsr':function(_0x161636,_0x1478fb){return _0x161636(_0x1478fb);},'xFVhB':_0x162196(0x18e),'SkCbf':_0x162196(0x207)};try{const _0x40e60f=BrowserstackCLI['getInstance']();if(_0x40e60f[_0x162196(0x1ff)]())return logger[_0x162196(0x19b)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x40e60f['binSessionId']),!![];const _0x125db5=process[_0x162196(0x1d4)][_0x162196(0x1d7)];if(!_0x125db5)return logger['debug'](_0x3f94ad[_0x162196(0x1ca)]),![];const _0x23d702=_0x3f94ad[_0x162196(0x236)](require,_0x3f94ad[_0x162196(0x22e)]),{FRAMEWORKS:_0x293e44}=_0x3f94ad['oHVsr'](require,_0x3f94ad[_0x162196(0x231)]);return _0x23d702[_0x162196(0x20c)](_0x293e44['CUCUMBER'],_0x293e44[_0x162196(0x23e)]),logger['debug']('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x125db5),await _0x40e60f[_0x162196(0x17a)](),logger[_0x162196(0x19b)](_0x162196(0x1a0)+_0x40e60f[_0x162196(0x1ff)]()+_0x162196(0x198)+_0x40e60f[_0x162196(0x187)]),_0x40e60f[_0x162196(0x1ff)]();}catch(_0x4e6deb){return logger['debug'](_0x162196(0x23f)+util[_0x162196(0x21b)](_0x4e6deb)),![];}}async[a6_0x44b87b(0x1aa)](){const _0x1ff6ee=a6_0x44b87b;try{return await this[_0x1ff6ee(0x1ae)](),BrowserstackCLI[_0x1ff6ee(0x22a)]()[_0x1ff6ee(0x1ff)]();}catch(_0x143b0a){return logger[_0x1ff6ee(0x19b)](_0x1ff6ee(0x209)+util[_0x1ff6ee(0x21b)](_0x143b0a)),![];}}}module[a6_0x44b87b(0x1c9)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x44b87b(0x1b2),a6_0x44b87b(0x1ec),'onTestStepStarted',a6_0x44b87b(0x219),'onTestRunStarted',a6_0x44b87b(0x1df),a6_0x44b87b(0x1a6),a6_0x44b87b(0x1a3),a6_0x44b87b(0x1b9)]);
|
|
1
|
+
const a6_0x179b9b=a6_0xa1fa;(function(_0x5cc8a1,_0x2499a7){const _0x3a41b4=a6_0xa1fa,_0x51ac44=_0x5cc8a1();while(!![]){try{const _0x818a1a=parseInt(_0x3a41b4(0x1ab))/0x1+parseInt(_0x3a41b4(0xf3))/0x2*(parseInt(_0x3a41b4(0xf5))/0x3)+-parseInt(_0x3a41b4(0x12e))/0x4*(-parseInt(_0x3a41b4(0x1a7))/0x5)+-parseInt(_0x3a41b4(0x180))/0x6*(-parseInt(_0x3a41b4(0x13c))/0x7)+parseInt(_0x3a41b4(0x1b3))/0x8+parseInt(_0x3a41b4(0x11b))/0x9+parseInt(_0x3a41b4(0x18e))/0xa*(-parseInt(_0x3a41b4(0x1a3))/0xb);if(_0x818a1a===_0x2499a7)break;else _0x51ac44['push'](_0x51ac44['shift']());}catch(_0x50c37a){_0x51ac44['push'](_0x51ac44['shift']());}}}(a6_0x2184,0x6a75a));function a6_0x2184(){const _0x4456a4=['testSteps','6pYVKFe','RDGVw','cucumber-js/test.setup.js','failure','includes','gherkinDocumentMap','../../../helpers/test-observability/error-handler','stepDefinition','log','rule','isBstackHook','XPexe','vlMpk','source','9200QvdOpJ','CONFIG','../../../helpers/helper','snippetBuilder','ohoKX','setup','hook_type','NWcot','logTestRunFinished','MKzsY','getTestUUID','testStepFinished','TestRunFinished','cliInitPromise','getTestCaseAttempt','testRunStarted','ensureCLIInitialized','BkJtx','sourceLocation','elxkp','TEST','16588SoaHfD','RPNGA','../../utils/constants','laEiB','5990jWlBcN','yORPs','DNtHr','PLAYWRIGHT','221069RvnpKX','createHookData','flat','hook','Exception\x20in\x20onTestStepFinished\x20event:\x20','winstonLogger','onTestCaseFinished','parse','3816240KSSsbO','supportCodeLibrary','whyjS','vsiOp','getGherkinStepMap','AMBIGUOUS','testCaseMap','createTestFrameworkData','steps','testStepId','HookRunStarted','testCaseId','gnIXO','testCaseAttemptDataMap','description','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','testCase','gJVjS','exception','iEbse','2Eikcep','eventDataCollector','1462245WffciZ','LTayL','push','testStepStarted','incrementCounter','SKIPPED','../test-observability.js','qLtfe','parseTestCaseAttempt','text','report','onTestRunStarted','../../../bin/v2/TestInfo.js','okPxW','vZtCc','trackEvent','PRE','IPrAf','type','gherkinDocument','fLlZP','../../playwright/reporter/test-details.js','HookRunFinished','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','uKpRB','qIEOa','failed','Skeef','extractStepContainers','@cucumber/cucumber','../../v2/cliUtils','env','bootstrap','__platform','FAILED','scenario','testStepResult','format','209493rxOSnj','failureType','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','toISOString','gyIxS','find','status','onStepDefinition','name','uolIf','testCaseAttempt','finished_at','../../v2/state/hookState.js','testCases','../../v2/browserstackCLI.js','forEach','path','isCLIReady','wUOFq','1612sOkhZr','getTestFramework','getInstance','setFrameworkDetail','hooks','aKlGA','fuKve','assign','QrjNO','TestRunStarted','oxCby','PENDING','pickleMap','testRunFinished','922831QmRxhh','pickleStepId','map','testCaseFinished','bmGOE','isRunning','pickle','LOG_REPORT','PASSED','dRtly','finishedAt','../../v2/utils/cucumber-utils.js','background','cucumber','WoyXC','onTestStepStarted','sendTestRunEventForCucumber','WtbxG','../../../helpers/testhub/utils.js','BhOFl','UtVRJ','toString','BdWHd','duration','onTestCase','onSource','../../../helpers/logger','onPickle','testCaseStarted','vbJwf','qtLUR','seconds','testCaseStartedId','nYnAB','onGherkinDocument','UNKNOWN','children','\x20-\x20','mjZfu','actionLocation','onTestStepFinished','HzZun','feature','RgPMk','result','onTestCaseStarted','dRUWU','ZsWZY','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','CNScw','uri','CUCUMBER','exports','dxtuA','debug','UNDEFINED','BROWSERSTACK_CLI_BIN_SESSION_ID','ZiRQT','INIT_TEST','RTagC','test','onHook','isCliEnabled','pickleId','POST','_performCLIInitialization','message'];a6_0x2184=function(){return _0x4456a4;};return a6_0x2184();}function a6_0xa1fa(_0x5dee9a,_0x1077cb){const _0x2184a5=a6_0x2184();return a6_0xa1fa=function(_0xa1fab7,_0x4d683e){_0xa1fab7=_0xa1fab7-0xec;let _0x647cbe=_0x2184a5[_0xa1fab7];return _0x647cbe;},a6_0xa1fa(_0x5dee9a,_0x1077cb);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x179b9b(0x190)),util=require('util'),{Formatter,formatterHelpers,Status}=requireModule(a6_0x179b9b(0x112)),TestDetails=require(a6_0x179b9b(0x10a)),TestObservabilityReporter=require(a6_0x179b9b(0xfb)),{o11yClassErrorHandler}=require(a6_0x179b9b(0x186)),{shouldProcessEventForTesthub}=require(a6_0x179b9b(0x14e)),BrowserstackCLI=require(a6_0x179b9b(0x129)),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require(a6_0x179b9b(0x127)),CucumberUtils=require(a6_0x179b9b(0x147)),TestInfo=require(a6_0x179b9b(0x101)),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x179b9b(0x156))[a6_0x179b9b(0x1b0)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x51e436){const _0x34a326=a6_0x179b9b,_0x2f8dca={};_0x2f8dca[_0x34a326(0x1a4)]='envelope';const _0x52b11f=_0x2f8dca;super(_0x51e436),this[_0x34a326(0xff)]={},_0x51e436['eventBroadcaster']['on'](_0x52b11f[_0x34a326(0x1a4)],async _0x2d4e13=>{const _0x6207b6=_0x34a326;switch(!![]){case!!_0x2d4e13[_0x6207b6(0x19d)]:this[_0x6207b6(0x100)](_0x2d4e13[_0x6207b6(0x19d)]);break;case!!_0x2d4e13['testRunFinished']:this['onTestRunFinished'](_0x2d4e13[_0x6207b6(0x13b)]);break;case!!_0x2d4e13[_0x6207b6(0x158)]:this[_0x6207b6(0x169)](_0x2d4e13[_0x6207b6(0x158)],_0x51e436,_0x2d4e13);break;case!!_0x2d4e13['testCaseFinished']:this[_0x6207b6(0x1b1)](_0x2d4e13['testCaseFinished'],_0x51e436,_0x2d4e13);break;case!!_0x2d4e13['testStepStarted']:this[_0x6207b6(0x14b)](_0x2d4e13['testStepStarted'],_0x51e436);break;case!!_0x2d4e13['testStepFinished']:this['onTestStepFinished'](_0x2d4e13[_0x6207b6(0x199)],_0x51e436);break;case!!_0x2d4e13[_0x6207b6(0x1ae)]:this['onHook'](_0x2d4e13[_0x6207b6(0x1ae)]);break;case!!_0x2d4e13[_0x6207b6(0xef)]:this[_0x6207b6(0x154)](_0x2d4e13[_0x6207b6(0xef)]);break;case!!_0x2d4e13['pickle']:this[_0x6207b6(0x157)](_0x2d4e13[_0x6207b6(0x142)]);break;case!!_0x2d4e13[_0x6207b6(0x108)]:this[_0x6207b6(0x15e)](_0x2d4e13[_0x6207b6(0x108)]);break;}});}[a6_0x179b9b(0x179)](_0x38fdc0){const _0x12758f=a6_0x179b9b;this[_0x12758f(0xff)][_0x12758f(0x132)]=Object[_0x12758f(0x135)]([],this[_0x12758f(0xff)][_0x12758f(0x132)]||[]),this[_0x12758f(0xff)]['hooks'][_0x12758f(0xf7)](_0x38fdc0);}[a6_0x179b9b(0x157)](_0x1aec31){const _0x14c656=a6_0x179b9b;this['report'][_0x14c656(0x142)]=Object['assign']([],this[_0x14c656(0xff)]['pickle']||[],[_0x1aec31]),this[_0x14c656(0xff)]['pickle'][_0x14c656(0xf7)](_0x1aec31);}[a6_0x179b9b(0x15e)](_0x3feacd){const _0x550b36=a6_0x179b9b;this[_0x550b36(0xff)][_0x550b36(0x108)]=Object[_0x550b36(0x135)]([],this['report'][_0x550b36(0x108)]||[],[_0x3feacd]),this[_0x550b36(0xff)][_0x550b36(0x108)][_0x550b36(0xf7)](_0x3feacd);}[a6_0x179b9b(0x155)](_0xc25c26){const _0x4fb6d9=a6_0x179b9b;this[_0x4fb6d9(0xff)][_0x4fb6d9(0x18d)]=_0xc25c26;}[a6_0x179b9b(0x122)](_0x373d89){const _0x33e97f=a6_0x179b9b;this[_0x33e97f(0xff)][_0x33e97f(0x187)]=Object[_0x33e97f(0x135)]([],this[_0x33e97f(0xff)]['stepDefinition']||[],[_0x373d89]),this[_0x33e97f(0xff)][_0x33e97f(0x187)][_0x33e97f(0xf7)](_0x373d89);}[a6_0x179b9b(0x154)](_0x51099b){const _0x5beddb=a6_0x179b9b;this[_0x5beddb(0xff)][_0x5beddb(0x128)]=Object[_0x5beddb(0x135)]([],this['report'][_0x5beddb(0x128)]||[],[_0x51099b]),this[_0x5beddb(0xff)][_0x5beddb(0x128)][_0x5beddb(0xf7)](_0x51099b);}['logTestCaseFinished'](_0x4c111b){const _0x433572=a6_0x179b9b,_0x37770e={'gnIXO':function(_0x594e63,_0x14a784){return _0x594e63!==_0x14a784;},'DNtHr':'bstack','RTagC':function(_0x54eb37,_0x2415c3){return _0x54eb37+_0x2415c3;},'zlmDu':function(_0x1f48c7,_0x14b44e){return _0x1f48c7+_0x14b44e;},'tNLKg':function(_0x290567,_0x58e1a7){return _0x290567+_0x58e1a7;},'wUOFq':'\x20\x20\x20\x20','dRUWU':_0x433572(0x161),'LTayL':function(_0x19dec7,_0x2a66bf){return _0x19dec7===_0x2a66bf;},'QrjNO':_0x433572(0x117),'NWcot':function(_0x3bd607,_0x4db711,_0x223d01){return _0x3bd607(_0x4db711,_0x223d01);},'fCMxx':_0x433572(0x168),'gyIxS':_0x433572(0x17e),'whyjS':function(_0x1af75c,_0x148214){return _0x1af75c+_0x148214;},'uKpRB':function(_0x33f152,_0x44489f){return _0x33f152+_0x44489f;},'qLtfe':function(_0x1dd77c,_0x27732e){return _0x1dd77c+_0x27732e;},'vZtCc':function(_0x47e3d8,_0x263c9e){return _0x47e3d8+_0x263c9e;},'ZsWZY':function(_0x237bd1,_0x5eb885){return _0x237bd1+_0x5eb885;}};_0x37770e['gnIXO'](global[_0x433572(0x116)],undefined)&&this[_0x433572(0x188)](_0x37770e[_0x433572(0x10d)](_0x37770e['RTagC']('\x0a',global[_0x433572(0x116)]),'\x0a'));const _0x5525aa=this[_0x433572(0xf4)]['getTestCaseAttempt'](_0x4c111b['testCaseStartedId']);this['log'](_0x37770e[_0x433572(0xfc)](_0x37770e[_0x433572(0x103)](_0x37770e[_0x433572(0x16b)](_0x37770e[_0x433572(0x10d)]('\x20\x20',_0x5525aa[_0x433572(0x108)][_0x433572(0x166)][_0x433572(0x123)]),_0x37770e['dRUWU']),_0x5525aa['pickle'][_0x433572(0x123)]),'\x0a'));const _0x4c810e={};_0x4c810e['cwd']=this['cwd'],_0x4c810e[_0x433572(0x191)]=this[_0x433572(0x191)],_0x4c810e[_0x433572(0x1b4)]=this[_0x433572(0x1b4)],_0x4c810e[_0x433572(0x125)]=_0x5525aa;const _0x5db550=formatterHelpers[_0x433572(0xfd)](_0x4c810e);let _0x12818e=![];_0x5db550['testSteps']['forEach'](_0x4fa580=>{const _0x2b2fbb=_0x433572;if(_0x37770e[_0x2b2fbb(0x1bf)](_0x4fa580['name'],_0x37770e[_0x2b2fbb(0x1a9)])&&!this['isBstackHook'](_0x4fa580)){totalTests+=0x1,this['log'](_0x37770e[_0x2b2fbb(0x177)](_0x37770e[_0x2b2fbb(0x177)](_0x37770e['RTagC'](_0x37770e['zlmDu'](_0x37770e['tNLKg'](_0x37770e[_0x2b2fbb(0x12d)],_0x4fa580['keyword']),_0x4fa580[_0x2b2fbb(0xfe)]||''),_0x37770e['dRUWU']),Status[_0x4fa580['result'][_0x2b2fbb(0x121)]]),'\x0a')),this[_0x2b2fbb(0xf9)](Status[_0x4fa580[_0x2b2fbb(0x168)]['status']]);if(_0x37770e[_0x2b2fbb(0xf6)](Status[_0x4fa580[_0x2b2fbb(0x168)][_0x2b2fbb(0x121)]],_0x37770e[_0x2b2fbb(0x136)])){_0x12818e=!![];const _0x1b5fd4=_0x37770e[_0x2b2fbb(0x195)](nestedKeyValue,_0x4fa580,[_0x37770e['fCMxx'],_0x37770e[_0x2b2fbb(0x11f)]]);_0x1b5fd4&&(testsErrorMessage[_0x37770e[_0x2b2fbb(0x1b5)](_0x37770e[_0x2b2fbb(0x1b5)](_0x5525aa[_0x2b2fbb(0x108)][_0x2b2fbb(0x166)][_0x2b2fbb(0x123)],_0x37770e[_0x2b2fbb(0x16a)]),_0x5525aa[_0x2b2fbb(0x142)][_0x2b2fbb(0x123)])]=_0x1b5fd4,this['log'](_0x37770e[_0x2b2fbb(0x10d)](_0x1b5fd4,'\x0a')));}}}),_0x12818e&&(testSuitesFailed+=0x1),this[_0x433572(0x188)]('\x0a');}[a6_0x179b9b(0x196)](_0x2eabb3){}[a6_0x179b9b(0x18a)](_0x4c2966){const _0x477e3c=a6_0x179b9b,_0xe9996d={};_0xe9996d['vlMpk']=function(_0x8c4329,_0x3ecd9d){return _0x8c4329!==_0x3ecd9d;},_0xe9996d[_0x477e3c(0x140)]=_0x477e3c(0x182);const _0x300e4a=_0xe9996d;if(_0x300e4a[_0x477e3c(0x18c)](_0x4c2966[_0x477e3c(0x1a0)],undefined))return![];if(_0x4c2966[_0x477e3c(0x163)]&&_0x4c2966['actionLocation'][_0x477e3c(0x16e)][_0x477e3c(0x184)](_0x300e4a[_0x477e3c(0x140)]))return!![];return![];}[a6_0x179b9b(0xf9)](_0x2119d8){const _0x18854e=a6_0x179b9b,_0x95f16f={};_0x95f16f[_0x18854e(0x106)]=_0x18854e(0x117),_0x95f16f[_0x18854e(0x1a6)]=_0x18854e(0x144),_0x95f16f[_0x18854e(0x1a1)]=_0x18854e(0xfa),_0x95f16f[_0x18854e(0x171)]=_0x18854e(0x139),_0x95f16f['RDGVw']=_0x18854e(0x173),_0x95f16f[_0x18854e(0x150)]=_0x18854e(0x15f),_0x95f16f[_0x18854e(0x19f)]=_0x18854e(0x1b8);const _0x4d869c=_0x95f16f;switch(_0x2119d8){case _0x4d869c['IPrAf']:testsFailed+=0x1;break;case _0x4d869c[_0x18854e(0x1a6)]:testsPassed+=0x1;break;case _0x4d869c[_0x18854e(0x1a1)]:testsSkipped+=0x1;break;case _0x4d869c[_0x18854e(0x171)]:testsPending+=0x1;break;case _0x4d869c[_0x18854e(0x181)]:testsUndefined+=0x1;break;case _0x4d869c['UtVRJ']:testsUnknown+=0x1;break;case _0x4d869c[_0x18854e(0x19f)]:testsAmbiguous+=0x1;break;default:break;}}async['onTestRunStarted'](_0x560e42){const _0x14de24=a6_0x179b9b,_0x5e43f={'yqlhb':function(_0x1090e6,_0x241b77){return _0x1090e6!==_0x241b77;},'XPexe':function(_0x545c7e){return _0x545c7e();},'WoyXC':function(_0x5eb0bd,_0x5082a5){return _0x5eb0bd(_0x5082a5);},'qtLUR':function(_0x29ade1,_0x3db55a){return _0x29ade1+_0x3db55a;},'fLlZP':_0x14de24(0x149)};let _0x40ff4c;if(_0x5e43f['yqlhb'](process[_0x14de24(0x114)][_0x14de24(0x18f)],undefined)){const _0x19eba8=JSON[_0x14de24(0x1b2)](process[_0x14de24(0x114)][_0x14de24(0x18f)]);_0x40ff4c=_0x19eba8['capability'];}_0x5e43f['yqlhb'](_0x40ff4c,undefined)&&_0x5e43f['XPexe'](isBrowserstackInfra)&&(global[_0x14de24(0x116)]=_0x5e43f[_0x14de24(0x14a)](getPlatformName,_0x40ff4c),this[_0x14de24(0x188)](_0x5e43f[_0x14de24(0x15a)]('Executing\x20tests\x20for\x20'+global[_0x14de24(0x116)],'\x0a'))),_0x5e43f[_0x14de24(0x18b)](shouldProcessEventForTesthub)&&(TestDetails[_0x14de24(0x193)](),this[_0x14de24(0xff)][_0x14de24(0x19d)]=_0x560e42,BrowserstackCLI[_0x14de24(0x130)]()[_0x14de24(0x17a)]()&&await this[_0x14de24(0x12c)]()&&(TestInfo[_0x14de24(0x193)](_0x5e43f[_0x14de24(0x109)]),await BrowserstackCLI[_0x14de24(0x130)]()[_0x14de24(0x12f)]()[_0x14de24(0x104)](TestFrameworkState[_0x14de24(0x176)],HookState[_0x14de24(0x105)],{})));}['onTestRunFinished'](_0x3526f1){const _0xd02167=a6_0x179b9b;this[_0xd02167(0xff)][_0xd02167(0x13b)]=_0x3526f1,this['logTestRunFinished'](_0x3526f1);}async[a6_0x179b9b(0x169)](_0x4c862e,_0x263eea,_0x30d108){const _0xd74a12=a6_0x179b9b,_0x40b5c1={'vbJwf':function(_0x47e728,_0x24cb84){return _0x47e728(_0x24cb84);},'HzZun':_0xd74a12(0x137),'ZiRQT':function(_0x5bd623,_0x27151b){return _0x5bd623&&_0x27151b;}};testSuites+=0x1;if(_0x40b5c1[_0xd74a12(0x159)](shouldProcessEventForTesthub,_0x40b5c1[_0xd74a12(0x165)]))try{this[_0xd74a12(0xff)][_0xd74a12(0x158)]=this['report'][_0xd74a12(0x158)]||{},this[_0xd74a12(0xff)][_0xd74a12(0x158)][_0x4c862e['id']]=_0x4c862e;let _0x1ef4cb=null;BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x17a)]()&&await this[_0xd74a12(0x12c)]()?_0x1ef4cb=TestInfo[_0xd74a12(0x198)](_0x4c862e['id']):_0x1ef4cb=TestDetails[_0xd74a12(0x198)](_0x4c862e['id']);_testCasesData[_0x4c862e['id']]=Object[_0xd74a12(0x135)]({},_0x30d108);const _0x33b62b=this['report'],_0x47b31b=_0x4c862e[_0xd74a12(0x1be)],_0x2d34df=_0x33b62b[_0xd74a12(0x128)][_0xd74a12(0x120)](_0x37b9d7=>_0x37b9d7['id']===_0x47b31b)[_0xd74a12(0x17b)],_0x564a3e=_0x33b62b[_0xd74a12(0x142)][_0xd74a12(0x120)](_0x77d984=>_0x77d984['id']===_0x2d34df),_0x15a4c8=_0x33b62b['gherkinDocument'][_0xd74a12(0x120)](_0x35abc2=>_0x35abc2[_0xd74a12(0x16e)]===_0x564a3e[_0xd74a12(0x16e)]),_0x236cf8=_0x15a4c8[_0xd74a12(0x166)],_0x4045ea={'uuid':_0x1ef4cb,'startedAt':new Date()[_0xd74a12(0x11e)]()};if(_0x564a3e){const _0x11199a={};_0x11199a['name']=_0x564a3e[_0xd74a12(0x123)],_0x4045ea[_0xd74a12(0x118)]=_0x11199a;}if(_0x40b5c1[_0xd74a12(0x175)](_0x15a4c8,_0x236cf8)){const _0x40222e={};_0x40222e[_0xd74a12(0x12b)]=_0x15a4c8[_0xd74a12(0x16e)],_0x40222e[_0xd74a12(0x123)]=_0x236cf8[_0xd74a12(0x123)],_0x40222e[_0xd74a12(0xed)]=_0x236cf8[_0xd74a12(0xed)],_0x4045ea[_0xd74a12(0x166)]=_0x40222e;}_tests[_0x47b31b]=_0x4045ea;if(BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x17a)]()&&await this[_0xd74a12(0x12c)]()){const _0x2b96fb=await cucumberUtils[_0xd74a12(0x1ba)](_0x4045ea,_0x564a3e,_0x30d108,_0x15a4c8,_0x4c862e['id'],_0x40b5c1[_0xd74a12(0x165)]),_0x287cd3={};_0x287cd3[_0xd74a12(0x178)]=_0x2b96fb,await BrowserstackCLI[_0xd74a12(0x130)]()[_0xd74a12(0x12f)]()[_0xd74a12(0x104)](TestFrameworkState['TEST'],HookState[_0xd74a12(0x105)],_0x287cd3);return;}await testObservabilityReporter[_0xd74a12(0x14c)](_0x30d108,_0x15a4c8,_0x564a3e,_0x40b5c1[_0xd74a12(0x165)],_0x4045ea);}catch(_0x3b6167){logger['debug']('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util['format'](_0x3b6167)+'\x20');}}async[a6_0x179b9b(0x1b1)](_0x407e82,_0x349132,_0x343026){const _0x3e7afe=a6_0x179b9b,_0x59aab2={'JTQOj':function(_0x49d9bb,_0x10b34f){return _0x49d9bb(_0x10b34f);},'RgPMk':_0x3e7afe(0x19a),'wIIvS':_0x3e7afe(0x178)};this['logTestCaseFinished'](_0x407e82);if(_0x59aab2['JTQOj'](shouldProcessEventForTesthub,_0x59aab2[_0x3e7afe(0x167)]))try{this[_0x3e7afe(0xff)][_0x3e7afe(0x13f)]=this['report'][_0x3e7afe(0x13f)]||{},this[_0x3e7afe(0xff)][_0x3e7afe(0x13f)][_0x407e82[_0x3e7afe(0x15c)]]=_0x407e82,_testCasesData[_0x343026['id']]=Object[_0x3e7afe(0x135)]({},_0x343026);const _0x46ab2f=_0x407e82[_0x3e7afe(0x15c)],_0x10792d=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0xec)][_0x46ab2f][_0x3e7afe(0x1be)],_0xff3826=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0x1b9)][_0x10792d],_0x2eac12=_0xff3826[_0x3e7afe(0x17b)],_0x28551d=_0x349132[_0x3e7afe(0xf4)][_0x3e7afe(0x13a)][_0x2eac12],_0x17ae17=this['getGherkinDocument'](_0x349132,_0x28551d),_0x2cda24=_0x17ae17[_0x3e7afe(0x166)],_0x2f23dc=_tests[_0x10792d];_0x2f23dc&&(delete _tests[_0x10792d],_0x2f23dc[_0x3e7afe(0x146)]=new Date()[_0x3e7afe(0x11e)]());if(BrowserstackCLI['getInstance']()[_0x3e7afe(0x17a)]()&&await this['isCLIReady']()){const _0x55020d=await cucumberUtils['createTestFrameworkData'](_0x2f23dc,_0x28551d,_0x343026,_0x17ae17,_0x46ab2f,_0x59aab2['RgPMk']),_0x2f2459={};_0x2f2459[_0x3e7afe(0x178)]=_0x55020d,await BrowserstackCLI['getInstance']()[_0x3e7afe(0x12f)]()[_0x3e7afe(0x104)](TestFrameworkState[_0x3e7afe(0x1a2)],HookState['POST'],_0x2f2459);const _0x561c67={};_0x561c67['testUUID']=_0x407e82[_0x3e7afe(0x15c)],_0x561c67['type']=_0x59aab2['wIIvS'],await BrowserstackCLI[_0x3e7afe(0x130)]()[_0x3e7afe(0x12f)]()['trackEvent'](TestFrameworkState['LOG_REPORT'],HookState[_0x3e7afe(0x17c)],_0x561c67);return;}await testObservabilityReporter[_0x3e7afe(0x14c)](_0x343026,_0x17ae17,_0x28551d,_0x59aab2[_0x3e7afe(0x167)],_0x2f23dc);}catch(_0x4abc22){logger[_0x3e7afe(0x172)](_0x3e7afe(0x16c)+util[_0x3e7afe(0x11a)](_0x4abc22));}}async['onTestStepStarted'](_0x49674d,_0x56902f){const _0xebbdd2=a6_0x179b9b,_0x353ba2={'WtbxG':function(_0x409de0,_0x2fbe0c){return _0x409de0(_0x2fbe0c);},'CNScw':_0xebbdd2(0x1bd),'mjZfu':function(_0x1d22c6,_0x15f3fc){return _0x1d22c6!==_0x15f3fc;},'Skeef':_0xebbdd2(0x1bc)};if(_0x353ba2[_0xebbdd2(0x14d)](shouldProcessEventForTesthub,_0x353ba2[_0xebbdd2(0x16d)]))try{this[_0xebbdd2(0xff)][_0xebbdd2(0xf8)]=this['report'][_0xebbdd2(0xf8)]||{},this[_0xebbdd2(0xff)]['testStepStarted'][_0x49674d[_0xebbdd2(0x15c)]]=_0x49674d;const _0x35373d=_0x49674d[_0xebbdd2(0x15c)],_0x2f937c=_0x56902f['eventDataCollector'][_0xebbdd2(0xec)][_0x35373d][_0xebbdd2(0x1be)],_0x192061=this[_0xebbdd2(0xff)]['testCases']['find'](_0x213ed8=>_0x213ed8['id']===_0x2f937c)[_0xebbdd2(0x17b)],_0xd71ac5=this['report'][_0xebbdd2(0x142)][_0xebbdd2(0x120)](_0x44977e=>_0x44977e['id']===_0x192061),_0x130f5d=this[_0xebbdd2(0xff)][_0xebbdd2(0x128)][_0xebbdd2(0x120)](_0x57b046=>_0x57b046['id']===_0x2f937c)[_0xebbdd2(0x17f)],_0x1c4a07=this[_0xebbdd2(0xff)][_0xebbdd2(0xf8)][_0x35373d][_0xebbdd2(0x1bc)],_0x4a1755=_0x130f5d['find'](_0x179e27=>_0x179e27['id']===_0x1c4a07)[_0xebbdd2(0x13d)],_0x4bafa8=_0xd71ac5[_0xebbdd2(0x1bb)][_0xebbdd2(0x120)](_0x1d69dc=>_0x1d69dc['id']===_0x4a1755);if(_0x4a1755&&_tests[_0x2f937c]&&_0x353ba2[_0xebbdd2(0x162)](_tests[_0x2f937c][_0x353ba2[_0xebbdd2(0x110)]],_0x1c4a07)){_tests[_0x2f937c][_0x353ba2[_0xebbdd2(0x110)]]=_0x1c4a07;const _0x567186={};_0x567186[_0xebbdd2(0x1bb)]=[];const _0x414c85=_tests[_0x2f937c]||_0x567186;_0x414c85&&!_0x414c85[_0xebbdd2(0x1bb)]&&(_0x414c85[_0xebbdd2(0x1bb)]=[]),_0x414c85[_0xebbdd2(0x1bb)][_0xebbdd2(0xf7)]({'id':_0x4bafa8['id'],'text':_0x4bafa8[_0xebbdd2(0xfe)],'started_at':new Date()['toISOString']()}),_tests[_0x2f937c]=_0x414c85;}if(BrowserstackCLI[_0xebbdd2(0x130)]()['isCliEnabled']()&&await this[_0xebbdd2(0x12c)]()){const _0xcce3c8=await cucumberUtils[_0xebbdd2(0x1ac)](this['report'],_0x35373d,_0x353ba2[_0xebbdd2(0x16d)],_0x130f5d,_0x1c4a07,_tests[_0x2f937c]);_0xcce3c8&&await BrowserstackCLI[_0xebbdd2(0x130)]()[_0xebbdd2(0x12f)]()[_0xebbdd2(0x104)](TestFrameworkState[_0xcce3c8[_0xebbdd2(0x194)]],HookState[_0xebbdd2(0x105)],{'hookData':_0xcce3c8,'testUUID':_0x49674d[_0xebbdd2(0x15c)]});return;}await testObservabilityReporter['sendHook'](this[_0xebbdd2(0xff)],_0x35373d,_0x353ba2['CNScw'],_0x130f5d,_0x1c4a07,_tests[_0x2f937c]);}catch(_0x3d1c8d){logger[_0xebbdd2(0x172)]('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0xebbdd2(0x11a)](_0x3d1c8d));}}async['onTestStepFinished'](_0x28ce96,_0x485b99){const _0xcf35c7=a6_0x179b9b,_0x4c1aa5={'dRtly':function(_0x5879ed,_0x488e29){return _0x5879ed===_0x488e29;},'oxCby':'1|0|4|3|2','gJVjS':function(_0x5322f8,_0x13c7fd){return _0x5322f8(_0x13c7fd);},'okPxW':_0xcf35c7(0x10b),'qIEOa':function(_0x12974c,_0x6d952f){return _0x12974c===_0x6d952f;},'uolIf':_0xcf35c7(0x10f),'BdWHd':function(_0xede082,_0x3a89ef){return _0xede082===_0x3a89ef;},'fuKve':function(_0x1a2e9d,_0x16fff5){return _0x1a2e9d===_0x16fff5;},'yORPs':'UnhandledError','aKlGA':_0xcf35c7(0x1bc),'vsiOp':'HookRunStarted','wZYvT':_0xcf35c7(0x1ae)};this[_0xcf35c7(0xff)][_0xcf35c7(0x199)]=this[_0xcf35c7(0xff)]['testStepFinished']||{},this[_0xcf35c7(0xff)][_0xcf35c7(0x199)][_0x28ce96['testCaseStartedId']]=_0x28ce96;if(_0x4c1aa5[_0xcf35c7(0xf0)](shouldProcessEventForTesthub,_0x4c1aa5[_0xcf35c7(0x102)]))try{const _0x54d08b=_0x28ce96[_0xcf35c7(0x15c)],_0x27073c=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0xec)][_0x54d08b][_0xcf35c7(0x1be)],_0x2391b8=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0x1b9)][_0x27073c],_0x4ef86b=_0x2391b8['pickleId'],_0x2a38e4=_0x485b99[_0xcf35c7(0xf4)][_0xcf35c7(0x13a)][_0x4ef86b],_0xa0c9c5=_0x28ce96['testStepId'],_0x38b8f1=_0x2391b8[_0xcf35c7(0x17f)],_0x370662=this['eventDataCollector'][_0xcf35c7(0x19c)](_0x54d08b),_0x17b5a1=_0x38b8f1[_0xcf35c7(0x120)](_0x292571=>_0x292571['id']===_0xa0c9c5)[_0xcf35c7(0x13d)];let _0x3db075,_0x2c60c6;_0x28ce96[_0xcf35c7(0x119)]&&_0x4c1aa5[_0xcf35c7(0x10e)](_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x121)][_0xcf35c7(0x151)]()['toLowerCase'](),_0x4c1aa5[_0xcf35c7(0x124)])&&(_0x3db075=_0x4c1aa5[_0xcf35c7(0x152)](_0x28ce96['testStepResult'][_0xcf35c7(0xf1)],undefined)?_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x17e)]:_0x28ce96['testStepResult']['exception'][_0xcf35c7(0x17e)],_0x2c60c6=_0x4c1aa5[_0xcf35c7(0x134)](_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0xf1)],undefined)?_0x4c1aa5[_0xcf35c7(0x1a8)]:_0x28ce96[_0xcf35c7(0x119)]['message']);if(_0x17b5a1&&_tests[_0x27073c][_0x4c1aa5['aKlGA']]){const _0x1d8406=_0x2a38e4[_0xcf35c7(0x1bb)][_0xcf35c7(0x120)](_0x3a75f8=>_0x3a75f8['id']===_0x17b5a1),_0x2a1ba1={};_0x2a1ba1[_0xcf35c7(0x1bb)]=[];const _0x381824=_tests[_0x27073c]||_0x2a1ba1;!_0x381824['steps']?_0x381824[_0xcf35c7(0x1bb)]=[{'id':_0x1d8406['id'],'text':_0x1d8406['text'],'finished_at':new Date()[_0xcf35c7(0x11e)](),'result':_0x28ce96[_0xcf35c7(0x119)][_0xcf35c7(0x121)],'duration':_0x28ce96['testStepResult']['duration'][_0xcf35c7(0x15b)],'failure':_0x3db075,'failureType':_0x2c60c6}]:_0x381824[_0xcf35c7(0x1bb)][_0xcf35c7(0x12a)](_0x37a470=>{const _0x3dab95=_0xcf35c7;if(_0x4c1aa5[_0x3dab95(0x145)](_0x37a470['id'],_0x1d8406['id'])){const _0x1d6a3b=_0x4c1aa5[_0x3dab95(0x138)]['split']('|');let _0x35579a=0x0;while(!![]){switch(_0x1d6a3b[_0x35579a++]){case'0':_0x37a470['result']=_0x28ce96[_0x3dab95(0x119)][_0x3dab95(0x121)];continue;case'1':_0x37a470[_0x3dab95(0x126)]=new Date()[_0x3dab95(0x11e)]();continue;case'2':_0x37a470[_0x3dab95(0x11c)]=_0x2c60c6;continue;case'3':_0x37a470[_0x3dab95(0x183)]=_0x3db075;continue;case'4':_0x37a470[_0x3dab95(0x153)]=_0x28ce96[_0x3dab95(0x119)][_0x3dab95(0x153)][_0x3dab95(0x15b)];continue;}break;}}}),_tests[_0x27073c]=_0x381824;}delete _tests[_0x27073c][_0x4c1aa5[_0xcf35c7(0x133)]];if(BrowserstackCLI[_0xcf35c7(0x130)]()[_0xcf35c7(0x17a)]()&&await this['isCLIReady']()){const _0x881a2b=await cucumberUtils['createHookData'](this[_0xcf35c7(0xff)],_0x54d08b,_0x4c1aa5[_0xcf35c7(0x1b6)],_0x38b8f1,_0xa0c9c5,_tests[_0x27073c]);if(_0x881a2b){await BrowserstackCLI[_0xcf35c7(0x130)]()[_0xcf35c7(0x12f)]()['trackEvent'](TestFrameworkState[_0x881a2b[_0xcf35c7(0x194)]],HookState[_0xcf35c7(0x17c)],{'hookData':_0x881a2b,'testUUID':_0x28ce96[_0xcf35c7(0x15c)]});const _0x87524e={};_0x87524e['testUUID']=_0x28ce96[_0xcf35c7(0x15c)],_0x87524e[_0xcf35c7(0x107)]=_0x4c1aa5['wZYvT'],await BrowserstackCLI['getInstance']()['getTestFramework']()[_0xcf35c7(0x104)](TestFrameworkState[_0xcf35c7(0x143)],HookState['POST'],_0x87524e);}return;}await testObservabilityReporter['sendHook'](this[_0xcf35c7(0xff)],_0x54d08b,_0x4c1aa5[_0xcf35c7(0x102)],_0x38b8f1,_0xa0c9c5,_tests[_0x27073c]);}catch(_0x297587){logger[_0xcf35c7(0x172)](_0xcf35c7(0x1af)+util[_0xcf35c7(0x11a)](_0x297587));}}[a6_0x179b9b(0x1b7)](_0x431964){const _0x5b4821=a6_0x179b9b,_0x279a64={};return _0x431964[_0x5b4821(0x166)][_0x5b4821(0x160)]['map'](this[_0x5b4821(0x111)])[_0x5b4821(0x1ad)]()[_0x5b4821(0x12a)](_0x13b959=>_0x13b959[_0x5b4821(0x1bb)][_0x5b4821(0x12a)](_0x5cba6d=>_0x279a64[_0x5cba6d['id']]=_0x5cba6d)),_0x279a64;}[a6_0x179b9b(0x111)](_0x252762){const _0x2d848c=a6_0x179b9b,_0x566dca={'ohoKX':function(_0xc591a8,_0x857a3f){return _0xc591a8(_0x857a3f);},'xWNWs':function(_0x320321,_0x467a23){return _0x320321(_0x467a23);}};if(!_0x566dca[_0x2d848c(0x192)](isUndefined,_0x252762['background']))return[_0x252762[_0x2d848c(0x148)]];else{if(!_0x566dca['xWNWs'](isUndefined,_0x252762['rule']))return _0x252762[_0x2d848c(0x189)][_0x2d848c(0x160)][_0x2d848c(0x13e)](_0x428eac=>!isUndefined(_0x428eac['background'])?_0x428eac[_0x2d848c(0x148)]:_0x428eac[_0x2d848c(0x118)]);};return[_0x252762['scenario']];}['getGherkinDocument'](_0x3d4311,_0x317cfc){const _0x5c6157=a6_0x179b9b;return Object['values'](_0x3d4311[_0x5c6157(0xf4)][_0x5c6157(0x185)])[_0x5c6157(0x120)](_0x452b7d=>_0x452b7d['uri']===_0x317cfc['uri']);}async[a6_0x179b9b(0x19e)](){const _0x16386d=a6_0x179b9b;if(this[_0x16386d(0x19b)])return this[_0x16386d(0x19b)];return this[_0x16386d(0x19b)]=this[_0x16386d(0x17d)](),this[_0x16386d(0x19b)];}async[a6_0x179b9b(0x17d)](){const _0x1bacb0=a6_0x179b9b,_0x5315da={'iEbse':_0x1bacb0(0x11d),'BhOFl':function(_0x5726af,_0xfea852){return _0x5726af(_0xfea852);},'MKzsY':_0x1bacb0(0x113),'yVBLY':function(_0x1d2075,_0x1c2505){return _0x1d2075(_0x1c2505);},'nYnAB':_0x1bacb0(0x1a5)};try{const _0x553fd0=BrowserstackCLI[_0x1bacb0(0x130)]();if(_0x553fd0[_0x1bacb0(0x141)]())return logger[_0x1bacb0(0x172)]('CLI\x20already\x20running\x20-\x20binSessionId:\x20'+_0x553fd0['binSessionId']),!![];const _0x4df165=process[_0x1bacb0(0x114)][_0x1bacb0(0x174)];if(!_0x4df165)return logger[_0x1bacb0(0x172)](_0x5315da[_0x1bacb0(0xf2)]),![];const _0x52ac47=_0x5315da[_0x1bacb0(0x14f)](require,_0x5315da[_0x1bacb0(0x197)]),{FRAMEWORKS:_0x294140}=_0x5315da['yVBLY'](require,_0x5315da[_0x1bacb0(0x15d)]);return _0x52ac47[_0x1bacb0(0x131)](_0x294140[_0x1bacb0(0x16f)],_0x294140[_0x1bacb0(0x1aa)]),logger[_0x1bacb0(0x172)]('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x4df165),await _0x553fd0[_0x1bacb0(0x115)](),logger['debug']('CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20'+_0x553fd0[_0x1bacb0(0x141)]()+',\x20binSessionId:\x20'+_0x553fd0['binSessionId']),_0x553fd0['isRunning']();}catch(_0x4cd347){return logger[_0x1bacb0(0x172)](_0x1bacb0(0xee)+util[_0x1bacb0(0x11a)](_0x4cd347)),![];}}async[a6_0x179b9b(0x12c)](){const _0x244174=a6_0x179b9b;try{return await this[_0x244174(0x19e)](),BrowserstackCLI[_0x244174(0x130)]()['isRunning']();}catch(_0x4d77b1){return logger['debug'](_0x244174(0x10c)+util[_0x244174(0x11a)](_0x4d77b1)),![];}}}module[a6_0x179b9b(0x170)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x179b9b(0x169),a6_0x179b9b(0x1b1),'onTestStepStarted',a6_0x179b9b(0x164),a6_0x179b9b(0x100),'onTestRunFinished',a6_0x179b9b(0x111),'getGherkinDocument',a6_0x179b9b(0x1b7)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7_0x2ce1a1=a7_0xaf8e;(function(_0x3f205f,_0x3a42ad){const _0x556cc7=a7_0xaf8e,_0x2e82e3=_0x3f205f();while(!![]){try{const _0x4c28fb=-parseInt(_0x556cc7(0xc3))/0x1*(-parseInt(_0x556cc7(0xca))/0x2)+-parseInt(_0x556cc7(0xc9))/0x3*(parseInt(_0x556cc7(0xff))/0x4)+-parseInt(_0x556cc7(0xbb))/0x5*(-parseInt(_0x556cc7(0xc8))/0x6)+parseInt(_0x556cc7(0xc4))/0x7*(-parseInt(_0x556cc7(0xab))/0x8)+-parseInt(_0x556cc7(0xe5))/0x9+-parseInt(_0x556cc7(0xd6))/0xa+parseInt(_0x556cc7(0x102))/0xb*(parseInt(_0x556cc7(0xf0))/0xc);if(_0x4c28fb===_0x3a42ad)break;else _0x2e82e3['push'](_0x2e82e3['shift']());}catch(_0x21db0e){_0x2e82e3['push'](_0x2e82e3['shift']());}}}(a7_0x1984,0xe5ed0));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x2ce1a1(0xe8)),{Formatter}=requireModule(a7_0x2ce1a1(0xbc)),pickleParser=requireModule(a7_0x2ce1a1(0xbd),a7_0x2ce1a1(0xbc));function a7_0xaf8e(_0x5cc347,_0x1457c4){const _0x19849e=a7_0x1984();return a7_0xaf8e=function(_0xaf8ecf,_0x57ac96){_0xaf8ecf=_0xaf8ecf-0xa9;let _0x3f9ba6=_0x19849e[_0xaf8ecf];return _0x3f9ba6;},a7_0xaf8e(_0x5cc347,_0x1457c4);}class BrowserstackFormatter extends Formatter{constructor(_0x2f55af){const _0x56b81c=a7_0x2ce1a1,_0x393580={'ctmDI':function(_0x1348ba,_0x271120){return _0x1348ba!==_0x271120;},'zDBOQ':function(_0x15e7b1,_0x49f860){return _0x15e7b1(_0x49f860);},'VBfxN':_0x56b81c(0xe1),'IlFSm':_0x56b81c(0xee),'hCbHe':'test-case-finished','JikXA':_0x56b81c(0xb2),'lermm':_0x56b81c(0xd8)};super(_0x2f55af),_0x2f55af[_0x56b81c(0xb9)]['on'](_0x393580['VBfxN'],()=>{const _0x52db81=_0x56b81c;let _0x2a940b;if(_0x393580['ctmDI'](process[_0x52db81(0xdd)][_0x52db81(0xe9)],undefined)){const _0x3198a4=JSON[_0x52db81(0xaa)](process['env'][_0x52db81(0xe9)]);_0x2a940b=_0x3198a4[_0x52db81(0xcd)];}_0x393580['ctmDI'](_0x2a940b,undefined)&&(global[_0x52db81(0xb6)]=_0x393580['zDBOQ'](getPlatformName,_0x2a940b),console[_0x52db81(0xef)](_0x52db81(0xb5)+global['__platform']));}),_0x2f55af['eventBroadcaster']['on'](_0x393580['IlFSm'],()=>{testSuites+=0x1;}),_0x2f55af[_0x56b81c(0xb9)]['on'](_0x393580['hCbHe'],_0x3e189a=>{const _0x4ac6aa=_0x56b81c;this[_0x4ac6aa(0xce)](_0x3e189a);}),_0x2f55af['eventBroadcaster']['on'](_0x393580[_0x56b81c(0xb0)],()=>{totalTests-=0x2;}),_0x2f55af[_0x56b81c(0xb9)]['on'](_0x393580[_0x56b81c(0xae)],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x4ada5d){const _0x493692=a7_0x2ce1a1,_0x4e601e={'vNirX':_0x493692(0xcc),'JrpGe':'PASSED','RTDDI':'SKIPPED','Clshq':_0x493692(0xac),'dtDlQ':_0x493692(0xed),'LdLlS':_0x493692(0xf2),'hvSKv':_0x493692(0xc2),'UywqE':function(_0x16b66d,_0x2942e6){return _0x16b66d+_0x2942e6;},'wgQOI':function(_0x4f6f8a,_0x59daf9){return _0x4f6f8a+_0x59daf9;},'EDRMe':function(_0x10145c,_0x3a2c26){return _0x10145c+_0x3a2c26;},'pZwtq':_0x493692(0xf1),'gAWJi':_0x493692(0xf8),'Sqzcl':function(_0x1e1202,_0x5d6110){return _0x1e1202(_0x5d6110);},'aRwuC':_0x493692(0x100),'hpswa':_0x493692(0xdc),'yksoR':function(_0x4f807f,_0x1cc891){return _0x4f807f+_0x1cc891;},'QHEev':_0x493692(0xfc),'yaVbB':function(_0x1e8a0b,_0x59f41a){return _0x1e8a0b===_0x59f41a;},'ypDMH':function(_0x43b3dd,_0x3cca11,_0x1dfc62){return _0x43b3dd(_0x3cca11,_0x1dfc62);},'kVVEa':_0x493692(0xeb),'HhdMu':_0x493692(0xe2),'vMGWW':_0x493692(0xd4),'DxsAC':function(_0x290bff,_0x19741a){return _0x290bff!==_0x19741a;},'DRCDP':_0x493692(0xc5),'OSPVA':function(_0x288e61,_0x40afba){return _0x288e61+_0x40afba;},'aqkSB':function(_0x18d23d,_0x307592){return _0x18d23d<_0x307592;},'JyALW':function(_0x9b31f9,_0x1440bf){return _0x9b31f9+_0x1440bf;},'XSEvq':function(_0x1031e1,_0x3b8375){return _0x1031e1+_0x3b8375;},'xFpzG':function(_0x404c1d,_0x3be98b){return _0x404c1d+_0x3be98b;},'htoFi':function(_0x27166a,_0x25560a){return _0x27166a===_0x25560a;},'UnVIr':function(_0x305168,_0x475687){return _0x305168+_0x475687;},'PEzpt':function(_0x1d397b,_0x6be6cf){return _0x1d397b+_0x6be6cf;}};let _0x97bd26=![];function _0x33f4a1(_0x41a257){const _0x373ae0=_0x493692;switch(_0x41a257){case _0x4e601e[_0x373ae0(0xd2)]:testsFailed+=0x1;break;case _0x4e601e[_0x373ae0(0xf7)]:testsPassed+=0x1;break;case _0x4e601e[_0x373ae0(0xcb)]:testsSkipped+=0x1;break;case _0x4e601e['Clshq']:testsPending+=0x1;break;case _0x4e601e[_0x373ae0(0xbf)]:testsUndefined+=0x1;break;case _0x4e601e['LdLlS']:testsUnknown+=0x1;break;case _0x4e601e[_0x373ae0(0xd3)]:testsAmbiguous+=0x1;break;default:break;}}_0x4e601e[_0x493692(0xe7)](global[_0x493692(0xb6)],undefined)&&console[_0x493692(0xef)](_0x4e601e[_0x493692(0xdb)](_0x4e601e[_0x493692(0xdb)]('\x0a',global[_0x493692(0xb6)]),'\x0a'));let _0x6cd247=![];if(_0x4e601e[_0x493692(0xe7)](typeof this[_0x493692(0xf3)][_0x493692(0xba)],_0x4e601e[_0x493692(0xf4)])){var _0x25e3a8=this[_0x493692(0xf3)][_0x493692(0xba)](_0x4ada5d['sourceLocation']),_0x4c00fb=_0x25e3a8[_0x493692(0xc7)],_0x37c8c6=_0x25e3a8['testCase'];console[_0x493692(0xef)](_0x4e601e[_0x493692(0xd1)]('\x20\x20',_0x4c00fb[_0x493692(0xfe)]));var _0x18fc9b=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x4c00fb);_0x37c8c6[_0x493692(0xe4)][_0x493692(0xe6)](function(_0x148f07){const _0x53890f=_0x493692;if(_0x148f07[_0x53890f(0xe0)]&&_0x148f07[_0x53890f(0xb7)])_0x97bd26=!![],console[_0x53890f(0xef)](_0x4e601e['UywqE'](_0x4e601e[_0x53890f(0xb4)](_0x4e601e[_0x53890f(0xe3)](_0x4e601e[_0x53890f(0xd9)],_0x18fc9b[_0x148f07[_0x53890f(0xb7)]['line']][_0x53890f(0xc6)]),_0x4e601e[_0x53890f(0xfd)]),_0x148f07[_0x53890f(0xeb)][_0x53890f(0x104)][_0x53890f(0xd5)]())),_0x4e601e[_0x53890f(0xad)](_0x33f4a1,_0x148f07[_0x53890f(0xeb)][_0x53890f(0x104)][_0x53890f(0xd5)]());else _0x148f07[_0x53890f(0xe0)]&&(!_0x148f07[_0x53890f(0xe0)][_0x53890f(0xcf)][_0x53890f(0xc1)](_0x4e601e[_0x53890f(0xbe)])&&(_0x4e601e[_0x53890f(0xad)](_0x33f4a1,_0x148f07['result']['status'][_0x53890f(0xd5)]()),_0x97bd26?console[_0x53890f(0xef)](_0x4e601e[_0x53890f(0xb4)](_0x4e601e[_0x53890f(0xb1)],_0x148f07['result'][_0x53890f(0x104)][_0x53890f(0xd5)]())):console[_0x53890f(0xef)](_0x4e601e['yksoR'](_0x4e601e[_0x53890f(0x101)],_0x148f07['result'][_0x53890f(0x104)][_0x53890f(0xd5)]()))));if(_0x4e601e[_0x53890f(0xf9)](_0x148f07['result'][_0x53890f(0x104)][_0x53890f(0xd5)](),_0x4e601e[_0x53890f(0xd2)])){const _0x36ee02=_0x4e601e[_0x53890f(0xd0)](nestedKeyValue,_0x148f07,[_0x4e601e['kVVEa'],_0x4e601e[_0x53890f(0xa9)],_0x4e601e[_0x53890f(0xb3)]]);_0x36ee02&&(testsErrorMessage[_0x4c00fb[_0x53890f(0xfe)]]=_0x36ee02,console['log'](_0x4e601e[_0x53890f(0xb4)](_0x36ee02,'\x0a'))),_0x6cd247=!![];}});}else{const _0x99306f=this[_0x493692(0xf3)][_0x493692(0xfa)](_0x4ada5d);console[_0x493692(0xef)](_0x4e601e[_0x493692(0xdb)](_0x4e601e[_0x493692(0xb4)](_0x4e601e[_0x493692(0xd1)]('\x20\x20',_0x99306f[_0x493692(0xfb)][_0x493692(0xd7)][_0x493692(0xfe)]),_0x4e601e[_0x493692(0xfd)]),_0x99306f[_0x493692(0xc7)][_0x493692(0xfe)]));const _0x147903=(0x0,pickleParser[_0x493692(0xdf)])(_0x99306f['pickle']),_0x179325=_0x99306f[_0x493692(0xf6)]['steps'],_0x556cda=_0x99306f['stepResults'],_0x2940e3=_0x179325[_0x493692(0x103)];for(let _0x788d77=0x0;_0x4e601e[_0x493692(0xea)](_0x788d77,_0x2940e3);_0x788d77++){const _0x5ac0bb=_0x179325[_0x788d77];if(_0x5ac0bb[_0x493692(0xe0)]&&_0x5ac0bb[_0x493692(0xb7)])_0x97bd26=!![],console[_0x493692(0xef)](_0x4e601e[_0x493692(0xaf)](_0x4e601e[_0x493692(0xb4)](_0x4e601e['EDRMe'](_0x4e601e[_0x493692(0xd9)],_0x147903[_0x5ac0bb[_0x493692(0xb7)][_0x493692(0xf5)]][_0x493692(0xc6)]),_0x4e601e[_0x493692(0xfd)]),_0x556cda[_0x788d77][_0x493692(0x104)][_0x493692(0xd5)]())),_0x4e601e['Sqzcl'](_0x33f4a1,_0x556cda[_0x788d77][_0x493692(0x104)][_0x493692(0xd5)]());else _0x5ac0bb[_0x493692(0xe0)]&&(!_0x5ac0bb[_0x493692(0xe0)][_0x493692(0xcf)]['includes'](_0x4e601e['aRwuC'])&&(_0x4e601e[_0x493692(0xad)](_0x33f4a1,_0x556cda[_0x788d77][_0x493692(0x104)][_0x493692(0xd5)]()),_0x97bd26?console[_0x493692(0xef)](_0x4e601e['XSEvq'](_0x4e601e[_0x493692(0xb1)],_0x556cda[_0x788d77]['status'][_0x493692(0xd5)]())):console['log'](_0x4e601e[_0x493692(0xda)](_0x4e601e[_0x493692(0x101)],_0x556cda[_0x788d77][_0x493692(0x104)][_0x493692(0xd5)]()))));if(_0x4e601e[_0x493692(0xc0)](_0x556cda[_0x788d77]['status'][_0x493692(0xd5)](),_0x4e601e['vNirX'])){_0x6cd247=!![];const _0x28bb12=_0x4e601e[_0x493692(0xd0)](nestedKeyValue,_0x556cda[_0x788d77],[_0x4e601e['HhdMu'],_0x4e601e[_0x493692(0xb3)]]);_0x28bb12&&(testsErrorMessage[_0x4e601e[_0x493692(0xb8)](_0x4e601e['UywqE'](_0x99306f[_0x493692(0xfb)]['feature'][_0x493692(0xfe)],_0x4e601e[_0x493692(0xfd)]),_0x99306f[_0x493692(0xc7)][_0x493692(0xfe)])]=_0x28bb12,console[_0x493692(0xef)](_0x4e601e[_0x493692(0xec)](_0x28bb12,'\x0a')));}}}_0x6cd247&&(testSuitesFailed+=0x1),console[_0x493692(0xef)]('\x0a');}}module[a7_0x2ce1a1(0xde)]=BrowserstackFormatter;function a7_0x1984(){const _0x497981=['test-run-started','exception','EDRMe','steps','7961553yKRsou','forEach','DxsAC','../../../helpers/helper','CONFIG','aqkSB','result','PEzpt','UNDEFINED','test-case-started','log','180ZScEYb','\x20\x20\x20\x20','UNKNOWN','eventDataCollector','DRCDP','line','testCase','JrpGe','\x20-\x20','yaVbB','getTestCaseAttempt','gherkinDocument','\x20\x20\x20\x20BEFORE\x20-\x20','gAWJi','name','80HjEDSN','cucumber-js/test_old.setup.js','QHEev','1984169jRmLxo','length','status','HhdMu','parse','103336mwakpJ','PENDING','Sqzcl','lermm','JyALW','JikXA','hpswa','test-run-finished','vMGWW','wgQOI','Executing\x20tests\x20for\x20','__platform','sourceLocation','UnVIr','eventBroadcaster','getTestCaseData','107140czFubR','cucumber','cucumber/lib/formatter/helpers/pickle_parser.js','aRwuC','dtDlQ','htoFi','includes','AMBIGUOUS','24709VFihQJ','791cSRNma','undefined','text','pickle','222mfBcPl','80763vKDvmn','134HrJlvS','RTDDI','FAILED','capability','logTestCaseFinished','uri','ypDMH','OSPVA','vNirX','hvSKv','stack','toUpperCase','13295900zsSAem','feature','test-step-started','pZwtq','xFpzG','yksoR','\x20\x20\x20\x20AFTER\x20-\x20','env','exports','getStepLineToPickledStepMap','actionLocation'];a7_0x1984=function(){return _0x497981;};return a7_0x1984();}
|
|
1
|
+
const a7_0xaf057=a7_0x98c1;function a7_0x35c3(){const _0x29052c=['mgsMM','stack','test-run-finished','sourceLocation','result','parse','2hIaJda','eventBroadcaster','ebIJR','__platform','test-run-started','\x20\x20\x20\x20','getTestCaseData','KXWVK','AJCmW','forEach','oUWJw','length','UNDEFINED','7898fhmnPc','LtEBw','oWreA','1330104sZLjar','MlTKq','env','getStepLineToPickledStepMap','status','line','../../../helpers/helper','nHugs','20unAQLv','GgBhm','jDszc','YfTSl','FktXF','log','testCase','3750WuiJyK','Oyvam','PENDING','TTrgd','capability','logTestCaseFinished','exception','\x20\x20\x20\x20BEFORE\x20-\x20','idUvs','CONFIG','steps','dNRNx','dmhbJ','cucumber/lib/formatter/helpers/pickle_parser.js','AMBIGUOUS','gSYHG','OKyGq','704747eHJWeB','JNiEQ','toUpperCase','pickle','wIWuN','21XAEmoR','qvDem','aXPZM','UNKNOWN','test-step-started','nyHUE','cucumber','undefined','uri','actionLocation','Executing\x20tests\x20for\x20','1437849NhqFzN','EekPY','ugIwv','test-case-finished','654224lowEHk','132612qsEMTS','text','feature','cZKKS','BeBhx','gherkinDocument','\x20\x20\x20\x20AFTER\x20-\x20','eventDataCollector','BQSeR','bwKtm','812607qdqIzN','name','gvzll','FAILED','VnAze','LgdUG','exports','aHhUK'];a7_0x35c3=function(){return _0x29052c;};return a7_0x35c3();}(function(_0x3aca7e,_0x5a2b98){const _0x558f66=a7_0x98c1,_0x15ebe2=_0x3aca7e();while(!![]){try{const _0x512580=-parseInt(_0x558f66(0x170))/0x1*(-parseInt(_0x558f66(0x140))/0x2)+-parseInt(_0x558f66(0x132))/0x3+parseInt(_0x558f66(0x127))/0x4+parseInt(_0x558f66(0x158))/0x5*(-parseInt(_0x558f66(0x128))/0x6)+parseInt(_0x558f66(0x175))/0x7*(-parseInt(_0x558f66(0x150))/0x8)+parseInt(_0x558f66(0x123))/0x9+parseInt(_0x558f66(0x15f))/0xa*(parseInt(_0x558f66(0x14d))/0xb);if(_0x512580===_0x5a2b98)break;else _0x15ebe2['push'](_0x15ebe2['shift']());}catch(_0x56f4c7){_0x15ebe2['push'](_0x15ebe2['shift']());}}}(a7_0x35c3,0x6b3d0));function a7_0x98c1(_0x58b92c,_0x3d1b2){const _0x35c3f9=a7_0x35c3();return a7_0x98c1=function(_0x98c197,_0x6613e6){_0x98c197=_0x98c197-0x11e;let _0x26db0e=_0x35c3f9[_0x98c197];return _0x26db0e;},a7_0x98c1(_0x58b92c,_0x3d1b2);}const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0xaf057(0x156)),{Formatter}=requireModule(a7_0xaf057(0x11e)),pickleParser=requireModule(a7_0xaf057(0x16c),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x5ed80f){const _0x1d4012=a7_0xaf057,_0x56284c={'BeBhx':function(_0x27cb5f,_0x4fd273){return _0x27cb5f!==_0x4fd273;},'gvzll':function(_0x588b53,_0x18758f){return _0x588b53!==_0x18758f;},'bwKtm':function(_0x32bbda,_0x36ba53){return _0x32bbda(_0x36ba53);},'AJCmW':_0x1d4012(0x144),'YfTSl':'test-case-started','ZYvdI':_0x1d4012(0x126),'gSYHG':_0x1d4012(0x13c),'qWmxi':_0x1d4012(0x179)};super(_0x5ed80f),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c[_0x1d4012(0x148)],()=>{const _0x58a5c3=_0x1d4012;let _0xa4e139;if(_0x56284c[_0x58a5c3(0x12c)](process[_0x58a5c3(0x152)][_0x58a5c3(0x168)],undefined)){const _0x5da202=JSON[_0x58a5c3(0x13f)](process[_0x58a5c3(0x152)][_0x58a5c3(0x168)]);_0xa4e139=_0x5da202[_0x58a5c3(0x163)];}_0x56284c[_0x58a5c3(0x134)](_0xa4e139,undefined)&&(global['__platform']=_0x56284c[_0x58a5c3(0x131)](getPlatformName,_0xa4e139),console[_0x58a5c3(0x15d)](_0x58a5c3(0x122)+global[_0x58a5c3(0x143)]));}),_0x5ed80f['eventBroadcaster']['on'](_0x56284c[_0x1d4012(0x15b)],()=>{testSuites+=0x1;}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c['ZYvdI'],_0x3b283a=>{const _0x1bf10d=_0x1d4012;this[_0x1bf10d(0x164)](_0x3b283a);}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c[_0x1d4012(0x16e)],()=>{totalTests-=0x2;}),_0x5ed80f[_0x1d4012(0x141)]['on'](_0x56284c['qWmxi'],()=>{totalTests+=0x1;});}[a7_0xaf057(0x164)](_0x3fda1e){const _0x35e810=a7_0xaf057,_0x13c8fe={'cZKKS':_0x35e810(0x135),'dmhbJ':'PASSED','FktXF':'SKIPPED','ptqkS':_0x35e810(0x161),'TTrgd':_0x35e810(0x14c),'wIWuN':_0x35e810(0x178),'dNRNx':_0x35e810(0x16d),'oUWJw':function(_0x1b2ae4,_0x4cc6cc){return _0x1b2ae4+_0x4cc6cc;},'LgdUG':function(_0x38d5ac,_0xf37a08){return _0x38d5ac+_0xf37a08;},'JNiEQ':_0x35e810(0x145),'GgBhm':'\x20-\x20','Oyvam':function(_0x400682,_0x4bff67){return _0x400682(_0x4bff67);},'LtEBw':'cucumber-js/test_old.setup.js','mgsMM':function(_0x13e0a0,_0x206b11){return _0x13e0a0(_0x206b11);},'aXPZM':function(_0x2f21ed,_0x54b6e9){return _0x2f21ed+_0x54b6e9;},'KXWVK':_0x35e810(0x12e),'BQSeR':_0x35e810(0x166),'MlTKq':function(_0x14c12c,_0x48c7b8){return _0x14c12c===_0x48c7b8;},'idUvs':function(_0xe1d5c6,_0x26c2b1,_0x303be2){return _0xe1d5c6(_0x26c2b1,_0x303be2);},'enDxx':_0x35e810(0x13e),'aHhUK':_0x35e810(0x165),'ebIJR':_0x35e810(0x13b),'EekPY':function(_0x1b6095,_0x52f24f){return _0x1b6095!==_0x52f24f;},'qvDem':function(_0x452949,_0x3885a0){return _0x452949+_0x3885a0;},'WIqbl':_0x35e810(0x11f),'OKyGq':function(_0x4ead84,_0xdacb28){return _0x4ead84+_0xdacb28;},'nHugs':function(_0x5db409,_0x453bb4){return _0x5db409+_0x453bb4;},'vKoDU':function(_0x185558,_0x49e1be){return _0x185558+_0x49e1be;},'ugIwv':function(_0x7f0e08,_0x2a36e5){return _0x7f0e08<_0x2a36e5;},'VnAze':function(_0x439bb6,_0x5f0ab0){return _0x439bb6+_0x5f0ab0;},'oWreA':function(_0x3c57fd,_0x3af2c8){return _0x3c57fd+_0x3af2c8;},'jDszc':function(_0x5f51eb,_0x25e7ee){return _0x5f51eb===_0x25e7ee;},'nyHUE':function(_0x5d937a,_0x4363a3){return _0x5d937a+_0x4363a3;}};let _0x57a330=![];function _0x2b28f5(_0xe99478){const _0x367d12=_0x35e810;switch(_0xe99478){case _0x13c8fe[_0x367d12(0x12b)]:testsFailed+=0x1;break;case _0x13c8fe[_0x367d12(0x16b)]:testsPassed+=0x1;break;case _0x13c8fe[_0x367d12(0x15c)]:testsSkipped+=0x1;break;case _0x13c8fe['ptqkS']:testsPending+=0x1;break;case _0x13c8fe[_0x367d12(0x162)]:testsUndefined+=0x1;break;case _0x13c8fe[_0x367d12(0x174)]:testsUnknown+=0x1;break;case _0x13c8fe[_0x367d12(0x16a)]:testsAmbiguous+=0x1;break;default:break;}}_0x13c8fe[_0x35e810(0x124)](global[_0x35e810(0x143)],undefined)&&console[_0x35e810(0x15d)](_0x13c8fe['oUWJw'](_0x13c8fe[_0x35e810(0x176)]('\x0a',global[_0x35e810(0x143)]),'\x0a'));let _0x6948b9=![];if(_0x13c8fe['EekPY'](typeof this[_0x35e810(0x12f)][_0x35e810(0x146)],_0x13c8fe['WIqbl'])){var _0x300a1d=this[_0x35e810(0x12f)][_0x35e810(0x146)](_0x3fda1e[_0x35e810(0x13d)]),_0x1e7ec6=_0x300a1d[_0x35e810(0x173)],_0x52b653=_0x300a1d[_0x35e810(0x15e)];console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x16f)]('\x20\x20',_0x1e7ec6[_0x35e810(0x133)]));var _0x3ecfca=(0x0,pickleParser[_0x35e810(0x153)])(_0x1e7ec6);_0x52b653[_0x35e810(0x169)][_0x35e810(0x149)](function(_0x3034ac){const _0x2ce85b=_0x35e810;if(_0x3034ac['actionLocation']&&_0x3034ac[_0x2ce85b(0x13d)])_0x57a330=!![],console[_0x2ce85b(0x15d)](_0x13c8fe[_0x2ce85b(0x14a)](_0x13c8fe[_0x2ce85b(0x137)](_0x13c8fe[_0x2ce85b(0x14a)](_0x13c8fe[_0x2ce85b(0x171)],_0x3ecfca[_0x3034ac[_0x2ce85b(0x13d)]['line']]['text']),_0x13c8fe['GgBhm']),_0x3034ac['result'][_0x2ce85b(0x154)][_0x2ce85b(0x172)]())),_0x13c8fe['Oyvam'](_0x2b28f5,_0x3034ac['result']['status'][_0x2ce85b(0x172)]());else _0x3034ac[_0x2ce85b(0x121)]&&(!_0x3034ac[_0x2ce85b(0x121)][_0x2ce85b(0x120)]['includes'](_0x13c8fe[_0x2ce85b(0x14e)])&&(_0x13c8fe[_0x2ce85b(0x13a)](_0x2b28f5,_0x3034ac[_0x2ce85b(0x13e)][_0x2ce85b(0x154)][_0x2ce85b(0x172)]()),_0x57a330?console['log'](_0x13c8fe[_0x2ce85b(0x177)](_0x13c8fe[_0x2ce85b(0x147)],_0x3034ac[_0x2ce85b(0x13e)]['status']['toUpperCase']())):console[_0x2ce85b(0x15d)](_0x13c8fe['aXPZM'](_0x13c8fe[_0x2ce85b(0x130)],_0x3034ac[_0x2ce85b(0x13e)][_0x2ce85b(0x154)][_0x2ce85b(0x172)]()))));if(_0x13c8fe[_0x2ce85b(0x151)](_0x3034ac['result'][_0x2ce85b(0x154)][_0x2ce85b(0x172)](),_0x13c8fe[_0x2ce85b(0x12b)])){const _0x18151a=_0x13c8fe[_0x2ce85b(0x167)](nestedKeyValue,_0x3034ac,[_0x13c8fe['enDxx'],_0x13c8fe[_0x2ce85b(0x139)],_0x13c8fe[_0x2ce85b(0x142)]]);_0x18151a&&(testsErrorMessage[_0x1e7ec6[_0x2ce85b(0x133)]]=_0x18151a,console[_0x2ce85b(0x15d)](_0x13c8fe[_0x2ce85b(0x14a)](_0x18151a,'\x0a'))),_0x6948b9=!![];}});}else{const _0x10ef41=this[_0x35e810(0x12f)]['getTestCaseAttempt'](_0x3fda1e);console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x16f)](_0x13c8fe[_0x35e810(0x157)](_0x13c8fe['vKoDU']('\x20\x20',_0x10ef41[_0x35e810(0x12d)][_0x35e810(0x12a)][_0x35e810(0x133)]),_0x13c8fe[_0x35e810(0x159)]),_0x10ef41['pickle']['name']));const _0x52e499=(0x0,pickleParser[_0x35e810(0x153)])(_0x10ef41[_0x35e810(0x173)]),_0x8e4b5d=_0x10ef41[_0x35e810(0x15e)][_0x35e810(0x169)],_0x14a65a=_0x10ef41['stepResults'],_0x5369b1=_0x8e4b5d[_0x35e810(0x14b)];for(let _0x344131=0x0;_0x13c8fe[_0x35e810(0x125)](_0x344131,_0x5369b1);_0x344131++){const _0x9d348d=_0x8e4b5d[_0x344131];if(_0x9d348d[_0x35e810(0x121)]&&_0x9d348d[_0x35e810(0x13d)])_0x57a330=!![],console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x157)](_0x13c8fe[_0x35e810(0x14a)](_0x13c8fe[_0x35e810(0x136)](_0x13c8fe[_0x35e810(0x171)],_0x52e499[_0x9d348d[_0x35e810(0x13d)][_0x35e810(0x155)]][_0x35e810(0x129)]),_0x13c8fe[_0x35e810(0x159)]),_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]())),_0x13c8fe[_0x35e810(0x160)](_0x2b28f5,_0x14a65a[_0x344131][_0x35e810(0x154)]['toUpperCase']());else _0x9d348d[_0x35e810(0x121)]&&(!_0x9d348d['actionLocation'][_0x35e810(0x120)]['includes'](_0x13c8fe[_0x35e810(0x14e)])&&(_0x13c8fe[_0x35e810(0x13a)](_0x2b28f5,_0x14a65a[_0x344131]['status'][_0x35e810(0x172)]()),_0x57a330?console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x14f)](_0x13c8fe[_0x35e810(0x147)],_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]())):console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x176)](_0x13c8fe['BQSeR'],_0x14a65a[_0x344131][_0x35e810(0x154)][_0x35e810(0x172)]()))));if(_0x13c8fe[_0x35e810(0x15a)](_0x14a65a[_0x344131]['status'][_0x35e810(0x172)](),_0x13c8fe[_0x35e810(0x12b)])){_0x6948b9=!![];const _0x4884fa=_0x13c8fe[_0x35e810(0x167)](nestedKeyValue,_0x14a65a[_0x344131],[_0x13c8fe[_0x35e810(0x139)],_0x13c8fe[_0x35e810(0x142)]]);_0x4884fa&&(testsErrorMessage[_0x13c8fe['LgdUG'](_0x13c8fe[_0x35e810(0x157)](_0x10ef41[_0x35e810(0x12d)][_0x35e810(0x12a)]['name'],_0x13c8fe[_0x35e810(0x159)]),_0x10ef41[_0x35e810(0x173)]['name'])]=_0x4884fa,console[_0x35e810(0x15d)](_0x13c8fe[_0x35e810(0x17a)](_0x4884fa,'\x0a')));}}}_0x6948b9&&(testSuitesFailed+=0x1),console[_0x35e810(0x15d)]('\x0a');}}module[a7_0xaf057(0x138)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x28af03=a8_0x1d81;(function(_0x3112a8,_0x4dcabe){const _0x346287=a8_0x1d81,_0x570a17=_0x3112a8();while(!![]){try{const _0x296539=-parseInt(_0x346287(0x17a))/0x1*(-parseInt(_0x346287(0x19f))/0x2)+parseInt(_0x346287(0x165))/0x3+-parseInt(_0x346287(0x113))/0x4+-parseInt(_0x346287(0x16d))/0x5+-parseInt(_0x346287(0x128))/0x6+parseInt(_0x346287(0x198))/0x7*(parseInt(_0x346287(0x140))/0x8)+-parseInt(_0x346287(0x17f))/0x9*(parseInt(_0x346287(0x123))/0xa);if(_0x296539===_0x4dcabe)break;else _0x570a17['push'](_0x570a17['shift']());}catch(_0x1ddb68){_0x570a17['push'](_0x570a17['shift']());}}}(a8_0x383b,0x4ab2b));const path=require(a8_0x28af03(0x1a3)),util=require(a8_0x28af03(0x12a)),hooksMap={},SessionHandler=require(a8_0x28af03(0x178)),testhubUtils=require(a8_0x28af03(0x171)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x28af03(0x18e)),logger=require('../../helpers/logger')[a8_0x28af03(0x158)],{o11yClassErrorHandler}=require(a8_0x28af03(0x157)),{FRAMEWORKS}=require(a8_0x28af03(0x179)),TestDetails=require(a8_0x28af03(0x138));this[a8_0x28af03(0x127)]=![],this[a8_0x28af03(0x119)]=null;class TestObservabilityReporter{async[a8_0x28af03(0x199)](_0x2fab02,_0x26e8a4,_0x15250f,_0x4cf989,_0xa60a91){const _0x5f4754=a8_0x28af03,_0x3750b3={'GPsEg':function(_0x3837fe,_0x4d4d33){return _0x3837fe===_0x4d4d33;},'gLYhF':'FAILED','AlBbs':_0x5f4754(0x1a0),'GnNVe':function(_0x5c355c,_0x40e0d6){return _0x5c355c===_0x40e0d6;},'qOEHB':_0x5f4754(0x12e),'szHCW':_0x5f4754(0x196),'qzyWF':function(_0x206b4e,_0x188e9d){return _0x206b4e||_0x188e9d;},'UtYdB':function(_0x1eaf91,_0x3e4af6){return _0x1eaf91+_0x3e4af6;},'XKlwN':function(_0x260896,_0x375149){return _0x260896+_0x375149;},'QkWCB':_0x5f4754(0x12d),'zCLxB':'javascript','LwrjE':'cucumber','RHxqG':_0x5f4754(0x148),'fJidK':_0x5f4754(0x16a),'BXhIW':function(_0x1c8a98,_0x9bbd22){return _0x1c8a98!==_0x9bbd22;},'uctBT':function(_0x514d12,_0x19e2ff){return _0x514d12/_0x19e2ff;},'hPYzf':'strip-ansi','iCUNt':function(_0x63098c,_0x48a98a){return _0x63098c(_0x48a98a);},'LlGRr':_0x5f4754(0x181),'bnvWA':_0x5f4754(0x175),'IRoRo':_0x5f4754(0x11e),'odDrs':function(_0x318501,_0x32de1a){return _0x318501===_0x32de1a;},'IwgZB':_0x5f4754(0x18d),'Adkoa':function(_0x5129ee,_0x214654){return _0x5129ee>_0x214654;}},{feature:_0x56a951,scenario:_0x54851b,steps:_0x559c0f,uuid:_0x4757c9,startedAt:_0x27b7e5,finishedAt:_0x591d7f}=_0x3750b3[_0x5f4754(0x13a)](_0xa60a91,{}),_0x3e5b88=this[_0x5f4754(0x156)](_0x26e8a4,_0x15250f);await this[_0x5f4754(0x11b)]();const _0x5643bb=_0x3e5b88?_0x3750b3[_0x5f4754(0x13f)](_0x3750b3[_0x5f4754(0x131)](_0x3750b3[_0x5f4754(0x13f)](_0x15250f['name'],'\x20('),_0x3e5b88[_0x5f4754(0x120)](',\x20')),')'):_0x15250f[_0x5f4754(0x116)],_0x199763={'uuid':_0x4757c9,'started_at':_0x27b7e5,'finished_at':_0x591d7f,'type':_0x3750b3[_0x5f4754(0x13d)],'body':{'lang':_0x3750b3['zCLxB'],'code':null},'name':_0x5643bb,'scopes':[_0x56a951&&_0x56a951[_0x5f4754(0x116)]?_0x56a951[_0x5f4754(0x116)]:''],'tags':_0x15250f['tags']?_0x15250f['tags'][_0x5f4754(0x153)](({name:_0x41912b})=>_0x41912b):[],'file_name':_0x15250f[_0x5f4754(0x195)],'location':_0x15250f[_0x5f4754(0x195)],'vc_filepath':this[_0x5f4754(0x119)]&&_0x15250f[_0x5f4754(0x195)]?path[_0x5f4754(0x16c)](this[_0x5f4754(0x119)],_0x15250f['uri']):null,'framework':_0x3750b3[_0x5f4754(0x1a2)],'result':_0x3750b3[_0x5f4754(0x15f)],'meta':{'feature':_0x56a951,'scenario':_0x54851b,'steps':_0x559c0f,'examples':_0x3e5b88},'customRerunParam':{'rerun_name':_0x5643bb}};if(_0x2fab02[_0x5f4754(0x169)]&&_0x559c0f){const _0x428360=_0x2fab02[_0x5f4754(0x169)];let _0x3f149c=_0x3750b3['fJidK'];_0x559c0f[_0x5f4754(0x16f)](_0x160806=>{const _0x146dab=_0x5f4754;if(_0x3750b3[_0x146dab(0x155)](_0x160806[_0x146dab(0x129)],_0x3750b3[_0x146dab(0x1a6)]))return _0x3f149c=_0x3750b3['AlBbs'],_0x428360[_0x146dab(0x145)]=_0x160806['failure'],_0x428360[_0x146dab(0x176)]=_0x160806[_0x146dab(0x176)],![];else{if(_0x3750b3['GnNVe'](_0x160806['result'],_0x3750b3['qOEHB']))return _0x3f149c=_0x3750b3[_0x146dab(0x112)],![];}return!![];}),_0x199763[_0x5f4754(0x132)]=new Date()[_0x5f4754(0x161)](),_0x199763[_0x5f4754(0x129)]=_0x3f149c;_0x428360['timestamp']&&_0x3750b3[_0x5f4754(0x14c)](_0x428360[_0x5f4754(0x15e)][_0x5f4754(0x14e)],undefined)?_0x199763[_0x5f4754(0x18a)]=_0x3750b3[_0x5f4754(0x121)](_0x428360[_0x5f4754(0x15e)][_0x5f4754(0x14e)],0xf4240):_0x199763[_0x5f4754(0x18a)]=undefined;if(_0x3750b3[_0x5f4754(0x155)](_0x3f149c,_0x3750b3[_0x5f4754(0x11c)])){const {default:_0x50d1e1}=await import(_0x3750b3[_0x5f4754(0x115)]);_0x199763[_0x5f4754(0x145)]=[{'backtrace':[_0x428360['failure']?_0x3750b3['iCUNt'](_0x50d1e1,_0x428360[_0x5f4754(0x145)]):_0x3750b3[_0x5f4754(0x166)]]}],_0x199763[_0x5f4754(0x122)]=_0x428360[_0x5f4754(0x145)]?_0x3750b3[_0x5f4754(0x149)](_0x50d1e1,_0x428360[_0x5f4754(0x145)]):_0x428360[_0x5f4754(0x117)],_0x428360['failureType']&&(_0x199763[_0x5f4754(0x152)]=_0x428360[_0x5f4754(0x176)][_0x5f4754(0x144)](/AssertError/)?_0x3750b3[_0x5f4754(0x173)]:_0x3750b3[_0x5f4754(0x193)]);}}if(_0x3750b3[_0x5f4754(0x197)](_0x4cf989,_0x3750b3['IwgZB'])){const _0x4b56a5=this[_0x5f4754(0x168)](_0x2fab02[_0x5f4754(0x169)][_0x5f4754(0x12b)]);_0x4b56a5&&_0x3750b3[_0x5f4754(0x183)](_0x4b56a5[_0x5f4754(0x10f)],0x0)&&(_0x199763[_0x5f4754(0x15a)]=_0x4b56a5,this[_0x5f4754(0x133)](_0x2fab02[_0x5f4754(0x169)][_0x5f4754(0x12b)],_0x199763));}testhubUtils['appendTesthubParams'](_0x199763,_0x4cf989,'',FRAMEWORKS[_0x5f4754(0x11a)]);const _0x3e3009={};_0x3e3009[_0x5f4754(0x11d)]=_0x4cf989,_0x3e3009[_0x5f4754(0x159)]=_0x199763;const _0x50ec68=_0x3e3009;await SessionHandler['uploadEventData'](_0x50ec68);}['updateTestStatus'](_0x5f228b,_0x317de1){const _0x256207=a8_0x28af03,_0x4dfd00={};_0x4dfd00['ctfru']=function(_0x58cdb6,_0x4fd2d3){return _0x58cdb6 instanceof _0x4fd2d3;},_0x4dfd00[_0x256207(0x135)]=function(_0x453f52,_0x4ed74a){return _0x453f52===_0x4ed74a;},_0x4dfd00[_0x256207(0x110)]=_0x256207(0x1a0),_0x4dfd00[_0x256207(0x162)]=_0x256207(0x170);const _0x394305=_0x4dfd00,_0x50ed46=hooksMap[_0x5f228b];if(_0x394305['ctfru'](_0x50ed46,Array))for(const _0x525078 of _0x50ed46){if(_0x394305[_0x256207(0x135)](_0x525078[_0x256207(0x129)],_0x394305['irTdE'])){const _0x16880d=_0x394305[_0x256207(0x162)][_0x256207(0x19c)]('|');let _0x15341f=0x0;while(!![]){switch(_0x16880d[_0x15341f++]){case'0':_0x317de1[_0x256207(0x145)]=_0x525078[_0x256207(0x14d)];continue;case'1':_0x317de1[_0x256207(0x122)]=_0x394305[_0x256207(0x143)](_0x525078[_0x256207(0x14d)],Array)?_0x525078[_0x256207(0x14d)][0x0][_0x256207(0x147)]['join']('\x0a'):'';continue;case'2':return _0x317de1;case'3':_0x317de1['result']=_0x525078[_0x256207(0x129)];continue;case'4':_0x317de1[_0x256207(0x152)]=_0x525078[_0x256207(0x152)];continue;}break;}}};}[a8_0x28af03(0x168)](_0x1e54a8){const _0x3fee39=a8_0x28af03;if(hooksMap[_0x1e54a8])return hooksMap[_0x1e54a8][_0x3fee39(0x153)](_0x42e53a=>_0x42e53a[_0x3fee39(0x130)]);return[];}['getHookRunEventData'](_0x4e47f8,_0x2bb1a6,_0x32db5a,_0x89a05d,_0x26510e,_0x17d1f3){const _0xa465c=a8_0x28af03,_0x2901e5={'RuhaF':function(_0x51e6b3,_0x1d3f1e){return _0x51e6b3===_0x1d3f1e;},'goXWd':_0xa465c(0x11f),'eoghD':function(_0x2a77c2,_0x3d1c9d,_0x3d4f5b){return _0x2a77c2(_0x3d1c9d,_0x3d4f5b);},'VlzBe':_0xa465c(0x17b),'IcSdz':_0xa465c(0x195),'vvXHA':_0xa465c(0x148),'SzmIT':'hook','WqBeU':'javascript','aGjys':function(_0x3f5ba2,_0xcfefdc,_0x2fe9e0){return _0x3f5ba2(_0xcfefdc,_0x2fe9e0);},'wVFhy':_0xa465c(0x167),'QNUEE':'name','okOzZ':function(_0x4e1b27,_0x3394e0,_0x19936e){return _0x4e1b27(_0x3394e0,_0x19936e);},'yuQwl':_0xa465c(0x14b)};try{if(_0x2901e5[_0xa465c(0x17c)](_0x32db5a,_0x2901e5['goXWd'])){const _0x5f59b3=new Date()['toISOString'](),_0x5189a5=hooksMap[_0x2bb1a6];if(!_0x5189a5)return;const _0x3312c5=_0x5189a5[_0xa465c(0x188)](_0x5c16ab=>_0x5c16ab[_0xa465c(0x130)]===_0x89a05d['id']);if(!_0x3312c5)return;const _0x358f55=this[_0xa465c(0x18c)](_0x4e47f8,_0x2bb1a6);_0x3312c5[_0xa465c(0x129)]=_0x358f55[_0xa465c(0x190)],_0x3312c5[_0xa465c(0x132)]=_0x5f59b3,_0x3312c5[_0xa465c(0x152)]=_0x358f55[_0xa465c(0x176)];const _0x552ba7={};return _0x552ba7[_0xa465c(0x147)]=_0x358f55['failureData'],_0x3312c5[_0xa465c(0x14d)]=[_0x552ba7],_0x3312c5;}const _0x39d6e3=TestDetails['getTestUUID'](_0x2bb1a6),_0x264b43=_0x4e47f8[_0xa465c(0x15a)]['find'](_0x351b7=>_0x351b7['id']===_0x89a05d[_0xa465c(0x19a)]),_0x1f1e7c=_0x2901e5[_0xa465c(0x1a7)](nestedKeyValue,_0x264b43,[_0x2901e5[_0xa465c(0x187)],_0x2901e5[_0xa465c(0x118)]]),_0x17780d=new Date()[_0xa465c(0x161)](),_0x1ecf37=_0x2901e5['vvXHA'],_0x224d77=_0x264b43[_0xa465c(0x16e)]?_0x264b43[_0xa465c(0x16e)][_0xa465c(0x19c)]('\x20')[_0xa465c(0x186)](_0x1bea2c=>_0x1bea2c[_0xa465c(0x134)]('@')):[],_0x5eb8f1={'uuid':_0x89a05d['id'],'type':_0x2901e5[_0xa465c(0x141)],'hook_type':_0x17d1f3,'name':_0x264b43[_0xa465c(0x116)],'body':{'lang':_0x2901e5[_0xa465c(0x12c)],'code':null},'tags':_0x224d77,'test_run_id':_0x39d6e3,'scope':_0x2901e5[_0xa465c(0x19b)](nestedKeyValue,_0x26510e,[_0x2901e5[_0xa465c(0x139)],_0x2901e5[_0xa465c(0x164)]]),'scopes':[_0x2901e5[_0xa465c(0x163)](nestedKeyValue,_0x26510e,[_0x2901e5[_0xa465c(0x139)],_0x2901e5['QNUEE']])||''],'file_name':_0x1f1e7c,'location':_0x1f1e7c,'vc_filepath':this[_0xa465c(0x119)]?path['relative'](this['_gitConfigPath'],_0x1f1e7c):null,'result':_0x1ecf37,'started_at':_0x17780d,'framework':_0x2901e5[_0xa465c(0x1a4)]};return _0x5eb8f1;}catch(_0x572f16){logger[_0xa465c(0x15d)](_0xa465c(0x125)+util[_0xa465c(0x15b)](_0x572f16)+'\x20');}}async[a8_0x28af03(0x142)](_0x5b4139,_0x4b1588,_0x5b0c36,_0x5c0a66,_0x40ea6,_0x314015){const _0x2dc669=a8_0x28af03,_0x3d50fe={'kicvr':function(_0x52ddd5,_0x3ecf83){return _0x52ddd5===_0x3ecf83;},'NkvTn':_0x2dc669(0x150),'xyKay':function(_0x98d60d,_0x2ab507,_0x8968ea){return _0x98d60d(_0x2ab507,_0x8968ea);},'vctrR':'sourceReference','QouQr':'uri','bzuCl':_0x2dc669(0x15c)};try{const _0x45eb62=_0x5c0a66[_0x2dc669(0x188)](_0x2ee15c=>_0x2ee15c['id']===_0x40ea6);if(!_0x45eb62[_0x2dc669(0x19a)])return;const _0x2d651d=this['getCucumberHookType'](_0x5c0a66,_0x45eb62),_0x5b344c=this[_0x2dc669(0x184)](_0x5b4139,_0x4b1588,_0x5b0c36,_0x45eb62,_0x314015,_0x2d651d);if(!_0x5b344c)return;_0x3d50fe[_0x2dc669(0x126)](_0x5b0c36,_0x3d50fe[_0x2dc669(0x16b)])&&(hooksMap[_0x4b1588]?hooksMap[_0x4b1588][_0x2dc669(0x185)](_0x5b344c):hooksMap[_0x4b1588]=[_0x5b344c]);const _0x571d78=_0x5b4139['hooks'][_0x2dc669(0x188)](_0x31350d=>_0x31350d['id']===_0x45eb62[_0x2dc669(0x19a)]),_0xd28a08=_0x3d50fe[_0x2dc669(0x124)](nestedKeyValue,_0x571d78,[_0x3d50fe[_0x2dc669(0x19e)],_0x3d50fe['QouQr']]);if(!_0xd28a08)return;else{if(_0xd28a08[_0x2dc669(0x134)](_0x3d50fe['bzuCl']))return;}const _0x5c4fbc={};_0x5c4fbc['event_type']=_0x5b0c36,_0x5c4fbc[_0x2dc669(0x18b)]=_0x5b344c;const _0x968171=_0x5c4fbc;await SessionHandler['uploadEventData'](_0x968171);}catch(_0x5193c2){logger['debug']('Exception\x20in\x20sendHook:\x20'+util['format'](_0x5193c2)+'\x20');}}['getHookResult'](_0x42b149,_0x54bb92){const _0x42f4d2=a8_0x28af03,_0x12d88a={};_0x12d88a['hBHNC']=function(_0x3479bf,_0x20f514){return _0x3479bf===_0x20f514;},_0x12d88a[_0x42f4d2(0x194)]=_0x42f4d2(0x1a0),_0x12d88a['OUMfH']='UnhandledError',_0x12d88a['AqzaW']=_0x42f4d2(0x175),_0x12d88a[_0x42f4d2(0x111)]=function(_0x319307,_0x151160){return _0x319307||_0x151160;};const _0x1e765a=_0x12d88a,_0x502c1f=_0x42b149[_0x42f4d2(0x114)][_0x54bb92]['testStepResult'];let _0x543a1f,_0x10eeb0;return _0x502c1f&&_0x1e765a[_0x42f4d2(0x17e)](_0x502c1f['status'][_0x42f4d2(0x19d)]()[_0x42f4d2(0x191)](),_0x1e765a['tvXWT'])&&(_0x543a1f=_0x1e765a[_0x42f4d2(0x17e)](_0x502c1f[_0x42f4d2(0x182)],undefined)?_0x502c1f[_0x42f4d2(0x117)]:_0x502c1f['exception'][_0x42f4d2(0x117)],_0x10eeb0=_0x1e765a[_0x42f4d2(0x17e)](_0x502c1f[_0x42f4d2(0x182)],undefined)?_0x1e765a['OUMfH']:_0x502c1f[_0x42f4d2(0x117)][_0x42f4d2(0x144)](/Assert/)?_0x1e765a[_0x42f4d2(0x1a1)]:_0x1e765a[_0x42f4d2(0x160)]),{'status':_0x502c1f[_0x42f4d2(0x190)][_0x42f4d2(0x191)](),'failureType':_0x1e765a[_0x42f4d2(0x111)](_0x10eeb0,null),'failureData':!_0x543a1f?null:[_0x543a1f]};}['getCucumberHookType'](_0x1e76e8,_0x1bc23e){const _0x52eb87=a8_0x28af03,_0x2abdf6={};_0x2abdf6[_0x52eb87(0x180)]=function(_0x395b4d,_0x2741a0){return _0x395b4d===_0x2741a0;},_0x2abdf6[_0x52eb87(0x13c)]=_0x52eb87(0x14f),_0x2abdf6[_0x52eb87(0x13e)]=_0x52eb87(0x17d);const _0x5bc052=_0x2abdf6;let _0x442a92=![];for(const _0x10af4a of _0x1e76e8){_0x10af4a[_0x52eb87(0x146)]&&(_0x442a92=!![]);if(_0x5bc052[_0x52eb87(0x180)](_0x1bc23e['id'],_0x10af4a['id']))return _0x442a92?_0x5bc052[_0x52eb87(0x13c)]:_0x5bc052['boxAA'];}}[a8_0x28af03(0x156)]=(_0x2f4e5b,_0x361a1d)=>{const _0x3ec5c1=a8_0x28af03,_0x248f16={};_0x248f16['RKipv']=function(_0x4e018d,_0x43dc8e){return _0x4e018d===_0x43dc8e;},_0x248f16[_0x3ec5c1(0x137)]=function(_0x17f7af,_0xca2194){return _0x17f7af>_0xca2194;};const _0x41803b=_0x248f16;if(!(_0x361a1d['astNodeIds']&&_0x41803b[_0x3ec5c1(0x137)](_0x361a1d[_0x3ec5c1(0x172)][_0x3ec5c1(0x10f)],0x1)))return;const _0x1b720d=_0x361a1d[_0x3ec5c1(0x172)][0x0],_0x4328e4=_0x361a1d[_0x3ec5c1(0x172)][0x1],_0x53cf0e=_0x2f4e5b[_0x3ec5c1(0x167)]&&_0x2f4e5b['feature'][_0x3ec5c1(0x154)]?_0x2f4e5b[_0x3ec5c1(0x167)][_0x3ec5c1(0x154)]:undefined;let _0x5d9ee7=[];_0x53cf0e&&_0x53cf0e['forEach'](_0x291e0b=>{const _0x280f20=_0x3ec5c1;if(_0x291e0b[_0x280f20(0x18f)])_0x291e0b['rule'][_0x280f20(0x154)][_0x280f20(0x1a5)](_0x21ab7e=>{const _0x2ef532=_0x280f20;if(_0x21ab7e['scenario']&&_0x41803b['RKipv'](_0x21ab7e[_0x2ef532(0x192)]['id'],_0x1b720d)&&_0x21ab7e[_0x2ef532(0x192)][_0x2ef532(0x189)]){const _0x355892=_0x21ab7e[_0x2ef532(0x192)]['examples']['flatMap'](_0x5b3fc4=>_0x5b3fc4[_0x2ef532(0x13b)])['find'](_0x1b1730=>_0x1b1730['id']===_0x4328e4);let _0x373894;_0x355892&&_0x355892[_0x2ef532(0x14a)]?_0x373894=_0x355892[_0x2ef532(0x14a)][_0x2ef532(0x153)](_0x4352db=>_0x4352db[_0x2ef532(0x177)]):_0x373894=[],_0x373894&&(_0x5d9ee7=_0x373894);}});else{if(_0x291e0b[_0x280f20(0x192)]&&_0x41803b[_0x280f20(0x136)](_0x291e0b[_0x280f20(0x192)]['id'],_0x1b720d)&&_0x291e0b[_0x280f20(0x192)][_0x280f20(0x189)]){const _0x579215=_0x291e0b[_0x280f20(0x192)][_0x280f20(0x189)]['flatMap'](_0x5928e6=>_0x5928e6[_0x280f20(0x13b)])[_0x280f20(0x188)](_0x38dbe7=>_0x38dbe7['id']===_0x4328e4);let _0x2bae4f;_0x579215&&_0x579215[_0x280f20(0x14a)]?_0x2bae4f=_0x579215[_0x280f20(0x14a)]['map'](_0x5ec130=>_0x5ec130['value']):_0x2bae4f=[],_0x2bae4f&&(_0x5d9ee7=_0x2bae4f);}}});if(_0x5d9ee7[_0x3ec5c1(0x10f)])return _0x5d9ee7;return;};async[a8_0x28af03(0x11b)](){const _0x1ae55=a8_0x28af03,_0x5b7b68={'vJmuG':function(_0x5d9a91){return _0x5d9a91();}};if(this['_gitConfigured'])return this[_0x1ae55(0x119)];const _0x3ed5b3=await _0x5b7b68[_0x1ae55(0x151)](getGitMetaData);_0x3ed5b3&&(this[_0x1ae55(0x119)]=_0x3ed5b3['root']),this[_0x1ae55(0x127)]=!![];}}function a8_0x1d81(_0xbbf57a,_0xc646c7){const _0x383b8a=a8_0x383b();return a8_0x1d81=function(_0x1d81eb,_0x5c55f7){_0x1d81eb=_0x1d81eb-0x10f;let _0x1c5f98=_0x383b8a[_0x1d81eb];return _0x1c5f98;},a8_0x1d81(_0xbbf57a,_0xc646c7);}module[a8_0x28af03(0x12f)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x28af03(0x11b),a8_0x28af03(0x156),a8_0x28af03(0x174),'getHookResult',a8_0x28af03(0x142),a8_0x28af03(0x184),a8_0x28af03(0x199)]);function a8_0x383b(){const _0xa7d119=['toString','vctrR','2NBVdcb','failed','AqzaW','LwrjE','path','yuQwl','forEach','gLYhF','eoghD','length','irTdE','cYVWi','szHCW','2072796WNfCOU','testStepFinished','hPYzf','name','message','IcSdz','_gitConfigPath','CUCUMBER','configureGit','AlBbs','event_type','UnhandledError','HookRunFinished','join','uctBT','failure_reason','465620XdFbGy','xyKay','Exception\x20in\x20getHookRunEventData:\x20','kicvr','_gitConfigured','54858GMrKUC','result','util','testCaseStartedId','WqBeU','test','SKIPPED','exports','uuid','XKlwN','finished_at','updateTestStatus','includes','BXhiU','RKipv','AMHsN','../playwright/reporter/test-details','wVFhy','qzyWF','tableBody','hGKUt','QkWCB','boxAA','UtYdB','17176pidXdS','SzmIT','sendHook','ctfru','match','failure','pickleStepId','backtrace','pending','iCUNt','cells','cucumber','BXhIW','failure_data','nanos','AFTER_EACH','HookRunStarted','vJmuG','failure_type','map','children','GPsEg','getScenarioExamples','../../helpers/test-observability/error-handler','winstonLogger','test_run','hooks','format','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','debug','timestamp','RHxqG','OUMfH','toISOString','uDGdV','okOzZ','QNUEE','292704SLLSii','LlGRr','feature','getHooksListForTest','testCaseFinished','passed','NkvTn','relative','542610JLuyXH','tagExpression','every','3|0|1|4|2','../../helpers/testhub/utils','astNodeIds','bnvWA','getCucumberHookType','AssertionError','failureType','value','../../helpers/test-observability/sessionHandler','../../helpers/test-observability/constants.js','579506bbeSxK','sourceReference','RuhaF','BEFORE_EACH','hBHNC','9WhmKpB','sjuhU','unknown','exception','Adkoa','getHookRunEventData','push','filter','VlzBe','find','examples','duration_in_ms','hook_run','getHookResult','TestRunFinished','../../helpers/helper','rule','status','toLowerCase','scenario','IRoRo','tvXWT','uri','skipped','odDrs','1015KmIAGw','sendTestRunEventForCucumber','hookId','aGjys','split'];a8_0x383b=function(){return _0xa7d119;};return a8_0x383b();}
|
|
1
|
+
const a8_0x508a8d=a8_0x223d;(function(_0x11d171,_0x32aead){const _0x42d779=a8_0x223d,_0x38eae1=_0x11d171();while(!![]){try{const _0x3a0195=parseInt(_0x42d779(0x242))/0x1+-parseInt(_0x42d779(0x1f1))/0x2+-parseInt(_0x42d779(0x251))/0x3*(-parseInt(_0x42d779(0x244))/0x4)+-parseInt(_0x42d779(0x23d))/0x5+-parseInt(_0x42d779(0x270))/0x6*(-parseInt(_0x42d779(0x26b))/0x7)+parseInt(_0x42d779(0x204))/0x8+-parseInt(_0x42d779(0x211))/0x9*(parseInt(_0x42d779(0x271))/0xa);if(_0x3a0195===_0x32aead)break;else _0x38eae1['push'](_0x38eae1['shift']());}catch(_0x458611){_0x38eae1['push'](_0x38eae1['shift']());}}}(a8_0x1c4d,0x21f95));function a8_0x1c4d(){const _0x38ebe7=['yLGjd','dAxEB','MaQSQ','feature','examples','event_type','1298608fkFasj','cells','message','CHZSh','NjFga','nanos','sendTestRunEventForCucumber','AssertionError','finished_at','hookId','flatMap','nszPE','dJEqT','11196kKdkVU','_gitConfigured','timestamp','debug','backtrace','sendHook','name','KQGBf','rNYnc','exception','failure_type','match','BEFORE_EACH','ywFOm','getCucumberHookType','aGiwT','XddoJ','toString','test_run','onpfo','testStepFinished','LUqmf','XYNbr','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','sJiOn','eFriu','HblFm','children','zTSQv','failed','LoYua','tagExpression','pending','scenario','kgRzD','HookRunFinished','testCaseStartedId','getScenarioExamples','hooks','tags','tableBody','push','_gitConfigPath','updateTestStatus','134465ZtENJX','value','../../helpers/testhub/utils','result','GcfPK','245422GpXkzQ','hook_run','92zCrlAL','status','PCiOs','toLowerCase','javascript','pickleStepId','uploadEventData','root','hYohP','OeVss','LmptZ','filter','unknown','27519eHZwKr','map','nYfmk','path','jDbva','YhJxv','ZVTal','kCwsy','length','test','relative','Csmwx','failureData','astNodeIds','strip-ansi','CducW','getHookRunEventData','SKIPPED','testCaseFinished','vzozf','failure_reason','MdIpY','format','LOUVF','find','failureType','174153FnResQ','sourceReference','uuid','jeQzh','2|0|3|4|1','30jaIdMR','3970YXCkyN','EpcfW','UnhandledError','failure','includes','getHookResult','bTRQz','exports','failure_data','../../helpers/test-observability/sessionHandler','../../helpers/test-observability/error-handler','uri','passed','SPzom','forEach','BdsIJ','toISOString','rule','hook','join','hmLIm','configureGit','split','getHooksListForTest','vxIbu','duration_in_ms','166408jtFWPI','Exception\x20in\x20sendHook:\x20','loGpK','skipped','KNhkk','Xeuor','CVtqq','RlWCo','QLqvm','TyTHc','Exception\x20in\x20getHookRunEventData:\x20','cucumber','xiRZR'];a8_0x1c4d=function(){return _0x38ebe7;};return a8_0x1c4d();}const path=require(a8_0x508a8d(0x254)),util=require('util'),hooksMap={},SessionHandler=require(a8_0x508a8d(0x27a)),testhubUtils=require(a8_0x508a8d(0x23f)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require('../../helpers/logger')['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x508a8d(0x27b)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require('../playwright/reporter/test-details');this[a8_0x508a8d(0x212)]=![],this[a8_0x508a8d(0x23b)]=null;function a8_0x223d(_0x5cd02d,_0x339840){const _0x1c4d5e=a8_0x1c4d();return a8_0x223d=function(_0x223d05,_0x1ac287){_0x223d05=_0x223d05-0x1ec;let _0x4102c1=_0x1c4d5e[_0x223d05];return _0x4102c1;},a8_0x223d(_0x5cd02d,_0x339840);}class TestObservabilityReporter{async[a8_0x508a8d(0x20a)](_0x523dde,_0x1342cd,_0x445873,_0x4f3906,_0x18fd74){const _0x72853c=a8_0x508a8d,_0x277c3b={'EpcfW':function(_0x5686ee,_0x3569a4){return _0x5686ee===_0x3569a4;},'CVtqq':'FAILED','CducW':'failed','nszPE':_0x72853c(0x262),'Xeuor':_0x72853c(0x1f4),'KQGBf':function(_0x173149,_0x5af153){return _0x173149||_0x5af153;},'CvmOQ':function(_0x32abef,_0x59df60){return _0x32abef+_0x59df60;},'kCwsy':function(_0x457ae2,_0x33e3a0){return _0x457ae2+_0x33e3a0;},'bTRQz':function(_0x377085,_0x162a25){return _0x377085+_0x162a25;},'nYfmk':_0x72853c(0x25a),'PCiOs':_0x72853c(0x248),'hYohP':_0x72853c(0x1fc),'kgRzD':_0x72853c(0x231),'sJiOn':_0x72853c(0x27d),'LoYua':function(_0x2b71f8,_0x6037b2){return _0x2b71f8!==_0x6037b2;},'vuadf':function(_0x1496cf,_0x48a2c1){return _0x1496cf/_0x48a2c1;},'zTSQv':function(_0x99c272,_0x179f15){return _0x99c272===_0x179f15;},'loGpK':_0x72853c(0x25f),'vcHFn':function(_0x537880,_0xfad2bc){return _0x537880(_0xfad2bc);},'dJEqT':_0x72853c(0x250),'aGiwT':_0x72853c(0x20b),'BdsIJ':_0x72853c(0x273),'xiRZR':'TestRunFinished','UhMKr':function(_0x564a4b,_0xc619fc){return _0x564a4b>_0xc619fc;}},{feature:_0x53a159,scenario:_0x8c005d,steps:_0x5949bc,uuid:_0x5989a6,startedAt:_0x106715,finishedAt:_0x1acaf5}=_0x277c3b[_0x72853c(0x218)](_0x18fd74,{}),_0x2547bd=this[_0x72853c(0x236)](_0x1342cd,_0x445873);await this[_0x72853c(0x1ec)]();const _0x38574d=_0x2547bd?_0x277c3b['CvmOQ'](_0x277c3b[_0x72853c(0x258)](_0x277c3b[_0x72853c(0x277)](_0x445873[_0x72853c(0x217)],'\x20('),_0x2547bd['join'](',\x20')),')'):_0x445873[_0x72853c(0x217)],_0x232796={'uuid':_0x5989a6,'started_at':_0x106715,'finished_at':_0x1acaf5,'type':_0x277c3b[_0x72853c(0x253)],'body':{'lang':_0x277c3b[_0x72853c(0x246)],'code':null},'name':_0x38574d,'scopes':[_0x53a159&&_0x53a159[_0x72853c(0x217)]?_0x53a159[_0x72853c(0x217)]:''],'tags':_0x445873[_0x72853c(0x238)]?_0x445873[_0x72853c(0x238)][_0x72853c(0x252)](({name:_0x5e6fe0})=>_0x5e6fe0):[],'file_name':_0x445873[_0x72853c(0x27c)],'location':_0x445873[_0x72853c(0x27c)],'vc_filepath':this[_0x72853c(0x23b)]&&_0x445873['uri']?path[_0x72853c(0x25b)](this[_0x72853c(0x23b)],_0x445873[_0x72853c(0x27c)]):null,'framework':_0x277c3b[_0x72853c(0x24c)],'result':_0x277c3b[_0x72853c(0x233)],'meta':{'feature':_0x53a159,'scenario':_0x8c005d,'steps':_0x5949bc,'examples':_0x2547bd},'customRerunParam':{'rerun_name':_0x38574d}};if(_0x523dde[_0x72853c(0x263)]&&_0x5949bc){const _0x449b49=_0x523dde[_0x72853c(0x263)];let _0x66ebfe=_0x277c3b[_0x72853c(0x229)];_0x5949bc['every'](_0x56883d=>{const _0x81f151=_0x72853c;if(_0x277c3b[_0x81f151(0x272)](_0x56883d[_0x81f151(0x240)],_0x277c3b[_0x81f151(0x1f7)]))return _0x66ebfe=_0x277c3b['CducW'],_0x449b49['failure']=_0x56883d[_0x81f151(0x274)],_0x449b49[_0x81f151(0x26a)]=_0x56883d[_0x81f151(0x26a)],![];else{if(_0x277c3b[_0x81f151(0x272)](_0x56883d[_0x81f151(0x240)],_0x277c3b[_0x81f151(0x20f)]))return _0x66ebfe=_0x277c3b[_0x81f151(0x1f6)],![];}return!![];}),_0x232796[_0x72853c(0x20c)]=new Date()[_0x72853c(0x281)](),_0x232796[_0x72853c(0x240)]=_0x66ebfe;_0x449b49[_0x72853c(0x213)]&&_0x277c3b[_0x72853c(0x22f)](_0x449b49['timestamp'][_0x72853c(0x209)],undefined)?_0x232796['duration_in_ms']=_0x277c3b['vuadf'](_0x449b49['timestamp'][_0x72853c(0x209)],0xf4240):_0x232796[_0x72853c(0x1f0)]=undefined;if(_0x277c3b[_0x72853c(0x22d)](_0x66ebfe,_0x277c3b[_0x72853c(0x260)])){const {default:_0x5d505e}=await import(_0x277c3b[_0x72853c(0x1f3)]);_0x232796['failure']=[{'backtrace':[_0x449b49['failure']?_0x277c3b['vcHFn'](_0x5d505e,_0x449b49[_0x72853c(0x274)]):_0x277c3b[_0x72853c(0x210)]]}],_0x232796['failure_reason']=_0x449b49['failure']?_0x277c3b['vcHFn'](_0x5d505e,_0x449b49[_0x72853c(0x274)]):_0x449b49[_0x72853c(0x206)],_0x449b49[_0x72853c(0x26a)]&&(_0x232796['failure_type']=_0x449b49[_0x72853c(0x26a)]['match'](/AssertError/)?_0x277c3b[_0x72853c(0x220)]:_0x277c3b[_0x72853c(0x280)]);}}if(_0x277c3b['zTSQv'](_0x4f3906,_0x277c3b[_0x72853c(0x1fd)])){const _0x41134d=this[_0x72853c(0x1ee)](_0x523dde['testCaseFinished'][_0x72853c(0x235)]);_0x41134d&&_0x277c3b['UhMKr'](_0x41134d[_0x72853c(0x259)],0x0)&&(_0x232796[_0x72853c(0x237)]=_0x41134d,this[_0x72853c(0x23c)](_0x523dde[_0x72853c(0x263)][_0x72853c(0x235)],_0x232796));}testhubUtils['appendTesthubParams'](_0x232796,_0x4f3906,'',FRAMEWORKS['CUCUMBER']);const _0x5a93dd={};_0x5a93dd['event_type']=_0x4f3906,_0x5a93dd[_0x72853c(0x223)]=_0x232796;const _0x47e203=_0x5a93dd;await SessionHandler[_0x72853c(0x24a)](_0x47e203);}[a8_0x508a8d(0x23c)](_0x3c7c44,_0x45620b){const _0x2f45f5=a8_0x508a8d,_0x5d0bd8={};_0x5d0bd8[_0x2f45f5(0x26e)]=function(_0x18a5c8,_0x2ffea6){return _0x18a5c8 instanceof _0x2ffea6;},_0x5d0bd8[_0x2f45f5(0x285)]=function(_0x2c5a95,_0x4d2ef5){return _0x2c5a95===_0x4d2ef5;},_0x5d0bd8[_0x2f45f5(0x200)]=_0x2f45f5(0x22e),_0x5d0bd8[_0x2f45f5(0x264)]=_0x2f45f5(0x26f);const _0x17d9ba=_0x5d0bd8,_0x120c1d=hooksMap[_0x3c7c44];if(_0x17d9ba[_0x2f45f5(0x26e)](_0x120c1d,Array))for(const _0x47e254 of _0x120c1d){if(_0x17d9ba[_0x2f45f5(0x285)](_0x47e254['result'],_0x17d9ba[_0x2f45f5(0x200)])){const _0x16033c=_0x17d9ba['vzozf'][_0x2f45f5(0x1ed)]('|');let _0x1764ca=0x0;while(!![]){switch(_0x16033c[_0x1764ca++]){case'0':_0x45620b[_0x2f45f5(0x274)]=_0x47e254[_0x2f45f5(0x279)];continue;case'1':return _0x45620b;case'2':_0x45620b['result']=_0x47e254[_0x2f45f5(0x240)];continue;case'3':_0x45620b[_0x2f45f5(0x265)]=_0x17d9ba['jeQzh'](_0x47e254['failure_data'],Array)?_0x47e254['failure_data'][0x0]['backtrace'][_0x2f45f5(0x284)]('\x0a'):'';continue;case'4':_0x45620b['failure_type']=_0x47e254[_0x2f45f5(0x21b)];continue;}break;}}};}[a8_0x508a8d(0x1ee)](_0x591be5){const _0x446315=a8_0x508a8d;if(hooksMap[_0x591be5])return hooksMap[_0x591be5]['map'](_0x50e537=>_0x50e537[_0x446315(0x26d)]);return[];}['getHookRunEventData'](_0x1deaa3,_0x166300,_0x9c1a6b,_0x78ee87,_0x30064,_0xc49bb2){const _0xa1b584=a8_0x508a8d,_0x250070={'CHZSh':function(_0x155f10,_0xa85153){return _0x155f10===_0xa85153;},'GHqbE':_0xa1b584(0x234),'dAxEB':function(_0x28a055,_0x15c471,_0x26ca9e){return _0x28a055(_0x15c471,_0x26ca9e);},'LUqmf':_0xa1b584(0x26c),'YhJxv':_0xa1b584(0x27c),'vxIbu':_0xa1b584(0x231),'jDbva':_0xa1b584(0x283),'NjFga':'javascript','QLqvm':_0xa1b584(0x201),'TyTHc':_0xa1b584(0x217),'LmptZ':function(_0x2d9739,_0x47c19b,_0x3678da){return _0x2d9739(_0x47c19b,_0x3678da);},'uYmTm':_0xa1b584(0x1fc)};try{if(_0x250070[_0xa1b584(0x207)](_0x9c1a6b,_0x250070['GHqbE'])){const _0x2d0f22=new Date()[_0xa1b584(0x281)](),_0x4f99fb=hooksMap[_0x166300];if(!_0x4f99fb)return;const _0x570968=_0x4f99fb[_0xa1b584(0x269)](_0x264bfb=>_0x264bfb[_0xa1b584(0x26d)]===_0x78ee87['id']);if(!_0x570968)return;const _0x206945=this['getHookResult'](_0x1deaa3,_0x166300);_0x570968[_0xa1b584(0x240)]=_0x206945[_0xa1b584(0x245)],_0x570968[_0xa1b584(0x20c)]=_0x2d0f22,_0x570968[_0xa1b584(0x21b)]=_0x206945[_0xa1b584(0x26a)];const _0x5c391e={};return _0x5c391e[_0xa1b584(0x215)]=_0x206945[_0xa1b584(0x25d)],_0x570968[_0xa1b584(0x279)]=[_0x5c391e],_0x570968;}const _0x2a0d97=TestDetails['getTestUUID'](_0x166300),_0x10b1d5=_0x1deaa3[_0xa1b584(0x237)][_0xa1b584(0x269)](_0x3664ee=>_0x3664ee['id']===_0x78ee87[_0xa1b584(0x20d)]),_0x4801b1=_0x250070['dAxEB'](nestedKeyValue,_0x10b1d5,[_0x250070[_0xa1b584(0x226)],_0x250070[_0xa1b584(0x256)]]),_0x1017ea=new Date()[_0xa1b584(0x281)](),_0x27eecc=_0x250070[_0xa1b584(0x1ef)],_0x302450=_0x10b1d5[_0xa1b584(0x230)]?_0x10b1d5['tagExpression'][_0xa1b584(0x1ed)]('\x20')[_0xa1b584(0x24f)](_0xec1676=>_0xec1676[_0xa1b584(0x275)]('@')):[],_0x1d6e8d={'uuid':_0x78ee87['id'],'type':_0x250070[_0xa1b584(0x255)],'hook_type':_0xc49bb2,'name':_0x10b1d5['name'],'body':{'lang':_0x250070[_0xa1b584(0x208)],'code':null},'tags':_0x302450,'test_run_id':_0x2a0d97,'scope':_0x250070[_0xa1b584(0x1ff)](nestedKeyValue,_0x30064,[_0x250070[_0xa1b584(0x1f9)],_0x250070[_0xa1b584(0x1fa)]]),'scopes':[_0x250070[_0xa1b584(0x24e)](nestedKeyValue,_0x30064,[_0x250070[_0xa1b584(0x1f9)],_0x250070[_0xa1b584(0x1fa)]])||''],'file_name':_0x4801b1,'location':_0x4801b1,'vc_filepath':this[_0xa1b584(0x23b)]?path[_0xa1b584(0x25b)](this['_gitConfigPath'],_0x4801b1):null,'result':_0x27eecc,'started_at':_0x1017ea,'framework':_0x250070['uYmTm']};return _0x1d6e8d;}catch(_0x1af6d2){logger[_0xa1b584(0x214)](_0xa1b584(0x1fb)+util[_0xa1b584(0x267)](_0x1af6d2)+'\x20');}}async[a8_0x508a8d(0x216)](_0xf2bd59,_0x241d46,_0x746b1f,_0x373e06,_0x386465,_0x3d6d98){const _0xd7bb04=a8_0x508a8d,_0x25b27b={'DMibK':function(_0x17b91d,_0x517ccb){return _0x17b91d===_0x517ccb;},'nezTe':'HookRunStarted','yLGjd':function(_0x444fc8,_0x2bfdd0,_0x360928){return _0x444fc8(_0x2bfdd0,_0x360928);},'Csmwx':'sourceReference','KNhkk':_0xd7bb04(0x27c),'onpfo':_0xd7bb04(0x228)};try{const _0x5e041d=_0x373e06[_0xd7bb04(0x269)](_0x359369=>_0x359369['id']===_0x386465);if(!_0x5e041d['hookId'])return;const _0x382aa1=this[_0xd7bb04(0x21f)](_0x373e06,_0x5e041d),_0x3cb42e=this[_0xd7bb04(0x261)](_0xf2bd59,_0x241d46,_0x746b1f,_0x5e041d,_0x3d6d98,_0x382aa1);if(!_0x3cb42e)return;_0x25b27b['DMibK'](_0x746b1f,_0x25b27b['nezTe'])&&(hooksMap[_0x241d46]?hooksMap[_0x241d46][_0xd7bb04(0x23a)](_0x3cb42e):hooksMap[_0x241d46]=[_0x3cb42e]);const _0x29500e=_0xf2bd59['hooks'][_0xd7bb04(0x269)](_0x233994=>_0x233994['id']===_0x5e041d[_0xd7bb04(0x20d)]),_0x2f59c1=_0x25b27b[_0xd7bb04(0x1fe)](nestedKeyValue,_0x29500e,[_0x25b27b[_0xd7bb04(0x25c)],_0x25b27b[_0xd7bb04(0x1f5)]]);if(!_0x2f59c1)return;else{if(_0x2f59c1['includes'](_0x25b27b[_0xd7bb04(0x224)]))return;}const _0x51fd4a={};_0x51fd4a[_0xd7bb04(0x203)]=_0x746b1f,_0x51fd4a[_0xd7bb04(0x243)]=_0x3cb42e;const _0x520b7=_0x51fd4a;await SessionHandler[_0xd7bb04(0x24a)](_0x520b7);}catch(_0x3b7153){logger['debug'](_0xd7bb04(0x1f2)+util[_0xd7bb04(0x267)](_0x3b7153)+'\x20');}}['getHookResult'](_0x18ec19,_0x240a0a){const _0x3eac47=a8_0x508a8d,_0x2645fd={};_0x2645fd[_0x3eac47(0x22b)]=function(_0x551387,_0xa072a0){return _0x551387===_0xa072a0;},_0x2645fd[_0x3eac47(0x241)]=_0x3eac47(0x22e),_0x2645fd[_0x3eac47(0x219)]=function(_0x304764,_0x39ae68){return _0x304764===_0x39ae68;},_0x2645fd['XddoJ']=_0x3eac47(0x273),_0x2645fd[_0x3eac47(0x1f8)]='AssertionError',_0x2645fd[_0x3eac47(0x21e)]=function(_0x2d2eb4,_0x43a1fd){return _0x2d2eb4||_0x43a1fd;};const _0x4571dd=_0x2645fd,_0x1834d0=_0x18ec19[_0x3eac47(0x225)][_0x240a0a]['testStepResult'];let _0x15fd78,_0x4e3285;return _0x1834d0&&_0x4571dd[_0x3eac47(0x22b)](_0x1834d0['status'][_0x3eac47(0x222)]()[_0x3eac47(0x247)](),_0x4571dd[_0x3eac47(0x241)])&&(_0x15fd78=_0x4571dd[_0x3eac47(0x22b)](_0x1834d0['exception'],undefined)?_0x1834d0[_0x3eac47(0x206)]:_0x1834d0[_0x3eac47(0x21a)][_0x3eac47(0x206)],_0x4e3285=_0x4571dd[_0x3eac47(0x219)](_0x1834d0[_0x3eac47(0x21a)],undefined)?_0x4571dd[_0x3eac47(0x221)]:_0x1834d0['message'][_0x3eac47(0x21c)](/Assert/)?_0x4571dd[_0x3eac47(0x1f8)]:_0x4571dd[_0x3eac47(0x221)]),{'status':_0x1834d0[_0x3eac47(0x245)][_0x3eac47(0x247)](),'failureType':_0x4571dd[_0x3eac47(0x21e)](_0x4e3285,null),'failureData':!_0x15fd78?null:[_0x15fd78]};}['getCucumberHookType'](_0x454a7c,_0x43c04e){const _0x15f468=a8_0x508a8d,_0x4cd96b={};_0x4cd96b[_0x15f468(0x22a)]=function(_0x396b9b,_0x44bfb6){return _0x396b9b===_0x44bfb6;},_0x4cd96b['MdIpY']='AFTER_EACH',_0x4cd96b[_0x15f468(0x27e)]=_0x15f468(0x21d);const _0xb23a7f=_0x4cd96b;let _0x72b708=![];for(const _0x32218e of _0x454a7c){_0x32218e[_0x15f468(0x249)]&&(_0x72b708=!![]);if(_0xb23a7f[_0x15f468(0x22a)](_0x43c04e['id'],_0x32218e['id']))return _0x72b708?_0xb23a7f[_0x15f468(0x266)]:_0xb23a7f[_0x15f468(0x27e)];}}[a8_0x508a8d(0x236)]=(_0x5bbfcc,_0x1a2810)=>{const _0x555183=a8_0x508a8d,_0x482045={};_0x482045['ZVTal']=function(_0x439c74,_0x3db89c){return _0x439c74===_0x3db89c;},_0x482045[_0x555183(0x24d)]=function(_0x7ecffb,_0x146cf5){return _0x7ecffb>_0x146cf5;};const _0x481a76=_0x482045;if(!(_0x1a2810[_0x555183(0x25e)]&&_0x481a76[_0x555183(0x24d)](_0x1a2810[_0x555183(0x25e)][_0x555183(0x259)],0x1)))return;const _0x4f0c38=_0x1a2810['astNodeIds'][0x0],_0x1eb979=_0x1a2810[_0x555183(0x25e)][0x1],_0x289458=_0x5bbfcc[_0x555183(0x201)]&&_0x5bbfcc[_0x555183(0x201)][_0x555183(0x22c)]?_0x5bbfcc[_0x555183(0x201)][_0x555183(0x22c)]:undefined;let _0x464ea3=[];_0x289458&&_0x289458[_0x555183(0x27f)](_0x1c46d3=>{const _0x4b8e35=_0x555183,_0xfb7e31={'XYNbr':function(_0xc146d8,_0x5a7b09){const _0x3e3c02=a8_0x223d;return _0x481a76[_0x3e3c02(0x257)](_0xc146d8,_0x5a7b09);}};if(_0x1c46d3[_0x4b8e35(0x282)])_0x1c46d3[_0x4b8e35(0x282)][_0x4b8e35(0x22c)][_0x4b8e35(0x27f)](_0x17471b=>{const _0x2eaddb=_0x4b8e35;if(_0x17471b[_0x2eaddb(0x232)]&&_0xfb7e31[_0x2eaddb(0x227)](_0x17471b[_0x2eaddb(0x232)]['id'],_0x4f0c38)&&_0x17471b[_0x2eaddb(0x232)]['examples']){const _0x2e54a1=_0x17471b['scenario'][_0x2eaddb(0x202)][_0x2eaddb(0x20e)](_0x3193c4=>_0x3193c4['tableBody'])[_0x2eaddb(0x269)](_0xf9295c=>_0xf9295c['id']===_0x1eb979);let _0x56d93a;_0x2e54a1&&_0x2e54a1[_0x2eaddb(0x205)]?_0x56d93a=_0x2e54a1[_0x2eaddb(0x205)][_0x2eaddb(0x252)](_0x31ad0f=>_0x31ad0f[_0x2eaddb(0x23e)]):_0x56d93a=[],_0x56d93a&&(_0x464ea3=_0x56d93a);}});else{if(_0x1c46d3['scenario']&&_0x481a76[_0x4b8e35(0x257)](_0x1c46d3[_0x4b8e35(0x232)]['id'],_0x4f0c38)&&_0x1c46d3['scenario'][_0x4b8e35(0x202)]){const _0x166af5=_0x1c46d3[_0x4b8e35(0x232)][_0x4b8e35(0x202)][_0x4b8e35(0x20e)](_0xdf6f8=>_0xdf6f8[_0x4b8e35(0x239)])['find'](_0x40a5fb=>_0x40a5fb['id']===_0x1eb979);let _0x180c5e;_0x166af5&&_0x166af5[_0x4b8e35(0x205)]?_0x180c5e=_0x166af5[_0x4b8e35(0x205)][_0x4b8e35(0x252)](_0x4cc654=>_0x4cc654[_0x4b8e35(0x23e)]):_0x180c5e=[],_0x180c5e&&(_0x464ea3=_0x180c5e);}}});if(_0x464ea3['length'])return _0x464ea3;return;};async[a8_0x508a8d(0x1ec)](){const _0x565882=a8_0x508a8d,_0xeef8b4={'LOUVF':function(_0x46c9d0){return _0x46c9d0();}};if(this[_0x565882(0x212)])return this[_0x565882(0x23b)];const _0x175dca=await _0xeef8b4[_0x565882(0x268)](getGitMetaData);_0x175dca&&(this[_0x565882(0x23b)]=_0x175dca[_0x565882(0x24b)]),this['_gitConfigured']=!![];}}module[a8_0x508a8d(0x278)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x508a8d(0x1ec),a8_0x508a8d(0x236),a8_0x508a8d(0x21f),a8_0x508a8d(0x276),a8_0x508a8d(0x216),'getHookRunEventData',a8_0x508a8d(0x20a)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x5ee1fb=a9_0x3302;(function(_0x489d08,_0x827e95){const _0x9531c6=a9_0x3302,_0x47994c=_0x489d08();while(!![]){try{const _0xe17cf2=parseInt(_0x9531c6(0x142))/0x1+parseInt(_0x9531c6(0xcc))/0x2+-parseInt(_0x9531c6(0xce))/0x3+-parseInt(_0x9531c6(0x197))/0x4+parseInt(_0x9531c6(0x12e))/0x5+-parseInt(_0x9531c6(0x15b))/0x6*(parseInt(_0x9531c6(0x169))/0x7)+parseInt(_0x9531c6(0x1a1))/0x8*(parseInt(_0x9531c6(0x137))/0x9);if(_0xe17cf2===_0x827e95)break;else _0x47994c['push'](_0x47994c['shift']());}catch(_0x327d5a){_0x47994c['push'](_0x47994c['shift']());}}}(a9_0x900c,0x490f5));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x5ee1fb(0x1b5)),setKeepAlive=require(a9_0x5ee1fb(0xf1)),util=require(a9_0x5ee1fb(0xe0)),PerformanceTester=require(a9_0x5ee1fb(0x184)),{EVENTS:PerformanceEvents}=require(a9_0x5ee1fb(0x150)),{commandRepository}=require(a9_0x5ee1fb(0x1bc)),cucumberModule=requireModule(a9_0x5ee1fb(0x120),a9_0x5ee1fb(0x128)),logger=require(a9_0x5ee1fb(0x17c))[a9_0x5ee1fb(0x1af)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x5ee1fb(0x141)),TestDetails=require(a9_0x5ee1fb(0x14b)),TestInfo=require(a9_0x5ee1fb(0x189)),RequestQueueHandler=require(a9_0x5ee1fb(0x102)),{o11yErrorHandler}=require(a9_0x5ee1fb(0x103)),MyReporter=require(a9_0x5ee1fb(0x165)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a9_0x5ee1fb(0x10f)),globals=require(a9_0x5ee1fb(0x1a7)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a9_0x5ee1fb(0xd2)),{isUndefined}=require(a9_0x5ee1fb(0xc1)),helper=require(a9_0x5ee1fb(0x196)),a9_0x41f13a={};a9_0x41f13a['workerInfo']=undefined,a9_0x41f13a[a9_0x5ee1fb(0x159)]={},a9_0x41f13a[a9_0x5ee1fb(0x145)]=![],a9_0x41f13a[a9_0x5ee1fb(0x1c0)]=null,a9_0x41f13a[a9_0x5ee1fb(0xe6)]=![],a9_0x41f13a[a9_0x5ee1fb(0x159)]['id']=undefined,a9_0x41f13a[a9_0x5ee1fb(0x159)][a9_0x5ee1fb(0x1bd)]=undefined;function a9_0x900c(){const _0x1a431c=['Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','toLowerCase','closeTracker','shutdown','../v2/cliUtils','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','qtWPU','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','tags','QiZLb','cOYkF','util','BROWSERSTACK_TESTHUB_JWT','bstackA11yShouldScan','getAutomationFramework','@playwright/test','ziLIV','isPageFixture','Error:\x20at\x20After\x20(Selenium):\x20','../v2/state/automationFrameworkState','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','YQZPF','page','Ksjft','Failed:\x20','getTestUUID','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','Completed\x20Playwright\x20afterTestHook\x20execution','../../helpers/setKeepAlive','cTkzi','pssMA','Performing\x20scan\x20before\x20saving\x20results','addTestUIDAndReportLog','pid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','removeAllListeners','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','HarcB','testCaseStartedId','bootstrap','performScan','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','initQuit','name','eTygT','../../helpers/test-observability/requestQueueHandler','../../helpers/test-observability/error-handler','getInstance','TWfSY','LOlUh','PsCHT','FXQzV','Cleaned\x20up\x20Playwright\x20close\x20tracker','startMonitoring','ELNdY','executeDeferredCloses','QNHOx','__workerDetails','../../helpers/accessibility-automation/scripts','uvctw','parse','mrRHI','../v2/state/hookState','Error\x20initializing\x20Playwright\x20patching:\x20','getGlobal','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','ShqcI','yPjAD','integrations','Error\x20in\x20playwright\x20beforeTestHook:\x20','nLBhB','Flow\x20detection:\x20isSeleniumFlow=','PRE','AfterStep','setTestNameForHealingContext','@cucumber/cucumber/lib/index.js','xATTm','test_run','BrZTS','result','fupif','nvpHl','WdnjO','@cucumber/cucumber','isAccessibilityPlatform','dViLC','uuid','join','\x20|\x20','1106405NzrrvX','DyKYx','BROWSERSTACK_TESTHUB_UUID','cucumber-js','DydOo','push','debug','BqXdU','platformCaps','820107BNJPyL','kLXIW','failed','Error\x20in\x20fallback\x20cleanup:\x20','BeforeAll','Inside\x20browserstack\x20After','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','test_run_uuid','thJwtToken','QUIT','../../helpers/test-observability/utils','48314HqiBVt','CUCUMBER','xkbiG','o11ySyncDone','csfZK','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','../../index','setConfig','../utils/playwright-patcher','../playwright/reporter/test-details.js','initializePlaywrightPatching','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Error:\x20at\x20After\x20(Playwright):\x20','UTPOE','../../helpers/performance/constants','then','cucumber-test','bs:addLog:','ITmJo','__skipSessionStatus','fcRbO','Unknown\x20Test','isRunning','currentTest','Cucumber-JS','1506vumQmW','qJkhm','Patching\x20Selenium','env','shYyC','saveTestResults','afterTestHook','cleanup','dpDCW','browserstackPlatformIndex','../playwright/reporter/reporter.js','uploadEventData','__sessionFailed','timeout','10269CApEnY','platformIndex','driverCleanup','thTestRunUuid','session_','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','bjKtB','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','info','error','getPackageVersion','mUarm','status','wWMYB','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','finally','format','executeAsyncScript','passed','../../helpers/logger','Passed','UDpkK','catch','CONFIG','__timeout','Error\x20determining\x20test\x20flow:\x20','bstack','../../helpers/performance/performance-tester','BSTACK_CONFIG','Inside\x20browserstack\x20AfterStep','../v2/browserstackCLI','ZnHjP','../v2/TestInfo.js','__platformCaps','mLkHW','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','Error:\x20in\x20quitting\x20driver\x20','\x22}}','rvZrB','WfpyE','toString','length','After','quitCount_','thBuildUuid','../../helpers/helper','1523952WsXFam','Error\x20executing\x20deferred\x20closes:\x20','tkNvr','Error:\x20sendPlatformDetails\x20at\x20After:\x20','text','__error_messages__','lQyso','../v2/browserstackCLI.js','__currentTestInfo','message','32CSxuAu','pickleStep','browserstackAgentV2','QYokh','stopMonitoring','YUWEV','../../helpers/globals','trackEvent','event_type','PqoXU','mpjhA','browserstackSessionName',',\x22level\x22:\x20\x22','__skipSessionName','winstonLogger','\x0aError:\x20','storeLogObjects','JgwuN','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','../utils/constants','aaQna','pickle','Inside\x20browserstack\x20registerListeners','testFramework','cDYJm','yMwNL','../../helpers/ai-sdk/autoHealHelper','testInfo','qlMKY','is_mobile_session','pwPage','Patching\x20Playwright','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','Inside\x20browserstack\x20AfterAll','stringify','setDefaultTimeout','lodash','executeScript','hwCry','Inside\x20browserstack\x20Before','isMobilePlatform','AfterAll','shift','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','__drivers','uxqIp','Error\x20sending\x20log\x20created\x20event:\x20','1054810lpiIis','scenario','339102otUwIA','ClvXC','Error\x20triggering\x20AutomationFramework\x20events:\x20','Before','../../helpers/accessibility-automation/helper','split','Qqeuc'];a9_0x900c=function(){return _0x1a431c;};return a9_0x900c();}const workerDetails=a9_0x41f13a;global[a9_0x5ee1fb(0x10e)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x438067){const _0x11c7b2=a9_0x5ee1fb,_0x562bf4={'Ksjft':function(_0x138b4c,_0x40e94e){return _0x138b4c(_0x40e94e);},'ShqcI':_0x11c7b2(0x187),'uUOKP':_0x11c7b2(0xe9)},_0x2044c8=workerDetails[_0x11c7b2(0x159)][_0x11c7b2(0x1bd)];if(!_0x2044c8)return;if(playwrightPatcher)try{const _0x4b1238=_0x562bf4[_0x11c7b2(0xec)](require,_0x562bf4[_0x11c7b2(0x117)]);if(_0x4b1238[_0x11c7b2(0x104)]()[_0x11c7b2(0x158)]()){const _0x1f4605=_0x2044c8['testCaseStartedId'];_0x1f4605?(_0x438067['uuid']=_0x1f4605,_0x438067[_0x11c7b2(0x13e)]=_0x1f4605,TestInfo[_0x11c7b2(0x1b1)](_0x1f4605,_0x438067)):logger[_0x11c7b2(0x134)](_0x562bf4['uUOKP']);return;}}catch(_0x57301a){logger[_0x11c7b2(0x134)](_0x11c7b2(0xcb)+util[_0x11c7b2(0x179)](_0x57301a));}await MyReporter[_0x11c7b2(0xf5)](_0x2044c8,_0x438067);}),registerListeners=()=>{const _0x372e4e=a9_0x5ee1fb,_0x562068={};_0x562068[_0x372e4e(0xd4)]=_0x372e4e(0x1b8);const _0x2520cf=_0x562068;logger[_0x372e4e(0x134)](_0x2520cf[_0x372e4e(0xd4)]),process[_0x372e4e(0xf8)](_0x372e4e(0x153)+process[_0x372e4e(0xf6)]),process['on'](_0x372e4e(0x153)+process['pid'],sendTestLog),PerformanceTester[_0x372e4e(0x10a)]();};modifyCommand(),setKeepAlive();function a9_0x3302(_0x1d1044,_0x17ff33){const _0x900c01=a9_0x900c();return a9_0x3302=function(_0x3302b5,_0x2a32db){_0x3302b5=_0x3302b5-0xbd;let _0x2df9b2=_0x900c01[_0x3302b5];return _0x2df9b2;},a9_0x3302(_0x1d1044,_0x17ff33);}const Before=cucumberModule[a9_0x5ee1fb(0xd1)],After=cucumberModule[a9_0x5ee1fb(0x193)],AfterAll=cucumberModule[a9_0x5ee1fb(0xc6)],BeforeAll=cucumberModule[a9_0x5ee1fb(0x13b)],AfterStep=cucumberModule[a9_0x5ee1fb(0x11e)],configuration=process['env'][a9_0x5ee1fb(0x180)],bstackConfig=process['env'][a9_0x5ee1fb(0x185)];if(configuration!==undefined){const config=JSON[a9_0x5ee1fb(0x111)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config['skipSessionName']),global[a9_0x5ee1fb(0x155)]=isTrue(config['skipSessionStatus'])):(global[a9_0x5ee1fb(0x1ae)]=!![],global[a9_0x5ee1fb(0x155)]=!![]);!helper[a9_0x5ee1fb(0x173)]('@playwright/test')&&(logger[a9_0x5ee1fb(0x134)](a9_0x5ee1fb(0x15d)),shouldProcessEventForTesthub()?require(a9_0x5ee1fb(0x148))[a9_0x5ee1fb(0x1a3)](config,null,!![]):require(a9_0x5ee1fb(0x148))[a9_0x5ee1fb(0x1a3)](config));global[a9_0x5ee1fb(0x18a)]=config[a9_0x5ee1fb(0x136)]||{},global[a9_0x5ee1fb(0x164)]=config[a9_0x5ee1fb(0x16a)];if(helper['getPackageVersion'](a9_0x5ee1fb(0xe4)))try{logger[a9_0x5ee1fb(0x134)](a9_0x5ee1fb(0x1c1)),playwrightPatcher=require(a9_0x5ee1fb(0x14a)),playwrightPatcher[a9_0x5ee1fb(0x14c)](config),logger['debug'](a9_0x5ee1fb(0xef));}catch(a9_0x52d00f){logger[a9_0x5ee1fb(0x134)](a9_0x5ee1fb(0x114)+util[a9_0x5ee1fb(0x179)](a9_0x52d00f));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x5ee1fb(0x111)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x5ee1fb(0x149)](browserStackConfig),commandRepository['setFramework'](a9_0x5ee1fb(0x131)));}global[a9_0x5ee1fb(0x181)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x5ee1fb(0xc0)];cucumberModule['setDefaultTimeout']=_0xec0e52=>{const _0x4d7862=a9_0x5ee1fb,_0x31b091={'QNHOx':function(_0x305fae,_0x12cc27){return _0x305fae(_0x12cc27);}};global[_0x4d7862(0x181)]=_0xec0e52,_0x31b091[_0x4d7862(0x10d)](__setDefaultTimeout,_0xec0e52);};const a9_0x59ef59={};a9_0x59ef59['name']=a9_0x5ee1fb(0x183),BeforeAll(a9_0x59ef59,async function(){const _0x52d2ef=a9_0x5ee1fb,_0x2ac199={'UZIlu':function(_0x17c141,_0x2a8caf,_0x36baa5,_0xf443bd){return _0x17c141(_0x2a8caf,_0x36baa5,_0xf443bd);},'ziLIV':_0x52d2ef(0x139),'ZjcaW':_0x52d2ef(0x12d),'xwxzg':function(_0x16b5d7,_0x3adc56,_0x3d955a){return _0x16b5d7(_0x3adc56,_0x3d955a);},'eTygT':'passed','mpjhA':'Inside\x20browserstack\x20BeforeAll','rvZrB':function(_0x59a399,_0x3e4068){return _0x59a399(_0x3e4068);},'azACn':_0x52d2ef(0x187),'lMfeq':_0x52d2ef(0xd9),'xATTm':_0x52d2ef(0x116),'pssMA':function(_0x3b1156){return _0x3b1156();},'aaQna':function(_0x5be1f0){return _0x5be1f0();},'HNyGs':function(_0x616cf3,_0x317f23){return _0x616cf3(_0x317f23);}};PerformanceTester['startMonitoring'](),logger[_0x52d2ef(0x134)](_0x2ac199[_0x52d2ef(0x1ab)]),global[_0x52d2ef(0x19c)]=[],global[_0x52d2ef(0x167)]=![];if(playwrightPatcher)try{const _0x3ea717=_0x2ac199[_0x52d2ef(0x18f)](require,_0x2ac199['azACn']),_0xb124ba=_0x2ac199[_0x52d2ef(0x18f)](require,_0x2ac199['lMfeq']);_0x3ea717['getInstance']()['isCliEnabled']()&&(logger[_0x52d2ef(0x134)](_0x2ac199[_0x52d2ef(0x121)]),_0xb124ba['setFrameworkDetail'](FRAMEWORKS[_0x52d2ef(0x143)],FRAMEWORKS['PLAYWRIGHT']),await _0x3ea717[_0x52d2ef(0x104)]()[_0x52d2ef(0xfc)]());}catch(_0x34473d){logger[_0x52d2ef(0x134)](_0x52d2ef(0x16e)+util[_0x52d2ef(0x179)](_0x34473d));}_0x2ac199[_0x52d2ef(0xf3)](shouldProcessEventForTesthub)&&(_0x2ac199[_0x52d2ef(0x1b6)](registerListeners),_0x2ac199['HNyGs'](addRequestSpy,![])),global[_0x52d2ef(0x16b)]=async()=>{const _0xf17ca5=_0x52d2ef;let _0x357837=![];try{global[_0xf17ca5(0xc9)]&&global[_0xf17ca5(0xc9)][0x0]&&(await global['__drivers'][0x0][_0xf17ca5(0x16d)],_0x357837=!![],global['__sessionFailed']?await _0x2ac199['UZIlu'](markSessionStatus,global[_0xf17ca5(0xc9)][0x0],_0x2ac199[_0xf17ca5(0xe5)],global[_0xf17ca5(0x19c)][_0xf17ca5(0x12c)](_0x2ac199['ZjcaW'])):await _0x2ac199['xwxzg'](markSessionStatus,global[_0xf17ca5(0xc9)][0x0],_0x2ac199[_0xf17ca5(0x101)]));}catch(_0xae19fa){logger[_0xf17ca5(0x134)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0xae19fa);}global[_0xf17ca5(0x19c)]=[],global[_0xf17ca5(0x167)]=![];if(_0x357837)try{await global[_0xf17ca5(0xc9)][0x0]['initQuit'](),global[_0xf17ca5(0xc9)][0x0][_0xf17ca5(0x16d)][_0xf17ca5(0x151)](_0x455e70=>{const _0xa66cf1=_0xf17ca5;logger[_0xa66cf1(0x134)](_0xa66cf1(0x18d)+_0x455e70['getId']());})[_0xf17ca5(0x17f)](_0x3cd946=>{});}catch(_0x1c03ca){logger[_0xf17ca5(0x134)](_0xf17ca5(0x1b4)+_0x1c03ca);}};});const a9_0x436d9d={};a9_0x436d9d['name']=a9_0x5ee1fb(0x183),a9_0x436d9d[a9_0x5ee1fb(0x168)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a9_0x436d9d,function(_0x55fc9e,_0x24a43d){const _0x5ddfe2=a9_0x5ee1fb,_0x3adf89={'xkbiG':function(_0x14264a,_0x13b41b){return _0x14264a>_0x13b41b;},'WdnjO':function(_0x451816,_0x99093d){return _0x451816(_0x99093d);},'NfKdx':function(_0x124fc1,_0x34a821,_0x279cf7,_0x40d61d){return _0x124fc1(_0x34a821,_0x279cf7,_0x40d61d);},'DyKYx':_0x5ddfe2(0xe2),'dpDCW':function(_0x1ea47a,_0x57b9b7){return _0x1ea47a(_0x57b9b7);},'xffpr':'../v2/browserstackCLI','JgwuN':function(_0x401e05,_0x330ac3){return _0x401e05(_0x330ac3);},'uvctw':_0x5ddfe2(0xe8),'BrZTS':_0x5ddfe2(0x113),'nLBhB':_0x5ddfe2(0x157),'PpFAM':_0x5ddfe2(0x152),'FXQzV':function(_0x2c99b0){return _0x2c99b0();},'cOYkF':_0x5ddfe2(0xc4)};commandRepository[_0x5ddfe2(0x11f)](_0x55fc9e[_0x5ddfe2(0x1b7)][_0x5ddfe2(0x100)]),logger[_0x5ddfe2(0x134)](_0x3adf89[_0x5ddfe2(0xdf)]),new Promise(async _0x305016=>{const _0x3d6698=_0x5ddfe2;try{global[_0x3d6698(0xc9)]&&_0x3adf89['xkbiG'](global[_0x3d6698(0xc9)][_0x3d6698(0x192)],0x1)&&(await global[_0x3d6698(0x16b)](),global[_0x3d6698(0xc9)][_0x3d6698(0xc7)]()),global[_0x3d6698(0xc9)]&&global['__drivers'][0x0]&&global[_0x3d6698(0xc9)][0x0][_0x3d6698(0x194)]&&_0x3adf89[_0x3d6698(0x144)](global[_0x3d6698(0xc9)][0x0][_0x3d6698(0x194)],0x0)&&await global[_0x3d6698(0x16b)]();}catch(_0x760c7f){logger[_0x3d6698(0x134)](_0x3d6698(0x1b3)+_0x760c7f);}workerDetails['currentTest'][_0x3d6698(0x1bd)]=_0x55fc9e;if(!playwrightPatcher){try{if(!_0x3adf89[_0x3d6698(0x127)](isUndefined,_0x55fc9e['pickle'][_0x3d6698(0xdd)])){const _0x334359=_0x3adf89['NfKdx'](shouldScanTestForAccessibility,null,![],_0x55fc9e['pickle'][_0x3d6698(0xdd)]['map'](({name:_0x1c81e5})=>_0x1c81e5));globals['setGlobal'](_0x3adf89[_0x3d6698(0x12f)],_0x334359);}}catch(_0x435f57){logger[_0x3d6698(0x134)](_0x3d6698(0xc8)+util[_0x3d6698(0x179)](_0x435f57));}workerDetails[_0x3d6698(0x159)][_0x3d6698(0x16c)]=TestDetails[_0x3d6698(0xee)](_0x55fc9e[_0x3d6698(0xfb)]);}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x55fc9e),global[_0x3d6698(0x10e)]&&global[_0x3d6698(0x10e)]['pwPage']&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x3d6698(0x10e)][_0x3d6698(0x1c0)]);}catch(_0x84daf9){logger[_0x3d6698(0x134)](_0x3d6698(0x11a)+util[_0x3d6698(0x179)](_0x84daf9));}if(playwrightPatcher)try{const _0x2b3814=_0x3adf89[_0x3d6698(0x163)](require,_0x3adf89['xffpr']),_0x5bc68d=_0x3adf89[_0x3d6698(0x1b2)](require,_0x3adf89[_0x3d6698(0x110)]),_0x587819=_0x3adf89['dpDCW'](require,_0x3adf89[_0x3d6698(0x123)]);if(_0x2b3814[_0x3d6698(0x104)]()[_0x3d6698(0x158)]()){const _0x2dcce8={'title':_0x55fc9e[_0x3d6698(0x1b7)][_0x3d6698(0x100)]||_0x3adf89[_0x3d6698(0x11b)],'titlePath':[_0x55fc9e[_0x3d6698(0x1b7)]['name']||_0x3adf89['nLBhB']],'id':_0x55fc9e[_0x3d6698(0xfb)]||_0x3adf89['PpFAM'],'tags':_0x55fc9e[_0x3d6698(0x1b7)]['tags']||[],..._0x55fc9e},_0x5a73c0=_0x2dcce8;global[_0x3d6698(0x19f)]=_0x5a73c0,logger[_0x3d6698(0x134)](_0x3d6698(0x177)+_0x55fc9e[_0x3d6698(0x1b7)][_0x3d6698(0x100)]);}}catch(_0x2467f1){logger['debug'](_0x3d6698(0xd0)+util['format'](_0x2467f1));}_0x3adf89[_0x3d6698(0x108)](_0x305016);})[_0x5ddfe2(0x178)](_0x24a43d);});const a9_0x387522={};a9_0x387522[a9_0x5ee1fb(0x100)]=a9_0x5ee1fb(0x183),a9_0x387522['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x5ee1fb(0x15a)],After(a9_0x387522,function(_0x5297eb,_0x1a96e4){const _0x40a0b8=a9_0x5ee1fb,_0xfb526f={'UDpkK':function(_0x10426d,_0x104931){return _0x10426d>_0x104931;},'ClvXC':function(_0x18ce34,_0x331165){return _0x18ce34===_0x331165;},'YQZPF':'failed','yPjAD':function(_0x5b99a4,_0x24d82f,_0x4b4e53,_0x3f45d9){return _0x5b99a4(_0x24d82f,_0x4b4e53,_0x3f45d9);},'LOlUh':_0x40a0b8(0x12d),'QYokh':function(_0x3d1747,_0x3911b7,_0x452d78){return _0x3d1747(_0x3911b7,_0x452d78);},'qtWPU':_0x40a0b8(0x17b),'Uyawb':function(_0x2848d5,_0xc86e3a){return _0x2848d5(_0xc86e3a);},'wWMYB':_0x40a0b8(0x187),'ZnHjP':function(_0x3af34b,_0x5caf51){return _0x3af34b(_0x5caf51);},'PqoXU':_0x40a0b8(0xe8),'kLXIW':function(_0x22cfaf,_0x2dce0c){return _0x22cfaf(_0x2dce0c);},'csfZK':_0x40a0b8(0x113),'cDYJm':'Unknown\x20Test','sKOuf':_0x40a0b8(0x152),'BqXdU':_0x40a0b8(0xf0),'YUWEV':_0x40a0b8(0xd5),'dViLC':'Cleaned\x20up\x20close\x20tracker','uxqIp':_0x40a0b8(0x147),'tnYcN':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','qlMKY':_0x40a0b8(0x19e),'DydOo':function(_0x41daf4){return _0x41daf4();},'yjHMh':'CBTSessionCreated','mLkHW':_0x40a0b8(0x129),'mUarm':'bstackA11yShouldScan','TWfSY':_0x40a0b8(0xf9),'obpcP':_0x40a0b8(0xf4),'mrRHI':_0x40a0b8(0xc5),'hwCry':_0x40a0b8(0xfe),'fcRbO':_0x40a0b8(0x13c)};logger['debug'](_0xfb526f[_0x40a0b8(0x156)]),workerDetails[_0x40a0b8(0x159)][_0x40a0b8(0x1bd)]=_0x5297eb,new Promise(async _0x4d6751=>{const _0x548af9=_0x40a0b8;let _0x33e12f=![],_0x3c6461=![],_0x51a2aa=![];try{global['__drivers']&&_0xfb526f[_0x548af9(0x17e)](global[_0x548af9(0xc9)][_0x548af9(0x192)],0x0)&&(_0x3c6461=!![]),playwrightPatcher&&global[_0x548af9(0x10e)]&&global[_0x548af9(0x10e)][_0x548af9(0x1c0)]&&(_0x51a2aa=!![],logger['debug'](_0x548af9(0x13d)+!!global['__workerDetails'][_0x548af9(0x1c0)]));}catch(_0x212637){logger[_0x548af9(0x134)](_0x548af9(0x182)+_0x212637);}logger[_0x548af9(0x134)](_0x548af9(0x11c)+_0x3c6461+',\x20isPlaywrightFlow='+_0x51a2aa);const _0x52698c=_0x5297eb[_0x548af9(0x124)]['status'][_0x548af9(0x191)]()[_0x548af9(0xd6)](),_0x1892f1=_0xfb526f[_0x548af9(0xcf)](_0x52698c,_0xfb526f['YQZPF'])||_0xfb526f[_0x548af9(0xcf)](_0x52698c,'6'),_0x4bf2ea=_0x1892f1?_0x5297eb[_0x548af9(0x124)][_0x548af9(0x1a0)]:null;if(_0x1892f1)try{global['__error_messages__'][_0x548af9(0x133)](_0x5297eb[_0x548af9(0x124)][_0x548af9(0x1a0)]),global[_0x548af9(0x167)]=!![];}catch(_0x3f15df){logger['debug'](_0x548af9(0xdc)+_0x3f15df);}if(_0x3c6461)try{global['__drivers']&&_0xfb526f['UDpkK'](global[_0x548af9(0xc9)][_0x548af9(0x192)],0x1)&&(await global[_0x548af9(0x16b)](),global[_0x548af9(0xc9)]['shift'](),global[_0x548af9(0x19c)]=[],global[_0x548af9(0x167)]=![]),global[_0x548af9(0xc9)]&&global[_0x548af9(0xc9)][0x0]&&(await global[_0x548af9(0xc9)][0x0][_0x548af9(0x16d)],_0x33e12f=!![],!global[_0x548af9(0x1ae)]&&await global[_0x548af9(0xc9)][0x0][_0x548af9(0xc2)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x5297eb[_0x548af9(0x1b7)]['name']+'\x22}}'),_0x1892f1?await _0xfb526f[_0x548af9(0x118)](markSessionStatus,global[_0x548af9(0xc9)][0x0],_0xfb526f[_0x548af9(0xea)],global[_0x548af9(0x19c)]['join'](_0xfb526f[_0x548af9(0x106)])):await _0xfb526f[_0x548af9(0x1a4)](markSessionStatus,global['__drivers'][0x0],_0xfb526f[_0x548af9(0xdb)]));}catch(_0x36eda5){logger[_0x548af9(0x134)](_0x548af9(0xe7)+util[_0x548af9(0x179)](_0x36eda5));}if(_0x51a2aa)try{try{const _0x2326f2=_0xfb526f['Uyawb'](require,_0xfb526f[_0x548af9(0x176)]),_0x1e6342=_0xfb526f[_0x548af9(0x188)](require,_0xfb526f[_0x548af9(0x1aa)]),_0x1bed38=_0xfb526f['kLXIW'](require,_0xfb526f[_0x548af9(0x146)]);if(_0x2326f2[_0x548af9(0x104)]()[_0x548af9(0x158)]()){const _0xe130f9={'title':_0x5297eb['pickle'][_0x548af9(0x100)]||_0xfb526f[_0x548af9(0x1ba)],'titlePath':[_0x5297eb[_0x548af9(0x1b7)][_0x548af9(0x100)]||_0xfb526f[_0x548af9(0x1ba)]],'id':_0x5297eb[_0x548af9(0xfb)]||_0xfb526f['sKOuf'],'status':_0x1892f1?_0xfb526f['YQZPF']:_0xfb526f[_0x548af9(0xdb)],'error':_0x4bf2ea?{'message':_0x4bf2ea}:null,'tags':_0x5297eb['pickle'][_0x548af9(0xdd)]||[],..._0x5297eb},_0x4f6748=_0xe130f9,_0x56d940={};_0x56d940['testInfo']=_0x4f6748,_0x56d940[_0x548af9(0xcd)]=_0x5297eb,_0x56d940[_0x548af9(0xeb)]=global[_0x548af9(0x10e)][_0x548af9(0x1c0)],_0x56d940[_0x548af9(0x1b9)]=FRAMEWORKS[_0x548af9(0x143)],await _0x2326f2[_0x548af9(0x104)]()[_0x548af9(0xe3)]()[_0x548af9(0x1a8)](_0x1e6342[_0x548af9(0x140)],_0x1bed38[_0x548af9(0x11d)],_0x56d940),logger[_0x548af9(0x134)](_0x548af9(0x18c)+_0x5297eb[_0x548af9(0x1b7)][_0x548af9(0x100)]);}}catch(_0x446228){logger[_0x548af9(0x134)](_0x548af9(0xbd)+util[_0x548af9(0x179)](_0x446228));}const _0x332d4b=_0x1892f1?_0xfb526f['YQZPF']:_0xfb526f[_0x548af9(0xdb)];await playwrightPatcher[_0x548af9(0x161)](_0x5297eb,_0x332d4b,_0x4bf2ea),logger['debug'](_0xfb526f[_0x548af9(0x135)]);try{await playwrightPatcher[_0x548af9(0x10c)](),logger[_0x548af9(0x134)](_0xfb526f[_0x548af9(0x1a6)]);}catch(_0x451ee1){logger[_0x548af9(0x134)](_0x548af9(0x198)+util[_0x548af9(0x179)](_0x451ee1));}try{playwrightPatcher[_0x548af9(0xd7)]['cleanup'](),logger['debug'](_0xfb526f[_0x548af9(0x12a)]);}catch(_0x3793db){logger[_0x548af9(0x134)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util['format'](_0x3793db));}}catch(_0x13a17d){logger['debug'](_0x548af9(0x14e)+util[_0x548af9(0x179)](_0x13a17d));try{playwrightPatcher[_0x548af9(0x10c)]&&(await playwrightPatcher[_0x548af9(0x10c)](),logger[_0x548af9(0x134)](_0xfb526f[_0x548af9(0xca)])),playwrightPatcher[_0x548af9(0xd7)]&&playwrightPatcher[_0x548af9(0xd7)][_0x548af9(0x162)]&&(playwrightPatcher['closeTracker']['cleanup'](),logger[_0x548af9(0x134)](_0xfb526f['tnYcN']));}catch(_0x4a619e){logger[_0x548af9(0x134)](_0x548af9(0x13a)+util[_0x548af9(0x179)](_0x4a619e));}}const _0x413393=_0xfb526f[_0x548af9(0x138)](require,_0xfb526f[_0x548af9(0x1be)]);if(!_0x413393['getInstance']()[_0x548af9(0x158)]())try{if(_0xfb526f[_0x548af9(0x132)](shouldProcessEventForTesthub)){const _0x184bee=TestDetails[_0x548af9(0xee)](_0x5297eb[_0x548af9(0xfb)]);let _0x544d78=null;global[_0x548af9(0xc9)]&&global[_0x548af9(0xc9)][0x0]&&(_0x544d78=await _0xfb526f[_0x548af9(0x118)](sendPlatformDetails,global['__drivers'][0x0],_0x184bee,!![]));const _0x1377b2={};_0x1377b2[_0x548af9(0x12b)]=_0x184bee,_0x1377b2[_0x548af9(0x119)]=_0x544d78;const _0x3c251a=_0x1377b2,_0x39ab4b={};_0x39ab4b[_0x548af9(0x1a9)]=_0xfb526f['yjHMh'],_0x39ab4b[_0x548af9(0x122)]=_0x3c251a,await SessionHandler[_0x548af9(0x166)](_0x39ab4b);}}catch(_0x1f0a5e){logger[_0x548af9(0x134)](_0x548af9(0x19a)+util[_0x548af9(0x179)](_0x1f0a5e));}try{if(globals[_0x548af9(0x115)](_0xfb526f[_0x548af9(0x18b)])&&globals[_0x548af9(0x115)](_0xfb526f[_0x548af9(0x174)])){logger[_0x548af9(0x171)](_0xfb526f[_0x548af9(0x105)]);const _0x4ab394=TestDetails[_0x548af9(0xee)](_0x5297eb['testCaseStartedId']),_0x3de473={};_0x3de473[_0x548af9(0x16c)]=_0x4ab394,_0x3de473[_0x548af9(0x195)]=process['env'][testHubConstants['ENV_VAR'][_0x548af9(0x130)]],_0x3de473[_0x548af9(0x13f)]=process[_0x548af9(0x15e)][testHubConstants['ENV_VAR'][_0x548af9(0xe1)]];const _0x101b45=_0x3de473;logger['debug'](_0x548af9(0x14d)+JSON[_0x548af9(0xbf)](_0x101b45)),logger[_0x548af9(0x134)](_0xfb526f['obpcP']),global[_0x548af9(0xc9)]&&global[_0x548af9(0xc9)][0x0]&&(logger['debug'](util['format'](await global[_0x548af9(0xc9)][0x0][_0x548af9(0x17a)](scripts[_0x548af9(0xfd)],{'method':global[_0x548af9(0x1ac)]}))),globals[_0x548af9(0x115)](_0xfb526f[_0x548af9(0x112)])&&(_0x101b45[_0x548af9(0x1bf)]=!![]),await global[_0x548af9(0xc9)][0x0][_0x548af9(0x17a)](scripts[_0x548af9(0x160)],_0x101b45)),logger[_0x548af9(0x171)](_0xfb526f[_0x548af9(0xc3)]);}}catch(_0x5f1461){logger[_0x548af9(0x172)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x548af9(0x179)](_0x5f1461));}if(_0x33e12f)try{global[_0x548af9(0xc9)][0x0]&&_0xfb526f[_0x548af9(0x17e)](global['__drivers'][0x0][_0x548af9(0x194)],0x0)&&await global[_0x548af9(0xc9)][0x0][_0x548af9(0xff)]();}catch(_0x58a8e9){logger[_0x548af9(0x134)]('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x58a8e9);}_0xfb526f[_0x548af9(0x132)](_0x4d6751);})[_0x40a0b8(0x178)](()=>_0x1a96e4());});const a9_0x1734f7={};a9_0x1734f7['name']=a9_0x5ee1fb(0x183),a9_0x1734f7[a9_0x5ee1fb(0x168)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a9_0x1734f7,function(_0x58f3bf,_0x51d024){const _0x10d4cb=a9_0x5ee1fb,_0x12c906={'fupif':function(_0xf347c8,_0xf9aa20){return _0xf347c8===_0xf9aa20;},'HarcB':_0x10d4cb(0x139),'ITmJo':function(_0x775e2,_0x1e23a){return _0x775e2!==_0x1e23a;},'PsCHT':function(_0x41de9a,_0x18b740,_0x85d57c){return _0x41de9a(_0x18b740,_0x85d57c);},'UTPOE':function(_0x333bde,_0x28065f){return _0x333bde+_0x28065f;},'QiZLb':function(_0x498b2d,_0x43b0c3){return _0x498b2d+_0x43b0c3;},'cTkzi':_0x10d4cb(0xed),'bjKtB':_0x10d4cb(0x1b0),'yMwNL':_0x10d4cb(0x172),'qJkhm':'Passed:\x20','ELNdY':'info','WfpyE':function(_0x322b60,_0x1e9a1f,_0x468241){return _0x322b60(_0x1e9a1f,_0x468241);},'lQyso':_0x10d4cb(0x17d),'shYyC':function(_0xcdbc02){return _0xcdbc02();},'OSjRO':_0x10d4cb(0x186)};logger['debug'](_0x12c906['OSjRO']);const _0x33e94d=async(_0x4ae781,_0x55abbd)=>{const _0xf59da8=_0x10d4cb;global[_0xf59da8(0xc9)]&&global[_0xf59da8(0xc9)][0x0]&&await global[_0xf59da8(0xc9)][0x0][_0xf59da8(0xc2)](_0xf59da8(0xf7)+_0x4ae781+_0xf59da8(0x1ad)+_0x55abbd+_0xf59da8(0x18e));};new Promise(async _0x394ce9=>{const _0x420b20=_0x10d4cb;try{const _0x1c5610=_0x12c906['fupif'](_0x58f3bf[_0x420b20(0x124)][_0x420b20(0x175)][_0x420b20(0x191)]()['toLowerCase'](),_0x12c906[_0x420b20(0xfa)])||_0x12c906[_0x420b20(0x125)](_0x58f3bf[_0x420b20(0x124)][_0x420b20(0x175)][_0x420b20(0x191)]()[_0x420b20(0xd6)](),'6');_0x1c5610?(global['__sessionFailed']=!![],global[_0x420b20(0x19c)]['push'](_0x58f3bf[_0x420b20(0x124)]['message']),_0x12c906[_0x420b20(0x154)](_0x58f3bf['pickleStep'],undefined)?await _0x12c906['PsCHT'](_0x33e94d,JSON['stringify'](_0x12c906[_0x420b20(0x14f)](_0x12c906[_0x420b20(0x14f)](_0x12c906[_0x420b20(0xde)](_0x12c906['cTkzi'],'\x22'+_0x58f3bf['pickleStep'][_0x420b20(0x19b)]+'\x22\x20'),_0x12c906[_0x420b20(0x16f)]),_0x58f3bf[_0x420b20(0x124)][_0x420b20(0x1a0)])),_0x12c906[_0x420b20(0x1bb)]):await _0x12c906[_0x420b20(0x107)](_0x33e94d,JSON[_0x420b20(0xbf)](_0x12c906['QiZLb'](_0x12c906[_0x420b20(0xf2)],_0x58f3bf['result']['message'])),_0x12c906[_0x420b20(0x1bb)])):_0x12c906['ITmJo'](_0x58f3bf[_0x420b20(0x1a2)],undefined)?await _0x12c906[_0x420b20(0x107)](_0x33e94d,JSON[_0x420b20(0xbf)](_0x12c906['UTPOE'](_0x12c906[_0x420b20(0x15c)],'\x22'+_0x58f3bf[_0x420b20(0x1a2)]['text']+'\x22')),_0x12c906['ELNdY']):await _0x12c906[_0x420b20(0x190)](_0x33e94d,JSON[_0x420b20(0xbf)](_0x12c906[_0x420b20(0x19d)]),_0x12c906[_0x420b20(0x10b)]),global[_0x420b20(0xc9)]&&global[_0x420b20(0xc9)][0x0]&&global['__drivers'][0x0][_0x420b20(0x16d)][_0x420b20(0x151)](_0xcab780=>{})[_0x420b20(0x17f)](_0x20a13f=>{const _0x136ff1=_0x420b20;logger[_0x136ff1(0x134)](_0x136ff1(0x170)+util[_0x136ff1(0x179)](_0x20a13f));});}catch(_0x74bb2c){logger[_0x420b20(0x134)]('Error:\x20at\x20After\x20Step:\x20'+_0x74bb2c);}_0x12c906[_0x420b20(0x15f)](_0x394ce9);})['finally'](()=>_0x51d024());});const a9_0x13dc4a={};a9_0x13dc4a[a9_0x5ee1fb(0x100)]=a9_0x5ee1fb(0x183),a9_0x13dc4a[a9_0x5ee1fb(0x168)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a9_0x13dc4a,async function(_0x2ef968,_0x32f680){const _0xc831b4=a9_0x5ee1fb,_0x81d072={'tkNvr':'3|4|2|1|0','qzQYc':function(_0x31dd14){return _0x31dd14();},'nvpHl':_0xc831b4(0x109),'ibzfC':_0xc831b4(0xbe)};logger[_0xc831b4(0x134)](_0x81d072['ibzfC']),await new Promise(async _0x589fc4=>{const _0x2e9019=_0xc831b4,_0xae948b=_0x81d072[_0x2e9019(0x199)][_0x2e9019(0xd3)]('|');let _0x4b0307=0x0;while(!![]){switch(_0xae948b[_0x4b0307++]){case'0':_0x81d072['qzQYc'](_0x589fc4);continue;case'1':await global[_0x2e9019(0x16b)]();continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x2e9019(0x10c)]&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher[_0x2e9019(0xd7)]&&playwrightPatcher[_0x2e9019(0xd7)][_0x2e9019(0x162)](),logger[_0x2e9019(0x134)](_0x81d072[_0x2e9019(0x126)]));}catch(_0x5621a4){logger['debug'](_0x2e9019(0xda)+util[_0x2e9019(0x179)](_0x5621a4));}continue;case'3':await RequestQueueHandler[_0x2e9019(0x104)]()[_0x2e9019(0xd8)]();continue;case'4':PerformanceTester[_0x2e9019(0x1a5)]();continue;}break;}});});
|
|
1
|
+
const a9_0x3853f1=a9_0x7e77;function a9_0x7e77(_0x2d88d1,_0x267bd9){const _0x2574b6=a9_0x2574();return a9_0x7e77=function(_0x7e778a,_0x144f90){_0x7e778a=_0x7e778a-0x70;let _0x44b874=_0x2574b6[_0x7e778a];return _0x44b874;},a9_0x7e77(_0x2d88d1,_0x267bd9);}(function(_0x134955,_0x123542){const _0x521f2c=a9_0x7e77,_0x31615e=_0x134955();while(!![]){try{const _0x4a2d27=parseInt(_0x521f2c(0x70))/0x1*(-parseInt(_0x521f2c(0xa3))/0x2)+parseInt(_0x521f2c(0x151))/0x3*(-parseInt(_0x521f2c(0x98))/0x4)+parseInt(_0x521f2c(0xe1))/0x5+-parseInt(_0x521f2c(0xd8))/0x6*(-parseInt(_0x521f2c(0x11c))/0x7)+parseInt(_0x521f2c(0xd0))/0x8*(-parseInt(_0x521f2c(0x171))/0x9)+-parseInt(_0x521f2c(0x165))/0xa*(-parseInt(_0x521f2c(0x169))/0xb)+parseInt(_0x521f2c(0x11d))/0xc;if(_0x4a2d27===_0x123542)break;else _0x31615e['push'](_0x31615e['shift']());}catch(_0x317ab0){_0x31615e['push'](_0x31615e['shift']());}}}(a9_0x2574,0x630b2));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x3853f1(0x160)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x3853f1(0x15d)),setKeepAlive=require(a9_0x3853f1(0x11a)),util=require(a9_0x3853f1(0xfd)),PerformanceTester=require(a9_0x3853f1(0x124)),{EVENTS:PerformanceEvents}=require(a9_0x3853f1(0xbe)),{commandRepository}=require(a9_0x3853f1(0xb9)),cucumberModule=requireModule(a9_0x3853f1(0x162),'@cucumber/cucumber'),logger=require(a9_0x3853f1(0x13f))[a9_0x3853f1(0x90)],{shouldProcessEventForTesthub}=require(a9_0x3853f1(0xa5)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x3853f1(0xac)),TestDetails=require(a9_0x3853f1(0xf9)),TestInfo=require(a9_0x3853f1(0xc6)),RequestQueueHandler=require(a9_0x3853f1(0x73)),{o11yErrorHandler}=require(a9_0x3853f1(0xdf)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a9_0x3853f1(0x175)),scripts=require(a9_0x3853f1(0xaf)),globals=require(a9_0x3853f1(0xea)),testHubConstants=require(a9_0x3853f1(0xf6)),{shouldScanTestForAccessibility}=require(a9_0x3853f1(0x16a)),{isUndefined}=require(a9_0x3853f1(0xda)),helper=require(a9_0x3853f1(0x160)),a9_0x5780c1={};a9_0x5780c1['workerInfo']=undefined,a9_0x5780c1[a9_0x3853f1(0x9a)]={},a9_0x5780c1[a9_0x3853f1(0xa0)]=![],a9_0x5780c1[a9_0x3853f1(0x108)]=null,a9_0x5780c1[a9_0x3853f1(0x97)]=![],a9_0x5780c1[a9_0x3853f1(0x9a)]['id']=undefined,a9_0x5780c1[a9_0x3853f1(0x9a)]['testInfo']=undefined;const workerDetails=a9_0x5780c1;global[a9_0x3853f1(0x9c)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x9b890){const _0x149903=a9_0x3853f1,_0x4814e5={'XzUac':function(_0xd901a6,_0x1c9052){return _0xd901a6(_0x1c9052);},'wTEVE':_0x149903(0x104),'pCqkY':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x4053ba=workerDetails[_0x149903(0x9a)][_0x149903(0x9f)];if(!_0x4053ba)return;if(playwrightPatcher)try{const _0x3ebab7=_0x4814e5[_0x149903(0x101)](require,_0x4814e5['wTEVE']);if(_0x3ebab7[_0x149903(0x87)]()['isRunning']()){const _0x30064e=_0x4053ba[_0x149903(0x10f)];_0x30064e?(_0x9b890['uuid']=_0x30064e,_0x9b890[_0x149903(0x146)]=_0x30064e,TestInfo['storeLogObjects'](_0x30064e,_0x9b890)):logger['debug'](_0x4814e5['pCqkY']);return;}}catch(_0x49f2c3){logger[_0x149903(0x138)](_0x149903(0x167)+util[_0x149903(0xa4)](_0x49f2c3));}await MyReporter[_0x149903(0x150)](_0x4053ba,_0x9b890);}),registerListeners=()=>{const _0x5a26b5=a9_0x3853f1,_0x165fdc={};_0x165fdc[_0x5a26b5(0xbb)]=_0x5a26b5(0x9e);const _0x348cb8=_0x165fdc;logger[_0x5a26b5(0x138)](_0x348cb8[_0x5a26b5(0xbb)]),process[_0x5a26b5(0x95)](_0x5a26b5(0x117)+process['pid']),process['on'](_0x5a26b5(0x117)+process[_0x5a26b5(0x72)],sendTestLog),PerformanceTester[_0x5a26b5(0xed)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule[a9_0x3853f1(0xce)],AfterAll=cucumberModule[a9_0x3853f1(0x75)],BeforeAll=cucumberModule[a9_0x3853f1(0x148)],AfterStep=cucumberModule[a9_0x3853f1(0x7e)],configuration=process[a9_0x3853f1(0xde)][a9_0x3853f1(0x7b)],bstackConfig=process[a9_0x3853f1(0xde)][a9_0x3853f1(0x71)];if(configuration!==undefined){const config=JSON[a9_0x3853f1(0x92)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config['skipSessionName']),global[a9_0x3853f1(0xdc)]=isTrue(config[a9_0x3853f1(0x115)])):(global['__skipSessionName']=!![],global[a9_0x3853f1(0xdc)]=!![]);!helper[a9_0x3853f1(0xd9)](a9_0x3853f1(0xca))&&(logger[a9_0x3853f1(0x138)](a9_0x3853f1(0xc4)),shouldProcessEventForTesthub()?require(a9_0x3853f1(0xa7))[a9_0x3853f1(0x7a)](config,null,!![]):require(a9_0x3853f1(0xa7))[a9_0x3853f1(0x7a)](config));global[a9_0x3853f1(0x7d)]=config[a9_0x3853f1(0xdd)]||{},global[a9_0x3853f1(0xc9)]=config[a9_0x3853f1(0xb6)];if(helper[a9_0x3853f1(0xd9)]('@playwright/test'))try{logger[a9_0x3853f1(0x138)](a9_0x3853f1(0x11e)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a9_0x3853f1(0xfc)](config),logger[a9_0x3853f1(0x138)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a9_0x4ee635){logger[a9_0x3853f1(0x138)](a9_0x3853f1(0xe8)+util[a9_0x3853f1(0xa4)](a9_0x4ee635));}}if(bstackConfig!==undefined){const browserStackConfig=JSON['parse'](bstackConfig);browserStackConfig&&(commandRepository[a9_0x3853f1(0x128)](browserStackConfig),commandRepository[a9_0x3853f1(0xf2)](a9_0x3853f1(0xb2)));}global[a9_0x3853f1(0x156)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x3853f1(0x82)];cucumberModule[a9_0x3853f1(0x82)]=_0x3adfa1=>{const _0x133587=a9_0x3853f1,_0x42fc03={'qfGiY':function(_0x16a6fd,_0x30909c){return _0x16a6fd(_0x30909c);}};global[_0x133587(0x156)]=_0x3adfa1,_0x42fc03[_0x133587(0x135)](__setDefaultTimeout,_0x3adfa1);};const a9_0x51a19e={};a9_0x51a19e['name']=a9_0x3853f1(0xf5),BeforeAll(a9_0x51a19e,async function(){const _0x1adf58=a9_0x3853f1,_0x335ffa={'NtIQT':function(_0x29778c,_0x155f25,_0x4ebab2,_0x17fce4){return _0x29778c(_0x155f25,_0x4ebab2,_0x17fce4);},'iCWzK':_0x1adf58(0xd5),'kATXB':_0x1adf58(0x8d),'mulPR':function(_0x49e997,_0x457a88,_0xf003ed){return _0x49e997(_0x457a88,_0xf003ed);},'TgmSU':_0x1adf58(0xb5),'KcLJX':'Inside\x20browserstack\x20BeforeAll','vsZiL':function(_0x87026,_0x58f538){return _0x87026(_0x58f538);},'EqtQe':_0x1adf58(0x104),'WTFCD':function(_0x36f726,_0x5df67d){return _0x36f726(_0x5df67d);},'pSIYT':_0x1adf58(0x129),'JyRKV':_0x1adf58(0x78),'ocArI':function(_0x4d564d){return _0x4d564d();},'owKPY':function(_0x898dac){return _0x898dac();},'ygwNS':function(_0x505740,_0x1a2114){return _0x505740(_0x1a2114);}};PerformanceTester['startMonitoring'](),logger[_0x1adf58(0x138)](_0x335ffa[_0x1adf58(0x120)]),global[_0x1adf58(0xf0)]=[],global[_0x1adf58(0x155)]=![];if(playwrightPatcher)try{const _0xdd369=_0x335ffa[_0x1adf58(0xf3)](require,_0x335ffa[_0x1adf58(0x159)]),_0x39144a=_0x335ffa[_0x1adf58(0x16b)](require,_0x335ffa['pSIYT']);_0xdd369[_0x1adf58(0x87)]()[_0x1adf58(0x119)]()&&(logger[_0x1adf58(0x138)](_0x335ffa[_0x1adf58(0x11f)]),_0x39144a[_0x1adf58(0x77)](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x1adf58(0x140)]),await _0xdd369[_0x1adf58(0x87)]()['bootstrap']());}catch(_0x1016e5){logger[_0x1adf58(0x138)](_0x1adf58(0xb0)+util['format'](_0x1016e5));}_0x335ffa[_0x1adf58(0xcb)](shouldProcessEventForTesthub)&&(_0x335ffa['owKPY'](registerListeners),_0x335ffa[_0x1adf58(0x88)](addRequestSpy,![])),global[_0x1adf58(0x74)]=async()=>{const _0x25f7a0=_0x1adf58;let _0x601d85=![];try{global[_0x25f7a0(0xbd)]&&global['__drivers'][0x0]&&(await global['__drivers'][0x0][_0x25f7a0(0x12c)],_0x601d85=!![],global['__sessionFailed']?await _0x335ffa[_0x25f7a0(0x132)](markSessionStatus,global[_0x25f7a0(0xbd)][0x0],_0x335ffa[_0x25f7a0(0xc7)],global['__error_messages__']['join'](_0x335ffa[_0x25f7a0(0x15b)])):await _0x335ffa[_0x25f7a0(0x13c)](markSessionStatus,global[_0x25f7a0(0xbd)][0x0],_0x335ffa[_0x25f7a0(0xf1)]));}catch(_0x3f6c37){logger[_0x25f7a0(0x138)]('Error:\x20cleaning\x20up\x20driver:\x20'+_0x3f6c37);}global['__error_messages__']=[],global[_0x25f7a0(0x155)]=![];if(_0x601d85)try{await global[_0x25f7a0(0xbd)][0x0][_0x25f7a0(0xe5)](),global[_0x25f7a0(0xbd)][0x0][_0x25f7a0(0x12c)]['then'](_0x3bd7cb=>{const _0x8b5abc=_0x25f7a0;logger['debug'](_0x8b5abc(0x12a)+_0x3bd7cb[_0x8b5abc(0xd7)]());})[_0x25f7a0(0x12b)](_0x39d1c7=>{});}catch(_0x498acb){logger[_0x25f7a0(0x138)](_0x25f7a0(0x10e)+_0x498acb);}};});const a9_0x20ceba={};a9_0x20ceba[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x20ceba[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],Before(a9_0x20ceba,function(_0x5ac555,_0x4af2f0){const _0x1da39a=a9_0x3853f1,_0x2c629c={'TEsUo':function(_0x4f27ee,_0x3b709d){return _0x4f27ee>_0x3b709d;},'gqNBE':function(_0x13ae0a,_0x47246a){return _0x13ae0a>_0x47246a;},'oykfn':function(_0x24a49b,_0x2e9888){return _0x24a49b(_0x2e9888);},'QdWNg':function(_0x3e69fe,_0x2729db,_0x56ad64,_0x2093c4){return _0x3e69fe(_0x2729db,_0x56ad64,_0x2093c4);},'EZBIU':_0x1da39a(0xfe),'ILjhK':function(_0x179cc0,_0x56899b){return _0x179cc0(_0x56899b);},'IxVVu':_0x1da39a(0x104),'IqPVt':function(_0xbb8044,_0x5162ad){return _0xbb8044(_0x5162ad);},'GftoK':_0x1da39a(0xcc),'PpIOS':function(_0x1d5130,_0x1a5440){return _0x1d5130(_0x1a5440);},'LDwfp':_0x1da39a(0xc3),'BaxUQ':'Unknown\x20Test','vJbLU':_0x1da39a(0x12d),'GUIsC':function(_0x490479){return _0x490479();},'RoBDM':_0x1da39a(0x100)};commandRepository[_0x1da39a(0x81)](_0x5ac555[_0x1da39a(0xd4)]['name']),logger['debug'](_0x2c629c[_0x1da39a(0xa9)]),new Promise(async _0x2fce3a=>{const _0x23493d=_0x1da39a;try{global[_0x23493d(0xbd)]&&_0x2c629c['TEsUo'](global[_0x23493d(0xbd)][_0x23493d(0x131)],0x1)&&(await global[_0x23493d(0x74)](),global[_0x23493d(0xbd)][_0x23493d(0x10b)]()),global[_0x23493d(0xbd)]&&global['__drivers'][0x0]&&global[_0x23493d(0xbd)][0x0][_0x23493d(0xa2)]&&_0x2c629c['gqNBE'](global[_0x23493d(0xbd)][0x0][_0x23493d(0xa2)],0x0)&&await global[_0x23493d(0x74)]();}catch(_0x2061d2){logger[_0x23493d(0x138)](_0x23493d(0xd1)+_0x2061d2);}workerDetails[_0x23493d(0x9a)]['testInfo']=_0x5ac555;if(!playwrightPatcher){try{if(!_0x2c629c[_0x23493d(0x9d)](isUndefined,_0x5ac555[_0x23493d(0xd4)][_0x23493d(0xe2)])){const _0x46be94=_0x2c629c[_0x23493d(0x14c)](shouldScanTestForAccessibility,null,![],_0x5ac555['pickle'][_0x23493d(0xe2)][_0x23493d(0x109)](({name:_0x4d0511})=>_0x4d0511));globals[_0x23493d(0xba)](_0x2c629c['EZBIU'],_0x46be94);}}catch(_0x35cd27){logger[_0x23493d(0x138)](_0x23493d(0xa6)+util[_0x23493d(0xa4)](_0x35cd27));}workerDetails[_0x23493d(0x9a)][_0x23493d(0x149)]=TestDetails[_0x23493d(0x144)](_0x5ac555[_0x23493d(0x10f)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x23493d(0x14f)](_0x5ac555),global[_0x23493d(0x9c)]&&global[_0x23493d(0x9c)]['pwPage']&&playwrightPatcher[_0x23493d(0xcf)](global[_0x23493d(0x9c)][_0x23493d(0x108)]);}catch(_0x4c5f55){logger[_0x23493d(0x138)]('Error\x20in\x20playwright\x20beforeTestHook:\x20'+util[_0x23493d(0xa4)](_0x4c5f55));}if(playwrightPatcher)try{const _0xa1adf9=_0x2c629c['ILjhK'](require,_0x2c629c[_0x23493d(0x94)]),_0x2c3c88=_0x2c629c[_0x23493d(0xb3)](require,_0x2c629c[_0x23493d(0x15e)]),_0x320029=_0x2c629c[_0x23493d(0xf8)](require,_0x2c629c['LDwfp']);if(_0xa1adf9[_0x23493d(0x87)]()[_0x23493d(0x122)]()){const _0x3f9075={'title':_0x5ac555['pickle'][_0x23493d(0x10a)]||_0x2c629c[_0x23493d(0x86)],'titlePath':[_0x5ac555['pickle'][_0x23493d(0x10a)]||_0x2c629c[_0x23493d(0x86)]],'id':_0x5ac555[_0x23493d(0x10f)]||_0x2c629c[_0x23493d(0x158)],'tags':_0x5ac555['pickle'][_0x23493d(0xe2)]||[],..._0x5ac555},_0x57dae9=_0x3f9075;global[_0x23493d(0xee)]=_0x57dae9,logger['debug'](_0x23493d(0x106)+_0x5ac555[_0x23493d(0xd4)][_0x23493d(0x10a)]);}}catch(_0x3fcd8c){logger['debug']('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x23493d(0xa4)](_0x3fcd8c));}_0x2c629c[_0x23493d(0x107)](_0x2fce3a);})[_0x1da39a(0x15a)](_0x4af2f0);});const a9_0x3fab95={};a9_0x3fab95[a9_0x3853f1(0x10a)]='bstack',a9_0x3fab95['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],After(a9_0x3fab95,function(_0x1d5fc4,_0x5c3c62){const _0x190e8a=a9_0x3853f1,_0x2653f4={'FMEAg':function(_0x4d7332,_0x28ceb4){return _0x4d7332>_0x28ceb4;},'KWGsv':function(_0x2b4ddd,_0x2c770c){return _0x2b4ddd===_0x2c770c;},'qfmtH':_0x190e8a(0xd5),'qdvqD':function(_0x242700,_0x18eb11){return _0x242700>_0x18eb11;},'uGHbL':function(_0x1445eb,_0x54c7fa,_0x3b8248,_0x172592){return _0x1445eb(_0x54c7fa,_0x3b8248,_0x172592);},'sGRwR':_0x190e8a(0x8d),'WNAFd':function(_0x16a22a,_0x444d32,_0x1c74b9){return _0x16a22a(_0x444d32,_0x1c74b9);},'SEDIo':_0x190e8a(0xb5),'yEHmz':function(_0x2c3309,_0xd2cc17){return _0x2c3309(_0xd2cc17);},'nWgtU':_0x190e8a(0x104),'FAcsS':_0x190e8a(0xcc),'HFBYQ':_0x190e8a(0xc3),'qlTET':_0x190e8a(0x102),'owbqb':_0x190e8a(0x12d),'XUtDM':_0x190e8a(0x83),'UtqqC':_0x190e8a(0xbf),'TdRDb':_0x190e8a(0x163),'hDeqz':_0x190e8a(0x8a),'FkdqD':_0x190e8a(0xcd),'QKACi':function(_0x52dd8a,_0x10b6ac){return _0x52dd8a(_0x10b6ac);},'aYntx':_0x190e8a(0xff),'RrNqc':function(_0xead857){return _0xead857();},'AtIbO':function(_0x2d63a6,_0x4270d8,_0x385d25,_0x2dee48){return _0x2d63a6(_0x4270d8,_0x385d25,_0x2dee48);},'TTSFH':'CBTSessionCreated','IRhPW':_0x190e8a(0x11b),'vMuQB':_0x190e8a(0xfe),'kzKla':_0x190e8a(0x96),'BSmRg':_0x190e8a(0x10c),'ICNfo':_0x190e8a(0xe0),'qkohH':_0x190e8a(0xbc),'gMTDD':function(_0x44c134,_0x46082d){return _0x44c134>_0x46082d;},'KMLsJ':function(_0x5b189c){return _0x5b189c();},'FxjRB':'Inside\x20browserstack\x20After'};logger[_0x190e8a(0x138)](_0x2653f4[_0x190e8a(0x153)]),workerDetails['currentTest']['testInfo']=_0x1d5fc4,new Promise(async _0x17969b=>{const _0x32704f=_0x190e8a;let _0x393562=![],_0x2d8fb3=![],_0x149109=![];try{global[_0x32704f(0xbd)]&&_0x2653f4['FMEAg'](global[_0x32704f(0xbd)][_0x32704f(0x131)],0x0)&&(_0x2d8fb3=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x32704f(0x9c)][_0x32704f(0x108)]&&(_0x149109=!![],logger['debug']('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x32704f(0x9c)][_0x32704f(0x108)]));}catch(_0x4325d4){logger[_0x32704f(0x138)](_0x32704f(0xb4)+_0x4325d4);}logger[_0x32704f(0x138)](_0x32704f(0x166)+_0x2d8fb3+',\x20isPlaywrightFlow='+_0x149109);const _0x3dbd9b=_0x1d5fc4[_0x32704f(0x14e)][_0x32704f(0x173)]['toString']()[_0x32704f(0x143)](),_0x49e9b7=_0x2653f4[_0x32704f(0x9b)](_0x3dbd9b,_0x2653f4[_0x32704f(0xe3)])||_0x2653f4[_0x32704f(0x9b)](_0x3dbd9b,'6'),_0x411461=_0x49e9b7?_0x1d5fc4[_0x32704f(0x14e)]['message']:null;if(_0x49e9b7)try{global[_0x32704f(0xf0)]['push'](_0x1d5fc4[_0x32704f(0x14e)][_0x32704f(0x14b)]),global[_0x32704f(0x155)]=!![];}catch(_0x53bc7a){logger[_0x32704f(0x138)](_0x32704f(0xeb)+_0x53bc7a);}if(_0x2d8fb3)try{global[_0x32704f(0xbd)]&&_0x2653f4['qdvqD'](global[_0x32704f(0xbd)][_0x32704f(0x131)],0x1)&&(await global[_0x32704f(0x74)](),global['__drivers'][_0x32704f(0x10b)](),global[_0x32704f(0xf0)]=[],global[_0x32704f(0x155)]=![]),global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(await global[_0x32704f(0xbd)][0x0]['session_'],_0x393562=!![],!global[_0x32704f(0x168)]&&await global[_0x32704f(0xbd)][0x0][_0x32704f(0xa1)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x1d5fc4[_0x32704f(0xd4)][_0x32704f(0x10a)]+'\x22}}'),_0x49e9b7?await _0x2653f4[_0x32704f(0x141)](markSessionStatus,global[_0x32704f(0xbd)][0x0],_0x2653f4[_0x32704f(0xe3)],global[_0x32704f(0xf0)]['join'](_0x2653f4['sGRwR'])):await _0x2653f4[_0x32704f(0x15c)](markSessionStatus,global[_0x32704f(0xbd)][0x0],_0x2653f4[_0x32704f(0x147)]));}catch(_0x3d048c){logger['debug'](_0x32704f(0xd6)+util[_0x32704f(0xa4)](_0x3d048c));}if(_0x149109)try{try{const _0x1a4ffc=_0x2653f4[_0x32704f(0xc5)](require,_0x2653f4[_0x32704f(0x123)]),_0x3e25aa=_0x2653f4[_0x32704f(0xc5)](require,_0x2653f4[_0x32704f(0x89)]),_0x251995=_0x2653f4['yEHmz'](require,_0x2653f4[_0x32704f(0x125)]);if(_0x1a4ffc[_0x32704f(0x87)]()[_0x32704f(0x122)]()){const _0x1bb5ef={'title':_0x1d5fc4[_0x32704f(0xd4)][_0x32704f(0x10a)]||_0x2653f4[_0x32704f(0xef)],'titlePath':[_0x1d5fc4['pickle'][_0x32704f(0x10a)]||_0x2653f4[_0x32704f(0xef)]],'id':_0x1d5fc4[_0x32704f(0x10f)]||_0x2653f4['owbqb'],'status':_0x49e9b7?_0x2653f4['qfmtH']:_0x2653f4[_0x32704f(0x147)],'error':_0x411461?{'message':_0x411461}:null,'tags':_0x1d5fc4[_0x32704f(0xd4)]['tags']||[],..._0x1d5fc4},_0x21bb39=_0x1bb5ef,_0x46d326={};_0x46d326[_0x32704f(0x9f)]=_0x21bb39,_0x46d326[_0x32704f(0xb7)]=_0x1d5fc4,_0x46d326[_0x32704f(0x145)]=global[_0x32704f(0x9c)][_0x32704f(0x108)],_0x46d326['testFramework']=FRAMEWORKS[_0x32704f(0xad)],await _0x1a4ffc[_0x32704f(0x87)]()['getAutomationFramework']()['trackEvent'](_0x3e25aa[_0x32704f(0x142)],_0x251995[_0x32704f(0x14d)],_0x46d326),logger[_0x32704f(0x138)](_0x32704f(0x13b)+_0x1d5fc4[_0x32704f(0xd4)]['name']);}}catch(_0x2a7fae){logger[_0x32704f(0x138)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x32704f(0xa4)](_0x2a7fae));}const _0x5aea1a=_0x49e9b7?_0x2653f4['qfmtH']:_0x2653f4[_0x32704f(0x147)];await playwrightPatcher['afterTestHook'](_0x1d5fc4,_0x5aea1a,_0x411461),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x172)]);try{await playwrightPatcher[_0x32704f(0x170)](),logger[_0x32704f(0x138)](_0x2653f4['UtqqC']);}catch(_0x38576d){logger['debug'](_0x32704f(0x152)+util[_0x32704f(0xa4)](_0x38576d));}try{playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x16e)]);}catch(_0x523e03){logger[_0x32704f(0x138)](_0x32704f(0x16d)+util[_0x32704f(0xa4)](_0x523e03));}}catch(_0x760fc0){logger[_0x32704f(0x138)](_0x32704f(0x76)+util['format'](_0x760fc0));try{playwrightPatcher[_0x32704f(0x170)]&&(await playwrightPatcher[_0x32704f(0x170)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0xec)])),playwrightPatcher[_0x32704f(0xd2)]&&playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)]&&(playwrightPatcher[_0x32704f(0xd2)][_0x32704f(0xfa)](),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x127)]));}catch(_0x146b76){logger[_0x32704f(0x138)]('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x32704f(0xa4)](_0x146b76));}}const _0x2c888e=_0x2653f4[_0x32704f(0x13d)](require,_0x2653f4[_0x32704f(0x112)]);if(!_0x2c888e[_0x32704f(0x87)]()[_0x32704f(0x122)]())try{if(_0x2653f4[_0x32704f(0x174)](shouldProcessEventForTesthub)){const _0xb6796a=TestDetails[_0x32704f(0x144)](_0x1d5fc4['testCaseStartedId']);let _0x4011f1=null;global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(_0x4011f1=await _0x2653f4['AtIbO'](sendPlatformDetails,global[_0x32704f(0xbd)][0x0],_0xb6796a,!![]));const _0x37a2cb={};_0x37a2cb[_0x32704f(0x13a)]=_0xb6796a,_0x37a2cb[_0x32704f(0x161)]=_0x4011f1;const _0x201b1d=_0x37a2cb,_0x580c43={};_0x580c43[_0x32704f(0x8f)]=_0x2653f4[_0x32704f(0x121)],_0x580c43[_0x32704f(0x103)]=_0x201b1d,await SessionHandler[_0x32704f(0x16c)](_0x580c43);}}catch(_0x5ac994){logger['debug'](_0x32704f(0x79)+util[_0x32704f(0xa4)](_0x5ac994));}try{if(globals[_0x32704f(0xa8)](_0x2653f4[_0x32704f(0xab)])&&globals['getGlobal'](_0x2653f4[_0x32704f(0x154)])){logger[_0x32704f(0x126)](_0x2653f4[_0x32704f(0x91)]);const _0x4d4f04=TestDetails['getTestUUID'](_0x1d5fc4[_0x32704f(0x10f)]),_0x2f1e30={};_0x2f1e30['thTestRunUuid']=_0x4d4f04,_0x2f1e30[_0x32704f(0x80)]=process[_0x32704f(0xde)][testHubConstants[_0x32704f(0x164)]['BROWSERSTACK_TESTHUB_UUID']],_0x2f1e30[_0x32704f(0x99)]=process[_0x32704f(0xde)][testHubConstants[_0x32704f(0x164)][_0x32704f(0xb1)]];const _0x44a588=_0x2f1e30;logger[_0x32704f(0x138)](_0x32704f(0x113)+JSON[_0x32704f(0x93)](_0x44a588)),logger[_0x32704f(0x138)](_0x2653f4[_0x32704f(0x133)]),global[_0x32704f(0xbd)]&&global[_0x32704f(0xbd)][0x0]&&(logger[_0x32704f(0x138)](util[_0x32704f(0xa4)](await global[_0x32704f(0xbd)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global[_0x32704f(0xc1)]}))),globals['getGlobal'](_0x2653f4[_0x32704f(0xaa)])&&(_0x44a588[_0x32704f(0xf4)]=!![]),await global['__drivers'][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x44a588)),logger[_0x32704f(0x126)](_0x2653f4[_0x32704f(0x10d)]);}}catch(_0x15e50c){logger['error'](_0x32704f(0x114)+util[_0x32704f(0xa4)](_0x15e50c));}if(_0x393562)try{global[_0x32704f(0xbd)][0x0]&&_0x2653f4[_0x32704f(0x105)](global[_0x32704f(0xbd)][0x0][_0x32704f(0xa2)],0x0)&&await global[_0x32704f(0xbd)][0x0]['initQuit']();}catch(_0x5eb7b5){logger['debug']('Error:\x20quiting\x20driver\x20at\x20After:\x20'+_0x5eb7b5);}_0x2653f4['KMLsJ'](_0x17969b);})[_0x190e8a(0x15a)](()=>_0x5c3c62());});const a9_0x5f3122={};a9_0x5f3122[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x5f3122[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],AfterStep(a9_0x5f3122,function(_0x2d7c5f,_0x17f658){const _0x2bfc5e=a9_0x3853f1,_0x546038={'pbDsX':function(_0x3edcdf,_0x1d92c){return _0x3edcdf===_0x1d92c;},'JGPgd':_0x2bfc5e(0xd5),'JxBXL':function(_0x393d6f,_0x209aa4){return _0x393d6f===_0x209aa4;},'vfvtK':function(_0x9d0775,_0x5cd8b5){return _0x9d0775!==_0x5cd8b5;},'FgMBq':function(_0x4d2bd1,_0x5741ed,_0x3a08df){return _0x4d2bd1(_0x5741ed,_0x3a08df);},'JQket':function(_0x554eb6,_0x4348c4){return _0x554eb6+_0x4348c4;},'XNMMn':function(_0x28da9,_0x5d102e){return _0x28da9+_0x5d102e;},'vPPix':_0x2bfc5e(0x116),'fWLSa':_0x2bfc5e(0x110),'ShxRh':'error','HfIyQ':function(_0x133ea5,_0x435ca4,_0x395451){return _0x133ea5(_0x435ca4,_0x395451);},'UPTGg':function(_0xf30057,_0x4e0078){return _0xf30057!==_0x4e0078;},'kdans':function(_0xcd4621,_0x1390a1){return _0xcd4621+_0x1390a1;},'psubC':_0x2bfc5e(0xb8),'CnsTH':_0x2bfc5e(0x126),'KVHUz':function(_0x37d4c3,_0x27f398,_0x605faf){return _0x37d4c3(_0x27f398,_0x605faf);},'sntvL':'Passed','hdeeL':function(_0x2c6a7d){return _0x2c6a7d();},'TMegq':_0x2bfc5e(0x136)};logger[_0x2bfc5e(0x138)](_0x546038[_0x2bfc5e(0x118)]);const _0x2524ef=async(_0x1fbf5e,_0x2eb416)=>{const _0x55ea28=_0x2bfc5e;global[_0x55ea28(0xbd)]&&global[_0x55ea28(0xbd)][0x0]&&await global[_0x55ea28(0xbd)][0x0][_0x55ea28(0xa1)](_0x55ea28(0xe9)+_0x1fbf5e+',\x22level\x22:\x20\x22'+_0x2eb416+_0x55ea28(0x12f));};new Promise(async _0xdd95e6=>{const _0x3e3043=_0x2bfc5e;try{const _0x83f38b=_0x546038['pbDsX'](_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x173)][_0x3e3043(0x85)]()[_0x3e3043(0x143)](),_0x546038[_0x3e3043(0xc0)])||_0x546038[_0x3e3043(0x15f)](_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x173)][_0x3e3043(0x85)]()['toLowerCase'](),'6');_0x83f38b?(global[_0x3e3043(0x155)]=!![],global[_0x3e3043(0xf0)][_0x3e3043(0x130)](_0x2d7c5f[_0x3e3043(0x14e)]['message']),_0x546038[_0x3e3043(0xe4)](_0x2d7c5f[_0x3e3043(0x8c)],undefined)?await _0x546038[_0x3e3043(0x13e)](_0x2524ef,JSON['stringify'](_0x546038[_0x3e3043(0x12e)](_0x546038['XNMMn'](_0x546038[_0x3e3043(0x12e)](_0x546038[_0x3e3043(0x16f)],'\x22'+_0x2d7c5f[_0x3e3043(0x8c)][_0x3e3043(0xe6)]+'\x22\x20'),_0x546038[_0x3e3043(0x134)]),_0x2d7c5f['result']['message'])),_0x546038[_0x3e3043(0x7f)]):await _0x546038[_0x3e3043(0x8b)](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038['XNMMn'](_0x546038[_0x3e3043(0x16f)],_0x2d7c5f[_0x3e3043(0x14e)][_0x3e3043(0x14b)])),_0x546038[_0x3e3043(0x7f)])):_0x546038['UPTGg'](_0x2d7c5f['pickleStep'],undefined)?await _0x546038[_0x3e3043(0x8b)](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038['kdans'](_0x546038[_0x3e3043(0x84)],'\x22'+_0x2d7c5f[_0x3e3043(0x8c)]['text']+'\x22')),_0x546038['CnsTH']):await _0x546038['KVHUz'](_0x2524ef,JSON[_0x3e3043(0x93)](_0x546038[_0x3e3043(0x8e)]),_0x546038[_0x3e3043(0x7c)]),global[_0x3e3043(0xbd)]&&global[_0x3e3043(0xbd)][0x0]&&global['__drivers'][0x0]['session_']['then'](_0x1a5d2e=>{})[_0x3e3043(0x12b)](_0x1e4c68=>{const _0x21258f=_0x3e3043;logger[_0x21258f(0x138)](_0x21258f(0xe7)+util['format'](_0x1e4c68));});}catch(_0x158679){logger[_0x3e3043(0x138)]('Error:\x20at\x20After\x20Step:\x20'+_0x158679);}_0x546038[_0x3e3043(0x157)](_0xdd95e6);})[_0x2bfc5e(0x15a)](()=>_0x17f658());});function a9_0x2574(){const _0x1505b6=['1016eywqml','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','closeTracker','3|1|0|2|4','pickle','failed','Error:\x20at\x20After\x20(Selenium):\x20','getId','162GEQtgg','getPackageVersion','lodash','shutdown','__skipSessionStatus','platformCaps','env','../../helpers/test-observability/error-handler','isMobilePlatform','1629350ezJZrg','tags','qfmtH','vfvtK','initQuit','text','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Error\x20initializing\x20Playwright\x20patching:\x20','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','../../helpers/globals','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','hDeqz','startMonitoring','__currentTestInfo','qlTET','__error_messages__','TgmSU','setFramework','vsZiL','is_mobile_session','bstack','../../helpers/testhub/constants.js','timeout','PpIOS','../playwright/reporter/test-details.js','cleanup','Cucumber-JS','initializePlaywrightPatching','util','bstackA11yShouldScan','../v2/browserstackCLI.js','Inside\x20browserstack\x20Before','XzUac','Unknown\x20Test','test_run','../v2/browserstackCLI','gMTDD','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','GUIsC','pwPage','map','name','shift','Performing\x20scan\x20before\x20saving\x20results','qkohH','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','testCaseStartedId','\x0aError:\x20','Inside\x20browserstack\x20AfterAll','aYntx','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','skipSessionStatus','Failed:\x20','bs:addLog:','TMegq','isCliEnabled','../../helpers/setKeepAlive','isAccessibilityPlatform','166082BDybTg','6977352zFEPwy','Patching\x20Playwright','JyRKV','KcLJX','TTSFH','isRunning','nWgtU','../../helpers/performance/performance-tester','HFBYQ','info','FkdqD','setConfig','../v2/cliUtils','Error:\x20in\x20quitting\x20driver\x20','catch','session_','cucumber-test','JQket','\x22}}','push','length','NtIQT','BSmRg','fWLSa','qfGiY','Inside\x20browserstack\x20AfterStep','gbGWV','debug','TFiab','uuid','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','mulPR','QKACi','FgMBq','../../helpers/logger','PLAYWRIGHT','uGHbL','QUIT','toLowerCase','getTestUUID','page','test_run_uuid','SEDIo','BeforeAll','thTestRunUuid','stopMonitoring','message','QdWNg','PRE','result','beforeTestHook','addTestUIDAndReportLog','741vbRdfn','Error\x20executing\x20deferred\x20closes:\x20','FxjRB','vMuQB','__sessionFailed','__timeout','hdeeL','vJbLU','EqtQe','finally','kATXB','WNAFd','../utils/constants','GftoK','JxBXL','../../helpers/helper','integrations','@cucumber/cucumber/lib/index.js','Cleaned\x20up\x20close\x20tracker','ENV_VAR','230wczgkJ','Flow\x20detection:\x20isSeleniumFlow=','Error\x20sending\x20log\x20created\x20event:\x20','__skipSessionName','265001NnAeml','../../helpers/accessibility-automation/helper','WTFCD','uploadEventData','Error\x20cleaning\x20up\x20close\x20tracker:\x20','TdRDb','vPPix','executeDeferredCloses','31932DegGBo','XUtDM','status','RrNqc','../../helpers/test-observability/sessionHandler','11019bGNmsS','BSTACK_CONFIG','pid','../../helpers/test-observability/requestQueueHandler','driverCleanup','AfterAll','Error:\x20at\x20After\x20(Playwright):\x20','setFrameworkDetail','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','Error:\x20sendPlatformDetails\x20at\x20After:\x20','browserstackAgentV2','CONFIG','CnsTH','__platformCaps','AfterStep','ShxRh','thBuildUuid','setTestNameForHealingContext','setDefaultTimeout','Completed\x20Playwright\x20afterTestHook\x20execution','psubC','toString','BaxUQ','getInstance','ygwNS','FAcsS','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','HfIyQ','pickleStep','\x20|\x20','sntvL','event_type','winstonLogger','kzKla','parse','stringify','IxVVu','removeAllListeners','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','isPageFixture','13036PVQaPk','thJwtToken','currentTest','KWGsv','__workerDetails','oykfn','Inside\x20browserstack\x20registerListeners','testInfo','o11ySyncDone','executeScript','quitCount_','80qrOTvM','format','../../helpers/testhub/utils','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','../../index','getGlobal','RoBDM','ICNfo','IRhPW','../../helpers/test-observability/utils','CUCUMBER','WHwVZ','../../helpers/accessibility-automation/scripts','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','BROWSERSTACK_TESTHUB_JWT','cucumber-js','IqPVt','Error\x20determining\x20test\x20flow:\x20','passed','platformIndex','scenario','Passed:\x20','../../helpers/ai-sdk/autoHealHelper','setGlobal','CFyGu','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','__drivers','../../helpers/performance/constants','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','JGPgd','browserstackSessionName','Cleaned\x20up\x20Playwright\x20close\x20tracker','../v2/state/hookState','Patching\x20Selenium','yEHmz','../v2/TestInfo.js','iCWzK','KFvSS','browserstackPlatformIndex','@playwright/test','ocArI','../v2/state/automationFrameworkState','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','After','patchPageCommandsForAccessibility'];a9_0x2574=function(){return _0x1505b6;};return a9_0x2574();}const a9_0x5b44ef={};a9_0x5b44ef[a9_0x3853f1(0x10a)]=a9_0x3853f1(0xf5),a9_0x5b44ef[a9_0x3853f1(0xf7)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x3853f1(0xfb)],AfterAll(a9_0x5b44ef,async function(_0x7b0c3c,_0x148770){const _0x584434=a9_0x3853f1,_0x4fc753={'WHwVZ':_0x584434(0xd3),'gbGWV':_0x584434(0xc2),'KFvSS':function(_0x478576){return _0x478576();},'TFiab':_0x584434(0x111)};logger[_0x584434(0x138)](_0x4fc753[_0x584434(0x139)]),await new Promise(async _0x326c7e=>{const _0x5b32a7=_0x584434,_0x225856=_0x4fc753[_0x5b32a7(0xae)]['split']('|');let _0x2a2575=0x0;while(!![]){switch(_0x225856[_0x2a2575++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x5b32a7(0x170)]&&(await playwrightPatcher[_0x5b32a7(0x170)](),playwrightPatcher[_0x5b32a7(0xd2)]&&playwrightPatcher['closeTracker'][_0x5b32a7(0xfa)](),logger[_0x5b32a7(0x138)](_0x4fc753[_0x5b32a7(0x137)]));}catch(_0x137eac){logger[_0x5b32a7(0x138)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util['format'](_0x137eac));}continue;case'1':PerformanceTester[_0x5b32a7(0x14a)]();continue;case'2':await global['driverCleanup']();continue;case'3':await RequestQueueHandler['getInstance']()[_0x5b32a7(0xdb)]();continue;case'4':_0x4fc753[_0x5b32a7(0xc8)](_0x326c7e);continue;}break;}});});
|