browserstack-node-sdk 1.42.0 → 1.42.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/ai-sdk-node/bundle.js +1 -1
- package/src/bin/codeceptjs/BrowserStackPlugin.js +1 -1
- package/src/bin/codeceptjs/command.js +1 -1
- package/src/bin/codeceptjs/helper.js +1 -1
- package/src/bin/codeceptjs/o11yHelper.js +1 -1
- package/src/bin/cucumber-js/command.js +1 -1
- package/src/bin/cucumber-js/cucumber-sessionDetails.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/playwright-patcher.js +1 -1
- package/src/bin/cucumber-js/test-observability.js +1 -1
- package/src/bin/cucumber-js/test.setup.js +1 -1
- package/src/bin/cucumber-js/test_old.setup.js +1 -1
- package/src/bin/cucumber-js/timeout.setup.js +1 -1
- package/src/bin/integrations/command.js +1 -1
- package/src/bin/integrations/constants.js +1 -1
- package/src/bin/jest/command.js +1 -1
- package/src/bin/jest/customImplements/customCircus.js +1 -1
- package/src/bin/jest/customImplements/customEnvironment.js +1 -1
- package/src/bin/jest/customImplements/customJestAdapterInit.js +1 -1
- package/src/bin/jest/customImplements/customSequencer.js +1 -1
- package/src/bin/jest/customImplements/customTestRunnerTemplate.js +1 -1
- package/src/bin/jest/jest.setup.js +1 -1
- package/src/bin/jest/test-observability/data-hooks.js +1 -1
- package/src/bin/jest/test-observability/helper.js +1 -1
- package/src/bin/jest/test-observability/obsReporter.js +1 -1
- package/src/bin/jest/test-observability/test-details.js +1 -1
- package/src/bin/jest/test_before.setup.js +1 -1
- package/src/bin/launcher/launcher.js +1 -1
- package/src/bin/load/index.js +1 -1
- package/src/bin/load/loadUtils.js +1 -1
- package/src/bin/mocha/accessibility-automation/helper.js +1 -1
- package/src/bin/mocha/bstack-reporter/customReporter.js +1 -1
- package/src/bin/mocha/command.js +1 -1
- package/src/bin/mocha/test-observability/builderPatch.js +1 -1
- package/src/bin/mocha/test-observability/data-hooks.js +1 -1
- package/src/bin/mocha/test-observability/mochaUtils.js +1 -1
- package/src/bin/mocha/test.setup.js +1 -1
- package/src/bin/nightwatch/command.js +1 -1
- package/src/bin/playwright/accessibility-helper.js +1 -1
- package/src/bin/playwright/command.js +1 -1
- package/src/bin/playwright/globalSetup.js +1 -1
- package/src/bin/playwright/mock-process.js +1 -1
- package/src/bin/playwright/modifyPlaywrightConf.js +1 -1
- package/src/bin/playwright/patches.js +1 -1
- package/src/bin/playwright/reporter/pwUtils.js +1 -1
- package/src/bin/playwright/reporter/reporter.js +1 -1
- package/src/bin/playwright/reporter/test-details.js +1 -1
- package/src/bin/playwright/sessionDetails.js +1 -1
- package/src/bin/runner.js +1 -1
- package/src/bin/setup.js +1 -1
- package/src/bin/test-runner/index.js +1 -1
- package/src/bin/test-runner/runTest.js +1 -1
- package/src/bin/test-runner/testWorker.js +1 -1
- package/src/bin/utils/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/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/playwrightAutomationFramework.js +1 -1
- package/src/bin/v2/framework/playwrightTestFramework.js +1 -1
- package/src/bin/v2/framework/testFramework.js +1 -1
- package/src/bin/v2/grpcClient.js +1 -1
- package/src/bin/v2/instances/automationFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/testFrameworkInstance.js +1 -1
- package/src/bin/v2/instances/trackedContext.js +1 -1
- package/src/bin/v2/instances/trackedInstance.js +1 -1
- package/src/bin/v2/modules/accessibilityModule.js +1 -1
- package/src/bin/v2/modules/baseModule.js +1 -1
- package/src/bin/v2/modules/observabilityModule.js +1 -1
- package/src/bin/v2/modules/playwrightDriverModule.js +1 -1
- package/src/bin/v2/modules/testhubModule.js +1 -1
- package/src/bin/v2/state/automationFrameworkState.js +1 -1
- package/src/bin/v2/state/hookState.js +1 -1
- package/src/bin/v2/state/testFrameworkState.js +1 -1
- package/src/bin/v2/uploadAttachmentsManager.js +1 -1
- package/src/bin/vanilla-js/command.js +1 -1
- package/src/browserStackSdk.js +1 -1
- package/src/helpers/BrowserStackSetup.js +1 -1
- package/src/helpers/accessibility-automation/constants.js +1 -1
- package/src/helpers/accessibility-automation/helper.js +1 -1
- package/src/helpers/accessibility-automation/scripts.js +1 -1
- package/src/helpers/ai-sdk/aiSdkWrapper.js +1 -1
- package/src/helpers/ai-sdk/autoHealHelper.js +1 -1
- package/src/helpers/ats/constants.js +1 -1
- package/src/helpers/ats/helper.js +1 -1
- package/src/helpers/capsMapping.js +1 -1
- package/src/helpers/central-scanner/constants.js +1 -1
- package/src/helpers/central-scanner/helpers.js +1 -1
- package/src/helpers/classLogger.js +1 -1
- package/src/helpers/globals.js +1 -1
- package/src/helpers/helper.js +1 -1
- package/src/helpers/logger.js +1 -1
- package/src/helpers/metadata.js +1 -1
- package/src/helpers/patchHelper.js +1 -1
- package/src/helpers/patchHelpers.js +1 -1
- package/src/helpers/percy/Percy.js +1 -1
- package/src/helpers/percy/PercyBinary.js +1 -1
- package/src/helpers/percy/PercyCaptureMap.js +1 -1
- package/src/helpers/percy/PercyCaptureModes.js +1 -1
- package/src/helpers/percy/PercySDK.js +1 -1
- package/src/helpers/percy/index.js +1 -1
- package/src/helpers/percy/utils.js +1 -1
- package/src/helpers/performance/constants.js +1 -1
- package/src/helpers/performance/performance-tester.js +1 -1
- package/src/helpers/playwright-helper.js +1 -1
- package/src/helpers/processHelper.js +1 -1
- package/src/helpers/request-spy.js +1 -1
- package/src/helpers/setKeepAlive.js +1 -1
- package/src/helpers/test-observability/constants.js +1 -1
- package/src/helpers/test-observability/error-handler.js +1 -1
- package/src/helpers/test-observability/requestQueueHandler.js +1 -1
- package/src/helpers/test-observability/sessionHandler.js +1 -1
- package/src/helpers/test-observability/utils.js +1 -1
- package/src/helpers/test-orchestration/constants.js +1 -1
- package/src/helpers/test-orchestration/failfastManager.js +1 -1
- package/src/helpers/test-orchestration/fileHelper.js +1 -1
- package/src/helpers/test-orchestration/orchestrationUtils.js +1 -1
- package/src/helpers/test-orchestration/requestUtils.js +1 -1
- package/src/helpers/test-orchestration/testOrchestrationHandler.js +1 -1
- package/src/helpers/test-orchestration/testOrderingServerHandler.js +1 -1
- package/src/helpers/testhub/constants.js +1 -1
- package/src/helpers/testhub/testhubHandler.js +1 -1
- package/src/helpers/testhub/utils.js +1 -1
- package/src/helpers/timeoutPromise.js +1 -1
- package/src/helpers/utilities.js +1 -1
- package/src/helpers/w3cMapping.js +1 -1
- package/src/hubAllocationMethods.js +1 -1
- package/src/index.js +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10_0x3602d6=a10_0x4a0f;(function(_0x19cc35,_0x13e429){const _0x3beac7=a10_0x4a0f,_0x34acf1=_0x19cc35();while(!![]){try{const _0x4d5da7=parseInt(_0x3beac7(0x20d))/0x1+-parseInt(_0x3beac7(0x1f5))/0x2*(-parseInt(_0x3beac7(0x20b))/0x3)+parseInt(_0x3beac7(0x1a3))/0x4*(parseInt(_0x3beac7(0x21a))/0x5)+-parseInt(_0x3beac7(0x1c8))/0x6*(-parseInt(_0x3beac7(0x209))/0x7)+parseInt(_0x3beac7(0x204))/0x8*(-parseInt(_0x3beac7(0x1fe))/0x9)+parseInt(_0x3beac7(0x1e1))/0xa+-parseInt(_0x3beac7(0x231))/0xb;if(_0x4d5da7===_0x13e429)break;else _0x34acf1['push'](_0x34acf1['shift']());}catch(_0x3fc508){_0x34acf1['push'](_0x34acf1['shift']());}}}(a10_0x2fab,0xd5214));const path=require(a10_0x3602d6(0x1d7)),util=require(a10_0x3602d6(0x201)),hooksMap={},SessionHandler=require(a10_0x3602d6(0x1eb)),testhubUtils=require(a10_0x3602d6(0x1b6)),{getGitMetaData,isUndefined,nestedKeyValue}=require('../../helpers/helper'),logger=require(a10_0x3602d6(0x213))[a10_0x3602d6(0x215)],{o11yClassErrorHandler}=require(a10_0x3602d6(0x20c)),{FRAMEWORKS}=require(a10_0x3602d6(0x20a)),TestDetails=require('../playwright/reporter/test-details');function a10_0x2fab(){const _0x56df46=['sourceReference','toLowerCase','tags','YwOPM','2362204iqwrYZ','getHooksListForTest','0|1|4|3|2','uploadEventData','pending','lGlPw','appendTesthubParams','backtrace','cucumber','split','testCaseStartedId','tCQta','getCucumberHookType','name','hVzoQ','sendHook','krIIo','filter','uhwiZ','../../helpers/testhub/utils','cells','ROcGK','test_run','CUCUMBER','YMLRu','ouUhp','WstXS','tqSsR','BEFORE_EACH','FAILED','configureGit','XOYgW','wnGdA','children','browserstack-node-agent/src/bin/cucumber-js/test.setup.js','length','failure_reason','7004094PmBRuq','format','xnRSx','debug','test','getHookRunEventData','failure','hook','uuid','timestamp','CqXyy','javascript','lEKJU','pmhTQ','Exception\x20in\x20sendHook:\x20','path','WsWfn','hook_run','find','failed','feature','UYutx','Tikie','tFoRS','mIjer','16766070WcogfT','Exception\x20in\x20getHookRunEventData:\x20','xhpOQ','jDSoF','getScenarioExamples','sendTestRunEventForCucumber','examples','YQYVi','updateTestStatus','ckJTX','../../helpers/test-observability/sessionHandler','DVzYH','map','GBTHt','value','duration_in_ms','DoTIB','kBNwa','finished_at','fqUml','44502YgEjuq','result','every','HookRunFinished','exception','CMwkB','TestRunFinished','hooks','pickleStepId','5041350GyVJXF','tagExpression','testStepFinished','util','rule','sjrIn','24WsxkpL','flatMap','NiESk','relative','unknown','7ysjrIQ','../../helpers/test-observability/constants.js','102wBxFoC','../../helpers/test-observability/error-handler','923828aUMmdU','forEach','nanos','event_type','failure_type','AssertionError','../../helpers/logger','match','winstonLogger','YndPt','strip-ansi','Jthuc','root','5LtvKkL','_gitConfigured','USmAt','includes','Ybmol','failure_data','failureData','getTestUUID','tableBody','UZvyY','scenario','skipped','eeWEv','message','hookId','kWaRi','jLkCk','failureType','astNodeIds','getHookResult','PClmk','status','testCaseFinished','28175829UUudqs','iqCyb','XkGPC','exports','uri','toISOString','UnhandledError','fhwqD','_gitConfigPath','join'];a10_0x2fab=function(){return _0x56df46;};return a10_0x2fab();}function a10_0x4a0f(_0x54fd00,_0x272dad){const _0x2fabe9=a10_0x2fab();return a10_0x4a0f=function(_0x4a0f3a,_0x431790){_0x4a0f3a=_0x4a0f3a-0x1a0;let _0x27fba8=_0x2fabe9[_0x4a0f3a];return _0x27fba8;},a10_0x4a0f(_0x54fd00,_0x272dad);}this[a10_0x3602d6(0x21b)]=![],this[a10_0x3602d6(0x239)]=null;class TestObservabilityReporter{async[a10_0x3602d6(0x1e6)](_0x16cecc,_0x1798d6,_0x5e28b2,_0x5e750c,_0x2b08e5){const _0x34e8c8=a10_0x3602d6,_0xf02cac={'jJDmS':function(_0x42385d,_0x119e35){return _0x42385d===_0x119e35;},'fhwqD':_0x34e8c8(0x1c0),'PClmk':_0x34e8c8(0x1db),'kBNwa':function(_0x4eedde,_0x5e5359){return _0x4eedde===_0x5e5359;},'pmhTQ':'SKIPPED','YwOPM':_0x34e8c8(0x225),'eeWEv':function(_0x2ee531,_0x2cb841){return _0x2ee531||_0x2cb841;},'lUzhx':function(_0x20ee97,_0x126401){return _0x20ee97+_0x126401;},'YMLRu':function(_0x42cff9,_0x4ca365){return _0x42cff9+_0x4ca365;},'UYutx':_0x34e8c8(0x1cc),'tFoRS':_0x34e8c8(0x1d3),'mkwpd':_0x34e8c8(0x1ab),'erdnj':_0x34e8c8(0x1a7),'krIIo':'passed','WsWfn':function(_0x24fc54,_0x35ab57){return _0x24fc54!==_0x35ab57;},'Batxb':function(_0x5500fe,_0x16f78d){return _0x5500fe/_0x16f78d;},'taOoz':_0x34e8c8(0x217),'Jthuc':function(_0x517930,_0x5cb34d){return _0x517930(_0x5cb34d);},'xnRSx':_0x34e8c8(0x208),'lEKJU':function(_0x3cbc11,_0x31c726){return _0x3cbc11(_0x31c726);},'kWaRi':_0x34e8c8(0x212),'DoTIB':'UnhandledError','lGlPw':_0x34e8c8(0x1fb),'ROcGK':function(_0x320bff,_0x1b6954){return _0x320bff>_0x1b6954;}},{feature:_0x324a28,scenario:_0xf04867,steps:_0x4295c4,uuid:_0x247d41,startedAt:_0x5cd52e,finishedAt:_0x12acd5}=_0xf02cac[_0x34e8c8(0x226)](_0x2b08e5,{}),_0x48eeb2=this[_0x34e8c8(0x1e5)](_0x1798d6,_0x5e28b2);await this[_0x34e8c8(0x1c1)]();const _0x53abdd=_0x48eeb2?_0xf02cac['lUzhx'](_0xf02cac['lUzhx'](_0xf02cac[_0x34e8c8(0x1bb)](_0x5e28b2[_0x34e8c8(0x1b0)],'\x20('),_0x48eeb2[_0x34e8c8(0x23a)](',\x20')),')'):_0x5e28b2[_0x34e8c8(0x1b0)],_0xf44e88={'uuid':_0x247d41,'started_at':_0x5cd52e,'finished_at':_0x12acd5,'type':_0xf02cac[_0x34e8c8(0x1dd)],'body':{'lang':_0xf02cac[_0x34e8c8(0x1df)],'code':null},'name':_0x53abdd,'scopes':[_0x324a28&&_0x324a28['name']?_0x324a28[_0x34e8c8(0x1b0)]:''],'tags':_0x5e28b2[_0x34e8c8(0x1a1)]?_0x5e28b2[_0x34e8c8(0x1a1)][_0x34e8c8(0x1ed)](({name:_0x3545ec})=>_0x3545ec):[],'file_name':_0x5e28b2[_0x34e8c8(0x235)],'location':_0x5e28b2[_0x34e8c8(0x235)],'vc_filepath':this[_0x34e8c8(0x239)]&&_0x5e28b2[_0x34e8c8(0x235)]?path[_0x34e8c8(0x207)](this['_gitConfigPath'],_0x5e28b2['uri']):null,'framework':_0xf02cac['mkwpd'],'result':_0xf02cac['erdnj'],'meta':{'feature':_0x324a28,'scenario':_0xf04867,'steps':_0x4295c4,'examples':_0x48eeb2},'customRerunParam':{'rerun_name':_0x53abdd}};if(_0x16cecc[_0x34e8c8(0x230)]&&_0x4295c4){const _0x17a25c=_0x16cecc[_0x34e8c8(0x230)];let _0x2579eb=_0xf02cac[_0x34e8c8(0x1b3)];_0x4295c4[_0x34e8c8(0x1f7)](_0x46a34b=>{const _0x10d3c5=_0x34e8c8;if(_0xf02cac['jJDmS'](_0x46a34b['result'],_0xf02cac[_0x10d3c5(0x238)]))return _0x2579eb=_0xf02cac[_0x10d3c5(0x22e)],_0x17a25c['failure']=_0x46a34b['failure'],_0x17a25c[_0x10d3c5(0x22b)]=_0x46a34b['failureType'],![];else{if(_0xf02cac[_0x10d3c5(0x1f2)](_0x46a34b['result'],_0xf02cac[_0x10d3c5(0x1d5)]))return _0x2579eb=_0xf02cac[_0x10d3c5(0x1a2)],![];}return!![];}),_0xf44e88[_0x34e8c8(0x1f3)]=new Date()['toISOString'](),_0xf44e88[_0x34e8c8(0x1f6)]=_0x2579eb;_0x17a25c[_0x34e8c8(0x1d1)]&&_0xf02cac[_0x34e8c8(0x1d8)](_0x17a25c[_0x34e8c8(0x1d1)][_0x34e8c8(0x20f)],undefined)?_0xf44e88[_0x34e8c8(0x1f0)]=_0xf02cac['Batxb'](_0x17a25c['timestamp'][_0x34e8c8(0x20f)],0xf4240):_0xf44e88[_0x34e8c8(0x1f0)]=undefined;if(_0xf02cac['jJDmS'](_0x2579eb,_0xf02cac[_0x34e8c8(0x22e)])){const {default:_0x2192f3}=await import(_0xf02cac['taOoz']);_0xf44e88[_0x34e8c8(0x1ce)]=[{'backtrace':[_0x17a25c[_0x34e8c8(0x1ce)]?_0xf02cac[_0x34e8c8(0x218)](_0x2192f3,_0x17a25c[_0x34e8c8(0x1ce)]):_0xf02cac[_0x34e8c8(0x1ca)]]}],_0xf44e88[_0x34e8c8(0x1c7)]=_0x17a25c[_0x34e8c8(0x1ce)]?_0xf02cac[_0x34e8c8(0x1d4)](_0x2192f3,_0x17a25c['failure']):_0x17a25c[_0x34e8c8(0x227)],_0x17a25c[_0x34e8c8(0x22b)]&&(_0xf44e88['failure_type']=_0x17a25c[_0x34e8c8(0x22b)][_0x34e8c8(0x214)](/AssertError/)?_0xf02cac[_0x34e8c8(0x229)]:_0xf02cac[_0x34e8c8(0x1f1)]);}}if(_0xf02cac['kBNwa'](_0x5e750c,_0xf02cac[_0x34e8c8(0x1a8)])){const _0x10598a=this[_0x34e8c8(0x1a4)](_0x16cecc['testCaseFinished'][_0x34e8c8(0x1ad)]);_0x10598a&&_0xf02cac[_0x34e8c8(0x1b8)](_0x10598a[_0x34e8c8(0x1c6)],0x0)&&(_0xf44e88[_0x34e8c8(0x1fc)]=_0x10598a,this[_0x34e8c8(0x1e9)](_0x16cecc[_0x34e8c8(0x230)]['testCaseStartedId'],_0xf44e88));}testhubUtils[_0x34e8c8(0x1a9)](_0xf44e88,_0x5e750c,'',FRAMEWORKS[_0x34e8c8(0x1ba)]);const _0x4e88ce={};_0x4e88ce[_0x34e8c8(0x210)]=_0x5e750c,_0x4e88ce[_0x34e8c8(0x1b9)]=_0xf44e88;const _0x5aada7=_0x4e88ce;await SessionHandler[_0x34e8c8(0x1a6)](_0x5aada7);}[a10_0x3602d6(0x1e9)](_0xad62d,_0x82209f){const _0x5bf05a=a10_0x3602d6,_0x237b7a={};_0x237b7a[_0x5bf05a(0x1c3)]=function(_0x32c8cd,_0x4d7f92){return _0x32c8cd instanceof _0x4d7f92;},_0x237b7a[_0x5bf05a(0x1be)]=function(_0x597318,_0x24357b){return _0x597318===_0x24357b;},_0x237b7a['gRRgb']=_0x5bf05a(0x1db),_0x237b7a[_0x5bf05a(0x1c2)]=_0x5bf05a(0x1a5);const _0x10e5b2=_0x237b7a,_0x530ff3=hooksMap[_0xad62d];if(_0x10e5b2[_0x5bf05a(0x1c3)](_0x530ff3,Array))for(const _0x3a3b33 of _0x530ff3){if(_0x10e5b2['tqSsR'](_0x3a3b33[_0x5bf05a(0x1f6)],_0x10e5b2['gRRgb'])){const _0x54f401=_0x10e5b2[_0x5bf05a(0x1c2)][_0x5bf05a(0x1ac)]('|');let _0x563a4b=0x0;while(!![]){switch(_0x54f401[_0x563a4b++]){case'0':_0x82209f[_0x5bf05a(0x1f6)]=_0x3a3b33[_0x5bf05a(0x1f6)];continue;case'1':_0x82209f['failure']=_0x3a3b33['failure_data'];continue;case'2':return _0x82209f;case'3':_0x82209f[_0x5bf05a(0x211)]=_0x3a3b33['failure_type'];continue;case'4':_0x82209f[_0x5bf05a(0x1c7)]=_0x10e5b2[_0x5bf05a(0x1c3)](_0x3a3b33[_0x5bf05a(0x21f)],Array)?_0x3a3b33[_0x5bf05a(0x21f)][0x0]['backtrace'][_0x5bf05a(0x23a)]('\x0a'):'';continue;}break;}}};}[a10_0x3602d6(0x1a4)](_0x19005a){const _0x469a0e=a10_0x3602d6;if(hooksMap[_0x19005a])return hooksMap[_0x19005a]['map'](_0xd95efc=>_0xd95efc[_0x469a0e(0x1d0)]);return[];}[a10_0x3602d6(0x1cd)](_0x1c2a11,_0x2dbb79,_0x43a0ab,_0x27f686,_0x505903,_0x3b9aa1){const _0x37d9e0=a10_0x3602d6,_0x5683da={'CqXyy':function(_0x585a08,_0xeb3f13){return _0x585a08===_0xeb3f13;},'SbhYw':_0x37d9e0(0x1f8),'XkGPC':function(_0x1cb10d,_0x29d45d,_0x4387b9){return _0x1cb10d(_0x29d45d,_0x4387b9);},'hVzoQ':_0x37d9e0(0x23b),'YndPt':'uri','jLkCk':'pending','QswlC':_0x37d9e0(0x1cf),'fqUml':'javascript','jDSoF':_0x37d9e0(0x1dc),'GBTHt':_0x37d9e0(0x1b0),'ouUhp':_0x37d9e0(0x1ab)};try{if(_0x5683da[_0x37d9e0(0x1d2)](_0x43a0ab,_0x5683da['SbhYw'])){const _0x20caef=new Date()[_0x37d9e0(0x236)](),_0x299659=hooksMap[_0x2dbb79];if(!_0x299659)return;const _0x270a58=_0x299659[_0x37d9e0(0x1da)](_0x506332=>_0x506332[_0x37d9e0(0x1d0)]===_0x27f686['id']);if(!_0x270a58)return;const _0x2c054d=this[_0x37d9e0(0x22d)](_0x1c2a11,_0x2dbb79);_0x270a58[_0x37d9e0(0x1f6)]=_0x2c054d[_0x37d9e0(0x22f)],_0x270a58[_0x37d9e0(0x1f3)]=_0x20caef,_0x270a58[_0x37d9e0(0x211)]=_0x2c054d['failureType'];const _0x20cf1a={};return _0x20cf1a[_0x37d9e0(0x1aa)]=_0x2c054d[_0x37d9e0(0x220)],_0x270a58['failure_data']=[_0x20cf1a],_0x270a58;}const _0x24ab26=TestDetails[_0x37d9e0(0x221)](_0x2dbb79),_0x406474=_0x1c2a11[_0x37d9e0(0x1fc)]['find'](_0x9f484d=>_0x9f484d['id']===_0x27f686[_0x37d9e0(0x228)]),_0x37ccf9=_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x406474,[_0x5683da[_0x37d9e0(0x1b1)],_0x5683da[_0x37d9e0(0x216)]]),_0x108202=new Date()[_0x37d9e0(0x236)](),_0x52372f=_0x5683da[_0x37d9e0(0x22a)],_0x2ad66f=_0x406474['tagExpression']?_0x406474[_0x37d9e0(0x1ff)]['split']('\x20')[_0x37d9e0(0x1b4)](_0xaafc29=>_0xaafc29[_0x37d9e0(0x21d)]('@')):[],_0x5e3bd0={'uuid':_0x27f686['id'],'type':_0x5683da['QswlC'],'hook_type':_0x3b9aa1,'name':_0x406474[_0x37d9e0(0x1b0)],'body':{'lang':_0x5683da[_0x37d9e0(0x1f4)],'code':null},'tags':_0x2ad66f,'test_run_id':_0x24ab26,'scope':_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x505903,[_0x5683da['jDSoF'],_0x5683da[_0x37d9e0(0x1ee)]]),'scopes':[_0x5683da[_0x37d9e0(0x233)](nestedKeyValue,_0x505903,[_0x5683da[_0x37d9e0(0x1e4)],_0x5683da['GBTHt']])||''],'file_name':_0x37ccf9,'location':_0x37ccf9,'vc_filepath':this[_0x37d9e0(0x239)]?path[_0x37d9e0(0x207)](this[_0x37d9e0(0x239)],_0x37ccf9):null,'result':_0x52372f,'started_at':_0x108202,'framework':_0x5683da[_0x37d9e0(0x1bc)]};return _0x5e3bd0;}catch(_0x519748){logger[_0x37d9e0(0x1cb)](_0x37d9e0(0x1e2)+util['format'](_0x519748)+'\x20');}}async[a10_0x3602d6(0x1b2)](_0x59cf3e,_0x210478,_0x2cab36,_0x2c6a84,_0x2ee203,_0xa451fd){const _0x4ce514=a10_0x3602d6,_0x26399c={'xhpOQ':function(_0x37c9bb,_0x2b31cf){return _0x37c9bb===_0x2b31cf;},'Ybmol':'HookRunStarted','iqCyb':function(_0x2ae170,_0x474ee5,_0x3c8631){return _0x2ae170(_0x474ee5,_0x3c8631);},'bPgfI':'sourceReference','YQYVi':_0x4ce514(0x235),'DVzYH':_0x4ce514(0x1c5)};try{const _0x329c91=_0x2c6a84[_0x4ce514(0x1da)](_0x2394c5=>_0x2394c5['id']===_0x2ee203);if(!_0x329c91[_0x4ce514(0x228)])return;const _0x23b178=this[_0x4ce514(0x1af)](_0x2c6a84,_0x329c91),_0x430353=this[_0x4ce514(0x1cd)](_0x59cf3e,_0x210478,_0x2cab36,_0x329c91,_0xa451fd,_0x23b178);if(!_0x430353)return;_0x26399c[_0x4ce514(0x1e3)](_0x2cab36,_0x26399c[_0x4ce514(0x21e)])&&(hooksMap[_0x210478]?hooksMap[_0x210478]['push'](_0x430353):hooksMap[_0x210478]=[_0x430353]);const _0x4ae73f=_0x59cf3e['hooks'][_0x4ce514(0x1da)](_0xbe9888=>_0xbe9888['id']===_0x329c91[_0x4ce514(0x228)]),_0x4c4db5=_0x26399c[_0x4ce514(0x232)](nestedKeyValue,_0x4ae73f,[_0x26399c['bPgfI'],_0x26399c[_0x4ce514(0x1e8)]]);if(!_0x4c4db5)return;else{if(_0x4c4db5[_0x4ce514(0x21d)](_0x26399c[_0x4ce514(0x1ec)]))return;}const _0x369c5e={};_0x369c5e[_0x4ce514(0x210)]=_0x2cab36,_0x369c5e[_0x4ce514(0x1d9)]=_0x430353;const _0x2a0966=_0x369c5e;await SessionHandler['uploadEventData'](_0x2a0966);}catch(_0x1553b5){logger[_0x4ce514(0x1cb)](_0x4ce514(0x1d6)+util[_0x4ce514(0x1c9)](_0x1553b5)+'\x20');}}['getHookResult'](_0x15a8bb,_0x22bc99){const _0x5b33c7=a10_0x3602d6,_0x424268={};_0x424268[_0x5b33c7(0x21c)]=function(_0x46e146,_0x503359){return _0x46e146===_0x503359;},_0x424268[_0x5b33c7(0x1fa)]='failed',_0x424268[_0x5b33c7(0x1de)]=function(_0x3c97fb,_0x1d7f6a){return _0x3c97fb===_0x1d7f6a;},_0x424268['UZvyY']=_0x5b33c7(0x237),_0x424268[_0x5b33c7(0x1bd)]='AssertionError',_0x424268[_0x5b33c7(0x1ae)]=function(_0x440505,_0xa5a4a9){return _0x440505||_0xa5a4a9;};const _0x647e1e=_0x424268,_0x254785=_0x15a8bb[_0x5b33c7(0x200)][_0x22bc99]['testStepResult'];let _0x3cd08b,_0x57e95f;return _0x254785&&_0x647e1e['USmAt'](_0x254785['status']['toString']()[_0x5b33c7(0x1a0)](),_0x647e1e['CMwkB'])&&(_0x3cd08b=_0x647e1e[_0x5b33c7(0x21c)](_0x254785[_0x5b33c7(0x1f9)],undefined)?_0x254785['message']:_0x254785['exception'][_0x5b33c7(0x227)],_0x57e95f=_0x647e1e[_0x5b33c7(0x1de)](_0x254785[_0x5b33c7(0x1f9)],undefined)?_0x647e1e[_0x5b33c7(0x223)]:_0x254785['message'][_0x5b33c7(0x214)](/Assert/)?_0x647e1e['WstXS']:_0x647e1e['UZvyY']),{'status':_0x254785[_0x5b33c7(0x22f)][_0x5b33c7(0x1a0)](),'failureType':_0x647e1e['tCQta'](_0x57e95f,null),'failureData':!_0x3cd08b?null:[_0x3cd08b]};}[a10_0x3602d6(0x1af)](_0x31bfff,_0x3f6094){const _0x5e4a36=a10_0x3602d6,_0x4910d6={};_0x4910d6[_0x5e4a36(0x1e0)]=function(_0x3f685a,_0x1cd5a8){return _0x3f685a===_0x1cd5a8;},_0x4910d6[_0x5e4a36(0x206)]='AFTER_EACH',_0x4910d6[_0x5e4a36(0x1b5)]=_0x5e4a36(0x1bf);const _0x486b80=_0x4910d6;let _0x2358d2=![];for(const _0x348b34 of _0x31bfff){_0x348b34[_0x5e4a36(0x1fd)]&&(_0x2358d2=!![]);if(_0x486b80[_0x5e4a36(0x1e0)](_0x3f6094['id'],_0x348b34['id']))return _0x2358d2?_0x486b80[_0x5e4a36(0x206)]:_0x486b80[_0x5e4a36(0x1b5)];}}[a10_0x3602d6(0x1e5)]=(_0x5ae641,_0x4582c7)=>{const _0x5f5501=a10_0x3602d6,_0x706f04={};_0x706f04['Rnaif']=function(_0x312935,_0x491f95){return _0x312935===_0x491f95;},_0x706f04['sjrIn']=function(_0x5c23c7,_0x4f541a){return _0x5c23c7===_0x4f541a;},_0x706f04[_0x5f5501(0x1ea)]=function(_0x487228,_0x4545ce){return _0x487228>_0x4545ce;};const _0xe205a=_0x706f04;if(!(_0x4582c7[_0x5f5501(0x22c)]&&_0xe205a[_0x5f5501(0x1ea)](_0x4582c7[_0x5f5501(0x22c)][_0x5f5501(0x1c6)],0x1)))return;const _0x4dd652=_0x4582c7[_0x5f5501(0x22c)][0x0],_0x16ce22=_0x4582c7[_0x5f5501(0x22c)][0x1],_0x5e179d=_0x5ae641['feature']&&_0x5ae641[_0x5f5501(0x1dc)][_0x5f5501(0x1c4)]?_0x5ae641[_0x5f5501(0x1dc)][_0x5f5501(0x1c4)]:undefined;let _0x1c5481=[];_0x5e179d&&_0x5e179d[_0x5f5501(0x20e)](_0x45fb92=>{const _0x47aff0=_0x5f5501;if(_0x45fb92['rule'])_0x45fb92[_0x47aff0(0x202)][_0x47aff0(0x1c4)]['forEach'](_0x1416c1=>{const _0x2fda03=_0x47aff0;if(_0x1416c1[_0x2fda03(0x224)]&&_0xe205a['Rnaif'](_0x1416c1['scenario']['id'],_0x4dd652)&&_0x1416c1[_0x2fda03(0x224)][_0x2fda03(0x1e7)]){const _0xd77271=_0x1416c1[_0x2fda03(0x224)][_0x2fda03(0x1e7)][_0x2fda03(0x205)](_0x543fa8=>_0x543fa8[_0x2fda03(0x222)])['find'](_0x12df8f=>_0x12df8f['id']===_0x16ce22);let _0xb6835c;_0xd77271&&_0xd77271['cells']?_0xb6835c=_0xd77271['cells'][_0x2fda03(0x1ed)](_0x18ea28=>_0x18ea28[_0x2fda03(0x1ef)]):_0xb6835c=[],_0xb6835c&&(_0x1c5481=_0xb6835c);}});else{if(_0x45fb92[_0x47aff0(0x224)]&&_0xe205a[_0x47aff0(0x203)](_0x45fb92[_0x47aff0(0x224)]['id'],_0x4dd652)&&_0x45fb92['scenario'][_0x47aff0(0x1e7)]){const _0x3ceee3=_0x45fb92[_0x47aff0(0x224)][_0x47aff0(0x1e7)][_0x47aff0(0x205)](_0x1d9aca=>_0x1d9aca[_0x47aff0(0x222)])[_0x47aff0(0x1da)](_0x291caf=>_0x291caf['id']===_0x16ce22);let _0x47d7b8;_0x3ceee3&&_0x3ceee3[_0x47aff0(0x1b7)]?_0x47d7b8=_0x3ceee3['cells'][_0x47aff0(0x1ed)](_0x407d8d=>_0x407d8d[_0x47aff0(0x1ef)]):_0x47d7b8=[],_0x47d7b8&&(_0x1c5481=_0x47d7b8);}}});if(_0x1c5481[_0x5f5501(0x1c6)])return _0x1c5481;return;};async['configureGit'](){const _0x481b4b=a10_0x3602d6,_0x8ef752={'lPyKP':function(_0x59287a){return _0x59287a();}};if(this['_gitConfigured'])return this[_0x481b4b(0x239)];const _0x12f728=await _0x8ef752['lPyKP'](getGitMetaData);_0x12f728&&(this[_0x481b4b(0x239)]=_0x12f728[_0x481b4b(0x219)]),this[_0x481b4b(0x21b)]=!![];}}module[a10_0x3602d6(0x234)]=o11yClassErrorHandler(TestObservabilityReporter,[a10_0x3602d6(0x1c1),a10_0x3602d6(0x1e5),a10_0x3602d6(0x1af),a10_0x3602d6(0x22d),a10_0x3602d6(0x1b2),a10_0x3602d6(0x1cd),a10_0x3602d6(0x1e6)]);
|
|
1
|
+
function a10_0x55e6(){const _0x45d897=['SEXin','tableBody','failure_reason','GEWaW','XTfTZ','HookRunFinished','77580jaaOVy','hook_run','getHookRunEventData','96817gGyKMy','hooks','UnhandledError','4036580PezoBP','sendTestRunEventForCucumber','tagExpression','Ktxsy','DsOJh','failure_data','name','MLWkO','862rrhots','map','urEgr','failed','toISOString','3048UvQxQG','ZAXEd','cLZYb','push','testStepResult','flatMap','BEFORE_EACH','astNodeIds','tvwkT','join','uri','failureData','xhKTP','Wjhbv','AssertionError','getHookResult','toLowerCase','pickleStepId','xQAzq','vrilZ','value','HookRunStarted','4FrvRqc','javascript','cells','uwTzP','tags','scenario','test','4741COqCSr','WOsfg','taEKY','TDfFb','rule','includes','failureType','getScenarioExamples','../../helpers/testhub/utils','Exception\x20in\x20getHookRunEventData:\x20','DOLmo','message','faizU','fnVPt','passed','hookId','vVEJo','toString','../../helpers/helper','zRdkQ','debug','getTestUUID','strip-ansi','duration_in_ms','lfzuo','configureGit','unknown','nanos','dOUmc','examples','jYaPZ','feature','CUCUMBER','sendHook','finished_at','SWkhP','find','LRAdF','xsiGk','SsnqW','ZgCxJ','timestamp','_gitConfigPath','exports','failure','RTvmf','yQeMr','status','path','cHHad','exception','uOQwV','10076510oPfeoV','wEtSH','uploadEventData','SLgYA','testCaseFinished','winstonLogger','forEach','qWjKw','updateTestStatus','WLCoA','_gitConfigured','9ghDbQe','438VfdxXc','SGhNL','result','344576GltHOT','epgdw','sourceReference','every','../../helpers/logger','PpmUj','testStepFinished','572984aOhDKl','QeuCy','failure_type','tSxhU','nuJkl','length','pending','getHooksListForTest','testCaseStartedId','nGGuk','cpGkJ','PWUBK','split','rQllT','zGQYN','UySWY','uuid','ypOkg','util','children','odWnq','Uwnae','../../helpers/test-observability/constants.js'];a10_0x55e6=function(){return _0x45d897;};return a10_0x55e6();}const a10_0x54c91b=a10_0x5947;(function(_0x5c82a1,_0x31b2bd){const _0x27c808=a10_0x5947,_0x1328a4=_0x5c82a1();while(!![]){try{const _0x3a4674=parseInt(_0x27c808(0xbb))/0x1+parseInt(_0x27c808(0xed))/0x2*(parseInt(_0x27c808(0xf2))/0x3)+parseInt(_0x27c808(0x108))/0x4*(-parseInt(_0x27c808(0xe5))/0x5)+-parseInt(_0x27c808(0xb8))/0x6*(parseInt(_0x27c808(0xe2))/0x7)+-parseInt(_0x27c808(0xc2))/0x8+parseInt(_0x27c808(0xb7))/0x9*(-parseInt(_0x27c808(0xac))/0xa)+-parseInt(_0x27c808(0x10f))/0xb*(-parseInt(_0x27c808(0xdf))/0xc);if(_0x3a4674===_0x31b2bd)break;else _0x1328a4['push'](_0x1328a4['shift']());}catch(_0x39cbd3){_0x1328a4['push'](_0x1328a4['shift']());}}}(a10_0x55e6,0xa437a));function a10_0x5947(_0x118955,_0x4c09a3){const _0x55e6e1=a10_0x55e6();return a10_0x5947=function(_0x594779,_0x42d174){_0x594779=_0x594779-0x83;let _0x3268e4=_0x55e6e1[_0x594779];return _0x3268e4;},a10_0x5947(_0x118955,_0x4c09a3);}const path=require(a10_0x54c91b(0xa8)),util=require(a10_0x54c91b(0xd4)),hooksMap={},SessionHandler=require('../../helpers/test-observability/sessionHandler'),testhubUtils=require(a10_0x54c91b(0x117)),{getGitMetaData,isUndefined,nestedKeyValue}=require(a10_0x54c91b(0x8a)),logger=require(a10_0x54c91b(0xbf))[a10_0x54c91b(0xb1)],{o11yClassErrorHandler}=require('../../helpers/test-observability/error-handler'),{FRAMEWORKS}=require(a10_0x54c91b(0xd8)),TestDetails=require('../playwright/reporter/test-details');this[a10_0x54c91b(0xb6)]=![],this[a10_0x54c91b(0xa2)]=null;class TestObservabilityReporter{async[a10_0x54c91b(0xe6)](_0x27c526,_0x2e12b1,_0x223a2c,_0x4b5985,_0x3caf10){const _0x484e4c=a10_0x54c91b,_0x3073f4={'RTvmf':function(_0x159f87,_0x4e7807){return _0x159f87===_0x4e7807;},'xQAzq':'FAILED','yQeMr':_0x484e4c(0xf0),'uwTzP':'SKIPPED','OgdLd':'skipped','lfzuo':function(_0x1f434e,_0x1b24a6){return _0x1f434e||_0x1b24a6;},'zRdkQ':function(_0x12be28,_0x2be65b){return _0x12be28+_0x2be65b;},'XTfTZ':function(_0x1b9297,_0x37ff17){return _0x1b9297+_0x37ff17;},'taEKY':_0x484e4c(0x10e),'rQllT':_0x484e4c(0x109),'fnVPt':'cucumber','nuJkl':_0x484e4c(0xc8),'qWjKw':_0x484e4c(0x86),'cpGkJ':function(_0x11ef3e,_0x39c07b){return _0x11ef3e!==_0x39c07b;},'vVEJo':function(_0x3f5d55,_0x1b6b37){return _0x3f5d55/_0x1b6b37;},'TDfFb':function(_0x129dd0,_0x21b666){return _0x129dd0===_0x21b666;},'QDcsK':_0x484e4c(0x8e),'urEgr':function(_0x4216c4,_0x21d10f){return _0x4216c4(_0x21d10f);},'ypOkg':_0x484e4c(0x92),'TPGNY':function(_0x4c4b31,_0x1d0087){return _0x4c4b31(_0x1d0087);},'SGhNL':_0x484e4c(0x100),'DsOJh':_0x484e4c(0xe4),'RafjC':function(_0xab26f4,_0xdc9a02){return _0xab26f4===_0xdc9a02;},'nGGuk':'TestRunFinished','Wjhbv':function(_0x4275ed,_0x23705a){return _0x4275ed>_0x23705a;}},{feature:_0x21ae51,scenario:_0x4e37f7,steps:_0x8d8c66,uuid:_0x590934,startedAt:_0x1bcb95,finishedAt:_0x35ca72}=_0x3073f4[_0x484e4c(0x90)](_0x3caf10,{}),_0x2101e3=this['getScenarioExamples'](_0x2e12b1,_0x223a2c);await this[_0x484e4c(0x91)]();const _0x1eeb39=_0x2101e3?_0x3073f4['zRdkQ'](_0x3073f4[_0x484e4c(0x8b)](_0x3073f4[_0x484e4c(0xdd)](_0x223a2c[_0x484e4c(0xeb)],'\x20('),_0x2101e3[_0x484e4c(0xfb)](',\x20')),')'):_0x223a2c[_0x484e4c(0xeb)],_0x160594={'uuid':_0x590934,'started_at':_0x1bcb95,'finished_at':_0x35ca72,'type':_0x3073f4[_0x484e4c(0x111)],'body':{'lang':_0x3073f4[_0x484e4c(0xcf)],'code':null},'name':_0x1eeb39,'scopes':[_0x21ae51&&_0x21ae51[_0x484e4c(0xeb)]?_0x21ae51[_0x484e4c(0xeb)]:''],'tags':_0x223a2c[_0x484e4c(0x10c)]?_0x223a2c[_0x484e4c(0x10c)][_0x484e4c(0xee)](({name:_0x168bb9})=>_0x168bb9):[],'file_name':_0x223a2c['uri'],'location':_0x223a2c[_0x484e4c(0xfc)],'vc_filepath':this[_0x484e4c(0xa2)]&&_0x223a2c[_0x484e4c(0xfc)]?path['relative'](this[_0x484e4c(0xa2)],_0x223a2c[_0x484e4c(0xfc)]):null,'framework':_0x3073f4[_0x484e4c(0x85)],'result':_0x3073f4[_0x484e4c(0xc6)],'meta':{'feature':_0x21ae51,'scenario':_0x4e37f7,'steps':_0x8d8c66,'examples':_0x2101e3},'customRerunParam':{'rerun_name':_0x1eeb39}};if(_0x27c526['testCaseFinished']&&_0x8d8c66){const _0x52ec84=_0x27c526[_0x484e4c(0xb0)];let _0x309efe=_0x3073f4[_0x484e4c(0xb3)];_0x8d8c66[_0x484e4c(0xbe)](_0x39d466=>{const _0x58f98f=_0x484e4c;if(_0x3073f4['RTvmf'](_0x39d466[_0x58f98f(0xba)],_0x3073f4[_0x58f98f(0x104)]))return _0x309efe=_0x3073f4[_0x58f98f(0xa6)],_0x52ec84[_0x58f98f(0xa4)]=_0x39d466[_0x58f98f(0xa4)],_0x52ec84['failureType']=_0x39d466[_0x58f98f(0x115)],![];else{if(_0x3073f4[_0x58f98f(0xa5)](_0x39d466[_0x58f98f(0xba)],_0x3073f4[_0x58f98f(0x10b)]))return _0x309efe=_0x3073f4['OgdLd'],![];}return!![];}),_0x160594[_0x484e4c(0x9a)]=new Date()[_0x484e4c(0xf1)](),_0x160594[_0x484e4c(0xba)]=_0x309efe;_0x52ec84[_0x484e4c(0xa1)]&&_0x3073f4[_0x484e4c(0xcc)](_0x52ec84[_0x484e4c(0xa1)][_0x484e4c(0x93)],undefined)?_0x160594[_0x484e4c(0x8f)]=_0x3073f4[_0x484e4c(0x88)](_0x52ec84['timestamp'][_0x484e4c(0x93)],0xf4240):_0x160594['duration_in_ms']=undefined;if(_0x3073f4[_0x484e4c(0x112)](_0x309efe,_0x3073f4[_0x484e4c(0xa6)])){const {default:_0x43461e}=await import(_0x3073f4['QDcsK']);_0x160594[_0x484e4c(0xa4)]=[{'backtrace':[_0x52ec84['failure']?_0x3073f4[_0x484e4c(0xef)](_0x43461e,_0x52ec84[_0x484e4c(0xa4)]):_0x3073f4[_0x484e4c(0xd3)]]}],_0x160594[_0x484e4c(0xdb)]=_0x52ec84[_0x484e4c(0xa4)]?_0x3073f4['TPGNY'](_0x43461e,_0x52ec84[_0x484e4c(0xa4)]):_0x52ec84[_0x484e4c(0x83)],_0x52ec84[_0x484e4c(0x115)]&&(_0x160594['failure_type']=_0x52ec84[_0x484e4c(0x115)]['match'](/AssertError/)?_0x3073f4[_0x484e4c(0xb9)]:_0x3073f4[_0x484e4c(0xe9)]);}}if(_0x3073f4['RafjC'](_0x4b5985,_0x3073f4[_0x484e4c(0xcb)])){const _0x5c482b=this[_0x484e4c(0xc9)](_0x27c526[_0x484e4c(0xb0)][_0x484e4c(0xca)]);_0x5c482b&&_0x3073f4[_0x484e4c(0xff)](_0x5c482b[_0x484e4c(0xc7)],0x0)&&(_0x160594['hooks']=_0x5c482b,this[_0x484e4c(0xb4)](_0x27c526[_0x484e4c(0xb0)][_0x484e4c(0xca)],_0x160594));}testhubUtils['appendTesthubParams'](_0x160594,_0x4b5985,'',FRAMEWORKS[_0x484e4c(0x98)]);const _0x8201a6={};_0x8201a6['event_type']=_0x4b5985,_0x8201a6['test_run']=_0x160594;const _0x751688=_0x8201a6;await SessionHandler['uploadEventData'](_0x751688);}[a10_0x54c91b(0xb4)](_0x147160,_0x925958){const _0x2f5665=a10_0x54c91b,_0x5ecfd6={};_0x5ecfd6[_0x2f5665(0xd1)]=function(_0x31fa2e,_0x2eb2c6){return _0x31fa2e instanceof _0x2eb2c6;},_0x5ecfd6[_0x2f5665(0xc3)]=function(_0x2e8be6,_0x12dfa1){return _0x2e8be6===_0x12dfa1;},_0x5ecfd6['zGQYN']=_0x2f5665(0xf0),_0x5ecfd6[_0x2f5665(0x94)]='4|3|0|2|1';const _0x24e882=_0x5ecfd6,_0x1db363=hooksMap[_0x147160];if(_0x24e882[_0x2f5665(0xd1)](_0x1db363,Array))for(const _0x217625 of _0x1db363){if(_0x24e882['QeuCy'](_0x217625[_0x2f5665(0xba)],_0x24e882[_0x2f5665(0xd0)])){const _0x5b2b15=_0x24e882['dOUmc'][_0x2f5665(0xce)]('|');let _0x13f836=0x0;while(!![]){switch(_0x5b2b15[_0x13f836++]){case'0':_0x925958[_0x2f5665(0xdb)]=_0x24e882[_0x2f5665(0xd1)](_0x217625['failure_data'],Array)?_0x217625[_0x2f5665(0xea)][0x0]['backtrace']['join']('\x0a'):'';continue;case'1':return _0x925958;case'2':_0x925958[_0x2f5665(0xc4)]=_0x217625[_0x2f5665(0xc4)];continue;case'3':_0x925958['failure']=_0x217625[_0x2f5665(0xea)];continue;case'4':_0x925958[_0x2f5665(0xba)]=_0x217625['result'];continue;}break;}}};}[a10_0x54c91b(0xc9)](_0x17e4af){const _0x34cd24=a10_0x54c91b;if(hooksMap[_0x17e4af])return hooksMap[_0x17e4af]['map'](_0x133f91=>_0x133f91[_0x34cd24(0xd2)]);return[];}[a10_0x54c91b(0xe1)](_0x16761d,_0x6c59fb,_0x170fce,_0x4b1263,_0x2ed313,_0x545af0){const _0xe7307f=a10_0x54c91b,_0x27db3a={'PWUBK':function(_0x558b8b,_0x399095){return _0x558b8b===_0x399095;},'epgdw':_0xe7307f(0xde),'WLCoA':function(_0x1f4688,_0x586a05,_0x5dd372){return _0x1f4688(_0x586a05,_0x5dd372);},'GEWaW':_0xe7307f(0xbd),'odWnq':_0xe7307f(0xfc),'WOsfg':_0xe7307f(0xc8),'PpmUj':'hook','jYaPZ':_0xe7307f(0x109),'faizU':function(_0x5606f8,_0x2aa6a8,_0x55763f){return _0x5606f8(_0x2aa6a8,_0x55763f);},'SsnqW':_0xe7307f(0x97),'vrilZ':_0xe7307f(0xeb),'XCSED':function(_0x349d09,_0x6d03e0,_0x3850f3){return _0x349d09(_0x6d03e0,_0x3850f3);},'xhKTP':'cucumber'};try{if(_0x27db3a[_0xe7307f(0xcd)](_0x170fce,_0x27db3a[_0xe7307f(0xbc)])){const _0x24af60=new Date()[_0xe7307f(0xf1)](),_0x2965e2=hooksMap[_0x6c59fb];if(!_0x2965e2)return;const _0x3e207d=_0x2965e2[_0xe7307f(0x9c)](_0x5e55d2=>_0x5e55d2[_0xe7307f(0xd2)]===_0x4b1263['id']);if(!_0x3e207d)return;const _0x4a9550=this[_0xe7307f(0x101)](_0x16761d,_0x6c59fb);_0x3e207d[_0xe7307f(0xba)]=_0x4a9550[_0xe7307f(0xa7)],_0x3e207d[_0xe7307f(0x9a)]=_0x24af60,_0x3e207d[_0xe7307f(0xc4)]=_0x4a9550['failureType'];const _0x3f9b8c={};return _0x3f9b8c['backtrace']=_0x4a9550[_0xe7307f(0xfd)],_0x3e207d[_0xe7307f(0xea)]=[_0x3f9b8c],_0x3e207d;}const _0x489414=TestDetails[_0xe7307f(0x8d)](_0x6c59fb),_0x1a69f8=_0x16761d['hooks'][_0xe7307f(0x9c)](_0x121669=>_0x121669['id']===_0x4b1263[_0xe7307f(0x87)]),_0x50f579=_0x27db3a[_0xe7307f(0xb5)](nestedKeyValue,_0x1a69f8,[_0x27db3a[_0xe7307f(0xdc)],_0x27db3a[_0xe7307f(0xd6)]]),_0x17bff3=new Date()[_0xe7307f(0xf1)](),_0x22fe3a=_0x27db3a[_0xe7307f(0x110)],_0x251746=_0x1a69f8[_0xe7307f(0xe7)]?_0x1a69f8['tagExpression'][_0xe7307f(0xce)]('\x20')['filter'](_0x3fa423=>_0x3fa423[_0xe7307f(0x114)]('@')):[],_0x364e6b={'uuid':_0x4b1263['id'],'type':_0x27db3a[_0xe7307f(0xc0)],'hook_type':_0x545af0,'name':_0x1a69f8['name'],'body':{'lang':_0x27db3a[_0xe7307f(0x96)],'code':null},'tags':_0x251746,'test_run_id':_0x489414,'scope':_0x27db3a[_0xe7307f(0x84)](nestedKeyValue,_0x2ed313,[_0x27db3a[_0xe7307f(0x9f)],_0x27db3a[_0xe7307f(0x105)]]),'scopes':[_0x27db3a['XCSED'](nestedKeyValue,_0x2ed313,[_0x27db3a[_0xe7307f(0x9f)],_0x27db3a[_0xe7307f(0x105)]])||''],'file_name':_0x50f579,'location':_0x50f579,'vc_filepath':this[_0xe7307f(0xa2)]?path['relative'](this[_0xe7307f(0xa2)],_0x50f579):null,'result':_0x22fe3a,'started_at':_0x17bff3,'framework':_0x27db3a[_0xe7307f(0xfe)]};return _0x364e6b;}catch(_0x1f97f9){logger[_0xe7307f(0x8c)](_0xe7307f(0x118)+util['format'](_0x1f97f9)+'\x20');}}async[a10_0x54c91b(0x99)](_0x1de299,_0x283059,_0x10bb7b,_0x418a9b,_0x53275d,_0x1ea710){const _0x54bf92=a10_0x54c91b,_0x5ee2da={'tSxhU':function(_0xa8d4a5,_0xdefa4c){return _0xa8d4a5===_0xdefa4c;},'LRAdF':_0x54bf92(0x107),'ZgCxJ':function(_0x38face,_0x456ea6,_0x709d5d){return _0x38face(_0x456ea6,_0x709d5d);},'Ktxsy':_0x54bf92(0xbd),'xsiGk':_0x54bf92(0xfc),'ZAXEd':'browserstack-node-agent/src/bin/cucumber-js/test.setup.js'};try{const _0x455642=_0x418a9b[_0x54bf92(0x9c)](_0x3b0e77=>_0x3b0e77['id']===_0x53275d);if(!_0x455642[_0x54bf92(0x87)])return;const _0x3d1ded=this['getCucumberHookType'](_0x418a9b,_0x455642),_0x17ac49=this['getHookRunEventData'](_0x1de299,_0x283059,_0x10bb7b,_0x455642,_0x1ea710,_0x3d1ded);if(!_0x17ac49)return;_0x5ee2da[_0x54bf92(0xc5)](_0x10bb7b,_0x5ee2da[_0x54bf92(0x9d)])&&(hooksMap[_0x283059]?hooksMap[_0x283059][_0x54bf92(0xf5)](_0x17ac49):hooksMap[_0x283059]=[_0x17ac49]);const _0x5ddd1e=_0x1de299[_0x54bf92(0xe3)][_0x54bf92(0x9c)](_0x3c47ec=>_0x3c47ec['id']===_0x455642[_0x54bf92(0x87)]),_0x232dfd=_0x5ee2da[_0x54bf92(0xa0)](nestedKeyValue,_0x5ddd1e,[_0x5ee2da[_0x54bf92(0xe8)],_0x5ee2da[_0x54bf92(0x9e)]]);if(!_0x232dfd)return;else{if(_0x232dfd[_0x54bf92(0x114)](_0x5ee2da[_0x54bf92(0xf3)]))return;}const _0x98e49b={};_0x98e49b['event_type']=_0x10bb7b,_0x98e49b[_0x54bf92(0xe0)]=_0x17ac49;const _0x28f51a=_0x98e49b;await SessionHandler[_0x54bf92(0xae)](_0x28f51a);}catch(_0x376df4){logger['debug']('Exception\x20in\x20sendHook:\x20'+util['format'](_0x376df4)+'\x20');}}[a10_0x54c91b(0x101)](_0x10bce2,_0x2f2d05){const _0x4d5083=a10_0x54c91b,_0x22ce1b={};_0x22ce1b['uIuCw']=function(_0x509b18,_0x4873e1){return _0x509b18===_0x4873e1;},_0x22ce1b[_0x4d5083(0xec)]=_0x4d5083(0xf0),_0x22ce1b['cHHad']=function(_0x50c15e,_0xe78633){return _0x50c15e===_0xe78633;},_0x22ce1b[_0x4d5083(0xad)]=function(_0x2963bb,_0x5b4658){return _0x2963bb===_0x5b4658;},_0x22ce1b[_0x4d5083(0xf4)]=_0x4d5083(0xe4),_0x22ce1b[_0x4d5083(0x9b)]='AssertionError',_0x22ce1b[_0x4d5083(0xfa)]=function(_0x42d644,_0xe7167f){return _0x42d644||_0xe7167f;};const _0x178454=_0x22ce1b,_0x2f639a=_0x10bce2[_0x4d5083(0xc1)][_0x2f2d05][_0x4d5083(0xf6)];let _0x134649,_0x298d55;return _0x2f639a&&_0x178454['uIuCw'](_0x2f639a[_0x4d5083(0xa7)][_0x4d5083(0x89)]()[_0x4d5083(0x102)](),_0x178454[_0x4d5083(0xec)])&&(_0x134649=_0x178454[_0x4d5083(0xa9)](_0x2f639a[_0x4d5083(0xaa)],undefined)?_0x2f639a[_0x4d5083(0x83)]:_0x2f639a[_0x4d5083(0xaa)][_0x4d5083(0x83)],_0x298d55=_0x178454[_0x4d5083(0xad)](_0x2f639a[_0x4d5083(0xaa)],undefined)?_0x178454['cLZYb']:_0x2f639a[_0x4d5083(0x83)]['match'](/Assert/)?_0x178454['SWkhP']:_0x178454[_0x4d5083(0xf4)]),{'status':_0x2f639a[_0x4d5083(0xa7)][_0x4d5083(0x102)](),'failureType':_0x178454[_0x4d5083(0xfa)](_0x298d55,null),'failureData':!_0x134649?null:[_0x134649]};}['getCucumberHookType'](_0x4372df,_0xba3f1d){const _0x5583c6=a10_0x54c91b,_0xe6b8cb={};_0xe6b8cb['InXHF']=function(_0x4adf8f,_0x51aea6){return _0x4adf8f===_0x51aea6;},_0xe6b8cb[_0x5583c6(0xab)]='AFTER_EACH',_0xe6b8cb[_0x5583c6(0x119)]=_0x5583c6(0xf8);const _0x2c1214=_0xe6b8cb;let _0x331135=![];for(const _0x5bf326 of _0x4372df){_0x5bf326[_0x5583c6(0x103)]&&(_0x331135=!![]);if(_0x2c1214['InXHF'](_0xba3f1d['id'],_0x5bf326['id']))return _0x331135?_0x2c1214['uOQwV']:_0x2c1214['DOLmo'];}}['getScenarioExamples']=(_0x2780b2,_0x8e524c)=>{const _0x1f1544=a10_0x54c91b,_0x393134={};_0x393134['Uwnae']=function(_0x3872b1,_0x3d607d){return _0x3872b1===_0x3d607d;},_0x393134[_0x1f1544(0xd9)]=function(_0x4f3981,_0x5de8af){return _0x4f3981>_0x5de8af;};const _0x38017d=_0x393134;if(!(_0x8e524c['astNodeIds']&&_0x38017d[_0x1f1544(0xd9)](_0x8e524c[_0x1f1544(0xf9)][_0x1f1544(0xc7)],0x1)))return;const _0x41f0f7=_0x8e524c[_0x1f1544(0xf9)][0x0],_0xe18335=_0x8e524c[_0x1f1544(0xf9)][0x1],_0x3b324c=_0x2780b2['feature']&&_0x2780b2[_0x1f1544(0x97)][_0x1f1544(0xd5)]?_0x2780b2[_0x1f1544(0x97)][_0x1f1544(0xd5)]:undefined;let _0x25c3fe=[];_0x3b324c&&_0x3b324c[_0x1f1544(0xb2)](_0x4b108a=>{const _0x1976e5=_0x1f1544,_0x394c40={'gkHhs':function(_0x567485,_0x31dd55){const _0x9cd21=a10_0x5947;return _0x38017d[_0x9cd21(0xd7)](_0x567485,_0x31dd55);}};if(_0x4b108a[_0x1976e5(0x113)])_0x4b108a[_0x1976e5(0x113)][_0x1976e5(0xd5)][_0x1976e5(0xb2)](_0x1570b1=>{const _0x1e554=_0x1976e5;if(_0x1570b1[_0x1e554(0x10d)]&&_0x394c40['gkHhs'](_0x1570b1[_0x1e554(0x10d)]['id'],_0x41f0f7)&&_0x1570b1[_0x1e554(0x10d)][_0x1e554(0x95)]){const _0x4a5004=_0x1570b1[_0x1e554(0x10d)][_0x1e554(0x95)][_0x1e554(0xf7)](_0x48b18f=>_0x48b18f[_0x1e554(0xda)])[_0x1e554(0x9c)](_0xfc1e0d=>_0xfc1e0d['id']===_0xe18335);let _0x915328;_0x4a5004&&_0x4a5004[_0x1e554(0x10a)]?_0x915328=_0x4a5004[_0x1e554(0x10a)][_0x1e554(0xee)](_0xe4fc48=>_0xe4fc48[_0x1e554(0x106)]):_0x915328=[],_0x915328&&(_0x25c3fe=_0x915328);}});else{if(_0x4b108a['scenario']&&_0x38017d[_0x1976e5(0xd7)](_0x4b108a['scenario']['id'],_0x41f0f7)&&_0x4b108a[_0x1976e5(0x10d)][_0x1976e5(0x95)]){const _0x169774=_0x4b108a[_0x1976e5(0x10d)][_0x1976e5(0x95)]['flatMap'](_0x392b3d=>_0x392b3d[_0x1976e5(0xda)])[_0x1976e5(0x9c)](_0x22dd30=>_0x22dd30['id']===_0xe18335);let _0x7e35ca;_0x169774&&_0x169774['cells']?_0x7e35ca=_0x169774['cells'][_0x1976e5(0xee)](_0xaf63a1=>_0xaf63a1[_0x1976e5(0x106)]):_0x7e35ca=[],_0x7e35ca&&(_0x25c3fe=_0x7e35ca);}}});if(_0x25c3fe[_0x1f1544(0xc7)])return _0x25c3fe;return;};async[a10_0x54c91b(0x91)](){const _0x42bcb5=a10_0x54c91b,_0xdb4705={'SLgYA':function(_0x5859fd){return _0x5859fd();}};if(this[_0x42bcb5(0xb6)])return this[_0x42bcb5(0xa2)];const _0x397011=await _0xdb4705[_0x42bcb5(0xaf)](getGitMetaData);_0x397011&&(this[_0x42bcb5(0xa2)]=_0x397011['root']),this['_gitConfigured']=!![];}}module[a10_0x54c91b(0xa3)]=o11yClassErrorHandler(TestObservabilityReporter,['configureGit',a10_0x54c91b(0x116),'getCucumberHookType','getHookResult',a10_0x54c91b(0x99),a10_0x54c91b(0xe1),a10_0x54c91b(0xe6)]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11_0x56db94=a11_0x2cd5;(function(_0x447a80,_0x176fcb){const _0x30b616=a11_0x2cd5,_0xb156a5=_0x447a80();while(!![]){try{const _0x45c356=parseInt(_0x30b616(0x18f))/0x1*(parseInt(_0x30b616(0x1cc))/0x2)+parseInt(_0x30b616(0x1d1))/0x3*(parseInt(_0x30b616(0x193))/0x4)+-parseInt(_0x30b616(0x158))/0x5+parseInt(_0x30b616(0x18d))/0x6*(parseInt(_0x30b616(0x190))/0x7)+-parseInt(_0x30b616(0x1cf))/0x8+-parseInt(_0x30b616(0x154))/0x9+-parseInt(_0x30b616(0x163))/0xa*(-parseInt(_0x30b616(0x1e5))/0xb);if(_0x45c356===_0x176fcb)break;else _0xb156a5['push'](_0xb156a5['shift']());}catch(_0x1c03e8){_0xb156a5['push'](_0xb156a5['shift']());}}}(a11_0xcf3a,0x7beee));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0x56db94(0x17c)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require(a11_0x56db94(0x1ca)),setKeepAlive=require('../../helpers/setKeepAlive'),util=require(a11_0x56db94(0x1ef)),PerformanceTester=require(a11_0x56db94(0x1f7)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0x56db94(0x1be),a11_0x56db94(0x1dc)),logger=require(a11_0x56db94(0x199))[a11_0x56db94(0x13c)],{shouldProcessEventForTesthub}=require(a11_0x56db94(0x1a0)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0x56db94(0x132)),TestDetails=require('../playwright/reporter/test-details.js'),RequestQueueHandler=require(a11_0x56db94(0x1a1)),{o11yErrorHandler}=require('../../helpers/test-observability/error-handler'),MyReporter=require(a11_0x56db94(0x160)),SessionHandler=require('../../helpers/test-observability/sessionHandler'),scripts=require(a11_0x56db94(0x1de)),globals=require(a11_0x56db94(0x1c0)),testHubConstants=require(a11_0x56db94(0x1d5)),{shouldScanTestForAccessibility}=require(a11_0x56db94(0x189)),{isUndefined}=require(a11_0x56db94(0x18a)),helper=require(a11_0x56db94(0x17c)),a11_0x314355={};a11_0x314355[a11_0x56db94(0x1a4)]=undefined,a11_0x314355[a11_0x56db94(0x1e6)]={},a11_0x314355[a11_0x56db94(0x1e3)]=![],a11_0x314355[a11_0x56db94(0x133)]=null,a11_0x314355[a11_0x56db94(0x1bf)]=![],a11_0x314355[a11_0x56db94(0x1e6)]['id']=undefined,a11_0x314355[a11_0x56db94(0x1e6)]['testInfo']=undefined;const workerDetails=a11_0x314355;global[a11_0x56db94(0x1f1)]=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x35b133){const _0x3d8507=a11_0x56db94,_0x3e34b0=workerDetails[_0x3d8507(0x1e6)][_0x3d8507(0x139)];if(!_0x3e34b0)return;await MyReporter[_0x3d8507(0x12d)](_0x3e34b0,_0x35b133);}),registerListeners=()=>{const _0x141efb=a11_0x56db94,_0xf0593a={};_0xf0593a[_0x141efb(0x1b3)]=_0x141efb(0x1a5);const _0x2b3418=_0xf0593a;logger[_0x141efb(0x191)](_0x2b3418[_0x141efb(0x1b3)]),process['removeAllListeners'](_0x141efb(0x1a9)+process[_0x141efb(0x195)]),process['on'](_0x141efb(0x1a9)+process[_0x141efb(0x195)],sendTestLog),PerformanceTester[_0x141efb(0x13b)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0x56db94(0x1c7)],After=cucumberModule['After'],AfterAll=cucumberModule[a11_0x56db94(0x1cd)],BeforeAll=cucumberModule[a11_0x56db94(0x1a6)],AfterStep=cucumberModule['AfterStep'],configuration=process[a11_0x56db94(0x188)][a11_0x56db94(0x1e1)],bstackConfig=process[a11_0x56db94(0x188)][a11_0x56db94(0x1b7)];if(configuration!==undefined){const config=JSON[a11_0x56db94(0x12f)](configuration);isBrowserstackInfra()?(global[a11_0x56db94(0x156)]=isTrue(config['skipSessionName']),global[a11_0x56db94(0x1d3)]=isTrue(config[a11_0x56db94(0x14b)])):(global['__skipSessionName']=!![],global[a11_0x56db94(0x1d3)]=!![]);!helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153))&&(logger['debug'](a11_0x56db94(0x1b5)),shouldProcessEventForTesthub()?require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config,null,!![]):require(a11_0x56db94(0x184))[a11_0x56db94(0x176)](config));global['__platformCaps']=config[a11_0x56db94(0x131)]||{};if(helper[a11_0x56db94(0x1f5)](a11_0x56db94(0x153)))try{logger[a11_0x56db94(0x191)]('Performing\x20Playwright\x20Patching'),playwrightPatcher=require(a11_0x56db94(0x14f)),playwrightPatcher['initializePlaywrightPatching'](config),logger[a11_0x56db94(0x191)]('Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS');}catch(a11_0x13c9fd){logger[a11_0x56db94(0x191)](a11_0x56db94(0x16a)+util[a11_0x56db94(0x1ed)](a11_0x13c9fd));}}function a11_0xcf3a(){const _0x5ee931=['Inside\x20browserstack\x20Before','uaBFP','../v2/browserstackCLI','SqSQs',',\x20isPlaywrightFlow=','Performing\x20Selenium\x20Patching','pickle','BSTACK_CONFIG','initQuit','status','Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20','Inside\x20browserstack\x20AfterStep','then','toString','@cucumber/cucumber/lib/index.js','isPageFixture','../../helpers/globals','Passed:\x20','ImRyP','shift','kNbBO','CZIcK','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Before','__error_messages__','XvynZ','../utils/constants','odLVv','98sISdWE','AfterAll','Cleaned\x20up\x20Playwright\x20close\x20tracker','3092232WNvKQP','beforeTestHook','1671xCoqeI','Inside\x20browserstack\x20After','__skipSessionStatus','BROWSERSTACK_TESTHUB_JWT','../../helpers/testhub/constants.js','Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20','testCaseStartedId','eAhyW','exjse','BROWSERSTACK_TESTHUB_UUID','map','@cucumber/cucumber','tXXTB','../../helpers/accessibility-automation/scripts','cucumber-js','integrations','CONFIG','quitCount_','o11ySyncDone','SrOJp','55uLipTU','currentTest','bstackA11yShouldScan','pickleStep','OWueD','getInstance','getGlobal','session_','format','__timeout','util','NLJcN','__workerDetails','tags','bstack','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','getPackageVersion','yRQFP','../../helpers/performance/performance-tester','toLowerCase','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','setDefaultTimeout','failed','WuzRK','Error:\x20at\x20After\x20(Playwright):\x20','uiHhh','UAUjj','addTestUIDAndReportLog','CDpPa','parse','lMsbT','platformCaps','../../helpers/test-observability/utils','pwPage','thJwtToken','Error\x20in\x20playwright\x20beforeTestHook:\x20','executeDeferredCloses','\x20|\x20','info','testInfo','Error:\x20at\x20After\x20Step:\x20','startMonitoring','winstonLogger','XkUFw','Error:\x20in\x20quitting\x20driver\x20','Error:\x20quiting\x20driver\x20at\x20After:\x20','closeTracker','sKrNh','YmEHg','LlGbA','MzCZj','PHkiP','stringify','error','Error:\x20cleaning\x20up\x20driver:\x20','KDIKu','iRgOa','skipSessionStatus','finally','Failed:\x20','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','./playwright-patcher','AOKax','__drivers','event_type','@playwright/test','5857479BOhtwI','text','__skipSessionName','Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20','4200200aZwmPL','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','executeAsyncScript','0|4|2|3|1','saveTestResults','setFrameworkDetail','NMPVQ','HaCMF','../playwright/reporter/reporter.js','timeout','WRxXc','1980710qKKgqK','QufJi','test_run','getTestUUID','length','UjDLA','QoZfg','Error\x20initializing\x20Playwright\x20patching:\x20','passed','Inside\x20browserstack\x20BeforeAll','executeScript','zYcYn','Error:\x20sendPlatformDetails\x20at\x20After:\x20','\x0aError:\x20','Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','uuid','push','rRtRQ','browserstackAgentV2','setTestNameForHealingContext','Cucumber-JS','catch','wzTSh','CUCUMBER','../../helpers/helper','message','xRFRd','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Inside\x20browserstack\x20AfterAll','sNbal','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','UxzcN','../../index','Cqxwa','thBuildUuid','__sessionFailed','env','../../helpers/accessibility-automation/helper','lodash',',\x22level\x22:\x20\x22','driverCleanup','6UThOgK','ECpDM','14750wsYrsF','1681750KnsmXt','debug','name','3100mXrSjx','ENV_VAR','pid','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','hfRtM','IUABj','../../helpers/logger','result','stopMonitoring','uploadEventData','join','isAccessibilityPlatform','split','../../helpers/testhub/utils','../../helpers/test-observability/requestQueueHandler','CBTSessionCreated','\x22}}','workerInfo','Inside\x20browserstack\x20registerListeners','BeforeAll','lxJhg','Error\x20executing\x20fallback\x20deferred\x20closes:\x20','bs:addLog:','GMcft','WmIpj','dNbeE','Passed','QLJsi','uQUXu'];a11_0xcf3a=function(){return _0x5ee931;};return a11_0xcf3a();}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0x56db94(0x12f)](bstackConfig);browserStackConfig&&(commandRepository['setConfig'](browserStackConfig),commandRepository['setFramework'](a11_0x56db94(0x1df)));}global[a11_0x56db94(0x1ee)]=0x0;const __setDefaultTimeout=cucumberModule['setDefaultTimeout'];cucumberModule[a11_0x56db94(0x127)]=_0x4d2a91=>{const _0x239a84=a11_0x56db94,_0x116696={'LlGbA':function(_0x5cb915,_0x145a1f){return _0x5cb915(_0x145a1f);}};global[_0x239a84(0x1ee)]=_0x4d2a91,_0x116696[_0x239a84(0x143)](__setDefaultTimeout,_0x4d2a91);};const a11_0x4f3eba={};a11_0x4f3eba[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),BeforeAll(a11_0x4f3eba,async function(){const _0x38e4b1=a11_0x56db94,_0x2c034b={'TgwYG':function(_0x1cd34b,_0xe5cbae,_0x1b06b5,_0x3f7d5e){return _0x1cd34b(_0xe5cbae,_0x1b06b5,_0x3f7d5e);},'ImRyP':'failed','HaCMF':_0x38e4b1(0x137),'uQUXu':function(_0xe01a07,_0x32567c,_0x2196ce){return _0xe01a07(_0x32567c,_0x2196ce);},'NMPVQ':_0x38e4b1(0x16b),'GMcft':_0x38e4b1(0x16c),'QufJi':function(_0x32d062,_0x25ea17){return _0x32d062(_0x25ea17);},'UAUjj':_0x38e4b1(0x1b2),'WuzRK':'../v2/cliUtils','lxJhg':_0x38e4b1(0x1ca),'PHkiP':_0x38e4b1(0x182),'XvynZ':function(_0x6e9211){return _0x6e9211();},'MNBNY':function(_0x4f71e7){return _0x4f71e7();},'NLJcN':function(_0x3d98b2,_0x3a5f24){return _0x3d98b2(_0x3a5f24);}};PerformanceTester[_0x38e4b1(0x13b)](),logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x1aa)]),global[_0x38e4b1(0x1c8)]=[],global[_0x38e4b1(0x187)]=![];if(playwrightPatcher)try{const _0x18a718=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x12c)]),_0x31ddc1=_0x2c034b['QufJi'](require,_0x2c034b[_0x38e4b1(0x129)]),{FRAMEWORKS:_0x1dead2}=_0x2c034b[_0x38e4b1(0x164)](require,_0x2c034b[_0x38e4b1(0x1a7)]);_0x18a718[_0x38e4b1(0x1ea)]()['isCliEnabled']()&&(logger[_0x38e4b1(0x191)](_0x2c034b[_0x38e4b1(0x145)]),_0x31ddc1[_0x38e4b1(0x15d)](_0x1dead2[_0x38e4b1(0x17b)],_0x1dead2['PLAYWRIGHT']),await _0x18a718[_0x38e4b1(0x1ea)]()['bootstrap']());}catch(_0x14f47a){logger[_0x38e4b1(0x191)](_0x38e4b1(0x172)+util[_0x38e4b1(0x1ed)](_0x14f47a));}_0x2c034b[_0x38e4b1(0x1c9)](shouldProcessEventForTesthub)&&(_0x2c034b['MNBNY'](registerListeners),_0x2c034b[_0x38e4b1(0x1f0)](addRequestSpy,![])),global[_0x38e4b1(0x18c)]=async()=>{const _0x41f23a=_0x38e4b1;let _0x1895dd=![];try{global['__drivers']&&global[_0x41f23a(0x151)][0x0]&&(await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)],_0x1895dd=!![],global[_0x41f23a(0x187)]?await _0x2c034b['TgwYG'](markSessionStatus,global['__drivers'][0x0],_0x2c034b[_0x41f23a(0x1c2)],global[_0x41f23a(0x1c8)][_0x41f23a(0x19d)](_0x2c034b[_0x41f23a(0x15f)])):await _0x2c034b[_0x41f23a(0x1af)](markSessionStatus,global[_0x41f23a(0x151)][0x0],_0x2c034b[_0x41f23a(0x15e)]));}catch(_0x2a01b9){logger['debug'](_0x41f23a(0x148)+_0x2a01b9);}global[_0x41f23a(0x1c8)]=[],global[_0x41f23a(0x187)]=![];if(_0x1895dd)try{await global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1b8)](),global[_0x41f23a(0x151)][0x0][_0x41f23a(0x1ec)][_0x41f23a(0x1bc)](_0x10311a=>{const _0x47ab1f=_0x41f23a;logger[_0x47ab1f(0x191)](_0x47ab1f(0x13e)+_0x10311a['getId']());})[_0x41f23a(0x179)](_0x3a1540=>{});}catch(_0x33c5fc){logger['debug'](_0x41f23a(0x159)+_0x33c5fc);}};});function a11_0x2cd5(_0x47001e,_0x4c5b80){const _0xcf3ae9=a11_0xcf3a();return a11_0x2cd5=function(_0x2cd588,_0x4cdcc2){_0x2cd588=_0x2cd588-0x127;let _0x3fb111=_0xcf3ae9[_0x2cd588];return _0x3fb111;},a11_0x2cd5(_0x47001e,_0x4c5b80);}const a11_0x26c47e={};a11_0x26c47e[a11_0x56db94(0x192)]='bstack',a11_0x26c47e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],Before(a11_0x26c47e,function(_0x54cdfc,_0x59183d){const _0x16bda0=a11_0x56db94,_0x3d5d74={'uiHhh':function(_0x1d4c3e,_0xb4a031){return _0x1d4c3e>_0xb4a031;},'DFnUQ':function(_0x257745,_0x4d5cde){return _0x257745(_0x4d5cde);},'lwVnp':function(_0x3205cd,_0x53fa09,_0x4b11c0,_0x19690a){return _0x3205cd(_0x53fa09,_0x4b11c0,_0x19690a);},'wzTSh':_0x16bda0(0x1e7),'dNbeE':function(_0x58ef9d){return _0x58ef9d();},'tXXTB':_0x16bda0(0x1b0)};commandRepository[_0x16bda0(0x177)](_0x54cdfc['pickle'][_0x16bda0(0x192)]),logger['debug'](_0x3d5d74[_0x16bda0(0x1dd)]),new Promise(async _0x53003a=>{const _0x586000=_0x16bda0;try{global['__drivers']&&_0x3d5d74[_0x586000(0x12b)](global[_0x586000(0x151)]['length'],0x1)&&(await global[_0x586000(0x18c)](),global[_0x586000(0x151)][_0x586000(0x1c3)]()),global[_0x586000(0x151)]&&global[_0x586000(0x151)][0x0]&&global['__drivers'][0x0][_0x586000(0x1e2)]&&_0x3d5d74[_0x586000(0x12b)](global['__drivers'][0x0][_0x586000(0x1e2)],0x0)&&await global[_0x586000(0x18c)]();}catch(_0x1c845d){logger['debug'](_0x586000(0x1f9)+_0x1c845d);}workerDetails[_0x586000(0x1e6)][_0x586000(0x139)]=_0x54cdfc;if(playwrightPatcher)try{await playwrightPatcher[_0x586000(0x1d0)](_0x54cdfc);}catch(_0x316e4a){logger[_0x586000(0x191)](_0x586000(0x135)+util[_0x586000(0x1ed)](_0x316e4a));}try{if(!_0x3d5d74['DFnUQ'](isUndefined,_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)])){const _0xb04fd8=_0x3d5d74['lwVnp'](shouldScanTestForAccessibility,null,![],_0x54cdfc[_0x586000(0x1b6)][_0x586000(0x1f2)][_0x586000(0x1db)](({name:_0x2a7a1d})=>_0x2a7a1d));globals['setGlobal'](_0x3d5d74[_0x586000(0x17a)],_0xb04fd8);}}catch(_0x119e8e){logger[_0x586000(0x191)](_0x586000(0x1f4)+util[_0x586000(0x1ed)](_0x119e8e));}_0x3d5d74[_0x586000(0x1ac)](_0x53003a);})['finally'](_0x59183d);});const a11_0x176e92={};a11_0x176e92[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x176e92['timeout']=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],After(a11_0x176e92,function(_0x2a2b41,_0x42d56e){const _0x45a1c5=a11_0x56db94,_0x4f991a={'zYcYn':function(_0x1f57ee,_0x3f73e5){return _0x1f57ee>_0x3f73e5;},'yRQFP':function(_0x3d6ccf,_0x514b1c){return _0x3d6ccf===_0x514b1c;},'UxzcN':_0x45a1c5(0x128),'iRgOa':function(_0x1dbba5,_0x305776,_0x36866a,_0xdf6a5a){return _0x1dbba5(_0x305776,_0x36866a,_0xdf6a5a);},'WRxXc':_0x45a1c5(0x137),'OSiPB':function(_0x3d7cc3,_0x1d94a8,_0x1e7a1c){return _0x3d7cc3(_0x1d94a8,_0x1e7a1c);},'xRFRd':_0x45a1c5(0x16b),'MzCZj':'Completed\x20Playwright\x20afterTestHook\x20execution','eiVXE':'Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','FnPVs':function(_0x2e96d4){return _0x2e96d4();},'SrOJp':function(_0x2eeecd,_0x341516,_0xa1d821,_0x34e349){return _0x2eeecd(_0x341516,_0xa1d821,_0x34e349);},'YmEHg':_0x45a1c5(0x1a2),'KDIKu':_0x45a1c5(0x19e),'WmIpj':_0x45a1c5(0x1e7),'rRtRQ':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','PBORX':'Performing\x20scan\x20before\x20saving\x20results','Cqxwa':_0x45a1c5(0x14e),'QoZfg':function(_0x4096cb){return _0x4096cb();},'AoMBN':_0x45a1c5(0x1d2)};logger['debug'](_0x4f991a['AoMBN']),workerDetails[_0x45a1c5(0x1e6)]['testInfo']=_0x2a2b41,new Promise(async _0xe2b4ad=>{const _0x13188a=_0x45a1c5;let _0x513b03=![],_0x443a5d=![],_0x38f1aa=![];try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)][_0x13188a(0x167)],0x0)&&(_0x443a5d=!![]),playwrightPatcher&&global[_0x13188a(0x1f1)]&&global[_0x13188a(0x1f1)]['pwPage']&&(_0x38f1aa=!![],logger[_0x13188a(0x191)]('Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20'+!!global[_0x13188a(0x1f1)]['pwPage']));}catch(_0x5d875b){logger[_0x13188a(0x191)]('Error\x20determining\x20test\x20flow:\x20'+_0x5d875b);}logger[_0x13188a(0x191)]('Flow\x20detection:\x20isSeleniumFlow='+_0x443a5d+_0x13188a(0x1b4)+_0x38f1aa);const _0x295a5e=_0x2a2b41[_0x13188a(0x19a)]['status'][_0x13188a(0x1bd)]()[_0x13188a(0x1f8)](),_0x29ff39=_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,_0x4f991a[_0x13188a(0x183)])||_0x4f991a[_0x13188a(0x1f6)](_0x295a5e,'6'),_0xc0d2b1=_0x29ff39?_0x2a2b41[_0x13188a(0x19a)][_0x13188a(0x17d)]:null;if(_0x29ff39)try{global[_0x13188a(0x1c8)][_0x13188a(0x174)](_0x2a2b41[_0x13188a(0x19a)]['message']),global[_0x13188a(0x187)]=!![];}catch(_0x357975){logger[_0x13188a(0x191)](_0x13188a(0x171)+_0x357975);}if(_0x443a5d)try{global[_0x13188a(0x151)]&&_0x4f991a[_0x13188a(0x16e)](global[_0x13188a(0x151)]['length'],0x1)&&(await global[_0x13188a(0x18c)](),global[_0x13188a(0x151)]['shift'](),global[_0x13188a(0x1c8)]=[],global['__sessionFailed']=![]),global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(await global[_0x13188a(0x151)][0x0][_0x13188a(0x1ec)],_0x513b03=!![],!global[_0x13188a(0x156)]&&await global[_0x13188a(0x151)][0x0][_0x13188a(0x16d)](_0x13188a(0x17f)+_0x2a2b41[_0x13188a(0x1b6)][_0x13188a(0x192)]+_0x13188a(0x1a3)),_0x29ff39?await _0x4f991a[_0x13188a(0x14a)](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x183)],global['__error_messages__']['join'](_0x4f991a[_0x13188a(0x162)])):await _0x4f991a['OSiPB'](markSessionStatus,global[_0x13188a(0x151)][0x0],_0x4f991a[_0x13188a(0x17e)]));}catch(_0x90760d){logger[_0x13188a(0x191)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x13188a(0x1ed)](_0x90760d));}if(_0x38f1aa)try{const _0x30ccef=_0x29ff39?_0x4f991a[_0x13188a(0x183)]:_0x4f991a['xRFRd'];await playwrightPatcher['afterTestHook'](_0x2a2b41,_0x30ccef,_0xc0d2b1),logger['debug'](_0x4f991a[_0x13188a(0x144)]);}catch(_0x428139){logger[_0x13188a(0x191)](_0x13188a(0x12a)+util[_0x13188a(0x1ed)](_0x428139));try{playwrightPatcher[_0x13188a(0x136)]&&(await playwrightPatcher[_0x13188a(0x136)](),logger['debug'](_0x4f991a['eiVXE']));}catch(_0x39900f){logger[_0x13188a(0x191)](_0x13188a(0x1a8)+util['format'](_0x39900f));}}try{if(_0x4f991a['FnPVs'](shouldProcessEventForTesthub)){const _0x1d4053=TestDetails['getTestUUID'](_0x2a2b41[_0x13188a(0x1d7)]);let _0x487d94=null;global[_0x13188a(0x151)]&&global[_0x13188a(0x151)][0x0]&&(_0x487d94=await _0x4f991a[_0x13188a(0x1e4)](sendPlatformDetails,global['__drivers'][0x0],_0x1d4053,!![]));const _0x56d979={};_0x56d979[_0x13188a(0x173)]=_0x1d4053,_0x56d979[_0x13188a(0x1e0)]=_0x487d94;const _0x4e01ce=_0x56d979,_0x58ead9={};_0x58ead9[_0x13188a(0x152)]=_0x4f991a[_0x13188a(0x142)],_0x58ead9[_0x13188a(0x165)]=_0x4e01ce,await SessionHandler[_0x13188a(0x19c)](_0x58ead9);}}catch(_0x149097){logger[_0x13188a(0x191)](_0x13188a(0x16f)+util['format'](_0x149097));}try{if(globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x149)])&&globals[_0x13188a(0x1eb)](_0x4f991a[_0x13188a(0x1ab)])){logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x175)]);const _0x8b2851=TestDetails[_0x13188a(0x166)](_0x2a2b41[_0x13188a(0x1d7)]),_0x1a55be={};_0x1a55be['thTestRunUuid']=_0x8b2851,_0x1a55be[_0x13188a(0x186)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1da)]],_0x1a55be[_0x13188a(0x134)]=process[_0x13188a(0x188)][testHubConstants[_0x13188a(0x194)][_0x13188a(0x1d4)]];const _0x5029a8=_0x1a55be;logger[_0x13188a(0x191)](_0x13188a(0x1d6)+JSON[_0x13188a(0x146)](_0x5029a8)),logger[_0x13188a(0x191)](_0x4f991a['PBORX']),global['__drivers']&&global[_0x13188a(0x151)][0x0]&&(logger[_0x13188a(0x191)](util[_0x13188a(0x1ed)](await global[_0x13188a(0x151)][0x0]['executeAsyncScript'](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x13188a(0x151)][0x0][_0x13188a(0x15a)](scripts[_0x13188a(0x15c)],_0x5029a8)),logger[_0x13188a(0x138)](_0x4f991a[_0x13188a(0x185)]);}}catch(_0x1dcd21){logger[_0x13188a(0x147)](_0x13188a(0x157)+util[_0x13188a(0x1ed)]);}if(_0x513b03)try{global['__drivers'][0x0]&&_0x4f991a[_0x13188a(0x16e)](global['__drivers'][0x0][_0x13188a(0x1e2)],0x0)&&await global['__drivers'][0x0]['initQuit']();}catch(_0x39abdd){logger[_0x13188a(0x191)](_0x13188a(0x13f)+_0x39abdd);}_0x4f991a[_0x13188a(0x169)](_0xe2b4ad);})[_0x45a1c5(0x14c)](()=>_0x42d56e());});const a11_0x3c1a2e={};a11_0x3c1a2e[a11_0x56db94(0x192)]=a11_0x56db94(0x1f3),a11_0x3c1a2e[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterStep(a11_0x3c1a2e,function(_0x1df907,_0x1d6773){const _0x5574b1=a11_0x56db94,_0x1ef5fd={'sNbal':function(_0x4b387b,_0x55d184){return _0x4b387b===_0x55d184;},'QMyDG':_0x5574b1(0x128),'kNbBO':function(_0x373f6a,_0x4cf504){return _0x373f6a!==_0x4cf504;},'lMsbT':function(_0x22a899,_0x2ce748,_0xc5dd5c){return _0x22a899(_0x2ce748,_0xc5dd5c);},'sKrNh':function(_0x132ca8,_0x413765){return _0x132ca8+_0x413765;},'XkUFw':function(_0x1d5261,_0x44779b){return _0x1d5261+_0x44779b;},'CDpPa':_0x5574b1(0x14d),'odLVv':_0x5574b1(0x170),'UjDLA':_0x5574b1(0x147),'CZIcK':function(_0x32a1db,_0x362dc1,_0x59e78f){return _0x32a1db(_0x362dc1,_0x59e78f);},'QLJsi':function(_0x406ae9,_0x5e1c1a){return _0x406ae9!==_0x5e1c1a;},'IUABj':function(_0x291831,_0x432a6b,_0x418672){return _0x291831(_0x432a6b,_0x418672);},'hfRtM':_0x5574b1(0x1c1),'AOKax':_0x5574b1(0x138),'ECpDM':function(_0x541c87,_0xcb8897,_0x3a238d){return _0x541c87(_0xcb8897,_0x3a238d);},'osNMp':_0x5574b1(0x1ad),'OWueD':function(_0x53c9e0){return _0x53c9e0();},'exjse':_0x5574b1(0x1bb)};logger[_0x5574b1(0x191)](_0x1ef5fd[_0x5574b1(0x1d9)]);const _0x5d3a67=async(_0x54381c,_0x1c14e7)=>{const _0x5dd93b=_0x5574b1;global[_0x5dd93b(0x151)]&&global[_0x5dd93b(0x151)][0x0]&&await global[_0x5dd93b(0x151)][0x0][_0x5dd93b(0x16d)](_0x5dd93b(0x196)+_0x54381c+_0x5dd93b(0x18b)+_0x1c14e7+_0x5dd93b(0x1a3));};new Promise(async _0x379066=>{const _0x599405=_0x5574b1;try{_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)]['status'][_0x599405(0x1bd)]()['toLowerCase'](),_0x1ef5fd['QMyDG'])||_0x1ef5fd[_0x599405(0x181)](_0x1df907[_0x599405(0x19a)][_0x599405(0x1b9)][_0x599405(0x1bd)]()[_0x599405(0x1f8)](),'6')?(global[_0x599405(0x187)]=!![],global[_0x599405(0x1c8)][_0x599405(0x174)](_0x1df907[_0x599405(0x19a)][_0x599405(0x17d)]),_0x1ef5fd[_0x599405(0x1c4)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x130)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['sKrNh'](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x12e)],'\x22'+_0x1df907[_0x599405(0x1e8)]['text']+'\x22\x20'),_0x1ef5fd[_0x599405(0x1cb)]),_0x1df907['result']['message'])),_0x1ef5fd[_0x599405(0x168)]):await _0x1ef5fd[_0x599405(0x1c5)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd[_0x599405(0x141)](_0x1ef5fd[_0x599405(0x12e)],_0x1df907[_0x599405(0x19a)]['message'])),_0x1ef5fd[_0x599405(0x168)])):_0x1ef5fd[_0x599405(0x1ae)](_0x1df907[_0x599405(0x1e8)],undefined)?await _0x1ef5fd[_0x599405(0x198)](_0x5d3a67,JSON['stringify'](_0x1ef5fd[_0x599405(0x13d)](_0x1ef5fd[_0x599405(0x197)],'\x22'+_0x1df907[_0x599405(0x1e8)][_0x599405(0x155)]+'\x22')),_0x1ef5fd[_0x599405(0x150)]):await _0x1ef5fd[_0x599405(0x18e)](_0x5d3a67,JSON[_0x599405(0x146)](_0x1ef5fd['osNMp']),_0x1ef5fd[_0x599405(0x150)]),global['__drivers']&&global[_0x599405(0x151)][0x0]&&global[_0x599405(0x151)][0x0][_0x599405(0x1ec)][_0x599405(0x1bc)](_0x2622d9=>{})['catch'](_0x20012f=>{const _0x3ab19e=_0x599405;logger[_0x3ab19e(0x191)](_0x3ab19e(0x1c6)+util['format'](_0x20012f));});}catch(_0x2a3bfa){logger['debug'](_0x599405(0x13a)+_0x2a3bfa);}_0x1ef5fd[_0x599405(0x1e9)](_0x379066);})[_0x5574b1(0x14c)](()=>_0x1d6773());});const a11_0x2bd6d8={};a11_0x2bd6d8['name']='bstack',a11_0x2bd6d8[a11_0x56db94(0x161)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0x56db94(0x178)],AfterAll(a11_0x2bd6d8,async function(_0x43e34b,_0x10d930){const _0x36db4e=a11_0x56db94,_0x12926b={'umXnu':_0x36db4e(0x15b),'uaBFP':function(_0x1bf896){return _0x1bf896();},'eAhyW':_0x36db4e(0x1ce),'uoucw':_0x36db4e(0x180)};logger[_0x36db4e(0x191)](_0x12926b['uoucw']),await new Promise(async _0x247bc9=>{const _0x20a0bf=_0x36db4e,_0x54b9e0=_0x12926b['umXnu'][_0x20a0bf(0x19f)]('|');let _0x181fb9=0x0;while(!![]){switch(_0x54b9e0[_0x181fb9++]){case'0':await RequestQueueHandler[_0x20a0bf(0x1ea)]()['shutdown']();continue;case'1':_0x12926b[_0x20a0bf(0x1b1)](_0x247bc9);continue;case'2':try{playwrightPatcher&&playwrightPatcher[_0x20a0bf(0x136)]&&(await playwrightPatcher[_0x20a0bf(0x136)](),playwrightPatcher[_0x20a0bf(0x140)]&&playwrightPatcher['closeTracker']['cleanup'](),logger[_0x20a0bf(0x191)](_0x12926b[_0x20a0bf(0x1d8)]));}catch(_0x5379a6){logger[_0x20a0bf(0x191)](_0x20a0bf(0x1ba)+util[_0x20a0bf(0x1ed)](_0x5379a6));}continue;case'3':await global[_0x20a0bf(0x18c)]();continue;case'4':PerformanceTester[_0x20a0bf(0x19b)]();continue;}break;}});});
|
|
1
|
+
const a11_0xc5bc81=a11_0x33b4;(function(_0x188c57,_0x44c20b){const _0x2e654b=a11_0x33b4,_0x2ecb4a=_0x188c57();while(!![]){try{const _0x52189a=parseInt(_0x2e654b(0x14f))/0x1+parseInt(_0x2e654b(0x1a2))/0x2*(parseInt(_0x2e654b(0x108))/0x3)+-parseInt(_0x2e654b(0x154))/0x4*(-parseInt(_0x2e654b(0x10a))/0x5)+-parseInt(_0x2e654b(0x106))/0x6+-parseInt(_0x2e654b(0x10c))/0x7+-parseInt(_0x2e654b(0x178))/0x8+parseInt(_0x2e654b(0x136))/0x9*(parseInt(_0x2e654b(0x15b))/0xa);if(_0x52189a===_0x44c20b)break;else _0x2ecb4a['push'](_0x2ecb4a['shift']());}catch(_0x4004de){_0x2ecb4a['push'](_0x2ecb4a['shift']());}}}(a11_0xad1e,0xbd2fb));const {requireModule,modifyCommand,isTrue,markSessionStatus,isBrowserstackInfra,playwrightSetSessionName,playwrightMarkSessionStatus,nestedKeyValue}=require(a11_0xc5bc81(0x19a)),{TEST_FRAMEWORK_HOOK_TIMEOUT}=require('../utils/constants'),setKeepAlive=require('../../helpers/setKeepAlive'),util=require('util'),PerformanceTester=require(a11_0xc5bc81(0x130)),{commandRepository}=require('../../helpers/ai-sdk/autoHealHelper'),cucumberModule=requireModule(a11_0xc5bc81(0x187),'@cucumber/cucumber'),logger=require(a11_0xc5bc81(0x1b8))[a11_0xc5bc81(0x14c)],{shouldProcessEventForTesthub}=require(a11_0xc5bc81(0x11a)),{sendPlatformDetails,addRequestSpy,patchConsoleLogger}=require(a11_0xc5bc81(0x133)),TestDetails=require(a11_0xc5bc81(0x1bb)),RequestQueueHandler=require(a11_0xc5bc81(0x19d)),{o11yErrorHandler}=require(a11_0xc5bc81(0x115)),MyReporter=require('../playwright/reporter/reporter.js'),SessionHandler=require(a11_0xc5bc81(0x18c)),scripts=require(a11_0xc5bc81(0x135)),globals=require(a11_0xc5bc81(0x195)),testHubConstants=require('../../helpers/testhub/constants.js'),{shouldScanTestForAccessibility}=require(a11_0xc5bc81(0x197)),{isUndefined}=require(a11_0xc5bc81(0x162)),helper=require(a11_0xc5bc81(0x19a)),a11_0x113a4b={};a11_0x113a4b[a11_0xc5bc81(0x129)]=undefined,a11_0x113a4b[a11_0xc5bc81(0xfc)]={},a11_0x113a4b[a11_0xc5bc81(0x18a)]=![],a11_0x113a4b[a11_0xc5bc81(0x17d)]=null,a11_0x113a4b['isPageFixture']=![],a11_0x113a4b[a11_0xc5bc81(0xfc)]['id']=undefined,a11_0x113a4b[a11_0xc5bc81(0xfc)][a11_0xc5bc81(0x153)]=undefined;const workerDetails=a11_0x113a4b;global['__workerDetails']=workerDetails;let playwrightPatcher=null;shouldProcessEventForTesthub()&&patchConsoleLogger();const sendTestLog=o11yErrorHandler(async function sendTestLog(_0x38e9e0){const _0xa4b835=a11_0xc5bc81,_0x252de6=workerDetails[_0xa4b835(0xfc)][_0xa4b835(0x153)];if(!_0x252de6)return;await MyReporter[_0xa4b835(0x18f)](_0x252de6,_0x38e9e0);}),registerListeners=()=>{const _0x2c2394=a11_0xc5bc81,_0x51592f={};_0x51592f[_0x2c2394(0x179)]='Inside\x20browserstack\x20registerListeners';const _0xcc74db=_0x51592f;logger[_0x2c2394(0x1ad)](_0xcc74db[_0x2c2394(0x179)]),process['removeAllListeners']('bs:addLog:'+process['pid']),process['on']('bs:addLog:'+process[_0x2c2394(0x114)],sendTestLog),PerformanceTester[_0x2c2394(0x142)]();};modifyCommand(),setKeepAlive();const Before=cucumberModule[a11_0xc5bc81(0x112)],After=cucumberModule[a11_0xc5bc81(0x182)],AfterAll=cucumberModule[a11_0xc5bc81(0x1b5)],BeforeAll=cucumberModule[a11_0xc5bc81(0x144)],AfterStep=cucumberModule[a11_0xc5bc81(0x164)],configuration=process[a11_0xc5bc81(0x11d)][a11_0xc5bc81(0x149)],bstackConfig=process[a11_0xc5bc81(0x11d)][a11_0xc5bc81(0x184)];function a11_0x33b4(_0x3e03b2,_0x4016dc){const _0xad1e6d=a11_0xad1e();return a11_0x33b4=function(_0x33b4a9,_0x3a3dfe){_0x33b4a9=_0x33b4a9-0xfa;let _0x3ea978=_0xad1e6d[_0x33b4a9];return _0x3ea978;},a11_0x33b4(_0x3e03b2,_0x4016dc);}if(configuration!==undefined){const config=JSON[a11_0xc5bc81(0x190)](configuration);isBrowserstackInfra()?(global[a11_0xc5bc81(0x1a6)]=isTrue(config[a11_0xc5bc81(0x185)]),global[a11_0xc5bc81(0x13a)]=isTrue(config[a11_0xc5bc81(0x124)])):(global['__skipSessionName']=!![],global[a11_0xc5bc81(0x13a)]=!![]);!helper[a11_0xc5bc81(0x126)](a11_0xc5bc81(0x16c))&&(logger[a11_0xc5bc81(0x1ad)](a11_0xc5bc81(0x127)),shouldProcessEventForTesthub()?require(a11_0xc5bc81(0x1cc))[a11_0xc5bc81(0x1a0)](config,null,!![]):require('../../index')[a11_0xc5bc81(0x1a0)](config));global[a11_0xc5bc81(0x1c6)]=config['platformCaps']||{};if(helper[a11_0xc5bc81(0x126)](a11_0xc5bc81(0x16c)))try{logger['debug'](a11_0xc5bc81(0x11c)),playwrightPatcher=require(a11_0xc5bc81(0x166)),playwrightPatcher[a11_0xc5bc81(0x1c0)](config),logger[a11_0xc5bc81(0x1ad)](a11_0xc5bc81(0x1af));}catch(a11_0x563092){logger['debug'](a11_0xc5bc81(0x15a)+util[a11_0xc5bc81(0x1bc)](a11_0x563092));}}if(bstackConfig!==undefined){const browserStackConfig=JSON[a11_0xc5bc81(0x190)](bstackConfig);browserStackConfig&&(commandRepository[a11_0xc5bc81(0x157)](browserStackConfig),commandRepository[a11_0xc5bc81(0x1ca)](a11_0xc5bc81(0x152)));}global[a11_0xc5bc81(0x132)]=0x0;const __setDefaultTimeout=cucumberModule[a11_0xc5bc81(0x146)];cucumberModule[a11_0xc5bc81(0x146)]=_0x5cc8c3=>{const _0x17b674=a11_0xc5bc81,_0x59e37e={'XfBLx':function(_0x37a28b,_0x9c7d28){return _0x37a28b(_0x9c7d28);}};global[_0x17b674(0x132)]=_0x5cc8c3,_0x59e37e[_0x17b674(0x1b9)](__setDefaultTimeout,_0x5cc8c3);};const a11_0x1efbc3={};a11_0x1efbc3[a11_0xc5bc81(0x17c)]='bstack',BeforeAll(a11_0x1efbc3,async function(){const _0x5f1e09=a11_0xc5bc81,_0x30f886={'kbdqP':function(_0x1039ae,_0x12e4b5,_0x2faa7b,_0x12df49){return _0x1039ae(_0x12e4b5,_0x2faa7b,_0x12df49);},'RGeVk':'failed','kMlIV':_0x5f1e09(0x120),'NrBlt':function(_0x3b1621,_0x2eed43,_0x463f1e){return _0x3b1621(_0x2eed43,_0x463f1e);},'bnewr':_0x5f1e09(0x101),'vzupo':'Inside\x20browserstack\x20BeforeAll','slDBi':function(_0x3aa120,_0x3517d8){return _0x3aa120(_0x3517d8);},'ggIGx':'../v2/browserstackCLI','WicZH':_0x5f1e09(0x1aa),'AQkiI':function(_0xd852a5,_0x18ca3b){return _0xd852a5(_0x18ca3b);},'XMozh':_0x5f1e09(0x196),'spIrj':_0x5f1e09(0x138),'KRQTi':function(_0x3323d6){return _0x3323d6();},'UPmYl':function(_0x290255){return _0x290255();}};PerformanceTester[_0x5f1e09(0x142)](),logger[_0x5f1e09(0x1ad)](_0x30f886[_0x5f1e09(0x176)]),global['__error_messages__']=[],global[_0x5f1e09(0x13c)]=![];if(playwrightPatcher)try{const _0x1f5610=_0x30f886['slDBi'](require,_0x30f886[_0x5f1e09(0x155)]),_0x504218=_0x30f886[_0x5f1e09(0x140)](require,_0x30f886[_0x5f1e09(0x16f)]),{FRAMEWORKS:_0x5b353e}=_0x30f886[_0x5f1e09(0x16b)](require,_0x30f886[_0x5f1e09(0x14b)]);_0x1f5610['getInstance']()[_0x5f1e09(0xff)]()&&(logger[_0x5f1e09(0x1ad)](_0x30f886[_0x5f1e09(0x151)]),_0x504218[_0x5f1e09(0x1bd)](_0x5b353e[_0x5f1e09(0x198)],_0x5b353e[_0x5f1e09(0x19f)]),await _0x1f5610[_0x5f1e09(0x113)]()['bootstrap']());}catch(_0x38cf9a){logger['debug'](_0x5f1e09(0x172)+util[_0x5f1e09(0x1bc)](_0x38cf9a));}_0x30f886[_0x5f1e09(0x17b)](shouldProcessEventForTesthub)&&(_0x30f886['UPmYl'](registerListeners),_0x30f886['AQkiI'](addRequestSpy,![])),global[_0x5f1e09(0x122)]=async()=>{const _0x574440=_0x5f1e09;let _0x8370cc=![];try{global[_0x574440(0x159)]&&global[_0x574440(0x159)][0x0]&&(await global[_0x574440(0x159)][0x0][_0x574440(0x1a4)],_0x8370cc=!![],global[_0x574440(0x13c)]?await _0x30f886[_0x574440(0x160)](markSessionStatus,global['__drivers'][0x0],_0x30f886[_0x574440(0x1b1)],global[_0x574440(0x10b)][_0x574440(0x175)](_0x30f886[_0x574440(0x1c5)])):await _0x30f886[_0x574440(0x1a7)](markSessionStatus,global[_0x574440(0x159)][0x0],_0x30f886[_0x574440(0x15d)]));}catch(_0x84961c){logger[_0x574440(0x1ad)](_0x574440(0xfe)+_0x84961c);}global['__error_messages__']=[],global[_0x574440(0x13c)]=![];if(_0x8370cc)try{await global[_0x574440(0x159)][0x0][_0x574440(0x10f)](),global[_0x574440(0x159)][0x0]['session_'][_0x574440(0x169)](_0x5a6850=>{const _0x5cc3c4=_0x574440;logger[_0x5cc3c4(0x1ad)]('Error:\x20in\x20quitting\x20driver\x20'+_0x5a6850[_0x5cc3c4(0x1a5)]());})[_0x574440(0x13e)](_0x91bc25=>{});}catch(_0x41def0){logger[_0x574440(0x1ad)](_0x574440(0x19c)+_0x41def0);}};});const a11_0x465d29={};a11_0x465d29['name']=a11_0xc5bc81(0x125),a11_0x465d29[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],Before(a11_0x465d29,function(_0x8279bf,_0x2b61d7){const _0x6d8cc0=a11_0xc5bc81,_0x14fdb8={'ALkNF':function(_0x414a95,_0x33f49b){return _0x414a95>_0x33f49b;},'yIFyw':function(_0x22052e,_0x1f230f){return _0x22052e>_0x1f230f;},'SJCcg':function(_0x522625,_0x1f7b7a){return _0x522625(_0x1f7b7a);},'UlvZB':function(_0x2d6f1c,_0x432cfc,_0x5929a4,_0x490b40){return _0x2d6f1c(_0x432cfc,_0x5929a4,_0x490b40);},'RGLOh':'bstackA11yShouldScan','BOAbG':function(_0x3bd1cc){return _0x3bd1cc();},'gIXqM':_0x6d8cc0(0x105)};commandRepository[_0x6d8cc0(0x1cb)](_0x8279bf[_0x6d8cc0(0x1bf)]['name']),logger[_0x6d8cc0(0x1ad)](_0x14fdb8[_0x6d8cc0(0x188)]),new Promise(async _0x1bf697=>{const _0x16554d=_0x6d8cc0;try{global['__drivers']&&_0x14fdb8[_0x16554d(0x161)](global[_0x16554d(0x159)][_0x16554d(0x104)],0x1)&&(await global[_0x16554d(0x122)](),global['__drivers'][_0x16554d(0x174)]()),global[_0x16554d(0x159)]&&global['__drivers'][0x0]&&global[_0x16554d(0x159)][0x0][_0x16554d(0x165)]&&_0x14fdb8[_0x16554d(0x1be)](global[_0x16554d(0x159)][0x0][_0x16554d(0x165)],0x0)&&await global[_0x16554d(0x122)]();}catch(_0x2459ec){logger[_0x16554d(0x1ad)](_0x16554d(0x180)+_0x2459ec);}workerDetails['currentTest'][_0x16554d(0x153)]=_0x8279bf;if(playwrightPatcher)try{await playwrightPatcher[_0x16554d(0x1c1)](_0x8279bf);}catch(_0x2fddd4){logger[_0x16554d(0x1ad)](_0x16554d(0x193)+util['format'](_0x2fddd4));}try{if(!_0x14fdb8[_0x16554d(0x13d)](isUndefined,_0x8279bf[_0x16554d(0x1bf)][_0x16554d(0xfd)])){const _0x8dd81c=_0x14fdb8[_0x16554d(0x150)](shouldScanTestForAccessibility,null,![],_0x8279bf['pickle'][_0x16554d(0xfd)]['map'](({name:_0x5d68ca})=>_0x5d68ca));globals[_0x16554d(0x100)](_0x14fdb8[_0x16554d(0x128)],_0x8dd81c);}}catch(_0x2cc7f2){logger[_0x16554d(0x1ad)](_0x16554d(0x1c9)+util[_0x16554d(0x1bc)](_0x2cc7f2));}_0x14fdb8[_0x16554d(0x192)](_0x1bf697);})['finally'](_0x2b61d7);});const a11_0x191205={};a11_0x191205[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0x191205[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xc5bc81(0x12e)],After(a11_0x191205,function(_0x564308,_0x100a29){const _0x2d903f=a11_0xc5bc81,_0x4bb0b0={'beUoa':function(_0x16f54c,_0x510bad){return _0x16f54c>_0x510bad;},'SZFqt':function(_0x31e70b,_0x5d11bf){return _0x31e70b===_0x5d11bf;},'GoMZK':'failed','FZUKB':function(_0x5cb07c,_0x2f0589){return _0x5cb07c===_0x2f0589;},'dZpsY':function(_0x5b17b0,_0x1cb545){return _0x5b17b0>_0x1cb545;},'SBnaS':function(_0x1d6c18,_0x5c3ccc,_0x31d335,_0x25850f){return _0x1d6c18(_0x5c3ccc,_0x31d335,_0x25850f);},'IFvfc':_0x2d903f(0x120),'wjrSR':function(_0x1d8bde,_0x578645,_0x587a3f){return _0x1d8bde(_0x578645,_0x587a3f);},'vmujt':_0x2d903f(0x101),'YrZQz':_0x2d903f(0x1ba),'IGITK':_0x2d903f(0x15f),'BJZOm':function(_0x3e5ab5){return _0x3e5ab5();},'wKVEd':function(_0x52a71a,_0x11539b,_0x9df04,_0x2b9273){return _0x52a71a(_0x11539b,_0x9df04,_0x2b9273);},'cMmwX':_0x2d903f(0x181),'KXhkp':'isAccessibilityPlatform','NBcLf':_0x2d903f(0x1b3),'pxLoB':'Automate\x20test\x20case\x20execution\x20has\x20ended.\x20Processing\x20for\x20accessibility\x20testing\x20is\x20underway.\x20','Qusis':_0x2d903f(0x173),'VyqVp':_0x2d903f(0x15e),'daDqR':function(_0x6636f,_0x5ecaef){return _0x6636f>_0x5ecaef;},'wNoLq':'Inside\x20browserstack\x20After'};logger[_0x2d903f(0x1ad)](_0x4bb0b0[_0x2d903f(0x158)]),workerDetails[_0x2d903f(0xfc)][_0x2d903f(0x153)]=_0x564308,new Promise(async _0x6bbe6c=>{const _0x4debc6=_0x2d903f;let _0x451762=![],_0x215596=![],_0x37daf5=![];try{global[_0x4debc6(0x159)]&&_0x4bb0b0['beUoa'](global['__drivers'][_0x4debc6(0x104)],0x0)&&(_0x215596=!![]),playwrightPatcher&&global['__workerDetails']&&global[_0x4debc6(0x1a9)][_0x4debc6(0x17d)]&&(_0x37daf5=!![],logger['debug'](_0x4debc6(0x141)+!!global[_0x4debc6(0x1a9)][_0x4debc6(0x17d)]));}catch(_0x5dc537){logger['debug'](_0x4debc6(0x12a)+_0x5dc537);}logger[_0x4debc6(0x1ad)](_0x4debc6(0x109)+_0x215596+_0x4debc6(0x148)+_0x37daf5);const _0x17811d=_0x564308[_0x4debc6(0x107)]['status'][_0x4debc6(0x194)]()[_0x4debc6(0x103)](),_0x48e0c6=_0x4bb0b0[_0x4debc6(0x19b)](_0x17811d,_0x4bb0b0[_0x4debc6(0x1c2)])||_0x4bb0b0[_0x4debc6(0x13b)](_0x17811d,'6'),_0x31524a=_0x48e0c6?_0x564308[_0x4debc6(0x107)][_0x4debc6(0x145)]:null;if(_0x48e0c6)try{global['__error_messages__']['push'](_0x564308[_0x4debc6(0x107)][_0x4debc6(0x145)]),global[_0x4debc6(0x13c)]=!![];}catch(_0x2f16f6){logger[_0x4debc6(0x1ad)]('Error:\x20adding\x20scenario\x20error\x20at\x20After:\x20'+_0x2f16f6);}if(_0x215596)try{global[_0x4debc6(0x159)]&&_0x4bb0b0['dZpsY'](global[_0x4debc6(0x159)][_0x4debc6(0x104)],0x1)&&(await global[_0x4debc6(0x122)](),global[_0x4debc6(0x159)][_0x4debc6(0x174)](),global[_0x4debc6(0x10b)]=[],global['__sessionFailed']=![]),global['__drivers']&&global['__drivers'][0x0]&&(await global['__drivers'][0x0]['session_'],_0x451762=!![],!global['__skipSessionName']&&await global[_0x4debc6(0x159)][0x0]['executeScript'](_0x4debc6(0x18b)+_0x564308[_0x4debc6(0x1bf)][_0x4debc6(0x17c)]+'\x22}}'),_0x48e0c6?await _0x4bb0b0[_0x4debc6(0x1b0)](markSessionStatus,global[_0x4debc6(0x159)][0x0],_0x4bb0b0['GoMZK'],global[_0x4debc6(0x10b)][_0x4debc6(0x175)](_0x4bb0b0['IFvfc'])):await _0x4bb0b0[_0x4debc6(0x18d)](markSessionStatus,global[_0x4debc6(0x159)][0x0],_0x4bb0b0[_0x4debc6(0x16d)]));}catch(_0xf83f37){logger[_0x4debc6(0x1ad)]('Error:\x20at\x20After\x20(Selenium):\x20'+util[_0x4debc6(0x1bc)](_0xf83f37));}if(_0x37daf5)try{const _0xccd047=_0x48e0c6?_0x4bb0b0[_0x4debc6(0x1c2)]:_0x4bb0b0[_0x4debc6(0x16d)];await playwrightPatcher[_0x4debc6(0x1a1)](_0x564308,_0xccd047,_0x31524a),logger[_0x4debc6(0x1ad)](_0x4bb0b0[_0x4debc6(0x11e)]);}catch(_0x52b3b9){logger[_0x4debc6(0x1ad)](_0x4debc6(0x10e)+util['format'](_0x52b3b9));try{playwrightPatcher[_0x4debc6(0x11b)]&&(await playwrightPatcher[_0x4debc6(0x11b)](),logger[_0x4debc6(0x1ad)](_0x4bb0b0[_0x4debc6(0x14d)]));}catch(_0x475125){logger[_0x4debc6(0x1ad)]('Error\x20executing\x20fallback\x20deferred\x20closes:\x20'+util[_0x4debc6(0x1bc)](_0x475125));}}try{if(_0x4bb0b0[_0x4debc6(0x131)](shouldProcessEventForTesthub)){const _0x1c432e=TestDetails[_0x4debc6(0x191)](_0x564308[_0x4debc6(0x11f)]);let _0x5a143a=null;global[_0x4debc6(0x159)]&&global[_0x4debc6(0x159)][0x0]&&(_0x5a143a=await _0x4bb0b0[_0x4debc6(0x168)](sendPlatformDetails,global['__drivers'][0x0],_0x1c432e,!![]));const _0x239881={};_0x239881['uuid']=_0x1c432e,_0x239881[_0x4debc6(0x189)]=_0x5a143a;const _0x271c27=_0x239881,_0x39d05b={};_0x39d05b[_0x4debc6(0x1b7)]=_0x4bb0b0[_0x4debc6(0x118)],_0x39d05b['test_run']=_0x271c27,await SessionHandler[_0x4debc6(0x16a)](_0x39d05b);}}catch(_0x1431bb){logger[_0x4debc6(0x1ad)]('Error:\x20sendPlatformDetails\x20at\x20After:\x20'+util['format'](_0x1431bb));}try{if(globals['getGlobal'](_0x4bb0b0['KXhkp'])&&globals[_0x4debc6(0x139)](_0x4bb0b0[_0x4debc6(0x177)])){logger[_0x4debc6(0x121)](_0x4bb0b0[_0x4debc6(0x12b)]);const _0x37d4cd=TestDetails[_0x4debc6(0x191)](_0x564308['testCaseStartedId']),_0x282fde={};_0x282fde['thTestRunUuid']=_0x37d4cd,_0x282fde['thBuildUuid']=process[_0x4debc6(0x11d)][testHubConstants[_0x4debc6(0x14e)][_0x4debc6(0x14a)]],_0x282fde['thJwtToken']=process[_0x4debc6(0x11d)][testHubConstants[_0x4debc6(0x14e)][_0x4debc6(0x10d)]];const _0x17b87f=_0x282fde;logger[_0x4debc6(0x1ad)]('Accessibility\x20extension\x20data\x20for\x20current\x20test:\x20'+JSON[_0x4debc6(0x19e)](_0x17b87f)),logger['debug'](_0x4bb0b0[_0x4debc6(0x143)]),global[_0x4debc6(0x159)]&&global[_0x4debc6(0x159)][0x0]&&(logger[_0x4debc6(0x1ad)](util[_0x4debc6(0x1bc)](await global[_0x4debc6(0x159)][0x0][_0x4debc6(0x17f)](scripts['performScan'],{'method':global['browserstackSessionName']}))),await global[_0x4debc6(0x159)][0x0][_0x4debc6(0x17f)](scripts['saveTestResults'],_0x17b87f)),logger['info'](_0x4bb0b0[_0x4debc6(0x171)]);}}catch(_0x49b543){logger[_0x4debc6(0x1ae)]('Accessibility\x20results\x20could\x20not\x20be\x20processed\x20for\x20the\x20test\x20case.\x20Error\x20:\x20'+util[_0x4debc6(0x1bc)]);}if(_0x451762)try{global[_0x4debc6(0x159)][0x0]&&_0x4bb0b0[_0x4debc6(0x1ab)](global['__drivers'][0x0][_0x4debc6(0x165)],0x0)&&await global['__drivers'][0x0][_0x4debc6(0x10f)]();}catch(_0x282954){logger['debug'](_0x4debc6(0x1a3)+_0x282954);}_0x4bb0b0[_0x4debc6(0x131)](_0x6bbe6c);})[_0x2d903f(0x111)](()=>_0x100a29());});const a11_0x2fc176={};a11_0x2fc176[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0x2fc176[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT[a11_0xc5bc81(0x12e)],AfterStep(a11_0x2fc176,function(_0x3bf25f,_0x229837){const _0x17fd65=a11_0xc5bc81,_0x2475c8={'AQBrA':function(_0x1064c9,_0x51deb6){return _0x1064c9===_0x51deb6;},'cOGsa':_0x17fd65(0x119),'AkrUu':function(_0x5d998e,_0x2aac54){return _0x5d998e===_0x2aac54;},'LEzcH':function(_0x556b84,_0x168611){return _0x556b84!==_0x168611;},'iOpxi':function(_0x1eeae3,_0x1a1629,_0x577d7f){return _0x1eeae3(_0x1a1629,_0x577d7f);},'vhwDG':function(_0x25d62d,_0x37da20){return _0x25d62d+_0x37da20;},'oqLnU':function(_0x47261a,_0x513779){return _0x47261a+_0x513779;},'ppkoo':_0x17fd65(0x1c7),'eoFrq':'\x0aError:\x20','hYapp':_0x17fd65(0x1ae),'GxRZr':function(_0x58a6d8,_0x14e967,_0x30a05a){return _0x58a6d8(_0x14e967,_0x30a05a);},'dcrpf':function(_0x4193e8,_0xc015e4){return _0x4193e8!==_0xc015e4;},'OTsfz':function(_0x4d3891,_0x2c989f){return _0x4d3891+_0x2c989f;},'GDeKW':'Passed:\x20','PLZWU':_0x17fd65(0x121),'xLOPZ':'Passed','EYidK':function(_0x3ec5e3){return _0x3ec5e3();},'ImJsw':_0x17fd65(0x12d)};logger[_0x17fd65(0x1ad)](_0x2475c8[_0x17fd65(0x1ac)]);const _0x1c54c0=async(_0x2cadc6,_0x90a462)=>{const _0x3508ea=_0x17fd65;global[_0x3508ea(0x159)]&&global[_0x3508ea(0x159)][0x0]&&await global[_0x3508ea(0x159)][0x0]['executeScript'](_0x3508ea(0x156)+_0x2cadc6+_0x3508ea(0x147)+_0x90a462+'\x22}}');};new Promise(async _0xfa3c05=>{const _0x42adb0=_0x17fd65;try{_0x2475c8['AQBrA'](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0xfa)][_0x42adb0(0x194)]()[_0x42adb0(0x103)](),_0x2475c8[_0x42adb0(0x15c)])||_0x2475c8[_0x42adb0(0x1a8)](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0xfa)][_0x42adb0(0x194)]()['toLowerCase'](),'6')?(global[_0x42adb0(0x13c)]=!![],global[_0x42adb0(0x10b)][_0x42adb0(0x1b4)](_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)]),_0x2475c8['LEzcH'](_0x3bf25f[_0x42adb0(0x1c8)],undefined)?await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8['vhwDG'](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x116)],'\x22'+_0x3bf25f['pickleStep']['text']+'\x22\x20'),_0x2475c8[_0x42adb0(0x16e)]),_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)])),_0x2475c8[_0x42adb0(0x17a)]):await _0x2475c8[_0x42adb0(0x1c3)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x12f)](_0x2475c8[_0x42adb0(0x116)],_0x3bf25f[_0x42adb0(0x107)][_0x42adb0(0x145)])),_0x2475c8['hYapp'])):_0x2475c8['dcrpf'](_0x3bf25f['pickleStep'],undefined)?await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x102)](_0x2475c8[_0x42adb0(0x13f)],'\x22'+_0x3bf25f[_0x42adb0(0x1c8)][_0x42adb0(0x1b6)]+'\x22')),_0x2475c8[_0x42adb0(0x1b2)]):await _0x2475c8[_0x42adb0(0x18e)](_0x1c54c0,JSON[_0x42adb0(0x19e)](_0x2475c8[_0x42adb0(0x117)]),_0x2475c8[_0x42adb0(0x1b2)]),global[_0x42adb0(0x159)]&&global[_0x42adb0(0x159)][0x0]&&global[_0x42adb0(0x159)][0x0]['session_'][_0x42adb0(0x169)](_0x3e23e8=>{})[_0x42adb0(0x13e)](_0x2e164d=>{const _0x2e3a7c=_0x42adb0;logger['debug'](_0x2e3a7c(0x12c)+util[_0x2e3a7c(0x1bc)](_0x2e164d));});}catch(_0x5b8445){logger[_0x42adb0(0x1ad)](_0x42adb0(0x167)+_0x5b8445);}_0x2475c8[_0x42adb0(0x123)](_0xfa3c05);})[_0x17fd65(0x111)](()=>_0x229837());});const a11_0xfe47ae={};function a11_0xad1e(){const _0x13cd11=['Error\x20determining\x20test\x20flow:\x20','pxLoB','Error:\x20in\x20After\x20Step\x20for\x20driver\x20','Inside\x20browserstack\x20AfterStep','Cucumber-JS','oqLnU','../../helpers/performance/performance-tester','BJZOm','__timeout','../../helpers/test-observability/utils','cleanup','../../helpers/accessibility-automation/scripts','9592992bsfOvj','closeTracker','Bootstrapping\x20BrowserstackCLI\x20for\x20cucumber-js\x20worker\x20process','getGlobal','__skipSessionStatus','FZUKB','__sessionFailed','SJCcg','catch','GDeKW','slDBi','Playwright\x20flow\x20detected\x20-\x20page\x20exists:\x20','startMonitoring','Qusis','BeforeAll','message','setDefaultTimeout',',\x22level\x22:\x20\x22',',\x20isPlaywrightFlow=','CONFIG','BROWSERSTACK_TESTHUB_UUID','XMozh','winstonLogger','IGITK','ENV_VAR','1381199yOpKdH','UlvZB','spIrj','cucumber-js','testInfo','56948qzvCvh','ggIGx','browserstack_executor:\x20{\x22action\x22:\x20\x22annotate\x22,\x20\x22arguments\x22:\x20{\x22data\x22:','setConfig','wNoLq','__drivers','Error\x20initializing\x20Playwright\x20patching:\x20','10BWsIRU','cOGsa','bnewr','Accessibility\x20testing\x20for\x20this\x20test\x20case\x20has\x20ended.','Executed\x20fallback\x20deferred\x20Playwright\x20closes\x20after\x20error','kbdqP','ALkNF','lodash','split','AfterStep','quitCount_','./playwright-patcher','Error:\x20at\x20After\x20Step:\x20','wKVEd','then','uploadEventData','AQkiI','@playwright/test','vmujt','eoFrq','WicZH','4|3|0|2|1','VyqVp','Error\x20setting\x20up\x20BrowserstackCLI\x20bootstrap:\x20','Performing\x20scan\x20before\x20saving\x20results','shift','join','vzupo','NBcLf','3108896bfYSSe','UDOBG','hYapp','KRQTi','name','pwPage','zsagO','executeAsyncScript','Exception\x20in\x20browserstack\x20internal\x20helper\x20hook\x20with\x20error:\x20','CBTSessionCreated','After','Cleaned\x20up\x20Playwright\x20close\x20tracker','BSTACK_CONFIG','skipSessionName','stopMonitoring','@cucumber/cucumber/lib/index.js','gIXqM','integrations','o11ySyncDone','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','../../helpers/test-observability/sessionHandler','wjrSR','iOpxi','addTestUIDAndReportLog','parse','getTestUUID','BOAbG','Error\x20in\x20playwright\x20beforeTestHook:\x20','toString','../../helpers/globals','../utils/constants','../../helpers/accessibility-automation/helper','CUCUMBER','shutdown','../../helpers/helper','SZFqt','Error:\x20quiting\x20driver\x20at\x20driver\x20cleanup:\x20','../../helpers/test-observability/requestQueueHandler','stringify','PLAYWRIGHT','browserstackAgentV2','afterTestHook','2rpbxtz','Error:\x20quiting\x20driver\x20at\x20After:\x20','session_','getId','__skipSessionName','NrBlt','AkrUu','__workerDetails','../v2/cliUtils','daDqR','ImJsw','debug','error','Playwright\x20patching\x20initialized\x20for\x20Cucumber-JS','SBnaS','RGeVk','PLZWU','bstackA11yShouldScan','push','AfterAll','text','event_type','../../helpers/logger','XfBLx','Completed\x20Playwright\x20afterTestHook\x20execution','../playwright/reporter/test-details.js','format','setFrameworkDetail','yIFyw','pickle','initializePlaywrightPatching','beforeTestHook','GoMZK','GxRZr','qneIS','kMlIV','__platformCaps','Failed:\x20','pickleStep','Exception\x20in\x20setting\x20bstackA11yShouldScan\x20in\x20Before\x20Scenario\x20','setFramework','setTestNameForHealingContext','../../index','status','jLOcL','currentTest','tags','Error:\x20cleaning\x20up\x20driver:\x20','isCliEnabled','setGlobal','passed','OTsfz','toLowerCase','length','Inside\x20browserstack\x20Before','5539842RHGfEM','result','921216DmvYQF','Flow\x20detection:\x20isSeleniumFlow=','225qoZMKc','__error_messages__','9155986Cwmnhs','BROWSERSTACK_TESTHUB_JWT','Error:\x20at\x20After\x20(Playwright):\x20','initQuit','timeout','finally','Before','getInstance','pid','../../helpers/test-observability/error-handler','ppkoo','xLOPZ','cMmwX','failed','../../helpers/testhub/utils','executeDeferredCloses','Performing\x20Playwright\x20Patching','env','YrZQz','testCaseStartedId','\x20|\x20','info','driverCleanup','EYidK','skipSessionStatus','bstack','getPackageVersion','Performing\x20Selenium\x20Patching','RGLOh','workerInfo'];a11_0xad1e=function(){return _0x13cd11;};return a11_0xad1e();}a11_0xfe47ae[a11_0xc5bc81(0x17c)]=a11_0xc5bc81(0x125),a11_0xfe47ae[a11_0xc5bc81(0x110)]=TEST_FRAMEWORK_HOOK_TIMEOUT['Cucumber-JS'],AfterAll(a11_0xfe47ae,async function(_0x18de79,_0x3904f9){const _0x4cbfd0=a11_0xc5bc81,_0x2d8b7e={'RHTMp':_0x4cbfd0(0x170),'zsagO':_0x4cbfd0(0x183),'jLOcL':function(_0xfb527a){return _0xfb527a();},'qneIS':'Inside\x20browserstack\x20AfterAll'};logger['debug'](_0x2d8b7e[_0x4cbfd0(0x1c4)]),await new Promise(async _0x5aaf49=>{const _0xa521cb=_0x4cbfd0,_0x5d5d76=_0x2d8b7e['RHTMp'][_0xa521cb(0x163)]('|');let _0x5738bc=0x0;while(!![]){switch(_0x5d5d76[_0x5738bc++]){case'0':try{playwrightPatcher&&playwrightPatcher[_0xa521cb(0x11b)]&&(await playwrightPatcher[_0xa521cb(0x11b)](),playwrightPatcher[_0xa521cb(0x137)]&&playwrightPatcher[_0xa521cb(0x137)][_0xa521cb(0x134)](),logger[_0xa521cb(0x1ad)](_0x2d8b7e[_0xa521cb(0x17e)]));}catch(_0x3e92b5){logger[_0xa521cb(0x1ad)]('Error\x20cleaning\x20up\x20Playwright\x20close\x20tracker:\x20'+util[_0xa521cb(0x1bc)](_0x3e92b5));}continue;case'1':_0x2d8b7e[_0xa521cb(0xfb)](_0x5aaf49);continue;case'2':await global[_0xa521cb(0x122)]();continue;case'3':PerformanceTester[_0xa521cb(0x186)]();continue;case'4':await RequestQueueHandler[_0xa521cb(0x113)]()[_0xa521cb(0x199)]();continue;}break;}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12_0x42a719=a12_0x12ae;(function(_0x12c288,_0x5b5ade){const _0x5ee794=a12_0x12ae,_0x2d21d8=_0x12c288();while(!![]){try{const _0x301a2c=parseInt(_0x5ee794(0xe1))/0x1+-parseInt(_0x5ee794(0xb6))/0x2*(-parseInt(_0x5ee794(0xd3))/0x3)+-parseInt(_0x5ee794(0xd5))/0x4*(-parseInt(_0x5ee794(0xdf))/0x5)+-parseInt(_0x5ee794(0xc7))/0x6+-parseInt(_0x5ee794(0xcd))/0x7+parseInt(_0x5ee794(0xe5))/0x8*(parseInt(_0x5ee794(0xc1))/0x9)+parseInt(_0x5ee794(0xc5))/0xa;if(_0x301a2c===_0x5b5ade)break;else _0x2d21d8['push'](_0x2d21d8['shift']());}catch(_0xced5ef){_0x2d21d8['push'](_0x2d21d8['shift']());}}}(a12_0x203e,0xb5221));const {requireModule,modifyCommand,isTrue,markSessionStatus}=require(a12_0x42a719(0xe9)),setKeepAlive=require('../../helpers/setKeepAlive'),cucumberModule=requireModule(a12_0x42a719(0xdd),a12_0x42a719(0xd2)),logger=require(a12_0x42a719(0xb8))[a12_0x42a719(0xdc)];function a12_0x12ae(_0x2e4999,_0x393c3c){const _0x203ea6=a12_0x203e();return a12_0x12ae=function(_0x12aeae,_0x3e5d96){_0x12aeae=_0x12aeae-0xb3;let _0x421dc8=_0x203ea6[_0x12aeae];return _0x421dc8;},a12_0x12ae(_0x2e4999,_0x393c3c);}modifyCommand(),setKeepAlive();const Before=cucumberModule[a12_0x42a719(0xe4)],After=cucumberModule[a12_0x42a719(0xc0)],configuration=process[a12_0x42a719(0xea)][a12_0x42a719(0xce)];if(configuration!==undefined){const config=JSON[a12_0x42a719(0xb9)](configuration);isTrue(config[a12_0x42a719(0xb5)])&&(global[a12_0x42a719(0xbf)]=!![]),global[a12_0x42a719(0xec)]=isTrue(config['skipSessionStatus']),require('../../index')[a12_0x42a719(0xbb)](config),global[a12_0x42a719(0xd6)]=config[a12_0x42a719(0xd1)]||{};}global['__timeout']=0x0;const __setDefaultTimeout=cucumberModule[a12_0x42a719(0xb4)];cucumberModule['setDefaultTimeout']=_0x5bcafb=>{const _0x219605=a12_0x42a719,_0x4703fc={'MBDkG':function(_0x32e537,_0x5526b4){return _0x32e537(_0x5526b4);}};global[_0x219605(0xcb)]=_0x5bcafb,_0x4703fc[_0x219605(0xc3)](__setDefaultTimeout,_0x5bcafb);};const a12_0x4fe4b0={};a12_0x4fe4b0[a12_0x42a719(0xc6)]=a12_0x42a719(0xc9),Before(a12_0x4fe4b0,function(){const _0x5e40bc=a12_0x42a719,_0x4a45a7={};_0x4a45a7[_0x5e40bc(0xbc)]=_0x5e40bc(0xed);const _0x241bb5=_0x4a45a7;logger['debug'](_0x241bb5[_0x5e40bc(0xbc)]),global[_0x5e40bc(0xde)]=[];});function a12_0x203e(){const _0x2ede29=['winstonLogger','cucumber/lib/index.js','__error_messages__','1884490QaLNWf','\x20|\x20','606135rqmeEp','executeScript','browserstack_executor:\x20{\x22action\x22:\x20\x22setSessionName\x22,\x20\x22arguments\x22:\x20{\x22name\x22:\x20\x22','Before','3376IsTAPA','session_','status','TXRrm','../../helpers/helper','env','emxDz','__skipSessionStatus','Inside\x20browserstack\x20Before','join','setDefaultTimeout','skipSessionName','10846vKapKB','Error:\x20quiting\x20at\x20After:\x20','../../helpers/logger','parse','passed','browserstackAgentV2','JxhBk','result','failed','__skipSessionName','After','8370FcYwwV','NNYtC','MBDkG','\x22}}','11359520rjyWSF','name','8217336lGhGAh','debug','bstack','Inside\x20browserstack\x20After','__timeout','initQuit','10069304OCavgU','CONFIG','tBgYC','timeout','platformCaps','cucumber','366VlVPqL','ekCAL','8RjInVT','__platformCaps','Error:\x20setting\x20status\x20at\x20After:\x20','shbVU','__driver','XPTti','FUMGo'];a12_0x203e=function(){return _0x2ede29;};return a12_0x203e();}const a12_0x3dabf6={};a12_0x3dabf6['name']='bstack',a12_0x3dabf6[a12_0x42a719(0xd0)]=0x2710,After(a12_0x3dabf6,function(_0x393edf,_0x2058a9){const _0x18ef59=a12_0x42a719,_0x4705be={'FUMGo':function(_0x425664,_0x2b3506){return _0x425664===_0x2b3506;},'TXRrm':_0x18ef59(0xbe),'XPTti':function(_0x40ec87,_0x1abcfb,_0x33e31e,_0x835c17){return _0x40ec87(_0x1abcfb,_0x33e31e,_0x835c17);},'ekCAL':_0x18ef59(0xe0),'emxDz':function(_0x1c8f5e,_0x2e2d0c,_0x2219ed){return _0x1c8f5e(_0x2e2d0c,_0x2219ed);},'shbVU':_0x18ef59(0xba),'NNYtC':function(_0xd3e461){return _0xd3e461();},'tBgYC':function(_0x419c61,_0x2f4f56){return _0x419c61(_0x2f4f56);},'oxvMR':_0x18ef59(0xca)};logger[_0x18ef59(0xc8)](_0x4705be['oxvMR']),new Promise(async(_0x562bd2,_0x59b9cf)=>{const _0x463fd3=_0x18ef59;let _0x54c336=![];try{await global['__driver'][_0x463fd3(0xe6)],_0x54c336=!![],!global[_0x463fd3(0xbf)]&&await global[_0x463fd3(0xd9)][_0x463fd3(0xe2)](_0x463fd3(0xe3)+_0x393edf['pickle'][_0x463fd3(0xc6)]+_0x463fd3(0xc4)),_0x4705be[_0x463fd3(0xdb)](_0x393edf[_0x463fd3(0xbd)][_0x463fd3(0xe7)]['toLowerCase'](),_0x4705be[_0x463fd3(0xe8)])?await _0x4705be[_0x463fd3(0xda)](markSessionStatus,global[_0x463fd3(0xd9)],_0x4705be['TXRrm'],global[_0x463fd3(0xde)][_0x463fd3(0xb3)](_0x4705be[_0x463fd3(0xd4)])):await _0x4705be[_0x463fd3(0xeb)](markSessionStatus,global[_0x463fd3(0xd9)],_0x4705be[_0x463fd3(0xd8)]);}catch(_0x41cdce){logger[_0x463fd3(0xc8)](_0x463fd3(0xd7)+_0x41cdce);}if(_0x54c336)try{await global[_0x463fd3(0xd9)][_0x463fd3(0xcc)](),_0x4705be[_0x463fd3(0xc2)](_0x562bd2);}catch(_0x2568f3){logger[_0x463fd3(0xc8)](_0x463fd3(0xb7)+_0x2568f3),_0x4705be[_0x463fd3(0xcf)](_0x59b9cf,_0x2568f3);}else _0x4705be[_0x463fd3(0xc2)](_0x59b9cf);})['then'](()=>_0x2058a9());});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13_0x239b55=a13_0x35b6;function a13_0x5ebe(){const _0x32b6cb=['setDefaultTimeout','4945324MlCoFi','35670nTnDcW','cucumber/lib/index.js','20318340wbXnTI','9fAgFsZ','9148504baWkIQ','941147tydsYb','@cucumber/cucumber/lib/index.js','2EvlrAw','../../helpers/helper','145HKSzDR','3864375OGgcAA','__timeout','BSTACK_DELTA','4194120HZPnLK'];a13_0x5ebe=function(){return _0x32b6cb;};return a13_0x5ebe();}(function(_0xce9678,_0xf6467d){const _0x443c11=a13_0x35b6,_0x606d1c=_0xce9678();while(!![]){try{const _0x485fff=parseInt(_0x443c11(0x103))/0x1*(-parseInt(_0x443c11(0x105))/0x2)+parseInt(_0x443c11(0x108))/0x3+-parseInt(_0x443c11(0xfd))/0x4+-parseInt(_0x443c11(0x107))/0x5*(-parseInt(_0x443c11(0xfe))/0x6)+parseInt(_0x443c11(0x10b))/0x7+-parseInt(_0x443c11(0x102))/0x8*(parseInt(_0x443c11(0x101))/0x9)+parseInt(_0x443c11(0x100))/0xa;if(_0x485fff===_0xf6467d)break;else _0x606d1c['push'](_0x606d1c['shift']());}catch(_0x42565d){_0x606d1c['push'](_0x606d1c['shift']());}}}(a13_0x5ebe,0xbc1b3));const {requireModule}=require(a13_0x239b55(0x106)),constants=require('../utils/constants');;let cucumberModule=null;try{cucumberModule=requireModule(a13_0x239b55(0x104),'@cucumber/cucumber');}catch(a13_0x5c7c14){cucumberModule=requireModule(a13_0x239b55(0xff),'cucumber');}function a13_0x35b6(_0x358712,_0x4ecd60){const _0x5ebeec=a13_0x5ebe();return a13_0x35b6=function(_0x35b6ea,_0x2fd2fd){_0x35b6ea=_0x35b6ea-0xfd;let _0x2566ce=_0x5ebeec[_0x35b6ea];return _0x2566ce;},a13_0x35b6(_0x358712,_0x4ecd60);}cucumberModule[a13_0x239b55(0x10c)](constants[a13_0x239b55(0x10a)]+global[a13_0x239b55(0x109)]*0x1);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const
|
|
2
|
+
'use strict';const a14_0x2e92ca=a14_0xb63f;(function(_0x45e634,_0x2b61bb){const _0x18f448=a14_0xb63f,_0x43a8f9=_0x45e634();while(!![]){try{const _0x4710f1=parseInt(_0x18f448(0x1c2))/0x1+-parseInt(_0x18f448(0x17f))/0x2+-parseInt(_0x18f448(0x1c4))/0x3*(parseInt(_0x18f448(0x1c6))/0x4)+parseInt(_0x18f448(0x18e))/0x5+parseInt(_0x18f448(0x18b))/0x6*(parseInt(_0x18f448(0x1a0))/0x7)+parseInt(_0x18f448(0x1b4))/0x8*(-parseInt(_0x18f448(0x1b3))/0x9)+parseInt(_0x18f448(0x1b1))/0xa*(parseInt(_0x18f448(0x1bd))/0xb);if(_0x4710f1===_0x2b61bb)break;else _0x43a8f9['push'](_0x43a8f9['shift']());}catch(_0x31674f){_0x43a8f9['push'](_0x43a8f9['shift']());}}}(a14_0x4a98,0xbe2a6));const {default:BrowserStackSetup}=require('../../helpers/BrowserStackSetup'),logger=require(a14_0x2e92ca(0x1c3))[a14_0x2e92ca(0x19f)],{URL}=require(a14_0x2e92ca(0x1bc)),helper=require(a14_0x2e92ca(0x190)),{HELP_MESSAGES,ERROR_MESSAGES}=require(a14_0x2e92ca(0x199)),validHosts=function(_0x27601f){const _0x2aa7ec=a14_0x2e92ca;return _0x27601f[_0x2aa7ec(0x1c5)](',')[_0x2aa7ec(0x1b6)](_0x3695a3=>{const _0x80a87b=_0x2aa7ec;try{new URL(_0x3695a3[_0x80a87b(0x1be)]());}catch(_0x20ee95){return![];}return!![];});},parseOnPremHosts=function(_0x2986fb){const _0x4c56d4=a14_0x2e92ca,_0x719b73={};_0x719b73[_0x4c56d4(0x193)]=function(_0x7972f9,_0x9d3dd4){return _0x7972f9===_0x9d3dd4;},_0x719b73[_0x4c56d4(0x182)]='https:',_0x719b73[_0x4c56d4(0x1af)]='443',_0x719b73[_0x4c56d4(0x1bb)]=function(_0x4d6d1f,_0x2daeed){return _0x4d6d1f===_0x2daeed;},_0x719b73[_0x4c56d4(0x185)]=_0x4c56d4(0x1b5);const _0x1395ad=_0x719b73;return _0x2986fb[_0x4c56d4(0x1c5)](',')[_0x4c56d4(0x19b)](_0x4e79a6=>{const _0x25f8db=_0x4c56d4,_0x49e393=new URL(_0x4e79a6[_0x25f8db(0x1be)]()),_0x310415=_0x49e393[_0x25f8db(0x1a6)],_0x1c5958=_0x49e393[_0x25f8db(0x1aa)]||(_0x1395ad[_0x25f8db(0x193)](_0x49e393['protocol'],_0x1395ad[_0x25f8db(0x182)])?_0x1395ad[_0x25f8db(0x1af)]:'80'),_0x1e10b3=_0x49e393[_0x25f8db(0x1ad)]['replace'](':',''),_0xe68ce8=_0x1395ad['UEyXX'](_0x1e10b3,_0x1395ad[_0x25f8db(0x185)])?0x1:0x0;return _0x310415+','+_0x1c5958+','+_0xe68ce8;});},connectCommandBuilder=function(_0x8dea06){const _0x58ba84=a14_0x2e92ca,_0x272954={};_0x272954[_0x58ba84(0x18d)]='string';const _0x591f27=_0x272954,_0x2c5a66={};_0x2c5a66[_0x58ba84(0x1a3)]=HELP_MESSAGES['options'][_0x58ba84(0x1a2)],_0x2c5a66[_0x58ba84(0x1a9)]=_0x591f27['QTsJI'];const _0x548928={};_0x548928[_0x58ba84(0x1a3)]=HELP_MESSAGES[_0x58ba84(0x17d)]['hosts'],_0x548928[_0x58ba84(0x1a9)]=_0x591f27[_0x58ba84(0x18d)],_0x548928[_0x58ba84(0x181)]=!![];const _0x24a301={};return _0x24a301[_0x58ba84(0x1ba)]=_0x2c5a66,_0x24a301[_0x58ba84(0x186)]=_0x548928,_0x8dea06[_0x58ba84(0x17d)](_0x24a301);},connectCommandHandler=async function(_0x4b191d){const _0x40c22c=a14_0x2e92ca,_0x34df70={'WBPcr':_0x40c22c(0x1c1),'PYSpu':function(_0x9dfcb3,_0x1a910f){return _0x9dfcb3===_0x1a910f;},'OeLUN':_0x40c22c(0x1a5),'lUsXu':_0x40c22c(0x1c0),'YGAew':'Integration\x20hosts\x20missing.','EGdze':function(_0x23980d,_0xb0263f){return _0x23980d(_0xb0263f);},'flkuq':'Hosts\x20not\x20valid','vWOxx':_0x40c22c(0x1b7),'HQWMd':_0x40c22c(0x19e),'rNrOZ':'Failed\x20to\x20establish\x20connection.'};try{const _0x52d97f=new BrowserStackSetup(_0x4b191d,_0x34df70[_0x40c22c(0x1ac)]);_0x4b191d[_0x40c22c(0x1a1)]&&(_0x52d97f['config']['accessKey']=_0x4b191d['bstackAccesskey']);if(_0x34df70[_0x40c22c(0x1b9)](typeof _0x52d97f['config'][_0x40c22c(0x1ab)],_0x34df70['OeLUN'])){logger['error'](_0x34df70[_0x40c22c(0x18c)]);throw new Error(ERROR_MESSAGES[_0x40c22c(0x1a2)][_0x40c22c(0x184)]);}const _0x49dc60=_0x4b191d['hosts'];if(_0x34df70[_0x40c22c(0x1b9)](typeof _0x49dc60,_0x34df70['OeLUN'])){logger[_0x40c22c(0x196)](_0x34df70['YGAew']);throw new Error(ERROR_MESSAGES['hosts'][_0x40c22c(0x184)]);}if(!_0x34df70[_0x40c22c(0x194)](validHosts,_0x49dc60)){logger['error'](_0x34df70[_0x40c22c(0x195)]);throw new Error(ERROR_MESSAGES[_0x40c22c(0x186)][_0x40c22c(0x192)]);}const _0x13cb54=_0x34df70[_0x40c22c(0x194)](parseOnPremHosts,_0x49dc60);_0x52d97f['config'][_0x40c22c(0x189)]=!![],_0x52d97f[_0x40c22c(0x1b0)][_0x40c22c(0x187)][_0x40c22c(0x1b2)]=_0x34df70[_0x40c22c(0x183)],_0x52d97f[_0x40c22c(0x1b0)][_0x40c22c(0x187)][_0x40c22c(0x197)]=_0x13cb54[_0x40c22c(0x188)](','),helper[_0x40c22c(0x17c)](_0x52d97f[_0x40c22c(0x1b0)]),await _0x52d97f[_0x40c22c(0x19c)](),logger[_0x40c22c(0x18f)](_0x34df70[_0x40c22c(0x180)]);}catch(_0x1db69a){logger[_0x40c22c(0x196)](_0x34df70[_0x40c22c(0x1a7)]);throw new Error(_0x1db69a[_0x40c22c(0x19a)]());}};function run(_0x353ac1){const _0x293869=a14_0x2e92ca,_0xfaa172={};_0xfaa172[_0x293869(0x198)]=_0x293869(0x1a4),_0xfaa172['fscAu']=_0x293869(0x1bf);const _0x2d3905=_0xfaa172;_0x353ac1[_0x293869(0x19d)](HELP_MESSAGES[_0x293869(0x1a8)]['root'])['command'](_0x2d3905[_0x293869(0x198)],HELP_MESSAGES[_0x293869(0x1a8)][_0x293869(0x1a4)],connectCommandBuilder,connectCommandHandler)[_0x293869(0x1ae)]()[_0x293869(0x1bf)](_0x2d3905[_0x293869(0x191)])[_0x293869(0x17e)](HELP_MESSAGES[_0x293869(0x1a8)][_0x293869(0x18a)]);}module[a14_0x2e92ca(0x1b8)]=run;function a14_0xb63f(_0x1200be,_0x3266e0){const _0x4a989f=a14_0x4a98();return a14_0xb63f=function(_0xb63f11,_0x462c45){_0xb63f11=_0xb63f11-0x17c;let _0x50c246=_0x4a989f[_0xb63f11];return _0x50c246;},a14_0xb63f(_0x1200be,_0x3266e0);}function a14_0x4a98(){const _0x312c95=['describe','connect','undefined','hostname','rNrOZ','command','type','port','accessKey','WBPcr','protocol','demandCommand','QwfDo','config','94430bmSbVd','localIdentifier','212301qlfQwG','168gtrshT','https','every','integrations-repeater','exports','PYSpu','bstack-accesskey','UEyXX','url','880bVeyrN','trim','help','BrowserStack\x20access\x20key\x20missing.','integrations','1004374sDcQhc','../../helpers/logger','10917YwnDod','split','1364eQavjx','setProxySettings','options','epilogue','2345846ceRfNn','HQWMd','demandOption','cRIus','vWOxx','missing','TLgGA','hosts','browserStackLocalOptions','join','browserstackLocal','footer','186vYoUlm','lUsXu','QTsJI','6322150pJCBKW','info','../../helpers/helper','fscAu','invalid','Akqrh','EGdze','flkuq','error','only','ZGvxh','./constants','toString','map','setupBrowserstackLocal','usage','Connection\x20established\x20successfully.','winstonLogger','149905NNMVQx','bstackAccesskey','bstackAccessKey'];a14_0x4a98=function(){return _0x312c95;};return a14_0x4a98();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a15_0x445186=a15_0x29d0;(function(_0x186620,_0x5dfbbd){var _0xf25cb0=a15_0x29d0,_0x2ceb48=_0x186620();while(!![]){try{var _0x57340e=-parseInt(_0xf25cb0(0xf5))/0x1*(-parseInt(_0xf25cb0(0xf8))/0x2)+-parseInt(_0xf25cb0(0x10d))/0x3*(-parseInt(_0xf25cb0(0x104))/0x4)+-parseInt(_0xf25cb0(0x10c))/0x5*(-parseInt(_0xf25cb0(0x109))/0x6)+-parseInt(_0xf25cb0(0xfb))/0x7+parseInt(_0xf25cb0(0xf9))/0x8+parseInt(_0xf25cb0(0xfe))/0x9+parseInt(_0xf25cb0(0xff))/0xa*(-parseInt(_0xf25cb0(0x10a))/0xb);if(_0x57340e===_0x5dfbbd)break;else _0x2ceb48['push'](_0x2ceb48['shift']());}catch(_0x36c7a5){_0x2ceb48['push'](_0x2ceb48['shift']());}}}(a15_0x26a5,0x59586));var a15_0x539e14={};a15_0x539e14['bstackAccessKey']=a15_0x445186(0x103),a15_0x539e14[a15_0x445186(0x10b)]='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.';var a15_0x2feb03={};a15_0x2feb03[a15_0x445186(0x106)]=a15_0x445186(0x108),a15_0x2feb03[a15_0x445186(0x102)]=a15_0x445186(0x107),a15_0x2feb03[a15_0x445186(0xfc)]=a15_0x445186(0xf6);var a15_0x39af4e={};a15_0x39af4e[a15_0x445186(0xf7)]=a15_0x539e14,a15_0x39af4e[a15_0x445186(0x100)]=a15_0x2feb03,exports[a15_0x445186(0xf4)]=a15_0x39af4e;var a15_0x431769={};a15_0x431769['missing']='BrowserStack\x20access\x20key\x20missing.\x20Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.';var a15_0x17a62a={};a15_0x17a62a['missing']=a15_0x445186(0xfd),a15_0x17a62a[a15_0x445186(0x105)]=a15_0x445186(0x101);function a15_0x26a5(){var _0x147a46=['invalid','root','Connect\x20new\x20integration\x20from\x20a\x20list\x20of\x20supported\x20tools.','Integrate\x20BrowserStack\x20with\x20your\x20favorite\x20third-party\x20tools\x20for\x20faster\x20and\x20efficient\x20testing.','216ahsuqI','11yEVfTZ','hosts','57335PJUhJK','12tLzJLl','HELP_MESSAGES','1rysLxN','Use\x20\x22browserstack-cli\x20integrations\x20<command_group>\x20-h/--help\x22\x20for\x20additional\x20help\x20and\x20details\x20about\x20BrowserStack\x20integrations.','options','1219942TtHMAP','2457432TcjNAB','bstackAccessKey','972244nLcOdm','footer','Integration\x20hosts\x20missing.\x20Specify\x20a\x20comma\x20separated\x20list\x20of\x20hosts\x20(eg:\x20http://your-jira.yourdomain.com:8080,..)\x20for\x20the\x20integration.','3995640ZBQgrQ','15582640LdcHPI','command','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','Specify\x20your\x20BrowserStack\x20access\x20key\x20for\x20authentication\x20with\x20our\x20services.','289192zVQJJy'];a15_0x26a5=function(){return _0x147a46;};return a15_0x26a5();}function a15_0x29d0(_0x3eb137,_0x1c0c45){var _0x26a55d=a15_0x26a5();return a15_0x29d0=function(_0x29d0ab,_0x458c44){_0x29d0ab=_0x29d0ab-0xf4;var _0xa4b0b2=_0x26a55d[_0x29d0ab];return _0xa4b0b2;},a15_0x29d0(_0x3eb137,_0x1c0c45);}var a15_0x4dac6e={};a15_0x4dac6e[a15_0x445186(0xfa)]=a15_0x431769,a15_0x4dac6e[a15_0x445186(0x10b)]=a15_0x17a62a,exports['ERROR_MESSAGES']=a15_0x4dac6e;
|
package/src/bin/jest/command.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
'use strict';const a16_0x25834f=a16_0x1ef0;(function(_0x5064da,_0x1293ab){const _0x4b6624=a16_0x1ef0,_0x230cdf=_0x5064da();while(!![]){try{const _0x76af48=parseInt(_0x4b6624(0x15e))/0x1+parseInt(_0x4b6624(0x118))/0x2*(parseInt(_0x4b6624(0xeb))/0x3)+-parseInt(_0x4b6624(0x172))/0x4+parseInt(_0x4b6624(0x138))/0x5+-parseInt(_0x4b6624(0x12a))/0x6+-parseInt(_0x4b6624(0x12e))/0x7+parseInt(_0x4b6624(0x17e))/0x8*(parseInt(_0x4b6624(0x14f))/0x9);if(_0x76af48===_0x1293ab)break;else _0x230cdf['push'](_0x230cdf['shift']());}catch(_0x28cc95){_0x230cdf['push'](_0x230cdf['shift']());}}}(a16_0x7f03,0xe042a));function a16_0x7f03(){const _0x67a8b5=['maxFailures','\x20:\x20','AKXWD','SubBV','isTestOrchestrationEnabled','retryTestsOnFailure','jest.setup.js','Fsdqw','accessibility','env','Unable\x20to\x20find\x20jest-circus,\x20','BROWSERSTACK_TEST_OBSERVABILITY_YML','\x20test\x20files\x20to\x20run.','7506324dONoHg','yafcX','useW3C','jest','10379558DMzSsz','resolve','QjNUu','USER_CONFIG_DETAILS_PATH','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','udVNo','./test-observability/helper','../../helpers/utilities','EVENTS','testObservability','2366785LFhdRb','isNotUndefined','customCircus.js','customImplements','Ycrrh','setupFiles','rmdirSync','requireModule','runner','abortBuildOnFailure','\x0a\x20\x20\x20\x20','readFileSync','test_before.setup.js','lgwpP','cOpIP','jest-config/build/readConfigFileAndSetRootDir.js','turboScaleUrl','slice','setup','fHUxG','BSTACK_JEST_TEST_ENV','Getting\x20your\x20jest\x20configs\x20from\x20','exitCode','23364qPKLfL','jest_browserstack.config.cjs','length','../../helpers/test-observability/utils','logLevel','QIbYn','isUndefined','serial__','assign','stringify','Dgetz','accessibilityOptions','findIndex','setupFilesAfterEnv','../../helpers/BrowserStackSetup','901237WHDJaQ','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','stop','end','TCZok','tYfeX','errorMessage','util','data-hooks.js','pQssy','skipSessionStatus','../../helpers/performance/performance-tester','SDK_SETUP','maxWorkers','error\x20removing\x20tcg\x20config\x20file','vgzYN','config','jest_browserstack.config.js','Error\x20while\x20parsing\x20','browserStackPercyOptions','3782648bUOSPa','rmSync','json','WbWes','proxySettings','krrQb','testEnvironmentOptions','testEnvironment','cwd','IPsUr','shouldProcessEventForTesthub','sjjgg','8128GSViEq','Deleted\x20fail-fast\x20state\x20folder:\x20','reorderTestFiles','isEmpty','browserStackLogLevel','testContextOptions','failureThresholdCount','getHubUrl','../../helpers/percy/utils','qlhgx','skipSessionName','writeFileSync','error','isBrowserstackInfra','\x20with\x20browserstack\x20jest\x20configs','XQzxo','launchBuild','workingDir','MmQTI','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','biTVE','exports','\x0amodule.exports\x20=\x20config;','child\x20process\x20exited\x20with\x20code\x20','kCRrD','../../helpers/helper','debug','JEST','peNzF','force','true','VDrDQ','zAvFe','testSequencer','AktkD','const\x20config=','../../helpers/testhub/utils','dbXQG','JEST_TEST_ORDER','close','unlinkSync','Eezgt','getPackageType','30ciavIO','../../helpers/test-observability/constants','cOfdM','BROWSERSTACK_TEST_ACCESSIBILITY_YML','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','getErrorMessageFromResults','testTimeout','child_process','parallelsPerPlatform','retries__','splice','failFast','prvhH','info','jest_browserstack_results.json','existsSync','ohnNW','default','capabilities','winstonLogger','parallels__','FRAMEWORKS','MODULE','customTestRunnerTemplate.js','reporters','log','../../helpers/test-orchestration/testOrchestrationHandler','MWnlD','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','prepareCapabilities','jest-circus','Getting\x20your\x20jest\x20configs\x20from\x20package.json','false','join',';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20','clXoa','testRunner','platforms','maxRetries','Found:\x20','aJlTJ','push','checkAccessibilityPlatformConfig','requireSeleniumWebdriver','runInBand','117190gHpKrT','--config','../../helpers/performance/constants','FJlsm','../../helpers/accessibility-automation/helper'];a16_0x7f03=function(){return _0x67a8b5;};return a16_0x7f03();}function a16_0x1ef0(_0x32aeec,_0x351348){const _0x7f0321=a16_0x7f03();return a16_0x1ef0=function(_0x1ef02f,_0x5ef960){_0x1ef02f=_0x1ef02f-0xc6;let _0xca12cc=_0x7f0321[_0x1ef02f];return _0xca12cc;},a16_0x1ef0(_0x32aeec,_0x351348);}const fs=require('fs'),path=require('path'),util=require(a16_0x25834f(0x165)),{spawn}=require(a16_0x25834f(0xf2)),logger=require('../../helpers/logger')[a16_0x25834f(0xfe)],{default:BrowserStackSetup}=require(a16_0x25834f(0x15d)),helper=require(a16_0x25834f(0xd9)),utilities=require(a16_0x25834f(0x135)),constants=require('../utils/constants'),accessibilityHelper=require(a16_0x25834f(0x11c)),{updateTestRerunConfig}=require(a16_0x25834f(0x134)),testOpsHelper=require(a16_0x25834f(0x152)),{debug}=require(a16_0x25834f(0x152)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x25834f(0xc8)),TestHubHandler=require('../../helpers/testhub/testhubHandler'),testhubUtils=require(a16_0x25834f(0xe4)),{FRAMEWORKS}=require(a16_0x25834f(0xec)),PerformanceTester=require(a16_0x25834f(0x169)),PerformanceEvents=require(a16_0x25834f(0x11a))[a16_0x25834f(0x136)],TestOrchestrationHandler=require(a16_0x25834f(0x105)),getUserJestConfigs=async(_0x4f18fb,_0x16b7f9)=>{const _0x6d20a1=a16_0x25834f,_0x1ec390={'npuqt':_0x6d20a1(0x147),'NyfGN':'jest-config','prvhH':function(_0x431d97,_0x66f3d0){return _0x431d97||_0x66f3d0;},'ijVRm':function(_0x4535e7,_0xe647e9){return _0x4535e7(_0xe647e9);},'Ycrrh':'package.json','PLLDK':_0x6d20a1(0x10a),'OxApQ':'mjs','QIbYn':'cjs','dbXQG':_0x6d20a1(0x174)},_0x568295=helper[_0x6d20a1(0x13f)](_0x1ec390['npuqt'],_0x1ec390['NyfGN']),_0x5b7da8=_0x16b7f9[_0x6d20a1(0x15b)](_0x518938=>_0x518938==='--config');if(!helper[_0x6d20a1(0x155)](_0x4f18fb[_0x6d20a1(0x16e)])){logger[_0x6d20a1(0xf8)](_0x6d20a1(0x14d)+_0x4f18fb[_0x6d20a1(0x16e)]),process['env'][_0x6d20a1(0x131)]=_0x4f18fb[_0x6d20a1(0x16e)];const _0x212193=await(0x0,_0x568295['default'])(path[_0x6d20a1(0x12f)](_0x4f18fb[_0x6d20a1(0x16e)]));return _0x16b7f9[_0x6d20a1(0xf5)](_0x5b7da8,0x2),_0x1ec390[_0x6d20a1(0xf7)](_0x212193,{});}const _0x333b02=_0x1ec390['ijVRm'](require,path['join'](process['cwd'](),_0x1ec390[_0x6d20a1(0x13c)]));if(_0x333b02[_0x6d20a1(0x12d)])return logger[_0x6d20a1(0xf8)](_0x1ec390['PLLDK']),_0x333b02[_0x6d20a1(0x12d)];const _0x132680=['js',_0x1ec390['OxApQ'],_0x1ec390[_0x6d20a1(0x154)],_0x1ec390[_0x6d20a1(0xe5)],'ts'];for(const _0x1b9f5c of _0x132680){const _0x14392e=path['join'](process[_0x6d20a1(0x17a)](),'jest.config.'+_0x1b9f5c);if(fs[_0x6d20a1(0xfa)](_0x14392e)){process['env'][_0x6d20a1(0x131)]=_0x14392e;const _0x4493fc=await(0x0,_0x568295[_0x6d20a1(0xfc)])(_0x14392e);return _0x4493fc;}}return{};},getSerial=(_0x27aea2,_0x37ca84)=>{const _0x1bb1bb=a16_0x25834f,_0xa3120a={};_0xa3120a[_0x1bb1bb(0xd2)]=_0x1bb1bb(0xde),_0xa3120a[_0x1bb1bb(0xe2)]=function(_0x126eac,_0xf9515c){return _0x126eac>_0xf9515c;},_0xa3120a['vgzYN']=_0x1bb1bb(0x10b);const _0x1296c7=_0xa3120a;let _0x184363=_0x1296c7['MmQTI'];return _0x1296c7[_0x1bb1bb(0xe2)](_0x27aea2[_0x1bb1bb(0x151)],0x1)&&(!_0x37ca84[_0x1bb1bb(0x117)]&&(helper['isUndefined'](_0x37ca84['maxWorkers'])||_0x1296c7[_0x1bb1bb(0xe2)](_0x37ca84[_0x1bb1bb(0x16b)],0x1)))&&(_0x184363=_0x1296c7[_0x1bb1bb(0x16d)]),_0x184363;},getMaxWorkers=(_0x28a24a,_0x18f71d,_0x3d5ec5)=>{const _0x53bd02=a16_0x25834f,_0x1b65b0={'gQtBm':function(_0x4544ad,_0x213399){return _0x4544ad(_0x213399);}};let _0x4baf78=0x1;if(!helper['isUndefined'](_0x18f71d[_0x53bd02(0xf3)]))_0x4baf78=_0x1b65b0['gQtBm'](parseInt,_0x18f71d[_0x53bd02(0xf3)]);else{if(!helper[_0x53bd02(0x155)](_0x28a24a[_0x53bd02(0x16b)]))_0x4baf78=_0x28a24a[_0x53bd02(0x16b)];else!helper[_0x53bd02(0x155)](_0x3d5ec5[_0x53bd02(0x16b)])&&(_0x4baf78=_0x3d5ec5[_0x53bd02(0x16b)]);}return _0x4baf78;};async function run(_0x19837a,_0x4721b0,_0x19af38){const _0x528504=a16_0x25834f,_0x54341b={'cOfdM':_0x528504(0x16c),'lgwpP':_0x528504(0x12d),'YbdlM':function(_0x425ef0,_0x42516e){return _0x425ef0(_0x42516e);},'cOpIP':function(_0x3ac7b1,_0xa86bef){return _0x3ac7b1!=_0xa86bef;},'biTVE':'true','TCZok':function(_0x4c53bb,_0x44b850,_0x1f439f){return _0x4c53bb(_0x44b850,_0x1f439f);},'yafcX':_0x528504(0xef),'dsWwn':function(_0xe28740,_0xc39908,_0x5cbf25,_0x464f4a){return _0xe28740(_0xc39908,_0x5cbf25,_0x464f4a);},'Fsdqw':function(_0x37a764,_0x1f86b9){return _0x37a764*_0x1f86b9;},'WbWes':function(_0x4bf703,_0x1f259b){return _0x4bf703===_0x1f259b;},'udVNo':_0x528504(0x150),'clXoa':_0x528504(0x16f),'zAvFe':_0x528504(0x13b),'XQzxo':_0x528504(0xf9),'PtUod':'customTestRunner.js','IPsUr':_0x528504(0x102),'tYfeX':'customEnvironment.js','FJlsm':_0x528504(0x123),'MHddy':'customSequencer.js','qlhgx':_0x528504(0x15f),'fHUxG':_0x528504(0x109),'kKadr':function(_0x1e521a,_0xb18025){return _0x1e521a(_0xb18025);},'ACZzl':'test-observability','Eezgt':_0x528504(0x166),'VDrDQ':_0x528504(0x13a),'krrQb':_0x528504(0x144),'gKZLP':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','sjjgg':_0x528504(0xfc),'SubBV':function(_0x12a3cc,_0x5b24c5,_0x3e2281){return _0x12a3cc(_0x5b24c5,_0x3e2281);},'Dgetz':_0x528504(0x132),'pQssy':function(_0x11d554,_0x390096){return _0x11d554>_0x390096;},'ohnNW':'Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','kCRrD':'npx','aJlTJ':_0x528504(0x119),'peNzF':function(_0x21600c,_0x13533b){return _0x21600c===_0x13533b;},'AKXWD':'win32','MWnlD':'inherit','QjNUu':_0x528504(0xe7)};helper[_0x528504(0xcd)]()?(await _0x19af38['initialize'](_0x19837a),await helper['handleApp'](_0x19af38[_0x528504(0x16e)])):await _0x19af38['setupTCGAuth']();if(!_0x19af38[_0x528504(0x16e)])return;_0x54341b[_0x528504(0x146)](_0x19af38['config'][_0x528504(0x137)],null)?process[_0x528504(0x126)][_0x528504(0x128)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x137)]:process[_0x528504(0x126)][_0x528504(0x128)]=_0x54341b[_0x528504(0xd4)];const _0x2faef0=new TestOrchestrationHandler(_0x19af38['config']),_0x2085ba=await _0x54341b[_0x528504(0x162)](getUserJestConfigs,_0x19837a,_0x4721b0);logger[_0x528504(0xf8)](_0x54341b[_0x528504(0x12b)]);const _0x2bbc3e=Object[_0x528504(0x157)]({},_0x2085ba);_0x2bbc3e[_0x528504(0x178)]=Object['assign']({},_0x2bbc3e[_0x528504(0x178)],{'server':helper[_0x528504(0xc7)](_0x19af38['config']),'environment':_0x2085ba['testEnvironment']}),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x171)]=_0x54341b['YbdlM'](getPercyOptions,_0x19af38[_0x528504(0x16e)]);const _0x193203=helper[_0x528504(0x12c)](_0x19af38[_0x528504(0x16e)]);!helper[_0x528504(0x155)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)])&&(process[_0x528504(0x126)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0x528504(0x158)](_0x19af38[_0x528504(0x16e)][_0x528504(0x15a)]));const _0x47bd6b=await TestHubHandler[_0x528504(0xd0)](FRAMEWORKS[_0x528504(0xdb)],_0x19af38),_0x23c896=helper[_0x528504(0x108)](_0x19af38[_0x528504(0x16e)],_0x193203,constants[_0x528504(0x100)][_0x528504(0xdb)]);let _0xfcf407=_0x19af38[_0x528504(0x16e)][_0x528504(0x125)];_0xfcf407=_0xfcf407||accessibilityHelper[_0x528504(0x115)](_0x19af38[_0x528504(0x16e)]),process[_0x528504(0x126)][_0x528504(0xee)]=_0xfcf407,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xfd)]=_0x23c896,_0x2bbc3e[_0x528504(0x178)][_0x528504(0x156)]=_0x54341b[_0x528504(0x162)](getSerial,_0x23c896,_0x19837a),_0x2bbc3e[_0x528504(0x178)][_0x528504(0xff)]=_0x54341b['dsWwn'](getMaxWorkers,_0x19837a,_0x19af38['config'],_0x2085ba),_0x2bbc3e[_0x528504(0x178)][_0x528504(0x176)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x176)],_0x2bbc3e[_0x528504(0x178)]['timeout__']=_0x54341b[_0x528504(0x124)](_0x19837a[_0x528504(0xf1)],0x1)||0x1388,_0x2bbc3e[_0x528504(0x178)][_0x528504(0xca)]=_0x19af38[_0x528504(0x16e)]['testContextOptions'][_0x528504(0xca)],_0x2bbc3e[_0x528504(0x178)]['skipSessionStatus']=_0x19af38[_0x528504(0x16e)][_0x528504(0x183)][_0x528504(0x168)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0x182)]=_0x19af38[_0x528504(0x16e)][_0x528504(0x153)],_0x2bbc3e[_0x528504(0x178)]['turboScaleUrl']=_0x19af38[_0x528504(0x16e)][_0x528504(0x148)],_0x2bbc3e[_0x528504(0x178)]['platformCaps']=_0x19af38[_0x528504(0x16e)][_0x528504(0x110)];const _0x54789c=helper['parseTestOrchestrationOptions'](_0x19af38[_0x528504(0x16e)]);if(!helper[_0x528504(0x181)](_0x54789c)){helper[_0x528504(0x139)](_0x54789c[_0x528504(0x122)])&&(_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf4)]=_0x54789c[_0x528504(0x122)][_0x528504(0x111)]);if(helper[_0x528504(0x139)](_0x54789c['abortBuildOnFailure'])&&helper[_0x528504(0x139)](_0x54789c[_0x528504(0x141)][_0x528504(0xd1)])){const _0x4fee42={};_0x4fee42[_0x528504(0xc6)]=_0x54789c['abortBuildOnFailure'][_0x528504(0x11d)],_0x4fee42[_0x528504(0xd1)]=_0x54789c[_0x528504(0x141)][_0x528504(0xd1)],_0x2bbc3e[_0x528504(0x178)][_0x528504(0xf6)]=_0x4fee42;}}let _0x24e1fc='';_0x54341b[_0x528504(0x175)](helper[_0x528504(0xea)](),constants['PACKAGE_TYPE'][_0x528504(0x101)])?_0x24e1fc=_0x54341b[_0x528504(0x133)]:_0x24e1fc=_0x54341b[_0x528504(0x10e)];const _0x528a1a=_0x24e1fc,_0xe273c2=path[_0x528504(0x10c)](__dirname,_0x54341b['zAvFe'],_0x54341b[_0x528504(0xcf)]),_0x1013c6=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['PtUod']),_0x7e0559=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x17b)]);_0x2bbc3e[_0x528504(0x179)]&&(process[_0x528504(0x126)][_0x528504(0x14c)]=_0x2bbc3e[_0x528504(0x179)]);_0x2bbc3e[_0x528504(0x179)]=path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0x163)]),_0x2bbc3e[_0x528504(0x140)]=_0x1013c6,_0x2bbc3e[_0x528504(0x15c)]=_0x2bbc3e['setupFilesAfterEnv']||[],_0x2bbc3e[_0x528504(0x15c)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x11b)]));_0x2faef0['isTestOrchestrationEnabled']()&&(_0x2bbc3e[_0x528504(0xe1)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b['MHddy']));if(testhubUtils[_0x528504(0x17c)]()){let _0x26dddf=null;try{_0x26dddf=helper[_0x528504(0x13f)](_0x54341b[_0x528504(0xc9)],_0x54341b[_0x528504(0x14b)]);}catch(_0x458928){_0x54341b['kKadr'](debug,_0x528504(0x127)+_0x458928);}_0x26dddf&&(_0x2bbc3e[_0x528504(0x15c)]['push'](path[_0x528504(0x10c)](__dirname,_0x54341b['ACZzl'],_0x54341b[_0x528504(0xe9)])),_0x2bbc3e[_0x528504(0x10f)]=path['join'](__dirname,_0x54341b[_0x528504(0xe0)],_0x54341b[_0x528504(0xdf)]));}_0x2bbc3e[_0x528504(0x13d)]=_0x2bbc3e[_0x528504(0x13d)]||[];try{helper[_0x528504(0x116)](),_0x2bbc3e[_0x528504(0x13d)][_0x528504(0x114)](path[_0x528504(0x10c)](__dirname,_0x54341b[_0x528504(0x177)]));}catch{logger[_0x528504(0xda)](_0x54341b['gKZLP']);}_0x2bbc3e[_0x528504(0x103)]=_0x2bbc3e[_0x528504(0x103)]||[_0x54341b[_0x528504(0x17d)]],_0x54341b[_0x528504(0x120)](updateTestRerunConfig,_0x2bbc3e,_0x19af38);const _0x2cd35e=fs[_0x528504(0x143)](_0x7e0559);fs[_0x528504(0xcb)](_0x2bbc3e[_0x528504(0x140)],_0x528504(0x142)+_0x2cd35e+_0x528504(0xd3)+_0x19af38[_0x528504(0x16e)][_0x528504(0x110)][_0x528504(0x151)]+_0x528504(0x10d)),logger[_0x528504(0xf8)]('Creating\x20'+_0x528a1a+_0x528504(0xce)),fs['writeFileSync'](_0x528a1a,_0x528504(0xe3)+JSON[_0x528504(0x158)](_0x2bbc3e)+_0x528504(0xd6));if(_0x2faef0[_0x528504(0x121)]()){logger[_0x528504(0xda)](_0x54341b[_0x528504(0x159)]);const _0x102e8e=await _0x2faef0['findTestFiles'](_0x2bbc3e,_0x4721b0[_0x528504(0x149)](0x1),_0x528a1a);logger[_0x528504(0xda)](_0x528504(0x112)+JSON['stringify'](_0x102e8e)+_0x528504(0x129));const _0xa5f862=await _0x2faef0[_0x528504(0x180)](_0x102e8e);logger['debug']('Reodered\x20Test\x20Files:\x20'+JSON[_0x528504(0x158)](_0xa5f862)),_0xa5f862&&_0x54341b[_0x528504(0x167)](_0xa5f862[_0x528504(0x151)],0x0)&&(process[_0x528504(0x126)][_0x528504(0xe6)]=_0xa5f862?.['join'](','));}logger[_0x528504(0xf8)](_0x54341b[_0x528504(0xfb)]);testhubUtils[_0x528504(0x17c)]()&&TestDetails[_0x528504(0x14a)]();helper['filterBrowserstackArgs']({},_0x4721b0),PerformanceTester[_0x528504(0x161)](PerformanceEvents[_0x528504(0x16a)]);const _0x34a60d=_0x54341b['dsWwn'](spawn,_0x54341b[_0x528504(0xd8)],[_0x54341b[_0x528504(0x145)],_0x54341b[_0x528504(0x113)],_0x528a1a,..._0x4721b0[_0x528504(0x149)](0x1)],{'shell':_0x54341b[_0x528504(0xdc)](process['platform'],_0x54341b[_0x528504(0x11f)]),'stdio':_0x54341b[_0x528504(0x106)],'env':Object[_0x528504(0x157)]({},process['env'])});_0x34a60d['on'](_0x54341b[_0x528504(0x130)],async _0x502a16=>{const _0x516db0=_0x528504;PerformanceTester['start'](PerformanceEvents['SDK_CLEANUP']);try{const {browserstackFolderPath:_0x15b10b,tcgConfigPath:_0x56b126}=helper['getTCGConfigFilePaths']();fs['unlinkSync'](_0x56b126),fs[_0x516db0(0x13e)](_0x15b10b);}catch(_0x55b80c){logger[_0x516db0(0xda)](_0x54341b[_0x516db0(0xed)],_0x55b80c);}process[_0x516db0(0x14e)]=_0x502a16,logger['debug'](_0x516db0(0xd7)+_0x502a16),logger[_0x516db0(0xf8)]('Deleting\x20'+_0x528a1a);if(helper[_0x516db0(0x139)](_0x54789c)&&helper[_0x516db0(0x139)](_0x54789c[_0x516db0(0x141)])&&fs['existsSync'](_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]))try{const _0x436368={};_0x436368['recursive']=!![],_0x436368[_0x516db0(0xdd)]=!![],fs[_0x516db0(0x173)](_0x54789c['abortBuildOnFailure'][_0x516db0(0xd1)],_0x436368),logger['debug'](_0x516db0(0x17f)+_0x54789c[_0x516db0(0x141)][_0x516db0(0xd1)]);}catch(_0x2a986f){logger[_0x516db0(0xcc)]('Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20'+_0x2a986f);}let _0x15721f=null;if(fs[_0x516db0(0xfa)](_0xe273c2)){_0x15721f=fs['readFileSync'](_0xe273c2);try{_0x15721f=JSON['parse'](_0x15721f);}catch(_0x5d6713){logger['debug'](_0x516db0(0x170)+_0xe273c2+',\x20'+_0x15721f+_0x516db0(0x11e)+_0x5d6713);}fs[_0x516db0(0xe8)](_0xe273c2);}fs[_0x516db0(0xe8)](_0x528a1a),fs[_0x516db0(0xe8)](_0x1013c6),_0x15721f&&(_0x19af38[_0x516db0(0x164)]=helper[_0x516db0(0xf0)](_0x15721f,_0x54341b['lgwpP'],_0x19af38));try{await TestHubHandler[_0x516db0(0x160)]();}catch(_0x5bd32e){console[_0x516db0(0x104)](_0x5bd32e),_0x54341b['YbdlM'](debug,_0x516db0(0x107)+util['format'](_0x5bd32e));}testOpsHelper['printBuildLink'](),TestDetails['shutdown'](),await utilities['finalExecution'](_0x19af38);});}module[a16_0x25834f(0xd5)]=run;
|
|
2
|
+
'use strict';const a16_0x470db4=a16_0x4dfe;(function(_0x3b5435,_0x50c1a6){const _0x111562=a16_0x4dfe,_0x5c5317=_0x3b5435();while(!![]){try{const _0x27e657=-parseInt(_0x111562(0x19b))/0x1*(-parseInt(_0x111562(0x212))/0x2)+-parseInt(_0x111562(0x1f6))/0x3*(parseInt(_0x111562(0x1e7))/0x4)+-parseInt(_0x111562(0x1e3))/0x5+-parseInt(_0x111562(0x168))/0x6*(-parseInt(_0x111562(0x187))/0x7)+parseInt(_0x111562(0x17f))/0x8*(-parseInt(_0x111562(0x15d))/0x9)+parseInt(_0x111562(0x1d2))/0xa*(-parseInt(_0x111562(0x1f0))/0xb)+parseInt(_0x111562(0x171))/0xc*(parseInt(_0x111562(0x1b3))/0xd);if(_0x27e657===_0x50c1a6)break;else _0x5c5317['push'](_0x5c5317['shift']());}catch(_0x22b94a){_0x5c5317['push'](_0x5c5317['shift']());}}}(a16_0xf0b7,0x312b7));function a16_0xf0b7(){const _0x451fba=['SDK_SETUP','Error\x20while\x20deleting\x20fail-fast\x20state\x20folder:\x20','launchBuild','16848hlxTVs','shouldProcessEventForTesthub','jest-config','close','BROWSERSTACK_TEST_ACCESSIBILITY_YML','jPbMt','vjakG','\x0a\x20\x20\x20\x20','1799ULrdHA','../../helpers/testhub/utils','workingDir','testRunner','checkAccessibilityPlatformConfig','error\x20removing\x20tcg\x20config\x20file','filterBrowserstackArgs','ndgsz','Error\x20while\x20parsing\x20','\x20test\x20files\x20to\x20run.','../../helpers/test-observability/utils','force','isTestOrchestrationEnabled','setupFilesAfterEnv','Creating\x20','default','debug','initialize','shutdown','BROWSERSTACK_TEST_OBSERVABILITY_YML','2CWYVga','failureThresholdCount','testEnvironmentOptions','CXkew','ifwaE','proxySettings','wLSlR','XUeFl','package.json','VRdzt','\x20with\x20browserstack\x20jest\x20configs','ialAc','../../helpers/logger','XKQjG','PlBBC','BSTACK_JEST_TEST_ENV','dtQTn','iPDCX','../../helpers/test-orchestration/testOrchestrationHandler','OgcBJ','accessibility','jest-config/build/readConfigFileAndSetRootDir.js','--config','wisag','13439985VJpIYc','skipSessionStatus','finalExecution','customCircus.js','browserStackPercyOptions','SDK_CLEANUP','parseTestOrchestrationOptions','FRAMEWORKS','../../helpers/performance/constants','push','jest','Getting\x20your\x20jest\x20configs\x20from\x20','FaVDx','jest-circus','customImplements','ITpNE','prepareCapabilities','testContextOptions','customSequencer.js','parse','abortBuildOnFailure','yFJwq','retryTestsOnFailure','env','useW3C','customTestRunnerTemplate.js','parallelsPerPlatform','requireModule','jest_browserstack_results.json','const\x20config=','getErrorMessageFromResults','130TWfbpN','platforms','error','writeFileSync','\x0amodule.exports\x20=\x20config;','slice','pxhqu','../../helpers/BrowserStackSetup','maxWorkers','WTvGH','fRkon','errorMessage','AYJZC','cwd','unlinkSync','Deleting\x20','recursive','974520ZLEYES','getHubUrl','QtiyW','retries__','12kTgRqq','iPmmM','setup','stringify','setupTCGAuth','util','printBuildLink','format','info','243804gLIYAH','JEST_TEST_ORDER','KpebP','logLevel','PQKuy','testSequencer','298749fjtofz','serial__','setupFiles','husZt','parallels__','getPackageType','isUndefined','capabilities','test_before.setup.js','true','json','gcEKE','Found:\x20','rmSync','path','hNgOI','../../helpers/accessibility-automation/helper','cPNdJ','runner','fEljw','../../helpers/percy/utils','iIFfn','Reodered\x20Test\x20Files:\x20','JEST','length','config','cjs','./test-observability/helper','175624iAbwQZ','handleApp','assign','../../helpers/helper','test-observability','findIndex','PPVwy','data-hooks.js','lWucQ','Modifying\x20jest\x20configs\x20to\x20run\x20tests\x20on\x20BrowserStack','testEnvironment','mjs','join','turboScaleUrl','IyOnD','child\x20process\x20exited\x20with\x20code\x20','splice','timeout__','hgBMw','../../helpers/testhub/testhubHandler','\x0a\x0a\x20\x20\x20\x20const\x20ReporterDispatcher\x20=\x20_interopRequireDefault(requireModule(\x27@jest/core/build/ReporterDispatcher.js\x27,\x20\x27@jest/core\x27)).default;\x20//node_modules/@jest/core/build/ReporterDispatcher.js\x0a\x20\x20\x20\x20const\x20fs\x20=\x20require(\x27fs\x27);\x0a\x20\x20\x20\x20const\x20path\x20=\x20require(\x27path\x27);\x0a\x20\x20\x20\x20const\x20helper\x20=\x20require(\x27../../../helpers/helper\x27);\x0a\x20\x20\x20\x20var\x20_someFunc\x20=\x20ReporterDispatcher.prototype.onRunComplete;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onRunComplete\x20=\x20async\x20function\x20(testContexts,\x20results)\x20{\x0a\x20\x20\x20\x20\x20\x20results.numTotalTestSuites\x20=\x20results.numTotalTestSuites\x20*\x20','isEmpty','Exception\x20in\x20stop\x20build\x20request\x20to\x20TestHub\x20:\x20','reporters','Getting\x20your\x20jest\x20configs\x20from\x20package.json','isBrowserstackInfra','child_process','../../helpers/test-observability/constants','getTCGConfigFilePaths','1179IsdRcp','maxFailures','jest.config.','PACKAGE_TYPE','readFileSync','customEnvironment.js','SVAry','WmZsL','Showing\x20jest\x20logs\x20and\x20reporter\x20logs.','../../helpers/utilities','reorderTestFiles','1158POZcsB','inherit','existsSync','BiOwu','npx','\x20:\x20','xUjqb','EVENTS','USER_CONFIG_DETAILS_PATH','12JaUBsw','WHPEM','jest_browserstack.config.cjs','runInBand','isNotUndefined','ZQLmW','vhyKR','../../helpers/performance/performance-tester','accessibilityOptions','Test\x20orchestration\x20is\x20enabled,\x20initializing\x20orchestration\x20handler','maRfx'];a16_0xf0b7=function(){return _0x451fba;};return a16_0xf0b7();}const fs=require('fs'),path=require(a16_0x470db4(0x204)),util=require(a16_0x470db4(0x1ec)),{spawn}=require(a16_0x470db4(0x15a)),logger=require(a16_0x470db4(0x1a7))['winstonLogger'],{default:BrowserStackSetup}=require(a16_0x470db4(0x1d9)),helper=require(a16_0x470db4(0x215)),utilities=require(a16_0x470db4(0x166)),constants=require('../utils/constants'),accessibilityHelper=require(a16_0x470db4(0x206)),{updateTestRerunConfig}=require(a16_0x470db4(0x211)),testOpsHelper=require(a16_0x470db4(0x191)),{debug}=require(a16_0x470db4(0x191)),TestDetails=require('./test-observability/test-details'),{getPercyOptions}=require(a16_0x470db4(0x20a)),TestHubHandler=require(a16_0x470db4(0x153)),testhubUtils=require(a16_0x470db4(0x188)),{FRAMEWORKS}=require(a16_0x470db4(0x15b)),PerformanceTester=require(a16_0x470db4(0x178)),PerformanceEvents=require(a16_0x470db4(0x1bb))[a16_0x470db4(0x16f)],TestOrchestrationHandler=require(a16_0x470db4(0x1ad)),getUserJestConfigs=async(_0x3fe91d,_0x52aaf1)=>{const _0xddfa72=a16_0x470db4,_0x34093a={'fRkon':_0xddfa72(0x1b0),'vhyKR':_0xddfa72(0x181),'WTvGH':function(_0x57c83f,_0x29d83b){return _0x57c83f||_0x29d83b;},'XOzgV':function(_0x308801,_0x27ec9e){return _0x308801(_0x27ec9e);},'EbBSx':_0xddfa72(0x1a3),'iPDCX':_0xddfa72(0x158),'PlBBC':_0xddfa72(0x21d),'ITpNE':_0xddfa72(0x210),'ifwaE':_0xddfa72(0x200)},_0x4621b8=helper[_0xddfa72(0x1ce)](_0x34093a[_0xddfa72(0x1dc)],_0x34093a[_0xddfa72(0x177)]),_0x161266=_0x52aaf1[_0xddfa72(0x217)](_0x566741=>_0x566741===_0xddfa72(0x1b1));if(!helper[_0xddfa72(0x1fc)](_0x3fe91d[_0xddfa72(0x20f)])){logger[_0xddfa72(0x1ef)](_0xddfa72(0x1be)+_0x3fe91d[_0xddfa72(0x20f)]),process[_0xddfa72(0x1ca)][_0xddfa72(0x170)]=_0x3fe91d[_0xddfa72(0x20f)];const _0x25bbdf=await(0x0,_0x4621b8['default'])(path['resolve'](_0x3fe91d[_0xddfa72(0x20f)]));return _0x52aaf1[_0xddfa72(0x222)](_0x161266,0x2),_0x34093a[_0xddfa72(0x1db)](_0x25bbdf,{});}const _0x1a12de=_0x34093a['XOzgV'](require,path[_0xddfa72(0x21e)](process[_0xddfa72(0x1df)](),_0x34093a['EbBSx']));if(_0x1a12de[_0xddfa72(0x1bd)])return logger['info'](_0x34093a[_0xddfa72(0x1ac)]),_0x1a12de[_0xddfa72(0x1bd)];const _0x178034=['js',_0x34093a[_0xddfa72(0x1a9)],_0x34093a[_0xddfa72(0x1c2)],_0x34093a[_0xddfa72(0x19f)],'ts'];for(const _0x32c5cc of _0x178034){const _0x40d580=path['join'](process[_0xddfa72(0x1df)](),_0xddfa72(0x15f)+_0x32c5cc);if(fs['existsSync'](_0x40d580)){process[_0xddfa72(0x1ca)][_0xddfa72(0x170)]=_0x40d580;const _0xee67ea=await(0x0,_0x4621b8[_0xddfa72(0x196)])(_0x40d580);return _0xee67ea;}}return{};},getSerial=(_0x15c8fb,_0x280ff3)=>{const _0x46eebf=a16_0x470db4,_0x2e168a={};_0x2e168a['gcEKE']=_0x46eebf(0x1ff),_0x2e168a['ASuJq']=function(_0x5ef2e7,_0x2065e3){return _0x5ef2e7>_0x2065e3;},_0x2e168a[_0x46eebf(0x209)]=function(_0x1a220d,_0x52bfe6){return _0x1a220d>_0x52bfe6;},_0x2e168a[_0x46eebf(0x164)]='false';const _0x172f54=_0x2e168a;let _0x27a391=_0x172f54[_0x46eebf(0x201)];return _0x172f54['ASuJq'](_0x15c8fb[_0x46eebf(0x20e)],0x1)&&(!_0x280ff3[_0x46eebf(0x174)]&&(helper['isUndefined'](_0x280ff3[_0x46eebf(0x1da)])||_0x172f54[_0x46eebf(0x209)](_0x280ff3[_0x46eebf(0x1da)],0x1)))&&(_0x27a391=_0x172f54[_0x46eebf(0x164)]),_0x27a391;},getMaxWorkers=(_0x3e81e3,_0x334393,_0x5d7b7b)=>{const _0x50bc4a=a16_0x470db4,_0x3eee10={'rxunu':function(_0x52b126,_0x4c3dfe){return _0x52b126(_0x4c3dfe);}};let _0x1f1a5e=0x1;if(!helper[_0x50bc4a(0x1fc)](_0x334393[_0x50bc4a(0x1cd)]))_0x1f1a5e=_0x3eee10['rxunu'](parseInt,_0x334393[_0x50bc4a(0x1cd)]);else{if(!helper[_0x50bc4a(0x1fc)](_0x3e81e3[_0x50bc4a(0x1da)]))_0x1f1a5e=_0x3e81e3[_0x50bc4a(0x1da)];else!helper[_0x50bc4a(0x1fc)](_0x5d7b7b[_0x50bc4a(0x1da)])&&(_0x1f1a5e=_0x5d7b7b['maxWorkers']);}return _0x1f1a5e;};function a16_0x4dfe(_0x1b54ff,_0x5e571d){const _0xf0b7ed=a16_0xf0b7();return a16_0x4dfe=function(_0x4dfe54,_0x46087d){_0x4dfe54=_0x4dfe54-0x152;let _0x49a37d=_0xf0b7ed[_0x4dfe54];return _0x49a37d;},a16_0x4dfe(_0x1b54ff,_0x5e571d);}async function run(_0x560405,_0x33f205,_0xc73841){const _0xb1b6bf=a16_0x470db4,_0x623f0a={'PQKuy':_0xb1b6bf(0x18c),'hgBMw':_0xb1b6bf(0x1bd),'hNgOI':function(_0x412d74,_0x447f4d){return _0x412d74(_0x447f4d);},'CXkew':function(_0xfc09a5,_0x2d842a){return _0xfc09a5!=_0x2d842a;},'lWucQ':_0xb1b6bf(0x1ff),'ialAc':function(_0x2ecd01,_0x59ff76,_0x37994b){return _0x2ecd01(_0x59ff76,_0x37994b);},'vjakG':_0xb1b6bf(0x21b),'maRfx':function(_0x84344f,_0x588c03){return _0x84344f(_0x588c03);},'OgcBJ':function(_0x31fc2f,_0x203b38,_0x4fb290){return _0x31fc2f(_0x203b38,_0x4fb290);},'yFJwq':function(_0x4cef5a,_0x5ba2ee,_0x217377,_0x242bd7){return _0x4cef5a(_0x5ba2ee,_0x217377,_0x242bd7);},'bYJlP':function(_0x3f30f5,_0x42fc1f){return _0x3f30f5*_0x42fc1f;},'PPVwy':function(_0x2b4eff,_0x384045){return _0x2b4eff===_0x384045;},'flCSD':_0xb1b6bf(0x173),'dtQTn':'jest_browserstack.config.js','iPmmM':_0xb1b6bf(0x1c1),'AYJZC':_0xb1b6bf(0x1cf),'iIFfn':'customTestRunner.js','WHPEM':_0xb1b6bf(0x1cc),'wLSlR':_0xb1b6bf(0x162),'QtiyW':'jest.setup.js','IyOnD':_0xb1b6bf(0x1c5),'FaVDx':'jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','XKQjG':_0xb1b6bf(0x1c0),'VRdzt':function(_0x3de0d6,_0x18481d){return _0x3de0d6(_0x18481d);},'jPbMt':_0xb1b6bf(0x216),'kZubA':_0xb1b6bf(0x219),'BiOwu':_0xb1b6bf(0x1b6),'SVAry':_0xb1b6bf(0x1fe),'baeEA':'skipping\x20test_before\x20setup\x20since\x20selenium\x20not\x20found','ZQLmW':'default','cPNdJ':function(_0x2719ea,_0xcffe0e,_0x164f9b){return _0x2719ea(_0xcffe0e,_0x164f9b);},'xUjqb':_0xb1b6bf(0x17a),'husZt':function(_0x32358d,_0x4b371a){return _0x32358d>_0x4b371a;},'XUeFl':_0xb1b6bf(0x165),'LdUJk':_0xb1b6bf(0x16c),'wisag':_0xb1b6bf(0x1b1),'pxhqu':function(_0x367292,_0x5ed9bb){return _0x367292===_0x5ed9bb;},'QWunH':'win32','KpebP':_0xb1b6bf(0x169),'ndgsz':_0xb1b6bf(0x182)};helper[_0xb1b6bf(0x159)]()?(await _0xc73841[_0xb1b6bf(0x198)](_0x560405),await helper[_0xb1b6bf(0x213)](_0xc73841[_0xb1b6bf(0x20f)])):await _0xc73841[_0xb1b6bf(0x1eb)]();if(!_0xc73841[_0xb1b6bf(0x20f)])return;_0x623f0a[_0xb1b6bf(0x19e)](_0xc73841[_0xb1b6bf(0x20f)]['testObservability'],null)?process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x19a)]=_0xc73841[_0xb1b6bf(0x20f)]['testObservability']:process['env'][_0xb1b6bf(0x19a)]=_0x623f0a[_0xb1b6bf(0x21a)];const _0x2a01bd=new TestOrchestrationHandler(_0xc73841[_0xb1b6bf(0x20f)]),_0x17bf4b=await _0x623f0a[_0xb1b6bf(0x1a6)](getUserJestConfigs,_0x560405,_0x33f205);logger[_0xb1b6bf(0x1ef)](_0x623f0a[_0xb1b6bf(0x185)]);const _0x509e85=Object[_0xb1b6bf(0x214)]({},_0x17bf4b);_0x509e85['testEnvironmentOptions']=Object[_0xb1b6bf(0x214)]({},_0x509e85[_0xb1b6bf(0x19d)],{'server':helper[_0xb1b6bf(0x1e4)](_0xc73841[_0xb1b6bf(0x20f)]),'environment':_0x17bf4b[_0xb1b6bf(0x21c)]}),_0x509e85['testEnvironmentOptions'][_0xb1b6bf(0x1b7)]=_0x623f0a[_0xb1b6bf(0x17b)](getPercyOptions,_0xc73841[_0xb1b6bf(0x20f)]);const _0x49992c=helper[_0xb1b6bf(0x1cb)](_0xc73841['config']);!helper[_0xb1b6bf(0x1fc)](_0xc73841['config'][_0xb1b6bf(0x179)])&&(process[_0xb1b6bf(0x1ca)]['BROWSERSTACK_TEST_ACCESSIBILITY_CONFIGURATION_YML']=JSON[_0xb1b6bf(0x1ea)](_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x179)]));const _0x39a88b=await TestHubHandler[_0xb1b6bf(0x17e)](FRAMEWORKS[_0xb1b6bf(0x20d)],_0xc73841),_0x34aaaf=helper[_0xb1b6bf(0x1c3)](_0xc73841[_0xb1b6bf(0x20f)],_0x49992c,constants[_0xb1b6bf(0x1ba)][_0xb1b6bf(0x20d)]);let _0x31dc67=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1af)];_0x31dc67=_0x31dc67||accessibilityHelper[_0xb1b6bf(0x18b)](_0xc73841['config']),process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x183)]=_0x31dc67,_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1fd)]=_0x34aaaf,_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1f7)]=_0x623f0a[_0xb1b6bf(0x1ae)](getSerial,_0x34aaaf,_0x560405),_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1fa)]=_0x623f0a[_0xb1b6bf(0x1c8)](getMaxWorkers,_0x560405,_0xc73841[_0xb1b6bf(0x20f)],_0x17bf4b),_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1a0)]=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1a0)],_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x223)]=_0x623f0a['bYJlP'](_0x560405['testTimeout'],0x1)||0x1388,_0x509e85[_0xb1b6bf(0x19d)]['skipSessionName']=_0xc73841['config'][_0xb1b6bf(0x1c4)]['skipSessionName'],_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1b4)]=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1c4)]['skipSessionStatus'],_0x509e85['testEnvironmentOptions']['browserStackLogLevel']=_0xc73841['config'][_0xb1b6bf(0x1f3)],_0x509e85[_0xb1b6bf(0x19d)]['turboScaleUrl']=_0xc73841['config'][_0xb1b6bf(0x21f)],_0x509e85[_0xb1b6bf(0x19d)]['platformCaps']=_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1d3)];const _0x57322b=helper[_0xb1b6bf(0x1b9)](_0xc73841[_0xb1b6bf(0x20f)]);if(!helper[_0xb1b6bf(0x155)](_0x57322b)){helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c9)])&&(_0x509e85[_0xb1b6bf(0x19d)][_0xb1b6bf(0x1e6)]=_0x57322b[_0xb1b6bf(0x1c9)]['maxRetries']);if(helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c7)])&&helper[_0xb1b6bf(0x175)](_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x189)])){const _0x3e16d5={};_0x3e16d5[_0xb1b6bf(0x19c)]=_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x15e)],_0x3e16d5[_0xb1b6bf(0x189)]=_0x57322b[_0xb1b6bf(0x1c7)][_0xb1b6bf(0x189)],_0x509e85['testEnvironmentOptions']['failFast']=_0x3e16d5;}}let _0x207ce0='';_0x623f0a[_0xb1b6bf(0x218)](helper[_0xb1b6bf(0x1fb)](),constants[_0xb1b6bf(0x160)]['MODULE'])?_0x207ce0=_0x623f0a['flCSD']:_0x207ce0=_0x623f0a[_0xb1b6bf(0x1ab)];const _0x4951ee=_0x207ce0,_0x1d4e51=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a['iPmmM'],_0x623f0a[_0xb1b6bf(0x1de)]),_0x493469=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x20b)]),_0xd3a7d0=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x172)]);_0x509e85[_0xb1b6bf(0x21c)]&&(process['env'][_0xb1b6bf(0x1aa)]=_0x509e85[_0xb1b6bf(0x21c)]);_0x509e85[_0xb1b6bf(0x21c)]=path['join'](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x1a1)]),_0x509e85[_0xb1b6bf(0x208)]=_0x493469,_0x509e85[_0xb1b6bf(0x194)]=_0x509e85[_0xb1b6bf(0x194)]||[],_0x509e85[_0xb1b6bf(0x194)][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x1e5)]));_0x2a01bd[_0xb1b6bf(0x193)]()&&(_0x509e85[_0xb1b6bf(0x1f5)]=path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a['iPmmM'],_0x623f0a[_0xb1b6bf(0x220)]));if(testhubUtils[_0xb1b6bf(0x180)]()){let _0x159d5e=null;try{_0x159d5e=helper['requireModule'](_0x623f0a[_0xb1b6bf(0x1bf)],_0x623f0a[_0xb1b6bf(0x1a8)]);}catch(_0x4777b1){_0x623f0a[_0xb1b6bf(0x1a4)](debug,'Unable\x20to\x20find\x20jest-circus,\x20'+_0x4777b1);}_0x159d5e&&(_0x509e85['setupFilesAfterEnv'][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x184)],_0x623f0a['kZubA'])),_0x509e85[_0xb1b6bf(0x18a)]=path['join'](__dirname,_0x623f0a[_0xb1b6bf(0x1e8)],_0x623f0a[_0xb1b6bf(0x16b)]));}_0x509e85[_0xb1b6bf(0x1f8)]=_0x509e85[_0xb1b6bf(0x1f8)]||[];try{helper['requireSeleniumWebdriver'](),_0x509e85[_0xb1b6bf(0x1f8)][_0xb1b6bf(0x1bc)](path[_0xb1b6bf(0x21e)](__dirname,_0x623f0a[_0xb1b6bf(0x163)]));}catch{logger[_0xb1b6bf(0x197)](_0x623f0a['baeEA']);}_0x509e85[_0xb1b6bf(0x157)]=_0x509e85['reporters']||[_0x623f0a[_0xb1b6bf(0x176)]],_0x623f0a[_0xb1b6bf(0x207)](updateTestRerunConfig,_0x509e85,_0xc73841);const _0x198bc9=fs[_0xb1b6bf(0x161)](_0xd3a7d0);fs['writeFileSync'](_0x509e85[_0xb1b6bf(0x208)],_0xb1b6bf(0x186)+_0x198bc9+_0xb1b6bf(0x154)+_0xc73841[_0xb1b6bf(0x20f)][_0xb1b6bf(0x1d3)][_0xb1b6bf(0x20e)]+';\x0a\x20\x20\x20\x20\x20\x20fs.writeFileSync(path.join(__dirname,\x20\x27jest_browserstack_results.json\x27),\x20JSON.stringify(results));\x0a\x20\x20\x20\x20\x20\x20return\x20_someFunc.call(this,\x20testContexts,\x20results);\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20var\x20_onTestFileResultOrig\x20=\x20ReporterDispatcher.prototype.onTestFileResult;\x0a\x20\x20\x20\x20ReporterDispatcher.prototype.onTestFileResult\x20=\x20async\x20function\x20(test,\x20testResult,\x20result)\x20{\x0a\x20\x20\x20\x20\x20\x20testResult.platform\x20=\x20helper.getPlatformName(test.context.config.capability);\x0a\x20\x20\x20\x20\x20\x20return\x20_onTestFileResultOrig.call(this,\x20test,\x20testResult,\x20result);\x0a\x20\x20\x20\x20}\x0a\x20\x20'),logger[_0xb1b6bf(0x1ef)](_0xb1b6bf(0x195)+_0x4951ee+_0xb1b6bf(0x1a5)),fs[_0xb1b6bf(0x1d5)](_0x4951ee,_0xb1b6bf(0x1d0)+JSON[_0xb1b6bf(0x1ea)](_0x509e85)+_0xb1b6bf(0x1d6));if(_0x2a01bd[_0xb1b6bf(0x193)]()){logger[_0xb1b6bf(0x197)](_0x623f0a[_0xb1b6bf(0x16e)]);const _0x24abd1=await _0x2a01bd['findTestFiles'](_0x509e85,_0x33f205[_0xb1b6bf(0x1d7)](0x1),_0x4951ee);logger['debug'](_0xb1b6bf(0x202)+JSON[_0xb1b6bf(0x1ea)](_0x24abd1)+_0xb1b6bf(0x190));const _0x24be7e=await _0x2a01bd[_0xb1b6bf(0x167)](_0x24abd1);logger[_0xb1b6bf(0x197)](_0xb1b6bf(0x20c)+JSON['stringify'](_0x24be7e)),_0x24be7e&&_0x623f0a[_0xb1b6bf(0x1f9)](_0x24be7e[_0xb1b6bf(0x20e)],0x0)&&(process[_0xb1b6bf(0x1ca)][_0xb1b6bf(0x1f1)]=_0x24be7e?.[_0xb1b6bf(0x21e)](','));}logger[_0xb1b6bf(0x1ef)](_0x623f0a[_0xb1b6bf(0x1a2)]);testhubUtils[_0xb1b6bf(0x180)]()&&TestDetails[_0xb1b6bf(0x1e9)]();helper[_0xb1b6bf(0x18d)]({},_0x33f205),PerformanceTester['end'](PerformanceEvents[_0xb1b6bf(0x17c)]);const _0x55b30b=_0x623f0a[_0xb1b6bf(0x1c8)](spawn,_0x623f0a['LdUJk'],[_0x623f0a['hgBMw'],_0x623f0a[_0xb1b6bf(0x1b2)],_0x4951ee,..._0x33f205[_0xb1b6bf(0x1d7)](0x1)],{'shell':_0x623f0a[_0xb1b6bf(0x1d8)](process['platform'],_0x623f0a['QWunH']),'stdio':_0x623f0a[_0xb1b6bf(0x1f2)],'env':Object[_0xb1b6bf(0x214)]({},process[_0xb1b6bf(0x1ca)])});_0x55b30b['on'](_0x623f0a[_0xb1b6bf(0x18e)],async _0x34b0ea=>{const _0x3da54c=_0xb1b6bf;PerformanceTester['start'](PerformanceEvents[_0x3da54c(0x1b8)]);try{const {browserstackFolderPath:_0x8e02a8,tcgConfigPath:_0x25a9cd}=helper[_0x3da54c(0x15c)]();fs[_0x3da54c(0x1e0)](_0x25a9cd),fs['rmdirSync'](_0x8e02a8);}catch(_0x18eccb){logger[_0x3da54c(0x197)](_0x623f0a[_0x3da54c(0x1f4)],_0x18eccb);}process['exitCode']=_0x34b0ea,logger[_0x3da54c(0x197)](_0x3da54c(0x221)+_0x34b0ea),logger[_0x3da54c(0x1ef)](_0x3da54c(0x1e1)+_0x4951ee);if(helper[_0x3da54c(0x175)](_0x57322b)&&helper[_0x3da54c(0x175)](_0x57322b[_0x3da54c(0x1c7)])&&fs[_0x3da54c(0x16a)](_0x57322b[_0x3da54c(0x1c7)]['workingDir']))try{const _0xefe723={};_0xefe723[_0x3da54c(0x1e2)]=!![],_0xefe723[_0x3da54c(0x192)]=!![],fs[_0x3da54c(0x203)](_0x57322b['abortBuildOnFailure'][_0x3da54c(0x189)],_0xefe723),logger[_0x3da54c(0x197)]('Deleted\x20fail-fast\x20state\x20folder:\x20'+_0x57322b[_0x3da54c(0x1c7)]['workingDir']);}catch(_0x56ffbf){logger[_0x3da54c(0x1d4)](_0x3da54c(0x17d)+_0x56ffbf);}let _0x38d9d5=null;if(fs['existsSync'](_0x1d4e51)){_0x38d9d5=fs['readFileSync'](_0x1d4e51);try{_0x38d9d5=JSON[_0x3da54c(0x1c6)](_0x38d9d5);}catch(_0x953586){logger[_0x3da54c(0x197)](_0x3da54c(0x18f)+_0x1d4e51+',\x20'+_0x38d9d5+_0x3da54c(0x16d)+_0x953586);}fs[_0x3da54c(0x1e0)](_0x1d4e51);}fs[_0x3da54c(0x1e0)](_0x4951ee),fs[_0x3da54c(0x1e0)](_0x493469),_0x38d9d5&&(_0xc73841[_0x3da54c(0x1dd)]=helper[_0x3da54c(0x1d1)](_0x38d9d5,_0x623f0a[_0x3da54c(0x152)],_0xc73841));try{await TestHubHandler['stop']();}catch(_0x530d0b){console['log'](_0x530d0b),_0x623f0a[_0x3da54c(0x205)](debug,_0x3da54c(0x156)+util[_0x3da54c(0x1ee)](_0x530d0b));}testOpsHelper[_0x3da54c(0x1ed)](),TestDetails[_0x3da54c(0x199)](),await utilities[_0x3da54c(0x1b5)](_0xc73841);});}module['exports']=run;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17_0x387a65=a17_0x3ae7;(function(_0x558454,_0x280d06){const _0x5730eb=a17_0x3ae7,_0x416e2a=_0x558454();while(!![]){try{const _0x53f999=parseInt(_0x5730eb(0x162))/0x1+-parseInt(_0x5730eb(0x161))/0x2+parseInt(_0x5730eb(0x16e))/0x3*(parseInt(_0x5730eb(0x177))/0x4)+-parseInt(_0x5730eb(0x176))/0x5+parseInt(_0x5730eb(0x16b))/0x6+parseInt(_0x5730eb(0x172))/0x7*(-parseInt(_0x5730eb(0x163))/0x8)+parseInt(_0x5730eb(0x169))/0x9;if(_0x53f999===_0x280d06)break;else _0x416e2a['push'](_0x416e2a['shift']());}catch(_0x24206e){_0x416e2a['push'](_0x416e2a['shift']());}}}(a17_0x508c,0xeb3ff));const path=require(a17_0x387a65(0x168)),{requireModule}=require(a17_0x387a65(0x16d));function a17_0x508c(){const _0x14f191=['1119876aPOHfe','function','exports','includes','8753003YZATAk','zXsvo','requireInternalModule','jest-circus','2406625NAYZjU','4hSTPNp','1351286SSfGGm','959699QkBAxA','8uRKPrq','initRequireModule','customJestAdapterInit.js','jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js','jestAdapterInit','path','4556979fTpxph','NLnzn','9189948jMBFhg','default','../../../helpers/helper'];a17_0x508c=function(){return _0x14f191;};return a17_0x508c();}let initJestAdapter=requireModule(a17_0x387a65(0x166),a17_0x387a65(0x175));initJestAdapter=typeof initJestAdapter===a17_0x387a65(0x16f)?initJestAdapter:initJestAdapter[a17_0x387a65(0x16c)];function a17_0x3ae7(_0x3bfae5,_0x218e5e){const _0x508c54=a17_0x508c();return a17_0x3ae7=function(_0x3ae785,_0x5ae3af){_0x3ae785=_0x3ae785-0x161;let _0x3e4fa5=_0x508c54[_0x3ae785];return _0x3e4fa5;},a17_0x3ae7(_0x3bfae5,_0x218e5e);}const FRAMEWORK_INITIALIZER=path['join'](__dirname,a17_0x387a65(0x165));module[a17_0x387a65(0x170)]=(..._0x336579)=>{const _0x103d1c=a17_0x387a65,_0x281c47={'NLnzn':_0x103d1c(0x167),'JHkvG':function(_0xc9db2,_0x401536){return _0xc9db2===_0x401536;},'zXsvo':function(_0x5ba050,..._0x50d28a){return _0x5ba050(..._0x50d28a);}};return _0x336579[0x3][_0x103d1c(0x164)]=_0x336579[0x3][_0x103d1c(0x174)],_0x336579[0x3]['requireInternalModule']=(..._0x4f6dd3)=>{const _0x584ba2=_0x103d1c;if(_0x4f6dd3[0x0]&&_0x4f6dd3[0x0][_0x584ba2(0x171)](_0x281c47[_0x584ba2(0x16a)])&&_0x281c47['JHkvG'](_0x4f6dd3[0x1],undefined))return _0x336579[0x3]['initRequireModule'](FRAMEWORK_INITIALIZER);return _0x336579[0x3][_0x584ba2(0x164)](..._0x4f6dd3);},_0x281c47[_0x103d1c(0x173)](initJestAdapter,..._0x336579);};
|