browserstack-node-sdk 1.50.1 → 1.50.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ats/src/cloudproviders/AWS.js +1 -1
- package/ats/src/cloudproviders/Azure.js +1 -1
- package/ats/src/cloudproviders/CloudProvider.js +1 -1
- package/ats/src/cloudproviders/GoogleCloudProvider.js +1 -1
- package/ats/src/cloudproviders/utils.js +1 -1
- package/ats/src/commands/configure.js +1 -1
- package/ats/src/commands/connect.js +1 -1
- package/ats/src/commands/connect_commands/grid.js +1 -1
- package/ats/src/commands/create.js +1 -1
- package/ats/src/commands/create_commands/grid.js +1 -1
- package/ats/src/commands/delete.js +1 -1
- package/ats/src/commands/delete_commands/grid.js +1 -1
- package/ats/src/commands/init.js +1 -1
- package/ats/src/commands/list.js +1 -1
- package/ats/src/commands/list_commands/grid_profiles.js +1 -1
- package/ats/src/commands/list_commands/grids.js +1 -1
- package/ats/src/commands/precheck.js +1 -1
- package/ats/src/commands/precheck_commands/setup_precheck.js +1 -1
- package/ats/src/commands/start.js +1 -1
- package/ats/src/commands/start_commands/grid.js +1 -1
- package/ats/src/commands/stop.js +1 -1
- package/ats/src/commands/stop_commands/grid.js +1 -1
- package/ats/src/config/constants.js +1 -1
- package/ats/src/config/logger.js +1 -1
- package/ats/src/index.js +1 -1
- package/ats/src/utils/AWSUtils.js +1 -1
- package/ats/src/utils/createAutoscalerStack.js +1 -1
- package/ats/src/utils/createClusterStack.js +1 -1
- package/ats/src/utils/createHubHaStack.js +1 -1
- package/ats/src/utils/createk8sClient.js +1 -1
- package/ats/src/utils/deleteEFSMountTargets.js +1 -1
- package/ats/src/utils/deleteStack.js +1 -1
- package/ats/src/utils/describeStack.js +1 -1
- package/ats/src/utils/gridComponents.js +1 -1
- package/ats/src/utils/hstUtils.js +1 -1
- package/ats/src/utils/instrumentationUtils.js +1 -1
- package/ats/src/utils/userInput.js +1 -1
- package/ats/src/utils/utilityMethods.js +1 -1
- package/ats/src/utils/webSocketUtils.js +1 -1
- package/package.json +1 -1
- package/src/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test.setup.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a5_0x41ab37=a5_0x14f3;(function(_0x44a8ce,_0x5e1b15){const _0x2db1ca=a5_0x14f3,_0x453a4f=_0x44a8ce();while(!![]){try{const _0x584717=-parseInt(_0x2db1ca(0x118))/0x1*(parseInt(_0x2db1ca(0xfc))/0x2)+-parseInt(_0x2db1ca(0x13f))/0x3+-parseInt(_0x2db1ca(0x13d))/0x4+parseInt(_0x2db1ca(0xeb))/0x5*(parseInt(_0x2db1ca(0xee))/0x6)+-parseInt(_0x2db1ca(0x139))/0x7*(parseInt(_0x2db1ca(0x149))/0x8)+-parseInt(_0x2db1ca(0x166))/0x9+parseInt(_0x2db1ca(0xda))/0xa;if(_0x584717===_0x5e1b15)break;else _0x453a4f['push'](_0x453a4f['shift']());}catch(_0x5a01bb){_0x453a4f['push'](_0x453a4f['shift']());}}}(a5_0x5d53,0x8a72e));function a5_0x5d53(){const _0xa7e82e=['forEach','kzHkk','getPlatformName','scenariosFailed','turboScaleUrl','../v2/browserstackCLI','NhNwA','argv','winstonLogger','framework','finalExecution','SVaaM','../../helpers/performance/constants','stepsAmbiguous','EVENTS','handleApp','chalk','stepsUnknown','6775371byOixf','stop','exports','Pdfsl','\x20failed','\x20passed','sFPjD','oqzkS','eDZSG','getTCGConfigFilePaths','stepsPending','getInstance','XCjlY','green','configPath','removeDir','OgoTU','../../helpers/testhub/testhubHandler','\x20ambiguous','26650380RHesFu','../test-runner','unlinkSync','log','setUserConfigPath','scenarios','browserstackAutomation','then','accessibilityOptions','red','stepsUndefined','isUndefined','push','stepsPassed','owhFA','length','skipSessionStatus','5Rvjsoj','getErrorMessageFromResults','CUCUMBER','4682838sAlkJN','Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','cliConfig','\x20scenarios','../../helpers/playwright-helper','getHubUrl','mergeOutputFiles','VbwTH','yellow','exitCode','CNwBS','bdOwa','setFrameworkDetail','../../helpers/logger','92118AVfGjr','isBrowserstackInfra','\x20undefined','prevr','tDZrd','tmp','QnzDR','isCLIEnabled','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','ztuNu','rnLEr','getPackageVersion','ZtaHT','proxySettings','Removing\x20tmp\x20directory\x20created\x20for\x20reports','kWOoH','true','Generating\x20consolidated\x20report...','@playwright/test','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','PLAYWRIGHT','format','start','testObservability','aubpr','isRunning','miJYh','BROWSERSTACK_TEST_ACCESSIBILITY_YML','9OqtVDA','qgrdo','\x20skipped','setBrowserstackConfig','__isPlaywrightInstalled','zKxdC','HwumZ','BROWSERSTACK_AUTOMATION','bGWnX','BROWSERSTACK_CLI_BIN_SESSION_ID','ayhqA','XBpHP','bold','env','processSuccess','prepareCapabilities','../../helpers/test-observability/constants','join','BROWSERSTACK_TEST_OBSERVABILITY','binSessionId','debug','AxHsE','cwd','wTacO','setupTCGAuth','testContextOptions','GyPfL','XIuzY','SDK_CLEANUP','config','dhNcW','accessibility','BUciH','28mwImNS','splice','cyan','getUserWorkerCount','46716hzVjGm','logLevel','2990340xFCEmn','../utils/clientTroubleshootingService','../v2/cliUtils','ZcYFg','bootstrap','../../helpers/test-observability/utils','initialize','end','QdLaw','lDnyM','1405232umAorQ','omiIF','FRAMEWORKS','printBuildLink','finally','\x20pending','isFalse','BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML','****\x20RESULTS\x20****','errorMessage','BROWSERSTACK_TEST_OBSERVABILITY_YML'];a5_0x5d53=function(){return _0xa7e82e;};return a5_0x5d53();}function a5_0x14f3(_0x39cd4c,_0x305565){const _0x5d530e=a5_0x5d53();return a5_0x14f3=function(_0x14f341,_0x2631ac){_0x14f341=_0x14f341-0xd5;let _0x214c62=_0x5d530e[_0x14f341];return _0x214c62;},a5_0x14f3(_0x39cd4c,_0x305565);}const fs=require('fs'),path=require('path'),util=require('util'),logger=require(a5_0x41ab37(0xfb))[a5_0x41ab37(0x15c)],helper=require('../../helpers/helper'),utilities=require('../../helpers/utilities'),constants=require('../utils/constants'),{parallelCucumberRun}=require(a5_0x41ab37(0xdb)),TestHubHandler=require(a5_0x41ab37(0xd8)),testOpsHelper=require(a5_0x41ab37(0x144)),chalk=require(a5_0x41ab37(0x164)),PerformanceTester=require('../../helpers/performance/performance-tester'),PerformanceEvents=require(a5_0x41ab37(0x160))[a5_0x41ab37(0x162)],BrowserstackCLI=require(a5_0x41ab37(0x159)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a5_0x41ab37(0xf2)),ClientTroubleShootingService=require(a5_0x41ab37(0x140));function printCucumberStats(_0x1fe7cf){const _0x3b6f65=a5_0x41ab37,_0x44ea02={};_0x44ea02['eDZSG']=function(_0x2e8d26,_0x3ff003){return _0x2e8d26>_0x3ff003;},_0x44ea02[_0x3b6f65(0x105)]=function(_0x10c2f5,_0x18a3bb){return _0x10c2f5-_0x18a3bb;},_0x44ea02[_0x3b6f65(0x142)]=function(_0x4ea6c3,_0x98eee0){return _0x4ea6c3-_0x98eee0;},_0x44ea02[_0x3b6f65(0x119)]=function(_0x293070,_0x37a29d){return _0x293070>_0x37a29d;},_0x44ea02[_0x3b6f65(0xe8)]=function(_0xb855ab,_0x4fb764){return _0xb855ab>_0x4fb764;},_0x44ea02[_0x3b6f65(0xff)]=function(_0x125a54,_0x15544c){return _0x125a54>_0x15544c;},_0x44ea02['NhNwA']=function(_0x49259e,_0x353989){return _0x49259e>_0x353989;},_0x44ea02[_0x3b6f65(0x136)]=function(_0x597143,_0x339a50){return _0x597143>_0x339a50;},_0x44ea02[_0x3b6f65(0x132)]=function(_0x122e10,_0x22149b){return _0x122e10>_0x22149b;},_0x44ea02[_0x3b6f65(0x138)]=function(_0x99dbe0,_0x2bb7f7){return _0x99dbe0>_0x2bb7f7;},_0x44ea02[_0x3b6f65(0x102)]=function(_0x1655b9,_0x5728df){return _0x1655b9+_0x5728df;},_0x44ea02[_0x3b6f65(0x169)]=function(_0x1bac7b,_0x24a997){return _0x1bac7b+_0x24a997;},_0x44ea02['XIuzY']=function(_0x2912d4,_0x4e4145){return _0x2912d4+_0x4e4145;},_0x44ea02[_0x3b6f65(0x122)]=function(_0x534876,_0x2757c1){return _0x534876===_0x2757c1;},_0x44ea02['kWOoH']=function(_0x11d696,_0x7de396){return _0x11d696===_0x7de396;},_0x44ea02[_0x3b6f65(0x11d)]=_0x3b6f65(0x151);const _0x258291=_0x44ea02;let _0x49c9e5=0x0;if(_0x258291[_0x3b6f65(0x10b)](_0x1fe7cf['length'],0x0))return _0x49c9e5;return console[_0x3b6f65(0xdd)](chalk[_0x3b6f65(0x124)]['bgWhite'](_0x258291[_0x3b6f65(0x11d)])),_0x1fe7cf[_0x3b6f65(0x154)](_0xc4155c=>{const _0x4c8efc=_0x3b6f65,_0x348a26=_0xc4155c[0x0],_0x29d166=_0xc4155c[0x1];helper['isBrowserstackInfra']()&&console[_0x4c8efc(0xdd)]('\x0a'+chalk['bold'][_0x4c8efc(0xf6)](''+helper[_0x4c8efc(0x156)](_0x348a26)));const _0x1b55d5=_0x29d166[_0x4c8efc(0xdf)],_0x134a7f=_0x29d166['steps'],_0x730980=_0x29d166[_0x4c8efc(0x157)],_0x4b4530=_0x29d166['stepsFailed'],_0x2bafc7=_0x29d166[_0x4c8efc(0xe7)],_0x532c44=_0x29d166['stepsSkipped'],_0x47e3a1=_0x29d166[_0x4c8efc(0x170)],_0xabc593=_0x29d166[_0x4c8efc(0xe4)],_0x1ff699=_0x29d166[_0x4c8efc(0x165)],_0x542d69=_0x29d166[_0x4c8efc(0x161)],_0x412939=_0x29d166[_0x4c8efc(0x126)];let _0x363163=_0x1b55d5+_0x4c8efc(0xf1);const _0x5103ea=_0x258291[_0x4c8efc(0x16e)](_0x258291[_0x4c8efc(0x105)](_0x1b55d5,_0x730980),0x0)?_0x258291[_0x4c8efc(0x142)](_0x1b55d5,_0x730980):0x0;if(_0x258291[_0x4c8efc(0x119)](_0x730980,0x0)&&_0x258291['owhFA'](_0x5103ea,0x0))_0x363163+='\x20('+chalk[_0x4c8efc(0x124)]['red'](_0x730980+_0x4c8efc(0x16a))+',\x20'+chalk[_0x4c8efc(0x124)][_0x4c8efc(0x173)](_0x5103ea+_0x4c8efc(0x16b))+')';else(_0x258291[_0x4c8efc(0x119)](_0x730980,0x0)||_0x258291[_0x4c8efc(0xff)](_0x5103ea,0x0))&&(_0x363163+=_0x258291[_0x4c8efc(0x15a)](_0x730980,0x0)?'\x20('+chalk[_0x4c8efc(0x124)]['red'](_0x730980+_0x4c8efc(0x16a))+')':'\x20('+chalk[_0x4c8efc(0x124)]['green'](_0x5103ea+_0x4c8efc(0x16b))+')');const _0x224549=_0x134a7f+'\x20steps',_0x4c2f86=[];_0x258291[_0x4c8efc(0x15a)](_0x542d69,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk[_0x4c8efc(0x124)][_0x4c8efc(0xe3)](_0x542d69+_0x4c8efc(0xd9)));_0x258291[_0x4c8efc(0xff)](_0x4b4530,0x0)&&_0x4c2f86['push'](''+chalk[_0x4c8efc(0x124)][_0x4c8efc(0xe3)](_0x4b4530+'\x20failed'));_0x258291[_0x4c8efc(0x119)](_0x2bafc7,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk[_0x4c8efc(0x124)][_0x4c8efc(0x173)](_0x2bafc7+_0x4c8efc(0x16b)));_0x258291[_0x4c8efc(0x119)](_0x47e3a1,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk['bold']['yellow'](_0x47e3a1+_0x4c8efc(0x14e)));_0x258291['dhNcW'](_0x532c44,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk[_0x4c8efc(0x124)][_0x4c8efc(0x13b)](_0x532c44+_0x4c8efc(0x11a)));_0x258291[_0x4c8efc(0x132)](_0xabc593,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk['bold']['yellow'](_0xabc593+_0x4c8efc(0xfe)));_0x258291['BUciH'](_0x1ff699,0x0)&&_0x4c2f86[_0x4c8efc(0xe6)](''+chalk[_0x4c8efc(0x124)][_0x4c8efc(0xf6)](_0x1ff699+_0x4c8efc(0x11a)));const _0x425676=_0x258291[_0x4c8efc(0x102)](_0x258291[_0x4c8efc(0x102)](_0x258291[_0x4c8efc(0x169)](_0x224549,'('),_0x4c2f86[_0x4c8efc(0x129)](',\x20')),')');console[_0x4c8efc(0xdd)](_0x258291[_0x4c8efc(0x102)](_0x258291[_0x4c8efc(0x133)](_0x258291[_0x4c8efc(0x102)](_0x258291[_0x4c8efc(0x169)]('\x0a',_0x363163),'\x0a'),_0x425676),'\x0a')),_0x258291[_0x4c8efc(0x122)](_0x412939,![])&&(_0x49c9e5=0x1);}),_0x49c9e5;}async function run(_0x19958c,_0x5f3939,_0x35624b){const _0x3086b9=a5_0x41ab37,_0x17bee5={'XCjlY':function(_0x1b569c,_0xac2c65){return _0x1b569c(_0xac2c65);},'rnLEr':function(_0x3fd207,_0x17806e){return _0x3fd207>_0x17806e;},'HwumZ':_0x3086b9(0x10d),'SVaaM':_0x3086b9(0x10a),'miJYh':'cucumber','lDnyM':'error\x20removing\x20tcg\x20config\x20file','aubpr':_0x3086b9(0x10e),'ZtaHT':function(_0x5a7b22,_0x3aa8c8,_0x25ae01,_0x544a5a){return _0x5a7b22(_0x3aa8c8,_0x25ae01,_0x544a5a);},'omiIF':_0x3086b9(0x101),'BSfkO':function(_0x41f8f5,_0x225d34){return _0x41f8f5>_0x225d34;},'UsgHM':function(_0x283cf6,_0x44a3db){return _0x283cf6-_0x44a3db;},'bdOwa':function(_0xe2faf5,_0x55aa05){return _0xe2faf5>=_0x55aa05;},'kzHkk':function(_0x2f3078,_0x5a1513){return _0x2f3078!=_0x5a1513;},'tDZrd':_0x3086b9(0x10c),'mQGGK':function(_0x1f629d,_0x3b2853){return _0x1f629d(_0x3b2853);},'kdrTA':'../../helpers/accessibility-automation/helper','bGWnX':'../playwright/accessibility-helper','QdLaw':function(_0x30c3ba,_0x5381ee){return _0x30c3ba(_0x5381ee);},'wTacO':'false','sFPjD':function(_0x4a992c,_0xb76060){return _0x4a992c===_0xb76060;},'CNwBS':_0x3086b9(0x159),'Jrpqi':function(_0x1eba52,_0x6972cf){return _0x1eba52(_0x6972cf);},'oqzkS':_0x3086b9(0x141),'VbwTH':_0x3086b9(0x128),'XBpHP':function(_0x135048,_0x5d4a0b){return _0x135048(_0x5d4a0b);},'AxHsE':function(_0x5f0f52,_0x481061){return _0x5f0f52===_0x481061;},'IsQjP':'--disable-test-observability','NYYgY':function(_0x3e2f3c,_0x1b1dd0){return _0x3e2f3c(_0x1b1dd0);},'OgoTU':function(_0x1e9512,_0x6db297){return _0x1e9512(_0x6db297);},'VXoof':function(_0x942cdf,_0x425836,_0x4ee295,_0x1409e3,_0x22aef3,_0x593e5f){return _0x942cdf(_0x425836,_0x4ee295,_0x1409e3,_0x22aef3,_0x593e5f);}},_0x325adb=helper[_0x3086b9(0x107)](_0x17bee5['aubpr']);global[_0x3086b9(0x11c)]=!!_0x325adb,await _0x35624b[_0x3086b9(0x145)](_0x19958c),await _0x17bee5[_0x3086b9(0x108)](checkPwandBootstrapCli,_0x325adb,constants[_0x3086b9(0x14b)]['CUCUMBER'],_0x35624b);BrowserstackCLI[_0x3086b9(0x171)]()[_0x3086b9(0x12b)]&&(process['env'][_0x3086b9(0x121)]=BrowserstackCLI[_0x3086b9(0x171)]()[_0x3086b9(0x12b)]);helper[_0x3086b9(0xde)](_0x35624b[_0x3086b9(0x15d)],_0x19958c);!helper[_0x3086b9(0xfd)]()&&await _0x35624b[_0x3086b9(0x130)]();await helper[_0x3086b9(0x163)](_0x35624b[_0x3086b9(0x135)]);const _0x3de403=helper['useW3C'](_0x35624b[_0x3086b9(0x135)]);!helper['isUndefined'](_0x35624b[_0x3086b9(0x135)]['accessibilityOptions'])&&(process[_0x3086b9(0x125)][_0x3086b9(0x150)]=JSON['stringify'](_0x35624b['config'][_0x3086b9(0xe2)]));if(!BrowserstackCLI[_0x3086b9(0x171)]()[_0x3086b9(0x115)]()){const _0x5cca85=await TestHubHandler['launchBuild'](constants[_0x3086b9(0x14b)][_0x3086b9(0xed)],_0x35624b);}let _0x41e436=[];if(!helper[_0x3086b9(0xfd)]()){const _0x5a292d={};_0x5a292d['platforms']=[],_0x41e436=helper[_0x3086b9(0x127)](Object['assign']({},_0x35624b[_0x3086b9(0x135)],_0x5a292d),_0x3de403,constants[_0x3086b9(0x14b)][_0x3086b9(0xed)]);}else _0x41e436=helper[_0x3086b9(0x127)](_0x35624b[_0x3086b9(0x135)],_0x3de403,constants['FRAMEWORKS'][_0x3086b9(0xed)]);if(!_0x35624b['config'])return;const _0x3d68b8=_0x35624b[_0x3086b9(0x135)]['parallelsPerPlatform']||helper[_0x3086b9(0x13c)](_0x19958c,_0x5f3939,_0x35624b[_0x3086b9(0x135)],constants[_0x3086b9(0x14b)][_0x3086b9(0xed)])||0x1,_0x5ba05a={'server':helper[_0x3086b9(0xf3)](_0x35624b[_0x3086b9(0x135)]),'proxySettings':_0x35624b['config'][_0x3086b9(0x109)],'maxWorkers':_0x3d68b8,'browserStackLogLevel':_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x13e)],'skipSessionName':_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x131)]['skipSessionName'],'skipSessionStatus':_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x131)][_0x3086b9(0xea)],'turboScaleUrl':_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x158)]},_0x22389a=process[_0x3086b9(0x15b)],[_0x26cbe3,_0x1be66a]=helper['parseFormatters'](_0x22389a),_0x5c71fb=path[_0x3086b9(0x129)](process[_0x3086b9(0x12e)](),_0x17bee5[_0x3086b9(0x14a)]);if(_0x17bee5['BSfkO'](_0x1be66a[_0x3086b9(0xe9)],0x0)){helper['createDir'](_0x5c71fb);for(let _0x19d26e=_0x17bee5['UsgHM'](_0x26cbe3[_0x3086b9(0xe9)],0x1);_0x17bee5['bdOwa'](_0x19d26e,0x0);_0x19d26e--){_0x22389a[_0x3086b9(0x13a)](_0x26cbe3[_0x19d26e],0x2);}}_0x17bee5[_0x3086b9(0x155)](_0x35624b['config'][_0x3086b9(0x113)],null)?process[_0x3086b9(0x125)][_0x3086b9(0x153)]=_0x35624b[_0x3086b9(0x135)]['testObservability']:process['env'][_0x3086b9(0x153)]=_0x17bee5[_0x3086b9(0x100)];if(_0x325adb)try{const {checkAccessibilityPlatformConfig:_0x3a15a7}=_0x17bee5['mQGGK'](require,_0x17bee5['kdrTA']),{setAccessibilityCapabilities:_0x2e6e38}=_0x17bee5[_0x3086b9(0x172)](require,_0x17bee5[_0x3086b9(0x120)]),_0x3894d7=_0x17bee5['QdLaw'](_0x3a15a7,_0x35624b['config']);if(!helper[_0x3086b9(0xe5)](_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x137)]))process[_0x3086b9(0x125)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x17bee5[_0x3086b9(0x172)](String,!!_0x35624b[_0x3086b9(0x135)][_0x3086b9(0x137)]);else helper[_0x3086b9(0xe5)](process[_0x3086b9(0x125)][_0x3086b9(0x117)])&&(process[_0x3086b9(0x125)][_0x3086b9(0x117)]=_0x3894d7?_0x17bee5[_0x3086b9(0x100)]:_0x17bee5[_0x3086b9(0x12f)]);process['env']['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x3894d7?_0x17bee5[_0x3086b9(0x100)]:_0x17bee5[_0x3086b9(0x12f)],!BrowserstackCLI['getInstance']()['isRunning']()&&_0x17bee5[_0x3086b9(0x16c)](process['env'][_0x3086b9(0x117)],_0x17bee5[_0x3086b9(0x100)])&&_0x17bee5['XCjlY'](_0x2e6e38,_0x35624b[_0x3086b9(0x135)]);}catch(_0x3bc402){logger[_0x3086b9(0x12c)](_0x3086b9(0x10f)+util[_0x3086b9(0x111)](_0x3bc402));}try{const _0x29d8bf=_0x17bee5[_0x3086b9(0x172)](require,_0x17bee5[_0x3086b9(0xf8)]),_0x56d350=_0x17bee5['Jrpqi'](require,_0x17bee5[_0x3086b9(0x16d)]),{FRAMEWORKS:_0x1d40af}=_0x17bee5[_0x3086b9(0x147)](require,_0x17bee5[_0x3086b9(0xf5)]),{checkAccessibilityPlatformConfig:_0x361b66}=_0x17bee5['QdLaw'](require,_0x17bee5['kdrTA']),{setAccessibilityCapabilities:_0x2b862a}=_0x17bee5[_0x3086b9(0x123)](require,_0x17bee5[_0x3086b9(0x120)]),_0x4ae062=helper['getPackageVersion'](_0x17bee5[_0x3086b9(0x114)]);if(_0x4ae062){_0x56d350[_0x3086b9(0xfa)](constants[_0x3086b9(0x14b)][_0x3086b9(0xed)],constants['FRAMEWORKS'][_0x3086b9(0x110)]),_0x29d8bf[_0x3086b9(0x171)]()[_0x3086b9(0x11b)](_0x35624b[_0x3086b9(0x135)],_0x35624b[_0x3086b9(0xd5)],_0x35624b[_0x3086b9(0xf0)]),await _0x29d8bf['getInstance']()[_0x3086b9(0x143)]();const _0x40969c=_0x29d8bf[_0x3086b9(0x171)]()['getConfig']();!helper[_0x3086b9(0x14f)](_0x40969c[_0x3086b9(0xe0)])&&(process[_0x3086b9(0x125)][_0x3086b9(0x11f)]=_0x17bee5['tDZrd']);_0x17bee5[_0x3086b9(0x12d)](_0x40969c[_0x3086b9(0xe0)],![])&&(process[_0x3086b9(0x125)][_0x3086b9(0x11f)]=_0x17bee5[_0x3086b9(0x12f)]);const _0x26b391=_0x5f3939['indexOf'](_0x17bee5['IsQjP']);(_0x17bee5[_0x3086b9(0xf9)](_0x26b391,0x0)||_0x17bee5['AxHsE'](_0x40969c[_0x3086b9(0x113)],![]))&&(process[_0x3086b9(0x125)][_0x3086b9(0x12a)]=_0x17bee5[_0x3086b9(0x12f)]);if(!_0x29d8bf[_0x3086b9(0x171)]()['isRunning']()){let _0x1d6624=_0x17bee5['AxHsE'](process[_0x3086b9(0x125)][_0x3086b9(0x117)],_0x17bee5[_0x3086b9(0x100)]);_0x1d6624=_0x1d6624||_0x17bee5['NYYgY'](_0x361b66,_0x35624b[_0x3086b9(0x135)]),process['env'][_0x3086b9(0x117)]=_0x1d6624,_0x1d6624&&_0x17bee5[_0x3086b9(0xd7)](_0x2b862a,_0x35624b['config']);}}}catch(_0x393915){logger['debug'](_0x3086b9(0xef)+util[_0x3086b9(0x111)](_0x393915));}PerformanceTester[_0x3086b9(0x146)](PerformanceEvents['SDK_SETUP']);let _0x5ed92c;_0x17bee5['VXoof'](parallelCucumberRun,_0x41e436,_0x5ba05a,_0x35624b['config'],_0x22389a,_0x1be66a)[_0x3086b9(0xe1)](async _0x340980=>{const _0x1fffbe=_0x3086b9;PerformanceTester[_0x1fffbe(0x112)](PerformanceEvents[_0x1fffbe(0x134)]),_0x5ed92c=_0x340980;const _0x76a1d4=_0x17bee5[_0x1fffbe(0x172)](printCucumberStats,_0x340980);process[_0x1fffbe(0xf7)]=_0x76a1d4,_0x17bee5[_0x1fffbe(0x106)](_0x1be66a[_0x1fffbe(0xe9)],0x0)&&(logger['debug'](_0x17bee5[_0x1fffbe(0x11e)]),helper[_0x1fffbe(0xf4)](_0x5c71fb,_0x1be66a),logger[_0x1fffbe(0x12c)](_0x17bee5[_0x1fffbe(0x15f)]),helper[_0x1fffbe(0xd6)](_0x5c71fb));})[_0x3086b9(0x14d)](async()=>{const _0x1fda65=_0x3086b9;PerformanceTester[_0x1fda65(0x112)](PerformanceEvents[_0x1fda65(0x134)]),_0x35624b[_0x1fda65(0x152)]=helper[_0x1fda65(0xec)](_0x5ed92c,_0x17bee5[_0x1fda65(0x116)]),testOpsHelper[_0x1fda65(0x14c)]();const _0x3f86f7=BrowserstackCLI[_0x1fda65(0x103)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x1fda65(0x171)]()[_0x1fda65(0x167)]();}catch(_0x4089b8){logger[_0x1fda65(0x12c)](_0x1fda65(0x104)+util['format'](_0x4089b8));}try{const {browserstackFolderPath:_0x143ae2,tcgConfigPath:_0x22f766}=helper[_0x1fda65(0x16f)]();fs[_0x1fda65(0xdc)](_0x22f766),fs['rmdirSync'](_0x143ae2);}catch(_0x4a90ba){logger['debug'](_0x17bee5[_0x1fda65(0x148)],_0x4a90ba);}await utilities[_0x1fda65(0x15e)](_0x35624b,_0x3f86f7);});}module[a5_0x41ab37(0x168)]=run;
|
|
2
|
+
'use strict';const a5_0x59500e=a5_0x2207;(function(_0x4574d0,_0xee0b72){const _0x389119=a5_0x2207,_0x593c16=_0x4574d0();while(!![]){try{const _0x433e8c=parseInt(_0x389119(0x1fe))/0x1+-parseInt(_0x389119(0x1de))/0x2*(parseInt(_0x389119(0x1b3))/0x3)+-parseInt(_0x389119(0x1e5))/0x4*(parseInt(_0x389119(0x1bf))/0x5)+-parseInt(_0x389119(0x17f))/0x6*(parseInt(_0x389119(0x191))/0x7)+parseInt(_0x389119(0x1a2))/0x8*(parseInt(_0x389119(0x160))/0x9)+parseInt(_0x389119(0x1a4))/0xa+parseInt(_0x389119(0x1e2))/0xb*(parseInt(_0x389119(0x1c5))/0xc);if(_0x433e8c===_0xee0b72)break;else _0x593c16['push'](_0x593c16['shift']());}catch(_0x1982e9){_0x593c16['push'](_0x593c16['shift']());}}}(a5_0x33c1,0xd2282));const fs=require('fs'),path=require('path'),util=require(a5_0x59500e(0x1c3)),logger=require('../../helpers/logger')['winstonLogger'],helper=require(a5_0x59500e(0x1da)),utilities=require('../../helpers/utilities'),constants=require(a5_0x59500e(0x194)),{parallelCucumberRun}=require('../test-runner'),TestHubHandler=require(a5_0x59500e(0x19b)),testOpsHelper=require(a5_0x59500e(0x161)),chalk=require(a5_0x59500e(0x18b)),PerformanceTester=require(a5_0x59500e(0x1c1)),PerformanceEvents=require(a5_0x59500e(0x1c4))['EVENTS'],BrowserstackCLI=require(a5_0x59500e(0x167)),CLIUtils=require('../v2/cliUtils'),{checkPwandBootstrapCli}=require(a5_0x59500e(0x181)),ClientTroubleShootingService=require(a5_0x59500e(0x1d4));function printCucumberStats(_0x1efa4d){const _0x4e4bc5=a5_0x59500e,_0x10e6e6={};_0x10e6e6[_0x4e4bc5(0x1a7)]=function(_0x20663a,_0x2db381){return _0x20663a>_0x2db381;},_0x10e6e6[_0x4e4bc5(0x16c)]=function(_0x300796,_0x35bbc5){return _0x300796-_0x35bbc5;},_0x10e6e6[_0x4e4bc5(0x1c2)]=function(_0xb8afa2,_0x88cef3){return _0xb8afa2>_0x88cef3;},_0x10e6e6['ocrxY']=function(_0x1c320a,_0xa79f8d){return _0x1c320a>_0xa79f8d;},_0x10e6e6[_0x4e4bc5(0x1ea)]=function(_0x3c2780,_0x5b7247){return _0x3c2780>_0x5b7247;},_0x10e6e6[_0x4e4bc5(0x163)]=function(_0x295606,_0x2a314a){return _0x295606>_0x2a314a;},_0x10e6e6[_0x4e4bc5(0x188)]=function(_0x4fe87a,_0x155947){return _0x4fe87a>_0x155947;},_0x10e6e6[_0x4e4bc5(0x1c0)]=function(_0x1648c7,_0x41b59d){return _0x1648c7>_0x41b59d;},_0x10e6e6[_0x4e4bc5(0x16e)]=function(_0x52b649,_0x8bf91a){return _0x52b649+_0x8bf91a;},_0x10e6e6['myMhD']=function(_0x1f70b0,_0x1a5e97){return _0x1f70b0+_0x1a5e97;},_0x10e6e6[_0x4e4bc5(0x1ee)]=function(_0x15fbe0,_0x5db1d1){return _0x15fbe0===_0x5db1d1;},_0x10e6e6['McyGl']=function(_0x42b169,_0x35a480){return _0x42b169===_0x35a480;},_0x10e6e6[_0x4e4bc5(0x15c)]=_0x4e4bc5(0x172);const _0x2fb2f1=_0x10e6e6;let _0x5b2cc0=0x0;if(_0x2fb2f1[_0x4e4bc5(0x1fb)](_0x1efa4d[_0x4e4bc5(0x182)],0x0))return _0x5b2cc0;return console[_0x4e4bc5(0x1f8)](chalk[_0x4e4bc5(0x1d7)][_0x4e4bc5(0x18d)](_0x2fb2f1[_0x4e4bc5(0x15c)])),_0x1efa4d[_0x4e4bc5(0x1ae)](_0x33604d=>{const _0x2c7529=_0x4e4bc5,_0x4a9631=_0x33604d[0x0],_0x58fdee=_0x33604d[0x1];helper[_0x2c7529(0x190)]()&&console['log']('\x0a'+chalk[_0x2c7529(0x1d7)]['yellow'](''+helper['getPlatformName'](_0x4a9631)));const _0xb3939b=_0x58fdee[_0x2c7529(0x15e)],_0x15a97b=_0x58fdee[_0x2c7529(0x196)],_0x37b1a0=_0x58fdee[_0x2c7529(0x1e0)],_0x56883b=_0x58fdee['stepsFailed'],_0x24305e=_0x58fdee[_0x2c7529(0x1e7)],_0x290aaa=_0x58fdee[_0x2c7529(0x1bb)],_0x162796=_0x58fdee[_0x2c7529(0x1ba)],_0x29fbbd=_0x58fdee[_0x2c7529(0x176)],_0x26623a=_0x58fdee[_0x2c7529(0x1a3)],_0x1bc6f5=_0x58fdee['stepsAmbiguous'],_0x1faf34=_0x58fdee[_0x2c7529(0x1ef)];let _0x28dba8=_0xb3939b+_0x2c7529(0x1e3);const _0x710943=_0x2fb2f1['pQSau'](_0x2fb2f1[_0x2c7529(0x16c)](_0xb3939b,_0x37b1a0),0x0)?_0x2fb2f1[_0x2c7529(0x16c)](_0xb3939b,_0x37b1a0):0x0;if(_0x2fb2f1[_0x2c7529(0x1c2)](_0x37b1a0,0x0)&&_0x2fb2f1[_0x2c7529(0x1a1)](_0x710943,0x0))_0x28dba8+='\x20('+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x1ed)](_0x37b1a0+_0x2c7529(0x1df))+',\x20'+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x18c)](_0x710943+'\x20passed')+')';else(_0x2fb2f1[_0x2c7529(0x1ea)](_0x37b1a0,0x0)||_0x2fb2f1[_0x2c7529(0x1ea)](_0x710943,0x0))&&(_0x28dba8+=_0x2fb2f1[_0x2c7529(0x163)](_0x37b1a0,0x0)?'\x20('+chalk['bold'][_0x2c7529(0x1ed)](_0x37b1a0+_0x2c7529(0x1df))+')':'\x20('+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x18c)](_0x710943+_0x2c7529(0x18a))+')');const _0x587356=_0x15a97b+_0x2c7529(0x185),_0x237cb3=[];_0x2fb2f1['pQJIs'](_0x1bc6f5,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk[_0x2c7529(0x1d7)]['red'](_0x1bc6f5+_0x2c7529(0x1ab)));_0x2fb2f1[_0x2c7529(0x188)](_0x56883b,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x1ed)](_0x56883b+_0x2c7529(0x1df)));_0x2fb2f1[_0x2c7529(0x1a1)](_0x24305e,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x18c)](_0x24305e+_0x2c7529(0x18a)));_0x2fb2f1['qZVHp'](_0x162796,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x199)](_0x162796+_0x2c7529(0x1f1)));_0x2fb2f1[_0x2c7529(0x1a1)](_0x290aaa,0x0)&&_0x237cb3['push'](''+chalk[_0x2c7529(0x1d7)]['cyan'](_0x290aaa+_0x2c7529(0x1b8)));_0x2fb2f1['OIwma'](_0x29fbbd,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk['bold'][_0x2c7529(0x199)](_0x29fbbd+_0x2c7529(0x17a)));_0x2fb2f1[_0x2c7529(0x1c2)](_0x26623a,0x0)&&_0x237cb3[_0x2c7529(0x1dc)](''+chalk[_0x2c7529(0x1d7)][_0x2c7529(0x199)](_0x26623a+_0x2c7529(0x1b8)));const _0x41e3ad=_0x2fb2f1['plGdI'](_0x2fb2f1[_0x2c7529(0x1b1)](_0x2fb2f1[_0x2c7529(0x1b1)](_0x587356,'('),_0x237cb3['join'](',\x20')),')');console[_0x2c7529(0x1f8)](_0x2fb2f1['myMhD'](_0x2fb2f1['myMhD'](_0x2fb2f1[_0x2c7529(0x16e)](_0x2fb2f1[_0x2c7529(0x1b1)]('\x0a',_0x28dba8),'\x0a'),_0x41e3ad),'\x0a')),_0x2fb2f1[_0x2c7529(0x1ee)](_0x1faf34,![])&&(_0x5b2cc0=0x1);}),_0x5b2cc0;}async function run(_0x4a4aff,_0x1465d6,_0x342627){const _0x3050cf=a5_0x59500e,_0x1f4fee={'DdaLp':function(_0x1aac64,_0x42e41d){return _0x1aac64(_0x42e41d);},'yIdVo':function(_0x428fa4,_0x23bf4e){return _0x428fa4>_0x23bf4e;},'VnQpi':'Generating\x20consolidated\x20report...','HoGPi':_0x3050cf(0x1e1),'wYmeH':'cucumber','xPMih':_0x3050cf(0x166),'NIbNn':_0x3050cf(0x1ff),'TQPrM':function(_0x14338d,_0x4d38d0,_0x4a71ed,_0x3d5e73){return _0x14338d(_0x4d38d0,_0x4a71ed,_0x3d5e73);},'OTCeQ':_0x3050cf(0x1b2),'vCEph':function(_0x15f2c5,_0x539634){return _0x15f2c5-_0x539634;},'ZrUlf':function(_0x2a41df,_0x3e6bf8){return _0x2a41df>=_0x3e6bf8;},'UoCWL':function(_0x272320,_0x59c530){return _0x272320!=_0x59c530;},'gCTlw':_0x3050cf(0x1aa),'uXGfL':function(_0x3633fa,_0x35a1a6){return _0x3633fa(_0x35a1a6);},'wBuuD':_0x3050cf(0x193),'xEHiO':function(_0x4d2c92,_0x917e14){return _0x4d2c92(_0x917e14);},'DNbLJ':_0x3050cf(0x1af),'DeLtq':function(_0x11e65c,_0x428734){return _0x11e65c(_0x428734);},'gFkgn':function(_0x45263b,_0xb6c7db){return _0x45263b(_0xb6c7db);},'ejKhq':_0x3050cf(0x1fd),'MRojp':function(_0x48e35b,_0x37d139){return _0x48e35b===_0x37d139;},'bMNoM':'../v2/browserstackCLI','pNzbp':function(_0x58a874,_0x440179){return _0x58a874(_0x440179);},'GQdWu':_0x3050cf(0x16d),'PDvja':_0x3050cf(0x19f),'iQZkd':function(_0x45d118,_0x124cc6){return _0x45d118(_0x124cc6);},'uoeob':function(_0x52c0ae,_0xddd286){return _0x52c0ae(_0xddd286);},'BLUBC':_0x3050cf(0x1d2),'MvvvG':function(_0x450d69,_0x1ab13a){return _0x450d69>=_0x1ab13a;},'UbiHC':function(_0xebc230,_0x5d6878){return _0xebc230===_0x5d6878;},'DeUce':function(_0x30d5f9,_0x1ecb1d,_0x553792,_0x3c1845,_0x1e9d78,_0x23899d){return _0x30d5f9(_0x1ecb1d,_0x553792,_0x3c1845,_0x1e9d78,_0x23899d);}},_0x1febac=helper[_0x3050cf(0x17c)](_0x1f4fee[_0x3050cf(0x19e)]);global[_0x3050cf(0x164)]=!!_0x1febac,await _0x342627[_0x3050cf(0x17d)](_0x4a4aff),await _0x1f4fee[_0x3050cf(0x197)](checkPwandBootstrapCli,_0x1febac,constants[_0x3050cf(0x1b9)]['CUCUMBER'],_0x342627);BrowserstackCLI[_0x3050cf(0x1c6)]()[_0x3050cf(0x198)]&&(process[_0x3050cf(0x15f)][_0x3050cf(0x17e)]=BrowserstackCLI[_0x3050cf(0x1c6)]()[_0x3050cf(0x198)]);helper[_0x3050cf(0x1b0)](_0x342627[_0x3050cf(0x175)],_0x4a4aff);!helper['isBrowserstackInfra']()&&await _0x342627[_0x3050cf(0x165)]();await helper[_0x3050cf(0x1b5)](_0x342627[_0x3050cf(0x1ad)]);const _0x56a7c5=helper[_0x3050cf(0x169)](_0x342627[_0x3050cf(0x1ad)]);!helper[_0x3050cf(0x192)](_0x342627[_0x3050cf(0x1ad)]['accessibilityOptions'])&&(process[_0x3050cf(0x15f)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON['stringify'](_0x342627[_0x3050cf(0x1ad)]['accessibilityOptions']));if(!BrowserstackCLI[_0x3050cf(0x1c6)]()[_0x3050cf(0x1be)]()){const _0x2df2bf=await TestHubHandler[_0x3050cf(0x1ce)](constants[_0x3050cf(0x1b9)][_0x3050cf(0x1c9)],_0x342627);}let _0x12e717=[];if(!helper[_0x3050cf(0x190)]()){const _0x1aa41d={};_0x1aa41d[_0x3050cf(0x1f6)]=[],_0x12e717=helper[_0x3050cf(0x1dd)](Object[_0x3050cf(0x1d0)]({},_0x342627[_0x3050cf(0x1ad)],_0x1aa41d),_0x56a7c5,constants[_0x3050cf(0x1b9)][_0x3050cf(0x1c9)]);}else _0x12e717=helper[_0x3050cf(0x1dd)](_0x342627[_0x3050cf(0x1ad)],_0x56a7c5,constants[_0x3050cf(0x1b9)][_0x3050cf(0x1c9)]);if(!_0x342627[_0x3050cf(0x1ad)])return;const _0x29aaef=_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x15d)]||helper['getUserWorkerCount'](_0x4a4aff,_0x1465d6,_0x342627['config'],constants[_0x3050cf(0x1b9)][_0x3050cf(0x1c9)])||0x1,_0xf646bf={'server':helper[_0x3050cf(0x1ec)](_0x342627[_0x3050cf(0x1ad)]),'proxySettings':_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x18f)],'maxWorkers':_0x29aaef,'browserStackLogLevel':_0x342627['config'][_0x3050cf(0x200)],'skipSessionName':_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x19d)][_0x3050cf(0x1cc)],'skipSessionStatus':_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x19d)][_0x3050cf(0x16b)],'turboScaleUrl':_0x342627[_0x3050cf(0x1ad)]['turboScaleUrl']},_0x354ed5=process[_0x3050cf(0x1d5)],[_0x201202,_0x2087f4]=helper[_0x3050cf(0x189)](_0x354ed5),_0x39d45e=path[_0x3050cf(0x16f)](process[_0x3050cf(0x179)](),_0x1f4fee[_0x3050cf(0x1f4)]);if(_0x1f4fee[_0x3050cf(0x195)](_0x2087f4[_0x3050cf(0x182)],0x0)){helper[_0x3050cf(0x1c7)](_0x39d45e);for(let _0xf26778=_0x1f4fee['vCEph'](_0x201202['length'],0x1);_0x1f4fee[_0x3050cf(0x171)](_0xf26778,0x0);_0xf26778--){_0x354ed5['splice'](_0x201202[_0xf26778],0x2);}}_0x1f4fee['UoCWL'](_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x184)],null)?process['env'][_0x3050cf(0x162)]=_0x342627['config'][_0x3050cf(0x184)]:process[_0x3050cf(0x15f)][_0x3050cf(0x162)]=_0x1f4fee[_0x3050cf(0x1f0)];if(_0x1febac)try{const {checkAccessibilityPlatformConfig:_0x2335d6}=_0x1f4fee['uXGfL'](require,_0x1f4fee[_0x3050cf(0x1e9)]),{setAccessibilityCapabilities:_0x557492}=_0x1f4fee['xEHiO'](require,_0x1f4fee[_0x3050cf(0x17b)]),_0x51e588=_0x1f4fee[_0x3050cf(0x178)](_0x2335d6,_0x342627[_0x3050cf(0x1ad)]);if(!helper[_0x3050cf(0x192)](_0x342627[_0x3050cf(0x1ad)][_0x3050cf(0x1ac)]))process[_0x3050cf(0x15f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML']=_0x1f4fee[_0x3050cf(0x18e)](String,!!_0x342627['config'][_0x3050cf(0x1ac)]);else helper[_0x3050cf(0x192)](process[_0x3050cf(0x15f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'])&&(process[_0x3050cf(0x15f)][_0x3050cf(0x1f9)]=_0x51e588?_0x1f4fee[_0x3050cf(0x1f0)]:_0x1f4fee['ejKhq']);process[_0x3050cf(0x15f)]['BROWSERSTACK_TEST_ACCESSIBILITY_PLATFORM']=_0x51e588?_0x1f4fee[_0x3050cf(0x1f0)]:_0x1f4fee[_0x3050cf(0x1e6)],!BrowserstackCLI[_0x3050cf(0x1c6)]()[_0x3050cf(0x1be)]()&&_0x1f4fee[_0x3050cf(0x1b7)](process[_0x3050cf(0x15f)]['BROWSERSTACK_TEST_ACCESSIBILITY_YML'],_0x1f4fee[_0x3050cf(0x1f0)])&&_0x1f4fee['gFkgn'](_0x557492,_0x342627[_0x3050cf(0x1ad)]);}catch(_0x1e87e5){logger[_0x3050cf(0x1e4)](_0x3050cf(0x15b)+util['format'](_0x1e87e5));}try{const _0x2cea08=_0x1f4fee[_0x3050cf(0x18e)](require,_0x1f4fee[_0x3050cf(0x1cd)]),_0xd35d16=_0x1f4fee[_0x3050cf(0x1f5)](require,_0x1f4fee[_0x3050cf(0x1a5)]),{FRAMEWORKS:_0x2d8440}=_0x1f4fee[_0x3050cf(0x1f5)](require,_0x1f4fee[_0x3050cf(0x1d6)]),{checkAccessibilityPlatformConfig:_0x4f6f93}=_0x1f4fee[_0x3050cf(0x1f2)](require,_0x1f4fee[_0x3050cf(0x1e9)]),{setAccessibilityCapabilities:_0x312b52}=_0x1f4fee['uoeob'](require,_0x1f4fee[_0x3050cf(0x17b)]),_0x3273a7=helper[_0x3050cf(0x17c)](_0x1f4fee[_0x3050cf(0x19e)]);if(_0x3273a7){_0xd35d16[_0x3050cf(0x180)](constants['FRAMEWORKS'][_0x3050cf(0x1c9)],constants[_0x3050cf(0x1b9)]['PLAYWRIGHT']),_0x2cea08['getInstance']()['setBrowserstackConfig'](_0x342627[_0x3050cf(0x1ad)],_0x342627[_0x3050cf(0x16a)],_0x342627[_0x3050cf(0x1bd)]),await _0x2cea08[_0x3050cf(0x1c6)]()['bootstrap']();const _0x5b1610=_0x2cea08[_0x3050cf(0x1c6)]()[_0x3050cf(0x1f3)]();!helper['isFalse'](_0x5b1610[_0x3050cf(0x1f7)])&&(process[_0x3050cf(0x15f)][_0x3050cf(0x1a6)]=_0x1f4fee[_0x3050cf(0x1f0)]);_0x1f4fee[_0x3050cf(0x1b7)](_0x5b1610['browserstackAutomation'],![])&&(process['env'][_0x3050cf(0x1a6)]=_0x1f4fee[_0x3050cf(0x1e6)]);const _0x4c65ad=_0x1465d6[_0x3050cf(0x1b4)](_0x1f4fee[_0x3050cf(0x19a)]);(_0x1f4fee[_0x3050cf(0x1a8)](_0x4c65ad,0x0)||_0x1f4fee[_0x3050cf(0x1a0)](_0x5b1610[_0x3050cf(0x184)],![]))&&(process[_0x3050cf(0x15f)][_0x3050cf(0x1e8)]=_0x1f4fee[_0x3050cf(0x1e6)]);if(!_0x2cea08[_0x3050cf(0x1c6)]()['isRunning']()){let _0x5815eb=_0x1f4fee[_0x3050cf(0x1a0)](process[_0x3050cf(0x15f)][_0x3050cf(0x1f9)],_0x1f4fee[_0x3050cf(0x1f0)]);_0x5815eb=_0x5815eb||_0x1f4fee['DeLtq'](_0x4f6f93,_0x342627[_0x3050cf(0x1ad)]),process[_0x3050cf(0x15f)][_0x3050cf(0x1f9)]=_0x5815eb,_0x5815eb&&_0x1f4fee[_0x3050cf(0x18e)](_0x312b52,_0x342627[_0x3050cf(0x1ad)]);}}}catch(_0x20eae0){logger[_0x3050cf(0x1e4)](_0x3050cf(0x1fc)+util['format'](_0x20eae0));}PerformanceTester[_0x3050cf(0x1d9)](PerformanceEvents[_0x3050cf(0x1cf)]);let _0x15a1f1;_0x1f4fee['DeUce'](parallelCucumberRun,_0x12e717,_0xf646bf,_0x342627[_0x3050cf(0x1ad)],_0x354ed5,_0x2087f4)[_0x3050cf(0x1bc)](async _0x112e0c=>{const _0x5c2931=_0x3050cf;PerformanceTester[_0x5c2931(0x1a9)](PerformanceEvents[_0x5c2931(0x1db)]),_0x15a1f1=_0x112e0c;const _0x3e05d2=_0x1f4fee[_0x5c2931(0x19c)](printCucumberStats,_0x112e0c);process[_0x5c2931(0x1d8)]=_0x3e05d2,_0x1f4fee[_0x5c2931(0x195)](_0x2087f4['length'],0x0)&&(logger[_0x5c2931(0x1e4)](_0x1f4fee[_0x5c2931(0x1fa)]),helper[_0x5c2931(0x168)](_0x39d45e,_0x2087f4),logger['debug'](_0x1f4fee[_0x5c2931(0x1ca)]),helper[_0x5c2931(0x1d3)](_0x39d45e));})['finally'](async()=>{const _0x768b6=_0x3050cf;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']),_0x342627[_0x768b6(0x1d1)]=helper[_0x768b6(0x170)](_0x15a1f1,_0x1f4fee[_0x768b6(0x1cb)]),testOpsHelper[_0x768b6(0x177)]();const _0x89faed=BrowserstackCLI[_0x768b6(0x186)]();try{await TestHubHandler['stop'](),await BrowserstackCLI[_0x768b6(0x1c6)]()[_0x768b6(0x187)]();}catch(_0x40f0a1){logger[_0x768b6(0x1e4)](_0x768b6(0x1eb)+util[_0x768b6(0x1c8)](_0x40f0a1));}try{const {browserstackFolderPath:_0x555eb5,tcgConfigPath:_0x422bc0}=helper[_0x768b6(0x174)]();fs['unlinkSync'](_0x422bc0),fs[_0x768b6(0x1b6)](_0x555eb5);}catch(_0x1024bf){logger[_0x768b6(0x1e4)](_0x1f4fee[_0x768b6(0x183)],_0x1024bf);}await utilities[_0x768b6(0x173)](_0x342627,_0x89faed);});}module['exports']=run;function a5_0x2207(_0x28308a,_0x58e14f){const _0x33c1ed=a5_0x33c1();return a5_0x2207=function(_0x2207ae,_0x43d484){_0x2207ae=_0x2207ae-0x15b;let _0x2935ac=_0x33c1ed[_0x2207ae];return _0x2935ac;},a5_0x2207(_0x28308a,_0x58e14f);}function a5_0x33c1(){const _0x2ec6c5=['Skipped\x20advanced\x20env\x20handling\x20for\x20cucumber-js\x20due\x20to:\x20','false','667212JfhfgD','@playwright/test','logLevel','Skipping\x20accessibility\x20env\x20setup\x20due\x20to:\x20','LrDRs','parallelsPerPlatform','scenarios','env','531hxiFMO','../../helpers/test-observability/utils','BROWSERSTACK_TEST_OBSERVABILITY_YML','pQJIs','__isPlaywrightInstalled','setupTCGAuth','error\x20removing\x20tcg\x20config\x20file','../v2/browserstackCLI','mergeOutputFiles','useW3C','configPath','skipSessionStatus','ODHap','../v2/cliUtils','plGdI','join','getErrorMessageFromResults','ZrUlf','****\x20RESULTS\x20****','finalExecution','getTCGConfigFilePaths','framework','stepsUndefined','printBuildLink','DeLtq','cwd','\x20undefined','DNbLJ','getPackageVersion','initialize','BROWSERSTACK_CLI_BIN_SESSION_ID','668406dBLIdB','setFrameworkDetail','../../helpers/playwright-helper','length','xPMih','testObservability','\x20steps','isCLIEnabled','stop','qZVHp','parseFormatters','\x20passed','chalk','green','bgWhite','gFkgn','proxySettings','isBrowserstackInfra','35UzOTLh','isUndefined','../../helpers/accessibility-automation/helper','../utils/constants','yIdVo','steps','TQPrM','binSessionId','yellow','BLUBC','../../helpers/testhub/testhubHandler','DdaLp','testContextOptions','NIbNn','../../helpers/test-observability/constants','UbiHC','ocrxY','134768VHRsGk','stepsUnknown','13380320ywQsrg','GQdWu','BROWSERSTACK_AUTOMATION','pQSau','MvvvG','start','true','\x20ambiguous','accessibility','config','forEach','../playwright/accessibility-helper','setUserConfigPath','myMhD','tmp','3mniamp','indexOf','handleApp','rmdirSync','MRojp','\x20skipped','FRAMEWORKS','stepsPending','stepsSkipped','then','cliConfig','isRunning','2305UKmWND','OIwma','../../helpers/performance/performance-tester','AlhyA','util','../../helpers/performance/constants','108heIFKh','getInstance','createDir','format','CUCUMBER','HoGPi','wYmeH','skipSessionName','bMNoM','launchBuild','SDK_SETUP','assign','errorMessage','--disable-test-observability','removeDir','../utils/clientTroubleshootingService','argv','PDvja','bold','exitCode','end','../../helpers/helper','SDK_CLEANUP','push','prepareCapabilities','2711318iYnqeT','\x20failed','scenariosFailed','Removing\x20tmp\x20directory\x20created\x20for\x20reports','203082sCTeej','\x20scenarios','debug','3400QBSUEU','ejKhq','stepsPassed','BROWSERSTACK_TEST_OBSERVABILITY','wBuuD','UbYvh','Exception\x20in\x20stop\x20build\x20request\x20to\x20testhub\x20:\x20','getHubUrl','red','xKWJX','processSuccess','gCTlw','\x20pending','iQZkd','getConfig','OTCeQ','pNzbp','platforms','browserstackAutomation','log','BROWSERSTACK_TEST_ACCESSIBILITY_YML','VnQpi','McyGl'];a5_0x33c1=function(){return _0x2ec6c5;};return a5_0x33c1();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6_0x57221a=a6_0x2b79;function a6_0x103c(){const _0x1454e5=['XuQks','Exception\x20in\x20onTestStepFinished\x20event:\x20','PLAYWRIGHT','TestRunFinished','message','eJxKy','nPzBW','Exception\x20in\x20onTestStepStarted\x20event:\x20','vtYeM','setup','ensureCLIInitialized','@cucumber/cucumber','includes','POST','envelope','INIT_TEST','onTestRunFinished','createTestFrameworkData','../../v2/cliUtils','mJwRo','pickle','scenario','onTestCaseFinished','jAxIn','stepDefinition','bootstrap','getGherkinDocument','log','oXtRV','steps','CUCUMBER','testStepFinished','gherkinDocument','FAILED','bStSy','getTestUUID','parse','667801wPUfyh','trackEvent','getGherkinStepMap','3|4|1|2|0','pickleMap','seconds','testRunStarted','testCaseAttemptDataMap','981237JKZyUg','sendTestRunEventForCucumber','failed','onGherkinDocument','sendHook','rule','cwd','gherkinDocumentMap','PASSED','../../../helpers/test-observability/error-handler','forEach','nVwGO','vMlbZ','../../../helpers/testhub/utils.js','HookRunFinished','lIagC','logTestCaseFinished','PENDING','util','pickleId','result','GSZmg','dwjaT','testCase','toString','onPickle','cucumber-js/test.setup.js','PjHGL','testSteps','flat','getTestFramework','UNDEFINED','dPwmG','eventDataCollector','NBNQf','createHookData','parseTestCaseAttempt','finished_at','SKIPPED','__platform','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','TestRunStarted','description','exports','../../utils/constants','FDuWc','feature','onTestStepStarted','testStepStarted','getTestCaseAttempt','test','logTestRunFinished','svmYs','FauTN','name','yzmzG','isBstackHook','\x20-\x20','winstonLogger','getInstance','text','testStepId','duration','testStepResult','IJBaP','hook_type',',\x20binSessionId:\x20','AMBIGUOUS','HookRunStarted','exception','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','UnhandledError','hooks','6404330acdzXq','CLI\x20already\x20running\x20-\x20binSessionId:\x20','fONxa','values','KFWlC','UNKNOWN','testCaseAttempt','hook','push','cliInitPromise','snippetBuilder','JInWi','source','Executing\x20tests\x20for\x20','YZMqu','9296ViHNgz','testCaseFinished','assign','supportCodeLibrary','No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','oWZlx','format','../test-observability.js','LOG_REPORT','incrementCounter','_performCLIInitialization','AQzzf','path','CobBu','../../playwright/reporter/test-details.js','hDBlJ','wPdgY','CONFIG','pickleStepId','extractStepContainers','report','testCases','failureType','onHook','toISOString','binSessionId','testCaseMap','status','4085991zwkVYq','7031184xmFRvx','isCLIReady','type','yYlTL','onTestRunStarted','eventBroadcaster','gBWFI','4GApyWk','background','EhVfi','split','env','../../v2/state/hookState.js','testCaseStarted','KPuNf','find','../../../helpers/logger','nFTKF','testCaseStartedId','RaJwd','actionLocation','2kgVsYl','4059530BLeuAf','uri','testUUID','yDUom','ZvLCZ','debug','isRunning','TEST','FIbqZ','testRunFinished','FKBUf','sourceLocation','PRE','BROWSERSTACK_CLI_BIN_SESSION_ID','csiSv','finishedAt','Mezdu','4416FdeBQR','children','isCliEnabled','GVpXm','map','testCaseId','onTestCaseStarted'];a6_0x103c=function(){return _0x1454e5;};return a6_0x103c();}(function(_0x55b1d6,_0x14cd01){const _0x5db8b3=a6_0x2b79,_0x182ec3=_0x55b1d6();while(!![]){try{const _0x33473c=-parseInt(_0x5db8b3(0x1fe))/0x1*(parseInt(_0x5db8b3(0x1c0))/0x2)+-parseInt(_0x5db8b3(0x206))/0x3*(-parseInt(_0x5db8b3(0x1b2))/0x4)+parseInt(_0x5db8b3(0x17f))/0x5+-parseInt(_0x5db8b3(0x1d2))/0x6*(parseInt(_0x5db8b3(0x18e))/0x7)+parseInt(_0x5db8b3(0x1ab))/0x8+-parseInt(_0x5db8b3(0x1aa))/0x9+parseInt(_0x5db8b3(0x1c1))/0xa;if(_0x33473c===_0x14cd01)break;else _0x182ec3['push'](_0x182ec3['shift']());}catch(_0x1e4698){_0x182ec3['push'](_0x182ec3['shift']());}}}(a6_0x103c,0xc1bf4));function a6_0x2b79(_0x5ee3da,_0x592402){const _0x103cf1=a6_0x103c();return a6_0x2b79=function(_0x2b793d,_0x784fbb){_0x2b793d=_0x2b793d-0x140;let _0x264b87=_0x103cf1[_0x2b793d];return _0x264b87;},a6_0x2b79(_0x5ee3da,_0x592402);}const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require('../../../helpers/helper'),util=require(a6_0x57221a(0x148)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x57221a(0x1e4)),TestDetails=require(a6_0x57221a(0x19c)),TestObservabilityReporter=require(a6_0x57221a(0x195)),{o11yClassErrorHandler}=require(a6_0x57221a(0x20f)),{shouldProcessEventForTesthub}=require(a6_0x57221a(0x143)),BrowserstackCLI=require('../../v2/browserstackCLI.js'),TestFrameworkState=require('../../v2/state/testFrameworkState.js'),HookState=require(a6_0x57221a(0x1b7)),CucumberUtils=require('../../v2/utils/cucumber-utils.js'),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x57221a(0x1bb))[a6_0x57221a(0x170)],_tests={},_testCasesData={};class BrowserstackFormatter extends Formatter{constructor(_0x43796a){const _0x4faf93=a6_0x57221a,_0x451e4d={};_0x451e4d[_0x4faf93(0x176)]=_0x4faf93(0x1e7);const _0x7a7c01=_0x451e4d;super(_0x43796a),this[_0x4faf93(0x1a2)]={},_0x43796a[_0x4faf93(0x1b0)]['on'](_0x7a7c01[_0x4faf93(0x176)],async _0x392c68=>{const _0x26bede=_0x4faf93;switch(!![]){case!!_0x392c68[_0x26bede(0x204)]:this['onTestRunStarted'](_0x392c68['testRunStarted']);break;case!!_0x392c68[_0x26bede(0x1ca)]:this[_0x26bede(0x1e9)](_0x392c68[_0x26bede(0x1ca)]);break;case!!_0x392c68['testCaseStarted']:this[_0x26bede(0x1d8)](_0x392c68['testCaseStarted'],_0x43796a,_0x392c68);break;case!!_0x392c68[_0x26bede(0x18f)]:this[_0x26bede(0x1ef)](_0x392c68[_0x26bede(0x18f)],_0x43796a,_0x392c68);break;case!!_0x392c68[_0x26bede(0x166)]:this[_0x26bede(0x165)](_0x392c68[_0x26bede(0x166)],_0x43796a);break;case!!_0x392c68['testStepFinished']:this['onTestStepFinished'](_0x392c68[_0x26bede(0x1f8)],_0x43796a);break;case!!_0x392c68['hook']:this[_0x26bede(0x1a5)](_0x392c68[_0x26bede(0x186)]);break;case!!_0x392c68[_0x26bede(0x14d)]:this['onTestCase'](_0x392c68[_0x26bede(0x14d)]);break;case!!_0x392c68[_0x26bede(0x1ed)]:this['onPickle'](_0x392c68[_0x26bede(0x1ed)]);break;case!!_0x392c68[_0x26bede(0x1f9)]:this[_0x26bede(0x209)](_0x392c68[_0x26bede(0x1f9)]);break;}});}[a6_0x57221a(0x1a5)](_0x2e295a){const _0x547720=a6_0x57221a;this['report'][_0x547720(0x17e)]=Object[_0x547720(0x190)]([],this[_0x547720(0x1a2)][_0x547720(0x17e)]||[]),this['report'][_0x547720(0x17e)]['push'](_0x2e295a);}[a6_0x57221a(0x14f)](_0x57d2ab){const _0x5f3a52=a6_0x57221a;this[_0x5f3a52(0x1a2)][_0x5f3a52(0x1ed)]=Object[_0x5f3a52(0x190)]([],this[_0x5f3a52(0x1a2)][_0x5f3a52(0x1ed)]||[],[_0x57d2ab]),this[_0x5f3a52(0x1a2)][_0x5f3a52(0x1ed)]['push'](_0x57d2ab);}[a6_0x57221a(0x209)](_0x3da5f0){const _0x3d03a2=a6_0x57221a;this[_0x3d03a2(0x1a2)][_0x3d03a2(0x1f9)]=Object['assign']([],this[_0x3d03a2(0x1a2)][_0x3d03a2(0x1f9)]||[],[_0x3da5f0]),this[_0x3d03a2(0x1a2)][_0x3d03a2(0x1f9)]['push'](_0x3da5f0);}['onSource'](_0x231d15){const _0x2cd431=a6_0x57221a;this[_0x2cd431(0x1a2)][_0x2cd431(0x18b)]=_0x231d15;}['onStepDefinition'](_0x43c8fc){const _0x54b788=a6_0x57221a;this['report']['stepDefinition']=Object[_0x54b788(0x190)]([],this['report'][_0x54b788(0x1f1)]||[],[_0x43c8fc]),this[_0x54b788(0x1a2)][_0x54b788(0x1f1)][_0x54b788(0x187)](_0x43c8fc);}['onTestCase'](_0xac0a04){const _0xd47913=a6_0x57221a;this[_0xd47913(0x1a2)][_0xd47913(0x1a3)]=Object[_0xd47913(0x190)]([],this[_0xd47913(0x1a2)][_0xd47913(0x1a3)]||[],[_0xac0a04]),this[_0xd47913(0x1a2)][_0xd47913(0x1a3)]['push'](_0xac0a04);}[a6_0x57221a(0x146)](_0x2da0e6){const _0xbacbad=a6_0x57221a,_0x4336b3={'NVPHr':function(_0x23424e,_0x42641){return _0x23424e!==_0x42641;},'NBNQf':'bstack','FKBUf':function(_0x2a6a84,_0x40be37){return _0x2a6a84+_0x40be37;},'mJwRo':function(_0x37246e,_0x41ca1d){return _0x37246e+_0x41ca1d;},'KFWlC':'\x20\x20\x20\x20','gBWFI':_0xbacbad(0x16f),'XuQks':function(_0x3221b8,_0x4a322f){return _0x3221b8===_0x4a322f;},'NXFtT':_0xbacbad(0x1fa),'ZvLCZ':function(_0x5df44b,_0x454f05,_0xa58786){return _0x5df44b(_0x454f05,_0xa58786);},'KdrQG':_0xbacbad(0x14a),'gdXDy':'message','FauTN':function(_0x135ef3,_0x21870d){return _0x135ef3+_0x21870d;},'FtKRe':function(_0x1dda4d,_0x4a3a2d){return _0x1dda4d!==_0x4a3a2d;},'YZMqu':function(_0x26601c,_0x3010ec){return _0x26601c+_0x3010ec;},'XVmKT':function(_0x174db1,_0x4b30aa){return _0x174db1+_0x4b30aa;}};_0x4336b3['FtKRe'](global[_0xbacbad(0x15d)],undefined)&&this['log'](_0x4336b3['FauTN'](_0x4336b3['FauTN']('\x0a',global[_0xbacbad(0x15d)]),'\x0a'));const _0x50e957=this[_0xbacbad(0x157)][_0xbacbad(0x167)](_0x2da0e6[_0xbacbad(0x1bd)]);this['log'](_0x4336b3['YZMqu'](_0x4336b3[_0xbacbad(0x18d)](_0x4336b3[_0xbacbad(0x1ec)](_0x4336b3['XVmKT']('\x20\x20',_0x50e957[_0xbacbad(0x1f9)]['feature']['name']),_0x4336b3[_0xbacbad(0x1b1)]),_0x50e957[_0xbacbad(0x1ed)][_0xbacbad(0x16c)]),'\x0a'));const _0x11bae2={};_0x11bae2[_0xbacbad(0x20c)]=this[_0xbacbad(0x20c)],_0x11bae2['snippetBuilder']=this[_0xbacbad(0x189)],_0x11bae2['supportCodeLibrary']=this[_0xbacbad(0x191)],_0x11bae2[_0xbacbad(0x185)]=_0x50e957;const _0x289ea3=formatterHelpers[_0xbacbad(0x15a)](_0x11bae2);let _0x403318=![];_0x289ea3[_0xbacbad(0x152)][_0xbacbad(0x140)](_0x389623=>{const _0x3f5d85=_0xbacbad;if(_0x4336b3['NVPHr'](_0x389623[_0x3f5d85(0x16c)],_0x4336b3[_0x3f5d85(0x158)])&&!this['isBstackHook'](_0x389623)){totalTests+=0x1,this[_0x3f5d85(0x1f4)](_0x4336b3[_0x3f5d85(0x1cb)](_0x4336b3[_0x3f5d85(0x1cb)](_0x4336b3['FKBUf'](_0x4336b3[_0x3f5d85(0x1ec)](_0x4336b3[_0x3f5d85(0x1ec)](_0x4336b3[_0x3f5d85(0x183)],_0x389623['keyword']),_0x389623[_0x3f5d85(0x172)]||''),_0x4336b3[_0x3f5d85(0x1b1)]),Status[_0x389623[_0x3f5d85(0x14a)][_0x3f5d85(0x1a9)]]),'\x0a')),this[_0x3f5d85(0x197)](Status[_0x389623[_0x3f5d85(0x14a)][_0x3f5d85(0x1a9)]]);if(_0x4336b3[_0x3f5d85(0x1d9)](Status[_0x389623['result'][_0x3f5d85(0x1a9)]],_0x4336b3['NXFtT'])){_0x403318=!![];const _0x1ff3a6=_0x4336b3[_0x3f5d85(0x1c5)](nestedKeyValue,_0x389623,[_0x4336b3['KdrQG'],_0x4336b3['gdXDy']]);_0x1ff3a6&&(testsErrorMessage[_0x4336b3['FKBUf'](_0x4336b3[_0x3f5d85(0x1ec)](_0x50e957[_0x3f5d85(0x1f9)][_0x3f5d85(0x164)][_0x3f5d85(0x16c)],_0x4336b3[_0x3f5d85(0x1b1)]),_0x50e957[_0x3f5d85(0x1ed)][_0x3f5d85(0x16c)])]=_0x1ff3a6,this[_0x3f5d85(0x1f4)](_0x4336b3[_0x3f5d85(0x16b)](_0x1ff3a6,'\x0a')));}}}),_0x403318&&(testSuitesFailed+=0x1),this[_0xbacbad(0x1f4)]('\x0a');}[a6_0x57221a(0x169)](_0xeb1fa1){}[a6_0x57221a(0x16e)](_0x5f1a17){const _0x416d2e=a6_0x57221a,_0x316d73={};_0x316d73['fONxa']=function(_0x15a94b,_0x60f41d){return _0x15a94b!==_0x60f41d;},_0x316d73['vxyMN']=_0x416d2e(0x150);const _0x2f6c2e=_0x316d73;if(_0x2f6c2e[_0x416d2e(0x181)](_0x5f1a17[_0x416d2e(0x1cc)],undefined))return![];if(_0x5f1a17[_0x416d2e(0x1bf)]&&_0x5f1a17['actionLocation'][_0x416d2e(0x1c2)][_0x416d2e(0x1e5)](_0x2f6c2e['vxyMN']))return!![];return![];}['incrementCounter'](_0x442c7f){const _0x537463=a6_0x57221a,_0x32d5b0={};_0x32d5b0[_0x537463(0x1f0)]=_0x537463(0x1fa),_0x32d5b0[_0x537463(0x1cf)]=_0x537463(0x20e),_0x32d5b0['LBPug']=_0x537463(0x15c),_0x32d5b0['nPzBW']=_0x537463(0x147),_0x32d5b0[_0x537463(0x142)]=_0x537463(0x155),_0x32d5b0['nFTKF']=_0x537463(0x184),_0x32d5b0[_0x537463(0x1d1)]=_0x537463(0x179);const _0x36528c=_0x32d5b0;switch(_0x442c7f){case _0x36528c[_0x537463(0x1f0)]:testsFailed+=0x1;break;case _0x36528c['csiSv']:testsPassed+=0x1;break;case _0x36528c['LBPug']:testsSkipped+=0x1;break;case _0x36528c[_0x537463(0x1df)]:testsPending+=0x1;break;case _0x36528c[_0x537463(0x142)]:testsUndefined+=0x1;break;case _0x36528c[_0x537463(0x1bc)]:testsUnknown+=0x1;break;case _0x36528c[_0x537463(0x1d1)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x57221a(0x1af)](_0xfe984e){const _0x3716bf=a6_0x57221a,_0x4ac8e8={'jKzsJ':function(_0x38053c,_0x55cc6b){return _0x38053c!==_0x55cc6b;},'wPdgY':function(_0x3ddb80,_0x7b7b00){return _0x3ddb80!==_0x7b7b00;},'FIbqZ':function(_0x14c3c5){return _0x14c3c5();},'PjHGL':function(_0x10e451,_0x5c4e64){return _0x10e451(_0x5c4e64);},'GTigL':function(_0x282970,_0x4e209c){return _0x282970+_0x4e209c;},'KPuNf':function(_0x4a9774){return _0x4a9774();},'CobBu':'cucumber'};let _0xd59673;if(_0x4ac8e8['jKzsJ'](process[_0x3716bf(0x1b6)][_0x3716bf(0x19f)],undefined)){const _0x4b0884=JSON[_0x3716bf(0x1fd)](process[_0x3716bf(0x1b6)][_0x3716bf(0x19f)]);_0xd59673=_0x4b0884['capability'];}_0x4ac8e8[_0x3716bf(0x19e)](_0xd59673,undefined)&&_0x4ac8e8[_0x3716bf(0x1c9)](isBrowserstackInfra)&&(global[_0x3716bf(0x15d)]=_0x4ac8e8[_0x3716bf(0x151)](getPlatformName,_0xd59673),this[_0x3716bf(0x1f4)](_0x4ac8e8['GTigL'](_0x3716bf(0x18c)+global[_0x3716bf(0x15d)],'\x0a'))),_0x4ac8e8[_0x3716bf(0x1b9)](shouldProcessEventForTesthub)&&(TestDetails[_0x3716bf(0x1e2)](),this[_0x3716bf(0x1a2)]['testRunStarted']=_0xfe984e,BrowserstackCLI[_0x3716bf(0x171)]()[_0x3716bf(0x1d4)]()&&await this[_0x3716bf(0x1ac)]()&&(TestInfo['setup'](_0x4ac8e8[_0x3716bf(0x19b)]),await BrowserstackCLI[_0x3716bf(0x171)]()[_0x3716bf(0x154)]()['trackEvent'](TestFrameworkState[_0x3716bf(0x1e8)],HookState['PRE'],{})));}[a6_0x57221a(0x1e9)](_0x4b5535){const _0x5b3918=a6_0x57221a;this[_0x5b3918(0x1a2)][_0x5b3918(0x1ca)]=_0x4b5535,this[_0x5b3918(0x169)](_0x4b5535);}async[a6_0x57221a(0x1d8)](_0x6da077,_0x36842d,_0x5a2004){const _0x16eae9=a6_0x57221a,_0x35e7b3={'GVpXm':function(_0xcdf13a,_0x5d7013){return _0xcdf13a(_0x5d7013);},'bStSy':_0x16eae9(0x15f),'eJxKy':function(_0x2977e8,_0x6fc37c){return _0x2977e8&&_0x6fc37c;}};testSuites+=0x1;if(_0x35e7b3[_0x16eae9(0x1d5)](shouldProcessEventForTesthub,_0x35e7b3[_0x16eae9(0x1fb)]))try{this['report'][_0x16eae9(0x1b8)]=this[_0x16eae9(0x1a2)][_0x16eae9(0x1b8)]||{},this[_0x16eae9(0x1a2)][_0x16eae9(0x1b8)][_0x6da077['id']]=_0x6da077;let _0x43643e=null;BrowserstackCLI['getInstance']()[_0x16eae9(0x1d4)]()&&await this[_0x16eae9(0x1ac)]()?_0x43643e=TestInfo[_0x16eae9(0x1fc)](_0x6da077['id']):_0x43643e=TestDetails[_0x16eae9(0x1fc)](_0x6da077['id']);_testCasesData[_0x6da077['id']]=Object[_0x16eae9(0x190)]({},_0x5a2004);const _0x4c0118=this[_0x16eae9(0x1a2)],_0x5c991a=_0x6da077[_0x16eae9(0x1d7)],_0x3a8491=_0x4c0118[_0x16eae9(0x1a3)][_0x16eae9(0x1ba)](_0x227690=>_0x227690['id']===_0x5c991a)[_0x16eae9(0x149)],_0x3e5be4=_0x4c0118['pickle'][_0x16eae9(0x1ba)](_0x33b3ac=>_0x33b3ac['id']===_0x3a8491),_0x5fa798=_0x4c0118[_0x16eae9(0x1f9)][_0x16eae9(0x1ba)](_0x56ade7=>_0x56ade7[_0x16eae9(0x1c2)]===_0x3e5be4['uri']),_0x44832d=_0x5fa798[_0x16eae9(0x164)],_0x26d84a={'uuid':_0x43643e,'startedAt':new Date()[_0x16eae9(0x1a6)]()};if(_0x3e5be4){const _0x7adc0f={};_0x7adc0f[_0x16eae9(0x16c)]=_0x3e5be4[_0x16eae9(0x16c)],_0x26d84a[_0x16eae9(0x1ee)]=_0x7adc0f;}if(_0x35e7b3[_0x16eae9(0x1de)](_0x5fa798,_0x44832d)){const _0x4221a9={};_0x4221a9[_0x16eae9(0x19a)]=_0x5fa798[_0x16eae9(0x1c2)],_0x4221a9[_0x16eae9(0x16c)]=_0x44832d[_0x16eae9(0x16c)],_0x4221a9[_0x16eae9(0x160)]=_0x44832d[_0x16eae9(0x160)],_0x26d84a[_0x16eae9(0x164)]=_0x4221a9;}_tests[_0x5c991a]=_0x26d84a;if(BrowserstackCLI[_0x16eae9(0x171)]()[_0x16eae9(0x1d4)]()&&await this[_0x16eae9(0x1ac)]()){const _0x37f17e=await cucumberUtils[_0x16eae9(0x1ea)](_0x26d84a,_0x3e5be4,_0x5a2004,_0x5fa798,_0x6da077['id'],_0x35e7b3['bStSy']),_0x5014ad={};_0x5014ad[_0x16eae9(0x168)]=_0x37f17e,await BrowserstackCLI[_0x16eae9(0x171)]()[_0x16eae9(0x154)]()['trackEvent'](TestFrameworkState[_0x16eae9(0x1c8)],HookState['PRE'],_0x5014ad);return;}await testObservabilityReporter[_0x16eae9(0x207)](_0x5a2004,_0x5fa798,_0x3e5be4,_0x35e7b3['bStSy'],_0x26d84a);}catch(_0x74f3c7){logger[_0x16eae9(0x1c6)]('Exception\x20in\x20sending\x20onTestCaseStarted:\x20'+util['format'](_0x74f3c7)+'\x20');}}async['onTestCaseFinished'](_0x36de6d,_0x34c1b4,_0x2033fb){const _0x25dd27=a6_0x57221a,_0x216c88={'oXtRV':function(_0x15ffc7,_0x14e705){return _0x15ffc7(_0x14e705);},'oWZlx':_0x25dd27(0x1dc),'JInWi':_0x25dd27(0x168)};this[_0x25dd27(0x146)](_0x36de6d);if(_0x216c88[_0x25dd27(0x1f5)](shouldProcessEventForTesthub,_0x216c88[_0x25dd27(0x193)]))try{this[_0x25dd27(0x1a2)][_0x25dd27(0x18f)]=this['report'][_0x25dd27(0x18f)]||{},this[_0x25dd27(0x1a2)][_0x25dd27(0x18f)][_0x36de6d[_0x25dd27(0x1bd)]]=_0x36de6d,_testCasesData[_0x2033fb['id']]=Object['assign']({},_0x2033fb);const _0x1af709=_0x36de6d[_0x25dd27(0x1bd)],_0xcceeff=_0x34c1b4['eventDataCollector'][_0x25dd27(0x205)][_0x1af709][_0x25dd27(0x1d7)],_0x94b78c=_0x34c1b4[_0x25dd27(0x157)][_0x25dd27(0x1a8)][_0xcceeff],_0x236bd6=_0x94b78c['pickleId'],_0x56694c=_0x34c1b4[_0x25dd27(0x157)][_0x25dd27(0x202)][_0x236bd6],_0x1a0ba5=this['getGherkinDocument'](_0x34c1b4,_0x56694c),_0x41f990=_0x1a0ba5['feature'],_0x113f45=_tests[_0xcceeff];_0x113f45&&(delete _tests[_0xcceeff],_0x113f45[_0x25dd27(0x1d0)]=new Date()[_0x25dd27(0x1a6)]());if(BrowserstackCLI['getInstance']()[_0x25dd27(0x1d4)]()&&await this[_0x25dd27(0x1ac)]()){const _0x1a76de=await cucumberUtils[_0x25dd27(0x1ea)](_0x113f45,_0x56694c,_0x2033fb,_0x1a0ba5,_0x1af709,_0x216c88['oWZlx']),_0x37eeb9={};_0x37eeb9[_0x25dd27(0x168)]=_0x1a76de,await BrowserstackCLI[_0x25dd27(0x171)]()[_0x25dd27(0x154)]()[_0x25dd27(0x1ff)](TestFrameworkState[_0x25dd27(0x1c8)],HookState[_0x25dd27(0x1e6)],_0x37eeb9);const _0x32a082={};_0x32a082[_0x25dd27(0x1c3)]=_0x36de6d[_0x25dd27(0x1bd)],_0x32a082[_0x25dd27(0x1ad)]=_0x216c88[_0x25dd27(0x18a)],await BrowserstackCLI[_0x25dd27(0x171)]()[_0x25dd27(0x154)]()[_0x25dd27(0x1ff)](TestFrameworkState[_0x25dd27(0x196)],HookState[_0x25dd27(0x1e6)],_0x32a082);return;}await testObservabilityReporter[_0x25dd27(0x207)](_0x2033fb,_0x1a0ba5,_0x56694c,_0x216c88[_0x25dd27(0x193)],_0x113f45);}catch(_0x470337){logger[_0x25dd27(0x1c6)](_0x25dd27(0x15e)+util['format'](_0x470337));}}async['onTestStepStarted'](_0x1645ed,_0x34a7a8){const _0x1f1416=a6_0x57221a,_0x29f4c1={'ifOgF':function(_0x4ca395,_0x2f4bc4){return _0x4ca395(_0x2f4bc4);},'dwjaT':_0x1f1416(0x17a),'OOsiW':function(_0x1c5189,_0x2cd323){return _0x1c5189!==_0x2cd323;},'yYlTL':'testStepId'};if(_0x29f4c1['ifOgF'](shouldProcessEventForTesthub,_0x29f4c1['dwjaT']))try{this['report'][_0x1f1416(0x166)]=this['report'][_0x1f1416(0x166)]||{},this[_0x1f1416(0x1a2)]['testStepStarted'][_0x1645ed[_0x1f1416(0x1bd)]]=_0x1645ed;const _0x431f30=_0x1645ed[_0x1f1416(0x1bd)],_0x349f44=_0x34a7a8['eventDataCollector'][_0x1f1416(0x205)][_0x431f30][_0x1f1416(0x1d7)],_0x5716ab=this['report']['testCases'][_0x1f1416(0x1ba)](_0x56355e=>_0x56355e['id']===_0x349f44)[_0x1f1416(0x149)],_0x23d65e=this['report'][_0x1f1416(0x1ed)][_0x1f1416(0x1ba)](_0x34b2d3=>_0x34b2d3['id']===_0x5716ab),_0x37939a=this[_0x1f1416(0x1a2)][_0x1f1416(0x1a3)][_0x1f1416(0x1ba)](_0x3a379e=>_0x3a379e['id']===_0x349f44)[_0x1f1416(0x152)],_0x4f4015=this[_0x1f1416(0x1a2)][_0x1f1416(0x166)][_0x431f30][_0x1f1416(0x173)],_0x5a4c91=_0x37939a[_0x1f1416(0x1ba)](_0x224625=>_0x224625['id']===_0x4f4015)['pickleStepId'],_0xd9b21c=_0x23d65e[_0x1f1416(0x1f6)][_0x1f1416(0x1ba)](_0x25b3c4=>_0x25b3c4['id']===_0x5a4c91);if(_0x5a4c91&&_tests[_0x349f44]&&_0x29f4c1['OOsiW'](_tests[_0x349f44][_0x29f4c1[_0x1f1416(0x1ae)]],_0x4f4015)){_tests[_0x349f44][_0x29f4c1[_0x1f1416(0x1ae)]]=_0x4f4015;const _0x2fd968={};_0x2fd968[_0x1f1416(0x1f6)]=[];const _0x450fc7=_tests[_0x349f44]||_0x2fd968;_0x450fc7&&!_0x450fc7[_0x1f1416(0x1f6)]&&(_0x450fc7[_0x1f1416(0x1f6)]=[]),_0x450fc7[_0x1f1416(0x1f6)][_0x1f1416(0x187)]({'id':_0xd9b21c['id'],'text':_0xd9b21c['text'],'started_at':new Date()[_0x1f1416(0x1a6)]()}),_tests[_0x349f44]=_0x450fc7;}if(BrowserstackCLI['getInstance']()[_0x1f1416(0x1d4)]()&&await this[_0x1f1416(0x1ac)]()){const _0xb02cba=await cucumberUtils[_0x1f1416(0x159)](this['report'],_0x431f30,_0x29f4c1['dwjaT'],_0x37939a,_0x4f4015,_tests[_0x349f44]);_0xb02cba&&await BrowserstackCLI[_0x1f1416(0x171)]()['getTestFramework']()[_0x1f1416(0x1ff)](TestFrameworkState[_0xb02cba['hook_type']],HookState[_0x1f1416(0x1cd)],{'hookData':_0xb02cba,'testUUID':_0x1645ed[_0x1f1416(0x1bd)]});return;}await testObservabilityReporter['sendHook'](this[_0x1f1416(0x1a2)],_0x431f30,_0x29f4c1[_0x1f1416(0x14c)],_0x37939a,_0x4f4015,_tests[_0x349f44]);}catch(_0x36c8e1){logger[_0x1f1416(0x1c6)](_0x1f1416(0x1e0)+util[_0x1f1416(0x194)](_0x36c8e1));}}async['onTestStepFinished'](_0xf16988,_0x64137b){const _0x428c58=a6_0x57221a,_0x4c3b2b={'yzmzG':function(_0x32e576,_0x5c2924){return _0x32e576===_0x5c2924;},'svmYs':_0x428c58(0x201),'lIagC':function(_0x486068,_0x42b5aa){return _0x486068(_0x42b5aa);},'dPwmG':_0x428c58(0x144),'RpBOa':_0x428c58(0x208),'aPfAk':_0x428c58(0x17d),'GSZmg':_0x428c58(0x173),'nVwGO':'HookRunStarted','AQzzf':'hook'};this[_0x428c58(0x1a2)][_0x428c58(0x1f8)]=this[_0x428c58(0x1a2)][_0x428c58(0x1f8)]||{},this['report'][_0x428c58(0x1f8)][_0xf16988[_0x428c58(0x1bd)]]=_0xf16988;if(_0x4c3b2b[_0x428c58(0x145)](shouldProcessEventForTesthub,_0x4c3b2b[_0x428c58(0x156)]))try{const _0xed32d6=_0xf16988[_0x428c58(0x1bd)],_0x3fc24b=_0x64137b['eventDataCollector'][_0x428c58(0x205)][_0xed32d6][_0x428c58(0x1d7)],_0x37fd27=_0x64137b[_0x428c58(0x157)]['testCaseMap'][_0x3fc24b],_0x3eed2e=_0x37fd27[_0x428c58(0x149)],_0x355d36=_0x64137b[_0x428c58(0x157)][_0x428c58(0x202)][_0x3eed2e],_0x2c42c4=_0xf16988['testStepId'],_0xa828cf=_0x37fd27[_0x428c58(0x152)],_0x419549=this[_0x428c58(0x157)][_0x428c58(0x167)](_0xed32d6),_0x3d3407=_0xa828cf['find'](_0x55b7c5=>_0x55b7c5['id']===_0x2c42c4)[_0x428c58(0x1a0)];let _0x2b9aed,_0x2f76ab;_0xf16988[_0x428c58(0x175)]&&_0x4c3b2b['yzmzG'](_0xf16988[_0x428c58(0x175)][_0x428c58(0x1a9)][_0x428c58(0x14e)]()['toLowerCase'](),_0x4c3b2b['RpBOa'])&&(_0x2b9aed=_0x4c3b2b[_0x428c58(0x16d)](_0xf16988['testStepResult']['exception'],undefined)?_0xf16988['testStepResult'][_0x428c58(0x1dd)]:_0xf16988['testStepResult'][_0x428c58(0x17b)][_0x428c58(0x1dd)],_0x2f76ab=_0x4c3b2b[_0x428c58(0x16d)](_0xf16988[_0x428c58(0x175)]['exception'],undefined)?_0x4c3b2b['aPfAk']:_0xf16988[_0x428c58(0x175)][_0x428c58(0x1dd)]);if(_0x3d3407&&_tests[_0x3fc24b][_0x4c3b2b[_0x428c58(0x14b)]]){const _0x536162=_0x355d36[_0x428c58(0x1f6)][_0x428c58(0x1ba)](_0x58b1d8=>_0x58b1d8['id']===_0x3d3407),_0x3b897d={};_0x3b897d[_0x428c58(0x1f6)]=[];const _0x1137d6=_tests[_0x3fc24b]||_0x3b897d;!_0x1137d6[_0x428c58(0x1f6)]?_0x1137d6[_0x428c58(0x1f6)]=[{'id':_0x536162['id'],'text':_0x536162[_0x428c58(0x172)],'finished_at':new Date()[_0x428c58(0x1a6)](),'result':_0xf16988[_0x428c58(0x175)]['status'],'duration':_0xf16988[_0x428c58(0x175)][_0x428c58(0x174)][_0x428c58(0x203)],'failure':_0x2b9aed,'failureType':_0x2f76ab}]:_0x1137d6[_0x428c58(0x1f6)][_0x428c58(0x140)](_0x5d59c1=>{const _0x1ab574=_0x428c58;if(_0x4c3b2b[_0x1ab574(0x16d)](_0x5d59c1['id'],_0x536162['id'])){const _0x28df65=_0x4c3b2b[_0x1ab574(0x16a)][_0x1ab574(0x1b5)]('|');let _0xf74564=0x0;while(!![]){switch(_0x28df65[_0xf74564++]){case'0':_0x5d59c1[_0x1ab574(0x1a4)]=_0x2f76ab;continue;case'1':_0x5d59c1[_0x1ab574(0x174)]=_0xf16988['testStepResult'][_0x1ab574(0x174)][_0x1ab574(0x203)];continue;case'2':_0x5d59c1['failure']=_0x2b9aed;continue;case'3':_0x5d59c1[_0x1ab574(0x15b)]=new Date()[_0x1ab574(0x1a6)]();continue;case'4':_0x5d59c1[_0x1ab574(0x14a)]=_0xf16988[_0x1ab574(0x175)]['status'];continue;}break;}}}),_tests[_0x3fc24b]=_0x1137d6;}delete _tests[_0x3fc24b][_0x4c3b2b[_0x428c58(0x14b)]];if(BrowserstackCLI[_0x428c58(0x171)]()['isCliEnabled']()&&await this[_0x428c58(0x1ac)]()){const _0x18a534=await cucumberUtils[_0x428c58(0x159)](this['report'],_0xed32d6,_0x4c3b2b[_0x428c58(0x141)],_0xa828cf,_0x2c42c4,_tests[_0x3fc24b]);if(_0x18a534){await BrowserstackCLI['getInstance']()['getTestFramework']()[_0x428c58(0x1ff)](TestFrameworkState[_0x18a534[_0x428c58(0x177)]],HookState[_0x428c58(0x1e6)],{'hookData':_0x18a534,'testUUID':_0xf16988[_0x428c58(0x1bd)]});const _0x34afae={};_0x34afae['testUUID']=_0xf16988[_0x428c58(0x1bd)],_0x34afae['type']=_0x4c3b2b[_0x428c58(0x199)],await BrowserstackCLI[_0x428c58(0x171)]()[_0x428c58(0x154)]()[_0x428c58(0x1ff)](TestFrameworkState[_0x428c58(0x196)],HookState[_0x428c58(0x1e6)],_0x34afae);}return;}await testObservabilityReporter[_0x428c58(0x20a)](this[_0x428c58(0x1a2)],_0xed32d6,_0x4c3b2b['dPwmG'],_0xa828cf,_0x2c42c4,_tests[_0x3fc24b]);}catch(_0x4183fd){logger[_0x428c58(0x1c6)](_0x428c58(0x1da)+util['format'](_0x4183fd));}}[a6_0x57221a(0x200)](_0x65986){const _0x56cc89=a6_0x57221a,_0x182f66={};return _0x65986[_0x56cc89(0x164)][_0x56cc89(0x1d3)]['map'](this['extractStepContainers'])[_0x56cc89(0x153)]()[_0x56cc89(0x140)](_0x39f67c=>_0x39f67c['steps']['forEach'](_0x2badaf=>_0x182f66[_0x2badaf['id']]=_0x2badaf)),_0x182f66;}[a6_0x57221a(0x1a1)](_0x192779){const _0x53e112=a6_0x57221a,_0x3e5746={'hDBlJ':function(_0x305491,_0x3e5032){return _0x305491(_0x3e5032);},'vtYeM':function(_0x1f09f7,_0x2810b4){return _0x1f09f7(_0x2810b4);}};if(!_0x3e5746[_0x53e112(0x19d)](isUndefined,_0x192779[_0x53e112(0x1b3)]))return[_0x192779[_0x53e112(0x1b3)]];else{if(!_0x3e5746[_0x53e112(0x1e1)](isUndefined,_0x192779[_0x53e112(0x20b)]))return _0x192779[_0x53e112(0x20b)][_0x53e112(0x1d3)][_0x53e112(0x1d6)](_0x1ac567=>!isUndefined(_0x1ac567[_0x53e112(0x1b3)])?_0x1ac567['background']:_0x1ac567['scenario']);};return[_0x192779[_0x53e112(0x1ee)]];}[a6_0x57221a(0x1f3)](_0x365910,_0x3083cc){const _0x3baecc=a6_0x57221a;return Object[_0x3baecc(0x182)](_0x365910[_0x3baecc(0x157)][_0x3baecc(0x20d)])[_0x3baecc(0x1ba)](_0x5b34a6=>_0x5b34a6[_0x3baecc(0x1c2)]===_0x3083cc[_0x3baecc(0x1c2)]);}async['ensureCLIInitialized'](){const _0x45f444=a6_0x57221a;if(this[_0x45f444(0x188)])return this['cliInitPromise'];return this[_0x45f444(0x188)]=this['_performCLIInitialization'](),this[_0x45f444(0x188)];}async[a6_0x57221a(0x198)](){const _0x7fa814=a6_0x57221a,_0x5cfaaf={'yDUom':_0x7fa814(0x192),'RaJwd':function(_0x1f36fc,_0x2174c9){return _0x1f36fc(_0x2174c9);},'FDuWc':_0x7fa814(0x1eb),'EhVfi':_0x7fa814(0x162)};try{const _0x720cfe=BrowserstackCLI[_0x7fa814(0x171)]();if(_0x720cfe[_0x7fa814(0x1c7)]())return logger['debug'](_0x7fa814(0x180)+_0x720cfe[_0x7fa814(0x1a7)]),!![];const _0x5a2f63=process[_0x7fa814(0x1b6)][_0x7fa814(0x1ce)];if(!_0x5a2f63)return logger[_0x7fa814(0x1c6)](_0x5cfaaf[_0x7fa814(0x1c4)]),![];const _0x2c4bd7=_0x5cfaaf[_0x7fa814(0x1be)](require,_0x5cfaaf[_0x7fa814(0x163)]),{FRAMEWORKS:_0x3c8b79}=_0x5cfaaf[_0x7fa814(0x1be)](require,_0x5cfaaf[_0x7fa814(0x1b4)]);return _0x2c4bd7['setFrameworkDetail'](_0x3c8b79[_0x7fa814(0x1f7)],_0x3c8b79[_0x7fa814(0x1db)]),logger[_0x7fa814(0x1c6)]('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x5a2f63),await _0x720cfe[_0x7fa814(0x1f2)](),logger[_0x7fa814(0x1c6)](_0x7fa814(0x17c)+_0x720cfe[_0x7fa814(0x1c7)]()+_0x7fa814(0x178)+_0x720cfe[_0x7fa814(0x1a7)]),_0x720cfe[_0x7fa814(0x1c7)]();}catch(_0x2fcb46){return logger[_0x7fa814(0x1c6)]('Error\x20initializing\x20CLI\x20in\x20formatter:\x20'+util['format'](_0x2fcb46)),![];}}async[a6_0x57221a(0x1ac)](){const _0x5a3115=a6_0x57221a;try{return await this[_0x5a3115(0x1e3)](),BrowserstackCLI[_0x5a3115(0x171)]()[_0x5a3115(0x1c7)]();}catch(_0x2df3ce){return logger[_0x5a3115(0x1c6)]('isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20'+util[_0x5a3115(0x194)](_0x2df3ce)),![];}}}module[a6_0x57221a(0x161)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x57221a(0x1d8),a6_0x57221a(0x1ef),a6_0x57221a(0x165),'onTestStepFinished','onTestRunStarted',a6_0x57221a(0x1e9),a6_0x57221a(0x1a1),a6_0x57221a(0x1f3),a6_0x57221a(0x200)]);
|
|
1
|
+
const a6_0x4a0f57=a6_0x49dd;(function(_0xe6dbea,_0xee6025){const _0x2c3d70=a6_0x49dd,_0x13a1bb=_0xe6dbea();while(!![]){try{const _0x49781d=-parseInt(_0x2c3d70(0x11b))/0x1+-parseInt(_0x2c3d70(0x117))/0x2+parseInt(_0x2c3d70(0x150))/0x3*(-parseInt(_0x2c3d70(0x10e))/0x4)+-parseInt(_0x2c3d70(0xf5))/0x5+-parseInt(_0x2c3d70(0xed))/0x6+-parseInt(_0x2c3d70(0x179))/0x7*(-parseInt(_0x2c3d70(0x173))/0x8)+-parseInt(_0x2c3d70(0x13d))/0x9*(-parseInt(_0x2c3d70(0x156))/0xa);if(_0x49781d===_0xee6025)break;else _0x13a1bb['push'](_0x13a1bb['shift']());}catch(_0x4cc791){_0x13a1bb['push'](_0x13a1bb['shift']());}}}(a6_0x1568,0xbe0ae));const {requireModule,getPlatformName,nestedKeyValue,isUndefined,isBrowserstackInfra}=require(a6_0x4a0f57(0x112)),util=require(a6_0x4a0f57(0x119)),{Formatter,formatterHelpers,Status}=requireModule(a6_0x4a0f57(0xe0)),TestDetails=require(a6_0x4a0f57(0xff)),TestObservabilityReporter=require('../test-observability.js'),{o11yClassErrorHandler}=require(a6_0x4a0f57(0x11a)),{shouldProcessEventForTesthub}=require(a6_0x4a0f57(0x14e)),BrowserstackCLI=require(a6_0x4a0f57(0x166)),TestFrameworkState=require(a6_0x4a0f57(0xc1)),HookState=require('../../v2/state/hookState.js'),CucumberUtils=require(a6_0x4a0f57(0xbd)),TestInfo=require('../../../bin/v2/TestInfo.js'),testObservabilityReporter=new TestObservabilityReporter(),cucumberUtils=new CucumberUtils(),logger=require(a6_0x4a0f57(0x131))['winstonLogger'],_tests={},_testCasesData={};function a6_0x49dd(_0x4e6542,_0x2d5859){const _0x1568e=a6_0x1568();return a6_0x49dd=function(_0x49dd6c,_0x5781ad){_0x49dd6c=_0x49dd6c-0xb3;let _0x37c6c6=_0x1568e[_0x49dd6c];return _0x37c6c6;},a6_0x49dd(_0x4e6542,_0x2d5859);}function a6_0x1568(){const _0x1ee6af=['values','496880AqcUXF','toISOString','logTestCaseFinished','cwd','background','LOG_REPORT','vjbuD','onTestStepStarted','testSteps','nxsxL','aZJAO','pjNws','snippetBuilder','exception','LBfoL','onTestCaseStarted','../../v2/browserstackCLI.js','testCaseStarted','status','Error\x20initializing\x20CLI\x20in\x20formatter:\x20','testCaseFinished','INIT_TEST','LEdDH',',\x20binSessionId:\x20','actionLocation','getTestCaseAttempt','exports','eventDataCollector','LibhH','104sxdKpl','incrementCounter','2|3|1|0|4','parseTestCaseAttempt','failure','testStepStarted','318479QjyGfG','pickleStepId','getGherkinStepMap','yMDyR','env','Exception\x20in\x20sending\x20onTestCaseFinished\x20event:\x20\x20','HBTVf','testRunFinished','NozTa','trackEvent','testStepId','sourceLocation','onStepDefinition','description','log','push','PRE','PASSED','HvjcQ','onPickle','supportCodeLibrary','type','ymtbY','AIAeO','isCliEnabled','format','message','jMvDj','eCPrb','../../v2/utils/cucumber-utils.js','toLowerCase','testCaseStartedId','CONFIG','../../v2/state/testFrameworkState.js','BarWx','test','text','TestRunFinished','FAILED','onTestStepFinished','Exception\x20in\x20sending\x20onTestCaseStarted:\x20','debug','Executing\x20tests\x20for\x20','UgNkp','YZIer','setFrameworkDetail','failed','children','feature','ReMZl','rule','mQTJl','GNFkO','keyword','createTestFrameworkData','setup','onHook','forEach','qUrvl','sendTestRunEventForCucumber','onSource','onGherkinDocument','dGleH','HookRunFinished','@cucumber/cucumber','QooAa','QnQoJ','eventBroadcaster','YNvDH','onTestCase','testCase','ensureCLIInitialized','includes','sendHook','CLI\x20bootstrap\x20completed\x20-\x20isRunning:\x20','split','testStepResult','697140wtMZyd','getTestUUID','cliInitPromise','isCLIReady','\x20-\x20','testCaseId','NHjuH','sDaLP','3529700IybXcY','testUUID','bstack','hDeKD','XdvmJ','getTestFramework','pickle','wnAIS','RHCdX','Vcddz','../../playwright/reporter/test-details.js','testCaseAttempt','getInstance','vxDme','gYYwm','Yoatm','createHookData','IGNGj','finishedAt','uri','gherkinDocument','seconds','binSessionId','DFgtl','ZClGi','8732DUcUCM','isBstackHook','hook','finished_at','../../../helpers/helper','testCases','getGherkinDocument','PLAYWRIGHT','result','3047340aSjEeJ','HookRunStarted','util','../../../helpers/test-observability/error-handler','365052SSEHFc','scenario','pickleMap','TEST','path','stepDefinition','UNKNOWN','onTestRunStarted','rGzHo','Kwskc','../../utils/constants','toString','OgHyQ','capability','Exception\x20in\x20onTestStepFinished\x20event:\x20','testRunStarted','extractStepContainers','__platform','YjTbU','assign','gherkinDocumentMap','isCLIReady:\x20Error\x20checking\x20CLI\x20readiness:\x20','../../../helpers/logger','hooks','report','JISKM','eZSUe','name','jwndi','steps','hook_type','testStepFinished','CLI\x20already\x20running\x20-\x20binSessionId:\x20','OLUQO','549eYdBbY','\x20\x20\x20\x20','PENDING','testCaseMap','find','CUCUMBER','isRunning','POST','WBxgb','wqCQv','onTestCaseFinished','BROWSERSTACK_CLI_BIN_SESSION_ID','duration','testCaseAttemptDataMap','pickleId','AiiCT','wQYRA','../../../helpers/testhub/utils.js','logTestRunFinished','183DsTHuk','map','RLrHE','onTestRunFinished','parse'];a6_0x1568=function(){return _0x1ee6af;};return a6_0x1568();}class BrowserstackFormatter extends Formatter{constructor(_0x5c7390){const _0x197130=a6_0x4a0f57,_0x1ddf53={};_0x1ddf53[_0x197130(0x14c)]='envelope';const _0x17dc13=_0x1ddf53;super(_0x5c7390),this['report']={},_0x5c7390[_0x197130(0xe3)]['on'](_0x17dc13[_0x197130(0x14c)],async _0x19a662=>{const _0x121724=_0x197130;switch(!![]){case!!_0x19a662[_0x121724(0x12a)]:this[_0x121724(0x122)](_0x19a662[_0x121724(0x12a)]);break;case!!_0x19a662[_0x121724(0x180)]:this[_0x121724(0x153)](_0x19a662[_0x121724(0x180)]);break;case!!_0x19a662[_0x121724(0x167)]:this[_0x121724(0x165)](_0x19a662[_0x121724(0x167)],_0x5c7390,_0x19a662);break;case!!_0x19a662['testCaseFinished']:this[_0x121724(0x147)](_0x19a662[_0x121724(0x16a)],_0x5c7390,_0x19a662);break;case!!_0x19a662[_0x121724(0x178)]:this[_0x121724(0x15d)](_0x19a662[_0x121724(0x178)],_0x5c7390);break;case!!_0x19a662[_0x121724(0x13a)]:this[_0x121724(0xc7)](_0x19a662[_0x121724(0x13a)],_0x5c7390);break;case!!_0x19a662['hook']:this[_0x121724(0xd8)](_0x19a662[_0x121724(0x110)]);break;case!!_0x19a662['testCase']:this[_0x121724(0xe5)](_0x19a662[_0x121724(0xe6)]);break;case!!_0x19a662[_0x121724(0xfb)]:this['onPickle'](_0x19a662[_0x121724(0xfb)]);break;case!!_0x19a662[_0x121724(0x109)]:this[_0x121724(0xdd)](_0x19a662[_0x121724(0x109)]);break;}});}[a6_0x4a0f57(0xd8)](_0x210d50){const _0xeebd57=a6_0x4a0f57;this['report'][_0xeebd57(0x132)]=Object[_0xeebd57(0x12e)]([],this[_0xeebd57(0x133)][_0xeebd57(0x132)]||[]),this['report'][_0xeebd57(0x132)][_0xeebd57(0x188)](_0x210d50);}[a6_0x4a0f57(0xb3)](_0x21509f){const _0x3b4648=a6_0x4a0f57;this[_0x3b4648(0x133)][_0x3b4648(0xfb)]=Object[_0x3b4648(0x12e)]([],this[_0x3b4648(0x133)][_0x3b4648(0xfb)]||[],[_0x21509f]),this[_0x3b4648(0x133)][_0x3b4648(0xfb)]['push'](_0x21509f);}[a6_0x4a0f57(0xdd)](_0x2c62a7){const _0x47d4c3=a6_0x4a0f57;this['report'][_0x47d4c3(0x109)]=Object[_0x47d4c3(0x12e)]([],this[_0x47d4c3(0x133)][_0x47d4c3(0x109)]||[],[_0x2c62a7]),this[_0x47d4c3(0x133)][_0x47d4c3(0x109)]['push'](_0x2c62a7);}[a6_0x4a0f57(0xdc)](_0x2aed23){const _0x11bc10=a6_0x4a0f57;this[_0x11bc10(0x133)]['source']=_0x2aed23;}[a6_0x4a0f57(0x185)](_0x5e5dda){const _0x2a1d82=a6_0x4a0f57;this['report'][_0x2a1d82(0x120)]=Object['assign']([],this[_0x2a1d82(0x133)][_0x2a1d82(0x120)]||[],[_0x5e5dda]),this[_0x2a1d82(0x133)]['stepDefinition'][_0x2a1d82(0x188)](_0x5e5dda);}['onTestCase'](_0x28c061){const _0x88cfa1=a6_0x4a0f57;this[_0x88cfa1(0x133)][_0x88cfa1(0x113)]=Object[_0x88cfa1(0x12e)]([],this[_0x88cfa1(0x133)]['testCases']||[],[_0x28c061]),this[_0x88cfa1(0x133)][_0x88cfa1(0x113)][_0x88cfa1(0x188)](_0x28c061);}[a6_0x4a0f57(0x158)](_0x29f8f8){const _0x144496=a6_0x4a0f57,_0x1d3759={'YZIer':function(_0x4866a2,_0x3b9c61){return _0x4866a2!==_0x3b9c61;},'OLUQO':_0x144496(0xf7),'UgNkp':function(_0x40e681,_0x2fd070){return _0x40e681+_0x2fd070;},'LEdDH':function(_0x2ffac9,_0x43cb99){return _0x2ffac9+_0x43cb99;},'Yoatm':function(_0x18cd61,_0x117ad2){return _0x18cd61+_0x117ad2;},'FUjFf':_0x144496(0x13e),'wQYRA':_0x144496(0xf1),'yifFG':function(_0x26a7e8,_0x592041){return _0x26a7e8===_0x592041;},'NozTa':_0x144496(0xc6),'Kwskc':function(_0x635cd1,_0x209cf8,_0x1c6256){return _0x635cd1(_0x209cf8,_0x1c6256);},'ymtbY':'result','YNvDH':_0x144496(0xba),'GNFkO':function(_0x24f0a1,_0x472337){return _0x24f0a1+_0x472337;},'nxsxL':function(_0x3fe05b,_0x35f6c2){return _0x3fe05b+_0x35f6c2;},'sjhJD':function(_0x2b86cc,_0x3bc9ce){return _0x2b86cc!==_0x3bc9ce;},'gMvpw':function(_0x27b5d1,_0x25619b){return _0x27b5d1+_0x25619b;},'eCPrb':function(_0x2dde4b,_0x4ab2b0){return _0x2dde4b+_0x4ab2b0;},'RLrHE':function(_0x38af9e,_0x47339c){return _0x38af9e+_0x47339c;},'JISKM':function(_0x5d5881,_0x469a3f){return _0x5d5881+_0x469a3f;}};_0x1d3759['sjhJD'](global['__platform'],undefined)&&this['log'](_0x1d3759['gMvpw'](_0x1d3759[_0x144496(0xbc)]('\x0a',global['__platform']),'\x0a'));const _0x38de66=this[_0x144496(0x171)][_0x144496(0x16f)](_0x29f8f8['testCaseStartedId']);this[_0x144496(0x187)](_0x1d3759[_0x144496(0x152)](_0x1d3759[_0x144496(0xbc)](_0x1d3759[_0x144496(0x134)](_0x1d3759[_0x144496(0x152)]('\x20\x20',_0x38de66['gherkinDocument'][_0x144496(0xd0)]['name']),_0x1d3759[_0x144496(0x14d)]),_0x38de66[_0x144496(0xfb)][_0x144496(0x136)]),'\x0a'));const _0x10b883={};_0x10b883[_0x144496(0x159)]=this[_0x144496(0x159)],_0x10b883[_0x144496(0x162)]=this[_0x144496(0x162)],_0x10b883[_0x144496(0xb4)]=this[_0x144496(0xb4)],_0x10b883[_0x144496(0x100)]=_0x38de66;const _0x3ece9b=formatterHelpers[_0x144496(0x176)](_0x10b883);let _0x20f9cf=![];_0x3ece9b[_0x144496(0x15e)][_0x144496(0xd9)](_0x5b15ff=>{const _0x3c8f6a=_0x144496;if(_0x1d3759[_0x3c8f6a(0xcc)](_0x5b15ff[_0x3c8f6a(0x136)],_0x1d3759[_0x3c8f6a(0x13c)])&&!this['isBstackHook'](_0x5b15ff)){totalTests+=0x1,this[_0x3c8f6a(0x187)](_0x1d3759['UgNkp'](_0x1d3759[_0x3c8f6a(0xcb)](_0x1d3759['LEdDH'](_0x1d3759[_0x3c8f6a(0x104)](_0x1d3759['LEdDH'](_0x1d3759['FUjFf'],_0x5b15ff[_0x3c8f6a(0xd5)]),_0x5b15ff[_0x3c8f6a(0xc4)]||''),_0x1d3759[_0x3c8f6a(0x14d)]),Status[_0x5b15ff[_0x3c8f6a(0x116)][_0x3c8f6a(0x168)]]),'\x0a')),this[_0x3c8f6a(0x174)](Status[_0x5b15ff[_0x3c8f6a(0x116)][_0x3c8f6a(0x168)]]);if(_0x1d3759['yifFG'](Status[_0x5b15ff[_0x3c8f6a(0x116)][_0x3c8f6a(0x168)]],_0x1d3759[_0x3c8f6a(0x181)])){_0x20f9cf=!![];const _0x37c0b9=_0x1d3759[_0x3c8f6a(0x124)](nestedKeyValue,_0x5b15ff,[_0x1d3759[_0x3c8f6a(0xb6)],_0x1d3759[_0x3c8f6a(0xe4)]]);_0x37c0b9&&(testsErrorMessage[_0x1d3759[_0x3c8f6a(0xd4)](_0x1d3759[_0x3c8f6a(0x15f)](_0x38de66[_0x3c8f6a(0x109)][_0x3c8f6a(0xd0)][_0x3c8f6a(0x136)],_0x1d3759[_0x3c8f6a(0x14d)]),_0x38de66['pickle']['name'])]=_0x37c0b9,this[_0x3c8f6a(0x187)](_0x1d3759[_0x3c8f6a(0x16c)](_0x37c0b9,'\x0a')));}}}),_0x20f9cf&&(testSuitesFailed+=0x1),this[_0x144496(0x187)]('\x0a');}['logTestRunFinished'](_0x7bff77){}[a6_0x4a0f57(0x10f)](_0x361056){const _0x5e0a39=a6_0x4a0f57,_0x10f542={};_0x10f542[_0x5e0a39(0xd1)]=function(_0x296ce2,_0x5a1b8a){return _0x296ce2!==_0x5a1b8a;},_0x10f542[_0x5e0a39(0x10d)]='cucumber-js/test.setup.js';const _0x34f7e8=_0x10f542;if(_0x34f7e8[_0x5e0a39(0xd1)](_0x361056[_0x5e0a39(0x184)],undefined))return![];if(_0x361056['actionLocation']&&_0x361056[_0x5e0a39(0x16e)][_0x5e0a39(0x108)][_0x5e0a39(0xe8)](_0x34f7e8[_0x5e0a39(0x10d)]))return!![];return![];}[a6_0x4a0f57(0x174)](_0x3aeb47){const _0x4f24bd=a6_0x4a0f57,_0x5266b1={};_0x5266b1[_0x4f24bd(0x102)]=_0x4f24bd(0xc6),_0x5266b1[_0x4f24bd(0x172)]=_0x4f24bd(0x18a),_0x5266b1[_0x4f24bd(0x160)]='SKIPPED',_0x5266b1[_0x4f24bd(0xb7)]=_0x4f24bd(0x13f),_0x5266b1[_0x4f24bd(0xf8)]='UNDEFINED',_0x5266b1[_0x4f24bd(0xfc)]=_0x4f24bd(0x121),_0x5266b1[_0x4f24bd(0x12d)]='AMBIGUOUS';const _0x1e2e27=_0x5266b1;switch(_0x3aeb47){case _0x1e2e27[_0x4f24bd(0x102)]:testsFailed+=0x1;break;case _0x1e2e27['LibhH']:testsPassed+=0x1;break;case _0x1e2e27['aZJAO']:testsSkipped+=0x1;break;case _0x1e2e27[_0x4f24bd(0xb7)]:testsPending+=0x1;break;case _0x1e2e27['hDeKD']:testsUndefined+=0x1;break;case _0x1e2e27[_0x4f24bd(0xfc)]:testsUnknown+=0x1;break;case _0x1e2e27[_0x4f24bd(0x12d)]:testsAmbiguous+=0x1;break;default:break;}}async[a6_0x4a0f57(0x122)](_0x2dd94c){const _0x5932f7=a6_0x4a0f57,_0x193dc2={'RHCdX':function(_0x12b1ff,_0x237e3b){return _0x12b1ff!==_0x237e3b;},'vjbuD':function(_0x3f080c,_0x297bcb){return _0x3f080c!==_0x297bcb;},'rGzHo':function(_0x538fd1){return _0x538fd1();},'WBxgb':function(_0x4410c9,_0xb02c5e){return _0x4410c9(_0xb02c5e);},'gYYwm':function(_0x1c418c,_0x2b8ae4){return _0x1c418c+_0x2b8ae4;},'sDaLP':'cucumber'};let _0x5b2601;if(_0x193dc2[_0x5932f7(0xfd)](process[_0x5932f7(0x17d)][_0x5932f7(0xc0)],undefined)){const _0x1fc4ae=JSON[_0x5932f7(0x154)](process[_0x5932f7(0x17d)][_0x5932f7(0xc0)]);_0x5b2601=_0x1fc4ae[_0x5932f7(0x128)];}_0x193dc2[_0x5932f7(0x15c)](_0x5b2601,undefined)&&_0x193dc2[_0x5932f7(0x123)](isBrowserstackInfra)&&(global[_0x5932f7(0x12c)]=_0x193dc2[_0x5932f7(0x145)](getPlatformName,_0x5b2601),this[_0x5932f7(0x187)](_0x193dc2[_0x5932f7(0x103)](_0x5932f7(0xca)+global['__platform'],'\x0a'))),_0x193dc2[_0x5932f7(0x123)](shouldProcessEventForTesthub)&&(TestDetails[_0x5932f7(0xd7)](),this[_0x5932f7(0x133)][_0x5932f7(0x12a)]=_0x2dd94c,BrowserstackCLI[_0x5932f7(0x101)]()[_0x5932f7(0xb8)]()&&await this['isCLIReady']()&&(TestInfo[_0x5932f7(0xd7)](_0x193dc2[_0x5932f7(0xf4)]),await BrowserstackCLI[_0x5932f7(0x101)]()[_0x5932f7(0xfa)]()[_0x5932f7(0x182)](TestFrameworkState[_0x5932f7(0x16b)],HookState[_0x5932f7(0x189)],{})));}[a6_0x4a0f57(0x153)](_0x20c241){const _0x39416a=a6_0x4a0f57;this['report'][_0x39416a(0x180)]=_0x20c241,this[_0x39416a(0x14f)](_0x20c241);}async['onTestCaseStarted'](_0x5d8bf2,_0x3522ee,_0x43a958){const _0x196816=a6_0x4a0f57,_0x32a928={'nsyYw':function(_0xdfcce5,_0x4b1827){return _0xdfcce5(_0x4b1827);},'LBfoL':'TestRunStarted','QmSyz':function(_0xe49c6f,_0x23cb31){return _0xe49c6f&&_0x23cb31;}};testSuites+=0x1;if(_0x32a928['nsyYw'](shouldProcessEventForTesthub,_0x32a928[_0x196816(0x164)]))try{this[_0x196816(0x133)][_0x196816(0x167)]=this[_0x196816(0x133)][_0x196816(0x167)]||{},this[_0x196816(0x133)][_0x196816(0x167)][_0x5d8bf2['id']]=_0x5d8bf2;let _0x29f292=null;BrowserstackCLI['getInstance']()[_0x196816(0xb8)]()&&await this[_0x196816(0xf0)]()?_0x29f292=TestInfo[_0x196816(0xee)](_0x5d8bf2['id']):_0x29f292=TestDetails[_0x196816(0xee)](_0x5d8bf2['id']);_testCasesData[_0x5d8bf2['id']]=Object[_0x196816(0x12e)]({},_0x43a958);const _0x528206=this[_0x196816(0x133)],_0x5ab089=_0x5d8bf2[_0x196816(0xf2)],_0x60930=_0x528206[_0x196816(0x113)]['find'](_0xd4e0a2=>_0xd4e0a2['id']===_0x5ab089)[_0x196816(0x14b)],_0x293e44=_0x528206[_0x196816(0xfb)][_0x196816(0x141)](_0xe6dcf5=>_0xe6dcf5['id']===_0x60930),_0x1eb011=_0x528206[_0x196816(0x109)]['find'](_0x2dce9e=>_0x2dce9e[_0x196816(0x108)]===_0x293e44[_0x196816(0x108)]),_0x5bc6e9=_0x1eb011[_0x196816(0xd0)],_0x4ccb94={'uuid':_0x29f292,'startedAt':new Date()[_0x196816(0x157)]()};if(_0x293e44){const _0x5cf08d={};_0x5cf08d[_0x196816(0x136)]=_0x293e44['name'],_0x4ccb94[_0x196816(0x11c)]=_0x5cf08d;}if(_0x32a928['QmSyz'](_0x1eb011,_0x5bc6e9)){const _0x1f989c={};_0x1f989c[_0x196816(0x11f)]=_0x1eb011[_0x196816(0x108)],_0x1f989c['name']=_0x5bc6e9[_0x196816(0x136)],_0x1f989c[_0x196816(0x186)]=_0x5bc6e9['description'],_0x4ccb94['feature']=_0x1f989c;}_tests[_0x5ab089]=_0x4ccb94;if(BrowserstackCLI['getInstance']()[_0x196816(0xb8)]()&&await this[_0x196816(0xf0)]()){const _0x19b1e5=await cucumberUtils[_0x196816(0xd6)](_0x4ccb94,_0x293e44,_0x43a958,_0x1eb011,_0x5d8bf2['id'],_0x32a928[_0x196816(0x164)]),_0x14d8af={};_0x14d8af[_0x196816(0xc3)]=_0x19b1e5,await BrowserstackCLI[_0x196816(0x101)]()[_0x196816(0xfa)]()[_0x196816(0x182)](TestFrameworkState[_0x196816(0x11e)],HookState['PRE'],_0x14d8af);return;}await testObservabilityReporter[_0x196816(0xdb)](_0x43a958,_0x1eb011,_0x293e44,_0x32a928[_0x196816(0x164)],_0x4ccb94);}catch(_0x1a262b){logger['debug'](_0x196816(0xc8)+util['format'](_0x1a262b)+'\x20');}}async['onTestCaseFinished'](_0x58f8e2,_0x41d223,_0x3b0290){const _0x4b15dd=a6_0x4a0f57,_0x4235de={'yMDyR':function(_0x11ae4b,_0x515701){return _0x11ae4b(_0x515701);},'DFgtl':_0x4b15dd(0xc5),'BarWx':_0x4b15dd(0xc3)};this[_0x4b15dd(0x158)](_0x58f8e2);if(_0x4235de[_0x4b15dd(0x17c)](shouldProcessEventForTesthub,_0x4235de[_0x4b15dd(0x10c)]))try{this[_0x4b15dd(0x133)][_0x4b15dd(0x16a)]=this[_0x4b15dd(0x133)][_0x4b15dd(0x16a)]||{},this['report'][_0x4b15dd(0x16a)][_0x58f8e2['testCaseStartedId']]=_0x58f8e2,_testCasesData[_0x3b0290['id']]=Object[_0x4b15dd(0x12e)]({},_0x3b0290);const _0x171a00=_0x58f8e2[_0x4b15dd(0xbf)],_0x549e9a=_0x41d223[_0x4b15dd(0x171)]['testCaseAttemptDataMap'][_0x171a00][_0x4b15dd(0xf2)],_0x218bfe=_0x41d223['eventDataCollector']['testCaseMap'][_0x549e9a],_0x3b8468=_0x218bfe[_0x4b15dd(0x14b)],_0x5ac633=_0x41d223['eventDataCollector'][_0x4b15dd(0x11d)][_0x3b8468],_0x57a42b=this['getGherkinDocument'](_0x41d223,_0x5ac633),_0x3a04d3=_0x57a42b[_0x4b15dd(0xd0)],_0x4d0251=_tests[_0x549e9a];_0x4d0251&&(delete _tests[_0x549e9a],_0x4d0251[_0x4b15dd(0x107)]=new Date()[_0x4b15dd(0x157)]());if(BrowserstackCLI[_0x4b15dd(0x101)]()[_0x4b15dd(0xb8)]()&&await this[_0x4b15dd(0xf0)]()){const _0x1c6abd=await cucumberUtils['createTestFrameworkData'](_0x4d0251,_0x5ac633,_0x3b0290,_0x57a42b,_0x171a00,_0x4235de[_0x4b15dd(0x10c)]),_0xa189ce={};_0xa189ce[_0x4b15dd(0xc3)]=_0x1c6abd,await BrowserstackCLI['getInstance']()[_0x4b15dd(0xfa)]()[_0x4b15dd(0x182)](TestFrameworkState[_0x4b15dd(0x11e)],HookState[_0x4b15dd(0x144)],_0xa189ce);const _0x4e3e80={};_0x4e3e80[_0x4b15dd(0xf6)]=_0x58f8e2[_0x4b15dd(0xbf)],_0x4e3e80[_0x4b15dd(0xb5)]=_0x4235de[_0x4b15dd(0xc2)],await BrowserstackCLI['getInstance']()[_0x4b15dd(0xfa)]()[_0x4b15dd(0x182)](TestFrameworkState[_0x4b15dd(0x15b)],HookState[_0x4b15dd(0x144)],_0x4e3e80);return;}await testObservabilityReporter[_0x4b15dd(0xdb)](_0x3b0290,_0x57a42b,_0x5ac633,_0x4235de['DFgtl'],_0x4d0251);}catch(_0x30256d){logger[_0x4b15dd(0xc9)](_0x4b15dd(0x17e)+util[_0x4b15dd(0xb9)](_0x30256d));}}async[a6_0x4a0f57(0x15d)](_0xe87468,_0x13bebc){const _0x22dbee=a6_0x4a0f57,_0x2ab813={'eZSUe':function(_0x1a17f3,_0x27de0f){return _0x1a17f3(_0x27de0f);},'OgHyQ':_0x22dbee(0x118),'wqCQv':function(_0x1ee968,_0x386930){return _0x1ee968!==_0x386930;},'jMvDj':'testStepId'};if(_0x2ab813[_0x22dbee(0x135)](shouldProcessEventForTesthub,_0x2ab813[_0x22dbee(0x127)]))try{this[_0x22dbee(0x133)]['testStepStarted']=this[_0x22dbee(0x133)][_0x22dbee(0x178)]||{},this[_0x22dbee(0x133)][_0x22dbee(0x178)][_0xe87468[_0x22dbee(0xbf)]]=_0xe87468;const _0x2c030d=_0xe87468['testCaseStartedId'],_0x11678b=_0x13bebc[_0x22dbee(0x171)][_0x22dbee(0x14a)][_0x2c030d][_0x22dbee(0xf2)],_0x52da38=this[_0x22dbee(0x133)]['testCases'][_0x22dbee(0x141)](_0x10a37e=>_0x10a37e['id']===_0x11678b)[_0x22dbee(0x14b)],_0x4ff30a=this['report']['pickle'][_0x22dbee(0x141)](_0x408bfd=>_0x408bfd['id']===_0x52da38),_0x454445=this[_0x22dbee(0x133)]['testCases'][_0x22dbee(0x141)](_0x5bcda2=>_0x5bcda2['id']===_0x11678b)['testSteps'],_0x51e22c=this[_0x22dbee(0x133)]['testStepStarted'][_0x2c030d][_0x22dbee(0x183)],_0x2ed175=_0x454445[_0x22dbee(0x141)](_0xa3a4b=>_0xa3a4b['id']===_0x51e22c)['pickleStepId'],_0x440024=_0x4ff30a[_0x22dbee(0x138)]['find'](_0x202ebe=>_0x202ebe['id']===_0x2ed175);if(_0x2ed175&&_tests[_0x11678b]&&_0x2ab813[_0x22dbee(0x146)](_tests[_0x11678b][_0x2ab813[_0x22dbee(0xbb)]],_0x51e22c)){_tests[_0x11678b][_0x2ab813['jMvDj']]=_0x51e22c;const _0x9f7c47={};_0x9f7c47[_0x22dbee(0x138)]=[];const _0x53733f=_tests[_0x11678b]||_0x9f7c47;_0x53733f&&!_0x53733f[_0x22dbee(0x138)]&&(_0x53733f[_0x22dbee(0x138)]=[]),_0x53733f[_0x22dbee(0x138)][_0x22dbee(0x188)]({'id':_0x440024['id'],'text':_0x440024[_0x22dbee(0xc4)],'started_at':new Date()['toISOString']()}),_tests[_0x11678b]=_0x53733f;}if(BrowserstackCLI[_0x22dbee(0x101)]()[_0x22dbee(0xb8)]()&&await this[_0x22dbee(0xf0)]()){const _0xf375ed=await cucumberUtils[_0x22dbee(0x105)](this[_0x22dbee(0x133)],_0x2c030d,_0x2ab813[_0x22dbee(0x127)],_0x454445,_0x51e22c,_tests[_0x11678b]);_0xf375ed&&await BrowserstackCLI[_0x22dbee(0x101)]()[_0x22dbee(0xfa)]()[_0x22dbee(0x182)](TestFrameworkState[_0xf375ed[_0x22dbee(0x139)]],HookState[_0x22dbee(0x189)],{'hookData':_0xf375ed,'testUUID':_0xe87468['testCaseStartedId']});return;}await testObservabilityReporter[_0x22dbee(0xe9)](this[_0x22dbee(0x133)],_0x2c030d,_0x2ab813[_0x22dbee(0x127)],_0x454445,_0x51e22c,_tests[_0x11678b]);}catch(_0x54f848){logger['debug']('Exception\x20in\x20onTestStepStarted\x20event:\x20'+util[_0x22dbee(0xb9)](_0x54f848));}}async[a6_0x4a0f57(0xc7)](_0xb4429f,_0x1718b6){const _0x273db9=a6_0x4a0f57,_0x26557a={'HBTVf':function(_0x5b78ea,_0x596531){return _0x5b78ea===_0x596531;},'vfeiK':_0x273db9(0x175),'QnQoJ':function(_0x2b6d45,_0x589ffb){return _0x2b6d45(_0x589ffb);},'qUrvl':_0x273db9(0xdf),'kVOBt':_0x273db9(0xce),'mQTJl':'UnhandledError','dGleH':_0x273db9(0x183),'jwndi':_0x273db9(0x118),'HvjcQ':_0x273db9(0x110)};this[_0x273db9(0x133)][_0x273db9(0x13a)]=this[_0x273db9(0x133)][_0x273db9(0x13a)]||{},this[_0x273db9(0x133)][_0x273db9(0x13a)][_0xb4429f['testCaseStartedId']]=_0xb4429f;if(_0x26557a[_0x273db9(0xe2)](shouldProcessEventForTesthub,_0x26557a[_0x273db9(0xda)]))try{const _0x4424b2=_0xb4429f[_0x273db9(0xbf)],_0x26deae=_0x1718b6[_0x273db9(0x171)][_0x273db9(0x14a)][_0x4424b2][_0x273db9(0xf2)],_0x2760c8=_0x1718b6[_0x273db9(0x171)][_0x273db9(0x140)][_0x26deae],_0x143df1=_0x2760c8[_0x273db9(0x14b)],_0x59d5fc=_0x1718b6['eventDataCollector']['pickleMap'][_0x143df1],_0xdfdb90=_0xb4429f[_0x273db9(0x183)],_0x49b05e=_0x2760c8['testSteps'],_0x5f3a4c=this[_0x273db9(0x171)][_0x273db9(0x16f)](_0x4424b2),_0x25a64c=_0x49b05e[_0x273db9(0x141)](_0x36d42d=>_0x36d42d['id']===_0xdfdb90)[_0x273db9(0x17a)];let _0x10fcc5,_0x39d5b1;_0xb4429f[_0x273db9(0xec)]&&_0x26557a[_0x273db9(0x17f)](_0xb4429f[_0x273db9(0xec)][_0x273db9(0x168)][_0x273db9(0x126)]()[_0x273db9(0xbe)](),_0x26557a['kVOBt'])&&(_0x10fcc5=_0x26557a[_0x273db9(0x17f)](_0xb4429f[_0x273db9(0xec)][_0x273db9(0x163)],undefined)?_0xb4429f['testStepResult'][_0x273db9(0xba)]:_0xb4429f['testStepResult'][_0x273db9(0x163)][_0x273db9(0xba)],_0x39d5b1=_0x26557a[_0x273db9(0x17f)](_0xb4429f['testStepResult']['exception'],undefined)?_0x26557a[_0x273db9(0xd3)]:_0xb4429f[_0x273db9(0xec)][_0x273db9(0xba)]);if(_0x25a64c&&_tests[_0x26deae][_0x26557a[_0x273db9(0xde)]]){const _0x5b5ccb=_0x59d5fc[_0x273db9(0x138)]['find'](_0x331f4c=>_0x331f4c['id']===_0x25a64c),_0x37833c={};_0x37833c['steps']=[];const _0x12e27a=_tests[_0x26deae]||_0x37833c;!_0x12e27a[_0x273db9(0x138)]?_0x12e27a[_0x273db9(0x138)]=[{'id':_0x5b5ccb['id'],'text':_0x5b5ccb[_0x273db9(0xc4)],'finished_at':new Date()['toISOString'](),'result':_0xb4429f[_0x273db9(0xec)]['status'],'duration':_0xb4429f[_0x273db9(0xec)][_0x273db9(0x149)]['seconds'],'failure':_0x10fcc5,'failureType':_0x39d5b1}]:_0x12e27a[_0x273db9(0x138)][_0x273db9(0xd9)](_0x179de3=>{const _0x5d2464=_0x273db9;if(_0x26557a[_0x5d2464(0x17f)](_0x179de3['id'],_0x5b5ccb['id'])){const _0x4f81c1=_0x26557a['vfeiK'][_0x5d2464(0xeb)]('|');let _0x16a35a=0x0;while(!![]){switch(_0x4f81c1[_0x16a35a++]){case'0':_0x179de3[_0x5d2464(0x177)]=_0x10fcc5;continue;case'1':_0x179de3[_0x5d2464(0x149)]=_0xb4429f[_0x5d2464(0xec)]['duration'][_0x5d2464(0x10a)];continue;case'2':_0x179de3[_0x5d2464(0x111)]=new Date()[_0x5d2464(0x157)]();continue;case'3':_0x179de3[_0x5d2464(0x116)]=_0xb4429f['testStepResult'][_0x5d2464(0x168)];continue;case'4':_0x179de3['failureType']=_0x39d5b1;continue;}break;}}}),_tests[_0x26deae]=_0x12e27a;}delete _tests[_0x26deae][_0x26557a[_0x273db9(0xde)]];if(BrowserstackCLI[_0x273db9(0x101)]()['isCliEnabled']()&&await this[_0x273db9(0xf0)]()){const _0x36051b=await cucumberUtils['createHookData'](this['report'],_0x4424b2,_0x26557a[_0x273db9(0x137)],_0x49b05e,_0xdfdb90,_tests[_0x26deae]);if(_0x36051b){await BrowserstackCLI['getInstance']()[_0x273db9(0xfa)]()[_0x273db9(0x182)](TestFrameworkState[_0x36051b[_0x273db9(0x139)]],HookState[_0x273db9(0x144)],{'hookData':_0x36051b,'testUUID':_0xb4429f['testCaseStartedId']});const _0x323fe7={};_0x323fe7['testUUID']=_0xb4429f[_0x273db9(0xbf)],_0x323fe7[_0x273db9(0xb5)]=_0x26557a[_0x273db9(0x18b)],await BrowserstackCLI[_0x273db9(0x101)]()[_0x273db9(0xfa)]()[_0x273db9(0x182)](TestFrameworkState['LOG_REPORT'],HookState[_0x273db9(0x144)],_0x323fe7);}return;}await testObservabilityReporter[_0x273db9(0xe9)](this[_0x273db9(0x133)],_0x4424b2,_0x26557a['qUrvl'],_0x49b05e,_0xdfdb90,_tests[_0x26deae]);}catch(_0x4b6731){logger[_0x273db9(0xc9)](_0x273db9(0x129)+util[_0x273db9(0xb9)](_0x4b6731));}}[a6_0x4a0f57(0x17b)](_0x387eb8){const _0x4b39cb=a6_0x4a0f57,_0x4ace72={};return _0x387eb8['feature'][_0x4b39cb(0xcf)]['map'](this[_0x4b39cb(0x12b)])['flat']()[_0x4b39cb(0xd9)](_0x155922=>_0x155922[_0x4b39cb(0x138)]['forEach'](_0x28a39f=>_0x4ace72[_0x28a39f['id']]=_0x28a39f)),_0x4ace72;}['extractStepContainers'](_0x4ed7bf){const _0x3d0aac=a6_0x4a0f57,_0x5e0dac={'pjNws':function(_0x11f676,_0x3946fb){return _0x11f676(_0x3946fb);},'QooAa':function(_0x1c5bf1,_0x820ec3){return _0x1c5bf1(_0x820ec3);}};if(!_0x5e0dac[_0x3d0aac(0x161)](isUndefined,_0x4ed7bf[_0x3d0aac(0x15a)]))return[_0x4ed7bf['background']];else{if(!_0x5e0dac[_0x3d0aac(0xe1)](isUndefined,_0x4ed7bf['rule']))return _0x4ed7bf[_0x3d0aac(0xd2)][_0x3d0aac(0xcf)][_0x3d0aac(0x151)](_0x3673b3=>!isUndefined(_0x3673b3[_0x3d0aac(0x15a)])?_0x3673b3[_0x3d0aac(0x15a)]:_0x3673b3[_0x3d0aac(0x11c)]);};return[_0x4ed7bf[_0x3d0aac(0x11c)]];}[a6_0x4a0f57(0x114)](_0x3a3be0,_0x4e00fc){const _0x2b114d=a6_0x4a0f57;return Object[_0x2b114d(0x155)](_0x3a3be0[_0x2b114d(0x171)][_0x2b114d(0x12f)])[_0x2b114d(0x141)](_0x23c02=>_0x23c02[_0x2b114d(0x108)]===_0x4e00fc[_0x2b114d(0x108)]);}async[a6_0x4a0f57(0xe7)](){const _0x5ef8a1=a6_0x4a0f57;if(this[_0x5ef8a1(0xef)])return this[_0x5ef8a1(0xef)];return this['cliInitPromise']=this['_performCLIInitialization'](),this[_0x5ef8a1(0xef)];}async['_performCLIInitialization'](){const _0x3c9d98=a6_0x4a0f57,_0x46270c={'Vcddz':'No\x20BROWSERSTACK_CLI_BIN_SESSION_ID\x20found,\x20CLI\x20not\x20available','XdvmJ':function(_0x43121d,_0x43f493){return _0x43121d(_0x43f493);},'IGNGj':'../../v2/cliUtils','NHjuH':_0x3c9d98(0x125)};try{const _0x11f509=BrowserstackCLI[_0x3c9d98(0x101)]();if(_0x11f509['isRunning']())return logger[_0x3c9d98(0xc9)](_0x3c9d98(0x13b)+_0x11f509[_0x3c9d98(0x10b)]),!![];const _0x2420d0=process[_0x3c9d98(0x17d)][_0x3c9d98(0x148)];if(!_0x2420d0)return logger[_0x3c9d98(0xc9)](_0x46270c[_0x3c9d98(0xfe)]),![];const _0x3c1416=_0x46270c[_0x3c9d98(0xf9)](require,_0x46270c[_0x3c9d98(0x106)]),{FRAMEWORKS:_0x5ce800}=_0x46270c[_0x3c9d98(0xf9)](require,_0x46270c[_0x3c9d98(0xf3)]);return _0x3c1416[_0x3c9d98(0xcd)](_0x5ce800[_0x3c9d98(0x142)],_0x5ce800[_0x3c9d98(0x115)]),logger['debug']('Bootstrapping\x20CLI\x20in\x20formatter\x20with\x20binSessionId:\x20'+_0x2420d0),await _0x11f509['bootstrap'](),logger[_0x3c9d98(0xc9)](_0x3c9d98(0xea)+_0x11f509[_0x3c9d98(0x143)]()+_0x3c9d98(0x16d)+_0x11f509[_0x3c9d98(0x10b)]),_0x11f509[_0x3c9d98(0x143)]();}catch(_0xa853f2){return logger[_0x3c9d98(0xc9)](_0x3c9d98(0x169)+util[_0x3c9d98(0xb9)](_0xa853f2)),![];}}async[a6_0x4a0f57(0xf0)](){const _0x5b3332=a6_0x4a0f57;try{return await this[_0x5b3332(0xe7)](),BrowserstackCLI[_0x5b3332(0x101)]()[_0x5b3332(0x143)]();}catch(_0x341765){return logger['debug'](_0x5b3332(0x130)+util[_0x5b3332(0xb9)](_0x341765)),![];}}}module[a6_0x4a0f57(0x170)]=o11yClassErrorHandler(BrowserstackFormatter,[a6_0x4a0f57(0x165),a6_0x4a0f57(0x147),a6_0x4a0f57(0x15d),'onTestStepFinished',a6_0x4a0f57(0x122),'onTestRunFinished',a6_0x4a0f57(0x12b),a6_0x4a0f57(0x114),a6_0x4a0f57(0x17b)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7_0x3b7a(){const _0x28c973=['iDWnW','oxAyW','forEach','hzFaT','result','../../../helpers/helper','Tgzua','pickle','fUIAR','lsmZO','3750229fhUyRj','4XaGOOY','kvaik','feature','EeStn','394015dqNXiW','NBPyi','getTestCaseData','\x20\x20\x20\x20AFTER\x20-\x20','dBwwf','urmQt','PENDING','LIQJL','CciZP','steps','exception','PASSED','bFkIH','mWGXl','sourceLocation','JsLUM','getTestCaseAttempt','WbWRJ','length','uri','JVKTJ','capability','getStepLineToPickledStepMap','logTestCaseFinished','FAILED','eventBroadcaster','cucumber/lib/formatter/helpers/pickle_parser.js','CONFIG','1451336nNpQhl','tPoIf','UNDEFINED','includes','actionLocation','cucumber-js/test_old.setup.js','eventDataCollector','tRiHo','AMBIGUOUS','PVQnv','toUpperCase','testCase','text','status','env','CCjCP','log','\x20-\x20','11020lTYUTD','TjcyN','SKIPPED','kULlj','test-step-started','undefined','1939353pabxHb','gherkinDocument','926EpjWbk','EtdWC','test-run-started','exports','kWwna','\x20\x20\x20\x20','12iAtiou','xLpzw','__platform','vJhxA','jvmes','TPxbC','QcMfD','parse','UNKNOWN','test-case-finished','WOBmA','16962aScVII','test-case-started','stepResults','name','569AaweDD','1181025LgeGkC','stack'];a7_0x3b7a=function(){return _0x28c973;};return a7_0x3b7a();}const a7_0x2fcde4=a7_0x5416;function a7_0x5416(_0x5f3ed7,_0x52c94d){const _0x3b7a6b=a7_0x3b7a();return a7_0x5416=function(_0x54169e,_0x271b8d){_0x54169e=_0x54169e-0x1dd;let _0x443106=_0x3b7a6b[_0x54169e];return _0x443106;},a7_0x5416(_0x5f3ed7,_0x52c94d);}(function(_0x4896c4,_0x579fd4){const _0x1afde4=a7_0x5416,_0x512773=_0x4896c4();while(!![]){try{const _0x3b92a9=parseInt(_0x1afde4(0x1e2))/0x1*(-parseInt(_0x1afde4(0x22a))/0x2)+-parseInt(_0x1afde4(0x228))/0x3*(parseInt(_0x1afde4(0x1f0))/0x4)+-parseInt(_0x1afde4(0x1f4))/0x5*(parseInt(_0x1afde4(0x230))/0x6)+-parseInt(_0x1afde4(0x1ef))/0x7+parseInt(_0x1afde4(0x210))/0x8+parseInt(_0x1afde4(0x1e3))/0x9+parseInt(_0x1afde4(0x222))/0xa*(parseInt(_0x1afde4(0x1de))/0xb);if(_0x3b92a9===_0x579fd4)break;else _0x512773['push'](_0x512773['shift']());}catch(_0x4aa597){_0x512773['push'](_0x512773['shift']());}}}(a7_0x3b7a,0x63c63));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x2fcde4(0x1ea)),{Formatter}=requireModule('cucumber'),pickleParser=requireModule(a7_0x2fcde4(0x20e),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x122649){const _0x47635e=a7_0x2fcde4,_0x2f4506={'EtdWC':function(_0x5471a9,_0x57780e){return _0x5471a9!==_0x57780e;},'WbWRJ':function(_0x1e702c,_0x16313d){return _0x1e702c!==_0x16313d;},'VXGID':function(_0x96b61e,_0x11832f){return _0x96b61e(_0x11832f);},'hzFaT':_0x47635e(0x22c),'ilPrJ':_0x47635e(0x1df),'tRiHo':_0x47635e(0x239),'ahhcs':'test-run-finished','LIQJL':_0x47635e(0x226)};super(_0x122649),_0x122649[_0x47635e(0x20d)]['on'](_0x2f4506[_0x47635e(0x1e8)],()=>{const _0x2452ad=_0x47635e;let _0x51447a;if(_0x2f4506[_0x2452ad(0x22b)](process[_0x2452ad(0x21e)][_0x2452ad(0x20f)],undefined)){const _0x2340d4=JSON[_0x2452ad(0x237)](process[_0x2452ad(0x21e)]['CONFIG']);_0x51447a=_0x2340d4[_0x2452ad(0x209)];}_0x2f4506[_0x2452ad(0x205)](_0x51447a,undefined)&&(global[_0x2452ad(0x232)]=_0x2f4506['VXGID'](getPlatformName,_0x51447a),console[_0x2452ad(0x220)]('Executing\x20tests\x20for\x20'+global[_0x2452ad(0x232)]));}),_0x122649[_0x47635e(0x20d)]['on'](_0x2f4506['ilPrJ'],()=>{testSuites+=0x1;}),_0x122649[_0x47635e(0x20d)]['on'](_0x2f4506[_0x47635e(0x217)],_0x315c92=>{const _0x3de1bf=_0x47635e;this[_0x3de1bf(0x20b)](_0x315c92);}),_0x122649['eventBroadcaster']['on'](_0x2f4506['ahhcs'],()=>{totalTests-=0x2;}),_0x122649[_0x47635e(0x20d)]['on'](_0x2f4506[_0x47635e(0x1fb)],()=>{totalTests+=0x1;});}['logTestCaseFinished'](_0x315ef1){const _0x6966bf=a7_0x2fcde4,_0x47146e={'jvmes':_0x6966bf(0x20c),'CciZP':_0x6966bf(0x1ff),'jmQkv':_0x6966bf(0x224),'fUIAR':_0x6966bf(0x1fa),'JsLUM':_0x6966bf(0x212),'juQaB':_0x6966bf(0x238),'dBwwf':_0x6966bf(0x218),'qtwuW':function(_0x4fbc7b,_0x124163){return _0x4fbc7b+_0x124163;},'NBPyi':function(_0x5547bd,_0x4eea10){return _0x5547bd+_0x4eea10;},'kWwna':_0x6966bf(0x22f),'mWGXl':_0x6966bf(0x221),'CCjCP':function(_0x2b280c,_0x24402c){return _0x2b280c(_0x24402c);},'WOBmA':_0x6966bf(0x215),'urmQt':_0x6966bf(0x1f7),'lsmZO':'\x20\x20\x20\x20BEFORE\x20-\x20','vJhxA':function(_0x328a72,_0x3a36d0){return _0x328a72===_0x3a36d0;},'TPxbC':function(_0x2b3d7e,_0x4999f4,_0x3aed74){return _0x2b3d7e(_0x4999f4,_0x3aed74);},'Yypqs':_0x6966bf(0x1e9),'JVKTJ':_0x6966bf(0x1fe),'bFkIH':_0x6966bf(0x1e4),'HqBPg':function(_0x2e69bf,_0x1b74cd){return _0x2e69bf+_0x1b74cd;},'TjcyN':function(_0x48bb0c,_0x276739){return _0x48bb0c!==_0x276739;},'IJcWG':function(_0x297eb1,_0x3d9a88){return _0x297eb1!==_0x3d9a88;},'xLpzw':_0x6966bf(0x227),'IYKaz':function(_0x4a2430,_0x1c66a4){return _0x4a2430+_0x1c66a4;},'Tgzua':function(_0x47658d,_0x5cbf8a){return _0x47658d+_0x5cbf8a;},'PVQnv':function(_0x3c627f,_0x311224){return _0x3c627f+_0x311224;},'kvaik':function(_0x20dc43,_0x257c07){return _0x20dc43<_0x257c07;},'tPoIf':function(_0x3b14d9,_0xeead35){return _0x3b14d9+_0xeead35;},'XXnHp':function(_0x462ec2,_0x2e1f16){return _0x462ec2+_0x2e1f16;},'iDWnW':function(_0x1529f1,_0x170439){return _0x1529f1(_0x170439);},'forSu':function(_0x28e20f,_0x2eb0a3){return _0x28e20f+_0x2eb0a3;},'EeStn':function(_0x440d2d,_0x58cf6b){return _0x440d2d===_0x58cf6b;},'QcMfD':function(_0x5385a2,_0x51857c,_0x42511f){return _0x5385a2(_0x51857c,_0x42511f);},'kULlj':function(_0x1f4f3b,_0x51284d){return _0x1f4f3b+_0x51284d;},'oxAyW':function(_0x200b50,_0x1cef7c){return _0x200b50+_0x1cef7c;}};let _0x56141c=![];function _0x2f186c(_0x5126cb){const _0x326ead=_0x6966bf;switch(_0x5126cb){case _0x47146e[_0x326ead(0x234)]:testsFailed+=0x1;break;case _0x47146e[_0x326ead(0x1fc)]:testsPassed+=0x1;break;case _0x47146e['jmQkv']:testsSkipped+=0x1;break;case _0x47146e[_0x326ead(0x1ed)]:testsPending+=0x1;break;case _0x47146e[_0x326ead(0x203)]:testsUndefined+=0x1;break;case _0x47146e['juQaB']:testsUnknown+=0x1;break;case _0x47146e[_0x326ead(0x1f8)]:testsAmbiguous+=0x1;break;default:break;}}_0x47146e[_0x6966bf(0x223)](global[_0x6966bf(0x232)],undefined)&&console[_0x6966bf(0x220)](_0x47146e[_0x6966bf(0x1f5)](_0x47146e[_0x6966bf(0x1f5)]('\x0a',global[_0x6966bf(0x232)]),'\x0a'));let _0x1b202d=![];if(_0x47146e['IJcWG'](typeof this[_0x6966bf(0x216)][_0x6966bf(0x1f6)],_0x47146e[_0x6966bf(0x231)])){var _0x660639=this['eventDataCollector'][_0x6966bf(0x1f6)](_0x315ef1['sourceLocation']),_0xd97579=_0x660639['pickle'],_0x171650=_0x660639[_0x6966bf(0x21b)];console[_0x6966bf(0x220)](_0x47146e['IYKaz']('\x20\x20',_0xd97579['name']));var _0x4b3914=(0x0,pickleParser[_0x6966bf(0x20a)])(_0xd97579);_0x171650[_0x6966bf(0x1fd)][_0x6966bf(0x1e7)](function(_0xbaf32c){const _0x3bab14=_0x6966bf;if(_0xbaf32c[_0x3bab14(0x214)]&&_0xbaf32c[_0x3bab14(0x202)])_0x56141c=!![],console[_0x3bab14(0x220)](_0x47146e['qtwuW'](_0x47146e['qtwuW'](_0x47146e[_0x3bab14(0x1f5)](_0x47146e[_0x3bab14(0x22e)],_0x4b3914[_0xbaf32c[_0x3bab14(0x202)]['line']][_0x3bab14(0x21c)]),_0x47146e['mWGXl']),_0xbaf32c[_0x3bab14(0x1e9)][_0x3bab14(0x21d)][_0x3bab14(0x21a)]())),_0x47146e[_0x3bab14(0x21f)](_0x2f186c,_0xbaf32c['result'][_0x3bab14(0x21d)]['toUpperCase']());else _0xbaf32c[_0x3bab14(0x214)]&&(!_0xbaf32c[_0x3bab14(0x214)][_0x3bab14(0x207)][_0x3bab14(0x213)](_0x47146e[_0x3bab14(0x1dd)])&&(_0x47146e[_0x3bab14(0x21f)](_0x2f186c,_0xbaf32c['result'][_0x3bab14(0x21d)][_0x3bab14(0x21a)]()),_0x56141c?console['log'](_0x47146e['qtwuW'](_0x47146e[_0x3bab14(0x1f9)],_0xbaf32c['result'][_0x3bab14(0x21d)]['toUpperCase']())):console['log'](_0x47146e['qtwuW'](_0x47146e[_0x3bab14(0x1ee)],_0xbaf32c[_0x3bab14(0x1e9)]['status'][_0x3bab14(0x21a)]()))));if(_0x47146e[_0x3bab14(0x233)](_0xbaf32c[_0x3bab14(0x1e9)][_0x3bab14(0x21d)][_0x3bab14(0x21a)](),_0x47146e[_0x3bab14(0x234)])){const _0x1e7dd6=_0x47146e[_0x3bab14(0x235)](nestedKeyValue,_0xbaf32c,[_0x47146e['Yypqs'],_0x47146e['JVKTJ'],_0x47146e[_0x3bab14(0x200)]]);_0x1e7dd6&&(testsErrorMessage[_0xd97579[_0x3bab14(0x1e1)]]=_0x1e7dd6,console[_0x3bab14(0x220)](_0x47146e['HqBPg'](_0x1e7dd6,'\x0a'))),_0x1b202d=!![];}});}else{const _0x800f44=this[_0x6966bf(0x216)][_0x6966bf(0x204)](_0x315ef1);console[_0x6966bf(0x220)](_0x47146e[_0x6966bf(0x1eb)](_0x47146e[_0x6966bf(0x1eb)](_0x47146e['PVQnv']('\x20\x20',_0x800f44[_0x6966bf(0x229)][_0x6966bf(0x1f2)][_0x6966bf(0x1e1)]),_0x47146e[_0x6966bf(0x201)]),_0x800f44[_0x6966bf(0x1ec)][_0x6966bf(0x1e1)]));const _0x13af95=(0x0,pickleParser[_0x6966bf(0x20a)])(_0x800f44[_0x6966bf(0x1ec)]),_0x2df0b4=_0x800f44[_0x6966bf(0x21b)]['steps'],_0x5e28cf=_0x800f44[_0x6966bf(0x1e0)],_0x41a694=_0x2df0b4[_0x6966bf(0x206)];for(let _0x57d09b=0x0;_0x47146e[_0x6966bf(0x1f1)](_0x57d09b,_0x41a694);_0x57d09b++){const _0x3b8654=_0x2df0b4[_0x57d09b];if(_0x3b8654['actionLocation']&&_0x3b8654['sourceLocation'])_0x56141c=!![],console[_0x6966bf(0x220)](_0x47146e[_0x6966bf(0x211)](_0x47146e[_0x6966bf(0x219)](_0x47146e['XXnHp'](_0x47146e[_0x6966bf(0x22e)],_0x13af95[_0x3b8654[_0x6966bf(0x202)]['line']][_0x6966bf(0x21c)]),_0x47146e[_0x6966bf(0x201)]),_0x5e28cf[_0x57d09b][_0x6966bf(0x21d)][_0x6966bf(0x21a)]())),_0x47146e['CCjCP'](_0x2f186c,_0x5e28cf[_0x57d09b]['status'][_0x6966bf(0x21a)]());else _0x3b8654[_0x6966bf(0x214)]&&(!_0x3b8654['actionLocation'][_0x6966bf(0x207)]['includes'](_0x47146e[_0x6966bf(0x1dd)])&&(_0x47146e[_0x6966bf(0x1e5)](_0x2f186c,_0x5e28cf[_0x57d09b][_0x6966bf(0x21d)][_0x6966bf(0x21a)]()),_0x56141c?console[_0x6966bf(0x220)](_0x47146e['forSu'](_0x47146e[_0x6966bf(0x1f9)],_0x5e28cf[_0x57d09b]['status'][_0x6966bf(0x21a)]())):console[_0x6966bf(0x220)](_0x47146e['HqBPg'](_0x47146e['lsmZO'],_0x5e28cf[_0x57d09b][_0x6966bf(0x21d)]['toUpperCase']()))));if(_0x47146e[_0x6966bf(0x1f3)](_0x5e28cf[_0x57d09b][_0x6966bf(0x21d)]['toUpperCase'](),_0x47146e[_0x6966bf(0x234)])){_0x1b202d=!![];const _0x3268f8=_0x47146e[_0x6966bf(0x236)](nestedKeyValue,_0x5e28cf[_0x57d09b],[_0x47146e[_0x6966bf(0x208)],_0x47146e[_0x6966bf(0x200)]]);_0x3268f8&&(testsErrorMessage[_0x47146e[_0x6966bf(0x225)](_0x47146e[_0x6966bf(0x1e6)](_0x800f44['gherkinDocument']['feature'][_0x6966bf(0x1e1)],_0x47146e[_0x6966bf(0x201)]),_0x800f44[_0x6966bf(0x1ec)][_0x6966bf(0x1e1)])]=_0x3268f8,console[_0x6966bf(0x220)](_0x47146e[_0x6966bf(0x225)](_0x3268f8,'\x0a')));}}}_0x1b202d&&(testSuitesFailed+=0x1),console[_0x6966bf(0x220)]('\x0a');}}module[a7_0x2fcde4(0x22d)]=BrowserstackFormatter;
|
|
1
|
+
const a7_0x4aacd6=a7_0x2836;(function(_0x152460,_0x36008a){const _0x345dd8=a7_0x2836,_0x1667b5=_0x152460();while(!![]){try{const _0x209b60=-parseInt(_0x345dd8(0x1ce))/0x1+-parseInt(_0x345dd8(0x206))/0x2*(-parseInt(_0x345dd8(0x20d))/0x3)+parseInt(_0x345dd8(0x1f8))/0x4+parseInt(_0x345dd8(0x1de))/0x5*(parseInt(_0x345dd8(0x1c8))/0x6)+-parseInt(_0x345dd8(0x20b))/0x7+-parseInt(_0x345dd8(0x204))/0x8+-parseInt(_0x345dd8(0x20a))/0x9*(parseInt(_0x345dd8(0x1fc))/0xa);if(_0x209b60===_0x36008a)break;else _0x1667b5['push'](_0x1667b5['shift']());}catch(_0xd4f101){_0x1667b5['push'](_0x1667b5['shift']());}}}(a7_0x3100,0x2c06c));const {requireModule,getPlatformName,nestedKeyValue}=require(a7_0x4aacd6(0x214)),{Formatter}=requireModule(a7_0x4aacd6(0x1ff)),pickleParser=requireModule(a7_0x4aacd6(0x1f4),'cucumber');class BrowserstackFormatter extends Formatter{constructor(_0x15dac2){const _0x5cb721=a7_0x4aacd6,_0x21614e={'hVycS':function(_0x189029,_0x904eca){return _0x189029!==_0x904eca;},'gShWp':function(_0x5d1d87,_0x1f9fe0){return _0x5d1d87(_0x1f9fe0);},'SENQu':_0x5cb721(0x1d2),'HWzUk':_0x5cb721(0x1ef),'pdzol':_0x5cb721(0x1fd),'gpCjc':'test-run-finished','yzCoy':'test-step-started'};super(_0x15dac2),_0x15dac2[_0x5cb721(0x1cf)]['on'](_0x21614e[_0x5cb721(0x1ca)],()=>{const _0x744f91=_0x5cb721;let _0x24a639;if(_0x21614e['hVycS'](process[_0x744f91(0x1f7)]['CONFIG'],undefined)){const _0x4dbdb5=JSON[_0x744f91(0x1d3)](process[_0x744f91(0x1f7)][_0x744f91(0x1be)]);_0x24a639=_0x4dbdb5['capability'];}_0x21614e['hVycS'](_0x24a639,undefined)&&(global[_0x744f91(0x1c1)]=_0x21614e[_0x744f91(0x209)](getPlatformName,_0x24a639),console[_0x744f91(0x1e7)](_0x744f91(0x1fa)+global[_0x744f91(0x1c1)]));}),_0x15dac2[_0x5cb721(0x1cf)]['on'](_0x21614e['HWzUk'],()=>{testSuites+=0x1;}),_0x15dac2[_0x5cb721(0x1cf)]['on'](_0x21614e[_0x5cb721(0x205)],_0x5cd3ec=>{this['logTestCaseFinished'](_0x5cd3ec);}),_0x15dac2['eventBroadcaster']['on'](_0x21614e[_0x5cb721(0x1bf)],()=>{totalTests-=0x2;}),_0x15dac2[_0x5cb721(0x1cf)]['on'](_0x21614e[_0x5cb721(0x1eb)],()=>{totalTests+=0x1;});}[a7_0x4aacd6(0x1e1)](_0x4f869f){const _0x1c8027=a7_0x4aacd6,_0x43e370={'mnmxH':_0x1c8027(0x1d5),'aeUQt':_0x1c8027(0x1fe),'gfdov':_0x1c8027(0x1da),'tvIfI':_0x1c8027(0x208),'oUAuB':_0x1c8027(0x1e0),'uTFMC':'UNKNOWN','sUqTZ':_0x1c8027(0x212),'zgacV':function(_0x1eeba4,_0x38412c){return _0x1eeba4+_0x38412c;},'GgZlR':function(_0x20f2d0,_0x488509){return _0x20f2d0+_0x488509;},'krtFC':function(_0xf2bb92,_0x4fa2c6){return _0xf2bb92+_0x4fa2c6;},'Lplpw':_0x1c8027(0x1dd),'YaxVa':_0x1c8027(0x20c),'NShXL':function(_0xb06f2a,_0xd2efb8){return _0xb06f2a(_0xd2efb8);},'jcDnd':_0x1c8027(0x1c9),'ZABlM':function(_0x397cc3,_0xbc62c6){return _0x397cc3+_0xbc62c6;},'CWLXX':'\x20\x20\x20\x20AFTER\x20-\x20','mqULV':function(_0x43013a,_0x6dbb23){return _0x43013a+_0x6dbb23;},'tXHwv':_0x1c8027(0x1ee),'sUieY':function(_0x2e61b4,_0x138ab5){return _0x2e61b4===_0x138ab5;},'sZYUC':function(_0x25445e,_0x10f49f,_0x38f57e){return _0x25445e(_0x10f49f,_0x38f57e);},'IMMZk':'result','FWAoU':_0x1c8027(0x1db),'PmyGo':'stack','rSRHV':function(_0x3ae478,_0x4110be){return _0x3ae478+_0x4110be;},'TDQYN':function(_0x2bf8e2,_0x5a57b4){return _0x2bf8e2!==_0x5a57b4;},'abrAJ':function(_0x439633,_0x499202){return _0x439633+_0x499202;},'qWyAi':function(_0x50790f,_0x310f1d){return _0x50790f!==_0x310f1d;},'pywaG':_0x1c8027(0x207),'qpmqc':function(_0x29a7cc,_0x4b763a){return _0x29a7cc+_0x4b763a;},'aefOG':function(_0x8fbbda,_0x3aad4b){return _0x8fbbda+_0x3aad4b;},'ySydB':function(_0x18f143,_0x49632c){return _0x18f143+_0x49632c;},'NiudC':function(_0x58ef76,_0x5bf193){return _0x58ef76+_0x5bf193;},'lRSPY':function(_0x4a0e09,_0x4e057d){return _0x4a0e09<_0x4e057d;},'ymGyQ':function(_0x3428fb,_0x15e262){return _0x3428fb+_0x15e262;},'JplAe':function(_0x4dbdbf,_0x32b23c){return _0x4dbdbf+_0x32b23c;},'BqThS':function(_0x4fbb2b,_0x4afe72){return _0x4fbb2b(_0x4afe72);},'uBMLd':function(_0xf29464,_0x4aa79c){return _0xf29464+_0x4aa79c;},'OriZn':function(_0x257ca6,_0x4b1ef9){return _0x257ca6===_0x4b1ef9;},'oKEeM':function(_0x151bb4,_0x10c258){return _0x151bb4+_0x10c258;}};let _0x52dec7=![];function _0x2e59b2(_0x409d97){const _0x41696c=_0x1c8027;switch(_0x409d97){case _0x43e370[_0x41696c(0x1d4)]:testsFailed+=0x1;break;case _0x43e370['aeUQt']:testsPassed+=0x1;break;case _0x43e370[_0x41696c(0x1bd)]:testsSkipped+=0x1;break;case _0x43e370['tvIfI']:testsPending+=0x1;break;case _0x43e370[_0x41696c(0x20f)]:testsUndefined+=0x1;break;case _0x43e370['uTFMC']:testsUnknown+=0x1;break;case _0x43e370[_0x41696c(0x1d9)]:testsAmbiguous+=0x1;break;default:break;}}_0x43e370[_0x1c8027(0x201)](global[_0x1c8027(0x1c1)],undefined)&&console[_0x1c8027(0x1e7)](_0x43e370[_0x1c8027(0x1c7)](_0x43e370[_0x1c8027(0x211)]('\x0a',global['__platform']),'\x0a'));let _0x2a4a57=![];if(_0x43e370[_0x1c8027(0x1f9)](typeof this[_0x1c8027(0x210)][_0x1c8027(0x1d1)],_0x43e370[_0x1c8027(0x1df)])){var _0x1317f1=this[_0x1c8027(0x210)][_0x1c8027(0x1d1)](_0x4f869f['sourceLocation']),_0x9d9071=_0x1317f1['pickle'],_0x44d43d=_0x1317f1['testCase'];console[_0x1c8027(0x1e7)](_0x43e370['qpmqc']('\x20\x20',_0x9d9071[_0x1c8027(0x1f2)]));var _0x5f0bca=(0x0,pickleParser['getStepLineToPickledStepMap'])(_0x9d9071);_0x44d43d['steps'][_0x1c8027(0x1f1)](function(_0x183498){const _0x2cda4f=_0x1c8027;if(_0x183498[_0x2cda4f(0x1e9)]&&_0x183498[_0x2cda4f(0x1dc)])_0x52dec7=!![],console[_0x2cda4f(0x1e7)](_0x43e370[_0x2cda4f(0x1e5)](_0x43e370[_0x2cda4f(0x1cd)](_0x43e370['krtFC'](_0x43e370[_0x2cda4f(0x1ed)],_0x5f0bca[_0x183498['sourceLocation'][_0x2cda4f(0x202)]][_0x2cda4f(0x203)]),_0x43e370[_0x2cda4f(0x1d7)]),_0x183498['result']['status'][_0x2cda4f(0x1e3)]())),_0x43e370['NShXL'](_0x2e59b2,_0x183498[_0x2cda4f(0x216)][_0x2cda4f(0x20e)][_0x2cda4f(0x1e3)]());else _0x183498[_0x2cda4f(0x1e9)]&&(!_0x183498['actionLocation'][_0x2cda4f(0x1c5)][_0x2cda4f(0x215)](_0x43e370[_0x2cda4f(0x1e2)])&&(_0x43e370[_0x2cda4f(0x1c3)](_0x2e59b2,_0x183498[_0x2cda4f(0x216)][_0x2cda4f(0x20e)][_0x2cda4f(0x1e3)]()),_0x52dec7?console[_0x2cda4f(0x1e7)](_0x43e370['ZABlM'](_0x43e370['CWLXX'],_0x183498[_0x2cda4f(0x216)][_0x2cda4f(0x20e)]['toUpperCase']())):console[_0x2cda4f(0x1e7)](_0x43e370[_0x2cda4f(0x213)](_0x43e370[_0x2cda4f(0x1ea)],_0x183498[_0x2cda4f(0x216)][_0x2cda4f(0x20e)][_0x2cda4f(0x1e3)]()))));if(_0x43e370['sUieY'](_0x183498['result']['status'][_0x2cda4f(0x1e3)](),_0x43e370[_0x2cda4f(0x1d4)])){const _0x3a065b=_0x43e370[_0x2cda4f(0x1c6)](nestedKeyValue,_0x183498,[_0x43e370[_0x2cda4f(0x1c4)],_0x43e370[_0x2cda4f(0x1c2)],_0x43e370[_0x2cda4f(0x1cc)]]);_0x3a065b&&(testsErrorMessage[_0x9d9071[_0x2cda4f(0x1f2)]]=_0x3a065b,console[_0x2cda4f(0x1e7)](_0x43e370[_0x2cda4f(0x1ec)](_0x3a065b,'\x0a'))),_0x2a4a57=!![];}});}else{const _0x2a2775=this[_0x1c8027(0x210)][_0x1c8027(0x1c0)](_0x4f869f);console[_0x1c8027(0x1e7)](_0x43e370[_0x1c8027(0x1f0)](_0x43e370[_0x1c8027(0x1d8)](_0x43e370[_0x1c8027(0x1e4)]('\x20\x20',_0x2a2775[_0x1c8027(0x1f6)][_0x1c8027(0x1fb)][_0x1c8027(0x1f2)]),_0x43e370['YaxVa']),_0x2a2775['pickle'][_0x1c8027(0x1f2)]));const _0x3cd8d4=(0x0,pickleParser[_0x1c8027(0x1f3)])(_0x2a2775[_0x1c8027(0x1f5)]),_0x11da9e=_0x2a2775['testCase']['steps'],_0x18d0c0=_0x2a2775[_0x1c8027(0x1d6)],_0x515148=_0x11da9e[_0x1c8027(0x1e6)];for(let _0x19cd3f=0x0;_0x43e370[_0x1c8027(0x1d0)](_0x19cd3f,_0x515148);_0x19cd3f++){const _0x4fba23=_0x11da9e[_0x19cd3f];if(_0x4fba23[_0x1c8027(0x1e9)]&&_0x4fba23[_0x1c8027(0x1dc)])_0x52dec7=!![],console[_0x1c8027(0x1e7)](_0x43e370['ymGyQ'](_0x43e370[_0x1c8027(0x213)](_0x43e370[_0x1c8027(0x200)](_0x43e370['Lplpw'],_0x3cd8d4[_0x4fba23['sourceLocation']['line']][_0x1c8027(0x203)]),_0x43e370[_0x1c8027(0x1d7)]),_0x18d0c0[_0x19cd3f][_0x1c8027(0x20e)][_0x1c8027(0x1e3)]())),_0x43e370[_0x1c8027(0x1cb)](_0x2e59b2,_0x18d0c0[_0x19cd3f][_0x1c8027(0x20e)][_0x1c8027(0x1e3)]());else _0x4fba23[_0x1c8027(0x1e9)]&&(!_0x4fba23[_0x1c8027(0x1e9)][_0x1c8027(0x1c5)][_0x1c8027(0x215)](_0x43e370[_0x1c8027(0x1e2)])&&(_0x43e370['NShXL'](_0x2e59b2,_0x18d0c0[_0x19cd3f]['status'][_0x1c8027(0x1e3)]()),_0x52dec7?console[_0x1c8027(0x1e7)](_0x43e370['uBMLd'](_0x43e370['CWLXX'],_0x18d0c0[_0x19cd3f][_0x1c8027(0x20e)]['toUpperCase']())):console[_0x1c8027(0x1e7)](_0x43e370[_0x1c8027(0x211)](_0x43e370[_0x1c8027(0x1ea)],_0x18d0c0[_0x19cd3f][_0x1c8027(0x20e)][_0x1c8027(0x1e3)]()))));if(_0x43e370['OriZn'](_0x18d0c0[_0x19cd3f][_0x1c8027(0x20e)]['toUpperCase'](),_0x43e370[_0x1c8027(0x1d4)])){_0x2a4a57=!![];const _0x40e273=_0x43e370[_0x1c8027(0x1c6)](nestedKeyValue,_0x18d0c0[_0x19cd3f],[_0x43e370[_0x1c8027(0x1c2)],_0x43e370['PmyGo']]);_0x40e273&&(testsErrorMessage[_0x43e370[_0x1c8027(0x1d8)](_0x43e370[_0x1c8027(0x1e5)](_0x2a2775['gherkinDocument']['feature'][_0x1c8027(0x1f2)],_0x43e370[_0x1c8027(0x1d7)]),_0x2a2775[_0x1c8027(0x1f5)]['name'])]=_0x40e273,console[_0x1c8027(0x1e7)](_0x43e370['oKEeM'](_0x40e273,'\x0a')));}}}_0x2a4a57&&(testSuitesFailed+=0x1),console['log']('\x0a');}}function a7_0x3100(){const _0x3de6a8=['ZABlM','AMBIGUOUS','mqULV','../../../helpers/helper','includes','result','gfdov','CONFIG','gpCjc','getTestCaseAttempt','__platform','FWAoU','NShXL','IMMZk','uri','sZYUC','abrAJ','537114zxLSer','cucumber-js/test_old.setup.js','SENQu','BqThS','PmyGo','GgZlR','9210lPzNkA','eventBroadcaster','lRSPY','getTestCaseData','test-run-started','parse','mnmxH','FAILED','stepResults','YaxVa','ySydB','sUqTZ','SKIPPED','exception','sourceLocation','\x20\x20\x20\x20','10rUQcfE','pywaG','UNDEFINED','logTestCaseFinished','jcDnd','toUpperCase','NiudC','zgacV','length','log','exports','actionLocation','tXHwv','yzCoy','rSRHV','Lplpw','\x20\x20\x20\x20BEFORE\x20-\x20','test-case-started','aefOG','forEach','name','getStepLineToPickledStepMap','cucumber/lib/formatter/helpers/pickle_parser.js','pickle','gherkinDocument','env','1091584Aasqfg','qWyAi','Executing\x20tests\x20for\x20','feature','40GaWTGa','test-case-finished','PASSED','cucumber','JplAe','TDQYN','line','text','1080992gNhKFR','pdzol','18646NjLvsz','undefined','PENDING','gShWp','288027DIMRSC','125314uUlQfJ','\x20-\x20','6pwmUVV','status','oUAuB','eventDataCollector'];a7_0x3100=function(){return _0x3de6a8;};return a7_0x3100();}function a7_0x2836(_0x3efdb5,_0x48df40){const _0x3100df=a7_0x3100();return a7_0x2836=function(_0x283634,_0x13e997){_0x283634=_0x283634-0x1bd;let _0x1dd0b4=_0x3100df[_0x283634];return _0x1dd0b4;},a7_0x2836(_0x3efdb5,_0x48df40);}module[a7_0x4aacd6(0x1e8)]=BrowserstackFormatter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0x50ed7a=a8_0x1aee;(function(_0x23a675,_0x37720a){const _0x45fc2b=a8_0x1aee,_0xbd519e=_0x23a675();while(!![]){try{const _0xd035c7=parseInt(_0x45fc2b(0xc0))/0x1+parseInt(_0x45fc2b(0x144))/0x2+-parseInt(_0x45fc2b(0x12b))/0x3*(-parseInt(_0x45fc2b(0xbb))/0x4)+parseInt(_0x45fc2b(0xdc))/0x5+-parseInt(_0x45fc2b(0x10e))/0x6+parseInt(_0x45fc2b(0xc2))/0x7+-parseInt(_0x45fc2b(0xc8))/0x8*(parseInt(_0x45fc2b(0x102))/0x9);if(_0xd035c7===_0x37720a)break;else _0xbd519e['push'](_0xbd519e['shift']());}catch(_0x18d28c){_0xbd519e['push'](_0xbd519e['shift']());}}}(a8_0x229a,0xc7710));const path=require(a8_0x50ed7a(0xff)),util=require('util'),hooksMap={},SessionHandler=require(a8_0x50ed7a(0x12f)),testhubUtils=require(a8_0x50ed7a(0xd4)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a8_0x50ed7a(0xaa)),logger=require(a8_0x50ed7a(0x127))['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x50ed7a(0x118)),{FRAMEWORKS}=require(a8_0x50ed7a(0xec)),TestDetails=require(a8_0x50ed7a(0x124));this[a8_0x50ed7a(0xe3)]=![],this[a8_0x50ed7a(0xac)]=null;function a8_0x1aee(_0x1a70f6,_0x14f785){const _0x229a3d=a8_0x229a();return a8_0x1aee=function(_0x1aee84,_0x41172b){_0x1aee84=_0x1aee84-0xa8;let _0x5c03b0=_0x229a3d[_0x1aee84];return _0x5c03b0;},a8_0x1aee(_0x1a70f6,_0x14f785);}function a8_0x229a(){const _0x184864=['933668YFIPaE','configureGit','mRpvy','UpKHX','AFTER_EACH','554475ZtuETF','find','5839932asCWIp','uuid','uvwIM','forEach','RYBkb','tableBody','8blZQPT','EonPY','failureType','failure_type','SWZqp','BEFORE_EACH','scenario','strip-ansi','oZitD','gENFq','sourceReference','failure','../../helpers/testhub/utils','Yoljw','unknown','dhfnc','woWOd','toLowerCase','children','getHooksListForTest','3970465WrOMlK','uri','map','getHookResult','hook_run','aWsBy','getCucumberHookType','_gitConfigured','status','sKSHG','testStepResult','kvKDb','getScenarioExamples','finished_at','split','iRWYI','../../helpers/test-observability/constants.js','idtbu','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','pwAho','pickleStepId','message','nvzwR','filter','value','VtUwz','rgObp','getHookRunEventData','PRCFr','cells','HqjmB','toISOString','DPAxl','root','cucumber','path','result','Exception\x20in\x20getHookRunEventData:\x20','18125082bApPuY','Exception\x20in\x20sendHook:\x20','rNteU','AvECJ','uploadEventData','includes','LoOaj','tags','examples','timestamp','javascript','fJaei','3688692IAzvdR','iIEEG','getTestUUID','AssertionError','sendHook','name','match','UxhCb','IOMff','pAJMQ','../../helpers/test-observability/error-handler','XpEzL','hookId','TDjAw','every','dIHLr','lJgtq','jvxFg','pending','UnhandledError','nanos','rule','../playwright/reporter/test-details','REBQE','ZGWaF','../../helpers/logger','failureData','skipped','pXHPV','15CtjBBk','BkAHq','ZHNCk','KmEfL','../../helpers/test-observability/sessionHandler','hook','testStepFinished','exception','feature','push','astNodeIds','relative','debug','duration_in_ms','RKbnt','flatMap','CUCUMBER','1|2|3|4|0','SewcB','format','testCaseFinished','event_type','updateTestStatus','testCaseStartedId','fCeqT','191326ThFQHh','FAILED','qhkNZ','test','HookRunStarted','PhWNQ','SuJIr','YdKIz','hooks','../../helpers/helper','toString','_gitConfigPath','izJzG','failed','WiSES','length','failure_data','ExZbN','HookRunFinished','sendTestRunEventForCucumber','mGWno','SKIPPED','tagExpression','GsdcP','failure_reason','skgmv'];a8_0x229a=function(){return _0x184864;};return a8_0x229a();}class TestObservabilityReporter{async[a8_0x50ed7a(0xb4)](_0x5dd336,_0x142d9e,_0x42eea,_0x119cd1,_0x217973){const _0x5abac6=a8_0x50ed7a,_0x2b62e={'pwAho':function(_0x3fc4e5,_0x56cc97){return _0x3fc4e5===_0x56cc97;},'mGWno':_0x5abac6(0x145),'UpKHX':_0x5abac6(0xae),'Yoljw':function(_0x5125a2,_0x55079f){return _0x5125a2===_0x55079f;},'qhkNZ':_0x5abac6(0xb6),'YdKIz':_0x5abac6(0x129),'PRCFr':function(_0x470848,_0x3adb27){return _0x470848||_0x3adb27;},'mRpvy':function(_0x3d1565,_0x312a01){return _0x3d1565+_0x312a01;},'IOMff':_0x5abac6(0x147),'Oiylm':_0x5abac6(0x10c),'SewcB':_0x5abac6(0xfe),'idtbu':'pending','fJaei':'passed','XpEzL':function(_0x1475ca,_0x341695){return _0x1475ca!==_0x341695;},'SuJIr':function(_0x366abf,_0x5b5ef){return _0x366abf/_0x5b5ef;},'rgObp':function(_0x501bc7,_0x3d4ac3){return _0x501bc7===_0x3d4ac3;},'BkAHq':_0x5abac6(0xcf),'ZHNCk':function(_0x2a7a24,_0x459c4b){return _0x2a7a24(_0x459c4b);},'bxFXg':_0x5abac6(0xd6),'UxhCb':function(_0x33d76d,_0x31720a){return _0x33d76d(_0x31720a);},'iRWYI':_0x5abac6(0x111),'LoOaj':_0x5abac6(0x121),'iIEEG':'TestRunFinished','nvzwR':function(_0x476508,_0x2873df){return _0x476508>_0x2873df;}},{feature:_0x2b165c,scenario:_0x4a7c70,steps:_0x42961c,uuid:_0x479e01,startedAt:_0x2823b8,finishedAt:_0x5778eb}=_0x2b62e[_0x5abac6(0xf8)](_0x217973,{}),_0x456ba7=this[_0x5abac6(0xe8)](_0x142d9e,_0x42eea);await this[_0x5abac6(0xbc)]();const _0x4726cb=_0x456ba7?_0x2b62e[_0x5abac6(0xbd)](_0x2b62e['mRpvy'](_0x2b62e[_0x5abac6(0xbd)](_0x42eea[_0x5abac6(0x113)],'\x20('),_0x456ba7['join'](',\x20')),')'):_0x42eea[_0x5abac6(0x113)],_0x6ee6ce={'uuid':_0x479e01,'started_at':_0x2823b8,'finished_at':_0x5778eb,'type':_0x2b62e[_0x5abac6(0x116)],'body':{'lang':_0x2b62e['Oiylm'],'code':null},'name':_0x4726cb,'scopes':[_0x2b165c&&_0x2b165c['name']?_0x2b165c[_0x5abac6(0x113)]:''],'tags':_0x42eea[_0x5abac6(0x109)]?_0x42eea[_0x5abac6(0x109)][_0x5abac6(0xde)](({name:_0x40a033})=>_0x40a033):[],'file_name':_0x42eea['uri'],'location':_0x42eea[_0x5abac6(0xdd)],'vc_filepath':this[_0x5abac6(0xac)]&&_0x42eea[_0x5abac6(0xdd)]?path['relative'](this[_0x5abac6(0xac)],_0x42eea[_0x5abac6(0xdd)]):null,'framework':_0x2b62e[_0x5abac6(0x13d)],'result':_0x2b62e[_0x5abac6(0xed)],'meta':{'feature':_0x2b165c,'scenario':_0x4a7c70,'steps':_0x42961c,'examples':_0x456ba7},'customRerunParam':{'rerun_name':_0x4726cb}};if(_0x5dd336[_0x5abac6(0x13f)]&&_0x42961c){const _0x17fc2e=_0x5dd336['testCaseFinished'];let _0x33b485=_0x2b62e[_0x5abac6(0x10d)];_0x42961c[_0x5abac6(0x11c)](_0x210f12=>{const _0x177625=_0x5abac6;if(_0x2b62e[_0x177625(0xef)](_0x210f12[_0x177625(0x100)],_0x2b62e[_0x177625(0xb5)]))return _0x33b485=_0x2b62e[_0x177625(0xbe)],_0x17fc2e[_0x177625(0xd3)]=_0x210f12['failure'],_0x17fc2e[_0x177625(0xca)]=_0x210f12[_0x177625(0xca)],![];else{if(_0x2b62e[_0x177625(0xd5)](_0x210f12[_0x177625(0x100)],_0x2b62e[_0x177625(0x146)]))return _0x33b485=_0x2b62e[_0x177625(0xa8)],![];}return!![];}),_0x6ee6ce[_0x5abac6(0xe9)]=new Date()[_0x5abac6(0xfb)](),_0x6ee6ce['result']=_0x33b485;_0x17fc2e[_0x5abac6(0x10b)]&&_0x2b62e[_0x5abac6(0x119)](_0x17fc2e['timestamp'][_0x5abac6(0x122)],undefined)?_0x6ee6ce[_0x5abac6(0x138)]=_0x2b62e[_0x5abac6(0x14a)](_0x17fc2e['timestamp'][_0x5abac6(0x122)],0xf4240):_0x6ee6ce[_0x5abac6(0x138)]=undefined;if(_0x2b62e[_0x5abac6(0xf6)](_0x33b485,_0x2b62e[_0x5abac6(0xbe)])){const {default:_0x36faa6}=await import(_0x2b62e[_0x5abac6(0x12c)]);_0x6ee6ce[_0x5abac6(0xd3)]=[{'backtrace':[_0x17fc2e[_0x5abac6(0xd3)]?_0x2b62e[_0x5abac6(0x12d)](_0x36faa6,_0x17fc2e[_0x5abac6(0xd3)]):_0x2b62e['bxFXg']]}],_0x6ee6ce['failure_reason']=_0x17fc2e[_0x5abac6(0xd3)]?_0x2b62e[_0x5abac6(0x115)](_0x36faa6,_0x17fc2e[_0x5abac6(0xd3)]):_0x17fc2e[_0x5abac6(0xf1)],_0x17fc2e[_0x5abac6(0xca)]&&(_0x6ee6ce[_0x5abac6(0xcb)]=_0x17fc2e[_0x5abac6(0xca)][_0x5abac6(0x114)](/AssertError/)?_0x2b62e[_0x5abac6(0xeb)]:_0x2b62e[_0x5abac6(0x108)]);}}if(_0x2b62e[_0x5abac6(0xf6)](_0x119cd1,_0x2b62e[_0x5abac6(0x10f)])){const _0x264e89=this[_0x5abac6(0xdb)](_0x5dd336[_0x5abac6(0x13f)][_0x5abac6(0x142)]);_0x264e89&&_0x2b62e[_0x5abac6(0xf2)](_0x264e89[_0x5abac6(0xb0)],0x0)&&(_0x6ee6ce[_0x5abac6(0xa9)]=_0x264e89,this[_0x5abac6(0x141)](_0x5dd336[_0x5abac6(0x13f)][_0x5abac6(0x142)],_0x6ee6ce));}testhubUtils['appendTesthubParams'](_0x6ee6ce,_0x119cd1,'',FRAMEWORKS[_0x5abac6(0x13b)]);const _0x2bf2a7={};_0x2bf2a7[_0x5abac6(0x140)]=_0x119cd1,_0x2bf2a7['test_run']=_0x6ee6ce;const _0x3852e9=_0x2bf2a7;await SessionHandler['uploadEventData'](_0x3852e9);}[a8_0x50ed7a(0x141)](_0x1a3a90,_0x1ab3d8){const _0x2e2a3c=a8_0x50ed7a,_0xdb8b82={};_0xdb8b82['HqjmB']=function(_0x297915,_0x4a5d47){return _0x297915 instanceof _0x4a5d47;},_0xdb8b82['KmEfL']=function(_0x131bb0,_0x41bc43){return _0x131bb0===_0x41bc43;},_0xdb8b82['izJzG']=_0x2e2a3c(0xae),_0xdb8b82[_0x2e2a3c(0xe1)]=_0x2e2a3c(0x13c),_0xdb8b82[_0x2e2a3c(0xe7)]=function(_0x4440a5,_0x4243f7){return _0x4440a5 instanceof _0x4243f7;};const _0x4364df=_0xdb8b82,_0x4ea5b3=hooksMap[_0x1a3a90];if(_0x4364df[_0x2e2a3c(0xfa)](_0x4ea5b3,Array))for(const _0x40c6e7 of _0x4ea5b3){if(_0x4364df[_0x2e2a3c(0x12e)](_0x40c6e7[_0x2e2a3c(0x100)],_0x4364df[_0x2e2a3c(0xad)])){const _0x418699=_0x4364df[_0x2e2a3c(0xe1)][_0x2e2a3c(0xea)]('|');let _0x5d803c=0x0;while(!![]){switch(_0x418699[_0x5d803c++]){case'0':return _0x1ab3d8;case'1':_0x1ab3d8[_0x2e2a3c(0x100)]=_0x40c6e7[_0x2e2a3c(0x100)];continue;case'2':_0x1ab3d8['failure']=_0x40c6e7['failure_data'];continue;case'3':_0x1ab3d8[_0x2e2a3c(0xb9)]=_0x4364df[_0x2e2a3c(0xe7)](_0x40c6e7[_0x2e2a3c(0xb1)],Array)?_0x40c6e7[_0x2e2a3c(0xb1)][0x0]['backtrace']['join']('\x0a'):'';continue;case'4':_0x1ab3d8['failure_type']=_0x40c6e7[_0x2e2a3c(0xcb)];continue;}break;}}};}[a8_0x50ed7a(0xdb)](_0x59ec78){const _0x584c2a=a8_0x50ed7a;if(hooksMap[_0x59ec78])return hooksMap[_0x59ec78][_0x584c2a(0xde)](_0x2394b5=>_0x2394b5[_0x584c2a(0xc3)]);return[];}['getHookRunEventData'](_0x4c39f5,_0x410900,_0x514547,_0x55ca82,_0x5d2d0a,_0x2b4a6e){const _0xa75799=a8_0x50ed7a,_0x302446={'VtUwz':function(_0x140d0b,_0xaaa4a2){return _0x140d0b===_0xaaa4a2;},'EonPY':_0xa75799(0xb3),'woWOd':function(_0x536898,_0x505540,_0x4a44f8){return _0x536898(_0x505540,_0x4a44f8);},'EgiHb':_0xa75799(0xd2),'uvwIM':_0xa75799(0xdd),'AvECJ':_0xa75799(0x120),'jvxFg':_0xa75799(0x130),'pXHPV':_0xa75799(0x10c),'xfJOW':function(_0x4b287d,_0x56976e,_0x45cdd0){return _0x4b287d(_0x56976e,_0x45cdd0);},'ZGWaF':_0xa75799(0x133),'RKbnt':_0xa75799(0x113),'pAJMQ':_0xa75799(0xfe)};try{if(_0x302446[_0xa75799(0xf5)](_0x514547,_0x302446[_0xa75799(0xc9)])){const _0x4ae5d2=new Date()[_0xa75799(0xfb)](),_0x1f84ed=hooksMap[_0x410900];if(!_0x1f84ed)return;const _0x5b61ee=_0x1f84ed['find'](_0x1e1c22=>_0x1e1c22[_0xa75799(0xc3)]===_0x55ca82['id']);if(!_0x5b61ee)return;const _0x1f098f=this[_0xa75799(0xdf)](_0x4c39f5,_0x410900);_0x5b61ee[_0xa75799(0x100)]=_0x1f098f[_0xa75799(0xe4)],_0x5b61ee[_0xa75799(0xe9)]=_0x4ae5d2,_0x5b61ee[_0xa75799(0xcb)]=_0x1f098f[_0xa75799(0xca)];const _0x39e30a={};return _0x39e30a['backtrace']=_0x1f098f[_0xa75799(0x128)],_0x5b61ee[_0xa75799(0xb1)]=[_0x39e30a],_0x5b61ee;}const _0x1d433b=TestDetails[_0xa75799(0x110)](_0x410900),_0x3f4979=_0x4c39f5[_0xa75799(0xa9)][_0xa75799(0xc1)](_0x31389b=>_0x31389b['id']===_0x55ca82[_0xa75799(0x11a)]),_0x1ebc08=_0x302446[_0xa75799(0xd8)](nestedKeyValue,_0x3f4979,[_0x302446['EgiHb'],_0x302446[_0xa75799(0xc4)]]),_0x164152=new Date()[_0xa75799(0xfb)](),_0x3693a4=_0x302446[_0xa75799(0x105)],_0x21ace5=_0x3f4979[_0xa75799(0xb7)]?_0x3f4979[_0xa75799(0xb7)][_0xa75799(0xea)]('\x20')[_0xa75799(0xf3)](_0x233535=>_0x233535[_0xa75799(0x107)]('@')):[],_0x3cebfb={'uuid':_0x55ca82['id'],'type':_0x302446[_0xa75799(0x11f)],'hook_type':_0x2b4a6e,'name':_0x3f4979['name'],'body':{'lang':_0x302446[_0xa75799(0x12a)],'code':null},'tags':_0x21ace5,'test_run_id':_0x1d433b,'scope':_0x302446['xfJOW'](nestedKeyValue,_0x5d2d0a,[_0x302446[_0xa75799(0x126)],_0x302446[_0xa75799(0x139)]]),'scopes':[_0x302446['xfJOW'](nestedKeyValue,_0x5d2d0a,[_0x302446[_0xa75799(0x126)],_0x302446[_0xa75799(0x139)]])||''],'file_name':_0x1ebc08,'location':_0x1ebc08,'vc_filepath':this['_gitConfigPath']?path[_0xa75799(0x136)](this[_0xa75799(0xac)],_0x1ebc08):null,'result':_0x3693a4,'started_at':_0x164152,'framework':_0x302446[_0xa75799(0x117)]};return _0x3cebfb;}catch(_0x57b713){logger['debug'](_0xa75799(0x101)+util['format'](_0x57b713)+'\x20');}}async[a8_0x50ed7a(0x112)](_0x543059,_0x1e5938,_0x562366,_0xc3411b,_0x1f1a2b,_0x6a99a5){const _0x20949f=a8_0x50ed7a,_0x9aa9ca={'SWZqp':function(_0x387dc5,_0x59b985){return _0x387dc5===_0x59b985;},'ifoQx':_0x20949f(0x148),'sKSHG':function(_0x248a98,_0x3401e1,_0x53c222){return _0x248a98(_0x3401e1,_0x53c222);},'oZitD':_0x20949f(0xd2),'RYBkb':_0x20949f(0xdd),'dIHLr':_0x20949f(0xee)};try{const _0x5a96d6=_0xc3411b[_0x20949f(0xc1)](_0x4a3863=>_0x4a3863['id']===_0x1f1a2b);if(!_0x5a96d6[_0x20949f(0x11a)])return;const _0x498207=this[_0x20949f(0xe2)](_0xc3411b,_0x5a96d6),_0x41a461=this['getHookRunEventData'](_0x543059,_0x1e5938,_0x562366,_0x5a96d6,_0x6a99a5,_0x498207);if(!_0x41a461)return;_0x9aa9ca[_0x20949f(0xcc)](_0x562366,_0x9aa9ca['ifoQx'])&&(hooksMap[_0x1e5938]?hooksMap[_0x1e5938][_0x20949f(0x134)](_0x41a461):hooksMap[_0x1e5938]=[_0x41a461]);const _0x4468ae=_0x543059[_0x20949f(0xa9)][_0x20949f(0xc1)](_0x573a7c=>_0x573a7c['id']===_0x5a96d6[_0x20949f(0x11a)]),_0x3703db=_0x9aa9ca[_0x20949f(0xe5)](nestedKeyValue,_0x4468ae,[_0x9aa9ca[_0x20949f(0xd0)],_0x9aa9ca[_0x20949f(0xc6)]]);if(!_0x3703db)return;else{if(_0x3703db[_0x20949f(0x107)](_0x9aa9ca[_0x20949f(0x11d)]))return;}const _0xfd088a={};_0xfd088a[_0x20949f(0x140)]=_0x562366,_0xfd088a[_0x20949f(0xe0)]=_0x41a461;const _0xa3280a=_0xfd088a;await SessionHandler[_0x20949f(0x106)](_0xa3280a);}catch(_0x5f577a){logger[_0x20949f(0x137)](_0x20949f(0x103)+util[_0x20949f(0x13e)](_0x5f577a)+'\x20');}}[a8_0x50ed7a(0xdf)](_0x13fd96,_0x19869b){const _0x3cfecc=a8_0x50ed7a,_0xabd9c1={};_0xabd9c1[_0x3cfecc(0xb2)]=function(_0x26fa91,_0x3ee85d){return _0x26fa91===_0x3ee85d;},_0xabd9c1[_0x3cfecc(0x143)]=_0x3cfecc(0xae),_0xabd9c1[_0x3cfecc(0xd1)]=function(_0x315ef8,_0x2f87a5){return _0x315ef8===_0x2f87a5;},_0xabd9c1['REBQE']='UnhandledError',_0xabd9c1[_0x3cfecc(0xaf)]=_0x3cfecc(0x111),_0xabd9c1['DPAxl']=function(_0x31c3af,_0x29f707){return _0x31c3af||_0x29f707;};const _0x1f2441=_0xabd9c1,_0x58f083=_0x13fd96[_0x3cfecc(0x131)][_0x19869b][_0x3cfecc(0xe6)];let _0x5c1ce5,_0x314529;return _0x58f083&&_0x1f2441[_0x3cfecc(0xb2)](_0x58f083[_0x3cfecc(0xe4)][_0x3cfecc(0xab)]()[_0x3cfecc(0xd9)](),_0x1f2441['fCeqT'])&&(_0x5c1ce5=_0x1f2441[_0x3cfecc(0xb2)](_0x58f083[_0x3cfecc(0x132)],undefined)?_0x58f083[_0x3cfecc(0xf1)]:_0x58f083[_0x3cfecc(0x132)][_0x3cfecc(0xf1)],_0x314529=_0x1f2441[_0x3cfecc(0xd1)](_0x58f083[_0x3cfecc(0x132)],undefined)?_0x1f2441[_0x3cfecc(0x125)]:_0x58f083[_0x3cfecc(0xf1)][_0x3cfecc(0x114)](/Assert/)?_0x1f2441[_0x3cfecc(0xaf)]:_0x1f2441[_0x3cfecc(0x125)]),{'status':_0x58f083[_0x3cfecc(0xe4)][_0x3cfecc(0xd9)](),'failureType':_0x1f2441[_0x3cfecc(0xfc)](_0x314529,null),'failureData':!_0x5c1ce5?null:[_0x5c1ce5]};}[a8_0x50ed7a(0xe2)](_0x33d825,_0x2ba596){const _0x3e830e=a8_0x50ed7a,_0x24bd76={};_0x24bd76[_0x3e830e(0x104)]=function(_0x476d97,_0x425ecc){return _0x476d97===_0x425ecc;},_0x24bd76['QiYeA']=_0x3e830e(0xbf),_0x24bd76[_0x3e830e(0xb8)]=_0x3e830e(0xcd);const _0x4cd33b=_0x24bd76;let _0x19fdcc=![];for(const _0x3f5fef of _0x33d825){_0x3f5fef[_0x3e830e(0xf0)]&&(_0x19fdcc=!![]);if(_0x4cd33b[_0x3e830e(0x104)](_0x2ba596['id'],_0x3f5fef['id']))return _0x19fdcc?_0x4cd33b['QiYeA']:_0x4cd33b[_0x3e830e(0xb8)];}}[a8_0x50ed7a(0xe8)]=(_0x29ab11,_0x57748b)=>{const _0x562f39=a8_0x50ed7a,_0x3f18db={};_0x3f18db[_0x562f39(0x11e)]=function(_0x1c7d66,_0x1e357f){return _0x1c7d66===_0x1e357f;},_0x3f18db[_0x562f39(0x149)]=function(_0xd35627,_0x35d03b){return _0xd35627===_0x35d03b;},_0x3f18db[_0x562f39(0xd7)]=function(_0x2027da,_0x2b79fe){return _0x2027da>_0x2b79fe;};const _0x38a6a6=_0x3f18db;if(!(_0x57748b[_0x562f39(0x135)]&&_0x38a6a6[_0x562f39(0xd7)](_0x57748b['astNodeIds'][_0x562f39(0xb0)],0x1)))return;const _0x25f8e7=_0x57748b[_0x562f39(0x135)][0x0],_0x286ad9=_0x57748b[_0x562f39(0x135)][0x1],_0xfd6a4b=_0x29ab11[_0x562f39(0x133)]&&_0x29ab11[_0x562f39(0x133)][_0x562f39(0xda)]?_0x29ab11['feature'][_0x562f39(0xda)]:undefined;let _0x1e0437=[];_0xfd6a4b&&_0xfd6a4b[_0x562f39(0xc5)](_0x53cab3=>{const _0xeda3d0=_0x562f39,_0x51d980={'TDjAw':function(_0x2bfa4f,_0x56e78d){const _0x50cb76=a8_0x1aee;return _0x38a6a6[_0x50cb76(0x11e)](_0x2bfa4f,_0x56e78d);}};if(_0x53cab3[_0xeda3d0(0x123)])_0x53cab3[_0xeda3d0(0x123)][_0xeda3d0(0xda)][_0xeda3d0(0xc5)](_0x3b8a60=>{const _0x3ad597=_0xeda3d0;if(_0x3b8a60[_0x3ad597(0xce)]&&_0x51d980[_0x3ad597(0x11b)](_0x3b8a60[_0x3ad597(0xce)]['id'],_0x25f8e7)&&_0x3b8a60[_0x3ad597(0xce)][_0x3ad597(0x10a)]){const _0x5dff21=_0x3b8a60[_0x3ad597(0xce)][_0x3ad597(0x10a)]['flatMap'](_0x1b6964=>_0x1b6964[_0x3ad597(0xc7)])[_0x3ad597(0xc1)](_0x39ac00=>_0x39ac00['id']===_0x286ad9);let _0x46a112;_0x5dff21&&_0x5dff21[_0x3ad597(0xf9)]?_0x46a112=_0x5dff21[_0x3ad597(0xf9)]['map'](_0x669b8=>_0x669b8['value']):_0x46a112=[],_0x46a112&&(_0x1e0437=_0x46a112);}});else{if(_0x53cab3[_0xeda3d0(0xce)]&&_0x38a6a6[_0xeda3d0(0x149)](_0x53cab3[_0xeda3d0(0xce)]['id'],_0x25f8e7)&&_0x53cab3[_0xeda3d0(0xce)][_0xeda3d0(0x10a)]){const _0x4874d5=_0x53cab3[_0xeda3d0(0xce)][_0xeda3d0(0x10a)][_0xeda3d0(0x13a)](_0x21a650=>_0x21a650[_0xeda3d0(0xc7)])['find'](_0x50e984=>_0x50e984['id']===_0x286ad9);let _0x4a6da9;_0x4874d5&&_0x4874d5['cells']?_0x4a6da9=_0x4874d5[_0xeda3d0(0xf9)][_0xeda3d0(0xde)](_0x13564c=>_0x13564c[_0xeda3d0(0xf4)]):_0x4a6da9=[],_0x4a6da9&&(_0x1e0437=_0x4a6da9);}}});if(_0x1e0437[_0x562f39(0xb0)])return _0x1e0437;return;};async[a8_0x50ed7a(0xbc)](){const _0x118dcf=a8_0x50ed7a,_0x75d049={'skgmv':function(_0x4f7089){return _0x4f7089();}};if(this[_0x118dcf(0xe3)])return this[_0x118dcf(0xac)];const _0x166c9e=await _0x75d049[_0x118dcf(0xba)](getGitMetaData);_0x166c9e&&(this['_gitConfigPath']=_0x166c9e[_0x118dcf(0xfd)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x50ed7a(0xbc),a8_0x50ed7a(0xe8),a8_0x50ed7a(0xe2),a8_0x50ed7a(0xdf),a8_0x50ed7a(0x112),a8_0x50ed7a(0xf7),'sendTestRunEventForCucumber']);
|
|
1
|
+
const a8_0x1321fd=a8_0x5631;(function(_0x1505e1,_0x488c82){const _0x1f96e7=a8_0x5631,_0x92af18=_0x1505e1();while(!![]){try{const _0x4995a9=-parseInt(_0x1f96e7(0x1ad))/0x1+parseInt(_0x1f96e7(0x179))/0x2*(parseInt(_0x1f96e7(0x1b9))/0x3)+-parseInt(_0x1f96e7(0x144))/0x4+-parseInt(_0x1f96e7(0x15a))/0x5+-parseInt(_0x1f96e7(0x1a6))/0x6*(parseInt(_0x1f96e7(0x1aa))/0x7)+parseInt(_0x1f96e7(0x1b4))/0x8+parseInt(_0x1f96e7(0x186))/0x9;if(_0x4995a9===_0x488c82)break;else _0x92af18['push'](_0x92af18['shift']());}catch(_0x1322a8){_0x92af18['push'](_0x92af18['shift']());}}}(a8_0x3303,0xbaceb));const path=require(a8_0x1321fd(0x139)),util=require(a8_0x1321fd(0x18c)),hooksMap={},SessionHandler=require(a8_0x1321fd(0x168)),testhubUtils=require(a8_0x1321fd(0x16e)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a8_0x1321fd(0x193))['winstonLogger'],{o11yClassErrorHandler}=require(a8_0x1321fd(0x169)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a8_0x1321fd(0x149));function a8_0x3303(){const _0x3546e6=['635354obzbGF','toLowerCase','duration_in_ms','nanos','eqOJQ','xgWpP','javascript','7893720XKsXMC','KSwbc','flatMap','failureData','failure_type','606CeVDSa','split','failure_reason','YRFzO','root','getHookRunEventData','message','_gitConfigured','uri','toString','failure','AFTER_EACH','dZARi','rule','getHooksListForTest','ouyVX','find','pending','unknown','NRFia','debug','_gitConfigPath','path','tableBody','ozDxm','updateTestStatus','test_run','uvwLX','jwBVG','map','DBlgg','every','exports','19312AlekSX','backtrace','strip-ansi','gOcCo','event_type','../playwright/reporter/test-details','relative','feature','failed','configureGit','nZwFa','HookRunFinished','hAffN','SjJjD','hooks','name','hook','value','SgJXd','bSoAz','appendTesthubParams','weegN','908520NitWwD','timestamp','xcaZu','status','gOhHE','scenario','exAjS','examples','dDKju','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','passed','FKtwN','iGmJv','filter','../../helpers/test-observability/sessionHandler','../../helpers/test-observability/error-handler','children','result','cJVXO','IUEvT','../../helpers/testhub/utils','YLcHT','testCaseStartedId','CyrYA','TestRunFinished','Exception\x20in\x20getHookRunEventData:\x20','failure_data','jVGpE','wEmpR','lCwTt','gfoXg','3560obQcKw','getTestUUID','NxJqr','Jwmho','hookId','cucumber','cells','testStepResult','testStepFinished','astNodeIds','length','uTMIY','kkGYC','8189937qzHlht','getScenarioExamples','QEqLu','includes','tagExpression','testCaseFinished','util','toISOString','sendHook','getCucumberHookType','UnhandledError','tags','uuid','../../helpers/logger','join','BVfDb','BEFORE_EACH','VpmsX','bzbTd','HookRunStarted','hook_run','format','MLsvj','PTMro','AssertionError','failureType','tfgoh','skipped','JARKq','Mhmrc','rYsEY','Fszwg','222VNeiMK','sourceReference','match','getHookResult','126609SJmwUS','oGTaH','forEach'];a8_0x3303=function(){return _0x3546e6;};return a8_0x3303();}function a8_0x5631(_0x15aa05,_0x2a0c67){const _0x330330=a8_0x3303();return a8_0x5631=function(_0x563187,_0x5dec52){_0x563187=_0x563187-0x137;let _0x5c674f=_0x330330[_0x563187];return _0x5c674f;},a8_0x5631(_0x15aa05,_0x2a0c67);}this[a8_0x1321fd(0x1c0)]=![],this[a8_0x1321fd(0x138)]=null;class TestObservabilityReporter{async['sendTestRunEventForCucumber'](_0x23f486,_0x5ec460,_0x44cfbf,_0x5017bd,_0x3cf7f9){const _0x46c93b=a8_0x1321fd,_0x3a18e0={'VpmsX':function(_0x26b3a1,_0x54b4ea){return _0x26b3a1===_0x54b4ea;},'exAjS':'FAILED','MLsvj':_0x46c93b(0x14c),'NxJqr':'SKIPPED','kkGYC':_0x46c93b(0x1a1),'hWrJb':function(_0x137f0c,_0x263c93){return _0x137f0c||_0x263c93;},'YRFzO':function(_0x1ce8d5,_0x29265c){return _0x1ce8d5+_0x29265c;},'uTMIY':function(_0x293cc1,_0x3eb871){return _0x293cc1+_0x3eb871;},'SpNrP':'test','Jwmho':_0x46c93b(0x1b3),'KSwbc':_0x46c93b(0x17e),'dDKju':'pending','ouyVX':_0x46c93b(0x164),'DBlgg':function(_0x419692,_0x5c4292){return _0x419692!==_0x5c4292;},'FKtwN':function(_0x569dac,_0x32d305){return _0x569dac/_0x32d305;},'gnkLs':_0x46c93b(0x146),'IUEvT':function(_0x3b4f44,_0x4d6e5d){return _0x3b4f44(_0x4d6e5d);},'weegN':_0x46c93b(0x1cb),'vShnw':function(_0x5860e9,_0x3c26a6){return _0x5860e9(_0x3c26a6);},'dlrjI':_0x46c93b(0x19e),'hAffN':_0x46c93b(0x190),'ygVHn':function(_0x1d8e2c,_0x3f84d0){return _0x1d8e2c===_0x3f84d0;},'JARKq':_0x46c93b(0x172),'gOcCo':function(_0x5f584d,_0x11dbd5){return _0x5f584d>_0x11dbd5;}},{feature:_0x5bf806,scenario:_0x276c07,steps:_0xc96a7a,uuid:_0xaeda4e,startedAt:_0x5d212a,finishedAt:_0xe3f684}=_0x3a18e0['hWrJb'](_0x3cf7f9,{}),_0x4c55ff=this[_0x46c93b(0x187)](_0x5ec460,_0x44cfbf);await this[_0x46c93b(0x14d)]();const _0xf6ecef=_0x4c55ff?_0x3a18e0[_0x46c93b(0x1bc)](_0x3a18e0['uTMIY'](_0x3a18e0[_0x46c93b(0x184)](_0x44cfbf[_0x46c93b(0x153)],'\x20('),_0x4c55ff['join'](',\x20')),')'):_0x44cfbf['name'],_0x5235a6={'uuid':_0xaeda4e,'started_at':_0x5d212a,'finished_at':_0xe3f684,'type':_0x3a18e0['SpNrP'],'body':{'lang':_0x3a18e0[_0x46c93b(0x17c)],'code':null},'name':_0xf6ecef,'scopes':[_0x5bf806&&_0x5bf806[_0x46c93b(0x153)]?_0x5bf806[_0x46c93b(0x153)]:''],'tags':_0x44cfbf['tags']?_0x44cfbf[_0x46c93b(0x191)][_0x46c93b(0x140)](({name:_0x2eb7bf})=>_0x2eb7bf):[],'file_name':_0x44cfbf[_0x46c93b(0x1c1)],'location':_0x44cfbf[_0x46c93b(0x1c1)],'vc_filepath':this[_0x46c93b(0x138)]&&_0x44cfbf[_0x46c93b(0x1c1)]?path[_0x46c93b(0x14a)](this[_0x46c93b(0x138)],_0x44cfbf['uri']):null,'framework':_0x3a18e0[_0x46c93b(0x1b5)],'result':_0x3a18e0[_0x46c93b(0x162)],'meta':{'feature':_0x5bf806,'scenario':_0x276c07,'steps':_0xc96a7a,'examples':_0x4c55ff},'customRerunParam':{'rerun_name':_0xf6ecef}};if(_0x23f486[_0x46c93b(0x18b)]&&_0xc96a7a){const _0x916240=_0x23f486[_0x46c93b(0x18b)];let _0x5b74b5=_0x3a18e0[_0x46c93b(0x1c8)];_0xc96a7a[_0x46c93b(0x142)](_0x2a0de3=>{const _0x109972=_0x46c93b;if(_0x3a18e0['VpmsX'](_0x2a0de3['result'],_0x3a18e0[_0x109972(0x160)]))return _0x5b74b5=_0x3a18e0[_0x109972(0x19c)],_0x916240[_0x109972(0x1c3)]=_0x2a0de3[_0x109972(0x1c3)],_0x916240[_0x109972(0x19f)]=_0x2a0de3[_0x109972(0x19f)],![];else{if(_0x3a18e0[_0x109972(0x197)](_0x2a0de3[_0x109972(0x16b)],_0x3a18e0[_0x109972(0x17b)]))return _0x5b74b5=_0x3a18e0[_0x109972(0x185)],![];}return!![];}),_0x5235a6['finished_at']=new Date()[_0x46c93b(0x18d)](),_0x5235a6[_0x46c93b(0x16b)]=_0x5b74b5;_0x916240[_0x46c93b(0x15b)]&&_0x3a18e0[_0x46c93b(0x141)](_0x916240[_0x46c93b(0x15b)][_0x46c93b(0x1b0)],undefined)?_0x5235a6[_0x46c93b(0x1af)]=_0x3a18e0[_0x46c93b(0x165)](_0x916240['timestamp'][_0x46c93b(0x1b0)],0xf4240):_0x5235a6['duration_in_ms']=undefined;if(_0x3a18e0[_0x46c93b(0x197)](_0x5b74b5,_0x3a18e0[_0x46c93b(0x19c)])){const {default:_0x193ec1}=await import(_0x3a18e0['gnkLs']);_0x5235a6[_0x46c93b(0x1c3)]=[{'backtrace':[_0x916240['failure']?_0x3a18e0[_0x46c93b(0x16d)](_0x193ec1,_0x916240['failure']):_0x3a18e0[_0x46c93b(0x159)]]}],_0x5235a6[_0x46c93b(0x1bb)]=_0x916240[_0x46c93b(0x1c3)]?_0x3a18e0['vShnw'](_0x193ec1,_0x916240[_0x46c93b(0x1c3)]):_0x916240[_0x46c93b(0x1bf)],_0x916240[_0x46c93b(0x19f)]&&(_0x5235a6[_0x46c93b(0x1b8)]=_0x916240[_0x46c93b(0x19f)][_0x46c93b(0x1a8)](/AssertError/)?_0x3a18e0['dlrjI']:_0x3a18e0[_0x46c93b(0x150)]);}}if(_0x3a18e0['ygVHn'](_0x5017bd,_0x3a18e0[_0x46c93b(0x1a2)])){const _0x2d32c6=this[_0x46c93b(0x1c7)](_0x23f486['testCaseFinished']['testCaseStartedId']);_0x2d32c6&&_0x3a18e0[_0x46c93b(0x147)](_0x2d32c6[_0x46c93b(0x183)],0x0)&&(_0x5235a6['hooks']=_0x2d32c6,this[_0x46c93b(0x13c)](_0x23f486[_0x46c93b(0x18b)][_0x46c93b(0x170)],_0x5235a6));}testhubUtils[_0x46c93b(0x158)](_0x5235a6,_0x5017bd,'',FRAMEWORKS['CUCUMBER']);const _0x41c136={};_0x41c136[_0x46c93b(0x148)]=_0x5017bd,_0x41c136[_0x46c93b(0x13d)]=_0x5235a6;const _0x34e429=_0x41c136;await SessionHandler['uploadEventData'](_0x34e429);}[a8_0x1321fd(0x13c)](_0x30b677,_0x123f42){const _0x51ee2e=a8_0x1321fd,_0x3896db={};_0x3896db[_0x51ee2e(0x19d)]=function(_0x505369,_0x2fb429){return _0x505369 instanceof _0x2fb429;},_0x3896db[_0x51ee2e(0x1a0)]=function(_0xe49244,_0x3dd686){return _0xe49244===_0x3dd686;},_0x3896db[_0x51ee2e(0x177)]=_0x51ee2e(0x14c),_0x3896db[_0x51ee2e(0x1c5)]='3|1|0|2|4',_0x3896db[_0x51ee2e(0x16f)]=function(_0x102867,_0xd8172f){return _0x102867 instanceof _0xd8172f;};const _0x34d425=_0x3896db,_0xf73bdd=hooksMap[_0x30b677];if(_0x34d425[_0x51ee2e(0x19d)](_0xf73bdd,Array))for(const _0x72c8e8 of _0xf73bdd){if(_0x34d425[_0x51ee2e(0x1a0)](_0x72c8e8[_0x51ee2e(0x16b)],_0x34d425['lCwTt'])){const _0x2c10bd=_0x34d425['dZARi']['split']('|');let _0x51df7d=0x0;while(!![]){switch(_0x2c10bd[_0x51df7d++]){case'0':_0x123f42[_0x51ee2e(0x1bb)]=_0x34d425[_0x51ee2e(0x16f)](_0x72c8e8['failure_data'],Array)?_0x72c8e8[_0x51ee2e(0x174)][0x0]['backtrace'][_0x51ee2e(0x194)]('\x0a'):'';continue;case'1':_0x123f42[_0x51ee2e(0x1c3)]=_0x72c8e8[_0x51ee2e(0x174)];continue;case'2':_0x123f42[_0x51ee2e(0x1b8)]=_0x72c8e8[_0x51ee2e(0x1b8)];continue;case'3':_0x123f42[_0x51ee2e(0x16b)]=_0x72c8e8[_0x51ee2e(0x16b)];continue;case'4':return _0x123f42;}break;}}};}[a8_0x1321fd(0x1c7)](_0x55a87c){const _0x33ccbf=a8_0x1321fd;if(hooksMap[_0x55a87c])return hooksMap[_0x55a87c][_0x33ccbf(0x140)](_0x277e43=>_0x277e43[_0x33ccbf(0x192)]);return[];}['getHookRunEventData'](_0x12656f,_0x537484,_0x45cb4c,_0x450189,_0x53212f,_0x59545b){const _0x1f3cb6=a8_0x1321fd,_0x2123f8={'gfoXg':function(_0x28be60,_0x5707fa){return _0x28be60===_0x5707fa;},'ZgTKf':_0x1f3cb6(0x14f),'NRFia':function(_0x4b0ba4,_0x45169d,_0x25e486){return _0x4b0ba4(_0x45169d,_0x25e486);},'xgWpP':_0x1f3cb6(0x1a7),'iGmJv':'uri','CyrYA':_0x1f3cb6(0x1ca),'jwBVG':_0x1f3cb6(0x154),'wEmpR':_0x1f3cb6(0x1b3),'Fszwg':'feature','QEqLu':'name','uvwLX':_0x1f3cb6(0x17e)};try{if(_0x2123f8[_0x1f3cb6(0x178)](_0x45cb4c,_0x2123f8['ZgTKf'])){const _0x32d986=new Date()[_0x1f3cb6(0x18d)](),_0x179cf2=hooksMap[_0x537484];if(!_0x179cf2)return;const _0x90bd99=_0x179cf2[_0x1f3cb6(0x1c9)](_0x391055=>_0x391055[_0x1f3cb6(0x192)]===_0x450189['id']);if(!_0x90bd99)return;const _0x10390e=this[_0x1f3cb6(0x1a9)](_0x12656f,_0x537484);_0x90bd99[_0x1f3cb6(0x16b)]=_0x10390e['status'],_0x90bd99['finished_at']=_0x32d986,_0x90bd99[_0x1f3cb6(0x1b8)]=_0x10390e['failureType'];const _0x3f572a={};return _0x3f572a[_0x1f3cb6(0x145)]=_0x10390e[_0x1f3cb6(0x1b7)],_0x90bd99[_0x1f3cb6(0x174)]=[_0x3f572a],_0x90bd99;}const _0x4d9c98=TestDetails[_0x1f3cb6(0x17a)](_0x537484),_0x260585=_0x12656f[_0x1f3cb6(0x152)]['find'](_0xa28af7=>_0xa28af7['id']===_0x450189[_0x1f3cb6(0x17d)]),_0x1162e0=_0x2123f8[_0x1f3cb6(0x1cc)](nestedKeyValue,_0x260585,[_0x2123f8[_0x1f3cb6(0x1b2)],_0x2123f8[_0x1f3cb6(0x166)]]),_0x4ad22e=new Date()[_0x1f3cb6(0x18d)](),_0x4495f1=_0x2123f8[_0x1f3cb6(0x171)],_0x42b8d1=_0x260585[_0x1f3cb6(0x18a)]?_0x260585[_0x1f3cb6(0x18a)][_0x1f3cb6(0x1ba)]('\x20')[_0x1f3cb6(0x167)](_0x3f576f=>_0x3f576f[_0x1f3cb6(0x189)]('@')):[],_0x4d1785={'uuid':_0x450189['id'],'type':_0x2123f8[_0x1f3cb6(0x13f)],'hook_type':_0x59545b,'name':_0x260585[_0x1f3cb6(0x153)],'body':{'lang':_0x2123f8[_0x1f3cb6(0x176)],'code':null},'tags':_0x42b8d1,'test_run_id':_0x4d9c98,'scope':_0x2123f8[_0x1f3cb6(0x1cc)](nestedKeyValue,_0x53212f,[_0x2123f8[_0x1f3cb6(0x1a5)],_0x2123f8[_0x1f3cb6(0x188)]]),'scopes':[_0x2123f8[_0x1f3cb6(0x1cc)](nestedKeyValue,_0x53212f,[_0x2123f8['Fszwg'],_0x2123f8[_0x1f3cb6(0x188)]])||''],'file_name':_0x1162e0,'location':_0x1162e0,'vc_filepath':this[_0x1f3cb6(0x138)]?path[_0x1f3cb6(0x14a)](this[_0x1f3cb6(0x138)],_0x1162e0):null,'result':_0x4495f1,'started_at':_0x4ad22e,'framework':_0x2123f8[_0x1f3cb6(0x13e)]};return _0x4d1785;}catch(_0x1dc05d){logger[_0x1f3cb6(0x137)](_0x1f3cb6(0x173)+util['format'](_0x1dc05d)+'\x20');}}async[a8_0x1321fd(0x18e)](_0x133b2f,_0x197dde,_0x1e087e,_0x4845ca,_0x100e9a,_0x15f12c){const _0x3d1fb0=a8_0x1321fd,_0x23bf21={'PgiRy':function(_0xe97c97,_0x332f0d){return _0xe97c97===_0x332f0d;},'nZwFa':_0x3d1fb0(0x199),'bzbTd':function(_0x1f9608,_0x28aa01,_0x127011){return _0x1f9608(_0x28aa01,_0x127011);},'SgJXd':_0x3d1fb0(0x1a7),'XgLIL':_0x3d1fb0(0x1c1),'tkqVs':_0x3d1fb0(0x163)};try{const _0x479f69=_0x4845ca[_0x3d1fb0(0x1c9)](_0x122218=>_0x122218['id']===_0x100e9a);if(!_0x479f69[_0x3d1fb0(0x17d)])return;const _0xafba3c=this[_0x3d1fb0(0x18f)](_0x4845ca,_0x479f69),_0x265014=this[_0x3d1fb0(0x1be)](_0x133b2f,_0x197dde,_0x1e087e,_0x479f69,_0x15f12c,_0xafba3c);if(!_0x265014)return;_0x23bf21['PgiRy'](_0x1e087e,_0x23bf21[_0x3d1fb0(0x14e)])&&(hooksMap[_0x197dde]?hooksMap[_0x197dde]['push'](_0x265014):hooksMap[_0x197dde]=[_0x265014]);const _0xb3c119=_0x133b2f['hooks']['find'](_0x4087a1=>_0x4087a1['id']===_0x479f69[_0x3d1fb0(0x17d)]),_0x4b9f0a=_0x23bf21[_0x3d1fb0(0x198)](nestedKeyValue,_0xb3c119,[_0x23bf21[_0x3d1fb0(0x156)],_0x23bf21['XgLIL']]);if(!_0x4b9f0a)return;else{if(_0x4b9f0a['includes'](_0x23bf21['tkqVs']))return;}const _0x2596e3={};_0x2596e3[_0x3d1fb0(0x148)]=_0x1e087e,_0x2596e3[_0x3d1fb0(0x19a)]=_0x265014;const _0x4c48b3=_0x2596e3;await SessionHandler['uploadEventData'](_0x4c48b3);}catch(_0x282cec){logger['debug']('Exception\x20in\x20sendHook:\x20'+util[_0x3d1fb0(0x19b)](_0x282cec)+'\x20');}}[a8_0x1321fd(0x1a9)](_0xbc8539,_0x3a4732){const _0x5c0a7a=a8_0x1321fd,_0x13e667={};_0x13e667[_0x5c0a7a(0x16c)]=function(_0x4e4178,_0x4120b5){return _0x4e4178===_0x4120b5;},_0x13e667[_0x5c0a7a(0x1ab)]=_0x5c0a7a(0x14c),_0x13e667['tgKzo']=function(_0x295f20,_0x4a3ace){return _0x295f20===_0x4a3ace;},_0x13e667[_0x5c0a7a(0x1a3)]=function(_0x1f6330,_0x33c61c){return _0x1f6330===_0x33c61c;},_0x13e667['BVfDb']='UnhandledError',_0x13e667[_0x5c0a7a(0x15c)]='AssertionError',_0x13e667[_0x5c0a7a(0x175)]=function(_0x1fef5d,_0x57e326){return _0x1fef5d||_0x57e326;};const _0x59047d=_0x13e667,_0x449f5d=_0xbc8539[_0x5c0a7a(0x181)][_0x3a4732][_0x5c0a7a(0x180)];let _0x40c3b7,_0x45fc74;return _0x449f5d&&_0x59047d[_0x5c0a7a(0x16c)](_0x449f5d['status'][_0x5c0a7a(0x1c2)]()[_0x5c0a7a(0x1ae)](),_0x59047d['oGTaH'])&&(_0x40c3b7=_0x59047d['tgKzo'](_0x449f5d['exception'],undefined)?_0x449f5d[_0x5c0a7a(0x1bf)]:_0x449f5d['exception']['message'],_0x45fc74=_0x59047d['Mhmrc'](_0x449f5d['exception'],undefined)?_0x59047d[_0x5c0a7a(0x195)]:_0x449f5d[_0x5c0a7a(0x1bf)]['match'](/Assert/)?_0x59047d[_0x5c0a7a(0x15c)]:_0x59047d[_0x5c0a7a(0x195)]),{'status':_0x449f5d[_0x5c0a7a(0x15d)][_0x5c0a7a(0x1ae)](),'failureType':_0x59047d[_0x5c0a7a(0x175)](_0x45fc74,null),'failureData':!_0x40c3b7?null:[_0x40c3b7]};}['getCucumberHookType'](_0x2119b7,_0x11eb13){const _0x10a7e0=a8_0x1321fd,_0x695741={};_0x695741[_0x10a7e0(0x13b)]=function(_0x3a24f3,_0x39cc28){return _0x3a24f3===_0x39cc28;},_0x695741['SjJjD']=_0x10a7e0(0x1c4),_0x695741[_0x10a7e0(0x15e)]=_0x10a7e0(0x196);const _0x377496=_0x695741;let _0x5f1001=![];for(const _0x2841de of _0x2119b7){_0x2841de['pickleStepId']&&(_0x5f1001=!![]);if(_0x377496[_0x10a7e0(0x13b)](_0x11eb13['id'],_0x2841de['id']))return _0x5f1001?_0x377496[_0x10a7e0(0x151)]:_0x377496[_0x10a7e0(0x15e)];}}[a8_0x1321fd(0x187)]=(_0x177b9d,_0x414810)=>{const _0x1ac256=a8_0x1321fd,_0x8814b5={};_0x8814b5[_0x1ac256(0x157)]=function(_0x19a6ae,_0x206ba9){return _0x19a6ae===_0x206ba9;},_0x8814b5[_0x1ac256(0x1b1)]=function(_0x396ca2,_0x486949){return _0x396ca2>_0x486949;};const _0x47523f=_0x8814b5;if(!(_0x414810[_0x1ac256(0x182)]&&_0x47523f['eqOJQ'](_0x414810[_0x1ac256(0x182)][_0x1ac256(0x183)],0x1)))return;const _0x42c1f8=_0x414810[_0x1ac256(0x182)][0x0],_0x2a803b=_0x414810['astNodeIds'][0x1],_0x3ec6ea=_0x177b9d[_0x1ac256(0x14b)]&&_0x177b9d[_0x1ac256(0x14b)][_0x1ac256(0x16a)]?_0x177b9d[_0x1ac256(0x14b)]['children']:undefined;let _0x3d947f=[];_0x3ec6ea&&_0x3ec6ea[_0x1ac256(0x1ac)](_0x537d8b=>{const _0x2a2145=_0x1ac256;if(_0x537d8b[_0x2a2145(0x1c6)])_0x537d8b[_0x2a2145(0x1c6)][_0x2a2145(0x16a)][_0x2a2145(0x1ac)](_0x25f02b=>{const _0x583c6c=_0x2a2145;if(_0x25f02b['scenario']&&_0x47523f['bSoAz'](_0x25f02b[_0x583c6c(0x15f)]['id'],_0x42c1f8)&&_0x25f02b[_0x583c6c(0x15f)][_0x583c6c(0x161)]){const _0x5d0eb8=_0x25f02b[_0x583c6c(0x15f)]['examples']['flatMap'](_0x4b3cb4=>_0x4b3cb4[_0x583c6c(0x13a)])[_0x583c6c(0x1c9)](_0x15f434=>_0x15f434['id']===_0x2a803b);let _0x25dba9;_0x5d0eb8&&_0x5d0eb8['cells']?_0x25dba9=_0x5d0eb8[_0x583c6c(0x17f)][_0x583c6c(0x140)](_0x10b1b3=>_0x10b1b3[_0x583c6c(0x155)]):_0x25dba9=[],_0x25dba9&&(_0x3d947f=_0x25dba9);}});else{if(_0x537d8b[_0x2a2145(0x15f)]&&_0x47523f[_0x2a2145(0x157)](_0x537d8b['scenario']['id'],_0x42c1f8)&&_0x537d8b[_0x2a2145(0x15f)][_0x2a2145(0x161)]){const _0x3f6abc=_0x537d8b[_0x2a2145(0x15f)][_0x2a2145(0x161)][_0x2a2145(0x1b6)](_0x27f7b4=>_0x27f7b4[_0x2a2145(0x13a)])[_0x2a2145(0x1c9)](_0x44e1e3=>_0x44e1e3['id']===_0x2a803b);let _0x159788;_0x3f6abc&&_0x3f6abc['cells']?_0x159788=_0x3f6abc[_0x2a2145(0x17f)][_0x2a2145(0x140)](_0x3e6d84=>_0x3e6d84[_0x2a2145(0x155)]):_0x159788=[],_0x159788&&(_0x3d947f=_0x159788);}}});if(_0x3d947f[_0x1ac256(0x183)])return _0x3d947f;return;};async[a8_0x1321fd(0x14d)](){const _0x4451bb=a8_0x1321fd,_0x3a791f={'rYsEY':function(_0x162b65){return _0x162b65();}};if(this['_gitConfigured'])return this['_gitConfigPath'];const _0x29bc6e=await _0x3a791f[_0x4451bb(0x1a4)](getGitMetaData);_0x29bc6e&&(this[_0x4451bb(0x138)]=_0x29bc6e[_0x4451bb(0x1bd)]),this[_0x4451bb(0x1c0)]=!![];}}module[a8_0x1321fd(0x143)]=o11yClassErrorHandler(TestObservabilityReporter,[a8_0x1321fd(0x14d),a8_0x1321fd(0x187),a8_0x1321fd(0x18f),a8_0x1321fd(0x1a9),a8_0x1321fd(0x18e),a8_0x1321fd(0x1be),'sendTestRunEventForCucumber']);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9_0x325e69=a9_0x30ab;(function(_0x2ceced,_0xae6b80){const _0x4160cf=a9_0x30ab,_0xcef4e2=_0x2ceced();while(!![]){try{const _0x35afb2=-parseInt(_0x4160cf(0x147))/0x1*(parseInt(_0x4160cf(0xaf))/0x2)+-parseInt(_0x4160cf(0xb9))/0x3+parseInt(_0x4160cf(0xde))/0x4+parseInt(_0x4160cf(0xc2))/0x5*(parseInt(_0x4160cf(0x100))/0x6)+-parseInt(_0x4160cf(0xf9))/0x7+parseInt(_0x4160cf(0xbf))/0x8*(-parseInt(_0x4160cf(0xcb))/0x9)+parseInt(_0x4160cf(0xc5))/0xa;if(_0x35afb2===_0xae6b80)break;else _0xcef4e2['push'](_0xcef4e2['shift']());}catch(_0x3a2d7c){_0xcef4e2['push'](_0xcef4e2['shift']());}}}(a9_0xcebd,0x89e45));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x325e69(0x188)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x325e69(0xbd)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a9_0x325e69(0x195)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),{commandRepository}=require(a9_0x325e69(0xd7)),cucumberModule=requireModule(a9_0x325e69(0x145),'@cucumber/cucumber'),logger=require(a9_0x325e69(0xea))[a9_0x325e69(0x190)],{shouldProcessEventForTesthub}=require(a9_0x325e69(0x16c)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x325e69(0xfd)),TestDetails=require(a9_0x325e69(0xd0)),TestInfo=require(a9_0x325e69(0xfe)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x325e69(0xf8)),SessionHandler=require(a9_0x325e69(0x131)),scripts=require(a9_0x325e69(0x17a)),globals=require(a9_0x325e69(0xb2)),testHubConstants=require(a9_0x325e69(0xc0)),{shouldScanTestForAccessibility}=require(a9_0x325e69(0xb4)),{isUndefined}=require('lodash'),helper=require(a9_0x325e69(0x188)),a9_0x6a5a8b={};a9_0x6a5a8b[a9_0x325e69(0xbc)]=undefined,a9_0x6a5a8b[a9_0x325e69(0xf1)]={},a9_0x6a5a8b['o11ySyncDone']=![],a9_0x6a5a8b[a9_0x325e69(0xa9)]=null,a9_0x6a5a8b['isPageFixture']=![],a9_0x6a5a8b[a9_0x325e69(0xf1)]['id']=undefined,a9_0x6a5a8b[a9_0x325e69(0xf1)][a9_0x325e69(0xd2)]=undefined;const workerDetails=a9_0x6a5a8b;global[a9_0x325e69(0x106)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x359695){const _0x5a02d6=a9_0x325e69,_0x5b6f6a={'xCcrU':function(_0x1124ba,_0x1a0585){return _0x1124ba(_0x1a0585);},'jQFuW':_0x5a02d6(0x111),'BqDpk':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x287314=workerDetails[_0x5a02d6(0xf1)][_0x5a02d6(0xd2)];if(!_0x287314)return;if(playwrightPatcher)try{const _0x493a38=_0x5b6f6a[_0x5a02d6(0x16a)](require,_0x5b6f6a[_0x5a02d6(0xd4)]);if(_0x493a38['getInstance']()[_0x5a02d6(0x191)]()){const _0x66c833=_0x287314['testCaseStartedId'];_0x66c833?(_0x359695[_0x5a02d6(0xae)]=_0x66c833,_0x359695[_0x5a02d6(0xcd)]=_0x66c833,TestInfo[_0x5a02d6(0x15b)](_0x66c833,_0x359695)):logger['debug'](_0x5b6f6a['BqDpk']);return;}}catch(_0x470b23){logger['debug'](_0x5a02d6(0xca)+util[_0x5a02d6(0xf3)](_0x470b23));}await MyReporter['addTestUIDAndReportLog'](_0x287314,_0x359695);}),registerListeners=()=>{const _0x45ffa3=a9_0x325e69,_0x4a6ad6={};_0x4a6ad6['XHsfr']=_0x45ffa3(0x12d);const _0x5828cf=_0x4a6ad6;logger['debug'](_0x5828cf[_0x45ffa3(0xc3)]),process[_0x45ffa3(0xe1)](_0x45ffa3(0xda)+process[_0x45ffa3(0x120)]),process['on'](_0x45ffa3(0xda)+process['pid'],sendTestLog),PerformanceTester[_0x45ffa3(0x174)]();};function a9_0x30ab(_0x9324cd,_0x5bc02a){const _0xcebd36=a9_0xcebd();return a9_0x30ab=function(_0x30abd1,_0x1a029c){_0x30abd1=_0x30abd1-0xa1;let _0x3d2987=_0xcebd36[_0x30abd1];return _0x3d2987;},a9_0x30ab(_0x9324cd,_0x5bc02a);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0x325e69(0xaa)],After=cucumberModule[a9_0x325e69(0xad)],AfterAll=cucumberModule[a9_0x325e69(0x16b)],BeforeAll=cucumberModule[a9_0x325e69(0x132)],AfterStep=cucumberModule[a9_0x325e69(0x11c)],configuration=process[a9_0x325e69(0x12e)]['CONFIG'],bstackConfig=process[a9_0x325e69(0x12e)][a9_0x325e69(0x187)];if(configuration!==undefined){const config=JSON[a9_0x325e69(0xdd)](configuration);isBrowserstackInfra()?(global[a9_0x325e69(0xf5)]=isTrue(config[a9_0x325e69(0xc6)]),global[a9_0x325e69(0x11e)]=isTrue(config[a9_0x325e69(0xeb)])):(global[a9_0x325e69(0xf5)]=!![],global[a9_0x325e69(0x11e)]=!![]);!helper['getPackageVersion']('@playwright/test')&&(logger['debug']('Patching\x20Selenium'),shouldProcessEventForTesthub()?require(a9_0x325e69(0xab))['browserstackAgentV2'](config,null,!![]):require(a9_0x325e69(0xab))[a9_0x325e69(0xa8)](config));global[a9_0x325e69(0x117)]=config[a9_0x325e69(0x135)]||{};if(helper[a9_0x325e69(0xb7)]('@playwright/test'))try{logger['debug'](a9_0x325e69(0xb3)),playwrightPatcher=require(a9_0x325e69(0x178)),playwrightPatcher[a9_0x325e69(0x155)](config),logger[a9_0x325e69(0x194)](a9_0x325e69(0x12a));}catch(a9_0x25b29c){logger[a9_0x325e69(0x194)](a9_0x325e69(0x156)+util['format'](a9_0x25b29c));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x325e69(0xdd)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository[a9_0x325e69(0x176)](a9_0x325e69(0x10e)));}global[a9_0x325e69(0x12b)]=0x0;function a9_0xcebd(){const _0x172495=['lMtHV','Inside\x20browserstack\x20AfterStep','getPackageVersion','Error\x20cleaning\x20up\x20close\x20tracker:\x20','1970082dBZdzJ','Inside\x20browserstack\x20BeforeAll','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','workerInfo','../utils/constants','ZxAXS','1136664sOUVyQ','../../helpers/testhub/constants.js','thBuildUuid','106595hDkDlu','XHsfr','Dsiri','22634510lvLezO','skipSessionName','quitCount_','BROWSERSTACK_TESTHUB_UUID','../v2/state/automationFrameworkState','Error\x20sending\x20log\x20created\x20event:\x20','9ETPMZH','shift','test_run_uuid','aItdE','iGGbo','../playwright/reporter/test-details.js','setGlobal','testInfo','finally','jQFuW','session_','bstack','../../helpers/ai-sdk/autoHealHelper','text','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','bs:addLog:','getId','__sessionFailed','parse','199768mSnGLh','ZwOBg','map','removeAllListeners','LofPq','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','UWCNb','cleanup','AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20','RFoMT','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','rtaUA','../../helpers/logger','skipSessionStatus','pickle','AVkvx','getGlobal','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','executeAsyncScript','currentTest','HdwRd','format','toString','__skipSessionName','Error:\x20sendPlatformDetails\x20at\x20After:\x20','getTestUUID','../playwright/reporter/reporter.js','5553730qltErl','zWEhl','status','IgDiG','../../helpers/test-observability/utils','../v2/TestInfo.js','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','204vvcIwg','qNlHw','cucumber-test','QUIT','\x20|\x20','length','__workerDetails','saveTestResults','toLowerCase','JEtaP','\x22}}','browserstackSessionName','Error\x20triggering\x20AutomationFramework\x20events:\x20','ZtrmM','cucumber-js','tags','BROWSERSTACK_TESTHUB_JWT','../v2/browserstackCLI','dngKg','passed','yZqbn','Flow\x20detection:\x20isSeleniumFlow=','setTestNameForHealingContext','__platformCaps','then','Inside\x20browserstack\x20AfterAll','executeScript','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','AfterStep','GWJoo','__skipSessionStatus','Error\x20determining\x20test\x20flow:\x20','pid','EywZe','OyOfo','ENV_VAR','yrrTk','KhrWC','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','executeDeferredCloses','PYLJt','join','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','__timeout','PLAYWRIGHT','Inside\x20browserstack\x20registerListeners','env','thJwtToken','beforeTestHook','../../helpers/test-observability/sessionHandler','BeforeAll','CHWmL','message','platformCaps','getInstance','PRE','push','Error\x20in\x20fallback\x20cleanup:\x20','closeTracker','trackEvent','afterTestHook','Error:\x20quiting\x20driver\x20at\x20After:\x20','info','stopMonitoring','EcnQk','testFramework','isCliEnabled','Unknown\x20Test','Passed:\x20','@cucumber/cucumber/lib/index.js','Error\x20executing\x20deferred\x20closes:\x20','61KAGIOd','setFrameworkDetail','vNBJc','vZimN','pYKPY','iPDxC','bootstrap','timeout','xwQEd','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','0|4|2|1|3','qkQaZ','Cleaned\x20up\x20Playwright\x20close\x20tracker','Error\x20in\x20playwright\x20beforeTestHook:\x20','initializePlaywrightPatching','Error\x20initializing\x20Playwright\x20patching:\x20','__error_messages__','test_run','IipBJ','../v2/browserstackCLI.js','storeLogObjects','setDefaultTimeout','Performing\x20scan\x20before\x20saving\x20results','error','Cucumber-JS','uyLvd','\x0aError:\x20','thTestRunUuid','CHDGo','__drivers','aSfsr','name','OdXlb','lMwYe','Error:\x20at\x20After\x20Step:\x20','xCcrU','AfterAll','../../helpers/testhub/utils','failed','lcpVb','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','result','split','tDKFK','ChXfG','startMonitoring','testCaseStartedId','setFramework','stringify','../utils/playwright-patcher','UbMzr','../../helpers/accessibility-automation/scripts','../v2/state/hookState','xdurr','MytMh','lgAQP','catch','vMxDJ',',\x22level\x22:\x20\x22','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','WCkrH','ZgGgk','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','../v2/cliUtils','BSTACK_CONFIG','../../helpers/helper','iIcuV','Failed:\x20','boJsH','Xzukx','pickleStep','UGWVK','initQuit','winstonLogger','isRunning','CMAle','kWOki','debug','util','EOpVz','uploadEventData','page','bstackA11yShouldScan','Error:\x20cleaning\x20up\x20driver:\x20','driverCleanup','patchPageCommandsForAccessibility','browserstackAgentV2','pwPage','Before','../../index','aLCtA','After','uuid','28894TMNHSV','Inside\x20browserstack\x20Before','zyQpT','../../helpers/globals','Patching\x20Playwright','../../helpers/accessibility-automation/helper'];a9_0xcebd=function(){return _0x172495;};return a9_0xcebd();}const __setDefaultTimeout=cucumberModule[a9_0x325e69(0x15c)];cucumberModule['setDefaultTimeout']=_0x4475b5=>{const _0xeb9c4b=a9_0x325e69,_0x419a30={'ZLtWA':function(_0x405295,_0x564b40){return _0x405295(_0x564b40);}};global[_0xeb9c4b(0x12b)]=_0x4475b5,_0x419a30['ZLtWA'](__setDefaultTimeout,_0x4475b5);};const a9_0x5215f8={};a9_0x5215f8['name']=a9_0x325e69(0xd6),BeforeAll(a9_0x5215f8,async function(){const _0x269d16=a9_0x325e69,_0x2a998b={'TWyFo':function(_0x5f4b62,_0x123d2f,_0x2050d1,_0x136da9){return _0x5f4b62(_0x123d2f,_0x2050d1,_0x136da9);},'iGGbo':_0x269d16(0x16d),'GWJoo':'\x20|\x20','aSfsr':function(_0x2299b,_0x17e16c,_0x783866){return _0x2299b(_0x17e16c,_0x783866);},'yBHrD':_0x269d16(0x113),'redsA':_0x269d16(0xba),'lMtHV':function(_0xf7c286,_0x30dc02){return _0xf7c286(_0x30dc02);},'OXkuO':'../v2/browserstackCLI','jyWzC':_0x269d16(0x186),'zyQpT':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','tDKFK':function(_0x1f931d){return _0x1f931d();},'ZwOBg':function(_0x5a33f5,_0x5be0e8){return _0x5a33f5(_0x5be0e8);}};PerformanceTester['startMonitoring'](),logger[_0x269d16(0x194)](_0x2a998b['redsA']),global['__error_messages__']=[],global[_0x269d16(0xdc)]=![];if(playwrightPatcher)try{const _0x342625=_0x2a998b[_0x269d16(0xb5)](require,_0x2a998b['OXkuO']),_0x22dade=_0x2a998b[_0x269d16(0xb5)](require,_0x2a998b['jyWzC']);_0x342625[_0x269d16(0x136)]()[_0x269d16(0x142)]()&&(logger[_0x269d16(0x194)](_0x2a998b[_0x269d16(0xb1)]),_0x22dade[_0x269d16(0x148)](FRAMEWORKS['CUCUMBER'],FRAMEWORKS[_0x269d16(0x12c)]),await _0x342625[_0x269d16(0x136)]()[_0x269d16(0x14d)]());}catch(_0x467eb5){logger[_0x269d16(0x194)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x269d16(0xf3)](_0x467eb5));}_0x2a998b[_0x269d16(0x172)](shouldProcessEventForTesthub)&&(_0x2a998b['tDKFK'](registerListeners),_0x2a998b[_0x269d16(0xdf)](addRequestSpy,![])),global[_0x269d16(0xa6)]=async()=>{const _0x1b6785=_0x269d16;let _0x3b1721=![];try{global['__drivers']&&global[_0x1b6785(0x164)][0x0]&&(await global['__drivers'][0x0][_0x1b6785(0xd5)],_0x3b1721=!![],global[_0x1b6785(0xdc)]?await _0x2a998b['TWyFo'](markSessionStatus,global['__drivers'][0x0],_0x2a998b[_0x1b6785(0xcf)],global['__error_messages__']['join'](_0x2a998b[_0x1b6785(0x11d)])):await _0x2a998b[_0x1b6785(0x165)](markSessionStatus,global[_0x1b6785(0x164)][0x0],_0x2a998b['yBHrD']));}catch(_0x4c4588){logger['debug'](_0x1b6785(0xa5)+_0x4c4588);}global[_0x1b6785(0x157)]=[],global['__sessionFailed']=![];if(_0x3b1721)try{await global[_0x1b6785(0x164)][0x0][_0x1b6785(0x18f)](),global['__drivers'][0x0][_0x1b6785(0xd5)][_0x1b6785(0x118)](_0x1c7572=>{const _0x197f28=_0x1b6785;logger[_0x197f28(0x194)]('Error:\x20in\x20quitting\x20driver\x20'+_0x1c7572[_0x197f28(0xdb)]());})[_0x1b6785(0x17f)](_0x8a9285=>{});}catch(_0x4193cf){logger[_0x1b6785(0x194)](_0x1b6785(0xd9)+_0x4193cf);}};});const a9_0x48a328={};a9_0x48a328['name']=a9_0x325e69(0xd6),a9_0x48a328[a9_0x325e69(0x14e)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x325e69(0x15f)],Before(a9_0x48a328,function(_0x4de558,_0x3cc0f6){const _0x107763=a9_0x325e69,_0x55f969={'zWEhl':function(_0x1927f4,_0x150a00){return _0x1927f4>_0x150a00;},'MytMh':function(_0x5e4c07,_0x709c43){return _0x5e4c07>_0x709c43;},'PYLJt':function(_0x5ce7bc,_0x120a4b){return _0x5ce7bc(_0x120a4b);},'Xzukx':function(_0x1796da,_0x10af6e,_0x1cbc31,_0x5cfa8e){return _0x1796da(_0x10af6e,_0x1cbc31,_0x5cfa8e);},'EywZe':_0x107763(0xa4),'ChXfG':_0x107763(0x111),'ZgGgk':_0x107763(0xc9),'ICtia':'../v2/state/hookState','EcnQk':_0x107763(0x143),'rvtYp':_0x107763(0x102),'lMwYe':function(_0x2dc565){return _0x2dc565();},'Dsiri':_0x107763(0xb0)};commandRepository[_0x107763(0x116)](_0x4de558[_0x107763(0xec)][_0x107763(0x166)]),logger['debug'](_0x55f969[_0x107763(0xc4)]),new Promise(async _0x192d9b=>{const _0x4356f7=_0x107763;try{global['__drivers']&&_0x55f969[_0x4356f7(0xfa)](global[_0x4356f7(0x164)][_0x4356f7(0x105)],0x1)&&(await global['driverCleanup'](),global[_0x4356f7(0x164)][_0x4356f7(0xcc)]()),global['__drivers']&&global[_0x4356f7(0x164)][0x0]&&global['__drivers'][0x0][_0x4356f7(0xc7)]&&_0x55f969[_0x4356f7(0x17d)](global[_0x4356f7(0x164)][0x0]['quitCount_'],0x0)&&await global[_0x4356f7(0xa6)]();}catch(_0x37f9ad){logger[_0x4356f7(0x194)](_0x4356f7(0xef)+_0x37f9ad);}workerDetails[_0x4356f7(0xf1)][_0x4356f7(0xd2)]=_0x4de558;if(!playwrightPatcher)try{if(!_0x55f969['PYLJt'](isUndefined,_0x4de558['pickle'][_0x4356f7(0x10f)])){const _0x4280a3=_0x55f969[_0x4356f7(0x18c)](shouldScanTestForAccessibility,null,![],_0x4de558[_0x4356f7(0xec)][_0x4356f7(0x10f)][_0x4356f7(0xe0)](({name:_0x4b1b0a})=>_0x4b1b0a));globals[_0x4356f7(0xd1)](_0x55f969[_0x4356f7(0x121)],_0x4280a3);}}catch(_0x2af171){logger[_0x4356f7(0x194)](_0x4356f7(0xff)+util[_0x4356f7(0xf3)](_0x2af171));}if(playwrightPatcher)try{await playwrightPatcher[_0x4356f7(0x130)](_0x4de558),global['__workerDetails']&&global['__workerDetails'][_0x4356f7(0xa9)]&&playwrightPatcher[_0x4356f7(0xa7)](global[_0x4356f7(0x106)]['pwPage']);}catch(_0x2e4825){logger['debug'](_0x4356f7(0x154)+util['format'](_0x2e4825));}if(playwrightPatcher)try{const _0x23e896=_0x55f969[_0x4356f7(0x128)](require,_0x55f969[_0x4356f7(0x173)]),_0x49c21b=_0x55f969[_0x4356f7(0x128)](require,_0x55f969[_0x4356f7(0x184)]),_0x289849=_0x55f969[_0x4356f7(0x128)](require,_0x55f969['ICtia']);if(_0x23e896[_0x4356f7(0x136)]()['isRunning']()){const _0x134aac={'title':_0x4de558['pickle'][_0x4356f7(0x166)]||_0x55f969[_0x4356f7(0x140)],'titlePath':[_0x4de558['pickle'][_0x4356f7(0x166)]||_0x55f969['EcnQk']],'id':_0x4de558[_0x4356f7(0x175)]||_0x55f969['rvtYp'],'tags':_0x4de558[_0x4356f7(0xec)][_0x4356f7(0x10f)]||[],..._0x4de558},_0x3a38a3=_0x134aac;global['__currentTestInfo']=_0x3a38a3,logger[_0x4356f7(0x194)](_0x4356f7(0x11b)+_0x4de558[_0x4356f7(0xec)][_0x4356f7(0x166)]);}}catch(_0x4f4087){logger[_0x4356f7(0x194)](_0x4356f7(0x10c)+util['format'](_0x4f4087));}_0x55f969[_0x4356f7(0x168)](_0x192d9b);})[_0x107763(0xd3)](_0x3cc0f6);});const a9_0x4dfedc={};a9_0x4dfedc[a9_0x325e69(0x166)]=a9_0x325e69(0xd6),a9_0x4dfedc[a9_0x325e69(0x14e)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x325e69(0x15f)],After(a9_0x4dfedc,function(_0x19d28e,_0x3431eb){const _0x446d6f=a9_0x325e69,_0x1501a7={'JEtaP':function(_0x2a9b16,_0x2b3052){return _0x2a9b16>_0x2b3052;},'iPDxC':function(_0xa1edd3,_0x3fe7cd){return _0xa1edd3===_0x3fe7cd;},'kWOki':'failed','vMxDJ':function(_0x177439,_0x1339b4,_0x84165,_0x2e15cc){return _0x177439(_0x1339b4,_0x84165,_0x2e15cc);},'KhrWC':_0x446d6f(0x104),'qkQaZ':function(_0xef28bb,_0xf650b6,_0x5f352d){return _0xef28bb(_0xf650b6,_0x5f352d);},'EOpVz':_0x446d6f(0x113),'HdwRd':function(_0x3af8a7,_0x3c2819){return _0x3af8a7(_0x3c2819);},'vNBJc':'../v2/browserstackCLI','CMAle':function(_0x42f39e,_0xd7c652){return _0x42f39e(_0xd7c652);},'xwQEd':_0x446d6f(0xc9),'IgDiG':_0x446d6f(0x17b),'ZtrmM':'Unknown\x20Test','zsLJR':_0x446d6f(0x102),'mufFo':'Completed\x20Playwright\x20afterTestHook\x20execution','rtaUA':_0x446d6f(0x126),'qNlHw':'Cleaned\x20up\x20close\x20tracker','pYKPY':_0x446d6f(0xbb),'VSGjI':_0x446d6f(0x185),'vZimN':function(_0x342a10,_0x4018bf){return _0x342a10(_0x4018bf);},'WCkrH':_0x446d6f(0x15a),'nPxaj':function(_0x3be12f){return _0x3be12f();},'RFoMT':function(_0xc72762,_0x4ad71c,_0x466718,_0x470119){return _0xc72762(_0x4ad71c,_0x466718,_0x470119);},'OyOfo':'CBTSessionCreated','YlqWP':'isAccessibilityPlatform','lcpVb':'bstackA11yShouldScan','fqGRC':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','UGWVK':_0x446d6f(0x15d),'aLCtA':'Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','vTReD':function(_0x26a351){return _0x26a351();},'uyLvd':'Inside\x20browserstack\x20After'};logger[_0x446d6f(0x194)](_0x1501a7[_0x446d6f(0x160)]),workerDetails['currentTest'][_0x446d6f(0xd2)]=_0x19d28e,new Promise(async _0x1b0258=>{const _0x2ecde4=_0x446d6f;let _0x337f68=![],_0x4fcbad=![],_0x112d69=![];try{global[_0x2ecde4(0x164)]&&_0x1501a7[_0x2ecde4(0x109)](global[_0x2ecde4(0x164)]['length'],0x0)&&(_0x4fcbad=!![]),playwrightPatcher&&global[_0x2ecde4(0x106)]&&global['__workerDetails'][_0x2ecde4(0xa9)]&&(_0x112d69=!![],logger[_0x2ecde4(0x194)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x2ecde4(0x106)][_0x2ecde4(0xa9)]));}catch(_0x5e4fbb){logger[_0x2ecde4(0x194)](_0x2ecde4(0x11f)+_0x5e4fbb);}logger[_0x2ecde4(0x194)](_0x2ecde4(0x115)+_0x4fcbad+',\x20isPlaywrightFlow='+_0x112d69);const _0x2a4df7=_0x19d28e['result'][_0x2ecde4(0xfb)]['toString']()['toLowerCase'](),_0x34aef8=_0x1501a7[_0x2ecde4(0x14c)](_0x2a4df7,_0x1501a7[_0x2ecde4(0x193)])||_0x1501a7['iPDxC'](_0x2a4df7,'6'),_0x4c4f2d=_0x34aef8?_0x19d28e[_0x2ecde4(0x170)]['message']:null;if(_0x34aef8)try{global[_0x2ecde4(0x157)][_0x2ecde4(0x138)](_0x19d28e['result'][_0x2ecde4(0x134)]),global[_0x2ecde4(0xdc)]=!![];}catch(_0x3943ea){logger[_0x2ecde4(0x194)](_0x2ecde4(0x182)+_0x3943ea);}if(_0x4fcbad)try{global[_0x2ecde4(0x164)]&&_0x1501a7[_0x2ecde4(0x109)](global[_0x2ecde4(0x164)][_0x2ecde4(0x105)],0x1)&&(await global['driverCleanup'](),global[_0x2ecde4(0x164)][_0x2ecde4(0xcc)](),global[_0x2ecde4(0x157)]=[],global[_0x2ecde4(0xdc)]=![]),global[_0x2ecde4(0x164)]&&global['__drivers'][0x0]&&(await global[_0x2ecde4(0x164)][0x0][_0x2ecde4(0xd5)],_0x337f68=!![],!global['__skipSessionName']&&await global[_0x2ecde4(0x164)][0x0][_0x2ecde4(0x11a)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x19d28e['pickle'][_0x2ecde4(0x166)]+'\x22}}'),_0x34aef8?await _0x1501a7[_0x2ecde4(0x180)](markSessionStatus,global[_0x2ecde4(0x164)][0x0],_0x1501a7[_0x2ecde4(0x193)],global[_0x2ecde4(0x157)][_0x2ecde4(0x129)](_0x1501a7[_0x2ecde4(0x125)])):await _0x1501a7[_0x2ecde4(0x152)](markSessionStatus,global[_0x2ecde4(0x164)][0x0],_0x1501a7[_0x2ecde4(0xa1)]));}catch(_0x2cbb0f){logger[_0x2ecde4(0x194)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x2ecde4(0xf3)](_0x2cbb0f));}if(_0x112d69)try{try{const _0x17ee62=_0x1501a7[_0x2ecde4(0xf2)](require,_0x1501a7[_0x2ecde4(0x149)]),_0x5784ce=_0x1501a7['CMAle'](require,_0x1501a7[_0x2ecde4(0x14f)]),_0x17165a=_0x1501a7[_0x2ecde4(0x192)](require,_0x1501a7[_0x2ecde4(0xfc)]);if(_0x17ee62[_0x2ecde4(0x136)]()['isRunning']()){const _0x30cf6f={'title':_0x19d28e['pickle'][_0x2ecde4(0x166)]||_0x1501a7[_0x2ecde4(0x10d)],'titlePath':[_0x19d28e['pickle'][_0x2ecde4(0x166)]||_0x1501a7[_0x2ecde4(0x10d)]],'id':_0x19d28e[_0x2ecde4(0x175)]||_0x1501a7['zsLJR'],'status':_0x34aef8?_0x1501a7[_0x2ecde4(0x193)]:_0x1501a7[_0x2ecde4(0xa1)],'error':_0x4c4f2d?{'message':_0x4c4f2d}:null,'tags':_0x19d28e[_0x2ecde4(0xec)]['tags']||[],..._0x19d28e},_0x1c62d7=_0x30cf6f,_0x368f68={};_0x368f68['testInfo']=_0x1c62d7,_0x368f68['scenario']=_0x19d28e,_0x368f68[_0x2ecde4(0xa3)]=global[_0x2ecde4(0x106)][_0x2ecde4(0xa9)],_0x368f68[_0x2ecde4(0x141)]=FRAMEWORKS['CUCUMBER'],await _0x17ee62[_0x2ecde4(0x136)]()['getAutomationFramework']()[_0x2ecde4(0x13b)](_0x5784ce[_0x2ecde4(0x103)],_0x17165a[_0x2ecde4(0x137)],_0x368f68),logger['debug'](_0x2ecde4(0xe6)+_0x19d28e['pickle'][_0x2ecde4(0x166)]);}}catch(_0xab3068){logger[_0x2ecde4(0x194)]('Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20'+util[_0x2ecde4(0xf3)](_0xab3068));}const _0x280d9b=_0x34aef8?_0x1501a7[_0x2ecde4(0x193)]:_0x1501a7[_0x2ecde4(0xa1)];await playwrightPatcher[_0x2ecde4(0x13c)](_0x19d28e,_0x280d9b,_0x4c4f2d),logger['debug'](_0x1501a7['mufFo']);try{await playwrightPatcher['executeDeferredCloses'](),logger[_0x2ecde4(0x194)](_0x1501a7[_0x2ecde4(0xe9)]);}catch(_0x3c1caf){logger['debug'](_0x2ecde4(0x146)+util[_0x2ecde4(0xf3)](_0x3c1caf));}try{playwrightPatcher[_0x2ecde4(0x13a)][_0x2ecde4(0xe5)](),logger[_0x2ecde4(0x194)](_0x1501a7[_0x2ecde4(0x101)]);}catch(_0x15fae6){logger['debug'](_0x2ecde4(0xb8)+util[_0x2ecde4(0xf3)](_0x15fae6));}}catch(_0xeffe33){logger[_0x2ecde4(0x194)]('Error:\x20at\x20After\x20(Playwright):\x20'+util[_0x2ecde4(0xf3)](_0xeffe33));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x2ecde4(0x194)](_0x1501a7[_0x2ecde4(0x14b)])),playwrightPatcher[_0x2ecde4(0x13a)]&&playwrightPatcher[_0x2ecde4(0x13a)][_0x2ecde4(0xe5)]&&(playwrightPatcher[_0x2ecde4(0x13a)]['cleanup'](),logger[_0x2ecde4(0x194)](_0x1501a7['VSGjI']));}catch(_0x208863){logger[_0x2ecde4(0x194)](_0x2ecde4(0x139)+util['format'](_0x208863));}}const _0x361393=_0x1501a7[_0x2ecde4(0x14a)](require,_0x1501a7[_0x2ecde4(0x183)]);if(!_0x361393['getInstance']()[_0x2ecde4(0x191)]())try{if(_0x1501a7['nPxaj'](shouldProcessEventForTesthub)){const _0xee4ee7=TestDetails['getTestUUID'](_0x19d28e['testCaseStartedId']);let _0xecd7fb=null;global[_0x2ecde4(0x164)]&&global['__drivers'][0x0]&&(_0xecd7fb=await _0x1501a7[_0x2ecde4(0xe7)](sendPlatformDetails,global['__drivers'][0x0],_0xee4ee7,!![]));const _0x132ad2={};_0x132ad2[_0x2ecde4(0xae)]=_0xee4ee7,_0x132ad2['integrations']=_0xecd7fb;const _0x1f960e=_0x132ad2,_0x4bf69f={};_0x4bf69f['event_type']=_0x1501a7[_0x2ecde4(0x122)],_0x4bf69f[_0x2ecde4(0x158)]=_0x1f960e,await SessionHandler[_0x2ecde4(0xa2)](_0x4bf69f);}}catch(_0x5ae6c9){logger[_0x2ecde4(0x194)](_0x2ecde4(0xf6)+util[_0x2ecde4(0xf3)](_0x5ae6c9));}try{if(globals['getGlobal'](_0x1501a7['YlqWP'])&&globals[_0x2ecde4(0xee)](_0x1501a7[_0x2ecde4(0x16e)])){logger['info'](_0x1501a7['fqGRC']);const _0x5d3ccb=TestDetails[_0x2ecde4(0xf7)](_0x19d28e[_0x2ecde4(0x175)]),_0x27f7ea={};_0x27f7ea[_0x2ecde4(0x162)]=_0x5d3ccb,_0x27f7ea[_0x2ecde4(0xc1)]=process[_0x2ecde4(0x12e)][testHubConstants['ENV_VAR'][_0x2ecde4(0xc8)]],_0x27f7ea[_0x2ecde4(0x12f)]=process[_0x2ecde4(0x12e)][testHubConstants[_0x2ecde4(0x123)][_0x2ecde4(0x110)]];const _0x26618f=_0x27f7ea;logger[_0x2ecde4(0x194)](_0x2ecde4(0x150)+JSON[_0x2ecde4(0x177)](_0x26618f)),logger['debug'](_0x1501a7[_0x2ecde4(0x18e)]),global[_0x2ecde4(0x164)]&&global[_0x2ecde4(0x164)][0x0]&&(logger[_0x2ecde4(0x194)](util[_0x2ecde4(0xf3)](await global[_0x2ecde4(0x164)][0x0][_0x2ecde4(0xf0)](scripts['performScan'],{'method':global[_0x2ecde4(0x10b)]}))),await global['__drivers'][0x0]['executeAsyncScript'](scripts[_0x2ecde4(0x107)],_0x26618f)),logger[_0x2ecde4(0x13e)](_0x1501a7[_0x2ecde4(0xac)]);}}catch(_0x29ac70){logger[_0x2ecde4(0x15e)](_0x2ecde4(0xe3)+util[_0x2ecde4(0xf3)](_0x29ac70));}if(_0x337f68)try{global[_0x2ecde4(0x164)][0x0]&&_0x1501a7[_0x2ecde4(0x109)](global['__drivers'][0x0][_0x2ecde4(0xc7)],0x0)&&await global[_0x2ecde4(0x164)][0x0][_0x2ecde4(0x18f)]();}catch(_0x3720b4){logger['debug'](_0x2ecde4(0x13d)+_0x3720b4);}_0x1501a7['vTReD'](_0x1b0258);})[_0x446d6f(0xd3)](()=>_0x3431eb());});const a9_0xb3ba14={};a9_0xb3ba14[a9_0x325e69(0x166)]=a9_0x325e69(0xd6),a9_0xb3ba14['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x325e69(0x15f)],AfterStep(a9_0xb3ba14,function(_0x55ee9d,_0xfe3f6f){const _0x4a51f3=a9_0x325e69,_0x21d314={'IipBJ':function(_0x2374b7,_0x2822c7){return _0x2374b7===_0x2822c7;},'Hlhqh':'failed','OdXlb':function(_0x6b12dc,_0x31d729){return _0x6b12dc===_0x31d729;},'boJsH':function(_0x7562fe,_0x329631){return _0x7562fe!==_0x329631;},'gsiTR':function(_0x59d17e,_0x30faef,_0xf8c0d8){return _0x59d17e(_0x30faef,_0xf8c0d8);},'awuIc':function(_0x48053f,_0x55d9e4){return _0x48053f+_0x55d9e4;},'dngKg':function(_0x107df7,_0x29a36f){return _0x107df7+_0x29a36f;},'CHDGo':function(_0x394da3,_0x17098b){return _0x394da3+_0x17098b;},'ZxAXS':_0x4a51f3(0x18a),'BQpfP':_0x4a51f3(0x161),'LofPq':_0x4a51f3(0x15e),'AVkvx':function(_0x275a5e,_0x4d91db,_0x3736c9){return _0x275a5e(_0x4d91db,_0x3736c9);},'GOqmI':function(_0x5cf414,_0x547483){return _0x5cf414+_0x547483;},'aItdE':_0x4a51f3(0x144),'xdurr':_0x4a51f3(0x13e),'UWCNb':function(_0x520bd2,_0x2d4731,_0x3d29ee){return _0x520bd2(_0x2d4731,_0x3d29ee);},'CHWmL':'Passed','yrrTk':function(_0x4f47b1){return _0x4f47b1();},'UbMzr':_0x4a51f3(0xb6)};logger['debug'](_0x21d314[_0x4a51f3(0x179)]);const _0x243136=async(_0x59f8f7,_0xa2478b)=>{const _0x3f6295=_0x4a51f3;global[_0x3f6295(0x164)]&&global['__drivers'][0x0]&&await global[_0x3f6295(0x164)][0x0]['executeScript'](_0x3f6295(0x16f)+_0x59f8f7+_0x3f6295(0x181)+_0xa2478b+_0x3f6295(0x10a));};new Promise(async _0x5b2eac=>{const _0x25c2c5=_0x4a51f3;try{const _0x3c7b2a=_0x21d314[_0x25c2c5(0x159)](_0x55ee9d['result'][_0x25c2c5(0xfb)][_0x25c2c5(0xf4)]()[_0x25c2c5(0x108)](),_0x21d314['Hlhqh'])||_0x21d314[_0x25c2c5(0x167)](_0x55ee9d[_0x25c2c5(0x170)][_0x25c2c5(0xfb)]['toString']()[_0x25c2c5(0x108)](),'6');_0x3c7b2a?(global[_0x25c2c5(0xdc)]=!![],global['__error_messages__'][_0x25c2c5(0x138)](_0x55ee9d[_0x25c2c5(0x170)][_0x25c2c5(0x134)]),_0x21d314['boJsH'](_0x55ee9d[_0x25c2c5(0x18d)],undefined)?await _0x21d314['gsiTR'](_0x243136,JSON[_0x25c2c5(0x177)](_0x21d314['awuIc'](_0x21d314[_0x25c2c5(0x112)](_0x21d314[_0x25c2c5(0x163)](_0x21d314[_0x25c2c5(0xbe)],'\x22'+_0x55ee9d[_0x25c2c5(0x18d)][_0x25c2c5(0xd8)]+'\x22\x20'),_0x21d314['BQpfP']),_0x55ee9d['result']['message'])),_0x21d314[_0x25c2c5(0xe2)]):await _0x21d314[_0x25c2c5(0xed)](_0x243136,JSON[_0x25c2c5(0x177)](_0x21d314['CHDGo'](_0x21d314[_0x25c2c5(0xbe)],_0x55ee9d[_0x25c2c5(0x170)][_0x25c2c5(0x134)])),_0x21d314[_0x25c2c5(0xe2)])):_0x21d314[_0x25c2c5(0x18b)](_0x55ee9d['pickleStep'],undefined)?await _0x21d314[_0x25c2c5(0xed)](_0x243136,JSON['stringify'](_0x21d314['GOqmI'](_0x21d314[_0x25c2c5(0xce)],'\x22'+_0x55ee9d[_0x25c2c5(0x18d)][_0x25c2c5(0xd8)]+'\x22')),_0x21d314[_0x25c2c5(0x17c)]):await _0x21d314[_0x25c2c5(0xe4)](_0x243136,JSON[_0x25c2c5(0x177)](_0x21d314[_0x25c2c5(0x133)]),_0x21d314[_0x25c2c5(0x17c)]),global[_0x25c2c5(0x164)]&&global['__drivers'][0x0]&&global['__drivers'][0x0][_0x25c2c5(0xd5)][_0x25c2c5(0x118)](_0x5dbeda=>{})[_0x25c2c5(0x17f)](_0x2f99e6=>{const _0x4ce926=_0x25c2c5;logger[_0x4ce926(0x194)](_0x4ce926(0xe8)+util['format'](_0x2f99e6));});}catch(_0x5db58a){logger['debug'](_0x25c2c5(0x169)+_0x5db58a);}_0x21d314[_0x25c2c5(0x124)](_0x5b2eac);})['finally'](()=>_0xfe3f6f());});const a9_0x1540c2={};a9_0x1540c2[a9_0x325e69(0x166)]=a9_0x325e69(0xd6),a9_0x1540c2['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x325e69(0x15f)],AfterAll(a9_0x1540c2,async function(_0x5c751b,_0x116bed){const _0x317e33=a9_0x325e69,_0x185cde={'iIcuV':_0x317e33(0x151),'lgAQP':_0x317e33(0x153),'TEYFq':function(_0x4c1f39){return _0x4c1f39();},'yZqbn':_0x317e33(0x119)};logger[_0x317e33(0x194)](_0x185cde[_0x317e33(0x114)]),await new Promise(async _0x5271ee=>{const _0x32a4a9=_0x317e33,_0x56b3b5=_0x185cde[_0x32a4a9(0x189)][_0x32a4a9(0x171)]('|');let _0xcfe620=0x0;while(!![]){switch(_0x56b3b5[_0xcfe620++]){case'0':await RequestQueueHandler[_0x32a4a9(0x136)]()['shutdown']();continue;case'1':await global[_0x32a4a9(0xa6)]();continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x32a4a9(0x127)]&&(await playwrightPatcher[_0x32a4a9(0x127)](),playwrightPatcher[_0x32a4a9(0x13a)]&&playwrightPatcher['closeTracker'][_0x32a4a9(0xe5)](),logger[_0x32a4a9(0x194)](_0x185cde[_0x32a4a9(0x17e)]));}catch(_0xcd2ac7){logger['debug']('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0x32a4a9(0xf3)](_0xcd2ac7));}continue;case'3':_0x185cde['TEYFq'](_0x5271ee);continue;case'4':PerformanceTester[_0x32a4a9(0x13f)]();continue;}break;}});});
|
|
1
|
+
const a9_0x2521cf=a9_0x236c;(function(_0x1a7727,_0x289ed2){const _0x3386d0=a9_0x236c,_0x45721b=_0x1a7727();while(!![]){try{const _0x44e18c=-parseInt(_0x3386d0(0x1b7))/0x1+-parseInt(_0x3386d0(0x2ad))/0x2*(parseInt(_0x3386d0(0x21f))/0x3)+-parseInt(_0x3386d0(0x1e2))/0x4*(-parseInt(_0x3386d0(0x293))/0x5)+parseInt(_0x3386d0(0x270))/0x6+parseInt(_0x3386d0(0x1be))/0x7*(-parseInt(_0x3386d0(0x21d))/0x8)+parseInt(_0x3386d0(0x278))/0x9*(parseInt(_0x3386d0(0x242))/0xa)+parseInt(_0x3386d0(0x299))/0xb*(parseInt(_0x3386d0(0x203))/0xc);if(_0x44e18c===_0x289ed2)break;else _0x45721b['push'](_0x45721b['shift']());}catch(_0x5a786b){_0x45721b['push'](_0x45721b['shift']());}}}(a9_0x38a0,0xa8ba7));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a9_0x2521cf(0x288)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a9_0x2521cf(0x20c)),setKeepAlive=require(a9_0x2521cf(0x209)),util=require(a9_0x2521cf(0x25d)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require(a9_0x2521cf(0x22e)),{commandRepository}=require(a9_0x2521cf(0x279)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a9_0x2521cf(0x272)),logger=require(a9_0x2521cf(0x1e1))[a9_0x2521cf(0x1c9)],{shouldProcessEventForTesthub}=require('../../helpers/testhub/utils'),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a9_0x2521cf(0x1f2)),TestDetails=require(a9_0x2521cf(0x24c)),TestInfo=require(a9_0x2521cf(0x23f)),RequestQueueHandler=require(a9_0x2521cf(0x29d)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a9_0x2521cf(0x296)),SessionHandler=require(a9_0x2521cf(0x1e4)),scripts=require(a9_0x2521cf(0x29f)),globals=require(a9_0x2521cf(0x27e)),testHubConstants=require(a9_0x2521cf(0x24f)),{shouldScanTestForAccessibility}=require(a9_0x2521cf(0x27c)),{isUndefined}=require(a9_0x2521cf(0x208)),helper=require(a9_0x2521cf(0x288)),a9_0x478c26={};a9_0x478c26['workerInfo']=undefined,a9_0x478c26[a9_0x2521cf(0x214)]={},a9_0x478c26['o11ySyncDone']=![],a9_0x478c26['pwPage']=null,a9_0x478c26['isPageFixture']=![],a9_0x478c26[a9_0x2521cf(0x214)]['id']=undefined,a9_0x478c26[a9_0x2521cf(0x214)][a9_0x2521cf(0x200)]=undefined;const workerDetails=a9_0x478c26;global[a9_0x2521cf(0x225)]=workerDetails;function a9_0x38a0(){const _0x361074=['Idxii','NBMpZ','../v2/state/automationFrameworkState','cPHiA','PpyDn','catch','Patching\x20Playwright','NymDl','patchPageCommandsForAccessibility','1796240bqxEYr','Error\x20sending\x20log\x20created\x20event:\x20','stringify','../playwright/reporter/reporter.js','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','efiiG','99abAwyS','nATLz','YBjMF','__sessionFailed','../../helpers/test-observability/requestQueueHandler','executeDeferredCloses','../../helpers/accessibility-automation/scripts','Error:\x20at\x20After\x20(Playwright):\x20','SDnku','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','GTIfO','browserstackAgentV2','nfMZC','nCUad','result','__skipSessionName','push','mMBsO','../../index','passed','6CnCEZL','UYxWw','format','setTestNameForHealingContext','initializePlaywrightPatching','../utils/playwright-patcher','ilsVA','Error:\x20quiting\x20driver\x20at\x20After:\x20','CBTSessionCreated','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Inside\x20browserstack\x20registerListeners','ZUauE','JLShi','failed','executeAsyncScript','uuid','557189MOBWAY','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Inside\x20browserstack\x20After','__drivers','zwAuv','thBuildUuid','session_','1480885lVhmUd','cleanup','\x0aError:\x20','ajYGu','fyvEA','debug','env','startMonitoring','status','testFramework','thTestRunUuid','winstonLogger','../v2/browserstackCLI','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','LbeGT','BROWSERSTACK_TESTHUB_UUID','stopMonitoring','__error_messages__','closeTracker','scenario','message','info','rEnEr','cucumber-test','Error\x20triggering\x20AutomationFramework\x20events:\x20','UjPXl','join','initQuit','event_type','jIXEm','finally','EIwyG','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','pid','name','../../helpers/logger','4vUgEMO','BOHkz','../../helpers/test-observability/sessionHandler','beforeTestHook','timeout','npikq','Inside\x20browserstack\x20BeforeAll','executeScript','AfterStep','WGgYI','VAuqz','shutdown','Passed','../v2/browserstackCLI.js','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','__timeout','../../helpers/test-observability/utils','anShT','uploadEventData','BSTACK_CONFIG','XihND','Error:\x20cleaning\x20up\x20driver:\x20','thJwtToken',',\x22level\x22:\x20\x22','tags','saveTestResults','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','iaqIT','getInstance','Error:\x20sendPlatformDetails\x20at\x20After:\x20','testInfo','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','driverCleanup','1644048fgYqzC','PLAYWRIGHT','Passed:\x20','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','page','lodash','../../helpers/setKeepAlive','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','removeAllListeners','../utils/constants','Patching\x20Selenium','wIaZb','PgKQj','Error\x20in\x20fallback\x20cleanup:\x20','pwPage','bootstrap','text','currentTest','TvLAi','yXYuT','pickle','vZECr','vClSU','hlyHW','eoUyn','diiKd','40LZqnVW','error','1059717ddLHJF','Failed:\x20','skipSessionName','shift','performScan','pfbLz','__workerDetails','Completed\x20Playwright\x20afterTestHook\x20execution','getGlobal','byizB','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','Cucumber-JS','tevDx','__skipSessionStatus','__currentTestInfo','../../helpers/performance/constants','getTestUUID','Inside\x20browserstack\x20Before','skipSessionStatus','yYCEM','Cleaned\x20up\x20Playwright\x20close\x20tracker','kjvXv','parse','OfHEj','BROWSERSTACK_TESTHUB_JWT','map','ENV_VAR','Gxtzl','isAccessibilityPlatform','RvuSe','isRunning','mXXCW','../v2/TestInfo.js','NAEdS','jMQWw','11806730cJaEwk','split','LHPou','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','JIGMn',',\x20isPlaywrightFlow=','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','NFpsU','pickleStep','../playwright/reporter/test-details.js','WNLwP','fFPOf','../../helpers/testhub/constants.js','toString','CBttw','Inside\x20browserstack\x20AfterStep','MAeoc','browserstackSessionName','Error\x20cleaning\x20up\x20close\x20tracker:\x20','toLowerCase','setGlobal','BrSRp','CUCUMBER','ovZhO','rMkrJ','then','util','Unknown\x20Test','../v2/cliUtils','ApQME','bstack','integrations','../v2/state/hookState','UQzTY','Error:\x20at\x20After\x20Step:\x20','storeLogObjects','Performing\x20scan\x20before\x20saving\x20results','xejul','platformCaps','@playwright/test','testCaseStartedId','CdjzU','\x22}}','LLJdO','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','3557010KrvcNx','dppiq','@cucumber/cucumber','setFrameworkDetail','bs:addLog:','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','cucumber-js','Flow\x20detection:\x20isSeleniumFlow=','9PTyYHN','../../helpers/ai-sdk/autoHealHelper','3|2|4|1|0','getPackageVersion','../../helpers/accessibility-automation/helper','Error\x20in\x20playwright\x20beforeTestHook:\x20','../../helpers/globals','MyTCy','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','JMmuD','PRE','bstackA11yShouldScan','test_run_uuid','length','setDefaultTimeout','setConfig','../../helpers/helper','quitCount_'];a9_0x38a0=function(){return _0x361074;};return a9_0x38a0();}let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x44d6c6){const _0x56a445=a9_0x2521cf,_0x4fb1b4={'tevDx':function(_0x3a1332,_0x18c64d){return _0x3a1332(_0x18c64d);},'ApQME':_0x56a445(0x1ca),'cPHiA':_0x56a445(0x280)},_0x140a6f=workerDetails[_0x56a445(0x214)][_0x56a445(0x200)];if(!_0x140a6f)return;if(playwrightPatcher)try{const _0x3ead8a=_0x4fb1b4[_0x56a445(0x22b)](require,_0x4fb1b4[_0x56a445(0x260)]);if(_0x3ead8a[_0x56a445(0x1fe)]()[_0x56a445(0x23d)]()){const _0x186d8d=_0x140a6f[_0x56a445(0x26b)];_0x186d8d?(_0x44d6c6[_0x56a445(0x1b6)]=_0x186d8d,_0x44d6c6[_0x56a445(0x284)]=_0x186d8d,TestInfo[_0x56a445(0x266)](_0x186d8d,_0x44d6c6)):logger['debug'](_0x4fb1b4[_0x56a445(0x28d)]);return;}}catch(_0x39f618){logger[_0x56a445(0x1c3)](_0x56a445(0x294)+util[_0x56a445(0x2af)](_0x39f618));}await MyReporter['addTestUIDAndReportLog'](_0x140a6f,_0x44d6c6);}),registerListeners=()=>{const _0x1a4a39=a9_0x2521cf,_0x45e2b6={};_0x45e2b6['zwAuv']=_0x1a4a39(0x1b1);const _0x3a2578=_0x45e2b6;logger['debug'](_0x3a2578[_0x1a4a39(0x1bb)]),process[_0x1a4a39(0x20b)](_0x1a4a39(0x274)+process['pid']),process['on'](_0x1a4a39(0x274)+process[_0x1a4a39(0x1df)],sendTestLog),PerformanceTester[_0x1a4a39(0x1c5)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule['Before'],After=cucumberModule['After'],AfterAll=cucumberModule['AfterAll'],BeforeAll=cucumberModule['BeforeAll'],AfterStep=cucumberModule[a9_0x2521cf(0x1ea)],configuration=process[a9_0x2521cf(0x1c4)]['CONFIG'],bstackConfig=process['env'][a9_0x2521cf(0x1f5)];if(configuration!==undefined){const config=JSON['parse'](configuration);isBrowserstackInfra()?(global[a9_0x2521cf(0x2a8)]=isTrue(config[a9_0x2521cf(0x221)]),global[a9_0x2521cf(0x22c)]=isTrue(config[a9_0x2521cf(0x231)])):(global['__skipSessionName']=!![],global['__skipSessionStatus']=!![]);!helper[a9_0x2521cf(0x27b)]('@playwright/test')&&(logger[a9_0x2521cf(0x1c3)](a9_0x2521cf(0x20d)),shouldProcessEventForTesthub()?require(a9_0x2521cf(0x2ab))[a9_0x2521cf(0x2a4)](config,null,!![]):require(a9_0x2521cf(0x2ab))['browserstackAgentV2'](config));global['__platformCaps']=config[a9_0x2521cf(0x269)]||{};if(helper[a9_0x2521cf(0x27b)](a9_0x2521cf(0x26a)))try{logger[a9_0x2521cf(0x1c3)](a9_0x2521cf(0x290)),playwrightPatcher=require(a9_0x2521cf(0x2b2)),playwrightPatcher[a9_0x2521cf(0x2b1)](config),logger[a9_0x2521cf(0x1c3)](a9_0x2521cf(0x20a));}catch(a9_0x5c1ff2){logger['debug']('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a9_0x2521cf(0x2af)](a9_0x5c1ff2));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a9_0x2521cf(0x235)](bstackConfig);browserStackConfig&&(commandRepository[a9_0x2521cf(0x287)](browserStackConfig),commandRepository['setFramework'](a9_0x2521cf(0x276)));}global[a9_0x2521cf(0x1f1)]=0x0;const __setDefaultTimeout=cucumberModule[a9_0x2521cf(0x286)];cucumberModule[a9_0x2521cf(0x286)]=_0xa22e3d=>{const _0x5de05e=a9_0x2521cf,_0x367a65={'JMmuD':function(_0x17121c,_0x3579da){return _0x17121c(_0x3579da);}};global[_0x5de05e(0x1f1)]=_0xa22e3d,_0x367a65[_0x5de05e(0x281)](__setDefaultTimeout,_0xa22e3d);};const a9_0x4766b1={};a9_0x4766b1[a9_0x2521cf(0x1e0)]=a9_0x2521cf(0x261),BeforeAll(a9_0x4766b1,async function(){const _0x11840b=a9_0x2521cf,_0x1153dd={'PgKQj':function(_0xa8a71e,_0x4d5147,_0x3bb303,_0x47ae6b){return _0xa8a71e(_0x4d5147,_0x3bb303,_0x47ae6b);},'ovZhO':_0x11840b(0x1b4),'jMQWw':'\x20|\x20','nCUad':function(_0x575090,_0x27411c,_0x7d7484){return _0x575090(_0x27411c,_0x7d7484);},'zpbrW':_0x11840b(0x2ac),'XihND':_0x11840b(0x1e8),'dppiq':function(_0x25c9c8,_0x516bdb){return _0x25c9c8(_0x516bdb);},'Gxtzl':_0x11840b(0x1ca),'nfMZC':_0x11840b(0x25f),'LbeGT':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','eoUyn':function(_0x5692d3){return _0x5692d3();},'NBMpZ':function(_0x2f5d1e,_0x52aa4d){return _0x2f5d1e(_0x52aa4d);}};PerformanceTester[_0x11840b(0x1c5)](),logger[_0x11840b(0x1c3)](_0x1153dd[_0x11840b(0x1f6)]),global[_0x11840b(0x1cf)]=[],global[_0x11840b(0x29c)]=![];if(playwrightPatcher)try{const _0x4726eb=_0x1153dd[_0x11840b(0x271)](require,_0x1153dd[_0x11840b(0x23a)]),_0x44e61b=_0x1153dd[_0x11840b(0x271)](require,_0x1153dd[_0x11840b(0x2a5)]);_0x4726eb[_0x11840b(0x1fe)]()['isCliEnabled']()&&(logger[_0x11840b(0x1c3)](_0x1153dd[_0x11840b(0x1cc)]),_0x44e61b[_0x11840b(0x273)](FRAMEWORKS[_0x11840b(0x259)],FRAMEWORKS[_0x11840b(0x204)]),await _0x4726eb['getInstance']()[_0x11840b(0x212)]());}catch(_0x483fed){logger[_0x11840b(0x1c3)]('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util['format'](_0x483fed));}_0x1153dd[_0x11840b(0x21b)](shouldProcessEventForTesthub)&&(_0x1153dd[_0x11840b(0x21b)](registerListeners),_0x1153dd[_0x11840b(0x28b)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x55f34c=_0x11840b;let _0x46fa13=![];try{global[_0x55f34c(0x1ba)]&&global[_0x55f34c(0x1ba)][0x0]&&(await global[_0x55f34c(0x1ba)][0x0]['session_'],_0x46fa13=!![],global[_0x55f34c(0x29c)]?await _0x1153dd[_0x55f34c(0x20f)](markSessionStatus,global[_0x55f34c(0x1ba)][0x0],_0x1153dd[_0x55f34c(0x25a)],global[_0x55f34c(0x1cf)][_0x55f34c(0x1d8)](_0x1153dd[_0x55f34c(0x241)])):await _0x1153dd[_0x55f34c(0x2a6)](markSessionStatus,global[_0x55f34c(0x1ba)][0x0],_0x1153dd['zpbrW']));}catch(_0x3cc31b){logger[_0x55f34c(0x1c3)](_0x55f34c(0x1f7)+_0x3cc31b);}global[_0x55f34c(0x1cf)]=[],global[_0x55f34c(0x29c)]=![];if(_0x46fa13)try{await global[_0x55f34c(0x1ba)][0x0][_0x55f34c(0x1d9)](),global[_0x55f34c(0x1ba)][0x0]['session_'][_0x55f34c(0x25c)](_0x1a4573=>{logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x1a4573['getId']());})[_0x55f34c(0x28f)](_0x55b4ad=>{});}catch(_0x20273e){logger[_0x55f34c(0x1c3)](_0x55f34c(0x249)+_0x20273e);}};});const a9_0x841caa={};a9_0x841caa[a9_0x2521cf(0x1e0)]=a9_0x2521cf(0x261),a9_0x841caa[a9_0x2521cf(0x1e6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2521cf(0x22a)],Before(a9_0x841caa,function(_0x2aa7d5,_0x405bd4){const _0x3023d6=a9_0x2521cf,_0x24f2ee={'mjbrm':function(_0x505fc3,_0x4374eb){return _0x505fc3>_0x4374eb;},'GKFde':function(_0xace41e,_0x4f98dd){return _0xace41e>_0x4f98dd;},'TvLAi':function(_0x57faf3,_0x4f0ec2){return _0x57faf3(_0x4f0ec2);},'ajYGu':function(_0x23f1c1,_0x1ce1b2,_0x5ea1fe,_0x3edc95){return _0x23f1c1(_0x1ce1b2,_0x5ea1fe,_0x3edc95);},'kxXgI':_0x3023d6(0x283),'JLShi':'../v2/browserstackCLI','yYCEM':function(_0x1b5878,_0x128660){return _0x1b5878(_0x128660);},'anShT':_0x3023d6(0x28c),'ndrPD':'../v2/state/hookState','SDnku':_0x3023d6(0x25e),'WGgYI':_0x3023d6(0x1d5),'JMZLl':function(_0xf8a288){return _0xf8a288();},'jIXEm':_0x3023d6(0x230)};commandRepository[_0x3023d6(0x2b0)](_0x2aa7d5[_0x3023d6(0x217)][_0x3023d6(0x1e0)]),logger['debug'](_0x24f2ee[_0x3023d6(0x1db)]),new Promise(async _0x446ecf=>{const _0x515e46=_0x3023d6;try{global[_0x515e46(0x1ba)]&&_0x24f2ee['mjbrm'](global[_0x515e46(0x1ba)][_0x515e46(0x285)],0x1)&&(await global[_0x515e46(0x202)](),global[_0x515e46(0x1ba)][_0x515e46(0x222)]()),global['__drivers']&&global[_0x515e46(0x1ba)][0x0]&&global[_0x515e46(0x1ba)][0x0]['quitCount_']&&_0x24f2ee['GKFde'](global[_0x515e46(0x1ba)][0x0][_0x515e46(0x289)],0x0)&&await global[_0x515e46(0x202)]();}catch(_0x1f9e83){logger[_0x515e46(0x1c3)](_0x515e46(0x1de)+_0x1f9e83);}workerDetails[_0x515e46(0x214)]['testInfo']=_0x2aa7d5;if(!playwrightPatcher)try{if(!_0x24f2ee[_0x515e46(0x215)](isUndefined,_0x2aa7d5[_0x515e46(0x217)][_0x515e46(0x1fa)])){const _0x46a9a9=_0x24f2ee[_0x515e46(0x1c1)](shouldScanTestForAccessibility,null,![],_0x2aa7d5[_0x515e46(0x217)][_0x515e46(0x1fa)][_0x515e46(0x238)](({name:_0x4cbd21})=>_0x4cbd21));globals[_0x515e46(0x257)](_0x24f2ee['kxXgI'],_0x46a9a9);}}catch(_0x146af4){logger['debug'](_0x515e46(0x206)+util[_0x515e46(0x2af)](_0x146af4));}if(playwrightPatcher)try{await playwrightPatcher[_0x515e46(0x1e5)](_0x2aa7d5),global[_0x515e46(0x225)]&&global[_0x515e46(0x225)]['pwPage']&&playwrightPatcher[_0x515e46(0x292)](global[_0x515e46(0x225)]['pwPage']);}catch(_0x775fec){logger[_0x515e46(0x1c3)](_0x515e46(0x27d)+util[_0x515e46(0x2af)](_0x775fec));}if(playwrightPatcher)try{const _0x1ea5b1=_0x24f2ee[_0x515e46(0x215)](require,_0x24f2ee[_0x515e46(0x1b3)]),_0x22daa6=_0x24f2ee[_0x515e46(0x232)](require,_0x24f2ee[_0x515e46(0x1f3)]),_0x5c15a7=_0x24f2ee[_0x515e46(0x215)](require,_0x24f2ee['ndrPD']);if(_0x1ea5b1[_0x515e46(0x1fe)]()[_0x515e46(0x23d)]()){const _0x1d0599={'title':_0x2aa7d5[_0x515e46(0x217)]['name']||_0x24f2ee['SDnku'],'titlePath':[_0x2aa7d5[_0x515e46(0x217)]['name']||_0x24f2ee[_0x515e46(0x2a1)]],'id':_0x2aa7d5[_0x515e46(0x26b)]||_0x24f2ee[_0x515e46(0x1eb)],'tags':_0x2aa7d5[_0x515e46(0x217)][_0x515e46(0x1fa)]||[],..._0x2aa7d5},_0x2931df=_0x1d0599;global[_0x515e46(0x22d)]=_0x2931df,logger[_0x515e46(0x1c3)](_0x515e46(0x1fc)+_0x2aa7d5[_0x515e46(0x217)]['name']);}}catch(_0x2cf454){logger['debug'](_0x515e46(0x1d6)+util['format'](_0x2cf454));}_0x24f2ee['JMZLl'](_0x446ecf);})[_0x3023d6(0x1dc)](_0x405bd4);});const a9_0x29863c={};a9_0x29863c[a9_0x2521cf(0x1e0)]=a9_0x2521cf(0x261),a9_0x29863c['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2521cf(0x22a)],After(a9_0x29863c,function(_0x4cf965,_0x53b4ad){const _0x573138=a9_0x2521cf,_0x53f5e3={'GybSG':function(_0x28d4ae,_0x36829e){return _0x28d4ae>_0x36829e;},'mXXCW':function(_0x52454b,_0x1167f6){return _0x52454b===_0x1167f6;},'efiiG':_0x573138(0x1b4),'CBttw':function(_0x3cc2c0,_0x16fc51){return _0x3cc2c0>_0x16fc51;},'hlyHW':function(_0x117848,_0x3efd4a,_0xd3e8f,_0x4c342e){return _0x117848(_0x3efd4a,_0xd3e8f,_0x4c342e);},'UjPXl':'\x20|\x20','fFPOf':function(_0x2af7dd,_0xd9dfc1,_0x140e27){return _0x2af7dd(_0xd9dfc1,_0x140e27);},'UQzTY':_0x573138(0x2ac),'PpyDn':function(_0x3d8479,_0x3243b8){return _0x3d8479(_0x3243b8);},'LLJdO':_0x573138(0x1ca),'WNLwP':function(_0x36b249,_0x5dd8a5){return _0x36b249(_0x5dd8a5);},'wIaZb':_0x573138(0x28c),'EIwyG':function(_0x15ce3d,_0x5c60d0){return _0x15ce3d(_0x5c60d0);},'YBjMF':_0x573138(0x263),'OfHEj':_0x573138(0x25e),'LHPou':_0x573138(0x1d5),'CdjzU':_0x573138(0x226),'PnbuM':_0x573138(0x229),'mMBsO':'Cleaned\x20up\x20close\x20tracker','UYxWw':_0x573138(0x1b8),'JIGMn':'Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','npikq':function(_0x1bc3cf,_0x258f1e){return _0x1bc3cf(_0x258f1e);},'MyTCy':_0x573138(0x1ef),'NAEdS':function(_0x1485dc){return _0x1485dc();},'tBprk':function(_0x4d5dfe,_0x2cb2e0,_0x33cf56,_0x15833b){return _0x4d5dfe(_0x2cb2e0,_0x33cf56,_0x15833b);},'NymDl':_0x573138(0x2b5),'yXYuT':_0x573138(0x23b),'kjvXv':_0x573138(0x283),'fyvEA':_0x573138(0x2b6),'tpKvt':_0x573138(0x267),'nATLz':_0x573138(0x248),'VAuqz':function(_0x422463,_0xf7d6db){return _0x422463>_0xf7d6db;},'pfbLz':function(_0x29de4c){return _0x29de4c();},'HLskO':_0x573138(0x1b9)};logger[_0x573138(0x1c3)](_0x53f5e3['HLskO']),workerDetails['currentTest']['testInfo']=_0x4cf965,new Promise(async _0x22fbd6=>{const _0x2b65ae=_0x573138;let _0x2eeb26=![],_0x172c3c=![],_0x18fa9c=![];try{global['__drivers']&&_0x53f5e3['GybSG'](global['__drivers']['length'],0x0)&&(_0x172c3c=!![]),playwrightPatcher&&global[_0x2b65ae(0x225)]&&global[_0x2b65ae(0x225)]['pwPage']&&(_0x18fa9c=!![],logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x275)+!!global[_0x2b65ae(0x225)][_0x2b65ae(0x211)]));}catch(_0x2d9215){logger[_0x2b65ae(0x1c3)]('Error\x20determining\x20test\x20flow:\x20'+_0x2d9215);}logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x277)+_0x172c3c+_0x2b65ae(0x247)+_0x18fa9c);const _0x2d121d=_0x4cf965[_0x2b65ae(0x2a7)][_0x2b65ae(0x1c6)][_0x2b65ae(0x250)]()[_0x2b65ae(0x256)](),_0x161470=_0x53f5e3[_0x2b65ae(0x23e)](_0x2d121d,_0x53f5e3[_0x2b65ae(0x298)])||_0x53f5e3[_0x2b65ae(0x23e)](_0x2d121d,'6'),_0x109e92=_0x161470?_0x4cf965['result'][_0x2b65ae(0x1d2)]:null;if(_0x161470)try{global[_0x2b65ae(0x1cf)][_0x2b65ae(0x2a9)](_0x4cf965[_0x2b65ae(0x2a7)][_0x2b65ae(0x1d2)]),global['__sessionFailed']=!![];}catch(_0x23649a){logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x2a2)+_0x23649a);}if(_0x172c3c)try{global[_0x2b65ae(0x1ba)]&&_0x53f5e3[_0x2b65ae(0x251)](global[_0x2b65ae(0x1ba)][_0x2b65ae(0x285)],0x1)&&(await global[_0x2b65ae(0x202)](),global[_0x2b65ae(0x1ba)][_0x2b65ae(0x222)](),global[_0x2b65ae(0x1cf)]=[],global[_0x2b65ae(0x29c)]=![]),global[_0x2b65ae(0x1ba)]&&global[_0x2b65ae(0x1ba)][0x0]&&(await global[_0x2b65ae(0x1ba)][0x0]['session_'],_0x2eeb26=!![],!global[_0x2b65ae(0x2a8)]&&await global[_0x2b65ae(0x1ba)][0x0]['executeScript'](_0x2b65ae(0x245)+_0x4cf965[_0x2b65ae(0x217)][_0x2b65ae(0x1e0)]+'\x22}}'),_0x161470?await _0x53f5e3[_0x2b65ae(0x21a)](markSessionStatus,global[_0x2b65ae(0x1ba)][0x0],_0x53f5e3[_0x2b65ae(0x298)],global[_0x2b65ae(0x1cf)][_0x2b65ae(0x1d8)](_0x53f5e3[_0x2b65ae(0x1d7)])):await _0x53f5e3[_0x2b65ae(0x24e)](markSessionStatus,global[_0x2b65ae(0x1ba)][0x0],_0x53f5e3[_0x2b65ae(0x264)]));}catch(_0x541d0b){logger[_0x2b65ae(0x1c3)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x2b65ae(0x2af)](_0x541d0b));}if(_0x18fa9c)try{try{const _0x761110=_0x53f5e3[_0x2b65ae(0x28e)](require,_0x53f5e3[_0x2b65ae(0x26e)]),_0xd3590c=_0x53f5e3[_0x2b65ae(0x24d)](require,_0x53f5e3[_0x2b65ae(0x20e)]),_0x5452ac=_0x53f5e3[_0x2b65ae(0x1dd)](require,_0x53f5e3[_0x2b65ae(0x29b)]);if(_0x761110[_0x2b65ae(0x1fe)]()['isRunning']()){const _0x1d10f7={'title':_0x4cf965['pickle'][_0x2b65ae(0x1e0)]||_0x53f5e3['OfHEj'],'titlePath':[_0x4cf965[_0x2b65ae(0x217)][_0x2b65ae(0x1e0)]||_0x53f5e3[_0x2b65ae(0x236)]],'id':_0x4cf965[_0x2b65ae(0x26b)]||_0x53f5e3[_0x2b65ae(0x244)],'status':_0x161470?_0x53f5e3[_0x2b65ae(0x298)]:_0x53f5e3[_0x2b65ae(0x264)],'error':_0x109e92?{'message':_0x109e92}:null,'tags':_0x4cf965['pickle']['tags']||[],..._0x4cf965},_0x3155b6=_0x1d10f7,_0x546ef0={};_0x546ef0[_0x2b65ae(0x200)]=_0x3155b6,_0x546ef0[_0x2b65ae(0x1d1)]=_0x4cf965,_0x546ef0[_0x2b65ae(0x207)]=global[_0x2b65ae(0x225)]['pwPage'],_0x546ef0[_0x2b65ae(0x1c7)]=FRAMEWORKS[_0x2b65ae(0x259)],await _0x761110[_0x2b65ae(0x1fe)]()['getAutomationFramework']()['trackEvent'](_0xd3590c['QUIT'],_0x5452ac[_0x2b65ae(0x282)],_0x546ef0),logger[_0x2b65ae(0x1c3)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x4cf965[_0x2b65ae(0x217)][_0x2b65ae(0x1e0)]);}}catch(_0xc1ca7b){logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x1cb)+util['format'](_0xc1ca7b));}const _0x3f9848=_0x161470?_0x53f5e3[_0x2b65ae(0x298)]:_0x53f5e3['UQzTY'];await playwrightPatcher['afterTestHook'](_0x4cf965,_0x3f9848,_0x109e92),logger[_0x2b65ae(0x1c3)](_0x53f5e3[_0x2b65ae(0x26c)]);try{await playwrightPatcher[_0x2b65ae(0x29e)](),logger[_0x2b65ae(0x1c3)](_0x53f5e3['PnbuM']);}catch(_0xad8cd8){logger[_0x2b65ae(0x1c3)]('Error\x20executing\x20deferred\x20closes:\x20'+util[_0x2b65ae(0x2af)](_0xad8cd8));}try{playwrightPatcher[_0x2b65ae(0x1d0)][_0x2b65ae(0x1bf)](),logger[_0x2b65ae(0x1c3)](_0x53f5e3[_0x2b65ae(0x2aa)]);}catch(_0x486445){logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x255)+util['format'](_0x486445));}}catch(_0x4bc1a2){logger['debug'](_0x2b65ae(0x2a0)+util[_0x2b65ae(0x2af)](_0x4bc1a2));try{playwrightPatcher[_0x2b65ae(0x29e)]&&(await playwrightPatcher['executeDeferredCloses'](),logger[_0x2b65ae(0x1c3)](_0x53f5e3[_0x2b65ae(0x2ae)])),playwrightPatcher['closeTracker']&&playwrightPatcher[_0x2b65ae(0x1d0)][_0x2b65ae(0x1bf)]&&(playwrightPatcher[_0x2b65ae(0x1d0)][_0x2b65ae(0x1bf)](),logger[_0x2b65ae(0x1c3)](_0x53f5e3[_0x2b65ae(0x246)]));}catch(_0x5ca651){logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x210)+util[_0x2b65ae(0x2af)](_0x5ca651));}}const _0x4622d2=_0x53f5e3[_0x2b65ae(0x1e7)](require,_0x53f5e3[_0x2b65ae(0x27f)]);if(!_0x4622d2[_0x2b65ae(0x1fe)]()['isRunning']())try{if(_0x53f5e3[_0x2b65ae(0x240)](shouldProcessEventForTesthub)){const _0x37dd31=TestDetails['getTestUUID'](_0x4cf965[_0x2b65ae(0x26b)]);let _0x519337=null;global[_0x2b65ae(0x1ba)]&&global[_0x2b65ae(0x1ba)][0x0]&&(_0x519337=await _0x53f5e3['tBprk'](sendPlatformDetails,global[_0x2b65ae(0x1ba)][0x0],_0x37dd31,!![]));const _0x1270d7={};_0x1270d7['uuid']=_0x37dd31,_0x1270d7[_0x2b65ae(0x262)]=_0x519337;const _0x33a21c=_0x1270d7,_0x3a9a6e={};_0x3a9a6e[_0x2b65ae(0x1da)]=_0x53f5e3[_0x2b65ae(0x291)],_0x3a9a6e['test_run']=_0x33a21c,await SessionHandler[_0x2b65ae(0x1f4)](_0x3a9a6e);}}catch(_0x31c31e){logger['debug'](_0x2b65ae(0x1ff)+util[_0x2b65ae(0x2af)](_0x31c31e));}try{if(globals[_0x2b65ae(0x227)](_0x53f5e3[_0x2b65ae(0x216)])&&globals['getGlobal'](_0x53f5e3[_0x2b65ae(0x234)])){logger[_0x2b65ae(0x1d3)](_0x53f5e3[_0x2b65ae(0x1c2)]);const _0x589585=TestDetails[_0x2b65ae(0x22f)](_0x4cf965[_0x2b65ae(0x26b)]),_0x33abcb={};_0x33abcb[_0x2b65ae(0x1c8)]=_0x589585,_0x33abcb[_0x2b65ae(0x1bc)]=process[_0x2b65ae(0x1c4)][testHubConstants[_0x2b65ae(0x239)][_0x2b65ae(0x1cd)]],_0x33abcb[_0x2b65ae(0x1f8)]=process['env'][testHubConstants[_0x2b65ae(0x239)][_0x2b65ae(0x237)]];const _0x1b4c15=_0x33abcb;logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x201)+JSON[_0x2b65ae(0x295)](_0x1b4c15)),logger[_0x2b65ae(0x1c3)](_0x53f5e3['tpKvt']),global[_0x2b65ae(0x1ba)]&&global[_0x2b65ae(0x1ba)][0x0]&&(logger[_0x2b65ae(0x1c3)](util[_0x2b65ae(0x2af)](await global[_0x2b65ae(0x1ba)][0x0]['executeAsyncScript'](scripts[_0x2b65ae(0x223)],{'method':global[_0x2b65ae(0x254)]}))),await global[_0x2b65ae(0x1ba)][0x0][_0x2b65ae(0x1b5)](scripts[_0x2b65ae(0x1fb)],_0x1b4c15)),logger[_0x2b65ae(0x1d3)](_0x53f5e3[_0x2b65ae(0x29a)]);}}catch(_0x3e6c99){logger[_0x2b65ae(0x21e)](_0x2b65ae(0x1f0)+util[_0x2b65ae(0x2af)](_0x3e6c99));}if(_0x2eeb26)try{global['__drivers'][0x0]&&_0x53f5e3[_0x2b65ae(0x1ec)](global[_0x2b65ae(0x1ba)][0x0]['quitCount_'],0x0)&&await global[_0x2b65ae(0x1ba)][0x0]['initQuit']();}catch(_0x53c9d0){logger[_0x2b65ae(0x1c3)](_0x2b65ae(0x2b4)+_0x53c9d0);}_0x53f5e3[_0x2b65ae(0x224)](_0x22fbd6);})[_0x573138(0x1dc)](()=>_0x53b4ad());});const a9_0x22e4a6={};function a9_0x236c(_0x457b5a,_0x17e705){const _0x38a0a3=a9_0x38a0();return a9_0x236c=function(_0x236c83,_0x3377ab){_0x236c83=_0x236c83-0x1b1;let _0x4ad3a6=_0x38a0a3[_0x236c83];return _0x4ad3a6;},a9_0x236c(_0x457b5a,_0x17e705);}a9_0x22e4a6['name']=a9_0x2521cf(0x261),a9_0x22e4a6[a9_0x2521cf(0x1e6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2521cf(0x22a)],AfterStep(a9_0x22e4a6,function(_0x217b27,_0x4b1c48){const _0x36c5dc=a9_0x2521cf,_0x2224ce={'vClSU':function(_0x2bbfb2,_0x268008){return _0x2bbfb2===_0x268008;},'NFpsU':_0x36c5dc(0x1b4),'QjJsG':function(_0x41ef9a,_0x337a3b){return _0x41ef9a===_0x337a3b;},'byizB':function(_0x34755a,_0x5a5c3f){return _0x34755a!==_0x5a5c3f;},'vZECr':function(_0x4e684e,_0x388141,_0x1be5c2){return _0x4e684e(_0x388141,_0x1be5c2);},'BOHkz':function(_0x54e67e,_0x3968c2){return _0x54e67e+_0x3968c2;},'BrSRp':function(_0x202ca5,_0x16fe57){return _0x202ca5+_0x16fe57;},'diiKd':_0x36c5dc(0x220),'ilsVA':_0x36c5dc(0x1c0),'xejul':_0x36c5dc(0x21e),'iaqIT':function(_0x34bd1f,_0x79bbed){return _0x34bd1f+_0x79bbed;},'rMkrJ':_0x36c5dc(0x205),'RvuSe':_0x36c5dc(0x1d3),'Idxii':_0x36c5dc(0x1ee),'MAeoc':function(_0x5d0f7a){return _0x5d0f7a();},'mXeyn':_0x36c5dc(0x252)};logger[_0x36c5dc(0x1c3)](_0x2224ce['mXeyn']);const _0x29c4d5=async(_0x1e2a86,_0x1c6466)=>{const _0x47e211=_0x36c5dc;global[_0x47e211(0x1ba)]&&global[_0x47e211(0x1ba)][0x0]&&await global[_0x47e211(0x1ba)][0x0][_0x47e211(0x1e9)]('browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:'+_0x1e2a86+_0x47e211(0x1f9)+_0x1c6466+_0x47e211(0x26d));};new Promise(async _0x3a0c09=>{const _0x27f880=_0x36c5dc;try{const _0x580cfb=_0x2224ce[_0x27f880(0x219)](_0x217b27[_0x27f880(0x2a7)][_0x27f880(0x1c6)]['toString']()[_0x27f880(0x256)](),_0x2224ce[_0x27f880(0x24a)])||_0x2224ce['QjJsG'](_0x217b27['result'][_0x27f880(0x1c6)][_0x27f880(0x250)]()[_0x27f880(0x256)](),'6');_0x580cfb?(global[_0x27f880(0x29c)]=!![],global[_0x27f880(0x1cf)][_0x27f880(0x2a9)](_0x217b27['result']['message']),_0x2224ce[_0x27f880(0x228)](_0x217b27[_0x27f880(0x24b)],undefined)?await _0x2224ce[_0x27f880(0x218)](_0x29c4d5,JSON[_0x27f880(0x295)](_0x2224ce[_0x27f880(0x1e3)](_0x2224ce[_0x27f880(0x1e3)](_0x2224ce[_0x27f880(0x258)](_0x2224ce[_0x27f880(0x21c)],'\x22'+_0x217b27['pickleStep'][_0x27f880(0x213)]+'\x22\x20'),_0x2224ce[_0x27f880(0x2b3)]),_0x217b27[_0x27f880(0x2a7)][_0x27f880(0x1d2)])),_0x2224ce[_0x27f880(0x268)]):await _0x2224ce['vZECr'](_0x29c4d5,JSON[_0x27f880(0x295)](_0x2224ce[_0x27f880(0x1fd)](_0x2224ce[_0x27f880(0x21c)],_0x217b27[_0x27f880(0x2a7)][_0x27f880(0x1d2)])),_0x2224ce[_0x27f880(0x268)])):_0x2224ce[_0x27f880(0x228)](_0x217b27['pickleStep'],undefined)?await _0x2224ce['vZECr'](_0x29c4d5,JSON['stringify'](_0x2224ce['BOHkz'](_0x2224ce[_0x27f880(0x25b)],'\x22'+_0x217b27['pickleStep'][_0x27f880(0x213)]+'\x22')),_0x2224ce['RvuSe']):await _0x2224ce['vZECr'](_0x29c4d5,JSON['stringify'](_0x2224ce[_0x27f880(0x28a)]),_0x2224ce[_0x27f880(0x23c)]),global[_0x27f880(0x1ba)]&&global['__drivers'][0x0]&&global[_0x27f880(0x1ba)][0x0][_0x27f880(0x1bd)][_0x27f880(0x25c)](_0x1c0084=>{})[_0x27f880(0x28f)](_0x1840e1=>{const _0x410682=_0x27f880;logger['debug'](_0x410682(0x297)+util[_0x410682(0x2af)](_0x1840e1));});}catch(_0x2e85b4){logger['debug'](_0x27f880(0x265)+_0x2e85b4);}_0x2224ce[_0x27f880(0x253)](_0x3a0c09);})[_0x36c5dc(0x1dc)](()=>_0x4b1c48());});const a9_0x4a601b={};a9_0x4a601b[a9_0x2521cf(0x1e0)]=a9_0x2521cf(0x261),a9_0x4a601b[a9_0x2521cf(0x1e6)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a9_0x2521cf(0x22a)],AfterAll(a9_0x4a601b,async function(_0x97de91,_0x455e0f){const _0x371aa6=a9_0x2521cf,_0x6a7b94={'ZUauE':_0x371aa6(0x27a),'tIvQH':function(_0x5972bb){return _0x5972bb();},'rEnEr':_0x371aa6(0x233),'GTIfO':'Inside\x20browserstack\x20AfterAll'};logger[_0x371aa6(0x1c3)](_0x6a7b94[_0x371aa6(0x2a3)]),await new Promise(async _0x479eb4=>{const _0x242c50=_0x371aa6,_0x4b4c16=_0x6a7b94[_0x242c50(0x1b2)][_0x242c50(0x243)]('|');let _0x3806fb=0x0;while(!![]){switch(_0x4b4c16[_0x3806fb++]){case'0':_0x6a7b94['tIvQH'](_0x479eb4);continue;case'1':await global[_0x242c50(0x202)]();continue;case'2':PerformanceTester[_0x242c50(0x1ce)]();continue;case'3':await RequestQueueHandler[_0x242c50(0x1fe)]()[_0x242c50(0x1ed)]();continue;case'4':try{playwrightPatcher&&playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher['executeDeferredCloses'](),playwrightPatcher[_0x242c50(0x1d0)]&&playwrightPatcher[_0x242c50(0x1d0)]['cleanup'](),logger[_0x242c50(0x1c3)](_0x6a7b94[_0x242c50(0x1d4)]));}catch(_0x1c211a){logger[_0x242c50(0x1c3)](_0x242c50(0x26f)+util['format'](_0x1c211a));}continue;}break;}});});
|