browserstack-node-sdk 1.65.0 → 1.65.1
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/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter.js +1 -1
- package/src/bin/cucumber-js/formatter/custom_formatter_old_versions.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jasmine/bstack-reporter/customReporter.js +1 -1
- package/src/bin/jasmine/command.js +1 -1
- package/src/bin/jasmine/test.setup.js +1 -1
- package/src/bin/jasmine/testRunMap.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/loadErrors.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/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/newman/command.js +1 -1
- package/src/bin/newman/helper.js +1 -1
- package/src/bin/newman/reporter/index.js +1 -1
- package/src/bin/newman/scriptRunner.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/node-generic/client.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/reporterArgs.js +1 -0
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/puppeteer/patches.js +1 -1
- package/src/bin/puppeteer/sessionDetails.js +1 -1
- package/src/bin/puppeteer/test.setup.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/testcafe/a11y-runner.js +1 -1
- package/src/bin/testcafe/command.js +1 -1
- package/src/bin/testcafe/reporter/index.js +1 -1
- package/src/bin/testcafe/reporter/tcUtils.js +1 -1
- package/src/bin/testcafe/session-registry.js +1 -1
- package/src/bin/testcafe/stdout-interceptor.js +1 -1
- package/src/bin/testcafe/testcafe-action-patcher.js +1 -1
- package/src/bin/testcafe/w3c-driver.js +1 -1
- package/src/bin/utils/apiUtilityMethods.js +1 -1
- package/src/bin/utils/clientTroubleshootingService.js +1 -1
- package/src/bin/utils/constants.js +1 -1
- package/src/bin/utils/log4jsAppender.js +1 -1
- package/src/bin/utils/logPatcher.js +1 -1
- package/src/bin/utils/logReportingAPI.js +1 -1
- package/src/bin/utils/playwright-patcher.js +1 -1
- package/src/bin/utils/puppeteer-patcher.js +1 -1
- package/src/bin/utils/sharedPlaywrightSessionDetails.js +1 -1
- package/src/bin/utils/sharedUtils.js +1 -1
- package/src/bin/v2/TestInfo.js +1 -1
- package/src/bin/v2/browserstackCLI.js +1 -1
- package/src/bin/v2/cliUtils.js +1 -1
- package/src/bin/v2/customTagManager.js +1 -1
- package/src/bin/v2/eventDispatcher.js +1 -1
- package/src/bin/v2/framework/automationFramework.js +1 -1
- package/src/bin/v2/framework/constants/automationFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/constants/testFrameworkConstants.js +1 -1
- package/src/bin/v2/framework/cucumberTestFramework.js +1 -1
- package/src/bin/v2/framework/jestTestFramework.js +1 -1
- package/src/bin/v2/framework/newmanTestFramework.js +1 -1
- package/src/bin/v2/framework/nodeGenericTestFramework.js +1 -1
- package/src/bin/v2/framework/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/puppeteerAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/framework/testcafeAutomationFramework.js +1 -1
- package/src/bin/v2/framework/testcafeTestFramework.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/testcafeDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/sdkErrorHandler.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/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/caCertHelper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/driverInitErrorReporter.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/puppeteer-helper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/stackFrameUtils.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/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 a7_0x2b9f7c=a7_0x306e;function a7_0x306e(_0x4ecf37,_0x33a892){const _0x59b366=a7_0x59b3();return a7_0x306e=function(_0x306e7c,_0x43e960){_0x306e7c=_0x306e7c-0x161;let _0x32b48e=_0x59b366[_0x306e7c];return _0x32b48e;},a7_0x306e(_0x4ecf37,_0x33a892);}(function(_0x3e2f50,_0x15ab7f){const _0x5698b3=a7_0x306e,_0x16b793=_0x3e2f50();while(!![]){try{const _0xda960f=parseInt(_0x5698b3(0x161))/0x1*(parseInt(_0x5698b3(0x1e5))/0x2)+parseInt(_0x5698b3(0x1ee))/0x3+parseInt(_0x5698b3(0x199))/0x4+parseInt(_0x5698b3(0x1f2))/0x5*(-parseInt(_0x5698b3(0x16c))/0x6)+-parseInt(_0x5698b3(0x1c3))/0x7+parseInt(_0x5698b3(0x1ae))/0x8+-parseInt(_0x5698b3(0x162))/0x9*(parseInt(_0x5698b3(0x193))/0xa);if(_0xda960f===_0x15ab7f)break;else _0x16b793['push'](_0x16b793['shift']());}catch(_0x1cf721){_0x16b793['push'](_0x16b793['shift']());}}}(a7_0x59b3,0xa45a6));const path=require('path'),util=require(a7_0x2b9f7c(0x174)),hooksMap={},SessionHandler=require(a7_0x2b9f7c(0x171)),testhubUtils=require(a7_0x2b9f7c(0x1eb)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a7_0x2b9f7c(0x1a0)),logger=require(a7_0x2b9f7c(0x19f))['winstonLogger'],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a7_0x2b9f7c(0x198)),TestDetails=require(a7_0x2b9f7c(0x17f));function a7_0x59b3(){const _0x3e0eaf=['4530420ffwJiN','PhElp','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','ZlRlN','sendHook','xvVrJ','../../helpers/logger','../../helpers/helper','zUrQJ','testCaseStartedId','hjyht','forEach','tags','giNIO','VDiMw','tagExpression','examples','Exception\x20in\x20sendHook:\x20','hook_run','tableBody','failureType','4476928GJgiXh','getCucumberHookType','cucumber','hookId','configureGit','SgaDe','jEBOV','name','status','debug','HookRunFinished','failure_reason','bjBfv','length','pRxSZ','toLowerCase','push','includes','wrsGm','pZgyb','hXrOr','1556548neTYYi','CUCUMBER','duration_in_ms','match','failure_type','find','failure','relative','ZBlyA','hNtZu','updateTestStatus','GLcBI','TScKe','children','cells','Exception\x20in\x20getHookRunEventData:\x20','value','map','UEHTK','HQuDp','getHooksListForTest','nkNeo','SKIPPED','uploadEventData','test_run','toString','every','JfVBx','timestamp','UdVBJ','event_type','pending','result','join','2131064tWcATs','_gitConfigPath','sBnxD','getHookRunEventData','BEFORE_EACH','BvqiD','../../helpers/testhub/utils','jnYBL','testCaseFinished','3224898jGctdr','AFTER_EACH','uuid','root','5yLTyCC','DSsdb','finished_at','EOzBb','MAbCQ','message','sTXvG','FAILED','1kurHSY','126izAZdZ','feature','lRlsO','BkwPC','dVdKL','appendTesthubParams','pickleStepId','javascript','FLMmI','getHookResult','6074166xPPfwM','HookRunStarted','format','nGvkW','bEYuI','../../helpers/test-observability/sessionHandler','flatMap','failed','util','_gitConfigured','uri','passed','JzfuH','backtrace','IjjyN','sendTestRunEventForCucumber','TOksd','njjJw','hooks','../playwright/reporter/test-details','testStepFinished','TestRunFinished','RpdmI','failure_data','IgozL','fUZYg','unknown','yUZgb','waAcO','nanos','fqNcL','split','failureData','jAySH','scenario','getScenarioExamples','AssertionError','test','toISOString','1374860UAZeDK','EWctK','sourceReference','astNodeIds','LDsMo','../../helpers/test-observability/constants.js'];a7_0x59b3=function(){return _0x3e0eaf;};return a7_0x59b3();}this['_gitConfigured']=![],this[a7_0x2b9f7c(0x1e6)]=null;class TestObservabilityReporter{async[a7_0x2b9f7c(0x17b)](_0x25cb3d,_0x12cd37,_0x2f1de0,_0xd5b66a,_0x91486){const _0x1eca32=a7_0x2b9f7c,_0x5169b7={'BNZos':function(_0x402da9,_0x49e768){return _0x402da9===_0x49e768;},'LDsMo':_0x1eca32(0x1f9),'UdVBJ':'failed','wrsGm':function(_0x48a50e,_0x2c9003){return _0x48a50e===_0x2c9003;},'PhElp':_0x1eca32(0x1d9),'HQuDp':'skipped','bjBfv':function(_0x593fba,_0xb4237d){return _0x593fba||_0xb4237d;},'IgozL':function(_0x337b2a,_0x3f4145){return _0x337b2a+_0x3f4145;},'pAwmP':function(_0x8d0a47,_0x28b8ec){return _0x8d0a47+_0x28b8ec;},'JfVBx':_0x1eca32(0x191),'exHWY':_0x1eca32(0x169),'zUrQJ':_0x1eca32(0x1b0),'FLMmI':_0x1eca32(0x1e2),'xvVrJ':_0x1eca32(0x177),'QmjTo':function(_0x88c41,_0x5d9d5f){return _0x88c41!==_0x5d9d5f;},'EOzBb':function(_0x208711,_0x152e99){return _0x208711/_0x152e99;},'hNtZu':'strip-ansi','BTQyb':function(_0x379f5b,_0x2509fa){return _0x379f5b(_0x2509fa);},'hjyht':_0x1eca32(0x186),'UNIHp':function(_0x3f010a,_0x463a1e){return _0x3f010a(_0x463a1e);},'giNIO':_0x1eca32(0x190),'dVdKL':'UnhandledError','idhyK':_0x1eca32(0x181),'lRlsO':function(_0x3360b0,_0x18aad7){return _0x3360b0>_0x18aad7;}},{feature:_0xd53539,scenario:_0x436ea3,steps:_0x4d11d9,uuid:_0xb883a8,startedAt:_0x34525b,finishedAt:_0x48f7ec}=_0x5169b7[_0x1eca32(0x1ba)](_0x91486,{}),_0xbac217=this[_0x1eca32(0x18f)](_0x12cd37,_0x2f1de0);await this['configureGit']();const _0x4f3ed7=_0xbac217?_0x5169b7[_0x1eca32(0x184)](_0x5169b7[_0x1eca32(0x184)](_0x5169b7['pAwmP'](_0x2f1de0['name'],'\x20('),_0xbac217[_0x1eca32(0x1e4)](',\x20')),')'):_0x2f1de0['name'],_0x57084c={'uuid':_0xb883a8,'started_at':_0x34525b,'finished_at':_0x48f7ec,'type':_0x5169b7[_0x1eca32(0x1de)],'body':{'lang':_0x5169b7['exHWY'],'code':null},'name':_0x4f3ed7,'scopes':[_0xd53539&&_0xd53539[_0x1eca32(0x1b5)]?_0xd53539[_0x1eca32(0x1b5)]:''],'tags':_0x2f1de0['tags']?_0x2f1de0[_0x1eca32(0x1a5)][_0x1eca32(0x1d4)](({name:_0x2c4775})=>_0x2c4775):[],'file_name':_0x2f1de0[_0x1eca32(0x176)],'location':_0x2f1de0[_0x1eca32(0x176)],'vc_filepath':this[_0x1eca32(0x1e6)]&&_0x2f1de0[_0x1eca32(0x176)]?path['relative'](this[_0x1eca32(0x1e6)],_0x2f1de0[_0x1eca32(0x176)]):null,'framework':_0x5169b7[_0x1eca32(0x1a1)],'result':_0x5169b7[_0x1eca32(0x16a)],'meta':{'feature':_0xd53539,'scenario':_0x436ea3,'steps':_0x4d11d9,'examples':_0xbac217},'customRerunParam':{'rerun_name':_0x4f3ed7}};if(_0x25cb3d[_0x1eca32(0x1ed)]&&_0x4d11d9){const _0x1c97d6=_0x25cb3d[_0x1eca32(0x1ed)];let _0x4229c0=_0x5169b7[_0x1eca32(0x19e)];_0x4d11d9[_0x1eca32(0x1dd)](_0xc6d5ef=>{const _0xd13ac5=_0x1eca32;if(_0x5169b7['BNZos'](_0xc6d5ef['result'],_0x5169b7[_0xd13ac5(0x197)]))return _0x4229c0=_0x5169b7[_0xd13ac5(0x1e0)],_0x1c97d6[_0xd13ac5(0x1c9)]=_0xc6d5ef[_0xd13ac5(0x1c9)],_0x1c97d6[_0xd13ac5(0x1ad)]=_0xc6d5ef[_0xd13ac5(0x1ad)],![];else{if(_0x5169b7[_0xd13ac5(0x1c0)](_0xc6d5ef[_0xd13ac5(0x1e3)],_0x5169b7[_0xd13ac5(0x19a)]))return _0x4229c0=_0x5169b7[_0xd13ac5(0x1d6)],![];}return!![];}),_0x57084c[_0x1eca32(0x1f4)]=new Date()[_0x1eca32(0x192)](),_0x57084c['result']=_0x4229c0;_0x1c97d6['timestamp']&&_0x5169b7['QmjTo'](_0x1c97d6[_0x1eca32(0x1df)][_0x1eca32(0x189)],undefined)?_0x57084c[_0x1eca32(0x1c5)]=_0x5169b7[_0x1eca32(0x1f5)](_0x1c97d6[_0x1eca32(0x1df)][_0x1eca32(0x189)],0xf4240):_0x57084c['duration_in_ms']=undefined;if(_0x5169b7['BNZos'](_0x4229c0,_0x5169b7[_0x1eca32(0x1e0)])){const {default:_0x138944}=await import(_0x5169b7[_0x1eca32(0x1cc)]);_0x57084c[_0x1eca32(0x1c9)]=[{'backtrace':[_0x1c97d6[_0x1eca32(0x1c9)]?_0x5169b7['BTQyb'](_0x138944,_0x1c97d6[_0x1eca32(0x1c9)]):_0x5169b7[_0x1eca32(0x1a3)]]}],_0x57084c[_0x1eca32(0x1b9)]=_0x1c97d6['failure']?_0x5169b7['UNIHp'](_0x138944,_0x1c97d6[_0x1eca32(0x1c9)]):_0x1c97d6[_0x1eca32(0x1f7)],_0x1c97d6['failureType']&&(_0x57084c[_0x1eca32(0x1c7)]=_0x1c97d6[_0x1eca32(0x1ad)][_0x1eca32(0x1c6)](/AssertError/)?_0x5169b7[_0x1eca32(0x1a6)]:_0x5169b7[_0x1eca32(0x166)]);}}if(_0x5169b7[_0x1eca32(0x1c0)](_0xd5b66a,_0x5169b7['idhyK'])){const _0x5414b2=this['getHooksListForTest'](_0x25cb3d[_0x1eca32(0x1ed)][_0x1eca32(0x1a2)]);_0x5414b2&&_0x5169b7[_0x1eca32(0x164)](_0x5414b2[_0x1eca32(0x1bb)],0x0)&&(_0x57084c['hooks']=_0x5414b2,this['updateTestStatus'](_0x25cb3d[_0x1eca32(0x1ed)][_0x1eca32(0x1a2)],_0x57084c));}testhubUtils[_0x1eca32(0x167)](_0x57084c,_0xd5b66a,'',FRAMEWORKS[_0x1eca32(0x1c4)]);const _0x2793e2={};_0x2793e2[_0x1eca32(0x1e1)]=_0xd5b66a,_0x2793e2[_0x1eca32(0x1db)]=_0x57084c;const _0x85c7f5=_0x2793e2;await SessionHandler[_0x1eca32(0x1da)](_0x85c7f5);}[a7_0x2b9f7c(0x1cd)](_0x2b8ea1,_0x3e29e4){const _0x29ff7d=a7_0x2b9f7c,_0x34bd53={};_0x34bd53[_0x29ff7d(0x1ec)]=function(_0x25f1bb,_0x5235bf){return _0x25f1bb instanceof _0x5235bf;},_0x34bd53[_0x29ff7d(0x16f)]=function(_0x288e20,_0x7d2ef6){return _0x288e20===_0x7d2ef6;},_0x34bd53[_0x29ff7d(0x18d)]=_0x29ff7d(0x173),_0x34bd53[_0x29ff7d(0x1cf)]='3|2|4|0|1';const _0x42a0bd=_0x34bd53,_0x34c032=hooksMap[_0x2b8ea1];if(_0x42a0bd[_0x29ff7d(0x1ec)](_0x34c032,Array))for(const _0x485616 of _0x34c032){if(_0x42a0bd[_0x29ff7d(0x16f)](_0x485616[_0x29ff7d(0x1e3)],_0x42a0bd[_0x29ff7d(0x18d)])){const _0x15e30e=_0x42a0bd[_0x29ff7d(0x1cf)][_0x29ff7d(0x18b)]('|');let _0x59da49=0x0;while(!![]){switch(_0x15e30e[_0x59da49++]){case'0':_0x3e29e4[_0x29ff7d(0x1c7)]=_0x485616[_0x29ff7d(0x1c7)];continue;case'1':return _0x3e29e4;case'2':_0x3e29e4[_0x29ff7d(0x1c9)]=_0x485616[_0x29ff7d(0x183)];continue;case'3':_0x3e29e4['result']=_0x485616[_0x29ff7d(0x1e3)];continue;case'4':_0x3e29e4[_0x29ff7d(0x1b9)]=_0x42a0bd[_0x29ff7d(0x1ec)](_0x485616['failure_data'],Array)?_0x485616[_0x29ff7d(0x183)][0x0][_0x29ff7d(0x179)]['join']('\x0a'):'';continue;}break;}}};}[a7_0x2b9f7c(0x1d7)](_0x1d676f){const _0x504cb6=a7_0x2b9f7c;if(hooksMap[_0x1d676f])return hooksMap[_0x1d676f][_0x504cb6(0x1d4)](_0x43cd18=>_0x43cd18[_0x504cb6(0x1f0)]);return[];}[a7_0x2b9f7c(0x1e8)](_0x17d594,_0x3e252d,_0x4a4bc7,_0x2194ae,_0x46c3a1,_0x635fb9){const _0x3fbcb9=a7_0x2b9f7c,_0x379ea8={'JzfuH':function(_0x207940,_0x2d7979){return _0x207940===_0x2d7979;},'yUZgb':_0x3fbcb9(0x1b8),'OEsCB':function(_0x1d1ac4,_0x44eacf,_0xaeda27){return _0x1d1ac4(_0x44eacf,_0xaeda27);},'RpdmI':_0x3fbcb9(0x195),'EWctK':_0x3fbcb9(0x176),'GLcBI':_0x3fbcb9(0x1e2),'njjJw':'hook','aJWtm':_0x3fbcb9(0x169),'MAbCQ':function(_0x1d06c8,_0x1a7945,_0x132d16){return _0x1d06c8(_0x1a7945,_0x132d16);},'fUZYg':_0x3fbcb9(0x163),'BvqiD':_0x3fbcb9(0x1b5),'IjjyN':_0x3fbcb9(0x1b0)};try{if(_0x379ea8[_0x3fbcb9(0x178)](_0x4a4bc7,_0x379ea8[_0x3fbcb9(0x187)])){const _0x368865=new Date()[_0x3fbcb9(0x192)](),_0x1129cc=hooksMap[_0x3e252d];if(!_0x1129cc)return;const _0x19d663=_0x1129cc[_0x3fbcb9(0x1c8)](_0x4348b4=>_0x4348b4[_0x3fbcb9(0x1f0)]===_0x2194ae['id']);if(!_0x19d663)return;const _0x4870cf=this[_0x3fbcb9(0x16b)](_0x17d594,_0x3e252d);_0x19d663[_0x3fbcb9(0x1e3)]=_0x4870cf[_0x3fbcb9(0x1b6)],_0x19d663[_0x3fbcb9(0x1f4)]=_0x368865,_0x19d663['failure_type']=_0x4870cf[_0x3fbcb9(0x1ad)];const _0x1dfbac={};return _0x1dfbac[_0x3fbcb9(0x179)]=_0x4870cf[_0x3fbcb9(0x18c)],_0x19d663[_0x3fbcb9(0x183)]=[_0x1dfbac],_0x19d663;}const _0x9d487c=TestDetails['getTestUUID'](_0x3e252d),_0x11322b=_0x17d594['hooks'][_0x3fbcb9(0x1c8)](_0x36884d=>_0x36884d['id']===_0x2194ae[_0x3fbcb9(0x1b1)]),_0x4432c5=_0x379ea8['OEsCB'](nestedKeyValue,_0x11322b,[_0x379ea8[_0x3fbcb9(0x182)],_0x379ea8[_0x3fbcb9(0x194)]]),_0x1423da=new Date()[_0x3fbcb9(0x192)](),_0x38267e=_0x379ea8[_0x3fbcb9(0x1ce)],_0x383c12=_0x11322b[_0x3fbcb9(0x1a8)]?_0x11322b[_0x3fbcb9(0x1a8)][_0x3fbcb9(0x18b)]('\x20')['filter'](_0x1be63c=>_0x1be63c[_0x3fbcb9(0x1bf)]('@')):[],_0x39e219={'uuid':_0x2194ae['id'],'type':_0x379ea8[_0x3fbcb9(0x17d)],'hook_type':_0x635fb9,'name':_0x11322b[_0x3fbcb9(0x1b5)],'body':{'lang':_0x379ea8['aJWtm'],'code':null},'tags':_0x383c12,'test_run_id':_0x9d487c,'scope':_0x379ea8[_0x3fbcb9(0x1f6)](nestedKeyValue,_0x46c3a1,[_0x379ea8[_0x3fbcb9(0x185)],_0x379ea8[_0x3fbcb9(0x1ea)]]),'scopes':[_0x379ea8['OEsCB'](nestedKeyValue,_0x46c3a1,[_0x379ea8[_0x3fbcb9(0x185)],_0x379ea8[_0x3fbcb9(0x1ea)]])||''],'file_name':_0x4432c5,'location':_0x4432c5,'vc_filepath':this[_0x3fbcb9(0x1e6)]?path[_0x3fbcb9(0x1ca)](this['_gitConfigPath'],_0x4432c5):null,'result':_0x38267e,'started_at':_0x1423da,'framework':_0x379ea8[_0x3fbcb9(0x17a)]};return _0x39e219;}catch(_0x27ac04){logger['debug'](_0x3fbcb9(0x1d2)+util[_0x3fbcb9(0x16e)](_0x27ac04)+'\x20');}}async[a7_0x2b9f7c(0x19d)](_0x25d947,_0x35c110,_0x54bde4,_0x22b6b5,_0x129036,_0x56ad97){const _0x45855b=a7_0x2b9f7c,_0xcb7bd6={'hYxPJ':function(_0x2ad6e2,_0x1e1c44){return _0x2ad6e2===_0x1e1c44;},'sTXvG':_0x45855b(0x16d),'nkNeo':function(_0x354a86,_0x3e6cde,_0x48af28){return _0x354a86(_0x3e6cde,_0x48af28);},'BkwPC':_0x45855b(0x195),'pZgyb':_0x45855b(0x176),'TOksd':_0x45855b(0x19b)};try{const _0x193e39=_0x22b6b5[_0x45855b(0x1c8)](_0x35d0b6=>_0x35d0b6['id']===_0x129036);if(!_0x193e39[_0x45855b(0x1b1)])return;const _0x1ee16a=this[_0x45855b(0x1af)](_0x22b6b5,_0x193e39),_0x537555=this[_0x45855b(0x1e8)](_0x25d947,_0x35c110,_0x54bde4,_0x193e39,_0x56ad97,_0x1ee16a);if(!_0x537555)return;_0xcb7bd6['hYxPJ'](_0x54bde4,_0xcb7bd6[_0x45855b(0x1f8)])&&(hooksMap[_0x35c110]?hooksMap[_0x35c110][_0x45855b(0x1be)](_0x537555):hooksMap[_0x35c110]=[_0x537555]);const _0x453150=_0x25d947[_0x45855b(0x17e)][_0x45855b(0x1c8)](_0x5cdc3f=>_0x5cdc3f['id']===_0x193e39['hookId']),_0x3883c5=_0xcb7bd6[_0x45855b(0x1d8)](nestedKeyValue,_0x453150,[_0xcb7bd6[_0x45855b(0x165)],_0xcb7bd6[_0x45855b(0x1c1)]]);if(!_0x3883c5)return;else{if(_0x3883c5[_0x45855b(0x1bf)](_0xcb7bd6[_0x45855b(0x17c)]))return;}const _0x350d3f={};_0x350d3f[_0x45855b(0x1e1)]=_0x54bde4,_0x350d3f[_0x45855b(0x1ab)]=_0x537555;const _0x43a13a=_0x350d3f;await SessionHandler[_0x45855b(0x1da)](_0x43a13a);}catch(_0x482a02){logger[_0x45855b(0x1b7)](_0x45855b(0x1aa)+util[_0x45855b(0x16e)](_0x482a02)+'\x20');}}[a7_0x2b9f7c(0x16b)](_0x5950f9,_0x4f8bbf){const _0x4b9fbe=a7_0x2b9f7c,_0x1595a6={};_0x1595a6[_0x4b9fbe(0x1cb)]=function(_0x386980,_0x560e45){return _0x386980===_0x560e45;},_0x1595a6[_0x4b9fbe(0x1b3)]=_0x4b9fbe(0x173),_0x1595a6[_0x4b9fbe(0x1b4)]=function(_0x2f7792,_0x48630f){return _0x2f7792===_0x48630f;},_0x1595a6[_0x4b9fbe(0x188)]=function(_0x584292,_0x106776){return _0x584292===_0x106776;},_0x1595a6['sBnxD']='UnhandledError',_0x1595a6[_0x4b9fbe(0x1bc)]=_0x4b9fbe(0x190),_0x1595a6[_0x4b9fbe(0x18a)]=function(_0x178aff,_0x5c2116){return _0x178aff||_0x5c2116;};const _0x5f2ddf=_0x1595a6,_0x4cd422=_0x5950f9[_0x4b9fbe(0x180)][_0x4f8bbf]['testStepResult'];let _0x39214f,_0x40a818;return _0x4cd422&&_0x5f2ddf['ZBlyA'](_0x4cd422[_0x4b9fbe(0x1b6)][_0x4b9fbe(0x1dc)]()['toLowerCase'](),_0x5f2ddf[_0x4b9fbe(0x1b3)])&&(_0x39214f=_0x5f2ddf['jEBOV'](_0x4cd422['exception'],undefined)?_0x4cd422['message']:_0x4cd422['exception'][_0x4b9fbe(0x1f7)],_0x40a818=_0x5f2ddf[_0x4b9fbe(0x188)](_0x4cd422['exception'],undefined)?_0x5f2ddf[_0x4b9fbe(0x1e7)]:_0x4cd422[_0x4b9fbe(0x1f7)][_0x4b9fbe(0x1c6)](/Assert/)?_0x5f2ddf[_0x4b9fbe(0x1bc)]:_0x5f2ddf[_0x4b9fbe(0x1e7)]),{'status':_0x4cd422[_0x4b9fbe(0x1b6)][_0x4b9fbe(0x1bd)](),'failureType':_0x5f2ddf[_0x4b9fbe(0x18a)](_0x40a818,null),'failureData':!_0x39214f?null:[_0x39214f]};}['getCucumberHookType'](_0x468bf5,_0x251aa2){const _0x6f97c9=a7_0x2b9f7c,_0x382cec={};_0x382cec['uRfga']=function(_0x43f152,_0x2e9f10){return _0x43f152===_0x2e9f10;},_0x382cec[_0x6f97c9(0x1f3)]=_0x6f97c9(0x1ef),_0x382cec[_0x6f97c9(0x1d5)]=_0x6f97c9(0x1e9);const _0x291c73=_0x382cec;let _0x36bdf4=![];for(const _0x3dfbed of _0x468bf5){_0x3dfbed[_0x6f97c9(0x168)]&&(_0x36bdf4=!![]);if(_0x291c73['uRfga'](_0x251aa2['id'],_0x3dfbed['id']))return _0x36bdf4?_0x291c73[_0x6f97c9(0x1f3)]:_0x291c73[_0x6f97c9(0x1d5)];}}[a7_0x2b9f7c(0x18f)]=(_0x510a4f,_0x2f06e2)=>{const _0x54cc4a=a7_0x2b9f7c,_0x1b7ee6={};_0x1b7ee6[_0x54cc4a(0x170)]=function(_0x347a96,_0x1d60cb){return _0x347a96===_0x1d60cb;},_0x1b7ee6[_0x54cc4a(0x19c)]=function(_0x27dcce,_0x262a74){return _0x27dcce===_0x262a74;},_0x1b7ee6[_0x54cc4a(0x1c2)]=function(_0x4264cd,_0x40e0b2){return _0x4264cd>_0x40e0b2;};const _0xd98b60=_0x1b7ee6;if(!(_0x2f06e2[_0x54cc4a(0x196)]&&_0xd98b60[_0x54cc4a(0x1c2)](_0x2f06e2[_0x54cc4a(0x196)][_0x54cc4a(0x1bb)],0x1)))return;const _0x10163f=_0x2f06e2[_0x54cc4a(0x196)][0x0],_0x517f0d=_0x2f06e2[_0x54cc4a(0x196)][0x1],_0x117aa2=_0x510a4f[_0x54cc4a(0x163)]&&_0x510a4f[_0x54cc4a(0x163)]['children']?_0x510a4f['feature'][_0x54cc4a(0x1d0)]:undefined;let _0x2a4c68=[];_0x117aa2&&_0x117aa2[_0x54cc4a(0x1a4)](_0x3992ab=>{const _0x7f2ac6=_0x54cc4a;if(_0x3992ab['rule'])_0x3992ab['rule']['children'][_0x7f2ac6(0x1a4)](_0x1fbc57=>{const _0x2ae79d=_0x7f2ac6;if(_0x1fbc57[_0x2ae79d(0x18e)]&&_0xd98b60[_0x2ae79d(0x170)](_0x1fbc57[_0x2ae79d(0x18e)]['id'],_0x10163f)&&_0x1fbc57['scenario'][_0x2ae79d(0x1a9)]){const _0x2f79c6=_0x1fbc57['scenario'][_0x2ae79d(0x1a9)][_0x2ae79d(0x172)](_0xfbd5fd=>_0xfbd5fd[_0x2ae79d(0x1ac)])[_0x2ae79d(0x1c8)](_0x4e4270=>_0x4e4270['id']===_0x517f0d);let _0x331fbd;_0x2f79c6&&_0x2f79c6[_0x2ae79d(0x1d1)]?_0x331fbd=_0x2f79c6[_0x2ae79d(0x1d1)][_0x2ae79d(0x1d4)](_0x4984ca=>_0x4984ca[_0x2ae79d(0x1d3)]):_0x331fbd=[],_0x331fbd&&(_0x2a4c68=_0x331fbd);}});else{if(_0x3992ab[_0x7f2ac6(0x18e)]&&_0xd98b60[_0x7f2ac6(0x19c)](_0x3992ab[_0x7f2ac6(0x18e)]['id'],_0x10163f)&&_0x3992ab[_0x7f2ac6(0x18e)][_0x7f2ac6(0x1a9)]){const _0x3a5586=_0x3992ab['scenario'][_0x7f2ac6(0x1a9)]['flatMap'](_0x3615ed=>_0x3615ed[_0x7f2ac6(0x1ac)])[_0x7f2ac6(0x1c8)](_0x2f34e4=>_0x2f34e4['id']===_0x517f0d);let _0x5cd1b1;_0x3a5586&&_0x3a5586[_0x7f2ac6(0x1d1)]?_0x5cd1b1=_0x3a5586[_0x7f2ac6(0x1d1)][_0x7f2ac6(0x1d4)](_0x9682e6=>_0x9682e6[_0x7f2ac6(0x1d3)]):_0x5cd1b1=[],_0x5cd1b1&&(_0x2a4c68=_0x5cd1b1);}}});if(_0x2a4c68['length'])return _0x2a4c68;return;};async[a7_0x2b9f7c(0x1b2)](){const _0x2597c1=a7_0x2b9f7c,_0x16f19c={'VDiMw':function(_0x5e93ec){return _0x5e93ec();}};if(this[_0x2597c1(0x175)])return this[_0x2597c1(0x1e6)];const _0x23179a=await _0x16f19c[_0x2597c1(0x1a7)](getGitMetaData);_0x23179a&&(this[_0x2597c1(0x1e6)]=_0x23179a[_0x2597c1(0x1f1)]),this[_0x2597c1(0x175)]=!![];}}module['exports']=o11yClassErrorHandler(TestObservabilityReporter,[a7_0x2b9f7c(0x1b2),'getScenarioExamples',a7_0x2b9f7c(0x1af),a7_0x2b9f7c(0x16b),a7_0x2b9f7c(0x19d),'getHookRunEventData',a7_0x2b9f7c(0x17b)]);
|
|
1
|
+
const a7_0x12c316=a7_0x3b36;(function(_0x26af04,_0x153c02){const _0x2c7fca=a7_0x3b36,_0x2a4540=_0x26af04();while(!![]){try{const _0x2b4bd9=-parseInt(_0x2c7fca(0x1f9))/0x1+-parseInt(_0x2c7fca(0x1b4))/0x2*(-parseInt(_0x2c7fca(0x1a8))/0x3)+-parseInt(_0x2c7fca(0x1f3))/0x4+parseInt(_0x2c7fca(0x20c))/0x5+-parseInt(_0x2c7fca(0x1af))/0x6*(parseInt(_0x2c7fca(0x1ea))/0x7)+parseInt(_0x2c7fca(0x187))/0x8*(-parseInt(_0x2c7fca(0x1c2))/0x9)+parseInt(_0x2c7fca(0x202))/0xa;if(_0x2b4bd9===_0x153c02)break;else _0x2a4540['push'](_0x2a4540['shift']());}catch(_0x29d44d){_0x2a4540['push'](_0x2a4540['shift']());}}}(a7_0x3123,0xa2290));const path=require(a7_0x12c316(0x1ff)),util=require('util'),hooksMap={},SessionHandler=require(a7_0x12c316(0x1eb)),testhubUtils=require(a7_0x12c316(0x1fc)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a7_0x12c316(0x1ce))[a7_0x12c316(0x1c0)],{o11yClassErrorHandler}=require(a7_0x12c316(0x1a2)),{FRAMEWORKS}=require('../../helpers/test-observability/constants.js'),TestDetails=require(a7_0x12c316(0x220));this['_gitConfigured']=![],this[a7_0x12c316(0x198)]=null;class TestObservabilityReporter{async[a7_0x12c316(0x188)](_0xa60ca4,_0x5badcb,_0x5c4241,_0x582261,_0x29c3fd){const _0x3d39b8=a7_0x12c316,_0xa1fed7={'tLibv':function(_0x14328c,_0x1d317d){return _0x14328c===_0x1d317d;},'FEMro':_0x3d39b8(0x1ab),'GFvYM':_0x3d39b8(0x200),'uqeLr':function(_0x3c39de,_0x463681){return _0x3c39de===_0x463681;},'kVDXe':_0x3d39b8(0x19a),'aGxxq':_0x3d39b8(0x21e),'rFqLl':function(_0x9370b7,_0x304f15){return _0x9370b7||_0x304f15;},'MAsdf':function(_0x3eaef7,_0x3dcdd0){return _0x3eaef7+_0x3dcdd0;},'RzKuW':function(_0x49d5f3,_0xf7849a){return _0x49d5f3+_0xf7849a;},'MIcNJ':function(_0x58bf59,_0x2be7d5){return _0x58bf59+_0x2be7d5;},'awemm':_0x3d39b8(0x1dc),'WUPrU':_0x3d39b8(0x1ed),'GMWpp':'cucumber','ucflU':_0x3d39b8(0x1ef),'LjoMG':_0x3d39b8(0x1ee),'Srdat':function(_0x218130,_0x4ea6ab){return _0x218130!==_0x4ea6ab;},'eGmHP':function(_0x2ea7e1,_0x564c42){return _0x2ea7e1/_0x564c42;},'HLzYE':function(_0x18df52,_0x46e6c4){return _0x18df52===_0x46e6c4;},'molcn':_0x3d39b8(0x191),'uwxtH':function(_0x2d31e1,_0x5f2666){return _0x2d31e1(_0x5f2666);},'xIXzA':_0x3d39b8(0x205),'QmrHZ':function(_0x136c48,_0xcf7fd6){return _0x136c48(_0xcf7fd6);},'LuMjp':_0x3d39b8(0x1aa),'bheUb':_0x3d39b8(0x1e0),'ULkcP':_0x3d39b8(0x1e4),'ZSqiX':function(_0x334187,_0x4ccb6f){return _0x334187>_0x4ccb6f;}},{feature:_0xf685e3,scenario:_0x4756bd,steps:_0x3dda59,uuid:_0x2e8c9f,startedAt:_0x510ca8,finishedAt:_0x129fd6}=_0xa1fed7['rFqLl'](_0x29c3fd,{}),_0x2e0472=this[_0x3d39b8(0x201)](_0x5badcb,_0x5c4241);await this[_0x3d39b8(0x1f6)]();const _0x43fd61=_0x2e0472?_0xa1fed7[_0x3d39b8(0x1dd)](_0xa1fed7[_0x3d39b8(0x206)](_0xa1fed7['MIcNJ'](_0x5c4241[_0x3d39b8(0x212)],'\x20('),_0x2e0472[_0x3d39b8(0x1b6)](',\x20')),')'):_0x5c4241['name'],_0x5443c1={'uuid':_0x2e8c9f,'started_at':_0x510ca8,'finished_at':_0x129fd6,'type':_0xa1fed7[_0x3d39b8(0x20f)],'body':{'lang':_0xa1fed7['WUPrU'],'code':null},'name':_0x43fd61,'scopes':[_0xf685e3&&_0xf685e3['name']?_0xf685e3[_0x3d39b8(0x212)]:''],'tags':_0x5c4241['tags']?_0x5c4241[_0x3d39b8(0x1fe)][_0x3d39b8(0x1cf)](({name:_0xc00316})=>_0xc00316):[],'file_name':_0x5c4241[_0x3d39b8(0x217)],'location':_0x5c4241[_0x3d39b8(0x217)],'vc_filepath':this['_gitConfigPath']&&_0x5c4241[_0x3d39b8(0x217)]?path[_0x3d39b8(0x1fb)](this[_0x3d39b8(0x198)],_0x5c4241['uri']):null,'framework':_0xa1fed7[_0x3d39b8(0x1df)],'result':_0xa1fed7[_0x3d39b8(0x1cc)],'meta':{'feature':_0xf685e3,'scenario':_0x4756bd,'steps':_0x3dda59,'examples':_0x2e0472},'customRerunParam':{'rerun_name':_0x43fd61}};if(_0xa60ca4[_0x3d39b8(0x1d1)]&&_0x3dda59){const _0x1975c9=_0xa60ca4['testCaseFinished'];let _0xec4d26=_0xa1fed7['LjoMG'];_0x3dda59[_0x3d39b8(0x20b)](_0x2705d0=>{const _0x367351=_0x3d39b8;if(_0xa1fed7[_0x367351(0x1ad)](_0x2705d0[_0x367351(0x1a9)],_0xa1fed7[_0x367351(0x1d5)]))return _0xec4d26=_0xa1fed7[_0x367351(0x197)],_0x1975c9[_0x367351(0x218)]=_0x2705d0[_0x367351(0x218)],_0x1975c9['failureType']=_0x2705d0['failureType'],![];else{if(_0xa1fed7[_0x367351(0x213)](_0x2705d0[_0x367351(0x1a9)],_0xa1fed7[_0x367351(0x19b)]))return _0xec4d26=_0xa1fed7[_0x367351(0x215)],![];}return!![];}),_0x5443c1[_0x3d39b8(0x1bc)]=new Date()['toISOString'](),_0x5443c1['result']=_0xec4d26;_0x1975c9['timestamp']&&_0xa1fed7[_0x3d39b8(0x221)](_0x1975c9['timestamp']['nanos'],undefined)?_0x5443c1[_0x3d39b8(0x1f5)]=_0xa1fed7[_0x3d39b8(0x1db)](_0x1975c9[_0x3d39b8(0x1b7)]['nanos'],0xf4240):_0x5443c1['duration_in_ms']=undefined;if(_0xa1fed7[_0x3d39b8(0x1d3)](_0xec4d26,_0xa1fed7[_0x3d39b8(0x197)])){const {default:_0x46991f}=await import(_0xa1fed7['molcn']);_0x5443c1['failure']=[{'backtrace':[_0x1975c9[_0x3d39b8(0x218)]?_0xa1fed7[_0x3d39b8(0x210)](_0x46991f,_0x1975c9[_0x3d39b8(0x218)]):_0xa1fed7[_0x3d39b8(0x1f1)]]}],_0x5443c1[_0x3d39b8(0x203)]=_0x1975c9[_0x3d39b8(0x218)]?_0xa1fed7[_0x3d39b8(0x19c)](_0x46991f,_0x1975c9[_0x3d39b8(0x218)]):_0x1975c9['message'],_0x1975c9['failureType']&&(_0x5443c1[_0x3d39b8(0x1a6)]=_0x1975c9[_0x3d39b8(0x1d4)][_0x3d39b8(0x194)](/AssertError/)?_0xa1fed7[_0x3d39b8(0x1c8)]:_0xa1fed7['bheUb']);}}if(_0xa1fed7[_0x3d39b8(0x213)](_0x582261,_0xa1fed7[_0x3d39b8(0x219)])){const _0x1f3aa7=this[_0x3d39b8(0x196)](_0xa60ca4['testCaseFinished']['testCaseStartedId']);_0x1f3aa7&&_0xa1fed7[_0x3d39b8(0x199)](_0x1f3aa7['length'],0x0)&&(_0x5443c1[_0x3d39b8(0x1b3)]=_0x1f3aa7,this['updateTestStatus'](_0xa60ca4['testCaseFinished']['testCaseStartedId'],_0x5443c1));}testhubUtils[_0x3d39b8(0x19e)](_0x5443c1,_0x582261,'',FRAMEWORKS['CUCUMBER']);const _0xfc8ea={};_0xfc8ea[_0x3d39b8(0x1d7)]=_0x582261,_0xfc8ea[_0x3d39b8(0x1b1)]=_0x5443c1;const _0x54454b=_0xfc8ea;await SessionHandler[_0x3d39b8(0x19f)](_0x54454b);}[a7_0x12c316(0x18b)](_0x1ba7fa,_0x55c0ea){const _0x536330=a7_0x12c316,_0x4bf99c={};_0x4bf99c['acwfo']=function(_0x11c646,_0x4d7c18){return _0x11c646 instanceof _0x4d7c18;},_0x4bf99c[_0x536330(0x1da)]=function(_0x55b94a,_0xfbf766){return _0x55b94a===_0xfbf766;},_0x4bf99c['dVBLF']=_0x536330(0x200),_0x4bf99c[_0x536330(0x1c6)]=_0x536330(0x1a5),_0x4bf99c[_0x536330(0x1a0)]=function(_0xf74684,_0x509e1c){return _0xf74684 instanceof _0x509e1c;};const _0x447cf5=_0x4bf99c,_0x3d680e=hooksMap[_0x1ba7fa];if(_0x447cf5[_0x536330(0x20e)](_0x3d680e,Array))for(const _0x1e521a of _0x3d680e){if(_0x447cf5['GFBtR'](_0x1e521a[_0x536330(0x1a9)],_0x447cf5[_0x536330(0x193)])){const _0x204110=_0x447cf5[_0x536330(0x1c6)][_0x536330(0x190)]('|');let _0x1db669=0x0;while(!![]){switch(_0x204110[_0x1db669++]){case'0':_0x55c0ea[_0x536330(0x1a6)]=_0x1e521a['failure_type'];continue;case'1':_0x55c0ea[_0x536330(0x203)]=_0x447cf5['FWcOO'](_0x1e521a[_0x536330(0x1ca)],Array)?_0x1e521a[_0x536330(0x1ca)][0x0][_0x536330(0x1de)]['join']('\x0a'):'';continue;case'2':_0x55c0ea['failure']=_0x1e521a[_0x536330(0x1ca)];continue;case'3':return _0x55c0ea;case'4':_0x55c0ea['result']=_0x1e521a[_0x536330(0x1a9)];continue;}break;}}};}[a7_0x12c316(0x196)](_0x342f30){const _0x5055bd=a7_0x12c316;if(hooksMap[_0x342f30])return hooksMap[_0x342f30][_0x5055bd(0x1cf)](_0x5a369e=>_0x5a369e['uuid']);return[];}[a7_0x12c316(0x1a7)](_0x54e2e9,_0x25a6d1,_0x8b6752,_0x4877a6,_0x531a0d,_0x22611a){const _0x297784=a7_0x12c316,_0x248e65={'clpBU':function(_0x2fc157,_0x9ca848){return _0x2fc157===_0x9ca848;},'dQpdA':_0x297784(0x1b0),'oSnnS':function(_0x51c667,_0x3a6b63,_0x1b2c3a){return _0x51c667(_0x3a6b63,_0x1b2c3a);},'bGhmD':_0x297784(0x18c),'AXZGl':_0x297784(0x217),'ATyrv':_0x297784(0x1ef),'LAUbt':_0x297784(0x18d),'DMYur':'javascript','zFuQU':_0x297784(0x1c9),'vVCAN':_0x297784(0x212),'RRWKC':function(_0x209297,_0x5c1aeb,_0x265629){return _0x209297(_0x5c1aeb,_0x265629);},'CCYLX':_0x297784(0x216)};try{if(_0x248e65[_0x297784(0x1d2)](_0x8b6752,_0x248e65[_0x297784(0x209)])){const _0x16a5bd=new Date()['toISOString'](),_0x231a1b=hooksMap[_0x25a6d1];if(!_0x231a1b)return;const _0xacd7ea=_0x231a1b[_0x297784(0x1a4)](_0xcefd47=>_0xcefd47[_0x297784(0x207)]===_0x4877a6['id']);if(!_0xacd7ea)return;const _0x40473c=this['getHookResult'](_0x54e2e9,_0x25a6d1);_0xacd7ea[_0x297784(0x1a9)]=_0x40473c[_0x297784(0x1f2)],_0xacd7ea[_0x297784(0x1bc)]=_0x16a5bd,_0xacd7ea[_0x297784(0x1a6)]=_0x40473c[_0x297784(0x1d4)];const _0x3af4cb={};return _0x3af4cb['backtrace']=_0x40473c[_0x297784(0x1d8)],_0xacd7ea[_0x297784(0x1ca)]=[_0x3af4cb],_0xacd7ea;}const _0x279473=TestDetails['getTestUUID'](_0x25a6d1),_0x447081=_0x54e2e9[_0x297784(0x1b3)][_0x297784(0x1a4)](_0x57189c=>_0x57189c['id']===_0x4877a6[_0x297784(0x20d)]),_0xbd444a=_0x248e65[_0x297784(0x1cb)](nestedKeyValue,_0x447081,[_0x248e65[_0x297784(0x1fd)],_0x248e65['AXZGl']]),_0xeeaa18=new Date()[_0x297784(0x1cd)](),_0x409661=_0x248e65[_0x297784(0x189)],_0xe8da1e=_0x447081[_0x297784(0x18e)]?_0x447081[_0x297784(0x18e)][_0x297784(0x190)]('\x20')['filter'](_0x492f92=>_0x492f92[_0x297784(0x1e8)]('@')):[],_0xceaf0b={'uuid':_0x4877a6['id'],'type':_0x248e65[_0x297784(0x1d6)],'hook_type':_0x22611a,'name':_0x447081[_0x297784(0x212)],'body':{'lang':_0x248e65[_0x297784(0x186)],'code':null},'tags':_0xe8da1e,'test_run_id':_0x279473,'scope':_0x248e65[_0x297784(0x1cb)](nestedKeyValue,_0x531a0d,[_0x248e65[_0x297784(0x1e2)],_0x248e65[_0x297784(0x1e1)]]),'scopes':[_0x248e65['RRWKC'](nestedKeyValue,_0x531a0d,[_0x248e65[_0x297784(0x1e2)],_0x248e65[_0x297784(0x1e1)]])||''],'file_name':_0xbd444a,'location':_0xbd444a,'vc_filepath':this[_0x297784(0x198)]?path[_0x297784(0x1fb)](this['_gitConfigPath'],_0xbd444a):null,'result':_0x409661,'started_at':_0xeeaa18,'framework':_0x248e65[_0x297784(0x21f)]};return _0xceaf0b;}catch(_0x3d77c5){logger['debug'](_0x297784(0x1b5)+util[_0x297784(0x1d0)](_0x3d77c5)+'\x20');}}async['sendHook'](_0x182756,_0x1fc25c,_0x4e2811,_0x56fc7f,_0x434c51,_0x45c6b1){const _0x12ffcc=a7_0x12c316,_0x3a0e43={'oCJhZ':function(_0x31b12f,_0x3805da){return _0x31b12f===_0x3805da;},'dVHTL':_0x12ffcc(0x1bd),'VkAbV':function(_0x4f1d74,_0x20e10e,_0x5df37b){return _0x4f1d74(_0x20e10e,_0x5df37b);},'MhRWe':_0x12ffcc(0x18c),'wcfSt':_0x12ffcc(0x217),'CFWAY':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x191aee=_0x56fc7f['find'](_0x2ae8b9=>_0x2ae8b9['id']===_0x434c51);if(!_0x191aee[_0x12ffcc(0x20d)])return;const _0x1b9f2c=this[_0x12ffcc(0x20a)](_0x56fc7f,_0x191aee),_0x333883=this[_0x12ffcc(0x1a7)](_0x182756,_0x1fc25c,_0x4e2811,_0x191aee,_0x45c6b1,_0x1b9f2c);if(!_0x333883)return;_0x3a0e43[_0x12ffcc(0x1e6)](_0x4e2811,_0x3a0e43[_0x12ffcc(0x1ae)])&&(hooksMap[_0x1fc25c]?hooksMap[_0x1fc25c][_0x12ffcc(0x1e7)](_0x333883):hooksMap[_0x1fc25c]=[_0x333883]);const _0x35e1d4=_0x182756[_0x12ffcc(0x1b3)]['find'](_0x2b42a1=>_0x2b42a1['id']===_0x191aee['hookId']),_0x68122c=_0x3a0e43['VkAbV'](nestedKeyValue,_0x35e1d4,[_0x3a0e43['MhRWe'],_0x3a0e43['wcfSt']]);if(!_0x68122c)return;else{if(_0x68122c[_0x12ffcc(0x1e8)](_0x3a0e43[_0x12ffcc(0x1f7)]))return;}const _0x3f1f1f={};_0x3f1f1f[_0x12ffcc(0x1d7)]=_0x4e2811,_0x3f1f1f['hook_run']=_0x333883;const _0x3ddfd6=_0x3f1f1f;await SessionHandler['uploadEventData'](_0x3ddfd6);}catch(_0x22cf3b){logger['debug'](_0x12ffcc(0x195)+util[_0x12ffcc(0x1d0)](_0x22cf3b)+'\x20');}}['getHookResult'](_0x51fc94,_0x362966){const _0x13fbdb=a7_0x12c316,_0x1c7fbb={};_0x1c7fbb[_0x13fbdb(0x1f0)]=function(_0x27b2b3,_0x171699){return _0x27b2b3===_0x171699;},_0x1c7fbb[_0x13fbdb(0x1c4)]=_0x13fbdb(0x200),_0x1c7fbb[_0x13fbdb(0x1ac)]=_0x13fbdb(0x1e0),_0x1c7fbb[_0x13fbdb(0x1b2)]=_0x13fbdb(0x1aa),_0x1c7fbb['CFtZE']=function(_0x5ec25f,_0x3bc0ff){return _0x5ec25f||_0x3bc0ff;};const _0x83e28b=_0x1c7fbb,_0x51d835=_0x51fc94[_0x13fbdb(0x1bb)][_0x362966][_0x13fbdb(0x1fa)];let _0x4c6073,_0x4f2520;return _0x51d835&&_0x83e28b[_0x13fbdb(0x1f0)](_0x51d835['status'][_0x13fbdb(0x1f4)]()[_0x13fbdb(0x1c7)](),_0x83e28b[_0x13fbdb(0x1c4)])&&(_0x4c6073=_0x83e28b['oIfwt'](_0x51d835[_0x13fbdb(0x211)],undefined)?_0x51d835['message']:_0x51d835[_0x13fbdb(0x211)][_0x13fbdb(0x1bf)],_0x4f2520=_0x83e28b[_0x13fbdb(0x1f0)](_0x51d835['exception'],undefined)?_0x83e28b['fSABs']:_0x51d835[_0x13fbdb(0x1bf)]['match'](/Assert/)?_0x83e28b[_0x13fbdb(0x1b2)]:_0x83e28b[_0x13fbdb(0x1ac)]),{'status':_0x51d835['status'][_0x13fbdb(0x1c7)](),'failureType':_0x83e28b[_0x13fbdb(0x18a)](_0x4f2520,null),'failureData':!_0x4c6073?null:[_0x4c6073]};}[a7_0x12c316(0x20a)](_0x21a3ab,_0x18280c){const _0x2c17a1=a7_0x12c316,_0x33dedb={};_0x33dedb[_0x2c17a1(0x192)]=function(_0x56db75,_0x9fe477){return _0x56db75===_0x9fe477;},_0x33dedb[_0x2c17a1(0x18f)]='AFTER_EACH',_0x33dedb[_0x2c17a1(0x214)]=_0x2c17a1(0x1c1);const _0x2417c3=_0x33dedb;let _0x329365=![];for(const _0x514bed of _0x21a3ab){_0x514bed[_0x2c17a1(0x1ec)]&&(_0x329365=!![]);if(_0x2417c3[_0x2c17a1(0x192)](_0x18280c['id'],_0x514bed['id']))return _0x329365?_0x2417c3[_0x2c17a1(0x18f)]:_0x2417c3[_0x2c17a1(0x214)];}}[a7_0x12c316(0x201)]=(_0x4cd806,_0x241fca)=>{const _0x5133f1=a7_0x12c316,_0x2f4277={};_0x2f4277['IcTmk']=function(_0x1730e3,_0x2c06de){return _0x1730e3===_0x2c06de;},_0x2f4277[_0x5133f1(0x1a3)]=function(_0x1c6a49,_0x3ffad0){return _0x1c6a49>_0x3ffad0;};const _0x57b45a=_0x2f4277;if(!(_0x241fca[_0x5133f1(0x1b9)]&&_0x57b45a[_0x5133f1(0x1a3)](_0x241fca[_0x5133f1(0x1b9)][_0x5133f1(0x21c)],0x1)))return;const _0x37293e=_0x241fca[_0x5133f1(0x1b9)][0x0],_0x507f95=_0x241fca['astNodeIds'][0x1],_0x4d8541=_0x4cd806['feature']&&_0x4cd806[_0x5133f1(0x1c9)]['children']?_0x4cd806[_0x5133f1(0x1c9)][_0x5133f1(0x1b8)]:undefined;let _0x1d450a=[];_0x4d8541&&_0x4d8541[_0x5133f1(0x1d9)](_0x438c2e=>{const _0x269809=_0x5133f1,_0x1f3551={'fgBIj':function(_0x5d4aa5,_0x34138d){const _0x3e0436=a7_0x3b36;return _0x57b45a[_0x3e0436(0x204)](_0x5d4aa5,_0x34138d);}};if(_0x438c2e[_0x269809(0x1a1)])_0x438c2e[_0x269809(0x1a1)][_0x269809(0x1b8)]['forEach'](_0x34e221=>{const _0xa97f16=_0x269809;if(_0x34e221[_0xa97f16(0x1c3)]&&_0x1f3551[_0xa97f16(0x21d)](_0x34e221[_0xa97f16(0x1c3)]['id'],_0x37293e)&&_0x34e221['scenario'][_0xa97f16(0x1c5)]){const _0x14add3=_0x34e221[_0xa97f16(0x1c3)][_0xa97f16(0x1c5)][_0xa97f16(0x1e5)](_0x26c8d1=>_0x26c8d1[_0xa97f16(0x1e3)])['find'](_0x2e2377=>_0x2e2377['id']===_0x507f95);let _0x4633d9;_0x14add3&&_0x14add3[_0xa97f16(0x21b)]?_0x4633d9=_0x14add3[_0xa97f16(0x21b)][_0xa97f16(0x1cf)](_0x1883f2=>_0x1883f2[_0xa97f16(0x208)]):_0x4633d9=[],_0x4633d9&&(_0x1d450a=_0x4633d9);}});else{if(_0x438c2e[_0x269809(0x1c3)]&&_0x57b45a[_0x269809(0x204)](_0x438c2e[_0x269809(0x1c3)]['id'],_0x37293e)&&_0x438c2e[_0x269809(0x1c3)][_0x269809(0x1c5)]){const _0x3accec=_0x438c2e['scenario'][_0x269809(0x1c5)]['flatMap'](_0x1b7fe8=>_0x1b7fe8[_0x269809(0x1e3)])[_0x269809(0x1a4)](_0x263ed1=>_0x263ed1['id']===_0x507f95);let _0x171a04;_0x3accec&&_0x3accec[_0x269809(0x21b)]?_0x171a04=_0x3accec[_0x269809(0x21b)]['map'](_0x3fdf66=>_0x3fdf66[_0x269809(0x208)]):_0x171a04=[],_0x171a04&&(_0x1d450a=_0x171a04);}}});if(_0x1d450a[_0x5133f1(0x21c)])return _0x1d450a;return;};async[a7_0x12c316(0x1f6)](){const _0x5b3cb9=a7_0x12c316,_0x257283={'PgcHH':function(_0x141bf7){return _0x141bf7();}};if(this[_0x5b3cb9(0x1be)])return this[_0x5b3cb9(0x198)];const _0x40dc70=await _0x257283[_0x5b3cb9(0x1ba)](getGitMetaData);_0x40dc70&&(this[_0x5b3cb9(0x198)]=_0x40dc70[_0x5b3cb9(0x19d)]),this[_0x5b3cb9(0x1be)]=!![];}}function a7_0x3b36(_0x31c815,_0x872058){const _0x312302=a7_0x3123();return a7_0x3b36=function(_0x3b36c5,_0x5a69aa){_0x3b36c5=_0x3b36c5-0x186;let _0x243146=_0x312302[_0x3b36c5];return _0x243146;},a7_0x3b36(_0x31c815,_0x872058);}module[a7_0x12c316(0x1e9)]=o11yClassErrorHandler(TestObservabilityReporter,[a7_0x12c316(0x1f6),a7_0x12c316(0x201),a7_0x12c316(0x20a),a7_0x12c316(0x21a),a7_0x12c316(0x1f8),a7_0x12c316(0x1a7),a7_0x12c316(0x188)]);function a7_0x3123(){const _0x4d3069=['CFtZE','updateTestStatus','sourceReference','hook','tagExpression','lcaup','split','strip-ansi','nUXFU','dVBLF','match','Exception\x20in\x20sendHook:\x20','getHooksListForTest','GFvYM','_gitConfigPath','ZSqiX','SKIPPED','kVDXe','QmrHZ','root','appendTesthubParams','uploadEventData','FWcOO','rule','../../helpers/test-observability/error-handler','URpKc','find','4|2|1|0|3','failure_type','getHookRunEventData','3SYkLvZ','result','AssertionError','FAILED','fSABs','tLibv','dVHTL','822lxwJUE','HookRunFinished','test_run','VYCfr','hooks','2614670tAYCfO','Exception\x20in\x20getHookRunEventData:\x20','join','timestamp','children','astNodeIds','PgcHH','testStepFinished','finished_at','HookRunStarted','_gitConfigured','message','winstonLogger','BEFORE_EACH','243lJItvG','scenario','MwUYm','examples','FzKcV','toLowerCase','LuMjp','feature','failure_data','oSnnS','ucflU','toISOString','../../helpers/logger','map','format','testCaseFinished','clpBU','HLzYE','failureType','FEMro','LAUbt','event_type','failureData','forEach','GFBtR','eGmHP','test','MAsdf','backtrace','GMWpp','UnhandledError','vVCAN','zFuQU','tableBody','TestRunFinished','flatMap','oCJhZ','push','includes','exports','23289CpZNPJ','../../helpers/test-observability/sessionHandler','pickleStepId','javascript','passed','pending','oIfwt','xIXzA','status','695848haKQTU','toString','duration_in_ms','configureGit','CFWAY','sendHook','859358kGjagK','testStepResult','relative','../../helpers/testhub/utils','bGhmD','tags','path','failed','getScenarioExamples','4353140ayyhMM','failure_reason','IcTmk','unknown','RzKuW','uuid','value','dQpdA','getCucumberHookType','every','3800425iDirpP','hookId','acwfo','awemm','uwxtH','exception','name','uqeLr','TcEhE','aGxxq','cucumber','uri','failure','ULkcP','getHookResult','cells','length','fgBIj','skipped','CCYLX','../playwright/reporter/test-details','Srdat','DMYur','103528nuFbmS','sendTestRunEventForCucumber','ATyrv'];a7_0x3123=function(){return _0x4d3069;};return a7_0x3123();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8_0xa9dffb=a8_0x5880;(function(_0xfc548c,_0x4724b8){const _0x1195b2=a8_0x5880,_0x2741d9=_0xfc548c();while(!![]){try{const _0x54c853=-parseInt(_0x1195b2(0xf9))/0x1*(-parseInt(_0x1195b2(0xc6))/0x2)+parseInt(_0x1195b2(0x129))/0x3*(parseInt(_0x1195b2(0xf7))/0x4)+parseInt(_0x1195b2(0x158))/0x5*(parseInt(_0x1195b2(0x164))/0x6)+-parseInt(_0x1195b2(0x17b))/0x7*(-parseInt(_0x1195b2(0x13d))/0x8)+parseInt(_0x1195b2(0x14d))/0x9*(-parseInt(_0x1195b2(0x16e))/0xa)+parseInt(_0x1195b2(0x108))/0xb*(parseInt(_0x1195b2(0x10e))/0xc)+-parseInt(_0x1195b2(0x16d))/0xd;if(_0x54c853===_0x4724b8)break;else _0x2741d9['push'](_0x2741d9['shift']());}catch(_0xd2c8){_0x2741d9['push'](_0x2741d9['shift']());}}}(a8_0x5bc7,0x90700));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a8_0xa9dffb(0x11b)),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a8_0xa9dffb(0x185)),setKeepAlive=require(a8_0xa9dffb(0xf5)),util=require(a8_0xa9dffb(0xb0)),PerformanceTester=require(a8_0xa9dffb(0xd3)),{EVENTS:PerformanceEvents}=require(a8_0xa9dffb(0xc2)),cucumberModule=requireModule('@cucumber/cucumber/lib/index.js','@cucumber/cucumber'),logger=require(a8_0xa9dffb(0x12b))[a8_0xa9dffb(0x114)],{shouldProcessEventForTesthub}=require(a8_0xa9dffb(0x10d)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a8_0xa9dffb(0xcb)),TestDetails=require(a8_0xa9dffb(0x144)),TestInfo=require(a8_0xa9dffb(0x167)),RequestQueueHandler=require('../../helpers/test-observability/requestQueueHandler'),{o11yErrorHandler}=require(a8_0xa9dffb(0xc4)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a8_0xa9dffb(0x130)),globals=require(a8_0xa9dffb(0xd2)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require('../../helpers/accessibility-automation/helper'),{isUndefined}=require(a8_0xa9dffb(0xc8)),helper=require('../../helpers/helper');try{require(a8_0xa9dffb(0x1a0))['installAll'](a8_0xa9dffb(0xb6));}catch(a8_0x34f89f){logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0x157)+(a8_0x34f89f&&a8_0x34f89f[a8_0xa9dffb(0x117)]));}const a8_0x274b13={};a8_0x274b13[a8_0xa9dffb(0x143)]=undefined,a8_0x274b13[a8_0xa9dffb(0xc3)]={},a8_0x274b13[a8_0xa9dffb(0x119)]=![],a8_0x274b13[a8_0xa9dffb(0x10a)]=null,a8_0x274b13[a8_0xa9dffb(0x153)]=![],a8_0x274b13[a8_0xa9dffb(0xc3)]['id']=undefined,a8_0x274b13[a8_0xa9dffb(0xc3)]['testInfo']=undefined;function a8_0x5bc7(){const _0x5957=['../../helpers/testhub/utils','1692hGeoMo','integrations','mmKFE','GjKQr','__platformCaps','executeAsyncScript','winstonLogger','getTestUUID','name','message','OiLnA','o11ySyncDone','Error:\x20cleaning\x20up\x20driver:\x20','../../helpers/helper','\x0aError:\x20','pickle','\x22}}','parse','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','mySKJ','Error:\x20sendPlatformDetails\x20at\x20After:\x20','getPackageVersion','Error\x20cleaning\x20up\x20close\x20tracker:\x20','startMonitoring','dWBZh','stringify','browserstackPlatformIndex','3VwZaRO','Flow\x20detection:\x20isSeleniumFlow=','../../helpers/logger','afterTestHook','PoSDn','test_run_uuid','browserstackSessionName','../../helpers/accessibility-automation/scripts','executeScript','bSLaR','getAutomationFramework','ENV_VAR','FslFU','platformIndex','fYKVE','HUPsf','bootstrap','test_run','Failed:\x20','KNJhz','8dncZJu','failed','Inside\x20browserstack\x20After',',\x20isPlaywrightFlow=','qrZSn','HDPbY','workerInfo','../playwright/reporter/test-details.js','thBuildUuid','NpiUC','__sessionFailed','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','uploadEventData','info','TJXkq','addTestUIDAndReportLog','110367pOrueb','VUzqT','BROWSERSTACK_TESTHUB_JWT','platformCaps','QEVlE','AfterStep','isPageFixture','__workerDetails','bs:addLog:','isMobilePlatform','driver-init\x20capture\x20install\x20failed:\x20','5TYcZRG','LFVtv','Hjlso','length','Error\x20executing\x20deferred\x20closes:\x20',',\x22level\x22:\x20\x22','driverCleanup','join','thJwtToken','gpUcn','MLmYC','AfterAll','3769386CXdOMK','WRTdU','LbyXP','../v2/TestInfo.js','../v2/state/hookState','mqKky','ZepKr','xXRdB','Inside\x20browserstack\x20AfterStep','23339459ahLGez','90FWQINi','trackEvent','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','closeTracker','then','Error:\x20at\x20After\x20Step:\x20','pcZpZ','sfFCH','Inside\x20browserstack\x20registerListeners','mYSBq','Passed','bstackA11yShouldScan','okyYH','4266409KueyaQ','coWtI','XNJtk','map','bVLNF','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','\x20|\x20','qQSUG','iGEIC','fqTUz','../utils/constants','BeforeAll','Error:\x20at\x20After\x20(Selenium):\x20','XRDBA','CBTSessionCreated','__timeout','ngqYf','Patching\x20Playwright','debug','status','lDqby','toString','storeLogObjects','AlnAF','rueoH','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','CUCUMBER','Cucumber-JS','dAgvQ','Error:\x20at\x20After\x20(Playwright):\x20','toLowerCase','finally','gQxpg','esElf','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','../../helpers/driverInitErrorReporter','setDefaultTimeout','catch','Astbf','EDVkr','testInfo','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','performScan','../v2/browserstackCLI','TTqvZ','browserstackAgentV2','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','MriWb','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','__error_messages__','sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo','removeAllListeners','shift','cnNLc','skipSessionName','LiKuV','BROWSERSTACK_TESTHUB_UUID','initializePlaywrightPatching','util','zBZHM','Patching\x20Selenium','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','__skipSessionName','jNWZO','cucumber-js','Inside\x20browserstack\x20Before','Unknown\x20Test','__drivers','gLphv','vyGxL','CONFIG','quitCount_','Error\x20in\x20fallback\x20cleanup:\x20','JLKQg','QUIT','rbpbB','../../helpers/performance/constants','currentTest','../../helpers/test-observability/error-handler','Error:\x20quiting\x20driver\x20at\x20After:\x20','20836KelCqf','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','lodash','setGlobal','bstack','../../helpers/test-observability/utils','__skipSessionStatus','zsLtm','page','fzulZ','LbsbA','format','../../helpers/globals','../../helpers/performance/performance-tester','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','4|0|3|1|2','result','env','OJIun','timeout','scenario','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','FGaCF','NjFbl','Before','thTestRunUuid','cleanup','patchPageCommandsForAccessibility','YgaoR','../../index','Passed:\x20','../v2/browserstackCLI.js','Inside\x20browserstack\x20BeforeAll','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','getGlobal','bAaIy','text','pid','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','Inside\x20browserstack\x20AfterAll','@playwright/test','testCaseStartedId','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','error','Cleaned\x20up\x20close\x20tracker','session_','ovrIe','../../helpers/setKeepAlive','tags','247476mhjAPE','Error\x20in\x20playwright\x20beforeTestHook:\x20','74bwPrFR','AJDgb','executeDeferredCloses','IiCby','cucumber-test','DSewc','isRunning','setFrameworkDetail','Error\x20sending\x20log\x20created\x20event:\x20','pickleStep','vBkcz','lhEvE','__currentTestInfo','QQgal','getInstance','33297ArlRkS','push','pwPage','wHokJ','initQuit'];a8_0x5bc7=function(){return _0x5957;};return a8_0x5bc7();}const workerDetails=a8_0x274b13;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x41b9f5){const _0x28d03f=a8_0xa9dffb,_0x124b0e={'QEVlE':function(_0x30df2f,_0x4308e1){return _0x30df2f(_0x4308e1);},'tuxwo':'../v2/browserstackCLI','qklsO':_0x28d03f(0xa8)},_0x3174e1=workerDetails[_0x28d03f(0xc3)][_0x28d03f(0x1a5)];if(!_0x3174e1)return;if(playwrightPatcher)try{const _0xaf9fa9=_0x124b0e[_0x28d03f(0x151)](require,_0x124b0e['tuxwo']);if(_0xaf9fa9['getInstance']()[_0x28d03f(0xff)]()){const _0x518932=_0x3174e1[_0x28d03f(0xef)];_0x518932?(_0x41b9f5['uuid']=_0x518932,_0x41b9f5[_0x28d03f(0x12e)]=_0x518932,TestInfo[_0x28d03f(0x191)](_0x518932,_0x41b9f5)):logger[_0x28d03f(0x18d)](_0x124b0e['qklsO']);return;}}catch(_0x4de33e){logger['debug'](_0x28d03f(0x101)+util['format'](_0x4de33e));}await MyReporter[_0x28d03f(0x14c)](_0x3174e1,_0x41b9f5);}),registerListeners=()=>{const _0x3d2038=a8_0xa9dffb,_0x3e5d7c={};_0x3e5d7c[_0x3d2038(0x146)]=_0x3d2038(0x176);const _0x174844=_0x3e5d7c;logger[_0x3d2038(0x18d)](_0x174844[_0x3d2038(0x146)]),process[_0x3d2038(0xa9)](_0x3d2038(0x155)+process[_0x3d2038(0xeb)]),process['on']('bs:addLog:'+process[_0x3d2038(0xeb)],sendTestLog),PerformanceTester['startMonitoring']();};modifyCommand(),setKeepAlive();function a8_0x5880(_0x690dd7,_0x4a2cb8){const _0x5bc7bf=a8_0x5bc7();return a8_0x5880=function(_0x5880fd,_0x182054){_0x5880fd=_0x5880fd-0xa6;let _0x2460cf=_0x5bc7bf[_0x5880fd];return _0x2460cf;},a8_0x5880(_0x690dd7,_0x4a2cb8);}const Before=cucumberModule[a8_0xa9dffb(0xde)],After=cucumberModule['After'],AfterAll=cucumberModule[a8_0xa9dffb(0x163)],BeforeAll=cucumberModule[a8_0xa9dffb(0x186)],AfterStep=cucumberModule[a8_0xa9dffb(0x152)],configuration=process[a8_0xa9dffb(0xd7)][a8_0xa9dffb(0xbc)];if(configuration!==undefined){const config=JSON[a8_0xa9dffb(0x11f)](configuration);isBrowserstackInfra()?(global[a8_0xa9dffb(0xb4)]=isTrue(config[a8_0xa9dffb(0xac)]),global[a8_0xa9dffb(0xcc)]=isTrue(config['skipSessionStatus'])):(global[a8_0xa9dffb(0xb4)]=!![],global[a8_0xa9dffb(0xcc)]=!![]);!helper['getPackageVersion'](a8_0xa9dffb(0xee))&&(logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0xb2)),shouldProcessEventForTesthub()?require(a8_0xa9dffb(0xe3))['browserstackAgentV2'](config,null,!![]):require(a8_0xa9dffb(0xe3))[a8_0xa9dffb(0x1aa)](config));global[a8_0xa9dffb(0x112)]=config[a8_0xa9dffb(0x150)]||{},global[a8_0xa9dffb(0x128)]=config[a8_0xa9dffb(0x136)];if(helper[a8_0xa9dffb(0x123)](a8_0xa9dffb(0xee)))try{logger[a8_0xa9dffb(0x18d)](a8_0xa9dffb(0x18c)),playwrightPatcher=require('../utils/playwright-patcher'),playwrightPatcher[a8_0xa9dffb(0xaf)](config),logger['debug'](a8_0xa9dffb(0xec));}catch(a8_0x4587e8){logger[a8_0xa9dffb(0x18d)]('Error\x20initializing\x20Playwright\x20patching:\x20'+util[a8_0xa9dffb(0xd1)](a8_0x4587e8));}}global[a8_0xa9dffb(0x18a)]=0x0;const __setDefaultTimeout=cucumberModule[a8_0xa9dffb(0x1a1)];cucumberModule[a8_0xa9dffb(0x1a1)]=_0x2b1423=>{const _0x5dd54b=a8_0xa9dffb,_0x34325f={'zsLtm':function(_0x1df01a,_0x261daf){return _0x1df01a(_0x261daf);}};global[_0x5dd54b(0x18a)]=_0x2b1423,_0x34325f[_0x5dd54b(0xcd)](__setDefaultTimeout,_0x2b1423);};const a8_0x3fe4d8={};a8_0x3fe4d8[a8_0xa9dffb(0x116)]=a8_0xa9dffb(0xca),BeforeAll(a8_0x3fe4d8,async function(){const _0xb38e36=a8_0xa9dffb,_0x431f76={'QaZgd':function(_0x345a1e,_0x535480,_0x4d96c1,_0xe343ff){return _0x345a1e(_0x535480,_0x4d96c1,_0xe343ff);},'wHokJ':_0xb38e36(0x13e),'zBZHM':_0xb38e36(0x181),'rueoH':function(_0x44c6d3,_0x35a237,_0xd08101){return _0x44c6d3(_0x35a237,_0xd08101);},'bSLaR':'passed','TTqvZ':_0xb38e36(0xe6),'lDqby':function(_0x125b37,_0x432171){return _0x125b37(_0x432171);},'dWBZh':_0xb38e36(0x1a8),'sfFCH':'../v2/cliUtils','Astbf':_0xb38e36(0x19f),'TJXkq':function(_0x30ea36){return _0x30ea36();},'mySKJ':function(_0x393e32,_0x2042c1){return _0x393e32(_0x2042c1);}};PerformanceTester[_0xb38e36(0x125)](),logger[_0xb38e36(0x18d)](_0x431f76[_0xb38e36(0x1a9)]),global[_0xb38e36(0xa7)]=[],global[_0xb38e36(0x147)]=![];if(playwrightPatcher)try{const _0x2ee0d8=_0x431f76[_0xb38e36(0x18f)](require,_0x431f76[_0xb38e36(0x126)]),_0x6584a5=_0x431f76[_0xb38e36(0x18f)](require,_0x431f76[_0xb38e36(0x175)]);_0x2ee0d8[_0xb38e36(0x107)]()['isCliEnabled']()&&(logger[_0xb38e36(0x18d)](_0x431f76[_0xb38e36(0x1a3)]),_0x6584a5[_0xb38e36(0x100)](FRAMEWORKS[_0xb38e36(0x196)],FRAMEWORKS['PLAYWRIGHT']),await _0x2ee0d8[_0xb38e36(0x107)]()[_0xb38e36(0x139)]());}catch(_0x1f9118){logger[_0xb38e36(0x18d)](_0xb38e36(0x180)+util[_0xb38e36(0xd1)](_0x1f9118));}_0x431f76[_0xb38e36(0x14b)](shouldProcessEventForTesthub)&&(_0x431f76[_0xb38e36(0x14b)](registerListeners),_0x431f76[_0xb38e36(0x121)](addRequestSpy,![])),global[_0xb38e36(0x15e)]=async()=>{const _0x2160c2=_0xb38e36;let _0x9b3943=![];try{global[_0x2160c2(0xb9)]&&global[_0x2160c2(0xb9)][0x0]&&(await global[_0x2160c2(0xb9)][0x0][_0x2160c2(0xf3)],_0x9b3943=!![],global[_0x2160c2(0x147)]?await _0x431f76['QaZgd'](markSessionStatus,global['__drivers'][0x0],_0x431f76[_0x2160c2(0x10b)],global[_0x2160c2(0xa7)][_0x2160c2(0x15f)](_0x431f76[_0x2160c2(0xb1)])):await _0x431f76[_0x2160c2(0x193)](markSessionStatus,global[_0x2160c2(0xb9)][0x0],_0x431f76[_0x2160c2(0x132)]));}catch(_0x225388){logger['debug'](_0x2160c2(0x11a)+_0x225388);}global[_0x2160c2(0xa7)]=[],global[_0x2160c2(0x147)]=![];if(_0x9b3943)try{await global[_0x2160c2(0xb9)][0x0]['initQuit'](),global['__drivers'][0x0][_0x2160c2(0xf3)][_0x2160c2(0x172)](_0x2f86bf=>{logger['debug']('Error:\x20in\x20quitting\x20driver\x20'+_0x2f86bf['getId']());})[_0x2160c2(0x1a2)](_0x2cca85=>{const _0x17b58f=_0x2160c2;logger[_0x17b58f(0x18d)](_0x17b58f(0x19e)+(_0x2cca85&&_0x2cca85['stack']||_0x2cca85));});}catch(_0x30e2fd){logger[_0x2160c2(0x18d)](_0x2160c2(0x195)+_0x30e2fd);}};});const a8_0x2151c7={};a8_0x2151c7['name']=a8_0xa9dffb(0xca),a8_0x2151c7[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],Before(a8_0x2151c7,function(_0x3a63c0,_0x7f41d9){const _0x29b8d7=a8_0xa9dffb,_0x307284={'HMeDi':function(_0x2cfb5a,_0x555be9){return _0x2cfb5a>_0x555be9;},'qQSUG':function(_0x28f309,_0x2af08a){return _0x28f309>_0x2af08a;},'okyYH':function(_0x573016,_0x3f451b){return _0x573016(_0x3f451b);},'JaNVZ':function(_0x3df743,_0x2116c8,_0x229d7f,_0x3d28d7){return _0x3df743(_0x2116c8,_0x229d7f,_0x3d28d7);},'VsLiq':_0x29b8d7(0x179),'FslFU':function(_0x2eb91c,_0x26b7b0){return _0x2eb91c(_0x26b7b0);},'OiLnA':_0x29b8d7(0x1a8),'ZepKr':function(_0x10e927,_0x5dd0c1){return _0x10e927(_0x5dd0c1);},'bVLNF':'../v2/state/automationFrameworkState','RQVMX':function(_0x56702d,_0x4211ee){return _0x56702d(_0x4211ee);},'HUPsf':_0x29b8d7(0x168),'LFVtv':_0x29b8d7(0xb8),'PoSDn':_0x29b8d7(0xfd),'dAgvQ':function(_0x4793e5){return _0x4793e5();},'GGHjT':_0x29b8d7(0xb7)};logger[_0x29b8d7(0x18d)](_0x307284['GGHjT']),new Promise(async _0x128c4f=>{const _0x4c5038=_0x29b8d7;try{global['__drivers']&&_0x307284['HMeDi'](global[_0x4c5038(0xb9)][_0x4c5038(0x15b)],0x1)&&(await global[_0x4c5038(0x15e)](),global[_0x4c5038(0xb9)][_0x4c5038(0xaa)]()),global[_0x4c5038(0xb9)]&&global[_0x4c5038(0xb9)][0x0]&&global[_0x4c5038(0xb9)][0x0][_0x4c5038(0xbd)]&&_0x307284[_0x4c5038(0x182)](global[_0x4c5038(0xb9)][0x0][_0x4c5038(0xbd)],0x0)&&await global['driverCleanup']();}catch(_0x35b5f8){logger[_0x4c5038(0x18d)](_0x4c5038(0xb3)+_0x35b5f8);}workerDetails['currentTest'][_0x4c5038(0x1a5)]=_0x3a63c0;if(!playwrightPatcher){try{if(!_0x307284[_0x4c5038(0x17a)](isUndefined,_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0xf6)])){const _0x33e537=_0x307284['JaNVZ'](shouldScanTestForAccessibility,null,![],_0x3a63c0[_0x4c5038(0x11d)]['tags'][_0x4c5038(0x17e)](({name:_0x32f36a})=>_0x32f36a));globals[_0x4c5038(0xc9)](_0x307284['VsLiq'],_0x33e537);}}catch(_0x19e4ff){logger[_0x4c5038(0x18d)](_0x4c5038(0xd4)+util['format'](_0x19e4ff));}workerDetails[_0x4c5038(0xc3)][_0x4c5038(0xdf)]=TestDetails[_0x4c5038(0x115)](_0x3a63c0[_0x4c5038(0xef)]);}if(playwrightPatcher)try{await playwrightPatcher['beforeTestHook'](_0x3a63c0),global['__workerDetails']&&global[_0x4c5038(0x154)][_0x4c5038(0x10a)]&&playwrightPatcher[_0x4c5038(0xe1)](global[_0x4c5038(0x154)][_0x4c5038(0x10a)]);}catch(_0x4e1a2f){logger['debug'](_0x4c5038(0xf8)+util[_0x4c5038(0xd1)](_0x4e1a2f));}if(playwrightPatcher)try{const _0x27bece=_0x307284[_0x4c5038(0x135)](require,_0x307284[_0x4c5038(0x118)]),_0x3201a9=_0x307284[_0x4c5038(0x16a)](require,_0x307284[_0x4c5038(0x17f)]),_0x5d63b6=_0x307284['RQVMX'](require,_0x307284[_0x4c5038(0x138)]);if(_0x27bece['getInstance']()[_0x4c5038(0xff)]()){const _0x43e49a={'title':_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]||_0x307284[_0x4c5038(0x159)],'titlePath':[_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]||_0x307284[_0x4c5038(0x159)]],'id':_0x3a63c0[_0x4c5038(0xef)]||_0x307284[_0x4c5038(0x12d)],'tags':_0x3a63c0['pickle'][_0x4c5038(0xf6)]||[],..._0x3a63c0},_0x545f8e=_0x43e49a;global[_0x4c5038(0x105)]=_0x545f8e,logger[_0x4c5038(0x18d)]('Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20'+_0x3a63c0[_0x4c5038(0x11d)][_0x4c5038(0x116)]);}}catch(_0x1243d9){logger[_0x4c5038(0x18d)]('Error\x20triggering\x20AutomationFramework\x20events:\x20'+util[_0x4c5038(0xd1)](_0x1243d9));}_0x307284[_0x4c5038(0x198)](_0x128c4f);})[_0x29b8d7(0x19b)](_0x7f41d9);});const a8_0x3dbee3={};a8_0x3dbee3['name']=a8_0xa9dffb(0xca),a8_0x3dbee3[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],After(a8_0x3dbee3,function(_0x7afe70,_0x168006){const _0x3cfedd=a8_0xa9dffb,_0x9b6bc4={'AJDgb':function(_0x5132a3,_0x24aa97){return _0x5132a3>_0x24aa97;},'OJIun':function(_0xbc0ac2,_0x3d88eb){return _0xbc0ac2===_0x3d88eb;},'qrZSn':_0x3cfedd(0x13e),'DSewc':function(_0x330596,_0x9e2ee9){return _0x330596===_0x9e2ee9;},'esElf':function(_0x37c72f,_0x17fd7c,_0x16b6b2,_0x5a1dbd){return _0x37c72f(_0x17fd7c,_0x16b6b2,_0x5a1dbd);},'xXRdB':_0x3cfedd(0x181),'XaXvJ':function(_0x478f8d,_0x3dafff,_0x15a0e2){return _0x478f8d(_0x3dafff,_0x15a0e2);},'lhEvE':'passed','mmKFE':function(_0x16fa20,_0x34df69){return _0x16fa20(_0x34df69);},'rbpbB':_0x3cfedd(0x1a8),'ovrIe':function(_0x597ceb,_0xda4450){return _0x597ceb(_0xda4450);},'fYKVE':'../v2/state/automationFrameworkState','YgaoR':_0x3cfedd(0x168),'ngqYf':_0x3cfedd(0xb8),'mYSBq':_0x3cfedd(0xfd),'RRrDm':'Completed\x20Playwright\x20afterTestHook\x20execution','pcZpZ':_0x3cfedd(0xf0),'LbyXP':_0x3cfedd(0xf2),'MriWb':_0x3cfedd(0xdb),'gpUcn':_0x3cfedd(0x170),'IiCby':function(_0x2e7c99,_0x34905d){return _0x2e7c99(_0x34905d);},'FGaCF':_0x3cfedd(0xe5),'XRDBA':function(_0x4082ab){return _0x4082ab();},'iGEIC':_0x3cfedd(0x189),'gLphv':'isAccessibilityPlatform','fzulZ':_0x3cfedd(0x179),'vyGxL':_0x3cfedd(0xa6),'KNJhz':'Performing\x20scan\x20before\x20saving\x20results','HDPbY':_0x3cfedd(0x156),'JLKQg':_0x3cfedd(0x1a6),'AlnAF':function(_0x54761b,_0x39fe94){return _0x54761b>_0x39fe94;},'bAaIy':function(_0xd1c723){return _0xd1c723();},'fqTUz':_0x3cfedd(0x13f)};logger[_0x3cfedd(0x18d)](_0x9b6bc4[_0x3cfedd(0x184)]),workerDetails['currentTest'][_0x3cfedd(0x1a5)]=_0x7afe70,new Promise(async _0x58576c=>{const _0x4ea7dc=_0x3cfedd;let _0x4ed61f=![],_0x558c90=![],_0x3931df=![];try{global[_0x4ea7dc(0xb9)]&&_0x9b6bc4[_0x4ea7dc(0xfa)](global[_0x4ea7dc(0xb9)][_0x4ea7dc(0x15b)],0x0)&&(_0x558c90=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)]&&(_0x3931df=!![],logger['debug'](_0x4ea7dc(0xc7)+!!global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)]));}catch(_0x57babf){logger['debug']('Error\x20determining\x20test\x20flow:\x20'+_0x57babf);}logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x12a)+_0x558c90+_0x4ea7dc(0x140)+_0x3931df);const _0x4fb2bb=_0x7afe70[_0x4ea7dc(0xd6)]['status']['toString']()[_0x4ea7dc(0x19a)](),_0x275877=_0x9b6bc4[_0x4ea7dc(0xd8)](_0x4fb2bb,_0x9b6bc4['qrZSn'])||_0x9b6bc4[_0x4ea7dc(0xfe)](_0x4fb2bb,'6'),_0x41f43f=_0x275877?_0x7afe70[_0x4ea7dc(0xd6)][_0x4ea7dc(0x117)]:null;if(_0x275877)try{global[_0x4ea7dc(0xa7)][_0x4ea7dc(0x109)](_0x7afe70[_0x4ea7dc(0xd6)][_0x4ea7dc(0x117)]),global[_0x4ea7dc(0x147)]=!![];}catch(_0x278cd6){logger['debug'](_0x4ea7dc(0x148)+_0x278cd6);}if(_0x558c90)try{global[_0x4ea7dc(0xb9)]&&_0x9b6bc4[_0x4ea7dc(0xfa)](global[_0x4ea7dc(0xb9)]['length'],0x1)&&(await global[_0x4ea7dc(0x15e)](),global[_0x4ea7dc(0xb9)][_0x4ea7dc(0xaa)](),global['__error_messages__']=[],global[_0x4ea7dc(0x147)]=![]),global['__drivers']&&global[_0x4ea7dc(0xb9)][0x0]&&(await global[_0x4ea7dc(0xb9)][0x0]['session_'],_0x4ed61f=!![],!global[_0x4ea7dc(0xb4)]&&await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x131)](_0x4ea7dc(0x1ab)+_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]+_0x4ea7dc(0x11e)),_0x275877?await _0x9b6bc4[_0x4ea7dc(0x19d)](markSessionStatus,global[_0x4ea7dc(0xb9)][0x0],_0x9b6bc4[_0x4ea7dc(0x141)],global[_0x4ea7dc(0xa7)]['join'](_0x9b6bc4[_0x4ea7dc(0x16b)])):await _0x9b6bc4['XaXvJ'](markSessionStatus,global[_0x4ea7dc(0xb9)][0x0],_0x9b6bc4[_0x4ea7dc(0x104)]));}catch(_0x3ba4ec){logger['debug'](_0x4ea7dc(0x187)+util[_0x4ea7dc(0xd1)](_0x3ba4ec));}if(_0x3931df)try{try{const _0x190df9=_0x9b6bc4[_0x4ea7dc(0x110)](require,_0x9b6bc4[_0x4ea7dc(0xc1)]),_0x1f2828=_0x9b6bc4[_0x4ea7dc(0xf4)](require,_0x9b6bc4[_0x4ea7dc(0x137)]),_0x43ae52=_0x9b6bc4[_0x4ea7dc(0xf4)](require,_0x9b6bc4[_0x4ea7dc(0xe2)]);if(_0x190df9[_0x4ea7dc(0x107)]()[_0x4ea7dc(0xff)]()){const _0x245a3c={'title':_0x7afe70[_0x4ea7dc(0x11d)]['name']||_0x9b6bc4[_0x4ea7dc(0x18b)],'titlePath':[_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]||_0x9b6bc4['ngqYf']],'id':_0x7afe70[_0x4ea7dc(0xef)]||_0x9b6bc4[_0x4ea7dc(0x177)],'status':_0x275877?_0x9b6bc4[_0x4ea7dc(0x141)]:_0x9b6bc4[_0x4ea7dc(0x104)],'error':_0x41f43f?{'message':_0x41f43f}:null,'tags':_0x7afe70[_0x4ea7dc(0x11d)]['tags']||[],..._0x7afe70},_0x24e4bb=_0x245a3c,_0x170907={};_0x170907[_0x4ea7dc(0x1a5)]=_0x24e4bb,_0x170907[_0x4ea7dc(0xda)]=_0x7afe70,_0x170907[_0x4ea7dc(0xce)]=global[_0x4ea7dc(0x154)][_0x4ea7dc(0x10a)],_0x170907['testFramework']=FRAMEWORKS[_0x4ea7dc(0x196)],await _0x190df9[_0x4ea7dc(0x107)]()[_0x4ea7dc(0x133)]()[_0x4ea7dc(0x16f)](_0x1f2828[_0x4ea7dc(0xc0)],_0x43ae52['PRE'],_0x170907),logger[_0x4ea7dc(0x18d)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x7afe70[_0x4ea7dc(0x11d)][_0x4ea7dc(0x116)]);}}catch(_0x2f03f0){logger['debug'](_0x4ea7dc(0x120)+util['format'](_0x2f03f0));}const _0x544e0f=_0x275877?_0x9b6bc4[_0x4ea7dc(0x141)]:_0x9b6bc4['lhEvE'];await playwrightPatcher[_0x4ea7dc(0x12c)](_0x7afe70,_0x544e0f,_0x41f43f),logger[_0x4ea7dc(0x18d)](_0x9b6bc4['RRrDm']);try{await playwrightPatcher[_0x4ea7dc(0xfb)](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x174)]);}catch(_0x477e43){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x15c)+util[_0x4ea7dc(0xd1)](_0x477e43));}try{playwrightPatcher[_0x4ea7dc(0x171)]['cleanup'](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x166)]);}catch(_0x429828){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x124)+util[_0x4ea7dc(0xd1)](_0x429828));}}catch(_0x3e0b08){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x199)+util['format'](_0x3e0b08));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x4ea7dc(0xfb)](),logger['debug'](_0x9b6bc4[_0x4ea7dc(0x1ac)])),playwrightPatcher[_0x4ea7dc(0x171)]&&playwrightPatcher['closeTracker'][_0x4ea7dc(0xe0)]&&(playwrightPatcher[_0x4ea7dc(0x171)][_0x4ea7dc(0xe0)](),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x161)]));}catch(_0x30b44c){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0xbe)+util[_0x4ea7dc(0xd1)](_0x30b44c));}}const _0x2784da=_0x9b6bc4[_0x4ea7dc(0xfc)](require,_0x9b6bc4[_0x4ea7dc(0xdc)]);if(!_0x2784da[_0x4ea7dc(0x107)]()[_0x4ea7dc(0xff)]())try{if(_0x9b6bc4[_0x4ea7dc(0x188)](shouldProcessEventForTesthub)){const _0x371e04=TestDetails[_0x4ea7dc(0x115)](_0x7afe70[_0x4ea7dc(0xef)]);let _0xaa7efb=null;global[_0x4ea7dc(0xb9)]&&global['__drivers'][0x0]&&(_0xaa7efb=await _0x9b6bc4[_0x4ea7dc(0x19d)](sendPlatformDetails,global[_0x4ea7dc(0xb9)][0x0],_0x371e04,!![]));const _0x77c6e9={};_0x77c6e9['uuid']=_0x371e04,_0x77c6e9[_0x4ea7dc(0x10f)]=_0xaa7efb;const _0x2b07fe=_0x77c6e9,_0x1c5f5f={};_0x1c5f5f['event_type']=_0x9b6bc4[_0x4ea7dc(0x183)],_0x1c5f5f[_0x4ea7dc(0x13a)]=_0x2b07fe,await SessionHandler[_0x4ea7dc(0x149)](_0x1c5f5f);}}catch(_0x1dd0fa){logger[_0x4ea7dc(0x18d)](_0x4ea7dc(0x122)+util[_0x4ea7dc(0xd1)](_0x1dd0fa));}try{if(globals['getGlobal'](_0x9b6bc4[_0x4ea7dc(0xba)])&&globals[_0x4ea7dc(0xe8)](_0x9b6bc4[_0x4ea7dc(0xcf)])){logger[_0x4ea7dc(0x14a)](_0x9b6bc4[_0x4ea7dc(0xbb)]);const _0x123b2b=TestDetails['getTestUUID'](_0x7afe70[_0x4ea7dc(0xef)]),_0x30cd6e={};_0x30cd6e['thTestRunUuid']=_0x123b2b,_0x30cd6e[_0x4ea7dc(0x145)]=process[_0x4ea7dc(0xd7)][testHubConstants['ENV_VAR'][_0x4ea7dc(0xae)]],_0x30cd6e[_0x4ea7dc(0x160)]=process['env'][testHubConstants[_0x4ea7dc(0x134)][_0x4ea7dc(0x14f)]];const _0x40e95f=_0x30cd6e;logger['debug']('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4ea7dc(0x127)](_0x40e95f)),logger[_0x4ea7dc(0x18d)](_0x9b6bc4[_0x4ea7dc(0x13c)]),global[_0x4ea7dc(0xb9)]&&global['__drivers'][0x0]&&(logger[_0x4ea7dc(0x18d)](util[_0x4ea7dc(0xd1)](await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x113)](scripts[_0x4ea7dc(0x1a7)],{'method':global[_0x4ea7dc(0x12f)]}))),globals[_0x4ea7dc(0xe8)](_0x9b6bc4[_0x4ea7dc(0x142)])&&(_0x40e95f['is_mobile_session']=!![]),await global[_0x4ea7dc(0xb9)][0x0]['executeAsyncScript'](scripts['saveTestResults'],_0x40e95f)),logger[_0x4ea7dc(0x14a)](_0x9b6bc4[_0x4ea7dc(0xbf)]);}}catch(_0x49a793){logger[_0x4ea7dc(0xf1)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x4ea7dc(0xd1)](_0x49a793));}if(_0x4ed61f)try{global['__drivers'][0x0]&&_0x9b6bc4[_0x4ea7dc(0x192)](global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0xbd)],0x0)&&await global[_0x4ea7dc(0xb9)][0x0][_0x4ea7dc(0x10c)]();}catch(_0x3fda1c){logger['debug'](_0x4ea7dc(0xc5)+_0x3fda1c);}_0x9b6bc4[_0x4ea7dc(0xe9)](_0x58576c);})[_0x3cfedd(0x19b)](()=>_0x168006());});const a8_0x3b262a={};a8_0x3b262a['name']=a8_0xa9dffb(0xca),a8_0x3b262a[a8_0xa9dffb(0xd9)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],AfterStep(a8_0x3b262a,function(_0xb1cb3b,_0x34edec){const _0x523efe=a8_0xa9dffb,_0x58df2b={'mqKky':function(_0x83d7eb,_0x4d8d4c){return _0x83d7eb===_0x4d8d4c;},'EDVkr':_0x523efe(0x13e),'XNJtk':function(_0x5ae2b3,_0xea229b){return _0x5ae2b3!==_0xea229b;},'KMAIQ':function(_0x1148f8,_0x5a28f0,_0x2a5856){return _0x1148f8(_0x5a28f0,_0x2a5856);},'gQxpg':function(_0x19ee01,_0x35b3b7){return _0x19ee01+_0x35b3b7;},'VUzqT':function(_0x2b5c70,_0x47647a){return _0x2b5c70+_0x47647a;},'MLmYC':_0x523efe(0x13b),'QQgal':_0x523efe(0x11c),'jNWZO':_0x523efe(0xf1),'ByrWw':function(_0xc1719d,_0x568c5c,_0x1bfd42){return _0xc1719d(_0x568c5c,_0x1bfd42);},'cnNLc':function(_0x18724f,_0x23a756){return _0x18724f+_0x23a756;},'RRWEy':function(_0x568695,_0x3349c8){return _0x568695!==_0x3349c8;},'oHnhC':function(_0x55109b,_0x2e36e1,_0x1490ed){return _0x55109b(_0x2e36e1,_0x1490ed);},'NjFbl':function(_0x50e0ef,_0x16c9fa){return _0x50e0ef+_0x16c9fa;},'Hjlso':_0x523efe(0xe4),'GjKQr':_0x523efe(0x14a),'vBkcz':function(_0xbec4ff,_0xe70474,_0x4e1441){return _0xbec4ff(_0xe70474,_0x4e1441);},'Xnpjn':_0x523efe(0x178),'LbsbA':function(_0x5e9e64){return _0x5e9e64();},'coWtI':_0x523efe(0x16c)};logger[_0x523efe(0x18d)](_0x58df2b[_0x523efe(0x17c)]);const _0x442ba9=async(_0x4cfad5,_0x4b661f)=>{const _0x918294=_0x523efe;global['__drivers']&&global[_0x918294(0xb9)][0x0]&&await global[_0x918294(0xb9)][0x0]['executeScript'](_0x918294(0xe7)+_0x4cfad5+_0x918294(0x15d)+_0x4b661f+_0x918294(0x11e));};new Promise(async _0x3f9639=>{const _0x4bb58a=_0x523efe;try{const _0x47c9d5=_0x58df2b[_0x4bb58a(0x169)](_0xb1cb3b[_0x4bb58a(0xd6)]['status'][_0x4bb58a(0x190)]()[_0x4bb58a(0x19a)](),_0x58df2b[_0x4bb58a(0x1a4)])||_0x58df2b[_0x4bb58a(0x169)](_0xb1cb3b['result'][_0x4bb58a(0x18e)][_0x4bb58a(0x190)]()[_0x4bb58a(0x19a)](),'6');_0x47c9d5?(global[_0x4bb58a(0x147)]=!![],global[_0x4bb58a(0xa7)]['push'](_0xb1cb3b['result'][_0x4bb58a(0x117)]),_0x58df2b[_0x4bb58a(0x17d)](_0xb1cb3b['pickleStep'],undefined)?await _0x58df2b['KMAIQ'](_0x442ba9,JSON['stringify'](_0x58df2b[_0x4bb58a(0x19c)](_0x58df2b[_0x4bb58a(0x19c)](_0x58df2b[_0x4bb58a(0x14e)](_0x58df2b[_0x4bb58a(0x162)],'\x22'+_0xb1cb3b[_0x4bb58a(0x102)][_0x4bb58a(0xea)]+'\x22\x20'),_0x58df2b[_0x4bb58a(0x106)]),_0xb1cb3b[_0x4bb58a(0xd6)]['message'])),_0x58df2b[_0x4bb58a(0xb5)]):await _0x58df2b['ByrWw'](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b[_0x4bb58a(0xab)](_0x58df2b['MLmYC'],_0xb1cb3b[_0x4bb58a(0xd6)][_0x4bb58a(0x117)])),_0x58df2b[_0x4bb58a(0xb5)])):_0x58df2b['RRWEy'](_0xb1cb3b[_0x4bb58a(0x102)],undefined)?await _0x58df2b['oHnhC'](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b[_0x4bb58a(0xdd)](_0x58df2b[_0x4bb58a(0x15a)],'\x22'+_0xb1cb3b[_0x4bb58a(0x102)][_0x4bb58a(0xea)]+'\x22')),_0x58df2b[_0x4bb58a(0x111)]):await _0x58df2b[_0x4bb58a(0x103)](_0x442ba9,JSON[_0x4bb58a(0x127)](_0x58df2b['Xnpjn']),_0x58df2b[_0x4bb58a(0x111)]),global[_0x4bb58a(0xb9)]&&global[_0x4bb58a(0xb9)][0x0]&&global[_0x4bb58a(0xb9)][0x0]['session_'][_0x4bb58a(0x172)](_0x4cd285=>{})[_0x4bb58a(0x1a2)](_0x133136=>{const _0x345b36=_0x4bb58a;logger[_0x345b36(0x18d)]('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util['format'](_0x133136));});}catch(_0x245754){logger[_0x4bb58a(0x18d)](_0x4bb58a(0x173)+_0x245754);}_0x58df2b[_0x4bb58a(0xd0)](_0x3f9639);})[_0x523efe(0x19b)](()=>_0x34edec());});const a8_0x1f2973={};a8_0x1f2973[a8_0xa9dffb(0x116)]=a8_0xa9dffb(0xca),a8_0x1f2973['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0xa9dffb(0x197)],AfterAll(a8_0x1f2973,async function(_0x5da1bf,_0x52ab45){const _0x310429=a8_0xa9dffb,_0x51efa7={'FSlLC':_0x310429(0xd5),'LiKuV':function(_0x3adbdc){return _0x3adbdc();},'kNJvQ':'Cleaned\x20up\x20Playwright\x20close\x20tracker','WRTdU':_0x310429(0xed)};logger[_0x310429(0x18d)](_0x51efa7[_0x310429(0x165)]),await new Promise(async _0x2277c1=>{const _0x2329fc=_0x310429,_0x3c81a3=_0x51efa7['FSlLC']['split']('|');let _0x3dd724=0x0;while(!![]){switch(_0x3c81a3[_0x3dd724++]){case'0':PerformanceTester['stopMonitoring']();continue;case'1':await global['driverCleanup']();continue;case'2':_0x51efa7[_0x2329fc(0xad)](_0x2277c1);continue;case'3':try{playwrightPatcher&&playwrightPatcher[_0x2329fc(0xfb)]&&(await playwrightPatcher[_0x2329fc(0xfb)](),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x2329fc(0xe0)](),logger[_0x2329fc(0x18d)](_0x51efa7['kNJvQ']));}catch(_0x151615){logger[_0x2329fc(0x18d)](_0x2329fc(0x194)+util[_0x2329fc(0xd1)](_0x151615));}continue;case'4':await RequestQueueHandler[_0x2329fc(0x107)]()['shutdown']();continue;}break;}});});
|
|
1
|
+
const a8_0x346be6=a8_0xe487;(function(_0x6bdd22,_0x1e5c0c){const _0x25b58d=a8_0xe487,_0x4414f7=_0x6bdd22();while(!![]){try{const _0x5366ad=parseInt(_0x25b58d(0xe0))/0x1*(-parseInt(_0x25b58d(0x157))/0x2)+parseInt(_0x25b58d(0x103))/0x3*(-parseInt(_0x25b58d(0x14d))/0x4)+parseInt(_0x25b58d(0x15b))/0x5*(parseInt(_0x25b58d(0x171))/0x6)+parseInt(_0x25b58d(0x113))/0x7+-parseInt(_0x25b58d(0x10e))/0x8+parseInt(_0x25b58d(0xe3))/0x9*(-parseInt(_0x25b58d(0xc2))/0xa)+parseInt(_0x25b58d(0x122))/0xb;if(_0x5366ad===_0x1e5c0c)break;else _0x4414f7['push'](_0x4414f7['shift']());}catch(_0x54ea09){_0x4414f7['push'](_0x4414f7['shift']());}}}(a8_0x2343,0x36a42));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require('../../helpers/helper'),{TEST_FRAMEWORK_HOOK_TIMEOUT,FRAMEWORKS}=require(a8_0x346be6(0xb0)),setKeepAlive=require(a8_0x346be6(0x174)),util=require(a8_0x346be6(0x120)),PerformanceTester=require('../../helpers/performance/performance-tester'),{EVENTS:PerformanceEvents}=require('../../helpers/performance/constants'),cucumberModule=requireModule(a8_0x346be6(0x16f),a8_0x346be6(0x126)),logger=require(a8_0x346be6(0xaf))['winstonLogger'],{shouldProcessEventForTesthub}=require(a8_0x346be6(0x163)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a8_0x346be6(0x165)),TestDetails=require(a8_0x346be6(0xa5)),TestInfo=require(a8_0x346be6(0xe4)),RequestQueueHandler=require(a8_0x346be6(0x144)),{o11yErrorHandler}=require(a8_0x346be6(0x150)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a8_0x346be6(0x12c)),scripts=require(a8_0x346be6(0xbd)),globals=require(a8_0x346be6(0xa4)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a8_0x346be6(0xd8)),{isUndefined}=require(a8_0x346be6(0x9a)),helper=require('../../helpers/helper');try{require('../../helpers/driverInitErrorReporter')[a8_0x346be6(0xfc)](a8_0x346be6(0x180));}catch(a8_0x4a6c5f){logger[a8_0x346be6(0x13c)]('driver-init\x20capture\x20install\x20failed:\x20'+(a8_0x4a6c5f&&a8_0x4a6c5f['message']));}const a8_0xd1754e={};a8_0xd1754e[a8_0x346be6(0x133)]=undefined,a8_0xd1754e[a8_0x346be6(0x182)]={},a8_0xd1754e[a8_0x346be6(0x100)]=![],a8_0xd1754e[a8_0x346be6(0xd5)]=null,a8_0xd1754e[a8_0x346be6(0xc7)]=![],a8_0xd1754e[a8_0x346be6(0x182)]['id']=undefined,a8_0xd1754e[a8_0x346be6(0x182)]['testInfo']=undefined;const workerDetails=a8_0xd1754e;global[a8_0x346be6(0x181)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x316ea4){const _0x1f364d=a8_0x346be6,_0x562dc0={'IxbmD':function(_0x432128,_0x987414){return _0x432128(_0x987414);},'aiQjC':_0x1f364d(0x185),'ihMbG':'sendTestLog:\x20No\x20testId\x20found\x20in\x20testInfo'},_0x4aafa9=workerDetails['currentTest'][_0x1f364d(0x176)];if(!_0x4aafa9)return;if(playwrightPatcher)try{const _0x133eed=_0x562dc0[_0x1f364d(0x135)](require,_0x562dc0[_0x1f364d(0x158)]);if(_0x133eed[_0x1f364d(0xf7)]()[_0x1f364d(0x186)]()){const _0x469aa7=_0x4aafa9[_0x1f364d(0x15a)];_0x469aa7?(_0x316ea4[_0x1f364d(0x124)]=_0x469aa7,_0x316ea4[_0x1f364d(0xe2)]=_0x469aa7,TestInfo[_0x1f364d(0x94)](_0x469aa7,_0x316ea4)):logger[_0x1f364d(0x13c)](_0x562dc0[_0x1f364d(0x172)]);return;}}catch(_0xda0e4c){logger[_0x1f364d(0x13c)](_0x1f364d(0x125)+util[_0x1f364d(0x166)](_0xda0e4c));}await MyReporter[_0x1f364d(0xe1)](_0x4aafa9,_0x316ea4);}),registerListeners=()=>{const _0x3777f7=a8_0x346be6,_0x51a189={};_0x51a189['pFfEo']='Inside\x20browserstack\x20registerListeners';const _0x9b9dc8=_0x51a189;logger[_0x3777f7(0x13c)](_0x9b9dc8['pFfEo']),process[_0x3777f7(0xfd)]('bs:addLog:'+process[_0x3777f7(0xef)]),process['on'](_0x3777f7(0x9c)+process[_0x3777f7(0xef)],sendTestLog),PerformanceTester[_0x3777f7(0x10d)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a8_0x346be6(0xed)],After=cucumberModule[a8_0x346be6(0x17c)],AfterAll=cucumberModule['AfterAll'],BeforeAll=cucumberModule[a8_0x346be6(0xf9)],AfterStep=cucumberModule[a8_0x346be6(0xde)],configuration=process[a8_0x346be6(0xee)][a8_0x346be6(0xeb)];if(configuration!==undefined){const config=JSON[a8_0x346be6(0xa6)](configuration);isBrowserstackInfra()?(global['__skipSessionName']=isTrue(config[a8_0x346be6(0xe6)]),global[a8_0x346be6(0x12b)]=isTrue(config[a8_0x346be6(0xbe)])):(global[a8_0x346be6(0xf2)]=!![],global['__skipSessionStatus']=!![]);!helper[a8_0x346be6(0x15d)](a8_0x346be6(0x10f))&&(logger[a8_0x346be6(0x13c)](a8_0x346be6(0x149)),shouldProcessEventForTesthub()?require(a8_0x346be6(0x145))[a8_0x346be6(0x164)](config,null,!![]):require('../../index')[a8_0x346be6(0x164)](config));global[a8_0x346be6(0x114)]=config['platformCaps']||{},global[a8_0x346be6(0xb3)]=config[a8_0x346be6(0x131)];if(helper['getPackageVersion'](a8_0x346be6(0x10f)))try{logger[a8_0x346be6(0x13c)](a8_0x346be6(0x160)),playwrightPatcher=require(a8_0x346be6(0x17b)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a8_0x346be6(0x13c)](a8_0x346be6(0x142));}catch(a8_0x279bfa){logger['debug'](a8_0x346be6(0xf3)+util[a8_0x346be6(0x166)](a8_0x279bfa));}}global[a8_0x346be6(0x187)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule['setDefaultTimeout']=_0x11b800=>{const _0x2a2803=a8_0x346be6,_0x5c5bf9={'jFqbQ':function(_0x1e3d16,_0x5cf750){return _0x1e3d16(_0x5cf750);}};global['__timeout']=_0x11b800,_0x5c5bf9[_0x2a2803(0xe8)](__setDefaultTimeout,_0x11b800);};const a8_0x10d38f={};a8_0x10d38f['name']='bstack',BeforeAll(a8_0x10d38f,async function(){const _0x555af6=a8_0x346be6,_0x579e09={'YSPgs':function(_0x23008c,_0xd06798,_0x264af9,_0x2a9321){return _0x23008c(_0xd06798,_0x264af9,_0x2a9321);},'HmcDh':_0x555af6(0x112),'eXGEA':'\x20|\x20','makTU':function(_0x54d174,_0x5e0e7c,_0x4c9807){return _0x54d174(_0x5e0e7c,_0x4c9807);},'KlWWI':_0x555af6(0xe9),'luqdb':_0x555af6(0xf1),'qusgB':function(_0x458ff0,_0x5ddd1e){return _0x458ff0(_0x5ddd1e);},'kQFjD':_0x555af6(0x185),'qhqAc':_0x555af6(0x10c),'HgGUk':'Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','dYKTJ':function(_0x23f323){return _0x23f323();}};PerformanceTester[_0x555af6(0x10d)](),logger[_0x555af6(0x13c)](_0x579e09['luqdb']),global[_0x555af6(0x18b)]=[],global['__sessionFailed']=![];if(playwrightPatcher)try{const _0x1f6d7d=_0x579e09['qusgB'](require,_0x579e09[_0x555af6(0x167)]),_0x415a73=_0x579e09[_0x555af6(0x154)](require,_0x579e09['qhqAc']);_0x1f6d7d[_0x555af6(0xf7)]()[_0x555af6(0x169)]()&&(logger[_0x555af6(0x13c)](_0x579e09[_0x555af6(0xa9)]),_0x415a73[_0x555af6(0xf5)](FRAMEWORKS[_0x555af6(0x9b)],FRAMEWORKS[_0x555af6(0xd7)]),await _0x1f6d7d[_0x555af6(0xf7)]()[_0x555af6(0x137)]());}catch(_0x43eacf){logger['debug']('Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20'+util[_0x555af6(0x166)](_0x43eacf));}_0x579e09[_0x555af6(0x16a)](shouldProcessEventForTesthub)&&(_0x579e09['dYKTJ'](registerListeners),_0x579e09[_0x555af6(0x154)](addRequestSpy,![])),global['driverCleanup']=async()=>{const _0x235319=_0x555af6;let _0x228d68=![];try{global[_0x235319(0xa0)]&&global[_0x235319(0xa0)][0x0]&&(await global[_0x235319(0xa0)][0x0][_0x235319(0x14c)],_0x228d68=!![],global[_0x235319(0x12f)]?await _0x579e09[_0x235319(0xab)](markSessionStatus,global[_0x235319(0xa0)][0x0],_0x579e09[_0x235319(0xbb)],global[_0x235319(0x18b)][_0x235319(0x13b)](_0x579e09[_0x235319(0xd4)])):await _0x579e09[_0x235319(0x99)](markSessionStatus,global[_0x235319(0xa0)][0x0],_0x579e09['KlWWI']));}catch(_0x3c6143){logger['debug'](_0x235319(0x104)+_0x3c6143);}global[_0x235319(0x18b)]=[],global[_0x235319(0x12f)]=![];if(_0x228d68)try{await global[_0x235319(0xa0)][0x0][_0x235319(0xea)](),global['__drivers'][0x0]['session_'][_0x235319(0x129)](_0x5ee6d9=>{const _0x257cfd=_0x235319;logger[_0x257cfd(0x13c)](_0x257cfd(0xb2)+_0x5ee6d9[_0x257cfd(0x16e)]());})['catch'](_0x31616f=>{const _0x2f16f4=_0x235319;logger[_0x2f16f4(0x13c)](_0x2f16f4(0x14b)+(_0x31616f&&_0x31616f[_0x2f16f4(0x155)]||_0x31616f));});}catch(_0x31b2cf){logger[_0x235319(0x13c)]('Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20'+_0x31b2cf);}};});const a8_0x28efce={};a8_0x28efce[a8_0x346be6(0xac)]='bstack',a8_0x28efce[a8_0x346be6(0x11b)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0x346be6(0x116)],Before(a8_0x28efce,function(_0x48d005,_0x5bf216){const _0x3563b1=a8_0x346be6,_0x5a52f5={'RChyA':function(_0x28e3d4,_0x3e901d){return _0x28e3d4>_0x3e901d;},'qtogw':function(_0x25c7da,_0x2d2d60){return _0x25c7da>_0x2d2d60;},'lokPF':function(_0xc800d5,_0x25c696){return _0xc800d5(_0x25c696);},'RBURr':function(_0x4045e5,_0x1d671c,_0x268377,_0x8e4c41){return _0x4045e5(_0x1d671c,_0x268377,_0x8e4c41);},'PWVgq':_0x3563b1(0xdf),'OinnW':_0x3563b1(0x185),'ShfoH':_0x3563b1(0xc8),'fXLYa':function(_0x5f0917,_0xd343f6){return _0x5f0917(_0xd343f6);},'wOjHb':_0x3563b1(0xec),'AaTWf':'Unknown\x20Test','mhWZv':_0x3563b1(0x152),'gjOWg':function(_0x23cdf8){return _0x23cdf8();},'vGlFx':_0x3563b1(0xb4)};logger['debug'](_0x5a52f5[_0x3563b1(0xf4)]),new Promise(async _0xe1382e=>{const _0x45ecb4=_0x3563b1;try{global['__drivers']&&_0x5a52f5[_0x45ecb4(0x111)](global[_0x45ecb4(0xa0)][_0x45ecb4(0x138)],0x1)&&(await global[_0x45ecb4(0x161)](),global[_0x45ecb4(0xa0)][_0x45ecb4(0x14e)]()),global[_0x45ecb4(0xa0)]&&global[_0x45ecb4(0xa0)][0x0]&&global[_0x45ecb4(0xa0)][0x0]['quitCount_']&&_0x5a52f5[_0x45ecb4(0x117)](global[_0x45ecb4(0xa0)][0x0][_0x45ecb4(0xb1)],0x0)&&await global[_0x45ecb4(0x161)]();}catch(_0x2ca027){logger['debug']('Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20'+_0x2ca027);}workerDetails[_0x45ecb4(0x182)][_0x45ecb4(0x176)]=_0x48d005;if(!playwrightPatcher){try{if(!_0x5a52f5['lokPF'](isUndefined,_0x48d005['pickle'][_0x45ecb4(0xa7)])){const _0x23bc55=_0x5a52f5[_0x45ecb4(0xc3)](shouldScanTestForAccessibility,null,![],_0x48d005['pickle']['tags'][_0x45ecb4(0x14f)](({name:_0x1329ba})=>_0x1329ba));globals[_0x45ecb4(0xb7)](_0x5a52f5[_0x45ecb4(0x12d)],_0x23bc55);}}catch(_0x37430a){logger[_0x45ecb4(0x13c)](_0x45ecb4(0xfb)+util['format'](_0x37430a));}workerDetails['currentTest'][_0x45ecb4(0x119)]=TestDetails['getTestUUID'](_0x48d005[_0x45ecb4(0x15a)]);}if(playwrightPatcher)try{await playwrightPatcher[_0x45ecb4(0x17d)](_0x48d005),global[_0x45ecb4(0x181)]&&global[_0x45ecb4(0x181)][_0x45ecb4(0xd5)]&&playwrightPatcher['patchPageCommandsForAccessibility'](global[_0x45ecb4(0x181)][_0x45ecb4(0xd5)]);}catch(_0x46244c){logger[_0x45ecb4(0x13c)](_0x45ecb4(0xc4)+util[_0x45ecb4(0x166)](_0x46244c));}if(playwrightPatcher)try{const _0x9514d8=_0x5a52f5['lokPF'](require,_0x5a52f5[_0x45ecb4(0x10a)]),_0x50365b=_0x5a52f5['lokPF'](require,_0x5a52f5['ShfoH']),_0x58f68f=_0x5a52f5[_0x45ecb4(0x11d)](require,_0x5a52f5[_0x45ecb4(0x107)]);if(_0x9514d8[_0x45ecb4(0xf7)]()[_0x45ecb4(0x186)]()){const _0x1c18c4={'title':_0x48d005[_0x45ecb4(0x101)][_0x45ecb4(0xac)]||_0x5a52f5[_0x45ecb4(0xdb)],'titlePath':[_0x48d005['pickle'][_0x45ecb4(0xac)]||_0x5a52f5[_0x45ecb4(0xdb)]],'id':_0x48d005[_0x45ecb4(0x15a)]||_0x5a52f5[_0x45ecb4(0x140)],'tags':_0x48d005[_0x45ecb4(0x101)][_0x45ecb4(0xa7)]||[],..._0x48d005},_0x41aced=_0x1c18c4;global['__currentTestInfo']=_0x41aced,logger[_0x45ecb4(0x13c)](_0x45ecb4(0x15c)+_0x48d005[_0x45ecb4(0x101)]['name']);}}catch(_0x45696d){logger[_0x45ecb4(0x13c)](_0x45ecb4(0x162)+util[_0x45ecb4(0x166)](_0x45696d));}_0x5a52f5[_0x45ecb4(0xb9)](_0xe1382e);})['finally'](_0x5bf216);});const a8_0x23b327={};a8_0x23b327[a8_0x346be6(0xac)]='bstack',a8_0x23b327['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0x346be6(0x116)],After(a8_0x23b327,function(_0x4e0d04,_0x420879){const _0x53c1a9=a8_0x346be6,_0x2b0e93={'eWoqP':function(_0xa3776d,_0xdd303b){return _0xa3776d>_0xdd303b;},'JlOSS':function(_0x44e175,_0x59ca72){return _0x44e175===_0x59ca72;},'uuYEB':'failed','tJkvq':function(_0x278a39,_0x243efb){return _0x278a39===_0x243efb;},'MHQSx':function(_0x2d3a00,_0x50c0b6,_0x2f99a9,_0x189938){return _0x2d3a00(_0x50c0b6,_0x2f99a9,_0x189938);},'wXXsk':_0x53c1a9(0x151),'JShbm':function(_0xa2c7b6,_0x1ed604,_0x3efc0f){return _0xa2c7b6(_0x1ed604,_0x3efc0f);},'BsNNw':_0x53c1a9(0xe9),'TCdtw':function(_0x458df4,_0x334760){return _0x458df4(_0x334760);},'tpkIB':_0x53c1a9(0x185),'YsoHO':'../v2/state/automationFrameworkState','RzYos':_0x53c1a9(0xec),'ziqnR':_0x53c1a9(0x108),'uMMBi':_0x53c1a9(0x152),'MGJem':_0x53c1a9(0x17f),'GUNff':_0x53c1a9(0xba),'fvEOO':_0x53c1a9(0xb5),'TCpnW':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','Hrpvk':_0x53c1a9(0xc5),'mGxGK':_0x53c1a9(0xdd),'hLjWd':function(_0x394315){return _0x394315();},'iBVIw':_0x53c1a9(0xf6),'qrned':_0x53c1a9(0xae),'fbSaU':'bstackA11yShouldScan','ykGBI':_0x53c1a9(0xa2),'ztdzX':_0x53c1a9(0x16d),'nMcfy':_0x53c1a9(0xfa),'FNrPn':_0x53c1a9(0xb8),'fpUWS':_0x53c1a9(0xad)};logger[_0x53c1a9(0x13c)](_0x2b0e93['fpUWS']),workerDetails[_0x53c1a9(0x182)][_0x53c1a9(0x176)]=_0x4e0d04,new Promise(async _0x3e5210=>{const _0x269f53=_0x53c1a9;let _0x4a7579=![],_0x3a5c42=![],_0x4c578a=![];try{global['__drivers']&&_0x2b0e93['eWoqP'](global[_0x269f53(0xa0)][_0x269f53(0x138)],0x0)&&(_0x3a5c42=!![]),playwrightPatcher&&global['__workerDetails']&&global['__workerDetails'][_0x269f53(0xd5)]&&(_0x4c578a=!![],logger[_0x269f53(0x13c)](_0x269f53(0x13d)+!!global[_0x269f53(0x181)][_0x269f53(0xd5)]));}catch(_0x5ebf60){logger[_0x269f53(0x13c)](_0x269f53(0xf8)+_0x5ebf60);}logger[_0x269f53(0x13c)](_0x269f53(0xcd)+_0x3a5c42+',\x20isPlaywrightFlow='+_0x4c578a);const _0x209a4e=_0x4e0d04[_0x269f53(0xd6)][_0x269f53(0xa8)]['toString']()[_0x269f53(0x97)](),_0x4564e4=_0x2b0e93[_0x269f53(0xe5)](_0x209a4e,_0x2b0e93['uuYEB'])||_0x2b0e93['tJkvq'](_0x209a4e,'6'),_0xea734b=_0x4564e4?_0x4e0d04[_0x269f53(0xd6)]['message']:null;if(_0x4564e4)try{global['__error_messages__'][_0x269f53(0x11e)](_0x4e0d04[_0x269f53(0xd6)][_0x269f53(0x168)]),global[_0x269f53(0x12f)]=!![];}catch(_0x44e8dd){logger['debug'](_0x269f53(0xcc)+_0x44e8dd);}if(_0x3a5c42)try{global['__drivers']&&_0x2b0e93[_0x269f53(0x132)](global[_0x269f53(0xa0)][_0x269f53(0x138)],0x1)&&(await global[_0x269f53(0x161)](),global['__drivers'][_0x269f53(0x14e)](),global[_0x269f53(0x18b)]=[],global[_0x269f53(0x12f)]=![]),global[_0x269f53(0xa0)]&&global[_0x269f53(0xa0)][0x0]&&(await global[_0x269f53(0xa0)][0x0]['session_'],_0x4a7579=!![],!global[_0x269f53(0xf2)]&&await global[_0x269f53(0xa0)][0x0][_0x269f53(0xb6)]('browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22'+_0x4e0d04[_0x269f53(0x101)][_0x269f53(0xac)]+'\x22}}'),_0x4564e4?await _0x2b0e93['MHQSx'](markSessionStatus,global['__drivers'][0x0],_0x2b0e93['uuYEB'],global[_0x269f53(0x18b)]['join'](_0x2b0e93[_0x269f53(0xbc)])):await _0x2b0e93[_0x269f53(0xd2)](markSessionStatus,global[_0x269f53(0xa0)][0x0],_0x2b0e93[_0x269f53(0x143)]));}catch(_0x196165){logger[_0x269f53(0x13c)](_0x269f53(0x13a)+util[_0x269f53(0x166)](_0x196165));}if(_0x4c578a)try{try{const _0x17c03e=_0x2b0e93[_0x269f53(0x183)](require,_0x2b0e93[_0x269f53(0xe7)]),_0x25b5b7=_0x2b0e93[_0x269f53(0x183)](require,_0x2b0e93[_0x269f53(0xfe)]),_0x22bb6a=_0x2b0e93[_0x269f53(0x183)](require,_0x2b0e93['RzYos']);if(_0x17c03e['getInstance']()['isRunning']()){const _0x25fa30={'title':_0x4e0d04[_0x269f53(0x101)]['name']||_0x2b0e93['ziqnR'],'titlePath':[_0x4e0d04[_0x269f53(0x101)][_0x269f53(0xac)]||_0x2b0e93['ziqnR']],'id':_0x4e0d04[_0x269f53(0x15a)]||_0x2b0e93[_0x269f53(0x177)],'status':_0x4564e4?_0x2b0e93['uuYEB']:_0x2b0e93[_0x269f53(0x143)],'error':_0xea734b?{'message':_0xea734b}:null,'tags':_0x4e0d04[_0x269f53(0x101)][_0x269f53(0xa7)]||[],..._0x4e0d04},_0x39013e=_0x25fa30,_0xd2e29a={};_0xd2e29a[_0x269f53(0x176)]=_0x39013e,_0xd2e29a[_0x269f53(0xce)]=_0x4e0d04,_0xd2e29a[_0x269f53(0xc9)]=global[_0x269f53(0x181)][_0x269f53(0xd5)],_0xd2e29a['testFramework']=FRAMEWORKS['CUCUMBER'],await _0x17c03e['getInstance']()[_0x269f53(0x11f)]()[_0x269f53(0x128)](_0x25b5b7['QUIT'],_0x22bb6a[_0x269f53(0x16b)],_0xd2e29a),logger[_0x269f53(0x13c)]('AutomationFramework\x20QUIT\x20PRE\x20event\x20completed\x20for\x20test:\x20'+_0x4e0d04[_0x269f53(0x101)]['name']);}}catch(_0x505b45){logger['debug'](_0x269f53(0x12a)+util['format'](_0x505b45));}const _0xee55fe=_0x4564e4?_0x2b0e93[_0x269f53(0x121)]:_0x2b0e93['BsNNw'];await playwrightPatcher['afterTestHook'](_0x4e0d04,_0xee55fe,_0xea734b),logger[_0x269f53(0x13c)](_0x2b0e93[_0x269f53(0x96)]);try{await playwrightPatcher[_0x269f53(0x15e)](),logger[_0x269f53(0x13c)](_0x2b0e93['GUNff']);}catch(_0x436fbb){logger[_0x269f53(0x13c)](_0x269f53(0x9f)+util[_0x269f53(0x166)](_0x436fbb));}try{playwrightPatcher['closeTracker'][_0x269f53(0xc6)](),logger[_0x269f53(0x13c)](_0x2b0e93[_0x269f53(0x127)]);}catch(_0x491b1d){logger[_0x269f53(0x13c)]('Error\x20cleaning\x20up\x20close\x20tracker:\x20'+util[_0x269f53(0x166)](_0x491b1d));}}catch(_0x3f861e){logger[_0x269f53(0x13c)](_0x269f53(0x179)+util[_0x269f53(0x166)](_0x3f861e));try{playwrightPatcher['executeDeferredCloses']&&(await playwrightPatcher[_0x269f53(0x15e)](),logger[_0x269f53(0x13c)](_0x2b0e93[_0x269f53(0x15f)])),playwrightPatcher['closeTracker']&&playwrightPatcher['closeTracker'][_0x269f53(0xc6)]&&(playwrightPatcher[_0x269f53(0xff)][_0x269f53(0xc6)](),logger[_0x269f53(0x13c)](_0x2b0e93[_0x269f53(0x178)]));}catch(_0x2a3da3){logger[_0x269f53(0x13c)]('Error\x20in\x20fallback\x20cleanup:\x20'+util[_0x269f53(0x166)](_0x2a3da3));}}const _0x43657e=_0x2b0e93[_0x269f53(0x183)](require,_0x2b0e93['mGxGK']);if(!_0x43657e[_0x269f53(0xf7)]()[_0x269f53(0x186)]())try{if(_0x2b0e93['hLjWd'](shouldProcessEventForTesthub)){const _0x10baf5=TestDetails[_0x269f53(0x16c)](_0x4e0d04[_0x269f53(0x15a)]);let _0x5cb939=null;global[_0x269f53(0xa0)]&&global[_0x269f53(0xa0)][0x0]&&(_0x5cb939=await _0x2b0e93[_0x269f53(0xbf)](sendPlatformDetails,global['__drivers'][0x0],_0x10baf5,!![]));const _0x2af7d0={};_0x2af7d0[_0x269f53(0x124)]=_0x10baf5,_0x2af7d0[_0x269f53(0xdc)]=_0x5cb939;const _0x4e2b55=_0x2af7d0,_0x1fc5e5={};_0x1fc5e5['event_type']=_0x2b0e93[_0x269f53(0x173)],_0x1fc5e5[_0x269f53(0x17a)]=_0x4e2b55,await SessionHandler['uploadEventData'](_0x1fc5e5);}}catch(_0x3a8e03){logger[_0x269f53(0x13c)](_0x269f53(0x11a)+util['format'](_0x3a8e03));}try{if(globals[_0x269f53(0x17e)](_0x2b0e93[_0x269f53(0x11c)])&&globals[_0x269f53(0x17e)](_0x2b0e93['fbSaU'])){logger[_0x269f53(0x13f)](_0x2b0e93['ykGBI']);const _0x4dca59=TestDetails[_0x269f53(0x16c)](_0x4e0d04[_0x269f53(0x15a)]),_0x2c5038={};_0x2c5038[_0x269f53(0x119)]=_0x4dca59,_0x2c5038['thBuildUuid']=process[_0x269f53(0xee)][testHubConstants['ENV_VAR'][_0x269f53(0x95)]],_0x2c5038[_0x269f53(0xd1)]=process[_0x269f53(0xee)][testHubConstants[_0x269f53(0x134)][_0x269f53(0x10b)]];const _0x7850b8=_0x2c5038;logger[_0x269f53(0x13c)](_0x269f53(0x109)+JSON[_0x269f53(0xda)](_0x7850b8)),logger['debug'](_0x2b0e93['ztdzX']),global[_0x269f53(0xa0)]&&global[_0x269f53(0xa0)][0x0]&&(logger[_0x269f53(0x13c)](util[_0x269f53(0x166)](await global[_0x269f53(0xa0)][0x0][_0x269f53(0x12e)](scripts[_0x269f53(0x156)],{'method':global[_0x269f53(0x13e)]}))),globals[_0x269f53(0x17e)](_0x2b0e93[_0x269f53(0x147)])&&(_0x7850b8[_0x269f53(0xf0)]=!![]),await global[_0x269f53(0xa0)][0x0][_0x269f53(0x12e)](scripts['saveTestResults'],_0x7850b8)),logger[_0x269f53(0x13f)](_0x2b0e93[_0x269f53(0x141)]);}}catch(_0x9b6730){logger[_0x269f53(0xc0)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util['format'](_0x9b6730));}if(_0x4a7579)try{global[_0x269f53(0xa0)][0x0]&&_0x2b0e93['eWoqP'](global[_0x269f53(0xa0)][0x0]['quitCount_'],0x0)&&await global[_0x269f53(0xa0)][0x0][_0x269f53(0xea)]();}catch(_0x5be801){logger[_0x269f53(0x13c)](_0x269f53(0x189)+_0x5be801);}_0x2b0e93['hLjWd'](_0x3e5210);})[_0x53c1a9(0x159)](()=>_0x420879());});function a8_0xe487(_0x1594a0,_0x4d5afb){const _0x234371=a8_0x2343();return a8_0xe487=function(_0xe48777,_0x1d6742){_0xe48777=_0xe48777-0x94;let _0x927ca7=_0x234371[_0xe48777];return _0x927ca7;},a8_0xe487(_0x1594a0,_0x4d5afb);}function a8_0x2343(){const _0x548ec9=['qrned','fXLYa','push','getAutomationFramework','util','uuYEB','10022452vDYucU','Inside\x20browserstack\x20AfterStep','uuid','Error\x20sending\x20log\x20created\x20event:\x20','@cucumber/cucumber','fvEOO','trackEvent','then','Error\x20triggering\x20AutomationFramework\x20QUIT\x20PRE\x20event:\x20','__skipSessionStatus','../../helpers/test-observability/sessionHandler','PWVgq','executeAsyncScript','__sessionFailed','nXCXR','platformIndex','eWoqP','workerInfo','ENV_VAR','IxbmD','stopMonitoring','bootstrap','length',',\x22level\x22:\x20\x22','Error:\x20at\x20After\x20(Selenium):\x20','join','debug','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','browserstackSessionName','info','mhWZv','FNrPn','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','BsNNw','../../helpers/test-observability/requestQueueHandler','../../index','Cleaned\x20up\x20Playwright\x20close\x20tracker','nMcfy','catch','Patching\x20Selenium','KTwGj','driver\x20session\x20resolution\x20failed\x20during\x20cleanup:\x20','session_','15044RRmmCY','shift','map','../../helpers/test-observability/error-handler','\x20|\x20','cucumber-test','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','qusgB','stack','performScan','73404VktSFw','aiQjC','finally','testCaseStartedId','105ZpEuEh','Test\x20info\x20prepared\x20for\x20CREATE\x20PRE\x20event:\x20','getPackageVersion','executeDeferredCloses','TCpnW','Patching\x20Playwright','driverCleanup','Error\x20triggering\x20AutomationFramework\x20events:\x20','../../helpers/testhub/utils','browserstackAgentV2','../../helpers/test-observability/utils','format','kQFjD','message','isCliEnabled','dYKTJ','PRE','getTestUUID','Performing\x20scan\x20before\x20saving\x20results','getId','@cucumber/cucumber/lib/index.js','Kpsrg','85014DzZQYg','ihMbG','iBVIw','../../helpers/setKeepAlive','pEgvG','testInfo','uMMBi','Hrpvk','Error:\x20at\x20After\x20(Playwright):\x20','test_run','../utils/playwright-patcher','After','beforeTestHook','getGlobal','Completed\x20Playwright\x20afterTestHook\x20execution','cucumber-js','__workerDetails','currentTest','TCdtw','wKRDw','../v2/browserstackCLI','isRunning','__timeout','toString','Error:\x20quiting\x20driver\x20at\x20After:\x20','OjgQf','__error_messages__','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','storeLogObjects','BROWSERSTACK_TESTHUB_UUID','MGJem','toLowerCase','XJRYT','makTU','lodash','CUCUMBER','bs:addLog:','\x22}}','xnEqt','Error\x20executing\x20deferred\x20closes:\x20','__drivers','hRrtX','Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','pickleStep','../../helpers/globals','../playwright/reporter/test-details.js','parse','tags','status','HgGUk','Failed:\x20','YSPgs','name','Inside\x20browserstack\x20After','isAccessibilityPlatform','../../helpers/logger','../utils/constants','quitCount_','Error:\x20in\x20quitting\x20driver\x20','browserstackPlatformIndex','Inside\x20browserstack\x20Before','Cleaned\x20up\x20close\x20tracker','executeScript','setGlobal','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','gjOWg','Executed\x20deferred\x20closes\x20after\x20QUIT\x20PRE\x20event\x20completion','HmcDh','wXXsk','../../helpers/accessibility-automation/scripts','skipSessionStatus','MHQSx','error','RrPJy','80spYTUC','RBURr','Error\x20in\x20playwright\x20beforeTestHook:\x20','Executed\x20fallback\x20close\x20tracker\x20cleanup\x20after\x20error','cleanup','isPageFixture','../v2/state/automationFrameworkState','page','3|4|0|2|1','vSZNc','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Flow\x20detection:\x20isSeleniumFlow=','scenario','Passed','bstack','thJwtToken','JShbm','wYAwQ','eXGEA','pwPage','result','PLAYWRIGHT','../../helpers/accessibility-automation/helper','Inside\x20browserstack\x20AfterAll','stringify','AaTWf','integrations','../v2/browserstackCLI.js','AfterStep','bstackA11yShouldScan','11lZnbuj','addTestUIDAndReportLog','test_run_uuid','206361CDIYqv','../v2/TestInfo.js','JlOSS','skipSessionName','tpkIB','jFqbQ','passed','initQuit','CONFIG','../v2/state/hookState','Before','env','pid','is_mobile_session','Inside\x20browserstack\x20BeforeAll','__skipSessionName','Error\x20initializing\x20Playwright\x20patching:\x20','vGlFx','setFrameworkDetail','CBTSessionCreated','getInstance','Error\x20determining\x20test\x20flow:\x20','BeforeAll','isMobilePlatform','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','installAll','removeAllListeners','YsoHO','closeTracker','o11ySyncDone','pickle','zQoIJ','321JrhhkE','Error:\x20cleaning\x20up\x20driver:\x20','XJYfB','EDhWp','wOjHb','Unknown\x20Test','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','OinnW','BROWSERSTACK_TESTHUB_JWT','../v2/cliUtils','startMonitoring','3013472hIjJRM','@playwright/test','text','RChyA','failed','2669758UcxnsP','__platformCaps','uTSTC','Cucumber-JS','qtogw','split','thTestRunUuid','Error:\x20sendPlatformDetails\x20at\x20After:\x20','timeout'];a8_0x2343=function(){return _0x548ec9;};return a8_0x2343();}const a8_0x28f61c={};a8_0x28f61c['name']=a8_0x346be6(0xd0),a8_0x28f61c['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterStep(a8_0x28f61c,function(_0x447a5d,_0x41fcb1){const _0x2f4cb4=a8_0x346be6,_0x150a3d={'zQoIJ':function(_0x4fe5ad,_0x5b6374){return _0x4fe5ad===_0x5b6374;},'QHVlb':_0x2f4cb4(0x112),'XJRYT':function(_0x3f6fb0,_0x7b6654){return _0x3f6fb0===_0x7b6654;},'WiXVT':function(_0x50a12e,_0x156d06){return _0x50a12e!==_0x156d06;},'hRrtX':function(_0x3dc298,_0x419ed7,_0xb9d833){return _0x3dc298(_0x419ed7,_0xb9d833);},'RrPJy':function(_0x34e712,_0x2e99b1){return _0x34e712+_0x2e99b1;},'Kpsrg':function(_0x3e1a65,_0x33286b){return _0x3e1a65+_0x33286b;},'uTSTC':function(_0x101bb4,_0x4bd46a){return _0x101bb4+_0x4bd46a;},'pEgvG':_0x2f4cb4(0xaa),'xnEqt':'\x0aError:\x20','wYAwQ':'error','nXCXR':function(_0x26f858,_0x34781e,_0x149b29){return _0x26f858(_0x34781e,_0x149b29);},'LPjra':function(_0x3c6865,_0x2f441f){return _0x3c6865!==_0x2f441f;},'wKRDw':'Passed:\x20','EDhWp':_0x2f4cb4(0x13f),'KTwGj':_0x2f4cb4(0xcf),'JjVUA':function(_0xd29aec){return _0xd29aec();},'XJYfB':_0x2f4cb4(0x123)};logger[_0x2f4cb4(0x13c)](_0x150a3d[_0x2f4cb4(0x105)]);const _0x38c249=async(_0x432b4c,_0x2c83ea)=>{const _0x13a1e0=_0x2f4cb4;global[_0x13a1e0(0xa0)]&&global[_0x13a1e0(0xa0)][0x0]&&await global['__drivers'][0x0][_0x13a1e0(0xb6)](_0x13a1e0(0x153)+_0x432b4c+_0x13a1e0(0x139)+_0x2c83ea+_0x13a1e0(0x9d));};new Promise(async _0x455bf1=>{const _0x312a60=_0x2f4cb4;try{const _0x3af5a8=_0x150a3d[_0x312a60(0x102)](_0x447a5d[_0x312a60(0xd6)][_0x312a60(0xa8)][_0x312a60(0x188)]()[_0x312a60(0x97)](),_0x150a3d['QHVlb'])||_0x150a3d[_0x312a60(0x98)](_0x447a5d[_0x312a60(0xd6)][_0x312a60(0xa8)][_0x312a60(0x188)]()['toLowerCase'](),'6');_0x3af5a8?(global['__sessionFailed']=!![],global[_0x312a60(0x18b)][_0x312a60(0x11e)](_0x447a5d[_0x312a60(0xd6)][_0x312a60(0x168)]),_0x150a3d['WiXVT'](_0x447a5d[_0x312a60(0xa3)],undefined)?await _0x150a3d[_0x312a60(0xa1)](_0x38c249,JSON[_0x312a60(0xda)](_0x150a3d[_0x312a60(0xc1)](_0x150a3d[_0x312a60(0x170)](_0x150a3d[_0x312a60(0x115)](_0x150a3d[_0x312a60(0x175)],'\x22'+_0x447a5d[_0x312a60(0xa3)]['text']+'\x22\x20'),_0x150a3d[_0x312a60(0x9e)]),_0x447a5d[_0x312a60(0xd6)][_0x312a60(0x168)])),_0x150a3d[_0x312a60(0xd3)]):await _0x150a3d[_0x312a60(0x130)](_0x38c249,JSON[_0x312a60(0xda)](_0x150a3d[_0x312a60(0x170)](_0x150a3d['pEgvG'],_0x447a5d[_0x312a60(0xd6)][_0x312a60(0x168)])),_0x150a3d['wYAwQ'])):_0x150a3d['LPjra'](_0x447a5d['pickleStep'],undefined)?await _0x150a3d[_0x312a60(0x130)](_0x38c249,JSON[_0x312a60(0xda)](_0x150a3d[_0x312a60(0xc1)](_0x150a3d[_0x312a60(0x184)],'\x22'+_0x447a5d['pickleStep'][_0x312a60(0x110)]+'\x22')),_0x150a3d[_0x312a60(0x106)]):await _0x150a3d[_0x312a60(0x130)](_0x38c249,JSON[_0x312a60(0xda)](_0x150a3d[_0x312a60(0x14a)]),_0x150a3d[_0x312a60(0x106)]),global['__drivers']&&global[_0x312a60(0xa0)][0x0]&&global[_0x312a60(0xa0)][0x0][_0x312a60(0x14c)]['then'](_0x1dcc1f=>{})[_0x312a60(0x148)](_0x18d08d=>{logger['debug']('Error:\x20in\x20After\x20Step\x20for\x20driver\x20'+util['format'](_0x18d08d));});}catch(_0x3798f0){logger[_0x312a60(0x13c)]('Error:\x20at\x20After\x20Step:\x20'+_0x3798f0);}_0x150a3d['JjVUA'](_0x455bf1);})[_0x2f4cb4(0x159)](()=>_0x41fcb1());});const a8_0x5d2c17={};a8_0x5d2c17['name']='bstack',a8_0x5d2c17[a8_0x346be6(0x11b)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a8_0x346be6(0x116)],AfterAll(a8_0x5d2c17,async function(_0x54ecc9,_0x4ff4c9){const _0x3ed7c2=a8_0x346be6,_0x1b954c={'ChJKF':_0x3ed7c2(0xca),'qzhdy':_0x3ed7c2(0x146),'OjgQf':function(_0x206653){return _0x206653();},'vSZNc':_0x3ed7c2(0xd9)};logger['debug'](_0x1b954c[_0x3ed7c2(0xcb)]),await new Promise(async _0x41b0a1=>{const _0x5986cb=_0x3ed7c2,_0xdfdf9d=_0x1b954c['ChJKF'][_0x5986cb(0x118)]('|');let _0x531312=0x0;while(!![]){switch(_0xdfdf9d[_0x531312++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0x5986cb(0x15e)]&&(await playwrightPatcher[_0x5986cb(0x15e)](),playwrightPatcher[_0x5986cb(0xff)]&&playwrightPatcher[_0x5986cb(0xff)][_0x5986cb(0xc6)](),logger[_0x5986cb(0x13c)](_0x1b954c['qzhdy']));}catch(_0x208e6f){logger[_0x5986cb(0x13c)](_0x5986cb(0x18c)+util[_0x5986cb(0x166)](_0x208e6f));}continue;case'1':_0x1b954c[_0x5986cb(0x18a)](_0x41b0a1);continue;case'2':await global['driverCleanup']();continue;case'3':await RequestQueueHandler[_0x5986cb(0xf7)]()['shutdown']();continue;case'4':PerformanceTester[_0x5986cb(0x136)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9_0xf44843=a9_0x36d0;function a9_0x36d0(_0x5a18f4,_0x204a5a){const _0x5d8686=a9_0x5d86();return a9_0x36d0=function(_0x36d043,_0x1715b8){_0x36d043=_0x36d043-0xe3;let _0x329236=_0x5d8686[_0x36d043];return _0x329236;},a9_0x36d0(_0x5a18f4,_0x204a5a);}(function(_0x357fcb,_0x596fa0){const _0xc99502=a9_0x36d0,_0x556fdf=_0x357fcb();while(!![]){try{const _0x6b0078=parseInt(_0xc99502(0x118))/0x1+parseInt(_0xc99502(0x114))/0x2+-parseInt(_0xc99502(0xfc))/0x3*(parseInt(_0xc99502(0x116))/0x4)+parseInt(_0xc99502(0xf6))/0x5*(parseInt(_0xc99502(0x100))/0x6)+-parseInt(_0xc99502(0x10e))/0x7*(-parseInt(_0xc99502(0x11a))/0x8)+parseInt(_0xc99502(0x111))/0x9*(parseInt(_0xc99502(0xfb))/0xa)+parseInt(_0xc99502(0x113))/0xb*(-parseInt(_0xc99502(0xe7))/0xc);if(_0x6b0078===_0x596fa0)break;else _0x556fdf['push'](_0x556fdf['shift']());}catch(_0x57b9d4){_0x556fdf['push'](_0x556fdf['shift']());}}}(a9_0x5d86,0x2f25b));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a9_0xf44843(0xfe)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a9_0xf44843(0x108),a9_0xf44843(0xff)),logger=require(a9_0xf44843(0x10d))['winstonLogger'];modifyCommand(),setKeepAlive();const Before=cucumberModule[a9_0xf44843(0x119)],After=cucumberModule['After'],configuration=process[a9_0xf44843(0xeb)]['CONFIG'];if(configuration!==undefined){const config=JSON[a9_0xf44843(0xe9)](configuration);isTrue(config[a9_0xf44843(0xf9)])&&(global['__skipSessionName']=!![]),global[a9_0xf44843(0xfa)]=isTrue(config[a9_0xf44843(0x104)]),require(a9_0xf44843(0xe4))[a9_0xf44843(0x115)](config),global[a9_0xf44843(0xe5)]=config[a9_0xf44843(0xf4)]||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a9_0xf44843(0x11b)];cucumberModule[a9_0xf44843(0x11b)]=_0x43d39c=>{const _0x43d7b6=a9_0xf44843,_0x5d2241={'TXDlP':function(_0x4fa5a6,_0x3d6256){return _0x4fa5a6(_0x3d6256);}};global[_0x43d7b6(0x112)]=_0x43d39c,_0x5d2241[_0x43d7b6(0x105)](__setDefaultTimeout,_0x43d39c);};function a9_0x5d86(){const _0x13160d=['25570NggQlp','3HWzfjP','PQIDv','../../helpers/helper','cucumber','12eczqKt','Inside\x20browserstack\x20After','result','pickle','skipSessionStatus','TXDlP','yOAEQ','name','cucumber/lib/index.js','initQuit','stringify','SCraW','bstack','../../helpers/logger','7HkAUbG','session_','setSessionName','783UCrxZk','__timeout','775071nloPmh','274796MKsABV','browserstackAgentV2','1073496hOmuwM','QfEat','34570hRffhd','Before','1813816mzzKxp','setDefaultTimeout','\x20|\x20','join','tvLbS','timeout','passed','../../index','__platformCaps','failed','84mCgzVX','Error:\x20quiting\x20at\x20After:\x20','parse','__skipSessionName','env','hvtYU','action','Error:\x20setting\x20status\x20at\x20After:\x20','vvveX','__driver','ZPtLU','__error_messages__','MJpAw','platformCaps','Inside\x20browserstack\x20Before','833905OSNtxT','executeScript','debug','skipSessionName','__skipSessionStatus'];a9_0x5d86=function(){return _0x13160d;};return a9_0x5d86();}const a9_0x317d79={};a9_0x317d79[a9_0xf44843(0x107)]=a9_0xf44843(0x10c),Before(a9_0x317d79,function(){const _0x37813f=a9_0xf44843,_0x479149={};_0x479149[_0x37813f(0xec)]=_0x37813f(0xf5);const _0x25a719=_0x479149;logger[_0x37813f(0xf8)](_0x25a719[_0x37813f(0xec)]),global[_0x37813f(0xf2)]=[];});const a9_0x4c859a={};a9_0x4c859a[a9_0xf44843(0x107)]=a9_0xf44843(0x10c),a9_0x4c859a[a9_0xf44843(0x11f)]=0x2710,After(a9_0x4c859a,function(_0xb40a91,_0x2e88aa){const _0x4f8826=a9_0xf44843,_0x4e7425={'SCraW':_0x4f8826(0x110),'tvLbS':function(_0x1346e3,_0x33dca9){return _0x1346e3===_0x33dca9;},'ZPtLU':_0x4f8826(0xe6),'yOAEQ':function(_0x35fd98,_0x29b66a,_0x4d6ef9,_0x50e0e1){return _0x35fd98(_0x29b66a,_0x4d6ef9,_0x50e0e1);},'QfEat':_0x4f8826(0x11c),'zemkG':function(_0x116073,_0x871b11,_0x437dd7){return _0x116073(_0x871b11,_0x437dd7);},'vvveX':_0x4f8826(0xe3),'MJpAw':function(_0x511cf7){return _0x511cf7();},'PQIDv':function(_0x39ff29,_0x4301ec){return _0x39ff29(_0x4301ec);},'HkUXt':_0x4f8826(0x101)};logger[_0x4f8826(0xf8)](_0x4e7425['HkUXt']),new Promise(async(_0xa52f52,_0xe824e6)=>{const _0xf4d02=_0x4f8826;let _0x221a39=![];try{await global['__driver'][_0xf4d02(0x10f)],_0x221a39=!![];if(!global[_0xf4d02(0xea)]){const _0x69d4f7={};_0x69d4f7[_0xf4d02(0x107)]=_0xb40a91[_0xf4d02(0x103)][_0xf4d02(0x107)];const _0x1c2172={};_0x1c2172[_0xf4d02(0xed)]=_0x4e7425[_0xf4d02(0x10b)],_0x1c2172['arguments']=_0x69d4f7;const _0x114211=_0x1c2172;await global[_0xf4d02(0xf0)][_0xf4d02(0xf7)]('browserstack_executor:\x20'+JSON[_0xf4d02(0x10a)](_0x114211));}_0x4e7425[_0xf4d02(0x11e)](_0xb40a91[_0xf4d02(0x102)]['status']['toLowerCase'](),_0x4e7425[_0xf4d02(0xf1)])?await _0x4e7425[_0xf4d02(0x106)](markSessionStatus,global[_0xf4d02(0xf0)],_0x4e7425[_0xf4d02(0xf1)],global['__error_messages__'][_0xf4d02(0x11d)](_0x4e7425[_0xf4d02(0x117)])):await _0x4e7425['zemkG'](markSessionStatus,global[_0xf4d02(0xf0)],_0x4e7425[_0xf4d02(0xef)]);}catch(_0x19f183){logger[_0xf4d02(0xf8)](_0xf4d02(0xee)+_0x19f183);}if(_0x221a39)try{await global[_0xf4d02(0xf0)][_0xf4d02(0x109)](),_0x4e7425[_0xf4d02(0xf3)](_0xa52f52);}catch(_0x24d2b8){logger[_0xf4d02(0xf8)](_0xf4d02(0xe8)+_0x24d2b8),_0x4e7425[_0xf4d02(0xfd)](_0xe824e6,_0x24d2b8);}else _0x4e7425['MJpAw'](_0xe824e6);})['then'](()=>_0x2e88aa());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10_0x420940=a10_0x1584;(function(_0x8c2bbc,_0x2b0e0b){const _0x4dd21b=a10_0x1584,_0x5653c7=_0x8c2bbc();while(!![]){try{const _0xef065d=-parseInt(_0x4dd21b(0xe6))/0x1+-parseInt(_0x4dd21b(0xd8))/0x2*(-parseInt(_0x4dd21b(0xe3))/0x3)+parseInt(_0x4dd21b(0xe1))/0x4+parseInt(_0x4dd21b(0xdf))/0x5*(parseInt(_0x4dd21b(0xd6))/0x6)+parseInt(_0x4dd21b(0xde))/0x7+parseInt(_0x4dd21b(0xe5))/0x8+-parseInt(_0x4dd21b(0xe2))/0x9;if(_0xef065d===_0x2b0e0b)break;else _0x5653c7['push'](_0x5653c7['shift']());}catch(_0x146256){_0x5653c7['push'](_0x5653c7['shift']());}}}(a10_0x3da7,0x8e78f));const {requireModule}=require(a10_0x420940(0xdc)),constants=require(a10_0x420940(0xd9));let cucumberModule=null;function a10_0x1584(_0x3d3006,_0x3cb49b){const _0x3da786=a10_0x3da7();return a10_0x1584=function(_0x1584cd,_0x17df10){_0x1584cd=_0x1584cd-0xd6;let _0x501807=_0x3da786[_0x1584cd];return _0x501807;},a10_0x1584(_0x3d3006,_0x3cb49b);}try{cucumberModule=requireModule('@cucumber/cucumber/lib/index.js',a10_0x420940(0xd7));}catch(a10_0x23a092){cucumberModule=requireModule(a10_0x420940(0xe4),a10_0x420940(0xdd));}const userValue=global[a10_0x420940(0xda)]||0x0;function a10_0x3da7(){const _0x4757c3=['5RcwYHf','setDefaultTimeout','1055260EkfWzr','11596923QzHsjV','2934393dwcESc','cucumber/lib/index.js','1233408NZPjcp','1095659Rupvsz','3735948qkwnVa','@cucumber/cucumber','2dehKPm','../utils/constants','__timeout','BSTACK_DELTA','../../helpers/helper','cucumber','6642951AfwGNH'];a10_0x3da7=function(){return _0x4757c3;};return a10_0x3da7();}(userValue===0x0||userValue<constants[a10_0x420940(0xdb)])&&cucumberModule[a10_0x420940(0xe0)](constants[a10_0x420940(0xdb)]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a11_0x42af60=a11_0x559a;(function(_0x2b7fcb,_0xeb1712){const _0x3156a7=a11_0x559a,_0x19a4fb=_0x2b7fcb();while(!![]){try{const _0x22db70=parseInt(_0x3156a7(0xcc))/0x1+parseInt(_0x3156a7(0xd5))/0x2+-parseInt(_0x3156a7(0xb8))/0x3*(-parseInt(_0x3156a7(0xe4))/0x4)+parseInt(_0x3156a7(0xf5))/0x5*(parseInt(_0x3156a7(0xe9))/0x6)+parseInt(_0x3156a7(0xce))/0x7*(-parseInt(_0x3156a7(0xee))/0x8)+-parseInt(_0x3156a7(0xc9))/0x9*(parseInt(_0x3156a7(0xc8))/0xa)+parseInt(_0x3156a7(0xde))/0xb*(parseInt(_0x3156a7(0xb4))/0xc);if(_0x22db70===_0xeb1712)break;else _0x19a4fb['push'](_0x19a4fb['shift']());}catch(_0x23cb2d){_0x19a4fb['push'](_0x19a4fb['shift']());}}}(a11_0x1c38,0xedfed));function a11_0x559a(_0x17d431,_0x34ac42){const _0x1c38a0=a11_0x1c38();return a11_0x559a=function(_0x559a13,_0xeb9245){_0x559a13=_0x559a13-0xb3;let _0x4c04d5=_0x1c38a0[_0x559a13];return _0x4c04d5;},a11_0x559a(_0x17d431,_0x34ac42);}const {default:BrowserStackSetup}=require(a11_0x42af60(0xfc)),logger=require(a11_0x42af60(0xc6))[a11_0x42af60(0xdc)],{URL}=require(a11_0x42af60(0xf4)),helper=require('../../helpers/helper'),{HELP_MESSAGES,ERROR_MESSAGES}=require(a11_0x42af60(0xb9)),validHosts=function(_0x5c0b78){const _0xc3e126=a11_0x42af60;return _0x5c0b78['split'](',')[_0xc3e126(0xb3)](_0x4c7716=>{const _0x40e7b4=_0xc3e126;try{new URL(_0x4c7716[_0x40e7b4(0xcf)]());}catch(_0x1d9b9e){return![];}return!![];});},parseOnPremHosts=function(_0x1ab50a){const _0x41704e=a11_0x42af60,_0x1b279f={};_0x1b279f['yFJBG']=function(_0x1a0aa2,_0x18e1fd){return _0x1a0aa2===_0x18e1fd;},_0x1b279f[_0x41704e(0xd4)]=_0x41704e(0xda),_0x1b279f[_0x41704e(0xdd)]=_0x41704e(0xe0),_0x1b279f[_0x41704e(0xbc)]=_0x41704e(0xbf);const _0x4eccc8=_0x1b279f;return _0x1ab50a[_0x41704e(0xca)](',')['map'](_0x1a9049=>{const _0xd50f8c=_0x41704e,_0x250d2e=new URL(_0x1a9049[_0xd50f8c(0xcf)]()),_0x3e7bcb=_0x250d2e[_0xd50f8c(0xcb)],_0x105484=_0x250d2e['port']||(_0x4eccc8[_0xd50f8c(0xdb)](_0x250d2e[_0xd50f8c(0xd7)],_0x4eccc8[_0xd50f8c(0xd4)])?_0x4eccc8[_0xd50f8c(0xdd)]:'80'),_0x2b940f=_0x250d2e[_0xd50f8c(0xd7)][_0xd50f8c(0xf2)](':',''),_0x1c60e0=_0x4eccc8[_0xd50f8c(0xdb)](_0x2b940f,_0x4eccc8[_0xd50f8c(0xbc)])?0x1:0x0;return _0x3e7bcb+','+_0x105484+','+_0x1c60e0;});},connectCommandBuilder=function(_0x531958){const _0x304a7c=a11_0x42af60,_0x5babaa={};_0x5babaa[_0x304a7c(0xd2)]=_0x304a7c(0xc2);const _0x400abf=_0x5babaa,_0x57f7a2={};_0x57f7a2['describe']=HELP_MESSAGES[_0x304a7c(0xed)][_0x304a7c(0xcd)],_0x57f7a2[_0x304a7c(0xe3)]=_0x400abf[_0x304a7c(0xd2)];const _0x5c22d9={};_0x5c22d9[_0x304a7c(0xd3)]=HELP_MESSAGES[_0x304a7c(0xed)][_0x304a7c(0xc3)],_0x5c22d9[_0x304a7c(0xe3)]=_0x400abf[_0x304a7c(0xd2)],_0x5c22d9[_0x304a7c(0xf6)]=!![];const _0x1f8a36={};return _0x1f8a36[_0x304a7c(0xbe)]=_0x57f7a2,_0x1f8a36[_0x304a7c(0xc3)]=_0x5c22d9,_0x531958[_0x304a7c(0xed)](_0x1f8a36);},connectCommandHandler=async function(_0x4e655d){const _0x4e3acb=a11_0x42af60,_0x4d9b1b={'QtSiR':_0x4e3acb(0xeb),'lqdQE':function(_0x260ff3,_0xf5510){return _0x260ff3===_0xf5510;},'OtOnT':_0x4e3acb(0xf0),'tXhqf':_0x4e3acb(0xe6),'PvDip':'Integration\x20hosts\x20missing.','ZATwI':function(_0x3b8b30,_0x2c40a9){return _0x3b8b30(_0x2c40a9);},'ZeCxO':_0x4e3acb(0xe7),'MFcku':'integrations-repeater','pPGOv':'Connection\x20established\x20successfully.','pXToe':_0x4e3acb(0xbd)};try{const _0x42d6f5=new BrowserStackSetup(_0x4e655d,_0x4d9b1b[_0x4e3acb(0xe5)]);_0x4e655d['bstackAccesskey']&&(_0x42d6f5[_0x4e3acb(0xbb)][_0x4e3acb(0xf8)]=_0x4e655d['bstackAccesskey']);if(_0x4d9b1b[_0x4e3acb(0xd8)](typeof _0x42d6f5[_0x4e3acb(0xbb)][_0x4e3acb(0xf8)],_0x4d9b1b[_0x4e3acb(0xc0)])){logger[_0x4e3acb(0xb7)](_0x4d9b1b[_0x4e3acb(0xef)]);throw new Error(ERROR_MESSAGES[_0x4e3acb(0xcd)][_0x4e3acb(0xe8)]);}const _0x486278=_0x4e655d[_0x4e3acb(0xc3)];if(_0x4d9b1b[_0x4e3acb(0xd8)](typeof _0x486278,_0x4d9b1b[_0x4e3acb(0xc0)])){logger[_0x4e3acb(0xb7)](_0x4d9b1b[_0x4e3acb(0xf7)]);throw new Error(ERROR_MESSAGES[_0x4e3acb(0xc3)]['missing']);}if(!_0x4d9b1b[_0x4e3acb(0xea)](validHosts,_0x486278)){logger[_0x4e3acb(0xb7)](_0x4d9b1b[_0x4e3acb(0xc4)]);throw new Error(ERROR_MESSAGES['hosts'][_0x4e3acb(0xd6)]);}const _0x22c04c=_0x4d9b1b[_0x4e3acb(0xea)](parseOnPremHosts,_0x486278);_0x42d6f5[_0x4e3acb(0xbb)][_0x4e3acb(0xfb)]=!![],_0x42d6f5[_0x4e3acb(0xbb)][_0x4e3acb(0xf3)][_0x4e3acb(0xf1)]=_0x4d9b1b[_0x4e3acb(0xe2)],_0x42d6f5[_0x4e3acb(0xbb)][_0x4e3acb(0xf3)][_0x4e3acb(0xc5)]=_0x22c04c[_0x4e3acb(0xd0)](','),helper[_0x4e3acb(0xc1)](_0x42d6f5[_0x4e3acb(0xbb)]),await _0x42d6f5[_0x4e3acb(0xec)](),logger['info'](_0x4d9b1b['pPGOv']);}catch(_0x2023db){logger[_0x4e3acb(0xb7)](_0x4d9b1b[_0x4e3acb(0xdf)]);throw new Error(_0x2023db[_0x4e3acb(0xb5)]());}};function run(_0x4c6f57){const _0x2127b5=a11_0x42af60,_0x3c7f89={};_0x3c7f89[_0x2127b5(0xba)]='connect',_0x3c7f89[_0x2127b5(0xb6)]='help';const _0x5b3442=_0x3c7f89;_0x4c6f57[_0x2127b5(0xd1)](HELP_MESSAGES[_0x2127b5(0xf9)]['root'])[_0x2127b5(0xf9)](_0x5b3442[_0x2127b5(0xba)],HELP_MESSAGES[_0x2127b5(0xf9)][_0x2127b5(0xd9)],connectCommandBuilder,connectCommandHandler)['demandCommand']()[_0x2127b5(0xe1)](_0x5b3442[_0x2127b5(0xb6)])[_0x2127b5(0xfa)](HELP_MESSAGES[_0x2127b5(0xf9)][_0x2127b5(0xc7)]);}module['exports']=run;function a11_0x1c38(){const _0xa9af96=['browserstackLocal','../../helpers/BrowserStackSetup','every','67476stJhln','toString','nWsos','error','2576325mHXNyE','./constants','jsmJu','config','eAmrD','Failed\x20to\x20establish\x20connection.','bstack-accesskey','https','OtOnT','setProxySettings','string','hosts','ZeCxO','only','../../helpers/logger','footer','10IvKxIu','15324462TFhYAv','split','hostname','1131118xZZIfd','bstackAccessKey','28wOAzrh','trim','join','usage','swomz','describe','ASNSu','725662iTNYic','invalid','protocol','lqdQE','connect','https:','yFJBG','winstonLogger','EWVQZ','803jJYQgl','pXToe','443','help','MFcku','type','4oSnfig','QtSiR','BrowserStack\x20access\x20key\x20missing.','Hosts\x20not\x20valid','missing','4997676bLXjOu','ZATwI','integrations','setupBrowserstackLocal','options','3503096pTUHYp','tXhqf','undefined','localIdentifier','replace','browserStackLocalOptions','url','10joypIP','demandOption','PvDip','accessKey','command','epilogue'];a11_0x1c38=function(){return _0xa9af96;};return a11_0x1c38();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12_0x52ceb9=a12_0x2469;(function(_0x14af45,_0x16803f){var _0xec3b1b=a12_0x2469,_0x366c2f=_0x14af45();while(!![]){try{var _0x1bd561=parseInt(_0xec3b1b(0x107))/0x1+parseInt(_0xec3b1b(0x10d))/0x2*(parseInt(_0xec3b1b(0x101))/0x3)+parseInt(_0xec3b1b(0xfa))/0x4+parseInt(_0xec3b1b(0x10c))/0x5+-parseInt(_0xec3b1b(0x102))/0x6+parseInt(_0xec3b1b(0xf7))/0x7*(parseInt(_0xec3b1b(0x100))/0x8)+-parseInt(_0xec3b1b(0x10e))/0x9;if(_0x1bd561===_0x16803f)break;else _0x366c2f['push'](_0x366c2f['shift']());}catch(_0xe2a597){_0x366c2f['push'](_0x366c2f['shift']());}}}(a12_0x51f8,0xd1103));var a12_0x590346={};a12_0x590346[a12_0x52ceb9(0xfe)]=a12_0x52ceb9(0xf5),a12_0x590346[a12_0x52ceb9(0xf8)]='This\x20option\x20allows\x20you\x20to\x20provide\x20additional\x20configuration\x20specific\x20to\x20your\x20environment.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.';function a12_0x51f8(){var _0x2523f2=['1461177kAuKLo','BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','missing','Integration\x20hosts\x20are\x20not\x20in\x20the\x20right\x20format.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','connect','4784885VSBvyc','1082906NQstSH','27597537EtDVYn','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','root','7JsvYLe','hosts','command','3974884KikTqo','HELP_MESSAGES','ERROR_MESSAGES','footer','bstackAccessKey','invalid','511448KMdgNO','3ARwMcf','567258csxwBS','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','options'];a12_0x51f8=function(){return _0x2523f2;};return a12_0x51f8();}var a12_0x1263aa={};a12_0x1263aa[a12_0x52ceb9(0xf6)]=a12_0x52ceb9(0x103),a12_0x1263aa[a12_0x52ceb9(0x10b)]=a12_0x52ceb9(0x105),a12_0x1263aa[a12_0x52ceb9(0xfd)]='Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.';function a12_0x2469(_0x14f294,_0x428e34){var _0x51f8da=a12_0x51f8();return a12_0x2469=function(_0x2469e9,_0x435508){_0x2469e9=_0x2469e9-0xf5;var _0x49253b=_0x51f8da[_0x2469e9];return _0x49253b;},a12_0x2469(_0x14f294,_0x428e34);}var a12_0x19ec7b={};a12_0x19ec7b[a12_0x52ceb9(0x106)]=a12_0x590346,a12_0x19ec7b[a12_0x52ceb9(0xf9)]=a12_0x1263aa,exports[a12_0x52ceb9(0xfb)]=a12_0x19ec7b;var a12_0x549f99={};a12_0x549f99['missing']=a12_0x52ceb9(0x108);var a12_0x4455c1={};a12_0x4455c1[a12_0x52ceb9(0x109)]=a12_0x52ceb9(0x104),a12_0x4455c1[a12_0x52ceb9(0xff)]=a12_0x52ceb9(0x10a);var a12_0x1c8798={};a12_0x1c8798['bstackAccessKey']=a12_0x549f99,a12_0x1c8798[a12_0x52ceb9(0xf8)]=a12_0x4455c1,exports[a12_0x52ceb9(0xfc)]=a12_0x1c8798;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const a13_0x2c784e=a13_0x8702;function a13_0x3868(){const _0x10f6e8=['reverse','4967829kxKLWy','message','DJStJ','started_at','TestRunSkipped','uploadEventData','trim','passed','VHqsl','Dgjlq','matcherName','jrHTD','Spec\x20failed','status','lang','nNEJg','ZSFZF','cnzzX','failure_reason_expanded','fileNameByFullName','exports','ViXHY','_suitesById','bQLDg','AaVBh','stack','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','fullName','mxnmO','MncYF','8lFFIUj','relative','expanded','length','number','code','rPDWH','drSAs','TestRunStarted','description','snUVU','duration','failure_backtrace','UQtgz','gZpdw','endsWith','sep','split','actual','testObservability','add','jasmineStarted','failure','\x20:\x20','Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20','_findGitConfig','WfBLr','suiteStarted','../../../helpers/test-observability/utils','IKXMv','209748EFVuOu','fwmwj','sQTpL','QXuGt','1482815EqRQtt','err','XHZik','javascript','specDone','../../../helpers/test-observability/sessionHandler','jasmineDone','prefixTestPath','toISOString','853578dQjmWP','6HfGcpe','mbrRw','delete','_scopes','get','statSync','push','match','pLJgT','_collapseFailedExpectations','sBUcK','AssertionError','pboEQ','436480CWSJGt','expected','failed','GCZJO','_fileNameByFullName','Jasmine','JQtap','path','skipped','HyBKo','appendTesthubParams','3138877WnqiOe','mhKKW','PuLTi','_paths','_resolveFilePath','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','JBBOp','join','../testRunMap','keys','vnTjn','YHdwt','File\x20path\x20could\x20not\x20be\x20found','.git','GBNow','dirname','503068WQgLNn','has','JJgOA','BLfnV','filename','remove','config','Exception\x20in\x20jasmine\x20specDone\x20for\x20','MMXbB','set','setCurrentTestData','cwd','FVOLe','aeoUt','_sendSpecEvent','JASMINE','parentSuiteId','specStarted','gFsxu','lIrwu','BqEJt','pending','shouldProcessEventForTesthub','slice','excluded','LBjoF','../../../helpers/testhub/utils','isArray'];a13_0x3868=function(){return _0x10f6e8;};return a13_0x3868();}(function(_0x5b81be,_0x3c245c){const _0x1f05d6=a13_0x8702,_0x5133a7=_0x5b81be();while(!![]){try{const _0x25bd3c=-parseInt(_0x1f05d6(0xad))/0x1+parseInt(_0x1f05d6(0xc8))/0x2+-parseInt(_0x1f05d6(0xba))/0x3+parseInt(_0x1f05d6(0xe3))/0x4+parseInt(_0x1f05d6(0xb1))/0x5*(parseInt(_0x1f05d6(0xbb))/0x6)+-parseInt(_0x1f05d6(0xd3))/0x7+-parseInt(_0x1f05d6(0x11e))/0x8*(-parseInt(_0x1f05d6(0x100))/0x9);if(_0x25bd3c===_0x3c245c)break;else _0x5133a7['push'](_0x5133a7['shift']());}catch(_0xf40093){_0x5133a7['push'](_0x5133a7['shift']());}}}(a13_0x3868,0x3d00a));const path=require(a13_0x2c784e(0xcf)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a13_0x2c784e(0xfd)),{FRAMEWORKS}=require('../../../helpers/test-observability/constants'),SessionHandler=require(a13_0x2c784e(0xb6)),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x2c784e(0xab)),testRunMap=require(a13_0x2c784e(0xdb)),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0x2c784e(0xcd),a13_0x1775b7={};function a13_0x8702(_0x472755,_0x26bc13){const _0x386843=a13_0x3868();return a13_0x8702=function(_0x870224,_0x564323){_0x870224=_0x870224-0x91;let _0x3f5b91=_0x386843[_0x870224];return _0x3f5b91;},a13_0x8702(_0x472755,_0x26bc13);}a13_0x1775b7[a13_0x2c784e(0x107)]=a13_0x2c784e(0x107),a13_0x1775b7['failed']=a13_0x2c784e(0xca),a13_0x1775b7['pending']=a13_0x2c784e(0xf8),a13_0x1775b7['excluded']=a13_0x2c784e(0xd0);const STATUS_MAP=a13_0x1775b7;class BrowserStackJasmineReporter{constructor(_0x24e368={}){const _0x1b6211=a13_0x2c784e,_0x22ad68={'snUVU':function(_0x22bd6f){return _0x22bd6f();}};this[_0x1b6211(0xa2)]=_0x22ad68[_0x1b6211(0x99)](isTestObservabilitySession),this[_0x1b6211(0xd6)]=new PathHelper({'cwd':process[_0x1b6211(0xee)]()},undefined),this[_0x1b6211(0xcc)]=_0x24e368&&_0x24e368[_0x1b6211(0x113)]||{},this[_0x1b6211(0x116)]=new Map();}[a13_0x2c784e(0xa4)](){}[a13_0x2c784e(0xaa)](_0x5e722f){const _0x222920=a13_0x2c784e,_0x28df70={'lvWYW':function(_0x108b3c,_0x1a5a29){return _0x108b3c!==_0x1a5a29;},'JJgOA':function(_0xc888a2,_0x2ee259){return _0xc888a2(_0x2ee259);}};try{_0x5e722f&&_0x28df70['lvWYW'](_0x5e722f['id'],undefined)&&_0x28df70['lvWYW'](_0x5e722f['id'],null)&&this[_0x222920(0x116)]['set'](_0x5e722f['id'],{'description':_0x5e722f[_0x222920(0x98)],'parentSuiteId':_0x5e722f['parentSuiteId']});}catch(_0x50517b){_0x28df70[_0x222920(0xe5)](debug,_0x222920(0xa7)+(_0x5e722f&&_0x5e722f[_0x222920(0x11b)])+_0x222920(0xa6)+_0x50517b);}}[a13_0x2c784e(0xf4)](_0x6c0bb8){const _0x41ffaa=a13_0x2c784e,_0x4935ba={'LBjoF':function(_0x731657,_0x52ffca){return _0x731657!==_0x52ffca;},'sBUcK':function(_0x1afc42){return _0x1afc42();},'ViXHY':_0x41ffaa(0x97),'JQtap':function(_0x216306,_0x2f4aee){return _0x216306(_0x2f4aee);}};try{if(_0x4935ba[_0x41ffaa(0xfc)](testhubUtils[_0x41ffaa(0xf9)](),!![]))return;const _0x90a11e=_0x4935ba[_0x41ffaa(0xc5)](uuidv4);testRunMap[_0x41ffaa(0xec)](_0x6c0bb8['id'],_0x90a11e),this[_0x41ffaa(0xf1)](_0x6c0bb8,_0x90a11e,_0x4935ba[_0x41ffaa(0x115)]);}catch(_0x4ff563){_0x4935ba[_0x41ffaa(0xce)](debug,_0x41ffaa(0xd8)+(_0x6c0bb8&&_0x6c0bb8[_0x41ffaa(0x11b)])+_0x41ffaa(0xa6)+_0x4ff563);}}[a13_0x2c784e(0xb5)](_0x47a0a1){const _0x3e0bcf=a13_0x2c784e,_0x12626e={'sQTpL':function(_0x5cb269,_0x5f14ed){return _0x5cb269!==_0x5f14ed;},'vnTjn':function(_0x5cf5fa){return _0x5cf5fa();},'nNEJg':function(_0x7b323f,_0x3fc729){return _0x7b323f===_0x3fc729;},'YHdwt':_0x3e0bcf(0xfb),'gFsxu':_0x3e0bcf(0x104),'ZSFZF':'TestRunFinished','pboEQ':function(_0x59ccee,_0x2023f0){return _0x59ccee(_0x2023f0);}};try{if(_0x12626e[_0x3e0bcf(0xaf)](testhubUtils[_0x3e0bcf(0xf9)](),!![]))return;const _0x135271=testRunMap[_0x3e0bcf(0xbf)](_0x47a0a1['id'])||_0x12626e[_0x3e0bcf(0xdd)](uuidv4),_0x39b10c=_0x12626e[_0x3e0bcf(0x10f)](_0x47a0a1[_0x3e0bcf(0x10d)],_0x12626e[_0x3e0bcf(0xde)])?_0x12626e[_0x3e0bcf(0xf5)]:_0x12626e[_0x3e0bcf(0x110)];this[_0x3e0bcf(0xf1)](_0x47a0a1,_0x135271,_0x39b10c);}catch(_0x3ed405){_0x12626e[_0x3e0bcf(0xc7)](debug,_0x3e0bcf(0xea)+(_0x47a0a1&&_0x47a0a1[_0x3e0bcf(0x11b)])+_0x3e0bcf(0xa6)+_0x3ed405);}finally{_0x47a0a1&&(testRunMap[_0x3e0bcf(0xe8)](_0x47a0a1['id']),_specStartTimes[_0x3e0bcf(0xbd)](_0x47a0a1['id']));}}['suiteDone'](){}[a13_0x2c784e(0xb7)](){}[a13_0x2c784e(0xf1)](_0x4c2e7e,_0x50dd5f,_0x1d84c6){const _0x457128=a13_0x2c784e,_0x5b2a21={'JBBOp':function(_0x126223,_0x3324fb){return _0x126223===_0x3324fb;},'XHZik':'TestRunFinished','MncYF':function(_0x5ef0c0,_0x3d7bc9){return _0x5ef0c0===_0x3d7bc9;},'bQLDg':_0x457128(0x104),'nMhpz':_0x457128(0xdf),'drSAs':function(_0x439fd2,_0x4d5798,_0x2862ba){return _0x439fd2(_0x4d5798,_0x2862ba);},'PHPkC':_0x457128(0xb2),'GBNow':_0x457128(0x97),'MMXbB':function(_0x51f1bf,_0xbc940c){return _0x51f1bf!==_0xbc940c;},'fEBVN':function(_0x19fee0,_0x407be7){return _0x19fee0!==_0x407be7;},'fwmwj':_0x457128(0xb4),'cnzzX':function(_0x197a32,_0x21a302){return _0x197a32&&_0x21a302;},'GCZJO':function(_0xc6a600,_0x292d95){return _0xc6a600===_0x292d95;},'EFzgC':_0x457128(0xd0),'mbrRw':_0x457128(0x107),'gZpdw':function(_0x513b04,_0x3b2c26){return _0x513b04===_0x3b2c26;},'VHqsl':_0x457128(0x93),'sevii':_0x457128(0xc6),'IKXMv':'UnhandledError','VeajV':_0x457128(0x103),'pLJgT':'finished_at','PuLTi':_0x457128(0xa5),'FVOLe':_0x457128(0x9b),'PnvBZ':'backtrace','jrHTD':_0x457128(0x112),'lIrwu':_0x457128(0x91),'Dgjlq':function(_0x36a094,_0x5ae29a){return _0x36a094(_0x5ae29a);}};try{const _0x54df1b=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xb3)])||_0x5b2a21[_0x457128(0x11d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)]),_0x427ff3=this[_0x457128(0xd7)](_0x4c2e7e),_0x27670d=_0x427ff3?this[_0x457128(0xd6)][_0x457128(0xb8)](_0x427ff3):_0x5b2a21['nMhpz'],_0x1b7086=_0x427ff3?this[_0x457128(0xa8)](path[_0x457128(0xe2)](_0x427ff3)):null,_0x485c4d=this['_collapseFailedExpectations'](_0x4c2e7e['failedExpectations']),_0x10147b=_0x485c4d?_0x485c4d[_0x457128(0x101)]:undefined,_0xb74a71=_0x485c4d?_0x5b2a21[_0x457128(0x96)](failureData,_0x485c4d,_0x5b2a21['PHPkC']):[],_0x3f591e=new Date()[_0x457128(0xb9)](),_0x4f2b4b=this[_0x457128(0xbe)](_0x4c2e7e);_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])&&_0x4c2e7e&&_0x5b2a21[_0x457128(0xeb)](_0x4c2e7e['id'],undefined)&&_0x5b2a21['fEBVN'](_0x4c2e7e['id'],null)&&_specStartTimes[_0x457128(0xec)](_0x4c2e7e['id'],_0x3f591e);const _0xec6b7=_0x5b2a21[_0x457128(0xd9)](_0x1d84c6,_0x5b2a21[_0x457128(0xe1)])?_0x3f591e:_0x4c2e7e&&_specStartTimes[_0x457128(0xbf)](_0x4c2e7e['id'])||null,_0x2a0f7f={};_0x2a0f7f[_0x457128(0x10e)]=_0x5b2a21[_0x457128(0xae)],_0x2a0f7f[_0x457128(0x94)]=null;const _0x32d45d={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x50dd5f,'name':_0x4c2e7e['description'],'body':_0x2a0f7f,'scope':_0x4f2b4b['join']('\x20'),'scopes':_0x4f2b4b,'identifier':_0x4c2e7e[_0x457128(0x11b)],'file_name':_0x27670d,'vc_filepath':_0x5b2a21[_0x457128(0x111)](_0x1b7086,_0x427ff3)?path[_0x457128(0x11f)](_0x1b7086,_0x427ff3):null,'location':_0x27670d,'result':_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['EFzgC']:STATUS_MAP[_0x4c2e7e['status']]||_0x5b2a21[_0x457128(0xbc)],'failure_reason':_0x10147b,'duration_in_ms':_0x5b2a21[_0x457128(0x9d)](typeof _0x4c2e7e['duration'],_0x5b2a21[_0x457128(0x108)])?_0x4c2e7e[_0x457128(0x9a)]:null,'started_at':_0xec6b7,'finished_at':_0x54df1b?_0x3f591e:null,'failure':_0xb74a71,'failure_type':!_0x10147b?null:_0x10147b[_0x457128(0xc2)](/AssertionError/)?_0x5b2a21['sevii']:_0x5b2a21[_0x457128(0xac)],'retry_of':null};_0x5b2a21[_0x457128(0xcb)](_0x1d84c6,_0x5b2a21['bQLDg'])&&!_0x32d45d[_0x5b2a21['VeajV']]&&(_0x32d45d[_0x5b2a21['VeajV']]=_0x32d45d[_0x5b2a21[_0x457128(0xc3)]]);const _0x39d079=_0x32d45d[_0x5b2a21[_0x457128(0xd5)]][0x0];_0x39d079&&(_0x32d45d[_0x5b2a21[_0x457128(0xef)]]=_0x39d079[_0x5b2a21['PnvBZ']],_0x32d45d[_0x5b2a21[_0x457128(0x10b)]]=_0x39d079[_0x5b2a21[_0x457128(0xf6)]]);testhubUtils[_0x457128(0xd2)](_0x32d45d,_0x1d84c6,_0x4c2e7e,FRAMEWORKS[_0x457128(0xf2)]);const _0x50ec41={'event_type':_0x5b2a21[_0x457128(0x9d)](_0x1d84c6,_0x5b2a21[_0x457128(0x117)])?_0x5b2a21['XHZik']:_0x1d84c6,'test_run':_0x32d45d};return testhubUtils[_0x457128(0xed)](FRAMEWORKS[_0x457128(0xf2)],_0x50ec41),SessionHandler[_0x457128(0x105)](_0x50ec41);}catch(_0x22f023){_0x5b2a21[_0x457128(0x109)](debug,'Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20'+_0x1d84c6+'\x20:\x20'+_0x22f023);}}[a13_0x2c784e(0xbe)](_0x429083){const _0x25dfcb=a13_0x2c784e,_0x350b57={'UQtgz':function(_0x23c5c7,_0x126a67){return _0x23c5c7!==_0x126a67;},'BLfnV':function(_0x31fdd5,_0x7a59f8){return _0x31fdd5>_0x7a59f8;},'BqEJt':function(_0xb6595d,_0x369f7a){return _0xb6595d(_0x369f7a);},'DJStJ':function(_0x481023,_0x2f0f67){return _0x481023-_0x2f0f67;}};try{const _0x65bc82=[];let _0x28c6ef=_0x429083&&_0x429083[_0x25dfcb(0xf3)];const _0x3ef907=new Set();while(_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,undefined)&&_0x350b57[_0x25dfcb(0x9c)](_0x28c6ef,null)&&this['_suitesById'][_0x25dfcb(0xe4)](_0x28c6ef)&&!_0x3ef907['has'](_0x28c6ef)){_0x3ef907[_0x25dfcb(0xa3)](_0x28c6ef);const _0x219dda=this[_0x25dfcb(0x116)][_0x25dfcb(0xbf)](_0x28c6ef);_0x219dda&&_0x219dda[_0x25dfcb(0x98)]&&_0x65bc82[_0x25dfcb(0xc1)](_0x219dda[_0x25dfcb(0x98)]),_0x28c6ef=_0x219dda?_0x219dda[_0x25dfcb(0xf3)]:null;}if(_0x350b57[_0x25dfcb(0xe6)](_0x65bc82[_0x25dfcb(0x92)],0x0))return _0x65bc82[_0x25dfcb(0xff)]();}catch(_0x1f61c9){_0x350b57[_0x25dfcb(0xf7)](debug,_0x25dfcb(0x11a)+(_0x429083&&_0x429083[_0x25dfcb(0x11b)])+_0x25dfcb(0xa6)+_0x1f61c9);}const _0x424d72=_0x429083&&_0x429083[_0x25dfcb(0x11b)]||'',_0x4b64ad=_0x429083&&_0x429083[_0x25dfcb(0x98)]||'';let _0x176e67=_0x424d72;return _0x4b64ad&&_0x424d72[_0x25dfcb(0x9e)](_0x4b64ad)&&(_0x176e67=_0x424d72[_0x25dfcb(0xfa)](0x0,_0x350b57[_0x25dfcb(0x102)](_0x424d72['length'],_0x4b64ad['length']))[_0x25dfcb(0x106)]()),_0x176e67?_0x176e67[_0x25dfcb(0xa0)](/\s+/):[];}['_resolveFilePath'](_0x51f8fb){const _0x4c2b87=a13_0x2c784e,_0x371e76={};_0x371e76['FKNSs']=function(_0x19df12,_0xbec75a){return _0x19df12===_0xbec75a;},_0x371e76[_0x4c2b87(0xd1)]=function(_0x4c4979,_0x2eabf2){return _0x4c4979+_0x2eabf2;},_0x371e76[_0x4c2b87(0x118)]=function(_0x26ecb9,_0x12c82d){return _0x26ecb9>_0x12c82d;};const _0x270560=_0x371e76;if(_0x51f8fb&&_0x51f8fb[_0x4c2b87(0xe7)])return _0x51f8fb[_0x4c2b87(0xe7)];if(_0x51f8fb&&_0x51f8fb['fullName']){if(this[_0x4c2b87(0xcc)][_0x51f8fb['fullName']])return this[_0x4c2b87(0xcc)][_0x51f8fb[_0x4c2b87(0x11b)]];let _0x24487b=null,_0x1e2223=-0x1;for(const _0x2495c9 of Object[_0x4c2b87(0xdc)](this['_fileNameByFullName'])){(_0x270560['FKNSs'](_0x51f8fb[_0x4c2b87(0x11b)],_0x2495c9)||_0x51f8fb[_0x4c2b87(0x11b)]['startsWith'](_0x270560[_0x4c2b87(0xd1)](_0x2495c9,'\x20')))&&_0x270560[_0x4c2b87(0x118)](_0x2495c9['length'],_0x1e2223)&&(_0x24487b=this[_0x4c2b87(0xcc)][_0x2495c9],_0x1e2223=_0x2495c9['length']);}if(_0x24487b)return _0x24487b;}return null;}[a13_0x2c784e(0xc4)](_0x39792f){const _0xff73ec=a13_0x2c784e,_0x33e3ba={};_0x33e3ba['mxnmO']=function(_0x5713a5,_0x141d25){return _0x5713a5===_0x141d25;},_0x33e3ba[_0xff73ec(0xf0)]=_0xff73ec(0x10c);const _0x1bf935=_0x33e3ba;if(!Array[_0xff73ec(0xfe)](_0x39792f)||_0x1bf935[_0xff73ec(0x11c)](_0x39792f[_0xff73ec(0x92)],0x0))return undefined;const _0x2bd3d4=[],_0x1b35cc=[];for(const _0x1b890e of _0x39792f){_0x1b890e&&_0x1b890e[_0xff73ec(0x101)]&&_0x2bd3d4[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x101)]),_0x1b890e&&_0x1b890e[_0xff73ec(0x119)]&&_0x1b35cc[_0xff73ec(0xc1)](_0x1b890e[_0xff73ec(0x119)]);}const _0x48ea1b=_0x39792f[0x0]||{},_0x4045a7=_0x2bd3d4[_0xff73ec(0xda)]('\x0a')||_0x48ea1b[_0xff73ec(0x101)]||_0x1bf935[_0xff73ec(0xf0)],_0x55dd6a=_0x1b35cc['join']('\x0a\x0a')||_0x48ea1b[_0xff73ec(0x119)]||_0x4045a7,_0x56a771={};return _0x56a771[_0xff73ec(0x101)]=_0x4045a7,_0x56a771['stack']=_0x55dd6a,_0x56a771[_0xff73ec(0x10a)]=_0x48ea1b[_0xff73ec(0x10a)],_0x56a771[_0xff73ec(0xc9)]=_0x48ea1b[_0xff73ec(0xc9)],_0x56a771[_0xff73ec(0xa1)]=_0x48ea1b[_0xff73ec(0xa1)],_0x56a771;}[a13_0x2c784e(0xa8)](_0x2bbdd9){const _0x59fc78=a13_0x2c784e,_0x17889e={};_0x17889e[_0x59fc78(0xb0)]=function(_0xf08dc0,_0x3d66bd){return _0xf08dc0===_0x3d66bd;},_0x17889e[_0x59fc78(0xd4)]=function(_0x5b75eb,_0x30a439){return _0x5b75eb===_0x30a439;},_0x17889e['rPDWH']=_0x59fc78(0xe0),_0x17889e[_0x59fc78(0xa9)]=_0x59fc78(0xe9);const _0x5e2b4a=_0x17889e,_0x506f28=path[_0x59fc78(0x9f)];if(_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,null)||_0x5e2b4a[_0x59fc78(0xd4)](_0x2bbdd9,'')||_0x5e2b4a['mhKKW'](_0x2bbdd9,_0x506f28)||_0x5e2b4a[_0x59fc78(0xb0)](_0x2bbdd9,path[_0x59fc78(0xe2)](_0x2bbdd9)))return null;try{return fs[_0x59fc78(0xc0)](path['join'](_0x2bbdd9,_0x5e2b4a[_0x59fc78(0x95)],_0x5e2b4a[_0x59fc78(0xa9)])),_0x2bbdd9;}catch(_0x50c4f2){return this['_findGitConfig'](path[_0x59fc78(0xe2)](_0x2bbdd9));}}}module[a13_0x2c784e(0x114)]=BrowserStackJasmineReporter;
|
|
1
|
+
'use strict';const a13_0x131871=a13_0x558c;(function(_0x310691,_0x2d2c8f){const _0x5e18e8=a13_0x558c,_0x33209f=_0x310691();while(!![]){try{const _0x2b04d4=-parseInt(_0x5e18e8(0x128))/0x1+-parseInt(_0x5e18e8(0x118))/0x2*(parseInt(_0x5e18e8(0x119))/0x3)+-parseInt(_0x5e18e8(0x150))/0x4+-parseInt(_0x5e18e8(0xfb))/0x5*(-parseInt(_0x5e18e8(0x137))/0x6)+parseInt(_0x5e18e8(0x156))/0x7+-parseInt(_0x5e18e8(0x12a))/0x8+-parseInt(_0x5e18e8(0xf5))/0x9*(-parseInt(_0x5e18e8(0xf4))/0xa);if(_0x2b04d4===_0x2d2c8f)break;else _0x33209f['push'](_0x33209f['shift']());}catch(_0x59876f){_0x33209f['push'](_0x33209f['shift']());}}}(a13_0x28b5,0x8f3cf));const path=require(a13_0x131871(0x108)),fs=require('fs'),{v4:uuidv4}=require('uuid'),testhubUtils=require(a13_0x131871(0xe2)),{FRAMEWORKS}=require(a13_0x131871(0x154)),SessionHandler=require('../../../helpers/test-observability/sessionHandler'),{isTestObservabilitySession,PathHelper,debug,failureData}=require(a13_0x131871(0xfe)),testRunMap=require('../testRunMap'),_specStartTimes=new Map(),JASMINE_FRAMEWORK_LABEL=a13_0x131871(0xec),a13_0x5697cd={};function a13_0x558c(_0x360e19,_0x109001){const _0x28b5e0=a13_0x28b5();return a13_0x558c=function(_0x558c74,_0x25ae61){_0x558c74=_0x558c74-0xd6;let _0x409246=_0x28b5e0[_0x558c74];return _0x409246;},a13_0x558c(_0x360e19,_0x109001);}a13_0x5697cd[a13_0x131871(0x12f)]=a13_0x131871(0x12f),a13_0x5697cd[a13_0x131871(0x136)]='failed',a13_0x5697cd[a13_0x131871(0x14a)]='pending',a13_0x5697cd[a13_0x131871(0xf3)]=a13_0x131871(0x14b);const STATUS_MAP=a13_0x5697cd;class BrowserStackJasmineReporter{constructor(_0xf4cfa5={}){const _0x5e6790=a13_0x131871,_0x194274={'SKoSf':function(_0x387c1a){return _0x387c1a();}};this[_0x5e6790(0xe4)]=_0x194274[_0x5e6790(0x10c)](isTestObservabilitySession),this[_0x5e6790(0xf9)]=new PathHelper({'cwd':process[_0x5e6790(0x157)]()},undefined),this[_0x5e6790(0x111)]=_0xf4cfa5&&_0xf4cfa5[_0x5e6790(0xff)]||{},this[_0x5e6790(0x13f)]=new Map();}['jasmineStarted'](){}['suiteStarted'](_0x818a69){const _0x12a4ce=a13_0x131871,_0x3c6e74={'Sesbb':function(_0xb7e3b3,_0x2cfdf9){return _0xb7e3b3!==_0x2cfdf9;},'gAGdE':function(_0x444fb5,_0x59dcce){return _0x444fb5(_0x59dcce);}};try{_0x818a69&&_0x3c6e74[_0x12a4ce(0xf7)](_0x818a69['id'],undefined)&&_0x3c6e74['Sesbb'](_0x818a69['id'],null)&&this[_0x12a4ce(0x13f)][_0x12a4ce(0x125)](_0x818a69['id'],{'description':_0x818a69[_0x12a4ce(0xd7)],'parentSuiteId':_0x818a69['parentSuiteId']});}catch(_0x17da57){_0x3c6e74[_0x12a4ce(0x146)](debug,'Exception\x20in\x20jasmine\x20suiteStarted\x20for\x20'+(_0x818a69&&_0x818a69[_0x12a4ce(0xe7)])+_0x12a4ce(0xef)+_0x17da57);}}[a13_0x131871(0x14e)](_0xfb0209){const _0x50370b=a13_0x131871,_0x59a100={'fXYyU':function(_0x2f4160,_0x16f60e){return _0x2f4160!==_0x16f60e;},'uivEP':function(_0x554732){return _0x554732();},'djyxE':'TestRunStarted','AIwNA':function(_0x218e4c,_0x45894){return _0x218e4c(_0x45894);}};try{if(_0x59a100[_0x50370b(0xde)](testhubUtils[_0x50370b(0x133)](),!![]))return;const _0x36004b=_0x59a100[_0x50370b(0xe0)](uuidv4);testRunMap[_0x50370b(0x125)](_0xfb0209['id'],_0x36004b),this[_0x50370b(0x155)](_0xfb0209,_0x36004b,_0x59a100[_0x50370b(0x153)]);}catch(_0xfdb938){_0x59a100['AIwNA'](debug,_0x50370b(0x149)+(_0xfb0209&&_0xfb0209['fullName'])+'\x20:\x20'+_0xfdb938);}}['specDone'](_0x1bc421){const _0x59a1e1=a13_0x131871,_0x3734a6={'nmwXl':function(_0x170290,_0x5202bf){return _0x170290!==_0x5202bf;},'vvQVH':function(_0x204664){return _0x204664();},'UqLzA':function(_0x30de74,_0x100db9){return _0x30de74===_0x100db9;},'TVXrS':_0x59a1e1(0xf3),'UaGvQ':_0x59a1e1(0x10e),'yCeIV':_0x59a1e1(0xdc),'CCsFm':function(_0x1d815e,_0x5832d8){return _0x1d815e(_0x5832d8);}};try{if(_0x3734a6[_0x59a1e1(0x15c)](testhubUtils[_0x59a1e1(0x133)](),!![]))return;const _0x455e2a=testRunMap['get'](_0x1bc421['id'])||_0x3734a6[_0x59a1e1(0x139)](uuidv4),_0x2d9a85=_0x3734a6[_0x59a1e1(0x100)](_0x1bc421[_0x59a1e1(0x152)],_0x3734a6[_0x59a1e1(0x141)])?_0x3734a6[_0x59a1e1(0xdd)]:_0x3734a6['yCeIV'];this['_sendSpecEvent'](_0x1bc421,_0x455e2a,_0x2d9a85);}catch(_0xd4faff){_0x3734a6[_0x59a1e1(0x113)](debug,_0x59a1e1(0x12d)+(_0x1bc421&&_0x1bc421[_0x59a1e1(0xe7)])+_0x59a1e1(0xef)+_0xd4faff);}finally{_0x1bc421&&(testRunMap[_0x59a1e1(0x15a)](_0x1bc421['id']),_specStartTimes['delete'](_0x1bc421['id']));}}[a13_0x131871(0x11f)](){}['jasmineDone'](){}[a13_0x131871(0x155)](_0x10c2c4,_0x509d9a,_0xb71abf){const _0x270180=a13_0x131871,_0xd10bd1={'supmG':function(_0x201f76,_0x1f4dab){return _0x201f76===_0x1f4dab;},'CNJMB':_0x270180(0xdc),'bMyOO':_0x270180(0x10e),'hZkcH':_0x270180(0xdf),'bSuBp':function(_0x3baeb5,_0x1ce10a,_0x12fbbd){return _0x3baeb5(_0x1ce10a,_0x12fbbd);},'mVpwS':'err','xacMq':function(_0x2fe083,_0xe1be45){return _0x2fe083===_0xe1be45;},'bWtBI':_0x270180(0x103),'jZYGV':function(_0x13a517,_0x1c3a76){return _0x13a517!==_0x1c3a76;},'EgVcw':function(_0x542eef,_0x1c8b14){return _0x542eef!==_0x1c8b14;},'MqqRK':_0x270180(0x107),'zktns':function(_0x3cd6b8,_0x3ec170){return _0x3cd6b8&&_0x3ec170;},'KiHoV':_0x270180(0x14b),'xwvSB':_0x270180(0x12f),'UPLAw':function(_0xa3e08f,_0xcb451f){return _0xa3e08f===_0xcb451f;},'gnINF':'number','BKMmI':'AssertionError','sHDGE':_0x270180(0xe5),'FfMtG':'started_at','GJkrj':_0x270180(0xee),'nkqFV':_0x270180(0xd9),'aJjHn':_0x270180(0x106),'NZzHv':_0x270180(0x159),'LajAs':_0x270180(0x11c),'cPFhP':'expanded','RzpeL':function(_0x1da408,_0x3f6513){return _0x1da408===_0x3f6513;},'eVmud':function(_0x44e97c,_0xff22fd){return _0x44e97c(_0xff22fd);}};try{const _0x34d7e8=_0xd10bd1[_0x270180(0xf8)](_0xb71abf,_0xd10bd1[_0x270180(0x10f)])||_0xd10bd1[_0x270180(0xf8)](_0xb71abf,_0xd10bd1['bMyOO']),_0x19f4a3=this[_0x270180(0x126)](_0x10c2c4),_0x19665e=_0x19f4a3?this[_0x270180(0xf9)][_0x270180(0xf2)](_0x19f4a3):_0xd10bd1[_0x270180(0x115)],_0x1cb42f=_0x19f4a3?this[_0x270180(0x15b)](path[_0x270180(0x145)](_0x19f4a3)):null,_0x133c24=this[_0x270180(0xed)](_0x10c2c4[_0x270180(0xd8)]),_0x9ae82b=_0x133c24?_0x133c24[_0x270180(0xe8)]:undefined,_0x56ed3a=_0x133c24?_0xd10bd1[_0x270180(0xdb)](failureData,_0x133c24,_0xd10bd1[_0x270180(0x104)]):[],_0x25286d=new Date()[_0x270180(0x105)](),_0x2b58e1=this['_scopes'](_0x10c2c4);_0xd10bd1[_0x270180(0x148)](_0xb71abf,_0xd10bd1[_0x270180(0x127)])&&_0x10c2c4&&_0xd10bd1[_0x270180(0x11a)](_0x10c2c4['id'],undefined)&&_0xd10bd1['EgVcw'](_0x10c2c4['id'],null)&&_specStartTimes['set'](_0x10c2c4['id'],_0x25286d);const _0x7b959d=_0xd10bd1['xacMq'](_0xb71abf,_0xd10bd1[_0x270180(0x127)])?_0x25286d:_0x10c2c4&&_specStartTimes[_0x270180(0x109)](_0x10c2c4['id'])||null,_0x50ce25={};_0x50ce25[_0x270180(0x13e)]=_0xd10bd1[_0x270180(0x120)],_0x50ce25['code']=null;const _0x37efda={'framework':JASMINE_FRAMEWORK_LABEL,'uuid':_0x509d9a,'name':_0x10c2c4[_0x270180(0xd7)],'body':_0x50ce25,'scope':_0x2b58e1['join']('\x20'),'scopes':_0x2b58e1,'identifier':_0x10c2c4['fullName'],'file_name':_0x19665e,'vc_filepath':_0xd10bd1[_0x270180(0x101)](_0x1cb42f,_0x19f4a3)?path[_0x270180(0x130)](_0x1cb42f,_0x19f4a3):null,'location':_0x19665e,'result':_0xd10bd1[_0x270180(0xf8)](_0xb71abf,_0xd10bd1[_0x270180(0x15d)])?_0xd10bd1[_0x270180(0x110)]:STATUS_MAP[_0x10c2c4[_0x270180(0x152)]]||_0xd10bd1[_0x270180(0x143)],'failure_reason':_0x9ae82b,'duration_in_ms':_0xd10bd1['UPLAw'](typeof _0x10c2c4[_0x270180(0x10a)],_0xd10bd1[_0x270180(0x124)])?_0x10c2c4[_0x270180(0x10a)]:null,'started_at':_0x7b959d,'finished_at':_0x34d7e8?_0x25286d:null,'failure':_0x56ed3a,'failure_type':!_0x9ae82b?null:_0x9ae82b[_0x270180(0x135)](/AssertionError/)?_0xd10bd1[_0x270180(0x144)]:_0xd10bd1['sHDGE'],'retry_of':null};_0xd10bd1[_0x270180(0xd6)](_0xb71abf,_0xd10bd1[_0x270180(0x15d)])&&!_0x37efda[_0xd10bd1['FfMtG']]&&(_0x37efda[_0xd10bd1['FfMtG']]=_0x37efda[_0xd10bd1[_0x270180(0x151)]]);const _0x49727a=_0x37efda[_0xd10bd1[_0x270180(0xeb)]][0x0];_0x49727a&&(_0x37efda[_0xd10bd1[_0x270180(0xe1)]]=_0x49727a[_0xd10bd1[_0x270180(0x14c)]],_0x37efda[_0xd10bd1[_0x270180(0x117)]]=_0x49727a[_0xd10bd1[_0x270180(0x14f)]]);testhubUtils[_0x270180(0x142)](_0x37efda,_0xb71abf,_0x10c2c4,FRAMEWORKS[_0x270180(0x10b)]);const _0x57ba99={'event_type':_0xd10bd1[_0x270180(0x138)](_0xb71abf,_0xd10bd1[_0x270180(0x15d)])?_0xd10bd1[_0x270180(0x10f)]:_0xb71abf,'test_run':_0x37efda};return testhubUtils[_0x270180(0xea)](FRAMEWORKS[_0x270180(0x10b)],_0x57ba99),SessionHandler[_0x270180(0x12e)](_0x57ba99);}catch(_0x38414f){_0xd10bd1[_0x270180(0x122)](debug,_0x270180(0x13b)+_0xb71abf+'\x20:\x20'+_0x38414f);}}[a13_0x131871(0x140)](_0xb4c823){const _0x4515df=a13_0x131871,_0xc4fc04={'epBGU':function(_0x48c32d,_0x3bbada){return _0x48c32d!==_0x3bbada;},'fePtc':function(_0x4be5b5,_0x365b27){return _0x4be5b5>_0x365b27;},'Hvrye':function(_0xda188a,_0x51e8ab){return _0xda188a(_0x51e8ab);},'tHGdO':function(_0x27d5ce,_0x19ee8d){return _0x27d5ce-_0x19ee8d;}};try{const _0x381d6a=[];let _0x2196d7=_0xb4c823&&_0xb4c823[_0x4515df(0xfa)];const _0x28ec2c=new Set();while(_0xc4fc04['epBGU'](_0x2196d7,undefined)&&_0xc4fc04[_0x4515df(0x129)](_0x2196d7,null)&&this[_0x4515df(0x13f)][_0x4515df(0x11d)](_0x2196d7)&&!_0x28ec2c[_0x4515df(0x11d)](_0x2196d7)){_0x28ec2c[_0x4515df(0x12b)](_0x2196d7);const _0x3a5a74=this[_0x4515df(0x13f)][_0x4515df(0x109)](_0x2196d7);_0x3a5a74&&_0x3a5a74['description']&&_0x381d6a[_0x4515df(0x147)](_0x3a5a74[_0x4515df(0xd7)]),_0x2196d7=_0x3a5a74?_0x3a5a74[_0x4515df(0xfa)]:null;}if(_0xc4fc04['fePtc'](_0x381d6a[_0x4515df(0x13d)],0x0))return _0x381d6a['reverse']();}catch(_0x1e6718){_0xc4fc04['Hvrye'](debug,_0x4515df(0xf1)+(_0xb4c823&&_0xb4c823[_0x4515df(0xe7)])+'\x20:\x20'+_0x1e6718);}const _0x244102=_0xb4c823&&_0xb4c823[_0x4515df(0xe7)]||'',_0x293992=_0xb4c823&&_0xb4c823['description']||'';let _0x277760=_0x244102;return _0x293992&&_0x244102[_0x4515df(0xda)](_0x293992)&&(_0x277760=_0x244102[_0x4515df(0x134)](0x0,_0xc4fc04[_0x4515df(0x121)](_0x244102[_0x4515df(0x13d)],_0x293992['length']))[_0x4515df(0x114)]()),_0x277760?_0x277760[_0x4515df(0x14d)](/\s+/):[];}[a13_0x131871(0x126)](_0x3d64d3){const _0x3207e5=a13_0x131871,_0x34b190={};_0x34b190[_0x3207e5(0xe3)]=function(_0x21cd9e,_0x50b9de){return _0x21cd9e===_0x50b9de;},_0x34b190[_0x3207e5(0x12c)]=function(_0x34cef8,_0x2be9a8){return _0x34cef8+_0x2be9a8;},_0x34b190[_0x3207e5(0x123)]=function(_0x2ea47e,_0x506682){return _0x2ea47e>_0x506682;};const _0x21bcfb=_0x34b190;if(_0x3d64d3&&_0x3d64d3['filename'])return _0x3d64d3['filename'];if(_0x3d64d3&&_0x3d64d3['fullName']){if(this[_0x3207e5(0x111)][_0x3d64d3[_0x3207e5(0xe7)]])return this['_fileNameByFullName'][_0x3d64d3[_0x3207e5(0xe7)]];let _0x20259b=null,_0x462df4=-0x1;for(const _0x4f9b4c of Object['keys'](this[_0x3207e5(0x111)])){(_0x21bcfb[_0x3207e5(0xe3)](_0x3d64d3[_0x3207e5(0xe7)],_0x4f9b4c)||_0x3d64d3[_0x3207e5(0xe7)][_0x3207e5(0x112)](_0x21bcfb[_0x3207e5(0x12c)](_0x4f9b4c,'\x20')))&&_0x21bcfb[_0x3207e5(0x123)](_0x4f9b4c[_0x3207e5(0x13d)],_0x462df4)&&(_0x20259b=this[_0x3207e5(0x111)][_0x4f9b4c],_0x462df4=_0x4f9b4c['length']);}if(_0x20259b)return _0x20259b;}return null;}[a13_0x131871(0xed)](_0x227f4f){const _0x538452=a13_0x131871,_0x3c2acb={};_0x3c2acb[_0x538452(0x10d)]=function(_0x30ebed,_0x4fcbea){return _0x30ebed===_0x4fcbea;},_0x3c2acb['RpRLN']=_0x538452(0xfc);const _0x8c7d43=_0x3c2acb;if(!Array[_0x538452(0x116)](_0x227f4f)||_0x8c7d43['JtCKz'](_0x227f4f[_0x538452(0x13d)],0x0))return undefined;const _0x2d1c2c=[],_0x145d02=[];for(const _0x5d2d7d of _0x227f4f){_0x5d2d7d&&_0x5d2d7d[_0x538452(0xe8)]&&_0x2d1c2c[_0x538452(0x147)](_0x5d2d7d[_0x538452(0xe8)]),_0x5d2d7d&&_0x5d2d7d[_0x538452(0x11b)]&&_0x145d02[_0x538452(0x147)](_0x5d2d7d[_0x538452(0x11b)]);}const _0x478af9=_0x227f4f[0x0]||{},_0x1e1884=_0x2d1c2c['join']('\x0a')||_0x478af9[_0x538452(0xe8)]||_0x8c7d43[_0x538452(0x13a)],_0x469cc6=_0x145d02[_0x538452(0x102)]('\x0a\x0a')||_0x478af9['stack']||_0x1e1884,_0x594c45={};return _0x594c45[_0x538452(0xe8)]=_0x1e1884,_0x594c45['stack']=_0x469cc6,_0x594c45[_0x538452(0xfd)]=_0x478af9['matcherName'],_0x594c45[_0x538452(0xe9)]=_0x478af9[_0x538452(0xe9)],_0x594c45[_0x538452(0x13c)]=_0x478af9[_0x538452(0x13c)],_0x594c45;}[a13_0x131871(0x15b)](_0x2fb31f){const _0x3e96c7=a13_0x131871,_0x2d6a37={};_0x2d6a37[_0x3e96c7(0xf6)]=function(_0x3d446c,_0x595616){return _0x3d446c===_0x595616;},_0x2d6a37['AjpxM']=_0x3e96c7(0x132),_0x2d6a37['hgTaB']='config';const _0x29af26=_0x2d6a37,_0x2c9db3=path[_0x3e96c7(0xe6)];if(_0x29af26[_0x3e96c7(0xf6)](_0x2fb31f,null)||_0x29af26[_0x3e96c7(0xf6)](_0x2fb31f,'')||_0x29af26[_0x3e96c7(0xf6)](_0x2fb31f,_0x2c9db3)||_0x29af26[_0x3e96c7(0xf6)](_0x2fb31f,path[_0x3e96c7(0x145)](_0x2fb31f)))return null;try{return fs[_0x3e96c7(0x11e)](path[_0x3e96c7(0x102)](_0x2fb31f,_0x29af26[_0x3e96c7(0x131)],_0x29af26[_0x3e96c7(0x158)])),_0x2fb31f;}catch(_0x2aedba){return this['_findGitConfig'](path[_0x3e96c7(0x145)](_0x2fb31f));}}}function a13_0x28b5(){const _0x3bd2bc=['djyxE','../../../helpers/test-observability/constants','_sendSpecEvent','4552548kshqDb','cwd','hgTaB','backtrace','remove','_findGitConfig','nmwXl','bMyOO','UPLAw','description','failedExpectations','failure','endsWith','bSuBp','TestRunFinished','UaGvQ','fXYyU','File\x20path\x20could\x20not\x20be\x20found','uivEP','aJjHn','../../../helpers/testhub/utils','jnsSy','testObservability','UnhandledError','sep','fullName','message','expected','setCurrentTestData','nkqFV','Jasmine','_collapseFailedExpectations','finished_at','\x20:\x20','exports','Exception\x20deriving\x20jasmine\x20scopes\x20for\x20','prefixTestPath','excluded','290170FDopYz','477DLaxUs','rQgJE','Sesbb','supmG','_paths','parentSuiteId','18965ufPlxm','Spec\x20failed','matcherName','../../../helpers/test-observability/utils','fileNameByFullName','UqLzA','zktns','join','TestRunStarted','mVpwS','toISOString','failure_backtrace','javascript','path','get','duration','JASMINE','SKoSf','JtCKz','TestRunSkipped','CNJMB','KiHoV','_fileNameByFullName','startsWith','CCsFm','trim','hZkcH','isArray','LajAs','22mWiZly','88959soUIUm','jZYGV','stack','failure_reason_expanded','has','statSync','suiteDone','MqqRK','tHGdO','eVmud','gzIEx','gnINF','set','_resolveFilePath','bWtBI','771539UeHFzA','epBGU','6635088iuUnwP','add','XbvpW','Exception\x20in\x20jasmine\x20specDone\x20for\x20','uploadEventData','passed','relative','AjpxM','.git','shouldProcessEventForTesthub','slice','match','failed','1296PlDzuQ','RzpeL','vvQVH','RpRLN','Exception\x20in\x20populating\x20jasmine\x20test\x20data\x20for\x20event\x20','actual','length','lang','_suitesById','_scopes','TVXrS','appendTesthubParams','xwvSB','BKMmI','dirname','gAGdE','push','xacMq','Exception\x20in\x20jasmine\x20specStarted\x20for\x20','pending','skipped','NZzHv','split','specStarted','cPFhP','1974968NyjvkQ','GJkrj','status'];a13_0x28b5=function(){return _0x3bd2bc;};return a13_0x28b5();}module[a13_0x131871(0xf0)]=BrowserStackJasmineReporter;
|