browserstack-node-sdk 1.53.5 → 1.53.6
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/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/loadTestModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/puppeteerDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/v2/utils/cucumber-utils.js +1 -1
- package/src/bin/v2/utils/jest-utils.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/accessibilityRetryHelper.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a90_0x2f8370=a90_0x2908;(function(_0x437d72,_0x162e33){const _0x5e8e69=a90_0x2908,_0x3c551c=_0x437d72();while(!![]){try{const _0x366034=parseInt(_0x5e8e69(0x13d))/0x1+-parseInt(_0x5e8e69(0x1d9))/0x2+-parseInt(_0x5e8e69(0x14f))/0x3*(parseInt(_0x5e8e69(0x1c5))/0x4)+parseInt(_0x5e8e69(0x166))/0x5*(parseInt(_0x5e8e69(0x176))/0x6)+parseInt(_0x5e8e69(0x138))/0x7+-parseInt(_0x5e8e69(0x156))/0x8+parseInt(_0x5e8e69(0x1d8))/0x9;if(_0x366034===_0x162e33)break;else _0x3c551c['push'](_0x3c551c['shift']());}catch(_0x3225bb){_0x3c551c['push'](_0x3c551c['shift']());}}}(a90_0x4bb3,0x249ca));const util=require(a90_0x2f8370(0x150)),BaseModule=require(a90_0x2f8370(0x129)),{createClassLogger}=require(a90_0x2f8370(0x16b)),{getFrameworkVersion}=require('../../../helpers/test-observability/utils'),helper=require(a90_0x2f8370(0x154)),{FRAMEWORKS}=require(a90_0x2f8370(0x14e)),AutomationFramework=require(a90_0x2f8370(0x1a3)),AutomationFrameworkState=require(a90_0x2f8370(0x128)),HookState=require(a90_0x2f8370(0x125)),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x2f8370(0x17e)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require('../browserstackCLI.js'),GrpcClient=require(a90_0x2f8370(0x1b3)),PerformanceTester=require(a90_0x2f8370(0x127)),PerformanceEvents=require(a90_0x2f8370(0x17d))[a90_0x2f8370(0x1e6)],TestInfo=require(a90_0x2f8370(0x13a)),{getPlaywrightProvider,getProductForSession}=require(a90_0x2f8370(0x17e)),LoadTestModule=require(a90_0x2f8370(0x1b6)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),TestFrameworkState=require(a90_0x2f8370(0x12e)),JestUtils=require(a90_0x2f8370(0x1fb)),TestFramework=require(a90_0x2f8370(0x204));function a90_0x2908(_0x2f4297,_0x3d074c){const _0x4bb3bb=a90_0x4bb3();return a90_0x2908=function(_0x290886,_0x16a161){_0x290886=_0x290886-0x123;let _0x3a2c71=_0x4bb3bb[_0x290886];return _0x3a2c71;},a90_0x2908(_0x2f4297,_0x3d074c);}class PuppeteerDriverModule extends BaseModule{static [a90_0x2f8370(0x174)]=a90_0x2f8370(0x148);static ['KEY_PAGE_OBJECT']=a90_0x2f8370(0x1d2);static [a90_0x2f8370(0x1c4)]='puppeteer_session_id';static [a90_0x2f8370(0x1fd)]='puppeteer_platform_index';static ['KEY_CAPABILITIES']=a90_0x2f8370(0x1a5);static [a90_0x2f8370(0x1c0)]='puppeteer_hub_url';static [a90_0x2f8370(0x1f5)]='puppeteer_platform_details';static ['KEY_TEST_ID']=a90_0x2f8370(0x1cb);static [a90_0x2f8370(0x164)]=a90_0x2f8370(0x1be);static [a90_0x2f8370(0x17c)]=new Set();static [a90_0x2f8370(0x149)]=null;['logger']=createClassLogger(a90_0x2f8370(0x1be));constructor(_0x2b3c23=null){const _0x27d336=a90_0x2f8370,_0x1864c0={};_0x1864c0['DofpL']=_0x27d336(0x142),_0x1864c0['FYGVj']=_0x27d336(0x1be);const _0x141d27=_0x1864c0,_0xde47fa=_0x141d27[_0x27d336(0x1d7)][_0x27d336(0x171)]('|');let _0x4f4d41=0x0;while(!![]){switch(_0xde47fa[_0x4f4d41++]){case'0':this['browserVersion']=null;continue;case'1':AutomationFramework[_0x27d336(0x1c9)](AutomationFrameworkState[_0x27d336(0x1db)],HookState['PRE'],this[_0x27d336(0x1ab)]['bind'](this));continue;case'2':this['browserName']=null;continue;case'3':AutomationFramework[_0x27d336(0x1c9)](AutomationFrameworkState[_0x27d336(0x1db)],HookState[_0x27d336(0x13c)],this[_0x27d336(0x139)][_0x27d336(0x178)](this));continue;case'4':this[_0x27d336(0x172)]=null;continue;case'5':AutomationFramework[_0x27d336(0x1c9)](AutomationFrameworkState[_0x27d336(0x1e9)],HookState[_0x27d336(0x124)],this[_0x27d336(0x145)]['bind'](this));continue;case'6':this[_0x27d336(0x126)]=new JestUtils();continue;case'7':super(_0x2b3c23);continue;case'8':this[_0x27d336(0x173)]=[];continue;case'9':this[_0x27d336(0x1b1)]=_0x141d27[_0x27d336(0x15e)];continue;case'10':this['testRunId']=null;continue;case'11':TestFramework['registerObserver'](TestFrameworkState[_0x27d336(0x1b8)],HookState[_0x27d336(0x13c)],this[_0x27d336(0x1a9)][_0x27d336(0x178)](this));continue;}break;}}[a90_0x2f8370(0x168)](){return PuppeteerDriverModule['MODULE_NAME'];}async[a90_0x2f8370(0x1ab)](_0x4d040a){const _0x4db588=a90_0x2f8370,_0x5079c0={};_0x5079c0[_0x4db588(0x161)]=_0x4db588(0x1b5),_0x5079c0[_0x4db588(0x1d3)]='base64',_0x5079c0[_0x4db588(0x177)]=_0x4db588(0x1e8),_0x5079c0[_0x4db588(0x196)]=_0x4db588(0x1a1),_0x5079c0[_0x4db588(0x1bb)]=function(_0x5295f9,_0x3de18b){return _0x5295f9===_0x3de18b;},_0x5079c0['RFUKq']='object',_0x5079c0[_0x4db588(0x1df)]=function(_0x1c056e,_0x514ae2){return _0x1c056e!==_0x514ae2;},_0x5079c0[_0x4db588(0x146)]=function(_0x5b1b73,_0x1d8454){return _0x5b1b73===_0x1d8454;},_0x5079c0[_0x4db588(0x192)]='string',_0x5079c0['coZtS']=function(_0x9cb10b,_0x1bb1ba){return _0x9cb10b>_0x1bb1ba;},_0x5079c0[_0x4db588(0x201)]=_0x4db588(0x1d1);const _0x428c79=_0x5079c0;try{this[_0x4db588(0x13e)]['debug'](_0x428c79['KGWHz']);const _0x4f27a8=_0x4d040a[_0x4db588(0x14c)],_0x214487=_0x4d040a[_0x4db588(0x1ca)];AutomationFramework['setState'](_0x4d040a[_0x4db588(0x12a)],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x4f27a8),AutomationFramework[_0x4db588(0x182)](_0x4d040a['instance'],PuppeteerDriverModule[_0x4db588(0x1c0)],_0x214487);const _0x2db39c=_0x4d040a[_0x4db588(0x12a)]['getRef'](),_0x2983b5=global['__bstackPlatformIndex']||0x0;AutomationFramework[_0x4db588(0x182)](_0x4d040a[_0x4db588(0x12a)],PuppeteerDriverModule[_0x4db588(0x1fd)],_0x2983b5);if(PuppeteerDriverModule[_0x4db588(0x17c)]['has'](_0x2db39c))this[_0x4db588(0x13e)][_0x4db588(0x198)](_0x4db588(0x1f3)+_0x2db39c+_0x4db588(0x162));else{PuppeteerDriverModule[_0x4db588(0x17c)]['add'](_0x2db39c),PuppeteerDriverModule[_0x4db588(0x149)]=_0x2db39c;const _0x53deb6={..._0x4f27a8};_0x53deb6['isPuppeteer']=!![];const _0x51489b=Buffer[_0x4db588(0x1ea)](JSON['stringify'](_0x53deb6)[_0x4db588(0x133)](_0x428c79['ORMtu'])),_0x31b8e7={};_0x31b8e7[_0x4db588(0x18f)]=_0x2983b5,_0x31b8e7['ref']=_0x2db39c,_0x31b8e7['userInputParams']=_0x51489b,_0x31b8e7[_0x4db588(0x1ca)]=_0x214487;const _0x2722e4=await GrpcClient[_0x4db588(0x16d)]()[_0x4db588(0x1f9)](_0x31b8e7);this[_0x4db588(0x13e)]['debug'](_0x428c79['vBMRW']);if(_0x2722e4)try{const _0x35ec74=_0x2722e4[_0x4db588(0x1a0)]?_0x2722e4[_0x4db588(0x1a0)]():_0x2722e4['capabilities'];if(_0x35ec74){let _0x2f3528;if(Buffer[_0x4db588(0x15b)](_0x35ec74))_0x2f3528=JSON['parse'](_0x35ec74[_0x4db588(0x133)](_0x428c79[_0x4db588(0x196)]));else{if(_0x428c79[_0x4db588(0x1bb)](typeof _0x35ec74,_0x428c79[_0x4db588(0x1a2)])&&_0x428c79[_0x4db588(0x1df)](_0x35ec74,null)){const _0x2d81b2=Buffer[_0x4db588(0x1ea)](Object['values'](_0x35ec74));_0x2f3528=JSON[_0x4db588(0x19a)](_0x2d81b2[_0x4db588(0x133)](_0x428c79[_0x4db588(0x196)]));}else _0x428c79[_0x4db588(0x146)](typeof _0x35ec74,_0x428c79[_0x4db588(0x192)])?_0x2f3528=JSON[_0x4db588(0x19a)](_0x35ec74):_0x2f3528=_0x35ec74;}this[_0x4db588(0x13e)]['debug'](_0x4db588(0x1d6)+JSON[_0x4db588(0x130)](_0x2f3528)),_0x2f3528&&_0x428c79[_0x4db588(0x179)](Object[_0x4db588(0x1ba)](_0x2f3528)[_0x4db588(0x180)],0x0)&&(AutomationFramework[_0x4db588(0x182)](_0x4d040a[_0x4db588(0x12a)],PuppeteerDriverModule[_0x4db588(0x1bd)],_0x2f3528),global[_0x4db588(0x1fe)]=_0x2f3528,this[_0x4db588(0x13e)][_0x4db588(0x198)](_0x428c79[_0x4db588(0x201)]));}const _0x5c38ba=_0x2722e4[_0x4db588(0x1d4)]?_0x2722e4[_0x4db588(0x1d4)]():_0x2722e4[_0x4db588(0x1ca)];_0x5c38ba&&AutomationFramework[_0x4db588(0x182)](_0x4d040a[_0x4db588(0x12a)],PuppeteerDriverModule['KEY_HUB_URL'],_0x5c38ba);}catch(_0xe7a7d5){this['logger'][_0x4db588(0x198)](_0x4db588(0x18e)+util[_0x4db588(0x1ac)](_0xe7a7d5));}}}catch(_0x1d93cc){this[_0x4db588(0x13e)][_0x4db588(0x167)]('Error\x20in\x20onBeforeDriverCreate:\x20'+util[_0x4db588(0x1ac)](_0x1d93cc));}}async[a90_0x2f8370(0x139)](_0x1418b0){const _0xb64cd3=a90_0x2f8370,_0x4507c4={'xXPvJ':function(_0x1d96f5,_0xfd3f53){return _0x1d96f5(_0xfd3f53);},'POcuv':'onAfterDriverCreate:\x20Setting\x20page\x20object','pyYxm':_0xb64cd3(0x1ad),'RGjsQ':_0xb64cd3(0x1e0),'hHZKH':_0xb64cd3(0x155),'tALuB':function(_0x4d7c13,_0x516d70){return _0x4d7c13>_0x516d70;},'NfCQo':_0xb64cd3(0x1bf),'VuMSh':_0xb64cd3(0x12f),'VcqpT':function(_0x17d7e1,_0xe33843){return _0x17d7e1===_0xe33843;},'iYdBx':_0xb64cd3(0x194)};try{this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)](_0xb64cd3(0x197)+JSON['stringify'](_0x1418b0));const _0x354f34=_0x1418b0[_0xb64cd3(0x12a)];this['puppeteerVersion']=_0x4507c4[_0xb64cd3(0x181)](getFrameworkVersion,FRAMEWORKS[_0xb64cd3(0x152)]);_0x1418b0[_0xb64cd3(0x1e2)]&&(this[_0xb64cd3(0x13e)]['debug'](_0x4507c4[_0xb64cd3(0x183)]),AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1fc)],_0x1418b0[_0xb64cd3(0x1e2)]),_0x1418b0['testInfo']?(this['logger'][_0xb64cd3(0x198)](_0x4507c4['pyYxm']),AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x123)],_0x1418b0[_0xb64cd3(0x1cc)]['id']||''),await this['markSessionName'](_0x354f34,_0x1418b0[_0xb64cd3(0x1cc)])):this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)](_0x4507c4[_0xb64cd3(0x1e7)]));if(_0x1418b0[_0xb64cd3(0x15a)]){this['logger'][_0xb64cd3(0x198)](_0x4507c4[_0xb64cd3(0x202)]),AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x174)],_0x1418b0[_0xb64cd3(0x15a)]);global[_0xb64cd3(0x1fe)]&&_0x4507c4[_0xb64cd3(0x1bc)](Object['keys'](global[_0xb64cd3(0x1fe)])[_0xb64cd3(0x180)],0x0)&&(AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1bd)],global[_0xb64cd3(0x1fe)]),this[_0xb64cd3(0x13e)]['debug'](_0x4507c4[_0xb64cd3(0x1b7)]));if(_0x1418b0[_0xb64cd3(0x15c)])AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1c4)],_0x1418b0[_0xb64cd3(0x15c)]),this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)](_0xb64cd3(0x1af)+_0x1418b0[_0xb64cd3(0x15c)]);else{if(global[_0xb64cd3(0x1c8)])AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1c4)],global['__bstackSessionId']),this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)](_0xb64cd3(0x203)+global[_0xb64cd3(0x1c8)]);else try{const _0x204523=_0x1418b0[_0xb64cd3(0x1e2)]||AutomationFramework[_0xb64cd3(0x158)](_0x354f34,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(_0x204523){const _0x4af158=await _0x204523['evaluate'](_0xcf8d3c=>{},_0x4507c4[_0xb64cd3(0x131)]);if(_0x4af158){const _0x57b40d=_0x4507c4[_0xb64cd3(0x1b0)](typeof _0x4af158,_0x4507c4['iYdBx'])?JSON['parse'](_0x4af158):_0x4af158;_0x57b40d&&_0x57b40d[_0xb64cd3(0x15f)]&&(AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1c4)],_0x57b40d['hashed_id']),global['__bstackSessionId']=_0x57b40d[_0xb64cd3(0x15f)],this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)]('onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20'+_0x57b40d['hashed_id']));}}}catch(_0x43a598){this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)]('onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20'+util['format'](_0x43a598));if(_0x1418b0['browser'][_0xb64cd3(0x13b)]&&_0x1418b0[_0xb64cd3(0x15a)]['_connection'][_0xb64cd3(0x1a8)])try{const _0x5c0a2d=_0x1418b0[_0xb64cd3(0x15a)][_0xb64cd3(0x13b)]['_url'];AutomationFramework[_0xb64cd3(0x182)](_0x354f34,PuppeteerDriverModule[_0xb64cd3(0x1c4)],_0x5c0a2d),this['logger'][_0xb64cd3(0x198)](_0xb64cd3(0x18b)+_0x5c0a2d);}catch(_0xb97fef){this[_0xb64cd3(0x13e)][_0xb64cd3(0x198)](_0xb64cd3(0x1c6)+util['format'](_0xb97fef));}}}}}catch(_0x467f14){this[_0xb64cd3(0x13e)]['error'](_0xb64cd3(0x199)+util['format'](_0x467f14));}}async[a90_0x2f8370(0x1a9)](_0x5ebb6b){const _0x1dbd9a=a90_0x2f8370,_0x5d46bd={'rTBrC':_0x1dbd9a(0x159),'dbTsH':_0x1dbd9a(0x1fa),'HsRWr':_0x1dbd9a(0x187),'wPOHm':'Unknown\x20Test','FWDLv':function(_0x2c3a2a,_0x118365){return _0x2c3a2a>_0x118365;},'zGRjf':function(_0x2891eb,_0x2f66a9){return _0x2891eb===_0x2f66a9;},'abpve':_0x1dbd9a(0x1e4),'rRMvf':_0x1dbd9a(0x18a),'lWueI':'timedout','XMAFR':_0x1dbd9a(0x19c),'fyFaG':function(_0x2a3c84,_0x531446){return _0x2a3c84===_0x531446;},'TtCqQ':_0x1dbd9a(0x1e5),'yotJQ':function(_0x2f8a56,_0x5366a1){return _0x2f8a56===_0x5366a1;},'qMxeb':_0x1dbd9a(0x193),'NVwZl':function(_0x267a01,_0x24305e){return _0x267a01===_0x24305e;},'laKJY':function(_0x444650,_0x1474be){return _0x444650(_0x1474be);},'TAeym':_0x1dbd9a(0x12b),'uheYX':function(_0xac6c80){return _0xac6c80();},'HbiZj':_0x1dbd9a(0x1d0),'aegJr':_0x1dbd9a(0x151),'KyfMB':_0x1dbd9a(0x1a7)};this['logger'][_0x1dbd9a(0x198)](_0x5d46bd[_0x1dbd9a(0x16e)]);const _0x72a6a2=_0x5ebb6b[_0x1dbd9a(0x12a)];if(!_0x72a6a2){this[_0x1dbd9a(0x13e)]['debug'](_0x5d46bd[_0x1dbd9a(0x1ae)]);return;}try{const _0x334d62=_0x5ebb6b[_0x1dbd9a(0x1cc)],_0x620b44=_0x5ebb6b[_0x1dbd9a(0x1f0)];let _0x93aed3=_0x5ebb6b[_0x1dbd9a(0x132)],_0x11b87e=_0x5d46bd[_0x1dbd9a(0x1c7)],_0x6d3c8b=_0x5d46bd['wPOHm'],_0x2ae69e=null;_0x334d62&&(_0x11b87e=_0x334d62[_0x1dbd9a(0x1ec)]||_0x620b44?.['result']||_0x5d46bd[_0x1dbd9a(0x1c7)],_0x6d3c8b=_0x334d62[_0x1dbd9a(0x1b1)]||_0x334d62['title']||_0x620b44?.['name']||_0x620b44?.['title']||_0x5d46bd[_0x1dbd9a(0x1cd)],_0x2ae69e=_0x334d62[_0x1dbd9a(0x134)]||_0x334d62['error']?.['message']||null,_0x620b44?.['errorsDetailed']&&_0x5d46bd[_0x1dbd9a(0x1c3)](_0x620b44[_0x1dbd9a(0x12c)][_0x1dbd9a(0x180)],0x0)&&(_0x2ae69e=_0x2ae69e||_0x620b44[_0x1dbd9a(0x12c)][_0x1dbd9a(0x165)](_0x5c6086=>_0x5c6086['message']||_0x5c6086)[_0x1dbd9a(0x188)]('\x0a')));let _0x5e2673=null;if(_0x5d46bd[_0x1dbd9a(0x1dd)](_0x11b87e,_0x5d46bd[_0x1dbd9a(0x186)]))_0x5e2673=_0x5d46bd[_0x1dbd9a(0x186)];else{if(_0x5d46bd[_0x1dbd9a(0x1dd)](_0x11b87e,_0x5d46bd[_0x1dbd9a(0x17f)])||_0x5d46bd[_0x1dbd9a(0x1dd)](_0x11b87e,_0x5d46bd['lWueI'])||_0x5d46bd['zGRjf'](_0x11b87e,_0x5d46bd['XMAFR']))_0x5e2673=_0x5d46bd['rRMvf'];else(_0x5d46bd[_0x1dbd9a(0x1eb)](_0x11b87e,_0x5d46bd[_0x1dbd9a(0x19d)])||_0x5d46bd[_0x1dbd9a(0x1aa)](_0x11b87e,_0x5d46bd[_0x1dbd9a(0x1ee)]))&&(_0x5e2673=_0x5d46bd[_0x1dbd9a(0x19d)]);}this[_0x1dbd9a(0x1ce)]&&_0x5d46bd['NVwZl'](this[_0x1dbd9a(0x1ce)]['name'],FRAMEWORKS['JEST'])?(_0x93aed3=this[_0x1dbd9a(0x126)]['recreateIdentifierFromTestInfo'](_0x334d62,_0x93aed3),this[_0x1dbd9a(0x13e)][_0x1dbd9a(0x198)]('Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x93aed3)):_0x93aed3=_0x620b44?.['id']||_0x620b44?.[_0x1dbd9a(0x153)]||process[_0x1dbd9a(0x17b)]+_0x1dbd9a(0x160);const _0x4abdc1=TestInfo['getTestDetails'](_0x93aed3),_0x1a940b=AutomationFramework[_0x1dbd9a(0x158)](_0x72a6a2,PuppeteerDriverModule[_0x1dbd9a(0x1fd)])||global[_0x1dbd9a(0x189)],_0x4b202e=_0x4abdc1?.[TestFrameworkConstants['KEY_TEST_FRAMEWORK_NAME']]||this[_0x1dbd9a(0x1ce)]&&this['testFrameworkData']['name'],_0x1862c0=_0x4abdc1?.[TestFrameworkConstants[_0x1dbd9a(0x143)]]||this[_0x1dbd9a(0x1ce)]&&this[_0x1dbd9a(0x1ce)][_0x1dbd9a(0x191)],_0x32dd3e=TestFrameworkState[_0x1dbd9a(0x1b8)][_0x1dbd9a(0x133)]()[_0x1dbd9a(0x171)]('.')[0x1],_0x11239d=HookState[_0x1dbd9a(0x13c)][_0x1dbd9a(0x133)]()[_0x1dbd9a(0x171)]('.')[0x1],_0x1fbfee=_0x72a6a2['getContext'](),_0x52d72a=AutomationFramework[_0x1dbd9a(0x158)](_0x72a6a2,PuppeteerDriverModule[_0x1dbd9a(0x1c0)],'')||BrowserstackCLI[_0x1dbd9a(0x16d)]()[_0x1dbd9a(0x144)]()?.[_0x1dbd9a(0x1ca)]||'',_0x5e8fab=AutomationFramework[_0x1dbd9a(0x158)](_0x72a6a2,PuppeteerDriverModule['KEY_SESSION_ID'],'')||global[_0x1dbd9a(0x1c8)]||'',_0x18dbd3={'provider':_0x5d46bd[_0x1dbd9a(0x13f)](getPlaywrightProvider,_0x52d72a),'frameworkName':_0x5d46bd[_0x1dbd9a(0x1cf)],'frameworkVersion':this[_0x1dbd9a(0x172)]||'','frameworkSessionId':LoadTestModule[_0x1dbd9a(0x1c1)]()?LoadTestModule[_0x1dbd9a(0x1dc)]():_0x5e8fab,'ref':PuppeteerDriverModule[_0x1dbd9a(0x149)]||_0x72a6a2[_0x1dbd9a(0x16a)](),'hubUrl':_0x52d72a,'product':_0x5d46bd[_0x1dbd9a(0x14a)](getProductForSession)};let _0x52980d=AutomationFramework[_0x1dbd9a(0x158)](_0x72a6a2,PuppeteerDriverModule[_0x1dbd9a(0x1bd)],null)||global[_0x1dbd9a(0x1fe)]||global['__platformCaps']||{};_0x52980d&&_0x5d46bd['FWDLv'](Object[_0x1dbd9a(0x1ba)](_0x52980d)[_0x1dbd9a(0x180)],0x0)?_0x52980d=Buffer[_0x1dbd9a(0x1ea)](JSON[_0x1dbd9a(0x130)](_0x52980d))[_0x1dbd9a(0x133)](_0x5d46bd[_0x1dbd9a(0x1b4)]):_0x52980d=Buffer[_0x1dbd9a(0x1ea)](JSON[_0x1dbd9a(0x130)]({}))[_0x1dbd9a(0x133)](_0x5d46bd[_0x1dbd9a(0x1b4)]);const _0x29e5d4={'hash':_0x1fbfee['getId'](),'threadId':_0x1fbfee[_0x1dbd9a(0x135)]()['toString'](),'processId':_0x1fbfee[_0x1dbd9a(0x1f7)]()[_0x1dbd9a(0x133)]()},_0x476435={};_0x476435['platformIndex']=_0x1a940b,_0x476435['testFrameworkName']=_0x4b202e,_0x476435['testFrameworkVersion']=_0x1862c0,_0x476435['testFrameworkState']=_0x32dd3e,_0x476435[_0x1dbd9a(0x185)]=_0x11239d,_0x476435[_0x1dbd9a(0x1f8)]=_0x93aed3,_0x476435[_0x1dbd9a(0x1b2)]=_0x18dbd3,_0x476435['capabilities']=_0x52980d,_0x476435[_0x1dbd9a(0x1b9)]=_0x29e5d4;const _0xc97910=_0x476435;this[_0x1dbd9a(0x13e)][_0x1dbd9a(0x198)]('onAfterTest\x20CBTSession\x20payload:\x20'+util[_0x1dbd9a(0x1ac)](_0xc97910)),GrpcClient[_0x1dbd9a(0x16d)]()[_0x1dbd9a(0x136)](_0xc97910),this[_0x1dbd9a(0x13e)][_0x1dbd9a(0x198)](_0x1dbd9a(0x1f2)+_0x93aed3);if(!_0x5e2673){this[_0x1dbd9a(0x13e)][_0x1dbd9a(0x198)](_0x5d46bd[_0x1dbd9a(0x1ff)],_0x11b87e);return;}this[_0x1dbd9a(0x13e)][_0x1dbd9a(0x198)](_0x5d46bd[_0x1dbd9a(0x1e1)]),_0x334d62&&await this[_0x1dbd9a(0x169)](_0x72a6a2,_0x334d62),await this[_0x1dbd9a(0x12d)](_0x72a6a2,_0x6d3c8b,_0x5e2673,_0x2ae69e);}catch(_0x1f270e){this['logger']['error']('Error\x20in\x20onAfterTest:\x20'+util[_0x1dbd9a(0x1ac)](_0x1f270e));}}async['onBeforeQuit'](_0x4d513e){const _0x46fe94=a90_0x2f8370,_0x1591bc={};_0x1591bc['pXONi']=_0x46fe94(0x1f1),_0x1591bc['KplHn']='onBeforeQuit:\x20No\x20automation\x20instance\x20available',_0x1591bc[_0x46fe94(0x137)]='onBeforeQuit:\x20Cleanup\x20complete';const _0x448ae1=_0x1591bc;try{this[_0x46fe94(0x13e)][_0x46fe94(0x198)](_0x448ae1[_0x46fe94(0x19e)]);const _0x171000=_0x4d513e[_0x46fe94(0x12a)];if(!_0x171000){this[_0x46fe94(0x13e)][_0x46fe94(0x198)](_0x448ae1[_0x46fe94(0x1c2)]);return;}AutomationFramework[_0x46fe94(0x182)](_0x171000,PuppeteerDriverModule['KEY_PAGE_OBJECT'],null),AutomationFramework[_0x46fe94(0x182)](_0x171000,PuppeteerDriverModule[_0x46fe94(0x174)],null),this['logger'][_0x46fe94(0x198)](_0x448ae1[_0x46fe94(0x137)]);}catch(_0x17fa67){this[_0x46fe94(0x13e)][_0x46fe94(0x167)](_0x46fe94(0x1a6)+util['format'](_0x17fa67));}}async['markSessionName'](_0x2e26e4,_0x3236f3){const _0x1d5c79=a90_0x2f8370,_0x35c2a6={};_0x35c2a6['crbFG']=_0x1d5c79(0x184),_0x35c2a6['sxIgS']='markSessionName:\x20Page\x20object\x20is\x20not\x20available',_0x35c2a6[_0x1d5c79(0x1f6)]=_0x1d5c79(0x175);const _0x10fcbc=_0x35c2a6;try{if(CLIUtils[_0x1d5c79(0x14b)](BrowserstackCLI[_0x1d5c79(0x16d)]()[_0x1d5c79(0x144)]())){this[_0x1d5c79(0x13e)][_0x1d5c79(0x198)](_0x10fcbc[_0x1d5c79(0x1ef)]);return;}const _0x3f1ad0=AutomationFramework[_0x1d5c79(0x158)](_0x2e26e4,PuppeteerDriverModule[_0x1d5c79(0x1fc)]);if(!_0x3f1ad0){this['logger'][_0x1d5c79(0x198)](_0x10fcbc['sxIgS']);return;}const _0x2bde37=_0x3236f3[_0x1d5c79(0x1b1)]||_0x3236f3[_0x1d5c79(0x1f4)]||_0x3236f3['fullName'],_0x2c0f77={};_0x2c0f77[_0x1d5c79(0x1b1)]=_0x2bde37;const _0x30b960={};_0x30b960['action']=_0x10fcbc[_0x1d5c79(0x1f6)],_0x30b960[_0x1d5c79(0x190)]=_0x2c0f77;const _0x1c88a2=_0x30b960;PerformanceTester[_0x1d5c79(0x141)](PerformanceEvents['SESSION_NAME']),await this[_0x1d5c79(0x19b)](_0x3f1ad0,_0x1c88a2),PerformanceTester[_0x1d5c79(0x18c)](PerformanceEvents[_0x1d5c79(0x200)]);}catch(_0x22c379){PerformanceTester['end'](PerformanceEvents[_0x1d5c79(0x200)],![],util[_0x1d5c79(0x1ac)](_0x22c379)),this[_0x1d5c79(0x13e)][_0x1d5c79(0x167)](_0x1d5c79(0x1da)+util['format'](_0x22c379));}}async[a90_0x2f8370(0x12d)](_0x420634,_0x766fe6,_0x2b82a8,_0x1c33ec){const _0x20130e=a90_0x2f8370,_0xad7888={};_0xad7888[_0x20130e(0x195)]='markSessionStatus:\x20Skipping\x20session\x20status\x20marking',_0xad7888[_0x20130e(0x1ed)]='markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available',_0xad7888['BywRb']=_0x20130e(0x14d),_0xad7888[_0x20130e(0x1e3)]=_0x20130e(0x151),_0xad7888[_0x20130e(0x140)]=_0x20130e(0x147),_0xad7888[_0x20130e(0x15d)]='reason',_0xad7888[_0x20130e(0x18d)]='markSessionStatus:\x20Marking\x20session\x20status';const _0x2353f1=_0xad7888;if(CLIUtils[_0x20130e(0x170)](BrowserstackCLI[_0x20130e(0x16d)]()[_0x20130e(0x144)]())){this[_0x20130e(0x13e)][_0x20130e(0x198)](_0x2353f1[_0x20130e(0x195)]);return;}const _0xce097=_0x420634;if(!_0xce097){this[_0x20130e(0x13e)]['debug'](_0x2353f1[_0x20130e(0x1ed)]);return;}const _0x72bb88=AutomationFramework[_0x20130e(0x158)](_0xce097,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x72bb88){this[_0x20130e(0x13e)]['debug'](_0x2353f1[_0x20130e(0x157)]);return;}if(!_0x2b82a8){this[_0x20130e(0x13e)][_0x20130e(0x198)](_0x2353f1['OZZdJ'],_0x2b82a8);return;}const _0x2b7038={};_0x2b7038[_0x20130e(0x1ec)]=_0x2b82a8;const _0x302ec3={};_0x302ec3[_0x20130e(0x1d5)]=_0x2353f1[_0x20130e(0x140)],_0x302ec3[_0x20130e(0x190)]=_0x2b7038;const _0x72b459=_0x302ec3;_0x1c33ec&&(_0x72b459[_0x20130e(0x190)][_0x2353f1[_0x20130e(0x15d)]]=_0x1c33ec),PerformanceTester[_0x20130e(0x141)](PerformanceEvents[_0x20130e(0x205)]),this[_0x20130e(0x13e)][_0x20130e(0x198)](_0x2353f1[_0x20130e(0x18d)]),await this[_0x20130e(0x19b)](_0x72bb88,_0x72b459),PerformanceTester['end'](PerformanceEvents[_0x20130e(0x205)]);}async[a90_0x2f8370(0x19b)](_0x43d272,_0x2d76d8){const _0x20c630=a90_0x2f8370,_0x414db7={'vGhAC':function(_0x4e8bbb,_0x15967d,_0x15a93a){return _0x4e8bbb(_0x15967d,_0x15a93a);},'HwQgp':function(_0x3e0695,_0x91a004){return _0x3e0695(_0x91a004);}};try{const _0x8f6d7a=0x3a98,_0x5b8820=_0x20c630(0x16f)+JSON['stringify'](_0x2d76d8),_0x5d220a=_0x43d272[_0x20c630(0x17a)](_0x3d2ab3=>{},_0x5b8820);let _0x3e296d;await Promise['race']([_0x5d220a,new Promise((_0x247712,_0x4f1c74)=>{const _0x560fa1=_0x20c630;_0x3e296d=_0x414db7[_0x560fa1(0x1de)](setTimeout,()=>_0x4f1c74(new Error(_0x560fa1(0x1a4)+_0x8f6d7a+'ms')),_0x8f6d7a);})])[_0x20c630(0x19f)](()=>{const _0x3550be=_0x20c630;_0x414db7[_0x3550be(0x16c)](clearTimeout,_0x3e296d);});}catch(_0x3e3259){this['logger']['debug'](_0x20c630(0x163)+(_0x3e3259['message']||_0x3e3259));}}}function a90_0x4bb3(){const _0x1210cd=['isBuffer','sessionId','fujTY','FYGVj','hashed_id',':testAnalyticsId','KGWHz',',\x20skipping\x20duplicate','Error\x20in\x20puppeteerBstackExecutor:\x20','MODULE_NAME','map','305HJlEFr','error','getModuleName','markSessionName','getRef','../../../helpers/classLogger.js','HwQgp','getInstance','rTBrC','browserstack_executor:\x20','shouldSkipSessionStatus','split','puppeteerVersion','platforms','KEY_BROWSER_OBJECT','setSessionName','6258ebkVsg','vBMRW','bind','coZtS','evaluate','pid','_driverInitCalledForRef','../../../helpers/performance/constants.js','../../../helpers/helper.js','rRMvf','length','xXPvJ','setState','POcuv','markSessionName:\x20Skipping\x20session\x20name\x20marking','testHookState','abpve','unknown','join','__bstackPlatformIndex','failed','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','end','aAdOF','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','platformIndex','arguments','version','XIKdA','skip','string','WWBfj','aMEkX','onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20','debug','Error\x20in\x20onAfterDriverCreate:\x20','parse','puppeteerBstackExecutor','timedOut','TtCqQ','pXONi','finally','getCapabilities','utf8','RFUKq','../framework/automationFramework.js','browserstack_executor\x20timeout\x20after\x20','puppeteer_capabilities','Error\x20in\x20onBeforeQuit:\x20','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','_url','onAfterTest','yotJQ','onBeforeDriverCreate','format','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','dbTsH','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20','VcqpT','name','automationSession','../grpcClient.js','HbiZj','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','./loadTestModule.js','NfCQo','TEST','executionContext','keys','cAAOq','tALuB','KEY_CAPABILITIES','PuppeteerDriverModule','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','KEY_HUB_URL','isLTSSession','KplHn','FWDLv','KEY_SESSION_ID','4bixpUC','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20','HsRWr','__bstackSessionId','registerObserver','hubUrl','puppeteer_test_id','testInfo','wPOHm','testFrameworkData','TAeym','base64','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','puppeteer_page','ORMtu','getHubUrl','action','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','DofpL','5343867MfqjsV','502218hzlCNK','Error\x20in\x20markSessionName:\x20','CREATE','getLTSSessionId','zGRjf','vGhAC','UFoXx','onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','KyfMB','page','OZZdJ','passed','skipped','AUTOMATE_EVENTS','RGjsQ','onAfterDriverCreate:\x20driverInit\x20response\x20received','QUIT','from','fyFaG','status','PxDxb','qMxeb','crbFG','test','onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit','onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','title','KEY_PLATFORM_DETAILS','LSDrM','getProcessId','test_identifier','driverInit','Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','../utils/jest-utils.js','KEY_PAGE_OBJECT','KEY_PLATFORM_INDEX','__launchCaps','aegJr','SESSION_NAME','SxUCQ','hHZKH','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20','../framework/testFramework.js','SESSION_STATUS','KEY_TEST_ID','PRE','../state/hookState.js','jestUtils','../../../helpers/performance/performance-tester.js','../state/automationFrameworkState.js','./baseModule','instance','Puppeteer','errorsDetailed','markSessionStatus','../state/testFrameworkState','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','stringify','VuMSh','testIdentifier','toString','failureMessage','getThreadId','testSessionEvent','EWQUT','87514vmDLzr','onAfterDriverCreate','../TestInfo.js','_connection','POST','25434qYtJhM','logger','laKJY','zzWUs','start','7|9|4|2|0|8|10|6|1|3|11|5','KEY_TEST_FRAMEWORK_VERSION','getConfig','onBeforeQuit','iuLBa','setSessionStatus','puppeteer_browser','_driverInitRef','uheYX','shouldSkipSessionName','launchcaps','markSessionStatus:\x20Page\x20object\x20is\x20not\x20available','../../utils/constants','497109SaobNa','util','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','PUPPETEER','uuid','../../../helpers/helper','onAfterDriverCreate:\x20Setting\x20browser\x20object','1028384jwBDrO','BywRb','getState','Automation\x20onAfterTest:\x20Test\x20completed','browser'];a90_0x4bb3=function(){return _0x1210cd;};return a90_0x4bb3();}module['exports']=PuppeteerDriverModule;
|
|
1
|
+
const a90_0x44f1ab=a90_0x57c7;function a90_0x4b3f(){const _0x42e1f1=['../grpcClient.js','getTestDetails','Error\x20in\x20puppeteerBstackExecutor:\x20','skip','jestUtils','wFUAE','PuppeteerDriverModule','split','testHookState','base64','isBuffer','Error\x20in\x20onAfterDriverCreate:\x20','KEY_HUB_URL','Automation\x20onAfterTest:\x20Test\x20completed','reason','action','PRE','eYipp','instance','browserVersion','end','onBeforeQuit:\x20Cleanup\x20complete','iuuXh','keys','testFrameworkData','hashed_id','JfluS','goXoD','WLJkV','join','KEY_PLATFORM_DETAILS','VJKAZ','capabilities','vtsJZ','TEST','object','wHwxd','getRef','380208NdyJjM','getConfig','_url','markSessionStatus:\x20Automation\x20instance\x20is\x20not\x20available','onAfterDriverCreate:\x20Error\x20extracting\x20caps\x20from\x20driverInit\x20response:\x20','Automation\x20onAfterTest:\x20Recreated\x20Jest\x20testIdentifier:\x20','puppeteer_capabilities','Puppeteer','browser','testFrameworkState','eyUkz','version','BtsrK','puppeteerBstackExecutor','../../utils/constants','onAfterDriverCreate:\x20Setting\x20page\x20object','3017910FvNZLP','_connection','320ItFwwJ','values','onAfterDriverCreate:\x20Stored\x20full\x20W3C\x20capabilities\x20from\x20DriverInit\x20response','_driverInitRef','userInputParams','../../../helpers/helper.js','YKwnZ',':testAnalyticsId','../../../helpers/test-observability/utils','../../../helpers/classLogger.js','debug','uuid','KEY_TEST_FRAMEWORK_VERSION','__bstackPlatformIndex','toXsh','onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId\x20via\x20page.evaluate:\x20','Error\x20in\x20onAfterTest:\x20','markSessionName:\x20Skipping\x20session\x20name\x20marking','DpEwF','KEY_SESSION_ID','PUPPETEER','pid','finally','CREATE','636iewOIy','onBeforeQuit:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20quit','timedout','rHRqI','driverInit','Automation\x20onAfterTest:\x20Setting\x20session\x20name\x20and\x20status','getModuleName','iOYMq','start','browserstack_executor:\x20{\x22action\x22:\x22getSessionDetails\x22}','10vXPPxy','sessionId','JEST','__bstackSessionId','bind','ahdZW','puppeteer_platform_index','NlBKr','getState','title','3047220sKnhVm','add','177864qneCJA','../framework/constants/testFrameworkConstants.js','length','onAfterDriverCreate:\x20Extracted\x20capabilities\x20from\x20driverInit\x20response:\x20','KEY_TEST_FRAMEWORK_NAME','setState','logger','2391KIrAVr','browserstack_executor:\x20','has','XRBeu','KEY_TEST_ID','onBeforeDriverCreate:\x20Puppeteer\x20driver\x20is\x20about\x20to\x20be\x20created','Error\x20in\x20onBeforeDriverCreate:\x20','dtOTW','__platformCaps','onAfterDriverCreate:\x20driverInit\x20already\x20called\x20for\x20ref\x20','ICTWo','onAfterDriverCreate:\x20Setting\x20Session\x20Name\x20from\x20testInfo','Error\x20in\x20onBeforeQuit:\x20','aTBxH','DUjwb','3635712YpluXd','pDwWe','../TestInfo.js','from','testFrameworkVersion','isLTSSession','setSessionStatus','evaluate','onBeforeQuit:\x20No\x20automation\x20instance\x20available','format','75xKguJH','AUTOMATE_EVENTS','../../../helpers/performance/constants.js','result','onAfterTest\x20CBTSession\x20payload:\x20','wrfeP','hWXEH','executionContext','FRUsb','stringify','shouldSkipSessionName','../state/hookState.js','passed','browserName','testFrameworkName','PqNbC','WieFL','browserstack_executor\x20timeout\x20after\x20','puppeteer_session_id','SESSION_NAME','../state/testFrameworkState','failureMessage','Dhvop','util','oxKFk','PTxUv','zKPkt','isPuppeteer','SESSION_STATUS','POST','FJNgU','testIdentifier','KEY_BROWSER_OBJECT','toString','KEY_PAGE_OBJECT','getHubUrl','MmsKw','ORffx','../state/automationFrameworkState.js','parse','unknown','onBeforeQuit','oytPR','markSessionName','cuyit','shouldSkipSessionStatus','onBeforeDriverCreate','KaAXM','EHjUV','MODULE_NAME','failed','zZPvz','getContext','_driverInitCalledForRef','puppeteerVersion','EmMJt','page','string','8erhByo','onAfterDriverCreate:\x20SessionId\x20extracted\x20via\x20browserstack_executor:\x20','XRJGL','onAfterDriverCreate:\x20Setting\x20browser\x20object','onAfterDriverCreate:\x20Updated\x20capabilities\x20from\x20global.__launchCaps','hubUrl','puppeteer_browser','onAfterDriverCreate:\x20Puppeteer\x20driver\x20has\x20been\x20created\x20','yvGiL','markSessionName:\x20Page\x20object\x20is\x20not\x20available','7764rVqgrp','timedOut','testInfo','arguments','message','launchcaps','test_identifier','../browserstackCLI.js','error','AYCDn','KEY_PLATFORM_INDEX',',\x20skipping\x20duplicate','test','NRhrz','markSessionStatus','registerObserver','testSessionEvent','QUIT','Error\x20in\x20markSessionName:\x20','map','automationSession','../../../helpers/performance/performance-tester.js','race','errorsDetailed','onAfterDriverCreate','aCnvq','getInstance','onAfterDriverCreate:\x20SessionId\x20set\x20from\x20WebSocket\x20URL:\x20','65fovktu','fullName','getCapabilities','platformIndex','muZbc','puppeteer_hub_url','skipped','recreateIdentifierFromTestInfo','getLTSSessionId','qTFCU','KEY_CAPABILITIES','qpZKM','JhzoN','onAfterTest','../utils/jest-utils.js','__launchCaps','Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','name'];a90_0x4b3f=function(){return _0x42e1f1;};return a90_0x4b3f();}(function(_0x17065f,_0x3a54b9){const _0x76a9a9=a90_0x57c7,_0xa1b330=_0x17065f();while(!![]){try{const _0x4d839f=parseInt(_0x76a9a9(0x195))/0x1*(-parseInt(_0x76a9a9(0x178))/0x2)+-parseInt(_0x76a9a9(0xfa))/0x3*(-parseInt(_0x76a9a9(0x160))/0x4)+parseInt(_0x76a9a9(0x1ae))/0x5*(parseInt(_0x76a9a9(0x14e))/0x6)+-parseInt(_0x76a9a9(0x15e))/0x7*(-parseInt(_0x76a9a9(0xf0))/0x8)+-parseInt(_0x76a9a9(0x1a4))/0x9*(parseInt(_0x76a9a9(0x182))/0xa)+parseInt(_0x76a9a9(0x18c))/0xb+parseInt(_0x76a9a9(0x18e))/0xc*(parseInt(_0x76a9a9(0x116))/0xd);if(_0x4d839f===_0x3a54b9)break;else _0xa1b330['push'](_0xa1b330['shift']());}catch(_0x5e45dc){_0xa1b330['push'](_0xa1b330['shift']());}}}(a90_0x4b3f,0xbd55a));const util=require(a90_0x44f1ab(0x1c5)),BaseModule=require('./baseModule'),{createClassLogger}=require(a90_0x44f1ab(0x169)),{getFrameworkVersion}=require(a90_0x44f1ab(0x168)),helper=require('../../../helpers/helper'),{FRAMEWORKS}=require(a90_0x44f1ab(0x15c)),AutomationFramework=require('../framework/automationFramework.js'),AutomationFrameworkState=require(a90_0x44f1ab(0xdc)),HookState=require(a90_0x44f1ab(0x1b9)),{nestedKeyValue,playwrightBstackJsExecutor}=require(a90_0x44f1ab(0x165)),CLIUtils=require('../cliUtils.js'),BrowserstackCLI=require(a90_0x44f1ab(0x101)),GrpcClient=require(a90_0x44f1ab(0x128)),PerformanceTester=require(a90_0x44f1ab(0x10f)),PerformanceEvents=require(a90_0x44f1ab(0x1b0))[a90_0x44f1ab(0x1af)],TestInfo=require(a90_0x44f1ab(0x1a6)),{getPlaywrightProvider,getProductForSession}=require(a90_0x44f1ab(0x165)),LoadTestModule=require('./loadTestModule.js'),TestFrameworkConstants=require(a90_0x44f1ab(0x18f)),TestFrameworkState=require(a90_0x44f1ab(0x1c2)),JestUtils=require(a90_0x44f1ab(0x124)),TestFramework=require('../framework/testFramework.js');function a90_0x57c7(_0x14cbcb,_0x333b0b){const _0x4b3fa3=a90_0x4b3f();return a90_0x57c7=function(_0x57c7c2,_0x36e742){_0x57c7c2=_0x57c7c2-0xdc;let _0x8a3362=_0x4b3fa3[_0x57c7c2];return _0x8a3362;},a90_0x57c7(_0x14cbcb,_0x333b0b);}class PuppeteerDriverModule extends BaseModule{static [a90_0x44f1ab(0x1ce)]=a90_0x44f1ab(0xf6);static [a90_0x44f1ab(0x1d0)]='puppeteer_page';static ['KEY_SESSION_ID']=a90_0x44f1ab(0x1c0);static ['KEY_PLATFORM_INDEX']=a90_0x44f1ab(0x188);static [a90_0x44f1ab(0x120)]=a90_0x44f1ab(0x154);static ['KEY_HUB_URL']=a90_0x44f1ab(0x11b);static [a90_0x44f1ab(0x146)]='puppeteer_platform_details';static [a90_0x44f1ab(0x199)]='puppeteer_test_id';static ['MODULE_NAME']=a90_0x44f1ab(0x12e);static [a90_0x44f1ab(0xeb)]=new Set();static ['_driverInitRef']=null;[a90_0x44f1ab(0x194)]=createClassLogger(a90_0x44f1ab(0x12e));constructor(_0x2246cf=null){const _0x55178b=a90_0x44f1ab,_0x2dfb26={};_0x2dfb26['ORffx']='7|8|0|2|9|11|5|6|10|1|3|4',_0x2dfb26['ZfFri']=_0x55178b(0x12e);const _0x59bf86=_0x2dfb26,_0x5a3052=_0x59bf86[_0x55178b(0x1d3)][_0x55178b(0x12f)]('|');let _0x4bf37f=0x0;while(!![]){switch(_0x5a3052[_0x4bf37f++]){case'0':this[_0x55178b(0xec)]=null;continue;case'1':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState['CREATE'],HookState['POST'],this['onAfterDriverCreate'][_0x55178b(0x186)](this));continue;case'2':this[_0x55178b(0x1bb)]=null;continue;case'3':TestFramework[_0x55178b(0x109)](TestFrameworkState[_0x55178b(0x14a)],HookState[_0x55178b(0x1cb)],this[_0x55178b(0x123)][_0x55178b(0x186)](this));continue;case'4':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState[_0x55178b(0x10b)],HookState[_0x55178b(0x138)],this[_0x55178b(0xdf)]['bind'](this));continue;case'5':this['testRunId']=null;continue;case'6':this[_0x55178b(0x12c)]=new JestUtils();continue;case'7':super(_0x2246cf);continue;case'8':this[_0x55178b(0x127)]=_0x59bf86['ZfFri'];continue;case'9':this[_0x55178b(0x13b)]=null;continue;case'10':AutomationFramework[_0x55178b(0x109)](AutomationFrameworkState[_0x55178b(0x177)],HookState[_0x55178b(0x138)],this['onBeforeDriverCreate'][_0x55178b(0x186)](this));continue;case'11':this['platforms']=[];continue;}break;}}[a90_0x44f1ab(0x17e)](){const _0x723c01=a90_0x44f1ab;return PuppeteerDriverModule[_0x723c01(0xe7)];}async[a90_0x44f1ab(0xe4)](_0x3f7e97){const _0x3cd53a=a90_0x44f1ab,_0x1591ce={};_0x1591ce[_0x3cd53a(0x17f)]=_0x3cd53a(0x19a),_0x1591ce['aTBxH']=_0x3cd53a(0x131),_0x1591ce['VKkNZ']='onAfterDriverCreate:\x20driverInit\x20response\x20received',_0x1591ce[_0x3cd53a(0x121)]='utf8',_0x1591ce[_0x3cd53a(0x113)]=function(_0x2878eb,_0x5bfb72){return _0x2878eb===_0x5bfb72;},_0x1591ce[_0x3cd53a(0x172)]=_0x3cd53a(0x14b),_0x1591ce['JfluS']=function(_0x118948,_0x2884e2){return _0x118948!==_0x2884e2;},_0x1591ce[_0x3cd53a(0x1bd)]=function(_0x45cc85,_0x49f4fd){return _0x45cc85===_0x49f4fd;},_0x1591ce[_0x3cd53a(0x19c)]='string',_0x1591ce[_0x3cd53a(0x11a)]=function(_0xb8ef38,_0x3c93ed){return _0xb8ef38>_0x3c93ed;},_0x1591ce[_0x3cd53a(0x198)]=_0x3cd53a(0x162);const _0x1c53c5=_0x1591ce;try{this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x1c53c5[_0x3cd53a(0x17f)]);const _0x163cb2=_0x3f7e97[_0x3cd53a(0xff)],_0x5ac089=_0x3f7e97[_0x3cd53a(0xf5)];AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x120)],_0x163cb2),AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x134)],_0x5ac089);const _0xc5b4a2=_0x3f7e97['instance'][_0x3cd53a(0x14d)](),_0x338839=global[_0x3cd53a(0x16d)]||0x0;AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x104)],_0x338839);if(PuppeteerDriverModule[_0x3cd53a(0xeb)][_0x3cd53a(0x197)](_0xc5b4a2))this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x3cd53a(0x19e)+_0xc5b4a2+_0x3cd53a(0x105));else{PuppeteerDriverModule[_0x3cd53a(0xeb)][_0x3cd53a(0x18d)](_0xc5b4a2),PuppeteerDriverModule[_0x3cd53a(0x163)]=_0xc5b4a2;const _0x58e9dd={..._0x163cb2};_0x58e9dd[_0x3cd53a(0x1c9)]=!![];const _0xfd96a0=Buffer['from'](JSON[_0x3cd53a(0x1b7)](_0x58e9dd)['toString'](_0x1c53c5[_0x3cd53a(0x1a2)])),_0x36b6e7={};_0x36b6e7[_0x3cd53a(0x119)]=_0x338839,_0x36b6e7['ref']=_0xc5b4a2,_0x36b6e7[_0x3cd53a(0x164)]=_0xfd96a0,_0x36b6e7[_0x3cd53a(0xf5)]=_0x5ac089;const _0x525aa0=await GrpcClient[_0x3cd53a(0x114)]()[_0x3cd53a(0x17c)](_0x36b6e7);this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x1c53c5['VKkNZ']);if(_0x525aa0)try{const _0x3b7785=_0x525aa0[_0x3cd53a(0x118)]?_0x525aa0['getCapabilities']():_0x525aa0['capabilities'];if(_0x3b7785){let _0x526705;if(Buffer[_0x3cd53a(0x132)](_0x3b7785))_0x526705=JSON[_0x3cd53a(0xdd)](_0x3b7785[_0x3cd53a(0x1cf)](_0x1c53c5['qpZKM']));else{if(_0x1c53c5[_0x3cd53a(0x113)](typeof _0x3b7785,_0x1c53c5[_0x3cd53a(0x172)])&&_0x1c53c5[_0x3cd53a(0x142)](_0x3b7785,null)){const _0x591558=Buffer['from'](Object[_0x3cd53a(0x161)](_0x3b7785));_0x526705=JSON['parse'](_0x591558[_0x3cd53a(0x1cf)](_0x1c53c5['qpZKM']));}else _0x1c53c5[_0x3cd53a(0x1bd)](typeof _0x3b7785,_0x1c53c5['dtOTW'])?_0x526705=JSON[_0x3cd53a(0xdd)](_0x3b7785):_0x526705=_0x3b7785;}this['logger'][_0x3cd53a(0x16a)](_0x3cd53a(0x191)+JSON[_0x3cd53a(0x1b7)](_0x526705)),_0x526705&&_0x1c53c5[_0x3cd53a(0x11a)](Object[_0x3cd53a(0x13f)](_0x526705)['length'],0x0)&&(AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule['KEY_CAPABILITIES'],_0x526705),global['__launchCaps']=_0x526705,this['logger'][_0x3cd53a(0x16a)](_0x1c53c5[_0x3cd53a(0x198)]));}const _0x5a1e28=_0x525aa0[_0x3cd53a(0x1d1)]?_0x525aa0['getHubUrl']():_0x525aa0[_0x3cd53a(0xf5)];_0x5a1e28&&AutomationFramework[_0x3cd53a(0x193)](_0x3f7e97[_0x3cd53a(0x13a)],PuppeteerDriverModule[_0x3cd53a(0x134)],_0x5a1e28);}catch(_0x63c0d0){this[_0x3cd53a(0x194)][_0x3cd53a(0x16a)](_0x3cd53a(0x152)+util[_0x3cd53a(0x1ad)](_0x63c0d0));}}}catch(_0x153ef3){this['logger']['error'](_0x3cd53a(0x19b)+util[_0x3cd53a(0x1ad)](_0x153ef3));}}async[a90_0x44f1ab(0x112)](_0x34cc77){const _0x4dcec7=a90_0x44f1ab,_0x49e655={'cuyit':function(_0x44f902,_0x4de4ec){return _0x44f902(_0x4de4ec);},'eyUkz':_0x4dcec7(0x15d),'BeMBA':_0x4dcec7(0x1a0),'fcXzv':'onAfterDriverCreate:\x20No\x20testInfo\x20available\x20(browser\x20created\x20outside\x20test\x20context).\x20Session\x20name\x20will\x20be\x20deferred\x20to\x20executeDeferredCloses.','EmMJt':_0x4dcec7(0xf3),'qTFCU':function(_0x3a2f82,_0x40605f){return _0x3a2f82>_0x40605f;},'oytPR':_0x4dcec7(0xf4),'KaAXM':_0x4dcec7(0x181),'PTxUv':function(_0x5a080a,_0x2f0de8){return _0x5a080a===_0x2f0de8;},'UFmuB':_0x4dcec7(0xef)};try{this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x4dcec7(0xf7)+JSON[_0x4dcec7(0x1b7)](_0x34cc77));const _0x58ee78=_0x34cc77['instance'];this[_0x4dcec7(0xec)]=_0x49e655[_0x4dcec7(0xe2)](getFrameworkVersion,FRAMEWORKS[_0x4dcec7(0x174)]);_0x34cc77[_0x4dcec7(0xee)]&&(this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655[_0x4dcec7(0x158)]),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_PAGE_OBJECT'],_0x34cc77['page']),_0x34cc77[_0x4dcec7(0xfc)]?(this[_0x4dcec7(0x194)]['debug'](_0x49e655['BeMBA']),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x199)],_0x34cc77[_0x4dcec7(0xfc)]['id']||''),await this[_0x4dcec7(0xe1)](_0x58ee78,_0x34cc77[_0x4dcec7(0xfc)])):this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655['fcXzv']));if(_0x34cc77[_0x4dcec7(0x156)]){this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x49e655[_0x4dcec7(0xed)]),AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_BROWSER_OBJECT'],_0x34cc77['browser']);global['__launchCaps']&&_0x49e655[_0x4dcec7(0x11f)](Object[_0x4dcec7(0x13f)](global[_0x4dcec7(0x125)])[_0x4dcec7(0x190)],0x0)&&(AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x120)],global[_0x4dcec7(0x125)]),this[_0x4dcec7(0x194)]['debug'](_0x49e655[_0x4dcec7(0xe0)]));if(_0x34cc77[_0x4dcec7(0x183)])AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],_0x34cc77[_0x4dcec7(0x183)]),this['logger'][_0x4dcec7(0x16a)]('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20args:\x20'+_0x34cc77[_0x4dcec7(0x183)]);else{if(global['__bstackSessionId'])AutomationFramework['setState'](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],global[_0x4dcec7(0x185)]),this[_0x4dcec7(0x194)]['debug']('onAfterDriverCreate:\x20SessionId\x20set\x20from\x20global:\x20'+global[_0x4dcec7(0x185)]);else try{const _0x18323c=_0x34cc77[_0x4dcec7(0xee)]||AutomationFramework[_0x4dcec7(0x18a)](_0x58ee78,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(_0x18323c){const _0x41a4a2=await _0x18323c[_0x4dcec7(0x1ab)](_0x54450d=>{},_0x49e655[_0x4dcec7(0xe5)]);if(_0x41a4a2){const _0x38700a=_0x49e655[_0x4dcec7(0x1c7)](typeof _0x41a4a2,_0x49e655['UFmuB'])?JSON[_0x4dcec7(0xdd)](_0x41a4a2):_0x41a4a2;_0x38700a&&_0x38700a[_0x4dcec7(0x141)]&&(AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule['KEY_SESSION_ID'],_0x38700a[_0x4dcec7(0x141)]),global[_0x4dcec7(0x185)]=_0x38700a['hashed_id'],this[_0x4dcec7(0x194)]['debug'](_0x4dcec7(0xf1)+_0x38700a[_0x4dcec7(0x141)]));}}}catch(_0x321aac){this[_0x4dcec7(0x194)]['debug'](_0x4dcec7(0x16f)+util[_0x4dcec7(0x1ad)](_0x321aac));if(_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)]&&_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)][_0x4dcec7(0x150)])try{const _0x1e78fd=_0x34cc77[_0x4dcec7(0x156)][_0x4dcec7(0x15f)]['_url'];AutomationFramework[_0x4dcec7(0x193)](_0x58ee78,PuppeteerDriverModule[_0x4dcec7(0x173)],_0x1e78fd),this[_0x4dcec7(0x194)][_0x4dcec7(0x16a)](_0x4dcec7(0x115)+_0x1e78fd);}catch(_0x310669){this[_0x4dcec7(0x194)]['debug']('onAfterDriverCreate:\x20Could\x20not\x20extract\x20sessionId:\x20'+util[_0x4dcec7(0x1ad)](_0x310669));}}}}}catch(_0x1ea9b3){this['logger'][_0x4dcec7(0x102)](_0x4dcec7(0x133)+util[_0x4dcec7(0x1ad)](_0x1ea9b3));}}async['onAfterTest'](_0x44c6f9){const _0x4407a1=a90_0x44f1ab,_0x2ae6ab={'VJKAZ':_0x4407a1(0x135),'mbaeN':'Automation\x20onAfterTest:\x20Automation\x20instance\x20is\x20not\x20available','EHjUV':_0x4407a1(0xde),'WLJkV':'Unknown\x20Test','FRUsb':function(_0x3fa08f,_0x232a29){return _0x3fa08f>_0x232a29;},'eYipp':function(_0x267222,_0x4729d5){return _0x267222===_0x4729d5;},'vtsJZ':_0x4407a1(0x1ba),'FJNgU':function(_0x38000b,_0x12658f){return _0x38000b===_0x12658f;},'MmsKw':_0x4407a1(0xe8),'KxTGp':function(_0x12d400,_0x458393){return _0x12d400===_0x458393;},'bJkLJ':_0x4407a1(0x17a),'oxKFk':function(_0x5b82f1,_0x46154d){return _0x5b82f1===_0x46154d;},'wrfeP':_0x4407a1(0xfb),'zZPvz':function(_0x81659f,_0x5527b7){return _0x81659f===_0x5527b7;},'ICTWo':_0x4407a1(0x11c),'AYCDn':function(_0x41cc93,_0x36476e){return _0x41cc93===_0x36476e;},'Dhvop':_0x4407a1(0x12b),'JhzoN':function(_0x317975,_0x4c149d){return _0x317975(_0x4c149d);},'DUjwb':_0x4407a1(0x155),'NRhrz':function(_0x2a6616){return _0x2a6616();},'WieFL':function(_0xc1d141,_0x452ade){return _0xc1d141>_0x452ade;},'hWXEH':'base64','ckDQH':'Unable\x20to\x20mark\x20session\x20status,\x20received\x20status:\x20','wHwxd':_0x4407a1(0x17d)};this['logger'][_0x4407a1(0x16a)](_0x2ae6ab[_0x4407a1(0x147)]);const _0x9705ad=_0x44c6f9[_0x4407a1(0x13a)];if(!_0x9705ad){this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x2ae6ab['mbaeN']);return;}try{const _0x5e2c1e=_0x44c6f9[_0x4407a1(0xfc)],_0x1d0b9e=_0x44c6f9[_0x4407a1(0x106)];let _0x244574=_0x44c6f9[_0x4407a1(0x1cd)],_0x3b1791=_0x2ae6ab[_0x4407a1(0xe6)],_0x57d889=_0x2ae6ab[_0x4407a1(0x144)],_0x84c12a=null;_0x5e2c1e&&(_0x3b1791=_0x5e2c1e['status']||_0x1d0b9e?.[_0x4407a1(0x1b1)]||_0x2ae6ab['EHjUV'],_0x57d889=_0x5e2c1e[_0x4407a1(0x127)]||_0x5e2c1e[_0x4407a1(0x18b)]||_0x1d0b9e?.[_0x4407a1(0x127)]||_0x1d0b9e?.['title']||_0x2ae6ab[_0x4407a1(0x144)],_0x84c12a=_0x5e2c1e[_0x4407a1(0x1c3)]||_0x5e2c1e[_0x4407a1(0x102)]?.[_0x4407a1(0xfe)]||null,_0x1d0b9e?.[_0x4407a1(0x111)]&&_0x2ae6ab[_0x4407a1(0x1b6)](_0x1d0b9e[_0x4407a1(0x111)][_0x4407a1(0x190)],0x0)&&(_0x84c12a=_0x84c12a||_0x1d0b9e['errorsDetailed'][_0x4407a1(0x10d)](_0x511ea5=>_0x511ea5[_0x4407a1(0xfe)]||_0x511ea5)[_0x4407a1(0x145)]('\x0a')));let _0xfc49a8=null;if(_0x2ae6ab[_0x4407a1(0x139)](_0x3b1791,_0x2ae6ab['vtsJZ']))_0xfc49a8=_0x2ae6ab[_0x4407a1(0x149)];else{if(_0x2ae6ab[_0x4407a1(0x1cc)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1d2)])||_0x2ae6ab['KxTGp'](_0x3b1791,_0x2ae6ab['bJkLJ'])||_0x2ae6ab[_0x4407a1(0x1c6)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1b3)]))_0xfc49a8=_0x2ae6ab[_0x4407a1(0x1d2)];else(_0x2ae6ab[_0x4407a1(0xe9)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x19f)])||_0x2ae6ab[_0x4407a1(0x103)](_0x3b1791,_0x2ae6ab[_0x4407a1(0x1c4)]))&&(_0xfc49a8=_0x2ae6ab[_0x4407a1(0x19f)]);}this[_0x4407a1(0x140)]&&_0x2ae6ab[_0x4407a1(0x103)](this['testFrameworkData'][_0x4407a1(0x127)],FRAMEWORKS[_0x4407a1(0x184)])?(_0x244574=this[_0x4407a1(0x12c)][_0x4407a1(0x11d)](_0x5e2c1e,_0x244574),this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x4407a1(0x153)+_0x244574)):_0x244574=_0x1d0b9e?.['id']||_0x1d0b9e?.[_0x4407a1(0x16b)]||process[_0x4407a1(0x175)]+_0x4407a1(0x167);const _0x1ebb6c=TestInfo[_0x4407a1(0x129)](_0x244574),_0x2de6d5=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x104)])||global['__bstackPlatformIndex'],_0x384fc5=_0x1ebb6c?.[TestFrameworkConstants[_0x4407a1(0x192)]]||this['testFrameworkData']&&this['testFrameworkData']['name'],_0x2ebbd7=_0x1ebb6c?.[TestFrameworkConstants[_0x4407a1(0x16c)]]||this[_0x4407a1(0x140)]&&this[_0x4407a1(0x140)][_0x4407a1(0x159)],_0x6d8e88=TestFrameworkState[_0x4407a1(0x14a)]['toString']()[_0x4407a1(0x12f)]('.')[0x1],_0xabb018=HookState[_0x4407a1(0x1cb)]['toString']()[_0x4407a1(0x12f)]('.')[0x1],_0x41f761=_0x9705ad[_0x4407a1(0xea)](),_0x101eca=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x134)],'')||BrowserstackCLI[_0x4407a1(0x114)]()['getConfig']()?.['hubUrl']||'',_0x51f8e2=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x173)],'')||global[_0x4407a1(0x185)]||'',_0x1022e4={'provider':_0x2ae6ab[_0x4407a1(0x122)](getPlaywrightProvider,_0x101eca),'frameworkName':_0x2ae6ab[_0x4407a1(0x1a3)],'frameworkVersion':this[_0x4407a1(0xec)]||'','frameworkSessionId':LoadTestModule[_0x4407a1(0x1a9)]()?LoadTestModule[_0x4407a1(0x11e)]():_0x51f8e2,'ref':PuppeteerDriverModule[_0x4407a1(0x163)]||_0x9705ad['getRef'](),'hubUrl':_0x101eca,'product':_0x2ae6ab[_0x4407a1(0x107)](getProductForSession)};let _0x14ba1a=AutomationFramework[_0x4407a1(0x18a)](_0x9705ad,PuppeteerDriverModule[_0x4407a1(0x120)],null)||global[_0x4407a1(0x125)]||global[_0x4407a1(0x19d)]||{};_0x14ba1a&&_0x2ae6ab[_0x4407a1(0x1be)](Object[_0x4407a1(0x13f)](_0x14ba1a)[_0x4407a1(0x190)],0x0)?_0x14ba1a=Buffer['from'](JSON['stringify'](_0x14ba1a))[_0x4407a1(0x1cf)](_0x2ae6ab[_0x4407a1(0x1b4)]):_0x14ba1a=Buffer[_0x4407a1(0x1a7)](JSON[_0x4407a1(0x1b7)]({}))[_0x4407a1(0x1cf)](_0x2ae6ab['hWXEH']);const _0x22c906={'hash':_0x41f761['getId'](),'threadId':_0x41f761['getThreadId']()[_0x4407a1(0x1cf)](),'processId':_0x41f761['getProcessId']()[_0x4407a1(0x1cf)]()},_0x34fd5d={};_0x34fd5d[_0x4407a1(0x119)]=_0x2de6d5,_0x34fd5d[_0x4407a1(0x1bc)]=_0x384fc5,_0x34fd5d[_0x4407a1(0x1a8)]=_0x2ebbd7,_0x34fd5d[_0x4407a1(0x157)]=_0x6d8e88,_0x34fd5d[_0x4407a1(0x130)]=_0xabb018,_0x34fd5d[_0x4407a1(0x100)]=_0x244574,_0x34fd5d[_0x4407a1(0x10e)]=_0x1022e4,_0x34fd5d[_0x4407a1(0x148)]=_0x14ba1a,_0x34fd5d[_0x4407a1(0x1b5)]=_0x22c906;const _0x5e6f01=_0x34fd5d;this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x4407a1(0x1b2)+util[_0x4407a1(0x1ad)](_0x5e6f01)),GrpcClient[_0x4407a1(0x114)]()[_0x4407a1(0x10a)](_0x5e6f01),this[_0x4407a1(0x194)][_0x4407a1(0x16a)]('onAfterTest\x20CBTSession\x20complete\x20for\x20testIdentifier:\x20'+_0x244574);if(!_0xfc49a8){this[_0x4407a1(0x194)][_0x4407a1(0x16a)](_0x2ae6ab['ckDQH'],_0x3b1791);return;}this['logger'][_0x4407a1(0x16a)](_0x2ae6ab[_0x4407a1(0x14c)]),_0x5e2c1e&&await this['markSessionName'](_0x9705ad,_0x5e2c1e),await this[_0x4407a1(0x108)](_0x9705ad,_0x57d889,_0xfc49a8,_0x84c12a);}catch(_0x4dcb21){this[_0x4407a1(0x194)][_0x4407a1(0x102)](_0x4407a1(0x170)+util[_0x4407a1(0x1ad)](_0x4dcb21));}}async[a90_0x44f1ab(0xdf)](_0x445355){const _0x52e8e0=a90_0x44f1ab,_0x4a55c7={};_0x4a55c7['NlBKr']=_0x52e8e0(0x179),_0x4a55c7[_0x52e8e0(0x187)]=_0x52e8e0(0x1ac),_0x4a55c7[_0x52e8e0(0x166)]=_0x52e8e0(0x13d);const _0x1db1c3=_0x4a55c7;try{this[_0x52e8e0(0x194)][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x189)]);const _0x335af0=_0x445355[_0x52e8e0(0x13a)];if(!_0x335af0){this['logger'][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x187)]);return;}AutomationFramework[_0x52e8e0(0x193)](_0x335af0,PuppeteerDriverModule[_0x52e8e0(0x1d0)],null),AutomationFramework['setState'](_0x335af0,PuppeteerDriverModule[_0x52e8e0(0x1ce)],null),this[_0x52e8e0(0x194)][_0x52e8e0(0x16a)](_0x1db1c3[_0x52e8e0(0x166)]);}catch(_0x82a5e9){this[_0x52e8e0(0x194)][_0x52e8e0(0x102)](_0x52e8e0(0x1a1)+util[_0x52e8e0(0x1ad)](_0x82a5e9));}}async[a90_0x44f1ab(0xe1)](_0x185766,_0x8f31){const _0x1c764d=a90_0x44f1ab,_0x46000d={};_0x46000d[_0x1c764d(0x15a)]=_0x1c764d(0x171),_0x46000d[_0x1c764d(0x16e)]=_0x1c764d(0xf9),_0x46000d[_0x1c764d(0xf8)]='setSessionName';const _0x5e32ee=_0x46000d;try{if(CLIUtils[_0x1c764d(0x1b8)](BrowserstackCLI[_0x1c764d(0x114)]()[_0x1c764d(0x14f)]())){this[_0x1c764d(0x194)][_0x1c764d(0x16a)](_0x5e32ee[_0x1c764d(0x15a)]);return;}const _0x3971f9=AutomationFramework['getState'](_0x185766,PuppeteerDriverModule['KEY_PAGE_OBJECT']);if(!_0x3971f9){this['logger'][_0x1c764d(0x16a)](_0x5e32ee['toXsh']);return;}const _0x2e55ae=_0x8f31[_0x1c764d(0x127)]||_0x8f31['title']||_0x8f31[_0x1c764d(0x117)],_0x432359={};_0x432359['name']=_0x2e55ae;const _0x49ca9f={};_0x49ca9f[_0x1c764d(0x137)]=_0x5e32ee[_0x1c764d(0xf8)],_0x49ca9f['arguments']=_0x432359;const _0x549a42=_0x49ca9f;PerformanceTester[_0x1c764d(0x180)](PerformanceEvents['SESSION_NAME']),await this['puppeteerBstackExecutor'](_0x3971f9,_0x549a42),PerformanceTester[_0x1c764d(0x13c)](PerformanceEvents[_0x1c764d(0x1c1)]);}catch(_0x34e963){PerformanceTester[_0x1c764d(0x13c)](PerformanceEvents[_0x1c764d(0x1c1)],![],util[_0x1c764d(0x1ad)](_0x34e963)),this['logger'][_0x1c764d(0x102)](_0x1c764d(0x10c)+util[_0x1c764d(0x1ad)](_0x34e963));}}async['markSessionStatus'](_0x375f60,_0x39c889,_0x5e0c11,_0xb272c){const _0x16b3d9=a90_0x44f1ab,_0x1185f0={};_0x1185f0[_0x16b3d9(0x17b)]='markSessionStatus:\x20Skipping\x20session\x20status\x20marking',_0x1185f0[_0x16b3d9(0x1a5)]=_0x16b3d9(0x151),_0x1185f0[_0x16b3d9(0x143)]='markSessionStatus:\x20Page\x20object\x20is\x20not\x20available',_0x1185f0['wFUAE']=_0x16b3d9(0x126),_0x1185f0[_0x16b3d9(0xf2)]=_0x16b3d9(0x1aa),_0x1185f0['GuhFY']=_0x16b3d9(0x136),_0x1185f0[_0x16b3d9(0x1c8)]='markSessionStatus:\x20Marking\x20session\x20status';const _0x30d74e=_0x1185f0;if(CLIUtils[_0x16b3d9(0xe3)](BrowserstackCLI[_0x16b3d9(0x114)]()[_0x16b3d9(0x14f)]())){this[_0x16b3d9(0x194)]['debug'](_0x30d74e[_0x16b3d9(0x17b)]);return;}const _0x41890b=_0x375f60;if(!_0x41890b){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x1a5)]);return;}const _0x5b3fb9=AutomationFramework['getState'](_0x41890b,PuppeteerDriverModule[_0x16b3d9(0x1d0)]);if(!_0x5b3fb9){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e['goXoD']);return;}if(!_0x5e0c11){this[_0x16b3d9(0x194)][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x12d)],_0x5e0c11);return;}const _0x122c43={};_0x122c43['status']=_0x5e0c11;const _0xebb676={};_0xebb676[_0x16b3d9(0x137)]=_0x30d74e[_0x16b3d9(0xf2)],_0xebb676['arguments']=_0x122c43;const _0x45e513=_0xebb676;_0xb272c&&(_0x45e513[_0x16b3d9(0xfd)][_0x30d74e['GuhFY']]=_0xb272c),PerformanceTester[_0x16b3d9(0x180)](PerformanceEvents[_0x16b3d9(0x1ca)]),this['logger'][_0x16b3d9(0x16a)](_0x30d74e[_0x16b3d9(0x1c8)]),await this[_0x16b3d9(0x15b)](_0x5b3fb9,_0x45e513),PerformanceTester[_0x16b3d9(0x13c)](PerformanceEvents[_0x16b3d9(0x1ca)]);}async['puppeteerBstackExecutor'](_0x2b70cb,_0x367d12){const _0x50cf01=a90_0x44f1ab,_0x4f8134={'EWKav':function(_0x5101c4,_0x30d231,_0x26cd8a){return _0x5101c4(_0x30d231,_0x26cd8a);},'iuuXh':function(_0x5d43a8,_0x1d403f){return _0x5d43a8(_0x1d403f);}};try{const _0x1dd7f7=0x3a98,_0x3e3087=_0x50cf01(0x196)+JSON[_0x50cf01(0x1b7)](_0x367d12),_0x1f2e47=_0x2b70cb['evaluate'](_0x348c90=>{},_0x3e3087);let _0x4f30ca;await Promise[_0x50cf01(0x110)]([_0x1f2e47,new Promise((_0x55895e,_0x4ab23b)=>{const _0x25e35f=_0x50cf01;_0x4f30ca=_0x4f8134['EWKav'](setTimeout,()=>_0x4ab23b(new Error(_0x25e35f(0x1bf)+_0x1dd7f7+'ms')),_0x1dd7f7);})])[_0x50cf01(0x176)](()=>{const _0x1311d7=_0x50cf01;_0x4f8134[_0x1311d7(0x13e)](clearTimeout,_0x4f30ca);});}catch(_0x28505a){this['logger'][_0x50cf01(0x16a)](_0x50cf01(0x12a)+(_0x28505a[_0x50cf01(0xfe)]||_0x28505a));}}}module['exports']=PuppeteerDriverModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a91_0x12051d=a91_0x3998;function a91_0xa234(){const _0x3f8e1c=['DEXSI','getTestIdentifierFromTestInfo','7|5|0|8|3|1|2|6|4','registerObserver','testFrameworkEvent','exports','../state/testFrameworkState.js','KEY_HUB_URL','../../../helpers/classLogger.js','10xjxdoD','75955YOZYNP','POST','testSessionEvent','\x20hookState:\x20','env','iCITp','frameworkVersion','getContext','testFrameworkData','811108Ytfckp','onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20','../state/automationFrameworkState.js','KEY_TEST_FRAMEWORK_VERSION','3137540ZoGrkq','7904310oyraeA','matchHookRegex','getBuildHashedId','../../../helpers/helper.js','../TestInfo.js','bTXaF','logger','VrhPA','bind','error','getRef','KEY_PLATFORM_INDEX','from','debug','1301eJmAuo','getCurrentTestState','8109736qQeyaY','getTestId','test_deferred','getProcessId','MODULE_NAME','../../../helpers/test-observability/constants.js','onAllTestEvents','KEY_CAPABILITIES','jestUtils','recreateIdentifierFromTestInfo','cAAIL','getState','testInfo','TEST','Error\x20in\x20sending\x20CBTSession:\x20','page','cJzRR','util','retry','CUCUMBER','getThreadId','JEST','onPageCreate','kWrMA','getTestUUID','base64','../cliUtils.js','frameworkName','getModuleName','hookState','../framework/testFramework.js','136482ktnStB','6okgMmc','forEach','5916Iqtnvt','../state/hookState.js','testUuid','values','O11yHashedID','9wyDnnR',',\x20test_identifier:\x20','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','sendTestFrameworkEvent','../framework/automationFramework.js','stringify','getInstance','KEY_SESSION_ID','../grpcClient.js','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','split','Error\x20in\x20sendTestFrameworkEvent:\x20','isLTSSession','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','testhubConfig','BROWSERSTACK_TESTHUB_UUID','izlLN','./puppeteerDriverModule.js','KEY_TEST_FRAMEWORK_NAME','../../../helpers/testhub/constants','toString','onPageCreate\x20CBTSession\x20payload:\x20','getTestDetails','format','getTestFramework','version','getLTSSessionId','1362wVwdSH','name','onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'];a91_0xa234=function(){return _0x3f8e1c;};return a91_0xa234();}function a91_0x3998(_0x34c451,_0x135717){const _0xa234dd=a91_0xa234();return a91_0x3998=function(_0x3998fb,_0x156a82){_0x3998fb=_0x3998fb-0x177;let _0x57fc19=_0xa234dd[_0x3998fb];return _0x57fc19;},a91_0x3998(_0x34c451,_0x135717);}(function(_0x2f2821,_0x280736){const _0xef653d=a91_0x3998,_0x5c4bba=_0x2f2821();while(!![]){try{const _0x3e1486=parseInt(_0xef653d(0x1ad))/0x1*(-parseInt(_0xef653d(0x184))/0x2)+-parseInt(_0xef653d(0x1ce))/0x3+parseInt(_0xef653d(0x19a))/0x4*(parseInt(_0xef653d(0x190))/0x5)+-parseInt(_0xef653d(0x1cf))/0x6*(parseInt(_0xef653d(0x19e))/0x7)+parseInt(_0xef653d(0x1af))/0x8*(-parseInt(_0xef653d(0x1d6))/0x9)+-parseInt(_0xef653d(0x19f))/0xa+parseInt(_0xef653d(0x191))/0xb*(parseInt(_0xef653d(0x1d1))/0xc);if(_0x3e1486===_0x280736)break;else _0x5c4bba['push'](_0x5c4bba['shift']());}catch(_0x3f4206){_0x5c4bba['push'](_0x5c4bba['shift']());}}}(a91_0xa234,0x98cd4));const util=require(a91_0x12051d(0x1c0)),BaseModule=require('./baseModule'),{createClassLogger}=require(a91_0x12051d(0x18f)),AutomationFramework=require(a91_0x12051d(0x1da)),AutomationFrameworkState=require(a91_0x12051d(0x19c)),HookState=require(a91_0x12051d(0x1d2)),TestFramework=require(a91_0x12051d(0x1cd)),TestFrameworkState=require(a91_0x12051d(0x18d)),PlaywrightDriverModule=require('./playwrightDriverModule.js'),PuppeteerDriverModule=require(a91_0x12051d(0x17a)),TestFrameworkConstants=require('../framework/constants/testFrameworkConstants.js'),GrpcClient=require(a91_0x12051d(0x1de)),CLIUtils=require(a91_0x12051d(0x1c9)),TestInfo=require(a91_0x12051d(0x1a3)),testHubConstants=require(a91_0x12051d(0x17c)),{FRAMEWORKS}=require(a91_0x12051d(0x1b4)),helper=require('../../../helpers/helper.js'),LoadTestModule=require('./loadTestModule.js'),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require('../browserstackCLI.js'),{getPlaywrightProvider,getProductForSession}=require(a91_0x12051d(0x1a2));class TestHubModule extends BaseModule{[a91_0x12051d(0x1a5)]=createClassLogger('TestHubModule');constructor(_0x478e92,_0x9f2b7d=null){const _0x592593=a91_0x12051d,_0x2ffb12={};_0x2ffb12[_0x592593(0x1a6)]=_0x592593(0x189),_0x2ffb12['cAAIL']='TestHubModule';const _0x54849d=_0x2ffb12,_0x2743c8=_0x54849d[_0x592593(0x1a6)][_0x592593(0x1e0)]('|');let _0x24dcfd=0x0;while(!![]){switch(_0x2743c8[_0x24dcfd++]){case'0':this[_0x592593(0x177)]=_0x478e92;continue;case'1':Object[_0x592593(0x1d4)](TestFrameworkState)[_0x592593(0x1d0)](_0x22df59=>{const _0x1680e3=_0x592593;Object[_0x1680e3(0x1d4)](HookState)['forEach'](_0x294068=>{const _0x32929a=_0x1680e3;TestFramework[_0x32929a(0x18a)](_0x22df59,_0x294068,this[_0x32929a(0x1b5)][_0x32929a(0x1a7)](this));});});continue;case'2':process[_0x592593(0x195)][testHubConstants['ENV_VAR']['BROWSERSTACK_TESTHUB_JWT']]=this[_0x592593(0x177)]['getJwt']();continue;case'3':AutomationFramework[_0x592593(0x18a)](AutomationFrameworkState['CREATE'],HookState['POST'],this[_0x592593(0x1c5)][_0x592593(0x1a7)](this));continue;case'4':BrowserstackCLI[_0x592593(0x1d5)]=this['testhubConfig'][_0x592593(0x1a1)]();continue;case'5':this[_0x592593(0x185)]=_0x54849d[_0x592593(0x1b9)];continue;case'6':process['env'][testHubConstants['ENV_VAR'][_0x592593(0x178)]]=this[_0x592593(0x177)]['getBuildHashedId']();continue;case'7':super(_0x9f2b7d);continue;case'8':this['jestUtils']=new JestUtils();continue;}break;}}[a91_0x12051d(0x1cb)](){const _0x55c465=a91_0x12051d;return TestHubModule[_0x55c465(0x1b3)];}[a91_0x12051d(0x1b5)](_0x3ae7a4){const _0x1101f0=a91_0x12051d,_0x5cf33b={};_0x5cf33b['izlLN']=function(_0x1bb7a3,_0x2af249){return _0x1bb7a3===_0x2af249;};const _0x587496=_0x5cf33b,_0x5e4e78=_0x3ae7a4['instance'],_0x40d9a5=_0x5e4e78[_0x1101f0(0x1ae)]();(_0x587496[_0x1101f0(0x179)](_0x40d9a5,TestFrameworkState[_0x1101f0(0x1bc)])||CLIUtils[_0x1101f0(0x1a0)](_0x40d9a5[_0x1101f0(0x17d)]()[_0x1101f0(0x1e0)]('.')[0x1]))&&this[_0x1101f0(0x1d9)](_0x3ae7a4);}async[a91_0x12051d(0x1d9)](_0x22a450){const _0x396713=a91_0x12051d,_0x3afe51={};_0x3afe51[_0x396713(0x1bf)]=function(_0xf7842f,_0x483ba8){return _0xf7842f===_0x483ba8;},_0x3afe51[_0x396713(0x196)]='sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event';const _0x2cca95=_0x3afe51;try{const _0x5b5947=BrowserstackCLI[_0x396713(0x1dc)]()[_0x396713(0x181)]()['createTestFrameworkEventPayload'](_0x22a450);if(!_0x5b5947||_0x2cca95['cJzRR'](Object['keys'](_0x5b5947)['length'],0x0)){this[_0x396713(0x1a5)]['debug'](_0x2cca95[_0x396713(0x196)]);return;}const _0x1e4877=await GrpcClient[_0x396713(0x1dc)]()[_0x396713(0x18b)](_0x5b5947);this[_0x396713(0x1a5)]['debug'](_0x396713(0x1d8)+_0x5b5947['testFrameworkState']+_0x396713(0x194)+_0x5b5947[_0x396713(0x1cc)]);}catch(_0x2b488c){this['logger'][_0x396713(0x1a8)](_0x396713(0x1e1)+util[_0x396713(0x180)](_0x2b488c));}}async[a91_0x12051d(0x1c5)](_0x2ae4ce){const _0x5924e2=a91_0x12051d,_0x14ed6e={'DEXSI':function(_0x2e85f3,_0x4c9f5d){return _0x2e85f3===_0x4c9f5d;},'hUsMt':_0x5924e2(0x1df),'oMrqk':function(_0x173084,_0x192cd1){return _0x173084(_0x192cd1);},'bTXaF':function(_0x351e21){return _0x351e21();},'FtyUn':_0x5924e2(0x1c8),'kWrMA':function(_0x2130fc,_0x4f1ca8){return _0x2130fc===_0x4f1ca8;}};try{if(_0x2ae4ce[_0x5924e2(0x1be)]){const _0x497f34=this[_0x5924e2(0x1b0)](_0x2ae4ce);this[_0x5924e2(0x1a5)]['debug'](_0x5924e2(0x19b)+_0x497f34);if(this[_0x5924e2(0x199)]&&_0x14ed6e[_0x5924e2(0x187)](this['testFrameworkData']['name'],FRAMEWORKS[_0x5924e2(0x1c4)])&&!_0x2ae4ce['testInfo']){this[_0x5924e2(0x1a5)][_0x5924e2(0x1ac)](_0x14ed6e['hUsMt']);return;}let _0x24b311,_0x20ad20;if(this[_0x5924e2(0x199)]&&_0x14ed6e[_0x5924e2(0x187)](this['testFrameworkData'][_0x5924e2(0x185)],FRAMEWORKS[_0x5924e2(0x1c2)]))_0x24b311=_0x497f34,_0x20ad20=TestInfo[_0x5924e2(0x1c7)](_0x24b311);else this[_0x5924e2(0x199)]&&_0x14ed6e[_0x5924e2(0x187)](this[_0x5924e2(0x199)][_0x5924e2(0x185)],FRAMEWORKS[_0x5924e2(0x1c4)])?(_0x24b311=this[_0x5924e2(0x1b7)][_0x5924e2(0x1b8)](_0x2ae4ce[_0x5924e2(0x1bb)]),this[_0x5924e2(0x1a5)]['debug'](_0x5924e2(0x186)+_0x24b311)):(_0x24b311=TestInfo[_0x5924e2(0x188)](_0x2ae4ce['testInfo'],_0x2ae4ce['testInfo'][_0x5924e2(0x1c1)]),_0x20ad20=TestInfo[_0x5924e2(0x1c7)](_0x24b311));const _0x56a71b=TestInfo[_0x5924e2(0x17f)](_0x24b311),_0x171af9=_0x2ae4ce['instance'],_0xf218d2=AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PlaywrightDriverModule[_0x5924e2(0x1aa)])||AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PuppeteerDriverModule[_0x5924e2(0x1aa)]),_0x4a3b08=_0x56a71b?.[TestFrameworkConstants[_0x5924e2(0x17b)]]||this['testFrameworkData']&&this['testFrameworkData']['name'],_0x4aed4a=_0x56a71b?.[TestFrameworkConstants[_0x5924e2(0x19d)]]||this['testFrameworkData']&&this[_0x5924e2(0x199)][_0x5924e2(0x182)],_0x44ed33=TestFrameworkState['TEST']['toString']()[_0x5924e2(0x1e0)]('.')[0x1],_0x3897cc=HookState[_0x5924e2(0x192)][_0x5924e2(0x17d)]()[_0x5924e2(0x1e0)]('.')[0x1],_0x447403=_0x171af9[_0x5924e2(0x198)](),_0x577470=AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PlaywrightDriverModule[_0x5924e2(0x18e)],'')||AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PuppeteerDriverModule[_0x5924e2(0x18e)],''),_0xc0a603=LoadTestModule[_0x5924e2(0x1e2)]()?LoadTestModule[_0x5924e2(0x183)]():AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PlaywrightDriverModule[_0x5924e2(0x1dd)],'')||AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PuppeteerDriverModule['KEY_SESSION_ID'],''),_0x28de25={'provider':_0x14ed6e['oMrqk'](getPlaywrightProvider,_0x577470),'frameworkName':_0x171af9[_0x5924e2(0x1ca)],'frameworkVersion':_0x171af9[_0x5924e2(0x197)],'frameworkSessionId':_0xc0a603,'ref':_0x171af9[_0x5924e2(0x1a9)](),'hubUrl':_0x577470,'product':_0x14ed6e[_0x5924e2(0x1a4)](getProductForSession)},_0x39b684=AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PlaywrightDriverModule['KEY_CAPABILITIES'],null)||AutomationFramework[_0x5924e2(0x1ba)](_0x171af9,PuppeteerDriverModule[_0x5924e2(0x1b6)],null),_0x58bf7c=_0x39b684?Buffer[_0x5924e2(0x1ab)](JSON[_0x5924e2(0x1db)](_0x39b684))[_0x5924e2(0x17d)](_0x14ed6e['FtyUn']):null,_0x2ab966={'hash':_0x447403['getId'](),'threadId':_0x447403[_0x5924e2(0x1c3)]()[_0x5924e2(0x17d)](),'processId':_0x447403[_0x5924e2(0x1b2)]()[_0x5924e2(0x17d)]()},_0xd59aaa={};_0xd59aaa['test_identifier']=_0x24b311;const _0x3ea480={};_0x3ea480[_0x5924e2(0x1d3)]=_0x20ad20;const _0x10f32f={'platformIndex':_0xf218d2,'testFrameworkName':_0x4a3b08,'testFrameworkVersion':_0x4aed4a,'testFrameworkState':_0x44ed33,'testHookState':_0x3897cc,...this[_0x5924e2(0x199)]&&_0x14ed6e[_0x5924e2(0x1c6)](this[_0x5924e2(0x199)][_0x5924e2(0x185)],FRAMEWORKS[_0x5924e2(0x1c4)])?_0xd59aaa:_0x3ea480,'automationSession':_0x28de25,'capabilities':_0x58bf7c,'executionContext':_0x2ab966};this[_0x5924e2(0x1a5)][_0x5924e2(0x1ac)](_0x5924e2(0x17e)+util[_0x5924e2(0x180)](_0x10f32f));const _0x51b0ee=await GrpcClient['getInstance']()[_0x5924e2(0x193)](_0x10f32f);this[_0x5924e2(0x1a5)][_0x5924e2(0x1ac)](_0x5924e2(0x1e3)+_0x497f34+(this[_0x5924e2(0x199)]&&_0x14ed6e[_0x5924e2(0x187)](this[_0x5924e2(0x199)][_0x5924e2(0x185)],FRAMEWORKS['JEST'])?_0x5924e2(0x1d7)+_0x24b311:''));}}catch(_0x208847){this[_0x5924e2(0x1a5)][_0x5924e2(0x1a8)](_0x5924e2(0x1bd)+util[_0x5924e2(0x180)](_0x208847));}}}TestHubModule[a91_0x12051d(0x1b3)]='TestHubModule',TestHubModule['KEY_TEST_DEFERRED']=a91_0x12051d(0x1b1),module[a91_0x12051d(0x18c)]=TestHubModule;
|
|
1
|
+
const a91_0x144a3a=a91_0x247c;function a91_0x247c(_0x5e0714,_0x3e79d7){const _0x2f5278=a91_0x2f52();return a91_0x247c=function(_0x247c49,_0x8d58f){_0x247c49=_0x247c49-0x1d3;let _0x57e2c6=_0x2f5278[_0x247c49];return _0x57e2c6;},a91_0x247c(_0x5e0714,_0x3e79d7);}(function(_0x568837,_0x3f2226){const _0x3e74b5=a91_0x247c,_0x170eed=_0x568837();while(!![]){try{const _0x4271dd=-parseInt(_0x3e74b5(0x245))/0x1+-parseInt(_0x3e74b5(0x1d3))/0x2*(parseInt(_0x3e74b5(0x1f7))/0x3)+parseInt(_0x3e74b5(0x1e0))/0x4*(-parseInt(_0x3e74b5(0x20e))/0x5)+-parseInt(_0x3e74b5(0x21d))/0x6*(-parseInt(_0x3e74b5(0x20f))/0x7)+-parseInt(_0x3e74b5(0x22a))/0x8+-parseInt(_0x3e74b5(0x240))/0x9*(parseInt(_0x3e74b5(0x219))/0xa)+-parseInt(_0x3e74b5(0x1e4))/0xb*(-parseInt(_0x3e74b5(0x237))/0xc);if(_0x4271dd===_0x3f2226)break;else _0x170eed['push'](_0x170eed['shift']());}catch(_0x58c717){_0x170eed['push'](_0x170eed['shift']());}}}(a91_0x2f52,0xcdb08));const util=require(a91_0x144a3a(0x1d7)),BaseModule=require(a91_0x144a3a(0x1ff)),{createClassLogger}=require(a91_0x144a3a(0x244)),AutomationFramework=require(a91_0x144a3a(0x1d4)),AutomationFrameworkState=require(a91_0x144a3a(0x211)),HookState=require(a91_0x144a3a(0x204)),TestFramework=require(a91_0x144a3a(0x220)),TestFrameworkState=require(a91_0x144a3a(0x242)),PlaywrightDriverModule=require(a91_0x144a3a(0x1f1)),PuppeteerDriverModule=require('./puppeteerDriverModule.js'),TestFrameworkConstants=require(a91_0x144a3a(0x20d)),GrpcClient=require('../grpcClient.js'),CLIUtils=require(a91_0x144a3a(0x238)),TestInfo=require('../TestInfo.js'),testHubConstants=require(a91_0x144a3a(0x1f8)),{FRAMEWORKS}=require(a91_0x144a3a(0x23b)),helper=require(a91_0x144a3a(0x1ec)),LoadTestModule=require(a91_0x144a3a(0x21f)),JestUtils=require('../utils/jest-utils.js'),BrowserstackCLI=require(a91_0x144a3a(0x224)),{getPlaywrightProvider,getProductForSession}=require('../../../helpers/helper.js');class TestHubModule extends BaseModule{['logger']=createClassLogger('TestHubModule');constructor(_0x38f2c6,_0x56f956=null){const _0x64e5cc=a91_0x144a3a,_0x3bbd02={};_0x3bbd02[_0x64e5cc(0x1e2)]=_0x64e5cc(0x1e8),_0x3bbd02[_0x64e5cc(0x1fe)]='TestHubModule';const _0x82ada4=_0x3bbd02,_0x320e54=_0x82ada4[_0x64e5cc(0x1e2)][_0x64e5cc(0x239)]('|');let _0x55bc1f=0x0;while(!![]){switch(_0x320e54[_0x55bc1f++]){case'0':Object[_0x64e5cc(0x1e1)](TestFrameworkState)[_0x64e5cc(0x234)](_0x3c80f1=>{const _0xbf0260=_0x64e5cc;Object[_0xbf0260(0x1e1)](HookState)['forEach'](_0x1e7244=>{const _0x5460d6=_0xbf0260;TestFramework[_0x5460d6(0x1f4)](_0x3c80f1,_0x1e7244,this[_0x5460d6(0x205)]['bind'](this));});});continue;case'1':this[_0x64e5cc(0x203)]=new JestUtils();continue;case'2':this[_0x64e5cc(0x23a)]=_0x38f2c6;continue;case'3':BrowserstackCLI[_0x64e5cc(0x1e9)]=this[_0x64e5cc(0x23a)][_0x64e5cc(0x1e3)]();continue;case'4':process[_0x64e5cc(0x1e6)][testHubConstants['ENV_VAR'][_0x64e5cc(0x1de)]]=this['testhubConfig'][_0x64e5cc(0x210)]();continue;case'5':this[_0x64e5cc(0x1d9)]=_0x82ada4['xolow'];continue;case'6':super(_0x56f956);continue;case'7':process[_0x64e5cc(0x1e6)][testHubConstants[_0x64e5cc(0x225)][_0x64e5cc(0x1f3)]]=this[_0x64e5cc(0x23a)][_0x64e5cc(0x1e3)]();continue;case'8':AutomationFramework[_0x64e5cc(0x1f4)](AutomationFrameworkState['CREATE'],HookState[_0x64e5cc(0x1d5)],this['onPageCreate'][_0x64e5cc(0x1d8)](this));continue;}break;}}[a91_0x144a3a(0x1fa)](){const _0x159255=a91_0x144a3a;return TestHubModule[_0x159255(0x200)];}[a91_0x144a3a(0x205)](_0x6af9fe){const _0x52ca4a=a91_0x144a3a,_0x143777={};_0x143777[_0x52ca4a(0x21c)]=function(_0x4b3a41,_0xc91a68){return _0x4b3a41===_0xc91a68;};const _0x5d21d1=_0x143777,_0x22fa1e=_0x6af9fe['instance'],_0x36c712=_0x22fa1e[_0x52ca4a(0x1eb)]();(_0x5d21d1[_0x52ca4a(0x21c)](_0x36c712,TestFrameworkState[_0x52ca4a(0x21e)])||CLIUtils[_0x52ca4a(0x1dc)](_0x36c712[_0x52ca4a(0x216)]()[_0x52ca4a(0x239)]('.')[0x1]))&&this[_0x52ca4a(0x228)](_0x6af9fe);}async['sendTestFrameworkEvent'](_0xbefdc){const _0x2d9213=a91_0x144a3a,_0x583d3b={};_0x583d3b['FVLyv']=function(_0x24b251,_0x42e86b){return _0x24b251===_0x42e86b;},_0x583d3b['OmMSo']=_0x2d9213(0x1dd);const _0x44cf6f=_0x583d3b;try{const _0x327a1a=BrowserstackCLI[_0x2d9213(0x212)]()[_0x2d9213(0x1e5)]()[_0x2d9213(0x21a)](_0xbefdc);if(!_0x327a1a||_0x44cf6f[_0x2d9213(0x1fc)](Object[_0x2d9213(0x1db)](_0x327a1a)[_0x2d9213(0x207)],0x0)){this[_0x2d9213(0x235)][_0x2d9213(0x20a)](_0x44cf6f['OmMSo']);return;}const _0x55ec58=await GrpcClient[_0x2d9213(0x212)]()[_0x2d9213(0x215)](_0x327a1a);this['logger']['debug'](_0x2d9213(0x1ee)+_0x327a1a[_0x2d9213(0x22f)]+_0x2d9213(0x241)+_0x327a1a[_0x2d9213(0x22e)]);}catch(_0x198887){this[_0x2d9213(0x235)][_0x2d9213(0x243)](_0x2d9213(0x208)+util[_0x2d9213(0x1d6)](_0x198887));}}async[a91_0x144a3a(0x214)](_0x10a3b6){const _0x2ffc01=a91_0x144a3a,_0x4d9289={'fSXmt':function(_0x55123c,_0x3d11e0){return _0x55123c===_0x3d11e0;},'alpiK':_0x2ffc01(0x229),'DHzmf':function(_0x41448e,_0x25540d){return _0x41448e(_0x25540d);},'GJefU':function(_0x2d8407){return _0x2d8407();},'urHja':_0x2ffc01(0x236),'SBmmj':function(_0x3a5e74,_0x21beb7){return _0x3a5e74===_0x21beb7;}};try{if(_0x10a3b6[_0x2ffc01(0x23c)]){const _0x17fc58=this[_0x2ffc01(0x23d)](_0x10a3b6);this[_0x2ffc01(0x235)][_0x2ffc01(0x20a)]('onPageCreate\x20Sending\x20CBT\x20for\x20testId:\x20'+_0x17fc58);if(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this['testFrameworkData'][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])&&!_0x10a3b6['testInfo']){this[_0x2ffc01(0x235)]['debug'](_0x4d9289[_0x2ffc01(0x1fb)]);return;}let _0x1e4723,_0x1b777d;if(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this[_0x2ffc01(0x20c)]['name'],FRAMEWORKS[_0x2ffc01(0x1f6)]))_0x1e4723=_0x17fc58,_0x1b777d=TestInfo[_0x2ffc01(0x233)](_0x1e4723);else this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?(_0x1e4723=this[_0x2ffc01(0x203)]['recreateIdentifierFromTestInfo'](_0x10a3b6['testInfo']),this[_0x2ffc01(0x235)][_0x2ffc01(0x20a)]('onPageCreate:\x20Recreated\x20Jest\x20testIdentifier:\x20'+_0x1e4723)):(_0x1e4723=TestInfo[_0x2ffc01(0x1ed)](_0x10a3b6['testInfo'],_0x10a3b6[_0x2ffc01(0x1f9)]['retry']),_0x1b777d=TestInfo[_0x2ffc01(0x233)](_0x1e4723));const _0x343560=TestInfo[_0x2ffc01(0x1ef)](_0x1e4723),_0x19b002=_0x10a3b6[_0x2ffc01(0x1f0)],_0x2076d6=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule['KEY_PLATFORM_INDEX'])||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x201)]),_0x496822=_0x343560?.[TestFrameworkConstants[_0x2ffc01(0x221)]]||this['testFrameworkData']&&this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],_0x4f0d81=_0x343560?.[TestFrameworkConstants[_0x2ffc01(0x213)]]||this[_0x2ffc01(0x20c)]&&this[_0x2ffc01(0x20c)][_0x2ffc01(0x209)],_0x5d4b4f=TestFrameworkState['TEST'][_0x2ffc01(0x216)]()['split']('.')[0x1],_0x505f3f=HookState['POST'][_0x2ffc01(0x216)]()[_0x2ffc01(0x239)]('.')[0x1],_0x38076e=_0x19b002[_0x2ffc01(0x230)](),_0x1fb810=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule[_0x2ffc01(0x1f2)],'')||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x1f2)],''),_0x464cd3=LoadTestModule[_0x2ffc01(0x226)]()?LoadTestModule['getLTSSessionId']():AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule['KEY_SESSION_ID'],'')||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule[_0x2ffc01(0x23f)],''),_0x3551e6={'provider':_0x4d9289[_0x2ffc01(0x22b)](getPlaywrightProvider,_0x1fb810),'frameworkName':_0x19b002[_0x2ffc01(0x1ea)],'frameworkVersion':_0x19b002['frameworkVersion'],'frameworkSessionId':_0x464cd3,'ref':_0x19b002['getRef'](),'hubUrl':_0x1fb810,'product':_0x4d9289[_0x2ffc01(0x1da)](getProductForSession)},_0x54f650=AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PlaywrightDriverModule[_0x2ffc01(0x1f5)],null)||AutomationFramework[_0x2ffc01(0x218)](_0x19b002,PuppeteerDriverModule['KEY_CAPABILITIES'],null),_0x5020b9=_0x54f650?Buffer['from'](JSON[_0x2ffc01(0x21b)](_0x54f650))['toString'](_0x4d9289[_0x2ffc01(0x202)]):null,_0x383220={'hash':_0x38076e[_0x2ffc01(0x22d)](),'threadId':_0x38076e[_0x2ffc01(0x217)]()['toString'](),'processId':_0x38076e[_0x2ffc01(0x22c)]()[_0x2ffc01(0x216)]()},_0x85c7e7={};_0x85c7e7['test_identifier']=_0x1e4723;const _0x48708c={};_0x48708c['testUuid']=_0x1b777d;const _0x2928a5={'platformIndex':_0x2076d6,'testFrameworkName':_0x496822,'testFrameworkVersion':_0x4f0d81,'testFrameworkState':_0x5d4b4f,'testHookState':_0x505f3f,...this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x206)](this['testFrameworkData'][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?_0x85c7e7:_0x48708c,'automationSession':_0x3551e6,'capabilities':_0x5020b9,'executionContext':_0x383220};this['logger']['debug'](_0x2ffc01(0x222)+util[_0x2ffc01(0x1d6)](_0x2928a5));const _0x2ca4d2=await GrpcClient[_0x2ffc01(0x212)]()[_0x2ffc01(0x1df)](_0x2928a5);this['logger']['debug'](_0x2ffc01(0x223)+_0x17fc58+(this[_0x2ffc01(0x20c)]&&_0x4d9289[_0x2ffc01(0x20b)](this[_0x2ffc01(0x20c)][_0x2ffc01(0x1d9)],FRAMEWORKS[_0x2ffc01(0x23e)])?_0x2ffc01(0x1e7)+_0x1e4723:''));}}catch(_0x16254e){this[_0x2ffc01(0x235)]['error'](_0x2ffc01(0x1fd)+util[_0x2ffc01(0x1d6)](_0x16254e));}}}function a91_0x2f52(){const _0xd4fbee=['DHzmf','getProcessId','getId','hookState','testFrameworkState','getContext','test_deferred','TestHubModule','getTestUUID','forEach','logger','base64','396852HzDydh','../cliUtils.js','split','testhubConfig','../../../helpers/test-observability/constants.js','page','getTestId','JEST','KEY_SESSION_ID','72rbhMon','\x20hookState:\x20','../state/testFrameworkState.js','error','../../../helpers/classLogger.js','315792wsuPLw','1804576IzqLnQ','../framework/automationFramework.js','POST','format','util','bind','name','GJefU','keys','matchHookRegex','sendTestFrameworkEvent:\x20No\x20payload\x20created,\x20skipping\x20test\x20framework\x20event','BROWSERSTACK_TESTHUB_JWT','testSessionEvent','4NtAIdN','values','dsNMk','getBuildHashedId','1045FKUggr','getTestFramework','env',',\x20test_identifier:\x20','6|5|2|1|8|0|4|7|3','O11yHashedID','frameworkName','getCurrentTestState','../../../helpers/helper.js','getTestIdentifierFromTestInfo','sendTestFrameworkEvent\x20complete\x20for\x20testState:\x20','getTestDetails','instance','./playwrightDriverModule.js','KEY_HUB_URL','BROWSERSTACK_TESTHUB_UUID','registerObserver','KEY_CAPABILITIES','CUCUMBER','3eiwREW','../../../helpers/testhub/constants','testInfo','getModuleName','alpiK','FVLyv','Error\x20in\x20sending\x20CBTSession:\x20','xolow','./baseModule','MODULE_NAME','KEY_PLATFORM_INDEX','urHja','jestUtils','../state/hookState.js','onAllTestEvents','fSXmt','length','Error\x20in\x20sendTestFrameworkEvent:\x20','version','debug','SBmmj','testFrameworkData','../framework/constants/testFrameworkConstants.js','5221285DzKxcB','35uhKfek','getJwt','../state/automationFrameworkState.js','getInstance','KEY_TEST_FRAMEWORK_VERSION','onPageCreate','testFrameworkEvent','toString','getThreadId','getState','378520BeQuHG','createTestFrameworkEventPayload','stringify','wfAIl','935736csELdn','TEST','./loadTestModule.js','../framework/testFramework.js','KEY_TEST_FRAMEWORK_NAME','onPageCreate\x20CBTSession\x20payload:\x20','onPageCreate\x20CBTSession\x20complete\x20for\x20testId:\x20','../browserstackCLI.js','ENV_VAR','isLTSSession','KEY_TEST_DEFERRED','sendTestFrameworkEvent','onPageCreate:\x20Skipping\x20CBT\x20session\x20event\x20-\x20no\x20testInfo\x20(page\x20created\x20outside\x20test\x20context)','4110944xHcjPT'];a91_0x2f52=function(){return _0xd4fbee;};return a91_0x2f52();}TestHubModule[a91_0x144a3a(0x200)]=a91_0x144a3a(0x232),TestHubModule[a91_0x144a3a(0x227)]=a91_0x144a3a(0x231),module['exports']=TestHubModule;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x164bee=a92_0x4973;function a92_0x4973(_0x91b972,_0x15693c){const _0x3147de=a92_0x3147();return a92_0x4973=function(_0x4973e7,_0x5d9a0d){_0x4973e7=_0x4973e7-0xdb;let _0x5dd77b=_0x3147de[_0x4973e7];return _0x5dd77b;},a92_0x4973(_0x91b972,_0x15693c);}(function(_0x1d7d04,_0x4a4dd9){const _0x49dfd7=a92_0x4973,_0x53f0b7=_0x1d7d04();while(!![]){try{const _0x13020b=-parseInt(_0x49dfd7(0xe3))/0x1+parseInt(_0x49dfd7(0xed))/0x2*(parseInt(_0x49dfd7(0xeb))/0x3)+parseInt(_0x49dfd7(0xe8))/0x4*(-parseInt(_0x49dfd7(0xe9))/0x5)+-parseInt(_0x49dfd7(0xf0))/0x6+parseInt(_0x49dfd7(0xec))/0x7+-parseInt(_0x49dfd7(0xdc))/0x8+parseInt(_0x49dfd7(0xe2))/0x9*(parseInt(_0x49dfd7(0xdf))/0xa);if(_0x13020b===_0x4a4dd9)break;else _0x53f0b7['push'](_0x53f0b7['shift']());}catch(_0x1d6113){_0x53f0b7['push'](_0x53f0b7['shift']());}}}(a92_0x3147,0x44423));const {PLAYWRIGHT}=require('../../utils/constants'),a92_0xf27fcf={};a92_0xf27fcf[a92_0x164bee(0xdd)]=0x0,a92_0xf27fcf[a92_0x164bee(0xe5)]=function(){const _0x16ee86=a92_0x164bee,_0x433ddc={};_0x433ddc[_0x16ee86(0xe1)]=_0x16ee86(0xe7);const _0x4b6075=_0x433ddc;return _0x4b6075[_0x16ee86(0xe1)];};const a92_0x3d315f={};a92_0x3d315f[a92_0x164bee(0xdd)]=0x1,a92_0x3d315f[a92_0x164bee(0xe5)]=function(){const _0x2c8a17=a92_0x164bee,_0x5c203e={};_0x5c203e[_0x2c8a17(0xe6)]='AutomationFrameworkState.CREATE';const _0x4211c2=_0x5c203e;return _0x4211c2[_0x2c8a17(0xe6)];};const a92_0x22375d={};function a92_0x3147(){const _0x2fa43a=['4uNMYbC','1604350jAHDLZ','HWlkO','3JMEhCU','2371726zPBuWc','500334eOcLTZ','values','exports','3135708hiLcKQ','TTpJn','AutomationFrameworkState.IDLE','vZLsA','3577760OYCViB','value','find','351620kBQtPt','AutomationFrameworkState.EXECUTE','YcWmQ','279UaxtnK','108712XNrnoR','AutomationFrameworkState.PLAYWRIGHT_DISPATCH','toString','WqmlH','AutomationFrameworkState.NONE'];a92_0x3147=function(){return _0x2fa43a;};return a92_0x3147();}a92_0x22375d[a92_0x164bee(0xdd)]=0x2,a92_0x22375d['toString']=function(){const _0x49d356=a92_0x164bee,_0x2906d2={};_0x2906d2[_0x49d356(0xea)]=_0x49d356(0xe4);const _0x36b719=_0x2906d2;return _0x36b719[_0x49d356(0xea)];};const a92_0x574be7={};a92_0x574be7[a92_0x164bee(0xdd)]=0x3,a92_0x574be7[a92_0x164bee(0xe5)]=function(){const _0x340f29=a92_0x164bee,_0xd321ee={};_0xd321ee['sgWdl']=_0x340f29(0xe0);const _0xc0ae79=_0xd321ee;return _0xc0ae79['sgWdl'];};const a92_0x308dcd={};a92_0x308dcd[a92_0x164bee(0xdd)]=0x4,a92_0x308dcd['toString']=function(){const _0x1ef721=a92_0x164bee,_0x54e8b1={};_0x54e8b1[_0x1ef721(0xf1)]=_0x1ef721(0xf2);const _0x369871=_0x54e8b1;return _0x369871[_0x1ef721(0xf1)];};const a92_0x2be646={};a92_0x2be646[a92_0x164bee(0xdd)]=0x5,a92_0x2be646['toString']=function(){const _0x57a6f9=a92_0x164bee,_0x4f69f6={};_0x4f69f6[_0x57a6f9(0xdb)]='AutomationFrameworkState.QUIT';const _0xbbdf54=_0x4f69f6;return _0xbbdf54[_0x57a6f9(0xdb)];};const AutomationFrameworkState=Object['freeze']({'NONE':a92_0xf27fcf,'CREATE':a92_0x3d315f,'PLAYWRIGHT_DISPATCH':a92_0x22375d,'EXECUTE':a92_0x574be7,'IDLE':a92_0x308dcd,'QUIT':a92_0x2be646,'fromValue'(_0x6a68b5){const _0x1652eb=a92_0x164bee;return Object[_0x1652eb(0xee)](AutomationFrameworkState)[_0x1652eb(0xde)](_0xa4f569=>_0xa4f569[_0x1652eb(0xdd)]===_0x6a68b5);}});module[a92_0x164bee(0xef)]=AutomationFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93_0x5d5de8=a93_0x2a99;function a93_0x3676(){const _0x1b476f=['1884892EEqVxJ','1981112AdanQl','282858iXYvNQ','exports','3245274vfEtAd','value','DHCqc','hGYjj','5261490yopLOo','TJzhj','HookState.POST','values','10yXtxDy','find','toString','679329UukIyR','HookState.PRE','HookState.NONE','freeze','1205332qGIbhs','105SoFmWU'];a93_0x3676=function(){return _0x1b476f;};return a93_0x3676();}(function(_0x32f08d,_0x16ec21){const _0x32ad17=a93_0x2a99,_0x16c5c4=_0x32f08d();while(!![]){try{const _0x36d5db=parseInt(_0x32ad17(0x1df))/0x1+parseInt(_0x32ad17(0x1e5))/0x2+parseInt(_0x32ad17(0x1d4))/0x3+parseInt(_0x32ad17(0x1e3))/0x4*(-parseInt(_0x32ad17(0x1dc))/0x5)+-parseInt(_0x32ad17(0x1e7))/0x6*(parseInt(_0x32ad17(0x1e4))/0x7)+-parseInt(_0x32ad17(0x1e6))/0x8+-parseInt(_0x32ad17(0x1d8))/0x9;if(_0x36d5db===_0x16ec21)break;else _0x16c5c4['push'](_0x16c5c4['shift']());}catch(_0x2f3f9a){_0x16c5c4['push'](_0x16c5c4['shift']());}}}(a93_0x3676,0x89141));const a93_0x1120a6={};a93_0x1120a6[a93_0x5d5de8(0x1d5)]=0x0,a93_0x1120a6[a93_0x5d5de8(0x1de)]=function(){const _0xa92ae0=a93_0x5d5de8,_0x20658e={};_0x20658e['TJzhj']=_0xa92ae0(0x1e1);const _0x2fc7bb=_0x20658e;return _0x2fc7bb[_0xa92ae0(0x1d9)];};const a93_0x54b986={};a93_0x54b986[a93_0x5d5de8(0x1d5)]=0x1,a93_0x54b986[a93_0x5d5de8(0x1de)]=function(){const _0x2fde22=a93_0x5d5de8,_0x4cead4={};_0x4cead4[_0x2fde22(0x1d6)]=_0x2fde22(0x1e0);const _0x3c8ae4=_0x4cead4;return _0x3c8ae4['DHCqc'];};const a93_0x18212b={};a93_0x18212b[a93_0x5d5de8(0x1d5)]=0x2,a93_0x18212b[a93_0x5d5de8(0x1de)]=function(){const _0x4d1ed1=a93_0x5d5de8,_0x45d78b={};_0x45d78b['hGYjj']=_0x4d1ed1(0x1da);const _0x45ef9b=_0x45d78b;return _0x45ef9b[_0x4d1ed1(0x1d7)];};function a93_0x2a99(_0x5cecdb,_0x42cb65){const _0x367621=a93_0x3676();return a93_0x2a99=function(_0x2a99b1,_0x469471){_0x2a99b1=_0x2a99b1-0x1d3;let _0x44ee3b=_0x367621[_0x2a99b1];return _0x44ee3b;},a93_0x2a99(_0x5cecdb,_0x42cb65);}const HookState=Object[a93_0x5d5de8(0x1e2)]({'NONE':a93_0x1120a6,'PRE':a93_0x54b986,'POST':a93_0x18212b,'fromValue'(_0x5d38cf){const _0x508d03=a93_0x5d5de8;return Object[_0x508d03(0x1db)](HookState)[_0x508d03(0x1dd)](_0x1e9204=>_0x1e9204['value']===_0x5d38cf);}});module[a93_0x5d5de8(0x1d3)]=HookState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x5017c0=a94_0x52a4;(function(_0x52f9bc,_0x4c74f8){const _0x562f31=a94_0x52a4,_0x584097=_0x52f9bc();while(!![]){try{const _0x2110ff=-parseInt(_0x562f31(0x19d))/0x1*(-parseInt(_0x562f31(0x196))/0x2)+-parseInt(_0x562f31(0x1a7))/0x3+parseInt(_0x562f31(0x1a2))/0x4+-parseInt(_0x562f31(0x1bc))/0x5+-parseInt(_0x562f31(0x19e))/0x6*(parseInt(_0x562f31(0x1b8))/0x7)+parseInt(_0x562f31(0x1b1))/0x8*(parseInt(_0x562f31(0x1b0))/0x9)+-parseInt(_0x562f31(0x1b4))/0xa*(-parseInt(_0x562f31(0x1a4))/0xb);if(_0x2110ff===_0x4c74f8)break;else _0x584097['push'](_0x584097['shift']());}catch(_0x7c0111){_0x584097['push'](_0x584097['shift']());}}}(a94_0x3fa4,0x877a3));const a94_0x30a1e1={};a94_0x30a1e1[a94_0x5017c0(0x1a1)]=0x0,a94_0x30a1e1[a94_0x5017c0(0x19b)]=function(){const _0xaf3741=a94_0x5017c0,_0x449fc7={};_0x449fc7[_0xaf3741(0x1b2)]=_0xaf3741(0x19a);const _0x1a6cbc=_0x449fc7;return _0x1a6cbc[_0xaf3741(0x1b2)];};const a94_0x15d104={};a94_0x15d104[a94_0x5017c0(0x1a1)]=0x1,a94_0x15d104[a94_0x5017c0(0x19b)]=function(){const _0x5dbd70=a94_0x5017c0,_0x7c5fab={};_0x7c5fab[_0x5dbd70(0x198)]=_0x5dbd70(0x1ae);const _0x13ddf4=_0x7c5fab;return _0x13ddf4[_0x5dbd70(0x198)];};const a94_0x3b67a9={};a94_0x3b67a9[a94_0x5017c0(0x1a1)]=0x2,a94_0x3b67a9['toString']=function(){const _0x2424d1=a94_0x5017c0,_0xeee034={};_0xeee034[_0x2424d1(0x1aa)]=_0x2424d1(0x1ba);const _0x5baafe=_0xeee034;return _0x5baafe[_0x2424d1(0x1aa)];};const a94_0x23b6a2={};a94_0x23b6a2[a94_0x5017c0(0x1a1)]=0x3,a94_0x23b6a2[a94_0x5017c0(0x19b)]=function(){const _0x27022c=a94_0x5017c0,_0x59be7f={};_0x59be7f[_0x27022c(0x1a3)]=_0x27022c(0x19c);const _0x4981fc=_0x59be7f;return _0x4981fc[_0x27022c(0x1a3)];};const a94_0x2c1f19={};a94_0x2c1f19[a94_0x5017c0(0x1a1)]=0x4,a94_0x2c1f19[a94_0x5017c0(0x19b)]=function(){const _0x18fed3=a94_0x5017c0,_0x19f8f7={};_0x19f8f7[_0x18fed3(0x1b7)]=_0x18fed3(0x1a8);const _0x1aab2f=_0x19f8f7;return _0x1aab2f[_0x18fed3(0x1b7)];};const a94_0x216299={};a94_0x216299[a94_0x5017c0(0x1a1)]=0x5,a94_0x216299[a94_0x5017c0(0x19b)]=function(){const _0x818ef8=a94_0x5017c0,_0x38b9f3={};_0x38b9f3[_0x818ef8(0x1b3)]=_0x818ef8(0x1bb);const _0x694d99=_0x38b9f3;return _0x694d99[_0x818ef8(0x1b3)];};const a94_0xcd046b={};a94_0xcd046b['value']=0x6,a94_0xcd046b[a94_0x5017c0(0x19b)]=function(){const _0x146e99=a94_0x5017c0,_0x4aeef3={};_0x4aeef3[_0x146e99(0x1ad)]=_0x146e99(0x1a0);const _0x284b16=_0x4aeef3;return _0x284b16[_0x146e99(0x1ad)];};const a94_0x383635={};a94_0x383635[a94_0x5017c0(0x1a1)]=0x7,a94_0x383635['toString']=function(){const _0x589f99=a94_0x5017c0,_0x43c2f5={};_0x43c2f5[_0x589f99(0x199)]=_0x589f99(0x1be);const _0xa6bf73=_0x43c2f5;return _0xa6bf73[_0x589f99(0x199)];};const a94_0x1f7784={};a94_0x1f7784['value']=0x8,a94_0x1f7784[a94_0x5017c0(0x19b)]=function(){const _0x5f00d6=a94_0x5017c0,_0x5e2a43={};_0x5e2a43[_0x5f00d6(0x1b6)]=_0x5f00d6(0x19f);const _0xecfc88=_0x5e2a43;return _0xecfc88[_0x5f00d6(0x1b6)];};const a94_0xa72530={};a94_0xa72530[a94_0x5017c0(0x1a1)]=0x9,a94_0xa72530['toString']=function(){const _0x151196=a94_0x5017c0,_0x1f1c1a={};_0x1f1c1a['mpgNf']='TestFrameworkState.LOG_REPORT';const _0x575fa7=_0x1f1c1a;return _0x575fa7[_0x151196(0x1bd)];};const a94_0x5b94bd={};a94_0x5b94bd[a94_0x5017c0(0x1a1)]=0xa,a94_0x5b94bd[a94_0x5017c0(0x19b)]=function(){const _0x4ffffe=a94_0x5017c0,_0x5c34e3={};_0x5c34e3[_0x4ffffe(0x1af)]=_0x4ffffe(0x1a6);const _0x1d8e04=_0x5c34e3;return _0x1d8e04['saKyl'];};const a94_0x1fb913={};a94_0x1fb913[a94_0x5017c0(0x1a1)]=0xb,a94_0x1fb913[a94_0x5017c0(0x19b)]=function(){const _0x34f254=a94_0x5017c0,_0x49366f={};_0x49366f[_0x34f254(0x1a9)]=_0x34f254(0x197);const _0x4706ac=_0x49366f;return _0x4706ac['LLCQr'];};const a94_0x554efb={};a94_0x554efb[a94_0x5017c0(0x1a1)]=0xc,a94_0x554efb['toString']=function(){const _0x3f1a8e=a94_0x5017c0,_0x4366bd={};_0x4366bd[_0x3f1a8e(0x1ac)]=_0x3f1a8e(0x1a5);const _0x23b1a0=_0x4366bd;return _0x23b1a0[_0x3f1a8e(0x1ac)];};function a94_0x52a4(_0x5489d6,_0x53f4aa){const _0x3fa4a7=a94_0x3fa4();return a94_0x52a4=function(_0x52a453,_0x1b9007){_0x52a453=_0x52a453-0x196;let _0x5cb41a=_0x3fa4a7[_0x52a453];return _0x5cb41a;},a94_0x52a4(_0x5489d6,_0x53f4aa);}function a94_0x3fa4(){const _0x410d0c=['TestFrameworkState.TEST_SCREENSHOT','TAdSf','wGCpr','TestFrameworkState.NONE','toString','TestFrameworkState.SETUP_FIXTURE','1pKTXfa','102AUJEgh','TestFrameworkState.STEP','TestFrameworkState.AFTER_EACH','value','3686192ctjMZJ','rtmDR','145651WkAKAH','TestFrameworkState.TEST_STEP','TestFrameworkState.AFTER_ALL','209091ITyFwN','TestFrameworkState.INIT_TEST','LLCQr','hoooV','values','qJqNO','SxsZg','TestFrameworkState.BEFORE_ALL','saKyl','2126583kqBKpF','8DfDeZk','rlYGk','UGSZf','10OUNDZd','freeze','jPrOQ','QfCgl','68033lvoTUS','find','TestFrameworkState.LOG','TestFrameworkState.BEFORE_EACH','3490950elADav','mpgNf','TestFrameworkState.TEST','633898xdOLUv'];a94_0x3fa4=function(){return _0x410d0c;};return a94_0x3fa4();}const TestFrameworkState=Object[a94_0x5017c0(0x1b5)]({'NONE':a94_0x30a1e1,'BEFORE_ALL':a94_0x15d104,'LOG':a94_0x3b67a9,'SETUP_FIXTURE':a94_0x23b6a2,'INIT_TEST':a94_0x2c1f19,'BEFORE_EACH':a94_0x216299,'AFTER_EACH':a94_0xcd046b,'TEST':a94_0x383635,'STEP':a94_0x1f7784,'LOG_REPORT':a94_0xa72530,'AFTER_ALL':a94_0x5b94bd,'TEST_SCREENSHOT':a94_0x1fb913,'TEST_STEP':a94_0x554efb,'fromValue'(_0x4c7fb9){const _0x142761=a94_0x5017c0;return Object[_0x142761(0x1ab)](TestFrameworkState)[_0x142761(0x1b9)](_0x5a4d97=>_0x5a4d97[_0x142761(0x1a1)]===_0x4c7fb9);}});module['exports']=TestFrameworkState;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a95_0xe3e3b5=a95_0x56a0;(function(_0x2770fd,_0x4db80d){const _0x47252f=a95_0x56a0,_0x3137b5=_0x2770fd();while(!![]){try{const _0x3db1eb=-parseInt(_0x47252f(0x21a))/0x1+-parseInt(_0x47252f(0x1d2))/0x2*(parseInt(_0x47252f(0x1c0))/0x3)+-parseInt(_0x47252f(0x1ef))/0x4+parseInt(_0x47252f(0x1f6))/0x5+-parseInt(_0x47252f(0x20e))/0x6+parseInt(_0x47252f(0x1ae))/0x7*(parseInt(_0x47252f(0x228))/0x8)+parseInt(_0x47252f(0x208))/0x9;if(_0x3db1eb===_0x4db80d)break;else _0x3137b5['push'](_0x3137b5['shift']());}catch(_0xad7bfa){_0x3137b5['push'](_0x3137b5['shift']());}}}(a95_0x3ad5,0xa910e));const os=require('os'),fs=require('fs'),path=require('path'),util=require(a95_0xe3e3b5(0x224)),BrowserstackCLI=require(a95_0xe3e3b5(0x218)),https=require(a95_0xe3e3b5(0x229)),http=require(a95_0xe3e3b5(0x1b8)),AutomationFramework=require('./framework/automationFramework'),PlaywrightDriverModule=require(a95_0xe3e3b5(0x215)),TestInfo=require(a95_0xe3e3b5(0x1e8)),TestFrameworkConstants=require('./framework/constants/testFrameworkConstants'),{createClassLogger}=require(a95_0xe3e3b5(0x1c1));class uploadAttachmentsManager{static [a95_0xe3e3b5(0x1ba)]=createClassLogger(a95_0xe3e3b5(0x1ab));static[a95_0xe3e3b5(0x1fe)](_0x4287bf,_0x4e43fb=![]){const _0x46586f=a95_0xe3e3b5,_0x2a55de={};_0x2a55de['yzpUV']=function(_0x81a09d,_0x27640c){return _0x81a09d/_0x27640c;},_0x2a55de[_0x46586f(0x213)]=function(_0x2d019b,_0x4afd7a){return _0x2d019b*_0x4afd7a;},_0x2a55de['PHXue']=function(_0x2b301d,_0x508a40){return _0x2b301d>_0x508a40;},_0x2a55de['DJdXM']=_0x46586f(0x1cc),_0x2a55de[_0x46586f(0x22f)]=_0x46586f(0x219),_0x2a55de[_0x46586f(0x1b4)]=function(_0x204f1a,_0x162e6e){return _0x204f1a===_0x162e6e;},_0x2a55de[_0x46586f(0x1fd)]='finish',_0x2a55de[_0x46586f(0x216)]='Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload',_0x2a55de[_0x46586f(0x1b5)]=_0x46586f(0x1b3),_0x2a55de[_0x46586f(0x1ce)]=_0x46586f(0x22a),_0x2a55de['QxUnu']=_0x46586f(0x1b0),_0x2a55de[_0x46586f(0x1cb)]=_0x46586f(0x22d),_0x2a55de['PuTfV']=_0x46586f(0x1f0),_0x2a55de[_0x46586f(0x1e3)]='Created\x20folder:\x20%s',_0x2a55de[_0x46586f(0x234)]=function(_0x1bbfe8,_0x26eae7){return _0x1bbfe8===_0x26eae7;},_0x2a55de['gEBLy']=_0x46586f(0x1da),_0x2a55de[_0x46586f(0x20b)]=_0x46586f(0x235),_0x2a55de[_0x46586f(0x204)]=_0x46586f(0x230),_0x2a55de['KWSwJ']=_0x46586f(0x1c6),_0x2a55de[_0x46586f(0x237)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x2a55de[_0x46586f(0x201)]=function(_0x1bc31f,_0x47f709){return _0x1bc31f*_0x47f709;},_0x2a55de['wjbBg']=_0x46586f(0x1c2);const _0x37f3fe=_0x2a55de;this[_0x46586f(0x1ba)][_0x46586f(0x21b)](util['format'](_0x37f3fe[_0x46586f(0x1ce)],_0x4287bf));const _0x5763f9=os[_0x46586f(0x1ea)](),_0x27ff88=path[_0x46586f(0x1d5)](_0x5763f9,_0x37f3fe[_0x46586f(0x1ed)]);!fs['existsSync'](_0x27ff88)&&(this[_0x46586f(0x1ba)]['debug'](util['format'](_0x37f3fe['hajGl'],_0x27ff88)),fs[_0x46586f(0x21d)](_0x27ff88),this[_0x46586f(0x1ba)][_0x46586f(0x21b)](util[_0x46586f(0x1e6)](_0x37f3fe[_0x46586f(0x21e)],_0x27ff88)));const _0x2a8e2d=BrowserstackCLI[_0x46586f(0x209)]()[_0x46586f(0x1ca)][_0x46586f(0x1cf)]?.['testhubConfig']?.[_0x46586f(0x1d3)]()?.[_0x46586f(0x1bd)],_0x408fe3=path[_0x46586f(0x1d5)](_0x27ff88,_0x2a8e2d);!fs['existsSync'](_0x408fe3)&&(fs[_0x46586f(0x21d)](_0x408fe3),this[_0x46586f(0x1ba)]['debug'](util[_0x46586f(0x1e6)](_0x37f3fe[_0x46586f(0x1e3)],_0x408fe3)));if(_0x37f3fe[_0x46586f(0x234)](_0x4287bf[_0x46586f(0x1f7)](),'')){this[_0x46586f(0x1ba)]['debug'](util[_0x46586f(0x1e6)](_0x37f3fe[_0x46586f(0x20c)]));return;}if(_0x4287bf['startsWith'](_0x37f3fe[_0x46586f(0x20b)])||_0x4287bf[_0x46586f(0x227)](_0x37f3fe[_0x46586f(0x204)])){const _0x13e97e=_0x4287bf[_0x46586f(0x227)](_0x37f3fe[_0x46586f(0x20b)])?https:http,_0x4deebd=path[_0x46586f(0x212)](_0x4287bf),_0x501379=path[_0x46586f(0x1d5)](_0x408fe3,_0x4deebd),_0x2b770e=fs[_0x46586f(0x226)](_0x501379);_0x13e97e['get'](_0x4287bf,_0x48b90a=>{const _0x2d3ea0=_0x46586f,_0x4bc099={'lfloA':function(_0x4e1a65,_0x4a15c4){const _0x104cde=a95_0x56a0;return _0x37f3fe[_0x104cde(0x1b2)](_0x4e1a65,_0x4a15c4);},'LQqCZ':function(_0x403b9a,_0x3a8f2d){return _0x37f3fe['ZBMAn'](_0x403b9a,_0x3a8f2d);},'JAKRI':function(_0x2c3f5f,_0x113c11){const _0x1a38b9=a95_0x56a0;return _0x37f3fe[_0x1a38b9(0x21f)](_0x2c3f5f,_0x113c11);},'lmmJw':_0x37f3fe['DJdXM'],'fvhCa':_0x37f3fe[_0x2d3ea0(0x22f)]};if(_0x37f3fe['jZYuM'](_0x48b90a[_0x2d3ea0(0x1bb)],0xc8))_0x48b90a[_0x2d3ea0(0x1eb)](_0x2b770e),_0x2b770e['on'](_0x37f3fe[_0x2d3ea0(0x1fd)],()=>{const _0x3a319b=_0x2d3ea0;_0x2b770e[_0x3a319b(0x1db)]();const _0x473be2=fs[_0x3a319b(0x1b1)](_0x501379),_0x48f823=_0x4bc099['lfloA'](_0x473be2[_0x3a319b(0x220)],_0x4bc099[_0x3a319b(0x1ec)](0x400,0x400));if(_0x4bc099[_0x3a319b(0x1fb)](_0x48f823,0x64)){this['logger'][_0x3a319b(0x21b)](util[_0x3a319b(0x1e6)](_0x4bc099[_0x3a319b(0x1f2)],_0x48f823[_0x3a319b(0x1b6)](0x2))),fs[_0x3a319b(0x1c9)](_0x501379);return;}this[_0x3a319b(0x1ba)][_0x3a319b(0x21b)](util[_0x3a319b(0x1e6)](_0x4bc099[_0x3a319b(0x207)],_0x501379)),uploadAttachmentsManager['trackFile'](_0x501379,_0x4e43fb);});else{this[_0x2d3ea0(0x1ba)][_0x2d3ea0(0x21b)](util[_0x2d3ea0(0x1e6)](_0x37f3fe['DAaqf'],_0x48b90a[_0x2d3ea0(0x1bb)])),_0x2b770e[_0x2d3ea0(0x1db)](),fs[_0x2d3ea0(0x1c9)](_0x501379);return;}})['on'](_0x37f3fe[_0x46586f(0x1e5)],_0x4e2ae6=>{const _0x3b26e2=_0x46586f;this[_0x3b26e2(0x1ba)][_0x3b26e2(0x21b)](util[_0x3b26e2(0x1e6)](_0x37f3fe['Mnmte'],_0x4e2ae6['message'])),_0x2b770e[_0x3b26e2(0x1db)](),fs[_0x3b26e2(0x1c9)](_0x501379);return;});}else{if(!fs['existsSync'](_0x4287bf)){this['logger'][_0x46586f(0x21b)](util['format'](_0x37f3fe['BpDAO'],_0x4287bf));return;}const _0x371201=fs[_0x46586f(0x1b1)](_0x4287bf),_0x238ce0=_0x37f3fe[_0x46586f(0x1b2)](_0x371201[_0x46586f(0x220)],_0x37f3fe['slYRG'](0x400,0x400));if(_0x37f3fe[_0x46586f(0x21f)](_0x238ce0,0x64)){this[_0x46586f(0x1ba)][_0x46586f(0x21b)](util[_0x46586f(0x1e6)](_0x37f3fe[_0x46586f(0x1f9)],_0x238ce0[_0x46586f(0x1b6)](0x2)));return;}const _0x54f938=path[_0x46586f(0x212)](_0x4287bf),_0x2ffba0=path[_0x46586f(0x1d5)](_0x408fe3,_0x54f938);fs[_0x46586f(0x1b9)](_0x4287bf,_0x2ffba0),uploadAttachmentsManager[_0x46586f(0x214)](_0x2ffba0,_0x4e43fb);}}static[a95_0xe3e3b5(0x214)](_0x3f24aa,_0xf5348){const _0x17f518=a95_0xe3e3b5,_0x46178f={'NJJOe':function(_0x585003,_0x1146fc){return _0x585003(_0x1146fc);},'ZCcXm':_0x17f518(0x218),'hmxtW':_0x17f518(0x222),'jZEbk':function(_0x1b158c,_0x48b3a9){return _0x1b158c===_0x48b3a9;},'WIGpG':_0x17f518(0x223),'RcEmE':_0x17f518(0x1f1),'RORmh':_0x17f518(0x21c),'dFSpl':_0x17f518(0x1dd),'pDgom':_0x17f518(0x202),'tSdWZ':_0x17f518(0x1b7),'zzUGA':function(_0x92ee7b,_0x24fe64){return _0x92ee7b(_0x24fe64);},'gFlZK':'./state/hookState','pFymv':_0x17f518(0x221),'JoQyD':'Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','TabzX':_0x17f518(0x1f4)};try{let _0x2090e9;const _0x809be=global[_0x17f518(0x1fc)]?.[_0x17f518(0x1c8)]?.[_0x17f518(0x22e)],_0x15aa3f=_0x46178f[_0x17f518(0x1af)](require,_0x46178f[_0x17f518(0x1ac)]),_0x4434a9=_0x46178f[_0x17f518(0x1af)](require,_0x46178f['hmxtW']),_0x4400a8=_0x15aa3f[_0x17f518(0x209)]()[_0x17f518(0x20d)]()&&_0x46178f[_0x17f518(0x1dc)](_0x4434a9['getTestFrameworkDetail']()?.[_0x17f518(0x1c3)]?.[_0x17f518(0x1e0)](),_0x46178f[_0x17f518(0x233)]);if(_0x4400a8){_0x2090e9=global[_0x17f518(0x210)];if(!_0x2090e9){const _0x24efcb=AutomationFramework[_0x17f518(0x231)]();_0x2090e9=AutomationFramework[_0x17f518(0x1de)](_0x24efcb,PlaywrightDriverModule['KEY_TEST_ID'],'');}this[_0x17f518(0x1ba)][_0x17f518(0x21b)](_0x17f518(0x205)+_0x2090e9);}else{if(!_0x809be){const _0x514686=AutomationFramework[_0x17f518(0x231)]();_0x2090e9=AutomationFramework[_0x17f518(0x1de)](_0x514686,PlaywrightDriverModule[_0x17f518(0x1cd)],'');}else _0x2090e9=TestInfo[_0x17f518(0x1d4)](_0x809be,_0x809be[_0x17f518(0x1d7)]);this[_0x17f518(0x1ba)][_0x17f518(0x21b)](_0x17f518(0x1d0)+_0x2090e9);}if(!_0x2090e9){this[_0x17f518(0x1ba)]['debug'](_0x46178f['RcEmE']);return;}const _0xc3cadb={[TestFrameworkConstants[_0x17f518(0x1ee)]]:fs[_0x17f518(0x1b1)](_0x3f24aa)[_0x17f518(0x220)],[TestFrameworkConstants[_0x17f518(0x1e7)]]:path[_0x17f518(0x212)](_0x3f24aa),[TestFrameworkConstants[_0x17f518(0x1c4)]]:_0x3f24aa,[TestFrameworkConstants[_0x17f518(0x203)]]:_0xf5348?_0x46178f[_0x17f518(0x1e1)]:_0x46178f[_0x17f518(0x1e2)]};if(_0x4400a8){const _0x4b0d72=_0x15aa3f['getInstance']()[_0x17f518(0x1d1)]();if(!_0x4b0d72){this['logger'][_0x17f518(0x21b)](_0x46178f['pDgom']);return;}const _0x2b9f3a=_0x46178f[_0x17f518(0x1af)](require,_0x46178f[_0x17f518(0x1d6)]),_0x31485e=_0x46178f[_0x17f518(0x217)](require,_0x46178f[_0x17f518(0x206)]),_0x39b577=_0x4b0d72[_0x17f518(0x1e9)](_0x2b9f3a[_0x17f518(0x1f5)],_0x31485e[_0x17f518(0x1f8)]);if(!_0x39b577){this[_0x17f518(0x1ba)][_0x17f518(0x21b)](_0x46178f[_0x17f518(0x1fa)]);return;}const _0xcf6b20=_0x39b577[_0x17f518(0x22b)]()['get'](_0x2090e9)||{},_0x4a854b=_0xcf6b20[TestFrameworkConstants['KEY_TEST_ATTACHMENTS']]||{},_0x3aa888={..._0x4a854b};_0x3aa888[_0x3f24aa]=_0xc3cadb;const _0xd757ff=_0x3aa888,_0x39fe17={[TestFrameworkConstants[_0x17f518(0x1df)]]:_0xd757ff},_0x2f23ab={};_0x2f23ab[_0x2090e9]=_0x39fe17,_0x39b577[_0x17f518(0x1d8)](_0x2f23ab),this[_0x17f518(0x1ba)][_0x17f518(0x21b)](_0x17f518(0x1bc)+_0x2090e9+_0x17f518(0x1be)+_0x3f24aa);}else{const _0x46c60d=TestInfo[_0x17f518(0x22c)](_0x2090e9),_0x16247c=_0x46c60d[TestFrameworkConstants[_0x17f518(0x1df)]]||{};_0x16247c[_0x3f24aa]=_0xc3cadb,_0x46c60d[TestFrameworkConstants[_0x17f518(0x1df)]]=_0x16247c,TestInfo[_0x17f518(0x1f3)](_0x2090e9,_0x46c60d),this[_0x17f518(0x1ba)]['debug'](_0x17f518(0x1c7)+_0x2090e9+_0x17f518(0x1be)+_0x3f24aa);}this[_0x17f518(0x1ba)][_0x17f518(0x21b)](util[_0x17f518(0x1e6)](_0x46178f[_0x17f518(0x20a)],_0x3f24aa));}catch(_0x25f473){this[_0x17f518(0x1ba)][_0x17f518(0x21b)](util[_0x17f518(0x1e6)](_0x46178f[_0x17f518(0x1ad)],_0x25f473[_0x17f518(0x20f)]));}}static[a95_0xe3e3b5(0x232)](){const _0x288edb=a95_0xe3e3b5,_0x35524f={};_0x35524f[_0x288edb(0x1e4)]='.browserstack',_0x35524f[_0x288edb(0x1d9)]=_0x288edb(0x225),_0x35524f['LRljz']=_0x288edb(0x200);const _0x413c08=_0x35524f,_0x41f7a0=os[_0x288edb(0x1ea)](),_0x24d2f6=path['join'](_0x41f7a0,_0x413c08[_0x288edb(0x1e4)]);if(!fs[_0x288edb(0x1bf)](_0x24d2f6))return;const _0x1fa5b8=BrowserstackCLI[_0x288edb(0x209)]()[_0x288edb(0x1ca)][_0x288edb(0x1cf)]?.[_0x288edb(0x211)]?.['toObject']()?.[_0x288edb(0x1bd)],_0x3dc3e5=_0x1fa5b8?path[_0x288edb(0x1d5)](_0x24d2f6,_0x1fa5b8):null;if(!_0x3dc3e5||!fs['existsSync'](_0x3dc3e5)){this[_0x288edb(0x1ba)][_0x288edb(0x21b)](util['format'](_0x413c08['GrlJM'],_0x1fa5b8));return;}const _0x21381f={};_0x21381f['recursive']=!![],_0x21381f[_0x288edb(0x1c5)]=!![],fs[_0x288edb(0x1ff)](_0x3dc3e5,_0x21381f),this[_0x288edb(0x1ba)]['debug'](util[_0x288edb(0x1e6)](_0x413c08['LRljz']));}}function a95_0x56a0(_0x9bda1e,_0x57f60d){const _0x3ad504=a95_0x3ad5();return a95_0x56a0=function(_0x56a0d3,_0x5c8151){_0x56a0d3=_0x56a0d3-0x1ab;let _0xde5f29=_0x3ad504[_0x56a0d3];return _0xde5f29;},a95_0x56a0(_0x9bda1e,_0x57f60d);}module[a95_0xe3e3b5(0x236)]=uploadAttachmentsManager;function a95_0x3ad5(){const _0x361a0a=['5002182VTfEaD','message','__jestCurrentTestIdentifier','testhubConfig','basename','ZBMAn','trackFile','./modules/playwrightDriverModule','DAaqf','zzUGA','./browserstackCLI','File\x20downloaded\x20to:\x20%s','952970aUptGk','debug','BuildLevel','mkdirSync','PuTfV','PHXue','size','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','./cliUtils','jest','util','No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s','createWriteStream','startsWith','16zNEjGi','https','Attachment\x20recevied\x20for\x20path:\x20%s','getAllData','getTestDetails','.browserstack\x20folder\x20not\x20found\x20at:\x20%s','testInfo','BxVCi','http://','getTrackedInstance','clearAttachments','WIGpG','VFLnv','https://','exports','BpDAO','uploadAttachmentsManager','ZCcXm','TabzX','1830059yuhiGY','NJJOe','.browserstack','statSync','yzpUV','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','jZYuM','Mnmte','toFixed','./state/testFrameworkState','http','copyFileSync','logger','statusCode','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','buildHashedId',',\x20filepath:\x20','existsSync','1124166bOQxGw','../../helpers/classLogger.js','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','name','KEY_FILE_PATH','force','error','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','currentTest','unlinkSync','modules','hajGl','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','KEY_TEST_ID','pnjrX','TestHubModule','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','getTestFramework','2kMhpsH','toObject','getTestIdentifierFromTestInfo','join','tSdWZ','retry','addMultipleEntries','GrlJM','Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.','close','jZEbk','TestLevel','getState','KEY_TEST_ATTACHMENTS','toLowerCase','RORmh','dFSpl','MAJGP','joBUm','KWSwJ','format','KEY_FILE_NAME','./TestInfo','resolveInstance','homedir','pipe','LQqCZ','QxUnu','KEY_FILE_SIZE','4349180uJafxA','Created\x20.browserstack\x20folder\x20at:\x20%s','trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','lmmJw','setTestDetails','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','TEST','1845125oyjhxv','trim','POST','wjbBg','pFymv','JAKRI','__workerDetails','RPPcO','uploadAttachments','rmSync','Cleared\x20attachment\x20folder','slYRG','trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','KEY_FILE_LEVEL','YPdyR','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','gFlZK','fvhCa','27443511xEcMMF','getInstance','JoQyD','msHqU','gEBLy','isRunning'];a95_0x3ad5=function(){return _0x361a0a;};return a95_0x3ad5();}
|
|
1
|
+
function a95_0x3600(){const _0x1f0a9e=['wCxNM','Scqph','XMgsu','unlinkSync','get','KEY_FILE_NAME','trackFile:\x20Stored\x20attachment\x20in\x20instance\x20memory\x20for\x20testId:\x20','JiYLk','.browserstack','ccPcd','ySTjb','https://','BQMPD','Cleared\x20attachment\x20folder','Failed\x20to\x20download\x20file.\x20Status\x20code:\x20%s,\x20skipping\x20upload','join','pipe','vNheV','uploadAttachmentsManager','homedir','statusCode','close','7CUhnUU','File\x20size\x20is\x20too\x20large\x20(%s\x20MB).\x20Skipping\x20upload.','util','__jestCurrentTestIdentifier','logger','Error\x20downloading\x20file:\x20%s,\x20skipping\x20upload','testhubConfig','dLyoX','toLowerCase','getTestIdentifierFromTestInfo','statSync','NCfCx','5845374KQmnDf','getTestFramework','testInfo','UASav','path','mkdirSync','./browserstackCLI','JbWQC','./TestInfo','sIXTE','trackFile:\x20Jest+Playwright\x20-\x20testId\x20(testIdentifier):\x20','trackFile','Error\x20tracking\x20file:\x20%s,\x20skipping\x20upload','retry','tHLeJ','Attachment\x20recevied\x20for\x20path:\x20%s','trim','trackFile:\x20Instance\x20not\x20available,\x20cannot\x20track\x20attachment','TEST','4MazCGs','Fdpef','3sWcyJG','1768135ZJDXGT','ZcABI','1389066gFktFz','./framework/constants/testFrameworkConstants','7001307SKfwjJ','buildHashedId','Created\x20.browserstack\x20folder\x20at:\x20%s','./state/hookState','trackFile:\x20Stored\x20attachment\x20in\x20TestInfo\x20file\x20for\x20testId:\x20','KEY_FILE_PATH','format','MqoeL','Created\x20folder:\x20%s','force',',\x20filepath:\x20','finish','koBua','GDlyf','toFixed','File\x20downloaded\x20to:\x20%s','getTrackedInstance','copyFileSync','uploadAttachments','../../helpers/classLogger.js','GKraj','createWriteStream','message','./modules/playwrightDriverModule','xwHqR','http://','isRunning','resolveInstance','basename','toObject','Downloaded\x20file\x20is\x20too\x20large\x20(%s\x20MB).\x20Deleting\x20file\x20and\x20skipping\x20upload.','size','KEY_TEST_ATTACHMENTS','vCwle','oHOIE','2005502kgwnGk','KEY_TEST_ID','getState','TestHubModule','currentTest','existsSync','DAoVE','trackFile:\x20Cucumber+Playwright\x20-\x20testId:\x20','./state/testFrameworkState','modules','Attachment\x20file\x20tracked\x20for\x20upload:\x20%s','TestLevel','debug','getAllData','recursive','getTestFrameworkDetail','./framework/automationFramework','RzUKo','BuildLevel','getInstance','NdRNZ','11353880fsAPlM','addMultipleEntries','jfRhg','jest','startsWith','oiqpl','rmSync','4557490lrEVkN','LmXdH'];a95_0x3600=function(){return _0x1f0a9e;};return a95_0x3600();}const a95_0x4783b2=a95_0xb933;(function(_0x624851,_0x35906f){const _0x5cdc32=a95_0xb933,_0x47a3c9=_0x624851();while(!![]){try{const _0x4a8f6a=parseInt(_0x5cdc32(0x16b))/0x1+parseInt(_0x5cdc32(0x113))/0x2*(-parseInt(_0x5cdc32(0x168))/0x3)+-parseInt(_0x5cdc32(0x166))/0x4*(parseInt(_0x5cdc32(0x169))/0x5)+parseInt(_0x5cdc32(0x153))/0x6*(parseInt(_0x5cdc32(0x147))/0x7)+-parseInt(_0x5cdc32(0x128))/0x8+parseInt(_0x5cdc32(0x16d))/0x9+parseInt(_0x5cdc32(0x12f))/0xa;if(_0x4a8f6a===_0x35906f)break;else _0x47a3c9['push'](_0x47a3c9['shift']());}catch(_0x28bf03){_0x47a3c9['push'](_0x47a3c9['shift']());}}}(a95_0x3600,0xc886a));const os=require('os'),fs=require('fs'),path=require(a95_0x4783b2(0x157)),util=require(a95_0x4783b2(0x149)),BrowserstackCLI=require(a95_0x4783b2(0x159)),https=require('https'),http=require('http'),AutomationFramework=require(a95_0x4783b2(0x123)),PlaywrightDriverModule=require(a95_0x4783b2(0x184)),TestInfo=require(a95_0x4783b2(0x15b)),TestFrameworkConstants=require(a95_0x4783b2(0x16c)),{createClassLogger}=require(a95_0x4783b2(0x180));function a95_0xb933(_0x3657aa,_0x2a12c6){const _0x3600c3=a95_0x3600();return a95_0xb933=function(_0xb93353,_0x436e65){_0xb93353=_0xb93353-0x113;let _0x131ce5=_0x3600c3[_0xb93353];return _0x131ce5;},a95_0xb933(_0x3657aa,_0x2a12c6);}class uploadAttachmentsManager{static ['logger']=createClassLogger(a95_0x4783b2(0x143));static[a95_0x4783b2(0x17f)](_0x3e2621,_0x39752e=![]){const _0xc67f2=a95_0x4783b2,_0x891117={};_0x891117['meAtY']=function(_0x2e6d2b,_0x181046){return _0x2e6d2b/_0x181046;},_0x891117['ySTjb']=function(_0x1bd16e,_0x1bd901){return _0x1bd16e*_0x1bd901;},_0x891117['JbWQC']=function(_0x217f25,_0x11ffc3){return _0x217f25>_0x11ffc3;},_0x891117[_0xc67f2(0x17a)]=_0xc67f2(0x18b),_0x891117['AYtze']=_0xc67f2(0x17c),_0x891117[_0xc67f2(0x127)]=function(_0x5bef22,_0x1d2c76){return _0x5bef22===_0x1d2c76;},_0x891117[_0xc67f2(0x119)]=_0xc67f2(0x178),_0x891117['Riorh']=_0xc67f2(0x13f),_0x891117[_0xc67f2(0x142)]=_0xc67f2(0x14c),_0x891117[_0xc67f2(0x167)]=_0xc67f2(0x162),_0x891117[_0xc67f2(0x14e)]=_0xc67f2(0x139),_0x891117[_0xc67f2(0x130)]='.browserstack\x20folder\x20not\x20found\x20at:\x20%s',_0x891117[_0xc67f2(0x132)]=_0xc67f2(0x16f),_0x891117[_0xc67f2(0x124)]=_0xc67f2(0x175),_0x891117[_0xc67f2(0x12a)]=function(_0x112877,_0x3a9fbd){return _0x112877===_0x3a9fbd;},_0x891117[_0xc67f2(0x179)]='Attachment\x20file\x20path\x20is\x20empty,\x20skipping\x20upload.',_0x891117[_0xc67f2(0x138)]=_0xc67f2(0x13c),_0x891117['GGusU']=_0xc67f2(0x186),_0x891117[_0xc67f2(0x133)]='error',_0x891117[_0xc67f2(0x16a)]='Attachment\x20file\x20does\x20not\x20exist\x20at:\x20%s',_0x891117['bBYiS']=function(_0x3c27ab,_0x51f742){return _0x3c27ab/_0x51f742;},_0x891117[_0xc67f2(0x161)]=_0xc67f2(0x148);const _0x96c7a1=_0x891117;this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1['Fdpef'],_0x3e2621));const _0x5f2490=os[_0xc67f2(0x144)](),_0x43a5f9=path['join'](_0x5f2490,_0x96c7a1[_0xc67f2(0x14e)]);!fs[_0xc67f2(0x118)](_0x43a5f9)&&(this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x130)],_0x43a5f9)),fs['mkdirSync'](_0x43a5f9),this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x132)],_0x43a5f9)));const _0x27b3e0=BrowserstackCLI['getInstance']()[_0xc67f2(0x11c)]['TestHubModule']?.[_0xc67f2(0x14d)]?.[_0xc67f2(0x18a)]()?.[_0xc67f2(0x16e)],_0x1b87dd=path[_0xc67f2(0x140)](_0x43a5f9,_0x27b3e0);!fs[_0xc67f2(0x118)](_0x1b87dd)&&(fs[_0xc67f2(0x158)](_0x1b87dd),this['logger'][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1[_0xc67f2(0x124)],_0x1b87dd)));if(_0x96c7a1[_0xc67f2(0x12a)](_0x3e2621[_0xc67f2(0x163)](),'')){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1['koBua']));return;}if(_0x3e2621['startsWith'](_0x96c7a1[_0xc67f2(0x138)])||_0x3e2621[_0xc67f2(0x12c)](_0x96c7a1['GGusU'])){const _0x2e1e73=_0x3e2621[_0xc67f2(0x12c)](_0x96c7a1[_0xc67f2(0x138)])?https:http,_0x3d948e=path[_0xc67f2(0x189)](_0x3e2621),_0x586f2c=path['join'](_0x1b87dd,_0x3d948e),_0x54f643=fs[_0xc67f2(0x182)](_0x586f2c);_0x2e1e73[_0xc67f2(0x135)](_0x3e2621,_0x1fc3cc=>{const _0x338ba6=_0xc67f2;if(_0x96c7a1[_0x338ba6(0x127)](_0x1fc3cc[_0x338ba6(0x145)],0xc8))_0x1fc3cc[_0x338ba6(0x141)](_0x54f643),_0x54f643['on'](_0x96c7a1[_0x338ba6(0x119)],()=>{const _0x1d703f=_0x338ba6;_0x54f643['close']();const _0x33c618=fs[_0x1d703f(0x151)](_0x586f2c),_0x2039c5=_0x96c7a1['meAtY'](_0x33c618[_0x1d703f(0x18c)],_0x96c7a1[_0x1d703f(0x13b)](0x400,0x400));if(_0x96c7a1[_0x1d703f(0x15a)](_0x2039c5,0x64)){this[_0x1d703f(0x14b)]['debug'](util[_0x1d703f(0x173)](_0x96c7a1['GDlyf'],_0x2039c5['toFixed'](0x2))),fs['unlinkSync'](_0x586f2c);return;}this[_0x1d703f(0x14b)][_0x1d703f(0x11f)](util[_0x1d703f(0x173)](_0x96c7a1['AYtze'],_0x586f2c)),uploadAttachmentsManager[_0x1d703f(0x15e)](_0x586f2c,_0x39752e);});else{this[_0x338ba6(0x14b)][_0x338ba6(0x11f)](util[_0x338ba6(0x173)](_0x96c7a1['Riorh'],_0x1fc3cc[_0x338ba6(0x145)])),_0x54f643[_0x338ba6(0x146)](),fs[_0x338ba6(0x134)](_0x586f2c);return;}})['on'](_0x96c7a1[_0xc67f2(0x133)],_0x45f475=>{const _0x318749=_0xc67f2;this[_0x318749(0x14b)]['debug'](util[_0x318749(0x173)](_0x96c7a1[_0x318749(0x142)],_0x45f475[_0x318749(0x183)])),_0x54f643['close'](),fs['unlinkSync'](_0x586f2c);return;});}else{if(!fs[_0xc67f2(0x118)](_0x3e2621)){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util[_0xc67f2(0x173)](_0x96c7a1[_0xc67f2(0x16a)],_0x3e2621));return;}const _0x2eec02=fs['statSync'](_0x3e2621),_0x38995b=_0x96c7a1['bBYiS'](_0x2eec02['size'],_0x96c7a1['ySTjb'](0x400,0x400));if(_0x96c7a1[_0xc67f2(0x15a)](_0x38995b,0x64)){this[_0xc67f2(0x14b)][_0xc67f2(0x11f)](util['format'](_0x96c7a1[_0xc67f2(0x161)],_0x38995b[_0xc67f2(0x17b)](0x2)));return;}const _0x5600f1=path['basename'](_0x3e2621),_0x27315d=path[_0xc67f2(0x140)](_0x1b87dd,_0x5600f1);fs[_0xc67f2(0x17e)](_0x3e2621,_0x27315d),uploadAttachmentsManager[_0xc67f2(0x15e)](_0x27315d,_0x39752e);}}static[a95_0x4783b2(0x15e)](_0x178d12,_0xcec61d){const _0x30e662=a95_0x4783b2,_0x1e6fe5={'sIXTE':function(_0x2b6158,_0x3b3e7c){return _0x2b6158(_0x3b3e7c);},'xwHqR':_0x30e662(0x159),'vCwle':'./cliUtils','BQMPD':function(_0x1be6b8,_0x335200){return _0x1be6b8===_0x335200;},'oiqpl':_0x30e662(0x12b),'gEjeu':'trackFile:\x20No\x20testId\x20available,\x20cannot\x20track\x20attachment','BHCUU':_0x30e662(0x125),'dtTLo':_0x30e662(0x11e),'cKWLF':'trackFile:\x20TestFramework\x20not\x20available,\x20cannot\x20track\x20attachment','NCfCx':function(_0x4cfd78,_0x2c919b){return _0x4cfd78(_0x2c919b);},'zPLUF':_0x30e662(0x11b),'GKraj':_0x30e662(0x170),'rXjxB':_0x30e662(0x164),'oHOIE':_0x30e662(0x11d),'wCxNM':_0x30e662(0x15f)};try{let _0x1d82a4;const _0x3c8578=global['__workerDetails']?.[_0x30e662(0x117)]?.[_0x30e662(0x155)],_0x514f4f=_0x1e6fe5['sIXTE'](require,_0x1e6fe5[_0x30e662(0x185)]),_0x4491ec=_0x1e6fe5[_0x30e662(0x15c)](require,_0x1e6fe5[_0x30e662(0x18e)]),_0x28ce6e=_0x514f4f[_0x30e662(0x126)]()[_0x30e662(0x187)]()&&_0x1e6fe5[_0x30e662(0x13d)](_0x4491ec[_0x30e662(0x122)]()?.['name']?.[_0x30e662(0x14f)](),_0x1e6fe5[_0x30e662(0x12d)]);if(_0x28ce6e){_0x1d82a4=global[_0x30e662(0x14a)];if(!_0x1d82a4){const _0x40af03=AutomationFramework['getTrackedInstance']();_0x1d82a4=AutomationFramework[_0x30e662(0x115)](_0x40af03,PlaywrightDriverModule[_0x30e662(0x114)],'');}this[_0x30e662(0x14b)][_0x30e662(0x11f)](_0x30e662(0x15d)+_0x1d82a4);}else{if(!_0x3c8578){const _0x57cd78=AutomationFramework[_0x30e662(0x17d)]();_0x1d82a4=AutomationFramework[_0x30e662(0x115)](_0x57cd78,PlaywrightDriverModule['KEY_TEST_ID'],'');}else _0x1d82a4=TestInfo[_0x30e662(0x150)](_0x3c8578,_0x3c8578[_0x30e662(0x160)]);this['logger'][_0x30e662(0x11f)](_0x30e662(0x11a)+_0x1d82a4);}if(!_0x1d82a4){this[_0x30e662(0x14b)]['debug'](_0x1e6fe5['gEjeu']);return;}const _0x2f7f1c={[TestFrameworkConstants['KEY_FILE_SIZE']]:fs[_0x30e662(0x151)](_0x178d12)[_0x30e662(0x18c)],[TestFrameworkConstants[_0x30e662(0x136)]]:path[_0x30e662(0x189)](_0x178d12),[TestFrameworkConstants[_0x30e662(0x172)]]:_0x178d12,[TestFrameworkConstants['KEY_FILE_LEVEL']]:_0xcec61d?_0x1e6fe5['BHCUU']:_0x1e6fe5['dtTLo']};if(_0x28ce6e){const _0x1e7e2c=_0x514f4f[_0x30e662(0x126)]()[_0x30e662(0x154)]();if(!_0x1e7e2c){this['logger'][_0x30e662(0x11f)](_0x1e6fe5['cKWLF']);return;}const _0x495149=_0x1e6fe5['NCfCx'](require,_0x1e6fe5['zPLUF']),_0x23922f=_0x1e6fe5[_0x30e662(0x152)](require,_0x1e6fe5[_0x30e662(0x181)]),_0x488def=_0x1e7e2c[_0x30e662(0x188)](_0x495149[_0x30e662(0x165)],_0x23922f['POST']);if(!_0x488def){this[_0x30e662(0x14b)]['debug'](_0x1e6fe5['rXjxB']);return;}const _0x3fc730=_0x488def[_0x30e662(0x120)]()[_0x30e662(0x135)](_0x1d82a4)||{},_0x4ed685=_0x3fc730[TestFrameworkConstants[_0x30e662(0x18d)]]||{},_0x47e242={..._0x4ed685};_0x47e242[_0x178d12]=_0x2f7f1c;const _0x17dab4=_0x47e242,_0x51b6e2={[TestFrameworkConstants[_0x30e662(0x18d)]]:_0x17dab4},_0x15f860={};_0x15f860[_0x1d82a4]=_0x51b6e2,_0x488def[_0x30e662(0x129)](_0x15f860),this[_0x30e662(0x14b)][_0x30e662(0x11f)](_0x30e662(0x137)+_0x1d82a4+_0x30e662(0x177)+_0x178d12);}else{const _0xeec447=TestInfo['getTestDetails'](_0x1d82a4),_0xfb5f3a=_0xeec447[TestFrameworkConstants[_0x30e662(0x18d)]]||{};_0xfb5f3a[_0x178d12]=_0x2f7f1c,_0xeec447[TestFrameworkConstants[_0x30e662(0x18d)]]=_0xfb5f3a,TestInfo['setTestDetails'](_0x1d82a4,_0xeec447),this['logger'][_0x30e662(0x11f)](_0x30e662(0x171)+_0x1d82a4+_0x30e662(0x177)+_0x178d12);}this[_0x30e662(0x14b)][_0x30e662(0x11f)](util['format'](_0x1e6fe5[_0x30e662(0x18f)],_0x178d12));}catch(_0x529962){this[_0x30e662(0x14b)]['debug'](util[_0x30e662(0x173)](_0x1e6fe5[_0x30e662(0x131)],_0x529962[_0x30e662(0x183)]));}}static['clearAttachments'](){const _0x1b83b1=a95_0x4783b2,_0x457cd2={};_0x457cd2[_0x1b83b1(0x13a)]=_0x1b83b1(0x139),_0x457cd2[_0x1b83b1(0x156)]='No\x20attachment\x20folder\x20found\x20for\x20testhubID:\x20%s',_0x457cd2[_0x1b83b1(0x174)]=_0x1b83b1(0x13e);const _0x236d3f=_0x457cd2,_0x130f86=os['homedir'](),_0x54117a=path['join'](_0x130f86,_0x236d3f[_0x1b83b1(0x13a)]);if(!fs[_0x1b83b1(0x118)](_0x54117a))return;const _0x2dd5f1=BrowserstackCLI['getInstance']()[_0x1b83b1(0x11c)][_0x1b83b1(0x116)]?.[_0x1b83b1(0x14d)]?.['toObject']()?.[_0x1b83b1(0x16e)],_0x57dbb3=_0x2dd5f1?path['join'](_0x54117a,_0x2dd5f1):null;if(!_0x57dbb3||!fs['existsSync'](_0x57dbb3)){this['logger'][_0x1b83b1(0x11f)](util[_0x1b83b1(0x173)](_0x236d3f['UASav'],_0x2dd5f1));return;}const _0x531994={};_0x531994[_0x1b83b1(0x121)]=!![],_0x531994[_0x1b83b1(0x176)]=!![],fs[_0x1b83b1(0x12e)](_0x57dbb3,_0x531994),this[_0x1b83b1(0x14b)][_0x1b83b1(0x11f)](util[_0x1b83b1(0x173)](_0x236d3f[_0x1b83b1(0x174)]));}}module['exports']=uploadAttachmentsManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a96_0x5eb5fd=a96_0x203d;(function(_0x48bd30,_0x3edaf6){const _0x4a53f6=a96_0x203d,_0x5d38ba=_0x48bd30();while(!![]){try{const _0x320892=-parseInt(_0x4a53f6(0x1cc))/0x1*(parseInt(_0x4a53f6(0x1f9))/0x2)+-parseInt(_0x4a53f6(0x244))/0x3*(parseInt(_0x4a53f6(0x1e8))/0x4)+-parseInt(_0x4a53f6(0x1d4))/0x5*(-parseInt(_0x4a53f6(0x20f))/0x6)+parseInt(_0x4a53f6(0x1fa))/0x7+-parseInt(_0x4a53f6(0x1d0))/0x8+parseInt(_0x4a53f6(0x23a))/0x9+parseInt(_0x4a53f6(0x241))/0xa;if(_0x320892===_0x3edaf6)break;else _0x5d38ba['push'](_0x5d38ba['shift']());}catch(_0x157633){_0x5d38ba['push'](_0x5d38ba['shift']());}}}(a96_0x2294,0x1f92f));const path=require(a96_0x5eb5fd(0x249)),util=require(a96_0x5eb5fd(0x251)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../../helpers/helper.js'),logger=require('../../../helpers/logger.js')[a96_0x5eb5fd(0x239)],{o11yClassErrorHandler}=require(a96_0x5eb5fd(0x236)),TestInfo=require(a96_0x5eb5fd(0x21b)),hooksMap={};class CucumberUtils{constructor(){const _0x300ec6=a96_0x5eb5fd;this[_0x300ec6(0x200)]=![],this[_0x300ec6(0x206)]=null;}async[a96_0x5eb5fd(0x1e5)](_0x114de2,_0x1e8aab,_0xe61cf6,_0x580e0d,_0x25faae,_0x41f95b){const _0x3a2cf8=a96_0x5eb5fd,_0x251863={'ueZGx':function(_0x21eca8,_0x29c2f1){return _0x21eca8===_0x29c2f1;},'eQCVe':_0x3a2cf8(0x1f2),'HdRPj':_0x3a2cf8(0x21a),'vvbkn':function(_0x389097,_0x3927c0){return _0x389097===_0x3927c0;},'qxliq':_0x3a2cf8(0x1e2),'nQqtl':_0x3a2cf8(0x1fe),'fOZAg':function(_0x3c5a69,_0x8cb333){return _0x3c5a69||_0x8cb333;},'cqoHy':function(_0x1598b2,_0x28c3f1){return _0x1598b2+_0x28c3f1;},'DWAUy':function(_0x47bbcf,_0x1ad5b7){return _0x47bbcf+_0x1ad5b7;},'rlkjG':function(_0x27d7d0,_0x5ad205){return _0x27d7d0+_0x5ad205;},'PdyIZ':'test','ZYRHt':_0x3a2cf8(0x1ed),'ROJKS':_0x3a2cf8(0x20c),'hbqxw':'pending','pZEgh':'passed','MFhUn':function(_0xad42bf,_0x5dec0b){return _0xad42bf!==_0x5dec0b;},'oWSSp':function(_0x8713da,_0x23a254){return _0x8713da/_0x23a254;},'bYkQi':_0x3a2cf8(0x210),'iBHKw':function(_0x5b8c0c,_0x210be7){return _0x5b8c0c(_0x210be7);},'YwUeW':_0x3a2cf8(0x1d3),'wLngO':function(_0x2a1eb1,_0x34ebe6){return _0x2a1eb1(_0x34ebe6);},'NrMLq':_0x3a2cf8(0x21c),'TWfWj':'UnhandledError'},{feature:_0x4bec04,scenario:_0x46a6a4,steps:_0x1c4caa,uuid:_0x40c5ae,startedAt:_0x3f766d,finishedAt:_0x420fd6}=_0x251863[_0x3a2cf8(0x218)](_0x114de2,{}),_0x395393=this[_0x3a2cf8(0x23c)](_0x580e0d,_0x1e8aab);await this[_0x3a2cf8(0x205)]();const _0x3d4262=_0x395393?_0x251863['cqoHy'](_0x251863[_0x3a2cf8(0x222)](_0x251863['rlkjG'](_0x1e8aab[_0x3a2cf8(0x1cb)],'\x20('),_0x395393[_0x3a2cf8(0x1ff)](',\x20')),')'):_0x1e8aab['name'],_0x322fac={'id':_0x25faae,'uuid':_0x25faae,'startedAt':_0x3f766d,'finishedAt':_0x420fd6,'type':_0x251863[_0x3a2cf8(0x1dd)],'body':{'lang':_0x251863[_0x3a2cf8(0x1d1)],'code':null},'name':_0x3d4262,'scopes':[_0x4bec04&&_0x4bec04[_0x3a2cf8(0x1cb)]?_0x4bec04[_0x3a2cf8(0x1cb)]:''],'tags':_0x1e8aab[_0x3a2cf8(0x1e4)]?_0x1e8aab[_0x3a2cf8(0x1e4)][_0x3a2cf8(0x212)](({name:_0x215aa3})=>_0x215aa3):[],'file_name':_0x1e8aab[_0x3a2cf8(0x20e)],'location':_0x1e8aab[_0x3a2cf8(0x20e)],'vc_filepath':this[_0x3a2cf8(0x206)]&&_0x1e8aab[_0x3a2cf8(0x20e)]?path[_0x3a2cf8(0x22b)](this['_gitConfigPath'],_0x1e8aab[_0x3a2cf8(0x20e)]):null,'framework':_0x251863[_0x3a2cf8(0x204)],'result':_0x251863[_0x3a2cf8(0x1f7)],'meta':{'feature':_0x4bec04,'scenario':_0x46a6a4,'steps':_0x1c4caa,'examples':_0x395393},'customRerunParam':{'rerun_name':_0x3d4262}};if(_0xe61cf6[_0x3a2cf8(0x23b)]&&_0x1c4caa){const _0x380d56=_0xe61cf6[_0x3a2cf8(0x23b)];let _0x173c30=_0x251863[_0x3a2cf8(0x1fb)];_0x1c4caa[_0x3a2cf8(0x23d)](_0x6cd99d=>{const _0x29b973=_0x3a2cf8;if(_0x251863[_0x29b973(0x1d6)](_0x6cd99d[_0x29b973(0x1f8)],_0x251863[_0x29b973(0x1e0)]))return _0x173c30=_0x251863[_0x29b973(0x1ee)],_0x380d56[_0x29b973(0x243)]=_0x6cd99d['failure'],_0x380d56[_0x29b973(0x230)]=_0x6cd99d[_0x29b973(0x230)],![];else{if(_0x251863[_0x29b973(0x233)](_0x6cd99d[_0x29b973(0x1f8)],_0x251863[_0x29b973(0x20b)]))return _0x173c30=_0x251863[_0x29b973(0x24a)],![];}return!![];}),_0x322fac['finishedAt']=new Date()['toISOString'](),_0x322fac[_0x3a2cf8(0x1f8)]=_0x173c30;_0x380d56['timestamp']&&_0x251863['MFhUn'](_0x380d56[_0x3a2cf8(0x1e9)][_0x3a2cf8(0x1f0)],undefined)?_0x322fac[_0x3a2cf8(0x22a)]=_0x251863[_0x3a2cf8(0x1d2)](_0x380d56[_0x3a2cf8(0x1e9)]['nanos'],0xf4240):_0x322fac['duration_in_ms']=undefined;if(_0x251863[_0x3a2cf8(0x233)](_0x173c30,_0x251863['HdRPj'])){const {default:_0x3bdf84}=await import(_0x251863[_0x3a2cf8(0x213)]);_0x322fac[_0x3a2cf8(0x243)]=[{'backtrace':[_0x380d56[_0x3a2cf8(0x243)]?_0x251863[_0x3a2cf8(0x202)](_0x3bdf84,_0x380d56[_0x3a2cf8(0x243)]):_0x251863[_0x3a2cf8(0x1e6)]]}],_0x322fac[_0x3a2cf8(0x224)]=_0x380d56['failure']?_0x251863[_0x3a2cf8(0x1fc)](_0x3bdf84,_0x380d56[_0x3a2cf8(0x243)]):_0x380d56[_0x3a2cf8(0x250)],_0x380d56['failureType']&&(_0x322fac['failure_type']=_0x380d56[_0x3a2cf8(0x230)][_0x3a2cf8(0x22e)](/AssertError/)?_0x251863['NrMLq']:_0x251863[_0x3a2cf8(0x232)]);}}return _0x322fac;}['getHookRunEventData'](_0x2f6ad2,_0x2b621c,_0x16ea11,_0x439722,_0x365e50,_0x1eda0c){const _0x3e3a3a=a96_0x5eb5fd,_0x2665e9={'XLjln':function(_0x63efa3,_0x5bf6e1){return _0x63efa3===_0x5bf6e1;},'oUvpJ':'HookRunFinished','HojhB':function(_0x25b8cf,_0x5c5a08,_0x4c2423){return _0x25b8cf(_0x5c5a08,_0x4c2423);},'VokmJ':_0x3e3a3a(0x245),'Bacit':_0x3e3a3a(0x20e),'cWIlO':_0x3e3a3a(0x1f4),'qvAQt':_0x3e3a3a(0x223),'THVZn':'javascript','QFowW':'feature','eJJpG':'name','tVGWs':function(_0x632a86,_0xffc6cc,_0x55abdc){return _0x632a86(_0xffc6cc,_0x55abdc);},'PDevN':'cucumber'};try{if(_0x2665e9[_0x3e3a3a(0x1ef)](_0x16ea11,_0x2665e9[_0x3e3a3a(0x234)])){const _0xd39c1e=new Date()[_0x3e3a3a(0x225)](),_0x496475=hooksMap[_0x2b621c];if(!_0x496475)return;const _0x5e853e=_0x496475['find'](_0x40d5b0=>_0x40d5b0[_0x3e3a3a(0x219)]===_0x439722['id']);if(!_0x5e853e)return;const _0x1b8a08=this[_0x3e3a3a(0x1eb)](_0x2f6ad2,_0x2b621c);_0x5e853e[_0x3e3a3a(0x1f8)]=_0x1b8a08[_0x3e3a3a(0x24d)],_0x5e853e[_0x3e3a3a(0x220)]=_0xd39c1e,_0x5e853e['failure_type']=_0x1b8a08['failureType'];const _0x2a88a8={};return _0x2a88a8[_0x3e3a3a(0x235)]=_0x1b8a08[_0x3e3a3a(0x1e7)],_0x5e853e['failure_data']=[_0x2a88a8],_0x5e853e;}const _0x2c2989=TestInfo[_0x3e3a3a(0x1ec)](_0x2b621c),_0x3b27c5=_0x2f6ad2[_0x3e3a3a(0x1ce)][_0x3e3a3a(0x215)](_0x16d195=>_0x16d195['id']===_0x439722[_0x3e3a3a(0x21d)]),_0x524d49=_0x2665e9[_0x3e3a3a(0x1d5)](nestedKeyValue,_0x3b27c5,[_0x2665e9[_0x3e3a3a(0x240)],_0x2665e9[_0x3e3a3a(0x1da)]]),_0x3db586=new Date()[_0x3e3a3a(0x225)](),_0x3d8b03=_0x2665e9['cWIlO'],_0x1c5d48=_0x3b27c5[_0x3e3a3a(0x228)]?_0x3b27c5['tagExpression'][_0x3e3a3a(0x21e)]('\x20')['filter'](_0x108e20=>_0x108e20['includes']('@')):[],_0xf9c390={'uuid':_0x439722['id'],'type':_0x2665e9[_0x3e3a3a(0x24c)],'hook_type':_0x1eda0c,'name':_0x3b27c5['name'],'body':{'lang':_0x2665e9['THVZn'],'code':null},'tags':_0x1c5d48,'test_run_id':_0x2c2989,'scope':_0x2665e9['HojhB'](nestedKeyValue,_0x365e50,[_0x2665e9[_0x3e3a3a(0x1f6)],_0x2665e9['eJJpG']]),'scopes':[_0x2665e9[_0x3e3a3a(0x23f)](nestedKeyValue,_0x365e50,[_0x2665e9['QFowW'],_0x2665e9['eJJpG']])||''],'file_name':_0x524d49,'location':_0x524d49,'vc_filepath':this[_0x3e3a3a(0x206)]?path[_0x3e3a3a(0x22b)](this[_0x3e3a3a(0x206)],_0x524d49):null,'result':_0x3d8b03,'started_at':_0x3db586,'framework':_0x2665e9[_0x3e3a3a(0x1d9)]};return _0xf9c390;}catch(_0x5e7238){logger[_0x3e3a3a(0x23e)]('Exception\x20in\x20getHookRunEventData:\x20'+util['format'](_0x5e7238)+'\x20');}}async[a96_0x5eb5fd(0x226)](_0x4db152,_0x729ec0,_0x39a8a7,_0x3340c4,_0x93524c,_0x77d904){const _0x3eed82=a96_0x5eb5fd,_0x26be01={'MeGeZ':function(_0x106018,_0x5d073e){return _0x106018===_0x5d073e;},'brNxm':_0x3eed82(0x248),'DgxhC':function(_0x27c412,_0x1c21a2,_0x5d737a){return _0x27c412(_0x1c21a2,_0x5d737a);},'TsVgR':_0x3eed82(0x245),'GaUBM':_0x3eed82(0x20e),'mfpeQ':_0x3eed82(0x1f1),'pOMon':function(_0x1154aa,_0x57f67c){return _0x1154aa===_0x57f67c;},'ofZLb':_0x3eed82(0x22d)};try{const _0x2f40f4=_0x3340c4['find'](_0x236332=>_0x236332['id']===_0x93524c);if(!_0x2f40f4[_0x3eed82(0x21d)])return;const _0x3b5703=this[_0x3eed82(0x231)](_0x3340c4,_0x2f40f4),_0x352668=this[_0x3eed82(0x1dc)](_0x4db152,_0x729ec0,_0x39a8a7,_0x2f40f4,_0x77d904,_0x3b5703);if(!_0x352668)return;_0x26be01[_0x3eed82(0x22f)](_0x39a8a7,_0x26be01['brNxm'])&&(hooksMap[_0x729ec0]?hooksMap[_0x729ec0][_0x3eed82(0x1fd)](_0x352668):hooksMap[_0x729ec0]=[_0x352668]);const _0x214d1f=_0x4db152[_0x3eed82(0x1ce)]['find'](_0x57a869=>_0x57a869['id']===_0x2f40f4[_0x3eed82(0x21d)]),_0x57e147=_0x26be01['DgxhC'](nestedKeyValue,_0x214d1f,[_0x26be01[_0x3eed82(0x1de)],_0x26be01[_0x3eed82(0x201)]]);if(!_0x57e147)return;else{if(_0x57e147[_0x3eed82(0x217)](_0x26be01['mfpeQ']))return;}if(_0x26be01[_0x3eed82(0x1f3)](_0x352668[_0x3eed82(0x1cb)],_0x26be01[_0x3eed82(0x216)]))return;return _0x352668;}catch(_0xa1b34b){logger[_0x3eed82(0x23e)](_0x3eed82(0x1ea)+util[_0x3eed82(0x24e)](_0xa1b34b)+'\x20');}}['getHookResult'](_0x7d4f63,_0x3f4768){const _0x9099e9=a96_0x5eb5fd,_0x14b811={};_0x14b811[_0x9099e9(0x247)]=function(_0x1f75bf,_0x57078e){return _0x1f75bf===_0x57078e;},_0x14b811[_0x9099e9(0x209)]=_0x9099e9(0x21a),_0x14b811[_0x9099e9(0x242)]='UnhandledError',_0x14b811[_0x9099e9(0x1db)]=_0x9099e9(0x21c),_0x14b811[_0x9099e9(0x20a)]=function(_0x3e8582,_0x903cfb){return _0x3e8582||_0x903cfb;};const _0x4bac5e=_0x14b811,_0xcaf9a0=_0x7d4f63[_0x9099e9(0x237)][_0x3f4768][_0x9099e9(0x1d8)];let _0x48a71d,_0x514fed;return _0xcaf9a0&&_0x4bac5e[_0x9099e9(0x247)](_0xcaf9a0['status'][_0x9099e9(0x21f)]()[_0x9099e9(0x24b)](),_0x4bac5e['nzfJM'])&&(_0x48a71d=_0x4bac5e[_0x9099e9(0x247)](_0xcaf9a0[_0x9099e9(0x227)],undefined)?_0xcaf9a0[_0x9099e9(0x250)]:_0xcaf9a0['exception']['message'],_0x514fed=_0x4bac5e['rfZxr'](_0xcaf9a0['exception'],undefined)?_0x4bac5e[_0x9099e9(0x242)]:_0xcaf9a0[_0x9099e9(0x250)][_0x9099e9(0x22e)](/Assert/)?_0x4bac5e['xhkwt']:_0x4bac5e['ZFXQP']),{'status':_0xcaf9a0[_0x9099e9(0x24d)][_0x9099e9(0x24b)](),'failureType':_0x4bac5e['MdgOU'](_0x514fed,null),'failureData':!_0x48a71d?null:[_0x48a71d]};}['getCucumberHookType'](_0x367a7c,_0x10c9e4){const _0x3f1f74=a96_0x5eb5fd,_0x4cd8b7={};_0x4cd8b7[_0x3f1f74(0x221)]=function(_0x4dfac2,_0xdfbbf5){return _0x4dfac2===_0xdfbbf5;},_0x4cd8b7[_0x3f1f74(0x238)]=_0x3f1f74(0x254),_0x4cd8b7[_0x3f1f74(0x20d)]=_0x3f1f74(0x22c);const _0x31cbb1=_0x4cd8b7;let _0x652ed7=![];for(const _0x38e157 of _0x367a7c){_0x38e157[_0x3f1f74(0x229)]&&(_0x652ed7=!![]);if(_0x31cbb1[_0x3f1f74(0x221)](_0x10c9e4['id'],_0x38e157['id']))return _0x652ed7?_0x31cbb1[_0x3f1f74(0x238)]:_0x31cbb1['hBKrb'];}}[a96_0x5eb5fd(0x23c)]=(_0x9fed97,_0x59c49a)=>{const _0x1d31e5=a96_0x5eb5fd,_0x1a6033={};_0x1a6033[_0x1d31e5(0x246)]=function(_0x20efeb,_0x173e78){return _0x20efeb===_0x173e78;},_0x1a6033[_0x1d31e5(0x1e3)]=function(_0xd9bac4,_0x229ed7){return _0xd9bac4>_0x229ed7;};const _0x3bb904=_0x1a6033;if(!(_0x59c49a[_0x1d31e5(0x208)]&&_0x3bb904[_0x1d31e5(0x1e3)](_0x59c49a['astNodeIds']['length'],0x1)))return;const _0x313d61=_0x59c49a[_0x1d31e5(0x208)][0x0],_0x18ea21=_0x59c49a['astNodeIds'][0x1],_0x417b9e=_0x9fed97['feature']&&_0x9fed97[_0x1d31e5(0x253)][_0x1d31e5(0x1cd)]?_0x9fed97[_0x1d31e5(0x253)][_0x1d31e5(0x1cd)]:undefined;let _0x29ee75=[];_0x417b9e&&_0x417b9e[_0x1d31e5(0x214)](_0x3be9d0=>{const _0x4b69e7=_0x1d31e5;if(_0x3be9d0[_0x4b69e7(0x207)])_0x3be9d0['rule'][_0x4b69e7(0x1cd)][_0x4b69e7(0x214)](_0x2e222e=>{const _0x2e03c8=_0x4b69e7;if(_0x2e222e[_0x2e03c8(0x211)]&&_0x3bb904[_0x2e03c8(0x246)](_0x2e222e[_0x2e03c8(0x211)]['id'],_0x313d61)&&_0x2e222e[_0x2e03c8(0x211)][_0x2e03c8(0x1df)]){const _0x472073=_0x2e222e[_0x2e03c8(0x211)][_0x2e03c8(0x1df)]['flatMap'](_0x19f99e=>_0x19f99e['tableBody'])[_0x2e03c8(0x215)](_0x50bf89=>_0x50bf89['id']===_0x18ea21);let _0x4fe0ec;_0x472073&&_0x472073[_0x2e03c8(0x1e1)]?_0x4fe0ec=_0x472073[_0x2e03c8(0x1e1)]['map'](_0x1c3d6e=>_0x1c3d6e[_0x2e03c8(0x1d7)]):_0x4fe0ec=[],_0x4fe0ec&&(_0x29ee75=_0x4fe0ec);}});else{if(_0x3be9d0[_0x4b69e7(0x211)]&&_0x3bb904[_0x4b69e7(0x246)](_0x3be9d0[_0x4b69e7(0x211)]['id'],_0x313d61)&&_0x3be9d0[_0x4b69e7(0x211)][_0x4b69e7(0x1df)]){const _0x258445=_0x3be9d0[_0x4b69e7(0x211)][_0x4b69e7(0x1df)]['flatMap'](_0xa2583b=>_0xa2583b['tableBody'])[_0x4b69e7(0x215)](_0x349510=>_0x349510['id']===_0x18ea21);let _0x5e314e;_0x258445&&_0x258445['cells']?_0x5e314e=_0x258445[_0x4b69e7(0x1e1)][_0x4b69e7(0x212)](_0x2d5d9c=>_0x2d5d9c[_0x4b69e7(0x1d7)]):_0x5e314e=[],_0x5e314e&&(_0x29ee75=_0x5e314e);}}});if(_0x29ee75[_0x1d31e5(0x203)])return _0x29ee75;return;};async['configureGit'](){const _0x2fc543=a96_0x5eb5fd,_0x234823={'TmqXI':function(_0x5eb86f){return _0x5eb86f();}};if(this[_0x2fc543(0x200)])return this[_0x2fc543(0x206)];const _0x3332b6=await _0x234823[_0x2fc543(0x252)](getGitMetaData);_0x3332b6&&(this['_gitConfigPath']=_0x3332b6[_0x2fc543(0x1cf)]),this[_0x2fc543(0x200)]=!![];}}function a96_0x203d(_0x4ef7bc,_0x354960){const _0x22940c=a96_0x2294();return a96_0x203d=function(_0x203d82,_0x4666c9){_0x203d82=_0x203d82-0x1cb;let _0xcdc9cb=_0x22940c[_0x203d82];return _0xcdc9cb;},a96_0x203d(_0x4ef7bc,_0x354960);}module['exports']=o11yClassErrorHandler(CucumberUtils,[a96_0x5eb5fd(0x205),'getScenarioExamples',a96_0x5eb5fd(0x231),a96_0x5eb5fd(0x1eb),a96_0x5eb5fd(0x1f5),a96_0x5eb5fd(0x1dc),a96_0x5eb5fd(0x24f),a96_0x5eb5fd(0x1e5)]);function a96_0x2294(){const _0xab4136=['format','sendTestRunEventForCucumber','message','util','TmqXI','feature','AFTER_EACH','name','43gUxvUD','children','hooks','root','136336IiSGET','ZYRHt','oWSSp','unknown','5vHbWTv','HojhB','ueZGx','value','testStepResult','PDevN','Bacit','xhkwt','getHookRunEventData','PdyIZ','TsVgR','examples','eQCVe','cells','SKIPPED','ItyJN','tags','createTestFrameworkData','YwUeW','failureData','612964xdXdyq','timestamp','Exception\x20in\x20createHookData:\x20','getHookResult','getTestUUID','javascript','HdRPj','XLjln','nanos','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','FAILED','pOMon','pending','sendHook','QFowW','hbqxw','result','4766MJxQfN','542563zsnEaL','pZEgh','wLngO','push','skipped','join','_gitConfigured','GaUBM','iBHKw','length','ROJKS','configureGit','_gitConfigPath','rule','astNodeIds','nzfJM','MdgOU','qxliq','cucumber','hBKrb','uri','1484358WDTsuU','strip-ansi','scenario','map','bYkQi','forEach','find','ofZLb','includes','fOZAg','uuid','failed','../TestInfo.js','AssertionError','hookId','split','toString','finished_at','jCxIz','DWAUy','hook','failure_reason','toISOString','createHookData','exception','tagExpression','pickleStepId','duration_in_ms','relative','BEFORE_EACH','bstack','match','MeGeZ','failureType','getCucumberHookType','TWfWj','vvbkn','oUvpJ','backtrace','../../../helpers/test-observability/error-handler.js','testStepFinished','Qrhdj','winstonLogger','394875iKFzuN','testCaseFinished','getScenarioExamples','every','debug','tVGWs','VokmJ','333020QkWnXB','ZFXQP','failure','3KxdRXq','sourceReference','brqfc','rfZxr','HookRunStarted','path','nQqtl','toLowerCase','qvAQt','status'];a96_0x2294=function(){return _0xab4136;};return a96_0x2294();}
|
|
1
|
+
const a96_0x2c742e=a96_0x3470;(function(_0x85ae34,_0x3d1ba6){const _0x5c5794=a96_0x3470,_0xbd0972=_0x85ae34();while(!![]){try{const _0x5a55cc=-parseInt(_0x5c5794(0x1e2))/0x1+-parseInt(_0x5c5794(0x214))/0x2*(parseInt(_0x5c5794(0x252))/0x3)+parseInt(_0x5c5794(0x253))/0x4+parseInt(_0x5c5794(0x250))/0x5+parseInt(_0x5c5794(0x23b))/0x6*(parseInt(_0x5c5794(0x24b))/0x7)+parseInt(_0x5c5794(0x21e))/0x8+-parseInt(_0x5c5794(0x222))/0x9;if(_0x5a55cc===_0x3d1ba6)break;else _0xbd0972['push'](_0xbd0972['shift']());}catch(_0x12b010){_0xbd0972['push'](_0xbd0972['shift']());}}}(a96_0xdaa6,0x51ae0));function a96_0x3470(_0x399452,_0x1af9e8){const _0xdaa6e7=a96_0xdaa6();return a96_0x3470=function(_0x34709c,_0x39a9d6){_0x34709c=_0x34709c-0x1d3;let _0x728500=_0xdaa6e7[_0x34709c];return _0x728500;},a96_0x3470(_0x399452,_0x1af9e8);}const path=require('path'),util=require(a96_0x2c742e(0x1dc)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a96_0x2c742e(0x209)),logger=require(a96_0x2c742e(0x25d))[a96_0x2c742e(0x225)],{o11yClassErrorHandler}=require(a96_0x2c742e(0x1e8)),TestInfo=require(a96_0x2c742e(0x259)),hooksMap={};function a96_0xdaa6(){const _0x3997af=['failureData','../../../helpers/helper.js','getCucumberHookType','RKSTw','uuid','uri','toLowerCase','getTestUUID','getHookRunEventData','rule','HookRunFinished','tableBody','2zmbqYX','Exception\x20in\x20createHookData:\x20','kmBvH','feature','HMWnX','svwIt','includes','EVenK','ARXUu','forEach','3690152qtGaAK','ptByR','AssertionError','hrpbU','7974738HHWBiO','zkvTH','timestamp','winstonLogger','failed','cells','name','LMAcE','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','UURNv','PkCJe','sendTestRunEventForCucumber','JoOyv','length','astNodeIds','hooks','zpCaH','tags','javascript','hook','pxQjR','tagExpression','testStepResult','GZYgC','QzPYN','132zjCnUc','AlRNY','toString','BEFORE_EACH','eQbwD','relative','root','oxvtB','AFTER_EACH','WTcIY','bstack','ISBwi','EKDfl','_gitConfigPath','FAILED','BIcHJ','110663IPbsZb','scenario','testCaseFinished','filter','YTrvL','2434820TUYLMU','pickleStepId','494466jpQwlC','822828QPAqAP','sendHook','skipped','WwYyt','finished_at','match','../TestInfo.js','etBRn','jIRzB','value','../../../helpers/logger.js','children','NIURk','jSeXE','OhlJD','hookId','backtrace','cucumber','BBPxV','configureGit','testStepFinished','XUZdH','failure_type','UnhandledError','util','failureType','rHYTQ','duration_in_ms','createTestFrameworkData','passed','116274eghdpm','ckACl','BrtDk','XeGyT','find','failure','../../../helpers/test-observability/error-handler.js','BEHKz','debug','exception','RJhvT','_gitConfigured','getHookResult','ZBRfo','toISOString','cLRLA','sourceReference','failure_data','createHookData','nanos','test','UaTrX','result','siiup','finishedAt','SKIPPED','join','status','pending','examples','map','kRTLB','format','every','message','xfviu','getScenarioExamples','rMqcB'];a96_0xdaa6=function(){return _0x3997af;};return a96_0xdaa6();}class CucumberUtils{constructor(){const _0x292325=a96_0x2c742e;this[_0x292325(0x1ed)]=![],this[_0x292325(0x248)]=null;}async[a96_0x2c742e(0x1e0)](_0x36f53b,_0x405982,_0x2292ff,_0x576a38,_0x5ac23c,_0x1f4142){const _0x16e917=a96_0x2c742e,_0x2ab9ca={'WTcIY':function(_0x45fa79,_0x102f15){return _0x45fa79===_0x102f15;},'UURNv':_0x16e917(0x249),'zkvTH':'failed','JoOyv':function(_0x31c3dd,_0x4fda83){return _0x31c3dd===_0x4fda83;},'OcRDG':_0x16e917(0x1fb),'RKSTw':_0x16e917(0x255),'kRTLB':function(_0x10351b,_0x5546a0){return _0x10351b||_0x5546a0;},'EKDfl':function(_0xe664f7,_0x299ca4){return _0xe664f7+_0x299ca4;},'UaTrX':function(_0x37a748,_0x49936e){return _0x37a748+_0x49936e;},'oxvtB':function(_0x44d169,_0x4c583a){return _0x44d169+_0x4c583a;},'nMWbI':_0x16e917(0x1f6),'AlRNY':'javascript','hrpbU':_0x16e917(0x1d5),'EVenK':_0x16e917(0x1fe),'IlSAZ':_0x16e917(0x1e1),'GZYgC':function(_0x8921d9,_0x58a271){return _0x8921d9!==_0x58a271;},'svwIt':function(_0x23fcdf,_0x742a86){return _0x23fcdf/_0x742a86;},'etBRn':'strip-ansi','ptByR':function(_0x19dde8,_0xdbcb4e){return _0x19dde8(_0xdbcb4e);},'XUZdH':'unknown','kmBvH':_0x16e917(0x220),'HFAHh':_0x16e917(0x1db)},{feature:_0x1c1393,scenario:_0x48c478,steps:_0x57460f,uuid:_0x364787,startedAt:_0x210cda,finishedAt:_0xe39f1e}=_0x2ab9ca[_0x16e917(0x201)](_0x36f53b,{}),_0x1a9b3c=this[_0x16e917(0x206)](_0x576a38,_0x405982);await this['configureGit']();const _0x514f5b=_0x1a9b3c?_0x2ab9ca[_0x16e917(0x247)](_0x2ab9ca[_0x16e917(0x1f7)](_0x2ab9ca[_0x16e917(0x242)](_0x405982['name'],'\x20('),_0x1a9b3c[_0x16e917(0x1fc)](',\x20')),')'):_0x405982['name'],_0x19d473={'id':_0x5ac23c,'uuid':_0x5ac23c,'startedAt':_0x210cda,'finishedAt':_0xe39f1e,'type':_0x2ab9ca['nMWbI'],'body':{'lang':_0x2ab9ca[_0x16e917(0x23c)],'code':null},'name':_0x514f5b,'scopes':[_0x1c1393&&_0x1c1393[_0x16e917(0x228)]?_0x1c1393['name']:''],'tags':_0x405982[_0x16e917(0x233)]?_0x405982[_0x16e917(0x233)][_0x16e917(0x200)](({name:_0x30f4a5})=>_0x30f4a5):[],'file_name':_0x405982['uri'],'location':_0x405982[_0x16e917(0x20d)],'vc_filepath':this[_0x16e917(0x248)]&&_0x405982['uri']?path[_0x16e917(0x240)](this[_0x16e917(0x248)],_0x405982['uri']):null,'framework':_0x2ab9ca[_0x16e917(0x221)],'result':_0x2ab9ca[_0x16e917(0x21b)],'meta':{'feature':_0x1c1393,'scenario':_0x48c478,'steps':_0x57460f,'examples':_0x1a9b3c},'customRerunParam':{'rerun_name':_0x514f5b}};if(_0x2292ff['testCaseFinished']&&_0x57460f){const _0x448214=_0x2292ff[_0x16e917(0x24d)];let _0xbb2188=_0x2ab9ca['IlSAZ'];_0x57460f[_0x16e917(0x203)](_0x48640f=>{const _0x279e96=_0x16e917;if(_0x2ab9ca[_0x279e96(0x244)](_0x48640f[_0x279e96(0x1f8)],_0x2ab9ca[_0x279e96(0x22b)]))return _0xbb2188=_0x2ab9ca[_0x279e96(0x223)],_0x448214['failure']=_0x48640f[_0x279e96(0x1e7)],_0x448214[_0x279e96(0x1dd)]=_0x48640f[_0x279e96(0x1dd)],![];else{if(_0x2ab9ca[_0x279e96(0x22e)](_0x48640f[_0x279e96(0x1f8)],_0x2ab9ca['OcRDG']))return _0xbb2188=_0x2ab9ca[_0x279e96(0x20b)],![];}return!![];}),_0x19d473[_0x16e917(0x1fa)]=new Date()['toISOString'](),_0x19d473[_0x16e917(0x1f8)]=_0xbb2188;_0x448214[_0x16e917(0x224)]&&_0x2ab9ca[_0x16e917(0x239)](_0x448214[_0x16e917(0x224)][_0x16e917(0x1f5)],undefined)?_0x19d473[_0x16e917(0x1df)]=_0x2ab9ca[_0x16e917(0x219)](_0x448214[_0x16e917(0x224)][_0x16e917(0x1f5)],0xf4240):_0x19d473[_0x16e917(0x1df)]=undefined;if(_0x2ab9ca[_0x16e917(0x244)](_0xbb2188,_0x2ab9ca['zkvTH'])){const {default:_0x11be28}=await import(_0x2ab9ca[_0x16e917(0x25a)]);_0x19d473[_0x16e917(0x1e7)]=[{'backtrace':[_0x448214[_0x16e917(0x1e7)]?_0x2ab9ca[_0x16e917(0x21f)](_0x11be28,_0x448214[_0x16e917(0x1e7)]):_0x2ab9ca[_0x16e917(0x1d9)]]}],_0x19d473['failure_reason']=_0x448214[_0x16e917(0x1e7)]?_0x2ab9ca['ptByR'](_0x11be28,_0x448214[_0x16e917(0x1e7)]):_0x448214[_0x16e917(0x204)],_0x448214[_0x16e917(0x1dd)]&&(_0x19d473[_0x16e917(0x1da)]=_0x448214['failureType']['match'](/AssertError/)?_0x2ab9ca[_0x16e917(0x216)]:_0x2ab9ca['HFAHh']);}}return _0x19d473;}[a96_0x2c742e(0x210)](_0x1df8af,_0x2b5ff5,_0x3d8b55,_0x5688e8,_0x18467f,_0x3a2f5f){const _0x20200a=a96_0x2c742e,_0x32fda2={'XiGpk':function(_0x5ae3ae,_0x13a146){return _0x5ae3ae===_0x13a146;},'PkCJe':_0x20200a(0x212),'cLRLA':function(_0x26b464,_0x5c3cc8,_0x33223b){return _0x26b464(_0x5c3cc8,_0x33223b);},'pxQjR':_0x20200a(0x1f2),'OhlJD':_0x20200a(0x20d),'rMqcB':_0x20200a(0x1fe),'BIcHJ':_0x20200a(0x235),'oeubs':_0x20200a(0x234),'QzPYN':function(_0x130824,_0x102551,_0x539562){return _0x130824(_0x102551,_0x539562);},'jSeXE':'feature','XeGyT':_0x20200a(0x228),'NIURk':'cucumber'};try{if(_0x32fda2['XiGpk'](_0x3d8b55,_0x32fda2[_0x20200a(0x22c)])){const _0x12f186=new Date()[_0x20200a(0x1f0)](),_0x427a61=hooksMap[_0x2b5ff5];if(!_0x427a61)return;const _0x594655=_0x427a61[_0x20200a(0x1e6)](_0xd64df1=>_0xd64df1[_0x20200a(0x20c)]===_0x5688e8['id']);if(!_0x594655)return;const _0x6c48de=this[_0x20200a(0x1ee)](_0x1df8af,_0x2b5ff5);_0x594655[_0x20200a(0x1f8)]=_0x6c48de[_0x20200a(0x1fd)],_0x594655[_0x20200a(0x257)]=_0x12f186,_0x594655[_0x20200a(0x1da)]=_0x6c48de[_0x20200a(0x1dd)];const _0x497e7c={};return _0x497e7c[_0x20200a(0x1d4)]=_0x6c48de[_0x20200a(0x208)],_0x594655[_0x20200a(0x1f3)]=[_0x497e7c],_0x594655;}const _0x5e0f38=TestInfo[_0x20200a(0x20f)](_0x2b5ff5),_0x9e7f84=_0x1df8af['hooks'][_0x20200a(0x1e6)](_0x27b27d=>_0x27b27d['id']===_0x5688e8[_0x20200a(0x1d3)]),_0x245479=_0x32fda2[_0x20200a(0x1f1)](nestedKeyValue,_0x9e7f84,[_0x32fda2[_0x20200a(0x236)],_0x32fda2[_0x20200a(0x261)]]),_0x337ce1=new Date()[_0x20200a(0x1f0)](),_0x51e1c7=_0x32fda2[_0x20200a(0x207)],_0x33a084=_0x9e7f84[_0x20200a(0x237)]?_0x9e7f84[_0x20200a(0x237)]['split']('\x20')[_0x20200a(0x24e)](_0x3c12ea=>_0x3c12ea[_0x20200a(0x21a)]('@')):[],_0x23b5d6={'uuid':_0x5688e8['id'],'type':_0x32fda2[_0x20200a(0x24a)],'hook_type':_0x3a2f5f,'name':_0x9e7f84[_0x20200a(0x228)],'body':{'lang':_0x32fda2['oeubs'],'code':null},'tags':_0x33a084,'test_run_id':_0x5e0f38,'scope':_0x32fda2[_0x20200a(0x23a)](nestedKeyValue,_0x18467f,[_0x32fda2[_0x20200a(0x260)],_0x32fda2[_0x20200a(0x1e5)]]),'scopes':[_0x32fda2[_0x20200a(0x23a)](nestedKeyValue,_0x18467f,[_0x32fda2[_0x20200a(0x260)],_0x32fda2[_0x20200a(0x1e5)]])||''],'file_name':_0x245479,'location':_0x245479,'vc_filepath':this[_0x20200a(0x248)]?path[_0x20200a(0x240)](this[_0x20200a(0x248)],_0x245479):null,'result':_0x51e1c7,'started_at':_0x337ce1,'framework':_0x32fda2[_0x20200a(0x25f)]};return _0x23b5d6;}catch(_0x3d5b68){logger[_0x20200a(0x1ea)]('Exception\x20in\x20getHookRunEventData:\x20'+util[_0x20200a(0x202)](_0x3d5b68)+'\x20');}}async[a96_0x2c742e(0x1f4)](_0x45ea06,_0x38de7f,_0x4217fa,_0x26b2d7,_0x51ded2,_0x17cac3){const _0x25b8ae=a96_0x2c742e,_0x20cf23={'IfWbp':function(_0x5da773,_0x4d01e1){return _0x5da773===_0x4d01e1;},'hxHjJ':'HookRunStarted','eQbwD':function(_0x3e526d,_0x2faa56,_0x5edb10){return _0x3e526d(_0x2faa56,_0x5edb10);},'jIRzB':_0x25b8ae(0x1f2),'APzVX':'uri','HMWnX':_0x25b8ae(0x22a),'MQZLn':function(_0x403656,_0x12fb49){return _0x403656===_0x12fb49;},'PGfXy':_0x25b8ae(0x245)};try{const _0x854227=_0x26b2d7[_0x25b8ae(0x1e6)](_0xe4bfe=>_0xe4bfe['id']===_0x51ded2);if(!_0x854227[_0x25b8ae(0x1d3)])return;const _0x279a48=this[_0x25b8ae(0x20a)](_0x26b2d7,_0x854227),_0x5afe4c=this[_0x25b8ae(0x210)](_0x45ea06,_0x38de7f,_0x4217fa,_0x854227,_0x17cac3,_0x279a48);if(!_0x5afe4c)return;_0x20cf23['IfWbp'](_0x4217fa,_0x20cf23['hxHjJ'])&&(hooksMap[_0x38de7f]?hooksMap[_0x38de7f]['push'](_0x5afe4c):hooksMap[_0x38de7f]=[_0x5afe4c]);const _0x141127=_0x45ea06[_0x25b8ae(0x231)]['find'](_0x41d742=>_0x41d742['id']===_0x854227[_0x25b8ae(0x1d3)]),_0x2585be=_0x20cf23[_0x25b8ae(0x23f)](nestedKeyValue,_0x141127,[_0x20cf23[_0x25b8ae(0x25b)],_0x20cf23['APzVX']]);if(!_0x2585be)return;else{if(_0x2585be[_0x25b8ae(0x21a)](_0x20cf23[_0x25b8ae(0x218)]))return;}if(_0x20cf23['MQZLn'](_0x5afe4c[_0x25b8ae(0x228)],_0x20cf23['PGfXy']))return;return _0x5afe4c;}catch(_0x3a6e20){logger['debug'](_0x25b8ae(0x215)+util[_0x25b8ae(0x202)](_0x3a6e20)+'\x20');}}[a96_0x2c742e(0x1ee)](_0x5a2649,_0x3db7cc){const _0x426429=a96_0x2c742e,_0x5cfcbb={};_0x5cfcbb[_0x426429(0x24f)]=function(_0xeeb458,_0x134b88){return _0xeeb458===_0x134b88;},_0x5cfcbb[_0x426429(0x1ef)]=_0x426429(0x226),_0x5cfcbb[_0x426429(0x21c)]=function(_0x146a9a,_0x2fcd8c){return _0x146a9a===_0x2fcd8c;},_0x5cfcbb[_0x426429(0x205)]=function(_0x11cfb5,_0x276083){return _0x11cfb5===_0x276083;},_0x5cfcbb[_0x426429(0x246)]=_0x426429(0x1db),_0x5cfcbb[_0x426429(0x229)]=_0x426429(0x220),_0x5cfcbb[_0x426429(0x256)]=function(_0x1b46cf,_0x4cd6c0){return _0x1b46cf||_0x4cd6c0;};const _0x104631=_0x5cfcbb,_0x5b028a=_0x5a2649[_0x426429(0x1d8)][_0x3db7cc][_0x426429(0x238)];let _0x2745e4,_0x31dd5c;return _0x5b028a&&_0x104631[_0x426429(0x24f)](_0x5b028a[_0x426429(0x1fd)][_0x426429(0x23d)]()[_0x426429(0x20e)](),_0x104631[_0x426429(0x1ef)])&&(_0x2745e4=_0x104631['ARXUu'](_0x5b028a[_0x426429(0x1eb)],undefined)?_0x5b028a['message']:_0x5b028a[_0x426429(0x1eb)][_0x426429(0x204)],_0x31dd5c=_0x104631[_0x426429(0x205)](_0x5b028a[_0x426429(0x1eb)],undefined)?_0x104631['ISBwi']:_0x5b028a[_0x426429(0x204)][_0x426429(0x258)](/Assert/)?_0x104631[_0x426429(0x229)]:_0x104631['ISBwi']),{'status':_0x5b028a[_0x426429(0x1fd)][_0x426429(0x20e)](),'failureType':_0x104631[_0x426429(0x256)](_0x31dd5c,null),'failureData':!_0x2745e4?null:[_0x2745e4]};}[a96_0x2c742e(0x20a)](_0xba2032,_0xd88d83){const _0x3079e1=a96_0x2c742e,_0x123e0b={};_0x123e0b[_0x3079e1(0x1e3)]=function(_0x54f927,_0x13a970){return _0x54f927===_0x13a970;},_0x123e0b[_0x3079e1(0x1f9)]=_0x3079e1(0x243),_0x123e0b[_0x3079e1(0x232)]=_0x3079e1(0x23e);const _0x1bbbe9=_0x123e0b;let _0xbfa93c=![];for(const _0x39fd06 of _0xba2032){_0x39fd06[_0x3079e1(0x251)]&&(_0xbfa93c=!![]);if(_0x1bbbe9[_0x3079e1(0x1e3)](_0xd88d83['id'],_0x39fd06['id']))return _0xbfa93c?_0x1bbbe9[_0x3079e1(0x1f9)]:_0x1bbbe9[_0x3079e1(0x232)];}}[a96_0x2c742e(0x206)]=(_0x2863b2,_0x248b5c)=>{const _0x2dd862=a96_0x2c742e,_0xba5191={};_0xba5191[_0x2dd862(0x1e4)]=function(_0x1058d1,_0x2e42d5){return _0x1058d1===_0x2e42d5;},_0xba5191['BEHKz']=function(_0x2741e1,_0x4d631b){return _0x2741e1===_0x4d631b;},_0xba5191[_0x2dd862(0x1ec)]=function(_0x262b18,_0x347483){return _0x262b18>_0x347483;};const _0x55954f=_0xba5191;if(!(_0x248b5c['astNodeIds']&&_0x55954f[_0x2dd862(0x1ec)](_0x248b5c[_0x2dd862(0x230)][_0x2dd862(0x22f)],0x1)))return;const _0x32f757=_0x248b5c['astNodeIds'][0x0],_0x181270=_0x248b5c[_0x2dd862(0x230)][0x1],_0x50ae62=_0x2863b2[_0x2dd862(0x217)]&&_0x2863b2['feature']['children']?_0x2863b2['feature'][_0x2dd862(0x25e)]:undefined;let _0xe8944a=[];_0x50ae62&&_0x50ae62[_0x2dd862(0x21d)](_0x8b571b=>{const _0x192b5b=_0x2dd862,_0x101b97={'rHYTQ':function(_0x267885,_0x45458b){return _0x55954f['BrtDk'](_0x267885,_0x45458b);}};if(_0x8b571b[_0x192b5b(0x211)])_0x8b571b[_0x192b5b(0x211)][_0x192b5b(0x25e)][_0x192b5b(0x21d)](_0x3c7356=>{const _0x4b51ba=_0x192b5b;if(_0x3c7356[_0x4b51ba(0x24c)]&&_0x101b97[_0x4b51ba(0x1de)](_0x3c7356[_0x4b51ba(0x24c)]['id'],_0x32f757)&&_0x3c7356[_0x4b51ba(0x24c)][_0x4b51ba(0x1ff)]){const _0x2aa493=_0x3c7356[_0x4b51ba(0x24c)][_0x4b51ba(0x1ff)]['flatMap'](_0x5b3010=>_0x5b3010[_0x4b51ba(0x213)])[_0x4b51ba(0x1e6)](_0x2deb6b=>_0x2deb6b['id']===_0x181270);let _0x4567ee;_0x2aa493&&_0x2aa493['cells']?_0x4567ee=_0x2aa493['cells'][_0x4b51ba(0x200)](_0x56bb41=>_0x56bb41['value']):_0x4567ee=[],_0x4567ee&&(_0xe8944a=_0x4567ee);}});else{if(_0x8b571b[_0x192b5b(0x24c)]&&_0x55954f[_0x192b5b(0x1e9)](_0x8b571b[_0x192b5b(0x24c)]['id'],_0x32f757)&&_0x8b571b[_0x192b5b(0x24c)][_0x192b5b(0x1ff)]){const _0x45f9d3=_0x8b571b[_0x192b5b(0x24c)]['examples']['flatMap'](_0x524ff9=>_0x524ff9[_0x192b5b(0x213)])[_0x192b5b(0x1e6)](_0x5081e8=>_0x5081e8['id']===_0x181270);let _0x4c0d05;_0x45f9d3&&_0x45f9d3['cells']?_0x4c0d05=_0x45f9d3[_0x192b5b(0x227)][_0x192b5b(0x200)](_0x42ce63=>_0x42ce63[_0x192b5b(0x25c)]):_0x4c0d05=[],_0x4c0d05&&(_0xe8944a=_0x4c0d05);}}});if(_0xe8944a[_0x2dd862(0x22f)])return _0xe8944a;return;};async[a96_0x2c742e(0x1d7)](){const _0x5f2d36=a96_0x2c742e,_0x423bf8={'BBPxV':function(_0x1b4af8){return _0x1b4af8();}};if(this[_0x5f2d36(0x1ed)])return this['_gitConfigPath'];const _0x2f5c85=await _0x423bf8[_0x5f2d36(0x1d6)](getGitMetaData);_0x2f5c85&&(this[_0x5f2d36(0x248)]=_0x2f5c85[_0x5f2d36(0x241)]),this['_gitConfigured']=!![];}}module['exports']=o11yClassErrorHandler(CucumberUtils,[a96_0x2c742e(0x1d7),a96_0x2c742e(0x206),'getCucumberHookType','getHookResult',a96_0x2c742e(0x254),'getHookRunEventData',a96_0x2c742e(0x22d),'createTestFrameworkData']);
|